/* ==========================================================================
   The Whole of Us — campaign template
   Bone paper · blue-black ink · one gilt accent · a red/indigo stitched thread
   ========================================================================== */

:root {
  --bone: #efe7d8;
  --bone-2: #e7dcc8;
  --bone-3: #dccfb6;
  --ink: #14171c;
  --ink-2: #1c2027;
  --ink-soft: #4a4c4f;
  --gilt: #b08a3e;
  --gilt-hi: #d8b66e;
  --madder: #8e3a2f;
  --indigo: #2f4461;
  --rule: rgba(20, 23, 28, .14);
  --rule-light: rgba(239, 231, 216, .18);

  --serif: "Cormorant Garamond", "Cormorant", Garamond, "Times New Roman", serif;
  --sans: "Inter Tight", "Helvetica Neue", Arial, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, Menlo, monospace;

  --step--2: clamp(.66rem, .64rem + .1vw, .72rem);
  --step--1: clamp(.83rem, .80rem + .18vw, .94rem);
  --step-0: clamp(1rem, .95rem + .27vw, 1.19rem);
  --step-1: clamp(1.25rem, 1.16rem + .45vw, 1.56rem);
  --step-2: clamp(1.56rem, 1.41rem + .74vw, 2.07rem);
  --step-3: clamp(1.95rem, 1.71rem + 1.19vw, 2.76rem);
  --step-4: clamp(2.6rem, 2.1rem + 2.4vw, 4.4rem);
  --step-5: clamp(3.2rem, 2rem + 6vw, 8.5rem);
  --step-display: clamp(4.2rem, 1rem + 13.5vw, 15.5rem);

  --gutter: clamp(1rem, .5rem + 3vw, 3.5rem);
  --section: clamp(6rem, 14vh, 12rem);
  --ease: cubic-bezier(.16, 1, .3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

body {
  margin: 0;
  background: var(--ink);
  color: var(--ink);
  font-family: var(--sans);
  font-size: var(--step-0);
  font-weight: 300;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
em { font-style: italic; }
figure { margin: 0; }
button, input { font: inherit; color: inherit; }
::selection { background: var(--gilt); color: var(--bone); }

.mono {
  font-family: var(--mono);
  font-size: var(--step--2);
  letter-spacing: .18em;
  text-transform: uppercase;
  font-weight: 400;
}
.display {
  font-family: var(--serif);
  font-weight: 300;
  font-size: var(--step-5);
  line-height: .92;
  letter-spacing: -.025em;
  margin: 0;
}
.display em, .hero__title em, .premise__text em, .table__big em { color: var(--gilt); font-weight: 300; }

/* ---------- paper ---------- */
.paper {
  position: relative;
  background:
    radial-gradient(120% 80% at 10% 0%, rgba(255, 252, 244, .55), transparent 60%),
    radial-gradient(90% 70% at 100% 100%, rgba(176, 138, 62, .08), transparent 60%),
    var(--bone);
  color: var(--ink);
}
.paper--deep { background-color: var(--bone); }

/* ---------- labels / plates / thread ---------- */
.label {
  display: flex; align-items: center; gap: 1.1em;
  color: var(--ink-soft);
}
.label span { color: var(--gilt); }
.label::after { content: ""; flex: 0 0 clamp(3rem, 8vw, 7rem); height: 1px; background: currentColor; opacity: .35; }
.label--light { color: rgba(239, 231, 216, .72); }
.label--light span { color: var(--gilt-hi); }

.plate { color: var(--ink-soft); margin: 0; display: flex; flex-wrap: wrap; gap: .3em 1em; align-items: baseline; }
.plate span { white-space: nowrap; }
.plate span { color: var(--gilt); }
.plate--light { color: rgba(239, 231, 216, .7); }
.plate--light span { color: var(--gilt-hi); }

/* a red & indigo running stitch: two threads, one seam */
.thread {
  height: 6px; width: 100%;
  background:
    repeating-linear-gradient(90deg, var(--madder) 0 14px, transparent 14px 28px) 0 0 / 100% 2px no-repeat,
    repeating-linear-gradient(90deg, transparent 0 14px, var(--indigo) 14px 28px) 0 4px / 100% 2px no-repeat;
  opacity: .8;
}

/* ---------- grain ---------- */
.grain {
  position: fixed; inset: -50%; z-index: 90; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: .16;
  mix-blend-mode: overlay;
  animation: grain 1.2s steps(6) infinite;
}
@keyframes grain {
  0% { transform: translate(0, 0); } 20% { transform: translate(-3%, 2%); } 40% { transform: translate(2%, -4%); }
  60% { transform: translate(-4%, -1%); } 80% { transform: translate(3%, 3%); } 100% { transform: translate(0, 0); }
}

/* ---------- loader (only exists visually with JS) ---------- */
.loader { display: none; }
.js .loader {
  display: grid; place-items: center;
  position: fixed; inset: 0; z-index: 200;
  color: var(--bone);
  pointer-events: none;
  animation: loader-failsafe 0s 7s forwards; /* if scripts never arrive, never trap the page */
}
@keyframes loader-failsafe { to { visibility: hidden; } }
.loader__half { position: absolute; left: 0; right: 0; height: 50.5%; background: var(--ink); }
.loader__half--top { top: 0; }
.loader__half--bottom { bottom: 0; }
.loader__inner { position: relative; display: grid; justify-items: center; gap: 1.4rem; }
.loader__seal { width: clamp(7rem, 14vw, 10rem); height: clamp(7rem, 14vw, 10rem); color: var(--gilt-hi); }
.loader__year { font-family: var(--serif); font-size: var(--step-3); font-weight: 300; letter-spacing: .08em; overflow: hidden; line-height: 1; }
.loader__cap { color: rgba(239, 231, 216, .55); }

/* ---------- cursor ---------- */
.cursor { display: none; }
@media (pointer: fine) {
  .cursor { display: block; position: fixed; top: 0; left: 0; z-index: 150; pointer-events: none; }
  .cursor__dot { position: absolute; width: 6px; height: 6px; margin: -3px 0 0 -3px; border-radius: 50%; background: var(--gilt-hi); }
  .cursor__ring {
    position: absolute; width: 38px; height: 38px; margin: -19px 0 0 -19px; border-radius: 50%;
    border: 1px solid rgba(216, 182, 110, .55);
    display: grid; place-items: center;
    transition: width .45s var(--ease), height .45s var(--ease), margin .45s var(--ease), background-color .45s var(--ease), border-color .45s;
  }
  .cursor__label { opacity: 0; color: var(--ink); font-size: .58rem; transition: opacity .3s; }
  .cursor.is-view .cursor__ring { width: 92px; height: 92px; margin: -46px 0 0 -46px; background: var(--gilt-hi); border-color: transparent; }
  .cursor.is-view .cursor__label { opacity: 1; }
  .cursor.is-link .cursor__ring { width: 58px; height: 58px; margin: -29px 0 0 -29px; border-color: var(--gilt-hi); }
}

/* ---------- nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between; gap: 2rem;
  padding: 1.1rem var(--gutter);
  color: var(--bone);
  transition: color .5s var(--ease), background-color .5s var(--ease), transform .6s var(--ease);
}
.nav.is-paper { color: var(--ink); }
.nav.is-hidden { transform: translateY(-110%); }
.nav::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0;
  background: linear-gradient(to bottom, rgba(20, 23, 28, .55), transparent);
  transition: opacity .5s;
}
.nav.is-scrolled:not(.is-paper)::before { opacity: 1; }
.nav__mark { display: flex; align-items: center; gap: .7rem; }
.nav__seal { width: 2.4rem; height: 2.4rem; color: currentColor; }
.nav__name { font-family: var(--serif); font-size: 1.65rem; font-weight: 400; letter-spacing: .02em; line-height: 1; }
.nav__links { display: flex; gap: clamp(1.2rem, 2.6vw, 2.6rem); }
.nav__links a { position: relative; padding: .4em 0; opacity: .82; transition: opacity .3s; }
.nav__links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--gilt-hi); transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease); }
.nav__links a:hover { opacity: 1; }
.nav__links a:hover::after { transform: scaleX(1); transform-origin: left; }

/* ---------- buttons ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center;
  padding: 1em 1.9em; border-radius: 999px; cursor: pointer; overflow: hidden;
  border: 1px solid currentColor; background: transparent;
  font-family: var(--mono); font-size: var(--step--2); letter-spacing: .18em; text-transform: uppercase;
  isolation: isolate;
}
.btn span { position: relative; z-index: 1; transition: color .45s var(--ease); }
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: 0; border-radius: inherit;
  background: var(--gilt-hi); transform: translateY(101%); transition: transform .55s var(--ease);
}
.btn:hover::before, .btn:focus-visible::before { transform: translateY(0); }
.btn:hover span, .btn:focus-visible span { color: var(--ink); }
.btn--gilt { background: var(--gilt); border-color: var(--gilt); color: var(--ink); }
.btn--gilt::before { background: var(--bone); }
.btn--block { width: 100%; }
.btn b { font-weight: 400; color: var(--gilt-hi); transition: color .45s; }
.btn:hover b { color: var(--ink); }
:focus-visible { outline: 1px solid var(--gilt-hi); outline-offset: 4px; }

/* ==========================================================================
   HERO
   ========================================================================== */
.hero {
  position: relative; min-height: 100svh; height: 100vh;
  display: grid; grid-template-rows: auto 1fr auto;
  padding: 6.5rem var(--gutter) 2.4rem;
  overflow: hidden; color: var(--ink);
  background: #cdbf9f;
}
.hero__art { position: absolute; inset: 0; z-index: 0; }
.hero__art img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 62%; transform-origin: 50% 70%; }
.hero__veil {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(to bottom, rgba(239, 231, 216, .28) 0%, rgba(239, 231, 216, 0) 38%),
    linear-gradient(to top, rgba(20, 23, 28, .92) 0%, rgba(20, 23, 28, .45) 22%, rgba(20, 23, 28, 0) 46%);
}
.hero > *:not(.hero__art):not(.hero__veil) { position: relative; z-index: 2; }
.hero__top { display: flex; align-items: center; gap: 1rem; color: rgba(20, 23, 28, .7); justify-content: center; }
.hero__dot { width: 4px; height: 4px; border-radius: 50%; background: var(--gilt); }
.hero__title {
  align-self: start;
  margin: clamp(1rem, 4vh, 3rem) 0 0;
  font-family: var(--serif); font-weight: 300;
  font-size: var(--step-display); line-height: .84; letter-spacing: -.045em;
  text-align: center; color: var(--ink);
}
.hero__title .line { display: block; }
.hero__title .line--indent { padding-left: .9em; }
.hero__title em { font-style: italic; color: var(--ink); position: relative; }
.hero__title em::after {
  content: ""; position: absolute; left: .04em; right: .18em; bottom: .06em; height: .035em;
  background: var(--gilt); transform-origin: left;
}
.hero__foot {
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: end; gap: 2rem;
  color: var(--bone);
}
.hero__lede { margin: 0; font-family: var(--serif); font-size: var(--step-2); font-weight: 300; line-height: 1.15; }
.hero__lede em { color: var(--gilt-hi); }
.hero__foot .plate { color: rgba(239, 231, 216, .66); justify-self: center; }
.hero__foot .plate span { color: var(--gilt-hi); }
.hero__scroll { justify-self: end; display: flex; align-items: center; gap: 1rem; }
.hero__scroll-line { width: 1px; height: 3.2rem; background: linear-gradient(var(--gilt-hi), transparent); transform-origin: top; animation: drip 2.4s var(--ease) infinite; }
@keyframes drip { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* ==========================================================================
   01 PREMISE
   ========================================================================== */
.premise {
  padding: var(--section) var(--gutter);
  display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 1.5rem; row-gap: 3.5rem;
}
.premise .label { grid-column: 1 / -1; }
.premise__text {
  grid-column: 1 / span 11; margin: 0;
  font-family: var(--serif); font-weight: 300; font-size: var(--step-4); line-height: 1.08; letter-spacing: -.015em;
  text-wrap: pretty;
}
.premise__aside { grid-column: 7 / span 5; display: grid; gap: 1.6rem; color: var(--ink-soft); }
.premise__aside p { margin: 0; max-width: 46ch; }
.sig { font-family: var(--serif); font-style: italic; font-size: var(--step-3); color: var(--ink); line-height: 1; }

/* ==========================================================================
   02 JOURNEY — the signature pinned sequence
   ========================================================================== */
.journey { position: relative; background: var(--ink); color: var(--bone); }
.journey__stage { position: relative; height: 100svh; overflow: hidden; }
.journey__frames { position: absolute; inset: 0; }
.journey__frame { position: absolute; inset: 0; }
.journey__frame img { width: 100%; height: 100%; object-fit: cover; }
.journey__veil {
  position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(to right, rgba(20, 23, 28, .78) 0%, rgba(20, 23, 28, .35) 38%, rgba(20, 23, 28, 0) 62%),
    linear-gradient(to top, rgba(20, 23, 28, .85) 0%, rgba(20, 23, 28, 0) 34%),
    linear-gradient(to bottom, rgba(20, 23, 28, .55) 0%, rgba(20, 23, 28, 0) 20%);
}
.journey__head {
  position: absolute; top: 6.2rem; left: var(--gutter); right: var(--gutter);
  display: flex; justify-content: space-between; align-items: center;
}
.journey__lon { font-size: var(--step--1); color: var(--gilt-hi); font-variant-numeric: tabular-nums; }
.journey__chapters { list-style: none; margin: 0; padding: 0; }
.chapter {
  position: absolute; left: var(--gutter); bottom: clamp(8rem, 20vh, 12rem);
  width: min(40rem, calc(100% - 2 * var(--gutter)));
}
.journey__chapters .chapter + .chapter { visibility: hidden; }
.js .journey__chapters .chapter + .chapter { visibility: visible; }
.chapter__num { display: block; font-family: var(--serif); font-style: italic; font-size: var(--step-2); color: var(--gilt-hi); margin-bottom: .4rem; }
.chapter__title { margin: 0; font-family: var(--serif); font-weight: 300; font-size: var(--step-5); line-height: .9; letter-spacing: -.03em; }
.chapter__line { margin: 1.3rem 0 1rem; font-family: var(--serif); font-size: var(--step-2); font-weight: 300; line-height: 1.18; max-width: 26ch; color: rgba(239, 231, 216, .9); }
.chapter__coord { margin: 0; color: rgba(239, 231, 216, .55); }
.journey__rail { position: absolute; left: var(--gutter); right: var(--gutter); bottom: 2.4rem; }
.journey__track { height: 1px; background: var(--rule-light); position: relative; }
.journey__fill { position: absolute; inset: 0; background: var(--gilt-hi); transform: scaleX(.02); transform-origin: left; }
.journey__stops { display: flex; justify-content: space-between; margin-top: .9rem; color: rgba(239, 231, 216, .5); }
.journey__stops span { transition: color .4s; position: relative; }
.journey__stops span::before { content: ""; position: absolute; top: calc(-.9rem - 3px); left: 0; width: 7px; height: 7px; border-radius: 50%; background: var(--ink); border: 1px solid rgba(239, 231, 216, .5); transition: background-color .4s, border-color .4s; }
.journey__stops span:last-child::before { left: auto; right: 0; }
.journey__stops span.is-on { color: var(--bone); }
.journey__stops span.is-on::before { background: var(--gilt-hi); border-color: var(--gilt-hi); }

/* no-JS: frames simply stack as a gallery */
html:not(.js) .journey__stage { height: auto; }
html:not(.js) .journey__frames, html:not(.js) .journey__frame { position: relative; }
html:not(.js) .journey__veil, html:not(.js) .journey__rail { display: none; }
html:not(.js) .chapter { position: relative; left: auto; bottom: auto; padding: 3rem var(--gutter); visibility: visible !important; }

/* ==========================================================================
   03 TABLE
   ========================================================================== */
.table { padding: var(--section) var(--gutter); display: grid; gap: 3rem; }
.table__title { font-size: var(--step-display); line-height: .84; letter-spacing: -.045em; margin-top: 1rem; position: relative; z-index: 2; }
.table__title em { display: inline-block; padding-left: .5em; }
.table__art { margin-top: calc(var(--step-display) * -.42); position: relative; }
.table__clip { overflow: hidden; aspect-ratio: 16 / 8.2; clip-path: inset(0 0 0 0); }
.table__clip img { width: 100%; height: 118%; object-fit: cover; }
.table__art .plate { margin-top: 1rem; justify-content: flex-end; }
.table__cols { display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(2rem, 6vw, 7rem); margin-top: 2rem; }
.table__big { margin: 0; font-family: var(--serif); font-size: var(--step-3); line-height: 1.12; font-weight: 300; }
.table__notes { display: grid; gap: 0; align-content: start; }
.stat { display: grid; grid-template-columns: 7.5rem 1fr; align-items: baseline; gap: 1rem; padding: 1.1rem 0; border-top: 1px solid var(--rule); }
.stat:last-child { border-bottom: 1px solid var(--rule); }
.stat__n { font-family: var(--serif); font-size: var(--step-3); line-height: 1; font-variant-numeric: lining-nums; }
.stat__l { color: var(--ink-soft); }

/* ==========================================================================
   04 WORK
   ========================================================================== */
.work { padding: 0 var(--gutter) var(--section); overflow: hidden; border-top: 1px solid var(--rule); }
.work__engraving { margin: 0 calc(var(--gutter) * -1); position: relative; overflow: hidden; }
.work__engraving img { width: 100%; height: clamp(18rem, 52vw, 44rem); object-fit: cover; object-position: 50% 45%; mix-blend-mode: multiply; filter: contrast(1.04); }
.work__engraving::after { content: ""; position: absolute; inset: auto 0 0 0; height: 40%; background: linear-gradient(transparent, var(--bone)); }
.work__head { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem clamp(2rem, 6vw, 6rem); align-items: end; margin-top: -4rem; position: relative; }
.work__head .label { grid-column: 1 / -1; }
.work__intro { margin: 0; max-width: 40ch; color: var(--ink-soft); }
.pillars { list-style: none; margin: clamp(3rem, 8vh, 6rem) 0 0; padding: 0; counter-reset: p; }
.pillar {
  position: relative; display: grid; grid-template-columns: 5rem 1.1fr 1fr 3rem; gap: 1.5rem; align-items: baseline;
  padding: clamp(1.6rem, 3.4vw, 2.6rem) 0; border-top: 1px solid var(--rule); cursor: default; outline: none;
}
.pillar:last-child { border-bottom: 1px solid var(--rule); }
.pillar::before {
  content: ""; position: absolute; inset: 0 calc(var(--gutter) * -1); z-index: 0;
  background: var(--ink); transform: scaleY(0); transform-origin: bottom; transition: transform .7s var(--ease);
}
.pillar > * { position: relative; z-index: 1; transition: color .5s var(--ease), transform .7s var(--ease); }
.pillar__n { color: var(--gilt); }
.pillar__t { margin: 0; font-family: var(--serif); font-weight: 300; font-size: var(--step-4); line-height: .95; letter-spacing: -.02em; }
.pillar__d { margin: 0; color: var(--ink-soft); max-width: 42ch; }
.pillar__arrow { justify-self: end; font-family: var(--serif); font-size: var(--step-3); color: var(--gilt); }
.pillar:hover::before, .pillar:focus-visible::before { transform: scaleY(1); transform-origin: top; }
.pillar:hover > *, .pillar:focus-visible > * { color: var(--bone); }
.pillar:hover .pillar__n, .pillar:focus-visible .pillar__n, .pillar:hover .pillar__arrow, .pillar:focus-visible .pillar__arrow { color: var(--gilt-hi); }
.pillar:hover .pillar__t, .pillar:focus-visible .pillar__t { transform: translateX(1.2rem); font-style: italic; }
.pillar:hover .pillar__arrow, .pillar:focus-visible .pillar__arrow { transform: translateX(-.4rem) rotate(-45deg); }
.pillar:hover .pillar__d, .pillar:focus-visible .pillar__d { color: rgba(239, 231, 216, .8); }

/* ==========================================================================
   05 CANDIDATE
   ========================================================================== */
.candidate {
  position: relative; background: var(--ink); color: var(--bone);
  display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(2rem, 6vw, 7rem);
  padding: var(--section) var(--gutter); overflow: hidden;
}
.candidate::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(60% 60% at 85% 30%, rgba(176, 138, 62, .14), transparent 70%);
}
.candidate__text { position: relative; display: grid; align-content: start; gap: 2.2rem; }
.candidate__name { font-size: var(--step-display); line-height: .84; letter-spacing: -.045em; margin-top: 1rem; }
.candidate__name em { color: var(--gilt-hi); display: block; padding-left: 1em; }
.candidate__etym { color: rgba(239, 231, 216, .6); text-transform: none; letter-spacing: .06em; font-size: var(--step--1); margin: 0; }
.candidate__etym span { color: var(--gilt-hi); text-transform: uppercase; letter-spacing: .18em; margin-right: .6em; }
.candidate__bio { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; color: rgba(239, 231, 216, .78); }
.candidate__bio p { margin: 0; }
.candidate__bio em { color: var(--bone); }
.dropcap { float: left; font-family: var(--serif); font-size: 4.6em; line-height: .8; margin: .05em .06em 0 -.03em; color: var(--gilt-hi); font-weight: 300; }
.candidate__quote { margin: 0; padding-top: 2.2rem; border-top: 1px solid var(--rule-light); font-family: var(--serif); font-style: italic; font-weight: 300; font-size: var(--step-3); line-height: 1.12; max-width: 24ch; }
.candidate__art { position: relative; align-self: center; }
.candidate__clip { overflow: hidden; aspect-ratio: 2 / 3; border-radius: 999px 999px 0 0; }
.candidate__clip img { width: 100%; height: 116%; object-fit: cover; }
.candidate__art .plate { margin-top: 1rem; }

/* ==========================================================================
   06 UNUM
   ========================================================================== */
.unum { position: relative; min-height: 120vh; display: grid; place-items: center; overflow: hidden; color: var(--bone); background: #2a2420; }
.unum__art { position: absolute; inset: 0; }
.unum__art img { width: 100%; height: 100%; object-fit: cover; filter: brightness(.6) saturate(.92) contrast(1.05); }
.unum__veil { position: absolute; inset: 0; background: radial-gradient(58% 52% at 50% 50%, rgba(20, 23, 28, .88), rgba(20, 23, 28, .55) 55%, rgba(20, 23, 28, .12) 85%), linear-gradient(to bottom, var(--ink), transparent 18%, transparent 80%, var(--ink)); }
.unum__inner { position: relative; text-align: center; display: grid; justify-items: center; gap: 2rem; padding: var(--section) var(--gutter); }
.unum__title { font-size: var(--step-display); line-height: .86; letter-spacing: -.045em; text-shadow: 0 2px 40px rgba(20, 23, 28, .6); }
.unum__title em { color: var(--gilt-hi); }
.unum__copy { margin: 0; max-width: 30ch; text-shadow: 0 1px 2px rgba(20, 23, 28, .8), 0 0 24px rgba(20, 23, 28, .9); font-family: var(--serif); font-size: var(--step-3); line-height: 1.15; color: var(--bone); }
.marquee { position: absolute; left: 0; right: 0; bottom: 2.4rem; overflow: hidden; border-top: 1px solid var(--rule-light); border-bottom: 1px solid var(--rule-light); padding: 1rem 0; }
.marquee__track { display: flex; width: max-content; animation: marquee 140s linear infinite; }
.marquee__track span { font-family: var(--serif); font-style: italic; font-size: var(--step-2); white-space: nowrap; padding-right: .3em; color: rgba(239, 231, 216, .75); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ==========================================================================
   07 JOIN
   ========================================================================== */
.join { position: relative; min-height: 100svh; padding: var(--section) var(--gutter) 5rem; color: var(--bone); overflow: hidden; background: #1b2230; }
.join__art { position: absolute; inset: 0; }
.join__art img { width: 100%; height: 115%; object-fit: cover; }
.join__veil { position: absolute; inset: 0; background: linear-gradient(to right, rgba(20, 23, 28, .82), rgba(20, 23, 28, .32) 48%, rgba(20, 23, 28, .12)), linear-gradient(to bottom, var(--ink), transparent 22%), linear-gradient(to top, rgba(20, 23, 28, .7), transparent 30%); }
.join__grid { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(2rem, 6vw, 7rem); align-items: end; min-height: calc(100svh - var(--section) - 5rem); }
.join__intro { display: grid; gap: 2rem; }
.join__title { font-size: var(--step-5); }
.join__title em { color: var(--gilt-hi); }
.join__copy { margin: 0; max-width: 34ch; font-family: var(--serif); font-size: var(--step-2); line-height: 1.2; color: rgba(239, 231, 216, .86); }
.join__card {
  display: grid; gap: 2.4rem; padding: clamp(1.6rem, 3vw, 2.8rem);
  background: rgba(20, 23, 28, .55); border: 1px solid var(--rule-light);
  -webkit-backdrop-filter: blur(18px) saturate(1.1); backdrop-filter: blur(18px) saturate(1.1);
}
.signup { display: grid; grid-template-columns: 1fr 7rem; gap: 1.2rem 1rem; }
.signup__k { grid-column: 1 / -1; margin: 0; color: var(--gilt-hi); }
.field { display: grid; gap: .4rem; grid-column: 1 / -1; }
.field--zip { grid-column: 2; grid-row: 4; }
.field:nth-of-type(2) { grid-column: 1; }
.field span { color: rgba(239, 231, 216, .55); font-size: .62rem; }
.field input {
  background: transparent; border: 0; border-bottom: 1px solid rgba(239, 231, 216, .35); padding: .55rem 0 .6rem;
  font-family: var(--serif); font-size: var(--step-2); color: var(--bone); border-radius: 0; outline: none; min-width: 0;
  transition: border-color .3s;
}
.field input:focus { border-color: var(--gilt-hi); }
.signup .btn { grid-column: 1 / -1; margin-top: .6rem; }
.signup__done { grid-column: 1 / -1; margin: 0; font-family: var(--serif); font-style: italic; font-size: var(--step-1); color: var(--gilt-hi); }
.give { display: grid; gap: 1rem; padding-top: 2rem; border-top: 1px solid var(--rule-light); }
.give .signup__k { margin: 0; }
.give__amts { display: grid; grid-template-columns: repeat(4, 1fr); gap: .5rem; }
.amt {
  padding: .9rem 0; background: transparent; border: 1px solid var(--rule-light); cursor: pointer;
  font-family: var(--serif); font-size: var(--step-1); transition: border-color .3s, background-color .3s, color .3s;
}
.amt:hover { border-color: var(--gilt-hi); }
.amt.is-on { background: var(--bone); color: var(--ink); border-color: var(--bone); }
.join__plate { position: absolute; right: var(--gutter); bottom: 1.8rem; }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.foot { background: var(--ink); color: var(--bone); padding: 3rem var(--gutter) 2rem; overflow: hidden; }
.foot__word {
  font-family: var(--serif); font-weight: 300; font-size: clamp(5rem, 23vw, 25rem); line-height: .8; letter-spacing: -.05em;
  text-align: center; color: transparent; -webkit-text-stroke: 1px rgba(216, 182, 110, .45);
  margin: 0 0 3rem; user-select: none;
}
.foot__row { display: grid; grid-template-columns: auto 1fr 1fr 2fr; gap: clamp(1.5rem, 4vw, 4rem); align-items: start; padding: 3rem 0; border-top: 1px solid var(--rule-light); }
.foot__seal { width: 5.5rem; height: 5.5rem; color: var(--gilt-hi); }
.foot__col { display: grid; gap: .5rem; }
.foot__col a { opacity: .8; transition: opacity .3s, color .3s; }
.foot__col a:hover { opacity: 1; color: var(--gilt-hi); }
.foot__k { margin: 0 0 .5rem; color: rgba(239, 231, 216, .5); }
.foot__line { margin: 0; font-family: var(--serif); font-style: italic; font-size: var(--step-3); line-height: 1.1; justify-self: end; max-width: 18ch; text-align: right; }
.foot__legal { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1rem 2rem; padding-top: 1.6rem; border-top: 1px solid var(--rule-light); color: rgba(239, 231, 216, .5); }
.foot__legal p { margin: 0; }
.paidfor { border: 1px solid rgba(239, 231, 216, .5); padding: .45rem .9rem; font-size: .8rem; color: rgba(239, 231, 216, .8); }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 960px) {
  .nav__links { display: none; }
  .premise__text { grid-column: 1 / -1; }
  .premise__aside { grid-column: 1 / -1; }
  .table__cols, .work__head, .candidate, .join__grid { grid-template-columns: 1fr; }
  .work__head { margin-top: -2rem; }
  .pillar { grid-template-columns: 2.6rem 1fr 2rem; }
  .pillar__d { grid-column: 2 / -1; }
  .pillar__arrow { grid-row: 1; grid-column: 3; }
  .candidate__art { max-width: 26rem; justify-self: center; width: 100%; }
  .candidate__bio { grid-template-columns: 1fr; }
  .foot__row { grid-template-columns: auto 1fr 1fr; }
  .foot__col--wide { grid-column: 1 / -1; }
  .foot__line { justify-self: start; text-align: left; }
}
@media (max-width: 640px) {
  .nav { padding: .9rem 1rem; }
  .nav__cta { padding: .8em 1.2em; }
  .hero { height: auto; min-height: 100svh; padding: 5.5rem 1rem 1.8rem; }
  .hero__art img { object-position: 42% 60%; }
  .hero__title { font-size: clamp(3.6rem, 21vw, 7rem); }
  .hero__title .line--indent { padding-left: .5em; }
  .hero__top { font-size: .58rem; gap: .6rem; }
  .hero__foot { grid-template-columns: 1fr; gap: 1.2rem; }
  .hero__foot .plate { justify-self: start; }
  .hero__scroll { display: none; }
  .premise, .table, .work, .candidate, .join { padding-left: 1rem; padding-right: 1rem; }
  .table__title, .candidate__name, .unum__title { font-size: clamp(3.4rem, 18vw, 6rem); }
  .table__art { margin-top: 0; }
  .table__clip { aspect-ratio: 4 / 3.4; }
  .stat { grid-template-columns: 5.5rem 1fr; }
  .chapter { bottom: 7.5rem; }
  .chapter__title { font-size: clamp(3rem, 15vw, 5rem); }
  .journey__stops { font-size: .5rem; letter-spacing: .1em; }
  .journey__head { top: 5rem; }
  .journey__veil { background: linear-gradient(to top, rgba(20, 23, 28, .92) 0%, rgba(20, 23, 28, .4) 45%, rgba(20, 23, 28, 0) 70%), linear-gradient(to bottom, rgba(20, 23, 28, .55) 0%, rgba(20, 23, 28, 0) 22%); }
  .pillar { grid-template-columns: 2rem 1fr 1.5rem; gap: .8rem; }
  .pillar__t { font-size: clamp(1.9rem, 9vw, 2.6rem); }
  .signup { grid-template-columns: 1fr; }
  .field, .field:nth-of-type(2), .field--zip { grid-column: 1; grid-row: auto; }
  .give__amts { grid-template-columns: repeat(2, 1fr); }
  .join__plate { position: static; margin-top: 2rem; }
  .foot__row { grid-template-columns: 1fr 1fr; }
  .foot__seal { grid-column: 1 / -1; }
  .unum__copy { font-size: var(--step-1); }
}

@media (prefers-reduced-motion: reduce) {
  .grain, .marquee__track, .hero__scroll-line { animation: none; }
  * { transition-duration: .01ms !important; }
}

/* SplitText line masks: give descenders and italic overhangs room */
[data-split] > div, .hero__title .line > div { padding: 0 .08em .16em; margin: 0 -.08em -.16em; }

/* ==========================================================================
   DANIEL RAMPKE EDITION
   ========================================================================== */

/* --- mission kitchen: photo inset beside the story --- */
.table__story { display: grid; grid-template-columns: 1.25fr .75fr; gap: clamp(1.5rem, 3vw, 3rem); align-items: end; }
.table__photo { margin: 0; }
.table__photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; filter: saturate(.86) contrast(1.03) sepia(.06); }
.table__photo .plate { margin-top: .8rem; }
.table__intro { margin: 0 0 1.6rem; color: var(--ink-soft); max-width: 44ch; }

/* --- the book --- */
.book { position: relative; background: var(--ink); color: var(--bone); padding: var(--section) var(--gutter); overflow: hidden; }
.book__glow { position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(45% 55% at 24% 50%, rgba(216, 182, 110, .2), transparent 70%), radial-gradient(40% 40% at 90% 10%, rgba(47, 68, 97, .35), transparent 70%); }
.book__grid { position: relative; display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(2.5rem, 7vw, 8rem); align-items: center; }
.book__object { display: grid; justify-items: center; gap: 2rem; perspective: 1800px; }
.book__3d { position: relative; width: min(100%, 25rem); transform: rotateY(-22deg) rotateX(4deg); transform-style: preserve-3d; transition: transform 1.2s var(--ease); }
.book__object:hover .book__3d { transform: rotateY(-8deg) rotateX(2deg); }
.book__cover { width: 100%; aspect-ratio: 2 / 3; object-fit: cover; border-radius: 2px 6px 6px 2px;
  box-shadow: 1px 0 0 rgba(255, 255, 255, .12) inset, 40px 50px 80px -20px rgba(0, 0, 0, .75), 12px 16px 30px rgba(0, 0, 0, .45); }
.book__3d::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: linear-gradient(90deg, rgba(0, 0, 0, .35) 0, rgba(255, 255, 255, .14) 2.2%, rgba(0, 0, 0, .12) 4%, transparent 9%, transparent 70%, rgba(255, 255, 255, .06)); }
.book__spine { position: absolute; top: 0; bottom: 0; left: 0; width: 2.4rem; transform-origin: left; transform: rotateY(90deg) translateX(-100%);
  background: linear-gradient(90deg, #0b0d10, #23262b 50%, #0b0d10); }
.book__tag { color: rgba(239, 231, 216, .55); text-align: center; text-transform: none; letter-spacing: .08em; font-size: var(--step--1); }
.book__text { display: grid; gap: 1.6rem; align-content: start; }
.book__title { font-size: var(--step-5); }
.book__title em { color: var(--gilt-hi); }
.book__sub { margin: -.6rem 0 0; font-family: var(--serif); font-style: italic; font-size: var(--step-2); color: rgba(239, 231, 216, .8); }
.book__lede { margin: 0; max-width: 52ch; color: rgba(239, 231, 216, .78); }
.book__parts { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--rule-light); }
.book__parts li { padding: .9rem 0; border-bottom: 1px solid var(--rule-light); font-family: var(--serif); font-size: var(--step-1); display: flex; gap: 1rem; align-items: baseline; }
.book__parts li:nth-child(odd) { padding-right: 1rem; }
.book__parts .mono { color: var(--gilt-hi); min-width: 4.5rem; }
.book__meta { margin: 0; color: rgba(239, 231, 216, .5); line-height: 1.9; }
.buy { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: .4rem; }
.buy .btn--ghost { color: var(--bone); }
.stores { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--rule-light); border-left: 1px solid var(--rule-light); }
.store { position: relative; display: grid; gap: .25rem; padding: 1rem 1.1rem; border-right: 1px solid var(--rule-light); border-bottom: 1px solid var(--rule-light); overflow: hidden; isolation: isolate; }
.store::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--gilt-hi); transform: translateY(101%); transition: transform .55s var(--ease); }
.store:hover::before, .store:focus-visible::before { transform: translateY(0); }
.store__n { font-family: var(--serif); font-size: var(--step-1); line-height: 1.1; transition: color .4s; }
.store__f { color: rgba(239, 231, 216, .5); font-size: .6rem; transition: color .4s; }
.store:hover .store__n, .store:hover .store__f, .store:focus-visible .store__n, .store:focus-visible .store__f { color: var(--ink); }
.intl { display: flex; flex-wrap: wrap; gap: .5rem .5rem; align-items: center; }
.intl__k { color: rgba(239, 231, 216, .5); margin-right: .6rem; }
.intl a { font-family: var(--mono); font-size: .66rem; letter-spacing: .12em; padding: .45em .8em; border: 1px solid var(--rule-light); border-radius: 999px; transition: border-color .3s, color .3s; }
.intl a:hover { border-color: var(--gilt-hi); color: var(--gilt-hi); }
.help { margin: .4rem 0 0; color: rgba(239, 231, 216, .55); text-transform: none; letter-spacing: .04em; font-size: var(--step--1); line-height: 1.7; }
.help a { color: var(--gilt-hi); border-bottom: 1px solid rgba(216, 182, 110, .4); }

/* --- follow: social cards --- */
.follow { padding: var(--section) var(--gutter); display: grid; gap: 3rem; }
.follow__title { font-size: var(--step-5); }
.socials { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--rule); }
.socials li { border-right: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.socials li:first-child { border-left: 1px solid var(--rule); }
.social { position: relative; display: grid; grid-template-rows: auto 1fr auto; gap: 1rem; min-height: clamp(15rem, 26vw, 21rem); padding: clamp(1.4rem, 2.4vw, 2.2rem); overflow: hidden; isolation: isolate; }
.social::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--ink); transform: scaleY(0); transform-origin: bottom; transition: transform .7s var(--ease); }
.social__icon { width: 2.1rem; height: 2.1rem; color: var(--ink); transition: color .5s var(--ease), transform .7s var(--ease); }
.social__p { color: var(--gilt); align-self: end; }
.social__h { font-family: var(--serif); font-size: clamp(1.15rem, .9rem + .8vw, 1.7rem); line-height: 1.1; overflow-wrap: anywhere; transition: color .5s var(--ease); }
.social__go { position: absolute; top: clamp(1.2rem, 2.2vw, 2rem); right: clamp(1.2rem, 2.2vw, 2rem); font-family: var(--serif); font-size: var(--step-3); line-height: 1; color: var(--gilt); transition: transform .7s var(--ease), color .5s; }
.social:hover::before, .social:focus-visible::before { transform: scaleY(1); transform-origin: top; }
.social:hover .social__icon, .social:focus-visible .social__icon { color: var(--gilt-hi); transform: scale(1.12); }
.social:hover .social__h, .social:focus-visible .social__h { color: var(--bone); font-style: italic; }
.social:hover .social__go, .social:focus-visible .social__go { color: var(--gilt-hi); transform: translate(.3rem, -.3rem); }
.foot__social { display: flex; gap: .7rem; justify-content: flex-end; margin-top: 1.6rem; }
.foot__social a { display: grid; place-items: center; width: 2.9rem; height: 2.9rem; border: 1px solid var(--rule-light); border-radius: 50%; transition: border-color .3s, background-color .3s, color .3s; }
.foot__social svg { width: 1.05rem; height: 1.05rem; }
.foot__social a:hover { border-color: var(--gilt-hi); background: var(--gilt-hi); color: var(--ink); }
.foot__col--wide { display: grid; justify-items: end; }

@media (max-width: 960px) {
  .book__grid { grid-template-columns: 1fr; }
  .book__3d { width: min(70%, 19rem); }
  .stores { grid-template-columns: repeat(2, 1fr); }
  .socials { grid-template-columns: repeat(2, 1fr); }
  .socials li:nth-child(3) { border-left: 1px solid var(--rule); }
  .table__story { grid-template-columns: 1fr; }
  .table__photo { max-width: 24rem; }
  .foot__col--wide { justify-items: start; }
  .foot__social { justify-content: flex-start; }
}
@media (max-width: 640px) {
  .book, .follow { padding-left: 1rem; padding-right: 1rem; }
  .book__title, .follow__title { font-size: clamp(3rem, 15vw, 5rem); }
  .book__parts { grid-template-columns: 1fr; }
  .socials { grid-template-columns: 1fr; }
  .socials li { border-left: 1px solid var(--rule); }
  .social { min-height: 0; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 1rem; row-gap: .3rem; }
  .social__icon { grid-row: 1 / 3; align-self: center; }
  .social__p { align-self: start; }
  .social__go { top: 50%; transform: translateY(-50%); }
  .social:hover .social__go { transform: translate(.3rem, -60%); }
}

/* direct email (no form backend yet) */
.signup__direct { grid-column: 1 / -1; margin: -.2rem 0 0; font-size: .62rem; color: rgba(239, 231, 216, .55); text-align: center; }
.signup__direct a, .signup__done a { display: inline-block; color: var(--gilt-hi); border-bottom: 1px solid rgba(216, 182, 110, .35); transition: border-color .3s; overflow-wrap: anywhere; }
.signup__direct a { margin-left: .5em; text-transform: none; letter-spacing: .04em; }
.signup__direct a:hover, .signup__done a:hover { border-color: var(--gilt-hi); }
.foot__mail { display: block; width: fit-content; margin: 1.2rem 0 0 auto; color: var(--gilt-hi); text-transform: none; letter-spacing: .06em; border-bottom: 1px solid rgba(216, 182, 110, .35); transition: border-color .3s; }
.foot__mail:hover { border-color: var(--gilt-hi); }
@media (max-width: 960px) { .foot__mail { margin-left: 0; } }
