/* RIKR 1.0 — theme names describe the intended page background. */
:root {
  --graphite: #111315;
  --stone: #30353B;
  --copper: #B88760;
  --steel: #9BA3A8;
  --mist: #F2F4F5;
  --font-heading: "Sora", sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  --font-technical: ui-monospace, "Cascadia Code", monospace;
  --text-xs: .75rem;
  --text-sm: .875rem;
  --text-base: 1rem;
  --text-lead: clamp(1.0625rem, 1rem + .35vw, 1.25rem);
  --text-h1: clamp(2.125rem, 1.5rem + 2.2vw, 3.5rem);
  --text-h2: clamp(1.75rem, 1.3rem + 1.5vw, 2.5rem);
  --text-h3: 1.125rem;
  --line-body: 1.55;
  --line-heading: 1.12;
  --weight-body: 400;
  --weight-label: 500;
  --weight-heading: 600;
  --tracking-heading: -.035em;
  --tracking-eyebrow: .16em;
  --space-1: .25rem;
  --space-2: .5rem;
  --space-3: .75rem;
  --space-4: 1rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --content-max: 80rem;
  --page-gutter: clamp(1.25rem, 4vw, 3rem);
  --section-space: clamp(3rem, 5vw, 5rem);
  --radius-control: .5rem;
  --radius-panel: .75rem;
  --border-width: 1px;
  --control-min: 2.75rem;
  --icon-size: 1.5rem;
  --icon-stroke: 1.75;
  --duration-fast: 140ms;
  --ease: ease-out;
  --z-header: 20;
  --z-menu: 30;
}
:root, [data-theme="light"] {
  color-scheme: light;
  --bg: var(--mist);
  --bg-rgb: 242 244 245;
  --surface: var(--mist);
  --text: var(--graphite);
  --text-muted: var(--stone);
  --border: var(--steel);
  --accent: var(--copper);
  --accent-text: var(--graphite);
  --icon-functional: var(--stone);
  --focus: var(--graphite);
  --button-bg: var(--copper);
  --button-text: var(--graphite);
}
[data-theme="dark"] {
  color-scheme: dark;
  --bg: var(--graphite);
  --bg-rgb: 17 19 21;
  --surface: var(--stone);
  --text: var(--mist);
  --text-muted: var(--steel);
  --border: var(--stone);
  --accent: var(--copper);
  --accent-text: var(--copper);
  --icon-functional: var(--copper);
  --focus: var(--mist);
  --button-bg: var(--copper);
  --button-text: var(--graphite);
}
@media (prefers-reduced-motion: reduce) {
  :root { --duration-fast: 0ms; }
}
