/* Arthur, the homepage spotlight: a liquid-glass frame (theme.css .ex-glass) on the electric hero (.ex-hero).
   Ben, Nov 26: the hero's scene is in front from the first frame. The glass stays under the words only; the picture
   half is clear, so the hero (the still background, then the live scene) shows around Arthur, who is cut out of his
   black backdrop (assets/arthur-smoky-opal-cut.webp). The scene swaps in with no fade. Text keeps the 97% glass fill,
   so its contrast is the same as before (theme.css, Liquid glass panel). Where the page draws on the CPU (hero-soft),
   theme.css's solid glass still wins on purpose: a clear panel over a moving scene costs a redraw each frame there. */
.bcs-arthur{--arthur-muted:color-mix(in oklab,var(--ex-n3) 72%,var(--ex-n2));--arthur-fill:color-mix(in oklab,color-mix(in oklab,var(--ex-n2) 81%,var(--ex-n1)) 97%,transparent);align-content:center;padding:clamp(24px,4vw,55px) 0 clamp(30px,5vw,68px)}
.bcs-arthur .ex-hero__canvas{transition:none}
/* Ben, Nov 26 ("bottom and right"): before the scene starts, and where it never runs, the still hero looks like the
   live one: its two dye colours (deep blue and pale cyan, from vgpu/src/entry-fluid.ts with seed 3, hue 8) on near
   black, with no grid and no light sweep. theme.css still makes it flat where the page draws on the CPU (hero-soft). */
.bcs-arthur{touch-action:pan-y pinch-zoom;background-image:radial-gradient(30% 42% at 74% 32%,rgb(51 94 192/.85),transparent 72%),radial-gradient(24% 30% at 58% 68%,rgb(138 181 192/.42),transparent 70%),radial-gradient(26% 34% at 90% 80%,rgb(51 94 192/.6),transparent 70%),radial-gradient(22% 30% at 20% 22%,rgb(51 94 192/.32),transparent 72%)}
.bcs-arthur::before,.bcs-arthur .ex-hero__sweep{display:none}
/* Arthur himself: arthur.js draws him as a soft body on this canvas, over the whole hero, so he can fly in from any
   side and be thrown. The <img> keeps his place; it hides while the script waits for its first frame (or 2.5 s at
   most, if the script never runs), and shows at once when the script cannot run (arthur-static). */
.bcs-arthur.arthur-hover{cursor:grab}
.bcs-arthur.arthur-held{cursor:grabbing}
@media(scripting:enabled) and (prefers-reduced-motion:no-preference){.bcs-arthur .arthur-art img{visibility:hidden;animation:arthur-reveal 0s 2.5s forwards}}
@keyframes arthur-reveal{to{visibility:visible}}
.bcs-arthur.arthur-live .arthur-art img{visibility:hidden;animation:none}
.bcs-arthur.arthur-static .arthur-art img{visibility:visible;animation:none}
/* the scrim keeps the soft fades into the page above and below; the words have their own glass, so no side shade */
.bcs-arthur::after{background:linear-gradient(180deg,color-mix(in oklab,var(--ex-n1) 70%,transparent),transparent 12%),linear-gradient(0deg,var(--ex-n1),transparent 18%)}
.bcs-arthur .arthur-frame{display:grid;grid-template-columns:minmax(0,.82fr) minmax(0,1.18fr);align-items:center;overflow:hidden;margin-inline:auto;border-radius:clamp(16px,2vw,24px);background:linear-gradient(90deg,var(--arthur-fill) 41%,transparent 62%)}
.arthur-frame::after{content:"";inset:8px;position:absolute;z-index:2;pointer-events:none;border:1px solid color-mix(in oklab,var(--ex-n3) 10%,transparent);border-radius:inherit}
.arthur-art{position:relative;min-width:0;grid-area:1/2;aspect-ratio:1/1;margin:0}
.arthur-art img{position:relative;display:block;width:100%;height:100%;object-fit:cover}
/* Ben, Nov 27 ("Put us as a duo hero"): cartoon Ben (assets/ben-cartoon-cut.webp, cut from the approved full-body
   take c2_full_t1) stands at the left of the picture half, turned toward Arthur, who floats beside his head. Ben is
   his own grid item in the art's cell (outside .arthur-art, so arthur.js and the rules above still find only
   Arthur's picture). Arthur's picture is a smaller square at the right: arthur.js takes his home and size from it. */
.duo-ben{position:relative;z-index:1;grid-area:1/2;align-self:end;justify-self:start;width:27%;height:auto;margin:0 0 3.5% 4%;filter:drop-shadow(0 10px 14px rgb(0 0 0/.28))}
.arthur-art img{width:72%;height:72%;margin:7.4% 0 0 28%}
.arthur-copy{position:relative;grid-area:1/1;z-index:1;padding:clamp(22px,6vw,76px) 0 clamp(22px,6vw,76px) clamp(22px,6vw,76px)}
.arthur-kicker{color:var(--ex-pop);font:640 11px/1.2 ui-sans-serif,system-ui,sans-serif;letter-spacing:.23em;text-transform:uppercase}
.arthur-title{color:var(--ex-n3);margin:15px 0 20px;font-size:clamp(55px,7.7vw,112px);font-weight:670;letter-spacing:-.083em;line-height:.88;text-wrap:balance}
@media(max-width:650px){
 .bcs-arthur .arthur-frame{grid-template-columns:1fr}
 .arthur-art,.duo-ben{grid-area:2/1}
 .arthur-art{aspect-ratio:1/1}
 .arthur-copy{grid-area:1/1;padding:26px 24px 0}
 .arthur-title{margin:12px 0 15px}
 /* one column: the glass sits behind the words and fades out down the top of the picture */
 .bcs-arthur .arthur-frame{background:none}
 .bcs-arthur .arthur-copy{background:var(--arthur-fill)}
 .bcs-arthur .arthur-art::before{content:"";position:absolute;inset:0;background:linear-gradient(180deg,var(--arthur-fill),transparent 40%)}
}
/* reduced transparency: the whole frame is solid again, as theme.css makes every glass panel */
@media(prefers-reduced-transparency:reduce){
 .bcs-arthur .arthur-frame{background:var(--ex-n2)}
 .bcs-arthur .arthur-copy{background:none}
 .bcs-arthur .arthur-art::before{content:none}
}
.arthur-note{margin-top:12px;max-width:34ch;color:var(--arthur-muted);font:400 clamp(13px,1.45vw,16px)/1.5 ui-sans-serif,system-ui,sans-serif;text-wrap:pretty}
.arthur-note strong{color:var(--ex-n3)}
