/* genussfunke.net — Editorial, warm, ein Funke Glut. */
:root {
  --paper: #F5F0E7;
  --paper-2: #EBE4D7;
  --paper-3: #DFD6C5;
  --ink: #1A1613;
  --ink-2: #3D3630;
  --ink-3: #7A7067;
  --night: #100E0C;
  --night-2: #1C1815;
  --ember: #E4571C;
  --ember-2: #B8401A;
  --gold: #C8963E;
  --line: rgba(26, 22, 19, .14);
  --line-light: rgba(245, 240, 231, .16);
  --display: "Fraunces", "Iowan Old Style", Georgia, serif;
  --body: "Karla", "Helvetica Neue", Arial, sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --radius: 4px;
  --container: 1280px;
  --gutter: clamp(20px, 4vw, 56px);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--body); font-size: 17px; line-height: 1.6; font-weight: 400;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
code { font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-size: .9em; background: rgba(0,0,0,.06); padding: .1em .4em; border-radius: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ember); color: #fff; padding: 8px 14px; z-index: 100; }
.skip:focus { left: 8px; }

/* ---------- Typografie ---------- */
.h-display {
  font-family: var(--display); font-weight: 300; font-variation-settings: "opsz" 144, "SOFT" 40;
  font-size: clamp(2.1rem, 4.6vw, 4.2rem); line-height: 1.02; letter-spacing: -.015em; margin: 0 0 .5em;
  text-wrap: balance;
}
.h-display em, .hero__title em, .brand em, .footer__claim em { font-style: italic; font-weight: 400; color: var(--ember); }
.h-section {
  font-family: var(--display); font-weight: 400; font-variation-settings: "opsz" 72;
  font-size: clamp(1.6rem, 2.6vw, 2.2rem); line-height: 1.1; margin: 3.5rem 0 1rem; letter-spacing: -.01em;
}
.eyebrow {
  font-size: .72rem; letter-spacing: .22em; text-transform: uppercase; font-weight: 600; color: var(--ink-3);
  margin: 0 0 1.1rem; display: flex; align-items: center; gap: .7em;
}
.eyebrow::before { content: ""; width: 26px; height: 1px; background: currentColor; opacity: .6; }
.eyebrow--ember { color: var(--ember); }
.eyebrow--ink { color: var(--night); }
.lead { font-size: clamp(1.08rem, 1.5vw, 1.3rem); line-height: 1.55; color: var(--ink-2); max-width: 42em; margin: 0 0 1.4em; font-weight: 400; }
.muted { color: var(--ink-3); margin: -.3rem 0 1.2rem; }
.prose p { max-width: 42em; }
.prose h2 { font-family: var(--display); font-weight: 400; font-size: 1.7rem; margin: 2.4rem 0 .6rem; letter-spacing: -.01em; }
.prose--legal p { max-width: 46em; }
.prose--legal h2 { font-size: 1.25rem; font-family: var(--body); font-weight: 600; letter-spacing: 0; margin-top: 2rem; }

/* ---------- Layout ---------- */
.container { width: min(var(--container), 100% - 2 * var(--gutter)); margin-inline: auto; }
.container.narrow { max-width: 780px; }
.section { padding: clamp(4rem, 9vw, 8.5rem) 0; position: relative; }
.section--tight { padding-top: clamp(1.5rem, 3vw, 2.5rem); }
.section--paper { background: var(--paper); }
.section--ink { background: var(--night); color: var(--paper); }
.section--ink .h-display { color: var(--paper); }
.section--ember { background: var(--ember); color: var(--night); }
.section--ember .h-display { color: var(--night); }
.section--ember .lead { color: rgba(16,14,12,.82); }
.section__head { max-width: 760px; margin-bottom: clamp(2.5rem, 5vw, 4.5rem); }

/* Papier-Korn */
.section--paper::before, .pagehead::before {
  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='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .06 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.section > .container, .pagehead > .container { position: relative; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  padding: .95em 1.7em; border-radius: 999px; border: 1px solid transparent; cursor: pointer;
  font-weight: 600; font-size: .95rem; letter-spacing: .01em; line-height: 1;
  transition: transform .35s var(--ease), background .25s, color .25s, border-color .25s, box-shadow .35s;
}
.btn:hover { transform: translateY(-2px); }
.btn--ember { background: var(--ember); color: #fff; box-shadow: 0 10px 30px -12px rgba(228,87,28,.7); }
.btn--ember:hover { background: var(--ember-2); box-shadow: 0 16px 34px -12px rgba(228,87,28,.8); }
.btn--ghost { background: transparent; border-color: currentColor; }
.btn--ghost:hover { background: rgba(255,255,255,.08); }
.section--paper .btn--ghost:hover, .bookbody .btn--ghost:hover { background: rgba(26,22,19,.06); }
.btn--block { width: 100%; }
.btn--sm { padding: .7em 1.2em; font-size: .85rem; }

/* ---------- Navigation ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50; transition: background .4s, backdrop-filter .4s, box-shadow .4s;
  color: var(--paper);
}
html:not(.has-dark-hero) .nav, .nav.is-scrolled, .nav.is-open { color: var(--ink); }
.nav.is-scrolled { background: rgba(245,240,231,.86); backdrop-filter: blur(14px) saturate(1.3); -webkit-backdrop-filter: blur(14px) saturate(1.3); box-shadow: 0 1px 0 var(--line); }
.nav__inner { width: min(var(--container), 100% - 2 * var(--gutter)); margin-inline: auto; display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand { display: inline-flex; align-items: center; gap: .55em; font-family: var(--display); font-size: 1.35rem; font-weight: 500; letter-spacing: -.01em; font-variation-settings: "opsz" 40; }
.brand em { font-weight: 500; }
.spark { width: 18px; height: 18px; fill: var(--ember); filter: drop-shadow(0 0 6px rgba(228,87,28,.6)); animation: flicker 3.2s ease-in-out infinite; }
.spark--lg { width: 28px; height: 28px; }
.spark--xl { width: 44px; height: 44px; margin-bottom: 1.5rem; }
@keyframes flicker { 0%, 100% { transform: scale(1) rotate(0); opacity: 1; } 40% { transform: scale(.88) rotate(8deg); opacity: .8; } 70% { transform: scale(1.06) rotate(-4deg); } }
.nav__links { display: flex; align-items: center; gap: 2.2rem; font-size: .92rem; font-weight: 600; letter-spacing: .04em; }
.nav__links a { position: relative; padding: .3em 0; opacity: .85; }
.nav__links a::after { content: ""; position: absolute; left: 0; bottom: 0; height: 1px; width: 100%; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .4s var(--ease); }
.nav__links a:hover::after, .nav__links a[aria-current]::after { transform: scaleX(1); transform-origin: left; }
.nav__links a:hover, .nav__links a[aria-current] { opacity: 1; }
.nav__cta { border: 1px solid currentColor; border-radius: 999px; padding: .55em 1.1em !important; }
.nav__cta::after { display: none; }
.nav__cta:hover { background: var(--ember); border-color: var(--ember); color: #fff; }
.nav__burger { display: none; background: none; border: 0; width: 44px; height: 44px; padding: 10px; cursor: pointer; flex-direction: column; justify-content: center; gap: 6px; }
.nav__burger span { display: block; height: 2px; background: currentColor; transition: transform .3s, opacity .3s; }
.nav.is-open .nav__burger span:first-child { transform: translateY(4px) rotate(45deg); }
.nav.is-open .nav__burger span:last-child { transform: translateY(-4px) rotate(-45deg); }
.mobilemenu[hidden] { display: none; }
.mobilemenu { background: var(--paper); border-top: 1px solid var(--line); padding: 1rem var(--gutter) 1.5rem; display: grid; gap: .2rem; color: var(--ink); }
.mobilemenu a { font-family: var(--display); font-size: 1.6rem; padding: .5rem 0; border-bottom: 1px solid var(--line); }
@media (max-width: 800px) {
  .nav__links { display: none; }
  .nav__burger { display: flex; }
  .nav.is-open { background: var(--paper); }
}

/* ---------- Hero (Home) ---------- */
.hero { position: relative; min-height: 100svh; display: grid; align-items: end; background: var(--night); color: var(--paper); overflow: hidden; isolation: isolate; }
.hero__bg, .bookhero__bg { position: absolute; inset: 0; z-index: -2; }
.hero__bg img, .bookhero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 30% 50%; animation: kenburns 18s ease-out both; }
@keyframes kenburns { from { transform: scale(1.08); } to { transform: scale(1); } }
.hero::after, .bookhero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(16,14,12,.35) 0%, rgba(16,14,12,.05) 35%, rgba(16,14,12,.55) 70%, rgba(16,14,12,.92) 100%),
              linear-gradient(90deg, rgba(16,14,12,.15), rgba(16,14,12,0) 50%);
}
.hero__sparks { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.hero__inner { position: relative; z-index: 1; width: min(var(--container), 100% - 2 * var(--gutter)); margin: 0 auto; padding: 9rem 0 clamp(4rem, 9vh, 7rem); }
.hero__inner .eyebrow { color: rgba(245,240,231,.7); }
.hero__title { font-family: var(--display); font-weight: 300; font-variation-settings: "opsz" 144, "SOFT" 60; font-size: clamp(3.4rem, 10vw, 9.5rem); line-height: .92; letter-spacing: -.03em; margin: 0 0 1.4rem; display: grid; }
.hero__title em { font-variation-settings: "opsz" 144, "SOFT" 100; }
.hero__lead { font-size: clamp(1.1rem, 1.6vw, 1.35rem); max-width: 34em; color: rgba(245,240,231,.85); margin: 0 0 2.2rem; line-height: 1.5; }
.hero__cta { display: flex; gap: .8rem; flex-wrap: wrap; }
.hero__scroll { position: absolute; right: var(--gutter); bottom: 2rem; width: 28px; height: 46px; border: 1px solid rgba(245,240,231,.4); border-radius: 14px; z-index: 1; }
.hero__scroll span { position: absolute; left: 50%; top: 8px; width: 3px; height: 8px; margin-left: -1.5px; border-radius: 2px; background: var(--ember); animation: drop 1.8s ease-in-out infinite; }
@keyframes drop { 0% { transform: translateY(0); opacity: 0; } 30% { opacity: 1; } 100% { transform: translateY(20px); opacity: 0; } }

/* Ticker */
.ticker { background: var(--night-2); color: var(--paper); overflow: hidden; border-block: 1px solid var(--line-light); padding: .9rem 0; }
.ticker__track { display: flex; gap: 2.2rem; width: max-content; animation: ticker 60s linear infinite; font-family: var(--display); font-size: 1.05rem; font-style: italic; font-variation-settings: "opsz" 36; white-space: nowrap; }
.ticker__track span { opacity: .85; }
.tick-spark { font-style: normal; color: var(--ember); font-size: .7rem; }
@keyframes ticker { to { transform: translateX(-50%); } }
.ticker:hover .ticker__track { animation-play-state: paused; }

/* ---------- Bookgrid (Home) ---------- */
.bookgrid { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(14px, 2vw, 28px); }
.tile { grid-column: span 4; display: grid; gap: 1rem; color: inherit; position: relative; }
.tile--wide { grid-column: span 8; }
.tile__media { margin: 0; overflow: hidden; border-radius: var(--radius); background: var(--paper-3); aspect-ratio: 4 / 5; position: relative; }
.tile--wide .tile__media { aspect-ratio: 16 / 9; }
.tile__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease), filter .6s; }
.tile__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(16,14,12,.25), transparent 45%); opacity: 0; transition: opacity .6s; }
.tile:hover .tile__media img { transform: scale(1.045); }
.tile:hover .tile__media::after { opacity: 1; }
.tile__fallback { width: 100%; height: 100%; background: linear-gradient(135deg, var(--accent, var(--ember)), var(--night)); }
.tile__meta { display: flex; justify-content: space-between; font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-3); margin: 0; font-weight: 600; }
.tile__meta .num { color: var(--accent, var(--ember)); }
.tile__title { font-family: var(--display); font-weight: 400; font-variation-settings: "opsz" 72; font-size: clamp(1.5rem, 2.2vw, 2rem); margin: .3rem 0 .4rem; line-height: 1.05; letter-spacing: -.015em; }
.tile__title { background-image: linear-gradient(currentColor, currentColor); background-size: 0 1px; background-repeat: no-repeat; background-position: 0 100%; transition: background-size .5s var(--ease); display: inline; }
.tile:hover .tile__title { background-size: 100% 1px; }
.tile__short { margin: 0; color: var(--ink-2); font-size: .98rem; line-height: 1.5; }
.tile__foot { margin: .4rem 0 0; display: flex; justify-content: space-between; font-size: .82rem; color: var(--ink-3); border-top: 1px solid var(--line); padding-top: .7rem; }
@media (max-width: 1000px) { .tile { grid-column: span 6; } .tile--wide { grid-column: span 12; } }
@media (max-width: 600px) { .tile, .tile--wide { grid-column: span 12; } .tile--wide .tile__media { aspect-ratio: 4 / 3; } }

/* ---------- Split / Prinzipien ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.principles { list-style: none; margin: 2.5rem 0 0; padding: 0; display: grid; gap: 1.6rem; }
.principles li { display: grid; grid-template-columns: 3.2rem 1fr; gap: 1rem; padding-top: 1.4rem; border-top: 1px solid var(--line-light); }
.principles__num { font-family: var(--display); font-style: italic; color: var(--ember); font-size: 1.5rem; line-height: 1; padding-top: .15rem; }
.principles h3 { margin: 0 0 .3rem; font-family: var(--display); font-weight: 500; font-size: 1.35rem; letter-spacing: -.01em; }
.principles p { margin: 0; color: rgba(245,240,231,.72); line-height: 1.55; }
.fan { position: relative; aspect-ratio: 1 / 1.05; max-width: 560px; margin-inline: auto; }
.fan__card { position: absolute; width: 58%; aspect-ratio: 2 / 3; object-fit: cover; border-radius: 6px; box-shadow: 0 40px 80px -30px rgba(0,0,0,.9), 0 0 0 1px rgba(255,255,255,.06); transition: transform 1s var(--ease); }
.fan__card:nth-child(1) { left: 0; top: 8%; transform: rotate(-9deg); z-index: 1; }
.fan__card:nth-child(2) { left: 21%; top: 0; transform: rotate(1deg); z-index: 3; }
.fan__card:nth-child(3) { left: 42%; top: 10%; transform: rotate(9deg); z-index: 2; }
.fan:hover .fan__card:nth-child(1) { transform: rotate(-13deg) translateX(-4%); }
.fan:hover .fan__card:nth-child(3) { transform: rotate(13deg) translateX(4%); }
.fan:hover .fan__card:nth-child(2) { transform: rotate(0) translateY(-3%); }
.fan__caption { text-align: center; font-size: .82rem; color: rgba(245,240,231,.55); margin: 1rem 0 0; letter-spacing: .05em; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } .split__visual { order: -1; } .fan { max-width: 420px; } }

/* ---------- Themenwelten ---------- */
.groups { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: clamp(1.5rem, 3vw, 3rem) clamp(1.5rem, 4vw, 4rem); }
.group__name { font-family: var(--display); font-weight: 400; font-style: italic; font-size: 1.45rem; margin: 0 0 .6rem; padding-bottom: .6rem; border-bottom: 1px solid var(--ink); }
.group__list { list-style: none; margin: 0; padding: 0; }
.group__list a { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding: .65rem 0; border-bottom: 1px solid var(--line); transition: padding-left .4s var(--ease), color .3s; }
.group__list a:hover { padding-left: .5rem; color: var(--ember); }
.group__list small { color: var(--ink-3); font-size: .78rem; white-space: nowrap; }

/* ---------- Bonus (Home) ---------- */
.bonus { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.bonus__text .eyebrow { color: rgba(16,14,12,.7); }
.bonus code { background: rgba(16,14,12,.12); color: var(--night); }
.bonus__books { display: flex; flex-wrap: wrap; gap: .6rem; }
.bonus__chip { display: inline-flex; align-items: center; gap: .6em; padding: .6em 1.1em; border: 1px solid rgba(16,14,12,.5); border-radius: 999px; font-family: ui-monospace, Menlo, Consolas, monospace; font-size: .85rem; transition: background .3s, color .3s, transform .3s var(--ease); }
.bonus__chip span::before { content: "genussfunke.net/"; opacity: .55; }
.bonus__chip--more span::before { content: ""; }
.bonus__chip i { font-style: normal; transition: transform .3s; }
.bonus__chip:hover { background: var(--night); color: var(--paper); border-color: var(--night); transform: translateY(-2px); }
.bonus__chip:hover i { transform: translateX(3px); }
@media (max-width: 860px) { .bonus { grid-template-columns: 1fr; } }

/* ---------- Pagehead / Katalog ---------- */
.pagehead { position: relative; background: var(--paper); padding: clamp(8rem, 16vw, 11rem) 0 clamp(1.5rem, 4vw, 3rem); }
.pagehead--center { text-align: center; padding-bottom: clamp(4rem, 9vw, 8rem); }
.pagehead--center .eyebrow { justify-content: center; }
.pagehead--center .lead { margin-inline: auto; }
.filters { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 2rem; }
.chip { padding: .55em 1.1em; border-radius: 999px; border: 1px solid var(--line); background: transparent; cursor: pointer; font-size: .88rem; font-weight: 600; transition: all .3s; }
.chip:hover { border-color: var(--ink); }
.chip.is-active { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; justify-content: center; }
.catalog { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2.5vw, 36px); }
.card { display: grid; gap: 1rem; color: inherit; }
.card.is-hidden { display: none; }
.card__media { margin: 0; position: relative; overflow: hidden; border-radius: var(--radius); aspect-ratio: 4 / 5; background: var(--paper-3); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.card:hover .card__media img { transform: scale(1.045); }
.card__num { position: absolute; left: 14px; top: 12px; font-family: var(--display); font-style: italic; color: #fff; font-size: 1.4rem; text-shadow: 0 2px 12px rgba(0,0,0,.5); }
.card__badge { position: absolute; right: 12px; top: 12px; background: rgba(16,14,12,.72); color: var(--paper); font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; padding: .45em .8em; border-radius: 999px; backdrop-filter: blur(6px); }
.card__group { margin: 0; font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: var(--accent, var(--ember)); font-weight: 600; }
.card__title { font-family: var(--display); font-weight: 400; font-variation-settings: "opsz" 72; font-size: 1.7rem; margin: .2rem 0 .3rem; line-height: 1.05; letter-spacing: -.015em; }
.card__sub { margin: 0; color: var(--ink-2); line-height: 1.5; font-size: .95rem; }
.card__foot { margin: .3rem 0 0; display: flex; justify-content: space-between; gap: 1rem; font-size: .8rem; color: var(--ink-3); border-top: 1px solid var(--line); padding-top: .7rem; }
@media (max-width: 960px) { .catalog { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .catalog { grid-template-columns: 1fr; } }

/* ---------- Buchseite ---------- */
.bookhero { position: relative; min-height: 78svh; display: grid; align-items: end; background: var(--night); color: var(--paper); overflow: hidden; isolation: isolate; }
.bookhero__bg img { object-position: 25% 50%; }
.bookhero__inner { position: relative; width: min(var(--container), 100% - 2 * var(--gutter)); margin: 0 auto; padding: 9rem 0 3.5rem; max-width: 100%; }
.bookhero__inner .eyebrow { color: rgba(245,240,231,.7); }
.bookhero__title { font-family: var(--display); font-weight: 300; font-variation-settings: "opsz" 144, "SOFT" 50; font-size: clamp(2.8rem, 7vw, 6.4rem); line-height: .95; letter-spacing: -.03em; margin: 0 0 1.2rem; display: grid; gap: .35em; max-width: 14em; }
.bookhero__rest { font-size: .34em; font-weight: 400; font-style: italic; letter-spacing: -.005em; line-height: 1.25; color: rgba(245,240,231,.88); max-width: 34em; font-variation-settings: "opsz" 48; }
.bookhero__author { margin: 0 0 2rem; color: rgba(245,240,231,.75); font-size: 1.05rem; }
.bookhero__author strong { color: var(--paper); font-weight: 600; }
.facts { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0; border-top: 1px solid var(--line-light); }
.facts li { display: grid; padding: 1rem 2.2rem 0 0; margin-right: 2.2rem; }
.facts strong { font-family: var(--display); font-weight: 400; font-size: 1.9rem; line-height: 1; color: var(--paper); }
.facts span { font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; color: rgba(245,240,231,.6); margin-top: .35rem; }
.bookbody__grid { display: grid; grid-template-columns: 300px 1fr; gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.sticky { position: sticky; top: 100px; display: grid; gap: 1.2rem; }
.coverimg { border-radius: 3px; box-shadow: 0 30px 60px -25px rgba(26,22,19,.55), 0 0 0 1px rgba(26,22,19,.08); }
.coverfake { aspect-ratio: 2 / 3; border-radius: 3px; display: grid; align-content: space-between; padding: 1.4rem; color: #fff; background: radial-gradient(120% 90% at 20% 0%, var(--accent), transparent 60%), linear-gradient(160deg, var(--night-2), var(--night)); box-shadow: 0 30px 60px -25px rgba(26,22,19,.6); position: relative; overflow: hidden; }
.coverfake::after { content: ""; position: absolute; inset: 10px; border: 1px solid rgba(255,255,255,.18); border-radius: 2px; pointer-events: none; }
.coverfake__brand { font-size: .6rem; letter-spacing: .3em; text-transform: uppercase; opacity: .7; }
.coverfake__title { font-family: var(--display); font-weight: 400; font-size: 1.9rem; line-height: 1; letter-spacing: -.02em; }
.coverfake__sub { font-size: .8rem; opacity: .8; line-height: 1.4; margin-top: .4rem; }
.coverfake__author { font-size: .75rem; letter-spacing: .1em; opacity: .85; }
.buybox { display: grid; gap: .7rem; }
.buybox__note { margin: 0; font-size: .82rem; color: var(--ink-3); line-height: 1.5; }
.buybox__soon { margin: 0; display: flex; align-items: center; gap: .6em; font-weight: 600; letter-spacing: .04em; }
.buybox__soon .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--ember); box-shadow: 0 0 0 0 rgba(228,87,28,.5); animation: pulse 2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(228,87,28,.5); } 70% { box-shadow: 0 0 0 10px rgba(228,87,28,0); } 100% { box-shadow: 0 0 0 0 rgba(228,87,28,0); } }
.chapters { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ink); }
.chapters li { padding: 1.1rem 0; border-bottom: 1px solid var(--line); }
.chapters__head { display: grid; grid-template-columns: 2.6rem 1fr auto; align-items: baseline; gap: .8rem; }
.chapters__num { font-family: var(--display); font-style: italic; color: var(--ember); font-size: 1.2rem; }
.chapters h3 { margin: 0; font-family: var(--display); font-weight: 500; font-size: 1.3rem; letter-spacing: -.01em; }
.chapters__count { font-size: .78rem; color: var(--ink-3); letter-spacing: .08em; white-space: nowrap; }
.chapters__ex { margin: .35rem 0 0 3.4rem; color: var(--ink-3); font-size: .92rem; line-height: 1.5; }
.pages { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 1rem; margin-bottom: 1rem; }
.pages__item { background: none; border: 0; padding: 0; cursor: zoom-in; text-align: left; display: grid; gap: .5rem; }
.pages__item img { aspect-ratio: 2 / 3; object-fit: cover; width: 100%; border-radius: 4px; box-shadow: 0 20px 40px -22px rgba(26,22,19,.6), 0 0 0 1px rgba(26,22,19,.08); transition: transform .6s var(--ease), box-shadow .6s; }
.pages__item:hover img { transform: translateY(-6px) rotate(-.5deg); box-shadow: 0 30px 50px -22px rgba(26,22,19,.7), 0 0 0 1px rgba(26,22,19,.1); }
.pages__item span { font-size: .8rem; color: var(--ink-3); line-height: 1.3; }
.bonusbox { margin-top: 3.5rem; padding: clamp(1.5rem, 3vw, 2.6rem); background: var(--night); color: var(--paper); border-radius: 6px; position: relative; overflow: hidden; }
.bonusbox::before { content: ""; position: absolute; inset: -40% -20% auto auto; width: 60%; aspect-ratio: 1; background: radial-gradient(closest-side, color-mix(in srgb, var(--accent, var(--ember)) 55%, transparent), transparent); opacity: .5; pointer-events: none; }
.bonusbox__head { display: flex; gap: 1rem; align-items: center; margin-bottom: 1rem; }
.bonusbox__head .spark { width: 30px; height: 30px; flex: none; }
.bonusbox__head .eyebrow { margin-bottom: .3rem; color: rgba(245,240,231,.6); }
.bonusbox h2 { margin: 0; font-family: var(--display); font-weight: 400; font-size: clamp(1.4rem, 2.4vw, 1.9rem); letter-spacing: -.015em; line-height: 1.1; }
.bonusbox > p { color: rgba(245,240,231,.8); max-width: 44em; position: relative; }
.bonusbox__step { display: grid; grid-template-columns: 2.2rem 1fr; gap: .8rem; margin: 1.4rem 0; padding-top: 1.2rem; border-top: 1px solid var(--line-light); }
.bonusbox__step h3 { margin: 0 0 .3rem; font-size: 1.05rem; }
.bonusbox__step p { margin: 0 0 .7rem; color: rgba(245,240,231,.72); font-size: .95rem; }
.step { width: 1.9rem; height: 1.9rem; border-radius: 50%; border: 1px solid var(--ember); color: var(--ember); display: inline-grid; place-items: center; font-family: var(--display); font-style: italic; font-size: 1rem; }
.bonusform { display: grid; gap: .9rem; margin-top: 1.2rem; padding-top: 1.2rem; border-top: 1px solid var(--line-light); position: relative; }
.bonusform .step { margin-bottom: -.3rem; }
.bonusform__row { display: flex; gap: .6rem; flex-wrap: wrap; }
.bonusform input[type="email"] { flex: 1 1 240px; padding: .95em 1.2em; border-radius: 999px; border: 1px solid rgba(245,240,231,.3); background: rgba(245,240,231,.06); color: var(--paper); font: inherit; min-width: 0; }
.bonusform input[type="email"]:focus { outline: none; border-color: var(--ember); box-shadow: 0 0 0 3px rgba(228,87,28,.25); }
.bonusform input::placeholder { color: rgba(245,240,231,.45); }
.check { display: flex; gap: .6em; align-items: center; font-size: .95rem; cursor: pointer; }
.check input { accent-color: var(--ember); width: 18px; height: 18px; }
.hp { position: absolute; left: -9999px; }
.bonusform__legal { margin: 0; font-size: .78rem; color: rgba(245,240,231,.55); line-height: 1.5; }
.bonusform__legal a { text-decoration: underline; }
.alert[hidden] { display: none; }
.alert { background: rgba(228,87,28,.18); border: 1px solid rgba(228,87,28,.5); padding: .8em 1em; border-radius: 4px; font-size: .92rem; margin-bottom: 1rem; }
.authorline { margin: 2.5rem 0 0; padding-top: 1.4rem; border-top: 1px solid var(--line); color: var(--ink-2); }
.authorline .eyebrow { margin-bottom: .4rem; }
.related { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.related__item { position: relative; aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--radius); background: var(--night-2); display: grid; align-content: end; padding: 1rem; color: var(--paper); }
.related__item img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .75; transition: transform 1s var(--ease), opacity .6s; }
.related__item::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(16,14,12,.9), rgba(16,14,12,.1) 60%); }
.related__item:hover img { transform: scale(1.05); opacity: .95; }
.related__num { position: relative; z-index: 1; font-family: var(--display); font-style: italic; color: var(--accent, var(--ember)); font-size: 1.1rem; }
.related__title { position: relative; z-index: 1; font-family: var(--display); font-size: 1.35rem; line-height: 1.05; letter-spacing: -.01em; }
@media (max-width: 900px) { .bookbody__grid { grid-template-columns: 1fr; } .sticky { position: static; grid-template-columns: 200px 1fr; align-items: center; } .related { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .sticky { grid-template-columns: 1fr; } .facts { display: grid; grid-template-columns: 1fr 1fr; } .facts li { padding-right: 1rem; margin-right: 0; } }

/* Lightbox */
.lightbox[hidden] { display: none; }
.lightbox { position: fixed; inset: 0; z-index: 90; background: rgba(16,14,12,.92); display: grid; place-items: center; padding: 2rem; animation: fade .25s; }
.lightbox figure { margin: 0; max-height: 100%; display: grid; justify-items: center; gap: .8rem; }
.lightbox img { max-height: calc(100vh - 6rem); width: auto; border-radius: 6px; box-shadow: 0 40px 100px rgba(0,0,0,.7); }
.lightbox figcaption { color: rgba(245,240,231,.7); font-size: .9rem; }
.lightbox__close { position: absolute; top: 1rem; right: 1.2rem; background: none; border: 0; color: var(--paper); font-size: 2.4rem; line-height: 1; cursor: pointer; }
@keyframes fade { from { opacity: 0; } }

/* ---------- Footer ---------- */
.footer { background: var(--night); color: var(--paper); padding: clamp(3rem, 6vw, 5rem) 0 2rem; border-top: 1px solid var(--line-light); }
.footer__inner { width: min(var(--container), 100% - 2 * var(--gutter)); margin-inline: auto; display: grid; grid-template-columns: 1.2fr 2fr; gap: 3rem; }
.footer__brand { display: flex; gap: 1rem; align-items: flex-start; }
.footer__claim { margin: 0; font-family: var(--display); font-size: 1.8rem; line-height: 1.05; letter-spacing: -.01em; }
.footer__claim span { display: inline-block; margin-top: .5rem; font-family: var(--body); font-size: .85rem; color: rgba(245,240,231,.55); letter-spacing: .05em; }
.footer__cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.footer__cols h4 { margin: 0 0 .8rem; font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: rgba(245,240,231,.5); }
.footer__cols a { display: block; padding: .28rem 0; color: rgba(245,240,231,.85); font-size: .95rem; transition: color .3s, padding-left .3s; }
.footer__cols a:hover { color: var(--ember); padding-left: .3rem; }
.footer__cols .more { color: var(--ember); font-weight: 600; margin-top: .3rem; }
.footer__legal { grid-column: 1 / -1; margin: 2rem 0 0; padding-top: 1.4rem; border-top: 1px solid var(--line-light); font-size: .8rem; color: rgba(245,240,231,.45); }
@media (max-width: 800px) { .footer__inner { grid-template-columns: 1fr; } .footer__cols { grid-template-columns: 1fr 1fr; } }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.d1 { transition-delay: .1s; } .d2 { transition-delay: .22s; } .d3 { transition-delay: .36s; } .d4 { transition-delay: .5s; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}
