/* Hallmark custom · Restrained · One footballer’s career told through a match programme’s oversized system type, pitch markings and verified match details. */
/* Critique: The three approaches could read as website controls. They now appear as unboxed list text beside the report description. */
:root {
  color-scheme: dark;
  --paper: oklch(17% 0.014 158);
  --field: oklch(22% 0.027 158);
  --ink: oklch(95% 0.014 155);
  --muted: oklch(79% 0.025 157);
  --rule: oklch(38% 0.034 158);
  --marking: oklch(31% 0.033 158);
  --accent: oklch(87% 0.15 147);
  --accent-ink: oklch(20% 0.028 155);
  --focus: oklch(90% 0.18 147);
  --font: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --regular: 400;
  --strong: 650;
  --display: 800;
  --text-small: .9375rem;
  --text-body: 1rem;
  --text-lead: clamp(1.125rem, 1.6vw, 1.375rem);
  --text-section: clamp(2rem, 4.5vw, 4rem);
  --text-hero: clamp(2.75rem, 7.2vw, 6.25rem);
  --space-3xs: .125rem;
  --space-2xs: .25rem;
  --space-xs: .5rem;
  --space-sm: .75rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2.5rem;
  --space-2xl: 4rem;
  --space-3xl: 6rem;
  --gutter: clamp(var(--space-md), 5vw, var(--space-2xl));
  --section-space: clamp(var(--space-xl), 7vw, var(--space-3xl));
  --container: 76rem;
  --measure: 65ch;
  --control: 2.75rem;
  --line: 1px;
}
*, *::before, *::after { box-sizing: border-box; }
html, body { overflow-x: clip; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--font); font-size: var(--text-body); font-weight: var(--regular); font-synthesis: none; line-height: 1.6; }
h1, h2, p, ul { margin: 0; }
h1, h2 { min-width: 0; overflow-wrap: break-word; text-wrap: balance; font-weight: var(--display); letter-spacing: -.015em; line-height: 1.05; }
h1 { font-size: var(--text-hero); max-width: 18ch; }
h2 { font-size: var(--text-section); max-width: 24ch; }
p { max-width: var(--measure); text-wrap: pretty; }
a { color: inherit; text-underline-offset: var(--space-2xs); text-decoration-thickness: var(--line); }
a:hover { text-decoration-thickness: var(--space-3xs); }
:focus-visible { outline: var(--space-3xs) solid var(--focus); outline-offset: var(--space-2xs); }
.wrap { width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; }
.skip { position: absolute; z-index: 10; inset-block-start: var(--space-sm); inset-inline-start: var(--gutter); padding: var(--space-sm); background: var(--accent); color: var(--accent-ink); }
.skip:not(:focus) { clip-path: inset(50%); }
.skip:focus-visible { outline-color: var(--focus); }
.site-header { border-block-end: var(--line) solid var(--rule); }
.header-inner, .footer-inner, .legal-links { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-xs) var(--space-lg); }
.header-inner, .footer-inner { justify-content: space-between; padding-block: var(--space-sm); }
.brand, .nav-link, .action, .email { display: inline-flex; align-items: center; min-height: var(--control); }
.brand { font-weight: var(--display); text-decoration: none; }
.brand:hover { text-decoration-line: underline; }
.nav-link, .email { font-size: var(--text-small); }
.nav-link[aria-current='page'] { color: var(--accent); }
.hero { background: var(--field); color: var(--ink); }
.hero-inner { position: relative; isolation: isolate; display: grid; justify-items: start; align-content: center; gap: var(--space-lg); padding-block: var(--section-space); }
.hero-inner::before, .hero-inner::after { content: ''; position: absolute; z-index: -1; border: var(--line) solid var(--marking); pointer-events: none; }
.hero-inner::before { inset: var(--space-lg) 0 var(--space-lg) 70%; }
.hero-inner::after { inset: 35% 0 35% 88%; border-inline-end: 0; }
.lead { font-size: var(--text-lead); }
.action { width: fit-content; max-width: 100%; padding: var(--space-sm) var(--space-md); background: var(--accent); color: var(--accent-ink); font-weight: var(--strong); text-decoration: none; }
.action:hover { text-decoration-line: underline; }
.section { padding-block: var(--section-space); }
.section + .section { border-block-start: var(--line) solid var(--rule); }
.match, .season, .document { display: grid; align-items: start; gap: var(--space-xl) var(--space-2xl); }
.match { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); }
.match h2 { max-width: 14ch; }
.match-detail, .section-copy, .document-copy, .document-copy section { display: grid; justify-items: start; gap: var(--space-md); }
.approaches { display: flex; flex-wrap: wrap; column-gap: var(--space-lg); row-gap: var(--space-xs); width: 100%; padding: var(--space-sm) 0; border-block: var(--line) solid var(--rule); list-style: none; font-size: var(--text-lead); font-weight: var(--strong); }
.season { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); }
.season h2 { max-width: 17ch; }
.site-footer { border-block-start: var(--line) solid var(--rule); color: var(--muted); }
.document { padding-block: var(--section-space); }
.document h1 { font-size: var(--text-section); }
.document h2 { font-size: var(--text-lead); }
.document-copy { gap: var(--space-xl); }
.document-copy section { gap: var(--space-xs); }
.email { max-width: 100%; overflow-wrap: anywhere; }
@media (max-width: 45rem) {
  .match, .season { grid-template-columns: minmax(0, 1fr); gap: var(--space-lg); }
  .hero-inner::before { inset-inline-start: 81%; }
  .hero-inner::after { display: none; }
}
@media (forced-colors: active) {
  .action { border: var(--line) solid; }
}
