:root {
    --navy: #1B1F3B;
    --ivory: #FDFDFC;
    --silver: #D1D4D9;
    --soft-silver: #EEF0F3;
    --ink: #171925;
    --muted: #6D7280;
    --line: rgba(27, 31, 59, 0.13);
    --white: #ffffff;
    --shadow: 0 22px 70px rgba(27, 31, 59, 0.12);
    --radius: 24px;
    --font-script: 'Great Vibes', cursive;
    --font-title: 'Playfair Display', serif;
    --font-body: 'Work Sans', Arial, sans-serif;
    --font-arima: 'Arima', serif;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--ink);
    background: var(--ivory);
    line-height: 1.7;
    overflow-x: hidden;
}

body.is-locked {
    overflow: hidden;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
select,
textarea {
    font: inherit;
}

.container {
    width: min(100% - 36px, 1120px);
    margin: 0 auto;
}

.section {
    position: relative;
    padding: 86px 0;
    overflow: hidden;
}

.section.silver {
    background: var(--soft-silver);
}

.section.navy {
    color: var(--ivory);
    background: var(--navy);
}

.eyebrow {
    font-family: var(--font-script);
    font-size: clamp(1.75rem, 9vw, 3rem);
    line-height: 0.9;
    color: var(--navy);
    font-weight: 400;
    margin-bottom: 10px;
}

.navy .eyebrow,
.photo-section .eyebrow,
.countdown-section .eyebrow,
.countdown-section .section-title,
.countdown-section .section-text {
    color: var(--silver);
}

.section-title {
    font-family: var(--font-title);
    font-size: clamp(2.4rem, 8vw, 4.8rem);
    line-height: 1.05;
    color: var(--navy);
    font-weight: 600;
    letter-spacing: -0.7px;
}

.navy .section-title,
.photo-section .section-title {
    color: var(--ivory);
}

.section-text {
    color: var(--muted);
    max-width: 680px;
    margin-top: 18px;
    font-size: 0.98rem;
}

.navy .section-text,
.photo-section .section-text {
    color: rgba(253, 253, 252, 0.78);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 48px;
    padding: 0 24px;
    border: 1px solid var(--navy);
    border-radius: 999px;
    background: var(--navy);
    color: var(--ivory);
    text-transform: uppercase;
    letter-spacing: 0.16em;
    font-size: 0.72rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn.light {
    border-color: rgba(253, 253, 252, 0.58);
    background: rgba(253, 253, 252, 0.12);
    color: var(--ivory);
    backdrop-filter: blur(12px);
}

.btn.ghost {
    background: transparent;
    color: var(--navy);
}

.btn.ghost:hover {
    background: var(--navy);
    color: var(--ivory);
}

.btn ion-icon {
    font-size: 1rem;
    margin-top: -1px;
    flex: 0 0 auto;
}

.letter-mark {
    position: absolute;
    top: 58px;
    left: 50%;
    transform: translateX(-50%);
    font-family: var(--font-script);
    font-size: clamp(7.5rem, 34vw, 20rem);
    line-height: 0.75;
    color: rgba(27, 31, 59, 0.055);
    pointer-events: none;
    z-index: 0;
    white-space: nowrap;
    text-shadow: 0 24px 70px rgba(27, 31, 59, 0.08);
}

.navy .letter-mark,
.photo-section .letter-mark {
    color: rgba(253, 253, 252, 0.09);
    text-shadow: 0 24px 80px rgba(253, 253, 252, 0.08);
}

/* Opening Cover */
.opening-cover {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: grid;
    place-items: center;
    padding: 28px;
    color: var(--ivory);
    background:
        linear-gradient(rgba(27, 31, 59, 0.35), rgba(27, 31, 59, 0.72)),
        url('https://images.unsplash.com/photo-1519225421980-715cb0215aed?auto=format&fit=crop&w=1400&q=80') center/cover;
    transition: opacity 0.65s ease, visibility 0.65s ease;
}

.opening-cover.is-hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.cover-card {
    width: min(100%, 430px);
    text-align: center;
    padding: 38px 22px;
    border: 0;
    border-radius: 0;
    background: transparent;
    backdrop-filter: none;
    box-shadow: none;
    text-shadow: 0 8px 30px rgba(0, 0, 0, 0.38);
}

.cover-kicker,
.small-caps {
    text-transform: uppercase;
    letter-spacing: 0.22em;
    font-size: 0.7rem;
    font-weight: 600;
}

.cover-names {
    font-family: var(--font-title);
    font-weight: 400;
    font-size: clamp(2.5rem, 12vw, 5rem);
    line-height: 1.02;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    margin: 18px 0;
}

.cover-date {
    line-height: 1.8;
    margin-top: 12px;
    margin-bottom: 6px;
}

.cover-message {
    color: rgba(253, 253, 252, 0.82);
    margin-bottom: 24px;
}

/* Navigation */
.nav {
    position: fixed;
    top: 16px;
    left: 50%;
    transform: translateX(-50%);
    width: min(940px, calc(100% - 28px));
    z-index: 100;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(27, 31, 59, 0.34);
    border: 1px solid rgba(253, 253, 252, 0.26);
    backdrop-filter: blur(18px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 14px 40px rgba(34, 30, 24, 0.08);
}

.nav-brand {
    padding-left: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-title);
    font-size: 1rem;
    color: var(--ivory);
    text-transform: uppercase;
}

.nav-brand span {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 1px solid var(--gold-light);
    display: grid;
    place-items: center;
    font-size: 0.72rem;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav-links a {
    padding: 10px 14px;
    border-radius: 999px;
    color: var(--ivory);
    font-size: 0.78rem;
    font-weight: 500;
    transition: 0.25s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.nav-links ion-icon {
    display: none;
}

.nav-links a.active {
    background: rgba(27, 31, 59, 0.62);
}

.mobile-menu-btn {
    display: none;
}

@media (max-width: 780px) {
    .nav {
        top: auto;
        bottom: 11px;
        width: min(540px, calc(100% - 22px));
        border-radius: 26px;
        padding: 8px;
        opacity: 0;
    }

    .nav.show-mobile-nav {
        transform: translateY(0);
        opacity: 1;
        pointer-events: auto;
        left: 11px;
    }

    .nav-brand,
    .mobile-menu-btn {
        display: none;
    }

    .nav-links {
        width: 100%;
        display: grid;
        grid-template-columns: repeat(5, 1fr);
        gap: 4px;
    }

    .nav-links a {
        flex-direction: column;
        justify-content: center;
        gap: 3px;
        padding: 7px 4px;
        font-size: 0.65rem;
        letter-spacing: 0;
        border-radius: 18px;
    }

    .nav-links ion-icon {
        display: block;
        font-size: 1.24rem;
    }
}

/* Music */
.music-embed {
    position: fixed;
    width: 1px;
    height: 1px;
    right: 0;
    bottom: 0;
    opacity: 0;
    pointer-events: none;
    overflow: hidden;
}

.music-toggle {
    position: fixed;
    z-index: 120;
    right: 18px;
    bottom: 18px;
    width: 50px;
    height: 50px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(253, 253, 252, 0.26);
    border-radius: 50%;
    background: rgba(27, 31, 59, 0.34);
    color: var(--ivory);
    box-shadow: 0 18px 45px rgba(27, 31, 59, 0.26);
    backdrop-filter: blur(16px);
    cursor: pointer;
    transition: 0.5s ease;
}

.music-toggle:hover {
    transform: translateY(-2px);
}

.music-toggle ion-icon {
    font-size: 1.45rem;
}

.music-toggle span {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.music-toggle.is-playing {
    background: rgba(253, 253, 253, 0.72);
    color: var(--navy);
    border-color: rgba(27, 31, 59, 0.16);
}

.music-toggle.is-playing::after {
    content: '';
    position: absolute;
    inset: -6px;
    border: 1px solid rgba(253, 253, 252, 0.36);
    border-radius: inherit;
    animation: musicPulse 1.8s ease-out infinite;
}

@media (max-width: 780px) {
    .music-toggle.mobile-nav {
        bottom: 94px;
    }
}

@keyframes musicPulse {
    0% {
        transform: scale(0.92);
        opacity: 0.72;
    }

    100% {
        transform: scale(1.28);
        opacity: 0;
    }
}

/* Hero */
.hero {
    min-height: 100svh;
    position: relative;
    display: grid;
    align-items: center;
    color: var(--ivory);
    padding: 96px 0;
    background:
        linear-gradient(180deg, rgba(27, 31, 59, 0.18) 0%, rgba(27, 31, 59, 0.66) 58%, rgba(27, 31, 59, 0.86) 100%),
        url('https://images.unsplash.com/photo-1523438885200-e635ba2c371e?auto=format&fit=crop&w=1600&q=80') center/cover;
    overflow: hidden;
}

.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 22%, rgba(209, 212, 217, 0.22), transparent 36%);
    pointer-events: none;
}

.hero-inner {
    position: relative;
    z-index: 2;
    text-align: center;
    margin-inline: auto;
    display: grid;
    justify-items: center;
}

.hero-topline {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-size: 0.72rem;
    font-weight: 600;
    color: rgba(253, 253, 252, 0.82);
}

.hero-title {
    font-family: var(--font-title);
    font-size: clamp(3rem, 6vw, 6rem);
    line-height: 0.88;
    font-weight: 400;
    letter-spacing: 0.045em;
    text-transform: uppercase;
    max-width: 960px;
    margin-inline: auto;
}

.hero-title-and {
    font-family: var(--font-script);
    font-size: clamp(1.75rem, 9vw, 3rem);
    line-height: 0.9;
    font-weight: 400;
    margin-bottom: -10px;
}

.hero-script {
    font-family: var(--font-script);
    font-size: clamp(2.5rem, 13vw, 5.6rem);
    line-height: 1;
    color: var(--silver);
    font-weight: 400;
    margin: 16px 0 16px;
}

.hero-meta {
    display: grid;
    gap: 4px;
    margin-top: 26px;
    margin-bottom: 6px;
    color: rgba(253, 253, 252, 0.82);
    text-transform: uppercase;
    letter-spacing: 0.16em;
    font-size: 0.72rem;
    font-weight: 600;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-top: 28px;
}

/* Editorial intro */
.split-layout {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 38px;
    align-items: center;
}

.intro-copy {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 780px;
    margin-inline: auto;
    isolation: isolate;
}

.intro-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-top: 26px;
}

.editorial-photo-grid {
    position: relative;
    display: grid;
    min-height: 560px;
    width: min(100%, 720px);
    margin-inline: auto;
    isolation: isolate;
}

.editorial-photo-grid::before {
    content: 'MV';
    position: absolute;
    top: 38px;
    right: 6px;
    font-family: var(--font-title);
    font-size: clamp(4.8rem, 22vw, 9rem);
    line-height: 1;
    letter-spacing: 0.04em;
    color: rgba(27, 31, 59, 0.07);
    z-index: -1;
}

.photo-card {
    position: relative;
    min-height: 300px;
    width: 58%;
    align-self: end;
    justify-self: end;
    overflow: hidden;
    border-radius: 160px 160px 30px 30px;
    background: var(--silver);
    box-shadow: var(--shadow);
    border: 10px solid var(--ivory);
    z-index: 2;
}

.photo-card.tall {
    min-height: 490px;
    width: 82%;
    align-self: start;
    justify-self: start;
    border-radius: 30px 30px 190px 190px;
    border-color: var(--soft-silver);
    z-index: 1;
}

.photo-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    inset: 0;
    transition: transform 0.6s ease;
}

.photo-card:hover img {
    transform: scale(1.045);
}

.photo-label {
    position: absolute;
    left: 16px;
    right: 16px;
    bottom: 16px;
    padding: 16px;
    border-radius: 18px;
    background: rgba(253, 253, 252, 0.88);
    backdrop-filter: blur(12px);
    color: var(--navy);
    text-align: center;
}

.photo-label span {
    display: block;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-size: 0.62rem;
    font-weight: 700;
    color: var(--muted);
    margin-bottom: 6px;
}

.photo-label strong {
    font-family: var(--font-title);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-weight: 400;
}

.event-grid {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 16px;
    margin-top: 38px;
}

.event-card {
    --event-photo: url('https://images.unsplash.com/photo-1519225421980-715cb0215aed?auto=format&fit=crop&w=1100&q=80');
    position: relative;
    min-height: 420px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 26px;
    overflow: hidden;
    border: 1px solid rgba(253, 253, 252, 0.26);
    border-radius: 30px;
    background:
        linear-gradient(180deg, rgba(27, 31, 59, 0.10), rgba(27, 31, 59, 0.82)),
        var(--event-photo) center/cover;
    box-shadow: var(--shadow);
    color: var(--ivory);
}

.event-card:nth-child(2) {
    --event-photo: url('https://images.unsplash.com/photo-1523438885200-e635ba2c371e?auto=format&fit=crop&w=1100&q=80');
}

.event-card::after {
    content: '';
    position: absolute;
    inset: 16px;
    border: 1px solid rgba(253, 253, 252, 0.28);
    border-radius: 22px;
    pointer-events: none;
}

.event-card .small-caps {
    position: relative;
    z-index: 1;
    color: rgba(253, 253, 252, 0.76);
    margin-bottom: 14px;
}

.event-card h3 {
    position: relative;
    z-index: 1;
    font-family: var(--font-title);
    font-size: 1.62rem;
    line-height: 1.15;
    color: var(--ivory);
    font-weight: 400;
    margin-bottom: 16px;
}

.event-meta {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 12px;
    color: rgba(253, 253, 252, 0.80);
    font-size: 0.95rem;
}

.event-meta div {
    display: flex;
    gap: 10px;
    align-items: flex-start;
}

.event-meta ion-icon {
    color: var(--silver);
    font-size: 1.1rem;
    margin-top: 4px;
    flex: 0 0 auto;
}

.event-card .btn {
    position: relative;
    z-index: 1;
    width: 100%;
    margin-top: 22px;
    border-color: rgba(253, 253, 252, 0.62);
    color: var(--ivory);
    background: rgba(253, 253, 252, 0.10);
    backdrop-filter: blur(10px);
}

.event-card .btn:hover {
    background: var(--ivory);
    color: var(--navy);
}

/* Countdown */
.countdown-section {
    min-height: 82svh;
    display: grid;
    align-items: center;
    color: var(--ivory);
    background:
        linear-gradient(rgba(27, 31, 59, 0.58), rgba(27, 31, 59, 0.78)),
        url('https://images.unsplash.com/photo-1519741497674-611481863552?auto=format&fit=crop&w=1600&q=80') center/cover fixed;
}

.countdown-content {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 32px;
    text-align: center;
}

.countdown-panel {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    width: min(100%, 620px);
    margin: 0 auto;
}

.time-box {
    padding: 26px 12px 22px;
    border: 1px solid rgba(253, 253, 252, 0.3);
    border-radius: 22px;
    background: rgba(253, 253, 252, 0.10);
    backdrop-filter: blur(12px);
}

.time-box strong {
    display: block;
    font-family: var(--font-arima);
    font-size: clamp(2.8rem, 10vw, 4rem);
    line-height: 1;
    font-weight: 400;
    margin-bottom: -6px;
}

.time-box span {
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-size: 0.64rem;
    font-weight: 700;
    color: rgba(253, 253, 252, 0.72);
}

/* Timeline */
.timeline-wrap {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 18px;
    margin-top: 34px;
}

.timeline-box {
    position: relative;
    display: grid;
    gap: 8px;
    padding: 24px;
    border: 1px solid rgba(253, 253, 252, 0.18);
    border-radius: 26px;
    background: rgba(253, 253, 252, 0.08);
}

.timeline-time {
    color: var(--silver);
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-size: 0.68rem;
    font-weight: 700;
}

.timeline-box h3 {
    font-family: var(--font-title);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-weight: 400;
    font-size: 1.22rem;
}

.timeline-box p {
    color: rgba(253, 253, 252, 0.72);
    font-size: 0.94rem;
}

/* Dress code */
.dress-wrap {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 24px;
    margin-top: 38px;
}

.dress-card {
    position: relative;
    padding: 28px 22px;
    border: 1px solid rgba(27, 31, 59, 0.12);
    border-radius: 34px;
    background: linear-gradient(180deg, var(--ivory), rgba(253, 253, 252, 0.76));
    box-shadow: var(--shadow);
    text-align: center;
    overflow: hidden;
}

.dress-card::before {
    content: '';
    position: absolute;
    top: 16px;
    left: 16px;
    right: 16px;
    bottom: 16px;
    border: 1px solid rgba(27, 31, 59, 0.09);
    border-radius: 24px;
    pointer-events: none;
}

.palette-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin-bottom: 22px;
}

.swatch {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: 1px solid rgba(27, 31, 59, 0.14);
    box-shadow: 0 12px 28px rgba(27, 31, 59, 0.14), inset 0 0 0 6px rgba(255, 255, 255, 0.20);
}

.dress-card h3 {
    font-family: var(--font-title);
    color: var(--navy);
    font-size: 1.22rem;
    text-transform: uppercase;
    letter-spacing: 0.10em;
    font-weight: 400;
    margin-bottom: 10px;
}

.dress-card p {
    color: var(--muted);
    font-size: 0.94rem;
    max-width: 300px;
    margin-inline: auto;
}

.dress-note {
    display: grid;
    place-items: center;
    min-height: 100%;
    padding: 32px 24px;
    border-radius: 34px;
    background: var(--navy);
    color: var(--ivory);
    text-align: center;
    box-shadow: var(--shadow);
}

.dress-note h3 {
    font-family: var(--font-title);
    font-size: clamp(1.8rem, 8vw, 3.2rem);
    line-height: 1.05;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 400;
    margin-bottom: 16px;
}

.dress-note p {
    color: rgba(253, 253, 252, 0.76);
    max-width: 420px;
    margin-inline: auto;
}

/* Love story timeline */
.love-timeline {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 22px;
    width: min(100%, 980px);
    margin: 46px auto 0;
}

.love-timeline::before {
    content: '';
    position: absolute;
    top: 34px;
    bottom: 34px;
    left: 35px;
    width: 1px;
    background: linear-gradient(180deg, rgba(27, 31, 59, 0), rgba(27, 31, 59, 0.34), rgba(27, 31, 59, 0));
}

.love-item {
    position: relative;
    display: grid;
    grid-template-columns: 72px 1fr;
    gap: 16px;
    align-items: stretch;
}

.love-year {
    position: relative;
    z-index: 2;
    width: 70px;
    height: 70px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(27, 31, 59, 0.16);
    border-radius: 50%;
    background: var(--ivory);
    color: var(--navy);
    box-shadow: 0 18px 45px rgba(27, 31, 59, 0.12);
    font-family: var(--font-title);
    font-size: 0.78rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.love-copy {
    position: relative;
    display: grid;
    grid-template-columns: 92px 1fr;
    gap: 18px;
    align-items: center;
    padding: 16px;
    border: 1px solid rgba(27, 31, 59, 0.12);
    border-radius: 30px;
    background: rgba(253, 253, 252, 0.84);
    box-shadow: var(--shadow);
    overflow: hidden;
}

.love-copy::before {
    content: '';
    position: absolute;
    inset: 12px;
    border: 1px solid rgba(27, 31, 59, 0.07);
    border-radius: 22px;
    pointer-events: none;
}

.love-photo {
    position: relative;
    min-height: 128px;
    height: 100%;
    overflow: hidden;
    border-radius: 999px 999px 24px 24px;
    background: var(--silver);
    box-shadow: 0 16px 34px rgba(27, 31, 59, 0.12);
}

.love-photo img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.love-content {
    position: relative;
    z-index: 1;
    padding-right: 6px;
}

.love-content span {
    display: block;
    margin-bottom: 8px;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.16em;
    font-size: 0.66rem;
    font-weight: 700;
}

.love-content h3 {
    font-family: var(--font-title);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 400;
    color: var(--navy);
    font-size: clamp(1.15rem, 5vw, 1.65rem);
    line-height: 1.2;
    margin-bottom: 10px;
}

.love-content p {
    color: var(--muted);
    font-size: 0.93rem;
}

/* Photo quote */
.photo-section {
    min-height: 88svh;
    display: grid;
    align-items: center;
    color: var(--ivory);
    background:
        linear-gradient(rgba(27, 31, 59, 0.46), rgba(27, 31, 59, 0.74)),
        url('https://images.unsplash.com/photo-1502635385003-ee1e6a1a742d?auto=format&fit=crop&w=1600&q=80') center/cover;
}

.quote-panel {
    position: relative;
    z-index: 1;
    max-width: 780px;
    text-align: center;
    margin: 0 auto;
}

.quote-panel blockquote {
    font-family: var(--font-title);
    font-size: clamp(2rem, 9vw, 5.2rem);
    line-height: 1.06;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    font-weight: 400;
}

.quote-panel p {
    margin-top: 20px;
    color: rgba(253, 253, 252, 0.76);
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-size: 0.72rem;
    font-weight: 600;
}

/* Gallery */
.gallery-grid {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 14px;
    margin-top: 34px;
}

.gallery-item {
    position: relative;
    min-height: 300px;
    overflow: hidden;
    border-radius: 28px;
    background: var(--silver);
    box-shadow: var(--shadow);
}

.gallery-item.small {
    min-height: 230px;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    inset: 0;
    transition: transform 0.6s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

/* RSVP */
.rsvp-layout {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 26px;
    margin-top: 34px;
}

.rsvp-card {
    position: relative;
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: 34px;
    background: var(--ivory);
    box-shadow: var(--shadow);
    overflow: hidden;
}

.rsvp-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--navy), var(--silver), var(--navy));
}

.rsvp-intro {
    text-align: center;
    margin-bottom: 24px;
}

.rsvp-intro h3 {
    font-family: var(--font-title);
    font-size: 1.45rem;
    line-height: 1.2;
    color: var(--navy);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 400;
    margin-bottom: 10px;
}

.rsvp-intro p {
    color: var(--muted);
    font-size: 0.94rem;
    max-width: 540px;
    margin-inline: auto;
}

.form-grid {
    display: grid;
    gap: 16px;
}

.field {
    display: grid;
    gap: 8px;
}

.field label,
.radio-title {
    color: var(--navy);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 0.68rem;
    font-weight: 700;
}

.field input,
.field select,
.field textarea {
    width: 100%;
    border: 1px solid rgba(27, 31, 59, 0.12);
    border-radius: 0;
    min-height: 52px;
    padding: 13px 0;
    background: transparent;
    color: var(--ink);
    outline: none;
    border-width: 0 0 1px;
    transition: border-color 0.25s ease;
}

.field textarea {
    min-height: 112px;
    resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
    border-color: var(--navy);
}

.radio-row {
    display: grid;
    gap: 10px;
}

.radio-card {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px 16px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: rgba(253, 253, 252, 0.86);
    cursor: pointer;
    color: var(--muted);
    transition: border-color 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.radio-card input {
    accent-color: var(--navy);
}

.radio-card:has(input:checked) {
    border-color: var(--navy);
    background: var(--navy);
    color: var(--ivory);
}

.attending-only.is-hidden {
    display: none;
}

.form-submit-row {
    display: flex;
    justify-content: center;
    margin-top: 22px;
}

.form-submit-row .btn {
    width: min(100%, 280px);
}

.form-success {
    display: none;
    margin-top: 18px;
    padding: 14px 16px;
    border-radius: 18px;
    background: rgba(27, 31, 59, 0.08);
    color: var(--navy);
    text-align: center;
    font-weight: 600;
}

.form-success.is-visible {
    display: block;
}

/* Wishes */
.wish-grid {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 14px;
    margin-top: 34px;
}

.wish-card {
    padding: 22px;
    border-radius: 26px;
    border: 1px solid rgba(253, 253, 252, 0.18);
    background: rgba(253, 253, 252, 0.08);
}

.wish-card h3 {
    font-family: var(--font-title);
    color: var(--silver);
    font-size: 1.18rem;
    line-height: 1.25;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-weight: 400;
    margin-bottom: 10px;
}

.wish-card p {
    color: rgba(253, 253, 252, 0.76);
    font-size: 0.94rem;
}

/* Floating RSVP */
.floating-rsvp {
    position: fixed;
    left: 18px;
    bottom: 18px;
    z-index: 120;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 18px;
    border-radius: 999px;
    background: var(--navy);
    color: var(--white);
    box-shadow: 0 16px 40px rgba(34, 30, 24, 0.25);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

@media (max-width: 780px) {
    .floating-rsvp {
        display: none;
    }
}

/* Footer */
.site-footer {
    position: relative;
    color: var(--ivory);
    padding: 96px 0 110px;
    background:
        linear-gradient(rgba(27, 31, 59, 0.72), rgba(27, 31, 59, 0.88)),
        url('https://images.unsplash.com/photo-1511285560929-80b456fea0bc?auto=format&fit=crop&w=1600&q=80') center/cover;
    text-align: center;
}

.footer-logo {
    font-family: var(--font-title);
    font-size: clamp(2.5rem, 13vw, 6rem);
    line-height: 1;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    font-weight: 400;
    margin-bottom: 18px;
}

.footer-script {
    font-family: var(--font-script);
    color: var(--silver);
    font-size: clamp(2.4rem, 12vw, 5.2rem);
    margin-bottom: 12px;
}

.footer-text {
    max-width: 560px;
    margin: 0 auto 28px;
    color: rgba(253, 253, 252, 0.76);
}

.footer-credit {
    margin-top: 42px;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: rgba(253, 253, 252, 0.58);
}

@media (min-width: 680px) {
    .hero-meta {
        grid-template-columns: repeat(3, max-content);
        gap: 26px;
    }

    .dress-wrap,
    .wish-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .event-grid,
    .countdown-panel,
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .rsvp-card {
        padding: 38px;
    }

    .form-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .field.full,
    .radio-group.full {
        grid-column: 1 / -1;
    }

    .radio-row {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 900px) {
    .section {
        padding: 120px 0;
    }

    .container {
        width: min(100% - 56px, 1180px);
    }

    .desktop-nav,
    .header-date {
        display: flex;
    }

    .mobile-nav {
        display: none;
    }

    .music-toggle {
        right: 28px;
        bottom: 28px;
    }

    .site-header {
        top: 20px;
        left: 24px;
        right: 24px;
    }

    .header-inner {
        height: 66px;
        padding: 0 28px;
    }

    .hero {
        padding: 118px 0;
    }

    .split-layout {
        grid-template-columns: 0.85fr 1.15fr;
        gap: 70px;
    }

    .split-layout.reverse {
        grid-template-columns: 1.1fr 0.9fr;
    }

    .split-layout.reverse .intro-copy {
        order: 2;
    }

    .editorial-photo-grid {
        min-height: 620px;
    }

    .photo-card {
        min-height: 350px;
    }

    .photo-card.tall {
        min-height: 560px;
    }

    .event-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .countdown-panel {
        grid-template-columns: repeat(4, 1fr);
    }

    .timeline-wrap {
        grid-template-columns: repeat(4, 1fr);
    }

    .dress-wrap {
        grid-template-columns: repeat(3, 1fr);
        align-items: stretch;
    }

    .love-timeline {
        gap: 28px;
    }

    .love-timeline::before {
        left: 50%;
        transform: translateX(-50%);
    }

    .love-item {
        grid-template-columns: 1fr 92px 1fr;
        gap: 28px;
        align-items: center;
    }

    .love-year {
        grid-column: 2;
        grid-row: 1;
        justify-self: center;
        width: 86px;
        height: 86px;
    }

    .love-copy {
        grid-column: 3;
        grid-row: 1;
        grid-template-columns: 128px 1fr;
        padding: 18px;
    }

    .love-item:nth-child(even) .love-copy {
        grid-column: 1;
    }

    .love-photo {
        min-height: 164px;
    }

    .gallery-grid {
        grid-template-columns: 1fr 0.75fr 1fr;
        align-items: stretch;
    }

    .gallery-item:nth-child(1) {
        grid-row: span 2;
        min-height: 520px;
    }

    .gallery-item:nth-child(4) {
        grid-column: span 2;
    }

    .rsvp-layout {
        grid-template-columns: 1fr;
        max-width: 860px;
        margin-inline: auto;
    }
}