/* ═══ THE SITE SHELL (2026-11-04) — showcase-site.js, html.st. Mini-spec: sono-design-director 4 Nov 2026 (one reference: sonoxr.media's
   header — logo left, actions right, no bar, the top fade; Space Grotesk; graphite + silver, no new value). Motion from MOTION.md:
   the house curve cubic-bezier(.16,1,.3,1), enter 750 ms, chrome fades 300 ms with no travel, press .98 at 110 ms, hover 2 px at 220 ms.
   Only html.st is touched: every other Showcase is unchanged. */

/* ── 1 · THE HEADER LIKE THE WEBSITE: the logo left, Customize interface · contacts · Full screen right ─────────────────────── */
html.st.st.st:root body:not(.shell-v3) #brandbar{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:16px!important;
  height:72px!important;min-height:0!important;padding:0 40px!important;grid-template-columns:none!important;
  background:linear-gradient(180deg,rgba(8,8,8,.78),rgba(8,8,8,0))!important;border:0!important;box-shadow:none!important;
  -webkit-backdrop-filter:none!important;backdrop-filter:none!important}
html.st:root body #brandbar::before,html.st:root body #brandbar::after{display:none!important}
html.st:root body #brandbar>:is(#brandName,.brand-center,#collectionBar){display:none!important}
html.st:root body #hdrAct{order:2;flex:none}
html.st:root body #hdrAct :is(#salesPrimary,#hdrLink){display:none!important}   /* the website is in the contacts; the header's own CTA is off on SONO */
html.st #stHead{flex:1;width:100%;margin:0!important;display:flex;align-items:center;justify-content:space-between;gap:16px;min-width:0;animation:st-fade .3s cubic-bezier(.16,1,.3,1) both}
html.st #stHead .st-l,html.st #stHead .st-r{display:flex;align-items:center;min-width:0}
/* FIX (owner 9 Nov 2026: "it doesn't appear any of the options on header work when clicked (full screen, interface, icons)"): #brandbar
   is pointer-events:none on purpose (index.html: "the image beneath stays draggable") and each control opts back in — the header's
   nodes moved here from the footer on 4 Nov never did, so every click fell through to the hero. Only the controls take clicks. */
html.st #stHead :is(a,button,#bpPill),html.st #stHead .cf-id{pointer-events:auto}
html.st #stHead .st-r{gap:8px;flex:none}
html.st #stHead .cf-id{display:flex!important;align-items:center;height:44px;padding:0!important;margin:0!important;border:0!important;background:none!important;box-shadow:none!important;cursor:pointer}
html.st #stHead .cf-id img{display:block;width:200px!important;max-width:none!important;height:auto!important;max-height:44px!important;object-fit:contain;object-position:left center}
html.st #stHead .cf-id:focus-visible{outline:2px solid #eef2f6;outline-offset:4px;border-radius:6px}
html.st #stHead .cf-methods{display:flex!important;align-items:center;gap:8px!important;margin:0!important;padding:0!important;border:0!important;background:none!important}
html.st #stHead .cf-m{position:relative;display:grid!important;place-items:center;width:40px!important;height:40px!important;min-width:0!important;padding:0!important;margin:0!important;
  border-radius:50%!important;border:1px solid rgba(215,223,229,.22)!important;background:rgba(10,13,18,.42)!important;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);
  color:#eef2f6!important;box-shadow:none!important;transition:border-color .22s cubic-bezier(.16,1,.3,1),transform .22s cubic-bezier(.16,1,.3,1)}
html.st #stHead .cf-m:hover{border-color:rgba(238,242,246,.6)!important;transform:translateY(-2px)}
html.st #stHead .cf-m:active{transform:scale(.98);transition-duration:.11s}
html.st #stHead .cf-m:focus-visible{outline:2px solid #eef2f6;outline-offset:3px}
html.st #stHead .cf-m svg{width:18px!important;height:18px!important;fill:currentColor}
html.st #stHead .cf-m.cf-demo{display:none!important}   /* a demo's empty channel slots belong to the footer's shape, not a header */
/* the footer's tooltips opened upward; in the header they open under the icon, on hover or focus only */
html.st #stHead .cf-tip{position:absolute!important;top:calc(100% + 10px)!important;bottom:auto!important;left:50%;z-index:5;display:block!important;
  padding:8px 12px;border-radius:10px;border:1px solid rgba(215,223,229,.2);background:rgba(10,13,18,.92);white-space:nowrap;pointer-events:none;
  font:500 12px/1.3 var(--is-sans,var(--sans,sans-serif));letter-spacing:0;text-transform:none;text-decoration:none;color:#eef2f6;
  opacity:0;transform:translate(-50%,-4px);transition:opacity .22s cubic-bezier(.16,1,.3,1),transform .22s cubic-bezier(.16,1,.3,1)}
html.st #stHead .cf-tip small{display:block;margin-top:2px;font-size:11px;color:rgba(238,242,246,.66)}
html.st #stHead .cf-m:is(:hover,:focus-visible) .cf-tip{opacity:1;transform:translate(-50%,0)}
html.st #stHead .st-r>.cf-methods:last-of-type .cf-m:last-child .cf-tip{left:auto;right:0;transform:translateY(-4px)}
html.st #stHead .st-r>.cf-methods:last-of-type .cf-m:last-child:is(:hover,:focus-visible) .cf-tip{transform:none}
html.st #stHead .cf-fs{display:grid!important;place-items:center;width:40px!important;height:40px!important;padding:0!important;margin:0!important;border:0!important;border-radius:8px;
  background:none!important;color:rgba(238,242,246,.86)!important;cursor:pointer}
html.st #stHead .cf-fs svg{width:20px!important;height:20px!important}
html.st #stHead .cf-fs:hover{color:#fff!important}
html.st #stHead .st-sep{flex:none;width:1px;height:24px;margin:0 6px;background:rgba(238,242,246,.18)}
/* Customize interface: the header's first right-hand item, an outline pill like the website's LOGIN */
html.st:root body #stHead #bpPill{position:static!important;inset:auto!important;transform:none;display:inline-flex!important;align-items:center;gap:8px;height:40px;min-height:40px!important;
  padding:0 16px 0 12px!important;border-radius:999px!important;border:1px solid rgba(215,223,229,.38)!important;background:rgba(10,13,18,.42)!important;box-shadow:none!important;
  color:#eef2f6!important;font:600 12px/1 "SXR Space Grotesk","Space Grotesk",var(--is-sans,var(--sans,sans-serif))!important;letter-spacing:.14em!important;text-transform:uppercase;
  -webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);cursor:pointer;transition:border-color .22s cubic-bezier(.16,1,.3,1),transform .22s cubic-bezier(.16,1,.3,1)}
html.st:root body #stHead #bpPill:hover{border-color:rgba(238,242,246,.7)!important;transform:translateY(-2px)}
html.st:root body #stHead #bpPill:active{transform:scale(.98);transition-duration:.11s}
html.st:root body #stHead #bpPill i{width:auto!important;height:auto!important;background:none!important;color:inherit!important;font-size:12px!important}
html.st:root body #stHead #bpPill .bp-s{display:none!important}
html.st:root body.bp-on #stHead #bpPill{background:#eef2f6!important;color:#0b0f16!important;border-color:#eef2f6!important}
/* its bar drops from it: under the header, right-aligned */
html.st #bpBar{left:auto!important;right:40px!important;top:calc(72px + 12px)!important;bottom:auto!important;transform:none!important;max-width:560px}

/* ── 2 · THE FOOTER = THE BILLBOARD, UNDER THE MENU, with Start / Stop ───────────────────────────────────────────────────── */
html.st:root body #clientFoot{display:flex!important;align-items:center!important;gap:16px!important;height:81px;box-sizing:border-box;padding:12px 40px 25px!important;
  background:linear-gradient(0deg,#08090a,#0b0d0f)!important;border-top:1px solid rgba(238,242,246,.08)!important}
html.st:root body #clientFoot #cdBoard{display:flex!important;flex:1;min-width:0;height:44px;margin:0!important;position:relative!important;inset:auto!important;animation:st-fade .3s cubic-bezier(.16,1,.3,1) .4s both}
html.st:root body #clientFoot #cdBoard::before{border-block:0!important}
html.st:root body #clientFoot #cdBoard .cd-view{right:52px;-webkit-mask-image:linear-gradient(90deg,#000 calc(100% - 24px),transparent);mask-image:linear-gradient(90deg,#000 calc(100% - 24px),transparent)}
html.st:root body #clientFoot #cdBoard .cd-item{font-size:16px}
html.st:root body #clientFoot #cdBoard .cd-pause{width:44px;height:44px;border-radius:50%;color:rgba(238,242,246,.86)}
html.st:root body #clientFoot #cdBoard .cd-pause::before{content:"";position:absolute;inset:6px;border-radius:50%;border:1px solid rgba(215,223,229,.28);transition:border-color .22s}
html.st:root body #clientFoot #cdBoard .cd-pause:hover::before{border-color:rgba(238,242,246,.6)}
html.st:root body #clientFoot #cdBoard .cd-pause .st-pl{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
html.st:root body #clientFoot .cf-act{order:-1;flex:none;display:flex;align-items:center;gap:12px}   /* a demo's Powered by sits at the left, a hairline after it (never on SONO's own) */
html.st:root body #clientFoot .cf-act:has(.cf-pow){padding-right:16px;border-right:1px solid rgba(238,242,246,.14)}
html.st:root body #clientFoot .cf-act:empty{display:none}
html.st:root body #clientFoot .cf-fs{display:none!important}   /* v3 keeps one here (holoFoot); the header carries Full screen */
/* the billboard speaks (9 Nov 2026): Silence / Listen sits left of Stop; while Sono speaks the said words fade off the strip's left */
html.st:root body #clientFoot #cdBoard.has-vo .cd-view{right:calc(52px + var(--vo-w))}
html.st:root body #clientFoot #cdBoard .cd-snd{right:52px}
html.st:root body #clientFoot #cdBoard.is-voice .cd-view{-webkit-mask-image:linear-gradient(90deg,transparent,#000 18%,#000 calc(100% - 24px),transparent);mask-image:linear-gradient(90deg,transparent,#000 18%,#000 calc(100% - 24px),transparent)}
/* the strip waits for the Home to land, then runs (MOTION: one moving thing on chrome, and one tap stops it) */
html.st #cdBoard .cd-track{animation-delay:1.15s}

/* ── 3 · HOME'S CENTRE: the logo + the title, the line, Presented by ─────────────────────────────────────────────────────── */
html.st #isHome .wl-hero{top:72px!important}
html.st #isHome .wl-hero .wl-word,html.st #isHome .wl-hero .wl-guide{display:none!important}
html.st .st-mark{display:flex;flex-direction:column;align-items:center}
html.st .st-emblem{display:block;height:112px;width:auto;max-width:360px;object-fit:contain;filter:drop-shadow(0 8px 30px rgba(0,0,0,.45))}
html.st .st-title{margin:20px 0 0;font:400 min(96px,8vw,11svh)/.95 "SXR Anton",Impact,"Arial Narrow",sans-serif;letter-spacing:.01em;text-transform:uppercase;
  color:#f7f9fb;text-shadow:0 2px 40px rgba(0,0,0,.35);text-wrap:balance}
html.st .st-title img{display:block;height:min(96px,8vw,11svh);width:auto}
html.st #isHome .wl-hero .wl-sub{margin-top:18px}
html.st .st-pres{margin-top:32px;display:inline-flex;align-items:center;gap:12px;min-height:56px;padding:6px 18px 6px 6px;border-radius:999px;
  border:1px solid rgba(215,223,229,.38);background:rgba(10,13,18,.55);-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);color:#f4f6f8;
  font:inherit;text-align:left;cursor:pointer;box-shadow:0 10px 30px rgba(0,0,0,.35);transition:border-color .22s,transform .22s cubic-bezier(.16,1,.3,1)}
html.st .st-pres::after{content:"";flex:none;width:7px;height:7px;margin:0 4px 0 8px;border-right:1.6px solid currentColor;border-bottom:1.6px solid currentColor;transform:rotate(-45deg);opacity:.8}
html.st .st-pres:hover{border-color:rgba(238,242,246,.7);transform:translateY(-2px)}
html.st .st-pres:active{transform:scale(.98);transition-duration:.11s}
html.st .st-pres:focus-visible{outline:2px solid #eef2f6;outline-offset:4px}
.st-face{flex:none;width:44px;height:44px;border-radius:50%;background:var(--st-face) center/cover no-repeat,radial-gradient(circle at 35% 30%,#232830,#07090d 75%);
  box-shadow:inset 0 0 0 1px rgba(215,223,229,.22)}
.st-face.is-big{width:64px;height:64px}
.st-pres-t small{display:block;font:600 9px/1.2 var(--is-sans,var(--sans,sans-serif));letter-spacing:.18em;text-transform:uppercase;color:rgba(238,242,246,.7)}
.st-pres-t strong{display:block;margin-top:3px;font:600 16px/1.2 var(--is-sans,var(--sans,sans-serif))}
/* the arrival: emblem, title, line, Presented by (MOTION: 750 ms on the house curve; nothing held back past ~400 ms) */
html.st .wl-run .st-emblem{animation:st-rise .75s cubic-bezier(.16,1,.3,1) both}
html.st .wl-run .st-title{animation:wl-up .75s cubic-bezier(.16,1,.3,1) .12s both}
html.st .wl-run .st-pres{animation:wl-up .75s cubic-bezier(.16,1,.3,1) .4s both}
@keyframes st-rise{from{opacity:0;transform:translateY(14px) scale(.985)}to{opacity:1;transform:none}}
@keyframes st-fade{from{opacity:0}to{opacity:1}}
/* the Presented-by card (the guide panel's card): icons in a ring */
.st-panel .st-list a,.st-panel .st-list button{width:100%;display:flex;align-items:center;gap:16px;min-height:64px;padding:12px 20px;border:0;background:none;color:inherit;font:inherit;text-align:left;text-decoration:none;cursor:pointer;transition:background .22s}
.st-panel .st-list a:hover,.st-panel .st-list a:focus-visible,.st-panel .st-list button:hover,.st-panel .st-list button:focus-visible{background:rgba(238,242,246,.05);outline:none}
.st-ri{flex:none;width:40px;height:40px;display:grid;place-items:center;border-radius:50%;border:1px solid rgba(215,223,229,.24)}
.st-ri svg{width:18px;height:18px}
.st-panel .wl-p-head small{text-transform:uppercase}
.st-panel .wl-card{max-height:calc(100svh - 72px - var(--foot-h,81px) - 32px);overflow:auto}

/* ── 1024-ish: the tighter header and the short Customize label ──────────────────────────────────────────────────────────── */
@media (max-width:1279px){
  html.st.st.st:root body:not(.shell-v3) #brandbar{height:64px!important;padding:0 28px!important}
  html.st #stHead .cf-id img{width:160px!important}
  html.st:root body #stHead #bpPill .bp-l{font-size:0!important;letter-spacing:0!important}
  html.st:root body #stHead #bpPill .bp-l::after{content:"Customize";font-size:12px;letter-spacing:.14em}
  html.st #bpBar{top:calc(64px + 12px)!important;right:28px!important}
  html.st #bpBar p span{display:none}
  html.st #isHome .wl-hero{top:64px!important}
  html.st .st-emblem{height:96px;max-width:300px}
  html.st:root body #clientFoot{padding-left:28px!important;padding-right:28px!important}
  html.st:root body #clientFoot #cdBoard .cd-item{font-size:15px}
}

/* ── phones: logo · Customize (icon) · Website; the strip under the menu ─────────────────────────────────────────────────── */
@media (max-width:899px){
  html.st.st.st:root body:not(.shell-v3) #brandbar{display:flex!important;height:60px!important;padding:0 16px!important}
  html.st #stHead .cf-id img{width:128px!important}
  html.st #stHead .cf-m:not([data-kind="website"]),html.st #stHead .cf-soc,html.st #stHead .cf-fs,html.st #stHead .st-sep{display:none!important}
  html.st #stHead .cf-m{width:44px!important;height:44px!important}
  html.st.st.st:root body #stHead #bpPill{width:44px!important;height:44px!important;min-height:44px!important;padding:0!important;gap:0!important;justify-content:center}
  html.st.st.st:root body #stHead #bpPill .bp-l::after{content:none}
  html.st:root body #stHead #bpPill :is(.bp-l,.bp-s){position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
  html.st:root body #stHead #bpPill i{font-size:15px!important}
  html.st #bpBar{display:none!important}   /* phones: the bar never opens by itself (it covered the emblem at 320); the icon opens the Blueprint */
  html.st #isHome .wl-hero{top:60px!important}
  html.st body.has-back #stHead .st-l{padding-left:44px}   /* inner pages: the round Back sits at the top left, as on every phone page — the logo steps right of it */
  /* the strip under the tab bar, inside the bar's measured height, above the home indicator */
  html.st.st.st:root body:not(.shell-v3) #clientFoot{position:fixed!important;left:0!important;right:0!important;top:auto!important;bottom:env(safe-area-inset-bottom,0px)!important;z-index:71!important;
    display:flex!important;height:44px!important;padding:0 12px 0 16px!important;background:transparent!important;border-top:1px solid rgba(255,255,255,.07)!important;overflow:hidden}
  html.st:root body #clientFoot .cf-act{display:none!important}
  html.st:root body #hud{padding-bottom:calc(env(safe-area-inset-bottom,0px) + 46px)!important}
  html.st:root body #clientFoot #cdBoard .cd-item{font-size:13px;padding:0 18px}
  html.st .st-emblem{height:88px;max-width:240px}
  html.st .st-title{margin-top:16px;font-size:min(13vw,56px)}
  html.st #isHome .wl-hero .wl-sub{margin-top:14px}
  html.st .st-pres{margin-top:24px}
}
@media (max-width:359px){
  html.st.st.st:root body:not(.shell-v3) #brandbar{height:56px!important;padding:0 12px!important}
  html.st #stHead .cf-id img{width:112px!important}
  html.st .st-emblem{height:64px;max-width:200px}
  html.st .st-pres{min-height:52px}
}
@media (prefers-reduced-motion:reduce){
  html.st .wl-run :is(.st-emblem,.st-title,.st-pres),html.st #stHead,html.st #clientFoot #cdBoard{animation:wl-fade .3s ease both!important}
}
@media (prefers-reduced-transparency:reduce){html.st .st-pres,html.st #stHead :is(.cf-m,#bpPill){background:#0d1014!important;-webkit-backdrop-filter:none;backdrop-filter:none}}

/* ── 4 · THE MENU'S PAGES: About's own tabs (Spaces · Features · Floor plan) and the Gallery's Floor plan ─────────────────── */
html.st .ov-menu .st-go{display:inline-flex;align-items:center;gap:8px}
html.st .ov-menu .st-go svg{width:16px;height:16px;flex:none}
html.st .ov-menu .st-go:first-of-type{margin-left:6px;padding-left:14px;border-left:1px solid rgba(238,242,246,.14)}   /* a hairline: these open pages, the rest are chapters */
html.st .gl3-bar .st-go-gl{position:absolute;right:0;z-index:2;height:40px;padding:0 16px 0 14px;border-radius:999px;border:1px solid var(--edge,rgba(215,223,229,.24));
  background:rgba(14,19,24,.72);-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);display:inline-flex;align-items:center;gap:9px;
  font:500 11px/1 var(--sans,sans-serif);letter-spacing:.14em;text-transform:uppercase;color:var(--ink,#eef2f6);cursor:pointer;transition:border-color .2s}
html.st .gl3-bar .st-go-gl:hover{border-color:var(--lit,rgba(238,242,246,.6))}
html.st .gl3-bar .st-go-gl svg{width:15px;height:15px}
html.st .gl3-bar .st-go-gl[hidden]{display:none}
html.st .gl3-bar .st-go-gl[data-fit=icon]{width:40px;padding:0;justify-content:center}
html.st .gl3-bar .st-go-gl[data-fit=icon] span{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
@media (max-width:699px){html.st .gl3-bar .st-go-gl{display:none}}   /* phones: the bar is the tab row; the floor plan is About's tab there */
@media (max-width:1279px){
  html.st .ov-menu .st-go span{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}   /* icons only: the row keeps clear of the pager */
}

/* no title (experience.heroTitle false, owner 4 Nov 2026: "just have sono cat w/ every story"): the line leads under the emblem */
html.st .st-sr{position:absolute!important;width:1px;height:1px;margin:0;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
html.st #isHome .wl-hero.st-notitle .wl-sub{margin-top:26px;font-size:19px;letter-spacing:.3em;color:rgba(244,247,250,.92)}
html.st #isHome .wl-hero.st-notitle .st-emblem{height:132px}
@media (max-width:899px){html.st #isHome .wl-hero.st-notitle .wl-sub{margin-top:20px;font-size:13px;letter-spacing:.22em;line-height:1.8}html.st #isHome .wl-hero.st-notitle .st-emblem{height:104px}}
html.st #isHome .wl-hero.st-notitle .wl-sub .wl-part{display:block}   /* one sentence a line, every size (no orphan "IT.") */
