/* =================================================================
   WHY WE BUY — Art Deco scrollytelling thesis
   Palette: Noir · Antique Gold · Warm Cream · (rare) Jade
   Type:    Playfair Display · Poiret One · EB Garamond
   ================================================================= */

:root {
  /* color */
  --noir:      #16130e;
  --noir-2:    #1b1710;
  --noir-3:    #211c13;
  --cream:     #f4ead3;
  --cream-2:   #efe1c4;
  --ink:       #16130e;

  --gold:      #c9a227;
  --gold-2:    #e7c662;
  --gold-deep: #8c6f1d;
  --jade:      #1f4d3f;

  --text-dark:  rgba(244, 234, 211, 0.80);  /* body on noir */
  --text-dark-strong: rgba(247, 239, 220, 0.95);
  --text-cream: rgba(24, 20, 13, 0.82);      /* body on cream */
  --hair:      rgba(201, 162, 39, 0.26);     /* gold hairline */
  --hair-cream: rgba(24, 20, 13, 0.20);

  --gold-grad: linear-gradient(135deg, #e7c662 0%, #c9a227 45%, #8c6f1d 100%);

  /* type */
  --display: 'Playfair Display', 'Times New Roman', serif;
  --deco:    'Poiret One', 'Century Gothic', sans-serif;
  --serif:   'EB Garamond', Georgia, 'Times New Roman', serif;

  /* rhythm */
  --pad-x: clamp(1.4rem, 5vw, 7rem);
  --section-y: clamp(6rem, 14vh, 13rem);
  --maxw: 1280px;
  --prose: 56ch;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  background: var(--noir);
  color: var(--text-dark);
  font-family: var(--serif);
  font-size: clamp(1.05rem, 0.6rem + 0.7vw, 1.3rem);
  line-height: 1.72;
  font-weight: 400;
  overflow-x: hidden;
  width: 100%;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.shell { overflow-x: clip; width: 100%; }

/* offset anchor jumps for the fixed nav */
:where(section, footer)[id] { scroll-margin-top: 88px; }

img { max-width: 100%; display: block; }
em { font-style: italic; }
cite { font-style: italic; }
strong { font-weight: 600; color: var(--text-dark-strong); }

::selection { background: var(--gold); color: var(--noir); }

.skip-link {
  position: fixed; top: -100px; left: 1rem; z-index: 999;
  background: var(--gold); color: var(--noir); padding: 0.6rem 1rem;
  font-family: var(--deco); letter-spacing: 0.1em; text-decoration: none;
  transition: top 0.3s var(--ease);
}
.skip-link:focus { top: 1rem; }

/* =================================================================
   ATMOSPHERE — grain + vignette
   ================================================================= */
.grain {
  position: fixed; inset: 0; z-index: 1; pointer-events: none; opacity: 0.5;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.55'/%3E%3C/svg%3E");
}
.vignette {
  position: fixed; inset: 0; z-index: 2; pointer-events: none;
  background: radial-gradient(120% 120% at 50% 35%, transparent 55%, rgba(0,0,0,0.45) 100%);
}

/* =================================================================
   READING SPINE (progress)
   ================================================================= */
.spine {
  position: fixed; left: clamp(0.7rem, 2.2vw, 2.2rem); top: 0; bottom: 0;
  width: 1px; z-index: 60; pointer-events: none;
  display: flex; justify-content: center;
}
.spine__track { position: absolute; inset: 0; width: 1px; background: var(--hair); opacity: 0.5; }
.spine__fill {
  position: absolute; top: 0; left: 0; width: 1px; height: 0%;
  background: var(--gold-grad);
  box-shadow: 0 0 14px rgba(231, 198, 98, 0.55);
}
.spine__fill::after {
  content: ""; position: absolute; bottom: -3px; left: -3px; width: 7px; height: 7px;
  background: var(--gold-2); transform: rotate(45deg);
  box-shadow: 0 0 12px rgba(231, 198, 98, 0.9);
}
@media (max-width: 720px) { .spine { display: none; } }

/* =================================================================
   NAV
   ================================================================= */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.5rem;
  padding: 1.05rem clamp(1.2rem, 4vw, 3.2rem);
  background: linear-gradient(to bottom, rgba(16,13,9,0.82), rgba(16,13,9,0));
  backdrop-filter: blur(2px);
  transition: background 0.5s var(--ease), padding 0.5s var(--ease), border-color 0.5s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.is-stuck {
  background: rgba(14, 11, 7, 0.92);
  backdrop-filter: blur(10px) saturate(1.1);
  border-bottom: 1px solid var(--hair);
  padding-top: 0.7rem; padding-bottom: 0.7rem;
}
.nav__mark { text-decoration: none; display: flex; flex-direction: column; line-height: 1; }
.nav__mark-main {
  font-family: var(--deco); font-size: 1.04rem; letter-spacing: 0.34em;
  color: var(--cream); text-indent: 0.34em;
}
.nav__mark-sub {
  font-family: var(--deco); font-size: 0.6rem; letter-spacing: 0.5em;
  color: var(--gold); margin-top: 0.32rem; text-indent: 0.5em;
}
.nav__links { display: flex; gap: clamp(0.9rem, 1.8vw, 2rem); }
.nav__links a {
  font-family: var(--deco); font-size: 0.78rem; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--text-dark); text-decoration: none; position: relative; padding: 0.2rem 0;
  transition: color 0.35s var(--ease);
}
.nav__links a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: -2px; height: 1px;
  background: var(--gold); transition: right 0.4s var(--ease);
}
.nav__links a:hover { color: var(--gold-2); }
.nav__links a:hover::after { right: 0; }
.nav__cta {
  font-family: var(--deco); font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--gold-2); text-decoration: none; border: 1px solid var(--hair);
  padding: 0.55rem 1.1rem; border-radius: 2px; transition: all 0.4s var(--ease);
  white-space: nowrap;
}
.nav__cta:hover { background: var(--gold); color: var(--noir); border-color: var(--gold); }
@media (max-width: 860px) { .nav__links { display: none; } }
@media (max-width: 480px) { .nav__cta { display: none; } }

/* =================================================================
   HERO
   ================================================================= */
.hero {
  position: relative; min-height: 100svh;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 6rem var(--pad-x) 5rem; overflow: hidden;
  background:
    radial-gradient(120% 90% at 50% 0%, #25200f 0%, var(--noir) 55%),
    var(--noir);
}
.hero__rays {
  position: absolute; top: 50%; left: 50%; width: 175vmax; height: 175vmax;
  transform: translate(-50%, -50%);
  background: repeating-conic-gradient(from 0deg at 50% 50%,
    rgba(201, 162, 39, 0.10) 0deg 3deg, transparent 3deg 11deg);
  -webkit-mask: radial-gradient(closest-side, #000 0%, #000 30%, transparent 72%);
          mask: radial-gradient(closest-side, #000 0%, #000 30%, transparent 72%);
  opacity: 0.85;
}
.hero__ring {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: min(74vmin, 640px); aspect-ratio: 1; border-radius: 50%;
  border: 1px solid var(--hair);
  box-shadow: inset 0 0 0 9px rgba(22, 19, 14, 0), inset 0 0 0 10px var(--hair),
              0 0 80px rgba(201, 162, 39, 0.07);
}
.hero__ring::after {
  content: ""; position: absolute; inset: 26px; border-radius: 50%;
  border: 1px solid rgba(201, 162, 39, 0.14);
}
.hero__inner { position: relative; z-index: 5; }
.hero__kicker {
  font-family: var(--deco); font-size: 0.82rem; letter-spacing: 0.52em;
  text-transform: uppercase; color: var(--gold); margin-bottom: 1.7rem; text-indent: 0.52em;
}
.hero__title {
  font-family: var(--display); font-weight: 800; line-height: 0.92;
  font-size: clamp(4.2rem, 17vw, 15rem); letter-spacing: -0.02em;
  color: var(--cream); max-width: 16ch;
}
.hero__title .line { display: block; overflow: hidden; }
.hero__title .line > span { display: inline-block; }
/* gradient must sit on the inline-block span itself (clip won't fill an inline-block child of a block) */
.hero__title .line--accent > span {
  background: var(--gold-grad);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.hero__title em { font-style: italic; font-weight: 500; }
.hero__subtitle {
  font-family: var(--serif); font-style: italic; font-size: clamp(1.1rem, 2.4vw, 1.7rem);
  color: var(--text-dark-strong); margin-top: 1.6rem; max-width: 30ch; margin-inline: auto;
  line-height: 1.4;
}
.hero__meta {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: 0.9rem; margin-top: 2.4rem;
  font-family: var(--deco); font-size: 0.8rem; letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--text-dark);
}
.hero__meta .amp { color: var(--gold); font-style: normal; }
.hero__dot { width: 4px; height: 4px; background: var(--gold); transform: rotate(45deg); }
.hero__scroll {
  position: absolute; bottom: 2.2rem; left: 50%; transform: translateX(-50%); z-index: 5;
  display: flex; flex-direction: column; align-items: center; gap: 0.7rem; text-decoration: none;
  font-family: var(--deco); font-size: 0.68rem; letter-spacing: 0.4em; text-transform: uppercase;
  color: var(--gold);
}
.hero__scroll-line { width: 1px; height: 56px; background: linear-gradient(var(--gold), transparent); position: relative; overflow: hidden; }
.hero__scroll-line::after {
  content: ""; position: absolute; top: -40%; left: 0; width: 1px; height: 40%;
  background: var(--gold-2); animation: scrollcue 2.1s var(--ease) infinite;
}
@keyframes scrollcue { 0% { top: -45%; } 60%,100% { top: 110%; } }

/* =================================================================
   CHAPTER scaffolding
   ================================================================= */
.chapter {
  position: relative; padding: var(--section-y) var(--pad-x);
  max-width: var(--maxw); margin-inline: auto;
}
.chapter--paper {
  background: var(--cream);
  color: var(--text-cream);
  max-width: none; margin-inline: 0;
  padding-inline: max(var(--pad-x), calc((100vw - var(--maxw)) / 2 + var(--pad-x)));
}
[data-theme="paper"] strong { color: var(--ink); }

.chapter__head { display: flex; align-items: baseline; gap: 1.4rem; margin-bottom: 3rem; }
.numeral {
  font-family: var(--display); font-weight: 800; font-style: italic;
  font-size: clamp(2.6rem, 6vw, 4.6rem); line-height: 0.8;
  color: transparent; background: var(--gold-grad); -webkit-background-clip: text; background-clip: text;
  flex-shrink: 0;
}
.numeral--center { display: block; text-align: center; margin-inline: auto; }
.kicker {
  font-family: var(--deco); font-size: clamp(0.82rem, 1.5vw, 1.05rem); letter-spacing: 0.34em;
  text-transform: uppercase; color: var(--gold); padding-bottom: 0.3rem;
  border-bottom: 1px solid var(--hair); flex: 1; text-indent: 0.34em;
}
[data-theme="paper"] .kicker { color: var(--gold-deep); border-color: var(--hair-cream); }
.kicker--center { text-align: center; border: none; margin-top: 0.8rem; }

/* ---------- prose ---------- */
.prose { max-width: var(--prose); }
.prose--wide { max-width: 68ch; }
.prose > * + * { margin-top: 1.4rem; }
.prose h2 {
  font-family: var(--display); font-weight: 700; font-size: clamp(1.8rem, 4.4vw, 3.3rem);
  line-height: 1.08; letter-spacing: -0.015em; color: var(--cream); margin-bottom: 1.8rem;
  max-width: 20ch;
}
[data-theme="paper"] .prose h2 { color: var(--ink); }
.lede { font-size: clamp(1.25rem, 2.4vw, 1.7rem); line-height: 1.5; color: var(--text-dark-strong); }
[data-theme="paper"] .lede { color: var(--ink); }

/* scrub word reveal — opacity based so it works on noir AND cream */
.js [data-scrub] .word { opacity: 0.2; transition: opacity 0.12s linear; will-change: opacity; }
[data-scrub] strong, [data-scrub] em { color: inherit; }

/* ---------- pull quote ---------- */
.pullquote { text-align: center; margin: clamp(4rem, 9vh, 8rem) auto; max-width: 24ch; position: relative; }
.pullquote blockquote {
  font-family: var(--display); font-style: italic; font-weight: 500;
  font-size: clamp(2.4rem, 7vw, 5.2rem); line-height: 1.04; letter-spacing: -0.01em;
  color: transparent; background: var(--gold-grad); -webkit-background-clip: text; background-clip: text;
}
.pullquote figcaption {
  font-family: var(--deco); font-size: 0.82rem; letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--text-dark); margin-top: 1.6rem;
}
.pullquote::before, .pullquote::after {
  content: ""; display: block; width: 56px; height: 1px; background: var(--hair); margin: 1.6rem auto;
}

/* ---------- caption note ---------- */
.caption-note {
  max-width: 46ch; margin: 3rem auto 0; text-align: center; font-style: italic;
  color: var(--text-dark); font-size: 1.02rem;
}
[data-theme="paper"] .caption-note { color: var(--text-cream); }

/* =================================================================
   STAT GRID / BAND
   ================================================================= */
.stat-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px;
  margin: clamp(3rem, 7vh, 6rem) 0;
  background: var(--hair); border: 1px solid var(--hair);
}
.stat {
  background: var(--noir); padding: clamp(1.8rem, 3.5vw, 3rem) clamp(1.4rem, 2.5vw, 2.4rem);
  display: flex; flex-direction: column; gap: 0.7rem;
}
.stat__label { font-family: var(--deco); font-size: 0.74rem; letter-spacing: 0.28em; text-transform: uppercase; color: var(--gold); }
.stat__num {
  font-family: var(--display); font-weight: 800; font-size: clamp(2.4rem, 5.5vw, 4rem);
  line-height: 1; color: var(--cream); font-variant-numeric: tabular-nums;
}
.stat__num--down { color: transparent; background: linear-gradient(135deg,#caa45a,#7c6320); -webkit-background-clip: text; background-clip: text; }
.stat__foot { font-size: 0.95rem; color: var(--text-dark); font-style: italic; }
@media (max-width: 760px) { .stat-grid { grid-template-columns: 1fr; } }

.stat-band {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: clamp(1.4rem, 4vw, 3.5rem); margin: clamp(3rem, 7vh, 6rem) 0; text-align: center;
}
.stat-band__num {
  font-family: var(--display); font-weight: 800; font-size: clamp(2.8rem, 8vw, 5.6rem); line-height: 1;
  color: var(--ink); font-variant-numeric: tabular-nums; display: block;
}
.stat-band__to .stat-band__num { color: transparent; background: linear-gradient(135deg,#a9851f,#6e571a); -webkit-background-clip: text; background-clip: text; }
.stat-band__yr { font-family: var(--deco); font-size: 0.8rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold-deep); }
.stat-band__arrow { font-family: var(--display); font-size: clamp(2rem,5vw,3.5rem); color: var(--gold-deep); }
.stat-band__note { width: 100%; font-style: italic; color: var(--text-cream); margin-top: 0.5rem; }

/* =================================================================
   SPECIMENS — typographic ad "plates"
   ================================================================= */
.specimens {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.2rem, 2.5vw, 2.2rem);
  margin-top: 2.4rem;
}
.specimens--utility { margin-top: 3rem; }
@media (max-width: 900px) { .specimens { grid-template-columns: 1fr; max-width: 30rem; margin-inline: auto; } }

.specimen {
  position: relative; display: flex; flex-direction: column;
  transition: transform 0.6s var(--ease);
}
.specimen__plate {
  position: relative; flex: 1; padding: clamp(1.7rem, 2.6vw, 2.4rem) clamp(1.4rem, 2.2vw, 2rem) clamp(1.9rem,2.6vw,2.4rem);
  background: linear-gradient(160deg, var(--noir-3), var(--noir-2));
  border: 1px solid var(--hair);
  display: flex; flex-direction: column; gap: 1rem; overflow: hidden;
  transition: border-color 0.6s var(--ease), box-shadow 0.6s var(--ease), transform 0.6s var(--ease);
}
.specimen__plate::before {
  content: ""; position: absolute; inset: 7px; border: 1px solid rgba(201,162,39,0.12); pointer-events: none;
}
/* corner ticks */
.specimen__plate::after {
  content: ""; position: absolute; top: 7px; left: 7px; width: 14px; height: 14px;
  border-top: 1px solid var(--gold); border-left: 1px solid var(--gold); opacity: 0.55;
}
.specimen--ink .specimen__plate { background: linear-gradient(160deg, #fbf4e3, #f0e3c6); border-color: var(--hair-cream); }
.specimen--ink .specimen__plate::before { border-color: rgba(24,20,13,0.12); }
.specimen--ink .specimen__plate::after { border-color: var(--gold-deep); }

.specimen__brand {
  font-family: var(--deco); font-size: 0.78rem; letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--gold); position: relative; z-index: 2;
}
.specimen--ink .specimen__brand { color: var(--gold-deep); }
.specimen__head {
  font-family: var(--display); font-weight: 600; font-size: clamp(1.3rem, 2.2vw, 1.7rem);
  line-height: 1.16; color: var(--cream); position: relative; z-index: 2;
}
.specimen--ink .specimen__head { color: var(--ink); }
.specimen__head em { font-style: italic; font-weight: 500; }
.specimen__rule { display: block; height: 1px; background: var(--hair); position: relative; margin: 0.2rem 0; }
.specimen__rule::after { content: ""; position: absolute; left: 0; top: -3px; width: 7px; height: 7px; background: var(--gold); transform: rotate(45deg); }
.specimen--ink .specimen__rule { background: var(--hair-cream); }
.specimen--ink .specimen__rule::after { background: var(--gold-deep); }
.specimen__tag { font-size: 0.98rem; line-height: 1.5; color: var(--text-dark); position: relative; z-index: 2; }
.specimen--ink .specimen__tag { color: var(--text-cream); }
.specimen__meta {
  display: flex; justify-content: space-between; gap: 1rem; margin-top: -1px;
  padding: 0.7rem 0.9rem; border: 1px solid var(--hair); border-top: none;
  font-family: var(--deco); font-size: 0.66rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--text-dark);
}
.specimen--ink .specimen__meta { border-color: var(--hair-cream); color: var(--gold-deep); }

/* hover physics */
.specimen:hover { transform: translateY(-6px); }
.specimen:hover .specimen__plate {
  border-color: var(--gold);
  box-shadow: 0 22px 50px -24px rgba(0,0,0,0.7), 0 0 0 1px rgba(201,162,39,0.25);
}

/* =================================================================
   THE TURN — pinned palette flip
   ================================================================= */
.turn { position: relative; height: 300vh; }
.turn__pin {
  position: sticky; top: 0; height: 100svh; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
.turn__layer { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }
.turn__layer--paper { background: var(--cream); }
.turn__layer--noir {
  background: radial-gradient(120% 100% at 50% 50%, #221c10, var(--noir));
  clip-path: inset(0 0 100% 0);
}
.turn__word {
  font-family: var(--display); font-weight: 900; font-style: italic;
  font-size: clamp(4rem, 22vw, 20rem); line-height: 1; letter-spacing: -0.02em;
  color: rgba(24,20,13,0.10);
}
.turn__word--gold { color: transparent; background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; opacity: 0.18; }
.turn__center {
  position: relative; z-index: 5; text-align: center; padding: 0 var(--pad-x); max-width: 60ch;
}
.turn__lead {
  font-family: var(--display); font-weight: 700; font-size: clamp(1.8rem, 5vw, 3.6rem);
  line-height: 1.08; color: var(--cream); margin-bottom: 2.6rem; letter-spacing: -0.01em;
}
.turn__ratio {
  display: flex; flex-direction: column; align-items: center; gap: 0.2rem; line-height: 1;
}
.turn__ratio > span[data-count-from] {
  font-family: var(--display); font-weight: 800; color: var(--cream);
}
.turn__ratio > span[data-count-from]:first-child { font-size: clamp(2.2rem,5vw,3.4rem); }
.turn__ratio-vs { font-family: var(--deco); font-size: 0.8rem; letter-spacing: 0.3em; text-transform: uppercase; color: var(--gold); margin: 0.5rem 0; }
.turn__ratio-big { font-size: clamp(5rem, 16vw, 12rem) !important; color: transparent !important; background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; }
.turn__ratio-x { font-family: var(--deco); font-size: 0.82rem; letter-spacing: 0.26em; text-transform: uppercase; color: var(--text-dark); }
.turn__src { font-style: italic; color: var(--text-dark); margin-top: 2.4rem; font-size: 1rem; }

/* =================================================================
   SPLIT — warning / promise
   ================================================================= */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; margin-top: clamp(3rem,7vh,6rem); background: var(--hair); border: 1px solid var(--hair); }
.split__half { padding: clamp(3rem,8vw,6rem) 2rem; display: flex; align-items: center; justify-content: center; text-align: center; position: relative; overflow: hidden; }
.split__half span { font-family: var(--display); font-style: italic; font-weight: 700; font-size: clamp(1.6rem, 3.5vw, 2.8rem); position: relative; z-index: 2; }
.split__half--fear { background: var(--noir-2); }
.split__half--fear span { color: #b9695a; }
.split__half--hope { background: var(--noir-3); }
.split__half--hope span { color: transparent; background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; }
@media (max-width: 600px){ .split { grid-template-columns: 1fr; } }

/* =================================================================
   THEMES (fear gallery)
   ================================================================= */
.chapter--gallery { max-width: 1340px; }
.theme { margin-top: clamp(3.5rem, 8vh, 6rem); }
.theme__title {
  font-family: var(--display); font-weight: 700; font-size: clamp(1.4rem, 3vw, 2.2rem);
  color: var(--cream); display: flex; align-items: baseline; gap: 1rem; margin-bottom: 0.4rem;
  letter-spacing: -0.01em;
}
.theme__no {
  font-family: var(--deco); font-size: 0.9rem; letter-spacing: 0.1em;
  color: var(--gold-2);
  border: 1px solid var(--hair); border-radius: 50%; width: 2.6rem; height: 2.6rem;
  display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.theme__no--lg { width: 3.4rem; height: 3.4rem; font-size: 1.1rem; }

/* =================================================================
   THE PROMISE — horizontal pinned scroll
   ================================================================= */
.promise { background: radial-gradient(130% 80% at 80% 0%, #221b0f, var(--noir)); padding: var(--section-y) 0; overflow: hidden; }
.promise__intro { max-width: var(--maxw); margin: 0 auto 3rem; padding: 0 var(--pad-x); }
.promise__intro h2 { font-family: var(--display); font-weight: 700; font-size: clamp(1.8rem, 4.4vw, 3.3rem); color: var(--cream); line-height: 1.08; max-width: 22ch; margin-bottom: 1.4rem; }
.promise__sub { max-width: 54ch; color: var(--text-dark); font-size: 1.15rem; }
.promise__hint { font-family: var(--deco); letter-spacing: 0.2em; text-transform: uppercase; font-size: 0.8rem; color: var(--gold); margin-left: 0.5rem; white-space: nowrap; }

.promise__track-wrap { width: 100%; }
.promise__track {
  display: flex; gap: clamp(1.2rem, 2.5vw, 2rem); padding: 1rem var(--pad-x); width: max-content; align-items: stretch;
}
/* fallback when JS/pin unavailable */
.no-pin .promise__track-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: thin; }

.promise__panel {
  flex: 0 0 auto; width: clamp(15rem, 26vw, 20rem); display: flex; flex-direction: column; justify-content: center;
  padding: 2rem; border-left: 1px solid var(--hair);
}
.promise__panel--head h3 { font-family: var(--display); font-weight: 700; font-size: clamp(2rem, 4vw, 3rem); color: var(--cream); line-height: 1; margin: 1rem 0; }
.promise__panel--head h3 em { color: transparent; background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; font-style: italic; }
.promise__panel--head p { color: var(--text-dark); font-style: italic; }
.promise__panel--end { align-items: flex-start; }
.promise__end-k { font-family: var(--deco); letter-spacing: 0.3em; text-transform: uppercase; color: var(--gold); font-size: 0.8rem; margin-bottom: 1rem; }
.promise__end-q { font-family: var(--display); font-weight: 700; font-size: clamp(1.6rem, 3vw, 2.4rem); line-height: 1.12; color: var(--cream); }
.promise__end-q em { color: transparent; background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; font-style: italic; }

.specimen--wide { flex: 0 0 auto; width: clamp(17rem, 30vw, 23rem); }

/* =================================================================
   PROOF
   ================================================================= */
.proof-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.2rem,2.5vw,2rem); margin-top: clamp(2.5rem,5vh,4rem); }
.proof {
  text-align: center; padding: clamp(2.4rem,4vw,3.6rem) 1.6rem; border: 1px solid var(--hair);
  background: linear-gradient(180deg, rgba(201,162,39,0.04), transparent);
  display: flex; flex-direction: column; align-items: center; gap: 1.2rem;
}
.proof__brand { font-family: var(--deco); letter-spacing: 0.26em; text-transform: uppercase; color: var(--gold); font-size: 0.86rem; }
.proof__big {
  font-family: var(--display); font-weight: 800; font-size: clamp(4rem, 10vw, 7rem); line-height: 0.9;
  color: transparent; -webkit-text-fill-color: transparent;
  background: var(--gold-grad); -webkit-background-clip: text; background-clip: text;
  font-variant-numeric: tabular-nums; display: inline-block;
}
.proof__x { font-size: 0.45em; margin-left: 0.05em; }
.proof__plus { font-size: 0.55em; }
.proof__cap { font-size: 1rem; line-height: 1.55; color: var(--text-dark); max-width: 32ch; }
@media (max-width: 820px){ .proof-grid { grid-template-columns: 1fr; max-width: 26rem; margin-inline: auto; } }

/* =================================================================
   MARQUEE
   ================================================================= */
.marquee { overflow: hidden; border-block: 1px solid var(--hair); padding: 1.6rem 0; margin: clamp(3rem,8vh,7rem) 0; -webkit-mask: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee__track { display: flex; align-items: center; gap: 2.4rem; width: max-content; will-change: transform; }
.marquee__track span { font-family: var(--display); font-style: italic; font-weight: 500; font-size: clamp(1.6rem, 4vw, 2.8rem); color: rgba(244,234,211,0.42); white-space: nowrap; }
.marquee__dot { color: var(--gold) !important; font-style: normal !important; }

/* =================================================================
   ETHOS
   ================================================================= */
.ethos-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.2rem,2.5vw,2rem); margin-top: clamp(2.5rem,5vh,4rem); }
.ethos { padding: clamp(2rem,3vw,2.8rem); border: 1px solid var(--hair); display: flex; flex-direction: column; gap: 1.3rem; position: relative; background: linear-gradient(160deg, var(--noir-2), var(--noir)); }
.ethos__tag { font-family: var(--deco); letter-spacing: 0.26em; text-transform: uppercase; font-size: 0.74rem; color: var(--gold); }
.ethos blockquote { font-family: var(--display); font-style: italic; font-weight: 500; font-size: clamp(1.4rem, 2.4vw, 1.9rem); line-height: 1.22; color: var(--cream); }
.ethos figcaption { font-size: 0.98rem; line-height: 1.55; color: var(--text-dark); margin-top: auto; }
@media (max-width: 820px){ .ethos-grid { grid-template-columns: 1fr; } }

/* =================================================================
   BARS (ledger data viz)
   ================================================================= */
.bars { display: flex; flex-direction: column; gap: clamp(1.8rem,3.5vh,3rem); margin-top: clamp(2.5rem,5vh,4rem); }
.bar { display: flex; flex-direction: column; gap: 0.8rem; }
.bar__row { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; }
.bar__name { font-family: var(--display); font-weight: 600; font-size: clamp(1.3rem,2.6vw,2rem); color: var(--cream); }
.bar__delta { font-family: var(--display); font-weight: 800; font-size: clamp(1.6rem,3.5vw,2.6rem); color: transparent; background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; font-variant-numeric: tabular-nums; }
.bar__track { height: 14px; background: rgba(244,234,211,0.06); border: 1px solid var(--hair); position: relative; overflow: hidden; }
.bar__fill { position: absolute; inset: 0 100% 0 0; background: var(--gold-grad); box-shadow: 0 0 24px rgba(201,162,39,0.4); }
.bar__fill::after { content: ""; position: absolute; right: 0; top: -3px; bottom: -3px; width: 2px; background: var(--gold-2); }
.bar__foot { font-family: var(--deco); font-size: 0.74rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-dark); }

/* =================================================================
   LEGACY
   ================================================================= */
.legacy { position: relative; padding: clamp(7rem,16vh,14rem) var(--pad-x); text-align: center; overflow: hidden; background: radial-gradient(120% 90% at 50% 100%, #241d10, var(--noir) 60%); }
.legacy__rays {
  position: absolute; bottom: -50vmax; left: 50%; transform: translateX(-50%); width: 150vmax; height: 150vmax;
  background: repeating-conic-gradient(from 0deg at 50% 50%, rgba(201,162,39,0.07) 0deg 2deg, transparent 2deg 9deg);
  -webkit-mask: radial-gradient(closest-side, #000, transparent 70%); mask: radial-gradient(closest-side, #000, transparent 70%);
}
.legacy__inner { position: relative; z-index: 3; max-width: 60ch; margin-inline: auto; }
.legacy__big { font-family: var(--display); font-weight: 600; font-size: clamp(1.7rem, 4.2vw, 3rem); line-height: 1.22; color: var(--cream); margin: 2.6rem auto; letter-spacing: -0.01em; }
/* solid gold (not gradient-clip): scrub wraps words in child spans, which would break clip */
.legacy__big em { font-style: italic; color: var(--gold-2); }
.legacy__small { font-size: clamp(1.05rem,2vw,1.25rem); color: var(--text-dark); max-width: 48ch; margin-inline: auto; line-height: 1.6; }
.legacy__sign { color: var(--gold); letter-spacing: 0.3em; margin-top: 3rem; font-size: 1.2rem; }

/* =================================================================
   FOOTER + REFERENCES
   ================================================================= */
.footer { background: #100d09; border-top: 1px solid var(--hair); padding: clamp(3.5rem,7vh,6rem) var(--pad-x) 3rem; }
.footer__top { display: flex; flex-wrap: wrap; gap: 2rem; align-items: flex-start; justify-content: space-between; max-width: var(--maxw); margin: 0 auto 3rem; }
.footer__mark { font-family: var(--deco); letter-spacing: 0.4em; font-size: 1.3rem; color: var(--cream); text-indent: 0.4em; }
.footer__by { font-family: var(--display); font-style: italic; font-size: 1.15rem; color: var(--gold-2); margin-top: 0.7rem; }
.footer__meta { font-family: var(--deco); font-size: 0.74rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--text-dark); margin-top: 0.9rem; }
.footer__totop { font-family: var(--deco); letter-spacing: 0.2em; text-transform: uppercase; font-size: 0.74rem; color: var(--gold); text-decoration: none; border: 1px solid var(--hair); padding: 0.7rem 1.2rem; transition: all 0.4s var(--ease); white-space: nowrap; }
.footer__totop:hover { background: var(--gold); color: var(--noir); border-color: var(--gold); }

.refs { max-width: var(--maxw); margin: 0 auto; border-top: 1px solid var(--hair); }
.refs__summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; padding: 1.6rem 0; font-family: var(--deco); letter-spacing: 0.26em; text-transform: uppercase; font-size: 0.9rem; color: var(--gold); }
.refs__summary::-webkit-details-marker { display: none; }
.refs__chev { font-family: var(--display); font-size: 1.6rem; transition: transform 0.4s var(--ease); color: var(--gold); }
.refs[open] .refs__chev { transform: rotate(45deg); }
.refs__list { columns: 2; column-gap: 3rem; padding: 0 0 2rem 1.2rem; }
.refs__list li { break-inside: avoid; margin-bottom: 1rem; font-size: 0.92rem; line-height: 1.5; color: var(--text-dark); padding-left: 0.4rem; }
.refs__list li::marker { color: var(--gold-deep); }
@media (max-width: 720px){ .refs__list { columns: 1; } }
.footer__fine { max-width: var(--maxw); margin: 2.5rem auto 0; font-style: italic; font-size: 0.92rem; color: rgba(244,234,211,0.45); border-top: 1px solid var(--hair); padding-top: 1.6rem; }

/* =================================================================
   REVEAL (JS-driven). Hidden only when JS active.
   ================================================================= */
.js .reveal { opacity: 0; transform: translateY(34px); }
.js .hero__title .line > span,
.js .hero__kicker,
.js .hero__subtitle,
.js .hero__meta,
.js .hero__scroll { opacity: 0; }

/* =================================================================
   REDUCED MOTION
   ================================================================= */
@media (prefers-reduced-motion: reduce) {
  .js .reveal, .js .hero__title .line > span, .js .hero__kicker, .js .hero__subtitle,
  .js .hero__meta, .js .hero__scroll { opacity: 1 !important; transform: none !important; }
  .js [data-scrub] .word { opacity: 1 !important; }
  .hero__rays, .legacy__rays { animation: none !important; }
  .hero__scroll-line::after { animation: none; }
  .marquee__track { animation: none !important; }
  .turn { height: auto !important; }
  .turn__pin { position: relative; height: auto; padding: var(--section-y) 0; }
  .turn__layer--noir { clip-path: none; position: relative; }
  .turn__layer--paper { display: none; }
}
