/* Accepted typography B. Layout/colours/interaction are defined in styles.css. */
@font-face {
  font-family: "IBM Plex Mono";
  src: url("typography/fonts/ibm-plex-mono/IBMPlexMono-Regular.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
body { font-family: var(--type-ui), Arial, sans-serif; font-weight: 400; }
button { font-family: var(--type-ui), Arial, sans-serif; }
.identity { font-weight: 550; letter-spacing: -.45px; }
.header nav { font-size: 14px; line-height: 1.35; }
.eyebrow { font-weight: 550; font-size: 10px; line-height: 1.6; letter-spacing: 1.35px; }
.hero-bottom > p:first-child { font-size: 17px; line-height: 1.65; letter-spacing: -.18px; }
.experience strong { font-size: 23px; line-height: 1.2; letter-spacing: -.75px; }
.hero-caption { line-height: 1.45; }
.direction-name { font-weight: 450; }
.task-title { font-weight: 500; }
.work-item h4 { font-weight: 500; }
.proof-column h4 { font-weight: 450; }
.route-caption { font-weight: 500; }
.column-label span, .check-list li::marker { font-family: var(--type-ui), Arial, sans-serif; }
.work-item small, code, .code-note > span, .archive, .manifest dt, .document-node {
  font-family: "IBM Plex Mono", monospace;
  font-weight: 400;
  font-variation-settings: normal;
}
.work-item small { font-size: 11px; line-height: 1.65; }
.code-note code { font-size: 12px; line-height: 1.6; }
.code-note > span { font-size: 10px; line-height: 1.6; }
@media (max-width:700px) {
  .header nav { font-size: 12px; }
  .eyebrow { font-size: 9px; letter-spacing: 1.1px; }
  .hero-bottom > p:first-child { font-size: 15px; line-height: 1.65; letter-spacing: -.1px; }
  .experience strong { font-size: 14px; letter-spacing: -.2px; }
  .code-note code { font-size: 11px; }
}

/* Commissioner display, Onest UI. FLAR 20 is the accepted baseline. */
@font-face {
  font-family: "Commissioner";
  src: url("typography/fonts/commissioner/Commissioner[FLAR,VOLM,slnt,wght].woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Onest";
  src: url("typography/fonts/onest/Onest[wght].woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
:root { --type-ui: "Onest"; }
h1, .section-top h2, .case-intro h2, .case-question h3, .panel-copy h4 {
  font-family: "Commissioner", Arial, sans-serif;
  font-variation-settings: "FLAR" 20, "VOLM" 0, "slnt" 0;
}
/* Natural wrapping inside two semantic statements, no viewport-specific <br>. */
h1 { font-size: clamp(52px, 5.277778vw, 78px); font-weight: 440; line-height: 1.04; letter-spacing: -.033em; }
h1 > span { display: block; }
.section-top h2 { font-size: 44px; font-weight: 450; line-height: 1.12; letter-spacing: -1.3px; }
.direction-name { font-size: 31px; font-weight: 450; line-height: 1.16; letter-spacing: -1.05px; }
.proof-column h4 { font-size: 29px; font-weight: 450; line-height: 1.16; letter-spacing: -1.1px; }
.case-intro h2 { font-size: 64px; font-weight: 440; line-height: 1.075; letter-spacing: -1.75px; }
.case-question h3, .panel-copy h4 { font-size: 34px; font-weight: 450; line-height: 1.15; letter-spacing: -.65px; }
@media (max-width:1100px) {
  .case-intro h2 { font-size: 50px; }
  .direction-name { font-size: 28px; }
  .proof-column h4 { font-size: 24px; }
}
@media (max-width:700px) {
  h1 { font-size: 42px; font-weight: 440; line-height: 1.07; letter-spacing: -1.2px; }
  .section-top h2 { font-size: 35px; font-weight: 450; line-height: 1.12; letter-spacing: -.9px; }
  .direction-name { font-size: 26px; line-height: 1.2; letter-spacing: -.75px; }
  .proof-column h4 { font-size: 29px; line-height: 1.16; letter-spacing: -1.05px; }
  .case-intro h2 { font-size: 43px; line-height: 1.095; letter-spacing: -1.1px; }
  .case-question h3, .panel-copy h4 { font-size: 30px; line-height: 1.17; letter-spacing: -.6px; }
}
@media (max-width:350px) {
  h1 { font-size: 36px; letter-spacing: -1px; }
  .case-intro h2 { font-size: 37px; letter-spacing: -.95px; }
  .direction-name { font-size: 24px; }
}

#map:has([data-task="find"][aria-pressed="true"]) .work-item:first-child small { font-family: var(--type-ui), Arial, sans-serif; }
