/* Black Dossier Publishing: new look (prototype). Indigo night, bone paper, one moving light. */

@font-face { font-family: 'Cormorant'; src: url('/assets/fonts/cormorant-garamond-latin-300-normal.woff2') format('woff2'); font-weight: 300; font-style: normal; font-display: swap; }
@font-face { font-family: 'Cormorant'; src: url('/assets/fonts/cormorant-garamond-latin-400-normal.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Cormorant'; src: url('/assets/fonts/cormorant-garamond-latin-500-normal.woff2') format('woff2'); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: 'Cormorant'; src: url('/assets/fonts/cormorant-garamond-latin-600-normal.woff2') format('woff2'); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: 'Cormorant'; src: url('/assets/fonts/cormorant-garamond-latin-300-italic.woff2') format('woff2'); font-weight: 300; font-style: italic; font-display: swap; }
@font-face { font-family: 'Cormorant'; src: url('/assets/fonts/cormorant-garamond-latin-400-italic.woff2') format('woff2'); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: 'Jost'; src: url('/assets/fonts/jost-latin-300-normal.woff2') format('woff2'); font-weight: 300; font-style: normal; font-display: swap; }
@font-face { font-family: 'Jost'; src: url('/assets/fonts/jost-latin-400-normal.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Jost'; src: url('/assets/fonts/jost-latin-500-normal.woff2') format('woff2'); font-weight: 500; font-style: normal; font-display: swap; }

:root {
  --night: #0D0821;
  --indigo: #140C2E;
  --violet: #1E1347;
  --bone: #ECE6D9;
  --bone-dim: rgba(236, 230, 217, 0.74);
  --bone-faint: rgba(236, 230, 217, 0.16);
  --paper-text: #1E1347;
  --paper-dim: #4B4566;
  --paper-line: rgba(30, 19, 71, 0.22);
  --magenta: #E0287A;
  --gold: #C9A24B;
  --serif: 'Cormorant', 'Cormorant Garamond', Garamond, 'Times New Roman', serif;
  --sans: 'Jost', 'Helvetica Neue', Arial, sans-serif;
  --gutter: clamp(20px, 5vw, 72px);
  --measure: 62ch;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--night); color: var(--bone); font-family: var(--sans); font-weight: 400; font-size: 17px; line-height: 1.65; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img { max-width: 100%; display: block; }
p { margin: 0; }
h1, h2, h3 { margin: 0; font-family: var(--serif); font-weight: 300; line-height: 1.04; letter-spacing: 0.005em; text-wrap: balance; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }
.skip { position: absolute; left: 12px; top: -64px; z-index: 100; background: var(--bone); color: var(--violet); padding: 12px 18px; text-decoration: none; }
.skip:focus { top: 12px; }

.wrap { max-width: 1240px; margin: 0 auto; padding-inline: var(--gutter); }

/* Section tones. One padding rule, so nothing fights it. */
.band { padding-block: clamp(72px, 9vw, 140px); }
.on-bone { background: var(--bone); color: var(--paper-text); }
.on-night { background: transparent; }
.on-violet { background: rgba(30, 19, 71, 0.62); }

/* ---------- Type ---------- */
.display { font-size: clamp(44px, 6.4vw, 96px); letter-spacing: -0.005em; }
.h2 { font-size: clamp(36px, 4.4vw, 64px); }
.h3 { font-size: clamp(28px, 2.6vw, 38px); font-weight: 400; }
.note { font-size: 15px; color: var(--bone-dim); }
.on-bone .note { color: var(--paper-dim); }
.italic { font-style: italic; font-weight: 300; }
.lead { font-size: clamp(18px, 1.5vw, 20px); color: var(--bone-dim); max-width: 56ch; }
.on-bone .lead { color: var(--paper-dim); }
.textlink { font-size: 16px; text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1px; }
.textlink:hover { color: var(--gold); }
.on-bone .textlink:hover { color: var(--magenta); }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 2px; min-height: 60px; padding: 8px 28px; font-family: var(--sans); font-weight: 500; font-size: 17px; letter-spacing: 0.02em; text-decoration: none; border: 1px solid transparent; border-radius: 0; cursor: pointer; transition: background-color .2s ease, color .2s ease, border-color .2s ease, box-shadow .2s ease; }
.btn small { font-weight: 300; font-size: 12.5px; letter-spacing: 0.04em; opacity: 0.8; }
.btn-solid { background: var(--bone); color: var(--violet); }
.btn-solid:hover { background: #fff; box-shadow: 0 0 40px rgba(224, 40, 122, 0.35); }
.btn-line { background: transparent; color: var(--bone); border-color: rgba(236, 230, 217, 0.45); }
.btn-line:hover { border-color: var(--bone); }
.btn-ink { background: var(--violet); color: var(--bone); }
.btn-ink:hover { background: #2B1D66; }
.btn-ink-line { background: transparent; color: var(--violet); border-color: rgba(30, 19, 71, 0.45); }
.btn-ink-line:hover { border-color: var(--violet); }
.btn.is-center { align-items: center; text-align: center; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Header ---------- */
.top { position: fixed; inset: 0 0 auto 0; z-index: 50; transition: background-color .3s ease, border-color .3s ease, backdrop-filter .3s ease; border-bottom: 1px solid transparent; }
.top.is-solid { background: rgba(13, 8, 33, 0.82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom-color: var(--bone-faint); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-block: 16px; }
.brand { display: block; line-height: 0; }
.brand .full { height: 46px; width: auto; }
.brand .mark { display: none; height: 40px; width: auto; }
.nav { display: flex; align-items: center; gap: clamp(16px, 2.6vw, 38px); }
.nav a:not(.btn) { font-size: 16px; text-decoration: none; padding: 10px 0; color: var(--bone-dim); }
.nav a:not(.btn):hover { color: var(--bone); }
.nav .btn { min-height: 46px; padding: 0 22px; font-size: 15px; flex-direction: row; align-items: center; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; padding-block: 120px 72px; overflow: hidden; isolation: isolate;
  background:
    radial-gradient(ellipse 62% 90% at 6% 108%, rgba(224, 40, 122, 0.52) 0%, rgba(224, 40, 122, 0) 62%),
    radial-gradient(ellipse 52% 80% at 100% 0%, rgba(96, 62, 214, 0.5) 0%, rgba(96, 62, 214, 0) 66%),
    linear-gradient(180deg, #0D0821 0%, #140C2E 100%); }
.hero::before { content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(circle 420px at var(--mx, 70%) var(--my, 40%), rgba(224, 40, 122, 0.30), rgba(120, 70, 255, 0.14) 45%, rgba(0, 0, 0, 0) 72%);
  mix-blend-mode: screen; transition: opacity .4s ease; }
.hero::after { content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: 0.07;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 .9 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>"); }
.hero .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 48px 64px; width: 100%; }
.hero-text { flex: 999 1 540px; min-width: 0; display: flex; flex-direction: column; gap: 22px; }
.hero-text .dossier { font-family: var(--serif); font-style: italic; font-size: 22px; color: var(--bone-dim); }
.hero h1 { font-size: clamp(42px, 5vw, 78px); }
.hero h1 .soft { display: block; font-style: italic; color: var(--bone-dim); font-size: 0.6em; margin-top: 0.35em; }
.book-title { font-family: var(--serif); font-style: italic; font-size: clamp(20px, 1.7vw, 24px); color: var(--bone); }
.hero .lead { max-width: 52ch; }
.hero .buy { display: flex; flex-direction: column; gap: 14px; }
.hero .rule { height: 1px; width: 100%; max-width: 560px; background: var(--gold); transform-origin: left center; animation: draw 1.6s cubic-bezier(.2, .7, .1, 1) .3s both; }
@keyframes draw { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.credit { font-size: 15px; color: var(--bone-dim); max-width: 52ch; }
.cover { flex: 1 1 280px; max-width: 360px; width: 100%; margin: 0; perspective: 1200px; }
.cover a { display: block; transition: transform .25s ease-out; transform: rotateY(var(--ry, 0deg)) rotateX(var(--rx, 0deg)); transform-style: preserve-3d; }
.cover img { width: 100%; height: auto; box-shadow: 0 0 0 1px rgba(236, 230, 217, 0.12), 0 40px 90px rgba(0, 0, 0, 0.6), -30px 30px 120px rgba(224, 40, 122, 0.28); }
.cover figcaption { margin-top: 18px; font-size: 14px; color: var(--bone-dim); }
@media (prefers-reduced-motion: reduce) { .hero .rule { animation: none; } .cover a { transition: none; transform: none; } }

/* ---------- Proof ---------- */
.proof .wrap { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; }
.proof .statement { font-family: var(--serif); font-weight: 400; font-size: clamp(28px, 3.6vw, 52px); line-height: 1.16; max-width: 26em; text-wrap: balance; }
.proof .statement.second { font-size: clamp(22px, 2.5vw, 34px); color: var(--paper-dim); max-width: 30em; }
.proof .source a { font-size: inherit; text-underline-offset: 3px; }
.proof .support { max-width: var(--measure); color: var(--paper-dim); font-size: 18px; }
.proof .source { font-size: 14px; color: var(--paper-dim); border-top: 1px solid var(--paper-line); padding-top: 16px; max-width: var(--measure); }

/* ---------- Threats: a typographic index, no cards ---------- */
.threats .head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px 64px; margin-bottom: clamp(40px, 5vw, 72px); }
.threats .head .h2 { flex: 999 1 520px; max-width: 16em; }
.threats .head p { flex: 1 1 320px; max-width: 42ch; color: var(--bone-dim); }
.index { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--bone-faint); }
.index li { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 12px 48px; align-items: baseline; padding: 30px 0; border-bottom: 1px solid var(--bone-faint); position: relative; transition: padding-left .3s ease; }
.index li::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 1px; background: var(--magenta); opacity: 0; box-shadow: 0 0 22px 2px rgba(224, 40, 122, 0.7); transition: opacity .3s ease; }
.index li:hover { padding-left: 24px; }
.index li:hover::before { opacity: 1; }
.index h3 { font-size: clamp(30px, 3.2vw, 46px); font-weight: 400; }
.index p { color: var(--bone-dim); max-width: 46ch; }
@media (max-width: 760px) { .index li { grid-template-columns: minmax(0, 1fr); } }
@media (prefers-reduced-motion: reduce) { .index li, .index li::before { transition: none; } }

/* ---------- Inside the manual ---------- */
.inside .wrap { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 48px clamp(40px, 7vw, 110px); }
.inside .intro { display: flex; flex-direction: column; gap: 22px; align-self: start; }
.inside .intro p { color: var(--paper-dim); }
.rows { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--paper-line); }
.rows li { padding: 26px 0; border-bottom: 1px solid var(--paper-line); }
.rows h3 { font-size: 30px; font-weight: 500; margin-bottom: 6px; }
.rows p { color: var(--paper-dim); max-width: 52ch; }
@media (max-width: 860px) { .inside .wrap { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Audience ---------- */
.audience .head { margin-bottom: clamp(36px, 4vw, 64px); max-width: 18em; }
.audience .cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 40px 48px; }
.audience .cols > div { border-top: 1px solid var(--bone-faint); padding-top: 22px; display: flex; flex-direction: column; gap: 12px; }
.audience h3 { font-size: 30px; font-weight: 400; line-height: 1.08; }
.audience p { color: var(--bone-dim); }

/* ---------- Author ---------- */
.author { overflow: hidden; }
.author .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 48px 88px; }
.author figure { flex: 1 1 300px; max-width: 440px; margin: 0; position: relative; }
.author figure::after { content: ''; position: absolute; inset: auto -24px -24px auto; width: 70%; height: 70%; z-index: 0; background: radial-gradient(closest-side, rgba(224, 40, 122, 0.35), rgba(224, 40, 122, 0)); pointer-events: none; }
.author figure img { position: relative; z-index: 1; width: 100%; height: auto; }
.author .text { flex: 999 1 460px; min-width: 0; display: flex; flex-direction: column; gap: 22px; }
.author .bio { font-size: 19px; color: var(--bone-dim); max-width: 56ch; }
.facts { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; font-family: var(--serif); font-size: 22px; font-style: italic; }

/* ---------- Quotes ---------- */
.quotes .head { margin-bottom: clamp(36px, 4vw, 60px); }
.quotes .list { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 48px 56px; }
.quotes figure { margin: 0; border-top: 1px solid var(--paper-line); padding-top: 26px; display: flex; flex-direction: column; gap: 22px; justify-content: space-between; }
.quotes blockquote { margin: 0; font-family: var(--serif); font-style: italic; font-weight: 400; font-size: clamp(24px, 2.2vw, 30px); line-height: 1.28; }
.quotes figcaption { font-size: 15px; color: var(--paper-dim); }

/* ---------- Books ---------- */
.books .head { margin-bottom: clamp(36px, 4vw, 64px); display: flex; flex-direction: column; gap: 14px; }
.books .head .h2 { max-width: 16em; }
.shelf { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 0; border-top: 1px solid var(--bone-faint); }
.shelf article { padding: 34px 36px 36px 0; display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.shelf article + article { border-left: 1px solid var(--bone-faint); padding-left: 36px; }
.shelf .kicker { font-family: var(--serif); font-style: italic; font-size: 20px; color: var(--bone-dim); }
.shelf h3 { font-size: clamp(34px, 3.2vw, 46px); font-weight: 400; }
.shelf .sub { font-family: var(--serif); font-style: italic; font-size: 20px; color: var(--bone); }
.shelf .desc { color: var(--bone-dim); flex-grow: 1; }
.shelf .editions { font-size: 14px; line-height: 1.7; color: var(--bone-dim); border-top: 1px solid var(--bone-faint); padding-top: 14px; }
.shelf .editions a:hover { color: var(--gold); }
.shelf .soon { opacity: 0.9; }
@media (max-width: 860px) { .shelf article, .shelf article + article { border-left: 0; padding-left: 0; padding-right: 0; border-top: 1px solid var(--bone-faint); } .shelf article:first-child { border-top: 0; } }

/* ---------- Signup ---------- */
.signup { position: relative; overflow: hidden; isolation: isolate;
  background:
    radial-gradient(ellipse 70% 120% at 100% 100%, rgba(224, 40, 122, 0.50) 0%, rgba(224, 40, 122, 0) 60%),
    radial-gradient(ellipse 60% 100% at 0% 0%, rgba(96, 62, 214, 0.55) 0%, rgba(96, 62, 214, 0) 65%),
    linear-gradient(180deg, #170E36 0%, #0F0826 100%); }
.signup .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 44px 88px; }
.signup .copy { flex: 999 1 460px; min-width: 0; display: flex; flex-direction: column; gap: 22px; }
.signup .copy p { max-width: 50ch; color: var(--bone-dim); font-size: 19px; }
.form { flex: 1 1 340px; max-width: 460px; width: 100%; display: flex; flex-direction: column; gap: 12px; }
.form label { font-size: 15px; color: var(--bone-dim); }
.form input { height: 56px; padding: 0 16px; width: 100%; font: 400 17px var(--sans); color: var(--violet); background: var(--bone); border: 1px solid var(--bone); border-radius: 0; }
.form input:focus { outline: 2px solid var(--gold); outline-offset: 2px; }
.form .btn { margin-top: 10px; width: 100%; }
.form .fine { font-size: 14px; color: var(--bone-dim); }
.form .fine a { text-underline-offset: 3px; }

/* ---------- Press ---------- */
.press .wrap { display: flex; flex-wrap: wrap; gap: 40px 88px; }
.press .copy { flex: 999 1 460px; min-width: 0; display: flex; flex-direction: column; gap: 22px; }
.press .copy p { color: var(--bone-dim); max-width: 56ch; font-size: 19px; }
.press .recent { flex: 1 1 320px; min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.press .item { display: flex; flex-direction: column; gap: 4px; text-decoration: none; border-top: 1px solid var(--bone-faint); border-bottom: 1px solid var(--bone-faint); padding: 20px 0; }
.press .item strong { font-family: var(--serif); font-weight: 400; font-size: 28px; }
.press .item:hover strong { color: var(--gold); }

/* ---------- Footer ---------- */
.foot { background: #070416; border-top: 1px solid var(--bone-faint); padding-block: 48px; }
.foot .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 28px 48px; align-items: flex-start; }
.foot .about { flex: 1 1 320px; display: flex; flex-direction: column; gap: 14px; }
.foot .about img { height: 56px; width: auto; align-self: flex-start; }
.foot .about p { font-size: 14px; color: var(--bone-dim); max-width: 52ch; }
.foot nav { display: flex; flex-wrap: wrap; gap: 6px 26px; }
.foot nav a { font-size: 15px; color: var(--bone-dim); text-decoration: none; padding: 8px 0; }
.foot nav a:hover { color: var(--bone); }

/* ---------- Phones ---------- */
@media (max-width: 820px) {
  .top .wrap { gap: 12px; }
  .nav .btn { padding: 0 16px; min-height: 42px; font-size: 14px; }
  .nav a:not(.btn) { display: none; }
  .brand .full { display: none; }
  .brand .mark { display: block; }
  .hero { padding-block: 120px 72px; align-items: flex-start; }
  .hero .wrap { gap: 48px; }
  .cover { max-width: 300px; }
}
@media (hover: none) { .hero::before { display: none; } }


/* ---------- The night out: one light layer behind the dark sections, shifting as you scroll ---------- */
#atmos { position: fixed; inset: 0; z-index: 0; pointer-events: none; background-color: rgb(var(--b, 13 8 33));
  background-image:
    radial-gradient(ellipse 70% 80% at var(--p1x, 8%) var(--p1y, 100%), var(--c1, rgba(224,40,122,.30)), transparent 70%),
    radial-gradient(ellipse 60% 70% at var(--p2x, 92%) var(--p2y, 0%), var(--c2, rgba(214,120,60,.16)), transparent 70%),
    radial-gradient(ellipse 55% 60% at var(--p3x, 100%) var(--p3y, 45%), var(--c3, rgba(96,62,214,.30)), transparent 72%); }
#atmos::after { content: ''; position: absolute; inset: 0; opacity: .06;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 .9 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>"); }
main, .foot { position: relative; z-index: 1; }
.top { z-index: 50; }
/* Slate in the corner: a clock that runs from dusk to dawn as you read, and the name of the scene. */
#slate { position: fixed; left: clamp(16px, 2.4vw, 36px); bottom: clamp(14px, 2vw, 28px); z-index: 40; pointer-events: none; mix-blend-mode: difference; color: #fff;
  font: 400 12px/1.3 var(--sans); letter-spacing: .18em; text-transform: uppercase; display: flex; gap: 14px; align-items: baseline; opacity: 0; transition: opacity .8s ease; }
#slate.on { opacity: .8; }
#slate .t { font-variant-numeric: tabular-nums; font-size: 15px; letter-spacing: .1em; }
@media (max-width: 1099px) { #slate { display: none; } }


/* ---------- Opening: the screen splits to black bars and opens on the hero. Once, then gone. ---------- */
#curtain { position: fixed; inset: 0; z-index: 90; pointer-events: none; animation: curtain-gone 0s linear 1.9s forwards; }
#curtain i { position: absolute; left: 0; right: 0; height: 50.5%; background: #05030f; }
#curtain i:first-child { top: 0; animation: bar-up 1.5s cubic-bezier(.77, 0, .18, 1) .35s forwards; }
#curtain i:last-child { bottom: 0; animation: bar-down 1.5s cubic-bezier(.77, 0, .18, 1) .35s forwards; }
@keyframes bar-up { to { transform: translateY(-100%); } }
@keyframes bar-down { to { transform: translateY(100%); } }
@keyframes curtain-gone { to { visibility: hidden; } }
.hero-text > * { animation: in-focus 1.2s ease-out both; }
.hero-text > :nth-child(1) { animation-delay: .9s; } .hero-text > :nth-child(2) { animation-delay: 1.05s; }
.hero-text > :nth-child(n+3) { animation-delay: 1.3s; }
@keyframes in-focus { from { opacity: 0; filter: blur(6px); } to { opacity: 1; filter: blur(0); } }
@media (prefers-reduced-motion: reduce) { #curtain { display: none; } .hero-text > * { animation: none; } }

/* ---------- Last call: the closing scene ---------- */
.finale { padding-block: clamp(96px, 13vw, 200px); }
.finale .wrap { display: flex; flex-direction: column; gap: 28px; max-width: 1100px; }
.finale .display { font-size: clamp(44px, 7vw, 108px); max-width: 13em; text-wrap: balance; }
.finale .rule { height: 1px; width: 100%; max-width: 420px; background: var(--gold); transform-origin: left center; transform: scaleX(0); transition: transform 1.6s cubic-bezier(.2, .7, .1, 1); }
.finale.in .rule { transform: scaleX(1); }
.finale .buy { display: flex; flex-direction: column; gap: 16px; margin-top: 8px; }
@media (prefers-reduced-motion: reduce) { .finale .rule { transform: none; transition: none; } }

/* ---------- Buy bar: appears once the hero buttons have scrolled away ---------- */
#buybar { position: fixed; right: clamp(16px, 2.4vw, 36px); bottom: clamp(14px, 2vw, 28px); z-index: 45; display: flex; align-items: center; gap: 18px; padding: 10px 10px 10px 22px;
  background: rgba(13, 8, 33, 0.82); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border: 1px solid rgba(236, 230, 217, 0.22);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.5), 0 0 40px rgba(224, 40, 122, 0.18);
  transform: translateY(24px); opacity: 0; visibility: hidden; transition: transform .5s cubic-bezier(.2, .7, .1, 1), opacity .4s ease, visibility 0s linear .5s; }
#buybar.on { transform: none; opacity: 1; visibility: visible; transition-delay: 0s; }
#buybar .t { font-family: var(--serif); font-style: italic; font-size: 19px; color: var(--bone-dim); white-space: nowrap; }
#buybar .btn { min-height: 48px; padding: 0 22px; flex-direction: row; align-items: center; font-size: 16px; white-space: nowrap; }
@media (max-width: 640px) {
  #buybar { left: 0; right: 0; bottom: 0; padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px)); border-width: 1px 0 0; gap: 0; }
  #buybar .t { display: none; }
  #buybar .btn { width: 100%; justify-content: center; min-height: 54px; }
}


/* ---------- Inner pages: checklist, thanks, privacy ---------- */
.sub-hero { position: relative; isolation: isolate; padding-block: clamp(128px, 14vw, 190px) clamp(64px, 8vw, 120px);
  background:
    radial-gradient(ellipse 62% 90% at 6% 108%, rgba(224, 40, 122, 0.46) 0%, rgba(224, 40, 122, 0) 62%),
    radial-gradient(ellipse 52% 80% at 100% 0%, rgba(96, 62, 214, 0.5) 0%, rgba(96, 62, 214, 0) 66%),
    linear-gradient(180deg, #0D0821 0%, #140C2E 100%); }
.sub-hero .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 48px 72px; max-width: 1100px; }
.sub-hero .copy { flex: 999 1 460px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.sub-hero h1 { font-size: clamp(40px, 5.2vw, 76px); text-wrap: balance; }
.sub-hero h1 .soft { display: block; font-style: italic; color: var(--bone-dim); font-size: 0.62em; margin-top: 0.3em; }
.sub-hero .form { flex: 1 1 340px; max-width: 440px; padding: clamp(24px, 3vw, 36px); background: rgba(13, 8, 33, 0.55); border: 1px solid var(--bone-faint); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.sub-hero .form h2 { font-size: 32px; margin-bottom: 6px; }
.tag { font-size: 14px; color: var(--bone-dim); letter-spacing: 0.04em; }
.ticks { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.ticks li { position: relative; padding-left: 28px; color: var(--bone-dim); font-size: 18px; }
.ticks li::before { content: ''; position: absolute; left: 0; top: 0.72em; width: 14px; height: 1px; background: var(--gold); }
.phases { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--paper-line); }
.phase { padding: 28px clamp(0px, 2vw, 28px) 12px 0; display: flex; flex-direction: column; gap: 12px; }
.phase + .phase { padding-left: clamp(0px, 2vw, 28px); border-left: 1px solid var(--paper-line); }
.phase .kicker { font-family: var(--serif); font-style: italic; font-size: 20px; color: var(--paper-dim); }
.phase h3 { font-size: clamp(28px, 2.4vw, 36px); }
.phase ul { margin: 0; padding-left: 18px; display: flex; flex-direction: column; gap: 8px; color: var(--paper-dim); font-size: 17px; }
@media (max-width: 860px) { .phases { grid-template-columns: minmax(0, 1fr); } .phase + .phase { padding-left: 0; border-left: 0; border-top: 1px solid var(--paper-line); } }
.sub-band .wrap { max-width: 1100px; }
.why .wrap { display: flex; flex-direction: column; gap: 40px; max-width: 1100px; }
.why .statement { font-family: var(--serif); font-weight: 300; font-size: clamp(28px, 3.4vw, 48px); line-height: 1.18; max-width: 26em; text-wrap: balance; }
.why .source { font-size: 14px; color: var(--bone-dim); border-top: 1px solid var(--bone-faint); padding-top: 16px; max-width: var(--measure); }
.why .source a { text-underline-offset: 3px; }
.author-mini { display: flex; align-items: center; gap: 20px; max-width: 560px; }
.author-mini img { width: 84px; height: 84px; border-radius: 50%; object-fit: cover; flex: none; box-shadow: 0 0 0 1px var(--bone-faint); }
.author-mini strong { font-family: var(--serif); font-weight: 400; font-size: 24px; }
.author-mini p { color: var(--bone-dim); font-size: 16px; line-height: 1.5; margin-top: 4px; }
.cta-band { text-align: center; }
.cta-band .wrap { display: flex; flex-direction: column; align-items: center; gap: 28px; max-width: 900px; }
.cta-band h2 { font-size: clamp(36px, 4.6vw, 64px); }
.pair { display: flex; flex-wrap: wrap; align-items: center; gap: 40px 72px; max-width: 1100px; }
.pair .cover { flex: 0 1 280px; max-width: 280px; }
.pair .cover img { width: 100%; height: auto; box-shadow: 0 0 0 1px rgba(30, 19, 71, 0.15), 0 30px 70px rgba(30, 19, 71, 0.35); }
.pair .copy { flex: 999 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.pair .copy p { font-size: 19px; color: var(--paper-dim); max-width: 52ch; }
.policy .wrap { max-width: 800px; display: flex; flex-direction: column; gap: 20px; }
.policy h1 { font-size: clamp(40px, 5vw, 64px); }
.policy h2 { font-size: 32px; margin-top: 28px; }
.policy p, .policy li { color: var(--paper-dim); font-size: 18px; }
.policy ul { margin: 0; padding-left: 22px; display: flex; flex-direction: column; gap: 8px; }
.policy a { text-underline-offset: 3px; }
.foot.slim .wrap { align-items: center; }
.foot.slim p { font-size: 14px; }
.top.keep { background: #0D0821; border-bottom-color: var(--bone-faint); }
