/*
 * Dive Window: tokens
 * Feel: a mission broadcast from the deep. Near-black water, one full-bleed drawn
 * scene where a pale arc of light curves out of the dark, wide-tracked condensed
 * capitals, mono telemetry readouts with a live countdown, chamfered hairline
 * buttons and panels, and a single bioluminescent teal accent.
 *
 * Fonts (free, Google Fonts):
 * <link href="https://fonts.googleapis.com/css2?family=Saira+Semi+Condensed:wght@400;500;600&family=Barlow:wght@400;500&family=JetBrains+Mono:wght@400;500&display=swap" rel="stylesheet">
 */
:root {
  /* Water, from deepest to raised */
  --dw-abyss: #04070B;
  --dw-trench: #09111A;
  --dw-hull: #101B27;
  --dw-line: #1E2C3A;
  --dw-line-bright: #3A4D60;

  /* Text */
  --dw-foam: #E8F0F4;
  --dw-read: #C6D3DC;
  --dw-mist: #8C9DAB;
  --dw-faint: #566876;

  /* The accent: bioluminescence. Lit things, live readouts, the main action */
  --dw-glow: #5CE0CC;
  --dw-glow-deep: #2FB8A4;
  --dw-glow-soft: rgba(92, 224, 204, .14);

  /* Signal: only the live dot and warnings */
  --dw-signal: #FF7A4D;

  /* Scene colours: only inside .dw-scene */
  --dw-sunlit: #2F6F96;
  --dw-twilight: #123049;
  --dw-scene-descent: linear-gradient(180deg, #164466 0%, #0D2538 34%, #061019 68%, #04070B 100%);
  --dw-scene-trench: radial-gradient(90% 70% at 80% 100%, #0F3A44 0%, #071722 45%, #04070B 100%);
  --dw-scene-surface: linear-gradient(180deg, #3B86AE 0%, #1B4D6E 40%, #0A1E2E 100%);
  --dw-arc: radial-gradient(closest-side, rgba(170, 225, 245, .0) 92%, rgba(170, 225, 245, .55) 97%, rgba(170, 225, 245, .0) 100%);
  --dw-snow: radial-gradient(circle at 20% 30%, rgba(232, 240, 244, .5) 0 1px, transparent 1.5px), radial-gradient(circle at 70% 80%, rgba(232, 240, 244, .35) 0 1px, transparent 1.5px), radial-gradient(circle at 45% 60%, rgba(232, 240, 244, .25) 0 .8px, transparent 1.2px);
  --dw-scrim: linear-gradient(90deg, rgba(4, 7, 11, .85) 0%, rgba(4, 7, 11, .35) 55%, rgba(4, 7, 11, 0) 100%);

  /* Fonts */
  --dw-display: "Saira Semi Condensed", "Arial Narrow", sans-serif;
  --dw-sans: "Barlow", "Helvetica Neue", Arial, sans-serif;
  --dw-mono: "JetBrains Mono", ui-monospace, monospace;
  --dw-weight-regular: 400;
  --dw-weight-medium: 500;
  --dw-weight-bold: 600;

  /* Type scale */
  --dw-text-hero: clamp(44px, 7vw, 104px);
  --dw-text-h1: clamp(38px, 5vw, 72px);
  --dw-text-h2: clamp(30px, 3.6vw, 48px);
  --dw-text-h3: 20px;
  --dw-text-lead: 19px;
  --dw-text-body: 16px;
  --dw-text-small: 14px;
  --dw-text-micro: 11px;
  --dw-tracking-display: .04em;
  --dw-tracking-caps: .16em;
  --dw-tracking-micro: .12em;

  /* Shape: cut corners, hairlines, no shadows */
  --dw-cut: 10px;
  --dw-cut-sm: 6px;
  --dw-chamfer: polygon(var(--dw-cut) 0, 100% 0, 100% calc(100% - var(--dw-cut)), calc(100% - var(--dw-cut)) 100%, 0 100%, 0 var(--dw-cut));
  --dw-chamfer-sm: polygon(var(--dw-cut-sm) 0, 100% 0, 100% calc(100% - var(--dw-cut-sm)), calc(100% - var(--dw-cut-sm)) 100%, 0 100%, 0 var(--dw-cut-sm));
  --dw-radius: 0;
  --dw-border: 1px solid var(--dw-line);
  --dw-glow-ring: 0 0 0 3px var(--dw-glow-soft);

  /* Space */
  --dw-gutter: 24px;
  --dw-container: 1280px;
  --dw-narrow: 700px;
  --dw-section: clamp(72px, 10vw, 136px);

  /* Motion */
  --dw-ease: cubic-bezier(.22, .8, .24, 1);
  --dw-fast: 180ms;
  --dw-slow: 1200ms;
}
