/* Hallmark · shape: Split Studio · genre: modern-minimal · theme: Wayfind (deal 1/3, seed proctor-zoom-zoom-add-on-e4bb·5d448b64·2026-11-07·r0) · job: try · draw: ef62cd · redesign: full
 * hero: Stage · nav: floating pill · footer: index columns · imagery: the product built, the demo video · signature: an animated student acting out each real flag while the feed logs it · wayfind: platform
 * axes: light/mono/cool · posture: committed · contrast: pass · fold: pass · v2.0.0 */
/* Hallmark · pre-emit critique: P4 H4 E4 S5 R4 V4 · weakest: P, the argument rests on the deck's comparison; set it as a board on ink so it reads at a glance */
/* Hallmark · waive 64 · Chivo Mono is the only family on the page · Wayfind sets the whole page in the board face, so labels share it */
/* Hallmark · waive 80 · the student figure in the hero camera tile · the user asked for an animated character that acts out each proctoring flag */
/* Hallmark · waive 28b · the demo video sits below the fold and is not the LCP · app.js sets its poster from data-poster as the player nears the screen, so the first load stays light */
/* Hallmark · dropped media/pitch.mp4, media/flags.mp4 · the user asked for one video; the character replaces the flag loop */

:root {
  /* the student figure */
  --char-wall: oklch(93% 0.012 240);
  --char-light: oklch(99% 0.01 90);
  --char-board: oklch(98.5% 0.004 250);
  --char-board-frame: oklch(72% 0.012 250);
  --char-shelf: oklch(55% 0.04 60);
  --char-book-1: oklch(51% 0.22 264);
  --char-book-2: oklch(81% 0.16 82);
  --char-book-3: oklch(36% 0.05 262);
  --char-desk: oklch(62% 0.06 65);
  --char-skin: oklch(70% 0.075 55);
  --char-skin-shade: oklch(62% 0.08 50);
  --char-hair: oklch(22% 0.02 50);
  --char-hair-hi: oklch(36% 0.03 50);
  --char-hoodie: oklch(38% 0.07 255);
  --char-hoodie-shade: oklch(31% 0.065 255);
  --char-shirt: oklch(88% 0.03 80);
  --char-string: oklch(93% 0.01 250);
  --char-white: oklch(99% 0.003 250);
  --char-pupil: oklch(20% 0.02 260);
  --char-mouth: oklch(44% 0.09 30);
  --char-glow: oklch(85% 0.08 240);
  --char-glow-tab: oklch(85% 0.14 82);
  --char-hoodie-hi: oklch(48% 0.07 255);
  --char-skin-side: oklch(64% 0.08 50);
  --char-iris: oklch(36% 0.05 50);
  --char-blush: oklch(62% 0.13 25);
  --char-marker: oklch(51% 0.22 264);
  --char-mug: oklch(97% 0.005 250);
  --char-mug-band: oklch(51% 0.22 264);
  --char-desk-edge: oklch(70% 0.06 65);
  --char-skin-2: oklch(80% 0.06 60);
  --char-skin-2-shade: oklch(72% 0.07 55);
  --char-hair-2: oklch(42% 0.09 40);
  --char-hoodie-2: oklch(70% 0.13 30);
}

body { font-variant-numeric: tabular-nums; }
h1, h2, h3 { font-weight: 800; line-height: 0.98; }
h1 { font-size: min(var(--text-display), 4.75rem); }

/* nav: floating pill */
.nav-wrap { position: sticky; top: var(--space-md); z-index: var(--z-sticky-nav); padding-inline: var(--gutter); }
.nav { max-width: calc(var(--container) - 2 * var(--gutter)); margin-inline: auto; display: flex; align-items: center; gap: var(--space-lg); padding: var(--space-xs) var(--space-xs) var(--space-xs) var(--space-lg); background: var(--color-paper-3); border: var(--rule-bar) solid var(--color-ink); border-radius: var(--radius-pill); box-shadow: var(--shadow-card); }
.wordmark { font-weight: 800; text-decoration: none; letter-spacing: var(--tracking-display); }
.brand { display: inline-flex; align-items: center; gap: var(--space-sm); font-size: var(--text-lg); }
.brand__mark { width: 36px; height: 36px; flex: none; }
.brand span, .nav .btn { white-space: nowrap; }
.brand__bg { fill: var(--color-accent); }
.brand__corners { fill: none; stroke: var(--color-accent-ink); stroke-width: 3.5; stroke-linecap: square; }
.brand__dot { fill: var(--color-accent-2); }
.brand:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 4px; }
.nav__links { display: flex; gap: var(--space-lg); list-style: none; margin: 0 0 0 auto; padding: 0; font-weight: 500; font-size: var(--text-sm); }
.nav__links a { text-decoration: none; }
.nav__links a:hover { color: var(--color-accent); text-decoration: underline; }
.nav .btn { border-radius: var(--radius-pill); }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: var(--space-xs); min-height: 50px; padding: var(--space-sm) var(--space-lg); border: var(--rule-bar) solid var(--color-ink); background: transparent; color: var(--color-ink); font: 800 var(--text-sm)/1 var(--font-body); text-decoration: none; cursor: pointer; transition: background-color var(--dur-micro) steps(1), color var(--dur-micro) steps(1), border-color var(--dur-micro) steps(1); }
.btn:hover { background: var(--color-ink); color: var(--color-paper); }
.btn:active { transform: translateY(1px); }
.btn:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 3px; transition: none; }
.btn:disabled { opacity: 0.5; cursor: not-allowed; }
.btn--primary { background: var(--color-accent); border-color: var(--color-accent); color: var(--color-accent-ink); }
.btn--primary:hover { background: var(--color-ink); border-color: var(--color-ink); color: var(--color-paper); }
.btn--sm { min-height: 44px; padding: var(--space-xs) var(--space-md); }
.btn--ghost { color: var(--color-paper); border-color: var(--color-paper); }
.btn--ghost:hover { background: var(--color-paper); color: var(--color-ink); }
.actions { display: flex; flex-wrap: wrap; gap: var(--space-sm); }

/* hero: stage, head left, the proctor on the right */
.hero { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--space-xl) var(--gap-columns); align-items: center; padding-top: var(--space-2xl); padding-bottom: var(--space-3xl); }
.hero__text { display: grid; gap: var(--space-lg); }
.hero__text .lead { color: var(--color-ink-2); }

.proctor { border: var(--rule-bar) solid var(--color-ink); background: var(--color-ink); box-shadow: var(--shadow-card); }
.proctor__body { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--rule-bar); }
.cam { position: relative; background: var(--char-wall); }
.cam { min-height: 340px; }
.cam__svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.cam__label { position: absolute; left: var(--space-sm); top: var(--space-sm); padding: var(--space-3xs) var(--space-xs); background: var(--color-ink); color: var(--color-paper); font-size: var(--text-xs); font-weight: 500; }
.feed { background: var(--color-paper-3); padding: var(--space-md); display: grid; align-content: start; gap: var(--space-sm); height: 340px; overflow: hidden; }
.feed__head { font-weight: 800; padding-bottom: var(--space-xs); border-bottom: var(--rule-bar) solid var(--color-ink); }
.feed__list { list-style: none; margin: 0; padding: 0; display: grid; }
.feed__list li { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: var(--space-sm); padding: var(--space-xs) var(--space-2xs); border-bottom: var(--rule-hair) solid var(--color-rule); font-size: var(--text-xs); line-height: 1.4; }
.feed__t { color: var(--color-accent); font-weight: 800; }
.feed__list li.is-new { background: var(--color-paper-2); animation: row-in var(--dur-short) var(--ease-out); }
.feed__list li.is-new.is-flag { background: var(--color-accent-2); }
.feed__list li.is-new.is-flag .feed__t { color: var(--color-ink); }
@keyframes row-in { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

.proctor__bar { display: flex; align-items: center; justify-content: space-between; gap: var(--space-sm); padding: var(--space-xs); }
.acts { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); flex: 1; border: var(--rule-bar) solid var(--color-paper); }
.act { min-height: 44px; padding: var(--space-2xs) var(--space-3xs); border: 0; border-left: var(--rule-hair) solid var(--color-ink-rule); background: transparent; color: var(--color-paper); font: 500 var(--text-xs)/1.15 var(--font-body); cursor: pointer; transition: background-color var(--dur-micro) steps(1), color var(--dur-micro) steps(1); }
.act:first-child { border-left: 0; }
.act:hover { background: var(--color-ink-2); }
.act:focus-visible { outline: 2px solid var(--color-accent-2); outline-offset: -2px; transition: none; }
.act:active { transform: translateY(1px); }
.act[aria-pressed="true"] { background: var(--color-paper); color: var(--color-ink); font-weight: 800; }

/* the figure: fills */
.c-wall { fill: var(--char-wall); } .c-light { fill: var(--char-light); opacity: 0.45; }
.c-board { fill: var(--char-board); } .c-board-frame { fill: var(--char-board-frame); }
.c-shelf { fill: var(--char-shelf); } .c-book1 { fill: var(--char-book-1); } .c-book2 { fill: var(--char-book-2); } .c-book3 { fill: var(--char-book-3); }
.c-desk { fill: var(--char-desk); }
.c-skin { fill: var(--char-skin); } .c-skin-side { fill: var(--char-skin-side); opacity: 0.55; }
.c-hoodie-hi { fill: var(--char-hoodie-hi); opacity: 0.7; }
.c-neck-shadow { fill: var(--char-skin-side); opacity: 0.8; }
.c-iris { fill: var(--char-iris); } .c-blush { fill: var(--char-blush); opacity: 0.18; }
.c-brow { fill: none; stroke: var(--char-hair); stroke-width: 5; stroke-linecap: round; }
.c-lid { fill: none; stroke: var(--char-hair); stroke-width: 2.4; stroke-linecap: round; }
.c-marker { fill: none; stroke: var(--char-marker); stroke-width: 3; stroke-linecap: round; opacity: 0.6; }
.c-mug { fill: var(--char-mug); } .c-mug-band { fill: var(--char-mug-band); } .c-mug-handle { fill: none; stroke: var(--char-mug); stroke-width: 5; }
.c-desk-edge { fill: var(--char-desk-edge); } .c-skin-shade { fill: var(--char-skin-shade); }
.c-stubble { fill: var(--char-hair); opacity: 0.16; }
.c-hair { fill: var(--char-hair); } .c-hair-hi { fill: var(--char-hair-hi); }
.c-hoodie { fill: var(--char-hoodie); } .c-hoodie-shade { fill: var(--char-hoodie-shade); }
.c-shirt { fill: var(--char-shirt); }
.c-zip { stroke: var(--char-hoodie-shade); stroke-width: 3; }
.c-string { stroke: var(--char-string); stroke-width: 3; stroke-linecap: round; } .c-tip { fill: var(--char-string); }
.c-white { fill: var(--char-white); } .c-pupil { fill: var(--char-pupil); }
.c-nose { fill: none; stroke: var(--char-skin-shade); stroke-width: 3; stroke-linecap: round; }
.c-mouth { fill: none; stroke: var(--char-mouth); stroke-width: 3; stroke-linecap: round; }
.c-glow { fill: var(--char-glow); opacity: 0.16; transition: opacity var(--dur-long) var(--ease-out); }
.c-skin2 { fill: var(--char-skin-2); } .c-skin2-shade { fill: var(--char-skin-2-shade); }
.c-hair2 { fill: var(--char-hair-2); } .c-hoodie2 { fill: var(--char-hoodie-2); }
.c-plate { fill: var(--color-ink); } .c-plate-text { fill: var(--color-accent-2); font: 800 15px var(--font-body); }
.c-dim { fill: var(--color-ink); opacity: 0.55; }
.track path { fill: none; stroke: var(--color-accent); stroke-width: 4; stroke-linecap: square; transition: stroke var(--dur-micro) steps(1); }

/* the figure: parts that move (transform and opacity only) */
.student, .head, .face, .pupils, .second, .nobody, .tabbed, .track { transition: transform var(--dur-long) var(--ease-out), opacity var(--dur-short) var(--ease-out); }
.head { transform-origin: 200px 214px; }
.eyes { transform-origin: 200px 135px; animation: blink 4.2s infinite; }
.second { transform: translateX(140px); }
.nobody, .tabbed, .track--second { opacity: 0; }
@keyframes blink { 0%, 94%, 100% { transform: scaleY(1); } 97% { transform: scaleY(0.1); } }
@keyframes shake { 0%, 100% { transform: rotate(0); } 20% { transform: rotate(-11deg) translateX(-6px); } 45% { transform: rotate(9deg) translateX(6px); } 70% { transform: rotate(-7deg) translateY(4px); } }
@keyframes breathe { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(2px); } }

.is-live[data-act="focused"] .student { animation: breathe 3s var(--ease-in-out) infinite; }
.is-live[data-act="away"] .head { transform: rotate(-7deg); }
.is-live[data-act="away"] .face { transform: translateX(-16px); }
.is-live[data-act="away"] .pupils { transform: translateX(-5px); }
.is-live[data-act="shake"] .head { animation: shake 0.7s var(--ease-in-out) infinite; }
.is-live[data-act="gone"] .student { transform: translateX(-330px); }
.is-live[data-act="gone"] .track--main { opacity: 0; }
.is-live[data-act="gone"] .nobody { opacity: 1; transition-delay: 300ms; }
.is-live[data-tab="on"] .tabbed { opacity: 1; }
.is-live[data-tab="on"] .pupils { transform: translate(5px, 3px); }
.is-live[data-tab="on"] .c-glow { fill: var(--char-glow-tab); opacity: 0.3; }
.is-live[data-act="two"] .second { transform: translateX(-62px); }
.is-live[data-act="two"] .track--second { opacity: 1; }
.is-live[data-act="two"] .pupils { transform: translateX(5px); }
.is-live:is([data-act="away"], [data-act="shake"], [data-act="two"]) .track path { stroke: var(--color-accent-2); }
.is-paused .student, .is-paused .head, .is-paused .eyes { animation-play-state: paused; }

/* sections */
.section { padding-block: var(--section-gap-s); }
.section > h2 { margin-bottom: var(--space-xl); }

/* before and after */
.compare { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); border: var(--rule-bar) solid var(--color-ink); }
.compare__side { padding: var(--space-xl); display: grid; gap: var(--space-lg); align-content: start; }
.compare__side + .compare__side { border-left: var(--rule-bar) solid var(--color-ink); }
.compare__side--now { background: var(--color-accent); color: var(--color-accent-ink); }
.compare__tag { font-weight: 500; font-size: var(--text-sm); }
.tools { list-style: none; margin: 0; padding: 0; display: grid; border: var(--rule-bar) solid var(--color-ink); }
.tools li { padding: var(--space-sm) var(--space-md); font-weight: 800; font-size: var(--text-lg); text-decoration: line-through; text-decoration-thickness: 2px; color: var(--color-muted); }
.tools li + li { border-top: var(--rule-hair) solid var(--color-rule); }
.compare__big { font-size: var(--text-display-s); font-weight: 800; line-height: 1; letter-spacing: var(--tracking-display); }
.compare__line { font-size: var(--text-title); font-weight: 800; line-height: 1.25; max-width: 30ch; }

/* ink band board */
.band--ink { background: var(--color-ink); color: var(--color-paper); }
.band__lead { margin: calc(-1 * var(--space-lg)) 0 var(--space-xl); color: var(--color-rule); }
.board-wrap { overflow-x: auto; }
.board { width: 100%; border-collapse: collapse; text-align: left; }
.board th, .board td { padding: var(--space-md) var(--space-md) var(--space-md) 0; vertical-align: top; }
.board thead th { border-bottom: var(--rule-bar) solid var(--color-paper); font-weight: 500; font-size: var(--text-sm); color: var(--color-rule); }
.board tbody th { font-weight: 800; width: 24%; border-bottom: var(--rule-hair) solid var(--color-ink-rule); }
.board td { border-bottom: var(--rule-hair) solid var(--color-ink-rule); color: var(--color-rule); width: 34%; }
.board td.win { color: var(--color-accent-2); font-weight: 800; font-size: var(--text-lg); line-height: 1.3; }

/* how it works: a route of plates */
.route { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gap-columns); }
.stop { position: relative; display: grid; gap: var(--space-sm); align-content: start; padding: var(--space-lg); border: var(--rule-bar) solid var(--color-ink); background: var(--color-paper-3); }
.stop:not(.stop--end)::after { content: ""; position: absolute; top: 50%; right: calc(-1 * var(--gap-columns) - var(--rule-bar)); width: calc(var(--gap-columns) + var(--rule-bar)); border-top: var(--rule-bar) solid var(--color-ink); }
.stop__n { display: inline-grid; place-items: center; width: 40px; height: 40px; background: var(--color-ink); color: var(--color-accent-2); font-weight: 800; }
.stop__name { font-weight: 800; font-size: var(--text-xl); }
.stop__what { color: var(--color-ink-2); }
.stop--end { background: var(--color-accent); border-color: var(--color-accent); color: var(--color-accent-ink); }
.stop--end .stop__what { color: var(--color-accent-ink); }

/* demo film */
.demo__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: var(--space-md); margin-bottom: var(--space-xl); }
.demo__note { font-weight: 500; color: var(--color-muted); }
.film { margin: 0; }
.film video { width: 100%; aspect-ratio: 16 / 9; object-fit: contain; border: var(--rule-bar) solid var(--color-ink); background: var(--color-ink); }

/* close */
.close { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--gap-columns); align-items: center; padding-block: var(--section-gap-s); }
.plate { border: var(--rule-bar) solid var(--color-ink); background: var(--color-ink); color: var(--color-paper); }
.close__plate { padding: var(--space-xl); display: grid; gap: var(--space-md); }
.close__plate .figure { font-weight: 800; font-size: var(--text-xl); color: var(--color-accent-2); }
.close__text { display: grid; gap: var(--space-lg); }

/* footer: a mast on ink, the wordmark over index columns */
.footer { background: var(--color-ink); color: var(--color-paper); padding-block: var(--space-3xl) var(--space-xl); }
.footer__mast { display: grid; gap: var(--space-md); padding-bottom: var(--space-xl); border-bottom: var(--rule-bar) solid var(--color-paper); }
.footer__word { font-size: var(--text-display); font-weight: 800; line-height: 0.95; letter-spacing: var(--tracking-display); overflow-wrap: break-word; min-width: 0; }
.footer__line { font-size: var(--text-lead); color: var(--color-rule); }
.footer__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap-columns); padding-block: var(--space-xl); }
.footer__head { font-weight: 500; font-size: var(--text-sm); color: var(--color-accent-2); margin-bottom: var(--space-sm); }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-xs); }
.footer__facts { color: var(--color-rule); }
.footer a { color: var(--color-paper); }
.footer a:hover { color: var(--color-accent-2); }
.footer a:focus-visible { outline: 2px solid var(--color-accent-2); outline-offset: 2px; }
.footer__base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--space-md); padding-top: var(--space-md); border-top: var(--rule-hair) solid var(--color-ink-rule); font-size: var(--text-sm); color: var(--color-rule); }
.close a:not(.btn):hover { color: var(--color-accent); }

@media (max-width: 75rem) {
  .hero { grid-template-columns: minmax(0, 1fr); }
  .hero__text { max-width: 40rem; }
  .route { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stop::after { display: none; }
}
@media (max-width: 60rem) {
  .nav__links { display: none; }
  .nav .btn { margin-left: auto; }
  .compare, .close { grid-template-columns: minmax(0, 1fr); }
  .footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .compare__side + .compare__side { border-left: 0; border-top: var(--rule-bar) solid var(--color-ink); }
  .board thead { display: none; }
  .board, .board tbody, .board tr, .board th, .board td { display: block; width: 100%; }
  .board tr { padding-block: var(--space-md); border-bottom: var(--rule-hair) solid var(--color-ink-rule); }
  .board th, .board td, .board tbody th { width: 100%; border: 0; padding: var(--space-2xs) 0; }
  .board td:not(.win)::before { content: "Others: "; }
}
@media (max-width: 40rem) {
  .nav { padding-left: var(--space-sm); }
  .brand { font-size: var(--text-md); gap: var(--space-xs); }
  .nav { gap: var(--space-sm); }
  .nav .btn { padding-inline: var(--space-sm); font-size: var(--text-xs); }
  .brand__mark { width: 32px; height: 32px; }
  .proctor__body { grid-template-columns: minmax(0, 1fr); }
  .cam { min-height: 0; aspect-ratio: 5 / 4; }
  .feed { height: 250px; }
  .proctor__bar { flex-direction: column; align-items: stretch; }
  .acts { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .act:nth-child(4) { border-left: 0; }
  .act:nth-child(n+4) { border-top: var(--rule-hair) solid var(--color-ink-rule); }
  .route { grid-template-columns: minmax(0, 1fr); }
  .footer__grid { grid-template-columns: minmax(0, 1fr); row-gap: var(--space-xl); }
  .compare__side, .close__plate { padding: var(--space-lg); }
}
@media (prefers-reduced-motion: reduce) {
  .eyes, .is-live .student, .is-live .head { animation: none !important; }
}

/* video player: play, seek, speed, mute, full screen */
.player { position: relative; outline-offset: 3px; }
.player:focus-visible { outline: 2px solid var(--color-focus); }
.player.is-custom video { cursor: pointer; }
.player__bar { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-xs) var(--space-sm); padding: var(--space-xs); background: var(--color-ink); color: var(--color-paper); border: var(--rule-bar) solid var(--color-ink); border-top: 0; }
.pbtn { min-height: 40px; min-width: 40px; padding: var(--space-2xs) var(--space-sm); border: var(--rule-bar) solid var(--color-paper); background: transparent; color: var(--color-paper); font: 800 var(--text-xs)/1 var(--font-body); cursor: pointer; transition: background-color var(--dur-micro) steps(1), color var(--dur-micro) steps(1); }
.pbtn:hover { background: var(--color-paper); color: var(--color-ink); }
.pbtn:active { transform: translateY(1px); }
.pbtn:focus-visible { outline: 2px solid var(--color-accent-2); outline-offset: 2px; transition: none; }
.pbtn[data-play] { min-width: 76px; background: var(--color-accent); border-color: var(--color-accent); color: var(--color-accent-ink); }
.pbtn[data-play]:hover { background: var(--color-paper); border-color: var(--color-paper); color: var(--color-ink); }
.player__time { font-size: var(--text-xs); font-weight: 500; white-space: nowrap; }
.player__seek { flex: 1 1 160px; min-width: 120px; height: 40px; margin: 0; background: transparent; cursor: pointer; appearance: none; -webkit-appearance: none; --fill: 0%; }
.player__seek::-webkit-slider-runnable-track { height: 8px; background: linear-gradient(to right, var(--color-accent-2) var(--fill), var(--color-ink-rule) var(--fill)); }
.player__seek::-moz-range-track { height: 8px; background: var(--color-ink-rule); }
.player__seek::-moz-range-progress { height: 8px; background: var(--color-accent-2); }
.player__seek::-webkit-slider-thumb { -webkit-appearance: none; width: 16px; height: 16px; margin-top: calc(-1 * var(--space-2xs)); background: var(--color-paper); border: var(--rule-bar) solid var(--color-ink); }
.player__seek::-moz-range-thumb { width: 14px; height: 14px; border-radius: 0; background: var(--color-paper); border: var(--rule-bar) solid var(--color-ink); }
.player__seek:focus-visible { outline: 2px solid var(--color-accent-2); outline-offset: 2px; }
.player__speed { display: flex; }
.pbtn--cell + .pbtn--cell { border-left: 0; }
.pbtn--cell[aria-pressed="true"] { background: var(--color-paper); color: var(--color-ink); }
.player:fullscreen { display: flex; flex-direction: column; justify-content: center; background: var(--color-ink); }
.player:fullscreen video { flex: 1; min-height: 0; border: 0; }
@media (max-width: 40rem) {
  .player__seek { order: 5; flex-basis: 100%; }
  .player__big { left: var(--space-sm); top: var(--space-sm); min-height: 44px; padding: var(--space-sm) var(--space-md); font-size: var(--text-sm); }
}
.player__big { position: absolute; left: var(--space-lg); top: var(--space-lg); min-height: 56px; padding: var(--space-md) var(--space-xl); border: var(--rule-bar) solid var(--color-ink); background: var(--color-accent); color: var(--color-accent-ink); font: 800 var(--text-md)/1 var(--font-body); cursor: pointer; box-shadow: var(--shadow-card); transition: background-color var(--dur-micro) steps(1), color var(--dur-micro) steps(1), opacity var(--dur-short) var(--ease-out); }
.player__big:hover { background: var(--color-ink); color: var(--color-paper); }
.player__big:active { transform: translateY(1px); }
.player__big:focus-visible { outline: 2px solid var(--color-accent-2); outline-offset: 3px; transition: none; }
.player.is-started .player__big { opacity: 0; pointer-events: none; }

/* demo: heading, video and controls fit on one screen */
html { scroll-padding-top: calc(var(--space-3xl) + var(--space-lg)); }
#demo .demo__head, #demo .film { width: 100%; max-width: min(1040px, calc((100svh - 320px) * 16 / 9)); min-width: min(100%, 560px); margin-inline: auto; }
#demo .demo__head { margin-bottom: var(--space-lg); }
#demo { scroll-margin-top: calc(-1 * var(--section-gap-s)); }
