/* Hallmark · shape: Catalogue · genre: playful · theme: Dusk (by request, the el zone system of the life app, in daylight) · job: try
 * hero: Banner · nav: the el zone wordmark, centred · footer: colophon · imagery: none, each card is one field of its game's colour · signature: a game is one soft colour block with a round play button · dusk: no hour (a small index)/periwinkle-apricot/well
 * axes: light/grotesk-sans/cool · posture: full-palette · contrast: pass · fold: pass · v2.0.0 */
/* Hallmark · pre-emit critique: P3 H4 E4 S3 R4 V4 · weakest: S, colour blocks fit any catalogue; the el zone mark, the life app's type and its periwinkle and apricot place it in this family */
/* Hallmark · dismissed 77 · the page is a small index of game cards by request, one header and the cards, no landing sections */
:root {
  color-scheme: light;
  --space-3xs: 2px; --space-2xs: 4px; --space-xs: 8px; --space-sm: 12px; --space-md: 16px; --space-lg: 24px; --space-xl: 40px; --space-2xl: 64px; --space-3xl: 96px;
  --text-sm: 0.875rem; --text-md: 1rem; --text-lg: 1.2rem; --text-xl: 1.44rem; --text-2xl: 1.728rem; --text-4xl: 2.488rem;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --dur-micro: 120ms; --dur-short: 220ms;
  --container: 44rem; --gutter: var(--space-lg); --knob: 44px;
  --z-toast: 500;
  --color-paper: oklch(98.6% 0.005 274); --color-paper-2: oklch(95.5% 0.014 274);
  --color-ink: oklch(22% 0.03 268); --color-ink-2: oklch(35% 0.03 268); --color-muted: oklch(48% 0.03 268);
  --color-rule: oklch(89% 0.018 274); --color-edge: oklch(62% 0.03 272);
  --color-accent: oklch(44% 0.13 274); --color-accent-ink: oklch(98% 0.01 274); --color-focus: oklch(44% 0.13 274);
  --field-apricot: oklch(90% 0.075 62); --field-periwinkle: oklch(89% 0.055 274); --field-sage: oklch(90% 0.055 160);
  --font-display: "Wix Madefor Display", ui-sans-serif, system-ui, sans-serif; --font-body: "Wix Madefor Text", ui-sans-serif, system-ui, sans-serif;
  --radius-card: 18px; --radius-pill: 999px;
  --tracking-display: -0.022em; --display-weight: 500;
}

*, *::before, *::after { box-sizing: border-box; }
html, body { overflow-x: clip; }
html { scrollbar-color: var(--color-edge) var(--color-paper); }
body { margin: 0; background: var(--color-paper); color: var(--color-ink); font-family: var(--font-body); font-size: var(--text-md); line-height: 1.5; -webkit-font-smoothing: antialiased; font-synthesis: none; }
::selection { background: color-mix(in oklab, var(--color-accent) 22%, transparent); color: var(--color-ink); }
:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 3px; }
h1, h2 { margin: 0; font-family: var(--font-display); font-weight: var(--display-weight); letter-spacing: var(--tracking-display); line-height: 1.1; overflow-wrap: break-word; min-width: 0; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
a { color: inherit; }
svg { display: block; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.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); border-radius: var(--radius-pill); background: var(--color-ink); color: var(--color-paper); font-size: var(--text-sm); }
.skip:focus-visible { top: var(--space-md); }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

.top { padding-block: var(--space-xl) 0; text-align: center; }
.brand { display: inline-flex; align-items: baseline; font-family: var(--font-display); font-size: var(--text-xl); letter-spacing: var(--tracking-display); line-height: 1.2; color: var(--color-muted); text-decoration: none; white-space: nowrap; transition: color var(--dur-micro) var(--ease-out); }
.brand b { margin-right: var(--space-2xs); font-weight: 600; color: var(--color-ink); }
.brand:hover { color: var(--color-ink-2); }

.page-head { padding-block: var(--space-xl); text-align: center; }
h1 { font-size: var(--text-4xl); }
.lead { margin-top: var(--space-xs); font-size: var(--text-lg); color: var(--color-muted); }

/* A game is one field of colour */
.games { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-md); margin: 0; padding: 0; list-style: none; }
.game { position: relative; display: flex; flex-direction: column; justify-content: flex-end; gap: var(--space-xs); height: 100%; min-height: 16rem; padding: var(--space-lg); border-radius: var(--radius-card); background: var(--field, var(--field-periwinkle)); color: var(--color-ink); text-decoration: none; transition: transform var(--dur-short) var(--ease-out); }
.game:hover { transform: translateY(-3px); }
.game:active { transform: translateY(0); }
.game--apricot { --field: var(--field-apricot); }
.game--sage { --field: var(--field-sage); }
.game__kind { position: absolute; top: var(--space-lg); left: var(--space-lg); font-size: var(--text-sm); font-weight: 500; color: var(--color-ink-2); }
.game__knob { position: absolute; top: var(--space-md); right: var(--space-md); display: grid; place-items: center; width: var(--knob); height: var(--knob); border-radius: var(--radius-pill); background: var(--color-ink); color: var(--color-paper); transition: background-color var(--dur-micro) var(--ease-out); }
.game:hover .game__knob { background: var(--color-accent); }
.game h2 { font-size: var(--text-2xl); }
.game p { max-width: 28ch; font-size: var(--text-sm); line-height: 1.55; color: var(--color-ink-2); }


.foot { padding-block: var(--space-2xl) var(--space-xl); font-size: var(--text-sm); color: var(--color-muted); text-align: center; }
.foot a { text-decoration-color: var(--color-edge); text-underline-offset: 0.2em; transition: color var(--dur-micro) var(--ease-out); }
.foot a:hover { color: var(--color-ink); }

@media (max-width: 40rem) {
  :root { --gutter: var(--space-md); --text-4xl: 2.074rem; }
  .games { grid-template-columns: minmax(0, 1fr); }
  .top { padding-top: var(--space-lg); }
  .page-head { padding-block: var(--space-lg); }
  .game { min-height: 13rem; }
}
@media (prefers-reduced-motion: reduce) {
  .game, .game__knob, .brand, .foot a { transition: none; }
  .game:hover { transform: none; }
}
