/* ============================================================
   DESIGN TOKENS — LUXURY ROYAL NAVY & WARM CHAMPAGNE GOLD THEME
============================================================ */
:root {
  --white: #ffffff;
  --bg-base: #faf8f3;

  /* Deep Royal Navy palette */
  --navy-900: #0a1626;
  --navy-800: #0f2038;
  --navy-700: #172c49;
  --navy-600: #1e3a5f;
  --navy-500: #294b75;
  --navy-400: #3f6696;
  --navy-100: #e8eef5;

  /* Luxury Warm Metallic Gold & Champagne palette */
  --gold-500: #c59b27;
  --gold-600: #b58d3d;
  --gold-700: #9e792e;
  --gold-400: #d4af37;
  --gold-300: #e3cc88;
  --gold-200: #f2e6bd;
  --gold-100: #fbf5e4;

  /* Ink / Text contrast */
  --ink: #0a1626;
  --ink-soft: #23374e;
  --ink-muted: #4d5e73;

  /* Lines & Borders */
  --line-gold: rgba(197, 155, 39, 0.35);
  --line-navy: rgba(23, 44, 73, 0.15);

  /* Legacy aliases for backward compat */
  --blue-100: var(--navy-100);
  --blue-200: #d5e0ee;
  --blue-300: var(--gold-300);
  --blue-400: var(--gold-500);
  --blue-500: var(--navy-600);
  --blue-600: var(--navy-800);
  --blue-700: var(--navy-900);
  --blue-deep: var(--navy-900);

  --red: var(--navy-800);
  --red-deep: var(--navy-900);
  --red-soft: var(--navy-600);
  --gold: var(--gold-500);
  --gold-light: var(--gold-200);
  --gold-pale: var(--gold-100);
  --cream: var(--bg-base);
  --line: var(--line-gold);

  --font-serif: 'Cormorant Garamond', serif;
  --font-script: 'Alex Brush', cursive;
  --font-sans: 'Be Vietnam Pro', sans-serif;

  --ease: cubic-bezier(.22, .61, .36, 1);
  --reveal-dur: 1.1s;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  min-height: 100%;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--ink);
  background: linear-gradient(180deg,
    #f7f4ed 0%,
    #faf8f3 8%,
    #f5f1e8 18%,
    #fcfbfa 28%,
    #ffffff 40%,
    #fcfbfa 52%,
    #f5f1e8 64%,
    #faf8f3 76%,
    #f7f4ed 88%,
    #f2ecdc 100%);
  min-height: 100vh;
  overflow-x: hidden;
}

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

.script {
  font-family: var(--font-script);
  font-weight: 400;
}

/* ============================================================
   REVEAL ON SCROLL
============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity var(--reveal-dur) var(--ease), transform var(--reveal-dur) var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   AMBIENT PARTICLES
============================================================ */
.ambient-layer {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 5;
  overflow: hidden;
}

.ambient-particle {
  position: absolute;
  top: -5%;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.7) 0%, transparent 70%);
  opacity: .6;
  animation: fall linear infinite;
}

.ambient-particle.spark {
  width: 4px;
  height: 4px;
  background: #d4af37;
  box-shadow: 0 0 10px rgba(212, 175, 55, 0.85);
}

.ambient-particle.petal {
  width: 13px;
  height: 10px;
  background: radial-gradient(circle, #f2e6bd 0%, #c59b27 100%);
  box-shadow: 0 0 10px rgba(197, 155, 39, 0.4);
  border-radius: 50% 0 50% 50%;
  opacity: .6;
}

@keyframes fall {
  0% {
    transform: translateY(-10vh) translateX(0) rotate(0deg);
    opacity: 0;
  }

  10% {
    opacity: .8;
  }

  90% {
    opacity: .6;
  }

  100% {
    transform: translateY(110vh) translateX(30px) rotate(220deg);
    opacity: 0;
  }
}

/* ============================================================
   INTRO — ENVELOPE
============================================================ */
.intro {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at 50% 30%, #ffffff 0%, #f7f3ea 55%, #e9e2d0 120%);
  transition: opacity 1s var(--ease), visibility 1s var(--ease);
}

.intro.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.intro__decor {
  position: absolute;
  inset: 0;
  pointer-events: none;
  color: var(--gold-500);
}

.intro__cap {
  position: absolute;
  opacity: .35;
}

.intro__cap--1 {
  top: 12%;
  left: 10%;
  transform: rotate(-12deg);
}

.intro__cap--2 {
  bottom: 14%;
  right: 12%;
  transform: rotate(16deg);
}

.intro__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  z-index: 10;
  width: 100%;
  max-width: 440px;
  padding: 0 16px;
  text-align: center;
}

.intro__header {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 6px;
}

.intro__header-sub {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 11px;
  letter-spacing: 0.28em;
  color: var(--navy-800);
  text-transform: uppercase;
  font-weight: 600;
}

.intro__header-title {
  margin: 2px 0;
  font-family: 'Great Vibes', 'Alex Brush', cursive;
  font-size: 54px;
  color: var(--navy-900);
  font-weight: 400;
  line-height: 1.1;
  text-shadow: 0 2px 12px rgba(197, 155, 39, 0.22);
}

.intro__header-tag {
  margin: 0;
  font-family: 'Cinzel', var(--font-serif), serif;
  font-size: 11.5px;
  letter-spacing: 0.36em;
  color: var(--gold-600);
  text-transform: uppercase;
  font-weight: 600;
}

/* Envelope Container */
.envelope {
  position: relative;
  cursor: pointer;
  user-select: none;
  width: min(88vw, 340px);
  aspect-ratio: 3/2;
  perspective: 1000px;
}

.envelope__back {
  position: absolute;
  inset: 0;
  background: #142a4a;
  border-radius: 6px;
  box-shadow: inset 0 0 25px rgba(0, 0, 0, 0.35);
  z-index: 1;
}

.envelope__pocket {
  position: absolute;
  inset: 0;
  background: linear-gradient(150deg, #24467d 0%, #172d52 100%);
  border: 1.5px solid rgba(212, 175, 55, 0.65);
  border-radius: 6px;
  box-shadow: 0 18px 40px -10px rgba(23, 44, 77, 0.55);
  z-index: 4;
  overflow: hidden;
}

.envelope__pocket::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 28%, rgba(212, 175, 55, 0.2) 0%, transparent 65%);
  pointer-events: none;
}

.envelope__guest {
  position: absolute;
  bottom: 12px;
  right: 16px;
  margin: 0;
  font-family: var(--font-serif);
  font-style: italic;
  color: #f2e6bd;
  font-size: 14px;
  letter-spacing: 0.04em;
  z-index: 5;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
}

.envelope__guest span {
  font-weight: 500;
  font-style: normal;
  font-family: 'Alex Brush', 'Great Vibes', var(--font-script);
  color: #ffffff;
  font-size: 24px;
  line-height: 1;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.6);
  letter-spacing: 0.02em;
}

.envelope__flap {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 60%;
  background: linear-gradient(180deg, #2c528c 0%, #1a335c 100%);
  border-bottom: 1.5px solid rgba(212, 175, 55, 0.6);
  clip-path: polygon(0 0, 100% 0, 50% 100%);
  transform-origin: top center;
  transition: transform 0.7s var(--ease), z-index 0.7s var(--ease);
  z-index: 5;
  border-radius: 6px 6px 0 0;
  filter: drop-shadow(0 6px 8px rgba(0, 0, 0, 0.3));
}

.envelope.is-open .envelope__flap {
  transform: rotateX(180deg);
  z-index: 1;
}

.envelope__wax-seal {
  position: absolute;
  bottom: 4px;
  left: 50%;
  transform: translateX(-50%);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 6;
  transition: opacity 0.4s var(--ease);
  overflow: hidden;
  padding: 0;
}

.envelope__wax-logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 50%;
  display: block;
}

.envelope.is-open .envelope__wax-seal {
  opacity: 0;
  pointer-events: none;
}

.envelope__letter {
  position: absolute;
  left: 5%;
  right: 5%;
  top: 8%;
  bottom: 8%;
  background: linear-gradient(135deg, #ffffff 0%, #faf7f0 100%);
  border: 1.5px solid rgba(197, 155, 39, 0.45);
  border-radius: 4px;
  padding: 14px 12px;
  text-align: center;
  z-index: 2;
  opacity: 0;
  transform: translateY(12px) scale(0.92);
  box-shadow: 0 10px 30px rgba(10, 22, 38, 0.2);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.envelope.is-open .envelope__letter {
  animation: letterBounceDrop 1.35s cubic-bezier(0.22, 1, 0.36, 1) 0.35s forwards;
}

@keyframes letterBounceDrop {
  0% {
    opacity: 0;
    transform: translateY(12px) scale(0.92);
    z-index: 2;
  }
  25% {
    opacity: 1;
    z-index: 10;
  }
  58% {
    transform: translateY(-112%) scale(1.04);
    z-index: 10;
    box-shadow: 0 25px 45px -10px rgba(0, 0, 0, 0.35);
  }
  82% {
    transform: translateY(-36%) scale(0.99);
    z-index: 10;
  }
  100% {
    transform: translateY(-42%) scale(1);
    z-index: 10;
    opacity: 1;
    box-shadow: 0 18px 36px -8px rgba(10, 22, 38, 0.25);
  }
}

.envelope__letter-inner {
  width: 100%;
  height: 100%;
  border: 1px solid rgba(197, 155, 39, 0.35);
  padding: 14px 10px;
  border-radius: 3px;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: inset 0 0 15px rgba(197, 155, 39, 0.06);
}

.envelope__letter-cap {
  color: var(--gold-500);
  margin-bottom: 2px;
}

.envelope__letter-prefix {
  margin: 4px 0 2px;
  font-family: 'Cinzel', var(--font-serif), serif;
  font-size: 11px;
  letter-spacing: 0.24em;
  color: var(--navy-800);
  font-weight: 700;
  text-transform: uppercase;
}

.envelope__letter-name {
  margin: 2px 0 4px;
  font-family: 'Great Vibes', var(--font-script);
  font-size: 34px;
  color: var(--navy-900);
  line-height: 1.15;
  font-weight: 400;
  text-shadow: 0 2px 10px rgba(197, 155, 39, 0.18);
}

.envelope__letter-line {
  width: 50px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-500), transparent);
  margin: 6px 0;
}

.envelope__letter-sub {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--ink-soft);
}

.intro__hint {
  margin-top: 14px;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 13px;
  letter-spacing: 0.08em;
  color: var(--navy-800);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: .5; }
  50% { opacity: 1; }
}

.burst-particle {
  position: fixed;
  z-index: 150;
  border-radius: 50%;
  pointer-events: none;
}

/* ============================================================
   MUSIC TOGGLE
============================================================ */
.music-toggle {
  position: fixed;
  bottom: 24px;
  right: 20px;
  z-index: 90;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  border: 1.5px solid var(--gold-500);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--navy-800);
  box-shadow: 0 6px 20px -4px rgba(197, 155, 39, 0.35);
  transition: transform 0.3s var(--ease), background-color 0.3s var(--ease), border-color 0.3s var(--ease), color 0.3s var(--ease);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 0;
  outline: none;
}

.music-toggle:hover {
  transform: scale(1.08);
  border-color: var(--gold-600);
  background: var(--gold-500);
  color: var(--white);
  box-shadow: 0 8px 24px -4px rgba(197, 155, 39, 0.5);
}

.music-toggle__icon {
  width: 20px;
  height: 20px;
  transition: transform 0.3s var(--ease);
}

.music-toggle.is-playing .music-toggle__icon {
  animation: spinSlow 5s linear infinite;
}

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

/* ============================================================
   SHARED
============================================================ */
.eyebrow {
  font-size: 12px;
  letter-spacing: .24em;
  color: var(--gold-600);
  font-weight: 700;
  margin: 0 0 6px;
  text-transform: uppercase;
}

.section-eyebrow {
  text-align: center;
  font-size: 12px;
  letter-spacing: .24em;
  color: var(--gold-600);
  font-weight: 700;
  text-transform: uppercase;
}

.section-title {
  text-align: center;
  font-size: 44px;
  color: var(--navy-900);
  margin: 0 0 20px;
}

.hr-line {
  width: 64px;
  height: 1.5px;
  background: linear-gradient(90deg, transparent, var(--gold-500), transparent);
  margin: 18px auto;
}

.divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--gold-500);
  margin: 14px 0;
}

.divider span {
  width: 34px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-500), transparent);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1.5px solid var(--gold-500);
  color: var(--navy-900);
  padding: 12px 26px;
  border-radius: 999px;
  font-size: 13px;
  letter-spacing: .12em;
  font-weight: 600;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.7);
  transition: all .35s var(--ease);
  cursor: pointer;
  backdrop-filter: blur(4px);
}

.btn-outline:hover {
  background: var(--gold-500);
  color: var(--white);
  border-color: var(--gold-500);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px -12px rgba(197, 155, 39, .65);
}

.btn-outline--small {
  padding: 9px 20px;
  font-size: 12px;
}

.btn-fill {
  width: 100%;
  border: none;
  border-radius: 999px;
  background: linear-gradient(135deg, #0f2038 0%, #172c49 100%);
  color: #f2e6bd;
  padding: 15px 24px;
  font-size: 14px;
  letter-spacing: .1em;
  font-weight: 600;
  cursor: pointer;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
  box-shadow: 0 10px 26px -12px rgba(10, 22, 38, .5);
  border: 1px solid rgba(212, 175, 55, 0.3);
}

.btn-fill:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 30px -12px rgba(10, 22, 38, .65);
  background: linear-gradient(135deg, #172c49 0%, #0f2038 100%);
}

.btn-fill:active {
  transform: translateY(0);
}

/* ============================================================
   HERO
============================================================ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: hidden;
}

.hero__img-wrap {
  position: absolute;
  inset: 0;
}

.hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
}

.hero__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
      rgba(10, 22, 38, 0.55) 0%,
      rgba(10, 22, 38, 0.08) 25%,
      rgba(10, 22, 38, 0.08) 68%,
      rgba(10, 22, 38, 0.82) 100%);
}

.hero__sparks {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 2;
}

.hero__top-left {
  position: absolute;
  top: max(24px, 4.5vh);
  left: max(18px, 4.5vw);
  z-index: 3;
  pointer-events: none;
  max-width: 88vw;
}

.hero__name-art {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hero__name-sub {
  font-family: 'Be Vietnam Pro', var(--font-sans);
  font-size: clamp(8.5px, 2.1vw, 11.5px);
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #f2e6bd;
  margin-bottom: 4px;
  margin-top: 0;
  text-shadow: 0 2px 8px rgba(0, 0, 0, .9);
  opacity: 0.92;
  line-height: 1.3;
  white-space: nowrap;
  display: inline-block;
}

.hero__name-first {
  font-family: 'Cormorant Garamond', 'Playfair Display', serif;
  font-style: italic;
  font-size: clamp(24px, 5.5vw, 44px);
  line-height: 1.05;
  color: #fbf5e4;
  font-weight: 500;
  letter-spacing: .06em;
  text-shadow: 0 2px 10px rgba(0, 0, 0, .85);
  display: inline-block;
}

.hero__name-last {
  font-family: 'Great Vibes', 'Parisienne', 'Alex Brush', cursive;
  font-size: clamp(52px, 12vw, 86px);
  line-height: 1.02;
  color: #e8d8ae;
  font-weight: 400;
  letter-spacing: .02em;
  margin-top: -2px;
  text-shadow: 0 3px 18px rgba(0, 0, 0, .92), 0 0 25px rgba(201, 162, 75, 0.45);
  display: inline-block;
  white-space: nowrap;
  max-width: 100%;
}

.hero__bottom {
  position: absolute;
  bottom: max(24px, 4vh);
  left: 0;
  right: 0;
  margin: 0 auto;
  z-index: 3;
  width: 96vw;
  max-width: 680px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero__ceremony-wrap {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 620px;
  margin-bottom: 8px;
}

.hero__ceremony-line1 {
  font-family: 'Monsieur La Doulaise', 'Herr Von Muellerhoff', 'Pinyon Script', cursive;
  font-size: clamp(74px, 20vw, 132px);
  font-weight: 400;
  color: #e8d8ae;
  line-height: 0.85;
  letter-spacing: 0.06em;
  text-shadow: 0 4px 22px rgba(0, 0, 0, .92), 0 0 30px rgba(201, 162, 75, .45);
  align-self: flex-start;
  padding-left: clamp(10px, 4vw, 40px);
}

.hero__ceremony-line2 {
  font-family: 'Monsieur La Doulaise', 'Herr Von Muellerhoff', 'Pinyon Script', cursive;
  font-size: clamp(68px, 18vw, 122px);
  font-weight: 400;
  color: #e8d8ae;
  line-height: 0.85;
  letter-spacing: 0.06em;
  text-shadow: 0 4px 22px rgba(0, 0, 0, .92), 0 0 30px rgba(201, 162, 75, .45);
  align-self: flex-end;
  padding-right: clamp(12px, 5vw, 50px);
  margin-top: -22px;
}

.hero__date {
  font-family: 'Cinzel', 'Playfair Display', 'Cormorant Garamond', serif;
  font-size: clamp(22px, 6vw, 36px);
  font-weight: 600;
  letter-spacing: 0.24em;
  color: #f6ecd2;
  margin: 8px 0 0;
  text-shadow: 0 2px 16px rgba(0, 0, 0, .95), 0 0 12px rgba(201, 162, 75, .35);
  text-align: center;
}

.scroll-cue {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}

.scroll-cue span {
  display: block;
  width: 1px;
  height: 24px;
  background: #e8d8ae;
  animation: scrollcue 1.8s ease-in-out infinite;
}

@keyframes scrollcue {
  0% {
    transform: scaleY(0);
    transform-origin: top;
  }

  50% {
    transform: scaleY(1);
    transform-origin: top;
  }

  51% {
    transform-origin: bottom;
  }

  100% {
    transform: scaleY(0);
    transform-origin: bottom;
  }
}

/* ============================================================
   3. THAN MOI
============================================================ */
.invite {
  position: relative;
  text-align: center;
  padding: 45px 20px 35px;
  max-width: 560px;
  margin: 0 auto;
}

.invite__swirl {
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--gold-500);
  opacity: .75;
}

.invite__cap {
  color: var(--navy-800);
  margin-top: 26px;
}

.invite__label {
  font-family: var(--font-serif);
  letter-spacing: .3em;
  font-size: 20px;
  color: var(--navy-900);
  margin: 18px 0 6px;
  font-weight: 600;
}

.invite__to-name {
  font-family: 'Alex Brush', cursive;
  font-size: clamp(30px, 7.5vw, 42px);
  color: var(--gold-600);
  margin: 8px 0 2px;
  line-height: 1.2;
  font-weight: 400;
}

.invite .hr-line {
  width: 140px;
  height: 1.5px;
  background: linear-gradient(90deg, transparent, var(--gold-500), transparent);
  margin: 4px auto 22px;
}

.invite__sub {
  font-size: 13px;
  letter-spacing: .16em;
  color: var(--ink-soft);
  font-weight: 600;
  margin: 0 0 6px;
}

.invite__grad-name {
  font-family: 'Great Vibes', 'Parisienne', 'Alex Brush', cursive;
  font-size: clamp(46px, 12vw, 68px);
  color: var(--navy-900);
  margin: 4px 0 22px;
  line-height: 1.1;
  font-weight: 400;
  text-shadow: 0 2px 18px rgba(10, 22, 38, 0.15);
}

.invite__sub2 {
  font-size: 13px;
  letter-spacing: .1em;
  color: var(--ink-soft);
  line-height: 1.9;
  margin: 0 0 26px;
}

.date-block {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin: 0 0 30px;
}

.date-block__side {
  font-size: 12px;
  letter-spacing: .14em;
  color: var(--ink-soft);
  font-weight: 600;
  border-top: 1.8px solid var(--line-gold);
  border-bottom: 1.8px solid var(--line-gold);
  padding: 16px 10px;
  width: min(108px, 30vw);
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.date-block__num {
  font-family: var(--font-sans);
  font-size: 48px;
  color: var(--navy-900);
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0;
}

.invite__venue-label {
  font-size: 13px;
  color: var(--ink-soft);
  margin: 0;
}

.invite__venue {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 600;
  color: var(--navy-900);
  margin: 6px 0 10px;
  line-height: 1.35;
}

.invite__address {
  font-size: 13px;
  color: var(--ink-soft);
  line-height: 1.7;
  margin: 0 0 26px;
}

/* ============================================================
   4. CROSS PHOTOS + TIMELINE
============================================================ */
.timeline-section {
  position: relative;
  padding: 38px 20px 42px;
  max-width: 640px;
  margin: 0 auto;
}

.cross-photos {
  position: relative;
  z-index: 10;
  height: 270px;
  margin: 0 auto 32px;
  max-width: 350px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cross-photos__frame {
  position: absolute;
  inset: -4px;
  pointer-events: none;
  z-index: 0;
}

.cross-photos__svg-frame {
  width: 100%;
  height: 100%;
  overflow: visible;
}

.cross-photos__line {
  stroke: var(--gold-500);
  stroke-width: 1.5;
  stroke-dasharray: 1200;
  stroke-dashoffset: 1200;
  transition: stroke-dashoffset 1.4s cubic-bezier(.22, .61, .36, 1) 0.15s;
  opacity: 0.85;
}

.cross-photos.is-visible .cross-photos__line {
  stroke-dashoffset: 0;
}

.cross-photos__frame::before,
.cross-photos__frame::after {
  content: '';
  position: absolute;
  width: 18px;
  height: 18px;
  border: 1.8px solid var(--gold-500);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.8s 0.9s var(--ease);
}

.cross-photos__frame::before {
  top: 4px;
  left: 4px;
  border-right: none;
  border-bottom: none;
}

.cross-photos__frame::after {
  bottom: 4px;
  right: 4px;
  border-left: none;
  border-top: none;
}

.cross-photos.is-visible .cross-photos__frame::before,
.cross-photos.is-visible .cross-photos__frame::after {
  opacity: 0.95;
}

.cross-photos__item {
  position: absolute;
  width: 58%;
  aspect-ratio: 3/4;
  border-radius: 8px;
  overflow: hidden;
  border: 6px solid var(--white);
  box-shadow: 0 0 0 1px rgba(197, 155, 39, 0.4), 0 20px 45px -16px rgba(10, 22, 38, .35);
  margin: 0;
  transition: transform 1s var(--ease), box-shadow 0.5s var(--ease);
  z-index: 10;
}

.cross-photos__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

.cross-photos__item:hover img {
  transform: scale(1.07);
}

.cross-photos__item--a {
  top: 4px;
  left: 2%;
  transform: rotate(-8deg);
  z-index: 11;
}

.cross-photos__item--b {
  top: 18px;
  right: 2%;
  transform: rotate(9deg);
  z-index: 10;
}

.cross-photos.is-visible .cross-photos__item--a {
  transform: rotate(-6deg) translateY(-2px);
}

.cross-photos.is-visible .cross-photos__item--b {
  transform: rotate(7deg) translateY(2px);
}

.timeline {
  list-style: none;
  margin: 0;
  padding: 0;
  position: relative;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 23px;
  top: 6px;
  bottom: 6px;
  width: 1px;
  background: linear-gradient(var(--gold-200), var(--gold-500), var(--gold-200));
}

.timeline__item {
  display: flex;
  gap: 20px;
  padding: 0 0 24px;
  position: relative;
}

.timeline__item:last-child {
  padding-bottom: 0;
}

.timeline__icon {
  flex: 0 0 auto;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  border: 1.5px solid var(--gold-500);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy-800);
  box-shadow: 0 6px 16px -8px rgba(197, 155, 39, .45);
  z-index: 1;
}

.timeline__body {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding-top: 6px;
}

.timeline__time {
  font-family: var(--font-serif);
  font-size: 24px;
  color: var(--gold-600);
  font-weight: 600;
}

.timeline__title {
  font-size: 13px;
  letter-spacing: .1em;
  font-weight: 700;
  color: var(--navy-900);
}

.timeline__desc {
  font-size: 12.5px;
  color: var(--ink-soft);
  font-style: italic;
}

/* ============================================================
   5. PARALLAX
============================================================ */
.parallax {
  position: relative;
  height: 48vh;
  min-height: 260px;
  overflow: hidden;
  clip-path: inset(0);
}

.parallax__bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-size: cover;
  background-position: center 30%;
  pointer-events: none;
  z-index: -1;
}

.parallax__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 22, 38, 0.65) 0%, rgba(23, 44, 73, 0.75) 100%);
  z-index: 1;
}

.parallax__text-wrap {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
  z-index: 2;
}

.parallax__text {
  text-align: center;
  color: var(--white);
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
  max-width: 640px;
}

.parallax__line1 {
  font-family: var(--font-serif);
  font-size: clamp(22px, 5.2vw, 38px);
  font-weight: 500;
  letter-spacing: 0.04em;
  color: #fbf5e4;
  text-shadow: 0 3px 16px rgba(0, 0, 0, 0.75);
  line-height: 1.3;
}

.parallax__line2 {
  font-family: 'Great Vibes', 'Alex Brush', cursive;
  font-size: clamp(34px, 8.5vw, 58px);
  font-weight: 400;
  color: #f2e6bd;
  text-shadow: 0 3px 18px rgba(0, 0, 0, 0.8), 0 0 20px rgba(212, 175, 55, 0.4);
  line-height: 1.2;
}

/* ============================================================
   6. COUNTDOWN + CALENDAR
============================================================ */
.countdown-section {
  padding: 36px 20px 36px;
  max-width: 520px;
  margin: 0 auto;
  text-align: center;
}

.section-eyebrow {
  font-size: 14px;
  letter-spacing: .26em;
  color: var(--gold-600);
  font-weight: 600;
  margin-bottom: 12px;
  text-transform: uppercase;
}

.countdown {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 12px 0 22px;
}

.countdown__unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 4px 6px;
  min-width: 54px;
  box-shadow: none;
}

.countdown__num {
  font-family: 'Cinzel', 'Playfair Display', 'Cormorant Garamond', serif;
  font-size: clamp(32px, 8vw, 42px);
  color: var(--navy-900);
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.02em;
}

.countdown__label {
  font-size: 11px;
  letter-spacing: .14em;
  color: var(--ink-soft);
  text-transform: uppercase;
}

.countdown__sep {
  font-size: 26px;
  color: var(--gold-500);
  font-weight: 300;
  margin-top: -14px;
}

.calendar-wrap {
  max-width: 390px;
  margin: 0 auto;
  text-align: center;
}

.calendar__title {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 12px;
  color: var(--navy-900);
  padding: 0 4px;
}

.calendar__month {
  font-family: var(--font-sans);
  font-size: clamp(20px, 5.2vw, 24px);
  font-weight: 600;
  letter-spacing: 0.12em;
}

.calendar__year {
  font-family: var(--font-serif);
  font-size: clamp(48px, 12vw, 62px);
  font-weight: 700;
  font-style: italic;
  line-height: 0.85;
}

.calendar__card {
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1.8px solid var(--gold-300);
  border-radius: 24px;
  padding: 20px 16px 22px;
  box-shadow: 0 14px 32px -18px rgba(197, 155, 39, 0.25);
}

.calendar__weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  font-family: var(--font-sans);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--navy-800);
  margin-bottom: 12px;
  text-align: center;
}

.calendar__grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  row-gap: 8px;
  text-align: center;
}

.calendar__grid span {
  position: relative;
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-size: 17.5px;
  font-weight: 500;
  color: var(--ink);
}

.calendar__grid span.is-empty {
  visibility: hidden;
}

.calendar__grid span.is-target {
  color: var(--navy-900);
  font-weight: 700;
}

.calendar__grid span.is-target .circle-svg {
  position: absolute;
  inset: 50%;
  transform: translate(-50%, -50%);
  width: 44px;
  height: 44px;
  color: var(--gold-500);
  pointer-events: none;
  z-index: 1;
}

.calendar__grid span.is-target .num-text {
  position: relative;
  z-index: 2;
  line-height: 1;
}

/* ============================================================
   7. LETTER
============================================================ */
.letter {
  position: relative;
  padding: 42px 20px 45px;
  max-width: 640px;
  margin: 0 auto;
}

.letter__swirl {
  position: absolute;
  top: 22px;
  left: 50%;
  transform: translateX(-50%) scaleX(-1);
  color: var(--gold-500);
  opacity: .7;
}

.letter__card {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1.5px solid rgba(197, 155, 39, 0.35);
  border-radius: 4px;
  padding: clamp(28px, 6vw, 52px);
  position: relative;
  box-shadow: 0 22px 50px -28px rgba(10, 22, 38, 0.2);
}

.letter__card::before {
  content: '"';
  position: absolute;
  top: -6px;
  left: 20px;
  font-family: var(--font-serif);
  font-size: 80px;
  color: var(--gold-300);
  line-height: 1;
}

.letter__paragraph {
  font-size: 15.5px;
  line-height: 1.95;
  color: var(--ink-soft);
  margin: 0 0 18px;
  text-align: left;
}

.letter__sign {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
  margin-top: 24px;
  text-align: right;
}

.letter__closing {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 18px;
  color: var(--ink-soft);
  letter-spacing: 0.02em;
}

.letter__author {
  font-family: var(--font-script);
  font-size: 34px;
  color: var(--navy-900);
  line-height: 1.2;
}

/* ============================================================
   8. ALBUM
============================================================ */
.album {
  position: relative;
  z-index: 10;
  padding: 38px 20px 42px;
  max-width: 760px;
  margin: 0 auto;
}

.album__container {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.album__row {
  width: 100%;
}

/* Hàng 1: 1 ảnh ngang */
.album__row--1 {
  display: block;
}

.album__row--1 .album__item {
  aspect-ratio: 16 / 9;
}

/* Hàng 2: Gồm 3 ảnh - Cột 1 (40% chiều ngang) 1 ảnh, Cột 2 có 2 ảnh ngang xếp trên dưới */
.album__row--grid-combo {
  display: grid;
  grid-template-columns: 40% 1fr;
  gap: 12px;
  width: 100%;
}

.album__col--left {
  display: flex;
  height: 100%;
}

.album__col--left .album__item {
  width: 100%;
  height: 100%;
  min-height: 180px;
}

.album__col--left .album__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.album__col--right {
  display: flex;
  flex-direction: column;
  gap: 12px;
  justify-content: space-between;
}

.album__col--right .album__item {
  flex: 1;
  aspect-ratio: 16 / 9;
}

/* Dòng 3: 1 ảnh ngang */
.album__row--landscape {
  display: block;
  width: 100%;
}

.album__row--landscape .album__item {
  aspect-ratio: 16 / 9;
}

/* Dòng 4: 2 ảnh dọc (50% - 50%) */
.album__row--portrait {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  width: 100%;
}

.album__row--portrait .album__item {
  aspect-ratio: 3 / 4;
}

.album__item {
  margin: 0;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 12px 28px -14px rgba(10, 22, 38, 0.25);
  position: relative;
  z-index: 10;
}

.album__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s var(--ease);
}

.album__item:hover img {
  transform: scale(1.05);
}

/* ============================================================
   LIGHTBOX MODAL
============================================================ */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s var(--ease), visibility 0.35s var(--ease);
  padding: 20px;
}

.lightbox.is-open {
  opacity: 1;
  visibility: visible;
}

.lightbox__overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 22, 38, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.lightbox__content {
  position: relative;
  z-index: 1;
  max-width: 92vw;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.lightbox__img {
  max-width: 90vw;
  max-height: 82vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 2px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.55);
  transform: scale(0.92);
  transition: transform 0.35s var(--ease);
}

.lightbox.is-open .lightbox__img {
  transform: scale(1);
}

.lightbox__close {
  position: absolute;
  top: -45px;
  right: 0;
  background: transparent;
  border: none;
  color: var(--white);
  font-size: 38px;
  line-height: 1;
  cursor: pointer;
  opacity: 0.85;
  transition: opacity 0.2s, transform 0.2s;
  padding: 4px 10px;
}

.lightbox__close:hover {
  opacity: 1;
  transform: scale(1.15);
}

.lightbox__caption {
  margin-top: 12px;
  color: var(--gold-200);
  font-size: 14px;
  font-family: var(--font-serif);
  letter-spacing: 0.04em;
  text-align: center;
}

.hero__img,
.cross-photos__item img,
.album__item img {
  cursor: zoom-in;
}

/* ============================================================
   9. RSVP
============================================================ */
.rsvp {
  position: relative;
  padding: 40px 20px 42px;
  max-width: 520px;
  margin: 0 auto;
  text-align: center;
}

.rsvp__cap {
  color: var(--gold-600);
  margin-bottom: 14px;
}

.rsvp__sub {
  font-size: 13.5px;
  color: var(--ink-soft);
  margin: 0 0 20px;
  line-height: 1.7;
}

.rsvp__form {
  display: flex;
  flex-direction: column;
  gap: 18px;
  text-align: left;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.field label {
  font-size: 12.5px;
  letter-spacing: .05em;
  color: var(--ink);
  font-weight: 600;
}

.field input[type="text"],
.field input[type="tel"],
.field input[type="number"],
.field textarea,
.field select {
  border: 1.5px solid var(--gold-300);
  border-radius: 10px;
  padding: 12px 14px;
  font-family: var(--font-sans);
  font-size: 14px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.9);
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease);
  outline: none;
}

.field select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23c59b27' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 16px;
  padding-right: 38px;
  cursor: pointer;
}

.field select option {
  color: var(--ink);
  background: var(--white);
}

.field input:focus,
.field textarea:focus,
.field select:focus {
  border-color: var(--gold-500);
  box-shadow: 0 0 0 3px rgba(197, 155, 39, .2);
}

.radio-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.radio-pill {
  border: 1.5px solid var(--gold-200);
  border-radius: 999px;
  padding: 9px 16px;
  font-size: 12.5px;
  cursor: pointer;
  color: var(--ink-soft);
  transition: all .3s var(--ease);
  position: relative;
  background: rgba(255,255,255,0.7);
}

.radio-pill input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.radio-pill:has(input:checked) {
  background: var(--navy-800);
  border-color: var(--navy-800);
  color: var(--gold-200);
  box-shadow: 0 4px 14px -4px rgba(10, 22, 38, 0.5);
}

.rsvp__status {
  text-align: center;
  font-size: 13px;
  color: var(--gold-600);
  min-height: 18px;
  margin: 4px 0 0;
}

/* ============================================================
   10. GUESTBOOK + FOOTER
============================================================ */
.guestbook {
  padding: 38px 20px 38px;
  max-width: 960px;
  margin: 0 auto;
  text-align: center;
  position: relative;
}

.guestbook__sub {
  font-size: 13.5px;
  color: var(--ink-soft);
  margin: 0 0 16px;
}

.guestbook__carousel-wrap {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
}

.guestbook__list {
  display: flex;
  flex-direction: row;
  gap: 16px;
  overflow-x: auto;
  padding: 12px 6px 24px;
  scroll-behavior: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  cursor: grab;
  width: 100%;
}

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

.guestbook__empty {
  color: var(--ink-soft);
  font-size: 13.5px;
  font-style: italic;
  width: 100%;
  text-align: center;
  padding: 30px 0;
}

.guestbook__entry {
  flex: 0 0 clamp(240px, 70vw, 290px);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1.5px solid var(--gold-200);
  border-radius: 4px;
  padding: 20px 20px 18px;
  text-align: left;
  box-shadow: 0 8px 24px -10px rgba(10, 22, 38, 0.18);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 160px;
  user-select: none;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}

.guestbook__entry:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 30px -10px rgba(197, 155, 39, 0.35);
  border-color: var(--gold-400);
}

.guestbook__entry-name {
  font-weight: 700;
  color: var(--navy-900);
  font-size: 14.5px;
  margin: 0 0 8px;
}

.guestbook__entry-msg {
  font-size: 13.5px;
  color: var(--ink-soft);
  margin: 0 0 16px;
  line-height: 1.6;
  flex: 1;
}

.guestbook__entry-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: auto;
  padding-top: 8px;
  border-top: 1px dashed rgba(197, 155, 39, 0.3);
}

.gb-badge {
  padding: 3px 9px;
  border-radius: 4px;
  font-size: 10.5px;
  font-weight: 600;
  white-space: nowrap;
}

.gb-badge--yes {
  background: #fbf5e4;
  color: #9e792e;
  border: 1px solid rgba(197, 155, 39, 0.3);
}

.gb-badge--no {
  background: #fdf2f2;
  color: #991b1b;
}

.guestbook__entry-time {
  font-size: 10.5px;
  color: var(--gold-600);
  white-space: nowrap;
}

.guestbook__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  border: 1.5px solid var(--gold-500);
  color: var(--navy-800);
  font-size: 22px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(197, 155, 39, 0.25);
  transition: all 0.25s var(--ease);
  opacity: 0.85;
}

.guestbook__nav:hover {
  opacity: 1;
  background: var(--gold-500);
  color: var(--white);
  border-color: var(--gold-500);
  box-shadow: 0 6px 18px rgba(197, 155, 39, 0.45);
}

.guestbook__nav--prev {
  left: -14px;
}

.guestbook__nav--next {
  right: -14px;
}

@media (max-width: 640px) {
  .guestbook__nav {
    display: none;
  }
}

.footer {
  text-align: center;
  padding: 32px 20px 28px;
  color: var(--ink-soft);
}

.footer__cap {
  color: var(--gold-500);
  margin-bottom: 10px;
}

.footer__names {
  font-size: 34px;
  color: var(--navy-900);
  margin: 0 0 8px;
}

.footer__note {
  font-size: 13px;
  margin: 0 0 6px;
}

.footer__copy {
  font-size: 11px;
  color: var(--gold-600);
  letter-spacing: .06em;
}

.footer__designed {
  font-size: 12px;
  color: var(--ink-soft);
  margin: 16px -20px 0;
  padding: 14px 20px 0;
  border-top: 1px dashed rgba(197, 155, 39, 0.4);
}

.footer__designed a {
  color: var(--navy-900);
  font-weight: 600;
  text-decoration: underline;
  transition: opacity 0.2s ease;
}

.footer__designed a:hover {
  opacity: 0.7;
}

/* ============================================================
   RESPONSIVE TWEAKS
============================================================ */
@media (min-width:768px) {
  .hero__content {
    max-width: 720px;
  }

  .letter__card {
    padding: 60px;
  }
}

@media (max-width:380px) {
  .section-title {
    font-size: 36px;
  }

  .countdown__unit {
    min-width: 56px;
    padding: 10px 6px;
  }

  .countdown__num {
    font-size: 24px;
  }
}

/* reduced motion */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}