﻿/* ===== Theme ===== */
:root {
    --bg: #f8fbfe;
    --ink: #26384b;
    --muted: #687f95;
    --card: #ffffff;
    --soft: #eaf3fa;
    --accent: #8fbddd;
    --accent-2: #b9d7eb;
    --accent-dark: #527c9d;
    --accent-deep: #314f69;
    --champagne: #c5a476;
    --ring: rgba(38, 56, 75, 0.08);
    --link: #547d9d;
    --link-hover: #365b78;
}

html {
    scroll-behavior: smooth;
}

body {
    background: var(--bg);
    color: var(--ink);
}

/* Typography */
body, input, select, button, textarea {
    font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, "Helvetica Neue", Arial, sans-serif;
    letter-spacing: .2px;
}

h1, h2, h3, h4 {
    font-family: "Playfair Display", Georgia, serif;
    color: var(--ink);
    letter-spacing: .3px;
    margin-top: .2rem;
}

h1 {
    font-size: clamp(28px, 3.4vw, 40px);
}

h2 {
    font-size: clamp(22px, 2.4vw, 28px);
}

h3 {
    font-size: clamp(18px, 1.8vw, 22px);
}

/* Links */
a, a:visited {
    color: var(--link);
    text-decoration: none;
}

    a:hover {
        color: var(--link-hover);
        text-decoration: underline;
    }

/* Layout */
.container {
    max-width: 960px;
}

.site-header {
    padding-block: .8rem;
}

.topnav {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

    .topnav ul {
        margin: 0;
    }

.brand a {
    font-family: "Great Vibes","Playfair Display",serif;
    font-size: clamp(26px, 3.2vw, 36px);
    color: var(--ink);
    white-space: nowrap;
}

.brand .amp {
    font-family: "Playfair Display", serif;
    font-weight: 700;
    margin: 0 .15rem;
}

/* Surfaces */
.card {
    background: var(--card);
    border-radius: 16px;
    padding: 1.1rem 1.1rem;
    border: 1px solid rgba(0,0,0,.06);
    box-shadow: 0 1px 0 var(--ring), 0 18px 24px -24px rgba(0,0,0,.45);
}

.hero {
    background: linear-gradient(180deg, var(--soft), rgba(246,239,233,0.2) 75%, transparent);
    padding: 1.25rem 1.1rem;
    border-radius: 18px;
    margin-bottom: 1.25rem;
}

/* Buttons */
button, [role="button"] {
    border-radius: 10px;
}

.btn-primary {
    background: var(--accent) !important;
    border-color: var(--accent) !important;
    color: #fff !important;
}

    .btn-primary:hover {
        filter: brightness(.95);
    }

/* Honeymoon fund */

.honeymoon-section {
    position: relative;
    overflow: hidden;
    background: linear-gradient( 180deg, #f8fbfe, #eaf3fa );
}

    .honeymoon-section::before,
    .honeymoon-section::after {
        content: "";
        position: absolute;
        width: 420px;
        height: 420px;
        border: 1px solid rgba(82, 124, 157, 0.13);
        border-radius: 50%;
    }

    .honeymoon-section::before {
        top: -230px;
        right: -170px;
    }

    .honeymoon-section::after {
        bottom: -250px;
        left: -180px;
    }

    .honeymoon-section .section-inner {
        position: relative;
        z-index: 1;
    }

.honeymoon-gift-grid {
    margin-top: 3.5rem;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem;
}

.honeymoon-gift {
    margin: 0;
    padding: 2.25rem 1.75rem;
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid rgba(143, 189, 221, 0.38);
    border-radius: 24px;
    text-align: center;
    box-shadow: 0 25px 55px -42px rgba(49, 79, 105, 0.55);
    backdrop-filter: blur(7px);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

    .honeymoon-gift:hover {
        transform: translateY(-5px);
        box-shadow: 0 32px 60px -40px rgba(49, 79, 105, 0.68);
    }

.honeymoon-gift-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1.2rem;
    display: grid;
    place-items: center;
    color: var(--accent-deep);
    background: var(--soft);
    border: 1px solid rgba(143, 189, 221, 0.48);
    border-radius: 50%;
    font-family: "Playfair Display", Georgia, serif;
    font-size: 1.55rem;
}

.honeymoon-gift h3 {
    margin-bottom: 0.85rem;
    color: var(--accent-deep);
    font-size: 1.5rem;
    font-weight: 500;
}

.honeymoon-gift p {
    margin: 0;
    color: #60768b;
    font-size: 0.96rem;
    line-height: 1.75;
}

.honeymoon-contribution {
    width: min(680px, 100%);
    margin: 3rem auto 0;
    display: grid;
    justify-items: center;
    gap: 1.1rem;
    text-align: center;
}

    .honeymoon-contribution p {
        margin: 0;
        color: var(--accent-deep);
        font-family: "Playfair Display", Georgia, serif;
        font-size: 1.2rem;
    }

    .honeymoon-contribution small {
        max-width: 520px;
        color: var(--muted);
        line-height: 1.65;
    }

@media (max-width: 800px) {
    .honeymoon-gift-grid {
        grid-template-columns: 1fr;
    }

    .honeymoon-gift {
        width: min(520px, 100%);
        margin-inline: auto;
    }
}

/* ===== RSVP Form Polish (less squished) ===== */
.rsvp .guest-card {
    padding: 1.25rem 1.25rem 1.3rem;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 1px 0 rgba(0,0,0,.05), 0 14px 22px -24px rgba(0,0,0,.45);
    margin-bottom: 1rem;
}

.rsvp .guest-head {
    display: flex;
    align-items: center;
    gap: .6rem;
    margin: .2rem 0 1rem;
    color: #374151;
    font-weight: 700;
}

.rsvp .badge {
    width: 30px;
    height: 30px;
    border-radius: 9999px;
    background: var(--accent);
    color: #fff;
    display: grid;
    place-items: center;
    font-weight: 700;
    font-size: .9rem;
}

/* Text fields only - don't style radio buttons */
.rsvp form input:not([type="radio"]):not([type="checkbox"]),
.rsvp form select,
.rsvp form textarea {
    background: #fff;
    border: 1px solid #e5e7eb;
    color: #111827;
    border-radius: 10px;
    padding: .72rem .9rem;
    box-shadow: none;
}

    .rsvp form input::placeholder,
    .rsvp form textarea::placeholder {
        color: #9ca3af;
    }

/* 12-col grid to spread controls nicely */
.rsvp .fields {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 1rem 1rem;
    align-items: end;
}

.rsvp .col-12 {
    grid-column: span 12;
}

.rsvp .col-6 {
    grid-column: span 6;
}

.rsvp .col-4 {
    grid-column: span 4;
}

.rsvp .col-3 {
    grid-column: span 3;
}

@media (max-width: 1000px) {
    .rsvp .fields [class^="col-"] {
        grid-column: 1 / -1;
    }
}

.rsvp .actions {
    margin-top: 1rem;
}

    .rsvp .actions button {
        width: 100%;
    }

/* Utilities */
.notice {
    padding: .65rem .9rem;
    background: #eef5ff;
    border-radius: 10px;
    border: 1px solid rgba(0,0,0,.06);
}

.help {
    color: var(--muted);
    font-size: .96rem;
}

.site-footer {
    padding: 2rem 0 3rem;
    color: var(--muted);
}

code {
    background: #f3f3f3;
    padding: .15rem .35rem;
    border-radius: 6px;
}


/* =========================================================
   PUBLIC WEDDING WEBSITE
   ========================================================= */

body.public-home {
    margin: 0;
    overflow-x: hidden;
    background: var(--bg);
}

.public-main {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
}

/* Header */

.site-header {
    position: relative;
    z-index: 20;
    padding: 0;
    background: rgba(248, 251, 254, 0.96);
    border-bottom: 1px solid rgba(38, 56, 75, 0.08);
}

.header-inner {
    width: min(1180px, calc(100% - 3rem));
    min-height: 82px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.site-header .brand {
    color: var(--ink);
    font-family: "Great Vibes", cursive;
    font-size: clamp(2rem, 3vw, 2.75rem);
    line-height: 1;
    white-space: nowrap;
}

    .site-header .brand:hover {
        color: var(--ink);
        text-decoration: none;
    }

.public-header {
    position: absolute;
    inset: 0 0 auto;
    z-index: 50;
    background: linear-gradient( to bottom, rgba(24, 42, 58, 0.75), rgba(24, 42, 58, 0.25), transparent );
    border-bottom: 0;
}

    .public-header .brand,
    .public-header .public-nav a {
        color: #ffffff;
        text-shadow: 0 2px 18px rgba(0, 0, 0, 0.45);
    }

.public-nav {
    display: flex;
    align-items: center;
    gap: clamp(1rem, 2.3vw, 2rem);
}

    .public-nav a {
        color: #ffffff;
        font-size: 0.76rem;
        font-weight: 600;
        letter-spacing: 0.13em;
        text-transform: uppercase;
    }

        .public-nav a:hover {
            color: #ffffff;
            opacity: 0.78;
            text-decoration: none;
        }

/* Hero */

.wedding-hero {
    position: relative;
    isolation: isolate;
    min-height: 100vh;
    min-height: 100svh;
    padding: 9rem 1.5rem 6rem;
    display: grid;
    place-items: center;
    overflow: hidden;
    color: #ffffff;
    text-align: center;
    background-image: linear-gradient( rgba(24, 43, 59, 0.32), rgba(24, 43, 59, 0.62) ), url("/images/wedding/hero.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

    .wedding-hero::before {
        content: "";
        position: absolute;
        top: -42%;
        left: -22%;
        z-index: -1;
        width: min(760px, 90vw);
        aspect-ratio: 1;
        border: 1px solid rgba(255, 255, 255, 0.22);
        border-radius: 50%;
    }

    .wedding-hero::after {
        content: "";
        position: absolute;
        right: -22%;
        bottom: -42%;
        z-index: -1;
        width: min(680px, 82vw);
        aspect-ratio: 1;
        border: 1px solid rgba(255, 255, 255, 0.22);
        border-radius: 50%;
    }

.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: -1;
    background: radial-gradient( circle at center, transparent 20%, rgba(20, 38, 53, 0.18) 100% );
}

.wedding-hero-content {
    width: min(920px, 100%);
    animation: hero-arrive 0.9s ease-out both;
}

@keyframes hero-arrive {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.eyebrow {
    margin: 0 0 1.25rem;
    font-size: 0.73rem;
    font-weight: 600;
    letter-spacing: 0.28em;
    text-transform: uppercase;
}

.wedding-hero h1 {
    margin: 0;
    color: #ffffff;
    font-family: "Playfair Display", Georgia, serif;
    font-size: clamp(3.5rem, 10vw, 8.5rem);
    font-weight: 500;
    letter-spacing: -0.055em;
    line-height: 0.9;
    text-shadow: 0 10px 40px rgba(0, 0, 0, 0.35);
}

    .wedding-hero h1 span {
        display: inline-block;
        margin: 0 0.06em;
        font-family: "Great Vibes", cursive;
        font-weight: 400;
    }

.hero-date {
    margin: 2.2rem 0 0.3rem;
    color: #ffffff;
    font-family: "Playfair Display", Georgia, serif;
    font-size: clamp(1.3rem, 3vw, 2rem);
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.hero-venue {
    margin: 0;
    color: rgba(255, 255, 255, 0.92);
    font-size: 0.82rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.hero-actions {
    margin-top: 2.25rem;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.85rem;
}

.wedding-button {
    min-height: 48px;
    padding: 0.78rem 1.45rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ffffff !important;
    background: var(--accent-dark);
    border: 1px solid var(--accent-dark);
    border-radius: 999px;
    font-size: 0.77rem;
    font-weight: 600;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

    .wedding-button:hover {
        color: #ffffff !important;
        background: var(--accent-deep);
        border-color: var(--accent-deep);
        text-decoration: none;
        transform: translateY(-2px);
        box-shadow: 0 14px 25px -17px rgba(38, 56, 75, 0.7);
    }

.wedding-button-outline {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.82);
    backdrop-filter: blur(4px);
}

    .wedding-button-outline:hover {
        background: rgba(255, 255, 255, 0.18);
        border-color: #ffffff;
    }

.scroll-cue {
    position: absolute;
    bottom: 1.6rem;
    display: grid;
    gap: 0.2rem;
    color: rgba(255, 255, 255, 0.85) !important;
    font-size: 0.67rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

    .scroll-cue:hover {
        color: #ffffff !important;
        text-decoration: none;
    }

/* Shared public sections */

.wedding-section {
    padding: clamp(5rem, 10vw, 8rem) 1.5rem;
}

.section-inner {
    width: min(1120px, 100%);
    margin: 0 auto;
}

    .section-inner.narrow {
        width: min(760px, 100%);
        text-align: center;
    }

.section-heading {
    width: min(740px, 100%);
    margin: 0 auto 3rem;
    text-align: center;
}

.wedding-section h2 {
    margin: 0 0 1.25rem;
    color: var(--ink);
    font-family: "Playfair Display", Georgia, serif;
    font-size: clamp(2.5rem, 6vw, 4.7rem);
    font-weight: 500;
    letter-spacing: -0.035em;
    line-height: 1.08;
}

.lead-copy,
.section-heading > p:last-child {
    color: #60768b;
    font-family: "Playfair Display", Georgia, serif;
    font-size: clamp(1.08rem, 2vw, 1.35rem);
    line-height: 1.85;
}

/* Intro */

.intro-section {
    background: linear-gradient( 180deg, #ffffff, var(--bg) );
}

.date-display {
    width: min(510px, 100%);
    margin: 3rem auto 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    border-top: 1px solid #c9dbea;
    border-bottom: 1px solid #c9dbea;
}

    .date-display > div {
        padding: 1.5rem;
        display: grid;
        gap: 0.18rem;
    }

        .date-display > div + div {
            border-left: 1px solid #c9dbea;
        }

    .date-display span {
        color: var(--muted);
        font-size: 0.7rem;
        letter-spacing: 0.18em;
        text-transform: uppercase;
    }

    .date-display strong {
        color: var(--accent-deep);
        font-family: "Playfair Display", Georgia, serif;
        font-size: 2.4rem;
        font-weight: 500;
    }

/* Story photo sections */

.story-section {
    background: #ffffff;
}

.story-section-alt {
    background: var(--soft);
}

.story-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
    align-items: center;
    gap: clamp(2rem, 6vw, 6rem);
}

    .story-grid.reverse {
        grid-template-columns: minmax(320px, 0.95fr) minmax(0, 1.05fr);
    }

.story-copy {
    max-width: 560px;
}

    .story-copy .eyebrow {
        color: var(--accent-dark);
    }

    .story-copy h2 {
        margin-bottom: 1.5rem;
    }

    .story-copy p {
        color: #60768b;
        font-size: 1.05rem;
        line-height: 1.85;
    }

.story-photo {
    position: relative;
    min-height: 620px;
    overflow: hidden;
    border-radius: 180px 180px 22px 22px;
    box-shadow: 0 35px 75px -48px rgba(49, 79, 105, 0.75);
}

    .story-photo::after {
        content: "";
        position: absolute;
        inset: 14px;
        pointer-events: none;
        border: 1px solid rgba(255, 255, 255, 0.72);
        border-radius: 168px 168px 15px 15px;
    }

    .story-photo img {
        width: 100%;
        height: 100%;
        min-height: 620px;
        display: block;
        object-fit: cover;
        object-position: center;
        transition: transform 0.8s ease;
    }

    .story-photo:hover img {
        transform: scale(1.035);
    }

/* Gallery */

.gallery-section {
    background: linear-gradient( 180deg, var(--bg), #ffffff );
}

.photo-gallery {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr 1fr;
    gap: 1rem;
}

.gallery-photo {
    position: relative;
    min-height: 470px;
    overflow: hidden;
    border-radius: 22px;
    box-shadow: 0 24px 55px -40px rgba(49, 79, 105, 0.7);
}

    .gallery-photo:nth-child(2) {
        margin-top: 3rem;
        min-height: 420px;
    }

    .gallery-photo img {
        width: 100%;
        height: 100%;
        display: block;
        object-fit: cover;
        transition: transform 0.65s ease, filter 0.65s ease;
    }

    .gallery-photo:hover img {
        transform: scale(1.045);
        filter: brightness(1.04);
    }

/* Countdown */

.countdown-band {
    padding: 4rem 1.5rem;
    color: #ffffff;
    text-align: center;
    background: linear-gradient( 135deg, #8ebcdd, #6fa6ce );
}

    .countdown-band .eyebrow {
        color: rgba(255, 255, 255, 0.88);
    }

.countdown {
    width: min(820px, 100%);
    margin: 1.75rem auto 0;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

    .countdown > div {
        min-height: 145px;
        padding: 1rem;
        display: grid;
        place-content: center;
        gap: 0.35rem;
        background: rgba(255, 255, 255, 0.14);
        border: 1px solid rgba(255, 255, 255, 0.32);
        border-radius: 18px;
        backdrop-filter: blur(7px);
        box-shadow: 0 20px 35px -28px rgba(40, 68, 91, 0.8);
    }

    .countdown strong {
        color: #ffffff;
        font-family: "Playfair Display", Georgia, serif;
        font-size: clamp(2rem, 5vw, 3.7rem);
        font-weight: 500;
    }

    .countdown span {
        color: rgba(255, 255, 255, 0.88);
        font-size: 0.68rem;
        letter-spacing: 0.16em;
        text-transform: uppercase;
    }

/* Venue and map */

.venue-section {
    background: #eaf3fa;
}

.venue-grid {
    min-height: 520px;
    display: grid;
    grid-template-columns: minmax(300px, 0.8fr) minmax(0, 1.6fr);
    overflow: hidden;
    background: #ffffff;
    border-radius: 24px;
    box-shadow: 0 30px 75px -50px rgba(49, 79, 105, 0.8);
}

.venue-card {
    padding: clamp(2.25rem, 5vw, 4.25rem);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
}

.venue-label {
    margin: 0 0 0.7rem;
    color: var(--accent-dark);
    font-size: 0.69rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.venue-card h3 {
    margin: 0 0 0.8rem;
    color: var(--accent-deep);
    font-family: "Playfair Display", Georgia, serif;
    font-size: clamp(1.85rem, 3vw, 2.8rem);
    font-weight: 500;
}

.venue-card p {
    color: #60768b;
    line-height: 1.7;
}

.venue-card .wedding-button {
    margin-top: 1.25rem;
}

.map-note {
    margin: 0.9rem 0 0 !important;
    color: var(--muted);
    font-size: 0.78rem;
}

.map-frame,
.map-frame iframe {
    width: 100%;
    min-height: 520px;
}

    .map-frame iframe {
        display: block;
        border: 0;
    }

/* Schedule */

.soft-section {
    background: linear-gradient( 180deg, #ffffff, var(--soft) );
}

.timeline-placeholder {
    margin-top: 2.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.9rem;
    color: var(--accent-deep);
    font-family: "Playfair Display", Georgia, serif;
    font-size: 1.08rem;
}

.timeline-dot {
    width: 6px;
    height: 6px;
    flex: 0 0 6px;
    background: var(--champagne);
    border-radius: 50%;
}

/* RSVP */

.rsvp-callout {
    color: #ffffff;
    background: linear-gradient( 135deg, #527c9d, #314f69 );
}

    .rsvp-callout .eyebrow,
    .rsvp-callout h2,
    .rsvp-callout .lead-copy {
        color: #ffffff;
    }

.rsvp-note {
    width: min(610px, 100%);
    margin: 2.5rem auto 0;
    padding: 1.3rem;
    display: grid;
    gap: 0.4rem;
    background: rgba(255, 255, 255, 0.09);
    border: 1px solid rgba(255, 255, 255, 0.26);
    border-radius: 16px;
}

/* FAQ */

.faq-section {
    background: var(--bg);
}

    .faq-section details {
        margin: 0;
        padding: 1.3rem 0;
        background: transparent;
        border: 0;
        border-bottom: 1px solid #caddeb;
        text-align: left;
    }

    .faq-section summary {
        color: var(--accent-deep);
        font-family: "Playfair Display", Georgia, serif;
        font-size: 1.2rem;
        font-weight: 600;
        cursor: pointer;
    }

    .faq-section details p {
        margin: 0.9rem 0 0;
        color: #60768b;
        line-height: 1.7;
    }

/* Footer */

.site-footer {
    padding: 2.5rem 1.5rem;
    color: var(--muted);
}

.public-footer {
    color: rgba(255, 255, 255, 0.8);
    background: var(--accent-deep);
}

.footer-inner {
    width: min(1120px, 100%);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.footer-script {
    color: #ffffff;
    font-family: "Great Vibes", cursive;
    font-size: 2.15rem;
}

/* Mobile */

@media (max-width: 900px) {
    .story-grid,
    .story-grid.reverse {
        grid-template-columns: 1fr;
    }

        .story-grid.reverse .story-photo {
            order: 2;
        }

        .story-grid.reverse .story-copy {
            order: 1;
        }

    .story-copy {
        max-width: 720px;
        margin: 0 auto;
        text-align: center;
    }

    .story-photo {
        width: min(580px, 100%);
        min-height: 560px;
        margin: 0 auto;
    }

        .story-photo img {
            min-height: 560px;
        }
}

@media (max-width: 760px) {
    .header-inner {
        width: min(100% - 2rem, 1180px);
        min-height: 70px;
    }

    .public-nav {
        display: none;
    }

    .wedding-hero {
        min-height: 94svh;
        padding-top: 7rem;
    }

        .wedding-hero h1 span {
            display: block;
            margin: 0.14em 0;
        }

    .hero-actions {
        flex-direction: column;
        align-items: center;
    }

        .hero-actions .wedding-button {
            width: min(280px, 100%);
        }

    .countdown {
        grid-template-columns: repeat(2, 1fr);
    }

        .countdown > div {
            min-height: 125px;
        }

    .venue-grid {
        grid-template-columns: 1fr;
    }

    .venue-card {
        align-items: center;
        text-align: center;
    }

    .map-frame,
    .map-frame iframe {
        min-height: 390px;
    }

    .photo-gallery {
        grid-template-columns: 1fr;
    }

    .gallery-photo,
    .gallery-photo:nth-child(2) {
        min-height: 440px;
        margin-top: 0;
    }

    .timeline-placeholder {
        flex-direction: column;
    }

    .footer-inner {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .story-photo,
    .story-photo img {
        min-height: 470px;
    }

    .story-photo {
        border-radius: 130px 130px 18px 18px;
    }

        .story-photo::after {
            border-radius: 120px 120px 12px 12px;
        }

    .gallery-photo,
    .gallery-photo:nth-child(2) {
        min-height: 360px;
    }
}


/* ===========================================
   WEDDING RSVP - FINAL STYLING
   =========================================== */

/* RSVP container */
.rsvp-simple {
    max-width: 760px;
    margin: 2rem auto 3rem;
    padding: clamp(1.25rem, 4vw, 2.5rem);
}

    .rsvp-simple h1 {
        margin-bottom: 1rem;
    }

    .rsvp-simple h2 {
        margin: 2rem 0 0.75rem;
        font-size: 1.5rem;
    }

    .rsvp-simple .help {
        margin-bottom: 1.5rem;
    }

    /* ===========================================
   WEDDING BREAKFAST NOTICE
   =========================================== */

    .rsvp-simple .rsvp-menu-note {
        display: block;
        box-sizing: border-box;
        width: 100%;
        padding: 1.5rem;
        margin: 1.75rem 0;
        background-color: #eaf3fa !important;
        border: 1px solid #b9d7eb !important;
        border-left: 4px solid #527c9d !important;
        border-radius: 14px;
    }

        .rsvp-simple .rsvp-menu-note strong {
            display: block;
            margin-bottom: 0.5rem;
            color: #314f69;
            font-size: 1.1rem;
        }

        .rsvp-simple .rsvp-menu-note p {
            margin: 0;
            color: #26384b;
        }

    /* ===========================================
   INDIVIDUAL GUEST CARDS
   =========================================== */

    .rsvp-simple .guest-card {
        padding: 1.5rem;
        margin: 1.25rem 0;
        background: #ffffff;
        border: 1px solid #dce8f1;
        border-radius: 14px;
    }

    .rsvp-simple .guest-head {
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 1rem;
        margin: 0 0 1.25rem;
        padding-bottom: 0.75rem;
        border-bottom: 1px solid #e5eef5;
        color: #314f69;
        font-weight: 600;
    }

    /* ===========================================
   DIETARY REQUIREMENTS
   =========================================== */

    .rsvp-simple .rsvp-dietary {
        display: block;
        width: 100%;
        margin: 1.5rem 0 0;
        padding: 0;
        border: 0;
    }

        .rsvp-simple .rsvp-dietary legend {
            display: block;
            margin-bottom: 0.75rem;
            font-weight: 500;
            color: #26384b;
        }

    /* Always place Yes and No side by side */
    .rsvp-simple .rsvp-choice-row {
        display: grid !important;
        grid-template-columns: max-content max-content !important;
        align-items: center !important;
        justify-content: start !important;
        column-gap: 2rem !important;
        row-gap: 0 !important;
        width: 100%;
        margin: 0;
        padding: 0;
    }

        /* Each radio option */
        .rsvp-simple .rsvp-choice-row label.rsvp-choice {
            position: relative;
            display: inline-flex !important;
            flex-direction: row !important;
            align-items: center !important;
            justify-content: flex-start !important;
            gap: 0.65rem !important;
            width: max-content !important;
            min-width: 0 !important;
            margin: 0 !important;
            padding: 0 !important;
            font-weight: 400;
            cursor: pointer;
            color: #26384b;
        }

        /*
   Hide the browser's native radio appearance.
   Keep the actual input for keyboard controls,
   accessibility and form submission.
*/
        .rsvp-simple .rsvp-choice-row
        .rsvp-choice input[type="radio"] {
            -webkit-appearance: none !important;
            appearance: none !important;
            position: absolute !important;
            width: 1px !important;
            height: 1px !important;
            min-width: 0 !important;
            min-height: 0 !important;
            margin: 0 !important;
            padding: 0 !important;
            border: 0 !important;
            box-shadow: none !important;
            opacity: 0 !important;
            overflow: hidden !important;
            clip-path: inset(50%) !important;
            pointer-events: none !important;
        }

    /* Our own circular radio indicator */
    .rsvp-simple .rsvp-radio-dot {
        display: inline-block !important;
        box-sizing: border-box;
        width: 22px !important;
        height: 22px !important;
        flex: 0 0 22px !important;
        border: 2px solid #8fbddd !important;
        border-radius: 50% !important;
        background: #ffffff !important;
        box-shadow: none !important;
        transition: border-color 0.15s ease, background-color 0.15s ease;
    }

    /* Selected indicator */
    .rsvp-simple .rsvp-choice
    input[type="radio"]:checked + .rsvp-radio-dot {
        border-color: #527c9d !important;
        background: radial-gradient( circle, #527c9d 0 5px, #ffffff 6px 100% ) !important;
    }

    /* Keyboard focus */
    .rsvp-simple .rsvp-choice
    input[type="radio"]:focus-visible + .rsvp-radio-dot {
        outline: 3px solid rgba(82, 124, 157, 0.35);
        outline-offset: 3px;
    }

    /* Dietary details */
    .rsvp-simple .rsvp-dietary-details {
        display: block;
        margin-top: 1.25rem;
    }

        .rsvp-simple .rsvp-dietary-details[hidden] {
            display: none !important;
        }

        .rsvp-simple .rsvp-dietary-details textarea {
            width: 100%;
            min-height: 105px;
            resize: vertical;
        }

    /* ===========================================
   BUTTONS
   =========================================== */

    .rsvp-simple .rsvp-add {
        display: block;
        width: 100%;
        margin: 0.5rem 0 1.5rem;
        padding: 0.85rem;
        background: #eaf3fa;
        border: 1px dashed #8fbddd;
        border-radius: 10px;
        color: #314f69;
        cursor: pointer;
    }

        .rsvp-simple .rsvp-add:hover {
            background: #dbeaf5;
        }

    .rsvp-simple .rsvp-remove {
        width: auto !important;
        margin: 0;
        padding: 0.4rem 0.8rem;
        font-size: 0.85rem;
    }

        .rsvp-simple .rsvp-remove[hidden] {
            display: none !important;
        }

    .rsvp-simple .rsvp-song {
        margin-top: 1.5rem;
    }

    .rsvp-simple .actions {
        margin-top: 2rem;
    }

/* ===========================================
   QR CODE PAGE
   =========================================== */

.qr-display {
    text-align: center;
    margin: 2rem auto;
}

    .qr-display img {
        display: block;
        max-width: 100%;
        height: auto;
        margin: 0 auto 1.5rem;
        border-radius: 12px;
    }

    .qr-display code {
        overflow-wrap: anywhere;
    }

/* ===========================================
   MOBILE
   =========================================== */

@media (max-width: 600px) {
    .rsvp-simple {
        margin: 1rem auto 2rem;
        padding: 1.25rem;
    }

        .rsvp-simple .guest-card {
            padding: 1rem;
        }

        .rsvp-simple .rsvp-choice-row {
            column-gap: 1.5rem !important;
        }

        .rsvp-simple .rsvp-menu-note {
            padding: 1.25rem;
        }
}
