/* ============================================
   GAYALAN & INDUJA WEDDING INVITATION
   Complete Stylesheet
   ============================================ */

:root {
    --crimson:    #8B1A1A;
    --deep-red:   #6B0F0F;
    --gold:       #C9922A;
    --gold-light: #E8C060;
    --gold-pale:  #F5E4B0;
    --saffron:    #E07B2A;
    --turmeric:   #D4A017;
    --cream:      #FDF6E3;
    --ivory:      #FAF0DC;
    --brown-dark: #3D1C02;
    --brown-mid:  #6B3A1F;
    --brown-text: #4A2C0A;
    --shadow-sm:  0 2px 12px rgba(61,28,2,0.15);
    --shadow-md:  0 4px 20px rgba(61,28,2,0.12);
    --shadow-lg:  0 4px 24px rgba(61,28,2,0.12);
    --transition-fast: 0.3s;
    --transition-normal: 0.4s;
}

* { 
    box-sizing: border-box; 
    margin: 0; 
    padding: 0; 
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Cormorant Garamond', Georgia, serif;
    background-color: var(--cream);
    color: var(--brown-text);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ── KOLAM PATTERN BACKGROUND ── */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    background-image:
        radial-gradient(circle at 25% 25%, rgba(201,146,42,0.06) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(139,26,26,0.06) 0%, transparent 50%),
        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' stroke='%23C9922A' stroke-width='0.3' opacity='0.15'%3E%3Ccircle cx='30' cy='30' r='20'/%3E%3Ccircle cx='30' cy='30' r='15'/%3E%3Ccircle cx='30' cy='30' r='10'/%3E%3C/g%3E%3C/svg%3E");
    background-attachment: fixed;
    pointer-events: none;
    z-index: 0;
}

/* ── SPLASH SCREEN ── */
#tapScreen {
    position: fixed;
    inset: 0;
    z-index: 99999;
    background: var(--cream);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    overflow: hidden;
}

#tapScreen::before {
    content: '';
    position: absolute;
    inset: 12px;
    border: 1.5px solid var(--gold);
    pointer-events: none;
}

#tapScreen::after {
    content: '';
    position: absolute;
    inset: 18px;
    border: 0.5px solid rgba(201,146,42,0.4);
    pointer-events: none;
}

.ganesha-watermark {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(calc(-50% + 13px), calc(-50% - 5px));
    width: 600px;
    max-width: none;
    opacity: 0.20;
    filter: sepia(1) saturate(2) hue-rotate(-8deg) brightness(0.9);
    z-index: -1;
    pointer-events: none;
}

@media (max-width: 700px) {
    .ganesha-watermark {
        width: 380px;
    }
}

.corner-ornament {
    position: absolute;
    width: 80px;
    height: 80px;
    pointer-events: none;
}

.corner-ornament svg { 
    width: 100%; 
    height: 100%; 
}

.co-tl { top: 6px; left: 6px; }
.co-tr { top: 6px; right: 6px; transform: scaleX(-1); }
.co-bl { bottom: 6px; left: 6px; transform: scaleY(-1); }
.co-br { bottom: 6px; right: 6px; transform: scale(-1,-1); }

/* Kolam dots on splash */
.kolam-splash {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, rgba(201,146,42,0.25) 1.5px, transparent 1.5px);
    background-size: 28px 28px;
    pointer-events: none;
    opacity: 0.4;
}

.splash-om {
    font-family: 'Yatra One', serif;
    font-size: clamp(3rem, 8vw, 5rem);
    color: var(--crimson);
    line-height: 1;
    margin-bottom: 8px;
    opacity: 0;
}

.splash-subtitle {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: clamp(0.65rem, 2vw, 0.85rem);
    letter-spacing: 0.35em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 32px;
    opacity: 0;
}

.initials-ring {
    position: relative;
    width: 180px;
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 36px;
    opacity: 0;
}

.initials-ring svg.ring-svg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.initials-text {
    font-family: 'Great Vibes', cursive;
    font-size: clamp(3.5rem, 8vw, 4.5rem);
    color: var(--crimson);
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 6px;
    line-height: 1;
}

.initials-amp {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 1.6rem;
    color: var(--gold);
    font-style: italic;
}

.tap-btn {
    padding: 14px 40px;
    border: 1.5px solid var(--crimson);
    background: transparent;
    color: var(--crimson);
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 0.9rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    cursor: pointer;
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
    opacity: 0;
}

.tap-btn::before {
    content: '';
    position: absolute;
    inset: 4px;
    border: 0.5px solid rgba(139,26,26,0.3);
    pointer-events: none;
}

.tap-btn:hover {
    background: var(--crimson);
    color: var(--gold-pale);
}

.tap-btn:focus {
    outline: 2px solid var(--gold);
    outline-offset: 2px;
}

/* ── SECTION COMMON ── */
section { 
    position: relative; 
    z-index: 1; 
    width: 100%; 
}

/* ── HERO ── */
#hero {
    min-height: 100vh;
    min-height: 100svh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 20px 16px;
    background: linear-gradient(180deg, #3D1C02 0%, #6B0F0F 40%, #8B1A1A 70%, var(--cream) 100%);
    overflow: hidden;
}

#hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='%23C9922A' stroke-width='0.5'%3E%3Cpath d='M0,40 Q20,20 40,40 T80,40'/%3E%3Cpath d='M0,20 Q20,0 40,20 T80,20'/%3E%3Cpath d='M0,60 Q20,40 40,60 T80,60'/%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
    opacity: 0.5;
}

.hero-om {
    font-family: 'Yatra One', serif;
    font-size: clamp(2rem, 6vw, 3.5rem);
    color: var(--gold-light);
    margin-bottom: 4px;
    opacity: 0;
}

.hero-blessed {
    font-size: clamp(0.6rem, 2vw, 0.75rem);
    letter-spacing: 0.4em;
    text-transform: uppercase;
    color: rgba(232,192,96,0.7);
    margin-bottom: 24px;
    opacity: 0;
}

.hero-divider {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 12px auto;
    opacity: 0;
}

.hero-divider span {
    font-size: 0.65rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: rgba(232,192,96,0.6);
}

.hero-divider-line {
    width: 60px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold-light), transparent);
}

.hero-tagline {
    font-size: clamp(0.75rem, 2.5vw, 0.9rem);
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: rgba(232,192,96,0.75);
    margin-bottom: 6px;
    opacity: 0;
}

.hero-names {
    font-family: 'Italiana', serif;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-size: clamp(2.6rem, 7.5vw, 4.6rem);
    color: #fff;
    line-height: 1.25;
    text-shadow: 0 2px 30px rgba(201,146,42,0.4);
    opacity: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-names .amp {
    font-family: 'Italiana', serif;
    font-size: clamp(1.3rem, 3.2vw, 2.2rem);
    color: var(--gold-light);
    font-style: normal;
    letter-spacing: 0.1em;
    line-height: 1.4;
}

.hero-date {
    font-size: clamp(1rem, 3vw, 1.4rem);
    font-style: italic;
    color: #fff;
    margin-top: 16px;
    opacity: 0;
}

.hero-parents {
    font-size: clamp(0.75rem, 2.2vw, 0.95rem);
    font-style: italic;
    color: rgba(246,238,224,0.75);
    margin-top: 12px;
    letter-spacing: 0.03em;
    line-height: 1.7;
    opacity: 0;
}

.hero-venue {
    font-size: clamp(0.7rem, 2vw, 0.9rem);
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(232,192,96,0.8);
    margin-top: 8px;
    opacity: 0;
    line-height: 1.8;
}

/* Countdown */
#countdown-wrap {
    margin-top: 28px;
    display: flex;
    align-items: center;
    gap: clamp(12px, 4vw, 32px);
    background: rgba(0,0,0,0.35);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(201,146,42,0.3);
    padding: 16px 28px;
    opacity: 0;
}

.cd-unit { 
    display: flex; 
    flex-direction: column; 
    align-items: center; 
    min-width: 50px; 
}

.cd-num {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: clamp(2rem, 6vw, 3.5rem);
    font-weight: 600;
    color: var(--gold-light);
    line-height: 1;
}

.cd-label {
    font-size: clamp(0.5rem, 1.5vw, 0.65rem);
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: rgba(232,192,96,0.6);
    margin-top: 4px;
}

.cd-sep { 
    font-size: 1.5rem; 
    color: rgba(232,192,96,0.4); 
    margin-bottom: 16px; 
    font-weight: 300; 
}

.scroll-hint {
    position: absolute;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    opacity: 0;
    pointer-events: none;
}

.scroll-hint span {
    font-size: 0.55rem;
    letter-spacing: 0.4em;
    text-transform: uppercase;
    color: rgba(232,192,96,0.5);
}

.scroll-line {
    width: 1px;
    height: 32px;
    background: linear-gradient(to bottom, var(--gold-light), transparent);
    animation: scroll-pulse 2s ease-in-out infinite;
}

@keyframes scroll-pulse { 
    0%, 100% { opacity: 0.3; } 
    50% { opacity: 1; } 
}

/* ── SECTION HEADERS ── */
.sec-header {
    text-align: center;
    margin-bottom: clamp(40px, 8vw, 72px);
}

.sec-eyebrow {
    font-size: 0.65rem;
    letter-spacing: 0.45em;
    text-transform: uppercase;
    color: var(--saffron);
    margin-bottom: 12px;
}

.sec-title {
    font-family: 'Great Vibes', cursive;
    font-size: clamp(3rem, 8vw, 5.5rem);
    color: var(--crimson);
    line-height: 1;
}

.sec-rule {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 16px;
}

.sec-rule-line { 
    width: 60px; 
    height: 1px; 
    background: var(--gold); 
}

.sec-rule-diamond {
    width: 8px; 
    height: 8px;
    background: var(--gold);
    transform: rotate(45deg);
}

/* ── AGENDA SECTION ── */
#agenda {
    padding: clamp(60px, 12vw, 100px) clamp(16px, 5vw, 48px);
    background: linear-gradient(180deg, var(--cream) 0%, var(--ivory) 100%);
}

#agenda::before {
    content: '';
    display: block;
    width: 100%;
    height: 6px;
    background: repeating-linear-gradient(90deg, var(--gold) 0px, var(--gold) 8px, transparent 8px, transparent 16px, var(--crimson) 16px, var(--crimson) 24px, transparent 24px, transparent 32px);
    margin-bottom: 60px;
    opacity: 0.5;
}

.timeline {
    max-width: 760px;
    margin: 0 auto;
    position: relative;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 28px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, transparent, var(--gold) 10%, var(--gold) 90%, transparent);
}

.tl-item {
    display: flex;
    gap: 24px;
    margin-bottom: clamp(24px, 5vw, 40px);
    padding-left: 8px;
    opacity: 0;
    transform: translateY(40px);
}

.tl-dot-wrap {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 40px;
}

.tl-dot {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 2px solid var(--gold);
    background: var(--cream);
    position: relative;
    z-index: 1;
    margin-top: 4px;
}

.tl-dot.highlight {
    width: 24px;
    height: 24px;
    background: var(--gold);
    border-color: var(--crimson);
    box-shadow: 0 0 16px rgba(201,146,42,0.6);
    margin-top: 2px;
}

.tl-card {
    flex: 1;
    background: rgba(255,255,255,0.7);
    border: 1px solid rgba(201,146,42,0.25);
    padding: clamp(14px, 3vw, 24px);
    border-left: 3px solid var(--gold);
}

.tl-card.highlight-card {
    background: linear-gradient(135deg, rgba(139,26,26,0.06), rgba(201,146,42,0.08));
    border-left: 3px solid var(--crimson);
    border-color: rgba(139,26,26,0.3);
}

.tl-time {
    font-size: clamp(1.3rem, 3vw, 1.8rem);
    font-weight: 600;
    color: var(--brown-text);
    line-height: 1;
}

.tl-time span { 
    font-size: 0.7em; 
    font-weight: 400; 
}

.tl-event {
    font-family: 'Great Vibes', cursive;
    font-size: clamp(1.6rem, 4vw, 2.2rem);
    color: var(--crimson);
    line-height: 1.1;
    margin: 2px 0;
}

.tl-event.highlight-event { 
    color: var(--deep-red); 
    font-size: clamp(1.8rem, 4.5vw, 2.5rem); 
}

.tl-tamil {
    font-family: 'Noto Serif Tamil', serif;
    font-size: clamp(0.75rem, 2vw, 0.9rem);
    color: var(--saffron);
    margin-bottom: 4px;
}

.tl-desc {
    font-size: clamp(0.8rem, 2vw, 0.95rem);
    color: var(--brown-mid);
    line-height: 1.6;
    font-style: italic;
    margin-top: 4px;
}

/* ── GALLERY ── */
#gallery {
    padding: clamp(60px, 12vw, 100px) clamp(16px, 5vw, 48px);
    background: var(--ivory);
}

.gallery-grid {
    max-width: 900px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(10px, 2vw, 20px);
}

@media (max-width: 600px) {
    .gallery-grid { 
        grid-template-columns: 1fr 1fr; 
    }
    
    .gallery-grid .g-item:last-child { 
        grid-column: span 2; 
        max-width: 50%; 
        margin: 0 auto; 
    }
}

.g-item {
    aspect-ratio: 4/5;
    overflow: hidden;
    border: 3px solid #fff;
    box-shadow: var(--shadow-md);
    opacity: 0;
    transform: translateY(40px);
    position: relative;
    background: linear-gradient(135deg, var(--ivory), var(--gold-pale));
}

.g-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
}

.g-item:hover img { 
    transform: scale(1.08); 
}

.g-item::after {
    content: '';
    position: absolute;
    inset: 0;
    border: 1px solid rgba(201,146,42,0.3);
    pointer-events: none;
}

.g-placeholder {
    display: none;
    position: absolute;
    inset: 0;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: var(--gold);
    text-align: center;
    padding: 16px;
}

.g-placeholder svg { 
    width: 38px; 
    height: 38px; 
    opacity: 0.6; 
}

.g-placeholder span {
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--brown-mid);
    opacity: 0.65;
}

.g-item.g-empty .g-placeholder { 
    display: flex; 
}

.g-item.g-empty::before {
    content: '';
    position: absolute;
    inset: 10px;
    border: 1px dashed rgba(201,146,42,0.4);
    pointer-events: none;
}

/* ── OUR STORY ── */
#story {
    padding: clamp(60px, 12vw, 100px) clamp(16px, 5vw, 48px);
    background: linear-gradient(180deg, var(--cream) 0%, var(--ivory) 100%);
}

.story-grid {
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(28px, 5vw, 48px);
}

@media (max-width: 720px) {
    .story-grid { 
        grid-template-columns: 1fr; 
        max-width: 380px; 
    }
}

.story-card {
    text-align: center;
    opacity: 0;
    transform: translateY(40px);
}

.story-photo {
    aspect-ratio: 4/5;
    overflow: hidden;
    border: 3px solid #fff;
    box-shadow: var(--shadow-md);
    position: relative;
    background: linear-gradient(135deg, var(--ivory), var(--gold-pale));
    margin-bottom: 16px;
}

.story-photo img { 
    width: 100%; 
    height: 100%; 
    object-fit: cover; 
}

.story-photo::after {
    content: '';
    position: absolute;
    inset: 0;
    border: 1px solid rgba(201,146,42,0.3);
    pointer-events: none;
}

.story-photo.g-empty .g-placeholder { 
    display: flex; 
}

.story-photo.g-empty::before {
    content: '';
    position: absolute;
    inset: 10px;
    border: 1px dashed rgba(201,146,42,0.4);
    pointer-events: none;
}

.story-event {
    font-family: 'Great Vibes', cursive;
    font-size: clamp(1.6rem, 4vw, 2rem);
    color: var(--crimson);
    line-height: 1.1;
}

.story-tamil {
    font-family: 'Noto Serif Tamil', serif;
    font-size: 0.85rem;
    color: var(--saffron);
    margin: 4px 0 8px;
}

.story-desc {
    font-size: 0.9rem;
    color: var(--brown-mid);
    line-height: 1.6;
    font-style: italic;
    padding: 0 8px;
}

/* ── RSVP ── */
#rsvp {
    padding: clamp(60px, 12vw, 100px) clamp(16px, 5vw, 48px);
    background: linear-gradient(180deg, var(--ivory) 0%, #FDF0D5 100%);
    min-height: 80vh;
    min-height: 80svh;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.rsvp-box {
    width: 100%;
    max-width: 560px;
    background: rgba(255,255,255,0.75);
    backdrop-filter: blur(12px);
    border: 1.5px solid rgba(201,146,42,0.35);
    padding: clamp(28px, 6vw, 56px);
    position: relative;
    overflow: hidden;
    min-height: 320px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: scale(0.96);
}

.rsvp-box::before, 
.rsvp-box::after {
    content: '';
    position: absolute;
    width: 60px;
    height: 60px;
    border: 1.5px solid rgba(201,146,42,0.3);
}

.rsvp-box::before { 
    top: 8px; 
    left: 8px; 
    border-right: none; 
    border-bottom: none; 
}

.rsvp-box::after { 
    bottom: 8px; 
    right: 8px; 
    border-left: none; 
    border-top: none; 
}

.rsvp-step {
    width: 100%;
    text-align: center;
    transition: opacity var(--transition-normal), transform var(--transition-normal);
}

.rsvp-step h3 {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: clamp(1.1rem, 3vw, 1.4rem);
    color: var(--brown-text);
    margin-bottom: 20px;
}

.rsvp-input {
    width: 100%;
    max-width: 320px;
    padding: 12px 20px;
    border: 1.5px solid rgba(201,146,42,0.5);
    background: rgba(255,255,255,0.9);
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 1.1rem;
    letter-spacing: 0.15em;
    text-align: center;
    color: var(--brown-text);
    outline: none;
    transition: border-color var(--transition-fast);
}

.rsvp-input:focus { 
    border-color: var(--crimson); 
    box-shadow: 0 0 0 2px rgba(201,146,42,0.2);
}

.rsvp-input.error { 
    border-color: #c0392b; 
    box-shadow: 0 0 0 2px rgba(192,57,43,0.2);
}

#phone-error {
    color: #c0392b;
    font-size: 0.8rem;
    height: 20px;
    margin: 8px 0 12px;
    opacity: 0;
    transition: opacity var(--transition-fast);
}

#phone-error.show {
    opacity: 1;
}

#register-error {
    color: #c0392b;
    font-size: 0.8rem;
    height: 20px;
    margin: 8px 0 12px;
    opacity: 0;
    transition: opacity var(--transition-fast);
}

#register-error.show {
    opacity: 1;
}

#rsvp-status-error {
    color: #c0392b;
    font-size: 0.8rem;
    margin: 12px 0 0;
    opacity: 0;
    transition: opacity var(--transition-fast);
}

#rsvp-status-error.show {
    opacity: 1;
}

.hidden {
    display: none !important;
}

.btn-primary {
    padding: 12px 32px;
    background: var(--crimson);
    color: var(--gold-pale);
    border: none;
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 0.85rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background var(--transition-fast);
}

.btn-primary:hover { 
    background: var(--deep-red); 
}

.btn-primary:focus {
    outline: 2px solid var(--gold);
    outline-offset: 2px;
}

.btn-primary:disabled, 
.btn-accent:disabled, 
.btn-ghost:disabled { 
    opacity: 0.5; 
    cursor: not-allowed; 
}

.rsvp-wa-fallback {
    display: block;
    text-align: center;
    margin-top: 24px;
    padding: 10px;
    font-size: 1rem;
    color: var(--brown-mid);
    opacity: 0.85;
    text-decoration: none;
    letter-spacing: 0.02em;
    transition: opacity var(--transition-fast), color var(--transition-fast);
}

.rsvp-wa-fallback:hover { 
    opacity: 1; 
    color: #1a7a3d; 
}

.rsvp-wa-fallback:focus {
    outline: 2px solid var(--gold);
    outline-offset: 2px;
}

.btn-accent {
    padding: 12px 28px;
    background: transparent;
    color: var(--crimson);
    border: 1.5px solid var(--crimson);
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 0.85rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.btn-accent:hover { 
    background: var(--crimson); 
    color: var(--gold-pale); 
}

.btn-accent:focus {
    outline: 2px solid var(--gold);
    outline-offset: 2px;
}

.btn-ghost {
    padding: 12px 28px;
    background: transparent;
    color: var(--brown-mid);
    border: 1.5px solid rgba(107,58,31,0.3);
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 0.85rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.btn-ghost:hover { 
    background: rgba(107,58,31,0.08); 
}

.btn-ghost:focus {
    outline: 2px solid var(--gold);
    outline-offset: 2px;
}

.btn-row { 
    display: flex; 
    gap: 12px; 
    justify-content: center; 
    flex-wrap: wrap; 
    margin-top: 16px; 
}

/* ── ADD TO CALENDAR ── */
.cal-add-wrap {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: clamp(20px, 4vw, 32px);
}

.cal-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    font-size: 0.7rem;
    text-decoration: none;
    background: rgba(201,146,42,0.1);
    color: var(--crimson);
    border: 1px solid var(--gold);
    border-radius: 4px;
    transition: all var(--transition-fast);
}

.cal-btn:hover {
    background: rgba(201,146,42,0.2);
    transform: translateY(-2px);
}

.cal-btn:focus {
    outline: 2px solid var(--gold);
    outline-offset: 2px;
}

.guest-name-display {
    font-family: 'Great Vibes', cursive;
    font-size: clamp(2.2rem, 6vw, 3rem);
    color: var(--crimson);
    margin-bottom: 8px;
}

.status-badge {
    display: inline-block;
    padding: 4px 16px;
    font-size: 0.75rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    font-family: 'Cormorant Garamond', Georgia, serif;
}

.status-accepted { 
    background: rgba(21,128,61,0.1); 
    color: #155a2c; 
    border: 1px solid rgba(21,128,61,0.3); 
}

.status-declined { 
    background: rgba(139,26,26,0.1); 
    color: var(--crimson); 
    border: 1px solid rgba(139,26,26,0.3); 
}

.rsvp-confirm-script {
    font-family: 'Great Vibes', cursive;
    font-size: clamp(2rem, 6vw, 2.8rem);
    color: var(--crimson);
    margin-bottom: 12px;
}

.rsvp-confirm-body {
    font-size: 1rem;
    color: var(--brown-mid);
    font-style: italic;
}

/* ── GUEST WISHBOOK ── */
#wishbook {
    padding: clamp(60px, 12vw, 100px) clamp(16px, 5vw, 48px);
    background: var(--ivory);
}

.wish-box {
    width: 100%;
    max-width: 560px;
    margin: 0 auto;
}

#wish-form {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    background: rgba(255,255,255,0.75);
    backdrop-filter: blur(12px);
    border: 1.5px solid rgba(201,146,42,0.35);
    padding: clamp(24px, 5vw, 40px);
}

.wish-name-input { 
    max-width: 100%; 
}

.wish-textarea {
    width: 100%;
    min-height: 90px;
    padding: 12px 16px;
    border: 1.5px solid rgba(201,146,42,0.5);
    background: rgba(255,255,255,0.9);
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 1rem;
    color: var(--brown-text);
    outline: none;
    resize: vertical;
    transition: border-color var(--transition-fast);
}

.wish-textarea:focus { 
    border-color: var(--crimson);
    box-shadow: 0 0 0 2px rgba(201,146,42,0.2);
}

#wish-error {
    width: 100%;
    text-align: center;
    color: #c0392b;
    font-size: 0.8rem;
    min-height: 18px;
    opacity: 0;
    transition: opacity var(--transition-fast);
    margin: -4px 0 0;
}

#wish-error.show { 
    opacity: 1; 
}

.wish-list {
    margin-top: 32px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.wish-card {
    background: rgba(255,255,255,0.6);
    border-left: 3px solid var(--gold);
    padding: 16px 20px;
}

.wish-card-name {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--crimson);
    margin-bottom: 4px;
}

.wish-card-msg {
    font-size: 0.9rem;
    color: var(--brown-mid);
    line-height: 1.6;
    font-style: italic;
}

.wish-empty-note {
    text-align: center;
    font-size: 0.85rem;
    color: var(--brown-mid);
    opacity: 0.75;
    font-style: italic;
    padding: 12px 8px 0;
}

/* ── VENUE ── */
/* #venue {
    padding: clamp(60px, 12vw, 100px) clamp(16px, 5vw, 48px);
    background: var(--cream);
    border-top: 1px solid rgba(201,146,42,0.2);
}

.venue-grid {
    max-width: 800px;
    margin: 0 auto;
    width: 100%;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    gap: 24px;
    align: center;
}

.venue-map {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    aspect-ratio: 4 / 3;
    min-height: 280px;
    position: relative;
    overflow: hidden;
    border: 3px solid #fff;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    transform: translateX(-40px);
    align: center;
} */

/* .venue-map:nth-child(2) { 
    transform: translateX(40px); 
} */

/* .venue-map iframe { 
    width: 100%; 
    height: 100%; 
    border: 0; 
    display: block; 
}

.map-caption {
    position: absolute;
    bottom: 10px;
    left: 10px;
    background: rgba(61,28,2,0.78);
    color: var(--gold-pale);
    font-size: 0.65rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    padding: 5px 12px;
    pointer-events: none;
}

.venue-photo-grid .g-item { 
    aspect-ratio: 16 / 9; 
}

/* ── VENUE ── */
.venue-grid{
    max-width:800px;
    width:100%;
    margin:0 auto;
    display:flex;
    flex-direction:column;
    gap:24px;
    align-items:center;
}

.venue-map{
    width:100%;
    height:500px;
    overflow:hidden;
    position:relative;
    border:3px solid #fff;
    box-shadow:var(--shadow-lg);

    opacity:0;
    transform:translateX(-40px);
}

.venue-map iframe{
    width:100%;
    height:100%;
    display:block;
    border:0;
}
.venue-note {
    max-width: 700px;
    margin: 20px auto 0;
    text-align: center;
    font-size: clamp(1rem, 2.6vw, 1.15rem);
    font-style: italic;
    color: var(--brown-mid);
    opacity: 0.9;
    line-height: 1.8;
}

/* ── FOOTER ── */
footer {
    padding: 40px 20px;
    background: var(--brown-dark);
    text-align: center;
    border-top: 2px solid var(--gold);
}

.footer-script {
    font-family: 'Great Vibes', cursive;
    font-size: clamp(2rem, 5vw, 3rem);
    color: var(--gold-light);
    margin-bottom: 8px;
}

.footer-names {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 1rem;
    color: rgba(232,192,96,0.7);
    letter-spacing: 0.1em;
    margin-bottom: 24px;
}

.footer-credit {
    margin-top: 20px;
    font-size: 0.75rem;
    color: rgba(232,192,96,0.35);
    font-family: 'Cormorant Garamond', Georgia, serif;
}

footer a {
    color: rgba(232,192,96,0.35);
    transition: color var(--transition-fast);
}

footer a:hover {
    color: rgba(232,192,96,0.6);
}

/* ── MUSIC BTN ── */
#musicToggle {
    position: fixed;
    bottom: clamp(16px, 4vw, 32px);
    left: clamp(16px, 4vw, 32px);
    z-index: 50;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(253,246,227,0.85);
    backdrop-filter: blur(8px);
    border: 1.5px solid rgba(201,146,42,0.5);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
    box-shadow: var(--shadow-sm);
}

#musicToggle:hover { 
    transform: scale(1.1); 
    background: rgba(253,246,227,1); 
}

#musicToggle:focus {
    outline: 2px solid var(--gold);
    outline-offset: 2px;
}

#musicToggle svg { 
    width: 22px; 
    height: 22px; 
    stroke: var(--crimson); 
    fill: none; 
}

#music-label {
    position: fixed;
    bottom: clamp(20px, 4vw, 38px);
    left: calc(clamp(16px, 4vw, 32px) + 56px);
    z-index: 50;
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 0.65rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold);
    pointer-events: none;
}

/* ── RESPONSIVE ADJUSTMENTS ── */
@media (max-width: 768px) {
    #musicToggle {
        width: 44px;
        height: 44px;
    }

    #music-label {
        display: none;
    }
}

/* ── ACCESSIBILITY ── */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* ── PRINT STYLES ── */
@media print {
    #musicToggle,
    #music-label,
    #bg-music,
    .scroll-hint {
        display: none !important;
    }

    section {
        page-break-inside: avoid;
    }
}
