/* The Amplified Coach - waitlist page
   Direction: Back Cover First. A clothbound book on the page.
   Ivory body, ink type, oxblood cloth. Literata throughout, IBM Plex Mono for slugs. */

:root {
  --ivory: #F7F3EA;
  --ivory-raised: #FCFAF3;
  --flax: #EEE6D4;
  --flax-deep: #E7DDC7;
  --ink: #211E1A;
  --ink-soft: #5C5447;
  --ink-faint: #8C8475;
  --oxblood: #6E2230;
  --oxblood-deep: #551823;
  --oxblood-bright: #8A2E3E;
  --gold: #C2A05A;
  --gold-soft: rgba(194, 160, 90, 0.55);
  --on-ox: #F4EADB;
  --on-ox-soft: rgba(244, 234, 219, 0.66);
  --hair: rgba(33, 30, 26, 0.14);
  --hair-ox: rgba(244, 234, 219, 0.22);
  --serif: 'Literata', Georgia, 'Times New Roman', serif;
  --mono: 'IBM Plex Mono', ui-monospace, 'SFMono-Regular', monospace;
  --shadow-ox: 0 26px 60px -28px rgba(85, 24, 35, 0.55);
  --shadow-soft: 0 18px 50px -30px rgba(33, 30, 26, 0.4);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--serif);
  font-optical-sizing: auto;
  background: var(--ivory);
  color: var(--ink);
  line-height: 1.62;
  font-size: 1.075rem;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* Paper grain over everything */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 60;
  opacity: 0.04;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.container { max-width: 1140px; margin: 0 auto; padding: 0 clamp(1.5rem, 5vw, 3rem); }
.container.narrow { max-width: 740px; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}

/* ---------- type ---------- */

h1 {
  font-size: clamp(2.7rem, 8.5vw, 6.4rem);
  font-weight: 460;
  line-height: 0.98;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

h2 {
  font-size: clamp(1.9rem, 4vw, 2.85rem);
  font-weight: 480;
  line-height: 1.1;
  letter-spacing: -0.018em;
  margin-bottom: 1.4rem;
  text-wrap: balance;
}

h3 { font-size: 1.18rem; font-weight: 600; line-height: 1.28; margin-bottom: 0.5rem; letter-spacing: -0.01em; }

p { text-wrap: pretty; }
p + p { margin-top: 1.05rem; }

.slug {
  font-family: var(--mono);
  font-weight: 500;
  font-size: 0.72rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--oxblood);
  font-variant-numeric: tabular-nums;
  margin-bottom: 1.3rem;
}

/* printer's fleuron ornament */
.fleuron {
  display: block;
  font-size: 1.3rem;
  line-height: 1;
  color: var(--gold);
  letter-spacing: 0.4em;
}

/* ---------- buttons & forms ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--mono);
  font-weight: 500;
  font-size: 0.78rem;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--on-ox);
  background: var(--oxblood);
  border: 1px solid var(--oxblood);
  border-radius: 2px;
  padding: 1rem 1.9rem;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.25s var(--ease), transform 0.25s var(--ease), box-shadow 0.25s var(--ease), color 0.25s var(--ease);
}

.btn:hover { background: var(--oxblood-deep); transform: translateY(-2px); box-shadow: var(--shadow-ox); }
.btn:active { transform: translateY(0) scale(0.99); box-shadow: none; }
.btn:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

.btn-small { padding: 0.62rem 1.25rem; font-size: 0.7rem; }

.btn-invert { background: var(--on-ox); color: var(--oxblood); border-color: var(--on-ox); }
.btn-invert:hover { background: #fff; color: var(--oxblood-deep); }

/* hero button sits on cloth */
.btn-oncloth { background: var(--on-ox); color: var(--oxblood-deep); border-color: var(--on-ox); }
.btn-oncloth:hover { background: #fff; }

.waitlist-form { display: flex; gap: 0.55rem; margin-top: 2.1rem; }

.waitlist-form input {
  font-family: var(--serif);
  font-size: 1.02rem;
  color: var(--ink);
  background: var(--ivory-raised);
  border: 1px solid var(--hair);
  border-radius: 2px;
  padding: 1rem 1.4rem;
  width: min(23rem, 100%);
  outline: none;
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.waitlist-form input:focus { border-color: var(--oxblood); box-shadow: 0 0 0 3px rgba(110, 34, 48, 0.12); }
.waitlist-form input::placeholder { color: var(--ink-faint); }

.microcopy { font-size: 0.86rem; color: var(--ink-soft); max-width: 36rem; margin-top: 1.15rem; line-height: 1.55; }

.form-success {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.15rem;
  margin-top: 2.1rem;
  color: inherit;
}

/* ---------- header ---------- */

.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  transition: background 0.4s var(--ease), border-color 0.4s var(--ease), backdrop-filter 0.4s var(--ease);
  border-bottom: 1px solid transparent;
}

.header-inner { display: flex; align-items: center; justify-content: space-between; height: 70px; }

.wordmark {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.04rem;
  letter-spacing: 0.01em;
  text-decoration: none;
  color: var(--on-ox);
  transition: color 0.4s var(--ease);
}

/* default (over hero): translucent, light text, outline button */
.site-header .btn { background: transparent; color: var(--on-ox); border-color: rgba(244, 234, 219, 0.5); }
.site-header .btn:hover { background: rgba(244, 234, 219, 0.12); border-color: var(--on-ox); box-shadow: none; transform: translateY(-1px); }

/* scrolled state: solid ivory, ink text, solid oxblood button */
.site-header.scrolled {
  background: rgba(247, 243, 234, 0.9);
  backdrop-filter: blur(10px) saturate(1.1);
  border-bottom-color: var(--hair);
}
.site-header.scrolled .wordmark { color: var(--ink); }
.site-header.scrolled .btn { background: var(--oxblood); color: var(--on-ox); border-color: var(--oxblood); }
.site-header.scrolled .btn:hover { background: var(--oxblood-deep); }

/* ---------- hero: the clothbound title page ---------- */

.hero {
  position: relative;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  background: var(--oxblood);
  color: var(--on-ox);
  overflow: hidden;
  isolation: isolate;
}

/* cloth weave + warmth + vignette */
.hero::before {
  content: '';
  position: absolute; inset: 0; z-index: -2;
  background:
    radial-gradient(120% 90% at 50% 8%, rgba(138, 46, 62, 0.6) 0%, rgba(110, 34, 48, 0) 55%),
    radial-gradient(140% 120% at 50% 120%, rgba(60, 16, 24, 0.85) 0%, rgba(110, 34, 48, 0) 60%),
    var(--oxblood);
}
.hero::after {
  content: '';
  position: absolute; inset: 0; z-index: -1;
  opacity: 0.5;
  mix-blend-mode: soft-light;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='c'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.012 0.5' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23c)'/%3E%3C/svg%3E");
}

/* longhand vertical padding so the container's horizontal padding survives */
.hero-inner { width: 100%; padding-top: 6rem; padding-bottom: 2.5rem; }

/* running heads, like a real title page */
.runners {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--on-ox-soft);
  padding-bottom: 1.2rem;
  margin-bottom: clamp(1.6rem, 3.5vw, 2.6rem);
  border-bottom: 1px solid var(--hair-ox);
}
.runners .gold { color: var(--gold); }

.hero h1 { color: var(--on-ox); max-width: 14ch; }

.hero .descriptor {
  font-style: italic;
  font-size: clamp(1.2rem, 2.4vw, 1.6rem);
  color: var(--on-ox);
  opacity: 0.92;
  margin-top: 1.2rem;
  max-width: 28ch;
}

.hero .meta-line {
  font-family: var(--mono);
  font-size: 0.76rem;
  letter-spacing: 0.1em;
  color: var(--on-ox-soft);
  margin-top: 1.1rem;
}

.hero .waitlist-form { margin-top: 1.7rem; }

.hero .waitlist-form input { background: rgba(247, 243, 234, 0.97); border-color: transparent; }
.hero .waitlist-form input:focus { box-shadow: 0 0 0 3px rgba(244, 234, 219, 0.25); }
.hero .microcopy { color: var(--on-ox-soft); }

.hero .fleuron { margin: clamp(2.2rem, 5vw, 3.4rem) 0 0; text-align: left; }

/* scroll cue */
.scroll-cue {
  position: absolute;
  left: 50%; bottom: 1.6rem;
  transform: translateX(-50%);
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--on-ox-soft);
  display: flex; flex-direction: column; align-items: center; gap: 0.5rem;
}
.scroll-cue span { width: 1px; height: 34px; background: linear-gradient(var(--gold), transparent); animation: cue 2.4s var(--ease) infinite; transform-origin: top; }
@keyframes cue { 0%,100% { transform: scaleY(0.4); opacity: 0.4; } 50% { transform: scaleY(1); opacity: 1; } }

/* ---------- hero load-in ---------- */
.reveal-load > * { opacity: 0; transform: translateY(18px); animation: rise 0.9s var(--ease) forwards; }
.reveal-load > *:nth-child(1) { animation-delay: 0.1s; }
.reveal-load > *:nth-child(2) { animation-delay: 0.22s; }
.reveal-load > *:nth-child(3) { animation-delay: 0.34s; }
.reveal-load > *:nth-child(4) { animation-delay: 0.46s; }
.reveal-load > *:nth-child(5) { animation-delay: 0.58s; }
.reveal-load > *:nth-child(6) { animation-delay: 0.7s; }
.reveal-load > *:nth-child(7) { animation-delay: 0.82s; }
@keyframes rise { to { opacity: 1; transform: translateY(0); } }

/* ---------- scroll reveals + stagger ---------- */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.reveal.visible { opacity: 1; transform: none; }

.stagger > * { opacity: 0; transform: translateY(18px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.stagger.visible > * { opacity: 1; transform: none; }
.stagger.visible > *:nth-child(1) { transition-delay: 0.05s; }
.stagger.visible > *:nth-child(2) { transition-delay: 0.13s; }
.stagger.visible > *:nth-child(3) { transition-delay: 0.21s; }
.stagger.visible > *:nth-child(4) { transition-delay: 0.29s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal-load > *, .reveal, .stagger > * { animation: none !important; opacity: 1 !important; transform: none !important; }
  .scroll-cue span { animation: none; }
}

/* ---------- sections ---------- */
section { position: relative; padding: clamp(4.5rem, 10vw, 8rem) 0; }
section.alt { background: var(--flax); }

/* full-bleed cloth section */
.dark {
  background: var(--oxblood);
  color: var(--on-ox);
  isolation: isolate;
  overflow: hidden;
}
.dark::before {
  content: '';
  position: absolute; inset: 0; z-index: -1;
  opacity: 0.45; mix-blend-mode: soft-light;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='c2'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.012 0.5' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23c2)'/%3E%3C/svg%3E");
}
.dark .slug { color: var(--gold); }
.dark h2 { color: var(--on-ox); }
.dark p { color: var(--on-ox-soft); }

/* ---------- the question ---------- */
.question { padding-top: clamp(3.5rem, 8vw, 6rem); text-align: center; }
.statement { font-size: clamp(1.55rem, 3.4vw, 2.2rem); font-weight: 470; line-height: 1.22; letter-spacing: -0.015em; }
.statement-em { font-size: clamp(2.4rem, 6vw, 3.9rem); font-style: italic; font-weight: 500; color: var(--oxblood); margin-top: 0.35rem; letter-spacing: -0.02em; }
.turn-line { font-family: var(--mono); font-size: 0.8rem; letter-spacing: 0.08em; color: var(--ink-soft); margin-top: 2.6rem; }
.turn-line .gold { color: var(--oxblood); }

/* ---------- the cloth back-cover object ---------- */
.back-cover-wrap { margin-top: 3rem; }
.cloth-panel {
  position: relative;
  background:
    linear-gradient(180deg, rgba(138,46,62,0.35), rgba(85,24,35,0.2)),
    var(--oxblood);
  color: var(--on-ox);
  isolation: isolate;
  box-shadow: var(--shadow-ox);
}
.cloth-panel::after {
  content: '';
  position: absolute; inset: 0; z-index: -1;
  opacity: 0.5; mix-blend-mode: soft-light;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='c3'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.012 0.5' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23c3)'/%3E%3C/svg%3E");
}

.back-cover {
  padding: clamp(3rem, 6vw, 5rem) clamp(2rem, 6vw, 5.5rem);
  font-size: clamp(1.12rem, 1.7vw, 1.34rem);
  line-height: 1.7;
  text-align: left;
  border-radius: 2px 4px 4px 2px;
  border-left: 6px solid var(--oxblood-deep);
}
/* gilt inner frame */
.back-cover .inner-rule {
  position: absolute; inset: 14px;
  border: 1px solid var(--gold-soft);
  pointer-events: none;
  border-radius: 2px;
}
.back-cover p { color: var(--on-ox); max-width: 40em; margin-inline: auto; position: relative; }
.back-cover p + p { margin-top: 1.4em; }
.back-cover p:first-of-type::first-letter {
  font-size: 3.4em; float: left; line-height: 0.78;
  padding-right: 0.08em; font-weight: 500; color: var(--gold);
}
.panel-foot {
  display: flex; justify-content: space-between; align-items: flex-end;
  margin-top: 2.4rem; gap: 1rem; flex-wrap: wrap;
}
.panel-slug {
  font-family: var(--mono); font-weight: 500; font-size: 0.72rem;
  letter-spacing: 0.24em; text-transform: uppercase; color: var(--gold);
}
/* faux barcode / ISBN block, the back-of-book tell */
.barcode { display: flex; flex-direction: column; align-items: flex-end; gap: 0.4rem; opacity: 0.9; }
.barcode .bars {
  width: 116px; height: 34px;
  background: repeating-linear-gradient(90deg, var(--on-ox) 0 2px, transparent 2px 3px, var(--on-ox) 3px 4px, transparent 4px 7px, var(--on-ox) 7px 8px, transparent 8px 11px);
  opacity: 0.85;
}
.barcode .code { font-family: var(--mono); font-size: 0.6rem; letter-spacing: 0.2em; color: var(--on-ox-soft); }

/* ---------- reality ---------- */
.reality .lead { font-size: clamp(1.2rem, 2vw, 1.45rem); line-height: 1.55; color: var(--ink); }
.reality p { color: var(--ink-soft); max-width: 60ch; }
.reality p + p { margin-top: 1.2rem; }
.reality .close { color: var(--ink); font-style: italic; font-size: 1.2rem; }

/* ---------- provenance ledger ---------- */
.provenance .lede { max-width: 62ch; color: var(--ink-soft); font-size: 1.1rem; }
.ledger { counter-reset: led; margin-top: 3rem; border-top: 1px solid var(--hair); }
.led-row {
  display: grid;
  grid-template-columns: 4rem 1fr;
  gap: clamp(1rem, 4vw, 3rem);
  align-items: baseline;
  padding: 1.7rem 0;
  border-bottom: 1px solid var(--hair);
  transition: background 0.3s var(--ease);
}
.led-row:hover { background: rgba(110, 34, 48, 0.03); }
.led-row::before {
  counter-increment: led;
  content: counter(led, decimal-leading-zero);
  font-family: var(--mono); font-size: 0.78rem; letter-spacing: 0.1em;
  color: var(--oxblood); padding-top: 0.35rem;
}
.led-row .led-body { display: grid; grid-template-columns: minmax(0, 14rem) 1fr; gap: clamp(0.5rem, 3vw, 2.5rem); align-items: baseline; }
.led-row h3 { margin: 0; font-size: 1.22rem; }
.led-row p { color: var(--ink-soft); margin: 0; font-size: 0.98rem; }

/* ---------- argument (dark) ---------- */
.stance-list {
  display: grid; grid-template-columns: 1fr 1fr;
  margin-top: 3rem;
  border-top: 1px solid var(--hair-ox);
}
.stance {
  padding: 2.4rem 2.4rem 2.6rem 0;
  border-bottom: 1px solid var(--hair-ox);
}
.stance:nth-child(odd) { border-right: 1px solid var(--hair-ox); padding-right: 2.4rem; }
.stance:nth-child(even) { padding-left: 2.4rem; }
.stance-num {
  font-family: var(--mono); font-size: 2.1rem; font-weight: 500;
  color: var(--gold); line-height: 1; margin-bottom: 1.1rem;
  font-variant-numeric: tabular-nums; letter-spacing: -0.02em;
}
.stance h3 { color: var(--on-ox); font-size: 1.32rem; margin-bottom: 0.55rem; }
.stance p { color: var(--on-ox-soft); font-size: 1rem; }

/* exchange plate overlapping the cloth */
.exchange-wrap { position: relative; z-index: 2; margin-top: clamp(3.5rem, 7vw, 5.5rem); margin-bottom: clamp(-7rem, -8vw, -5.5rem); }
.exchange {
  background: var(--ivory-raised);
  color: var(--ink);
  border-radius: 3px;
  padding: clamp(2rem, 4vw, 3rem) clamp(2rem, 4vw, 3.2rem);
  box-shadow: 0 40px 80px -40px rgba(60, 16, 24, 0.7);
  border: 1px solid var(--hair);
}
.exchange .slug { color: var(--oxblood); }
.exchange h3 { font-size: 1.5rem; margin-bottom: 1.4rem; letter-spacing: -0.015em; }
.exchange ol { list-style: none; counter-reset: ex; }
.exchange li {
  display: grid;
  grid-template-columns: 1.9rem 1fr;
  column-gap: 1.1rem;
  align-items: start;
  color: var(--ink-soft);
}
.exchange li + li { margin-top: 1.2rem; padding-top: 1.2rem; border-top: 1px solid var(--hair); }
.exchange li::before {
  counter-increment: ex; content: counter(ex);
  font-family: var(--mono); font-size: 0.82rem; color: var(--oxblood);
  width: 1.9rem; height: 1.9rem; border: 1px solid var(--oxblood);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
}
.exchange li strong { color: var(--ink); font-weight: 600; }

/* spacing for the section that follows the overlapping plate */
.after-overlap { padding-top: clamp(9rem, 14vw, 12rem); }

/* ---------- personas ---------- */
.persona-list { counter-reset: per; margin-top: 3rem; }
.persona {
  display: grid;
  grid-template-columns: 4rem 1fr;
  gap: clamp(1rem, 4vw, 2.5rem);
  padding: 2rem 0;
  border-top: 1px solid var(--hair);
  align-items: start;
}
.persona:last-child { border-bottom: 1px solid var(--hair); }
.persona::before {
  counter-increment: per;
  content: counter(per, decimal-leading-zero);
  font-family: var(--mono); font-size: 0.78rem; color: var(--oxblood); padding-top: 0.4rem; letter-spacing: 0.1em;
}
.persona h3 { font-size: 1.3rem; margin-bottom: 0.6rem; max-width: 24ch; }
.persona p { color: var(--ink-soft); max-width: 60ch; }

/* ---------- author ---------- */
.author-grid { display: grid; grid-template-columns: 300px 1fr; gap: clamp(2.5rem, 6vw, 5rem); align-items: start; }
.author-photo { position: relative; }
.author-photo img {
  width: 100%; height: auto; display: block; border-radius: 3px;
  filter: saturate(0.85) contrast(1.02);
  position: relative; z-index: 2;
}
.author-photo::before {
  content: ''; position: absolute; inset: 14px -14px -14px 14px;
  border: 1px solid var(--oxblood); border-radius: 3px; z-index: 1;
}
.author-text p { color: var(--ink-soft); max-width: 56ch; }
.author-quote {
  margin-top: 2.4rem; padding-left: 1.6rem;
  border-left: 3px solid var(--oxblood);
  font-size: clamp(1.4rem, 2.4vw, 1.85rem);
  font-style: italic; font-weight: 460; line-height: 1.35;
  color: var(--ink); letter-spacing: -0.015em; max-width: 22ch;
}

/* ---------- final CTA ---------- */
.final-cta { text-align: center; }
.final-cta h2 { max-width: 20ch; margin-inline: auto; font-size: clamp(2rem, 4.2vw, 3rem); }
.final-cta .fleuron { text-align: center; margin-bottom: 2rem; }
.final-cta .waitlist-form { justify-content: center; margin-top: 2.4rem; }
.final-cta .waitlist-form input { background: var(--ivory-raised); border-color: transparent; }
.final-cta .microcopy { color: var(--on-ox-soft); margin-inline: auto; text-align: center; }

/* ---------- faq ---------- */
.faq details { border-top: 1px solid var(--hair); }
.faq details:last-of-type { border-bottom: 1px solid var(--hair); }
.faq summary {
  font-weight: 540; font-size: 1.12rem; padding: 1.3rem 2.4rem 1.3rem 0;
  cursor: pointer; list-style: none; position: relative; letter-spacing: -0.01em;
  transition: color 0.2s var(--ease);
}
.faq summary:hover { color: var(--oxblood); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+'; font-family: var(--mono); font-weight: 400;
  position: absolute; right: 0.2rem; top: 50%; transform: translateY(-50%);
  color: var(--oxblood); font-size: 1.2rem; transition: transform 0.3s var(--ease);
}
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { padding: 0 0 1.5rem; color: var(--ink-soft); max-width: 64ch; }
.faq details a { color: var(--oxblood); text-underline-offset: 3px; }

/* ---------- footer ---------- */
.site-footer { border-top: 1px solid var(--hair); padding: 3.2rem 0 3.6rem; text-align: center; background: var(--flax); }
.footer-fleuron { margin-bottom: 1.6rem; }
.citation { font-size: 0.98rem; color: var(--ink-soft); }
.footer-links { margin-top: 1.2rem; display: flex; gap: 1.8rem; justify-content: center; flex-wrap: wrap; }
.footer-links a {
  font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--ink-soft); text-decoration: none;
  transition: color 0.2s var(--ease);
}
.footer-links a:hover { color: var(--oxblood); }
.copyright { font-family: var(--mono); font-size: 0.7rem; color: var(--ink-faint); margin-top: 1.5rem; }

/* ---------- responsive ---------- */
@media (max-width: 880px) {
  .author-grid { grid-template-columns: 1fr; }
  .author-photo { max-width: 280px; }
  .author-photo::before { inset: 10px -10px -10px 10px; }
  .led-row .led-body { grid-template-columns: 1fr; gap: 0.4rem; }
}

@media (max-width: 680px) {
  .stance-list { grid-template-columns: 1fr; }
  .stance, .stance:nth-child(odd), .stance:nth-child(even) { padding: 1.9rem 0; border-right: none; }
  .hero-inner { padding-top: 7rem; }
  .runners { font-size: 0.62rem; letter-spacing: 0.16em; }
  .back-cover .inner-rule { inset: 9px; }
}

@media (max-width: 540px) {
  .waitlist-form { flex-direction: column; align-items: stretch; }
  .waitlist-form input { width: 100%; }
  .btn { text-align: center; }
  .led-row, .persona { grid-template-columns: 2.4rem 1fr; gap: 1rem; }
  .scroll-cue { display: none; }
  .header-inner { height: 62px; }
  .wordmark { font-size: 0.92rem; }
  .site-header .btn-small { padding: 0.5rem 0.85rem; font-size: 0.6rem; letter-spacing: 0.08em; }
  .hero h1 { max-width: 100%; }
  .runners { flex-wrap: wrap; gap: 0.3rem 1rem; }
}
