/*
Theme Name: Zaria Holdings
Theme URI: https://candctest.co.za/
Author: Christian & Caleb
Description: Corporate website for Zaria Holdings managed supply chain services.
Version: 1.1.0
Text Domain: zaria-holdings
*/

:root {
  --ink: #1d1b1a;
  --purple: #21164a;
  --purple-2: #342457;
  --gold: #c7972f;
  --cream: #eee2d0;
  --paper: #fbf8f1;
  --line: rgba(29, 27, 26, 0.17);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
p, h1, h2, h3, blockquote { margin-top: 0; }
[id] { scroll-margin-top: 24px; }

.site-header {
  position: absolute;
  z-index: 10;
  inset: 0 0 auto;
  min-height: 116px;
  padding: 14px clamp(24px, 5vw, 78px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: white;
  border-bottom: 1px solid rgba(255,255,255,.2);
}
.brand {
  width: 205px;
  height: 78px;
  display: inline-flex;
  align-items: center;
  overflow: hidden;
  background: #1f174a;
}
.brand-logo { width: 100%; height: 100%; object-fit: cover; }
.footer-logo { width: 100%; height: 100%; object-fit: contain; }
.site-header nav { display: flex; align-items: center; gap: 34px; font-size: 13px; }
.site-header nav a:not(.nav-cta) { opacity: .82; }
.site-header nav a:hover { opacity: 1; }
.nav-cta { padding: 13px 20px; border: 1px solid rgba(255,255,255,.55); border-radius: 999px; }
.mobile-nav { display: none; }

.hero {
  min-height: 790px;
  display: grid;
  grid-template-columns: 56% 44%;
  position: relative;
  overflow: hidden;
  background: var(--purple);
  color: white;
}
.hero-copy {
  padding: 188px clamp(34px, 7vw, 110px) 110px;
  position: relative;
  z-index: 2;
  background:
    radial-gradient(circle at 12% 85%, rgba(199,151,47,.13), transparent 32%),
    var(--purple);
}
.eyebrow {
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: .2em;
  font-size: 11px;
  font-weight: 700;
}
.hero h1 {
  max-width: 720px;
  margin: 32px 0 26px;
  font: 500 clamp(54px, 6.7vw, 98px)/.92 Georgia, "Times New Roman", serif;
  letter-spacing: -.04em;
}
.hero h1 em { color: var(--gold); font-weight: 400; }
.hero-intro {
  max-width: 570px;
  color: rgba(255,255,255,.72);
  font-size: 17px;
  line-height: 1.7;
}
.hero-actions { margin-top: 42px; display: flex; align-items: center; gap: 30px; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  min-width: 220px;
  padding: 17px 20px;
  border-radius: 2px;
  font-size: 13px;
  font-weight: 700;
}
.button-gold { background: var(--gold); color: #171025; }
.button span { font-size: 18px; font-weight: 400; }
.text-link { font-size: 13px; border-bottom: 1px solid rgba(255,255,255,.35); padding: 8px 0; }
.text-link span { margin-left: 8px; color: var(--gold); }
.hero-visual {
  background:
    linear-gradient(90deg, rgba(33,22,74,.28), transparent 40%),
    url("images/retail-aisle.jpg") center/cover;
  position: relative;
}
.hero-visual:after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 30%;
  background: linear-gradient(transparent, rgba(16,10,35,.55));
}
.hero-badge {
  position: absolute;
  z-index: 2;
  bottom: 54px;
  left: 42px;
  width: min(280px, calc(100% - 84px));
  padding: 18px 20px;
  border-left: 2px solid var(--gold);
  background: rgba(26,18,58,.86);
  backdrop-filter: blur(8px);
}
.hero-badge span { display:block; margin-bottom: 8px; color: var(--gold); font-size: 10px; text-transform: uppercase; letter-spacing: .18em; }
.hero-badge strong { font: 400 20px/1.3 Georgia, serif; }
.hero-index {
  position: absolute;
  left: 24px;
  bottom: 22px;
  color: rgba(255,255,255,.3);
  writing-mode: vertical-rl;
  font-size: 11px;
  letter-spacing: .2em;
}

.intro-strip {
  min-height: 112px;
  padding: 26px clamp(26px, 10vw, 150px);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(22px, 5vw, 72px);
  background: var(--gold);
  color: #21162d;
}
.intro-strip p { margin: 0; font: italic 31px/1 Georgia, serif; }
.intro-strip span { font-size: 28px; }

.section-shell { padding: 130px clamp(28px, 8vw, 120px); }
.about { display: grid; grid-template-columns: 24% 76%; gap: 40px; }
.section-label { display: flex; align-items: flex-start; gap: 14px; }
.section-label span { color: var(--gold); font-size: 11px; letter-spacing: .14em; }
.section-label p { margin: 0; text-transform: uppercase; letter-spacing: .2em; font-weight: 700; font-size: 11px; }
.about-copy .lead {
  max-width: 980px;
  font: 400 clamp(36px, 4.5vw, 66px)/1.08 Georgia, serif;
  letter-spacing: -.03em;
}
.columns { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 50px; max-width: 880px; margin-top: 55px; }
.columns p { margin: 0; color: #5f5a55; line-height: 1.8; font-size: 14px; }

.aspiration {
  min-height: 650px;
  display: grid;
  grid-template-columns: 56% 44%;
}
.aspiration-image { background: url("images/warehouse-team.jpg") center/cover; }
.aspiration-copy {
  background: var(--cream);
  padding: clamp(60px, 9vw, 140px) clamp(38px, 6vw, 90px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.aspiration blockquote { max-width: 540px; font: 400 clamp(36px, 4vw, 60px)/1.04 Georgia, serif; letter-spacing: -.03em; }
.aspiration-copy > p:last-child { color: #756c61; font-size: 14px; margin-top: 30px; }

.section-heading { display: grid; grid-template-columns: 24% 76%; gap: 40px; margin-bottom: 72px; }
.section-heading h2, .approach h2, .contact h2, .wireframe-intro h2 {
  margin-bottom: 22px;
  font: 400 clamp(42px, 5.2vw, 76px)/1.02 Georgia, serif;
  letter-spacing: -.035em;
}
.section-heading > div:last-child > p { max-width: 550px; color: #68615a; line-height: 1.7; }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.service-card {
  min-height: 290px;
  padding: 30px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  position: relative;
  transition: background .25s, color .25s;
}
.service-card > span { color: var(--gold); font-size: 11px; }
.service-card h3 { margin: 58px 0 14px; font: 400 25px/1.1 Georgia, serif; }
.service-card p { max-width: 260px; color: #6f6962; font-size: 13px; line-height: 1.6; }
.service-card i { position: absolute; right: 27px; top: 27px; font-style: normal; font-size: 20px; opacity: .35; }
.service-card:hover { background: var(--purple); color: white; }
.service-card:hover p { color: rgba(255,255,255,.65); }
.service-card:hover i { color: var(--gold); opacity: 1; }

.approach {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--purple);
  color: white;
}
.approach-copy { padding: 120px clamp(38px, 7vw, 105px); border-right: 1px solid rgba(255,255,255,.16); }
.section-label-light p { color: rgba(255,255,255,.75); }
.approach h2 { margin-top: 70px; }
.approach-copy > p { max-width: 500px; color: rgba(255,255,255,.65); line-height: 1.75; }
.button-outline { margin-top: 35px; border: 1px solid rgba(255,255,255,.35); color: white; }
.planning-list { padding: 70px clamp(30px, 6vw, 90px); display: flex; flex-direction: column; justify-content: center; }
.planning-list > div {
  min-height: 67px;
  display: grid;
  grid-template-columns: 55px 1fr 25px;
  align-items: center;
  border-bottom: 1px solid rgba(255,255,255,.14);
}
.planning-list span { color: var(--gold); font-size: 10px; }
.planning-list p { margin: 0; font: 400 19px/1.3 Georgia, serif; }
.planning-list i { color: var(--gold); font-style: normal; font-size: 18px; }

.contact { padding: 130px clamp(28px, 8vw, 120px) 90px; background: var(--gold); }
.contact .eyebrow { color: #342243; }
.contact h2 { font-size: clamp(56px, 8vw, 116px); margin: 30px 0 80px; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; border-top: 1px solid rgba(29,27,26,.3); }
.contact-action, .contact-address { min-height: 140px; padding: 27px 26px 20px 0; position: relative; border-right: 1px solid rgba(29,27,26,.3); }
.contact-grid > * + * { padding-left: 26px; }
.contact-grid > *:last-child { border-right: 0; }
.contact-grid span { display:block; margin-bottom: 25px; text-transform: uppercase; letter-spacing: .17em; font-weight: 700; font-size: 10px; }
.contact-action strong { font: 400 clamp(20px, 2vw, 28px)/1 Georgia, serif; }
.contact-action i { position:absolute; right: 25px; bottom: 22px; font-style: normal; font-size: 20px; }
.contact address { font: normal 14px/1.6 Arial, sans-serif; }

footer {
  min-height: 210px;
  padding: 55px clamp(28px, 8vw, 120px);
  display: grid;
  grid-template-columns: 1fr 1.2fr 1fr;
  align-items: center;
  gap: 30px;
  background: #17102f;
  color: white;
}
footer > p { margin: 0; color: rgba(255,255,255,.55); font: italic 18px/1.5 Georgia, serif; }
footer .brand { width: 290px; height: 125px; background: transparent; }
footer > div { display:flex; flex-direction: column; align-items: flex-end; gap: 15px; color: rgba(255,255,255,.5); font-size: 11px; }
footer > div a { color: var(--gold); border-bottom: 1px solid rgba(199,151,47,.4); padding-bottom: 4px; }

.wireframe-modal {
  position: fixed;
  z-index: 50;
  inset: 0;
  overflow-y: auto;
  background: #f1efe9;
  color: #1a1a1a;
  opacity: 0;
  pointer-events: none;
  transform: translateY(16px);
  transition: .25s ease;
}
.wireframe-modal:target { opacity: 1; pointer-events: auto; transform: none; }
.wireframe-close {
  position: fixed;
  z-index: 2;
  right: 28px;
  top: 24px;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #171717;
  color: white;
  font-size: 30px;
}
.wireframe-sheet { max-width: 1320px; margin: 0 auto; padding: 90px 38px; }
.wireframe-intro { max-width: 850px; margin-bottom: 70px; }
.wireframe-intro > p:last-child { max-width: 650px; color: #686868; line-height: 1.7; }
.wireframe-board { background: white; border: 1px solid #bbb; padding: 10px; color: #555; font-size: 10px; letter-spacing: .08em; }
.wireframe-board span { display:block; height: 8px; background:#dedede; margin: 10px 0; }
.wf-nav { height: 60px; display:flex; justify-content:space-between; align-items:center; padding: 0 22px; border: 1px solid #bbb; }
.wf-nav i { border:1px solid #888; padding:9px 20px; font-style:normal; }
.wf-hero { min-height:360px; display:grid; grid-template-columns:1fr 1fr; border:1px solid #bbb; border-top:0; }
.wf-hero > div { padding:90px 45px; }
.wf-hero figure { margin:0; display:grid; place-items:center; background:#d3d3d3; border-left:1px solid #aaa; }
.wf-hero i { display:inline-block; margin-top:15px; padding:12px 25px; border:1px solid #888; font-style:normal; }
.wf-strip { padding:25px; text-align:center; border:1px solid #bbb; border-top:0; word-spacing:30px; }
.wf-about { min-height:240px; display:grid; grid-template-columns:25% 75%; padding:40px; border:1px solid #bbb; border-top:0; }
.wf-about > div span { max-width:80%; }
.wf-image { min-height:280px; display:grid; place-items:center; background:#ccc; border:1px solid #aaa; border-top:0; }
.wf-services { padding:40px; border:1px solid #bbb; border-top:0; }
.wf-services > div { display:grid; grid-template-columns:repeat(3,1fr); margin-top:30px; }
.wf-services i { min-height:100px; padding:20px; border:1px solid #bbb; font-style:normal; }
.wf-process { min-height:280px; display:grid; grid-template-columns:1fr 1fr; background:#aaa; border:1px solid #888; }
.wf-process > div { display:grid; place-items:center; text-align:center; border-right:1px solid #777; }
.wf-contact { min-height:160px; display:grid; place-items:center; background:#555; color:white; }
.wireframe-notes { display:grid; grid-template-columns:repeat(3,1fr); gap:35px; margin-top:35px; }
.wireframe-notes > div { display:grid; grid-template-columns:30px 1fr; gap:14px; }
.wireframe-notes span { font-size:10px; color:#777; }
.wireframe-notes p { font-size:13px; line-height:1.6; }
.wireframe-notes strong { display:block; text-transform:uppercase; letter-spacing:.12em; font-size:10px; }

@media (max-width: 900px) {
  .site-header nav { display:none; }
  .mobile-nav { display:block; }
  .mobile-nav summary {
    width:48px;
    height:48px;
    display:grid;
    place-content:center;
    gap:6px;
    border:1px solid rgba(255,255,255,.45);
    border-radius:50%;
    cursor:pointer;
    list-style:none;
    -webkit-tap-highlight-color:transparent;
  }
  .mobile-nav summary::-webkit-details-marker { display:none; }
  .mobile-nav summary span {
    width:18px;
    height:1px;
    display:block;
    background:white;
    transition:transform .2s ease;
  }
  .mobile-nav[open] summary span:first-child { transform:translateY(3.5px) rotate(45deg); }
  .mobile-nav[open] summary span:last-child { transform:translateY(-3.5px) rotate(-45deg); }
  .mobile-nav > div {
    position:absolute;
    top:100%;
    left:0;
    right:0;
    display:grid;
    padding:10px 24px 20px;
    background:rgba(23,16,47,.98);
    border-top:1px solid rgba(255,255,255,.12);
    box-shadow:0 18px 35px rgba(0,0,0,.22);
  }
  .mobile-nav > div a {
    min-height:52px;
    display:flex;
    align-items:center;
    border-bottom:1px solid rgba(255,255,255,.12);
    font-size:15px;
  }
  .mobile-nav > div a:last-child { color:var(--gold); border-bottom:0; }
  .hero { grid-template-columns:1fr; }
  .hero-copy { min-height:710px; padding-top:170px; }
  .hero-visual { min-height:450px; }
  .about, .section-heading { grid-template-columns:1fr; }
  .service-grid { grid-template-columns:repeat(2,1fr); }
  .aspiration { grid-template-columns:1fr; }
  .aspiration-image { min-height:520px; }
  .approach { grid-template-columns:1fr; }
  .approach-copy { border-right:0; border-bottom:1px solid rgba(255,255,255,.16); }
  footer { grid-template-columns:1fr 1fr; }
  footer > p { display:none; }
}

@media (max-width: 620px) {
  [id] { scroll-margin-top:16px; }
  .site-header {
    min-height:94px;
    padding:10px 18px;
    background:linear-gradient(180deg, rgba(23,16,47,.5), transparent);
  }
  .site-header .brand { width:158px; height:62px; }
  .mobile-nav summary { width:46px; height:46px; }
  .mobile-nav > div { padding:8px 20px 18px; }
  .hero-copy { min-height:0; padding:138px 20px 64px; }
  .hero h1 {
    margin:24px 0 22px;
    font-size:clamp(42px, 13vw, 54px);
    line-height:.96;
    overflow-wrap:anywhere;
  }
  .hero-intro { font-size:16px; line-height:1.65; }
  .hero-actions { align-items:stretch; flex-direction:column; gap:12px; margin-top:34px; }
  .hero-actions .button { width:100%; min-height:52px; }
  .hero-actions .text-link { width:max-content; min-height:44px; display:flex; align-items:center; }
  .hero-visual { min-height:330px; }
  .hero-badge { left:20px; bottom:20px; width:calc(100% - 40px); }
  .hero-index { display:none; }
  .intro-strip {
    min-height:88px;
    display:grid;
    grid-template-columns:auto 18px auto 18px auto;
    gap:6px;
    padding:20px 12px;
  }
  .intro-strip p { font-size:clamp(14px, 4.2vw, 18px); white-space:nowrap; }
  .intro-strip span { font-size:16px; }
  .section-shell { padding:74px 20px; }
  .about { gap:32px; }
  .about-copy .lead { font-size:clamp(32px, 9vw, 39px); line-height:1.1; }
  .columns { grid-template-columns:1fr; gap:22px; margin-top:32px; }
  .columns p { font-size:15px; line-height:1.72; }
  .aspiration-image { min-height:320px; background-position:56% center; }
  .aspiration-copy { padding:62px 20px; }
  .aspiration blockquote { font-size:clamp(34px, 9vw, 40px); line-height:1.08; }
  .section-heading { gap:32px; margin-bottom:40px; }
  .section-heading h2 { font-size:clamp(37px, 10vw, 44px); line-height:1.05; }
  .service-grid { grid-template-columns:1fr; }
  .service-card { min-height:220px; padding:25px 22px; }
  .service-card h3 { margin-top:46px; }
  .approach-copy, .planning-list { padding:68px 20px; }
  .approach h2 { font-size:clamp(38px, 10vw, 44px); margin-top:48px; }
  .button { min-height:52px; }
  .planning-list > div { min-height:70px; grid-template-columns:38px 1fr 20px; }
  .planning-list p { font-size:17px; }
  .contact { padding:78px 20px 56px; }
  .contact h2 { font-size:clamp(44px, 13vw, 58px); line-height:.98; margin:28px 0 46px; }
  .contact-grid { grid-template-columns:1fr; }
  .contact-action, .contact-address {
    min-height:122px;
    border-right:0;
    border-bottom:1px solid rgba(29,27,26,.3);
    padding:24px 8px 20px 0;
    padding-left:0 !important;
  }
  .contact-action strong { font-size:clamp(20px, 6vw, 26px); }
  .contact-action i { right:8px; }
  footer { grid-template-columns:1fr; padding:44px 20px; gap:20px; }
  footer .brand { width:min(270px, 100%); height:112px; }
  footer > div { align-items:flex-start; }
  .wireframe-sheet { padding:80px 16px; }
  .wireframe-intro h2 { font-size:48px; }
  .wf-hero { min-height:280px; }
  .wf-hero > div { padding:60px 15px; }
  .wf-about { padding:25px 15px; }
  .wf-services > div { grid-template-columns:repeat(2,1fr); }
  .wireframe-notes { grid-template-columns:1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *:before, *:after { transition-duration: .01ms !important; }
}
