/* ==========================================================================
   Florah & Meltus Wedding — Regal Overhaul (Bootstrap 5 + Official Palette)
   Official Palette:
   - Wine Burgundy: #4B0000
   - Mustard Yellow: #FFCE1B
   - Ivory White:   #FFFFE3
   ========================================================================== */

:root {
    --wine-burgundy: #4B0000;
    --wine-burgundy-dark: #2E0000;
    --wine-burgundy-light: #6B0F1A;
    --ivory-white: #FFFFE3;
    --ivory-cream: #FBF9D8;
    --ivory-champagne: #F5F1C6;
    --mustard-yellow: #FFCE1B;
    --mustard-gold: #D9A700;
    --mustard-light: #FFE066;
    --text-dark: #261212;
    --text-light: #FFFFE3;
    --shadow: rgba(75, 0, 0, 0.14);
    --bs-body-font-family: 'DM Sans', sans-serif;
    --bs-body-bg: #FFFFE3;
    --bs-body-color: #261212;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 5rem;
}

body {
    font-family: 'DM Sans', sans-serif;
    background: var(--ivory-white);
    color: var(--text-dark);
    line-height: 1.7;
    overflow-x: hidden;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    inset: 0;
    background:
        radial-gradient(ellipse at 10% 25%, rgba(75, 0, 0, 0.04), transparent 40%),
        radial-gradient(ellipse at 90% 75%, rgba(255, 206, 27, 0.08), transparent 40%),
        var(--ivory-white);
    z-index: -3;
    pointer-events: none;
}

h1, h2, h3, h4 {
    font-family: 'Cormorant Garamond', serif;
}

::selection {
    background: var(--mustard-yellow);
    color: var(--wine-burgundy);
}

::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--ivory-cream);
}

::-webkit-scrollbar-thumb {
    background: var(--wine-burgundy);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--wine-burgundy-dark);
}

/* ==========================================================================
   Bootstrap 5 Form & Control Overrides
   ========================================================================== */
.form-label {
    color: var(--wine-burgundy);
    font-weight: 600;
    font-size: 0.88rem;
    letter-spacing: 0.02em;
    margin-bottom: 0.35rem;
}

.label-hint {
    font-weight: 400;
    font-size: 0.78rem;
    color: var(--wine-burgundy-light);
    opacity: 0.75;
}

.form-control,
.form-select {
    min-height: 46px;
    padding: 0.65rem 0.95rem;
    border: 1.5px solid rgba(75, 0, 0, 0.16);
    border-radius: 10px;
    background-color: #ffffff;
    color: var(--text-dark);
    font-size: 0.94rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--wine-burgundy);
    box-shadow: 0 0 0 0.22rem rgba(255, 206, 27, 0.34);
    background-color: #ffffff;
    color: var(--text-dark);
}

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

.form-check-input {
    width: 1.15rem;
    height: 1.15rem;
    margin-top: 0.2rem;
    border-color: rgba(75, 0, 0, 0.35);
    cursor: pointer;
}

.form-check-input:checked {
    background-color: var(--wine-burgundy);
    border-color: var(--wine-burgundy);
}

.form-check-input:focus {
    border-color: var(--wine-burgundy);
    box-shadow: 0 0 0 0.2rem rgba(255, 206, 27, 0.32);
}

.form-check-label {
    color: var(--text-dark);
    font-size: 0.88rem;
    cursor: pointer;
}

.form-help,
.form-text {
    color: var(--text-dark);
    font-size: 0.78rem;
    line-height: 1.45;
    opacity: 0.78;
}

/* ==========================================================================
   Royal Velvet Curtain & Golden Wax Seal Loading Screen (~3s)
   ========================================================================== */
.loading-screen {
    position: fixed;
    inset: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    overflow: hidden;
    pointer-events: all;
}

.curtain-panel {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 51%;
    background:
        repeating-linear-gradient(
            90deg,
            rgba(0, 0, 0, 0.16) 0px,
            rgba(255, 206, 27, 0.03) 26px,
            rgba(0, 0, 0, 0.22) 52px
        ),
        radial-gradient(circle at 50% 35%, var(--wine-burgundy-light) 0%, var(--wine-burgundy) 55%, var(--wine-burgundy-dark) 100%);
    transition: transform 1.45s cubic-bezier(0.77, 0, 0.175, 1);
    z-index: 1;
}

.curtain-left {
    left: 0;
    box-shadow: 12px 0 40px rgba(0, 0, 0, 0.45);
}

.curtain-right {
    right: 0;
    box-shadow: -12px 0 40px rgba(0, 0, 0, 0.45);
}

.loading-screen.opening .curtain-left {
    transform: translateX(-104%);
}

.loading-screen.opening .curtain-right {
    transform: translateX(104%);
}

.curtain-centerpiece {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1.5rem;
    transition: opacity 0.55s ease, transform 0.65s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.loading-screen.opening .curtain-centerpiece {
    opacity: 0;
    transform: scale(1.16);
}

.loading-screen.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

.wax-seal-badge {
    width: 126px;
    height: 126px;
    border-radius: 50%;
    padding: 10px;
    background: radial-gradient(circle, var(--ivory-white) 0%, #f5eab8 78%, var(--mustard-yellow) 100%);
    border: 3px solid var(--mustard-yellow);
    box-shadow:
        0 0 0 6px rgba(255, 206, 27, 0.18),
        0 18px 45px rgba(0, 0, 0, 0.55);
    display: flex;
    align-items: center;
    justify-content: center;
    animation: sealPulse 2s ease-in-out infinite;
}

.wax-seal-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

@keyframes sealPulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 0 6px rgba(255, 206, 27, 0.18), 0 18px 45px rgba(0, 0, 0, 0.55);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 0 0 12px rgba(255, 206, 27, 0.28), 0 22px 55px rgba(0, 0, 0, 0.65);
    }
}

.loading-couple {
    font-family: 'Great Vibes', 'Cormorant Garamond', cursive;
    font-size: clamp(2.2rem, 5vw, 3.1rem);
    color: var(--mustard-yellow);
    margin: 1.15rem 0 0.15rem;
    text-shadow: 0 4px 16px rgba(0, 0, 0, 0.45);
}

.loading-text {
    color: var(--ivory-white);
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.05rem;
    text-transform: uppercase;
    letter-spacing: 0.24em;
    margin: 0;
    opacity: 0.9;
}

.loading-bar {
    width: 190px;
    height: 3px;
    background: rgba(255, 255, 227, 0.2);
    margin-top: 1.1rem;
    border-radius: 999px;
    overflow: hidden;
}

.loading-bar-inner {
    width: 0%;
    height: 100%;
    background: linear-gradient(90deg, var(--mustard-yellow), #fff3a1, var(--mustard-yellow));
    animation: loadingProgress 2s ease-in-out forwards;
}

@keyframes loadingProgress {
    0% { width: 0%; }
    100% { width: 100%; }
}

/* ==========================================================================
   Scroll Progress, Floating Hearts/Gold Sparkles Rain & Back to Top
   ========================================================================== */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: linear-gradient(90deg, var(--mustard-yellow), var(--wine-burgundy), var(--mustard-yellow));
    z-index: 9999;
    transition: width 0.1s ease;
}

.hearts-rain {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 2;
    overflow: hidden;
}

.rain-heart {
    position: absolute;
    top: -32px;
    opacity: 0.68;
    filter: drop-shadow(0 3px 6px rgba(75, 0, 0, 0.16));
    animation: rainHeart 3.6s ease-in-out forwards;
}

.rain-heart svg {
    width: 100%;
    height: 100%;
    display: block;
}

@keyframes rainHeart {
    0% {
        transform: translateY(-30px) translateX(0) rotate(0deg) scale(0.4);
        opacity: 0;
    }
    15% {
        opacity: 0.72;
        transform: translateY(12vh) translateX(8px) rotate(45deg) scale(1);
    }
    60% {
        opacity: 0.62;
        transform: translateY(58vh) translateX(-10px) rotate(190deg) scale(0.95);
    }
    100% {
        transform: translateY(104vh) translateX(12px) rotate(360deg) scale(0.75);
        opacity: 0;
    }
}

.back-to-top {
    position: fixed;
    right: 1.25rem;
    bottom: 1.25rem;
    width: 46px;
    height: 46px;
    background: linear-gradient(135deg, var(--wine-burgundy) 0%, var(--wine-burgundy-dark) 100%);
    color: var(--mustard-yellow);
    border: 1px solid rgba(255, 206, 27, 0.45);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.35s ease;
    z-index: 1000;
    box-shadow: 0 6px 20px rgba(75, 0, 0, 0.28);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    transform: translateY(-4px);
    background: var(--mustard-yellow);
    color: var(--wine-burgundy);
    box-shadow: 0 10px 26px rgba(75, 0, 0, 0.36);
}

.back-to-top svg {
    width: 22px;
    height: 22px;
    fill: currentColor;
}

/* ==========================================================================
   Navigation (Bootstrap Navbar + Regal Monogram Brand)
   ========================================================================== */
.navbar {
    padding: 0.75rem 0;
    background: rgba(75, 0, 0, 0.88);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(255, 206, 27, 0.22);
    transition: background-color 0.35s ease, padding 0.35s ease, box-shadow 0.35s ease;
}

.navbar.scrolled {
    padding: 0.55rem 0;
    background: rgba(255, 255, 227, 0.96);
    border-bottom: 1px solid rgba(75, 0, 0, 0.12);
    box-shadow: 0 6px 24px rgba(75, 0, 0, 0.08);
}

.nav-monogram-icon {
    width: 34px;
    height: 34px;
    object-fit: contain;
    border-radius: 50%;
    background: var(--ivory-white);
    padding: 3px;
    border: 1px solid rgba(255, 206, 27, 0.65);
}

.nav-brand,
.nav-brand:hover,
.nav-brand:focus {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.5rem;
    color: var(--ivory-white);
    font-weight: 600;
    text-decoration: none;
    letter-spacing: 0.05em;
}

.navbar.scrolled .nav-brand {
    color: var(--wine-burgundy);
}

.nav-links {
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-links a {
    text-decoration: none;
    color: var(--ivory-white);
    font-weight: 500;
    font-size: 0.86rem;
    letter-spacing: 0.05em;
    position: relative;
    padding: 0.35rem 0;
    display: inline-block;
    transition: color 0.25s ease;
}

.navbar.scrolled .nav-links a {
    color: var(--wine-burgundy);
}

.nav-links a:not(.nav-rsvp-pill)::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--mustard-yellow);
    transition: width 0.25s ease;
}

.nav-links a:hover,
.nav-links a[aria-current="location"] {
    color: var(--mustard-yellow);
}

.navbar.scrolled .nav-links a:hover,
.navbar.scrolled .nav-links a[aria-current="location"] {
    color: var(--wine-burgundy-light);
}

.nav-links a:not(.nav-rsvp-pill):hover::after,
.nav-links a:not(.nav-rsvp-pill)[aria-current="location"]::after {
    width: 100%;
}

.nav-rsvp-pill {
    padding: 0.42rem 1.15rem !important;
    border-radius: 999px;
    background: var(--mustard-yellow);
    color: var(--wine-burgundy) !important;
    font-weight: 700 !important;
    letter-spacing: 0.08em !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.16);
    transition: transform 0.2s ease, background-color 0.2s ease !important;
}

.nav-rsvp-pill:hover {
    transform: translateY(-1px);
    background: var(--mustard-light);
}

.navbar.scrolled .nav-rsvp-pill {
    background: var(--wine-burgundy);
    color: var(--ivory-white) !important;
}

.nav-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 0.3rem;
    width: 42px;
    height: 42px;
    padding: 0;
    border: 1px solid rgba(255, 206, 27, 0.55);
    border-radius: 10px;
    background: rgba(255, 255, 227, 0.08);
    box-shadow: none !important;
}

.nav-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    border-radius: 999px;
    background: var(--ivory-white);
    transition: transform 0.25s ease, opacity 0.25s ease;
}

.navbar.scrolled .nav-toggle {
    border-color: rgba(75, 0, 0, 0.25);
    background: rgba(75, 0, 0, 0.05);
}

.navbar.scrolled .nav-toggle span {
    background: var(--wine-burgundy);
}

@media (max-width: 991.98px) {
    .navbar-collapse {
        margin-top: 0.65rem;
        padding: 0.85rem 1.1rem;
        border-radius: 14px;
        background: var(--ivory-white);
        border: 1px solid rgba(75, 0, 0, 0.14);
        box-shadow: 0 14px 32px rgba(46, 0, 0, 0.2);
    }

    .nav-links a,
    .navbar.scrolled .nav-links a {
        color: var(--wine-burgundy);
        display: block;
        padding: 0.48rem 0;
    }

    .nav-rsvp-pill {
        display: inline-block !important;
        margin-top: 0.35rem;
        background: var(--wine-burgundy);
        color: var(--ivory-white) !important;
    }
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
    min-height: min(880px, 100svh);
    padding: 6.25rem 1rem 4.25rem;
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(ellipse at 50% 35%, rgba(255, 206, 27, 0.14), transparent 48%),
        linear-gradient(155deg, var(--wine-burgundy-light) 0%, var(--wine-burgundy) 48%, var(--wine-burgundy-dark) 100%);
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 12% 20%, rgba(255, 255, 227, 0.08), transparent 28%),
        radial-gradient(circle at 88% 80%, rgba(255, 206, 27, 0.14), transparent 32%);
    pointer-events: none;
}

.hero-crest-badge {
    position: relative;
    z-index: 10;
    width: 78px;
    height: 78px;
    border-radius: 50%;
    padding: 6px;
    background: var(--ivory-white);
    border: 2px solid var(--mustard-yellow);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35);
}

.hero-crest-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.hero-invitation-artwork {
    position: relative;
    z-index: 10;
    width: min(100%, 960px);
    padding: clamp(0.45rem, 1.2vw, 0.8rem);
    border: 2px solid rgba(255, 206, 27, 0.85);
    border-radius: 20px;
    background: var(--ivory-white);
    box-shadow:
        0 0 0 6px rgba(255, 206, 27, 0.12),
        0 26px 75px rgba(20, 0, 0, 0.48);
}

.hero-invitation-artwork img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 14px;
}

.hero-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0.78rem 1.85rem;
    border-radius: 999px;
    font-size: 0.88rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-decoration: none;
    transition: all 0.25s ease;
}

.hero-cta-primary {
    background: var(--mustard-yellow);
    color: var(--wine-burgundy);
    border: 1px solid var(--mustard-yellow);
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.25);
}

.hero-cta-primary:hover {
    transform: translateY(-2px);
    background: var(--mustard-light);
    color: var(--wine-burgundy-dark);
}

.hero-cta-outline {
    background: rgba(255, 255, 227, 0.08);
    color: var(--ivory-white);
    border: 1px solid rgba(255, 206, 27, 0.75);
}

.hero-cta-outline:hover {
    transform: translateY(-2px);
    background: var(--ivory-white);
    color: var(--wine-burgundy);
}

.scroll-indicator {
    position: absolute;
    bottom: 1.15rem;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
    z-index: 10;
}

.scroll-indicator svg {
    width: 28px;
    height: 28px;
    fill: var(--mustard-yellow);
    opacity: 0.85;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-10px); }
    60% { transform: translateX(-50%) translateY(-5px); }
}

/* ==========================================================================
   Scroll Reveal & Section Header Styles
   ========================================================================== */
.scroll-reveal,
.scroll-reveal-left,
.zoom-in {
    opacity: 0;
    transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.scroll-reveal {
    transform: translateY(28px);
}

.scroll-reveal-left {
    transform: translateY(22px);
}

.zoom-in {
    transform: scale(0.96);
}

.scroll-reveal.visible,
.scroll-reveal-left.visible,
.zoom-in.visible {
    opacity: 1;
    transform: none;
}

.stagger-children > * {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 0.55s ease, transform 0.55s ease;
}

.stagger-children.visible > *:nth-child(1) { transition-delay: 0.06s; }
.stagger-children.visible > *:nth-child(2) { transition-delay: 0.12s; }
.stagger-children.visible > *:nth-child(3) { transition-delay: 0.18s; }
.stagger-children.visible > *:nth-child(4) { transition-delay: 0.24s; }
.stagger-children.visible > *:nth-child(5) { transition-delay: 0.30s; }

.stagger-children.visible > * {
    opacity: 1;
    transform: translateY(0);
}

.section-kicker {
    display: block;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--wine-burgundy-light);
    margin-bottom: 0.35rem;
}

.section-kicker-gold {
    color: var(--mustard-yellow);
}

.section-title {
    margin-bottom: 0.85rem;
    color: var(--wine-burgundy);
    font-size: clamp(2.2rem, 4.5vw, 3.25rem);
    font-weight: 600;
    line-height: 1.12;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    display: block;
    width: 64px;
    height: 2px;
    margin: 0.5rem auto 0;
    background: linear-gradient(90deg, transparent, var(--mustard-yellow), transparent);
}

.section-subtitle {
    font-size: 1rem;
    color: var(--text-dark);
    opacity: 0.78;
    font-style: italic;
}

/* ==========================================================================
   Scripture Section
   ========================================================================== */
.scripture-section {
    background: linear-gradient(135deg, var(--wine-burgundy) 0%, var(--wine-burgundy-dark) 100%);
    position: relative;
    overflow: hidden;
    border-top: 2px solid rgba(255, 206, 27, 0.35);
    border-bottom: 2px solid rgba(255, 206, 27, 0.35);
}

/* Couple photo framed by the garden arch, fading into the scripture block */
.scripture-photo {
    position: relative;
    margin: 0;
    height: clamp(420px, 78vh, 820px);
    overflow: hidden;
}

.scripture-photo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 49% 40%;
}

.scripture-photo::after {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(180deg,
            rgba(58, 0, 0, 0.18) 0%,
            rgba(58, 0, 0, 0) 22%,
            rgba(58, 0, 0, 0) 62%,
            rgba(58, 0, 0, 0.6) 84%,
            var(--wine-burgundy-dark) 100%);
}

.scripture-with-photo {
    background: var(--wine-burgundy-dark);
}

.scripture-with-photo .scripture-content {
    position: relative;
    z-index: 1;
    margin-top: -5.5rem;
}

.scripture-with-photo .scripture-text {
    text-shadow: 0 2px 14px rgba(40, 0, 0, 0.55);
}

@media (max-width: 767.98px) {
    .scripture-photo {
        height: auto;
        aspect-ratio: 3 / 4;
        max-height: 88vh;
    }

    .scripture-photo img {
        object-position: 50% 35%;
    }

    .scripture-with-photo .scripture-content {
        margin-top: -2.25rem;
    }
}

.scripture-ornaments {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--mustard-yellow);
    font-size: 0.85rem;
    letter-spacing: 0.5em;
    opacity: 0.85;
}

.scripture-ornaments span:first-child,
.scripture-ornaments span:last-child {
    display: block;
    width: 56px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--mustard-yellow), transparent);
}

.scripture-text {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(1.5rem, 3.8vw, 2.3rem);
    font-style: italic;
    font-weight: 400;
    line-height: 1.5;
    color: var(--ivory-white);
    margin: 0 0 0.85rem;
}

.scripture-cite {
    display: block;
    font-family: 'DM Sans', sans-serif;
    font-size: 0.76rem;
    font-style: normal;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--mustard-yellow);
}

.scripture-version {
    opacity: 0.8;
    font-weight: 400;
}

/* ==========================================================================
   Countdown Section
   ========================================================================== */
.countdown-section {
    overflow: hidden;
    background:
        radial-gradient(ellipse at 12% 20%, rgba(255, 206, 27, 0.12), transparent 38%),
        radial-gradient(ellipse at 88% 82%, rgba(75, 0, 0, 0.07), transparent 40%),
        var(--ivory-cream);
}

.countdown-wrapper {
    max-width: 960px;
}

.countdown-panel {
    position: relative;
    overflow: hidden;
    padding: clamp(1.75rem, 4.5vw, 3.4rem) clamp(1rem, 4vw, 2.75rem);
    border: 2px solid rgba(255, 206, 27, 0.45);
    border-radius: 26px;
    background:
        radial-gradient(ellipse at 50% -20%, rgba(255, 206, 27, 0.22), transparent 58%),
        linear-gradient(145deg, var(--wine-burgundy-light) 0%, var(--wine-burgundy) 55%, var(--wine-burgundy-dark) 100%);
    box-shadow: 0 24px 60px rgba(75, 0, 0, 0.22);
}

.countdown-kicker {
    display: inline-block;
    margin-bottom: 0.45rem;
    color: var(--mustard-yellow);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
}

.countdown-title {
    margin: 0;
    color: var(--ivory-white);
    font-size: clamp(2rem, 4.6vw, 3.25rem);
    font-weight: 500;
    line-height: 1.08;
}

.countdown-date {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 0.28rem;
    margin-top: 0.75rem;
    color: rgba(255, 255, 227, 0.85);
    font-size: 0.92rem;
    letter-spacing: 0.04em;
}

.countdown-couple {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.countdown-couple span {
    color: var(--mustard-yellow);
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.25rem;
}

.countdown-date i {
    width: 32px;
    height: 1px;
    background: var(--mustard-yellow);
}

.countdown-timer {
    max-width: 740px;
}

.countdown-box {
    display: flex;
    min-height: clamp(86px, 13vw, 128px);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 0.25rem;
    border: 1.5px solid rgba(255, 206, 27, 0.65);
    border-radius: clamp(12px, 2vw, 18px);
    background: var(--ivory-white);
    box-shadow: 0 10px 26px rgba(24, 0, 0, 0.22);
    color: var(--wine-burgundy);
    text-align: center;
    transition: transform 0.25s ease;
}

.countdown-box:hover {
    transform: translateY(-3px);
}

.countdown-number {
    color: var(--wine-burgundy);
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(1.7rem, 6.2vw, 3.6rem);
    font-variant-numeric: tabular-nums;
    font-weight: 600;
    line-height: 0.95;
}

.countdown-number.is-ticking {
    animation: countdown-tick 520ms cubic-bezier(0.2, 0.75, 0.25, 1);
}

@keyframes countdown-tick {
    0% { opacity: 0.35; transform: translateY(8px) scale(0.95); }
    65% { opacity: 1; transform: translateY(-2px) scale(1.02); }
    100% { opacity: 1; transform: translateY(0) scale(1); }
}

.countdown-label {
    margin-top: 0.4rem;
    color: var(--wine-burgundy-light);
    font-size: clamp(0.52rem, 1.5vw, 0.72rem);
    font-weight: 700;
    letter-spacing: clamp(0.03em, 0.35vw, 0.12em);
    text-transform: uppercase;
}

.countdown-footnote {
    margin-top: 1.35rem;
    color: rgba(255, 255, 227, 0.86);
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.2rem;
    font-style: italic;
}

.countdown-arrived {
    margin: 0;
    color: var(--ivory-white);
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(1.8rem, 5vw, 3rem);
    text-align: center;
}

.countdown-arrived span {
    color: var(--mustard-yellow);
}

/* ==========================================================================
   Unified Schedule of Events — Single 5-Stop Timeline + Venue Pair Bar
   ========================================================================== */
.schedule-section {
    background: var(--ivory-white);
    position: relative;
}

.schedule-container {
    max-width: 960px;
}

.order-timeline {
    position: relative;
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 0.75rem;
    padding: 0.75rem 0;
}

/* Continuous gold connecting axis across the 6 emblems on desktop */
.order-timeline::before {
    content: '';
    position: absolute;
    top: 53px;
    left: 8%;
    right: 8%;
    height: 2px;
    background: linear-gradient(
        90deg,
        var(--mustard-yellow) 0%,
        var(--wine-burgundy) 50%,
        var(--mustard-yellow) 100%
    );
    z-index: 0;
}

.order-step {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.order-emblem-ring {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    padding: 10px;
    background: radial-gradient(circle, #ffffff 0%, var(--ivory-white) 85%);
    border: 2.5px solid var(--mustard-yellow);
    box-shadow:
        0 0 0 6px var(--ivory-white),
        0 10px 24px rgba(75, 0, 0, 0.14);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.85rem;
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.order-step:hover .order-emblem-ring {
    transform: translateY(-5px) scale(1.05);
    border-color: var(--wine-burgundy);
    box-shadow:
        0 0 0 6px var(--ivory-white),
        0 14px 30px rgba(75, 0, 0, 0.22);
}

.order-emblem-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.order-time {
    display: inline-block;
    padding: 0.2rem 0.7rem;
    border-radius: 999px;
    background: var(--wine-burgundy);
    color: var(--mustard-yellow);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    margin-bottom: 0.35rem;
}

.order-name {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.55rem;
    font-weight: 700;
    color: var(--wine-burgundy);
    margin: 0;
    line-height: 1.15;
}

.order-name-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.order-cash-bar-tag {
    display: inline-block;
    padding: 0.15rem 0.55rem;
    border-radius: 999px;
    background: rgba(255, 206, 27, 0.22);
    border: 1px solid var(--mustard-yellow);
    color: var(--wine-burgundy);
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-top: 0.25rem;
    white-space: nowrap;
}

.order-step.is-live-now .order-emblem-ring {
    border-color: var(--wine-burgundy);
    box-shadow: 0 0 0 6px rgba(255, 206, 27, 0.45), 0 12px 28px rgba(75, 0, 0, 0.25);
    transform: scale(1.06);
}

.order-live-badge {
    display: inline-block;
    margin-top: 0.3rem;
    padding: 0.15rem 0.6rem;
    border-radius: 999px;
    background: #1b5e20;
    color: #ffffff;
    font-size: 0.66rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

/* Mobile & Tablet: Compact Vertical Spine */
@media (max-width: 767.98px) {
    .order-timeline {
        grid-template-columns: 1fr;
        gap: 0.85rem;
        max-width: 440px;
        margin-left: auto;
        margin-right: auto;
    }

    .order-timeline::before {
        top: 24px;
        bottom: 24px;
        left: 33px;
        right: auto;
        width: 2px;
        height: auto;
        background: linear-gradient(
            180deg,
            var(--mustard-yellow) 0%,
            var(--wine-burgundy) 50%,
            var(--mustard-yellow) 100%
        );
    }

    .order-step {
        flex-direction: row;
        text-align: left;
        gap: 1rem;
        background: #ffffff;
        padding: 0.65rem 1rem 0.65rem 0.55rem;
        border-radius: 16px;
        border: 1px solid rgba(75, 0, 0, 0.1);
        box-shadow: 0 6px 18px rgba(75, 0, 0, 0.05);
    }

    .order-emblem-ring {
        width: 58px;
        height: 58px;
        padding: 6px;
        margin-bottom: 0;
        flex-shrink: 0;
        box-shadow: 0 4px 12px rgba(75, 0, 0, 0.12);
    }

    .order-step-meta {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        gap: 0.5rem;
    }

    .order-name-wrap {
        order: 1;
        align-items: flex-start;
    }

    .order-name {
        order: 1;
        font-size: 1.45rem;
    }

    .order-time {
        order: 2;
        margin-bottom: 0;
    }
}

/* Venues Bar below the timeline */
.venue-pill-card {
    padding: 1rem 1.25rem;
    border-radius: 16px;
    background: #ffffff;
    border: 1px solid rgba(75, 0, 0, 0.12);
    border-left: 4px solid var(--wine-burgundy);
    box-shadow: 0 8px 22px rgba(75, 0, 0, 0.06);
}

.venue-pill-tag {
    display: block;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--wine-burgundy-light);
    margin-bottom: 0.15rem;
}

.venue-pill-title {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--wine-burgundy);
    line-height: 1.25;
}

.map-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.42rem 0.9rem;
    border-radius: 999px;
    background: var(--wine-burgundy);
    color: var(--mustard-yellow);
    border: 1px solid var(--wine-burgundy);
    font-size: 0.78rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s ease;
}

.map-pill:hover,
.map-pill:focus {
    background: var(--mustard-yellow);
    color: var(--wine-burgundy);
    border-color: var(--wine-burgundy);
}

.map-pill svg {
    width: 15px;
    height: 15px;
    fill: currentColor;
}

/* ==========================================================================
   Wedding Entourage — Royal Parents of Honour Plaques
   ========================================================================== */
.entourage-section {
    background: linear-gradient(180deg, var(--ivory-cream) 0%, var(--ivory-champagne) 100%);
    position: relative;
}

.entourage-container {
    max-width: 1020px;
}

.parent-royal-plaque {
    padding: 6px;
    border-radius: 22px;
    background: linear-gradient(145deg, var(--mustard-yellow) 0%, #b88900 50%, var(--mustard-yellow) 100%);
    box-shadow: 0 18px 42px rgba(75, 0, 0, 0.22);
    transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.parent-royal-plaque:hover {
    transform: translateY(-4px);
    box-shadow: 0 24px 52px rgba(75, 0, 0, 0.3);
}

.parent-plaque-inner {
    padding: 2rem 1.5rem;
    border-radius: 17px;
    background:
        radial-gradient(circle at 50% 0%, rgba(255, 206, 27, 0.16), transparent 65%),
        linear-gradient(155deg, var(--wine-burgundy-light) 0%, var(--wine-burgundy) 55%, var(--wine-burgundy-dark) 100%);
    border: 1px solid rgba(255, 206, 27, 0.45);
    text-align: center;
    color: var(--ivory-white);
}

.parent-crown-badge {
    display: inline-block;
    align-self: center;
    padding: 0.2rem 0.8rem;
    border-radius: 999px;
    background: rgba(255, 206, 27, 0.16);
    border: 1px solid rgba(255, 206, 27, 0.45);
    color: var(--mustard-yellow);
    font-size: 0.66rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    margin-bottom: 0.55rem;
}

.parent-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.65rem;
    font-weight: 600;
    color: var(--mustard-yellow);
    letter-spacing: 0.04em;
    margin-bottom: 0.4rem;
}

.parent-ornament-line {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    color: var(--mustard-yellow);
    font-size: 0.75rem;
    margin-bottom: 0.85rem;
    opacity: 0.85;
}

.parent-ornament-line span {
    width: 42px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--mustard-yellow), transparent);
}

.parent-person-name {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(1.5rem, 2.6vw, 1.85rem);
    font-weight: 600;
    color: var(--ivory-white);
    line-height: 1.25;
    margin: 0;
}

.parent-amp {
    font-family: 'Great Vibes', 'Cormorant Garamond', cursive;
    font-size: 1.45rem;
    color: var(--mustard-yellow);
    line-height: 1.1;
    margin: 0.15rem 0;
}

.parent-role-chip {
    display: inline-block;
    vertical-align: middle;
    margin-left: 0.3rem;
    padding: 0.12rem 0.55rem;
    border-radius: 999px;
    background: var(--mustard-yellow);
    color: var(--wine-burgundy);
    font-family: 'DM Sans', sans-serif;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.parents-union-seal {
    width: 88px;
    height: 88px;
    border-radius: 50%;
    padding: 7px;
    background: #ffffff;
    border: 2.5px solid var(--mustard-yellow);
    box-shadow: 0 10px 26px rgba(75, 0, 0, 0.18);
    display: flex;
    align-items: center;
    justify-content: center;
}

.parents-union-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.entourage-sub-heading {
    text-align: center;
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--wine-burgundy);
    opacity: 0.82;
    margin-bottom: 1.15rem;
}

.key-party-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 1.4rem 1.25rem;
    text-align: center;
    color: var(--wine-burgundy);
    box-shadow: 0 8px 24px rgba(75, 0, 0, 0.08);
    border: 1.5px solid rgba(75, 0, 0, 0.14);
    border-top: 4px solid var(--wine-burgundy);
    transition: transform 0.25s ease;
}

.key-party-card:hover {
    transform: translateY(-3px);
}

.key-party-role {
    display: block;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--wine-burgundy-light);
    margin-bottom: 0.25rem;
}

.key-party-name {
    font-size: 1.65rem;
    font-weight: 600;
    color: var(--wine-burgundy);
    margin: 0;
}

.team-card {
    background: #ffffff;
    border-radius: 18px;
    padding: 1.5rem;
    border: 1px solid rgba(75, 0, 0, 0.1);
    box-shadow: 0 8px 26px rgba(75, 0, 0, 0.06);
}

.team-header {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    margin-bottom: 1.1rem;
    padding-bottom: 0.85rem;
    border-bottom: 2px solid;
}

.team-header-bride {
    border-color: var(--wine-burgundy);
}

.team-header-groom {
    border-color: var(--mustard-yellow);
}

.team-portrait {
    width: 62px;
    height: 62px;
    object-fit: contain;
    border-radius: 50%;
    background: var(--ivory-white);
    border: 1.5px solid var(--mustard-yellow);
    padding: 3px;
    flex-shrink: 0;
}

.team-eyebrow {
    display: block;
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--wine-burgundy-light);
    opacity: 0.78;
}

.team-title {
    font-size: 1.55rem;
    font-weight: 600;
    color: var(--wine-burgundy);
    margin: 0;
    line-height: 1.15;
}

/* 2-Column Pill Grid for Bride's & Groom's Teams */
.team-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.55rem;
}

.team-list li {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--wine-burgundy);
    padding: 0.42rem 0.75rem;
    border-radius: 10px;
    background: var(--ivory-white);
    border: 1px solid rgba(75, 0, 0, 0.08);
    display: flex;
    align-items: center;
    gap: 0.45rem;
}

.team-list li::before {
    content: '✦';
    color: var(--mustard-gold);
    font-size: 0.72rem;
}

/* ==========================================================================
   Wedding Colour Guide (#4B0000, #FFCE1B, #FFFFE3)
   ========================================================================== */
.colour-guide-section {
    background: var(--ivory-white);
}

.colour-guide-container {
    max-width: 980px;
}

.colour-story {
    max-width: 740px;
    line-height: 1.8;
}

.colour-card {
    overflow: hidden;
    text-align: center;
    background: #ffffff;
    border: 1px solid rgba(75, 0, 0, 0.12);
    border-radius: 18px;
    box-shadow: 0 10px 28px rgba(75, 0, 0, 0.06);
    transition: transform 0.25s ease;
}

.colour-card:hover {
    transform: translateY(-4px);
}

.colour-swatch {
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    padding: 0.6rem 0.8rem;
    height: 130px;
    position: relative;
}

.swatch-hex {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    padding: 0.2rem 0.55rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.88);
    color: var(--wine-burgundy);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

.swatch-burgundy {
    background: #4B0000;
}

.swatch-mustard {
    background: #FFCE1B;
}

.swatch-ivory {
    background: #FFFFE3;
    box-shadow: inset 0 -1px 0 rgba(75, 0, 0, 0.12);
}

.colour-card-body {
    padding: 1.15rem 1rem 1.35rem;
}

.colour-card h3 {
    margin: 0 0 0.25rem;
    color: var(--wine-burgundy);
    font-size: 1.5rem;
    font-weight: 600;
}

.colour-card p {
    color: var(--text-dark);
    font-size: 0.92rem;
    opacity: 0.8;
}

.colour-story-tagline {
    margin: 2rem 0 0.75rem;
    color: var(--wine-burgundy);
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(1.35rem, 2.5vw, 1.85rem);
    font-weight: 600;
    letter-spacing: 0.06em;
    text-align: center;
}

.colour-guide-note {
    max-width: 680px;
    color: var(--text-dark);
    text-align: center;
    font-size: 0.93rem;
    line-height: 1.75;
    opacity: 0.82;
}

@media (max-width: 575.98px) {
    .colour-card {
        display: grid;
        grid-template-columns: 105px 1fr;
        align-items: center;
        text-align: left;
    }

    .colour-swatch {
        height: 100%;
        min-height: 96px;
        justify-content: center;
    }

    .colour-card-body {
        padding: 0.85rem 1rem;
    }
}

/* ==========================================================================
   Gifting Section
   ========================================================================== */
.gifting-section {
    background: linear-gradient(145deg, var(--wine-burgundy) 0%, var(--wine-burgundy-dark) 100%);
    color: var(--ivory-white);
    position: relative;
}

.gifting-section .section-title,
.gifting-section .section-subtitle {
    color: var(--ivory-white);
}

.gifting-container {
    max-width: 1000px;
}

.gift-card {
    padding: clamp(1.5rem, 3vw, 2.2rem);
    border: 1.5px solid rgba(255, 206, 27, 0.35);
    border-radius: 20px;
    background: linear-gradient(145deg, rgba(255, 255, 227, 0.12), rgba(255, 255, 227, 0.04));
    box-shadow: 0 16px 42px rgba(20, 0, 0, 0.24);
    text-align: left;
    transition: transform 0.25s ease;
}

.gift-card:hover {
    transform: translateY(-4px);
}

.gift-card-heading {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.gift-icon {
    display: grid;
    flex: 0 0 3.2rem;
    width: 3.2rem;
    height: 3.2rem;
    place-items: center;
    border: 1px solid rgba(255, 206, 27, 0.55);
    border-radius: 50%;
    background: rgba(255, 206, 27, 0.16);
    color: var(--mustard-yellow);
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.65rem;
    font-weight: 600;
}

.gift-eyebrow {
    margin: 0 0 0.15rem;
    color: var(--mustard-yellow);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.gift-card h3 {
    margin: 0;
    color: var(--mustard-yellow);
    font-size: clamp(1.5rem, 2.5vw, 1.85rem);
    font-weight: 500;
}

.gift-card p {
    font-size: 0.95rem;
    line-height: 1.75;
    opacity: 0.92;
}

.mpesa-box {
    display: flex;
    align-items: flex-start;
    gap: 0.9rem;
    margin-top: 1.25rem;
    padding: 1.1rem 1.2rem;
    border-radius: 14px;
    background: var(--ivory-white);
    color: var(--text-dark);
    border: 1px solid rgba(255, 206, 27, 0.6);
}

.mpesa-detail-icon,
.physical-gift-pin {
    display: grid;
    flex: 0 0 2.3rem;
    width: 2.3rem;
    height: 2.3rem;
    place-items: center;
    border-radius: 50%;
    background: rgba(75, 0, 0, 0.09);
    color: var(--wine-burgundy);
    font-size: 1.05rem;
}

.mpesa-box h4 {
    margin: 0 0 0.25rem;
    color: var(--wine-burgundy);
    font-size: 1.05rem;
    font-weight: 700;
}

.mpesa-box p {
    color: var(--text-dark);
    font-size: 0.88rem;
    line-height: 1.55;
}

.physical-gift-note {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    margin-top: 1.25rem;
    padding: 1.1rem 1.2rem;
    border: 1px solid rgba(255, 206, 27, 0.35);
    border-radius: 14px;
    background: rgba(255, 255, 227, 0.08);
}

.physical-gift-note strong {
    display: block;
    color: var(--ivory-white);
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.35rem;
    font-weight: 600;
}

.physical-gift-note div > span {
    display: block;
    color: rgba(255, 255, 227, 0.82);
    font-size: 0.84rem;
}

.physical-gift-pin {
    background: rgba(255, 206, 27, 0.18);
    color: var(--mustard-yellow);
}

/* ==========================================================================
   Guest Guidelines Section
   ========================================================================== */
.etiquette-section {
    background: var(--ivory-white);
}

.etiquette-container {
    max-width: 1080px;
}

.etiquette-card {
    background: #ffffff;
    border-radius: 18px;
    padding: 1.85rem 1.65rem;
    box-shadow: 0 8px 26px rgba(75, 0, 0, 0.06);
    border: 1px solid rgba(75, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
    transition: transform 0.25s ease;
}

.etiquette-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--wine-burgundy), var(--mustard-yellow));
}

.etiquette-card:hover {
    transform: translateY(-4px);
}

.etiquette-icon-wrap {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--wine-burgundy), var(--wine-burgundy-light));
    border: 1px solid rgba(255, 206, 27, 0.5);
    border-radius: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.1rem;
    box-shadow: 0 5px 15px rgba(75, 0, 0, 0.2);
}

.etiquette-icon-wrap svg {
    width: 24px;
    height: 24px;
    fill: var(--mustard-yellow);
}

.etiquette-card h3 {
    font-size: 1.55rem;
    font-weight: 600;
    color: var(--wine-burgundy);
    margin-bottom: 0.55rem;
}

.etiquette-card p {
    font-size: 0.94rem;
    line-height: 1.72;
    color: var(--text-dark);
    opacity: 0.86;
}

.etiquette-card p strong {
    color: var(--wine-burgundy);
}

/* ==========================================================================
   Moments / Photo-Sharing CTA Section
   ========================================================================== */
.moments-cta-section {
    background: linear-gradient(135deg, var(--mustard-yellow) 0%, #f2b900 100%);
    position: relative;
    overflow: hidden;
}

.moments-cta-inner {
    max-width: 980px;
    margin: 0 auto;
    background: rgba(255, 255, 227, 0.55);
    backdrop-filter: blur(8px);
    border: 1.5px solid rgba(75, 0, 0, 0.16);
    border-radius: 24px;
    padding: clamp(1.75rem, 4vw, 2.75rem);
}

.moments-kicker {
    display: inline-block;
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--wine-burgundy);
    margin-bottom: 0.45rem;
}

.moments-title {
    font-size: clamp(2rem, 4.5vw, 3rem);
    font-weight: 700;
    color: var(--wine-burgundy);
    margin: 0 0 0.65rem;
    line-height: 1.1;
}

.moments-body {
    font-size: 1.02rem;
    font-weight: 600;
    line-height: 1.65;
    color: var(--wine-burgundy-dark);
    margin: 0 0 0.55rem;
    max-width: 560px;
}

.moments-subbody {
    font-size: 0.92rem;
    line-height: 1.65;
    color: rgba(45, 0, 0, 0.88);
    margin: 0 0 1.1rem;
    max-width: 560px;
}

.moments-url-hint {
    font-size: 0.9rem;
    color: var(--wine-burgundy-dark);
}

.moments-link {
    color: var(--wine-burgundy);
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 3px;
    word-break: break-all;
}

.moments-qr-placeholder {
    width: 236px;
    min-height: 268px;
    background: #ffffff;
    border: 2.5px solid var(--wine-burgundy);
    border-radius: 22px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    box-shadow: 0 16px 36px rgba(75, 0, 0, 0.22);
    padding: 1.05rem 1rem;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.moments-qr-placeholder:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 42px rgba(75, 0, 0, 0.3);
}

.moments-qr-badge {
    display: inline-block;
    background: rgba(75, 0, 0, 0.08);
    color: var(--wine-burgundy);
    border: 1px solid rgba(75, 0, 0, 0.2);
    border-radius: 999px;
    padding: 0.18rem 0.65rem;
    font-size: 0.66rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.moments-qr-image {
    width: 184px;
    height: 184px;
    object-fit: contain;
    display: block;
}

.moments-qr-caption,
.moments-qr-placeholder span:not(.moments-qr-badge) {
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--wine-burgundy);
    text-align: center;
    line-height: 1.25;
}

/* ==========================================================================
   Redesigned Bespoke RSVP Invitation Card
   ========================================================================== */
.rsvp-section {
    background:
        radial-gradient(ellipse at 15% 20%, rgba(255, 206, 27, 0.1), transparent 45%),
        var(--ivory-cream);
}

.rsvp-wrapper {
    max-width: 680px;
}

.rsvp-form {
    background: #ffffff;
    border: 2px solid rgba(255, 206, 27, 0.65);
    border-radius: 24px;
    box-shadow: 0 20px 52px rgba(75, 0, 0, 0.12);
    overflow: hidden;
}

.rsvp-card-banner {
    padding: 1.85rem 1.5rem 1.5rem;
    background:
        radial-gradient(circle at 50% 0%, rgba(255, 206, 27, 0.18), transparent 68%),
        linear-gradient(145deg, var(--wine-burgundy-light) 0%, var(--wine-burgundy) 55%, var(--wine-burgundy-dark) 100%);
    border-bottom: 2px solid var(--mustard-yellow);
    color: var(--ivory-white);
}

.rsvp-banner-seal {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    padding: 5px;
    background: var(--ivory-white);
    border: 2px solid var(--mustard-yellow);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.28);
}

.rsvp-banner-seal-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.rsvp-banner-kicker {
    display: block;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--mustard-yellow);
    margin-bottom: 0.15rem;
}

.rsvp-banner-title {
    color: var(--ivory-white) !important;
    font-size: clamp(2rem, 4vw, 2.6rem);
}

.rsvp-banner-title::after {
    display: none;
}

.rsvp-deadline {
    color: rgba(255, 255, 227, 0.9);
    font-size: 0.92rem;
}

.rsvp-deadline strong {
    color: var(--mustard-yellow);
    font-weight: 700;
}

.rsvp-closed {
    max-width: 600px;
    margin: 0.75rem auto 0;
    color: var(--mustard-light);
    font-size: 0.88rem;
}

.rsvp-step-block {
    padding: 1.15rem 1.25rem;
    border-radius: 16px;
    background: var(--ivory-white);
    border: 1px solid rgba(75, 0, 0, 0.09);
}

.rsvp-step-header {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 0.85rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px dashed rgba(75, 0, 0, 0.14);
}

.rsvp-step-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--wine-burgundy);
    color: var(--mustard-yellow);
    font-size: 0.68rem;
    font-weight: 700;
}

.rsvp-step-label {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--wine-burgundy);
    line-height: 1;
}

.sms-consent-field {
    background: #ffffff;
    border: 1px solid rgba(75, 0, 0, 0.12);
}

.additional-guest-field[hidden],
.additional-guest-fields[hidden],
.form-group[hidden] {
    display: none !important;
}

.rsvp-field-error {
    margin: 0.35rem 0 0;
    color: var(--wine-burgundy);
    font-size: 0.8rem;
    font-weight: 600;
}

.rsvp-fields [aria-invalid="true"] {
    border-color: var(--wine-burgundy);
}

.submit-button {
    min-height: 52px;
    padding: 0.85rem 1.75rem;
    border: 1.5px solid var(--mustard-yellow);
    border-radius: 12px;
    background: linear-gradient(135deg, var(--wine-burgundy) 0%, var(--wine-burgundy-dark) 100%);
    color: var(--mustard-yellow);
    font-size: 0.92rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    box-shadow: 0 10px 24px rgba(75, 0, 0, 0.2);
    transition: all 0.25s ease;
}

.submit-button:hover,
.submit-button:focus {
    background: var(--mustard-yellow);
    color: var(--wine-burgundy);
    border-color: var(--wine-burgundy);
    transform: translateY(-2px);
}

/* ==========================================================================
   Access Screen & RSVP Confirmation / OTP Screens
   ========================================================================== */
.access-screen {
    position: relative;
    z-index: 3;
    min-height: 100svh;
    background:
        radial-gradient(circle at 15% 15%, rgba(255, 206, 27, 0.14), transparent 32%),
        linear-gradient(145deg, var(--wine-burgundy), var(--wine-burgundy-dark));
}

.access-card {
    max-width: 460px;
    padding: clamp(1.75rem, 5vw, 2.75rem);
    border: 2px solid rgba(255, 206, 27, 0.55);
    border-radius: 22px;
    background: var(--ivory-white);
    box-shadow: 0 24px 70px rgba(24, 0, 0, 0.42);
}

.access-crest-wrap {
    width: 82px;
    height: 82px;
    border-radius: 50%;
    padding: 6px;
    background: #ffffff;
    border: 2px solid var(--mustard-yellow);
    box-shadow: 0 6px 18px rgba(75, 0, 0, 0.14);
}

.access-crest-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.access-kicker {
    color: var(--wine-burgundy-light);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-align: center;
    text-transform: uppercase;
}

.access-card h1 {
    color: var(--wine-burgundy);
    font-size: clamp(2rem, 7vw, 2.75rem);
    font-weight: 600;
    line-height: 1.1;
    text-align: center;
}

.access-copy,
.access-contact,
.access-help {
    color: var(--text-dark);
    font-size: 0.9rem;
    text-align: center;
}

.access-error {
    color: var(--wine-burgundy);
    font-size: 0.88rem;
    font-weight: 700;
    text-align: center;
}

.access-admin {
    text-align: center;
}

.access-admin a {
    color: var(--wine-burgundy);
    font-size: 0.8rem;
    text-underline-offset: 0.2em;
}

.rsvp-confirmation {
    min-height: 100svh;
    display: grid;
    place-items: center;
    padding: 5.5rem 1rem 3rem;
    background:
        radial-gradient(circle at 10% 15%, rgba(255, 206, 27, 0.12), transparent 30%),
        linear-gradient(145deg, var(--ivory-white), var(--ivory-cream));
}

.rsvp-confirmation-card {
    width: min(100%, 540px);
    padding: clamp(1.5rem, 5vw, 2.75rem);
    border: 1.5px solid rgba(75, 0, 0, 0.16);
    border-radius: 20px;
    background: #ffffff;
    box-shadow: 0 18px 55px rgba(75, 0, 0, 0.12);
    color: var(--wine-burgundy-dark);
    text-align: center;
}

.rsvp-update-card {
    width: min(100%, 760px);
}

.rsvp-confirmation-kicker,
.rsvp-confirmation-label {
    color: var(--wine-burgundy-light);
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.rsvp-confirmation-kicker {
    margin: 0 0 1.25rem;
}

.rsvp-confirmation-icon {
    display: grid;
    width: 2.75rem;
    height: 2.75rem;
    place-items: center;
    margin: 0 auto 1rem;
    border-radius: 50%;
    background: rgba(72, 118, 85, 0.12);
    color: #356b43;
    font-size: 1.35rem;
}

.rsvp-confirmation-eyebrow {
    margin: 0;
    color: var(--wine-burgundy-light);
    font-size: 0.95rem;
}

.rsvp-confirmation-name {
    margin: 0.25rem 0 0.5rem;
    color: var(--wine-burgundy);
    font-size: clamp(1.9rem, 6vw, 2.6rem);
    font-weight: 600;
    line-height: 1.15;
    overflow-wrap: anywhere;
}

.rsvp-confirmation-status {
    margin: 0;
    font-size: 1rem;
    font-weight: 700;
}

.rsvp-confirmation-message {
    margin: 0.65rem 0 1.25rem;
    color: var(--text-dark);
    font-size: 0.95rem;
    line-height: 1.6;
}

.rsvp-confirmation-details {
    padding: 1rem;
    border-radius: 12px;
    background: rgba(75, 0, 0, 0.05);
    text-align: left;
}

.rsvp-confirmation-count {
    margin: 0;
    font-size: 0.95rem;
}

.rsvp-confirmation-guests {
    margin-top: 1rem;
}

.rsvp-confirmation-guests ul {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    margin: 0.5rem 0 0;
    padding: 0;
    list-style: none;
}

.rsvp-confirmation-guests li {
    padding: 0.35rem 0.65rem;
    border: 1px solid rgba(75, 0, 0, 0.16);
    border-radius: 999px;
    background: var(--ivory-white);
    font-size: 0.85rem;
}

.rsvp-confirmation-date {
    margin: 1.5rem 0 1rem;
    color: var(--wine-burgundy);
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.3rem;
    font-weight: 600;
}

.rsvp-confirmation-link {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    padding: 0.65rem 1.25rem;
    border: 1px solid var(--wine-burgundy);
    border-radius: 999px;
    background: transparent;
    color: var(--wine-burgundy);
    font-size: 0.88rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 160ms ease, color 160ms ease;
}

.rsvp-confirmation-link:hover,
.rsvp-confirmation-link:focus-visible {
    background: var(--wine-burgundy);
    color: var(--ivory-white);
}

.rsvp-update-details {
    padding: 1rem;
    border: 1px solid rgba(75, 0, 0, 0.12);
    border-radius: 12px;
    background: rgba(75, 0, 0, 0.04);
    overflow-wrap: anywhere;
}

.rsvp-update-details h2 {
    margin: 0 0 0.75rem;
    color: var(--wine-burgundy);
    font-family: 'DM Sans', sans-serif;
    font-size: 0.9rem;
    font-weight: 700;
}

.rsvp-update-details p {
    margin: 0.4rem 0;
    color: var(--text-dark);
    font-size: 0.88rem;
}

.rsvp-update-proposed {
    border-color: rgba(255, 206, 27, 0.65);
    background: rgba(255, 206, 27, 0.12);
}

.rsvp-otp-form input {
    max-width: 260px;
    font-size: 1.4rem;
    letter-spacing: 0.3em;
}

/* ==========================================================================
   Site Messages, Contact Note & Footer with Floral Arch
   ========================================================================== */
.site-messages {
    position: fixed;
    z-index: 10001;
    top: 1rem;
    left: 50%;
    width: min(calc(100% - 2rem), 560px);
    transform: translateX(-50%);
}

.site-message {
    padding: 0.85rem 1rem;
    border: 1px solid rgba(255, 206, 27, 0.55);
    border-radius: 12px;
    background: var(--ivory-white);
    box-shadow: 0 12px 30px rgba(75, 0, 0, 0.22);
    color: var(--wine-burgundy);
    text-align: center;
    font-weight: 600;
}

.contact-note {
    background: var(--ivory-champagne);
    border-top: 1px solid rgba(75, 0, 0, 0.1);
}

.contact-note p {
    color: var(--wine-burgundy);
    font-size: 0.9rem;
    font-weight: 500;
}

footer {
    background: linear-gradient(155deg, var(--wine-burgundy) 0%, var(--wine-burgundy-dark) 100%);
    color: var(--ivory-white);
    position: relative;
    overflow: hidden;
    border-top: 2px solid rgba(255, 206, 27, 0.45);
}

.footer-content {
    max-width: 640px;
}

.footer-arch-wrap {
    max-width: 300px;
    padding: 0.5rem;
    border-radius: 18px;
    background: radial-gradient(circle, rgba(255, 255, 227, 0.12) 0%, transparent 72%);
}

.footer-arch-img {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 10px 24px rgba(0, 0, 0, 0.35));
}

.footer-names {
    font-family: 'Great Vibes', 'Cormorant Garamond', cursive;
    font-size: clamp(2.4rem, 5vw, 3.3rem);
    font-weight: 400;
    color: var(--mustard-yellow);
    letter-spacing: 0.04em;
}

.footer-divider {
    width: 68px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--mustard-yellow), transparent);
    margin: 0.85rem auto;
}

.footer-message {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.22rem;
    font-style: italic;
    opacity: 0.92;
}

.footer-message-sub {
    font-size: 1.08rem;
    opacity: 0.8;
}

.footer-date {
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--mustard-yellow);
}

.footer-admin-link {
    display: inline-block;
    margin-top: 0.5rem;
    color: rgba(255, 255, 227, 0.65);
    font-size: 0.78rem;
    letter-spacing: 0.08em;
    text-decoration: none;
}

.footer-admin-link:hover {
    color: var(--mustard-yellow);
    text-decoration: underline;
}

.footer-credit {
    font-size: 0.78rem;
    letter-spacing: 0.05em;
    color: rgba(255, 255, 227, 0.7);
    margin-top: 1rem;
}

.footer-credit-link {
    color: var(--mustard-yellow);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s ease, text-decoration 0.2s ease;
}

.footer-credit-link:hover,
.footer-credit-link:focus {
    color: #ffffff;
    text-decoration: underline;
}

.access-credit {
    font-size: 0.76rem;
    color: rgba(75, 0, 0, 0.75);
}

.access-credit .footer-credit-link {
    color: var(--wine-burgundy);
}

.access-credit .footer-credit-link:hover,
.access-credit .footer-credit-link:focus {
    color: #000000;
    text-decoration: underline;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .hearts-rain {
        display: none;
    }
}


/* ==========================================================================
   Guest Wishes & Blessings Section + Dedicated /wishes/ Page + SMS Nav Pill
   ========================================================================== */
.nav-sms-pill {
    padding: 0.38rem 0.95rem !important;
    border-radius: 999px;
    border: 1.5px solid var(--mustard-yellow);
    background: rgba(255, 206, 27, 0.14);
    color: var(--mustard-yellow) !important;
    font-size: 0.78rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.06em !important;
    transition: all 0.2s ease !important;
}

.nav-sms-pill::after {
    display: none !important;
}

.nav-sms-pill:hover {
    background: var(--mustard-yellow);
    color: var(--wine-burgundy) !important;
}

.navbar.scrolled .nav-sms-pill {
    border-color: var(--wine-burgundy);
    background: rgba(75, 0, 0, 0.08);
    color: var(--wine-burgundy) !important;
}

.navbar.scrolled .nav-sms-pill:hover {
    background: var(--wine-burgundy);
    color: var(--mustard-yellow) !important;
}

.footer-sms-link {
    color: var(--mustard-yellow) !important;
    font-weight: 700;
}

.wishes-section {
    background:
        radial-gradient(ellipse at 15% 20%, rgba(255, 206, 27, 0.14), transparent 36%),
        radial-gradient(ellipse at 85% 85%, rgba(75, 0, 0, 0.06), transparent 38%),
        linear-gradient(180deg, var(--ivory-white) 0%, var(--ivory-cream) 100%);
    border-top: 1px solid rgba(75, 0, 0, 0.08);
}

.wishes-container {
    max-width: 1120px;
}

.wishes-masonry {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: stretch;
    gap: 1.25rem;
}

.wish-card {
    position: relative;
    /* Adaptive width: cards in the same row match height while width scales proportionally to message length */
    flex: 1 1 280px;
    max-width: min(100%, 560px);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 1.2rem 1.35rem 1.05rem;
    border-radius: 18px;
    background: #ffffff;
    border: 1.5px solid rgba(75, 0, 0, 0.12);
    box-shadow:
        0 12px 28px rgba(75, 0, 0, 0.06),
        inset 0 0 0 1px rgba(255, 206, 27, 0.22);
    transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
    overflow: hidden;
}

.wish-card-sm {
    flex: 1 1 230px;
    max-width: min(100%, 340px);
}

.wish-card-md {
    flex: 1.45 1 320px;
    max-width: min(100%, 480px);
}

.wish-card-xl {
    flex: 2.1 1 400px;
    max-width: min(100%, 660px);
}

@media (max-width: 575.98px) {
    .wishes-masonry {
        gap: 0.9rem;
    }

    .wish-card,
    .wish-card-sm,
    .wish-card-md,
    .wish-card-xl {
        flex: 1 1 100%;
        max-width: 100%;
    }
}

.wish-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--wine-burgundy), var(--mustard-yellow), var(--wine-burgundy));
}

.wish-card:hover {
    transform: translateY(-3px);
    border-color: rgba(255, 206, 27, 0.75);
    box-shadow: 0 18px 38px rgba(75, 0, 0, 0.11);
}

.wish-card-body {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
}

.wish-quote-mark {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.5rem;
    line-height: 0.78;
    color: var(--mustard-yellow);
    font-weight: 700;
    user-select: none;
    flex-shrink: 0;
    margin-top: 0.15rem;
}

.wish-heart-ornament {
    color: var(--mustard-gold);
    font-size: 0.8rem;
}

.wish-message {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.18rem;
    font-style: italic;
    line-height: 1.5;
    color: var(--wine-burgundy-dark);
    overflow-wrap: anywhere;
}

.wish-card-footer {
    border-top: 1px dashed rgba(75, 0, 0, 0.14);
    background: transparent;
}

.wish-avatar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--wine-burgundy) 0%, var(--wine-burgundy-dark) 100%);
    color: var(--mustard-yellow);
    border: 1.5px solid var(--mustard-yellow);
    font-family: 'Cormorant Garamond', serif;
    font-size: 0.98rem;
    font-weight: 700;
}

.wish-author-tag {
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--wine-burgundy);
    letter-spacing: 0.02em;
}

.wish-date {
    font-size: 0.75rem;
    font-weight: 600;
    color: rgba(75, 0, 0, 0.62);
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.wishes-view-all-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.78rem 1.7rem;
    border-radius: 999px;
    background: var(--wine-burgundy);
    color: var(--mustard-yellow);
    border: 1.5px solid var(--mustard-yellow);
    font-size: 0.86rem;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    text-decoration: none;
    box-shadow: 0 10px 26px rgba(75, 0, 0, 0.16);
    transition: all 0.25s ease;
}

.wishes-view-all-btn:hover {
    background: var(--mustard-yellow);
    color: var(--wine-burgundy);
    transform: translateY(-2px);
}

.wish-empty-card {
    max-width: 560px;
    padding: 2.25rem 1.75rem;
    border-radius: 22px;
    background: #ffffff;
    border: 1.5px dashed rgba(75, 0, 0, 0.22);
    box-shadow: 0 12px 32px rgba(75, 0, 0, 0.06);
}

.wish-empty-text {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.25rem;
    color: var(--wine-burgundy-dark);
}

/* Dedicated /wishes/ Hero */
.wishes-hero {
    padding: 6.75rem 1rem 3.5rem;
    background:
        radial-gradient(ellipse at 50% 25%, rgba(255, 206, 27, 0.16), transparent 55%),
        linear-gradient(155deg, var(--wine-burgundy-light) 0%, var(--wine-burgundy) 52%, var(--wine-burgundy-dark) 100%);
    border-bottom: 2px solid rgba(255, 206, 27, 0.45);
}

.wishes-hero-title {
    color: var(--ivory-white);
    font-size: clamp(2.3rem, 5vw, 3.6rem);
    font-weight: 600;
}

.wishes-hero-subtitle {
    max-width: 620px;
    color: rgba(255, 255, 227, 0.86);
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.28rem;
    font-style: italic;
}

.wishes-count-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.4rem 0.95rem;
    border-radius: 999px;
    background: rgba(75, 0, 0, 0.08);
    color: var(--wine-burgundy);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.wishes-back-link {
    color: var(--wine-burgundy);
    font-size: 0.85rem;
    font-weight: 700;
    text-decoration: none;
}

.wishes-back-link:hover {
    text-decoration: underline;
}


/* ==========================================================================
   Moments / Photo Sharing Coming Soon & Live Album Styles
   ========================================================================== */
.moments-hero {
    min-height: auto;
    padding: 2.5rem 1rem 3rem;
    background:
        radial-gradient(ellipse at 50% 20%, rgba(255, 206, 27, 0.16), transparent 55%),
        linear-gradient(155deg, var(--wine-burgundy-light) 0%, var(--wine-burgundy) 52%, var(--wine-burgundy-dark) 100%);
    border-bottom: 2px solid rgba(255, 206, 27, 0.45);
    color: var(--ivory-white);
    position: relative;
    overflow: hidden;
}

.moments-hero-container {
    max-width: 780px;
}

.moments-hero-badge {
    width: 68px;
    height: 68px;
    border-radius: 50%;
    padding: 6px;
    background: radial-gradient(circle, var(--ivory-white) 0%, #f5eab8 78%, var(--mustard-yellow) 100%);
    border: 2.5px solid var(--mustard-yellow);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
}

.moments-crest-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.moments-hero .section-kicker-gold {
    color: var(--mustard-yellow) !important;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.moments-main-title,
.moments-page-title {
    color: #ffffff !important;
    font-size: clamp(2.1rem, 4.8vw, 3.2rem);
    font-weight: 700;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.38);
}

.moments-hero-subtitle,
.moments-page-subtitle {
    max-width: 600px;
    color: var(--ivory-white) !important;
    font-size: 1.06rem;
    font-weight: 500;
    line-height: 1.6;
}

/* ==========================================================================
   Moments Live Gallery, 1-Tap Batch Uploader & Slideshow UI
   (Kululu / Guestlense / EventDrop / WedUploader Style)
   ========================================================================== */

/* Homepage Moments CTA Chips & Buttons (on Light Cream/Gold .moments-cta-inner) */
.moments-chip {
    display: inline-flex;
    align-items: center;
    padding: 0.32rem 0.85rem;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 700;
    background: #ffffff;
    border: 1.5px solid rgba(75, 0, 0, 0.28);
    color: var(--wine-burgundy-dark);
    box-shadow: 0 2px 8px rgba(75, 0, 0, 0.08);
}

.moments-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    background: var(--wine-burgundy);
    color: var(--ivory-white) !important;
    border: 2px solid var(--wine-burgundy);
    font-weight: 700;
    font-size: 0.94rem;
    padding: 0.68rem 1.4rem;
    border-radius: 999px;
    text-decoration: none;
    box-shadow: 0 8px 20px rgba(75, 0, 0, 0.25);
    transition: transform 0.2s ease, background 0.2s ease;
}

.moments-btn-primary:hover {
    background: var(--wine-burgundy-dark);
    color: var(--mustard-yellow) !important;
    transform: translateY(-2px);
}

.moments-btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    background: #ffffff;
    color: var(--wine-burgundy-dark) !important;
    border: 2px solid var(--wine-burgundy);
    font-weight: 700;
    font-size: 0.94rem;
    padding: 0.66rem 1.3rem;
    border-radius: 999px;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(75, 0, 0, 0.12);
    transition: all 0.2s ease;
}

.moments-btn-secondary:hover {
    background: var(--wine-burgundy);
    color: #ffffff !important;
    transform: translateY(-2px);
}

.moments-count-pill {
    background: var(--wine-burgundy);
    color: var(--mustard-yellow);
    font-size: 0.76rem;
    font-weight: 800;
    padding: 0.1rem 0.52rem;
    border-radius: 999px;
}

.moments-btn-secondary:hover .moments-count-pill {
    background: var(--mustard-yellow);
    color: var(--wine-burgundy-dark);
}

/* Sticky Top Navigation Bar on /moments/ (Dark Wine Burgundy surface) */
.moments-topbar {
    background: #380000;
    border-bottom: 1.5px solid rgba(255, 206, 27, 0.38);
    z-index: 1030;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.28);
}

.moments-back-link {
    color: #ffffff !important;
    background: rgba(255, 255, 255, 0.14);
    border: 1.5px solid rgba(255, 206, 27, 0.5);
    padding: 0.38rem 0.9rem;
    border-radius: 999px;
    font-size: 0.84rem;
    font-weight: 700;
    transition: all 0.2s ease;
}

.moments-back-link:hover {
    background: var(--mustard-yellow);
    border-color: var(--mustard-yellow);
    color: var(--wine-burgundy-dark) !important;
}

.moments-topbar-brand {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 0.03em;
}

.topbar-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #2ecc71;
    box-shadow: 0 0 8px #2ecc71;
}

.moments-topbar-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.44rem 1rem;
    border-radius: 999px;
    font-size: 0.84rem;
    font-weight: 800;
    border: none;
    cursor: pointer;
    transition: transform 0.2s ease, background 0.2s ease;
}

.moments-topbar-upload {
    background: var(--mustard-yellow);
    color: var(--wine-burgundy-dark);
}

.moments-topbar-upload:hover {
    background: #ffe066;
    color: var(--wine-burgundy-dark);
    transform: translateY(-1px);
}

.moments-topbar-slideshow {
    background: rgba(255, 255, 255, 0.16);
    color: #ffffff;
    border: 1.5px solid var(--mustard-yellow);
}

.moments-topbar-slideshow:hover {
    background: var(--mustard-yellow);
    color: var(--wine-burgundy-dark);
}

/* 1-Tap Instant Upload Action Dock (Inside Dark Burgundy Hero) */
.moments-upload-dock {
    max-width: 680px;
    background: rgba(28, 0, 0, 0.62);
    border: 2px solid rgba(255, 206, 27, 0.55);
    border-radius: 22px;
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.32);
}

.moments-1tap-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.85rem;
    padding: 0.9rem 1.35rem;
    border-radius: 16px;
    cursor: pointer;
    transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
    flex: 1 1 auto;
    justify-content: center;
}

.moments-1tap-primary {
    background: var(--mustard-yellow);
    color: var(--wine-burgundy-dark) !important;
    border: 2px solid var(--mustard-yellow);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.28);
}

.moments-1tap-primary:hover {
    background: #ffe066;
    transform: translateY(-2px);
}

.moments-1tap-primary strong {
    font-size: 1.02rem;
    font-weight: 800;
    color: var(--wine-burgundy-dark);
    line-height: 1.2;
}

.moments-1tap-primary small {
    font-size: 0.78rem;
    font-weight: 600;
    color: #3d0000;
}

.moments-1tap-camera {
    background: #ffffff;
    color: var(--wine-burgundy-dark) !important;
    border: 2px solid #ffffff;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.22);
}

.moments-1tap-camera:hover {
    background: var(--ivory-white);
    transform: translateY(-2px);
}

.moments-1tap-camera strong {
    font-size: 0.98rem;
    font-weight: 800;
    color: var(--wine-burgundy-dark);
    line-height: 1.2;
}

.moments-1tap-camera small {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--wine-burgundy);
}

.btn-icon-circle {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(75, 0, 0, 0.14);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    flex-shrink: 0;
}

.moments-1tap-camera .btn-icon-circle {
    background: rgba(255, 206, 27, 0.35);
}

.moments-dock-hints {
    border-top: 1px solid rgba(255, 206, 27, 0.3);
    font-size: 0.82rem;
    font-weight: 600;
    color: #ffffff;
}

.moments-dock-hints span {
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 206, 27, 0.35);
    padding: 0.22rem 0.75rem;
    border-radius: 999px;
    color: #ffffff;
}

.moments-live-toast {
    max-width: 560px;
    background: var(--mustard-yellow);
    color: var(--wine-burgundy-dark);
    font-weight: 800;
    padding: 0.8rem 1.3rem;
    border-radius: 999px;
    border: 2px solid #ffffff;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

/* Filter, Search, Sort & Slideshow Toolbar (Light Ivory Champagne surface) */
.moments-toolbar-section {
    background: #f4efd8;
    border-bottom: 1.5px solid rgba(75, 0, 0, 0.14);
}

.moments-toolbar {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

@media (min-width: 1200px) {
    .moments-toolbar {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 0.85rem;
    }
}

.moments-filter-pills {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 0.45rem;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 0.1rem 0.1rem 0.25rem;
}

.moments-filter-pills::-webkit-scrollbar {
    display: none;
}

@media (min-width: 992px) {
    .moments-filter-pills {
        flex-wrap: wrap;
        overflow-x: visible;
        padding-bottom: 0;
    }
}

.filter-pill {
    background: #ffffff;
    border: 1.5px solid rgba(75, 0, 0, 0.28);
    color: var(--wine-burgundy-dark);
    padding: 0.4rem 0.9rem;
    border-radius: 999px;
    font-size: 0.83rem;
    font-weight: 700;
    transition: all 0.2s ease;
    cursor: pointer;
    flex-shrink: 0;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 0.2rem;
}

.filter-pill:hover {
    border-color: var(--wine-burgundy);
    background: #fff9db;
    color: var(--wine-burgundy-dark);
}

.filter-pill.active {
    background: var(--wine-burgundy);
    border-color: var(--wine-burgundy);
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(75, 0, 0, 0.22);
}

.badge-count {
    background: rgba(75, 0, 0, 0.12);
    color: var(--wine-burgundy-dark);
    font-size: 0.73rem;
    font-weight: 800;
    padding: 0.1rem 0.45rem;
    border-radius: 999px;
    margin-left: 0.2rem;
}

.filter-pill.active .badge-count {
    background: var(--mustard-yellow);
    color: var(--wine-burgundy-dark);
}

.moments-toolbar-right {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 0.55rem;
    width: 100%;
}

@media (min-width: 1200px) {
    .moments-toolbar-right {
        width: auto;
        flex-shrink: 0;
    }
}

.moments-search-wrap {
    flex: 1 1 220px;
    min-width: 0;
}

.moments-sort-wrap {
    flex: 0 0 auto;
}

.moments-sort-select {
    border-radius: 999px;
    border: 1.5px solid rgba(75, 0, 0, 0.32);
    color: var(--wine-burgundy-dark);
    font-weight: 700;
    font-size: 0.83rem;
    height: 38px;
    padding: 0.35rem 2rem 0.35rem 0.85rem;
    background-color: #ffffff;
}

.btn-slideshow-launch {
    background: var(--wine-burgundy);
    color: var(--mustard-yellow);
    border: 1.5px solid var(--wine-burgundy);
    border-radius: 999px;
    height: 38px;
    padding: 0 1.05rem;
    font-size: 0.83rem;
    font-weight: 800;
    cursor: pointer;
    transition: transform 0.2s ease, background 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    flex-shrink: 0;
}

.btn-slideshow-launch:hover {
    background: var(--wine-burgundy-dark);
    color: #ffffff;
    transform: translateY(-1px);
}

@media (max-width: 575.98px) {
    .moments-toolbar-right {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 0.45rem;
        width: 100%;
    }

    .moments-search-wrap {
        grid-column: 1 / -1;
        width: 100%;
    }

    .moments-sort-wrap {
        grid-column: 1 / 2;
        width: 100%;
    }

    .moments-sort-select {
        width: 100%;
        padding: 0.35rem 1.75rem 0.35rem 0.75rem;
        font-size: 0.8rem;
    }

    .btn-slideshow-launch {
        grid-column: 2 / 3;
        width: 100%;
        padding: 0 0.75rem;
        font-size: 0.8rem;
    }
}

/* Pinterest / Instagram Masonry Grid (Light Ivory surface) */
.moments-gallery-section {
    background-color: var(--ivory-white);
    min-height: 480px;
}

.moments-masonry-grid {
    column-count: 4;
    column-gap: 1.15rem;
}

@media (max-width: 1199.98px) {
    .moments-masonry-grid {
        column-count: 3;
    }
}

@media (max-width: 991.98px) {
    .moments-masonry-grid {
        column-count: 2;
        column-gap: 0.9rem;
    }
}

@media (max-width: 539.98px) {
    .moments-masonry-grid {
        column-count: 1;
    }
}

.moment-masonry-item {
    break-inside: avoid;
    margin-bottom: 1.15rem;
}

@media (max-width: 767.98px) {
    .moment-masonry-item {
        margin-bottom: 0.85rem;
    }
}

.moment-card {
    background: #ffffff;
    border: 1.5px solid rgba(75, 0, 0, 0.15);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(75, 0, 0, 0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    display: flex;
    flex-direction: column;
}

.moment-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 28px rgba(75, 0, 0, 0.15);
}

.moment-media-wrap {
    position: relative;
    width: 100%;
    min-height: 180px;
    max-height: 480px;
    background: #1a0202;
    overflow: hidden;
    cursor: pointer;
    touch-action: manipulation;
    user-select: none;
    -webkit-user-select: none;
}

.moment-thumb-img {
    width: 100%;
    height: auto;
    max-height: 480px;
    display: block;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.moment-card:hover .moment-thumb-img {
    transform: scale(1.04);
}

.moment-overlay {
    position: absolute;
    inset: 0;
    background: rgba(75, 0, 0, 0.28);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.moment-media-wrap:hover .moment-overlay {
    opacity: 1;
}

.zoom-indicator {
    width: 42px;
    height: 42px;
    background: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--wine-burgundy-dark);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

.moment-video-preview {
    position: relative;
    width: 100%;
    min-height: 220px;
    background: linear-gradient(145deg, var(--wine-burgundy), #1a0000);
    display: flex;
    align-items: center;
    justify-content: center;
}

.moment-type-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: rgba(0, 0, 0, 0.78);
    color: #ffffff;
    font-size: 0.74rem;
    font-weight: 700;
    padding: 0.22rem 0.65rem;
    border-radius: 999px;
    z-index: 2;
}

.video-overlay-badge {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.25);
}

.video-play-btn {
    width: 54px;
    height: 54px;
    background: var(--mustard-yellow);
    color: var(--wine-burgundy-dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
    transition: transform 0.2s ease;
}

.moment-card:hover .video-play-btn {
    transform: scale(1.1);
}

.moment-info {
    background: #ffffff;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.moment-caption {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 1.1rem;
    font-weight: 600;
    font-style: italic;
    color: var(--wine-burgundy-dark);
    line-height: 1.38;
}

.moment-meta {
    font-size: 0.82rem;
    color: #4a2828;
    border-top: 1px solid rgba(75, 0, 0, 0.12);
    padding-top: 0.55rem;
}

.moment-avatar-circle {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--wine-burgundy);
    color: var(--mustard-yellow);
    font-weight: 800;
    font-size: 0.82rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.moment-author strong {
    color: var(--wine-burgundy-dark);
    font-size: 0.86rem;
    font-weight: 700;
    line-height: 1.15;
}

.moment-date {
    font-size: 0.75rem;
    font-weight: 600;
    color: #5c3a3a;
}

/* Heart / Like Button & Card Download Button */
.moment-like-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.28rem;
    height: 32px;
    padding: 0 0.65rem;
    border-radius: 999px;
    border: 1.5px solid rgba(75, 0, 0, 0.22);
    background: #faf6e8;
    color: var(--wine-burgundy-dark);
    font-size: 0.8rem;
    font-weight: 800;
    cursor: pointer;
    transition: all 0.2s ease;
}

.moment-like-btn:hover {
    background: #ffe5ec;
    border-color: #c9184a;
    color: #9b002c;
}

.moment-like-btn.liked {
    background: #ffe5ec;
    border-color: #e01e5a;
    color: #a40e3b;
}

.heart-pop {
    transform: scale(1.22);
}

.moment-card-dl-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #faf6e8;
    border: 1.5px solid rgba(75, 0, 0, 0.22);
    color: var(--wine-burgundy-dark);
    transition: background 0.2s ease, transform 0.2s ease, color 0.2s ease;
    text-decoration: none;
}

.moment-card-dl-btn:hover {
    background: var(--wine-burgundy);
    border-color: var(--wine-burgundy);
    color: var(--mustard-yellow);
    transform: translateY(-1px);
}

/* Floating Mobile Action Button (FAB) */
.moments-fab-upload {
    position: fixed;
    right: 20px;
    bottom: 22px;
    z-index: 1025;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    background: var(--wine-burgundy);
    color: var(--mustard-yellow);
    border: 2px solid var(--mustard-yellow);
    border-radius: 999px;
    padding: 0.75rem 1.25rem;
    font-weight: 800;
    font-size: 0.92rem;
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.38);
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.moments-fab-upload:hover {
    background: var(--wine-burgundy-dark);
    color: #ffffff;
    transform: translateY(-3px) scale(1.02);
}

/* Full-Window Drag & Drop Overlay */
.moments-Window-drop-overlay {
    position: fixed;
    inset: 0;
    z-index: 2000;
    background: rgba(38, 0, 0, 0.92);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.window-drop-box {
    border: 3px dashed var(--mustard-yellow);
    border-radius: 28px;
    padding: 3.5rem 2.5rem;
    color: #ffffff;
    max-width: 520px;
    width: 100%;
}

.window-drop-box h3 {
    color: #ffffff;
    font-weight: 700;
}

.window-drop-icon {
    font-size: 3.5rem;
}

/* Empty State */
.moments-empty-card {
    max-width: 680px;
    background: #ffffff;
    border: 2px dashed rgba(75, 0, 0, 0.28);
    border-radius: 24px;
    box-shadow: 0 8px 24px rgba(75, 0, 0, 0.06);
}

.empty-icon-wrap {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(75, 0, 0, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
}

.empty-svg-icon {
    width: 40px;
    height: 40px;
    fill: var(--wine-burgundy);
}

.empty-title {
    color: var(--wine-burgundy-dark);
    font-size: 1.65rem;
    font-weight: 700;
}

.empty-desc {
    max-width: 500px;
    color: #3a1a1a;
    font-weight: 500;
    line-height: 1.6;
}

.moments-empty-card .hero-cta-primary,
#momentUploadForm #btnSubmitMoment {
    background: var(--wine-burgundy);
    color: var(--mustard-yellow) !important;
    border: 2px solid var(--wine-burgundy);
    font-weight: 800;
    font-size: 0.98rem;
}

.moments-empty-card .hero-cta-primary:hover,
#momentUploadForm #btnSubmitMoment:hover {
    background: var(--wine-burgundy-dark);
    color: #ffffff !important;
}

/* Multi-File Batch Upload Modal & Queue Grid (White Card Surface) */
.wedding-modal-content {
    background: #ffffff;
    color: var(--text-dark);
    border: 2.5px solid var(--wine-burgundy);
    border-radius: 24px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}

.moments-modal-title {
    color: var(--wine-burgundy-dark) !important;
    font-size: 1.5rem;
    font-weight: 700;
}

.modal-kicker {
    display: block;
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--wine-burgundy);
}

.wedding-modal-content .text-muted {
    color: #5c3a3a !important;
}

.upload-dropzone {
    border: 2px dashed rgba(75, 0, 0, 0.35);
    border-radius: 16px;
    background: #faf6e6;
    cursor: pointer;
    transition: all 0.2s ease;
}

.upload-dropzone:hover {
    border-color: var(--wine-burgundy);
    background: #fff3bf;
}

.dropzone-icon-circle {
    width: 56px;
    height: 56px;
    background: #ffffff;
    border: 1.5px solid rgba(75, 0, 0, 0.22);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--wine-burgundy);
}

.dropzone-headline {
    color: var(--wine-burgundy-dark);
    font-weight: 700;
    font-size: 1.08rem;
}

.dropzone-hint {
    font-size: 0.85rem;
    font-weight: 500;
    color: #4a2525;
}

.batch-queue-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(96px, 1fr));
    gap: 0.65rem;
    max-height: 250px;
    overflow-y: auto;
    padding: 0.65rem;
    background: #f7f3e3;
    border: 1.5px solid rgba(75, 0, 0, 0.18);
    border-radius: 14px;
}

.batch-tile {
    position: relative;
    aspect-ratio: 1 / 1;
    border-radius: 10px;
    overflow: hidden;
    background: #2b0000;
    border: 1.5px solid rgba(75, 0, 0, 0.22);
}

.batch-tile.status-done {
    border-color: #198754;
}

.batch-tile.status-error {
    border-color: #dc3545;
}

.batch-tile-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.batch-tile-video {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--mustard-yellow);
    font-size: 1.4rem;
}

.batch-tile-video small {
    font-size: 0.72rem;
    font-weight: 700;
    color: #ffffff;
}

.batch-tile-size,
.batch-tile-status {
    position: absolute;
    bottom: 4px;
    left: 4px;
    right: 4px;
    font-size: 0.68rem;
    font-weight: 800;
    text-align: center;
    padding: 2px 4px;
    border-radius: 6px;
    background: rgba(0, 0, 0, 0.78);
    color: #ffffff;
}

.batch-tile-status.uploading {
    background: var(--mustard-yellow);
    color: var(--wine-burgundy-dark);
}

.batch-tile-status.done {
    background: #198754;
    color: #ffffff;
}

.batch-tile-status.error {
    background: #dc3545;
    color: #ffffff;
    cursor: pointer;
    border: none;
    transition: transform 0.15s ease, background 0.15s ease;
}

.batch-tile-status.error:hover,
.batch-tile-status.error:focus-visible {
    background: #b02a37;
    transform: scale(1.02);
}

.batch-tile-remove {
    position: absolute;
    top: 4px;
    right: 4px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    border: none;
    background: rgba(0, 0, 0, 0.8);
    color: #ffffff;
    font-size: 0.9rem;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.batch-tile-remove:hover {
    background: #dc3545;
}

.wedding-form-input {
    border: 1.5px solid rgba(75, 0, 0, 0.28);
    border-radius: 10px;
    padding: 0.65rem 0.9rem;
    color: var(--wine-burgundy-dark);
    background-color: #ffffff;
}

.wedding-form-input:focus {
    border-color: var(--wine-burgundy);
    box-shadow: 0 0 0 3px rgba(75, 0, 0, 0.14);
}

.wedding-progress {
    height: 12px;
    border-radius: 6px;
    background: rgba(75, 0, 0, 0.12);
}

.bg-gold {
    background-color: var(--mustard-yellow) !important;
}

.text-burgundy {
    color: var(--wine-burgundy-dark) !important;
}

/* Swipeable Lightbox & Auto-Slideshow Modal (Deep Dark Theatre Surface) */
.lightbox-modal-content {
    background: transparent;
}

.lightbox-wrap {
    max-width: 960px;
    margin: 0 auto;
    background: rgba(24, 0, 0, 0.95);
    border: 1.5px solid rgba(255, 206, 27, 0.4);
    border-radius: 22px;
    padding: 0.85rem 1rem 1rem;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.75);
}

.lightbox-slideshow-bar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: rgba(255, 255, 255, 0.25);
    z-index: 1060;
}

.lightbox-slideshow-fill {
    height: 100%;
    width: 0%;
    background: var(--mustard-yellow);
}

.lightbox-slideshow-fill.is-waiting {
    animation: slideshowWaitPulse 1.1s ease-in-out infinite alternate;
}

@keyframes slideshowWaitPulse {
    0% { opacity: 0.35; }
    100% { opacity: 1; }
}

.lightbox-counter-pill {
    background: rgba(255, 255, 255, 0.15);
    color: #ffffff;
    font-size: 0.84rem;
    font-weight: 700;
    padding: 0.32rem 0.85rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 206, 27, 0.45);
}

.lightbox-stage {
    min-height: 48vh;
}

.lightbox-media-container {
    position: relative;
    max-height: 70vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    touch-action: manipulation;
    user-select: none;
    -webkit-user-select: none;
}

.lightbox-loading-pill {
    position: absolute;
    bottom: 14px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(24, 0, 0, 0.82);
    color: var(--mustard-yellow);
    border: 1px solid rgba(255, 206, 27, 0.5);
    border-radius: 999px;
    padding: 0.25rem 0.85rem;
    font-size: 0.76rem;
    font-weight: 700;
    z-index: 6;
    pointer-events: none;
    backdrop-filter: blur(4px);
}

.lightbox-sound-pill {
    position: absolute;
    top: 14px;
    right: 14px;
    background: rgba(24, 0, 0, 0.86);
    color: var(--mustard-yellow);
    border: 1.5px solid var(--mustard-yellow);
    border-radius: 999px;
    padding: 0.32rem 0.9rem;
    font-size: 0.78rem;
    font-weight: 800;
    z-index: 7;
    cursor: pointer;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.45);
    transition: transform 0.15s ease, background 0.15s ease;
}

.lightbox-sound-pill:hover {
    background: var(--mustard-yellow);
    color: var(--wine-burgundy-dark);
    transform: scale(1.04);
}

.lightbox-media-img {
    max-width: 100%;
    max-height: 70vh;
    border-radius: 14px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.6);
    object-fit: contain;
}

.lightbox-video-frame {
    width: 100%;
    height: 60vh;
    border: none;
    border-radius: 14px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.6);
}

/* Immersive Fullscreen Theatre Mode (Hardware :fullscreen + Mobile/iOS .is-fullscreen-mode) */
#lightboxModal.is-fullscreen-mode,
#lightboxModal:fullscreen,
#lightboxModal:-webkit-full-screen {
    padding: 0 !important;
    background: #0c0000 !important;
}

#lightboxModal.is-fullscreen-mode .modal-dialog,
#lightboxModal:fullscreen .modal-dialog,
#lightboxModal:-webkit-full-screen .modal-dialog {
    max-width: 100vw !important;
    width: 100vw !important;
    height: 100dvh !important;
    margin: 0 !important;
}

#lightboxModal.is-fullscreen-mode .modal-content,
#lightboxModal:fullscreen .modal-content,
#lightboxModal:-webkit-full-screen .modal-content {
    height: 100dvh !important;
    border-radius: 0 !important;
}

#lightboxModal.is-fullscreen-mode .lightbox-wrap,
#lightboxModal:fullscreen .lightbox-wrap,
#lightboxModal:-webkit-full-screen .lightbox-wrap {
    max-width: 100vw !important;
    width: 100vw !important;
    height: 100dvh !important;
    border-radius: 0 !important;
    border: none !important;
    background: #0c0000 !important;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 0.75rem 1.25rem 1rem !important;
}

#lightboxModal.is-fullscreen-mode .lightbox-stage,
#lightboxModal:fullscreen .lightbox-stage,
#lightboxModal:-webkit-full-screen .lightbox-stage {
    flex: 1 1 auto;
    min-height: 0;
    margin-bottom: 0.5rem !important;
}

#lightboxModal.is-fullscreen-mode .lightbox-media-container,
#lightboxModal:fullscreen .lightbox-media-container,
#lightboxModal:-webkit-full-screen .lightbox-media-container,
#lightboxModal.is-fullscreen-mode .lightbox-media-img,
#lightboxModal:fullscreen .lightbox-media-img,
#lightboxModal:-webkit-full-screen .lightbox-media-img {
    max-height: calc(100dvh - 165px) !important;
    max-width: 96vw !important;
}

#lightboxModal.is-fullscreen-mode .lightbox-video-frame,
#lightboxModal:fullscreen .lightbox-video-frame,
#lightboxModal:-webkit-full-screen .lightbox-video-frame {
    height: calc(100dvh - 165px) !important;
    max-width: 96vw !important;
}

#lightboxModal.is-fullscreen-mode .lightbox-meta-card,
#lightboxModal:fullscreen .lightbox-meta-card,
#lightboxModal:-webkit-full-screen .lightbox-meta-card {
    width: 100%;
    max-width: 1080px;
}

.lightbox-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1.5px solid var(--mustard-yellow);
    background: rgba(45, 0, 0, 0.88);
    color: #ffffff;
    font-size: 1.8rem;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
}

.lightbox-nav-btn:hover {
    background: var(--mustard-yellow);
    color: var(--wine-burgundy-dark);
    transform: translateY(-50%) scale(1.06);
}

.lightbox-nav-prev {
    left: 10px;
}

.lightbox-nav-next {
    right: 10px;
}

.lightbox-meta-card {
    background: rgba(48, 0, 0, 0.92);
    border: 1px solid rgba(255, 206, 27, 0.38);
    border-radius: 16px;
    color: #ffffff;
}

.lightbox-avatar {
    background: var(--mustard-yellow);
    color: var(--wine-burgundy-dark);
}

.lightbox-caption {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 1.25rem;
    font-weight: 600;
    font-style: italic;
    color: var(--mustard-yellow);
}

.btn-gold {
    background: var(--mustard-yellow);
    color: var(--wine-burgundy-dark) !important;
    font-weight: 800;
    border: 1.5px solid var(--mustard-yellow);
}

.btn-gold:hover {
    background: #ffe066;
    color: var(--wine-burgundy-dark) !important;
}

/* Live Sync Pill in Topbar */
.live-sync-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.16rem 0.6rem;
    border-radius: 999px;
    background: rgba(46, 204, 113, 0.16);
    border: 1px solid rgba(46, 204, 113, 0.55);
    color: #b8f7d0;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

/* Search Input & Active Guest Filter Chip in Toolbar */
.moments-search-input {
    border-radius: 999px;
    border: 1.5px solid rgba(75, 0, 0, 0.32);
    background-color: #ffffff;
    color: var(--wine-burgundy-dark);
    font-weight: 600;
    font-size: 0.84rem;
    height: 38px;
    padding: 0.38rem 0.95rem;
    width: 100%;
    min-width: 0;
}

.moments-search-input:focus {
    border-color: var(--wine-burgundy);
    box-shadow: 0 0 0 3px rgba(75, 0, 0, 0.14);
}

.active-guest-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.35rem 0.85rem;
    border-radius: 999px;
    background: var(--wine-burgundy);
    color: var(--ivory-white);
    border: 1.5px solid var(--mustard-yellow);
    font-size: 0.82rem;
}

.active-guest-chip strong {
    color: var(--mustard-yellow);
}

.active-guest-clear {
    background: rgba(255, 255, 255, 0.18);
    color: #ffffff;
    border: none;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-weight: 800;
}

.active-guest-clear:hover {
    background: var(--mustard-yellow);
    color: var(--wine-burgundy-dark);
}

/* Category Badge on Card & Lightbox */
.moment-category-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 3;
    background: rgba(38, 0, 0, 0.82);
    color: var(--mustard-yellow);
    border: 1px solid rgba(255, 206, 27, 0.55);
    font-size: 0.72rem;
    font-weight: 700;
    padding: 0.2rem 0.62rem;
    border-radius: 999px;
    backdrop-filter: blur(4px);
    pointer-events: none;
}

.lightbox-category-pill {
    background: rgba(255, 206, 27, 0.18);
    color: var(--mustard-yellow);
    border: 1px solid rgba(255, 206, 27, 0.5);
    font-size: 0.8rem;
    font-weight: 700;
    padding: 0.3rem 0.8rem;
    border-radius: 999px;
}

/* Clickable Author Filter Button & Self-Delete Button */
.moment-author-btn {
    background: transparent;
    border: none;
    padding: 2px 6px 2px 2px;
    border-radius: 999px;
    cursor: pointer;
    transition: background 0.2s ease;
}

.moment-author-btn:hover {
    background: rgba(75, 0, 0, 0.08);
}

#lightboxAuthorFilterBtn:hover {
    background: rgba(255, 206, 27, 0.16);
}

.moment-card-del-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #fff0f3;
    border: 1.5px solid rgba(220, 53, 69, 0.35);
    color: #b02a37;
    font-size: 0.82rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.moment-card-del-btn:hover {
    background: #dc3545;
    border-color: #dc3545;
    color: #ffffff;
    transform: translateY(-1px);
}

/* Upload Modal 1-Tap Category Choice Grid & Video Queue Badge */
.moment-category-selector {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
}

@media (min-width: 576px) {
    .moment-category-selector {
        grid-template-columns: repeat(4, 1fr);
        gap: 0.55rem;
    }
}

.category-choice-pill {
    background: #faf6e6;
    border: 1.5px solid rgba(75, 0, 0, 0.28);
    color: var(--wine-burgundy-dark);
    padding: 0.48rem 0.65rem;
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: 100%;
    white-space: nowrap;
}

.category-choice-pill:hover {
    border-color: var(--wine-burgundy);
    background: #fff3bf;
}

.category-choice-pill.active {
    background: var(--wine-burgundy);
    border-color: var(--wine-burgundy);
    color: var(--mustard-yellow);
    box-shadow: 0 4px 10px rgba(75, 0, 0, 0.2);
}

.batch-tile-video-badge {
    position: absolute;
    top: 4px;
    left: 4px;
    background: rgba(0, 0, 0, 0.78);
    color: var(--mustard-yellow);
    font-size: 0.72rem;
    padding: 2px 6px;
    border-radius: 6px;
    pointer-events: none;
}

/* Double-Tap Floating Heart Burst */
.double-tap-heart {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.4);
    font-size: 3.4rem;
    z-index: 5;
    pointer-events: none;
    animation: doubleTapHeartPop 0.72s cubic-bezier(0.18, 0.89, 0.32, 1.28) forwards;
    filter: drop-shadow(0 6px 16px rgba(0, 0, 0, 0.45));
}

@keyframes doubleTapHeartPop {
    0% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.4);
    }
    45% {
        opacity: 1;
        transform: translate(-50%, -55%) scale(1.25);
    }
    100% {
        opacity: 0;
        transform: translate(-50%, -75%) scale(1.5);
    }
}

/* ==========================================================================
   Full-Project Responsive UI/UX Polish Across All Viewports (320px to 1440px+)
   ========================================================================== */

/* 1. Mobile & Small Screen Refinements (< 576px) */
@media (max-width: 575.98px) {
    /* Sticky Topbar on /moments/ */
    .moments-topbar .container {
        padding-left: 0.65rem !important;
        padding-right: 0.65rem !important;
    }

    .moments-back-link {
        padding: 0.34rem 0.75rem;
        font-size: 0.78rem;
    }

    .moments-topbar-btn {
        padding: 0.38rem 0.85rem;
        font-size: 0.79rem;
    }

    /* Compact Hero on /moments/ so gallery is immediately visible */
    .moments-hero {
        padding: 1.4rem 0.85rem 1.65rem !important;
    }

    .moments-hero-badge {
        width: 56px;
        height: 56px;
    }

    .moments-main-title,
    .moments-page-title {
        font-size: 1.85rem;
    }

    .moments-hero-subtitle {
        font-size: 0.94rem;
        line-height: 1.5;
        margin-bottom: 1rem !important;
    }

    .moments-1tap-btn {
        width: 100%;
        max-width: 360px;
        padding: 0.75rem 1rem;
        gap: 0.7rem;
        border-radius: 14px;
    }

    .moments-1tap-primary strong {
        font-size: 0.95rem;
    }

    .moments-1tap-primary small {
        font-size: 0.74rem;
    }

    .btn-icon-circle {
        width: 38px;
        height: 38px;
        font-size: 1.15rem;
    }

    /* Homepage & Wishes Hero CTA Buttons: Full-width symmetrical stack on phones */
    .hero .d-flex.flex-wrap,
    .wishes-hero .d-flex.flex-wrap {
        flex-direction: column;
        align-items: center;
        width: 100%;
        gap: 0.65rem !important;
    }

    .hero .hero-cta,
    .wishes-hero .hero-cta {
        width: 100%;
        max-width: 310px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        text-align: center;
    }

    /* Homepage Moments Section (#moments): Symmetrical 2x2 feature chips & full-width CTA buttons */
    .moments-feature-chips {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr);
        gap: 0.45rem !important;
        width: 100%;
    }

    .moments-chip {
        justify-content: center;
        text-align: center;
        font-size: 0.72rem;
        padding: 0.35rem 0.4rem;
        line-height: 1.2;
    }

    .moments-cta-actions {
        flex-direction: column;
        width: 100%;
        gap: 0.6rem !important;
    }

    .moments-btn-primary,
    .moments-btn-secondary {
        width: 100%;
        justify-content: center;
        text-align: center;
    }

    /* Venue Pill Cards on Homepage */
    .venue-pill-card {
        padding: 0.6rem 0.65rem 0.6rem 0.85rem;
        gap: 0.5rem;
    }

    .venue-pill-title {
        font-size: 0.82rem;
    }

    /* Lightbox Mobile Controls */
    .lightbox-wrap {
        padding: 0.65rem 0.65rem 0.85rem;
        border-radius: 16px;
    }

    .lightbox-category-pill {
        font-size: 0.72rem;
        padding: 0.24rem 0.6rem;
    }

    .lightbox-counter-pill {
        font-size: 0.75rem;
        padding: 0.24rem 0.65rem;
    }

    .lightbox-nav-btn {
        width: 36px;
        height: 36px;
        font-size: 1.45rem;
    }

    .lightbox-nav-prev {
        left: 6px;
    }

    .lightbox-nav-next {
        right: 6px;
    }

    .lightbox-meta-row {
        flex-direction: column;
        align-items: stretch !important;
        gap: 0.65rem !important;
    }

    .lightbox-actions {
        width: 100%;
        justify-content: space-between;
    }

    .lightbox-actions .btn {
        flex: 1 1 auto;
        text-align: center;
        justify-content: center;
        padding-left: 0.5rem !important;
        padding-right: 0.5rem !important;
        font-size: 0.78rem;
    }
}

/* 2. Extra-Small Phones (< 380px) */
@media (max-width: 379.98px) {
    .moments-feature-chips {
        grid-template-columns: 1fr;
    }

    .moment-category-selector {
        grid-template-columns: 1fr 1fr;
    }

    .category-choice-pill {
        font-size: 0.75rem;
        padding: 0.42rem 0.35rem;
    }
}

/* ==========================================================================
   Whole-Site UI/UX Audit Enhancements (Navigation, Hero, Countdown, Schedule,
   Entourage, Gifting, Bespoke RSVP, OTP & Standalone Confirmation Screens)
   ========================================================================== */

/* A. Desktop Laptop Navbar Anti-Wrap (992px–1399px) & Mobile 2-Column Drawer (< 992px) */
@media (min-width: 992px) and (max-width: 1399.98px) {
    .navbar .nav-links {
        gap: 0.85rem !important;
    }

    .navbar .nav-links a {
        font-size: 0.8rem;
        white-space: nowrap;
    }

    .navbar .nav-rsvp-pill,
    .navbar .nav-sms-pill {
        padding: 0.35rem 0.85rem !important;
        font-size: 0.76rem !important;
        white-space: nowrap;
    }
}

@media (max-width: 991.98px) {
    .navbar-collapse {
        margin-top: 0.65rem;
        padding: 0.85rem;
        border-radius: 18px;
        background: #ffffff;
        border: 1.5px solid rgba(75, 0, 0, 0.16);
        box-shadow: 0 18px 42px rgba(46, 0, 0, 0.28);
    }

    .navbar-collapse .nav-links {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr);
        gap: 0.5rem !important;
        padding-top: 0 !important;
    }

    .navbar-collapse .nav-item {
        width: 100%;
    }

    .navbar-collapse .nav-links a:not(.nav-rsvp-pill):not(.nav-sms-pill),
    .navbar.scrolled .navbar-collapse .nav-links a:not(.nav-rsvp-pill):not(.nav-sms-pill) {
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
        padding: 0.55rem 0.65rem;
        border-radius: 12px;
        background: var(--ivory-white);
        border: 1px solid rgba(75, 0, 0, 0.12);
        color: var(--wine-burgundy);
        font-weight: 700;
        font-size: 0.84rem;
    }

    .navbar-collapse .nav-links a:not(.nav-rsvp-pill)::after {
        display: none !important;
    }

    .navbar-collapse .nav-links a[aria-current="location"] {
        background: var(--wine-burgundy) !important;
        color: var(--mustard-yellow) !important;
        border-color: var(--wine-burgundy) !important;
    }

    .navbar-collapse .nav-item:has(.nav-rsvp-pill) {
        grid-column: 1 / -1;
    }

    .navbar-collapse .nav-rsvp-pill {
        display: flex !important;
        align-items: center;
        justify-content: center;
        width: 100%;
        margin-top: 0.15rem;
        padding: 0.65rem 1rem !important;
        background: var(--wine-burgundy);
        color: var(--mustard-yellow) !important;
        border: 1.5px solid var(--mustard-yellow);
    }

    .navbar-collapse .nav-sms-pill {
        display: flex !important;
        align-items: center;
        justify-content: center;
        width: 100%;
        text-align: center;
        background: rgba(75, 0, 0, 0.08);
        color: var(--wine-burgundy) !important;
        border-color: var(--wine-burgundy);
    }
}

/* B. Hero Viewport Proportions (Fits Crest + Artwork + CTA Buttons Above the Fold) */
.hero {
    min-height: min(860px, 100svh);
    padding: 5.5rem 1rem 3.5rem;
}

.hero-invitation-artwork {
    width: min(100%, 880px);
}

.hero-invitation-artwork img {
    max-height: 58svh;
    width: auto;
    max-width: 100%;
    margin: 0 auto;
    object-fit: contain;
}

/* C. Countdown Save-to-Calendar Action Pills */
.countdown-cal-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    padding: 0.52rem 1.15rem;
    border-radius: 999px;
    background: rgba(255, 255, 227, 0.12);
    border: 1.5px solid rgba(255, 206, 27, 0.65);
    color: var(--ivory-white);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.22s ease;
}

.countdown-cal-btn:hover {
    background: var(--mustard-yellow);
    border-color: var(--mustard-yellow);
    color: var(--wine-burgundy-dark);
    transform: translateY(-2px);
}

@media (max-width: 575.98px) {
    .countdown-actions {
        flex-direction: column;
        align-items: center;
        width: 100%;
    }

    .countdown-cal-btn {
        width: 100%;
        max-width: 290px;
    }
}

/* D. Schedule Timeline Tablet & Mobile Alignment */
@media (min-width: 768px) and (max-width: 991.98px) {
    .order-emblem-ring {
        width: 74px;
        height: 74px;
        padding: 8px;
    }

    .order-timeline::before {
        top: 45px;
    }

    .order-name {
        font-size: 1.35rem;
    }
}

@media (max-width: 767.98px) {
    .order-timeline::before {
        left: 37px;
    }
}

/* E. Entourage Union Seal Divider & Single-Line Team Names */
@media (max-width: 991.98px) {
    .parents-union-seal {
        position: relative;
        width: 74px;
        height: 74px;
    }
}

.team-list li {
    font-size: clamp(1.02rem, 3.4vw, 1.2rem);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* F. Gifting 1-Tap Copy Paybill Button */
.mpesa-copy-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.26rem 0.75rem;
    border-radius: 999px;
    background: var(--wine-burgundy);
    color: var(--mustard-yellow);
    border: 1.5px solid var(--wine-burgundy);
    font-size: 0.74rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.mpesa-copy-btn:hover {
    background: var(--wine-burgundy-dark);
    color: #ffffff;
    transform: translateY(-1px);
}

.mpesa-copy-btn.copied {
    background: #198754;
    border-color: #198754;
    color: #ffffff;
}

.mpesa-number-highlight {
    font-weight: 800;
    color: var(--wine-burgundy);
    letter-spacing: 0.03em;
}

/* G. Bespoke RSVP Card Width & Aligned Form Fields */
.rsvp-wrapper {
    max-width: 760px;
}

.rsvp-step-block .form-group {
    display: flex;
    flex-direction: column;
}

.rsvp-step-block .form-label {
    margin-bottom: 0.35rem;
}

/* H. Standalone RSVP OTP, Update Confirmation & Thank-You Screens */
.rsvp-confirmation-card {
    position: relative;
    overflow: hidden;
}

.rsvp-confirmation-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--wine-burgundy), var(--mustard-yellow), var(--wine-burgundy));
}

.rsvp-update-confirm {
    background: var(--wine-burgundy);
    color: var(--mustard-yellow);
    border-color: var(--wine-burgundy);
    font-weight: 700;
}

.rsvp-update-confirm:hover,
.rsvp-update-confirm:focus-visible {
    background: var(--mustard-yellow);
    color: var(--wine-burgundy-dark);
    border-color: var(--wine-burgundy);
}

.rsvp-otp-form input {
    max-width: 280px;
    height: 56px;
    font-size: 1.55rem;
    font-weight: 700;
    letter-spacing: 0.32em;
    border: 2px solid var(--wine-burgundy);
    border-radius: 14px;
    color: var(--wine-burgundy);
}

.rsvp-confirmation-link:disabled,
.rsvp-confirmation-link.is-cooldown {
    opacity: 0.56 !important;
    cursor: not-allowed !important;
    pointer-events: none;
    background: rgba(75, 0, 0, 0.06) !important;
    color: var(--wine-burgundy) !important;
    border-color: rgba(75, 0, 0, 0.28) !important;
    box-shadow: none !important;
    transform: none !important;
}

@media (max-width: 575.98px) {
    .rsvp-update-actions {
        flex-direction: column;
        width: 100%;
    }

    .rsvp-update-actions .rsvp-confirmation-link {
        width: 100%;
    }

    .rsvp-otp-form .rsvp-confirmation-link,
    .rsvp-otp-resend .rsvp-confirmation-link {
        width: 100%;
        max-width: 280px;
    }
}

.moment-video-poster-fallback {
    width: 100%;
    height: 100%;
    min-height: 210px;
    background: radial-gradient(circle at center, #6B0F1A 0%, #3a0000 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    padding: 1.5rem 1rem 3.2rem;
    color: var(--mustard-yellow);
    text-align: center;
}

.moment-video-poster-fallback .poster-fallback-icon {
    font-size: 2.1rem;
    filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.4));
}

.moment-video-poster-fallback .poster-fallback-text {
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--ivory-white);
    opacity: 0.9;
}

/* Wedding-Day FAQ Accordion & Closed-RSVP Action Card */
.faq-section {
    background: linear-gradient(180deg, var(--ivory-white) 0%, #f8f3dc 100%);
}

.faq-container {
    max-width: 820px;
}

.wedding-faq-accordion .accordion-item {
    border: 1px solid rgba(75, 0, 0, 0.12);
    border-radius: 14px !important;
    margin-bottom: 0.75rem;
    overflow: hidden;
    background: #ffffff;
    box-shadow: 0 4px 14px rgba(75, 0, 0, 0.05);
}

.wedding-faq-accordion .accordion-button {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--wine-burgundy);
    background: #ffffff;
    padding: 1rem 1.25rem;
    box-shadow: none;
}

.wedding-faq-accordion .accordion-button:not(.collapsed) {
    color: var(--wine-burgundy);
    background: rgba(255, 206, 27, 0.14);
    border-bottom: 1px solid rgba(75, 0, 0, 0.08);
}

.wedding-faq-accordion .accordion-button:focus {
    box-shadow: 0 0 0 3px rgba(255, 206, 27, 0.35);
}

.wedding-faq-accordion .accordion-body {
    font-size: 0.96rem;
    line-height: 1.65;
    color: #3a1a1a;
    padding: 1rem 1.25rem 1.15rem;
}

.wedding-faq-accordion .accordion-body a {
    color: var(--wine-burgundy);
    font-weight: 600;
    text-decoration: underline;
    text-decoration-color: var(--mustard-yellow);
    text-underline-offset: 3px;
}

.rsvp-closed-card {
    background: #ffffff;
    border: 1px solid rgba(75, 0, 0, 0.14);
    border-top: 4px solid var(--mustard-yellow);
    border-radius: 20px;
    box-shadow: 0 12px 32px rgba(75, 0, 0, 0.08);
}

.rsvp-closed-card .section-kicker {
    color: var(--wine-burgundy-light);
}

.rsvp-closed-card .section-title {
    color: var(--wine-burgundy);
}

.rsvp-closed-card .rsvp-closed {
    color: #3a1a1a;
    font-size: 1rem;
    line-height: 1.65;
}

.rsvp-closed-action-btn {
    border-radius: 999px;
    padding: 0.55rem 1.1rem;
    font-size: 0.88rem;
    font-weight: 600;
    border: 1px solid rgba(75, 0, 0, 0.25);
    color: var(--wine-burgundy);
    background: #ffffff;
    transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.rsvp-closed-action-btn:hover {
    background: rgba(255, 206, 27, 0.22);
    color: var(--wine-burgundy);
    transform: translateY(-2px);
}

.rsvp-closed-action-primary {
    background: var(--wine-burgundy);
    color: var(--mustard-yellow);
    border-color: var(--wine-burgundy);
}

.rsvp-closed-action-primary:hover {
    background: #360000;
    color: #ffffff;
}

/* =========================================================================
   5 Wedding-Day Features: Coordinator FAB, Post-Wedding Portal, Guest Pass,
   Seating Finder, and Voice Note Guestbook
   ========================================================================= */

.coordinator-fab {
    position: fixed;
    left: 1.25rem;
    bottom: 1.5rem;
    z-index: 1030;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.65rem 1.1rem;
    border-radius: 999px;
    border: 2px solid var(--mustard-yellow);
    background: var(--wine-burgundy);
    color: var(--mustard-yellow);
    font-size: 0.85rem;
    font-weight: 700;
    box-shadow: 0 10px 26px rgba(75, 0, 0, 0.35);
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.coordinator-fab:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 32px rgba(75, 0, 0, 0.45);
}

.post-wedding-portal {
    background: linear-gradient(135deg, #3a0000 0%, var(--wine-burgundy) 55%, #5c0c16 100%);
    color: var(--ivory-white);
}

.post-wedding-card {
    max-width: 820px;
    border-radius: 22px;
    border: 1.5px solid rgba(255, 206, 27, 0.45);
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(8px);
}

.post-wedding-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(2rem, 4vw, 2.9rem);
    font-weight: 700;
    color: var(--mustard-yellow);
}

.post-wedding-copy {
    max-width: 640px;
    color: rgba(255, 255, 227, 0.92);
    font-size: 1.02rem;
    line-height: 1.7;
}

.post-wedding-btn-gold {
    background: var(--mustard-yellow);
    color: var(--wine-burgundy);
    font-weight: 700;
    border-radius: 999px;
    padding: 0.6rem 1.3rem;
}

.post-wedding-btn-gold:hover {
    background: #ffd94d;
    color: var(--wine-burgundy);
}

.post-wedding-btn-outline {
    border: 1.5px solid rgba(255, 206, 27, 0.65);
    color: var(--ivory-white);
    font-weight: 600;
    border-radius: 999px;
    padding: 0.6rem 1.2rem;
}

.post-wedding-btn-outline:hover {
    background: rgba(255, 206, 27, 0.18);
    color: #ffffff;
}

.feature-page-hero {
    background: linear-gradient(135deg, #3a0000 0%, var(--wine-burgundy) 60%, #5c0c16 100%);
    color: var(--ivory-white);
    padding-top: 4.5rem !important;
}

.feature-page-title {
    color: var(--mustard-yellow) !important;
}

.feature-page-subtitle {
    max-width: 580px;
    color: rgba(255, 255, 227, 0.88);
}

.feature-lookup-card {
    background: #ffffff;
    border: 1px solid rgba(75, 0, 0, 0.14);
    border-top: 4px solid var(--mustard-yellow);
    border-radius: 20px;
    box-shadow: 0 12px 30px rgba(75, 0, 0, 0.08);
}

.guest-pass-submit-btn {
    background: var(--wine-burgundy);
    color: var(--mustard-yellow);
    font-weight: 700;
    border: 2px solid var(--wine-burgundy);
}

.guest-pass-submit-btn:hover {
    background: #360000;
    color: #ffffff;
    border-color: #360000;
}

.digital-pass-card {
    background: #ffffff;
    border: 2px solid var(--mustard-yellow);
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 16px 40px rgba(75, 0, 0, 0.14);
}

.digital-pass-header {
    background: linear-gradient(135deg, #3a0000 0%, var(--wine-burgundy) 100%);
    color: var(--ivory-white);
    padding: 1.75rem 1.5rem 1.5rem;
}

.digital-pass-crest {
    width: 60px;
    height: 60px;
    object-fit: contain;
}

.digital-pass-kicker {
    display: block;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--mustard-yellow);
}

.digital-pass-couple {
    font-family: 'Great Vibes', cursive;
    font-size: 2.3rem;
    color: #ffffff;
}

.digital-pass-date {
    font-size: 0.84rem;
    color: rgba(255, 255, 227, 0.85);
}

.digital-pass-label {
    display: block;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--wine-burgundy-light);
}

.digital-pass-name {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.9rem;
    font-weight: 700;
    color: var(--wine-burgundy);
}

.digital-pass-group-pill {
    display: inline-block;
    padding: 0.2rem 0.75rem;
    border-radius: 999px;
    background: rgba(255, 206, 27, 0.22);
    color: var(--wine-burgundy);
    font-size: 0.78rem;
    font-weight: 600;
}

.digital-pass-stat {
    background: #fdfaf0;
    border: 1px solid rgba(75, 0, 0, 0.1);
    border-radius: 12px;
    padding: 0.75rem 0.5rem;
}

.digital-pass-value {
    color: var(--wine-burgundy);
    font-size: 1.05rem;
}

.digital-pass-extras {
    background: #fdfaf0;
    border-radius: 12px;
    padding: 0.75rem 1rem;
    font-size: 0.9rem;
    color: #3a1a1a;
}

.seating-result-card,
.voice-note-card {
    background: #ffffff;
    border: 1px solid rgba(75, 0, 0, 0.12);
    border-left: 4px solid var(--wine-burgundy);
    border-radius: 16px;
    box-shadow: 0 8px 22px rgba(75, 0, 0, 0.06);
}

.seating-table-badge {
    padding: 0.45rem 1rem;
    border-radius: 999px;
    background: var(--wine-burgundy);
    color: var(--mustard-yellow);
    font-weight: 700;
    font-size: 0.9rem;
}

.seating-table-pending {
    background: rgba(255, 206, 27, 0.22);
    color: var(--wine-burgundy);
    border: 1px solid var(--mustard-yellow);
}

.voice-record-btn {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    border: 4px solid var(--mustard-yellow);
    background: linear-gradient(135deg, var(--wine-burgundy) 0%, #6b0f1a 100%);
    color: var(--ivory-white);
    cursor: pointer;
    box-shadow: 0 12px 30px rgba(75, 0, 0, 0.28);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.voice-record-btn:hover {
    transform: scale(1.04);
}

.voice-record-btn.is-recording {
    background: #b71c1c;
    border-color: #ffffff;
    animation: voicePulse 1.3s infinite;
}

@keyframes voicePulse {
    0% { box-shadow: 0 0 0 0 rgba(183, 28, 28, 0.55); }
    70% { box-shadow: 0 0 0 22px rgba(183, 28, 28, 0); }
    100% { box-shadow: 0 0 0 0 rgba(183, 28, 28, 0); }
}

.voice-record-icon {
    font-size: 2.3rem;
    line-height: 1;
    margin-bottom: 0.35rem;
}

.voice-record-label {
    font-size: 0.78rem;
    font-weight: 700;
    padding: 0 0.6rem;
    line-height: 1.25;
}

.voice-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--wine-burgundy);
    color: var(--mustard-yellow);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    flex-shrink: 0;
}

.voice-spotlight-card {
    border-radius: 22px;
    background: linear-gradient(135deg, #3a0000 0%, var(--wine-burgundy) 60%, #5c0c16 100%);
    border: 2px solid var(--mustard-yellow);
    color: var(--ivory-white);
    box-shadow: 0 16px 38px rgba(75, 0, 0, 0.2);
}

.voice-spotlight-mic {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: rgba(255, 206, 27, 0.16);
    border: 2px solid var(--mustard-yellow);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
}

.voice-spotlight-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.95rem;
    font-weight: 700;
    color: var(--mustard-yellow);
}

.voice-spotlight-copy {
    color: rgba(255, 255, 227, 0.9);
    font-size: 0.96rem;
    line-height: 1.6;
}

@media print {
    .no-print, nav, footer, .back-to-top, .hearts-rain, .scroll-progress, .loading-screen, .feature-page-hero {
        display: none !important;
    }
    .digital-pass-card {
        box-shadow: none !important;
        margin: 0 auto !important;
        max-width: 480px !important;
    }
}






