:root {
  --navy: #0c0b0a;
  --navy-2: #161310;
  --cream: #f3ece3;
  --cream-soft: rgba(243, 236, 227, 0.68);
  --gold: #d4af37;
  --gold-deep: #c49a1a;
  --red: #c1121f;
  --burgundy: #c1121f;
  --ink: #0c0b0a;
  --line: rgba(212, 175, 55, 0.28);
}

* { box-sizing: border-box; }

html, body {
  height: 100%;
  margin: 0;
  background: var(--navy);
  color: var(--cream);
  font-family: Outfit, sans-serif;
}

button, input { font: inherit; color: inherit; }
button { cursor: pointer; }

.progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 20;
  width: 100%;
  height: 3px;
  background: rgba(243, 236, 227, 0.08);
}
.progress > span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--red), var(--gold));
  transform-origin: left;
  transition: width 420ms ease;
}

.topbar {
  position: fixed;
  top: 14px;
  left: 22px;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 12px;
}
.topbar img {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--navy-2);
}
body.on-hero .topbar { display: none; }

#stage { min-height: 100%; }
#app { min-height: 100vh; }

.screen {
  min-height: 100vh;
  animation: rise 520ms cubic-bezier(0.22, 1, 0.36, 1);
}
@keyframes rise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}

.hero {
  display: grid;
  grid-template-columns: minmax(280px, 46vw) 1fr;
  min-height: 100vh;
}
.hero-photo {
  position: relative;
  overflow: hidden;
  background: #100e0c;
}
.hero-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 20%;
}
.hero-photo.portrait {
  background: #000;
}
.hero-photo.portrait img {
  object-position: 50% 50%;
}
.hero-photo.mark-panel {
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 50% 42%, rgba(196, 165, 116, 0.18), transparent 42%),
    linear-gradient(180deg, #161310, #0c0b0a);
}
.hero-photo.mark-panel .hero-mark {
  position: relative;
  z-index: 1;
  width: min(42%, 220px);
  opacity: 0.92;
}
.hero-photo.mark-panel .hero-day {
  position: absolute;
  bottom: 10%;
  left: 0;
  right: 0;
  color: var(--gold);
  font-family: Fraunces, Georgia, serif;
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 500;
  letter-spacing: -0.06em;
  text-align: center;
  opacity: 0.35;
}
.hero-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(12, 11, 10, 0.08), var(--navy) 94%);
  pointer-events: none;
}
.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 88px 8vw 88px 48px;
}

.ribbon {
  display: inline-flex;
  align-self: flex-start;
  margin: 0 0 22px;
  padding: 8px 14px;
  background: var(--red);
  color: var(--gold);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.oto-body .ribbon { color: #fff; }

.hero .ribbon {
  align-self: center;
  margin: 0 0 22px;
  padding: 14px 22px;
  color: #fff;
  font-size: clamp(1.2rem, 3vw, 1.75rem);
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.2;
  max-width: 22em;
  white-space: normal;
  text-align: center;
}

.hero h1 {
  margin: 0 auto 18px;
  max-width: 18em;
  font-family: Quintessential, "Andada Pro", Georgia, serif;
  font-size: clamp(2.5rem, 5.4vw, 4.6rem);
  font-weight: 500;
  line-height: 0.98;
  letter-spacing: 0;
  text-align: center;
}
.hero h1 em {
  display: block;
  color: var(--gold);
  font-style: italic;
  font-weight: 500;
}

.hero .ok { align-self: center; }

.lede-kicker {
  max-width: 28em;
  margin: 0 0 16px;
  color: var(--cream);
  font-size: 1.28rem;
  font-weight: 500;
  line-height: 1.35;
  white-space: pre-line;
}
.lede {
  max-width: 46ch;
  margin: 0 0 28px;
  color: var(--cream-soft);
  font-size: 1.05rem;
  line-height: 1.65;
}
.lede strong { color: var(--gold); font-weight: 600; }

.question {
  display: flex;
  align-items: center;
  min-height: 100vh;
  padding: 96px 8vw 120px;
}
.question-inner { width: min(720px, 100%); }

.qnum {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  color: var(--gold);
  font-size: 0.92rem;
  font-weight: 600;
}
.qnum svg { width: 14px; height: 14px; }

.question h2 {
  margin: 0 0 12px;
  font-family: Fraunces, Georgia, serif;
  font-size: clamp(1.7rem, 3.4vw, 2.55rem);
  font-weight: 500;
  line-height: 1.18;
  letter-spacing: -0.03em;
}
.question h2 em { color: var(--gold); font-style: italic; }

.hint {
  margin: 0 0 28px;
  color: var(--cream-soft);
  font-size: 1.02rem;
  line-height: 1.6;
}

.options {
  display: grid;
  gap: 10px;
  max-width: 640px;
}
.option {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(243, 236, 227, 0.03);
  text-align: left;
  transition: 180ms ease;
}
.option:hover, .option:focus-visible {
  border-color: rgba(212, 175, 55, 0.75);
  background: rgba(212, 175, 55, 0.08);
  outline: none;
}
.option.selected {
  border-color: var(--gold);
  background: rgba(193, 18, 31, 0.18);
}
.key {
  display: grid;
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  place-items: center;
  border: 1px solid rgba(243, 236, 227, 0.28);
  border-radius: 4px;
  color: var(--cream);
  font-size: 0.78rem;
  font-weight: 700;
}
.option.selected .key {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--ink);
}

.nested { margin-top: 28px; padding-top: 8px; }

.beats {
  display: grid;
  gap: 14px;
  margin: 8px 0 28px;
  color: var(--cream-soft);
  line-height: 1.55;
}
.beats div { display: flex; gap: 12px; }
.beats b { color: var(--gold); font-weight: 700; }

.consent {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 0 0 8px;
  color: var(--cream);
  line-height: 1.45;
}
.consent input {
  width: 18px;
  height: 18px;
  margin-top: 3px;
  accent-color: var(--gold);
}

.fields {
  display: grid;
  gap: 28px;
  max-width: 560px;
  margin: 12px 0 10px;
}
.fields label {
  display: grid;
  gap: 8px;
  color: var(--cream-soft);
  font-size: 0.92rem;
}
.fields input {
  width: 100%;
  padding: 8px 0 12px;
  border: 0;
  border-bottom: 1px solid rgba(243, 236, 227, 0.28);
  background: transparent;
  color: var(--cream);
  font-size: 1.2rem;
  outline: none;
}
.fields input:focus { border-bottom-color: var(--gold); }

.error {
  min-height: 1.2em;
  margin: 8px 0 0;
  color: #e7a0b1;
  font-size: 0.9rem;
}

.ok {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 28px;
}
.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 28px;
  border: 0;
  border-radius: 999px;
  background: var(--gold);
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
}
.cta:hover:not(:disabled) { background: #d4b78a; }
.cta:disabled { cursor: not-allowed; opacity: 0.35; }
.cta.ghost {
  background: transparent;
  color: var(--cream-soft);
  border: 1px solid var(--line);
}
.enter { color: var(--cream-soft); font-size: 0.82rem; }
.ok kbd {
  margin: 0 2px;
  padding: 2px 6px;
  border: 1px solid var(--line);
  border-radius: 4px;
  font-family: inherit;
  font-size: 0.72rem;
}

.dock {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 20;
  display: flex;
  gap: 8px;
}
.dock button {
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(12, 11, 10, 0.7);
  color: var(--cream);
}
.dock button:hover { border-color: var(--gold); color: var(--gold); }

.legal {
  position: fixed;
  left: 22px;
  bottom: 18px;
  z-index: 20;
  color: rgba(243, 236, 227, 0.38);
  font-size: 0.72rem;
}
.legal a { color: inherit; }

/* OTO */
.oto-body { min-height: 100%; }
.notif-bar {
  background: var(--red);
  color: var(--cream);
  text-align: center;
  padding: 11px 22px;
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1.55;
}
.wrap {
  width: min(760px, calc(100% - 40px));
  margin: 0 auto;
  padding: 28px 0 120px;
}
.intro {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin: 0 0 28px;
}
.intro-copy { min-width: 0; flex: 1; }
.logo {
  display: block;
  width: 72px;
  height: 72px;
  flex: 0 0 auto;
  margin: 0;
  border-radius: 50%;
  background: var(--navy-2);
}
.oto-body h1, .oto-body h2, .oto-body h3 {
  margin: 0;
  font-family: Fraunces, Georgia, serif;
  font-weight: 500;
  letter-spacing: -0.03em;
}
.oto-body h1 {
  max-width: 12ch;
  font-size: clamp(2.2rem, 5.4vw, 3.6rem);
  line-height: 1.04;
}
.oto-body h1 em { color: var(--gold); font-style: italic; }
.oto-body h2 {
  margin-bottom: 14px;
  font-size: clamp(1.55rem, 3.2vw, 2.2rem);
  line-height: 1.15;
}
.countdown { display: flex; gap: 12px; margin: 0 0 28px; }
.tick {
  min-width: 92px;
  padding: 14px 16px 12px;
  border: 1px solid var(--line);
  background: rgba(243, 236, 227, 0.04);
  text-align: center;
}
.tick strong {
  display: block;
  color: var(--gold);
  font-family: Fraunces, Georgia, serif;
  font-size: 2rem;
  font-weight: 500;
  line-height: 1;
}
.tick span {
  display: block;
  margin-top: 8px;
  color: var(--cream-soft);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.warn, .ask, .item p, .fit p, .micro {
  color: var(--cream-soft);
  line-height: 1.65;
}
.warn { max-width: 46ch; margin: 0 0 28px; }
.quote-who {
  font-family: Outfit, sans-serif;
  font-size: 0.95rem;
  font-style: normal;
  font-weight: 600;
  color: var(--cream);
}
.ask {
  max-width: 38ch;
  margin: 0 0 28px;
  color: var(--cream);
  font-size: 1.15rem;
}
.micro { margin: 12px 0 48px; font-size: 0.88rem; }
.inside { padding-top: 8px; border-top: 1px solid var(--line); }
.price {
  margin: 0 0 32px;
  color: var(--gold);
  font-size: 0.95rem;
  letter-spacing: 0.04em;
}
.item {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 16px;
  max-width: 560px;
  margin: 0 0 28px;
}
.num { color: var(--gold); font-weight: 700; }
.item h3 {
  margin-bottom: 6px;
  font-family: Outfit, sans-serif;
  font-size: 1.02rem;
  font-weight: 600;
  letter-spacing: 0;
}
.item p { margin: 0; }
.quotes, .fit { max-width: 620px; margin: 48px 0; }
.quotes-carousel { position: relative; overflow: hidden; }
.quotes-viewport { overflow: hidden; }
.quotes-track {
  display: flex;
  width: 100%;
  will-change: transform;
}
.quotes-track figure {
  flex: 0 0 100%;
  width: 100%;
  margin: 0;
  padding: 8px 44px 28px;
  min-height: 168px;
}
blockquote { margin: 0; padding: 0; border: 0; }
blockquote p {
  margin: 0;
  color: var(--cream);
  font-family: Fraunces, Georgia, serif;
  font-size: 1.15rem;
  font-style: italic;
  line-height: 1.45;
}
.quotes-nav {
  position: absolute;
  top: 42%;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(12, 11, 10, 0.72);
  color: var(--cream);
  font-size: 1.15rem;
  line-height: 1;
  cursor: pointer;
}
.quotes-nav.prev { left: 0; }
.quotes-nav.next { right: 0; }
.quotes-nav:hover { border-color: var(--gold); color: var(--gold); }
.quotes-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.quotes-dots button {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(243, 236, 227, 0.28);
  cursor: pointer;
}
.quotes-dots button.is-on { background: var(--gold); }
.err {
  min-height: 1.2em;
  color: #e7a0b1;
  font-size: 0.9rem;
}
.oto-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.closed {
  min-height: 100vh;
  display: grid;
  place-items: center;
  text-align: center;
}
.closed main { width: min(520px, calc(100% - 32px)); padding: 48px 0; }
.closed img {
  width: 72px;
  margin: 0 auto 22px;
  border-radius: 50%;
  display: block;
  background: var(--navy-2);
}
.closed h1 {
  margin: 0 0 14px;
  font-family: Fraunces, Georgia, serif;
  font-size: 2rem;
  font-weight: 500;
}
.closed p {
  margin: 0 0 12px;
  color: var(--cream-soft);
  line-height: 1.6;
}
.closed a { color: var(--gold); }

footer.legal-foot {
  position: static;
  margin-top: 56px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  color: rgba(243, 236, 227, 0.4);
  font-size: 0.78rem;
}
footer.legal-foot a { color: inherit; }

@media (max-width: 860px) {
  .hero {
    position: relative;
    display: grid;
    grid-template-columns: 1fr;
    height: 100dvh;
    min-height: 100dvh;
    overflow: hidden;
  }
  .hero-photo {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 64%;
  }
  .hero-photo img { object-fit: cover; object-position: 50% 8%; }
  .hero-photo.portrait img { object-position: 50% 42%; }
  .hero-photo::after {
    background: linear-gradient(
      180deg,
      transparent 32%,
      rgba(12, 11, 10, 0.42) 58%,
      var(--navy) 88%
    );
  }
  .hero-copy {
    position: relative;
    z-index: 1;
    min-height: 100dvh;
    justify-content: flex-end;
    padding: 0 22px 78px;
  }
  .hero .ribbon {
    margin-bottom: 14px;
    padding: 11px 16px;
    font-size: 1.15rem;
    max-width: none;
  }
  .hero .lede-kicker { margin-bottom: 10px; font-size: 1.12rem; max-width: none; }
  .hero .lede { margin-bottom: 16px; font-size: 0.98rem; max-width: none; }
  .hero .ok { margin-top: 0; }
  .hero h1 { max-width: none; font-size: clamp(2.1rem, 9.5vw, 2.7rem); }
  .enter { display: none; }
  .question { padding: 92px 22px 140px; }
  .legal { display: none; }
  .hero-photo.mark-panel .hero-day { font-size: 3.4rem; bottom: 18%; }
}

@media (max-width: 700px) {
  .wrap { width: min(100% - 32px, 760px); padding: 20px 0 48px; }
  .intro { gap: 14px; margin-bottom: 20px; }
  .logo { width: 58px; height: 58px; }
  .ribbon { margin: 0 0 10px; }
  .oto-body h1 { font-size: clamp(1.85rem, 7.6vw, 2.25rem); line-height: 1.08; }
  .countdown { width: 100%; margin-bottom: 22px; }
  .tick { flex: 1; min-width: 0; padding: 12px 10px 10px; }
  .tick strong { font-size: 1.65rem; }
  .oto-actions .cta { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .screen { animation: none; }
  .quotes-track { transition: none !important; }
}
