/* ==========================================================================
   CSS DESIGN SYSTEM - ANANTHAKRISHNAN & ABHIRAMI WEDDING INVITATION
   Luxurious, Modern Editorial, Traditional South Indian Aesthetics
   ========================================================================== */

:root {
    /* Color Palette */
    --color-ivory: #FFFDF8;
    --color-blush: #F7E7E6;
    --color-sage: #DDE8D4;
    --color-gold: #D4AF37;
    --color-gold-light: #F8ECD1;
    --color-gold-dark: #A57C1B;
    --color-cream: #FAF5EC;
    --color-white: #FFFFFF;

    /* Text Colors */
    --color-text-dark: #2F2A28;
    /* Rich dark charcoal-brown */
    --color-text-muted: #6B625E;
    /* Muted warm grey-brown */
    --color-text-green: #3B5441;
    /* Traditional deep sage green */
    --color-text-red: #8B2C30;
    /* Traditional deep red */

    /* Fonts */
    --font-serif: 'Cormorant Garamond', Georgia, serif;
    --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
    --font-script: 'Alex Brush', cursive;

    /* Shadows & Transitions */
    --shadow-editorial: 0 30px 70px rgba(165, 124, 27, 0.08);
    --shadow-soft: 0 10px 40px rgba(0, 0, 0, 0.02);
    --transition-slow: 1.2s cubic-bezier(0.25, 1, 0.5, 1);
    --transition-medium: 0.6s cubic-bezier(0.25, 1, 0.5, 1);
    --transition-fast: 0.3s ease;
}

/* ==========================================================================
   BASE & RESET
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

section {
    scroll-margin-top: 90px;
}


body {
    background-color: var(--color-ivory);
    color: var(--color-text-dark);
    font-family: var(--font-sans);
    overflow-x: hidden;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

main {
    position: relative;
    z-index: 10;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Common Typography Classes */
.cormorant {
    font-family: var(--font-serif);
}

.inter {
    font-family: var(--font-sans);
}

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

.hidden {
    display: none !important;
}

/* ==========================================================================
   CANVAS PETALS
   ========================================================================== */
#petal-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 99;
    pointer-events: none;
}

/* ==========================================================================
   PRELOADER / ENTRANCE SCREEN
   ========================================================================== */
#entrance-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2000;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.door {
    position: absolute;
    top: 0;
    width: 50%;
    height: 100%;
    background-color: var(--color-ivory);
    background-image:
        radial-gradient(circle at 50% 30%, var(--color-cream) 0%, transparent 70%),
        url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M40 0 L42 10 L48 6 L44 14 L50 18 L42 20 L40 28 L38 20 L30 18 L36 14 L32 6 L38 10 Z' fill='%23D4AF37' fill-opacity='0.03'/%3E%3C/svg%3E");
    transition: transform 1.8s cubic-bezier(0.77, 0, 0.175, 1);
    z-index: 10;
}

.door-left {
    left: 0;
    border-right: 2px solid var(--color-gold);
    box-shadow: 10px 0 30px rgba(165, 124, 27, 0.05);
}

.door-right {
    right: 0;
    border-left: 2px solid var(--color-gold);
    box-shadow: -10px 0 30px rgba(165, 124, 27, 0.05);
}

#entrance-overlay.open-doors .door-left {
    transform: translate3d(-100%, 0, 0);
}

#entrance-overlay.open-doors .door-right {
    transform: translate3d(100%, 0, 0);
}

#entrance-overlay.open-doors .entrance-content {
    opacity: 0;
    transform: scale(0.95) translateY(-20px);
    pointer-events: none;
}

.entrance-content {
    position: relative;
    z-index: 20;
    max-width: 520px;
    width: 90%;
    padding: clamp(2rem, 6vw, 3.5rem) clamp(1.5rem, 4vw, 2.5rem);
    text-align: center;
    background: linear-gradient(135deg, var(--color-white) 0%, var(--color-cream) 100%);
    border-radius: 8px;
    box-shadow:
        0 0 0 1px rgba(212, 175, 55, 0.3),
        0 20px 50px rgba(78, 62, 45, 0.12);
    transition: opacity 1s var(--transition-slow), transform 1s var(--transition-slow);
}

.entrance-content::before {
    content: '';
    position: absolute;
    inset: 12px;
    border: 1px solid rgba(212, 175, 55, 0.15);
    border-radius: 4px;
    pointer-events: none;
}

.entrance-card-surface {
    position: relative;
    z-index: 1;
}

.entrance-om {
    display: block;
    font-size: 1.8rem;
    color: var(--color-gold-dark);
    margin-bottom: 0.5rem;
    font-weight: 300;
}

.entrance-ganesha {
    width: 65px;
    height: auto;
    margin: 0 auto 1.5rem;
    display: block;
    filter: drop-shadow(0 4px 8px rgba(212, 175, 55, 0.25));
}

.entrance-preface {
    font-size: 0.95rem;
    font-weight: 400;
    letter-spacing: 0.05em;
    color: var(--color-text-muted);
    margin-bottom: 0.5rem;
}

.entrance-names {
    margin: 0.5rem 0 1.2rem;
}

.entrance-names .couple-name-text {
    display: block;
    font-family: var(--font-serif);
    font-size: clamp(2rem, 7vw, 2.75rem);
    font-weight: 600;
    color: var(--color-text-dark);
    letter-spacing: 0.02em;
    line-height: 1.2;
}

.entrance-names .entrance-ampersand {
    display: block;
    font-family: var(--font-script);
    font-size: 2.2rem;
    color: var(--color-gold-dark);
    margin: 0.25rem 0;
}

/* Mobile: single line for names */
@media (max-width: 480px) {
    .entrance-names {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        justify-content: center;
        gap: 0.3rem;
    }

    .entrance-names .couple-name-text {
        display: inline;
        font-size: clamp(1.25rem, 5vw, 1.6rem);
        line-height: 1.3;
    }

    .entrance-names .entrance-ampersand {
        display: inline;
        font-size: 1.6rem;
        margin: 0 0.2rem;
    }
}

.entrance-calligraphy {
    font-family: var(--font-script);
    font-size: clamp(2rem, 6vw, 2.6rem);
    color: var(--color-gold-dark);
    line-height: 1.1;
    margin-bottom: 0.5rem;
}

.entrance-subline {
    font-size: 1.05rem;
    font-style: italic;
    color: var(--color-text-muted);
    margin-bottom: 2rem;
}

.kerala-kasavu-line {
    height: 4px;
    width: 120px;
    margin: 0 auto 2.2rem;
    background: linear-gradient(to right,
            transparent 0%,
            var(--color-gold) 15%,
            var(--color-gold) 45%,
            var(--color-text-red) 45%,
            var(--color-text-red) 55%,
            var(--color-text-green) 55%,
            var(--color-text-green) 65%,
            var(--color-gold) 65%,
            var(--color-gold) 85%,
            transparent 100%);
}

.entrance-cta {
    padding: 0.9rem 2.2rem;
    background: transparent;
    color: var(--color-gold-dark);
    border: 1px solid var(--color-gold);
    cursor: pointer;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    transition: all var(--transition-fast);
}

.entrance-cta:hover {
    background: var(--color-gold);
    color: var(--color-white);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.25);
    transform: translateY(-2px);
}

.entrance-content.fade-in {
    animation: entranceReveal 1.3s cubic-bezier(0.25, 1, 0.5, 1) both;
}

@keyframes entranceReveal {
    from {
        opacity: 0;
        transform: translateY(25px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==========================================================================
   MUSIC FAB
   ========================================================================== */
#music-control {
    position: fixed;
    bottom: max(25px, env(safe-area-inset-bottom, 0px));
    right: max(25px, env(safe-area-inset-right, 0px));
    z-index: 1000;
    transition: opacity var(--transition-medium);
}

#music-toggle.music-fab {
    position: relative;
    width: 58px;
    height: 58px;
    padding: 0;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform var(--transition-fast);
    box-shadow: 0 8px 24px rgba(78, 62, 45, 0.12);
}

#music-toggle.music-fab:hover {
    transform: scale(1.08);
}

#music-toggle.music-fab:active {
    transform: scale(0.95);
}

.music-fab-ring {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: conic-gradient(from 180deg,
            rgba(212, 175, 55, 0.25),
            rgba(255, 255, 255, 0.95),
            rgba(212, 175, 55, 0.4),
            rgba(170, 124, 17, 0.2),
            rgba(212, 175, 55, 0.25));
    border: 1px solid rgba(212, 175, 55, 0.4);
}

.music-fab-core {
    position: relative;
    z-index: 1;
    width: calc(100% - 6px);
    height: calc(100% - 6px);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    background: linear-gradient(165deg, var(--color-white) 0%, var(--color-cream) 100%);
}

#music-toggle.music-fab .music-icon {
    font-size: 1.15rem;
    color: var(--color-gold-dark);
}

.music-is-off .music-svg-on {
    display: none;
}

.music-is-off .music-svg-off {
    display: block;
}

:not(.music-is-off) .music-svg-on {
    display: block;
}

:not(.music-is-off) .music-svg-off {
    display: none;
}

#music-toggle.music-fab .status-text {
    font-size: 0.55rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--color-text-muted);
}

/* ==========================================================================
   STICKY FLOATING HEADER & NAV
   ========================================================================== */
#main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 900;
    background-color: rgba(255, 253, 248, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(212, 175, 55, 0.12);
    transition: transform var(--transition-medium);
}

.scroll-progress-container {
    width: 100%;
    height: 3px;
    background-color: rgba(212, 175, 55, 0.08);
}

#scroll-progress-bar {
    width: 0%;
    height: 100%;
    background: linear-gradient(to right, var(--color-gold), var(--color-gold-dark));
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    max-width: 1300px;
    margin: 0 auto;
}

.nav-logo {
    font-size: 1.6rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--color-gold-dark);
    text-shadow: 0 1px 1px rgba(255, 255, 255, 0.8);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: clamp(1rem, 3.5vw, 3rem);
}

.nav-links a {
    text-decoration: none;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--color-text-dark);
    position: relative;
    padding: 0.25rem 0;
    transition: color var(--transition-fast);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--color-gold-dark);
    transition: width var(--transition-fast);
}

.nav-links a:hover {
    color: var(--color-gold-dark);
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-cta .nav-btn-link {
    text-decoration: none;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-white);
    background-color: var(--color-gold-dark);
    padding: 0.6rem 1.5rem;
    border-radius: 2px;
    transition: all var(--transition-fast);
    box-shadow: 0 4px 10px rgba(165, 124, 27, 0.15);
}

.nav-cta .nav-btn-link:hover {
    background-color: var(--color-gold);
    box-shadow: 0 6px 16px rgba(165, 124, 27, 0.25);
    transform: translateY(-1px);
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .navbar {
        padding: 0.8rem 1.5rem;
    }
}

/* ==========================================================================
   REDESIGNED HERO SECTION (EDITORIAL ASYMMETRICAL SCREEN SPLIT)
   ========================================================================== */
.hero-section {
    position: relative;
    min-height: 100vh;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background-color: var(--color-ivory);
    background-image:
        radial-gradient(circle at 10% 20%, rgba(247, 231, 230, 0.35) 0%, transparent 60%),
        radial-gradient(circle at 90% 80%, rgba(221, 232, 212, 0.25) 0%, transparent 50%);
    overflow: hidden;
    padding: 6rem 2rem 4rem;
}

.hero-split-layout {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 3rem;
    align-items: center;
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
}

/* Hero Left Text Panel */
.hero-text-panel-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 5;
}

.hero-editorial-panel {
    background-color: var(--color-white);
    border: 1px solid rgba(212, 175, 55, 0.2);
    padding: clamp(2rem, 5vw, 4rem) clamp(1.5rem, 4vw, 3rem);
    box-shadow: var(--shadow-editorial);
    position: relative;
    text-align: left;
    width: 100%;
    border-radius: 4px;
}

.hero-editorial-panel::before {
    content: '';
    position: absolute;
    inset: 10px;
    border: 1px dashed rgba(212, 175, 55, 0.25);
    pointer-events: none;
}

.monogram-badge {
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 5px;
    color: var(--color-gold-dark);
    margin-bottom: 1.5rem;
    display: inline-block;
    padding-bottom: 0.4rem;
    border-bottom: 1px solid rgba(212, 175, 55, 0.3);
}

.hero-kicker {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.4em;
    text-transform: uppercase;
    color: var(--color-text-muted);
    margin-bottom: 1rem;
}

.hero-couple-headline {
    margin-bottom: 1.8rem;
}

.hero-couple-headline .name-line {
    display: block;
    font-size: clamp(2.4rem, 6vw, 3.8rem);
    font-weight: 600;
    color: var(--color-text-dark);
    line-height: 1.15;
}

.hero-couple-headline .highlighted-name {
    font-weight: 600;
    color: var(--color-text-green);
}

.hero-couple-headline .ampersand-script {
    display: block;
    font-size: 3rem;
    color: var(--color-gold-dark);
    margin: 0.1rem 0;
    line-height: 1;
}

/* Mobile: single line for hero couple names */
@media (max-width: 480px) {
    .hero-couple-headline {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        gap: 0.3rem;
        justify-content: center;
    }

    .hero-couple-headline .name-line {
        display: inline;
        font-size: clamp(1.3rem, 5.5vw, 1.7rem);
        line-height: 1.3;
    }

    .hero-couple-headline .ampersand-script {
        display: inline;
        font-size: 1.8rem;
        margin: 0 0.2rem;
        line-height: 1.3;
    }
}

.hero-footer-line {
    font-size: 1.2rem;
    font-style: italic;
    color: var(--color-text-muted);
    margin-bottom: 1.5rem;
    font-weight: 300;
}

.editorial-line {
    height: 1px;
    width: 80px;
    background-color: var(--color-gold);
    margin-bottom: 1.5rem;
}

.hero-date-line {
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-gold-dark);
}

/* Hero Right Image Frame */
.hero-image-panel-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.hero-editorial-frame {
    position: relative;
    width: 100%;
    max-width: 440px;
    aspect-ratio: 3/4;
}

.editorial-frame-shadow {
    position: absolute;
    inset: 15px -15px -15px 15px;
    border: 1px solid rgba(212, 175, 55, 0.3);
    background-color: var(--color-cream);
    z-index: 1;
}

.editorial-frame-border {
    position: relative;
    width: 100%;
    height: 100%;
    border: 10px solid var(--color-white);
    outline: 1px solid rgba(212, 175, 55, 0.25);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    z-index: 2;
}

.hero-main-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform var(--transition-slow);
}

.hero-main-img:hover {
    transform: scale(1.05);
}

/* Editorial Scroll Down Line */
.editorial-scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    z-index: 5;
}

.scroll-label {
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--color-text-muted);
}

.scroll-line-container {
    width: 1px;
    height: 50px;
    background-color: rgba(165, 124, 27, 0.25);
    position: relative;
    overflow: hidden;
}

.scroll-anim-line {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 20px;
    background-color: var(--color-gold-dark);
    animation: scrollLine 2s infinite cubic-bezier(0.25, 1, 0.5, 1);
}

@keyframes scrollLine {
    0% {
        top: -20px;
    }

    50% {
        top: 50px;
    }

    100% {
        top: 50px;
    }
}

@media (max-width: 992px) {
    .hero-split-layout {
        grid-template-columns: 1fr;
        gap: 4rem;
        max-width: 550px;
    }

    .hero-section {
        padding-top: 7rem;
    }

    .hero-editorial-panel {
        text-align: center;
    }

    .editorial-line {
        margin: 0 auto 1.5rem;
    }
}

/* ==========================================================================
   REDESIGNED INVITATION SECTION (EDITORIAL GRID)
   ========================================================================== */
.invitation-section {
    padding: 6rem 0 2rem 0;
    position: relative;
    background-color: var(--color-ivory);
}

.invitation-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 4rem;
    align-items: stretch;
}

/* Hosts Left Column */
.invitation-col-left {
    display: flex;
}

.hosts-editorial-card {
    background-color: var(--color-cream);
    border: 1px solid rgba(212, 175, 55, 0.15);
    padding: 3rem 2.5rem;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    border-radius: 4px;
}

.hosts-editorial-card::before {
    content: '';
    position: absolute;
    inset: 10px;
    border: 1px solid rgba(165, 124, 27, 0.12);
    pointer-events: none;
}

.traditional-om {
    font-size: 2.2rem;
    color: var(--color-gold-dark);
    margin-bottom: 1.5rem;
    font-weight: 300;
}

.hosts-group {
    margin-bottom: 2rem;
}

.hosts-parent-title {
    font-size: 1.8rem;
    font-weight: 500;
    color: var(--color-text-dark);
    line-height: 1.2;
}

.hosts-ampersand {
    display: block;
    font-size: 2rem;
    color: var(--color-gold-dark);
    margin: 0.2rem 0;
}

.hosts-address-box {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    letter-spacing: 0.04em;
    line-height: 1.7;
    margin-bottom: 3rem;
}

.hosts-contact {
    margin-top: auto;
}

.contact-label {
    display: block;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    color: var(--color-gold-dark);
    margin-bottom: 0.8rem;
}

.hosts-contact .phone-link {
    font-size: 0.9rem;
    color: var(--color-text-dark);
    margin-bottom: 0.4rem;
}

.hosts-contact a {
    color: var(--color-text-green);
    text-decoration: none;
    font-weight: 600;
    transition: color var(--transition-fast);
}

.hosts-contact a:hover {
    color: var(--color-gold-dark);
    text-decoration: underline;
}

/* Invitation Wording Right Column */
.invitation-col-right {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.invitation-wording-panel {
    text-align: center;
    padding-left: 1rem;
}

.editorial-ganesha-icon {
    width: 65px;
    height: auto;
    margin: 0 auto 2rem;
    display: block;
    filter: drop-shadow(0 3px 6px rgba(165, 124, 27, 0.15));
}

.wording-preface {
    font-size: 1.35rem;
    line-height: 1.6;
    color: var(--color-text-muted);
    font-style: italic;
    font-weight: 300;
    margin-bottom: 3rem;
}

.editorial-couple-box {
    display: flex;
    flex-direction: column;
    gap: 2.2rem;
    margin-bottom: 1.5rem;
}

.editorial-person-showcase {
    position: relative;
}

.editorial-name {
    font-size: clamp(2.2rem, 5vw, 3.2rem);
    color: var(--color-text-dark);
    font-weight: 600;
    line-height: 1.1;
    margin-bottom: 0.8rem;
}

.editorial-parents {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    max-width: 540px;
    margin: 0 auto 0.4rem;
    line-height: 1.5;
    font-weight: 400;
    font-style: italic;
}

.editorial-lineage {
    font-size: 0.82rem;
    color: var(--color-text-muted);
    max-width: 540px;
    margin: 0 auto;
    line-height: 1.7;
    font-weight: 400;
}

.editorial-with-divider {
    font-size: 2.5rem;
    color: var(--color-gold-dark);
    line-height: 1;
}

.lamp-circular-frame {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    border: 1px solid rgba(212, 175, 55, 0.25);
    background-color: var(--color-white);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 1.8rem auto 0;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.02);
}

.nilavilakku-svg {
    width: 52px;
    height: auto;
}

.lamp-flame {
    transform-origin: center bottom;
    animation: flickerFlame 1.5s infinite alternate ease-in-out;
}

.flame-1 {
    animation-delay: 0.1s;
}

.flame-2 {
    animation-delay: 0s;
}

.flame-3 {
    animation-delay: 0.2s;
}

@keyframes flickerFlame {
    0% {
        transform: scale(1) rotate(-1deg);
        opacity: 0.9;
    }

    50% {
        transform: scale(1.1) rotate(1deg);
        opacity: 1;
    }

    100% {
        transform: scale(0.95) rotate(-2deg);
        opacity: 0.85;
    }
}

.mobile-scroll-indicator {
    display: none;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    margin: 0 auto 2.5rem;
}

@media (max-width: 992px) {
    .container {
        padding: 0 1.5rem;
    }

    .invitation-section {
        padding: 6dvh 0 2rem 0;
    }

    .invitation-grid {
        grid-template-columns: 1fr;
        gap: 1.5dvh;
    }

    .invitation-col-left {
        height: auto;
        justify-content: center;
        align-items: center;
    }

    .invitation-col-left .details-photo-frame {
        width: 100%;
        max-width: 360px;
        height: auto;
        aspect-ratio: 3/4;
        margin: 0 auto;
    }

    .invitation-wording-panel {
        padding-left: 0;
    }

    .wording-preface {
        font-size: clamp(1rem, 3.8vw, 1.15rem);
        line-height: 1.4;
        margin-bottom: 0;
        height: 18dvh;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .mobile-scroll-indicator {
        display: flex;
        height: 12dvh;
        margin: 0 auto;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 6px;
    }

    .editorial-couple-box {
        margin-top: 6dvh;
        gap: 1.8rem;
    }
}


/* ==========================================================================
   REDESIGNED DETAILS SECTION (EDITORIAL ASYMMETRICAL DATE GRID)
   ========================================================================== */
.details-section {
    padding: 2.5rem 0 6rem 0;
    background: linear-gradient(180deg, var(--color-ivory) 0%, var(--color-cream) 100%);
    position: relative;
}

/* Photo + Details side-by-side layout */
.details-with-photo-grid {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 4rem;
    align-items: center;
}

.details-photo-col {
    position: relative;
}

.details-photo-frame {
    width: 100%;
    aspect-ratio: 3/4;
    border: 10px solid var(--color-white);
    outline: 1px solid rgba(212, 175, 55, 0.25);
    box-shadow: var(--shadow-editorial);
    overflow: hidden;
    border-radius: 4px;
    position: relative;
}

.details-photo-frame::after {
    content: '';
    position: absolute;
    inset: 8px;
    border: 1px dashed rgba(212, 175, 55, 0.2);
    pointer-events: none;
}

.details-photo-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform var(--transition-slow);
}

.details-photo-img:hover {
    transform: scale(1.04);
}

.details-info-col {
    display: flex;
    flex-direction: column;
}

@media (max-width: 992px) {
    .details-with-photo-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .details-photo-frame {
        aspect-ratio: 3/4;
        max-width: 380px;
        margin: 0 auto;
    }
}


.section-header-editorial {
    margin-bottom: 4rem;
}

.editorial-section-title {
    font-size: clamp(2rem, 5vw, 3rem);
    color: var(--color-text-dark);
    font-weight: 400;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.editorial-section-subtitle {
    font-size: 0.78rem;
    letter-spacing: 0.3em;
    color: var(--color-gold-dark);
    text-transform: uppercase;
    display: block;
    margin-top: 0.5rem;
    font-weight: 700;
}

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

.text-right {
    text-align: right;
}

.details-editorial-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

/* Date Showcase Column */
.details-col-date-showcase {
    display: flex;
    justify-content: flex-start;
}

.massive-date-container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.massive-day-label {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    color: var(--color-text-muted);
    font-style: italic;
    font-weight: 300;
    line-height: 1;
}

.massive-date-num {
    font-size: clamp(6rem, 15vw, 11rem);
    font-weight: 300;
    color: var(--color-gold-dark);
    line-height: 0.85;
    margin: 1.5rem 0;
}

.massive-date-line {
    height: 1px;
    width: 140px;
    background-color: var(--color-text-green);
    margin-bottom: 1.5rem;
}

.massive-month-year {
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.35em;
    text-transform: uppercase;
    color: var(--color-text-dark);
    margin-bottom: 0.5rem;
}

.malayalam-calendar-date {
    font-size: 1.15rem;
    font-style: italic;
    color: var(--color-text-muted);
}

/* Info Cards Column */
.details-col-card-info {
    display: flex;
    justify-content: flex-end;
}

.details-editorial-glass-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: var(--shadow-editorial);
    border-radius: 4px;
    padding: clamp(2rem, 5vw, 3.5rem) clamp(1.5rem, 4vw, 2.5rem);
    width: 100%;
    max-width: 500px;
    position: relative;
    overflow: hidden;
}

.details-editorial-glass-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(to right, var(--color-gold), var(--color-text-red), var(--color-text-green));
}

.glass-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 2.2rem;
}

.gold-spinner {
    font-size: 1.5rem;
    color: var(--color-gold-dark);
    animation: slowSpin 10s infinite linear;
}

@keyframes slowSpin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.glass-card-title {
    font-size: 1.6rem;
    font-weight: 500;
    color: var(--color-text-dark);
}

.editorial-info-list {
    display: flex;
    flex-direction: column;
    gap: 1.8rem;
    margin-bottom: 2.5rem;
}

.info-row-item {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.info-label {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.25em;
    color: var(--color-gold-dark);
    text-transform: uppercase;
}

.info-value {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--color-text-dark);
}

.accent-green-color {
    color: var(--color-text-green);
}

.info-subvalue {
    font-size: 0.9rem;
    color: var(--color-text-muted);
}

.editorial-action-btn {
    background-color: var(--color-gold-dark);
    color: var(--color-white);
    border: none;
    width: 100%;
    padding: 0.9rem 1.5rem;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    cursor: pointer;
    border-radius: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all var(--transition-fast);
    box-shadow: 0 4px 15px rgba(165, 124, 27, 0.15);
}

.editorial-action-btn:hover {
    background-color: var(--color-gold);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(165, 124, 27, 0.25);
}

@media (max-width: 992px) {
    .details-editorial-grid {
        grid-template-columns: 1fr;
        gap: 4rem;
    }

    .details-col-date-showcase,
    .details-col-card-info {
        justify-content: center;
    }

    .massive-date-container {
        align-items: center;
        text-align: center;
    }
}

/* ==========================================================================
   REDESIGNED COUNTDOWN TICKER BAR
   ========================================================================== */
.countdown-ticker-section {
    background-color: var(--color-cream);
    position: relative;
    padding: 3rem 0;
    overflow: hidden;
}

.ticker-kasavu-line-top,
.ticker-kasavu-line-bottom {
    position: absolute;
    left: 0;
    width: 100%;
    height: 4px;
}

.ticker-kasavu-line-top {
    top: 0;
    background: linear-gradient(to right,
            var(--color-gold) 0%, var(--color-gold) 80%,
            var(--color-text-red) 80%, var(--color-text-red) 90%,
            var(--color-text-green) 90%, var(--color-text-green) 100%);
}

.ticker-kasavu-line-bottom {
    bottom: 0;
    background: linear-gradient(to left,
            var(--color-gold) 0%, var(--color-gold) 80%,
            var(--color-text-red) 80%, var(--color-text-red) 90%,
            var(--color-text-green) 90%, var(--color-text-green) 100%);
}

.ticker-content-container {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    padding: 0 1.5rem;
}

.ticker-header {
    font-size: 1.45rem;
    color: var(--color-text-dark);
    margin-bottom: 1.5rem;
    letter-spacing: 0.05em;
    font-weight: 500;
}

.editorial-ticker-timer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(0.5rem, 3vw, 2.5rem);
}

.ticker-segment {
    display: flex;
    align-items: baseline;
    gap: 6px;
}

.ticker-num {
    font-size: clamp(2.2rem, 6vw, 3.5rem);
    font-weight: 300;
    color: var(--color-gold-dark);
    line-height: 1;
}

.ticker-lbl {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-text-muted);
}

.ticker-dot {
    font-size: 1.8rem;
    color: var(--color-gold);
    opacity: 0.7;
}

@media (max-width: 600px) {
    .editorial-ticker-timer {
        flex-wrap: wrap;
        gap: 1rem;
    }

    .ticker-dot {
        display: none;
    }

    .ticker-segment {
        width: 40%;
        justify-content: center;
    }
}

/* ==========================================================================
   REDESIGNED PHOTO GALLERY SECTION (EDITORIAL OVERLAPPING COLLAGE)
   ========================================================================== */
.gallery-section {
    padding: 8rem 0;
    background-color: var(--color-white);
}

.collage-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 2rem;
    position: relative;
    margin-top: 4rem;
}

.collage-item {
    position: relative;
}

.collage-frame {
    position: relative;
    cursor: pointer;
    background-color: var(--color-cream);
    overflow: hidden;
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(212, 175, 55, 0.15);
    padding: 10px;
    background: var(--color-white);
    transition: transform var(--transition-medium), box-shadow var(--transition-fast);
    height: auto;
}

.collage-frame::before {
    content: '';
    position: absolute;
    inset: 5px;
    border: 1px solid rgba(165, 124, 27, 0.1);
    pointer-events: none;
}

.collage-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform var(--transition-slow);
}

.collage-meta-caption {
    position: absolute;
    bottom: 15px;
    right: 15px;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: 5px 12px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-style: italic;
    color: var(--color-text-dark);
    margin: 0;
    z-index: 10;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(212, 175, 55, 0.25);
    transition: background var(--transition-fast), color var(--transition-fast);
}

.collage-hover-overlay {
    position: absolute;
    inset: 10px;
    background-color: rgba(247, 231, 230, 0.4);
    opacity: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity var(--transition-medium);
    backdrop-filter: blur(2px);
}

.collage-expand-icon {
    font-size: 1.3rem;
    color: var(--color-text-dark);
    background: rgba(255, 255, 255, 0.95);
    width: 46px;
    height: 46px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--color-gold);
    transform: scale(0.85);
    transition: transform var(--transition-medium);
}

.collage-frame:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 55px rgba(165, 124, 27, 0.1);
}

.collage-frame:hover .collage-img {
    transform: scale(1.05);
}

.collage-frame:hover .collage-hover-overlay {
    opacity: 1;
}

.collage-frame:hover .collage-expand-icon {
    transform: scale(1);
}

/* Specific Collage Positions */
.item-left {
    grid-column: 1 / 7;
    grid-row: 1;
}

.item-left .collage-frame {
    aspect-ratio: 3/4;
}

.item-right {
    grid-column: 7 / 13;
    grid-row: 1;
    margin-top: 4rem; /* Staggered effect */
}

.item-right .collage-frame {
    aspect-ratio: 3/4;
}

.item-wide {
    grid-column: 1 / 13;
    grid-row: 2;
    margin-top: 3rem;
}

.item-wide .collage-frame {
    aspect-ratio: 16/7;
}

.item-wide .collage-img {
    object-position: center 25%;
}

@media (max-width: 992px) {
    .collage-grid {
        display: flex;
        flex-direction: column;
        gap: 3rem;
    }

    .item-left .collage-frame,
    .item-right .collage-frame,
    .item-wide .collage-frame {
        height: 450px;
        aspect-ratio: auto;
    }

    .item-right {
        margin-top: 0;
    }

    .item-wide {
        margin-top: 0;
    }
}

@media (max-width: 480px) {

    .item-left .collage-frame,
    .item-right .collage-frame,
    .item-wide .collage-frame {
        height: 320px;
        aspect-ratio: auto;
    }
}


/* ==========================================================================
   REDESIGNED VENUES SECTION (STAGGERED ROWS)
   ========================================================================== */
.venues-section {
    padding: 8rem 0;
    background-color: var(--color-cream);
    position: relative;
}

.venues-editorial-stack {
    display: flex;
    flex-direction: column;
    gap: 6rem;
    margin-top: 4rem;
}

.venue-editorial-row {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 3.5rem;
    align-items: center;
}

.venue-editorial-row.row-right {
    grid-template-columns: 1.1fr 1fr;
}

/* Venue Cards info Box */
.venue-info-box-editorial {
    background-color: var(--color-white);
    border: 1px solid rgba(212, 175, 55, 0.15);
    padding: clamp(2.5rem, 5vw, 3.5rem) clamp(2rem, 4vw, 3rem);
    box-shadow: var(--shadow-editorial);
    position: relative;
    border-radius: 4px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.venue-header-kasavu {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(to right, var(--color-gold) 75%, var(--color-text-green) 75%, var(--color-text-green) 100%);
}

.reception-kasavu {
    background: linear-gradient(to right, var(--color-gold) 75%, var(--color-text-red) 75%, var(--color-text-red) 100%);
}

.venue-kicker-tag {
    display: inline-block;
    padding: 0.3rem 1.1rem;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-text-green);
    background-color: var(--color-sage);
    border-radius: 20px;
    margin-bottom: 1.5rem;
}

.tag-reception {
    color: var(--color-text-red);
    background-color: var(--color-blush);
}

.venue-name {
    font-size: clamp(1.6rem, 4vw, 2.2rem);
    color: var(--color-text-dark);
    margin-bottom: 1rem;
    font-weight: 500;
    line-height: 1.25;
}

.venue-desc {
    font-size: 0.95rem;
    color: var(--color-text-muted);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.venue-detail-meta {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    margin-bottom: 2.2rem;
}

.venue-detail-meta p {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--color-text-dark);
    display: flex;
    align-items: center;
    gap: 8px;
}

.venue-detail-meta i {
    color: var(--color-gold-dark);
}

.venue-nav-button {
    text-decoration: none;
    background-color: transparent;
    color: var(--color-gold-dark);
    border: 1px solid var(--color-gold);
    padding: 0.8rem 2rem;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    border-radius: 2px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all var(--transition-fast);
}

.venue-nav-button:hover {
    background-color: var(--color-gold-dark);
    color: var(--color-white);
    box-shadow: 0 6px 18px rgba(165, 124, 27, 0.2);
    transform: translateY(-2px);
}

/* Venue map Box */
.venue-map-box-editorial {
    width: 100%;
    aspect-ratio: 4/3;
    padding: 8px;
    background-color: var(--color-white);
    border: 1px solid rgba(212, 175, 55, 0.2);
    box-shadow: var(--shadow-soft);
    border-radius: 4px;
}

.map-inner-frame {
    width: 100%;
    height: 100%;
    background-color: var(--color-cream);
    overflow: hidden;
}

@media (max-width: 992px) {
    .venue-editorial-row {
        grid-template-columns: 1fr !important;
        gap: 2.5rem;
    }

    .venue-editorial-row.row-right {
        display: flex;
        flex-direction: column-reverse;
    }

    .venues-editorial-stack {
        gap: 5rem;
    }

    .venue-map-box-editorial {
        aspect-ratio: 16/9;
    }
}

/* ==========================================================================
   REDESIGNED BLESSINGS SECTION (MINIMALIST QUOTE)
   ========================================================================== */
.blessings-section {
    padding: 9rem 0;
    background-image:
        linear-gradient(to bottom, rgba(255, 253, 248, 0.75), rgba(255, 253, 248, 0.75)),
        url('assets/abirami3.jpeg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    text-align: center;
}

.editorial-blessings-box {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.floral-center-icon {
    font-size: 2.2rem;
    color: var(--color-gold);
    display: inline-block;
    margin-bottom: 2rem;
    opacity: 0.85;
}

.editorial-quote {
    font-size: clamp(1.6rem, 5vw, 2.4rem);
    color: var(--color-text-dark);
    line-height: 1.7;
    font-weight: 300;
    font-style: italic;
    margin-bottom: 2.5rem;
}

.blessing-accent-line {
    height: 1px;
    width: 60px;
    background-color: var(--color-gold-dark);
    margin: 0 auto;
}

/* ==========================================================================
   REDESIGNED FAMILY SECTION (EDITORIAL SIGNATURE GRID)
   ========================================================================== */
.family-section {
    padding: 7rem 0;
    background-color: var(--color-ivory);
    text-align: center;
}

.family-editorial-panel {
    max-width: 700px;
    margin: 0 auto;
}

.compliments-title {
    font-size: 1.35rem;
    color: var(--color-gold-dark);
    margin-bottom: 2.5rem;
    letter-spacing: 0.1em;
    font-weight: 500;
    text-transform: uppercase;
}

.editorial-signature-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-bottom: 2.5rem;
}

.signature-item {
    display: inline-block;
}

.signature-name {
    font-size: 2rem;
    color: var(--color-text-dark);
    font-weight: 500;
    letter-spacing: 0.02em;
}

.signature-dot {
    font-size: 1.5rem;
    color: var(--color-gold);
}

.family-gold-motif {
    font-size: 1.4rem;
    color: rgba(165, 124, 27, 0.4);
}

/* ==========================================================================
   FOOTER SECTION
   ========================================================================== */
.wedding-footer {
    padding: 4.5rem 0;
    background-color: var(--color-cream);
    border-top: 1px solid rgba(212, 175, 55, 0.12);
    text-align: center;
}

.made-with-love {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--color-text-muted);
    margin-bottom: 0.8rem;
}

.footer-couple-names {
    font-size: clamp(1.15rem, 4.5vw, 2.4rem);
    color: var(--color-gold-dark);
    font-weight: 500;
    margin-bottom: 1.5rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.copyright-info {
    font-size: 0.75rem;
    color: var(--color-text-muted);
}

/* ==========================================================================
   LIGHTBOX MODAL
   ========================================================================== */
.lightbox-modal {
    position: fixed;
    inset: 0;
    background-color: rgba(255, 253, 248, 0.96);
    z-index: 2500;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition-medium);
}

.lightbox-modal:not([aria-hidden="true"]) {
    opacity: 1;
    pointer-events: auto;
}

.lightbox-content {
    max-width: 90%;
    max-height: 80vh;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(212, 175, 55, 0.2);
    background-color: var(--color-white);
    border-radius: 4px;
    padding: clamp(10px, 2vw, 20px);
}

.lightbox-content img {
    max-width: 100%;
    max-height: 75vh;
    object-fit: contain;
    display: block;
    animation: zoomIn 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

@keyframes zoomIn {
    from {
        transform: scale(0.92);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

.lightbox-close {
    position: absolute;
    top: 25px;
    right: 25px;
    background: none;
    border: none;
    color: var(--color-text-dark);
    font-size: 2.8rem;
    cursor: pointer;
    transition: color var(--transition-fast);
    line-height: 1;
    z-index: 2600;
}

.lightbox-close:hover {
    color: var(--color-gold-dark);
}

.lightbox-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(212, 175, 55, 0.2);
    color: var(--color-text-dark);
    width: 54px;
    height: 54px;
    border-radius: 50%;
    font-size: 1.4rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
    z-index: 2600;
}

.lightbox-arrow:hover {
    background-color: var(--color-gold-dark);
    color: var(--color-white);
    box-shadow: 0 4px 15px rgba(165, 124, 27, 0.15);
}

.lightbox-prev {
    left: 25px;
}

.lightbox-next {
    right: 25px;
}

@media (max-width: 768px) {
    .lightbox-arrow {
        width: 44px;
        height: 44px;
        font-size: 1.1rem;
    }

    .lightbox-prev {
        left: 10px;
    }

    .lightbox-next {
        right: 10px;
    }

    .lightbox-close {
        top: 15px;
        right: 15px;
        font-size: 2.2rem;
    }
}

/* ==========================================================================
   SCROLL REVEAL & INTERSECT ANIMATIONS
   ========================================================================== */
.reveal {
    opacity: 0;
    transform: translateY(35px);
    transition: opacity 1.2s cubic-bezier(0.25, 1, 0.5, 1), transform 1.2s cubic-bezier(0.25, 1, 0.5, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.fade-up {
    animation: fadeUpIn 1.5s cubic-bezier(0.25, 1, 0.5, 1) both;
}

@keyframes fadeUpIn {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==========================================================================
   EDITORIAL PHRASES & FOOTER BRANDING
   ========================================================================== */
.hero-phrase {
    font-size: clamp(0.72rem, 2.5vw, 0.88rem);
    font-weight: 500;
    font-style: italic;
    color: var(--color-text-muted);
    margin: 0.6rem 0 1.2rem;
    line-height: 1.6;
    max-width: 480px;
}

.wording-tag {
    font-size: clamp(0.78rem, 2.5vw, 0.95rem);
    font-weight: 500;
    font-style: italic;
    color: var(--color-text-muted);
    margin: -1rem auto 2.2rem;
    max-width: 520px;
    line-height: 1.6;
    text-align: center;
}

.powered-by {
    font-size: 0.72rem;
    letter-spacing: 0.15em;
    color: var(--color-text-muted);
    margin-top: 1rem;
    text-transform: uppercase;
    font-weight: 600;
}

.powered-link {
    color: var(--color-gold-dark);
    text-decoration: none;
    font-weight: 700;
    border-bottom: 1px solid transparent;
    transition: all var(--transition-fast);
}

.powered-link:hover {
    color: var(--color-text-green);
    border-bottom: 1px solid var(--color-text-green);
}

/* Calligraphy font override for invitesyou.in */
.powered-link.allura {
    font-family: var(--font-script);
    font-size: 1.65rem;
    text-transform: none;
    letter-spacing: 0.02em;
    font-weight: 400;
    display: inline-block;
    vertical-align: middle;
    margin-left: 0.2rem;
    line-height: 0.8;
}

/* ==========================================================================
   QUOTE BANNER SECTION (TRANS-IMAGE SEPARATOR)
   ========================================================================== */
.quote-banner-section {
    position: relative;
    background-image: url('assets/abirami4.jpeg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: scroll; /* Standard scroll to work reliably across all desktop & mobile browsers */
    padding: 9rem 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.quote-banner-overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(255, 253, 248, 0.86); /* Soft ivory cream transparent overlay */
    z-index: 1;
}

.quote-banner-container {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.quote-banner-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.gold-flower-icon {
    color: var(--color-gold-dark);
    font-size: 1.8rem;
    opacity: 0.85;
}

.editorial-quote {
    font-size: clamp(1.2rem, 3.2vw, 1.8rem);
    line-height: 1.7;
    color: var(--color-text-dark);
    font-weight: 400;
    font-style: italic;
    margin: 0;
    letter-spacing: 0.01em;
    max-width: 650px;
}

.quote-divider-line {
    width: 60px;
    height: 1px;
    background-color: var(--color-gold-dark);
    opacity: 0.6;
    margin-top: 0.5rem;
}

@media (max-width: 768px) {
    .quote-banner-section {
        padding: 6rem 1.5rem;
    }
}