body { background: var(--parch); color: var(--ink); }
.wrap { padding: 0 72px; }
.section { padding: 120px 0; }

/* ── HERO ────────────────────────────────────────── */
.hero {
  min-height: 82vh; background: var(--void);
  display: flex; flex-direction: column;
  padding-top: 64px; position: relative; overflow: hidden;
}
.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: 0; opacity: .6;
}
.hero::after {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 100% 100%, rgba(181,136,58,.09) 0%, transparent 55%),
    radial-gradient(ellipse 50% 70% at 0% 0%, rgba(26,26,34,.6) 0%, transparent 60%);
  pointer-events: none; z-index: 0;
}
.hero-grid {
  position: absolute; inset: 0; z-index: 0; 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: 80px 80px;
}
.hero-ghost {
  position: absolute; right: -3%; top: 50%; transform: translateY(-55%);
  font-family: 'Playfair Display', serif; font-size: min(48vw, 620px);
  font-weight: 700; line-height: 1; color: transparent;
  -webkit-text-stroke: 1px rgba(255,255,255,.04);
  pointer-events: none; user-select: none; letter-spacing: -.04em; z-index: 1;
}
.hero-content {
  position: relative; z-index: 2;
  max-width: 1160px; margin: 0 auto;
  padding: 0 72px 100px; width: 100%;
  display: flex; flex-direction: column; flex: 1;
}
.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-l); display: flex; align-items: center; gap: 14px; margin-bottom: 48px;
}
.hero-kicker::before { content: ''; width: 36px; height: 1px; background: var(--gold); display: block; }
.hero-kicker .sep { opacity: .4; }
.hero-h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(44px, 6.8vw, 88px);
  font-weight: 400; line-height: .93; letter-spacing: -.03em;
  color: var(--snow); max-width: 860px;
}
.hero-h1 em { font-style: italic; color: var(--gold-l); }
.hero-rule {
  width: 100%; height: 1px;
  background: linear-gradient(90deg, rgba(255,255,255,.12) 0%, transparent 65%);
  margin-bottom: 48px; flex-shrink: 0;
}
.hero-bottom { display: grid; grid-template-columns: 1fr auto; gap: 80px; align-items: end; }
.hero-desc {
  font-size: 17px; line-height: 1.8; color: rgba(248,248,246,.5); max-width: 520px; font-weight: 300;
}
.hero-desc strong { color: rgba(248,248,246,.8); font-weight: 500; }
.hero-stats { display: flex; border: 1px solid var(--border-d); flex-shrink: 0; }
.hs {
  padding: 28px 36px; background: rgba(255,255,255,.035);
  border-right: 1px solid var(--border-d); transition: background .3s; text-align: center; min-width: 128px;
}
.hs:last-child { border-right: none; }
.hs:hover { background: rgba(255,255,255,.07); }
.hs-val {
  font-family: 'Playfair Display', serif; font-size: 38px; font-weight: 700;
  color: var(--snow); line-height: 1; margin-bottom: 7px; letter-spacing: -.025em;
}
.hs-val .acc { 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,.28);
}

/* ── S1: WHY MOST CASE STUDIES LIE ──────────────── */
.s1-layout { display: grid; grid-template-columns: 1fr 400px; gap: 80px; align-items: start; margin-top: 64px; }
.s1-body p { font-size: 16px; line-height: 1.9; color: var(--ink-m); margin-bottom: 24px; }
.s1-body p:last-child { margin-bottom: 0; }
.s1-body p strong { color: var(--ink); font-weight: 600; }

/* The industry claims panel — dark, matching CS1/CS2 s1-panel */
.s1-panel { background: var(--void); padding: 48px; }
.sp-big {
  font-family: 'Playfair Display', serif; font-size: 80px; font-weight: 700;
  line-height: 1; color: var(--red); letter-spacing: -.04em; margin-bottom: 8px;
}
.sp-cap { font-size: 13px; color: rgba(248,248,246,.38); line-height: 1.6; margin-bottom: 28px; }
.sp-rule { height: 1px; background: var(--border-d); margin-bottom: 20px; }
.sp-row { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 14px; }
.sp-row:last-child { margin-bottom: 0; }
.sp-k { font-size: 12px; color: rgba(248,248,246,.3); }
.sp-v { font-size: 13px; font-weight: 600; }
.sp-v.bad  { color: #f87171; }
.sp-v.neu  { color: rgba(248,248,246,.45); }
.sp-v.good { color: var(--green-l); }
.sp-verdict {
  margin-top: 24px; padding: 20px 24px;
  background: var(--green-bg); border-left: 3px solid var(--green-l);
}
.sp-verdict-txt { font-size: 14px; line-height: 1.65; color: rgba(248,248,246,.5); }
.sp-verdict-txt strong { color: var(--snow); }

/* ── S2: THE THREE-TIER ATTRIBUTION MODEL ────────── */
/*
   The centrepiece. Three horizontal ledger bands — each one
   has a clear verdict (claimed / probable / explicitly not claimed).
   Left accent colour codes the claim level. Same pattern as
   CS1's period-bands and CS2's infra-layers.
*/
.attribution-ledger { margin-top: 64px; display: flex; flex-direction: column; gap: 3px; }

.at-tier {
  display: grid; grid-template-columns: 240px 1fr;
  background: var(--white);
  border-left: 4px solid transparent;
  transition: box-shadow .3s;
}
.at-tier:hover { box-shadow: 0 4px 24px rgba(13,13,16,.07); position: relative; z-index: 1; }
/* Tier colours: confirmed = green, probable = amber, not claimed = muted border */
.at-tier.confirmed  { border-left-color: var(--green-l); }
.at-tier.probable   { border-left-color: var(--amber); }
.at-tier.disclaimed { border-left-color: rgba(13,13,16,.2); }

.at-verdict {
  padding: 40px 32px; background: var(--parch);
  border-right: 1px solid var(--border-l);
  display: flex; flex-direction: column; justify-content: flex-start;
}
.at-verdict-label {
  font-family: 'DM Mono', monospace; font-size: 9px;
  letter-spacing: .2em; text-transform: uppercase; margin-bottom: 10px;
}
.at-tier.confirmed  .at-verdict-label { color: var(--green-l); }
.at-tier.probable   .at-verdict-label { color: var(--amber); }
.at-tier.disclaimed .at-verdict-label { color: var(--mute); }

.at-verdict-title {
  font-family: 'Playfair Display', serif; font-size: 20px; font-weight: 400;
  line-height: 1.1; letter-spacing: -.015em; color: var(--ink); margin-bottom: 16px;
}
.at-verdict-title em { font-style: italic; color: var(--gold); }

.at-figure {
  font-family: 'Playfair Display', serif; font-size: 40px; font-weight: 700;
  line-height: 1; letter-spacing: -.03em; margin-top: auto;
}
.at-tier.confirmed  .at-figure { color: var(--green-l); }
.at-tier.probable   .at-figure { color: var(--amber); }
.at-tier.disclaimed .at-figure { color: rgba(13,13,16,.2); }
.at-figure-label {
  font-family: 'DM Mono', monospace; font-size: 10px;
  letter-spacing: .12em; text-transform: uppercase; color: var(--mute); margin-top: 4px;
}

.at-content { padding: 40px 48px; }
.at-desc {
  font-size: 15px; line-height: 1.85; color: var(--ink-m);
  padding-bottom: 28px; border-bottom: 1px solid var(--border-l); margin-bottom: 24px;
}
.at-desc strong { color: var(--ink); font-weight: 600; }

.at-sources { display: flex; flex-direction: column; gap: 10px; }
.at-source {
  display: flex; align-items: baseline; gap: 12px;
  font-size: 13px; color: var(--mute); line-height: 1.5;
}
.at-source::before { content: '→'; flex-shrink: 0; font-size: 11px; }
.at-tier.confirmed  .at-source::before { color: var(--green-l); }
.at-tier.probable   .at-source::before { color: var(--amber); }
.at-tier.disclaimed .at-source::before { color: rgba(13,13,16,.25); }
.at-source strong { color: var(--ink); font-weight: 600; }
.at-tier.disclaimed .at-source strong { color: var(--mute); }
.at-tier.disclaimed .at-source { color: rgba(13,13,16,.35); }

/* ── S3: THE CONFIRMED FUNNEL ────────────────────── */
/*
   The OpenTable Network channel — the one we can actually trace.
   Embedded dark block inside on-white section.
*/
.funnel-block { background: var(--void); margin-top: 56px; }

.funnel-header {
  padding: 52px 56px 40px;
  border-bottom: 1px solid var(--border-d);
  display: grid; grid-template-columns: 1fr auto; gap: 48px; align-items: end;
}
.fh-tag {
  font-family: 'DM Mono', monospace; font-size: 9px;
  letter-spacing: .2em; text-transform: uppercase; color: var(--gold); margin-bottom: 14px;
}
.fh-h {
  font-family: 'Playfair Display', serif; font-size: clamp(24px, 3vw, 36px);
  font-weight: 400; line-height: 1.1; letter-spacing: -.02em; color: var(--snow);
}
.fh-h em { font-style: italic; color: var(--gold-l); }
.fh-total { text-align: right; }
.fh-total-num {
  font-family: 'Playfair Display', serif; font-size: 64px; font-weight: 700;
  line-height: 1; letter-spacing: -.04em; color: var(--green-l);
}
.fh-total-lbl {
  font-family: 'DM Mono', monospace; font-size: 9px;
  letter-spacing: .16em; text-transform: uppercase; color: rgba(248,248,246,.3);
  margin-top: 4px;
}

/* Funnel steps — visual waterfall */
.funnel-steps {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 2px; background: var(--border-d);
}
.funnel-step {
  background: var(--void-l); padding: 36px 32px;
  position: relative; transition: background .3s;
}
.funnel-step:hover { background: var(--void-ll); }
.funnel-step:not(:last-child)::after {
  content: '→';
  position: absolute; right: -12px; top: 50%; transform: translateY(-50%);
  font-size: 14px; color: rgba(248,248,246,.2); z-index: 2;
}
.fs-step {
  font-family: 'DM Mono', monospace; font-size: 9px;
  letter-spacing: .2em; text-transform: uppercase;
  color: rgba(248,248,246,.25); margin-bottom: 14px;
}
.fs-num {
  font-family: 'Playfair Display', serif; font-size: 44px; font-weight: 700;
  line-height: 1; letter-spacing: -.03em; color: var(--snow); margin-bottom: 6px;
}
.fs-num .acc { color: var(--gold-l); }
.fs-label { font-size: 13px; font-weight: 500; color: rgba(248,248,246,.55); margin-bottom: 4px; }
.fs-sub { font-size: 11px; color: rgba(248,248,246,.3); line-height: 1.55; }
.fs-yoy {
  display: inline-flex; margin-top: 10px;
  font-family: 'DM Mono', monospace; font-size: 10px; font-weight: 500;
  letter-spacing: .06em; padding: 3px 10px;
  background: var(--green-bg); color: var(--green-l);
}
.fs-yoy.neu { background: rgba(181,136,58,.1); color: var(--gold-l); }

/* Attribution note below funnel */
.funnel-note {
  padding: 32px 56px;
  border-top: 1px solid var(--border-d);
  display: grid; grid-template-columns: 36px 1fr; gap: 16px;
}
.fn-icon {
  font-family: 'Playfair Display', serif; font-size: 22px;
  color: var(--gold); line-height: 1.2;
}
.fn-text { font-size: 14px; line-height: 1.75; color: rgba(248,248,246,.45); }
.fn-text strong { color: var(--snow); font-weight: 500; }

/* ── S4: THE HONEST CALCULATION ──────────────────── */
/*
   The methodology shown in full. Embedded dark block
   inside on-parch section — same as CS1's swing-box.
*/
.calc-block { background: var(--void); margin-top: 56px; }

.calc-top {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 0;
}
.calc-method {
  padding: 56px 56px;
  border-right: 1px solid var(--border-d);
}
.calc-m-tag {
  font-family: 'DM Mono', monospace; font-size: 9px;
  letter-spacing: .2em; text-transform: uppercase; color: var(--gold); margin-bottom: 20px;
}
.calc-m-h {
  font-family: 'Playfair Display', serif; font-size: 26px; font-weight: 400;
  line-height: 1.1; letter-spacing: -.015em; color: var(--snow); margin-bottom: 20px;
}
.calc-m-h em { font-style: italic; color: var(--gold-l); }

/* Equation steps */
.calc-steps { display: flex; flex-direction: column; gap: 0; }
.calc-step {
  padding: 18px 0; border-bottom: 1px solid var(--border-d);
  display: grid; grid-template-columns: 1fr auto; gap: 20px; align-items: center;
}
.calc-step:last-child { border-bottom: none; }
.cs-expr { font-size: 14px; color: rgba(248,248,246,.5); line-height: 1.4; }
.cs-expr em { color: rgba(248,248,246,.25); font-style: normal; font-size: 12px; display: block; margin-top: 3px; }
.cs-result {
  font-family: 'Playfair Display', serif; font-size: 26px; font-weight: 700;
  letter-spacing: -.02em; white-space: nowrap;
}
.cs-result.green { color: var(--green-l); }
.cs-result.gold  { color: var(--gold-l); }
.cs-result.snow  { color: var(--snow); }
.calc-step.total {
  background: rgba(181,136,58,.06); margin: 0 -56px; padding: 20px 56px;
  border-top: 1px solid rgba(181,136,58,.2); border-bottom: none;
}

/* Result panel on the right */
.calc-result {
  padding: 56px 56px;
  display: flex; flex-direction: column; justify-content: center;
  background: rgba(181,136,58,.06);
}
.cr-tag {
  font-family: 'DM Mono', monospace; font-size: 9px;
  letter-spacing: .2em; text-transform: uppercase; color: var(--gold); margin-bottom: 16px;
}
.cr-num {
  font-family: 'Playfair Display', serif; font-size: 88px; font-weight: 700;
  line-height: 1; letter-spacing: -.04em; color: var(--gold-l); margin-bottom: 8px;
}
.cr-label { font-size: 16px; color: rgba(248,248,246,.55); line-height: 1.5; margin-bottom: 28px; }
.cr-label strong { color: var(--snow); }
.cr-divider { height: 1px; background: var(--border-d); margin-bottom: 24px; }
.cr-sub { font-size: 13px; line-height: 1.75; color: rgba(248,248,246,.38); }
.cr-sub strong { color: rgba(248,248,246,.65); font-weight: 500; }

/* Honest qualifier below the calc block */
.calc-qualifier {
  padding: 28px 56px;
  border-top: 1px solid var(--border-d);
  background: rgba(185,28,28,.04);
  border-left: 4px solid rgba(185,28,28,.3);
  display: grid; grid-template-columns: auto 1fr; gap: 20px; align-items: baseline;
}
.cq-label {
  font-family: 'DM Mono', monospace; font-size: 9px;
  letter-spacing: .2em; text-transform: uppercase; color: rgba(248,248,246,.3);
  white-space: nowrap;
}
.cq-text { font-size: 14px; line-height: 1.65; color: rgba(248,248,246,.45); }
.cq-text strong { color: var(--snow); font-weight: 500; }

/* ── S5: WHAT HONEST ATTRIBUTION ACTUALLY MEANS ─── */
/* Three panels on parch — same pattern as CS1's impact-grid embedded in white */
.honesty-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 2px; background: var(--parch-ddd);
  margin-top: 64px;
}
.hg-card { background: var(--white); padding: 48px 40px; transition: background .25s; }
.hg-card:hover { background: var(--parch); }
.hg-card.dark { background: var(--void); }
.hg-card.dark:hover { background: var(--void-l); }
.hg-num {
  font-family: 'Playfair Display', serif; font-size: 64px; font-weight: 700;
  line-height: 1; letter-spacing: -.03em; margin-bottom: 14px;
}
.hg-card:not(.dark) .hg-num { color: var(--ink); }
.hg-card.dark .hg-num { color: var(--gold-l); }
.hg-num .acc { color: var(--green-l); }
.hg-title { font-size: 15px; font-weight: 600; margin-bottom: 10px; }
.hg-card.dark .hg-title { color: var(--snow); }
.hg-desc { font-size: 14px; line-height: 1.75; color: var(--mute); }
.hg-card.dark .hg-desc { color: rgba(248,248,246,.45); }

/* ── CTA ─────────────────────────────────────────── */
.cta-section {
  background: var(--void); padding: 160px 72px;
  text-align: center; position: relative; overflow: hidden;
}
.cta-section::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 60% at 50% 50%, rgba(181,136,58,.07) 0%, transparent 65%);
  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: 680px; 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(38px, 5.5vw, 72px);
  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,.42); margin-bottom: 52px;
  font-weight: 300; max-width: 500px; margin-left: auto; margin-right: auto;
}
.cta-actions { display: flex; align-items: center; justify-content: center; gap: 20px; flex-wrap: wrap; }
.cta-note {
  margin-top: 24px; font-family: 'DM Mono', monospace; font-size: 10px;
  letter-spacing: .14em; text-transform: uppercase; color: rgba(248,248,246,.2);
}

@media (max-width: 1360px) {
  .hero-bottom { grid-template-columns: 1fr; gap: 48px; }
  .hero-stats { width: fit-content; max-width: 100%; }
}

/* ── RESPONSIVE ──────────────────────────────────── */
@media (max-width: 1060px) {
  .wrap { padding: 0 48px; }
  .hero-content { padding: 0 48px 80px; }
  .s1-layout { grid-template-columns: 1fr; gap: 48px; }
  .hero-bottom { grid-template-columns: 1fr; gap: 48px; }
  .at-tier { grid-template-columns: 1fr; }
  .at-verdict { border-right: none; border-bottom: 1px solid var(--border-l); }
  .funnel-steps { grid-template-columns: 1fr 1fr; }
  .funnel-step::after { display: none; }
  .funnel-header { grid-template-columns: 1fr; gap: 24px; }
  .fh-total { text-align: left; }
  .calc-top { grid-template-columns: 1fr; }
  .calc-method { border-right: none; border-bottom: 1px solid var(--border-d); }
  .calc-step.total { margin: 0; padding: 20px 0; }
  .honesty-grid { grid-template-columns: 1fr; }
  .site-footer { grid-template-columns: 1fr; padding: 40px; }
  .footer-bottom { padding: 20px 40px; }
  .cta-section { padding: 120px 48px; }
}
@media (max-width: 720px) {
  .nav { padding: 0 24px; }
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: flex; }
  .wrap { padding: 0 24px; }
  .hero-content { padding: 0 24px 80px; }
  .hero-h1 { font-size: clamp(38px, 10vw, 64px); }
  .hero-stats { flex-direction: column; }
  .hs { border-right: none; border-bottom: 1px solid var(--border-d); }
  .hs:last-child { border-bottom: none; }
  .funnel-steps { grid-template-columns: 1fr; }
  .funnel-header, .calc-method, .calc-result, .funnel-note, .calc-qualifier { padding-left: 24px; padding-right: 24px; }
  .cta-section { padding: 80px 24px; }
  .site-footer { padding: 40px 24px; gap: 32px; }
  .footer-bottom { padding: 20px 24px; flex-direction: column; gap: 8px; text-align: center; }
}
