/* Andreas 5:35 PM Oct 14 2026: right after the intro, a full-screen Bay Area | Chicago chooser ("make it cool tho"). Shows on every home visit (5:37 PM: don't remember the choice). */
.bbch{position:fixed;inset:0;z-index:2147483000;background:#000;overflow:hidden;font-family:Inter,system-ui,sans-serif;-webkit-tap-highlight-color:transparent;opacity:1;transition:opacity .45s ease}
.bbch.out{opacity:0;pointer-events:none}
.bbch-h{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;margin:0!important;padding:0!important;border:0!important;box-sizing:border-box;-webkit-text-stroke:0!important;text-shadow:none;letter-spacing:normal;display:block;color:#fff;text-decoration:none;overflow:hidden;cursor:pointer;outline:none}
.bbch-h.bay{clip-path:polygon(0 0,100% 0,100% 46%,0 54%);transform:translateX(-100%);animation:bbchInL .7s cubic-bezier(.2,.9,.2,1) .05s forwards}
.bbch-h.wi{clip-path:polygon(0 54%,100% 46%,100% 100%,0 100%);transform:translateX(100%);animation:bbchInR .7s cubic-bezier(.2,.9,.2,1) .12s forwards}
@keyframes bbchInL{to{transform:none}}@keyframes bbchInR{to{transform:none}}
.bbch-bg{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:.42;filter:saturate(.7) contrast(1.05);transform:scale(1.04);transition:transform 1.2s ease,opacity .5s ease}
.bbch-h.bay .bbch-bg{object-position:50% 30%}
.bbch-h.wi .bbch-bg{object-position:50% 70%}
.bbch-tint{position:absolute;inset:0;pointer-events:none}
.bbch-h.bay .bbch-tint{background:radial-gradient(120% 70% at 50% 18%,rgba(240,74,0,.30),rgba(0,0,0,0) 60%),linear-gradient(180deg,rgba(0,0,0,.35),rgba(0,0,0,.75) 70%)}
.bbch-h.wi .bbch-tint{background:radial-gradient(120% 70% at 50% 82%,rgba(138,79,209,.38),rgba(0,0,0,0) 60%),linear-gradient(0deg,rgba(0,0,0,.35),rgba(0,0,0,.75) 70%)}
.bbch-in{position:absolute;left:0;right:0;display:flex;flex-direction:column;align-items:center;text-align:center;padding:0 24px}
.bbch-h.bay .bbch-in{top:max(6vh,calc(env(safe-area-inset-top) + 24px))}
.bbch-h.wi .bbch-in{bottom:max(8vh,calc(env(safe-area-inset-bottom) + 26px))}
.bbch-lg{width:min(27vw,118px);height:auto;aspect-ratio:1;display:block;margin:0 0 6px;transition:transform .35s cubic-bezier(.2,.9,.2,1),filter .35s ease}
.bbch-h.bay .bbch-lg{filter:drop-shadow(0 0 18px rgba(240,74,0,0.303))}
.bbch-h.wi .bbch-lg{filter:drop-shadow(0 0 18px rgba(138,79,209,.65))}
.bbch-t{font:400 clamp(54px,17vw,96px)/.9 Anton,Impact,sans-serif;letter-spacing:.01em;text-transform:uppercase;margin:0}
.bbch-h.bay .bbch-t{color:#f04a00;text-shadow:0 0 22px rgba(240,74,0,0.303),0 0 2px rgba(240,74,0,0.495)}
.bbch-h.wi .bbch-t{color:#a46ff0;text-shadow:0 0 22px rgba(138,79,209,.65),0 0 2px rgba(164,111,240,.9)}
.bbch-s{margin:10px 0 0;font:700 12px/1 Inter,system-ui,sans-serif;letter-spacing:.32em;text-transform:uppercase;color:rgba(255,255,255,.78)}
.bbch-go{margin-top:16px;display:inline-flex;align-items:center;gap:8px;padding:11px 20px;border-radius:999px;font:800 13px/1 Inter,system-ui,sans-serif;letter-spacing:.14em;text-transform:uppercase;transition:transform .3s ease,box-shadow .3s ease}
.bbch-h.bay .bbch-go{background:#f04a00;color:#000;box-shadow:0 0 24px rgba(240,74,0,0.248)}
.bbch-h.wi .bbch-go{background:#8a4fd1;color:#fff;box-shadow:0 0 24px rgba(138,79,209,.55)}
.bbch-go svg{width:15px;height:15px}
.bbch-seam{position:absolute;left:-5%;right:-5%;top:50%;height:4px;margin-top:-2px;transform:rotate(-4.6deg) scaleX(0);transform-origin:50% 50%;background:linear-gradient(90deg,#f04a00 0%,#f04a00 38%,#fff 50%,#8a4fd1 62%,#8a4fd1 100%);box-shadow:0 0 14px rgba(255,255,255,.35),0 -6px 26px rgba(240,74,0,0.248),0 6px 26px rgba(138,79,209,.5);animation:bbchSeam .55s cubic-bezier(.2,.9,.2,1) .45s forwards;pointer-events:none;z-index:3}
@keyframes bbchSeam{to{transform:rotate(-4.6deg) scaleX(1)}}
.bbch-k{position:absolute;left:50%;top:50%;z-index:4;transform:translate(-50%,-50%) rotate(-4.6deg);padding:7px 14px;background:#000;border:1px solid rgba(255,255,255,.22);border-radius:999px;font:800 10.5px/1 Inter,system-ui,sans-serif;letter-spacing:.3em;text-transform:uppercase;color:#fff;white-space:nowrap;opacity:0;animation:bbchFade .4s ease .85s forwards;pointer-events:none}
@keyframes bbchFade{to{opacity:1}}
.bbch-h:active .bbch-lg,.bbch-h:hover .bbch-lg,.bbch-h:focus-visible .bbch-lg{transform:scale(1.08)}
.bbch-h:active .bbch-go,.bbch-h:hover .bbch-go{transform:scale(1.05)}
.bbch-h.bay:hover .bbch-go,.bbch-h.bay:active .bbch-go{box-shadow:0 0 38px rgba(240,74,0,0.44)}
.bbch-h.wi:hover .bbch-go,.bbch-h.wi:active .bbch-go{box-shadow:0 0 38px rgba(138,79,209,.85)}
.bbch-h:hover .bbch-bg,.bbch-h:active .bbch-bg{opacity:.55;transform:scale(1.08)}
.bbch.pick .bbch-h:not(.on){opacity:0;transition:opacity .35s ease}
.bbch.pick .bbch-h.on{clip-path:polygon(0 0,100% 0,100% 100%,0 100%);transition:clip-path .45s cubic-bezier(.2,.9,.2,1)}
.bbch.pick .bbch-seam,.bbch.pick .bbch-k{opacity:0;transition:opacity .2s}
html.bbch-lock,html.bbch-lock body{overflow:hidden!important}
@media (prefers-reduced-motion:reduce){.bbch-h,.bbch-seam,.bbch-k{animation:none!important;transform:none!important;opacity:1}.bbch-seam{transform:rotate(-4.6deg)!important}.bbch-k{transform:translate(-50%,-50%) rotate(-4.6deg)!important}}
.bbch-h *{-webkit-text-stroke:0!important}
.bbch-s,.bbch-go{text-shadow:none!important}

/* Oct 14 2026 5:47-5:50 PM (Andreas: "make the Bay Area side cooler background", "whats up with the upside down backgrounds").
   Each half now has its own graded still pinned to its half (no full-screen video, so nothing shows the lake reflection or upscales):
   Bay = "Golden Gate Bridge and San Francisco skyline from Hawk Hill at Blue Hour dllu (cropped)" by King of Hearts (Wikimedia Commons, CC BY-SA 4.0), darkened with a green cast in the shadows;
   Chicago = "Chicago Lakefront Night Skyline" (Wikimedia Commons, CC BY-SA 3.0), darkened with a purple cast in the shadows.
   Portrait crops for phones, wide crops for desktop (<picture> media min-aspect-ratio 1/1). Slow Ken Burns. */
.bbch-pic{display:contents}
.bbch-h .bbch-bg.bbch-ph{position:absolute;left:0;right:0;width:100%;height:58%;opacity:1;filter:none;will-change:transform;animation:bbchKB 22s ease-in-out infinite alternate}
.bbch-h.bay .bbch-bg.bbch-ph{top:0;bottom:auto;object-position:50% 40%;transform-origin:32% 30%}
.bbch-h.wi .bbch-bg.bbch-ph{top:auto;bottom:0;object-position:50% 50%;transform-origin:60% 60%;animation-delay:-8s}
@keyframes bbchKB{from{transform:scale(1.02)}to{transform:scale(1.1) translate3d(1%,.8%,0)}}
@media (min-aspect-ratio:1/1){.bbch-h .bbch-bg.bbch-ph{height:60%}.bbch-h.bay .bbch-bg.bbch-ph{object-position:50% 30%}.bbch-h.wi .bbch-bg.bbch-ph{object-position:50% 70%}}
.bbch-h:hover .bbch-bg.bbch-ph,.bbch-h:active .bbch-bg.bbch-ph{opacity:1}
.bbch-h.bay .bbch-tint{background:linear-gradient(180deg,rgba(0,0,0,.55) 0%,rgba(0,0,0,.15) 28%,rgba(0,0,0,.05) 42%,rgba(0,0,0,.5) 58%),radial-gradient(90% 45% at 50% 52%,rgba(240,74,0,.18),rgba(240,74,0,0) 70%)}
.bbch-h.wi .bbch-tint{background:linear-gradient(0deg,rgba(0,0,0,.6) 0%,rgba(0,0,0,.15) 30%,rgba(0,0,0,.05) 44%,rgba(0,0,0,.5) 60%),radial-gradient(90% 45% at 50% 48%,rgba(138,79,209,.2),rgba(138,79,209,0) 70%)}
.bbch-h.bay .bbch-t{text-shadow:0 0 22px rgba(240,74,0,0.303),0 0 2px rgba(240,74,0,0.495),0 2px 14px rgba(0,0,0,.7)}
.bbch-h.wi .bbch-t{text-shadow:0 0 22px rgba(138,79,209,.65),0 0 2px rgba(164,111,240,.9),0 2px 14px rgba(0,0,0,.7)}
@media (prefers-reduced-motion:reduce){.bbch-h .bbch-bg.bbch-ph{animation:none}}

/* Andreas 2026-10-26 8:15 PM "the white looks neon on bay area but not chicago": Bay half keeps its green but drops the heavy bloom so it reads
   clean and matte like the Chicago half */
.bbch-h.bay .bbch-lg{filter:drop-shadow(0 0 8px rgba(240,74,0,0.099))}
.bbch-h.bay .bbch-t{text-shadow:0 0 1px rgba(240,74,0,0.275),0 2px 14px rgba(0,0,0,.7)}
.bbch-h.bay .bbch-go{box-shadow:0 0 10px rgba(240,74,0,0.099)}
.bbch-h.bay:hover .bbch-go,.bbch-h.bay:active .bbch-go{box-shadow:0 0 18px rgba(240,74,0,0.193)}

/* Andreas 2026-10-26 8:2x PM "i feel like the chicago isn't centered": each block sits on the vertical middle of its own half
   (the divider crosses the middle of the screen at 50%), so the Bay and Chicago spacing mirror each other */
.bbch-h.bay .bbch-in{top:25%!important;bottom:auto!important;translate:0 -50%}
.bbch-h.wi .bbch-in{top:75%!important;bottom:auto!important;translate:0 -50%}

/* Andreas 8:2x PM "when you click on the side it just lags / we need like a fade into the page": tapping the other city fades the whole
   screen to black, then the city page fades in from black */
.bbch-fade{position:fixed;inset:0;z-index:2147483646;background:#000;opacity:0;pointer-events:none;transition:opacity .32s ease}
.bbch-fade.on{opacity:1}

/* tap animation 2026-10-27 (Andreas 8:39 PM "there's still no animation when you click a side"): transform/opacity only, ~0.5 s here, then the page
   cross-fades in. 1) ENTER press  2) tapped half opens to full screen, its photo zooms to fill, the other half slides off + fades
   3) the BB logo rises to the screen center and scales up with a soft city-color glow pulse */
.bbch-h.press .bbch-go{transform:scale(.9)!important;transition:transform .12s ease-out}
.bbch.pick .bbch-h:not(.on){opacity:0;transition:opacity .38s ease-out,transform .45s cubic-bezier(.4,0,.2,1)}
.bbch.pick .bbch-h.bay:not(.on){translate:0 -22%;transition:opacity .38s ease-out,translate .45s cubic-bezier(.4,0,.2,1)}
.bbch.pick .bbch-h.wi:not(.on){translate:0 22%;transition:opacity .38s ease-out,translate .45s cubic-bezier(.4,0,.2,1)}
.bbch.pick .bbch-h.on{z-index:3;clip-path:polygon(0 0,100% 0,100% 100%,0 100%);transition:clip-path .45s cubic-bezier(.16,1,.3,1)}
.bbch.pick .bbch-h.on .bbch-bg.bbch-ph{animation:none;transition:transform .5s cubic-bezier(.16,1,.3,1)}
.bbch.pick .bbch-h.bay.on .bbch-bg.bbch-ph{transform-origin:50% 0;transform:scale(1.75)}
.bbch.pick .bbch-h.wi.on .bbch-bg.bbch-ph{transform-origin:50% 100%;transform:scale(1.75)}
.bbch.pick .bbch-h.on .bbch-tint{opacity:.85;transition:opacity .45s ease}
.bbch.pick .bbch-h.bay.on .bbch-in{transform:translate3d(0,25vh,0)}
.bbch.pick .bbch-h.wi.on .bbch-in{transform:translate3d(0,-25vh,0)}
.bbch.pick .bbch-h.on .bbch-in{transition:transform .5s cubic-bezier(.16,1,.3,1)}
.bbch.pick .bbch-h.on .bbch-lg{transform:translate3d(0,-18px,0) scale(1.4);transition:transform .5s cubic-bezier(.16,1,.3,1)}
.bbch.pick .bbch-h.on .bbch-s,.bbch.pick .bbch-h.on .bbch-go{opacity:0;transition:opacity .2s ease .05s}
.bbch-in{will-change:transform}
.bbch-glow{position:absolute;left:50%;top:0;width:min(27vw,118px);aspect-ratio:1;margin-left:calc(min(27vw,118px)/-2);border-radius:50%;pointer-events:none;opacity:0;transform:scale(.6);z-index:-1}
.bbch-h.bay .bbch-glow{background:radial-gradient(closest-side,rgba(240,74,0,.55),rgba(240,74,0,.18) 55%,rgba(240,74,0,0) 75%)}
.bbch-h.wi .bbch-glow{background:radial-gradient(closest-side,rgba(138,79,209,.7),rgba(138,79,209,.22) 55%,rgba(138,79,209,0) 75%)}
.bbch.pick .bbch-h.on .bbch-glow{animation:bbchGlow .62s cubic-bezier(.16,1,.3,1) .08s forwards}
@keyframes bbchGlow{0%{opacity:0;transform:translate3d(0,-18px,0) scale(.6)}45%{opacity:1;transform:translate3d(0,-18px,0) scale(2.6)}100%{opacity:.55;transform:translate3d(0,-18px,0) scale(2.1)}}
.bbch.pick .bbch-seam,.bbch.pick .bbch-k{animation:none!important;opacity:0!important;transition:opacity .15s}
::view-transition-old(root),::view-transition-new(root){animation-duration:.32s;animation-timing-function:ease-out}
@media (prefers-reduced-motion:reduce){.bbch.pick .bbch-h,.bbch.pick .bbch-h *{transition:none!important;animation:none!important}}
/* images are never hidden waiting on a load event: a picker photo shows as soon as any of its bytes arrive */
.bbch-bg,.bbch-lg{visibility:visible}

/* tap overlay (2026-10-27): built on tap, animated with transform/opacity; the city page opens on the same frame and fades it away */
.bbx-ov{position:fixed;top:0;left:0;right:0;bottom:0;z-index:2147483647;background:#000;overflow:hidden;pointer-events:none;contain:strict}
.bbx-ph{position:absolute;top:0;left:0;width:100%;height:100%;object-fit:cover;transform:scale(1.04);will-change:transform}
.bbx-ov.bay .bbx-ph{object-position:50% 40%}
.bbx-ov.wi .bbx-ph{object-position:50% 55%}
.bbx-tint{position:absolute;top:0;left:0;right:0;bottom:0;background:linear-gradient(180deg,rgba(0,0,0,.45),rgba(0,0,0,.2) 40%,rgba(0,0,0,.55))}
.bbx-lg,.bbx-glow{position:absolute;left:50%;top:44%;width:150px;height:150px;margin:-75px 0 0 -75px;will-change:transform,opacity}
.bbx-glow{border-radius:50%;transform:scale(1);opacity:.7}
.bbx-ov.bay .bbx-glow{background:radial-gradient(closest-side,rgba(240,74,0,.6),rgba(240,74,0,.2) 55%,rgba(240,74,0,0) 75%)}
.bbx-ov.wi .bbx-glow{background:radial-gradient(closest-side,rgba(138,79,209,.75),rgba(138,79,209,.25) 55%,rgba(138,79,209,0) 75%)}
/* 2026-10-27 Andreas 8:42 PM "different picture of chicago": Chicago half is now "Chicago (Unsplash).jpg" by Frank McKenna (Wikimedia Commons, CC0), Trump Tower + 330 N Wabash at blue hour, crop fills the half (no empty black band) */

/* glow 2026-10-27 (Andreas 9:59 PM "make the white neon also for both… the bb logo"): the SF BB logo gets the exact Chicago logo glow
   (18px, .65 alpha). The color rides a variable so the served recolor maps #f04a00 -> SF orange without the Bay glow dimmer touching its alpha. */
.bbch-h.bay{--bbch-lgc:rgba(240,74,0,.65)}
.bbch-h.bay .bbch-lg{filter:drop-shadow(0 0 18px var(--bbch-lgc))}

/* kit 2026-10-27 (Andreas 10:28 PM "this was normal"): white neon glow removed, picker logos back to the plain city glow (18px/.65). */
/* 2026-10-27 Andreas 10:22 PM "chicago text shouldn't be neon just logo": CHICAGO label matches the plain SF label (no glow), only the BB logo glows */
.bbch-h.wi .bbch-t{text-shadow:0 0 1px rgba(138,79,209,.5),0 2px 14px rgba(0,0,0,.7)}
