/* Hallmark · shape: Narrative Workflow · genre: modern-minimal · theme: Coral (deal 1/3, seed one-project-student-challenge-entry-6b5b·1aecd73d·2026-11-07·r0) · job: hire · draw: 8508dd
 * hero: Stage (draw dealt Corridor; swapped so the paperwork scene can sit beside the head) · nav: masthead · footer: mast · imagery: the team's concept screens, whiteboards and pitch · signature: three mismatched reports ranked into one list, then Approved pressed in coral
 * axes: light/grotesk-sans/warm · posture: restrained · contrast: pass · fold: pass · v2.0.0 */
/* Hallmark · pre-emit critique: P4 H5 E4 S4 R4 V4 · weakest: P, no live product; the hero builds the job as paperwork and the screens are labelled as concept */
/* Hallmark · answered F4 · Coral controls are letterpress cards: one ink primary, the cotton card is the theme's secondary, the groove is a choice control */
/* tokens.css and base.css load as parallel <link>s in the page head, not as @import, so nothing waits in a chain. */
@font-face { font-family: "General Sans"; src: url("fonts/general-sans-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "General Sans"; src: url("fonts/general-sans-500.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "General Sans"; src: url("fonts/general-sans-600.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Geist Mono"; src: url("fonts/geist-mono-400-latin.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }

h1, h2, h3 { font-weight: var(--display-weight); letter-spacing: var(--tracking-display); }
h1, h2 { overflow-wrap: break-word; min-width: 0; }
.defs { position: absolute; }
.fig { font-family: var(--font-outlier); font-variant-numeric: tabular-nums; letter-spacing: 0; }
a { text-decoration-color: var(--color-accent); text-underline-offset: 0.2em; }
a:hover { text-decoration-color: var(--color-accent-2); }

.skip { position: absolute; left: var(--space-md); top: calc(-1 * var(--space-3xl)); z-index: var(--z-toast); padding: var(--space-xs) var(--space-md); background: var(--color-ink); color: var(--color-paper); }
.skip:focus-visible { top: var(--space-md); }

/* Paper */
.stock { background-color: var(--color-cotton); background-image: linear-gradient(100deg, var(--color-cotton), transparent 45%), var(--tex-cotton); color: var(--color-print); box-shadow: var(--edge-stock), var(--cast-stock); border-radius: var(--radius-stock); }
.desk { background-color: var(--color-desk); background-image: radial-gradient(90% 120% at 0% 30%, var(--color-cotton), transparent 62%), var(--tex-desk); }

/* Controls */
.btn { display: inline-flex; align-items: center; min-height: 48px; padding: 0 var(--space-lg); border: 0; border-radius: var(--radius-stock); font: 500 var(--text-md)/1 var(--font-body); text-decoration: none; white-space: nowrap; cursor: pointer; transition: transform var(--dur-short) var(--ease-out), box-shadow var(--dur-short) var(--ease-out); }
.btn--card { background-color: var(--color-cotton); background-image: var(--tex-cotton); color: var(--color-print); text-shadow: 0.5px 0.75px 0 var(--color-cotton); box-shadow: var(--edge-stock), var(--cast-stock); }
.btn--ink { background: var(--color-board); color: var(--color-board-type); text-shadow: 0 -0.75px 0 var(--color-ink); box-shadow: var(--cast-stock); }
.btn:hover { transform: translateY(-1px); box-shadow: var(--edge-stock), var(--cast-stock-lift); }
.btn:active { transform: translateY(1px); box-shadow: var(--edge-stock); }
.btn:disabled, .btn[aria-disabled="true"], .groove button:disabled { opacity: 0.55; cursor: not-allowed; transform: none; }
.btn:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 3px; transition: none; }

/* Masthead */
.mast { background: var(--color-desk); }
.mast__in { display: flex; flex-direction: column; align-items: center; gap: var(--space-xs); padding-block: var(--space-md) var(--space-sm); border-bottom: 1px solid var(--color-rule-2); }
.mast__mark { font: 600 var(--text-2xl)/1 var(--font-display); letter-spacing: var(--tracking-display); color: var(--color-ink); text-decoration: none; }
.mast__links { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--space-xs) var(--space-lg); margin: 0; padding: 0; list-style: none; font-size: var(--text-sm); font-weight: 500; }
.mast__links a, .mast__mark { border-radius: 4px; }
.mast__links a { color: var(--color-ink-2); text-decoration: none; padding-block: var(--space-2xs); }
.mast__links a:hover { color: var(--color-ink); text-decoration: underline; text-decoration-color: var(--color-accent); }
.mast__links a:focus-visible, .mast__mark:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }

/* Hero */
.hero > .container { width: 100%; min-width: 0; }
.hero { padding-block: var(--space-2xl) var(--space-3xl); min-height: min(calc(100dvh - 92px), 860px); display: grid; align-items: center; }
.hero__grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: var(--space-3xl); align-items: center; }
.hero__meta { margin: 0 0 var(--space-md); font-size: var(--text-sm); font-weight: 500; color: var(--color-muted); }
.hero h1 { margin: 0; }
.hero .lead { margin: var(--space-lg) 0 0; max-width: 30ch; color: var(--color-ink-2); }
.hero__actions { display: flex; flex-wrap: wrap; gap: var(--space-sm); margin-top: var(--space-xl); }

.scene { margin: 0; }
.scene__set { position: relative; font-size: clamp(8px, 0.82vw, 13px); width: 100%; aspect-ratio: 1 / 1; max-height: 640px; }
.scene__cap { margin-top: var(--space-md); font-size: var(--text-sm); color: var(--color-muted); }
.paper { position: absolute; margin: 0; padding: 1.6em 1.8em; }
.paper p { margin: 0; }
.rep { width: 22em; }
.rep--a { left: 0; top: 4%; rotate: -5deg; }
.rep--b { left: 6%; top: 36%; rotate: 3deg; }
.rep--c { left: 1%; top: 66%; rotate: -2deg; }
.rep__kind { display: inline-block; padding: 0.15em 0.6em; border: 1px solid var(--color-rule-2); border-radius: 4px; font-size: 0.95em; font-weight: 500; color: var(--color-muted); }
.rep__from { margin-top: 0.9em !important; font-size: 1em; color: var(--color-muted); }
.rep__subj { margin-top: 0.3em !important; font-size: 1.25em; font-weight: 600; line-height: 1.25; }
.line { display: block; height: 0.45em; margin-top: 0.7em; border-radius: 2px; background: var(--color-paper-3); }
.line--s { width: 60%; }
.cells { display: block; height: 3.2em; margin-top: 0.9em; background-image: linear-gradient(var(--color-rule) 1px, transparent 1px), linear-gradient(90deg, var(--color-rule) 1px, transparent 1px); background-size: 100% 1.05em, 25% 100%; border: 1px solid var(--color-rule); }

.list { right: 0; top: 20%; width: 33em; padding: 2em 2.2em 6em; rotate: 1.5deg; z-index: 2; }
.list__head { font-size: 1.5em; font-weight: 600; letter-spacing: -0.02em; padding-bottom: 0.6em; border-bottom: 1.5px solid var(--color-print); }
.list__rows { margin: 0; padding: 0; list-style: none; }
.row { display: grid; grid-template-columns: 1.6em minmax(0, 1fr) auto; align-items: center; gap: 0.6em; padding: 0.85em 0; border-bottom: 1px solid var(--color-rule); font-size: 1.15em; }
.row .fig { color: var(--color-muted); }
.tag { padding: 0.1em 0.6em; border: 1px solid var(--color-print); border-radius: var(--radius-pill); font-size: 0.8em; font-weight: 500; }
.list__send { margin-top: 1.1em !important; font-size: 1em; color: var(--color-muted); }
.stamp { position: absolute; right: 1.6em; bottom: 0.9em; padding: 0.05em 0.35em; border: 2.5px solid var(--color-paid); border-radius: 6px; color: var(--color-paid); font: 600 2.4em/1.1 var(--font-display); letter-spacing: -0.01em; rotate: -8deg; filter: url(#press); }

/* The paperwork plays once: reports land, the list arrives, rows rank in, the stamp presses. */
.scene.is-playing .rep { animation: land 0.7s var(--ease-out) both; }
.scene.is-playing .rep--a { animation-delay: 0s; }
.scene.is-playing .rep--b { animation-delay: 0.2s; }
.scene.is-playing .rep--c { animation-delay: 0.4s; }
.scene.is-playing .list { animation: slide 0.8s var(--ease-out) both; }
.scene.is-playing .row { animation: rank 0.45s var(--ease-out) both; animation-delay: calc(1s + var(--i) * 0.4s); }
.scene.is-playing .list__send { animation: fade 0.5s var(--ease-out) 2.3s both; }
.scene.is-playing .stamp { animation: press 0.35s var(--ease-in) 2.9s both; }
@keyframes land { from { opacity: 0; transform: translate(-1.5em, -2.5em) scale(1.04); } }
@keyframes slide { from { transform: translateX(1.5em); } }
@keyframes rank { from { opacity: 0; transform: translateX(-0.8em); } }
@keyframes fade { from { opacity: 0; } }
@keyframes press { from { opacity: 0; transform: scale(1.6); } 70% { opacity: 1; transform: scale(0.96); } }

/* Shared head blocks */
section:not(.hero) { padding-block: var(--section-gap) 0; }
.head h2 { margin: 0; }
.head .lead { margin: var(--space-md) 0 0; color: var(--color-ink-2); max-width: 40ch; }
.head--split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--gap-columns); align-items: end; }
.head--split .lead { margin: 0; justify-self: end; text-align: right; }

/* Problem: the LA fires told as a three part story on the desk */
.story { position: relative; margin: var(--space-2xl) 0 0; }
.story__steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap-columns); margin: 0 0 var(--space-lg); padding: 0; list-style: none; }
.story__steps button { position: relative; width: 100%; min-height: 48px; padding: var(--space-sm) 0 var(--space-sm); border: 0; border-top: 2px solid var(--color-rule-2); background: transparent; color: var(--color-muted); font: 600 var(--text-lg)/1.25 var(--font-display); letter-spacing: -0.01em; text-align: left; cursor: pointer; transition: color var(--dur-short) var(--ease-out); }
.story__steps button .fig { margin-right: var(--space-xs); font-size: var(--text-sm); font-weight: 400; }
.story__steps button:hover { color: var(--color-ink-2); }
.story__steps button[aria-current] { color: var(--color-ink); border-top-color: var(--color-ink); }
.story__steps button::after { content: ""; position: absolute; left: 0; right: 0; top: -2px; height: 2px; background: var(--color-accent-2); transform: scaleX(0); transform-origin: left; }
.story.is-running .story__steps button[aria-current]::after { animation: progress 6.5s linear both; }
.story__steps button:focus-visible, .story__pause:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; transition: none; }
@keyframes progress { to { transform: scaleX(1); } }

.story__stage { position: relative; border-radius: var(--radius-card); box-shadow: var(--press-groove); overflow: clip; font-size: clamp(9px, 1.15vw, 16px); }
.sc { position: relative; aspect-ratio: 16 / 7; }
.sc__line { position: absolute; left: 2.2em; top: 1.6em; z-index: 3; margin: 0; font-size: 1.45em; font-weight: 500; color: var(--color-ink-2); }
.story__pause { position: absolute; right: var(--space-md); bottom: var(--space-md); z-index: 4; min-height: 40px; padding: 0 var(--space-md); }
html:not(.js) .story__pause { display: none; }

/* Live: one scene at a time. Without script or with reduced motion, all three stack. */
.story.is-live .sc { display: none; }
.story.is-live .sc.is-on { display: block; }
.story:not(.is-live) .sc + .sc { border-top: 1px solid var(--color-rule-2); }
.story:not(.is-running) .sc *, .story:not(.is-running) .story__steps button::after { animation-play-state: paused !important; }

/* Scene 1: the pile */
.pile { position: absolute; inset: 5em 2em 1.5em; }
.slip { position: absolute; left: var(--x); top: var(--y); width: 15em; padding: 1em 1.2em; rotate: var(--r); }
.slip b { display: block; margin-top: 0.5em; font-size: 1.15em; }
.slip i { display: block; height: 0.4em; margin-top: 0.55em; border-radius: 2px; background: var(--color-paper-3); }
.slip i + i { width: 65%; }
.slip__kind { display: inline-block; padding: 0.1em 0.55em; border: 1px solid var(--color-rule-2); border-radius: 4px; font-size: 0.9em; font-weight: 500; color: var(--color-muted); }
.slip__cells { display: block; height: 2.4em; margin-top: 0.6em; border: 1px solid var(--color-rule); background-image: linear-gradient(var(--color-rule) 1px, transparent 1px), linear-gradient(90deg, var(--color-rule) 1px, transparent 1px); background-size: 100% 0.8em, 25% 100%; }
.sc.is-on .slip { animation: drop 0.6s var(--ease-out) both; animation-delay: calc(0.2s + var(--i) * 0.55s); }
@keyframes drop { from { opacity: 0; transform: translateY(-3em) scale(1.06); } }

/* Scene 2: the sign-off track */
.track { position: absolute; left: 2.2em; right: 2.2em; top: 30%; }
.req { position: relative; z-index: 2; width: 25%; padding: 1em 1.2em; }
.req b { display: block; margin-top: 0.5em; font-size: 1.15em; }
.stops { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 1.6em 0 0; padding: 0; list-style: none; border-top: 1.5px dashed var(--color-rule-2); }
.stops li { position: relative; display: grid; gap: 0.5em; justify-items: start; padding: 1.2em 1em 0 0; font-size: 1.1em; font-weight: 500; }
.stops li::before { content: ""; position: absolute; top: -0.45em; left: 0; width: 0.8em; height: 0.8em; border-radius: 50%; background: var(--color-desk); border: 1.5px solid var(--color-muted); }
.stops em { grid-area: 2 / 1; font-style: normal; padding: 0.05em 0.6em; border-radius: var(--radius-pill); font-size: 0.8em; }
.stops .wait { border: 1px dashed var(--color-muted); color: var(--color-muted); }
.stops .ok { border: 1px solid var(--color-print); color: var(--color-print); opacity: 0; }
.sc.is-on .req { animation: hop 6s steps(1, end) both; }
.sc.is-on .stops .ok { animation: sign 0.3s var(--ease-out) both; animation-delay: calc(1.2s + var(--i) * 1.4s); }
.sc.is-on .stops .wait { animation: unsign 0.3s var(--ease-out) both; animation-delay: calc(1.2s + var(--i) * 1.4s); }
@keyframes hop { 0% { transform: translateX(0); } 22% { transform: translateX(100%); } 45% { transform: translateX(200%); } 68% { transform: translateX(300%); } 100% { transform: translateX(300%); } }
@keyframes sign { from { opacity: 0; transform: scale(1.3); } to { opacity: 1; } }
@keyframes unsign { to { opacity: 0; } }
.clock { position: absolute; right: 2.2em; top: 1.2em; display: flex; align-items: center; gap: 0.6em; font-size: 1.1em; color: var(--color-muted); }
.clock svg { width: 2.6em; height: 2.6em; fill: none; stroke: var(--color-print); stroke-width: 2; stroke-linecap: round; }
.clock__h { transform-origin: 20px 20px; }
.sc.is-on .clock__h { animation: tick 6s linear both; }
@keyframes tick { to { transform: rotate(1080deg); } }

/* Scene 3: teams apart, the whole picture empty */
.teams { position: absolute; inset: 4.5em 2em 1.5em; }
.team { position: absolute; left: var(--x); top: var(--y); display: flex; align-items: center; gap: 0.9em; padding: 1em 1.3em; }
.team .bits { grid-template-columns: repeat(3, 1.1em); }
.team b { font-size: 1.1em; }
.bits { display: grid; grid-template-columns: repeat(3, 0.9em); gap: 0.2em; }
.bits i { aspect-ratio: 1; border-radius: 2px; background: var(--color-paper-3); }
.bits i.on { background: var(--color-print); }
.whole { position: absolute; left: 50%; top: 42%; translate: -50% -50%; display: grid; justify-items: center; gap: 0.8em; padding: 1.4em 2em; border: 1.5px dashed var(--color-muted); border-radius: var(--radius-card); color: var(--color-muted); font-size: 1.05em; }
.bits--big { grid-template-columns: repeat(3, 2.4em); gap: 0.35em; }
.bits--big i { background: transparent; border: 1px dashed var(--color-rule-2); }
.sc.is-on .team { animation: drift 0.7s var(--ease-out) both; animation-delay: calc(0.2s + var(--i) * 0.35s); }
.sc.is-on .whole { animation: fade 0.8s var(--ease-out) 2.4s both; }
@keyframes drift { from { opacity: 0; transform: scale(0.9); } }

.statement { max-width: 22ch; margin: var(--space-3xl) 0 0; font: var(--display-weight) var(--text-display-s)/1.08 var(--font-display); letter-spacing: var(--tracking-display); }

/* What it weighs: rows */
.weighs__grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: var(--space-2xl) var(--gap-columns); }
.rows { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--color-rule-2); counter-reset: r; }
.rows li { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--gap-columns); align-items: baseline; padding-block: var(--space-lg); border-bottom: 1px solid var(--color-rule-2); }
.rows h3 { margin: 0; font-size: var(--text-title); }
.rows p { margin: 0; color: var(--color-ink-2); }
.weighs__note { grid-column: 2; margin: 0; font-size: var(--text-lead); }

/* Concept screens */
.switch { margin-top: var(--space-2xl); }
.groove { display: inline-grid; grid-auto-flow: column; gap: var(--space-2xs); padding: var(--space-2xs); border-radius: 12px; background: var(--color-paper-2); box-shadow: var(--press-groove); max-width: 100%; overflow-x: auto; }
.groove button { min-height: 44px; padding: 0 var(--space-lg); border: 0; border-radius: var(--radius-stock); background: transparent; color: var(--color-ink-2); font: 500 var(--text-md)/1 var(--font-body); white-space: nowrap; cursor: pointer; transition: background-color var(--dur-short) var(--ease-out), box-shadow var(--dur-short) var(--ease-out); }
.groove button:hover { color: var(--color-ink); }
.groove button[aria-selected="true"] { background-color: var(--color-cotton); background-image: var(--tex-cotton); color: var(--color-print); box-shadow: var(--edge-stock), var(--cast-stock); }
.groove button:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; transition: none; }
.panel { margin: var(--space-xl) 0 0; }
.panel img { width: 100%; height: auto; border-radius: var(--radius-card); box-shadow: var(--cast-stock-lift); }
.panel figcaption { margin-top: var(--space-sm); font-size: var(--text-sm); color: var(--color-muted); }

/* Whiteboards: prints laid on the desk, each with a note card */
.board-sec { padding-block: var(--section-gap-s) !important; margin-top: var(--section-gap); }
.prints { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--space-3xl) var(--gap-columns); margin: var(--space-2xl) 0 0; padding: 0; list-style: none; counter-reset: pr; }
.print { position: relative; margin: 0; padding-bottom: var(--space-2xl); counter-increment: pr; }
.print img { display: block; width: 100%; height: auto; padding: var(--space-xs); border-radius: 4px; background: var(--color-cotton); box-shadow: var(--edge-stock), var(--cast-stock-lift); }
.print--a { grid-column: 1 / span 8; rotate: -0.8deg; }
.print--b { grid-column: 9 / span 4; grid-row: span 2; align-self: start; rotate: 1.2deg; }
.print--b img { aspect-ratio: 9 / 15; object-fit: cover; object-position: 50% 30%; }
.print--c { grid-column: 1 / span 4; rotate: 1deg; }
.print--d { grid-column: 5 / span 4; rotate: -1deg; }
.note { position: absolute; left: var(--space-lg); bottom: 0; max-width: 20rem; padding: var(--space-md) var(--space-lg); rotate: -1.5deg; }
.print:nth-child(even) .note { left: auto; right: var(--space-lg); rotate: 1.5deg; }
.note h3 { margin: 0; font-size: var(--text-lg); }
.note h3::before { content: counter(pr) "  "; font: 400 var(--text-sm)/1 var(--font-outlier); color: var(--color-muted); }
.note p { margin: var(--space-2xs) 0 0; font-size: var(--text-sm); color: var(--color-ink-2); }

/* Savings: the board */
.board { background: var(--color-board); color: var(--color-board-type); padding-block: var(--section-gap-s) !important; margin-top: var(--section-gap); }
.board .lead { color: var(--color-board-type); opacity: 0.8; }
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: var(--space-2xl) 0 0; padding: 0; list-style: none; }
.stats li { display: flex; flex-direction: column; gap: var(--space-xs); padding-inline: var(--space-xl); border-left: 1px solid color-mix(in oklab, var(--color-board-type) 22%, transparent); }
.stats li:first-child { padding-left: 0; border-left: 0; }
.stats b { font-variant-numeric: tabular-nums; font-size: var(--text-display-s); font-weight: 400; line-height: 1; letter-spacing: -0.03em; }
.stats span { font-size: var(--text-lead); line-height: 1.35; max-width: 24ch; }
.stats small { margin-top: auto; padding-top: var(--space-md); font-size: var(--text-sm); opacity: 0.7; }

/* Compare table */
.table-wrap { margin-top: var(--space-2xl); overflow-x: auto; border-radius: var(--radius-card); }
.table-wrap:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }
table { width: 100%; border-collapse: collapse; min-width: 44rem; }
th, td { padding: var(--space-md) var(--space-sm); text-align: left; border-bottom: 1px solid var(--color-rule-2); }
thead th { font-size: var(--text-sm); font-weight: 500; color: var(--color-muted); }
tbody th { font-weight: 500; }
td { color: var(--color-muted); }
td.y { color: var(--color-ink); font-weight: 500; }
.ours { background: var(--color-paper-2); }
thead .ours { color: var(--color-ink); font-weight: 600; }

/* Pitch */
.video { margin: var(--space-2xl) 0 0; }
.video video { display: block; width: 100%; height: auto; border-radius: var(--radius-card); background: var(--color-board); box-shadow: var(--cast-stock-lift); }
.player { position: relative; border-radius: var(--radius-card); }
.player:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 4px; }
.player.is-custom video { border-radius: var(--radius-card) var(--radius-card) 0 0; box-shadow: none; cursor: pointer; }
.player.is-custom { background: var(--color-board); box-shadow: var(--cast-stock-lift); }
.player:fullscreen { display: flex; flex-direction: column; justify-content: center; border-radius: 0; }
.player:fullscreen video { flex: 1; min-height: 0; object-fit: contain; border-radius: 0; }
.player__bar { display: flex; align-items: center; gap: var(--space-sm); padding: var(--space-sm) var(--space-md); color: var(--color-board-type); }
.pbtn { display: inline-grid; place-items: center; flex: none; width: 44px; height: 44px; padding: 0; border: 0; border-radius: var(--radius-stock); background: transparent; color: var(--color-board-type); cursor: pointer; transition: background-color var(--dur-short) var(--ease-out); }
.pbtn svg { width: 24px; height: 24px; fill: currentColor; }
.pbtn:hover { background: color-mix(in oklab, var(--color-board-type) 12%, transparent); }
.pbtn:active { transform: translateY(1px); }
.pbtn:focus-visible, .player__speed button:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 1px; transition: none; }
.pbtn--cc { width: auto; min-width: 44px; padding: 0 var(--space-xs); font: 600 var(--text-sm)/1 var(--font-body); color: color-mix(in oklab, var(--color-board-type) 55%, transparent); }
.pbtn--cc[aria-pressed="true"] { color: var(--color-board-type); text-decoration: underline 2px var(--color-accent); text-underline-offset: 4px; }
.player video::cue { background: color-mix(in oklab, var(--color-ink) 82%, transparent); color: var(--color-board-type); font-family: var(--font-body); font-size: 1.05em; line-height: 1.35; }
.i-pause, .is-playing .i-play, .i-muted, .is-muted .i-vol { display: none; }
.is-playing .i-pause, .is-muted .i-muted { display: block; }
.player__time { flex: none; font-size: var(--text-sm); min-width: 4ch; text-align: center; }
.player__seek { flex: 1; min-width: 0; height: 44px; margin: 0; background: transparent; cursor: pointer; -webkit-appearance: none; appearance: none; --p: 0%; }
.player__seek::-webkit-slider-runnable-track { height: 4px; border-radius: 2px; background: linear-gradient(90deg, var(--color-accent) var(--p), color-mix(in oklab, var(--color-board-type) 25%, transparent) var(--p)); }
.player__seek::-moz-range-track { height: 4px; border-radius: 2px; background: color-mix(in oklab, var(--color-board-type) 25%, transparent); }
.player__seek::-moz-range-progress { height: 4px; border-radius: 2px; background: var(--color-accent); }
.player__seek::-webkit-slider-thumb { -webkit-appearance: none; width: 12px; height: 12px; margin-top: calc(-1 * var(--space-2xs)); border: 0; border-radius: 50%; background: var(--color-board-type); }
.player__seek::-moz-range-thumb { width: 12px; height: 12px; border: 0; border-radius: 50%; background: var(--color-board-type); }
.player__seek:focus-visible { outline: 2px solid var(--color-accent); outline-offset: -8px; }
.player__speed { display: flex; flex: none; gap: var(--space-3xs); padding: var(--space-3xs); border-radius: var(--radius-stock); background: color-mix(in oklab, var(--color-board-type) 10%, transparent); }
.player__speed button { min-width: 44px; height: 40px; padding: 0 var(--space-xs); border: 0; border-radius: 6px; background: transparent; color: var(--color-board-type); font: 500 var(--text-sm)/1 var(--font-body); cursor: pointer; }
.player__speed button:hover { background: color-mix(in oklab, var(--color-board-type) 12%, transparent); }
.player__speed button[aria-pressed="true"] { background: var(--color-board-type); color: var(--color-board); }
@media (max-width: 40rem) {
  .player__bar { flex-wrap: wrap; gap: var(--space-2xs) var(--space-xs); padding: var(--space-xs); }
  .player__seek { order: -1; flex-basis: 100%; height: 32px; }
  .player__speed { margin-left: auto; }
  .pbtn { width: 40px; height: 40px; }
  .player__speed button { min-width: 34px; height: 36px; padding: 0 var(--space-2xs); }
  .player__time { min-width: 0; font-size: var(--text-xs); }
}

/* Footer: mast */
.foot { margin-top: var(--section-gap); padding-block: var(--space-3xl) var(--space-2xl); background: var(--color-desk); border-top: 1px solid var(--color-rule-2); }
.foot__mark { margin: 0; font: 600 clamp(3rem, 9vw, 8.5rem)/0.95 var(--font-display); letter-spacing: -0.045em; color: var(--color-ink); }
.foot__row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--space-lg); margin-top: var(--space-xl); color: var(--color-ink-2); }
.foot__row p { margin: 0; max-width: 52ch; }
.foot__links { display: flex; gap: var(--space-lg); margin: 0; padding: 0; list-style: none; font-weight: 500; }
.foot__links a { color: var(--color-ink); border-radius: 4px; }
.foot__links a:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }

@media (max-width: 60rem) {
  .hero { min-height: 0; padding-block: var(--space-xl) var(--space-2xl); }
  .hero__grid, .problem__grid, .weighs__grid, .head--split { grid-template-columns: minmax(0, 1fr); gap: var(--space-xl); }
  .head--split .lead { justify-self: start; text-align: left; }
  .scene__set { font-size: clamp(6px, 2vw, 11px); }
  .weighs__note { grid-column: 1; }
  .story__steps { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .story.is-live .story__steps button:not([aria-current]) { min-height: 40px; padding-block: var(--space-xs); font-size: var(--text-md); }
  .story__stage { font-size: clamp(7px, 2.3vw, 11px); }
  .sc { aspect-ratio: 4 / 5; }
  .sc__line { right: 2em; font-size: 1.8em; }
  .story__pause { position: static; display: flex; margin: var(--space-sm) 0 0 auto; }
  .slip { width: 14em; }
  .sc--1 .slip:nth-child(1) { --x: 2% !important; --y: 4% !important; } .sc--1 .slip:nth-child(2) { --x: 40% !important; --y: 16% !important; }
  .sc--1 .slip:nth-child(3) { --x: 4% !important; --y: 32% !important; } .sc--1 .slip:nth-child(4) { --x: 42% !important; --y: 46% !important; }
  .sc--1 .slip:nth-child(5) { --x: 3% !important; --y: 62% !important; } .sc--1 .slip:nth-child(6) { --x: 40% !important; --y: 76% !important; }
  .track { top: 8em; }
  .req { width: 60%; }
  .sc.is-on .req { animation: none; }
  .stops { grid-template-columns: minmax(0, 1fr); border-top: 0; border-left: 1.5px dashed var(--color-rule-2); margin-left: 0.4em; }
  .stops li { grid-template-columns: 1fr auto; padding: 1.1em 0 1.1em 1.4em; }
  .stops li::before { top: 1.35em; left: -0.45em; }
  .stops em { grid-area: 1 / 2; }
  .clock { top: auto; bottom: 1.5em; right: auto; left: 2.2em; }
  .teams { inset: 7.5em 1.5em 1.5em; }
  .teams .team:nth-child(1) { left: 2%; top: 0; } .teams .team:nth-child(2) { left: auto; right: 2%; top: 12%; }
  .teams .team:nth-child(3) { left: 2%; top: 64%; } .teams .team:nth-child(4) { left: auto; right: 2%; top: 75%; }
  .teams .team:nth-child(5) { left: 2%; top: 87%; }
  .whole { top: 40%; }
  .prints { grid-template-columns: minmax(0, 1fr); gap: var(--space-2xl); }
  .print--a, .print--b, .print--c, .print--d { grid-column: 1; grid-row: auto; }
  .print--b img { aspect-ratio: 4 / 5; }
  .print { padding-bottom: 0; }
  .note, .print:nth-child(even) .note { position: relative; left: auto; right: auto; bottom: auto; margin: calc(-1 * var(--space-lg)) var(--space-md) 0; }
  .stats { grid-template-columns: minmax(0, 1fr); }
  .stats li { padding: var(--space-lg) 0; border-left: 0; border-top: 1px solid color-mix(in oklab, var(--color-board-type) 22%, transparent); }
  .stats li:first-child { border-top: 0; padding-top: 0; }
}
@media (max-width: 40rem) {
  .rows li { grid-template-columns: minmax(0, 1fr); gap: var(--space-2xs); }
}
@media (prefers-reduced-motion: reduce) {
  .scene .paper, .scene .row, .scene .stamp, .scene .list__send, .story * { animation: none !important; }
  .scene .paper, .scene .row, .scene .stamp, .scene .list__send { opacity: 1 !important; }
  .stops .ok { opacity: 1; } .stops .wait { display: none; }
  .btn, .groove button { transition: none; }
  .btn:hover, .btn:active { transform: none; }
}
