/* ============================================================
   Fessal Rahman / Agentic Commercial Model — shared design system
   ============================================================ */
@import url('https://fonts.googleapis.com/css2?family=Spectral:ital,wght@0,400;0,500;0,600;0,700;0,800;1,500;1,600&family=Barlow:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400&display=swap');

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

:root{
  --navy:#0D1B2A;
  --navy2:#122033;
  --navy3:#17293F;
  --gold:#C9A84C;
  --gold-lt:#E8C97A;
  --gold-dk:#A8853A;
  --cream:#F5F0E8;
  --cream2:#ECE3D2;
  --ink:#0D1B2A;
  --mist:#8A9BB0;
  --stone:#6B6459;
  --white:#FFFFFF;
  --rule:rgba(201,168,76,0.25);
  --rule-lt:rgba(13,27,42,0.14);
  --green:#1D9E75;--green-lt:#E1F5EE;--green-dk:#085041;
  --red:#D85A30;--red-lt:#FAECE7;--red-dk:#712B13;
  --amber:#BA7517;--amber-lt:#FAEEDA;--amber-dk:#633806;
  --blue:#185FA5;--blue-lt:#E6F1FB;--blue-dk:#0C447C;
  --serif:'Spectral',Georgia,serif;
  --sans:'Barlow',Arial,sans-serif;
  --header-h:72px;
}

body{
  font-family: var(--sans);
  font-weight: 300;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  padding-top: var(--header-h);
}

/* ── SHARED HEADER ── */
.site-header{
  position: fixed; top:0; left:0; right:0; z-index: 500;
  height: var(--header-h);
  background: rgba(13,27,42,0.97);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--rule);
  transition: box-shadow .25s ease;
}
.site-header.is-scrolled{ box-shadow: 0 8px 30px rgba(0,0,0,0.25); }
.site-header-inner{
  max-width: 1400px; margin: 0 auto; height: 100%;
  padding: 0 2.5rem;
  display: flex; align-items: center; justify-content: space-between; gap: 2rem;
}
.site-brand{
  font-family: var(--serif); font-weight: 600; font-size: 1.05rem;
  color: var(--cream); text-decoration: none; letter-spacing: 0.01em;
  white-space: nowrap;
}
.site-brand:hover{ color: var(--gold-lt); }
.site-nav{ display:flex; align-items:center; gap: 1.8rem; }
.site-nav a{
  display:inline-flex; align-items:center; gap:0.3em;
  color: var(--mist); text-decoration:none; font-size: 0.78rem; font-weight: 500;
  letter-spacing: 0.09em; text-transform: uppercase; transition: color .2s;
  padding: 4px 0; border-bottom: 1px solid transparent;
  white-space: nowrap;
}
.site-nav a:hover{ color: var(--cream); }
.site-header-actions{ display:flex; align-items:center; gap: 1.25rem; }
.site-cta{
  display:inline-flex; align-items:center; gap:0.5rem;
  background: var(--gold); color: var(--navy);
  font-family: var(--sans); font-weight: 600; font-size: 0.76rem;
  letter-spacing: 0.07em; text-transform: uppercase;
  text-decoration:none; padding: 0.65rem 1.25rem; border-radius: 2px;
  transition: background .2s, transform .15s;
  white-space: nowrap;
}
.site-cta:hover{ background: var(--gold-lt); transform: translateY(-1px); }
.site-nav a.nav-pe{ color: var(--gold-lt); }
.site-nav a.nav-pe::before{ content:''; width:6px; height:6px; border-radius:50%; background: var(--gold); margin-right:.15em; }
.site-nav a.nav-pe:hover{ color: var(--white); }
.site-cta .cta-short{ display:none; }
@media (max-width: 520px){ .site-cta .cta-long{ display:none; } .site-cta .cta-short{ display:inline; } }

/* active-page highlight: <body data-nav="model|layers|content|news|teardowns|about"> */
body[data-nav="model"] .site-nav a[href="/agentic-commercial-model"],
body[data-nav="layers"] .site-nav a[href="/layers"],
body[data-nav="content"] .site-nav a[href="/content"],
body[data-nav="playbooks"] .site-nav a[href="/content"],
body[data-nav="news"] .site-nav a[href="/news"],
body[data-nav="teardowns"] .site-nav a[href="/teardowns"],
body[data-nav="about"] .site-nav a[href="/about"],
body[data-nav="portfolio"] .site-nav a[href="/portfolio"],
body[data-nav="report"] .site-nav a[href="/report"],
body[data-nav="assessment"] .site-nav a[href="/assessment"],
body[data-nav="contact"] .site-nav a[href="/about"]{
  color: var(--gold);
}

.site-nav-toggle{
  display:none; width: 34px; height: 34px; border:none; background:transparent;
  cursor:pointer; flex-direction:column; align-items:center; justify-content:center; gap:5px;
}
.site-nav-toggle span{ display:block; width: 20px; height: 1.5px; background: var(--cream); transition: transform .2s, opacity .2s; }

@media (max-width: 1220px){
  .site-nav{
    position: fixed; top: var(--header-h); left:0; right:0;
    background: var(--navy); border-bottom: 1px solid var(--rule);
    flex-direction: column; align-items: flex-start; gap: 0;
    max-height: 0; overflow: hidden; transition: max-height .3s ease;
  }
  .site-nav.is-open{ max-height: 400px; }
  .site-nav a{ width:100%; padding: 1rem 2rem; border-bottom: 1px solid var(--rule-lt); white-space: normal; }
  .site-nav-toggle{ display:flex; }
  .site-header-inner{ padding: 0 1.25rem; }
  .site-cta{ padding: 0.55rem 0.9rem; font-size: 0.7rem; }
}

/* ── SHARED FOOTER ── */
.site-footer{ background: var(--navy2); border-top: 1px solid var(--rule); }
.site-footer-inner{
  max-width: 1400px; margin: 0 auto; padding: 4.25rem 2.5rem 3rem;
  display: flex; justify-content: space-between; gap: 3rem; flex-wrap: wrap;
}
.site-footer-brand .site-footer-name{ font-family: var(--serif); font-size: 1.2rem; color: var(--gold); margin-bottom: .5rem; }
.site-footer-brand .site-footer-tag{ font-size: 0.85rem; color: var(--mist); max-width: 28ch; line-height: 1.6; }
.site-footer-cols{ display:flex; gap: 3.5rem; flex-wrap: wrap; }
.site-footer-cols > div{ display:flex; flex-direction:column; gap: 0.7rem; min-width: 140px; }
.site-footer-h{ font-size: 0.68rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); margin-bottom: 0.3rem; }
.site-footer-cols a{ font-size: 0.85rem; color: var(--mist); text-decoration:none; transition: color .2s; }
.site-footer-cols a:hover{ color: var(--cream); }
.site-footer-bottom{
  max-width: 1400px; margin: 0 auto; padding: 1.5rem 2.5rem 2.5rem;
  border-top: 1px solid var(--rule-lt); font-size: 0.75rem; color: var(--mist);
}

/* ── SHARED LAYOUT PRIMITIVES (for new pages: home / about / content) ── */
.wrap{ max-width: 1320px; margin:0 auto; padding: 0 2.5rem; }
.band-dark{ background: var(--navy); color: var(--cream); }
.band-navy2{ background: var(--navy2); color: var(--cream); }
.band-light{ background: var(--cream); color: var(--ink); }
.section{ max-width: 1320px; margin:0 auto; padding: 5.75rem 2.5rem; }
.section-tight{ padding: 3.5rem 2.5rem; }
.eyebrow{ font-size:0.75rem; font-weight:600; letter-spacing:0.18em; text-transform:uppercase; color:var(--gold); margin-bottom:1rem; }
.band-light .eyebrow{ color: var(--gold-dk); }
h1.display{ font-family: var(--serif); font-weight:700; font-size: clamp(2.6rem, 5.4vw, 4.1rem); line-height:1.06; color: var(--white); margin-bottom:1.5rem; }
.band-light h1.display{ color: var(--ink); }
h2.display{ font-family: var(--serif); font-weight:600; font-size: clamp(1.85rem, 3.6vw, 2.75rem); line-height:1.18; color: var(--white); margin-bottom:1.25rem; }
.band-light h2.display{ color: var(--ink); }
.lede{ font-size:1.12rem; color: var(--mist); line-height:1.75; max-width: 68ch; }
.band-light .lede{ color: var(--stone); }
.divider{ max-width:1320px; margin:0 auto; padding:0 2.5rem; }
.divider::after{ content:''; display:block; border-top:1px solid var(--rule); }
.band-light .divider::after{ border-top-color: var(--rule-lt); }

.btn{ display:inline-flex; align-items:center; gap:.55rem; font-family:var(--sans); font-weight:600; font-size:.82rem; letter-spacing:.05em; text-transform:uppercase; text-decoration:none; padding:.9rem 1.75rem; border-radius:2px; transition: all .2s; cursor:pointer; border:1px solid transparent; }
.btn-gold{ background:var(--gold); color:var(--navy); }
.btn-gold:hover{ background:var(--gold-lt); transform: translateY(-1px); }
.btn-ghost{ border-color: var(--rule); color: var(--mist); background:transparent; }
.btn-ghost:hover{ border-color: var(--gold); color: var(--gold); }
.band-light .btn-ghost{ border-color: var(--rule-lt); color: var(--stone); }
.band-light .btn-ghost:hover{ border-color: var(--gold-dk); color: var(--gold-dk); }

.reveal{ opacity:0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible{ opacity:1; transform:none; }

@media (max-width: 768px){
  .site-header-inner{ padding: 0 1.25rem; }
  .section{ padding: 3.25rem 1.25rem; }
  .section-tight{ padding: 2.5rem 1.25rem; }
  .wrap, .divider{ padding: 0 1.25rem; }
  .site-footer-inner{ padding: 3rem 1.25rem 2rem; }
  .site-footer-bottom{ padding: 1.5rem 1.25rem 2rem; }
}
