:root {
  --bg-deep: #07261d;
  --bg-green: #0d5f47;
  --bg-soft: #f4ece8;
  --text-light: #fffaf8;
  --text-dark: #17352b;
  --muted-light: rgba(255, 248, 244, 0.82);
  --muted-dark: #5d7069;
  --emerald: #0f6c50;
  --emerald-dark: #08392d;
  --emerald-bright: #1b8a66;
  --blush: #f3d9e9;
  --pearl: #fffaf7;
  --silver: #f0eef2;
  --line-light: rgba(255, 255, 255, 0.28);
  --line-dark: rgba(12, 62, 47, 0.12);
  --shadow-soft: 0 18px 40px rgba(4, 24, 18, 0.18);
  --shadow-strong: 0 26px 60px rgba(4, 24, 18, 0.28);
  --radius-xl: 34px;
  --radius-lg: 26px;
  --radius-md: 20px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  color: var(--text-light);
  background:
    radial-gradient(circle at 12% 10%, rgba(255, 255, 255, 0.18), transparent 14%),
    radial-gradient(circle at 88% 6%, rgba(255, 255, 255, 0.18), transparent 12%),
    radial-gradient(circle at 50% 24%, rgba(174, 255, 224, 0.17), transparent 22%),
    linear-gradient(180deg, #031610 0%, #06251c 18%, #0c4c39 36%, #0f7258 50%, #f0e8e4 74%, #fbf7f4 100%);
  min-height: 100vh;
  overflow-x: hidden;
}

img,
video {
  display: block;
  max-width: 100%;
}

button,
input,
select,
textarea {
  font: inherit;
}

.page-glow {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 50% 14%, rgba(203, 255, 231, 0.12), transparent 18%),
    radial-gradient(circle at 30% 60%, rgba(255, 216, 240, 0.09), transparent 16%);
  animation: glowBreath 13s ease-in-out infinite alternate;
}

.floating-stage {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.stage-light {
  position: absolute;
  top: -60px;
  width: 190px;
  height: 52vh;
  opacity: 0.34;
  filter: blur(2px);
  transform-origin: top center;
  background: linear-gradient(180deg, rgba(255, 244, 235, 0.75), rgba(255, 244, 235, 0));
  clip-path: polygon(42% 0, 58% 0, 100% 100%, 0 100%);
}

.stage-light--left {
  left: -28px;
  transform: rotate(20deg);
  animation: spotlightSwayLeft 16s ease-in-out infinite alternate;
}

.stage-light--right {
  right: -28px;
  transform: rotate(-20deg);
  animation: spotlightSwayRight 18s ease-in-out infinite alternate;
}

.pearl-orbit {
  position: absolute;
  width: 180px;
  height: 180px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  opacity: 0.42;
  animation: pearlFloat 15s ease-in-out infinite;
}

.pearl-orbit::before,
.pearl-orbit::after {
  content: "";
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 25%, #fff, #e7dce8 64%, #baa9b8);
  box-shadow: 0 0 16px rgba(255, 255, 255, 0.55);
}

.pearl-orbit::before {
  left: 18px;
  top: 34px;
}

.pearl-orbit::after {
  right: 20px;
  bottom: 30px;
}

.pearl-orbit--one {
  left: -70px;
  top: 48vh;
}

.pearl-orbit--two {
  right: -74px;
  top: 86vh;
  animation-duration: 19s;
  animation-direction: reverse;
}

.sparkles {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background-image:
    radial-gradient(circle at 8% 18%, rgba(255, 255, 255, 0.95) 0 2px, transparent 2.5px),
    radial-gradient(circle at 22% 40%, rgba(255, 255, 255, 0.82) 0 1.8px, transparent 2.3px),
    radial-gradient(circle at 78% 15%, rgba(255, 255, 255, 0.95) 0 2px, transparent 2.5px),
    radial-gradient(circle at 90% 42%, rgba(255, 255, 255, 0.82) 0 1.8px, transparent 2.2px),
    radial-gradient(circle at 35% 72%, rgba(255, 255, 255, 0.78) 0 1.6px, transparent 2px),
    radial-gradient(circle at 70% 64%, rgba(255, 255, 255, 0.88) 0 1.8px, transparent 2.3px);
  opacity: 0.8;
  overflow: hidden;
  animation: sparklePulse 8.5s ease-in-out infinite alternate;
}

.sparkles::before,
.sparkles::after {
  content: "";
  position: absolute;
  inset: -6%;
  background-repeat: no-repeat;
  pointer-events: none;
}

.sparkles::before {
  background-image:
    radial-gradient(circle at 18% 24%, rgba(255, 255, 255, 0.55) 0 1.1px, transparent 2.2px),
    radial-gradient(circle at 68% 18%, rgba(203, 255, 231, 0.52) 0 1.4px, transparent 2.6px),
    radial-gradient(circle at 84% 66%, rgba(255, 226, 238, 0.5) 0 1.2px, transparent 2.4px),
    radial-gradient(circle at 34% 82%, rgba(255, 255, 255, 0.42) 0 1.2px, transparent 2.3px);
  opacity: 0.34;
  animation: sparkleDrift 22s linear infinite;
}

.sparkles::after {
  background-image:
    radial-gradient(circle at 8% 72%, rgba(255, 255, 255, 0.38) 0 1px, transparent 2px),
    radial-gradient(circle at 54% 46%, rgba(203, 255, 231, 0.34) 0 1.2px, transparent 2.3px),
    radial-gradient(circle at 92% 28%, rgba(255, 255, 255, 0.34) 0 1px, transparent 2px),
    radial-gradient(circle at 72% 88%, rgba(255, 226, 238, 0.3) 0 1px, transparent 2px);
  opacity: 0.22;
  animation: sparkleDrift 28s linear infinite reverse;
}

@keyframes glowBreath {
  0% {
    opacity: 0.72;
    transform: translate3d(0, 0, 0) scale(1);
  }

  100% {
    opacity: 1;
    transform: translate3d(0, -10px, 0) scale(1.04);
  }
}

@keyframes sparklePulse {
  0% {
    opacity: 0.42;
  }

  100% {
    opacity: 0.72;
  }
}

@keyframes sparkleDrift {
  0% {
    transform: translate3d(0, 0, 0);
  }

  50% {
    transform: translate3d(0, -14px, 0);
  }

  100% {
    transform: translate3d(0, 10px, 0);
  }
}

@keyframes pearlFloat {
  0% {
    transform: translate3d(0, 0, 0);
  }

  50% {
    transform: translate3d(0, -16px, 0);
  }

  100% {
    transform: translate3d(0, 10px, 0);
  }
}

@keyframes spotlightSwayLeft {
  0% {
    transform: rotate(20deg) translateX(0);
    opacity: 0.28;
  }

  100% {
    transform: rotate(16deg) translateX(14px);
    opacity: 0.38;
  }
}

@keyframes spotlightSwayRight {
  0% {
    transform: rotate(-20deg) translateX(0);
    opacity: 0.26;
  }

  100% {
    transform: rotate(-16deg) translateX(-14px);
    opacity: 0.36;
  }
}

.intro-envelope,
.invitation {
  position: relative;
  z-index: 2;
  width: min(100%, 560px);
  margin: 0 auto;
}

.intro-envelope {
  min-height: 100svh;
  padding: 30px 16px 42px;
  display: grid;
  align-content: center;
  gap: 24px;
}

.intro-envelope__top-copy {
  text-align: center;
}

.intro-envelope__top-copy h1 {
  margin: 0;
  max-width: 11.5ch;
  margin-inline: auto;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2.15rem, 8vw, 3.35rem);
  line-height: 0.95;
  text-transform: uppercase;
}

.intro-envelope__guest {
  margin: 14px auto 0;
  max-width: 28rem;
  color: var(--muted-light);
  line-height: 1.7;
}

.eyebrow {
  margin: 0 0 10px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: #d7fff2;
}

.eyebrow--green {
  color: var(--emerald);
}

.envelope {
  position: relative;
  width: 100%;
  aspect-ratio: 1.26 / 1;
  border: 0;
  padding: 0;
  background: transparent;
  cursor: pointer;
  transform-style: preserve-3d;
}

.envelope__shadow {
  position: absolute;
  inset: auto 7% 4%;
  height: 18%;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.18);
  filter: blur(24px);
}

.envelope__back,
.envelope__liner,
.envelope__flap {
  position: absolute;
  inset: 0;
  border-radius: 30px;
}

.envelope__back {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(239, 254, 247, 0.92) 34%, rgba(255, 225, 242, 0.92) 72%, rgba(255, 255, 255, 0.94)),
    linear-gradient(180deg, rgba(255, 255, 255, 0.44), rgba(255, 255, 255, 0.08));
  border: 1px solid rgba(255, 255, 255, 0.86);
  box-shadow: var(--shadow-strong);
}

.envelope__back::before,
.envelope__back::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 30px;
}

.envelope__back::before {
  clip-path: polygon(0 100%, 50% 50%, 100% 100%);
  background: linear-gradient(180deg, rgba(255, 240, 248, 0.5), rgba(255, 255, 255, 0.06));
}

.envelope__back::after {
  clip-path: polygon(0 0, 50% 54%, 100% 0, 100% 100%, 0 100%);
  background: linear-gradient(180deg, rgba(221, 255, 242, 0.2), rgba(255, 255, 255, 0.02));
}

.envelope__liner {
  inset: 12px;
  border-radius: 24px;
  background:
    linear-gradient(145deg, rgba(247, 232, 243, 0.92), rgba(255, 255, 255, 0.15)),
    linear-gradient(180deg, rgba(255, 255, 255, 0.6), rgba(255, 255, 255, 0.08));
  opacity: 0.45;
}

.envelope__letter-clip {
  position: absolute;
  inset: 16% 10% 8%;
  z-index: 3;
  clip-path: inset(0 0 68% 0 round 26px);
  transition: clip-path 980ms cubic-bezier(0.22, 1, 0.36, 1) 120ms;
}

.envelope__letter {
  position: absolute;
  inset: 0;
  z-index: 2;
  padding: 28px 18px;
  border-radius: 26px;
  background:
    radial-gradient(circle at top, rgba(198, 255, 236, 0.22), transparent 42%),
    linear-gradient(180deg, rgba(8, 97, 69, 0.96), rgba(5, 48, 36, 0.96));
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 8px;
  transform: translateY(44%);
  opacity: 0;
  transition:
    transform 980ms cubic-bezier(0.22, 1, 0.36, 1) 120ms,
    opacity 180ms linear 120ms;
}

.envelope__letter small,
.envelope__letter em {
  color: rgba(247, 255, 252, 0.78);
  font-style: normal;
}

.envelope__letter strong {
  font-family: "Parisienne", cursive;
  font-size: clamp(2.6rem, 11vw, 4rem);
  color: #fff7fb;
  line-height: 0.95;
}

.envelope__front {
  position: absolute;
  inset: 46% 0 0;
  z-index: 2;
  border-radius: 0 0 30px 30px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(239, 254, 247, 0.92) 34%, rgba(255, 225, 242, 0.92) 72%, rgba(255, 255, 255, 0.94));
  pointer-events: none;
}

.envelope__front::before,
.envelope__front::after {
  content: "";
  position: absolute;
  inset: 0;
}

.envelope__front::before {
  clip-path: polygon(0 0, 50% 22%, 100% 0, 100% 100%, 0 100%);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.32), rgba(255, 255, 255, 0.06));
}

.envelope__front::after {
  clip-path: polygon(0 0, 50% 22%, 100% 0, 100% 100%, 0 100%);
  background:
    linear-gradient(135deg, rgba(255, 240, 248, 0.2), transparent 55%),
    linear-gradient(225deg, rgba(221, 255, 242, 0.16), transparent 55%);
}

.envelope__flap {
  clip-path: polygon(0 0, 50% 90%, 100% 0);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.97), rgba(244, 226, 241, 0.94) 42%, rgba(229, 255, 244, 0.88)),
    linear-gradient(180deg, rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0.08));
  transform-origin: top center;
  transition: transform 1100ms cubic-bezier(0.22, 1, 0.36, 1);
  z-index: 4;
  backface-visibility: hidden;
}

.envelope__seal {
  position: absolute;
  left: 50%;
  top: 44%;
  z-index: 5;
  transform: translate(-50%, -50%);
  width: 70px;
  height: 70px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: linear-gradient(180deg, #fff8fd, #ebd5e3);
  color: var(--emerald);
  font-family: "Cormorant Garamond", serif;
  font-size: 1.5rem;
  font-weight: 700;
  box-shadow: 0 16px 30px rgba(40, 19, 29, 0.22);
  transition: opacity 280ms ease, transform 420ms ease;
}

.intro-envelope.is-flap-open .envelope__flap,
.intro-envelope.is-open .envelope__flap {
  transform: rotateX(180deg);
}

.intro-envelope.is-letter-revealed .envelope__letter-clip,
.intro-envelope.is-open .envelope__letter-clip {
  clip-path: inset(-4% 0 -42% 0 round 26px);
}

.intro-envelope.is-letter-revealed .envelope__letter,
.intro-envelope.is-open .envelope__letter {
  transform: translateY(-10%);
  opacity: 1;
}

.intro-envelope.is-flap-open .envelope__seal,
.intro-envelope.is-open .envelope__seal {
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.88);
}

.intro-envelope__media {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transform: translateY(22px);
  padding-bottom: 0;
  transition:
    max-height 1s ease,
    opacity 700ms ease,
    transform 700ms ease,
    padding-bottom 700ms ease;
}

.intro-envelope.is-open .intro-envelope__media {
  max-height: 1100px;
  opacity: 1;
  transform: translateY(0);
  padding-bottom: 14px;
}

.scroll-hint {
  margin: 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: "Montserrat", sans-serif;
  font-size: 0.66rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  line-height: 1.35;
  text-align: center;
  color: rgba(245, 240, 235, 0.52);
  opacity: 0;
  transform: translateY(-6px);
  transition: opacity 350ms ease, transform 350ms ease;
}

.scroll-hint::before {
  content: "";
  width: 20px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(46, 204, 113, 0.7), transparent);
}

.scroll-hint::after {
  content: "";
  width: 14px;
  height: 22px;
  border-radius: 999px;
  border: 1px solid rgba(245, 240, 235, 0.28);
  background:
    radial-gradient(circle, rgba(126, 215, 172, 0.92) 0 1.6px, transparent 2px);
  background-repeat: no-repeat;
  background-position: center 4px;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.04),
    0 0 12px rgba(46, 204, 113, 0.08);
  animation: scrollHintGesture 1.7s ease-in-out infinite;
}

.intro-envelope.is-open .scroll-hint--envelope,
.intro-envelope.is-open .scroll-hint--video {
  opacity: 1;
  transform: translateY(0);
}

.scroll-hint--envelope,
.scroll-hint--video {
  min-height: 24px;
}

.scroll-hint--video {
  margin-top: 24px;
  padding-bottom: 6px;
}

@keyframes scrollHintGesture {
  0%,
  100% {
    background-position: center 4px;
    opacity: 0.72;
    transform: translateY(0);
  }

  50% {
    background-position: center 10px;
    opacity: 1;
    transform: translateY(4px);
  }
}

.video-card,
.panel,
.hero-poster {
  position: relative;
  isolation: isolate;
  overflow: visible;
}

.video-card {
  border: 1px solid var(--line-light);
  border-radius: 28px;
  box-shadow: var(--shadow-strong);
  padding: 18px;
  background: rgba(255, 252, 250, 0.1);
  backdrop-filter: blur(14px);
}

.video-card--intro {
  padding: 0 4px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

.video-card--intro .video-card__header {
  padding: 0 4px;
}

.video-card__header h2,
.panel h2,
.hero-poster__date,
.detail-card h2,
.invitee-band h2 {
  font-family: "Cormorant Garamond", serif;
}

.video-card__header h2,
.panel h2 {
  margin: 0;
  font-size: clamp(2rem, 7vw, 3rem);
  line-height: 0.96;
}

.video-frame {
  position: relative;
  margin-top: 16px;
  overflow: hidden;
  border-radius: 8px;
}

.video-frame video {
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  background: #061c15;
}

.video-frame--ornate,
.video-frame--hero {
  padding: 4px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(246, 222, 239, 0.9) 36%, rgba(222, 255, 241, 0.88) 74%, rgba(255, 255, 255, 0.96));
  box-shadow:
    0 22px 44px rgba(0, 0, 0, 0.2),
    0 0 34px rgba(223, 255, 242, 0.18);
}

.video-frame--hero {
  transform: translateZ(70px) rotate(-1deg);
}

.primary-button,
.pill-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  text-decoration: none;
  cursor: pointer;
  font-weight: 800;
}

.primary-button {
  min-height: 52px;
  padding: 0 24px;
  border-radius: 999px;
  background: linear-gradient(135deg, #fffefa, #f0e8ed);
  color: var(--emerald-dark);
}

.primary-button--full {
  width: 100%;
}

.pill-button {
  min-height: 46px;
  padding: 0 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--emerald-dark);
}

.invitation {
  padding: 34px 16px 100px;
  display: grid;
  gap: clamp(72px, 13vh, 118px);
  perspective: 1400px;
}

.hero-poster {
  position: relative;
  min-height: 890px;
  background:
    radial-gradient(circle at 50% 12%, rgba(215, 255, 236, 0.16), transparent 22%),
    linear-gradient(180deg, rgba(4, 51, 38, 0.98), rgba(10, 106, 75, 0.96) 34%, rgba(6, 63, 45, 0.98));
  border-radius: 0;
  box-shadow: none;
  transform-style: preserve-3d;
}

.hero-poster::before {
  content: "";
  position: absolute;
  inset: -28px -14px;
  z-index: -1;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(255, 255, 255, 0.2), transparent 38%),
    radial-gradient(ellipse at 50% 34%, rgba(19, 145, 106, 0.24), transparent 58%);
  filter: blur(8px);
}

.hero-poster::after {
  content: "";
  position: absolute;
  inset: auto 4% 3%;
  height: 36%;
  border-radius: 999px 999px 34px 34px;
  background:
    radial-gradient(ellipse at center, rgba(255, 255, 255, 0.08), transparent 58%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.08) 0 1px, transparent 1px 18px);
  opacity: 0.45;
  transform: perspective(500px) rotateX(58deg);
}

.hero-poster__stadium {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at center 19%, rgba(255, 255, 255, 0.24), transparent 6%),
    radial-gradient(circle at center 28%, rgba(255, 255, 255, 0.08), transparent 22%),
    radial-gradient(ellipse at center 24%, rgba(255, 255, 255, 0.1), transparent 36%),
    repeating-radial-gradient(ellipse at center 24%, rgba(255, 255, 255, 0.08) 0 1px, transparent 1px 18px);
  opacity: 0.55;
}

.hero-poster__lights {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 10% 2%, rgba(255, 255, 255, 0.44), transparent 11%),
    radial-gradient(circle at 90% 2%, rgba(255, 255, 255, 0.44), transparent 11%),
    radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.18), transparent 15%);
}

.hero-poster__volley {
  position: absolute;
  right: -18px;
  top: 274px;
  z-index: 3;
  width: 118px;
  height: 118px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: var(--emerald-dark);
  font-family: "Parisienne", cursive;
  font-size: 1.35rem;
  transform: rotate(-12deg);
  background:
    radial-gradient(circle at 34% 30%, #fff, #efedf0 54%, #cfc8ce),
    repeating-conic-gradient(from 20deg, rgba(13, 83, 62, 0.18) 0 9deg, transparent 9deg 35deg);
  border: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow: 0 20px 42px rgba(0, 0, 0, 0.18);
}

.hero-poster__net {
  position: absolute;
  right: -36px;
  top: 392px;
  z-index: 2;
  width: 178px;
  height: 96px;
  transform: rotate(-4deg);
  border: 2px solid rgba(255, 255, 255, 0.45);
  border-radius: 10px;
  background:
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.35) 0 1px, transparent 1px 22px),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.35) 0 1px, transparent 1px 20px);
  opacity: 0.72;
}

.floating-logo {
  position: absolute;
  z-index: 4;
  object-fit: contain;
  filter:
    drop-shadow(0 14px 22px rgba(0, 0, 0, 0.22))
    drop-shadow(0 0 16px rgba(255, 255, 255, 0.2));
  opacity: 0.9;
  pointer-events: none;
}

.floating-logo--bts {
  left: 22px;
  top: 248px;
  width: 78px;
  transform: rotate(-10deg) translateZ(116px);
  filter:
    invert(1)
    drop-shadow(0 14px 22px rgba(0, 0, 0, 0.28))
    drop-shadow(0 0 18px rgba(214, 255, 239, 0.24));
}

.floating-logo--army {
  left: 82px;
  top: 330px;
  width: 44px;
  opacity: 0.62;
  transform: rotate(12deg) translateZ(92px);
  filter:
    invert(1)
    drop-shadow(0 14px 22px rgba(0, 0, 0, 0.2))
    drop-shadow(0 0 18px rgba(214, 255, 239, 0.18));
}

.floating-logo--nacional {
  right: 10px;
  top: 214px;
  width: 66px;
  padding: 9px;
  border-radius: 999px;
  background: radial-gradient(circle at 35% 30%, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.32));
  transform: rotate(9deg) translateZ(120px);
}

.scene-orb {
  position: absolute;
  border-radius: 999px;
  filter: blur(10px);
  pointer-events: none;
}

.scene-orb--hero-left {
  width: 180px;
  height: 180px;
  left: -42px;
  top: 160px;
  background: radial-gradient(circle, rgba(255, 231, 246, 0.18), transparent 66%);
}

.scene-orb--hero-right {
  width: 190px;
  height: 190px;
  right: -48px;
  bottom: 120px;
  background: radial-gradient(circle, rgba(213, 255, 240, 0.18), transparent 66%);
}

.scene-orb--video {
  width: 220px;
  height: 220px;
  right: -80px;
  top: -60px;
  background: radial-gradient(circle, rgba(255, 229, 242, 0.16), transparent 66%);
}

.hero-poster__content {
  position: relative;
  z-index: 1;
  padding: 30px 18px 26px;
  transform-style: preserve-3d;
}

.hero-poster__title {
  text-align: center;
  transform: translateZ(32px);
}

.hero-poster__crown {
  display: inline-block;
  margin-bottom: 8px;
}

.hero-poster__name {
  margin: 0;
  font-family: "Parisienne", cursive;
  font-size: clamp(4.4rem, 18vw, 7rem);
  line-height: 0.86;
  color: #fff6fb;
  text-shadow: 0 6px 24px rgba(255, 255, 255, 0.18);
}

.hero-poster__subtitle,
.hero-poster__tagline {
  margin: 0;
}

.hero-poster__subtitle {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.5rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero-poster__date {
  margin: 12px 0 8px;
  font-size: clamp(2.2rem, 9vw, 4rem);
  color: #fff8f3;
}

.hero-poster__tagline {
  color: rgba(247, 255, 252, 0.82);
  font-size: 1.08rem;
}

.hero-poster__chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin: 18px 0 22px;
  transform: translateZ(18px);
}

.hero-poster__chips span {
  padding: 9px 12px;
  border-radius: 0;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.05)),
    radial-gradient(circle at top, rgba(214, 255, 239, 0.12), transparent 70%);
  clip-path: polygon(8% 0, 100% 0, 92% 100%, 0 100%);
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
}

.hero-poster__collage {
  position: relative;
  min-height: 520px;
  transform-style: preserve-3d;
}

.hero-poster__photo {
  position: absolute;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow:
    0 26px 48px rgba(0, 0, 0, 0.24),
    0 0 34px rgba(213, 255, 240, 0.1);
}

.hero-poster__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-poster__photo--main {
  left: 14%;
  top: 54px;
  width: 72%;
  aspect-ratio: 0.9 / 1.15;
  border-radius: 50% 50% 18px 18px / 34% 34% 18px 18px;
  transform: translateZ(46px);
}

.hero-poster__photo--dog {
  left: 0;
  top: 308px;
  width: 34%;
  aspect-ratio: 0.8 / 1;
  border-radius: 8px;
  transform: rotate(-7deg) translateZ(92px);
}

.hero-poster__photo--team {
  right: 0;
  top: 314px;
  width: 34%;
  aspect-ratio: 0.8 / 1;
  border-radius: 8px;
  transform: rotate(6deg) translateZ(92px);
}

.hero-poster__note {
  position: absolute;
  padding: 14px 16px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
  font-family: "Cormorant Garamond", serif;
  font-size: 1.2rem;
  line-height: 1.1;
  text-align: center;
  box-shadow: 0 18px 34px rgba(7, 36, 28, 0.18);
}

.hero-poster__note--left {
  left: 2%;
  top: 140px;
}

.hero-poster__note--right {
  right: 7%;
  top: 224px;
}

.panel {
  padding: 28px 22px;
  color: var(--text-dark);
  transform-style: preserve-3d;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.panel > * {
  position: relative;
  z-index: 1;
}

.panel::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  box-shadow:
    0 26px 58px rgba(4, 24, 18, 0.16),
    inset 0 0 0 1px rgba(255, 255, 255, 0.32);
  clip-path: polygon(5% 0, 95% 0, 100% 12%, 97% 100%, 3% 100%, 0 12%);
}

.panel--pearl {
  background: transparent;
}

.panel--pearl::before {
  background:
    linear-gradient(180deg, rgba(255, 251, 248, 0.96), rgba(254, 247, 244, 0.92)),
    radial-gradient(circle at top, rgba(255, 255, 255, 0.7), transparent 28%);
}

.panel--emerald {
  background: transparent;
  color: var(--text-light);
}

.panel--emerald::before {
  background:
    radial-gradient(circle at top, rgba(198, 255, 237, 0.16), transparent 26%),
    linear-gradient(180deg, rgba(8, 91, 64, 0.98), rgba(5, 47, 36, 0.98));
  box-shadow:
    0 30px 62px rgba(2, 16, 12, 0.28),
    inset 0 0 0 1px rgba(216, 255, 240, 0.14);
}

.panel--glass {
  background: transparent;
  color: var(--text-light);
}

.panel--glass::before {
  background:
    linear-gradient(180deg, rgba(12, 90, 65, 0.86), rgba(9, 59, 45, 0.88)),
    radial-gradient(circle at top, rgba(206, 255, 238, 0.12), transparent 26%);
}

[data-scene] {
  will-change: transform, opacity;
}

.panel--emerald p,
.panel--glass p {
  color: rgba(248, 255, 252, 0.84);
}

.envelope-band {
  display: grid;
  gap: 18px;
}

.envelope-band__art {
  display: grid;
  place-items: center;
}

.mini-envelope {
  position: relative;
  width: 132px;
  height: 92px;
  border-radius: 18px;
  background: linear-gradient(135deg, #fffefc, #f2dbe9 44%, #e0fff0 80%);
  border: 1px solid rgba(255, 255, 255, 0.88);
  box-shadow: var(--shadow-soft);
}

.mini-envelope::before,
.mini-envelope::after,
.mini-envelope span {
  content: "";
  position: absolute;
}

.mini-envelope::before {
  inset: 0;
  clip-path: polygon(0 0, 50% 52%, 100% 0, 100% 100%, 0 100%);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.32), rgba(255, 255, 255, 0.06));
}

.mini-envelope::after {
  inset: 0;
  clip-path: polygon(0 100%, 50% 44%, 100% 100%);
  background: linear-gradient(180deg, rgba(235, 255, 245, 0.34), rgba(255, 255, 255, 0.08));
}

.mini-envelope span {
  left: 50%;
  top: 50%;
  width: 28px;
  height: 28px;
  transform: translate(-50%, -50%);
  border-radius: 999px;
  background: rgba(255, 248, 252, 0.92);
  box-shadow: 0 8px 16px rgba(50, 18, 28, 0.14);
}

.welcome-panel {
  display: grid;
  gap: 18px;
  transform-origin: center top;
  min-height: 96svh;
  align-content: center;
  overflow: visible;
}

.welcome-panel::after {
  content: "";
  position: absolute;
  right: -18px;
  bottom: 14%;
  width: 118px;
  height: 118px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  background:
    radial-gradient(circle at 34% 34%, rgba(255, 255, 255, 0.82), transparent 11%),
    radial-gradient(circle at 48% 48%, rgba(255, 227, 244, 0.16), transparent 54%);
  filter: drop-shadow(0 0 20px rgba(255, 255, 255, 0.18));
}

.welcome-panel::before {
  content: "";
  position: absolute;
  inset: -28px 10% auto;
  height: 70px;
  border-radius: 999px;
  background: radial-gradient(ellipse at center, rgba(255, 255, 255, 0.22), transparent 64%);
  filter: blur(8px);
}

.video-ribbon {
  position: absolute;
  left: -4px;
  top: -28px;
  z-index: 3;
  padding: 12px 20px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(238, 219, 235, 0.92));
  color: var(--emerald-dark);
  font-family: "Cormorant Garamond", serif;
  font-size: 1.16rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  box-shadow: var(--shadow-soft);
  clip-path: polygon(0 0, 92% 0, 100% 50%, 92% 100%, 0 100%, 8% 50%);
}

.countdown-panel {
  overflow: visible;
  min-height: 54svh;
  display: grid;
  align-content: center;
}

.lightstick {
  position: absolute;
  left: -24px;
  top: -24px;
  width: 80px;
  height: 160px;
  transform: rotate(24deg);
}

.lightstick::before {
  content: "";
  position: absolute;
  left: 12px;
  top: 0;
  width: 66px;
  height: 66px;
  border-radius: 30% 70% 42% 58%;
  background:
    radial-gradient(circle at 38% 34%, #fff, rgba(255, 255, 255, 0.75) 34%, rgba(194, 255, 232, 0.4) 70%, transparent 72%);
  box-shadow: 0 0 28px rgba(219, 255, 241, 0.56);
}

.lightstick::after {
  content: "";
  position: absolute;
  left: 35px;
  top: 58px;
  width: 18px;
  height: 100px;
  border-radius: 999px;
  background: linear-gradient(180deg, #eef7f3, #7d8d88);
}

.countdown__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 18px;
}

.countdown__card {
  padding: 16px 10px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.13), rgba(255, 255, 255, 0.05)),
    radial-gradient(circle at 50% 0, rgba(223, 255, 242, 0.16), transparent 64%);
  text-align: center;
  backdrop-filter: blur(8px);
  box-shadow: inset 0 0 18px rgba(255, 255, 255, 0.05);
}

.countdown__card span {
  display: block;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2rem, 7vw, 3rem);
}

.countdown__card small {
  color: rgba(242, 255, 250, 0.78);
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.story-panel {
  display: grid;
  gap: 16px;
  min-height: 78svh;
  align-content: center;
}

.story-panel__copy p {
  color: var(--muted-dark);
  line-height: 1.75;
}

.polaroids {
  position: relative;
  min-height: 318px;
  transform-style: preserve-3d;
}

.polaroid {
  position: absolute;
  width: 44%;
  padding: 10px 10px 28px;
  background: white;
  border-radius: 8px;
  box-shadow: 0 16px 30px rgba(9, 25, 20, 0.14);
}

.polaroid img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.polaroid--one {
  left: 0;
  top: 20px;
  transform: rotate(-6deg) translateZ(24px);
}

.polaroid--two {
  right: 0;
  top: 4px;
  transform: rotate(6deg) translateZ(54px);
}

.polaroid--three {
  left: 28%;
  bottom: 0;
  transform: rotate(-4deg) translateZ(88px);
}

.passions-grid,
.details-grid {
  display: grid;
  gap: 16px;
}

.passions-grid {
  gap: 42px;
}

.passion-card {
  display: grid;
  gap: 14px;
  padding: 18px 16px 24px;
  transform-style: preserve-3d;
}

.passion-card:nth-child(odd) {
  transform: rotate(-1.6deg);
}

.passion-card:nth-child(even) {
  transform: rotate(1.4deg);
}

.passion-card::before {
  clip-path: polygon(0 8%, 100% 0, 95% 100%, 5% 94%);
}

.passion-card img {
  width: 100%;
  aspect-ratio: 1.25 / 1;
  object-fit: cover;
  border-radius: 4px;
  filter: saturate(1.05) contrast(1.04);
  box-shadow: 0 22px 34px rgba(0, 0, 0, 0.18);
}

.passion-card h3 {
  margin: 0 0 6px;
  font-family: "Cormorant Garamond", serif;
  font-size: 2rem;
}

.passion-card p {
  margin: 0;
}

.itinerary-line {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.itinerary-line article {
  display: grid;
  grid-template-columns: 44px 1fr;
  grid-template-areas:
    "icon time"
    "icon label";
  align-items: center;
  column-gap: 14px;
  row-gap: 4px;
  padding: 14px 16px;
  border-radius: 0;
  background:
    linear-gradient(90deg, rgba(15, 98, 71, 0.11), rgba(255, 255, 255, 0.22)),
    radial-gradient(circle at 0 50%, rgba(22, 132, 97, 0.16), transparent 34%);
  box-shadow:
    inset 0 -1px 0 rgba(18, 88, 66, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.itinerary-line__icon {
  grid-area: icon;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: rgba(17, 112, 82, 0.12);
  color: var(--emerald);
  font-size: 1.25rem;
}

.itinerary-line strong {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.45rem;
}

.itinerary-line small {
  color: var(--muted-dark);
}

.detail-card p {
  color: var(--muted-dark);
  line-height: 1.7;
}

.detail-card::before {
  clip-path: polygon(7% 0, 100% 0, 93% 100%, 0 92%);
}

.palette-dots {
  display: flex;
  gap: 10px;
  margin-top: 18px;
}

.dot {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  border: 1px solid rgba(0, 0, 0, 0.08);
}

.dot--green {
  background: #158b61;
}

.dot--pink {
  background: #efd7e8;
}

.dot--silver {
  background: #efeff5;
}

.dot--emerald {
  background: #0e4f3d;
}

.invitee-band {
  display: grid;
  gap: 14px;
  min-height: 46svh;
  align-content: center;
}

.invitee-band__quota {
  padding: 16px 18px;
  border-radius: 0;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.08);
  text-align: center;
  clip-path: polygon(8% 0, 100% 0, 92% 100%, 0 100%);
}

.invitee-band__quota span {
  display: block;
  color: rgba(244, 255, 250, 0.76);
}

.invitee-band__quota strong {
  display: block;
  margin-top: 6px;
  font-family: "Cormorant Garamond", serif;
  font-size: 2.8rem;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 18px;
  transform-style: preserve-3d;
}

.gallery-grid img {
  width: 100%;
  aspect-ratio: 0.88 / 1;
  object-fit: cover;
  border-radius: 4px;
  box-shadow: var(--shadow-soft);
}

.gallery-grid img:nth-child(1) {
  transform: rotate(-3deg) translateY(16px);
}

.gallery-grid img:nth-child(2) {
  transform: rotate(4deg) translateY(-10px);
}

.gallery-grid img:nth-child(3) {
  transform: rotate(3deg) translateY(8px);
}

.gallery-grid img:nth-child(4) {
  transform: rotate(-4deg) translateY(20px);
}

.panel__heading {
  margin-bottom: 18px;
}

.invite-summary {
  display: grid;
  gap: 6px;
  margin-bottom: 18px;
  padding: 16px;
  border-radius: 0;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(8px);
}

.invite-summary p {
  margin: 0;
}

.rsvp-form {
  display: grid;
  gap: 14px;
}

.rsvp-form label {
  display: grid;
  gap: 8px;
  font-weight: 700;
}

.rsvp-form input,
.rsvp-form select,
.rsvp-form textarea {
  width: 100%;
  padding: 14px 16px;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.94);
  color: var(--text-dark);
}

.rsvp-form__split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.form-feedback {
  min-height: 22px;
  margin: 0;
  color: #dffff0;
  font-weight: 700;
}

.welcome-panel,
.countdown-panel,
.story-panel,
.itinerary-panel,
.gallery-panel,
.rsvp-panel,
.invitee-band,
.envelope-band,
.passions-grid,
.details-grid {
  margin-top: 0;
  margin-bottom: 0;
}

body.envelope-dismissed .intro-envelope {
  display: none;
}

@media (min-width: 640px) {
  .welcome-panel,
  .story-panel,
  .details-grid,
  .passions-grid,
  .invitee-band {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .envelope-band {
    grid-template-columns: 120px 1fr auto;
    align-items: center;
  }

  .hero-poster {
    min-height: 980px;
  }

  .hero-poster__photo--main {
    width: 66%;
    left: 17%;
  }

  .hero-poster__photo--dog,
  .hero-poster__photo--team {
    width: 30%;
  }

  .passions-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 430px) {
  .countdown__grid,
  .rsvp-form__split {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-poster {
    min-height: 820px;
  }

  .hero-poster__collage {
    min-height: 480px;
  }

  .hero-poster__photo--main {
    left: 12%;
    width: 76%;
  }

  .hero-poster__photo--dog,
  .hero-poster__photo--team {
    width: 34%;
  }
}

/* ===== Refined Art Direction ===== */

body {
  font-family: "Montserrat", sans-serif;
  background:
    radial-gradient(circle at 50% 12%, rgba(46, 204, 113, 0.12), transparent 22%),
    radial-gradient(circle at 18% 34%, rgba(244, 212, 212, 0.06), transparent 20%),
    linear-gradient(180deg, #0b351f 0%, #0e4d2d 34%, #10643a 62%, #0f5935 100%);
}

.page-glow {
  background:
    radial-gradient(circle at 50% 10%, rgba(46, 204, 113, 0.12), transparent 22%),
    radial-gradient(circle at 24% 58%, rgba(244, 212, 212, 0.05), transparent 18%);
}

.sparkles {
  opacity: 0.3;
}

.stage-light {
  display: none;
}

.pearl-orbit {
  opacity: 0.14;
  border-color: rgba(255, 255, 255, 0.14);
}

.intro-envelope,
.invitation {
  width: min(100%, 420px);
}

.intro-envelope {
  padding: 42px 18px 58px;
  gap: 28px;
}

.intro-envelope__top-copy h1 {
  max-width: 10ch;
  font-size: clamp(2.55rem, 10vw, 4rem);
  line-height: 0.92;
  text-transform: none;
  color: #f5f0eb;
}

.intro-envelope__guest {
  max-width: 22rem;
  color: rgba(245, 240, 235, 0.72);
  font-weight: 300;
  line-height: 1.8;
}

.eyebrow {
  margin-bottom: 12px;
  font-family: "Montserrat", sans-serif;
  font-size: 0.68rem;
  font-weight: 400;
  letter-spacing: 0.34em;
  color: rgba(245, 240, 235, 0.46);
}

.eyebrow--green {
  color: rgba(126, 215, 172, 0.86);
}

.envelope {
  max-width: 318px;
  margin: 0 auto;
}

.envelope__shadow {
  inset: auto 10% 3%;
  height: 16%;
  background: rgba(0, 0, 0, 0.34);
  filter: blur(26px);
}

.envelope__back,
.envelope__liner,
.envelope__flap {
  border-radius: 18px;
}

.envelope__back {
  background:
    linear-gradient(135deg, #f0e6dc 0%, #e8d8cc 30%, #ddd0c4 60%, #f5ece4 100%);
  border: 1px solid rgba(255, 255, 255, 0.34);
  box-shadow:
    0 22px 58px rgba(0, 0, 0, 0.48),
    0 0 44px rgba(46, 204, 113, 0.08);
}

.envelope__back::before {
  clip-path: none;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.32) 0%, transparent 50%, rgba(255, 200, 200, 0.08) 100%);
}

.envelope__back::after {
  inset: 0 auto auto 0;
  width: 100%;
  height: 2px;
  clip-path: none;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.54), transparent);
}

.envelope__liner {
  inset: 11px;
  border-radius: 14px;
  opacity: 0.3;
}

.envelope__flap {
  background: linear-gradient(180deg, #e8d8cc 0%, #ddd0c4 100%);
}

.envelope__letter {
  inset: 18% 12% 10%;
  padding: 24px 18px;
  border-radius: 4px;
  background: linear-gradient(180deg, #fefcf9, #f9f3ec);
  border: 0;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.22);
  color: #1a5c3a;
  transform: translateY(14%);
}

.envelope__front {
  inset: 42% 0 0;
  border-radius: 0 0 18px 18px;
  background: linear-gradient(135deg, #f0e6dc 0%, #e8d8cc 30%, #ddd0c4 60%, #f5ece4 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.45),
    0 -2px 12px rgba(0, 0, 0, 0.05);
}

.envelope__letter small,
.envelope__letter em {
  color: rgba(26, 92, 58, 0.56);
  letter-spacing: 0.08em;
}

.envelope__letter strong {
  font-family: "Great Vibes", cursive;
  font-size: clamp(2.45rem, 11vw, 3.8rem);
  color: #1a5c3a;
}

.envelope__seal {
  width: 52px;
  height: 52px;
  top: 42%;
  background: radial-gradient(circle at 35% 35%, #2ecc71, #1a8a4a, #0d5a2a);
  color: #f5f0eb;
  font-family: "Great Vibes", cursive;
  font-size: 1.8rem;
  box-shadow:
    0 4px 20px rgba(46, 204, 113, 0.3),
    inset 0 1px 2px rgba(255, 255, 255, 0.24);
}

.video-card__header,
.welcome-panel__copy,
.panel__heading,
.envelope-band__copy,
.story-panel__copy {
  text-align: center;
}

.video-card__header h2,
.panel h2,
.detail-card h2,
.invitee-band h2 {
  font-family: "Cormorant Garamond", serif;
  font-weight: 300;
  letter-spacing: 0.02em;
}

.video-card__header h2 {
  font-size: clamp(2.2rem, 9vw, 3.55rem);
  color: #f5f0eb;
}

.video-card--intro {
  max-width: 356px;
  margin: 0 auto;
}

.video-frame {
  border-radius: 24px;
}

.video-frame--ornate,
.video-frame--hero {
  background: linear-gradient(135deg, rgba(46, 204, 113, 0.22), rgba(255, 200, 220, 0.16), rgba(192, 192, 192, 0.22), rgba(46, 204, 113, 0.1));
  box-shadow:
    0 30px 80px rgba(0, 0, 0, 0.5),
    0 0 44px rgba(46, 204, 113, 0.08);
}

.video-card--intro .primary-button {
  margin: 24px auto 0;
}

.primary-button,
.pill-button {
  font-family: "Montserrat", sans-serif;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.primary-button {
  background: linear-gradient(135deg, #1a5c3a, #2ecc71);
  color: #fefcf9;
  box-shadow: 0 10px 30px rgba(46, 204, 113, 0.24);
}

.pill-button {
  background: transparent;
  color: rgba(245, 240, 235, 0.74);
  border: 1px solid rgba(46, 204, 113, 0.24);
}

.invitation {
  padding: 0 18px 120px;
  gap: 0;
}

.panel,
.hero-poster,
.story-band,
.passions-grid,
.details-grid {
  margin: 0;
  padding: 92px 0;
}

.panel::before {
  display: none;
}

.panel--pearl,
.panel--emerald,
.panel--glass {
  background: transparent;
}

.panel--emerald p,
.panel--glass p,
.panel--pearl p {
  color: rgba(245, 240, 235, 0.5);
}

.hero-poster {
  min-height: 100svh;
  background:
    radial-gradient(ellipse at 50% 28%, rgba(46, 204, 113, 0.1) 0%, transparent 52%),
    radial-gradient(ellipse at 18% 80%, rgba(244, 212, 212, 0.06) 0%, transparent 34%),
    linear-gradient(180deg, #0b351f 0%, #0f5c36 54%, #0d472b 100%);
}

.hero-poster::before {
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(255, 255, 255, 0.08), transparent 28%),
    radial-gradient(ellipse at 50% 50%, rgba(46, 204, 113, 0.08), transparent 54%);
  filter: blur(18px);
}

.hero-poster::after {
  inset: auto 10% 3%;
  height: 38%;
  opacity: 0.16;
  background:
    radial-gradient(ellipse at center, rgba(255, 255, 255, 0.05), transparent 54%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.04) 0 1px, transparent 1px 18px);
}

.hero-poster__stadium {
  opacity: 0.24;
}

.hero-poster__lights {
  opacity: 0.46;
}

.hero-poster__content {
  padding: 84px 0 28px;
}

.hero-poster__crown {
  margin-bottom: 2px;
  font-size: 0.9rem;
  color: rgba(126, 215, 172, 0.64);
  text-shadow: 0 0 14px rgba(46, 204, 113, 0.24);
}

.hero-poster__name {
  font-family: "Great Vibes", cursive;
  font-size: clamp(5rem, 22vw, 8rem);
  line-height: 0.9;
  color: transparent;
  background: linear-gradient(135deg, #f5f0eb 0%, #c0c0c0 28%, #fefcf9 50%, #f4d4d4 72%, #e8e8e8 100%);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  background-clip: text;
  filter: drop-shadow(0 0 30px rgba(46, 204, 113, 0.16));
  text-shadow: none;
}

.hero-poster__subtitle {
  margin-top: 8px;
  font-size: 1.08rem;
  font-weight: 300;
  letter-spacing: 0.34em;
  color: rgba(232, 232, 232, 0.74);
}

.hero-poster__date {
  margin-top: 26px;
  font-size: clamp(1rem, 4.2vw, 1.22rem);
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(46, 204, 113, 0.78);
}

.hero-poster__tagline {
  margin-top: 26px;
  font-family: "Cormorant Garamond", serif;
  font-style: italic;
  font-size: 1rem;
  color: rgba(245, 240, 235, 0.46);
  letter-spacing: 0.04em;
}

.hero-poster__chips,
.hero-poster__note {
  display: none;
}

.floating-logo--bts {
  left: 10px;
  top: 344px;
  width: 48px;
  opacity: 0.28;
}

.floating-logo--army {
  left: 54px;
  top: 404px;
  width: 28px;
  opacity: 0.14;
}

.floating-logo--nacional {
  right: 10px;
  top: 324px;
  width: 52px;
  padding: 0;
  background: transparent;
  opacity: 0.5;
}

.hero-poster__volley {
  right: -6px;
  top: 438px;
  width: 90px;
  height: 90px;
  font-family: "Great Vibes", cursive;
  font-size: 1.2rem;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.28);
}

.hero-poster__net {
  right: -18px;
  top: 510px;
  width: 124px;
  height: 68px;
  opacity: 0.24;
}

.hero-poster__collage {
  min-height: 500px;
}

.hero-poster__photo {
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 24px 58px rgba(0, 0, 0, 0.34);
}

.hero-poster__photo--main {
  left: 16%;
  top: 66px;
  width: 68%;
  border-radius: 0 0 46% 46% / 0 0 16% 16%;
}

.hero-poster__photo--dog {
  left: 4%;
  top: 316px;
  width: 30%;
}

.hero-poster__photo--team {
  right: 4%;
  top: 324px;
  width: 30%;
}

.envelope-band {
  min-height: auto;
  gap: 22px;
  background: linear-gradient(180deg, #0d472b, #0f5c36);
}

.envelope-band__copy h2 {
  font-size: clamp(1.95rem, 8vw, 3rem);
  color: #f5f0eb;
}

.envelope-band__copy p {
  max-width: 20rem;
  margin: 0 auto;
  line-height: 1.8;
}

.mini-envelope {
  width: 128px;
  height: 88px;
  border-radius: 10px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.42);
}

.welcome-panel {
  min-height: 100svh;
  align-content: center;
  background:
    radial-gradient(ellipse at 50% 46%, rgba(46, 204, 113, 0.1), transparent 42%),
    linear-gradient(180deg, #0d472b 0%, #10643a 58%, #0d472b 100%);
}

.welcome-panel::before {
  inset: -8px 18% auto;
  height: 58px;
  background: radial-gradient(ellipse at center, rgba(255, 255, 255, 0.1), transparent 64%);
}

.welcome-panel::after {
  right: -12px;
  bottom: 12%;
  width: 90px;
  height: 90px;
  border-color: rgba(255, 255, 255, 0.12);
}

.video-ribbon {
  left: 50%;
  top: 18px;
  transform: translateX(-50%);
  padding: 8px 18px;
  border: 1px solid rgba(46, 204, 113, 0.2);
  background: rgba(10, 46, 26, 0.48);
  color: rgba(245, 240, 235, 0.56);
  font-size: 0.7rem;
  clip-path: none;
  box-shadow: none;
  backdrop-filter: blur(12px);
}

.welcome-panel__copy {
  max-width: 21rem;
  margin: 0 auto;
}

.welcome-panel h2 {
  font-size: clamp(2.15rem, 9vw, 3.55rem);
  color: #f5f0eb;
}

.welcome-panel p {
  line-height: 1.8;
}

.video-frame--hero {
  width: min(100%, 340px);
  margin: 18px auto 0;
  transform: none;
}

.countdown-panel {
  min-height: auto;
  padding: 100px 0;
  text-align: center;
  background: transparent;
}

.countdown-panel .lightstick {
  display: none;
}

.countdown-panel h2 {
  font-size: clamp(2rem, 8vw, 3rem);
  color: #f5f0eb;
}

.countdown__grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  justify-items: center;
}

.countdown__card {
  min-width: 0;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  position: relative;
}

.countdown__card + .countdown__card::before {
  content: ":";
  position: absolute;
  left: -8px;
  top: 4px;
  font-family: "Cormorant Garamond", serif;
  font-size: 2rem;
  color: rgba(46, 204, 113, 0.26);
}

.countdown__card span {
  font-size: clamp(2.35rem, 10vw, 3.8rem);
  font-weight: 300;
  color: #fefcf9;
}

.countdown__card small {
  display: block;
  margin-top: 8px;
  font-size: 0.56rem;
  font-weight: 400;
  color: rgba(245, 240, 235, 0.34);
}

.story-panel {
  min-height: auto;
  gap: 34px;
  background: transparent;
}

.story-panel__copy {
  max-width: 320px;
  margin: 0 auto;
  padding: 0;
  background: transparent;
  border: 0;
  backdrop-filter: none;
  box-shadow: none;
}

.story-panel__copy h2 {
  color: #f5f0eb;
  font-size: clamp(2rem, 8vw, 3rem);
}

.story-panel__copy p {
  color: rgba(245, 240, 235, 0.64);
  font-family: "Cormorant Garamond", serif;
  font-size: 1.06rem;
  font-style: italic;
}

.polaroids {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
  grid-template-rows: repeat(2, minmax(152px, 1fr));
  max-width: 340px;
  min-height: 360px;
  margin: 0 auto;
  gap: 14px;
  align-items: stretch;
}

.polaroid {
  position: relative;
  width: auto;
  padding: 10px;
  border-radius: 26px;
  background: rgba(255, 250, 246, 0.96);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.22);
  overflow: hidden;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  gap: 10px;
}

.polaroid img {
  width: 100%;
  height: 100%;
  min-height: 0;
  aspect-ratio: auto;
  border-radius: 18px;
  object-fit: cover;
}

.polaroid figcaption {
  font-size: 0.64rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(24, 78, 53, 0.62);
  text-align: center;
}

.polaroid--one {
  left: auto;
  right: auto;
  top: auto;
  bottom: auto;
  grid-column: 1;
  grid-row: 1 / span 2;
  transform: rotate(-2deg) translateZ(28px);
}

.polaroid--two {
  left: auto;
  right: auto;
  top: auto;
  bottom: auto;
  grid-column: 2;
  grid-row: 1;
  transform: rotate(2.5deg) translateZ(54px);
}

.polaroid--three {
  left: auto;
  right: auto;
  top: auto;
  bottom: auto;
  grid-column: 2;
  grid-row: 2;
  transform: rotate(-1.5deg) translateZ(70px);
}

.passions-grid {
  gap: 34px;
  background: transparent;
}

.story-intro {
  grid-column: 1 / -1;
  max-width: 38rem;
  margin: 0 auto 6px;
  text-align: center;
}

.story-intro h2 {
  margin: 12px 0 16px;
  font-size: clamp(2.2rem, 8vw, 4rem);
  line-height: 0.94;
  color: var(--text-deep);
}

.story-intro p:last-child {
  max-width: 34rem;
  margin: 0 auto;
  color: rgba(24, 78, 53, 0.68);
  font-family: "Cormorant Garamond", serif;
  font-size: 1.08rem;
  font-style: italic;
  line-height: 1.7;
}

.scene-band--green .story-intro .eyebrow {
  color: rgba(255, 250, 246, 0.56);
}

.scene-band--green .story-intro h2 {
  color: #fffaf6;
}

.scene-band--green .story-intro p:last-child {
  color: rgba(255, 250, 246, 0.76);
}

.passion-card {
  grid-template-columns: 108px 1fr;
  align-items: center;
  gap: 18px;
  padding: 0;
  transform: none;
  background: transparent;
}

.passion-card::before {
  display: none;
}

.passion-card img {
  width: 108px;
  aspect-ratio: 1 / 1;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.24);
}

.passion-card:nth-child(odd),
.passion-card:nth-child(even) {
  transform: none;
}

.passion-card h3 {
  font-size: 1.95rem;
  font-weight: 400;
  color: #f5f0eb;
}

.passion-card p {
  color: rgba(245, 240, 235, 0.48);
  line-height: 1.7;
}

.passion-card--spotify {
  grid-column: 1 / -1;
  grid-template-columns: 1fr;
  align-items: start;
  gap: 18px;
}

.passion-card--song-request {
  grid-template-columns: 1fr;
  align-items: start;
  gap: 18px;
}

.spotify-copy {
  max-width: 28rem;
}

.spotify-shell {
  width: 100%;
  padding: 10px;
  border-radius: 28px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.62), rgba(255, 255, 255, 0.18)),
    linear-gradient(180deg, rgba(46, 204, 113, 0.1), rgba(255, 255, 255, 0.04));
  box-shadow: 0 18px 42px rgba(17, 72, 45, 0.12);
}

.spotify-shell iframe {
  display: block;
  width: 100%;
  border: 0;
  border-radius: 20px;
  background: #111;
}

.spotify-link {
  justify-self: start;
}

.song-request__copy {
  max-width: 28rem;
}

.song-request__fields {
  display: grid;
  gap: 12px;
}

.song-request__fields label {
  display: grid;
  gap: 8px;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(24, 78, 53, 0.42);
}

.song-request__fields input {
  width: 100%;
  padding: 14px 0;
  border: 0;
  border-bottom: 1px solid rgba(24, 78, 53, 0.16);
  background: transparent;
  color: var(--text-deep);
  font-family: "Montserrat", sans-serif;
  font-size: 0.95rem;
}

.song-request__fields input::placeholder {
  color: rgba(24, 78, 53, 0.26);
}

.song-request__button {
  justify-self: start;
}

.song-request__feedback {
  margin: 0;
  min-height: 1.3em;
  font-size: 0.8rem;
  line-height: 1.55;
  color: rgba(24, 78, 53, 0.5);
}

.song-request__feedback.is-saved {
  color: #176741;
}

.passion-card--text {
  grid-template-columns: 1fr;
  padding-top: 24px;
  border-top: 1px solid rgba(46, 204, 113, 0.14);
}

.passion-card--text > div {
  position: relative;
  padding-left: 28px;
}

.passion-card--text > div::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: radial-gradient(circle at 35% 35%, #2ecc71, #1a8a4a);
  box-shadow: 0 0 12px rgba(46, 204, 113, 0.34);
}

.itinerary-panel {
  background: transparent;
}

.itinerary-panel h2 {
  color: #f5f0eb;
  text-align: center;
  font-size: clamp(2rem, 8vw, 3rem);
}

.itinerary-line {
  position: relative;
  max-width: 280px;
  margin: 40px auto 0;
  gap: 32px;
}

.itinerary-line::before {
  content: "";
  position: absolute;
  left: 21px;
  top: 0;
  bottom: 0;
  width: 1px;
  background: linear-gradient(to bottom, transparent, rgba(46, 204, 113, 0.3), transparent);
}

.itinerary-line article {
  position: relative;
  padding: 0 0 0 34px;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  grid-template-columns: 1fr;
  grid-template-areas:
    "time"
    "label";
  row-gap: 3px;
}

.itinerary-line__icon {
  position: absolute;
  left: 16px;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #1a5c3a;
  border: 1px solid #2ecc71;
  box-shadow: 0 0 8px rgba(46, 204, 113, 0.3);
  color: transparent;
  font-size: 0;
}

.itinerary-line strong {
  font-family: "Montserrat", sans-serif;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(46, 204, 113, 0.78);
}

.itinerary-line small {
  color: rgba(245, 240, 235, 0.34);
}

.details-grid {
  gap: 32px;
  background: transparent;
}

.detail-card {
  padding: 0;
  background: transparent;
  border: 0;
  backdrop-filter: none;
  text-align: center;
}

.detail-card::before {
  display: none;
}

.detail-card h2 {
  font-size: 1.95rem;
  color: #f5f0eb;
}

.detail-card p {
  color: rgba(245, 240, 235, 0.46);
}

.palette-dots {
  justify-content: center;
}

.dot {
  width: 32px;
  height: 32px;
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.24);
}

.invitee-band {
  min-height: auto;
  padding: 84px 0;
  background: transparent;
  text-align: center;
}

.invitee-band h2 {
  font-size: clamp(2rem, 8vw, 3rem);
  color: #f5f0eb;
}

.invitee-band__quota {
  max-width: none;
  margin: 0 auto;
  border-radius: 0;
  clip-path: none;
  padding: 0;
  background: transparent;
  border: 0;
}

.gallery-panel {
  background: transparent;
  text-align: center;
}

.gallery-panel h2 {
  color: #f5f0eb;
  font-size: clamp(2rem, 8vw, 3rem);
}

.gallery-grid {
  max-width: 340px;
  margin: 24px auto 0;
  gap: 12px;
}

.gallery-grid img {
  border-radius: 4px;
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.24);
}

.gallery-grid img:nth-child(1),
.gallery-grid img:nth-child(2),
.gallery-grid img:nth-child(3),
.gallery-grid img:nth-child(4) {
  transform: none;
}

.rsvp-panel {
  background: transparent;
}

.panel__heading {
  max-width: 320px;
  margin: 0 auto 26px;
  text-align: center;
}

.panel__heading h2 {
  font-size: clamp(2rem, 8vw, 3rem);
  color: #f5f0eb;
}

.panel__heading p {
  color: rgba(245, 240, 235, 0.46);
}

.invite-summary {
  max-width: 300px;
  margin: 0 auto 24px;
  padding: 0;
  background: transparent;
  border: 0;
  backdrop-filter: none;
}

.invite-summary p {
  color: rgba(245, 240, 235, 0.58);
}

.rsvp-form {
  max-width: 300px;
  margin: 0 auto;
  gap: 18px;
}

.rsvp-form label {
  font-size: 0.68rem;
  font-weight: 400;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(245, 240, 235, 0.4);
}

.rsvp-form input,
.rsvp-form select,
.rsvp-form textarea {
  padding: 14px 0;
  border: 0;
  border-bottom: 1px solid rgba(46, 204, 113, 0.18);
  border-radius: 0;
  background: transparent;
  color: #f5f0eb;
}

.rsvp-form input::placeholder,
.rsvp-form textarea::placeholder {
  color: rgba(245, 240, 235, 0.2);
}

.rsvp-form select option {
  background: #0a2e1a;
  color: #f5f0eb;
}

.primary-button--full {
  margin-top: 10px;
}

.form-feedback {
  color: rgba(126, 215, 172, 0.86);
}

@media (min-width: 640px) {
  .hero-poster__photo--dog,
  .hero-poster__photo--team {
    width: 26%;
  }

  .song-request__fields {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 430px) {
  .invitation {
    padding-inline: 16px;
  }

  .countdown__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .countdown__card + .countdown__card::before {
    left: -6px;
  }

  .passion-card {
    grid-template-columns: 96px 1fr;
  }

  .passion-card img {
    width: 96px;
  }

  .hero-poster__photo--main {
    left: 12%;
    width: 76%;
  }

  .hero-poster__photo--dog,
  .hero-poster__photo--team {
    width: 30%;
  }
}

/* ===== Premium Scene Pass ===== */

:root {
  --scene-inline: max(18px, calc((100vw - 390px) / 2));
  --light-surface: #faf6f0;
  --light-surface-soft: #eef6ef;
  --text-deep: #184e35;
  --text-muted: rgba(24, 78, 53, 0.68);
  --scene-green:
    radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.12), transparent 18%),
    linear-gradient(180deg, #166640 0%, #105936 100%);
  --scene-light:
    radial-gradient(circle at 50% 0%, rgba(46, 204, 113, 0.06), transparent 22%),
    linear-gradient(180deg, rgba(250, 246, 240, 0.98), rgba(243, 238, 230, 0.98));
}

body {
  background:
    radial-gradient(circle at 50% 0%, rgba(46, 204, 113, 0.08), transparent 18%),
    linear-gradient(180deg, #f8f4ee 0%, #f3efe8 100%);
  color: var(--text-deep);
}

.page-glow {
  background:
    radial-gradient(circle at 50% 10%, rgba(46, 204, 113, 0.08), transparent 22%),
    radial-gradient(circle at 24% 58%, rgba(244, 212, 212, 0.04), transparent 20%);
}

.sparkles {
  opacity: 0.18;
}

.intro-envelope,
.invitation {
  width: 100%;
  max-width: none;
}

.invitation {
  padding: 0 0 120px;
  gap: 0;
}

.intro-envelope,
.hero-poster,
.countdown-panel,
.story-panel,
.story-band,
.passions-grid,
.itinerary-panel,
.details-grid,
.invitee-band,
.gallery-panel,
.rsvp-panel {
  padding-inline: var(--scene-inline);
}

.scene-band {
  position: relative;
  isolation: isolate;
  border-radius: 0;
}

.scene-band + .scene-band {
  margin-top: 0;
}

.scene-band::before {
  display: none;
}

.scene-band--hero::before {
  display: none;
}

.scene-band--hero {
  border-radius: 0;
}

.scene-band--green {
  --band-bg: var(--scene-green);
  --band-edge: rgba(255, 250, 246, 0.08);
  background: var(--scene-green);
  box-shadow: inset 0 1px 0 rgba(255, 250, 246, 0.08);
}

.scene-band--light {
  --band-bg: var(--scene-light);
  --band-edge: rgba(24, 78, 53, 0.05);
  background: var(--scene-light);
  box-shadow: inset 0 1px 0 rgba(24, 78, 53, 0.05);
}

.intro-envelope {
  padding-top: 42px;
  padding-bottom: 74px;
  gap: 34px;
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.14), transparent 16%),
    radial-gradient(circle at 18% 26%, rgba(126, 215, 172, 0.14), transparent 22%),
    linear-gradient(180deg, #156740 0%, #105936 42%, #0d472b 100%);
}

.intro-envelope__top-copy,
.intro-envelope__media,
.video-card--intro,
.hero-poster__content,
.countdown-panel > .eyebrow,
.countdown-panel > h2,
.countdown__grid,
.itinerary-panel > .eyebrow,
.itinerary-panel > h2,
.itinerary-line,
.panel__heading,
.invite-summary,
.rsvp-form {
  width: min(100%, 390px);
  margin-inline: auto;
}

.intro-envelope__top-copy {
  transition: opacity 520ms ease, transform 720ms ease;
}

.intro-envelope__top-copy h1 {
  color: #fffaf6;
}

.intro-envelope__guest {
  color: rgba(255, 250, 246, 0.78);
}

.envelope {
  max-width: 330px;
  overflow: visible;
  perspective: 1400px;
}

.envelope__shadow {
  background: rgba(10, 31, 20, 0.2);
  filter: blur(22px);
}

.envelope__back {
  box-shadow:
    0 22px 54px rgba(17, 72, 45, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.envelope__back::before,
.envelope__back::after,
.envelope__liner {
  display: none;
}

.envelope__letter-clip {
  inset: 14% 11% 10%;
  z-index: 3;
  clip-path: inset(0 0 72% 0 round 18px);
  transition: clip-path 1s cubic-bezier(0.22, 1, 0.36, 1) 160ms;
}

.envelope__letter {
  inset: 0;
  z-index: 3;
  gap: 6px;
  text-align: center;
  box-shadow: 0 26px 58px rgba(17, 72, 45, 0.22);
  transform: translateY(46%);
  transition:
    transform 1s cubic-bezier(0.22, 1, 0.36, 1) 160ms,
    opacity 180ms linear 160ms;
}

.envelope__letter strong {
  max-width: 6.7ch;
  font-size: clamp(2.1rem, 10vw, 3.2rem);
  line-height: 0.9;
  text-wrap: balance;
}

.envelope__letter .envelope__name {
  font-family: "Cormorant Garamond", serif;
  font-size: 1rem;
  color: rgba(26, 92, 58, 0.72);
  letter-spacing: 0.02em;
}

.envelope__letter .envelope__date {
  font-size: 0.66rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(26, 92, 58, 0.48);
}

.envelope__front {
  inset: 46% 0 0;
  z-index: 2;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.52),
    0 -3px 14px rgba(0, 0, 0, 0.05);
}

.envelope__front::before {
  clip-path: polygon(0 0, 50% 22%, 100% 0, 100% 100%, 0 100%);
}

.envelope__front::after {
  clip-path: polygon(0 0, 50% 22%, 100% 0, 100% 100%, 0 100%);
}

.envelope__flap {
  clip-path: polygon(0 0, 50% 90%, 100% 0);
  z-index: 4;
  backface-visibility: hidden;
}

.intro-envelope.is-letter-revealed .envelope__letter-clip,
.intro-envelope.is-open .envelope__letter-clip {
  clip-path: inset(-4% 0 -42% 0 round 18px);
}

.intro-envelope.is-letter-revealed .envelope__letter,
.intro-envelope.is-open .envelope__letter {
  transform: translateY(-10%);
}

.intro-envelope.is-letter-revealed .intro-envelope__top-copy,
.intro-envelope.is-open .intro-envelope__top-copy {
  opacity: 0.24;
  transform: translateY(-18px);
}

.video-frame--ornate,
.video-frame--hero {
  box-shadow:
    0 24px 52px rgba(17, 72, 45, 0.18),
    0 0 34px rgba(46, 204, 113, 0.08);
}

.hero-poster {
  min-height: 100svh;
  background:
    radial-gradient(ellipse at 50% 12%, rgba(255, 255, 255, 0.14), transparent 24%),
    radial-gradient(ellipse at 50% 44%, rgba(126, 215, 172, 0.18), transparent 42%),
    linear-gradient(180deg, #176741 0%, #105f39 46%, #0f5432 100%);
}

.hero-poster::after {
  opacity: 0.08;
}

.hero-poster__stadium {
  opacity: 0.18;
}

.hero-poster__lights {
  opacity: 0.38;
}

.hero-poster__tagline {
  color: rgba(255, 250, 246, 0.58);
}

.story-panel {
  overflow: visible;
}

.scene-band--light h2,
.scene-band--light h3,
.scene-band--light .panel__heading h2,
.scene-band--light .detail-card h2 {
  color: var(--text-deep);
}

.scene-band--green h2,
.scene-band--green h3,
.scene-band--green .panel__heading h2,
.scene-band--green .detail-card h2,
.scene-band--green .story-panel__copy h2 {
  color: #fffaf6;
}

.scene-band--light p,
.scene-band--light small,
.scene-band--light .panel__heading p,
.scene-band--light .invite-summary p {
  color: var(--text-muted);
}

.scene-band--green p,
.scene-band--green small,
.scene-band--green .panel__heading p,
.scene-band--green .invite-summary p,
.scene-band--green .invitee-band__quota span,
.scene-band--green .invitee-band__quota strong {
  color: rgba(255, 250, 246, 0.76);
}

.scene-band--light .eyebrow {
  color: rgba(24, 78, 53, 0.5);
}

.scene-band--green .eyebrow {
  color: rgba(255, 250, 246, 0.48);
}

.countdown-panel h2,
.story-panel__copy h2,
.itinerary-panel h2,
.gallery-panel h2,
.panel__heading h2,
.invitee-band h2 {
  font-size: clamp(2.2rem, 8.8vw, 3.25rem);
}

.countdown__card span {
  color: var(--text-deep);
}

.scene-band--green .countdown__card span {
  color: #fffaf6;
}

.countdown__card small {
  color: rgba(24, 78, 53, 0.48);
}

.scene-band--green .countdown__card small {
  color: rgba(255, 250, 246, 0.56);
}

.countdown__card + .countdown__card::before {
  color: rgba(24, 78, 53, 0.16);
}

.scene-band--green .countdown__card + .countdown__card::before {
  color: rgba(255, 250, 246, 0.18);
}

.story-panel__copy p {
  font-size: 1.12rem;
}

.scene-band--green .story-panel__copy p {
  color: rgba(255, 250, 246, 0.72);
}

.polaroid {
  box-shadow: 0 18px 42px rgba(17, 72, 45, 0.16);
}

.passions-grid,
.details-grid {
  gap: 42px;
}

.passion-card h3,
.detail-card h2 {
  letter-spacing: 0.01em;
}

.itinerary-line {
  max-width: 360px;
  margin-top: 56px;
  padding: 8px 0 6px;
  gap: 18px;
}

.itinerary-line article {
  width: calc(50% - 20px);
  min-height: 92px;
  padding-block: 14px;
  align-content: center;
  row-gap: 4px;
}

.itinerary-line__axis {
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 1px;
  transform: translateX(-50%);
  background: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(255, 250, 246, 0.24) 10%,
    rgba(255, 250, 246, 0.68) 50%,
    transparent 100%
  );
  box-shadow: 0 0 18px rgba(255, 255, 255, 0.08);
  transform-origin: 50% 0%;
}

.itinerary-line article:nth-of-type(odd) {
  margin-right: auto;
  padding-right: 34px;
  text-align: right;
  justify-items: end;
}

.itinerary-line article:nth-of-type(even) {
  margin-left: auto;
  padding-left: 34px;
  text-align: left;
  justify-items: start;
}

.itinerary-line article::after {
  content: "";
  position: absolute;
  top: 10px;
  bottom: 10px;
  width: 24px;
  opacity: 0.72;
}

.itinerary-line article:nth-of-type(odd)::after {
  right: 6px;
  border-top: 1px solid rgba(255, 250, 246, 0.42);
  border-right: 1px solid rgba(255, 250, 246, 0.42);
  border-bottom: 1px solid rgba(255, 250, 246, 0.42);
  border-radius: 0 22px 22px 0;
}

.itinerary-line article:nth-of-type(even)::after {
  left: 6px;
  border-top: 1px solid rgba(255, 250, 246, 0.42);
  border-left: 1px solid rgba(255, 250, 246, 0.42);
  border-bottom: 1px solid rgba(255, 250, 246, 0.42);
  border-radius: 22px 0 0 22px;
}

.itinerary-line__icon {
  top: 50%;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(209, 255, 230, 0.78);
  color: #e8fff1;
  font-size: 1.08rem;
  box-shadow:
    0 12px 24px rgba(8, 36, 22, 0.18),
    0 0 14px rgba(46, 204, 113, 0.18);
  backdrop-filter: blur(8px);
  transform: translateY(-50%);
}

.itinerary-line article:nth-of-type(odd) .itinerary-line__icon {
  right: -40px;
}

.itinerary-line article:nth-of-type(even) .itinerary-line__icon {
  left: -40px;
}

.itinerary-line strong {
  font-family: "Cormorant Garamond", serif;
  display: block;
  font-size: clamp(1.75rem, 7vw, 2.25rem);
  font-weight: 400;
  letter-spacing: 0.02em;
  text-transform: none;
  color: #fffaf6;
  line-height: 0.96;
}

.itinerary-line small {
  display: block;
  font-family: "Cormorant Garamond", serif;
  font-size: 1rem;
  letter-spacing: 0.02em;
  text-transform: none;
  color: rgba(255, 250, 246, 0.74);
  line-height: 1.18;
}

.detail-card p {
  color: rgba(24, 78, 53, 0.62);
}

.scene-band--green .detail-card p,
.scene-band--green .passion-card p {
  color: rgba(255, 250, 246, 0.7);
}

.gallery-grid img {
  box-shadow: 0 18px 38px rgba(17, 72, 45, 0.14);
}

.rsvp-form label {
  color: rgba(24, 78, 53, 0.56);
}

.scene-band--green .rsvp-form label {
  color: rgba(255, 250, 246, 0.58);
}

.rsvp-form input,
.rsvp-form select,
.rsvp-form textarea {
  border-bottom-color: rgba(24, 78, 53, 0.22);
  color: var(--text-deep);
}

.scene-band--green .rsvp-form input,
.scene-band--green .rsvp-form select,
.scene-band--green .rsvp-form textarea {
  border-bottom-color: rgba(255, 250, 246, 0.18);
  color: #fffaf6;
}

.rsvp-form input::placeholder,
.rsvp-form textarea::placeholder {
  color: rgba(24, 78, 53, 0.28);
}

.scene-band--green .rsvp-form input::placeholder,
.scene-band--green .rsvp-form textarea::placeholder {
  color: rgba(255, 250, 246, 0.28);
}

.rsvp-form select option {
  background: #fefcf9;
  color: var(--text-deep);
}

.scene-band--green .rsvp-form select option {
  background: #105936;
  color: #fffaf6;
}

.scene-band--light .pill-button {
  color: var(--text-deep);
  border-color: rgba(24, 78, 53, 0.18);
}

.scene-band--green .pill-button {
  color: #fffaf6;
  border-color: rgba(255, 250, 246, 0.2);
}

.primary-button {
  box-shadow: 0 14px 28px rgba(17, 72, 45, 0.16);
}

.hero-poster__photo,
.passion-card {
  perspective: 1000px;
}

.hero-poster__photo img,
.passion-card img,
.gallery-grid img {
  transform:
    perspective(1000px)
    translate3d(var(--pointer-x, 0), var(--pointer-y, 0), 0)
    rotateX(var(--pointer-rotate-x, 0deg))
    rotateY(var(--pointer-rotate-y, 0deg))
    scale(var(--pointer-scale, 1));
  transform-origin: center;
  transition: transform 220ms ease, filter 220ms ease;
  will-change: transform;
}

.hero-poster__photo:hover img,
.passion-card:hover img,
.gallery-grid img:hover {
  filter: saturate(1.04) brightness(1.03);
}

.has-motion .story-intro,
.has-motion .passion-card,
.has-motion .detail-card,
.has-motion .itinerary-line article,
.has-motion .gallery-grid img {
  opacity: 0;
  transform:
    translate3d(0, 44px, 0)
    rotateX(8deg)
    scale(0.96);
  transform-origin: 50% 80%;
  will-change: transform, opacity;
}

@media (max-width: 430px) {
  :root {
    --scene-inline: 18px;
  }

  .scene-band + .scene-band {
    margin-top: 0;
  }

  .intro-envelope {
    padding-bottom: 62px;
  }

  .intro-envelope.is-open .envelope__letter {
    transform: translateY(-50%);
  }

  .itinerary-line {
    max-width: 100%;
    gap: 10px;
  }

  .itinerary-line article {
    width: calc(50% - 14px);
    min-height: 88px;
  }

  .itinerary-line article:nth-of-type(odd) {
    padding-right: 30px;
  }

  .itinerary-line article:nth-of-type(even) {
    padding-left: 30px;
  }

  .itinerary-line article::after {
    width: 20px;
  }

  .itinerary-line article:nth-of-type(odd) .itinerary-line__icon {
    right: -36px;
  }

  .itinerary-line article:nth-of-type(even) .itinerary-line__icon {
    left: -36px;
  }

  .passion-card--spotify {
    grid-template-columns: 1fr;
  }

  .song-request__fields {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-glow,
  .sparkles,
  .sparkles::before,
  .sparkles::after,
  .stage-light,
  .pearl-orbit {
    animation: none !important;
  }
}

/* ===== Intro Video Flow ===== */

.intro-envelope__media {
  position: relative;
  scroll-margin-top: 0;
}

.intro-envelope.is-open .intro-envelope__media {
  max-height: 1600px;
  padding-bottom: 30px;
}

.intro-envelope__media.is-cinematic::before {
  content: "";
  position: absolute;
  inset: 8% -7% auto;
  height: 82%;
  z-index: 0;
  background:
    radial-gradient(circle at 50% 18%, rgba(255, 255, 255, 0.16), transparent 24%),
    radial-gradient(circle at 50% 58%, rgba(46, 204, 113, 0.18), transparent 40%);
  filter: blur(18px);
  pointer-events: none;
}

.intro-envelope__media.is-cinematic .video-card--intro {
  position: relative;
  z-index: 1;
}

.video-card--intro {
  display: grid;
  align-content: center;
  gap: 18px;
  min-height: min(100svh, 920px);
}

.video-card--intro .video-card__header {
  max-width: 22rem;
  margin: 0 auto;
}

.video-card--intro .video-card__header h2 {
  text-wrap: balance;
}

.video-card--intro .video-frame {
  width: min(100%, 398px);
  margin-inline: auto;
  border-radius: 30px;
  isolation: isolate;
}

.video-card--intro .video-frame video {
  display: block;
  min-height: min(76svh, 720px);
  background:
    radial-gradient(circle at 50% 20%, rgba(255, 255, 255, 0.08), transparent 22%),
    #08281d;
}

.video-frame.is-loading::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 66px;
  width: 26px;
  height: 26px;
  border-radius: 999px;
  border: 2px solid rgba(255, 255, 255, 0.18);
  border-top-color: rgba(255, 255, 255, 0.88);
  transform: translateX(-50%);
  animation: introVideoSpin 0.9s linear infinite;
}

.video-frame__status {
  position: absolute;
  left: 50%;
  bottom: 18px;
  z-index: 2;
  width: min(84%, 280px);
  margin: 0;
  padding: 10px 16px;
  border-radius: 999px;
  transform: translateX(-50%);
  background: rgba(7, 28, 20, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(20px);
  color: rgba(255, 250, 246, 0.94);
  font-family: "Montserrat", sans-serif;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  line-height: 1.5;
  text-transform: uppercase;
  text-align: center;
}

.video-frame__status[hidden] {
  display: none;
}

.video-frame__sound {
  position: absolute;
  left: 50%;
  bottom: 64px;
  z-index: 2;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 10px);
  transition: opacity 240ms ease, transform 240ms ease;
}

.video-frame__sound.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

.video-frame__sound.pill-button {
  background: rgba(255, 250, 246, 0.96);
  color: #145736;
  border: 0;
  box-shadow: 0 14px 28px rgba(9, 28, 20, 0.2);
}

.scroll-hint--video {
  margin-top: 12px;
}

@keyframes introVideoSpin {
  to {
    transform: translateX(-50%) rotate(360deg);
  }
}
