/* ============================================
   Parisian Wedding Invitation — styles.css
   ============================================ */

:root {
    --cream: #FAF8F5;
    --cream-deep: #F3EDE3;
    --blush: #FADADD;
    --blush-deep: #E8B4B8;
    --french-blue: #A8B8CE;
    --french-blue-deep: #6B7E9E;
    --charcoal: #2C3539;
    --charcoal-soft: #5a6469;
    --gold: #c5a880;
}

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
    background-color: #1a1a1a;
    color: var(--charcoal);
    font-family: 'Cormorant Garamond', Georgia, serif;
    overflow-x: hidden;
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
}

/* Paper noise overlay over the entire body */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 9998;
    opacity: 0.06;
    mix-blend-mode: multiply;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.6 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}

.app-container {
    max-width: 480px;
    margin: 0 auto;
    background-color: var(--cream);
    min-height: 100vh;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.6);
    position: relative;
    overflow: hidden;
}

/* ============================================
   Typography
   ============================================ */
h1, h2, h3, .serif {
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 400;
    color: var(--charcoal);
    margin: 0;
}

.script {
    font-family: 'Pinyon Script', cursive;
    font-weight: 400;
    color: var(--charcoal);
}

.serif-caps {
    font-family: 'Playfair Display', Georgia, serif;
    text-transform: uppercase;
    letter-spacing: 0.22em;
    font-size: 1.6rem;
    font-weight: 400;
}

.eyebrow {
    font-family: 'Playfair Display', Georgia, serif;
    text-transform: uppercase;
    letter-spacing: 0.4em;
    font-size: 0.7rem;
    color: var(--french-blue-deep);
    margin: 0 0 12px;
    font-style: italic;
}

.ornament {
    margin: 12px auto 22px;
    text-align: center;
}

.ornament img {
    width: 44px;
    height: auto;
    display: block;
    margin: 0 auto;
    mix-blend-mode: multiply;
    opacity: 0.82;
}

.scroll-divider {
    width: 100%;
    overflow: hidden;
    line-height: 0;
    padding: 0;
}

.scroll-divider img {
    width: 100%;
    height: auto;
    display: block;
    mix-blend-mode: multiply;
    opacity: 0.72;
}

.lead {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--charcoal-soft);
    max-width: 360px;
    margin: 0 auto 18px;
    font-style: italic;
}

/* ============================================
   Section A — Envelope Intro Overlay
   ============================================ */
#envelope-overlay {
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    z-index: 9999;
    background-color: #f5f0e8;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: opacity 1s ease;
}

#envelope-overlay.fade-out {
    opacity: 0;
    pointer-events: none;
}

/* Static envelope image — shown while awaiting tap */
.envelope-still {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
    transition: opacity 0.5s ease;
    background-color: #f5f0e8;
}

.envelope-still img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center center;
    display: block;
}

#envelope-overlay:not(.awaiting-tap) .envelope-still {
    opacity: 0;
    pointer-events: none;
}

/* Video — hidden until tapped, scales identically to the still image */
#envelope-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center center;
    background-color: #f5f0e8;
    z-index: 2;
    opacity: 0;
    transition: opacity 0.3s ease;
}

#envelope-overlay:not(.awaiting-tap) #envelope-video {
    opacity: 1;
}

/* Prompt overlay — plain container; children are individually positioned */
.envelope-prompt {
    position: absolute;
    inset: 0;
    z-index: 3;
    pointer-events: none;
    transition: opacity 0.5s ease;
}

#envelope-overlay:not(.awaiting-tap) .envelope-prompt {
    opacity: 0;
    pointer-events: none;
}

/* Names block — floats in the upper sky area */
.envelope-names {
    position: absolute;
    top: 6vh;
    left: 0;
    right: 0;
    text-align: center;
    padding: 0 24px;
}

.envelope-names-eyebrow {
    font-family: 'Playfair Display', serif;
    text-transform: uppercase;
    letter-spacing: 0.4em;
    font-size: 0.62rem;
    color: var(--charcoal);
    margin: 0 0 6px;
    font-style: italic;
}

.envelope-names-title {
    font-size: 3.6rem;
    line-height: 1;
    margin: 0 0 10px;
    color: var(--charcoal);
    text-shadow: none;
}

.envelope-names-date {
    font-family: 'Playfair Display', serif;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    font-size: 0.7rem;
    color: var(--charcoal);
    margin: 0;
}

/* Tap button — dead center */
.envelope-prompt-cta {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    white-space: nowrap;
    color: var(--charcoal);
    font-family: 'Playfair Display', serif;
    text-transform: uppercase;
    letter-spacing: 0.22em;
    font-size: 0.78rem;
    padding: 14px 28px;
    border: 1px solid rgba(44, 53, 57, 0.55);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.55);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    pointer-events: auto;
    animation: tapPulse 2.2s ease-in-out infinite;
}

.envelope-prompt-cta i {
    margin-right: 8px;
}

@keyframes tapPulse {
    0%, 100% { transform: translate(-50%, -50%) scale(1); box-shadow: 0 0 0 0 rgba(44, 53, 57, 0.2); }
    50% { transform: translate(-50%, -50%) scale(1.04); box-shadow: 0 0 0 14px rgba(44, 53, 57, 0); }
}

/* ============================================
   Section B — Hero (Day-to-Night Video)
   ============================================ */
.hero {
    position: relative;
    height: 100vh;
    min-height: 560px;
    width: 100%;
    overflow: hidden;
    background-color: #FAF8F5;
}

#hero-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.hero-vignette {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    background: linear-gradient(to bottom,
        rgba(255, 255, 255, 0.15) 0%,
        transparent 35%,
        transparent 55%,
        rgba(0, 0, 0, 0.45) 100%);
}

.hero-content {
    position: absolute;
    inset: 0;
    z-index: 3;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    text-align: center;
    padding: 7vh 30px 0;
    pointer-events: none;
}

.hero-eyebrow {
    font-family: 'Playfair Display', serif;
    text-transform: uppercase;
    letter-spacing: 0.35em;
    font-size: 0.65rem;
    margin: 0 0 14px;
    font-style: italic;
    color: var(--charcoal);
    transition: color 1.8s ease, text-shadow 1.8s ease;
}

.hero[data-mode="night"] .hero-eyebrow {
    color: rgba(255,255,255,0.9);
    text-shadow: 0 1px 10px rgba(0,0,0,0.5);
}

.hero-content h1 {
    font-family: 'Pinyon Script', cursive;
    font-size: 4.4rem;
    line-height: 1;
    margin: 0;
    color: var(--charcoal);
    transition: color 1.8s ease, text-shadow 1.8s ease;
}

.hero[data-mode="night"] .hero-content h1 {
    color: white;
    text-shadow: 0 2px 14px rgba(0,0,0,0.6);
}

.hero-divider {
    width: 80px;
    height: 1px;
    background: rgba(44,53,57,0.4);
    margin: 18px auto;
    position: relative;
    transition: background 1.8s ease;
}

.hero[data-mode="night"] .hero-divider {
    background: rgba(255,255,255,0.6);
}

.hero-divider span {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: transparent;
    font-size: 0.7rem;
    padding: 0 8px;
    color: var(--charcoal);
    transition: color 1.8s ease;
}

.hero[data-mode="night"] .hero-divider span {
    color: white;
}

.hero-date {
    font-family: 'Playfair Display', serif;
    text-transform: uppercase;
    letter-spacing: 0.35em;
    font-size: 0.85rem;
    margin: 0;
    color: var(--charcoal);
    transition: color 1.8s ease, text-shadow 1.8s ease;
}

.hero[data-mode="night"] .hero-date {
    color: rgba(255,255,255,0.9);
    text-shadow: 0 1px 10px rgba(0,0,0,0.5);
}

/* ---- Day/Night toggle button ---- */
.day-night-toggle {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 4;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.65);
    background: rgba(0, 0, 0, 0.28);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    color: white;
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease, background 0.3s ease;
}

.day-night-toggle:hover {
    transform: scale(1.1);
    background: rgba(0, 0, 0, 0.45);
}

.day-night-toggle:disabled {
    opacity: 0.5;
    cursor: wait;
}

.scroll-hint {
    position: absolute;
    bottom: 6vh;
    left: 0;
    right: 0;
    text-align: center;
    font-family: 'Playfair Display', serif;
    font-size: 0.65rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    z-index: 4;
    pointer-events: none;
    color: rgba(255, 255, 255, 0.75);
}

.scroll-hint::after {
    content: '';
    display: block;
    width: 1px;
    height: 28px;
    background: currentColor;
    opacity: 0.55;
    margin: 10px auto 0;
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
    0%, 100% { opacity: 0.3; transform: scaleY(0.7); }
    50% { opacity: 1; transform: scaleY(1); }
}

/* ============================================
   Global Section
   ============================================ */
.section {
    position: relative;
    padding: 80px 30px;
    text-align: center;
}

/* ============================================
   Section C — Welcome & Carousel
   ============================================ */
.welcome-section {
    padding-bottom: 30px;
}

.signature {
    margin-top: 28px;
    font-size: 0.85rem;
    color: var(--charcoal-soft);
    letter-spacing: 0.15em;
    text-transform: uppercase;
    font-family: 'Playfair Display', serif;
}

.signature .script {
    display: block;
    margin-top: 8px;
    font-size: 2.2rem;
    text-transform: none;
    letter-spacing: 0;
}

.music-player {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 9999;
    width: 50px;
    height: 50px;
    border: 1px solid var(--charcoal);
    border-radius: 50%;
    background: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    color: var(--charcoal);
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.music-player:hover {
    background-color: var(--blush);
    border-color: var(--blush-deep);
    transform: scale(1.05);
}

/* Carousel */
.carousel {
    width: 100%;
    overflow: hidden;
    padding: 30px 0 60px;
    -webkit-mask-image: linear-gradient(to right, transparent 0, black 6%, black 94%, transparent 100%);
    mask-image: linear-gradient(to right, transparent 0, black 6%, black 94%, transparent 100%);
}

.carousel-track {
    display: flex;
    gap: 18px;
    width: max-content;
    animation: marquee 40s linear infinite;
}

.carousel:hover .carousel-track,
.carousel:active .carousel-track {
    animation-play-state: paused;
}

.carousel-track img {
    height: 280px;
    width: auto;
    object-fit: cover;
    border-radius: 4px;
    border: 4px solid white;
    outline: 1px solid var(--french-blue);
    outline-offset: 2px;
    box-shadow: 0 6px 22px rgba(108, 126, 158, 0.18);
    flex-shrink: 0;
}

@keyframes marquee {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

/* ============================================
   Section D — Countdown
   ============================================ */
.countdown-section {
    background-color: var(--cream-deep);
    overflow: hidden;
}

.lamp {
    position: absolute;
    top: 30px;
    width: 60px;
    opacity: 0.55;
    pointer-events: none;
    z-index: 0;
    mix-blend-mode: multiply;
}

.lamp-left {
    left: 8px;
}

.lamp-right {
    right: 8px;
    transform: scaleX(-1);
}

.countdown-section .eyebrow,
.countdown-section .serif-caps,
.countdown-section .ornament,
.countdown-section .countdown-box,
.countdown-section .wedding-date {
    position: relative;
    z-index: 2;
}

.countdown-box {
    margin: 30px auto;
    max-width: 360px;
    padding: 24px 18px;
    background: var(--cream);
    border: 1px solid var(--french-blue);
    outline: 1px solid var(--french-blue);
    outline-offset: 4px;
    position: relative;
}

.countdown-box::before,
.countdown-box::after {
    content: '✦';
    position: absolute;
    color: var(--blush-deep);
    font-size: 0.8rem;
    background: var(--cream-deep);
    padding: 0 6px;
}

.countdown-box::before {
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
}

.countdown-box::after {
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
}

.countdown {
    display: flex;
    justify-content: space-between;
    gap: 8px;
}

.time-box {
    text-align: center;
    flex: 1;
}

.time-box span {
    display: block;
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    color: var(--french-blue-deep);
}

.time-box p {
    font-family: 'Playfair Display', serif;
    font-size: 0.55rem;
    margin: 6px 0 0;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--charcoal-soft);
}

.wedding-date {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    letter-spacing: 0.3em;
    margin: 22px 0 0;
    color: var(--charcoal);
}

/* ============================================
   Section E — Venue
   ============================================ */
.venue-photo {
    width: 100%;
    max-height: 320px;
    object-fit: cover;
    border-radius: 4px;
    margin: 24px 0 22px;
    border: 4px solid white;
    outline: 1px solid var(--french-blue);
    outline-offset: 2px;
    box-shadow: 0 6px 22px rgba(108, 126, 158, 0.18);
}

.venue-name {
    font-size: 2.4rem;
    margin: 6px 0 14px;
}

.venue-address {
    font-family: 'Playfair Display', serif;
    font-size: 0.85rem;
    line-height: 1.9;
    color: var(--charcoal-soft);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin: 0 0 24px;
}

.btn-row {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: center;
    margin-top: 8px;
}

.btn-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 28px;
    background: var(--blush-deep);
    color: white;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-size: 0.7rem;
    font-family: 'Playfair Display', serif;
    border-radius: 999px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 14px rgba(232, 180, 184, 0.4);
    min-width: 240px;
}

.btn-pill:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(232, 180, 184, 0.55);
}

.btn-pill-outline {
    background: transparent;
    color: var(--french-blue-deep);
    border: 1px solid var(--french-blue);
    box-shadow: none;
}

.btn-pill-outline:hover {
    background: var(--french-blue);
    color: white;
}

/* ============================================
   Section F — Timeline
   ============================================ */
.timeline-section {
    background-color: var(--cream-deep);
    overflow: hidden;
}

.balcony-watermark {
    position: absolute;
    right: -40px;
    bottom: 0;
    width: 280px;
    opacity: 0.18;
    pointer-events: none;
    z-index: 0;
}

.timeline-section .eyebrow,
.timeline-section .serif-caps,
.timeline-section .ornament,
.timeline-section .timeline {
    position: relative;
    z-index: 2;
}

.timeline {
    list-style: none;
    padding: 0;
    margin: 30px auto 0;
    max-width: 360px;
    text-align: left;
    position: relative;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 28px;
    top: 8px;
    bottom: 8px;
    border-left: 2px dotted var(--french-blue);
}

.timeline li {
    position: relative;
    padding: 0 0 28px 60px;
}

.timeline li::before {
    content: '';
    position: absolute;
    left: 22px;
    top: 6px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--blush);
    border: 2px solid var(--french-blue-deep);
    z-index: 1;
}

.timeline .time {
    display: block;
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--french-blue-deep);
    margin-bottom: 4px;
}

.timeline h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.15rem;
    margin: 0 0 4px;
    color: var(--charcoal);
}

.timeline p {
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    font-size: 0.95rem;
    margin: 0;
    color: var(--charcoal-soft);
    line-height: 1.5;
}

/* ============================================
   Section G — Accordions
   ============================================ */
.accordion {
    margin: 14px auto;
    max-width: 400px;
    text-align: left;
    background: var(--cream);
    border: 1px solid var(--french-blue);
    border-radius: 4px;
    overflow: hidden;
}

.accordion summary {
    list-style: none;
    cursor: pointer;
    padding: 16px 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-family: 'Playfair Display', serif;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-size: 0.75rem;
    color: var(--charcoal);
    transition: background 0.3s ease;
}

.accordion summary::-webkit-details-marker {
    display: none;
}

.accordion summary span {
    display: flex;
    align-items: center;
    gap: 12px;
}

.accordion summary span i {
    color: var(--french-blue-deep);
    font-size: 0.95rem;
}

.accordion summary:hover {
    background: var(--cream-deep);
}

.chev {
    color: var(--french-blue-deep);
    font-size: 0.7rem;
    transition: transform 0.4s ease;
}

.accordion[open] .chev {
    transform: rotate(180deg);
}

.accordion-body {
    padding: 0 18px 18px;
    font-family: 'Cormorant Garamond', serif;
    font-size: 1rem;
    line-height: 1.7;
    color: var(--charcoal-soft);
    font-style: italic;
}

.accordion-body p {
    margin: 0;
}

/* Smooth open/close */
.accordion-body {
    overflow: hidden;
    max-height: 0;
    padding-top: 0;
    padding-bottom: 0;
    transition: max-height 0.45s ease, padding 0.45s ease;
}

.accordion[open] .accordion-body {
    max-height: 600px;
    padding-top: 4px;
    padding-bottom: 18px;
}

/* ============================================
   Section H — RSVP
   ============================================ */
.oval-frame {
    margin: 30px auto 40px;
    max-width: 380px;
    padding: 50px 32px;
    background: var(--cream);
    border: 1px solid var(--french-blue);
    border-radius: 50% / 14%;
    position: relative;
}

.oval-frame::before {
    content: '';
    position: absolute;
    inset: 6px;
    border: 1px solid var(--blush);
    border-radius: 50% / 14%;
    pointer-events: none;
}

#rsvp-form {
    text-align: left;
    position: relative;
    z-index: 2;
}

.form-group {
    margin-bottom: 22px;
}

.form-label {
    display: block;
    font-family: 'Playfair Display', serif;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--charcoal-soft);
    margin-bottom: 10px;
}

#rsvp-form input[type="text"],
#rsvp-form textarea,
#rsvp-form select {
    width: 100%;
    padding: 10px 4px;
    border: none;
    border-bottom: 1px solid var(--french-blue);
    font-family: 'Cormorant Garamond', serif;
    font-size: 1rem;
    background: transparent;
    color: var(--charcoal);
    transition: border-color 0.3s ease;
    box-sizing: border-box;
    -webkit-appearance: none;
    border-radius: 0;
}

#rsvp-form input[type="text"]::placeholder,
#rsvp-form textarea::placeholder {
    color: var(--charcoal-soft);
    font-style: italic;
    opacity: 0.7;
}

#rsvp-form input[type="text"]:focus,
#rsvp-form textarea:focus,
#rsvp-form select:focus {
    outline: none;
    border-bottom-color: var(--french-blue-deep);
    border-bottom-width: 2px;
}

#rsvp-form textarea {
    resize: vertical;
    min-height: 70px;
}

.radio-group {
    display: flex;
    gap: 10px;
}

.radio-option {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 12px;
    border: 1px solid var(--french-blue);
    border-radius: 999px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Playfair Display', serif;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--charcoal-soft);
}

.radio-option:has(input:checked) {
    border-color: var(--blush-deep);
    background: var(--blush);
    color: var(--charcoal);
}

.radio-option input[type="radio"] {
    display: none;
}

#companions-group {
    display: none;
}

.btn-submit {
    display: block;
    width: 100%;
    margin-top: 8px;
}

.btn-submit:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

#rsvp-success {
    text-align: center;
}

#rsvp-success h3 {
    font-size: 2.4rem;
    margin: 0 0 10px;
}

#rsvp-success p {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1rem;
    color: var(--charcoal-soft);
    font-style: italic;
    margin: 0;
}

/* ============================================
   Footer
   ============================================ */
.footer-block {
    margin-top: 30px;
}

.footer-thanks {
    font-size: 2.6rem;
    margin: 0 0 24px;
    color: var(--french-blue-deep);
}

.footer-logo {
    text-align: center;
    margin-bottom: 16px;
}

.footer-logo img {
    width: 150px;
    opacity: 0.7;
}

.footer-icons {
    display: flex;
    justify-content: center;
    gap: 18px;
}

.icon-circle {
    width: 42px;
    height: 42px;
    border: 1px solid var(--french-blue);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--french-blue-deep);
    text-decoration: none;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.icon-circle:hover {
    background: var(--french-blue);
    color: white;
}

/* ============================================
   Scroll-triggered fade-in
   ============================================ */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.9s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                transform 0.9s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    .fade-in {
        opacity: 1;
        transform: none;
        transition: none;
    }
    .carousel-track {
        animation: none;
    }
}

/* ===== Language Switcher ===== */
.lang-switcher {
    position: fixed;
    top: 12px;
    left: 12px;
    z-index: 10001;
    display: flex;
    background: rgba(250, 248, 245, 0.95);
    border-radius: 20px;
    padding: 3px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.lang-btn {
    border: none;
    background: transparent;
    padding: 5px 9px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.5px;
    color: var(--charcoal-soft);
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: 'Cormorant Garamond', Georgia, serif;
    line-height: 1;
}

.lang-btn.active {
    background: var(--charcoal);
    color: var(--cream);
}

/* ============================================
   Menu Section
   ============================================ */
.menu-section {
    background-color: var(--cream);
}

.menu-list {
    margin-top: 32px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.menu-card {
    overflow: hidden;
    border: 1px solid rgba(197, 168, 128, 0.4);
    background: var(--cream-deep);
}

.menu-card-img {
    width: 100%;
    height: 190px;
    object-fit: cover;
    display: block;
}

.menu-card-body {
    padding: 16px 18px;
    border-top: 2px solid var(--gold);
    position: relative;
}

.menu-card-body::before {
    content: '✦';
    position: absolute;
    top: -0.62em;
    left: 50%;
    transform: translateX(-50%);
    color: var(--gold);
    background: var(--cream-deep);
    padding: 0 8px;
    font-size: 0.65rem;
}

.menu-card-name {
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    font-size: 1.05rem;
    line-height: 1.55;
    margin: 0;
    color: var(--charcoal);
    text-align: center;
}

/* ============================================
   Performers Section
   ============================================ */
.performers-section {
    background-color: var(--cream);
}

.performer-list {
    margin-top: 32px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.performer-card {
    padding: 24px 16px 20px;
    background: var(--cream-deep);
    border: 1px solid rgba(197, 168, 128, 0.45);
    border-top: 2px solid var(--gold);
    position: relative;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.performer-card::before {
    content: '✦';
    position: absolute;
    top: -0.65em;
    left: 50%;
    transform: translateX(-50%);
    color: var(--gold);
    background: var(--cream-deep);
    padding: 0 8px;
    font-size: 0.7rem;
}

.performer-photo {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    object-position: top;
    border: 2px solid var(--gold);
    margin-bottom: 12px;
    box-shadow: 0 4px 14px rgba(197, 168, 128, 0.3);
}

.performer-time {
    display: block;
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-size: 0.7rem;
    letter-spacing: 0.25em;
    color: var(--french-blue-deep);
    margin-bottom: 8px;
}

.performer-name {
    font-family: 'Pinyon Script', cursive;
    font-size: 1.9rem;
    line-height: 1.1;
    margin: 0 0 8px;
    color: var(--charcoal);
}

.performer-role {
    font-family: 'Playfair Display', serif;
    text-transform: uppercase;
    letter-spacing: 0.25em;
    font-size: 0.58rem;
    color: var(--french-blue-deep);
    font-style: italic;
    margin: 0;
}

/* Guest hydration: event sections hidden by default; JS reveals for permitted guests */
[data-event] { display: none; }

/* Table badge — shown near the venue section for personalized guests */
.table-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin: 1.5rem auto;
    max-width: 220px;
    background: rgba(184, 150, 106, 0.06);
    border: 1px solid rgba(184, 150, 106, 0.35);
    border-radius: 10px;
    padding: 0.9rem 1.5rem;
}
.table-badge-icon { font-size: 1.5rem; line-height: 1; }
.table-badge-text { text-align: center; }
.table-badge-label {
    text-transform: uppercase;
    font-size: 0.55rem;
    letter-spacing: 0.2em;
    color: var(--french-gray, #9a9a9a);
    font-family: var(--font-sans);
    margin: 0;
}
.table-badge-number {
    font-size: 2rem;
    font-weight: 600;
    color: var(--french-gold, #b8966a);
    font-family: 'Cormorant Garamond', serif;
    margin: 0;
    line-height: 1.2;
}

.event-meta {
    margin: 1.25rem auto 0;
    max-width: 300px;
    text-align: left;
}
.event-meta-row {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.35rem 0;
    font-family: var(--font-sans);
    font-size: 0.9rem;
    color: var(--french-dark, #2c2c2c);
    border-bottom: 1px solid rgba(184,150,106,0.15);
}
.event-meta-row:last-child { border-bottom: none; }
.event-meta-icon { font-size: 1rem; flex-shrink: 0; }
