/* ============================================================
   Conscious Creations Publishing — consciouscreations.pro
   World A: warm editorial luxury. Senior-first: 20px body floor,
   WCAG AA contrast everywhere, subtle motion only, full
   prefers-reduced-motion fallback. Anchor: Claude Design export
   2026-07-12 (approved stylescape) + award-winning-web-design skill.
   ============================================================ */

/* ---------- fonts (self-hosted, match the book covers) ---------- */
@font-face { font-family: 'Archivo Black'; src: url('../fonts/ArchivoBlack-400-latin.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Archivo'; src: url('../fonts/Archivo-700-latin.woff2') format('woff2'); font-weight: 700; font-display: swap; }
@font-face { font-family: 'Archivo'; src: url('../fonts/Archivo-900-latin.woff2') format('woff2'); font-weight: 900; font-display: swap; }
@font-face { font-family: 'Libre Franklin'; src: url('../fonts/LibreFranklin-400-latin.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Libre Franklin'; src: url('../fonts/LibreFranklin-600-latin.woff2') format('woff2'); font-weight: 600; font-display: swap; }
@font-face { font-family: 'Libre Franklin'; src: url('../fonts/LibreFranklin-700-latin.woff2') format('woff2'); font-weight: 700; font-display: swap; }
@font-face { font-family: 'Fraunces'; src: url('../fonts/Fraunces-italic-600.woff2') format('woff2'); font-weight: 600; font-style: italic; font-display: swap; }

/* ---------- tokens ---------- */
:root {
  --green-deep: #0B5031;
  --green: #0E6A3E;
  --green-ink: #0A3D26;
  --cream: #F7F2E7;
  --paper: #FFFDF7;
  --ink: #14231B;
  --ink-soft: #3C4A42;
  --orange: #E8912A;
  --gold: #FFB84D;
  --white: #FFFFFF;
  --line: #E4DCC9;
  --hero-a: #071510;
  --hero-b: #0C3A25;
  --font-display: 'Archivo Black', 'Archivo', sans-serif;
  --font-head: 'Archivo', sans-serif;
  --font-body: 'Libre Franklin', sans-serif;
  --wrap: 1140px;
  --radius: 18px;
  --shadow-card: 0 10px 30px rgba(20, 35, 27, 0.10);
  --shadow-book: 0 24px 48px rgba(0, 0, 0, 0.38);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ---------- base ---------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 20px;            /* senior floor */
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--green-deep); text-underline-offset: 3px; }
a:focus-visible, button:focus-visible, input:focus-visible {
  outline: 3px solid var(--green);
  outline-offset: 3px;
  border-radius: 4px;
}
.skip-link {
  position: absolute; left: -999px; top: 8px; z-index: 100;
  background: var(--green-deep); color: #fff; padding: 12px 20px;
  border-radius: 8px; font-weight: 700; text-decoration: none;
}
.skip-link:focus { left: 8px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
@media (max-width: 600px) { .wrap { padding: 0 36px; } }
.section { padding: 88px 0; }
h1, h2, h3 { font-family: var(--font-head); font-weight: 900; line-height: 1.12; margin: 0 0 0.5em; letter-spacing: -0.01em; }
h1 { font-family: var(--font-display); font-weight: 400; }
p { margin: 0 0 1em; max-width: 62ch; }
.center { text-align: center; }
.eyebrow {
  font-family: var(--font-head); font-weight: 700; font-size: 17px;
  letter-spacing: 0.18em; text-transform: uppercase;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-block; font-family: var(--font-head); font-weight: 700;
  font-size: 19px; text-decoration: none; border: 0; cursor: pointer;
  border-radius: 999px; padding: 16px 32px; min-height: 44px;
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out), background-color 0.2s;
}
.btn-green { background: var(--green-deep); color: #fff; }
.btn-green:hover { background: var(--green); box-shadow: 0 8px 22px rgba(11, 80, 49, 0.35); transform: translateY(-2px); }
/* Accessibility punch-list fix: dark ink on orange (white-on-orange fails AA) */
.btn-orange { background: var(--orange); color: var(--green-ink); }
.btn-orange:hover { background: var(--gold); box-shadow: 0 8px 22px rgba(232, 145, 42, 0.4); transform: translateY(-2px); }
.btn-ghost-light { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,0.65); }
.btn-ghost-light:hover { border-color: #fff; background: rgba(255,255,255,0.08); }
.link-light { color: #fff; font-weight: 700; }
@media (prefers-reduced-motion: reduce) { .btn { transition: none; } .btn:hover { transform: none; } }

/* ---------- header / nav ---------- */
.site-header {
  background: var(--paper); border-bottom: 1px solid var(--line);
  position: sticky; top: 0; z-index: 50;
}
section[id], footer[id] { scroll-margin-top: 112px; }
@media (max-width: 768px) {
  .site-header { position: fixed; left: 0; right: 0; top: 0; }
  body { padding-top: 97px; }
}
.nav { display: flex; align-items: center; gap: 22px; min-height: 96px; }
.nav-links a, .nav .btn { white-space: nowrap; }
.brand { display: flex; align-items: center; text-decoration: none; margin-right: auto; }
/* Brand lockup composed from real assets: head mark + gradient wordmark
   sitting DIRECTLY on the cream header — logo/brand text is exempt from
   WCAG contrast (SC 1.4.3), so no chip needed. */
.brand { gap: 13px; }
.brand-head { height: 56px; width: auto; }
.brand-word { height: 22px; width: auto; }  /* retrimmed asset: letters fill the full height now */
@media (max-width: 1180px) { .brand-head { height: 44px; } .brand-word { height: 17px; } }
@media (max-width: 560px) { .brand-head { height: 40px; } .brand-word { height: 15px; } }
.nav-links { display: flex; align-items: center; gap: 26px; list-style: none; margin: 0; padding: 0; }
.nav-links a { font-family: var(--font-head); font-weight: 700; font-size: 18px; color: var(--ink); text-decoration: none; padding: 8px 2px; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--green-deep); text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: 6px; }
.nav .btn { padding: 12px 24px; font-size: 18px; }
.nav-toggle { display: none; }
@media (max-width: 880px) {
  .nav-links, .nav > .btn { display: none; }
  .nav-toggle {
    display: inline-flex; align-items: center; justify-content: center;
    width: 48px; height: 48px; border-radius: 10px; border: 2px solid var(--ink);
    background: transparent; font-size: 22px; cursor: pointer; color: var(--ink);
  }
  .nav.open .nav-links {
    display: flex; flex-direction: column; align-items: flex-start;
    position: absolute; top: 84px; left: 0; right: 0;
    background: var(--paper); border-bottom: 1px solid var(--line);
    padding: 18px 24px 24px; gap: 16px;
  }
  .nav.open > .btn { display: inline-block; position: absolute; top: calc(84px + 250px); left: 24px; }
}

/* ---------- hero: warm paper editorial stage ----------
   The house is neutral; the BOOKS are the only saturated color on screen.
   Logo colors survive as light on paper: warm gold window-light from the
   upper-left, whisper-faint blue/green at the edges. Ink type on cream =
   the most senior-friendly register there is (the brand promise, kept). */
.hero {
  position: relative; overflow: hidden; color: var(--ink);
  background:
    radial-gradient(58% 72% at 6% 0%, rgba(255, 226, 60, 0.14) 0%, transparent 56%),
    radial-gradient(46% 60% at 26% 18%, rgba(142, 217, 115, 0.11) 0%, transparent 58%),
    radial-gradient(52% 62% at 100% 100%, rgba(0, 176, 240, 0.07) 0%, transparent 60%),
    linear-gradient(160deg, #FBF7EC 0%, #F4EEDF 100%);
}
/* ── THE ENDPAPER: full-canvas collage of real generated puzzles,
      ink on cream, density at edges/upper-right, empty behind content.
      Two parallax layers; gold on exactly three moments. ── */
.endpaper {
  position: absolute; inset: -4%; width: 108%; height: 108%;
  pointer-events: none; will-change: transform;
  -webkit-mask-image: linear-gradient(180deg, #000 94%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 94%, transparent 100%);
}
.ep-far, .ep-near { opacity: 1; }
.ep-far [fill="#3B4A40"] { fill: #DFDDD2; }
.ep-far [stroke="#3B4A40"] { stroke: #DFDDD2; }
.ep-far [stroke="#0B5031"] { stroke: #D5DACD; }
.ep-near [fill="#3B4A40"] { fill: #D8D6CA; }
.ep-near [stroke="#3B4A40"] { stroke: #D8D6CA; }
.ep-near [stroke="#0B5031"] { stroke: #CDD5C7; }
/* the solve ink itself: warm gold, full strength against the faint print */
.endpaper [fill="#C99026"] { fill: #B27C14; }
.endpaper [stroke="#C99026"] { stroke: #B27C14; }
/* re-zone the beat puzzles into open viewport bands (pre-rotation coords —
   the whole endpaper carries rotate(12 800 500)) */
#epg-sud { transform: translate(756px, 52px); }
#epg-ws { transform: translate(1258px, 539px) scale(0.8); }
#ep-ws-ring { stroke-width: 3.4; }
#ep-maze-sol { stroke-width: 2.6; }
#epg-maze { transform: translate(250px, 576px); }
#epg-cross { transform: translate(920px, 556px) scale(0.55); }
.ep-crossl { opacity: 0; }
/* solve-marks: unsolved by default, driven by the scroll scrub;
   pre-solved when motion is reduced or JS is absent late enough */
.ep-beat, .ep-crypt { opacity: 0; }
#ep-ws-ring, #ep-maze-sol, #ep-cre-ring { stroke-dasharray: 1; stroke-dashoffset: 1; }
.presolved .ep-beat, .presolved .ep-crypt, .presolved .ep-crossl { opacity: 1 !important; }
.presolved #ep-ws-ring, .presolved #ep-maze-sol, .presolved #ep-cre-ring { stroke-dashoffset: 0 !important; }
@media (prefers-reduced-motion: reduce) {
  .ep-beat, .ep-crypt, .ep-crossl { opacity: 1; }
  #ep-ws-ring, #ep-cre-ring { stroke-dashoffset: 0; }
  #ep-maze-sol { stroke-dashoffset: 0.34; }
}
/* THE HEAD: left anchor behind the text column, glimmer travels on scroll */
.hero-head {
  position: absolute; left: -14%; top: 4%; height: 92%; aspect-ratio: 350/360;
  pointer-events: none; z-index: 0;
}
.hero-head { opacity: 1; }
.hh-base path { stroke: #E4E1D5; stroke-width: 2; fill: none; vector-effect: non-scaling-stroke; }
.hh-glimmer path {
  stroke: url(#hh-grad); stroke-width: 2.6; fill: none; vector-effect: non-scaling-stroke;
  stroke-dasharray: 0.14 0.86; stroke-dashoffset: var(--hh, 1); opacity: 0.45;
}
@media (prefers-reduced-motion: reduce) { .hh-glimmer { display: none; } }
/* the CREATIONS fragment near the ladder */
.ladder { position: relative; }
@media (max-width: 768px) {
  /* mobile is a composition, not a crop: logo motif + one solve moment,
     the desktop puzzle field would run straight through the headline */
  #epg-sud, #epg-ws, #epg-cross, #epg-maze { display: none; }
  #epg-crypt { transform: translate(742px, 790px) scale(0.5); }
  .endpaper {
    -webkit-mask-image: linear-gradient(180deg, #000 96%, transparent 100%);
    mask-image: linear-gradient(180deg, #000 96%, transparent 100%);
  }
}
.ep-settle { opacity: 0; }
@media (prefers-reduced-motion: no-preference) {
  .ep-settle { animation: epSettle 0.8s ease-out forwards; }
  .ep-settle:nth-of-type(1) { animation-delay: 1.6s; }
  text.ep-settle + text.ep-settle { animation-delay: 2.6s; }
  @keyframes epSettle { to { opacity: 1; } }
}
@media (prefers-reduced-motion: reduce) { .ep-settle { opacity: 1; } }

/* idle life: the warm wash drifts almost imperceptibly (60s) */
.hero-wash {
  position: absolute; width: 1200px; height: 1100px; left: -14%; top: -30%;
  pointer-events: none; will-change: transform;
  background: radial-gradient(circle, rgba(255, 226, 60, 0.10) 0%, rgba(142, 217, 115, 0.07) 45%, transparent 70%);
}
@media (prefers-reduced-motion: no-preference) {
  .hero-wash { animation: washDrift 60s ease-in-out infinite alternate; }
  @keyframes washDrift { to { translate: 34px 22px; } }
}
.hero-inner {
  position: relative; display: grid; grid-template-columns: 1.02fr 0.98fr;
  gap: 48px; align-items: center; padding: 88px 0 250px;
}
.hero::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 90px;
  background: linear-gradient(180deg, rgba(244,238,223,0) 0%, #F4EEDF 100%);
  pointer-events: none;
}
.hero h1 {
  font-family: var(--font-head); font-weight: 900;
  font-size: clamp(2.5rem, 5.5vw, 4.55rem); line-height: 1.06; letter-spacing: -0.015em;
  margin-bottom: 26px; color: var(--ink); text-wrap: balance;
}
.hero h1 .accent { font-family: 'Fraunces', serif; font-style: italic; font-weight: 600; letter-spacing: 0; }
.hero-sub { font-size: 22px; color: var(--ink-soft); max-width: 46ch; }
/* the pencil underline: thin, pencil-gray, exactly the width of the word */
.hand-underline { position: relative; white-space: nowrap; }
.hand-underline svg { position: absolute; left: 0; bottom: -0.16em; width: 100%; height: 0.22em; }
.hand-underline svg path { stroke: #8F8878; stroke-width: 4.5; fill: none; stroke-linecap: round; }
@media (prefers-reduced-motion: no-preference) {
  .enter { opacity: 0; transform: translateY(16px); animation: enterUp 0.7s var(--ease-out) forwards; animation-delay: var(--d, 0ms); }
  @keyframes enterUp { to { opacity: 1; transform: none; } }
  .hand-underline svg path { stroke-dasharray: 130; stroke-dashoffset: 130; animation: drawLine 0.4s ease-out 0.75s forwards; }
  @keyframes drawLine { to { stroke-dashoffset: 0; } }
}
/* inline signup — no card on paper */
.hero-signup { margin-top: 40px; max-width: 560px; }
.hero-signup h2 { font-size: 22px; margin-bottom: 14px; }
.trust-line { font-size: 17px; color: var(--ink-soft); margin-top: 14px; }

/* ---------- the shelf ----------
   Books grounded on a surface with contact shadows; ghosted spines of
   Books 2-4 wait behind in series colors — the shelf fills as we publish. */
.book-stage { position: relative; min-height: 500px; perspective: 1400px; }
.shelf-line {
  position: absolute; left: 2%; right: 2%; bottom: 34px; height: 2px;
  background: linear-gradient(90deg, transparent, rgba(20, 35, 27, 0.28) 12%, rgba(20, 35, 27, 0.28) 88%, transparent);
}
.book3d {
  position: absolute; display: block; border-radius: 6px;
  transform-style: preserve-3d; will-change: transform; cursor: pointer;
}
.book3d img { border-radius: 6px; transition: transform 0.15s var(--ease-out); }
.book3d:hover img, .book3d:focus-visible img { transform: translateY(-6px); }
.book3d:focus-visible { outline: 3px solid var(--green); outline-offset: 5px; }
.book3d::after {
  content: ""; position: absolute; top: 1.5%; bottom: 1.5%; right: -9px;
  width: 9px; background: linear-gradient(90deg, #d9d4c4, #f4f0e2 60%, #b9b4a4);
  border-radius: 0 3px 3px 0; transform: translateZ(-2px);
}
.book-a { left: 0; bottom: 36px; width: 272px; z-index: 3; filter: drop-shadow(0 28px 22px rgba(20,35,27,0.32)); }
.book-b { right: 50px; bottom: 36px; width: 216px; z-index: 2; filter: drop-shadow(0 20px 16px rgba(20,35,27,0.22)); }
@media (prefers-reduced-motion: no-preference) {
  .book-a { transform: rotateY(-7deg) rotateZ(-1.5deg); }
  .book-b { transform: rotateY(11deg) rotateZ(2deg); }
}
@media (prefers-reduced-motion: reduce) {
  .book-a { transform: rotateY(-7deg) rotateZ(-1.5deg); }
  .book-b { transform: rotateY(11deg) rotateZ(2deg); }
}
/* REAL spines from the cover-wrap design system — the shelf that fills.
   Back row stands taller than the face-out books, as shelves do. */
.spines { position: absolute; right: 0; bottom: 36px; width: 76px; height: 420px; z-index: 1; will-change: transform; }
.spine { position: absolute; bottom: 0; width: 24px; opacity: 0.6; }
.spine img { border-radius: 2px 4px 4px 2px; box-shadow: 5px 8px 12px rgba(20, 35, 27, 0.18); }
.spine-m { right: 52px; }
.spine-h { right: 26px; }
.spine-x { right: 0; }
.soon-chip {
  position: absolute; right: 0; bottom: 8px; width: 76px; text-align: center;
  background: var(--ink); color: #fff; font-family: var(--font-head); font-weight: 700;
  font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase;
  padding: 5px 0; border-radius: 999px; opacity: 0.9; z-index: 4;
}
@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; padding: 60px 0 300px; }
  .book-stage { min-height: 430px; margin-top: 12px; }
  .book-a { left: 2%; width: 250px; } .book-b { right: 84px; width: 200px; }
  .spines { width: 68px; }
  .spine { width: 21px; }
  .spine-m { right: 47px; } .spine-h { right: 23px; } .spine-x { right: 0; }
}
@media (max-width: 560px) {
  .book-stage { min-height: 360px; }
  .book-a { width: 212px; } .book-b { right: 4%; width: 178px; }
  .spines, .soon-chip { display: none; }
  .desk-corner { display: none; }
}

/* ---------- SIGNATURE MOMENT: the book opens on scroll ----------
   Pinned ~2.4 viewports right after the hero. Book 1 rises to center and
   the cover swings open on a real page; three captions land in sequence.
   Reduced-motion / no-JS: static open book, all captions visible. */
.openbook { position: relative; background: linear-gradient(180deg, #F4EEDF 0%, #FBF7EC 100%); }
@media (prefers-reduced-motion: no-preference) {
  .openbook.pinned { height: 240vh; }
  .openbook.pinned .ob-sticky { position: sticky; top: 0; min-height: 100vh; display: flex; align-items: center; }
}
.ob-sticky { padding: 56px 0; width: 100%; }
.ob-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.ob-scene { position: relative; width: min(360px, 82%); margin: 0 auto; perspective: 1600px; }
.ob-page {
  display: block; width: 100%; border-radius: 4px 10px 10px 4px;
  border: 1px solid var(--line);
  box-shadow: 0 26px 50px rgba(20, 35, 27, 0.28);
}
.ob-cover {
  position: absolute; inset: 0; transform-origin: left center;
  transform-style: preserve-3d; will-change: transform;
}
.ob-cover img { border-radius: 4px 10px 10px 4px; backface-visibility: hidden; }
.ob-cover::after {
  content: ""; position: absolute; inset: 0; background: #F3EEDF;
  border-radius: 10px 4px 4px 10px; transform: rotateY(180deg); backface-visibility: hidden;
}
@media (prefers-reduced-motion: reduce) { .ob-cover { transform: rotateY(-138deg); } }
.ob-copy h2 { font-size: clamp(1.8rem, 3vw, 2.6rem); }
.ob-cap { opacity: 0.14; transform: translateY(10px); transition: opacity 0.5s var(--ease-out), transform 0.5s var(--ease-out); }
.ob-cap.on { opacity: 1; transform: none; }
.ob-cap p, p.ob-cap { font-size: 22px; color: var(--ink-soft); }
@media (prefers-reduced-motion: reduce) { .ob-cap { opacity: 1; transform: none; } }
@media (max-width: 880px) {
  .ob-inner { grid-template-columns: 1fr; gap: 32px; }
  .ob-scene { width: min(280px, 74%); }
}

/* ---------- forms ---------- */
.email-form { display: flex; gap: 12px; flex-wrap: wrap; }
.email-form input[type="email"] {
  flex: 1 1 220px; min-height: 52px; font-family: var(--font-body); font-size: 19px;
  padding: 12px 18px; border: 2px solid var(--ink-soft); border-radius: 12px; background: #fff; color: var(--ink);
}
.email-form input[type="email"]::placeholder { color: #5c6a62; }
.form-note { font-size: 17px; color: var(--ink-soft); margin-top: 12px; }
.form-status { font-weight: 700; margin-top: 12px; }

/* ---------- checkmark bar ---------- */
.checkbar { background: var(--paper); border-bottom: 1px solid var(--line); }
.checkbar-inner { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; padding: 44px 0; }
.check { display: flex; gap: 14px; align-items: flex-start; }
.check svg { flex: none; margin-top: 4px; }
.check h3 { font-size: 19px; margin: 0 0 4px; }
.check p { font-size: 17px; color: var(--ink-soft); margin: 0; }
@media (max-width: 980px) { .checkbar-inner { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .checkbar-inner { grid-template-columns: 1fr; } }

/* ---------- promise band (green) ---------- */
.band-green { position: relative; overflow: hidden; background: linear-gradient(160deg, var(--green) 0%, var(--green-deep) 100%); color: #fff; }
.band-green .ghost-digits { position: absolute; inset: 0; opacity: 0.10; pointer-events: none; font-family: var(--font-display); color: #fff; }
.band-inner { position: relative; display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 56px; align-items: center; padding: 88px 0; }
.band-inner .eyebrow { color: var(--gold); }
.band-inner h2 { font-size: clamp(2rem, 3.6vw, 3rem); text-wrap: balance; }
.band-inner p { color: #EAF2EC; font-size: 21px; }
/* floating cover: the ratified deep drop shadow (y24 blur48 ~35% brand-dark) */
.band-cover { border-radius: 10px; box-shadow: 0 24px 48px rgba(7, 21, 16, 0.35); transform: rotate(-2deg); }
.band-green { background: radial-gradient(90% 130% at 32% 40%, #17724333 0%, transparent 55%),
  linear-gradient(160deg, var(--green) 0%, var(--green-deep) 100%); }

/* ── look-inside PEEK: the cover stays the star; a real printed page
      slides out from behind it as the section scrolls through.
      Scroll-linked via --peek (0..1), no pinning. ── */
.bookpeek { position: relative; }
.peek-page {
  position: absolute; top: 6%; left: 20%; width: 72%;
  border-radius: 8px; border: 1px solid rgba(255,255,255,0.35);
  box-shadow: 0 22px 46px rgba(7, 21, 16, 0.42);
  /* pops well clear of the cover; text column stays above via z-index */
  transform: translateX(calc(var(--peek, 0) * 24%)) rotate(3deg);
  will-change: transform;
}
.bookpeek .cover-link, .bookpeek .band-cover { position: relative; }
.band-inner > div:last-child { position: relative; z-index: 2; }
@media (prefers-reduced-motion: reduce) { .peek-page { transform: translateX(22%) rotate(3deg); } }
/* stat counters row */
.stat-row { display: flex; gap: 36px; flex-wrap: wrap; margin: 26px 0 6px; }
.stat-row div { color: #fff; }
.stat-row b { display: block; font-family: var(--font-head); font-weight: 900; font-size: 44px; line-height: 1; }
.stat-row span { font-size: 17px; color: #CFE3D6; letter-spacing: 0.06em; text-transform: uppercase; }


/* View Transitions: soft crossfade between pages, never a hard cut */
@media (prefers-reduced-motion: no-preference) {
  @view-transition { navigation: auto; }
}
.band-actions { display: flex; gap: 22px; align-items: center; flex-wrap: wrap; margin-top: 10px; }
@media (max-width: 980px) { .band-inner { grid-template-columns: 1fr; } .band-cover { max-width: 320px; } }

/* ---------- ladder ---------- */
.ladder { background: var(--cream); }
.ladder h2 { font-size: clamp(2rem, 3.4vw, 2.8rem); }
.ladder-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 44px; }
.ladder-card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px 20px 24px; text-align: center; box-shadow: var(--shadow-card);
  position: relative; display: flex; flex-direction: column; align-items: center;
}
.ladder-card img { width: 78%; border-radius: 6px; box-shadow: 0 12px 24px rgba(20,35,27,0.22); }
.ladder-card .book-label { font-family: var(--font-head); font-weight: 900; letter-spacing: 0.12em; font-size: 17px; margin-top: 18px; color: var(--green-ink); text-transform: uppercase; }
.ladder-card .book-note { font-size: 18px; color: var(--ink-soft); margin: 6px 0 12px; }
.ladder-card a.btn { margin-top: auto; padding: 12px 22px; font-size: 17px; }
/* status badges sit in their OWN row above the cover — never over the art */
.card-badge {
  display: inline-block; margin: 0 0 12px; font-family: var(--font-head); font-weight: 700;
  font-size: 14px; letter-spacing: 0.14em; padding: 6px 14px; border-radius: 999px; text-transform: uppercase;
  background: var(--ink); color: #fff;
}
.card-badge.now { background: var(--green-deep); }
@media (max-width: 980px) { .ladder-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) {
  /* mobile: native swipe carousel with snap points */
  .ladder-grid { display: grid; grid-auto-flow: column; grid-auto-columns: 78%; grid-template-columns: none;
    overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 16px; -webkit-overflow-scrolling: touch; }
  .ladder-card { scroll-snap-align: center; }
}

/* ---------- UAB banner — full-art framing (no crop of zodiac/Vitruvian) ----------
   Desktop: the section holds the art's exact 1484:773 ratio so the whole
   composition reads; the source art is dark on the left by design, so copy
   sits there under a light scrim. Mobile: art shown complete on top,
   copy below on the dark ground. */
/* the sticky curtain: the books shelf pins, the dark panel physically
   slides up over it — native scroll, no JS choreography */
.curtain { position: relative; }
.curtain .ladder { position: sticky; top: 0; z-index: 1; }
.curtain .uab-banner { z-index: 2; }
.uab-banner { position: relative; overflow: hidden; color: #fff; background: #060913;
  aspect-ratio: 1484 / 773; display: flex; align-items: center;
  border-radius: 22px 22px 0 0;
  box-shadow: 0 -20px 44px rgba(4, 7, 14, 0.35); }
.uab-rise { position: absolute; inset: 0; display: flex; align-items: center; }
.uab-artwrap {
  position: absolute; inset: 0; will-change: transform;
  scale: 1.06;   /* headroom for the counter-move */
}
.uab-banner .uab-art {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.95;
}
/* the glint lives in the ART's coordinate space — welded at every breakpoint */
.uab-weld { position: absolute; inset: 0; width: 100%; height: 100%; mix-blend-mode: screen; pointer-events: none; }
.weld-debug { display: none; }
.wheel-glint-c { opacity: 0.85; transform-box: view-box; transform-origin: 718px 235px; }
@media (prefers-reduced-motion: no-preference) {
  .wheel-glint-c { animation: glintSpin 14s linear infinite; }
  .wheel-glint-c.g2 { animation-duration: 23s; animation-direction: reverse; opacity: 0.4; }
}
@media (prefers-reduced-motion: reduce) { .wheel-glint-c { display: none; } }
@keyframes glintSpin { to { transform: rotate(360deg); } }
/* esoteric mist: three fog layers sized to the FULL section, tileable in X,
   alpha-feathered on every edge — never a visible texture boundary.
   Calibrated at 2x then stepped down. */
.uab-mist { position: absolute; inset: 0; overflow: hidden; pointer-events: none; will-change: transform; }
.uab-fog {
  position: absolute; top: 0; bottom: 0; left: 0; width: calc(100% + 2000px);
  mix-blend-mode: screen; background-image: var(--fog); background-repeat: repeat;
  will-change: transform;
}
/* dense pool in the bottom third */
.uab-fog.f1 { opacity: 0.5; background-size: 1400px 900px;
  -webkit-mask-image: linear-gradient(180deg, transparent 46%, rgba(0,0,0,0.75) 72%, #000 90%, rgba(0,0,0,0.8) 100%);
  mask-image: linear-gradient(180deg, transparent 46%, rgba(0,0,0,0.75) 72%, #000 90%, rgba(0,0,0,0.8) 100%); }
/* wisps crossing the middle */
.uab-fog.f2 { opacity: 0.26; background-size: 2000px 800px;
  -webkit-mask-image: linear-gradient(180deg, transparent 16%, rgba(0,0,0,0.85) 40%, rgba(0,0,0,0.85) 60%, transparent 84%);
  mask-image: linear-gradient(180deg, transparent 16%, rgba(0,0,0,0.85) 40%, rgba(0,0,0,0.85) 60%, transparent 84%); }
:root {
  --fog: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1100' height='1100'%3E%3Cfilter id='f'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.0045 0.0075' numOctaves='4' seed='7' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.6 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23f)'/%3E%3C/svg%3E");
}
/* one thin fast layer over the top half */
.uab-fog.f3 { opacity: 0.18; background-size: 800px 700px;
  -webkit-mask-image: linear-gradient(180deg, rgba(0,0,0,0.7) 6%, rgba(0,0,0,0.8) 30%, transparent 58%);
  mask-image: linear-gradient(180deg, rgba(0,0,0,0.7) 6%, rgba(0,0,0,0.8) 30%, transparent 58%); }
@media (prefers-reduced-motion: no-preference) {
  /* translate by exactly one tile width = seamless loop */
  .uab-fog.f1 { animation: fogL1 58s linear infinite; }
  .uab-fog.f2 { animation: fogL2 84s linear infinite reverse; }
  .uab-fog.f3 { animation: fogL3 30s linear infinite; }
  @keyframes fogL1 { to { transform: translateX(-1400px); } }
  @keyframes fogL2 { to { transform: translateX(-2000px); } }
  @keyframes fogL3 { to { transform: translateX(-800px); } }
}
@media (prefers-reduced-motion: reduce) {
  /* mist frozen mid-drift, panel flat */
  .uab-fog { animation: none; }
  .uab-artwrap { scale: 1; }
}
.uab-statue {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  scale: 1.16; will-change: transform; z-index: 1; pointer-events: none;
}
@media (prefers-reduced-motion: reduce) { .uab-statue { scale: 1; } }
.uab-wheel {
  position: absolute; left: 30%; top: 4%; width: 360px; opacity: 0.4;
  will-change: transform; pointer-events: none; mix-blend-mode: screen;
}
.uab-wheel circle, .uab-wheel line { stroke: #D9A13B; fill: none; }
.uab-wheel text { fill: #D9A13B; font-size: 22px; font-family: Georgia, serif; }
.uab-glyph {
  position: absolute; bottom: -8%; color: #CFE0FF; opacity: 0;
  font-size: 34px; font-family: Georgia, serif; pointer-events: none; will-change: transform, opacity;
}
@media (prefers-reduced-motion: no-preference) {
  .uab-glyph { animation: glyphRise var(--gd, 34s) linear infinite; animation-delay: var(--gw, 0s); }
  @keyframes glyphRise {
    0% { transform: translateY(0); opacity: 0; }
    12% { opacity: 0.11; }
    82% { opacity: 0.09; }
    100% { transform: translateY(-560px); opacity: 0; }
  }
}
@media (max-width: 768px) { .uab-glyph.zg { display: none; } }
/* the book leaking atmosphere into the catalog above */
.mist-bridge {
  position: relative; height: 0; z-index: 5; pointer-events: none;
}
.mist-bridge::before {
  content: ""; position: absolute; left: 0; right: 0; top: -90px; height: 180px;
  background-image: var(--fog); background-size: 1300px 900px;
  opacity: 0.5; mix-blend-mode: normal;
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 45%, #000 65%, transparent 100%);
  mask-image: linear-gradient(180deg, transparent 0%, #000 45%, #000 65%, transparent 100%);
}
@media (prefers-reduced-motion: no-preference) {
  .mist-bridge::before { animation: fogA 70s ease-in-out infinite alternate; }
}
.uab-fog.f1 {
  -webkit-mask-image: linear-gradient(180deg, transparent 40%, rgba(0,0,0,0.7) 70%, #000 100%);
  mask-image: linear-gradient(180deg, transparent 40%, rgba(0,0,0,0.7) 70%, #000 100%);
}
.uab-vignette {
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(4,7,14,0.55) 0%, transparent 16%, transparent 84%, rgba(4,7,14,0.6) 100%);
}
.uab-banner .uab-scrim { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(4,7,14,0.66) 0%, rgba(4,7,14,0.38) 36%, rgba(4,7,14,0) 56%); }
.uab-banner .wrap { position: relative; width: 100%; z-index: 3; }
.uab-inner { position: relative; max-width: 560px; padding: 48px 0; }
.uab-inner .eyebrow { color: var(--gold); text-shadow: 0 2px 10px rgba(0,0,0,0.65); }
.uab-inner h2 { font-size: clamp(2rem, 3.6vw, 3rem); text-shadow: 0 3px 16px rgba(0,0,0,0.7); }
.uab-inner p { color: #EDF0F7; font-size: 21px; text-shadow: 0 2px 10px rgba(0,0,0,0.7); }
@media (max-width: 760px) {
  /* portrait recomposition: statue center-right full height, copy on the
     darkened left/lower zone — composed for a phone, not a keyhole crop */
  .uab-banner { aspect-ratio: auto; display: block; min-height: 620px; }
  .uab-banner .uab-art { object-position: 63% center; opacity: 0.75; }
  .uab-banner .uab-scrim { background: linear-gradient(200deg, rgba(4,7,14,0.9) 0%, rgba(4,7,14,0.55) 45%, rgba(4,7,14,0.25) 70%, rgba(4,7,14,0.75) 100%); }
  .uab-inner { padding: 64px 0 88px; max-width: none; }
  .wheel-glint, .uab-fog.f3 { display: none; }
}

/* ---------- inner-page heroes ---------- */
.page-hero { color: #fff; background: linear-gradient(160deg, var(--green) 0%, var(--green-deep) 100%); position: relative; overflow: hidden; }
/* per-book jewel heroes (green is Book 1's) + the brand-spectrum variant */
.page-hero--medium { background: linear-gradient(160deg, #2258A8 0%, #122F63 100%); }
.page-hero--hard { background: linear-gradient(160deg, #A32E2E 0%, #5C1414 100%); }
.page-hero--expert { background: linear-gradient(160deg, #7A3FB8 0%, #3D1E66 100%); }
.page-hero--brand {
  background:
    radial-gradient(52% 72% at 10% 6%, rgba(255, 196, 54, 0.22) 0%, transparent 60%),
    radial-gradient(58% 80% at 90% 26%, rgba(38, 118, 210, 0.26) 0%, transparent 62%),
    radial-gradient(64% 85% at 52% 108%, rgba(22, 122, 72, 0.30) 0%, transparent 66%),
    linear-gradient(155deg, #11151C 0%, #0A0E13 100%);
}
.page-hero.dark { background: radial-gradient(120% 100% at 25% 0%, #14203C 0%, #060913 70%); }
.page-hero-inner { position: relative; display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 56px; align-items: center; padding: 72px 0; }
.page-hero-inner h1 { font-size: clamp(2.2rem, 4.2vw, 3.4rem); text-wrap: balance; }
.page-hero-inner p { color: #EAF2EC; font-size: 21px; }
.page-hero.dark .page-hero-inner p { color: #E6E9F2; }
.page-hero-cover { border-radius: 10px; box-shadow: var(--shadow-book); max-width: 360px; }
.spec-chips { display: flex; gap: 12px; flex-wrap: wrap; margin: 18px 0 26px; padding: 0; list-style: none; }
.spec-chips li {
  background: #fff; color: var(--green-ink); font-family: var(--font-head); font-weight: 700;
  font-size: 16px; letter-spacing: 0.1em; padding: 10px 18px; border-radius: 999px;
}
@media (max-width: 880px) { .page-hero-inner { grid-template-columns: 1fr; } .page-hero-cover { max-width: 280px; } }

/* ---------- look inside ---------- */
.look-inside { background: var(--paper); }
.spread-track {
  display: grid; grid-auto-flow: column; grid-auto-columns: min(78%, 720px);
  gap: 28px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 12px 4px 24px;
  -webkit-overflow-scrolling: touch;
}
.spread-track figure { margin: 0; scroll-snap-align: center; }
.spread-track img { border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow-card); }
.spread-track figcaption { font-size: 18px; color: var(--ink-soft); margin-top: 12px; text-align: center; }
.track-hint { font-size: 17px; color: var(--ink-soft); }

/* ---------- review page ---------- */
.review-list { display: flex; flex-direction: column; gap: 16px; max-width: 460px; margin: 36px auto 0; }
.review-list .btn { width: 100%; text-align: center; }
.review-soon {
  border: 2px dashed #B9B29E; color: var(--ink-soft); border-radius: 999px;
  font-family: var(--font-head); font-weight: 700; font-size: 18px; padding: 15px 28px; text-align: center;
}

/* ---------- about ---------- */
.about-card { display: grid; grid-template-columns: 300px 1fr; gap: 48px; align-items: start; }
.about-card img { border-radius: var(--radius); box-shadow: var(--shadow-card); }
@media (max-width: 760px) { .about-card { grid-template-columns: 1fr; } .about-card img { max-width: 320px; } }

/* ---------- footer ---------- */
.site-footer { background: #0E1116; color: #E4EAE5; }
.footer-inner { display: grid; grid-template-columns: 1.3fr 0.7fr 0.7fr; gap: 48px; padding: 72px 0 48px; }
.site-footer h2 { font-size: 22px; color: #fff; }
.site-footer h3 { font-size: 16px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 12px; }
.site-footer a { color: #E4EAE5; }
.site-footer a:hover { color: #fff; }
.site-footer .email-form input[type="email"] { border-color: transparent; }
.footer-legal {
  border-top: 1px solid rgba(255,255,255,0.14); padding: 26px 0 34px;
  display: flex; gap: 24px; align-items: center; flex-wrap: wrap; font-size: 16px; color: #B9C4BC;
}
.footer-legal img { width: 190px; }
@media (max-width: 880px) { .footer-inner { grid-template-columns: 1fr; gap: 36px; } }
@media (max-width: 560px) {
  .site-footer .wrap { padding: 0 32px; }
  /* mobile: brand lockup bigger and centered in the legal row */
  .footer-legal { flex-direction: column; align-items: center; text-align: center; gap: 18px; }
  .footer-legal img { width: 280px; }
}

/* ---------- scroll reveals ---------- */
@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out); transition-delay: var(--d, 0ms); }
  .reveal.in { opacity: 1; transform: none; }
}
