/* Hallmark · shape: Split Studio · genre: playful · theme: Arcade (deal 3/3, seed cronny-dev-free-browser-bf51·597dfafb·2026-10-30·r0) · job: try · draw: 09b240
 * hero: Banner · nav: edge-aligned · footer: letter close · imagery: screenshots 8 (capture.mjs and scripted saves of the live game), the game's own mascot art · signature: the crontab line set at display scale, its five fields annotated · arcade: mint/grille (palette and faces preserved from the game: Baloo 2, Martian Mono, plum and LED mint)
 * axes: dark/rounded-sans/chromatic-mint · posture: full-palette · contrast: pass · fold: pass · v2.0.0 */
/* Hallmark · pre-emit critique: P4 H4 E4 S5 R4 V4 · weakest: R, the cron lockup wanted a blinking cursor and a scanline on every well; cut both and kept one grille on the proof slots */
/* Hallmark · finish-review: subagent · 6 findings · 6 resolved (the lab as a full-width showcase; the history and live eras as two-player wells in type; the split on h1 and every h2; a phone crop of the leaderboard; the command held to one row on phones; hero recentred; the close renamed) · gap: the h1 and the cron figures share the hero's split by design, the well being a screen within the screen */
/* Hallmark · hero-review: fix · 5 findings · 5 resolved (one-row cron lockup filling its well; grille on the screen; a facts strip from the material; caption rewritten; nav duplicate cut) */
/* Hallmark · answered F4 · the try job repeats the play action at the close beside one last screen, so the mint press surface appears twice */
@import url("./tokens.css");
@import url("./base.css");

/* --- type --------------------------------------------------------------- */
h1, h2, h3 { font-family: var(--font-display); font-weight: var(--display-weight); }
h1 { line-height: 1.02; text-shadow: -2px 0 0 var(--color-crt-r), 2px 0 0 var(--color-crt-c); }
h2 { line-height: 1.05; text-shadow: -1.5px 0 0 var(--color-crt-r), 1.5px 0 0 var(--color-crt-c); }
h3 { font-weight: 700; }
.lead { color: var(--color-ink-2); }
.mono { font-family: var(--font-outlier); font-variant-numeric: tabular-nums; }
small, figcaption, dt, .tab { font-size: var(--text-sm); }
b, strong { font-weight: 700; }
a { text-decoration-color: var(--color-accent-2); text-decoration-thickness: var(--rule-bar); transition: text-decoration-color var(--dur-short) var(--ease-out); }
a:hover { text-decoration-color: var(--color-ink); }

/* --- the press surface, all eight states -------------------------------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: var(--space-xs); min-height: 52px; padding: 0 var(--space-lg); border: var(--rule-bar) solid var(--color-ink); border-radius: var(--radius-card); background: var(--color-accent); color: var(--color-accent-ink); font: 700 var(--text-md)/1 var(--font-body); white-space: nowrap; text-decoration: none; cursor: pointer; box-shadow: var(--shadow-card); transition: translate var(--dur-micro) var(--ease-out), box-shadow var(--dur-micro) var(--ease-out), background-color var(--dur-micro) var(--ease-out); }
.btn:hover { translate: -2px -2px; box-shadow: 8px 8px 0 var(--color-accent-2); }
.btn:active { translate: 3px 3px; box-shadow: 2px 2px 0 var(--color-accent-2); }
.btn:focus-visible { outline: 3px solid var(--color-focus); outline-offset: 3px; }
.btn:disabled, .btn[aria-disabled="true"] { opacity: 0.55; cursor: not-allowed; translate: none; box-shadow: var(--shadow-card); }
.btn[aria-busy="true"] { cursor: progress; }
.btn[data-state="error"] { border-color: var(--color-error); }
.btn[data-state="success"] { background: var(--color-success); }
.btn--quiet { background: transparent; color: var(--color-ink); }
.btn--quiet:hover { background: var(--color-paper-2); }
.btn--small { min-height: 44px; padding: 0 var(--space-md); box-shadow: 4px 4px 0 var(--color-accent-2); }
.btn--small:hover { box-shadow: 6px 6px 0 var(--color-accent-2); }
.btn--small:active { box-shadow: 1px 1px 0 var(--color-accent-2); }
@media (prefers-reduced-motion: reduce) { .btn { transition: background-color var(--dur-micro) linear; } .btn:hover, .btn:active { translate: none; box-shadow: var(--shadow-card); } }

.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); border-radius: var(--radius-card); }
.skip:focus-visible { top: var(--space-md); outline: 3px solid var(--color-focus); }

/* --- the screen: a static RGB grille over wells and captures, never under running text --- */
.crt { position: relative; isolation: isolate; }
.crt::after { content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none; border-radius: inherit;
  background-image:
    repeating-linear-gradient(to right, color-mix(in oklab, var(--color-crt-r) 8%, transparent) 0 1px, color-mix(in oklab, var(--color-crt-g) 8%, transparent) 1px 2px, color-mix(in oklab, var(--color-crt-b) 8%, transparent) 2px 3px),
    repeating-linear-gradient(to bottom, transparent 0 2px, color-mix(in oklab, var(--color-shade) 22%, transparent) 2px 3px); }

/* --- nav: edge-aligned, a wordmark and one quiet action ------------------- */
.nav { position: relative; }
.nav .container { display: flex; align-items: center; justify-content: space-between; gap: var(--space-lg); min-height: 72px; }
.wordmark { display: inline-flex; align-items: center; gap: var(--space-sm); font-family: var(--font-display); font-weight: 800; font-size: var(--text-lg); text-decoration: none; color: var(--color-ink); }
.wordmark img { width: 28px; height: 44px; flex-shrink: 0; }
.wordmark:focus-visible { outline: 3px solid var(--color-focus); outline-offset: 4px; }

/* --- hero: Banner. Text on six columns, the cron lockup on the other five -- */
.hero { padding-block: var(--space-3xl) var(--space-2xl); }
.hero .container { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); column-gap: var(--space-2xl); row-gap: var(--space-xl); align-items: center; }
.hero__text { display: grid; gap: var(--space-lg); justify-items: start; }
.hero__text .lead { max-width: 36ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: var(--space-md); margin-top: var(--space-xs); }

.cron { margin: 0; display: grid; gap: var(--space-sm); min-width: 0; }
.cron__screen { padding: var(--space-xl); background: var(--color-paper-2); border: var(--rule-bar) solid var(--color-rule); border-radius: var(--radius-card); display: grid; gap: var(--space-xl); min-width: 0; }
.cron__line { display: grid; grid-template-columns: repeat(5, auto); justify-content: space-between; align-items: end; gap: var(--space-md); margin: 0; font-family: var(--font-outlier); font-weight: 700; color: var(--color-accent-2); font-variant-numeric: tabular-nums; }
.cron__line .f { display: grid; gap: var(--space-xs); justify-items: center; min-width: 0; }
.cron__line .f b { font-weight: 700; font-size: var(--cron-size); line-height: 1; text-shadow: -2px 0 0 var(--color-crt-r), 2px 0 0 var(--color-crt-c); }
.cron__line .f small { font-family: var(--font-body); font-weight: 400; color: var(--color-muted); }
.cron__cmd { font-family: var(--font-outlier); font-weight: 400; font-size: var(--text-lg); color: var(--color-ink); margin: 0; overflow-wrap: break-word; min-width: 0; }
.cron__cmd b { color: var(--color-accent); }
.cron__cmd .flag { white-space: nowrap; }
.cron figcaption { color: var(--color-ink-2); max-width: 40ch; text-wrap: balance; }
:root { --cron-size: clamp(2.5rem, 2.5vw + 1.75rem, 4.5rem); }

.score { margin: var(--space-md) 0 0; display: grid; grid-template-columns: repeat(3, auto); justify-content: start; }
.score > div { display: grid; gap: var(--space-2xs); padding-inline: var(--space-lg); border-left: var(--rule-hair) solid var(--color-rule); }
.score > div:first-child { padding-left: 0; border-left: 0; }
.score dt { font-size: var(--text-sm); color: var(--color-muted); }
.score dd { margin: 0; font-weight: 700; color: var(--color-ink); }

/* --- one reveal: the hero's two halves, 80ms apart, visible with scripting off --- */
.js [data-reveal] { opacity: 0; transform: translateY(8px); transition: opacity var(--dur-long) var(--ease-out), transform var(--dur-long) var(--ease-out); transition-delay: calc(var(--i, 0) * 80ms); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js [data-reveal] { opacity: 1; transform: none; transition: none; } }

/* --- rows: the Split Studio diptych, text left and the proof on the right --- */
.row { padding-block: var(--section-gap-s) 0; }
.row--lead { padding-top: var(--space-2xl); }
.row + .row { padding-top: var(--section-gap); }
.row + .band { margin-top: var(--section-gap-l); }
.split { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap-columns); row-gap: var(--space-xl); align-items: center; }
.split__text { display: grid; gap: var(--space-lg); align-content: center; }
.split__text h2 { max-width: 16ch; }
.split__text p:not(.lead) { max-width: 44ch; }
.split--4-8 .split__text { grid-column: 1 / 5; } .split--4-8 .proof { grid-column: 5 / 13; }
.split--5-7 .split__text { grid-column: 1 / 6; } .split--5-7 .proof { grid-column: 6 / 13; }
.split--6-6 .split__text { grid-column: 1 / 7; } .split--6-6 .proof { grid-column: 7 / 13; }
.split--7-5 .split__text { grid-column: 1 / 8; } .split--7-5 .proof { grid-column: 8 / 13; }
.proof { margin: 0; min-width: 0; display: grid; gap: var(--space-sm); }
.proof--portrait { width: min(100%, 416px); justify-self: end; }
.proof figcaption, .panel figcaption { color: var(--color-ink-2); }
.shot { border-radius: var(--radius-card); border: var(--rule-bar) solid var(--color-rule); background: var(--color-paper-2); }
[data-slot][data-kind="product"] { background: var(--color-paper-2); outline: 0; }
[data-slot][data-kind="product"] > img { filter: none; mix-blend-mode: normal; z-index: 1; object-position: 50% 0; }
[data-slot][data-kind="product"]::before { content: none; }

/* --- the showcase: the lab across all twelve columns, its head split above --- */
.showcase .container { display: grid; gap: var(--space-2xl); }
.showcase .container > .proof + .showcase__note { margin-top: calc(-1 * var(--space-lg)); }
.showcase__head { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap-columns); row-gap: var(--space-lg); align-items: end; }
.showcase__head h2 { grid-column: 1 / 7; }
.showcase__head .lead { grid-column: 7 / 13; }
.showcase__note { max-width: 52ch; margin-left: calc(50% + var(--gap-columns) / 2); }
.shot--leaderboard { aspect-ratio: 1350 / 1154; }
[data-slot][data-kind="product"] > picture > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; z-index: 1; }

/* --- two-player comparison: the history era and the live era, mint and amber --- */
.players { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gap-columns); margin-top: var(--space-2xl); }
.player { padding: var(--space-xl); background: var(--color-paper-2); border: var(--rule-bar) solid var(--color-rule); border-top-width: 6px; border-radius: var(--radius-card); display: grid; gap: var(--space-lg); align-content: start; }
.player--lead { border-top-color: var(--color-accent); }
.player--answer { border-top-color: var(--color-accent-2); }
.player h3 { font-size: var(--text-title); }
.player dl { margin: 0; display: grid; }
.player dl > div { display: grid; grid-template-columns: minmax(0, 8.5rem) minmax(0, 1fr); gap: var(--space-md); padding-block: var(--space-lg); border-top: var(--rule-hair) solid var(--color-rule); }
.player dt { font-weight: 700; color: var(--color-ink); font-size: var(--text-md); }
.player dd { margin: 0; color: var(--color-ink-2); }
.player--lead dd .mono { color: var(--color-accent); }
.player--answer dd .mono { color: var(--color-accent-2); }

/* --- the switcher: three dates behind a tab strip; every panel shows without script --- */
.switch { display: grid; gap: var(--space-md); }
.tabs { display: flex; gap: var(--space-xs); flex-wrap: wrap; }
.tab { min-height: 44px; padding: 0 var(--space-md); border: var(--rule-bar) solid var(--color-rule); border-radius: var(--radius-card); background: transparent; color: var(--color-ink); font-weight: 700; cursor: pointer; transition: background-color var(--dur-micro) steps(1), color var(--dur-micro) steps(1); }
.tab:hover { background: var(--color-paper-3); }
.tab:active { background: var(--color-paper-2); }
.tab:focus-visible { outline: 3px solid var(--color-focus); outline-offset: 2px; }
.tab[aria-selected="true"] { background: var(--color-accent); color: var(--color-accent-ink); border-color: var(--color-accent); }
.tab:disabled { opacity: 0.55; cursor: not-allowed; }
.panel { margin: 0; display: grid; gap: var(--space-sm); min-width: 0; }
.panel + .panel { margin-top: var(--space-lg); }

/* --- facts as a definition list ------------------------------------------- */
.facts { margin: 0; display: grid; }
.facts > div { display: grid; grid-template-columns: minmax(0, 11rem) minmax(0, 1fr); gap: var(--space-md); padding-block: var(--space-md); border-top: var(--rule-hair) solid var(--color-rule); }
.facts > div:last-child { border-bottom: var(--rule-hair) solid var(--color-rule); }
.facts dt { font-weight: 700; color: var(--color-ink); font-size: var(--text-md); }
.facts dd { margin: 0; color: var(--color-ink-2); }

/* --- the close: a band of the screen, the action beside one last screen ---- */
.band { background: var(--color-paper-2); color: var(--color-ink); padding-block: var(--section-gap-s); }
.band .split__text p:last-child { margin-top: var(--space-xs); }
.band .shot { background: var(--color-paper-3); color: var(--color-ink); }

/* --- footer: a letter close ------------------------------------------------ */
.footer { padding-block: var(--space-3xl) var(--space-2xl); }
.footer .container { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap-columns); row-gap: var(--space-xl); align-items: end; }
.footer__letter { grid-column: 1 / 8; max-width: 60ch; color: var(--color-ink-2); }
.footer__sign { grid-column: 1 / 8; display: flex; align-items: center; gap: var(--space-md); font-weight: 700; }
.footer__sign img { width: 40px; height: 48px; flex-shrink: 0; }
.footer__sign time { font-weight: 400; color: var(--color-muted); }
.footer__links { grid-column: 9 / 13; margin: 0; padding: 0; list-style: none; display: grid; gap: var(--space-sm); justify-items: start; }

/* --- responsive ----------------------------------------------------------- */
@media (max-width: 60rem) {
  .hero .container { grid-template-columns: minmax(0, 1fr); }
  .split > * { grid-column: 1 / -1 !important; }
  .showcase__head > * { grid-column: 1 / -1; }
  .showcase__note { margin-left: 0; }
  .players { grid-template-columns: minmax(0, 1fr); }
  .split__text { order: 1; } .proof, .switch { order: 2; }
  .proof--portrait { justify-self: start; width: min(100%, 360px); }
  .footer__letter, .footer__sign, .footer__links { grid-column: 1 / -1; }
  .facts > div { grid-template-columns: minmax(0, 1fr); gap: var(--space-2xs); }
  .cron__screen { padding: var(--space-lg); }
}
@media (max-width: 40rem) {
  .nav .container { min-height: 64px; }
  :root { --cron-size: 2.25rem; }
  .cron__cmd { font-size: var(--text-sm); }
  .shot--leaderboard { aspect-ratio: 1062 / 681; }
  .player { padding: var(--space-lg); }
  .player dl > div { grid-template-columns: minmax(0, 1fr); gap: var(--space-2xs); }
  .cron__line { gap: var(--space-xs); }
  .score { grid-template-columns: minmax(0, 1fr); }
  .score > div { padding: var(--space-xs) 0; border-left: 0; border-top: var(--rule-hair) solid var(--color-rule); }
  .score > div:first-child { border-top: 0; }
  .hero__actions .btn, .band .btn { width: 100%; }
}
