/* ==========================================================================
   Brad - a family Christmas party painted in watercolour: a winter night sky across the top, snow falling all down
   the page, the photo through a frosty window with snow on its sill, and the Christmas tree beside it, its lights
   twinkling (a touch makes them flash and shakes a little snow off). A fir sprig with a swinging bauble sits above
   every title, the snowman says hello, the hosts look out of a frosty window beside a pile of presents, the theme is
   written on a gift tag, every moment of the evening has a warm drink, the days left are on glass baubles hanging
   from ribbons, and at the end a mug of cocoa steams under the winter moon.
   Palette: --inv-primary (the ink), --inv-accent (the second colour), --inv-bg, --inv-text.
   The watercolours (assets/art, Pixabay, see LICENSES.md) are made transparent; on the dark palette (.br-dark, set by
   script.js) they get back a sheet of paper. script.js draws the snow (canvas.br-snow)
   ========================================================================== */

.brad {
    --br-script: 'Lavishly Yours', 'Segoe Script', cursive;
    --br-soft: color-mix(in srgb, var(--inv-text) 64%, var(--inv-bg));
    --br-line: color-mix(in srgb, var(--inv-primary) 18%, transparent);
    --br-paper: color-mix(in srgb, #fffcf6 92%, var(--inv-accent));
    --br-red: color-mix(in srgb, #b3242d 82%, var(--inv-primary));
    --br-green: color-mix(in srgb, #2f5b3a 80%, var(--inv-primary));
    --br-gold: #d9b45a;
    --br-snowc: #ffffff;
    --br-shadow: 0 1px 2px color-mix(in srgb, var(--inv-text) 8%, transparent), 0 24px 48px -30px color-mix(in srgb, var(--inv-text) 50%, transparent);
    --kit-radius: 10px;
    --kit-field-bg: var(--inv-surface);
    --kit-field-border: var(--br-line);
    font-family: var(--inv-font-body);
    font-weight: 400;
    font-size: 1.03rem;
    line-height: 1.72;
    background: var(--inv-bg);
    overflow-x: clip;
}
.brad h1, .brad h2, .brad h3 { font-family: var(--inv-font-heading); font-weight: 400; line-height: 1.16; }
:where(.brad) :is(h1, h2, h3) { margin: 0; }
:where(.brad) p { margin: 0 0 .9em; }
.brad strong { font-weight: 700; }
.brad a { color: var(--inv-primary); }
.br-kicker { font-size: .72rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--inv-primary); margin: 0 0 10px; }
.br-role { font-size: .68rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--br-soft); margin: 0 0 4px; }
.br-names { font-family: var(--inv-font-heading); font-size: 1.3rem; margin: 0; }
.br-hero, .br-main, .br-footer { position: relative; }
.br-card { position: relative; background: var(--inv-surface); border-radius: 12px; box-shadow: var(--br-shadow), 0 0 0 1px var(--br-line); }
.br-snow { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 5; pointer-events: none; }

/* ---------- The watercolours ---------- */
.br-art { position: relative; display: block; }
.br-art img { display: block; width: 100%; height: auto; }
.br-dark .br-art img { background: radial-gradient(closest-side, var(--br-paper) 52%, color-mix(in srgb, var(--br-paper) 38%, transparent) 76%, transparent 100%); }

/* ---------- Navigation ---------- */
.br-nav { position: absolute; top: 0; left: 0; right: 0; z-index: 6; display: flex; justify-content: center; padding: 18px; }
.br-nav .kit-nav-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 22px; list-style: none; margin: 0; padding: 0; }
.br-nav .kit-nav-links a { font-size: .74rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; text-decoration: none; color: #f6f1e7; padding: 6px 0; border-bottom: 1px solid transparent; text-shadow: 0 1px 4px rgba(0, 0, 0, .5); }
.br-nav .kit-nav-links a:hover, .br-nav .kit-nav-links a.is-current { border-color: currentColor; }
.br-nav .kit-nav-brand { font-family: var(--br-script); font-size: 2.2rem; line-height: 1; color: var(--inv-primary); text-decoration: none; }
.br-nav.is-stuck { justify-content: space-between; align-items: center; padding: 6px clamp(16px, 4vw, 40px); background: color-mix(in srgb, var(--inv-bg) 88%, transparent); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); box-shadow: 0 1px 0 var(--br-line); }
.br-nav.is-stuck .kit-nav-links a { color: var(--inv-text); text-shadow: none; }
.br-nav.is-stuck .kit-nav-links a.is-current { color: var(--inv-primary); }
.brad .kit-to-top { background: var(--inv-surface); color: var(--inv-primary); border: 1px solid var(--br-line); }
@media (max-width: 899px) {
    .br-nav { justify-content: flex-end; padding: 12px; }
    .br-nav .kit-nav-toggle { width: 46px; height: 46px; border-radius: 50%; background: var(--inv-surface); color: var(--inv-primary); border: 1px solid var(--br-line); font-size: 1.2rem; }
    .br-nav .kit-nav-links { display: none; }
    .br-nav.is-open .kit-nav-links {
        display: flex; flex-direction: column; gap: 12px; position: absolute; top: 66px; left: 12px; right: 12px;
        padding: 24px; border-radius: 14px; background: var(--inv-surface); box-shadow: var(--br-shadow);
    }
    .br-nav.is-open .kit-nav-links a { color: var(--inv-text); text-shadow: none; }
}

/* ---------- Hero: the winter night ---------- */
.br-hero { min-height: 100vh; min-height: 100svh; display: grid; place-items: center; padding: 170px 16px 56px; overflow: hidden; overflow: clip; }
.br-night { position: absolute; left: 0; right: 0; top: 0; height: clamp(260px, 42vh, 420px); pointer-events: none; }
.br-night img { width: 100%; height: 100%; object-fit: cover; object-position: 30% 40%; -webkit-mask-image: linear-gradient(#000 55%, transparent); mask-image: linear-gradient(#000 55%, transparent); }
.br-hero-inner { position: relative; z-index: 1; width: min(1060px, 100%); display: grid; grid-template-columns: minmax(0, 1fr); justify-items: center; gap: 24px; text-align: center; }
.br-scene { position: relative; width: min(460px, 94vw); display: grid; grid-template-columns: 54% minmax(0, 1fr); align-items: end; }
.br-window--hero { grid-column: 1; grid-row: 1; z-index: 1; margin-bottom: 10%; }
.kit-js .br-window--hero { animation: br-in 1.2s cubic-bezier(.3, 1.2, .5, 1) .1s both; }
@keyframes br-in { from { opacity: 0; translate: 0 24px; } to { opacity: 1; translate: 0 0; } }

/* the frosty window */
.br-window { position: relative; margin: 0; }
.br-pane { position: relative; display: block; aspect-ratio: .78; overflow: hidden; border-radius: 4px; background: var(--br-paper);
    box-shadow: 0 0 0 10px #f7f3ec, 0 0 0 11px color-mix(in srgb, var(--inv-text) 14%, transparent), var(--br-shadow); }
.br-pane::after { content: ""; position: absolute; inset: 0; pointer-events: none;
    background: linear-gradient(#f7f3ec, #f7f3ec) 50% 0 / 8px 100% no-repeat, linear-gradient(#f7f3ec, #f7f3ec) 0 44% / 100% 8px no-repeat; }
.br-pane img, .br-initial { display: block; width: 100%; height: 100%; object-fit: cover; }
.br-initial { display: grid; place-items: center; font-family: var(--br-script); font-size: 5rem; color: var(--inv-primary); }
.br-frost { position: absolute; inset: 0; pointer-events: none; z-index: 1;
    background:
        radial-gradient(circle at 0 0, rgba(255, 255, 255, .85), rgba(255, 255, 255, .35) 18%, transparent 34%),
        radial-gradient(circle at 100% 0, rgba(255, 255, 255, .7), rgba(255, 255, 255, .25) 14%, transparent 28%),
        radial-gradient(circle at 0 100%, rgba(255, 255, 255, .75), rgba(255, 255, 255, .25) 16%, transparent 30%),
        radial-gradient(circle at 100% 100%, rgba(255, 255, 255, .85), rgba(255, 255, 255, .35) 20%, transparent 36%); }
.br-sill { position: absolute; left: -18px; right: -18px; bottom: -24px; height: 18px; border-radius: 3px; background: linear-gradient(#e9e2d6, #cfc5b5); box-shadow: 0 8px 12px -6px rgba(0, 0, 0, .4); }
.br-sill::before { content: ""; position: absolute; left: 4px; right: 4px; top: -10px; height: 14px; border-radius: 10px 10px 4px 4px; background: radial-gradient(ellipse 30% 100% at 20% 100%, #fff 96%, transparent), radial-gradient(ellipse 34% 100% at 60% 100%, #fff 96%, transparent), radial-gradient(ellipse 26% 90% at 90% 100%, #fff 96%, transparent); filter: drop-shadow(0 1px 1px rgba(0, 0, 0, .08)); }

/* the tree and its twinkling lights */
.br-tree { position: relative; grid-column: 2; grid-row: 1; margin-left: -10%; z-index: 2; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.kit-js .br-tree .br-art img { animation: br-in 1.3s cubic-bezier(.3, 1.2, .5, 1) .4s both; }
.br-lights { position: absolute; inset: 0; pointer-events: none; }
.br-lights i { position: absolute; width: 7px; height: 7px; margin: -3.5px 0 0 -3.5px; border-radius: 50%; background: #fff6c8;
    box-shadow: 0 0 6px 2px rgba(255, 226, 130, .9), 0 0 14px 6px rgba(255, 210, 110, .4); animation: br-twinkle 2.4s ease-in-out infinite; animation-delay: calc(var(--l) * -.37s); }
.br-lights i:nth-child(3n) { background: #ffd6d6; box-shadow: 0 0 6px 2px rgba(255, 140, 140, .85), 0 0 14px 6px rgba(255, 110, 110, .35); }
.br-lights i:nth-child(4n) { background: #d6ecff; box-shadow: 0 0 6px 2px rgba(140, 200, 255, .85), 0 0 14px 6px rgba(110, 180, 255, .35); }
@keyframes br-twinkle { 0%, 100% { opacity: .25; scale: .7; } 50% { opacity: 1; scale: 1.15; } }
.br-tree.is-flashing .br-lights i { animation: br-flash .5s ease-in-out 3; }
@keyframes br-flash { 0%, 100% { opacity: 1; scale: 1.3; } 50% { opacity: .1; scale: .6; } }
.br-tree.is-flashing .br-art { animation: br-shake .6s ease-in-out 1; transform-origin: 50% 100%; }
@keyframes br-shake { 0%, 100% { rotate: 0deg; } 25% { rotate: -2deg; } 75% { rotate: 2deg; } }

.br-hero-text { display: grid; justify-items: center; width: 100%; min-width: 0; }
.brad .br-name { font-family: var(--br-script); font-weight: 400; font-size: clamp(3.6rem, 14vw, 6rem); line-height: .82; color: var(--inv-primary); overflow-wrap: anywhere; margin: 0 0 18px; padding-top: .12em; }
.br-hero-date { font-family: var(--inv-font-heading); font-size: 1.36rem; margin: 0 0 4px; }
.br-hero-place { font-size: .72rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--br-soft); margin: 0; }
.brad .br-subtitle { max-width: 44ch; margin: 16px auto 0; color: var(--br-soft); }
@keyframes br-up { from { opacity: 0; translate: 0 16px; } to { opacity: 1; translate: 0 0; } }
.kit-js .br-hero-text > * { animation: br-up 1s ease .8s both; }
.kit-js .br-hero-text > :nth-child(n+3) { animation-delay: 1.1s; }
@media (min-width: 900px) {
    .br-hero { padding-top: 200px; }
    .br-hero-inner { grid-template-columns: minmax(0, 1fr) auto; gap: 56px; text-align: left; align-items: center; }
    .br-hero-text { justify-items: start; order: -1; }
    .brad .br-subtitle { margin-left: 0; }
    .br-scene { width: min(520px, 44vw); }
}

/* ---------- Sections ---------- */
.br-main { width: min(1080px, 100%); margin: 0 auto; padding: 0 16px; }
.br-section { padding-top: clamp(84px, 11vw, 128px); }
.br-title { margin: 0 auto clamp(26px, 4vw, 42px); text-align: center; }
.br-title h2 { font-size: clamp(2rem, 5.4vw, 2.7rem); color: var(--inv-primary); text-wrap: balance; }
.br-sprig { display: block; width: 92px; height: auto; margin: 0 auto 10px; overflow: visible; }
.br-sprig-twig { fill: none; stroke: color-mix(in srgb, #6b4a2e 80%, var(--inv-text)); stroke-width: 1.6; stroke-linecap: round; }
.br-needles { fill: none; stroke: var(--br-green); stroke-width: 1.8; stroke-linecap: round; }
.br-bauble circle:not(.br-shine) { fill: var(--br-red); }
.br-shine { fill: rgba(255, 255, 255, .75); }
.br-cap { fill: var(--br-gold); }
.br-bauble { transform-box: view-box; transform-origin: 45px 15px; }
.kit-js .br-title.is-visible .br-bauble { animation: br-swing 3.6s ease-in-out infinite; }
@keyframes br-swing { 0%, 100% { rotate: -10deg; } 50% { rotate: 10deg; } }

/* Welcome, from the snowman */
.br-welcome { display: grid; gap: 14px; justify-items: center; text-align: center; max-width: 820px; margin: 0 auto; }
.br-welcome p { font-size: 1.05rem; }
.br-snowman { width: min(190px, 48vw); transform-origin: 50% 100%; }
.kit-js .br-welcome .br-snowman img { opacity: 0; translate: 0 22px; transition: opacity .9s ease, translate 1s ease; }
.kit-js .br-welcome.is-visible .br-snowman img { opacity: 1; translate: 0 0; }
.kit-js .br-welcome.is-visible .br-snowman { animation: br-wobble 6s ease-in-out 1.6s infinite; }
@keyframes br-wobble { 0%, 76%, 100% { rotate: 0deg; } 82% { rotate: -3deg; } 88% { rotate: 3deg; } 94% { rotate: 0deg; } }
.brad .br-welcome-title { font-family: var(--br-script); font-weight: 400; font-size: clamp(3rem, 9vw, 4.4rem); line-height: 1.1; color: var(--inv-primary); margin-bottom: 12px; }
.br-quote-author { font-family: var(--inv-font-heading); font-style: italic; color: var(--inv-primary); }
@media (min-width: 760px) {
    .br-welcome { grid-template-columns: auto minmax(0, 1fr); gap: 50px; text-align: left; align-items: center; }
    .br-snowman { width: 220px; }
}

/* The hosts */
.br-host-grid { display: grid; gap: 60px; justify-items: center; text-align: center; max-width: 900px; margin: 0 auto; }
.br-portrait { position: relative; width: min(220px, 54vw); }
.br-gifts { position: absolute; right: -46%; bottom: -30%; width: 66%; z-index: 2; }
.kit-js .br-host-grid .br-gifts img { opacity: 0; translate: 20px 10px; transition: opacity .8s ease .5s, translate 1s cubic-bezier(.3, 1.3, .5, 1) .5s; }
.kit-js .br-host-grid.is-visible .br-gifts img { opacity: 1; translate: 0 0; }
.br-host-name { font-family: var(--inv-font-heading); font-size: 1.8rem; color: var(--inv-primary); margin-bottom: 4px; }
.br-host-age { font-size: .76rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--br-soft); }
.br-host-message { font-size: 1.06rem; max-width: 38ch; margin-left: auto; margin-right: auto; }
@media (min-width: 760px) {
    .br-host-grid { grid-template-columns: auto minmax(0, 1fr); gap: 150px; text-align: left; align-items: center; }
    .br-portrait { width: 230px; }
    .br-host-message { margin-left: 0; }
}
@media (max-width: 759px) { .br-gifts { right: -30%; width: 56%; } }

/* The theme on a gift tag tied with red string */
.br-theme { overflow-x: clip; padding-bottom: 6px; }
.br-tag { position: relative; max-width: 560px; margin: 0 auto; padding: 44px clamp(30px, 7vw, 60px) 34px clamp(56px, 10vw, 80px); text-align: center; color: #3a2e22; rotate: -1.5deg;
    background: radial-gradient(circle at 30px 50%, var(--inv-bg) 0 9px, transparent 9.5px), linear-gradient(#f6ecd9, #ecdcbf);
    clip-path: polygon(0 18%, 8% 0, 100% 0, 100% 100%, 8% 100%, 0 82%); filter: drop-shadow(0 10px 14px rgba(0, 0, 0, .18)); }
.br-tag::before { content: ""; position: absolute; left: 30px; top: 50%; width: 46px; height: 2px; margin-top: -1px; translate: -100% 0; background: var(--br-red); }
.br-tag h3 { font-family: var(--br-script); font-size: clamp(2.4rem, 7vw, 3.2rem); line-height: 1.05; color: #8a2a22; margin-bottom: 10px; }
.br-tag p { font-size: 1.04rem; }
.kit-js .br-theme .br-tag { opacity: 0; rotate: -8deg; translate: 0 -20px; transition: opacity .5s ease, rotate .9s cubic-bezier(.3, 1.5, .5, 1), translate .9s cubic-bezier(.3, 1.5, .5, 1); }
.kit-js .br-theme.is-visible .br-tag { opacity: 1; rotate: -1.5deg; translate: 0 0; }

/* Programme: a warm drink for every moment */
.br-evening { list-style: none; margin: 0 auto; padding: 0; max-width: 760px; display: grid; gap: 30px; }
.br-moment-card { display: grid; gap: 4px 26px; justify-items: center; text-align: center; padding: 26px clamp(20px, 5vw, 36px) 24px;
    background: linear-gradient(90deg, var(--br-red) 0 6px, transparent 6px), var(--inv-surface); }
.br-moment-art { width: min(140px, 40vw); }
.kit-js .br-moment .br-moment-card { opacity: 0; translate: 0 24px; transition: opacity .6s ease, translate .9s cubic-bezier(.3, 1.2, .5, 1); }
.kit-js .br-moment.is-visible .br-moment-card { opacity: 1; translate: 0 0; }
.br-moment-time { font-family: var(--inv-font-heading); font-size: 1.7rem; line-height: 1.1; color: var(--inv-primary); margin: 0 0 4px; font-variant-numeric: tabular-nums; }
.br-moment-text h3 { font-size: clamp(1.4rem, 4.2vw, 1.66rem); margin-bottom: 4px; }
.br-moment-place { font-weight: 700; margin: 0; }
.br-moment-address, .br-moment-notes { color: var(--br-soft); margin: 0; }
.br-moment-notes { font-style: italic; margin-top: 6px; }
.br-moment .kit-event-actions { margin-top: 14px; justify-content: center; }
@media (min-width: 760px) {
    .br-moment-card { grid-template-columns: 150px minmax(0, 1fr); text-align: left; align-items: center; justify-items: start; padding: 30px 36px 26px 40px; }
    .br-moment:nth-child(even) .br-moment-card { grid-template-columns: minmax(0, 1fr) 150px; }
    .br-moment:nth-child(even) .br-moment-art { order: 2; }
    .br-moment-art { width: 150px; }
    .br-moment .kit-event-actions { justify-content: flex-start; }
}
.brad .kit-button { border-radius: 999px; border: 1px solid var(--inv-primary); color: var(--inv-primary); background: transparent; font-size: .78rem; font-weight: 700; padding: 8px 18px; text-decoration: none; }
.brad .kit-button:hover { background: var(--inv-primary); color: var(--inv-bg); }

/* Countdown: glass baubles hanging from ribbons */
.br-countdown { text-align: center; }
.br-countdown .kit-countdown { display: flex; justify-content: center; flex-wrap: wrap; gap: 36px clamp(8px, 2.6vw, 24px); margin-top: 60px; }
.br-countdown .kit-countdown-unit { --c: var(--br-red); position: relative; width: clamp(78px, 21vw, 112px); min-width: 0; aspect-ratio: 1; padding: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; border-radius: 50%;
    background: radial-gradient(circle at 34% 30%, rgba(255, 255, 255, .7) 0 6%, rgba(255, 255, 255, .15) 16%, transparent 36%), radial-gradient(circle at 50% 50%, color-mix(in srgb, var(--c) 85%, #fff), var(--c) 55%, color-mix(in srgb, var(--c) 70%, #000));
    box-shadow: 0 12px 18px -10px rgba(0, 0, 0, .45); transform-origin: 50% -40px; animation: br-hang 5s ease-in-out infinite; }
.br-countdown .kit-countdown-unit::before { content: ""; position: absolute; left: 50%; top: -9px; width: 22px; height: 12px; margin-left: -11px; border-radius: 3px 3px 2px 2px; background: linear-gradient(90deg, #a7802f, var(--br-gold) 50%, #a7802f); }
.br-countdown .kit-countdown-unit::after { content: ""; position: absolute; left: 50%; bottom: calc(100% + 9px); width: 2px; height: 32px; margin-left: -1px; background: var(--br-gold); }
.br-countdown .kit-countdown-unit:nth-child(2) { --c: var(--br-green); animation-delay: -1.2s; }
.br-countdown .kit-countdown-unit:nth-child(3) { --c: color-mix(in srgb, var(--br-gold) 80%, #8a6420); animation-delay: -2.4s; }
.br-countdown .kit-countdown-unit:nth-child(4) { --c: color-mix(in srgb, #2b4a7a 85%, var(--inv-primary)); animation-delay: -3.6s; }
@keyframes br-hang { 0%, 100% { rotate: -4deg; } 50% { rotate: 4deg; } }
.br-countdown .kit-countdown-value { font-family: var(--inv-font-heading); font-size: clamp(1.4rem, 5.4vw, 2.1rem); line-height: 1; color: #fff; text-shadow: 0 1px 3px rgba(0, 0, 0, .5); font-variant-numeric: tabular-nums; }
.br-countdown .kit-countdown-label { opacity: 1; color: #fff; text-shadow: 0 1px 2px rgba(0, 0, 0, .55); font-size: .5rem; font-weight: 700; letter-spacing: .1em; margin-top: 3px; }

/* Gallery: photos with snow on their top edge */
.br-gallery-grid.kit-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(22px, 3vw, 32px) clamp(14px, 2.4vw, 26px); }
.br-gallery-grid.kit-gallery a { position: relative; aspect-ratio: 4 / 5; padding: 7px; border-radius: 4px; background: #f7f3ec; box-shadow: var(--br-shadow); overflow: visible; }
.br-gallery-grid.kit-gallery a::before { content: ""; position: absolute; left: -4px; right: -4px; top: -9px; height: 16px; z-index: 1; border-radius: 10px 10px 6px 6px;
    background: radial-gradient(ellipse 22% 100% at 15% 100%, #fff 96%, transparent), radial-gradient(ellipse 28% 100% at 50% 100%, #fff 96%, transparent), radial-gradient(ellipse 22% 90% at 86% 100%, #fff 96%, transparent);
    filter: drop-shadow(0 1px 1px rgba(0, 0, 0, .1)); }
.br-gallery-grid.kit-gallery img { width: 100%; height: 100%; object-fit: cover; border-radius: 2px; }
@media (min-width: 760px) { .br-gallery-grid.kit-gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* RSVP, info, contact */
.br-reply { max-width: 700px; margin: 0 auto; padding: clamp(40px, 6vw, 56px) clamp(24px, 6vw, 56px) clamp(32px, 5vw, 48px); border-top: 5px solid var(--br-red); }
.brad .inv-rsvp__intro { font-size: 1.06rem; }
.brad .inv-rsvp__deadline { font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--inv-primary); }
.br-info-grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }
.br-info-item { padding: 30px 24px 20px; text-align: center; }
.br-info-item h3 { font-size: 1.4rem; color: var(--inv-primary); margin-bottom: 8px; }
.br-faq { max-width: 720px; margin: 46px auto 0; text-align: center; display: grid; gap: 12px; }
.br-faq details { text-align: left; }
.br-faq summary { cursor: pointer; list-style: none; padding: 17px 52px 17px 22px; position: relative; font-weight: 700; font-size: 1.02rem; }
.br-faq summary::-webkit-details-marker { display: none; }
.br-faq summary::after { content: ""; position: absolute; right: 18px; top: 50%; width: 16px; height: 16px; margin-top: -6px; border-radius: 50%; background: radial-gradient(circle at 34% 30%, rgba(255, 255, 255, .7) 0 12%, transparent 30%), var(--br-red); transition: background .4s ease; }
.br-faq summary::before { content: ""; position: absolute; right: 23px; top: 50%; width: 6px; height: 4px; margin-top: -9px; border-radius: 1px; background: var(--br-gold); }
.br-faq details[open] summary::after { background: radial-gradient(circle at 34% 30%, rgba(255, 255, 255, .7) 0 12%, transparent 30%), var(--br-green); }
.br-faq summary:focus-visible { outline: 2px solid var(--inv-primary); outline-offset: 2px; border-radius: 12px; }
.br-faq details p { padding: 0 22px; color: var(--br-soft); }
.br-faq details p:last-child { padding-bottom: 16px; }
.br-contact { text-align: center; }
.br-contact-list { display: flex; flex-wrap: wrap; justify-content: center; gap: 20px 60px; }
.br-contact-person a { text-decoration: none; }

/* ---------- Footer: cocoa under the winter moon ---------- */
.br-footer { text-align: center; padding: clamp(90px, 13vw, 140px) 0 0; overflow: hidden; overflow: clip; }
.br-footer-message { font-size: 1.14rem; color: var(--br-soft); max-width: 36ch; margin: 0 auto 6px; padding: 0 16px; }
.brad .br-footer-name { font-family: var(--br-script); font-size: clamp(3.4rem, 12vw, 5rem); line-height: 1.1; color: var(--inv-primary); margin: 4px 0 10px; padding: 0 16px; }
.br-hashtag { letter-spacing: .12em; color: var(--inv-primary); }
.br-finale { position: relative; height: clamp(250px, 40vw, 400px); margin-top: 30px; }
.br-finale-sky { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 30% 40%; -webkit-mask-image: linear-gradient(transparent, #000 40%); mask-image: linear-gradient(transparent, #000 40%); }
.br-cocoa { position: absolute; left: 50%; bottom: 8%; width: clamp(120px, 22vw, 180px); translate: -50% 0; }
.br-cocoa img { background: radial-gradient(closest-side, var(--br-paper) 52%, color-mix(in srgb, var(--br-paper) 38%, transparent) 76%, transparent 100%); }
.br-steam { position: absolute; left: 50%; bottom: calc(8% + clamp(110px, 20vw, 160px)); width: 60px; height: 70px; margin-left: -30px; }
.br-steam i { position: absolute; left: 40%; bottom: 0; width: 16px; height: 16px; border-radius: 50%; background: rgba(255, 255, 255, .55); filter: blur(4px); opacity: 0; animation: br-steam 3.6s ease-out infinite; }
.br-steam i:nth-child(2) { left: 20%; animation-delay: 1.2s; }
.br-steam i:nth-child(3) { left: 60%; animation-delay: 2.4s; }
@keyframes br-steam { 0% { opacity: 0; translate: 0 0; scale: .6; } 25% { opacity: .9; } 100% { opacity: 0; translate: 8px -60px; scale: 2; } }
.kit-js .br-footer .br-cocoa img { opacity: 0; translate: 0 20px; }
.kit-js .br-footer.is-visible .br-cocoa img { animation: br-in 1.4s ease .3s both; }

@media (prefers-reduced-motion: reduce) {
    .br-lights i, .kit-js .br-window--hero, .kit-js .br-tree .br-art img, .kit-js .br-hero-text > *, .br-countdown .kit-countdown-unit, .br-steam i, .kit-js .br-title.is-visible .br-bauble, .kit-js .br-welcome.is-visible .br-snowman { animation: none; }
    .br-lights i { opacity: .9; }
    .kit-js .br-welcome .br-snowman img, .kit-js .br-host-grid .br-gifts img, .kit-js .br-theme .br-tag, .kit-js .br-moment .br-moment-card { opacity: 1; translate: 0 0; transition: none; }
    .kit-js .br-theme .br-tag { rotate: -1.5deg; }
    .kit-js .br-footer .br-cocoa img { opacity: 1; translate: 0 0; animation: none; }
}
