/* ============================================================
   HOMEPAGE SPECIFIC STYLES
   ============================================================ */

/* ── HERO ────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  background: var(--void);
  display: flex; flex-direction: column;
  padding-top: 64px;
  position: relative; overflow: hidden;
}

/* Grain texture overlay */
.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='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.035'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 256px 256px;
  pointer-events: none; z-index: 1; opacity: .6;
}

/* Warm centre glow — anchored low */
.hero::after {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(
    ellipse 70% 50% at 40% 85%,
    rgba(181,136,58,.07) 0%,
    transparent 65%
  );
  pointer-events: none; z-index: 1;
}

/* Subtle grid line texture */
.hero-grid {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.018) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,.018) 1px, transparent 1px);
  background-size: 96px 96px;
}

/* Architectural vertical accent — right quarter */
.hero-line {
  position: absolute; top: 0; bottom: 0;
  left: 75%; width: 1px; z-index: 1;
  background: linear-gradient(180deg,
    transparent 0%,
    rgba(181,136,58,.12) 20%,
    rgba(181,136,58,.12) 80%,
    transparent 100%
  );
  pointer-events: none;
}

.hero-content {
  position: relative; z-index: 2;
  max-width: 1160px; margin: 0 auto;
  padding: 0 56px 100px;
  width: 100%;
  display: flex; flex-direction: column;
  flex: 1;
}

/* Top zone — grows to push headline away from nav */
.hero-top {
  flex: 1;
  display: flex; flex-direction: column;
  justify-content: center;
  padding: 60px 0 48px;
}

.hero-provenance {
  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: 52px;
}
.hero-provenance::before {
  content: ''; width: 32px; height: 1px;
  background: var(--gold); display: block; flex-shrink: 0;
}

/* Headline — the entire visual statement */
.hero-h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(46px, 7.6vw, 108px);
  font-weight: 400;
  line-height: .92;
  letter-spacing: -.035em;
  color: var(--snow);
  max-width: 900px;
}
.hero-h1 em {
  font-style: italic;
  color: var(--gold-l);
}

/* Rule — thin gold gradient separating top from bottom */
.hero-divider {
  width: 100%; height: 1px;
  background: linear-gradient(90deg, rgba(181,136,58,.35) 0%, transparent 60%);
  margin-bottom: 48px;
  flex-shrink: 0;
}

/* Bottom zone — sub copy + stats anchored to floor */
.hero-foot {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 80px; align-items: end;
}
.hero-sub {
  font-size: 18px; line-height: 1.85;
  color: rgba(248,248,246,.45);
  font-weight: 300; max-width: 480px;
}
.hero-sub strong { color: rgba(248,248,246,.78); font-weight: 500; }

/* Stat trio */
.hero-stats {
  display: flex; gap: 0;
  border: 1px solid var(--border-d);
  flex-shrink: 0;
}
.hs-item {
  padding: 28px 36px;
  background: rgba(255,255,255,.03);
  border-right: 1px solid var(--border-d);
  transition: background .3s;
  text-align: center; min-width: 130px;
}
.hs-item:last-child { border-right: none; }
.hs-item:hover { background: rgba(255,255,255,.06); }
.hs-item {
  text-decoration: none;
  color: inherit;
}
.hs-num {
  font-family: 'Playfair Display', serif;
  font-size: 40px; font-weight: 700;
  color: var(--snow); line-height: 1;
  margin-bottom: 8px;
  letter-spacing: -.025em;
}
.hs-num .a { color: var(--gold-l); }
.hs-lbl {
  font-family: 'DM Mono', monospace;
  font-size: 9px; letter-spacing: .14em; text-transform: uppercase;
  color: rgba(248,248,246,.25);
}

.hero-proof-strip {
  margin-top: 16px;
  grid-column: 2;
  text-align: center;
  font-family: 'DM Mono', monospace;
  font-size: 10px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(248,248,246,.42);
}

/* Scroll indicator */
.scroll-cue {
  position: absolute; bottom: 40px; left: 56px;
  z-index: 2;
  display: flex; align-items: center; gap: 12px;
  font-family: 'DM Mono', monospace;
  font-size: 10px; letter-spacing: .18em; text-transform: uppercase;
  color: rgba(248,248,246,.18);
}
.scroll-cue::before {
  content: '';
  display: block; width: 1px; height: 44px;
  background: linear-gradient(180deg, transparent, rgba(248,248,246,.2));
  animation: scrollLine 2.2s ease-in-out infinite;
}
@keyframes scrollLine {
  0%,100% { opacity: .25; transform: scaleY(1); transform-origin: top; }
  50%      { opacity: .7;  transform: scaleY(1.15); transform-origin: top; }
}

/* ── MARKET CONTEXT BAND ────────────────────────── */
/*
   Single dark strip — three numbers from real data.
   Creates the "before you read anything else" moment.
*/
.context-band {
  background: var(--void-ll);
  border-top: 1px solid var(--border-d);
  border-bottom: 1px solid var(--border-d);
  padding: 0;
}
.context-band-inner {
  max-width: 1160px; margin: 0 auto;
  padding: 0 56px;
  display: grid;
  grid-template-columns: 1fr 1px 1fr 1px 1fr;
  gap: 0;
}
.cb-item {
  padding: 52px 48px;
  transition: background .3s;
}
.cb-item:hover { background: rgba(255,255,255,.02); }
.cb-divider {
  background: var(--border-d); width: 1px;
}
.cb-num {
  font-family: 'Playfair Display', serif;
  font-size: 52px; font-weight: 700; line-height: 1;
  letter-spacing: -.03em; margin-bottom: 10px;
  color: var(--snow);
}
.cb-num .a { color: var(--gold-l); }
.cb-label {
  font-size: 14px; color: rgba(248,248,246,.45); line-height: 1.65;
  margin-bottom: 8px;
}
.cb-source {
  font-family: 'DM Mono', monospace;
  font-size: 9px; letter-spacing: .14em; text-transform: uppercase;
  color: rgba(248,248,246,.2);
}

/* ── THE PROBLEM SECTION ────────────────────────── */
.problem-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px; align-items: center;
}
.problem-copy p {
  font-size: 16px; line-height: 1.95;
  color: var(--ink-m);
  margin-bottom: 28px;
}
.problem-copy p:last-child { margin-bottom: 0; }
.problem-copy p strong {
  color: var(--ink); font-weight: 600;
}
.problem-visual {
  position: relative;
}
/* The before/after comparison block */
.ba-block {
  border: 1px solid var(--border-m);
}
.ba-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}
.ba-cell {
  padding: 40px 36px;
  border-bottom: 1px solid var(--border-l);
}
.ba-row:last-child .ba-cell { border-bottom: none; }
.ba-cell + .ba-cell { border-left: 1px solid var(--border-l); }
.ba-period {
  font-family: 'DM Mono', monospace;
  font-size: 9px; letter-spacing: .16em; text-transform: uppercase;
  margin-bottom: 12px;
}
.ba-cell.before .ba-period { color: var(--mute); }
.ba-cell.after  .ba-period { color: var(--gold); }
.ba-val {
  font-family: 'Playfair Display', serif;
  font-size: 48px; font-weight: 700; line-height: 1;
  letter-spacing: -.03em; margin-bottom: 8px;
}
.ba-cell.before .ba-val { color: #B91C1C; }
.ba-cell.after  .ba-val { color: var(--gold); }
.ba-desc { font-size: 12px; color: var(--mute); line-height: 1.55; }

/* Market context note beneath */
.ba-footer {
  padding: 20px 32px;
  background: rgba(181,136,58,.08);
  border-top: 1px solid rgba(181,136,58,.2);
}
.ba-footer p {
  font-size: 13px; line-height: 1.65;
  color: var(--ink-m);
}
.ba-footer p strong { color: var(--ink); font-weight: 600; }

/* ── HOW IT WORKS TEASER ────────────────────────── */
.hiw-layout {
  display: grid;
  grid-template-columns: 400px 1fr;
  gap: 100px; align-items: start;
}
.phases {
  display: flex; flex-direction: column; gap: 0;
}
.phase-row {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 32px;
  padding: 40px 0;
  border-top: 1px solid var(--border-d);
  align-items: start;
  transition: background .25s;
  cursor: default;
}
.phase-row:last-child { border-bottom: 1px solid var(--border-d); }
.phase-row:hover .phase-num-big { color: var(--gold-l); }
.phase-num-big {
  font-family: 'Playfair Display', serif;
  font-size: 64px; font-weight: 700; line-height: 1;
  color: rgba(248,248,246,.07);
  letter-spacing: -.04em;
  transition: color .3s;
  padding-top: 2px; user-select: none;
}
.phase-name {
  font-family: 'DM Mono', monospace;
  font-size: 10px; letter-spacing: .18em; text-transform: uppercase;
  color: rgba(248,248,246,.22);
  margin-bottom: 8px;
}
.phase-title {
  font-family: 'Playfair Display', serif;
  font-size: 22px; font-weight: 400;
  color: var(--snow); margin-bottom: 10px;
  letter-spacing: -.01em; line-height: 1.1;
}
.phase-desc {
  font-size: 14px; line-height: 1.8;
  color: rgba(248,248,246,.38);
}
.phase-signal {
  margin-top: 14px;
  display: inline-flex; align-items: center; gap: 8px;
  font-family: 'DM Mono', monospace;
  font-size: 11px; color: var(--gold); letter-spacing: .04em;
}
.phase-signal::before { content: '→'; }

/* ── PROOF TEASER ───────────────────────────────── */
.proof-feature {
  max-width: 1160px; margin: 0 auto;
  padding: 0 56px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border: 1px solid var(--border-m);
}
.pf-copy {
  padding: 80px 72px;
  background: var(--void);
  border-right: 1px solid var(--border-m);
  color: var(--snow);
}
.pf-numbers {
  padding: 80px 72px;
  background: var(--parch);
  display: flex; flex-direction: column; gap: 48px;
  justify-content: center;
}

.pf-client {
  font-family: 'DM Mono', monospace;
  font-size: 10px; letter-spacing: .2em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 32px;
  display: flex; align-items: center; gap: 12px;
}
.pf-client::before { content: ''; width: 20px; height: 1px; background: var(--gold); display: block; }
.pf-headline {
  font-family: 'Playfair Display', serif;
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 400; line-height: 1.1;
  letter-spacing: -.02em;
  color: var(--snow); margin-bottom: 24px;
}
.pf-headline em { font-style: italic; color: var(--gold-l); }
.pf-body {
  font-size: 15px; line-height: 1.8;
  color: rgba(248,248,246,.5); margin-bottom: 40px;
}
.pf-link {
  font-size: 12px; font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--gold); text-decoration: none;
  display: flex; align-items: center; gap: 10px;
  transition: gap .25s;
}
.pf-link::after { content: '→'; transition: transform .25s; }
.pf-link:hover { gap: 16px; }

.pf-stat {
  padding-bottom: 48px;
  border-bottom: 1px solid var(--border-l);
}
.pf-stat:last-child { padding-bottom: 0; border-bottom: none; }
.pf-stat-num {
  font-family: 'Playfair Display', serif;
  font-size: 64px; font-weight: 700;
  line-height: 1; letter-spacing: -.035em;
  color: var(--ink); margin-bottom: 8px;
}
.pf-stat-num .a { color: var(--gold); }
.pf-stat-label {
  font-size: 14px; color: var(--mute); line-height: 1.65;
}
.pf-stat-source {
  font-family: 'DM Mono', monospace;
  font-size: 9px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--light); margin-top: 6px;
}

/* ── WHO IT'S FOR TEASER ────────────────────────── */
.for-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px; align-items: start;
}
.for-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  background: var(--parch-dd);
}
.for-card {
  background: var(--parch);
  padding: 44px 36px;
  transition: background .25s;
}
.for-card:hover { background: var(--white); }
.for-card.not {
  background: var(--parch-d);
  opacity: .55;
}
.for-card.not:hover { opacity: 1; background: var(--parch); }
.fc-type {
  font-family: 'DM Mono', monospace;
  font-size: 9px; letter-spacing: .2em; text-transform: uppercase;
  color: var(--mute); margin-bottom: 14px;
}
.for-card.not .fc-type { text-decoration: line-through; color: var(--light); }
.fc-title {
  font-family: 'Playfair Display', serif;
  font-size: 22px; font-weight: 400;
  color: var(--ink); margin-bottom: 10px;
  letter-spacing: -.01em; line-height: 1.15;
}
.fc-desc {
  font-size: 13px; line-height: 1.75; color: var(--mute);
}

/* ── FINAL CTA ──────────────────────────────────── */
.cta-section {
  background: var(--void);
  padding: 160px 56px;
  text-align: center;
  position: relative; overflow: hidden;
}
/* Radial gold glow beneath text */
.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;
}
/* Grain on CTA too */
.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='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.035'/%3E%3C/svg%3E");
  background-size: 256px 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: 1060px) {
  .nav-links { position: static; transform: none; }
  .wrap, .hero-content, .cta-section,
  .context-band-inner { padding-left: 40px; padding-right: 40px; }
  .problem-layout, .hiw-layout,
  .for-layout { grid-template-columns: 1fr; gap: 56px; }
  .proof-feature { grid-template-columns: 1fr; padding: 0 40px; }
  .pf-copy { border-right: none; border-bottom: 1px solid var(--border-m); }
  .context-band-inner { grid-template-columns: 1fr; gap: 0; }
  .cb-divider { display: none; }
  .cb-item { border-bottom: 1px solid var(--border-d); }
  .cb-item:last-child { border-bottom: none; }
  .hero-foot { grid-template-columns: 1fr; gap: 40px; }
  .site-footer { grid-template-columns: 1fr; padding: 40px; }
  .footer-bottom { padding: 20px 40px; }
  .hero-line { display: none; }
}
@media (max-width: 720px) {
  .nav { padding: 0 24px; }
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: flex; }
  .wrap, .hero-content, .cta-section,
  .context-band-inner { padding-left: 24px; padding-right: 24px; }
  .proof-feature { padding: 0; border-left: none; border-right: none; }
  .pf-copy, .pf-numbers { padding: 56px 24px; }
  .section { padding: 80px 0; }
  .hero-stats { flex-direction: column; }
  .hero-proof-strip { margin-top: 12px; grid-column: 1; text-align: left; }
  .hs-item { border-right: none; border-bottom: 1px solid var(--border-d); }
  .hs-item:last-child { border-bottom: none; }
  .ba-row { grid-template-columns: 1fr; }
  .ba-cell + .ba-cell { border-left: none; border-top: 1px solid var(--border-l); }
  .for-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; }
}
