/* Archivo variable (wdth + wght) is self-hosted. OFL: fonts/OFL.txt.
   Path is relative to this file once copied into a site's assets/. */

@font-face {
  font-family: 'Archivo';
  src: url('fonts/Archivo-Variable-subset.woff2') format('woff2-variations'),
       url('fonts/Archivo-Variable-subset.woff2') format('woff2');
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-style: normal;
  font-display: swap;
  unicode-range: U+000D,U+0020-007E,U+00A0-017F,U+01CD-01CE,U+0218-0219,U+02B9-02BA,U+02BC,U+02C6-02C7,U+02C9,U+02D8-02DD,U+0300-0304,U+0306-030C,U+030F,U+0311-0313,U+031B,U+0323-0324,U+0326-0328,U+032E,U+0331,U+0335-0338,U+03C0,U+2009,U+2010-2011,U+2013-2015,U+2017-201A,U+201C-201E,U+2020-2022,U+2026,U+2030,U+2032-2033,U+2039-203A,U+203E,U+2044,U+2052,U+2070,U+2074-2079,U+207F-2089,U+2099,U+20A1,U+20A3-20A4,U+20A6-20A7,U+20A9,U+20AB-20AD,U+20B1-20B2,U+20B5,U+20B9-20BA,U+20BC-20BD,U+2105,U+2113,U+2116-2117,U+2122,U+2126,U+212E,U+2190-2195,U+21A8,U+2202,U+2205-2206,U+220F,U+2211-2212,U+2215,U+2219-221A,U+221E-221F,U+2229,U+222B,U+2248,U+2260-2261,U+2264-2265,U+25CA,U+FB01-FB02,U+FEFF;
}
@font-face {
  font-family: 'Archivo';
  src: url('fonts/Archivo-Variable.woff2') format('woff2-variations'),
       url('fonts/Archivo-Variable.woff2') format('woff2');
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-style: normal;
  font-display: swap;
  unicode-range: U+018F,U+0192,U+019D,U+01A0-01A1,U+01AF-01B0,U+01C4-01CC,U+01CF-01DC,U+01E6-01E7,U+01EA-01EB,U+01FA-0217,U+021A-021B,U+022A-022D,U+0230-0233,U+0237,U+0259,U+0272,U+0394,U+03A9,U+03BC,U+1E24-1E25,U+1E62-1E63,U+1E6C-1E6D,U+1E80-1E85,U+1E9E,U+1EA0-1EF9,U+2302,U+2310,U+2320-2321,U+27E8-27E9,U+E0FF,U+EFFD,U+F000;
}

/* Video atlas design system: tokens.
   Every value a component may use is declared here. A site theme (themes/<site>.css)
   overrides a handful of these and nothing else. Load order:
   tokens.css, components.css, theme.css, then an optional site.css. */

:root {
  /* ── colour: surfaces, darkest first ── */
  --bg: #0b0b0c;
  --bg-2: #111113;
  --bg-3: #141416;
  --bg-4: #1a1a1c;
  /* ── colour: text, three ranks ── */
  --fg: #f2f2ee;
  --fg-2: #b9b9b5;
  --fg-3: #86878c;
  /* ── colour: the reversed slab (.slab). One per page at most ── */
  --paper: #ecebe4;
  --paper-2: #dddcd3;
  --ink: #0c0d10;
  --ink-2: #3a3b40;
  --ink-3: #63646a;
  --black: #000;
  /* ── colour: one accent, for state and for links under the pointer ── */
  --accent: #f7c531;
  --accent-ink: #7a5a00;            /* the accent darkened for use on --paper */
  --accent-dim: color-mix(in srgb, var(--accent) 45%, var(--bg));
  --accent-hi: color-mix(in srgb, var(--accent) 58%, #fff);
  /* ── colour: lines ── */
  --line: color-mix(in srgb, var(--fg) 12%, transparent);
  --line-2: color-mix(in srgb, var(--fg) 28%, transparent);
  --scrim: color-mix(in srgb, var(--black) 78%, transparent);
  /* ── colour: chart palette. a, b, c are the categorical series, mid is the neutral ── */
  --c-a: #b3882c;
  --c-b: #4192c2;
  --c-c: #cc6650;
  --c-mid: #55565b;

  /* ── dividers. Each has one job ──
     hair   between rows of one list
     rule   closes a list or a toolbar
     bold   opens a sub-block inside a section
     heavy  opens a section (.sec)
     Tone (.band) and reversal (.slab) separate without a line. */
  --rule-hair: 1px solid var(--line);
  --rule: 1px solid var(--line-2);
  --rule-bold: 2px solid var(--fg);
  --rule-heavy: 6px solid var(--fg);

  /* ── type: families ── */
  --font-display: 'Archivo', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --font-text: 'Archivo', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --font-data: 'Archivo', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  /* ── type: widths. Display is set wide, figures are set narrow ── */
  --stretch-display: 112%;
  --stretch-text: 100%;
  --stretch-data: 80%;
  /* ── type: text scale. Base 18px, minor third 1.2, meaning-bearing floor 15px. ── */
  --fs-ratio: 1.2;
  --fs-3xs: 12px;   /* chrome only: ticks, kbd */
  --fs-2xs: 12px;
  --fs-xs: 15px;
  --fs-sm: 15px;
  --fs-md: 18px;
  --fs-base: 18px;
  --fs-list: 22px;
  --fs-meta: 15px;
  --fs-lg: 22px;
  --fs-xl: 26px;
  --fs-2xl: 26px;
  --fs-3xl: 32px;
  /* ── type: display scale, fluid. Ends sit on the same scale. ── */
  --fs-d4: clamp(32px, 2.9vw, 44px);
  --fs-d3: clamp(36px, 4.4vw, 64px);
  --fs-d2: clamp(44px, 6.6vw, 96px);
  --fs-d1: clamp(54px, 8.2vw, 128px);
  --lh-display: 1;
  --lh-title: 1.12;
  --lh-body: 1.5;
  --lh-tight: 1.25;
  /* ── type: weights and tracking. Heavy type is tracked tight, word spaces opened back up ── */
  --fw-display: 900;
  --fw-head: 800;
  --fw-data: 500;
  --track-display: -.04em;
  --track-head: -.025em;
  --word-display: .08em;

  /* ── space: 4px baseline, 8px layout. Section gaps aim at 2x item gaps. ── */
  --pad: clamp(20px, 4.4vw, 64px);        /* page side padding. 20 is a 4px step. */
  --max: 1340px;                          /* page measure for video grids */
  --read: 72ch;                           /* continuous reading measure */
  --side: 220px;                          /* margin column of .sec-g */
  --gut: clamp(24px, 3.4vw, 48px);        /* column gutter */
  --sec-y: clamp(32px, 4.4vw, 64px);      /* section padding, block axis */
  --sp-1: 4px;
  --sp-2: 8px;
  --sp-3: 16px;
  --sp-4: 24px;
  --sp-5: 32px;
  --sp-6: 48px;
  --sp-7: 64px;
  --mast: 36px;                           /* masthead height */
  --toolbar: 64px;                        /* height of a sticky toolbar under the masthead */

  /* ── shape, depth, motion ── */
  --radius: 2px;
  --shadow-pop: 0 18px 40px color-mix(in srgb, var(--black) 55%, transparent);
  --shadow-modal: 0 40px 120px color-mix(in srgb, var(--black) 70%, transparent);
  --shadow-up: 0 -30px 80px color-mix(in srgb, var(--black) 60%, transparent);
  --shadow-mark: drop-shadow(0 1px 6px color-mix(in srgb, var(--black) 70%, transparent));
  --ease: cubic-bezier(.2, .7, .2, 1);
  --t-fast: .2s;
  --t-slow: .35s;
  color-scheme: dark;

  /* ── surface texture. Felt, not seen. Sites may retint --grain and --grain-opacity. ── */
  --grain: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22160%22%20height%3D%22160%22%3E%3Cfilter%20id%3D%22n%22%3E%3CfeTurbulence%20type%3D%22fractalNoise%22%20baseFrequency%3D%220.85%22%20numOctaves%3D%224%22%20stitchTiles%3D%22stitch%22%20seed%3D%223%22%2F%3E%3CfeColorMatrix%20type%3D%22saturate%22%20values%3D%220%22%2F%3E%3C%2Ffilter%3E%3Crect%20width%3D%22100%25%22%20height%3D%22100%25%22%20filter%3D%22url%28%23n%29%22%2F%3E%3C%2Fsvg%3E");
  --grain-opacity: 0.04;
}
html { font-size: 18px; }

