/*
 * Ridge Line: design tokens
 * Plain white pages run by one thin black line. The masthead is a single hairline ridge that
 * climbs and drops across the full width and stretches with the window, framing a heavy
 * grotesk wordmark. Under it sits a ruled row of huge bold uppercase links, then quiet body
 * text, outlined square buttons and 1px black rules everywhere. One ultramarine for actions,
 * and small colored dots borrowed from climbing holds for labels. Square corners, no shadows.
 *
 * Fonts (all free on Google Fonts):
 *   <link href="https://fonts.googleapis.com/css2?family=Schibsted+Grotesk:wght@500;700;800;900&family=Instrument+Sans:wght@400;500;600&family=Spline+Sans+Mono:wght@400;500&display=swap" rel="stylesheet">
 */
:root {
  /* Surfaces: white first, chalk for the odd quiet block, ink for one band per page */
  --rl-paper: #ffffff;
  --rl-chalk: #f3f1ec;
  --rl-chalk-2: #e6e3db;
  --rl-ink: #111111;
  --rl-ink-2: #2a2a2a;

  /* Text */
  --rl-text: #111111;
  --rl-soft: #5c5b57;
  --rl-faint: #9b9993;
  --rl-on-ink: #ffffff;
  --rl-on-ink-soft: #b8b6b0;

  /* Lines: always black, always thin */
  --rl-line: #111111;
  --rl-line-soft: #d9d6cf;

  /* The one action color: primary buttons, links on hover, the active nav underline */
  --rl-blue: #2337e6;
  --rl-blue-dark: #1726b8;
  --rl-blue-soft: #e3e6fd;

  /* Hold dots: only small round markers (grades, categories, status), never surfaces */
  --rl-hold-yellow: #f4c430;
  --rl-hold-pink: #f25c9a;
  --rl-hold-green: #2fae5f;
  --rl-hold-orange: #f0783a;

  /* Type */
  --rl-display: "Schibsted Grotesk", "Helvetica Neue", Arial, sans-serif;
  --rl-sans: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --rl-mono: "Spline Sans Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --rl-text-mast: clamp(56px, 10vw, 148px);   /* the masthead wordmark */
  --rl-text-hero: clamp(42px, 6.6vw, 96px);
  --rl-text-nav: clamp(22px, 2.6vw, 38px);    /* the big ruled nav row */
  --rl-text-h2: clamp(32px, 4.2vw, 58px);
  --rl-text-h3: 24px;
  --rl-text-lead: 20px;
  --rl-text-body: 16px;
  --rl-text-small: 14px;
  --rl-text-tiny: 12px;

  --rl-weight-display: 800;
  --rl-weight-heavy: 900;
  --rl-track-display: -0.035em;
  --rl-track-caps: 0.02em;

  /* Shape: square, ruled, flat */
  --rl-stroke: 1px;          /* every rule, border and the ridge line itself */
  --rl-stroke-strong: 2px;   /* only the active nav underline */
  --rl-radius: 0;
  --rl-radius-dot: 999px;    /* hold dots only */
  --rl-shadow: none;

  /* Space */
  --rl-gutter: clamp(16px, 3.4vw, 48px);
  --rl-container: 1344px;
  --rl-text-width: 720px;
  --rl-section: clamp(64px, 9vw, 120px);
  --rl-space-1: 4px;
  --rl-space-2: 8px;
  --rl-space-3: 12px;
  --rl-space-4: 16px;
  --rl-space-5: 24px;
  --rl-space-6: 32px;
  --rl-space-7: 48px;
  --rl-space-8: 64px;

  /* Motion */
  --rl-ease: cubic-bezier(.2, .7, .2, 1);
  --rl-fast: 160ms;
  --rl-draw: 1400ms;          /* the ridge line drawing itself on load */
}
