
/* ── HERO ────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  background: var(--void);
  display: flex; flex-direction: column;
  justify-content: flex-end;
  padding-top: 64px;
  position: relative; overflow: hidden;
}
/* grain */
.hero::before {
  content: ''; position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.035'/%3E%3C/svg%3E");
  background-size: 256px; pointer-events: none; z-index: 1; opacity: .6;
}
/* Architectural grid lines */
.hero-lines {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  overflow: hidden;
}
.hero-lines::before {
  content: '';
  position: absolute;
  top: 64px; left: 56px; right: 0; bottom: 0;
  background-image:
    linear-gradient(90deg, var(--border-d) 1px, transparent 1px),
    linear-gradient(var(--border-d) 1px, transparent 1px);
  background-size: 200px 200px;
  opacity: .4;
}
/* Gold vertical accent line — far right third */
.hero-lines::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  left: calc(66.666% - 0.5px);
  width: 1px;
  background: linear-gradient(180deg, transparent 0%, var(--gold) 30%, var(--gold) 70%, transparent 100%);
  opacity: .15;
}

.hero-content {
  position: relative; z-index: 2;
  max-width: 1160px; margin: 0 auto;
  padding: 0 56px 100px;
  width: 100%;
  display: flex; flex-direction: column;
  justify-content: flex-end;
  min-height: calc(100vh - 64px);
}

/* Top zone — headline alone, commanding */
.hero-top {
  flex: 1; display: flex; flex-direction: column;
  justify-content: center;
  padding: 64px 0 48px;
}

.hero-kicker {
  font-family: 'DM Mono', monospace;
  font-size: 11px; letter-spacing: .22em; text-transform: uppercase;
  color: var(--gold);
  display: flex; align-items: center; gap: 14px;
  margin-bottom: 48px;
}
.hero-kicker::before { content: ''; width: 32px; height: 1px; background: var(--gold); display: block; flex-shrink: 0; }

.hero-h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(46px, 7.6vw, 108px);
  font-weight: 400; line-height: .93;
  letter-spacing: -.035em; color: var(--snow);
  max-width: 820px;
}
.hero-h1 em {
  font-style: italic; color: var(--gold-l);
  display: block;
}

/* Thin gold rule separating top from bottom */
.hero-rule {
  width: 100%; height: 1px;
  background: linear-gradient(90deg, rgba(181,136,58,.4) 0%, transparent 60%);
  margin-bottom: 48px;
}

/* Bottom zone — two columns */
.hero-bottom {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px; align-items: start;
}

.hero-distinction {
  border-left: 1px solid rgba(181,136,58,.35);
  padding-left: 32px;
}
.hero-distinction p {
  font-size: 17px; line-height: 1.85;
  color: rgba(248,248,246,.5); font-weight: 300;
  margin-bottom: 16px;
}
.hero-distinction p:last-child { margin-bottom: 0; }
.hero-distinction strong { color: var(--snow); font-weight: 500; }

/* Two-stat strip */
.hero-proof-strip {
  display: grid; grid-template-columns: 1fr 1fr;
  border: 1px solid var(--border-d);
  align-self: start;
}
.hps-item {
  padding: 24px 28px;
  background: rgba(255,255,255,.03);
  transition: background .3s;
}
.hps-item:first-child { border-right: 1px solid var(--border-d); }
.hps-item:hover { background: rgba(255,255,255,.06); }
.hps-label {
  font-family: 'DM Mono', monospace;
  font-size: 9px; letter-spacing: .16em; text-transform: uppercase;
  color: rgba(248,248,246,.25); margin-bottom: 8px;
}
.hps-val {
  font-family: 'Playfair Display', serif;
  font-size: 28px; font-weight: 700;
  color: var(--gold-l); line-height: 1;
  letter-spacing: -.02em;
}

/* ── S1: THE REFRAME ─────────────────────────────── */
/* Dark section — the "not advertising" argument */
.reframe-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px; align-items: start;
}
.reframe-left p {
  font-size: 16px; line-height: 1.95;
  color: rgba(248,248,246,.55); margin-bottom: 24px;
}
.reframe-left p:last-child { margin-bottom: 0; }
.reframe-left p strong { color: var(--snow); font-weight: 500; }

/* The contrast block — ad vs infrastructure */
.contrast-block {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 2px; background: var(--border-d);
  margin-top: 0;
}
.contrast-cell {
  background: var(--void-l); padding: 36px 32px;
  transition: background .25s;
}
.contrast-cell:hover { background: var(--void-ll); }
.contrast-cell.faded { opacity: .5; }
.cc-type {
  font-family: 'DM Mono', monospace;
  font-size: 9px; letter-spacing: .18em; text-transform: uppercase;
  margin-bottom: 16px;
}
.contrast-cell.faded .cc-type { color: rgba(248,248,246,.25); }
.contrast-cell:not(.faded) .cc-type { color: var(--gold); }
.cc-title {
  font-family: 'Playfair Display', serif;
  font-size: 20px; font-weight: 400; margin-bottom: 10px;
  color: var(--snow);
}
.contrast-cell.faded .cc-title { color: rgba(248,248,246,.4); }
.cc-item {
  font-size: 13px; line-height: 1.75;
  color: rgba(248,248,246,.35);
  display: flex; gap: 8px; margin-bottom: 8px;
  align-items: flex-start;
}
.cc-item:last-child { margin-bottom: 0; }
.contrast-cell:not(.faded) .cc-item { color: rgba(248,248,246,.55); }
.cc-item::before { content: '—'; flex-shrink: 0; color: rgba(248,248,246,.2); }
.contrast-cell:not(.faded) .cc-item::before { color: var(--gold); content: '✓'; }
.contrast-cell.faded .cc-item::before { text-decoration: line-through; content: '✗'; color: rgba(248,248,246,.2); }

/* ── S2: THE THREE PHASES — blueprint timeline ────── */
/*
   The centrepiece of this page.
   Full-width, each phase occupying a horizontal band.
   A connecting thread runs through all three.
   Phase number giant and ghost on the left.
*/
.phases-section { background: var(--parch); }

.phases-intro {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 80px; align-items: end;
  margin-bottom: 80px;
}
.pi-right {
  font-size: 15px; line-height: 1.85;
  color: var(--mute); padding-bottom: 4px;
}
.pi-right strong { color: var(--ink); }

/* The phase connector line */
.phases-track {
  position: relative;
}
.phases-track::before {
  content: '';
  position: absolute;
  left: 80px;
  top: 0; bottom: 0;
  width: 1px;
  background: linear-gradient(180deg,
    transparent 0%,
    rgba(181,136,58,.35) 8%,
    rgba(181,136,58,.35) 92%,
    transparent 100%
  );
  z-index: 0;
}

.phase-block {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 0;
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--border-m);
  transition: background .4s;
}
.phase-block:last-child { border-bottom: 1px solid var(--border-m); }
.phase-block:hover { background: rgba(181,136,58,.025); }

/* The node */
.phase-node {
  display: flex; flex-direction: column;
  align-items: center;
  padding: 88px 0 0;
}
.pn-dot {
  width: 14px; height: 14px; border-radius: 50%;
  background: var(--parch);
  border: 1px solid var(--gold);
  flex-shrink: 0; z-index: 2;
  transition: background .3s, box-shadow .3s, transform .3s;
}
.phase-block:hover .pn-dot {
  background: var(--gold);
  box-shadow: 0 0 0 6px rgba(181,136,58,.12);
  transform: scale(1.2);
}

/* Phase content */
.phase-body {
  padding: 80px 0 80px 64px;
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 56px;
  align-items: start;
  position: relative;
}

.pb-meta { position: relative; }

.pb-right { max-width: 540px; }

/* Ghost number — dramatically oversized, bleeds behind content */
.pb-number {
  font-family: 'Playfair Display', serif;
  font-size: 200px; font-weight: 700; line-height: .85;
  letter-spacing: -.06em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(13,13,16,.08);
  margin-bottom: -32px;
  display: block;
  user-select: none;
  transition: -webkit-text-stroke .4s;
  pointer-events: none;
}
.phase-block:hover .pb-number {
  -webkit-text-stroke: 1px rgba(181,136,58,.18);
}

.pb-period {
  font-family: 'DM Mono', monospace;
  font-size: 10px; letter-spacing: .18em; text-transform: uppercase;
  color: var(--mute); margin-bottom: 12px;
}
.pb-status {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
  padding: 5px 14px; margin-bottom: 20px;
}
.pb-status.done  { background: rgba(21,128,61,.1);  color: #166534; }
.pb-status.now   { background: rgba(181,136,58,.1); color: var(--gold); }
.pb-status.next  { background: var(--parch-d);       color: var(--mute); }

.pb-title {
  font-family: 'Playfair Display', serif;
  font-size: 32px; font-weight: 400;
  color: var(--ink); letter-spacing: -.02em;
  line-height: 1.1;
}
.pb-title em { font-style: italic; color: var(--gold); display: block; }

.pb-work {
  font-size: 16px; line-height: 1.9;
  color: var(--ink-m); margin-bottom: 28px;
}
.pb-work strong { color: var(--ink); font-weight: 600; }

/* Work items */
.pb-items {
  display: flex; flex-direction: column; gap: 0;
  border-top: 1px solid var(--border-l);
  margin-bottom: 32px;
}
.pb-item {
  display: grid; grid-template-columns: 16px 1fr;
  gap: 14px; padding: 14px 0;
  border-bottom: 1px solid var(--border-l);
  align-items: baseline;
  font-size: 14px; color: var(--ink-m); line-height: 1.6;
}
.pb-item::before { content: '↗'; color: var(--gold); font-size: 11px; flex-shrink: 0; }

/* Signal — full-width dark bar spanning both columns */
.pb-signal-wrap {
  grid-column: 1 / -1;
  margin: 0 -40px -80px -40px;
  padding: 0 40px;
}
.pb-signal {
  display: flex; align-items: center; gap: 16px;
  padding: 20px 32px;
  background: var(--ink);
  font-size: 14px; font-weight: 500; color: var(--snow);
  border-left: 3px solid var(--gold);
  width: 100%;
}
.pb-signal-arrow {
  color: var(--gold-l); font-size: 18px; flex-shrink: 0;
}
.pb-signal-text { line-height: 1.4; }
.pb-signal-text strong { color: var(--gold-l); }

.phase-growth .pb-signal-wrap {
  grid-column: 2;
  margin: 0 0 -80px;
  padding: 0;
  max-width: 540px;
}

/* ── S3: WHY ORDER MATTERS ───────────────────────── */
/* The dependency chain — dark section */
.chain-layout {
  display: grid;
  grid-template-columns: 400px 1fr;
  gap: 100px; align-items: start;
}

.chain-left p {
  font-size: 16px; line-height: 1.95;
  color: rgba(248,248,246,.55); margin-bottom: 24px;
}
.chain-left p strong { color: var(--snow); font-weight: 500; }
.chain-left p:last-child { margin-bottom: 0; }

/* Visual dependency stack */
.dependency-chain {
  display: flex; flex-direction: column; gap: 0;
  position: relative;
}
/* Vertical connector */
.dependency-chain::before {
  content: '';
  position: absolute;
  left: 27px; top: 28px; bottom: 28px;
  width: 1px;
  background: linear-gradient(180deg, var(--gold) 0%, rgba(181,136,58,.2) 100%);
}
.dep-item {
  display: grid; grid-template-columns: 56px 1fr;
  gap: 28px; align-items: start;
  padding: 28px 0;
  position: relative; z-index: 1;
  cursor: default;
}
.dep-num {
  width: 56px; height: 56px;
  background: var(--void-ll);
  border: 1px solid var(--border-d);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: border-color .3s, background .3s;
}
.dep-item:hover .dep-num {
  border-color: var(--gold);
  background: rgba(181,136,58,.08);
}
.dep-num span {
  font-family: 'Playfair Display', serif;
  font-size: 20px; font-weight: 700;
  color: rgba(248,248,246,.2); line-height: 1;
  transition: color .3s;
}
.dep-item:hover .dep-num span { color: var(--gold-l); }
.dep-layer {
  font-family: 'DM Mono', monospace;
  font-size: 9px; letter-spacing: .18em; text-transform: uppercase;
  color: rgba(248,248,246,.25); margin-bottom: 4px;
}
.dep-title {
  font-size: 16px; font-weight: 600;
  color: var(--snow); margin-bottom: 6px;
}
.dep-desc {
  font-size: 13px; line-height: 1.7;
  color: rgba(248,248,246,.4);
}
.dep-unlocks {
  margin-top: 8px;
  font-family: 'DM Mono', monospace;
  font-size: 11px; color: var(--gold);
  letter-spacing: .04em;
}
.dep-unlocks::before { content: '→ '; }

/* ── S4: WHAT'S IN THE RETAINER ──────────────────── */
/* Parchment — full table */
.retainer-intro {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 80px; align-items: end;
  margin-bottom: 64px;
}
.ri-right {
  font-size: 15px; line-height: 1.85;
  color: var(--mute); padding-bottom: 4px;
}
.ri-right strong { color: var(--ink); }

.retainer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: var(--parch-dd);
}
.retainer-card {
  background: var(--parch);
  padding: 40px 36px;
  transition: background .3s;
  display: flex; flex-direction: column;
  gap: 12px;
}
.retainer-card:hover { background: var(--white); }
.rc-cadence {
  font-family: 'DM Mono', monospace;
  font-size: 9px; letter-spacing: .2em; text-transform: uppercase;
  color: var(--light);
  padding: 4px 10px;
  border: 1px solid var(--parch-dd);
  display: inline-flex; align-self: flex-start;
  transition: border-color .3s, color .3s;
}
.retainer-card:hover .rc-cadence {
  border-color: var(--gold);
  color: var(--gold);
}
.rc-category {
  font-family: 'Playfair Display', serif;
  font-size: 22px; font-weight: 400;
  color: var(--ink); letter-spacing: -.01em;
  line-height: 1.15; flex: 1;
}
.rc-what {
  font-size: 13px; line-height: 1.75;
  color: var(--mute);
  padding-top: 8px;
  border-top: 1px solid var(--border-l);
}

/* Price row at bottom */
.retainer-price {
  margin-top: 2px;
  background: var(--ink);
  padding: 40px 48px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 60px; align-items: center;
}
.rp-label {
  font-family: 'DM Mono', monospace;
  font-size: 10px; letter-spacing: .2em; text-transform: uppercase;
  color: rgba(248,248,246,.3); margin-bottom: 8px;
}
.rp-price {
  font-family: 'Playfair Display', serif;
  font-size: 56px; font-weight: 700;
  color: var(--gold-l); line-height: 1;
  letter-spacing: -.025em;
}
.rp-price span {
  font-size: 22px; color: rgba(248,248,246,.3);
  font-family: 'Instrument Sans', sans-serif;
  font-weight: 300; letter-spacing: 0;
}
.rp-right p {
  font-size: 14px; line-height: 1.8;
  color: rgba(248,248,246,.45);
  max-width: 320px;
}
.rp-right p strong { color: var(--snow); font-weight: 500; }

/* ── S5: WHAT IT COMPOUNDS INTO ──────────────────── */
/* Three outcome numbers — dark, austere */
.compound-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px; align-items: center;
}
.compound-left p {
  font-size: 16px; line-height: 1.95;
  color: rgba(248,248,246,.55); margin-bottom: 24px;
}
.compound-left p strong { color: var(--snow); font-weight: 500; }
.compound-left p:last-child { margin-bottom: 0; }

.compound-stats {
  display: flex; flex-direction: column; gap: 2px;
  background: var(--border-d);
}
.cs-row {
  background: var(--void-l);
  padding: 36px 40px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 36px; align-items: center;
  transition: background .3s;
}
.cs-row:hover { background: var(--void-ll); }
.cs-num {
  font-family: 'Playfair Display', serif;
  font-size: 60px; font-weight: 700;
  color: var(--snow); line-height: 1;
  letter-spacing: -.03em; white-space: nowrap;
}
.cs-num .a { color: var(--gold-l); }
.cs-label {
  font-size: 15px; font-weight: 500;
  color: var(--snow); margin-bottom: 4px;
}
.cs-desc {
  font-size: 13px; line-height: 1.65;
  color: rgba(248,248,246,.35);
}
.cs-source {
  font-family: 'DM Mono', monospace;
  font-size: 9px; letter-spacing: .14em; text-transform: uppercase;
  color: rgba(248,248,246,.18); margin-top: 6px;
}

/* ── FINAL CTA ───────────────────────────────────── */
.cta-section {
  background: var(--void);
  padding: 160px 56px;
  text-align: center;
  position: relative; overflow: hidden;
}
.cta-section::before {
  content: ''; position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 600px; height: 300px;
  background: radial-gradient(ellipse, rgba(181,136,58,.08) 0%, transparent 70%);
  pointer-events: none;
}
.cta-section::after {
  content: ''; position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.035'/%3E%3C/svg%3E");
  background-size: 256px; pointer-events: none; opacity: .5;
}
.cta-inner { position: relative; z-index: 2; max-width: 700px; margin: 0 auto; }
.cta-kicker {
  font-family: 'DM Mono', monospace;
  font-size: 11px; letter-spacing: .24em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 36px;
  display: flex; align-items: center; justify-content: center; gap: 16px;
}
.cta-kicker::before, .cta-kicker::after { content: ''; display: block; width: 40px; height: 1px; background: var(--gold); }
.cta-h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(40px, 6vw, 80px);
  font-weight: 400; line-height: 1.05;
  letter-spacing: -.025em; color: var(--snow); margin-bottom: 28px;
}
.cta-h2 em { font-style: italic; color: var(--gold-l); }
.cta-sub {
  font-size: 17px; line-height: 1.8;
  color: rgba(248,248,246,.4); margin-bottom: 52px; font-weight: 300;
}
.cta-sub strong { color: rgba(248,248,246,.7); font-weight: 500; }
.cta-actions { display: flex; align-items: center; justify-content: center; gap: 20px; flex-wrap: wrap; }
.cta-note {
  margin-top: 20px;
  font-family: 'DM Mono', monospace;
  font-size: 10px; letter-spacing: .14em; text-transform: uppercase;
  color: rgba(248,248,246,.18);
}

/* ── RESPONSIVE ──────────────────────────────────── */
@media (max-width: 1320px) {
  #phases .phase-body {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
    padding: 60px 0 0 40px;
  }
  #phases .pb-meta,
  #phases .pb-right {
    max-width: 560px;
    width: 100%;
    min-width: 0;
  }
  #phases .pb-signal-wrap {
    grid-column: 1 / -1;
    margin: 0 -40px -60px -40px;
    padding: 0 40px;
  }
  #phases .pb-signal {
    width: 100%;
    box-sizing: border-box;
  }
}
@media (max-width: 1060px) {
  .wrap, .hero-content, .cta-section { padding-left: 40px; padding-right: 40px; }
  .hero-bottom { grid-template-columns: 1fr; gap: 40px; }
  .reframe-layout, .chain-layout, .compound-layout,
  .phases-intro, .retainer-intro { grid-template-columns: 1fr; gap: 48px; }
  .phase-body { grid-template-columns: 1fr; gap: 24px; padding: 60px 0 0 40px; }
  .pb-number { font-size: 140px; }
  .pb-signal-wrap { margin: 0 -40px -60px -40px; padding: 0 40px; }
  .phase-growth .pb-signal-wrap { margin: 0 0 -60px; padding: 0; max-width: none; }
  .retainer-grid { grid-template-columns: 1fr 1fr; }
  .site-footer { grid-template-columns: 1fr; padding: 40px; }
  .footer-bottom { padding: 20px 40px; }
  .retainer-price { grid-template-columns: 1fr; gap: 24px; }
}
@media (max-width: 720px) {
  .nav { padding: 0 24px; }
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: flex; }
  .wrap, .hero-content, .cta-section { padding-left: 24px; padding-right: 24px; }
  .section { padding: 80px 0; }
  .hero-h1 { font-size: clamp(52px, 13vw, 88px); }
  .hero-proof-strip { grid-template-columns: 1fr; }
  .hps-item:first-child { border-right: none; border-bottom: 1px solid var(--border-d); }
  .contrast-block { grid-template-columns: 1fr; }
  .phase-block { grid-template-columns: 40px 1fr; }
  .phases-track::before { left: 40px; }
  .phase-body { grid-template-columns: minmax(0, 1fr); padding: 48px 0 0 20px; }
  .pb-number { font-size: 96px; }
  .pb-signal-wrap { margin: 0 -20px -48px -20px; padding: 0 20px; }
  #phases .pb-meta,
  #phases .pb-right {
    max-width: 100%;
  }
  #phases .pb-signal {
    width: 100%;
    box-sizing: border-box;
  }
  .dep-item { grid-template-columns: 44px 1fr; gap: 16px; }
  .cs-row { grid-template-columns: 1fr; gap: 12px; }
  .cs-num { font-size: 44px; }
  .retainer-grid { grid-template-columns: 1fr; }
  .site-footer { padding: 40px 24px; gap: 32px; }
  .footer-bottom { padding: 20px 24px; flex-direction: column; gap: 8px; text-align: center; }
  .cta-section { padding: 100px 24px; }
}
