/* Blossom Host "next": styles for the landscape (scene.js), the cast (boxes.js), the
   header signature and the blossom sun. Nothing page-specific lives here. Every class,
   custom property and keyframe is prefixed bn- so this can sit next to the legacy
   stylesheet. Preset defaults use :where() and have no specificity: any page rule wins.
   See SCENE.md. */

.bn-symbols, .bn-defs { position: absolute; width: 0; height: 0; overflow: hidden; }
/* Petals: a fixed handful of elements. Each one falls and turns as a compositor animation,
   so they cost no script and no repaint. Under reduced motion they hold still. */
.bn-petals { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 2; pointer-events: none; overflow: hidden; contain: strict; }
.bn-petal { position: absolute; left: 0; top: 0; width: var(--bn-ps); height: var(--bn-ps); opacity: var(--bn-pa); animation: bn-petal-fall var(--bn-pt) linear var(--bn-pd) infinite paused; }
.bn-petal > svg { display: block; width: 100%; height: 100%; animation: bn-petal-turn var(--bn-pr) ease-in-out var(--bn-pd) infinite alternate paused; }
@keyframes bn-petal-fall { from { transform: translate3d(var(--bn-px0), -8vh, 0); } to { transform: translate3d(var(--bn-px1), 108vh, 0); } }
@keyframes bn-petal-turn { from { transform: translateX(-16px) rotate(var(--bn-pr0)) scaleY(1); } to { transform: translateX(16px) rotate(var(--bn-pr1)) scaleY(.35); } }

/* ---------- scenes ---------- */
.bn-scene { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; pointer-events: none; --bn-ground: 0px; }
.bn-scene-cv, .bn-scene-still { position: absolute; left: 0; top: 0; width: 100%; max-width: none; height: 100%; display: block; }
/* A drifting scene draws its near hills a little wider than itself and slides them; it
   clips its own sides so the page never gains a sideways scroll. While the hero's hills
   rise, nothing may show below the scene. */
.bn-is-drifting { overflow-x: clip; }
.bn-is-rising { clip-path: inset(-100vh -50vw 0 -50vw); }
/* Creatures that are off screen hold still (boxes.js marks the ones in view). */
.bn-js .bn-box:not(.bn-is-seen) * { animation-play-state: paused !important; }
.bn-is-drawn .bn-scene-still { display: none; }
/* Where script runs, the hero's hills come up from below on load, so its still never shows first. */
@media (scripting: enabled) { [data-bn-scene="hero"] .bn-scene-still { display: none; } }
.bn-still--day { --bn-s1: #DDD1E1; --bn-s2: #9F8DAA; --bn-s3: #17111C; --bn-sr: rgba(255,255,255,.6); }
.bn-still--pale { --bn-s1: #EEE7F1; --bn-s2: #E0D5E4; --bn-s3: #F7F2F5; --bn-sr: #fff; }
.bn-still--rise { --bn-s1: #DDD1E1; --bn-s2: #4A3A58; --bn-s3: #120D18; --bn-sr: rgba(201,186,212,.6); }
.bn-still--night { --bn-s1: #4A2D58; --bn-s2: #24172E; --bn-s3: #120D18; --bn-sr: rgba(154,130,168,.6); }
.bn-still--low { --bn-s1: #1B1323; --bn-s2: #150F1C; --bn-s3: #0B0710; --bn-sr: rgba(142,126,155,.5); }
.bn-rider { position: absolute; left: 0; top: 0; line-height: 0; will-change: transform; transform-origin: 50% 93%; }
html:not(.bn-js) .bn-rider { display: none; }

/* Default footprint of each preset. */
:where([data-bn-scene="hero"]) { height: 700px; }
:where([data-bn-scene="head"]) { height: 340px; }
:where([data-bn-scene="dusk"]) { height: 400px; }
:where([data-bn-scene="low"]) { height: 66%; }
.bn-scene[data-bn-scene="den"] { top: 0; }
.bn-scene[data-bn-scene="ridge"], .bn-scene[data-bn-scene="rise"], .bn-scene[data-bn-scene="night"], .bn-scene[data-bn-scene="sheet"], .bn-scene[data-bn-scene="strip"], .bn-scene[data-bn-scene="cover"], .bn-scene[data-bn-scene="card"], .bn-scene[data-bn-scene="lost"] { position: relative; }
/* Any scene can instead fill a positioned parent (for example night behind a whole footer). */
.bn-scene.bn-scene--fill { position: absolute; left: 0; top: 0; right: 0; bottom: 0; height: auto; }
:where([data-bn-scene="ridge"]) { height: 250px; -webkit-mask-image: linear-gradient(180deg, #000 0, #000 44%, rgba(0,0,0,.62) 60%, rgba(0,0,0,.3) 74%, rgba(0,0,0,.1) 87%, transparent 100%); mask-image: linear-gradient(180deg, #000 0, #000 44%, rgba(0,0,0,.62) 60%, rgba(0,0,0,.3) 74%, rgba(0,0,0,.1) 87%, transparent 100%); }
:where([data-bn-scene="rise"]) { height: 410px; }
:where([data-bn-scene="night"]) { height: 420px; }
:where([data-bn-scene="sheet"]) { height: 240px; }
:where([data-bn-scene="strip"]) { height: 120px; }
:where([data-bn-scene="lost"]) { height: 440px; }
:where([data-bn-scene="cover"]) { height: 320px; overflow: hidden; border-radius: 14px; }
:where([data-bn-scene="card"]) { width: 1200px; height: 630px; overflow: hidden; }
@media (max-width: 760px) {
  :where([data-bn-scene="hero"]) { height: 400px; }
  :where([data-bn-scene="head"]) { height: 210px; }
  :where([data-bn-scene="dusk"]) { height: 280px; }
  :where([data-bn-scene="ridge"]) { height: 190px; }
  :where([data-bn-scene="rise"]) { height: 300px; }
  :where([data-bn-scene="night"]) { height: 320px; }
  :where([data-bn-scene="strip"]) { height: 90px; }
  :where([data-bn-scene="lost"]) { height: 320px; }
  :where([data-bn-scene="cover"]) { height: 200px; }
}

/* Skies that belong to a preset. */
[data-bn-scene="night"] { background-color: #120D18; background-image: linear-gradient(180deg, #120D18 0%, #1B1230 46%, #2B1A3C 100%); }
[data-bn-scene="den"] { background-color: #1B1324; background-image: radial-gradient(60% 50% at 68% 58%, rgba(255,184,107,.14), rgba(255,184,107,0) 70%), linear-gradient(180deg, #1A1222, #271B30 50%, #1B1324); }
[data-bn-scene="cover"], [data-bn-scene="card"] { background-color: #F7F2F5; }

/* Without script (or before it runs) every preset still shows finished hills. They sit
   on ::after so the blossom sun (::before) stays behind them. */
[data-bn-scene]:not(.bn-is-drawn)::after { content: ""; position: absolute; z-index: 1; left: 0; top: 0; right: 0; bottom: 0; pointer-events: none; background-repeat: no-repeat; background-position: center bottom var(--bn-ground); background-size: 100% min(100%, 460px); }
[data-bn-scene]:not(.bn-is-drawn)::after { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 400' preserveAspectRatio='none'%3E%3Cg stroke='%23fff' stroke-opacity='.6' stroke-width='0'%3E%3Cpath fill='%23DDD1E1' d='M-9 409V210C60 150 150 140 230 190C290 130 400 120 470 200C540 240 600 150 700 150S860 250 930 180C1010 100 1130 90 1210 170C1280 110 1380 110 1450 160V409Z'/%3E%3Cpath fill='%239F8DAA' d='M-9 409V280C80 220 170 230 250 270C330 200 430 210 500 280C580 300 650 220 760 230S900 310 990 250C1070 180 1170 190 1250 260C1320 210 1400 210 1450 240V409Z'/%3E%3Cpath fill='%2317111C' stroke='%23A898B5' d='M-9 409V340C90 290 190 290 280 330C370 280 450 290 540 340C620 350 700 290 800 290S960 360 1040 310C1120 260 1220 270 1300 320C1360 290 1410 290 1450 300V409Z'/%3E%3C/g%3E%3C/svg%3E"); }
[data-bn-scene="ridge"]:not(.bn-is-drawn)::after { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 400' preserveAspectRatio='none'%3E%3Cg stroke='%23fff' stroke-width='0'%3E%3Cpath fill='%23EEE7F1' d='M-9 409V210C60 150 150 140 230 190C290 130 400 120 470 200C540 240 600 150 700 150S860 250 930 180C1010 100 1130 90 1210 170C1280 110 1380 110 1450 160V409Z'/%3E%3Cpath fill='%23D9CCDF' d='M-9 409V280C80 220 170 230 250 270C330 200 430 210 500 280C580 300 650 220 760 230S900 310 990 250C1070 180 1170 190 1250 260C1320 210 1400 210 1450 240V409Z'/%3E%3C/g%3E%3C/svg%3E"); }
[data-bn-scene="rise"]:not(.bn-is-drawn)::after { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 400' preserveAspectRatio='none'%3E%3Cg stroke='%23C9BAD4' stroke-opacity='.6' stroke-width='0'%3E%3Cpath fill='%23DDD1E1' d='M-9 409V210C60 150 150 140 230 190C290 130 400 120 470 200C540 240 600 150 700 150S860 250 930 180C1010 100 1130 90 1210 170C1280 110 1380 110 1450 160V409Z'/%3E%3Cpath fill='%234A3A58' d='M-9 409V280C80 220 170 230 250 270C330 200 430 210 500 280C580 300 650 220 760 230S900 310 990 250C1070 180 1170 190 1250 260C1320 210 1400 210 1450 240V409Z'/%3E%3Cpath fill='%23120D18' d='M-9 409V340C90 290 190 290 280 330C370 280 450 290 540 340C620 350 700 290 800 290S960 360 1040 310C1120 260 1220 270 1300 320C1360 290 1410 290 1450 300V409Z'/%3E%3C/g%3E%3C/svg%3E"); }
[data-bn-scene="dusk"]:not(.bn-is-drawn)::after, [data-bn-scene="low"]:not(.bn-is-drawn)::after { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 400' preserveAspectRatio='none'%3E%3Cg stroke='%239A82A8' stroke-opacity='.6' stroke-width='0'%3E%3Cpath fill='%234A2D58' d='M-9 409V210C60 150 150 140 230 190C290 130 400 120 470 200C540 240 600 150 700 150S860 250 930 180C1010 100 1130 90 1210 170C1280 110 1380 110 1450 160V409Z'/%3E%3Cpath fill='%2324172E' d='M-9 409V280C80 220 170 230 250 270C330 200 430 210 500 280C580 300 650 220 760 230S900 310 990 250C1070 180 1170 190 1250 260C1320 210 1400 210 1450 240V409Z'/%3E%3Cpath fill='%23120D18' d='M-9 409V340C90 290 190 290 280 330C370 280 450 290 540 340C620 350 700 290 800 290S960 360 1040 310C1120 260 1220 270 1300 320C1360 290 1410 290 1450 300V409Z'/%3E%3C/g%3E%3C/svg%3E"); }
[data-bn-scene="night"]:not(.bn-is-drawn)::after { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 400' preserveAspectRatio='none'%3E%3Cg fill='%23F7F2F5'%3E%3Ccircle cx='96' cy='40' r='1.6'/%3E%3Ccircle cx='330' cy='82' r='1.8'/%3E%3Ccircle cx='548' cy='36' r='1.4'/%3E%3Ccircle cx='772' cy='96' r='1.7'/%3E%3Ccircle cx='1040' cy='48' r='1.9'/%3E%3Ccircle cx='1218' cy='104' r='1.5'/%3E%3Ccircle cx='1376' cy='52' r='1.7'/%3E%3C/g%3E%3Cg stroke='%239A84B4' stroke-opacity='.6' stroke-width='0'%3E%3Cpath fill='%232F2140' d='M-9 409V210C60 150 150 140 230 190C290 130 400 120 470 200C540 240 600 150 700 150S860 250 930 180C1010 100 1130 90 1210 170C1280 110 1380 110 1450 160V409Z'/%3E%3Cpath fill='%231C1328' d='M-9 409V280C80 220 170 230 250 270C330 200 430 210 500 280C580 300 650 220 760 230S900 310 990 250C1070 180 1170 190 1250 260C1320 210 1400 210 1450 240V409Z'/%3E%3Cpath fill='%23120D18' d='M-9 409V340C90 290 190 290 280 330C370 280 450 290 540 340C620 350 700 290 800 290S960 360 1040 310C1120 260 1220 270 1300 320C1360 290 1410 290 1450 300V409Z'/%3E%3C/g%3E%3C/svg%3E"); }
[data-bn-scene="den"]:not(.bn-is-drawn)::after { background-size: 100% min(60%, 300px); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 400' preserveAspectRatio='none'%3E%3Cg stroke='%239C7468' stroke-opacity='.6' stroke-width='0'%3E%3Cpath fill='%23261C30' d='M-9 409V280C80 220 170 230 250 270C330 200 430 210 500 280C580 300 650 220 760 230S900 310 990 250C1070 180 1170 190 1250 260C1320 210 1400 210 1450 240V409Z'/%3E%3Cpath fill='%23120D18' d='M-9 409V340C90 290 190 290 280 330C370 280 450 290 540 340C620 350 700 290 800 290S960 360 1040 310C1120 260 1220 270 1300 320C1360 290 1410 290 1450 300V409Z'/%3E%3C/g%3E%3C/svg%3E"); }

/* ---------- the blossom sun ----------
   A very large, soft, pale five-petal sakura with a white-pink glow, behind the hills of
   the hero, head and lost presets; in night it is a pale blossom moon. It is one
   pseudo-element, so it needs no markup and no script. Move or size it with
   --bn-sun-x, --bn-sun-y and --bn-sun-size; hide it with data-bn-sun="off". */
[data-bn-scene="hero"], [data-bn-scene="head"], [data-bn-scene="lost"], [data-bn-scene="night"] { --bn-sun-size: clamp(300px, 44vw, 660px); --bn-sun-x: 77%; --bn-sun-y: 27%; }
[data-bn-scene="head"] { --bn-sun-size: clamp(180px, 21vw, 300px); --bn-sun-x: 80%; --bn-sun-y: 46%; }
[data-bn-scene="lost"] { --bn-sun-size: clamp(200px, 26vw, 360px); --bn-sun-x: 50%; --bn-sun-y: 44%; }
[data-bn-scene="night"] { --bn-sun-size: clamp(120px, 13vw, 190px); --bn-sun-x: 82%; --bn-sun-y: 92px; }
[data-bn-scene="hero"]::before, [data-bn-scene="head"]::before, [data-bn-scene="lost"]::before, [data-bn-scene="night"]::before {
  content: ""; position: absolute; z-index: 0; left: var(--bn-sun-x); top: var(--bn-sun-y); width: var(--bn-sun-size); height: var(--bn-sun-size);
  margin: calc(var(--bn-sun-size) / -2) 0 0 calc(var(--bn-sun-size) / -2); pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-64 -64 128 128'%3E%3Cdefs%3E%3CradialGradient id='g'%3E%3Cstop offset='.3' stop-color='%23fff' stop-opacity='.92'/%3E%3Cstop offset='.6' stop-color='%23FFD0E2' stop-opacity='.62'/%3E%3Cstop offset='1' stop-color='%23FFC6DC' stop-opacity='0'/%3E%3C/radialGradient%3E%3CradialGradient id='p' gradientUnits='userSpaceOnUse' cx='0' cy='0' r='44'%3E%3Cstop offset='.08' stop-color='%23FFDCEA'/%3E%3Cstop offset='.55' stop-color='%23fff'/%3E%3C/radialGradient%3E%3Cfilter id='b' x='-20%25' y='-20%25' width='140%25' height='140%25'%3E%3CfeGaussianBlur stdDeviation='.5'/%3E%3C/filter%3E%3C/defs%3E%3Ccircle r='64' fill='url(%23g)'/%3E%3Cg fill='url(%23p)' filter='url(%23b)'%3E%3Cpath id='a' d='M0-5C-15-12-20-31-8-42L0-34 8-42C20-31 15-12 0-5Z'/%3E%3Cuse href='%23a' transform='rotate(72)'/%3E%3Cuse href='%23a' transform='rotate(144)'/%3E%3Cuse href='%23a' transform='rotate(216)'/%3E%3Cuse href='%23a' transform='rotate(288)'/%3E%3C/g%3E%3C/svg%3E") center / contain no-repeat;
}
[data-bn-scene="lost"]::before { opacity: .7; }
[data-bn-scene="night"]::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-64 -64 128 128'%3E%3Cdefs%3E%3CradialGradient id='g'%3E%3Cstop offset='.3' stop-color='%23E9DCF6' stop-opacity='.42'/%3E%3Cstop offset='.6' stop-color='%23BEA0DC' stop-opacity='.16'/%3E%3Cstop offset='1' stop-color='%23BEA0DC' stop-opacity='0'/%3E%3C/radialGradient%3E%3C/defs%3E%3Ccircle r='64' fill='url(%23g)'/%3E%3Cg fill='%23EFE6F5'%3E%3Cpath id='a' d='M0-5C-15-12-20-31-8-42L0-34 8-42C20-31 15-12 0-5Z'/%3E%3Cuse href='%23a' transform='rotate(72)'/%3E%3Cuse href='%23a' transform='rotate(144)'/%3E%3Cuse href='%23a' transform='rotate(216)'/%3E%3Cuse href='%23a' transform='rotate(288)'/%3E%3C/g%3E%3Ccircle r='6' fill='%23BFA9D6'/%3E%3C/svg%3E");
}
[data-bn-sun="off"]::before { display: none; }

/* ---------- the cast (buds) ----------
   Flat, bright, smooth creatures. Colours come from three custom properties so one
   drawing serves every hue: body, darker tone (feet, hands), light tone. */
.bn-box { display: inline-block; position: relative; height: var(--bn-box, 96px); line-height: 0; pointer-events: auto; cursor: pointer; -webkit-tap-highlight-color: transparent; user-select: none; transform-origin: 50% 92%;
  --bn-cb: #FF8DB9; --bn-cd: #F0649B; --bn-cl: #FFC3DA; }
.bn-box[data-bn-hue="peach"] { --bn-cb: #FFB07A; --bn-cd: #F08A4E; --bn-cl: #FFD6B5; }
.bn-box[data-bn-hue="mint"] { --bn-cb: #6FDDB5; --bn-cd: #3FBF94; --bn-cl: #B9F2DD; }
.bn-box[data-bn-hue="lilac"] { --bn-cb: #B9A3FF; --bn-cd: #9279EE; --bn-cl: #DDD3FF; }
.bn-box[data-bn-hue="sky"] { --bn-cb: #7CC8FF; --bn-cd: #4EA6EE; --bn-cl: #C0E5FF; }
.bn-box[data-bn-hue="butter"] { --bn-cb: #FFD76A; --bn-cd: #F0B93A; --bn-cl: #FFEBAE; }
.bn-box--hang, .bn-box--swing { transform-origin: 50% 6%; }
.bn-box--peek { transform-origin: 50% 100%; }
.bn-box-svg { display: block; height: 100%; width: auto; overflow: visible; }
.bn-box-svg--clip { overflow: hidden; }
.bn-c-b { fill: var(--bn-cb); }
.bn-c-d { fill: var(--bn-cd); }
.bn-c-l { fill: var(--bn-cl); stroke: var(--bn-cd); stroke-width: 2; stroke-linejoin: round; }
.bn-s-b { stroke: var(--bn-cb); }
.bn-s-d { stroke: var(--bn-cd); }
.bn-shine { fill: #fff; opacity: .34; }
.bn-blush { fill: var(--bn-cd); opacity: .62; }
.bn-thick { stroke-width: 11.5; }
.bn-shade { fill: #17111C; opacity: .12; }
.bn-on-night .bn-shade { fill: #000; opacity: .5; }
.bn-rider .bn-shade, .bn-topper .bn-shade { display: none; }
.bn-eye, .bn-bloom-head, .bn-flower { transform-box: fill-box; transform-origin: center; }
.bn-eye { transition: transform .07s; }
.bn-look { transition: transform .3s cubic-bezier(.2,.7,.3,1); }
.bn-hop { transform-box: fill-box; transform-origin: 50% 100%; }
.bn-bloom--droop { transform: rotate(24deg); }
.bn-is-flipped .bn-box-svg { transform: scaleX(-1); }
/* The sprout carries a blossom that opens while the bud is pointed at (the mint ones,
   whose leaves would not show against the body, keep theirs open). */
.bn-flower { transform: scale(0); transition: transform .45s cubic-bezier(.3,1.6,.5,1); }
.bn-box:hover .bn-flower, .bn-box[data-bn-hue="mint"] .bn-flower, .bn-is-bloomed .bn-flower { transform: none; }
.bn-kick { transform-box: fill-box; transform-origin: 50% 0; }
/* Small buds drop fine detail and carry larger eyes. */
.bn-box--sm .bn-fine { display: none; }
.bn-box--sm .bn-eye { transform: scale(1.2); }
.bn-is-blinking .bn-eye, .bn-box--sm.bn-is-blinking .bn-eye { transform: scaleY(.08); }
/* The sneeze: one fixed pool of petals, placed over the bud that was clicked. */
.bn-puffs { position: fixed; left: 0; top: 0; width: 0; height: 0; z-index: 170; pointer-events: none; }
.bn-puff { position: absolute; left: 0; top: 0; width: 9px; height: 11px; opacity: 0; background: #FF2E88; border-radius: 60% 60% 60% 60% / 75% 75% 40% 40%; }
.bn-puff:nth-child(odd) { background: #FFC6DC; }
/* The courier's feet step with the distance walked (scene.js sets the variables). */
[data-bn-courier] .bn-paw--a { transform: translateY(calc(var(--bn-fl, 0) * 1px)); }
[data-bn-courier] .bn-paw--b { transform: translateY(calc(var(--bn-fr, 0) * 1px)); }
[data-bn-courier] .bn-shell, [data-bn-courier] .bn-parcel { transform: translateY(calc(var(--bn-bob, 0) * 1px)); }
/* Step posts on a ridge bloom as the courier passes. */
.bn-post svg { display: block; width: 40px; height: 70px; overflow: visible; }
.bn-post-flower { transform-box: fill-box; transform-origin: 50% 50%; transform: scale(0) rotate(-80deg); transition: transform .6s cubic-bezier(.3,1.5,.5,1); }
.bn-is-bloomed .bn-post-flower, html:not(.bn-js) .bn-post-flower { transform: none; }
[data-bn-scene="dusk"] .bn-glow, [data-bn-scene="night"] .bn-glow { opacity: calc(.45 + var(--bn-night-k, 1) * .55); }
/* Riders stay out of sight until their scene has placed them on a crest. */
.bn-js .bn-rider { opacity: 0; }
.bn-js .bn-is-settled .bn-rider { opacity: 1; }
/* Toppers: buds that boxes.js places on headings, buttons and the header. */
/* margin is forced to 0: page rules that space siblings apart would otherwise push it down */
.bn-topper { position: absolute; left: 0; top: 0; z-index: 3; margin: 0 !important; padding: 0 !important; line-height: 0; pointer-events: none; }
.bn-topper[hidden] { display: none; }
.bn-topper > .bn-box { pointer-events: auto; }
.bn-topper-host { position: relative; }

/* ---------- headline swell ---------- */
.bn-word { display: inline-block; white-space: nowrap; }
.bn-ch { display: inline-block; transform-origin: 50% 88%; transform: translateY(calc(var(--bn-s, 0) * -.05em)) scale(calc(1 + var(--bn-s, 0) * .05)); }

/* ---------- header signature ---------- */
.bn-sig { display: inline-block; line-height: 0; flex: none; color: #17111C; }
.bn-sig-svg { display: block; height: 34px; width: auto; overflow: hidden; }
.bn-sig--night, .bn-on-night .bn-sig { color: #F7F2F5; }
.bn-sig-bloom { transition: transform .5s cubic-bezier(.3,1.4,.5,1); }
.bn-sig:hover .bn-sig-bloom, a:hover > .bn-sig .bn-sig-bloom, a:focus-visible > .bn-sig .bn-sig-bloom { transform: rotate(14deg); }
.bn-sig-peek { transform: translateY(12px); transition: transform .45s cubic-bezier(.3,1.4,.5,1); }
.bn-is-peeking .bn-sig-peek { transform: none; }
.bn-sig-swell { transform-origin: 23px 36px; }

/* ---------- motion (only when the visitor has not asked for less) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .bn-petal, .bn-petal > svg { animation-play-state: running; }
  .bn-js [data-bn-scene="hero"]::before { opacity: 0; }
  .bn-live [data-bn-scene="hero"]::before { opacity: 1; animation: bn-sunrise 2.4s cubic-bezier(.2,.7,.2,1) backwards; }

  .bn-bloom { animation: bn-bob 3.2s ease-in-out infinite alternate; }
  .bn-bloom--droop { animation: none; }
  .bn-box:hover .bn-hop { animation: bn-hop .55s cubic-bezier(.3,.6,.4,1); }
  .bn-is-sneezing .bn-hop, .bn-box.bn-is-sneezing:hover .bn-hop { animation: bn-sneeze .6s ease-out; }
  .bn-arm-wave { animation: bn-wave .42s ease-in-out 2.6s 10 alternate; }
  .bn-box:hover .bn-arm-wave { animation: bn-wave-b .36s ease-in-out infinite alternate; }
  .bn-zzz path { animation: bn-zzz 3.9s ease-in-out infinite; opacity: 0; }
  .bn-zzz path:nth-child(2) { animation-delay: .7s; }
  .bn-zzz path:nth-child(3) { animation-delay: 1.4s; }
  .bn-lamp { animation: bn-swing 2.8s ease-in-out infinite alternate; }
  .bn-leg { animation: bn-dangle 1.9s ease-in-out infinite alternate; }
  .bn-leg--b { animation-delay: -.95s; }
  .bn-kick { animation: bn-dangle 1.7s ease-in-out infinite alternate; }
  .bn-kick--b { animation-delay: -.85s; }
  .bn-swing { animation: bn-swing 3.1s ease-in-out infinite alternate; }
  .bn-swing--wide { animation-name: bn-swing-wide; animation-duration: 2.4s; }
  .bn-box:hover .bn-swing { animation-duration: .7s; }
  .bn-is-settled .bn-rider > .bn-box, .bn-topper > .bn-box { animation: bn-pop-in .55s cubic-bezier(.3,1.5,.5,1) backwards; animation-delay: calc(.1s + var(--bn-d, 0) * .16s); }
  .bn-topper > .bn-box { animation-delay: .7s; }
  .bn-qm { animation: bn-float 2.4s ease-in-out infinite alternate; }
  .bn-sig-swell { animation: bn-breathe 5.5s ease-in-out infinite alternate; }

  /* The one orchestrated load (scene.js adds .bn-live to the root). */
  .bn-js .bn-ch { opacity: 0; }
  .bn-live .bn-ch { opacity: 1; animation: bn-swell .95s cubic-bezier(.3,.7,.2,1) backwards; animation-delay: calc(.5s + var(--bn-i) * 27ms); }
  .bn-js .bn-sig-petal { transform: scale(0); }
  .bn-live .bn-sig-petal { transform: none; animation: bn-unfold .7s cubic-bezier(.3,1.5,.5,1) backwards; animation-delay: calc(.15s + var(--bn-i, 0) * 70ms); }
}
@keyframes bn-sunrise { from { translate: 0 110px; opacity: 0; } to { translate: 0 0; opacity: 1; } }
@keyframes bn-bob { from { transform: rotate(-6deg); } to { transform: rotate(7deg); } }
@keyframes bn-hop { 0% { transform: none; } 18% { transform: scale(1.06, .9); } 48% { transform: translateY(-13%) scale(.96, 1.05); } 78% { transform: scale(1.04, .95); } 100% { transform: none; } }
@keyframes bn-sneeze { 0% { transform: none; } 30% { transform: scale(.94, 1.1) translateY(-4%); } 55% { transform: scale(1.12, .82); } 100% { transform: none; } }
@keyframes bn-wave { from { transform: rotate(-12deg); } to { transform: rotate(16deg); } }
@keyframes bn-wave-b { from { transform: rotate(-12deg); } to { transform: rotate(16deg); } }
@keyframes bn-zzz { 0% { opacity: 0; transform: translate(-3px, 4px); } 35%, 60% { opacity: 1; transform: none; } 100% { opacity: 0; transform: translate(3px, -5px); } }
@keyframes bn-swing { from { transform: rotate(-6deg); } to { transform: rotate(6deg); } }
@keyframes bn-dangle { from { transform: rotate(-9deg); } to { transform: rotate(9deg); } }
@keyframes bn-float { from { transform: translateY(1.5px); } to { transform: translateY(-2.5px); } }
@keyframes bn-breathe { from { transform: scaleY(.94); } to { transform: scaleY(1.07); } }
@keyframes bn-swell {
  0% { opacity: 0; transform: translateY(.2em); font-variation-settings: "wdth" 76, "wght" 300; }
  45% { opacity: 1; transform: translateY(-.07em); font-variation-settings: "wdth" 100, "wght" 800; }
  100% { opacity: 1; transform: none; font-variation-settings: "wdth" 100, "wght" 700; }
}
@keyframes bn-pop-in { from { transform: scale(0); } to { transform: none; } }
@keyframes bn-swing-wide { from { transform: rotate(-11deg); } to { transform: rotate(9deg); } }
@keyframes bn-unfold { from { transform: scale(0); } to { transform: none; } }
