/* Hallmark custom, committed colour. A neighborhood fixture sheet sets the composition, with heavy system type, a pitch-green field and scores from the built-in sample. */
/* Pre-emit critique: The sample scores could read as live results. The section now names the built-in sample before the score sheet. */
:root {
  color-scheme: light;
  --color-paper: oklch(97% 0.01 100);
  --color-paper-2: oklch(93% 0.018 105);
  --color-ink: oklch(23% 0.03 153);
  --color-muted: oklch(40% 0.028 153);
  --color-rule: oklch(76% 0.035 130);
  --color-field: oklch(27% 0.055 153);
  --color-on-field: oklch(97% 0.025 109);
  --color-field-rule: oklch(61% 0.058 148);
  --color-accent: oklch(89% 0.15 113);
  --color-accent-ink: oklch(24% 0.043 151);
  --color-focus: oklch(42% 0.13 148);
  --color-focus-field: oklch(91% 0.17 113);
  --font-system: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --weight-body: 400;
  --weight-label: 650;
  --weight-display: 850;
  --text-label: 0.9375rem;
  --text-body: 1rem;
  --text-lead: 1.1875rem;
  --text-subhead: clamp(1.25rem, 2.4vw, 1.625rem);
  --text-section: clamp(2rem, 4.6vw, 3.75rem);
  --text-display: clamp(2.75rem, 8.5vw, 7rem);
  --tracking-display: -0.035em;
  --line-display: 1.02;
  --line-body: 1.6;
  --space-3xs: 0.125rem;
  --space-2xs: 0.25rem;
  --space-xs: 0.5rem;
  --space-sm: 0.75rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2.5rem;
  --space-2xl: 4rem;
  --space-3xl: 6rem;
  --space-4xl: 9rem;
  --gutter: clamp(var(--space-md), 4vw, var(--space-xl));
  --section-space: clamp(var(--space-xl), 7vw, var(--space-3xl));
  --hero-space: clamp(var(--space-xl), 8vw, var(--space-4xl));
  --measure-site: 74rem;
  --measure-prose: 64ch;
  --measure-hero: 14ch;
  --measure-heading: 24ch;
  --target-size: 2.75rem;
  --stroke: 1px;
}
*, *::before, *::after { box-sizing: border-box; }
html, body { overflow-x: clip; }
body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--color-paper);
  color: var(--color-ink);
  font-family: var(--font-system);
  font-size: var(--text-body);
  font-weight: var(--weight-body);
  font-synthesis: none;
  line-height: var(--line-body);
}
main { flex: 1; }
.wrap { width: min(calc(100% - 2 * var(--gutter)), var(--measure-site)); margin-inline: auto; }
h1, h2, h3, p, dl, dd, figure { margin: 0; }
h1, h2, h3 { min-width: 0; overflow-wrap: break-word; text-wrap: balance; }
h1, h2 { font-weight: var(--weight-display); letter-spacing: var(--tracking-display); line-height: var(--line-display); }
h2 { max-inline-size: var(--measure-heading); font-size: var(--text-section); }
p, dd { max-inline-size: var(--measure-prose); text-wrap: pretty; }
a { color: inherit; text-decoration-thickness: var(--stroke); text-underline-offset: var(--space-2xs); overflow-wrap: anywhere; }
a:hover { text-decoration-thickness: var(--space-3xs); }
a:focus-visible { outline: var(--space-3xs) solid var(--color-focus); outline-offset: var(--space-2xs); }
.skip-link { position: absolute; inset-block-start: var(--space-xs); inset-inline-start: var(--gutter); z-index: 10; padding: var(--space-sm) var(--space-md); background: var(--color-paper); color: var(--color-ink); }
.skip-link:not(:focus) { clip-path: inset(50%); }
.site-header { border-block-end: var(--stroke) solid var(--color-rule); }
.topbar, .footer-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 0 var(--space-lg); }
.topbar { padding-block: var(--space-xs); }
.wordmark, nav a, .footer-email, .action { display: inline-flex; align-items: center; min-block-size: var(--target-size); }
.wordmark { font-size: var(--text-lead); font-weight: var(--weight-display); letter-spacing: var(--tracking-display); text-decoration: none; }
.wordmark:hover { text-decoration-line: underline; }
nav ul { display: flex; flex-wrap: wrap; gap: 0 var(--space-lg); list-style: none; padding: 0; margin: 0; }
nav a, .footer-email { font-size: var(--text-label); }
nav a[aria-current='page'] { font-weight: var(--weight-label); text-decoration-thickness: var(--space-3xs); }
.hero { background: var(--color-field); color: var(--color-on-field); padding-block: var(--space-lg); }
.hero-inner { display: grid; justify-items: start; gap: var(--space-lg); padding-block: var(--hero-space); border-block: var(--stroke) solid var(--color-field-rule); }
.hero h1 { max-inline-size: var(--measure-hero); font-size: var(--text-display); }
.hero p { font-size: var(--text-lead); }
.hero a:focus-visible { outline-color: var(--color-focus-field); }
.action { background: var(--color-accent); color: var(--color-accent-ink); font-weight: var(--weight-label); padding: var(--space-sm) var(--space-lg); }
.sample { background: var(--color-paper-2); color: var(--color-ink); }
.section-layout { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 6fr); align-items: start; gap: var(--space-xl); padding-block: var(--section-space); }
.section-intro { display: grid; gap: var(--space-md); }
.score-sheet { min-width: 0; }
.score-sheet figcaption { margin-block-end: var(--space-xs); color: var(--color-muted); font-size: var(--text-label); }
.score-list { list-style: none; padding: 0; margin: 0; border-block-end: var(--stroke) solid var(--color-rule); }
.score-list li { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: baseline; gap: var(--space-sm); padding-block: var(--space-md); border-block-start: var(--stroke) solid var(--color-rule); }
.score-list li span { overflow-wrap: anywhere; }
.score-list li span:last-child { text-align: end; }
.score-list strong { font-size: var(--text-subhead); font-weight: var(--weight-display); font-variant-numeric: tabular-nums; white-space: nowrap; }
.tournament-details { display: grid; gap: var(--space-lg); }
.tournament-details > div { display: grid; gap: var(--space-2xs); padding-block-start: var(--space-sm); border-block-start: var(--stroke) solid var(--color-rule); }
.tournament-details dt { font-weight: var(--weight-label); font-size: var(--text-lead); }
.document { display: grid; justify-items: start; gap: var(--space-xl); padding-block: var(--section-space); }
.document h1 { max-inline-size: var(--measure-heading); font-size: var(--text-section); }
.document h2 { font-size: var(--text-subhead); }
.document-header, .document section { display: grid; gap: var(--space-sm); }
.contact-link { display: inline-flex; align-items: center; min-block-size: var(--target-size); justify-self: start; font-weight: var(--weight-label); }
.site-footer { border-block-start: var(--stroke) solid var(--color-rule); }
.footer-inner { padding-block: var(--space-md); }
.footer-name { font-weight: var(--weight-label); }
@media (max-width: 46rem) {
  .section-layout { grid-template-columns: minmax(0, 1fr); gap: var(--space-lg); }
}
