/* Self-hosted, so the first visit caches them for use with no signal. Both are SIL OFL 1.1 (licences in fonts/). */
@font-face { font-family: "League Spartan"; font-style: normal; font-weight: 800; font-display: swap; src: url("fonts/league-spartan-800-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Onest"; font-style: normal; font-weight: 400 600; font-display: swap; src: url("fonts/onest-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
:root {
  --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; --space-4xl: 144px;
  --text-xs: 0.8125rem; --text-sm: 0.875rem; --text-md: 1rem; --text-lg: 1.25rem; --text-xl: 1.5625rem; --text-2xl: 1.953rem; --text-3xl: 2.441rem;
  --text-display: clamp(3rem, 5.2vw + 1rem, 6rem);
  --text-section: clamp(2.25rem, 3vw + 1rem, 4rem); --text-title: clamp(1.25rem, 0.75vw + 0.875rem, 1.5rem); --text-lead: clamp(1.125rem, 0.35vw + 1rem, 1.3125rem);
  --text-step: clamp(3.5rem, 4vw + 1.5rem, 5.5rem);
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1); --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  /* A light spring: about 2% overshoot, settled by 60%. */
  --ease-spring: linear(0, 0.2 5%, 0.56 11%, 0.85 18%, 0.98 25%, 1.02 33%, 1.02 41%, 1.005 50%, 1 60%, 1);
  --dur-micro: 120ms; --dur-short: 220ms; --dur-long: 420ms;
  --color-error: oklch(52% 0.19 27); --color-success: oklch(50% 0.12 150);
  --container: 1280px; --gutter: 64px; --gap-columns: 32px; --section-gap-s: 120px; --section-gap: 144px; --section-gap-l: 176px;
  --z-base: 1; --z-raised: 10; --z-dropdown: 100; --z-sticky: 200; --z-sticky-nav: 300; --z-modal: 400; --z-toast: 500; --z-tooltip: 600;

  --color-paper: oklch(93% 0.022 236); --color-paper-2: oklch(97.5% 0.008 236); --color-paper-3: oklch(88% 0.03 236);
  --color-ink: oklch(25% 0.035 255); --color-ink-2: oklch(36% 0.035 255); --color-muted: oklch(45% 0.03 250);
  --color-rule: oklch(80% 0.03 240);
  --color-accent: oklch(53% 0.205 25); --color-accent-deep: oklch(44% 0.18 24); --color-accent-ink: oklch(98% 0.006 236); --color-focus: oklch(40% 0.16 258);

  --color-night: oklch(24% 0.03 252); --color-night-2: oklch(30% 0.03 252); --color-night-ink: oklch(94% 0.01 240); --color-night-muted: oklch(78% 0.02 240); --color-night-rule: oklch(42% 0.03 250); --color-night-focus: oklch(85% 0.13 85);

  /* The car's paint. A script in <head> sets --car-paint from the saved choice before the first paint. */
  --car-paint: var(--paint-guards-red);
  --car-black: #000; --car-white: #fff;
  --color-ghost: oklch(88.5% 0.028 236); --color-ghost-edge: oklch(60% 0.04 240);
  --color-tyre: oklch(22% 0.006 260); --color-rim: oklch(84% 0.008 240); --color-glass: oklch(28% 0.03 245);
  --color-part: oklch(74% 0.012 240); --color-part-dark: oklch(47% 0.012 250); --color-part-edge: oklch(18% 0.02 250);
  --color-metal: oklch(90% 0.006 240); --color-bore: oklch(16% 0.02 250);
  --color-glow: oklch(70% 0.19 50); --color-signal: oklch(76% 0.16 70); --color-glow-core: oklch(95% 0.11 95);

  /* Porsche's eight iconic colours, from its story "8 of the most iconic Porsche car colours". Porsche gives no hex values; these are close screen matches. */
  --paint-guards-red: #c8102e; --paint-racing-yellow: #f1c21b; --paint-irish-green: #1f4d33; --paint-miami-blue: #1aa0d8;
  --paint-lava-orange: #e5531a; --paint-chalk: #c8c4b8; --paint-carrara-white: #e9ebe8; --paint-carmine-red: #9e1b32;

  --font-display: "League Spartan", ui-sans-serif, system-ui, sans-serif; --font-body: "Onest", ui-sans-serif, system-ui, sans-serif; --font-outlier: var(--font-display);
  --radius-card: 6px; --radius-pill: 999px; --rule-hair: 1px; --shadow-card: none;
  --tracking-display: -0.03em;
}
