/* Earth Leap: enchanting picture books (Timmerman Publishing & Co.) */

:root {
  --night-950: #060f26;
  --night-900: #0a1736;
  --night-800: #0f2049;
  --night-700: #183166;
  --night-600: #24468a;
  --frost: #dfe9ff;
  --snow: #f7faff;
  --cream: #fff8ec;
  --paper: #fdf3e1;
  --ink: #1c2445;
  --ink-soft: #4b5476;
  --gold-50: #fff4cf;
  --gold: #f4c66a;
  --gold-600: #e3a43c;
  --gold-700: #b97a1c;
  --berry: #c9343f;
  --pine: #1e5b46;
  --sky-1: #d8eeff;
  --sky-2: #f3fbff;
  --grass: #6aa83e;

  --r-sm: 12px;
  --r: 20px;
  --r-lg: 32px;
  --shadow-soft: 0 18px 50px -20px rgba(10, 23, 54, .35);
  --shadow-book: 0 30px 60px -18px rgba(6, 15, 38, .55), 0 10px 18px -8px rgba(6, 15, 38, .35);

  --f-display: "Fraunces", "Iowan Old Style", Georgia, serif;
  --f-body: "Nunito", "Segoe UI", system-ui, sans-serif;
  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--f-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button { font: inherit; }
h1, h2, h3 { font-family: var(--f-display); font-variation-settings: "SOFT" 100, "WONK" 1; line-height: 1.08; margin: 0; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
svg { width: 1em; height: 1em; flex: none; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--gold); color: var(--night-900); padding: 10px 16px; border-radius: 999px; font-weight: 800; text-decoration: none; }
.skip:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 6px; }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--gold);
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  padding: .82em 1.35em; border-radius: 999px; border: 0;
  font-family: var(--f-body); font-weight: 800; font-size: 1rem; letter-spacing: .01em;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform .25s cubic-bezier(.2,.8,.2,1.2), box-shadow .25s ease, background-position .5s ease;
  position: relative; isolation: isolate;
}
.btn svg { width: 1.15em; height: 1.15em; }
.btn-sm { font-size: .92rem; padding: .62em 1.1em; }
.btn-lg { font-size: 1.08rem; padding: .95em 1.6em; }
.btn-gold {
  color: #3a2402;
  background: linear-gradient(110deg, #ffe7a3 0%, var(--gold) 30%, var(--gold-600) 60%, #ffd98a 85%, var(--gold) 100%);
  background-size: 220% 100%;
  box-shadow: 0 10px 24px -10px rgba(185, 122, 28, .8), inset 0 1px 0 rgba(255,255,255,.7), inset 0 -2px 0 rgba(150, 90, 10, .25);
}
.btn-gold::after {
  content: ""; position: absolute; inset: -6px; border-radius: inherit; z-index: -1;
  background: radial-gradient(closest-side, rgba(255, 214, 120, .55), transparent);
  opacity: 0; transition: opacity .3s ease;
}
.btn-gold:hover { transform: translateY(-3px) scale(1.02); background-position: 100% 0; box-shadow: 0 16px 30px -12px rgba(185, 122, 28, .9), inset 0 1px 0 rgba(255,255,255,.8); }
.btn-gold:hover::after { opacity: 1; }
.btn-gold:active { transform: translateY(-1px) scale(.99); }
.btn-ghost {
  color: var(--ink); background: rgba(255,255,255,.65);
  box-shadow: inset 0 0 0 2px rgba(28, 36, 69, .14);
}
.btn-ghost:hover { transform: translateY(-2px); box-shadow: inset 0 0 0 2px var(--accent, var(--night-600)); color: var(--accent, var(--night-600)); }
.btn-ghost:hover svg { transform: translateX(3px); }
.btn-ghost svg { transition: transform .25s ease; }
.btn-ghost-dark { color: var(--snow); background: rgba(255,255,255,.08); box-shadow: inset 0 0 0 2px rgba(244, 198, 106, .5); }
.btn-ghost-dark:hover { transform: translateY(-2px); background: rgba(244, 198, 106, .14); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50;
  transition: background .35s ease, box-shadow .35s ease, padding .35s ease;
  padding-block: 14px;
}
.site-header.is-solid {
  background: rgba(10, 23, 54, .86);
  -webkit-backdrop-filter: saturate(140%) blur(14px); backdrop-filter: saturate(140%) blur(14px);
  box-shadow: 0 10px 30px -18px rgba(0,0,0,.6);
  padding-block: 8px;
}
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: inline-flex; align-items: center; text-decoration: none; }
.brand img {
  height: clamp(40px, 4vw, 52px); width: auto;
  filter: drop-shadow(0 0 1px rgba(255,255,255,.55)) drop-shadow(0 4px 12px rgba(0,0,0,.35));
  transition: transform .5s cubic-bezier(.2,.8,.2,1.3);
}
.brand:hover img { transform: rotate(-2deg) scale(1.04); }
.site-header.is-solid .brand img { height: clamp(36px, 3.4vw, 44px); }
.site-nav { display: flex; align-items: center; gap: clamp(12px, 2vw, 28px); }
.site-nav a:not(.btn) { color: var(--frost); text-decoration: none; font-weight: 700; font-size: .98rem; position: relative; padding-block: 6px; }
.site-nav a:not(.btn)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; border-radius: 2px;
  background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .3s ease;
}
.site-nav a:not(.btn):hover { color: #fff; }
.site-nav a:not(.btn):hover::after { transform: scaleX(1); }
.nav-toggle { display: none; }

/* ---------- Hero ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  color: var(--snow);
  padding-top: clamp(92px, 7.6vw, 116px);
  background:
    radial-gradient(1200px 520px at 75% 8%, rgba(70, 110, 200, .35), transparent 60%),
    radial-gradient(900px 500px at 10% 0%, rgba(120, 90, 200, .22), transparent 60%),
    linear-gradient(180deg, var(--night-950) 0%, #0b1a3c 45%, #0d1d40 100%);
}
.hero-snow, .inside-snow { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 3; }
.hero-stars i {
  position: absolute; left: var(--x); top: var(--y); width: 3px; height: 3px; border-radius: 50%;
  background: #fff; box-shadow: 0 0 8px 2px rgba(255, 240, 200, .7);
  animation: twinkle 3.2s ease-in-out infinite; animation-delay: var(--d); z-index: 1;
}
@keyframes twinkle { 0%, 100% { opacity: .25; transform: scale(.7); } 50% { opacity: 1; transform: scale(1.4); } }

.hero-copy { position: relative; z-index: 4; text-align: center; max-width: 1200px; }
.hero-copy::before { /* a soft pool of night behind the words, so they read over the tree */
  content: ""; position: absolute; inset: -10% 8% -24%; z-index: -1; pointer-events: none;
  background: radial-gradient(closest-side, rgba(7, 16, 40, .78), rgba(7, 16, 40, .35) 60%, transparent);
}
.eyebrow {
  display: inline-flex; align-items: center; gap: .6em; margin-bottom: 14px;
  font-weight: 800; font-size: .82rem; letter-spacing: .24em; text-transform: uppercase; color: var(--gold);
  padding: .5em 1.1em; border-radius: 999px; background: rgba(244, 198, 106, .1); box-shadow: inset 0 0 0 1px rgba(244, 198, 106, .35);
}
.eyebrow svg { width: .9em; height: .9em; animation: spin-twinkle 4s ease-in-out infinite; }
@keyframes spin-twinkle { 0%, 100% { transform: rotate(0) scale(.9); opacity: .7; } 50% { transform: rotate(90deg) scale(1.15); opacity: 1; } }
.hero h1 {
  font-size: clamp(2.5rem, 4.7vw, 4.7rem); font-weight: 700; line-height: 1.04;
  text-shadow: 0 6px 40px rgba(0, 0, 0, .55);
}
.foil, .script {
  font-style: italic; font-weight: 600;
  background: linear-gradient(100deg, #fff3c4 0%, #f4c66a 28%, #ffe9a8 45%, #e3a43c 62%, #fff0b8 80%, #f4c66a 100%);
  background-size: 250% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: foil 7s ease-in-out infinite;
  padding-right: .06em;
}
@keyframes foil { 0%, 100% { background-position: 0% 0; } 50% { background-position: 100% 0; } }
.hero-lede { max-width: 900px; margin: 14px auto 0; font-size: clamp(1.02rem, 1.3vw, 1.18rem); color: #d5def5; text-shadow: 0 2px 16px rgba(0,0,0,.6); }

.hero-stage {
  position: relative; z-index: 2;
  width: min(100%, 1700px); margin: clamp(-230px, -14vw, -30px) auto 0;
}
.hero-frame { position: relative; aspect-ratio: 16 / 9; }
.hero-photo {
  width: 100%; height: 100%; object-fit: cover;
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 22%, #000 84%, transparent 100%),
                      linear-gradient(90deg, transparent 0%, #000 6%, #000 94%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(180deg, transparent 0%, #000 22%, #000 84%, transparent 100%),
              linear-gradient(90deg, transparent 0%, #000 6%, #000 94%, transparent 100%);
  mask-composite: intersect;
}
.hotspot {
  position: absolute; left: var(--l); top: var(--t); width: var(--w); height: var(--h);
  border-radius: 6px; z-index: 4; text-decoration: none;
  transition: box-shadow .35s ease, transform .35s ease;
}
.hotspot:hover, .hotspot:focus-visible {
  box-shadow: 0 0 0 3px rgba(255, 226, 150, .9), 0 0 60px 12px rgba(255, 210, 110, .45);
}
.hotspot-tag {
  position: absolute; left: 50%; top: -14px; transform: translate(-50%, 6px); opacity: 0;
  display: inline-flex; align-items: center; gap: .45em; white-space: nowrap;
  padding: .5em 1em; border-radius: 999px; font-weight: 800; font-size: .9rem;
  color: #3a2402; background: linear-gradient(110deg, #ffe7a3, var(--gold) 45%, var(--gold-600));
  box-shadow: 0 10px 24px -8px rgba(0,0,0,.5);
  transition: opacity .3s ease, transform .3s cubic-bezier(.2,.8,.2,1.3);
}
.hotspot:hover .hotspot-tag, .hotspot:focus-visible .hotspot-tag { opacity: 1; transform: translate(-50%, -100%); }

/* Desktop: each Buy button sits on the table right under its own book */
.hero-buy { list-style: none; margin: 0; padding: 0; position: absolute; left: 0; right: 0; bottom: 4.2%; height: 0; z-index: 5; }
.hero-buy li { position: absolute; left: var(--cx); bottom: 0; transform: translateX(-50%); }
.hero-buy .btn { font-size: clamp(.86rem, 1.05vw, 1.02rem); box-shadow: 0 14px 30px -10px rgba(0,0,0,.75), inset 0 1px 0 rgba(255,255,255,.7); }
.hero-buy-title { display: none; font-family: var(--f-display); font-variation-settings: "SOFT" 100, "WONK" 1; font-style: italic; color: var(--frost); line-height: 1.2; }
.hero-note { position: relative; z-index: 4; text-align: center; color: #b9c6e6; font-size: .98rem; margin: 26px auto 0; padding-bottom: clamp(90px, 9vw, 130px); display: flex; justify-content: center; align-items: center; gap: .6em; }
.hero-note svg { color: var(--gold); width: 1.2em; height: 1.2em; }

/* snowdrift section dividers */
.drift { position: absolute; left: 0; width: 100%; height: clamp(50px, 7vw, 110px); z-index: 5; pointer-events: none; }
.drift-cream { bottom: -1px; fill: var(--cream); }
.drift-top { top: -1px; fill: var(--cream); }
.drift-sky { bottom: -1px; fill: var(--sky-1); }
.drift-foot { top: -1px; fill: var(--paper); }

/* ---------- Section heads ---------- */
.section-head { text-align: center; max-width: 760px; margin: 0 auto clamp(40px, 6vw, 72px); }
.section-head h2 { font-size: clamp(2.1rem, 4.6vw, 3.6rem); font-weight: 700; color: var(--night-800); margin-bottom: 18px; }
.section-head p:last-child { color: var(--ink-soft); font-size: 1.08rem; }
.section-head-light h2 { color: #fff; }
.section-head-light p:last-child { color: #c7d2ee; }
.kicker {
  display: inline-flex; align-items: center; gap: .55em; margin-bottom: 14px;
  font-weight: 900; font-size: .8rem; letter-spacing: .2em; text-transform: uppercase; color: var(--berry);
}
.kicker svg { width: 1.1em; height: 1.1em; }
.kicker img { width: 26px; height: 26px; }
.kicker-green { color: #3f7d24; }
.section-head-light .kicker { color: var(--gold); }
.script { animation-duration: 9s; }
/* on the light sections, a deeper berry-and-gold foil so the accent words stay readable */
.collection .script, .library .script, .story .script {
  background-image: linear-gradient(100deg, #c9343f 0%, #d9771f 30%, #b97a1c 50%, #c9343f 75%, #d9771f 100%);
}

/* ---------- Collection features ---------- */
.collection {
  position: relative; padding: clamp(60px, 8vw, 110px) 0 clamp(120px, 12vw, 170px);
  background:
    radial-gradient(circle at 1px 1px, rgba(28, 36, 69, .06) 1px, transparent 1.5px) 0 0 / 28px 28px,
    var(--cream);
}
.feature {
  display: grid; grid-template-columns: 1.08fr 1fr; align-items: center;
  gap: clamp(36px, 6vw, 90px); margin-bottom: clamp(80px, 10vw, 140px);
}
.feature:last-child { margin-bottom: 0; }
.feature-flip .feature-art { order: 2; }
.feature-art { position: relative; padding: 0 0 clamp(40px, 6vw, 70px) 0; }
.feature-photo {
  width: 100%; aspect-ratio: 4 / 3; object-fit: cover;
  border-radius: var(--r-lg); box-shadow: var(--shadow-soft);
  border: 8px solid #fff; transform: rotate(-1.4deg);
  transition: transform .6s cubic-bezier(.2,.8,.2,1);
}
.feature-flip .feature-photo { transform: rotate(1.4deg); }
.feature:hover .feature-photo { transform: rotate(0) scale(1.01); }
.cover {
  position: absolute; width: 40%; right: -5%; bottom: 0;
  border-radius: 6px 12px 12px 6px; box-shadow: var(--shadow-book);
  transform: perspective(900px) rotateY(-14deg) rotateX(4deg) rotate(3deg);
  transition: transform .5s cubic-bezier(.2,.8,.2,1);
  will-change: transform;
}
.feature-flip .cover { right: auto; left: -6%; transform: perspective(900px) rotateY(14deg) rotateX(4deg) rotate(-3deg); }
.cover img { border-radius: inherit; }
.cover::before { /* spine shading */
  content: ""; position: absolute; inset: 0 auto 0 0; width: 7%; border-radius: 6px 0 0 6px;
  background: linear-gradient(90deg, rgba(0,0,0,.35), rgba(255,255,255,.18) 45%, rgba(0,0,0,.08));
  z-index: 1;
}
.cover::after { /* glossy sheen */
  content: ""; position: absolute; inset: 0; border-radius: inherit; z-index: 1; pointer-events: none;
  background: linear-gradient(115deg, rgba(255,255,255,.28) 0%, transparent 35%, transparent 70%, rgba(255,255,255,.12) 100%);
}
.feature-badge {
  position: absolute; left: 18px; top: 18px; z-index: 2;
  display: inline-flex; align-items: center; gap: .45em;
  background: rgba(255,255,255,.92); color: var(--accent); font-weight: 900; font-size: .78rem;
  letter-spacing: .14em; text-transform: uppercase; padding: .55em 1em; border-radius: 999px;
  box-shadow: 0 8px 20px -10px rgba(0,0,0,.4); transform: rotate(-2deg);
}
.feature-flip .feature-badge { left: auto; right: 18px; transform: rotate(2deg); }
.feature-series { font-weight: 900; font-size: .8rem; letter-spacing: .2em; text-transform: uppercase; color: var(--accent); margin-bottom: 10px; }
.feature h3 { font-size: clamp(2rem, 3.6vw, 3rem); color: var(--night-800); margin-bottom: 10px; }
.feature-hook { font-family: var(--f-display); font-variation-settings: "SOFT" 100, "WONK" 1; font-style: italic; font-size: 1.35rem; color: var(--accent); margin-bottom: 14px; }
.feature-text > p:not([class]) { color: var(--ink-soft); }
.facts { list-style: none; padding: 0; margin: 22px 0 28px; display: flex; flex-wrap: wrap; gap: 8px; }
.facts li {
  font-weight: 800; font-size: .86rem; color: var(--accent); background: color-mix(in srgb, var(--accent) 10%, #fff);
  padding: .4em .9em; border-radius: 999px; box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--accent) 22%, transparent);
}
.feature-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Peek inside ---------- */
.inside {
  position: relative; isolation: isolate; overflow: hidden;
  padding: clamp(130px, 14vw, 190px) 0 clamp(140px, 14vw, 190px);
  color: var(--snow);
  background:
    radial-gradient(900px 400px at 50% 0%, rgba(80, 120, 220, .28), transparent 70%),
    linear-gradient(180deg, var(--night-900), var(--night-800));
}
.inside .wrap { position: relative; z-index: 4; }
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 36px; }
.chip {
  border: 0; cursor: pointer; border-radius: 999px; padding: .6em 1.15em; font-weight: 800; font-size: .95rem;
  color: var(--frost); background: rgba(255,255,255,.07); box-shadow: inset 0 0 0 1.5px rgba(223, 233, 255, .22);
  transition: background .25s ease, color .25s ease, transform .25s ease;
}
.chip:hover { transform: translateY(-2px); background: rgba(255,255,255,.12); }
.chip.is-on { color: #3a2402; background: var(--gold); box-shadow: none; }

.spreads-shell { position: relative; z-index: 4; }
.spreads {
  list-style: none; margin: 0; padding: 10px max(var(--gutter), calc((100vw - var(--wrap)) / 2 + var(--gutter))) 30px;
  display: grid; grid-auto-flow: column; grid-auto-columns: min(78vw, 620px); gap: clamp(18px, 3vw, 34px);
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: max(var(--gutter), calc((100vw - var(--wrap)) / 2 + var(--gutter)));
  scrollbar-width: none;
}
.spreads::-webkit-scrollbar { display: none; }
.spread { scroll-snap-align: start; transition: opacity .35s ease, transform .35s ease; }
.spread[hidden] { display: none; }
.spread button { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; border-radius: 10px; }
.spread-page {
  display: block; position: relative; border-radius: 10px; overflow: hidden;
  box-shadow: 0 30px 60px -24px rgba(0,0,0,.8), 0 0 0 1px rgba(255,255,255,.06);
  background: #fbf5ea; padding: 10px;
  transition: transform .5s cubic-bezier(.2,.8,.2,1), box-shadow .5s ease;
}
.spread-page img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 4px; }
.spread-page::after { /* the book's gutter: a soft fold down the middle */
  content: ""; position: absolute; top: 10px; bottom: 10px; left: 50%; width: 9%; transform: translateX(-50%);
  background: linear-gradient(90deg, transparent, rgba(0,0,0,.18) 42%, rgba(0,0,0,.32) 50%, rgba(255,255,255,.14) 54%, transparent);
  pointer-events: none;
}
.spread button:hover .spread-page { transform: translateY(-6px) rotate(-.4deg); box-shadow: 0 40px 70px -24px rgba(0,0,0,.85), 0 0 0 2px rgba(244, 198, 106, .55); }
.spread p { margin: 14px 4px 0; color: #c7d2ee; font-size: .98rem; }
.spread p b { display: block; font-size: .74rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); margin-bottom: 2px; }
.spread-nav {
  position: absolute; top: calc(50% - 30px); z-index: 5; width: 54px; height: 54px; border-radius: 50%; border: 0; cursor: pointer;
  display: grid; place-items: center; color: var(--night-900); background: var(--gold);
  box-shadow: 0 12px 28px -10px rgba(0,0,0,.7); transition: transform .25s ease, opacity .25s ease;
}
.spread-nav svg { width: 22px; height: 22px; }
.spread-nav.prev { left: max(10px, calc((100vw - var(--wrap)) / 2 - 30px)); }
.spread-nav.prev svg { transform: rotate(180deg); }
.spread-nav.next { right: max(10px, calc((100vw - var(--wrap)) / 2 - 30px)); }
.spread-nav:hover { transform: scale(1.08); }
.spread-nav[disabled] { opacity: 0; pointer-events: none; }
.inside-cta { text-align: center; margin-top: 40px; }
.inside-cta p { font-family: var(--f-display); font-variation-settings: "SOFT" 100, "WONK" 1; font-style: italic; font-size: 1.5rem; color: #fff; margin-bottom: 16px; }

/* ---------- Library ---------- */
.library {
  position: relative; overflow: hidden; padding: clamp(70px, 8vw, 110px) 0 clamp(90px, 10vw, 140px);
  background: linear-gradient(180deg, var(--sky-1) 0%, var(--sky-2) 38%, #fffdf6 100%);
}
.cloud {
  position: absolute; width: 260px; height: 70px; border-radius: 999px; background: #fff; opacity: .85;
  filter: drop-shadow(0 10px 20px rgba(80, 130, 190, .12)); animation: drift-cloud 60s linear infinite;
}
.cloud::before, .cloud::after { content: ""; position: absolute; background: #fff; border-radius: 50%; }
.cloud::before { width: 110px; height: 110px; left: 40px; top: -55px; }
.cloud::after { width: 80px; height: 80px; left: 130px; top: -36px; }
.c1 { top: 70px; left: -280px; }
.c2 { top: 190px; left: -280px; transform: scale(.65); animation-duration: 80s; animation-delay: -30s; }
.c3 { top: 40px; left: -280px; transform: scale(.45); animation-duration: 95s; animation-delay: -60s; }
@keyframes drift-cloud { to { translate: calc(100vw + 560px) 0; } }
.library .wrap { position: relative; z-index: 1; }

.library-banner {
  display: grid; grid-template-columns: 1.25fr 1fr; align-items: stretch;
  background: #fff; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-soft);
  margin-bottom: clamp(50px, 7vw, 80px);
}
.library-banner img { width: 100%; height: 100%; object-fit: cover; min-height: 320px; }
.library-banner-text { padding: clamp(28px, 4vw, 52px); display: flex; flex-direction: column; justify-content: center; }
.library-banner-text h3 { font-size: clamp(1.8rem, 3vw, 2.4rem); color: var(--night-800); margin-bottom: 22px; }
.series-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.series-list li { display: flex; align-items: center; gap: 14px; color: var(--ink-soft); }
.series-list b { display: block; color: var(--ink); font-size: 1.08rem; line-height: 1.3; }
.dot { width: 14px; height: 14px; flex: none; border-radius: 50%; background: var(--c); box-shadow: 0 0 0 4px color-mix(in srgb, var(--c) 20%, transparent); }

.books { --gap: clamp(18px, 2.4vw, 28px); list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: var(--gap); }
.book-card { flex: 0 1 calc((100% - 2 * var(--gap)) / 3); max-width: 380px; }
.book-card {
  background: #fff; border-radius: var(--r); padding: 18px 18px 22px; text-align: center;
  box-shadow: 0 16px 40px -24px rgba(20, 40, 90, .45); display: flex; flex-direction: column; align-items: center;
  border-top: 6px solid var(--c); transition: transform .4s cubic-bezier(.2,.8,.2,1), box-shadow .4s ease;
}
.book-card:hover { transform: translateY(-8px) rotate(-.6deg); box-shadow: 0 26px 50px -24px rgba(20, 40, 90, .55); }
.book-cover { width: 100%; aspect-ratio: 1; display: grid; place-items: center; margin-bottom: 16px; }
.book-cover img { max-height: 100%; width: auto; border-radius: 4px 8px 8px 4px; box-shadow: 0 16px 28px -12px rgba(0,0,0,.45); transition: transform .5s cubic-bezier(.2,.8,.2,1); }
.book-card:hover .book-cover img { transform: translateY(-4px) scale(1.03); }
.book-series { font-weight: 900; font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: var(--c); margin-bottom: 6px; }
.book-card h3 { font-size: 1.35rem; color: var(--night-800); margin-bottom: 4px; }
.book-sub { font-weight: 700; color: var(--ink-soft); font-size: .92rem; margin-bottom: 10px; }
.book-blurb { color: var(--ink-soft); font-size: .93rem; line-height: 1.55; flex: 1; }
.book-card .btn { margin-top: 6px; font-size: .95rem; }

.soon { margin-top: clamp(50px, 7vw, 80px); text-align: center; }
.soon-title { display: inline-flex; align-items: center; gap: .5em; font-size: clamp(1.4rem, 2.4vw, 1.9rem); color: var(--night-800); margin-bottom: 26px; }
.soon-title svg { color: var(--gold-600); }
.soon-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.soon-list li { background: rgba(255,255,255,.7); border-radius: var(--r); padding: 14px 14px 16px; box-shadow: inset 0 0 0 2px rgba(28, 36, 69, .06); position: relative; }
.soon-list img { border-radius: 12px; width: 100%; aspect-ratio: 480 / 449; object-fit: cover; filter: saturate(.92); }
.soon-list span { display: block; margin-top: 10px; font-weight: 800; color: var(--ink); }
.soon-list li::before {
  content: "Coming soon"; position: absolute; top: 22px; right: 4px; z-index: 1; transform: rotate(6deg);
  background: var(--berry); color: #fff; font-weight: 900; font-size: .7rem; letter-spacing: .12em; text-transform: uppercase;
  padding: .45em .85em; border-radius: 999px; box-shadow: 0 6px 14px -6px rgba(0,0,0,.4);
}

/* ---------- Story / publisher ---------- */
.story { padding: clamp(70px, 9vw, 120px) 0 clamp(60px, 7vw, 100px); background: var(--paper); position: relative; }
.story-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(36px, 6vw, 80px); align-items: center; }
.story-text h2 { font-size: clamp(2.1rem, 4.4vw, 3.4rem); color: var(--night-800); margin-bottom: 22px; }
.story-text > p { color: var(--ink-soft); font-size: 1.06rem; }
.story-text > p.story-lead { font-family: var(--f-display); font-variation-settings: "SOFT" 100, "WONK" 1; font-size: clamp(1.25rem, 2vw, 1.5rem); line-height: 1.4; color: var(--night-800); }
.publisher-facts { list-style: none; margin: 0 0 26px; padding: 18px 0 0; border-top: 1px solid rgba(244, 198, 106, .25); display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.publisher-facts li { font-size: .82rem; color: #c7d2ee; line-height: 1.3; }
.publisher-facts b { display: block; font-family: var(--f-display); font-variation-settings: "SOFT" 100, "WONK" 1; font-size: 1.6rem; color: var(--gold); margin-bottom: 2px; }
.quote { margin: 32px 0 0; padding: 26px 30px; border-radius: var(--r); background: #fff; box-shadow: var(--shadow-soft); position: relative; }
.quote::before { content: "“"; position: absolute; top: -34px; left: 18px; font-family: var(--f-display); font-size: 7rem; line-height: 1; color: var(--gold); }
.quote p { font-family: var(--f-display); font-variation-settings: "SOFT" 100, "WONK" 1; font-style: italic; font-size: clamp(1.3rem, 2.2vw, 1.65rem); line-height: 1.3; color: var(--night-800); margin: 0 0 10px; }
.quote cite { font-style: normal; font-weight: 800; color: var(--berry); letter-spacing: .04em; }
.publisher {
  position: relative; border-radius: var(--r-lg); padding: clamp(30px, 4vw, 46px); text-align: center; color: var(--snow);
  background:
    radial-gradient(500px 240px at 50% 0%, rgba(244, 198, 106, .22), transparent 70%),
    linear-gradient(160deg, var(--night-700), var(--night-900));
  box-shadow: 0 30px 60px -30px rgba(6, 15, 38, .7);
}
.publisher::after { content: ""; position: absolute; inset: 10px; border-radius: calc(var(--r-lg) - 8px); border: 1.5px solid rgba(244, 198, 106, .35); pointer-events: none; }
.publisher-seal { width: 76px; height: 76px; margin: 0 auto 18px; border-radius: 50%; display: grid; place-items: center; background: radial-gradient(circle at 35% 30%, #fff1c2, var(--gold) 45%, var(--gold-700)); color: var(--night-900); box-shadow: 0 10px 24px -8px rgba(0,0,0,.6), inset 0 0 0 4px rgba(255,255,255,.35); }
.publisher-seal svg { width: 34px; height: 34px; }
.publisher-label { font-size: .78rem; font-weight: 900; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); margin-bottom: 6px; }
.publisher-name { font-family: var(--f-display); font-variation-settings: "SOFT" 100, "WONK" 1; font-weight: 700; font-size: clamp(1.7rem, 2.8vw, 2.2rem); line-height: 1.1; margin-bottom: 14px; }
.publisher-copy { color: #c7d2ee; font-size: .98rem; margin-bottom: 22px; }

/* ---------- Footer ---------- */
.site-footer { position: relative; background: var(--night-900); color: #c7d2ee; padding: clamp(90px, 10vw, 130px) 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.footer-brand p { margin-top: 16px; max-width: 320px; }
.footer-h { font-family: var(--f-body); font-size: .8rem; font-weight: 900; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); margin-bottom: 14px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-footer a { text-decoration: none; }
.site-footer ul a:hover, .footer-base a:hover { color: #fff; text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 4px; }
.footer-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; margin-top: 48px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.1); font-size: .9rem; color: #8f9bbd; }
.footer-base p { margin: 0; }
.footer-base a { color: var(--frost); }

/* ---------- Lightbox ---------- */
.lightbox { border: 0; padding: 0; background: transparent; max-width: min(96vw, 1400px); width: 100%; color: #fff; }
.lightbox::backdrop { background: rgba(4, 10, 26, .88); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.lightbox img { width: 100%; max-height: 82vh; object-fit: contain; border-radius: 10px; box-shadow: 0 30px 80px rgba(0,0,0,.6); }
.lightbox p { text-align: center; margin: 14px 0 0; font-family: var(--f-display); font-style: italic; font-size: 1.2rem; }
.lightbox-close { position: absolute; top: 8px; right: 8px; z-index: 1; width: 46px; height: 46px; border-radius: 50%; border: 0; cursor: pointer; font-size: 1.8rem; line-height: 1; background: var(--gold); color: var(--night-900); }

/* ---------- Reveal on scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(34px); transition: opacity .9s ease, transform .9s cubic-bezier(.2,.8,.2,1); }
.js .reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1020px) {
  .site-nav a:not(.btn) { font-size: .92rem; }
  .feature, .feature-flip { grid-template-columns: 1fr; }
  .feature-flip .feature-art { order: 0; }
  .feature-art { max-width: 640px; margin-inline: auto; width: 100%; }
  .feature-text { max-width: 640px; margin-inline: auto; }
  .story-grid { grid-template-columns: 1fr; }
  .library-banner { grid-template-columns: 1fr; }
  .soon-list { grid-template-columns: repeat(2, 1fr); }
  .book-card { flex-basis: calc((100% - var(--gap)) / 2); }
}
@media (max-width: 560px) {
  .book-card { flex-basis: 100%; max-width: 420px; }
}
@media (max-width: 860px) {
  .nav-toggle {
    display: grid; gap: 5px; width: 46px; height: 46px; place-content: center; border: 0; cursor: pointer;
    border-radius: 50%; background: rgba(255,255,255,.1); box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.2);
  }
  .nav-toggle span:not(.sr-only) { width: 20px; height: 2px; border-radius: 2px; background: #fff; transition: transform .3s ease, opacity .3s ease; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .site-nav {
    position: fixed; inset: 0 0 auto; top: 0; padding: 92px var(--gutter) 28px; flex-direction: column; align-items: stretch; gap: 4px;
    background: rgba(8, 18, 44, .97); transform: translateY(-105%); transition: transform .45s cubic-bezier(.2,.8,.2,1); z-index: -1;
    box-shadow: 0 30px 60px -20px rgba(0,0,0,.7);
  }
  .site-nav.is-open { transform: none; }
  .site-nav a:not(.btn) { font-size: 1.15rem; padding: 12px 4px; border-bottom: 1px solid rgba(255,255,255,.08); }
  .site-nav .btn { margin-top: 14px; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .hero-stage { margin-top: 18px; }
  .hero-photo {
    -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 14%, #000 88%, transparent 100%);
    mask-image: linear-gradient(180deg, transparent 0%, #000 14%, #000 88%, transparent 100%);
  }
  .hotspot-tag { display: none; }
  .hero-buy { position: static; height: auto; display: grid; grid-template-columns: 1fr; gap: 12px; margin-top: 8px; padding-inline: var(--gutter); }
  .hero-buy li { position: static; transform: none; display: flex; align-items: center; justify-content: space-between; gap: 12px; background: rgba(255,255,255,.06); border-radius: 18px; padding: 12px 12px 12px 18px; box-shadow: inset 0 0 0 1px rgba(255,255,255,.1); text-align: left; }
  .hero-buy-title { display: flex; font-size: 1.02rem; }
  .hero-buy-title br { display: none; }
  .hero-buy .btn { font-size: .9rem; padding: .7em 1em; }
  .cover { width: 42%; right: -2%; }
  .feature-flip .cover { left: -2%; }
  .feature-badge { font-size: .68rem; }
  .spreads { grid-auto-columns: 84vw; }
  .spread-nav { display: none; }
  .soon-list { gap: 12px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 420px) {
  .hero-buy li { flex-direction: column; align-items: stretch; text-align: center; padding: 14px; }
  .hero-buy-title { justify-content: center; }
  .feature-actions .btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
}
