/* ===== Mobile: continuous scroll sections ===== */
.page { display: block; }
.page.hidden { display: none !important; }
/* .active class kept for backward-compat but no longer controls visibility */
.rsvp-step { display: none !important; }
.rsvp-step.active {
  display: flex !important;
  flex-direction: column;
  flex: 1;
  min-height: 0;
  width: 100%;
  animation: stepIn 250ms ease-out;
}
.rsvp-step.active[data-rsvp-step="confirmation"] {
  flex: 0 0 auto;
}
.rsvp-step.active[data-rsvp-step="confirmation"] > div {
  flex: 0 0 auto;
}
.rsvp-step.active[data-rsvp-step="2"],
.rsvp-step.active[data-rsvp-step="3"] {
  flex: 1 1 0;
  min-height: 0;
}
.rsvp-step.active[data-rsvp-step="2"] > div,
.rsvp-step.active[data-rsvp-step="3"] > div {
  flex: 1 1 0;
  min-height: 0;
}

@keyframes stepIn {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ================================================================ */
/* Language dropdown — same size as trigger, compact options         */
/* ================================================================ */
.lang-dropdown {
  left: 0;
  right: 0;
  width: 100%;
  min-width: 5rem;
  gap: 0.375rem;
  padding: 0.5rem;
  box-shadow: 0 4px 24px rgba(0,0,0,0.4), 0 0 0 1px rgba(var(--c-primary-rgb),0.1);
}
.lang-option {
  min-height: unset;
  height: 2.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 1rem;
  font-size: 0.75rem;
  white-space: nowrap;
  font-weight: 500;
  color: rgba(255,255,255,0.9);
  background: rgba(var(--c-bg-rgb), 0.9);
  border: 1px solid rgba(var(--c-primary-rgb), 0.2);
  border-radius: 0.375rem;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}
.lang-option:hover,
.lang-option:focus-visible {
  border-color: rgba(var(--c-primary-rgb), 0.35);
  background: rgba(var(--c-bg-rgb), 0.95);
  color: var(--c-primary);
}
.lang-option:focus-visible {
  outline: 2px solid rgba(var(--c-primary-rgb), 0.4);
  outline-offset: 1px;
}
.lang-option.active {
  border-color: rgba(var(--c-primary-rgb), 0.45);
  background: rgba(var(--c-primary-rgb), 0.1);
  color: var(--c-primary);
}
#lang-toggle.expanded .lang-chevron {
  transform: rotate(180deg);
}

/* ================================================================ */
/* PREMIUM MOBILE UI (royal aesthetic, max-width: 1023px only)        */
/* ================================================================ */
@media (max-width: 1023px) {

  /* ----- 0. Music toggle — compact on mobile (icon + 2 bars) ----- */
  #music-toggle {
    height: 2.25rem;
    padding: 0 0.75rem;
    gap: 0.375rem;
    left: max(1rem, env(safe-area-inset-left, 0px));
    bottom: max(6rem, calc(env(safe-area-inset-bottom, 0px) + 1rem));
  }
  #music-toggle .music-icon {
    font-size: 1rem;
  }
  #music-toggle .music-label {
    display: none;
  }
  #music-toggle .music-eq {
    height: 0.75rem;
  }
  #music-toggle .music-eq .eq-bar {
    width: 1.5px;
    min-height: 2px;
  }
  #music-toggle .music-eq .eq-bar:nth-child(3),
  #music-toggle .music-eq .eq-bar:nth-child(4) {
    display: none;
  }
  #music-toggle.playing .music-eq .eq-bar:nth-child(1) {
    animation: eq1-mobile 0.8s ease-in-out infinite;
  }
  #music-toggle.playing .music-eq .eq-bar:nth-child(2) {
    animation: eq2-mobile 0.6s ease-in-out infinite 0.1s;
  }
  @keyframes eq1-mobile {
    0%, 100% { height: 2px; }
    50% { height: 10px; }
  }
  @keyframes eq2-mobile {
    0%, 100% { height: 4px; }
    50% { height: 8px; }
  }

  /* ----- 1. Seamless mobile background (no vertical strips on sides) ----- */
  #mobile-app {
    background: linear-gradient(180deg, var(--c-bg) 0%, var(--c-bg-alt) 50%, #0f0d09 100%);
    min-height: 100vh;
    width: 100%;
  }
  html, body {
    background: linear-gradient(180deg, var(--c-bg) 0%, var(--c-bg-alt) 50%, #0f0d09 100%) !important;
  }

  /* ----- 1. Background & Texture ----- */
  #mobile-app .mobile-home-main {
    background: linear-gradient(180deg, var(--c-bg) 0%, var(--c-bg-alt) 50%, #0f0d09 100%);
    box-shadow: inset 0 0 120px rgba(0,0,0,0.3);
  }
  #mobile-app .mobile-vignette {
    background: radial-gradient(ellipse 80% 50% at 50% 30%, transparent 40%, rgba(0,0,0,0.4) 100%);
    opacity: 0.6;
  }
  #mobile-app .mobile-gold-glow {
    width: 100%;
    height: 50vh;
    background: radial-gradient(ellipse 100% 100% at 50% 0%, rgba(var(--c-primary-rgb),0.15) 0%, transparent 60%);
    animation: mobileGlowDrift 12s ease-in-out infinite, mobileGlowPulse 4s ease-in-out infinite;
  }
  @keyframes mobileGlowDrift {
    0%, 100% { opacity: 1; transform: translate(-50%, 0) scale(1); }
    50% { opacity: 0.85; transform: translate(-50%, 4%) scale(1.05); }
  }
  @keyframes mobileGlowPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
  }

  /* ----- 2. Monogram (Regal emblem) ----- */
  #mobile-app .mobile-monogram {
    border: 2px solid rgba(var(--c-primary-rgb),0.5);
    box-shadow:
      0 0 20px rgba(var(--c-primary-rgb),0.15),
      inset 0 0 20px rgba(var(--c-primary-rgb),0.05),
      0 0 0 1px rgba(255,255,255,0.03);
  }
  #mobile-app .mobile-monogram::before {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: 9999px;
    border: 1px solid rgba(var(--c-primary-rgb),0.2);
    pointer-events: none;
  }
  #mobile-app .mobile-monogram #home-monogram {
    text-shadow: 0 0 12px rgba(var(--c-primary-rgb),0.3);
  }

  /* ----- 3. Hero Image Frame ----- */
  #mobile-app .mobile-hero-frame {
    border: 1px solid rgba(0,0,0,0.4);
    box-shadow:
      0 0 0 1px rgba(var(--c-primary-rgb),0.25),
      0 20px 50px rgba(0,0,0,0.5),
      inset 0 1px 0 rgba(var(--c-primary-rgb),0.1);
    border-radius: 2.5rem;
  }
  #mobile-app .mobile-hero-frame .absolute.inset-0.bg-gradient-to-t {
    background: linear-gradient(to top, rgba(0,0,0,0.75) 0%, transparent 40%, transparent 100%);
    opacity: 1;
  }
  #mobile-app .mobile-hero-frame .mobile-hero-date {
    text-shadow: 0 2px 8px rgba(0,0,0,0.8), 0 0 20px rgba(var(--c-primary-rgb),0.2);
  }
  #mobile-app .mobile-hero-frame:active img {
    transform: scale(1.02);
  }

  /* ----- 4. Typography ----- */
  #mobile-app .mobile-tagline {
    font-family: "Cormorant Garamond", serif;
    font-style: italic;
    font-size: 0.8rem;
    letter-spacing: 0.2em;
  }
  #mobile-app .mobile-couple-names {
    font-size: 2rem;
    letter-spacing: 0.02em;
    text-shadow: 0 2px 12px rgba(0,0,0,0.3);
  }
  #mobile-app .mobile-couple-names .gold-text-gradient {
    background-size: 200% auto;
  }
  #mobile-app [data-page="home"] #home-venue {
    font-size: 1.15rem;
    letter-spacing: 0.05em;
  }
  #mobile-app [data-page="home"] #home-city {
    letter-spacing: 0.15em;
  }

  /* ----- 5. Countdown Cards ----- */
  #mobile-app .mobile-countdown-card {
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(var(--c-primary-rgb),0.2);
    box-shadow:
      inset 0 1px 0 rgba(255,255,255,0.03),
      0 4px 20px rgba(0,0,0,0.2);
  }
  #mobile-app .mobile-countdown-card .font-serif {
    font-size: 1.25rem;
    text-shadow: 0 0 10px rgba(var(--c-primary-rgb),0.2);
  }
  #mobile-app .mobile-countdown-card span:last-child {
    letter-spacing: 0.2em;
    font-size: 8px;
  }

  /* ----- 6. CTA Buttons ----- */
  #mobile-app .mobile-cta-primary {
    height: 3.5rem;
    box-shadow: 0 0 25px rgba(var(--c-primary-rgb),0.35), 0 4px 20px rgba(0,0,0,0.2);
    background: linear-gradient(180deg, var(--c-primary) 0%, var(--c-primary-dark) 100%);
    animation: rsvpGlowPulse 3s ease-in-out infinite;
  }
  @keyframes rsvpGlowPulse {
    0%, 100% { box-shadow: 0 0 25px rgba(var(--c-primary-rgb),0.35), 0 4px 20px rgba(0,0,0,0.2); }
    50% { box-shadow: 0 0 35px rgba(var(--c-primary-rgb),0.5), 0 4px 20px rgba(0,0,0,0.2); }
  }
  #mobile-app .mobile-cta-primary:active {
    transform: scale(0.98);
  }
  #mobile-app .mobile-cta-secondary {
    height: 3.5rem;
    border-width: 1.5px;
    border-color: rgba(var(--c-primary-rgb),0.5);
  }
  #mobile-app .mobile-cta-secondary:active {
    background: rgba(var(--c-primary-rgb),0.08);
  }

  /* ----- 8. Schedule, Venue & Gallery ----- */
  #mobile-app .mobile-schedule-wrapper header p:first-of-type {
    font-family: "Cormorant Garamond", serif;
  }
  #mobile-app .mobile-schedule-wrapper #schedule-couple {
    font-family: "Playfair Display", serif;
    font-size: 1.75rem;
  }
  #mobile-app .mobile-schedule-divider {
    height: 2px;
    width: 2rem;
    background: linear-gradient(90deg, transparent, var(--c-primary), transparent);
  }
  #mobile-app .mobile-schedule-wrapper .glass-card {
    background: rgba(var(--c-bg-rgb), 0.6);
    border: 1px solid rgba(var(--c-primary-rgb),0.15);
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
  }
  #mobile-app .mobile-venue-wrapper .sticky h2 {
    font-family: "Playfair Display", serif;
  }
  #mobile-app .mobile-venue-hero-frame {
    border: 1px solid rgba(var(--c-primary-rgb),0.2);
    box-shadow: 0 8px 30px rgba(0,0,0,0.3), 0 0 20px rgba(var(--c-primary-rgb),0.05);
  }
  #mobile-app .venue-when-where,
  #mobile-app .venue-address-card {
    background: rgba(var(--c-bg-alt-rgb), 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
  }
  #mobile-app .venue-map-section {
    box-shadow: inset 0 0 0 1px rgba(var(--c-primary-rgb),0.08);
  }
  #mobile-app .venue-photos-strip [class*="rounded-xl"] {
    box-shadow: 0 4px 15px rgba(0,0,0,0.25);
    transition: transform 0.2s, box-shadow 0.2s;
  }
  #mobile-app .venue-photos-strip [class*="rounded-xl"]:active {
    transform: scale(0.98);
  }
  #mobile-app .mobile-gallery-wrapper .sticky h3 {
    font-family: "Playfair Display", serif;
  }
  /* Ensure horizontal carousel has height on iOS (aspect-ratio slides need a definite strip). */
  #mobile-app #gallery-track {
    min-height: min(52vw, 360px);
  }
  #mobile-app #gallery-track > div {
    border: 1px solid rgba(var(--c-primary-rgb),0.1);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
  }
  #mobile-app #gallery-track > div:active {
    transform: scale(0.98);
  }
  #mobile-app #gallery-track .gallery-slide-active {
    border-color: rgba(var(--c-primary-rgb),0.35);
    box-shadow: 0 4px 20px rgba(0,0,0,0.3), 0 0 20px rgba(var(--c-primary-rgb),0.08);
  }
  #mobile-app #gallery-dots .gallery-dot-inner,
  #mobile-app #gallery-dots button {
    transition: transform 0.2s, background 0.2s, width 0.2s;
  }

  /* ----- Mobile Well Wishes / Guestbook ----- */
  #mobile-app .mobile-guestbook-wrapper header h2 {
    font-family: "Playfair Display", serif;
  }
  #mobile-app .mobile-gb-entries-intro p {
    font-family: "Cormorant Garamond", serif;
    font-size: 1.125rem;
    letter-spacing: 0.02em;
    text-shadow:
      0 1px 2px rgba(0,0,0,0.4),
      0 0 24px rgba(var(--c-primary-rgb),0.15);
  }
  #mobile-app #mobile-gb-subheading {
    font-family: "Cormorant Garamond", serif;
  }
  #mobile-app .mobile-gb-form-card {
    background: rgba(var(--c-bg-rgb), 0.5);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(var(--c-primary-rgb),0.15);
    box-shadow:
      inset 0 1px 0 rgba(var(--c-primary-rgb),0.06),
      0 4px 20px rgba(0,0,0,0.15);
  }
  #mobile-app .mobile-gb-input {
    border-color: rgba(var(--c-primary-rgb),0.15);
    border-radius: 1rem;
  }
  #mobile-app .mobile-gb-input:focus {
    border-color: rgba(var(--c-primary-rgb),0.4);
    box-shadow: 0 0 0 2px rgba(var(--c-primary-rgb),0.15);
  }
  #mobile-app #mobile-gb-submit {
    height: 3.5rem;
    background: linear-gradient(180deg, var(--c-primary) 0%, var(--c-primary-dark) 100%);
    box-shadow: 0 0 25px rgba(var(--c-primary-rgb),0.35), 0 4px 20px rgba(0,0,0,0.2);
  }
  #mobile-app #mobile-gb-success {
    border-color: rgba(var(--c-primary-rgb),0.25);
    box-shadow: 0 0 20px rgba(var(--c-primary-rgb),0.1);
  }
  #mobile-app #mobile-gb-entries.glass-card {
    background: rgba(var(--c-bg-rgb), 0.6);
    border: 1px solid rgba(var(--c-primary-rgb),0.15);
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
  }
  #mobile-app .gb-entry-card {
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
  }

  /* ----- Mobile Our Story page ----- */
  #mobile-app .mobile-story-wrapper {
    background: linear-gradient(180deg, var(--c-bg) 0%, var(--c-bg-alt) 50%, #0f0d09 100%);
  }
  #mobile-app .mobile-story-wrapper header h2 {
    font-family: "Playfair Display", serif;
  }
  #mobile-app .mobile-story-img-frame {
    border: 1px solid rgba(0,0,0,0.3);
    box-shadow:
      0 0 0 1px rgba(var(--c-primary-rgb),0.2),
      0 12px 40px rgba(0,0,0,0.4),
      inset 0 1px 0 rgba(var(--c-primary-rgb),0.08);
  }
  #mobile-app #mobile-story-block .mobile-story-img-frame {
    border-radius: 2rem;
  }
  #mobile-app .mobile-couple-card .mobile-story-img-frame {
    border-radius: 1.5rem;
    box-shadow: 0 8px 25px rgba(0,0,0,0.35);
  }
  #mobile-app #mobile-story-heading {
    font-family: "Playfair Display", serif;
  }
  #mobile-app #mobile-story-quote {
    font-family: "Cormorant Garamond", serif;
  }
  #mobile-app .mobile-couple-card h3 {
    font-family: "Playfair Display", serif;
  }
  #mobile-app .mobile-couple-card .font-script {
    font-family: "Cormorant Garamond", serif;
  }
  /* Story block scroll reveal (disabled when prefers-reduced-motion) */
  #mobile-app #mobile-story-block,
  #mobile-app #mobile-couple-block {
    animation: mobileStoryReveal 0.5s ease-out both;
  }
  #mobile-app #mobile-couple-block {
    animation-delay: 0.15s;
  }
  @keyframes mobileStoryReveal {
    from { opacity: 0; transform: translateY(16px); }
    to { opacity: 1; transform: translateY(0); }
  }

  /* ----- 9. Micro-interactions & Animations ----- */
  #mobile-app .mobile-monogram {
    animation: mobileMonogramShine 8s ease-in-out infinite;
  }

  /* Card transitions (tap replaces hover on mobile) */
  #mobile-app .mobile-schedule-wrapper .glass-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
  #mobile-app .mobile-schedule-wrapper .glass-card:active {
    transform: scale(0.98);
  }
  #mobile-app #mobile-registry-list > * {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
  #mobile-app #mobile-registry-list > *:active {
    transform: scale(0.98);
  }
  #mobile-app .mobile-countdown-card {
    transition: transform 0.25s ease;
  }
  #mobile-app .mobile-countdown-card:active {
    transform: scale(0.98);
  }

  /* CTA pulse glow (matches desktop feel) */
  #mobile-app .mobile-cta-wrapper .btn-open-rsvp,
  #mobile-app .mobile-cta-primary {
    animation: mobileCtaPulse 3s ease-in-out infinite;
  }
  @keyframes mobileCtaPulse {
    0%, 100% { box-shadow: 0 0 20px rgba(var(--c-primary-rgb),0.3); }
    50% { box-shadow: 0 0 35px rgba(var(--c-primary-rgb),0.45), 0 0 60px rgba(var(--c-primary-rgb),0.12); }
  }
  @keyframes mobileMonogramShine {
    0%, 100% { box-shadow: 0 0 20px rgba(var(--c-primary-rgb),0.15), inset 0 0 20px rgba(var(--c-primary-rgb),0.05), 0 0 0 1px rgba(255,255,255,0.03); }
    50% { box-shadow: 0 0 30px rgba(var(--c-primary-rgb),0.25), inset 0 0 25px rgba(var(--c-primary-rgb),0.08), 0 0 0 1px rgba(255,255,255,0.05); }
  }

  /* ----- 10. Scroll & Polish ----- */
  #mobile-app {
    -webkit-overflow-scrolling: touch;
  }

  /* Section separators for continuous scroll */
  #mobile-app .page + .page:not(.hidden) {
    border-top: 1px solid rgba(var(--c-primary-rgb), 0.08);
  }

  /* Last section safe-area bottom padding */
  #mobile-app .page:last-child {
    padding-bottom: max(2rem, env(safe-area-inset-bottom, 2rem));
  }
}

/* ===== Error state ===== */
.field-error { border-color: #ef4444 !important; }
.error-message { color: #ef4444; font-size: 0.75rem; margin-top: 0.25rem; padding-left: 1.5rem; }

/* ===== Spinner ===== */
.spinner {
  width: 1.25rem; height: 1.25rem;
  border: 2px solid rgba(var(--c-bg-rgb),0.3);
  border-top-color: var(--c-bg);
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ===== Focus ===== */
:focus-visible { outline: 2px solid var(--c-primary); outline-offset: 2px; }
button:focus:not(:focus-visible), a:focus:not(:focus-visible), input:focus:not(:focus-visible) { outline: none; }
button:active:not(:disabled), a:active { transform: scale(0.98); }

/* ===== Reduced motion ===== */
@media (prefers-reduced-motion: reduce) {
  .rsvp-step.active { animation: none !important; }
  .gold-text-gradient { animation: none !important; }
  .animate-sparkle { animation: none !important; opacity: 0.5; }
  .mobile-monogram { animation: none !important; }
  #mobile-app .mobile-gold-glow { animation: none !important; }
  #mobile-app .mobile-cta-wrapper .btn-open-rsvp,
  #mobile-app .mobile-cta-primary { animation: none !important; }
  #mobile-app #mobile-story-block,
  #mobile-app #mobile-couple-block { animation: none !important; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ================================================================ */
/* DESKTOP ANIMATIONS                                                */
/* ================================================================ */
@media (min-width: 1024px) {

  /* Lenis overrides */
  html.lenis, html.lenis body { height: auto; }
  .lenis.lenis-smooth { scroll-behavior: auto !important; }
  html { scroll-behavior: smooth; }

  /* ----- Nav: transparent → solid on scroll ----- */
  #desktop-nav {
    background: transparent !important;
    border-color: transparent !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    box-shadow: none !important;
    transition:
      background 0.5s cubic-bezier(0.4,0,0.2,1),
      border-color 0.5s cubic-bezier(0.4,0,0.2,1),
      backdrop-filter 0.5s cubic-bezier(0.4,0,0.2,1),
      box-shadow 0.5s cubic-bezier(0.4,0,0.2,1);
  }
  #desktop-nav.nav-scrolled {
    background: rgba(var(--c-bg-rgb), 0.85) !important;
    border-color: rgba(var(--c-primary-rgb),0.15) !important;
    backdrop-filter: blur(16px) !important;
    -webkit-backdrop-filter: blur(16px) !important;
    box-shadow: 0 4px 30px rgba(0,0,0,0.15) !important;
  }

  /* ----- Desktop gallery bento grid ----- */
  #d-gallery-grid > div:nth-child(1),
  #d-gallery-grid > div:nth-child(4) {
    grid-row: span 2;
  }

  /* ----- Event timeline card hover lift ----- */
  #d-events-timeline .glass-card {
    transition: transform 0.4s cubic-bezier(0.4,0,0.2,1),
                border-color 0.4s,
                background 0.4s,
                box-shadow 0.4s;
  }
  #d-events-timeline .glass-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 0 30px rgba(var(--c-primary-rgb), 0.15), 0 16px 32px rgba(0,0,0,0.2);
  }

  /* ----- Timeline dot pulse ----- */
  .timeline-dot-ring {
    animation: timelinePulse 3s ease-in-out infinite;
  }
  @keyframes timelinePulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(var(--c-primary-rgb), 0.3); }
    50% { box-shadow: 0 0 0 6px rgba(var(--c-primary-rgb), 0); }
  }

  /* ----- Section numbers ----- */
  .section-number {
    user-select: none;
    pointer-events: none;
  }

  /* ----- Gallery image hover glow + lightbox cursor ----- */
  #d-gallery-grid > div {
    cursor: pointer;
    transition: box-shadow 0.4s, border-color 0.4s;
  }
  #d-gallery-grid > div:hover {
    box-shadow: 0 0 25px rgba(var(--c-primary-rgb), 0.15);
    border-color: rgba(var(--c-primary-rgb), 0.3);
  }

  /* ----- Venue image hover ----- */
  #d-venue-images > div {
    transition: box-shadow 0.4s;
  }
  #d-venue-images > div:hover {
    box-shadow: 0 0 20px rgba(var(--c-primary-rgb), 0.12);
  }

  /* ----- Marquee ----- */
  .marquee-track {
    animation: marqueeScroll 28s linear infinite;
    will-change: transform;
  }
  .marquee-track:hover {
    animation-play-state: paused;
  }
  @keyframes marqueeScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
  }

  /* ----- Registry card hover ----- */
  #d-registry-list > a {
    transition: transform 0.35s cubic-bezier(0.4,0,0.2,1),
                border-color 0.35s,
                background 0.35s,
                box-shadow 0.35s;
  }
  #d-registry-list > a:hover {
    transform: translateY(-3px);
    border-color: rgba(var(--c-primary-rgb), 0.25);
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
  }

  /* ----- CTA button pulse glow ----- */
  #d-cta .btn-open-rsvp {
    animation: ctaPulse 3s ease-in-out infinite;
  }
  @keyframes ctaPulse {
    0%, 100% { box-shadow: 0 0 20px rgba(var(--c-primary-rgb),0.3); }
    50% { box-shadow: 0 0 40px rgba(var(--c-primary-rgb),0.5), 0 0 80px rgba(var(--c-primary-rgb),0.15); }
  }

  /* ----- Gold divider line ----- */
  .gold-line {
    transform-origin: center;
  }
}
