body.custom-cursor-active,
body.custom-cursor-active #video-intro-overlay,
body.custom-cursor-active #monogram-intro-overlay,
body.custom-cursor-active #video-intro-overlay button,
body.custom-cursor-active #monogram-intro-overlay .monogram-content {
    cursor: auto;
}

@font-face {
    font-family: 'BPG ExtraSquare Mtavruli';
    src: url('Fonts/bpg-extrasquare-mtavruli-webfont.woff2') format('woff2'),
         url('Fonts/bpg-extrasquare-mtavruli-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'BPG ucnobi';
    src: url('Fonts/bpg-ucnobi-webfont.woff2') format('woff2'),
         url('Fonts/bpg-ucnobi-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

#custom-cursor {
    position: fixed;
    left: 0;
    top: 0;
    width: 10px;
    height: 10px;
    background-color: #333;
    border-radius: 50%;
    pointer-events: none;
    z-index: 10000;
    opacity: 1;
    transition: transform 0.1s ease-out, width 0.2s ease-out, height 0.2s ease-out, background-color 0.2s ease-out, opacity 0.2s ease-out;
    transform: translate(-50%, -50%);
}

.hero-image-carousel {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.hero-carousel-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
    z-index: 1;
    filter: saturate(30%) sepia(50%) brightness(100%);
}

.hero-carousel-image.active {
    opacity: 1;
    z-index: 2;
}

#custom-cursor.hidden {
    opacity: 0;
}

#custom-cursor.cursor-ring {
    width: 30px;
    height: 30px;
    background-color: transparent;
    border: 2px solid #333;
}

.hero-section {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background-color: var(--color-brand-charcoal);
}

.hero-video, .hero-fallback-image {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    background-size: cover;
    background-position: center;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background-color: var(--color-black);
    opacity: 0.4;
    z-index: 5;
}
.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    color: var(--color-white);
}

:root {
    --font-tangerine: 'Tangerine', cursive;
    --font-playfair: 'Playfair Display', serif;
    --font-montserrat: 'Montserrat', sans-serif;
    --font-cormorant: 'Cormorant Garamond', serif;
    --font-bpg-extrasquare: 'BPG ExtraSquare Mtavruli';
    ---font-bpg-ucnobi: 'BPG ucnobi';
    --color-brand-gold: #3a3a3a;
    --color-brand-gold-light: #d1c0a2;
    --color-brand-gold-dark: #a88e68;
    --color-brand-charcoal: #333333;
    --color-brand-charcoal-light: #555555;
    --color-brand-cream: #ffffff;
    --color-brand-sage: #8A9A5B;
    --color-white: #ffffff;
    --color-black: #000000;
    --color-red-error: #e53e3e;
    --color-red-error-bg: #fed7d7;
    --color-red-error-border: #f56565;
    --shadow-gold-glow: 0 0 18px rgba(192, 168, 126, 0.45);
    --shadow-gold-glow-intense: 0 0 25px rgba(192, 168, 126, 0.65);
    --countdown-cream: #E6DDCB;
    --countdown-off-white: #F9F8F5;
    --countdown-text-dark: #8a7a5c;
    --countdown-text-light: #a99778;
}

body {
    font-family: var(--font-cormorant);
    color: var(--color-brand-charcoal);
    background-color: var(--color-brand-cream);
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23c0a87e' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    cursor: auto;
    overflow-x: hidden;
}

.hidden {
    display: none !important;
}

.container {
    width: 90%;
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1rem;
    padding-right: 1rem;
}

h1, h2, h3 { margin-top: 0; }

h2 {
    font-family: var(--font-tangerine);
    font-size: 3rem;
    margin-bottom: 2rem;
    color: var(--color-brand-gold);
    text-align: center;
}
@media (min-width: 768px) {
    h2 {
        font-size: 4.5rem;
    }
}

.section-divider {
    width: 5rem;
    height: 1.5px;
    background-color: var(--color-brand-gold);
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 2.5rem;
}
@media (min-width: 768px) {
    .section-divider {
        margin-bottom: 3rem;
    }
}

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

.custom-cursor {
    position: fixed;
    left: 0;
    top: 0;
    pointer-events: none;
    z-index: 10000;
    transition: transform 0.1s ease-out, width 0.2s ease-out, height 0.2s ease-out, background-color 0.2s ease-out, border-color 0.2s ease-out;
    will-change: transform, width, height;
}
.cursor-dot {
    width: 8px;
    height: 8px;
    background-color: var(--color-brand-gold);
    border-radius: 50%;
}
.cursor-ring {
    width: 30px;
    height: 30px;
    border: 1px solid var(--color-brand-gold);
    border-radius: 50%;
    background-color: transparent;
}


.btn {
    display: inline-block;
    padding: 0.75rem 2rem;
    border: 1px solid var(--color-brand-gold);
    color: var(--color-brand-gold);
    font-family: var(---font-bpg-ucnobi);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 0.125rem;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}
.btn:hover, .btn:focus {
    background-color: var(--color-brand-gold);
    color: var(--color-white);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(192, 168, 126, 0.3), 0 2px 6px rgba(0,0,0,0.1);
}
.btn:active {
    transform: translateY(0px);
    box-shadow: 0 2px 5px rgba(192, 168, 126, 0.2), 0 1px 3px rgba(0,0,0,0.08);
}
.btn-primary {
    background-color: var(--color-brand-gold);
    color: var(--color-white);
    font-size: 1rem;
    padding: 1rem 2.5rem;
}
.btn-primary:hover, .btn-primary:focus {
    background-color: var(--color-brand-gold-dark);
}
.btn-hero {
    border-radius: 18px;
    border-width: 2px;
    border-color: var(--color-white);
    color: var(--color-white);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.btn-hero:hover, .btn-hero:focus {
    background-color: var(--color-white);
    color: var(--color-brand-charcoal);
    box-shadow: 0 10px 15px rgba(0,0,0,0.1);
}

.interactive-link {
    color: var(--color-brand-gold-light);
    text-decoration: none;
    transition: color 0.3s ease;
}
.interactive-link:hover {
    color: var(--color-white);
}

.monogram-container {
    position: relative;
    width: 190px;
    height: 190px;
    margin: 0 auto 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 1s ease-out, transform 1s ease-out;
    overflow: hidden;
    border-radius: 50%;
}
.monogram-container.visible {
    opacity: 1;
    transform: scale(1);
}

.monogram-image-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: 0;
    opacity: 0;
    filter: grayscale(20%) brightness(1.05);
    transform: scale(1.1);
}

.monogram-image-background.fade-in {
    opacity: 0.9;
    transition: opacity 1.2s ease-in-out;
}

.monogram-text {
    font-family: var(--font-tangerine);
    font-size: 3.0rem;
    line-height: 1;
    color: var(--color-brand-gold);
    text-shadow:
        0px 0px 5px rgba(255, 255, 255, 0.6),
        1px 1px 2px rgba(0, 0, 0, 0.15);
    opacity: 0;
    transform: scale(0.95);
    transition: opacity 0.8s ease-in-out, transform 0.8s ease-in-out;
    position: relative;
    z-index: 5;
    white-space: nowrap;
    display: inline-block;
}

.monogram-text.is-visible {
    opacity: 1;
    transform: scale(0.8);
}

.monogram-text.is-fading-out {
    opacity: 0;
    transform: scale(0.8);
    transition: opacity 0.8s ease-in-out, transform 0.8s ease-in-out;
}


@media (min-width: 768px) {
    .monogram-container {
        width: 210px;
        height: 210px;
    }
    .monogram-text {
        font-size: 3.5rem;
    }
}

.video-intro-overlay, .monogram-intro-overlay {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
    transition: opacity 0.5s ease-in-out;
}

.video-intro-overlay {
    background-color: #000;
}

.monogram-intro-overlay {
    background-color: var(--color-brand-cream);
    transition-duration: 1.2s;
}

.video-intro-overlay.fade-out, .monogram-intro-overlay.fade-out {
    opacity: 0;
}

.intro-video-element {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

@media (max-width: 400px) {
    .unmute-video-btn svg {
        width: 16px;
        height: 16px;
    }
}

.monogram-content {
    text-align: center;
    color: var(--color-brand-charcoal);
}

.monogram-border-outer {
    position: absolute;
    inset: 0;
    border: 2px solid var(--color-brand-gold-light);
    border-radius: 50%;
    opacity: 0.4;
}
.monogram-border-inner {
    position: absolute;
    inset: 0.25rem;
    border: 1px solid var(--color-brand-gold);
    border-radius: 50%;
    opacity: 0.7;
}
.monogram-flourish {
    position: absolute;
    width: 100%;
    height: 100%;
    transform: scale(0.9);
    opacity: 0.8;
}
.monogram-flourish.rotated {
    transform: scale(0.9) rotate(90deg);
}
.monogram-flourish-path {
    stroke: rgba(192, 168, 126, 0.7);
    stroke-width: 1.5;
    fill: none;
    stroke-dasharray: 100;
    stroke-dashoffset: 100;
    opacity: 0;
    animation-fill-mode: forwards;
}

.monogram-text.visible {
    opacity: 1;
}
.intro-title-container, .intro-line-container, .intro-subtitle-container {
    opacity: 0;
    transform: translateY(25px);
    transition: opacity 1.5s ease-out, transform 1.5s ease-out;
}
.intro-title-container.visible,
.intro-line-container.visible,
.intro-subtitle-container.visible {
    opacity: 1;
    transform: translateY(0);
}
.intro-title {
    font-family: var(--font-tangerine);
    font-size: 2.25rem;
}
.intro-line {
    height: 1.5px;
    background: linear-gradient(to right, transparent, var(--color-brand-gold), transparent);
    margin: 1.5rem auto;
    width: 0;
    opacity: 0;
    transition: width 1s ease-in-out, opacity 1s ease-in-out;
}
.intro-line.visible {
    width: 100px;
    opacity: 1;
}
.intro-subtitle {
    font-family: var(--font-montserrat);
    font-size: 1.125rem;
    letter-spacing: 0.05em;
}

@media (min-width: 768px) {
    .monogram-container {
        width: 190px;
        height: 190px;
        margin-bottom: 35px;
    }
    .monogram-text {
        font-size: 5rem;
    }
    .intro-title {
        font-size: 3rem;
    }
    .intro-line.visible {
        width: 120px;
        margin: 25px auto;
    }
}

@keyframes drawIn {
    to {
        stroke-dashoffset: 0;
        opacity: 1;
    }
}

.scroll-animate {
    opacity: 0;
    transition-property: opacity, transform;
    transition-timing-function: ease-in-out;
    transition-duration: 1000ms;
}

.scroll-animate.initial-opacity-0 { opacity: 0; }
.scroll-animate.initial-translate-y-30 { transform: translateY(30px); }
.scroll-animate.initial-translate-y-20 { transform: translateY(20px); }
.scroll-animate.initial-scale-90 { transform: scale(0.9); }
.scroll-animate.initial-scale-50 { transform: scale(0.5); }
.scroll-animate.initial-md-translate-x-50 { }

.scroll-animate.final-opacity-100 { opacity: 1; }
.scroll-animate.final-translate-y-0 { transform: translateY(0); }
.scroll-animate.final-translate-x-0 { transform: translateX(0); }
.scroll-animate.final-scale-100 { transform: scale(1); }

@media (min-width: 768px) {
    .scroll-animate.initial-md-translate-x-50.direction-left { transform: translateX(-50px); }
    .scroll-animate.initial-md-translate-x-50.direction-right { transform: translateX(50px); }
}

.app-content {
    text-align: center;
    font-family: var(--font-cormorant);
    color: var(--color-brand-charcoal);
    background-color: var(--color-brand-cream);
}

.navigation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    z-index: 50;
    transition: all 0.3s ease;
    padding-top: 1rem;
    padding-bottom: 1rem;
}
.navigation.scrolled {
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
}
.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.nav-logo {
    font-family: var(--font-playfair);
    font-size: 1.5rem;
    color: var(--color-brand-charcoal);
    text-decoration: none;
}
.nav-links-desktop {
    display: none;
}
@media (min-width: 768px) {
    .nav-links-desktop {
        display: flex;
        gap: 2rem;
    }
}
.nav-link {
    font-family: var(--font-montserrat);
    font-size: 0.875rem;
    letter-spacing: 0.05em;
    color: var(--color-brand-charcoal);
    text-decoration: none;
    transition: color 0.3s ease;
    position: relative;
    display: inline-block;
    padding-bottom: 2px;
}
.nav-link:hover, .nav-logo:hover, .nav-link:focus {
    color: var(--color-brand-gold);
}
.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 1px;
    background-color: var(--color-brand-gold);
    transition: width 0.3s ease-in-out;
}
.nav-link:hover::after, .nav-link:focus::after {
    width: 100%;
}
.mobile-menu-toggle {
    background: none;
    border: none;
    color: var(--color-brand-charcoal);
    padding: 0.25rem;
}
.mobile-menu-toggle .menu-icon {
    width: 1.5rem;
    height: 1.5rem;
}
@media (min-width: 768px) {
    .mobile-menu-toggle {
        display: none;
    }
}
.mobile-menu {
    background-color: var(--color-white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    padding: 1rem 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}
@media (min-width: 768px) {
    .mobile-menu {
        display: none !important;
    }
}

.hero-fallback-image {
    display: none;
}
@media (prefers-reduced-motion: reduce) {
    .hero-video { display: none !important; }
    .hero-fallback-image { display: block !important; }
}

.hero-content h1 {
    font-family: var(--font-tangerine);
    font-size: 4.5rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgb(176 176 176 / 70%);
    color: #fee5bf;
}
.hero-divider {
    width: 6rem;
    height: 2px;
    background-color: var(--color-white);
    margin: 0 auto 1.5rem;
    opacity: 0.8;
}
.hero-date {
    font-family: var(--font-montserrat);
    font-size: 1.125rem;
    letter-spacing: 0.1em;
    margin-bottom: 2rem;
    text-transform: uppercase;
    text-shadow: 2px 2px 4px rgb(176 176 176 / 70%);
}
.hero-subtitle {
    font-family: var(--font-playfair);
    font-size: 1.25rem;
    font-style: italic;
    margin-bottom: 2.5rem;
    text-shadow: 2px 2px 4px rgb(176 176 176 / 70%)
}
.hero-cta {
    margin-top: 3rem;
}
.hero-scroll-down {
    position: absolute;
    bottom: 2.5rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 20;
}
.hero-scroll-down a {
    color: var(--color-white);
    padding: 0.5rem;
    border-radius: 50%;
    transition: background-color 0.3s;
}
.hero-scroll-down a:hover {
    background-color: rgba(255,255,255,0.1);
}
.chevron-down-icon {
    width: 2rem;
    height: 2rem;
    animation: bounce 2s infinite;
}
@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {transform: translateY(0);}
    40% {transform: translateY(-10px);}
    60% {transform: translateY(-5px);}
}

@media (min-width: 768px) {
    .hero-content h1 { font-size: 6rem; }
    .hero-date { font-size: 1.25rem; }
    .hero-subtitle { font-size: 1.5rem; }
}

.schedule-section .container {
    max-width: 60rem;
    padding-left: 1rem;
    padding-right: 1rem;
}

.schedule-subtitle {
    font-family: var(--font-cormorant);
    font-size: 1.125rem;
    font-style: italic;
    margin-bottom: 3rem;
    color: var(--color-brand-charcoal-light);
}

.zigzag-timeline {
    position: relative;
    width: 100%;
    max-width: 700px;
    margin: 0 auto;
    padding: 20px 0;
}

.zigzag-timeline__item {
    position: relative;
    width: 100%;
    padding: 25px 0;
    box-sizing: border-box;
    border-bottom: 1px solid var(--color-brand-gold-light);
}

.zigzag-timeline__item:last-child {
    border-bottom: none;
}

.timeline-icon-container.zigzag-timeline__milestone {
    position: absolute;
    top: 50%;
    z-index: 3;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--color-brand-cream);
    border: 2px solid var(--color-brand-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 0 4px var(--color-brand-cream);
}
.timeline-icon-outer-ring, .timeline-icon-inner-ring {
    width: 100%; height: 100%; border-radius: 50%; display: flex; align-items: center; justify-content: center;
}
.timeline-icon {
    width: 1.5rem;
    height: 1.5rem;
    color: var(--color-brand-gold);
}


.zigzag-timeline__content {
    position: relative;
    background-color: var(--color-white);
    padding: 20px;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.07);
    border: 1px solid var(--color-brand-gold-light);
}

.zigzag-timeline__item:nth-child(even) {
    padding-left: calc(25px + 20px);
    border-left: 2px solid var(--color-brand-gold);
}
.zigzag-timeline__item:nth-child(even) .timeline-icon-container.zigzag-timeline__milestone {
    left: 0;
    transform: translate(-50%, -50%);
}
.zigzag-timeline__item:nth-child(even) .zigzag-timeline__content {
    text-align: left;
}

.zigzag-timeline__item:nth-child(odd) {
    padding-right: calc(25px + 20px);
    border-right: 2px solid var(--color-brand-gold);
}
.zigzag-timeline__item:nth-child(odd) .timeline-icon-container.zigzag-timeline__milestone {
    right: 0;
    transform: translate(50%, -50%);
}
.zigzag-timeline__item:nth-child(odd) .zigzag-timeline__content {
    text-align: left;
}

@media (max-width: 767px) {
    .zigzag-timeline {
        padding: 20px 10px;
        max-width: 100%;
    }

    .zigzag-timeline__item,
    .zigzag-timeline__item:nth-child(odd),
    .zigzag-timeline__item:nth-child(even) {
        width: 100%;
        padding: 15px 15px 15px 0;
        margin-left: 20px;
        border-left: 2px solid var(--color-brand-gold-light);
        border-right: none;
        border-bottom: 1px solid var(--color-brand-gold-light);
        text-align: left;
    }
    .zigzag-timeline__item:last-child {
        border-bottom: none;
    }

    .timeline-icon-container.zigzag-timeline__milestone,
    .zigzag-timeline__item:nth-child(odd) .timeline-icon-container.zigzag-timeline__milestone,
    .zigzag-timeline__item:nth-child(even) .timeline-icon-container.zigzag-timeline__milestone {
        width: 40px;
        height: 40px;
        left: -45px;
        left: 0;
        transform: translate(calc(-100% - 1px), -50%);
        left: -21px;
        top: 20px;
        transform: translateY(0);
    }

    .timeline-icon-container.zigzag-timeline__milestone {
        top: 15px;
        left: -21px;
        transform: translateY(0);
    }


    .timeline-icon-container.zigzag-timeline__milestone .timeline-icon {
        width: 1.25rem;
        height: 1.25rem;
    }

    .zigzag-timeline__content,
    .zigzag-timeline__item:nth-child(odd) .zigzag-timeline__content,
    .zigzag-timeline__item:nth-child(even) .zigzag-timeline__content {
        margin-left: 0;
        margin-right: 0;
        padding: 10px 15px;
        text-align: left;
    }

    .timeline-item-title {
        font-size: 1.15rem;
        margin-bottom: 0.3rem;
    }
    .timeline-item-time {
        font-size: 0.65rem;
        margin-bottom: 0.3rem;
    }
    .timeline-item-location {
        font-size: 0.75rem;
        margin-bottom: 0.5rem;
    }
    .timeline-item-description {
        font-size: 0.8rem;
    }
}

.timeline-item-title {
    font-family: var(--font-playfair);
    font-size: 1.35rem;
    margin-top: 0;
    margin-bottom: 0.5rem;
    color: var(--color-brand-charcoal);
}
.timeline-item-time {
    font-family: var(--font-montserrat);
    font-size: 0.7rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
    color: var(--color-brand-gold);
}
.timeline-item-location {
    font-family: var(--font-montserrat);
    font-size: 0.8rem;
    margin-bottom: 0.75rem;
    color: var(--color-brand-charcoal-light);
}
.timeline-item-description {
    font-size: 0.875rem;
    font-family: var(--font-cormorant);
    line-height: 1.6;
    color: var(--color-brand-charcoal-light);
    margin-bottom: 0;
}

@media (max-width: 767px) {
    .zigzag-timeline {
        padding: 20px 0;
    }
    .zigzag-timeline__item:nth-child(odd),
    .zigzag-timeline__item:nth-child(even) {
        padding-left: calc(25px + 15px);
        padding-right: 15px;
        border-left: 2px solid var(--color-brand-gold);
        border-right: none;
        text-align: left;
    }

    .timeline-icon-container.zigzag-timeline__milestone,
    .zigzag-timeline__item:nth-child(odd) .timeline-icon-container.zigzag-timeline__milestone,
    .zigzag-timeline__item:nth-child(even) .timeline-icon-container.zigzag-timeline__milestone {
        left: 0;
        transform: translate(-50%, -50%);
        top: 45px;
    }

    .zigzag-timeline__item:nth-child(odd) .zigzag-timeline__content,
    .zigzag-timeline__item:nth-child(even) .zigzag-timeline__content {
        text-align: left;
    }
    .zigzag-timeline__content {
        padding: 15px;
    }
    .timeline-item-title {
        font-size: 1.2rem;
    }
}

.invitation-section, .countdown-section, .schedule-section,
.story-section, .gallery-section, .venue-section, .rsvp-section {
    padding-top: 3rem;
    padding-bottom: 2rem;
    position: relative;
    overflow: hidden;
}
.schedule-section, .invitation-section, .rsvp-section {
    background-color: var(--color-brand-cream);
}
.countdown-section, .story-section, .venue-section {
    background-color: var(--color-white);
}


@media (min-width: 768px) {
    .invitation-section, .countdown-section, .schedule-section,
    .story-section, .gallery-section, .venue-section, .rsvp-section {
        padding-top: 4rem;
        padding-bottom: 4rem;
    }
}

.custom-frame {
    border: 1px solid rgba(192, 168, 126, 0.25);
    padding: 2px;
    background-clip: padding-box;
    box-shadow: 0 0 0 1px var(--color-brand-gold), 0 6px 20px rgba(0,0,0,0.08);
}
.custom-frame-inner {
    border: 1px solid rgba(192, 168, 126, 0.4);
    padding: 1.5rem;
}

.corner-flourish {
    position: absolute;
    width: 2.5rem;
    height: 2.5rem;
    color: var(--color-brand-gold);
    opacity: 0.5;
}
.corner-flourish.top-left { top: 0.75rem; left: 0.75rem; }
.corner-flourish.top-right { top: 0.75rem; right: 0.75rem; transform: rotate(90deg); }
.corner-flourish.bottom-left { bottom: 0.75rem; left: 0.75rem; transform: rotate(-90deg); }
.corner-flourish.bottom-right { bottom: 0.75rem; right: 0.75rem; transform: rotate(180deg); }

@media (min-width: 768px) {
    .invitation-box .corner-flourish {
        width: 3rem;
        height: 3rem;
        top: 0.75rem; left: 0.75rem;
    }
     .invitation-box .corner-flourish.top-right { right: 0.75rem; }
     .invitation-box .corner-flourish.bottom-left { bottom: 0.75rem; }
     .invitation-box .corner-flourish.bottom-right { bottom: 0.75rem; }
}

.botanical-svg {
    opacity: 1;
}
.botanical-svg path {
    stroke-dasharray: 150;
    stroke-dashoffset: 150;
}

.invitation-section {
    overflow: hidden;
}
.invitation-container .text-center {
    max-width: 48rem;
    margin-left: auto;
    margin-right: auto;
}
.botanical-bg-art {
    position: absolute;
    opacity: 0;
    color: rgba(209, 192, 162, 0.3);
    transition: opacity 2s ease;
}
.botanical-bg-art .botanical-svg {
    width: 160px;
    height: 240px;
}
.botanical-bg-art.botanical-bg-1 {
    top: -5rem;
    left: -6rem;
    transform: scale(2) rotate(-30deg);
}
.botanical-bg-art.botanical-bg-2 {
    bottom: -6rem;
    right: -4rem;
    transform: scale(1.8) rotate(150deg);
}
.invitation-box-wrapper .invitation-box {
    background-color: rgba(248, 246, 242, 0.8);
    backdrop-filter: blur(2px);
    position: relative;
    box-shadow: var(--shadow-gold-glow);
}
.invitation-box .custom-frame-inner {
    padding: 1.5rem;
}
@media (min-width: 640px) {
    .invitation-box .custom-frame-inner { padding: 2.5rem; }
}
@media (min-width: 768px) {
    .invitation-box .custom-frame-inner { padding: 3.5rem; }
    .invitation-box .corner-flourish { opacity: 0.6; }
}
.invitation-intro-text {
    font-family: var(--font-montserrat);
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    color: var(--color-brand-charcoal-light);
}
.invitation-name {
    font-family: var(--font-tangerine);
    font-size: 1.875rem;
    margin-bottom: 0.5rem;
    color: var(--color-brand-charcoal);
}
.invitation-ampersand {
    font-family: var(--font-tangerine);
    font-size: 3rem;
    color: var(--color-brand-gold);
    margin: 0.5rem 0;
}
.invitation-request-text {
    font-family: var(--font-montserrat);
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin-bottom: 2rem;
    color: var(--color-brand-charcoal-light);
}
.invitation-occasion {
    font-family: var(--font-playfair);
    font-size: 1.25rem;
    font-style: italic;
    color: var(--color-brand-charcoal);
}
.invitation-occasion:first-of-type { margin-bottom: 1rem; }
.invitation-occasion:last-of-type { margin-bottom: 1rem; }

.invitation-botanical-divider-wrapper {
    margin: 1.5rem auto;
}
.botanical-divider {
    margin: 0 auto;
    height: 3rem;
    color: var(--color-brand-gold);
    opacity: 0.4;
    transform: rotate(90deg) scale(0.75);
}
.invitation-date, .invitation-time, .invitation-venue-name, .invitation-venue-location, .invitation-reception {
    font-family: var(--font-montserrat);
    font-size: 0.875rem;
    letter-spacing: 0.05em;
    margin-bottom: 0.25rem;
}
.invitation-time { margin-bottom: 2rem; }
.invitation-venue-name { font-family: var(--font-playfair); font-size: 1.25rem; color: var(--color-brand-charcoal); }
.invitation-venue-location:last-of-type { margin-bottom: 2rem; }
.invitation-reception {
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--color-brand-charcoal-light);
}
.invitation-quote-wrapper {
    margin-top: 4rem;
}
.botanical-quote-art {
    margin: 0 auto 1.5rem;
    height: 4rem;
    color: var(--color-brand-gold);
    opacity: 0.6;
}
.invitation-quote {
    font-family: var(--font-cormorant);
    font-size: 1.25rem;
    font-style: italic;
    color: var(--color-brand-charcoal-light);
    line-height: 1.6;
}
.invitation-quote-author {
    font-family: var(--font-montserrat);
    font-size: 0.875rem;
    margin-top: 1rem;
    color: var(--color-brand-charcoal-light);
}
@media (min-width: 768px) {
    .invitation-name { font-size: 2.25rem; }
    .invitation-ampersand { font-size: 3.75rem; margin: 0.75rem 0;}
    .invitation-occasion { font-size: 1.5rem; }
    .invitation-botanical-divider-wrapper { margin: 0.5rem auto; }
}

.countdown-section .container {
    max-width: 56rem;
    text-align: center;
}
.countdown-title {
    font-family: var(--font-tangerine);
    margin-bottom: 2rem;
    color: var(--color-brand-gold);
    text-align: center;
    font-size: 3rem;
}

.countdown-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}
@media (min-width: 768px) {
    .countdown-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 1.5rem;
    }
}
.countdown-item {
    background-color: var(--countdown-off-white);
    border: 1px solid var(--color-brand-gold-light);
    border-radius: 8px;
    padding: 20px 15px;
    box-shadow:
        0 6px 18px rgba(209, 192, 162, 0.3),
        inset 0 0 10px rgba(230, 221, 203, 0.5);
    position: relative;
    overflow: visible;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.countdown-item:hover {
    transform: translateY(-3px);
    box-shadow:
        0 8px 22px rgba(209, 192, 162, 0.4),
        inset 0 0 12px rgba(230, 221, 203, 0.6);
}

.countdown-item::before, .countdown-item::after {
    content: '';
    position: absolute;
    border-style: solid;
    border-color: var(--countdown-cream);
    pointer-events: none;
    border-radius: inherit;
}
.countdown-item::before {
    top: -3px; left: -3px; right: -3px; bottom: -3px;
    border-width: 1px;
    opacity: 0.7;
}
.countdown-item::after {
    top: 3px; left: 3px; right: 3px; bottom: 3px;
    border-width: 2px;
    border-color: rgba(209, 192, 162, 0.4);
}

.countdown-item .corner-decoration {
    position: absolute;
    width: 10px;
    height: 10px;
    opacity: 0.6;
}
.countdown-item .corner-decoration::before,
.countdown-item .corner-decoration::after {
    content: '';
    position: absolute;
    background-color: var(--countdown-text-light);
}

.countdown-item .tl-corner::before { width: 100%; height: 1px; top: 0; left: 0; }
.countdown-item .tl-corner::after  { width: 1px; height: 100%; top: 0; left: 0; }

.countdown-item .tr-corner::before { width: 100%; height: 1px; top: 0; right: 0; }
.countdown-item .tr-corner::after  { width: 1px; height: 100%; top: 0; right: 0; }

.countdown-item .bl-corner::before { width: 100%; height: 1px; bottom: 0; left: 0; }
.countdown-item .bl-corner::after  { width: 1px; height: 100%; bottom: 0; left: 0; }

.countdown-item .br-corner::before { width: 100%; height: 1px; bottom: 0; right: 0; }
.countdown-item .br-corner::after  { width: 1px; height: 100%; bottom: 0; right: 0; }

.countdown-item .tl-corner { top: 5px; left: 5px; }
.countdown-item .tr-corner { top: 5px; right: 5px; }
.countdown-item .bl-corner { bottom: 5px; left: 5px; }
.countdown-item .br-corner { bottom: 5px; right: 5px; }

.countdown-value {
    font-family: 'Playfair Display', serif;
    font-size: 3.2em;
    font-weight: 600;
    color: var(--countdown-text-dark);
    line-height: 1.1;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.08);
    margin-bottom: 5px;
}
.countdown-label {
    font-family: 'Cormorant Garamond', serif;
    font-size: 0.95em;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    color: var(--countdown-text-light);
    margin-top: 8px;
    font-weight: 500;
}

.schedule-section .container {
    max-width: 64rem;
}
.schedule-grid {
    display: grid;
    gap: 2rem;
    position: relative;
}
@media (min-width: 768px) {
    .schedule-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 3rem;
    }
}
.schedule-line-container {
    display: none;
    position: absolute;
    top: 3rem;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    opacity: 0;
}
@media (min-width: 768px) {
    .schedule-line-container {
        display: block;
    }
}
.schedule-line-svg {
    height: 100%;
}
.schedule-line-path {
    stroke: #d1c0a2;
    stroke-width: 1.5;
    opacity: 0.7;
    stroke-dasharray: 300;
    stroke-dashoffset: 300;
}
.schedule-line-animated .schedule-line-path {
    animation: drawScheduleLine 1s ease-out 0.5s forwards;
}
@keyframes drawScheduleLine {
    to { stroke-dashoffset: 0; }
}
.schedule-item-wrapper {
    position: relative;
    z-index: 10;
}
.schedule-item {
    text-align: center;
    padding: 1rem;
}
@media (min-width: 768px) {
    .schedule-item { padding: 1.5rem; }
}
.schedule-icon-container {
    width: 7rem;
    height: 7rem;
    border-radius: 50%;
    background-color: var(--color-white);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    border: 2px solid var(--color-brand-gold-light);
    padding: 0.25rem;
    transition: box-shadow 0.3s ease;
}
.schedule-icon-container:hover {
    box-shadow: var(--shadow-gold-glow);
}
.schedule-icon-outer-ring {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 1px solid var(--color-brand-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(248, 246, 242, 0.5);
}
.schedule-icon {
    width: 2.5rem;
    height: 2.5rem;
    color: var(--color-brand-gold);
}
.schedule-item-title {
    font-family: var(--font-playfair);
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
    color: var(--color-brand-charcoal);
}
.schedule-item-time {
    font-family: var(--font-montserrat);
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
    color: var(--color-brand-gold);
}
.schedule-item-location {
    font-family: var(--font-montserrat);
    font-size: 0.875rem;
    margin-bottom: 1rem;
    color: var(--color-brand-charcoal-light);
}
.schedule-item-description {
    font-size: 0.875rem;
    font-family: var(--font-cormorant);
    line-height: 1.6;
    color: var(--color-brand-charcoal-light);
}
@media (min-width: 768px) {
     .schedule-item-title { font-size: 1.875rem; }
}

.story-section .container {
    max-width: 56rem;
}
.story-content {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}
.story-text-block {
    text-align: left;
    padding-bottom: 1rem;
}
@media (min-width: 768px) {
    .story-text-block { padding: 0; }
}
.story-subtitle {
    font-family: var(--font-playfair);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    text-align: center;
    color: var(--color-brand-charcoal);
}
@media (min-width: 768px) {
    .story-subtitle { font-size: 1.875rem; }
}
.story-text-block p {
    text-align: center;
    margin-bottom: 1rem;
    font-size: 0.875rem;
    font-family: var(--font-cormorant);
    line-height: 1.6;
    color: var(--color-brand-charcoal-light);
}
.story-parallax-container {
    height: 17.5rem;
    overflow: hidden;
    max-width: 32rem;
    margin-left: auto;
    margin-right: auto;
    border-color: var(--color-brand-gold-light);
}
@media (min-width: 768px) {
    .story-parallax-container {
        height: 31.25rem;
    }
}
.story-parallax-image {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center calc(50% - 0px);
    border-radius: 2px;
    transition: background-position 0.1s linear;
}
.story-image-caption {
    font-family: var(--font-montserrat);
    font-size: 0.75rem;
    text-align: center;
    margin-top: 0.75rem;
    color: var(--color-brand-charcoal-light);
}
.story-ornate-rule-wrapper {
    margin: 2rem 0;
}
.ornate-horizontal-rule {
    display: flex;
    align-items: center;
    justify-content: center;
}
.ornate-horizontal-rule .botanical-svg {
    height: 3rem;
    color: var(--color-brand-gold);
    opacity: 0.3;
    transform: scale(0.75) rotate(-45deg);
}
.ornate-horizontal-rule .botanical-svg.rotated {
    transform: scale(0.75) rotate(135deg);
}
.ornate-horizontal-rule .ornate-line {
    width: 6rem;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--color-brand-gold), transparent);
    margin: 0 0.5rem;
}

.lightbox {
    position: fixed;
    inset: 0;
    background-color: rgba(0,0,0,0.8);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    padding: 1rem;
}
.lightbox-content {
    position: relative;
    max-width: 48rem;
    max-height: 90vh;
    background-color: var(--color-white);
    padding: 0.5rem;
    box-shadow: 0 20px 25px -5px rgba(0,0,0,0.1), 0 10px 10px -5px rgba(0,0,0,0.04);
    border-radius: 0.5rem;
}
.lightbox-img {
    display: block;
    max-width: 100%;
    max-height: calc(90vh - 80px);
    object-fit: contain;
    border-radius: 0.25rem;
}
.lightbox-btn {
    position: absolute;
    color: var(--color-white);
    background-color: rgba(0,0,0,0.3);
    border: none;
    border-radius: 50%;
    padding: 0.5rem;
    transition: background-color 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}
.lightbox-btn:hover {
    background-color: rgba(0,0,0,0.6);
}
.lightbox-btn .icon {
    width: 1.5rem;
    height: 1.5rem;
}
.lightbox-close-btn {
    top: 0.75rem; right: 0.75rem;
}
.lightbox-prev-btn {
    left: 0.75rem; top: 50%; transform: translateY(-50%); padding: 0.75rem;
}
.lightbox-next-btn {
    right: 0.75rem; top: 50%; transform: translateY(-50%); padding: 0.75rem;
}

.venue-section .container {
    max-width: 56rem;
}
.venue-header {
    margin-bottom: 4rem;
}
.venue-details-grid {
    display: grid;
    gap: 3rem;
    align-items: center;
}
@media (min-width: 768px) {
    .venue-details-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
.venue-image-container {
    height: 20rem;
    overflow: hidden;
    box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05);
    border-color: var(--color-brand-gold-light);
}
@media (min-width: 768px) {
    .venue-image-container { height: 24rem; }
}
.venue-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 0.125rem;
}
.venue-text-wrapper {
    padding: 1rem 0;
}
@media (min-width: 768px) {
    .venue-text-wrapper { padding: 0; }
}
.venue-name {
    font-family: var(--font-playfair);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--color-brand-charcoal);
}
@media (min-width: 768px) {
    .venue-name { font-size: 1.875rem; }
}
.venue-description {
    margin-bottom: 1rem;
    font-size: 0.875rem;
    font-family: var(--font-cormorant);
    line-height: 1.6;
    color: var(--color-brand-charcoal-light);
}
.venue-description:last-of-type { margin-bottom: 1.5rem; }
.venue-contact-info {
    margin-bottom: 2rem;
}
.venue-contact-info p {
    font-family: var(--font-montserrat);
    font-size: 0.75rem;
    letter-spacing: 0.05em;
    margin-bottom: 0.25rem;
}
.venue-booking-wrapper {
    margin-top: 4rem;
}
.venue-booking-box {
    border-width: 2px;
    border-color: var(--color-brand-gold-light) !important;
    border-radius: 0.5rem;
    background-color: var(--color-brand-cream);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}
.venue-booking-box .custom-frame-inner {
    padding: 2rem;
    text-align: center;
}
@media (min-width: 768px) {
    .venue-booking-box .custom-frame-inner { padding: 3rem; }
}
.venue-booking-title {
    font-family: var(--font-playfair);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--color-brand-charcoal);
}
@media (min-width: 768px) {
     .venue-booking-title { font-size: 1.875rem; }
}
.venue-booking-text {
    margin-bottom: 2rem;
    font-size: 0.875rem;
    font-family: var(--font-cormorant);
    line-height: 1.6;
    color: var(--color-brand-charcoal-light);
}
.venue-booking-note {
    margin-top: 1.5rem;
    font-family: var(--font-montserrat);
    font-size: 0.75rem;
    color: var(--color-brand-charcoal-light);
}

.rsvp-section .container {
    max-width: 48rem;
}
.rsvp-subtitle {
    font-family: var(--font-cormorant);
    font-size: 1.125rem;
    font-style: italic;
    margin-bottom: 1.5rem;
    color: var(--color-brand-charcoal-light);
    overflow-wrap: break-word;
    word-wrap: break-word;
}
.rsvp-dress-code {
    font-family: var(--font-playfair);
    font-size: 1.25rem;
    font-style: italic;
    color: var(--color-brand-charcoal);
    margin-bottom: 3rem;
    border-top: 1px solid var(--color-brand-gold-light);
    border-bottom: 1px solid var(--color-brand-gold-light);
    padding-top: 1rem;
    padding-bottom: 1rem;
}
.rsvp-box {
    background-color: rgba(255,255,255,0.8);
    backdrop-filter: blur(2px);
    position: relative;
}
.rsvp-box .custom-frame-inner {
    padding: 1.25rem;
    text-align: left;
}
@media (min-width: 640px) {
    .rsvp-box .custom-frame-inner {
        padding: 2rem;
    }
}
@media (min-width: 768px) {
    .rsvp-box .custom-frame-inner {
        padding: 3rem;
    }
}

.rsvp-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}
.rsvp-message {
    padding: 0.75rem;
    border-radius: 0.125rem;
    font-size: 0.875rem;
    text-align: center;
    margin-bottom: 1rem;
    overflow-wrap: break-word;
    word-wrap: break-word;
}
.rsvp-error-message {
    color: var(--color-red-error);
    background-color: var(--color-red-error-bg);
    border: 1px solid var(--color-red-error-border);
}
.form-grid {
    display: grid;
    gap: 1rem;
}
@media (min-width: 768px) {
    .form-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

.form-label {
    text-align: center;
    font-family: var(---font-bpg-ucnobi);
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    display: block;
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
    color: var(--color-brand-charcoal-light);
    overflow-wrap: break-word;
    word-wrap: break-word;
}
.form-input, .form-select, .form-textarea {
    width: 100%;
    border: 1px solid rgba(192, 168, 126, 0.4);
    padding: 0.75rem;
    border-radius: 0.125rem;
    font-family: var(--font-montserrat);
    font-size: 0.875rem;
    background-color: rgba(248, 246, 242, 0.5);
    box-sizing: border-box;
}
.form-input::placeholder, .form-textarea::placeholder {
    color: rgba(51,51,51,0.5);
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
    outline: none;
    border-color: var(--color-brand-gold);
    box-shadow: 0 0 0 1px var(--color-brand-gold);
}
.form-select {
    background-color: var(--color-white);
    color: #3A3A3A;
}
.form-textarea {
    min-height: auto;
    resize: vertical;
}

.form-legend {
    text-align: center;
    font-family: var(---font-bpg-ucnobi);
    font-size: 1rem;
    color: var(--color-brand-charcoal);
    margin-bottom: 0.75rem;
    padding-top: 0.5rem;
    line-height: 1.4;
    overflow-wrap: break-word;
    word-wrap: break-word;
    font-weight: 600;
}

.checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    margin-top: 0.5rem;
    padding-left: 5px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-family: var(--font-bpg-extrasquare);
    font-size: 0.875rem;
    color: var(--color-brand-charcoal);
    transition: color 0.3s;
    line-height: 1.5;
}

.checkbox-label:hover {
    color: var(--color-brand-gold);
}

.form-checkbox {
    margin-right: 0.75rem;
    width: 1rem;
    height: 1rem;
    accent-color: var(--color-brand-gold);
    flex-shrink: 0;
    cursor: pointer;
    position: relative;
    top: -1px;
}

#eventSelectionFieldset {
    border-top: 1px dashed var(--color-brand-gold-light);
    padding-top: 0.2rem;
    margin-top: 1.5rem;
    margin-bottom: 1rem;
}

p.form-hint {
    text-align: center;
    font-size: 0.7rem;
    margin-top: 0.5rem;
    color: var(--color-brand-charcoal-light);
}

#tsinandaliBookingContainer p {
    text-align: center;
    overflow-wrap: break-word;
    word-wrap: break-word;
    line-height: 1.5;
    font-size: 0.875rem;
    color: var(--color-brand-charcoal-light);
}

.radio-group {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 0.25rem;
}
@media (min-width: 640px) {
    .radio-group {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 1.5rem;
    }
}
.radio-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-family: var(--font-bpg-extrasquare);
    font-size: 0.875rem;
    color: var(--color-brand-charcoal);
    transition: color 0.3s;
    overflow-wrap: break-word;
    word-wrap: break-word;
    line-height: 1.4;
}
.radio-label:hover {
    color: var(--color-brand-gold);
}
.form-radio {
    margin-right: 0.5rem;
    width: 1rem; height: 1rem;
    accent-color: var(--color-brand-gold);
    flex-shrink: 0;
}
#guestDetails {
    padding-top: 0.5rem;
    transition: opacity 0.5s ease-in-out, max-height 0.5s ease-in-out;
    opacity: 1;
    max-height: 20rem;
    overflow: hidden;
}
#guestDetails.hidden {
    opacity: 0;
    max-height: 0;
    padding-top: 0;
    margin-bottom: -1.5rem;
}
.form-submit-group {
    text-align: center;
    padding-top: 1rem;
}
.form-submit-group button[disabled] {
    opacity: 0.7;
    cursor: not-allowed;
}

fieldset#accommodationFieldset {
    margin-bottom: 2rem;
}

.rsvp-success-container .custom-frame-inner {
    text-align: center;
}
.rsvp-message-title {
    font-family: var(--font-tangerine);
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--color-brand-gold);
    overflow-wrap: break-word;
    word-wrap: break-word;
}
@media (min-width: 768px) {
    .rsvp-message-title { font-size: 3.75rem; }
}

#rsvp-success-greeting {
    font-family: var(--font-playfair);
    font-size: 1.125rem;
    margin-bottom: 1rem;
    color: var(--color-brand-charcoal);
    overflow-wrap: break-word;
    word-wrap: break-word;
}
@media (min-width: 768px) {
    #rsvp-success-greeting { font-size: 1.5rem; }
}

#rsvp-success-attendance,
#rsvp-success-email-status,
#bookingLinkSuccessContainer p {
    font-family: var(--font-montserrat);
    font-size: 0.875rem;
    color: var(--color-brand-charcoal-light);
    margin-bottom: 0.75rem;
    line-height: 1.6;
    overflow-wrap: break-word;
    word-wrap: break-word;
}
#rsvp-success-email-status { margin-top: 0.75rem; }

.footer-section {
    padding-top: 4rem;
    padding-bottom: 4rem;
    background-color: #EBE2D4;
    color: #d1d5db;
}
.footer-section .container {
    max-width: 42rem;
}
.footer-section h2 {
    font-family: var(--font-tangerine);
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #3A3A3A;
}
@media (min-width: 768px) {
    .footer-section h2 { font-size: 3.75rem; }
}
.footer-date {
    font-family: var(--font-montserrat);
    font-size: 0.875rem;
    letter-spacing: 0.1em;
    margin-bottom: 2rem;
    color: #3A3A3A;
    text-transform: uppercase;
}
.footer-ornate-rule-wrapper {
    margin: 2rem auto;
}
.ornate-footer-rule {
    display: flex;
    align-items: center;
    justify-content: center;
}
.ornate-footer-rule .botanical-svg {
    height: 2.5rem;
    color: var(--color-brand-gold);
    opacity: 0.4;
    transform: scale(0.5) rotate(-30deg);
}
.ornate-footer-rule .botanical-svg.rotated {
    transform: scale(0.5) rotate(210deg);
}
.ornate-footer-rule .ornate-line {
    width: 5rem;
    height: 1px;
    background-color: var(--color-brand-gold);
    opacity: 0.6;
    margin: 0 0.5rem;
}
.footer-inquiry-text {
    font-family: var(--font-cormorant);
    font-size: 1.25rem;
    margin-bottom: 1.25rem;
    color: #232323;
}
.footer-email {
    font-family: var(--font-montserrat);
    font-size: 0.875rem;
    margin-bottom: 2.5rem;
}
.footer-email a {
    color: #3A3A3A;
    letter-spacing: 0.05em;
}
.footer-email a:hover {
    color: var(--color-white);
}
.footer-copyright {
    font-family: var(--font-montserrat);
    font-size: 0.75rem;
    color: #3A3A3A;
}

.intro-video-element.paused {
    filter: blur(5px) brightness(0.8);
    transform: scale(1.05);
    transition: filter 0.8s ease, transform 0.8s ease;
}

.invitation-start-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 20;
    background-color: rgba(0, 0, 0, 0.2);
    background-image: url('https://natali-miriani-wedding.com/Visuals/777.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 1;
    transition: opacity 0.5s ease-in-out;
}

.invitation-start-container.hidden {
    opacity: 0;
    pointer-events: none;
}

.start-invitation-btn {
    font-family: 'Playfair Display', serif;
    font-size: 1.15rem;
    color: var(--color-brand-gold-dark);
    background-color: transparent;
    border: 2px solid #000000;
    padding: 0.9rem 2rem;
    border-radius: 2px;
    cursor: pointer;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    max-width: 90%;
    text-align: center;
}

.start-invitation-btn:hover {
    background-color: rgba(255, 255, 255, 0.9);
    color: var(--color-brand-charcoal);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

@media (min-width: 768px) {
    .start-invitation-btn {
        font-size: 1.5rem;
        padding: 1rem 2.5rem;
    }
}

.footer-contact-icons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.25rem;
    margin-bottom: 1.5rem;
}

.contact-icon-link {
    display: inline-block;
    color: var(--color-brand-charcoal);
}

.contact-icon-svg {
    width: 2.5rem;
    height: 2.5rem;
    fill: currentColor;
    transition: color 0.3s ease, transform 0.3s ease;
}

.contact-icon-link:hover .contact-icon-svg {
    color: var(--color-brand-gold-dark);
    transform: scale(1.15);
}

/* Responsive Footer Icons */
@media (max-width: 767px) {
    .footer-contact-icons {
        gap: 1rem; /* Reduces space between icons from 1.25rem */
    }

    .contact-icon-svg {
        width: 2rem;  /* Reduces icon size from 2.5rem */
        height: 2rem; /* Reduces icon size from 2.5rem */
    }
}
.skip-intro-btn {
    position: absolute;
    bottom: 30px;
    right: 30px;
    z-index: 30;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.8rem;
    color: #ffffff;
    background-color: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.5);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    cursor: pointer;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    transition: all 0.3s ease;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.skip-intro-btn.visible {
    opacity: 1;
    visibility: visible;
}

.skip-intro-btn:hover {
    background-color: rgba(0, 0, 0, 0.7);
    border-color: #ffffff;
}

/* Responsive adjustment for smaller screens */
@media (max-width: 768px) {
    .skip-intro-btn {
        bottom: 20px;
        right: 20px;
        font-size: 0.75rem;
        padding: 0.4rem 0.8rem;
    }
}