/* Hallmark · shape: problem then solution (draw 9e791b dealt Feature Stack; the user asked for the problem first, then the answer) · genre: editorial · theme: Riso (deal 3/3, seed student-hackathon-project-problem-255b·1aecd73d·2026-11-07·r0) · redesign: full
 * hero: Ledge · nav: slab · footer: one line (wordmark and credit) · imagery: the team's own footage and screen recordings, in full colour (the user asked for more energy than the duotone gave) · signature: the arm working on loop as a tall riso plate, the head resting under it with "hand" off register
 * axes: light/grotesk-heavy/chromatic-pink · posture: committed · contrast: pass · fold: pass · v2.0.0 */
/* Hallmark · pre-emit critique: P4 H5 E4 S4 R4 V5 · weakest: P, the problem is only what the deck states; set the three manual jobs as plates so the robot's three jobs answer them one for one */
/* Hallmark · waive 38iii · one word in the hero head, "hand", prints in both drums · the Riso material's one misregistered word */
/* Hallmark · waive 26b · no control on this page can be disabled · the only controls are links and the three step tabs */
/* Hallmark · answered F4 · the pink fill marks both the primary button and the chosen tab; a chosen tab is a state, not a second action */
/* Hallmark · riso: the user found the fluorescent pink hard on the eyes; the drums are now electric blue, teal and amber (his portfolio's pair); amber fills bands and dots, never type */
/* Hallmark · tokens.css and base.css load as parallel <link> tags in index.html, not @import, so the CSS arrives in one round trip */
@font-face { font-family: "Cabinet Grotesk"; font-style: normal; font-weight: 800; font-display: swap; src: url("fonts/cabinet-grotesk-800.woff2") format("woff2"); }
@font-face { font-family: "Literata"; font-style: normal; font-weight: 400 500; font-display: swap; src: url("fonts/literata-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; }

h1, h2, h3 { font-weight: var(--display-weight); color: var(--color-ink); }
h1 { line-height: 0.92; } h2 { line-height: 0.98; }
.lead { color: var(--color-ink-2); }
a { text-decoration-color: var(--color-accent); text-decoration-thickness: 2px; transition: text-decoration-thickness var(--dur-short) var(--ease-out); }
a:hover { text-decoration-thickness: 4px; }
a:active { opacity: 0.8; }

/* nav: slab */
.nav { position: sticky; top: 0; z-index: var(--z-sticky-nav); background: var(--color-ink); color: var(--color-paper); }
.nav__in { display: flex; align-items: center; justify-content: space-between; gap: var(--space-lg); min-height: 64px; }
.wordmark { display: inline-flex; align-items: center; min-height: 44px; font: var(--display-weight) var(--text-xl)/1 var(--font-display); letter-spacing: var(--tracking-display); color: var(--color-paper); text-decoration: none; }
.nav__links { display: flex; gap: var(--space-lg); margin: 0; padding: 0; list-style: none; font-weight: 500; font-size: var(--text-sm); }
.nav__links a { display: inline-flex; align-items: center; min-height: 44px; color: var(--color-paper); text-decoration-line: underline; text-decoration-color: transparent; }
.nav__links a:hover { text-decoration-color: var(--color-accent); }
.nav a:focus-visible { outline-color: var(--color-paper); }

/* buttons: the pink fill carries deep blue type */
.actions { display: flex; flex-wrap: wrap; gap: var(--space-sm); margin-top: var(--space-lg); }
.btn { display: inline-flex; align-items: center; min-height: 48px; padding: 0 var(--space-lg); border: 1.5px solid transparent; border-radius: var(--radius-card); font: var(--display-weight) 0.9375rem/1 var(--font-display); text-decoration: none; white-space: nowrap; cursor: pointer; transition: background-color var(--dur-short) var(--ease-out), transform var(--dur-micro) var(--ease-out); }
.btn:active { transform: translate(1px, 1px); }
.btn:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }
.btn--primary { background: var(--color-accent); color: var(--color-accent-ink); }
.btn--primary:hover { background: var(--color-paper-3); }
.btn--secondary { border-color: var(--color-ink); color: var(--color-ink); }
.btn--secondary:hover { background: var(--color-paper-2); }

/* plates: a print on the stock */
.plate { position: relative; margin: 0; overflow: hidden; border-radius: var(--radius-card); background: var(--color-paper-2); }
.plate video, .plate img { width: 100%; height: 100%; object-fit: cover; }

/* the one misregistered word */
.misreg { position: relative; display: inline-block; isolation: isolate; }
.misreg::after { content: attr(data-text); position: absolute; inset: 0; z-index: -1; white-space: nowrap; pointer-events: none; color: var(--color-accent); transform: translate(3px, 4px); animation: settle var(--dur-long) var(--ease-out) both; }
@keyframes settle { from { transform: translate(0, 0); opacity: 0; } to { transform: translate(3px, 4px); opacity: 1; } }

/* hero: Ledge */
.hero { padding-block: var(--space-lg) var(--space-2xl); }
.hero__plate { aspect-ratio: 21 / 9; max-height: 56dvh; width: 100%; }
.hero__ledge { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--space-2xl); align-items: end; margin-top: var(--space-xl); }
.hero h1 { max-width: 14ch; font-size: clamp(2.75rem, 3.4vw + 1rem, 4.75rem); }
.hero .lead { max-width: 28ch; }

/* shared head: split */
.split-head { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--space-2xl); align-items: end; }
.split-head .lead { max-width: 46ch; }

/* problem: three jobs as plates */
.problem { padding-block: var(--section-gap-s); background: var(--color-accent); }
.problem h2, .problem .lead { color: var(--color-accent-ink); }
.problem .lead strong { font-weight: 500; }
.plates { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap-columns); margin: var(--space-2xl) 0 0; padding: 0; list-style: none; }
.job { display: flex; flex-direction: column; gap: var(--space-md); padding: var(--space-xl); border-radius: var(--radius-card); background: var(--color-paper); border-top: 6px solid var(--color-sun); }
.job__n { display: grid; place-items: center; width: 3rem; height: 3rem; border-radius: 50%; background: var(--color-ink); color: var(--color-paper); font: var(--display-weight) var(--text-xl)/1 var(--font-display); font-variant-numeric: tabular-nums; }
.job h3 { margin-top: var(--space-xs); font-size: var(--text-2xl); line-height: 1.05; }
.job p { font-size: var(--text-lead); line-height: 1.45; color: var(--color-ink-2); }

/* turn: statement */
.turn { padding-block: var(--section-gap-s); background: var(--color-ink); }
.turn .statement { color: var(--color-paper); }
.statement { max-width: 18ch; font-size: var(--text-display); line-height: 0.95; }

/* how: switcher */
.how { padding-block: var(--section-gap); }
.how__grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: var(--space-2xl); align-items: start; }
.seg { display: flex; flex-direction: column; gap: var(--space-xs); margin-top: var(--space-xl); }
.seg[hidden] { display: none; }
.seg button { display: flex; align-items: center; min-height: 52px; padding: 0 var(--space-md); border: 1.5px solid var(--color-ink); border-radius: var(--radius-card); background: transparent; color: var(--color-ink); font: var(--display-weight) var(--text-lg)/1 var(--font-display); text-align: left; cursor: pointer; transition: background-color var(--dur-short) var(--ease-out), transform var(--dur-micro) var(--ease-out); }
.seg button:hover { background: var(--color-paper-2); }
.seg button:active { transform: translate(1px, 1px); }
.seg button:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }
.seg button[aria-selected="true"] { background: var(--color-accent); border-color: var(--color-accent); color: var(--color-accent-ink); }
.how__panels { display: grid; gap: var(--space-2xl); }
.how.is-tabbed .how__panels { gap: 0; }
.panel .plate { aspect-ratio: 16 / 9; }
.panel__text { margin-top: var(--space-md); font-size: var(--text-lead); color: var(--color-ink-2); max-width: 48ch; }
.panel__text strong { font-weight: 500; color: var(--color-ink); }

/* compare: rows on the pink screen */
.compare { padding-block: var(--section-gap-s); background: var(--color-paper-2); }
.compare__grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: var(--space-2xl); align-items: start; }
.register { width: 100%; border-collapse: collapse; font-size: var(--text-lead); }
.register thead th { padding: 0 var(--space-md) var(--space-sm) 0; text-align: left; font-size: var(--text-sm); font-weight: 500; color: var(--color-muted); border-bottom: 1.5px solid var(--color-ink); }
.register tbody th, .register td { padding: var(--space-md) var(--space-md) var(--space-md) 0; text-align: left; border-bottom: var(--rule-hair) solid var(--color-rule); vertical-align: top; }
.register tbody th { font-weight: 500; }
.register td:nth-child(2) { color: var(--color-muted); }
.register td:last-child { font-family: var(--font-display); font-weight: var(--display-weight); }

/* website: a yellow band, the real screens behind tabs */
.web { padding-block: var(--section-gap-s) var(--section-gap); background: var(--color-sun-2); }
.screens { margin-top: var(--space-2xl); }
.seg--row { flex-direction: row; flex-wrap: wrap; margin: 0 0 var(--space-lg); }
.seg--row button { background: var(--color-paper); }
.screen { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: var(--space-2xl); align-items: center; }
.web:not(.is-tabbed) .screen + .screen { margin-top: var(--space-2xl); }
.screen__fig { aspect-ratio: 1150 / 500; border: 2px solid var(--color-ink); }
.callouts { margin: 0; padding: 0; list-style: none; counter-reset: c; }
.callouts li { counter-increment: c; position: relative; padding: var(--space-md) 0 var(--space-md) 3rem; border-top: 1.5px solid var(--color-ink); font-size: var(--text-lead); line-height: 1.4; }
.callouts li:last-child { border-bottom: 1.5px solid var(--color-ink); }
.callouts li::before { content: counter(c); position: absolute; left: 0; top: var(--space-md); display: grid; place-items: center; width: 2rem; height: 2rem; border-radius: 50%; background: var(--color-accent); color: var(--color-accent-ink); font: var(--display-weight) var(--text-md)/1 var(--font-display); }
.callouts strong { font-family: var(--font-display); font-weight: var(--display-weight); }

/* pitch: showcase on the solid blue */
.pitch { padding-block: var(--section-gap-s) var(--section-gap); background: var(--color-ink); color: var(--color-paper); }
.pitch h2 { color: var(--color-paper); }
.pitch .lead { color: var(--color-paper-2); }
.pitch__fig { margin: var(--space-2xl) 0 0; aspect-ratio: 16 / 9; border-radius: var(--radius-card); overflow: hidden; }
.pitch__fig video { width: 100%; height: 100%; object-fit: cover; }
.pitch video:focus-visible { outline: 2px solid var(--color-paper); outline-offset: 2px; }

/* footer: one quiet line */
.foot { padding-block: var(--space-xl); border-top: 1.5px solid var(--color-ink); }
.foot__in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-md); }
.foot__mark { display: inline-flex; align-items: center; min-height: 44px; font: var(--display-weight) var(--text-xl)/1 var(--font-display); letter-spacing: var(--tracking-display); color: var(--color-ink); text-decoration: none; }
.foot__by { color: var(--color-ink-2); }

@media (max-width: 60rem) {
  .hero__ledge, .split-head, .how__grid, .compare__grid, .screen { grid-template-columns: minmax(0, 1fr); gap: var(--space-lg); }
  .hero__plate { aspect-ratio: 4 / 3; max-height: none; }
  .plates { grid-template-columns: minmax(0, 1fr); }
  .seg { flex-direction: row; flex-wrap: wrap; margin-top: var(--space-lg); }
  .seg button { font-size: var(--text-md); min-height: 48px; }
  .nav__links { gap: var(--space-md); }
}
@media (max-width: 40rem) {
  .nav__links li:nth-child(1) { display: none; }
  .register { font-size: var(--text-md); }
}
@media (prefers-reduced-motion: reduce) {
  .misreg::after { animation: none; }
  a, .btn, .seg button { transition: none; }
}
.nowrap { white-space: nowrap; }
.compare__lead { margin-top: var(--space-md); }
.compare .register td:last-child { color: var(--color-ink); }

/* video player: one bar for every clip */
.player { position: relative; }
.player:focus-visible { outline: 3px solid var(--color-focus); outline-offset: 3px; }
.player video { cursor: pointer; }
.pbar { position: absolute; z-index: 3; left: var(--space-sm); right: var(--space-sm); bottom: var(--space-sm); display: flex; align-items: center; gap: var(--space-xs); padding: var(--space-2xs) var(--space-sm); border-radius: var(--radius-card); background: color-mix(in oklab, var(--color-accent-ink) 82%, transparent); color: var(--color-paper); font: 500 var(--text-sm)/1 var(--font-body); transition: opacity var(--dur-short) var(--ease-out); }
.player--loop .pbar { opacity: 0; }
.player--loop:hover .pbar, .player--loop:focus-within .pbar, .player--loop.is-shown .pbar, .player--loop.is-paused .pbar { opacity: 1; }
.pbtn { display: grid; place-items: center; flex: none; width: 40px; height: 40px; padding: 0; border: 0; border-radius: var(--radius-card); background: transparent; color: var(--color-paper); cursor: pointer; transition: background-color var(--dur-short) var(--ease-out), transform var(--dur-micro) var(--ease-out); }
.pbtn svg { width: 22px; height: 22px; }
.pbtn:hover { background: color-mix(in oklab, var(--color-paper) 18%, transparent); }
.pbtn:active { transform: translate(1px, 1px); }
.pbtn:focus-visible, .pseek:focus-visible, .pspeed select:focus-visible { outline: 2px solid var(--color-paper); outline-offset: 1px; }
.ptime { flex: none; font-variant-numeric: tabular-nums; white-space: nowrap; }
.pseek { flex: 1 1 auto; min-width: 0; height: 40px; margin: 0; accent-color: var(--color-accent); cursor: pointer; background: transparent; }
.pspeed select { height: 32px; padding: 0 var(--space-xs); border: 1px solid color-mix(in oklab, var(--color-paper) 55%, transparent); border-radius: var(--radius-card); background: transparent; color: var(--color-paper); font: 500 var(--text-sm)/1 var(--font-body); cursor: pointer; transition: border-color var(--dur-short) var(--ease-out); }
.pspeed select:hover { border-color: var(--color-paper); }
.pspeed option { color: var(--color-ink); background: var(--color-paper); }
.player:fullscreen { display: grid; place-items: center; background: var(--color-accent-ink); }
.player:fullscreen video { object-fit: contain; }
.pitch__fig { position: relative; }
@media (max-width: 40rem) {
  .pbar { left: var(--space-xs); right: var(--space-xs); bottom: var(--space-xs); flex-wrap: wrap; gap: 0 var(--space-3xs); padding: 0 var(--space-xs) var(--space-3xs); }
  .pseek { order: -1; flex-basis: 100%; height: 28px; }
  .ptime { margin-right: auto; }
  .pbtn { width: 44px; height: 44px; }
  .ptime { font-size: var(--text-xs); }
  .pbtn svg { width: 20px; height: 20px; }
}
@media (prefers-reduced-motion: reduce) { .pbar, .pbtn, .pspeed select { transition: none; } }
.how__lead { margin-top: var(--space-lg); color: var(--color-ink-2); max-width: 32ch; }
.wordmark { gap: var(--space-xs); }
.wordmark__mark { width: 32px; height: 32px; border-radius: 8px; outline: 1.5px solid var(--color-paper); outline-offset: -1px; }
