/* ───────────────────────── Tokens ───────────────────────── */
:root {
  --board: #121212;
  --board-2: #1b1b1a;
  --chalk: #efede6;
  --chalk-dim: rgba(239, 237, 230, 0.62);
  --chalk-faint: rgba(239, 237, 230, 0.14);
  --red: #d7262f;
  --red-deep: #b01c24;
  --paper: #ecebe6;
  --paper-2: #e2e0d9;
  --ink: #161616;
  --ink-dim: #4a4945;
  --sand: #ddccb3;

  --f-display: 'Amatic SC', 'Comic Sans MS', cursive;
  --f-hand: 'Caveat', 'Segoe Print', cursive;
  --f-serif: 'EB Garamond', Georgia, 'Times New Roman', serif;
  --f-sans: 'Poppins', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);

  /* Chalk-dust & paper-fibre grain, drawn once as SVG noise. */
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--board);
  color: var(--chalk);
  font-family: var(--f-serif);
  font-size: clamp(1.06rem, 0.98rem + 0.3vw, 1.2rem);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, p, figure, blockquote, dl, dd, ol { margin: 0; }
ol { padding: 0; list-style: none; }

:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; border-radius: 4px; }

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

/* ───────────────────────── Surfaces ───────────────────────── */
.board {
  position: relative;
  background-color: var(--board);
  background-image:
    radial-gradient(120% 80% at 20% 0%, rgba(255, 255, 255, 0.045), transparent 60%),
    radial-gradient(90% 70% at 100% 100%, rgba(255, 255, 255, 0.03), transparent 60%);
  color: var(--chalk);
}
.board::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: var(--grain);
  opacity: 0.07;
  pointer-events: none;
}

.paper {
  position: relative;
  background: var(--paper);
  color: var(--ink);
}
.paper::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: var(--grain);
  opacity: 0.18;
  mix-blend-mode: multiply;
  filter: invert(1);
  pointer-events: none;
}

.sand { position: relative; background: var(--sand); color: var(--ink); }

.section { padding-block: clamp(80px, 11vw, 150px); }

.torn {
  position: absolute;
  left: 0;
  top: -46px;
  width: 100%;
  height: 48px;
  z-index: 2;
  filter: drop-shadow(0 -3px 3px rgba(0, 0, 0, 0.22));
  pointer-events: none;
}

/* ───────────────────────── Type helpers ───────────────────────── */
.kicker {
  font-family: var(--f-sans);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 1.1rem;
}
.kicker--chalk { color: var(--chalk-dim); }
.kicker--chalk::before {
  content: '';
  display: inline-block;
  width: 26px;
  height: 2px;
  margin-right: 12px;
  vertical-align: middle;
  background: var(--red);
}

.chalk-title {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: clamp(3rem, 2rem + 4.5vw, 5.4rem);
  line-height: 0.95;
  letter-spacing: 0.01em;
  text-shadow: 0 0 1px rgba(255, 255, 255, 0.35);
}

/* ───────────────────────── Buttons ───────────────────────── */
.btn {
  --bg: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55em;
  min-height: 50px;
  padding: 0.8em 1.6em;
  border: 1.5px solid transparent;
  border-radius: 999px;
  background: var(--bg);
  font-family: var(--f-sans);
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.25s var(--ease-out), background-color 0.25s, color 0.25s, border-color 0.25s, box-shadow 0.25s;
}
.btn:active { transform: scale(0.97); }
.btn--sm { min-height: 40px; padding: 0.5em 1.15em; font-size: 0.82rem; }
.btn--block { width: 100%; }

.btn--red { --bg: var(--red); color: #fff; box-shadow: 0 10px 30px -12px rgba(215, 38, 47, 0.7); }
.btn--red:hover { --bg: var(--red-deep); transform: translateY(-2px); }

.btn--ghost { border-color: rgba(239, 237, 230, 0.4); color: var(--chalk); }
.btn--ghost:hover { border-color: var(--chalk); background: rgba(239, 237, 230, 0.06); transform: translateY(-2px); }

.btn--ink { --bg: var(--ink); color: var(--paper); }
.btn--ink:hover { --bg: #000; transform: translateY(-2px); }

/* ───────────────────────── Nav ───────────────────────── */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  padding-block: 18px;
  transition: background-color 0.35s, padding 0.35s, box-shadow 0.35s, backdrop-filter 0.35s;
}
.nav--solid {
  padding-block: 10px;
  background: rgba(18, 18, 18, 0.82);
  backdrop-filter: blur(12px) saturate(1.2);
  -webkit-backdrop-filter: blur(12px) saturate(1.2);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06);
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.nav__brand {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 1.75rem;
  line-height: 1;
  color: var(--chalk);
  text-decoration: none;
  white-space: nowrap;
}
.nav__links { display: flex; align-items: center; gap: clamp(14px, 2.4vw, 30px); }
.nav__links a:not(.btn) {
  font-family: var(--f-sans);
  font-size: 0.84rem;
  color: var(--chalk-dim);
  text-decoration: none;
  transition: color 0.2s;
}
.nav__links a:not(.btn):hover { color: var(--chalk); }
@media (max-width: 680px) { .nav__links a:not(.btn) { display: none; } }

/* ───────────────────────── Hero ───────────────────────── */
.hero {
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding-block: 120px 110px;
  overflow: hidden;
  isolation: isolate;
}
.hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: clamp(24px, 5vw, 72px);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--f-sans);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--chalk-dim);
  margin-bottom: clamp(16px, 2.5vw, 28px);
  animation: rise 0.9s var(--ease-out) both;
}
.eyebrow__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 0 0 rgba(215, 38, 47, 0.6);
  animation: pulse 2.4s infinite;
}

.hero__title {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: clamp(5rem, 2.4rem + 11vw, 11.5rem);
  line-height: 0.82;
  letter-spacing: 0.01em;
  color: var(--chalk);
  text-shadow: 0 0 1px rgba(255, 255, 255, 0.5), 0 0 18px rgba(255, 255, 255, 0.06);
}
.hero__line {
  display: block;
  animation: chalk-in 1.4s var(--ease-out) both;
}
.hero__line + .hero__line { animation-delay: 0.25s; }

.hero__stories {
  position: relative;
  display: inline-block;
  margin: clamp(10px, 1.5vw, 18px) 0 0 clamp(150px, 24vw, 330px);
  font-family: var(--f-serif);
  font-style: italic;
  font-size: clamp(1.9rem, 1.3rem + 2vw, 3rem);
  line-height: 1;
  color: var(--red);
  animation: rise 1s 0.6s var(--ease-out) both;
}
.swoosh { position: absolute; left: -6%; bottom: -22px; width: 112%; height: 24px; overflow: visible; }
.swoosh path {
  fill: none;
  stroke: var(--chalk);
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-dasharray: 240;
  stroke-dashoffset: 240;
  animation: draw 0.9s 1.1s var(--ease-out) forwards;
}
.swoosh path + path { animation-delay: 1.35s; stroke-width: 1.8; opacity: 0.8; }

.hero__lede {
  max-width: 30ch;
  margin-top: clamp(36px, 4vw, 52px);
  font-size: clamp(1.2rem, 1rem + 0.7vw, 1.5rem);
  line-height: 1.45;
  color: var(--chalk-dim);
  animation: rise 1s 0.8s var(--ease-out) both;
}
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; animation: rise 1s 0.95s var(--ease-out) both; }
.hero__prices {
  margin-top: 18px;
  font-family: var(--f-sans);
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  color: rgba(239, 237, 230, 0.5);
  animation: rise 1s 1.05s var(--ease-out) both;
}

.hero__book {
  --rx: 0deg;
  --ry: 0deg;
  position: relative;
  justify-self: center;
  width: min(100%, 400px);
  perspective: 1200px;
  animation: book-in 1.4s 0.2s var(--ease-out) both;
}
.hero__book img {
  position: relative;
  z-index: 1;
  transform: rotateX(var(--rx)) rotateY(var(--ry));
  transition: transform 0.6s var(--ease-out);
  filter: drop-shadow(0 40px 50px rgba(0, 0, 0, 0.6)) drop-shadow(0 0 60px rgba(239, 237, 230, 0.05));
  animation: float 7s ease-in-out 1.6s infinite;
}
.hero__shadow {
  position: absolute;
  left: 12%;
  right: 6%;
  bottom: -18px;
  height: 36px;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(0, 0, 0, 0.75), transparent);
  filter: blur(6px);
  animation: shadow 7s ease-in-out 1.6s infinite;
}

.hero__scroll {
  position: absolute;
  left: 50%;
  bottom: 26px;
  z-index: 1;
  translate: -50% 0;
  display: grid;
  justify-items: center;
  gap: 8px;
  font-family: var(--f-hand);
  font-size: 1.1rem;
  color: var(--chalk-dim);
  text-decoration: none;
}
.hero__scroll::after {
  content: '';
  width: 1.5px;
  height: 36px;
  background: linear-gradient(var(--chalk-dim), transparent);
  animation: drip 2.2s ease-in-out infinite;
  transform-origin: top;
}

/* Ambient chalk scribbles */
.scribbles { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.scribble {
  position: absolute;
  font-family: var(--f-hand);
  font-size: clamp(1rem, 0.8rem + 0.8vw, 1.6rem);
  color: var(--chalk);
  white-space: nowrap;
  opacity: 0;
  rotate: var(--rot);
  animation: scribble 9s linear forwards;
}

/* ───────────────────────── The book ───────────────────────── */
.about {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: clamp(32px, 6vw, 96px);
}
.about .kicker,
.about .statement { grid-column: 1 / -1; }
.statement {
  max-width: 22ch;
  font-family: var(--f-serif);
  font-weight: 400;
  font-size: clamp(2.1rem, 1.3rem + 3.2vw, 4.2rem);
  line-height: 1.06;
  letter-spacing: -0.015em;
  margin-bottom: clamp(40px, 6vw, 80px);
}
.statement em { color: var(--red); }

.about__body p + p { margin-top: 1.1em; }
.about__body { color: var(--ink-dim); }
.dropcap::first-letter {
  float: left;
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 5.2em;
  line-height: 0.72;
  padding: 0.08em 0.1em 0 0;
  color: var(--ink);
}

.facts {
  align-self: start;
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid rgba(22, 22, 22, 0.18);
}
.facts div { padding: 18px 0; border-bottom: 1px solid rgba(22, 22, 22, 0.18); }
.facts div:nth-child(odd) { padding-right: 16px; }
.facts dt {
  font-family: var(--f-sans);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-dim);
}
.facts dd { margin-top: 4px; font-size: 1.2rem; }

/* ───────────────────────── Stories ───────────────────────── */
.section-head { max-width: 640px; margin-bottom: clamp(48px, 6vw, 80px); }
.section-head__sub { margin-top: 18px; color: var(--chalk-dim); font-size: 1.15rem; }

.notes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(22px, 3vw, 40px);
  align-items: start;
}
.note {
  position: relative;
  padding: 40px 28px 30px;
  background: var(--paper);
  color: var(--ink);
  border-radius: 2px;
  rotate: var(--tilt);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.4) inset, 0 24px 50px -24px rgba(0, 0, 0, 0.8);
  transition: rotate 0.5s var(--ease-out), translate 0.5s var(--ease-out), box-shadow 0.5s;
  /* Ragged bottom edge, like a page torn from an exercise book. */
  clip-path: polygon(0 0, 100% 0, 100% 97%, 94% 99.2%, 86% 97.6%, 77% 99.6%, 66% 97.8%, 55% 99.4%, 44% 97.5%, 33% 99.5%, 22% 97.7%, 11% 99.3%, 4% 97.6%, 0 99%);
}
.note:nth-child(2) { margin-top: 48px; }
.note:nth-child(3) { margin-top: 18px; }
.note::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: var(--grain);
  opacity: 0.16;
  mix-blend-mode: multiply;
  filter: invert(1);
  pointer-events: none;
}
.note:hover { rotate: 0deg; translate: 0 -6px; }
.note__tape {
  position: absolute;
  top: -10px;
  left: 50%;
  width: 96px;
  height: 26px;
  translate: -50% 0;
  rotate: -3deg;
  background: rgba(236, 226, 200, 0.75);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
}
.note__num {
  position: absolute;
  top: 18px;
  right: 22px;
  font-family: var(--f-serif);
  font-style: italic;
  font-size: 1.5rem;
  color: var(--red);
}
.note__kicker {
  font-family: var(--f-sans);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-dim);
}
.note__title {
  margin: 10px 0 14px;
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 2.4rem;
  line-height: 0.95;
}
.note__text { font-size: 1.04rem; line-height: 1.6; color: #33322f; }
.note__scrawl {
  margin-top: 18px;
  font-family: var(--f-hand);
  font-size: 1.35rem;
  color: var(--red);
  rotate: -2deg;
}

/* ───────────────────────── Loko's wall ───────────────────────── */
.wall {
  padding-block: clamp(110px, 15vw, 200px);
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}
.wall__scrawl {
  position: absolute;
  inset: -10% -5%;
  display: flex;
  flex-wrap: wrap;
  align-content: center;
  justify-content: center;
  gap: 18px 42px;
  rotate: -4deg;
  pointer-events: none;
}
.wall__scrawl span {
  font-family: var(--f-hand);
  font-size: clamp(1.3rem, 1rem + 1.5vw, 2.4rem);
  color: var(--chalk);
  opacity: 0.08;
  white-space: nowrap;
  animation: drift 26s ease-in-out infinite alternate;
  animation-delay: calc(var(--i) * -3s);
}
.wall__scrawl span:nth-child(3n + 1) { opacity: 0.13; }
.wall__inner { position: relative; z-index: 1; text-align: center; }
.wall__q {
  max-width: 26ch;
  margin-inline: auto;
  font-family: var(--f-serif);
  font-size: clamp(1.9rem, 1.1rem + 3.2vw, 3.9rem);
  line-height: 1.12;
  letter-spacing: -0.01em;
  text-shadow: 0 0 40px var(--board), 0 0 12px var(--board);
}
.wall__q em { color: var(--red); }

/* ───────────────────────── Praise ───────────────────────── */
.praise__fig { position: relative; max-width: 900px; text-align: center; }
.praise__mark {
  display: block;
  height: 0.55em;
  font-family: var(--f-serif);
  font-size: clamp(7rem, 5rem + 8vw, 12rem);
  line-height: 1;
  color: var(--red);
}
.praise blockquote {
  font-family: var(--f-serif);
  font-style: italic;
  font-size: clamp(1.5rem, 1rem + 2vw, 2.5rem);
  line-height: 1.3;
  letter-spacing: -0.005em;
}
.praise blockquote em { font-style: normal; }
.praise figcaption {
  display: grid;
  gap: 2px;
  margin-top: 32px;
  font-family: var(--f-sans);
  font-size: 0.9rem;
}
.praise figcaption strong { font-weight: 600; letter-spacing: 0.04em; }
.praise figcaption span { color: var(--ink-dim); }

/* ───────────────────────── Author ───────────────────────── */
.author__grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(40px, 7vw, 110px);
  align-items: center;
}
.polaroid {
  position: relative;
  justify-self: center;
  width: min(100%, 400px);
  padding: 14px 14px 0;
  background: var(--paper);
  color: var(--ink);
  rotate: -3deg;
  box-shadow: 0 40px 60px -30px rgba(0, 0, 0, 0.85);
  transition: rotate 0.6s var(--ease-out);
}
.polaroid:hover { rotate: -1deg; }
.polaroid img { aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 30%; filter: saturate(0.92) contrast(1.03); }
.polaroid figcaption { padding: 14px 4px 18px; font-family: var(--f-hand); font-size: 1.6rem; text-align: center; }
.polaroid__tape {
  position: absolute;
  top: -12px;
  left: 50%;
  z-index: 1;
  width: 120px;
  height: 30px;
  translate: -50% 0;
  rotate: 4deg;
  background: rgba(236, 226, 200, 0.7);
}

.author__tag {
  margin-top: 16px;
  font-size: clamp(1.25rem, 1rem + 0.8vw, 1.6rem);
  font-style: italic;
}
.author__tag span { color: var(--red); }
.author__bio { margin-top: 22px; max-width: 60ch; color: var(--chalk-dim); }

.timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px 22px;
  margin-top: 40px;
  padding-top: 26px;
  border-top: 1px dashed rgba(239, 237, 230, 0.25);
}
.timeline li { display: grid; gap: 4px; }
.timeline__when { font-family: var(--f-hand); font-size: 1.5rem; line-height: 1; color: var(--red); }
.timeline__what { font-family: var(--f-sans); font-size: 0.82rem; line-height: 1.5; color: var(--chalk-dim); }

/* ───────────────────────── Get the book ───────────────────────── */
.get__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 6vw, 80px);
  align-items: center;
}
.get__visual img {
  width: 100%;
  /* Melt the studio backdrop into the section colour. */
  -webkit-mask-image:
    linear-gradient(to right, transparent, #000 10%, #000 90%, transparent),
    linear-gradient(to bottom, transparent, #000 10%, #000 90%, transparent);
  -webkit-mask-composite: source-in;
  mask-image:
    linear-gradient(to right, transparent, #000 10%, #000 90%, transparent),
    linear-gradient(to bottom, transparent, #000 10%, #000 90%, transparent);
  mask-composite: intersect;
}
.get__title {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: clamp(3.4rem, 2.4rem + 4vw, 6rem);
  line-height: 0.9;
}
.get__sub { margin-top: 12px; color: #4f4637; font-size: 1.2rem; }

.options { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 32px; }
.option {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 26px 22px 20px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.55);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.8) inset, 0 20px 40px -28px rgba(60, 40, 10, 0.5);
}
.option--dark { background: var(--board); color: var(--chalk); }
.option__badge {
  position: absolute;
  top: -11px;
  right: 18px;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--red);
  color: #fff;
  font-family: var(--f-sans);
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.option__head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.option__label {
  font-family: var(--f-sans);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0.75;
}
.option__price {
  font-family: var(--f-sans);
  font-weight: 600;
  font-size: clamp(1.5rem, 1.2rem + 1vw, 1.9rem);
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}
.option .btn { padding-inline: 1em; white-space: nowrap; }
.option__desc { margin: 12px 0 22px; font-size: 1.02rem; line-height: 1.5; flex: 1; }
.option__note {
  min-height: 2.6em;
  margin-top: 10px;
  font-family: var(--f-sans);
  font-size: 0.74rem;
  line-height: 1.45;
  opacity: 0.7;
  text-align: center;
}

/* ───────────────────────── Footer ───────────────────────── */
.footer { padding-block: 64px 40px; border-top: 1px solid rgba(255, 255, 255, 0.06); }
.footer__inner { display: grid; justify-items: center; gap: 10px; text-align: center; }
.footer__brand { font-family: var(--f-display); font-weight: 700; font-size: 2.6rem; line-height: 1; }
.footer__line { font-family: var(--f-hand); font-size: 1.3rem; color: var(--chalk-dim); }
.footer__links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 24px; margin-top: 14px; }
.footer__links a { font-family: var(--f-sans); font-size: 0.82rem; color: var(--chalk-dim); text-decoration: none; }
.footer__links a:hover { color: var(--chalk); }
.footer__copy { margin-top: 26px; font-family: var(--f-sans); font-size: 0.72rem; color: rgba(239, 237, 230, 0.4); }

/* ───────────────────────── Order placeholder ───────────────────────── */
.soon { min-height: 100svh; display: grid; place-items: center; padding-block: 120px; }
.soon__inner { position: relative; z-index: 1; display: grid; justify-items: center; text-align: center; }
.soon__title { max-width: 12ch; }
.soon__swoosh { position: static; width: 220px; height: 28px; margin: 10px 0 24px; }
.soon__text { max-width: 46ch; margin-bottom: 32px; color: var(--chalk-dim); }

/* ───────────────────────── Reveal on scroll ───────────────────────── */
[data-reveal] {
  opacity: 0;
  translate: 0 28px;
  transition: opacity 0.9s var(--ease-out) var(--d, 0ms), translate 0.9s var(--ease-out) var(--d, 0ms);
}
[data-reveal].is-in { opacity: 1; translate: 0 0; }
/* Notes reveal with their own transition so hover stays snappy afterwards. */
.note[data-reveal].is-in { transition: opacity 0.9s var(--ease-out) var(--d, 0ms), translate 0.5s var(--ease-out), rotate 0.5s var(--ease-out); }

/* ───────────────────────── Keyframes ───────────────────────── */
@keyframes rise { from { opacity: 0; translate: 0 18px; } }
@keyframes chalk-in {
  from { opacity: 0; clip-path: inset(0 100% 0 0); filter: blur(4px); }
  to { opacity: 1; clip-path: inset(0 -5% 0 0); filter: blur(0); }
}
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes book-in { from { opacity: 0; translate: 40px 30px; rotate: 6deg; } }
@keyframes float { 50% { translate: 0 -14px; } }
@keyframes shadow { 50% { scale: 0.86; opacity: 0.7; } }
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(215, 38, 47, 0.55); }
  70%, 100% { box-shadow: 0 0 0 10px rgba(215, 38, 47, 0); }
}
@keyframes drip { 0% { scale: 1 0; } 50% { scale: 1 1; } 100% { scale: 1 0; transform-origin: bottom; } }
@keyframes scribble {
  0% { opacity: 0; clip-path: inset(0 100% 0 0); }
  4% { opacity: var(--scribble-o, 0.26); }
  22% { clip-path: inset(0 0 0 0); }
  72% { opacity: var(--scribble-o, 0.26); clip-path: inset(0 0 0 0); }
  100% { opacity: 0; clip-path: inset(0 0 0 0); filter: blur(2px); }
}
@keyframes drift { to { translate: 40px 0; } }

/* ───────────────────────── Responsive ───────────────────────── */
@media (max-width: 960px) {
  .hero { padding-block: 100px 90px; }
  .hero__inner { grid-template-columns: 1fr; gap: 0; }
  /* On phones, put the cover right under the title so it's on the first screen. */
  .hero__copy { display: contents; }
  .eyebrow { order: 1; justify-self: start; }
  .hero__title { order: 2; }
  .hero__stories { order: 3; justify-self: start; }
  .hero__book { order: 4; width: min(54vw, 230px); margin-top: 44px; }
  .hero__lede { order: 5; }
  .hero__ctas { order: 6; }
  .hero__prices { order: 7; }
  .polaroid { width: min(86%, 400px); }
  .scribbles { --scribble-o: 0.12; }
  .notes { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; }
  .note:nth-child(n) { margin-top: 0; }
  .author__grid,
  .get__grid { grid-template-columns: 1fr; }
  .get__visual { max-width: 460px; margin-inline: auto; }
}
@media (max-width: 720px) {
  .about { grid-template-columns: 1fr; }
  .facts { margin-top: 40px; }
  .timeline { grid-template-columns: 1fr 1fr; }
  .options { grid-template-columns: 1fr; gap: 24px; }
  .hero__scroll { display: none; }
}
@media (max-width: 420px) {
  .hero__ctas .btn { flex: 1 1 100%; }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .scribble { animation: none !important; opacity: 0.2; }
  [data-reveal] { opacity: 1; translate: none; }
}
