/* ═══════════════════════════════════════════════════════════════════
   CSS Custom Properties
═══════════════════════════════════════════════════════════════════ */
:root {
  --gold:         #C9A96E;
  --gold-light:   #E8D5A3;
  --gold-dark:    #9A7340;
  --cream:        #F5F0E8;
  --ivory:        #FDFAF5;
  --ivory-dark:   #EDE6D6;
  --bark:         #2C2416;
  --text:         #3D2B0E;
  --text-muted:   #8B7355;
  --white:        #FFFFFF;
  --shadow:       0 8px 40px rgba(44,36,22,0.14);
  --shadow-sm:    0 2px 12px rgba(44,36,22,0.10);
  --radius:       16px;
  --radius-sm:    8px;
  --transition:   0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* ═══════════════════════════════════════════════════════════════════
   Reset & Base
═══════════════════════════════════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Montserrat', sans-serif;
  background: var(--bark);
  color: var(--text);
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
a { text-decoration: none; color: inherit; }
svg { display: block; }

.d-none { display: none !important; }
.container { max-width: 1100px; margin: 0 auto; padding: 0 24px; }
.sec-pad { padding: 100px 0; }

/* ═══════════════════════════════════════════════════════════════════
   Loading Screen
═══════════════════════════════════════════════════════════════════ */
#loading-screen {
  position: fixed; inset: 0; z-index: 9999;
  background: var(--bark);
  display: flex; align-items: center; justify-content: center;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}
#loading-screen.hidden { opacity: 0; visibility: hidden; pointer-events: none; }

.loading-inner { text-align: center; }

.loading-monogram {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(3rem, 10vw, 5.5rem);
  font-weight: 300;
  color: var(--gold);
  letter-spacing: 0.25em;
  animation: fadeInDown 0.8s ease forwards;
}
.loading-monogram span { color: var(--gold-light); font-style: italic; }

.loading-tag {
  font-size: 0.8rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-top: 8px;
  opacity: 0;
  animation: fadeIn 0.6s ease 0.5s forwards;
}

.loading-bar {
  width: 160px; height: 2px;
  background: rgba(201,169,110,0.2);
  margin: 28px auto 0;
  border-radius: 2px;
  overflow: hidden;
}
.loading-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--gold-dark), var(--gold-light), var(--gold-dark));
  width: 0;
  animation: loadBar 2s ease forwards;
}

@keyframes loadBar { to { width: 100%; } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-20px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ═══════════════════════════════════════════════════════════════════
   Particles Canvas (reusable)
═══════════════════════════════════════════════════════════════════ */
.particles-canvas {
  position: absolute; inset: 0; pointer-events: none; overflow: hidden; z-index: 0;
}
.particle {
  position: absolute;
  width: 4px; height: 4px;
  background: var(--gold);
  border-radius: 50%;
  opacity: 0;
  animation: floatParticle var(--dur, 6s) ease-in-out var(--delay, 0s) infinite;
}
@keyframes floatParticle {
  0%   { transform: translateY(0) scale(1); opacity: 0; }
  20%  { opacity: 0.7; }
  80%  { opacity: 0.4; }
  100% { transform: translateY(-120px) scale(0.4); opacity: 0; }
}

/* ═══════════════════════════════════════════════════════════════════
   Envelope Section
═══════════════════════════════════════════════════════════════════ */
#envelope-section {
  position: fixed; inset: 0; z-index: 100;
  background: radial-gradient(ellipse at 50% 60%, #3D2B0E 0%, var(--bark) 70%);
  display: flex; align-items: center; justify-content: center;
  transition: opacity 0.8s ease, visibility 0.8s ease;
}
#envelope-section.opened { opacity: 0; visibility: hidden; pointer-events: none; }

.envelope-wrap { position: relative; z-index: 1; }

.envelope {
  width: min(380px, 88vw);
  background: var(--ivory);
  border-radius: var(--radius);
  box-shadow: 0 30px 80px rgba(0,0,0,0.5), 0 0 0 1px rgba(201,169,110,0.3);
  overflow: hidden;
  position: relative;
  transform-style: preserve-3d;
  transition: transform 0.6s ease, box-shadow 0.6s ease;
}
.envelope:hover { transform: translateY(-4px); box-shadow: 0 40px 100px rgba(0,0,0,0.55), 0 0 0 1px rgba(201,169,110,0.4); }

.env-flap {
  position: absolute; top: 0; left: 0; right: 0;
  height: 0;
  border-left: 190px solid transparent;
  border-right: 190px solid transparent;
  border-top: 130px solid var(--ivory-dark);
  z-index: 2;
  transform-origin: top center;
  transition: transform 0.6s ease;
}
.envelope.flap-open .env-flap { transform: rotateX(180deg); }

.env-body {
  padding: 60px 36px 44px;
  display: flex; flex-direction: column; align-items: center; gap: 16px;
  position: relative; z-index: 1;
}

.env-seal {
  width: 80px; height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-dark), var(--gold), var(--gold-light));
  display: flex; align-items: center; justify-content: center;
  gap: 4px;
  box-shadow: 0 4px 20px rgba(201,169,110,0.5);
  margin-bottom: 4px;
}
.seal-letter {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--bark);
}
.seal-amp {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1rem; font-style: italic;
  color: var(--bark);
}

.env-date {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.05rem; font-weight: 300;
  color: var(--text-muted);
  letter-spacing: 0.12em;
}

.env-dear {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1rem;
  font-weight: 400;
  font-style: italic;
  color: var(--gold);
  letter-spacing: 0.1em;
  margin-top: 2px;
}

.btn-open {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 34px;
  background: linear-gradient(135deg, var(--gold-dark), var(--gold));
  color: var(--ivory);
  border-radius: 50px;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow: 0 4px 20px rgba(201,169,110,0.4);
  transition: transform 0.2s, box-shadow 0.2s;
  margin-top: 8px;
}
.env-qr-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  margin-top: 2px;
}
.env-guest-qr {
  width: 86px;
  height: 86px;
  border-radius: 10px;
  border: 1px solid rgba(201,169,110,0.45);
  background: #fff;
  padding: 4px;
  box-shadow: 0 4px 18px rgba(44, 36, 22, 0.12);
}
.env-qr-label {
  font-size: 0.62rem;
  color: var(--text-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.btn-open:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(201,169,110,0.5); }
.btn-open:active { transform: translateY(0); }

/* ═══════════════════════════════════════════════════════════════════
   Invitation Container
═══════════════════════════════════════════════════════════════════ */
#invitation {
  background: var(--ivory);
  min-height: 100vh;
  transition: opacity 0.6s ease;
}
.inv-hidden { opacity: 0; pointer-events: none; }
.inv-visible { opacity: 1; pointer-events: auto; }

/* ═══════════════════════════════════════════════════════════════════
   Scroll Reveal
═══════════════════════════════════════════════════════════════════ */
.scroll-reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.scroll-reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.scroll-reveal[data-delay="100"] { transition-delay: 0.1s; }
.scroll-reveal[data-delay="150"] { transition-delay: 0.15s; }
.scroll-reveal[data-delay="200"] { transition-delay: 0.2s; }
.scroll-reveal[data-delay="300"] { transition-delay: 0.3s; }

/* ═══════════════════════════════════════════════════════════════════
   Floating Music Player
═══════════════════════════════════════════════════════════════════ */
.music-float {
  position: fixed; bottom: 28px; right: 28px; z-index: 200;
  display: flex; align-items: center;
}

/* ── FAB (always visible) ── */
.music-fab {
  width: 46px; height: 46px;
  border-radius: 50%;
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: rgba(44, 36, 22, 0.92);
  backdrop-filter: blur(12px);
  border: 1.5px solid rgba(201,169,110,0.45);
  color: var(--gold);
  box-shadow: 0 4px 20px rgba(0,0,0,0.4);
  cursor: pointer;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  position: relative;
  transition: color 0.2s, box-shadow 0.2s, border-radius 0.3s;
  z-index: 1;
}
.music-fab:hover { color: var(--gold-light); box-shadow: 0 6px 26px rgba(201,169,110,0.3); }
.music-float.expanded .music-fab {
  border-radius: 50% 0 0 50%;
  border-right: none;
  box-shadow: none;
}

/* Pulsing dot — visible when music is playing */
.music-fab-dot {
  position: absolute; top: 6px; right: 6px;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--gold);
  opacity: 0;
  transition: opacity 0.3s;
}
.music-float.is-playing .music-fab-dot {
  opacity: 1;
  animation: fab-pulse 1.6s ease-in-out infinite;
}
@keyframes fab-pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50%       { transform: scale(1.5); opacity: 0.5; }
}

/* ── Expanded panel ── */
.music-panel {
  display: flex; align-items: center; gap: 0;
  background: rgba(44, 36, 22, 0.92);
  backdrop-filter: blur(12px);
  border: 1.5px solid rgba(201,169,110,0.45);
  border-left: none;
  border-radius: 0 50px 50px 0;
  box-shadow: 0 4px 20px rgba(0,0,0,0.4);
  overflow: hidden;
  max-width: 0;
  opacity: 0;
  pointer-events: none;
  transition: max-width 0.35s cubic-bezier(0.4,0,0.2,1), opacity 0.25s ease;
}
.music-float.expanded .music-panel {
  max-width: 280px;
  opacity: 1;
  pointer-events: auto;
}

.music-toggle {
  width: 42px; height: 46px;
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  color: var(--gold);
  transition: color 0.2s;
  touch-action: manipulation;    /* removes 300ms tap delay on iOS */
  -webkit-tap-highlight-color: transparent;
  cursor: pointer;
}
.music-toggle:hover { color: var(--gold-light); }

.music-close {
  width: 36px; height: 46px;
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  color: rgba(201,169,110,0.6);
  transition: color 0.2s;
  padding-right: 4px;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  cursor: pointer;
}
.music-close:hover { color: var(--gold); }

.music-meta {
  flex: 1;
  padding: 0 4px 0 0;
  overflow: hidden;
  display: flex; flex-direction: column; gap: 4px;
  min-width: 0;
}
.music-song-title {
  font-size: 0.7rem; letter-spacing: 0.05em;
  color: var(--gold-light);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  max-width: 160px;
}
.music-progress-bar {
  width: 100%; height: 2px;
  background: rgba(201,169,110,0.2);
  border-radius: 2px; overflow: hidden;
}
.music-progress-fill {
  height: 100%;
  background: var(--gold);
  width: 0;
  transition: width 1s linear;
}

/* ═══════════════════════════════════════════════════════════════════
   Section Headers
═══════════════════════════════════════════════════════════════════ */
.sec-header { text-align: center; margin-bottom: 60px; }

.sec-eyebrow {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
  font-weight: 600;
}

.sec-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 500;
  color: var(--bark);
  line-height: 1.15;
}

.gold-rule {
  width: 60px; height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  margin: 20px auto 0;
}

/* ═══════════════════════════════════════════════════════════════════
   Hero Section
═══════════════════════════════════════════════════════════════════ */
.sec-hero {
  position: relative;
  min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute; inset: 0;
  will-change: transform;
}
.hero-photo {
  width: 100%; height: 100%;
  object-fit: cover;
  transform: scale(1.08);
  transition: transform 0.5s ease;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(
    180deg,
    rgba(44,36,22,0.2) 0%,
    rgba(44,36,22,0.55) 50%,
    rgba(44,36,22,0.75) 100%
  );
}

.hero-body {
  position: relative; z-index: 2;
  text-align: center;
  padding: 0 20px;
  color: var(--ivory);
}

.hero-eyebrow {
  font-size: 0.78rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 16px;
  font-weight: 400;
}

.hero-names {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(3.2rem, 12vw, 7rem);
  font-weight: 300;
  line-height: 1;
  letter-spacing: 0.02em;
  display: flex; align-items: center; justify-content: center; gap: 0.2em;
}
.name-left, .name-right { display: inline-block; }
.name-amp {
  font-style: italic;
  color: var(--gold-light);
  font-size: 0.7em;
  padding: 0 8px;
}

.hero-hashtag {
  font-size: 0.82rem;
  letter-spacing: 0.3em;
  color: var(--gold-light);
  margin-top: 12px;
  font-weight: 500;
}

.divider-ornament {
  display: flex; align-items: center; gap: 12px;
  margin: 24px auto;
  width: fit-content;
}
.div-line {
  display: block; width: 60px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-light));
}
.div-line:last-child { background: linear-gradient(90deg, var(--gold-light), transparent); }
.div-heart { color: var(--gold); }

.countdown {
  display: flex; align-items: center; gap: 12px;
  margin: 24px auto;
  width: fit-content;
}
.cd-item { text-align: center; }
.cd-item span {
  display: block;
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.2rem, 6vw, 3.5rem);
  font-weight: 500;
  color: var(--gold);
  line-height: 1;
  min-width: 70px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(201,169,110,0.45);
  border-radius: 8px;
  padding: 6px 12px;
  text-shadow: 0 0 20px rgba(201,169,110,0.4);
}
.cd-item label {
  display: block;
  font-size: 0.62rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-top: 6px;
}
.cd-sep {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.5rem;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 16px;
}
.cd-done {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.6rem, 5vw, 2.4rem);
  font-weight: 400;
  font-style: italic;
  color: var(--gold-light);
  letter-spacing: 0.12em;
  text-align: center;
  text-shadow: 0 0 24px rgba(201,169,110,0.5);
  padding: 16px 0;
}

.hero-full-date {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1rem;
  font-weight: 300;
  letter-spacing: 0.15em;
  color: var(--gold-light);
  margin-top: 8px;
}

.scroll-hint {
  position: absolute; bottom: 36px; left: 50%; transform: translateX(-50%);
  z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 8px;
}
.scroll-hint span {
  font-size: 0.65rem; letter-spacing: 0.3em;
  text-transform: uppercase; color: var(--gold-light); opacity: 0.8;
}
.scroll-line-anim {
  width: 1px; height: 40px;
  background: linear-gradient(180deg, var(--gold), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { transform: scaleY(1); opacity: 0.8; }
  50%       { transform: scaleY(1.3); opacity: 0.4; }
}

/* ═══════════════════════════════════════════════════════════════════
   Couple Section
═══════════════════════════════════════════════════════════════════ */
.sec-couple { background: var(--ivory); }

.couple-grid {
  display: grid;
  grid-template-columns: 1fr 80px 1fr;
  gap: 24px;
  align-items: center;
  margin-bottom: 60px;
}

.couple-card { text-align: center; }

.couple-frame {
  width: 200px; height: 260px;
  margin: 0 auto 20px;
  border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
  overflow: hidden;
  border: 3px solid var(--gold-light);
  box-shadow: 0 12px 40px rgba(201,169,110,0.25);
  transition: transform var(--transition), box-shadow var(--transition);
}
.couple-frame:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(201,169,110,0.35);
}
.couple-frame img { width: 100%; height: 100%; object-fit: cover; }

.couple-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2rem; font-weight: 500;
  color: var(--bark);
}
.couple-parents {
  font-size: 0.82rem; color: var(--text-muted);
  margin-top: 6px; line-height: 1.6;
}

.couple-divider {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
}
.couple-and {
  font-family: 'Cormorant Garamond', serif;
  font-size: 3rem; font-style: italic;
  color: var(--gold); line-height: 1;
}

.couple-quote {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.05rem;
  font-style: italic;
  font-weight: 400;
  color: var(--text-muted);
  line-height: 1.8;
  padding: 28px 32px;
  border: 1px solid var(--gold-light);
  border-radius: var(--radius);
  background: rgba(201,169,110,0.05);
  position: relative;
}
.couple-quote::before {
  content: '\201C';
  font-size: 5rem;
  color: var(--gold-light);
  position: absolute;
  top: -20px; left: 20px;
  line-height: 1;
  font-family: 'Cormorant Garamond', serif;
}
.couple-quote cite {
  display: block;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  font-style: normal;
  color: var(--gold-dark);
  margin-top: 12px;
  font-weight: 600;
  font-family: 'Montserrat', sans-serif;
}

/* ═══════════════════════════════════════════════════════════════════
   Event Section
═══════════════════════════════════════════════════════════════════ */
.sec-event {
  background: var(--cream);
  position: relative;
  overflow: hidden;
}
.sec-event-bg {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 20% 50%, rgba(201,169,110,0.08) 0%, transparent 60%),
              radial-gradient(ellipse at 80% 50%, rgba(201,169,110,0.08) 0%, transparent 60%);
}

.event-cards {
  display: grid;
  grid-template-columns: 1fr 60px 1fr;
  gap: 24px;
  align-items: center;
  margin-bottom: 40px;
  position: relative; z-index: 1;
}

.event-cards.is-reception-only {
  grid-template-columns: minmax(0, 520px);
  justify-content: center;
}

.event-card {
  background: var(--ivory);
  border: 1px solid var(--gold-light);
  border-radius: var(--radius);
  padding: 40px 32px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}
.event-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.event-icon-wrap {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-dark), var(--gold));
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px;
  color: var(--ivory);
  box-shadow: 0 4px 20px rgba(201,169,110,0.35);
}

.event-card h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.8rem; font-weight: 500;
  color: var(--bark);
  margin-bottom: 20px;
}

.event-meta {
  list-style: none;
  display: flex; flex-direction: column; gap: 10px;
}
.event-meta li {
  display: flex; align-items: center; gap: 10px;
  font-size: 0.85rem; color: var(--text-muted);
  justify-content: center;
}
.event-meta li svg { color: var(--gold); flex-shrink: 0; }

.event-center-deco {
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  color: var(--gold);
}
.event-deco-line {
  width: 1px; height: 40px;
  background: linear-gradient(180deg, transparent, var(--gold), transparent);
}

.event-dresscode {
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-muted);
  letter-spacing: 0.08em;
  position: relative; z-index: 1;
}
.event-dresscode strong { color: var(--gold-dark); }

/* ═══════════════════════════════════════════════════════════════════
   Love Story / Timeline
═══════════════════════════════════════════════════════════════════ */
.sec-story { background: var(--bark); }
.sec-story .sec-eyebrow { color: var(--gold-light); }
.sec-story .sec-title { color: var(--ivory); }
.sec-story .gold-rule { background: linear-gradient(90deg, transparent, var(--gold-light), transparent); }

.timeline {
  position: relative;
  padding: 20px 0;
  max-width: 700px;
  margin: 0 auto;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 50%; top: 0; bottom: 0;
  width: 1px;
  background: linear-gradient(180deg, transparent, var(--gold), var(--gold), transparent);
  transform: translateX(-50%);
}

.tl-item {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 0 0 48px;
  position: relative;
}

.tl-dot {
  position: absolute;
  left: 50%; top: 6px;
  transform: translateX(-50%);
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--gold);
  border: 3px solid var(--bark);
  box-shadow: 0 0 0 3px rgba(201,169,110,0.35);
  z-index: 1;
}

.tl-card {
  width: calc(50% - 36px);
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(201,169,110,0.2);
  border-radius: var(--radius);
  padding: 24px 24px;
  transition: transform var(--transition), border-color var(--transition);
}
.tl-card:hover {
  transform: translateY(-3px);
  border-color: rgba(201,169,110,0.5);
}

.tl-left { margin-right: auto; }
.tl-right { margin-left: auto; }

.tl-year { display: none; }
.tl-card h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.25rem; font-weight: 500;
  color: var(--ivory);
  margin-bottom: 8px;
}
.tl-card p {
  font-size: 0.82rem;
  color: rgba(253,250,245,0.65);
  line-height: 1.7;
}

/* ═══════════════════════════════════════════════════════════════════
   Gallery Section (Precious Moments)
═══════════════════════════════════════════════════════════════════ */
.sec-gallery { background: var(--cream); }

/* Video Feature Highlight */
.video-feature {
  position: relative;
  width: 100%;
  max-width: 900px;
  margin: 0 auto 36px auto;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(42, 30, 14, 0.16);
  border: 1px solid rgba(201, 169, 110, 0.35);
  background: #000;
  aspect-ratio: 16 / 9;
}

.video-feature video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  border-radius: 16px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 210px;
  gap: 14px;
  grid-auto-flow: dense;
}

/* Explicit Layout Spans from CMS */
.gallery-item.item-layout-standard { grid-column: span 1; grid-row: span 1; }
.gallery-item.item-layout-wide     { grid-column: span 2; grid-row: span 1; }
.gallery-item.item-layout-tall     { grid-column: span 1; grid-row: span 2; }
.gallery-item.item-layout-featured { grid-column: span 2; grid-row: span 2; }

/* Fallbacks for auto ratio detection */
.gallery-item.item-portrait  { grid-row: span 2; }
.gallery-item.item-landscape { grid-column: span 2; grid-row: span 1; }
.gallery-item.item-square    { grid-column: span 1; grid-row: span 1; }

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 14px;
  cursor: zoom-in;
  background: var(--ivory-dark);
  border: 1px solid rgba(201,169,110,0.22);
  box-shadow: 0 4px 18px rgba(42,30,14,0.06);
  transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.4s ease, border-color 0.4s ease;
}

.gallery-item:hover {
  transform: translateY(-4px);
  border-color: rgba(201,169,110,0.65);
  box-shadow: 0 12px 30px rgba(201,169,110,0.22);
}

.gallery-item img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), filter 0.4s ease;
}

.gallery-item.item-fit-contain img {
  object-fit: contain;
  background: var(--ivory-dark);
}

.gallery-item:hover img {
  transform: scale(1.06);
}

/* Hover Overlay & Caption */
.gallery-item-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 35%, rgba(20,15,8,0.78) 100%);
  opacity: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 16px;
  transition: opacity 0.35s ease;
  z-index: 2;
  pointer-events: none;
}

.gallery-item:hover .gallery-item-overlay {
  opacity: 1;
}

.gallery-item-zoom-icon {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: var(--ivory);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: scale(0.8);
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.gallery-item:hover .gallery-item-zoom-icon {
  opacity: 1;
  transform: scale(1);
}

.gallery-item-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--ivory);
  letter-spacing: 0.04em;
  text-shadow: 0 2px 6px rgba(0,0,0,0.6);
  transform: translateY(6px);
  transition: transform 0.35s ease;
}

.gallery-item:hover .gallery-item-title {
  transform: translateY(0);
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 500;
  background: rgba(15, 10, 5, 0.94);
  backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;
  padding: 20px;
}

.lightbox.active {
  opacity: 1;
  visibility: visible;
}

.lb-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 92vw;
  max-height: 88vh;
  gap: 12px;
}

.lb-img {
  max-width: 90vw;
  max-height: 76vh;
  border-radius: 12px;
  box-shadow: 0 20px 70px rgba(0,0,0,0.8);
  border: 1px solid rgba(201,169,110,0.3);
  object-fit: contain;
  transition: transform 0.3s ease;
}

.lb-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 800px;
  gap: 16px;
  padding: 4px 8px;
}

.lb-caption {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.2rem;
  color: var(--gold-light);
  letter-spacing: 0.05em;
  font-weight: 500;
  margin: 0;
}

.lb-counter {
  font-size: 0.78rem;
  letter-spacing: 0.15em;
  color: rgba(253, 250, 245, 0.65);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(201, 169, 110, 0.3);
  padding: 3px 10px;
  border-radius: 20px;
  white-space: nowrap;
}

.lb-close, .lb-prev, .lb-next {
  position: absolute;
  color: var(--gold-light);
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(201, 169, 110, 0.3);
  backdrop-filter: blur(6px);
  cursor: pointer;
  z-index: 10;
  transition: all 0.25s ease;
}

.lb-close:hover, .lb-prev:hover, .lb-next:hover {
  background: var(--gold);
  color: var(--bark);
  border-color: var(--gold);
}

.lb-close { top: 20px; right: 20px; font-size: 1.8rem; }
.lb-prev  { left: 20px; top: 50%; transform: translateY(-50%); font-size: 2.2rem; }
.lb-next  { right: 20px; top: 50%; transform: translateY(-50%); font-size: 2.2rem; }

/* ═══════════════════════════════════════════════════════════════════
   Location Section
═══════════════════════════════════════════════════════════════════ */
.sec-location { background: var(--ivory); }

.location-layout {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 48px;
  align-items: start;
}

.location-venue {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.6rem; font-weight: 500;
  color: var(--bark);
  margin-bottom: 12px;
}
.location-addr {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 28px;
}
.location-btns {
  display: flex; flex-wrap: wrap; gap: 12px;
}

.map-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--gold-light);
}
.map-wrap iframe { display: block; }

/* ═══════════════════════════════════════════════════════════════════
   Buttons
═══════════════════════════════════════════════════════════════════ */
.btn-gold {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 24px;
  background: linear-gradient(135deg, var(--gold-dark), var(--gold));
  color: var(--ivory);
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  box-shadow: 0 4px 16px rgba(201,169,110,0.35);
  transition: transform 0.2s, box-shadow 0.2s;
  font-family: 'Montserrat', sans-serif;
}
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(201,169,110,0.45); }
.btn-gold:active { transform: translateY(0); }

.btn-outline {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 24px;
  border: 1.5px solid var(--gold);
  color: var(--gold-dark);
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: background 0.2s, color 0.2s;
  font-family: 'Montserrat', sans-serif;
}
.btn-outline:hover {
  background: var(--gold);
  color: var(--ivory);
}

.btn-block { width: 100%; justify-content: center; border-radius: var(--radius-sm); }

/* ═══════════════════════════════════════════════════════════════════
   Forms
═══════════════════════════════════════════════════════════════════ */
.form-field {
  display: flex; flex-direction: column; gap: 7px;
  margin-bottom: 18px;
  position: relative;
}
.form-field label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.form-field input,
.form-field textarea {
  padding: 12px 16px;
  border: 1.5px solid rgba(201,169,110,0.35);
  border-radius: var(--radius-sm);
  background: var(--ivory);
  color: var(--text);
  font-family: 'Montserrat', sans-serif;
  font-size: 0.9rem;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  resize: vertical;
}
.form-field input:focus,
.form-field textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201,169,110,0.15);
}
.char-count {
  position: absolute; bottom: 10px; right: 14px;
  font-size: 0.68rem;
  color: var(--text-muted);
  pointer-events: none;
}
.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-field select {
  width: 100%;
  padding: 12px 36px 12px 14px;
  border: 1.5px solid rgba(201,169,110,0.35);
  border-radius: var(--radius-sm);
  background: var(--ivory) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23C9A96E' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 14px center;
  appearance: none;
  color: var(--text);
  font-family: 'Montserrat', sans-serif;
  font-size: 0.9rem;
  outline: none;
  cursor: pointer;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.form-field select:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201,169,110,0.15);
}

.radio-group { display: flex; gap: 12px; flex-wrap: wrap; }
.radio-pill input { display: none; }
.radio-pill span {
  display: inline-block;
  padding: 9px 20px;
  border: 1.5px solid rgba(201,169,110,0.35);
  border-radius: 50px;
  font-size: 0.8rem; font-weight: 500;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.2s;
  background: var(--ivory);
}
.radio-pill input:checked + span {
  background: linear-gradient(135deg, var(--gold-dark), var(--gold));
  color: var(--ivory);
  border-color: var(--gold);
  box-shadow: 0 3px 12px rgba(201,169,110,0.3);
}

/* ═══════════════════════════════════════════════════════════════════
   Gift Section
═══════════════════════════════════════════════════════════════════ */
.sec-gift { background: var(--ivory); }

.gift-intro {
  max-width: 480px;
  margin: 18px auto 0;
  text-align: center;
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.8;
}

/* ── Reveal button ── */
.gift-reveal-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 28px;
  padding: 11px 26px;
  border: 1.5px solid rgba(201,169,110,0.45);
  border-radius: 50px;
  background: transparent;
  color: var(--text-muted);
  font-family: 'Montserrat', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  transition: border-color 0.25s, color 0.25s, background 0.25s;
}
.gift-reveal-btn:hover,
.gift-reveal-btn[aria-expanded="true"] {
  border-color: var(--gold);
  color: var(--gold-dark);
  background: rgba(201,169,110,0.06);
}
.gift-reveal-chevron {
  transition: transform 0.3s ease;
  flex-shrink: 0;
}
.gift-reveal-btn[aria-expanded="true"] .gift-reveal-chevron {
  transform: rotate(180deg);
}

/* ── Collapsible drawer ── */
.gift-drawer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.45s cubic-bezier(0.4,0,0.2,1);
  overflow: hidden;
}
.gift-drawer.open {
  grid-template-rows: 1fr;
}
.gift-drawer > .gift-grid {
  min-height: 0;
  overflow: hidden;
}

.gift-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
  margin-top: 40px;
  padding-bottom: 8px;
}

.gift-card {
  background: var(--white);
  border: 1px solid var(--gold-light);
  border-radius: var(--radius);
  padding: 36px 28px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}
.gift-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.gift-qr {
  width: 180px; height: 180px;
  margin: 0 auto 24px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 2px solid var(--gold-light);
  background: var(--ivory-dark);
  display: flex; align-items: center; justify-content: center;
}
.gift-qr img { width: 100%; height: 100%; object-fit: contain; }

.gift-bank {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--gold-dark);
  letter-spacing: 0.05em;
}
.gift-account {
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--text);
  margin: 10px 0 4px;
  font-family: 'Montserrat', sans-serif;
}
.gift-holder {
  font-size: 0.78rem;
  color: var(--text-muted);
  letter-spacing: 0.07em;
  text-transform: uppercase;
  font-weight: 600;
}
.gift-desc {
  margin-top: 14px;
  font-size: 0.82rem;
  color: var(--text-muted);
.invite-qr-wrap {
  margin-top: 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
}
.invite-guest-qr {
  width: 120px;
  height: 120px;
  border-radius: 12px;
  border: 1px solid rgba(255, 238, 206, 0.65);
  background: #fff;
  padding: 5px;
  box-shadow: 0 10px 34px rgba(0, 0, 0, 0.28);
}
.invite-qr-label {
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 246, 226, 0.94);
}
  line-height: 1.75;
  border-top: 1px solid rgba(201,169,110,0.2);
  padding-top: 14px;
}
.gift-copy-btn {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 16px;
  padding: 9px 22px;
  border: 1.5px solid var(--gold);
  border-radius: 50px;
  color: var(--gold-dark);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: transparent;
  cursor: pointer;
  font-family: 'Montserrat', sans-serif;
  transition: background 0.2s, color 0.2s;
}
.gift-copy-btn:hover { background: var(--gold); color: var(--ivory); }

.gift-empty {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.88rem;
  padding: 40px 0;
  grid-column: 1 / -1;
}

/* ═══════════════════════════════════════════════════════════════════
   Wishes Section
═══════════════════════════════════════════════════════════════════ */
.sec-wishes { background: var(--cream); }

.wishes-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}
.wish-form-box {
  background: var(--ivory);
  border-radius: var(--radius);
  padding: 32px;
  border: 1px solid var(--gold-light);
  box-shadow: var(--shadow-sm);
}
.wish-list-box {
  max-height: 500px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--gold-light) transparent;
}

.wish-card {
  background: var(--ivory);
  border: 1px solid rgba(201,169,110,0.25);
  border-radius: var(--radius-sm);
  padding: 18px 20px;
  margin-bottom: 14px;
  position: relative;
}
.wish-card::before {
  content: '\201C';
  font-family: 'Cormorant Garamond', serif;
  font-size: 3rem;
  color: var(--gold-light);
  position: absolute;
  top: -5px; left: 14px;
  line-height: 1;
}
.wish-card-name {
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--bark);
  margin-bottom: 6px;
}
.wish-card-msg {
  font-size: 0.83rem;
  color: var(--text-muted);
  line-height: 1.65;
}
.wish-card-time {
  font-size: 0.68rem;
  color: rgba(139,115,85,0.6);
  margin-top: 8px;
}
.list-loading {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.85rem;
  padding: 32px 0;
}

/* ═══════════════════════════════════════════════════════════════════
   RSVP Section
═══════════════════════════════════════════════════════════════════ */
.sec-rsvp {
  position: relative;
  background: var(--bark);
  padding: 100px 0;
}
.rsvp-overlay {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(201,169,110,0.12) 0%, transparent 60%);
}
.sec-rsvp .sec-eyebrow { color: var(--gold-light); }
.sec-rsvp .sec-title { color: var(--ivory); }
.sec-rsvp .gold-rule { background: linear-gradient(90deg, transparent, var(--gold), transparent); }
.sec-rsvp label { color: rgba(253,250,245,0.7) !important; }
.sec-rsvp input, .sec-rsvp textarea {
  background: rgba(255,255,255,0.06) !important;
  color: var(--ivory) !important;
  border-color: rgba(201,169,110,0.3) !important;
}
.sec-rsvp input::placeholder { color: rgba(253,250,245,0.35) !important; }

.rsvp-box {
  max-width: 560px;
  margin: 0 auto;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(201,169,110,0.2);
  border-radius: var(--radius);
  padding: 40px;
  position: relative; z-index: 1;
}

.rsvp-qr-box {
  margin: 4px 0 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.sec-rsvp .rsvp-qr-toggle {
  color: var(--gold-light);
  border-color: rgba(201,169,110,0.75);
  background: rgba(201,169,110,0.08);
}

.sec-rsvp .rsvp-qr-toggle:hover {
  background: rgba(201,169,110,0.24);
  color: var(--ivory);
}

.rsvp-guest-qr {
  width: min(78vw, 360px);
  height: min(78vw, 360px);
  border-radius: 12px;
  border: 1px solid rgba(255, 238, 206, 0.65);
  background: #fff;
  padding: 10px;
  box-shadow: 0 16px 44px rgba(0, 0, 0, 0.38);
}

.rsvp-qr-hint {
  text-align: center;
  font-size: 0.76rem;
  line-height: 1.5;
  letter-spacing: 0.03em;
  color: rgba(253,250,245,0.84);
}

.rsvp-qr-modal {
  position: fixed;
  inset: 0;
  z-index: 380;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 18px;
  background: rgba(18, 12, 5, 0.78);
  backdrop-filter: blur(4px);
}

.rsvp-qr-modal.active {
  display: flex;
}

.rsvp-qr-modal-card {
  position: relative;
  width: min(94vw, 460px);
  background: linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0.04));
  border: 1px solid rgba(201,169,110,0.45);
  border-radius: 16px;
  padding: 22px 20px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.rsvp-qr-modal-close {
  position: absolute;
  top: 8px;
  right: 10px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(201,169,110,0.5);
  background: rgba(255,255,255,0.1);
  color: var(--ivory);
  font-size: 1.4rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.rsvp-qr-modal-hint {
  text-align: center;
  font-size: 0.8rem;
  line-height: 1.5;
  letter-spacing: 0.04em;
  color: rgba(253,250,245,0.9);
}

/* ═══════════════════════════════════════════════════════════════════
   Footer
═══════════════════════════════════════════════════════════════════ */
.sec-footer {
  position: relative;
  background: var(--bark);
  padding: 100px 0 60px;
  overflow: hidden;
}
.footer-body {
  position: relative; z-index: 1;
  text-align: center;
}
.footer-monogram {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(3rem, 8vw, 5rem);
  font-weight: 300;
  color: var(--gold);
  letter-spacing: 0.25em;
}
.footer-monogram span { font-style: italic; color: var(--gold-light); }

.footer-tagline {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.2rem, 3vw, 1.6rem);
  font-weight: 300;
  color: var(--ivory);
  letter-spacing: 0.2em;
  margin-top: 12px;
}
.footer-hashtag {
  font-size: 0.75rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: 8px;
  font-weight: 600;
}
.footer-rule {
  width: 60px; height: 1px;
  background: rgba(201,169,110,0.4);
  margin: 24px auto;
}
.footer-date {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1rem;
  color: var(--gold-light);
  letter-spacing: 0.1em;
}
.footer-credit {
  font-size: 0.72rem;
  color: rgba(253,250,245,0.35);
  margin-top: 28px;
  letter-spacing: 0.05em;
}

/* ═══════════════════════════════════════════════════════════════════
   Toast Notification
═══════════════════════════════════════════════════════════════════ */
.toast {
  position: fixed; bottom: 90px; left: 50%; transform: translateX(-50%) translateY(20px);
  background: var(--bark);
  color: var(--gold-light);
  border: 1px solid rgba(201,169,110,0.3);
  border-radius: 50px;
  padding: 12px 28px;
  font-size: 0.82rem;
  letter-spacing: 0.05em;
  z-index: 300;
  white-space: nowrap;
  opacity: 0;
  transition: opacity 0.3s, transform 0.3s;
  pointer-events: none;
  box-shadow: 0 8px 30px rgba(0,0,0,0.4);
}
.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ═══════════════════════════════════════════════════════════════════
   Responsive
═══════════════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 175px;
    gap: 12px;
  }
}

@media (max-width: 768px) {
  .sec-pad { padding: 70px 0; }

  .video-feature {
    margin-bottom: 24px;
    border-radius: 12px;
    box-shadow: 0 6px 24px rgba(42, 30, 14, 0.15);
  }
  .video-feature video {
    border-radius: 12px;
  }

  .couple-grid { grid-template-columns: 1fr; gap: 32px; }
  .couple-divider { flex-direction: row; justify-content: center; width: 100%; }
  .couple-divider svg { display: none; }
  .couple-frame { width: 160px; height: 210px; }

  .event-cards { grid-template-columns: 1fr; }
  .event-center-deco { display: none; }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 145px;
    gap: 10px;
  }
  .gallery-item.item-layout-wide,
  .gallery-item.item-layout-featured,
  .gallery-item.item-landscape {
    grid-column: span 2;
  }

  .location-layout { grid-template-columns: 1fr; }

  .gift-grid { grid-template-columns: 1fr; max-width: 360px; margin-inline: auto; }

  .wishes-layout { grid-template-columns: 1fr; }
  .wish-list-box { max-height: 360px; }

  .rsvp-box { padding: 28px 20px; }
  .form-row-2 { grid-template-columns: 1fr; }
  .rsvp-guest-qr { width: min(78vw, 320px); height: min(78vw, 320px); }
  .rsvp-qr-hint { font-size: 0.72rem; }

  .timeline::before { left: 20px; }
  .tl-item { justify-content: flex-start; padding-left: 50px; }
  .tl-dot { left: 20px; }
  .tl-card { width: 100%; }
  .tl-right { margin-left: 0; }

  .countdown { gap: 6px; }
  .cd-item span { font-size: 1.8rem; min-width: 52px; padding: 4px 8px; }
  .cd-sep { font-size: 1.8rem; margin-bottom: 16px; }

  .lb-prev { left: 8px; width: 42px; height: 42px; }
  .lb-next { right: 8px; width: 42px; height: 42px; }
  .lb-close { top: 12px; right: 12px; width: 40px; height: 40px; }

  .music-float { bottom: 16px; right: 16px; }
}

@media (max-width: 480px) {
  .hero-names { font-size: clamp(2.6rem, 14vw, 3.5rem); }
  .video-feature {
    margin-bottom: 18px;
    border-radius: 10px;
  }
  .video-feature video {
    border-radius: 10px;
  }
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 130px;
    gap: 8px;
  }
  .gallery-item-title { font-size: 1rem; }
  .envelope { width: 92vw; }
  .rsvp-guest-qr { width: min(82vw, 280px); height: min(82vw, 280px); }
  .rsvp-qr-toggle { width: 100%; justify-content: center; }
}

/* ═══════════════════════════════════════════════════════════════════════════
   CUSTOM SECTION & EXHIBITION STYLES
   ═══════════════════════════════════════════════════════════════════════════ */
.sec-custom {
  position: relative;
  overflow: hidden;
}
.sec-custom.bg-cream {
  background: #fbf8f2;
}
.sec-custom.bg-dark {
  background: #14100c;
  color: #f7f3ec;
}
.sec-custom.bg-dark .sec-title,
.sec-custom.bg-dark .custom-content-card h3 {
  color: var(--gold-light);
}
.sec-custom.bg-dark .sec-eyebrow {
  color: var(--gold);
}
.sec-custom.bg-gold-tint {
  background: linear-gradient(180deg, rgba(201,169,110,0.06) 0%, rgba(201,169,110,0.14) 100%);
}

.custom-content-card {
  max-width: 760px;
  margin: 0 auto;
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(201,169,110,0.3);
  border-radius: var(--radius-lg);
  padding: 32px 36px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.04);
  text-align: center;
}
.sec-custom.bg-dark .custom-content-card {
  background: rgba(26,20,14,0.85);
  border-color: rgba(201,169,110,0.25);
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}
.custom-content-text {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--bark);
}
.sec-custom.bg-dark .custom-content-text {
  color: rgba(247,243,236,0.9);
}

.custom-hero-body {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  padding: 40px 20px;
}

.custom-quote-box {
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
  padding: 24px 30px;
  border-left: none;
  position: relative;
}
.custom-quote-box .quote-icon {
  font-family: 'Cormorant Garamond', serif;
  font-size: 3.5rem;
  line-height: 1;
  color: var(--gold);
  margin-bottom: -10px;
}
.custom-quote-box .quote-text {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.35rem;
  font-style: italic;
  line-height: 1.6;
  color: var(--bark);
  margin-bottom: 12px;
}
.sec-custom.bg-dark .custom-quote-box .quote-text {
  color: var(--gold-light);
}
.custom-quote-box .quote-author {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--gold-dark);
  text-transform: uppercase;
}
