:root {
  --stage: #eeeeee;
  --black: #171717;
  --muted: #555555;
  --rule: #c9c9c9;
  --gutter: clamp(20px, 4.4vw, 72px);
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  --sans: "Helvetica Neue", Arial, sans-serif;
  font-family: var(--sans);
  scroll-behavior: smooth;
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; color: var(--black); background: var(--stage); }
.lobby { --stage: #efedef; --muted: #575457; --rule: #ccc8cc; }
body:has(dialog[open]) { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
.poster-window img { filter: grayscale(1); }
h1, h2, h3, h4, p, figure, dl, dd { margin: 0; }
button, select { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid #777; outline-offset: 5px; }
::selection { color: #fff; background: #3e3e3e; }
:where(.lobby) :where(:not(.stage-blackout *)):focus-visible { outline-color: #6c966f; }
:where(.lobby) :where(:not(.stage-blackout *))::selection { background: #294631; }
.skip-link { position: fixed; top: -100px; left: 16px; padding: 12px; z-index: 99; color: #111; background: #fff; }
.skip-link:focus { top: 12px; }
.eyebrow, .edition, .scene-label, .note-id, .end-credits, .case-meta dt, .case-pagination small, .spread figcaption {
  font: 10px/1.4 var(--mono); text-transform: uppercase; letter-spacing: .10em;
}
.topbar, .case-top {
  position: fixed; inset: 0 0 auto; height: 60px; z-index: 15;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  padding-inline: var(--gutter);
}
.topbar { background: color-mix(in srgb, var(--stage) 90%, transparent); backdrop-filter: blur(12px); }
.wordmark { font-size: 15px; letter-spacing: -.06em; font-weight: 850; white-space: nowrap; width: fit-content; }
.wordmark span { margin-left: 7px; font: 9px var(--mono); color: var(--muted); letter-spacing: .05em; }
.topbar nav { display: flex; gap: clamp(16px, 3vw, 44px); font-size: 12px; font-weight: 600; }
.topbar nav a:hover, .end-credits a:hover { text-decoration: underline; text-underline-offset: 4px; }
.topbar sup { font: 8px var(--mono); margin-left: 2px; }
.edition { justify-self: end; color: var(--muted); }
.box-stage {
  position: relative; min-height: max(660px, 100svh); overflow: clip;
  background: radial-gradient(ellipse at 50% 48%, #f9f8f7 0%, #f1eff0 52%, #eae7e9 100%);
  isolation: isolate;
}
.project-backdrop {
  position: absolute; z-index: 0; inset: clamp(92px, 13svh, 132px) max(24px, 4.5vw) 94px;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: clamp(24px, 4.8vw, 72px) clamp(20px, 3.8vw, 58px); max-width: 1280px; margin-inline: auto;
  pointer-events: none; opacity: .18;
}
.backdrop-rail {
  position: absolute; z-index: -1; left: -2vw; right: -2vw; height: 4px; border-radius: 999px;
  background: linear-gradient(180deg, #f9fafa 0 12%, #92999a 20%, #323738 52%, #15191a 72%, #83898a 92%);
  box-shadow: 0 1px 0 #fff9, 0 3px 6px #17191a3b, inset 0 0 0 1px #12151585;
}
.backdrop-rail::before,.backdrop-rail::after {
  position: absolute; content: ""; top: 50%; width: 15px; height: 15px; border-radius: 50%; transform: translateY(-50%);
  background: radial-gradient(circle at 43% 38%, #e9eeee 0 7%, #7b8283 9% 25%, #24292a 28% 45%, #0c0f10 48% 60%, #5c6263 63% 70%, #171a1b 73%);
  border: 1px solid #161a1b; box-shadow: 0 2px 4px #1117, inset 1px 1px 1px #fff6;
}
.backdrop-rail::before { left: 1.2vw; }
.backdrop-rail::after { right: 1.2vw; }
.backdrop-rail--top { top: 2%; }
.backdrop-rail--middle { display: none; }
.backdrop-rail--bottom { top: 57.5%; }
.backdrop-card {
  --card-tilt: 0deg; --card-shift-x: 0px; --card-shift-y: 1svh; --clip-x: 50%;
  position: relative; align-self: start; width: 100%; margin: 0; padding: clamp(5px, .55vw, 9px) clamp(5px, .55vw, 9px) clamp(14px, 1.65vw, 25px);
  background: linear-gradient(145deg, #f4f3f2a8, #d8d7d6a3 45%, #f4f3f2b3); border: 1px solid #77727421;
  box-shadow: 0 9px 20px #29252626, 0 1px 1px #fff9 inset, 0 -1px 0 #8581821a inset;
  transform: translate(var(--card-shift-x), var(--card-shift-y)) rotate(var(--card-tilt));
}
.backdrop-card::before {
  display: none;
}
.backdrop-card::after {
  position: absolute; z-index: 3; content: ""; top: -9px; left: var(--clip-x); width: clamp(30px, 3.2vw, 48px); height: clamp(18px, 1.8vw, 27px);
  transform: translateX(-50%); clip-path: polygon(10% 0,90% 0,100% 24%,92% 100%,8% 100%,0 24%);
  background:
    radial-gradient(circle at 18% 68%, #d3d9d8 0 3%, #222829 5% 9%, transparent 11%),
    radial-gradient(circle at 82% 68%, #d3d9d8 0 3%, #222829 5% 9%, transparent 11%),
    linear-gradient(90deg, #171b1c 0 9%, #6d7475 13%, #2f3536 28%, #9da3a3 48%, #303536 68%, #6c7374 87%, #121617 94%);
  border: 1px solid #121617; border-bottom-color: #070909; border-radius: 3px 3px 6px 6px;
  box-shadow: inset 0 2px 1px #f2f5f55e, inset 0 -5px 5px #080a0a87, 0 3px 5px #1118, 0 0 0 1px #ffffff24;
}
.backdrop-card img {
  width: 100%; height: 100%; max-height: 20svh; min-height: 112px; object-fit: cover; border: 1px solid #fff9;
  filter: grayscale(1) contrast(.82) saturate(.2); box-shadow: inset 0 0 0 1px #2222;
}
.backdrop-card figcaption {
  position: absolute; inset: auto clamp(8px, .8vw, 13px) clamp(4px, .55vw, 8px);
  display: flex; align-items: baseline; justify-content: space-between; gap: 8px; color: #373335;
  font: 600 clamp(6px, .56vw, 9px)/1 var(--mono); letter-spacing: .08em; opacity: .72;
}
.backdrop-card figcaption b { font-size: 1.18em; }
.backdrop-card--01 { --card-tilt: -2.2deg; --card-shift-x: -2.4vw; }
.backdrop-card--02 { --card-tilt: 1.1deg; --card-shift-x: -13vw; }
.backdrop-card--03 { --card-tilt: 2.4deg; --card-shift-x: 2.5vw; }
.backdrop-card--04 { --card-tilt: 1.8deg; --card-shift-x: -3.2vw; }
.backdrop-card--05 { --card-tilt: -1.5deg; --card-shift-x: 13vw; }
.backdrop-card--06 { --card-tilt: -2.3deg; --card-shift-x: 3vw; }
.show-bill {
  position: absolute; z-index: 1; top: max(83px, 12%); inset-inline: var(--gutter);
  text-align: center; transition: opacity .32s, transform .4s;
}
.show-bill .eyebrow { color: var(--muted); letter-spacing: .22em; }
.show-bill h1 { font-size: clamp(54px, min(9.1vw, 14svh), 142px); line-height: .9; letter-spacing: -.060em; margin: 12px 0 16px; }
.show-bill h1 span { color: #52775a; }
.show-bill > p:last-child { color: var(--muted); font-size: clamp(13px, 1.23vw, 17px); }
.machine {
  position: absolute; z-index: 2; top: 40%; left: 50%;
  width: min(81vw, max(350px, 59svh), 558px); aspect-ratio: 8 / 5;
  transform: translateX(-50%); transform-origin: center top; container-type: inline-size;
  transition: transform .42s cubic-bezier(.2,.8,.2,1);
}
.box-office:not([data-state="ready"]) .show-bill { opacity: .12; transform: translateY(-18px); }
.box-office:not([data-state="ready"]) .machine { transform: translate(-50%, -30%) scale(1.08); }
.machine img { position: relative; width: 100%; height: auto; }
.machine-shadow { position: absolute; inset: 80% 8% 7%; border-radius: 50%; background: #131011; opacity: .22; filter: blur(15px); transform: scaleY(.48); }
.machine-status {
  position: absolute; top: 42.2%; left: 58%; width: 15%;
  font: 600 1.55cqw var(--mono); letter-spacing: .13em; color: #c0dfc0; text-shadow: 0 0 6px #a3ffa1a0;
}
.machine-switch {
  position: absolute; z-index: 2; top: 75.6%; left: 80%; width: max(9cqw, 44px); height: max(7cqw, 44px);
  display: grid; place-items: center; transform: translate(-50%,-50%); border-radius: 5px;
  background: transparent; border: 0; padding: 0;
}
.machine-switch::before { content: ""; width: 83%; height: 60%; border-radius: 4px; border: 1px solid #d3ead8aa; box-shadow: 0 0 14px #b1ffbb6b, inset 0 0 8px #d3ead866; }
.machine-switch:hover::before, .machine-switch:focus-visible::before { background: #d4e4d58c; }
.machine-switch:active::before { transform: scale(.9); box-shadow: inset 0 2px 6px #141515; }
.machine-switch span {
  position: absolute; top: 50%; left: calc(100% + 5px); transform: translateY(-50%); white-space: nowrap;
  padding: 6px 8px; border-radius: 2px; background: #e9e8e7; color: #181818;
  font: 700 10px var(--mono); letter-spacing: .06em;
}
.machine-switch span::before { content: "← "; }
.machine-switch[aria-disabled="true"] { pointer-events: none; }
.machine-switch[aria-disabled="true"]::before, .machine-switch[aria-disabled="true"] span { opacity: 0; }
.paper-mouth { position: absolute; left: 23.4%; top: 56.33%; width: 53.2%; height: 73cqw; overflow: clip; }
.admission { transform: translateY(-101%); color: #211e1b; filter: drop-shadow(0 3px 5px #17140f30); font: 1.6cqw/1.3 var(--mono); }
.ticket-body, .ticket-stub {
  background: linear-gradient(102deg, #e8e1d3, #f6f0e3 36%, #eee7d8 86%, #e5ded0);
  padding: 2.5cqw 3cqw;
}
.ticket-body { box-shadow: inset 0 7px 9px -5px #3830256e; }
.box-office[data-state="printing"] .admission { animation: ticket-feed 780ms 160ms steps(34,end) both; }
.box-office:is([data-state="issued"],[data-state="tearing"]) .admission { transform: none; }
@keyframes ticket-feed { to { transform: translateY(0); } }
.stub-line { display: flex; justify-content: space-between; gap: 1cqw; padding-bottom: 1.6cqw; border-bottom: 1px solid #393633; }
.ticket-body strong { display: block; font: 800 6.6cqw/1.03 var(--sans); letter-spacing: -.058em; padding: 2.9cqw 0 2.4cqw; }
.stub-acts { display: grid; padding: 0; margin: 0; list-style: none; }
.stub-acts li { display: grid; grid-template-columns: 3.5cqw 1fr auto; align-items: center; gap: 1cqw; border-top: 1px solid #a6a094; padding: 1.9cqw 0; }
.ticket-body > p { padding-top: 2cqw; font-size: 1.35cqw; color: #4d4741; border-top: 1px solid #a6a094; }
.ticket-stub {
  display: flex; align-items: center; justify-content: space-between; gap: 1.5cqw; width: 100%; min-height: 44px;
  border: 0; border-top: 1px dashed #4f4940; text-align: right; color: #1f1d1a;
  padding-top: 2.2cqw; padding-bottom: 2.5cqw;
  clip-path: polygon(0 0,100% 0,100% 98%,95% 100%,90% 98%,85% 100%,80% 98%,75% 100%,70% 98%,65% 100%,60% 98%,55% 100%,50% 98%,45% 100%,40% 98%,35% 100%,30% 98%,25% 100%,20% 98%,15% 100%,10% 98%,5% 100%,0 98%);
}
.ticket-stub:hover:not(:disabled) { background: #fff8e8; }
.ticket-stub:focus-visible { outline-offset: -4px; }
.ticket-stub:disabled { cursor: default; }
.ticket-stub b, .ticket-stub small { display: block; }
.ticket-stub b { font: 800 2.6cqw var(--mono); }
.ticket-stub small { font: max(9px, 1.4cqw) var(--mono); margin-top: 4px; }
.barcode { width: 13cqw; height: 5cqw; background: repeating-linear-gradient(90deg,#252321 0 1px,transparent 1px 2px,#252321 2px 3px,transparent 3px 5px,#252321 5px 7px,transparent 7px 8px,#252321 8px 11px,transparent 11px 13px); }
.box-office[data-state="tearing"] .ticket-stub { animation: tear-stub 360ms ease-in both; pointer-events: none; transform-origin: top left; }
@keyframes tear-stub {
  25% { transform: translate(1%, 4%) rotate(4deg); }
  100% { opacity: 0; transform: translate(9%, 170%) rotate(12deg); }
}
.box-controls {
  position: absolute; z-index: 4; bottom: 28px; inset-inline: var(--gutter);
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 18px;
}
.box-caption, .programme-shortcut { color: var(--muted); }
.programme-shortcut { justify-self: end; font: 11px var(--mono); text-underline-offset: 4px; }
.programme-shortcut:hover { text-decoration: underline; }
.admit-cue {
  display: flex; align-items: center; gap: 24px; justify-content: space-between; min-height: 48px;
  border-radius: 2px; padding: 10px 16px; background: #1b1a1b; color: white; border: 1px solid #1b1a1b;
  font: 700 12px/1.4 var(--mono); text-transform: uppercase; letter-spacing: .07em; transition: background .16s, color .16s;
}
.admit-cue:hover { background: #fff; color: #191919; }
.admit-cue span:last-child { font-size: 17px; line-height: 1; }
.house-curtain { position: fixed; z-index: 35; inset: 0; pointer-events: none; }
.house-curtain::before, .house-curtain::after {
  content: ""; position: absolute; inset: 0 auto 0 0; width: 50.1%;
  background: repeating-linear-gradient(90deg,#101011 0%,#181819 4%,#101011 8%);
  transform: translateX(-101%); transition: transform var(--curtain-duration, 540ms) cubic-bezier(.5,.05,.35,.98);
}
.house-curtain::after { left: auto; right: 0; transform: translateX(101%); }
.house-curtain[data-curtain="closed"]::before, .house-curtain[data-curtain="closed"]::after { transform: none; }

.noticeboard, .programme { padding: 28px var(--gutter) clamp(70px, 8vw, 116px); scroll-margin-top: 60px; }
.noticeboard { background: #e9e6e9; overflow: clip; }
.scene-label { display: flex; justify-content: space-between; gap: 14px; padding-bottom: 14px; border-bottom: 1px solid var(--rule); color: var(--muted); }
.board-grid {
  width: min(94%, 950px); margin: clamp(30px, 4.6vw, 64px) auto 0; display: grid;
  grid-template-columns: minmax(0,.68fr) minmax(0,1.64fr) minmax(0,.68fr);
  grid-template-areas: "method about toolkit" "study about works";
  gap: clamp(16px, 2vw, 28px); align-items: stretch;
  transition: transform .42s cubic-bezier(.18,.72,.24,1);
}
.board-grid.profile-in-focus { transform: translateY(7px) scale(1.037); }
.note {
  --tilt: 0deg; position: relative; min-width: 0; display: flex; flex-direction: column;
  padding: clamp(13px, 1.4vw, 20px); background: #f8f6f6; box-shadow: 4px 5px #120b1019;
  transform: rotate(var(--tilt)); transition: transform .24s, box-shadow .24s;
}
.note:hover, .note:focus-within { transform: rotate(0) translateY(-4px); box-shadow: 6px 9px #120b101a; z-index: 2; }
.note::before {
  position: absolute; content: ""; left: 50%; top: -8px; width: clamp(43px, 6vw, 75px); height: 16px;
  transform: translateX(-50%) rotate(-4deg); background: repeating-linear-gradient(90deg,#1f1e20,#272628 3px,#1f1e20 5px);
  clip-path: polygon(0 0,100% 3%,98% 32%,100% 63%,98% 100%,0 97%,2% 63%,0 37%);
}
.note-id { display: block; color: #59545a; margin-bottom: 16px; }
.note h2, .note h3 { font-weight: 780; line-height: .99; letter-spacing: -.054em; }
.note h3 { font-size: clamp(19px, 1.95vw, 28px); }
.note p { max-width: 32ch; margin: 12px 0 15px; font-size: clamp(12px, 1.05vw, 15px); line-height: 1.45; }
.note-action {
  display: flex; align-items: center; gap: 10px; justify-content: space-between; margin-top: auto; padding: 8px 0 0;
  border: 0; border-top: 1px solid currentColor; background: transparent; color: inherit; text-align: left;
  font: 11px/1.4 var(--mono);
}
.note-action::after { position: absolute; inset: 0; content: ""; }
.note-action i { font: 16px/1 var(--mono); }
.note-method { grid-area: method; --tilt: -2deg; color: #f5f3f5; background: #1b191c; }
.note-method::before { background: #d7d4d4; }
.note-method .note-id { color: #d5d1d4; }
.note-about {
  grid-area: about; --tilt: .35deg; min-height: clamp(310px, 31vw, 425px);
  padding: clamp(20px, 3vw, 43px); background: #fcfbfa; box-shadow: 5px 7px #211b1c1e;
}
.profile-billing { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 6px 12px; border-bottom: 1px solid #a7a3a1; padding-bottom: 10px; }
.profile-billing .note-id { margin: 0; }
.profile-billing > .eyebrow, .profile-lead > .eyebrow { color: #5d5759; }
.profile-lead { margin: auto 0; padding-block: clamp(18px, 3vw, 42px); }
.profile-lead h2 { font-size: clamp(47px, 7.2vw, 102px); line-height: .93; letter-spacing: -.065em; }
.profile-lead h2 span { color: #52775a; }
.profile-lead p { max-width: 38ch; }
.profile-lead > .eyebrow { margin: 0 0 9px; }
.profile-lead .profile-discipline { font-size: clamp(19px, 2.25vw, 31px); font-weight: 650; letter-spacing: -.047em; margin: 13px 0 0; }
.note-about .note-action { font-size: 12px; padding-top: 12px; }
.note-toolkit { grid-area: toolkit; --tilt: 1.7deg; background: #d9d6d9; }
.note-study { grid-area: study; --tilt: .9deg; }
.note-works { grid-area: works; --tilt: -1.1deg; }
.profile-dossier {
  border: 1px solid #ccc; background: #fbfafa; color: #171717; width: min(90%, 525px);
  padding: clamp(22px, 4vw, 48px); box-shadow: 7px 7px #15131548;
}
.profile-dossier::backdrop { background: #110f135e; backdrop-filter: blur(3px); }
.profile-dossier.is-profile { width: min(90%, 580px); padding: clamp(19px, 3.1vw, 40px); }
.profile-spread { display: grid; grid-template-columns: minmax(100px, 30%) minmax(0, 1fr); align-items: center; gap: clamp(15px, 4vw, 35px); }
.profile-photo { width: 100%; max-width: 135px; padding: 4px; background: #f0eded; border: 1px solid #cbc6c4; }
.profile-photo img { width: 100%; height: auto; }
.profile-bio .eyebrow { color: #5a5557; margin-bottom: 8px; }
.profile-bio > p:last-child { font-size: clamp(14px, 1.6vw, 17px); }
.profile-dossier h2 { margin: 18px 0; font-size: clamp(40px, 7vw, 64px); line-height: .9; letter-spacing: -.060em; }
.profile-dossier p, .profile-dossier dd { line-height: 1.5; }
.profile-dossier dl { margin-top: 24px; }
.profile-dossier dl div { border-top: 1px solid #d3cfd3; padding: 11px 0; }
.dossier-link { display: inline-block; margin-top: 15px; text-decoration: underline; text-underline-offset: 4px; font: 12px var(--mono); }
.profile-dossier dt { font: 11px var(--mono); margin-bottom: 5px; }
.profile-dossier form { position: absolute; right: 14px; top: 14px; }
.x-button { display: grid; place-items: center; width: 39px; height: 39px; padding: 0; border-radius: 3px; border: 1px solid currentColor; background: transparent; font: 25px/1 Arial, sans-serif; }
.x-button:hover { background: #6262622e; }
.profile-dossier .x-button:hover { background: #6461642e; }

.stage-blackout[open] {
  --lamp-top: clamp(50px, 18dvh, 180px);
  --blackout-time: 560ms;
  position: fixed; inset: 0; isolation: isolate;
  width: 100%; height: 100%; max-width: none; max-height: none;
  margin: 0; padding: 0; border: 0; overflow: clip;
  background: transparent; color: #efefef;
}
.stage-blackout::backdrop { background: #080808; animation: blackout-in var(--blackout-time) ease both; }
.stage-blackout[data-phase="leaving"]::backdrop { animation: none; opacity: 1; }
@keyframes blackout-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes blackout-out { from { opacity: 1; } to { opacity: 0; } }
.blackout-deck {
  position: absolute; inset: 0;
  animation: blackout-in .32s .22s ease both;
}
[data-phase="leaving"] .blackout-deck { animation: blackout-out .4s ease both; }
.blackout-label {
  position: absolute; top: max(23px, env(safe-area-inset-top)); left: var(--gutter);
  color: #a6a6a6;
}
.spotlight-switch {
  position: absolute; z-index: 1; top: var(--lamp-top); left: 50%; transform: translateX(-50%);
  display: grid; justify-items: center; gap: 23px;
  min-width: 180px; padding: 10px 14px; border: 0; border-radius: 5px;
  color: #f1f1f1; background: transparent;
}
.spotlight-switch[aria-disabled="true"] { cursor: default; }
.spotlight-switch:focus-visible { outline: 0; }
.spotlight-switch:focus-visible .spotlight-prompt { text-decoration: underline; text-underline-offset: 5px; }
.spotlight-fixture { position: relative; display: grid; justify-items: center; width: 96px; height: 96px; }
.spotlight-fixture::before {
  content: ""; position: absolute; top: 0; width: 16px; height: 24px;
  border: 1px solid #545454; border-radius: 3px;
  background: linear-gradient(90deg,#151515,#464646 48%,#222222);
}
.spotlight-fixture::after {
  content: ""; position: absolute; inset: 19px 12px 21px;
  border: 1px solid #666666; border-radius: 32px 32px 10px 10px;
  background: linear-gradient(96deg,#151515,#424242 42%,#272727 79%,#131313);
  box-shadow: inset 0 2px #ffffff22;
}
.spotlight-lens {
  position: absolute; z-index: 1; bottom: 7px; width: 82px; height: 30px;
  border-radius: 50%; border: 2px solid #818181;
  background: radial-gradient(ellipse,#565656 0%,#313131 45%,#161616 72%);
  box-shadow: 0 3px 0 #222222, inset 0 0 0 4px #222222;
  transition: background-color .25s, box-shadow .25s, border-color .25s;
}
.spotlight-switch:hover .spotlight-lens, .spotlight-switch:focus-visible .spotlight-lens {
  border-color: #d0d0d0; box-shadow: 0 3px #232323, inset 0 0 0 4px #222222, 0 0 14px #d9d9d932;
}
.is-lit .spotlight-lens {
  border-color: #f7f7f7;
  background: radial-gradient(ellipse,#fff 0%,#f5f5f5 47%,#a6a6a6 74%);
  box-shadow: 0 0 32px #e4e4e49e, inset 0 0 0 3px #c8c8c8;
}
.spotlight-prompt { font: 11px/1.4 var(--mono); letter-spacing: .1em; text-transform: uppercase; transition: opacity .25s; }
.is-lit .spotlight-prompt { opacity: 0; }
.blackout-beam { position: absolute; inset: 0; opacity: 0; pointer-events: none; }
.blackout-beam::before {
  content: ""; position: absolute; inset: calc(var(--lamp-top) + 92px) 0 11%;
  clip-path: polygon(48.6% 0, 51.4% 0, 80% 100%, 20% 100%);
  background: radial-gradient(ellipse at 50% 0, #f8f8f8bf, transparent 39%), linear-gradient(#ececec7d,#eeeeee32 54%,#e9e9e905);
  mask-image: linear-gradient(#000 67%, transparent);
}
.blackout-beam::after {
  content: ""; position: absolute; bottom: 0; left: 50%; width: min(86%, 1150px); height: 23%; transform: translateX(-50%);
  background: radial-gradient(ellipse,#f4f4f449,#e0e0e01d 40%,transparent 70%);
}
.is-lit .blackout-beam { animation: spotlight-up .9s cubic-bezier(.2,.7,.24,1) both; }
@keyframes spotlight-up {
  from { opacity: 0; transform: scaleX(.64); }
  to { opacity: 1; transform: scaleX(1); }
}
.blackout-reveal {
  position: absolute; top: max(50%, calc(var(--lamp-top) + 143px)); inset-inline: var(--gutter);
  text-align: center; opacity: 0; pointer-events: none;
}
.blackout-reveal p { color: #e7e7e7; }
.blackout-reveal b { display: block; margin-top: 12px; font: 780 clamp(46px, 8vw, 110px)/.92 var(--sans); letter-spacing: -.055em; }
.is-lit .blackout-reveal { animation: blackout-in .53s .23s ease both; }
.blackout-skip {
  position: absolute; bottom: max(23px, env(safe-area-inset-bottom)); right: var(--gutter); padding: 12px 0;
  color: #b5b5b5; text-decoration: underline; text-underline-offset: 4px;
  font: 11px/1.4 var(--mono);
}
.blackout-skip:hover { color: #fff; }

.stage-door {
  display: grid; align-items: center; min-height: max(245px, 42svh);
  padding: 36px var(--gutter); text-align: center;
  color: #e9e9e9; background: #111111; border-top: 1px solid #4e4e4e;
}
.stage-door p { color: #aeaeae; letter-spacing: .13em; }
.stage-door h2 {
  margin: 10px 0 14px; font: 780 clamp(30px, 3.6vw, 52px)/1 var(--sans);
  letter-spacing: -.045em;
}
.stage-door a, .stage-scroll span:last-child {
  display: inline-block; padding: 8px 0; border-bottom: 1px solid #aaaaaa88;
  font: 11px/1.4 var(--mono); letter-spacing: .07em; text-transform: uppercase;
}
.stage-door a:hover, .stage-scroll:hover span:last-child { border-color: #efefef; }
.stage-page { color: #e9e9e9; background: #080808; }
.stage-header {
  background: #0d0d0de8; border-bottom: 1px solid #a7a7a730; backdrop-filter: blur(10px);
}
.stage-header .wordmark span { color: #aeaeae; }
.stage-back { justify-self: end; font-size: 12px; color: #dadada; }
.stage-back:hover { text-decoration: underline; text-underline-offset: 4px; }
.stage-overture {
  --lamp-top: clamp(50px, 18dvh, 180px);
  position: relative; isolation: isolate; min-height: max(490px, 100svh); overflow: clip;
  background: #080808;
}
.stage-projection { position: absolute; inset: 0; animation: blackout-in .65s ease both; }
.stage-projection .blackout-beam { opacity: 1; animation: none; }
.stage-projection .spotlight-fixture {
  position: absolute; z-index: 1; top: calc(var(--lamp-top) + 10px); left: 50%; transform: translateX(-50%);
}
.stage-opening-title {
  position: absolute; top: max(50%, calc(var(--lamp-top) + 143px)); inset-inline: var(--gutter);
  text-align: center; color: #efefef;
}
.stage-opening-title p { color: #e7e7e7; }
.stage-opening-title h1 { margin-top: 12px; font: 780 clamp(46px, 8vw, 110px)/.92 var(--sans); letter-spacing: -.055em; }
.stage-scroll {
  position: absolute; left: 50%; bottom: max(29px, env(safe-area-inset-bottom)); transform: translateX(-50%);
  display: grid; justify-items: center; gap: 6px; width: max-content; max-width: 90%; color: #ececec;
}
.stage-scroll .eyebrow { color: #b7b7b7; }
.stage-page .end-credits { background: #0c0c0c; border-color: #a7a7a737; }
@media (max-width: 760px) {
  .topbar.stage-header { grid-template-columns: 1fr auto auto; gap: 14px; }
  .stage-header .wordmark span { display: none; }
  .stage-back { font-size: 11px; }
}

.programme {
  --print-ink: #e7e7e7; --print-rule: #acacac43; --stage-muted: #b5b5b5;
  color: var(--print-ink);
  background: radial-gradient(ellipse 66% 325px at 50% 0, #3a3a3a8c, transparent), #121212;
  border-top: 1px solid #a7a7a738;
}
.programme .scene-label { color: var(--stage-muted); border-color: var(--print-rule); }
.programme > .scene-label, .programme-title, [data-programme] { max-width: 1050px; margin-inline: auto; }
.programme-title { display: grid; grid-template-columns: 1.25fr .55fr; align-items: end; gap: 28px; margin-block: clamp(31px, 4.5vw, 62px) clamp(24px, 3.5vw, 48px); }
.programme-title h2 { font: 780 clamp(39px, 5.3vw, 75px)/.94 var(--sans); letter-spacing: -.055em; }
.programme-title p, .act header p { color: var(--stage-muted); line-height: 1.5; font-size: 14px; max-width: 34ch; }
.act {
  position: relative; isolation: isolate; border-top: 1px solid var(--print-rule); padding: clamp(22px, 3.25vw, 48px) 0 0; margin-top: clamp(25px, 5vw, 70px);
  display: grid; grid-template-columns: minmax(145px, .5fr) minmax(0, 1.5fr); gap: clamp(20px, 3.5vw, 49px); scroll-margin-top: 68px;
}
.act::before {
  content: ""; position: absolute; z-index: -1; inset: 0 0 -12%; pointer-events: none;
  background: radial-gradient(ellipse 47% 64% at 62% 37%, #7676762b, transparent 100%);
}
.act header .eyebrow { color: var(--stage-muted); }
.act header h3 { font-size: clamp(25px, 2.55vw, 39px); line-height: 1; letter-spacing: -.045em; margin: 12px 0; max-width: 15ch; }
.work-pair {
  position: relative; isolation: isolate; display: grid; grid-template-columns: repeat(2,minmax(0,1fr));
  width: min(100%, 540px); gap: clamp(18px,2.4vw,30px); perspective: 1000px;
}
.work-pair::before {
  content: ""; position: absolute; z-index: -1; inset: 26% -7% 0; pointer-events: none;
  background: radial-gradient(ellipse at 50% 82%, #000c 0, #0007 31%, transparent 70%);
  filter: blur(14px); transform: translateY(10px);
}
.work-entry {
  --poster-paper: #efeee9; --poster-highlight: #fffefa; --poster-shadow: #b8b5ad; --poster-ink: #111;
  --poster-line: #29282470; --poster-field: #d2d0ca; --envelope-paper: #dedbd3; --envelope-fold: #c6c2b8;
  --envelope-highlight: #f8f5ee; --envelope-edge: #aaa69c; --stage-cutout: #121212;
  position: relative; isolation: isolate; min-width: 0; height: clamp(320px,31vw,356px); overflow: clip;
  container-type: inline-size; color: var(--poster-ink); scroll-margin-top: 82px;
  transform: perspective(900px) rotateZ(-.45deg) rotateY(1.1deg); transform-origin: 50% 80%;
  transition: transform .38s cubic-bezier(.2,.72,.2,1);
}
.work-entry:nth-child(2) {
  --poster-paper: #1b1c1c; --poster-highlight: #4a4b4b; --poster-shadow: #030303; --poster-ink: #f1f0eb;
  --poster-line: #eeeeee69; --poster-field: #2a2b2b; --envelope-paper: #161717; --envelope-fold: #090a0a;
  --envelope-highlight: #343535; --envelope-edge: #515252;
  transform: perspective(900px) rotateZ(.45deg) rotateY(-1.1deg);
}
.work-entry::before {
  content: ""; position: absolute; z-index: 0; left: 8%; right: 8%; bottom: 4px; height: 34px;
  border-radius: 50%; background: #000; filter: blur(15px); opacity: .86; transform: translateY(8px);
  transition: opacity .35s,transform .35s;
}
.work-entry:hover,.work-entry:focus-visible { transform: perspective(900px) translateY(-5px) rotateZ(0) rotateY(0); }
.work-entry:hover::before,.work-entry:focus-visible::before { opacity: .98; transform: translateY(13px) scaleX(.92); }
.ticket-slip {
  position: absolute; z-index: 1; inset: 10px 9px auto; height: calc(100% - 28px); display: flex; flex-direction: column;
  padding: clamp(10px,4.4cqw,14px); color: var(--poster-ink); background-color: var(--poster-paper);
  background-image: radial-gradient(currentColor .35px,transparent .72px),
    linear-gradient(112deg,var(--poster-highlight),transparent 24%,transparent 72%,#0002),
    linear-gradient(180deg,transparent 72%,var(--poster-shadow));
  background-size: 5px 5px,100% 100%,100% 100%; border: 1px solid var(--poster-line); border-radius: 2px 2px 1px 1px;
  box-shadow: inset 0 1px 0 var(--poster-highlight),inset 0 -3px 8px #0002,0 3px 0 var(--poster-shadow),
    0 14px 28px #020202b8,0 2px 5px #0009; transform: translateY(43%) rotateX(-1.2deg);
  transform-origin: 50% 100%;
  transition: transform .48s cubic-bezier(.2,.76,.2,1),box-shadow .34s ease;
}
.ticket-slip::before,.ticket-slip::after {
  content: ""; position: absolute; top: 50%; width: 13px; aspect-ratio: 1; border-radius: 50%;
  background: var(--stage-cutout); transform: translateY(-50%); box-shadow: 0 0 0 1px var(--poster-line);
}
.ticket-slip::before { left: -7px; }
.ticket-slip::after { right: -7px; }
.work-entry:hover .ticket-slip,.work-entry:focus-visible .ticket-slip {
  transform: translateY(0) rotateX(.6deg);
  box-shadow: inset 0 1px 0 var(--poster-highlight),inset 0 -3px 8px #0002,0 3px 0 var(--poster-shadow),
    0 24px 38px #020202d6,0 4px 8px #000b;
}
.work-entry:focus-visible { outline: 1px solid #f2f2f2; outline-offset: 3px; }
.poster-mast, .poster-foot {
  display: flex; align-items: center; justify-content: space-between; gap: 5px 12px;
  font: 600 clamp(7px,3.3cqw,10px)/1.25 var(--mono); letter-spacing: .06em; text-transform: uppercase;
}
.poster-mast { border-top: 2px solid var(--poster-ink); border-bottom: 1px dashed var(--poster-line); padding: 6px 0; }
.poster-mast span:last-child { text-align: right; }
.poster-art {
  position: relative; isolation: isolate; display: grid; place-items: center; aspect-ratio: 1.78;
  margin: clamp(7px,3.1cqw,11px) 0; background: var(--poster-field); overflow: clip;
  box-shadow: inset 0 1px 0 var(--poster-highlight),inset 0 -8px 14px #0002,0 1px 0 var(--poster-highlight);
}
.poster-art::before, .poster-art::after {
  content: ""; position: absolute; z-index: 2; inset: 0; pointer-events: none; border: 0;
}
.poster-art::before { box-shadow: inset 0 0 0 1px var(--poster-line),inset 0 12px 24px #fff1; }
.poster-art::after { z-index: 0; background: radial-gradient(ellipse at 50% 46%,transparent 45%,#0003 100%); }
.poster-window {
  position: relative; z-index: 1; width: 84%; height: 78%; overflow: hidden; background: #171717;
  box-shadow: 0 0 0 3px color-mix(in srgb,var(--poster-paper) 72%,transparent),0 7px 13px #0008,0 1px 2px #000b;
}
.poster-window img { width: 100%; height: 100%; object-fit: cover; }
.poster-window::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(#0d0d0d85 .65px,transparent .9px) 0 0 / 3px 3px;
  opacity: .18; mix-blend-mode: multiply;
}
.poster-index { position: absolute; bottom: 8%; left: 5%; z-index: 3; font: 8px var(--mono); color: var(--poster-ink); }
.work-caption { padding: 0 0 clamp(8px,3.2cqw,12px); }
.work-caption h4 { font-size: clamp(17px,8cqw,25px); font-weight: 780; line-height: .94; letter-spacing: -.055em; text-transform: uppercase; }
[data-poster="echoes-of-the-confluence"] h4 { font-size: clamp(15px,6.8cqw,21px); }
.work-caption p { font-size: clamp(9px,3.7cqw,11px); line-height: 1.35; margin-top: 6px; max-width: 38ch; }
.poster-foot { margin-top: auto; border-top: 1px dashed var(--poster-line); padding-top: 7px; }
.poster-foot i { font: 16px/1 var(--mono); }
.ticket-envelope {
  position: absolute; z-index: 3; left: 0; right: 0; bottom: 0; min-height: 88px; display: grid;
  grid-template-columns: auto 1fr auto; align-items: center; gap: 9px; padding: 23px 13px 11px;
  color: var(--poster-ink);
  background: linear-gradient(33deg,transparent 49%,#0002 49.7%,transparent 50.5%) left bottom/50% 100% no-repeat,
    linear-gradient(-33deg,transparent 49%,#0002 49.7%,transparent 50.5%) right bottom/50% 100% no-repeat,
    linear-gradient(165deg,var(--envelope-highlight),var(--envelope-paper) 43%,var(--envelope-fold));
  border: 1px solid var(--poster-line); border-radius: 2px 2px 3px 3px;
  box-shadow: inset 0 1px 0 var(--envelope-highlight),inset 0 -4px 9px #0003,0 3px 0 var(--envelope-edge),
    0 15px 28px #020202cf,0 4px 8px #000b;
  font-family: var(--mono); text-transform: uppercase; letter-spacing: .06em;
  transform: translateZ(8px); transition: transform .36s cubic-bezier(.2,.72,.2,1),box-shadow .36s;
}
.ticket-envelope::before {
  content: ""; position: absolute; z-index: -1; left: -1px; right: -1px; top: -38px; height: 43px;
  background: linear-gradient(168deg,var(--envelope-highlight),var(--envelope-paper) 45%,var(--envelope-fold));
  clip-path: polygon(0 100%,0 56%,50% 0,100% 56%,100% 100%);
  border-inline: 1px solid var(--poster-line); filter: drop-shadow(0 -1px 0 var(--envelope-edge)) drop-shadow(0 5px 5px #0005);
}
.ticket-envelope::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(currentColor .35px,transparent .7px) 0 0/5px 5px,
    linear-gradient(90deg,#fff2,transparent 17%,transparent 82%,#0002); opacity: .12;
}
.work-entry:hover .ticket-envelope,.work-entry:focus-visible .ticket-envelope {
  transform: translateY(3px) translateZ(9px);
  box-shadow: inset 0 1px 0 var(--envelope-highlight),inset 0 -4px 9px #0003,0 3px 0 var(--envelope-edge),
    0 19px 34px #020202df,0 5px 10px #000c;
}
.envelope-scene,.envelope-cue { position: relative; z-index: 1; font-size: clamp(6px,2.6cqw,8px); }
.ticket-envelope strong {
  position: relative; z-index: 1; min-width: 0; overflow: hidden; text-align: center; text-overflow: ellipsis; white-space: nowrap;
  font: 760 clamp(10px,4.4cqw,14px)/1 var(--sans); letter-spacing: -.02em;
  text-shadow: 0 1px 0 var(--envelope-highlight),0 -1px 0 #0003;
}
.ticket-envelope strong::before {
  content: ""; position: absolute; z-index: -1; left: 50%; top: 50%; width: 38px; aspect-ratio: 1;
  border: 1px solid currentColor; border-radius: 50%; opacity: .13; transform: translate(-50%,-50%);
  box-shadow: inset 0 1px 2px #0004,0 1px 0 var(--envelope-highlight);
}
.envelope-cue { text-align: right; }
.end-credits { padding: 25px var(--gutter); display: flex; justify-content: space-between; gap: 10px; border-top: 1px solid var(--rule); }

.case-page {
  color-scheme: dark; background: #0b0b0b; color: #f4f4f4; --muted: #a4a4a4;
  --paper: #f4f4f4; --paper-soft: #b8b8b8; --ink: #0b0b0b; --ink-soft: #151515;
  --line: #ffffff2d; --line-strong: #ffffff6d; --project-accent: #c5c5c5;
}
.case-page[data-project="breathscape"] { --project-accent: #8f96ff; --project-accent-rgb: 143,150,255; }
.case-page[data-project="airveil"] { --project-accent: #f0719a; --project-accent-rgb: 240,113,154; }
.case-page[data-project="light-trace"] { --project-accent: #ffbd32; --project-accent-rgb: 255,189,50; }
.case-page[data-project="second-nature"] { --project-accent: #73d8ec; --project-accent-rgb: 115,216,236; }
.case-page[data-project="audible-bloom"] { --project-accent: #c9ff5d; --project-accent-rgb: 201,255,93; }
.case-page[data-project="echoes-of-the-confluence"] { --project-accent: #a9b66b; --project-accent-rgb: 169,182,107; }
.case-top { grid-template-columns: 1fr auto; background: #0b0b0be8; backdrop-filter: blur(12px); }
.case-top .x-button { border-color: #626262; }
.case-progress { position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--project-accent); transform-origin: left; transform: scaleX(0); }
.case-main { width: min(100% - 2 * var(--gutter), 1320px); margin: auto; }
.case-intro { padding: clamp(105px, 13vh, 155px) 0 clamp(28px, 4vw, 53px); text-align: center; }
.case-intro .eyebrow, .case-overview .eyebrow, .spread-heading .eyebrow, .case-outcome .eyebrow { color: var(--muted); }
.case-intro h1 { font-size: clamp(37px, 6.2vw, 94px); font-weight: 760; line-height: .96; letter-spacing: -.055em; margin: 12px auto 15px; max-width: 20ch; }
.case-subtitle { color: #c2c2c2; max-width: 55ch; margin-inline: auto; font-size: clamp(14px, 1.3vw, 18px); line-height: 1.45; }
.case-cover { border: 1px solid var(--line); background: #151515; }
.case-cover img, .spread img { width: 100%; height: auto; object-fit: contain; }
.case-meta { border-bottom: 1px solid var(--line); padding: 19px 0 27px; display: grid; grid-template-columns: 1fr auto; gap: 20px; align-items: start; }
.case-meta dl { display: grid; grid-template-columns: .68fr 1fr .64fr 1.36fr; gap: 14px; }
.case-meta dt { color: var(--muted); margin-bottom: 6px; }
.case-meta dd { font-size: 13px; line-height: 1.45; }
.outline-link { border: 1px solid var(--line-strong); padding: 9px 13px; font: 11px/1.3 var(--mono); }
.outline-link:hover { background: var(--paper); color: var(--ink); }
.case-overview { padding: clamp(47px, 8vw, 116px) 0; display: grid; grid-template-columns: .25fr 1fr; gap: 20px 6%; }
.case-overview h2, .case-outcome h2 { font-size: clamp(26px, 4vw, 55px); letter-spacing: -.055em; line-height: 1.07; max-width: 32ch; }
.case-overview > div p { line-height: 1.6; color: #bfbfbf; margin-top: 18px; max-width: 66ch; }
.signal-path { grid-column: 2; list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 14px; padding: 0; margin: 10px 0 0; }
.signal-path li { display: grid; gap: 7px; align-content: start; border-top: 1px solid var(--line); padding: 10px 0 0; }
.signal-path b { font: 11px var(--mono); text-transform: uppercase; }
.signal-path span { font-size: 13px; line-height: 1.45; color: #bfbfbf; }
.case-spreads { scroll-margin-top: 70px; }
.spread-heading { border-top: 1px solid var(--line); padding: 28px 0 22px; display: flex; justify-content: space-between; gap: 16px; align-items: end; }
.spread-heading h2 { font-size: clamp(33px, 6vw, 82px); line-height: .94; letter-spacing: -.055em; margin-top: 8px; }
.spread-heading label { font: 10px var(--mono); color: #bfbfbf; }
.spread-heading select { display: block; margin-top: 7px; border: 1px solid var(--line-strong); background: #171717; padding: 8px; }
.spread {
  margin: 0 0 clamp(24px, 4vw, 52px); scroll-margin-top: 76px;
  content-visibility: auto; contain-intrinsic-size: auto 470px;
}
.spread-zoom {
  display: block; padding: 0; width: 100%; aspect-ratio: 1684 / 595; overflow: hidden;
  border: 1px solid var(--line); background: #141414; cursor: zoom-in;
}
.spread-zoom img { width: 100%; height: 100%; object-fit: contain; }
.spread-zoom:hover { border-color: #aaa; }
.spread figcaption { display: flex; justify-content: space-between; margin-top: 8px; color: var(--muted); }
.case-lightbox { border: 0; background: transparent; color: #fff; padding: 0; max-width: 96vw; max-height: 92vh; }
.case-lightbox::backdrop { background: #000f; }
.case-lightbox form { display: flex; justify-content: end; gap: 8px; margin-bottom: 10px; }
.zoom-toggle { border: 1px solid #aaa; border-radius: 3px; background: #151515; color: #fff; padding: 0 12px; font: 11px var(--mono); }
.expanded-spread { overflow: auto; max-width: 96vw; max-height: 73svh; }
.case-lightbox img { width: auto; max-width: 96vw; max-height: 73svh; object-fit: contain; }
.case-lightbox.full-size img { max-width: none; max-height: none; }
.lightbox-nav {
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px;
  margin-top: 10px; border-top: 1px solid #ffffff3d; padding-top: 10px;
}
.lightbox-step {
  min-height: 38px; border: 1px solid #ffffff70; border-radius: 3px; background: #151515;
  color: #fff; padding: 8px 13px; font: 10px var(--mono); letter-spacing: .05em;
}
.lightbox-step:last-child { justify-self: end; }
.lightbox-step:hover:not(:disabled),.lightbox-step:focus-visible { background: #f2f2f2; color: #111; }
.lightbox-step:disabled { opacity: .28; cursor: not-allowed; }
.lightbox-count { min-width: 62px; text-align: center; color: #bdbdbd; font: 10px var(--mono); }
.case-finale {
  display: grid; grid-template-columns: minmax(0,1.32fr) minmax(250px,.68fr); gap: clamp(28px,5vw,76px);
  align-items: center; margin-block: clamp(48px,7vw,92px); padding-block: clamp(30px,4vw,54px); border-block: 1px solid var(--line);
}
.case-demo { min-width: 0; }
.demo-heading { margin-bottom: 15px; }
.demo-kicker { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.demo-heading h2 { margin-top: 8px; font-size: clamp(26px,3.2vw,42px); line-height: 1; letter-spacing: -.052em; }
.demo-heading > p { max-width: 58ch; margin-top: 9px; color: #b8b8b8; font-size: 12px; line-height: 1.5; }
.try-cue {
  display: inline-flex; align-items: center; gap: 7px; flex: 0 0 auto; padding: 7px 9px; border: 1px solid var(--project-accent);
  color: var(--project-accent); font: 700 9px/1 var(--mono); letter-spacing: .08em; box-shadow: inset 0 0 18px color-mix(in srgb,var(--project-accent),transparent 92%);
}
.try-cue i { width: 6px; aspect-ratio: 1; border-radius: 50%; background: currentColor; box-shadow: 0 0 10px currentColor; animation: live-pulse 1.4s ease-in-out infinite; }
@keyframes live-pulse { 50% { opacity: .32; transform: scale(.72); } }
.case-outcome { display: grid; gap: 14px; align-content: center; }
.case-outcome h2 { max-width: 29ch; font-size: clamp(19px,2.15vw,31px); line-height: 1.14; letter-spacing: -.042em; }
.case-finale--outcome-only { display: block; padding-block: clamp(42px,6vw,82px); }
.case-finale--outcome-only .case-outcome { max-width: 720px; }
.case-finale--outcome-only .case-outcome h2 { max-width: 34ch; font-size: clamp(24px,3.1vw,43px); }
.case-pagination { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); padding: 25px 0 55px; gap: 20px; }
.case-pagination a:last-child { text-align: right; }
.case-pagination small { color: var(--muted); }
.case-pagination b { display: block; font-size: clamp(16px, 2.5vw, 33px); letter-spacing: -.04em; padding-top: 6px; }
.case-pagination a:hover b { text-decoration: underline; text-underline-offset: 4px; }

@media (max-width: 760px) {
  .topbar { grid-template-columns: 1fr auto; }
  .edition { display: none; }
  .box-controls { grid-template-columns: auto; justify-items: center; gap: 10px; }
  .programme-shortcut { justify-self: center; }
  .box-caption { display: none; }
  .project-backdrop {
    inset: 92px 14px 112px; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: repeat(3, minmax(0, 1fr));
    gap: 20px 13px; opacity: .16;
  }
  .backdrop-rail--top { top: .5%; }
  .backdrop-rail--middle { display: block; top: 35%; }
  .backdrop-rail--bottom { top: 69.5%; }
  .backdrop-card { --card-shift-y: 0px; padding: 4px 4px 15px; }
  .backdrop-card img { min-height: 76px; max-height: 14svh; }
  .backdrop-card--01,.backdrop-card--03,.backdrop-card--05 { --card-shift-x: -6vw; }
  .backdrop-card--02,.backdrop-card--04,.backdrop-card--06 { --card-shift-x: 6vw; }
  .machine-switch span::before { content: "↑ "; }
  .machine-switch span { top: calc(100% + 3px); left: 50%; transform: translateX(-50%); font-size: 9px; }
  .board-grid { grid-template-columns: 1fr 1fr; grid-template-areas: "about about" "method toolkit" "study works"; gap: 23px 14px; }
  .note-about { min-height: 0; }
  .blackout-beam::before { clip-path: polygon(45% 0, 55% 0, 99% 100%, 1% 100%); }
  .programme-title, .act { grid-template-columns: 1fr; }
  .act header h3 { max-width: 22ch; }
  .case-meta { grid-template-columns: 1fr; }
  .case-meta dl { grid-template-columns: 1fr 1fr; }
  .case-meta a { justify-self: start; }
  .case-overview { grid-template-columns: 1fr; }
  .signal-path { grid-column: 1; grid-template-columns: 1fr 1fr; }
  .case-finale { grid-template-columns: 1fr; align-items: start; }
  .case-outcome { padding-top: 5px; }
  .case-demo .interaction-canvas { min-height: 270px; padding: 18px 12px; }
  .case-demo .interaction-controls { padding: 10px 12px; }
  .case-demo .range-control { grid-template-columns: 62px minmax(0, 1fr) 30px; gap: 8px; }
}
@media (max-width: 540px) {
  .work-pair { width: min(86%, 284px); gap: 22px; grid-template-columns: 1fr; justify-self: center; }
}
@media (max-width: 410px) {
  .topbar .wordmark span { display: none; }
  .profile-spread { grid-template-columns: minmax(87px, 34%) minmax(0, 1fr); gap: 12px; }
  .profile-dossier.is-profile { max-height: 90svh; }
  .end-credits > span { display: none; }
}
@media (max-height: 659px) and (max-width: 760px) {
  .box-stage { min-height: max(560px, 100svh); }
  .machine { width: min(81vw, max(280px, 54svh)); }
  .box-controls { bottom: 15px; }
}
@media (max-height: 680px) and (min-width: 761px) {
  .box-stage { min-height: max(535px, 100svh); }
  .machine { width: min(81vw, max(300px, 54svh), 558px); }
  .show-bill { top: 70px; }
  .show-bill h1 { font-size: clamp(44px, 10svh, 76px); }
  .box-controls { bottom: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  :root { scroll-behavior: auto; }
  .stage-blackout.is-lit .blackout-beam, .stage-blackout.is-lit .blackout-reveal { opacity: 1; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
