/* ═══════════════════════════════════════
   Season Three — Midnight Navy / Champagne
═══════════════════════════════════════ */
:root {
  --navy: #070b16;
  --navy-mid: #10182a;
  --champagne: #e8d5b5;
  --champagne-soft: #c9b896;
  --pink: #f0c0d4;
  --text: #f4f0ea;
  --muted: #9aa3b5;
  --glass: rgba(16, 24, 42, 0.72);
  --glass-border: rgba(232, 213, 181, 0.18);
  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-body: "Outfit", sans-serif;
  --gradient-gold: linear-gradient(135deg, #e8d5b5, #f0c0d4);
}

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

html.lenis,
html.lenis body {
  height: auto;
}

.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}

body {
  font-family: var(--font-body);
  background: #050713;
  color: var(--text);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

.galaxy {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 90% 60% at 50% -10%, rgba(40, 28, 72, 0.55), transparent 55%),
    radial-gradient(ellipse 50% 40% at 80% 70%, rgba(60, 30, 70, 0.25), transparent 60%),
    radial-gradient(ellipse 45% 35% at 15% 80%, rgba(30, 50, 90, 0.28), transparent 55%),
    #050713;
}

#stars {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}

.aurora {
  position: fixed;
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.32;
  animation: aurora-breathe 16s ease-in-out infinite;
}

.aurora--gold {
  width: min(520px, 80vw);
  height: min(520px, 80vw);
  background: radial-gradient(circle, rgba(232, 213, 181, 0.5), transparent 70%);
  top: -14%;
  right: -12%;
}

.aurora--pink {
  width: min(460px, 72vw);
  height: min(460px, 72vw);
  background: radial-gradient(circle, rgba(240, 192, 212, 0.38), transparent 70%);
  bottom: 6%;
  left: -16%;
  animation-delay: -7s;
}

.aurora--violet {
  width: min(380px, 60vw);
  height: min(380px, 60vw);
  background: radial-gradient(circle, rgba(120, 90, 180, 0.35), transparent 70%);
  top: 38%;
  left: 40%;
  animation-delay: -3s;
  opacity: 0.22;
}

@keyframes aurora-breathe {
  0%,
  100% {
    transform: scale(1) translate(0, 0);
    opacity: 0.26;
  }
  50% {
    transform: scale(1.18) translate(14px, -20px);
    opacity: 0.4;
  }
}

.film-grain {
  position: fixed;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  opacity: 0.045;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

#main-content {
  position: relative;
  z-index: 1;
}

.section {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4rem 1.5rem;
}

.gs-reveal,
.gs-in {
  opacity: 0;
  transform: translateY(24px);
}

.reveal-gold,
.prose-gold,
.ask-answer-gold,
.fcard-gold,
.letter-gold,
.ending-line--gold,
.zoom-line--gold {
  background: var(--gradient-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* 01 — Opening */
.section--opening {
  flex-direction: column;
  text-align: center;
}

.opening {
  max-width: 640px;
}

.opening-eyebrow {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 8vw, 4.4rem);
  font-weight: 500;
  letter-spacing: 0.06em;
  background: var(--gradient-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 0 60px rgba(232, 213, 181, 0.25);
}

.opening-title {
  margin-top: 0.75rem;
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 4.2vw, 2.35rem);
  font-weight: 400;
  font-style: italic;
  color: var(--pink);
  letter-spacing: 0.02em;
  position: relative;
  display: inline-block;
}

.opening-title::after {
  content: "";
  display: block;
  width: 48px;
  height: 1px;
  margin: 1.25rem auto 0;
  background: linear-gradient(90deg, transparent, var(--champagne), transparent);
}

.opening-body {
  margin-top: 3.5rem;
  min-height: 9rem;
}

.opening-line {
  font-size: clamp(1.15rem, 2.8vw, 1.45rem);
  font-weight: 300;
  line-height: 1.7;
  opacity: 0;
  transform: translateY(16px);
}

.opening-line--soft {
  margin-top: 1.25rem;
  color: var(--muted);
}

.opening-line--gold {
  margin-top: 1.75rem;
  font-weight: 400;
  background: var(--gradient-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.scroll-hint {
  margin-top: 3.5rem;
  font-size: 0.75rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--muted);
  animation: float-hint 3s ease-in-out infinite;
}

@keyframes float-hint {
  0%,
  100% {
    transform: translateY(0);
    opacity: 0.55;
  }
  50% {
    transform: translateY(7px);
    opacity: 1;
  }
}

/* 02 — Reveal photo */
.section--reveal-photo {
  padding: 0;
  min-height: 100vh;
  min-height: 100dvh;
}

.reveal-stage {
  position: relative;
  height: 100vh;
  height: 100dvh;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1.25rem;
}

.reveal-frame {
  position: relative;
  width: min(420px, 90vw);
  border-radius: 18px;
  overflow: hidden;
  box-shadow:
    0 30px 80px rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(232, 213, 181, 0.14),
    0 0 48px rgba(232, 213, 181, 0.1);
  transform: scale(0.88);
  opacity: 0.35;
  filter: brightness(0.35);
}

.reveal-img {
  display: block;
  width: 100%;
  height: auto;
  max-height: min(78vh, 760px);
  object-fit: contain;
  background: #000;
}

.reveal-veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(7, 11, 22, 0.82) 0%,
    rgba(7, 11, 22, 0.15) 45%,
    transparent 70%
  );
  pointer-events: none;
}

.reveal-copy {
  position: absolute;
  left: 0;
  right: 0;
  z-index: 2;
  padding: 1.5rem;
  text-align: center;
  opacity: 0;
}

.reveal-copy--bottom {
  bottom: 0;
  padding-bottom: 2rem;
}

.reveal-copy p {
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 3vw, 1.55rem);
  font-weight: 400;
  line-height: 1.4;
}

.reveal-gap {
  margin-top: 0.85rem;
}

/* Prose */
.prose {
  max-width: 480px;
  text-align: center;
}

.prose-line {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3.5vw, 2rem);
  font-weight: 400;
  line-height: 1.45;
}

/* 03 — Split */
.section--split {
  flex-direction: column;
  gap: 3rem;
}

.split {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 1.5rem;
  align-items: start;
  width: min(720px, 100%);
}

.split-divider {
  width: 1px;
  align-self: stretch;
  background: linear-gradient(
    to bottom,
    transparent,
    rgba(232, 213, 181, 0.35),
    transparent
  );
}

.split-label {
  font-size: 0.75rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1rem;
}

.split-label--gold {
  color: var(--champagne);
}

.split-col--glass {
  padding: 1.75rem 1.35rem;
  border-radius: 18px;
  border: 1px solid var(--glass-border);
  background: linear-gradient(
    160deg,
    rgba(232, 213, 181, 0.06),
    rgba(16, 24, 42, 0.55)
  );
  backdrop-filter: blur(14px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.25);
}

.split-col--now {
  border-color: rgba(232, 213, 181, 0.28);
  background: linear-gradient(
    160deg,
    rgba(232, 213, 181, 0.12),
    rgba(16, 24, 42, 0.55)
  );
  box-shadow:
    0 16px 40px rgba(0, 0, 0, 0.25),
    0 0 40px rgba(232, 213, 181, 0.08);
}

.split-text {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2.8vw, 1.6rem);
  line-height: 1.5;
  font-weight: 400;
}

.split-after {
  max-width: 420px;
  text-align: center;
  font-size: clamp(1.05rem, 2.4vw, 1.25rem);
  font-weight: 300;
  color: var(--muted);
  line-height: 1.7;
}

/* 04 — Pinned moment photo (lock + auto lines) */
.section--moment-pin {
  padding: 0;
  min-height: 100vh;
  min-height: 100dvh;
}

.moment-pin-stage {
  position: relative;
  height: 100vh;
  height: 100dvh;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4.5rem 1rem 1.5rem;
}

.moment-pin-frame {
  position: relative;
  width: min(440px, 92vw);
  border-radius: 18px;
  overflow: hidden;
  background: #05070f;
  box-shadow:
    0 28px 70px rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(240, 192, 212, 0.16),
    0 0 50px rgba(240, 192, 212, 0.1);
}

.moment-pin-img {
  display: block;
  width: 100%;
  height: auto;
  max-height: min(72vh, 720px);
  object-fit: contain;
  will-change: transform;
}

.moment-pin-veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(5, 7, 19, 0.88) 0%,
    rgba(5, 7, 19, 0.35) 42%,
    rgba(5, 7, 19, 0.2) 100%
  );
  pointer-events: none;
}

.moment-pin-copy {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: 1.5rem 1.25rem 2rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.moment-pin-line {
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 3.2vw, 1.55rem);
  font-weight: 400;
  line-height: 1.4;
  opacity: 0;
  transform: translateY(14px);
  max-width: 20em;
}

.moment-pin-line--gold {
  background: var(--gradient-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.moment-pin-line--soft {
  font-family: var(--font-body);
  font-size: clamp(0.95rem, 2.4vw, 1.05rem);
  font-weight: 300;
  color: rgba(244, 240, 234, 0.72);
}

.moment-pin-line--gap {
  margin-top: 0.85rem;
}

@media (max-width: 640px) {
  .moment-pin-stage {
    padding: 4.25rem 0.65rem 1rem;
  }

  .moment-pin-img {
    max-height: min(68vh, 640px);
  }
}

/* 05 — Ask */
.section--ask {
  background: radial-gradient(
    ellipse 70% 50% at 50% 40%,
    rgba(16, 24, 42, 0.95),
    var(--navy)
  );
}

.ask {
  width: min(640px, 100%);
  text-align: center;
}

.ask-q {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 3.5vw, 1.9rem);
  line-height: 1.45;
  margin-bottom: 2.5rem;
}

.ask-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.9rem;
}

.ask-card {
  font-family: var(--font-body);
  text-align: left;
  padding: 1.35rem 1.15rem;
  border-radius: 16px;
  border: 1px solid var(--glass-border);
  background:
    linear-gradient(160deg, rgba(232, 213, 181, 0.07), transparent 50%),
    var(--glass);
  backdrop-filter: blur(16px);
  color: var(--text);
  cursor: pointer;
  transition:
    transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
    border-color 0.35s ease,
    box-shadow 0.35s ease,
    background 0.35s ease;
}

.ask-card:hover {
  transform: translateY(-3px);
  border-color: rgba(232, 213, 181, 0.4);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.35);
}

.ask-card.is-picked {
  border-color: var(--champagne);
  background: rgba(232, 213, 181, 0.1);
  box-shadow: 0 0 40px rgba(232, 213, 181, 0.15);
  transform: scale(1.03);
}

.ask-card.is-dim {
  opacity: 0.35;
  transform: scale(0.97);
}

.ask-emoji {
  display: block;
  font-size: 1.4rem;
  margin-bottom: 0.55rem;
}

.ask-label {
  display: block;
  font-size: 0.92rem;
  font-weight: 400;
  line-height: 1.35;
}

.ask-answer {
  margin-top: 2.75rem;
  opacity: 0;
  transform: translateY(14px);
}

.ask-answer p {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 3vw, 1.7rem);
  line-height: 1.45;
}

/* 06 + 08 — Landscape photos */
.section--landscape,
.section--landscape-heart {
  padding: 0;
  min-height: 100vh;
  min-height: 100dvh;
}

.land-sticky {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  padding: 5.5rem 1rem 2rem;
}

.land-frame {
  position: relative;
  width: min(920px, 94vw);
  aspect-ratio: 4 / 3;
  border-radius: 16px;
  overflow: hidden;
  background: #05070f;
  box-shadow:
    0 28px 70px rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(232, 213, 181, 0.12),
    0 0 50px rgba(232, 213, 181, 0.08);
}

.land-frame--zoom {
  box-shadow:
    0 28px 70px rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(240, 192, 212, 0.16),
    0 0 60px rgba(240, 192, 212, 0.1);
}

.land-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  background: #05070f;
  will-change: transform;
}

.land-shine {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    125deg,
    rgba(232, 213, 181, 0.12) 0%,
    transparent 35%,
    transparent 70%,
    rgba(240, 192, 212, 0.08) 100%
  );
}

.land-shine--warm {
  background: linear-gradient(
    to top,
    rgba(7, 11, 22, 0.15) 0%,
    transparent 40%,
    rgba(240, 192, 212, 0.06) 100%
  );
}

.land-copy {
  position: relative;
  width: min(420px, 92vw);
  min-height: 5.5rem;
  text-align: center;
}

.land-block {
  opacity: 0;
  transform: translateY(14px);
}

.land-block--next {
  position: absolute;
  inset: 0;
  opacity: 0;
}

.land-block p {
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 3vw, 1.55rem);
  font-weight: 400;
  line-height: 1.45;
}

.land-copy--heart {
  min-height: 6.5rem;
}

.zoom-line {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 3.4vw, 1.9rem);
  line-height: 1.4;
  opacity: 0;
  transform: translateY(16px);
}

.zoom-line--gold {
  margin-top: 0.85rem;
}

/* 07 — Future cards */
.section--cards {
  flex-direction: column;
  gap: 1.1rem;
  min-height: auto;
  padding-top: 6rem;
  padding-bottom: 6rem;
}

.cards-eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--champagne-soft);
  margin-bottom: 0.75rem;
}

.fcard {
  position: relative;
  width: min(440px, 100%);
  padding: 1.85rem 1.6rem 1.85rem 1.85rem;
  border-radius: 18px;
  border: 1px solid var(--glass-border);
  background:
    linear-gradient(145deg, rgba(232, 213, 181, 0.08), transparent 40%),
    rgba(16, 24, 42, 0.72);
  backdrop-filter: blur(18px);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.3);
  opacity: 0;
  transform: translateY(28px) scale(0.97);
  overflow: hidden;
}

.fcard::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--champagne), var(--pink));
  opacity: 0.7;
}

.fcard-index {
  display: block;
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  color: var(--champagne-soft);
  margin-bottom: 0.55rem;
}

.fcard-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--champagne);
  margin-bottom: 0.85rem;
}

.fcard-body p {
  font-size: 1.02rem;
  font-weight: 300;
  line-height: 1.55;
  color: var(--muted);
}

.fcard-body .fcard-gold {
  color: transparent;
  margin-top: 0.35rem;
  font-weight: 400;
}

/* 09 — Letter */
.section--letter {
  background: radial-gradient(
    ellipse 60% 45% at 50% 50%,
    rgba(16, 24, 42, 1),
    var(--navy)
  );
}

.letter {
  width: min(460px, 92vw);
  padding: 2.75rem 2.1rem;
  border-radius: 22px;
  border: 1px solid rgba(232, 213, 181, 0.28);
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(232, 213, 181, 0.12), transparent),
    rgba(16, 24, 42, 0.82);
  backdrop-filter: blur(22px);
  box-shadow:
    0 28px 70px rgba(0, 0, 0, 0.45),
    inset 0 1px 0 rgba(232, 213, 181, 0.12);
  text-align: center;
  position: relative;
}

.letter::before {
  content: "";
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 42px;
  height: 2px;
  border-radius: 2px;
  background: var(--gradient-gold);
  opacity: 0.7;
}

.letter-prompt {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 3vw, 1.7rem);
  line-height: 1.4;
  margin: 1.25rem 0 2rem;
}

.letter-btn {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--navy);
  background: var(--gradient-gold);
  border: none;
  border-radius: 999px;
  padding: 0.9rem 2.4rem;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.letter-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 32px rgba(232, 213, 181, 0.35);
}

.letter-open p {
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 2.5vw, 1.25rem);
  line-height: 1.55;
  font-weight: 400;
}

.letter-soft {
  color: var(--muted);
  font-family: var(--font-body) !important;
  font-size: 0.98rem !important;
  font-weight: 300 !important;
  margin-top: 0.25rem;
}

.letter-gap {
  margin-top: 1.35rem;
}

.letter-gold {
  margin-top: 1.5rem;
  font-size: clamp(1.25rem, 3vw, 1.55rem) !important;
}

/* 10 — Ending */
.section--ending {
  background: #04060d;
  overflow: hidden;
  min-height: 100vh;
  min-height: 100dvh;
  align-items: center;
  padding: 0;
}

.ending-sticky {
  position: relative;
  height: 100vh;
  height: 100dvh;
  width: 100%;
}

.ending-float {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.ending-float img {
  position: absolute;
  width: min(200px, 42vw);
  border-radius: 10px;
  opacity: 0.16;
  filter: blur(1px) saturate(0.75);
  object-fit: cover;
  aspect-ratio: 4 / 3;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
}

.ending-float img:nth-child(1) {
  top: 12%;
  left: 8%;
  transform: rotate(-8deg);
}

.ending-float img:nth-child(2) {
  top: 18%;
  right: 10%;
  transform: rotate(7deg);
}

.ending-float img:nth-child(3) {
  bottom: 16%;
  left: 12%;
  transform: rotate(5deg);
}

.ending-float img:nth-child(4) {
  bottom: 12%;
  right: 8%;
  transform: rotate(-6deg);
}

.ending-copy {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
}

.ending-line {
  position: absolute;
  max-width: 420px;
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 3.2vw, 1.75rem);
  line-height: 1.5;
  opacity: 0;
  transform: translateY(16px);
}

.ending-line--tiny {
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--muted);
  letter-spacing: 0.04em;
}

.ending-af {
  position: absolute;
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 8vw, 4rem);
  font-weight: 500;
  letter-spacing: 0.12em;
  background: var(--gradient-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  opacity: 0;
  transform: scale(0.92);
}

@media (max-width: 640px) {
  .split {
    grid-template-columns: 1fr;
    gap: 1rem;
    text-align: center;
  }

  .split-divider {
    width: 48%;
    height: 1px;
    margin: 0.25rem auto;
    background: linear-gradient(
      to right,
      transparent,
      rgba(232, 213, 181, 0.35),
      transparent
    );
  }

  .ask-grid {
    grid-template-columns: 1fr;
  }

  .ask-card {
    text-align: center;
  }

  .land-sticky {
    padding: 4.75rem 0.75rem 1.5rem;
    gap: 1.15rem;
  }

  .land-frame {
    width: 100%;
    max-width: 100%;
    border-radius: 12px;
    aspect-ratio: 4 / 3;
  }

  .land-img {
    object-fit: contain;
  }

  .ending-float img {
    width: min(140px, 36vw);
  }

  .ending-float img:nth-child(1),
  .ending-float img:nth-child(2) {
    top: 8%;
  }

  .ending-float img:nth-child(3),
  .ending-float img:nth-child(4) {
    bottom: 10%;
  }
}
