@font-face {
  font-family: "Jost";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/hazen/fonts/jost-latin-wght-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Jost";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/hazen/fonts/jost-latin-ext-wght-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Jost";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/hazen/fonts/jost-cyrillic-wght-normal.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/*
 * World: reference. The MacLC product site.
 * Link after /hazen/hazen.css and set <html data-world="reference">.
 *
 * A grading suite: neutral grey walls with no tint at all, so that the only
 * colour on a page is the picture, MacLC's amber and the test signal. Type
 * with the geometry of a film leader's numerals; figures in mono, because
 * they are measurements.
 */
@layer base {
  [data-world="reference"] {
    --w-bg-l: #dadada;
    --w-bg-d: #0f0f0f;
    --w-raise-l: #cfcfcf;
    --w-raise-d: #161616;
    --w-surface-l: #e6e6e6;
    --w-surface-d: #1c1c1c;
    --w-surface2-l: #c2c2c2;
    --w-surface2-d: #272727;
    --w-text-l: #0c0c0c;
    --w-text-d: #ededed;
    --w-text2-l: #333333;
    --w-text2-d: #b8b8b8;
    --w-text3-l: #474747;
    --w-text3-d: #8e8e8e;
    --w-line: 20%;
    --w-line-strong: 55%;
    --hz-accent-l: #e8851a;
    --hz-accent-l-strong: #cf7310;
    --hz-on-accent-l: #0c0c0c;
    --hz-accent-text-light: #7a4200;
    --hz-accent-d: #ff9a3c;
    --hz-accent-d-strong: #ffb469;
    --hz-accent-text-dark: #ff9a3c;
    --hz-font-display: "Jost", "Commissioner", ui-sans-serif, system-ui, sans-serif;
    --hz-font-serif: var(--hz-font-display);
    --hz-heading-settings: normal;
    --hz-display-settings: normal;
    --hz-heading-weight: 600;
    --hz-display-weight: 700;
    --hz-tracking-display: -0.035em;
    --hz-tracking-h1: -0.03em;
    --hz-tracking-h2: -0.022em;
    --hz-radius-xs: 2px;
    --hz-radius-sm: 2px;
    --hz-radius-md: 2px;
    --hz-radius-lg: 3px;
    --hz-radius-xl: 3px;
    --hz-radius-2xl: 4px;
    --hz-radius-full: 2px;
    /* The seven bars of a test signal at 75%, left to right. */
    --hz-bars: linear-gradient(
      90deg,
      #bfbfbf 0 14.285%,
      #bfbf00 0 28.571%,
      #00bfbf 0 42.857%,
      #00bf00 0 57.142%,
      #bf00bf 0 71.428%,
      #bf0000 0 85.714%,
      #0000bf 0
    );
  }
}
@layer components {
  /* A registration rule: the colour bars as a thin line between sections. */
  [data-world="reference"] .hz-bars {
    display: block;
    height: 6px;
    border: 0;
    margin: 0;
    background: var(--hz-bars);
  }
  /* A graticule: the faint grid of a waveform monitor behind a figure. */
  [data-world="reference"] .hz-graticule {
    background-image:
      linear-gradient(var(--hz-line) 1px, transparent 0), linear-gradient(90deg, var(--hz-line) 1px, transparent 0);
    background-size: 10% 20%;
    border: 1px solid var(--hz-line-strong);
  }
  /* A readout: a measured value with its unit. */
  [data-world="reference"] .hz-readout {
    font-family: var(--hz-font-mono);
    font-variant-numeric: tabular-nums;
    letter-spacing: -0.01em;
  }
  [data-world="reference"] .hz-btn {
    font-family: var(--hz-font-display);
    font-weight: 600;
    letter-spacing: 0.01em;
  }
  [data-world="reference"] .hz-btn--primary {
    --_line: var(--hz-text);
  }
  [data-world="reference"] .hz-em {
    background: none;
    color: var(--hz-accent-text);
  }
  [data-world="reference"] .hz-stat__value {
    font-family: var(--hz-font-mono);
    font-weight: 500;
    font-variation-settings: normal;
    letter-spacing: -0.04em;
  }
}
