/* Hallmark · shape: Index-First · genre: editorial · theme: Grid (deal 1/3, seed plain-text-index-one-7484·3c09a156·2026-11-26·r0) · job: visit · draw: manual (fast mode)
 * hero: the wordmark and one sentence, the index directly below · nav: none · footer: one line, contact and year · imagery: the product's own art and share cards, cropped 16:9 · signature: the two-weight wordmark beside its red square, over six live products as two-up cards, each led by its own picture
 * axes: light/grotesk-sans/cool · posture: ink only, one red mark (the user asked for nothing flashy, so Grid's ultramarine fields are left out) · contrast: pass · fold: pass · v2.0.0 */
/* Hallmark · pre-emit critique: P3 H4 E4 S3 R5 V3 · weakest: S, a plain index could be anyone's; kept specific through the real names, hosts and one-line jobs, no invented copy */
@import url("./tokens.css");
@import url("./base.css");
/* Hallmark · dismissed 26a · both pages link /style.css by absolute path, which imports base.css with the focus ring; the linter does not follow root-relative hrefs */
/* Hallmark · dismissed 34 · overflow-x clip on html and body lives in base.css, imported here; same root-relative href the linter cannot resolve */
/* Hallmark · dismissed 41 · the paper-2 fill on .cards img only shows while a picture loads; an img holds no text, so there is no text colour to swap */

.page { padding-block: 0 var(--space-2xl); }

/* header spans the page so the doge can peek in from the window's right edge */
.top { --top-pad: var(--space-3xl); position: relative; overflow-x: clip; padding-top: var(--top-pad); }
.peek { display: block; position: absolute; right: 0; top: var(--top-pad); width: 9.5rem; height: auto; transform: translateX(110%) rotate(-22deg); transform-origin: 100% 100%; transition: transform var(--dur-long) var(--ease-out); pointer-events: none; }
.peek img { width: 100%; }
@media (hover: hover) { .top:hover .peek { transform: translateX(38%) rotate(-22deg); } }

/* wordmark: first word at 700, second at 400, a red square two lines tall */
.mark { display: flex; align-items: stretch; gap: var(--space-md); }
.mark::before { content: ""; flex: 0 0 auto; width: 0.86em; background: var(--color-mark); font-size: var(--text-display); }
.mark h1 { font-size: var(--text-display); line-height: 0.92; max-width: none; }
.mark h1 span { display: block; }
.mark h1 span + span { font-weight: 400; }
.lead { margin-top: var(--space-lg); color: var(--color-ink-2); }

.group { margin-top: var(--space-3xl); }
.group h2 { font-size: var(--text-title); line-height: 1.2; color: var(--color-muted); font-family: var(--font-body); font-weight: 500; letter-spacing: 0; }

.cards { list-style: none; margin: var(--space-lg) 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-2xl) var(--gap-columns); }
.cards li { position: relative; display: flex; flex-direction: column; gap: var(--space-2xs); min-width: 0; }
.cards img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: var(--color-paper-2); margin-bottom: var(--space-sm); }
.cards .name { font-family: var(--font-display); font-weight: 700; font-size: var(--text-lg); letter-spacing: -0.015em; text-decoration: none; transition: color var(--dur-micro) var(--ease-out); }
/* the name link covers the whole card; secondary links sit above it */
.cards .name::after { content: ""; position: absolute; inset: 0; }
.cards .name:focus-visible { outline: none; }
.cards li:has(.name:focus-visible) { outline: 2px solid var(--color-focus); outline-offset: 4px; }
.cards li:hover .name { color: var(--color-mark); }
.cards .desc { color: var(--color-ink-2); }
.cards .meta { display: flex; flex-wrap: wrap; gap: var(--space-md); font-size: var(--text-sm); color: var(--color-muted); }
.cards .meta a { position: relative; z-index: var(--z-raised); transition: color var(--dur-micro) var(--ease-out); }
.cards .meta a:hover { color: var(--color-mark); }

.foot { margin-top: var(--space-3xl); display: flex; flex-wrap: wrap; gap: var(--space-xs) var(--space-xl); font-size: var(--text-sm); color: var(--color-muted); }
.foot a { color: var(--color-ink); transition: color var(--dur-micro) var(--ease-out); }
.foot a:hover { color: var(--color-mark); }

.back { display: inline-block; margin-top: var(--space-xl); font-weight: 500; transition: color var(--dur-micro) var(--ease-out); }
.back:hover { color: var(--color-mark); }

@media (max-width: 48rem) {
  .page { padding-block: 0 var(--space-xl); }
  .top { --top-pad: var(--space-2xl); }
  .cards { grid-template-columns: minmax(0, 1fr); gap: var(--space-xl); }
  .group { margin-top: var(--space-2xl); }
}

.cards li:has(.name:active) .name, .cards .meta a:active, .foot a:active, .back:active { color: var(--color-ink-2); }
.cards .meta { align-items: center; }
.cards .meta .gh { display: inline-flex; padding: var(--space-2xs); margin: calc(var(--space-2xs) * -1); color: var(--color-ink-2); }
.cards .meta .gh:first-of-type { margin-left: auto; }
.cards .meta .gh svg { width: 1.375rem; height: 1.375rem; }
.foot span { margin-left: auto; }
/* 404: one centred column in the middle of the window; the user asked for it centred */
.lost { min-height: 100svh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding-block: var(--space-2xl); }
.lost img { width: clamp(10rem, 22vw, 14rem); margin-bottom: var(--space-lg); }
.lost h1 { font-size: var(--text-display-s); max-width: none; }
.lost .lead { margin-top: var(--space-sm); }
.lost .back { margin-top: var(--space-lg); }
