/* V8 · Media kit
   Follows the book launch media kit (Oct 2026): deep navy ground, one red
   accent, Lato Black all-caps headlines, red rules and top bars, numbered
   navy cards, faint diagonal hatching. */

:root {
  --navy: #0b1022;
  --navy-2: #0f1530;
  --card: #161c38;
  --card-2: #1b2244;
  --red: #e3141f;
  --red-2: #ff2b36;
  --white: #ffffff;
  --text: #d4d8e6;
  --muted: #9aa1bb;
  --line: rgba(255, 255, 255, 0.12);
  --sans: 'Lato', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --wrap: 1180px;
  --radius: 10px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--navy);
  color: var(--text);
  font: 400 17px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, p, figure, blockquote, ol, ul, dl, dd { margin: 0; padding: 0; }
ol, ul { list-style: none; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 40px; }
@media (max-width: 640px) { .wrap { padding: 0 16px; } }

.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 50; padding: 10px 16px; background: var(--red); color: #fff; font-weight: 700; }
.skip:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--red-2); outline-offset: 3px; }

.red { color: var(--red); }

/* ---------- Red top bar + header ---------- */
.redbar { height: 8px; background: var(--red); }
.topbar { position: sticky; top: 0; z-index: 20; background: rgba(11, 16, 34, 0.92); backdrop-filter: blur(8px); border-bottom: 1px solid transparent; transition: border-color 0.3s; }
.topbar.is-scrolled { border-bottom-color: var(--line); }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.wordmark { font: 900 18px/1 var(--sans); letter-spacing: 0.04em; text-transform: uppercase; color: var(--white); text-decoration: none; }
.wordmark span { color: var(--red); }
.topbar-cta { padding: 11px 18px; border-radius: 6px; background: var(--red); color: #fff; font: 700 13px/1 var(--sans); letter-spacing: 0.06em; text-transform: uppercase; text-decoration: none; transition: background 0.2s; }
.topbar-cta:hover { background: var(--red-2); }
/* Mobile: keep the full "Preorder the Book" label (Cat3 wording); this rule sits after the base rule so it wins */
@media (max-width: 640px) { .wordmark { font-size: 14px; letter-spacing: 0.02em; } .topbar-inner { gap: 12px; } .topbar-cta { padding: 10px 12px; font-size: 11px; letter-spacing: 0.04em; white-space: nowrap; flex-shrink: 0; } }
@media (max-width: 359px) { .wordmark { font-size: 12px; } .topbar-cta { padding: 9px 10px; font-size: 10px; letter-spacing: 0.02em; } }

/* ---------- Shared type ---------- */
.page-head { display: flex; align-items: center; justify-content: space-between; padding-bottom: 14px; margin-bottom: 36px; border-bottom: 1px solid var(--line); }
.eyebrow { font: 700 13px/1 var(--sans); letter-spacing: 0.08em; text-transform: uppercase; color: var(--white); }
.page-no { font: 700 14px/1 var(--sans); color: var(--red); }
.label { font: 700 15px/1.3 var(--sans); letter-spacing: 0.04em; text-transform: uppercase; color: var(--red); }
.label-lg { font-size: 18px; margin-bottom: 18px; }

.title { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; margin: 18px 0 26px; font: 900 clamp(44px, 6.4vw, 84px)/0.98 var(--sans); text-transform: uppercase; color: var(--white); letter-spacing: -0.005em; }
.title-bar { display: inline-block; padding: 0.12em 0.32em 0.1em; background: var(--red); border-radius: 6px; }
.title-sm { font-size: clamp(34px, 4.4vw, 54px); margin: 12px 0 22px; }

.subtitle { max-width: 560px; margin-bottom: 18px; font: italic 400 clamp(19px, 1.9vw, 23px)/1.45 var(--sans); color: var(--white); }
.lede { max-width: 540px; color: var(--text); }

.h2 { font: 900 clamp(26px, 3vw, 34px)/1.1 var(--sans); text-transform: uppercase; color: var(--white); }
.h2-xl { font-size: clamp(36px, 5vw, 58px); }
.ruled { padding-bottom: 14px; margin-bottom: 28px; border-bottom: 3px solid var(--red); }
.intro { max-width: 760px; margin: 14px 0 40px; color: var(--text); }

.rule { width: 100%; max-width: 420px; height: 4px; margin: 22px 0; border: 0; background: var(--red); }

/* ---------- Diagonal hatching (media kit) ---------- */
.diagonals {
  position: absolute; top: 0; right: 0; width: 46%; height: 100%; pointer-events: none;
  background: repeating-linear-gradient(-60deg, transparent 0 34px, rgba(255, 255, 255, 0.06) 34px 35px);
  -webkit-mask-image: linear-gradient(to left, #000 20%, transparent 95%);
  mask-image: linear-gradient(to left, #000 20%, transparent 95%);
}

/* ---------- Hero: cinematic portrait ---------- */
.hero { position: relative; display: flex; min-height: calc(100vh - 72px); overflow: hidden; }
@supports (height: 100svh) { .hero { min-height: calc(100svh - 72px); } }
.hero > .wrap { position: relative; z-index: 1; }
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.hero-glow { position: absolute; right: -6%; top: -4%; width: min(66vw, 900px); aspect-ratio: 1; border-radius: 50%; background: radial-gradient(closest-side, rgba(227, 20, 31, 0.42), rgba(227, 20, 31, 0.1) 55%, transparent); }
.hero-word { position: absolute; left: 50%; bottom: -0.14em; transform: translateX(calc(-50% + var(--wx, 0px))); font: 900 clamp(120px, 21vw, 330px)/0.8 var(--sans); letter-spacing: -0.02em; text-transform: uppercase; white-space: nowrap; color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, 0.08); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: 24px; align-items: center; }
.hero-copy { position: relative; z-index: 3; padding: 28px 0 80px; }
.hero-h { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; margin: 16px 0 26px; font: 900 clamp(42px, 5.3vw, 80px)/0.96 var(--sans); letter-spacing: -0.01em; text-transform: uppercase; color: var(--white); }
.hero-h .title-bar { margin-top: 10px; white-space: nowrap; }
.hero-book { display: flex; flex-direction: column; gap: 5px; max-width: 520px; margin-bottom: 16px; padding-left: 16px; border-left: 3px solid var(--red); }
.hero-book b { font: 900 15px/1.2 var(--sans); letter-spacing: 0.1em; text-transform: uppercase; color: var(--white); }
.hero-book span { font: italic 400 15px/1.45 var(--sans); color: var(--muted); }
.hero .lede { max-width: 520px; font-size: 18px; }
.hero .form-card { max-width: 620px; margin-top: 26px; border: 1px solid var(--line); border-top: 4px solid var(--red); background: rgba(22, 28, 56, 0.72); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.hero .signup { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr) auto; gap: 10px; }
.hero .fields { display: contents; }
.hero .form-label, .hero .consent, .hero .msg { grid-column: 1 / -1; }
.hero .form-label { margin-bottom: 2px; }
.hero .consent { margin-top: 0; }
.hero .btn { width: auto; height: 52px; padding: 0 22px; white-space: nowrap; }

.hero-visual { position: relative; align-self: stretch; min-height: 560px; }
.hero-portrait { position: absolute; right: -8%; bottom: 0; height: min(94%, 780px); width: auto; max-width: none; translate: 0 var(--py, 0px); filter: grayscale(0.2) contrast(1.06);
  -webkit-mask-image: linear-gradient(to bottom, #000 68%, transparent 97%), linear-gradient(to right, transparent, #000 26%); -webkit-mask-composite: source-in;
  mask-image: linear-gradient(to bottom, #000 68%, transparent 97%), linear-gradient(to right, transparent, #000 26%); mask-composite: intersect; }
.hero-book3d { position: absolute; left: 4%; bottom: 14%; z-index: 2; width: clamp(160px, 15vw, 230px); perspective: 1000px; translate: 0 var(--by, 0px); }
.hero-book3d img { width: 100%; filter: drop-shadow(0 34px 40px rgba(0, 0, 0, 0.65)); transform: rotate(-5deg) rotateY(var(--ry, 0deg)) rotateX(var(--rx, 0deg)); transition: transform 0.6s var(--ease); }
.chip { position: absolute; z-index: 2; display: flex; flex-direction: column; gap: 5px; padding: 12px 16px; border: 1px solid var(--line); border-left: 3px solid var(--red); border-radius: 8px; background: rgba(15, 21, 48, 0.72); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); font: 700 10px/1 var(--sans); letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.chip b { font: 900 18px/1 var(--sans); letter-spacing: 0.02em; color: var(--white); }
.chip-a { right: 0; top: 44%; }
.chip-b { left: 12%; top: 17%; }
.scroll-cue { position: absolute; left: 50%; bottom: 22px; z-index: 2; width: 26px; height: 42px; margin-left: -13px; border: 2px solid rgba(255, 255, 255, 0.35); border-radius: 14px; }
.scroll-cue span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--red); }
@keyframes cue { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(14px); opacity: 0; } 100% { opacity: 0; } }
.motion .scroll-cue span { animation: cue 1.8s var(--ease) infinite; }
.release-chip { position: absolute; left: 50%; bottom: -22px; transform: translateX(-50%); white-space: nowrap; padding: 13px 22px; border-radius: 6px; background: var(--red); color: #fff; font: 700 14px/1 var(--sans); letter-spacing: 0.05em; text-transform: uppercase; box-shadow: 0 10px 24px rgba(227, 20, 31, 0.35); }

/* ---------- Form ---------- */
.form-card { margin-top: 32px; padding: 24px; border-radius: var(--radius); background: var(--card); border-top: 4px solid var(--red); max-width: 560px; }
.form-label { margin-bottom: 14px; font: 700 14px/1.2 var(--sans); letter-spacing: 0.05em; text-transform: uppercase; color: var(--white); }
.fields { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 10px; margin-bottom: 10px; }
.field input {
  width: 100%; height: 52px; padding: 0 16px; border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.16); background: var(--navy-2); color: var(--white);
  font: 400 16px/1 var(--sans);
}
.field input::placeholder { color: var(--muted); }
.field input:focus { outline: none; border-color: var(--red-2); }
.field[data-invalid] input { border-color: var(--red-2); }
.btn { display: flex; align-items: center; justify-content: center; width: 100%; height: 54px; border: 0; border-radius: 6px; background: var(--red); color: #fff; font: 900 15px/1 var(--sans); letter-spacing: 0.06em; text-transform: uppercase; cursor: pointer; transition: background 0.2s, transform 0.2s; }
.btn:hover { background: var(--red-2); }
.btn:active { transform: translateY(1px); }
.btn[disabled] { opacity: 0.7; cursor: progress; }
.consent { margin-top: 12px; font-size: 13px; color: var(--muted); }
.consent a { color: var(--text); }
.msg { margin-top: 8px; font-size: 14px; }
.msg:empty { display: none; }
.msg[data-state="err"] { color: var(--red-2); }
.done { outline: none; }
.done-title { font: 900 22px/1.2 var(--sans); text-transform: uppercase; color: var(--white); margin-bottom: 8px; }
.done-sub { color: var(--text); }

/* ---------- Featured on ---------- */
.featured { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--navy-2); }
.featured-inner { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 48px; padding-top: 28px; padding-bottom: 28px; }
.featured-sub { margin-top: 4px; font-size: 14px; color: var(--muted); }
.marquee { display: flex; overflow: hidden; background: var(--navy-2); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.logos { display: flex; flex: none; align-items: center; gap: 56px; padding-right: 56px; }
@keyframes marquee { to { transform: translateX(-100%); } }
.motion .logos { animation: marquee 32s linear infinite; }
.motion .marquee:hover .logos { animation-play-state: paused; }
.logos li { flex: none; }
.logos img { height: 40px; width: auto; }

/* ---------- Sections ---------- */
.section { position: relative; padding: 88px 0; }
.section-tight { padding-top: 0; }
.section-alt { background: var(--navy-2); overflow: hidden; }

/* Framework */
.framework { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card { padding: 26px 24px 30px; border-radius: var(--radius); background: var(--card); }
.card h3 { margin-bottom: 10px; font: 900 22px/1.2 var(--sans); text-transform: uppercase; color: var(--white); }
.card h3 span { color: var(--red); margin-right: 4px; }
.card p { color: var(--text); }


/* Author */
.author { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); gap: 56px; align-items: center; }
.name { font: 900 clamp(56px, 8vw, 104px)/0.92 var(--sans); text-transform: uppercase; color: var(--white); }
.creds { margin-top: 16px; font: 400 17px/1.5 var(--sans); text-transform: uppercase; color: var(--white); letter-spacing: 0.02em; }
.bio { max-width: 560px; color: var(--text); }
.author-photo { justify-self: end; width: 100%; max-width: 400px; }
.author-photo { border-bottom: 6px solid var(--red); }
.author-photo img { width: 100%; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 64px; padding-top: 32px; border-top: 1px solid var(--line); }
.stats dt { font: 900 clamp(34px, 4vw, 48px)/1 var(--sans); color: var(--white); }
.stats dd { margin-top: 8px; font: 400 14px/1.3 var(--sans); text-transform: uppercase; letter-spacing: 0.03em; color: var(--red); }

/* Podcasts */
.pods { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.pod { padding: 22px 24px 26px; border-radius: 0 0 var(--radius) var(--radius); background: var(--card); border-top: 6px solid var(--red); }
.pod-head { display: flex; gap: 16px; margin-bottom: 18px; }
.pod-head img { flex: none; width: 96px; height: 96px; object-fit: cover; }
.pod-head b { display: block; margin-top: 4px; font: 400 19px/1.3 var(--sans); color: var(--white); }
.pod-head span { display: block; margin-top: 6px; font-size: 15px; color: var(--muted); }
.pod a { color: var(--text); font-size: 15px; text-underline-offset: 3px; }
.pod a:hover { color: var(--white); }

/* Closing */
.closing-card { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: center; padding: 48px; border-radius: var(--radius); background: var(--card); border-top: 4px solid var(--red); }
.closing .form-card { margin-top: 8px; padding: 0; background: none; border: 0; max-width: 620px; }

/* Footer */
.footer { border-top: 1px solid var(--line); }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 24px; padding-bottom: 32px; font-size: 14px; color: var(--muted); }
.footer a { text-decoration: none; }
.footer a:hover { color: var(--white); }
.footer-right { display: flex; gap: 22px; }
.footer-site { font-weight: 700; color: var(--white); }

/* Reveal (classes toggled by /assets/js/main.js) */
.js .reveal-on-scroll { opacity: 0; transform: translateY(18px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.js .reveal-on-scroll.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .reveal-on-scroll { opacity: 1; transform: none; transition: none; } }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .author { grid-template-columns: 1fr; gap: 48px; }
  .hero { min-height: 0; }
  .hero-grid { grid-template-columns: 1fr; gap: 0; }
  .hero-visual { order: -1; min-height: 0; height: 460px; }
  .hero-portrait { left: 50%; right: auto; height: 100%; translate: -42% var(--py, 0px); -webkit-mask-image: linear-gradient(to bottom, #000 70%, transparent 97%); mask-image: linear-gradient(to bottom, #000 70%, transparent 97%); }
  .hero-book3d { left: 4%; bottom: 6%; width: 150px; }
  .chip-a { right: 2%; top: 58%; }
  .chip-b { left: 2%; top: 14%; }
  .hero-copy { padding: 8px 0 72px; }
  .scroll-cue { display: none; }
  .author-photo { justify-self: start; max-width: 340px; }
  .pods { grid-template-columns: 1fr; }
  .featured-inner { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .closing-card { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .hero-visual { height: 400px; }
  .hero-book3d { width: 120px; }
  .chip { padding: 9px 12px; }
  .chip b { font-size: 15px; }
  .chip-a { top: 62%; }
  .hero .signup { grid-template-columns: 1fr; }
  .hero-h { font-size: clamp(36px, 11vw, 48px); }
  .hero-h .title-bar { white-space: normal; }
  .hero .btn { width: 100%; }
  .page-head { margin-bottom: 26px; }
  .section { padding: 64px 0; }
  .section-tight { padding-top: 0; }
  .framework { grid-template-columns: 1fr; }
  .fields { grid-template-columns: 1fr; }
  .form-card { padding: 20px 16px; }
  .logos { gap: 36px; padding-right: 36px; }
  .logos img { height: 32px; }
  .stats { grid-template-columns: repeat(2, 1fr); row-gap: 28px; }
  .closing-card { padding: 24px 16px; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
  .diagonals { width: 100%; }
}

/* =====================================================================
   Motion (v8/motion.js adds .motion on <html> unless reduced motion)
   ===================================================================== */

/* Scroll progress under the header */
.progress { position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; pointer-events: none; }
.progress span { display: block; height: 100%; background: var(--red); transform: scaleX(0); transform-origin: 0 50%; }

/* Hero intro: fade/rise, masked headline, red bar wipe */
@keyframes rise-in { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
@keyframes mask-up { from { transform: translateY(105%); } to { transform: none; } }
@keyframes wipe { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -10px; } }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(227, 20, 31, 0.55); } 70%, 100% { box-shadow: 0 0 0 16px rgba(227, 20, 31, 0); } }
@keyframes drift { from { background-position: 0 0; } to { background-position: 140px 0; } }
@keyframes sheen { from { transform: translateX(-120%) skewX(-20deg); } to { transform: translateX(260%) skewX(-20deg); } }

.mask { display: block; overflow: hidden; padding-bottom: 0.04em; }
.mask > span { display: inline-block; }
.title-bar.wipe { position: relative; background: none; }
.title-bar.wipe::before { content: ''; position: absolute; inset: 0; border-radius: inherit; background: var(--red); transform-origin: 0 50%; }
.title-bar.wipe > span { position: relative; display: inline-block; }

.motion .intro-in { opacity: 0; animation: rise-in 0.9s var(--ease) forwards; animation-delay: calc(var(--d, 0) * 110ms + 120ms); }
.motion .intro-rise { transform: translateY(105%); animation: mask-up 0.9s var(--ease) forwards; animation-delay: calc(var(--d, 0) * 110ms + 120ms); }
.motion .title-bar.wipe::before { transform: scaleX(0); animation: wipe 0.75s var(--ease) forwards; animation-delay: calc(var(--d, 0) * 110ms + 120ms); }
.motion .title-bar.wipe > span { opacity: 0; animation: rise-in 0.7s var(--ease) forwards; animation-delay: calc(var(--d, 0) * 110ms + 520ms); }
@keyframes portrait-in { from { opacity: 0; transform: translateY(70px) scale(0.96); } to { opacity: 1; transform: none; } }
@keyframes book-in { from { opacity: 0; transform: translateY(90px) rotate(14deg); } to { opacity: 1; transform: none; } }
@keyframes chip-in { from { opacity: 0; transform: translateY(16px) scale(0.85); } to { opacity: 1; transform: none; } }
@keyframes glow-breathe { 0%, 100% { opacity: 0.85; transform: scale(1); } 50% { opacity: 1; transform: scale(1.06); } }
.motion .hero-portrait { opacity: 0; animation: portrait-in 1.5s var(--ease) 0.15s forwards; }
.motion .hero-book3d { opacity: 0; animation: book-in 1.3s var(--ease) 0.85s forwards; }
.motion .hero-book3d img { animation: float 7s ease-in-out 2.2s infinite; }
.motion .chip { opacity: 0; animation: chip-in 0.8s var(--ease) forwards, float 6s ease-in-out infinite; animation-delay: calc(var(--d, 0) * 110ms + 300ms), calc(var(--d, 0) * 300ms); }
.motion .hero-glow { opacity: 0; animation: fade 1.6s ease 0.1s forwards, glow-breathe 8s ease-in-out 1.7s infinite; }
.motion .hero-word { opacity: 0; animation: fade 2s ease 0.6s forwards; }

/* Soft red glow behind covers */
.cover-glow { position: absolute; inset: 12% 8% 4%; border-radius: 50%; background: radial-gradient(closest-side, rgba(227, 20, 31, 0.45), transparent); filter: blur(30px); }
.motion .release-chip { animation: pulse 2.4s ease-out 1.8s infinite; }

/* Background diagonals drift slowly */
.motion .diagonals { animation: drift 18s linear infinite; }

/* Button sheen on hover */
.btn, .topbar-cta { position: relative; overflow: hidden; }
.btn .sheen { position: absolute; top: 0; left: 0; width: 35%; height: 100%; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.35), transparent); transform: translateX(-120%) skewX(-20deg); pointer-events: none; }
.btn:hover .sheen { animation: sheen 0.9s var(--ease); }
.btn:hover, .topbar-cta:hover { box-shadow: 0 10px 28px rgba(227, 20, 31, 0.35); }

/* Scroll reveals (staggered by --i inside [data-stagger]) */
.motion [data-anim] { opacity: 0; transform: translateY(26px); transition: opacity 0.85s var(--ease), transform 0.85s var(--ease); transition-delay: calc(var(--i, 0) * 110ms); }
.motion [data-anim].in { opacity: 1; transform: none; }
.motion [data-anim="draw"] { opacity: 1; transform: scaleX(0); transform-origin: 0 50%; transition: transform 1s var(--ease) 0.2s; }
.motion [data-anim="draw"].in { transform: scaleX(1); }
.ruled { position: relative; border-bottom: 0; }
.ruled::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--red); transform-origin: 0 50%; }
.motion .ruled::after { transform: scaleX(0); transition: transform 1.1s var(--ease) 0.25s; }
.motion .ruled.in::after { transform: scaleX(1); }

/* Cards: lift on hover, red top border grows */
.card, .pod { transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease), background-color 0.3s, opacity 0.85s var(--ease); }
.card:hover, .pod:hover,
.motion .card.in:hover, .motion .pod.in:hover { transform: translateY(-6px); transition-delay: 0s; background: var(--card-2); box-shadow: 0 22px 44px rgba(0, 0, 0, 0.35); }
.card { position: relative; }
.card::before { content: ''; position: absolute; left: 0; right: 0; top: -4px; height: 4px; background: var(--red-2); transform: scaleX(0); transform-origin: 0 50%; transition: transform 0.5s var(--ease); }
.card::before { top: 0; border-radius: var(--radius) var(--radius) 0 0; }
.card:hover::before { transform: scaleX(1); }


/* Podcasts: artwork zoom, listen arrow */
.pod-head img { transition: transform 0.6s var(--ease); }
.pod:hover .pod-head img { transform: scale(1.06); }
.pod-head { overflow: visible; }
.pod a { display: block; text-decoration: none; }
.pod .listen { display: block; margin-bottom: 6px; font: 900 12px/1 var(--sans); letter-spacing: 0.12em; text-transform: uppercase; color: var(--red); }
.pod a:hover { text-decoration: underline; text-underline-offset: 3px; }
.pod .arrow { display: inline-block; margin-left: 8px; color: var(--red); transition: transform 0.35s var(--ease); }
.pod:hover .arrow { transform: translateX(6px); }

/* Logos: lift on hover */
.logos img { transition: transform 0.4s var(--ease), opacity 0.4s; opacity: 0.85; }
.logos li:hover img { transform: translateY(-3px); opacity: 1; }
.motion .logos li.in:hover img { transition-delay: 0s; }

/* Author photo: slow zoom on hover */
.author-photo { overflow: hidden; }
.author-photo img { transition: transform 1.2s var(--ease); }
.author-photo:hover img { transform: scale(1.04); }

/* =====================================================================
   A look inside: book opens on scroll
   motion.js pins .booktour-stage and sets --open (book) and --t, --lift,
   --shade (each leaf). The CSS defaults are the open last spread, which is
   what shows without JS or under reduced motion.
   ===================================================================== */
.booktour { --paper: #f7f3ea; --paper-2: #efe9dc; --ink: #141a33; --ink-2: #4a5068; position: relative; background: radial-gradient(120% 70% at 50% 55%, #141b3b 0%, var(--navy) 62%); border-top: 1px solid var(--line); }
.booktour-stage { display: flex; flex-direction: column; align-items: center; padding: 88px 0; }
.motion .booktour { height: 460vh; }
.motion .booktour-stage { position: sticky; top: 64px; height: calc(100vh - 64px); height: calc(100svh - 64px); padding: 3vh 0 3.5vh; justify-content: space-between; overflow: hidden; }
.booktour-head { text-align: center; }
.booktour-head .h2 { margin-top: 10px; }
.motion .booktour-head .h2 { font-size: clamp(30px, 4.2vw, 52px); }

.book-scene { flex: 1; display: grid; place-items: center; width: 100%; margin: 48px 0; perspective: 1800px; }
.motion .book-scene { margin: 0; }

.book {
  --pw: min(340px, 42vw, calc((100vh - 400px) / 1.5));
  --open: 1;
  position: relative; width: calc(var(--pw) * 2); height: calc(var(--pw) * 1.5);
  font-size: calc(var(--pw) * 0.046);
  transform:
    translateX(calc((var(--open) - 1) * var(--pw) * 0.5))
    rotateX(calc(var(--open) * 12deg))
    rotateY(calc((1 - var(--open)) * -22deg))
    rotateZ(calc((1 - var(--open)) * 2deg));
}
@supports (height: 100svh) { .book { --pw: min(340px, 42vw, calc((100svh - 400px) / 1.5)); } }

/* Red glow and floor shadow follow the book as it opens */
.book-glow { position: absolute; top: 4%; bottom: 4%; left: calc(50% - var(--open) * 44%); right: 6%; border-radius: 50%; background: radial-gradient(closest-side, rgba(227, 20, 31, 0.42), transparent); filter: blur(40px); pointer-events: none; }
.book-shadow { position: absolute; bottom: -9%; height: 12%; left: calc(50% - var(--open) * 50% + 4%); right: 2%; border-radius: 50%; background: radial-gradient(closest-side, rgba(0, 0, 0, 0.7), transparent); filter: blur(10px); pointer-events: none; }

.leaf, .book-board { position: absolute; top: 0; left: 50%; width: 50%; height: 100%; }

/* Hardcover back board; the paper block sits inside it so the boards overhang */
.book-board { border-radius: 0 5px 5px 0; background: linear-gradient(to right, #060914, #141a3a 4%, #10152f); box-shadow: inset -1px 0 0 rgba(255, 255, 255, 0.08), 0 34px 70px rgba(0, 0, 0, 0.6), 0 8px 18px rgba(0, 0, 0, 0.35); }
.book-base { position: absolute; top: 1.6%; bottom: 1.6%; left: 50%; width: calc(50% - var(--pw) * 0.022); }

/* Spine: reads as the book's thickness while closed, folds away as it opens */
.book-spine { position: absolute; top: 0; left: 50%; width: calc(var(--pw) * 0.075); height: 100%; transform: translateX(-100%); border-radius: 5px 0 0 5px; background: linear-gradient(to right, #04060d, #1b2350 45%, #0b1024 80%, #04060d); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.05); opacity: clamp(0, 1 - var(--open) * 3, 1); }

/* Page block: stacked edges peek out to the side and bottom */
/* Page block edges (right stack under the base page, left stack under turned pages) */
.book-base { border-radius: 0 3px 3px 0; background: var(--paper-2); box-shadow: 1px 1px 0 #e2dccd, 2px 1px 0 #f4f0e6, 3px 2px 0 #d9d2c1, 4px 2px 0 #efe9dc, 5px 3px 0 #cfc7b4, 0 6px 14px rgba(0, 0, 0, 0.35); }
.leaf-paper .face.back { box-shadow: -1px 1px 0 #e2dccd, -2px 1px 0 #f4f0e6, -3px 2px 0 #d9d2c1, -4px 2px 0 #efe9dc, -5px 3px 0 #cfc7b4, 0 6px 14px rgba(0, 0, 0, 0.35); }
.leaf-paper .face { inset: 1.6% calc(var(--pw) * 0.022) 1.6% 0; }

/* Shadow a lifting leaf throws on the page below it */
.cast { position: absolute; top: 1.6%; bottom: 1.6%; width: calc(50% - var(--pw) * 0.022); z-index: 25; pointer-events: none; }
.cast-r { left: 50%; opacity: var(--cast-r, 0); background: linear-gradient(to right, rgba(8, 12, 28, 0.42), rgba(8, 12, 28, 0.1) 22%, transparent 55%); }
.cast-l { right: 50%; opacity: var(--cast-l, 0); background: linear-gradient(to left, rgba(8, 12, 28, 0.42), rgba(8, 12, 28, 0.1) 22%, transparent 55%); }

.leaf {
  --t: 1; --lift: 0; --shade: 0;
  transform-origin: 0 50%; transform-style: preserve-3d;
  transform: perspective(2400px) translateZ(calc(var(--lift) * 46px)) rotateY(calc(var(--t) * -180deg)) scaleY(calc(1 + var(--lift) * 0.012));
  will-change: transform;
}

.face { position: absolute; inset: 0; overflow: hidden; -webkit-backface-visibility: hidden; backface-visibility: hidden; }
.face.back { transform: rotateY(180deg); }
/* Light falls off across a turning page */
.leaf .face::after { content: ''; position: absolute; inset: 0; pointer-events: none; opacity: var(--shade); }
.leaf .face.front::after { background: linear-gradient(to left, rgba(10, 14, 30, 0.75), rgba(10, 14, 30, 0.1) 70%, rgba(255, 255, 255, 0.15)); }
.leaf .face.back::after { background: linear-gradient(to right, rgba(10, 14, 30, 0.75), rgba(10, 14, 30, 0.1) 70%, rgba(255, 255, 255, 0.15)); }
.leaf-paper .face::after { border-radius: inherit; }

/* Cover gloss sweeps across while the book waits to be opened */
.gloss { position: absolute; inset: 0; z-index: 2; pointer-events: none; background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, 0.22) 48%, transparent 60%); background-size: 260% 100%; background-position: 130% 0; }
@keyframes gloss { 0%, 55% { background-position: 130% 0; } 100% { background-position: -30% 0; } }
.motion .booktour:not(.is-started) .gloss { animation: gloss 4.2s ease-in-out 0.6s infinite; }

/* Idle float, separate from the scroll-driven transform */
@keyframes book-float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -8px; } }
.motion .book { animation: book-float 6.5s ease-in-out infinite; }

/* Cover */
.cover-face { border-radius: 0 5px 5px 0; background: var(--navy-2); box-shadow: inset -1px 0 0 rgba(255, 255, 255, 0.12); }
.cover-face img { border-radius: inherit; }
.cover-face img { width: 100%; height: 100%; object-fit: cover; }
.cover-face::before { content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none; background:
  linear-gradient(to right, rgba(0, 0, 0, 0.45), rgba(255, 255, 255, 0.14) 2.5%, rgba(0, 0, 0, 0.18) 4.5%, transparent 8%),
  linear-gradient(115deg, rgba(255, 255, 255, 0.16), transparent 38%); }

/* Endpaper: inside of the cover */
.endpaper { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.6em; border-radius: 5px 0 0 5px; box-shadow: 0 34px 70px rgba(0, 0, 0, 0.6); text-align: center; background:
  linear-gradient(to left, rgba(0, 0, 0, 0.5), transparent 10%),
  repeating-linear-gradient(-60deg, transparent 0 1.6em, rgba(255, 255, 255, 0.06) 1.6em calc(1.6em + 1px)),
  var(--navy-2); }
.endpaper .pg-rule { margin: 0 0 0.6em; }
.end-name { font: 900 1.7em/1 var(--sans); letter-spacing: 0.06em; text-transform: uppercase; color: var(--white); }
.end-sub { font: 700 0.62em/1 var(--sans); letter-spacing: 0.22em; text-transform: uppercase; color: var(--muted); }

/* Paper pages: faint grain, gutter shadow on the spine side */
.page { display: flex; flex-direction: column; padding: 13% 11% 8%; color: var(--ink); background-color: var(--paper); }
.page-r { border-radius: 0 3px 3px 0; background-image: linear-gradient(to right, rgba(60, 45, 20, 0.22), rgba(60, 45, 20, 0.05) 6%, transparent 14%), radial-gradient(rgba(0, 0, 0, 0.035) 1px, transparent 1px); background-size: auto, 3px 3px; }
.page-l { border-radius: 3px 0 0 3px; background-image: linear-gradient(to left, rgba(60, 45, 20, 0.22), rgba(60, 45, 20, 0.05) 6%, transparent 14%), radial-gradient(rgba(0, 0, 0, 0.035) 1px, transparent 1px); background-size: auto, 3px 3px; }
.page-l { padding-left: 11%; padding-right: 13%; }
.page-r { padding-left: 13%; }

.pg-rule { display: block; width: 3em; height: 0.28em; background: var(--red); }
.pg-label { font: 900 0.62em/1 var(--sans); letter-spacing: 0.2em; text-transform: uppercase; color: var(--red); }
.pg-h { margin: 0.55em 0 1em; font: 900 1.45em/1.05 var(--sans); text-transform: uppercase; color: var(--ink); }
.running { display: flex; justify-content: space-between; margin-top: auto; padding-top: 1em; border-top: 1px solid rgba(20, 26, 51, 0.12); font: 700 0.52em/1 var(--sans); letter-spacing: 0.2em; text-transform: uppercase; color: #8e92a3; }
.page-l .running { justify-content: flex-start; }

/* Title page */
.title-page { justify-content: center; text-align: center; align-items: center; }
.tp-title { display: flex; flex-direction: column; align-items: center; gap: 0.18em; font: 900 1.75em/1 var(--sans); text-transform: uppercase; color: var(--ink); }
.tp-bar { padding: 0.14em 0.3em 0.1em; border-radius: 0.12em; background: var(--red); color: #fff; }
.tp-sub { max-width: 17em; margin-top: 1.4em; font: italic 400 0.74em/1.5 var(--sans); color: var(--ink-2); }
.tp-author { margin-top: 2.6em; padding-top: 1em; border-top: 0.2em solid var(--red); font: 900 0.8em/1 var(--sans); letter-spacing: 0.24em; text-transform: uppercase; }

/* Praise page */
.pg-quote-mark { display: block; height: 0.62em; margin-top: 0.5em; font: 900 4.4em/1 var(--sans); color: var(--red); }
.pg-quote p { font: 700 1.04em/1.45 var(--sans); color: var(--ink); }
.pg-cite { margin-top: 1.3em; font-size: 0.66em; line-height: 1.45; color: var(--ink-2); }
.pg-cite b { display: block; font-weight: 900; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink); }

/* Six ideas */
.pg-list li { display: flex; gap: 0.9em; padding: 0.62em 0; border-bottom: 1px solid rgba(20, 26, 51, 0.1); font: 700 0.8em/1.3 var(--sans); }
.pg-list li span { flex: none; width: 1.6em; font-weight: 900; color: var(--red); }

/* Framework steps on a red timeline */
.pg-steps { position: relative; display: grid; gap: 1.15em; padding-left: 1.6em; }
.pg-steps::before { content: ''; position: absolute; left: 0.32em; top: 0.4em; bottom: 0.4em; width: 2px; background: rgba(227, 20, 31, 0.3); }
.pg-steps li { position: relative; font-size: 0.74em; line-height: 1.45; color: var(--ink-2); }
.pg-steps li::before { content: ''; position: absolute; left: -2.2em; top: 0.2em; width: 0.9em; height: 0.9em; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 0.3em var(--paper); }
.pg-steps b { display: block; margin-bottom: 0.2em; font: 900 1.4em/1.1 var(--sans); text-transform: uppercase; color: var(--ink); }

/* First idea opener */
.chap-no { display: block; font: 900 4.6em/0.9 var(--sans); color: var(--red); letter-spacing: -0.02em; }
.page-r .pg-rule { margin: 0.9em 0 1em; }
.chap-title { font: 900 1.32em/1.12 var(--sans); text-transform: uppercase; color: var(--ink); }
.chap-text { margin-top: 1.1em; font-size: 0.74em; line-height: 1.6; color: var(--ink-2); }
.chap-text::first-letter { float: left; margin: 0.08em 0.12em 0 0; font: 900 3.1em/0.8 var(--sans); color: var(--red); }

/* Page content settles in once its page is showing */
.motion .face .rv { opacity: 0; transform: translateY(0.9em); transition: opacity 0.6s var(--ease), transform 0.8s var(--ease); transition-delay: 0s; }
.motion .face.on .rv { opacity: 1; transform: none; transition-delay: calc(var(--i, 0) * 80ms + 120ms); }
.motion .face .pg-rule.rv { transform: scaleX(0); transform-origin: 0 50%; }
.motion .endpaper .pg-rule.rv { transform-origin: 50% 50%; }
.motion .face.on .pg-rule.rv { transform: none; }
.motion .face .tp-bar.rv { transform: scale(0.8); }
.motion .face.on .tp-bar.rv { transform: none; transition-timing-function: var(--ease), cubic-bezier(0.34, 1.56, 0.64, 1); }

/* Foot: progress dots, caption, then the hint gives way to the CTA */
.booktour-foot { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center; }
.booktour-dots { display: flex; gap: 8px; }
.booktour-dots li { width: 22px; height: 3px; border-radius: 2px; background: rgba(255, 255, 255, 0.18); transition: width 0.5s var(--ease), background 0.4s; }
.booktour-dots li.on { width: 38px; background: var(--red); }
.booktour-caption { font: 700 13px/1.2 var(--sans); letter-spacing: 0.12em; text-transform: uppercase; color: var(--white); }
.booktour-caption span { margin-right: 10px; color: var(--red); }
.booktour-action { display: grid; place-items: center; min-height: 50px; }
.booktour-action > * { grid-area: 1 / 1; }
.booktour-hint { display: flex; flex-direction: column; align-items: center; gap: 8px; font: 700 12px/1 var(--sans); letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); transition: opacity 0.4s; }
.chev { width: 10px; height: 10px; border-right: 2px solid var(--red); border-bottom: 2px solid var(--red); transform: rotate(45deg); animation: chev 1.6s var(--ease) infinite; }
@keyframes chev { 0%, 100% { translate: 0 -3px; opacity: 0.5; } 50% { translate: 0 4px; opacity: 1; } }
.booktour-cta { width: auto; height: 50px; padding: 0 30px; text-decoration: none; }
.motion .booktour-cta { opacity: 0; visibility: hidden; transform: translateY(10px); transition: opacity 0.5s var(--ease), transform 0.5s var(--ease), visibility 0s 0.5s, background 0.2s; }
.motion .booktour.is-end .booktour-cta { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.motion .booktour.is-started .booktour-hint { opacity: 0; }
html:not(.motion) .booktour-dots, html:not(.motion) .booktour-caption, html:not(.motion) .booktour-hint { display: none; }

@media (max-width: 640px) {
  .book { --pw: min(46vw, calc((100vh - 360px) / 1.5)); font-size: calc(var(--pw) * 0.056); }
  @supports (height: 100svh) { .book { --pw: min(46vw, calc((100svh - 360px) / 1.5)); } }
  .pg-long { display: none; }
  .page { padding: 12% 10% 8%; }
  .pg-list li { padding: 0.45em 0; font-size: 0.78em; }
  .pg-steps { gap: 1.5em; }
  .booktour-caption { font-size: 11px; }
  .motion .booktour { height: 400vh; }
}

/* =====================================================================
   Content from the Feb 2027 draft site, in the media-kit language
   ===================================================================== */

/* Hero: hook line and badges */
.hook { margin: 4px 0 14px; padding-left: 14px; border-left: 4px solid var(--red); font: 900 clamp(20px, 2.1vw, 26px)/1.25 var(--sans); text-transform: uppercase; color: var(--white); }
.lede em { color: var(--white); }
.badges { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.badges li { display: inline-flex; align-items: center; gap: 9px; padding: 9px 15px; border: 1px solid var(--line); border-radius: 999px; background: rgba(255, 255, 255, 0.03); font: 700 12px/1 var(--sans); letter-spacing: 0.08em; text-transform: uppercase; color: var(--white); }
.badges .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 4px rgba(227, 20, 31, 0.22); }

/* Highlighted phrases in quotes and bio */
.pq mark, .bio mark { background: none; color: var(--white); box-shadow: inset 0 -0.34em 0 rgba(227, 20, 31, 0.55); }

/* Element tiles (periodic-table style) */
.el { position: relative; display: flex; flex-direction: column; justify-content: flex-end; aspect-ratio: 1; padding: 14px 16px; border: 1px solid var(--line); border-top: 4px solid var(--red); border-radius: 4px; background: var(--card); transition: transform 0.45s var(--ease), background 0.3s; }
.el i { position: absolute; top: 12px; left: 16px; font: 700 14px/1 var(--sans); font-style: normal; color: var(--red); }
.el b { font: 900 clamp(44px, 5vw, 66px)/1 var(--sans); color: var(--white); }
.el small { margin-top: 6px; font: 700 12px/1 var(--sans); letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }

/* The idea */
.idea { overflow: hidden; }
.idea-big { max-width: 1040px; font: 900 clamp(38px, 6vw, 84px)/1.02 var(--sans); text-transform: uppercase; color: var(--white); letter-spacing: -0.01em; }
.motion [data-scrub] .w { opacity: 0.16; transition: opacity 0.5s var(--ease); }
.motion [data-scrub] .w.lit { opacity: 1; }

@keyframes spin { to { transform: rotate(360deg); } }


/* Seven ratios */
.ratio-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-bottom: 40px; padding: 26px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.ratio-stats dt { font: 900 clamp(40px, 5vw, 64px)/1 var(--sans); color: var(--white); }
.ratio-stats dd { margin-top: 8px; font: 400 14px/1.3 var(--sans); letter-spacing: 0.03em; text-transform: uppercase; color: var(--red); }
/* Ratio cards: pinned horizontal scroll on desktop, swipe elsewhere (motion.js) */
.hscroll { position: relative; margin-top: 8px; }
.hscroll-stage { overflow: hidden; }
.h-track { display: flex; gap: 22px; padding: 8px max(40px, calc((100vw - var(--wrap)) / 2 + 40px)) 8px; will-change: transform; }
.r-card { position: relative; flex: none; display: flex; flex-direction: column; width: min(500px, 82vw); min-height: 400px; padding: 30px 30px 32px; overflow: hidden; border: 1px solid var(--line); border-top: 4px solid var(--red); border-radius: var(--radius); background: var(--card); transition: background 0.3s, transform 0.45s var(--ease); }
.r-card:hover { background: var(--card-2); transform: translateY(-6px); }
.r-atom { position: absolute; top: 18px; right: 14px; width: 210px; height: 210px; pointer-events: none; }
.r-atom svg { width: 100%; height: 100%; overflow: visible; }
.r-atom .orb { fill: none; stroke: rgba(255, 255, 255, 0.28); stroke-width: 1.4; }
.r-atom .e { fill: var(--white); }
.r-atom .nuc { fill: var(--red); }
.r-atom .halo { fill: rgba(227, 20, 31, 0.28); }
.r-atom .bond { stroke: rgba(255, 255, 255, 0.3); stroke-width: 2; }
.r-atom .ion { fill: var(--card); stroke: var(--red-2); stroke-width: 2.4; transition: fill 0.3s; }
.r-card:hover .r-atom .ion { fill: var(--card-2); }
.r-atom .link { fill: none; stroke: var(--red-2); stroke-width: 2; stroke-dasharray: 4 5; stroke-opacity: 0.8; }
.pair { position: relative; display: flex; align-items: center; gap: 8px; }
.r-card .el { width: 92px; padding: 8px 10px; border-top-width: 3px; background: var(--navy-2); }
.r-card .el i { top: 8px; left: 10px; font-size: 11px; }
.r-card .el b { font-size: 38px; }
.r-card .el small { font-size: 9px; letter-spacing: 0.08em; }
.r-card:hover .el { transform: translateY(-4px) rotate(-3deg); }
.r-card:hover .el + .colon + .el { transform: translateY(-4px) rotate(3deg); transition-delay: 0.06s; }
.colon { font: 900 30px/1 var(--sans); color: var(--red); }
.r-card h3 { margin-top: auto; margin-bottom: 8px; font: 900 clamp(26px, 2.6vw, 34px)/1.1 var(--sans); text-transform: uppercase; color: var(--white); }
.r-card p { max-width: 380px; font-size: 18px; color: var(--text); }
.r-more { justify-content: space-between; border-color: var(--red); background: var(--red); }
.r-more:hover { background: var(--red-2); }
.r-more::before { content: ''; position: absolute; inset: 0; background: repeating-linear-gradient(-60deg, transparent 0 24px, rgba(255, 255, 255, 0.08) 24px 25px); pointer-events: none; }
.r-big { position: relative; font: 900 clamp(120px, 12vw, 170px)/0.85 var(--sans); letter-spacing: -0.03em; color: #fff; }
.r-more h3, .r-more p, .r-more strong { position: relative; color: #fff; }
.r-more p { color: rgba(255, 255, 255, 0.9); }
.r-more strong { display: block; margin-top: 14px; font: 900 15px/1 var(--sans); letter-spacing: 0.12em; text-transform: uppercase; }

.h-hint { display: flex; align-items: center; gap: 18px; margin-top: 26px; }
.h-txt { font: 700 12px/1 var(--sans); letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
.h-m { display: none; }
.h-bar { position: relative; flex: 1; height: 3px; border-radius: 2px; background: rgba(255, 255, 255, 0.12); overflow: hidden; }
.h-bar i { position: absolute; inset: 0; background: var(--red); transform: scaleX(0.08); transform-origin: 0 50%; }
.h-arrow { flex: none; width: 48px; height: 48px; border: 1px solid var(--line); border-radius: 50%; background: var(--card); color: var(--white); font-size: 20px; cursor: pointer; transition: background 0.2s, border-color 0.2s, transform 0.3s var(--ease); }
.h-arrow:hover { border-color: var(--red); background: var(--red); transform: translateX(3px); }

/* Pinned mode (set by motion.js on wide screens with motion allowed) */
.hscroll.is-pinned .hscroll-stage { position: sticky; }
/* Swipe mode */
.hscroll:not(.is-pinned) .h-track { overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; scroll-padding-left: max(16px, calc((100vw - var(--wrap)) / 2 + 40px)); }
.hscroll:not(.is-pinned) .h-track::-webkit-scrollbar { display: none; }
.hscroll:not(.is-pinned) .r-card { scroll-snap-align: start; }
.hscroll:not(.is-pinned) .h-d { display: none; }
.hscroll:not(.is-pinned) .h-m { display: inline; }
#ratios { overflow: clip; } /* clip, not hidden, so the sticky stage still pins */

/* Wide screens: all four fit in the grid, so no pinning or swiping (motion.js sees no overflow) */
@media (min-width: 961px) {
  .h-track { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 8px 40px; }
  .r-card { width: auto; min-height: 0; padding: 20px 20px 24px; }
  .r-atom { position: relative; top: auto; right: auto; width: 100%; height: 150px; margin: -4px 0 14px; }
  .r-card .el { width: 74px; padding: 7px 8px; }
  .r-card .el b { font-size: 30px; }
  .r-card .el small { font-size: 8px; }
  .colon { font-size: 24px; }
  .r-card h3 { margin-top: 18px; font-size: 21px; }
  .r-card p { font-size: 15px; }
  .r-big { font-size: 110px; }
  .r-more strong { font-size: 13px; }
  .hscroll.is-static .h-hint { display: none; }
}

/* True story: gauge drifts out of balance and back */
.story-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 56px; align-items: center; }
.story-body { max-width: 600px; margin-top: 22px; font-size: 19px; line-height: 1.65; color: var(--text); }
.story-note { margin-top: 14px; font-size: 13px; font-style: italic; color: var(--muted); }
.story-card { padding: 30px 28px; border-top: 4px solid var(--red); border-radius: var(--radius); background: var(--card); }
.gauge-track { position: relative; height: 10px; border-radius: 99px; background: linear-gradient(90deg, rgba(227, 20, 31, 0.65), rgba(255, 255, 255, 0.12) 32%, rgba(255, 255, 255, 0.12) 68%, rgba(227, 20, 31, 0.65)); }
.gauge-mid { position: absolute; left: 50%; top: -7px; bottom: -7px; width: 2px; background: var(--white); opacity: 0.5; }
.gauge-dot { position: absolute; top: 50%; left: 50%; width: 22px; height: 22px; margin: -11px 0 0 -11px; border-radius: 50%; background: var(--white); box-shadow: 0 0 0 5px rgba(255, 255, 255, 0.15); }
.gauge-labels { display: flex; justify-content: space-between; margin-top: 14px; font: 700 11px/1 var(--sans); letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.gauge-state { display: grid; }
.gauge-state b { grid-area: 1 / 1; text-align: center; }
.g-off { color: var(--red-2); opacity: 0; }
.g-on { color: var(--white); }
@keyframes gauge-drift { 0%, 8% { left: 50%; } 38%, 58% { left: 93%; background: var(--red-2); box-shadow: 0 0 0 7px rgba(227, 20, 31, 0.28); } 100% { left: 50%; } }
@keyframes gauge-off { 0%, 22% { opacity: 0; } 34%, 62% { opacity: 1; } 74%, 100% { opacity: 0; } }
@keyframes gauge-on { 0%, 22% { opacity: 1; } 34%, 62% { opacity: 0; } 74%, 100% { opacity: 1; } }
.motion .story-card.in .gauge-dot { animation: gauge-drift 4.2s var(--ease) 0.5s both; }
.motion .story-card.in .g-off { animation: gauge-off 4.2s linear 0.5s both; }
.motion .story-card.in .g-on { animation: gauge-on 4.2s linear 0.5s both; }
.story-steps { display: grid; gap: 18px; margin-top: 32px; }
.story-steps li { display: grid; grid-template-columns: 34px 1fr; column-gap: 12px; font-size: 15px; color: var(--text); }
.story-steps span { grid-row: span 2; font: 900 15px/1.5 var(--sans); color: var(--red); }
.story-steps b { font: 900 17px/1.3 var(--sans); text-transform: uppercase; color: var(--white); }
.motion .story-steps li { opacity: 0; transform: translateX(-12px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }
.motion .story-card.in .story-steps li { opacity: 1; transform: none; }
.motion .story-card.in .story-steps li:nth-child(1) { transition-delay: 0.6s; }
.motion .story-card.in .story-steps li:nth-child(2) { transition-delay: 1.5s; }
.motion .story-card.in .story-steps li:nth-child(3) { transition-delay: 2.6s; }

/* Inside the book: icon list + animated art panel (motion.js fills and cycles the panel) */
.index { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 44px; align-items: start; margin-top: 36px; }
.index-list { border-top: 1px solid var(--line); }
.index-list button { position: relative; display: grid; grid-template-columns: 42px 30px minmax(0, 1fr) auto; align-items: center; column-gap: 14px; width: 100%; padding: 15px 12px 15px 12px; border: 0; border-bottom: 1px solid var(--line); background: none; color: var(--text); text-align: left; font: 700 clamp(17px, 1.7vw, 21px)/1.25 var(--sans); cursor: pointer; transition: color 0.3s, background 0.3s; }
.index-list button::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--red); transform: scaleY(0); transition: transform 0.45s var(--ease); }
.index-list button::after { content: '\2192'; grid-column: 4; grid-row: 1; color: var(--red); opacity: 0; transform: translateX(-8px); transition: opacity 0.3s, transform 0.4s var(--ease); }
.ix-icon { grid-column: 1; grid-row: 1; display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 50%; background: rgba(255, 255, 255, 0.03); transition: background 0.35s, border-color 0.35s, transform 0.45s var(--ease); }
.ix-icon svg { width: 20px; height: 20px; fill: none; stroke: var(--muted); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: stroke 0.3s; }
.ix-n { grid-column: 2; grid-row: 1; font: 700 13px/1 var(--sans); color: var(--muted); transition: color 0.3s; }
.index-list b { grid-column: 3; grid-row: 1; }
.index-list em { grid-column: 3; grid-row: 2; padding-top: 6px; font: 400 15px/1.5 var(--sans); font-style: normal; color: var(--text); }
.index-list .ix-mob-art { display: none; }
.index-list button:hover, .index-list button[aria-pressed="true"] { color: var(--white); background: linear-gradient(90deg, rgba(227, 20, 31, 0.12), transparent 75%); }
.index-list button[aria-pressed="true"]::before { transform: scaleY(1); }
.index-list button:hover::after, .index-list button[aria-pressed="true"]::after { opacity: 1; transform: none; }
.index-list button:hover .ix-icon, .index-list button[aria-pressed="true"] .ix-icon { border-color: var(--red); background: var(--red); transform: scale(1.06) rotate(-6deg); }
.index-list button:hover .ix-icon svg, .index-list button[aria-pressed="true"] .ix-icon svg { stroke: #fff; }
.index-list button:hover .ix-n, .index-list button[aria-pressed="true"] .ix-n { color: var(--red); }
.js .index-list em { display: none; }

.index-panel { position: sticky; top: 96px; display: flex; flex-direction: column; min-height: 470px; padding: 30px 32px 30px; overflow: hidden; border: 1px solid var(--line); border-top: 4px solid var(--red); border-radius: var(--radius); background: radial-gradient(120% 90% at 85% 8%, rgba(227, 20, 31, 0.24), transparent 55%), var(--card); box-shadow: 0 30px 60px rgba(0, 0, 0, 0.35); }
.index-panel::before { content: ''; position: absolute; inset: 0; background: repeating-linear-gradient(-60deg, transparent 0 26px, rgba(255, 255, 255, 0.035) 26px 27px); pointer-events: none; }
.ip-top { position: relative; display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.index-no { font: 900 clamp(84px, 8.5vw, 132px)/0.8 var(--sans); letter-spacing: -0.03em; color: transparent; -webkit-text-stroke: 2px var(--red); }
.ix-art { display: block; width: clamp(170px, 16vw, 230px); aspect-ratio: 1; color: var(--red-2); }
.ix-art svg { width: 100%; height: 100%; overflow: visible; }
.ix-art .k { fill: none; stroke: var(--white); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.ix-art .a { fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.ix-art .af { fill: currentColor; }
.ix-art .sf { fill: currentColor; fill-opacity: 0.2; }
.ix-art .bg { fill: currentColor; fill-opacity: 0.08; }
.ix-art .tl { fill: var(--card); stroke: var(--white); stroke-width: 2; }
.ix-art text { font: 700 15px var(--sans); fill: var(--white); text-anchor: middle; dominant-baseline: central; }
.ix-art .ts { font-size: 10px; font-weight: 600; fill: var(--muted); }
.index-panel h3 { position: relative; margin-top: 20px; font: 900 clamp(26px, 2.6vw, 34px)/1.1 var(--sans); text-transform: uppercase; color: var(--white); }
.index-panel p { position: relative; max-width: 440px; margin-top: 10px; font-size: 18px; color: var(--text); }
.ip-foot { position: relative; display: flex; justify-content: space-between; align-items: center; margin-top: auto; padding-top: 26px; }
.ip-dots { display: flex; gap: 6px; }
.ip-dots i { width: 8px; height: 8px; border-radius: 4px; background: rgba(255, 255, 255, 0.18); transition: width 0.4s var(--ease), background 0.3s; }
.ip-dots i.on { width: 26px; background: var(--red); }
.ip-count { font: 700 13px/1 var(--sans); letter-spacing: 0.08em; color: var(--muted); }
.ip-count b { color: var(--white); }
.ip-timer { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: rgba(255, 255, 255, 0.06); }
.ip-timer i { display: block; height: 100%; background: var(--red); transform: scaleX(0); transform-origin: 0 50%; }
@keyframes ip-timer { to { transform: scaleX(1); } }
.index-panel.playing .ip-timer i { animation: ip-timer var(--ip-dur, 5s) linear forwards; }
@keyframes panel-in { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes art-in { from { opacity: 0; transform: scale(0.82) rotate(-10deg); } to { opacity: 1; transform: none; } }
.index-panel.swap h3, .index-panel.swap p, .index-panel.swap .index-no { animation: panel-in 0.55s var(--ease) both; }
.index-panel.swap p { animation-delay: 0.07s; }
.index-panel.swap .ix-art { animation: art-in 0.7s var(--ease) both; }
html:not(.js) .index { grid-template-columns: 1fr; }
html:not(.js) .index-panel { display: none; }

.isnt { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 18px; margin-top: 44px; }
.isnt-card { padding: 28px 30px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); }
.isnt-card.is { border-color: rgba(227, 20, 31, 0.45); background: linear-gradient(120deg, rgba(227, 20, 31, 0.2), var(--card) 62%); }
.isnt-card h3 { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; font: 900 16px/1.2 var(--sans); letter-spacing: 0.08em; text-transform: uppercase; color: var(--white); }
.isnt-card h3 span { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: rgba(255, 255, 255, 0.08); color: var(--muted); font-size: 18px; }
.isnt-card.is h3 span { background: var(--red); color: #fff; }
.isnt-card.is p { font: 700 clamp(19px, 1.9vw, 24px)/1.4 var(--sans); color: var(--white); }
.isnt-tags { display: flex; flex-wrap: wrap; gap: 10px; }
.isnt-tags li { position: relative; padding: 9px 14px; border: 1px dashed rgba(255, 255, 255, 0.22); border-radius: 999px; font-size: 15px; color: var(--muted); }
.isnt-tags li::after { content: ''; position: absolute; left: 12px; right: 12px; top: 50%; height: 2px; margin-top: -1px; background: var(--red); transform-origin: 0 50%; transition: transform 0.6s var(--ease); }
.motion .isnt-card .isnt-tags li::after { transform: scaleX(0); }
.motion .isnt-card.in .isnt-tags li::after { transform: scaleX(1); }
.motion .isnt-card.in .isnt-tags li:nth-child(1)::after { transition-delay: 0.5s; }
.motion .isnt-card.in .isnt-tags li:nth-child(2)::after { transition-delay: 0.75s; }
.motion .isnt-card.in .isnt-tags li:nth-child(3)::after { transition-delay: 1s; }

/* Who it's for: tap to pick */
.for-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin: -8px 0 22px; }
.for-hint { color: var(--muted); }
.for-count { font: 700 15px/1 var(--sans); color: var(--muted); }
.for-count b { font-size: 28px; color: var(--white); }
.for { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.for button { display: flex; gap: 14px; align-items: flex-start; width: 100%; height: 100%; padding: 20px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); color: var(--text); text-align: left; font: 400 17px/1.45 var(--sans); cursor: pointer; transition: background 0.3s, border-color 0.3s, color 0.3s, transform 0.4s var(--ease); }
.for button:hover { border-color: rgba(227, 20, 31, 0.6); transform: translateY(-3px); }
.for button[aria-pressed="true"] { border-color: var(--red); background: rgba(227, 20, 31, 0.14); color: var(--white); }
.tick { position: relative; flex: none; width: 24px; height: 24px; margin-top: 1px; border: 2px solid rgba(255, 255, 255, 0.3); border-radius: 6px; transition: background 0.3s, border-color 0.3s; }
.tick::after { content: ''; position: absolute; left: 6px; top: 2px; width: 6px; height: 11px; border: solid #fff; border-width: 0 3px 3px 0; transform: rotate(45deg) scale(0); transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1); }
.for button[aria-pressed="true"] .tick { border-color: var(--red); background: var(--red); }
.for button[aria-pressed="true"] .tick::after { transform: rotate(45deg) scale(1); }
.for-cta { display: inline-flex; width: auto; height: 52px; margin-top: 26px; padding: 0 30px; text-decoration: none; }
.motion .for-cta.lit { animation: pulse 2.4s ease-out infinite; }

/* Author additions */
.author-h { margin-bottom: 14px; font: 900 22px/1.2 var(--sans); text-transform: uppercase; color: var(--white); }
.bio p + p { margin-top: 12px; }
.bio-lead { font-size: 19px; font-weight: 700; color: var(--white); }
.author-photo img { filter: grayscale(0.3) contrast(1.05); }
.author-quote { margin: 64px 0 0; padding: 34px 40px; border-left: 6px solid var(--red); border-radius: 0 var(--radius) var(--radius) 0; background: var(--card); }
.author-quote p { font: 700 clamp(22px, 2.6vw, 32px)/1.35 var(--sans); color: var(--white); }
.author-quote cite { display: block; margin-top: 14px; font: 900 13px/1 var(--sans); font-style: normal; letter-spacing: 0.14em; text-transform: uppercase; color: var(--red); }
.timeline { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 56px; padding-top: 30px; }
.timeline::before, .timeline::after { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: var(--line); }
.timeline::after { background: var(--red); transform-origin: 0 50%; }
.motion .timeline::after { transform: scaleX(0); transition: transform 1.6s var(--ease) 0.2s; }
.motion .timeline:has(li.in)::after { transform: scaleX(1); }
.timeline li { position: relative; font-size: 15px; color: var(--text); }
.timeline li::before { content: ''; position: absolute; top: -37px; left: 0; width: 16px; height: 16px; border: 3px solid var(--red); border-radius: 50%; background: var(--navy); box-sizing: border-box; }
.timeline li.now::before { background: var(--red); box-shadow: 0 0 0 6px rgba(227, 20, 31, 0.25); }
.timeline b { display: block; margin-bottom: 6px; font: 900 26px/1 var(--sans); color: var(--white); }

/* FAQ */
.faq-wrap { display: grid; grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr); gap: 56px; align-items: start; }
.faq-head { position: sticky; top: 110px; }
.faq-head .h2 { margin-top: 10px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary { position: relative; padding: 22px 52px 22px 0; list-style: none; font: 700 19px/1.35 var(--sans); color: var(--white); cursor: pointer; transition: color 0.2s; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--red-2); }
.faq summary::before, .faq summary::after { content: ''; position: absolute; right: 8px; top: 50%; width: 16px; height: 3px; margin-top: -1.5px; border-radius: 2px; background: var(--red); transition: transform 0.4s var(--ease); }
.faq summary::after { transform: rotate(90deg); }
.faq details[open] summary::after { transform: rotate(0deg); }
.faq details p { padding: 0 52px 24px 0; color: var(--text); }
.faq details[open] p { animation: rise-in 0.5s var(--ease); }
.faq a { color: var(--white); }

/* Closing */
.closing-stack { position: relative; }
.closing-stack img { position: relative; width: 100%; filter: drop-shadow(0 30px 40px rgba(0, 0, 0, 0.5)); }
.motion .closing-stack img { animation: float 7s ease-in-out infinite; }
.closing-h { margin: 10px 0 14px; font-size: clamp(32px, 3.6vw, 48px); }
.closing-lede { max-width: 520px; color: var(--text); }
.closing-nums { display: flex; gap: 32px; margin: 22px 0; padding: 18px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.closing-nums li { font: 400 12px/1.3 var(--sans); letter-spacing: 0.06em; text-transform: uppercase; color: var(--red); }
.closing-nums b { display: block; margin-bottom: 6px; font: 900 32px/1 var(--sans); color: var(--white); }
.perks { display: grid; gap: 12px; margin-bottom: 22px; }
.perks li { position: relative; padding-left: 30px; font-size: 15px; color: var(--text); }
.perks li::before { content: ''; position: absolute; left: 0; top: 2px; width: 18px; height: 18px; border-radius: 50%; background: var(--red); }
.perks li::after { content: ''; position: absolute; left: 6px; top: 5px; width: 5px; height: 9px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.perks b { display: block; color: var(--white); }
.closing-line { margin-top: 48px; text-align: center; font: italic 400 clamp(20px, 2.4vw, 28px)/1.4 var(--sans); color: var(--white); }

@media (max-width: 960px) {
  .problem, .story-grid, .index, .faq-wrap, .closing-card { grid-template-columns: 1fr; }
  .problem { gap: 18px; }
  .for { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .index-panel { display: none; }
  .js .index-list button[aria-pressed="true"] em { display: block; }
  .js .index-list button[aria-pressed="true"] .ix-mob-art { display: block; grid-column: 3; grid-row: 3; width: 150px; margin-top: 10px; }
  .isnt { grid-template-columns: 1fr; }
  .faq-head { position: static; }
  .timeline { grid-template-columns: repeat(2, 1fr); row-gap: 56px; }
  .timeline::before, .timeline::after { display: none; }
  .closing-stack { max-width: 460px; }
}
@media (max-width: 640px) {
  .for, .isnt { grid-template-columns: 1fr; }
  .h-track { gap: 14px; padding-left: 16px; padding-right: 16px; }
  .r-card { min-height: 360px; padding: 24px 22px 26px; }
  .r-atom { width: 150px; height: 150px; top: 14px; right: 6px; }
  .r-card .el { width: 76px; }
  .r-card .el b { font-size: 30px; }
  .ratio-stats { gap: 12px; }
  .ratio-stats dd { font-size: 12px; }
  .author-quote { padding: 26px 22px; }
  .closing-nums { gap: 20px; }
  .closing-nums b { font-size: 26px; }
  .faq summary { font-size: 17px; }
}

/* ---------- Praise: editorial rows ---------- */
.praise-head { margin-bottom: 40px; }
.praise-head .h2 { margin-top: 10px; }
.pq-list { display: grid; gap: 26px; }
.pq { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 52px; align-items: center; padding: 46px 50px; overflow: hidden; border-top: 4px solid var(--red); border-radius: var(--radius); background: var(--card); }
.pq-flip { grid-template-columns: 300px minmax(0, 1fr); }
.pq::after { content: '\201D'; position: absolute; right: 24px; bottom: -110px; font: 900 340px/1 var(--sans); color: rgba(255, 255, 255, 0.03); pointer-events: none; }
.pq-mark { display: block; height: 0.5em; margin-bottom: 10px; font: 900 130px/1 var(--sans); color: var(--red); }
.pq blockquote p { font: 700 clamp(19px, 1.9vw, 25px)/1.5 var(--sans); color: var(--white); }
.pq-lead blockquote p { font: 900 clamp(28px, 3.3vw, 46px)/1.14 var(--sans); text-transform: uppercase; letter-spacing: -0.005em; }
.pq em { font-style: italic; }
.pq figcaption { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; margin-top: 28px; font-size: 15px; color: var(--muted); }
.pq figcaption .dash { width: 38px; height: 3px; background: var(--red); }
.pq figcaption b { font: 900 16px/1.2 var(--sans); letter-spacing: 0.06em; text-transform: uppercase; color: var(--white); }
.pq-photo { position: relative; aspect-ratio: 4 / 5; overflow: hidden; border-bottom: 6px solid var(--red); border-radius: 6px; background: var(--navy-2); }
.pq-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 16%; filter: grayscale(0.3) contrast(1.05); transition: transform 1.2s var(--ease), filter 0.6s; }
.pq:hover .pq-photo img, .foreword:hover .pq-photo img { transform: scale(1.05); filter: none; }

/* Foreword banner */
.foreword { position: relative; display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 44px; align-items: center; padding: 34px 50px; overflow: hidden; border-radius: var(--radius); background: var(--red); color: #fff; }
.foreword::before { content: ''; position: absolute; inset: 0; background: repeating-linear-gradient(-60deg, transparent 0 26px, rgba(255, 255, 255, 0.08) 26px 27px); pointer-events: none; }
.foreword .pq-photo { border-bottom-color: #fff; }
.foreword figcaption { position: relative; }
.fw-kicker { display: inline-block; padding: 7px 12px; border: 1px solid rgba(255, 255, 255, 0.6); border-radius: 999px; font: 900 12px/1 var(--sans); letter-spacing: 0.16em; text-transform: uppercase; }
.foreword b { display: block; margin: 16px 0 6px; font: 900 clamp(38px, 5vw, 68px)/0.95 var(--sans); text-transform: uppercase; letter-spacing: -0.01em; }
.fw-role { font: 700 14px/1 var(--sans); letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255, 255, 255, 0.85); }
.foreword p { max-width: 520px; margin-top: 18px; font-size: 18px; color: rgba(255, 255, 255, 0.95); }

/* Photos wipe up into view, quote marks pop */
.motion .pq .pq-photo, .motion .foreword .pq-photo { clip-path: inset(100% 0 0 0); transition: clip-path 1.2s var(--ease) 0.2s; }
.motion .pq.in .pq-photo, .motion .foreword.in .pq-photo { clip-path: inset(0); }
.motion .pq .pq-mark { transform: scale(0.4) rotate(-12deg); opacity: 0; transition: transform 0.7s cubic-bezier(0.34, 1.56, 0.64, 1) 0.35s, opacity 0.4s 0.35s; }
.motion .pq.in .pq-mark { transform: none; opacity: 1; }

@media (max-width: 960px) {
  .pq, .pq-flip, .foreword { grid-template-columns: 1fr; gap: 26px; padding: 30px 26px; }
  .pq .pq-photo { order: -1; aspect-ratio: 16 / 11; }
  .foreword .pq-photo { width: 160px; }
}
@media (max-width: 640px) {
  .pq { padding: 24px 20px 28px; }
  .pq-mark { font-size: 96px; }
  .foreword { padding: 26px 20px; }
}

/* ---------- The problem: three symptoms with looping drawings ---------- */
.problem { margin-top: 72px; border-top: 1px solid var(--line); }
.sym { display: grid; grid-template-columns: 56px minmax(0, 1fr) 170px; align-items: center; gap: 20px; padding: 24px 0; border-bottom: 1px solid var(--line); transition: padding 0.5s var(--ease), opacity 0.85s var(--ease), transform 0.85s var(--ease); }
.sym:hover { padding-left: 14px; }
.sym-n { font: 700 14px/1 var(--sans); color: var(--red); }
.sym-t { font: 900 clamp(28px, 4.4vw, 60px)/1 var(--sans); letter-spacing: -0.01em; text-transform: uppercase; color: var(--white); }
.sym-art { width: 170px; height: 64px; overflow: visible; }
.fuse { fill: none; stroke: rgba(255, 255, 255, 0.3); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 1 7; }
.fuse-burnt { fill: none; stroke: var(--red); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: 100; opacity: 0.85; }
.spark-glow { fill: rgba(255, 80, 60, 0.35); }
.spark-core { fill: #fff; }
.scribble { fill: none; stroke: var(--white); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 100; stroke-dashoffset: 0; opacity: 0.85; }
.loop { fill: none; stroke: var(--red); stroke-width: 3.4; stroke-linecap: round; stroke-linejoin: round; transform-box: fill-box; transform-origin: center; }
@keyframes burn { from { stroke-dashoffset: 100; } to { stroke-dashoffset: 0; } }
@keyframes scribble { 0% { stroke-dashoffset: 100; } 55% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: -100; } }
@keyframes spark-pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.5); } }
.motion .fuse-burnt { animation: burn 3.2s linear infinite; }
.motion .spark-glow { transform-box: fill-box; transform-origin: center; animation: spark-pulse 0.5s ease-in-out infinite; }
.motion .scribble { animation: scribble 2.8s ease-in-out infinite; }
.motion .loop { animation: spin 2.4s cubic-bezier(0.6, 0, 0.4, 1) infinite; }
.problem-turn { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 20px; margin-top: 34px; }
.turn-rule { width: 40px; height: 4px; margin-top: 14px; background: var(--red); }
.problem-turn p { max-width: 780px; font-size: clamp(18px, 1.7vw, 21px); line-height: 1.6; color: var(--muted); }
.problem-turn strong { font-weight: 700; color: var(--white); }
@media (max-width: 640px) {
  .sym { grid-template-columns: 28px minmax(0, 1fr); row-gap: 10px; padding: 18px 0; }
  .sym-art { grid-column: 2; width: 130px; height: 48px; }
  .sym-t { font-size: clamp(24px, 8vw, 34px); }
  .problem-turn { grid-template-columns: 1fr; gap: 12px; }
}

/* =====================================================================
   Preorder round (Cat3, Nov 2026): preorder CTAs, retailer block, copy slots
   ===================================================================== */

/* Hero CTA, byline, benefit line and bonus slot */
.hero-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 18px; margin-top: 28px; }
.hero-cta .btn { width: auto; height: 56px; padding: 0 34px; font-size: 16px; text-decoration: none; }
.bonus-note { max-width: 280px; font-size: 15px; line-height: 1.4; color: var(--text); }
.bonus-note b { display: block; color: var(--white); }
.hero-benefit { max-width: 520px; margin-bottom: 14px; font: 700 clamp(18px, 1.7vw, 21px)/1.4 var(--sans); color: var(--white); }
.byline { margin-top: 18px; font-size: 15px; color: var(--muted); }
.byline b { color: var(--white); }
.badges a { display: inline-flex; align-items: center; gap: 9px; color: inherit; text-decoration: none; }
.badges a:hover { color: var(--red-2); }

/* What this book answers */
.answers-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 18px; }
.answers-list li { padding: 26px 24px; border-top: 4px solid var(--red); border-radius: var(--radius); background: var(--card); }
.ans-n { font: 900 14px/1 var(--sans); color: var(--red); }
.answers-list h3 { margin: 12px 0 8px; font: 900 19px/1.25 var(--sans); color: var(--white); }
.answers-list p { font-size: 15px; color: var(--text); }

/* Closing: the closing line now leads into the card */
.closing .closing-line { margin: 0 0 40px; }
.retail-formats { margin: -8px 0 18px; font-size: 15px; color: var(--text); }
.retail-formats b { color: var(--white); }
.retail { margin-top: 26px; padding-top: 24px; border-top: 3px solid var(--red); }
.retail-h { margin-bottom: 16px; font: 900 clamp(24px, 2.6vw, 30px)/1.1 var(--sans); text-transform: uppercase; color: var(--white); }
.retailers { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.retailer { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; min-height: 58px; padding: 10px 14px; border: 1px solid rgba(255, 255, 255, 0.22); border-radius: 6px; background: var(--navy-2); color: var(--white); font: 900 15px/1.15 var(--sans); letter-spacing: 0.04em; text-align: center; text-transform: uppercase; text-decoration: none; transition: border-color 0.2s, background 0.2s; }
.retailer:hover { border-color: var(--red); background: var(--red); }
.retailer[data-pending] { cursor: default; }
.retailer[data-pending]:hover { border-color: rgba(255, 255, 255, 0.22); background: var(--navy-2); }
.retailer[data-pending]::after { content: 'Link coming soon'; font: 400 11px/1 var(--sans); letter-spacing: 0.06em; color: var(--muted); }
.bonus-claim { margin-top: 16px; font-size: 15px; color: var(--text); }
.bonus-claim b { color: var(--white); }
.closing .form-card { margin-top: 26px; }

/* ?slots preview: outline every slot that is waiting on copy */
.show-slots [data-slot] { outline: 2px dashed #f5b301; outline-offset: 4px; }
.show-slots [data-slot]::before { content: 'Copy slot'; display: block; margin-bottom: 6px; font: 700 10px/1 var(--sans); letter-spacing: 0.12em; text-transform: uppercase; color: #f5b301; }

@media (max-width: 640px) {
  .hero-cta .btn { width: 100%; }
  .bonus-note { max-width: none; }
  .retailers { grid-template-columns: 1fr; }
}

/* Privacy page (/privacy/) */
.legal { min-height: 60vh; }
.legal .h2-xl { margin-bottom: 28px; }
.legal-interim { max-width: 680px; padding: 28px; border-top: 4px solid var(--red); border-radius: var(--radius); background: var(--card); }
.legal-interim p + p { margin-top: 10px; }
.legal-btn { display: inline-flex; width: auto; height: 52px; margin-top: 22px; padding: 0 26px; text-decoration: none; }
.legal-back { margin-top: 36px; font-size: 15px; }
.legal-back a { color: var(--muted); text-decoration: none; }
.legal-back a:hover { color: var(--white); }
@media (max-width: 640px) { .legal-interim { padding: 22px 18px; } .legal-btn { width: 100%; } }
