/* ============================================
   CUSTOM PROPERTIES
   ============================================ */
:root {
    --font-display: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
    --font-body: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

    --color-sage: #7B8D7B;
    --color-sage-dark: #5F6F5F;
    --color-sage-light: rgba(123, 141, 123, 0.08);
    --color-gold: #C5A47E;
    --color-cream: #FAF7F2;
    --color-linen: #F0EBE1;
    --color-white: #FFFFFF;
    --color-text: #2D3436;
    --color-text-light: #636E72;
    --color-border: #DDD5C9;

    --nav-height: 72px;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--nav-height);
}

body {
    font-family: var(--font-body);
    font-weight: 300;
    font-size: 16px;
    line-height: 1.7;
    color: var(--color-text);
    background: var(--color-cream);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    opacity: 0;
    transition: opacity 0.4s ease;
}

body.loaded {
    opacity: 1;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--color-sage);
    text-decoration: none;
    transition: color 0.3s;
}

a:hover {
    color: var(--color-sage-dark);
}

/* ============================================
   UTILITIES
   ============================================ */
.hidden {
    display: none !important;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
}

.skip-link {
    position: absolute;
    left: -9999px;
    z-index: 9999;
    padding: 8px 16px;
    background: var(--color-sage);
    color: var(--color-white);
    font-size: 0.85rem;
}

.skip-link:focus {
    left: 8px;
    top: 8px;
}

.required {
    color: var(--color-sage);
}

/* ============================================
   NAVIGATION
   ============================================ */
#main-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: var(--nav-height);
    display: flex;
    align-items: center;
    background: transparent;
    transition: background-color 0.4s, box-shadow 0.4s;
}

#main-nav.scrolled {
    background: rgba(250, 247, 242, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 1px 0 var(--color-border);
}

.nav-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 400;
    letter-spacing: 0.15em;
    color: var(--color-text);
    text-decoration: none;
}

.nav-logo:hover {
    color: var(--color-sage);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 36px;
}

.nav-links a {
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--color-text-light);
    text-decoration: none;
    padding: 4px 0;
    position: relative;
    transition: color 0.3s;
}

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

.nav-links a:hover,
.nav-links a.active {
    color: var(--color-text);
}

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

.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 10;
}

.nav-toggle span {
    display: block;
    width: 22px;
    height: 1.5px;
    background: var(--color-text);
    margin: 5px 0;
    transition: transform 0.3s, opacity 0.3s;
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(4.5px, 4.5px);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(4.5px, -4.5px);
}

/* ============================================
   HERO
   ============================================ */
.hero {
    min-height: 100vh;
    min-height: 100svh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    text-align: center;
    padding: 100px 24px 80px;
    background: radial-gradient(ellipse at 50% 40%, var(--color-cream) 0%, var(--color-linen) 100%);
}

.hero-content {
    max-width: 700px;
}

.hero-prelude {
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    color: var(--color-text-light);
    margin-bottom: 24px;
}

.hero-names h1 {
    font-family: var(--font-display);
    display: flex;
    flex-direction: column;
    align-items: center;
    line-height: 1;
    font-weight: 300;
}

.first-name {
    font-size: 5rem;
    letter-spacing: 0.08em;
}

.ampersand {
    font-size: 2.2rem;
    font-style: italic;
    font-weight: 300;
    color: var(--color-gold);
    margin: 10px 0;
}

.hero-details {
    margin-top: 8px;
}

.hero-date {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 400;
    letter-spacing: 0.12em;
    color: var(--color-text);
}

.hero-year {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 300;
    letter-spacing: 0.12em;
    color: var(--color-text-light);
    margin-top: 2px;
}

.hero-venue {
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--color-text-light);
    margin-top: 24px;
}

/* Countdown */
.countdown {
    display: flex;
    justify-content: center;
    gap: 32px;
    margin-top: 48px;
}

.countdown-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.countdown-number {
    font-family: var(--font-display);
    font-size: 2.8rem;
    font-weight: 300;
    color: var(--color-text);
    line-height: 1;
    min-width: 60px;
}

.countdown-label {
    font-family: var(--font-body);
    font-size: 0.65rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--color-text-light);
    margin-top: 8px;
}

/* Scroll indicator */
.scroll-indicator {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
}

.scroll-indicator span {
    font-family: var(--font-body);
    font-size: 0.6rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.25em;
    color: var(--color-text-light);
    display: block;
    margin-bottom: 10px;
}

.scroll-line {
    width: 1px;
    height: 36px;
    background: var(--color-border);
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

.scroll-line::after {
    content: '';
    position: absolute;
    top: -100%;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--color-gold);
    animation: scrollDown 2s ease-in-out infinite;
}

@keyframes scrollDown {
    0% { top: -100%; }
    50% { top: 100%; }
    100% { top: 100%; }
}

/* ============================================
   ORNAMENTS
   ============================================ */
.hero-ornament,
.section-ornament,
.footer-ornament {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin: 20px 0;
}

.ornament-line {
    display: block;
    width: 56px;
    height: 1px;
    background: var(--color-gold);
}

.ornament-diamond {
    color: var(--color-gold);
    font-size: 7px;
    line-height: 1;
}

/* ============================================
   SECTIONS (common)
   ============================================ */
.section {
    padding: 100px 0;
}

.section-alt {
    background: var(--color-linen);
}

.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-title {
    font-family: var(--font-display);
    font-size: 2.6rem;
    font-weight: 300;
    color: var(--color-text);
    letter-spacing: 0.04em;
}

.section-subtitle {
    font-family: var(--font-body);
    font-weight: 300;
    font-size: 0.95rem;
    color: var(--color-text-light);
    max-width: 520px;
    margin: 0 auto;
    line-height: 1.8;
}

/* ============================================
   OUR STORY
   ============================================ */
.story-content {
    max-width: 640px;
    margin: 0 auto;
}

.story-block {
    text-align: center;
    margin-bottom: 56px;
}

.story-block:last-child {
    margin-bottom: 0;
}

.story-chapter {
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 400;
    color: var(--color-sage);
    margin-bottom: 16px;
}

.story-text {
    font-weight: 300;
    color: var(--color-text-light);
    line-height: 1.9;
    font-size: 0.95rem;
}

/* ============================================
   SCHEDULE
   ============================================ */
.schedule-timeline {
    max-width: 660px;
    margin: 0 auto;
    position: relative;
    padding-left: 150px;
}

.schedule-timeline::before {
    content: '';
    position: absolute;
    left: 146px;
    top: 8px;
    bottom: 8px;
    width: 1px;
    background: var(--color-border);
}

.schedule-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 40px;
    position: relative;
}

.schedule-item:last-child {
    margin-bottom: 0;
}

.schedule-time {
    position: absolute;
    left: -150px;
    width: 130px;
    text-align: right;
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 400;
    color: var(--color-sage);
    padding-top: 1px;
}

.schedule-dot {
    width: 11px;
    height: 11px;
    border-radius: 50%;
    background: var(--color-gold);
    border: 2px solid var(--color-cream);
    flex-shrink: 0;
    margin-top: 6px;
    margin-right: 20px;
    position: relative;
    z-index: 1;
}

.section:not(.section-alt) .schedule-dot {
    border-color: var(--color-cream);
}

.schedule-details h3 {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 500;
    margin-bottom: 4px;
    color: var(--color-text);
}

.schedule-details p {
    font-weight: 300;
    color: var(--color-text-light);
    font-size: 0.9rem;
}

/* ============================================
   RSVP FORM
   ============================================ */
.rsvp-container {
    max-width: 640px;
    margin: 0 auto;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

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

.form-group label {
    display: block;
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-text-light);
    margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--color-border);
    background: var(--color-white);
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 300;
    color: var(--color-text);
    border-radius: 4px;
    transition: border-color 0.3s;
    appearance: none;
    -webkit-appearance: none;
}

.form-group select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23636E72' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 40px;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-sage);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #B2ADA5;
    font-weight: 300;
}

/* Radio buttons */
.radio-group {
    display: flex;
    gap: 16px;
}

.radio-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    padding: 14px 24px;
    border: 1px solid var(--color-border);
    border-radius: 4px;
    font-size: 0.9rem;
    font-weight: 400;
    transition: border-color 0.3s, background-color 0.3s;
    flex: 1;
    justify-content: center;
}

.radio-label input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.radio-custom {
    width: 16px;
    height: 16px;
    border: 1.5px solid var(--color-border);
    border-radius: 50%;
    margin-right: 10px;
    position: relative;
    flex-shrink: 0;
    transition: border-color 0.3s;
}

.radio-label input[type="radio"]:checked + .radio-custom {
    border-color: var(--color-sage);
}

.radio-label input[type="radio"]:checked + .radio-custom::after {
    content: '';
    position: absolute;
    top: 3px;
    left: 3px;
    width: 8px;
    height: 8px;
    background: var(--color-sage);
    border-radius: 50%;
}

.radio-label:has(input:checked) {
    border-color: var(--color-sage);
    background: var(--color-sage-light);
}

/* Attending details transition */
#attending-details {
    max-height: 500px;
    opacity: 1;
    overflow: hidden;
    transition: max-height 0.5s ease, opacity 0.4s ease, margin 0.5s ease;
}

#attending-details.collapsed {
    max-height: 0;
    opacity: 0;
    margin: 0;
}

/* Submit button */
.btn-submit {
    display: block;
    width: 100%;
    padding: 16px 48px;
    background: var(--color-sage);
    color: var(--color-white);
    border: none;
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    cursor: pointer;
    border-radius: 4px;
    transition: background-color 0.3s;
    margin-top: 8px;
}

.btn-submit:hover {
    background: var(--color-sage-dark);
}

.btn-submit .btn-loading {
    display: none;
}

.btn-submit.loading .btn-text {
    display: none;
}

.btn-submit.loading .btn-loading {
    display: inline;
}

.btn-submit.loading {
    opacity: 0.7;
    cursor: wait;
}

/* Success states */
.rsvp-success {
    text-align: center;
    padding: 48px 0;
    animation: fadeInUp 0.6s ease;
}

.success-icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: var(--color-sage);
    color: var(--color-white);
    font-size: 1.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.rsvp-success h3 {
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 400;
    margin-bottom: 8px;
}

.rsvp-success p {
    color: var(--color-text-light);
    font-weight: 300;
}

/* ============================================
   REGISTRY
   ============================================ */
.registry-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 860px;
    margin: 0 auto;
}

.registry-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 44px 28px;
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: 4px;
    text-decoration: none;
    color: var(--color-text);
    transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
}

.registry-card:hover {
    border-color: var(--color-sage);
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
    color: var(--color-text);
}

.registry-icon {
    font-size: 2rem;
    margin-bottom: 16px;
}

.registry-card h3 {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 500;
    margin-bottom: 12px;
}

.registry-link {
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--color-sage);
    letter-spacing: 0.05em;
}

/* ============================================
   ACCOMMODATIONS
   ============================================ */
.venue-info {
    text-align: center;
    margin-bottom: 56px;
    padding: 40px;
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: 4px;
}

.venue-info h3 {
    font-family: var(--font-body);
    font-size: 0.7rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--color-text-light);
    margin-bottom: 8px;
}

.venue-name {
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 400;
    margin-bottom: 6px;
}

.venue-info p {
    color: var(--color-text-light);
    font-size: 0.9rem;
}

.venue-map-link {
    display: inline-block;
    margin-top: 14px;
    font-size: 0.85rem;
    font-weight: 500;
}

.hotel-heading {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 400;
    text-align: center;
    margin-bottom: 28px;
}

.hotel-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 56px;
}

.hotel-card {
    padding: 28px;
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: 4px;
}

.hotel-card h4 {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 500;
    margin-bottom: 6px;
    line-height: 1.3;
}

.hotel-distance {
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--color-sage);
    margin-bottom: 8px;
}

.hotel-card p {
    font-size: 0.88rem;
    color: var(--color-text-light);
}

.hotel-card a {
    display: inline-block;
    margin-top: 14px;
    font-size: 0.85rem;
    font-weight: 500;
}

/* Travel notes */
.travel-notes h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 400;
    text-align: center;
    margin-bottom: 28px;
}

.travel-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.travel-item h4 {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: 8px;
}

.travel-item p {
    font-weight: 300;
    color: var(--color-text-light);
    font-size: 0.9rem;
    line-height: 1.75;
}

/* ============================================
   GALLERY
   ============================================ */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    max-width: 960px;
    margin: 0 auto;
}

.gallery-item {
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-radius: 4px;
    cursor: pointer;
}

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

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-placeholder {
    background: var(--color-linen);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: default;
}

.gallery-placeholder span {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-style: italic;
    color: var(--color-border);
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    padding: 72px 0 40px;
    text-align: center;
    background: var(--color-linen);
}

.footer-names {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 300;
    letter-spacing: 0.06em;
    margin: 20px 0 4px;
}

.footer-date {
    font-size: 0.85rem;
    font-weight: 300;
    color: var(--color-text-light);
    margin-bottom: 16px;
}

.footer-hashtag {
    font-family: var(--font-display);
    font-style: italic;
    font-size: 1.05rem;
    color: var(--color-sage);
}

/* ============================================
   LIGHTBOX
   ============================================ */
.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.92);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
}

.lightbox.active {
    opacity: 1;
    pointer-events: all;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 24px;
    background: none;
    border: none;
    color: var(--color-white);
    font-size: 2.5rem;
    cursor: pointer;
    line-height: 1;
    opacity: 0.7;
    transition: opacity 0.3s;
}

.lightbox-close:hover {
    opacity: 1;
}

.lightbox-prev,
.lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--color-white);
    font-size: 3rem;
    cursor: pointer;
    padding: 16px;
    opacity: 0.6;
    transition: opacity 0.3s;
}

.lightbox-prev:hover,
.lightbox-next:hover {
    opacity: 1;
}

.lightbox-prev {
    left: 16px;
}

.lightbox-next {
    right: 16px;
}

.lightbox-content img {
    max-width: 88vw;
    max-height: 85vh;
    border-radius: 2px;
}

/* ============================================
   SCROLL ANIMATIONS
   ============================================ */
.fade-in {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

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

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================
   MEDIA QUERIES
   ============================================ */

/* Tablet */
@media (max-width: 900px) {
    .hotel-grid,
    .travel-grid {
        grid-template-columns: 1fr;
        max-width: 480px;
        margin-left: auto;
        margin-right: auto;
    }

    .hotel-grid {
        margin-bottom: 56px;
    }

    .registry-grid {
        grid-template-columns: 1fr;
        max-width: 360px;
    }
}

@media (max-width: 768px) {
    :root {
        --nav-height: 60px;
    }

    /* Nav mobile */
    .nav-toggle {
        display: block;
    }

    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(250, 247, 242, 0.98);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        flex-direction: column;
        align-items: center;
        gap: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s ease;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
    }

    .nav-links.active {
        max-height: 400px;
    }

    .nav-links li {
        width: 100%;
        text-align: center;
    }

    .nav-links a {
        display: block;
        padding: 16px 24px;
    }

    .nav-links a::after {
        display: none;
    }

    /* Hero mobile */
    .first-name {
        font-size: 3.2rem;
    }

    .ampersand {
        font-size: 1.6rem;
        margin: 6px 0;
    }

    .hero-prelude {
        font-size: 0.65rem;
    }

    .hero-date {
        font-size: 1.1rem;
    }

    .hero-year {
        font-size: 0.95rem;
    }

    .countdown {
        gap: 20px;
        margin-top: 36px;
    }

    .countdown-number {
        font-size: 2rem;
    }

    .countdown-label {
        font-size: 0.55rem;
    }

    /* Sections mobile */
    .section {
        padding: 72px 0;
    }

    .section-title {
        font-size: 2rem;
    }

    .section-header {
        margin-bottom: 48px;
    }

    /* Schedule mobile */
    .schedule-timeline {
        padding-left: 40px;
    }

    .schedule-timeline::before {
        left: 14px;
    }

    .schedule-time {
        position: static;
        width: auto;
        text-align: left;
        margin-bottom: 2px;
        font-size: 0.95rem;
    }

    .schedule-item {
        flex-direction: column;
        padding-left: 0;
        margin-bottom: 32px;
    }

    .schedule-dot {
        position: absolute;
        left: -33px;
        top: 4px;
        margin: 0;
    }

    /* Form mobile */
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .radio-group {
        flex-direction: column;
    }

    /* Gallery mobile */
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }
}

@media (max-width: 480px) {
    .first-name {
        font-size: 2.6rem;
    }

    .ampersand {
        font-size: 1.4rem;
    }

    .hero-venue {
        font-size: 0.7rem;
        letter-spacing: 0.12em;
    }

    .countdown {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 16px 24px;
        max-width: 240px;
        margin: 36px auto 0;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .ornament-line {
        width: 40px;
    }
}
