@font-face {
  font-family: "Bricolage Grotesque";
  src: url("bricolage.woff2") format("woff2");
  font-weight: 200 800;
  font-stretch: 75% 100%;
  font-style: normal;
  font-display: swap;
}

:root {
  --salt: #FFFDF7;
  --pepper: #22202A;
  --blue: #2F5DA8;
  --blue-ink: #234682;
  --check: rgba(47, 93, 168, .42);
  --mustard: #E2A72E;
  --gutter: clamp(1rem, 4vw, 3rem);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--salt);
  color: var(--pepper);
  font-family: "Bricolage Grotesque", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-weight: 400;
  font-size: 1.0625rem;
  line-height: 1.6;
  font-variation-settings: "opsz" 14;
}

a { color: var(--blue-ink); text-underline-offset: .18em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--mustard); outline-offset: 3px; border-radius: 2px; }

.skip { position: absolute; left: -999px; top: 0; background: var(--pepper); color: var(--salt); padding: .5rem 1rem; }
.skip:focus { left: 1rem; top: 1rem; z-index: 10; }

.site-header {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1rem var(--gutter);
}
.brand { display: flex; align-items: center; gap: .65rem; color: var(--pepper); text-decoration: none; font-weight: 700; font-size: 1.15rem; letter-spacing: -.01em; white-space: nowrap; }
.brand img { width: 40px; height: 40px; }
.site-header nav { display: flex; gap: 1.5rem; white-space: nowrap; }
.site-header nav a { color: var(--pepper); text-decoration: none; }
.site-header nav a:hover { text-decoration: underline; }

/* Hero: a gingham tablecloth with the headline set on a plain "placemat". */
.hero {
  background-color: var(--salt);
  background-image:
    linear-gradient(90deg, var(--check) 50%, transparent 50%),
    linear-gradient(var(--check) 50%, transparent 50%);
  background-size: 56px 56px;
  padding: clamp(3rem, 9vw, 7.5rem) var(--gutter);
}
.mat {
  background: var(--salt);
  max-width: 44rem;
  padding: clamp(1.75rem, 4vw, 3rem);
  border-radius: 4px;
  box-shadow: 0 0 0 6px var(--salt), 0 0 0 8px var(--pepper);
}
.hero h1 {
  margin: 0 0 1.25rem;
  font-weight: 800;
  font-stretch: 80%;
  font-variation-settings: "opsz" 96;
  font-size: clamp(2.6rem, 6.5vw, 5.25rem);
  line-height: .98;
  letter-spacing: -.015em;
}
.hero p { margin: 0; font-size: clamp(1.05rem, 1.5vw, 1.25rem); max-width: 34rem; }

main section { padding: clamp(3rem, 7vw, 6rem) var(--gutter); }
.wrap { max-width: 68rem; }
h2 {
  font-weight: 800; font-stretch: 85%; font-variation-settings: "opsz" 48;
  font-size: clamp(1.75rem, 3vw, 2.5rem); line-height: 1.05; letter-spacing: -.02em; margin: 0 0 1.25rem;
}
h3 { font-weight: 700; font-size: 1.25rem; line-height: 1.3; margin: 0 0 .5rem; }
p { max-width: 36rem; }

.cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr)); gap: 2.5rem 4rem; margin-top: 2.5rem; }
.cols p { margin: 0; }

.contact { background: var(--blue); color: var(--salt); }
.contact a { color: var(--salt); }
.contact dl { display: grid; grid-template-columns: max-content 1fr; gap: .75rem 2rem; margin: 2rem 0 0; }
.contact dt { opacity: .8; }
.contact dd { margin: 0; }
@media (max-width: 560px) {
  .contact dl { grid-template-columns: 1fr; gap: .15rem; }
  .contact dd { margin-bottom: 1rem; }
  .site-header nav a:first-child { display: none; }
  .brand { font-size: 1rem; }
}

.site-footer { background: var(--pepper); color: var(--salt); padding: 2rem var(--gutter); font-size: .9375rem; }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 1rem 2rem; align-items: center; justify-content: space-between; }
.site-footer a { color: var(--salt); }
.site-footer nav { display: flex; gap: 1.5rem; }
.site-footer p { margin: 0; max-width: none; }

.doc { padding: clamp(2rem, 6vw, 5rem) var(--gutter); }
.doc .wrap { max-width: 40rem; }
.doc h1 { font-weight: 800; font-stretch: 85%; font-variation-settings: "opsz" 72; font-size: clamp(2.2rem, 5vw, 3.25rem); line-height: 1; letter-spacing: -.025em; margin: 0 0 .75rem; }
.doc .updated { color: var(--blue-ink); margin: 0 0 2.5rem; }
.doc h2 { font-size: 1.5rem; margin: 2.5rem 0 .75rem; }
