/* publishing.co.uk WOW v2 — THE MACHINE THAT READS
   Two worlds: paper (cream/ink/Fraunces) × machine (near-black/violet/mono) */

/* ---------- tokens ---------- */
:root {
  --paper: #FFFDF7;
  --paper-warm: #F7F2E7;
  --ink: #16131F;
  --ink-soft: #3A3548;
  --muted: #6B6577;
  --machine: #0E0C14;
  --machine-2: #161225;
  --violet: #8B5CF6;
  --violet-deep: #6B21A8;
  --violet-glow: #A78BFA;
  --amber: #E8B45A;
  --ok: #34D399;
  --serif: "Fraunces", Georgia, serif;
  --sans: "Inter", system-ui, sans-serif;
  --mono: "JetBrains Mono", "Cascadia Code", Consolas, monospace;
  --ease-out: cubic-bezier(0.19, 1, 0.22, 1);
  --ease-io: cubic-bezier(0.83, 0, 0.17, 1);
  --line: rgba(22, 19, 31, 0.12);
  --gutter: clamp(20px, 4vw, 64px);
  --maxw: 1440px;
}

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

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { overflow-x: clip; scroll-behavior: auto; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img, video, canvas, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; background: none; border: 0; cursor: pointer; color: inherit; }
ul, ol { list-style: none; }
::selection { background: var(--violet-deep); color: var(--paper); }

h1, h2, h3, .display {
  font-family: var(--serif);
  font-weight: 560;
  line-height: 1.04;
  letter-spacing: -0.015em;
  text-wrap: balance;
}

/* machine-world sections */
.world-machine {
  background: var(--machine);
  color: var(--paper);
}
.world-machine ::selection { background: var(--violet-glow); color: var(--machine); }

.mono-label {
  font-family: var(--mono);
  font-size: clamp(11px, 0.85vw, 12.5px);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
}
.world-machine .mono-label { color: #C4B5FD; font-weight: 500; text-shadow: 0 0 18px rgba(124, 92, 255, 0.35); }

.container { max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }

/* ---------- reveal system (JS-gated: .js body class only) ---------- */
.js [data-split] .line-mask {
  overflow: hidden;
  display: block;
  padding-block: 0.08em 0.18em;
  margin-block: -0.08em -0.18em;
}
.js [data-split] .line-mask > .line-inner { display: block; will-change: transform; }
.js .rv { opacity: 0; }
.js [data-stagger] { opacity: 1; } /* NEVER hide stagger parents (malton trap) */
.js [data-stagger] > * { opacity: 0; }

/* reduced motion / no-js: everything visible */
@media (prefers-reduced-motion: reduce) {
  .js .rv, .js [data-stagger] > * { opacity: 1 !important; transform: none !important; }
  .js [data-split] .line-inner { transform: none !important; }
  .reading-caption, .g-guarantee { opacity: 1 !important; }
  .g-stamp { opacity: 1 !important; transform: scale(1) rotate(-8deg) !important; }
  #preloader, #cursor, #cursor-ring, .grain { display: none !important; }
  video[autoplay] { display: none; }
  .vid-wrap > .vid-poster { display: block !important; }
}

/* ---------- grain ---------- */
.grain {
  position: fixed; inset: -80px; z-index: 90; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='240' height='240' filter='url(%23n)' opacity='0.05'/%3E%3C/svg%3E");
  animation: grain-shift 0.9s steps(4) infinite;
}
@keyframes grain-shift {
  0% { transform: translate(0, 0); } 25% { transform: translate(-24px, 18px); }
  50% { transform: translate(18px, -26px); } 75% { transform: translate(-14px, -12px); }
  100% { transform: translate(0, 0); }
}

/* ---------- cursor ---------- */
#cursor, #cursor-ring { position: fixed; top: 0; left: 0; pointer-events: none; z-index: 200; opacity: 0; }
#cursor { width: 8px; height: 8px; border-radius: 50%; background: var(--ink); mix-blend-mode: difference; background: #fff; }
#cursor-ring {
  width: 34px; height: 34px; border-radius: 50%;
  border: 1.5px solid rgba(139, 92, 246, 0.8);
  transition: width 0.25s var(--ease-out), height 0.25s var(--ease-out);
}
#cursor-ring.is-hover { width: 56px; height: 56px; }
@media (hover: none), (pointer: coarse) { #cursor, #cursor-ring { display: none; } }

/* ---------- preloader ---------- */
#preloader {
  position: fixed; inset: 0; z-index: 300;
  background: var(--machine); color: var(--paper);
  display: grid; place-items: center;
}
#preloader .pl-stage { width: min(720px, 86vw); }
#preloader .pl-sentence {
  font-family: var(--serif); font-size: clamp(20px, 3.2vw, 40px);
  line-height: 1.5; color: var(--paper);
}
#preloader .pl-sentence .tok {
  display: inline-block; white-space: pre; border-radius: 4px;
  transition: background-color 0.18s, color 0.18s, box-shadow 0.18s;
}
#preloader .pl-sentence .tok.is-t {
  background: rgba(139, 92, 246, 0.16);
  color: var(--violet-glow);
  box-shadow: inset 0 0 0 1px rgba(139, 92, 246, 0.55);
  font-family: var(--mono); font-size: 0.82em;
}
#preloader .pl-meta {
  margin-top: 28px; display: flex; justify-content: space-between; align-items: baseline;
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--violet-glow);
}
#preloader .pl-count { font-size: clamp(28px, 4vw, 44px); letter-spacing: 0.02em; color: var(--paper); }
#preloader .pl-bar { height: 1px; background: rgba(255, 253, 247, 0.16); margin-top: 14px; overflow: hidden; }
#preloader .pl-bar i { display: block; height: 100%; width: 100%; background: var(--violet); transform: scaleX(0); transform-origin: left; }

/* ---------- header ---------- */
.site-head {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding-block: 18px;
}
/* opaque mask band + separate fade tail (propertyfilms trap: no mask+backdrop-filter combos) */
.site-head::before {
  content: ""; position: absolute; inset: 0;
  background: var(--paper);
}
.site-head::after {
  content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 34px;
  background: linear-gradient(to bottom, rgba(255, 253, 247, 0.92), rgba(255, 253, 247, 0));
  pointer-events: none;
}
.site-head.on-dark::before { background: var(--machine); }
.site-head.on-dark::after { background: linear-gradient(to bottom, rgba(14, 12, 20, 0.9), rgba(14, 12, 20, 0)); }
.site-head .container { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand-mark { font-family: var(--serif); font-size: 20px; font-weight: 600; letter-spacing: -0.01em; position: relative; padding: 8px 0; }
.brand-mark .tld { color: var(--violet-deep); }
.site-head.on-dark .brand-mark { color: var(--paper); }
.site-head.on-dark .brand-mark .tld { color: var(--violet-glow); }
.site-nav { display: flex; gap: clamp(14px, 2vw, 32px); align-items: center; }
.site-nav a {
  font-size: 14px; font-weight: 500; color: var(--ink-soft); position: relative;
  padding: 12px 2px; /* 44px touch */
}
.site-head.on-dark .site-nav a { color: rgba(255, 253, 247, 0.85); }
.site-nav a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: 8px; height: 1.5px;
  background: var(--violet); transition: right 0.3s var(--ease-out);
}
.site-nav a:hover::after, .site-nav a[aria-current="page"]::after { right: 0; }
.site-nav .nav-cta {
  font-size: 14px; font-weight: 600; background: var(--ink); color: var(--paper);
  padding: 11px 22px; border-radius: 100px; display: inline-block;
}
.site-nav .nav-cta::after { display: none; }
.site-head.on-dark .nav-cta { background: var(--violet); color: #fff; }
.burger { display: none; position: relative; width: 44px; height: 44px; z-index: 130; }
.burger i { position: absolute; left: 10px; right: 10px; height: 2px; background: currentColor; transition: transform 0.3s var(--ease-out), opacity 0.2s; }
.burger i:nth-child(1) { top: 16px; } .burger i:nth-child(2) { top: 22px; } .burger i:nth-child(3) { top: 28px; }
.burger.is-open i:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.burger.is-open i:nth-child(2) { opacity: 0; }
.burger.is-open i:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* mobile menu */
#mmenu {
  position: fixed; inset: 0; z-index: 120; background: var(--machine); color: var(--paper);
  display: flex; flex-direction: column; justify-content: center; padding: var(--gutter);
  transform: translateY(-102%); visibility: hidden;
  transition: transform 0.55s var(--ease-io), visibility 0s 0.55s;
}
#mmenu.is-open { transform: translateY(0); visibility: visible; transition: transform 0.55s var(--ease-io); }
#mmenu a { font-family: var(--serif); font-size: clamp(32px, 9vw, 44px); padding: 10px 0; display: block; }
#mmenu a .idx { font-family: var(--mono); font-size: 12px; color: var(--violet-glow); margin-right: 14px; vertical-align: super; }
#mmenu .mm-cta { margin-top: 26px; font-family: var(--sans); font-size: 16px; font-weight: 600; background: var(--violet); border-radius: 100px; padding: 16px 28px; text-align: center; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 600; font-size: 15px;
  padding: 16px 30px; border-radius: 100px;
  background: var(--ink); color: var(--paper);
  position: relative; overflow: hidden;
  transition: transform 0.2s var(--ease-out);
}
.btn .btn-fill {
  position: absolute; inset: 0; background: var(--violet-deep);
  transform: translateY(101%); transition: transform 0.35s var(--ease-out);
  border-radius: inherit;
}
.btn:hover .btn-fill { transform: translateY(0); }
.btn > span:not(.btn-fill) { position: relative; z-index: 1; }
.btn--ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn--ghost:hover { color: var(--paper); }
.btn--violet { background: var(--violet); color: #fff; }
.btn--violet .btn-fill { background: var(--paper); }
.btn--violet:hover { color: var(--machine); }
.world-machine .btn--ghost { color: var(--paper); box-shadow: inset 0 0 0 1.5px rgba(255, 253, 247, 0.6); }

/* ---------- marquee ---------- */
.marquee { overflow: clip; contain: paint; white-space: nowrap; }
.marquee .mq-track { display: inline-flex; gap: 3rem; will-change: transform; }

/* ---------- route veil (tokenizer wipe) ---------- */
#route-veil { position: fixed; inset: 0; z-index: 250; pointer-events: none; }
#route-veil .rv-cols { display: flex; height: 100%; }
#route-veil .rv-cols i { flex: 1; background: var(--machine); transform: scaleY(0); }

/* ---------- footer ---------- */
.site-foot { background: var(--machine); color: var(--paper); padding: clamp(56px, 8vw, 110px) 0 40px; }
.site-foot .foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1.25fr 1.15fr 0.7fr 0.8fr; gap: 32px; }
@media (max-width: 1080px) { .site-foot .foot-grid { grid-template-columns: 1fr 1fr 1fr; row-gap: 40px; } }
.site-foot .foot-h { font-family: var(--mono); font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--violet-glow); margin-bottom: 18px; font-weight: 500; }
.site-foot a { display: inline-block; padding: 6px 0; color: rgba(255, 253, 247, 0.78); font-size: 14px; }
.site-foot a:hover { color: var(--paper); }
.foot-disclose {
  margin-top: 56px; padding-top: 24px; border-top: 1px solid rgba(255, 253, 247, 0.14);
  font-family: var(--mono); font-size: 11.5px; line-height: 1.8; color: rgba(255, 253, 247, 0.55);
}
.foot-disclose a { font-size: inherit; color: var(--violet-glow); padding: 0; }

/* ---------- video wraps ---------- */
.vid-wrap { position: relative; overflow: clip; }
.vid-wrap video, .vid-wrap .vid-poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.vid-wrap .vid-poster { display: none; }

/* ---------- responsive ---------- */
@media (max-width: 820px) {
  .site-nav { display: none; }
  .burger { display: block; }
  .site-foot .foot-grid { grid-template-columns: 1fr 1fr; }
}

/* ================================================================
   HOME
   ================================================================ */

/* ---------- hero ---------- */
#hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; overflow: clip; }
.hero-media { position: absolute; inset: 0; }
.hero-scrim {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(14, 12, 20, 0.94) 0%, rgba(14, 12, 20, 0.6) 45%, rgba(14, 12, 20, 0.42) 100%);
}
#gl-field { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; }
/* WebGL fallback: animated gradient when GPU can't render the particle field */
.no-webgl #gl-field {
  background: radial-gradient(ellipse at 40% 60%, rgba(139, 92, 246, 0.18) 0%, transparent 55%),
              radial-gradient(ellipse at 70% 30%, rgba(167, 139, 250, 0.12) 0%, transparent 50%);
  animation: gl-fallback-drift 12s ease-in-out infinite alternate;
}
@keyframes gl-fallback-drift {
  0% { opacity: 0.6; filter: blur(40px); }
  50% { opacity: 0.85; filter: blur(50px); }
  100% { opacity: 0.6; filter: blur(40px); }
}
.hero-inner { position: relative; z-index: 2; width: 100%; padding-block: clamp(120px, 16vh, 190px) clamp(70px, 10vh, 130px); }
.hero-h1 { font-size: clamp(54px, 10.5vw, 164px); line-height: 0.98; margin-block: 20px 28px; color: var(--paper); }
.hero-h1 em { font-style: italic; color: var(--violet-glow); }
.hh-l { display: block; }
.js .hh-l { overflow: hidden; padding-block: 0.06em 0.16em; margin-block: -0.06em -0.16em; }
.hh-in { display: block; }
.hero-sub { max-width: 580px; font-size: clamp(16px, 1.3vw, 19px); color: rgba(255, 253, 247, 0.86); }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.hero-trust { margin-top: 28px; font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.08em; color: rgba(255, 253, 247, 0.55); }
.hero-hint {
  position: absolute; right: var(--gutter); bottom: 30px; z-index: 2;
  display: flex; align-items: center; gap: 14px;
  font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.16em; text-transform: uppercase;
  color: rgba(255, 253, 247, 0.5);
}
.hero-hint span { max-width: 260px; text-align: right; line-height: 1.7; }
.hero-hint i { width: 1px; height: 46px; background: linear-gradient(var(--violet), transparent); animation: hint-drop 2s var(--ease-io) infinite; }
@keyframes hint-drop {
  0% { transform: scaleY(0); transform-origin: top; }
  45% { transform: scaleY(1); transform-origin: top; }
  55% { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ---------- index band ---------- */
#index-band { padding: clamp(96px, 12vw, 160px) 0; background: linear-gradient(180deg, var(--machine) 0%, var(--machine-2) 100%); }
.band-h2 { font-size: clamp(34px, 4.8vw, 74px); max-width: 19ch; margin-top: 18px; }
.band-sub { margin-top: 22px; max-width: 640px; color: rgba(255, 253, 247, 0.75); }
.stat-row {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(20px, 3vw, 48px);
  margin-top: clamp(46px, 6vw, 84px); padding-top: 36px; border-top: 1px solid rgba(255, 253, 247, 0.16);
}
.stat-n { font-family: var(--serif); font-size: clamp(36px, 4.4vw, 70px); line-height: 1; display: block; font-variant-numeric: tabular-nums; letter-spacing: -0.01em; }
.stat-l { display: block; margin-top: 12px; font-size: 13.5px; line-height: 1.5; color: var(--muted); }
.world-machine .stat-l { color: rgba(255, 253, 247, 0.58); }
.band-ctas { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; margin-top: clamp(42px, 5vw, 66px); }
.link-plain { font-weight: 600; font-size: 15px; border-bottom: 1.5px solid var(--violet); padding-bottom: 3px; transition: color 0.25s; }
.link-plain:hover { color: var(--violet); }
.world-machine .link-plain:hover { color: var(--violet-glow); }

/* ---------- THE READING (pinned 3-act) ---------- */
#reading { background: var(--paper); transition: background-color 0.7s var(--ease-out), color 0.7s var(--ease-out); }
#reading.world-machine { background: var(--machine); }
.reading-pin { min-height: 100svh; display: flex; align-items: center; padding: 90px 0 70px; }
.reading-stage { width: 100%; }
.reading-label { position: relative; height: 1.6em; margin-bottom: clamp(24px, 4vh, 44px); }
.rl-act { position: absolute; left: 0; top: 0; opacity: 0; }
.rl-act[data-act="1"] { opacity: 1; }
#reading.world-machine .rl-act { color: var(--violet-glow); }
.reading-page {
  position: relative; overflow: clip;
  background: #FFFFFF; border: 1px solid rgba(22, 19, 31, 0.1); border-radius: 18px;
  padding: clamp(28px, 4.5vw, 64px);
  box-shadow: 0 30px 80px -40px rgba(22, 19, 31, 0.25);
  transition: background-color 0.7s var(--ease-out), border-color 0.7s var(--ease-out), box-shadow 0.7s var(--ease-out);
}
#reading.world-machine .reading-page {
  background: var(--machine-2); border-color: rgba(139, 92, 246, 0.4); color: var(--paper);
  box-shadow: 0 0 90px -30px rgba(139, 92, 246, 0.45);
}
.rp-scanline {
  position: absolute; left: 0; right: 0; top: 0; height: 2px; z-index: 2;
  background: var(--violet);
  box-shadow: 0 0 26px 5px rgba(139, 92, 246, 0.55);
  opacity: 0; pointer-events: none;
}
.rp-head { font-family: var(--mono); font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); margin-bottom: 20px; }
#reading.world-machine .rp-head { color: var(--violet-glow); }
.rp-body { font-family: var(--serif); font-size: clamp(19px, 2.35vw, 31px); line-height: 1.55; letter-spacing: -0.005em; text-wrap: pretty; }
.rp-body .w { border-radius: 3px; transition: background-color 0.3s, color 0.3s, box-shadow 0.3s; }
.rp-body .w.is-tok { background: rgba(139, 92, 246, 0.14); color: var(--violet-deep); box-shadow: inset 0 0 0 1px rgba(139, 92, 246, 0.38); }
#reading.world-machine .rp-body .w.is-tok { color: var(--violet-glow); background: rgba(139, 92, 246, 0.18); }
.reading-engines { display: flex; gap: 12px; flex-wrap: wrap; margin-top: clamp(24px, 4vh, 36px); }
.eng {
  font-family: var(--mono); font-size: 12.5px; padding: 10px 18px; border-radius: 100px;
  border: 1px solid rgba(139, 92, 246, 0.55); color: var(--violet-glow);
  background: rgba(139, 92, 246, 0.1);
}
#reading:not(.world-machine) .eng { color: var(--violet-deep); border-color: rgba(107, 33, 168, 0.4); }
.eng--sim { border-style: dashed; opacity: 0.85; }
.reading-caption { margin-top: clamp(20px, 3vh, 30px); font-family: var(--mono); font-size: 12px; letter-spacing: 0.14em; color: var(--muted); opacity: 0; }
#reading.world-machine .reading-caption { color: rgba(255, 253, 247, 0.6); }

/* ---------- doors ---------- */
#doors { padding: clamp(100px, 13vw, 180px) 0; }
#doors h2, #trust h2, #compare h2, .gt-head h2 { font-size: clamp(36px, 5vw, 78px); margin-top: 18px; }
.sec-sub { margin-top: 20px; max-width: 660px; color: var(--muted); }
.world-machine .sec-sub { color: rgba(255, 253, 247, 0.7); }
.door-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: clamp(46px, 5vw, 72px); }
.door-grid--two { grid-template-columns: repeat(2, 1fr); max-width: 1080px; }
.door-grid--four { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1080px) { .door-grid--four { grid-template-columns: repeat(2, 1fr); } }
#courses-band { padding: clamp(100px, 13vw, 180px) 0 clamp(80px, 10vw, 140px); }
#courses-band h2 { font-size: clamp(36px, 5vw, 78px); margin-top: 18px; }
.door {
  display: flex; flex-direction: column; gap: 16px;
  background: #FFFFFF; border: 1px solid rgba(22, 19, 31, 0.09); border-radius: 18px;
  padding: clamp(26px, 2.6vw, 42px);
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out), border-color 0.35s;
}
.door:hover { transform: translateY(-8px); box-shadow: 0 30px 70px -30px rgba(22, 19, 31, 0.28); border-color: rgba(107, 33, 168, 0.35); }
.door-idx { color: var(--violet-deep); }
.door h3 { font-size: clamp(22px, 1.9vw, 31px); }
.door p { font-size: 15px; color: var(--ink-soft); }
.door-tags { font-family: var(--mono); font-size: 11px; letter-spacing: 0.04em; line-height: 1.8; color: var(--muted); }
.door-cta { margin-top: auto; padding-top: 8px; font-weight: 600; color: var(--violet-deep); }

/* ---------- books rail ---------- */
#books { overflow: clip; }
.books-pin { padding-top: clamp(96px, 12vw, 160px); }
.books-head h2 { font-size: clamp(34px, 4.6vw, 70px); margin-top: 18px; max-width: 18ch; }
.books-rail {
  display: flex; gap: 22px; width: max-content;
  padding: clamp(44px, 6vw, 84px) var(--gutter) clamp(96px, 11vw, 150px);
  will-change: transform;
}
.bk {
  width: clamp(300px, 29vw, 430px); flex: none;
  background: var(--machine-2); border: 1px solid rgba(139, 92, 246, 0.22); border-radius: 18px;
  padding: clamp(26px, 2.4vw, 38px);
  transition: border-color 0.3s;
}
.bk:hover { border-color: rgba(139, 92, 246, 0.6); }
.bk-n { font-family: var(--mono); font-size: 12px; color: var(--violet-glow); }
.bk h3 { margin: 16px 0 12px; font-size: clamp(21px, 1.8vw, 27px); }
.bk p { font-size: 14.5px; color: rgba(255, 253, 247, 0.72); }

/* ---------- trust ---------- */
#trust { padding: clamp(100px, 13vw, 180px) 0 clamp(80px, 10vw, 140px); }
.stat-row--ink { border-top-color: rgba(22, 19, 31, 0.14); }
.pull-review { margin-top: clamp(60px, 8vw, 100px); max-width: 940px; }
.stars { color: var(--amber); letter-spacing: 7px; font-size: 18px; }
.pull-review blockquote { font-family: var(--serif); font-size: clamp(20px, 2.4vw, 33px); line-height: 1.42; margin-top: 18px; letter-spacing: -0.005em; }
.pull-review figcaption { margin-top: 22px; font-family: var(--mono); font-size: 12px; letter-spacing: 0.06em; color: var(--muted); }
.alli-line { display: flex; gap: 20px; align-items: center; margin-top: clamp(46px, 5vw, 68px); max-width: 700px; font-size: 14px; line-height: 1.7; color: var(--ink-soft); }
.alli-line img { flex: none; border-radius: 8px; width: auto; height: 88px; object-fit: contain; }
.alli-line:hover span { color: var(--ink); }

/* ---------- comparison ---------- */
#compare { padding-bottom: clamp(100px, 13vw, 180px); }
.table-wrap { overflow-x: auto; margin-top: clamp(42px, 5vw, 64px); border: 1px solid rgba(22, 19, 31, 0.1); border-radius: 16px; background: #fff; }
.cmp { width: 100%; min-width: 900px; border-collapse: collapse; font-size: 14px; }
.cmp th, .cmp td { padding: 16px 18px; text-align: left; border-bottom: 1px solid rgba(22, 19, 31, 0.08); vertical-align: top; }
.cmp tbody tr:last-child th, .cmp tbody tr:last-child td { border-bottom: 0; }
.cmp thead th { font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); font-weight: 500; }
@media (min-width: 1000px) {
  /* release the scroll container so thead can stick to the viewport */
  .table-wrap { overflow-x: visible; }
  .cmp thead th { position: sticky; top: 64px; background: var(--paper); z-index: 5; box-shadow: 0 1px 0 rgba(22, 19, 31, 0.1); }
  .cmp thead th:first-child { border-top-left-radius: 16px; }
  .cmp thead th:last-child { border-top-right-radius: 16px; }
  .cmp thead .us { background: #F3EEFC; }
}
.cmp tbody th { font-weight: 600; width: 180px; }
.cmp td { color: var(--ink-soft); }
.cmp .us { background: rgba(139, 92, 246, 0.07); font-weight: 600; color: var(--ink); }
.cmp thead .us { color: var(--violet-deep); }
.fine { margin-top: 24px; font-size: 12.5px; line-height: 1.85; color: var(--muted); max-width: 920px; }

/* ---------- diagnostics ---------- */
#diagnostics { padding: clamp(100px, 13vw, 180px) 0; background: linear-gradient(180deg, var(--machine-2) 0%, var(--machine) 100%); }
#diagnostics h2 { font-size: clamp(28px, 3.6vw, 58px); margin-top: 18px; }
.diag-list { margin-top: clamp(46px, 5vw, 72px); }
.diag { display: flex; gap: clamp(22px, 3.5vw, 52px); padding: clamp(28px, 3.2vw, 44px) 0; border-top: 1px solid rgba(255, 253, 247, 0.12); }
.diag:last-child { border-bottom: 1px solid rgba(255, 253, 247, 0.12); }
.diag-n { font-family: var(--serif); font-size: clamp(34px, 3.8vw, 60px); line-height: 1; color: var(--violet-glow); flex: none; width: 1.6em; }
.diag h3 { font-size: clamp(22px, 2.2vw, 35px); margin: 10px 0 12px; }
.diag p { max-width: 780px; font-size: 15px; color: rgba(255, 253, 247, 0.74); }
.diag .link-plain { margin-top: 16px; display: inline-block; }
.diag--soon { opacity: 0.55; }
.ai-audit-plate {
  margin-top: clamp(60px, 7vw, 96px);
  border: 1px solid rgba(139, 92, 246, 0.4); border-radius: 22px;
  padding: clamp(32px, 4.5vw, 64px);
  background: radial-gradient(120% 170% at 82% -10%, rgba(107, 33, 168, 0.4), transparent 60%);
}
.ai-audit-plate h3 { font-size: clamp(30px, 3.6vw, 56px); margin: 14px 0 18px; font-family: var(--serif); font-weight: 560; letter-spacing: -0.015em; line-height: 1.05; }
.ai-audit-plate p { max-width: 740px; color: rgba(255, 253, 247, 0.8); }
.ai-audit-plate .band-ctas { margin-top: 30px; }

/* ---------- guide wall teaser ---------- */
#guides-teaser { padding: clamp(100px, 13vw, 180px) 0; }
.gt-head { margin-bottom: clamp(40px, 5vw, 66px); }
.gt-row { padding-block: 12px; border-top: 1px solid rgba(22, 19, 31, 0.09); }
.gt-row:last-of-type { border-bottom: 1px solid rgba(22, 19, 31, 0.09); }
.gt-chip {
  display: inline-flex; align-items: baseline; gap: 12px; white-space: nowrap;
  font-family: var(--serif); font-size: clamp(20px, 2.3vw, 36px); color: var(--ink-soft); padding-block: 4px;
}
.gt-chip .cat { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--violet-deep); }
.gt-cta { margin-top: clamp(42px, 5vw, 66px); }
.foot-desc { margin-top: 16px; font-size: 14px; color: rgba(255, 253, 247, 0.66); max-width: 320px; }
.foot-desc a { padding: 0; color: var(--violet-glow); font-size: inherit; }

/* ================================================================
   FORMAT
   ================================================================ */

/* ---------- hero ---------- */
#f-hero { padding: clamp(140px, 18vh, 210px) 0 clamp(80px, 10vw, 140px); }
.f-hero-grid { display: grid; grid-template-columns: 1.25fr 0.75fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.f-h1 { font-size: clamp(42px, 6.2vw, 96px); line-height: 1; margin-block: 20px 26px; }
.f-h1 em { font-style: italic; color: var(--violet-deep); }
.f-hero-sub { max-width: 620px; font-size: clamp(15.5px, 1.25vw, 18px); color: var(--ink-soft); }
.f-hero-note { margin-top: 24px; font-size: 14px; color: var(--muted); }
.f-hero-media { aspect-ratio: 4 / 5; border-radius: 20px; box-shadow: 0 40px 90px -40px rgba(22, 19, 31, 0.4); }

/* ---------- THE GAUNTLET ---------- */
#gauntlet { overflow: clip; }
.gauntlet-pin { min-height: 100svh; display: flex; align-items: center; padding: clamp(96px, 12vh, 130px) 0 44px; }
.g-stage { width: 100%; }
.g-h2 { font-size: clamp(28px, 3.6vw, 58px); max-width: 24ch; margin-top: 16px; }
.g-grid { display: grid; grid-template-columns: minmax(280px, 460px) 1fr; gap: clamp(32px, 6vw, 110px); margin-top: clamp(32px, 5vh, 60px); align-items: center; }
.g-page {
  position: relative; aspect-ratio: 3 / 4; max-height: 56vh; margin-inline: auto; width: 100%;
  background: var(--paper); border-radius: 10px; overflow: clip;
  box-shadow: 0 0 0 1px rgba(255, 253, 247, 0.12), 0 40px 100px -40px rgba(139, 92, 246, 0.5);
}
.g-page-inner { position: absolute; inset: 11% 12%; display: flex; flex-direction: column; gap: 7%; }
.gp-line { display: block; height: 2.6%; min-height: 3px; background: rgba(22, 19, 31, 0.72); border-radius: 2px; }
.gp-gap { display: block; height: 2%; }
.gp-line.w80 { width: 80%; } .gp-line.w95 { width: 95%; } .gp-line.w88 { width: 88%; }
.gp-line.w92 { width: 92%; } .gp-line.w60 { width: 60%; } .gp-line.w90 { width: 90%; }
.gp-line.w94 { width: 94%; } .gp-line.w85 { width: 85%; } .gp-line.w91 { width: 91%; }
.gp-line.w73 { width: 73%; } .gp-line.w89 { width: 89%; } .gp-line.w96 { width: 96%; }
.gp-line.w82 { width: 82%; } .gp-line.w44 { width: 44%; }
.g-scan {
  position: absolute; left: 0; right: 0; top: 0; height: 3px; z-index: 2;
  background: var(--violet); box-shadow: 0 0 30px 6px rgba(139, 92, 246, 0.6); opacity: 0;
}
.g-stamp {
  position: absolute; inset: 0; display: grid; place-items: center; z-index: 3;
  opacity: 0; transform: scale(1.6) rotate(-14deg);
}
.gs-ring {
  font-family: var(--mono); font-weight: 500; font-size: clamp(22px, 2.4vw, 34px); line-height: 1.25;
  letter-spacing: 0.14em; text-align: center; color: var(--ok);
  border: 4px solid var(--ok); border-radius: 14px; padding: 18px 26px;
  text-transform: uppercase;
  box-shadow: inset 0 0 0 2px rgba(52, 211, 153, 0.25);
}
.g-checks { display: flex; flex-direction: column; gap: clamp(6px, 1.1vh, 12px); }
.gc {
  display: flex; align-items: center; gap: 14px;
  font-family: var(--mono); font-size: clamp(12px, 1.05vw, 15px);
  color: rgba(255, 253, 247, 0.4);
  transition: color 0.3s;
}
.gc i {
  flex: none; width: 18px; height: 18px; border-radius: 50%;
  border: 1.5px solid rgba(255, 253, 247, 0.3);
  position: relative; transition: border-color 0.3s, background-color 0.3s;
}
.gc i::after {
  content: ""; position: absolute; left: 5px; top: 2px; width: 5px; height: 9px;
  border: solid var(--machine); border-width: 0 2px 2px 0; transform: rotate(45deg) scale(0);
  transition: transform 0.25s var(--ease-out);
}
.gc.is-done { color: var(--paper); }
.gc.is-done i { background: var(--ok); border-color: var(--ok); }
.gc.is-done i::after { transform: rotate(45deg) scale(1); }
.g-guarantee {
  margin-top: clamp(28px, 4.5vh, 48px); max-width: 760px;
  font-family: var(--serif); font-size: clamp(19px, 2vw, 28px); line-height: 1.45;
  color: rgba(255, 253, 247, 0.9); opacity: 0;
}

/* ---------- pricing ---------- */
#pricing { padding: clamp(100px, 13vw, 180px) 0; }
#pricing h2, #included h2, #genres h2, #f-trust h2, #faq h2 { font-size: clamp(32px, 4.2vw, 64px); margin-top: 18px; max-width: 24ch; }
.price-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: clamp(46px, 5vw, 72px); align-items: stretch; }
.price-card {
  position: relative; display: flex; flex-direction: column; gap: 14px;
  background: #FFFFFF; border: 1px solid rgba(22, 19, 31, 0.1); border-radius: 18px;
  padding: clamp(24px, 2vw, 34px);
}
.price-card--pop { border-color: var(--violet); box-shadow: 0 24px 70px -30px rgba(107, 33, 168, 0.35); }
.pop-tag {
  position: absolute; top: -13px; left: 24px;
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase;
  background: var(--violet); color: #fff; border-radius: 100px; padding: 5px 14px;
}
.price-card h3 { font-size: clamp(20px, 1.6vw, 25px); }
.price { font-family: var(--serif); font-size: clamp(40px, 3.6vw, 58px); line-height: 1; font-variant-numeric: tabular-nums; letter-spacing: -0.02em; }
.price .cur { font-size: 0.55em; vertical-align: 0.5em; margin-right: 2px; }
.price .per { font-family: var(--mono); font-size: 12px; color: var(--muted); margin-left: 8px; letter-spacing: 0.04em; }
.price-desc { font-size: 13.5px; color: var(--ink-soft); }
.price-card ul { display: flex; flex-direction: column; gap: 8px; font-size: 13.5px; color: var(--ink-soft); }
.price-card ul li { padding-left: 22px; position: relative; }
.price-card ul li::before { content: "✓"; position: absolute; left: 0; color: var(--violet-deep); font-weight: 700; }
.price-card .btn { margin-top: auto; justify-content: center; }

/* ---------- ink band ---------- */
.ink-band { position: relative; height: clamp(300px, 44vh, 480px); }
.ink-band-line {
  position: absolute; inset: 0; z-index: 2; display: grid; place-items: center;
  padding-inline: var(--gutter); text-align: center;
  font-family: var(--serif); font-size: clamp(24px, 3.4vw, 52px); color: var(--paper);
  background: rgba(14, 12, 20, 0.45); letter-spacing: -0.01em; line-height: 1.15;
}

/* ---------- included / genres ---------- */
#included { padding: clamp(100px, 13vw, 180px) 0 clamp(60px, 8vw, 110px); }
.inc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(24px, 2.5vw, 40px); margin-top: clamp(46px, 5vw, 72px); }
.inc h3 { font-size: 19px; margin-bottom: 10px; }
.inc p { font-size: 13.5px; line-height: 1.7; color: var(--ink-soft); }
#genres { padding: clamp(60px, 8vw, 110px) 0 clamp(100px, 13vw, 180px); }
.genre-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: clamp(46px, 5vw, 72px); }
.gen {
  display: flex; flex-direction: column; gap: 8px;
  background: #FFFFFF; border: 1px solid rgba(22, 19, 31, 0.09); border-radius: 14px; padding: 22px;
  transition: transform 0.3s var(--ease-out), border-color 0.3s, box-shadow 0.3s;
}
.gen:hover { transform: translateY(-5px); border-color: rgba(107, 33, 168, 0.4); box-shadow: 0 20px 50px -24px rgba(22, 19, 31, 0.25); }
.gen h3 { font-size: 17px; }
.gen p { font-size: 12.5px; color: var(--muted); line-height: 1.6; }
.gen .trim { margin-top: auto; padding-top: 8px; font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; color: var(--violet-deep); }

/* ---------- preflight / trust / faq / aplus ---------- */
#preflight { padding: clamp(90px, 11vw, 150px) 0; }
#f-trust { padding: clamp(100px, 13vw, 170px) 0 clamp(60px, 8vw, 100px); }
#faq { padding: clamp(60px, 8vw, 100px) 0; }
.faq-list { margin-top: clamp(40px, 5vw, 60px); max-width: 880px; }
.fq { border-top: 1px solid rgba(22, 19, 31, 0.12); }
.fq:last-child { border-bottom: 1px solid rgba(22, 19, 31, 0.12); }
.fq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  cursor: pointer; list-style: none; padding: 22px 0;
  font-family: var(--serif); font-size: clamp(18px, 1.8vw, 24px); font-weight: 560;
}
.fq summary::-webkit-details-marker { display: none; }
.fq summary i { flex: none; position: relative; width: 18px; height: 18px; }
.fq summary i::before, .fq summary i::after { content: ""; position: absolute; background: var(--violet-deep); transition: transform 0.3s var(--ease-out); }
.fq summary i::before { left: 0; right: 0; top: 8px; height: 2px; }
.fq summary i::after { top: 0; bottom: 0; left: 8px; width: 2px; }
.fq[open] summary i::after { transform: scaleY(0); }
.fq p { padding: 0 0 24px; max-width: 780px; color: var(--ink-soft); font-size: 15px; }
#aplus { padding: clamp(40px, 6vw, 80px) 0 clamp(110px, 13vw, 180px); }
.aplus-plate {
  background: var(--ink); color: var(--paper); border-radius: 22px;
  padding: clamp(32px, 4.5vw, 64px);
}
.aplus-plate h2 { font-size: clamp(28px, 3.6vw, 54px); margin-block: 14px 16px; max-width: 20ch; }
.aplus-plate p { color: rgba(255, 253, 247, 0.8); max-width: 640px; margin-bottom: 28px; }
.aplus-plate .btn { background: var(--paper); color: var(--ink); }
.aplus-plate .btn .btn-fill { background: var(--violet); }
.aplus-plate .btn:hover { color: #fff; }

@media (max-width: 1080px) {
  .price-grid, .inc-grid { grid-template-columns: 1fr 1fr; }
  .genre-grid { grid-template-columns: 1fr 1fr 1fr; }
}
@media (max-width: 820px) {
  .f-hero-grid { grid-template-columns: 1fr; }
  .f-hero-media { max-width: 440px; }
  .g-grid { grid-template-columns: 1fr; gap: 26px; }
  .g-page { max-width: 300px; max-height: 38vh; }
  .genre-grid { grid-template-columns: 1fr 1fr; }
  .price-grid, .inc-grid { grid-template-columns: 1fr; }
}

/* ================================================================
   LAUNCH
   ================================================================ */
#l-hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; overflow: clip; }
.l-h1 { font-size: clamp(50px, 9vw, 140px); line-height: 0.99; margin-block: 20px 26px; color: var(--paper); }
.l-h1 em { font-style: italic; color: var(--violet-glow); }

/* the 14-day rail */
#rail { overflow: clip; background: linear-gradient(180deg, var(--machine) 0%, var(--machine-2) 100%); }
.rail-pin { padding-top: clamp(96px, 12vw, 150px); min-height: 100svh; }
.rail-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; }
.rail-head h2 { font-size: clamp(30px, 4vw, 62px); max-width: 20ch; margin-top: 16px; }
.day-counter { flex: none; display: flex; align-items: baseline; gap: 10px; font-family: var(--mono); color: var(--violet-glow); }
.day-counter .dc-label { font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; }
.day-counter .dc-num { font-family: var(--serif); font-size: clamp(56px, 7vw, 120px); line-height: 1; color: var(--paper); font-variant-numeric: tabular-nums; letter-spacing: -0.02em; }
.day-counter .dc-of { font-size: clamp(16px, 1.6vw, 24px); color: rgba(255, 253, 247, 0.5); }
.rail-track {
  display: flex; gap: 22px; width: max-content;
  padding: clamp(44px, 6vw, 80px) var(--gutter) clamp(90px, 11vw, 150px);
  will-change: transform;
}
.station {
  width: clamp(320px, 34vw, 500px); flex: none;
  background: rgba(255, 253, 247, 0.03);
  border: 1px solid rgba(139, 92, 246, 0.25); border-radius: 20px;
  padding: clamp(28px, 2.6vw, 44px);
  position: relative;
}
.station::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px;
  background: linear-gradient(var(--violet), transparent); border-radius: 3px;
}
.station h3 { font-size: clamp(22px, 2vw, 30px); margin: 14px 0 12px; }
.station p { font-size: 15px; color: rgba(255, 253, 247, 0.74); }
.st-n { color: var(--violet-glow); }

/* launch pricing / voices */
#l-pricing { padding: clamp(100px, 13vw, 180px) 0; }
#l-pricing h2, #l-voices h2 { font-size: clamp(32px, 4.2vw, 64px); margin-top: 18px; max-width: 22ch; }
.l-price-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: clamp(46px, 5vw, 72px); max-width: 900px; }
#l-voices { padding-bottom: clamp(100px, 13vw, 180px); }
.voice-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: clamp(46px, 5vw, 72px); }
.voice { position: relative; border-top: 1px solid rgba(22, 19, 31, 0.16); padding: clamp(26px, 2.6vw, 38px) 0 0 clamp(20px, 2vw, 30px); }
.voice::before {
  content: "\201C"; position: absolute; left: -6px; top: clamp(14px, 1.6vw, 22px);
  font-family: var(--serif); font-style: italic; font-size: clamp(52px, 5vw, 78px); line-height: 1;
  color: var(--violet); opacity: 0.85;
}
.voice .stars { font-size: 12px; letter-spacing: 5px; }
.voice blockquote { font-family: var(--serif); font-size: clamp(18px, 1.7vw, 23px); line-height: 1.48; margin-top: 14px; letter-spacing: -0.004em; }
.voice figcaption { margin-top: 18px; font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.05em; text-transform: uppercase; color: var(--muted); }
.voice-source { margin-top: 30px; font-family: var(--mono); font-size: 12px; color: var(--muted); }
.voice-source a { text-decoration: underline; text-underline-offset: 3px; }
.voice-source a:hover { color: var(--violet-deep); }

/* enquiry */
#enquire { padding: clamp(100px, 13vw, 180px) 0; }
.enq-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(36px, 6vw, 100px); align-items: start; }
.enq-copy h2 { font-size: clamp(30px, 3.8vw, 56px); margin-top: 16px; }
.enq-alt { margin-top: 26px; font-size: 15px; color: rgba(255, 253, 247, 0.7); }
.enq-form { display: flex; flex-direction: column; gap: 18px; }
.ff-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.ff { display: flex; flex-direction: column; gap: 8px; }
.ff span { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--violet-glow); }
.ff input, .ff select, .ff textarea {
  font: inherit; color: var(--paper); background: rgba(255, 253, 247, 0.05);
  border: 1px solid rgba(255, 253, 247, 0.2); border-radius: 10px; padding: 13px 16px;
  transition: border-color 0.25s;
}
.ff input:focus, .ff select:focus, .ff textarea:focus { outline: none; border-color: var(--violet); }
.ff select option { color: var(--ink); background: #fff; }
.enq-form .btn { align-self: flex-start; margin-top: 6px; }
.ff-note { font-family: var(--mono); font-size: 11.5px; line-height: 1.8; color: rgba(255, 253, 247, 0.5); }
.ff-note a { color: var(--violet-glow); }
.ff-note.is-sent { color: var(--ok); }

@media (max-width: 820px) {
  .rail-head { flex-direction: column; align-items: flex-start; }
  .rail-track { overflow-x: auto; width: auto; -webkit-overflow-scrolling: touch; }
  .rail-pin { min-height: 0; }
  .station { width: min(84vw, 420px); }
  .l-price-grid, .voice-grid, .enq-grid, .ff-row { grid-template-columns: 1fr; }
}

/* ---------- home responsive ---------- */
@media (max-width: 820px) {
  .hero-hint { display: none; }
  .stat-row { grid-template-columns: 1fr 1fr; }
  .door-grid, .door-grid--four { grid-template-columns: 1fr; }
  .books-rail { overflow-x: auto; width: auto; -webkit-overflow-scrolling: touch; }
  .diag { flex-direction: column; gap: 10px; }
  .diag-n { width: auto; }
  .alli-line { align-items: flex-start; }
}
/* narrow mobile (390px) */
@media (max-width: 420px) {
  .hero-ctas { flex-direction: column; }
  .hero-ctas .btn { width: 100%; justify-content: center; }
  .hero-h1 { font-size: clamp(42px, 11vw, 54px); }
  .stat-n { font-size: clamp(28px, 8vw, 36px); }
  .band-ctas { flex-direction: column; align-items: flex-start; gap: 16px; }
  .reading-engines { gap: 8px; }
  .eng { font-size: 11.5px; padding: 8px 14px; }
  .cmp { font-size: 12.5px; }
  .cmp th, .cmp td { padding: 8px 6px; }
  .door-tags { font-size: 12px; }
  .alli-line { align-items: flex-start; }
}

/* ==================================================================
   GUIDES
   ================================================================== */
#g-hero { padding: clamp(150px, 18vw, 240px) 0 clamp(50px, 6vw, 90px); }
.g-h1 {
  font-size: clamp(42px, 7.2vw, 118px); line-height: 1.02; letter-spacing: -0.02em;
  margin-top: 22px; max-width: 14ch;
}
.g-h1 em, .g-count { font-style: italic; color: var(--violet); }
#g-hero .hero-sub { max-width: 62ch; margin-top: 26px; }

/* featured showpieces */
#g-featured { padding: clamp(30px, 4vw, 60px) 0 clamp(60px, 7vw, 100px); }
#g-featured h2 { font-size: clamp(28px, 3.4vw, 50px); margin-top: 14px; max-width: 22ch; }
.gf-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(18px, 2.4vw, 32px); margin-top: clamp(30px, 4vw, 52px); }
.gf-card {
  display: flex; flex-direction: column; gap: 16px; padding: clamp(26px, 3.4vw, 48px);
  border: 1px solid var(--line); border-radius: 18px; background: #fff;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.45s, border-color 0.45s;
}
.gf-card:hover { transform: translateY(-6px); box-shadow: 0 30px 70px -30px rgba(26, 21, 18, 0.25); border-color: rgba(26, 21, 18, 0.3); }
.gf-card h3 { font-size: clamp(21px, 2vw, 30px); line-height: 1.18; letter-spacing: -0.01em; }
.gf-card p { font-size: 15.5px; line-height: 1.65; color: var(--ink-soft); }
.gf-card .mono-label { color: var(--violet); }
.gf-go { font-family: var(--mono); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; margin-top: auto; }
.gf-card--dark { background: var(--machine-2); border-color: rgba(255, 253, 247, 0.14); color: var(--paper); }
.gf-card--dark h3 { color: var(--paper); }
.gf-card--dark p { color: rgba(255, 253, 247, 0.68); }
.gf-card--dark .mono-label { color: var(--violet-glow); }
.gf-card--dark:hover { box-shadow: 0 30px 80px -30px rgba(124, 92, 255, 0.45); border-color: rgba(124, 92, 255, 0.5); }

/* filter bar */
#g-wall-sec { padding: 0 0 clamp(90px, 11vw, 150px); }
.g-filterbar {
  position: sticky; top: 64px; z-index: 20; background: var(--paper);
  padding: 16px 0 14px; border-bottom: 1px solid var(--line);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px;
}
.g-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.g-chip {
  font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--ink-soft); background: transparent; border: 1px solid var(--line);
  border-radius: 100px; padding: 8px 14px; cursor: pointer;
  transition: color 0.25s, border-color 0.25s, background 0.25s;
}
.g-chip span { opacity: 0.55; margin-left: 4px; }
.g-chip:hover { border-color: rgba(26, 21, 18, 0.4); color: var(--ink); }
.g-chip.is-on { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.g-chip.is-on span { opacity: 0.7; }
.g-tools { display: flex; align-items: center; gap: 16px; }
#g-search {
  font: inherit; font-size: 14px; color: var(--ink); background: #fff;
  border: 1px solid var(--line); border-radius: 100px; padding: 9px 18px; width: min(260px, 60vw);
  transition: border-color 0.25s;
}
#g-search:focus { outline: none; border-color: var(--violet); }
.g-readout { white-space: nowrap; }
.g-readout span { color: var(--violet); }

/* wall grid */
.g-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: clamp(26px, 3.4vw, 44px); }
.gcard {
  min-width: 0;
  display: flex; flex-direction: column; gap: 12px; padding: 22px 22px 20px;
  border: 1px solid var(--line); border-radius: 14px; background: #fff;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s, border-color 0.35s;
}
.gcard:hover { transform: translateY(-4px); box-shadow: 0 22px 50px -24px rgba(26, 21, 18, 0.22); border-color: rgba(26, 21, 18, 0.3); }
/* filter fix: JS hides non-matching cards via the hidden attribute; display:flex above
   would otherwise override the UA [hidden] rule and the filter never visually hides anything */
.gcard[hidden] { display: none; }
.gc-top { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.gc-idx { font-family: var(--mono); font-size: 11px; color: rgba(26, 21, 18, 0.35); }
.gc-cat { font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--violet); }
.gcard h3 { font-family: var(--serif); font-size: 18.5px; line-height: 1.25; letter-spacing: -0.005em; font-weight: 550; }
.gcard p {
  font-size: 13.5px; line-height: 1.6; color: var(--ink-soft);
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.gc-foot {
  display: flex; justify-content: space-between; margin-top: auto; padding-top: 10px;
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; color: rgba(26, 21, 18, 0.45);
}
.gc-go { color: var(--ink); transition: color 0.25s; }
.gcard:hover .gc-go { color: var(--violet); }
.gcard:hover .gc-idx { color: var(--violet); }
/* machine-world intrusion: the index reads every 9th card */
.gcard:nth-child(9n + 4) { background: var(--machine); border-color: rgba(255, 253, 247, 0.14); color: var(--paper); }
.gcard:nth-child(9n + 4) h3 { color: var(--paper); }
.gcard:nth-child(9n + 4) p { color: rgba(255, 253, 247, 0.66); }
.gcard:nth-child(9n + 4) .gc-idx { color: var(--violet-glow); }
.gcard:nth-child(9n + 4) .gc-cat { color: var(--violet-glow); }
.gcard:nth-child(9n + 4) .gc-foot { color: rgba(255, 253, 247, 0.5); }
.gcard:nth-child(9n + 4) .gc-go { color: var(--paper); }
.gcard:nth-child(9n + 4):hover { border-color: rgba(167, 139, 250, 0.6); box-shadow: 0 22px 50px -24px rgba(124, 92, 255, 0.45); }
.gcard:nth-child(9n + 4):hover .gc-go { color: var(--violet-glow); }
.g-empty { margin-top: 40px; font-size: 16px; color: var(--ink-soft); }

/* tools plate */
#g-tools-sec { padding: clamp(80px, 10vw, 140px) 0; }
.tools-plate {
  display: flex; align-items: center; justify-content: space-between; gap: clamp(24px, 4vw, 60px);
  border: 1px solid rgba(255, 253, 247, 0.16); border-radius: 20px;
  padding: clamp(30px, 4.4vw, 60px);
  background: linear-gradient(135deg, rgba(124, 92, 255, 0.14), rgba(124, 92, 255, 0.02));
}
.tools-plate h2 { font-size: clamp(26px, 3.2vw, 46px); margin-top: 12px; }
.tools-sub { margin-top: 14px; max-width: 56ch; font-size: 15.5px; line-height: 1.65; color: rgba(255, 253, 247, 0.68); }
.tools-plate .btn { flex-shrink: 0; }

@media (max-width: 1080px) {
  .g-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ==================================================================
   ABOUT / THE INDEX
   ================================================================== */
#a-hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; padding: clamp(150px, 16vw, 220px) 0 clamp(60px, 7vw, 100px); }
.a-h1 { font-size: clamp(44px, 7.6vw, 124px); line-height: 1; letter-spacing: -0.02em; margin-top: 20px; }
.a-h1 em { font-style: italic; color: var(--violet-glow); }
#a-hero .hero-sub { max-width: 64ch; margin-top: 24px; }
.a-odometer { margin-top: clamp(34px, 4vw, 56px); display: flex; align-items: baseline; gap: 22px; flex-wrap: wrap; }
.a-big { font-family: var(--serif); font-size: clamp(52px, 8vw, 130px); line-height: 1; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; color: var(--paper); }
.a-big-l { color: var(--violet-glow); }

#a-band { padding: clamp(30px, 4vw, 60px) 0 clamp(70px, 8vw, 110px); }
#a-band .stat-row { margin-top: 0; }
.a-band-note { margin-top: 30px; font-family: var(--mono); font-size: 12px; line-height: 1.8; color: rgba(255, 253, 247, 0.55); max-width: 76ch; }

#a-amazon { padding: clamp(80px, 10vw, 150px) 0; background: linear-gradient(180deg, var(--machine) 0%, var(--machine-2) 100%); }
#a-amazon h2 { font-size: clamp(30px, 4vw, 62px); max-width: 18ch; margin-top: 16px; }
.am-grid { display: grid; grid-template-columns: minmax(280px, 0.8fr) 1.4fr; gap: clamp(36px, 6vw, 100px); align-items: center; margin-top: clamp(40px, 5vw, 70px); }
.am-rank { font-family: var(--serif); }
.am-hash { font-size: clamp(40px, 5vw, 80px); color: var(--violet); vertical-align: top; }
.am-n { font-size: clamp(120px, 16vw, 260px); line-height: 0.9; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.am-cap { margin-top: 18px; font-family: var(--mono); font-size: 12px; line-height: 1.8; color: rgba(255, 253, 247, 0.6); max-width: 40ch; }
.am-bars .viz-row { grid-template-columns: 190px 1fr 80px; }

#a-genres { padding: clamp(80px, 10vw, 140px) 0 0; }
.genres-pin { min-height: 100svh; display: flex; align-items: center; padding: clamp(90px, 11vh, 120px) 0 36px; }
.ag-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; }
.ag-head h2 { font-size: clamp(28px, 3.6vw, 54px); margin-top: 14px; max-width: 20ch; }
.ag-rows { display: flex; flex-direction: column; gap: 6px; margin-top: clamp(26px, 3vw, 44px); }
.ag-row {
  display: grid; grid-template-columns: 200px 1fr 76px; align-items: center; gap: 16px;
  padding: 4px 0; border-radius: 8px; opacity: 0.35; transition: opacity 0.3s, background 0.3s;
}
.ag-row.is-on { opacity: 1; }
.ag-row:hover { background: rgba(139, 92, 246, 0.1); }
.ag-name { font-size: 14px; color: var(--paper); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ag-bar { height: 12px; border-radius: 100px; background: rgba(255, 253, 247, 0.06); overflow: hidden; }
.ag-bar i { display: block; height: 100%; width: var(--w, 0%); background: linear-gradient(90deg, var(--violet-deep), var(--violet-glow)); border-radius: 100px; transform: scaleX(0); transform-origin: left; }
.ag-row.is-on .ag-bar i { transition: transform 0.9s var(--ease-out); transform: scaleX(1); }
.ag-v { font-family: var(--mono); font-size: 12px; text-align: right; color: rgba(255, 253, 247, 0.75); }
.ag-note { margin-top: 26px; font-family: var(--mono); font-size: 11.5px; line-height: 1.8; color: rgba(255, 253, 247, 0.5); max-width: 80ch; }

#a-retail { padding: clamp(80px, 10vw, 150px) 0; }
#a-retail h2 { font-size: clamp(28px, 3.6vw, 54px); margin-top: 14px; }
.ar-sub { margin-top: 16px; max-width: 60ch; color: rgba(255, 253, 247, 0.68); }
.ar-bars { margin-top: clamp(30px, 4vw, 50px); max-width: 900px; }
.ar-bars .viz-row { grid-template-columns: 180px 1fr 110px; }
#a-retail .viz-note { margin-top: 24px; }

#a-why { padding: clamp(80px, 10vw, 150px) 0; background: linear-gradient(180deg, var(--machine-2) 0%, var(--machine) 100%); }
#a-why h2 { font-size: clamp(28px, 3.8vw, 58px); max-width: 22ch; margin-top: 16px; }
.a-why-body { margin-top: clamp(30px, 4vw, 48px); max-width: 66ch; font-size: clamp(17px, 1.5vw, 20px); line-height: 1.7; color: rgba(255, 253, 247, 0.8); }
#a-why .viz-note { margin-top: 20px; max-width: 90ch; }

#a-method { padding: 0 0 clamp(90px, 11vw, 150px); }
.method-plate {
  border: 1px solid rgba(139, 92, 246, 0.35); border-radius: 20px;
  padding: clamp(28px, 4vw, 56px); background: rgba(139, 92, 246, 0.06);
}
.method-plate h2 { font-size: clamp(24px, 2.8vw, 42px); margin: 12px 0 18px; }
.method-plate p { max-width: 86ch; font-size: 15.5px; line-height: 1.75; color: rgba(255, 253, 247, 0.72); }

#a-founder { padding: clamp(90px, 11vw, 160px) 0; }
#a-founder h2 { font-size: clamp(30px, 4vw, 60px); max-width: 18ch; margin-top: 16px; }
.founder-grid { display: grid; grid-template-columns: minmax(260px, 0.9fr) 1.4fr; gap: clamp(32px, 5vw, 80px); align-items: start; margin-top: clamp(36px, 5vw, 64px); }
.founder-photo { border-radius: 18px; overflow: hidden; }
.founder-photo img { display: block; width: 100%; height: auto; }
.founder-copy p { font-size: clamp(16px, 1.4vw, 18.5px); line-height: 1.75; color: var(--ink-soft); margin-bottom: 20px; }
.founder-copy .alli-line { margin-top: 10px; }
.founder-copy .hero-ctas { margin-top: 30px; }

@media (max-width: 1080px) {
  .am-grid { grid-template-columns: 1fr; }
  .founder-grid { grid-template-columns: 1fr; }
  .founder-photo { max-width: 380px; }
}
@media (max-width: 820px) {
  .ag-head { flex-direction: column; align-items: flex-start; }
  .ag-row { grid-template-columns: 110px 1fr 60px; gap: 10px; }
  .ag-name { font-size: 12px; }
  .genres-pin { min-height: 0; }
  .am-bars .viz-row, .ar-bars .viz-row { grid-template-columns: 110px 1fr 84px; }
}

/* ==================================================================
   SHOWPIECE ARTICLES
   ================================================================== */
/* reading progress spine */
.sp-spine {
  position: fixed; left: clamp(10px, 1.6vw, 26px); top: 50%; transform: translateY(-50%);
  height: min(52vh, 460px); width: 2px; background: rgba(22, 19, 31, 0.12); z-index: 40;
}
.sp-spine i { position: absolute; inset: 0; background: var(--violet); transform-origin: top; transform: scaleY(0); }
.sp-spine .sp-pct {
  position: absolute; left: 10px; top: 0; font-family: var(--mono); font-size: 11px;
  letter-spacing: 0.08em; color: var(--violet); white-space: nowrap; transition: top 0.1s linear;
}
.world-machine ~ .sp-spine { background: rgba(255, 253, 247, 0.15); }

/* article hero */
.sp-hero { padding: clamp(140px, 16vw, 210px) 0 clamp(40px, 5vw, 70px); }
.sp-crumb { font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.sp-crumb a { color: var(--muted); } .sp-crumb a:hover { color: var(--violet); }
.sp-h1 { font-size: clamp(34px, 4.6vw, 74px); line-height: 1.05; letter-spacing: -0.018em; margin-top: 22px; max-width: 22ch; }
.sp-h1 em { font-style: italic; color: var(--violet); }
@media (max-width: 480px) {
  .sp-h1 { font-size: 29px; }
}
.sp-snapshot {
  margin-top: 26px; max-width: 62ch; padding: 14px 18px; border-left: 2px solid var(--violet);
  background: rgba(139, 92, 246, 0.06); font-size: 14px; line-height: 1.6; color: var(--ink-soft);
}
.sp-snapshot a { color: var(--violet-deep); text-decoration: underline; text-underline-offset: 3px; }
.sp-byline { display: flex; align-items: center; gap: 14px; margin-top: clamp(26px, 3vw, 40px); }
.sp-byline img { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; }
.sp-byline strong { display: block; font-size: 14.5px; }
.sp-byline span { font-family: var(--mono); font-size: 11.5px; color: var(--muted); }

/* layout: article + sticky toc */
.sp-layout { display: grid; grid-template-columns: minmax(0, 70ch) 1fr; gap: clamp(40px, 6vw, 110px); align-items: start; }
.sp-toc { position: sticky; top: 110px; padding-left: 20px; border-left: 1px solid rgba(22, 19, 31, 0.12); }
.sp-toc h4 { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.sp-toc a {
  display: block; font-size: 13.5px; line-height: 1.45; color: var(--muted); padding: 5px 0;
  transition: color 0.25s, transform 0.25s;
}
.sp-toc a:hover { color: var(--ink); }
.sp-toc a.is-active { color: var(--violet); transform: translateX(4px); }

/* article body typography */
.sp-body { font-size: 17.5px; line-height: 1.75; color: var(--ink-soft); }
.sp-body section { padding-top: clamp(30px, 3.6vw, 52px); }
.sp-body h2 { font-size: clamp(25px, 2.6vw, 38px); line-height: 1.15; letter-spacing: -0.01em; color: var(--ink); margin-bottom: 18px; }
.sp-body h3 { font-size: clamp(19px, 1.8vw, 25px); color: var(--ink); margin: 26px 0 12px; }
.sp-body p { margin-bottom: 18px; }
.sp-body a { color: var(--ink); text-decoration: underline; text-decoration-color: rgba(139, 92, 246, 0.5); text-underline-offset: 3px; transition: text-decoration-color 0.25s, color 0.25s; }
.sp-body a:hover { color: var(--violet); text-decoration-color: var(--violet); }
.sp-body ul, .sp-body ol { margin: 0 0 18px 22px; }
.sp-body li { margin-bottom: 10px; }
.sp-lead { font-size: clamp(19px, 1.6vw, 22px); line-height: 1.65; color: var(--ink); }

/* tl;dr plate */
.sp-tldr {
  border: 1px solid rgba(139, 92, 246, 0.35); border-radius: 16px; background: rgba(139, 92, 246, 0.05);
  padding: clamp(22px, 3vw, 36px); margin: 10px 0 8px;
}
.sp-tldr h2 { font-size: clamp(20px, 2vw, 26px); }
.sp-tldr li strong { color: var(--ink); }

/* stat plates */
.sp-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin: 28px 0; }
.sp-stats.cols-4 { grid-template-columns: repeat(4, 1fr); }
.pullstat {
  border: 1px solid rgba(22, 19, 31, 0.12); border-radius: 14px; background: #fff;
  padding: 22px 20px 18px; text-align: left;
}
.pullstat .ps-n { font-family: var(--serif); font-size: clamp(34px, 3.6vw, 54px); line-height: 1; letter-spacing: -0.02em; color: var(--ink); display: block; }
.pullstat .ps-n em { font-style: italic; color: var(--violet); }
.pullstat .ps-l { display: block; margin-top: 10px; font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); line-height: 1.5; }

/* dark data band inside articles */
.sp-band {
  border-radius: 20px; padding: clamp(26px, 3.6vw, 48px); margin: 30px 0;
  background: var(--machine); color: var(--paper); border: 1px solid rgba(139, 92, 246, 0.3);
}
.sp-band h3, .sp-band h2 { color: var(--paper); margin-top: 0; }
.sp-band .mono-label { color: var(--violet-glow); margin-bottom: 14px; }
/* horizontal bar viz */
.viz-row { display: grid; grid-template-columns: 130px 1fr 90px; align-items: center; gap: 14px; margin-top: 14px; }
.viz-row .vr-l { font-family: var(--mono); font-size: 12px; color: rgba(255, 253, 247, 0.75); }
.viz-row .vr-v { font-family: var(--mono); font-size: 13px; color: var(--paper); text-align: right; }
.viz-row .vr-bar { height: 10px; border-radius: 100px; background: rgba(255, 253, 247, 0.08); overflow: hidden; }
.viz-row .vr-bar i { display: block; height: 100%; width: var(--w, 0%); background: linear-gradient(90deg, var(--violet-deep), var(--violet-glow)); border-radius: 100px; transform: scaleX(0); transform-origin: left; }
.viz-row.is-in .vr-bar i { transition: transform 1.2s var(--ease-out); transform: scaleX(1); }
.viz-row.vr-hot .vr-bar i { background: linear-gradient(90deg, #B45309, var(--amber)); }
.viz-note { margin-top: 18px; font-family: var(--mono); font-size: 11.5px; line-height: 1.7; color: rgba(255, 253, 247, 0.5); }

/* kinetic pull-quote */
.sp-quote {
  font-family: var(--serif); font-size: clamp(24px, 2.8vw, 40px); line-height: 1.25; letter-spacing: -0.01em;
  color: var(--ink); margin: 40px 0; padding-left: clamp(18px, 2.4vw, 30px); border-left: 3px solid var(--violet);
}
.sp-quote em { font-style: italic; color: var(--violet); }

/* article table */
.sp-table { width: 100%; border-collapse: collapse; margin: 22px 0 28px; font-size: 15px; }
.sp-table th {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--muted); text-align: left; padding: 10px 14px; border-bottom: 1px solid rgba(22, 19, 31, 0.2);
}
.sp-table td { padding: 12px 14px; border-bottom: 1px solid rgba(22, 19, 31, 0.08); vertical-align: top; }
.sp-table td:first-child { color: var(--ink); font-weight: 500; }

/* deadline plate */
.sp-deadline {
  display: flex; align-items: center; gap: clamp(20px, 3vw, 40px); margin: 30px 0;
  border: 1px solid rgba(232, 180, 90, 0.5); background: rgba(232, 180, 90, 0.08);
  border-radius: 16px; padding: clamp(22px, 3vw, 36px);
}
.sp-deadline .dl-date { font-family: var(--serif); font-style: italic; font-size: clamp(34px, 4vw, 58px); line-height: 1; color: #B45309; white-space: nowrap; }
.sp-deadline p { margin: 0; font-size: 15.5px; }

/* faq reuse (cream context) */
.sp-body details { border-bottom: 1px solid rgba(22, 19, 31, 0.12); }
.sp-body details summary {
  cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: baseline; gap: 16px;
  font-family: var(--serif); font-size: clamp(17px, 1.6vw, 21px); color: var(--ink); padding: 18px 0;
}
.sp-body details summary::-webkit-details-marker { display: none; }
.sp-body details summary::after { content: "+"; font-family: var(--mono); color: var(--violet); flex-shrink: 0; }
.sp-body details[open] summary::after { content: "−"; }
.sp-body details p { padding-bottom: 18px; margin: 0; }

/* author card */
.sp-author {
  display: grid; grid-template-columns: 88px 1fr; gap: 22px; align-items: start;
  border: 1px solid rgba(22, 19, 31, 0.12); border-radius: 18px; background: #fff;
  padding: clamp(22px, 3vw, 36px); margin-top: clamp(36px, 4vw, 56px);
}
.sp-author img { width: 88px; height: 88px; border-radius: 50%; object-fit: cover; }
.sp-author h3 { margin: 0 0 8px; }
.sp-author p { margin: 0; font-size: 15px; line-height: 1.7; }

/* next-read footer band */
.sp-next { padding: clamp(70px, 9vw, 130px) 0; }
.sp-next .gf-grid { margin-top: clamp(24px, 3vw, 40px); }

@media (max-width: 1080px) {
  .sp-layout { grid-template-columns: 1fr; }
  .sp-toc { display: none; }
  .sp-spine { display: none; }
  .sp-stats.cols-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 820px) {
  .sp-stats, .sp-stats.cols-4 { grid-template-columns: 1fr 1fr; }
  .viz-row { grid-template-columns: 90px 1fr 70px; }
  .sp-deadline { flex-direction: column; align-items: flex-start; }
  .sp-author { grid-template-columns: 1fr; }
  .sp-table { font-size: 13.5px; }
  .sp-table th, .sp-table td { padding: 8px 8px; }
}
@media (max-width: 820px) {
  .gf-grid { grid-template-columns: minmax(0, 1fr); }
  .g-grid { grid-template-columns: minmax(0, 1fr); }
  .g-filterbar { position: static; }
  .g-tools { width: 100%; justify-content: space-between; flex-wrap: wrap; row-gap: 10px; } /* readout wraps below search at 390 instead of clipping */
  .g-readout { min-width: 0; letter-spacing: 0.12em; } /* stop mono-label letter-spacing from overflowing 390px viewports */
  .tools-plate { flex-direction: column; align-items: flex-start; }
}

/* ============================================================================
   SITE EXTENSIONS — legacy component layer (article, guides library, tools,
   generic pages) grafted onto the wow-v2 design system. Uses alias tokens.
   ========================================================================== */
:root {
  --paper-deep: #F6EFE3;
  --ink-band: #14100D;
  --border: #E8E0D4;
  --border-dark: #D8CDBB;
  --indigo: #6B21A8;
  --indigo-deep: #4C1583;
  --indigo-light: #A78BFA;
  --indigo-wash: #F3EDFB;
  --rose: #7C2D3E;
  --emerald: #166534;
  --emerald-wash: #EAF4EC;
  --gold: #B98A2F;
  --font: var(--sans);
  --font-display: var(--serif);
  --font-serif: var(--serif);
  --max-w: 1200px;
  --max-w-article: 720px;
  --radius: 14px;
  --radius-sm: 9px;
  --shadow: 0 1px 3px rgba(22,19,31,.06), 0 1px 2px rgba(22,19,31,.04);
  --shadow-md: 0 6px 16px -4px rgba(22,19,31,.08), 0 2px 5px -2px rgba(22,19,31,.05);
  --shadow-lg: 0 18px 40px -12px rgba(22,19,31,.14), 0 8px 14px -8px rgba(22,19,31,.07);
  --ease: cubic-bezier(.22,1,.36,1);
  --transition: .28s var(--ease);
  --navy: #16131F;
  --bg: #FFFDF7;
  --bg-warm: #FFF9F0;
  --white: #ffffff;
}
/* ─────────── kickers, rules, press furniture ─────────── */
.kicker {
  display: inline-flex; align-items: center; gap: .6em;
  font-family: var(--mono); font-size: .72rem; font-weight: 700;
  letter-spacing: .22em; text-transform: uppercase;
  color: var(--violet);
}
.kicker::before { content: ""; width: 26px; height: 1.5px; background: var(--violet); }
.rule { border: 0; border-top: 1px solid var(--border); margin: 0; }

/* ─────────── breadcrumbs ─────────── */
.breadcrumbs { padding: 5.6rem 0 0; font-size: .78rem; color: var(--muted); }
.breadcrumbs .container { display: flex; flex-wrap: wrap; gap: .55em; align-items: center; }
.breadcrumbs a { color: var(--muted); text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; }
.breadcrumbs a:hover { color: var(--violet); }
.breadcrumbs span[aria-hidden], .breadcrumbs > .container > span:not(:last-child) { color: var(--border-dark); }
.breadcrumbs > .container > span:last-child { color: var(--ink-soft); font-weight: 560; }

/* ============================================================================
   ARTICLE — the editorial guide template
   ========================================================================== */

/* ── reading progress spine (left side) ── */
.sp-spine {
  position: fixed; left: 0; top: 0; bottom: 0; width: 4px;
  background: rgba(139,92,246,.1); z-index: 1050;
  pointer-events: none;
}
.sp-spine i {
  display: block; width: 100%; height: 100%;
  background: linear-gradient(to bottom, var(--violet), var(--violet-glow));
  transform-origin: 0 0; transform: scaleY(0);
  will-change: transform;
}
.sp-spine .sp-pct {
  position: absolute; left: 12px; top: 50%;
  transform: translateY(-50%);
  font-family: var(--mono); font-size: 11px;
  letter-spacing: .15em; color: var(--violet);
  opacity: 0; transition: opacity .3s;
  white-space: nowrap;
}
.sp-spine.is-reading .sp-pct { opacity: 1; }
/* hide spine on non-article pages and on mobile */
body:not(.kind-page) .sp-spine { display: none; }
@media (max-width: 768px) { .sp-spine { display: none; } }

.article-header { padding: 2.6rem 0 2.2rem; position: relative; }
.article-header .container { max-width: 980px; position: relative; }
.article-header .folio {
  position: absolute; top: -1.4rem; right: clamp(1.1rem,4vw,2rem);
  font-family: var(--serif); font-style: italic; font-weight: 350;
  font-size: clamp(4rem, 9vw, 7rem); line-height: 1; color: var(--paper-deep);
  z-index: -1; user-select: none;
}
.article-header .kicker { margin-bottom: 1.15rem; }
.article-header h1 {
  font-family: var(--serif); font-weight: 620; font-optical-sizing: auto;
  font-size: clamp(2.1rem, 5.2vw, 3.7rem); line-height: 1.06; letter-spacing: -.015em;
  margin: 0 0 1.3rem; max-width: 21ch; text-wrap: balance;
}
.article-meta {
  display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1.15rem;
  font-size: .82rem; color: var(--muted); font-weight: 520;
}
.article-meta__item { display: inline-flex; align-items: center; gap: .45em; }
.article-meta__item svg { color: var(--violet); flex: none; }
.article-meta__divider { display: none; }
.article-header .header-rule {
  margin-top: 1.9rem; height: 3px; border: 0;
  background: linear-gradient(90deg, var(--violet) 0 64px, var(--border) 64px 100%);
}

/* featured image plate */
.article-featured-image { max-width: 980px; margin: 0 auto 1rem; padding: 0 clamp(1.1rem,4vw,2rem); }
.article-featured-image figure, .article-featured-image .plate { margin: 0; position: relative; }
.article-featured-image img {
  width: 100%; border-radius: var(--radius); border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
}
.article-featured-image figure::after {
  content: ""; position: absolute; inset: 0;
  border-radius: var(--radius);
  background: radial-gradient(ellipse at center, transparent 50%, rgba(22,19,31,.08) 100%);
  pointer-events: none;
}
.plate-caption {
  display: flex; align-items: center; gap: .7em; margin-top: .7rem;
  font-family: var(--mono); font-size: .72rem; letter-spacing: .14em;
  text-transform: uppercase; color: var(--muted);
}
.plate-caption::before { content: ""; width: 22px; height: 1px; background: var(--border-dark); }

/* in-brief (tldr) band */
.inbrief {
  max-width: 980px; margin: 1.4rem auto 0; padding: 0 clamp(1.1rem,4vw,2rem);
}
.inbrief-inner {
  background: var(--machine); color: var(--paper); border-radius: var(--radius);
  padding: 1.5rem 1.7rem 1.55rem; position: relative; overflow: clip;
  border: 1px solid rgba(139,92,246,.2);
}
.inbrief-inner::after {
  content: "¶"; position: absolute; right: 1.1rem; top: -0.5rem;
  font-family: var(--serif); font-style: italic; font-size: 5.2rem; line-height: 1;
  color: rgba(139,92,246,.16); pointer-events: none;
}
.inbrief-kicker {
  font-family: var(--mono); font-size: .7rem; font-weight: 700;
  letter-spacing: .24em; text-transform: uppercase;
  color: var(--violet-glow); margin-bottom: .55rem;
}
.inbrief-inner p { margin: 0; font-size: 1.02rem; line-height: 1.62; color: #EFE9DD; max-width: 62ch; }

/* article layout grid */
.article-layout {
  max-width: 980px; margin: 0 auto; padding: 2.2rem clamp(1.1rem,4vw,2rem) 3rem;
  display: grid; grid-template-columns: minmax(0,1fr) 264px; gap: 3.2rem;
  align-items: start;
}
.article-layout__main { min-width: 0; max-width: var(--max-w-article); }
.article-layout__sidebar { position: sticky; top: 96px; display: flex; flex-direction: column; gap: 1.1rem; }

/* ── article content typography ── */
.article-content { font-size: 1.055rem; line-height: 1.78; color: var(--ink-soft); }
.article-content > p:first-of-type { font-size: 1.17rem; line-height: 1.72; color: var(--ink); }
.article-content > p:first-of-type::first-letter {
  font-family: var(--serif); font-weight: 600; font-style: italic;
  font-size: 3.4em; line-height: .78; float: left; padding: .09em .12em 0 0;
  color: var(--violet);
}
.article-content h2, .article-content h3, .article-content h4 {
  font-family: var(--serif); color: var(--ink); line-height: 1.16;
  letter-spacing: -.01em; font-weight: 600; scroll-margin-top: 96px;
  text-wrap: balance;
}
.article-content h2 { font-size: 1.72rem; margin: 2.6em 0 .75em; position: relative; padding-top: 1.1rem; }
.article-content h2::before {
  content: ""; position: absolute; top: 0; left: 0; width: 44px; height: 3px;
  background: var(--violet);
}
.article-content h3 { font-size: 1.3rem; margin: 2em 0 .6em; }
.article-content h4 { font-size: 1.08rem; margin: 1.7em 0 .5em; }
.article-content p { margin: 0 0 1.25em; }
.article-content a { color: var(--violet-deep); text-decoration: underline; text-decoration-color: rgba(139,92,246,.34); text-decoration-thickness: 1.5px; transition: text-decoration-color .2s; }
.article-content a:hover { text-decoration-color: var(--violet); }
.article-content ul, .article-content ol { padding-left: 1.35em; margin: 0 0 1.35em; }
.article-content li { margin-bottom: .5em; }
.article-content li::marker { color: var(--violet); font-weight: 700; }
.article-content hr { border: 0; height: 1px; background: var(--border); margin: 2.4em 0; position: relative; overflow: visible; }
.article-content hr::after {
  content: "§"; position: absolute; top: -0.72em; left: 50%; transform: translateX(-50%);
  background: var(--paper); padding: 0 .8em; color: var(--border-dark);
  font-family: var(--serif); font-style: italic;
}
.article-content strong { color: var(--ink); font-weight: 680; }
.article-content code {
  background: var(--paper-warm); border: 1px solid var(--border); border-radius: 5px;
  padding: .1em .38em; font-size: .88em; font-family: var(--mono);
}
.article-content pre { background: var(--machine); color: #EFE9DD; border-radius: var(--radius-sm); padding: 1.1rem 1.3rem; overflow-x: auto; font-size: .88rem; border: 1px solid rgba(139,92,246,.15); }
.article-content pre code { background: none; border: 0; padding: 0; }
.article-content figure { margin: 2em 0; }
.article-content img { border-radius: var(--radius-sm); border: 1px solid var(--border); }
.article-content figcaption { font-size: .82rem; color: var(--muted); margin-top: .6rem; }

/* kinetic pull-quote (blockquotes) */
.article-content blockquote {
  margin: 2.2em 0; padding: .4em 0 .4em 1.6em; border-left: 3px solid var(--violet);
  font-family: var(--serif); font-style: italic; font-weight: 480;
  font-size: 1.28rem; line-height: 1.5; color: var(--ink); position: relative;
}
.article-content blockquote p { margin-bottom: .5em; }
.article-content blockquote strong { font-family: var(--sans); font-style: normal; font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: var(--violet); display: inline-block; margin-right: .5em; }
.article-content blockquote em { color: var(--violet-deep); }

/* dark data-band tables */
.article-content .table-band { margin: 2.2em 0; border-radius: var(--radius); background: var(--machine); padding: .5rem; box-shadow: var(--shadow-lg); overflow: hidden; border: 1px solid rgba(139,92,246,.15); }
.article-content .table-band .table-scroll { overflow-x: auto; border-radius: calc(var(--radius) - 4px); }
.article-content table { width: 100%; border-collapse: collapse; font-size: .92rem; background: var(--machine); color: #EFE9DD; }
.article-content table:not(.table-band table) { margin: 2em 0; }
.article-content th {
  text-align: left; font-family: var(--mono); font-size: .72rem; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase; color: var(--violet-glow);
  padding: .85rem 1rem; border-bottom: 1px solid rgba(239,233,221,.18); white-space: nowrap;
}
.article-content td { padding: .78rem 1rem; border-bottom: 1px solid rgba(239,233,221,.08); font-variant-numeric: tabular-nums; }
.article-content tr:last-child td { border-bottom: 0; }
.article-content tbody tr { transition: background .2s; }
.article-content tbody tr:hover { background: rgba(139,92,246,.07); }

/* ── shortcode boxes ── */
.key-takeaway {
  margin: 2em 0; padding: 1.25rem 1.45rem; border-radius: var(--radius-sm);
  background: var(--emerald-wash); border: 1px solid #CBE3D1; border-left: 4px solid var(--emerald);
  font-size: .98rem;
}
.key-takeaway strong { display: block; font-family: var(--mono); font-size: .74rem; letter-spacing: .18em; text-transform: uppercase; color: var(--emerald); margin-bottom: .45rem; }
.warning-box {
  margin: 2em 0; padding: 1.25rem 1.45rem; border-radius: var(--radius-sm);
  background: #FBF3E4; border: 1px solid #EBD9B4; border-left: 4px solid var(--gold);
  font-size: .98rem;
}
.warning-box strong { display: block; font-family: var(--mono); font-size: .74rem; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); margin-bottom: .45rem; }
.info-callout {
  margin: 2em 0; padding: 1.2rem 1.4rem; border-radius: var(--radius-sm);
  background: var(--indigo-wash); border: 1px solid #DCCBEE; border-left: 4px solid var(--violet);
  display: flex; gap: .85rem; font-size: .96rem;
}
.info-callout svg { flex: none; color: var(--violet); margin-top: .15em; }
.pull-quote {
  margin: 2.4em 0 !important; padding: 2.4rem 0 0 !important; border-left: 0 !important;
  font-size: clamp(1.5rem, 3vw, 1.9rem) !important; line-height: 1.35 !important;
  text-align: left; position: relative; border-top: 3px solid var(--violet);
}
.pull-quote::before {
  content: "\201C"; position: absolute; top: .3rem; left: -.08em;
  font-family: var(--serif); font-size: 4.2rem; font-weight: 640; line-height: 1;
  color: var(--violet-glow); font-style: normal;
}
.seo-cta-box, .cta-box {
  margin: 2.6em 0; padding: 2rem 2.1rem; border-radius: var(--radius);
  background: var(--machine); color: var(--paper); position: relative; overflow: clip;
  box-shadow: var(--shadow-lg); border: 1px solid rgba(139,92,246,.2);
}
.seo-cta-box::before, .cta-box::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(560px 240px at 88% -20%, rgba(139,92,246,.45), transparent 70%);
  pointer-events: none;
}
.seo-cta-box h3, .cta-box h3 { font-family: var(--serif); font-size: 1.5rem; color: var(--paper); margin: 0 0 .5rem; position: relative; }
.seo-cta-box p, .cta-box p { color: #CFC7B8; margin: 0 0 1.2rem; position: relative; }
.seo-cta-box .btn, .cta-box .btn { position: relative; }

/* comparison table */
.seo-comparison-table { margin: 2.2em 0; overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--border); background: #fff; }
.seo-comparison-table table { background: #fff; color: var(--ink); margin: 0 !important; }
.seo-comparison-table th { background: var(--machine); color: var(--violet-glow); }
.seo-comparison-table td { border-bottom: 1px solid var(--border); }
.seo-comparison-table tbody tr:hover { background: var(--paper-warm); }
.seo-comparison-table td:nth-child(2) { background: var(--indigo-wash); font-weight: 640; color: var(--ink); }

/* ── social share ── */
.social-share { display: flex; align-items: center; gap: .55rem; margin: 0 0 1.9rem; }
.article-layout__main > .social-share:last-of-type { margin: 2.2rem 0 1.6rem; }
.social-share__label { font-family: var(--mono); font-size: .72rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); margin-right: .3rem; }
.social-share__btn {
  width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%; border: 1.5px solid var(--border-dark); background: transparent; color: var(--ink-soft);
  cursor: pointer; transition: transform var(--transition), background var(--transition), color var(--transition), border-color var(--transition);
}
.social-share__btn:hover { background: var(--machine); border-color: var(--machine); color: var(--paper); transform: translateY(-3px); }

/* ── author card / bio ── */
.author-card {
  display: flex; gap: 1.1rem; align-items: flex-start; margin: 2.4rem 0 0;
  padding: 1.35rem 1.5rem; background: var(--paper-warm); border: 1px solid var(--border);
  border-radius: var(--radius);
}
.author-card__avatar { flex: none; }
.author-card__info h4 { margin: 0 0 .3rem; font-family: var(--serif); font-size: 1.05rem; }
.author-card__info p { margin: 0; font-size: .9rem; color: var(--muted); }
.author-bio {
  display: flex; gap: 1.3rem; margin: 1.6rem 0 0; padding: 1.7rem 1.8rem;
  background: linear-gradient(135deg, var(--indigo-wash), var(--paper-warm));
  border: 1px solid #E2D5F1; border-radius: var(--radius);
}
.author-bio__headshot { border-radius: 50%; width: 80px; height: 80px; object-fit: cover; border: 3px solid #fff; box-shadow: var(--shadow-md); }
.author-bio__heading { margin: 0 0 .2rem; font-family: var(--mono); font-size: .7rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--violet); }
.author-bio__name { margin: 0 0 .5rem; font-family: var(--serif); font-weight: 640; font-size: 1.25rem; color: var(--ink); }
.author-bio__description { margin: 0; font-size: .92rem; line-height: 1.66; color: var(--ink-soft); }

/* ── tags ── */
.tag-list { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.6rem; }
.tag {
  font-family: var(--mono); font-size: .74rem; font-weight: 600;
  color: var(--ink-soft); text-decoration: none;
  border: 1px solid var(--border-dark); border-radius: 999px; padding: .42rem .9rem;
  transition: all var(--transition); min-height: 32px; display: inline-flex; align-items: center;
  letter-spacing: .04em;
}
.tag:hover { background: var(--machine); color: var(--paper); border-color: var(--machine); transform: translateY(-2px); }

/* ── newsletter ── */
.newsletter-cta {
  margin: 2.6rem 0 0; padding: 2.1rem 2.2rem; border-radius: var(--radius);
  background: var(--machine); color: var(--paper); position: relative; overflow: clip;
  border: 1px solid rgba(139,92,246,.2);
}
.newsletter-cta::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(480px 220px at 12% -30%, rgba(139,92,246,.5), transparent 70%);
}
.newsletter-cta h3 { position: relative; font-family: var(--serif); font-size: 1.45rem; margin: 0 0 .4rem; }
.newsletter-cta p { position: relative; color: #CFC7B8; margin: 0 0 1.15rem; font-size: .95rem; }
.newsletter-form { position: relative; display: flex; gap: .6rem; flex-wrap: wrap; }
.newsletter-form input[type="email"] {
  flex: 1 1 220px; padding: .8rem 1.1rem; font-size: .95rem; font-family: var(--sans);
  border-radius: 999px; border: 1.5px solid rgba(239,233,221,.25); background: rgba(255,253,247,.07);
  color: var(--paper); min-height: 48px;
}
.newsletter-form input[type="email"]::placeholder { color: rgba(239,233,221,.45); }
.newsletter-form input[type="email"]:focus { outline: 2px solid var(--violet-glow); border-color: transparent; }
.newsletter-msg { position: relative; }

/* ── sidebar ── */
.sidebar-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 1.25rem 1.35rem; box-shadow: var(--shadow);
}
.sidebar-card h4 { margin: 0 0 .8rem; font-family: var(--mono); font-size: .72rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--ink); }
.sidebar-card ul { list-style: none; padding: 0; margin: 0; }
.sidebar-card li { margin-bottom: .55rem; font-size: .86rem; line-height: 1.45; }
.sidebar-card li a { color: var(--ink-soft); text-decoration: none; }
.sidebar-card li a:hover { color: var(--violet); }
#toc-sidebar { max-height: calc(100vh - 220px); overflow-y: auto; scrollbar-width: thin; }
#toc-sidebar nav ul { list-style: none; padding-left: 0; margin: 0; }
#toc-sidebar nav ul ul { padding-left: .85rem; margin-top: .35rem; border-left: 1px solid var(--border); }
#toc-sidebar nav li { margin-bottom: .45rem; font-size: .84rem; line-height: 1.4; }
#toc-sidebar nav a { color: var(--muted); text-decoration: none; display: block; padding: .1rem 0; border-left: 2px solid transparent; margin-left: -2px; transition: color .2s; }
#toc-sidebar nav a:hover { color: var(--ink); }
#toc-sidebar nav a.tocline-active { color: var(--violet); font-weight: 640; }
.sidebar-card--news { background: linear-gradient(135deg, var(--indigo-wash), #fff); border-color: #E2D5F1; }
.sidebar-card--news h4 { color: var(--violet); }
.sidebar-card--news .newsletter-form { display: block; }
.sidebar-card--news input[type="email"] {
  width: 100%; padding: .6rem .85rem; border: 1px solid #DCCBEE; border-radius: var(--radius-sm);
  font-size: .85rem; margin-bottom: .55rem; font-family: var(--sans); background: #fff; color: var(--ink); min-height: 44px;
}
.sidebar-card--cta { background: var(--machine); color: var(--paper); text-align: center; border-color: rgba(139,92,246,.2); position: relative; overflow: clip; }
.sidebar-card--cta::before { content: ""; position: absolute; inset: 0; background: radial-gradient(220px 160px at 50% -30%, rgba(139,92,246,.55), transparent 75%); }
.sidebar-card--cta h4 { color: var(--violet-glow); position: relative; }
.sidebar-card--cta p { position: relative; font-size: .88rem; color: #CFC7B8; margin: 0 0 1rem; }
.sidebar-card--cta .btn { position: relative; width: 100%; }

/* ── related grid + post cards ── */
.related-posts { background: var(--paper-warm); border-top: 1px solid var(--border); padding: 3.6rem 0 4.2rem; margin-top: 3rem; }
.related-posts h3 { font-family: var(--serif); font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 620; margin: 0 0 1.8rem; }
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.post-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  overflow: clip; display: flex; flex-direction: column; position: relative;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.post-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: rgba(139,92,246,.3); }
.post-card__header {
  position: relative; height: 116px; overflow: clip;
  background: linear-gradient(120deg, var(--machine) 0%, #1A162A 60%, #2E1845 100%);
  display: flex; align-items: flex-end; padding: .9rem 1.15rem;
}
.post-card__header--kdp-formatting { background: linear-gradient(120deg, var(--machine), #2E1A45 90%); }
.post-card__header--self-publishing { background: linear-gradient(120deg, var(--machine), #14361F 90%); }
.post-card__header--book-design { background: linear-gradient(120deg, var(--machine), #4A1D2B 90%); }
.post-card__header--marketing-sales { background: linear-gradient(120deg, var(--machine), #103146 90%); }
.post-card__header--tools-software { background: linear-gradient(120deg, var(--machine), #3B2A10 90%); }
.post-card__header--kindle-publishing { background: linear-gradient(120deg, var(--machine), #1E2A4A 90%); }
.post-card__header--ai-search { background: linear-gradient(120deg, var(--machine), #2A1445 90%); }
.post-card__header::after {
  content: "¶"; position: absolute; right: .6rem; top: -1.1rem;
  font-family: var(--serif); font-style: italic; font-size: 5.6rem; font-weight: 400;
  color: rgba(255,253,247,.07); line-height: 1;
}
.post-card__header-accent { position: absolute; left: 0; top: 0; bottom: 0; width: 5px; background: linear-gradient(var(--violet), var(--violet-glow)); }
.post-card__header-badge {
  position: relative; font-family: var(--mono); font-size: .69rem; font-weight: 700;
  letter-spacing: .18em; text-transform: uppercase; color: var(--violet-glow);
}
.post-card__body { padding: 1.15rem 1.25rem 1.3rem; display: flex; flex-direction: column; gap: .55rem; flex: 1; }
.post-card__meta { display: flex; align-items: center; gap: .7rem; font-size: .72rem; color: var(--muted); }
.post-card__category { color: var(--violet); font-family: var(--mono); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; font-size: .69rem; }
.post-card__title { margin: 0; font-family: var(--serif); font-size: 1.08rem; font-weight: 600; line-height: 1.3; }
.post-card__title a { color: var(--ink); text-decoration: none; }
.post-card__title a::after { content: ""; position: absolute; inset: 0; }
.post-card__title a:hover { color: var(--violet); }
.post-card__excerpt { margin: 0; font-size: .87rem; color: var(--muted); line-height: 1.55; }

/* ============================================================================
   GUIDES LIBRARY
   ========================================================================== */
.library-hero { padding: 7.2rem 0 2.4rem; position: relative; overflow: clip; }
.library-hero .container { position: relative; }
.library-hero .ghost {
  position: absolute; right: -1rem; top: -2.2rem; z-index: -1;
  font-family: var(--serif); font-style: italic; font-weight: 320;
  font-size: clamp(7rem, 20vw, 15rem); line-height: 1; color: var(--paper-deep); user-select: none;
  white-space: nowrap;
}
.library-hero h1 {
  font-family: var(--serif); font-weight: 640; letter-spacing: -.018em;
  font-size: clamp(2.6rem, 7vw, 5rem); line-height: .98; margin: 1rem 0 1.1rem; max-width: 16ch;
}
.library-hero h1 em { font-style: italic; color: var(--violet); font-weight: 480; }
.library-hero .lede { font-size: clamp(1rem, 1.6vw, 1.18rem); color: var(--muted); max-width: 56ch; margin: 0; }
.library-count { font-variant-numeric: tabular-nums; color: var(--violet); font-weight: 700; }

.library-bar {
  position: sticky; top: 72px; z-index: 900; background: var(--paper);
  border-block: 1px solid var(--border); padding: .7rem 0; margin-top: 2rem;
}
.library-bar .container { display: flex; gap: .9rem; align-items: center; flex-wrap: wrap; }
.library-search {
  flex: 1 1 240px; max-width: 340px; padding: .62rem 1rem .62rem 2.4rem; font-size: .9rem;
  border: 1.5px solid var(--border-dark); border-radius: 999px; background: #fff; color: var(--ink);
  font-family: var(--sans); min-height: 44px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='15' height='15' viewBox='0 0 24 24' fill='none' stroke='%236B6577' stroke-width='2.4'%3E%3Ccircle cx='11' cy='11' r='8'/%3E%3Cline x1='21' y1='21' x2='16.65' y2='16.65'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: .95rem 50%;
}
.library-filters { display: flex; gap: .45rem; flex-wrap: wrap; }
.filter-chip {
  font-family: var(--mono); font-size: .74rem; font-weight: 620;
  color: var(--ink-soft); background: transparent;
  border: 1.5px solid var(--border-dark); border-radius: 999px; padding: .5rem 1rem;
  cursor: pointer; transition: all var(--transition); min-height: 40px;
  letter-spacing: .04em;
}
.filter-chip:hover { border-color: var(--violet); color: var(--violet); transform: translateY(-1px); }
.filter-chip.active { background: var(--machine); color: var(--paper); border-color: var(--machine); }
.library-grid-wrap { padding: 2.2rem 0 3.4rem; }
.library-empty { padding: 3rem 0; text-align: center; color: var(--muted); display: none; }
.library-empty[data-visible="true"] { display: block; }

/* per-category shelf sections */
.library-section { padding: 2.4rem 0 1.2rem; scroll-margin-top: 140px; }
.library-section__header { display: flex; align-items: baseline; gap: 1rem; margin-bottom: 1.5rem; }
.library-section__index {
  font-family: var(--serif); font-style: italic; font-weight: 400;
  font-size: 1rem; color: var(--violet); font-variant-numeric: tabular-nums;
}
.library-section__title { font-family: var(--serif); font-weight: 620; font-size: clamp(1.5rem, 3vw, 2.1rem); margin: 0; letter-spacing: -.01em; }
.library-section__count { font-family: var(--mono); font-size: .78rem; color: var(--muted); white-space: nowrap; letter-spacing: .08em; }
.library-section__rule { flex: 1; height: 1px; background: var(--border-dark); align-self: center; min-width: 40px; }

/* pagination */
.pagination { list-style: none; display: flex; gap: .4rem; justify-content: center; padding: 0; margin: 2.6rem 0 0; flex-wrap: wrap; }
.pagination .page-item a, .pagination .page-item span {
  display: inline-flex; align-items: center; justify-content: center; min-width: 44px; height: 44px;
  padding: 0 .8rem; border-radius: 999px; border: 1.5px solid var(--border-dark);
  font-size: .88rem; font-weight: 620; color: var(--ink-soft); text-decoration: none; transition: all var(--transition);
}
.pagination .page-item a:hover { border-color: var(--violet); color: var(--violet); transform: translateY(-2px); }
.pagination .page-item.active span { background: var(--machine); color: var(--paper); border-color: var(--machine); }
.pagination .page-item.disabled span { opacity: .35; }

/* ============================================================================
   TOOLS
   ========================================================================== */
.tools-hero { padding: 7.2rem 0 2.6rem; }
.tools-hero h1 { font-family: var(--serif); font-weight: 640; font-size: clamp(2.4rem, 6vw, 4.4rem); line-height: 1; letter-spacing: -.015em; margin: 1rem 0 1rem; }
.tools-hero h1 em { color: var(--violet); font-weight: 480; }
.tools-hero p { color: var(--muted); max-width: 58ch; font-size: 1.08rem; margin: 0; }
.tools-showcase-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 1.4rem; padding: 2.4rem 0 4rem; }
.tool-showcase-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 1.7rem 1.6rem 1.6rem; display: flex; flex-direction: column; gap: .7rem; position: relative;
  overflow: clip; transition: transform var(--transition), box-shadow var(--transition);
}
.tool-showcase-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.tool-showcase-card::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: linear-gradient(90deg, var(--violet), var(--violet-glow)); transform: scaleX(0); transform-origin: 0 0; transition: transform .45s var(--ease-out); }
.tool-showcase-card:hover::before { transform: scaleX(1); }
.tool-icon { font-size: 1.9rem; line-height: 1; }
.tool-showcase-card h3 { margin: 0; font-family: var(--serif); font-size: 1.22rem; font-weight: 620; }
.tool-showcase-card h3 a { color: var(--ink); text-decoration: none; }
.tool-showcase-card h3 a::after { content: ""; position: absolute; inset: 0; }
.tool-showcase-card p { margin: 0; font-size: .9rem; color: var(--muted); flex: 1; }
.tool-cta { font-family: var(--mono); font-size: .82rem; font-weight: 700; color: var(--violet); letter-spacing: .06em; }

/* tool instrument panel */
.tool-panel {
  background: var(--machine); color: var(--paper); border-radius: var(--radius);
  padding: 1.9rem 2rem 2rem; margin: 2rem 0; box-shadow: var(--shadow-lg);
  position: relative; overflow: clip; border: 1px solid rgba(139,92,246,.2);
}
.tool-panel::before { content: ""; position: absolute; inset: 0; background: radial-gradient(600px 260px at 100% -30%, rgba(139,92,246,.4), transparent 70%); pointer-events: none; }
.tool-panel > * { position: relative; }
.tool-panel label { display: block; font-family: var(--mono); font-size: .72rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--violet-glow); margin: 1rem 0 .4rem; }
.tool-panel input, .tool-panel select {
  width: 100%; padding: .85rem 1rem; font-size: 1.05rem; font-family: var(--sans); font-weight: 600;
  background: rgba(255,253,247,.07); color: var(--paper); border: 1.5px solid rgba(239,233,221,.22);
  border-radius: var(--radius-sm); min-height: 50px;
}
.tool-panel select option { color: var(--ink); background: #fff; }
.tool-panel input:focus, .tool-panel select:focus { outline: 2px solid var(--violet-glow); border-color: transparent; }
.tool-panel .btn { margin-top: 1.3rem; }
.tool-result { font-variant-numeric: tabular-nums; }
.tool-result .res-num { font-family: var(--serif); font-weight: 640; font-size: clamp(2.2rem, 5vw, 3.2rem); color: var(--violet-glow); line-height: 1; }

/* ============================================================================
   GENERIC PAGE (about, privacy, terms, gdpr)
   ========================================================================== */
.page-hero { padding: 7.2rem 0 1.6rem; }
.page-hero h1 { font-family: var(--serif); font-weight: 640; font-size: clamp(2.2rem, 5.4vw, 3.6rem); line-height: 1.04; letter-spacing: -.015em; margin: 1rem 0 .9rem; max-width: 20ch; }
.page-hero .lede { color: var(--muted); font-size: 1.1rem; max-width: 60ch; margin: 0; }
.page-body { padding: 1.6rem 0 4rem; }
.page-body .article-content { max-width: var(--max-w-article); }

/* ── taxonomy terms cloud ── */
.terms-cloud { display: flex; flex-wrap: wrap; gap: .6rem; padding: 2rem 0 4rem; }
.terms-cloud .tag { font-size: .84rem; }
.terms-cloud .tag small { color: var(--muted); margin-left: .45em; font-weight: 500; }
.terms-cloud .tag:hover small { color: rgba(255,253,247,.7); }

/* ============================================================================
   404
   ========================================================================== */
.err-hero { min-height: 62vh; display: flex; align-items: center; padding: 7rem 0 3rem; }
.err-hero .ghost404 { font-family: var(--serif); font-style: italic; font-weight: 320; font-size: clamp(6rem, 22vw, 16rem); line-height: .9; color: var(--paper-deep); margin: 0; }
.err-hero h1 { font-family: var(--serif); font-size: clamp(1.8rem, 4vw, 2.8rem); margin: .4rem 0 1rem; }

/* ============================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1020px) {
  .article-layout { grid-template-columns: minmax(0,1fr); }
  .article-layout__sidebar { position: static; order: 2; }
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
}
/* ── touch target safety (WCAG 2.5.8: ≥ 44px) ── */
@media (pointer: coarse) {
  .article-content a,
  .tool-showcase-card h3 a,
  .page-body a { min-height: 44px; padding-block: .6rem; display: inline-flex; align-items: center; }
}
@media (max-width: 768px) {
  .blog-grid { grid-template-columns: 1fr; }
  .library-bar { top: 64px; }
  .breadcrumbs { padding-top: 5rem; }
  .article-header .folio { display: none; }
  .article-content { font-size: 1rem; }
  .article-layout { padding-top: 1.4rem; }
  .newsletter-form .btn { width: 100%; }
  .hscroll-track > * { width: 80vw; }
  .stat-display { font-size: clamp(3rem, 10vw, 5rem); }
  .reading-page { padding: 1.4rem; }
  .reading-engines { gap: .4rem; }
  .reading-engines .eng { font-size: .69rem; padding: .3rem .6rem; }
}


/* ================================================================
   LAYERING + TOUCH-TARGET HARDENING (mobile audit)
   ================================================================ */
.site-head { z-index: 1000; }
#mmenu { z-index: 1020; }
.burger { z-index: 1030; }
#cursor, #cursor-ring { z-index: 2000; }
#route-veil { z-index: 2500; }
#preloader { z-index: 3000; }
.site-foot a { padding: 12px 0; }
.foot-disclose a { padding: 0; }

/* ================================================================
   COURSES + AI LAB landing pages (gap-fix R3)
   ================================================================ */
#crs-hero { padding: clamp(140px, 18vh, 210px) 0 clamp(70px, 9vw, 120px); }
#crs-smb, #lab-tools { padding: clamp(90px, 11vw, 160px) 0; }
#crs-aid, #crs-free, #lab-assets { padding: clamp(90px, 11vw, 160px) 0; }
#crs-aid h2, #crs-free h2, #lab-assets h2 { font-size: clamp(34px, 4.6vw, 70px); margin-top: 18px; }
#lab-hero { padding: clamp(140px, 18vh, 210px) 0 clamp(70px, 9vw, 120px); }
#lab-hero .f-h1 em { color: var(--violet-glow); }
#lab-publishers { padding: 0 0 clamp(90px, 11vw, 160px); }
#lab-publishers .ai-audit-plate { margin-top: 0; }
.crs-modules { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: clamp(36px, 4vw, 56px); max-width: 1040px; }
.crs-modules .gt-chip { font-size: clamp(15px, 1.35vw, 19px); white-space: normal; color: rgba(255, 253, 247, 0.82); gap: 9px; }
.crs-modules .gt-chip .cat { color: #C4B5FD; }
@media (max-width: 820px) {
  .crs-modules { gap: 4px 16px; }
}

/* ================================================================
   INDIVIDUAL COURSE PAGES + AI AUDIT — WOW layouts
   ================================================================ */

/* -- shared course hero overrides -- */
#smb-hero, #aid-hero, #aud-hero {
  padding: clamp(150px, 20vh, 240px) 0 clamp(80px, 10vw, 140px);
  background: linear-gradient(180deg, var(--machine) 0%, var(--machine-2) 100%);
}
#smb-hero .f-h1 em, #aid-hero .f-h1 em, #aud-hero .f-h1 em { color: var(--violet-glow); }

/* -- paragraph sections -- */
.crs-para { padding: clamp(80px, 10vw, 140px) 0; }
.crs-para.world-machine { background: linear-gradient(180deg, var(--machine) 0%, var(--machine-2) 100%); }
.para-n {
  font-family: var(--serif); font-size: clamp(60px, 7vw, 100px); line-height: 1;
  color: rgba(22, 19, 31, 0.06); font-variant-numeric: tabular-nums;
  display: block; margin-bottom: -0.15em;
}
.world-machine .para-n { color: rgba(139, 92, 246, 0.12); }
.crs-body { max-width: 66ch; font-size: clamp(16px, 1.3vw, 18px); color: var(--ink-soft); margin-top: 20px; }
.world-machine .crs-body { color: rgba(255, 253, 247, 0.78); }

/* -- phase/module stack -- */
.phase-stack { margin-top: clamp(42px, 5vw, 66px); display: flex; flex-direction: column; gap: 0; }
.phase { border-top: 1px solid rgba(22, 19, 31, 0.12); padding: clamp(28px, 3vw, 44px) 0; }
.world-machine .phase,
.crs-para:not(.world-machine) .phase { border-top-color: rgba(22, 19, 31, 0.12); }
.phase:last-child { border-bottom: 1px solid rgba(22, 19, 31, 0.12); }
.phase-head { display: flex; align-items: baseline; gap: clamp(14px, 2vw, 28px); margin-bottom: 18px; }
.phase-n {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--violet-deep); white-space: nowrap; min-width: 70px;
}
.phase h3 { font-size: clamp(22px, 2vw, 32px); }
.phase-modules { display: flex; flex-wrap: wrap; gap: 8px 20px; padding-left: 0; }
.phase-mod {
  display: inline-flex; align-items: baseline; gap: 10px;
  font-size: clamp(14px, 1.1vw, 16px); color: var(--ink-soft); padding: 4px 0;
}
.mod-n {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em;
  color: var(--violet); font-weight: 600; flex: none;
}

/* -- pricing duo -- */
.price-duo {
  display: grid; grid-template-columns: 1fr 1fr; gap: 22px;
  margin-top: clamp(42px, 5vw, 66px); max-width: 900px;
}
.crs-price-card {
  display: flex; flex-direction: column; gap: 16px;
  background: rgba(255, 253, 247, 0.04); border: 1px solid rgba(255, 253, 247, 0.14);
  border-radius: 20px; padding: clamp(28px, 3vw, 44px);
}
.crs-price-card--featured { border-color: rgba(139, 92, 246, 0.5); background: rgba(139, 92, 246, 0.08); }
.crs-price {
  font-family: var(--serif); font-size: clamp(52px, 5vw, 80px); line-height: 1;
  font-variant-numeric: tabular-nums; letter-spacing: -0.02em; color: var(--paper);
}
.crs-price-note { font-family: var(--mono); font-size: 12px; letter-spacing: 0.1em; color: rgba(255, 253, 247, 0.5); }
.crs-price-body { font-size: 15px; color: rgba(255, 253, 247, 0.7); max-width: 36ch; }
.crs-price-list { display: flex; flex-direction: column; gap: 10px; font-size: 14.5px; color: rgba(255, 253, 247, 0.82); }
.crs-price-list li { padding-left: 22px; position: relative; }
.crs-price-list li::before { content: "✓"; position: absolute; left: 0; color: var(--ok); font-weight: 700; }

/* -- AI exercise grid -- */
.ai-exercise-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
  margin-top: clamp(42px, 5vw, 66px);
}
.ai-ex {
  background: rgba(255, 253, 247, 0.04); border: 1px solid rgba(139, 92, 246, 0.25);
  border-radius: 18px; padding: clamp(24px, 2.4vw, 36px);
  transition: border-color 0.3s, transform 0.3s var(--ease-out);
}
.ai-ex:hover { border-color: rgba(139, 92, 246, 0.6); transform: translateY(-5px); }
.ai-ex-n {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--violet-glow); display: block; margin-bottom: 12px;
}
.ai-ex h3 { font-size: clamp(18px, 1.5vw, 24px); margin-bottom: 10px; color: var(--paper); }
.ai-ex p { font-size: 14px; color: rgba(255, 253, 247, 0.7); }

/* -- bio grid -- */
.bio-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-top: clamp(36px, 4vw, 56px); }
.bio h3 { font-size: clamp(20px, 1.8vw, 28px); margin-bottom: 12px; }
.bio p { font-size: 15px; color: var(--ink-soft); line-height: 1.7; }

/* -- FAQ (course pages) -- */
.crs-faq-list { margin-top: clamp(36px, 4vw, 56px); max-width: 820px; }
.crs-faq { border-top: 1px solid rgba(22, 19, 31, 0.12); }
.crs-faq:last-child { border-bottom: 1px solid rgba(22, 19, 31, 0.12); }
.crs-faq--dark { border-top-color: rgba(255, 253, 247, 0.12); }
.crs-faq--dark:last-child { border-bottom-color: rgba(255, 253, 247, 0.12); }
.crs-faq summary {
  cursor: pointer; list-style: none; padding: 22px 0;
  font-family: var(--serif); font-size: clamp(18px, 1.6vw, 24px); font-weight: 560;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.crs-faq summary::-webkit-details-marker { display: none; }
.crs-faq summary::after { content: "+"; font-family: var(--mono); color: var(--violet); font-size: 18px; flex-shrink: 0; }
.crs-faq[open] summary::after { content: "−"; }
.crs-faq p { padding: 0 0 22px; max-width: 700px; font-size: 15px; color: var(--ink-soft); }
.crs-faq--dark summary { color: var(--paper); }
.crs-faq--dark p { color: rgba(255, 253, 247, 0.72); }

/* ================================================================
   AI AUDIT PAGE — specific components
   ================================================================ */

/* light diagnostics */
.diag-list--light { margin-top: clamp(46px, 5vw, 72px); }
.diag--light { display: flex; gap: clamp(22px, 3.5vw, 52px); padding: clamp(28px, 3.2vw, 44px) 0; border-top: 1px solid rgba(22, 19, 31, 0.12); }
.diag--light:last-child { border-bottom: 1px solid rgba(22, 19, 31, 0.12); }
.diag-n--light { font-family: var(--serif); font-size: clamp(34px, 3.8vw, 60px); line-height: 1; color: var(--violet-deep); flex: none; width: 1.6em; }
.diag--light h3 { font-size: clamp(22px, 2.2vw, 35px); margin: 10px 0 12px; }
.diag--light p { max-width: 780px; font-size: 15px; color: var(--ink-soft); }
.diag--light .mono-label { color: var(--violet-deep); }
.diag--light .link-plain { margin-top: 16px; display: inline-block; }

/* report grid */
.report-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
  margin-top: clamp(42px, 5vw, 66px);
}
.report-card {
  background: rgba(255, 253, 247, 0.04); border: 1px solid rgba(139, 92, 246, 0.22);
  border-radius: 18px; padding: clamp(24px, 2.4vw, 36px);
  transition: border-color 0.3s, transform 0.3s var(--ease-out);
}
.report-card:hover { border-color: rgba(139, 92, 246, 0.6); transform: translateY(-5px); }
.report-card-n {
  font-family: var(--mono); font-size: 12px; color: var(--violet-glow);
  display: block; margin-bottom: 14px;
}
.report-card h3 { font-size: clamp(18px, 1.5vw, 24px); margin-bottom: 10px; }
.report-card p { font-size: 14px; color: rgba(255, 253, 247, 0.7); }

/* security row */
.security-row {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px;
  margin-top: clamp(42px, 5vw, 66px);
}
.sec-item h3 { font-size: clamp(17px, 1.4vw, 22px); margin-bottom: 10px; }
.sec-item p { font-size: 14px; color: rgba(255, 253, 247, 0.68); }

/* service ladder */
.ladder-list { margin-top: clamp(42px, 5vw, 66px); max-width: 820px; }
.ladder-step {
  display: grid; grid-template-columns: 80px 1fr auto; gap: clamp(16px, 2vw, 28px);
  align-items: center; padding: clamp(18px, 2vw, 28px) 0;
  border-top: 1px solid rgba(22, 19, 31, 0.12);
}
.ladder-step:last-child { border-bottom: 1px solid rgba(22, 19, 31, 0.12); }
.ladder-price {
  font-family: var(--serif); font-size: clamp(20px, 1.8vw, 28px); line-height: 1;
  color: var(--violet-deep); font-variant-numeric: tabular-nums;
}
.ladder-step h3 { font-size: clamp(16px, 1.3vw, 20px); margin-bottom: 4px; }
.ladder-step p { font-size: 13.5px; color: var(--muted); margin: 0; }

/* -- audit page sections -- */
#aud-steps { padding: clamp(90px, 11vw, 160px) 0; }
#aud-steps h2 { font-size: clamp(34px, 4.6vw, 70px); margin-top: 18px; }
#aud-report { padding: clamp(90px, 11vw, 160px) 0; }
#aud-report h2 { font-size: clamp(30px, 3.6vw, 58px); margin-top: 18px; }
#aud-data { padding: clamp(90px, 11vw, 160px) 0; }
#aud-data h2 { font-size: clamp(34px, 4.6vw, 70px); margin-top: 18px; }
#aud-security { padding: clamp(70px, 8vw, 120px) 0; }
#aud-security h2 { font-size: clamp(28px, 3vw, 48px); margin-top: 18px; }
#aud-next { padding: clamp(90px, 11vw, 160px) 0; }
#aud-next h2 { font-size: clamp(34px, 4.6vw, 70px); margin-top: 18px; }
#aud-cta { padding: clamp(90px, 11vw, 160px) 0; }
#aud-cta h2 { font-size: clamp(34px, 4.6vw, 70px); }

/* ================================================================
   RESPONSIVE — course + audit pages
   ================================================================ */
@media (max-width: 1080px) {
  .ai-exercise-grid, .report-grid { grid-template-columns: 1fr 1fr; }
  .security-row { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 820px) {
  .price-duo { grid-template-columns: 1fr; }
  .ai-exercise-grid, .report-grid { grid-template-columns: 1fr; }
  .bio-grid { grid-template-columns: 1fr; }
  .security-row { grid-template-columns: 1fr; }
  .ladder-step { grid-template-columns: 70px 1fr; }
  .ladder-step .link-plain { grid-column: 2; }
  .diag--light { flex-direction: column; gap: 10px; }
  .diag-n--light { width: auto; }
  .phase-head { flex-direction: column; gap: 6px; }
}
