/* ============================================================================
   SEPP SAGT — sales page, "Flamme" edition (2026-10).
   index.html only. The old candle burns between two books that open like a
   gate around it. Black-brown, honey gold, ember, one sheet of warm paper.
   ============================================================================ */

@font-face { font-family: "Cormorant"; src: url("/assets/fonts/cormorant.woff2") format("woff2"); font-weight: 300 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Cormorant"; src: url("/assets/fonts/cormorant-italic.woff2") format("woff2"); font-weight: 300 700; font-style: italic; font-display: swap; }
@font-face { font-family: "Instrument Sans"; src: url("/assets/fonts/instrument-sans.woff2") format("woff2"); font-weight: 400 700; font-style: normal; font-display: swap; }

:root {
  --ink: #0b0705;
  --ink-2: #140d08;
  --ink-3: #1e140c;
  --line: rgba(240, 189, 98, 0.28);
  --line-soft: rgba(251, 243, 228, 0.1);
  --bone: #fff6e6;
  --bone-2: rgba(255, 246, 230, 0.8);
  --bone-3: rgba(255, 246, 230, 0.56);
  --gold: #f0bd62;
  --gold-hi: #ffe1a0;
  --gold-lo: #b0742c;
  --ember: 255, 146, 52;
  --flame: #ff8f3a;
  --paper: #f6e7c8;
  --paper-ink: #24160b;
  --paper-accent: #a7461a;
  --gilt: linear-gradient(180deg, #fff3d0 0%, #ffd37c 38%, #f0a849 68%, #c1772c 100%);
  --display: "Cormorant", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --sans: "Instrument Sans", "Segoe UI", system-ui, sans-serif;
  --wrap: 1180px;
  --gutter: 20px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --spring: cubic-bezier(.34, 1.4, .5, 1);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { background: var(--ink); -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--ink); color: var(--bone);
  font: 400 17px/1.6 var(--sans); letter-spacing: 0.005em;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
::selection { background: var(--gold); color: var(--ink); }
:focus-visible { outline: 2px solid var(--gold-hi); outline-offset: 3px; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding-inline: var(--gutter); }

.grain {
  position: fixed; inset: 0; pointer-events: none; z-index: 60; opacity: 0.07; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
}
/* scroll progress: a thin flame line along the top */
.progress { position: fixed; z-index: 70; top: 0; left: 0; right: 0; height: 2px; transform-origin: 0 50%; transform: scaleX(var(--sp, 0));
  background: linear-gradient(90deg, var(--gold-lo), var(--gold-hi), var(--flame)); box-shadow: 0 0 12px rgba(var(--ember), .8); pointer-events: none; }
/* candlelight that follows the hand (desktop) */
.torch { position: fixed; z-index: 1; top: 0; left: 0; width: 760px; height: 760px; margin: -380px 0 0 -380px; pointer-events: none;
  background: radial-gradient(closest-side, rgba(var(--ember), .13), rgba(var(--ember), .05) 45%, transparent 75%);
  opacity: 0; transition: opacity .6s ease; will-change: transform; }
.torch.is-on { opacity: 1; }

/* ---------- type ---------- */
.eyebrow {
  font: 600 11px/1.2 var(--sans); letter-spacing: 0.3em; text-transform: uppercase; color: var(--gold);
  margin: 0; display: inline-flex; align-items: center; gap: 12px;
}
.eyebrow.rule::before { content: ""; width: 28px; height: 1px; background: linear-gradient(90deg, transparent, currentColor); }
.display { font-family: var(--display); font-weight: 500; letter-spacing: -0.015em; line-height: 0.94; margin: 0; }
.display em, .gilt {
  font-style: italic; font-weight: 500;
  background: linear-gradient(100deg, #c9842f 0%, #ffd37c 30%, #fff6dc 46%, #ffd37c 60%, #f0a849 80%, #c9842f 100%);
  background-size: 260% 100%; background-position: 100% 0;
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  padding-right: .06em;
  animation: gleam 7s ease-in-out infinite;
}
@keyframes gleam { 0%, 100% { background-position: 100% 0; } 50% { background-position: 0% 0; } }
h2.display { font-size: clamp(42px, 6vw, 76px); text-wrap: balance; }
.lede { font-family: var(--display); font-style: italic; font-size: clamp(21px, 2.3vw, 27px); line-height: 1.32; color: var(--bone-2); margin: 0; }

/* ---------- price ---------- */
.price-row { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 16px; }
.price { margin: 0; display: flex; align-items: baseline; gap: 14px; }
.price-now {
  font: 600 clamp(50px, 6vw, 68px)/1 var(--display); letter-spacing: -0.01em; font-variant-numeric: lining-nums tabular-nums; display: inline-block;
  background: var(--gilt); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 22px rgba(var(--ember), .35));
}
.price-was { position: relative; font: 500 25px/1 var(--display); color: var(--bone-2); text-decoration: none; font-variant-numeric: lining-nums; }
.price-was::after { content: ""; position: absolute; left: -3px; right: -3px; top: 52%; height: 2px; background: var(--flame); box-shadow: 0 0 8px rgba(var(--ember), .9); transform: rotate(-6deg); }
.tag {
  font: 700 10.5px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--ink);
  padding: 8px 11px; border-radius: 99px; background: var(--gold); box-shadow: 0 0 18px -2px rgba(var(--ember), .6);
}

/* ---------- buttons: hot gold that glows ---------- */
.cta {
  --h: 62px;
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  width: 100%; max-width: 440px; min-height: var(--h); padding: 0 30px;
  font: 700 13px/1 var(--sans); letter-spacing: 0.16em; text-transform: uppercase; text-decoration: none;
  border-radius: 99px; cursor: pointer; border: 0;
  transform: translate3d(var(--mx, 0), var(--my, 0), 0);
  transition: transform .45s var(--spring), box-shadow .35s ease, filter .25s ease, background-color .3s;
}
.cta.primary {
  color: #2a1505;
  background:
    radial-gradient(120px 60px at var(--gx, 50%) var(--gy, 0%), rgba(255, 255, 240, .75), transparent 70%),
    linear-gradient(180deg, #ffe9b0 0%, #ffc864 42%, #f29a3a 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 252, 235, 0.9), inset 0 -2px 0 rgba(150, 70, 10, 0.35),
    0 0 0 1px rgba(255, 210, 130, 0.5),
    0 14px 36px -10px rgba(var(--ember), 0.9), 0 0 60px -6px rgba(var(--ember), 0.55);
  animation: glow 2.8s ease-in-out infinite;
}
.cta.primary::after { /* light that crosses the gold */
  content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 40%; z-index: 1; pointer-events: none;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.8), transparent);
  transform: skewX(-20deg); animation: shine 4.5s ease-in-out infinite 1s;
}
.cta.primary:hover { filter: brightness(1.06) saturate(1.1); }
.cta .arrow { font-family: var(--display); font-size: 24px; letter-spacing: 0; transition: transform .3s var(--spring); }
.cta:hover .arrow { transform: translateX(6px); }
.cta.ghost { color: var(--bone); background: rgba(255, 246, 230, 0.04); border: 1px solid var(--line); --h: 52px; }
.cta.ghost:hover { border-color: var(--gold); color: var(--ink); background-color: var(--gold); box-shadow: 0 0 36px -6px rgba(var(--ember), .7); }
@keyframes glow {
  0%, 100% { box-shadow: inset 0 1px 0 rgba(255,252,235,.9), inset 0 -2px 0 rgba(150,70,10,.35), 0 0 0 1px rgba(255,210,130,.4), 0 14px 36px -10px rgba(var(--ember),.8), 0 0 44px -8px rgba(var(--ember),.45); }
  50% { box-shadow: inset 0 1px 0 rgba(255,252,235,.9), inset 0 -2px 0 rgba(150,70,10,.35), 0 0 0 1px rgba(255,220,150,.75), 0 16px 48px -8px rgba(var(--ember),1), 0 0 90px -2px rgba(var(--ember),.75); }
}
@keyframes shine { 0%, 55% { left: -60%; } 100% { left: 130%; } }

.assure { margin: 14px 0 0; font-size: 13.5px; color: var(--bone-3); letter-spacing: .01em; }
.assure b { color: var(--bone); font-weight: 600; }
.links { display: flex; flex-wrap: wrap; gap: 6px 22px; margin-top: 14px; font-size: 14.5px; }
.links a { color: var(--bone-2); text-decoration: none; background: linear-gradient(var(--gold), var(--gold)) 0 100% / 100% 1px no-repeat; padding-bottom: 3px; transition: color .2s, background-size .35s var(--ease); }
.links a:hover { color: var(--gold-hi); background-size: 0 1px; background-position: 100% 100%; }

/* ============================================================================
   HERO
   ============================================================================ */
.hero { position: relative; isolation: isolate; overflow: hidden; min-height: 100svh; display: flex; flex-direction: column; --p: 0; }
.hero-bg { position: absolute; inset: 0; z-index: -2; background: var(--ink); overflow: hidden; }
/* the film is sized so the flame (44% / 50% of the frame) lands on --fy, between the books */
.film {
  --fw: max(440vw, 1500px);
  position: absolute; width: var(--fw); aspect-ratio: 16 / 9;
  left: calc(50% - var(--fw) * 0.4375); top: calc(var(--fy, 340px) - var(--fw) * 0.28125);
  transform: scale(calc(1 + var(--p) * 0.12)); transform-origin: 43.75% 50%;
  filter: saturate(1.35) contrast(1.12) brightness(1.08);
}
.film img, .film video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; max-width: none; }
.film video { opacity: 0; transition: opacity 1.2s ease; }
.film video.is-on { opacity: 1; }
.hero-bg::after { /* dark top for the title, dark bottom for price + button, warm edges */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(70% 50% at 50% var(--fy, 340px), transparent 30%, rgba(11,7,5,.55) 100%),
    linear-gradient(180deg, rgba(11,7,5,.7) 0%, rgba(11,7,5,.15) 22%, rgba(11,7,5,0) 46%, rgba(11,7,5,.5) 68%, rgba(11,7,5,.9) 84%, var(--ink) 100%);
}
.flare { /* the flame breathes even before the video arrives */
  position: absolute; left: 50%; top: var(--fy, 340px); width: 90vmin; height: 90vmin; margin: -45vmin 0 0 -45vmin; z-index: 1;
  background: radial-gradient(closest-side, rgba(255, 190, 110, .32), rgba(var(--ember), .12) 40%, transparent 70%);
  mix-blend-mode: screen; pointer-events: none; animation: breathe 3.1s ease-in-out infinite;
}
@keyframes breathe { 0%, 100% { opacity: .75; transform: scale(1); } 23% { opacity: 1; transform: scale(1.05); } 41% { opacity: .82; } 63% { opacity: .97; transform: scale(1.02); } }
.motes { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 2; opacity: 0; transition: opacity 2s ease; pointer-events: none; }
.motes.is-on { opacity: 1; }

.topbar { position: relative; z-index: 5; }
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; height: 60px; }
.mark { font: 600 12px/1 var(--sans); letter-spacing: .34em; text-transform: uppercase; text-decoration: none; color: var(--bone); }
.mark span { color: var(--gold); }
.topbar-link { font-size: 13.5px; color: var(--bone); text-decoration: none; padding: 8px 14px; border: 1px solid var(--line); border-radius: 99px; background: rgba(11,7,5,.35); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); transition: background .25s, color .25s; }
.topbar-link:hover { background: var(--gold); color: var(--ink); }

.hero-inner { position: relative; z-index: 3; flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding-bottom: 34px; }
.hero .eyebrow { margin-top: 2px; color: var(--gold-hi); }
.hero h1 {
  font-size: clamp(44px, 12.4vw, 116px); margin-top: 10px; text-wrap: balance; color: var(--bone);
  text-shadow: 0 2px 30px rgba(0,0,0,.55);
  transform: translateY(calc(var(--p) * -40px)); opacity: calc(1 - var(--p) * .9);
}
.hero h1 em { display: inline-block; text-shadow: none; filter: drop-shadow(0 0 26px rgba(var(--ember), .45)); }
.hero-buy { display: grid; justify-items: center; }
.hero-buy .price-row { justify-content: center; }
.hero-buy .cta { margin-top: 14px; }
.hero-buy .links { justify-content: center; }
.scroll-cue { display: none; }

/* ---------- the books: a gate around the flame ---------- */
.stage {
  --bw: clamp(124px, 39vw, 230px);   /* book width, front cover */
  --gap: calc(var(--bw) * 0.17);
  position: relative; width: 100%; height: calc(var(--bw) * 1.49 + 40px); margin: 22px auto 12px;
  perspective: 1600px; perspective-origin: 50% 35%;
  pointer-events: none;
}
.stage .book3d { position: absolute; bottom: 26px; left: 50%; }
.stage .book3d.one { margin-left: calc(-1 * (var(--gap) + var(--bw))); --ry0: 24deg; --dir: 1; --lx: 100%; z-index: 2; }
.stage .book3d.two { margin-left: var(--gap); --ry0: -24deg; --dir: -1; --lx: 0%; --delay: -3.4s; z-index: 2; }
.stage::after { /* pool of flame light on the desk under the books */
  content: ""; position: absolute; left: 50%; bottom: 0; width: calc(var(--bw) * 3); height: 70px; transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(var(--ember), .38), rgba(var(--ember), .1) 55%, transparent 80%); filter: blur(6px); z-index: 0;
  animation: breathe 3.1s ease-in-out infinite;
}

.book3d {
  --w: var(--bw, 148px);
  --t: calc(var(--w) * 0.1);         /* thickness */
  --h: calc(var(--w) * 1.4903);
  --ry0: 26deg; --rx0: -3deg; --delay: 0s; --dir: 1; --lx: 100%;
  width: var(--w); height: var(--h);
  transform-style: preserve-3d;
  animation: float 6s ease-in-out infinite var(--delay);
}
.book3d .sway { position: absolute; inset: 0; transform-style: preserve-3d; animation: sway 9s ease-in-out infinite var(--delay); }
.book3d .body {
  position: absolute; inset: 0; transform-style: preserve-3d;
  transform:
    translateX(calc(var(--dir) * var(--p, 0) * -34px))
    rotateX(calc(var(--rx0) + var(--tx, 0deg)))
    rotateY(calc(var(--ry0) + var(--ty, 0deg) + var(--dir) * var(--p, 0) * 14deg));
  transition: transform .8s var(--ease);
}
.book3d .face { position: absolute; display: block; backface-visibility: hidden; }
.book3d .front { inset: 0; width: 100%; height: 100%; transform: translateZ(calc(var(--t) / 2)); border-radius: 1px 3px 3px 1px; object-fit: cover; max-width: none; }
.book3d .shade { inset: 0; transform: translateZ(calc(var(--t) / 2 + 0.5px)); border-radius: 1px 3px 3px 1px; pointer-events: none; overflow: hidden;
  /* hinge crease + flame light from the inner side + a little gloss */
  background:
    linear-gradient(90deg, rgba(0,0,0,.5) 0, rgba(255,255,255,.14) 2.2%, rgba(0,0,0,.2) 3.6%, transparent 7%),
    radial-gradient(90% 70% at var(--lx) 35%, rgba(255, 170, 80, .34), transparent 70%),
    linear-gradient(180deg, rgba(255,255,255,.06), transparent 30%, rgba(0,0,0,.28) 100%);
  animation: flicker 3.1s steps(1, end) infinite var(--delay);
}
.book3d .shade::before { /* specular gloss that follows the hand */
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(60% 40% at var(--gx, 30%) var(--gy, 22%), rgba(255, 250, 235, .3), rgba(255, 240, 210, .08) 45%, transparent 70%);
  transition: background-position .6s;
}
.book3d .shade::after { /* a band of light crossing the foil */
  content: ""; position: absolute; top: -20%; bottom: -20%; width: 40%; left: -60%;
  background: linear-gradient(100deg, transparent, rgba(255, 228, 170, .22) 42%, rgba(255, 255, 245, .55) 50%, rgba(255, 228, 170, .22) 58%, transparent);
  transform: skewX(-14deg); animation: sheen 6.5s ease-in-out infinite var(--delay);
}
.book3d .back { inset: 0; width: 100%; height: 100%; background: #120c08; transform: rotateY(180deg) translateZ(calc(var(--t) / 2)); }
.book3d .spine { top: 0; height: 100%; width: var(--t); left: calc(50% - var(--t) / 2); max-width: none; object-fit: cover;
  transform: rotateY(-90deg) translateZ(calc(var(--w) / 2)); filter: brightness(.85) saturate(1.2); }
.book3d .pages { top: 2.5px; height: calc(100% - 5px); width: calc(var(--t) - 2px); left: calc(50% - var(--t) / 2 + 1px);
  transform: rotateY(90deg) translateZ(calc(var(--w) / 2 - 3px));
  background: linear-gradient(90deg, rgba(0,0,0,.3), transparent 30%), linear-gradient(0deg, rgba(255,160,70,.25), transparent 60%), repeating-linear-gradient(90deg, #f6e9cc 0 1px, #d9c39a 1px 2px); }
.book3d .top { left: 0; width: calc(100% - 3px); height: var(--t); top: calc(50% - var(--t) / 2);
  transform: rotateX(90deg) translateZ(calc(var(--h) / 2 - 1px));
  background: repeating-linear-gradient(0deg, #f1e3c3 0 1px, #cfb88f 1px 2px); }
.book3d .ground { /* contact shadow, outside the 3D body */
  position: absolute; left: -10%; right: -10%; bottom: -14px; height: 26px;
  background: radial-gradient(closest-side, rgba(0,0,0,.9), transparent); filter: blur(6px);
  transform: translateZ(-1px); animation: ground 6s ease-in-out infinite var(--delay);
}
.book3d .glow { /* flame rim light behind the book */
  position: absolute; inset: -14% -24%; z-index: -1;
  background: radial-gradient(closest-side at var(--lx) 45%, rgba(var(--ember), .42), transparent 72%);
  filter: blur(14px); transform: translateZ(-40px); animation: breathe 3.1s ease-in-out infinite;
}

@keyframes float { 0%, 100% { transform: translate3d(0, 0, 0); } 50% { transform: translate3d(0, -12px, 0); } }
@keyframes ground { 0%, 100% { opacity: 1; transform: scaleX(1); } 50% { opacity: .65; transform: scaleX(.88); } }
@keyframes sway { 0%, 100% { transform: rotateY(-6deg) rotateZ(-.6deg); } 50% { transform: rotateY(8deg) rotateZ(.6deg); } }
@keyframes sheen { 0%, 50% { left: -60%; } 100% { left: 130%; } }
@keyframes flicker { 0% { opacity: 1; } 14% { opacity: .82; } 22% { opacity: 1; } 39% { opacity: .76; } 46% { opacity: .95; } 68% { opacity: .85; } 77% { opacity: 1; } }

/* entrance: books rise out of the dark and turn in */
.motion .stage .book3d { opacity: 0; }
.motion .stage.in .book3d { animation: enter 1.6s var(--ease) forwards, float 6s ease-in-out infinite calc(var(--delay) + 1.6s); }
.motion .stage.in .book3d.two { animation-delay: .16s, calc(var(--delay) + 1.76s); }
@keyframes enter { from { opacity: 0; transform: translate3d(0, 60px, -160px) rotateY(calc(var(--dir) * -40deg)); } to { opacity: 1; transform: none; } }

/* ============================================================================
   TICKER — big words, outlined and gilt
   ============================================================================ */
.ticker { position: relative; overflow: hidden; padding: 26px 0 30px; border-block: 1px solid var(--line-soft); background: var(--ink); }
.ticker-track { display: flex; align-items: center; gap: .32em; width: max-content; font: italic 500 clamp(64px, 12vw, 176px)/1 var(--display); letter-spacing: -0.02em; white-space: nowrap; will-change: transform; }
.ticker-track span { color: var(--bone); }
.ticker-track span:not(.o) { background: var(--gilt); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.ticker-track .o { color: transparent; -webkit-text-stroke: 1.2px rgba(255, 225, 160, .7); }
.ticker-track i { width: .16em; height: .16em; flex: none; background: var(--flame); transform: rotate(45deg); box-shadow: 0 0 20px rgba(var(--ember), .9); }

/* ============================================================================
   SECTIONS
   ============================================================================ */
.section { position: relative; padding: 96px 0; }
.section + .section::before { content: ""; position: absolute; top: 0; left: 50%; width: min(120px, 30%); height: 1px; transform: translateX(-50%); background: linear-gradient(90deg, transparent, var(--line), transparent); }
.head { display: grid; gap: 16px; justify-items: center; text-align: center; margin-bottom: 48px; }

/* singles */
.singles { display: grid; gap: 18px; }
.single {
  position: relative; display: grid; grid-template-columns: 112px 1fr; gap: 22px; align-items: center; overflow: hidden;
  padding: 26px 22px; border: 1px solid var(--line-soft); border-radius: 22px;
  background: radial-gradient(120% 120% at 0% 0%, rgba(var(--ember), .14), transparent 55%), linear-gradient(160deg, #22160d, #140d08);
  transition: border-color .4s ease, transform .6s var(--spring), box-shadow .5s ease;
}
.single::after { /* light that follows the hand inside the card */
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .4s;
  background: radial-gradient(260px circle at var(--cx, 50%) var(--cy, 50%), rgba(255, 190, 110, .16), transparent 70%);
}
.single:hover::after { opacity: 1; }
.singles .single:hover, .motion .singles.in .single:hover { border-color: var(--line); transform: translateY(-6px); box-shadow: 0 34px 70px -30px rgba(0,0,0,.9), 0 0 70px -30px rgba(var(--ember), .6); }
.single .mini { height: calc(112px * 1.49 + 10px); position: relative; perspective: 1200px; }
.single .mini .book3d { --w: 104px; --ry0: 26deg; position: absolute; bottom: 8px; left: 4px; }
.single:hover .book3d { --ty: -16deg; }
.single h3 { font: 600 27px/1.05 var(--display); margin: 0 0 8px; }
.single p { margin: 0 0 14px; color: var(--bone-2); font-size: 15px; line-height: 1.5; }
.single .p { display: flex; align-items: baseline; gap: 10px; margin-bottom: 14px; }
.single .p b { font: 600 34px/1 var(--display); background: var(--gilt); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.single .p s { color: var(--bone-3); font-size: 15px; }
.single .cta { --h: 48px; max-width: 220px; font-size: 11.5px; letter-spacing: .1em; padding: 0 18px; white-space: nowrap; }

/* ---------- the paper sheet ---------- */
.paper {
  position: relative; z-index: 2; margin: 0 clamp(8px, 1.4vw, 20px); border-radius: 28px; overflow: hidden;
  background:
    radial-gradient(90% 60% at 50% 0%, rgba(255, 255, 255, .55), transparent 60%),
    radial-gradient(70% 50% at 100% 100%, rgba(232, 160, 80, .25), transparent 70%),
    var(--paper);
  color: var(--paper-ink);
  box-shadow: 0 -30px 80px -40px rgba(var(--ember), .45);
}
.paper::before { /* paper fibre */
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='p'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.6' numOctaves='3'/%3E%3CfeColorMatrix values='0 0 0 0 0.55 0 0 0 0 0.4 0 0 0 0 0.25 0 0 0 0.18 0'/%3E%3C/filter%3E%3Crect width='220' height='220' filter='url(%23p)'/%3E%3C/svg%3E");
}
.paper .section + .section::before { background: linear-gradient(90deg, transparent, rgba(36, 22, 11, .25), transparent); }
.paper .eyebrow { color: var(--paper-accent); }
.paper .display em, .paper .quote blockquote em {
  background: linear-gradient(100deg, #7a2e0e 0%, #c4561c 35%, #e88a3a 50%, #c4561c 65%, #7a2e0e 100%);
  background-size: 260% 100%; -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}

/* quote */
.quote { text-align: center; padding: 120px 0 100px; }
.quote .mark-q { display: block; font: italic 600 160px/0.6 var(--display); color: var(--paper-accent); opacity: .9; margin-bottom: 4px; }
.quote blockquote { margin: 0 auto; max-width: 14em; font: italic 500 clamp(36px, 5.8vw, 74px)/1.04 var(--display); color: var(--paper-ink); text-wrap: balance; letter-spacing: -0.01em; }
.quote cite { display: block; margin-top: 28px; font: 700 11px/1 var(--sans); letter-spacing: .3em; text-transform: uppercase; color: var(--paper-accent); font-style: normal; }

/* mirror */
.mirror { max-width: 780px; margin: 0 auto; text-align: center; }
.mirror h2 { color: var(--paper-ink); }
.mirror ul { list-style: none; margin: 40px 0 0; padding: 0; display: grid; gap: 0; counter-reset: m; }
.mirror li { position: relative; font: 500 clamp(23px, 2.7vw, 30px)/1.28 var(--display); color: rgba(36, 22, 11, .86); padding: 22px 0; border-top: 1px solid rgba(36, 22, 11, .14); transition: color .3s, padding .4s var(--ease); }
.mirror li:last-child { border-bottom: 1px solid rgba(36, 22, 11, .14); }
.mirror li:hover { color: var(--paper-accent); }
.mirror .turn { margin: 40px 0 0; font: italic 600 clamp(28px, 3.4vw, 40px)/1.15 var(--display); color: var(--paper-accent); text-wrap: balance; }

/* voices: a slow moving band */
.voices { position: relative; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.voices-track { display: flex; gap: 18px; width: max-content; padding: 6px 0; }
.motion .voices-track { animation: marquee 60s linear infinite; }
.voices:hover .voices-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(calc(-50% - 9px)); } }
.voice { width: min(340px, 78vw); margin: 0; padding: 26px 24px; border: 1px solid var(--line-soft); border-radius: 22px; background: linear-gradient(160deg, #22160d, #140d08); display: flex; flex-direction: column; justify-content: space-between; gap: 20px; transition: border-color .3s, transform .5s var(--spring); }
.voice:hover { border-color: var(--line); transform: translateY(-4px) rotate(-.6deg); }
.voice blockquote { margin: 0; font: italic 500 23px/1.3 var(--display); color: var(--bone); }
.voice figcaption { display: flex; align-items: center; gap: 10px; font-size: 13.5px; color: var(--bone-3); }
.voice figcaption img { width: 32px; height: 32px; border-radius: 50%; object-fit: cover; filter: sepia(.25); }
.voice .who { color: var(--bone-2); }
.voice .stars { margin-left: auto; color: var(--gold); letter-spacing: 2px; font-size: 12px; text-shadow: 0 0 10px rgba(var(--ember), .6); }
.voice .stars .off { color: var(--bone-3); opacity: .4; text-shadow: none; }

/* laws */
.laws-wrap { display: grid; gap: 40px; }
.laws { list-style: none; margin: 0; padding: 0; }
.laws li { position: relative; display: grid; grid-template-columns: 74px 1fr; gap: 14px; align-items: baseline; padding: 20px 0; border-top: 1px solid var(--line-soft); font: 500 clamp(22px, 2.4vw, 27px)/1.28 var(--display); color: var(--bone); transition: color .3s; }
.laws li::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; background: linear-gradient(90deg, var(--flame), var(--gold-hi), transparent); transform: scaleX(0); transform-origin: 0 50%; transition: transform .6s var(--ease); }
.laws li:hover::after { transform: scaleX(1); }
.laws li:hover { color: var(--gold-hi); }
.laws li:last-child { border-bottom: 1px solid var(--line-soft); }
.laws .n { font: italic 600 40px/1 var(--display); background: var(--gilt); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; transition: transform .5s var(--spring); display: inline-block; }
.laws li:hover .n { transform: translateX(6px) scale(1.12); }
.laws .more { color: var(--bone-3); font-style: italic; }

/* author */
.author { display: grid; gap: 28px; justify-items: center; text-align: center; max-width: 660px; margin: 0 auto; }
.monogram { width: 86px; height: 86px; filter: drop-shadow(0 0 16px rgba(var(--ember), .45)); }
.monogram circle { fill: none; stroke: var(--gold); stroke-width: .9; }
.monogram .ring-inner { stroke-opacity: .5; }
.monogram text { font-family: var(--display); font-style: italic; fill: var(--gold-hi); text-anchor: middle; dominant-baseline: middle; }
.author p { margin: 0; font: 500 clamp(22px, 2.4vw, 27px)/1.42 var(--display); color: var(--bone-2); }
.author .sign { font: italic 600 40px/1 var(--display); color: var(--gold-hi); margin-top: 6px; }
.author .persona-note { font: 400 13px/1.5 var(--sans); color: var(--bone-3); }

/* final offer */
.offer { position: relative; max-width: 700px; margin: 0 auto; text-align: center; display: grid; justify-items: center; gap: 0; overflow: hidden;
  padding: 56px 24px 46px; border: 1px solid var(--line); border-radius: 30px;
  background: radial-gradient(90% 55% at 50% 22%, rgba(var(--ember), .32), transparent 65%), linear-gradient(180deg, #24170d, #110b07);
  box-shadow: 0 50px 120px -40px rgba(0,0,0,.95), 0 0 120px -50px rgba(var(--ember), .7);
}
.offer::before { /* a slow ring of light around the card edge */
  content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; pointer-events: none;
  background: conic-gradient(from var(--a, 0deg), transparent 0 70%, var(--gold-hi) 80%, var(--flame) 86%, transparent 92%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
  animation: orbit 6s linear infinite;
}
@property --a { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
@keyframes orbit { to { --a: 360deg; } }
.offer .stage { --bw: 116px; margin-top: 0; }
.offer h2 { margin-top: 18px; font-size: clamp(40px, 5.6vw, 62px); }
.offer .word { margin: 18px 0 26px; max-width: 30em; color: var(--bone-2); font-size: 16px; }
.offer .price-row { justify-content: center; }
.offer .cta { margin-top: 18px; }
.offer .pay-row { margin: 16px 0 0; font-size: 12.5px; color: var(--bone-3); letter-spacing: .04em; }
.seal { width: 150px; margin: 6px auto 0; opacity: .95; }

/* faq */
.faq { max-width: 780px; margin: 0 auto; }
.faq details { border-top: 1px solid var(--line-soft); }
.faq details:last-child { border-bottom: 1px solid var(--line-soft); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 20px; align-items: center; padding: 22px 0; font: 500 clamp(22px, 2.4vw, 26px)/1.25 var(--display); transition: color .25s; }
.faq summary:hover { color: var(--gold-hi); }
.faq summary::-webkit-details-marker { display: none; }
.faq .fx { flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line); color: var(--gold); font: 300 24px/1 var(--display); transition: transform .4s var(--spring), background .25s, color .25s; }
.faq details[open] .fx { transform: rotate(45deg); background: var(--gold); color: var(--ink); }
.faq details p { margin: 0 0 22px; color: var(--bone-2); font-size: 16px; max-width: 40em; }
.faq a { color: var(--gold-hi); }

/* footer */
.site-footer { padding: 70px 0 120px; border-top: 1px solid var(--line-soft); text-align: center; }
.site-footer .colophon { max-width: 560px; margin: 22px auto; font-size: 13px; color: var(--bone-3); }
.footer-links { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px 24px; font-size: 13.5px; }
.footer-links a { color: var(--bone-2); text-decoration: none; }
.footer-links a:hover { color: var(--gold-hi); }
.footer-meta { margin-top: 18px; font-size: 12.5px; color: var(--bone-3); }
.footer-meta a { color: var(--bone-2); }

/* ---------- sticky buy pill ---------- */
.sticky-buy {
  position: fixed; z-index: 40; left: 50%; bottom: max(12px, env(safe-area-inset-bottom));
  transform: translate(-50%, 140%); transition: transform .5s var(--spring);
  width: min(620px, calc(100% - 20px));
  display: flex; align-items: center; gap: 14px; padding: 8px 8px 8px 20px;
  background: rgba(20, 13, 8, 0.86); border: 1px solid var(--line); border-radius: 99px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.6), 0 0 40px -16px rgba(var(--ember), .6);
  -webkit-backdrop-filter: blur(16px) saturate(1.3); backdrop-filter: blur(16px) saturate(1.3);
}
.sticky-buy.is-visible { transform: translate(-50%, 0); }
.sticky-buy .meta { flex: 1; min-width: 0; }
.sticky-buy .t { font: 600 18px/1.15 var(--display); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sticky-buy .p { font-size: 13px; color: var(--bone-3); margin-top: 2px; }
.sticky-buy .pill-now { color: var(--gold-hi); font-weight: 700; }
.sticky-buy .cta { width: auto; --h: 46px; padding: 0 20px; font-size: 11.5px; letter-spacing: 0.14em; flex: none; }

/* ---------- reader pulse ---------- */
.reader-pulse {
  position: fixed; z-index: 45; left: 12px; right: 12px; top: max(10px, env(safe-area-inset-top)); max-width: 360px; margin-inline: auto;
  display: flex; gap: 12px; align-items: flex-start; padding: 14px 40px 14px 16px;
  background: var(--ink-3); border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 16px 40px rgba(0,0,0,.5);
  opacity: 0; transform: translateY(10px); transition: opacity .35s ease, transform .35s ease;
}
.reader-pulse.is-visible { opacity: 1; transform: none; }
.reader-pulse-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--flame); margin-top: 7px; flex: none; box-shadow: 0 0 10px rgba(var(--ember), .9); }
.reader-pulse-copy { display: grid; gap: 3px; font-size: 13.5px; color: var(--bone-2); }
.reader-pulse-kicker { font-size: 10.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); }
.reader-pulse-copy strong { color: var(--bone); font-weight: 500; }
.reader-pulse-close { position: absolute; top: 6px; right: 8px; background: none; border: 0; color: var(--bone-3); font-size: 20px; cursor: pointer; padding: 4px 8px; }

/* ---------- chapter modal ---------- */
.chapter-exit {
  position: fixed; inset: 0; z-index: 80; display: grid; place-items: center; padding: 16px;
  background: rgba(8, 5, 3, 0.76); opacity: 0; transition: opacity .3s ease;
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.chapter-exit.is-visible { opacity: 1; }
.chapter-exit[hidden] { display: none; }
.chapter-exit-card {
  position: relative; width: min(100%, 480px); background: radial-gradient(90% 60% at 50% 0%, rgba(var(--ember), .18), transparent 65%), var(--ink-3); border: 1px solid var(--line); border-radius: 24px;
  padding: 40px 28px 30px; text-align: center; transform: translateY(12px) scale(.98); transition: transform .45s var(--spring);
}
.chapter-exit.is-visible .chapter-exit-card { transform: none; }
.chapter-exit-card h2 { font: 600 36px/1.05 var(--display); margin: 12px 0 14px; }
.chapter-exit-card p { color: var(--bone-2); font-size: 15.5px; margin: 0 0 20px; }
.chapter-covers { display: flex; justify-content: center; gap: 12px; margin: 0 0 22px; }
.chapter-covers img { width: 74px; box-shadow: 0 10px 24px rgba(0,0,0,.55), 0 0 30px -8px rgba(var(--ember), .5); }
.chapter-covers img:first-child { transform: rotate(-4deg); }
.chapter-covers img:last-child { transform: rotate(4deg); }
.toast-close { position: absolute; top: 8px; right: 10px; background: none; border: 0; color: var(--bone-3); font-size: 26px; cursor: pointer; padding: 6px 10px; }
.email-form { display: grid; gap: 10px; }
.email-form input { height: 54px; padding: 0 20px; background: var(--ink); color: var(--bone); border: 1px solid var(--line); border-radius: 99px; font: 400 16px var(--sans); }
.email-form input:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(var(--ember), .25); }
.email-form .cta { max-width: none; }
.email-form-error { display: none; margin: 4px 0 0; font-size: 14px; color: #ffad8f; }
.email-form-error.form-note { color: var(--bone-2); }
.exit-note { font-size: 12.5px !important; color: var(--bone-3) !important; margin: 14px 0 0 !important; }
body.exit-open { overflow: hidden; }

/* ---------- reveal + words ---------- */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity 1s ease, transform 1.1s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
.hero .reveal { transition-delay: calc(var(--d, 0) * 140ms + 300ms); }
.split .w { display: inline-block; overflow: hidden; vertical-align: top; padding: 0 .05em .14em; margin: 0 -.05em -.14em; }
.split .w > span { display: inline-block; transform: translateY(110%) rotate(4deg); transform-origin: 0 100%; transition: transform 1.2s var(--ease); transition-delay: calc(var(--i) * 90ms + 120ms); }
.split.in .w > span { transform: none; }
.motion .stagger > * { opacity: 0; transform: translateY(18px); transition: opacity .8s ease, transform 1s var(--ease); transition-delay: calc(var(--i, 0) * 120ms); }
.motion .stagger.in > * { opacity: 1; transform: none; }
.drop-ready .price-was::after { transform: rotate(-6deg) scaleX(0); transform-origin: left; transition: transform .5s var(--ease); }
.struck .price-was::after { transform: rotate(-6deg) scaleX(1); }
.landed .price-now { animation: land 1.4s ease; }
@keyframes land { 30% { filter: drop-shadow(0 0 30px rgba(var(--ember), 1)) brightness(1.25); } }
.monogram circle { stroke-dasharray: 200; stroke-dashoffset: 0; }
.motion .monogram:not(.seen) circle { stroke-dashoffset: 200; }
.motion .monogram circle { transition: stroke-dashoffset 2.2s var(--ease); }

/* ============================================================================
   WIDER SCREENS
   ============================================================================ */
@media (min-width: 640px) {
  :root { --gutter: 32px; }
  .singles { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 900px) {
  :root { --gutter: 48px; }
  .hero { min-height: max(700px, min(100svh, 1000px)); }
  .film { --fw: max(190vw, 2200px); }
  .topbar .wrap { height: 72px; }
  .hero h1 { font-size: clamp(64px, 7.4vw, 120px); margin-top: 8px; white-space: nowrap; }
  .hero-inner { justify-content: flex-start; }
  .hero .stage { --bw: clamp(170px, 15vw, 230px); margin: 6px auto 4px; }
  .hero-buy { grid-template-columns: auto auto; align-items: center; column-gap: 34px; margin-top: 4px; }
  .hero-buy .price-row { grid-column: 1; }
  .hero-buy .cta { grid-column: 2; margin-top: 0; min-width: 340px; }
  .hero-buy .assure, .hero-buy .links { grid-column: 1 / -1; }
  .scroll-cue { display: block; position: absolute; z-index: 4; left: 50%; bottom: 22px; width: 22px; height: 36px; margin-left: -11px; border: 1px solid var(--line); border-radius: 12px; }
  .scroll-cue span { position: absolute; left: 50%; top: 7px; width: 3px; height: 7px; margin-left: -1.5px; border-radius: 2px; background: var(--gold); animation: cue 1.8s ease-in-out infinite; }
  .singles { gap: 24px; }
  .single { grid-template-columns: 150px 1fr; padding: 34px 32px; gap: 30px; }
  .single .mini { height: calc(150px * 1.49 + 10px); }
  .single .mini .book3d { --w: 138px; }
  .laws-wrap { grid-template-columns: .8fr 1.2fr; gap: 60px; align-items: start; }
  .reader-pulse { left: 24px; right: auto; top: auto; bottom: 24px; margin: 0; }
  .offer .stage { --bw: 140px; }
}
@keyframes cue { 0% { transform: translateY(0); opacity: 0; } 30% { opacity: 1; } 100% { transform: translateY(12px); opacity: 0; } }

/* Ambient motion (the flame, the books, the glow) is the product's mood and
   stays on; only smooth anchor scrolling is dropped. */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
