@font-face {
  font-family: "Questa Sans";
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url("/fonts/questa-sans-regular.woff2") format("woff2");
}
@font-face {
  font-family: "Questa Sans";
  font-style: italic;
  font-display: swap;
  font-weight: 400;
  src: url("/fonts/questa-sans-italic.woff2") format("woff2");
}
@font-face {
  font-family: "Questa Sans";
  font-style: italic;
  font-display: swap;
  font-weight: 900;
  src: url("/fonts/questa-sans-black-italic.woff2") format("woff2");
}

:root {
  --paper: #ffffff;
  --ink: #141414;
  --ink-2: #3a3a3a;
  --ink-3: #6b6b6b;
  --rule-soft: rgba(20, 20, 20, 0.12);

  --teal: oklch(0.52 0.13 175);
  --amber-deep: oklch(0.62 0.14 55);

  --head: "Questa Sans", "Inter Tight", "Geist", system-ui, -apple-system, sans-serif;
  --sans: "Questa Sans", "Inter Tight", "Geist", system-ui, -apple-system, sans-serif;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  background: var(--paper);
}

body {
  font-family: var(--sans);
  color: var(--ink);
  font-size: 17px;
  line-height: 1.7;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: underline;
  text-decoration-color: var(--teal);
  text-underline-offset: 3px;
}

.page-wide {
  max-width: 1200px;
  margin: 0 auto;
  padding: 32px 56px 96px;
}
@media (max-width: 720px) {
  .page-wide {
    padding: 24px 24px 72px;
  }
}

.g-teal {
  color: var(--teal);
  margin-right: 8px;
}
.g-amber {
  color: var(--amber-deep);
  margin-right: 8px;
}

/* Screen readers */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: relative;
  margin-bottom: 32px;
}

.site-title {
  margin: 0 0 8px;
  line-height: 0;
  --title-lines: 1;
}
.site-title__canvas {
  display: block;
  width: 100%;
  aspect-ratio: 9.1;
  pointer-events: none;
}

.site-header__subhead {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 24px;
  flex-wrap: wrap;
}
.site-header__subhead p {
  margin: 0;
  font-size: 19px;
  color: var(--ink-2);
}
.site-header__locale {
  font-size: 14px;
  color: var(--ink-3);
}

.featured-eyebrow {
  font-family: var(--head);
  font-weight: 500;
  font-size: 13px;
  color: var(--ink-3);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin: 0 0 14px;
}
.featured-title {
  font-family: var(--head);
  font-weight: 500;
  font-size: 44px;
  line-height: 1;
  margin: 0 0 20px;
  max-width: 45em;
}
.featured-title a {
  text-decoration: none;
}
.featured-dek {
  margin: 0 0 24px;
  font-size: 19px;
  line-height: 1.5;
  color: var(--ink-2);
  font-style: italic;
  max-width: 45em;
}
.continue-link {
  display: inline-block;
  font-size: 14px;
}

.hi {
  padding-top: 0.5em;
  padding-bottom: 1em;
}

@media (max-width: 520px) {
  .site-title {
    --title-lines: 2;
  }
  .site-title__canvas {
    aspect-ratio: 2.88;
  }
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px 28px;
  margin-bottom: 48px;
  font-size: 14px;
  color: var(--ink-2);
  flex-wrap: wrap;
}
.site-nav a {
  color: var(--ink-2);
  text-decoration: none;
}
.site-nav__home {
  font-family: var(--head);
  font-style: italic;
  font-weight: 800;
}
.site-nav a.active {
  color: var(--ink);
  border-bottom: 1px solid var(--ink);
  padding-bottom: 2px;
}
@media (max-width: 520px) {
  .site-nav__email {
    display: none;
  }
}

.site-footer {
  margin-top: 96px;
  padding-top: 24px;
  border-top: 1px solid var(--rule-soft);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  font-size: 14px;
  color: var(--ink-3);
}
.site-footer .socials {
  display: flex;
  gap: 18px;
}
.site-footer a {
  color: var(--ink-3);
  text-decoration: none;
}

.post-body {
  max-width: 45em;
  font-size: 17px;
  line-height: 1.7;
}

.post-body figure.photo {
  margin: 28px 0;
}
.post-body figure.photo img {
  max-width: 100%;
  height: auto;
  display: block;
}
.post-body figure.photo figcaption {
  margin-top: 8px;
  font-size: 13px;
  color: var(--ink-3);
  font-style: italic;
}
.post-body figure.photo figcaption a {
  color: var(--ink-3);
  text-decoration-color: var(--rule-soft);
}

.post-body figure.diagram {
  margin: 32px auto;
  text-align: center;
}
.post-body figure.diagram img {
  max-width: 100%;
  height: auto;
}
.post-body figure.diagram figcaption {
  margin-top: 8px;
  font-size: 13px;
  color: var(--ink-3);
}

.post-body .sidebar {
  font-size: 14px;
  line-height: 1.55;
  color: var(--ink-2);
}
.post-body .sidebar h3 {
  font-size: 15px;
  margin: 0 0 8px;
}
@media (min-width: 1190px) {
  .post-body .sidebar {
    float: right;
    clear: right;
    width: 280px;
    margin: 0.35em -312px 24px 0;
    padding-left: 16px;
    border-left: 2px solid var(--teal);
  }
}
@media (max-width: 1189.98px) {
  .post-body .sidebar {
    margin: 28px 0;
    padding: 16px 20px;
    border-left: 2px solid var(--teal);
    background: rgba(20, 20, 20, 0.03);
  }
}

.thing-bullet {
  width: 1em;
  height: 1em;
}

.pad-right-em {
  margin-right: 1em;
}

.about-video {
  margin-left: auto;
  margin-right: auto;
  display: flex;
  justify-content: center;
}

video.nfd {
  max-height: 35vh;
  border-radius: 30px;
  padding-left: auto;
  padding-right: auto;
}

@media (min-width: 1000px) {
  .about-video {
    margin: 0;
    float: right;
    padding: 1em;
    /* If the video would start below the fold, pin it to the bottom of the
       viewport until its normal position scrolls into view. */
    position: sticky;
    bottom: 0;
  }
}
