/* Thermal material: warm source imagery, connected work, one public directory. */
/* Public header. Two links, one Explore control that holds search, Sign in, one primary. */
body .site-nav { background:var(--bg); backdrop-filter:none; -webkit-backdrop-filter:none; box-shadow:none; }
body .site-nav .nav-inner { position:relative; max-width:1440px; min-height:72px; padding:10px 32px; gap:20px; }
body .site-nav .nav-logo { font-size:21px; gap:12px; }
/* One bar (decision 200): on the landing and the studio before a song is in
   it, the frame set the word a third smaller than every other public page. */
body:not(.wb-live) .site-nav .nav-logo:not(#_) { font-size:21px; gap:12px; }
body .site-nav .nav-logo svg { width:28px; height:28px; filter:none; }
body .site-nav #navLinks { gap:6px; }
body .site-nav #navLinks > a:not(.nav-cta),body .site-nav #navMoreBtn,body .site-nav #navLinks > .nav-signin { min-height:44px; border-radius:var(--r-ctl); font-size:14px; }
body .site-nav #navLinks > a.is-current { text-decoration:underline; text-decoration-color:var(--accent-text); text-underline-offset:8px; }
body .site-nav #navLinks > .nav-more { position:static; display:flex; align-items:center; margin:0 6px; }
body .site-nav #navMoreBtn { display:inline-flex; align-items:center; gap:10px; padding:10px 14px; border:1px solid var(--line); background:transparent; color:var(--ink); font-weight:500; }
body .site-nav #navMoreBtn:hover,body .site-nav #navMoreBtn[aria-expanded=true] { background:var(--surface-2); border-color:var(--line-strong, var(--line)); color:var(--ink); }
.nav-more-glyph { display:inline-flex; color:var(--muted); }
body .site-nav #navMoreBtn .nav-more-glyph svg { width:16px; height:16px; color:var(--muted); transform:none; }
body .site-nav .nav-toggle { min-width:68px; min-height:44px; width:auto; gap:5px; border:1px solid var(--line); border-radius:var(--r-ctl); margin-left:auto; }
body .site-nav .nav-toggle::before { content:'Menu'; font:600 13px "Hanken Grotesk",sans-serif; color:var(--ink); }
body .site-nav .nav-toggle span { display:none; }
body .site-nav .nav-toggle[aria-expanded=true]::before { content:'Close'; }
body .site-nav :is(a,button):focus-visible,.material-inner a:focus-visible,.material-motion:focus-visible {   }

/* The Explore panel: search on top, three groups, each place a drawing, a name and one line. */
body .site-nav #navMoreMenu { position:absolute; top:100%; right:32px; left:auto; width:min(940px,calc(100vw - 64px)); max-height:calc(100dvh - 96px); overflow:auto; display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); align-items:start; gap:4px 20px; margin:0; padding:16px 20px 20px; background:var(--surface); border:1px solid var(--line); border-top:0; border-radius:0 0 var(--r-card) var(--r-card); box-shadow:var(--shadow); backdrop-filter:none; -webkit-backdrop-filter:none; transform:none; animation:none; }
body .site-nav #navMoreMenu[hidden] { display:none; }
body .site-nav:has(#navMoreMenu:not([hidden])) { overflow:visible; }
.nav-searchbar { grid-column:1 / -1; display:flex; gap:16px; align-items:center; margin-bottom:16px; padding:0 10px 12px; border-bottom:1px solid var(--line); }
.nav-search-field { display:flex; flex:1; min-width:0; gap:14px; align-items:center; color:var(--muted); }
.nav-search-field > svg { width:20px; height:20px; flex:none; }
.nav-search-field .sr-only { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip-path:inset(50%); white-space:nowrap; }
body .site-nav #navSearchInput { width:100%; min-width:0; min-height:44px; padding:8px 4px; font:400 17px "Hanken Grotesk",sans-serif; color:var(--ink); background:transparent; border:0; border-radius:var(--r-ctl); outline-offset:4px; box-shadow:none; -webkit-appearance:none; appearance:none; }
body .site-nav #navSearchInput::placeholder { color:var(--muted); opacity:1; }
body .site-nav #navSearchInput::-webkit-search-cancel-button { display:none; }
body .site-nav #navSearchInput:focus-visible {  }
.nav-search-shortcut { flex:none; padding:4px 7px; border:1px solid var(--line); border-radius:var(--r-ctl); color:var(--muted); font:500 11px "Hanken Grotesk",sans-serif; }
body .site-nav #navMoreMenu .nav-directory-group { display:flex; flex-direction:column; gap:2px; min-width:0; }
body .site-nav #navMoreMenu .nav-menu-label { margin:0 0 6px; padding:0 10px; border:0; color:var(--muted); font:500 13px "Hanken Grotesk",sans-serif; text-transform:none; letter-spacing:0; }
body .site-nav #navMoreMenu .nav-menu-label::after { display:none; }
body .site-nav #navMoreMenu a { display:grid; grid-template-columns:40px minmax(0,1fr); grid-template-rows:auto auto; gap:0 14px; font-weight:400; letter-spacing:0; align-content:center; align-items:center; min-width:0; min-height:60px; padding:8px 10px; white-space:normal; text-align:left; text-decoration:none; color:var(--ink-soft); background:transparent; border:0; border-radius:var(--r-ctl); box-shadow:none; transform:none; transition:background-color .16s var(--ease); }
body .site-nav #navMoreMenu a::before { content:none; display:none; }
body .site-nav #navMoreMenu a:hover,body .site-nav #navMoreMenu a:focus-visible { background:var(--surface-2); transform:none; }
body .site-nav #navMoreMenu a.is-current .nav-destination-name { text-decoration:underline; text-decoration-color:var(--accent-text); text-underline-offset:5px; }
.nav-destination-art { grid-row:1 / 3; display:grid; place-items:center; width:40px; height:40px; border:1px solid var(--line); border-radius:var(--r-ctl); background:var(--bg); color:var(--ink-soft); transition:color .16s var(--ease),border-color .16s var(--ease); }
.nav-destination-art svg { width:20px; height:20px; }
body .site-nav #navMoreMenu .nav-searchbar + .nav-directory-group .nav-destination-art { color:var(--accent-text); border-color:color-mix(in srgb,var(--accent) 38%,var(--line)); background:color-mix(in srgb,var(--accent) 9%,var(--bg)); }
body .site-nav #navMoreMenu a:hover .nav-destination-art { color:var(--accent-text); border-color:color-mix(in srgb,var(--accent) 38%,var(--line)); }
body .site-nav #navMoreMenu .nav-destination-name { grid-column:2; align-self:end; max-width:100%; overflow-wrap:break-word; color:var(--ink); font-size:15px; font-weight:600; line-height:1.3; }
body .site-nav #navMoreMenu .nav-destination-desc { grid-column:2; align-self:start; max-width:100%; overflow-wrap:break-word; color:var(--muted); font-size:13px; font-weight:400; line-height:1.4; }
.nav-search-results { grid-column:1 / -1; display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:2px 20px; }
.nav-search-status { grid-column:1 / -1; margin:0; padding:8px 10px 0; color:var(--muted); font-size:13px; }
.nav-search-status:empty { display:none; }
body .site-nav #navMoreMenu :is(.nav-directory-group,.nav-search-results)[hidden] { display:none; }
body .site-nav .nav-contact { white-space:nowrap; }
@media (min-width:1024px) { body .site-nav .nav-toggle { display:none; } }

/* Below 1024 the menu is one full-height sheet: two links on top, the groups scroll, the two actions stay under the thumb. */
@media (max-width:1023px) {
  body .site-nav .nav-inner { position:static; padding:8px 20px; min-height:64px; gap:12px; }
  body .site-nav .nav-toggle { display:flex; align-items:center; justify-content:center; order:9; }
  body .site-nav #navLinks { position:fixed; inset:var(--public-nav-height,64px) 0 0; display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); grid-template-rows:auto minmax(0,1fr) auto; align-items:stretch; justify-content:stretch; gap:0 12px; width:auto; height:auto; max-height:none; margin:0; padding:4px max(20px,calc((100vw - 760px)/2)) max(16px,env(safe-area-inset-bottom)); overflow:hidden; background:var(--bg); border:0; border-top:1px solid var(--line); border-radius:0; backdrop-filter:none; -webkit-backdrop-filter:none; box-shadow:none; transform:translateY(-8px); opacity:0; visibility:hidden; pointer-events:none; transition:opacity .2s var(--ease),transform .2s var(--ease),visibility .2s; }
  body .site-nav #navLinks.open { opacity:1; visibility:visible; pointer-events:auto; transform:none; }
  body .site-nav #navLinks::before { display:none; }
  body .site-nav #navLinks > * { width:auto; min-width:0; margin:0; }
  body .site-nav #navLinks > a:not(.nav-cta):not(.nav-signin) { grid-row:1; display:flex; align-items:center; justify-content:flex-start; min-height:56px; padding:0 2px; font-size:17px; font-weight:600; color:var(--ink); background:transparent; border:0; border-bottom:1px solid var(--line); border-radius:0; text-align:left; }
  body .site-nav #navLinks > .nav-more { grid-column:1 / -1; grid-row:2; position:static; display:block; min-height:0; margin:0; overflow:auto; overscroll-behavior:contain; }
  body .site-nav #navMoreBtn { display:none; }
  body .site-nav #navMoreMenu { position:static; width:auto; max-height:none; overflow:visible; grid-template-columns:repeat(3,minmax(0,1fr)); gap:4px 16px; padding:8px 0 16px; background:transparent; border:0; border-radius:0; box-shadow:none; }
  .nav-searchbar { padding:0 2px 8px; margin-bottom:16px; }
  .nav-search-shortcut { display:none; }
  body .site-nav #navMoreMenu .nav-menu-label { padding:0 2px; }
  body .site-nav #navMoreMenu a { padding:8px 2px; }
  body .site-nav #navLinks > .nav-signin,body .site-nav #navLinks > .nav-cta { grid-row:3; position:static; display:flex; align-items:center; justify-content:center; align-self:end; width:auto; min-height:52px; margin:12px 0 0; padding:0 16px; font-size:15px; font-weight:600; border-radius:var(--r-ctl); box-shadow:none; }
  body .site-nav #navLinks > .nav-signin { grid-column:1; color:var(--ink); background:transparent; outline:1px solid var(--line-strong, var(--line)); outline-offset:-1px; }
  body .site-nav #navLinks > .nav-cta { grid-column:2;    }
  html.nav-open { overflow:hidden; }
  html.nav-open .ss-fab { visibility:hidden; }
  html.nav-open .ss-float { visibility:hidden; pointer-events:none; }
}
@media (max-width:699px) {
  body .site-nav .nav-inner { padding:8px 16px; }
  body .site-nav .nav-logo { font-size:19px; }
  body:not(.wb-live) .site-nav .nav-logo:not(#_) { font-size:19px; }
  body .site-nav .nav-logo svg { width:24px; height:24px; }
  body .site-nav #navLinks { padding-left:16px; padding-right:16px; }
  body .site-nav #navMoreMenu { grid-template-columns:minmax(0,1fr); gap:0; }
  body .site-nav #navMoreMenu .nav-directory-group + .nav-directory-group { margin-top:16px; padding-top:16px; border-top:1px solid var(--line); }
  body .site-nav #navMoreMenu a { min-height:56px; }
  body .site-nav #navSearchInput { font-size:16px; outline-offset:-2px; }
  .nav-search-results { grid-template-columns:minmax(0,1fr); }
}
@media (prefers-reduced-motion:reduce) { body .site-nav #navLinks,body .site-nav #navMoreMenu a,.nav-destination-art { transition:none; } }

/* Public footer: the same three groups as the menu, then one legal row. */
body .site-footer { margin-top:96px; background:var(--bg); border-top:1px solid var(--line); }
body .site-footer .foot-inner { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,3fr); align-items:start; gap:48px 56px; max-width:1200px; margin:0 auto; padding:56px 36px 32px; }
.foot-lead { display:flex; flex-direction:column; align-items:flex-start; gap:16px; min-width:0; }
body .site-footer .foot-brand { display:inline-flex; align-items:center; gap:10px; min-height:44px; margin:0; color:var(--ink); font-size:19px; font-weight:600; text-decoration:none; }
body .site-footer .foot-brand svg { width:26px; height:26px; }
.foot-line { margin:0; max-width:26ch; color:var(--muted); font-size:14px; line-height:1.55; }
.foot-beta { max-width: 520px; margin: 12px 0 0; padding: 10px 12px; border: 1px solid var(--line); border-radius: var(--r-ctl); color: var(--ink-soft); font-size: 13px; line-height: 1.5; }
.foot-beta strong { color: var(--accent-text, var(--accent)); font-weight: 600; }
.foot-beta a { color: var(--ink); }
body .site-footer .foot-links { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,2fr) minmax(0,2fr); align-items:start; gap:32px 40px; margin:0; }
.foot-group { min-width:0; }
.foot-group > summary { display:block; margin:0 0 12px; color:var(--ink); font-size:14px; font-weight:600; list-style:none; cursor:default; }
.foot-group > summary::-webkit-details-marker { display:none; }
.foot-list { display:grid; grid-template-columns:minmax(0,1fr); gap:0 24px; }
.foot-group.is-wide .foot-list { grid-template-columns:minmax(0,1fr) minmax(0,1fr); }
body .site-footer .foot-links a { display:flex; align-items:center; min-height:34px; padding:0; color:var(--muted); font-size:14px; line-height:1.3; text-decoration:none; transition:color .16s var(--ease); }
body .site-footer .foot-links a:hover,body .site-footer .foot-links a.is-current { color:var(--ink); }
.foot-base { grid-column:1 / -1; display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:8px 32px; padding-top:20px; border-top:1px solid var(--line); }
.foot-legal { display:flex; flex-wrap:wrap; gap:0 24px; margin:0; }
body .site-footer .foot-legal a { display:inline-flex; align-items:center; min-height:44px; color:var(--ink-soft); font-size:13px; text-decoration:none; }
body .site-footer .foot-legal a:hover { color:var(--ink); }
body .site-footer .foot-note { flex-basis:auto; display:flex; flex-wrap:wrap; align-items:center; gap:0 24px; margin:0; color:var(--muted); font-size:13px; }
body .site-footer .foot-note :is(a,.linkish) { display:inline-flex; align-items:center; min-height:44px; padding:0; color:var(--muted); font-size:13px; background:transparent; border:0; text-decoration:underline; text-underline-offset:3px; cursor:pointer; }
body .site-footer .foot-note :is(a,.linkish):hover { color:var(--ink); }
@media (max-width:1023px) {
  body .site-footer .foot-inner { grid-template-columns:minmax(0,1fr); gap:32px; padding:48px 24px 24px; }
  .foot-lead { flex-direction:row; align-items:center; justify-content:space-between; gap:16px 32px; flex-wrap:wrap; }
  .foot-line { max-width:44ch; }
}
@media (max-width:1099px) { body .site-footer .foot-links a { min-height:44px; } }
@media (max-width:699px) {
  body .site-footer { margin-top:64px; }
  body .site-footer .foot-inner { gap:24px; padding:40px 20px 88px; }
  body .site-footer .foot-links { grid-template-columns:minmax(0,1fr); gap:0; border-top:1px solid var(--line); }
  .foot-group { border-bottom:1px solid var(--line); }
  .foot-group > summary { display:flex; align-items:center; justify-content:space-between; min-height:56px; margin:0; font-size:16px; cursor:pointer; }
  .foot-group > summary::after { content:''; width:9px; height:9px; margin-right:4px; border-right:2px solid var(--muted); border-bottom:2px solid var(--muted); transform:translateY(-2px) rotate(45deg); transition:transform .16s var(--ease); }
  .foot-group[open] > summary::after { transform:translateY(2px) rotate(225deg); }
  .foot-group > summary:focus-visible {   }
  .foot-group .foot-list,.foot-group.is-wide .foot-list { grid-template-columns:minmax(0,1fr) minmax(0,1fr); padding-bottom:12px; }
  body .site-footer .foot-links a { font-size:15px; }
  .foot-base { flex-direction:column; align-items:flex-start; gap:4px; padding-top:0; border-top:0; }
  .foot-legal { width:100%; flex-wrap:nowrap; justify-content:space-between; gap:0 12px; }
}
/* The legal row is one line from 360px up; on the narrowest phones it wraps rather than run off the screen. */
@media (max-width:359px) { .foot-legal { flex-wrap:wrap; justify-content:flex-start; gap:0 16px; } }
@media (prefers-reduced-motion:reduce) { .foot-group > summary::after { transition:none; } }
.landing { --site-nav-h:72px; }
.landing .nav-live-pill { display:none !important; }
.landing:not(.wb-live) .nav-account { gap:8px; }
.landing:not(.wb-live) #finishSwitch { border:0; background:transparent; width:36px; }
.landing:not(.wb-live) .nav-studio-toggle { border-radius:var(--r-ctl); box-shadow:none; }
.material-inner { max-width:1200px; margin:auto; padding:0 36px; }
.landing .song-system { padding:104px 0 88px; background:var(--bg); border-bottom:1px solid var(--line); }
.material-intro { display:grid; grid-template-columns:1.1fr 1fr; gap:64px; align-items:end; margin-bottom:36px; }
.material-intro h2 { margin:0; font-size:clamp(34px,4vw,56px); line-height:1.06; letter-spacing:-.03em; font-weight:600; text-wrap:balance; }
.material-intro p { margin:0 0 4px; color:var(--ink-soft); font-size:18px; max-width:43ch; line-height:1.6; }
.song-system-grid { display:block; }
.song-map { margin:0; min-width:0; }
.song-map img { display:block; width:100%; height:auto; border-radius:var(--r-card); }
.song-map figcaption { color:var(--muted); font-size:13px; text-align:center; padding-top:16px; }
.material-motion { position:absolute; right:12px; top:12px; padding:8px 12px; min-height:44px; border:1px solid #6C6356; border-radius:var(--r-ctl); background:#18130E; color:#F8F3EB; font:500 12px "Hanken Grotesk",sans-serif; cursor:pointer; }
.material-motion[hidden] { display:none; }
.material-link { display:inline-flex; align-items:center; gap:24px; color:var(--ink); text-decoration:underline; text-underline-offset:5px; font-size:14px; min-height:44px; }
.material-link:hover { color:var(--accent-text); }
.landing .platform-tools { background:var(--bg); padding-top:88px; }
.landing .platform-tools-head { margin-bottom:32px; }
.landing .platform-tools-head > p:not(.world-sample) { color:var(--ink-soft); }

.landing .ld-band-title { text-wrap:balance; }
.landing .trust-band { position:relative; }
.landing .guest-close { position:relative; isolation:isolate; overflow:hidden; background:var(--bg); }

.landing .guest-close-grid { position:relative; }
.landing .gc-meter { background:var(--surface); box-shadow:none; border:1px solid var(--line); border-radius:var(--r-card); }

[data-theme=light] .landing .trust-band,[data-theme=light] .landing .ld-band { background-image:none; }
/* A tablet on its side is still a finger: the switch is a full target at 1024. */
@media (max-width:1024px) {
  .landing:not(.wb-live) #finishSwitch { width:44px; }
}
@media (max-width:1023px) {
  .landing { --site-nav-h:64px; }
  .landing:not(.wb-live) .nav-account { margin-left:auto; }
  .landing:not(.wb-live) #navDesignOpen { min-height:44px; padding:8px 12px; }
  .material-intro { gap:32px; }
  .material-inner { padding:0 24px; }
}
@media (max-width:699px) {
  .material-inner { padding:0 20px; }
  .landing .song-system { padding:64px 0; }
  .material-intro { grid-template-columns:1fr; gap:24px; }
  .material-intro { margin-bottom:24px; }
  .material-intro p { font-size:16px; }
  .song-map { max-width:440px; margin:auto; }
  .song-map figcaption { font-size:12px; }
  .landing .platform-tools { padding-top:64px; }

}

body.landing:not(.wb-live) .site-nav .nav-logo span { display: inline; }

body:not(.landing) .song-system { display:none; }
.close-motion { z-index:1; top:16px; right:24px; }


.landing .platform-tools { position:relative; isolation:isolate; }
.material-environment { position:absolute; inset:-32px 0; pointer-events:none; z-index:-1; opacity:.16; mask-image:linear-gradient(transparent,#000 25%,#000 65%,transparent); }
[data-theme=light] .material-environment { opacity:.06; }


.landing #navDesignOpen { display:none !important; }

/* What the AI does today, and what is being built (decision 195). Two
   columns: the first is fact, the second is marked as not here yet. */
.landing .next-band { padding:104px 0 88px; background:var(--bg); border-bottom:1px solid var(--line); }
body:not(.landing) .next-band { display:none; }
.next-grid { display:grid; grid-template-columns:minmax(0,1.25fr) minmax(0,1fr); gap:56px; margin-top:48px; }
.next-tag { margin:0 0 16px; color:var(--accent-text); font-size:13px; font-weight:600; }
.next-col.is-building .next-tag { color:var(--muted); }
.next-list { display:grid; gap:0; margin:0; padding:0; list-style:none; border-top:1px solid var(--line); }
.next-list li { padding:18px 0; border-bottom:1px solid var(--line); color:var(--ink-soft); font-size:16px; line-height:1.5; }
.next-list b { display:block; margin-bottom:4px; color:var(--ink); font-size:18px; font-weight:600; }
.next-col.is-building { padding:24px 28px; border:1px dashed var(--line); border-radius:var(--r-card); align-self:start; }
.next-col.is-building .next-list { border-top:0; }
.next-col.is-building .next-list li:first-child { padding-top:0; }
.next-note { margin:16px 0 0; color:var(--muted); font-size:14px; line-height:1.5; }
@media (max-width:860px) {
  .landing .next-band { padding:64px 0; }
  .next-grid { grid-template-columns:minmax(0,1fr); gap:32px; margin-top:32px; }
  .next-col.is-building { padding:20px; }
}

/* ---------- a phone's signed-in bar never runs off the screen (decision 263) ----------
   With the sample banner, New, the finish switch, credits, Search and the
   account control together, the bar was wider than a 390px phone: the account
   control hung off the right edge and the whole page scrolled sideways. The
   account group now takes the room that is left, and the account's name gives
   way first (it shortens, then goes) while its dot and caret stay a full
   44px target. */
@media (max-width: 699px) {
  .site-nav .nav-inner:not(#_) { max-width: 100vw; min-width: 0; }
  .site-nav #account:not(#_) { flex: 0 1 auto; min-width: 0; }
  .site-nav #account:not(#_) .nav-acct { flex: 0 1 auto; min-width: 44px; }
  .site-nav .nav-acct-btn:not(#_) { min-width: 44px; max-width: 100%; justify-content: center; }
  .site-nav .nav-acct-btn:not(#_) .acct-who { flex: 0 1 auto; min-width: 0; }
  .site-nav #account:not(#_) > :not(.nav-acct) { flex: none; }
}
/* On the narrowest phones a signed-in bar keeps the mark and drops the word,
   so the account control and Menu never touch (decision 263). The landing
   rule above forces the word on with !important, so this one must match it. */
@media (max-width: 379px) {
  body .site-nav:has(#acctWrap:not([hidden])) .nav-logo span { display: none; }
}/* ---------- made in Thermal (decision 265) ----------
   Real outputs as proof: two covers and one vertical clip from one EP. On a
   desk the clip stands taller between the covers; on a phone the three are
   one row to swipe. The clip loads only when asked for or when it comes into
   view, and never moves under reduced motion until the visitor presses play. */



body.wb-live .made-here { display: none; }/* The three pieces stand in depth on a desk: the covers turn a little toward
   the clip, and each one squares up when the pointer is on it. Plain CSS
   3D, so it costs nothing to load and is off under reduced motion. */


/* Four pieces: the covers hold the ends and the two clips stand between them. */

@media (min-width: 761px) and (prefers-reduced-motion: no-preference) {
  .made-here .made-piece-clip:not(:hover) { transform: translateZ(40px); }
}/* Screens pass. The corners are clipped on the picture itself as well as the
   frame, so a turned piece keeps them. A narrow clip shows its name and lets
   the shape line go, so a caption never wraps. The foot holds the EP's name
   and one way to act. */








/* ---------- the phone menu holds the screen (decision 266) ----------
   With the menu open the page behind it could still scroll, so the bar slid
   away and the page showed above the menu; the menu itself could not scroll,
   so a long one lost its last rows; and the studio dock sat on top of it.
   Now the page holds still, the menu scrolls inside itself with room at its
   foot, and the dock stands down until the menu closes. The dock is hidden
   with visibility, not display: its display is set with !important in a
   layer, which an unlayered rule cannot beat. */
@media (max-width: 899px) {
  html:has(.site-nav .nav-toggle[aria-expanded="true"]) { overflow: hidden; }
  html:has(.site-nav .nav-toggle[aria-expanded="true"]) body { overflow: hidden; touch-action: none; }
  .site-nav:has(.nav-toggle[aria-expanded="true"]) .nav-links:not(#_) { overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; touch-action: pan-y; padding-bottom: calc(28px + env(safe-area-inset-bottom, 0px)); }
}/* ---------- tap a clip to play it (decision 267) ----------
   The play control was a 44px disc in a corner, easy to miss and fiddly to
   hit, and a phone in Low Power Mode never starts a clip on its own. The
   whole clip is now the control: tap anywhere on it to play or pause. Paused,
   a large play mark sits in the middle; playing, a small pause mark waits in
   the corner. The caption lets taps through. */


/* ---------- the signed-in studio bar fits a phone (decision 292) ----------
   Signed in on a 393px phone, the studio's bar held the artist's name, New,
   the inbox, the finish switch, the Saved chip, Search and the account
   control, and ran 9px past the screen: the account control was clipped.
   While everything is saved, the chip shows a check instead of the word (a
   screen reader still hears "Saved"); any other state (saving, offline)
   keeps its word, because then it matters. The name gives way last and
   shortens with an ellipsis rather than pushing anything off the screen. */
@media (max-width: 440px) {
  body.wb-live .site-nav #studioSaveState.studio-save[data-state="saved"] { position: relative; width: 36px; min-width: 36px; padding: 0; margin-right: 0; justify-content: center; font-size: 0; color: transparent; border-radius: var(--r-pill); }
  body.wb-live .site-nav #studioSaveState.studio-save[data-state="saved"]::before { content: ""; width: 12px; height: 7px; margin-top: -3px; border-left: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(-45deg); }
  body.wb-live .site-nav .studio-who { min-width: 0; overflow: hidden; }
  body.wb-live .site-nav .studio-who-name, body.wb-live .site-nav .studio-who > :first-child { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
}
/* In the studio the artist's name already leads the bar, so on a phone the
   account control is its dot and caret, and the name keeps the room. */
@media (max-width: 440px) {
  body.wb-live .site-nav .nav-acct-btn .acct-who { display: none; }
  body.wb-live .site-nav .nav-acct-btn { min-width: 44px; padding-inline: 12px; }
}

/* ---------- the studio's front page bar (decision 293) ----------
   Before a project is open there is nothing to save, so the Saved chip
   stands down there; it returns inside a project. On a phone the signed-in
   front page keeps the same rule as inside the studio: the account control
   is its dot and caret, and nothing passes the screen's edge. */
body:not(.wb-live) .site-nav #studioSaveState { display: none; }
@media (max-width: 440px) {
  body:not(.wb-live) .site-nav:has(#acctWrap:not([hidden])) .nav-acct-btn .acct-who { display: none; }
  body:not(.wb-live) .site-nav:has(#acctWrap:not([hidden])) .nav-acct-btn { min-width: 44px; padding-inline: 12px; }
  body:not(.wb-live) .site-nav:has(#acctWrap:not([hidden])) .nav-logo span { display: none; }
}/* ---------- the work leads (decision 294) ----------
   A display headline above the pieces repeated the logo and then counted
   them. Now the pieces open the section and one quiet line names them: the
   EP's name, and what they are. Each clip already carries its own play mark. */
/* The caption's shade follows the piece's bottom corners, so a turned clip
   never shows a square edge under its rounded picture. */


.ss-fab { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px; border: 1px solid var(--line-strong); border-radius: var(--r-ctl); background: var(--surface); color: var(--ink); font-family: var(--font-sans); font-size: 12px; font-weight: 600; letter-spacing: var(--track-label); cursor: pointer; box-shadow:var(--elev-1); }
.ss-fab:hover { border-color: var(--accent); }

/* Native fields and browser chrome follow the resolved finish. */
html{color-scheme:dark}html[data-theme="light"]{color-scheme:light}@media(prefers-color-scheme:light){html:not([data-theme]){color-scheme:light}}

/* A single current-preference glyph, shared by public and studio bars. */
.site-nav .finish-switch .fs-sun,.site-nav .finish-switch .fs-moon,.site-nav .finish-switch .fs-auto{display:none}html[data-finish="light"] .site-nav .finish-switch .fs-sun,html[data-finish="dark"] .site-nav .finish-switch .fs-moon,html[data-finish="auto"] .site-nav .finish-switch .fs-auto{display:block}html:not([data-finish]) .finish-switch{display:none}
