/*
 * Half Lit: tokens
 * Feel: quiet, exact and expensive. A pure black page, one grotesk at light
 * weights, and headlines that say two things in two tones: the first clause in
 * white, the second in soft grey. White pill buttons, square-cornered dark
 * panels that sit side by side like product shots, thin labelled lists, and a
 * single warm "thread" colour used only for tiny drawn details.
 *
 * Fonts (free, Google Fonts):
 * <link href="https://fonts.googleapis.com/css2?family=Geist:wght@300;400;500&family=Geist+Mono:wght@400&display=swap" rel="stylesheet">
 */
:root {
  /* Surfaces */
  --hl-black: #080808;
  --hl-panel: #101011;
  --hl-raise: #18181A;
  --hl-line: #222224;
  --hl-line-bright: #343437;

  /* Text */
  --hl-white: #F4F4F2;
  --hl-grey: #8E8E92;
  --hl-dim: #5C5C61;

  /* The only accent: a warm thread, for drawn details and focus */
  --hl-thread: #C9A47C;
  --hl-thread-soft: rgba(201, 164, 124, .14);
  --hl-ok: #A9D8B8;

  /* Light on panels */
  --hl-sheen: linear-gradient(160deg, #1C1C1E 0%, #0C0C0D 55%, #050505 100%);
  --hl-spot: radial-gradient(70% 60% at 30% 20%, rgba(255, 255, 255, .10) 0%, rgba(255, 255, 255, 0) 70%);
  --hl-edge: linear-gradient(115deg, rgba(255, 255, 255, 0) 40%, rgba(255, 255, 255, .22) 50%, rgba(255, 255, 255, 0) 60%);

  /* Fonts */
  --hl-sans: "Geist", "Helvetica Neue", Arial, sans-serif;
  --hl-mono: "Geist Mono", ui-monospace, monospace;
  --hl-weight-light: 300;
  --hl-weight-regular: 400;
  --hl-weight-medium: 500;

  /* Type scale */
  --hl-text-display: clamp(40px, 6.2vw, 84px);
  --hl-text-h1: clamp(36px, 4.6vw, 60px);
  --hl-text-h2: clamp(28px, 3.2vw, 42px);
  --hl-text-h3: 19px;
  --hl-text-lead: 18px;
  --hl-text-body: 16px;
  --hl-text-small: 14px;
  --hl-text-micro: 12px;
  --hl-tracking-display: -.035em;
  --hl-tracking-body: -.01em;
  --hl-leading-display: 1.06;

  /* Shape */
  --hl-radius-panel: 4px;
  --hl-radius: 10px;
  --hl-radius-pill: 999px;
  --hl-border: 1px solid var(--hl-line);
  --hl-shadow-panel: 0 40px 80px -40px rgba(0, 0, 0, .9);
  --hl-focus: 0 0 0 3px var(--hl-thread-soft), 0 0 0 1px var(--hl-thread);

  /* Space */
  --hl-gutter: 24px;
  --hl-container: 1280px;
  --hl-narrow: 660px;
  --hl-section: clamp(72px, 10vw, 140px);
  --hl-gap: clamp(16px, 2vw, 24px);

  /* Motion */
  --hl-ease: cubic-bezier(.25, .8, .25, 1);
  --hl-fast: 160ms;
  --hl-slow: 900ms;
}
