/* Explorilla site. Mobile first; the book's palette. */
@font-face { font-family: "Alegreya"; src: url("/fonts/alegreya-latin-wght-normal.woff2") format("woff2"); font-weight: 400 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Alegreya"; src: url("/fonts/alegreya-latin-wght-italic.woff2") format("woff2"); font-weight: 400 900; font-style: italic; font-display: swap; }
@font-face { font-family: "Nunito"; src: url("/fonts/nunito-latin-wght-normal.woff2") format("woff2"); font-weight: 200 1000; font-style: normal; font-display: swap; }

:root {
  --navy: #1A2B4A;
  --navy-2: #24385e;
  --cream: #F2EAD8;
  --paper: #FBF6EC;
  --teal: #1F5F4E;
  --gold: #E3B55A;
  --gold-soft: #F4DFA8;
  --terracotta: #A63A1A;   /* 5.3:1 with cream text */
  --ink: #1A2B4A;
  --muted: #4A5568;
  --radius: 18px;
  --shadow: 0 10px 30px rgba(26, 43, 74, 0.14), 0 2px 6px rgba(26, 43, 74, 0.08);
  --wrap: 1160px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 400 1.0625rem/1.6 "Nunito", system-ui, -apple-system, "Segoe UI", sans-serif;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
picture { display: block; }
a { color: var(--teal); text-underline-offset: 0.18em; }
a:hover { color: var(--navy); }
:focus-visible { outline: 3px solid var(--terracotta); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { font-family: "Alegreya", Georgia, serif; line-height: 1.15; color: var(--navy); margin: 0 0 0.5em; }
h2 { font-size: clamp(2rem, 6vw, 3.1rem); font-weight: 800; letter-spacing: -0.01em; }
h3 { font-size: 1.35rem; font-weight: 700; }
p { margin: 0 0 1em; }
.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }
.narrow { max-width: 760px; }
.lede { font-size: 1.15rem; max-width: 46rem; color: var(--muted); }
.lede p:last-child { margin-bottom: 0; }
.small, .small p { font-size: 0.9rem; color: var(--muted); }
section { padding: clamp(4rem, 10vw, 7rem) 0; position: relative; }
.skip { position: absolute; left: -999px; top: 0; background: var(--navy); color: var(--cream); padding: 0.6rem 1rem; z-index: 10; }
.skip:focus { left: 1rem; top: 1rem; }

/* [CONFIRM] notes: visible in preview builds only (release builds refuse them) */
mark.confirm { background: #FFE58A; color: #3a2a00; font: 700 0.78rem/1.3 "Nunito", sans-serif; padding: 0.1em 0.4em; border-radius: 4px; display: inline; box-decoration-break: clone; -webkit-box-decoration-break: clone; }

/* buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5em;
  min-height: 52px; padding: 0.8rem 1.5rem; border-radius: 999px; border: 2px solid transparent;
  font: 800 1.05rem/1.2 "Nunito", sans-serif; text-decoration: none; cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}
.btn-primary { background: var(--terracotta); color: #FFF8EC; box-shadow: 0 6px 0 #6f2711, 0 10px 20px rgba(110, 40, 17, 0.25); }
.btn-primary:hover { color: #FFF8EC; transform: translateY(-2px); box-shadow: 0 8px 0 #6f2711, 0 14px 24px rgba(110, 40, 17, 0.3); }
.btn-primary:active { transform: translateY(3px); box-shadow: 0 3px 0 #6f2711; }
.btn-secondary { background: var(--paper); color: var(--navy); border-color: var(--navy); }
.btn-secondary:hover { background: #fff; color: var(--navy); transform: translateY(-2px); }
.btn-disabled, .btn[aria-disabled="true"] { background: #E4DDCD; color: #4d4a44; border-color: #cfc6b2; box-shadow: none; cursor: default; transform: none; }
.btn-small { min-height: 44px; padding: 0.55rem 1.1rem; font-size: 0.95rem; }

/* hero ---------------------------------------------------------------------------- */
/* The stage: three painted layers and the cast. On a phone it is a slice of the
   painting (TALL in build.mjs) above the words; on wide screens the whole 21:9
   painting covers the hero behind them. Sprites are placed in stage fractions
   (pages.mjs CAST): --x centre, --b feet, --h height. */
.hero { position: relative; background: var(--gold-soft); overflow: hidden; }
.hero-art { position: relative; }
.stage { position: relative; width: 100%; aspect-ratio: 1075 / 1086; overflow: hidden; }
.layer, .layer img { position: absolute; inset: 0; width: 100%; height: 100%; }
.cast, .walker, .flyer { position: absolute; inset: 0; }
.walker, .flyer { pointer-events: none; }
.sprite { --x: var(--xt); --b: var(--bt); --h: var(--ht);
  position: absolute; left: calc(var(--x) * 100%); top: calc((var(--b) - var(--h)) * 100%); height: calc(var(--h) * 100%); transform: translateX(-50%); }
.sprite picture, .sprite img { height: 100%; width: auto; max-width: none; }
.sprite .strip { height: 100%; overflow: hidden; }
.sprite .strip picture { height: 100%; }
.sprite .strip img { width: 400%; height: 100%; max-width: none; }
.logo { margin: 0; position: absolute; z-index: 2; top: 5vw; left: 50%; transform: translateX(-50%); width: 86vw; }
.logo img { width: 100%; filter: drop-shadow(0 4px 10px rgba(26, 43, 74, 0.25)); }
.hero-inner { z-index: 2; }
.hero-copy { position: relative; padding: 1.5rem 0 3.5rem; }
.eyebrow { font: 800 0.85rem/1.3 "Nunito", sans-serif; letter-spacing: 0.12em; text-transform: uppercase; color: var(--teal); margin-bottom: 0.6rem; }
.headline { font: 800 clamp(2rem, 8vw, 3.6rem)/1.08 "Alegreya", Georgia, serif; color: var(--navy); margin-bottom: 0.8rem; }
.promise { font-size: 1.15rem; max-width: 34rem; }
.hero-lines { margin: 1.1rem 0 0; font-size: 1.02rem; max-width: 34rem; }
.hero-lines p { margin: 0 0 0.45rem; }
.hero-lines p:first-child { color: var(--navy); }
.hero-lines p:last-child { color: var(--teal); font-weight: 600; }
.cta-row { display: flex; flex-direction: column; gap: 0.9rem; margin: 1.5rem 0 1.2rem; }
.stores { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.store { font-size: 0.85rem; font-weight: 700; color: #4d4a44; background: rgba(255, 255, 255, 0.55); border: 1.5px dashed #a59c88; border-radius: 10px; padding: 0.35rem 0.75rem; }

/* pause / play the hero animation (site.js shows it; WCAG 2.2.2) */
.stage-toggle { position: absolute; left: 0.8rem; bottom: 0.8rem; z-index: 3; width: 44px; height: 44px; border-radius: 50%;
  border: 2px solid rgba(26, 43, 74, 0.55); background: rgba(251, 246, 236, 0.88); color: var(--navy); display: grid; place-items: center; cursor: pointer; padding: 0; }
.stage-toggle:hover { background: #fff; }
.stage-icon { display: block; width: 12px; height: 14px; border-left: 4px solid currentColor; border-right: 4px solid currentColor; }
.stage-toggle[data-state="play"] .stage-icon { width: 0; height: 0; border-right: 0; border-left: 12px solid currentColor; border-top: 7px solid transparent; border-bottom: 7px solid transparent; margin-left: 4px; }

/* Grandpa's compass: the needle turns about the dial's centre (--cx, --cy) */
.compass { position: absolute; right: -10px; top: -104px; width: 124px; z-index: 3; filter: drop-shadow(0 8px 14px rgba(60, 40, 10, 0.35)); }
.compass picture, .compass img { display: block; width: 100%; height: auto; }
.compass .needle { position: absolute; inset: 0; transform-origin: var(--cx) var(--cy); transform: rotate(var(--needle, var(--cta, 0deg))); }
.compass .needle img { filter: drop-shadow(0 2px 1.5px rgba(40, 25, 5, 0.5)); }
/* phones: a gentle swing between the Founding button and 10 degrees off it */
.compass.idle .needle { animation: needle-idle 4s ease-in-out infinite; }
.compass.snap .needle, .compass.hold .needle { animation: none; transform: rotate(var(--cta, 0deg)); transition: transform 0.35s cubic-bezier(.2, 1.5, .4, 1); }
@keyframes needle-idle { 0%, 100% { transform: rotate(var(--cta, 0deg)); } 50% { transform: rotate(calc(var(--cta, 0deg) + 10deg)); } }

@media (min-width: 760px) {
  /* tall enough that the 21:9 painting always covers the width */
  .hero { min-height: max(min(92vh, 900px), calc(100vw / 2.357)); display: flex; align-items: center; }
  .hero-art { position: absolute; inset: 0; }
  .stage { position: absolute; bottom: 0; left: 64%; height: 100%; width: auto; aspect-ratio: 2560 / 1086; transform: translateX(-64%); }
  .sprite { --x: var(--xw); --b: var(--bw); --h: var(--hw); }
  .hero::before { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
    background: linear-gradient(90deg, rgba(251, 246, 236, 0.93) 0%, rgba(251, 246, 236, 0.84) 34%, rgba(251, 246, 236, 0) 58%); }
  .hero-inner { position: relative; padding: 3rem 0 9rem; }
  .hero-inner > * { max-width: 560px; }
  .logo { position: static; transform: none; width: min(520px, 100%); margin-bottom: 1.2rem; }
  .hero-copy { padding: 0; }
  .cta-row { flex-direction: row; flex-wrap: wrap; }
  .compass { top: -10rem; right: auto; left: calc(100% + 1.5rem); width: 170px; }
  .stage-toggle { left: auto; right: 1.2rem; bottom: 1.2rem; }
}

/* the hero animation: CSS only, so it plays without JS; reduced motion shows the end */
.walker { --from: var(--from-t); opacity: 0; animation: walk-path 5.1s linear both; }
.walk .strip img { animation: cycle 0.64s steps(4) 8 both; }
.cast > .sprite.explorilla { animation: appear 0.25s ease-out 5s both; }
.cast > .sprite.pip { animation: rise 0.7s cubic-bezier(.2, 1.3, .4, 1) 5.7s both; }
.cast > .sprite.moss { animation: rise 0.8s cubic-bezier(.2, 1.3, .4, 1) 6.6s both; }
.cast > .sprite.juno { animation: rise 0.9s cubic-bezier(.2, 1.3, .4, 1) 7.6s both; }
.flyer { transform: translateX(118%); animation: fly 4.2s linear 8.6s both; }
.flyer .sprite { animation: glide 1.4s ease-in-out 8.6s 3 both; }
.mags .strip img { animation: cycle 0.5s steps(4) 8.6s 9 both; }
@media (min-width: 760px) { .walker { --from: var(--from-w); } }
@keyframes walk-path { 0% { opacity: 1; transform: translateX(var(--from)); } 97% { opacity: 1; transform: none; } 100% { opacity: 0; transform: none; } }
@keyframes cycle { from { transform: translateX(0); } to { transform: translateX(-100%); } }
@keyframes appear { from { opacity: 0; } to { opacity: 1; } }
@keyframes rise { from { opacity: 0; transform: translateX(-50%) translateY(10%) scale(0.94); } to { opacity: 1; transform: translateX(-50%); } }
@keyframes fly { from { transform: translateX(-14%); } to { transform: translateX(118%); } }
@keyframes glide { 0%, 100% { translate: 0 0; } 50% { translate: 0 -14%; } }
.stage.paused .cast, .stage.paused .cast * { animation-play-state: paused !important; }

/* what ------------------------------------------------------------------------------ */
.what { background: var(--paper); }
.facts { list-style: none; padding: 0; margin: 2.5rem 0 0; display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.facts li { background: #fff; border-radius: var(--radius); padding: 1.4rem 1.4rem 1rem; box-shadow: var(--shadow); border-top: 6px solid var(--teal); }
.facts li:nth-child(2) { border-top-color: var(--gold); }
.facts li:nth-child(3) { border-top-color: var(--terracotta); }
.facts li:nth-child(4) { border-top-color: var(--navy); }

/* how ------------------------------------------------------------------------------- */
.how { background: linear-gradient(#F7EEDB, var(--paper)); }
.steps { list-style: none; padding: 0; margin: 2.5rem 0 0; display: grid; gap: 2rem; }
@media (min-width: 640px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.step-art { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); margin-bottom: 1.2rem; aspect-ratio: 3 / 2; }
.step-art img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.step:hover .step-art img { transform: scale(1.04); }
.step-n { position: absolute; left: 0.8rem; top: 0.8rem; width: 2.6rem; height: 2.6rem; border-radius: 50%; display: grid; place-items: center; background: var(--navy); color: var(--cream); font: 800 1.3rem "Alegreya", serif; box-shadow: 0 3px 8px rgba(0,0,0,.25); }

/* the app preview slot: December's screen recordings go here */
.previews { margin-top: 3rem; text-align: center; }
.preview-label { display: inline-block; font-weight: 800; color: var(--teal); background: #fff; border: 2px dashed #b9ab8c; border-radius: 999px; padding: 0.4rem 1.1rem; margin: 0 0 1.2rem; }
.preview-row { list-style: none; padding: 0; margin: 0; display: flex; justify-content: center; gap: clamp(0.8rem, 3vw, 2rem); }
.phone-frame { width: clamp(88px, 24vw, 190px); aspect-ratio: 9 / 19.5; border-radius: 22px; background: var(--navy); padding: 7px; box-shadow: var(--shadow); }
.phone-screen { display: grid; place-items: center; height: 100%; border-radius: 16px; background: repeating-linear-gradient(135deg, #F4E9D2 0 12px, #EFE2C6 12px 24px); }
.phone-screen picture { width: 42%; opacity: 0.6; }

/* journey ------------------------------------------------------------------------------- */
.journey { background: linear-gradient(var(--paper), #F3E7CC); }
.onward { display: flex; align-items: center; gap: clamp(0.4rem, 2vw, 1.2rem); margin: 0 0 1.2rem; }
.onward-word { position: relative; display: block; width: min(76vw, 560px); }
.letter { position: absolute; top: 0; height: 100%; }
.letter picture, .letter img { width: 100%; height: 100%; }
.onward-mark { width: clamp(50px, 11vw, 92px); flex: none; filter: drop-shadow(0 6px 10px rgba(60, 40, 10, 0.3)); }
.onward.pre .letter, .onward.pre .onward-mark { opacity: 0; }
.onward.go .letter { animation: letter-pop 0.45s cubic-bezier(.3, 1.7, .5, 1) calc(var(--i) * 0.18s) both; }
.onward.go .onward-mark { animation: mark-in 0.4s cubic-bezier(.3, 1.6, .5, 1) 1.1s both; }
@keyframes letter-pop { from { opacity: 0; transform: translateY(35%) scale(0.7); } to { opacity: 1; transform: none; } }
@keyframes mark-in { from { opacity: 0; transform: rotate(-120deg) scale(0.4); } to { opacity: 1; transform: none; } }
.scenes { list-style: none; padding: 0; margin: 3rem 0 0; display: grid; gap: clamp(2.5rem, 6vw, 4.5rem); }
.scene { display: grid; gap: 1rem 2.5rem; align-items: center; }
.scene-art { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 4 / 3; }
.scene-art picture { position: absolute; inset: -8% 0; }
.scene-art img { width: 100%; height: 100%; object-fit: cover; object-position: var(--focus) 50%; }
.scene-text h3 { margin-bottom: 0.4rem; }
.verse { font: italic 500 1.2rem/1.55 "Alegreya", Georgia, serif; color: var(--navy); margin: 0; }
@media (min-width: 860px) {
  .scene { grid-template-columns: 3fr 2fr; }
  .scene:nth-child(even) { grid-template-columns: 2fr 3fr; }
  .scene:nth-child(even) .scene-art { order: 2; }
  .scene-art { aspect-ratio: 16 / 10; }
}

/* subjects ----------------------------------------------------------------------------- */
.subjects { background: #EFE3C6; overflow: hidden; }
.subjects-map { position: absolute; inset: -10% 0; opacity: 0.22; pointer-events: none; }
.subjects-map picture, .subjects-map img { width: 100%; height: 100%; object-fit: cover; }
.subjects .wrap { position: relative; }
.alignment { font-weight: 700; color: var(--teal); max-width: 44rem; }
.cards { list-style: none; padding: 0; margin: 2rem 0; display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }
.card { background: rgba(255, 255, 255, 0.93); border-radius: var(--radius); padding: 1.4rem; box-shadow: var(--shadow); }
.card .icon { width: 44px; height: 44px; color: var(--teal); margin-bottom: 0.6rem; }
.card p { margin-bottom: 0; }

/* explorers ---------------------------------------------------------------------------- */
.explorers { background: var(--paper); }
.crew { list-style: none; padding: 0; margin: 2.5rem 0 0; display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 150px), 1fr)); }
@media (min-width: 1000px) { .crew { grid-template-columns: repeat(5, 1fr); } }
.explorer { background: #fff; border-radius: 22px; padding: 1rem 1rem 1.2rem; box-shadow: var(--shadow); text-align: center; cursor: pointer;
  transition: transform 0.35s cubic-bezier(.2, 1.4, .4, 1), box-shadow 0.35s ease; outline-offset: 4px; }
.portrait { background: #FBF3E2; border-radius: 16px; overflow: hidden; aspect-ratio: 4 / 5; display: grid; place-items: end center; margin-bottom: 0.9rem; }
/* the portrait and its frames share one box, so the patches sit exactly on it */
.figure { position: relative; }
.figure.tall { height: 100%; }
.figure.wide { width: 100%; }
.pose { position: absolute; inset: 0; transform-origin: 50% 100%; }
.pose > picture:first-child, .pose > picture:first-child img { width: 100%; height: 100%; }
.frame { position: absolute; opacity: 0; pointer-events: none; }
.frame img { width: 100%; height: auto; }
.frame.on { opacity: 1; }
.explorer[data-who="juno"] .pose { animation: sway 6s ease-in-out infinite; }
@keyframes sway { 0%, 100% { transform: rotate(-1.6deg); } 50% { transform: rotate(1.6deg); } }
/* each walks in from the right as its card arrives; Mags flies in */
.explorer.pre .figure { opacity: 0; transform: translateX(120%); }
.explorer.pre.is-in .figure { animation: walk-in 1.2s cubic-bezier(.25, .7, .3, 1) calc(var(--i) * 0.12s + 0.1s) both; }
.explorer.pre.is-in[data-who="mags"] .figure { animation-name: fly-in; }
@keyframes walk-in {
  0% { opacity: 0; transform: translateX(120%); } 12% { opacity: 1; }
  25% { transform: translateX(80%) translateY(-3%); } 40% { transform: translateX(55%) translateY(0); }
  55% { transform: translateX(32%) translateY(-3%); } 70% { transform: translateX(14%) translateY(0); }
  85% { transform: translateX(3%) translateY(-2%); } 100% { opacity: 1; transform: none; } }
@keyframes fly-in {
  0% { opacity: 0; transform: translate(140%, -70%) rotate(-12deg); } 15% { opacity: 1; }
  60% { transform: translate(30%, -28%) rotate(-6deg); } 100% { opacity: 1; transform: none; } }
.trait { font-size: 0.95rem; color: var(--muted); }
.lines { margin: 0; padding: 0.8rem 0 0; border-top: 2px dashed #e3d7bd; font-family: "Alegreya", serif; font-size: 1.02rem; }
.lines .too { color: var(--muted); font-style: italic; margin-bottom: 0.35rem; }
.lines .enough { color: var(--teal); font-weight: 700; margin: 0; }
.explorer:hover, .explorer:focus-visible, .explorer.is-active { transform: translateY(-10px) rotate(-1deg); box-shadow: 0 22px 40px rgba(26, 43, 74, 0.2); }
@keyframes hop { 0%, 100% { transform: translateY(0); } 40% { transform: translateY(-12px) rotate(-4deg); } }

/* parents ----------------------------------------------------------------------------- */
.parents { background: var(--teal); color: #F7F1E3; }
.parents h2, .parents h3 { color: #FFF8EC; }
.parents .lede { color: #E6EFE9; }
.trust { list-style: none; padding: 0; margin: 2.5rem 0 0; display: grid; gap: 1.6rem 2.5rem; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.trust li { padding-left: 1.1rem; border-left: 4px solid var(--gold); }
.trust p { margin: 0; }
.parents a { color: #FFE7A6; }
.parents mark.confirm { color: #3a2a00; }

/* book ---------------------------------------------------------------------------------- */
.book { background: var(--paper); }
.book-grid { display: grid; gap: 2.5rem; }
@media (min-width: 960px) { .book-grid { grid-template-columns: 420px 1fr; align-items: start; } .book-cover { position: sticky; top: 2rem; } }
.book-cover img { border-radius: 6px 14px 14px 6px; box-shadow: 0 30px 50px rgba(26, 43, 74, 0.28), -6px 0 0 #142240; width: min(100%, 420px); margin-inline: auto; }
.parchment { position: relative; margin: 5.5rem 0 2rem; padding: 2.2rem 1.6rem 1.4rem; border-radius: 10px;
  background: #F1E4C6 url("/img/parchment-800.webp") center / cover; box-shadow: 0 14px 30px rgba(90, 60, 20, 0.18), inset 0 0 40px rgba(150, 100, 40, 0.18);
  font-family: "Alegreya", Georgia, serif; font-size: 1.12rem; color: var(--navy); }
.parchment p:last-child { margin-bottom: 0; }
.mags-perch { position: absolute; left: -8px; top: -70px; width: 104px; transform-origin: 70% 100%; }
.parchment:hover .mags-perch { animation: hop 0.8s ease-in-out 2; }
.buy { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.8rem; }
.buy-option { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.8rem 1.2rem; background: #fff; border-radius: var(--radius); padding: 1.1rem 1.3rem; box-shadow: var(--shadow); }
.buy-option h3 { margin: 0; font-size: 1.2rem; }
.buy-option p { margin: 0; }
.price { font-weight: 800; color: var(--teal); }

/* night sections (founding, signup) --------------------------------------------------- */
.night { background: #0F1B33; color: #EDE6D6; overflow: hidden; }
.night h2, .night h3 { color: #FFF4DC; }
.night .lede { color: #D9D2C2; }
.night a:not(.btn) { color: #FFD98A; }
.night-art { position: absolute; inset: -15% 0; pointer-events: none; }
.night-art picture, .night-art img { width: 100%; height: 100%; object-fit: cover; }
.night-art img { opacity: 0.5; }
.night::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(15,27,51,0.55), rgba(15,27,51,0.9)); pointer-events: none; }
.night .wrap { position: relative; z-index: 1; }
.founding-list { list-style: none; padding: 0; margin: 2.5rem 0; display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.founding-list > li { background: rgba(255, 248, 236, 0.07); border: 1px solid rgba(255, 228, 166, 0.25); border-radius: var(--radius); padding: 1.3rem; backdrop-filter: blur(2px); }
.founding-list p { margin: 0; }
.founding-list p + p { margin-top: 0.7rem; }
.founding-list ul { margin: 0; padding-left: 1.1rem; }
.founding-list li li { margin-bottom: 0.4rem; }
.founding-buy { display: flex; flex-direction: column; align-items: flex-start; gap: 0.9rem; }
.remaining { display: flex; align-items: center; gap: 0.8rem; font-weight: 800; font-size: 1.1rem; margin: 0; color: #FFE7A6; }
.meter { width: 140px; height: 10px; border-radius: 99px; background: rgba(255,255,255,.18); overflow: hidden; }
.meter span { display: block; height: 100%; background: var(--gold); border-radius: inherit; }
.night .small, .night .small p { color: #CFC8B8; }
.night mark.confirm { color: #3a2a00; }

.exclusive { margin: 1.8rem 0 0; padding: 1.1rem 1.4rem; border-radius: var(--radius); background: var(--gold); color: var(--navy); font: 700 1.2rem/1.45 "Alegreya", Georgia, serif; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25); max-width: 46rem; }
.exclusive p { margin: 0; }
.exclusive strong { font-weight: 900; }
.founding-status { margin: 1.2rem 0 0; padding: 1rem 1.3rem; border-radius: var(--radius); border: 2px dashed rgba(255, 228, 166, 0.55); color: #FFF4DC; font-size: 1.1rem; max-width: 46rem; }
.founding-status p { margin: 0; }
.compare { margin: 0 0 2rem; overflow-x: auto; }
.compare table { width: 100%; max-width: 46rem; border-collapse: collapse; background: rgba(255, 248, 236, 0.06); border-radius: var(--radius); overflow: hidden; }
.compare th, .compare td { padding: 0.7rem 0.9rem; text-align: left; border-bottom: 1px solid rgba(255, 228, 166, 0.18); }
.compare thead th { color: #FFE7A6; font: 800 0.95rem "Nunito", sans-serif; letter-spacing: 0.04em; }
.compare td:last-child, .compare th:last-child { background: rgba(227, 181, 90, 0.14); font-weight: 800; color: #FFF4DC; }
.compare tr:last-child td { border-bottom: 0; font-size: 1.1rem; }
.phase-soldout .founding-status { border-style: solid; border-color: var(--gold); background: rgba(227, 181, 90, 0.12); font: 700 1.25rem/1.45 "Alegreya", Georgia, serif; }
.phase-soldout .meter span { background: rgba(255, 255, 255, 0.35); }
.phase-soldout .compare td:last-child { opacity: 0.7; }

/* faq ---------------------------------------------------------------------------------- */
.faq { background: var(--paper); }
details { background: #fff; border-radius: 14px; box-shadow: 0 2px 10px rgba(26,43,74,.07); margin-bottom: 0.7rem; }
summary { cursor: pointer; list-style: none; padding: 1.05rem 3rem 1.05rem 1.2rem; font: 700 1.12rem/1.35 "Alegreya", serif; color: var(--navy); position: relative; min-height: 48px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 1.2rem; top: 50%; transform: translateY(-50%); font: 700 1.5rem "Nunito"; color: var(--teal); transition: transform .25s ease; }
details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
details > p, details > ul { padding: 0 1.2rem; }
details > p:last-child { padding-bottom: 1rem; }

/* signup ------------------------------------------------------------------------------ */
.signup-form { margin-top: 2rem; }
.signup-form label { display: block; font-weight: 800; margin-bottom: 0.5rem; }
.field-row { display: flex; flex-direction: column; gap: 0.8rem; }
@media (min-width: 560px) { .field-row { flex-direction: row; } }
.signup-form input[type="email"] { flex: 1; min-height: 54px; border-radius: 999px; border: 2px solid #c9bfa9; padding: 0 1.3rem; font: 600 1.05rem "Nunito", sans-serif; background: #FFFBF2; color: var(--navy); }
.signup-form input[type="email"]:focus { border-color: var(--gold); outline: 3px solid rgba(227,181,90,.5); }
.hp { position: absolute; left: -5000px; }
.form-status { min-height: 1.6em; font-weight: 800; margin: 1rem 0 0.4rem; color: #FFE7A6; }

/* footer ------------------------------------------------------------------------------ */
.site-footer { background: var(--navy); color: #D9D2C2; padding: 3rem 0 2.5rem; }
.site-footer a { color: #F5E6BF; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 0.6rem 1.4rem; margin: 1rem 0; }
.site-footer .small { color: #BDB6A6; }
.press { display: flex; align-items: center; gap: 0.7rem; font: 700 1.1rem "Alegreya", serif; color: #FFF4DC; margin: 0; }
.emark { width: 2.4rem; height: 2.4rem; border-radius: 50%; background: var(--cream); color: var(--navy); display: grid; place-items: center; font: 700 1.3rem "Alegreya", serif; }

/* simple pages ----------------------------------------------------------------------------- */
.page-head { background: var(--gold-soft); padding: 1.2rem 0; }
.logo-link { display: inline-block; width: 220px; }
.prose { padding: 3rem 0 4rem; font-size: 1.08rem; }
.prose h1 { font-size: clamp(2rem, 6vw, 2.8rem); }

/* motion ------------------------------------------------------------------------------------ */
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.reveal { opacity: 1; }
.reveal.pre { opacity: 0; transform: translateY(24px) scale(0.98); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.pre.is-in { opacity: 1; transform: none; }
/* parallax: scroll-driven CSS, no scroll handlers. Hero layers move at 0.3x
   (far) and 0.6x (mid) of the page; the grass and the cast at 1x. */
@supports (animation-timeline: scroll()) {
  .layer-far { animation: drift-far linear both; animation-timeline: scroll(root); animation-range: 0 100vh; }
  .layer-mid { animation: drift-mid linear both; animation-timeline: scroll(root); animation-range: 0 100vh; }
  .subjects-map, .night-art { animation: drift linear both; animation-timeline: view(); animation-range: cover; }
  .scene-art picture { animation: depth linear both; animation-timeline: view(); animation-range: cover; }
}
@keyframes drift-far { to { transform: translate3d(0, 70vh, 0); } }
@keyframes drift-mid { to { transform: translate3d(0, 40vh, 0); } }
@keyframes drift { from { transform: translate3d(0, -7%, 0); } to { transform: translate3d(0, 7%, 0); } }
@keyframes depth { from { transform: translate3d(0, -6%, 0) scale(1.04); } to { transform: translate3d(0, 6%, 0) scale(1.04); } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal.pre { opacity: 1; transform: none; }
}
