/* ============================================================
   AIMYA — morning-light storytelling
   Warm, consistent, professional.
   ============================================================ */

:root {
  --bg: #f7f0e6;
  --bg-soft: #efe4d4;
  --ink: #2a1f18;
  --ink-soft: #5a4638;
  --ink-mute: #8a7360;
  --terracotta: #c4785a;
  --terracotta-deep: #a85f42;
  --honey: #c9956a;
  --cream: #fffaf3;
  --line: rgba(42, 31, 24, 0.1);
  --shadow: 0 16px 40px rgba(42, 31, 24, 0.07);
  --radius: 22px;
  --radius-sm: 16px;
  --maxw: 1120px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --serif: "Fraunces", "Iowan Old Style", Georgia, "Times New Roman", serif;
  --sans: "Hanken Grotesk", -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  scroll-snap-type: y proximity;
}

body {
  background:
    radial-gradient(100% 70% at 10% 0%, rgba(196, 120, 90, 0.1), transparent 50%),
    radial-gradient(90% 60% at 100% 30%, rgba(201, 149, 106, 0.12), transparent 55%),
    var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 400;
  line-height: 1.65;
  letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-optical-sizing: auto;
  overflow-x: hidden;
}

.display, .serif, .step, .world__title, .whisper, .tagline, .name-reveal,
.brand-hero, .mote__main, .why-vow {
  font-variation-settings: "SOFT" 40;
}

/* ---------- Atmosphere ---------- */
.aurora { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.glow {
  position: absolute; border-radius: 50%;
  filter: blur(90px); opacity: 0.5; will-change: transform;
}
.glow--1 {
  width: 55vw; height: 55vw; top: -15vw; right: -10vw;
  background: radial-gradient(circle, rgba(201, 149, 106, 0.42), transparent 68%);
  animation: drift1 30s var(--ease) infinite alternate;
}
.glow--2 {
  width: 45vw; height: 45vw; bottom: -12vw; left: -8vw;
  background: radial-gradient(circle, rgba(196, 120, 90, 0.25), transparent 68%);
  animation: drift2 36s var(--ease) infinite alternate;
}
.glow--3 {
  width: 35vw; height: 35vw; top: 45%; left: 40%;
  background: radial-gradient(circle, rgba(255, 250, 243, 0.75), transparent 70%);
  animation: drift3 40s var(--ease) infinite alternate;
}
@keyframes drift1 { to { transform: translate3d(-6vw, 8vh, 0) scale(1.1); } }
@keyframes drift2 { to { transform: translate3d(8vw, -5vh, 0) scale(1.15); } }
@keyframes drift3 { to { transform: translate3d(-8vw, 6vh, 0) scale(0.9); } }

/* ---------- Chrome ---------- */
.progress {
  position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 40;
  background: rgba(42, 31, 24, 0.06);
}
.progress__bar {
  display: block; height: 100%; width: 0%;
  background: linear-gradient(90deg, var(--terracotta-deep), var(--honey), var(--terracotta));
}

.dots {
  position: fixed; right: 24px; top: 50%; transform: translateY(-50%);
  z-index: 40; display: flex; flex-direction: column; gap: 14px;
}
.dot {
  position: relative; width: 8px; height: 8px; border-radius: 50%;
  background: rgba(42, 31, 24, 0.16);
  transition: all 0.4s var(--ease);
}
.dot:hover, .dot.active {
  background: var(--terracotta);
  transform: scale(1.35);
  box-shadow: 0 0 0 4px rgba(196, 120, 90, 0.16);
}
.dot::after {
  content: attr(data-label);
  position: absolute; right: 18px; top: 50%; transform: translateY(-50%) translateX(6px);
  font-size: 11px; color: var(--ink-soft); white-space: nowrap;
  opacity: 0; pointer-events: none; transition: all 0.3s var(--ease);
}
.dot:hover::after { opacity: 1; transform: translateY(-50%) translateX(0); }

.wordmark {
  position: fixed; top: 22px; left: 28px; z-index: 40;
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--serif); font-weight: 550; letter-spacing: 0.26em;
  font-size: 15px; text-decoration: none; padding: 8px 14px 8px 11px;
  border-radius: 999px;
  background: rgba(255, 250, 243, 0.78);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(42, 31, 24, 0.08);
  transition: transform 0.35s var(--ease), box-shadow 0.35s ease;
}
.wordmark__text {
  background: linear-gradient(105deg, var(--terracotta-deep), var(--honey));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.wordmark__dot {
  width: 8px; height: 8px; border-radius: 50%; flex: none;
  background: radial-gradient(circle at 35% 30%, #ffe0c8, var(--terracotta));
  box-shadow: 0 0 10px rgba(196, 120, 90, 0.5);
  animation: breathe 3.6s ease-in-out infinite;
}
.wordmark:hover { transform: translateY(-1px); box-shadow: 0 8px 24px rgba(42, 31, 24, 0.08); }
@keyframes breathe {
  0%, 100% { transform: scale(0.88); opacity: 0.75; }
  50% { transform: scale(1.15); opacity: 1; }
}

/* ---------- Scenes ---------- */
main { position: relative; z-index: 2; }

.scene {
  position: relative;
  min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  padding: 14vh 7vw 16vh;
  scroll-snap-align: center;
  scroll-snap-stop: normal;
}
.scene__inner {
  width: 100%; max-width: var(--maxw);
  will-change: transform, opacity;
  transform-origin: center center;
}
.scene__inner.narrow { max-width: 700px; margin: 0 auto; }
.softband { background: linear-gradient(180deg, transparent, rgba(234, 220, 200, 0.5), transparent); }
.accentbg {
  background: radial-gradient(80% 70% at 50% 50%, rgba(196, 120, 90, 0.12), transparent 70%);
}

/* ---------- Hero ---------- */
.scene--hero {
  padding: 0; min-height: 100vh; align-items: flex-end;
  overflow: hidden;
}
.hero-photo { position: absolute; inset: 0; z-index: 0; }
.hero-photo picture {
  display: block; width: 100%; height: 100%;
}
.hero-photo img {
  width: 100%; height: 100%; object-fit: cover; object-position: center 20%;
  display: block; transform: scale(1.04);
}
.face__frame picture {
  display: block; width: 100%; height: 100%;
}
.hero-veil {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(180deg, rgba(42, 31, 24, 0.12) 0%, rgba(42, 31, 24, 0.22) 40%, rgba(42, 31, 24, 0.72) 100%),
    linear-gradient(90deg, rgba(42, 31, 24, 0.32), transparent 55%);
}
.hero-copy {
  position: relative; z-index: 2;
  padding: 0 7vw 14vh;
  max-width: var(--maxw);
  color: #fffaf3;
}
.brand-hero {
  font-family: var(--serif); font-weight: 520; letter-spacing: 0.34em;
  font-size: clamp(1.35rem, 2.8vw, 1.85rem);
  color: #ffe8d4;
  margin-bottom: 16px;
}
.scene--hero .display { color: #fffaf3; margin-top: 0; }
.scene--hero .lede {
  color: rgba(255, 250, 243, 0.88);
  max-width: 34ch;
}
.scene--hero .line--accent {
  background: linear-gradient(105deg, #ffe0c8, #f0b59a);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ---------- Chapter cue ---------- */
.chapter-cue {
  position: absolute; bottom: 2.5vh; left: 50%; transform: translateX(-50%);
  z-index: 6;
}
.chapter-cue__button {
  appearance: none; border: 0; background: transparent; cursor: pointer;
  display: flex; flex-direction: column; align-items: center; gap: 7px;
  color: var(--ink-mute); font-family: var(--sans);
  transition: color 0.3s ease, transform 0.3s var(--ease);
}
.chapter-cue__label {
  font-size: 10px; font-weight: 600; letter-spacing: 0.16em;
  text-transform: uppercase;
}
.chapter-cue__icon {
  width: 34px; height: 34px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(255, 250, 243, 0.8);
  border: 1px solid rgba(196, 120, 90, 0.22);
  box-shadow: 0 8px 24px rgba(42, 31, 24, 0.07);
  animation: cue-bob 2.2s ease-in-out infinite;
}
.chapter-cue__icon::before {
  content: "";
  width: 7px; height: 7px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
}
.chapter-cue__icon.is-up::before {
  transform: translateY(2px) rotate(225deg);
}
.chapter-cue__button:hover {
  color: var(--terracotta-deep);
  transform: translateY(-2px);
}
.chapter-cue__button:focus-visible {
  outline: 2px solid var(--terracotta);
  outline-offset: 6px;
  border-radius: 999px;
}
.scene--hero .chapter-cue__button,
.scene--why .chapter-cue__button { color: rgba(255, 250, 243, 0.82); }
.scene--hero .chapter-cue__icon,
.scene--why .chapter-cue__icon {
  background: rgba(42, 31, 24, 0.28);
  border-color: rgba(255, 250, 243, 0.42);
  box-shadow: 0 8px 28px rgba(42, 31, 24, 0.18);
}
@keyframes cue-bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(5px); }
}

/* ---------- Type ---------- */
.kicker {
  font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--terracotta); font-weight: 600;
}
.kicker.center, .serif.center { text-align: center; }

.display {
  font-family: var(--serif); font-weight: 360;
  font-size: clamp(2.5rem, 7vw, 5.4rem);
  line-height: 1.08; letter-spacing: -0.025em; margin-top: 16px;
}
.display .line { display: block; padding-bottom: 0.1em; }
.display--sm { font-size: clamp(2.2rem, 6.2vw, 4.4rem); }
.display--md { font-size: clamp(2.3rem, 6.5vw, 4.8rem); }
.line--accent {
  font-style: italic;
  padding-bottom: 0.16em; padding-right: 0.08em;
  background: linear-gradient(105deg, var(--terracotta-deep), var(--honey));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

.serif {
  font-family: var(--serif); font-weight: 380;
  font-size: clamp(1.7rem, 3.8vw, 2.75rem); line-height: 1.22;
  letter-spacing: -0.015em;
}
.scene--center .serif { text-align: center; }

.lede {
  margin-top: 20px; font-size: clamp(1.05rem, 1.9vw, 1.28rem);
  color: var(--ink-soft); font-weight: 350; line-height: 1.55;
}

.body {
  font-size: clamp(1.05rem, 1.7vw, 1.22rem); color: var(--ink-soft);
  font-weight: 350; margin-top: 20px; line-height: 1.75;
}
.scene--center .body { text-align: center; margin-inline: auto; max-width: 50ch; }
.body em { color: var(--ink); font-style: italic; font-family: var(--serif); }

.step {
  font-family: var(--serif); font-weight: 350;
  font-size: clamp(1.45rem, 3.2vw, 2.3rem); line-height: 1.32;
  color: var(--ink-soft); margin: 0 0 0.85em; text-align: center;
}
.step.big { color: var(--ink); }

.whisper {
  margin-top: 36px; text-align: center; color: var(--terracotta);
  font-style: italic; font-family: var(--serif);
  font-size: clamp(1.02rem, 1.8vw, 1.28rem);
}

.detail {
  margin: 28px auto 0; max-width: 40ch;
  padding: 22px 24px;
  font-family: var(--serif); font-style: italic; font-weight: 380;
  font-size: clamp(1.05rem, 1.8vw, 1.28rem); line-height: 1.55;
  color: var(--ink);
  background: var(--cream);
  border-radius: var(--radius-sm);
  border: 1px solid rgba(196, 120, 90, 0.16);
  box-shadow: var(--shadow);
}

/* ---------- Stats ---------- */
.scene--stats .scene__inner { text-align: center; }
.stat--lead {
  margin: 32px auto 0; max-width: 400px;
  padding: 32px 28px 28px;
  border-radius: var(--radius);
  background: var(--cream);
  border: 1px solid rgba(196, 120, 90, 0.14);
  box-shadow: var(--shadow);
}
.stat__num {
  font-family: var(--serif); font-weight: 340;
  font-size: clamp(2.8rem, 7vw, 4.8rem); line-height: 1.1; padding-bottom: 0.06em;
  background: linear-gradient(160deg, var(--terracotta), var(--honey));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.stat figcaption {
  margin-top: 8px; color: var(--ink-soft); font-weight: 350;
  font-size: clamp(0.98rem, 1.5vw, 1.1rem); line-height: 1.5;
}
.stat .src, .hope .src {
  display: block; margin-top: 10px; font-size: 11px; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--ink-mute); font-style: normal; font-family: var(--sans);
}
.hope-row {
  margin-top: 24px; display: grid; grid-template-columns: 1fr 1fr;
  gap: 18px; max-width: 800px; margin-inline: auto;
}
.hope {
  text-align: left; padding: 22px 22px 20px;
  border-radius: var(--radius-sm);
  background: var(--cream);
  border: 1px solid var(--line);
  color: var(--ink-soft); font-weight: 350; line-height: 1.55;
  font-size: 1rem;
  box-shadow: 0 8px 24px rgba(42, 31, 24, 0.04);
}
.hope strong {
  color: var(--terracotta-deep); font-family: var(--serif);
  font-weight: 500; font-size: 1.2rem; display: block; margin-bottom: 6px;
}

/* ---------- Faces (equal frames, page-filling) ---------- */
.scene--faces {
  padding-top: 10vh;
  padding-bottom: 14vh;
}
.scene--faces .scene__inner {
  max-width: min(1480px, 96vw);
}
.faces {
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 2.2vw, 32px);
  align-items: stretch;
  width: 100%;
}
.face {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
  height: 100%;
  min-width: 0;
}
.face__frame {
  width: 100%;
  aspect-ratio: 3 / 4;
  border-radius: 20px;
  overflow: hidden;
  background: var(--bg-soft);
  box-shadow: var(--shadow);
}
.face__frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 12%;
  display: block;
}
.face:nth-child(1) .face__frame img { object-position: center 10%; }
.face:nth-child(2) .face__frame img { object-position: center 8%; }
.face:nth-child(3) .face__frame img { object-position: center 12%; }
.face figcaption {
  margin: 0;
  font-family: var(--serif); font-style: italic;
  color: var(--ink-soft); font-size: clamp(0.95rem, 1.2vw, 1.08rem);
  text-align: center;
  line-height: 1.4;
  min-height: 2.6em;
}

/* ---------- Worlds ---------- */
.worlds {
  margin-top: 44px; display: grid; grid-template-columns: 1fr auto 1fr;
  gap: clamp(20px, 3.5vw, 36px);
}
.worlds__divider {
  width: 1px;
  background: linear-gradient(transparent, rgba(196, 120, 90, 0.32), transparent);
}
.world {
  padding: 28px 24px;
  border-radius: var(--radius);
  background: var(--cream);
  border: 1px solid var(--line);
  box-shadow: 0 8px 28px rgba(42, 31, 24, 0.04);
}
.world__who {
  font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--terracotta); margin-bottom: 12px; font-weight: 600;
}
.world__title {
  font-family: var(--serif); font-weight: 400; font-style: italic;
  font-size: clamp(1.35rem, 2.4vw, 1.85rem); line-height: 1.25; color: var(--ink);
}
.world__body {
  margin-top: 14px; color: var(--ink-soft); font-weight: 350; line-height: 1.7;
  font-size: 1.02rem;
}

/* ---------- Turn ---------- */
.scene--reveal { text-align: center; }
.scene--reveal .step, .scene--reveal .body { text-align: center; }
.name-reveal {
  margin-top: 36px; font-family: var(--serif); font-weight: 340;
  font-size: clamp(1.45rem, 3.2vw, 2.15rem); color: var(--ink-soft);
}
.name-reveal span {
  font-weight: 520; letter-spacing: 0.14em;
  display: inline-block; padding-bottom: 0.08em;
  background: linear-gradient(105deg, var(--terracotta-deep), var(--honey));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.tagline {
  margin-top: 10px; color: var(--ink-mute); font-style: italic;
  font-family: var(--serif); font-size: clamp(1.02rem, 1.8vw, 1.22rem);
}

/* ---------- Why we built it — floating motes → vow ---------- */
.scene--why {
  display: block;
  position: relative;
  min-height: 100vh;
  padding: 0;
  overflow: hidden;
  background:
    radial-gradient(70% 60% at 50% 45%, rgba(48, 38, 30, 0.9), transparent 70%),
    radial-gradient(50% 40% at 15% 85%, rgba(201, 149, 106, 0.08), transparent 50%),
    radial-gradient(45% 35% at 90% 15%, rgba(232, 196, 138, 0.06), transparent 45%),
    #0e0b09;
  color: #f3e8dc;
}
.why-field {
  isolation: isolate;
}
.why-kicker {
  position: absolute;
  top: max(5.5rem, 10vh);
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  font-size: 12px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(232, 196, 138, 0.85);
  font-weight: 600;
  opacity: 0;
  transition: opacity 0.7s ease;
}
.why-field.is-live .why-kicker { opacity: 1; }

.why-motes {
  position: absolute;
  inset: 0;
  z-index: 2;
}
.mote {
  position: absolute;
  left: calc(50% + var(--x));
  top: calc(50% + var(--y));
  transform: translate(-50%, -50%);
  z-index: 1;
  max-width: min(38vw, 240px);
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  text-align: center;
  color: rgba(243, 232, 220, 0.58);
  opacity: 0;
  filter: blur(3px);
  transition:
    left 1.65s var(--ease),
    top 1.65s var(--ease),
    opacity 0.9s var(--ease),
    filter 0.9s var(--ease),
    color 0.35s ease,
    z-index 0s;
}
.why-field.is-live .mote {
  opacity: 1;
  filter: none;
}
.why-field.is-live .mote:nth-child(1) { transition-delay: 0ms; }
.why-field.is-live .mote:nth-child(2) { transition-delay: 55ms; }
.why-field.is-live .mote:nth-child(3) { transition-delay: 110ms; }
.why-field.is-live .mote:nth-child(4) { transition-delay: 165ms; }
.why-field.is-live .mote:nth-child(5) { transition-delay: 220ms; }
.why-field.is-live .mote:nth-child(6) { transition-delay: 275ms; }
.why-field.is-live .mote:nth-child(7) { transition-delay: 330ms; }
.why-field.is-live .mote:nth-child(8) { transition-delay: 385ms; }
.why-field.is-live .mote:nth-child(9) { transition-delay: 440ms; }
.why-field.is-live .mote:nth-child(10) { transition-delay: 495ms; }
.why-field.is-live .mote:nth-child(11) { transition-delay: 550ms; }
.why-field.is-live .mote:nth-child(12) { transition-delay: 605ms; }
.why-field.is-live .mote:nth-child(13) { transition-delay: 660ms; }
.why-field.is-live .mote:nth-child(14) { transition-delay: 715ms; }
.why-field.is-live .mote:nth-child(15) { transition-delay: 770ms; }
.why-field.is-live .mote:nth-child(16) { transition-delay: 825ms; }
.why-field.is-live .mote:nth-child(17) { transition-delay: 880ms; }
.why-field.is-live .mote:nth-child(18) { transition-delay: 935ms; }
.why-field.is-gathering .mote,
.why-field.is-resolved .mote {
  left: 50%;
  top: 48%;
  opacity: 0;
  filter: blur(8px);
  pointer-events: none;
}
.why-field.is-gathering .mote:nth-child(odd) { transition-delay: 0ms; }
.why-field.is-gathering .mote:nth-child(even) { transition-delay: 80ms; }
.why-field.is-gathering .mote:nth-child(3n) { transition-delay: 160ms; }
.why-field.is-gathering .mote:nth-child(4n) { transition-delay: 240ms; }
.why-field.is-gathering .mote:nth-child(5n) { transition-delay: 320ms; }
.why-field.is-resolved .mote { transition-delay: 0s; }
.mote__drift {
  display: block;
  animation: mote-drift var(--dur, 24s) ease-in-out var(--delay, 0s) infinite alternate;
}
.mote__main {
  display: block;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 360;
  font-size: clamp(0.88rem, 1.35vw, 1.12rem);
  line-height: 1.35;
  letter-spacing: -0.01em;
  transition: transform 0.45s var(--ease);
}
.mote__more {
  display: block;
  margin-top: 0.45em;
  font-family: var(--sans);
  font-size: clamp(0.78rem, 1.1vw, 0.9rem);
  font-weight: 400;
  line-height: 1.45;
  letter-spacing: 0.01em;
  color: rgba(236, 205, 155, 0.9);
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transform: translateY(6px);
  transition:
    max-height 0.45s var(--ease),
    opacity 0.4s ease,
    transform 0.45s var(--ease);
}
.mote:hover,
.mote:focus-visible {
  z-index: 8;
  color: #fff8f0;
  outline: none;
}
.mote:hover .mote__drift,
.mote:focus-visible .mote__drift {
  animation-play-state: paused;
}
.mote:hover .mote__main,
.mote:focus-visible .mote__main {
  transform: scale(1.18);
}
.mote:hover .mote__more,
.mote:focus-visible .mote__more {
  max-height: 6em;
  opacity: 1;
  transform: none;
}
.why-field.is-gathering .mote__drift,
.why-field.is-resolved .mote__drift {
  animation: none;
}

.why-vow {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 4;
  width: min(20ch, 86vw);
  margin: 0;
  transform: translate(-50%, -42%) scale(0.96);
  text-align: center;
  font-family: var(--serif);
  font-weight: 380;
  font-size: clamp(1.4rem, 3.4vw, 2.2rem);
  line-height: 1.35;
  letter-spacing: -0.02em;
  color: #f7efe4;
  opacity: 0;
  filter: blur(4px);
  pointer-events: none;
  transition:
    opacity 1.1s var(--ease),
    transform 1.15s var(--ease),
    filter 1.15s var(--ease);
}
.why-field.is-resolved .why-vow {
  opacity: 1;
  filter: none;
  transform: translate(-50%, -50%) scale(1);
}

@keyframes mote-drift {
  from { transform: translate(0, 0); }
  to { transform: translate(var(--dx, 12px), var(--dy, 10px)); }
}

@media (max-width: 820px) {
  .mote {
    max-width: min(42vw, 180px);
  }
  .mote__main {
    font-size: clamp(0.8rem, 3.2vw, 0.98rem);
    white-space: normal;
  }
  .mote__more { font-size: 0.74rem; }
  .why-vow { width: min(18ch, 88vw); }
}

@media (hover: none) {
  .mote:focus-visible .mote__more {
    max-height: 6em;
    opacity: 1;
    transform: none;
  }
}

/* ---------- Waitlist / close ---------- */
.scene--close { text-align: center; flex-direction: column; }
.scene--close .scene__inner { text-align: center; }

.waitlist {
  margin: 36px auto 0; max-width: 520px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 14px;
  text-align: left;
  padding: 28px 24px 22px;
  border-radius: var(--radius);
  background: var(--cream);
  border: 1px solid rgba(196, 120, 90, 0.14);
  box-shadow: var(--shadow);
}
.field { display: flex; flex-direction: column; gap: 6px; }
.field--full { grid-column: 1 / -1; }
.field__label {
  font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--ink-mute); font-weight: 600;
}
.field input, .field textarea {
  width: 100%;
  border: 1px solid rgba(42, 31, 24, 0.12);
  background: #fff;
  border-radius: 12px;
  padding: 12px 14px;
  font-family: var(--sans); font-size: 1rem; color: var(--ink);
  outline: none;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
  resize: vertical;
}
.field input:focus, .field textarea:focus {
  border-color: var(--terracotta);
  box-shadow: 0 0 0 3px rgba(196, 120, 90, 0.14);
}
.field input::placeholder, .field textarea::placeholder { color: #b59f8c; }

.waitlist .cta__btn {
  grid-column: 1 / -1;
  border: none; cursor: pointer; width: 100%;
  margin-top: 4px;
}
.waitlist.is-done .cta__btn {
  background: rgba(196, 120, 90, 0.14);
  color: var(--terracotta-deep);
  box-shadow: none;
}
.waitlist__note {
  grid-column: 1 / -1;
  text-align: center; color: var(--ink-mute); font-size: 0.88rem; margin-top: 2px;
}

.cta__btn {
  display: inline-block;
  background: linear-gradient(105deg, var(--terracotta), var(--honey));
  color: #fffaf3; text-decoration: none;
  padding: 15px 28px; border-radius: 999px;
  font-family: var(--sans); font-weight: 600; font-size: 1rem;
  box-shadow: 0 12px 32px rgba(196, 120, 90, 0.26);
  transition: transform 0.3s var(--ease), box-shadow 0.3s ease;
}
.cta__btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 40px rgba(196, 120, 90, 0.34);
}

.contact { margin-top: 26px; color: var(--ink-mute); font-size: 0.92rem; }
.contact a {
  color: var(--terracotta-deep); text-decoration: none;
  border-bottom: 1px solid rgba(196, 120, 90, 0.32); padding-bottom: 2px;
}
.contact a:hover { border-color: var(--terracotta-deep); }

.foot {
  margin-top: 10vh; width: 100%; max-width: var(--maxw);
  display: flex; justify-content: space-between; align-items: center;
  gap: 16px; padding-top: 22px;
  border-top: 1px solid var(--line);
  color: var(--ink-mute); font-size: 12px; letter-spacing: 0.04em;
}
.foot span:first-child {
  font-family: var(--serif); font-weight: 550; letter-spacing: 0.26em; font-size: 13px;
  background: linear-gradient(105deg, var(--terracotta-deep), var(--honey));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ---------- Reveals ---------- */
.reveal {
  opacity: 0;
  transform: translateY(22px) scale(0.988);
  filter: blur(2px);
  transition: opacity 0.95s var(--ease), transform 0.95s var(--ease), filter 0.95s var(--ease);
  transition-delay: calc(var(--d, 0) * 95ms);
}
.reveal.in { opacity: 1; transform: none; filter: none; }

.display .line {
  opacity: 0; transform: translateY(0.26em);
  filter: blur(2px);
  transition: opacity 0.95s var(--ease), transform 0.95s var(--ease), filter 0.95s var(--ease);
}
.display.in .line { opacity: 1; transform: none; filter: none; }
.display.in .line:nth-child(2) { transition-delay: 0.12s; }
.display.in .line:nth-child(3) { transition-delay: 0.22s; }

/* ---------- Responsive ---------- */
@media (max-width: 820px) {
  .dots { display: none; }
  .scene { padding: 11vh 6vw 14vh; }
  .scene--hero { padding: 0; }
  .hero-copy { padding: 0 6vw 12vh; }
  .hope-row, .faces, .worlds, .waitlist {
    grid-template-columns: 1fr;
  }
  .faces {
    gap: 24px;
    max-width: 380px;
    margin-inline: auto;
  }
  .worlds__divider {
    width: 100%; height: 1px;
    background: linear-gradient(90deg, transparent, rgba(196, 120, 90, 0.32), transparent);
  }
  .foot { flex-direction: column; text-align: center; }
  .wordmark { top: 14px; left: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; scroll-snap-type: none; }
  .glow, .chapter-cue__icon, .wordmark__dot { animation: none; }
  .reveal, .display .line { transition: opacity 0.3s ease; transform: none; filter: none; }
  .scene__inner { transform: none !important; opacity: 1 !important; }
  .mote, .why-vow, .mote__main, .mote__more { transition: none; }
  .mote__drift { animation: none; }
}
