/**
 * specimen.css — the theme the ASW site runs on
 *
 * A theme is tokens and nothing else. Load it after asw.css:
 *
 *   <link rel="stylesheet" href="dist/asw.css">
 *   <link rel="stylesheet" href="dist/themes/specimen.css">
 *
 * Below the tokens, two typographic opinions remain: headings are tracked
 * tighter, and prose never breaks a word. Those are decisions about reading,
 * not about a component. Everything a component needs — the primary-action
 * variant, the current-page marker, the focus ring — now lives in the
 * framework, so that every theme inherits it.
 */

:root {
  /* Warm paper instead of cool grey: a printed specimen, not a dashboard. */
  --palette-hue: 75;
  --surface: oklch(98.5% 0.008 75);
  --surface-1: oklch(96.5% 0.010 75);
  --surface-2: oklch(94% 0.012 75);
  --surface-3: oklch(92% 0.012 75);
  --surface-hover: oklch(95.5% 0.012 75);
  --border: oklch(86% 0.014 75);
  --text: oklch(24% 0.015 75);
  --text-2: oklch(40% 0.015 75);
  --text-3: oklch(52% 0.014 75);

  /* Headings keep the paper's hue; they used to stay at hue 250. */
  --h1-color: oklch(20% 0.02 75);
  --h2-color: oklch(22% 0.018 75);
  --h3-color: oklch(26% 0.016 75);
  --h4-color: oklch(30% 0.015 75);
  --h5-color: oklch(34% 0.014 75);
  --h6-color: oklch(38% 0.014 75);

  /* A serif for headings: three voices, one of them opinionated. */
  --font-heading: 'Charter', 'Bitstream Charter', 'Sitka Text', 'Georgia', 'Times New Roman', serif;

  /* One accent, ink red: links, current page, focus, the single primary action.
     Nothing else in the palette competes with it. */
  --accent: oklch(52% 0.17 32);
  --accent-hover: oklch(46% 0.17 32);
  --link: oklch(46% 0.15 32);
  --link-hover: oklch(52% 0.17 32);
  --link-underline: oklch(70% 0.08 32);
  --link-hover-underline: oklch(56% 0.12 32);
  --link-focus: oklch(52% 0.17 32);
}

/* Typographic opinions — reading, not components. */
h1,
h2,
h3 {
  letter-spacing: -0.015em;
  text-wrap: balance;
}

p,
li,
dd,
blockquote {
  hyphens: none;
  overflow-wrap: normal;
}
