:root {
  --gold: #F7BD2E;
  --gold-deep: #C2972F;
  --cream: #F4EFE3;
  --paper: #F7F2E7;
  --ink: #0B0E16;
  --navy: #141E33;
  --navy-deep: #0E1626;
  --espresso: #2A1322;
  --espresso-soft: #5A4250;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Source Sans 3', system-ui, sans-serif;
  background: var(--ink);
  color: var(--cream);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }
h1, h2, h3, h4 { font-family: 'Playfair Display', serif; font-weight: 600; }

/* ---------- Sticky header ---------- */
.site-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px clamp(20px, 5vw, 56px);
  transition: background .3s ease, backdrop-filter .3s ease, border-color .3s ease;
  border-bottom: 1px solid transparent;
}
.site-nav.scrolled {
  background: rgba(14, 22, 38, 0.82);
  backdrop-filter: blur(12px);
  border-bottom-color: rgba(247, 189, 46, 0.16);
}
.brand { display: flex; align-items: center; gap: 11px; }
.brand-mark { display: inline-flex; width: 34px; height: 34px; object-fit: contain; }
.brand-mark--svg { display: none; align-items: center; justify-content: center; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font-size: 20px; color: var(--cream); letter-spacing: .3px; }
.brand-tag { font-family: 'Source Sans 3', sans-serif; font-size: 10.5px; letter-spacing: 2.4px; text-transform: uppercase; color: var(--gold); margin-top: 4px; }
.nav-links { display: flex; align-items: center; gap: clamp(14px, 2.5vw, 26px); font-size: 14px; }
.nav-links a { color: #D7DEEC; transition: color .2s ease; }
.nav-links a:hover { color: var(--cream); }
.nav-cta { background: var(--gold); color: var(--ink) !important; font-weight: 600; padding: 9px 16px; border-radius: 8px; }
.nav-cta:hover { background: #ffca48; }

/* ---------- Hero ---------- */
.scene { position: relative; min-height: 100vh; min-height: 100svh; overflow: hidden; display: flex; flex-direction: column; }
.hero-bg {
  position: absolute; inset: -6%;
  background: var(--navy) url('assets/scenes/hero.jpg') center 32% / cover no-repeat;
  transform: scale(1.06); will-change: transform;
}
.hero-scrim {
  position: absolute; inset: 0;
  background:
    radial-gradient(120% 90% at 50% 38%, rgba(11,14,22,0) 30%, rgba(11,14,22,0.5) 100%),
    linear-gradient(to bottom, rgba(11,14,22,0.82) 0%, rgba(11,14,22,0.18) 26%, rgba(11,14,22,0.16) 50%, rgba(11,14,22,0.74) 82%, rgba(11,14,22,0.96) 100%);
}
.embers { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 2; }
.hero-copy { position: relative; z-index: 4; margin-top: auto; padding: 0 clamp(20px, 5vw, 56px) clamp(64px, 12vh, 120px); max-width: 760px; }
.hero-copy h1 { font-size: clamp(34px, 6vw, 60px); line-height: 1.12; letter-spacing: -0.5px; margin-bottom: 20px; text-shadow: 0 2px 30px rgba(0,0,0,0.55); }
.hero-copy p { font-size: clamp(15px, 1.8vw, 19px); line-height: 1.6; color: #CDD4E2; max-width: 54ch; margin-bottom: 30px; text-shadow: 0 1px 16px rgba(0,0,0,0.5); }
.hero-actions { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: 9px; font-family: 'Source Sans 3', sans-serif; font-size: 15px; font-weight: 600; border-radius: 10px; border: none; cursor: pointer; transition: transform .15s ease, background .2s ease; }
.btn:active { transform: scale(0.98); }
.btn-gold { background: var(--gold); color: var(--ink); padding: 14px 26px; box-shadow: 0 8px 30px rgba(247,189,46,0.22); }
.btn-gold:hover { background: #ffca48; }
.btn-ghost { color: var(--cream); background: none; font-weight: 500; }
.btn-ghost:hover { color: var(--gold); }

/* ---------- Scroll cue ---------- */
.scroll-cue { position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%); z-index: 4; display: flex; flex-direction: column; align-items: center; gap: 6px; font-size: 11px; letter-spacing: 2px; text-transform: uppercase; color: rgba(244,239,227,0.7); }
.scroll-arrow { animation: bob 1.8s ease-in-out infinite; font-size: 14px; color: var(--gold); }
@keyframes bob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(5px); } }

/* ---------- Generic section ---------- */
.section { padding: clamp(72px, 10vw, 128px) clamp(20px, 5vw, 56px); }
.section-head { max-width: 640px; margin: 0 auto clamp(40px, 6vw, 64px); text-align: center; }
.eyebrow { display: inline-block; font-size: 12px; letter-spacing: 2.6px; text-transform: uppercase; color: var(--gold-deep); margin-bottom: 14px; }
.eyebrow--gold { color: var(--gold); }
.section-head h2 { font-size: clamp(28px, 4.4vw, 44px); line-height: 1.15; letter-spacing: -0.3px; }
.section-head p { margin-top: 14px; font-size: 17px; line-height: 1.6; color: var(--espresso-soft); }

/* ---------- Features (cream) ---------- */
.features { background: var(--paper); color: var(--espresso); }
.features .section-head h2 { color: var(--espresso); }
.card-grid { max-width: 1080px; margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 20px; }
.feature-card { background: #FFFDF8; border: 1px solid rgba(42,19,34,0.08); border-radius: 16px; padding: 30px 26px; transition: transform .2s ease, box-shadow .2s ease; }
.feature-card:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(42,19,34,0.08); }
.feature-ic { display: inline-flex; align-items: center; justify-content: center; width: 52px; height: 52px; border-radius: 13px; background: rgba(247,189,46,0.14); margin-bottom: 18px; }
.feature-card h3 { font-size: 21px; color: var(--espresso); margin-bottom: 9px; }
.feature-card p { font-size: 15px; line-height: 1.6; color: var(--espresso-soft); }

/* ---------- Comic (dark band) ---------- */
.comic { background: var(--navy-deep); color: var(--cream); padding: clamp(72px, 10vw, 128px) clamp(20px, 5vw, 56px); }
.comic-inner { max-width: 1000px; margin: 0 auto; display: grid; grid-template-columns: 0.85fr 1fr; gap: clamp(30px, 5vw, 64px); align-items: center; }
.comic-art { display: flex; justify-content: center; }
.comic-cover { position: relative; width: 240px; aspect-ratio: 3/4; border-radius: 14px; overflow: hidden; border: 1px solid rgba(247,189,46,0.3); background: linear-gradient(160deg, #21304E 0%, #14213B 55%, #0C1426 100%); box-shadow: 0 24px 60px rgba(0,0,0,0.5); display: flex; align-items: flex-end; padding: 18px; }
.comic-cover-label { font-size: 12px; letter-spacing: 2.4px; text-transform: uppercase; color: var(--gold); z-index: 2; }
.comic-cover-art { position: absolute; inset: 0; background: radial-gradient(80% 60% at 50% 32%, rgba(247,189,46,0.22), transparent 70%); }
.comic-copy .eyebrow { color: var(--gold); }
.comic-copy h2 { font-size: clamp(28px, 4.4vw, 44px); margin-bottom: 16px; }
.comic-copy p { font-size: 17px; line-height: 1.65; color: #C6CEDE; max-width: 46ch; margin-bottom: 26px; }

/* ---------- Gauge ---------- */
.gauge { max-width: 720px; margin: clamp(56px, 8vw, 88px) auto 0; text-align: center; }
.gauge h3 { font-size: clamp(23px, 3.4vw, 32px); margin-bottom: 8px; }
.gauge-sub { color: #98A2B8; font-size: 15px; margin-bottom: 28px; }
.gauge-options { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 30px; }
.gauge-card { background: #18233C; border: 1.5px solid #2A3650; border-radius: 14px; padding: 22px 14px; color: var(--cream); cursor: pointer; text-align: center; transition: border-color .2s ease, background .2s ease, transform .15s ease; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.gauge-card:hover { border-color: #45557A; transform: translateY(-2px); }
.gauge-card .gauge-ic { color: var(--gold); }
.gauge-title { font-family: 'Playfair Display', serif; font-weight: 600; font-size: 16px; }
.gauge-desc { font-size: 12px; color: #98A2B8; line-height: 1.35; }
.gauge-card.selected { border-color: var(--gold); background: #241F12; }
.gauge-card.selected .gauge-desc { color: var(--gold-deep); }

/* ---------- Inline forms ---------- */
.inline-form { max-width: 480px; margin: 0 auto; }
.form-lead { font-size: 15px; color: #D7DEEC; margin-bottom: 13px; }
.field-row { display: flex; gap: 9px; }
.inline-form input[type=email], .inline-form input[type=text]:not(.honey) { flex: 1; background: #0E1626; border: 1px solid #2E3A54; border-radius: 9px; padding: 13px 15px; font-size: 14.5px; color: var(--cream); font-family: inherit; }
.inline-form input::placeholder { color: #6E7C96; }
.inline-form input:focus { outline: none; border-color: var(--gold); }
.honey { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form-note { font-size: 11.5px; color: #6E7C96; margin-top: 12px; }
.form-ok { color: var(--gold); font-size: 15px; margin-top: 8px; }

/* ---------- Waitlist (cream) ---------- */
.waitlist { background: var(--paper); color: var(--espresso); text-align: center; }
.waitlist-inner { max-width: 620px; margin: 0 auto; }
.waitlist h2 { font-size: clamp(28px, 4.4vw, 44px); color: var(--espresso); margin-bottom: 12px; }
.waitlist > .waitlist-inner > p { font-size: 17px; color: var(--espresso-soft); margin-bottom: 30px; }
.waitlist .inline-form input[type=email] { background: #FFFDF8; border-color: rgba(42,19,34,0.18); color: var(--espresso); }
.waitlist .inline-form input::placeholder { color: #9A8C93; }
.interests { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px; margin-top: 20px; }
.interests-label { font-size: 13px; color: var(--espresso-soft); }
.chip { display: inline-flex; align-items: center; gap: 7px; font-size: 14px; color: var(--espresso); background: #FFFDF8; border: 1px solid rgba(42,19,34,0.16); border-radius: 999px; padding: 8px 15px; cursor: pointer; transition: border-color .2s, background .2s; }
.chip:has(input:checked) { border-color: var(--gold); background: rgba(247,189,46,0.16); }
.chip input { accent-color: var(--gold-deep); }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-deep); color: var(--cream); padding: clamp(56px, 8vw, 84px) clamp(20px, 5vw, 56px) 30px; }
.footer-grid { max-width: 1080px; margin: 0 auto; display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 36px; }
.footer-name { font-family: 'Playfair Display', serif; font-weight: 600; font-size: 22px; margin: 12px 0 8px; }
.footer-mission { font-size: 14px; line-height: 1.6; color: #98A2B8; max-width: 32ch; }
.footer-col h4 { font-size: 13px; letter-spacing: 1.6px; text-transform: uppercase; color: var(--gold); margin-bottom: 14px; }
.footer-col a { display: block; font-size: 14.5px; color: #C6CEDE; margin-bottom: 10px; transition: color .2s; }
.footer-col a:hover { color: var(--cream); }
.footer-base { max-width: 1080px; margin: 40px auto 0; padding-top: 22px; border-top: 1px solid rgba(255,255,255,0.08); display: flex; justify-content: space-between; align-items: center; font-size: 13px; color: #8493AD; }
.footer-base a:hover { color: var(--cream); }

/* ---------- Responsive ---------- */
@media (max-width: 760px) {
  .comic-inner { grid-template-columns: 1fr; text-align: center; }
  .comic-copy p { margin-left: auto; margin-right: auto; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .gauge-options { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .brand-tag { display: none; }
  .nav-links a:not(.nav-cta) { display: none; }
  .field-row { flex-direction: column; }
  .footer-base { flex-direction: column; gap: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-bg { transform: none; inset: 0; }
  .scroll-arrow { animation: none; }
}

/* ---------- Subpage heroes (notify / comic) ---------- */
.page-hero { position: relative; min-height: 84vh; display: flex; align-items: center; justify-content: center; text-align: center; padding: 124px clamp(20px,5vw,56px) 80px; overflow: hidden; }
.page-hero-inner { max-width: 640px; position: relative; z-index: 2; }
.page-hero h1 { font-size: clamp(32px,5.4vw,52px); line-height: 1.12; letter-spacing: -0.4px; margin-bottom: 18px; }
.page-hero p { font-size: clamp(16px,2vw,19px); line-height: 1.6; margin-bottom: 30px; }
.notify-hero { background: radial-gradient(120% 120% at 50% 0%, #1B2742 0%, #0E1626 60%, #0B0E16 100%); color: var(--cream); }
.notify-hero p { color: #B9C2D4; }
.notify-hero .inline-form { max-width: 520px; }
.comic-hero { background: radial-gradient(120% 120% at 50% 0%, #241A2E 0%, #14101D 60%, #0B0810 100%); color: var(--cream); }
.comic-hero p { color: #C6B9C6; }

.inline-form--lg input[type=email] { padding: 15px 17px; font-size: 15.5px; }
.inline-form--lg .btn-gold { padding: 15px 26px; }

.trust-row { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 24px; margin-top: 28px; padding: 0; font-size: 13.5px; color: #8493AD; }
.trust-row li { position: relative; }
.trust-row li:not(:last-child)::after { content: '·'; position: absolute; right: -14px; color: var(--gold-deep); }

.below-grid { text-align: center; margin-top: 38px; font-size: 15px; color: var(--espresso-soft); }
.below-grid a { color: var(--gold-deep); font-weight: 600; }
.below-grid a:hover { color: var(--espresso); }

/* ---------- Comic reader ---------- */
.comic-reader { background: #0B0810; padding: 44px 0 64px; }
.reader-note { max-width: 600px; margin: 0 auto 30px; text-align: center; font-size: 13px; color: #8C7E92; padding: 0 20px; }
.panel { max-width: 720px; margin: 0 auto 14px; aspect-ratio: 4/5; border-radius: 6px; position: relative; display: flex; align-items: flex-end; padding: 28px; overflow: hidden; }
.panel-cap { position: relative; z-index: 2; font-family: 'Playfair Display', serif; font-size: clamp(18px,3vw,26px); line-height: 1.3; color: var(--cream); max-width: 24ch; text-shadow: 0 2px 20px rgba(0,0,0,0.6); }
.panel--a { background: linear-gradient(160deg,#3A2A4E,#1A1226); }
.panel--b { background: linear-gradient(160deg,#4E3A2A,#261A12); }
.panel--c { background: linear-gradient(160deg,#2A3A4E,#121A26); }
.panel--d { background: linear-gradient(160deg,#3A2A2A,#1A1212); }
.panel--e { background: radial-gradient(70% 60% at 50% 40%, rgba(247,189,46,0.25), transparent 70%), linear-gradient(160deg,#241A2E,#0E0A14); align-items: center; justify-content: center; text-align: center; }
.panel--e .panel-cap { font-size: clamp(22px,4vw,34px); color: var(--gold); }

.comic--end { padding-top: clamp(56px,8vw,80px); }
.footer-base--solo { margin-top: 0; border-top: none; }
