/* ================================================
   Wild One Safari Birthday Theme – Digital Invitation
   Jungle-safari motif, warm khaki-and-green palette, paw-print badge,
   playful rounded type. All artwork is CSS/SVG — no photo assets.
   ================================================ */

/* ---------- CSS Reset & Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    --cream:        #FAF3E1;
    --cream-alt:    #F3E6C4;
    --white:        #FFFFFF;
    --ink:          #2E2A1F;
    --body:         #6B6350;
    --muted:        #948C74;
    --green:        #4C7A52;
    --green-light:  #7FA875;
    --green-pale:   #DCEAD6;
    --orange:       #E08A3C;
    --orange-pale:  #F6D9AF;
    --brown:        #8B5A2B;
    --accent-color: var(--green);
    --radius:       16px;
    --btn-radius:   999px;
    --ff-display:   'Chewy', 'Comic Sans MS', cursive, sans-serif;
    --ff-body:      'Quicksand', sans-serif;

    /* Wave curve baked into a background-image so it can auto-alternate per
       section via nth-child without repeating markup — same technique as
       the cosmic theme, recolored for the warm khaki palette. */
    --bs-wave-cream: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1000 100' preserveAspectRatio='none'%3E%3Cpath d='M0,60 Q62.5,10 125,60 T250,60 T375,60 T500,60 T625,60 T750,60 T875,60 T1000,60 L1000,100 L0,100 Z' fill='%23FAF3E1'/%3E%3C/svg%3E");
    --bs-wave-alt:   url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1000 100' preserveAspectRatio='none'%3E%3Cpath d='M0,60 Q62.5,10 125,60 T250,60 T375,60 T500,60 T625,60 T750,60 T875,60 T1000,60 L1000,100 L0,100 Z' fill='%23F3E6C4'/%3E%3C/svg%3E");
    --bs-wave-green: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1000 100' preserveAspectRatio='none'%3E%3Cpath d='M0,60 Q62.5,10 125,60 T250,60 T375,60 T500,60 T625,60 T750,60 T875,60 T1000,60 L1000,100 L0,100 Z' fill='%234C7A52'/%3E%3C/svg%3E");

    /* Palette read by the shared <x-checkerboard-gallery-grid> lightbox engine. */
    --cbg-ink:      #2B2318;
    --cbg-accent:   var(--brown);
    --cbg-backdrop: #14100A;
}

html { scroll-behavior: smooth; }

body {
    font-family: var(--ff-body);
    font-weight: 500;
    color: var(--body);
    background-color: var(--cream);
    line-height: 1.7;
}

img { max-width: 100%; display: block; }
a { color: var(--green); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ---------- Utility ---------- */
.bs-container         { max-width: 1100px; margin: 0 auto; }
.bs-container--narrow { max-width: 680px; }

/* Sections alternate a flat tint so the rhythm stays correct no matter
   which of these are hidden by plan tier, the section-visibility toggle,
   or simply missing data. */
.bs-alt-sections > * {
    position: relative;
    background: var(--cream);
}
.bs-alt-sections > *:nth-child(even) {
    background: var(--cream-alt);
}

.bs-poem::after,
.bs-alt-sections > *:not(:last-child)::after {
    content: '';
    position: absolute;
    left: 0; right: 0; bottom: 0px;
    height: 46px;
    background-repeat: no-repeat;
    background-size: 100% 100%;
    pointer-events: none;
    z-index: 1;
}
.bs-alt-sections > *:nth-child(odd):not(:last-child)::after {
    background-image: var(--bs-wave-alt);
}
.bs-poem::after,
.bs-alt-sections > *:nth-child(even):not(:last-child)::after {
    background-image: var(--bs-wave-cream);
}

.bs-section-title {
    font-family: var(--ff-display);
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    color: var(--ink);
    text-align: center;
    margin-bottom: 1.5rem;
    font-weight: 400;
    position: relative;
    padding-bottom: 1rem;
}
.bs-section-title::after {
    content: '';
    position: absolute;
    top: -22px;
    left: 50%;
    width: 70px;
    height: 14px;
    transform: translateX(-50%);
    background-image:
        radial-gradient(circle at 10px 7px, var(--orange) 6px, transparent 6.5px),
        radial-gradient(circle at 35px 7px, var(--green) 6px, transparent 6.5px),
        radial-gradient(circle at 60px 7px, var(--brown) 6px, transparent 6.5px);
}

@keyframes bs-float {
    0%, 100% { transform: translateY(0) rotate(-6deg); }
    50%      { transform: translateY(-6px) rotate(6deg); }
}

@keyframes bs-sway {
    0%, 100% { transform: translateX(0); }
    50%      { transform: translateX(6px); }
}

/* ---------- Shape dividers ----------
   A full-width SVG with preserveAspectRatio="none" pinned to the section
   edge, so the curve stretches to any width without distorting its height. */
.bs-shape {
    position: absolute;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    direction: ltr;
    pointer-events: none;
    z-index: 1;
}
.bs-shape-top { top: -1px; }
.bs-shape-bottom { bottom: -1px; }
.bs-shape[data-negative="false"].bs-shape-bottom,
.bs-shape[data-negative="true"].bs-shape-top {
    transform: rotate(180deg);
}
.bs-shape svg {
    display: block;
    width: calc(100% + 1.3px);
    height: 60px;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
}
.bs-shape-fill {
    transform-origin: center;
}

/* ---------- Hero ---------- */
.bs-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding: 0 1.5rem 6rem;
}

.bs-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 18% 25%, rgba(76,122,82,.16), transparent 55%),
        radial-gradient(circle at 82% 75%, rgba(224,138,60,.18), transparent 50%);
    pointer-events: none;
}

/* ---------- Jungle background decorations (leaves + cartoon animal cutouts) ---------- */
.bs-jungle-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 1;
}

.bs-jungle-bg__item {
    position: absolute;
    height: auto;
    display: block;
    color: var(--green);
    opacity: .14;
}

.bs-jungle-bg__item--leaf   { color: var(--green-light); opacity: .32; }
.bs-jungle-bg__item--elephant { color: var(--green-light); opacity: .16; }
.bs-jungle-bg__item--giraffe  { color: var(--orange); opacity: .18; }
.bs-jungle-bg__item--lion     { color: var(--orange); opacity: .16; }
.bs-jungle-bg__item--monkey   { color: var(--brown); opacity: .18; }

@media (max-width: 700px) {
    .bs-jungle-bg__item--elephant,
    .bs-jungle-bg__item--giraffe {
        display: none;
    }
}

.bs-hero__grid {
    position: relative;
    z-index: 3;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 3rem;
}
.bs-hero__grid.bs-container { max-width: 1400px; }

/* ---------- Hero media (circular "binocular lens" window) ---------- */
.bs-hero__media {
    position: relative;
    width: min(440px, 100%);
    margin: 0 auto;
}

.bs-hero__frame {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    /* Irregular "leaf window" blob instead of a plain circle. */
    border-radius: 63% 37% 54% 46% / 43% 51% 49% 57%;
    overflow: hidden;
    background: var(--green-pale);
    border: 10px solid var(--white);
    box-shadow: 0 0 0 4px var(--green), 0 25px 60px rgba(43,35,24,.25);
}

.bs-hero__img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.bs-hero__placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 5rem;
}

.bs-hero__badge {
    position: absolute;
    top: -4px;
    right: 4%;
    width: 128px;
    height: 128px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--white);
    border-radius: 50%;
    box-shadow: 0 8px 20px rgba(43,35,24,.2);
    color: var(--orange);
    animation: bs-float 3.5s ease-in-out infinite;
    z-index: 2;
}
.bs-hero__badge svg { width: 68px; height: 68px; }

/* ---------- Hero content (text column) ---------- */
.bs-hero__content {
    position: relative;
    z-index: 3;
}

.bs-hero__eyebrow {
    font-family: var(--ff-display);
    font-size: 1.05rem;
    font-weight: 400;
    color: var(--green);
    opacity: .9;
    margin-bottom: .5rem;
}

.bs-hero__name {
    font-family: var(--ff-display);
    font-size: 72px;
    font-weight: 400;
    color: var(--ink);
    line-height: 1.15;
    margin-bottom: 1rem;
}

.bs-hero__age {
    font-family: var(--ff-display);
    font-weight: 400;
    font-size: 1.15rem;
    color: var(--brown);
    margin-bottom: 1rem;
}

.bs-hero__date-pill {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    font-family: var(--ff-display);
    font-weight: 400;
    font-size: .95rem;
    color: var(--white);
    background: var(--orange);
    border: 3px solid var(--orange-pale);
    border-radius: var(--btn-radius);
    padding: .65rem 1.25rem;
    box-shadow: 0 4px 15px rgba(224,138,60,.35);
}

.bs-hero__meta {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: .55rem;
    margin-top: 1.25rem;
}

.bs-hero__meta span {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    background: var(--white);
    border: 1px solid var(--green-pale);
    border-radius: var(--btn-radius);
    padding: .5rem 1.15rem;
    font-size: .85rem;
    font-weight: 700;
    color: var(--ink);
    box-shadow: 0 2px 8px rgba(43,35,24,.08);
}

@media (max-width: 820px) {
    .bs-hero__grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .bs-hero__content {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .bs-hero__meta { justify-content: center; }
    .bs-hero__name { font-size: clamp(2rem, 9vw, 72px); }
    .bs-hero__frame {
        width: 80%;
        margin: 5rem auto 0;
    }
    .bs-hero__badge {
        width: 64px;
        height: 64px;
        top: 5rem;
        right: 15%;
    }
}

/* Floating topbar */
.bs-topbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 200;
    padding: .9rem 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: transparent;
    transition: background .3s ease, backdrop-filter .3s ease;
}

/* Desktop only (mobile hides these links behind the hamburger toggle, which
   already has its own self-contained dark-blur backdrop — the bar itself
   stays transparent unconditionally there). Give the bar a solid/blurred
   background past the scroll threshold (.scrolled toggled by data-topbar in
   theme.js) — light (not dark) since .bs-topbar__links a is dark
   var(--body) text on this theme's light cream page. */
@media (min-width: 601px) {
    .bs-topbar.scrolled {
        background: color-mix(in srgb, var(--cream) 92%, transparent);
        backdrop-filter: blur(10px);
    }
}

.bs-topbar__links {
    display: flex;
    gap: 1.25rem;
}
.bs-topbar__links a {
    font-size: .72rem;
    letter-spacing: .12em;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--body);
    transition: color .2s;
}
.bs-topbar__links a:hover { color: var(--orange); text-decoration: none; }

.bs-topbar__toggle { display: none; }

/* Demo-only Basic/Standard switch + close + cart badge — shared look defined
   globally in layouts/theme.blade.php, just positioned here at opposite bottom
   corners, at every screen width. */
.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;
}

/* Mobile: collapse the link row behind a bordered hamburger button, opening a
   dropdown panel with the same links stacked. Always the same dark-translucent
   treatment. .bs-topbar is space-between on desktop — pin the toggle to the
   left instead on mobile, matching every other theme. */
@media (max-width: 600px) {
    .bs-topbar { justify-content: flex-start; }
    .bs-topbar__toggle { order: -1; }

    .bs-topbar__toggle {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 5px;
        width: 3rem;
        height: 3rem;
        padding: 0;
        border: 1.5px solid rgba(255,255,255,.25);
        border-radius: 50%;
        background: rgba(43,35,24,.55);
        backdrop-filter: blur(8px);
        -webkit-backdrop-filter: blur(8px);
        cursor: pointer;
        transition: background .2s;
    }
    .bs-topbar__toggle span {
        display: block;
        width: 20px;
        height: 2px;
        border-radius: 1px;
        background: #fff;
        transition: transform .25s ease, opacity .2s ease;
    }
    .bs-topbar__toggle.is-active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
    .bs-topbar__toggle.is-active span:nth-child(2) { opacity: 0; }
    .bs-topbar__toggle.is-active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

    .bs-topbar__links {
        display: flex;
        flex-direction: column;
        gap: .25rem;
        position: absolute;
        top: calc(100% + .5rem);
        left: 1rem;
        right: 1rem;
        padding: .5rem;
        background: rgba(250,243,225,.97);
        border: 1px solid var(--orange);
        border-radius: 12px;
        box-shadow: 0 12px 32px rgba(43,35,24,.2);
        opacity: 0;
        visibility: hidden;
        transform: translateY(-6px);
        transition: opacity .2s ease, transform .2s ease, visibility .2s;
    }
    .bs-topbar__links.is-open {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }
    .bs-topbar__links a {
        text-align: center;
        padding: .65rem 1rem;
        border-radius: 8px;
        color: var(--body);
    }
    .bs-topbar__links a:hover { background: rgba(224,138,60,.12); color: var(--orange); }

}

/* ---------- Audio ---------- */
.bs-audio {
    position: relative;
    padding: 5rem 1.25rem 8rem;
    overflow: hidden;
}

/* ---------- Countdown ---------- */
.bs-countdown {
    position: relative;
    padding: 5rem 1.25rem 8rem;
    overflow: hidden;
}

.bs-countdown__inner {
    position: relative;
    z-index: 2;
}

.bs-countdown__intro {
    text-align: center;
    color: var(--body);
    font-size: 1.05rem;
    max-width: 480px;
    margin: 0 auto;
}

/* Illustrated CSS "scene" (sun + rolling hills) behind the timer, in place
   of a photo — there's no safari photography in the app, so this keeps the
   theme fully self-contained. */
.bs-countdown__photo-wrap {
    position: relative;
    max-width: 900px;
    margin: 2.5rem auto 0;
    aspect-ratio: 1143 / 502;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 40px;
    overflow: hidden;
}

.bs-countdown__scene {
    position: absolute;
    inset: 0;
    z-index: 0;
    background: linear-gradient(180deg, var(--orange-pale) 0%, var(--green-pale) 100%);
}

.bs-countdown__sun {
    position: absolute;
    right: 10%;
    top: 12%;
    width: 110px;
    height: 110px;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 30%, #FFE7BC, var(--orange) 60%, #C46B1F 100%);
    box-shadow: 0 0 45px rgba(224,138,60,.5);
}

.bs-countdown__hill {
    position: absolute;
    left: -10%;
    bottom: -20%;
    width: 70%;
    height: 60%;
    border-radius: 50%;
    background: var(--green);
    opacity: .9;
}

.bs-countdown__hill--back {
    left: 30%;
    bottom: -30%;
    width: 85%;
    height: 65%;
    background: var(--green-light);
    opacity: .55;
}

.bs-countdown__timer {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: center;
    gap: 1.25rem;
    flex-wrap: wrap;
}

.bs-countdown__unit {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background: rgba(255,255,255,.85);
    border: 2px solid var(--orange);
    padding: 40px 0 25px;
    border-radius: 30px;
    box-shadow: 0 5px 15px rgba(43,35,24,.15);
    min-width: 100px;
}

.bs-countdown__number {
    font-family: var(--ff-display);
    font-size: 2.6rem;
    font-weight: 400;
    color: var(--brown);
    line-height: 1;
}

.bs-countdown__label {
    font-family: var(--ff-display);
    font-size: .72rem;
    font-weight: 400;
    color: var(--ink);
    text-transform: uppercase;
    letter-spacing: .08em;
    margin-top: .35rem;
}

/* ---------- Program / Adventure Itinerary ---------- */
.bs-program {
    padding: 5rem 1.25rem 8rem;
}

.bs-timeline { margin-top: 1rem; }

.bs-timeline__item {
    display: grid;
    grid-template-columns: 80px 20px 1fr;
    gap: 0 1rem;
    align-items: start;
    margin-bottom: 1.5rem;
}

.bs-timeline__time {
    font-family: var(--ff-display);
    font-weight: 400;
    font-size: .88rem;
    color: var(--brown);
    text-align: right;
    padding-top: .15rem;
}

.bs-timeline__dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--orange);
    border: 3px solid var(--green);
    margin-top: .25rem;
    position: relative;
}

.bs-timeline__dot::after {
    content: '';
    position: absolute;
    top: 14px;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    background: var(--green-pale);
    height: calc(100% + 1.5rem + 14px);
}

.bs-timeline__item:last-child .bs-timeline__dot::after { display: none; }

.bs-timeline__label {
    font-family: var(--ff-display);
    font-weight: 400;
    font-size: 1rem;
    color: var(--ink);
}

.bs-timeline__location {
    display: block;
    font-size: .8rem;
    color: var(--muted);
    margin-top: .15rem;
}
.bs-timeline__location a { margin-left: .4em; opacity: .85; font-size: .9em; color: var(--green); }

/* ---------- A note from the pride (message / quote card) ---------- */
.bs-poem {
    padding: 5rem 1.25rem 8rem;
    text-align: center;
    position: relative;
}

.bs-poem__card {
    position: relative;
    background: var(--white);
    border: 3px dashed var(--orange);
    border-radius: var(--radius);
    padding: 3rem 2rem 2.25rem;
    max-width: 640px;
    margin: 0 auto;
    box-shadow: 0 15px 40px rgba(43,35,24,.1);
}

.bs-poem__quote {
    width: 40px;
    height: 40px;
    margin: 0 auto 1rem;
    color: var(--orange);
    opacity: .85;
}
.bs-poem__quote svg { width: 100%; height: 100%; }

.bs-poem__text {
    font-family: var(--ff-display);
    font-size: 1.2rem;
    line-height: 1.8;
    white-space: pre-line;
    color: var(--ink);
}

.bs-poem__paw {
    margin-top: 1.25rem;
    font-size: 1.4rem;
    opacity: .8;
}

/* ---------- Our Wild Journey (Our Story) ---------- */
.bs-story {
    padding: 5rem 1.25rem 8rem;
    text-align: center;
}

.bs-story__intro {
    max-width: 34rem;
    margin: 0 auto 1rem;
    font-size: 1rem;
    line-height: 1.7;
}

.bs-story__timeline {
    position: relative;
    max-width: 780px;
    margin: 3rem auto 0;
    text-align: left;
}

.bs-story__timeline::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 3px;
    background: repeating-linear-gradient(
        to bottom,
        var(--accent-color) 0,
        var(--accent-color) 10px,
        transparent 10px,
        transparent 20px
    );
    transform: translateX(-50%);
}

.bs-story__item {
    position: relative;
    width: 50%;
    padding-bottom: 3.5rem;
}

.bs-story__item:last-child {
    padding-bottom: 0;
}

.bs-story__item--left {
    padding-right: 3rem;
    text-align: right;
}

.bs-story__item--right {
    width: 50%;
    margin-left: 50%;
    padding-left: 3rem;
    text-align: left;
}

.bs-story__dot {
    position: absolute;
    top: .3rem;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--orange);
    border: 3px solid var(--cream);
    box-shadow: 0 0 0 3px var(--accent-color);
    z-index: 2;
}

.bs-story__item--left .bs-story__dot { right: -9px; }
.bs-story__item--right .bs-story__dot { left: -9px; }

/* Photo framed with a plain green border instead of an overlay image. */
.bs-story__photo {
    position: relative;
    width: min(100%, 260px);
    aspect-ratio: 675 / 697;
    margin-bottom: 1rem;
    display: inline-block;
}

.bs-story__item--left .bs-story__photo { margin-left: auto; }
.bs-story__item--right .bs-story__photo { margin-right: auto; }

.bs-story__photo-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--radius);
    border: 3px solid var(--green);
    box-shadow: 0 10px 25px rgba(43,35,24,.18);
    display: block;
}

.bs-story__photo-caption {
    position: absolute;
    left: .6rem;
    right: .6rem;
    bottom: .6rem;
    font-size: .75rem;
    font-weight: 700;
    text-align: center;
    color: var(--white);
    background: rgba(43,35,24,.7);
    border-radius: var(--btn-radius);
    padding: .3rem .5rem;
    z-index: 2;
}

.bs-story__period {
    display: block;
    font-family: var(--ff-display);
    font-size: .8rem;
    font-weight: 400;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--orange);
    margin-bottom: .25rem;
}

.bs-story__title {
    font-family: var(--ff-display);
    font-size: 1.2rem;
    font-weight: 400;
    color: var(--ink);
    margin-bottom: .35rem;
}

.bs-story__desc {
    font-size: .92rem;
    line-height: 1.65;
    color: var(--body);
}

@media (max-width: 720px) {
    .bs-story__timeline::before {
        left: 1.4rem;
        transform: none;
    }

    .bs-story__item,
    .bs-story__item--right {
        width: 100%;
        margin-left: 0;
        padding-left: 3rem;
        padding-right: 0;
        text-align: left;
    }

    .bs-story__item--left .bs-story__dot,
    .bs-story__item--right .bs-story__dot {
        left: 1.4rem;
        right: auto;
        transform: translateX(-50%);
    }

    .bs-story__item--left .bs-story__photo,
    .bs-story__item--right .bs-story__photo {
        margin-left: 0;
        margin-right: auto;
    }
}

/* ---------- Gallery / Guest Wall ---------- */
.bs-gallery { padding: 5rem 1.25rem 8rem; text-align: center; }
.bs-guest-wall { padding: 5rem 1.25rem 8rem; text-align: center; }
.bs-gallery-upload { padding: 5rem 1.25rem 8rem; text-align: center; }

.bs-gallery-upload .gu-form {
    max-width: 620px;
    padding: 0 1.5rem;
    background: none;
    border: none;
    border-radius: 0;
    box-shadow: none;
}

/* ---------- Dress Code / Good to Know ---------- */
.bs-dress-code { padding: 5rem 1.25rem 8rem; text-align: center; }
.bs-good-to-know { padding: 5rem 1.25rem 8rem; text-align: center; }

/* ---------- Closing ---------- */
.bs-closing {
    padding: 2.5rem 1.25rem;
    text-align: center;
}

.bs-closing p {
    font-family: var(--ff-display);
    font-size: 1rem;
    color: var(--ink);
    opacity: .65;
    margin: 0;
}

/* ---------- Basecamp (Map) ---------- */
.bs-location { padding: 5rem 1.25rem 8rem; }

.bs-location__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 3rem;
    margin-top: 1.5rem;
}

@media (max-width: 820px) {
    .bs-location__grid {
        grid-template-columns: 1fr;
    }
}

.bs-location__map iframe {
    width: 100%;
    height: 380px;
    border: 0;
    display: block;
    border-radius: var(--radius);
    box-shadow: 0 12px 30px rgba(43,35,24,.18);
    filter: sepia(.15) saturate(1.05);
}

.bs-location__info {
    text-align: center;
}

.bs-location__icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1rem;
    border-radius: 50%;
    background: var(--green-pale);
    border: 3px solid var(--green);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
}

.bs-location__name {
    font-family: var(--ff-display);
    font-size: 1.4rem;
    font-weight: 400;
    color: var(--ink);
    margin-bottom: .5rem;
}

.bs-location__address {
    color: var(--muted);
    margin-bottom: 1.5rem;
}

/* ---------- Safari Album ---------- */
.bs-album { padding: 5rem 1.25rem; text-align: center; }
.bs-album__text { opacity: .75; margin-bottom: 2rem; }

/* ---------- RSVP ---------- */
.bs-rsvp {
    position: relative;
    padding: 5rem 1.25rem 8rem;
}
.bs-rsvp .rsvp-deadline {
    background: transparent;
    margin-bottom: 10px;
}
.bs-rsvp .bs-section-title,
.bs-rsvp .rsvp-layout-wrap {
    position: relative;
    z-index: 2;
}
.bs-rsvp::after {
    content: '';
    position: absolute;
    left: 0; right: 0; bottom: -1px;
    height: 46px;
    background-image: var(--bs-wave-green);
    background-repeat: no-repeat;
    background-size: 100% 100%;
    pointer-events: none;
    z-index: 1;
}

.bs-rsvp__subtitle {
    text-align: center;
    color: var(--ink);
    opacity: .8;
    margin-bottom: 2rem;
    font-size: 1rem;
}

.bs-alert--success {
    background: var(--green-pale);
    color: var(--ink);
    border: 2px solid var(--green);
    border-radius: var(--radius);
    padding: 1rem 1.25rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
    text-align: center;
}

.rsvp-layout-wrap {
    max-width: 560px;
    margin: 0 auto;
    background: var(--white);
    border: 2px solid var(--orange);
    border-radius: var(--radius);
    box-shadow: 0 20px 50px rgba(43,35,24,.15);
    padding: 3.5rem 2.5rem;
}

@media (max-width: 500px) {
    .rsvp-layout-wrap {
        padding: 2.5rem 1.25rem;
    }
}

.bs-rsvp .form__group label {
    display: block;
    font-family: var(--ff-display);
    font-weight: 400;
    font-size: .85rem;
    color: var(--brown);
    margin-bottom: .4rem;
    text-transform: uppercase;
    letter-spacing: .05em;
}

.bs-rsvp .form__group input[type="text"],
.bs-rsvp .form__group input[type="email"],
.bs-rsvp .form__group input[type="tel"],
.bs-rsvp .form__group select,
.bs-rsvp .form__group textarea {
    width: 100%;
    padding: .95rem 1.25rem;
    border: 0;
    border-radius: 8px;
    font-family: var(--ff-body);
    font-weight: 500;
    font-size: .95rem;
    color: var(--ink);
    background-color: var(--cream);
    box-shadow: 0 2px 6px rgba(43,35,24,.08);
    transition: box-shadow .2s;
    outline: none;
}
.bs-rsvp .form__group .rsvp-stepper {
    background: var(--cream);
}

.bs-rsvp .form__group input[type="text"]:focus,
.bs-rsvp .form__group input[type="email"]:focus,
.bs-rsvp .form__group input[type="tel"]:focus,
.bs-rsvp .form__group select:focus,
.bs-rsvp .form__group textarea:focus {
    box-shadow: 0 0 0 3px rgba(224,138,60,.25), 0 0 0 5px var(--orange);
    background-color: var(--white);
}

.bs-rsvp .form__error {
    display: block;
    color: #C0432E;
    font-size: .82rem;
    margin-top: .3rem;
}

.bs-btn {
    display: block;
    width: 100%;
    padding: .9rem 2rem;
    background: var(--green);
    color: var(--white);
    font-family: var(--ff-display);
    font-weight: 400;
    font-size: 1.1rem;
    border: 3px solid var(--green-light);
    border-radius: var(--btn-radius);
    cursor: pointer;
    transition: transform .15s, box-shadow .15s, background .15s;
    box-shadow: 0 4px 15px rgba(76,122,82,.35);
    letter-spacing: .02em;
    margin-top: .5rem;
}

.bs-btn:hover {
    background: var(--orange);
    border-color: var(--orange-pale);
    transform: translateY(-2px);
    box-shadow: 0 7px 20px rgba(224,138,60,.4);
    text-decoration: none;
}

.bs-location .bs-btn,
.bs-album .bs-btn { display: inline-block; width: auto; margin-top: 1.5rem; }

/* ---------- Footer ---------- */
.bs-footer {
    background: var(--green);
    color: rgba(255,255,255,.85);
    text-align: center;
    padding: 2.5rem 1.25rem;
    font-size: .9rem;
}

.bs-footer p { margin-bottom: .35rem; }
.bs-footer a { color: var(--orange-pale); }
.bs-footer__ornament {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .8rem;
    max-width: 13rem;
    margin: 0 auto 1rem;
    color: rgba(255,255,255,.55);
}
.bs-footer__ornament-line { flex: 1; height: 1px; background: linear-gradient(to right, transparent, currentColor); }
.bs-footer__ornament-line:last-child { background: linear-gradient(to left, transparent, currentColor); }
.bs-footer__ornament-mark { flex-shrink: 0; font-size: 1rem; line-height: 1; }
.bs-footer__signoff { max-width: 24rem; margin: 0 auto 1.5rem; opacity: .85; }
/* Not .bs-btn — its background is the same green as the footer; a white pill reads. */
.bs-footer__cal {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    margin-top: 1.5rem;
    padding: .7rem 1.5rem;
    background: #fff;
    color: #1f2937 !important;
    border-radius: 999px;
    font-weight: 700;
    font-size: .9rem;
    box-shadow: 0 4px 15px rgba(0,0,0,.22);
    transition: transform .15s, box-shadow .15s;
}
.bs-footer__cal:hover { transform: translateY(-2px); box-shadow: 0 8px 22px rgba(0,0,0,.3); text-decoration: none; }
.bs-footer__cal-icon { width: 1rem; height: 1rem; flex-shrink: 0; }

/* ---------- Responsive ---------- */
@media (max-width: 500px) {
    /* nowrap + scroll fallback guarantees all 4 units stay on one row down to
       360px, instead of flex-wrap letting them fall to a 2x2 block once
       their min-width no longer fits. */
    .bs-countdown__timer {
        gap: .5rem;
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }
    .bs-countdown__timer::-webkit-scrollbar { display: none; }
    .bs-countdown__unit {
        padding: .9rem 1rem;
        min-width: 58px;
        flex-shrink: 0;
    }
    .bs-countdown__number { font-size: 2rem; }

    .bs-poem__card { padding: 2.5rem 1.25rem 1.75rem; }
}

/* Standardized horizontal gutter across every content section on mobile
   (padding-x: 1rem), matching wedding-romantic-bloom's convention — several
   sections here otherwise use a wider desktop-only gutter (1.25rem/1.5rem)
   that just eats into already-limited mobile width. Appended at the very end
   of the file (not folded into an earlier @media block) so equal-specificity
   source order guarantees this wins over each section's own base padding
   rule, which is declared later in the file than this file's other,
   topbar-only 600px media query. */
@media (max-width: 600px) {
.bs-hero,
.bs-countdown,
.bs-program,
.bs-poem,
.bs-story,
.bs-gallery,
.bs-guest-wall,
.bs-gallery-upload,
.bs-dress-code,
.bs-good-to-know,
.bs-closing,
.bs-location,
.bs-album,
.bs-rsvp,
.bs-footer {
        padding-left: 1rem;
        padding-right: 1rem;
    }
}
