@import url("https://fonts.googleapis.com/css2?family=Big+Shoulders+Display:wght@700;800;900&family=IBM+Plex+Mono:wght@400;500&family=IBM+Plex+Sans:ital,wght@0,400;0,500;0,600;1,400&display=swap");

:root {
  --ink: #16140F;
  --paper: #F4F1EA;
  --concrete: #D9D4C9;
  --aggregate: #A49D90;
  --slab: #4A463E;
  --rebar: #2B2822;
  --amber: #F0A400;

  --ink-80: rgba(22, 20, 15, 0.8);
  --ink-60: rgba(22, 20, 15, 0.6);
  --ink-12: rgba(22, 20, 15, 0.12);
  --ink-06: rgba(22, 20, 15, 0.06);
  --paper-80: rgba(244, 241, 234, 0.8);
  --paper-64: rgba(244, 241, 234, 0.64);
  --paper-16: rgba(244, 241, 234, 0.16);
  --paper-08: rgba(244, 241, 234, 0.08);
  --concrete-soft: #E7E3DA;
  --amber-deep: #C78700;
  --danger: #A3260E;
  --danger-ink: #7E1B08;
  --ok: #2F5D2A;

  --bg: var(--paper);
  --fg: var(--ink);
  --fg-muted: var(--slab);
  --line: var(--aggregate);
  --line-strong: var(--ink);
  --focus: var(--amber);

  --podo-fb6: "Big Shoulders Display", "Arial Narrow", "Helvetica Neue Condensed", Impact, sans-serif;
  --podo-5a2: "IBM Plex Sans", "Helvetica Neue", Arial, sans-serif;
  --podo-aa4: "IBM Plex Mono", "SFMono-Regular", Menlo, Consolas, monospace;

  --fs-hero: clamp(2.6rem, 11vw, 8.5rem);
  --fs-display: clamp(2.3rem, 7.4vw, 6rem);
  --fs-h1: clamp(2.4rem, 6.6vw, 5.4rem);
  --fs-h2: clamp(2rem, 4.8vw, 3.9rem);
  --fs-h3: clamp(1.45rem, 2.6vw, 2.15rem);
  --fs-h4: clamp(1.15rem, 1.6vw, 1.35rem);
  --fs-lead: clamp(1.13rem, 1.5vw, 1.32rem);
  --fs-body: clamp(1.0625rem, 0.4vw + 0.98rem, 1.125rem);
  --fs-small: 0.9375rem;
  --fs-meta: 0.8125rem;
  --fs-micro: 0.72rem;

  --lh-tight: 0.92;
  --lh-head: 1.02;
  --lh-snug: 1.3;
  --lh-body: 1.6;

  --track-display: -0.01em;
  --track-caps: 0.08em;
  --track-mono: 0.02em;

  --u: 0.5rem;
  --s-1: 0.5rem;
  --s-2: 1rem;
  --s-3: 1.5rem;
  --s-4: 2rem;
  --s-5: 3rem;
  --s-6: 4rem;
  --s-7: 5.5rem;
  --s-8: 8rem;
  --section: clamp(4rem, 10vw, 9rem);
  --section-tight: clamp(2.5rem, 6vw, 5rem);
  --gutter: clamp(1rem, 4vw, 3rem);
  --col-gap: clamp(1rem, 2.6vw, 2.5rem);
  --shell: 1440px;
  --measure: 62ch;
  --measure-narrow: 44ch;

  --rail-w: 6.75rem;
  --masthead-h: 5rem;
  --masthead-h-condensed: 3.75rem;
  --logo-h: 3.2rem;
  --logo-h-condensed: 2.4rem;

  --radius: 0;
  --rule: 2px solid var(--ink);
  --hair: 1px solid var(--aggregate);
  --shadow-1: 0 1px 0 var(--ink-12), 0 6px 14px -8px rgba(22, 20, 15, 0.35);
  --shadow-2: 0 2px 0 var(--ink), 0 18px 30px -18px rgba(22, 20, 15, 0.55);
  --shadow-hard: 6px 6px 0 var(--ink);
  --shadow-hard-sm: 3px 3px 0 var(--ink);

  --hazard: repeating-linear-gradient(-45deg, var(--ink) 0 12px, var(--amber) 12px 24px);
  --hazard-h: 10px;
  --baseline-lines: repeating-linear-gradient(to bottom, transparent 0 7px, rgba(217, 212, 201, 0.55) 7px 8px);
  --column-lines: repeating-linear-gradient(to right, transparent 0 calc(100% / 12 - 1px), rgba(217, 212, 201, 0.7) calc(100% / 12 - 1px) calc(100% / 12));

  --duo-shadow: var(--ink);
  --duo-light: var(--paper);

  --dur-1: 120ms;
  --dur-2: 180ms;
  --dur-3: 320ms;
  --dur-4: 600ms;
  --dur-5: 900ms;
  --ease-out: cubic-bezier(0.2, 0.7, 0.1, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --ease-snap: cubic-bezier(0.3, 1.4, 0.5, 1);
  --ease-heavy: cubic-bezier(0.7, 0, 0.2, 1);
  --marquee-dur: 38s;
  --marquee-dur-slow: 64s;
  --edge-in-distance: -6vw;

  --z-base: 1;
  --z-raised: 10;
  --z-masthead: 60;
  --z-rail: 70;
  --z-scrim: 65;
  --z-consent: 90;
  --z-chat: 95;
  --z-skip: 100;

  color-scheme: light;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--masthead-h) + 1rem);
  overflow-x: clip;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--podo-5a2);
  font-size: var(--fs-body);
  font-weight: 400;
  line-height: var(--lh-body);
  font-kerning: normal;
  font-feature-settings: "kern", "liga";
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}

body.nav-open {
  overflow: hidden;
}

img,
picture,
video,
canvas,
svg,
iframe {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
}

input,
button,
textarea,
select {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
  background: none;
  border: 0;
  padding: 0;
}

p,
h1,
h2,
h3,
h4,
h5,
h6,
li,
dd,
dt,
figcaption,
blockquote {
  overflow-wrap: break-word;
}

h1,
h2,
h3,
h4,
h5,
h6,
p,
ul,
ol,
dl,
figure,
blockquote {
  margin: 0;
}

ul[role="list"],
ol[role="list"] {
  list-style: none;
  padding: 0;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

hr {
  border: 0;
  border-top: var(--rule);
  margin: var(--s-5) 0;
}

[hidden] {
  display: none !important;
}

::selection {
  background: var(--amber);
  color: var(--ink);
}

:focus {
  outline: none;
}

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

.icon {
  width: 1.25em;
  height: 1.25em;
  flex: none;
  stroke: currentColor;
  fill: none;
  vertical-align: -0.2em;
}

.icon--sm { width: 1em; height: 1em; }
.icon--lg { width: 1.6em; height: 1.6em; }

h1,
h2,
h3,
.h1,
.h2,
.h3,
.display {
  font-family: var(--podo-fb6);
  font-weight: 800;
  line-height: var(--lh-head);
  letter-spacing: var(--track-display);
  text-transform: uppercase;
  hanging-punctuation: first last;
  text-wrap: balance;
  font-feature-settings: "kern", "lnum", "tnum" 0;
}

h1,
.h1 {
  font-size: var(--fs-h1);
  font-weight: 900;
  line-height: var(--lh-tight);
}

h2,
.h2 {
  font-size: var(--fs-h2);
  line-height: 0.96;
}

h3,
.h3 {
  font-size: var(--fs-h3);
  font-weight: 800;
}

h4,
.h4 {
  font-family: var(--podo-5a2);
  font-size: var(--fs-h4);
  font-weight: 600;
  line-height: var(--lh-snug);
  letter-spacing: -0.005em;
}

.display-hero {
  font-family: var(--podo-fb6);
  font-size: var(--fs-hero);
  font-weight: 900;
  line-height: 0.88;
  letter-spacing: -0.012em;
  text-transform: uppercase;
  text-wrap: balance;
}

.display {
  font-size: var(--fs-display);
  font-weight: 900;
  line-height: 0.9;
}

p {
  text-wrap: pretty;
}

.lead {
  font-size: var(--fs-lead);
  line-height: 1.5;
  max-width: 52ch;
  color: var(--ink);
}

.small {
  font-size: var(--fs-small);
}

.muted {
  color: var(--fg-muted);
}

.mono,
code,
kbd,
samp {
  font-family: var(--podo-aa4);
  font-size: 0.92em;
  letter-spacing: var(--track-mono);
  font-feature-settings: "zero" 1, "tnum" 1;
}

.meta {
  font-family: var(--podo-aa4);
  font-size: var(--fs-meta);
  font-weight: 500;
  letter-spacing: 0.04em;
  line-height: 1.5;
  color: var(--slab);
  text-transform: uppercase;
}

.kicker {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4em 0.9em;
  font-family: var(--podo-aa4);
  font-size: var(--fs-meta);
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--slab);
}

.kicker::before {
  content: "";
  width: 1.75rem;
  height: 2px;
  background: var(--ink);
  flex: none;
}

.counter {
  font-family: var(--podo-aa4);
  font-size: var(--fs-meta);
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--slab);
  font-feature-settings: "tnum" 1, "zero" 1;
}

.hang {
  text-indent: -0.42em;
}

a {
  color: inherit;
  text-decoration-line: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
  text-decoration-color: var(--aggregate);
  transition: text-decoration-color var(--dur-2) var(--ease-out), text-decoration-thickness var(--dur-2) var(--ease-out), color var(--dur-2) var(--ease-out);
}

a:hover {
  text-decoration-color: var(--amber);
  text-decoration-thickness: 3px;
}

a:active {
  color: var(--slab);
}

a:focus-visible {
  text-decoration-color: var(--amber);
}

.prose {
  max-width: var(--measure);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
}

.prose > * + * {
  margin-top: 1.1em;
}

.prose h2 {
  font-size: clamp(1.8rem, 3.6vw, 2.9rem);
  margin-top: 1.6em;
}

.prose h3 {
  font-size: clamp(1.35rem, 2.2vw, 1.8rem);
  margin-top: 1.5em;
}

.prose h4 {
  margin-top: 1.4em;
}

.prose h2 + *,
.prose h3 + *,
.prose h4 + * {
  margin-top: 0.6em;
}

.prose ul,
.prose ol {
  padding-left: 1.3em;
}

.prose li + li {
  margin-top: 0.45em;
}

.prose ul li::marker {
  content: "\25A0  ";
  font-size: 0.7em;
  color: var(--ink);
}

.prose ol li::marker {
  font-family: var(--podo-aa4);
  font-size: 0.85em;
  font-weight: 500;
}

.prose strong {
  font-weight: 600;
}

.prose blockquote {
  border-left: 4px solid var(--ink);
  padding: 0.2em 0 0.2em 1.2em;
  font-size: var(--fs-lead);
}

.prose a {
  text-decoration-color: var(--ink);
}

.prose a:hover {
  text-decoration-color: var(--amber);
}

.prose table {
  width: 100%;
  font-size: var(--fs-small);
}

.prose th,
.prose td {
  text-align: left;
  vertical-align: top;
  padding: 0.7em 0.9em 0.7em 0;
  border-bottom: var(--hair);
}

.prose th {
  font-family: var(--podo-aa4);
  font-size: var(--fs-meta);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-bottom: var(--rule);
}

.prose--inverse,
.prose--inverse a {
  color: var(--paper);
}

.shell {
  width: 100%;
  max-width: var(--shell);
  margin-inline: 0 auto;
  padding-inline: var(--gutter);
}

.section {
  position: relative;
  padding-block: var(--section);
}

.section--tight {
  padding-block: var(--section-tight);
}

.section--concrete {
  background: var(--concrete);
}

.section--ink {
  background: var(--ink);
  color: var(--paper);
}

.section--rebar {
  background: var(--rebar);
  color: var(--paper);
}

.section--ink .meta,
.section--rebar .meta,
.section--ink .kicker,
.section--rebar .kicker,
.section--ink .counter,
.section--rebar .counter {
  color: var(--paper-64);
}

.section--ink .kicker::before,
.section--rebar .kicker::before {
  background: var(--amber);
}

.baseline-grid {
  background-image: var(--baseline-lines);
  background-size: 100% 8px;
}

.column-grid {
  background-image: var(--column-lines);
}

.grid-12 {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--col-gap);
  row-gap: var(--s-5);
}

.grid-12 > * {
  min-width: 0;
  grid-column: 1 / -1;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--s-5) var(--col-gap);
  align-items: start;
}

.split > * {
  min-width: 0;
}

@media (min-width: 900px) {
  .split--8-4 {
    grid-template-columns: minmax(0, 8fr) minmax(0, 4fr);
  }

  .split--4-8 {
    grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  }

  .split--7-5 {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  }

  .split--5-7 {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  }

  .split--sticky > .split__minor {
    position: sticky;
    top: calc(var(--masthead-h-condensed) + var(--s-3));
  }
}

.stack {
  display: flex;
  flex-direction: column;
  gap: var(--stack-gap, var(--s-3));
}

.stack > * {
  min-width: 0;
}

.stack--tight { --stack-gap: var(--s-1); }
.stack--loose { --stack-gap: var(--s-5); }

.cluster {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--cluster-gap, var(--s-2));
}

.cluster > * {
  min-width: 0;
}

.measure { max-width: var(--measure); }
.measure-narrow { max-width: var(--measure-narrow); }

.rule-top {
  border-top: var(--rule);
  padding-top: var(--s-2);
}

.hazard {
  display: block;
  height: var(--hazard-h);
  background: var(--hazard);
  border: 0;
  margin: 0;
}

.frame {
  position: relative;
  margin: 0;
  background: var(--concrete);
}

.frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.frame__cap {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75em;
  align-items: baseline;
  padding-top: 0.7rem;
  font-family: var(--podo-aa4);
  font-size: var(--fs-micro);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--slab);
  background: var(--bg);
}

.duotone-media {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: var(--duo-shadow);
}

.duotone-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1) contrast(1.18) brightness(0.95);
  mix-blend-mode: normal;
}

.duotone-media::before,
.duotone-media::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}

.duotone-media::before {
  background: var(--duo-shadow);
  mix-blend-mode: multiply;
  opacity: 0.55;
}

.duotone-media::after {
  background: var(--duo-light);
  mix-blend-mode: screen;
  opacity: 0.12;
}

.visually-hidden,
.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: var(--z-skip);
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 0.75rem 1.2rem;
  background: var(--ink);
  color: var(--paper);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 3px solid var(--amber);
  transform: translateY(-160%);
  transition: transform var(--dur-2) var(--ease-out);
}

.skip-link:focus,
.skip-link:focus-visible {
  transform: translateY(0);
}

main:focus {
  outline: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  :root {
    --dur-1: 0ms;
    --dur-2: 0ms;
    --dur-3: 0ms;
    --dur-4: 0ms;
    --dur-5: 0ms;
    --edge-in-distance: 0;
  }
}

@media print {
  .rail,
  .masthead__actions,
  .consent,
  .chat,
  .marquee {
    display: none !important;
  }

  body {
    padding: 0 !important;
    background: #fff;
  }
}
