/* ============================================================================
   IBRAA Studio, Home v1.1. Page styles on top of the ScrollCraft floor.
   The engine's DEVICE rules are not restyled here; only tokens and own markup.
   ========================================================================== */

/* Three faces, all free (SIL OFL), served from this site (17 Nov: nothing loads
   from Google or a CDN, as the privacy notice says). Doto 900 sets every
   headline, IBM Plex Sans the paragraphs, Departure Mono labels and controls. */
@font-face {
  font-family: "Departure Mono";
  src: url("assets/fonts/departuremono-regular.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face { font-family: "Doto"; font-style: normal; font-weight: 900; font-display: swap; src: url("assets/fonts/doto-900-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Doto"; font-style: normal; font-weight: 900; font-display: swap; src: url("assets/fonts/doto-900-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "IBM Plex Sans"; font-style: normal; font-weight: 400; font-display: swap; src: url("assets/fonts/ibmplexsans-400-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "IBM Plex Sans"; font-style: normal; font-weight: 400; font-display: swap; src: url("assets/fonts/ibmplexsans-400-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "IBM Plex Sans"; font-style: normal; font-weight: 500; font-display: swap; src: url("assets/fonts/ibmplexsans-500-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "IBM Plex Sans"; font-style: normal; font-weight: 500; font-display: swap; src: url("assets/fonts/ibmplexsans-500-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --sc-canvas:     #0a0908;   /* black, the norrvik value (13 Nov) */
  --sc-surface:    #121110;
  --sc-ink:        #efe9de;
  --sc-ink-soft:   #a59d8e;
  --sc-accent:     #ba9349;
  --sc-accent-ink: #080602;
  --sc-font-display: "Doto", "Departure Mono", ui-monospace, monospace;
  --sc-font-text:    "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; /* paragraphs (13 Nov) */
  --scan: #e8372c;            /* the scan line on the artworks: the red of R20's visor */
  --sc-font-mono:    "Departure Mono", ui-monospace, "Cascadia Mono", Consolas, monospace;
  --sc-shadow-color: 38 60% 2%;

  --bar: 68px;
  --frame-max: 1180px;
  --hair: color-mix(in oklab, var(--sc-ink) 12%, transparent);
  --hair-strong: color-mix(in oklab, var(--sc-ink) 24%, transparent);
  --gold-soft: color-mix(in oklab, var(--sc-accent) 30%, transparent);
}

html { scroll-padding-top: calc(var(--bar) + 12px); background: var(--sc-canvas); }
/* one weight per face: never let the browser fake a bold or an italic */
body { background: transparent; font-synthesis: none; font-size: 0.9375rem; }

/* The drawn background: one fixed canvas behind every section. Films cover
   it; the cast room has its own background and is opaque to it. */
.bg { position: fixed; inset: 0; z-index: -1; width: 100%; height: 100%; pointer-events: none; display: block; }
.room--cast { background: var(--sc-canvas); }

/* Background: near-black, a moving film grain over the whole page (films
   included, like grain in a projector; it sits under the bar and the ruler),
   and one warm bloom that breathes behind the three gold moments. */
.grain {
  position: fixed; inset: -50%; z-index: calc(var(--sc-z-chrome) - 2); pointer-events: none; opacity: 0.055;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.9 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 0.8s steps(1) infinite; will-change: transform;
}
@keyframes grain {
  0% { transform: translate(0, 0); } 12% { transform: translate(-4%, 3%); } 25% { transform: translate(3%, -5%); }
  37% { transform: translate(-6%, -2%); } 50% { transform: translate(5%, 4%); } 62% { transform: translate(-2%, 6%); }
  75% { transform: translate(6%, -3%); } 87% { transform: translate(-5%, -6%); }
}
@media (max-width: 860px) { .grain { animation-duration: 1.4s; } }
.bloom { position: relative; isolation: isolate; overflow-x: clip; }
.bloom::before {
  content: ""; position: absolute; z-index: -1; pointer-events: none;
  left: 50%; top: var(--bloom-y, 40%); width: min(1100px, 100%); aspect-ratio: 1.6;
  transform: translate(-50%, -50%);
  background: radial-gradient(closest-side, color-mix(in oklab, var(--sc-accent) 15%, transparent), transparent);
  animation: breathe 9s ease-in-out infinite alternate;
}
.room--world.bloom { --bloom-y: 12%; }
.close.bloom { --bloom-y: 30%; }
@keyframes breathe { from { opacity: 0.55; transform: translate(-50%, -50%) scale(0.94); } to { opacity: 1; transform: translate(-50%, -50%) scale(1.04); } }

/* Director's slate. Every section except the arrival film and the cast room
   (its background is fixed) carries a hairline column grid and a top rule.
   A chapter ruler sits in the left gutter: scene numbers, name, timecode. */
:root { --hair-faint: color-mix(in oklab, var(--sc-ink) 5%, transparent); }
.room--work, .scene, .faces, .wall, .sv, .about, .room--world, .close {
  background-image: linear-gradient(to right, var(--hair-faint) 1px, transparent 1px);
  background-size: calc((100% - 2 * var(--sc-gutter)) / 4) 100%;
  background-position: var(--sc-gutter) 0;
  box-shadow: inset 0 1px 0 var(--hair-faint);
}
@media (max-width: 860px) {
  .room--work, .scene, .faces, .wall, .sv, .about, .room--world, .close { background-size: calc((100% - 2 * var(--sc-gutter)) / 2) 100%; }
}
.slate {
  position: fixed; z-index: calc(var(--sc-z-chrome) - 1); left: 0; top: calc(var(--bar) + 1.5rem); bottom: 1.25rem;
  width: var(--sc-gutter); display: none; flex-direction: column; align-items: center; justify-content: space-between;
  pointer-events: none; color: var(--sc-ink-soft);
  font-family: var(--sc-font-mono); font-size: 11px; font-weight: 400; letter-spacing: 0.06em; text-transform: uppercase;
}
@media (min-width: 1000px) { .slate { display: flex; } }
.slate__ticks { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.5rem; pointer-events: auto; }
.slate__ticks a {
  display: flex; align-items: center; gap: 6px; padding: 2px 0; color: inherit; text-decoration: none; opacity: 0.4;
  transition: opacity var(--sc-d-base) var(--sc-ease-out), color var(--sc-d-base) var(--sc-ease-out);
}
.slate__ticks a::before { content: ""; width: 6px; height: 1px; background: currentColor;
                          transition: width var(--sc-d-base) var(--sc-ease-out); }
.slate__ticks a:hover { opacity: 0.9; }
.slate__ticks a[aria-current="true"] { opacity: 1; color: var(--sc-ink); }
.slate__ticks a[aria-current="true"]::before { width: 14px; }
.slate__read { margin: 0; writing-mode: vertical-rl; transform: rotate(180deg); display: flex; gap: 1.4em;
               white-space: nowrap; opacity: 0.75; }
.slate__tc { color: var(--sc-ink); }

/* ---------------------------------------------------------------- type -- */
/* Doto is a monospaced dot-matrix face: every letter is 0.6em wide, so a line's
   width is known from its letter count. ibraa.js writes --fit (the largest size
   at which the longest line still fits) on every section heading. */
.h-display {
  font-family: var(--sc-font-display);
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0;
  text-transform: uppercase;
  margin: 0;
}
.h-display--md { font-size: clamp(2rem, 1.3rem + 2.8vw, 3.8rem); }
/* section headings: each .ln is one line, sized so the longest line fits */
.h-head { font-size: min(5.8rem, 9.4vw, var(--fit, 100rem)); }
.h-head .ln { display: block; white-space: nowrap; }
@media (max-width: 600px) { .h-head:not([data-oneline]) .ln { white-space: normal; } }

/* Title motion: when a section lands, each line of its heading pans in from
   the left behind a mask, once, then stays still. */
.rv .ln { display: block; overflow: hidden; padding-block: 0.04em; margin-block: -0.04em; }
/* 13 Nov: the title no longer pans in. It stands still in white and a gold
   pass types over it (see "title motion" in the round 3 block at the end). */
.rv .ln > span { display: inline-block; }
/* the gold headings pan in line by line too (their words also turn gold on scroll) */
.glow .ln { transform: translate3d(-7vw, 0, 0); opacity: 0;
            transition: transform 1000ms var(--sc-ease-out), opacity 700ms var(--sc-ease-out); }
.glow .ln:nth-child(2) { transition-delay: 110ms; }
.glow .ln:nth-child(3) { transition-delay: 220ms; }
.glow.is-in .ln { transform: none; opacity: 1; }

/* Gold moments only (brief, close): words go from dim white to gold on scroll */
.glow .w {
  --w: 0;
  display: inline-block;
  color: color-mix(in oklab, var(--sc-accent) calc(var(--w) * 100%), var(--sc-ink));
  opacity: calc(0.26 + var(--w) * 0.74);
  transform: translate3d(0, calc((1 - var(--w)) * 0.08em), 0);
  will-change: opacity, transform;
}

/* a mono face runs wide: paragraphs are set smaller and more open than before */
.lede { font-size: clamp(0.95rem, 0.86rem + 0.32vw, 1.12rem); line-height: 1.6; margin: 0; text-wrap: pretty; }
.lede--soft, .soft { color: var(--sc-ink-soft); }
.body { color: var(--sc-ink-soft); max-width: 46ch; margin: 0; font-size: 0.85rem; line-height: 1.6; text-wrap: pretty; }
.label {
  font-family: var(--sc-font-mono);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--sc-ink-soft);
  margin: 0;
}
/* Word light-up: a paragraph starts dim and each word lights as you scroll */
[data-lit] .lw { opacity: calc(0.2 + var(--w, 0) * 0.8); }

.link { color: var(--sc-ink); text-decoration: underline; text-decoration-color: var(--sc-accent);
        text-underline-offset: 0.28em; text-decoration-thickness: 1px; }
.link:hover { color: var(--sc-accent); }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 46px; padding: 0 1.4rem;
  border-radius: 2px; border: 1px solid transparent;
  font-family: var(--sc-font-text); font-weight: 600; font-size: var(--sc-t-sm);
  letter-spacing: 0.06em; text-transform: uppercase; text-decoration: none; white-space: nowrap;
  cursor: pointer;
  transition: background var(--sc-d-base) var(--sc-ease-out), color var(--sc-d-base) var(--sc-ease-out),
              transform var(--sc-d-fast) var(--sc-ease-out), opacity var(--sc-d-base) var(--sc-ease-out);
}
.btn--gold { background: var(--sc-accent); color: var(--sc-accent-ink); }
.btn--gold:hover { background: color-mix(in oklab, var(--sc-accent) 86%, white); }
.btn:active { transform: translateY(1px); }
.btn--big { min-height: 58px; padding: 0 2.2rem; font-size: var(--sc-t-base); }
/* bracket button: four corner marks that close into a full frame on hover */
.btn--brk {
  --bk: var(--sc-accent);
  border: 0; border-radius: 0; color: var(--sc-ink); background-color: transparent;
  background-image: linear-gradient(var(--bk) 0 0), linear-gradient(var(--bk) 0 0), linear-gradient(var(--bk) 0 0), linear-gradient(var(--bk) 0 0),
                    linear-gradient(var(--bk) 0 0), linear-gradient(var(--bk) 0 0), linear-gradient(var(--bk) 0 0), linear-gradient(var(--bk) 0 0);
  background-repeat: no-repeat;
  background-position: 0 0, 0 0, 100% 0, 100% 0, 0 100%, 0 100%, 100% 100%, 100% 100%;
  background-size: 9px 1px, 1px 9px, 9px 1px, 1px 9px, 9px 1px, 1px 9px, 9px 1px, 1px 9px;
  transition: background-size 380ms var(--sc-ease-out), color var(--sc-d-base) var(--sc-ease-out),
              background-color var(--sc-d-base) var(--sc-ease-out), transform var(--sc-d-fast) var(--sc-ease-out);
}
.btn--brk:hover, .btn--brk:focus-visible {
  color: var(--sc-accent); background-color: color-mix(in oklab, var(--sc-accent) 8%, transparent);
  background-size: 51% 1px, 1px 51%, 51% 1px, 1px 51%, 51% 1px, 1px 51%, 51% 1px, 1px 51%;
}
.btn[disabled] { opacity: 0.35; cursor: not-allowed; }

.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--sc-accent);
        color: var(--sc-accent-ink); padding: 8px 12px; }
.skip:focus { left: 8px; }

/* ----------------------------------------------------------------- seal -- */
/* coin flip on arrival, then a gold sheen passes over it every 7 s */
.seal { position: relative; display: inline-block; border-radius: 50%; overflow: hidden; flex: none; line-height: 0; }
.seal img { width: 100%; height: 100%; border-radius: 50%; display: block; }
.seal::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%; pointer-events: none; mix-blend-mode: screen;
  background: linear-gradient(105deg, transparent 35%, rgba(255, 236, 190, 0.55) 50%, transparent 65%);
  transform: translateX(-130%);
  animation: sheen 7s ease-in-out 2.2s infinite;
}
.seal--flip img { animation: coinflip 1.6s var(--sc-ease-out) both; }
.seal--watch img { opacity: 0; }
.seal--watch.is-on img { animation: coinflip 1.6s var(--sc-ease-out) both; opacity: 1; }
.seal--lg { width: 0.82em; height: 0.82em; vertical-align: -0.04em; margin-left: 0.12em; }
@keyframes coinflip {
  0%   { transform: perspective(400px) rotateY(-540deg) scale(0.6); opacity: 0; }
  60%  { opacity: 1; }
  100% { transform: perspective(400px) rotateY(0) scale(1); opacity: 1; }
}
@keyframes sheen { 0% { transform: translateX(-130%); } 18% { transform: translateX(130%); } 100% { transform: translateX(130%); } }

/* The turning seal (top bar, close): it spins like a coin on its axis. Half a
   turn is drawn and repeated, so the face is never seen mirrored; the light
   rises and falls with the angle. */
.coin { display: block; flex: none; line-height: 0; }
.coin img { display: block; width: 100%; height: 100%; border-radius: 50%; animation: coinspin var(--spin, 4.5s) linear infinite; }
.coin--slow { --spin: 7s; }
@keyframes coinspin {
  0%     { transform: perspective(600px) rotateY(0deg);   filter: brightness(1); }
  30%    { transform: perspective(600px) rotateY(54deg);  filter: brightness(1.35); }
  50%    { transform: perspective(600px) rotateY(90deg);  filter: brightness(0.7); }
  50.01% { transform: perspective(600px) rotateY(-90deg); filter: brightness(0.55); }
  100%   { transform: perspective(600px) rotateY(0deg);   filter: brightness(1); }
}

/* ------------------------------------------------------------- top bar -- */
.bar {
  position: fixed; inset: 0 0 auto 0; z-index: var(--sc-z-chrome);
  height: var(--bar);
  display: flex; align-items: center; gap: var(--sc-5);
  padding-inline: var(--sc-gutter);
  background: linear-gradient(to bottom, color-mix(in oklab, var(--sc-canvas) 88%, transparent), transparent);
  transition: background var(--sc-d-slow) var(--sc-ease-out), box-shadow var(--sc-d-slow) var(--sc-ease-out);
}
.bar__tags { display: none; margin: 0; }
.bar__seal { width: 40px; height: 40px; }
.bar__nav a {
  position: relative; color: var(--sc-ink-soft); text-decoration: none;
  font-family: var(--sc-font-mono); font-weight: 400; text-transform: uppercase; letter-spacing: 0.06em;
  transition: color var(--sc-d-base) var(--sc-ease-out);
}
.bar__nav a:hover { color: var(--sc-ink); }
.bar__nav a[aria-current="true"] { color: var(--sc-ink); }
.bar__cta { min-height: 36px; padding: 0 0.9rem; font-size: 11px; }
/* the brief button calls for attention five times (text white to gold), then rests */
.bar__cta { animation: ctapulse 1.5s ease-in-out 2.4s 5; }
@keyframes ctapulse {
  0%, 100% { color: var(--sc-ink); text-shadow: none; }
  50% { color: var(--sc-accent); text-shadow: 0 0 14px color-mix(in oklab, var(--sc-accent) 70%, transparent); }
}
.lang { display: flex; align-items: center; gap: 2px; color: var(--sc-ink-soft); }
.lang button { background: none; border: 0; padding: 6px 4px; cursor: pointer; color: var(--sc-ink-soft);
               font-size: 11px; letter-spacing: 0.06em; }
.lang button[aria-pressed="true"] { color: var(--sc-accent); }
.bar__menu { display: none; background: none; border: 1px solid var(--hair-strong); color: var(--sc-ink);
             padding: 6px 10px; font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase;
             cursor: pointer; border-radius: 2px; }

/* desktop: tag lines left, one boxed panel right, tabs in two rows */
@media (min-width: 861px) {
  .bar { pointer-events: none; }
  .bar > * { pointer-events: auto; }
  .bar__panel {
    margin-left: auto; height: 54px; padding: 0 8px 0 12px;
    display: flex; align-items: center; gap: clamp(0.9rem, 1.8vw, 1.6rem);
    background: color-mix(in oklab, var(--sc-canvas) 62%, transparent);
    -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
    border-radius: 3px; box-shadow: 0 0 0 1px var(--hair);
    transition: background var(--sc-d-slow) var(--sc-ease-out);
  }
  .bar.is-solid .bar__panel { background: color-mix(in oklab, var(--sc-canvas) 84%, transparent); }
  .bar__nav { display: grid; grid-auto-flow: column; grid-template-rows: auto auto; gap: 3px clamp(1rem, 2vw, 1.75rem); }
  .bar__nav a { font-size: 11px; line-height: 1.35; padding-left: 11px; white-space: nowrap; }
  .bar__nav a::before { /* the marker on the tab you are in */
    content: ""; position: absolute; left: 0; top: 50%; margin-top: -4px;
    border: 4px solid transparent; border-left: 5px solid var(--sc-accent); border-right: 0;
    opacity: 0; transition: opacity var(--sc-d-base) var(--sc-ease-out);
  }
  .bar__nav a[aria-current="true"]::before { opacity: 1; }
  .lang { display: grid; grid-template-rows: auto auto; gap: 3px; }
  .lang button { padding: 0 2px; line-height: 1.35; }
}
@media (min-width: 1180px) {
  .bar__tags {
    display: flex; gap: clamp(3rem, 15vw, 17rem); padding-left: clamp(1rem, 7vw, 8rem);
    font-family: var(--sc-font-mono); font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--sc-ink);
    white-space: nowrap; pointer-events: none;
    transition: opacity var(--sc-d-slow) var(--sc-ease-out);
  }
  .bar.is-solid .bar__tags { opacity: 0; } /* only on the first screen, so they never sit on the content */
  .bar__tags span::before { content: ""; display: inline-block; width: 6px; height: 13px; margin-right: 14px;
                            vertical-align: -2px; background: var(--sc-accent); }
}

/* phones: a plain bar. Seal, the brief button, language, menu. */
@media (max-width: 860px) {
  .bar { gap: var(--sc-3); }
  .bar.is-solid {
    background: color-mix(in oklab, var(--sc-canvas) 86%, transparent);
    -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
    box-shadow: 0 1px 0 var(--hair);
  }
  .bar__panel { display: contents; }
  .bar__cta { order: 1; margin-left: auto; }
  .lang { order: 2; }
  .bar__menu { order: 3; display: inline-flex; }
  .bar__nav {
    position: fixed; top: var(--bar); left: 0; right: 0;
    flex-direction: column; gap: 0; margin: 0;
    padding: var(--sc-3) var(--sc-gutter) var(--sc-5);
    background: color-mix(in oklab, var(--sc-canvas) 96%, transparent);
    box-shadow: 0 1px 0 var(--hair);
    display: none;
  }
  .bar__nav.is-open { display: flex; }
  .bar__nav a { padding-block: 12px; font-size: var(--sc-t-sm); }
  .bar__nav a[aria-current="true"] { color: var(--sc-accent); }
}
@media (max-width: 440px) {
  .bar__cta { padding: 0 0.6rem; letter-spacing: 0.02em; font-size: 10px; }
  .bar__seal { width: 36px; height: 36px; }
}

/* ----------------------------------------------------------------- frames --
   Every video sits in a frame with air on both sides. Never stretched, never
   cropped: the frame takes the clip's own ratio and the clip is contained. */
.frame {
  position: relative;
  aspect-ratio: 16 / 9;
  width: 100%;
  background: #000;
  overflow: hidden;
  border-radius: 3px;
  box-shadow: var(--sc-e3), 0 0 0 1px var(--hair);
  isolation: isolate;
}
.frame--v { aspect-ratio: 9 / 16; }
.frame > video.v, .frame__poster {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: contain; background: #000;
}

/* sound control, one per video */
.snd {
  position: absolute; right: 12px; bottom: 12px; z-index: 5;
  display: flex; align-items: center; gap: 8px;
  padding: 6px 8px 6px 6px;
  background: color-mix(in oklab, var(--sc-canvas) 62%, transparent);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  border-radius: 999px;
  box-shadow: 0 0 0 1px var(--hair);
  opacity: 0.86;
  transition: opacity var(--sc-d-base) var(--sc-ease-out);
}
.frame:hover .snd, .snd:focus-within, .snd.is-on { opacity: 1; }
.snd__btn {
  width: 34px; height: 34px; border-radius: 50%; border: 0; cursor: pointer;
  display: grid; place-items: center;
  background: transparent; color: var(--sc-ink);
}
.snd.is-on .snd__btn { background: var(--sc-accent); color: var(--sc-accent-ink); }
.snd__btn svg { width: 18px; height: 18px; }
.snd__btn .i-on { display: none; }
.snd.is-on .snd__btn .i-on { display: block; }
.snd.is-on .snd__btn .i-off { display: none; }
.snd__vol {
  width: 0; opacity: 0; pointer-events: none;
  transition: width var(--sc-d-base) var(--sc-ease-out), opacity var(--sc-d-base) var(--sc-ease-out);
  accent-color: var(--sc-accent);
  height: 20px; margin: 0;
}
/* the slider only opens while it is being used, then folds back to the icon */
.snd.is-on.is-open .snd__vol { width: 84px; opacity: 1; pointer-events: auto; }
.snd:not(.is-open) { padding-right: 6px; }
.no-volume .snd__vol { display: none; }
.frame--v .snd { right: 8px; bottom: 8px; }
.frame[data-scrub] .snd { bottom: 22px; }

/* scrub line: thin at rest, thicker under the pointer, drag to run through */
.scrub {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 6; height: 16px;
  display: flex; align-items: flex-end; cursor: pointer; touch-action: none; outline: none;
}
.scrub__track { position: relative; width: 100%; height: 2px; background: color-mix(in oklab, var(--sc-ink) 22%, transparent);
                transition: height var(--sc-d-fast) var(--sc-ease-out); }
.scrub__fill { position: absolute; inset: 0 auto 0 0; width: calc(var(--t, 0) * 100%); background: var(--sc-accent); }
.scrub__time {
  position: absolute; bottom: 14px; left: calc(var(--h, 0) * 100%); transform: translateX(-50%);
  padding: 2px 6px; border-radius: 2px; background: color-mix(in oklab, var(--sc-canvas) 70%, transparent);
  font-size: 0.7rem; font-variant-numeric: tabular-nums; letter-spacing: 0.04em; color: var(--sc-ink);
  opacity: 0; pointer-events: none; transition: opacity var(--sc-d-fast) var(--sc-ease-out); white-space: nowrap;
}
.frame:hover .scrub__track, .scrub.is-drag .scrub__track, .scrub:focus-visible .scrub__track { height: 5px; }
.scrub:hover .scrub__time, .scrub.is-drag .scrub__time, .scrub:focus-visible .scrub__time { opacity: 1; }
.scrub:focus-visible .scrub__track { box-shadow: 0 0 0 1px var(--sc-accent); }

.play {
  position: absolute; inset: 0; z-index: 4; margin: auto;
  width: 76px; height: 76px; border-radius: 50%; border: 0; cursor: pointer;
  background: color-mix(in oklab, var(--sc-canvas) 55%, transparent);
  box-shadow: 0 0 0 1px var(--gold-soft);
  color: var(--sc-ink); display: grid; place-items: center;
}
.play:hover { box-shadow: 0 0 0 1px var(--sc-accent); color: var(--sc-accent); }
.play svg { width: 26px; height: 26px; margin-left: 4px; }
.play[hidden] { display: none; }

/* ------------------------------------------------------------- rooms ---- */
.room { position: relative; padding-block: var(--sc-section); overflow: clip; }
.room__back { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.room__back img, .room__back video {
  width: 100%; height: 100%; object-fit: cover; display: block;
  opacity: 0.2; filter: saturate(0.85);
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 22%, #000 70%, transparent 100%);
          mask-image: linear-gradient(to bottom, transparent 0%, #000 22%, #000 70%, transparent 100%);
}
/* the cast loop: dark texture only, so its softness never reads */
.room__back--loop video { opacity: 0.3; filter: saturate(0.9) brightness(0.8); }
.room__back--loop::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% 50%, transparent 30%, var(--sc-canvas) 85%);
}
.room > *:not(.room__back) { position: relative; z-index: 1; }
.room__head { width: 100%; max-width: var(--sc-maxw); margin-inline: auto; padding-inline: var(--sc-gutter);
              margin-bottom: clamp(2.5rem, 6vw, 5rem); }

/* --------------------------------------------------------- 1 arrival ---- */
.arrival {
  min-height: 100svh;
  padding: calc(var(--bar) + clamp(0.5rem, 1.5vh, 1.25rem)) var(--sc-gutter) clamp(1.5rem, 4vh, 3rem);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: clamp(1rem, 2.6vh, 2rem);
}
/* sized so the frame, the headline and the row all land on the first screen */
.arrival__frame { width: min(var(--frame-max), 100%, calc((100svh - var(--bar) - 17rem) * 16 / 9)); min-width: min(100%, 320px); }
.arrival__copy { width: min(var(--frame-max), 100%); display: flex; flex-direction: column; gap: clamp(0.75rem, 2vh, 1.4rem); }
/* the first screen's statement: what he does, at a medium headline size */
.arrival__h {
  font-size: clamp(1.3rem, 0.5rem + 2.9vw, 2.9rem);
  line-height: 1.04; text-wrap: balance;
  background: linear-gradient(100deg, var(--sc-ink) 0 42%, var(--sc-accent) 50%, var(--sc-ink) 58% 100%);
  background-size: 260% 100%; background-position: 100% 0;
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.arrival__row { display: flex; flex-wrap: wrap; align-items: center; gap: var(--sc-3) var(--sc-6); }
.arrival__row .btn { margin-left: auto; }
.arrival__copy { opacity: 0; transform: translate3d(0, 12px, 0);
                 transition: opacity 900ms var(--sc-ease-out), transform 900ms var(--sc-ease-out); }
.arrival__copy.is-on { opacity: 1; transform: none; }
.arrival__copy.is-on .arrival__h { animation: textsheen 2.2s var(--sc-ease-out) 0.3s both; }
@keyframes textsheen { from { background-position: 100% 0; } to { background-position: 0% 0; } }
@media (max-width: 860px) {
  .arrival__frame { width: 100%; }
  .arrival__row { flex-direction: column; align-items: flex-start; }
  .arrival__row .btn { margin-left: 0; }
}
/* desktop: the hero film is the whole first page, the copy sits on it */
@media (min-width: 861px) {
  .arrival { height: 100svh; min-height: 0; padding: 0; display: block; }
  .arrival__frame { position: absolute; inset: 0; width: 100%; height: 100%; min-width: 0;
                    aspect-ratio: auto; border-radius: 0; box-shadow: none; }
  .arrival__frame > video.v { object-fit: cover; }
  .arrival__frame::after { /* a scrim only where the copy sits */
    content: ""; position: absolute; inset: 50% 0 0 0; z-index: 2; pointer-events: none;
    background: linear-gradient(to top, color-mix(in oklab, var(--sc-canvas) 82%, transparent), transparent);
  }
  .arrival__frame .snd { bottom: auto; top: calc(var(--bar) + 12px); right: var(--sc-gutter); }
  .arrival__copy { position: absolute; z-index: 3; left: var(--sc-gutter); right: var(--sc-gutter);
                   bottom: clamp(1.5rem, 5svh, 3.5rem); width: auto; pointer-events: none; }
  .arrival__copy .btn { pointer-events: auto; }
  .arrival__h { text-shadow: none; filter: drop-shadow(0 0.04em 0.4em rgba(0, 0, 0, 0.45)); }
}

/* ------------------------------------------------------------ 2 work ---- */
.films { display: flex; flex-direction: column; gap: clamp(4rem, 10vw, 8rem); padding-inline: var(--sc-gutter); }
.film { margin: 0; width: min(1020px, 100%); display: grid; gap: var(--sc-4); }
.film--lead { margin-right: auto; margin-left: max(0px, calc((100% - var(--sc-maxw)) / 2)); }
.film--trail { margin-left: auto; margin-right: max(0px, calc((100% - var(--sc-maxw)) / 2)); }
.film__cap { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.3rem 0.9rem; }
.film--trail .film__cap { justify-content: flex-end; text-align: right; }
.film__name { font-family: var(--sc-font-display); font-weight: 900; font-size: var(--sc-t-xl); text-transform: uppercase; }
.film__kind { color: var(--sc-ink); }
.film__credit { color: var(--sc-ink-soft); font-size: var(--sc-t-sm); }

/* ------------------------------------------------------- 3D to scene ---- */
/* The film fills the screen edge to edge (never cropped), one line on it. */
.scene { position: relative; padding-block: var(--sc-section); }
.scene__wrap { position: relative; width: min(100%, calc(100svh * 16 / 9)); margin-inline: auto; }
.scene__frame { border-radius: 0; box-shadow: none; }
.scene__wrap::after { /* a scrim only where the line sits */
  content: ""; position: absolute; inset: 45% 0 0 0; z-index: 2; pointer-events: none;
  background: linear-gradient(to top, color-mix(in oklab, var(--sc-canvas) 78%, transparent), transparent);
}
.scene__copy {
  position: absolute; z-index: 3; left: var(--sc-gutter); right: var(--sc-gutter); bottom: clamp(1.25rem, 4vw, 3rem);
  display: flex; flex-direction: column; gap: var(--sc-3); pointer-events: none;
}
.scene__h { font-size: min(clamp(1.5rem, 0.6rem + 4vw, 5rem), var(--fit, 100rem)); text-shadow: 0 0.04em 0.5em rgba(0, 0, 0, 0.5); }
@media (min-width: 601px) { .scene__h .ln { white-space: nowrap; } }
@media (max-width: 860px) {
  .scene__copy { position: static; padding: var(--sc-4) var(--sc-gutter) 0; }
  .scene__wrap::after { display: none; }
}

/* ------------------------------------------------------------- 2 cast ---- */
.viewfinder {
  width: 100%; max-width: var(--sc-maxw); margin-inline: auto; padding-inline: var(--sc-gutter);
  display: grid; grid-template-columns: auto minmax(0, 1fr); gap: var(--sc-6) var(--sc-8); align-items: center;
}
.viewfinder__frame { height: min(78svh, 760px); width: auto; }
.vf-corner { position: absolute; z-index: 3; width: 22px; height: 22px; pointer-events: none;
             border-color: color-mix(in oklab, var(--sc-ink) 70%, transparent); border-style: solid; border-width: 0; }
.vf-corner--tl { top: 14px; left: 14px; border-top-width: 1px; border-left-width: 1px; }
.vf-corner--tr { top: 14px; right: 14px; border-top-width: 1px; border-right-width: 1px; }
.vf-corner--bl { bottom: 14px; left: 14px; border-bottom-width: 1px; border-left-width: 1px; }
.vf-corner--br { bottom: 14px; right: 14px; border-bottom-width: 1px; border-right-width: 1px; }
.viewfinder__side { display: flex; flex-direction: column; gap: var(--sc-7); }
.who { min-height: 12rem; }
.who__name { font-family: var(--sc-font-display); font-weight: 900; text-transform: uppercase; font-size: var(--sc-t-4xl); line-height: 0.95; margin: 0; }
.who__role { color: var(--sc-ink-soft); margin: var(--sc-3) 0 0; font-size: 0.85rem; }
.who__line { font-size: clamp(0.95rem, 0.86rem + 0.32vw, 1.12rem); line-height: 1.5; margin: var(--sc-4) 0 0; max-width: 34ch; }
.who__line::before { content: "\201C"; color: var(--sc-accent); }
.who__line::after { content: "\201D"; color: var(--sc-accent); }
.who.is-swapping > * { opacity: 0; transform: translate3d(0, 6px, 0); }
.who > * { transition: opacity 360ms var(--sc-ease-out), transform 360ms var(--sc-ease-out); }
.takes { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: var(--sc-3); }
.take {
  display: flex; flex-direction: column; gap: 6px; align-items: flex-start;
  background: none; border: 0; padding: 0; cursor: pointer; color: var(--sc-ink-soft);
  font-size: var(--sc-t-xs); font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
}
.take img { width: 64px; aspect-ratio: 9/16; object-fit: cover; border-radius: 2px;
            opacity: 0.55; box-shadow: 0 0 0 1px var(--hair);
            transition: opacity var(--sc-d-base) var(--sc-ease-out), box-shadow var(--sc-d-base) var(--sc-ease-out); }
.take:hover img { opacity: 0.9; }
.take[aria-pressed="true"] { color: var(--sc-accent); }
.take[aria-pressed="true"] img { opacity: 1; box-shadow: 0 0 0 1px var(--sc-accent); }
/* desktop: the whole cast section fits one screen, so the tab lands on all of it */
@media (min-width: 861px) {
  .room--cast { min-height: 100svh; padding-block: calc(var(--bar) + 1rem) 1.5rem;
                display: flex; flex-direction: column; justify-content: center; }
  .room--cast .room__head { margin-bottom: clamp(1rem, 3svh, 2.5rem); }
  .room--cast .h-head { font-size: min(5.8rem, 9.4vw, 11svh, var(--fit, 100rem)); }
  .room--cast .viewfinder__frame { height: min(760px, calc(100svh - var(--bar) - 5.5rem - min(5.8rem, 9.4vw, 11svh))); }
}
@media (max-width: 860px) {
  .viewfinder { grid-template-columns: 1fr; justify-items: center; }
  .viewfinder__frame { height: min(68svh, 640px); }
  .viewfinder__side { width: 100%; gap: var(--sc-5); }
  .who { min-height: 0; }
  .who__name { font-size: var(--sc-t-3xl); }
  .takes { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 4px; }
  .take img { width: 52px; }
}

/* ------------------------------------------------------- 2 brand faces -- */
.faces { position: relative; }
.faces__stage { display: flex; flex-direction: column; justify-content: center; gap: clamp(1.5rem, 4vh, 3rem);
                padding-top: calc(var(--bar) + 1rem); padding-bottom: 1.5rem; }
.faces__intro { position: relative; z-index: 1; width: 100%; max-width: var(--sc-maxw); margin-inline: auto;
                padding-inline: var(--sc-gutter); display: grid; grid-template-columns: auto 1fr; gap: var(--sc-4) var(--sc-7);
                align-items: end; }
.faces__intro .h-head { font-size: min(4.6rem, 9.4vw, var(--fit, 100rem)); }
.faces__intro .lede { max-width: 38ch; }
.rail {
  position: relative; z-index: 1;
  --h: min(54svh, 540px);
  width: max-content; gap: clamp(1.5rem, 3vw, 3rem); align-items: flex-start;
  padding-inline: max(var(--sc-gutter), calc((100vw - var(--sc-maxw)) / 2 + var(--sc-gutter)));
}
.clip { margin: 0; display: grid; gap: var(--sc-3); }
.clip--wide .frame, .clip--tall .frame { height: var(--h); width: auto; }
.clip figcaption { display: flex; gap: 0.6rem; align-items: baseline; }
.clip__who { font-weight: 500; }
@media (max-width: 860px) {
  .faces__intro { grid-template-columns: 1fr; }
  .rail { --h: min(48svh, 440px); }
  .clip--wide .frame { height: auto; width: min(86vw, calc(var(--h) * 16 / 9)); }
}

/* -------------------------------------------------------------- artworks --
   One screen. The centre picture sits at card size and the nine others stand
   around it from the first moment (nothing fans out on scroll). Click one: it
   swaps places with the centre picture. A red line sweeps the centre picture
   with a narrow x-ray band (the picture in negative) riding on it. Quick, on
   landing and on every swap. Nothing leaves the wall. */
.wall { position: relative; }
.wall__stage { position: relative; height: 100svh; min-height: 520px; overflow: clip; }
.wall__hero {
  --cw: min(34vw, calc(64svh * var(--ar)));        /* card width; 34vw keeps wide pictures clear of the others */
  --cy: calc(var(--bar) * 0.5);                     /* sit a touch below the bar */
  position: absolute; z-index: 3; left: 50%; top: calc(50% + var(--cy)); margin: 0;
  width: var(--cw); height: calc(var(--cw) / var(--ar));
  transform: translate(-50%, -50%);
  border-radius: 3px; overflow: hidden; background: #000;
  box-shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.8), 0 0 0 1px var(--hair);
}
.wall__hero.is-morph { transition: width 420ms var(--sc-ease-out), height 420ms var(--sc-ease-out); }
.wall__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block;
             transition: opacity 180ms var(--sc-ease-out); }
.wall__hero.is-out .wall__img { opacity: 0; }
/* the x-ray band: the same picture in negative, clipped to a strip that rides on the line */
.wall__x {
  position: absolute; inset: 0; z-index: 1; pointer-events: none; opacity: 0;
  background: var(--img) center / cover no-repeat;
  filter: invert(1) grayscale(1) contrast(1.3) brightness(0.85);
}
.scan {
  position: absolute; left: 0; right: 0; top: 0; z-index: 2; height: 2px; pointer-events: none; opacity: 0;
  background: var(--scan);
  box-shadow: 0 0 16px 4px color-mix(in oklab, var(--scan) 60%, transparent);
}
.wall__hero.is-scan .wall__x { animation: xray 560ms cubic-bezier(0.45, 0, 0.25, 1) both; }
.wall__hero.is-scan .scan { animation: scanline 560ms cubic-bezier(0.45, 0, 0.25, 1) both; }
@keyframes xray {
  0%   { opacity: 1; clip-path: inset(-9% 0 100% 0); }
  92%  { opacity: 1; }
  100% { opacity: 0; clip-path: inset(91% 0 0 0); }
}
@keyframes scanline { 0% { top: 0; opacity: 1; } 92% { opacity: 1; } 100% { top: 100%; opacity: 0; } }

.wall__sats { position: absolute; inset: 0; z-index: 2; }
.sat {
  position: absolute; left: 50%; top: calc(50% + var(--bar) * 0.5);
  width: var(--w); aspect-ratio: var(--ar); padding: 0; border: 0; background: #000; cursor: pointer;
  border-radius: 3px; overflow: hidden; box-shadow: 0 20px 50px -24px rgba(0, 0, 0, 0.9), 0 0 0 1px var(--hair);
  transform: translate(calc(-50% + var(--x)), calc(-50% + var(--y)));
}
.sat img { width: 100%; height: 100%; object-fit: cover; display: block; opacity: 0.72;
           transition: opacity var(--sc-d-base) var(--sc-ease-out), transform 700ms var(--sc-ease-out); }
.sat:hover img, .sat:focus-visible img { opacity: 1; transform: scale(1.03); }
.sat:focus-visible { outline: 1px solid var(--sc-accent); outline-offset: 3px; }
.sat.is-out img { opacity: 0; transition-duration: 180ms; }

/* phones: the centre card sits higher, the others line up in a swipe strip */
@media (max-width: 860px) {
  .wall__hero { --cw: min(78vw, calc(50svh * var(--ar))); --cy: -9svh; }
  .wall__sats {
    inset: auto 0 calc(env(safe-area-inset-bottom) + 3svh) 0; height: 18svh;
    display: flex; gap: 10px; overflow-x: auto; padding-inline: var(--sc-gutter); scrollbar-width: none;
  }
  .wall__sats::-webkit-scrollbar { display: none; }
  .sat { position: relative; left: auto; top: auto; flex: none; height: 100%; width: auto; transform: none; }
}

/* --------------------------------------------------------------- concept --
   SVALEXA on the editing desk. A monitor, the brand card beside it, a
   timeline below. When the section lands the four characters drop into the
   timeline and onto the monitor, then the chalet; the film plays; the logo
   closes it. Nothing is cropped in the monitor: every picture is contained. */
.sv { position: relative; padding-block: var(--sc-section); overflow-x: clip; /* a clip flying in never widens the page */ }
.sv__wrap { width: 100%; max-width: var(--sc-maxw); margin-inline: auto; padding-inline: var(--sc-gutter);
            display: flex; flex-direction: column; gap: clamp(0.75rem, 2svh, 1.5rem); }
.sv__head { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 1rem clamp(1.5rem, 4vw, 4rem); align-items: end; }
.sv__h { font-size: min(3.2rem, var(--fit, 100rem)); }
.sv__sub { margin: 0.45rem 0 0; font-family: var(--sc-font-display); font-weight: 900; text-transform: uppercase;
           font-size: clamp(1rem, 0.7rem + 0.9vw, 1.5rem); line-height: 1; color: var(--sc-accent); }
.sv__p { margin: 0; font-size: 0.78rem; line-height: 1.55; color: var(--sc-ink-soft); text-wrap: pretty; }

.ed {
  --mh: clamp(200px, calc(100svh - var(--bar) - 21.25rem), 560px);   /* monitor height: the whole desk fits one screen */
  position: relative; display: flex; flex-direction: column;
  background: color-mix(in oklab, #050402 94%, transparent);
  border-radius: 2px; box-shadow: 0 0 0 1px var(--hair-strong), var(--sc-e3);
}
.ed__top {
  display: flex; align-items: center; gap: clamp(0.75rem, 2vw, 1.5rem); padding: 0.45rem 0.6rem 0.45rem 0.8rem;
  border-bottom: 1px solid var(--hair);
  font-family: var(--sc-font-mono); font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--sc-ink-soft);
}
.ed__state { margin-right: auto; color: var(--sc-ink); }
.ed__state::before { content: ""; display: inline-block; width: 7px; height: 7px; margin-right: 9px; border-radius: 50%;
                     background: var(--sc-accent); }
.ed.is-running .ed__state::before { animation: recblink 0.7s steps(2, jump-none) infinite; }
.ed__tc { color: var(--sc-ink); font-variant-numeric: tabular-nums; }
.ed__replay { min-height: 28px; padding: 0 0.7rem; font-size: 11px; }
.ed__main { display: grid; grid-template-columns: minmax(0, 1fr) clamp(170px, 19%, 250px); gap: 10px; padding: 10px; }
.ed__monitor { width: min(100%, calc(var(--mh) * 16 / 9)); justify-self: center; align-self: center;
               border-radius: 0; box-shadow: 0 0 0 1px var(--hair); }
.ed__board, .ed__full {
  position: absolute; inset: 0; z-index: 3; opacity: 0; pointer-events: none;
  transition: opacity 160ms linear;
}
.ed__board { display: flex; justify-content: center; align-items: center; gap: 2%; background: #0b0a08; }
.ed__board img {
  width: 21%; height: auto; display: block; opacity: 0;
  transform: translate3d(0, -16px, 0) scale(1.05);
  transition: opacity 180ms linear, transform 340ms cubic-bezier(0.2, 0.9, 0.25, 1);
  box-shadow: 0 0 0 1px var(--hair);
}
.ed__board img.is-on { opacity: 1; transform: none; }
.ed__full { width: 100%; height: 100%; object-fit: contain; background: #000; }
.ed[data-stage="-1"] .ed__board, .ed[data-stage="0"] .ed__board, .ed[data-stage="1"] .ed__board,
.ed[data-stage="2"] .ed__board, .ed[data-stage="3"] .ed__board { opacity: 1; }
.ed[data-stage="4"] #ed-chalet { opacity: 1; }
.ed[data-stage="6"] #ed-logo { opacity: 1; }

/* the brand card: both logos, the claim, the colours */
.ed__brand { display: flex; flex-direction: column; min-height: 0; background: #F4F0E9; color: #1E4B3C; }
.ed__logo { flex: 1; display: grid; place-items: center; padding: 8% 10%; min-height: 0; }
.ed__logo img { width: 100%; height: auto; display: block; }
.ed__logo--light { background: var(--sv-cream, #F4F0E9); }
.ed__logo--green { background: var(--sv-green, #234F43); }
.ed__brandfoot { display: flex; flex-direction: column; align-items: center; gap: 0.5rem; padding: 0.7rem 0.6rem 0.6rem; }
.sv__claim { margin: 0; color: #1E4B3C; font-size: 0.72rem; text-align: center; }
.sv__swatches { display: flex; gap: 6px; }
.sv__swatches i { width: 12px; height: 12px; border-radius: 50%; box-shadow: 0 0 0 1px rgba(30, 75, 60, 0.25); }
.ed__cap { margin: 0.15rem 0 0; align-self: flex-start; font-family: var(--sc-font-mono); font-size: 11px;
           letter-spacing: 0.08em; text-transform: uppercase; color: #1E4B3C; }

/* the timeline: a tick ruler, seven clips, a gold playhead */
.ed__timeline {
  position: relative; z-index: 4; padding: 20px 10px 10px; border-top: 1px solid var(--hair);
  background: repeating-linear-gradient(to right, var(--hair-strong) 0 1px, transparent 1px 44px) 10px 7px / calc(100% - 20px) 6px no-repeat;
}
.ed__track { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; height: clamp(46px, 8svh, 66px); }
.ed__track li { flex: 0 0 8.5%; min-width: 0; }
.ed__track li:nth-child(5) { flex-basis: 13%; }
.ed__track li:nth-child(6) { flex: 1 1 auto; }
.ed__track li:nth-child(7) { flex-basis: 11%; }
.clip-ed {
  position: relative; display: block; width: 100%; height: 100%; padding: 0; border: 0; cursor: pointer;
  border-radius: 4px; overflow: hidden;
  background: #14110c var(--img) center 16% / cover no-repeat;
  box-shadow: inset 0 0 0 1px color-mix(in oklab, var(--sc-ink) 50%, transparent);
  opacity: 0; transform: translate3d(26px, -130px, 0) rotate(4deg) scale(1.14);
  transition: transform 380ms cubic-bezier(0.2, 0.9, 0.25, 1), opacity 140ms linear, box-shadow var(--sc-d-base) var(--sc-ease-out);
}
.clip-ed.is-in { opacity: 1; transform: none; }
.clip-ed--film { background-position: left center; background-size: auto 100%; background-repeat: repeat-x; }
.clip-ed--logo { background-position: center; }
.clip-ed:hover, .clip-ed:focus-visible { box-shadow: inset 0 0 0 1px var(--sc-accent); outline: none; }
.clip-ed span {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 10px 6px 3px; text-align: left;
  font-family: var(--sc-font-mono); font-size: 9px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--sc-ink);
  background: linear-gradient(to top, rgba(0, 0, 0, 0.75), transparent);
}
.ed__playhead {
  position: absolute; top: 5px; bottom: 6px; left: 10px; width: 1px; pointer-events: none;
  background: var(--sc-accent); box-shadow: 0 0 8px 1px color-mix(in oklab, var(--sc-accent) 60%, transparent);
  transform: translateX(var(--hx, 0px)); transition: transform 220ms var(--sc-ease-out);
}
.ed__playhead::before { content: ""; position: absolute; left: -4px; top: 0; width: 9px; height: 9px; background: var(--sc-accent);
                        clip-path: polygon(0 0, 100% 0, 50% 100%); }
.ed[data-stage="5"] .ed__playhead { transition: none; }

/* desktop: the whole Concept section fits one screen, so the tab lands on all of it */
@media (min-width: 861px) {
  .sv { min-height: 100svh; padding-block: calc(var(--bar) + 0.75rem) 1rem; display: flex; align-items: center; }
}
@media (max-width: 860px) {
  .sv__head { grid-template-columns: 1fr; }
  .ed { --mh: 56vw; }
  .ed__main { grid-template-columns: 1fr; }
  .ed__monitor { width: 100%; }
  .ed__brand { flex-direction: row; flex-wrap: wrap; }
  .ed__logo { flex: 1 1 40%; padding: 6% 8%; }
  .ed__brandfoot { flex: 1 1 100%; flex-direction: row; justify-content: space-between; align-items: center; }
  .ed__cap { align-self: auto; margin: 0; }
  .ed__proj { display: none; }
  .ed__track li { flex-basis: 10%; }
  .ed__track li:nth-child(5) { flex-basis: 13%; }
  .ed__track li:nth-child(7) { flex-basis: 12%; }
  .clip-ed span { font-size: 0; padding: 0; }
}

/* ---------------------------------------------------------------- about -- */
.about { padding: var(--sc-section) var(--sc-gutter); }
.about__grid { max-width: var(--sc-maxw); margin-inline: auto; display: grid;
               grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr); gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.about__photo {
  aspect-ratio: 4 / 5; border-radius: 3px; display: grid; place-items: center;
  background: linear-gradient(160deg, var(--sc-surface), var(--sc-canvas));
  box-shadow: 0 0 0 1px var(--hair);
}
.about__photo img { width: 72px; height: 72px; opacity: 0.25; border-radius: 50%; }
.about__copy { display: flex; flex-direction: column; gap: var(--sc-4); }
.about__copy .h-head { font-size: min(6.4rem, 14vw); }
.about__title { margin: 0; color: var(--sc-accent); text-transform: uppercase; }
.about__copy .lede { max-width: 46ch; }
.about__hire { margin: var(--sc-3) 0 0; color: var(--sc-ink-soft); }
@media (max-width: 860px) { .about__grid { grid-template-columns: 1fr; } .about__photo { max-width: 420px; } }
/* desktop: About fits one screen, so the tab lands on all of it */
@media (min-width: 861px) {
  .about { min-height: 100svh; display: flex; align-items: center; padding-block: calc(var(--bar) + 1rem) 1.5rem; }
  .about__grid { width: 100%; }
  .about__photo { width: min(100%, calc((100svh - var(--bar) - 3rem) * 0.8)); justify-self: center; }
}

/* ------------------------------------------------------ 3 your world ---- */
/* The brief plays on a game screen: a dark monitor with a gold glow, scan
   lines, corner marks, a status line on top and a block progress bar. */
.game {
  position: relative; isolation: isolate;
  width: min(var(--sc-maxw), calc(100% - 2 * var(--sc-gutter))); margin-inline: auto;
  background: color-mix(in oklab, #050402 92%, transparent);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border-radius: 2px;
  box-shadow: 0 0 0 1px var(--gold-soft), 0 0 70px -18px color-mix(in oklab, var(--sc-accent) 55%, transparent),
              0 0 180px -60px var(--sc-accent), var(--sc-e3);
  padding: clamp(1.5rem, 4vw, 3.5rem);
  display: flex; flex-direction: column; gap: clamp(1.5rem, 3vw, 2.5rem);
  min-height: min(640px, 80svh);
}
.game::before { /* scan lines */
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: repeating-linear-gradient(to bottom, transparent 0 2px, color-mix(in oklab, var(--sc-ink) 3.5%, transparent) 2px 3px);
}
.game::after { /* corner marks */
  --bk: color-mix(in oklab, var(--sc-accent) 80%, transparent);
  content: ""; position: absolute; inset: 9px; z-index: -1; pointer-events: none;
  background-image: linear-gradient(var(--bk) 0 0), linear-gradient(var(--bk) 0 0), linear-gradient(var(--bk) 0 0), linear-gradient(var(--bk) 0 0),
                    linear-gradient(var(--bk) 0 0), linear-gradient(var(--bk) 0 0), linear-gradient(var(--bk) 0 0), linear-gradient(var(--bk) 0 0);
  background-repeat: no-repeat;
  background-position: 0 0, 0 0, 100% 0, 100% 0, 0 100%, 0 100%, 100% 100%, 100% 100%;
  background-size: 16px 1px, 1px 16px, 16px 1px, 1px 16px, 16px 1px, 1px 16px, 16px 1px, 1px 16px;
}
.game__top { display: flex; flex-direction: column; gap: var(--sc-3); }
.game__hud {
  margin: 0; display: flex; justify-content: space-between; gap: 1rem;
  font-family: var(--sc-font-mono); font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--sc-ink-soft);
}
.game__hud #game-count, .game__hud #game-pct { color: var(--sc-ink); }
.game__rec i { display: inline-block; width: 7px; height: 7px; margin-right: 9px; border-radius: 50%;
               background: var(--sc-accent); animation: recblink 1.2s steps(2, jump-none) infinite; }
@keyframes recblink { from { opacity: 1; } to { opacity: 0.15; } }
.game__bar { height: 7px; background: var(--hair); overflow: hidden;
             -webkit-mask-image: repeating-linear-gradient(to right, #000 0 10px, transparent 10px 14px);
                     mask-image: repeating-linear-gradient(to right, #000 0 10px, transparent 10px 14px); }
.game__bar span { display: block; height: 100%; width: 0; background: var(--sc-accent);
                  transition: width 520ms steps(8, end); }
.trail { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.5rem; min-height: 2rem; }
.trail button {
  background: none; border: 0; cursor: pointer; padding: 0.4rem 0.7rem; border-radius: 0;
  box-shadow: inset 0 0 0 1px var(--gold-soft); color: var(--sc-ink);
  font-size: 11px; letter-spacing: 0.04em; text-transform: uppercase;
  animation: chipin 420ms var(--sc-ease-out) both;
}
.trail button:hover { box-shadow: inset 0 0 0 1px var(--sc-accent); color: var(--sc-accent); }
@keyframes chipin { from { opacity: 0; transform: translate3d(0, 6px, 0) scale(0.96); } to { opacity: 1; transform: none; } }

.game__steps { flex: 1; display: grid; }
.step { grid-area: 1 / 1; border: 0; margin: 0; padding: 0; min-width: 0; }
.step[hidden] { display: none; }
.step.is-enter { animation: stepin 520ms var(--sc-ease-out) both; }
.step.is-back { animation: stepback 520ms var(--sc-ease-out) both; }
@keyframes stepin { from { opacity: 0; transform: translate3d(36px, 0, 0); } to { opacity: 1; transform: none; } }
@keyframes stepback { from { opacity: 0; transform: translate3d(-36px, 0, 0); } to { opacity: 1; transform: none; } }
.step__q {
  padding: 0; margin: 0 0 clamp(1.25rem, 3vw, 2rem);
  font-family: var(--sc-font-display); text-transform: uppercase; font-weight: 900;
  font-size: clamp(1.5rem, 0.9rem + 2.4vw, 3.2rem); line-height: 1;
}
.step__q small { display: block; margin-top: 0.6rem; font-family: var(--sc-font-text); text-transform: none;
                 font-weight: 400; font-size: var(--sc-t-sm); color: var(--sc-ink-soft); letter-spacing: 0; }

.tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 15rem), 1fr)); gap: 0.75rem; }
.tiles--small { grid-template-columns: repeat(auto-fill, minmax(min(100%, 12rem), 1fr)); }
.tile { position: relative; cursor: pointer; }
.tile input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.tile span {
  display: flex; align-items: center; min-height: 72px; padding: 1rem 1.25rem;
  border-radius: 3px; box-shadow: inset 0 0 0 1px var(--hair-strong);
  background: color-mix(in oklab, var(--sc-canvas) 50%, transparent);
  font-size: 0.95rem; font-weight: 400; line-height: 1.3;
  transition: box-shadow var(--sc-d-fast) var(--sc-ease-out), background var(--sc-d-fast) var(--sc-ease-out),
              color var(--sc-d-fast) var(--sc-ease-out), transform var(--sc-d-fast) var(--sc-ease-out);
}
.tiles--small .tile span { min-height: 54px; font-size: var(--sc-t-base); }
/* each answer carries its number, like a menu on a game screen */
.tiles { counter-reset: ans; }
.tile > span { position: relative; border-radius: 0; padding-right: 2.6rem; }
.tile > span::after {
  counter-increment: ans; content: counter(ans, decimal-leading-zero);
  position: absolute; top: 9px; right: 11px;
  font-family: var(--sc-font-mono); font-size: 11px; font-weight: 400; letter-spacing: 0.04em;
  color: var(--sc-accent); opacity: 0.8;
}
.tile input:checked + span::after { color: var(--sc-accent-ink); }
.tile:hover span { box-shadow: inset 0 0 0 1px color-mix(in oklab, var(--sc-accent) 70%, transparent); transform: translateY(-2px); }
.tile input:checked + span { background: var(--sc-accent); color: var(--sc-accent-ink); box-shadow: none; }
.tile input:focus-visible + span { outline: 2px solid var(--sc-accent); outline-offset: 3px; }
.tile input:disabled + span { opacity: 0.3; transform: none; cursor: not-allowed; }
.tile--alt span { box-shadow: inset 0 0 0 1px var(--hair); font-style: italic; }
/* answer + what you receive with it; four answers sit two by two */
.tiles--rx { grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr)); }
.tiles--rx:has(> :nth-child(4)) { grid-template-columns: repeat(auto-fit, minmax(min(100%, 20rem), 1fr)); }
@media (min-width: 861px) { .tiles--rx:has(> :nth-child(4)) { grid-template-columns: repeat(2, 1fr); } }
.tiles--rx .tile span { flex-direction: column; align-items: flex-start; justify-content: center; gap: 0.35rem; min-height: 96px; }
.tiles--rx em { font-style: normal; }
.tiles--rx small { font-size: 0.74rem; font-weight: 400; line-height: 1.4; color: var(--sc-ink-soft);
                   transition: color var(--sc-d-fast) var(--sc-ease-out); }
.tiles--rx .tile input:checked + span small { color: color-mix(in oklab, var(--sc-accent-ink) 72%, transparent); }

.addons { margin-top: var(--sc-6); transition: opacity var(--sc-d-slow) var(--sc-ease-out); }
.addons[aria-disabled="true"] { opacity: 0.45; }
.addons[hidden] { display: none; }
.addons__h { margin: 0 0 var(--sc-3); font-size: var(--sc-t-xs); font-weight: 600; letter-spacing: 0.16em;
             text-transform: uppercase; color: var(--sc-ink-soft); }

.field {
  width: 100%; background: color-mix(in oklab, var(--sc-canvas) 60%, transparent);
  border: 0; border-radius: 3px; box-shadow: inset 0 0 0 1px var(--hair-strong);
  padding: 0.9rem 1rem; color: var(--sc-ink); font-size: var(--sc-t-lg); line-height: 1.5;
}
.field:focus { outline: none; box-shadow: inset 0 0 0 1px var(--sc-accent); }
.field.is-bad { box-shadow: inset 0 0 0 1px #c46a4f; }
textarea.field { resize: vertical; min-height: 9rem; }
.date { margin-top: var(--sc-4); max-width: 18rem; color-scheme: dark; }
.contact { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--sc-4); }
.lbl { display: grid; gap: 6px; font-size: var(--sc-t-sm); color: var(--sc-ink-soft); }

.step--review .step__q { margin-bottom: var(--sc-3); }
.review__status { margin: 0 0 var(--sc-5); color: var(--sc-ink-soft); }
.review__status #sum-state { color: var(--sc-accent); }
.review__list { margin: 0 0 var(--sc-6); display: grid; grid-template-columns: repeat(auto-fill, minmax(14rem, 1fr)); gap: var(--sc-4) var(--sc-6); }
.review__list div { display: grid; gap: 3px; }
.review__list dt { font-size: var(--sc-t-xs); color: var(--sc-ink-soft); letter-spacing: 0.1em; text-transform: uppercase; }
.review__list dd { margin: 0; white-space: pre-line; }
.review__thanks { margin: var(--sc-4) 0 0; font-size: var(--sc-t-lg); }

.game__nav { display: flex; align-items: center; gap: var(--sc-4); border-top: 1px solid var(--hair); padding-top: var(--sc-5); }
.game__back { background: none; border: 0; cursor: pointer; color: var(--sc-ink-soft); padding: 0.5rem 0;
              font-size: var(--sc-t-sm); letter-spacing: 0.08em; text-transform: uppercase; }
.game__back:hover { color: var(--sc-ink); }
.game__back[hidden] { display: inline-block; visibility: hidden; }
.game__hint { margin: 0; color: #d98a6f; font-size: var(--sc-t-sm); }
/* a visitor who clicked Contact also finds the address, without the quiz */
.game__direct { margin: 0; font-size: 0.74rem; color: var(--sc-ink-soft); }
.game__direct .link { white-space: nowrap; }
.game__next { margin-left: auto; }
.game__next[hidden] { display: none; }

.answers { width: 100%; max-width: var(--sc-maxw); margin: clamp(4rem, 9vw, 7rem) auto 0; padding-inline: var(--sc-gutter); }
.answers .label { margin-bottom: var(--sc-4); }
.answers details { border-top: 1px solid var(--hair); max-width: 52rem; }
.answers details:last-of-type { border-bottom: 1px solid var(--hair); }
.answers summary {
  cursor: pointer; list-style: none; padding: 1.1rem 0; font-size: var(--sc-t-lg);
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
}
.answers summary::-webkit-details-marker { display: none; }
.answers summary::after { content: "+"; color: var(--sc-accent); font-size: 1.4em; line-height: 1; transition: transform var(--sc-d-base) var(--sc-ease-out); }
.answers details[open] summary::after { transform: rotate(45deg); }
.answers details p { margin: 0 0 1.2rem; color: var(--sc-ink-soft); max-width: 48ch; }

/* desktop: the headline and the brief fit one screen, so the tab lands on both */
@media (min-width: 861px) {
  .room--world { --wh: min(5.8rem, 9.4vw, 8svh); padding-top: calc(var(--bar) + 1rem); }
  .room--world .room__head { margin-bottom: clamp(1rem, 3svh, 2.5rem); }
  .room--world .h-head { font-size: min(var(--wh), var(--fit, 100rem)); }
  .room--world .game {
    min-height: calc(100svh - var(--bar) - 3 * var(--wh) - 5.5rem);
    padding: clamp(1.25rem, min(4vw, 4svh), 3.5rem); gap: clamp(0.9rem, 2.4svh, 2.5rem);
  }
  .room--world .step__q { font-size: clamp(1.5rem, min(0.9rem + 2.4vw, 5.6svh), 3.2rem); margin-bottom: clamp(0.9rem, 2.4svh, 2rem); }
  .room--world .tiles--rx .tile span { min-height: clamp(72px, 11.5svh, 96px); }
  .room--world .game__nav { padding-top: clamp(0.75rem, 2svh, 1.5rem); }
}
@media (max-width: 860px) {
  .contact { grid-template-columns: 1fr; }
  .tile span { min-height: 60px; font-size: var(--sc-t-base); }
  .game { min-height: 0; }
}

/* --------------------------------------------------------------- close -- */
.close { padding: var(--sc-section) var(--sc-gutter) clamp(3rem, 6vw, 5rem); }
.close__seal { width: min(300px, 56vw); aspect-ratio: 1; margin: 0 auto clamp(3rem, 7vw, 5rem); }
.close__h { max-width: var(--sc-maxw); margin: 0 auto clamp(2.5rem, 6vw, 4.5rem); font-size: min(7rem, 10.5vw, var(--fit, 100rem)); }
.close__grid { max-width: var(--sc-maxw); margin-inline: auto; display: grid; grid-template-columns: 1fr 1fr;
               gap: var(--sc-6); border-top: 1px solid var(--hair); padding-top: var(--sc-6); }
.close__block p { margin: 0 0 0.35rem; }
.close__name { font-family: var(--sc-font-display); font-weight: 900; font-size: var(--sc-t-xl); }
.close__contact { display: flex; flex-direction: column; gap: var(--sc-3); align-items: flex-start; }
.mail { margin: 0 0 var(--sc-3); display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; }
.mail a {
  color: var(--sc-ink); text-decoration: none; font-size: clamp(0.95rem, 0.5rem + 1.6vw, 1.5rem);
  border-bottom: 1px solid var(--hair-strong); padding-bottom: 2px;
  transition: color var(--sc-d-base) var(--sc-ease-out), border-color var(--sc-d-base) var(--sc-ease-out);
}
.mail a:hover { color: var(--sc-accent); border-color: var(--sc-accent); }
.copy { background: none; border: 1px solid var(--hair-strong); color: var(--sc-ink-soft); border-radius: 2px;
        padding: 5px 12px; font-size: 0.7rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; cursor: pointer; }
.copy:hover { color: var(--sc-accent); border-color: var(--sc-accent); }
.social { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.5rem 2rem; }
.social a, .social button {
  background: none; border: 0; padding: 0.3rem 0; cursor: pointer;
  color: var(--sc-ink-soft); text-decoration: none; font: inherit;
  font-size: var(--sc-t-xs); font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase;
  transition: color var(--sc-d-base) var(--sc-ease-out);
}
.social a span { display: inline-block; margin-left: 0.25em; transition: transform var(--sc-d-base) var(--sc-ease-out); }
.social a:hover, .social button:hover { color: var(--sc-accent); }
.social a:hover span { transform: translate(2px, -2px); }
@media (max-width: 860px) { .close__grid { grid-template-columns: 1fr; } }

/* ------------------------------------------------------- chapter change --
   Between two chapters the seal's pieces fly in, lock into the seal while it
   crosses the middle of the screen, and drift apart again as it leaves.
   --k (0 apart, 1 whole) is written by ibraa.js; each piece has its own delay. */
.shards { position: relative; height: 62svh; display: grid; place-items: center; align-content: center; gap: 1.75rem;
          overflow: clip; --k: 1; }
.shards__seal { position: relative; width: min(30svh, 46vw); aspect-ratio: 1; perspective: 900px; }
.shard {
  position: absolute; inset: 0;
  background: url("assets/seal-640.webp") center / 100% 100% no-repeat;
}
.shard {
  --e: clamp(0, calc((var(--k) - var(--dl)) / 0.55), 1); --u: calc(1 - var(--e));
  clip-path: var(--cp); transform-origin: var(--ox) var(--oy);
  transform: translate3d(calc(var(--dx) * var(--u)), calc(var(--dy) * var(--u)), calc(var(--dz) * var(--u)))
             rotateX(calc(var(--rx) * var(--u))) rotateY(calc(var(--ry) * var(--u))) rotate(calc(var(--rz) * var(--u)));
  opacity: clamp(0, calc(var(--e) * 1.8), 1);
  will-change: transform, opacity;
}
/* Once whole, the pieces give way to two layers of the same seal: the face,
   which stays upright, and the outer lotus ring, which turns anticlockwise
   with the scroll (--ring, written by ibraa.js). It no longer breaks apart. */
.shards__face, .shards__ring {
  position: absolute; inset: 0; opacity: 0;
  background: url("assets/seal-640.webp") center / 100% 100% no-repeat;
}
.shards__face { clip-path: circle(35.6%); }
.shards__ring {
  -webkit-mask-image: radial-gradient(circle farthest-side at center, transparent 71%, #000 71.4%);
          mask-image: radial-gradient(circle farthest-side at center, transparent 71%, #000 71.4%);
  transform: rotate(var(--ring, 0deg)); will-change: transform;
}
.shards.is-whole .shards__face, .shards.is-whole .shards__ring { opacity: 1; }
.shards.is-whole .shard { visibility: hidden; }
.shards__cap {
  margin: 0; display: flex; align-items: center; gap: 1rem; width: min(30rem, 78vw);
  font-family: var(--sc-font-mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--sc-ink-soft);
  white-space: nowrap; opacity: clamp(0, calc((var(--k) - 0.55) / 0.4), 1);
}
.shards__cap::before, .shards__cap::after { content: ""; flex: 1; height: 1px; background: var(--hair-strong); }
.shards__cap b { font-weight: 400; color: var(--sc-accent); margin-right: 0.8em; }

/* the mono face: small labels and controls only, never headlines or paragraphs */
.btn, .lang button, .bar__menu, .sv__n, .take, .about__title, .social a, .social button, .copy,
.game__back, .trail button, .review__list dt, .scrub__time, .lbl {
  font-family: var(--sc-font-mono); font-weight: 400;
}
.sv__n, .take, .about__title, .social a, .social button, .copy, .game__back { font-size: 11px; letter-spacing: 0.08em; }
.btn { letter-spacing: 0.04em; }

/* ------------------------------------------- motion off / reduced motion --
   Motion off = the engine never mounts. Everything shows at rest. */
.motion-off .grain, .motion-reduced .grain { animation: none; }
.motion-off .coin img, .motion-reduced .coin img { animation: none; }
.motion-off .game__rec i, .motion-reduced .game__rec i { animation: none; }
.motion-off .shards, .motion-reduced .shards { height: auto; padding-block: clamp(3rem, 8vw, 6rem); }
.motion-off [data-sc-cue], .motion-off [data-sc-in], .motion-off [data-sc-stagger] > * {
  opacity: 1 !important; transform: none !important;
}
.motion-off .glow .w, .motion-reduced .glow .w { transform: none; }
.motion-off .rv .ln > span, .motion-reduced .rv .ln > span { transform: none; transition: none; }
.motion-off .bloom::before, .motion-reduced .bloom::before { animation: none; }
.motion-off .glow .ln, .motion-reduced .glow .ln { transform: none; opacity: 1; transition: none; }
.motion-off .bar__cta, .motion-reduced .bar__cta { animation: none; }
.motion-off .clip-ed, .motion-reduced .clip-ed { transition: none; }
.motion-off .ed__state::before, .motion-reduced .ed__state::before { animation: none; }
.motion-off .bg { display: none; }
.motion-off .arrival__copy { opacity: 1; transform: none; transition: none; }
.motion-off .rail { width: auto; overflow-x: auto; padding-bottom: 8px; }
.motion-off .faces__stage { padding-block: var(--sc-section); }
.motion-off .wall__hero.is-scan .wall__x, .motion-off .wall__hero.is-scan .scan,
.motion-reduced .wall__hero.is-scan .wall__x, .motion-reduced .wall__hero.is-scan .scan { animation: none; }
.motion-off .seal img, .motion-reduced .seal img { animation: none !important; opacity: 1 !important; }
.motion-off .seal::after, .motion-reduced .seal::after { animation: none; }
.motion-off .arrival__h, .motion-reduced .arrival__h { animation: none !important; color: var(--sc-ink); background: none; }
.motion-reduced .arrival__copy { transition-duration: 1ms; }
.motion-reduced .step, .motion-off .step { animation: none !important; }

/* ============================================================================
   ROUND 3 (13 Nov 2026). His 11 marks plus the review fixes. These rules come
   last on purpose: they replace the older ones above where both exist.
   ========================================================================== */

/* ---- black background: no gold glow anywhere ---- */
.bloom::before { display: none; }

/* ---- paragraphs are set in the sans face; labels and controls stay mono ---- */
.lede { font-size: clamp(1rem, 0.9rem + 0.4vw, 1.22rem); line-height: 1.55; }
.body { font-size: 0.95rem; }
.who__role { font-size: 0.95rem; }
.who__line { font-size: clamp(1.05rem, 0.92rem + 0.45vw, 1.3rem); }
.sv__p { font-size: 0.92rem; line-height: 1.5; }
.film__kind, .film__credit, .clip__who, .about__hire { font-family: var(--sc-font-text); }
.field, .lbl input { font-family: var(--sc-font-text); }

/* ---- title motion: white and still, a gold pass types over it ---- */
[data-type] .ch { color: inherit; }
[data-type].is-in .ch { animation: typegold 640ms linear calc(var(--i) * 42ms) 1 both; }
@keyframes typegold {
  0%       { color: var(--sc-ink); }
  3%, 60%  { color: var(--sc-accent); text-shadow: 0 0 0.35em color-mix(in oklab, var(--sc-accent) 55%, transparent); }
  100%     { color: var(--sc-ink); text-shadow: none; }
}
/* a cast name types itself in gold and turns white when whole */
.who__name { transition: color 520ms var(--sc-ease-out); min-height: 0.95em; }
.who__name.is-typing { color: var(--sc-accent); transition: none; }
.who__name.is-typing::after { content: ""; display: inline-block; width: 0.5em; height: 0.72em; margin-left: 0.08em;
                              background: var(--sc-accent); vertical-align: baseline; }

/* ---- the chapter ruler gets a progress line that fills with the page ---- */
.slate::before, .slate::after { content: ""; position: absolute; left: 7px; top: 0; bottom: 0; width: 1px; pointer-events: none; }
.slate::before { background: var(--hair); }
.slate::after { background: var(--sc-accent); transform-origin: 0 0; transform: scaleY(var(--p, 0)); }

/* ---- 1 + 2  hero: no button; the two lines sit centred at the bottom ---- */
.arrival__copy { align-items: center; text-align: center; gap: clamp(0.35rem, 1vh, 0.6rem); }
.arrival__h { background: none; -webkit-background-clip: border-box; background-clip: border-box; color: var(--sc-ink);
              line-height: 0.96; animation: none !important; }
.arrival__sub { margin: 0; color: var(--sc-ink); opacity: 0.86; line-height: 1.25; }
@media (min-width: 861px) {
  .arrival__copy { bottom: clamp(1.75rem, 6svh, 4rem); }
  .arrival__frame::after { inset: 42% 0 0 0;
    background: linear-gradient(to top, color-mix(in oklab, var(--sc-canvas) 92%, transparent) 0%,
                color-mix(in oklab, var(--sc-canvas) 55%, transparent) 38%, transparent 100%); }
  .arrival__h, .arrival__sub { filter: drop-shadow(0 0.04em 0.5em rgba(0, 0, 0, 0.7)); }
}
/* phones: the film fills the first screen too (cropped to its centre) */
@media (max-width: 860px) {
  .arrival { height: 100svh; min-height: 0; padding: 0; display: block; }
  .arrival__frame { position: absolute; inset: 0; width: 100%; height: 100%; min-width: 0;
                    aspect-ratio: auto; border-radius: 0; box-shadow: none; }
  .arrival__frame > video.v { object-fit: cover; }
  .arrival__frame::after { content: ""; position: absolute; inset: 45% 0 0 0; z-index: 2; pointer-events: none;
    background: linear-gradient(to top, color-mix(in oklab, var(--sc-canvas) 94%, transparent) 0%,
                color-mix(in oklab, var(--sc-canvas) 60%, transparent) 45%, transparent 100%); }
  .arrival__frame .snd { bottom: auto; top: calc(var(--bar) + 10px); right: var(--sc-gutter); }
  .arrival__copy { position: absolute; z-index: 3; left: var(--sc-gutter); right: var(--sc-gutter); width: auto;
                   bottom: calc(env(safe-area-inset-bottom) + clamp(1.5rem, 6svh, 3.5rem)); pointer-events: none; }
  .arrival__h { font-size: clamp(1.45rem, 7.2vw, 2.4rem); }
}

/* ---- 5  Brand Faces: the paragraph sits between the title and the videos ---- */
.faces__intro { grid-template-columns: 1fr; gap: clamp(0.5rem, 1.4svh, 1rem); align-items: start; }
.faces__intro .lede { max-width: 64ch; }
.faces__stage { gap: clamp(1rem, 2.6vh, 2rem); }
.rail { --h: min(50svh, 540px); }
@media (max-width: 860px) { .rail { --h: min(44svh, 420px); } }

/* ---- 6  Artwork: a title, and one red line that scans the whole wall ---- */
.wall__head {
  position: absolute; z-index: 4; left: var(--sc-gutter); right: var(--sc-gutter); top: calc(var(--bar) + clamp(0.5rem, 2svh, 1.25rem));
  display: flex; align-items: baseline; justify-content: space-between; gap: 1.5rem; pointer-events: none;
}
.wall__head .h-head { font-size: min(2.9rem, 5.2vw, 7svh, var(--fit, 100rem)); }
.wall__read { margin: 0; font-family: var(--sc-font-mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase;
              color: var(--sc-ink-soft); white-space: nowrap; }
.wall__read span { color: var(--sc-ink); }
.wall.is-beam .wall__read span { color: var(--scan); }
/* the wall sits a little lower, so the title has its own line above it */
.wall__hero { --cy: calc(var(--bar) * 0.5 + 3.2svh); --cw: min(32vw, calc(60svh * var(--ar))); }
.sat { top: calc(50% + var(--bar) * 0.5 + 3.2svh); }
/* the line: thin, red, a soft glow and a short trail behind it */
.wall__beam {
  position: absolute; z-index: 5; left: 0; top: var(--bar); bottom: 0; width: 2px; pointer-events: none; opacity: 0;
  background: var(--scan);
  box-shadow: 0 0 14px 2px color-mix(in oklab, var(--scan) 70%, transparent), 0 0 50px 8px color-mix(in oklab, var(--scan) 30%, transparent);
  will-change: transform;
}
.wall__beam::before { content: ""; position: absolute; top: 0; bottom: 0; right: 2px; width: clamp(60px, 9vw, 150px);
                      background: linear-gradient(to left, color-mix(in oklab, var(--scan) 16%, transparent), transparent); }
.wall.is-beam .wall__beam { opacity: 1; }
/* until the line has passed, a picture waits dim and without colour */
.wall.is-armed .sat img, .wall.is-armed .wall__img { filter: grayscale(1) brightness(0.42) contrast(1.1);
  transition: filter 520ms var(--sc-ease-out), opacity var(--sc-d-base) var(--sc-ease-out), transform 700ms var(--sc-ease-out); }
.wall.is-armed .is-lit img, .wall.is-armed .wall__hero.is-lit .wall__img { filter: none; }
/* frame numbers: they show as the line passes and fade once the scan is done */
.fnum { position: absolute; z-index: 3; left: 6px; top: 6px; padding: 1px 5px; pointer-events: none; font-style: normal;
        font-family: var(--sc-font-mono); font-size: 10px; letter-spacing: 0.06em; line-height: 1.5;
        color: var(--sc-ink); background: color-mix(in oklab, var(--sc-canvas) 70%, transparent);
        box-shadow: inset 2px 0 0 var(--scan); opacity: 0; transition: opacity 240ms linear; }
.wall.is-beam .is-lit .fnum { opacity: 1; }
.wall.is-scanned .fnum { opacity: 0; transition-duration: 900ms; transition-delay: 700ms; }
.wall.is-scanned .sat:hover .fnum, .wall.is-scanned .sat:focus-visible .fnum { opacity: 1; transition-delay: 0ms; transition-duration: 160ms; }
/* a swap: the line crosses the centre picture once, left to right, nothing else */
.scan { left: 0; right: auto; top: 0; bottom: 0; width: 2px; height: auto; }
.wall__hero.is-scan .scan { animation: scanline 520ms cubic-bezier(0.45, 0, 0.25, 1) both; }
@keyframes scanline { 0% { left: 0; opacity: 1; } 92% { opacity: 1; } 100% { left: 100%; opacity: 0; } }
@media (max-width: 860px) {
  .wall__hero { --cw: min(78vw, calc(46svh * var(--ar))); --cy: -6svh; }
  .sat { top: auto; }
  .wall__head .h-head { font-size: min(1.7rem, 6.4vw, var(--fit, 100rem)); }
  .wall__read { display: none; }
}

/* ---- Concept: title, then the three sentences, then the desk ---- */
.sv__head { grid-template-columns: 1fr; gap: clamp(0.4rem, 1.2svh, 0.8rem); align-items: start; }
.sv__p { max-width: 104ch; color: var(--sc-ink); opacity: 0.82; }
.sv__h { font-size: min(2.6rem, 5.4svh, var(--fit, 100rem)); }
.ed { --mh: clamp(190px, calc(100svh - var(--bar) - 25.5rem), 560px); }
@media (max-width: 860px) { .ed { --mh: 56vw; } }

/* ---- 7 + 8  the quiz: four steps, no glow, the closing line and the address inside the box ---- */
.game { box-shadow: 0 0 0 1px var(--hair-strong), var(--sc-e3); background: color-mix(in oklab, #060505 94%, transparent); }
.fit { margin: 0 0 clamp(0.9rem, 2.4svh, 1.5rem); max-width: 70ch; color: var(--sc-accent);
       font-size: clamp(1rem, 0.9rem + 0.5vw, 1.3rem); line-height: 1.4; }
.fit__send { margin-top: clamp(0.9rem, 2.4svh, 1.5rem); min-width: 11rem; }
.game .review__thanks { margin-top: 0.9rem; }
.game__close {
  display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 0.6rem 2rem;
  border-top: 1px solid var(--hair); padding-top: clamp(0.9rem, 2.2svh, 1.5rem);
}
.game__line { font-size: clamp(1.15rem, 0.7rem + 1.5vw, 2rem); line-height: 1; }
.game__line .ln { white-space: normal; }
.game__mail {
  font-family: var(--sc-font-mono); font-size: clamp(1.05rem, 0.75rem + 1vw, 1.55rem); color: var(--sc-ink); text-decoration: none;
  border-bottom: 1px solid var(--sc-accent); padding-bottom: 3px; white-space: nowrap;
  transition: color var(--sc-d-base) var(--sc-ease-out);
}
.game__mail:hover, .game__mail:focus-visible { color: var(--sc-accent); }
.game__nav { border-top: 0; padding-top: 0; min-height: 46px; }
@media (min-width: 861px) {
  .room--world { --wh: min(5.2rem, 8.4vw, 9svh); padding-bottom: 0; }
  .room--world .game { min-height: calc(100svh - var(--bar) - var(--wh) - 6.75rem); padding-block: clamp(1rem, 3svh, 3rem); gap: clamp(0.7rem, 2svh, 2rem); }
  .room--world .tiles--rx .tile span { min-height: clamp(64px, 10svh, 96px); }
}
@media (max-width: 860px) { .game__mail { font-size: 1.05rem; } }

/* ---- the end of the page: the name in dots, then one quiet line ---- */
.endname { width: min(var(--sc-maxw), calc(100% - 2 * var(--sc-gutter))); margin: clamp(3rem, 9svh, 6rem) auto 0;
           padding-bottom: clamp(1rem, 3svh, 2rem); }
.endname__c { display: block; width: 100%; aspect-ratio: 100 / 24; }
.endname__foot { margin: clamp(0.75rem, 2svh, 1.25rem) 0 0; padding-top: 0.8rem; border-top: 1px solid var(--hair);
                 display: flex; justify-content: space-between; align-items: center; gap: 1rem;
                 font-family: var(--sc-font-mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--sc-ink-soft); }
.endname__foot .motion { background: none; border: 0; padding: 0.3rem 0; cursor: pointer; color: inherit; font: inherit;
                         letter-spacing: inherit; text-transform: inherit; }
.endname__foot .motion:hover { color: var(--sc-accent); }
.endname__legal { justify-content: flex-end; gap: 0.6rem; font-size: 10px; }
.endname__legal a { color: inherit; text-decoration: none; }
.endname__legal a:hover, .endname__legal a:focus-visible { color: var(--sc-accent); }

/* ---- About is the last tab: its first screen is the text, the quiz follows ---- */
.about__hire { font-size: 0.95rem; }

/* ---- motion off / reduced ---- */
.motion-off [data-type] .ch, .motion-reduced [data-type] .ch { animation: none !important; }
.motion-off .wall__beam, .motion-reduced .wall__beam { display: none; }
.motion-off .who__name.is-typing::after { display: none; }

/* ---- ROUND 3b (13 Nov, his second pass) ---- */
/* a swap: the red line scans the opened picture from top to bottom */
.scan { left: 0; right: 0; top: 0; bottom: auto; width: auto; height: 2px; }
@keyframes scanline { 0% { top: 0; opacity: 1; } 92% { opacity: 1; } 100% { top: 100%; opacity: 0; } }
.wall__hero.is-scan .scan { animation: scanline 700ms cubic-bezier(0.45, 0, 0.25, 1) both; }
.scan::before { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: clamp(30px, 6svh, 70px);
                background: linear-gradient(to top, color-mix(in oklab, var(--scan) 18%, transparent), transparent); }
/* the chapter line under the seal pieces ("02 Work") is gone: the bar and the ruler already say it */
.shards__cap { display: none; }
/* the motion switch sits under About in the bar, set like a tab */
.bar__nav .motion {
  background: none; border: 0; margin: 0; cursor: pointer; text-align: left; color: var(--sc-ink-soft); opacity: 0.75;
  font-family: var(--sc-font-mono); font-weight: 400; font-size: 11px; line-height: 1.35; letter-spacing: 0.06em; text-transform: uppercase;
  padding: 0 0 0 11px; white-space: nowrap; transition: color var(--sc-d-base) var(--sc-ease-out), opacity var(--sc-d-base) var(--sc-ease-out);
}
.bar__nav .motion:hover, .bar__nav .motion:focus-visible { color: var(--sc-accent); opacity: 1; }
@media (max-width: 860px) { .bar__nav .motion { padding: 12px 0; font-size: var(--sc-t-sm); } }
.endname { padding-bottom: clamp(1.5rem, 5svh, 3rem); }

/* ---- ROUND 3d (13 Nov): the quiz in three screens, the robots, the bar, copy ---- */
/* second screen: two questions, set a little smaller so both fit one screen */
.step--two .step__q { font-size: clamp(1.3rem, 0.8rem + 1.8vw, 2.4rem); margin-bottom: clamp(0.6rem, 1.6svh, 1.1rem); }
.step--two .step__q--2 { margin-top: clamp(1rem, 2.6svh, 1.8rem); }
.step--two .tiles--rx .tile span { min-height: clamp(60px, 9svh, 84px); }
.step--two .tiles:not(.tiles--rx) { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.step--two .tiles:not(.tiles--rx) .tile span { min-height: 54px; }
@media (max-width: 600px) { .step--two .tiles:not(.tiles--rx) { grid-template-columns: 1fr; } }

/* last screen: robot, yellow bar, robot. The same three columns on every screen size. */
.step--fit .step__q { margin-bottom: clamp(0.4rem, 1.2svh, 0.8rem); }
.step--fit .fit { margin-bottom: clamp(0.6rem, 2svh, 1.2rem); }
.desk { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr) minmax(0, 1fr); align-items: center;
        gap: clamp(0.4rem, 1.6vw, 1.5rem); }
.desk__bot { display: block; width: 100%; aspect-ratio: 1 / 0.92; max-height: 34svh; justify-self: center; }
.desk__bar {
  position: relative; overflow: hidden; margin: 0; padding: clamp(0.8rem, 1.8vw, 1.4rem) clamp(0.7rem, 1.6vw, 1.4rem) clamp(1rem, 2vw, 1.6rem);
  background: var(--sc-accent); color: var(--sc-accent-ink); text-align: center;
  font-family: var(--sc-font-display); font-weight: 900; text-transform: uppercase; line-height: 1.02;
  font-size: clamp(0.95rem, 0.5rem + 1.7vw, 1.9rem);
}
.desk__txt { position: relative; z-index: 1; }
/* the bar is a button (16 Nov): one click copies the address */
button.desk__bar { display: block; width: 100%; border: 0; border-radius: 0; cursor: pointer; -webkit-appearance: none; appearance: none;
  transition: filter 0.2s ease, transform 0.2s ease; }
button.desk__bar:hover { filter: brightness(1.08); }
button.desk__bar:active { transform: scale(0.985); }
button.desk__bar:focus-visible { outline: 2px solid var(--sc-ink); outline-offset: 4px; }
.desk__bar.is-copied .desk__dots, .desk__bar.is-copied .desk__load { visibility: hidden; }
.desk__b::before { content: " · "; }
.desk__ok { display: none; }
.desk__bar.is-copied .desk__a, .desk__bar.is-copied .desk__b { display: none; }
.desk__bar.is-copied .desk__ok { display: inline; }
@media (max-width: 860px) { .desk__a, .desk__b { display: block; } .desk__b::before { content: none; } .desk__b { margin-top: 0.35em; } }
/* About with his portrait and the longer headline (16 Nov) */
.about__photo { overflow: hidden; }
.about__photo img { width: 100%; height: 100%; object-fit: cover; opacity: 1; border-radius: 0; display: block; }
.about__copy .about__head { font-size: clamp(1.7rem, 0.8rem + 2.3vw, 3rem); line-height: 1.05; }
.about__copy { gap: var(--sc-3); }
@media (min-width: 861px) { .about__copy .lede { font-size: clamp(0.95rem, 0.7rem + 0.45vw, 1.15rem); line-height: 1.5; } }
.about__head .ln { white-space: normal; }
.about__head .ln > span { display: inline; }
.about__copy .lede { margin: 0; }
.desk__bar::before { /* the light sweep across the letters, every few seconds */
  content: ""; position: absolute; z-index: 2; top: 0; bottom: 0; left: -40%; width: 34%; pointer-events: none;
  background: linear-gradient(100deg, transparent, rgba(255, 244, 214, 0.75) 50%, transparent);
  animation: barsweep 3.8s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}
@keyframes barsweep { 0%, 55% { transform: translateX(0); } 100% { transform: translateX(440%); } }
.desk__dots { position: relative; z-index: 1; display: inline-flex; gap: 0.18em; margin-left: 0.3em; vertical-align: baseline; }
.desk__dots i { width: 0.2em; height: 0.2em; background: currentColor; animation: bardot 1.2s steps(1, end) infinite; opacity: 0.2; }
.desk__dots i:nth-child(2) { animation-delay: 0.2s; }
.desk__dots i:nth-child(3) { animation-delay: 0.4s; }
@keyframes bardot { 0%, 100% { opacity: 0.2; } 30%, 70% { opacity: 1; } }
.desk__load { position: absolute; left: 0; right: 0; bottom: 0; height: 5px; background: color-mix(in oklab, var(--sc-accent-ink) 18%, transparent);
              -webkit-mask-image: repeating-linear-gradient(to right, #000 0 8px, transparent 8px 11px);
                      mask-image: repeating-linear-gradient(to right, #000 0 8px, transparent 8px 11px); }
.desk__load::after { content: ""; position: absolute; inset: 0; background: var(--sc-accent-ink); transform-origin: 0 50%;
                     animation: barload 2.6s steps(14, end) infinite; }
@keyframes barload { 0% { transform: scaleX(0); } 85%, 100% { transform: scaleX(1); } }
@media (max-width: 600px) {
  .desk { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr) minmax(0, 1.15fr); gap: 0.2rem; margin-inline: -0.35rem; }
  .desk__bot { aspect-ratio: 1 / 1.02; }
  .desk__bar { font-size: clamp(0.78rem, 3.7vw, 1rem); padding: 0.7rem 0.3rem 0.9rem; }
  .game.is-fit { padding-inline: 0.75rem; }
}

/* the closing line pulses until the address has been copied */
.game__close { align-items: center; }
.game__close.is-waiting .game__line { animation: linepulse 1.5s ease-in-out infinite; }
@keyframes linepulse {
  0%, 100% { opacity: 1; text-shadow: none; }
  50% { opacity: 0.5; text-shadow: 0 0 0.6em color-mix(in oklab, var(--sc-accent) 70%, transparent); }
}
.game__mailrow { position: relative; margin: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 0.6rem 1rem; }
.game__mail { cursor: pointer; }
.game__mailrow .copy {
  min-height: 38px; padding: 0 1.1rem; border-radius: 0; cursor: pointer;
  background: var(--sc-accent); color: var(--sc-accent-ink); border: 1px solid var(--sc-accent);
  font-family: var(--sc-font-mono); font-weight: 400; font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase;
  transition: background var(--sc-d-base) var(--sc-ease-out), color var(--sc-d-base) var(--sc-ease-out);
}
.game__mailrow .copy:hover, .game__mailrow .copy:focus-visible { background: transparent; color: var(--sc-accent); }
/* the "Copied!" pop-up, above the button */
.toast {
  position: absolute; right: 0; bottom: calc(100% + 10px); z-index: 5; pointer-events: none;
  padding: 0.45rem 0.8rem; background: var(--sc-ink); color: var(--sc-canvas);
  font-family: var(--sc-font-mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; white-space: nowrap;
  opacity: 0; transform: translate3d(0, 6px, 0) scale(0.96); transition: opacity 180ms linear, transform 260ms var(--sc-ease-out);
}
.toast::after { content: ""; position: absolute; right: 22px; top: 100%; border: 6px solid transparent; border-top-color: var(--sc-ink); }
.toast.is-on { opacity: 1; transform: none; }

.motion-off .desk__bar::before, .motion-reduced .desk__bar::before,
.motion-off .desk__dots i, .motion-reduced .desk__dots i,
.motion-off .desk__load::after, .motion-reduced .desk__load::after,
.motion-off .game__close.is-waiting .game__line, .motion-reduced .game__close.is-waiting .game__line { animation: none; }
.motion-off .desk__dots i, .motion-reduced .desk__dots i { opacity: 1; }
