/* ==========================================================================
   Pearls in the Valley
   Concept: the page is the book's journey. It begins in the dark valley
   (deep aubergine, drifting pearls) and the sun rises as you read down.
   One theme switch, once: night to dawn at the "horizon" band.

   Palette is lifted from the cover: aubergine title, burgundy subtitle,
   gold author name, sky-to-peach sunrise. One accent only: gold.
   Shape rule: buttons and pearls are pills/circles, panels are 20px,
   inputs are 12px.
   ========================================================================== */

@font-face { font-family: 'Playfair Display'; font-weight: 400; font-style: normal; font-display: swap; src: url(/fonts/playfair-display-latin-400-normal.woff2) format('woff2'); }
@font-face { font-family: 'Playfair Display'; font-weight: 500; font-style: normal; font-display: swap; src: url(/fonts/playfair-display-latin-500-normal.woff2) format('woff2'); }
@font-face { font-family: 'Playfair Display'; font-weight: 600; font-style: normal; font-display: swap; src: url(/fonts/playfair-display-latin-600-normal.woff2) format('woff2'); }
@font-face { font-family: 'Playfair Display'; font-weight: 700; font-style: normal; font-display: swap; src: url(/fonts/playfair-display-latin-700-normal.woff2) format('woff2'); }
@font-face { font-family: 'Playfair Display'; font-weight: 400; font-style: italic; font-display: swap; src: url(/fonts/playfair-display-latin-400-italic.woff2) format('woff2'); }
@font-face { font-family: 'Playfair Display'; font-weight: 500; font-style: italic; font-display: swap; src: url(/fonts/playfair-display-latin-500-italic.woff2) format('woff2'); }
@font-face { font-family: 'Playfair Display'; font-weight: 600; font-style: italic; font-display: swap; src: url(/fonts/playfair-display-latin-600-italic.woff2) format('woff2'); }
@font-face { font-family: 'Outfit'; font-weight: 300; font-style: normal; font-display: swap; src: url(/fonts/outfit-latin-300-normal.woff2) format('woff2'); }
@font-face { font-family: 'Outfit'; font-weight: 400; font-style: normal; font-display: swap; src: url(/fonts/outfit-latin-400-normal.woff2) format('woff2'); }
@font-face { font-family: 'Outfit'; font-weight: 500; font-style: normal; font-display: swap; src: url(/fonts/outfit-latin-500-normal.woff2) format('woff2'); }
@font-face { font-family: 'Outfit'; font-weight: 600; font-style: normal; font-display: swap; src: url(/fonts/outfit-latin-600-normal.woff2) format('woff2'); }

/* Registered so the 3D book can animate between poses */
@property --ry   { syntax: '<angle>';  inherits: true; initial-value: 24deg; }
@property --rx   { syntax: '<angle>';  inherits: true; initial-value: -6deg; }
@property --open { syntax: '<angle>';  inherits: true; initial-value: 0deg; }
@property --tx   { syntax: '<length>'; inherits: true; initial-value: 0px; }

:root {
  /* night */
  --night-0: #0f0818;
  --night-1: #1b0f2a;
  --night-2: #2a1640;
  --night-3: #3a1d4d;
  --on-night: #f3eaf6;
  --on-night-muted: #cbbdd5;
  --night-line: rgba(255, 255, 255, 0.12);

  /* accent (one) */
  --gold: #e8b04a;
  --gold-deep: #8a5a0b;

  /* dawn (light sections) */
  --sky: #e8eff8;
  --blush: #f6e4dc;
  --lav: #f1ecf6;
  --sec-ink: #2a1347;
  --sec-muted: #54426a;
  --sec-line: rgba(42, 19, 71, 0.16);
  --sec-field-line: rgba(42, 19, 71, 0.5);
  --sec-accent: var(--gold-deep);
  --sec-panel: rgba(255, 255, 255, 0.66);
  --sec-field: #ffffff;
  --page-bg: #fcf9fc;
  --err: #a31d3b;
  --horizon-1: #7a3f5a;
  --horizon-2: #d98f7a;
  --horizon-3: #f0c5a6;
  --golden-1: #f6d6b2;
  --golden-2: #f1b97a;
  --golden-ink: #2a1347;
  --golden-muted: #46345a;

  --font-display: 'Playfair Display', 'Iowan Old Style', Georgia, serif;
  --font-ui: 'Outfit', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --nav-h: 68px;
  --gut: clamp(20px, 5vw, 48px);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --r-panel: 20px;
  --r-field: 12px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --sky: #1d1230;
    --blush: #2a1a3d;
    --lav: #22143a;
    --sec-ink: #f3eaf6;
    --sec-muted: #cbbdd5;
    --sec-line: rgba(255, 255, 255, 0.14);
    --sec-field-line: rgba(255, 255, 255, 0.5);
    --sec-accent: var(--gold);
    --sec-panel: rgba(255, 255, 255, 0.06);
    --sec-field: rgba(255, 255, 255, 0.07);
    --page-bg: #2c1c40;
    --err: #ff9bb0;
    --horizon-1: #4a2552;
    --horizon-2: #6e3a5a;
    --horizon-3: #8b4a5c;
    --golden-1: #3a1d4d;
    --golden-2: #6b3a4d;
    --golden-ink: #f3eaf6;
    --golden-muted: #e0d3e8;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-ui);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--on-night);
  background: var(--night-0);
  -webkit-font-smoothing: antialiased;
}
[hidden] { display: none !important; }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3, p, figure, blockquote, dl, dd, ol, ul { margin: 0; padding: 0; }
a { color: inherit; }
button, input, textarea { font: inherit; color: inherit; }
::selection { background: var(--gold); color: var(--night-1); }

.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: fixed; left: 12px; top: -60px; z-index: 60; background: var(--gold); color: var(--night-1); padding: 0.6rem 1rem; border-radius: 999px; text-decoration: none; transition: top 0.2s; }
.skip:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }

.wrap { width: min(1180px, 100% - 2 * var(--gut)); margin-inline: auto; }
section { position: relative; }

h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2rem, 4.4vw, 3.4rem);
  line-height: 1.12;
  letter-spacing: -0.01em;
  text-wrap: balance;
}
h3 { font-family: var(--font-display); font-weight: 600; line-height: 1.2; }
.lead { text-wrap: pretty; font-size: clamp(1.1rem, 1.7vw, 1.3rem); line-height: 1.6; max-width: 56ch; margin-top: 1.1rem; color: var(--on-night-muted); }
.eyebrow { font-size: 0.95rem; letter-spacing: 0.04em; color: var(--gold); font-weight: 500; }

/* ---- icons (Phosphor, regular, via mask) -------------------------------- */
.icon { display: inline-block; width: 1.1em; height: 1.1em; background: currentColor; flex: none; -webkit-mask: var(--i) center / contain no-repeat; mask: var(--i) center / contain no-repeat; }
.icon--caret { --i: url(/icons/caret-down.svg); }
.icon--check { --i: url(/icons/check-circle.svg); }
.icon--warn { --i: url(/icons/warning-circle.svg); }
.icon--trash { --i: url(/icons/trash.svg); }
.icon--arrow { --i: url(/icons/arrow-right.svg); }
.icon--play { --i: url(/icons/play.svg); }

/* ---- buttons ------------------------------------------------------------ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  padding: 0.9rem 1.7rem; border-radius: 999px; border: 1px solid transparent;
  font-weight: 500; font-size: 1rem; line-height: 1; text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: transform 0.25s var(--ease), background-color 0.25s, box-shadow 0.25s, border-color 0.25s;
}
.btn:active { transform: translateY(1px) scale(0.98); }
.btn--small { padding: 0.65rem 1.2rem; font-size: 0.95rem; background: var(--gold); color: var(--night-1); }
.btn--small:hover { background: #f3c26a; }
.btn--gold { background: var(--gold); color: var(--night-1); box-shadow: 0 10px 30px -12px rgba(232, 176, 74, 0.7); }
.btn--gold:hover { background: #f3c26a; transform: translateY(-2px); }
.btn--ghost { border-color: rgba(255, 255, 255, 0.45); color: var(--on-night); background: rgba(255, 255, 255, 0.04); }
.btn--ghost:hover { background: rgba(255, 255, 255, 0.12); border-color: rgba(255, 255, 255, 0.7); }
.btn--ghost[aria-pressed='true'] { background: var(--on-night); color: var(--night-1); }
.btn--dark { background: var(--sec-ink); color: #fff; }
.btn--dark:hover { transform: translateY(-2px); background: #3d1d66; }
@media (prefers-color-scheme: dark) {
  .btn--dark { background: var(--gold); color: var(--night-1); }
  .btn--dark:hover { background: #f3c26a; }
}
.btn[disabled] { opacity: 0.6; cursor: progress; }

/* ---- nav ---------------------------------------------------------------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--nav-h);
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 1.5rem;
  padding-inline: var(--gut);
  background: rgba(15, 8, 24, 0.84);
  -webkit-backdrop-filter: blur(14px) saturate(140%); backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid var(--night-line);
  color: var(--on-night);
}
.nav__brand { font-family: var(--font-display); font-style: italic; font-size: 1.35rem; text-decoration: none; color: var(--gold); white-space: nowrap; }
.nav__brand span { font-style: normal; font-weight: 700; color: var(--on-night); }
.nav__links { display: flex; justify-content: center; gap: clamp(1rem, 2.6vw, 2.2rem); }
.nav__links a { text-decoration: none; font-size: 0.97rem; color: var(--on-night-muted); padding: 0.4rem 0; border-bottom: 1px solid transparent; transition: color 0.2s, border-color 0.2s; white-space: nowrap; }
.nav__links a:hover, .nav__links a.is-active { color: var(--on-night); border-color: var(--gold); }
.nav__toggle { display: none; width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer; position: relative; }
.nav__toggle span { position: absolute; left: 11px; right: 11px; height: 2px; background: var(--on-night); border-radius: 2px; transition: transform 0.3s var(--ease); }
.nav__toggle span:first-child { top: 18px; }
.nav__toggle span:last-child { top: 25px; }
.nav__toggle[aria-expanded='true'] span:first-child { transform: translateY(3.5px) rotate(45deg); }
.nav__toggle[aria-expanded='true'] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

@media (max-width: 899px) {
  .nav { grid-template-columns: 1fr auto auto; gap: 0.6rem; }
  .nav__toggle { display: block; }
  .nav__links {
    position: absolute; left: 0; right: 0; top: var(--nav-h);
    flex-direction: column; gap: 0; padding: 0.5rem var(--gut) 1rem;
    background: rgba(15, 8, 24, 0.96); border-bottom: 1px solid var(--night-line);
    display: none;
  }
  .nav__links.is-open { display: flex; }
}
@media (max-width: 479px) {
  .nav { gap: 0.3rem; padding-inline: 14px 6px; }
  .nav__brand { font-size: 1.08rem; }
  .nav .btn--small { padding: 0.55rem 0.9rem; font-size: 0.9rem; }
  .nav__links a { padding: 0.9rem 0; font-size: 1.1rem; border-bottom: 1px solid var(--night-line); }
}

/* ---- reveal-on-view (only when JS is present) --------------------------- */
.js .reveal { opacity: 0; transform: translateY(26px); }
.js .reveal.in { opacity: 1; transform: none; transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }

/* ==========================================================================
   HERO
   ========================================================================== */
.hero {
  min-height: 100dvh;
  padding: calc(var(--nav-h) + 1.5rem) var(--gut) 2.5rem;
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); align-items: center; gap: clamp(1rem, 4vw, 4rem);
  overflow: clip;
  background:
    radial-gradient(55% 55% at 72% 62%, rgba(232, 176, 74, 0.24), transparent 70%),
    radial-gradient(40% 40% at 14% 8%, rgba(130, 80, 170, 0.3), transparent 70%),
    linear-gradient(180deg, var(--night-0) 0%, var(--night-1) 100%);
}
.hero__copy { position: relative; max-width: 40rem; margin-left: max(0px, calc((100vw - 1180px) / 2 - var(--gut))); }
.hero__title { font-family: var(--font-display); font-weight: 700; font-size: clamp(3.1rem, 7.4vw, 6.4rem); line-height: 1.02; letter-spacing: -0.02em; margin: 0.9rem 0 1.4rem; padding-bottom: 0.08em; }
.hero__title span { display: block; }
.hero__title em { font-weight: 400; font-style: italic; color: var(--gold); letter-spacing: -0.03em; font-size: 1.12em; }
.hero__lede { font-size: clamp(1.1rem, 1.6vw, 1.28rem); line-height: 1.6; color: var(--on-night-muted); max-width: 30rem; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-top: 2rem; }

.rise { opacity: 0; animation: rise 1s var(--ease) forwards; animation-delay: calc(var(--d, 0) * 0.12s + 0.1s); }
@keyframes rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }

/* drifting pearls */
.hero__sky { position: absolute; inset: 0; pointer-events: none; }
.orb {
  position: absolute; left: var(--x); top: var(--y); width: var(--w); aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle at 32% 28%, #fff 0, #f4eef6 16%, #c4b8d0 52%, #5d4e70 100%);
  box-shadow: 0 0 calc(var(--w) * 1.6) rgba(232, 176, 74, 0.16);
  filter: blur(var(--b, 0px)); opacity: var(--o, 0.9);
  animation: drift var(--t, 10s) ease-in-out infinite alternate; animation-delay: var(--dl, 0s);
}
@keyframes drift { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(var(--dx, 14px), var(--dy, -26px), 0); } }
.o1 { --x: 6%;  --y: 22%; --w: 14px; --t: 11s; }
.o2 { --x: 44%; --y: 12%; --w: 9px;  --t: 9s;  --dx: -10px; }
.o3 { --x: 31%; --y: 78%; --w: 20px; --t: 13s; --b: 1px; --dl: -3s; }
.o4 { --x: 52%; --y: 88%; --w: 11px; --t: 10s; --dl: -6s; }
.o5 { --x: 90%; --y: 14%; --w: 26px; --t: 14s; --b: 2px; --o: 0.6; --dl: -2s; }
.o6 { --x: 13%; --y: 58%; --w: 52px; --t: 16s; --b: 5px; --o: 0.35; --dx: 24px; --dy: -34px; }
.o7 { --x: 62%; --y: 30%; --w: 8px;  --t: 8s;  --dl: -1s; }
.o8 { --x: 82%; --y: 74%; --w: 38px; --t: 15s; --b: 3px; --o: 0.5; --dl: -7s; }
.o9 { --x: 24%; --y: 8%;  --w: 12px; --t: 12s; --dl: -4s; }
.o10 { --x: 96%; --y: 48%; --w: 10px; --t: 9s; --dl: -5s; }
.o11 { --x: 38%; --y: 46%; --w: 70px; --t: 18s; --b: 9px; --o: 0.18; --dx: -30px; }
.o12 { --x: 70%; --y: 6%;  --w: 16px; --t: 12s; --b: 1px; --dl: -8s; }

/* ---- the 3D book -------------------------------------------------------- */
.hero__stage { --bw: clamp(190px, 23vw, 320px); --bh: calc(var(--bw) * 1.5); --bd: calc(var(--bw) * 0.14); position: relative; display: grid; justify-items: center; gap: 1.2rem; }
.book-stage {
  position: relative; width: 100%; height: calc(var(--bh) + 4.5rem);
  display: grid; place-items: center; perspective: 1900px;
  cursor: grab; touch-action: pan-y; user-select: none; -webkit-user-select: none;
  border-radius: var(--r-panel);
}
.book-stage.is-dragging { cursor: grabbing; }
.book-sway { transform-style: preserve-3d; animation: sway 9s ease-in-out infinite; }
@keyframes sway {
  0%, 100% { transform: translateY(0) rotateY(-5deg); }
  50% { transform: translateY(-14px) rotateY(5deg); }
}
.book {
  position: relative; width: var(--bw); height: var(--bh); transform-style: preserve-3d;
  transform: translateX(var(--tx)) rotateX(var(--rx)) rotateY(var(--ry));
  transition: --ry 1s var(--ease), --rx 1s var(--ease), --open 1.2s var(--ease), --tx 1.2s var(--ease);
}
.book.is-dragging { transition: none; }
.book.is-open { --open: -172deg; --ry: -6deg; --rx: -4deg; --tx: calc(var(--bw) / 2); }

.book__face { position: absolute; overflow: hidden; backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.book__face img { width: 100%; height: 100%; object-fit: cover; }
.book__spine img { object-fit: fill; }
.book__back { inset: 0; transform: translateZ(calc(var(--bd) / -2)) rotateY(180deg); border-radius: 2px 6px 6px 2px; }
.book__spine { left: calc(var(--bd) / -2); top: 0; width: var(--bd); height: 100%; transform: rotateY(-90deg); }
.book__edge-right { left: calc(var(--bw) - var(--bd) / 2); top: 3px; width: var(--bd); height: calc(100% - 6px); transform: rotateY(90deg); background: repeating-linear-gradient(90deg, #f3eee6 0 2px, #d9d0c0 2px 3px); }
.book__edge-top { left: 0; top: calc(var(--bd) / -2); width: calc(100% - 4px); height: var(--bd); transform: rotateX(90deg); background: repeating-linear-gradient(180deg, #f3eee6 0 2px, #d9d0c0 2px 3px); }
.book__edge-bottom { left: 0; top: calc(var(--bh) - var(--bd) / 2); width: calc(100% - 4px); height: var(--bd); transform: rotateX(-90deg); background: repeating-linear-gradient(180deg, #e9e2d4 0 2px, #cfc5b3 2px 3px); }

/* first leaf, revealed when the cover opens */
.book__leaf {
  position: absolute; top: 6px; bottom: 6px; left: 0; right: 6px;
  transform: translateZ(calc(var(--bd) / 2 - 3px));
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0) 9%), #f7f2ef;
  color: #2a1347;
  padding: calc(var(--bw) * 0.14) calc(var(--bw) * 0.1) 0 calc(var(--bw) * 0.14);
  font-family: var(--font-display); font-size: calc(var(--bw) / 21); line-height: 1.5; text-align: center;
  display: flex; flex-direction: column; justify-content: center; gap: 0.3em;
  border-radius: 0 3px 3px 0;
}
.leaf__quote { font-style: italic; font-size: 1.16em; }
.leaf__by { font-size: 0.82em; color: #6b1d3a; letter-spacing: 0.04em; }
.leaf__mine { font-style: italic; font-size: 0.9em; }
.book__leaf hr { width: 3em; border: 0; border-top: 1px solid rgba(42, 19, 71, 0.35); margin: 0.9em auto; }

/* hinged front cover */
.book__cover { position: absolute; inset: 0; transform-origin: 0 50%; transform: translateZ(calc(var(--bd) / 2)) rotateY(var(--open)); transform-style: preserve-3d; }
.book__cover-out, .book__cover-in { position: absolute; inset: 0; backface-visibility: hidden; -webkit-backface-visibility: hidden; border-radius: 2px 6px 6px 2px; overflow: hidden; }
.book__cover-out img { width: 100%; height: 100%; object-fit: cover; }
.book__cover-out::after { content: ''; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(0, 0, 0, 0.28) 0, rgba(0, 0, 0, 0) 4%, rgba(255, 255, 255, 0.16) 5.5%, rgba(255, 255, 255, 0) 12%, rgba(255, 255, 255, 0.1) 55%, rgba(255, 255, 255, 0) 70%); pointer-events: none; }
.book__cover-in {
  transform: rotateY(180deg);
  background: radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.14) 1.4px, transparent 2px) 0 0 / 15px 15px, linear-gradient(90deg, #2a1347, #3a1d4d);
}

.book-ground { position: absolute; left: 50%; bottom: 0.4rem; width: calc(var(--bw) * 1.15); height: 2.2rem; transform: translateX(-50%); background: radial-gradient(closest-side, rgba(0, 0, 0, 0.55), transparent); filter: blur(6px); transition: width 1.2s var(--ease); }
.book-stage:has(.is-open) .book-ground { width: calc(var(--bw) * 2.2); }

.book-controls { display: inline-flex; padding: 4px; gap: 2px; border: 1px solid var(--night-line); border-radius: 999px; background: rgba(255, 255, 255, 0.05); }
.book-controls button { border: 0; background: transparent; padding: 0.5rem 1.1rem; border-radius: 999px; cursor: pointer; font-size: 0.93rem; color: var(--on-night-muted); transition: background-color 0.2s, color 0.2s; }
.book-controls button:hover { color: var(--on-night); }
.book-controls button[aria-pressed='true'] { background: var(--on-night); color: var(--night-1); }

@supports (animation-timeline: scroll()) {
  .hero__stage { animation: stage-out linear both; animation-timeline: scroll(root); animation-range: 0 90vh; }
  @keyframes stage-out { to { transform: translateY(70px) scale(0.93); opacity: 0.35; } }
}

@media (max-width: 899px) {
  .hero { grid-template-columns: 1fr; padding-top: calc(var(--nav-h) + 1rem); gap: 0.5rem; }
  .hero__copy { margin-left: 0; }
  .hero__stage { --bw: clamp(190px, 52vw, 260px); }
  .book-stage { height: calc(var(--bh) + 3.5rem); }
}

/* ==========================================================================
   GATHER THE PEARLS
   ========================================================================== */
.pearls { padding: clamp(5rem, 10vw, 9rem) 0; background: linear-gradient(180deg, var(--night-1), var(--night-1) 70%, #1f1230); }
.pearls__grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.valley { position: relative; border-radius: var(--r-panel); overflow: hidden; aspect-ratio: 853 / 510; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.8), 0 0 0 1px var(--night-line); }
.valley img { width: 100%; height: 100%; object-fit: cover; }
.pearl-spot {
  position: absolute; left: var(--x); top: var(--y); width: max(var(--s), 34px); aspect-ratio: 1; transform: translate(-50%, -50%);
  border-radius: 50%; border: 0; background: transparent; cursor: pointer; padding: 0;
}
.pearl-spot::before { content: ''; position: absolute; inset: 22%; border-radius: 50%; border: 2px solid rgba(255, 224, 160, 0.95); animation: ping 2.6s var(--ease) infinite; }
.pearl-spot:hover::before { animation-play-state: paused; background: rgba(255, 224, 160, 0.25); }
.pearl-spot.is-taken::before { animation: none; border-color: transparent; background: radial-gradient(circle, rgba(255, 220, 150, 0.55), rgba(255, 220, 150, 0) 70%); inset: -30%; }
.pearl-spot--sun { inset: auto; }
.pearl-spot--sun::before { border-color: transparent; opacity: 0; inset: 0; background: radial-gradient(circle, rgba(255, 226, 160, 0.85), rgba(255, 226, 160, 0) 68%); animation: none; }
.pearl-spot--sun:disabled { cursor: default; }
.pearl-spot--sun.is-ready::before { opacity: 1; animation: breathe 3s ease-in-out infinite; }
.pearl-spot--sun.is-ready { cursor: pointer; }
@keyframes ping { 0% { transform: scale(0.55); opacity: 0.95; } 70%, 100% { transform: scale(1.5); opacity: 0; } }
@keyframes breathe { 0%, 100% { transform: scale(0.9); opacity: 0.7; } 50% { transform: scale(1.15); opacity: 1; } }

.pearls__text h2 { color: var(--on-night); }
.pearl-quote { margin-top: 2rem; min-height: 11.5rem; padding-left: 1.4rem; border-left: 2px solid var(--gold); }
.pearl-quote blockquote p + p { margin-top: 0.6em; }
.pearl-quote blockquote { font-family: var(--font-display); font-style: italic; font-size: clamp(1.2rem, 2vw, 1.55rem); line-height: 1.45; transition: opacity 0.35s; }
.pearl-quote.is-swapping blockquote, .pearl-quote.is-swapping figcaption { opacity: 0; }
.pearl-quote figcaption { margin-top: 0.8rem; font-size: 0.95rem; color: var(--gold); transition: opacity 0.35s; min-height: 1.6em; }
.gathered { margin-top: 1.2rem; color: var(--on-night-muted); font-size: 0.98rem; }
.gathered span { color: var(--gold); font-weight: 600; }

@media (max-width: 899px) {
  .pearls__grid { grid-template-columns: 1fr; }
  .pearl-quote { min-height: 10rem; }
}

/* ==========================================================================
   WHO IT IS FOR
   ========================================================================== */
.for { padding: clamp(4rem, 8vw, 7rem) 0 clamp(5rem, 9vw, 8rem); background: linear-gradient(180deg, #1f1230, var(--night-1)); }
.who { margin-top: clamp(2rem, 4vw, 3.2rem); }
.who details { border-top: 1px solid var(--night-line); }
.who details:last-child { border-bottom: 1px solid var(--night-line); }
.who summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: clamp(1.2rem, 2.4vw, 1.9rem) 0; cursor: pointer; font-family: var(--font-display); font-size: clamp(1.5rem, 3.4vw, 2.6rem); line-height: 1.2; transition: color 0.25s, padding-left 0.4s var(--ease); }
.who summary::-webkit-details-marker { display: none; }
.who summary:hover { color: var(--gold); padding-left: 0.6rem; }
.who summary .icon { font-size: 1.5rem; transition: transform 0.4s var(--ease); color: var(--gold); }
.who details[open] summary .icon { transform: rotate(180deg); }
.who details[open] summary { color: var(--gold); }
.who details p { max-width: 58ch; padding: 0 0 clamp(1.4rem, 2.6vw, 2.2rem); font-size: clamp(1.1rem, 1.6vw, 1.28rem); color: var(--on-night-muted); animation: open-in 0.5s var(--ease); }
@keyframes open-in { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }

/* ==========================================================================
   INSIDE THE BOOK (sticky stack)
   ========================================================================== */
.inside { padding: clamp(4rem, 8vw, 7rem) 0 clamp(6rem, 12vw, 10rem); background: linear-gradient(180deg, var(--night-1) 0%, var(--night-2) 55%, var(--night-3) 100%); }
.stack { margin-top: clamp(2.5rem, 5vw, 4rem); }
.part {
  position: sticky; top: calc(var(--nav-h) + 18px + var(--n, 0) * 16px);
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 4rem);
  padding: clamp(1.6rem, 3.4vw, 3rem); margin-bottom: clamp(1.6rem, 4vw, 3rem);
  min-height: clamp(280px, 44vh, 420px);
  border-radius: var(--r-panel); border: 1px solid rgba(255, 255, 255, 0.13);
  background: linear-gradient(140deg, #3a2154 0%, #2a1640 55%, #22123a 100%);
  box-shadow: 0 -18px 50px -20px rgba(0, 0, 0, 0.6), 0 30px 60px -30px rgba(0, 0, 0, 0.7);
}
.part:nth-child(1) { --n: 0; }
.part:nth-child(2) { --n: 1; background: linear-gradient(140deg, #4a2552 0%, #34194a 60%, #2a1640 100%); }
.part:nth-child(3) { --n: 2; background: linear-gradient(140deg, #5c2c58 0%, #3f1d4e 60%, #311843 100%); }
.part:nth-child(4) { --n: 3; background: linear-gradient(140deg, #6b3158 0%, #4a2252 70%, #3a1d4d 100%); }
.part--last { min-height: 0; grid-template-columns: 1fr; margin-bottom: 0; }
.part__no { color: var(--gold); font-weight: 500; letter-spacing: 0.04em; font-size: 1rem; }
.part h3 { font-size: clamp(1.8rem, 3.6vw, 3rem); margin: 0.5rem 0 1rem; text-wrap: balance; }
.part__note { font-family: var(--font-display); font-style: italic; font-size: clamp(1.05rem, 1.5vw, 1.25rem); line-height: 1.55; color: var(--on-night-muted); max-width: 40ch; }
.chapters { align-self: center; display: grid; gap: 0.85rem; padding-left: 2.2rem; font-size: clamp(1.1rem, 1.5vw, 1.3rem); }
.chapters li { padding-left: 0.4rem; line-height: 1.4; }
.chapters li::marker { color: var(--gold); font-family: var(--font-display); font-weight: 600; }

@media (max-width: 759px) {
  .part { grid-template-columns: 1fr; min-height: 0; top: calc(var(--nav-h) + 8px + var(--n, 0) * 10px); }
}

/* ==========================================================================
   HORIZON (the one deliberate switch from night to dawn)
   ========================================================================== */
.horizon {
  min-height: clamp(400px, 70vh, 640px); display: grid; align-items: end; padding: 0 var(--gut) clamp(3.5rem, 7vw, 5.5rem); overflow: clip;
  background: linear-gradient(180deg, var(--night-3) 0%, var(--horizon-1) 24%, var(--horizon-2) 50%, var(--horizon-3) 74%, var(--blush) 100%);
}
.horizon__sun { position: absolute; left: 50%; top: 24%; width: min(78vw, 640px); aspect-ratio: 1; transform: translate(-50%, -50%); background: radial-gradient(circle, rgba(255, 244, 200, 0.95) 0, rgba(255, 205, 120, 0.6) 22%, rgba(255, 170, 100, 0.18) 46%, transparent 66%); pointer-events: none; }
@supports (animation-timeline: view()) {
  .horizon__sun { animation: sunrise linear both; animation-timeline: view(); animation-range: entry 10% cover 55%; }
  @keyframes sunrise { from { transform: translate(-50%, 10%) scale(0.5); opacity: 0.2; } to { transform: translate(-50%, -50%) scale(1); opacity: 1; } }
}
@media (prefers-color-scheme: dark) {
  .horizon__sun { opacity: 0.7; top: 18%; }
  .horizon__quote { text-shadow: 0 2px 26px rgba(20, 8, 30, 0.7); }
}
.horizon__quote { position: relative; max-width: 44rem; margin-inline: auto; text-align: center; color: var(--sec-ink); }
.horizon__quote blockquote { font-family: var(--font-display); font-style: italic; font-size: clamp(1.5rem, 3.4vw, 2.5rem); line-height: 1.3; text-wrap: balance; }
.horizon__quote figcaption { margin-top: 1.2rem; font-weight: 500; }
.horizon__quote figcaption span { font-weight: 400; color: var(--sec-muted); font-size: 0.95rem; }

/* ==========================================================================
   DAWN SECTIONS
   ========================================================================== */
.excerpt, .praise, .author, .reviews { color: var(--sec-ink); }
.excerpt .lead, .praise .lead, .author .lead, .reviews .lead { color: var(--sec-muted); }

.excerpt { padding: clamp(3rem, 6vw, 5rem) 0 clamp(5rem, 9vw, 8rem); background: linear-gradient(180deg, var(--blush), var(--sky)); }
.page {
  position: relative; max-width: 44rem; margin-inline: auto;
  padding: clamp(2rem, 5vw, 3.6rem) clamp(1.6rem, 5vw, 3.8rem) clamp(1.8rem, 4vw, 2.8rem);
  background: linear-gradient(90deg, rgba(42, 19, 71, 0.1), rgba(42, 19, 71, 0) 7%), var(--page-bg);
  border-radius: 4px 18px 18px 4px;
  box-shadow: 0 2px 0 rgba(255, 255, 255, 0.6) inset, 0 40px 70px -35px rgba(60, 30, 90, 0.45), 0 10px 20px -12px rgba(60, 30, 90, 0.3);
}
@media (min-width: 900px) { .page { transform-origin: left center; } .page.in { transform: perspective(1600px) rotateY(-2.5deg); } }
.page__from { font-weight: 500; font-size: 0.98rem; color: var(--sec-accent); margin-bottom: 1.2rem; }
.page__body { font-family: var(--font-display); font-size: clamp(1.1rem, 1.5vw, 1.22rem); line-height: 1.85; hyphens: auto; }
.dropcap::first-letter { float: left; font-size: 4.2em; line-height: 0.82; padding: 0.06em 0.12em 0 0; color: var(--sec-accent); font-weight: 600; }
.page__by { margin-top: 1.4rem; text-align: right; font-family: var(--font-display); font-style: italic; color: var(--sec-muted); }

.praise { padding: clamp(5rem, 9vw, 8rem) 0; background: var(--sky); overflow: clip; }
.feature-quote { margin: clamp(2rem, 4vw, 3.5rem) 0 clamp(2.5rem, 5vw, 4rem) clamp(0px, 8vw, 120px); max-width: 52rem; }
.feature-quote blockquote { font-family: var(--font-display); font-style: italic; font-weight: 500; font-size: clamp(1.9rem, 4.6vw, 3.5rem); line-height: 1.18; text-wrap: balance; }
.feature-quote figcaption { margin-top: 1.4rem; font-weight: 500; }
.feature-quote figcaption span { font-weight: 400; color: var(--sec-muted); font-size: 0.95rem; }
.praise__track {
  list-style: none; display: flex; gap: 1.1rem; overflow-x: auto; scroll-snap-type: x mandatory;
  padding: 0.6rem var(--gut) 1.6rem; scroll-padding-inline: var(--gut); scrollbar-width: thin; scrollbar-color: var(--sec-field-line) transparent;
}
.praise__track li { flex: 0 0 min(82vw, 400px); scroll-snap-align: start; padding: 1.7rem; border-radius: var(--r-panel); background: var(--sec-panel); border: 1px solid var(--sec-line); display: flex; flex-direction: column; justify-content: space-between; gap: 1.4rem; }
.praise__track blockquote { font-family: var(--font-display); font-style: italic; font-size: 1.13rem; line-height: 1.5; }
.press { margin-top: clamp(2.5rem, 5vw, 4rem); }
.press h3 { font-size: clamp(1.5rem, 2.6vw, 2rem); }
.press__link { display: grid; gap: 0.9rem; max-width: 46rem; margin-top: 1.1rem; padding: clamp(1.4rem, 3vw, 2rem); border-radius: var(--r-panel); border: 1px solid var(--sec-line); background: var(--sec-panel); text-decoration: none; color: inherit; transition: transform 0.3s var(--ease), border-color 0.3s; }
.press__link:hover { transform: translateY(-3px); border-color: var(--sec-accent); }
.press__link blockquote { font-family: var(--font-display); font-style: italic; font-weight: 500; font-size: clamp(1.4rem, 2.6vw, 2rem); line-height: 1.3; text-wrap: balance; }
.press__src { color: var(--sec-muted); font-size: 0.97rem; line-height: 1.5; }
.press__go { display: inline-flex; align-items: center; gap: 0.5rem; color: var(--sec-accent); font-weight: 500; }
.who-line { font-size: 0.92rem; color: var(--sec-muted); line-height: 1.45; }
.who-line strong { display: block; color: var(--sec-ink); font-weight: 600; font-size: 1rem; margin-bottom: 0.15rem; }
@media (min-width: 1240px) { .praise__track { padding-left: calc((100vw - 1180px) / 2); } }

.author { padding: clamp(5rem, 9vw, 8rem) 0; background: linear-gradient(180deg, var(--sky), var(--blush) 45%, var(--lav)); }
.author__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(2rem, 6vw, 5.5rem); align-items: center; }
.author__photo { position: relative; max-width: 440px; margin-inline: auto; }
.author__photo img { width: 100%; height: auto; border-radius: var(--r-panel); box-shadow: 0 40px 70px -30px rgba(60, 30, 90, 0.55); }
.author__photo::before, .author__photo::after {
  content: ''; position: absolute; border-radius: 50%;
  background: radial-gradient(circle at 32% 28%, #fff 0, #f4eef6 18%, #cdbfd6 55%, #77668a 100%);
  box-shadow: 0 14px 24px -8px rgba(60, 30, 90, 0.5);
}
.author__photo::before { width: 22%; aspect-ratio: 1; left: -9%; bottom: 6%; }
.author__photo::after { width: 12%; aspect-ratio: 1; left: 9%; bottom: -5%; }
.author__text p { margin-top: 1.1rem; max-width: 58ch; }
.author__text h2 + .lead { margin-top: 1rem; }
.author__pull { margin-top: 2rem; padding-left: 1.4rem; border-left: 2px solid var(--sec-accent); font-family: var(--font-display); font-style: italic; font-size: clamp(1.25rem, 2vw, 1.6rem); line-height: 1.45; max-width: 34ch; }
@media (max-width: 899px) { .author__grid { grid-template-columns: 1fr; } .author__photo { max-width: 320px; } }

/* ---- listen (click-to-load video) ----------------------------------------- */
.listen { padding: clamp(4rem, 8vw, 7rem) 0; background: var(--lav); color: var(--sec-ink); }
.listen .lead { color: var(--sec-muted); }
.player { position: relative; margin-top: clamp(1.8rem, 3.5vw, 2.8rem); max-width: 60rem; aspect-ratio: 16 / 9; border-radius: var(--r-panel); overflow: hidden; background: var(--night-1); box-shadow: 0 40px 70px -35px rgba(60, 30, 90, 0.6); }
.player__btn { position: absolute; inset: 0; display: grid; place-items: center; width: 100%; padding: 0; border: 0; background: none; cursor: pointer; color: #fff; }
.player__btn img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease); }
.player__btn::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(15, 8, 24, 0.25), rgba(15, 8, 24, 0.7)); }
.player__btn:hover img { transform: scale(1.04); }
.player__play { position: relative; z-index: 1; display: grid; place-items: center; width: clamp(72px, 10vw, 104px); aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle at 32% 28%, #fff 0, #f4eef6 18%, #cdbfd6 60%, #8f7ea3 100%); color: #2a1347; box-shadow: 0 20px 40px -12px rgba(0, 0, 0, 0.6); transition: transform 0.35s var(--ease); }
.player__play .icon { width: 38%; height: 38%; margin-left: 6%; }
.player__btn:hover .player__play { transform: scale(1.08); }
.player__meta { position: absolute; z-index: 1; left: clamp(1rem, 3vw, 1.8rem); bottom: clamp(0.9rem, 2.5vw, 1.5rem); font-weight: 500; font-size: 1.05rem; text-shadow: 0 1px 12px rgba(0, 0, 0, 0.6); }
.player iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.listen__note { margin-top: 1rem; color: var(--sec-muted); font-size: 0.97rem; }
.listen__note a { color: var(--sec-accent); font-weight: 500; }

/* ---- reviews ------------------------------------------------------------ */
.reviews { padding: clamp(5rem, 9vw, 8rem) 0; background: linear-gradient(180deg, var(--lav), var(--lav) 85%, var(--golden-1)); }
.reviews__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2rem, 5vw, 4.5rem); margin-top: clamp(2rem, 4vw, 3.2rem); align-items: start; }
.reviews__side { display: grid; gap: 2rem; }
.summary { min-height: 9rem; }
.summary__skeleton, .sk { border-radius: var(--r-field); background: linear-gradient(100deg, var(--sec-line) 30%, rgba(255, 255, 255, 0.4) 50%, var(--sec-line) 70%) 0 0 / 220% 100%; animation: shimmer 1.4s linear infinite; }
.summary__skeleton { height: 9rem; }
@keyframes shimmer { to { background-position: -220% 0; } }
.summary__row { display: flex; align-items: center; gap: 1.4rem; }
.summary__avg { font-family: var(--font-display); font-size: clamp(3.4rem, 6vw, 4.6rem); line-height: 1; font-weight: 600; }
.summary__meta { display: grid; gap: 0.3rem; }
.summary__count { color: var(--sec-muted); font-size: 0.98rem; }
.dist { margin-top: 1.2rem; display: grid; gap: 0.35rem; font-size: 0.92rem; color: var(--sec-muted); max-width: 20rem; }
.dist div { display: grid; grid-template-columns: 4.2rem 1fr 2rem; align-items: center; gap: 0.6rem; }
.dist i { display: block; height: 6px; border-radius: 999px; background: var(--sec-accent); min-width: 2px; transform-origin: left; }
.dist b { font-weight: 500; text-align: right; }

.p-row { display: inline-flex; gap: 4px; }
.p { width: 18px; height: 18px; border-radius: 50%; background: radial-gradient(circle at 32% 28%, rgba(255, 255, 255, 0.9), rgba(220, 210, 232, 0.5) 40%, rgba(120, 100, 150, 0.22)); box-shadow: inset 0 0 0 1px var(--sec-line); }
.p.is-on { background: radial-gradient(circle at 32% 28%, #fff 0, #f4eef6 18%, #cdbfd6 55%, #77668a 100%); box-shadow: 0 2px 6px -1px rgba(60, 30, 90, 0.5); }
.p.is-half { background: linear-gradient(90deg, #cdbfd6 50%, rgba(220, 210, 232, 0.5) 50%); box-shadow: inset 0 0 0 1px var(--sec-line); }
.summary .p { width: 22px; height: 22px; }

.form { display: grid; gap: 1.15rem; padding: clamp(1.4rem, 3vw, 2rem); border-radius: var(--r-panel); background: var(--sec-panel); border: 1px solid var(--sec-line); }
.form h3 { font-size: 1.5rem; }
.form__hint { color: var(--sec-muted); font-size: 0.98rem; margin-top: -0.6rem; }
.field { display: grid; gap: 0.4rem; }
.field label, .rate legend { font-weight: 500; font-size: 0.98rem; }
.opt { font-weight: 400; color: var(--sec-muted); }
.field input, .field textarea {
  width: 100%; padding: 0.8rem 0.95rem; border-radius: var(--r-field);
  border: 1px solid var(--sec-field-line); background: var(--sec-field); color: var(--sec-ink); line-height: 1.4;
}
.field textarea { resize: vertical; min-height: 7rem; }
.field input:focus-visible, .field textarea:focus-visible { outline: 3px solid var(--sec-accent); outline-offset: 1px; border-color: transparent; }
.field.has-error input, .field.has-error textarea { border-color: var(--err); }
.field--short { max-width: 8rem; }
.err { color: var(--err); font-size: 0.92rem; min-height: 0; }
.err:empty { display: none; }
.check { display: flex; align-items: center; gap: 0.7rem; cursor: pointer; }
.check input { width: 1.25rem; height: 1.25rem; accent-color: var(--sec-accent); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__status { font-size: 0.98rem; min-height: 1.4em; }
.form__status.is-ok { color: var(--sec-accent); font-weight: 500; }
.form__status.is-bad { color: var(--err); font-weight: 500; }

/* pearl rating */
.rate { border: 0; padding: 0; margin: 0; }
.rate__pearls { display: inline-flex; flex-direction: row-reverse; justify-content: flex-end; gap: 6px; margin-top: 0.4rem; }
.rate input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.rate label { width: 34px; height: 34px; border-radius: 50%; cursor: pointer; background: radial-gradient(circle at 32% 28%, rgba(255, 255, 255, 0.85), rgba(220, 210, 232, 0.35) 45%, rgba(120, 100, 150, 0.16)); box-shadow: inset 0 0 0 1.5px var(--sec-field-line); transition: transform 0.25s var(--ease), box-shadow 0.25s; }
.rate label:hover, .rate label:hover ~ label,
.rate input:checked + label, .rate input:checked + label ~ label {
  background: radial-gradient(circle at 32% 28%, #fff 0, #f4eef6 18%, #cdbfd6 55%, #77668a 100%);
  box-shadow: 0 5px 12px -3px rgba(60, 30, 90, 0.55);
}
.rate label:hover { transform: translateY(-2px) scale(1.06); }
.rate input:focus-visible + label { outline: 3px solid var(--sec-accent); outline-offset: 3px; }
.rate.has-error label { box-shadow: inset 0 0 0 1.5px var(--err); }

/* review list */
.reviews__list { display: grid; align-content: start; }
.review { padding: 1.8rem 0; border-top: 1px solid var(--sec-line); animation: open-in 0.6s var(--ease); }
.review:first-child { border-top: 0; padding-top: 0; }
.review__top { display: flex; flex-wrap: wrap; align-items: center; gap: 0.4rem 1rem; }
.review__who { font-weight: 600; }
.review__loc, .review__date { color: var(--sec-muted); font-size: 0.93rem; }
.review h4 { font-family: var(--font-display); font-size: 1.35rem; line-height: 1.3; margin: 0.7rem 0 0.2rem; font-weight: 600; }
.review p { white-space: pre-wrap; overflow-wrap: anywhere; max-width: 62ch; margin-top: 0.4rem; }
.review__rec { display: inline-flex; align-items: center; gap: 0.4rem; margin-top: 0.8rem; font-size: 0.93rem; color: var(--sec-accent); font-weight: 500; }
.review__admin { display: flex; gap: 0.8rem; margin-top: 0.8rem; }
.review__admin button { display: inline-flex; align-items: center; gap: 0.35rem; background: none; border: 1px solid var(--sec-field-line); color: var(--sec-ink); border-radius: 999px; padding: 0.35rem 0.85rem; cursor: pointer; font-size: 0.9rem; }
.review__admin button:hover { border-color: var(--err); color: var(--err); }
.review--pending { opacity: 0.85; }
.review__badge { font-size: 0.85rem; padding: 0.15rem 0.6rem; border-radius: 999px; background: var(--sec-accent); color: #fff; }
@media (prefers-color-scheme: dark) { .review__badge { color: var(--night-1); } }
.notice { margin-bottom: 1.2rem; padding: 0.8rem 1rem; border-radius: var(--r-field); border: 1px solid var(--sec-field-line); font-size: 0.95rem; color: var(--sec-muted); }
.sk-list { display: grid; gap: 1.6rem; }
.sk { height: 1rem; }

.empty { display: grid; justify-items: start; gap: 0.6rem; padding: clamp(1.5rem, 4vw, 3rem) 0; }
.empty__pearl { width: clamp(70px, 9vw, 110px); aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle at 32% 28%, #fff 0, #f4eef6 18%, #cdbfd6 55%, #77668a 100%); box-shadow: 0 24px 40px -14px rgba(60, 30, 90, 0.55); animation: bob 6s ease-in-out infinite; margin-bottom: 0.8rem; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
.empty h3 { font-size: clamp(1.5rem, 2.6vw, 2rem); }
.empty p { color: var(--sec-muted); max-width: 40ch; }
.empty a { color: var(--sec-accent); font-weight: 500; }

.thanks { display: grid; gap: 0.5rem; justify-items: start; }
.thanks .icon { font-size: 2.2rem; color: var(--sec-accent); }

@media (max-width: 899px) {
  .reviews__grid { grid-template-columns: 1fr; }
  .reviews__side { position: static; }
}

/* ==========================================================================
   GET THE BOOK
   ========================================================================== */
.get { padding: clamp(5rem, 9vw, 8rem) 0 clamp(5rem, 9vw, 8rem); text-align: center; color: var(--golden-ink); background: linear-gradient(180deg, var(--golden-1) 0%, var(--golden-2) 100%); overflow: clip; }
.get .lead { color: var(--golden-muted); margin-inline: auto; }
.get__text { max-width: 38rem; margin-inline: auto; }
.get__cover { width: min(250px, 56vw); margin: 0 auto clamp(2rem, 4vw, 3rem); position: relative; }
.get__cover::before { content: ''; position: absolute; left: 50%; top: 52%; width: 190%; aspect-ratio: 1; transform: translate(-50%, -50%); background: radial-gradient(circle, rgba(255, 240, 200, 0.85), rgba(255, 240, 200, 0) 62%); pointer-events: none; }
.get__cover img { position: relative; border-radius: 3px 8px 8px 3px; box-shadow: 0 50px 70px -28px rgba(60, 30, 40, 0.7), 0 12px 20px -10px rgba(60, 30, 40, 0.5), -6px 0 0 -2px rgba(0, 0, 0, 0.25); transform: perspective(1400px) rotateY(-12deg) rotateX(2deg); transition: transform 0.8s var(--ease); }
.get__cover:hover img { transform: perspective(1400px) rotateY(0) rotateX(0); }
.facts { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.6rem 2.6rem; margin: 2rem 0; }
.facts div { display: grid; gap: 0.1rem; }
.facts dt { font-size: 0.95rem; color: var(--golden-muted); }
.facts dd { font-family: var(--font-display); font-size: 1.4rem; font-weight: 600; }
.get .btn--gold { background: var(--golden-ink); color: #fff; box-shadow: none; }
.get .btn--gold:hover { background: #3d1d66; }
@media (prefers-color-scheme: dark) { .get .btn--gold { background: var(--gold); color: var(--night-1); } .get .btn--gold:hover { background: #f3c26a; } }
.form--request { text-align: left; margin-top: 2rem; background: rgba(255, 255, 255, 0.5); border-color: rgba(42, 19, 71, 0.2); --sec-ink: var(--golden-ink); --sec-muted: var(--golden-muted); --sec-field-line: rgba(42, 19, 71, 0.55); --sec-line: rgba(42, 19, 71, 0.2); --sec-accent: #6e3f00; --err: #8f1632; }
@media (prefers-color-scheme: dark) { .form--request { background: rgba(255, 255, 255, 0.06); border-color: rgba(255, 255, 255, 0.2); --sec-accent: var(--gold); --sec-field-line: rgba(255, 255, 255, 0.5); --sec-line: rgba(255, 255, 255, 0.2); --err: #ff9bb0; } }
.form--request { color: var(--golden-ink); }
.form--request .btn { justify-self: start; }

/* ---- footer ------------------------------------------------------------- */
.footer { background: var(--night-0); padding: clamp(2.5rem, 5vw, 4rem) 0; }
.footer__row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 1.5rem; }
.footer__title { font-family: var(--font-display); font-style: italic; font-size: 1.6rem; color: var(--gold); }
.footer__title span { font-style: normal; font-weight: 700; color: var(--on-night); }
.footer__line { margin-top: 0.3rem; color: var(--on-night-muted); font-family: var(--font-display); font-style: italic; }
.footer__small { font-size: 0.92rem; color: var(--on-night-muted); text-align: right; }

/* ---- reduced motion ----------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  .js .reveal { opacity: 1; transform: none; }
  .rise { opacity: 1; }
  .hero__stage, .horizon__sun { animation: none !important; }
}
