/* Sample BI2-themes, "From the Building to the Ideas" with the eight-themes ending (round 05; a copy of round-04 BI,
   only the ending replaced). Layouts sharing this file:
   the plain layout (no JavaScript, reduced motion, very tall windows): header, photo, the themes, the lab;
   html.pin: the first screen is a pinned stage where the photo becomes points and the points become eight themes;
   html.side / html.stack (set by bi.js): the themes as a map with a reading panel, or numbered discs and a list. */
:root {
  --red: #A32638;      /* Stevens Red */
  --ink: #363D45;      /* Dark Gray: text on white, and the ground of the stage */
  --rule: #E4E5E6;     /* Light Gray: hairlines; secondary text on the stage (8.72:1) */
  --white: #FFFFFF;
  --gray: #7F7F7F;     /* Stevens Gray: identifier only */

  --disp: 'Saira Condensed', 'Arial Narrow', Arial, sans-serif;
  --body: 'IBM Plex Sans', Arial, sans-serif;
  --ease: cubic-bezier(0.23, 1, 0.32, 1);
  --gut: 24px;
  --wrap: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: clip; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: auto; }
body {
  margin: 0; background: var(--white); color: var(--ink);
  font: 400 17px/1.65 var(--body); font-synthesis: none; -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; }
a { color: var(--red); }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }
.scene :focus-visible { outline-color: var(--white); }
.wrap { max-width: calc(var(--wrap) + 2 * var(--gut)); margin: 0 auto; padding-inline: var(--gut); }
.vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 50; background: var(--white); color: var(--ink); padding: 10px 14px; border: 2px solid var(--red); }
.skip:focus { top: 16px; }

/* ---------- header (white; on the stage it slides away as the scene starts) ---------- */
.site-head { position: relative; z-index: 6; background: var(--white); height: 120px; }
.head-row { display: flex; align-items: center; height: 120px; }
.mark { flex: none; display: block; }
.mark img { display: block; height: 50px; width: auto; }
.lab { margin-left: 34px; font: 600 24px/1 var(--disp); color: var(--ink); text-decoration: none; white-space: nowrap; }
.nav-wide { margin-left: auto; }
.nav-wide ul, .menu ul { list-style: none; margin: 0; padding: 0; }
.nav-wide ul { display: flex; gap: 26px; }
.nav-wide a { font: 500 15px/1 var(--body); color: var(--ink); text-decoration: none; white-space: nowrap; }
.menu { margin-left: auto; position: relative; }
.menu summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; min-height: 44px;
  font: 600 15px/1 var(--body); color: var(--ink); padding: 0 16px;
  border: 1px solid var(--ink); border-radius: 3px; background: var(--white);
}
.menu summary::-webkit-details-marker { display: none; }
.menu nav { position: absolute; right: 0; top: calc(100% + 8px); min-width: 260px; z-index: 10; background: var(--white); border: 1px solid var(--ink); padding: 8px 0; }
.menu nav a { display: block; padding: 11px 18px; font: 500 16px/1.3 var(--body); color: var(--ink); text-decoration: none; }
@media (hover: hover) and (pointer: fine) { .nav-wide a:hover, .menu nav a:hover { color: var(--red); text-decoration: underline; } }
@media (min-width: 1180px) { .menu { display: none; } }
@media (max-width: 1179px) { .nav-wide { display: none; } }
@media (max-width: 560px) { .lab { display: none; } }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; min-height: 52px; padding: 0 22px;
  background: var(--red); color: var(--white); border: 1px solid var(--red); border-radius: 3px;
  font: 600 16px/1.2 var(--body); text-decoration: none;
}
.btn-line { background: var(--white); color: var(--red); }
@media (hover: hover) and (pointer: fine) { .btn:hover { background: var(--ink); border-color: var(--ink); color: var(--white); } }

/* ---------- the scene: plain layout ---------- */
.scene { position: relative; background: var(--ink); color: var(--white); }
.hero { padding: 40px 0 56px; overflow: hidden; }
.plate { position: relative; margin: 0 auto; max-width: 1180px; width: calc(100% - 2 * var(--gut)); }
.photo { display: block; width: 100%; height: auto; }
.scan, .gl, .still-cloud, .still-map, .hero-note { display: none; }
.copy { max-width: calc(var(--wrap) + 2 * var(--gut)); margin: 32px auto 0; padding-inline: var(--gut); }
.copy .lab-m { display: none; margin: 0 0 6px; font: 700 30px/1.05 var(--disp); color: var(--white); }
.kicker { margin: 0 0 12px; font: 600 12px/1.4 var(--body); letter-spacing: .16em; text-transform: uppercase; color: var(--rule); }
.copy h1 { margin: 0 0 24px; max-width: 20em; font: 700 clamp(2rem, 3.4vw, 2.75rem)/1.08 var(--disp); color: var(--white); }
@media (max-width: 560px) { .copy .lab-m { display: block; } }
@media (max-width: 760px) {
  .kicker { display: none; }
  .copy h1 { font-size: 26px; line-height: 1.12; margin-bottom: 18px; }
  .copy .btn { display: flex; width: 100%; justify-content: center; }
}

/* ---------- the themes: plain layout (no JavaScript) and the JS stack layout ---------- */
.mapsec { padding: 24px 0 56px; }
.map-h { margin: 0 auto 8px; max-width: calc(var(--wrap) + 2 * var(--gut)); padding-inline: var(--gut);
  font: 600 clamp(1.6rem, 2.6vw, 2.1rem)/1.12 var(--disp); color: var(--white); }
.board { position: relative; width: calc(100% - 2 * var(--gut)); max-width: var(--wrap); margin: 0 auto; }
.tmap { position: relative; width: 100%; max-width: 760px; margin: 18px auto 14px; aspect-ratio: var(--tar); }
.tsvg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.tsvg .rings circle { fill: none; stroke: var(--rule); stroke-width: 1; vector-effect: non-scaling-stroke; }
.tsvg .pdots circle { fill: var(--rule); }
.tsvg text { fill: var(--white); font: 700 46px var(--disp); text-anchor: middle; }
.still-map, .tnum, .mlab, .ring, .stage-hint, .t-index, .t-more, .td-close { display: none; }
.tlist { max-width: 760px; margin: 0 auto; }
.t-intro { margin: 0 0 14px; max-width: 36em; font: 400 16px/1.5 var(--body); color: var(--white); }
.th { margin: 0; font: inherit; }
.tb { display: grid; grid-template-columns: 2.2em 1fr auto; align-items: baseline; gap: 2px 12px; width: 100%; padding: 14px 0;
  text-align: left; background: none; border: 0; border-top: 1px solid var(--rule); border-radius: 0; color: var(--white); font: inherit; cursor: pointer; }
.tb-n { font: 700 22px/1 var(--disp); font-variant-numeric: tabular-nums; }
.tb-name { font: 600 21px/1.15 var(--disp); }
.tb-c { font: 500 14px/1.3 var(--body); color: var(--rule); white-space: nowrap; }
.js .tb { grid-template-columns: 2.2em 1fr auto 1.2em; }
.js .tb::after { content: "+"; justify-self: end; font: 400 22px/1 var(--body); color: var(--white); }
.js .tb[aria-expanded="true"]::after { content: "\2212"; }
@media (hover: hover) and (pointer: fine) { .tb:hover .tb-name { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; } }
.tdet { padding: 2px 0 22px calc(2.2 * 22px + 12px); }
.td-h, .td-top { display: none; }
.td-people { list-style: none; margin: 0; padding: 0; }
.td-p + .td-p { margin-top: 14px; }
.td-name { margin: 0 0 3px; font: 400 13px/1.4 var(--body); color: var(--rule); }
.td-name .nm { font: 600 15px/1.4 var(--body); color: var(--white); margin-right: 4px; }
.td-srcs a { color: var(--rule); text-underline-offset: 2px; }
.td-srcs a:hover { color: var(--white); }
.td-ph { margin: 0; font: 400 16px/1.5 var(--body); color: var(--white); }
.td-ph .sep { color: var(--rule); padding: 0 2px; }
.td-ph .q.hot { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.js .tdet:not(.open) { display: none; }
.tdet.measure { display: block !important; position: absolute !important; left: 0 !important; top: 0 !important; height: auto !important;
  max-height: none !important; overflow: visible !important; visibility: hidden; }
@media (max-width: 560px) {
  .tb { grid-template-columns: 1.7em 1fr; padding: 13px 0; }
  .js .tb { grid-template-columns: 1.7em 1fr 1em; }
  .tb .tb-c { grid-column: 2; grid-row: 2; }   /* the count under the name (also without JavaScript; fix round 2: the longer count squeezed the name) */
  .js .tb::after { grid-column: 3; grid-row: 1; }
  .tb-name { font-size: 19px; }
  .tdet { padding-left: calc(1.7 * 22px + 12px); }
}
.method { max-width: calc(var(--wrap) + 2 * var(--gut)); margin: 14px auto 0; padding-inline: var(--gut);
  font: 400 13px/1.45 var(--body); color: var(--rule); }

/* the opened theme's phrase a reader points at, ringed on the map; the stack layout's number badges */
.ring.on { display: block; position: absolute; z-index: 2; border: 1.5px solid var(--white); border-radius: 50%; pointer-events: none; }
html.pointing .stage, html.pointing .board { cursor: pointer; }
html.still-js .tsvg, html.pin .tsvg { display: none; }
html.stack .tmap { aspect-ratio: auto; height: var(--tm-h, auto); }
/* numerals beside their discs (phones; the side layout's numbered fallback); names on the map (tablets; on phones the
   opened theme's). Positions from bi.js, which keeps every one of them nearer its own disc than any other. */
html.stack.nums .tnum, html.side.numbered .tnum { display: block; position: absolute; z-index: 1; padding: 0 2px;
  font: 700 18px/22px var(--disp); color: var(--white); font-variant-numeric: tabular-nums; }
html.stack.nums .tnum.solo-k { display: none; }
html.stack.nums .tnum.sel { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 3px; }
html.stack.labs .mlab, html.stack.nums .mlab.solo { display: block; position: absolute; z-index: 1; color: var(--white); }
.mlab.meas { display: block !important; visibility: hidden; position: absolute; }
.mlab.al-r { text-align: right; }
.mlab.al-c { text-align: center; }
.ml-name { display: block; font: 600 var(--mlf, 16px)/1.1 var(--disp); }
.ml-n { font-weight: 700; margin-right: 2px; }
.ml-c { display: block; margin-top: 2px; font: 500 13px/1.3 var(--body); color: var(--rule); white-space: nowrap; }
html.side.numbered .tb-n { display: inline; margin-right: 5px; font: 700 var(--lbf, 18px)/1.1 var(--disp); }
html.side.numbered .tb-name { display: inline; }

/* the side layout: the map with its labels on the left, a reading panel on the right (positions from bi.js) */
html.side .board { max-width: none; }
html.still-js.side .board { margin-top: 22px; }
html.side .tmap { position: absolute; margin: 0; max-width: none; aspect-ratio: auto; left: var(--tmx); top: var(--tmy); width: var(--tmw); height: var(--tmh); }
html.side .tlist { max-width: none; margin: 0; }
html.side .tb { position: absolute; z-index: 3; display: block; width: max-content; max-width: var(--lbw, 210px); padding: 0; border: 0; text-align: left; }
html.side .tb.al-r { text-align: right; }
html.side .tb.al-c { text-align: center; }
html.side .tb::after, html.side .tb-n { display: none; content: none; }
html.side .tb-name { display: block; font-size: var(--lbf, 18px); line-height: 1.1; }
/* the map labels carry the name only; the count is in the index beside the map and in the open panel (fix round 2:
   name and count twice was busier than it needs to be). The count stays in the button's accessible name. */
html.side .tb-c { position: absolute; width: 1px; height: 1px; margin: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
html.side .tb.hover .tb-name { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
html.side .tb[aria-expanded="true"] .tb-name { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }
html.side .t-rest, html.side .tdet { position: absolute; left: var(--pnx); top: var(--pny); width: var(--pnw); height: var(--pnh); margin: 0;
  padding: 2px 0 0 28px; border-left: 1px solid var(--rule); }
html.side .t-rest { height: auto; border-left-color: transparent; }
html.side .tdet { overflow-y: auto; }
html.side .t-intro { font-size: 17px; max-width: none; margin-bottom: 18px; }
html.side.has-open .t-rest { display: none; }
/* the eight themes as a quiet index while none is open: a second way in (pointer; the labels are the keyboard route) */
html.side .t-index { display: block; list-style: none; margin: 0; padding: 0; max-width: 34em; }
html.side .t-index li { display: grid; grid-template-columns: 1fr; gap: 1px 10px; padding: 8px 0;
  border-top: 1px solid var(--rule); cursor: pointer; }
html.side .t-index li:last-child { border-bottom: 1px solid var(--rule); }
.ti-n { display: none; }
html.side.numbered .t-index li { grid-template-columns: 1.4em 1fr; }
html.side.numbered .ti-n { display: block; grid-row: 1 / span 2; font: 700 17px/1.2 var(--disp); }
html.side .ti-name, html.side .ti-c { grid-column: -2 / -1; }
.ti-name { font: 600 17px/1.2 var(--disp); color: var(--white); }
.ti-c { font: 500 13px/1.35 var(--body); color: var(--rule); }
html.side .t-index li.hover .ti-name { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
/* the open theme: its count line carries the way back to the index */
html.side .td-top { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin: 0 0 16px; }
html.side .td-close { display: inline; flex: none; margin: 0; padding: 4px 0; background: none; border: 0; color: var(--white);
  font: 500 14px/1.4 var(--body); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; cursor: pointer; }
/* where the longest theme still does not fit, the panel says so at its foot until it is scrolled to the end */
html.side .t-more.on { display: block; position: absolute; z-index: 2; left: calc(var(--pnx) + 1px); top: calc(var(--pny) + var(--pnh) - 26px);
  width: calc(var(--pnw) - 1px); height: 26px; margin: 0; padding: 4px 0 0 27px; background: var(--ink);
  font: 500 13px/1.4 var(--body); color: var(--rule); border-top: 1px solid var(--rule); pointer-events: none; }
html.side .td-h { display: block; margin: 0 0 4px; padding-right: 8px; font: 600 24px/1.1 var(--disp); color: var(--white); }
html.side .td-c { display: block; margin: 0; font: 500 14px/1.4 var(--body); color: var(--rule); }
html.side .td-ph { font-size: 15.5px; line-height: 1.48; }
/* short windows: a tighter panel, so the longest theme still fits without scrolling where it can */
html.side.tight .td-h { font-size: 22px; }
html.side.tight .td-top { margin-bottom: 12px; }
html.side.tight .td-p + .td-p { margin-top: 10px; }
html.side.tight .td-ph { font-size: 14.5px; line-height: 1.42; }
html.side.tight .td-name .nm { font-size: 14px; }

/* ---------- the lab (white sections) ---------- */
.sec { padding-block: 82px; scroll-margin-top: 16px; }
.sec h2 { margin: 0 0 28px; font: 600 clamp(1.8rem, 3.4vw, 2.5rem)/1.15 var(--disp); color: var(--ink); }
.sec + .sec { border-top: 1px solid var(--rule); }
.mission { max-width: 62ch; margin: 0 0 40px; font-size: 1.2rem; line-height: 1.55; }
.offers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.offer { border-top: 3px solid var(--red); padding-top: 18px; display: flex; flex-direction: column; }
.offer h3 { margin: 0 0 10px; font: 600 1.6rem/1.15 var(--disp); }
.aud { margin: 0; font: 600 .78rem/1.4 var(--body); letter-spacing: .06em; text-transform: uppercase; color: var(--red); }
.ex { margin: 10px 0 16px; max-width: 60ch; }
.mail { margin-top: auto; font-weight: 600; text-underline-offset: 3px; }

.ev-list { list-style: none; margin: 0; padding: 0; }
.ev-list li { display: grid; grid-template-columns: 150px 180px 1fr; gap: 6px 24px; padding: 14px 0; border-top: 1px solid var(--rule); }
.ev-d { font: 600 1.05rem/1.5 var(--disp); font-variant-numeric: tabular-nums; }
.ev-k { font: 400 15px/1.6 var(--body); }
.ev-t { font: 500 17px/1.5 var(--body); color: var(--ink); }
a.ev-t { color: var(--red); }
.res-h { margin: 44px 0 12px; font: 600 1.4rem/1.15 var(--disp); }

.plist { list-style: none; margin: 0; padding: 0; }
.person { display: grid; grid-template-columns: 64px minmax(200px, 300px) 1fr; gap: 8px 24px; padding: 22px 0; border-top: 1px solid var(--rule); scroll-margin-top: 16px; }
.person img { width: 64px; height: 64px; object-fit: cover; display: block; }
.pname { font: 600 1.24rem/1.2 var(--body); color: var(--ink); text-decoration: none; }
.pname:hover { color: var(--red); text-decoration: underline; }
.role { margin: 4px 0 0; font-size: 16px; line-height: 1.5; }
.words ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 22px; }
.words li { font-size: 16px; line-height: 1.5; }
.words li.hot { color: var(--red); }
.src { margin: 8px 0 0; font-size: 14px; line-height: 1.5; }

.contact-text { max-width: 65ch; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 32px; }
.card { border: 1px solid var(--rule); border-radius: 6px; padding: 24px; }
.card img { display: block; width: 120px; height: 120px; object-fit: cover; margin-bottom: 14px; }
.card h3 { margin: 0; font: 600 1.24rem/1.2 var(--body); }
.card p { margin: 4px 0 16px; }
.card .label { margin: 0 0 8px; font: 600 .72rem/1.4 var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--red); }
.card address { font-style: normal; }

.site-foot { border-top: 1px solid var(--rule); padding-block: 40px; }
.foot-row { display: flex; align-items: center; gap: 34px; flex-wrap: wrap; }
.foot-row img { height: 50px; width: auto; }
.foot-row p { margin: 0; font-size: 15px; line-height: 1.5; }
.motion-switch { margin-left: auto; min-height: 44px; padding: 0 16px; font: 600 15px/1 var(--body); color: var(--ink); background: var(--white); border: 1px solid var(--ink); border-radius: 3px; cursor: pointer; }

@media (max-width: 900px) {
  .offers, .cards { grid-template-columns: 1fr; }
  .ev-list li { grid-template-columns: 1fr; gap: 0; }
  .person { grid-template-columns: 64px 1fr; }
  .person .words { grid-column: 1 / -1; }
  .sec { padding-block: 56px; }
}

/* ---------- JavaScript on, plain layout: computed stills ---------- */
html.has-still .still-map { display: block; position: absolute; inset: 0; width: 100%; height: 100%; }
html.has-still .still-cloud { display: block; position: absolute; inset: -6% -4%; width: 108%; height: 112%; }
/* the computed still on the first screen carries its own one-line note (the full note sits under the themes) */
html.has-still .hero-note { display: block; position: relative; max-width: 1180px; width: calc(100% - 2 * var(--gut));
  margin: calc(min(100vw - 2 * var(--gut), 1180px) * 0.025 + 10px) auto 0; font: 400 13px/1.45 var(--body); color: var(--rule); }
html.has-still .hero .copy { margin-top: 22px; }
@media (min-width: 1280px) {   /* wide windows: the note sits right of the headline, level with the button, so the first screen keeps the button */
  html.has-still .hero { position: relative; }
  html.has-still .hero-note { position: absolute; margin: 0; width: 340px; right: max(var(--gut), calc((100% - 1180px) / 2)); bottom: 60px; }
  html.has-still .hero .copy { margin-top: 32px; }
}

/* ---------- html.pin: the pinned stage ---------- */
html.pin .scene { height: var(--scene-h, 300vh); }
html.pin .stage { position: sticky; top: 0; height: var(--stage-h, 100vh); overflow: hidden; }
html.pin .site-head { position: absolute; top: 0; left: 0; right: 0; z-index: 0; transform: translateY(var(--head-y, 0px)); }
html.pin .hero { position: absolute; inset: 0; padding: 0; z-index: 2; pointer-events: none; overflow: visible; }
html.pin .hero a, html.pin .hero button { pointer-events: auto; }
html.pin .plate { position: absolute; margin: 0; max-width: none; left: var(--px); top: var(--py); width: var(--pw); height: var(--ph); }
html.pin .photo { width: 100%; height: 100%; clip-path: inset(0 0 0 var(--wipe, 0%)); }
html.pin.scanning .scan { display: block; position: absolute; top: -10px; bottom: -10px; left: var(--wipe, 0%); width: 2px; margin-left: -1px; background: var(--white); }
html.pin .copy { position: absolute; margin: 0; padding: 0; left: var(--cx); top: var(--ct); width: var(--cw);
  transform: translateY(var(--copy-y, 0px)); clip-path: inset(0 0 var(--copy-clip, 0%) 0); }
html.pin .gl { display: block; position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; pointer-events: none; }
html.pin .mapsec { position: absolute; inset: 0; padding: 0; z-index: 3; pointer-events: none; }
html.pin .board { position: absolute; inset: 0; width: auto; max-width: none; margin: 0; }
html.pin .tmap { position: absolute; margin: 0; max-width: none; aspect-ratio: auto; left: var(--tmx); top: var(--tmy); width: var(--tmw); height: var(--tmh); }
html.pin .map-h { position: absolute; margin: 0; padding: 0; max-width: none; left: var(--hx); top: var(--hy); width: var(--hw);
  font-size: var(--hf); clip-path: inset(0 100% 0 0); transition: clip-path 700ms var(--ease); }
html.pin .map-h.on { clip-path: inset(0 0 0 0); }
html.pin .method { position: absolute; z-index: 1; margin: 0; max-width: none; left: var(--nx); top: var(--ny); width: var(--nw); font-size: var(--nf, 13px);
  padding: var(--npt, 0px) var(--npr, 0px) var(--npb, 0px) var(--npl, 0px); background: var(--ink); contain: paint; }
/* contain: paint: Chrome's software compositor (no GPU) treated the note's opaque ground as covering a strip at the
   top of the stage and left the points there unpainted (theme 5's disc was cut flat at 768 x 1024) */
/* side: the note moves from the first screen's corner to under the heading once the copy has gone; the scroll wipes
   it out (P 0.08 to 0.11) and in again (P 0.11 to 0.14), like the copy (bi.js sets --note-clip) */
html.pin.side .method { clip-path: inset(0 var(--note-clip, 0%) 0 0); background: none; }   /* covers nothing here; a ground left a stale strip in Chrome's software raster */
html.pin.side.note-b .method { left: var(--nbx); top: var(--nby); width: var(--nbw); font-size: var(--nbf); padding: 0; }
/* side: each label wipes in as its theme's disc lands; the panel's first line comes with the heading */
html.pin.side .tb { clip-path: inset(0 100% 0 0); transition: clip-path 560ms var(--ease); }
html.pin.side .tb.al-r { clip-path: inset(0 0 0 100%); }
html.pin.side .tb.al-c { clip-path: inset(0 50% 0 50%); }
html.pin.side .tb.on { clip-path: inset(-8px); }
html.pin.side .t-rest { clip-path: inset(0 0 100% 0); transition: clip-path 600ms var(--ease); }
html.pin.side.intro-on .t-rest { clip-path: inset(-8px); }
/* (not while bi.js measures the panels: the layout must not depend on where the scroll was when it ran; fix round 2) */
html.pin.side:not(.settled) .tdet:not(.measure), html.pin.side:not(.settled) .t-more { display: none !important; }
html.pin.settled .tb, html.pin.settled .tdet, html.pin.settled .t-rest { pointer-events: auto; }
/* stack: numbered discs on the stage, a hint over the note, the list after the scene */
html.pin .tnum { transform: scale(0); transition: transform 420ms var(--ease); }
html.pin .tnum.on { transform: scale(1); }
html.pin.stack .mlab { clip-path: inset(0 100% 0 0); transition: clip-path 560ms var(--ease); }
html.pin.stack .mlab.al-r { clip-path: inset(0 0 0 100%); }
html.pin.stack .mlab.al-c { clip-path: inset(0 50% 0 50%); }
html.pin.stack .mlab.on { clip-path: inset(-8px); }
html.pin.stack .stage-hint { display: block; position: absolute; left: var(--kx); bottom: var(--kb); width: var(--kw); margin: 0;
  font: 400 14px/1.4 var(--body); color: var(--white); clip-path: inset(0 0 100% 0); transition: clip-path 500ms var(--ease); }
html.pin.stack.settled .stage-hint { clip-path: inset(0 0 0 0); }
/* phones: the band note keeps to the first screen (wiped out as the heading comes in); the themes note follows the
   list after the scene, and the key under the map names each numbered disc (fix round 2) */
html.pin.stack.phone-note .method { clip-path: inset(0 var(--note-clip, 0%) 0 0); }
.t-key { display: none; }
html.pin.stack.keyed .t-key { display: block; position: absolute; left: var(--qx); top: var(--qy); width: var(--qw); margin: 0; padding: 0; list-style: none; }
html.pin.stack.keyed .t-key li { display: grid; grid-template-columns: 1.45em 1fr; align-items: baseline; padding: 1px 0; color: var(--white);
  font: 600 14px/1.2 var(--disp);
  clip-path: inset(0 100% 0 0); transition: clip-path 560ms var(--ease); }
html.pin.stack.keyed .t-key li.on { clip-path: inset(-4px); }
html.pin.settled .t-key li { pointer-events: auto; cursor: pointer; }
.tk-n { font: 700 14px/1.2 var(--disp); font-variant-numeric: tabular-nums; }
.tk-name { font: 600 14px/1.2 var(--disp); }
.tk-c { font: 500 12px/1.3 var(--body); color: var(--rule); white-space: nowrap; }
html.pin .t-key li.sel .tk-name { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 3px; }
.method-slot { width: calc(100% - 2 * var(--gut)); max-width: 760px; margin: 22px auto 0; font: 400 13px/1.45 var(--body); color: var(--rule); }
.tlist-slot:empty { display: none; }
.tlist-slot { background: var(--ink); color: var(--white); padding: 20px 0 56px; }
.tlist-slot .tlist { width: calc(100% - 2 * var(--gut)); }
.tlist-slot :focus-visible { outline-color: var(--white); }

/* motion off or reduced: nothing animates (the pinned layout is never used then; this is the backstop) */
@media (prefers-reduced-motion: reduce) {
  html:not(.force-motion) *, html:not(.force-motion) *::before, html:not(.force-motion) *::after {
    transition: none !important; animation: none !important; scroll-behavior: auto !important;
  }
}
html[data-motion="still"] * { transition: none !important; }
