/* ================================================
   Dino ("Dinosaurus") — Standard Kids Birthday Theme
   A prehistoric dinosaur birthday.
   Palette: fern green · lava orange · sand · stone · dark earth
   Fonts:   Baloo 2 (display / name, chunky) + Nunito (body)
   Style:   Egg-shaped photo, a footprint trail for the party plan, and the
            child's story dug out of rock strata.
   ================================================ */

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

:root {
    --fern:       #5a8f4a;
    --fern-deep:  #3f6b3a;
    --fern-soft:  #e4efdc;
    --lava:       #e0763a;
    --lava-deep:  #c05a24;
    --sand:       #f1e7d0;
    --bone:       #efe6d6;
    --stone:      #8a8072;
    --stone-deep: #5f574a;
    --ink:        #3a3524;
    --text:       #5c5544;
    --muted:      #8f8672;
    --sky:        #a9d4d0;
    --white:      #ffffff;
    --cream:      #fbf6ea;
    --cream-alt:  #f6efdd;
    --border:     rgba(58, 53, 36, .13);
    --accent-color: #5a8f4a;
    --radius:     16px;
    --btn-radius: 50px;

    --ff-display: 'Baloo 2', 'Trebuchet MS', Verdana, sans-serif;
    --ff-body:    'Nunito', -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;

    --earth-line: linear-gradient(90deg, var(--lava), var(--fern) 55%, var(--fern-deep));

    /* 3-toe footprint, used as a mask for the party-plan + RSVP trail markers */
    --bd-footprint: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 34 42'%3E%3Cpath d='M17 42c-5 0-9-4-9-11 0-5 2-8 2-13 0-4 3-7 7-7s7 3 7 7c0 5 2 8 2 13 0 7-4 11-9 11Z'/%3E%3Cellipse cx='6' cy='10' rx='4' ry='5.5'/%3E%3Cellipse cx='28' cy='10' rx='4' ry='5.5'/%3E%3Cellipse cx='17' cy='3.5' rx='4' ry='5'/%3E%3C/svg%3E") no-repeat center / contain;

    --card-shadow: 0 1px 2px rgba(58, 53, 36, .06), 0 10px 26px rgba(58, 53, 36, .09), 0 40px 70px rgba(58, 53, 36, .12);
    --card-shadow-sm: 0 1px 2px rgba(58, 53, 36, .06), 0 12px 28px rgba(58, 53, 36, .1);
}

html { scroll-behavior: smooth; }

body {
    font-family: var(--ff-body);
    color: var(--text);
    background:
        radial-gradient(circle at 1px 1px, rgba(58, 53, 36, .035) 1px, transparent 0) 0 0 / 24px 24px,
        var(--cream);
    line-height: 1.7;
    overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: var(--fern-deep); text-decoration: none; transition: color .2s; }
a:hover { color: var(--lava-deep); }

/* ── Containers ─────────────────────────────── */
.bd-container     { max-width: 1080px; margin: 0 auto; padding: 0 1.25rem; }
.bd-container--sm { max-width: 680px; }

/* Alternating section backgrounds, computed from what actually renders. */
.bd-alt-sections > * { background: var(--white); }
.bd-alt-sections > *:nth-child(even) { background: var(--cream-alt); }

.bd-alt-sections .bd-countdown,
.bd-alt-sections .bd-audio,
.bd-alt-sections .bd-story,
.bd-alt-sections .bd-gallery,
.bd-alt-sections .bd-program,
.bd-alt-sections .bd-dress-code,
.bd-alt-sections .bd-good-to-know,
.bd-alt-sections .bd-location,
.bd-alt-sections .bd-accommodation,
.bd-alt-sections .bd-gallery-upload,
.bd-alt-sections .bd-guest-wall,
.bd-alt-sections .bd-album,
.bd-alt-sections .bd-closing,
.bd-alt-sections .bd-rsvp {
    padding: 4.5rem 1rem;
}

/* ── Section helpers ─────────────────────────── */
.bd-section-title {
    position: relative;
    font-family: var(--ff-display);
    font-size: clamp(1.7rem, 4.3vw, 2.4rem);
    font-weight: 400;
    color: var(--ink);
    text-align: center;
    line-height: 1.25;
    padding-bottom: 1.15rem;
    margin-bottom: 1.1rem;
}
.bd-section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 64px;
    height: 5px;
    border-radius: 5px;
    background: var(--earth-line);
}

.bd-eyebrow {
    font-family: var(--ff-body);
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--fern-deep);
    text-align: center;
    margin-bottom: .55rem;
}

/* ── Floating topbar ─────────────────────────── */
.bd-topbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 200;
    padding: .85rem 1.1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: transparent;
    transition: background .3s ease, backdrop-filter .3s ease, box-shadow .3s ease;
}
.bd-topbar__brand {
    font-family: var(--ff-display);
    font-size: 1.1rem;
    font-weight: 400;
    color: var(--ink);
    transition: color .3s ease;
}
@media (min-width: 601px) {
    .bd-topbar.scrolled {
        background: color-mix(in srgb, var(--cream) 92%, transparent);
        backdrop-filter: blur(10px);
        box-shadow: 0 1px 0 var(--border);
    }
}
.bd-topbar__links { display: flex; gap: 1.5rem; margin-left: auto; }
.bd-topbar__links a {
    position: relative;
    font-family: var(--ff-body);
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--ink);
    padding-bottom: .2rem;
}
.bd-topbar__links a::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 100%;
    height: 2px;
    border-radius: 2px;
    background: var(--fern);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform .25s ease;
}
.bd-topbar__links a:hover::after { transform: scaleX(1); transform-origin: left; }

.bd-topbar__toggle { display: none; }

@media (max-width: 600px) {
    .bd-topbar__toggle {
        display: flex;
        flex-direction: column;
        justify-content: center;
        gap: 4px;
        width: 2.4rem;
        height: 2.4rem;
        border: 0;
        border-radius: 999px;
        background: color-mix(in srgb, var(--fern) 22%, var(--white));
        cursor: pointer;
        margin-left: auto;
    }
    .bd-topbar__toggle span {
        display: block;
        width: 17px;
        height: 2px;
        margin: 0 auto;
        background: var(--fern-deep);
        border-radius: 2px;
        transition: transform .25s ease, opacity .2s ease;
    }
    .bd-topbar__toggle.is-active span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
    .bd-topbar__toggle.is-active span:nth-child(2) { opacity: 0; }
    .bd-topbar__toggle.is-active span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

    .bd-topbar__links {
        position: absolute;
        top: calc(100% + .5rem);
        right: 1.1rem;
        left: 1.1rem;
        flex-direction: column;
        gap: 0;
        background: var(--white);
        border-radius: 14px;
        box-shadow: var(--card-shadow-sm);
        padding: .35rem;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-6px);
        transition: opacity .2s ease, transform .2s ease, visibility .2s;
    }
    .bd-topbar__links.is-open { opacity: 1; visibility: visible; transform: translateY(0); }
    .bd-topbar__links a { padding: .7rem .85rem; border-radius: 10px; }
    .bd-topbar__links a:hover { background: var(--cream); }
    .bd-topbar__links a::after { display: none; }
}

/* Demo-only Basic/Standard switch + close + cart — shared look, positioned here. */
.dpb-switch, .dpb-fab { position: fixed; bottom: 1rem; z-index: 9999; }
.dpb-fab { right: 1rem; }
.dpb-close { right: 4rem; }
.dpb-switch {
    left: 1rem;
    display: flex;
    align-items: center;
    height: 2.5rem;
    padding: 0 .25rem;
}
.dpb-switch a {
    display: inline-flex;
    align-items: center;
    height: 2rem;
    padding: 0 .9rem;
    font-size: 12px;
}

/* ── Hero (pattern A: egg-shaped photo + text on sand ground) ── */
.bd-hero {
    position: relative;
    padding: 8rem 0 5.5rem;
    background:
        radial-gradient(ellipse 60% 45% at 84% 12%, color-mix(in srgb, var(--fern) 20%, transparent), transparent),
        radial-gradient(ellipse 55% 45% at 8% 32%, color-mix(in srgb, var(--sky) 26%, transparent), transparent),
        var(--sand);
    overflow: hidden;
}
.bd-hero__tracks {
    position: absolute;
    left: 2%;
    top: 6rem;
    width: min(30vw, 180px);
    color: var(--fern);
    opacity: .16;
    pointer-events: none;
}
.bd-hero__tracks svg { width: 100%; height: auto; display: block; }

.bd-hero__inner {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
    align-items: center;
    gap: 2.75rem;
}

.bd-hero__media { position: relative; justify-self: center; }
.bd-hero__egg {
    position: relative;
    width: min(19rem, 60vw);
    aspect-ratio: 4 / 5;
    border-radius: 50% 50% 46% 46% / 60% 60% 42% 42%;
    overflow: hidden;
    background: var(--fern-soft);
    box-shadow:
        0 0 0 8px var(--white),
        0 0 0 10px color-mix(in srgb, var(--lava) 40%, transparent),
        0 26px 55px rgba(58, 53, 36, .22);
}
.bd-hero__img,
.bd-hero__placeholder {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 30%;
}
.bd-hero__placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3.5rem;
    background: linear-gradient(150deg, var(--sky), var(--fern));
}
.bd-hero__crack {
    position: absolute;
    left: 12%;
    right: 12%;
    top: 16%;
    height: 8px;
    pointer-events: none;
    background: var(--sand);
    clip-path: polygon(0 40%, 10% 70%, 20% 20%, 30% 80%, 40% 30%, 50% 90%, 60% 25%, 70% 75%, 80% 20%, 90% 70%, 100% 45%,
        100% 55%, 90% 85%, 80% 35%, 70% 90%, 60% 40%, 50% 100%, 40% 45%, 30% 95%, 20% 35%, 10% 85%, 0 55%);
    opacity: .55;
}

.bd-hero__frond {
    position: absolute;
    top: -34px;
    right: -18px;
    width: 58px;
    height: auto;
    color: var(--fern);
    transform: rotate(18deg);
    z-index: 3;
}
.bd-hero__dino {
    position: absolute;
    left: -46px;
    bottom: -24px;
    width: 142px;
    height: auto;
    color: var(--fern-deep);
    z-index: 3;
    filter: drop-shadow(0 6px 10px rgba(58, 53, 36, .22));
}

.bd-hero__seal {
    position: absolute;
    right: -14px;
    bottom: 20px;
    width: 72px;
    height: 72px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: radial-gradient(circle at 34% 30%, color-mix(in srgb, var(--lava) 55%, white), var(--lava) 52%, var(--lava-deep) 100%);
    box-shadow: 0 8px 20px rgba(192, 90, 36, .4);
    z-index: 4;
}
.bd-hero__seal::before {
    content: '';
    position: absolute;
    inset: 5px;
    border: 2px dashed rgba(255, 255, 255, .6);
    border-radius: 50%;
}
.bd-hero__seal-num {
    font-family: var(--ff-display);
    font-weight: 700;
    font-size: 2rem;
    color: #fff;
    line-height: 1;
}

.bd-hero__eyebrow {
    font-family: var(--ff-body);
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--fern-deep);
    margin-bottom: .5rem;
}
.bd-hero__name {
    font-family: var(--ff-display);
    font-weight: 700;
    font-size: clamp(2.7rem, 8.5vw, 4.2rem);
    line-height: 1.02;
    color: var(--ink);
    text-shadow: 3px 3px 0 color-mix(in srgb, var(--lava) 24%, transparent);
}
.bd-hero__tagline {
    font-family: var(--ff-display);
    font-weight: 600;
    font-size: clamp(1rem, 3vw, 1.35rem);
    color: var(--lava-deep);
    margin: .5rem 0 1.3rem;
}
.bd-hero__date-pill {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    font-size: .85rem;
    font-weight: 700;
    color: var(--ink);
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 50px;
    padding: .5rem 1.15rem;
    box-shadow: var(--card-shadow-sm);
    margin-bottom: .85rem;
}
.bd-hero__meta {
    display: flex;
    flex-wrap: wrap;
    gap: .35rem 1.35rem;
    font-size: .9rem;
    color: var(--text);
}

@media (max-width: 760px) {
    .bd-hero { padding: 7rem 0 4.5rem; }
    .bd-hero__inner { grid-template-columns: 1fr; text-align: center; gap: 2.75rem; }
    .bd-hero__meta { justify-content: center; }
    .bd-hero__tracks { opacity: .1; }
    .bd-hero__dino { width: 106px; left: -28px; bottom: -14px; }
}

/* ── Note ──────────────────────────────────── */
.bd-note { background: var(--white); padding: 4.25rem 1rem; }
.bd-note__card {
    position: relative;
    background: var(--sand);
    border-radius: var(--radius);
    padding: 2.5rem 2rem;
    text-align: center;
    box-shadow: var(--card-shadow-sm);
}
.bd-note__card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 5px;
    border-radius: var(--radius) var(--radius) 0 0;
    background: var(--earth-line);
}
.bd-note__text {
    font-family: var(--ff-body);
    font-weight: 600;
    font-size: 1.12rem;
    color: var(--ink);
    line-height: 1.7;
}

/* ── Countdown ─────────────────────────────── */
.bd-countdown { text-align: center; }
.bd-countdown__timer {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1.6rem;
}
.bd-countdown__unit {
    min-width: 5rem;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 1.1rem .75rem;
    box-shadow: var(--card-shadow-sm);
}
.bd-countdown__number {
    display: block;
    font-family: var(--ff-display);
    font-size: 1.9rem;
    font-weight: 400;
    color: var(--fern-deep);
    font-variant-numeric: lining-nums tabular-nums;
}
.bd-countdown__label {
    font-size: .68rem;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--muted);
}

/* ── The dig — bespoke rock-strata story ────── */
.bd-story { text-align: center; }
.bd-dig__intro { max-width: 34rem; margin: .5rem auto 0; color: var(--text); }
.bd-dig {
    max-width: 34rem;
    margin: 2.25rem auto 0;
    border: 3px solid var(--stone-deep);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: var(--card-shadow);
    text-align: left;
}
.bd-dig__layer {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    gap: 1.1rem;
    padding: 1.35rem 1.4rem;
    border-bottom: 2px dashed color-mix(in srgb, var(--stone-deep) 45%, transparent);
}
.bd-dig__layer:last-child { border-bottom: 0; }
.bd-dig__layer:nth-child(4n + 1) { background: #efe1c6; }
.bd-dig__layer:nth-child(4n + 2) { background: #ddc39c; }
.bd-dig__layer:nth-child(4n + 3) { background: #c6a67d; }
.bd-dig__layer:nth-child(4n + 4) { background: #ac8b64; }

.bd-dig__fossil {
    flex-shrink: 0;
    width: 88px;
    height: 88px;
    border-radius: 50%;
    overflow: hidden;
    background: var(--stone);
    box-shadow: inset 0 0 0 3px rgba(58, 53, 36, .28), inset 0 6px 14px rgba(58, 53, 36, .4);
}
.bd-dig__img { width: 100%; height: 100%; object-fit: cover; }
.bd-dig__emoji {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    font-size: 2rem;
    background: linear-gradient(150deg, var(--stone), var(--stone-deep));
}
.bd-dig__period {
    font-family: var(--ff-body);
    font-size: .68rem;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--lava-deep);
}
.bd-dig__title {
    font-family: var(--ff-display);
    font-weight: 700;
    font-size: 1.15rem;
    color: var(--ink);
    margin: .1rem 0 .35rem;
}
.bd-dig__desc { font-size: .88rem; line-height: 1.6; color: color-mix(in srgb, var(--ink) 78%, transparent); }

@media (max-width: 520px) {
    .bd-dig__layer { grid-template-columns: 1fr; justify-items: center; text-align: center; gap: .75rem; }
    .bd-dig__fossil { width: 76px; height: 76px; }
}

/* ── Party plan — footprint trail ──────────── */
.bd-program { text-align: center; }
.bd-timeline {
    margin: 1.75rem auto 0;
    max-width: 24rem;
    text-align: left;
    border-left: 2px dashed color-mix(in srgb, var(--accent-color) 55%, transparent);
    padding-left: 1.9rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}
.bd-tl-item { position: relative; display: flex; gap: 1rem; }
.bd-tl-item::before {
    content: '';
    position: absolute;
    left: -2.6rem;
    top: .1rem;
    width: 18px;
    height: 22px;
    background: var(--fern);
    -webkit-mask: var(--bd-footprint);
            mask: var(--bd-footprint);
}
.bd-tl-item:nth-child(even)::before { transform: scaleX(-1); }
.bd-tl-time {
    flex-shrink: 0;
    font-family: var(--ff-display);
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--lava-deep);
    font-variant-numeric: lining-nums tabular-nums;
    min-width: 3.2rem;
}
.bd-tl-label { font-weight: 700; color: var(--ink); }
.bd-tl-loc { font-size: .85rem; color: var(--muted); margin-top: .15rem; }
.bd-tl-loc a { margin-left: .35rem; font-weight: 700; }

/* ── Map ───────────────────────────────────── */
.bd-location { text-align: center; }
.bd-location__address { color: var(--text); margin-bottom: 1.2rem; }
.bd-map {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--card-shadow-sm);
    margin-bottom: 1.5rem;
}
.bd-map iframe { display: block; width: 100%; height: 320px; border: 0; }

/* ── Album / closing ───────────────────────── */
.bd-album { text-align: center; }
.bd-album__sub { color: var(--muted); margin-bottom: 1.5rem; }
.bd-closing { text-align: center; }
.bd-closing__text {
    font-family: var(--ff-display);
    font-weight: 700;
    font-size: 1.15rem;
    color: var(--ink);
}

/* ── Buttons ───────────────────────────────── */
.bd-btn {
    display: inline-block;
    background: var(--accent-color, #5a8f4a);
    color: #fff !important;
    font-family: var(--ff-display);
    font-size: .78rem;
    font-weight: 400;
    letter-spacing: .06em;
    text-transform: uppercase;
    text-decoration: none;
    padding: .95rem 2.4rem;
    border-radius: var(--btn-radius);
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 0 color-mix(in srgb, var(--accent-color, #5a8f4a) 55%, #000),
        0 12px 24px rgba(58, 53, 36, .24);
    transition: transform .15s ease, box-shadow .2s ease, filter .2s ease;
}
.bd-btn:hover {
    filter: brightness(1.05);
    transform: translateY(-2px);
    box-shadow: 0 6px 0 color-mix(in srgb, var(--accent-color, #5a8f4a) 55%, #000),
        0 16px 28px rgba(58, 53, 36, .28);
    text-decoration: none;
}
.bd-btn:active { transform: translateY(1px); box-shadow: 0 2px 0 color-mix(in srgb, var(--accent-color, #5a8f4a) 55%, #000); }

/* ── Shape divider (rocky ridge) ────────────── */
.bd-shape {
    position: absolute;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    pointer-events: none;
    z-index: 1;
}
.bd-shape-top { top: -1px; }
.bd-shape-bottom { bottom: -1px; }
/* The authored path already fills its bottom edge flush with the section
   boundary; a plain bottom seam must NOT rotate. Rotate only the mirror cases. */
.bd-shape[data-negative="true"].bd-shape-bottom,
.bd-shape[data-negative="false"].bd-shape-top { transform: rotate(180deg); }
.bd-shape svg {
    display: block;
    width: calc(100% + 1.3px);
    height: 30px;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
}

/* ── Footer ────────────────────────────────── */
.bd-footer {
    background: var(--fern-deep);
    color: rgba(255, 255, 255, .9);
    text-align: center;
    padding: 3.75rem 1.25rem 3.25rem;
}
.bd-footer__mark {
    width: 26px;
    height: auto;
    margin: 0 auto 1rem;
    color: rgba(255, 255, 255, .6);
}
.bd-footer__name {
    display: block;
    font-family: var(--ff-display);
    font-size: 1.85rem;
    font-weight: 400;
    color: #fff;
}
.bd-footer__date {
    margin-top: .35rem;
    font-size: .9rem;
    letter-spacing: .04em;
    font-variant-numeric: lining-nums;
}
.bd-footer__venue { font-size: .85rem; color: rgba(255, 255, 255, .78); margin-top: .15rem; }
.bd-footer__cal {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    margin-top: 1.6rem;
    background: rgba(255, 255, 255, .16) !important;
    box-shadow: none;
}
.bd-footer__cal:hover { background: rgba(255, 255, 255, .26) !important; transform: translateY(-2px); box-shadow: none; }
.bd-footer__cal-icon { width: 1.05rem; height: 1.05rem; }

/* ── RSVP — the dig site's deepest layer (matched to "our story") ──
   The shared <x-rsvp-form> column is framed like the .bd-dig rock-strata
   panel: a stone border, each step of the form an earth-tone stratum with
   a dashed excavation line between. 3-class-deep so it beats the
   component's own pushed rules. */
.bd-alt-sections .bd-rsvp .rsvp-layout-wrap {
    max-width: 32rem;
    margin: 2.25rem auto 0;
    border: 3px solid var(--stone-deep);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: var(--card-shadow);
    text-align: left;
}
.bd-alt-sections .bd-rsvp .rsvp-deadline,
.bd-alt-sections .bd-rsvp .rsvp-cta,
.bd-alt-sections .bd-rsvp .rsvp-details .form__group {
    margin: 0;
    padding: 1.2rem 1.4rem;
    border-radius: 0;
    border-bottom: 2px dashed color-mix(in srgb, var(--stone-deep) 42%, transparent);
}
.bd-alt-sections .bd-rsvp .rsvp-deadline { background: #efe1c6; color: var(--ink); opacity: 1; }
.bd-alt-sections .bd-rsvp .rsvp-cta { background: #ddc39c; }
.bd-alt-sections .bd-rsvp .rsvp-details { background: #b89873; overflow: hidden; }
.bd-alt-sections .bd-rsvp .rsvp-details .form__group:nth-of-type(odd) { background: #efe1c6; }
.bd-alt-sections .bd-rsvp .rsvp-details .form__group:nth-of-type(even) { background: #d9bd93; }
.bd-alt-sections .bd-rsvp .rsvp-details > button[type="submit"] {
    display: block;
    width: calc(100% - 2.8rem);
    margin: 1.3rem 1.4rem;
}

/* white fields so they read on the earth-tone strata */
.bd-alt-sections .bd-rsvp .form__group input,
.bd-alt-sections .bd-rsvp .form__group select,
.bd-alt-sections .bd-rsvp .form__group textarea,
.bd-alt-sections .bd-rsvp .rsvp-stepper {
    border-radius: 10px;
    background: var(--white);
    border-color: color-mix(in srgb, var(--stone-deep) 35%, transparent);
}
.bd-alt-sections .bd-rsvp .form__group label { color: var(--ink); font-weight: 700; }

/* ── Shared-component tone tweaks ──────────── */
.bd-gallery .gg-item {
    border: 3px solid var(--white);
    border-radius: 6px;
    box-shadow: 0 6px 18px rgba(58, 53, 36, .16);
}
.bd-gallery-upload { text-align: center; }
.bd-gallery-upload .gu-desc {
    text-align: center;
    max-width: 34rem;
    margin-left: auto;
    margin-right: auto;
}

/* ── Responsive ────────────────────────────── */
@media (max-width: 640px) {
    .bd-alt-sections .bd-countdown,
    .bd-alt-sections .bd-audio,
    .bd-alt-sections .bd-story,
    .bd-alt-sections .bd-gallery,
    .bd-alt-sections .bd-program,
    .bd-alt-sections .bd-dress-code,
    .bd-alt-sections .bd-good-to-know,
    .bd-alt-sections .bd-location,
    .bd-alt-sections .bd-accommodation,
    .bd-alt-sections .bd-gallery-upload,
    .bd-alt-sections .bd-guest-wall,
    .bd-alt-sections .bd-album,
    .bd-alt-sections .bd-closing,
    .bd-alt-sections .bd-rsvp {
        padding: 3.5rem 1rem;
    }
}
