/* Sweet Basil, the immersive version. Every class starts sbx- (or is Brian's own sbpl-, his crest) so nothing in the shared layer collides.
   The page stands on Sweet Basil's own ground and cream, taken from its entrance. The ring is the one Vervox device on it. */
.sbx { --sbx-hd: var(--hd, 64px); --sbx-bar: 46px; --sbx-dock: 0px; --sbx-g: #13110f; --sbx-c: #fff7e8; --sbx-soft: rgba(255, 247, 232, .84); --sbx-rule: rgba(255, 247, 232, .26); background: var(--sbx-g); color: var(--sbx-c); }
/* phones: no bar on top; the dock at the bottom takes its own strip, so nothing held sits under it */
@media (max-width: 899px) { .sbx { --sbx-bar: 0px; --sbx-dock: calc(76px + env(safe-area-inset-bottom)); } }

/* ---------- the entrance: the crest on the dark, then the room and the name ---------- */
.sbx-in { position: relative; height: 190svh; }
.sbx-stage { position: sticky; top: 0; height: 100svh; overflow: hidden; display: grid; align-items: end; }
.sbx-cv { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; }
.sbx-stage::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(19, 17, 15, 0) 35%, rgba(19, 17, 15, .55) 62%, rgba(19, 17, 15, .96) 100%); pointer-events: none; }
.sbx-cin { position: relative; z-index: 1; padding: 0 var(--pad) clamp(36px, 6vw, 80px); display: grid; gap: 14px; will-change: transform, opacity; }
.sbx-name { font-family: var(--disp); font-weight: 800; font-size: clamp(3.6rem, 16vw, 12.5rem); line-height: .84; letter-spacing: -.045em; margin: 0; }
.sbx-line { font-size: clamp(1.15rem, 1.8vw, 1.6rem); line-height: 1.32; max-width: 30em; margin: 0; text-wrap: pretty; }
.sbx-curtain { position: absolute; inset: 0; z-index: 2; background: var(--sbx-g); }
/* Brian's entrance. Values from his stylesheet; his timed animations are replaced by a clock the page supplies. */
.sbx .sbpl { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: #13110f; }
.sbx .sbpl::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(55% 50% at 50% 50%, rgba(179, 61, 38, .10) 0%, rgba(179, 61, 38, 0) 70%); }
.sbx .sbpl-stage { position: relative; display: flex; flex-direction: column; align-items: center; will-change: transform; }
.sbx .sbpl-mark { display: block; width: min(52vh, 64vw, 520px); height: auto; overflow: visible; }
.sbx .sbpl-fill { fill: #fff7e8; opacity: 0; }
.sbx .sbpl.is-carved .sbpl-fill { opacity: 1; }
.sbx .sbpl-carve { fill: none; stroke: #fff7e8; stroke-width: 6; stroke-dasharray: 0 100000; }
.sbx #sbplDh { stroke-width: 4; }
.sbx .sbpl.is-carved .sbpl-carve { visibility: hidden; }
.sbx .sbpl-racer { fill: #e0542f; opacity: 0; filter: drop-shadow(0 0 1.4px rgba(224, 84, 47, .9)); }
.sbx .sbpl-letters path { fill: #fff7e8; opacity: 0; }
.sbx .sbpl.is-static .sbpl-fill, .sbx .sbpl.is-static .sbpl-letters path { opacity: 1; }
.sbx .sbpl.is-static .sbpl-carve, .sbx .sbpl.is-static .sbpl-racer { display: none; }

/* ---------- the menu: all ten on one screen; the ring beside it shows the page a line leads to ---------- */
.sbx-menu { padding: clamp(64px, 8vw, 120px) var(--pad) clamp(56px, 7vw, 110px); display: grid; gap: clamp(28px, 4vw, 56px); }
.sbx-mcol { display: grid; gap: clamp(24px, 3vw, 40px); align-content: start; min-width: 0; }
.sbx-mh { margin: 0; font-family: var(--disp); font-weight: 800; font-size: clamp(1.8rem, 3.2vw, 3.2rem); line-height: .98; letter-spacing: .01em; max-width: 18em; }
.sbx-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--sbx-rule); }
.sbx-list li { border-bottom: 1px solid var(--sbx-rule); }
.sbx-list a { display: flex; align-items: center; gap: 16px; padding: clamp(11px, 1vw, 13px) 0; color: var(--sbx-c); text-decoration: none; font-family: var(--disp); font-weight: 800; font-size: clamp(1.15rem, 1.75vw, 1.6rem); line-height: 1.12; letter-spacing: -.012em; }
.sbx-ln { display: inline-block; transition: transform .3s ease; }
.sbx-list a::before { content: ""; flex: none; width: 14px; height: 14px; border-radius: 50%; border: 2px solid var(--sbx-rule); transition: border-color .3s ease, transform .3s ease; }
@media (hover: hover) { .sbx-list a:hover .sbx-ln { transform: translateX(8px); } .sbx-list a:hover::before { border-color: var(--sbx-c); transform: scale(1.25); } }
.sbx-list a:focus-visible { outline: 2px solid var(--sbx-c); outline-offset: 4px; }
.sbx-peek { display: none; }
@media (min-width: 900px) and (hover: hover) {
  .sbx-menu { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: center; min-height: calc(100svh - var(--sbx-hd)); padding-top: clamp(28px, 3.4vw, 52px); padding-bottom: clamp(28px, 3.4vw, 52px); }
  .sbx-peek { display: block; position: relative; justify-self: center; width: min(100%, 62svh); aspect-ratio: 1; border-radius: 50%; border: 2px solid var(--sbx-c); }
  /* each page whole inside the ring: a 16 by 10 picture whose corners sit just inside the circle */
  .sbx-peek img { position: absolute; left: 50%; top: 50%; width: 79%; aspect-ratio: 16 / 10; object-fit: contain; transform: translate(-50%, -50%) scale(.96); opacity: 0; transition: opacity .35s ease, transform .5s cubic-bezier(.2, .7, .2, 1); }
  .sbx-peek img.on { opacity: 1; transform: translate(-50%, -50%); }
}

/* ---------- the ten: each a held screen ---------- */
.sbx-s { position: relative; height: 185svh; }
.sbx-s.is-words { height: 105svh; }
.sbx-hold { position: sticky; top: calc(var(--sbx-hd) + var(--sbx-bar)); height: calc(100svh - var(--sbx-hd) - var(--sbx-bar) - var(--sbx-dock)); overflow: hidden; }
.sbx-win { position: absolute; inset: 0; clip-path: circle(0 at 50% 50%); will-change: clip-path, opacity; }
.sbx-v { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; object-position: 50% 50%; transform-origin: 50% 50%; will-change: transform; }
/* the ring is drawn round the recording as the part arrives (--a runs 0% to 100%) */
.sbx-ring { position: absolute; border: 2px solid var(--sbx-c); border-radius: 50%; pointer-events: none; box-sizing: border-box; --a: 100%;
  -webkit-mask: conic-gradient(from -130deg, #000 var(--a), transparent 0); mask: conic-gradient(from -130deg, #000 var(--a), transparent 0); }
.sbx-words { position: absolute; top: 50%; left: var(--pad); width: min(40%, 36rem); transform: translateY(-50%); display: grid; gap: 20px; will-change: transform, opacity; }
.sbx-s.is-flip .sbx-words { left: auto; right: var(--pad); }
.sbx-h { margin: 0; font-family: var(--disp); font-weight: 800; font-size: clamp(2.1rem, 4.2vw, 4.5rem); line-height: .96; letter-spacing: -.028em; text-wrap: balance; }
.sbx-h:focus { outline: none; }
.sbx-p { margin: 0; font-size: clamp(1.1rem, 1.35vw, 1.35rem); line-height: 1.45; color: var(--sbx-soft); max-width: 30em; text-wrap: pretty; }
/* a part with no recording: its words, large, in the middle of the screen */
.sbx-s.is-words .sbx-words { left: var(--pad); right: var(--pad); width: auto; max-width: 60rem; }
.sbx-s.is-words .sbx-h { font-size: clamp(2.6rem, 7vw, 7.5rem); line-height: .92; }
.sbx-s.is-words .sbx-p { font-size: clamp(1.15rem, 1.6vw, 1.55rem); }

@media (max-width: 899px) {
  .sbx-s { height: 180svh; }
  .sbx-s.is-words { height: 100svh; }
  .sbx-words, .sbx-s.is-flip .sbx-words { top: clamp(20px, 5svh, 48px); left: var(--pad); right: var(--pad); width: auto; transform: none; gap: 12px; }
  .sbx-h { font-size: clamp(1.75rem, 7.4vw, 2.4rem); }
  .sbx-p { font-size: 1.05rem; }
  .sbx-s.is-words .sbx-words { top: 50%; transform: translateY(-50%); }
  .sbx-s.is-words .sbx-h { font-size: clamp(2.2rem, 10vw, 3.2rem); }
}

/* ---------- the close ---------- */
.sbx-close { padding: clamp(64px, 8vw, 120px) var(--pad); display: grid; gap: 22px; }
.sbx-act { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 30px; }

/* ---------- the way round: a bar of the ten under the header (wide screens) ---------- */
.sbx-bar { position: fixed; z-index: 40; top: var(--sbx-hd); left: 0; right: 0; background: rgba(19, 17, 15, .92); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-bottom: 1px solid rgba(255, 247, 232, .12); transform: translateY(-110%); opacity: 0; visibility: hidden; transition: transform .35s ease, opacity .35s ease, visibility 0s .35s; }
.sbx.bar-on .sbx-bar { transform: none; opacity: 1; visibility: visible; transition: transform .35s ease, opacity .35s ease; }
.sbx-bar ol { list-style: none; margin: 0; padding: 0 var(--pad); display: flex; gap: clamp(14px, 1.8vw, 28px); overflow-x: auto; scrollbar-width: none; }
.sbx-bar a { display: inline-flex; align-items: center; gap: 8px; padding: 13px 0; font-size: 14px; color: rgba(255, 247, 232, .7); text-decoration: none; white-space: nowrap; }
.sbx-bar a::before { content: ""; width: 9px; height: 9px; border-radius: 50%; border: 1.5px solid transparent; transition: border-color .3s ease; }
.sbx-bar a[aria-current] { color: var(--sbx-c); }
.sbx-bar a[aria-current]::before { border-color: var(--sbx-c); }
@media (hover: hover) { .sbx-bar a:hover { color: var(--sbx-c); } }
.sbx-bar a:focus-visible { outline: 2px solid var(--sbx-c); outline-offset: 2px; }
@media (max-width: 899px) { .sbx-bar { display: none; } }

/* ---------- phones: a dock naming the part, and one sheet with all ten ---------- */
.sbx-dock, .sbx-sheet { display: none; }
@media (max-width: 899px) {
  .sbx-dock { display: flex; position: fixed; z-index: 41; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); align-items: center; justify-content: space-between; gap: 12px; padding: 8px 8px 8px 16px; background: var(--sbx-g); box-shadow: inset 0 0 0 1px var(--sbx-rule); border-radius: 2px; transform: translateY(140%); transition: transform .35s ease, opacity .3s ease, visibility 0s; }
  .sbx.bar-on .sbx-dock { transform: none; }
  /* The dock is a solid plate with its hairline round it (final review 2026-11-15: it was see-through, so the copy and headings
     passing under it showed through and ran into its label). Where a page's own stylesheet gives the dock a see-through tint,
     pieces/immersive.js lays that tint over the page's ground once and sets the result, so it is solid on every case page. */
  /* D119 (Brian 2026-11-15): past the last part the dock fades away; with reduced motion it goes at once (the transition is off below) */
  .sbx.dock-off .sbx-dock { opacity: 0; visibility: hidden; pointer-events: none; transition: transform .35s ease, opacity .3s ease, visibility 0s .3s; }
  .sbx-now { display: inline-flex; align-items: center; gap: 10px; font-size: 15px; color: var(--sbx-c); white-space: nowrap; overflow: hidden; }
  .sbx-now::before { content: ""; flex: none; width: 10px; height: 10px; border-radius: 50%; border: 1.5px solid var(--sbx-c); }
  .sbx-all { appearance: none; border: 0; background: var(--sbx-c); color: var(--sbx-g); font: inherit; font-size: 15px; font-weight: 600; min-height: 44px; padding: 0 16px; border-radius: 2px; cursor: pointer; }
  .sbx-all:focus-visible { outline: 2px solid var(--sbx-c); outline-offset: 3px; }
  .sbx-sheet:not([hidden]) { display: block; position: fixed; z-index: 42; left: 12px; right: 12px; bottom: calc(76px + env(safe-area-inset-bottom)); max-height: 70svh; overflow: auto; background: #1c1916; box-shadow: inset 0 0 0 1px var(--sbx-rule), 0 20px 60px rgba(0, 0, 0, .5); border-radius: 2px; }
  .sbx-sheet ol { list-style: none; margin: 0; padding: 6px 0; }
  .sbx-sheet a { display: flex; align-items: center; gap: 12px; padding: 12px 18px; font-size: 16px; line-height: 1.3; color: rgba(255, 247, 232, .72); text-decoration: none; }
  .sbx-sheet a::before { content: ""; flex: none; width: 10px; height: 10px; border-radius: 50%; border: 1.5px solid transparent; }
  .sbx-sheet a[aria-current] { color: var(--sbx-c); }
  .sbx-sheet a[aria-current]::before { border-color: var(--sbx-c); }
  .sbx-sheet a:focus-visible { outline: 2px solid var(--sbx-c); outline-offset: -4px; }
}

/* ---------- reduced motion: nothing held, drawn or opened; the finished crest, the room, then words and whole recordings ---------- */
.sbx.is-still .sbx-in { height: auto; }
.sbx.is-still .sbx-stage { position: relative; height: auto; min-height: 100svh; overflow: visible; display: block; }
.sbx.is-still .sbx-stage::after { display: none; }
.sbx.is-still .sbx-curtain { position: relative; inset: auto; height: 56svh; }
.sbx.is-still .sbx-cv { position: relative; inset: auto; height: 60svh; display: block; }
.sbx.is-still .sbx-cin { padding-top: clamp(24px, 3vw, 40px); }
.sbx.is-still .sbx-s, .sbx.is-still .sbx-s.is-words { height: auto; padding: clamp(48px, 7vw, 96px) 0 0; }
.sbx.is-still .sbx-hold { position: static; height: auto; overflow: visible; display: grid; gap: clamp(20px, 3vw, 36px); }
.sbx.is-still .sbx-words, .sbx.is-still .sbx-s.is-flip .sbx-words, .sbx.is-still .sbx-s.is-words .sbx-words { position: static; transform: none; width: auto; max-width: 40rem; padding: 0 var(--pad); }
.sbx.is-still .sbx-win { position: relative; inset: auto; clip-path: none; aspect-ratio: 16 / 10; max-height: 86svh; }
@media (max-width: 899px) { .sbx.is-still .sbx-win { aspect-ratio: 390 / 600; } }
.sbx.is-still .sbx-v { transform: none !important; }
.sbx.is-still .sbx-ring { display: none; }
@media (prefers-reduced-motion: reduce) { .sbx-bar, .sbx-dock, .sbx-ln, .sbx-peek img { transition: none; } }

/* ---------- the short lines: shared work, one line each ---------- */
.sbx-lines { padding: clamp(72px, 10vw, 150px) var(--pad) clamp(40px, 5vw, 72px); display: grid; gap: clamp(28px, 4vw, 52px); }
.sbx-lines ol { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--sbx-rule); }
.sbx-li { display: grid; gap: 8px; padding: clamp(18px, 2.2vw, 30px) 0; border-bottom: 1px solid var(--sbx-rule); scroll-margin-top: calc(var(--sbx-hd) + var(--sbx-bar) + 16px); }
@media (min-width: 900px) { .sbx-li { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: var(--pad); align-items: baseline; } }
.sbx-lh { margin: 0; font-family: var(--disp); font-weight: 800; font-size: clamp(1.4rem, 2.3vw, 2.2rem); line-height: 1.05; letter-spacing: -.015em; }
.sbx-lh:focus { outline: none; }
.sbx-ll { margin: 0; font-size: 18px; }
/* The text links at the ends of a case page (the next project, the live site, the press list, the story link) were 22 to 26px tall
   on a phone (final review 2026-11-15). Each gets room to tap, 44px or more, through padding that a matching negative margin takes
   back, so nothing moves and nothing looks different. */
.sbx-close a.lnk, .sbx-facts a.lnk, .sbx-ll a.lnk { display: inline-block; padding-block: 11px; margin-block: -11px; }
.sbx-after[hidden] { display: none; }

/* ---------- Mountain Standard: its own ground, cream and amber, and its own lettering for every name on the page ---------- */
.sbx[data-case="mountain-standard"] { --sbx-g: #1f1d1b; --sbx-c: #f2e8d6; --sbx-soft: rgba(242, 232, 214, .84); --sbx-rule: rgba(242, 232, 214, .26); --sbx-amber: #d2814a; }
.sbx[data-case="mountain-standard"] .sbx-name, .sbx[data-case="mountain-standard"] .sbx-h, .sbx[data-case="mountain-standard"] .sbx-lh { font-family: "MTN Display", var(--disp); font-weight: 700; letter-spacing: .005em; }
.sbx[data-case="mountain-standard"] .sbx-name { font-size: clamp(2.5rem, 10.5vw, 9rem); line-height: .98; }
.sbx[data-case="mountain-standard"] .sbx-h { line-height: 1.04; font-size: clamp(1.9rem, 3.6vw, 3.9rem); }
.sbx[data-case="mountain-standard"] .sbx-s.is-words .sbx-h { font-size: clamp(2.3rem, 6vw, 6.4rem); }
.sbx[data-case="mountain-standard"] .sbx-list a { font-size: clamp(1.1rem, 1.6vw, 1.5rem); }
.sbx[data-case="mountain-standard"] .sbx-stage::after { background: linear-gradient(180deg, rgba(31, 29, 27, 0) 35%, rgba(31, 29, 27, .6) 62%, rgba(31, 29, 27, .97) 100%); }
.sbx[data-case="mountain-standard"] .sbx-bar { background: rgba(31, 29, 27, .93); }
@media (max-width: 899px) { .sbx[data-case="mountain-standard"] .sbx-dock { background: #1f1d1b; } .sbx[data-case="mountain-standard"] .sbx-h { font-size: clamp(1.6rem, 6.8vw, 2.2rem); } }

/* a page with no entrance of its own: the room and the name, one screen */
.sbx-in.is-plain { height: 100svh; }

/* ================= 2026-11-12, Brian's notes on the case pages ================= */

/* ---------- a row of the menu opens a short blurb when pointed at or reached by keyboard ---------- */
.sbx-list a { display: grid; grid-template-columns: 14px minmax(0, 1fr); column-gap: 16px; align-items: center; }
.sbx-list a::before { grid-row: 1; }
.sbx-more { grid-column: 2; display: grid; grid-template-rows: 0fr; transition: grid-template-rows .35s ease; font-family: var(--text); font-weight: 400; font-size: clamp(.98rem, 1.05vw, 1.08rem); line-height: 1.42; letter-spacing: 0; color: var(--sbx-soft); }
.sbx-more > span { overflow: hidden; min-height: 0; max-width: 34em; }
.sbx-more > span::before { content: ""; display: block; height: 6px; }
@media (hover: hover) { .sbx-list a:hover .sbx-more { grid-template-rows: 1fr; } }
.sbx-list a:focus-visible .sbx-more { grid-template-rows: 1fr; }
/* no pointer to point with: the blurb is left out, the part itself says it */
@media (hover: none) { .sbx-more { display: none; } }

/* ---------- the menu's preview: desktop, tablet and phone recordings of that page, scrolling together.
   The recordings themselves at their own shapes: no ring, no frames round them. They come up with a slight zoom. ---------- */
@media (min-width: 900px) and (hover: hover) {
  .sbx-peek { width: 100%; aspect-ratio: auto; border: 0; border-radius: 0; justify-self: stretch; align-self: center; }
  .sbx-trio { display: flex; align-items: flex-end; gap: clamp(8px, 1vw, 16px); opacity: 0; transform: scale(.955); transform-origin: 50% 100%; transition: opacity .4s ease, transform .6s cubic-bezier(.2, .7, .2, 1); }
  .sbx-peek.is-on .sbx-trio { opacity: 1; transform: none; }
  .sbx-tv { display: block; min-width: 0; height: auto; background: #0e0d0c; box-shadow: 0 18px 50px rgba(0, 0, 0, .45); }
  .sbx-tv[hidden] { display: none; }
  /* equal heights, real proportions: each takes width in proportion to its own shape */
  .sbx-tv[data-f="d"] { flex: 1.6 1 0; aspect-ratio: 1440 / 900; }
  .sbx-tv[data-f="t"] { flex: .75 1 0; aspect-ratio: 834 / 1112; }
  .sbx-tv[data-f="p"] { flex: .462 1 0; aspect-ratio: 390 / 844; }
  .sbx-menu { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
}
@media (prefers-reduced-motion: reduce) { .sbx-trio, .sbx-more { transition: none; } }

/* ---------- the place in the bar is marked by the Vervox mark, which draws in when a part becomes current ---------- */
.sbx-bar a::before { display: none; }
.sbx-mk { width: 18px; height: 18px; opacity: 0; transition: opacity .25s ease; }
.sbx-mk circle { stroke-width: 6; stroke-dasharray: 297; stroke-dashoffset: 297; transform: rotate(-90deg); transform-origin: 51.41px 51.41px; }
.sbx-mk path { transition: none; opacity: 0; }
.sbx-bar a[aria-current] .sbx-mk, .sbx-mk.is-in { opacity: 1; }
.sbx-bar a[aria-current] .sbx-mk circle, .sbx-mk.is-in circle { animation: sbx-ring .5s cubic-bezier(.6, 0, .2, 1) forwards; }
.sbx-bar a[aria-current] .sbx-mk .mk-nib, .sbx-mk.is-in .mk-nib { animation: sbx-nib .45s cubic-bezier(.16, 1, .3, 1) .28s forwards; }
.sbx-bar a[aria-current] .sbx-mk .mk-l, .sbx-mk.is-in .mk-l { animation: sbx-leaf-l .45s cubic-bezier(.16, 1, .3, 1) .42s forwards; }
.sbx-bar a[aria-current] .sbx-mk .mk-r, .sbx-mk.is-in .mk-r { animation: sbx-leaf-r .45s cubic-bezier(.16, 1, .3, 1) .42s forwards; }
@keyframes sbx-ring { to { stroke-dashoffset: 0; } }
@keyframes sbx-nib { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes sbx-leaf-l { from { opacity: 0; transform: rotate(16deg); } to { opacity: 1; transform: none; } }
@keyframes sbx-leaf-r { from { opacity: 0; transform: rotate(-16deg); } to { opacity: 1; transform: none; } }
.sbx-bar a { gap: 7px; }
.sbx-bar a:not([aria-current]) .sbx-mk { width: 0; margin-right: -7px; }
@media (prefers-reduced-motion: reduce) {
  .sbx-mk circle { stroke-dashoffset: 0; animation: none !important; }
  .sbx-bar a[aria-current] .sbx-mk path, .sbx-mk.is-in path { animation: none !important; opacity: 1; }
}
@media (max-width: 899px) {
  .sbx-now::before { display: none; }
  .sbx-nowm { display: inline-flex; flex: none; margin-right: -2px; }
  .sbx-dock { justify-content: flex-start; }
  .sbx-all { margin-left: auto; }
}

/* ---------- the first screen says the page goes on: a quiet cue, gone once the visitor has moved ---------- */
.sbx-cue { position: absolute; z-index: 3; right: var(--pad); bottom: clamp(20px, 3vw, 36px); margin: 0; display: flex; align-items: center; gap: 10px; font-size: 13px; letter-spacing: .08em; color: var(--sbx-soft); transition: opacity .4s ease; }
.sbx-cue i { display: block; width: 1px; height: 34px; background: currentColor; transform-origin: 50% 0; animation: sbx-cue 2.2s cubic-bezier(.6, 0, .2, 1) infinite; }
@keyframes sbx-cue { 0% { transform: scaleY(0); } 55% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }
.sbx.has-moved .sbx-cue { opacity: 0; }
@media (prefers-reduced-motion: reduce) { .sbx-cue i { animation: none; } }
.sbx.is-still .sbx-cue { position: static; padding: 0 var(--pad) 16px; justify-content: flex-end; }

/* ---------- a part with no recording can carry rows beside its words: who changes what ---------- */
.sbx-rows { margin: 0; display: grid; gap: 0; border-top: 1px solid var(--sbx-rule); }
.sbx-rows > div { display: grid; gap: 4px; padding: clamp(12px, 1.4vw, 18px) 0; border-bottom: 1px solid var(--sbx-rule); }
.sbx-rows dt { font-family: var(--disp); font-weight: 800; font-size: clamp(1.1rem, 1.5vw, 1.45rem); line-height: 1.15; letter-spacing: -.01em; }
.sbx-rows dd { margin: 0; font-size: clamp(1rem, 1.15vw, 1.15rem); line-height: 1.4; color: var(--sbx-soft); }
@media (min-width: 900px) {
  .sbx-s.has-rows .sbx-words { right: auto; width: min(42%, 36rem); max-width: none; }
  .sbx-s.has-rows .sbx-h { font-size: clamp(2.1rem, 4.2vw, 4.5rem); }
  .sbx-s.has-rows .sbx-rows { position: absolute; top: 50%; right: var(--pad); width: min(44%, 38rem); transform: translateY(-50%); }
  .sbx-s.has-rows.is-flip .sbx-words { left: auto; right: var(--pad); }
  .sbx-s.has-rows.is-flip .sbx-rows { right: auto; left: var(--pad); }
}
@media (max-width: 899px) {
  .sbx-s.has-rows { height: auto; min-height: 100svh; padding: clamp(40px, 8svh, 72px) 0; }
  .sbx-s.has-rows .sbx-hold { position: static; height: auto; overflow: visible; display: grid; gap: 28px; padding: 0 var(--pad); }
  .sbx-s.has-rows .sbx-words { position: static; transform: none; }
}
.sbx.is-still .sbx-rows { position: static; transform: none; width: auto; margin: 0 var(--pad); }
/* the menu beside its three-size preview: the list a little smaller so all ten stay on one screen */
@media (min-width: 900px) and (hover: hover) {
  .sbx-menu { grid-template-columns: minmax(0, 6fr) minmax(0, 7fr); column-gap: clamp(28px, 4vw, 64px); }
  .sbx-list a { font-size: clamp(1.02rem, 1.4vw, 1.32rem); padding: clamp(9px, .85vw, 12px) 0; }
  .sbx-mh { font-size: clamp(1.7rem, 2.8vw, 2.9rem); }
}

/* ---- 2026-11-12 13:48: the same page on a phone, beside the words (wide screens; page.phoneBeside). No frame: the recording itself. ---- */
.sbx-ph { display: grid; justify-items: start; gap: 8px; margin-top: 6px; }
.sbx-ph video { width: clamp(112px, 10.5vw, 168px); aspect-ratio: 390 / 844; object-fit: cover; object-position: 50% 0; display: block; box-shadow: 0 18px 40px rgba(0, 0, 0, .45); }
.sbx-ph span { font: 600 13px/1.2 var(--text); opacity: .7; }
@media (max-height: 760px) { .sbx-ph video { width: clamp(96px, 8vw, 128px); } }
.sbx.is-still .sbx-ph { display: none; }

/* ================= 2026-11-12 14:03 (Brian; D102): a part without the ring. Its three recordings sit in plain device frames:
   the laptop in the middle, the phone over its lower left, the tablet over its lower right. Drawn here, no maker's shape, no logo.
   Every part is laid out the same way (words above, devices below), so the page no longer runs left, right, left. ================= */
.sbx-s.has-dev { height: auto; min-height: 0; padding: clamp(56px, 9svh, 120px) 0 clamp(64px, 10svh, 132px); }
.sbx-s.has-dev .sbx-hold { position: static; height: auto; overflow: visible; display: grid; gap: clamp(28px, 4.5svh, 56px); padding: 0 var(--pad); }
.sbx-s.has-dev .sbx-words, .sbx-s.has-dev.is-flip .sbx-words { position: static; inset: auto; width: auto; max-width: 46rem; margin: 0 auto; text-align: center; justify-items: center; gap: 16px; }
.sbx-s.has-dev .sbx-h { font-size: clamp(2rem, 4vw, 4.2rem); }
.sbx-s.has-dev .sbx-dev, .sbx-s.has-dev.is-flip .sbx-dev { position: relative; inset: auto; transform: none; width: min(100%, 1240px); margin: 0 auto; border: 0; --en: 1; container-type: inline-size; padding-bottom: 5%; }
.dv { position: relative; background: #0b0b0c; box-shadow: 0 0 0 1px rgba(255, 255, 255, .16), 0 30px 60px rgba(0, 0, 0, .5); }
.dv-scr { overflow: hidden; background: #000; }
.dv-v { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; }
/* laptop: a thin even bezel, and a base that runs a little wider than the lid */
.dv-lap { width: 68%; margin: 0 auto; padding: 1.1cqw 1.1cqw 1.3cqw; border-radius: 1.3cqw 1.3cqw .3cqw .3cqw; }
.dv-lap .dv-scr { aspect-ratio: 16 / 10; border-radius: .35cqw; }
.dv-base { position: absolute; left: -7%; right: -7%; top: 100%; height: 1.25cqw; border-radius: 0 0 1.4cqw 1.4cqw; background: linear-gradient(#3a3a3d, #1b1b1d 55%, #0c0c0d); box-shadow: 0 0 0 1px rgba(255, 255, 255, .1), 0 24px 40px rgba(0, 0, 0, .5); }
.dv-base::after { content: ""; position: absolute; left: 50%; top: 0; width: 13%; height: 34%; transform: translateX(-50%); border-radius: 0 0 .6cqw .6cqw; background: rgba(0, 0, 0, .45); }
/* phone and tablet: rounded slabs with an even bezel, nothing cut into the screen */
.dv-ph { position: absolute; left: 6.5%; bottom: 0; width: 13%; padding: .55cqw; border-radius: 2cqw; transform: translateY(calc((1 - var(--en)) * 70px)); }
.dv-ph .dv-scr { aspect-ratio: 390 / 844; border-radius: 1.5cqw; }
.dv-tab { position: absolute; right: 0; bottom: 0; width: 22.5%; padding: .8cqw; border-radius: 1.7cqw; transform: translateY(calc((1 - var(--en)) * 110px)); }
.dv-tab .dv-scr { aspect-ratio: 834 / 1112; border-radius: 1cqw; }
.sbx-dev.no-ph .dv-lap, .sbx-dev.no-tab .dv-lap { width: 74%; }
/* a phone: the phone alone */
.sbx-dev.is-one { padding-bottom: 0; }
.sbx-dev.is-one .dv-ph { position: relative; left: auto; bottom: auto; width: min(64%, 260px); margin: 0 auto; padding: 7px; border-radius: 30px; transform: none; }
.sbx-dev.is-one .dv-ph .dv-scr { border-radius: 23px; }
.sbx-dev.is-one .dv-lap { width: 92%; }
.sbx.is-still .sbx-s.has-dev { padding-top: clamp(48px, 7vw, 96px); }
.sbx.is-still .sbx-s.has-dev .sbx-words { margin: 0 auto; padding: 0; }
.sbx.is-still .sbx-dev { margin: 0 auto; }
.sbx.is-still .dv-ph, .sbx.is-still .dv-tab { transform: none; }
/* a part with devices fits one screen on a wide display: the heading and its words share a row above the devices */
@media (min-width: 900px) {
  .sbx .sbx-s.has-dev { padding: clamp(36px, 6svh, 80px) 0 clamp(48px, 8svh, 104px); }
  .sbx .sbx-s.has-dev .sbx-words, .sbx .sbx-s.has-dev.is-flip .sbx-words { max-width: 1240px; width: 100%; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); column-gap: clamp(28px, 4vw, 72px); align-items: end; text-align: left; justify-items: start; }
  .sbx .sbx-s.has-dev .sbx-h { font-size: clamp(1.9rem, 3.3vw, 3.4rem); line-height: 1.04; }
  .sbx .sbx-s.has-dev .sbx-p { font-size: clamp(1rem, 1.25vw, 1.25rem); max-width: 34em; }
  .sbx .sbx-s.has-dev .sbx-dev, .sbx .sbx-s.has-dev.is-flip .sbx-dev { width: min(100%, 1240px, calc((100svh - 330px) * 1.85)); }
}
@media (min-width: 900px) {
  .sbx[data-case] .sbx-s.has-dev .sbx-h { font-size: clamp(1.9rem, 3.3vw, 3.4rem); line-height: 1.04; }
  .sbx-dev .dv-lap { width: 64%; }
  .sbx-dev .dv-ph { left: 7.5%; }
  .sbx-dev .dv-tab { width: 21%; }
}

/* ================= 2026-11-12 (Brian, D104): the list drives. One held stage: every part stays listed at the side, the open row
   shows its sentence, and the device stack beside it changes in place. Scroll reads down the list; pointing at a row previews it. ================= */
.sbx-ld { position: relative; }
.sbx-ld-stage { position: sticky; top: calc(var(--sbx-hd) + var(--sbx-bar)); height: calc(100svh - var(--sbx-hd) - var(--sbx-bar) - var(--sbx-dock)); display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(28px, 4vw, 72px); padding: clamp(14px, 2.4svh, 32px) var(--pad); align-items: center; overflow: hidden; }
.sbx-ld-col { display: grid; gap: clamp(14px, 2.2svh, 26px); align-content: center; min-width: 0; }
.sbx-ld-col .sbx-mh { margin: 0; font-size: clamp(1.4rem, 2.2vw, 2.3rem); }
.sbx-ld-list { margin: 0; }
.sbx-ld-list li { position: relative; }
.sbx-ld-list a { display: grid; gap: 0; padding: clamp(7px, 1.15svh, 12px) 0; font-size: clamp(1rem, 1.36vw, 1.34rem); opacity: .62; transition: opacity .3s ease; }
.sbx-ld-list li.on a, .sbx-ld-list a:hover, .sbx-ld-list a:focus-visible { opacity: 1; }
.sbx-ld-list a::before { display: none; }
.sbx-ld-job { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .5s cubic-bezier(.16, 1, .3, 1); }
.sbx-ld-job > span { overflow: hidden; min-height: 0; font-family: var(--text); font-weight: 400; font-size: clamp(.95rem, 1.06vw, 1.08rem); line-height: 1.42; letter-spacing: 0; text-transform: none; color: var(--sbx-soft); max-width: 30em; }
.sbx-ld-list li.on .sbx-ld-job { grid-template-rows: 1fr; }
.sbx-ld-list li.on .sbx-ld-job > span { padding: 6px 0 4px; }
/* how far through the open part the scroll is */
.sbx-ld-list li::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--sbx-c); transform-origin: 0 50%; transform: scaleX(0); }
.sbx-ld-list li.on::after { transform: scaleX(var(--k, 0)); }
.sbx-ld-view { position: relative; height: 100%; min-height: 0; }
.sbx-ld-slide { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; opacity: 0; visibility: hidden; transform: translateY(28px); transition: opacity .32s ease, transform .55s cubic-bezier(.16, 1, .3, 1), visibility 0s .55s; }
.sbx-ld-slide.was { transform: translateY(-28px); }
.sbx-ld-slide.on { opacity: 1; visibility: visible; transform: none; transition: opacity .32s ease .08s, transform .55s cubic-bezier(.16, 1, .3, 1) .08s, visibility 0s; }
.sbx-ld-slide .sbx-dev { position: relative; inset: auto; transform: none; border: 0; margin: 0; --en: 1; container-type: inline-size; padding-bottom: 5%; width: min(100%, calc((100svh - var(--sbx-hd) - var(--sbx-bar) - 96px) * 1.9)); }
.sbx-ld-words { margin: 0; max-width: 22em; font-size: clamp(1.2rem, 1.8vw, 1.8rem); line-height: 1.35; }
.sbx-ld-now { display: none; }
.sbx-ld-ll { padding: 0 var(--pad) clamp(40px, 6vw, 80px); margin: 0; }
@media (max-width: 899px) {
  .sbx-ld-stage { grid-template-columns: minmax(0, 1fr); grid-template-rows: minmax(0, 1fr) auto; gap: 14px; padding: 14px var(--pad) 16px; align-items: stretch; }
  .sbx-ld-col { display: none; }
  .sbx-ld-view { grid-row: 1; }
  .sbx-ld-slide .sbx-dev.is-one { width: 100%; padding: 0; height: 100%; display: flex; align-items: center; justify-content: center; }
  .sbx-ld-slide .sbx-dev.is-one .dv-ph { height: 100%; width: auto; aspect-ratio: 404 / 858; max-width: 100%; margin: 0; }
  .sbx-ld-slide .sbx-dev.is-one .dv-ph .dv-scr { height: 100%; aspect-ratio: auto; }
  .sbx-ld-now { display: grid; gap: 6px; grid-row: 2; min-height: 10.4em; align-content: start; border-top: 1px solid var(--sbx-rule); padding-top: 12px; position: relative; }
  .sbx-ld-now::after { content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 2px; background: var(--sbx-c); transform-origin: 0 50%; transform: scaleX(var(--k, 0)); }
  .sbx-ld-now h3 { margin: 0; font-family: var(--disp); font-size: 1.4rem; line-height: 1.08; }
  .sbx-ld-now p { margin: 0; font-size: 1rem; line-height: 1.4; color: var(--sbx-soft); }
}
/* THE CASE LIST IS SET IN VERVOX'S OWN FACES ON EVERY CASE PAGE, never the client's (Brian 2026-11-13 15:56: "I want just this section
   to have my font for Vervox, not the client's... it can be hard to read. It is dense content"). That is the list's heading, the part
   titles, the open part's title and description, and "After the list". The client's face stays on the cover name, the part headings
   and the said lines. A page's own stylesheet must not set a face, capitals, italics or tracking on these; checks/v4-case-list-face.mjs
   holds it. The heading keeps the site's own heading style (site.css h2). */
.sbx .sbx-mh, .sbx .sbx-list a, .sbx .sbx-ld-now h3 { font-family: var(--disp); font-weight: 800; font-style: normal; }
.sbx .sbx-list a, .sbx .sbx-ld-now h3 { text-transform: none; letter-spacing: -.012em; }
.sbx .sbx-ld-list a { line-height: 1.18; }
.sbx .sbx-ld-now h3 { line-height: 1.15; }
.sbx .sbx-ld-job > span, .sbx .sbx-ld-now p, .sbx .sbx-ld-on { font-family: var(--text); font-style: normal; text-transform: none; letter-spacing: 0; }
@media (prefers-reduced-motion: reduce) { .sbx-ld-slide, .sbx-ld-job { transition: none; } }
@media (min-width: 900px) {
  .sbx-ld-stage { grid-template-rows: minmax(0, 1fr); }
  .sbx-ld-view { align-self: stretch; height: auto; }
}
.sbx-ld-list a { grid-template-columns: minmax(0, 1fr); }
/* the list scales with the screen's height as well as its width, so all the rows and the open sentence fit a short laptop screen (1280 by 720) */
@media (min-width: 900px) {
  .sbx-ld-stage { padding-top: clamp(8px, 1.6svh, 32px); padding-bottom: clamp(8px, 1.6svh, 32px); }
  .sbx-ld-col { gap: clamp(8px, 1.8svh, 26px); }
  .sbx-ld-col .sbx-mh { font-size: clamp(1.15rem, min(2.2vw, 3.6svh), 2.3rem); line-height: 1.02; }
  .sbx-ld-list a { font-size: clamp(.9rem, min(1.36vw, 2.25svh), 1.34rem); padding: clamp(4px, .95svh, 12px) 0; line-height: 1.12; }
  .sbx-ld-job > span { font-size: clamp(.86rem, min(1.06vw, 1.9svh), 1.08rem); line-height: 1.36; }
  .sbx-ld-list li.on .sbx-ld-job > span { padding: clamp(3px, .6svh, 6px) 0 clamp(2px, .5svh, 4px); }
}
@media (min-width: 900px) and (max-width: 1099px) {
  .sbx-ld-stage { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(20px, 3vw, 40px); }
  .sbx-ld-job > span { font-size: clamp(.82rem, min(1.06vw, 1.8svh), 1rem); }
}

/* ---- the list stage, grown (build PM, 2026-11-12): the devices fill the right side up to the content edge; a slide can carry
   the row's longer blurb under the devices, or the part's rows ---- */
@media (min-width: 1100px) {
  .sbx-ld-stage { grid-template-columns: minmax(0, 4fr) minmax(0, 9fr); gap: clamp(24px, 2.6vw, 44px); }
  .sbx-ld-slide .sbx-dev .dv-lap { width: 71%; }
  .sbx-ld-slide .sbx-dev .dv-ph { left: 2.5%; }
  .sbx-ld-slide .sbx-dev .dv-tab { width: 20.5%; }
}
.sbx-ld-slide { flex-direction: column; gap: clamp(12px, 2.2svh, 26px); }
.sbx-ld-slide .sbx-dev { width: min(100%, calc((100svh - var(--sbx-hd) - var(--sbx-bar) - 80px) * 1.9)); }
.sbx-ld-slide:has(.sbx-ld-more) .sbx-dev { width: min(100%, calc((100svh - var(--sbx-hd) - var(--sbx-bar) - 190px) * 1.9)); }
.sbx-ld-more { margin: 0; max-width: 44em; text-align: center; font-size: clamp(.9rem, min(1.08vw, 1.9svh), 1.1rem); line-height: 1.42; color: var(--sbx-soft); }
.sbx-ld-rows { position: static; transform: none; width: min(100%, 40rem); }
@media (max-width: 899px) { .sbx-ld-more { display: none; } .sbx-ld-rows { align-self: stretch; width: auto; } .sbx-ld-rows dt { font-size: 1rem; } .sbx-ld-rows dd { font-size: .92rem; } .sbx-ld-rows > div { padding: 8px 0; } }
.sbx-ld-list li.pv a { opacity: 1; }

/* ---- 2026-11-12: the closing button wraps on a very narrow screen (320); a cover picture; what the client said ---- */
.sbx-act .btn { white-space: normal; max-width: 100%; text-align: center; }
.sbx-said { padding: clamp(56px, 9vw, 132px) var(--pad); }
.sbx-said blockquote { margin: 0; max-width: 46rem; display: grid; gap: 16px; }
.sbx-said p { margin: 0; font-family: var(--disp); font-weight: 800; font-size: clamp(2rem, 5vw, 4.6rem); line-height: 1.04; letter-spacing: -.01em; }
.sbx-said footer { font-size: clamp(1rem, 1.2vw, 1.2rem); color: var(--sbx-soft); }

/* a part with nothing to show but its name: the name is set large in the stage; on a phone the block under it then keeps only the sentence */
.sbx-ld-name { font-family: var(--disp); font-weight: 800; font-size: clamp(2rem, 4.4vw, 4.6rem); line-height: 1.02; letter-spacing: -.01em; max-width: 12em; text-wrap: balance; }
@media (max-width: 899px) { .sbx-ld-stage.is-bare .sbx-ld-now h3 { display: none; } .sbx-ld-name { font-size: clamp(1.9rem, 9vw, 3rem); } }

/* on a phone the scroll cue sits under the cover line, never on its last words */
@media (max-width: 899px) { .sbx-cin { padding-bottom: 78px; } .sbx.is-still .sbx-cin { padding-bottom: clamp(36px, 6vw, 80px); } }

/* landing on a part (an address, the sticky menu, a click) focuses its row without a ring; a key press brings the ring back */
.sbx-ld-list a.no-ring, .sbx-ld-list a.no-ring:focus, .sbx-ld-list a.no-ring:focus-visible { outline: none !important; box-shadow: none !important; }

/* ---- paper sheets: pages of a document, set side by side and a little overlapped, each a step lower than the last ---- */
.sbx-sheets, .sbx-ld-slide .sbx-sheets, .sbx-s.has-dev .sbx-sheets { display: flex; justify-content: center; align-items: flex-start; padding: 0 0 6%; container-type: inline-size; }
.sbx-sheet-p { width: 23%; height: auto; aspect-ratio: 510 / 660; margin-left: -3.2%; transform: translateY(calc(var(--k) * 4.5cqw)) rotate(calc((var(--k) - 2) * .8deg)); box-shadow: 0 0 0 1px rgba(0, 0, 0, .2), 0 22px 44px rgba(0, 0, 0, .5); background: #fdf6e8; position: relative; z-index: calc(10 - var(--k)); }
.sbx-sheet-p:first-child { margin-left: 0; }
.sbx-sheets.is-one, .sbx-ld-slide .sbx-dev.sbx-sheets { height: auto; }
@media (max-width: 899px) { .sbx-sheet-p { width: 40%; margin-left: -9%; } .sbx-ld-slide .sbx-sheets { width: 100%; padding-bottom: 14%; } }

/* ---- project details, press and the live site (D107) ---- */
.sbx-facts { padding: clamp(56px, 8vw, 120px) var(--pad) 0; display: grid; gap: clamp(20px, 3vw, 36px); }
.sbx-facts-in { display: grid; gap: clamp(28px, 4vw, 64px); grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); align-items: start; }
.sbx-facts-dl { margin: 0; border-top: 1px solid var(--sbx-rule); }
.sbx-facts-dl > div { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--sbx-rule); }
.sbx-facts-dl dt { color: var(--sbx-soft); font-size: clamp(1rem, 1.1vw, 1.1rem); }
.sbx-facts-dl dd { margin: 0; font-size: clamp(1rem, 1.2vw, 1.2rem); }
.sbx-facts-press h3 { margin: 0 0 10px; font-family: var(--disp); font-weight: 800; font-size: clamp(1.1rem, 1.5vw, 1.45rem); }
.sbx-facts-press ul { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--sbx-rule); }
.sbx-facts-press li { display: grid; gap: 4px; padding: 14px 0; border-bottom: 1px solid var(--sbx-rule); font-size: clamp(1rem, 1.2vw, 1.2rem); }
.sbx-facts-press li span { color: var(--sbx-soft); font-size: clamp(.92rem, 1vw, 1rem); }
.sbx-facts-live { margin: 0; }
/* the sheets sit side by side, none covering another's heading, and stay inside the stage */
.sbx-sheet-p { width: 18.4%; margin-left: 1.6%; transform: translateY(calc(var(--k) * 1.3cqw)) rotate(calc((var(--k) - 2) * .45deg)); }
.sbx-sheets, .sbx-ld-slide .sbx-sheets, .sbx-s.has-dev .sbx-sheets { padding: 1% 1% 7%; }
@media (max-width: 899px) { .sbx-sheet-p { width: 31%; margin-left: 3%; transform: translateY(calc(var(--k) * 3cqw)) rotate(calc((var(--k) - 1) * .6deg)); } .sbx-ld-slide .sbx-sheets { padding: 2% 2% 10%; } }
.sbx-sheet-p { box-shadow: 0 0 0 1px rgba(255, 255, 255, .16), 0 22px 44px rgba(0, 0, 0, .5); }

/* ---- sheets are now boxes holding the page picture; one with a large version is a button that opens it to read ---- */
.sbx-sheet-p { display: block; padding: 0; border: 0; overflow: hidden; font: inherit; color: inherit; }
.sbx-sheet-p > img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; }
button.sbx-sheet-p { cursor: zoom-in; transition: transform .35s cubic-bezier(.2, .7, .2, 1); }
button.sbx-sheet-p:hover, button.sbx-sheet-p:focus-visible { transform: translateY(calc(var(--k) * 1.3cqw - 10px)) rotate(0deg); z-index: 20; }
button.sbx-sheet-p:focus-visible { outline: 2px solid var(--sbx-c); outline-offset: 3px; }
.sbx-read { width: min(100vw - 24px, 1040px); max-width: none; height: min(100svh - 24px, 1400px); max-height: none; padding: 0; border: 0; background: #1b1917; color: #fff7e8; box-shadow: 0 30px 80px rgba(0, 0, 0, .6); }
.sbx-read::backdrop { background: rgba(8, 8, 8, .78); }
.sbx-read[open] { display: grid; grid-template-rows: auto minmax(0, 1fr); }
.sbx-read-bar { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-bottom: 1px solid rgba(255, 247, 232, .2); flex-wrap: wrap; }
.sbx-read-bar button { appearance: none; border: 0; min-height: 44px; padding: 0 14px; background: transparent; color: inherit; font: 600 15px/1 var(--text); cursor: pointer; border-radius: 2px; box-shadow: inset 0 0 0 1px rgba(255, 247, 232, .28); }
.sbx-read-bar button:focus-visible { outline: 2px solid #fff7e8; outline-offset: 2px; }
.sbx-read-bar .sbx-read-x { margin-left: auto; background: #fff7e8; color: #1b1917; box-shadow: none; }
.sbx-read-n { font: 400 15px/1.3 var(--text); opacity: .86; padding: 0 6px; }
.sbx-read-in { overflow: auto; -webkit-overflow-scrolling: touch; padding: 12px; }
.sbx-read-in img { display: block; width: 100%; height: auto; }
@media (prefers-reduced-motion: reduce) { button.sbx-sheet-p { transition: none; } }
/* the reading dialog sits in the middle of the screen */
.sbx-read { position: fixed; inset: 0; margin: auto; }

/* ---- the mark's colour for each part, red at the first to violet at the last; it eases from one to the next (Brian 2026-11-12).
   The label keeps its own colour. With reduced motion the colour changes at once. ---- */
@property --sbx-mkc { syntax: "<color>"; inherits: true; initial-value: #fff7e8; }
.sbx { transition: --sbx-mkc .7s ease; }
.sbx-bar .sbx-mk, .sbx-nowm .sbx-mk { color: var(--sbx-mkc); }
@media (prefers-reduced-motion: reduce) { .sbx { transition: none; } }
.sbx.is-still { transition: none; }

.sbx-facts-live { display: flex; flex-wrap: wrap; gap: 8px 26px; }

/* ================= D111 (Brian 2026-11-13): no bar above the list stage. The list is the way round on a wide screen, so the bar
   that repeated it is gone on every page that uses the stage (the dock and its sheet stay on a phone; a page laid out whole for
   reduced motion keeps its bar). The Vervox mark moves into the list: the open row draws it in the part's colour, red at the
   first part to violet at the last. What sits after the stage is linked from under the list. ================= */
.sbx.no-bar { --sbx-bar: 0px; }
.sbx-ld-list a { grid-template-columns: auto minmax(0, 1fr); align-items: center; }
.sbx-ld-list .sbx-ln { grid-area: 1 / 2; }
.sbx-ld-list .sbx-ld-job { grid-column: 1 / -1; }
.sbx-ld-list .sbx-lmk { grid-area: 1 / 1; width: 0; height: 1.05em; margin-right: 0; color: var(--sbx-mkc); transition: width .35s cubic-bezier(.16, 1, .3, 1), margin-right .35s cubic-bezier(.16, 1, .3, 1), opacity .25s ease; }
.sbx-ld-list li.on .sbx-lmk { width: 1.05em; margin-right: .5em; opacity: 1; }
.sbx-ld-list li.on .sbx-mk circle { animation: sbx-ring .5s cubic-bezier(.6, 0, .2, 1) forwards; }
.sbx-ld-list li.on .sbx-mk .mk-nib { animation: sbx-nib .45s cubic-bezier(.16, 1, .3, 1) .28s forwards; }
.sbx-ld-list li.on .sbx-mk .mk-l { animation: sbx-leaf-l .45s cubic-bezier(.16, 1, .3, 1) .42s forwards; }
.sbx-ld-list li.on .sbx-mk .mk-r { animation: sbx-leaf-r .45s cubic-bezier(.16, 1, .3, 1) .42s forwards; }
@media (prefers-reduced-motion: reduce) { .sbx-ld-list .sbx-lmk { transition: none; } .sbx-ld-list li.on .sbx-mk path { animation: none !important; opacity: 1; } }
.sbx-ld-on { margin: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 2px 18px; font-size: clamp(.86rem, min(1vw, 1.9svh), 1rem); color: var(--sbx-soft); }
.sbx-ld-on a { display: inline-flex; align-items: center; min-height: 44px; }
.sbx-after { scroll-margin-top: calc(var(--sbx-hd) + 16px); }
/* the links under the list take one short line on a wide screen (a pointer does not need a 44px target), so the list still
   fits a short laptop screen (1280 by 720, 900 by 700) with the longest sentence open */
@media (min-width: 900px) {
  .sbx-ld-on { gap: 0 14px; font-size: clamp(.78rem, min(.95vw, 1.75svh), .98rem); line-height: 1.5; }
  .sbx-ld-on a { min-height: 0; padding: 1px 0; }
}
@media (min-width: 900px) and (max-height: 780px) { .sbx-ld-on > span { display: none; } .sbx-ld-col { gap: clamp(6px, 1.2svh, 26px); } }
@media (min-width: 900px) and (max-height: 780px) { .sbx-ld-list a { padding: clamp(3px, .78svh, 12px) 0; } .sbx-ld-on { line-height: 1.35; } }

/* A part's source line (D124): small, under the part's text, in the page's quiet colour. */
.sbx .sbx-src { display: block; margin-top: .55em; font-family: var(--text); font-size: .8rem; line-height: 1.35; font-weight: 400; font-style: normal; letter-spacing: 0; text-transform: none; color: var(--sbx-soft); opacity: .8; }
