/* ============================================================
   RogerHendon.com V2 — "MIDNIGHT STEEL"
   Dark-first. Gold #c9a84a is the primary accent.
   Amazon #1 badges only: --amazon (#FF9900) matches Hot New Releases.
   ============================================================ */

:root {
  /* --- Midnight surfaces --- */
  --mid-000: #060910;
  --mid-050: #080c12;
  --mid-100: #0a0e14;
  --mid-200: #0e141d;
  --mid-300: #141c28;
  --mid-400: #1b2534;
  --mid-500: #243044;

  /* --- Gold --- */
  --gold: #c9a84a;
  --gold-hi: #dfbf6a;
  --gold-lo: #a88835;
  --gold-glow: rgba(201, 168, 74, 0.16);

  /* --- Amazon chart badge (screenshot match) --- */
  --amazon: #ff9900;
  --amazon-hi: #ffb84d;
  --amazon-lo: #e47911;
  --amazon-ink: #111111;

  /* --- Roles (DARK is the default theme) --- */
  --bg: var(--mid-050);
  --bg-alt: var(--mid-100);
  --surface: var(--mid-200);
  --surface-2: var(--mid-300);
  --fg: #e8e4db;
  --fg-muted: #9aa3b2;
  --fg-faint: #67718294;
  --fg-dim: #6c7686;
  --rule: #1d2634;
  --rule-strong: #2c3849;
  --accent: var(--gold);
  --accent-fg: #0a0e14;
  --shadow-lg: 0 40px 90px -40px rgba(0, 0, 0, 0.9);
  --shadow-md: 0 18px 44px -24px rgba(0, 0, 0, 0.85);

  /* --- Type --- */
  --ff-display: "Boska", "Instrument Serif", ui-serif, Georgia, serif;
  --ff-body: "Switzer", "Switzer-fallback", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ff-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  --step--2: clamp(0.68rem, 0.66rem + 0.08vw, 0.74rem);
  --step--1: clamp(0.79rem, 0.77rem + 0.1vw, 0.86rem);
  --step-0: clamp(1rem, 0.97rem + 0.16vw, 1.1rem);
  --step-1: clamp(1.16rem, 1.08rem + 0.4vw, 1.4rem);
  --step-2: clamp(1.42rem, 1.24rem + 0.85vw, 1.98rem);
  --step-3: clamp(1.8rem, 1.42rem + 1.7vw, 3rem);
  --step-4: clamp(2.3rem, 1.5rem + 3.4vw, 4.6rem);
  --step-5: clamp(2.9rem, 1.4rem + 6.4vw, 7.2rem);

  --gutter: clamp(1.15rem, 4vw, 4.5rem);
  --maxw: 1340px;
  --sec-y: clamp(4.5rem, 9vw, 9.5rem);
  --radius: 3px;
  --radius-lg: 6px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-io: cubic-bezier(0.65, 0, 0.35, 1);
}

/* Explicit dark lock — same as :root Midnight Steel */
html[data-theme="dark"] {
  --bg: var(--mid-050);
  --bg-alt: var(--mid-100);
  --surface: var(--mid-200);
  --surface-2: var(--mid-300);
  --fg: #e8e4db;
  --fg-muted: #9aa3b2;
  --fg-faint: #67718294;
  --fg-dim: #6c7686;
  --rule: #1d2634;
  --rule-strong: #2c3849;
  --accent: var(--gold);
  --accent-fg: #0a0e14;
  --gold-glow: rgba(201, 168, 74, 0.16);
  --shadow-lg: 0 40px 90px -40px rgba(0, 0, 0, 0.9);
  --shadow-md: 0 18px 44px -24px rgba(0, 0, 0, 0.85);
}

/* Light mode = "steel paper". Gold remains the only accent. */
html[data-theme="light"] {
  --bg: #f3efe6;
  --bg-alt: #eae5d9;
  --surface: #faf7f0;
  --surface-2: #efeade;
  --fg: #10141b;
  --fg-muted: #4d5665;
  --fg-faint: #98a0ad;
  --fg-dim: #6b7482;
  --rule: #d8d1c1;
  --rule-strong: #bdb5a3;
  --accent: #9a7b2f;
  --accent-fg: #fbf8f1;
  --gold-glow: rgba(154, 123, 47, 0.14);
  --shadow-lg: 0 40px 90px -46px rgba(16, 20, 27, 0.38);
  --shadow-md: 0 18px 40px -26px rgba(16, 20, 27, 0.32);
}

/* Theme toggle icons — sun shown in dark (switch to light), moon in light */
.theme-ico { width: 17px; height: 17px; display: none; }
html[data-theme="dark"] .theme-ico--sun { display: block; }
html[data-theme="light"] .theme-ico--moon { display: block; }
#theme-btn { position: relative; }

@font-face {
  font-family: "Switzer-fallback";
  src: local("Helvetica Neue"), local("Arial");
  ascent-override: 96%; descent-override: 24%; line-gap-override: 0%;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
html.is-locked, body.is-locked { overflow: hidden; }

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--ff-body);
  font-size: var(--step-0);
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  transition: background-color .5s var(--ease), color .5s var(--ease);
}

img, video, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 2px; }

h1, h2, h3, h4 {
  font-family: var(--ff-display);
  font-weight: 500;
  line-height: 1.03;
  letter-spacing: -0.018em;
}
h1 { font-size: var(--step-5); }
h2 { font-size: var(--step-4); }
h3 { font-size: var(--step-2); }
em { font-style: italic; color: var(--accent); }

.kicker {
  font-family: var(--ff-mono);
  font-size: var(--step--2);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: .6rem;
}
.kicker::before {
  content: ""; width: 26px; height: 1px; background: currentColor; opacity: .7;
}
.lede { font-size: var(--step-1); color: var(--fg-muted); max-width: 62ch; }
.muted { color: var(--fg-muted); }
.mono { font-family: var(--ff-mono); }

.wrap { width: min(100% - var(--gutter) * 2, var(--maxw)); margin-inline: auto; }
.section { padding-block: var(--sec-y); position: relative; }
.section--alt { background: var(--bg-alt); }
.section--deep { background: var(--mid-000); color: #e8e4db; }
html[data-theme="light"] .section--deep { background: #10141b; color: #e8e4db; }
.section--deep .lede, .section--deep .muted { color: #9aa3b2; }

.sec-head { display: grid; gap: 1rem; margin-bottom: clamp(2rem, 4vw, 3.4rem); max-width: 70ch; }
.rule-line { height: 1px; background: var(--rule); width: 100%; }

/* ---------- Skip link ---------- */
.skip {
  position: fixed; top: -100px; left: 1rem; z-index: 9999;
  background: var(--accent); color: var(--accent-fg);
  padding: .7rem 1.1rem; border-radius: 3px; font-weight: 600;
}
.skip:focus { top: 1rem; }

/* ============================================================
   PRELOADER
   ============================================================ */
#preloader {
  position: fixed; inset: 0; z-index: 9000;
  background: var(--mid-000);
  display: grid; place-items: center;
  color: #e8e4db;
}
.pre-inner { display: grid; justify-items: center; gap: 1.5rem; width: min(420px, 78vw); }
.pre-stamp { width: 116px; height: 116px; }
.pre-stamp path, .pre-stamp circle, .pre-stamp line {
  stroke: var(--gold); fill: none; stroke-width: 1.4; vector-effect: non-scaling-stroke;
}
.pre-bar { width: 100%; height: 2px; background: #1b2534; overflow: hidden; }
.pre-bar i { display: block; height: 100%; width: 0%; background: linear-gradient(90deg, var(--gold-lo), var(--gold-hi)); }
.pre-meta {
  font-family: var(--ff-mono); font-size: .7rem; letter-spacing: .2em;
  text-transform: uppercase; color: #9aa3b2; display: flex; gap: .6rem;
}
.pre-meta b { color: var(--gold); font-weight: 500; }
.pre-skip {
  background: none; border: 1px solid #243044; color: #9aa3b2;
  font-family: var(--ff-mono); font-size: .66rem; letter-spacing: .18em;
  text-transform: uppercase; padding: .5rem .9rem; cursor: pointer; border-radius: 2px;
  transition: all .3s var(--ease);
}
.pre-skip:hover { border-color: var(--gold); color: var(--gold); }
body.preloading { overflow: hidden; }

/* ============================================================
   CURSOR / PROGRESS
   ============================================================ */
.cursor, .cursor-dot {
  position: fixed; top: 0; left: 0; z-index: 8000; pointer-events: none;
  border-radius: 50%; mix-blend-mode: normal;
  will-change: transform;
}
.cursor {
  opacity: 0;
  width: 34px; height: 34px; margin: -17px 0 0 -17px;
  border: 1px solid var(--gold);
  transition: width .3s var(--ease), height .3s var(--ease), margin .3s var(--ease),
              background-color .3s var(--ease), opacity .3s var(--ease);
}
.cursor-dot { opacity: 0; width: 4px; height: 4px; margin: -2px 0 0 -2px; background: var(--gold); }
.cursor.is-live, .cursor-dot.is-live { opacity: 1; }
.cursor.is-hot { width: 62px; height: 62px; margin: -31px 0 0 -31px; background: var(--gold-glow); }
.cursor.is-hidden, .cursor-dot.is-hidden { opacity: 0; }
@media (hover: none), (pointer: coarse) { .cursor, .cursor-dot { display: none !important; } }

.scroll-progress {
  position: fixed; top: 0; left: 0; height: 2px; width: 100%; z-index: 7000;
  transform: scaleX(0); transform-origin: 0 50%;
  background: linear-gradient(90deg, var(--gold-lo), var(--gold-hi), var(--gold));
}

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 6000;
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; padding: 1rem var(--gutter);
  transition: background-color .45s var(--ease), border-color .45s var(--ease), padding .45s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.is-stuck {
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: blur(16px) saturate(140%);
  border-bottom-color: var(--rule);
  padding-block: .6rem;
}
.brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; }
.brand svg { width: 34px; height: 34px; color: var(--accent); }
.brand-mark {
  width: 36px; height: 36px; display: block; flex: none;
  border-radius: 8px;
  box-shadow: 0 0 0 1px rgba(201,168,74,.2);
}
.brand-txt { display: grid; line-height: 1.05; }
.brand-txt b { font-family: var(--ff-display); font-size: 1.06rem; font-weight: 500; letter-spacing: -.01em; }
.brand-txt span {
  font-family: var(--ff-mono); font-size: .56rem; letter-spacing: .26em;
  text-transform: uppercase; color: var(--fg-dim);
}

/* Outside header so fixed drawer escapes backdrop-filter containing block */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 6050;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(.5rem, 1.4vw, 1.5rem);
  height: 4.85rem;
  padding: 0 clamp(7.5rem, 18vw, 14rem);
  pointer-events: none;
  transition: height .45s var(--ease);
}
.site-header.is-stuck ~ .nav { height: 3.85rem; }
.nav a {
  pointer-events: auto;
  text-decoration: none; font-size: .82rem; letter-spacing: .04em;
  color: var(--fg-muted); position: relative; padding: .35rem 0;
  transition: color .3s var(--ease);
}
.nav a::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 1px; width: 100%;
  background: var(--accent); transform: scaleX(0); transform-origin: 100% 50%;
  transition: transform .45s var(--ease);
}
.nav a:hover, .nav a.is-active { color: var(--fg); }
.nav a:hover::after, .nav a.is-active::after { transform: scaleX(1); transform-origin: 0 50%; }

.head-actions { display: flex; align-items: center; gap: .5rem; position: relative; z-index: 6600; }
#nav-scrim { z-index: 6300; }
.brand { position: relative; z-index: 6600; }
.icon-btn {
  width: 40px; height: 40px; display: grid; place-items: center;
  background: transparent; border: 1px solid var(--rule-strong); border-radius: 2px;
  cursor: pointer; color: var(--fg-muted);
  transition: all .3s var(--ease);
}
.icon-btn:hover { color: var(--accent); border-color: var(--accent); }
.icon-btn svg { width: 17px; height: 17px; }
a.icon-btn { text-decoration: none; }
a.admin-btn { color: var(--fg-muted); }
a.admin-btn:hover { color: var(--accent); border-color: var(--accent); text-decoration: none; }
.menu-btn { display: none; }
.menu-btn i { display: block; width: 17px; height: 1.5px; background: currentColor; transition: transform .4s var(--ease), opacity .3s; }
.menu-btn i + i { margin-top: 4px; }
.menu-btn[aria-expanded="true"] i:first-child { transform: translateY(5.5px) rotate(45deg); }
.menu-btn[aria-expanded="true"] i:last-child { transform: translateY(-5.5px) rotate(-45deg); }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--accent);
  position: relative; display: inline-flex; align-items: center; justify-content: center;
  gap: .55rem; padding: .95rem 1.7rem; border-radius: 2px; border: 1px solid var(--btn-bg);
  background: var(--btn-bg); color: var(--accent-fg);
  font-size: .84rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
  text-decoration: none; cursor: pointer; overflow: hidden; isolation: isolate;
  transition: color .35s var(--ease), border-color .35s var(--ease), background-color .35s var(--ease);
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1; background: var(--gold-hi);
  transform: translateY(101%); transition: transform .5s var(--ease);
}
.btn:hover::before { transform: translateY(0); }
.btn--ghost { background: transparent; color: var(--fg); border-color: var(--rule-strong); }
.btn--ghost::before { background: var(--accent); }
.btn--ghost:hover { color: var(--accent-fg); border-color: var(--accent); }
.btn--sm { padding: .6rem 1.05rem; font-size: .72rem; }
.btn[disabled] { opacity: .45; pointer-events: none; }

.linkbtn {
  background: none; border: 0; padding: 0; cursor: pointer; color: var(--accent);
  font-size: .8rem; letter-spacing: .04em; position: relative;
}
.linkbtn::after {
  content: ""; position: absolute; left: 0; bottom: -2px; height: 1px; width: 100%;
  background: currentColor; transform: scaleX(0); transform-origin: 100% 50%;
  transition: transform .4s var(--ease);
}
.linkbtn:hover::after { transform: scaleX(1); transform-origin: 0 50%; }

/* ============================================================
   CHAPTER RAIL
   ============================================================ */
.chapter-rail {
  position: fixed; left: 18px; top: 50%; transform: translateY(-50%);
  z-index: 5500; display: grid; gap: .85rem;
}
.rail-item {
  display: flex; align-items: center; gap: .6rem; background: none; border: 0;
  cursor: pointer; padding: 0; color: var(--fg-dim);
}
.rail-dot {
  width: 7px; height: 7px; border: 1px solid currentColor; border-radius: 50%;
  transition: all .4s var(--ease); flex: none;
}
.rail-label {
  font-family: var(--ff-mono); font-size: .6rem; letter-spacing: .18em; text-transform: uppercase;
  opacity: 0; transform: translateX(-6px); transition: all .4s var(--ease); white-space: nowrap;
}
.rail-item:hover .rail-label { opacity: 1; transform: none; }
.rail-item.is-active { color: var(--accent); }
.rail-item.is-active .rail-dot { background: var(--accent); box-shadow: 0 0 0 4px var(--gold-glow); }
.rail-item.is-active .rail-label { opacity: 1; transform: none; }
@media (max-width: 1280px) { .chapter-rail { display: none; } }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative; min-height: 100svh; display: flex; align-items: center;
  padding: clamp(6rem, 12vh, 8.5rem) 0 clamp(2.5rem, 6vh, 5rem);
  overflow: hidden; background: var(--mid-000);
  color: #e8e4db;
}
.hero-bg { position: absolute; inset: -12% -2% -8%; z-index: 0; }
.hero-bg img, .hero-bg video {
  width: 100%; height: 100% !important; object-fit: cover; opacity: .34; filter: saturate(.35) contrast(1.05);
}
.hero-scrim {
  position: absolute; inset: 0; z-index: 1;
  background:
    radial-gradient(120% 80% at 18% 40%, rgba(6,9,16,.35) 0%, rgba(6,9,16,.88) 58%, #060910 100%),
    linear-gradient(180deg, rgba(6,9,16,.9), rgba(6,9,16,.35) 35%, #060910 96%);
}
.hero-grid-lines {
  position: absolute; inset: 0; z-index: 1; opacity: .5;
  background-image: linear-gradient(90deg, rgba(201,168,74,.055) 1px, transparent 1px);
  background-size: 88px 100%;
  mask-image: linear-gradient(180deg, transparent, #000 30%, #000 70%, transparent);
}
.hero .wrap { position: relative; z-index: 2; }
.hero-inner {
  display: grid; gap: clamp(2.5rem, 5vw, 5rem);
  grid-template-columns: minmax(0, 1.08fr) minmax(0, .78fr); align-items: center;
}
.hero-title { font-size: clamp(2.8rem, 1.4rem + 4.6vw, 5.2rem); margin: .8rem 0 1.1rem; max-width: 14ch; }
.hero-title .line { display: inline-block; overflow: hidden; vertical-align: bottom; padding-bottom: .06em; }
.hero-title .line > span { display: inline-block; will-change: transform; }
.hero-sub { color: #9aa3b2; font-size: var(--step-0); max-width: 52ch; }
.hero-meta {
  display: flex; flex-wrap: wrap; gap: .5rem 1.4rem; margin-top: 1.4rem;
  font-family: var(--ff-mono); font-size: .68rem; letter-spacing: .16em;
  text-transform: uppercase; color: #67718c;
}
.hero-meta span { display: flex; align-items: center; gap: .5rem; }
.hero-meta span::before { content: ""; width: 4px; height: 4px; background: var(--gold); }
.hero-cta { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.6rem; }

/* Countdown */
.countdown { margin-top: 1.6rem; }
.countdown-lab {
  font-family: var(--ff-mono); font-size: .64rem; letter-spacing: .22em;
  text-transform: uppercase; color: var(--gold); margin-bottom: .7rem;
}
.countdown-units { display: flex; gap: clamp(.5rem, 1.6vw, 1.1rem); }
.cd-unit { text-align: center; min-width: 62px; }
.cd-digits { display: flex; gap: 3px; justify-content: center; }
.cd-digit {
  width: 28px; height: 42px; overflow: hidden;
  border: 1px solid rgba(201,168,74,.28);
  background: linear-gradient(180deg, #101724, #080c12);
  border-radius: 4px;
  position: relative;
}
.cd-digit .cd-roll {
  display: grid; grid-auto-rows: 42px;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 1.25rem; font-weight: 500; color: #efeade;
  will-change: transform;
}
.cd-digit .cd-roll span { height: 42px; display: grid; place-items: center; }
.cd-digit::after {
  content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px;
  background: rgba(0,0,0,.55);
}
.cd-unit small {
  display: block; margin-top: .45rem; font-family: var(--ff-mono);
  font-size: .56rem; letter-spacing: .2em; text-transform: uppercase; color: #67718c;
}

/* Book 3D */
.book-stage { perspective: 1600px; display: grid; place-items: center; }
.book-3d {
  position: relative; width: min(310px, 70vw); transform-style: preserve-3d;
  will-change: transform; cursor: pointer;
}
.book-3d img {
  width: 100%; border-radius: 2px 5px 5px 2px;
  box-shadow: 26px 34px 70px -28px rgba(0,0,0,.95), 0 0 0 1px rgba(201,168,74,.16);
}
.book-3d::after {
  content: ""; position: absolute; inset: 0; border-radius: 2px 5px 5px 2px;
  background: linear-gradient(105deg, rgba(255,255,255,.16) 0%, transparent 38%, transparent 62%, rgba(201,168,74,.14) 100%);
  pointer-events: none; opacity: .8;
}
.book-badge {
  position: absolute; right: -14px; top: -16px; z-index: 3;
  background: linear-gradient(180deg, var(--amazon-hi), var(--amazon) 52%, var(--amazon-lo));
  color: var(--amazon-ink); padding: .42rem .75rem;
  font-family: var(--ff-mono); font-size: .6rem; letter-spacing: .16em; text-transform: uppercase;
  border-radius: 2px; box-shadow: 0 10px 26px -12px rgba(255,153,0,.75);
  border: 1px solid rgba(255,200,80,.35);
}
.book-hint {
  margin-top: 1.1rem; text-align: center; font-family: var(--ff-mono);
  font-size: .6rem; letter-spacing: .2em; text-transform: uppercase; color: #67718c;
}
.book-stage__stack {
  display: grid;
  justify-items: center;
  gap: .85rem;
  width: 100%;
}

/* Hero chip — midnight */
.rank-proof {
  display: inline-flex;
  align-items: center;
  gap: .85rem;
  margin-top: 1.25rem;
  padding: .65rem .9rem .65rem .65rem;
  text-decoration: none;
  color: inherit;
  border: 1px solid rgba(201,168,74,.32);
  background: linear-gradient(145deg, rgba(201,168,74,.1), rgba(8,12,18,.92));
  border-radius: 4px;
  max-width: 100%;
  transition: border-color .2s ease, transform .2s ease;
}
.rank-proof:hover {
  border-color: rgba(201,168,74,.65);
  transform: translateY(-1px);
}
.rank-proof__badge {
  flex: none;
  display: grid;
  place-items: center;
  min-width: 2.35rem;
  height: 2.35rem;
  background: var(--amazon);
  color: var(--amazon-ink);
  font-family: var(--ff-mono);
  font-size: .82rem;
  font-weight: 800;
  letter-spacing: .04em;
  border-radius: 3px;
  box-shadow: 0 8px 18px -10px rgba(255,153,0,.75);
}
.rank-proof__copy {
  display: grid;
  gap: .16rem;
  min-width: 0;
}
.rank-proof__copy b {
  font-family: var(--ff-mono);
  font-size: .7rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #e8e4db;
  font-weight: 600;
}
.rank-proof__copy em {
  font-style: normal;
  font-family: var(--ff-mono);
  font-size: .6rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--gold);
}

/* Small Amazon snapshot under book — Midnight Steel frame */
.amazon-shot {
  display: grid;
  gap: .7rem;
  width: min(200px, 56vw);
  margin-top: .35rem;
  text-decoration: none;
  color: inherit;
  justify-items: stretch;
  transition: transform .22s ease;
}
.amazon-shot:hover { transform: translateY(-2px); }
.amazon-shot__frame {
  position: relative;
  display: block;
  padding: 7px;
  border-radius: 5px;
  background:
    linear-gradient(165deg, rgba(201,168,74,.22), transparent 42%),
    linear-gradient(180deg, #151b28 0%, #0a0e14 100%);
  border: 1px solid rgba(201,168,74,.38);
  box-shadow:
    0 20px 44px -24px rgba(0,0,0,.95),
    0 0 0 1px rgba(255,255,255,.04) inset,
    0 0 28px -18px rgba(201,168,74,.35);
}
.amazon-shot__frame::after {
  content: "";
  position: absolute;
  inset: 7px;
  border-radius: 2px;
  pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(10,14,20,.35);
  background: linear-gradient(180deg, rgba(10,14,20,.08), rgba(10,14,20,.28));
  mix-blend-mode: multiply;
  opacity: .55;
}
.amazon-shot__num {
  position: absolute;
  top: -8px;
  left: -8px;
  z-index: 4;
  display: grid;
  place-items: center;
  min-width: 2.55rem;
  height: 2.55rem;
  padding: 0 .3rem;
  background: linear-gradient(180deg, var(--amazon-hi) 0%, var(--amazon) 48%, var(--amazon-lo) 100%);
  color: var(--amazon-ink);
  font-family: var(--ff-mono);
  font-size: .9rem;
  font-weight: 800;
  letter-spacing: .02em;
  border-radius: 3px;
  border: 1px solid rgba(255,200,80,.45);
  box-shadow:
    0 12px 24px -12px rgba(255,153,0,.9),
    0 0 0 1px rgba(10,14,20,.35);
}
.amazon-shot picture {
  display: block;
  border-radius: 2px;
  overflow: hidden;
  background: #0d121a;
}
.amazon-shot img {
  display: block;
  width: 100%;
  height: auto;
  filter: saturate(.88) contrast(1.04) brightness(.94);
  transition: filter .22s ease;
}
.amazon-shot:hover img {
  filter: saturate(.95) contrast(1.06) brightness(.98);
}
.amazon-shot__meta {
  display: grid;
  gap: .22rem;
  text-align: center;
  padding: 0 .15rem;
}
.amazon-shot__meta b {
  font-family: var(--ff-mono);
  font-size: .58rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #d7d2c7;
  font-weight: 600;
}
.amazon-shot__meta em {
  font-style: normal;
  font-family: var(--ff-mono);
  font-size: .54rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gold);
}
.amazon-shot__link {
  display: block;
  text-align: center;
  font-family: var(--ff-mono);
  font-size: .56rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--gold);
  padding: .55rem .6rem;
  border: 1px solid rgba(201,168,74,.32);
  border-radius: 3px;
  background: linear-gradient(180deg, rgba(201,168,74,.1), rgba(10,14,20,.55));
  transition: background .2s ease, border-color .2s ease, color .2s ease;
}
.amazon-shot:hover .amazon-shot__link {
  background: var(--gold);
  border-color: var(--gold);
  color: #0a0e14;
}
@media (max-width: 720px) {
  .amazon-shot { width: min(184px, 58vw); }
  .rank-proof { width: 100%; }
  .amazon-shot__num { min-width: 2.3rem; height: 2.3rem; font-size: .82rem; }
}

.scroll-cue {
  position: absolute; bottom: 1.4rem; left: 50%; transform: translateX(-50%); z-index: 3;
  display: grid; justify-items: center; gap: .5rem;
  font-family: var(--ff-mono); font-size: .56rem; letter-spacing: .24em;
  text-transform: uppercase; color: #67718c;
}
.scroll-cue i { display: block; width: 1px; height: 42px; background: linear-gradient(180deg, var(--gold), transparent); }

/* ============================================================
   MARQUEE
   ============================================================ */
.marquee {
  border-block: 1px solid var(--rule); overflow: hidden; padding: .95rem 0;
  background: var(--bg-alt); position: relative;
}
.marquee-track { display: flex; gap: 2.6rem; width: max-content; will-change: transform; }
.marquee-track span {
  font-family: var(--ff-mono); font-size: .74rem; letter-spacing: .2em;
  text-transform: uppercase; color: var(--fg-dim); display: flex; align-items: center; gap: 2.6rem;
}
.marquee-track span::after { content: "◆"; color: var(--accent); font-size: .5rem; }
.marquee.is-paused .marquee-track { animation-play-state: paused; }

/* ============================================================
   NEWS TICKER — under nav (matches bottom .marquee)
   ============================================================ */
.auto-news-ticker {
  position: fixed;
  top: var(--rh-header-h, 4.85rem);
  left: 0; right: 0;
  z-index: 5900;
  /* Same strip language as bottom marquee */
  border-block: 1px solid var(--rule);
  background: var(--bg-alt);
  padding: 0;
  transition:
    top .2s var(--ease, ease),
    transform .32s cubic-bezier(.22, 1, .36, 1),
    opacity .28s ease,
    visibility .28s ease;
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
/* JS measures header and sets --rh-header-h + inline top */
html.header-stuck .auto-news-ticker {
  top: var(--rh-header-h, 3.85rem);
}
/* Scroll-down: slide up under the header and leave */
.auto-news-ticker.is-away {
  transform: translateY(calc(-100% - 2px));
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  border-block-color: transparent;
}
@media (prefers-reduced-motion: reduce) {
  .auto-news-ticker {
    transition: opacity .15s ease, visibility .15s ease;
  }
  .auto-news-ticker.is-away {
    transform: none;
  }
}

.auto-news-inner {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  padding: .95rem 0;
  isolation: isolate;
}
/* Left lock — same type system as marquee text, gold NEWS */
.auto-news-label {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 2.6rem;
  flex: none;
  padding: 0 0 0 clamp(1rem, 3vw, 1.6rem);
  margin: 0;
  font-family: var(--ff-mono);
  font-size: .74rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
  white-space: nowrap;
  background: transparent;
  border: 0;
  box-shadow: none;
}
.auto-news-label::after {
  content: "◆";
  color: var(--accent, var(--gold));
  font-size: .5rem;
  line-height: 1;
}
.auto-news-label em {
  font-style: normal;
  font-weight: inherit;
}
.auto-news-viewport {
  position: relative;
  z-index: 1;
  min-width: 0;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent 0, #000 .6rem, #000 calc(100% - 1.2rem), transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 .6rem, #000 calc(100% - 1.2rem), transparent);
  display: flex;
  align-items: center;
}
/* Track mirrors .marquee-track */
.auto-news-track {
  display: flex;
  align-items: center;
  gap: 2.6rem;
  width: max-content;
  will-change: transform;
  padding-inline: 0 1.25rem;
}
.auto-news-track--css {
  animation: auto-news-scroll 48s linear infinite;
}
@keyframes auto-news-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-33.333%); }
}
/* Items mirror .marquee-track span */
.auto-news-item {
  display: inline-flex;
  align-items: center;
  gap: 2.6rem;
  text-decoration: none;
  color: var(--fg-dim);
  font-family: var(--ff-mono);
  font-size: .74rem;
  font-weight: 400;
  letter-spacing: .2em;
  text-transform: uppercase;
  white-space: nowrap;
  line-height: 1.2;
}
.auto-news-item b {
  font-weight: 400;
  color: inherit;
  letter-spacing: inherit;
}
/* Source sits inline, quieter — still marquee family */
.auto-news-item i {
  font-style: normal;
  color: var(--fg-dim);
  font-size: inherit;
  letter-spacing: inherit;
  opacity: .72;
}
.auto-news-item i::before {
  content: "·";
  margin-right: .55rem;
  color: var(--fg-dim);
  opacity: .8;
}
.auto-news-item::after {
  content: "◆";
  color: var(--accent, var(--gold));
  font-size: .5rem;
  margin-left: 0;
  opacity: 1;
  line-height: 1;
}
.auto-news-item:hover,
.auto-news-item:hover b {
  color: var(--fg-muted, #9aa3b2);
}

/* Daily lead / chart-topper — keeps Amazon orange #1 only */
.auto-news-item--lead b {
  color: var(--fg-dim);
  font-weight: 400;
}
.auto-news-item--lead:hover b {
  color: var(--fg-muted, #9aa3b2);
}
.auto-news-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  min-width: 1.45rem;
  height: 1rem;
  padding: 0 .28rem;
  margin-right: -.9rem; /* pull toward headline inside flex gap */
  border-radius: 2px;
  background: linear-gradient(180deg, var(--amazon-hi), var(--amazon) 55%, var(--amazon-lo));
  color: var(--amazon-ink);
  font-family: var(--ff-mono);
  font-size: .5rem;
  font-weight: 800;
  letter-spacing: .06em;
  line-height: 1;
  box-shadow: 0 0 0 1px rgba(228,121,17,.35);
}

/* Push hero so ticker doesn't cover first paint content. */
.hero {
  scroll-margin-top: calc(var(--rh-header-h, 4.85rem) + var(--rh-news-h, 2.8rem) + .4rem);
  padding-top: calc(var(--rh-header-h, 4.85rem) + var(--rh-news-h, 2.8rem) + 1.15rem) !important;
}
main#main {
  padding-top: 0;
}
@media (max-width: 720px) {
  .auto-news-inner { padding: .78rem 0; }
  .auto-news-label {
    padding-left: .85rem;
    font-size: .62rem;
    letter-spacing: .16em;
    gap: 1.4rem;
  }
  .auto-news-item {
    font-size: .62rem;
    letter-spacing: .14em;
    gap: 1.4rem;
  }
  .auto-news-track { gap: 1.4rem; padding-inline: 0 .85rem; }
  .auto-news-badge { margin-right: -.4rem; }
}



/* ============================================================
   STATS
   ============================================================ */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--rule); border: 1px solid var(--rule); }
.stat { background: var(--bg); padding: clamp(1.4rem, 3vw, 2.4rem); position: relative; overflow: hidden; }
.stat b {
  display: block; font-family: var(--ff-display); font-size: var(--step-3);
  font-weight: 500; line-height: 1; font-variant-numeric: tabular-nums;
}
.stat span {
  display: block; margin-top: .55rem; font-family: var(--ff-mono); font-size: .62rem;
  letter-spacing: .2em; text-transform: uppercase; color: var(--fg-dim);
}
.stat::after {
  content: ""; position: absolute; inset: 0; background: var(--gold-glow);
  opacity: 0; pointer-events: none;
}

/* ============================================================
   NINE RULES — pinned scrub
   ============================================================ */
.rules-outer { background: var(--mid-000); color: #e8e4db; }
html[data-theme="light"] .rules-outer { background: #10141b; color: #e8e4db; }
.rules-pin { min-height: 100svh; display: flex; align-items: center; position: relative; overflow: hidden; }
.rules-pin::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(70% 60% at 78% 50%, rgba(201,168,74,.09), transparent 70%);
}
.rules-inner { position: relative; z-index: 2; }
.rules-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 1rem; flex-wrap: wrap; }
.rules-head h2 { color: #e8e4db; }
.rules-count { font-family: var(--ff-mono); font-size: .8rem; letter-spacing: .18em; color: #67718c; }
.rules-count b { color: var(--gold); font-size: 1.5rem; font-weight: 500; }
.rules-body { display: grid; grid-template-columns: minmax(0, .46fr) minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 4rem); align-items: center; margin-top: clamp(1.6rem, 4vw, 3rem); }
.rules-num { position: relative; display: grid; place-items: center; }
.rules-num .big {
  font-family: var(--ff-display); font-size: clamp(7rem, 17vw, 15rem); line-height: .8;
  color: transparent; -webkit-text-stroke: 1px rgba(201,168,74,.55); font-variant-numeric: tabular-nums;
}
.rules-ring { position: absolute; inset: 0; margin: auto; width: min(280px, 62vw); height: min(280px, 62vw); }
.rules-ring circle { fill: none; stroke-width: 1.5; }
.rules-ring .trk { stroke: rgba(232,228,219,.1); }
.rules-ring .bar { stroke: var(--gold); stroke-linecap: round; transform: rotate(-90deg); transform-origin: 50% 50%; }
.rules-stage { min-height: 250px; position: relative; }
.rule-item { position: absolute; inset: 0; display: grid; align-content: center; gap: 1rem; }
.rule-item h3 { font-size: var(--step-3); color: #e8e4db; max-width: 20ch; }
.rule-item p { color: #9aa3b2; max-width: 52ch; }
.rule-tag {
  font-family: var(--ff-mono); font-size: .6rem; letter-spacing: .22em;
  text-transform: uppercase; color: var(--gold);
}
.rules-dots { display: flex; gap: .5rem; margin-top: 1.8rem; flex-wrap: wrap; }
.rules-dots button {
  width: 30px; height: 3px; background: rgba(232,228,219,.16); border: 0; cursor: pointer; padding: 0;
  transition: background-color .35s var(--ease), transform .35s var(--ease);
}
.rules-dots button.is-on { background: var(--gold); transform: scaleY(2); }
.rules-hint { margin-top: 1.1rem; font-family: var(--ff-mono); font-size: .6rem; letter-spacing: .18em; text-transform: uppercase; color: #4e5768; }

/* ============================================================
   ARC — horizontal scrub
   ============================================================ */
.arc-outer { overflow: hidden; }
.arc-pin { min-height: 100svh; display: flex; flex-direction: column; justify-content: center; gap: 1.6rem; }
.arc-track { display: flex; gap: clamp(1rem, 2vw, 1.8rem); padding-inline: var(--gutter); will-change: transform; }
.arc-card {
  flex: none; width: min(360px, 78vw); min-height: 400px; background: var(--surface);
  border: 1px solid var(--rule); border-radius: var(--radius-lg);
  overflow: hidden; display: grid; align-content: start;
  box-shadow: var(--shadow-md);
}
.arc-card__img { height: 200px; overflow: hidden; position: relative; background: var(--surface-2); }
.arc-card__img img {
  width: 100%; height: 128% !important; object-fit: cover; will-change: transform, filter;
  filter: grayscale(1) contrast(1.08) brightness(.96);
  transition: filter .45s ease, transform .6s var(--ease, cubic-bezier(.22,1,.36,1));
}
.arc-card:hover .arc-card__img img,
.arc-card:focus-within .arc-card__img img {
  filter: grayscale(0) contrast(1.05) saturate(1.05) brightness(1);
  transform: scale(1.04);
}
@media (hover: none) {
  .arc-card__img img { filter: grayscale(1) contrast(1.08); }
  .arc-card.is-active .arc-card__img img,
  .arc-card:active .arc-card__img img {
    filter: grayscale(0) contrast(1.05) saturate(1.05);
  }
}
.arc-card__img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(6,9,16,.65)); }
.arc-card__b { padding: 1.5rem 1.4rem 1.7rem; display: grid; gap: .7rem; align-content: space-between; height: 100%; grid-template-rows: auto auto 1fr auto; }
.arc-when {
  font-family: var(--ff-mono); font-size: .6rem; letter-spacing: .2em;
  text-transform: uppercase; color: var(--accent);
}
.arc-card h3 { font-size: var(--step-1); }
.arc-card p { font-size: .92rem; color: var(--fg-muted); }
.arc-idx {
  font-family: var(--ff-mono); font-size: .6rem; color: var(--fg-faint);
  border-top: 1px solid var(--rule); padding-top: .8rem; letter-spacing: .18em;
}
.arc-progress { height: 2px; background: var(--rule); margin-inline: var(--gutter); }
.arc-progress i { display: block; height: 100%; width: 0; background: var(--accent); transform-origin: 0 50%; }
.arc-foot {
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  margin-inline: var(--gutter); font-family: var(--ff-mono); font-size: .62rem;
  letter-spacing: .18em; text-transform: uppercase; color: var(--fg-dim);
}

/* ============================================================
   CHAPTERS / TOC
   ============================================================ */
.inside-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, .65fr); gap: clamp(2rem, 4vw, 4rem); align-items: start; }
.chapters { border-top: 1px solid var(--rule); }
.chap {
  width: 100%; text-align: left; background: none; border: 0; cursor: pointer;
  border-bottom: 1px solid var(--rule); padding: 1.05rem .4rem; display: grid;
  grid-template-columns: 3.1rem 1fr auto; gap: 1rem; align-items: baseline;
  position: relative; color: inherit; transition: background-color .35s var(--ease), padding-left .35s var(--ease);
}
.chap::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 2px;
  background: var(--accent); transform: scaleY(0); transform-origin: 50% 100%;
  transition: transform .4s var(--ease);
}
.chap:hover, .chap:focus-visible { background: var(--surface); padding-left: 1rem; }
.chap:hover::before, .chap:focus-visible::before { transform: scaleY(1); transform-origin: 50% 0; }
.chap-n { font-family: var(--ff-mono); font-size: .74rem; color: var(--accent); letter-spacing: .1em; }
.chap-t { display: block; font-family: var(--ff-display); font-size: var(--step-1); line-height: 1.2; }
.chap-tease {
  display: block; grid-column: 2; font-size: .85rem; color: var(--fg-muted);
  max-height: 0; opacity: 0; overflow: hidden;
  transition: max-height .5s var(--ease), opacity .4s var(--ease), margin-top .4s var(--ease);
}
.chap:hover .chap-tease, .chap:focus-visible .chap-tease { max-height: 4rem; opacity: 1; margin-top: .45rem; }
.chap-flag {
  font-family: var(--ff-mono); font-size: .55rem; letter-spacing: .18em; text-transform: uppercase;
  color: var(--accent); border: 1px solid color-mix(in srgb, var(--accent) 45%, transparent);
  padding: .22rem .45rem; border-radius: 2px; white-space: nowrap;
}
.chap-flag--doc { background: var(--accent); color: var(--accent-fg); border-color: var(--accent); }
.bp-row {
  display: flex; gap: .8rem; align-items: baseline; padding: .8rem .4rem .8rem 3.1rem;
  border-bottom: 1px solid var(--rule); background: color-mix(in srgb, var(--accent) 6%, transparent);
}
.bp-row .bp-lab {
  font-family: var(--ff-mono); font-size: .55rem; letter-spacing: .2em; text-transform: uppercase;
  color: var(--accent); flex: none;
}
.bp-row .bp-t { font-size: .9rem; color: var(--fg); }

/* Drawer */
.drawer {
  position: fixed; top: 0; right: 0; height: 100dvh; width: min(480px, 92vw); z-index: 7500;
  background: var(--surface); border-left: 1px solid var(--rule);
  transform: translateX(100%); transition: transform .6s var(--ease);
  display: grid; grid-template-rows: auto 1fr; box-shadow: var(--shadow-lg);
}
.drawer.is-open { transform: none; }
.drawer-head { display: flex; justify-content: space-between; align-items: center; padding: 1.3rem 1.5rem; border-bottom: 1px solid var(--rule); }
.drawer-body { padding: 1.8rem 1.5rem 3rem; overflow-y: auto; display: grid; gap: 1.2rem; align-content: start; }
.drawer-num { font-family: var(--ff-mono); font-size: .68rem; letter-spacing: .22em; text-transform: uppercase; color: var(--accent); }
.drawer-body h3 { font-size: var(--step-2); }
.drawer-row { display: grid; gap: .3rem; border-top: 1px solid var(--rule); padding-top: .9rem; }
.drawer-row dt { font-family: var(--ff-mono); font-size: .58rem; letter-spacing: .2em; text-transform: uppercase; color: var(--fg-dim); }
.drawer-row dd { margin: 0; color: var(--fg-muted); }
.label-note {
  font-family: var(--ff-mono); font-size: .55rem; letter-spacing: .16em; text-transform: uppercase;
  color: var(--fg-dim); border: 1px dashed var(--rule-strong); padding: .5rem .6rem; border-radius: 2px;
}
.scrim {
  position: fixed; inset: 0; z-index: 7400; background: rgba(6,9,16,.72);
  backdrop-filter: blur(3px); opacity: 0; pointer-events: none; transition: opacity .5s var(--ease);
}
.scrim.is-on { opacity: 1; pointer-events: auto; }

/* Buy card */
.buy-card {
  background: var(--surface); border: 1px solid var(--rule); border-radius: var(--radius-lg);
  padding: clamp(1.4rem, 3vw, 2rem); display: grid; gap: 1rem; position: sticky; top: 6rem;
  box-shadow: var(--shadow-md);
}
.price-row { display: grid; gap: .6rem; }
.price { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; border-bottom: 1px dashed var(--rule); padding-bottom: .6rem; }
.price span { font-size: .78rem; color: var(--fg-muted); }
.price b { font-family: var(--ff-display); font-size: var(--step-2); font-weight: 500; }
.buy-note { font-size: .76rem; color: var(--fg-dim); }
.field { display: grid; gap: .4rem; }
.field label { font-family: var(--ff-mono); font-size: .58rem; letter-spacing: .18em; text-transform: uppercase; color: var(--fg-dim); }
input, select, textarea {
  background: var(--bg); border: 1px solid var(--rule-strong); border-radius: 2px;
  padding: .7rem .8rem; width: 100%; transition: border-color .3s var(--ease), box-shadow .3s var(--ease);
}
input:focus, select:focus, textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--gold-glow); outline: none; }
.form-ok { font-size: .78rem; color: var(--accent); min-height: 1.1rem; }
.form-err { font-size: .72rem; color: #e2809a; }

/* Look-inside panel */
.look {
  margin-top: clamp(2rem, 4vw, 3rem); border: 1px solid var(--rule);
  border-radius: var(--radius-lg); overflow: hidden; background: var(--surface);
}
.look-head {
  width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  padding: 1.1rem 1.3rem; background: none; border: 0; cursor: pointer; color: inherit; text-align: left;
}
.look-head b { font-family: var(--ff-display); font-size: var(--step-1); font-weight: 500; }
.look-head .chev { transition: transform .45s var(--ease); color: var(--accent); }
.look.is-open .chev { transform: rotate(180deg); }
.look-body { height: 0; overflow: hidden; }
.look-inner { padding: 0 1.3rem 1.6rem; display: grid; gap: .9rem; max-width: 68ch; }
.look-inner p { color: var(--fg-muted); }

/* ============================================================
   OFFERS
   ============================================================ */
.offers { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 1px; background: var(--rule); border: 1px solid var(--rule); }
.offer { background: var(--bg); padding: clamp(1.4rem, 2.6vw, 2rem); display: grid; gap: .7rem; position: relative; transition: background-color .4s var(--ease); }
.offer:hover { background: var(--surface); }
.offer .n { font-family: var(--ff-mono); font-size: .64rem; letter-spacing: .2em; color: var(--accent); }
.offer h3 { font-size: var(--step-1); }
.offer p { font-size: .9rem; color: var(--fg-muted); }
.offer ul { list-style: none; padding: 0; display: grid; gap: .35rem; margin-top: .3rem; }
.offer li { font-size: .8rem; color: var(--fg-dim); display: flex; gap: .5rem; align-items: baseline; }
.offer li::before { content: "—"; color: var(--accent); }

.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.field--full { grid-column: 1 / -1; }
.form-foot { grid-column: 1 / -1; display: flex; gap: 1rem; align-items: center; flex-wrap: wrap; }

/* ============================================================
   NOTES / BLOG
   ============================================================ */
.notes-tools { display: flex; gap: 1rem; flex-wrap: wrap; align-items: center; justify-content: space-between; margin-bottom: 1.6rem; }
.search { position: relative; min-width: min(300px, 100%); }
.chips { display: flex; gap: .45rem; flex-wrap: wrap; }
.chip {
  background: transparent; border: 1px solid var(--rule-strong); border-radius: 100px;
  padding: .38rem .8rem; font-size: .72rem; cursor: pointer; color: var(--fg-muted);
  transition: all .35s var(--ease);
}
.chip:hover { border-color: var(--accent); color: var(--accent); }
.chip.is-on { background: var(--accent); border-color: var(--accent); color: var(--accent-fg); }
.posts { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 1.2rem; }
.post {
  background: var(--surface); border: 1px solid var(--rule); border-radius: var(--radius-lg);
  padding: 1.4rem; display: grid; gap: .7rem; align-content: start;
  transition: transform .5s var(--ease), border-color .4s var(--ease), box-shadow .5s var(--ease);
}
.post:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--accent) 45%, var(--rule)); box-shadow: var(--shadow-md); }
.post-top { display: flex; justify-content: space-between; gap: 1rem; align-items: center; }
.badge {
  font-family: var(--ff-mono); font-size: .54rem; letter-spacing: .18em; text-transform: uppercase;
  padding: .24rem .5rem; border-radius: 2px; border: 1px solid var(--rule-strong); color: var(--fg-dim);
}
.badge--li { border-color: var(--accent); color: var(--accent); }
.post time { font-family: var(--ff-mono); font-size: .62rem; color: var(--fg-dim); letter-spacing: .1em; }
.post h3 { font-size: var(--step-1); }
.post p { font-size: .9rem; color: var(--fg-muted); }
.post-tags { display: flex; gap: .35rem; flex-wrap: wrap; }
.post-tags i { font-style: normal; font-family: var(--ff-mono); font-size: .55rem; letter-spacing: .14em; text-transform: uppercase; color: var(--fg-dim); }
.post-body { height: 0; overflow: hidden; }
.post-body-inner { padding-top: .8rem; display: grid; gap: .7rem; border-top: 1px solid var(--rule); margin-top: .4rem; }
.post-body-inner p { font-size: .88rem; color: var(--fg-muted); }
.post-foot { display: flex; gap: 1rem; align-items: center; justify-content: space-between; }
.empty-state { text-align: center; padding: 3rem 1rem; color: var(--fg-muted); display: grid; gap: .4rem; }

/* ============================================================
   POLLS
   ============================================================ */
.polls { display: grid; grid-template-columns: repeat(auto-fit, minmax(330px, 1fr)); gap: 1.2rem; }
.poll { background: var(--surface); border: 1px solid var(--rule); border-radius: var(--radius-lg); padding: 1.4rem; display: grid; gap: .9rem; }
.poll h3 { font-size: var(--step-1); }
.poll-opts { display: grid; gap: .55rem; }
.opt {
  position: relative; width: 100%; text-align: left; background: var(--bg);
  border: 1px solid var(--rule-strong); border-radius: 2px; padding: .68rem .8rem;
  cursor: pointer; overflow: hidden; color: inherit; font-size: .88rem;
  transition: border-color .3s var(--ease);
}
.opt:hover { border-color: var(--accent); }
.opt .fill {
  position: absolute; inset: 0 auto 0 0; width: 0; background: var(--gold-glow); z-index: 0;
  border-right: 1px solid color-mix(in srgb, var(--accent) 55%, transparent);
}
.opt .lab, .opt .pct { position: relative; z-index: 1; }
.opt .pct { float: right; font-family: var(--ff-mono); font-size: .74rem; color: var(--accent); font-variant-numeric: tabular-nums; }
.opt.is-picked { border-color: var(--accent); }
.poll-foot { font-family: var(--ff-mono); font-size: .6rem; letter-spacing: .14em; text-transform: uppercase; color: var(--fg-dim); display: flex; justify-content: space-between; gap: 1rem; }

/* ============================================================
   BOARD
   ============================================================ */
.board-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(1.6rem, 4vw, 3.5rem); align-items: start; }
.board-form { display: grid; gap: .8rem; background: rgba(255,255,255,.03); border: 1px solid rgba(232,228,219,.12); border-radius: var(--radius-lg); padding: 1.4rem; }
.section--deep input, .section--deep textarea { background: rgba(0,0,0,.35); border-color: rgba(232,228,219,.16); color: #e8e4db; }
.section--deep .field label { color: #67718c; }
.msgs { display: grid; gap: .9rem; }
.msg { background: rgba(255,255,255,.03); border: 1px solid rgba(232,228,219,.1); border-radius: var(--radius-lg); padding: 1.1rem 1.2rem; display: grid; gap: .5rem; }
.msg--reply { margin-left: clamp(1rem, 4vw, 2.4rem); border-left: 2px solid var(--gold); }
.msg-top { display: flex; gap: .8rem; align-items: baseline; justify-content: space-between; }
.msg-top b { font-size: .9rem; }
.msg-top time { font-family: var(--ff-mono); font-size: .6rem; color: #67718c; }
.msg p { font-size: .92rem; color: #c3c8d1; }
.msg-acts { display: flex; gap: 1rem; align-items: center; }
.like {
  background: none; border: 0; cursor: pointer; color: #9aa3b2; font-size: .76rem;
  display: inline-flex; gap: .35rem; align-items: center; position: relative;
}
.like.is-on { color: var(--gold); }
.like .burst { position: absolute; inset: -8px; pointer-events: none; }
.reply-to { display: none; gap: .6rem; align-items: center; font-size: .78rem; color: #9aa3b2; }
.reply-to.is-on { display: flex; }
.thread-toggle { font-family: var(--ff-mono); font-size: .58rem; letter-spacing: .18em; text-transform: uppercase; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: var(--mid-000); color: #9aa3b2; padding: clamp(3rem, 6vw, 5rem) 0 2rem; border-top: 1px solid rgba(201,168,74,.16); }
html[data-theme="light"] .site-footer { background: #10141b; }
.foot-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 2rem; }
.foot-grid h4 { font-family: var(--ff-mono); font-size: .6rem; letter-spacing: .22em; text-transform: uppercase; color: var(--gold); font-weight: 400; }
.foot-list { list-style: none; padding: 0; display: grid; gap: .5rem; margin-top: .9rem; }
.foot-list a { text-decoration: none; font-size: .86rem; transition: color .3s var(--ease); }
.foot-list a:hover { color: var(--gold); }
.foot-bottom { margin-top: 3rem; padding-top: 1.4rem; border-top: 1px solid rgba(232,228,219,.1); display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-family: var(--ff-mono); font-size: .6rem; letter-spacing: .14em; text-transform: uppercase; color: #4e5768; }

/* ============================================================
   REVEALS
   ============================================================ */
[data-rv] { opacity: 0; transform: translateY(24px); }
html.no-motion [data-rv] { opacity: 1 !important; transform: none !important; }

/* Wipe divider */
.wipe { position: relative; height: clamp(60px, 9vw, 130px); overflow: hidden; background: var(--bg); }
.wipe i {
  position: absolute; inset: 0; background: var(--mid-000);
  clip-path: polygon(0 100%, 100% 100%, 100% 100%, 0 100%);
}
html[data-theme="light"] .wipe i { background: #10141b; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; }
  .book-stage { order: -1; }
  .inside-grid, .board-grid { grid-template-columns: 1fr; }
  .buy-card { position: static; }
  .rules-body { grid-template-columns: 1fr; }
  .rules-num { display: none; }
  .stats { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 760px) {
  .menu-btn { display: grid; }
  .book-stage { order: 1; }
  .book-3d { width: min(230px, 56vw); }
  .hero { min-height: auto; padding-top: 6.5rem; }
  .hero-inner { gap: 2.2rem; }
  .hero-meta { font-size: .6rem; gap: .4rem .9rem; }
  .kicker { font-size: .58rem; letter-spacing: .16em; }
  .scroll-cue { display: none; }
  .nav {
    position: fixed; inset: 0 0 0 auto; width: min(340px, 88vw); z-index: 6500;
    background: var(--surface); border-left: 1px solid var(--rule);
    flex-direction: column; align-items: flex-start; justify-content: center;
    gap: .3rem; padding: 5rem 2rem 2rem;
    transform: translateX(100%); transition: transform .6s var(--ease);
  }
  .nav.is-open { transform: none; }
  .nav a { font-size: 1.28rem; font-family: var(--ff-display); opacity: 0; transform: translateX(20px); }
  .nav.is-open a { animation: navIn .55s var(--ease) forwards; }
  .nav.is-open a:nth-child(1) { animation-delay: .08s; }
  .nav.is-open a:nth-child(2) { animation-delay: .14s; }
  .nav.is-open a:nth-child(3) { animation-delay: .2s; }
  .nav.is-open a:nth-child(4) { animation-delay: .26s; }
  .nav.is-open a:nth-child(5) { animation-delay: .32s; }
  .nav.is-open a:nth-child(6) { animation-delay: .38s; }
  .nav.is-open a:nth-child(7) { animation-delay: .44s; }
  html.no-motion .nav a { opacity: 1; transform: none; }
  .form-grid { grid-template-columns: 1fr; }
  .posts, .polls { grid-template-columns: 1fr; }
  .chap { grid-template-columns: 2.3rem 1fr; align-items: start; }
  .chap-flag { grid-column: 2; justify-self: start; margin-top: .35rem; }
  .chap-tease { max-height: none; opacity: 1; margin-top: .4rem; }
  .bp-row { padding-left: 2.3rem; flex-direction: column; gap: .25rem; }
  .cd-unit { min-width: 0; }
  .cd-digit { width: 22px; height: 36px; }
  .cd-digit .cd-roll { font-size: 1.05rem; grid-auto-rows: 36px; }
  .cd-digit .cd-roll span { height: 36px; }
  .hero-cta .btn { flex: 1 1 100%; }
  .stats { grid-template-columns: 1fr; }
  .drawer { width: 100%; }
}

@keyframes navIn { to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  [data-rv] { opacity: 1 !important; transform: none !important; }
  .cursor, .cursor-dot { display: none !important; }
}


/* Forms / Turnstile / honeypot — prod */
.rh-hp{
  position:absolute!important;left:-10000px!important;top:auto!important;
  width:1px!important;height:1px!important;overflow:hidden!important;
  opacity:0!important;pointer-events:none!important;
}
/* Turnstile — site chrome (iframe colors limited by Cloudflare) */
.ts-slot,
.cf-turnstile-wrap{
  min-height: 0;
  display: flex;
  align-items: stretch;
  width: 100%;
  max-width: 100%;
  margin: .15rem 0 .35rem;
  padding: 0;
  border: 0;
  background: transparent;
  border-radius: 2px;
}
.ts-slot:has(iframe),
.cf-turnstile-wrap:has(iframe),
.cf-turnstile:has(iframe){
  min-height: 65px;
  padding: .55rem .7rem;
  border: 1px solid rgba(201,168,74,.22);
  background:
    linear-gradient(180deg, rgba(201,168,74,.04), transparent 55%),
    rgba(12, 16, 24, .92);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.03);
}
.cf-turnstile{
  width: 100% !important;
  max-width: 100%;
  transform-origin: left center;
}
.cf-turnstile iframe{
  width: 100% !important;
  max-width: 100% !important;
  /* mute CF orange; keep dark chrome readable */
  filter: saturate(.55) brightness(.96) contrast(1.02);
  border-radius: 2px;
}
/* deep section forms (consulting) */
.section--deep .ts-slot:has(iframe),
.section--deep .cf-turnstile:has(iframe),
.section--deep .cf-turnstile-wrap:has(iframe){
  border-color: rgba(201,168,74,.28);
  background:
    linear-gradient(180deg, rgba(201,168,74,.05), transparent 60%),
    rgba(10, 14, 22, .95);
}
/* light theme safety */
html[data-theme="light"] .ts-slot:has(iframe),
html[data-theme="light"] .cf-turnstile:has(iframe){
  border-color: rgba(120,100,50,.25);
  background: rgba(255,255,255,.7);
}
html[data-theme="light"] .cf-turnstile iframe{
  filter: saturate(.5) brightness(1.02);
}
.form-foot .btn{ min-height: 48px; }
.consulting-banner{
  position: sticky; top: 64px; z-index: 40;
  margin: 0 auto; max-width: var(--wrap, 1120px);
  padding: .85rem 1.1rem; border: 1px solid rgba(201,168,74,.4);
  background: rgba(16,23,36,.95); color: #efeade;
  font-family: var(--ff-mono); font-size: .72rem; letter-spacing: .08em;
}
@media (max-width: 760px){
  .ts-slot{ min-height: 72px; overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .form-foot{ flex-direction: column; align-items: stretch; }
  .form-foot .btn{ width: 100%; justify-content: center; }
  .countdown-units{ flex-wrap: wrap; justify-content: flex-start; }
  .hero-copy .hero-title{ word-break: normal; overflow-wrap: anywhere; }
  .buy-card{ width: 100%; }
  .site-header .brand-txt b{ font-size: .78rem; }
  body{ overflow-x: hidden; }
  .wrap{ padding-inline: 1rem; }
}

/* tap-target-fix mobile */
@media (max-width: 760px){
  .notes .btn, .posts .btn, .post-card a.btn, .msgs button, .board-form .btn, .linkbtn, .chips button, .chip {
    min-height: 44px;
    min-width: 44px;
    padding: .65rem 1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
  .foot-list a { display: inline-block; padding: .55rem 0; min-height: 44px; line-height: 1.3; }
  .icon-btn, .menu-btn { width: 44px; height: 44px; }
  .site-header .brand { min-height: 44px; }
}

/* Footer social icons */
.foot-social{
  list-style:none; margin: .6rem 0 0; padding:0;
  display:flex; flex-wrap:wrap; gap:.65rem;
}
.foot-social li{ margin:0; }
.foot-social a{
  display:inline-flex; align-items:center; justify-content:center;
  width:42px; height:42px;
  border:1px solid rgba(201,168,74,.28);
  border-radius:999px;
  color:#c9a84a;
  background: rgba(16,23,36,.55);
  transition: border-color .2s ease, background .2s ease, color .2s ease, transform .2s ease;
}
.foot-social a:hover,
.foot-social a:focus-visible{
  border-color: #c9a84a;
  background: rgba(201,168,74,.12);
  color: #efeade;
  transform: translateY(-1px);
  outline: none;
}
.foot-social svg{ width:18px; height:18px; display:block; fill:currentColor; }
.foot-bottom .vtag{
  color:#c9a84a; letter-spacing:.18em;
}
@media (max-width:760px){
  .foot-social a{ width:44px; height:44px; }
}

.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0;}

.pre-mark{
  width: 72px; height: 72px; margin: 0 auto 1.1rem;
  border-radius: 14px;
  box-shadow: 0 0 0 1px rgba(201,168,74,.35), 0 12px 40px rgba(0,0,0,.45);
  overflow: hidden;
}
.pre-mark img{ width:100%; height:100%; display:block; }

/* Gold middot separators for edition lists */
.gold-dot {
  display: inline-block;
  color: var(--gold, #c9a84a);
  margin: 0 .42em;
  font-weight: 600;
  opacity: 1;
}
.gold-dot::before { content: "·"; }
.price span .gold-dot { color: var(--gold, #c9a84a); }
.editions-line .gold-dot { color: var(--gold, #c9a84a); }

/* Footer newsletter (2026-08) */
.foot-newsletter{
  margin-top: clamp(1.4rem, 3vw, 2.4rem);
  border-top:1px solid var(--m-border,#273244);
  padding: clamp(1.8rem, 3vw, 2.4rem) 0 clamp(1.4rem, 2.6vw, 2rem);
  display:grid; grid-template-columns:1.1fr 1fr; gap: clamp(1rem, 3vw, 2.4rem);
  align-items:center;
}
.foot-newsletter h4{ margin:0 0 .35rem; font-size:.78rem; letter-spacing:.16em; text-transform:uppercase; color: var(--m-gold, #c9a84a); }
.foot-newsletter-lede{ margin:0; color: var(--m-muted, #9aa3b2); font-size:.92rem; max-width:52ch; line-height:1.55; }
.foot-news-form{ display:flex; gap:.55rem; flex-wrap:wrap; align-items:center; }
.foot-news-form input[type="email"]{
  flex:1 1 240px; min-width:0; padding:.72rem .9rem;
  background: rgba(255,255,255,.03);
  color: var(--m-text, #e8e4db);
  border: 1px solid var(--m-border, #273244);
  border-radius: 10px; font: inherit; font-size:.95rem;
  outline:none; transition: border-color .15s;
}
.foot-news-form input[type="email"]:focus{ border-color: var(--m-gold, #c9a84a); }
.foot-news-form .btn{ flex:0 0 auto; }
.foot-news-msg{ flex-basis:100%; font-size:.82rem; color: var(--m-muted, #9aa3b2); min-height:1em; }
.foot-news-msg.ok{ color: #6daa45; }
.foot-news-msg.err{ color: #d1495b; }
.visually-hidden{ position:absolute!important; width:1px!important; height:1px!important; padding:0!important; margin:-1px!important; overflow:hidden!important; clip:rect(0,0,0,0)!important; white-space:nowrap!important; border:0!important; }
@media (max-width:700px){
  .foot-newsletter{ grid-template-columns:1fr; gap:1rem; }
}

/* Reserve modal (2026-08) */
.rh-modal{ position:fixed; inset:0; z-index:8600; display:none; }
.rh-modal[hidden]{ display:none; }
.rh-modal.open{ display:block; }
.rh-modal__backdrop{
  position:absolute; inset:0; background: rgba(6,10,18,.72);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  opacity:0; transition: opacity .18s ease;
}
.rh-modal.open .rh-modal__backdrop{ opacity:1; }
.rh-modal__panel{
  position: absolute; left:50%; top:50%; transform: translate(-50%, -48%) scale(.985);
  width: min(560px, calc(100vw - 2rem));
  max-height: calc(100vh - 2rem); overflow:auto;
  background: #10141c; border:1px solid rgba(201,168,74,.32);
  border-radius:16px; padding: clamp(1.3rem, 3vw, 1.9rem);
  box-shadow: 0 30px 80px rgba(0,0,0,.55), 0 0 0 1px rgba(255,255,255,.02) inset;
  opacity:0; transition: opacity .18s ease, transform .22s cubic-bezier(.2,.7,.2,1);
  color: var(--m-text, #e8e4db);
}
.rh-modal.open .rh-modal__panel{ opacity:1; transform: translate(-50%,-50%) scale(1); }
.rh-modal__x{
  position:absolute; top:.6rem; right:.7rem;
  width:2rem; height:2rem; border-radius:50%;
  background: rgba(255,255,255,.04); color: var(--m-text, #e8e4db);
  border:1px solid rgba(255,255,255,.08); font-size:1.2rem; line-height:1; cursor:pointer;
  display:inline-flex; align-items:center; justify-content:center;
}
.rh-modal__x:hover{ background: rgba(255,255,255,.08); }
.rh-modal .kicker{ color: var(--m-gold, #c9a84a); font-size:.72rem; letter-spacing:.18em; text-transform:uppercase; margin:0 0 .35rem; }
.rh-modal h3{ margin:0 0 .35rem; font-size: clamp(1.35rem, 2.4vw, 1.65rem); letter-spacing:-.01em; }
.rh-modal__lede{ margin:.25rem 0 1.1rem; color: var(--m-muted, #9aa3b2); font-size:.92rem; line-height:1.5; }

.rh-modal__editions{ display:grid; grid-template-columns: repeat(3, 1fr); gap:.55rem; margin: 0 0 1rem; }
.edition-pick{
  position:relative; display:block; padding:.75rem .8rem;
  background: rgba(255,255,255,.02); border:1px solid rgba(255,255,255,.08);
  border-radius:12px; cursor:pointer; transition: border-color .15s, background .15s;
}
.edition-pick:hover{ border-color: rgba(201,168,74,.35); }
.edition-pick input{ position:absolute; opacity:0; pointer-events:none; }
.edition-pick__body{ display:flex; flex-direction:column; gap:.1rem; }
.edition-pick__name{ font-size:.82rem; letter-spacing:.02em; color: var(--m-text,#e8e4db); }
.edition-pick__price{ font-size:1.05rem; font-weight:600; color: var(--m-gold,#c9a84a); font-variant-numeric: tabular-nums; }
.edition-pick--active{ border-color: var(--m-gold,#c9a84a); background: rgba(201,168,74,.06); }

.rh-modal__grid{ display:grid; grid-template-columns:1fr 120px; gap:.75rem; }
.rh-modal .field{ display:flex; flex-direction:column; gap:.28rem; }
.rh-modal .field label{ font-size:.72rem; letter-spacing:.14em; text-transform:uppercase; color: var(--m-muted,#9aa3b2); }
.rh-modal .field-opt{ text-transform:none; letter-spacing:0; opacity:.65; margin-left:.35rem; font-size:.78rem; }
.rh-modal .field input{
  width:100%; padding:.7rem .85rem; font: inherit; font-size:.95rem;
  background: rgba(255,255,255,.03); color: var(--m-text,#e8e4db);
  border:1px solid rgba(255,255,255,.09); border-radius:10px; outline:none;
  transition: border-color .15s;
}
.rh-modal .field input:focus{ border-color: var(--m-gold, #c9a84a); }
.rh-modal .field--full{ grid-column: 1 / -1; }
.rh-modal__submit{ width:100%; margin-top:1.1rem; }
.rh-modal__msg{ min-height:1em; font-size:.85rem; margin-top:.55rem; color: var(--m-muted,#9aa3b2); }
.rh-modal__msg.ok{ color:#6daa45; }
.rh-modal__msg.err{ color:#d1495b; }
.rh-modal__note{ margin:.7rem 0 0; font-size:.78rem; color: var(--m-muted,#9aa3b2); line-height:1.5; }

body.rh-modal-open{ overflow:hidden; }

@media (max-width:520px){
  .rh-modal__editions{ grid-template-columns: 1fr; }
  .rh-modal__grid{ grid-template-columns:1fr; }
  .rh-modal__panel{ padding:1.2rem 1.1rem; }
}

/* Board moderation UI */
.msg-official{
  display:inline-flex; align-items:center; justify-content:center;
  margin-left:.4rem; width:1rem; height:1rem; border-radius:50%;
  background: rgba(201,168,74,.18); color: var(--m-gold,#c9a84a);
  font-size:.65rem; font-weight:700; vertical-align:middle;
}
.board-rule{
  margin:.35rem 0 0; font-size:.72rem; color: var(--m-muted,#9aa3b2); line-height:1.4;
}
#board-ok{ min-height:1.2em; }

/* Reserve modal — bulk toggle */
.rm-bulk{
  margin-top:.85rem;
  border:1px solid rgba(201,168,74,.22);
  background:
    linear-gradient(180deg, rgba(201,168,74,.04), transparent 60%),
    rgba(12,16,24,.55);
  border-radius:2px;
  padding:.7rem .85rem;
}
.rm-bulk__row{
  display:flex; align-items:flex-start; gap:.7rem;
  cursor:pointer; user-select:none;
}
.rm-bulk__row input[type="checkbox"]{
  appearance:none; -webkit-appearance:none;
  width:18px; height:18px; margin-top:.15rem; flex:0 0 18px;
  border:1px solid rgba(201,168,74,.5);
  background: rgba(12,16,24,.9);
  border-radius:2px; position:relative; cursor:pointer;
}
.rm-bulk__row input[type="checkbox"]:checked{
  background: var(--m-gold,#c9a84a); border-color: var(--m-gold,#c9a84a);
}
.rm-bulk__row input[type="checkbox"]:checked::after{
  content:""; position:absolute; left:5px; top:1px; width:5px; height:10px;
  border:solid #0b0f18; border-width:0 2px 2px 0; transform:rotate(45deg);
}
.rm-bulk__row strong{ display:block; font-size:.92rem; color: var(--m-text,#e8e4db); }
.rm-bulk__hint{ display:block; font-size:.78rem; color: var(--m-muted,#9aa3b2); margin-top:.15rem; line-height:1.45; }
.rm-bulk__fields{ display:grid; grid-template-columns:1fr; gap:.7rem; margin-top:.85rem; }
.rm-bulk__fields[hidden]{ display:none; }
.rh-modal .field textarea{
  width:100%; padding:.65rem .75rem; border-radius:2px;
  border:1px solid rgba(255,255,255,.12);
  background: rgba(12,16,24,.9);
  color: var(--m-text,#e8e4db);
  font-family: inherit; font-size:.95rem; line-height:1.5; resize:vertical;
  min-height: 74px;
}
.rh-modal .field textarea:focus{ border-color: var(--m-gold,#c9a84a); outline:none; }

/* Footer Release column — match link column typography + gentle pulse */
.foot-list--release li{
  font-family: inherit;
  font-size: .86rem;
  color: #9aa3b2;
  line-height: 1.5;
  letter-spacing: 0;
  text-transform: none;
  font-weight: 400;
}
.foot-list--release .foot-release-date{
  display: flex; align-items: center; gap: .55rem;
  font-family: var(--ff-mono);
  font-size: .86rem;
  letter-spacing: .02em;
  color: var(--gold, #c9a84a);
  font-variant-numeric: tabular-nums;
}
.foot-pulse-dot{
  width:8px; height:8px; border-radius:50%;
  background: var(--gold, #c9a84a);
  box-shadow: 0 0 0 0 rgba(201,168,74,.55);
  animation: rhFootPulse 2.4s ease-out infinite;
  flex:0 0 8px;
}
@keyframes rhFootPulse{
  0%   { box-shadow: 0 0 0 0 rgba(201,168,74,.55); transform: scale(1); }
  70%  { box-shadow: 0 0 0 10px rgba(201,168,74,0); transform: scale(1.08); }
  100% { box-shadow: 0 0 0 0 rgba(201,168,74,0); transform: scale(1); }
}
@media (prefers-reduced-motion: reduce){
  .foot-pulse-dot{ animation: none; box-shadow: 0 0 0 3px rgba(201,168,74,.18); }
}

/* ============================================================
   MOBILE POLISH (v=mobile1)
   Safe areas, sticky-header clearance, full-screen nav,
   denser sections, readable type, 44px taps without huge gaps.
   ============================================================ */
html {
  scroll-padding-top: calc(4.75rem + env(safe-area-inset-top, 0px));
}

/* Anchor / section clearance under fixed header */
.section[id],
.rules-outer,
.arc-outer,
#hero,
#buy,
#board,
#consulting,
#inside,
#notes,
#arc,
#rules {
  scroll-margin-top: calc(4.75rem + env(safe-area-inset-top, 0px));
}

/* Safe-area padding on chrome */
.site-header {
  padding-left: max(var(--gutter), env(safe-area-inset-left, 0px));
  padding-right: max(var(--gutter), env(safe-area-inset-right, 0px));
  padding-top: max(1rem, env(safe-area-inset-top, 0px));
}
.site-header.is-stuck {
  padding-top: max(.55rem, env(safe-area-inset-top, 0px));
}
.site-footer {
  padding-bottom: max(2rem, calc(1.25rem + env(safe-area-inset-bottom, 0px)));
}

/* Nav open: logo only on left so drawer titles don't collide */
html.nav-open .brand-txt,
body.nav-open .brand-txt {
  opacity: 0;
  width: 0;
  overflow: hidden;
  pointer-events: none;
  transition: opacity .25s var(--ease);
}
html.nav-open .site-header,
body.nav-open .site-header {
  background: color-mix(in srgb, var(--bg) 92%, transparent);
  backdrop-filter: blur(14px) saturate(140%);
  border-bottom-color: var(--rule);
}

@media (max-width: 760px) {
  :root {
    --gutter: 1.05rem;
    --sec-y: clamp(3.4rem, 12vw, 5.2rem);
  }

  /* Section titles clear the fixed header when scrolled into view */
  .section {
    padding-top: calc(var(--sec-y) + 0.35rem);
  }
  .section > .wrap > .sec-head:first-child,
  .section > .wrap > .kicker:first-child,
  .section > .wrap > h2:first-child {
    scroll-margin-top: calc(4.75rem + env(safe-area-inset-top, 0px));
  }
  .inside-grid,
  .board-grid,
  .look,
  .buy-card {
    scroll-margin-top: calc(5rem + env(safe-area-inset-top, 0px));
  }

  /* Header denser + above full-screen nav so menu X stays tappable */
  .site-header {
    gap: .55rem;
    z-index: 6800;
    padding-inline: max(1rem, env(safe-area-inset-left, 0px)) max(1rem, env(safe-area-inset-right, 0px));
  }
  .brand { gap: .55rem; min-width: 0; }
  .brand-mark { width: 32px; height: 32px; border-radius: 7px; }
  .brand-txt b {
    font-size: .84rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 42vw;
  }
  .brand-txt span { font-size: .5rem; letter-spacing: .18em; }
  .head-actions { gap: .35rem; flex: none; }
  .icon-btn, .menu-btn {
    width: 42px; height: 42px;
    border-radius: 4px;
  }

  /* Full-screen drawer nav — solid, no bleed-through */
  #nav-scrim {
    z-index: 6400 !important;
    background: rgba(4, 7, 12, .82);
  }
  .nav {
    position: fixed !important;
    top: 0 !important; left: 0 !important; right: 0 !important; bottom: 0 !important;
    width: 100% !important;
    max-width: none !important;
    height: 100dvh !important;
    z-index: 6550 !important;
    background: #060910 !important;
    border-left: 0 !important;
    transform: translate3d(100%, 0, 0);
    padding:
      calc(5.6rem + env(safe-area-inset-top, 0px))
      max(1.4rem, env(safe-area-inset-right, 0px))
      max(2rem, env(safe-area-inset-bottom, 0px))
      max(1.4rem, env(safe-area-inset-left, 0px));
    justify-content: flex-start;
    align-items: stretch;
    flex-direction: column;
    gap: .15rem;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    transition: transform .55s var(--ease);
    pointer-events: auto;
  }
  .site-header.is-stuck ~ .nav { height: 100dvh !important; }
  .nav.is-open {
    transform: translate3d(0, 0, 0) !important;
  }
  html[data-theme="light"] .nav { background: #10141b !important; }
  .head-actions { z-index: 6700 !important; }
  .brand { z-index: 6700 !important; }
  .nav a {
    font-size: clamp(1.55rem, 7vw, 2rem);
    line-height: 1.15;
    padding: .72rem 0;
    min-height: 48px;
    display: flex;
    align-items: center;
    width: 100%;
    border-bottom: 1px solid rgba(232, 228, 219, .08);
    color: #e8e4db;
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
    pointer-events: auto;
  }
  .nav a::after { display: none; }
  .nav a.is-active { color: var(--gold); }

  /* Hero — breathe, stack cleanly */
  .hero {
    min-height: auto;
    padding:
      calc(5.6rem + env(safe-area-inset-top, 0px))
      0
      clamp(2.4rem, 8vw, 3.6rem);
  }
  .hero-inner { gap: 1.75rem; }
  .hero-title {
    font-size: clamp(2.35rem, 11.5vw, 3.15rem);
    margin: .55rem 0 .85rem;
    max-width: 12ch;
    line-height: 1.02;
  }
  .hero-sub {
    font-size: .98rem;
    line-height: 1.55;
    max-width: 36ch;
  }
  .hero-meta {
    gap: .55rem .85rem;
    margin-top: 1.1rem;
    font-size: .62rem;
    letter-spacing: .12em;
  }
  .hero-meta span { gap: .4rem; }
  .countdown { margin-top: 1.25rem; }
  .countdown-lab { font-size: .62rem; margin-bottom: .55rem; }
  .countdown-units {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: .4rem;
    width: 100%;
    max-width: 22rem;
  }
  .cd-unit { min-width: 0; width: 100%; }
  .cd-digits { gap: 2px; }
  .cd-digit { width: 100%; max-width: 28px; height: 38px; margin-inline: auto; }
  .cd-digit .cd-roll { font-size: 1.05rem; grid-auto-rows: 38px; }
  .cd-digit .cd-roll span { height: 38px; }
  .cd-unit small { font-size: .52rem; margin-top: .35rem; }
  .hero-cta {
    margin-top: 1.35rem;
    gap: .65rem;
    flex-direction: column;
  }
  .hero-cta .btn {
    flex: 1 1 auto;
    width: 100%;
    min-height: 48px;
    padding: .95rem 1.1rem;
    font-size: .78rem;
  }
  .book-stage { order: 1; margin-top: .35rem; }
  .book-3d { width: min(210px, 58vw); }

  /* Rules — readable + tappable dots */
  .rules-outer {
    padding-top: .25rem;
  }
  .rules-pin {
    min-height: auto;
    padding-block: calc(4.5rem + env(safe-area-inset-top, 0px)) clamp(3.2rem, 10vw, 4.5rem);
    align-items: flex-start;
  }
  .rules-head { align-items: flex-start; gap: .65rem; }
  .rules-head h2 { font-size: clamp(1.85rem, 8vw, 2.4rem); }
  .rule-item h3 {
    font-size: clamp(1.55rem, 6.5vw, 2rem);
    max-width: 18ch;
  }
  .rule-item p {
    font-size: .98rem;
    line-height: 1.55;
    max-width: 40ch;
  }
  .rules-dots {
    gap: .35rem;
    margin-top: 1.4rem;
    padding-bottom: .25rem;
  }
  .rules-dots button {
    width: 28px;
    height: 28px;
    min-width: 28px;
    min-height: 28px;
    padding: 0;
    border-radius: 2px;
    background: transparent;
    display: grid;
    place-items: center;
  }
  .rules-dots button::before {
    content: "";
    display: block;
    width: 22px;
    height: 3px;
    background: rgba(232, 228, 219, .22);
    border-radius: 1px;
    transition: background .25s var(--ease), transform .25s var(--ease);
  }
  .rules-dots button.is-on::before {
    background: var(--gold);
    transform: scaleY(1.6);
  }
  /* neutralize old thin bar sizing if present on button itself */
  .rules-dots button {
    background: transparent !important;
    transform: none !important;
    border: 0;
  }
  .rules-hint {
    font-size: .62rem;
    letter-spacing: .14em;
    color: #7a8496;
    margin-top: .85rem;
  }

  /* Arc — clearance under sticky header + swipe cards */
  .arc-outer {
    padding-top: calc(4.75rem + env(safe-area-inset-top, 0px)) !important;
  }
  .arc-outer .sec-head,
  #arc .sec-head {
    padding-top: .15rem;
    margin-bottom: 1.25rem;
  }
  #arc-pin { padding-top: .25rem; }
  .arc-track {
    gap: .85rem;
    padding-bottom: .5rem;
    scroll-snap-type: x mandatory;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .arc-track::-webkit-scrollbar { display: none; }
  .arc-card {
    scroll-snap-align: start;
    width: min(82vw, 300px);
    flex: 0 0 min(82vw, 300px);
  }
  .arc-card__img { height: 176px; }
  .arc-card__b {
    padding: 1.15rem 1.1rem 1.25rem;
    gap: .55rem;
  }
  .arc-card h3 { font-size: 1.15rem; }
  .arc-card p { font-size: .88rem; line-height: 1.45; }
  .arc-idx { padding-top: .65rem; margin-top: .15rem; }
  .arc-progress { margin-top: .85rem; }

  /* Chapters / break points */
  .chap {
    padding: 1rem .15rem 1rem .1rem;
    gap: .75rem .9rem;
    grid-template-columns: 2.1rem minmax(0, 1fr);
  }
  .chap-n { font-size: .72rem; padding-top: .2rem; }
  .chap-t { font-size: 1.12rem; }
  .chap-tease {
    font-size: .88rem;
    line-height: 1.45;
    max-height: none;
    opacity: 1;
    margin-top: .35rem;
  }
  .chap-flag {
    grid-column: 2;
    justify-self: start;
    margin-top: .2rem;
    font-size: .52rem;
  }
  .bp-row {
    padding: .95rem .85rem .95rem 2.1rem;
    gap: .35rem;
  }
  .bp-row .bp-lab { font-size: .58rem; }
  .bp-row .bp-t { font-size: .92rem; line-height: 1.4; }

  /* Buy / prices */
  .buy-card {
    padding: 1.25rem 1.1rem 1.35rem;
    gap: .85rem;
    border-radius: 8px;
  }
  .price-row { gap: .45rem; }
  .price {
    align-items: center;
    gap: .75rem;
    padding: .55rem 0 .65rem;
  }
  .price span {
    font-size: .86rem;
    color: #9aa3b2;
    line-height: 1.35;
    min-width: 0;
  }
  .price b {
    font-size: 1.35rem;
    flex: none;
    font-variant-numeric: tabular-nums;
  }
  .buy-card .btn,
  #buy-form .btn {
    width: 100%;
    min-height: 48px;
  }
  input, select, textarea {
    font-size: 16px; /* prevent iOS zoom */
    min-height: 48px;
    padding: .8rem .9rem;
  }
  textarea { min-height: 110px; }

  /* Consulting offers */
  .offers { grid-template-columns: 1fr; }
  .offer {
    padding: 1.25rem 1.1rem;
    gap: .55rem;
  }
  .offer .n { font-size: .7rem; }
  .offer h3 { font-size: 1.2rem; }
  .offer p { font-size: .92rem; line-height: 1.5; }
  .offer li { font-size: .86rem; line-height: 1.4; }
  .consulting-banner {
    top: calc(3.6rem + env(safe-area-inset-top, 0px));
    margin-inline: 1rem;
    font-size: .68rem;
    line-height: 1.4;
    padding: .7rem .85rem;
  }

  /* Board */
  .board-form { padding: 1.15rem 1rem; gap: .7rem; }
  .msg { padding: 1rem .95rem; gap: .45rem; }
  .msg p {
    font-size: .94rem;
    line-height: 1.5;
    overflow-wrap: anywhere;
    word-break: break-word;
  }
  .msg-top { flex-wrap: wrap; gap: .35rem .65rem; }
  .msg-acts {
    gap: .85rem;
    flex-wrap: wrap;
    padding-top: .15rem;
  }
  .msg-acts .like,
  .msg-acts .linkbtn,
  .msg-acts button {
    min-height: 40px;
    padding: .35rem .15rem;
  }
  .msg--reply { margin-left: .75rem; }

  /* Notes cards */
  .posts { grid-template-columns: 1fr; gap: 1rem; }
  .post { padding: 1.15rem 1.05rem; }
  .notes-tools { gap: .75rem; }
  .search { min-width: 100%; }

  /* Footer — dense but tappable */
  .site-footer {
    padding-top: clamp(2.6rem, 8vw, 3.6rem);
  }
  .foot-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem 1.1rem;
  }
  .foot-grid > :first-child {
    grid-column: 1 / -1;
  }
  .foot-list {
    gap: .15rem;
    margin-top: .65rem;
  }
  .foot-list a {
    display: flex;
    align-items: center;
    min-height: 40px;
    padding: .35rem 0;
    font-size: .9rem;
    line-height: 1.25;
  }
  .foot-list--release li {
    min-height: 0;
    padding: .2rem 0;
    font-size: .86rem;
  }
  .foot-list--release .foot-release-date {
    min-height: 40px;
  }
  .foot-social {
    gap: .55rem;
    margin-top: .75rem;
  }
  .foot-newsletter {
    margin-top: 1.6rem;
    padding-top: 1.5rem;
    gap: .85rem;
  }
  .foot-newsletter-lede { font-size: .9rem; }
  .foot-news-form {
    flex-direction: column;
    align-items: stretch;
    gap: .55rem;
  }
  .foot-news-form input[type="email"] {
    flex: 1 1 auto;
    width: 100%;
    min-height: 48px;
    border-radius: 8px;
    font-size: 16px;
  }
  .foot-news-form .btn {
    width: 100%;
    min-height: 48px;
    justify-content: center;
  }
  .foot-bottom {
    margin-top: 1.75rem;
    gap: .65rem;
    font-size: .58rem;
  }

  /* Drawer chapter panel full-bleed on phone */
  .drawer {
    width: 100%;
    max-width: none;
  }
  .drawer-head {
    padding-top: max(1.1rem, env(safe-area-inset-top, 0px));
  }
  .drawer-body {
    padding: 1.35rem 1.15rem max(2.5rem, env(safe-area-inset-bottom, 0px));
  }

  /* Modal already stacks; tighten */
  .rh-modal__panel {
    width: calc(100vw - 1.25rem);
    max-height: calc(100dvh - 1.25rem);
    top: 50%;
    border-radius: 14px;
  }
  .rh-modal__x {
    width: 2.35rem;
    height: 2.35rem;
    top: .55rem;
    right: .55rem;
  }

  /* Stats single column already; pad */
  .stat { padding: 1.25rem 1.1rem; }

  /* Kill hover-only tease dependency — mobile always shows teases */
  .chap:hover, .chap:focus-visible { padding-left: .1rem; }
}

/* Very small phones */
@media (max-width: 380px) {
  .brand-txt b { max-width: 36vw; font-size: .78rem; }
  .hero-title { font-size: 2.15rem; }
  .countdown-units { max-width: 100%; }
  .foot-grid { grid-template-columns: 1fr; }
}

/* Touch: no sticky hover stickiness on cards */
@media (hover: none), (pointer: coarse) {
  .post:hover { transform: none; }
  .btn:hover::before { transform: translateY(101%); }
  .chap:hover { background: transparent; }
  .offer:hover { background: var(--bg); }
}


/* ============================================================
   SAMPLE CHAPTER CARD + STICKY MOBILE BUY BAR
   ============================================================ */
.sample-card{
  margin-top: 1.4rem;
  padding: clamp(1.2rem, 2.6vw, 1.6rem);
  border: 1px solid rgba(201,168,74,.28);
  background:
    linear-gradient(165deg, rgba(201,168,74,.08), transparent 55%),
    var(--surface, #0e141d);
  border-radius: 14px;
  display: grid;
  gap: .75rem;
}
.sample-card h3{
  margin: 0;
  font-size: clamp(1.15rem, 2.2vw, 1.35rem);
  letter-spacing: -.01em;
  color: var(--fg, #e8e4db);
}
.sample-card__lede{
  margin: 0;
  color: var(--fg-muted, #9aa3b2);
  font-size: .92rem;
  line-height: 1.55;
  max-width: 52ch;
}
.sample-card__grid{
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: .75rem;
}
.sample-card .field{
  display: flex;
  flex-direction: column;
  gap: .28rem;
}
.sample-card .field label{
  font-size: .72rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--fg-muted, #9aa3b2);
}
.sample-card .field-opt{
  text-transform: none;
  letter-spacing: 0;
  opacity: .65;
  margin-left: .35rem;
  font-size: .78rem;
}
.sample-card .field input{
  background: rgba(0,0,0,.25);
  border: 1px solid var(--rule, rgba(232,228,219,.12));
  color: var(--fg, #e8e4db);
  border-radius: 10px;
  padding: .72rem .85rem;
  font: inherit;
}
.sample-card .field input:focus{
  outline: none;
  border-color: var(--gold, #c9a84a);
}
.sample-card__msg{
  min-height: 1.1em;
  font-size: .85rem;
  color: var(--fg-muted, #9aa3b2);
  margin-top: .35rem;
}
.sample-card__msg.ok{ color: #6daa45; }
.sample-card__msg.err{ color: #d1495b; }
@media (max-width: 640px){
  .sample-card__grid{ grid-template-columns: 1fr; }
}

.sticky-buy{
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 7200;
  pointer-events: none;
  opacity: 0;
  transform: translateY(110%);
  transition: opacity .28s ease, transform .32s cubic-bezier(.2,.8,.2,1);
  padding: 0 .75rem calc(.75rem + env(safe-area-inset-bottom, 0px));
}
.sticky-buy.is-visible{
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.sticky-buy__inner{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  max-width: 560px;
  margin: 0 auto;
  padding: .7rem .8rem .7rem 1rem;
  border-radius: 14px;
  border: 1px solid rgba(201,168,74,.32);
  background: rgba(8,12,18,.94);
  backdrop-filter: blur(14px) saturate(1.2);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  box-shadow: 0 12px 40px rgba(0,0,0,.45);
}
.sticky-buy__copy{
  display: grid;
  gap: .12rem;
  min-width: 0;
}
.sticky-buy__copy strong{
  font-size: .92rem;
  color: var(--fg, #e8e4db);
  letter-spacing: -.01em;
}
.sticky-buy__copy span{
  font-family: var(--ff-mono, ui-monospace, monospace);
  font-size: .62rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--gold, #c9a84a);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.sticky-buy__cta{
  flex: 0 0 auto;
  white-space: nowrap;
}
/* Mobile only */
@media (min-width: 761px){
  .sticky-buy{ display: none !important; }
}
/* Keep page content clear of bar on mobile */
@media (max-width: 760px){
  body{ padding-bottom: calc(4.8rem + env(safe-area-inset-bottom, 0px)); }
  body.rh-modal-open .sticky-buy{ display: none !important; }
}


/* Footer Vault lock (right of social shelf) */
.foot-social a.vault-lock-link{ position: relative; }
.foot-social a.vault-lock-link.is-sealed{ border-color: rgba(201,168,74,.42); }
.foot-social a.vault-lock-link .vault-mini-lock{
  position: absolute; right: -2px; bottom: -2px;
  width: 14px; height: 14px; border-radius: 999px;
  background: #0a0e14; border: 1px solid rgba(201,168,74,.55);
  display: flex; align-items: center; justify-content: center;
  color: #c9a84a;
}
.foot-social a.vault-lock-link .vault-mini-lock svg{ width: 8px; height: 8px; fill: none; stroke: currentColor; }


/* ============================================================
   HOMEPAGE — THE VAULT (public waitlist · opens 2026-09-01)
   ============================================================ */
.vault-home__grid{
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: start;
}
.vault-home__copy h2{
  margin: 0 0 .6rem;
}
.vault-home__copy .lede strong{
  color: var(--gold, #c9a84a);
  font-weight: 600;
}
.vault-home__cd{
  margin: 1.25rem 0 1.4rem;
}
.vault-home__actions{
  display: flex;
  flex-wrap: wrap;
  gap: .7rem;
  margin-bottom: .75rem;
}
.vault-home__note{
  margin: 0;
  font-size: .88rem;
  color: var(--fg-muted, #9aa3b2);
  max-width: 46ch;
}
.vault-home__card{
  position: relative;
  padding: clamp(1.35rem, 3vw, 1.75rem);
  border-radius: 16px;
  border: 1px solid rgba(201,168,74,.32);
  background:
    linear-gradient(165deg, rgba(201,168,74,.1), transparent 50%),
    var(--surface, #0e141d);
  box-shadow: 0 18px 50px rgba(0,0,0,.28);
}
.vault-home__lock{
  width: 52px; height: 52px;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid rgba(201,168,74,.4);
  color: var(--gold, #c9a84a);
  background: rgba(0,0,0,.25);
  margin-bottom: .9rem;
}
.vault-home__lock svg{ width: 26px; height: 26px; }
.vault-home__card-kicker{
  font-family: var(--ff-mono, ui-monospace, monospace);
  font-size: .62rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--gold, #c9a84a);
  margin: 0 0 .4rem;
}
.vault-home__card h3{
  margin: 0 0 .85rem;
  font-family: var(--ff-display, Georgia, serif);
  font-weight: 500;
  font-size: 1.45rem;
}
.vault-home__depts{
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .45rem .75rem;
}
.vault-home__depts li{
  font-size: .88rem;
  color: var(--fg-muted, #9aa3b2);
  padding: .4rem .55rem;
  border-radius: 8px;
  border: 1px solid var(--rule, rgba(232,228,219,.1));
  background: rgba(0,0,0,.18);
}
.vault-home__depts li::before{
  content: '·';
  color: var(--gold, #c9a84a);
  margin-right: .35rem;
}
@media (max-width: 820px){
  .vault-home__grid{ grid-template-columns: 1fr; }
}


/* Live book / Amazon buy */
.live-pill{
  display:inline-flex; align-items:center; gap:.55rem;
  margin-top:1rem; padding:.55rem .9rem;
  border:1px solid rgba(201,168,74,.35);
  background:linear-gradient(180deg, rgba(201,168,74,.12), rgba(201,168,74,.04));
  border-radius:999px;
  font-family:var(--ff-mono); font-size:.68rem; letter-spacing:.14em;
  text-transform:uppercase; color:#efeade;
}
.live-pill__dot{
  width:8px; height:8px; border-radius:50%;
  background:#6daa45; box-shadow:0 0 0 0 rgba(109,170,69,.7);
  animation: livepulse 1.6s ease-out infinite;
}
@keyframes livepulse{
  0%{ box-shadow:0 0 0 0 rgba(109,170,69,.55); }
  70%{ box-shadow:0 0 0 10px rgba(109,170,69,0); }
  100%{ box-shadow:0 0 0 0 rgba(109,170,69,0); }
}
.countdown--live .countdown-units{ display:none; }
.buy-amazon{ margin-top:1rem; display:grid; gap:.65rem; }
.buy-amazon__primary{ width:100%; text-align:center; }
.buy-amazon__row{ display:grid; grid-template-columns:1fr 1fr; gap:.55rem; }
.buy-amazon__row .btn{ width:100%; text-align:center; }
.buy-amazon__all{
  display:inline-block; margin-top:.15rem;
  font-family:var(--ff-mono); font-size:.68rem; letter-spacing:.12em;
  text-transform:uppercase; color:var(--gold); text-decoration:none;
}
.buy-amazon__all:hover{ color:#efeade; }
@media (max-width:520px){
  .buy-amazon__row{ grid-template-columns:1fr; }
}
