/* AIO home hero = the GALM deck stylesheet, ported 1:1 (docs/HERO_GALM.md lists every change). GALM's notes: one full-screen stage for a booth TV. Big moving text over whole clips; the controls hide
   while it plays (mouse move / tap / a key shows them). Tokens + fonts come from site.css. */
/* the Get A Lot More palette (the orange of the GALM slash mark) in place of the shared blue tokens */
.galm{--signal:#ff9a3c;--signal2:#ffb874;--glow:rgba(255,154,60,.35);--ink:#eef2f8;--line:rgba(255,255,255,.12);--font:var(--f-body);--display:var(--f-head)}
.galm{position:relative;height:calc(100vh - 68px);height:calc(100svh - 68px);min-height:420px;overflow:hidden;background:#000;color:var(--ink);isolation:isolate}
.galm-media{position:absolute;inset:0;z-index:0}
.galm-clip{position:absolute;inset:0;width:100%;height:100%;max-width:none;object-fit:cover;opacity:0;transition:opacity var(--fade,.6s) ease,object-position .1s linear}
.galm-clip.is-on{opacity:1}
.galm-shade{position:absolute;inset:0;background:linear-gradient(180deg,rgba(5,7,11,.5) 0,rgba(5,7,11,0) 22%,rgba(5,7,11,0) 42%,rgba(5,7,11,.72) 74%,rgba(5,7,11,.92) 100%),radial-gradient(70% 55% at 12% 92%,rgba(255,129,52,.16),transparent 70%),radial-gradient(30% 24% at 9% 7%,rgba(5,7,11,.5),transparent 72%)}

/* brand */
/* brand: the real GALM wordmark (white lettering); a tight + a soft shadow keep it readable on golden-hour sky and office glass */
.galm-mark{position:absolute;z-index:2;top:calc(clamp(18px,3.4vh,48px) + env(safe-area-inset-top,0px));left:calc(clamp(20px,4.5vw,88px) + env(safe-area-inset-left,0px));width:clamp(156px,12vw,264px);height:auto;filter:drop-shadow(0 1px 2px rgba(0,0,0,.55)) drop-shadow(0 2px 16px rgba(0,0,0,.5))}

/* beats: big text, words rise in, then the whole block drifts slowly while it holds */
.galm-beats{position:absolute;z-index:2;left:calc(clamp(20px,4.5vw,88px) + env(safe-area-inset-left,0px));right:calc(clamp(20px,4.5vw,88px) + env(safe-area-inset-right,0px));bottom:calc(clamp(84px,11.5vh,150px) + env(safe-area-inset-bottom,0px))} /* low: the headlines sit under the faces (7, 8) */
.galm-beat{position:absolute;left:0;bottom:0;width:min(100%,1320px);opacity:0;visibility:hidden}
.galm-beat.is-in{opacity:1;visibility:visible;animation:galm-drift var(--sec,8s) linear both}
.galm-beat.is-out{visibility:visible;animation:galm-out .5s ease both}
.galm-count{position:relative;z-index:0;display:inline-block;font:700 clamp(12px,1.05vw,20px)/1 var(--font);letter-spacing:.24em;color:var(--signal2);margin:0 0 1em;text-shadow:0 0 1px #000,0 0 2px #000,0 0 3px rgba(0,0,0,.9),0 1px 14px rgba(0,0,0,.8)}
/* the counter is small text over any frame: a tight outline + its own blurred dark backdrop (the glass labels' method) */
.galm-count::before{content:"";position:absolute;z-index:-1;inset:-9px -14px -9px -12px;border-radius:12px;background:rgba(5,7,11,.72);filter:blur(6px);pointer-events:none}
.galm-count span{color:rgba(238,242,248,.82)}
/* ONE headline size for every scene; its line breaks are hand-set in galm.json (\n) so none covers the subject; a narrow screen wraps */
.galm-head{font-size:calc(clamp(32px,3.96vw,74px)*var(--head-scale,1));line-height:.98;letter-spacing:-.03em;color:#fff;max-width:none;margin:0 0 .3em;text-shadow:0 2px 4px rgba(0,0,0,.35),0 4px 40px rgba(0,0,0,.6)}
.galm-head .w{display:inline-block}
.galm-head[data-scale]{max-width:none} /* a scaled headline keeps to one line where it fits (scenes 7 + 8 sit under the faces) */
/* portrait: the copy sits under the faces at full size; a short landscape phone (<= 500 px tall): the body line covers them
   anyway, so the one-line scenes (7, 8) keep their full size there; scene 4 (line break, beside the phone) stays scaled */
@media (max-aspect-ratio:1/1){.galm-head[data-scale]{--head-scale:1!important;max-width:15ch}}
@media (max-height:500px) and (min-aspect-ratio:1/1){.galm-head[data-scale]:not(.has-br){--head-scale:1!important;max-width:15ch}}
.galm-line{font:500 clamp(18px,2.15vw,42px)/1.32 var(--font);color:rgba(238,242,248,.94);max-width:36ch;text-shadow:0 1px 3px rgba(0,0,0,.45),0 2px 24px rgba(0,0,0,.7)}
/* galm.json shade: true = the copy sits over a bright part of the frame (scene 3: the window + cling) */
.galm-beat.is-shade .galm-head{text-shadow:0 2px 6px rgba(0,0,0,.6),0 4px 48px rgba(0,0,0,.85)}
.galm-beat.is-shade .galm-line{text-shadow:0 1px 4px rgba(0,0,0,.65),0 2px 28px rgba(0,0,0,.85)}
.galm-beat.is-in .galm-count{animation:galm-rise .7s cubic-bezier(.2,.7,.2,1) both}
.galm-beat.is-in .w{animation:galm-rise .9s cubic-bezier(.2,.7,.2,1) both}
.galm-beat.is-in .w:nth-of-type(1){animation-delay:.12s}
.galm-beat.is-in .w:nth-of-type(2){animation-delay:.22s}
.galm-beat.is-in .w:nth-of-type(3){animation-delay:.32s}
.galm-beat.is-in .w:nth-of-type(4){animation-delay:.42s}
.galm-beat.is-in .w:nth-of-type(5){animation-delay:.52s}
.galm-beat.is-in .w:nth-of-type(6){animation-delay:.62s}
.galm-beat.is-in .w:nth-of-type(n+7){animation-delay:.72s}
.galm-beat.is-in .galm-line{animation:galm-rise 1s .75s cubic-bezier(.2,.7,.2,1) both}
@keyframes galm-rise{from{opacity:0;transform:translate3d(0,.6em,0)}to{opacity:1;transform:none}}
@keyframes galm-drift{from{transform:translate3d(0,0,0)}to{transform:translate3d(0,-1.6vh,0)}}
@keyframes galm-out{from{opacity:1}to{opacity:0;transform:translate3d(0,-2vh,0)}}

/* captions: the spoken lines, big + centred under the beat copy (it sits higher, in .galm-beats), on a dark plate */
.galm-caps{position:absolute;z-index:3;left:50%;bottom:calc(clamp(22px,3.6vh,44px) + env(safe-area-inset-bottom,0px));transform:translateX(-50%);width:min(90vw,1500px);text-align:center;pointer-events:none}
.galm-cap{display:none;margin:0;font:600 clamp(15px,1.3vw,24px)/1.3 var(--font);color:#fff;letter-spacing:-.005em}
.galm-cap.is-on{display:inline;padding:.12em .5em;border-radius:.28em;background:rgba(5,7,11,.78);-webkit-box-decoration-break:clone;box-decoration-break:clone}
.galm-cc-t{font:800 13px/1 var(--font);letter-spacing:.06em;border:2px solid currentColor;border-radius:4px;padding:3px 4px}

/* the white end card (galm.json end_card, galm.py end_card): the GALM mark as the hero, the line, the partner logo small */
.galm-end{position:absolute;z-index:4;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:clamp(18px,3.2vh,44px);padding:0 6vw;background:#fff;text-align:center;opacity:0;visibility:hidden;transition:opacity .8s ease,visibility 0s linear .8s}
.galm.is-card .galm-end{opacity:1;visibility:visible;transition:opacity var(--card-fade,1s) ease,visibility 0s}
.galm-end-mark{width:clamp(250px,40vw,780px);height:auto}
.galm-end-line{margin:0;max-width:36ch;font:600 clamp(18px,1.9vw,36px)/1.35 var(--font);color:#14171c;letter-spacing:-.005em}
.galm-end-logo{width:clamp(60px,8.8vw,170px);height:auto}

/* 8 -> 1: the stage dips to black and back while beat 1 comes in (galm.js adds .is-bridge for one loop) */
.galm.is-bridge .galm-media{animation:galm-bridge 1s ease both}
@keyframes galm-bridge{0%{opacity:1}40%{opacity:0}100%{opacity:1}}

/* the big PLAY / LOOP button (before the first tap, and again after a non-looping run ends) */
.galm-start{position:absolute;z-index:4;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:18px;padding:0 20px 18vh;background:radial-gradient(60% 50% at 50% 42%,rgba(5,7,11,.15),rgba(5,7,11,.45))}
.galm[data-state=playing] .galm-start,.galm[data-state=paused] .galm-start{display:none}
.galm-go{position:relative;display:inline-flex;align-items:center;gap:.55em;padding:.85em 1.5em .85em 1.2em;border:0;border-radius:999px;background:var(--signal);color:#05070b;font:700 clamp(22px,2.4vw,44px)/1 var(--display);letter-spacing:-.01em;cursor:pointer;box-shadow:0 18px 60px -12px var(--glow),0 0 0 1px rgba(255,255,255,.12) inset;transition:transform .2s,box-shadow .2s}
.galm-go:hover{transform:translateY(-2px);box-shadow:0 24px 70px -10px var(--glow),0 0 0 1px rgba(255,255,255,.2) inset}
.galm-go svg{width:1.1em;height:1.1em}
.galm-go::before{content:"";position:absolute;inset:0;border-radius:inherit;border:2px solid var(--signal2);animation:galm-ring 2.4s cubic-bezier(.2,.6,.3,1) infinite;pointer-events:none}
@keyframes galm-ring{from{opacity:.8;transform:scale(1)}to{opacity:0;transform:scale(1.35,1.7)}}
.galm-hint{font-size:clamp(13px,1vw,18px);color:rgba(238,242,248,.78);text-align:center;text-shadow:0 1px 3px rgba(0,0,0,.5),0 2px 12px rgba(0,0,0,.7)}

/* the control bar: visible before play, when paused, and for 3 s after the pointer moves / a tap / a key while playing */
.galm-bar{position:absolute;z-index:5;left:50%;bottom:calc(clamp(14px,3vh,34px) + env(safe-area-inset-bottom,0px));transform:translateX(-50%);display:flex;align-items:center;gap:4px;padding:6px;border-radius:999px;background:rgba(8,12,20,.26);border:1px solid rgba(255,255,255,.08);backdrop-filter:blur(30px) brightness(.72) saturate(1.3);-webkit-backdrop-filter:blur(30px) brightness(.72) saturate(1.3);box-shadow:0 10px 36px -14px rgba(0,0,0,.35);transition:opacity .35s ease;max-width:calc(100vw - 20px)}
.galm-btn{flex:none;display:inline-flex;align-items:center;justify-content:center;gap:6px;min-width:44px;height:44px;padding:0 10px;border:0;border-radius:999px;background:transparent radial-gradient(closest-side,rgba(5,7,11,.46) 58%,rgba(5,7,11,0));color:var(--ink);font:600 14px/1 var(--font);cursor:pointer} /* a soft dark core under each icon: the bar itself stays light */
.galm-btn:hover{background-color:rgba(255,255,255,.08)}
.galm-btn svg{width:22px;height:22px;filter:drop-shadow(0 0 2px rgba(0,0,0,.55))}
.galm-btn[aria-pressed=true]{background-color:rgba(255,129,52,.24);color:#fff}
.galm-sound[aria-pressed=true]{background-color:rgba(255,90,90,.2)}
.galm-sound[aria-pressed=true] .i-wave{opacity:.25}
.galm-toggle .i-pause,.galm.is-playing .galm-toggle .i-play{display:none}
.galm.is-playing .galm-toggle .i-pause{display:block}
.galm-vol{display:flex;align-items:center;padding:0 8px}
.galm-volume{width:96px;height:44px;accent-color:var(--signal)} /* 44 px tall touch targets (phones in landscape show them) */
.galm-music-volume{width:72px;height:44px;accent-color:var(--signal2)}
.galm-mvol{padding-left:0}
.galm-sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.galm-progress{position:absolute;z-index:3;left:0;right:0;bottom:0;height:3px;background:rgba(255,255,255,.08);transition:opacity .35s ease}
.galm-progress i{display:block;height:100%;background:var(--signal2);transform:scaleX(0);transform-origin:0 50%}
.galm.is-playing:not(.ui-on) .galm-bar,.galm.is-playing:not(.ui-on) .galm-progress{opacity:0;pointer-events:none}
.galm.galm-nocursor,.galm.galm-nocursor *{cursor:none!important}

/* the galm host's 404 (galm.render_404) */
.galm-404{display:flex;align-items:center;justify-content:center;background:#05070b}
.galm-404-copy{text-align:center;padding:0 20px}
.galm-404-copy h1{font-size:clamp(32px,5vw,72px);color:#fff;margin:0 0 .5em}
.galm-404-home{color:var(--signal2);font:600 clamp(16px,1.4vw,24px)/1.4 var(--font)}

/* the scene menu (galm.json menu: true): a list above the control bar, the look of the Compass pill; top/right reset: site.css gives every nav inset 0 0 auto */
.galm-menu{position:absolute;z-index:6;top:auto;right:auto;left:50%;bottom:calc(clamp(14px,3vh,34px) + 64px + env(safe-area-inset-bottom,0px));transform:translateX(-50%);width:min(92vw,380px);max-height:calc(100% - 150px);overflow:auto;padding:6px;border-radius:18px;background:rgba(10,14,22,.28);border:1px solid rgba(255,255,255,.1);backdrop-filter:blur(30px) brightness(.72) saturate(1.3);-webkit-backdrop-filter:blur(30px) brightness(.72) saturate(1.3);box-shadow:0 18px 50px -16px rgba(0,0,0,.35)}
.galm-menu[hidden]{display:none}
.galm-menu ol{list-style:none;margin:0;padding:0}
.galm-menu-item{display:flex;align-items:center;gap:12px;width:100%;min-height:44px;padding:8px 12px;border:0;border-radius:12px;background:transparent;color:var(--ink);font:600 15px/1.25 var(--font);text-align:left;cursor:pointer}
.galm-menu-item:hover,.galm-menu-item:focus-visible{background:rgba(255,255,255,.06);outline:none}
.galm-menu-item:focus-visible{box-shadow:inset 0 0 0 1px rgba(255,255,255,.35)}
.galm-menu-item[aria-current=true]{color:#fff;background:rgba(255,255,255,.1)}
.galm-menu-n{flex:none;font:700 12px/1 var(--font);letter-spacing:.14em;color:#ffc4a0} /* a paler --signal2: the numerals sit on the same light glass as the titles */
.galm.is-playing:not(.ui-on) .galm-menu{display:none}

/* the timeline (galm.json scrub: true): above the control bar (galm.js places it on the bar's real top), hidden with the controls */
.galm-scrub{position:absolute;z-index:5;left:50%;bottom:calc(clamp(14px,3vh,34px) + 64px + env(safe-area-inset-bottom,0px));transform:translateX(-50%);width:min(calc(100vw - 20px),960px);padding:0 18px;border-radius:999px;background:rgba(8,12,20,.16);border:1px solid rgba(255,255,255,.07);backdrop-filter:blur(30px) brightness(.78) saturate(1.3);-webkit-backdrop-filter:blur(30px) brightness(.78) saturate(1.3);transition:opacity .35s ease}
.galm[data-state=idle] .galm-scrub{display:none}
.galm.is-playing:not(.ui-on) .galm-scrub{opacity:0;pointer-events:none}
.galm-scrub-track{position:relative;height:44px;cursor:pointer;touch-action:none;outline:none} /* the whole 44 px row takes the pointer */
.galm-scrub-track::before,.galm-scrub-fill{content:"";position:absolute;left:0;right:0;top:50%;height:3px;margin-top:-1.5px;border-radius:2px}
.galm-scrub-track::before{background:rgba(255,255,255,.2)}
.galm-scrub-fill{display:block;background:var(--signal);transform-origin:0 50%;transform:scaleX(0)}
.galm-scrub-tick{position:absolute;top:50%;width:1px;height:10px;margin:-5px 0 0 -.5px;background:rgba(255,255,255,.5)}
.galm-scrub-thumb{position:absolute;top:50%;left:0;width:14px;height:14px;margin:-7px 0 0 -7px;border-radius:50%;background:#fff;box-shadow:0 1px 6px rgba(0,0,0,.45)}
.galm-scrub-track:focus-visible .galm-scrub-thumb{box-shadow:0 0 0 3px var(--signal2),0 1px 6px rgba(0,0,0,.45)}
.galm-scrub-tip{position:absolute;bottom:calc(100% + 6px);left:0;transform:translateX(-50%);padding:6px 10px;border-radius:8px;background:rgba(8,12,20,.62);backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px);color:#fff;font:600 14px/1.2 var(--font);text-shadow:0 1px 2px rgba(0,0,0,.6);white-space:nowrap;pointer-events:none;opacity:0;transition:opacity .15s}
.galm-scrub.is-tip .galm-scrub-tip{opacity:1}
/* text on the light glass: a blurred dark backdrop of its own (a pseudo layer under the glyphs, soft-edged) + a shadow holds AA
   >= 4.5 over a white frame with or without the frost (some engines report backdrop-filter and never paint it); the
   @supports-not fallback only adds a little tint. Numeral + title backdrops leave a 4 px gap the blur closes (no dark seam) */
.galm-loop span,.galm-music-btn span,.galm-cc-t,.galm-menu-n,.galm-menu-t{position:relative;z-index:0;text-shadow:0 1px 2px rgba(0,0,0,.6)}
.galm-loop span::before,.galm-music-btn span::before,.galm-cc-t::before,.galm-menu-n::before,.galm-menu-t::before{content:"";position:absolute;z-index:-1;inset:-5px -10px;border-radius:12px;background:rgba(5,7,11,.6);filter:blur(5px);pointer-events:none}
.galm-menu-n::before{inset:-7px -4px -7px -10px;background:rgba(5,7,11,.75)} /* a small shape: the blur thins its middle more */
.galm-menu-t::before{left:-4px}
@supports not ((backdrop-filter:blur(1px)) or (-webkit-backdrop-filter:blur(1px))){.galm-menu{background:rgba(8,12,20,.55)}.galm-bar{background:rgba(8,12,20,.5)}.galm-scrub{background:rgba(8,12,20,.4)}}
.galm.has-scrub{touch-action:pan-y pinch-zoom} /* a sideways swipe on the picture scrubs (galm.js) */

/* phones (the TV is the target; a phone still reads it) */
@media (max-width:600px){
  .galm-beats{bottom:112px}
  .galm-vol{display:none}
  .galm-btn{min-width:44px;padding:0 8px}
  .galm-bar{flex-wrap:wrap;justify-content:center;row-gap:4px;border-radius:26px} /* >= 44 px targets: two rows when they do not fit */
  .galm-menu{bottom:calc(clamp(14px,3vh,34px) + 116px + env(safe-area-inset-bottom,0px))}
  .galm-loop span,.galm-music-btn span{display:none}
  .galm-start{padding-bottom:30vh}
}
/* portrait phones: the open scene menu covers the copy, which showed through the light glass; the headline + body fade out
   while it is open (galm.js sets data-menu on the root) and back when it closes */
@media (max-width:600px) and (orientation:portrait){.galm-beats{transition:opacity .25s ease}.galm[data-menu=open] .galm-beats{opacity:0}}
/* the caption sits at the very bottom while the controls hide, and while they show it rides just above the timeline (galm.js sets
   --galm-ctl = bar + timeline height), sliding between the two. AIO (owner 12-02): captions are off by default and the scene copy never
   fades for them: with captions on (.galm-caps-on) the copy sits a caption lane higher, so the two never stack */
.galm-caps{transition:bottom .35s ease}
.galm.ui-on .galm-caps,.galm:not(.is-playing) .galm-caps{bottom:calc(var(--galm-ctl,0px) + 10px)}
.galm-beats{transition:opacity .25s ease,bottom .35s ease}
/* 4:3 to 16:10 landscape: cover crops the sides, so the subject sits closer to the copy; a scaled headline with a line break
   (scene 4, beside the phone) shrinks a bit more; the one-line ones under the faces (7, 8) already clear them */
@media (min-aspect-ratio:1/1) and (max-aspect-ratio:16/10){.galm-head.has-br[data-scale]{font-size:calc(clamp(32px,3.96vw,74px)*var(--head-scale,1)*.85)}}
@media (max-height:500px){.galm-beats{bottom:84px}.galm-head{font-size:calc(clamp(26px,3.6vw,44px)*var(--head-scale,1))}.galm-start{padding-bottom:0}}

/* reduced motion: text appears without moving; clips still cross-fade */
@media (prefers-reduced-motion:reduce){
  .galm-beat.is-in,.galm-beat.is-in .w,.galm-beat.is-in .galm-line,.galm-beat.is-in .galm-count,.galm-beat.is-out{animation:none}
  .galm-go::before{animation:none;opacity:0}
}

/* ---- AIO (not in GALM): a hero inside a page ---- */
@media (max-width:900px){.galm{height:calc(100vh - 62px);height:calc(100svh - 62px)}}
/* full screen refused: the stage takes the viewport (GALM does this on the whole document) */
.galm.galm-fs-fallback{position:fixed;inset:0;z-index:1000;height:auto}
.galm:fullscreen{height:100%}
/* the first beat (the page h1 + Join) shows on the first paint; the controls only with the script */
.galm:not(.galm-js) .galm-start,.galm:not(.galm-js) .galm-bar,.galm:not(.galm-js) .galm-progress,.galm:not(.galm-js) .galm-scrub{display:none}
.galm-poster,.galm-poster img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
@media (max-aspect-ratio:3/4){.galm-poster img{object-position:20% 50%}}  /* the phone crop opens on the first speaker, as scene 1's focus track does */
/* the PLAY overlay covers the stage, but the beat's buttons (Join, the sample) stay clickable around the PLAY button */
.galm-start{pointer-events:none}
.galm-go,.galm-hint{pointer-events:auto}
.galm[data-state=away] .galm-start{display:none}
/* the end of the run (galm.js reveal): no PLAY overlay over the last scene (the bar's Play replays); a 'Keep scrolling' cue, bottom right */
.galm[data-state=ended] .galm-start{display:none}
.galm-more{display:none;position:absolute;z-index:5;right:calc(clamp(20px,4.5vw,88px) + env(safe-area-inset-right,0px));top:clamp(18px,4vh,40px);margin:0;align-items:center;gap:8px;padding:8px 14px;border-radius:999px;background:rgba(8,12,20,.55);color:#fff;font:600 15px/1.2 var(--font)}
.galm-more svg{width:18px;height:18px;animation:galm-more 1.8s ease-in-out infinite}
@keyframes galm-more{0%,100%{transform:none}50%{transform:translateY(4px)}}
.galm[data-state=ended] .galm-more{display:inline-flex}
@media (prefers-reduced-motion:reduce){.galm-more svg{animation:none}}
.galm-beat .v4-btns{margin-top:22px;display:flex;flex-wrap:wrap;gap:12px}
.galm-beat a,.galm-beat button{pointer-events:auto}
/* the site's own type rules (body.v4 h1/h2/p: navy text, margins) are more specific than GALM's classes: re-assert GALM's values */
body.v4 .galm .galm-head{color:#fff;font-family:var(--display);margin:0 0 .3em;line-height:.98;letter-spacing:-.03em}
body.v4 .galm .galm-count{margin:0 0 1em;color:var(--signal2)}
body.v4 .galm .galm-line{margin:0;color:rgba(238,242,248,.94)}
body.v4 .galm .galm-hint{margin:0;color:rgba(238,242,248,.78)}
body.v4 .galm .galm-cap{margin:0;color:#fff}
body.v4 .galm .galm-end-line{margin:0}
/* before PLAY (and after a run ends) the copy + its buttons sit above the PLAY overlay's dimming, at full contrast */
.galm[data-state=idle] .galm-beats,.galm[data-state=ended] .galm-beats{z-index:5}
/* the copy (with the Join + sample buttons) sits above the timeline + bar, so a pause never covers a button */
.galm-beats{bottom:calc(clamp(14px,3vh,34px) + 132px + env(safe-area-inset-bottom,0px))}
.galm.galm-caps-on .galm-beats{bottom:calc(clamp(14px,3vh,34px) + 132px + 76px + env(safe-area-inset-bottom,0px))}
/* phones: the site's Compass pill keeps the bottom centre (owner rule: always on, no hide zones), so the controls sit above it,
   full width (two rows of 44 px targets instead of GALM's three); the copy and the caption clear both */
@media (max-width:600px){
  .galm-bar{left:10px;right:10px;transform:none;bottom:calc(80px + env(safe-area-inset-bottom,0px))}
  .galm-beats{bottom:calc(248px + env(safe-area-inset-bottom,0px))}
  .galm.galm-caps-on .galm-beats{bottom:calc(248px + 56px + env(safe-area-inset-bottom,0px))}
  .galm-caps{bottom:calc(86px + env(safe-area-inset-bottom,0px))}
  .galm-start{justify-content:flex-start;padding:9vh 20px 0}
  .galm-go{font-size:22px}
  .galm-beat .v4-btns{margin-top:16px;gap:10px}
}
/* a body line may have a shorter phone version */
.hd-short{display:none}
@media (max-width:640px){.hd-long{display:none}.hd-short{display:inline}}
