/*
 * Loose Orbit: design tokens
 * An airy discovery style. A warm off-white canvas, one tight grotesk headline set dead
 * center, and a loose orbit of small glossy tiles floating around it at odd angles, each
 * with a soft drop shadow and a light edge, like objects tossed on a table. One search
 * field in a soft tray, black pill buttons, white rounded cards and a word under the
 * headline that blurs in and out as it cycles. Color lives in the tiles, not in the UI.
 *
 * Fonts (all free on Google Fonts):
 *   <link href="https://fonts.googleapis.com/css2?family=Geist:wght@400;500;600;700&family=Geist+Mono:wght@400;500&display=swap" rel="stylesheet">
 */
:root {
  /* Surfaces: warm off-white canvas, white cards, a soft tray for fields */
  --lo-canvas: #f3f1ee;
  --lo-white: #ffffff;
  --lo-tray: #e9e6e2;
  --lo-line: #e1ddd8;
  --lo-line-strong: #cbc6bf;

  /* Text and the UI color: near-black ink */
  --lo-ink: #161514;
  --lo-ink-hover: #3a3836;
  --lo-soft: #6d6a66;
  --lo-faint: #a19d97;

  /* Tile glazes: only for the floating tiles, swatches and small marks */
  --lo-cobalt: #3346d3;
  --lo-rose: #e5466f;
  --lo-celadon: #93bdaa;
  --lo-ochre: #dba543;
  --lo-clay: #c46a48;
  --lo-sky: #9cc3ea;
  --lo-plum: #5b3355;

  /* Status */
  --lo-ok: #2f8a5b;

  /* Type */
  --lo-sans: "Geist", "Helvetica Neue", Arial, system-ui, sans-serif;
  --lo-mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --lo-text-hero: clamp(42px, 6.4vw, 92px);
  --lo-text-h2: clamp(30px, 3.8vw, 52px);
  --lo-text-h3: 20px;
  --lo-text-lead: clamp(17px, 1.5vw, 20px);
  --lo-text-body: 16px;
  --lo-text-prose: 18px;
  --lo-text-small: 14px;
  --lo-text-micro: 12px;

  --lo-tracking-hero: -.045em;
  --lo-tracking-head: -.03em;
  --lo-tracking-mono: .04em;
  --lo-leading-hero: .98;

  /* Shape: pills for controls, soft rounded cards, rounded tiles */
  --lo-radius-pill: 999px;
  --lo-radius-card: 22px;
  --lo-radius-tile: 14px;
  --lo-radius-tray: 30px;
  --lo-radius-field: 16px;

  /* Shadows: soft and low, tiles get a stronger lift and a glossy top edge */
  --lo-shadow-card: 0 1px 2px rgba(22, 21, 20, .05), 0 8px 24px rgba(22, 21, 20, .06);
  --lo-shadow-tray: 0 1px 0 rgba(255, 255, 255, .9) inset, 0 10px 30px rgba(22, 21, 20, .07);
  --lo-shadow-tile: 0 2px 4px rgba(22, 21, 20, .10), 0 18px 34px rgba(22, 21, 20, .16);
  --lo-gloss: linear-gradient(160deg, rgba(255, 255, 255, .55) 0%, rgba(255, 255, 255, 0) 42%);
  --lo-edge: inset 0 0 0 1px rgba(255, 255, 255, .45);

  /* Space */
  --lo-gutter: clamp(20px, 3vw, 40px);
  --lo-section: clamp(72px, 9vw, 128px);
  --lo-container: 1200px;
  --lo-narrow: 680px;

  /* Motion: slow floats, quick blurs */
  --lo-ease: cubic-bezier(.2, .8, .2, 1);
  --lo-speed: .3s;
  --lo-float: 7s;
}
