/* ==========================================================================
   CAP BLANC DIGITAL WEDDING INVITATION
   Amal Das V & Lakshmi Priya K — November 05, 2026
   Inspired by The Digital Yes "Cap Blanc" French Riviera Aesthetic
   ========================================================================== */

:root {
    --cap-bg: #F0F6F9;
    --cap-stage-bg: #F0F6F9;
    --cap-paper: #FCFAF7;
    --cap-paper-warm: #FAF6F0;
    --cap-olive: #2E3D23;
    --cap-olive-deep: #222E1A;
    --cap-olive-light: #445935;
    --cap-olive-subtle: #617751;
    --cap-blue-porcelain: #7EA7BF;
    --cap-blue-wax: #7EA6BE;
    --cap-blue-soft: #E6EFF4;
    --cap-blue-stripe: #C5DCED;
    --cap-gold: #C8A86B;
    --cap-gold-light: #EFE4CA;
    --cap-gold-copper: #D29B63;
    --cap-sage: #6C8563;
    --cap-text: #2D3A25;
    --cap-text-muted: rgba(46, 61, 35, 0.72);
    --cap-text-light: rgba(46, 61, 35, 0.55);

    --font-script: 'Pinyon Script', 'Great Vibes', 'Alex Brush', cursive;
    --font-serif: 'Cormorant Garamond', Garamond, Georgia, serif;
    --font-sans: 'Montserrat', 'Jost', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

    --ease-spring: cubic-bezier(0.175, 0.885, 0.32, 1.275);
    --ease-smooth: cubic-bezier(0.25, 1, 0.5, 1);
}

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    -webkit-tap-highlight-color: transparent;
}

html {
    scroll-behavior: smooth;
    background-color: var(--cap-stage-bg);
    -webkit-text-size-adjust: 100%;
    touch-action: pan-y;
}

body {
    width: 100%;
    min-height: 100vh;
    min-height: 100dvh;
    background-color: var(--cap-stage-bg);
    color: var(--cap-text);
    font-family: var(--font-serif);
    font-size: 16px;
    line-height: 1.5;
    overflow-x: clip;
    position: relative;
    -webkit-font-smoothing: antialiased;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-y;
}

/* ==========================================================================
   AMBIENT FALLING PETALS CANVAS OVERLAY
   ========================================================================== */
.petals-canvas {
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 768px;
    height: 100vh;
    height: 100dvh;
    pointer-events: none;
    z-index: 75;
}

/* ==========================================================================
   FLOATING ROMANTIC MUSIC TOGGLE BUTTON (MATCHING DEMO-1 & DEMO-4)
   ========================================================================== */
.audio-toggle-btn {
    position: fixed;
    top: 18px;
    right: max(18px, calc(50% - 365px));
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(200, 168, 107, 0.45);
    box-shadow: 0 4px 18px rgba(46, 61, 35, 0.14);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 100;
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease-in-out, visibility 0.4s ease-in-out, transform 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

.invitation-revealed .audio-toggle-btn {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
}

body.invitation-revealed #weiOverlay,
body.invitation-revealed #weiVideoWrap {
    display: none !important;
    pointer-events: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    z-index: -1 !important;
}

.audio-toggle-btn:hover {
    transform: scale(1.08);
    background: #FFF;
    box-shadow: 0 6px 22px rgba(46, 61, 35, 0.2);
}

.audio-icon {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: var(--cap-olive);
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: stroke 0.25s ease;
}

.audio-toggle-btn.playing {
    background: var(--cap-olive);
    border-color: var(--cap-olive);
}

.audio-toggle-btn.playing .audio-icon {
    stroke: #FFF;
}

.audio-toggle-btn.playing .wave-1 {
    animation: wavePulse 1s ease-in-out infinite alternate;
}

.audio-toggle-btn.playing .wave-2 {
    animation: wavePulse 1.2s ease-in-out infinite 0.2s alternate;
}

@keyframes wavePulse {
    0% { opacity: 0.3; }
    100% { opacity: 1; }
}

/* ==========================================================================
   1. CINEMATIC ENVELOPE OVERLAY (#weiOverlay)
   (Tailored to Cap Blanc #F0F6F9 Porcelain Palette)
   ========================================================================== */
#weiOverlay {
    position: fixed;
    inset: 0;
    z-index: 99999;
    background: #F0F6F9;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    user-select: none;
    transition: opacity 1.4s ease;
}

.wei-envelope-stage {
    position: relative;
    width: 100%;
    max-width: 440px;
    display: flex;
    align-items: center;
    justify-content: center;
}

#weiImg {
    width: 100%;
    max-width: 440px;
    display: block;
    object-fit: contain;
    filter: drop-shadow(0 20px 40px rgba(50, 75, 95, 0.16));
}

#weiTapWrap.wei-tap-center {
    position: absolute;
    top: 51.5%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    animation: weiTapIn 1.2s 0.6s both;
    pointer-events: none;
    z-index: 10;
}

.wei-tap-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 22px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.96) 0%, rgba(240, 246, 249, 0.92) 100%);
    border: 1.5px solid rgba(126, 167, 191, 0.7);
    border-radius: 30px;
    box-shadow: 0 4px 18px rgba(50, 75, 95, 0.12), 0 0 16px rgba(126, 167, 191, 0.35);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    animation: weiBadgePulse 2.4s ease-in-out infinite;
    cursor: pointer;
}

.wei-tap-sparkle {
    font-size: 11px;
    color: #7EA7BF;
    animation: weiSparkleSpin 3s linear infinite;
    line-height: 1;
}

@keyframes weiSparkleSpin {
    0%, 100% { transform: scale(1) rotate(0deg); opacity: 0.8; }
    50%      { transform: scale(1.25) rotate(15deg); opacity: 1; }
}

.wei-tap-badge .wei-tap-label {
    font-family: 'Cinzel', 'Cormorant Garamond', Georgia, serif;
    font-size: 11px;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: var(--cap-olive, #2E3D23);
    font-weight: 600;
    white-space: nowrap;
}

@keyframes weiBadgePulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 4px 18px rgba(50, 75, 95, 0.12), 0 0 14px rgba(126, 167, 191, 0.3);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 8px 26px rgba(50, 75, 95, 0.2), 0 0 24px rgba(126, 167, 191, 0.55);
    }
}

@keyframes weiTapIn {
    from { opacity: 0; transform: translate(-50%, calc(-50% + 8px)); }
    to   { opacity: 1; transform: translate(-50%, -50%); }
}

/* ==========================================================================
   2. VIDEO UNVEILING LAYER (#weiVideoWrap)
   ========================================================================== */
#weiVideoWrap {
    position: fixed;
    inset: 0;
    z-index: 100000;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #F0F6F9;
    opacity: 0;
    transition: opacity 0.8s ease;
    pointer-events: none;
}

#weiVideoWrap.wei-video-in {
    opacity: 1;
    pointer-events: all;
}

#weiVideoWrap.wei-video-out {
    opacity: 0;
    transition: opacity 1.4s ease;
    pointer-events: none;
}

#weiVideo {
    width: 100%;
    max-width: 440px;
    display: block;
    object-fit: contain;
    filter: drop-shadow(0 20px 40px rgba(50, 75, 95, 0.16));
}

.wei-skip-btn {
    position: absolute;
    bottom: 24px;
    right: 24px;
    padding: 7px 16px;
    background: rgba(255, 255, 255, 0.92);
    color: var(--cap-olive, #2E3D23);
    border: 1px solid rgba(126, 167, 191, 0.55);
    border-radius: 20px;
    font-family: var(--font-heading, 'Cinzel', serif);
    font-size: 11px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(50, 75, 95, 0.12);
    transition: all 0.3s ease;
    z-index: 100001;
}

.wei-skip-btn:hover {
    background: var(--cap-olive, #2E3D23);
    color: #ffffff;
    border-color: var(--cap-olive, #2E3D23);
}

/* ==========================================================================
   STAGE 2: MAIN CENTERED MOBILE WRAPPER (MATCHES REPO DEMOS)
   ========================================================================== */
.mobile-wrapper {
    position: relative;
    width: 100%;
    max-width: 768px;
    margin: 0 auto;
    background-color: var(--cap-bg);
    min-height: 100vh;
    min-height: 100dvh;
    box-shadow:
        0 0 50px rgba(50, 75, 95, 0.12),
        0 0 15px rgba(200, 168, 107, 0.1);
    border-left: 1px solid rgba(130, 169, 195, 0.25);
    border-right: 1px solid rgba(130, 169, 195, 0.25);
    overflow-x: clip;
    touch-action: pan-y;
}

@media (max-width: 840px) {
    .mobile-wrapper {
        max-width: 100%;
        box-shadow: none;
        border-left: none;
        border-right: none;
    }
    .petals-canvas {
        max-width: 100%;
    }
}

.cap-section {
    position: relative;
    width: 100%;
    padding: 40px 18px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

/* ==========================================================================
   SECTION 1: HERO ARCHWAY
   ========================================================================== */
.hero-archway-section {
    position: relative;
    width: 100%;
    min-height: 100vh;
    min-height: 100dvh;
    padding: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    text-align: center;
    background-color: #DDE8EE;
    overflow: clip;
    touch-action: pan-y;
    -webkit-overflow-scrolling: touch;
}

.archway-background-wrap {
    position: absolute;
    inset: 0;
    z-index: 1;
    overflow: hidden;
    pointer-events: none;
    touch-action: pan-y;
}

.archway-bg-img,
.archway-bg-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    pointer-events: none;
    display: block;
}

.hero-typography-center {
    position: relative;
    z-index: 2;
    margin-top: clamp(28vh, 32dvh, 35vh);
    width: 100%;
    max-width: clamp(210px, 62%, 265px);
    padding: 0 4px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    pointer-events: none;
}

.hero-eyebrow-caps {
    font-family: var(--font-sans);
    font-size: clamp(8px, 2.2vw, 9.5px);
    font-weight: 600;
    letter-spacing: 0.28em;
    color: #4A5E3F;
    margin-bottom: 8px;
    text-transform: uppercase;
    opacity: 0.9;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.85);
}

.hero-names-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    margin-bottom: 6px;
}

.hero-couple-name {
    font-family: var(--font-script);
    font-size: clamp(24px, 6.8vw, 32px);
    font-weight: 400;
    color: #27371E;
    background: linear-gradient(
        115deg,
        #1E2C17 0%,
        #3D522E 22%,
        #B59048 40%,
        #FFF6D5 50%,
        #B59048 60%,
        #3D522E 78%,
        #1E2C17 100%
    );
    background-size: 240% 100%;
    background-position: 100% 0;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.15;
    letter-spacing: 0.01em;
    white-space: nowrap;
    filter: drop-shadow(0 2px 4px rgba(255, 255, 255, 0.95)) drop-shadow(0 1px 2px rgba(45, 62, 37, 0.25));
    will-change: transform, opacity, background-position;
}

.hero-ampersand-sign {
    font-family: var(--font-script);
    font-size: clamp(18px, 4.8vw, 24px);
    color: #9E782F;
    background: linear-gradient(135deg, #7A5718 0%, #D4AF37 50%, #8C6519 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: -1px 0;
    line-height: 1;
    filter: drop-shadow(0 1px 3px rgba(255, 255, 255, 0.9));
    will-change: transform;
}

.hero-date-cluster {
    display: flex;
    align-items: baseline;
    gap: 6px;
    margin-top: 6px;
    color: #364B2E;
    font-family: var(--font-sans);
    letter-spacing: 0.24em;
    font-size: clamp(9px, 2.4vw, 11px);
    font-weight: 600;
    text-shadow: 0 1px 1px rgba(255, 255, 255, 0.8);
    will-change: transform;
}

.hero-date-day {
    font-family: 'Cinzel', var(--font-serif), serif;
    font-size: clamp(14px, 3.8vw, 18px);
    font-weight: 700;
    color: #8C6318;
    background: linear-gradient(135deg, #7A5718 0%, #D4AF37 50%, #8C6519 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 0.05em;
    display: inline-block;
    animation: heroDateDayPulse 3.5s ease-in-out infinite alternate;
    text-shadow: 0 1px 4px rgba(200, 168, 107, 0.35);
}

.hero-date-month {
    font-weight: 600;
}

.hero-date-year {
    font-weight: 500;
    opacity: 0.85;
}

.hero-venue-hint {
    margin-top: 6px;
    font-family: var(--font-sans);
    font-size: clamp(8px, 2.1vw, 9.5px);
    font-weight: 500;
    line-height: 1.45;
    letter-spacing: 0.16em;
    color: #556B48;
    text-transform: uppercase;
    text-shadow: 0 1px 1px rgba(255, 255, 255, 0.8);
}

/* ==========================================================================
   HERO ENTRANCE & CONTINUOUS LIVING ANIMATIONS
   ========================================================================== */
.hero-typography-center .fade-in-down,
.hero-typography-center .left-name-slide,
.hero-typography-center .ampersand-pop,
.hero-typography-center .right-name-slide,
.hero-typography-center .hero-date-cluster.fade-in-up,
.hero-typography-center .hero-venue-hint.fade-in-up {
    opacity: 0;
}

.invitation-revealed .hero-typography-center .fade-in-down,
.hero.hero-active .hero-typography-center .fade-in-down {
    animation: heroFadeDown 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.35s both;
}

.invitation-revealed .hero-typography-center .left-name-slide,
.hero.hero-active .hero-typography-center .left-name-slide {
    animation: heroGroomSlideIn 1.1s cubic-bezier(0.16, 1, 0.3, 1) 0.5s both,
               goldLustreSweep 5.5s ease-in-out 1.6s infinite alternate,
               heroNameBreathe 4.5s ease-in-out 1.8s infinite alternate;
}

.invitation-revealed .hero-typography-center .ampersand-pop,
.hero.hero-active .hero-typography-center .ampersand-pop {
    display: inline-block;
    animation: heroAmpersandPop 0.85s cubic-bezier(0.175, 0.885, 0.32, 1.275) 0.75s both,
               ampersandLivingPulse 3.5s ease-in-out 1.6s infinite alternate;
}

.invitation-revealed .hero-typography-center .right-name-slide,
.hero.hero-active .hero-typography-center .right-name-slide {
    animation: heroBrideSlideIn 1.1s cubic-bezier(0.16, 1, 0.3, 1) 0.85s both,
               goldLustreSweep 5.5s ease-in-out 2s infinite alternate,
               heroNameBreathe 4.5s ease-in-out 2.2s infinite alternate;
}

.invitation-revealed .hero-typography-center .hero-date-cluster.fade-in-up,
.hero.hero-active .hero-typography-center .hero-date-cluster.fade-in-up {
    animation: heroDateFadeUp 1s cubic-bezier(0.16, 1, 0.3, 1) 1.2s both,
               heroDateClusterBreathe 4.5s ease-in-out 2.5s infinite alternate;
}

.invitation-revealed .hero-typography-center .hero-venue-hint.fade-in-up,
.hero.hero-active .hero-typography-center .hero-venue-hint.fade-in-up {
    animation: heroDateFadeUp 1s cubic-bezier(0.16, 1, 0.3, 1) 1.4s both;
}

@keyframes goldLustreSweep {
    0% {
        background-position: 100% 0;
    }
    100% {
        background-position: 0% 0;
    }
}

@keyframes heroNameBreathe {
    0%, 100% {
        transform: translateY(0) scale(1);
        filter: drop-shadow(0 2px 4px rgba(255, 255, 255, 0.95)) drop-shadow(0 1px 2px rgba(45, 62, 37, 0.25));
    }
    50% {
        transform: translateY(-3px) scale(1.02);
        filter: drop-shadow(0 3px 10px rgba(255, 255, 255, 1)) drop-shadow(0 2px 8px rgba(200, 168, 107, 0.45));
    }
}

@keyframes ampersandLivingPulse {
    0%, 100% {
        transform: scale(1) rotate(0deg);
        filter: drop-shadow(0 1px 3px rgba(255, 255, 255, 0.9));
    }
    50% {
        transform: scale(1.15) rotate(4deg);
        filter: drop-shadow(0 2px 10px rgba(212, 175, 55, 0.75));
    }
}

@keyframes heroDateDayPulse {
    0%, 100% {
        transform: scale(1);
        filter: drop-shadow(0 1px 2px rgba(200, 168, 107, 0.25));
    }
    50% {
        transform: scale(1.08);
        filter: drop-shadow(0 2px 8px rgba(212, 175, 55, 0.55));
    }
}

@keyframes heroDateClusterBreathe {
    0%, 100% {
        transform: translateY(0) scale(1);
    }
    50% {
        transform: translateY(-2px) scale(1.03);
    }
}

@keyframes heroFadeDown {
    0% {
        opacity: 0;
        transform: translateY(-12px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes heroGroomSlideIn {
    0% {
        opacity: 0;
        transform: translateX(-40px);
        filter: blur(5px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
        filter: blur(0);
    }
}

@keyframes heroAmpersandPop {
    0% {
        opacity: 0;
        transform: scale(0.2) rotate(-35deg);
        filter: blur(3px);
    }
    100% {
        opacity: 1;
        transform: scale(1) rotate(0deg);
        filter: blur(0);
    }
}

@keyframes heroBrideSlideIn {
    0% {
        opacity: 0;
        transform: translateX(40px);
        filter: blur(5px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
        filter: blur(0);
    }
}

@keyframes heroDateFadeUp {
    0% {
        opacity: 0;
        transform: translateY(14px);
        filter: blur(3px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
        filter: blur(0);
    }
}

/* Discover Chevron Button */
.hero-discover-btn {
    position: relative;
    z-index: 2;
    margin-bottom: 28px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    color: var(--cap-olive);
    text-decoration: none;
    cursor: pointer;
    pointer-events: auto;
    touch-action: manipulation;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.discover-text {
    font-family: var(--font-sans);
    font-size: 10.5px;
    font-weight: 600;
    letter-spacing: 0.32em;
    text-transform: uppercase;
}

.discover-chevron {
    width: 16px;
    height: 16px;
    stroke: currentColor;
    stroke-width: 2;
    fill: none;
    animation: chevronBounce 1.8s ease-in-out infinite;
}

@keyframes chevronBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(5px); }
}

/* ==========================================================================
   SECTION 2: ROCOCO CARTOUCHE COUNTDOWN & BLESSINGS
   ========================================================================== */
.countdown-lineage-section {
    background: #F0F6F9;
    padding-top: 48px;
    padding-bottom: 0;
}

/* Authentic Rococo Watercolor Cartouche Frame Countdown */
.cartouche-countdown-wrapper {
    position: relative;
    width: calc(100% - 24px);
    max-width: 390px;
    margin: 0 auto;
    text-align: center;
    filter: drop-shadow(0 10px 24px rgba(50, 75, 30, 0.12));
    opacity: 0;
    transform: translateY(32px) scale(0.96);
    transition: opacity 1.1s cubic-bezier(0.16, 1, 0.3, 1), transform 1.1s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform, opacity;
}

.cartouche-countdown-wrapper.revealed {
    opacity: 1;
    transform: translateY(0) scale(1);
    animation: cartoucheFloatingBreath 6s ease-in-out 1s infinite alternate;
}

.cartouche-frame-art {
    width: 100%;
    height: auto;
    display: block;
    user-select: none;
    pointer-events: none;
}

.cartouche-content-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 12% 10% 14%;
    box-sizing: border-box;
    z-index: 2;
}

.cartouche-title-script {
    font-family: var(--font-script), 'Pinyon Script', cursive;
    font-size: clamp(26px, 6.8vw, 34px);
    font-weight: 400;
    color: hsl(84, 55%, 20%);
    background: linear-gradient(110deg, #1C2B10 0%, #3B4F28 28%, #A88338 48%, #FFF2CC 54%, #A88338 60%, #3B4F28 78%, #1C2B10 100%);
    background-size: 220% 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 0.025em;
    line-height: 1.1;
    margin: 0 0 2px 0;
    text-shadow: 0 1px 1px rgba(255, 255, 255, 0.7);
    opacity: 0;
    transform: translateY(-16px) scale(0.92);
    transition: opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1) 0.25s,
                transform 0.85s cubic-bezier(0.16, 1, 0.3, 1) 0.25s;
    will-change: transform, opacity;
}

.cartouche-countdown-wrapper.revealed .cartouche-title-script,
.cartouche-title-script.revealed {
    opacity: 1;
    transform: translateY(0) scale(1);
    animation: scriptTitleGlow 4s ease-in-out 1.1s infinite alternate;
}

.cartouche-target-label {
    font-family: var(--font-sans), 'Montserrat', sans-serif;
    font-size: clamp(8px, 2vw, 9.5px);
    font-weight: 600;
    letter-spacing: 0.16em;
    color: hsl(84, 55%, 28% / 0.88);
    text-transform: uppercase;
    margin: 2px 0 10px 0;
    padding-left: 0.28em;
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1) 0.38s,
                transform 0.85s cubic-bezier(0.16, 1, 0.3, 1) 0.38s,
                letter-spacing 0.85s cubic-bezier(0.16, 1, 0.3, 1) 0.38s;
    will-change: transform, opacity, letter-spacing;
}

.cartouche-countdown-wrapper.revealed .cartouche-target-label,
.cartouche-target-label.revealed {
    opacity: 1;
    transform: translateY(0);
    letter-spacing: 0.28em;
    animation: targetLabelPulse 3.5s ease-in-out 1.25s infinite alternate;
}

.countdown-display-grid {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 240px;
    margin: 0 auto;
}

.countdown-unit-box {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    opacity: 0;
    transform: translateY(18px) scale(0.86);
    transition: opacity 0.85s cubic-bezier(0.175, 0.885, 0.32, 1.275),
                transform 0.85s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    will-change: transform, opacity;
}

.cartouche-countdown-wrapper.revealed .countdown-unit-box:nth-child(1),
.countdown-unit-box:nth-child(1).revealed {
    opacity: 1;
    transform: translateY(0) scale(1);
    transition-delay: 0.5s;
}

.cartouche-countdown-wrapper.revealed .countdown-unit-box:nth-child(3),
.countdown-unit-box:nth-child(3).revealed {
    opacity: 1;
    transform: translateY(0) scale(1);
    transition-delay: 0.65s;
}

.cartouche-countdown-wrapper.revealed .countdown-unit-box:nth-child(5),
.countdown-unit-box:nth-child(5).revealed {
    opacity: 1;
    transform: translateY(0) scale(1);
    transition-delay: 0.8s;
}

.cnt-number {
    font-family: 'Cinzel', var(--font-serif), 'Cormorant Garamond', serif;
    font-size: clamp(22px, 5.5vw, 28px);
    font-weight: 600;
    color: hsl(84, 55%, 20%);
    background: linear-gradient(110deg, #1A2810 0%, #334720 25%, #A88338 48%, #FFF2CC 54%, #A88338 60%, #334720 78%, #1A2810 100%);
    background-size: 240% 100%;
    background-position: 100% 0;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    letter-spacing: 0.03em;
    display: inline-block;
    transition: transform 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    animation: cntDigitBreathe 3.5s ease-in-out infinite alternate,
               cntNumberLustre 5s ease-in-out infinite alternate;
    will-change: transform, background-position;
}

.cnt-number.cnt-tick {
    transform: scale(1.22);
    filter: drop-shadow(0 0 10px rgba(212, 175, 55, 0.75));
}

.cnt-vertical-line {
    width: 1.5px;
    height: 24px;
    background: linear-gradient(180deg, transparent, rgba(126, 167, 191, 0.7) 40%, rgba(200, 168, 107, 0.85) 60%, transparent);
    background-size: 100% 200%;
    margin: 0 4px 6px 4px;
    flex-shrink: 0;
    opacity: 0;
    transform: scaleY(0);
    transform-origin: center;
    transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform, opacity;
}

.cartouche-countdown-wrapper.revealed .cnt-vertical-line,
.cnt-vertical-line.revealed {
    opacity: 1;
    transform: scaleY(1);
    transition-delay: 0.58s;
    animation: dividerLightSweep 2.8s ease-in-out 1.4s infinite;
}

.cnt-tag {
    font-family: var(--font-sans), 'Montserrat', sans-serif;
    font-size: clamp(7.5px, 1.8vw, 8.5px);
    font-weight: 600;
    letter-spacing: 0.24em;
    color: hsl(84, 55%, 28% / 0.85);
    text-transform: uppercase;
    margin-top: 4px;
    padding-left: 0.24em;
}

@keyframes cartoucheFloatingBreath {
    0% {
        transform: translateY(0);
        filter: drop-shadow(0 8px 20px rgba(50, 75, 30, 0.1));
    }
    100% {
        transform: translateY(-5px);
        filter: drop-shadow(0 14px 28px rgba(50, 75, 30, 0.17));
    }
}

@keyframes scriptTitleGlow {
    0%, 100% {
        text-shadow: 0 1px 1px rgba(255, 255, 255, 0.7);
        filter: drop-shadow(0 1px 2px rgba(200, 168, 107, 0.2));
    }
    50% {
        text-shadow: 0 2px 8px rgba(200, 168, 107, 0.45);
        filter: drop-shadow(0 2px 6px rgba(212, 175, 55, 0.45));
    }
}

@keyframes targetLabelPulse {
    0%, 100% {
        color: hsl(84, 55%, 28% / 0.88);
        letter-spacing: 0.28em;
    }
    50% {
        color: #8C6F34;
        letter-spacing: 0.3em;
    }
}

@keyframes cntDigitBreathe {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.04);
        filter: drop-shadow(0 1px 4px rgba(200, 168, 107, 0.35));
    }
}

@keyframes cntNumberLustre {
    0% {
        background-position: 100% 0;
    }
    100% {
        background-position: 0% 0;
    }
}

@keyframes dividerLightSweep {
    0% {
        background-position: 0% 0%;
    }
    100% {
        background-position: 0% 200%;
    }
}



/* Watercolor Floral Garland Frieze (Hydrangeas & Orchids) */
.floral-garland-wrap {
    position: relative;
    width: 100%;
    max-width: 440px;
    margin: 28px auto 0 auto;
    line-height: 0;
    pointer-events: none;
    user-select: none;
    z-index: 2;
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), transform 1s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform, opacity;
}

.floral-garland-wrap.revealed {
    opacity: 1;
    transform: translateY(0);
}

.floral-garland-svg-canvas {
    width: 100%;
    height: auto;
    display: block;
    border: none;
}

/* ==========================================================================
   WARM WELCOME & CAMEO SCRATCH REVEAL (AUTHENTIC CAP BLANC)
   ========================================================================== */
.welcome-scratch-header {
    text-align: center;
    max-width: 370px;
    margin: 18px auto 18px auto;
    padding: 0 16px;
    box-sizing: border-box;
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), transform 1s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform, opacity;
}

.welcome-scratch-header.revealed {
    opacity: 1;
    transform: translateY(0);
}

.welcome-script-heading {
    font-family: var(--font-script), 'Pinyon Script', cursive;
    font-size: clamp(26px, 6.5vw, 34px);
    font-weight: 400;
    color: hsl(84, 55%, 20%);
    line-height: 1.18;
    margin: 0 0 10px 0;
    letter-spacing: 0.02em;
    animation: welcomeScriptFloat 5s ease-in-out infinite alternate;
}

@keyframes welcomeScriptFloat {
    0%, 100% {
        transform: translateY(0);
        text-shadow: 0 1px 3px rgba(255, 255, 255, 0.85);
    }
    50% {
        transform: translateY(-2.5px);
        text-shadow: 0 3px 10px rgba(200, 168, 107, 0.4);
    }
}

.welcome-lead-subtext {
    font-family: var(--font-sans), 'Montserrat', sans-serif;
    font-size: clamp(12px, 3vw, 13px);
    line-height: 1.6;
    color: hsl(84, 55%, 20% / 0.82);
    letter-spacing: 0.015em;
    margin: 0 auto;
    max-width: 325px;
}

/* Authentic Blue Lace Porcelain Cameo Frame with Scratch Reveal */
.cameo-scratch-container {
    width: 100%;
    max-width: 375px;
    margin: 12px auto 0 auto;
    padding: 0 14px;
    box-sizing: border-box;
    opacity: 0;
    transform: scale(0.93) translateY(24px);
    transition: opacity 1.1s cubic-bezier(0.16, 1, 0.3, 1), transform 1.1s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform, opacity;
}

.cameo-scratch-container.revealed {
    opacity: 1;
    transform: scale(1) translateY(0);
}

.cameo-frame-aspect-box {
    position: relative;
    width: 100%;
    aspect-ratio: 1288 / 1920;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cameo-photo-base {
    position: absolute;
    inset: 0;
    z-index: 1;
    width: 100%;
    height: 100%;
    object-fit: cover;
    clip-path: ellipse(31.7% 32.0% at 50.1% 49.6%);
    -webkit-clip-path: ellipse(31.7% 32.0% at 50.1% 49.6%);
    user-select: none;
    -webkit-user-select: none;
    pointer-events: none;
}

.cameo-frame-artwork {
    position: absolute;
    inset: 0;
    z-index: 10;
    width: 100%;
    height: 100%;
    object-fit: contain;
    pointer-events: none;
    user-select: none;
    -webkit-user-select: none;
}

.cameo-scratch-clipper {
    position: absolute;
    inset: 0;
    z-index: 5;
    clip-path: ellipse(31.7% 32.0% at 50.1% 49.6%);
    -webkit-clip-path: ellipse(31.7% 32.0% at 50.1% 49.6%);
    transition: opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.scratch-canvas {
    width: 100%;
    height: 100%;
    display: block;
    cursor: crosshair;
    touch-action: none;
}

.scratch-reveal-cue {
    position: absolute;
    inset: 0;
    z-index: 15;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.scratch-reveal-label {
    font-family: var(--font-serif), 'Cormorant Garamond', serif;
    font-style: italic;
    font-size: clamp(15px, 3.8vw, 18px);
    font-weight: 500;
    color: rgba(49, 79, 23, 0.75);
    letter-spacing: 0.08em;
    text-align: center;
    line-height: 1.25;
    animation: scratch-pulse 2.2s ease-in-out infinite;
    text-shadow: 0 1px 3px rgba(255, 255, 255, 0.85);
}

@keyframes scratch-pulse {
    0%, 100% {
        opacity: 0.55;
        transform: scale(0.97);
    }
    50% {
        opacity: 1;
        transform: scale(1.02);
    }
}

/* ==========================================================================
   AUTHENTIC FULL-BLEED GARDEN ARCH LINEAGE SECTION (SEAMLESS MERGE)
   ========================================================================== */
.garden-lineage-full-section {
    position: relative;
    width: 100%;
    margin: 0;
    padding: 0;
    background: #F0F6F9;
    border: none;
    outline: none;
    box-shadow: none;
    border-radius: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow: hidden;
}

.garden-upper-svg-wrap {
    position: relative;
    width: 100%;
    line-height: 0;
    pointer-events: none;
    user-select: none;
    z-index: 1;
    opacity: 0;
    transform: translateY(-20px);
    transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), transform 1s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform, opacity;
}

.garden-upper-svg-wrap.revealed {
    opacity: 1;
    transform: translateY(0);
}

.garden-svg-upper-canvas {
    width: 100%;
    height: auto;
    display: block;
    border: none;
}

.garden-lineage-dynamic-content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 480px;
    /* Pulls up into the open space between the hanging floral chandeliers */
    margin-top: -46%;
    padding: 0 20px 18px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    box-sizing: border-box;
    background: transparent;
    border: none;
    box-shadow: none;
}

.garden-lower-svg-wrap {
    position: relative;
    width: 100%;
    line-height: 0;
    pointer-events: none;
    user-select: none;
    z-index: 1;
    margin-top: -8px;
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), transform 1s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform, opacity;
}

.garden-lower-svg-wrap.revealed {
    opacity: 1;
    transform: translateY(0);
}

.garden-svg-lower-canvas {
    width: 100%;
    height: auto;
    display: block;
    border: none;
}

/* Sacred Invocatory Header */
.sacred-invocation-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 12px;
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.sacred-invocation-block.revealed {
    opacity: 1;
    transform: translateY(0);
}

.sacred-om-symbol {
    font-size: 20px;
    color: #8C6F34;
    line-height: 1;
    margin-bottom: 3px;
    filter: drop-shadow(0 1px 2px rgba(255, 255, 255, 0.9));
    animation: omSymbolPulse 3.5s ease-in-out infinite alternate;
}

.sacred-invocation-text {
    font-family: var(--font-serif), 'Cormorant Garamond', serif;
    font-size: 13.5px;
    font-weight: 600;
    letter-spacing: 0.18em;
    color: #8C6F34;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.8);
}

.sacred-divine-tag {
    font-family: var(--font-sans), 'Montserrat', sans-serif;
    font-size: 8px;
    font-weight: 600;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: #6C8159;
    margin-top: 2px;
    padding-left: 0.28em;
}

/* Person Details Blocks - Father & Mother Highlights */
.lineage-person-block {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 4px 0;
    opacity: 0;
    will-change: transform, opacity;
}

.groom-side-block {
    transform: translateX(-36px);
    transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.bride-side-block {
    transform: translateX(36px);
    transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.lineage-person-block.revealed {
    opacity: 1;
    transform: translateX(0);
}

.groom-side-block.revealed {
    transition-delay: 0.12s;
}

.bride-side-block.revealed {
    transition-delay: 0.28s;
}

.lineage-place-tag {
    font-family: var(--font-sans), 'Montserrat', sans-serif;
    font-size: 9.5px;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #556B45;
    margin: 0 0 2px 0;
    padding-left: 0.2em;
}

.lineage-parentage-line {
    font-family: var(--font-serif), 'mrs-eaves', 'Cormorant Garamond', serif;
    font-size: 13.5px;
    color: #2F4419;
    line-height: 1.4;
    margin: 2px 0 4px 0;
    position: relative;
    display: inline-block;
}

.lineage-parentage-line strong {
    font-weight: 600;
    color: #1E2D12;
    position: relative;
    display: inline-block;
    padding: 0 3px;
    transition: color 0.35s ease, transform 0.35s ease;
    animation: parentNameLivingGlow 3.6s ease-in-out infinite alternate;
    will-change: transform, color, text-shadow;
}

.groom-side-block .lineage-parentage-line strong {
    animation-delay: 0s;
}

.bride-side-block .lineage-parentage-line strong {
    animation-delay: 1.8s;
}

.lineage-parentage-line strong::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 1.5px;
    background: linear-gradient(90deg, transparent, rgba(200, 168, 107, 0.85) 50%, transparent);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.85s cubic-bezier(0.22, 1, 0.36, 1);
}

.lineage-person-block.revealed .lineage-parentage-line strong::after {
    transform: scaleX(1);
    transition-delay: 0.45s;
}

.lineage-rel-label {
    display: block;
    font-family: var(--font-sans), 'Montserrat', sans-serif;
    font-size: 8.5px;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: #8C6F34;
    margin-bottom: 2px;
    padding-left: 0.22em;
    animation: relLabelGlow 4s ease-in-out infinite alternate;
}

.lineage-couple-script-name {
    font-family: var(--font-script), 'Pinyon Script', cursive;
    font-size: clamp(28px, 7.2vw, 36px);
    font-weight: 400;
    color: hsl(84, 55%, 20%);
    background: linear-gradient(110deg, #1C2B10 0%, #364A22 25%, #A88338 48%, #FFF2CC 54%, #A88338 60%, #364A22 78%, #1C2B10 100%);
    background-size: 220% 100%;
    background-position: 100% 0;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.15;
    letter-spacing: 0.02em;
    margin: 3px 0;
    display: inline-block;
    filter: drop-shadow(0 1px 2px rgba(255, 255, 255, 0.9));
    animation: scriptCoupleNameFloat 4.5s ease-in-out infinite alternate,
               scriptCoupleLustre 5s ease-in-out infinite alternate;
    will-change: transform, background-position;
}

.lineage-address-text {
    font-family: var(--font-sans), 'Montserrat', sans-serif;
    font-size: 9.5px;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #556B45;
    line-height: 1.45;
    margin: 2px 0 0 0;
    padding-left: 0.14em;
}

/* Auspicious Hindu Sacred Knot Connector */
.sacred-wedding-knot-cluster {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 380px;
    margin: 8px 0;
    gap: 8px;
    opacity: 0;
    transform: scale(0.92);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.sacred-wedding-knot-cluster.revealed {
    opacity: 1;
    transform: scale(1);
    transition-delay: 0.2s;
}

.sacred-divider-rule {
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(140, 111, 52, 0.5), transparent);
}

.sacred-vivah-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    animation: sacredBadgeGlow 3.6s ease-in-out infinite alternate;
}

.sacred-shubh-vivah {
    font-family: var(--font-serif), 'Cormorant Garamond', serif;
    font-size: 10.5px;
    font-weight: 600;
    letter-spacing: 0.2em;
    color: #8C6F34;
}

.sacred-weds-script {
    font-family: 'caprizant', var(--font-script), 'Pinyon Script', cursive;
    font-size: 26px;
    color: #2F4419;
    line-height: 1;
    margin: -2px 0;
}

@keyframes omSymbolPulse {
    0%, 100% {
        transform: scale(1);
        filter: drop-shadow(0 1px 2px rgba(255, 255, 255, 0.9));
    }
    50% {
        transform: scale(1.1);
        filter: drop-shadow(0 2px 6px rgba(212, 175, 55, 0.5));
    }
}

@keyframes relLabelGlow {
    0%, 100% {
        color: #8C6F34;
    }
    50% {
        color: #B58F42;
    }
}

@keyframes scriptCoupleNameFloat {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-2.5px);
        color: #2A4016;
    }
}

@keyframes scriptCoupleLustre {
    0% {
        background-position: 100% 0;
    }
    100% {
        background-position: 0% 0;
    }
}

@keyframes parentNameLivingGlow {
    0%, 100% {
        color: #1E2D12;
        text-shadow: 0 1px 3px rgba(255, 255, 255, 0.85);
        transform: translateY(0);
    }
    50% {
        color: #8C6A28;
        text-shadow: 0 1px 6px rgba(255, 255, 255, 1), 0 0 14px rgba(200, 168, 107, 0.45);
        transform: translateY(-1.5px);
    }
}

@keyframes sacredBadgeGlow {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.03);
    }
}

.sacred-malayalam-blessing {
    font-family: 'Montserrat', sans-serif;
    font-size: 9.5px;
    font-weight: 600;
    letter-spacing: 0.15em;
    color: #6C8159;
}

/* Footer Note */
.garden-lineage-cordial-note {
    font-family: var(--font-serif), 'mrs-eaves', 'Cormorant Garamond', serif;
    font-style: italic;
    font-size: 12px;
    color: #51643F;
    line-height: 1.5;
    margin-top: 10px;
    max-width: 380px;
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.35s, transform 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.35s;
    will-change: transform, opacity;
}

.garden-lineage-cordial-note.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* ==========================================================================
   SECTION 3: AUTHENTIC RIVIERA SCALLOPED CARTOUCHE CARD (CEREMONY & RECEPTION)
   Authentic Cap Blanc Style with Scalloped Double Blue Border & Watercolor Artwork
   ========================================================================== */
.ceremony-riviera-section {
    position: relative;
    background-color: #F0F6F9;
    padding-top: clamp(54px, 10vw, 88px);
    padding-bottom: 0;
    padding-left: 0;
    padding-right: 0;
    margin-top: 0;
    overflow: hidden;
}

.riviera-celebration-card-wrap {
    position: relative;
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    line-height: 0;
    user-select: none;
    container-type: inline-size;
    container-name: riviera-card;
    opacity: 0;
    transform: scale(0.94) translateY(32px);
    transition: opacity 1.15s cubic-bezier(0.16, 1, 0.3, 1), transform 1.15s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform, opacity;
}

.riviera-celebration-card-wrap.revealed {
    opacity: 1;
    transform: scale(1) translateY(0);
}

.riviera-cartouche-bg-art {
    width: 100%;
    height: auto;
    display: block;
}

/* Typography Overlay placed precisely within the parchment boundary */
.riviera-cartouche-overlay {
    position: absolute;
    top: 21.6%;
    left: 9%;
    width: 82%;
    height: 57.5%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    text-align: center;
    line-height: 1.15;
    pointer-events: auto;
    padding: clamp(2px, 0.5cqi, 4px) clamp(4px, 1cqi, 8px);
    box-sizing: border-box;
}

/* Header Group: Top Tag, Title & Subtitle */
.cartouche-header-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: clamp(1px, 0.3cqi, 2.5px);
    margin: 0;
    width: 100%;
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.15s, transform 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.15s;
    will-change: transform, opacity;
}

.riviera-celebration-card-wrap.revealed .cartouche-header-group,
.cartouche-header-group.revealed {
    opacity: 1;
    transform: translateY(0);
}

.card-top-tag {
    font-family: var(--font-sans);
    font-size: clamp(7.5px, 2.2cqi, 11px);
    font-weight: 700;
    letter-spacing: 0.22em;
    padding-left: 0.22em;
    color: #6E7F65;
    text-transform: uppercase;
    margin-top: clamp(8px, 2.4cqi, 16px);
    margin-bottom: 0;
    text-align: center;
}

.cartouche-script-title {
    font-family: var(--font-script), 'Alex Brush', cursive;
    font-size: clamp(24px, 6.8cqi, 34px);
    font-weight: 400;
    color: #364B2E;
    line-height: 1.05;
    margin: 0;
    text-shadow: 0 1px 1px rgba(255, 255, 255, 0.85);
    text-align: center;
    white-space: nowrap;
    animation: ceremonyScriptGlow 4.5s ease-in-out infinite alternate;
}

.cartouche-celebrate-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(5px, 1.6cqi, 10px);
    width: 100%;
    margin: clamp(1px, 0.3cqi, 2.5px) 0 0 0;
}

.celebrate-line {
    width: clamp(14px, 4cqi, 24px);
    height: 1px;
    background: #C4BCA8;
    display: inline-block;
}

.cartouche-subtitle-tag {
    font-family: var(--font-sans);
    font-size: clamp(6.5px, 1.8cqi, 9.5px);
    font-weight: 600;
    letter-spacing: 0.2em;
    padding-left: 0.2em;
    color: #6E7F65;
    text-transform: uppercase;
    margin: 0;
    white-space: nowrap;
    text-align: center;
}

/* Event Blocks: Auspicious Muhurtham & Wedding Reception */
.cartouche-event-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: clamp(1px, 0.3cqi, 2.5px);
    margin: 0;
    width: 100%;
    text-align: center;
    opacity: 0;
    transform: translateY(14px);
    transition: opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1), transform 0.85s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform, opacity;
}

.riviera-celebration-card-wrap.revealed .cartouche-event-block,
.cartouche-event-block.revealed {
    opacity: 1;
    transform: translateY(0);
}

.cartouche-muhurtham-block {
    transition-delay: 0.25s;
}

.cartouche-reception-block {
    transition-delay: 0.45s;
}

.cartouche-event-badge {
    font-family: var(--font-sans);
    font-size: clamp(7.5px, 2.1cqi, 10.5px);
    font-weight: 700;
    letter-spacing: 0.2em;
    padding: clamp(2px, 0.5cqi, 3px) clamp(8px, 2.2cqi, 12px);
    padding-left: calc(clamp(8px, 2.2cqi, 12px) + 0.2em);
    color: #364B2E;
    background: rgba(110, 127, 101, 0.12);
    border: 1px solid rgba(140, 99, 24, 0.32);
    border-radius: 999px;
    text-transform: uppercase;
    text-align: center;
    margin: 0;
    animation: eventBadgeGlow 3.5s ease-in-out infinite alternate;
}

.cartouche-day-name {
    font-family: 'Cinzel', var(--font-serif), serif;
    font-size: clamp(10px, 2.8cqi, 14.5px);
    letter-spacing: 0.24em;
    padding-left: 0.24em;
    font-weight: 700;
    color: #8C6318;
    text-transform: uppercase;
    text-align: center;
    margin: clamp(1px, 0.25cqi, 2px) 0 0 0;
    animation: dayNameLivingPulse 3.5s ease-in-out 1.2s infinite alternate;
}

.cartouche-date-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(6px, 1.8cqi, 10px);
    width: 100%;
    margin: 0;
    position: relative;
}

.cartouche-date-line {
    flex: 1;
    max-width: clamp(20px, 6cqi, 36px);
    height: 1.5px;
    background: linear-gradient(90deg, transparent, #D4AF37 70%, #8C6519 100%);
    opacity: 0.9;
    position: relative;
}

.cartouche-date-line.right-slide {
    background: linear-gradient(90deg, #8C6519 0%, #D4AF37 30%, transparent 100%);
}

.cartouche-date-line::after {
    content: '◆';
    position: absolute;
    font-size: clamp(5px, 1.3cqi, 7px);
    color: #C8A86B;
    top: 50%;
    transform: translateY(-50%);
    text-shadow: 0 0 3px rgba(200, 168, 107, 0.6);
    line-height: 1;
}

.cartouche-date-line:not(.right-slide)::after {
    right: -3px;
}

.cartouche-date-line.right-slide::after {
    left: -3px;
}

.cartouche-date-number {
    font-family: 'Cinzel', 'Playfair Display', var(--font-serif), Georgia, serif;
    font-size: clamp(28px, 8cqi, 40px);
    font-weight: 700;
    line-height: 0.95;
    color: #9C7226;
    background: linear-gradient(
        115deg,
        #664610 0%,
        #A87B28 20%,
        #FFF7D9 46%,
        #E5C56E 58%,
        #8A6218 80%,
        #573909 100%
    );
    background-size: 250% 100%;
    background-position: 100% 0;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 0.02em;
    padding: 0 2px;
    padding-left: 0.02em;
    text-align: center;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: scale(0.2) translateY(12px);
    will-change: transform, background-position, opacity;
}

.riviera-celebration-card-wrap.revealed .cartouche-date-number,
.cartouche-event-block.revealed .cartouche-date-number,
.cartouche-date-number.revealed,
.cartouche-date-number.scale-up.revealed {
    opacity: 1;
    animation: dateNumberScrollPop 1.1s cubic-bezier(0.175, 0.885, 0.32, 1.275) 0.3s both,
               dateNumberLustre 5s ease-in-out 1.5s infinite alternate;
}

.cartouche-month-year {
    font-family: 'Cinzel', var(--font-sans), serif;
    font-size: clamp(8.5px, 2.3cqi, 12px);
    letter-spacing: 0.22em;
    padding-left: 0.22em;
    font-weight: 600;
    color: #364B2E;
    text-transform: uppercase;
    text-align: center;
    margin: 0;
}

.cartouche-malayalam-date {
    font-family: var(--font-serif);
    font-size: clamp(7.5px, 2cqi, 10.5px);
    font-style: italic;
    color: #A3793F;
    text-align: center;
    margin: 0;
}

.cartouche-venue-title {
    font-family: var(--font-script), 'Alex Brush', cursive;
    font-size: clamp(20px, 5.5cqi, 29px);
    font-weight: 400;
    color: #364B2E;
    line-height: 1.1;
    margin: clamp(1px, 0.25cqi, 2px) 0 0 0;
    text-align: center;
}

.cartouche-venue-location {
    font-family: var(--font-sans);
    font-size: clamp(6.5px, 1.8cqi, 9.5px);
    font-weight: 600;
    letter-spacing: 0.16em;
    padding-left: 0.16em;
    color: #6E7F65;
    text-transform: uppercase;
    margin: 0;
    white-space: nowrap;
    text-align: center;
}

.cartouche-time-highlight {
    font-family: 'Cinzel', var(--font-serif), serif;
    font-size: clamp(11.5px, 3.2cqi, 16px);
    font-weight: 700;
    color: #2D3E25;
    letter-spacing: 0.05em;
    margin: clamp(1px, 0.25cqi, 2px) 0 0 0;
    display: inline-block;
    text-align: center;
    animation: timeHighlightPulse 3.5s ease-in-out infinite alternate;
    will-change: transform;
}

/* Event Direct Action Links (Maps & Calendar buttons) */
.cartouche-event-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(6px, 1.8cqi, 10px);
    margin-top: clamp(2px, 0.6cqi, 4px);
    width: 100%;
}

.btn-cartouche-pill {
    font-family: var(--font-sans);
    font-size: clamp(7.5px, 2cqi, 9.5px);
    font-weight: 700;
    letter-spacing: 0.14em;
    padding-left: calc(clamp(8px, 2.2cqi, 12px) + 0.14em);
    padding-right: clamp(8px, 2.2cqi, 12px);
    padding-top: clamp(3px, 0.8cqi, 5px);
    padding-bottom: clamp(3px, 0.8cqi, 5px);
    text-transform: uppercase;
    color: #364B2E;
    text-decoration: none;
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    border: 1px solid rgba(140, 99, 24, 0.35);
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: clamp(3.5px, 1cqi, 5px);
    cursor: pointer;
    box-shadow: 0 1px 4px rgba(70, 95, 115, 0.08);
    transition: all 0.25s ease;
    white-space: nowrap;
    line-height: 1;
}

.btn-cartouche-pill:hover {
    background: #2D3E25;
    color: #FFF;
    border-color: #2D3E25;
    transform: translateY(-1px);
    box-shadow: 0 3px 8px rgba(45, 62, 37, 0.25);
}

.btn-cartouche-pill .venue-btn-icon {
    width: clamp(9px, 2.4cqi, 12px);
    height: clamp(9px, 2.4cqi, 12px);
    fill: currentColor;
    stroke: currentColor;
    stroke-width: 0.5;
    flex-shrink: 0;
}

.btn-cartouche-pill.btn-cal-action .venue-btn-icon {
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
}

/* Delicate Card Inner Divider */
.cartouche-inner-divider {
    width: clamp(48px, 13cqi, 75px);
    height: 1px;
    background: rgba(196, 186, 160, 0.8);
    margin: clamp(3px, 0.8cqi, 5px) auto;
}

/* Delicate Bottom Address Block */
.cartouche-address-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: clamp(1px, 0.3cqi, 3px) 0 0 0;
    width: 100%;
    text-align: center;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1) 0.6s, transform 0.85s cubic-bezier(0.16, 1, 0.3, 1) 0.6s;
    will-change: transform, opacity;
}

.riviera-celebration-card-wrap.revealed .cartouche-address-block,
.cartouche-address-block.revealed {
    opacity: 1;
    transform: translateY(0);
}

.cartouche-venue-address {
    font-family: var(--font-sans);
    font-size: clamp(6.5px, 1.8cqi, 9px);
    font-weight: 600;
    letter-spacing: 0.12em;
    padding-left: 0.12em;
    color: #6E7F65;
    text-transform: uppercase;
    margin: 0;
    line-height: 1.4;
    text-align: center;
}

/* Keyframe Animations */
@keyframes ceremonyScriptGlow {
    0%, 100% {
        transform: translateY(0);
        text-shadow: 0 1px 2px rgba(255, 255, 255, 0.85);
    }
    50% {
        transform: translateY(-2px);
        text-shadow: 0 2px 8px rgba(200, 168, 107, 0.45);
    }
}

@keyframes dayNameLivingPulse {
    0%, 100% {
        color: #8C6318;
        letter-spacing: 0.24em;
    }
    50% {
        color: #B58832;
        letter-spacing: 0.26em;
    }
}

@keyframes dateNumberLustre {
    0% {
        background-position: 100% 0;
    }
    100% {
        background-position: 0% 0;
    }
}

@keyframes dateNumberScrollPop {
    0% {
        opacity: 0;
        transform: scale(0.2) translateY(16px);
        filter: drop-shadow(0 0 0 rgba(212, 175, 55, 0));
    }
    60% {
        opacity: 1;
        transform: scale(1.15) translateY(-3px);
        filter: drop-shadow(0 2px 8px rgba(255, 255, 255, 1)) drop-shadow(0 4px 18px rgba(212, 175, 55, 0.75));
    }
    82% {
        transform: scale(0.97) translateY(1px);
    }
    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
        filter: drop-shadow(0 1px 4px rgba(255, 255, 255, 0.9)) drop-shadow(0 3px 10px rgba(184, 137, 46, 0.35));
    }
}

@keyframes timeHighlightPulse {
    0%, 100% {
        transform: scale(1);
        color: #2D3E25;
        text-shadow: 0 1px 2px rgba(255, 255, 255, 0.7);
    }
    50% {
        transform: scale(1.04);
        color: #172412;
        text-shadow: 0 2px 8px rgba(200, 168, 107, 0.4), 0 0 12px rgba(212, 175, 55, 0.25);
    }
}

@keyframes eventBadgeGlow {
    0%, 100% {
        color: #364B2E;
    }
    50% {
        color: #557249;
    }
}

/* ==========================================================================
   SECTION 5: DRESS CODE & ATTIRE
   ========================================================================== */
.dress-code-section {
    background: #F4F8FA;
    padding-top: 24px;
    padding-bottom: 46px;
    overflow: hidden;
}

.dress-flowers-bg {
    width: 100%;
    max-width: 390px;
    margin-bottom: -15px;
}

.dress-flowers-img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

.dress-content-box {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 385px;
}

.dress-script-title {
    font-family: var(--font-script);
    font-size: 42px;
    color: var(--cap-olive);
    line-height: 1;
}

.dress-divider-line {
    width: 40px;
    height: 1px;
    background: rgba(46, 61, 35, 0.3);
    margin: 8px auto 10px;
}

.dress-style-callout {
    font-family: var(--font-script);
    font-size: 34px;
    color: var(--cap-olive);
    margin-bottom: 8px;
}

.dress-description-p {
    font-size: 14px;
    color: var(--cap-text-muted);
    font-style: italic;
    line-height: 1.45;
}

/* ==========================================================================
   SECTION 6: CELEBRATION TIMELINE & SCHEDULE
   ========================================================================== */
.timeline-section {
    background: #F8FAFB;
    padding-top: 42px;
    padding-bottom: 24px;
}

.schedule-script-title {
    font-family: var(--font-script);
    font-size: clamp(28px, 7vw, 34px);
    color: var(--cap-olive);
    line-height: 1.1;
    animation: scheduleScriptBreathe 4.5s ease-in-out infinite alternate;
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1), transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform, opacity;
}

.schedule-script-title.revealed,
.timeline-section.revealed .schedule-script-title {
    opacity: 1;
    transform: translateY(0);
}

.schedule-subtitle {
    font-family: var(--font-sans);
    font-size: clamp(8.5px, 2.2vw, 9.5px);
    font-weight: 600;
    letter-spacing: 0.28em;
    color: var(--cap-olive-subtle);
    margin-bottom: 22px;
    text-transform: uppercase;
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.15s, transform 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.15s;
    will-change: transform, opacity;
}

.schedule-subtitle.revealed,
.timeline-section.revealed .schedule-subtitle {
    opacity: 1;
    transform: translateY(0);
}

.timeline-container {
    position: relative;
    width: 100%;
    max-width: 385px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.timeline-spine-line {
    position: absolute;
    top: 30px;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    width: 1px;
    background: repeating-linear-gradient(
        180deg,
        rgba(130, 169, 195, 0.6) 0px,
        rgba(130, 169, 195, 0.6) 4px,
        transparent 4px,
        transparent 8px
    );
    z-index: 1;
}

.timeline-day-header {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: center;
    margin: 8px 0;
    opacity: 0;
    transform: translateY(18px) scale(0.96);
    transition: opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1), transform 0.85s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform, opacity;
}

.timeline-day-header.revealed {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.timeline-day-pill {
    display: inline-block;
    padding: 6px 16px;
    background: var(--cap-blue-soft);
    border: 1px solid rgba(130, 169, 195, 0.4);
    border-radius: 999px;
    font-family: var(--font-sans);
    font-size: 9.5px;
    font-weight: 600;
    letter-spacing: 0.16em;
    color: var(--cap-olive);
    text-transform: uppercase;
    animation: dayPillGlow 4s ease-in-out infinite alternate;
}

.auspicious-pill {
    background: #FDF4E6;
    border-color: rgba(200, 168, 107, 0.6);
    color: var(--cap-olive-deep);
}

.timeline-item {
    position: relative;
    z-index: 2;
    width: 100%;
    display: flex;
    align-items: center;
    opacity: 0;
    transition: opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1), transform 0.85s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform, opacity;
}

.left-item {
    flex-direction: row;
    justify-content: flex-start;
    transform: translateX(-35px);
}

.right-item {
    flex-direction: row-reverse;
    justify-content: flex-start;
    transform: translateX(35px);
}

.timeline-item.revealed {
    opacity: 1;
    transform: translateX(0);
}

.timeline-icon-wrap {
    width: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.timeline-decor-img {
    max-width: 46px;
    height: auto;
    object-fit: contain;
    animation: timelineDecorFloat 4s ease-in-out infinite alternate;
    will-change: transform;
}

.timeline-bubble {
    width: calc(100% - 62px);
    background: #FFF;
    border-radius: 18px;
    padding: 14px 16px;
    border: 1px solid rgba(130, 169, 195, 0.3);
    box-shadow: 0 4px 14px rgba(70, 95, 115, 0.05);
    text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.timeline-bubble:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(70, 95, 115, 0.12);
}

.timeline-time {
    font-family: var(--font-sans);
    font-size: 11.5px;
    font-weight: 700;
    color: var(--cap-olive-light);
    letter-spacing: 0.06em;
    display: block;
    margin-bottom: 2px;
    animation: timelineTimeBreathe 3.5s ease-in-out infinite alternate;
}

.timeline-heading {
    font-family: var(--font-serif);
    font-size: 17px;
    font-weight: 600;
    color: var(--cap-olive);
    line-height: 1.25;
}

.timeline-desc {
    font-size: 12.5px;
    color: var(--cap-text-muted);
    margin-top: 3px;
    line-height: 1.35;
}

.muhurtham-timeline-highlight.revealed .muhurtham-bubble {
    background: #FFFDF8;
    border: 1.5px solid var(--cap-gold);
    box-shadow: 0 6px 20px rgba(200, 168, 107, 0.18);
    animation: muhurthamCardPulse 3.2s ease-in-out infinite alternate;
}

.muhurtham-star-badge {
    display: inline-block;
    font-family: var(--font-sans);
    font-size: 8.5px;
    font-weight: 700;
    letter-spacing: 0.18em;
    color: var(--cap-gold-copper);
    margin-bottom: 4px;
    animation: starBadgeTwinkle 2.5s ease-in-out infinite;
}

@keyframes scheduleScriptBreathe {
    0%, 100% {
        transform: translateY(0) scale(1);
    }
    50% {
        transform: translateY(-2.5px) scale(1.02);
        text-shadow: 0 3px 10px rgba(200, 168, 107, 0.35);
    }
}

@keyframes dayPillGlow {
    0%, 100% {
        box-shadow: 0 2px 8px rgba(70, 95, 115, 0.08);
    }
    50% {
        box-shadow: 0 3px 14px rgba(200, 168, 107, 0.35);
        border-color: rgba(200, 168, 107, 0.6);
    }
}

@keyframes timelineTimeBreathe {
    0%, 100% {
        color: var(--cap-olive-light);
        transform: translateX(0);
    }
    50% {
        color: #8C6A28;
        transform: translateX(2px);
    }
}

@keyframes timelineDecorFloat {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-4px) rotate(2deg);
    }
}

@keyframes muhurthamCardPulse {
    0%, 100% {
        box-shadow: 0 6px 20px rgba(200, 168, 107, 0.18);
        border-color: var(--cap-gold);
    }
    50% {
        box-shadow: 0 8px 26px rgba(200, 168, 107, 0.35);
        border-color: #E2BE82;
    }
}

@keyframes starBadgeTwinkle {
    0%, 100% {
        transform: scale(1);
        opacity: 0.9;
    }
    50% {
        transform: scale(1.08);
        opacity: 1;
    }
}

.time-bold {
    font-size: 13.5px;
    color: var(--cap-olive-deep);
}

.highlight-text {
    font-size: 19px;
    color: var(--cap-olive-deep);
}

/* ==========================================================================
   SECTION 7: HOW IT ALL STARTED & INTERACTIVE SCRATCH REVEAL
   ========================================================================== */
.story-section {
    background: #F4F8FA;
    padding-top: 42px;
    padding-bottom: 52px;
}

.story-header-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 24px;
}

.story-cake-icon {
    font-size: 28px;
    margin-bottom: 6px;
}

.story-script-title {
    font-family: var(--font-script);
    font-size: 44px;
    color: var(--cap-olive);
    line-height: 1;
    margin-bottom: 12px;
}

.btn-olive-pill {
    padding: 8px 24px;
    background: var(--cap-olive);
    color: #FFF;
    border: none;
    border-radius: 999px;
    font-family: var(--font-sans);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(46, 61, 35, 0.15);
    transition: all 0.2s ease;
}

.btn-olive-pill:hover {
    background: var(--cap-olive-light);
    transform: translateY(-1px);
}

.story-snippet-text {
    max-width: 380px;
    margin-top: 16px;
    font-size: 14px;
    color: var(--cap-text-muted);
    font-style: italic;
    line-height: 1.5;
    transition: opacity 0.3s ease;
}

.story-snippet-text.hidden {
    display: none;
}

/* Cameo Porcelain Frame Container */
.cameo-interactive-portrait-container {
    position: relative;
    width: 100%;
    max-width: 385px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.cameo-frame-art-wrap {
    position: relative;
    width: 270px;
    height: 360px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cameo-frame-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    z-index: 3;
    pointer-events: none;
}

.cameo-portrait-aperture {
    position: relative;
    width: 174px;
    height: 244px;
    border-radius: 50% / 50%;
    overflow: hidden;
    z-index: 2;
    background: #E8EFF3;
}

.couple-photo-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.scratch-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    cursor: grab;
    touch-action: none;
}

.scratch-canvas:active {
    cursor: grabbing;
}

.scratch-prompt-pill {
    margin-top: 18px;
    padding: 7px 16px;
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(130, 169, 195, 0.4);
    border-radius: 999px;
    font-family: var(--font-sans);
    font-size: 10.5px;
    font-weight: 600;
    letter-spacing: 0.1em;
    color: var(--cap-olive);
    cursor: pointer;
}

/* ==========================================================================
   SECTION 8: TRAVEL & STAY GUIDE
   ========================================================================== */
.travel-section {
    background: #F8FAFB;
    padding-top: 42px;
    padding-bottom: 46px;
}

.travel-script-title {
    font-family: var(--font-script);
    font-size: 44px;
    color: var(--cap-olive);
    line-height: 1;
}

.travel-divider {
    width: 36px;
    height: 1px;
    background: rgba(46, 61, 35, 0.25);
    margin: 8px auto 14px;
}

.travel-lead-text {
    max-width: 380px;
    font-size: 14px;
    color: var(--cap-text-muted);
    font-style: italic;
    line-height: 1.45;
    margin-bottom: 22px;
}

.travel-info-card {
    width: 100%;
    max-width: 385px;
    background: #FFF;
    border-radius: 24px;
    padding: 24px 20px 20px;
    border: 1px solid rgba(130, 169, 195, 0.35);
    box-shadow: 0 4px 18px rgba(70, 95, 115, 0.06);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.card-eyebrow {
    font-family: var(--font-sans);
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 0.24em;
    color: var(--cap-olive-subtle);
    text-transform: uppercase;
    margin-bottom: 4px;
}

.travel-venue-name {
    font-family: var(--font-script);
    font-size: 38px;
    color: var(--cap-olive);
    line-height: 1.1;
}

.travel-venue-road {
    font-size: 13.5px;
    color: var(--cap-text-muted);
    margin-top: 2px;
    margin-bottom: 18px;
    line-height: 1.35;
}

.travel-transit-grid {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 12px;
    border-top: 1px dashed rgba(130, 169, 195, 0.4);
    border-bottom: 1px dashed rgba(130, 169, 195, 0.4);
    padding: 14px 0;
    margin-bottom: 18px;
}

.transit-item {
    display: flex;
    align-items: center;
    gap: 12px;
    text-align: left;
}

.transit-icon {
    font-size: 20px;
}

.transit-details {
    display: flex;
    flex-direction: column;
}

.transit-details strong {
    font-family: var(--font-sans);
    font-size: 11.5px;
    font-weight: 600;
    color: var(--cap-olive);
}

.transit-details span {
    font-size: 12px;
    color: var(--cap-text-muted);
}

.travel-art-footer {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.travel-cypress-img,
.travel-entrance-img {
    max-height: 56px;
    width: auto;
    object-fit: contain;
}

.btn-travel-maps {
    flex: 1;
    display: inline-block;
    padding: 9px 14px;
    background: #F4F8FA;
    border: 1px solid rgba(130, 169, 195, 0.5);
    border-radius: 999px;
    font-family: var(--font-sans);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.16em;
    color: var(--cap-olive);
    text-decoration: none;
    text-align: center;
    transition: all 0.2s ease;
}

.btn-travel-maps:hover {
    background: var(--cap-olive);
    color: #FFF;
}

/* ==========================================================================
   SECTION 9: INTERACTIVE RSVP & GUEST WISHES
   ========================================================================== */
.rsvp-section {
    background: #F4F8FA;
    padding-top: 28px;
    padding-bottom: 46px;
}

.rsvp-card-box {
    width: 100%;
    max-width: 385px;
    background: #FFF;
    border-radius: 28px;
    padding: 26px 22px;
    border: 1px solid rgba(200, 168, 107, 0.4);
    box-shadow: 0 8px 24px rgba(70, 95, 115, 0.08);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.rsvp-script-title {
    font-family: var(--font-script);
    font-size: 42px;
    color: var(--cap-olive);
    line-height: 1;
    margin-bottom: 6px;
}

.rsvp-desc-p {
    font-size: 13.5px;
    color: var(--cap-text-muted);
    font-style: italic;
    line-height: 1.4;
    margin-bottom: 20px;
}

.cap-rsvp-form {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 16px;
    text-align: left;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.form-group label {
    font-family: var(--font-sans);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.14em;
    color: var(--cap-olive);
    text-transform: uppercase;
}

.form-group input[type="text"],
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 10px 14px;
    background: #F9FBFC;
    border: 1px solid rgba(130, 169, 195, 0.4);
    border-radius: 12px;
    font-family: var(--font-serif);
    font-size: 15px;
    color: var(--cap-text);
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-group input[type="text"]:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--cap-olive);
    box-shadow: 0 0 0 3px rgba(46, 61, 35, 0.1);
    background: #FFF;
}

.attendance-radio-group {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.radio-card {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 9px 10px;
    background: #F8FAFB;
    border: 1px solid rgba(130, 169, 195, 0.4);
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.radio-card input {
    display: none;
}

.radio-card.active {
    background: #FFFDF8;
    border-color: var(--cap-gold);
    box-shadow: 0 2px 8px rgba(200, 168, 107, 0.2);
}

.radio-label {
    font-family: var(--font-sans);
    font-size: 11px;
    font-weight: 600;
    color: var(--cap-olive);
    text-align: center;
}

.btn-submit-rsvp {
    width: 100%;
    padding: 13px;
    background: var(--cap-olive);
    color: #FFF;
    border: none;
    border-radius: 999px;
    font-family: var(--font-sans);
    font-size: 11.5px;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(46, 61, 35, 0.2);
    transition: all 0.2s ease;
    margin-top: 4px;
}

.btn-submit-rsvp:hover {
    background: var(--cap-olive-light);
    transform: translateY(-1px);
}

.rsvp-status {
    padding: 12px 16px;
    border-radius: 12px;
    font-size: 13.5px;
    text-align: center;
    line-height: 1.4;
}

.rsvp-status.success {
    background: #EEF8F1;
    color: #2D6E3F;
    border: 1px solid #B8E4C4;
}

.rsvp-status.hidden {
    display: none;
}

/* ==========================================================================
   SECTION 10: FOOTER & SOCIAL SHARE
   ========================================================================== */
.cap-invitation-footer {
    background: linear-gradient(180deg, #F4F8FA 0%, #EAEFF2 100%);
    padding: 40px 20px 52px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 1.1s cubic-bezier(0.16, 1, 0.3, 1), transform 1.1s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform, opacity;
}

.cap-invitation-footer.revealed {
    opacity: 1;
    transform: translateY(0);
}

.footer-crest-monogram {
    font-family: var(--font-script);
    font-size: clamp(34px, 8.5vw, 42px);
    color: var(--cap-gold-copper);
    margin-bottom: 2px;
    animation: footerCrestPulse 3.8s ease-in-out infinite alternate;
}

.footer-thank-you {
    font-family: var(--font-serif);
    font-size: clamp(24px, 6vw, 28px);
    font-weight: 600;
    color: var(--cap-olive);
    margin-bottom: 8px;
    animation: thankYouGlow 4s ease-in-out infinite alternate;
}

.footer-quote {
    max-width: 380px;
    font-size: 14px;
    font-style: italic;
    color: var(--cap-text-muted);
    line-height: 1.45;
    margin-bottom: 14px;
}

.footer-couple-signature {
    font-family: var(--font-sans);
    font-size: 10.5px;
    font-weight: 600;
    letter-spacing: 0.2em;
    color: var(--cap-olive);
    text-transform: uppercase;
    margin-bottom: 16px;
    animation: footerSigLivingBreathe 4s ease-in-out infinite alternate;
}

@keyframes footerCrestPulse {
    0%, 100% {
        transform: scale(1);
        filter: drop-shadow(0 1px 3px rgba(200, 168, 107, 0.3));
    }
    50% {
        transform: scale(1.08);
        filter: drop-shadow(0 3px 10px rgba(212, 175, 55, 0.55));
    }
}

@keyframes thankYouGlow {
    0%, 100% {
        color: var(--cap-olive);
    }
    50% {
        color: #8C6A28;
        text-shadow: 0 1px 8px rgba(200, 168, 107, 0.4);
    }
}

@keyframes footerSigLivingBreathe {
    0%, 100% {
        letter-spacing: 0.2em;
        color: var(--cap-olive);
    }
    50% {
        letter-spacing: 0.23em;
        color: #6A8554;
    }
}

.footer-share-row {
    display: flex;
    gap: 10px;
    width: 100%;
    max-width: 360px;
}

.btn-share-pill {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px 14px;
    border-radius: 999px;
    font-family: var(--font-sans);
    font-size: 11px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-wa-share {
    background: #25D366;
    color: #FFF;
    box-shadow: 0 3px 10px rgba(37, 211, 102, 0.25);
}

.btn-wa-share:hover {
    background: #20BA5A;
}

.btn-link-copy {
    background: #FFF;
    color: var(--cap-olive);
    border: 1px solid rgba(130, 169, 195, 0.4);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.btn-link-copy:hover {
    background: #F4F8FA;
    border-color: var(--cap-olive);
}

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

/* ==========================================================================
   DECORATIVE PINE & WHITE FLORAL GARLAND DIVIDER
   ========================================================================== */
.pine-garland-divider-wrap {
    width: 100%;
    background: linear-gradient(180deg, #F8FAFB 0%, #F4F8FA 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    line-height: 0;
    margin: 0;
    padding: 6px 0 0;
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), transform 1s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform, opacity;
}

.pine-garland-divider-wrap.revealed {
    opacity: 1;
    transform: translateY(0);
}

.pine-garland-divider-img {
    width: 100%;
    max-width: 600px;
    height: auto;
    display: block;
    object-fit: contain;
    pointer-events: none;
    user-select: none;
}

/* Created by Justvers with link www.justvers.com */
.footer-creator-credit {
    margin-top: 20px;
    padding-top: 18px;
    border-top: 1px solid rgba(140, 111, 52, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    width: 100%;
    max-width: 320px;
}

.creator-label {
    font-family: var(--font-sans);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #7A8973;
}

.creator-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    transition: all 0.25s ease;
}

.creator-name {
    font-family: var(--font-sans);
    font-size: 13.5px;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: #2D3E25;
}

.creator-dot {
    color: #C4BCA8;
    font-size: 12px;
}

.creator-url {
    font-family: var(--font-sans);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.04em;
    color: #8C6318;
    text-decoration: underline;
    text-underline-offset: 3px;
    text-decoration-color: rgba(140, 99, 24, 0.35);
    transition: text-decoration-color 0.2s ease, color 0.2s ease;
}

.creator-link:hover .creator-url {
    color: #5A4010;
    text-decoration-color: #8C6318;
}

.creator-link:hover .creator-name {
    color: #1A2615;
}

/* ==========================================================================
   CALENDAR EXPORT MODAL
   ========================================================================== */
.cal-modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(30, 45, 60, 0.6);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    padding: 20px;
    transition: opacity 0.3s ease;
}

.cal-modal-backdrop.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.cal-modal-card {
    width: 100%;
    max-width: 320px;
    background: #FFF;
    border-radius: 24px;
    padding: 24px 20px;
    text-align: center;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.2);
}

.cal-modal-title {
    font-family: var(--font-serif);
    font-size: 22px;
    font-weight: 600;
    color: var(--cap-olive);
    margin-bottom: 6px;
}

.cal-modal-desc {
    font-size: 13px;
    color: var(--cap-text-muted);
    margin-bottom: 18px;
    line-height: 1.4;
}

.cal-modal-options {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 14px;
}

.btn-cal-provider {
    width: 100%;
    padding: 10px 14px;
    border-radius: 999px;
    font-family: var(--font-sans);
    font-size: 11px;
    font-weight: 600;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-google-cal {
    background: #4285F4;
    color: #FFF;
    border: none;
}

.btn-apple-cal {
    background: #000;
    color: #FFF;
    border: none;
}

.btn-modal-close {
    padding: 6px 16px;
    background: transparent;
    border: none;
    font-family: var(--font-sans);
    font-size: 12px;
    color: var(--cap-text-light);
    cursor: pointer;
}

/* ==========================================================================
   GLOBAL SCROLL REVEAL FADE-IN ENGINE
   ========================================================================== */
.reveal-anim,
.reveal-fade-up {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 1.1s cubic-bezier(0.16, 1, 0.3, 1), transform 1.1s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform, opacity;
}

.reveal-anim.revealed,
.reveal-fade-up.revealed {
    opacity: 1;
    transform: translateY(0);
}

.reveal-zoom {
    opacity: 0;
    transform: scale(0.93) translateY(24px);
    transition: opacity 1.15s cubic-bezier(0.16, 1, 0.3, 1), transform 1.15s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform, opacity;
}

.reveal-zoom.revealed {
    opacity: 1;
    transform: scale(1) translateY(0);
}

.reveal-left {
    opacity: 0;
    transform: translateX(-38px);
    transition: opacity 1.1s cubic-bezier(0.16, 1, 0.3, 1), transform 1.1s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform, opacity;
}

.reveal-left.revealed {
    opacity: 1;
    transform: translateX(0);
}

.reveal-right {
    opacity: 0;
    transform: translateX(38px);
    transition: opacity 1.1s cubic-bezier(0.16, 1, 0.3, 1), transform 1.1s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform, opacity;
}

.reveal-right.revealed {
    opacity: 1;
    transform: translateX(0);
}

/* Stagger Delays */
.delay-1 { transition-delay: 0.12s; }
.delay-2 { transition-delay: 0.24s; }
.delay-3 { transition-delay: 0.36s; }
.delay-4 { transition-delay: 0.48s; }
.delay-5 { transition-delay: 0.6s; }
