/* Shattered by Strep: tokens come from the cover. Near-black and charcoal for the
   cinematic sections, torn-paper cream for reading, sepia and copper as accents. */
:root {
  --ink-950: #0d0c0b;
  --ink-900: #151311;
  --ink-800: #211d1a;
  --ink-700: #3a332d;
  --paper: #f2ece1;
  --paper-deep: #e8dfd0;
  --paper-line: #d6cab6;
  --text: #1e1915;
  --text-muted: #574b40;
  --sepia: #7a4a22;
  --copper: #d2a273;
  --on-dark: #f0e9de;
  --on-dark-muted: #b9ae9f;
  --line-dark: rgba(240, 233, 222, 0.14);
  --card: #fbf8f2;
  --field: #ffffff;
  --field-line: #8c7d67;
  --line-strong: rgba(30, 25, 21, 0.5);
  --solid-bg: var(--ink-950);
  --solid-fg: var(--paper);
  --solid-hover: var(--ink-700);
  --error: #a3341f;

  --serif: "Newsreader", "Iowan Old Style", Georgia, serif;
  --sans: "Jost", "Avenir Next", "Helvetica Neue", Arial, sans-serif;

  --gutter: max(clamp(20px, 5vw, 56px), env(safe-area-inset-left, 0px), env(safe-area-inset-right, 0px));
  --max: 1180px;
  --radius: 4px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --nav-h: 64px;

  color-scheme: light dark;
}

/* Dark mode: the paper sections turn to dark paper; the cinematic sections stay as they are. */
@media (prefers-color-scheme: dark) {
  :root {
    --paper: #1b1815;
    --paper-deep: #161311;
    --paper-line: rgba(240, 233, 222, 0.14);
    --card: #221e1a;
    --field: #15120f;
    --field-line: #7e7a74;
    --line-strong: rgba(240, 233, 222, 0.5);
    --text: #e9e1d4;
    --text-muted: #b3a796;
    --sepia: #d2a273;
    --solid-bg: var(--on-dark);
    --solid-fg: var(--ink-950);
    --solid-hover: #ffffff;
    --error: #f0a58f;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--ink-950);
  color: var(--text);
  font: 400 1.0625rem/1.65 var(--serif);
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; line-height: 1.1; text-wrap: balance; }
p { margin: 0 0 1em; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; list-style: none; }

:focus-visible { outline: 2px solid var(--copper); outline-offset: 3px; border-radius: 2px; }
.paper :focus-visible { outline-color: var(--sepia); }
@media (prefers-color-scheme: dark) { .paper :focus-visible { outline-color: var(--copper); } }

.skip {
  position: fixed; left: 12px; top: -60px; z-index: 100;
  background: var(--paper); color: var(--text); padding: 10px 16px; border-radius: var(--radius);
  font: 500 0.9rem var(--sans); text-decoration: none; transition: top .2s;
}
.skip:focus { top: 12px; }

.wrap { width: min(100% - 2 * var(--gutter), var(--max)); margin-inline: auto; }
.wrap--narrow { max-width: 760px; }

.dark { background: var(--ink-950); color: var(--on-dark); }
.paper { background: var(--paper); color: var(--text); }
.paper--deep { background: var(--paper-deep); }
section { position: relative; }

/* ---------- Type helpers ---------- */
.label {
  font: 500 0.75rem/1.4 var(--sans);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--on-dark-muted);
  margin-bottom: 1rem;
}
.paper .label { color: var(--text-muted); }
.label--sepia, .paper .label--sepia { color: var(--sepia); }
.label--copper { color: var(--copper); }

.section-head { max-width: 760px; margin-bottom: clamp(40px, 6vw, 72px); }
.section-title {
  font-size: clamp(2.25rem, 1.4rem + 3.6vw, 4rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.02;
  margin-bottom: 0.5em;
}
.section-title--sm { font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.25rem); letter-spacing: -0.01em; }
.lede { font-size: clamp(1.15rem, 1rem + 0.5vw, 1.35rem); line-height: 1.55; color: inherit; }
.paper .lede { color: var(--text); }
.dark .lede { color: var(--on-dark); }

/* ---------- Buttons: one shape, four tones ---------- */
.btn {
  --bg: transparent; --fg: currentColor; --bd: currentColor;
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5em;
  min-height: 48px; padding: 0 1.5em;
  background: var(--bg); color: var(--fg); border: 1px solid var(--bd); border-radius: 999px;
  font: 500 0.95rem/1 var(--sans); letter-spacing: 0.04em;
  text-decoration: none; cursor: pointer; text-align: center;
  transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .15s var(--ease);
  touch-action: manipulation;
}
.btn:active { transform: scale(0.98); }
.btn--light { --bg: var(--on-dark); --fg: var(--ink-950); --bd: var(--on-dark); }
.btn--light:hover { --bg: #fff; --bd: #fff; }
.btn--dark { --bg: var(--solid-bg); --fg: var(--solid-fg); --bd: var(--solid-bg); }
.btn--dark:hover { --bg: var(--solid-hover); --bd: var(--solid-hover); }
.btn--ghost { --fg: var(--on-dark); --bd: rgba(240, 233, 222, 0.4); }
.btn--ghost:hover { --bd: var(--on-dark); --bg: rgba(240, 233, 222, 0.06); }
.btn--line { --fg: var(--text); --bd: var(--line-strong); }
.btn--line:hover { --bd: var(--text); --bg: rgba(30, 25, 21, 0.04); }
.btn--sm { min-height: 40px; padding: 0 1.15em; font-size: 0.85rem; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: 0.55; cursor: progress; }

/* ---------- Navigation ---------- */

.nav {
  position: fixed; inset: 0 0 auto; z-index: 50; height: calc(var(--nav-h) + env(safe-area-inset-top, 0px));
  color: var(--on-dark);
  transition: background-color .3s var(--ease), border-color .3s var(--ease), transform .35s var(--ease);
  border-bottom: 1px solid transparent;
  padding-top: env(safe-area-inset-top);
}
.nav.is-solid { background: rgba(13, 12, 11, 0.86); -webkit-backdrop-filter: blur(14px) saturate(1.2); backdrop-filter: blur(14px) saturate(1.2); border-color: var(--line-dark); }
.nav.is-hidden { transform: translateY(-100%); }
.nav__inner { height: 100%; width: min(100% - 2 * var(--gutter), 1320px); margin-inline: auto; display: flex; align-items: center; gap: 24px; }
.nav__brand { padding-block: 13px; font: 600 18px/1 var(--serif); text-decoration: none; letter-spacing: -0.01em; margin-right: auto; white-space: nowrap; }
.nav__brand i { font-weight: 400; color: var(--on-dark-muted); }
.nav__links { display: none; gap: 4px; }
.nav__links a {
  position: relative; padding: 10px 12px; text-decoration: none;
  font: 500 14px/1 var(--sans); letter-spacing: 0.06em; color: var(--on-dark-muted);
  transition: color .2s;
}
.nav__links a:hover, .nav__links a.is-active { color: var(--on-dark); }
.nav__links a::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 4px; height: 1px; background: var(--copper); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.nav__links a.is-active::after { transform: scaleX(1); }
.nav__buy { display: none; }
.nav__menu {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 4px 0 12px;
  background: none; border: 0; cursor: pointer; color: var(--on-dark);
  font: 500 13px/1 var(--sans); letter-spacing: 0.16em; text-transform: uppercase;
}
.nav .btn { font-size: 14px; }

.menu {
  position: fixed; inset: 0; z-index: 70; width: 100%; height: 100%; max-width: none; max-height: none;
  margin: 0; border: 0; background: var(--ink-950); color: var(--on-dark);
  flex-direction: column; justify-content: center; gap: 40px;
  padding: calc(var(--nav-h) + 16px) var(--gutter) calc(32px + env(safe-area-inset-bottom));
}
.menu[open] { display: flex; animation: fade .25s var(--ease); }
.menu::backdrop { background: transparent; }
.menu nav { display: grid; }
.menu nav a {
  display: flex; align-items: baseline; gap: 16px; padding: 14px 0; text-decoration: none;
  font: 500 clamp(1.75rem, 7vw, 2.5rem)/1.1 var(--serif); letter-spacing: -0.01em;
  border-bottom: 1px solid var(--line-dark);
}
.menu__close { position: absolute; top: calc(10px + env(safe-area-inset-top)); right: calc(var(--gutter) - 10px); width: 44px; height: 44px; display: grid; place-items: center; background: none; border: 0; color: inherit; cursor: pointer; }

@media (min-width: 1000px) {
  .nav__links, .nav__buy { display: flex; }
  .nav__menu { display: none; }
}

/* ---------- Hero ---------- */
.hero { overflow: hidden; padding: calc(var(--nav-h) + 28px) 0 0; isolation: isolate; }
.hero::before { /* film grain */
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0.14; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .5 0'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
}
.hero__glow {
  position: absolute; z-index: -2; width: 900px; height: 900px; left: 50%; top: -140px; translate: -50% 0;
  background: radial-gradient(closest-side, rgba(150, 96, 52, 0.42), rgba(150, 96, 52, 0.12) 55%, transparent);
  will-change: transform;
}
.hero__cracks { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; }
.hero__cracks path { fill: none; stroke: rgba(240, 233, 222, 0.13); stroke-width: 1.1; stroke-dasharray: 1400; stroke-dashoffset: 1400; animation: crack 2.4s var(--ease) .35s forwards; }
.hero__cracks path:nth-child(n+2) { animation-delay: 1.1s; animation-duration: 1.6s; }
@keyframes crack { to { stroke-dashoffset: 0; } }

.hero__inner { display: grid; gap: 28px; justify-items: center; text-align: center; padding-bottom: 48px; }
.hero__book { width: min(42vw, 230px); perspective: 1200px; }
.hero__book picture { display: block; position: relative; border-radius: 2px 4px 4px 2px; overflow: hidden; transform: rotateY(var(--ry, -8deg)) rotateX(var(--rx, 2deg)); transition: transform .6s var(--ease); box-shadow: 0 40px 80px -20px rgba(0, 0, 0, 0.85), 0 18px 36px -18px rgba(0, 0, 0, 0.9), -1px 0 0 rgba(255,255,255,.06); }
.hero__book picture::after { /* spine highlight */
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(0,0,0,.45) 0, rgba(255,255,255,.18) 1.6%, rgba(0,0,0,.1) 3.4%, transparent 7%, transparent 92%, rgba(255,255,255,.06));
}
.hero__book { animation: rise 1.2s var(--ease) both; }
.hero__copy > * { animation: rise 1s var(--ease) both; }
.hero__copy > :nth-child(2) { animation-delay: .08s; }
.hero__copy > :nth-child(3) { animation-delay: .16s; }
.hero__copy > :nth-child(4) { animation-delay: .24s; }
.hero__copy > :nth-child(5) { animation-delay: .32s; }
.hero__copy > :nth-child(6) { animation-delay: .4s; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } }

.hero__title { font-size: min(clamp(3rem, 1.6rem + 7vw, 6.5rem), 17vw); font-weight: 700; letter-spacing: -0.035em; line-height: 0.92; margin-bottom: 0.3em; }
.hero__title span { font-style: italic; font-weight: 400; color: var(--copper); letter-spacing: -0.02em; }
.hero__tagline { font: italic 400 1.0625rem/1.5 var(--serif); color: var(--on-dark-muted); max-width: 30em; margin-inline: auto; }
.hero__hook { font-size: clamp(1.25rem, 1.05rem + 0.9vw, 1.6rem); line-height: 1.45; font-style: italic; max-width: 26em; margin: 1.4em auto 1.6em; color: var(--on-dark); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.hero__date { margin: 1.4rem 0 0; display: inline-flex; align-items: center; gap: 10px; font: 500 0.8rem var(--sans); letter-spacing: 0.14em; text-transform: uppercase; color: var(--on-dark-muted); }
.dot { width: 6px; height: 6px; border-radius: 50%; background: var(--copper); box-shadow: 0 0 0 4px rgba(210, 162, 115, 0.18); }

.hero__parents {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px 14px;
  padding: 18px var(--gutter) calc(18px + 26px); text-align: center; text-decoration: none;
  border-top: 1px solid var(--line-dark); background: rgba(240, 233, 222, 0.03);
  font: 400 1rem/1.45 var(--serif); color: var(--on-dark);
  transition: background-color .2s;
}
.hero__parents strong { display: inline-flex; align-items: center; gap: 6px; font: 500 0.85rem var(--sans); letter-spacing: 0.1em; text-transform: uppercase; color: var(--copper); }
.hero__parents:hover { background: rgba(240, 233, 222, 0.07); }
.hero__parents:hover svg { transform: translateX(3px); }
.hero__parents svg, .tile__go svg { transition: transform .2s var(--ease); }

@media (min-width: 960px) {
  .hero { min-height: min(100svh, 980px); display: flex; flex-direction: column; }
  .hero__inner { flex: 1; grid-template-columns: 1.1fr 0.9fr; align-items: center; text-align: left; justify-items: start; gap: 72px; padding-block: 32px 72px; }
  .hero__copy { order: -1; }
  .hero__book { width: 400px; justify-self: center; }
  .hero__tagline, .hero__hook { margin-left: 0; }
  .hero__actions { justify-content: flex-start; }
  .hero__glow { left: 72%; top: 0; }
}

/* ---------- Torn paper edges ---------- */
.tear {
  position: absolute; left: 0; right: 0; top: 0; height: 26px; translate: 0 -99%; pointer-events: none;
  -webkit-mask: var(--tear) bottom / 1200px 26px repeat-x; mask: var(--tear) bottom / 1200px 26px repeat-x;
  --tear: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 26' preserveAspectRatio='none'%3E%3Cpath d='M0 26V14l18-3 22 5 16-7 25 4 14-6 27 8 20-5 19 3 26-9 17 6 24-2 13 7 28-8 21 4 18-6 25 7 14-3 30 2 17-8 23 6 19-2 26 7 15-9 22 5 27-3 16 6 24-7 20 4 13-5 29 8 18-4 22 3 16-7 27 6 21-3 14 5 26-8 19 6 23-2 17 4 28-7 15 5 24-3 20 6 18-8 26 5 22-2 13 6 29-5 16 3 25-6 21 7 19-4 24 2 17-6 22 7V26z'/%3E%3C/svg%3E");
}
.tear--paper { background: var(--paper); }
.tear--dark { background: var(--ink-950); }
.paper--deep .tear--paper { background: var(--paper-deep); }

/* ---------- Reading: the prologue ---------- */
.read { padding: clamp(72px, 10vw, 128px) var(--gutter) clamp(80px, 10vw, 140px); }
.page { max-width: 36rem; margin-inline: auto; }
.page__head { text-align: center; margin-bottom: 48px; }
.page__title { font-size: clamp(2.5rem, 1.6rem + 3.5vw, 3.75rem); letter-spacing: -0.02em; font-weight: 600; margin-bottom: 0.4em; }
.page__note { font: 400 0.85rem/1.5 var(--sans); color: var(--text-muted); max-width: 30em; margin: 0 auto; }

.prose--book { font-size: clamp(1.125rem, 1.05rem + 0.3vw, 1.25rem); line-height: 1.75; font-variation-settings: "opsz" 16; }
.prose--book p { margin: 0; }
.prose--book p + p { text-indent: 1.5em; }
.dropcap::first-letter {
  float: left; font-size: 4.6em; line-height: 0.82; font-weight: 600; padding: 0.06em 0.1em 0 0; color: var(--sepia);
  font-variation-settings: "opsz" 72;
}
.dropcap + p { clear: left; }
.prologue__last { text-indent: 0 !important; margin-top: 1.4em !important; font-size: 1.35em; font-style: italic; text-align: center; }

/* The home page shows the opening lines, then fades out into the "Keep reading" button. */
.read__fade { -webkit-mask-image: linear-gradient(#000 30%, transparent); mask-image: linear-gradient(#000 30%, transparent); }
.gate { margin-top: 1.5rem; text-align: center; }
.gate::before { content: "· · ·"; display: block; letter-spacing: 0.6em; color: var(--text-muted); margin-bottom: 2rem; }
.gate__fine { text-indent: 0 !important; margin-top: 0.9em !important; font: 400 0.9rem/1.5 var(--sans); color: var(--text-muted); }

.endcard { margin-top: 64px; padding-top: 40px; border-top: 1px solid var(--paper-line); text-align: center; }
.endcard p { text-indent: 0 !important; }
.endcard__lead { font-size: 1.4rem; line-height: 1.4; font-style: italic; margin-bottom: 0.6em !important; }
.endcard p:not(.label):not(.endcard__lead) { font-size: 1rem; color: var(--text-muted); margin-bottom: 1.6em !important; }
.endcard__actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }

/* ---------- Forms ---------- */
.form { display: grid; gap: 16px; }
.form__row { display: grid; gap: 16px; }
@media (min-width: 560px) { .form__row { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: 6px; min-width: 0; }
.field label, .field legend { font: 500 0.8rem/1.3 var(--sans); letter-spacing: 0.05em; color: var(--text-muted); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 12px 14px; font-size: 16px; font-family: var(--sans);
  background: var(--field); border: 1px solid var(--field-line); border-radius: var(--radius); color: var(--text);
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 96px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--sepia); box-shadow: 0 0 0 3px rgba(122, 74, 34, 0.18); }
.field input[aria-invalid="true"], .field select[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: var(--error); }
.field__error { font: 500 0.85rem/1.4 var(--sans); color: var(--error); margin: 0; }
.field__error:empty { display: none; }
.field--choice { border: 0; padding: 0; margin: 0; }
.choices { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 4px; }
.choice { position: relative; cursor: pointer; }
.choice input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.choice span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border: 1px solid var(--field-line); border-radius: 999px; font: 500 0.9rem var(--sans); background: var(--field); transition: background-color .2s, color .2s, border-color .2s; }
.choice input:checked + span { background: var(--solid-bg); color: var(--solid-fg); border-color: var(--solid-bg); }
.choice input:focus-visible + span { outline: 2px solid var(--sepia); outline-offset: 2px; }
.opt { color: var(--text-muted); font-weight: 400; letter-spacing: 0; }
.form__fine { font: 400 0.8rem var(--sans); color: var(--text-muted); text-align: center; margin: 0; }
.form__status { font: 500 0.9rem/1.4 var(--sans); margin: 0; min-height: 0; }
.form__status:empty { display: none; }
.form__status.is-error { color: var(--error); }
.form.is-done > :not(.form__status):not([type="hidden"]) { display: none; }
.form.is-done .form__status { font: 400 1.1rem/1.5 var(--serif); padding: 4px 0; }
.hp { position: absolute !important; left: -9999px; }

.form--dark .field label, .form--dark .field legend, .form--dark .opt { color: var(--on-dark-muted); }
.form--dark .field input, .form--dark .field select, .form--dark .field textarea { background: rgba(240, 233, 222, 0.06); border-color: rgba(240, 233, 222, 0.5); color: var(--on-dark); }
.form--dark .field select option { color: var(--text); }
.form--dark .field input:focus, .form--dark .field select:focus, .form--dark .field textarea:focus { border-color: var(--copper); box-shadow: 0 0 0 3px rgba(210, 162, 115, 0.2); }
.form--dark .form__status.is-error { color: #f0a58f; }

.form--inline { grid-template-columns: 1fr; align-items: end; }
@media (min-width: 560px) { .form--inline { grid-template-columns: 1fr auto; } .form--inline .form__status { grid-column: 1 / -1; } }

/* ---------- Story ---------- */
.story { padding: clamp(96px, 12vw, 160px) 0; }
.story__title { font-size: clamp(2.4rem, 1.2rem + 5.2vw, 5.25rem); font-weight: 600; letter-spacing: -0.03em; line-height: 1.02; margin-bottom: clamp(64px, 9vw, 120px); max-width: 22ch; }
.story__title span { display: block; }
.story__turn { font-style: italic; font-weight: 400; color: var(--copper); }
.beats { display: grid; gap: 40px; counter-reset: beat; margin-bottom: clamp(72px, 10vw, 120px); }
@media (min-width: 860px) { .beats { grid-template-columns: repeat(3, 1fr); gap: 48px; } }
.beat { border-top: 1px solid var(--line-dark); padding-top: 24px; }
.beat__num { display: block; font: 500 0.75rem var(--sans); letter-spacing: 0.2em; color: var(--copper); margin-bottom: 18px; }
.beat h3 { font-size: 1.7rem; font-weight: 500; margin-bottom: 0.6em; letter-spacing: -0.01em; }
.beat p { color: var(--on-dark-muted); font-size: 1.05rem; line-height: 1.65; margin: 0; }
.beat blockquote { margin: 20px 0 0; padding-left: 16px; border-left: 2px solid var(--copper); }
.beat blockquote p { color: var(--on-dark); font-style: italic; font-size: 1.1rem; }


.story__close { text-align: center; max-width: 38rem; margin-inline: auto; }
.story__kicker { font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.25rem) !important; color: var(--on-dark) !important; font-weight: 500; letter-spacing: -0.01em; line-height: 1.2; margin: 0 0 1em; }

/* ---------- Sound familiar? ---------- */
.familiar { padding: clamp(96px, 12vw, 150px) 0; }
.wrap--reading { max-width: 760px; }
.familiar .section-head { margin-bottom: 0; }
.pull { margin: 40px 0 0; padding: 0; border: 0; }
.pull p { font-size: clamp(1.5rem, 1.2rem + 1.4vw, 2.1rem); line-height: 1.25; font-weight: 500; letter-spacing: -0.015em; margin: 0 0 14px; color: var(--text); }
.pull footer { margin: 0; }
.part { margin-top: clamp(56px, 8vw, 88px); padding-top: clamp(32px, 5vw, 48px); border-top: 1px solid var(--line-strong); }
.part__head { margin-bottom: 28px; }
.part__head .section-title--sm { margin-bottom: 0.3em; }
.part__head p:not(.label) { color: var(--text-muted); margin: 0; font-size: 1.05rem; }
.part__body p { font-size: 1.1rem; }
.sources { font: 400 0.85rem/1.6 var(--sans); color: var(--text-muted) !important; margin: 1.2em 0 0; }
.paper a:not(.btn):not(.tile) { color: var(--sepia); text-decoration-thickness: 1px; text-underline-offset: 3px; overflow-wrap: anywhere; }
.paper a:not(.btn):not(.tile):hover { color: var(--text); }

.shatter__list { border-top: 1px solid var(--paper-line); }
/* Every row shares one letter column, so the letters stack on a single center line and the text starts at the same place. */
.shatter__list li { display: grid; grid-template-columns: clamp(2.75rem, 1.9rem + 3.4vw, 4.5rem) 1fr; gap: clamp(12px, 2vw, 24px); align-items: center; padding: 18px 0; border-bottom: 1px solid var(--paper-line); }
.shatter__list b { font: 700 clamp(2.25rem, 1.5rem + 3vw, 3.75rem)/1 var(--serif); color: var(--sepia); text-align: center; font-variation-settings: "opsz" 72; }
.shatter__list span { color: var(--text-muted); font-size: 1rem; line-height: 1.5; }
.shatter__list strong { display: block; font-size: 1.15rem; font-weight: 600; color: var(--text); margin-bottom: 2px; }
.shatter__also { margin: 16px 0 0; color: var(--text-muted); font-style: italic; }

.steps { counter-reset: step; display: grid; gap: 12px; }
.step { counter-increment: step; display: grid; grid-template-columns: 32px 1fr; column-gap: 16px; padding: 24px; background: var(--card); border: 1px solid var(--paper-line); border-radius: 8px; }
.step::before { content: counter(step); grid-row: 1 / span 3; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--sepia); color: var(--sepia); font: 500 0.85rem var(--sans); }
.step h4 { font-size: 1.3rem; font-weight: 600; margin-bottom: 0.4em; }
.step p { color: var(--text-muted); font-size: 1rem; margin-bottom: 0; }
.step .form { margin-top: 16px; }
.links li + li { margin-top: 10px; }
.links a { font-size: 1.05rem; }
.disclaimer { margin-top: 32px; font: 400 0.9rem/1.6 var(--sans); color: var(--text-muted); border-left: 2px solid var(--paper-line); padding-left: 16px; max-width: 44rem; }

/* ---------- Pass it on ---------- */
.pass { padding: clamp(110px, 14vw, 180px) 0; text-align: center; }
.pass__title { font-size: clamp(2.25rem, 1.4rem + 3.6vw, 4rem); letter-spacing: -0.025em; line-height: 1.02; font-weight: 600; margin-bottom: 0.6em; }
.pass__title em { color: var(--copper); font-weight: 400; }
.pass__body p { font-size: 1.2rem; line-height: 1.6; color: var(--on-dark-muted); }
.pass__body { margin-bottom: 40px; }
.share { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.chip {
  display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 18px;
  border: 1px solid rgba(240, 233, 222, 0.5); border-radius: 999px; background: none; cursor: pointer;
  color: var(--on-dark); text-decoration: none; font: 500 0.9rem var(--sans); letter-spacing: 0.03em;
  transition: border-color .2s, background-color .2s;
}
.chip:hover { border-color: var(--on-dark); background: rgba(240, 233, 222, 0.06); }

/* ---------- Book clubs ---------- */
.clubs { padding: clamp(96px, 12vw, 150px) 0; }
.clubs__grid { display: grid; gap: 16px; margin-bottom: clamp(64px, 8vw, 96px); }
@media (min-width: 860px) { .clubs__grid { grid-template-columns: repeat(3, 1fr); gap: 20px; } }
.tile {
  display: flex; flex-direction: column; gap: 10px; padding: 28px; text-decoration: none;
  background: var(--card); border: 1px solid var(--paper-line); border-radius: 8px; color: var(--text);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
}
.tile:hover { transform: translateY(-3px); border-color: var(--field-line); box-shadow: 0 24px 48px -32px rgba(60, 40, 20, 0.45); }
.tile:hover .tile__go svg { transform: translateX(4px); }
.tile__icon { color: var(--sepia); margin-bottom: 8px; }
.tile h3 { font-size: 1.6rem; font-weight: 600; }
.tile p { color: var(--text-muted); margin: 0; flex: 1; }
.tile__go { display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; font: 500 0.85rem var(--sans); letter-spacing: 0.08em; text-transform: uppercase; color: var(--sepia); }

.request { display: grid; gap: 32px; padding-top: 48px; border-top: 1px solid var(--paper-line); }
@media (min-width: 900px) { .request { grid-template-columns: 0.8fr 1.2fr; gap: 80px; } }
.request__intro p { color: var(--text-muted); font-size: 1.1rem; }

/* ---------- About ---------- */
.about { padding: clamp(96px, 12vw, 150px) 0; }
.about__grid { display: grid; gap: 48px; align-items: center; }
@media (min-width: 900px) { .about__grid { grid-template-columns: 440px 1fr; gap: 88px; } }
.about__photo { margin: 0; border-radius: 6px; overflow: hidden; max-width: 440px; box-shadow: 0 40px 80px -48px rgba(40, 24, 10, 0.6); }
.about__photo img { aspect-ratio: 4 / 5; object-fit: cover; width: 100%; }
.about__copy { max-width: 36rem; }
.about__copy p:not(.label):not(.lede) { color: var(--text-muted); font-size: 1.1rem; }
.about__links { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 1.6em; font: 500 0.95rem var(--sans); overflow-wrap: anywhere; min-width: 0; }
.about__copy { min-width: 0; }

/* ---------- Speaking ---------- */
.speak { padding: clamp(96px, 12vw, 150px) 0; }
.topics { display: grid; border-top: 1px solid var(--line-dark); margin-bottom: clamp(64px, 8vw, 96px); }
@media (min-width: 860px) { .topics { grid-template-columns: 1fr 1fr; column-gap: 64px; } }
.topics li { padding: 28px 0; border-bottom: 1px solid var(--line-dark); }
.topics h3 { font-size: clamp(1.35rem, 1.15rem + 0.8vw, 1.75rem); font-weight: 500; letter-spacing: -0.01em; margin-bottom: 0.4em; }
.topics p { color: var(--on-dark-muted); margin: 0; }
.speak__grid { display: grid; gap: 48px; }
@media (min-width: 900px) { .speak__grid { grid-template-columns: 0.8fr 1.2fr; gap: 80px; } }
.speak__kit h3 { font-size: 1.9rem; margin-bottom: 0.5em; }
.speak__kit p { color: var(--on-dark-muted); font-size: 1.1rem; margin-bottom: 1.4em; }
.formats { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 32px; }
.formats li { font: 500 0.8rem var(--sans); letter-spacing: 0.05em; padding: 8px 14px; border-radius: 999px; background: rgba(240, 233, 222, 0.07); color: var(--on-dark-muted); }

/* ---------- Footer ---------- */
.foot { padding: clamp(72px, 9vw, 112px) 0 calc(40px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line-dark); background: var(--ink-900); }
.foot__signup { display: grid; gap: 24px; padding-bottom: 56px; border-bottom: 1px solid var(--line-dark); margin-bottom: 48px; }
@media (min-width: 900px) { .foot__signup { grid-template-columns: 1fr 1fr; gap: 80px; align-items: end; } }
.foot__title { font-size: clamp(2rem, 1.5rem + 2vw, 2.75rem); letter-spacing: -0.02em; margin-bottom: 0.3em; }
.foot__signup p { color: var(--on-dark-muted); margin: 0; }
.foot__cols { display: grid; gap: 36px; margin-bottom: 48px; }
@media (min-width: 760px) { .foot__cols { grid-template-columns: 2fr 1fr 1fr; } }
.foot__brand { font: 600 1.6rem var(--serif); margin-bottom: 8px; }
.foot__brand i { font-weight: 400; color: var(--on-dark-muted); }
.foot__muted { color: var(--on-dark-muted); }
.foot__cols ul li { margin: 0; }
.foot__cols a, .foot__cols .soon { display: inline-block; overflow-wrap: anywhere; padding: 11px 0; font: 400 0.95rem var(--sans); color: var(--on-dark); text-decoration: none; }
.foot__cols a:hover { color: var(--copper); }
.foot__cols .soon { color: var(--on-dark-muted); }
.foot__cols .soon em { font-style: normal; font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase; margin-left: 8px; opacity: 0.8; }
.foot__fine { font: 400 0.8rem/1.6 var(--sans); color: var(--on-dark-muted); margin: 0; }

/* ---------- Preorder dialog ---------- */
.buy { border: 0; padding: 0; margin: auto auto 0; width: 100%; max-width: 100%; max-height: 90dvh; background: var(--paper); color: var(--text); border-radius: 16px 16px 0 0; box-shadow: 0 -20px 60px rgba(0,0,0,.4); }
.buy::backdrop { background: rgba(8, 7, 6, 0.6); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.buy[open] { animation: sheet .35s var(--ease); }
.buy[open]::backdrop { animation: fade .3s; }
@keyframes sheet { from { transform: translateY(40px); opacity: 0; } }
@keyframes fade { from { opacity: 0; } }
@media (min-width: 640px) {
  .buy { margin: auto; max-width: 480px; border-radius: 12px; }
  @keyframes sheet { from { transform: translateY(12px) scale(0.98); opacity: 0; } }
}
.buy__inner { display: grid; grid-template-columns: 72px 1fr; gap: 20px 18px; align-items: center; padding: 28px 24px calc(24px + env(safe-area-inset-bottom)); position: relative; }
.buy__cover { width: 72px; height: auto; border-radius: 2px; box-shadow: 0 10px 20px -8px rgba(0,0,0,.5); }
.buy__inner .label { margin-bottom: 6px; }
.buy__title { font-size: 1.6rem; letter-spacing: -0.01em; padding-right: 32px; }
.buy__list { grid-column: 1 / -1; border-top: 1px solid var(--paper-line); }
.buy__list li { border-bottom: 1px solid var(--paper-line); }
.buy__list a, .buy__list .soon { display: flex; align-items: center; justify-content: space-between; min-height: 56px; padding: 0 4px; font: 500 1rem var(--sans); text-decoration: none; color: var(--text); }
.buy__list a:hover { color: var(--sepia); }
.buy__list .soon { color: var(--text-muted); }
.buy__list .soon em { font: 400 0.8rem var(--sans); font-style: normal; letter-spacing: 0.06em; text-transform: uppercase; }
.buy__notify { display: none; grid-column: 1 / -1; }
.buy__form { grid-column: 1 / -1; }
.buy__form .buy__note { margin-bottom: 4px; }
.buy--soon .buy__notify { display: grid; }
.buy--soon .buy__list { order: 1; }
.buy--soon .buy__note { order: 2; }
.buy--soon .buy__note a { display: none; }
.buy__note { grid-column: 1 / -1; font: 400 0.9rem/1.5 var(--sans); color: var(--text-muted); margin: 0; }
.buy__note a { color: var(--sepia); }
.buy__close { position: absolute; top: 14px; right: 14px; width: 44px; height: 44px; display: grid; place-items: center; background: none; border: 0; cursor: pointer; color: var(--text); border-radius: 50%; }
.buy__close:hover { background: rgba(30, 25, 21, 0.06); }

/* ---------- Scroll reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-delay: 0ms !important; transition-duration: 0.01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
  .hero__cracks path { stroke-dashoffset: 0; }
  .hero__book picture { transform: none; }
}

/* ---------- Secondary pages (guide, media kit, privacy) ---------- */
.doc { background: var(--paper); min-height: 100vh; }
.doc__bar { background: var(--ink-950); color: var(--on-dark); }
.doc__bar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: var(--nav-h); }
.doc__bar a { text-decoration: none; }
.doc__back { font: 500 0.85rem var(--sans); letter-spacing: 0.06em; color: var(--on-dark-muted); display: inline-flex; align-items: center; gap: 8px; min-height: 44px; }
.doc .doc__bar .doc__back { color: var(--on-dark-muted); }
.doc .doc__bar .doc__back:hover { color: var(--on-dark); }
.doc__main { padding: clamp(56px, 8vw, 96px) 0 clamp(72px, 10vw, 120px); }
.doc__main .wrap { max-width: 760px; }
.doc h1 { font-size: clamp(2.5rem, 1.6rem + 3.6vw, 4rem); letter-spacing: -0.025em; margin-bottom: 0.4em; }
.doc h2 { font-size: 1.75rem; margin: 2.2em 0 0.6em; letter-spacing: -0.01em; }
.doc p, .doc li { font-size: 1.1rem; }
.doc .lede { color: var(--text); }
.doc ol.qs { counter-reset: q; border-top: 1px solid var(--paper-line); }
.doc ol.qs li { counter-increment: q; display: grid; grid-template-columns: 44px 1fr; padding: 18px 0; border-bottom: 1px solid var(--paper-line); line-height: 1.55; }
.doc ol.qs li::before { content: counter(q, decimal-leading-zero); font: 500 0.8rem/2 var(--sans); letter-spacing: 0.12em; color: var(--sepia); }
.doc ul.bullets { list-style: disc; padding-left: 1.2em; }
.doc ul.bullets li { margin-bottom: 0.5em; }
.doc .facts { display: grid; grid-template-columns: max-content 1fr; gap: 10px 24px; font: 400 1rem var(--sans); }
.doc .facts dt { color: var(--text-muted); }
.doc .facts dd { margin: 0; }
.doc .assets { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 20px; margin-top: 16px; }
.doc .assets figure { margin: 0; }
.doc .assets img { border-radius: 4px; aspect-ratio: 4 / 5; object-fit: cover; width: 100%; }
.doc .assets figcaption { font: 400 0.9rem var(--sans); margin-top: 8px; }
.doc .prose--book p { font-size: inherit; }
.doc a:not(.btn) { color: var(--sepia); text-underline-offset: 3px; }

@media print {
  .doc__bar, .no-print { display: none !important; }
  .doc, body { background: #fff; }
  .doc__main { padding: 0; }
  .doc ol.qs li { break-inside: avoid; }
}
