@font-face {
  font-family: "Big Shoulders";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/hazen/fonts/big-shoulders-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: "Big Shoulders";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/hazen/fonts/big-shoulders-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;
}
/*
 * World: hoarding. BuildMaster, a construction landing page.
 * Link after /hazen/hazen.css and set <html data-world="hoarding">.
 *
 * The boards around a building site: painted panels in contractor blue,
 * yellow notices bolted on, the permit in a frame. Big civic lettering.
 * Sections are panels of the hoarding, one colour each.
 */
@layer base {
  [data-world="hoarding"] {
    --w-bg-l: #f0eee8;
    --w-bg-d: #0d1522;
    --w-raise-l: #e5e2da;
    --w-raise-d: #131d2d;
    --w-surface-l: #f9f8f4;
    --w-surface-d: #192538;
    --w-surface2-l: #d7d3c9;
    --w-surface2-d: #243247;
    --w-text-l: #111827;
    --w-text-d: #eef1f6;
    --w-text2-l: #3a4352;
    --w-text2-d: #b8c1cf;
    --w-text3-l: #535c6b;
    --w-text3-d: #949fb0;
    --w-line: 18%;
    --w-line-strong: 60%;
    --hz-accent-l: #f6c20a;
    --hz-accent-l-strong: #e3b100;
    --hz-on-accent-l: #111827;
    --hz-accent-text-light: #715800;
    --hz-accent-d: #f6c20a;
    --hz-accent-d-strong: #fad64f;
    --hz-accent-text-dark: #f6c20a;
    /* Paint for whole panels: use as backgrounds with --hz-panel-ink text. */
    --hz-panel-blue: #12345b;
    --hz-panel-yellow: #f6c20a;
    --hz-panel-ink: #f4f6fa;
    --hz-font-display: "Big Shoulders", "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: 800;
    --hz-display-weight: 900;
    --hz-text-display: clamp(3.25rem, 1.5rem + 7.5vw, 6rem);
    --hz-text-h1: clamp(2.75rem, 1.8rem + 4vw, 4.5rem);
    --hz-text-h2: clamp(2.125rem, 1.6rem + 2.4vw, 3.5rem);
    --hz-text-h3: clamp(1.5rem, 1.3rem + 0.9vw, 2rem);
    --hz-leading-display: 0.88;
    --hz-leading-h1: 0.92;
    --hz-leading-h2: 0.96;
    --hz-leading-h3: 1.04;
    --hz-tracking-display: 0em;
    --hz-tracking-h1: 0em;
    --hz-tracking-h2: 0.005em;
    --hz-tracking-h3: 0.01em;
    --hz-radius-xs: 2px;
    --hz-radius-sm: 2px;
    --hz-radius-md: 4px;
    --hz-radius-lg: 4px;
    --hz-radius-xl: 6px;
    --hz-radius-2xl: 6px;
    --hz-radius-full: 4px;
  }
}
@layer components {
  [data-world="hoarding"] :is(h1, h2, h3, .hz-display, .hz-h1, .hz-h2, .hz-h3) {
    text-transform: uppercase;
  }
  /* A painted panel of the hoarding. */
  [data-world="hoarding"] .hz-panel {
    background: var(--hz-panel-blue);
    color: var(--hz-panel-ink);
    --hz-text: #f4f6fa;
    --hz-text-2: #c9d3e2;
    --hz-text-3: #a9b6ca;
    --hz-line: rgb(244 246 250 / 0.2);
    --hz-line-strong: rgb(244 246 250 / 0.6);
    --hz-surface: #1a406e;
    --hz-surface-2: #234c7e;
    --hz-accent: #f6c20a;
    --hz-accent-strong: #fad64f;
    --hz-on-accent: #111827;
    --hz-accent-text: #f6c20a;
  }
  /* A notice bolted to the boards: four fixings, one in each corner. */
  [data-world="hoarding"] .hz-notice {
    position: relative;
    padding: clamp(1.25rem, 1rem + 1.2vw, 2.25rem);
    border-radius: var(--hz-radius-lg);
    background-color: var(--hz-panel-yellow);
    background-image:
      radial-gradient(circle at 14px 14px, #111827 0 3px, transparent 3.5px),
      radial-gradient(circle at calc(100% - 14px) 14px, #111827 0 3px, transparent 3.5px),
      radial-gradient(circle at 14px calc(100% - 14px), #111827 0 3px, transparent 3.5px),
      radial-gradient(circle at calc(100% - 14px) calc(100% - 14px), #111827 0 3px, transparent 3.5px);
    color: #111827;
    --hz-text: #111827;
    --hz-text-2: #2c3340;
    --hz-text-3: #3a4352;
    --hz-accent-text: #12345b;
  }
  [data-world="hoarding"] .hz-btn {
    font-family: var(--hz-font-display);
    font-size: 1.1875rem;
    font-weight: 800;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    border-width: 2px;
  }
  [data-world="hoarding"] .hz-btn--primary {
    --_line: var(--hz-text);
  }
  [data-world="hoarding"] .hz-em {
    background-image: linear-gradient(var(--hz-accent), var(--hz-accent));
    background-size: 100% 0.14em;
    background-position: 0 100%;
  }
}
