/* ================================================
   Little Sailor ("Mali mornar") — Standard Baptism Theme
   A quiet navy christening.
   Palette: deep navy · ivory · warm rope · soft sky
   Fonts:   Fraunces (display / name) + Mulish (body)
   Style:   Arched portrait ringed by a ship's wheel, a fine rope border,
            a single anchor mark, one calm wave seam. Reverent, not a party.
   ================================================ */

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

:root {
    --navy:       #1f3a5f;
    --navy-deep:  #16293f;
    --ivory:      #f5f1e6;
    --ivory-alt:  #fbf8ef;
    --rope:       #c9a870;
    --rope-deep:  #a9884f;
    --sky:        #a8c4dd;
    --ink:        #2c3542;
    --text:       #55606d;
    --muted:      #8b939d;
    --white:      #ffffff;
    --border:     rgba(31, 58, 95, .14);
    --accent-color: #1f3a5f;
    --radius:     16px;
    --btn-radius: 50px;

    --ff-display: 'Fraunces', Georgia, 'Times New Roman', serif;
    --ff-body:    'Mulish', -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;

    --rope-line: repeating-linear-gradient(90deg, var(--rope) 0 8px, transparent 8px 14px);
    --hair-line: linear-gradient(90deg, transparent, var(--rope) 20%, var(--navy) 80%, transparent);

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

html { scroll-behavior: smooth; }

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

body.bsl-scroll-lock {
    position: fixed;
    left: 0;
    right: 0;
    width: 100%;
    overflow: hidden;
}

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

/* ================================================
   ENVELOPE INTRO — foldable-phone style
   CLOSED is a compact half-height cover, sealed shut at the bottom with the
   anchor mark. Clicking cracks the seal and the cover flips open around the
   top hinge (an even 50/50 split — transform-origin: top exactly reflects
   the closed half onto the other half with no gap or overlap, so the open
   card is exactly double the closed cover's height), revealing a full-height
   card: the cover's own back face (top half) plus a second panel that was
   hidden underneath it (bottom half). Together the two halves carry the
   whole env__letter-style composition (motif + kicker up top, name + date
   below) as one continuous surface, held readable for a beat, before the
   whole thing dissolves to reveal the real invitation underneath. Hidden
   entirely with JS off (see .bsl-has-envelope) so the invitation is always
   reachable.
   ================================================ */
.bsl-envelope {
    position: fixed;
    inset: 0;
    z-index: 9998;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 6vh 6vw;
    background: linear-gradient(165deg, var(--navy) 0%, var(--navy-deep) 100%);
    cursor: pointer;
    /* delay = flip duration (.7s) + full-card hold (1.5s), so the overlay
       only starts dissolving once the reader has had time with the open card */
    transition: opacity .5s ease 2.2s, visibility .5s ease 2.2s;
}
.bsl-has-envelope .bsl-envelope { display: flex; }
.bsl-envelope.is-open { opacity: 0; visibility: hidden; pointer-events: none; }

.bsl-envelope::before {
    content: '';
    position: absolute;
    inset: 1.1rem;
    border: 1px solid color-mix(in srgb, var(--rope) 45%, transparent);
    box-shadow: inset 0 0 0 3px color-mix(in srgb, var(--rope) 16%, transparent);
    pointer-events: none;
}

.bsl-envelope__stage {
    position: relative;
    width: min(400px, 88vw);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.4rem;
    animation: bsl-env-rise .8s ease both;
    perspective: 1400px;
}

/* Full open-card height; while closed only the bottom half of this box is
   visually occupied (the folded cover), leaving the top half empty — that
   empty space is what makes it read as compact/folded rather than a
   full-size card lying on its side. */
.bsl-envelope__pocket {
    position: relative;
    width: 100%;
    aspect-ratio: 100 / 100;
}

/* the hidden half: sits behind the cover, revealed once it flips away */
.bsl-envelope__bottom {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 50%;
    z-index: 1;
    background: linear-gradient(160deg, var(--ivory-alt) 0%, var(--ivory) 100%);
    border: 1px solid color-mix(in srgb, var(--rope) 40%, transparent);
    box-shadow: var(--card-shadow);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: .3rem;
    padding: 1.1rem 1.25rem;
}

/* the cover: hinged at the pocket's vertical centre (its own top edge) */
.bsl-envelope__flap {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 50%;
    z-index: 2;
    transform-style: preserve-3d;
    transform-origin: top center;
    transition: transform .7s cubic-bezier(.4, 0, .2, 1);
}
/* unfolds upward around the top hinge — the bottom edge, where the seal
   sits, lifts up and away — ending up in the pocket's TOP half, showing its
   back face: the foldable-phone "opens flat" motion. */
.bsl-envelope.is-open .bsl-envelope__flap {
    transform: rotateX(-180deg);
}

.bsl-envelope__face {
    position: absolute;
    inset: 0;
    backface-visibility: hidden;
    background: linear-gradient(160deg, var(--ivory-alt) 0%, var(--ivory) 100%);
    border: 1px solid color-mix(in srgb, var(--rope) 40%, transparent);
    box-shadow: var(--card-shadow);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: .3rem;
    padding: 1rem 1.25rem;
}
.bsl-envelope__face--front { transform: rotateX(0deg); }
/* pre-rotated 180° from the front, so once the flap itself reaches -180°
   this face's total rotation cancels out to 0 — facing the viewer normally,
   flush against the top of the now-revealed bottom half. */
.bsl-envelope__face--back {
    transform: rotateX(180deg);
    border-bottom: none;
}

.bsl-envelope__wheel {
    width: 44px;
    height: 44px;
    color: var(--rope-deep);
}

.bsl-envelope__kicker {
    font-family: var(--ff-body);
    font-size: .6rem;
    font-weight: 600;
    letter-spacing: .1em;
    color: var(--navy);
    max-width: 24ch;
    line-height: 1.35;
}
.bsl-envelope__name {
    font-family: var(--ff-display);
    font-weight: 600;
    font-size: clamp(1.5rem, 6vw, 2.1rem);
    line-height: 1.1;
    color: var(--navy);
}
.bsl-envelope__name--lg { font-size: clamp(1.9rem, 7.8vw, 2.7rem); }
.bsl-envelope__date {
    font-family: var(--ff-body);
    font-size: .58rem;
    font-weight: 600;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--muted);
}

.bsl-envelope__seal {
    position: absolute;
    left: 50%;
    bottom: -24px;
    transform: translateX(-50%);
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 30%, var(--sky), var(--navy) 55%, var(--navy-deep) 100%);
    box-shadow: 0 6px 16px rgba(22, 41, 63, .4);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px;
    color: var(--rope);
    z-index: 3;
    transition: transform .6s ease, opacity .5s ease;
}
.bsl-envelope__seal::before {
    content: '';
    position: absolute;
    inset: 5px;
    border: 1px dashed rgba(201, 168, 112, .55);
    border-radius: 50%;
}
.bsl-envelope__seal svg { width: 100%; height: 100%; }
.bsl-envelope.is-open .bsl-envelope__seal {
    transform: translateX(-50%) scale(.6);
    opacity: 0;
}

.bsl-envelope__prompt {
    font-family: var(--ff-body);
    font-size: .6rem;
    font-weight: 600;
    letter-spacing: .28em;
    text-transform: uppercase;
    color: var(--ivory);
    animation: bsl-env-pulse 2.6s ease-in-out infinite;
}
.bsl-envelope.is-open .bsl-envelope__prompt {
    opacity: 0;
    animation: none;
    transition: opacity .3s ease;
}

@keyframes bsl-env-rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }
@keyframes bsl-env-pulse { 0%, 100% { opacity: .6; } 50% { opacity: 1; } }

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

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

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

/* ── Section helpers ─────────────────────────── */
.bsl-section-title {
    position: relative;
    font-family: var(--ff-display);
    font-optical-sizing: auto;
    font-size: clamp(1.7rem, 4.3vw, 2.4rem);
    font-weight: 500;
    color: var(--ink);
    text-align: center;
    line-height: 1.2;
    padding-bottom: 1.35rem;
    margin-bottom: 1.15rem;
}
.bsl-section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 54px;
    height: 2px;
    background: var(--hair-line);
}
/* A tiny anchor dot on the seam instead of a diamond. */
.bsl-section-title::before {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 50%;
    width: 7px;
    height: 7px;
    transform: translateX(-50%);
    border-radius: 50%;
    background: var(--rope-deep);
    z-index: 1;
}

.bsl-eyebrow {
    font-family: var(--ff-body);
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .26em;
    text-transform: uppercase;
    color: var(--rope-deep);
    text-align: center;
    margin-bottom: .6rem;
}

/* ── Floating topbar ─────────────────────────── */
.bsl-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;
}
.bsl-topbar .bsl-topbar__brand { display: none; }
.bsl-topbar__brand {
    font-family: var(--ff-display);
    font-size: 1rem;
    font-weight: 500;
    color: var(--navy);
    transition: color .3s ease, text-shadow .3s ease;
}
@media (min-width: 601px) {
    .bsl-topbar.scrolled {
        background: color-mix(in srgb, var(--ivory) 92%, transparent);
        backdrop-filter: blur(10px);
        box-shadow: 0 1px 0 var(--border);
    }
    .bsl-topbar.scrolled .bsl-topbar__brand { color: var(--navy); text-shadow: none; }
}
.bsl-topbar__links { display: flex; gap: 1.5rem; margin-left: auto; }
.bsl-topbar__links a {
    position: relative;
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: #fff;
    text-shadow: 0 1px 6px rgba(0, 0, 0, .4);
    padding-bottom: .2rem;
}
.bsl-topbar.scrolled .bsl-topbar__links a { color: var(--navy); text-shadow: none; }
.bsl-topbar__links a::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 100%;
    height: 1px;
    background: currentColor;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform .25s ease;
}
.bsl-topbar__links a:hover::after { transform: scaleX(1); transform-origin: left; }

.bsl-topbar__toggle { display: none; }

@media (max-width: 600px) {
    .bsl-topbar__toggle {
        display: flex;
        flex-direction: column;
        justify-content: center;
        gap: 4px;
        width: 2.4rem;
        height: 2.4rem;
        border: 0;
        border-radius: 999px;
        background: rgba(22, 41, 63, .55);
        backdrop-filter: blur(6px);
        cursor: pointer;
        margin-left: auto;
    }
    .bsl-topbar__toggle span {
        display: block;
        width: 17px;
        height: 2px;
        margin: 0 auto;
        background: #fff;
        border-radius: 2px;
        transition: transform .25s ease, opacity .2s ease;
    }
    .bsl-topbar__toggle.is-active span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
    .bsl-topbar__toggle.is-active span:nth-child(2) { opacity: 0; }
    .bsl-topbar__toggle.is-active span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

    .bsl-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;
    }
    .bsl-topbar__links.is-open { opacity: 1; visibility: visible; transform: translateY(0); }
    .bsl-topbar__links a { color: var(--navy); text-shadow: none; padding: .7rem .85rem; border-radius: 10px; }
    .bsl-topbar__links a:hover { background: var(--ivory); }
    .bsl-topbar__links a::after { display: none; }
    .bsl-topbar.scrolled .bsl-topbar__brand { 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 (navy keepsake column, pattern A framing) ── */
.bsl-hero {
    position: relative;
    padding: 8rem 1.25rem 5.5rem;
    text-align: center;
    background:
        radial-gradient(ellipse 80% 55% at 50% 0%, color-mix(in srgb, var(--sky) 22%, transparent), transparent),
        linear-gradient(180deg, var(--navy) 0%, var(--navy-deep) 100%);
    color: var(--ivory);
    overflow: hidden;
}
.bsl-hero__inner { position: relative; z-index: 2; max-width: 34rem; margin: 0 auto; }

.bsl-hero__media {
    position: relative;
    width: min(17rem, 62vw);
    margin: 0 auto 2rem;
}
.bsl-hero__wheel {
    position: absolute;
    inset: -13%;
    width: 126%;
    height: 126%;
    color: color-mix(in srgb, var(--rope) 80%, transparent);
    opacity: .9;
}
.bsl-hero__frame {
    position: relative;
    aspect-ratio: 4 / 5;
    border-radius: 999px 999px 20px 20px;
    overflow: hidden;
    background: var(--sky);
    box-shadow:
        0 0 0 6px var(--ivory),
        0 0 0 7px color-mix(in srgb, var(--rope) 60%, transparent),
        0 24px 50px rgba(0, 0, 0, .35);
}
.bsl-hero__img { width: 100%; height: 100%; object-fit: cover; }
.bsl-hero__placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    background: linear-gradient(150deg, var(--sky), var(--navy));
}

.bsl-hero__eyebrow {
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .24em;
    text-transform: uppercase;
    color: color-mix(in srgb, var(--rope) 85%, white);
    margin-bottom: .7rem;
}
.bsl-hero__name {
    font-family: var(--ff-display);
    font-optical-sizing: auto;
    font-weight: 500;
    font-size: clamp(2.3rem, 8vw, 3.6rem);
    line-height: 1.08;
    color: #fff;
}
.bsl-hero__anchor {
    width: 26px;
    height: 28px;
    margin: 1rem auto .9rem;
    color: color-mix(in srgb, var(--rope) 85%, white);
}
.bsl-hero__date {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .75rem;
    font-family: var(--ff-display);
    font-size: 1.05rem;
    color: var(--ivory);
    font-variant-numeric: lining-nums tabular-nums;
}
.bsl-hero__date-dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--rope);
}
.bsl-hero__godparent {
    margin-top: .85rem;
    font-size: .88rem;
    color: color-mix(in srgb, var(--ivory) 82%, transparent);
}
.bsl-hero__lines {
    margin-top: 1.1rem;
    font-size: .92rem;
    color: color-mix(in srgb, var(--ivory) 88%, transparent);
}
.bsl-hero__lines strong { color: #fff; }
.bsl-hero__lines-sub { font-size: .82rem; color: color-mix(in srgb, var(--ivory) 68%, transparent); margin-top: .15rem; }

/* ── Blessing / note ───────────────────────── */
.bsl-note { background: var(--white); padding: 4.25rem 1rem; }
.bsl-note__card {
    position: relative;
    background: var(--ivory);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2.75rem 2.25rem 2.25rem;
    text-align: center;
    box-shadow: var(--card-shadow-sm);
}
.bsl-note__card::before {
    content: '';
    position: absolute;
    top: 0; left: 1.25rem; right: 1.25rem;
    height: 3px;
    background: var(--rope-line);
}
.bsl-note__text {
    font-family: var(--ff-display);
    font-style: italic;
    font-size: 1.2rem;
    color: var(--ink);
    line-height: 1.7;
}
.bsl-note__anchor {
    width: 22px;
    height: 24px;
    margin: 1.1rem auto 0;
    color: var(--rope-deep);
}

/* ── Countdown ─────────────────────────────── */
.bsl-countdown { text-align: center; }
.bsl-countdown__timer {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1.6rem;
}
.bsl-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);
}
.bsl-countdown__number {
    display: block;
    font-family: var(--ff-display);
    font-size: 2rem;
    font-weight: 600;
    color: var(--navy);
    font-variant-numeric: lining-nums tabular-nums;
}
.bsl-countdown__label {
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--muted);
}

/* ── Godparents ────────────────────────────── */
.bsl-godparents { text-align: center; }
.bsl-godparents__card {
    margin-top: 1.5rem;
    background: var(--navy);
    color: var(--ivory);
    border-radius: var(--radius);
    padding: 2.25rem 2rem;
    box-shadow: var(--card-shadow);
}
.bsl-godparents__names {
    font-family: var(--ff-display);
    font-size: 1.6rem;
    color: #fff;
}
.bsl-godparents__note {
    margin-top: .6rem;
    font-size: .9rem;
    color: color-mix(in srgb, var(--ivory) 82%, transparent);
}

/* ── Program (order of service) ────────────── */
.bsl-program { text-align: center; }
.bsl-program__list {
    margin: 1.75rem auto 0;
    max-width: 24rem;
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
    text-align: left;
}
.bsl-program__item {
    border-left: 2px solid color-mix(in srgb, var(--rope) 60%, transparent);
    padding-left: 1rem;
}
.bsl-program__line {
    font-family: var(--ff-display);
    font-size: 1.05rem;
    color: var(--ink);
}
.bsl-program__line strong { color: var(--navy); font-variant-numeric: lining-nums tabular-nums; }
.bsl-program__sep { color: var(--rope-deep); margin: 0 .5rem; }
.bsl-program__where { font-size: .85rem; color: var(--muted); margin-top: .15rem; }
.bsl-program__where a { margin-left: .35rem; font-weight: 600; }

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

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

/* ── Buttons ───────────────────────────────── */
.bsl-btn {
    display: inline-block;
    background: var(--navy);
    color: #fff !important;
    font-family: var(--ff-body);
    font-size: .74rem;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    text-decoration: none;
    padding: .95rem 2.4rem;
    border: 1px solid var(--navy);
    border-radius: var(--btn-radius);
    cursor: pointer;
    box-shadow: 0 10px 24px rgba(31, 58, 95, .28);
    transition: background .2s ease, border-color .2s ease, transform .15s ease, box-shadow .2s ease;
}
.bsl-btn:hover {
    background: var(--rope-deep);
    border-color: var(--rope-deep);
    box-shadow: 0 12px 28px rgba(169, 136, 79, .35);
    transform: translateY(-2px);
    text-decoration: none;
}

/* ── Shape divider ─────────────────────────── */
.bsl-shape {
    position: absolute;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    pointer-events: none;
    z-index: 1;
}
.bsl-shape-top { top: -1px; }
.bsl-shape-bottom { bottom: -1px; }
/* The authored path already fills its BOTTOM edge (flush with the section
   boundary) with the wave crests biting the other way — so a plain
   bottom-of-a-dark-hero seam must NOT rotate, or the transparent half lands on
   the boundary and reveals the navy ground as a stray band. Rotate only the
   mirror cases. */
.bsl-shape[data-negative="true"].bsl-shape-bottom,
.bsl-shape[data-negative="false"].bsl-shape-top { transform: rotate(180deg); }
.bsl-shape svg {
    display: block;
    width: calc(100% + 1.3px);
    height: 38px;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
}

/* ── Footer ────────────────────────────────── */
.bsl-footer {
    background: var(--navy-deep);
    color: rgba(245, 241, 230, .9);
    text-align: center;
    padding: 3.75rem 1.25rem 3.25rem;
}
.bsl-footer__anchor {
    width: 26px;
    height: 28px;
    margin: 0 auto 1rem;
    color: rgba(201, 168, 112, .8);
}
.bsl-footer__name {
    display: block;
    font-family: var(--ff-display);
    font-size: 1.7rem;
    font-weight: 500;
    color: #fff;
}
.bsl-footer__date {
    margin-top: .35rem;
    font-size: .9rem;
    letter-spacing: .04em;
    font-variant-numeric: lining-nums;
}
.bsl-footer__venue { font-size: .85rem; color: rgba(245, 241, 230, .72); margin-top: .15rem; }
.bsl-footer__cal {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    margin-top: 1.6rem;
    background: rgba(255, 255, 255, .14) !important;
    border-color: rgba(255, 255, 255, .28) !important;
    box-shadow: none;
}
.bsl-footer__cal:hover { background: rgba(255, 255, 255, .24) !important; transform: translateY(-2px); }
.bsl-footer__cal-icon { width: 1.05rem; height: 1.05rem; }

/* ── Shared-component tone tweaks ──────────── */
.bsl-alt-sections .bsl-rsvp .form__group input,
.bsl-alt-sections .bsl-rsvp .form__group select,
.bsl-alt-sections .bsl-rsvp .form__group textarea {
    border-radius: 12px;
}
.bsl-gallery-upload { text-align: center; }
.bsl-gallery-upload .gu-desc {
    text-align: center;
    max-width: 34rem;
    margin-left: auto;
    margin-right: auto;
}

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