/* ============================================
   MEGHNA & HARIT WEDDING - DESIGN SYSTEM
   Cinematic Scene-Based Layout
   ============================================ */

/* --- Google Fonts loaded via <link> in HTML head for faster rendering --- */

/* --- CSS Custom Properties --- */
:root {
  /* Primary */
  --gold: #C9A84C;
  --gold-light: #E8D5A3;
  --gold-dark: #8B6914;
  --gold-shimmer: #D4B85A;

  /* Neutrals */
  --ivory: #FAF7F0;
  --cream: #F5EFE0;
  --warm-white: #FEFDFB;
  --charcoal: #2C2C2C;
  --soft-black: #1A1A1A;
  --muted: #7A7468;

  /* Event Accent Colors */
  --mehndi-gold: #D4A843;
  --ocean-blue: #4A7C8F;
  --mughal-maroon: #722F37;
  --saffron: #C17817;
  --wedding-rose: #B76E79;

  /* Functional */
  --success: #4A7C59;
  --decline-color: #8B4513;
  --overlay: rgba(26, 26, 26, 0.96);
  --overlay-light: rgba(26, 26, 26, 0.4);

  /* Typography */
  --font-display: 'Playfair Display', Georgia, serif;
  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-script: 'Great Vibes', cursive;
  --font-body: 'Montserrat', 'Helvetica Neue', Arial, sans-serif;

  /* Font Sizes (fluid) */
  --text-hero: clamp(2.8rem, 7vw, 5.5rem);
  --text-hero-script: clamp(2rem, 5vw, 3.5rem);
  --text-date: clamp(3.5rem, 8vw, 6rem);
  --text-h1: clamp(2rem, 5vw, 3.5rem);
  --text-h2: clamp(1.5rem, 3vw, 2.5rem);
  --text-h3: clamp(1.2rem, 2vw, 1.75rem);
  --text-body: clamp(0.95rem, 1.5vw, 1.1rem);
  --text-small: clamp(0.85rem, 1.2vw, 0.95rem);
  --text-script: clamp(1.5rem, 4vw, 3rem);

  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 2rem;
  --space-lg: 4rem;
  --space-xl: 6rem;
  --space-2xl: 8rem;
  --section-pad: clamp(4rem, 10vh, 8rem);

  /* Layout */
  --max-width: 1200px;
  --content-width: 800px;
  --nav-height: 70px;
  --tab-bar-height: 40px;

  /* Transitions */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --transition-fast: 0.2s var(--ease-out);
  --transition-medium: 0.4s var(--ease-out);
  --transition-slow: 0.8s var(--ease-out);

  /* Borders */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 50%;
}

/* --- Reset & Base --- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow: hidden;
  height: 100%;
  overscroll-behavior: none;
}

body {
  font-family: var(--font-body);
  font-size: var(--text-body);
  font-weight: 400;
  color: var(--charcoal);
  background-color: var(--ivory);
  line-height: 1.7;
  overflow: hidden;
  height: 100%;
  overscroll-behavior: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--gold-dark);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--gold);
}

button {
  font-family: var(--font-body);
  cursor: pointer;
  border: none;
  background: none;
}

input,
textarea,
select {
  font-family: var(--font-body);
  font-size: var(--text-body);
}

ul,
ol {
  list-style: none;
}

/* --- Utility Classes --- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* --- Typography --- */
h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.2;
  color: var(--soft-black);
}

.section-title {
  font-family: var(--font-display);
  font-size: var(--text-h1);
  font-weight: 300;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: var(--space-md);
}

.section-subtitle {
  font-family: var(--font-script);
  font-size: var(--text-h2);
  color: var(--muted);
  margin-bottom: var(--space-lg);
}

/* --- Decorative Elements --- */
.gold-line {
  width: 80px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  margin: var(--space-md) auto;
}

.gold-line--wide {
  width: 120px;
}

/* ============================================
   SCENES SYSTEM - Core Layout
   ============================================ */
.scenes {
  position: relative;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
}

.scene {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  visibility: hidden;
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  scrollbar-width: none;
}

.scene::-webkit-scrollbar {
  display: none;
}

.scene.is-active {
  visibility: visible;
}

.scene__content {
  width: 100%;
  max-width: var(--content-width);
  padding: 0 var(--space-md);
  text-align: center;
  position: relative;
  z-index: 2;
  margin: auto 0;
  flex-shrink: 0;
}

/* Ornate frame */
.scene__frame {
  position: absolute;
  inset: 20px;
  border: 1px solid var(--gold-light);
  border-radius: var(--radius-md);
  pointer-events: none;
  z-index: 1;
  opacity: 0.3;
}

/* Envelope flap - disabled for performance (clip-path is expensive) */
.scene__envelope-flap {
  display: none;
}

/* ============================================
   SCENE 0: Hero
   ============================================ */
.scene--hero {
  background: #0a0a0a;
  flex-direction: column;
}

/* Flex spacers: center hero content when it fits, collapse to 0 when it overflows */
.scene--hero::before,
.scene--hero::after {
  content: '';
  flex: 1 0 0px;
}

/* Full-bleed background */
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 70% top;
  filter: blur(4.5px);
  transform: scale(1.02);
}


/* Dark overlay so text is readable */
.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg,
      rgba(0, 0, 0, 0.7) 0%,
      rgba(0, 0, 0, 0.55) 25%,
      rgba(0, 0, 0, 0.5) 50%,
      rgba(0, 0, 0, 0.55) 70%,
      rgba(0, 0, 0, 0.75) 100%);
}

.scene--hero .hero__content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 700px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-shrink: 0;
  padding: calc(var(--nav-height) + 0rem) var(--space-md) calc(var(--tab-bar-height) + env(safe-area-inset-bottom, 0px) + clamp(3.5rem, 7dvh, 6.5rem));
}

.hero__divider {
  width: 200px;
  height: 1px;
  margin: clamp(0.5rem, 1.2dvh, 1.2rem) auto;
  background: linear-gradient(90deg, transparent 0%, rgba(240, 212, 128, 0.3) 20%, #f0d480 50%, rgba(240, 212, 128, 0.3) 80%, transparent 100%);
  position: relative;
}

.hero__divider::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  height: 3px;
  background: linear-gradient(90deg, transparent, #f0d480, transparent);
  box-shadow: 0 0 10px rgba(240, 212, 128, 0.4);
}

/* Ganesh Blessing */
.ganesh-blessing {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: clamp(0.4rem, 1.2dvh, 1rem);
}

.ganesh-graphic {
  width: clamp(100px, 15dvh, 150px);
  height: auto;
  object-fit: contain;
}

.ganesh-text {
  font-family: var(--font-body);
  font-size: clamp(0.5rem, 1dvh, 0.7rem);
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-top: clamp(0.2rem, 0.6dvh, 0.5rem);
  opacity: 0.8;
}

.hero__invite-text {
  font-family: var(--font-script);
  font-size: clamp(1.8rem, 4.5dvh, 3.5rem);
  color: #f0d480;
  margin-top: clamp(1rem, 4dvh, 2.5rem);
  margin-bottom: 0.3rem;
}

.hero__invite-sub {
  font-family: var(--font-body);
  font-size: clamp(0.7rem, 1.4dvh, 1rem);
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: clamp(0.5rem, 1.2dvh, 1rem);
}

/* Names */
.hero__names {
  margin-bottom: clamp(0.3rem, 0.8dvh, 0.6rem);
}

.hero__names-line {
  font-family: var(--font-script);
  font-size: clamp(3.5rem, 8.5dvh, 8rem);
  font-weight: 400;
  letter-spacing: 0.02em;
  text-transform: none;
  color: #fff;
  line-height: 1.05;
  display: block;
}

.hero__and {
  font-family: var(--font-serif);
  font-size: clamp(1.3rem, 3dvh, 2.5rem);
  font-weight: 300;
  font-style: italic;
  color: #f0d480;
  display: block;
  line-height: 1;
  margin: 0.1em 0 0.2em;
  letter-spacing: 0.15em;
}

/* Date */
.hero__date {
  margin-top: clamp(0.2rem, 0.5dvh, 0.5rem);
  margin-bottom: 0.2rem;
}

.hero__date-number {
  font-family: var(--font-display);
  font-size: clamp(3.2rem, 7.5dvh, 7rem);
  font-weight: 700;
  color: #fff;
  line-height: 1;
  display: block;
}

.hero__date-text {
  font-family: var(--font-serif);
  font-size: clamp(1.1rem, 2.5dvh, 2rem);
  font-weight: 300;
  font-style: italic;
  letter-spacing: 0.12em;
  color: #fff;
  display: block;
  margin-top: 0.15em;
}

.hero__venue {
  font-family: var(--font-body);
  font-size: clamp(0.65rem, 1.3dvh, 0.9rem);
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
  margin-top: clamp(0.5rem, 1dvh, 1rem);
}

/* Countdown */
.countdown {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin-top: clamp(0.3rem, 0.7dvh, 0.8rem);
}

.countdown__text {
  font-family: var(--font-serif);
  font-size: clamp(1rem, 2dvh, 1.5rem);
  font-weight: 300;
  font-style: italic;
  color: rgba(255, 255, 255, 0.9);
  letter-spacing: 0.02em;
}

.countdown__text strong {
  font-family: var(--font-display);
  font-weight: 600;
  font-style: normal;
  color: #fff;
}

.countdown__text .countdown__dot {
  display: inline-block;
  margin: 0 0.6em;
  color: var(--gold-light);
  font-style: normal;
}

/* Hero scroll cue — gentle blinking text in the content flow */
.hero__scroll-cue {
  font-family: var(--font-body);
  font-size: 0.6rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-top: 2.5rem;
  flex-grow: 1;
  display: flex;
  align-items: flex-end;
  animation: gentle-pulse 3s ease-in-out infinite;
}

/* Pro Max (430px wide) gets more scroll-cue spacing */
@media (min-width: 415px) and (max-width: 768px) {
  .hero__scroll-cue {
    margin-top: 4rem;
  }
}

@keyframes gentle-pulse {

  0%,
  100% {
    opacity: 0.8;
  }

  50% {
    opacity: 0.2;
  }
}

/* Shared Scroll Hint (event scenes + RSVP) */
.scene__scroll-hint {
  position: absolute;
  bottom: calc(var(--tab-bar-height) + env(safe-area-inset-bottom, 0px) + clamp(0.5rem, 2vh, 1.5rem));
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  opacity: 0;
  z-index: 5;
  animation: scroll-bounce 2s ease-in-out infinite;
}

.scene__scroll-hint-line {
  width: 1px;
  height: 28px;
  background: rgba(232, 213, 163, 0.4);
  position: relative;
  overflow: hidden;
}

.scene__scroll-hint-line::after {
  content: '';
  position: absolute;
  top: -100%;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--gold);
  animation: scroll-line 2s ease-in-out infinite;
}

.scene__scroll-hint-chevron {
  width: 10px;
  height: 10px;
  border-right: 1.5px solid var(--gold-light);
  border-bottom: 1.5px solid var(--gold-light);
  transform: rotate(45deg);
  margin-top: -0.2rem;
}

/* Light scene variant (RSVP) */
.scene--rsvp .scene__scroll-hint-line {
  background: rgba(201, 168, 76, 0.3);
}

.scene--rsvp .scene__scroll-hint-chevron {
  border-color: var(--gold);
}

/* ============================================
   EVENT SCENES - Shared Styles
   ============================================ */
/* Background image on the scene itself */
.scene--event {
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
}

/* Dark gradient overlay – merged into each scene's background-image
   so it covers the full scroll area (position: fixed was clipped by
   the overflow: hidden ancestor). */
.scene--event::before {
  display: none;
}

.scene--event .scene__content {
  max-width: 640px;
  z-index: 2;
}

.scene--event .scene__frame {
  z-index: 2;
}

.scene__icon {
  margin-bottom: var(--space-sm);
  opacity: 0.9;
}

.scene__tag {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 0.35rem 0.9rem;
  border-radius: 100px;
  margin-bottom: var(--space-sm);
}

.scene__name {
  font-family: var(--font-display);
  font-size: var(--text-h2);
  font-weight: 400;
  margin-bottom: var(--space-xs);
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.5);
}

.scene__description {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  margin-bottom: var(--space-md);
  line-height: 1.7;
}

.scene__details {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  text-align: left;
}

.scene__detail {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: var(--text-small);
}

.scene__detail-icon {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin-top: 2px;
}

.scene__detail strong {
  font-weight: 600;
}

/* ============================================
   SCENE 1: Mehndi
   ============================================ */
.scene--mehndi {
  background-color: #3D2E0A;
  background-image:
    linear-gradient(to top, rgba(40, 30, 5, 0.97) 0%, rgba(40, 30, 5, 0.9) 40%, rgba(40, 30, 5, 0.72) 100%),
    url('../assets/images/events/mehndi.jpeg');
}

.scene--mehndi .scene__frame {
  border-color: var(--mehndi-gold);
  opacity: 0.25;
}

.scene--mehndi .scene__icon {
  color: var(--gold);
}

.scene--mehndi .scene__tag {
  background: rgba(212, 168, 67, 0.25);
  color: var(--gold);
}

.scene--mehndi .scene__name {
  color: #F5E6C8;
}

.scene--mehndi .scene__description {
  color: rgba(245, 230, 200, 0.7);
}

.scene--mehndi .scene__detail {
  color: rgba(245, 230, 200, 0.85);
}

.scene--mehndi .scene__detail strong {
  color: #F5E6C8;
}

.scene--mehndi .scene__detail-icon {
  color: var(--gold);
}

/* ============================================
   SCENE 2: Pool Party
   ============================================ */
.scene--pool {
  background-color: #0E2A35;
  background-image:
    linear-gradient(to top, rgba(10, 35, 50, 0.97) 0%, rgba(10, 35, 50, 0.9) 40%, rgba(10, 35, 50, 0.72) 100%),
    url('../assets/images/events/pool.jpeg');
}

.scene--pool .scene__frame {
  border-color: rgba(150, 210, 230, 0.4);
  opacity: 0.3;
}

.scene--pool .scene__icon {
  color: #7DD3E8;
}

.scene--pool .scene__tag {
  background: rgba(125, 211, 232, 0.2);
  color: #7DD3E8;
}

.scene--pool .scene__name {
  color: #E0F4FA;
}

.scene--pool .scene__description {
  color: rgba(224, 244, 250, 0.7);
}

.scene--pool .scene__detail {
  color: rgba(224, 244, 250, 0.85);
}

.scene--pool .scene__detail strong {
  color: #E0F4FA;
}

.scene--pool .scene__detail-icon {
  color: #7DD3E8;
}

/* ============================================
   SCENE 3: Jashan-e-Sangeet (DARK)
   ============================================ */
.scene--sufi {
  background-color: #2D1117;
  background-image:
    linear-gradient(to top, rgba(30, 10, 15, 0.98) 0%, rgba(45, 17, 23, 0.92) 40%, rgba(45, 17, 23, 0.75) 100%),
    url('../assets/images/events/sufi.jpeg');
  color: var(--gold-light);
}

.scene--sufi .scene__frame {
  border-color: var(--gold);
  opacity: 0.15;
}

.scene--sufi .scene__icon {
  color: var(--gold);
  opacity: 1;
}

.scene--sufi .scene__tag {
  background: rgba(201, 168, 76, 0.25);
  color: var(--gold);
}

.scene--sufi .scene__name {
  color: var(--gold-light);
}

.scene--sufi .scene__description {
  color: rgba(232, 213, 163, 0.7);
}

.scene--sufi .scene__detail {
  color: rgba(232, 213, 163, 0.8);
}

.scene--sufi .scene__detail strong {
  color: var(--gold-light);
}

.scene--sufi .scene__detail em {
  color: var(--gold);
}

.scene--sufi .scene__detail-icon {
  color: var(--gold);
}

/* ============================================
   SCENE 4: Mandhvo & Pitthi
   ============================================ */
.scene--traditional {
  background-color: #3A2408;
  background-image:
    linear-gradient(to top, rgba(50, 30, 5, 0.97) 0%, rgba(50, 30, 5, 0.9) 40%, rgba(50, 30, 5, 0.72) 100%),
    url('../assets/images/events/pitthi.jpeg');
}

.scene--traditional .scene__frame {
  border-color: rgba(255, 180, 60, 0.35);
  opacity: 0.3;
}

.scene--traditional .scene__icon {
  color: #FFB848;
}

.scene--traditional .scene__tag {
  background: rgba(255, 184, 72, 0.2);
  color: #FFB848;
}

.scene--traditional .scene__name {
  color: #FFE8C0;
}

.scene--traditional .scene__description {
  color: rgba(255, 232, 192, 0.7);
}

.scene--traditional .scene__detail {
  color: rgba(255, 232, 192, 0.85);
}

.scene--traditional .scene__detail strong {
  color: #FFE8C0;
}

.scene--traditional .scene__detail em {
  color: #FFB848;
}

.scene--traditional .scene__detail-icon {
  color: #FFB848;
}

/* ============================================
   SCENE 5: The Wedding
   ============================================ */
.scene--wedding {
  background-color: #2A0F14;
  background-image:
    linear-gradient(to top, rgba(35, 12, 18, 0.98) 0%, rgba(35, 12, 18, 0.92) 40%, rgba(35, 12, 18, 0.75) 100%),
    url('../assets/images/events/wedding.jpeg');
}

.scene--wedding .scene__frame {
  /* Shown on desktop via the min-width:769px block; hidden on mobile */
  display: none;
}

.scene--wedding .scene__icon {
  color: #E8A0AD;
}

.scene--wedding .scene__tag {
  background: rgba(232, 160, 173, 0.2);
  color: #E8A0AD;
}

.scene--wedding .scene__name {
  color: #FADED4;
}

.scene--wedding .scene__content {
  border: 1px solid rgba(232, 160, 173, 0.15);
}

.scene--wedding .scene__description {
  color: rgba(250, 222, 212, 0.7);
}

.scene--wedding .scene__detail {
  color: rgba(250, 222, 212, 0.85);
}

.scene--wedding .scene__detail strong {
  color: #FADED4;
}

.scene--wedding .scene__detail-icon {
  color: #E8A0AD;
}

/* Wedding Day Timeline */
.wedding-timeline {
  margin-top: var(--space-md);
  padding-left: 1.5rem;
  border-left: 2px solid rgba(232, 160, 173, 0.35);
  position: relative;
  text-align: left;
}

.timeline-item {
  position: relative;
  padding: 0.8rem 0 0.8rem 1.5rem;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -1.5rem;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 10px;
  height: 10px;
  border-radius: var(--radius-full);
  background: #E8A0AD;
  border: 2px solid rgba(35, 12, 18, 0.8);
  box-shadow: 0 0 0 2px rgba(232, 160, 173, 0.35);
}

.timeline-item__time {
  font-family: var(--font-body);
  font-size: var(--text-small);
  font-weight: 600;
  color: #E8A0AD;
  display: block;
  margin-bottom: 0.15rem;
}

.timeline-item__event {
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: rgba(250, 222, 212, 0.85);
}

/* ============================================
   SCENE 6: Summary
   ============================================ */
.scene--summary {
  background: linear-gradient(160deg, #1A1612 0%, #2A2218 50%, #1A1612 100%);
}

.scene--summary .scene__frame {
  border-color: var(--gold);
  opacity: 0.15;
}

.scene--summary .scene__icon {
  color: var(--gold);
}

.scene--summary .scene__tag {
  background: rgba(201, 168, 76, 0.2);
  color: var(--gold);
}

.scene--summary .scene__name {
  color: var(--gold-light);
}

.scene--summary .scene__description {
  color: rgba(232, 213, 163, 0.7);
}

.summary__schedule {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  text-align: left;
  margin-top: var(--space-md);
}

.summary__day {
  border-left: 2px solid rgba(201, 168, 76, 0.3);
  padding-left: 1.2rem;
}

.summary__day-label {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.15rem;
}

.summary__day-date {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 400;
  color: var(--gold-light);
  margin-bottom: 0.5rem;
}

.summary__event {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  padding: 0.25rem 0;
}

.summary__event-time {
  font-family: var(--font-body);
  font-size: var(--text-small);
  font-weight: 500;
  color: rgba(232, 213, 163, 0.5);
  min-width: 70px;
  flex-shrink: 0;
}

.summary__event-name {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.85);
}

.summary__venue-note {
  font-family: var(--font-body);
  font-size: var(--text-small);
  font-weight: 400;
  letter-spacing: 0.08em;
  color: rgba(232, 213, 163, 0.4);
  margin-top: var(--space-md);
  text-align: center;
}

/* ============================================
   SCENE 7: RSVP
   ============================================ */
.scene--rsvp {
  background: linear-gradient(160deg, #FFF8EF 0%, #F5EBDA 100%);
}

.scene--rsvp .scene__frame {
  border-color: var(--gold);
  opacity: 0.2;
}

.scene--rsvp .scene__icon {
  color: var(--gold);
}

.scene--rsvp .scene__tag {
  background: rgba(201, 168, 76, 0.12);
  color: var(--gold-dark);
}

.scene--rsvp .scene__name {
  color: var(--gold-dark);
}

.scene--rsvp .scene__content {
  max-width: 640px;
  border: 1px solid rgba(201, 168, 76, 0.2);
  border-radius: var(--radius-md);
  padding-top: 2rem;
  padding-bottom: 2rem;
  margin: 20px auto;
}

.rsvp__header {
  text-align: center;
  margin-bottom: var(--space-lg);
}

.rsvp__letters {
  font-family: var(--font-display);
  font-size: clamp(4rem, 12vw, 10rem);
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--soft-black);
  line-height: 0.85;
  margin-bottom: var(--space-sm);
}

.rsvp__letters span {
  display: inline-block;
}

.rsvp__script {
  font-family: var(--font-script);
  font-size: clamp(1rem, 2.5vw, 1.4rem);
  color: var(--muted);
}

.rsvp__deadline {
  font-family: var(--font-body);
  font-size: var(--text-small);
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--muted);
  margin-top: var(--space-sm);
}

/* RSVP Form */
.rsvp__form {
  max-width: 560px;
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.form-group {
  margin-bottom: var(--space-md);
}

.form-label {
  display: block;
  font-family: var(--font-body);
  font-size: var(--text-small);
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--charcoal);
  margin-bottom: 0.5rem;
  text-align: left;
}

.form-label .required {
  color: var(--wedding-rose);
}

.form-input,
.form-textarea,
.form-select {
  width: 100%;
  padding: 0.9rem 1.2rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  border: 1px solid var(--gold-light);
  border-radius: var(--radius-sm);
  background: var(--warm-white);
  color: var(--charcoal);
  outline: none;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201, 168, 76, 0.12);
}

.form-textarea {
  resize: vertical;
  min-height: 100px;
}

/* Attendance toggle */
.attendance-toggle {
  display: flex;
  gap: var(--space-sm);
  justify-content: center;
  margin: var(--space-md) 0;
}

.attendance-option,
.travel-option {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.9rem 1.5rem;
  border: 1.5px solid var(--gold-light);
  border-radius: 100px;
  cursor: pointer;
  transition: all var(--transition-fast);
  background: var(--warm-white);
}

.attendance-option:hover,
.travel-option:hover {
  border-color: var(--gold);
}

.attendance-option.is-selected,
.travel-option.is-selected {
  border-color: var(--gold);
  background: rgba(201, 168, 76, 0.06);
}

.attendance-option input,
.travel-option input {
  display: none;
}

.attendance-option__radio {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 1.5px solid var(--gold-light);
  flex-shrink: 0;
  position: relative;
  transition: border-color var(--transition-fast);
}

.attendance-option__radio::after {
  content: '';
  position: absolute;
  inset: 3px;
  border-radius: 50%;
  background: var(--gold);
  transform: scale(0);
  transition: transform var(--transition-fast);
}

.attendance-option.is-selected .attendance-option__radio,
.travel-option.is-selected .attendance-option__radio {
  border-color: var(--gold);
}

.attendance-option.is-selected .attendance-option__radio::after,
.travel-option.is-selected .attendance-option__radio::after {
  transform: scale(1);
}

.attendance-option__label {
  font-family: var(--font-body);
  font-size: var(--text-small);
  font-weight: 500;
  letter-spacing: 0.03em;
  color: var(--charcoal);
}

.attendance-option__script {
  font-family: var(--font-script);
  font-size: 1.15rem;
  font-weight: 400;
  letter-spacing: 0;
  color: var(--gold-dark);
}

/* Dietary checkboxes */
.checkbox-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.checkbox-pill {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 1rem;
  border: 1px solid var(--gold-light);
  border-radius: 100px;
  cursor: pointer;
  transition: all var(--transition-fast);
  background: var(--warm-white);
  font-size: var(--text-small);
}

.checkbox-pill:hover {
  border-color: var(--gold);
}

.checkbox-pill.is-checked {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--warm-white);
}

.checkbox-pill input {
  display: none;
}

/* Guest names */
.guest-names-section {
  display: none;
}

.guest-names-section.is-visible {
  display: block;
}

.guest-name-input {
  margin-bottom: 0.5rem;
}

/* Submit button */
.rsvp__submit {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 1.1rem 2rem;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--warm-white);
  background: var(--gold);
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background var(--transition-fast), transform var(--transition-fast), box-shadow var(--transition-fast);
}

.rsvp__submit:hover {
  background: var(--gold-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(201, 168, 76, 0.3);
}

.rsvp__submit:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

.rsvp__submit .spinner {
  display: none;
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top-color: white;
  border-radius: var(--radius-full);
  animation: spin 0.6s linear infinite;
  margin-right: 0.5rem;
}

.rsvp__submit.is-loading .spinner {
  display: block;
}

/* Success message */
.rsvp__success {
  display: none;
  text-align: center;
  padding: var(--space-lg) var(--space-md);
}

.rsvp__success.is-visible {
  display: block;
}

.rsvp__success-icon {
  font-size: 3rem;
  margin-bottom: var(--space-sm);
}

.rsvp__success-title {
  font-family: var(--font-display);
  font-size: var(--text-h2);
  font-weight: 400;
  margin-bottom: var(--space-xs);
}

.rsvp__success-text {
  font-size: var(--text-small);
  color: var(--muted);
}

/* ============================================
   SCENE 7: Venue + Footer
   ============================================ */
.scene--venue {
  background: var(--ivory);
}

.scene--venue .scene__frame {
  border-color: var(--gold-light);
  opacity: 0.2;
}

.venue__header {
  text-align: center;
  margin-bottom: var(--space-lg);
}

.venue__image-wrap {
  position: relative;
  width: 100%;
  height: 35vh;
  min-height: 200px;
  max-height: 400px;
  overflow: hidden;
  border-radius: var(--radius-md);
  margin-bottom: var(--space-lg);
}

.venue__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.venue__image--placeholder {
  background: linear-gradient(135deg, var(--cream) 0%, var(--gold-light) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-script);
  font-size: var(--text-h2);
  color: var(--gold);
}

.venue__content {
  text-align: center;
  max-width: var(--content-width);
  margin: 0 auto;
}

.venue__name {
  font-family: var(--font-display);
  font-size: var(--text-h2);
  font-weight: 400;
  margin-bottom: var(--space-sm);
}

.venue__address {
  font-size: var(--text-body);
  color: var(--muted);
  margin-bottom: var(--space-md);
}

.venue__description {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.05rem;
  color: var(--charcoal);
  line-height: 1.8;
  max-width: 600px;
  margin: 0 auto var(--space-md);
}

.venue__map-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-size: var(--text-small);
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  border-bottom: 1px solid var(--gold-light);
  padding-bottom: 2px;
  transition: border-color var(--transition-fast);
}

.venue__map-link:hover {
  border-color: var(--gold);
  color: var(--gold-dark);
}

/* Scene Footer */
.scene-footer {
  margin-top: var(--space-xl);
  padding: var(--space-lg) var(--space-md);
  text-align: center;
  border-top: 1px solid var(--gold-light);
}

.scene-footer__monogram {
  width: 60px;
  height: 60px;
  margin: 0 auto var(--space-md);
  opacity: 0.8;
}

.scene-footer__text {
  font-family: var(--font-script);
  font-size: var(--text-script);
  color: var(--gold);
  margin-bottom: var(--space-sm);
}

.scene-footer__credit {
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  color: var(--muted);
  margin-top: var(--space-md);
}

.scene-footer__credit-link {
  color: var(--gold);
  text-decoration: none;
  border-bottom: 1px solid rgba(201, 168, 76, 0.3);
  transition: border-color var(--transition-fast), color var(--transition-fast);
}

.scene-footer__credit-link:hover {
  color: var(--gold-dark);
  border-color: var(--gold);
}

/* ============================================
   PASSWORD GATE
   ============================================ */
.password-gate {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--ivory);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

.password-gate.is-hidden {
  opacity: 0;
  transform: scale(1.05);
  pointer-events: none;
}

.password-gate__inner {
  text-align: center;
  padding: var(--space-md);
  max-width: 420px;
  width: 100%;
}

.password-gate__title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 3.5rem);
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--soft-black);
  margin-bottom: var(--space-sm);
}

.password-gate__subtitle {
  font-family: var(--font-script);
  font-size: 1.3rem;
  color: var(--muted);
  margin-bottom: var(--space-lg);
}

.password-gate__input-wrap {
  position: relative;
  margin-bottom: var(--space-sm);
}

.password-gate__input {
  width: 100%;
  padding: 1rem 1.5rem;
  font-family: var(--font-body);
  font-size: 1rem;
  letter-spacing: 0.15em;
  text-align: center;
  border: 1px solid var(--gold-light);
  border-radius: var(--radius-sm);
  background: var(--warm-white);
  color: var(--charcoal);
  outline: none;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.password-gate__input:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201, 168, 76, 0.15);
}

.password-gate__input.shake {
  animation: shake 0.5s ease-in-out;
}

.password-gate__error {
  font-size: var(--text-small);
  color: var(--decline-color);
  margin-top: var(--space-xs);
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.password-gate__error.is-visible {
  opacity: 1;
}

.password-gate__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 3rem;
  margin-top: var(--space-sm);
  font-family: var(--font-body);
  font-size: var(--text-small);
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--warm-white);
  background: var(--gold);
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background var(--transition-fast), transform var(--transition-fast);
}

.password-gate__btn:hover {
  background: var(--gold-dark);
  transform: translateY(-1px);
}

/* ============================================
   TOP NAVIGATION
   ============================================ */
.top-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--space-md);
  transition: background var(--transition-medium);
}

.top-nav__monogram {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold-light);
  transition: color var(--transition-fast);
}

.top-nav__links {
  display: flex;
  align-items: center;
  gap: clamp(1.5rem, 3vw, 3rem);
}

.top-nav__link {
  font-family: var(--font-body);
  font-size: var(--text-small);
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-light);
  text-decoration: none;
  position: relative;
  padding: 0.25rem 0;
  transition: color var(--transition-fast);
}

.top-nav__link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width var(--transition-medium);
}

.top-nav__link:hover::after {
  width: 100%;
}

.top-nav__link:hover {
  color: var(--gold);
}

/* Dark scene — keep gold (same as default, ensures specificity) */
body.scene-dark .top-nav__monogram {
  color: var(--gold-light);
}

body.scene-dark .top-nav__link {
  color: var(--gold-light);
}

body.scene-dark .top-nav__link:hover {
  color: var(--gold);
}

/* Light scene — switch to darker gold for readability */
body.scene-light .top-nav__monogram {
  color: var(--gold-dark);
}

body.scene-light .top-nav__link {
  color: var(--gold-dark);
}

body.scene-light .top-nav__link:hover {
  color: var(--gold);
}

body.scene-light .top-nav__toggle span {
  background: var(--gold-dark);
}

/* Mobile nav toggle */
.top-nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 0.5rem;
  cursor: pointer;
  z-index: 1001;
}

.top-nav__toggle span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--gold-light);
  transition: all var(--transition-fast);
}

body.scene-dark .top-nav__toggle span {
  background: var(--gold-light);
}

.top-nav__toggle.is-open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 4px);
}

.top-nav__toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.top-nav__toggle.is-open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -4px);
}

/* Mobile menu overlay */
.nav__mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--overlay);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-md);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-medium);
}

.nav__mobile-menu.is-open {
  opacity: 1;
  pointer-events: all;
}

.nav__mobile-link {
  font-family: var(--font-body);
  font-size: 1.1rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--warm-white);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.nav__mobile-link:hover {
  color: var(--gold);
}

/* ============================================
   SCENE NAVIGATION (Side Dots)
   ============================================ */
.scene-nav {
  position: fixed;
  right: 2rem;
  top: 50%;
  transform: translateY(-50%);
  z-index: 900;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.scene-nav__dot {
  width: 12px;
  height: 12px;
  border-radius: var(--radius-full);
  border: 1.5px solid var(--gold-light);
  background: transparent;
  cursor: pointer;
  position: relative;
  transition: all 0.4s var(--ease-out);
  padding: 0;
}

.scene-nav__dot:hover {
  border-color: var(--gold);
  transform: scale(1.2);
}

.scene-nav__dot.is-active {
  background: var(--gold);
  border-color: var(--gold);
  transform: scale(1.3);
}

.scene-nav__label {
  position: absolute;
  right: calc(100% + 12px);
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-body);
  font-size: 0.6rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}

.scene-nav__dot:hover .scene-nav__label {
  opacity: 1;
}

/* Dark scene adaptation */
body.scene-dark .scene-nav__dot {
  border-color: rgba(232, 213, 163, 0.4);
}

body.scene-dark .scene-nav__dot.is-active {
  background: var(--gold);
  border-color: var(--gold);
}

body.scene-dark .scene-nav__label {
  color: var(--gold-light);
}

/* ============================================
   MOBILE PROGRESS BAR
   ============================================ */
.progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: rgba(201, 168, 76, 0.15);
  z-index: 950;
  display: none;
}

.progress-bar__fill {
  height: 100%;
  width: 0%;
  background: var(--gold);
}

/* ============================================
   MUSIC PLAYER
   ============================================ */
.music-player {
  position: fixed;
  bottom: calc(2rem + var(--tab-bar-height));
  right: 2rem;
  z-index: 960;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.music-player__btn {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-full);
  background: var(--warm-white);
  border: 1.5px solid var(--gold-light);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  transition: all var(--transition-fast);
}

.music-player__btn:hover {
  border-color: var(--gold);
  transform: scale(1.05);
}

.music-player__btn.is-playing {
  animation: pulse-glow 2s ease-in-out infinite;
}

.music-player__icon {
  width: 20px;
  height: 20px;
  color: var(--gold);
}

.music-player__tooltip {
  background: var(--warm-white);
  padding: 0.4rem 0.8rem;
  border-radius: var(--radius-sm);
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--muted);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  white-space: nowrap;
  opacity: 0;
  transform: translateX(10px);
  transition: all var(--transition-fast);
  pointer-events: none;
}

.music-player__btn:hover+.music-player__tooltip,
.music-player__tooltip.is-visible {
  opacity: 1;
  transform: translateX(0);
}

/* ============================================
   BOTTOM TAB BAR
   ============================================ */
.tab-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 950;
  background: rgba(26, 26, 26, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid rgba(201, 168, 76, 0.15);
  padding: 0;
  padding-bottom: env(safe-area-inset-bottom, 0);
}

.tab-bar__track {
  display: flex;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  gap: 0;
}

.tab-bar__track::-webkit-scrollbar {
  display: none;
}

.tab-bar__item {
  flex: 0 0 auto;
  padding: 0.7rem 1rem;
  font-family: var(--font-body);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
  background: none;
  border: none;
  cursor: pointer;
  white-space: nowrap;
  position: relative;
  transition: color var(--transition-fast);
  text-decoration: none;
}

.tab-bar__item:hover {
  color: rgba(255, 255, 255, 0.7);
}

.tab-bar__item.is-active {
  color: var(--gold);
}

.tab-bar__item.is-active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 2px;
  background: var(--gold);
  border-radius: 1px;
}

/* Visited (past) tabs slightly brighter than unvisited */
.tab-bar__item.is-visited {
  color: rgba(255, 255, 255, 0.65);
}

/* ============================================
   KEYFRAME ANIMATIONS
   ============================================ */
@keyframes scroll-line {
  0% {
    top: -100%;
  }

  100% {
    top: 100%;
  }
}

@keyframes scroll-bounce {

  0%,
  100% {
    transform: translateX(-50%) translateY(0);
  }

  50% {
    transform: translateX(-50%) translateY(8px);
  }
}

@keyframes shake {

  0%,
  100% {
    transform: translateX(0);
  }

  20% {
    transform: translateX(-8px);
  }

  40% {
    transform: translateX(8px);
  }

  60% {
    transform: translateX(-4px);
  }

  80% {
    transform: translateX(4px);
  }
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes pulse-glow {

  0%,
  100% {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  }

  50% {
    box-shadow: 0 4px 20px rgba(201, 168, 76, 0.3);
  }
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 768px) {
  .top-nav {
    padding: 0 1rem;
  }

  .top-nav__monogram {
    font-size: 0.85rem;
    letter-spacing: 0.1em;
  }

  .top-nav__links {
    gap: clamp(1.5rem, 5vw, 2.5rem);
  }

  .top-nav__link {
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.1em;
  }

  .scene-nav {
    display: none;
  }

  .progress-bar {
    display: block;
  }

  .scene__frame {
    inset: 10px;
  }

  .attendance-option,
  .travel-option {
    padding: 0.8rem 1.2rem;
    flex: 1;
    justify-content: center;
  }

  .scene__content {
    margin: 0;
    padding: calc(var(--nav-height) + 0.5rem) 1.5rem calc(3rem + var(--tab-bar-height) + env(safe-area-inset-bottom, 0px));
  }

  .rsvp__letters {
    letter-spacing: 0.04em;
  }

  .scene--wedding .scene__content,
  .scene--rsvp .scene__content {
    margin: 10px;
    max-width: calc(100% - 20px);
    padding: calc(var(--nav-height) + 0.5rem) 1.5rem calc(4rem + var(--tab-bar-height) + env(safe-area-inset-bottom, 0px));
  }

  .music-player {
    bottom: calc(1rem + var(--tab-bar-height) + env(safe-area-inset-bottom, 0px));
    right: 1.5rem;
  }

  .music-player__btn {
    width: 44px;
    height: 44px;
  }

  .music-player__tooltip {
    display: none;
  }
}

@media (max-width: 480px) {
  .top-nav__links {
    gap: 1.2rem;
  }

  .top-nav__link {
    font-size: 0.65rem;
    letter-spacing: 0.06em;
  }

  .hero__names-line {
    font-size: clamp(3.2rem, 8dvh, 4.5rem);
  }

  .hero__and {
    font-size: clamp(1.2rem, 2.5dvh, 1.6rem);
  }

  .hero__date-number {
    font-size: clamp(3rem, 7dvh, 4rem);
  }

  .rsvp__letters {
    font-size: clamp(3rem, 15vw, 5rem);
  }

  .scene__name {
    font-size: clamp(1.3rem, 5vw, 1.75rem);
  }
}

/* ============================================
   DESKTOP ENHANCEMENTS (min-width: 769px)
   Conservative fixes for laptop/desktop screens.
   Mobile styles are completely unaffected.
   ============================================ */
@media (min-width: 769px) {

  /* --- Hero: use CSS background (image only, overlay handles gradient) --- */
  .scene--hero {
    background: url('../assets/images/couple/hero2.jpg') center center / cover no-repeat #0a0a0a;
  }

  .scene--hero .hero__bg {
    display: none;
  }

  /* Overlay keeps its base gradient + adds blur */
  .scene--hero .hero__overlay {
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
  }

  /* --- Hero: fit all content in viewport using vh-based sizing --- */
  .scene--hero .hero__content {
    padding: var(--nav-height) var(--space-md) calc(var(--tab-bar-height) + 1.5rem);
  }

  .ganesh-graphic {
    width: clamp(50px, 11vh, 130px);
  }

  .ganesh-text {
    font-size: clamp(0.45rem, 1vh, 0.7rem);
  }

  .ganesh-blessing {
    margin-bottom: clamp(0.2rem, 1vh, 0.8rem);
  }

  .hero__invite-text {
    font-size: clamp(1.5rem, 4.5vh, 3.5rem);
  }

  .hero__invite-sub {
    font-size: clamp(0.65rem, 1.5vh, 1rem);
    margin-bottom: clamp(0.3rem, 1vh, 0.8rem);
  }

  .hero__divider {
    margin: clamp(0.3rem, 1vh, 1rem) auto;
  }

  .hero__names-line {
    font-size: clamp(3rem, 11vh, 8rem);
  }

  .hero__and {
    font-size: clamp(1rem, 3vh, 2.5rem);
  }

  .hero__names {
    margin-bottom: clamp(0.2rem, 0.6vh, 0.5rem);
  }

  .hero__date {
    margin-top: clamp(0.1rem, 0.4vh, 0.4rem);
  }

  .hero__date-number {
    font-size: clamp(2.5rem, 10vh, 7rem);
  }

  .hero__date-text {
    font-size: clamp(1rem, 2.8vh, 2rem);
  }

  .hero__venue {
    font-size: clamp(0.6rem, 1.2vh, 0.9rem);
    margin-top: clamp(0.3rem, 1vh, 0.8rem);
  }

  .hero__scroll-cue {
    margin-top: clamp(1.5rem, 4vh, 3rem);
  }

  /* --- Scrollable content: use margin to clear nav and tab bar --- */
  .scene__content--scrollable {
    margin: calc(var(--nav-height) + 1rem) auto calc(var(--tab-bar-height) + 2.5rem);
  }

  /* Event scenes: ensure bottom clearance when content scrolls */
  .scene--event .scene__content {
    padding-bottom: calc(var(--tab-bar-height) + 2.5rem);
  }

  /* Wedding: full-page border via outline (stays at viewport edges, doesn't cut through scrolling content) */
  .scene--wedding {
    outline: 1px solid rgba(232, 160, 173, 0.2);
    outline-offset: -20px;
  }

  .scene--wedding .scene__frame {
    display: none;
  }

  .scene--wedding .scene__content {
    padding: 2rem 2.5rem 3rem;
    border: none;
    margin: calc(var(--nav-height) + 1rem) auto calc(var(--tab-bar-height) + 2.5rem);
  }

  /* RSVP: override base margin, position below nav */
  .scene--rsvp .scene__content {
    margin: calc(var(--nav-height) + 1rem) auto calc(var(--tab-bar-height) + 2.5rem);
    padding: 2rem 2.5rem 3rem;
  }

  /* Venue: breathing room */
  .scene--venue .scene__content {
    padding-top: 1.5rem;
    padding-bottom: 3rem;
  }

  /* --- Text size increases for desktop readability --- */

  .scene__tag {
    font-size: 0.82rem;
    padding: 0.4rem 1.1rem;
  }

  .scene__name {
    font-size: clamp(1.8rem, 3vw, 2.8rem);
  }

  .scene__description {
    font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  }

  .scene__detail {
    font-size: 1.05rem;
  }

  .scene__detail-icon {
    width: 20px;
    height: 20px;
  }

  .timeline-item__time {
    font-size: 1rem;
  }

  .timeline-item__event {
    font-size: 1.15rem;
  }

  .summary__day-label {
    font-size: 0.8rem;
  }

  .summary__day-date {
    font-size: 1.25rem;
  }

  .summary__event-time {
    font-size: 1.05rem;
  }

  .summary__event-name {
    font-size: 1.15rem;
  }

  .summary__venue-note {
    font-size: 1rem;
  }

  .rsvp__script {
    font-size: 1.4rem;
  }

  .rsvp__deadline {
    font-size: 1rem;
  }

  .form-label {
    font-size: 1rem;
  }

  .form-input,
  .form-textarea,
  .form-select {
    font-size: 1.05rem;
    padding: 1rem 1.2rem;
  }

  .attendance-option__label {
    font-size: 1rem;
  }

  .attendance-option__script {
    font-size: 1.25rem;
  }

  .checkbox-pill {
    font-size: 1rem;
  }

  .rsvp__submit {
    font-size: 0.9rem;
    padding: 1.1rem 2.2rem;
  }

  .venue__name {
    font-size: clamp(1.8rem, 2.5vw, 2.5rem);
  }

  .venue__address {
    font-size: 1.05rem;
  }

  .venue__description {
    font-size: 1.15rem;
  }

  .venue__map-link {
    font-size: 1rem;
  }

  .scene-footer__credit {
    font-size: 0.8rem;
  }
}