@import url("https://fonts.googleapis.com/css2?family=Archivo:wdth,wght@75..100,500..900&family=Public+Sans:ital,wght@0,400;0,500;0,600;1,400&family=JetBrains+Mono:wght@400;500&display=swap");

:root {
  --ground: #101311;
  --ground-2: #171B19;
  --ground-3: #1F2421;
  --ground-4: #262C28;
  --paper: #ECEDE8;
  --paper-bright: #F5F6F2;
  --grey: #9AA19C;
  --grey-dim: #7D847F;
  --line: #2C332F;
  --line-strong: #3E4741;
  --emerald: #1E7A57;
  --emerald-press: #155A40;
  --emerald-hover: #1A6C4D;
  --emerald-hi: #46B386;
  --emerald-wash: rgba(30, 122, 87, 0.14);
  --brass: #B39159;
  --brass-dim: rgba(179, 145, 89, 0.45);
  --brass-faint: rgba(179, 145, 89, 0.18);
  --error: #E58A74;
  --error-line: #B8543E;
  --error-wash: rgba(229, 138, 116, 0.1);
  --ok: #46B386;

  --text: var(--paper);
  --text-muted: var(--grey);
  --rule: var(--line);
  --focus: var(--emerald-hi);
  --link: var(--paper);
  --link-line: var(--emerald-hi);

  --malo-780: "Archivo", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  --malo-d05: "Public Sans", "Helvetica Neue", Arial, sans-serif;
  --malo-1ab: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  --display-wdth: 82%;
  --display-weight: 800;

  --fs-mono-xs: 0.6875rem;
  --fs-mono: 0.78125rem;
  --fs-mono-lg: 0.9rem;
  --fs-small: 0.90625rem;
  --fs-body: clamp(1.02rem, 0.97rem + 0.25vw, 1.15rem);
  --fs-lead: clamp(1.2rem, 1.06rem + 0.7vw, 1.6rem);
  --fs-h6: clamp(1rem, 0.96rem + 0.2vw, 1.125rem);
  --fs-h5: clamp(1.15rem, 1.06rem + 0.4vw, 1.375rem);
  --fs-h4: clamp(1.3rem, 1.12rem + 0.8vw, 1.8rem);
  --fs-h3: clamp(1.45rem, 1.15rem + 1.35vw, 2.3rem);
  --fs-h2: clamp(1.6rem, 1.1rem + 2.4vw, 3.1rem);
  --fs-h1: clamp(2rem, 1.2rem + 4.2vw, 5.25rem);
  --fs-quote: clamp(1.5rem, 1rem + 2.6vw, 3.4rem);
  --fs-giant: clamp(2.6rem, 1rem + 8vw, 8.5rem);

  --lh-tight: 0.96;
  --lh-snug: 1.06;
  --lh-head: 1.12;
  --lh-body: 1.62;
  --track-display: -0.018em;
  --track-head: -0.01em;
  --track-caps: 0.14em;
  --track-mono: 0.03em;
  --measure-ch: 64ch;

  --sp-3xs: 0.25rem;
  --sp-2xs: 0.4375rem;
  --sp-xs: 0.6875rem;
  --sp-s: 1.0625rem;
  --sp-m: 1.625rem;
  --sp-l: 2.4375rem;
  --sp-xl: 3.625rem;
  --sp-2xl: 5.4375rem;
  --sp-3xl: 8.125rem;

  --gutter: clamp(1rem, 4vw, 3rem);
  --measure: min(100% - 2 * var(--gutter), 44rem);
  --wide: min(100% - 2 * var(--gutter), 76rem);
  --section: clamp(4rem, 9vw, 9rem);
  --section-half: clamp(2rem, 4.5vw, 4.5rem);
  --header-h: 7.25rem;

  --r-control: 3px;
  --r-doc: 3px;
  --r-photo: 0;
  --hairline: 1px solid var(--line);
  --hairline-brass: 1px solid var(--brass-dim);
  --rule-brass: 1px solid var(--brass);
  --shadow-raise: 0 1px 0 rgba(255, 255, 255, 0.03) inset, 0 18px 40px -24px rgba(0, 0, 0, 0.8);
  --shadow-doc: 0 0 0 1px rgba(0, 0, 0, 0.4), 0 2px 4px rgba(0, 0, 0, 0.3), 0 40px 80px -40px rgba(0, 0, 0, 0.9);
  --shadow-float: 0 12px 34px -12px rgba(0, 0, 0, 0.75), 0 2px 6px rgba(0, 0, 0, 0.35);
  --shadow-photo: 0 40px 70px -40px rgba(0, 0, 0, 0.9);

  --dur-instant: 120ms;
  --dur-fast: 160ms;
  --dur-base: 200ms;
  --dur-slow: 420ms;
  --dur-fade: 700ms;
  --dur-stage: 900ms;
  --dur-ticker: 70s;
  --dur-ticker-short: 42s;
  --stagger: 80ms;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --ease-in: cubic-bezier(0.5, 0, 0.75, 0);
  --ease-set: cubic-bezier(0.2, 0.7, 0.1, 1);
  --ease-linear: linear;

  --z-base: 1;
  --z-stage: 5;
  --z-sticky: 10;
  --z-header: 70;
  --z-nav: 75;
  --z-chat: 80;
  --z-consent: 90;
  --z-skip: 100;

  --dock-offset: 0px;

  color-scheme: dark;
}

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

* {
  margin: 0;
}

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

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

body {
  min-height: 100vh;
  min-height: 100svh;
  background-color: var(--ground);
  background-image: radial-gradient(120% 70% at 50% 0%, rgba(30, 122, 87, 0.06), transparent 60%), radial-gradient(140% 90% at 50% 120%, rgba(0, 0, 0, 0.55), transparent 70%);
  background-attachment: fixed;
  color: var(--text);
  font-family: var(--malo-d05);
  font-size: var(--fs-body);
  font-weight: 400;
  line-height: var(--lh-body);
  font-kerning: normal;
  font-variant-numeric: lining-nums;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

body.is-locked {
  overflow: hidden;
}

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

img {
  height: auto;
  background-color: var(--ground-3);
}

img[src$=".svg"] {
  background-color: transparent;
}

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

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

a {
  color: var(--link);
  text-decoration-line: underline;
  text-decoration-color: var(--link-line);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.24em;
  transition: color var(--dur-fast) var(--ease-out), text-decoration-color var(--dur-fast) var(--ease-out), text-decoration-thickness var(--dur-fast) var(--ease-out);
}

a:hover {
  color: var(--emerald-hi);
  text-decoration-thickness: 2px;
}

a:active {
  color: var(--paper-bright);
}

p,
li,
dd,
dt,
td,
th,
figcaption,
blockquote,
address {
  overflow-wrap: break-word;
}

address {
  font-style: normal;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--malo-780);
  font-stretch: var(--display-wdth);
  font-variation-settings: "wdth" 82;
  font-weight: 700;
  line-height: var(--lh-head);
  letter-spacing: var(--track-head);
  text-wrap: balance;
  overflow-wrap: break-word;
  color: var(--paper-bright);
}

h1 {
  font-size: var(--fs-h1);
  font-weight: var(--display-weight);
  line-height: var(--lh-tight);
  letter-spacing: var(--track-display);
}

h2 {
  font-size: var(--fs-h2);
  font-weight: var(--display-weight);
  line-height: 1;
  letter-spacing: var(--track-display);
}

h3 {
  font-size: var(--fs-h3);
  font-weight: 750;
  line-height: var(--lh-snug);
}

h4 {
  font-size: var(--fs-h4);
  line-height: 1.1;
}

h5 {
  font-size: var(--fs-h5);
  font-weight: 650;
  letter-spacing: 0;
}

h6 {
  font-family: var(--malo-1ab);
  font-stretch: normal;
  font-variation-settings: normal;
  font-size: var(--fs-mono);
  font-weight: 500;
  letter-spacing: var(--track-caps);
  text-transform: uppercase;
  color: var(--grey);
}

p {
  text-wrap: pretty;
}

strong,
b {
  font-weight: 600;
  color: var(--paper-bright);
}

em,
i {
  font-style: italic;
}

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

code,
kbd,
samp,
pre {
  font-family: var(--malo-1ab);
  font-size: 0.86em;
}

code {
  padding: 0.08em 0.35em;
  border: var(--hairline);
  border-radius: var(--r-control);
  background: var(--ground-2);
}

pre {
  overflow-x: auto;
  max-width: 100%;
}

hr {
  border: 0;
  border-top: var(--hairline);
  margin-block: var(--sp-l);
}

table {
  border-collapse: collapse;
  width: 100%;
  font-variant-numeric: tabular-nums;
}

abbr[title] {
  text-decoration: underline dotted;
  cursor: help;
}

::selection {
  background: var(--emerald);
  color: var(--paper-bright);
}

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

[hidden] {
  display: none !important;
}

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

.icon--sm {
  width: 0.95em;
  height: 0.95em;
}

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

.lead {
  font-size: var(--fs-lead);
  line-height: 1.45;
  max-width: 40ch;
  color: var(--paper);
}

.kicker,
.meta,
.mono {
  font-family: var(--malo-1ab);
  font-size: var(--fs-mono);
  font-weight: 400;
  letter-spacing: var(--track-mono);
  line-height: 1.5;
  font-variant-numeric: tabular-nums slashed-zero;
}

.kicker {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75em;
  font-weight: 500;
  font-size: var(--fs-mono-xs);
  text-transform: uppercase;
  letter-spacing: var(--track-caps);
  color: var(--grey);
}

.kicker::before {
  content: "";
  width: 2.25rem;
  height: 1px;
  background: var(--brass);
  flex: none;
}

.kicker--plain::before {
  display: none;
}

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

.accent {
  color: var(--emerald-hi);
}

.display {
  font-family: var(--malo-780);
  font-stretch: var(--display-wdth);
  font-variation-settings: "wdth" 82;
  font-weight: var(--display-weight);
  line-height: var(--lh-tight);
  letter-spacing: var(--track-display);
}

.giant {
  font-family: var(--malo-780);
  font-stretch: 75%;
  font-variation-settings: "wdth" 75;
  font-size: var(--fs-giant);
  font-weight: 900;
  line-height: 0.86;
  letter-spacing: -0.03em;
}

.num {
  font-family: var(--malo-1ab);
  font-variant-numeric: tabular-nums slashed-zero;
}

.prose {
  max-width: var(--measure-ch);
  hanging-punctuation: first last;
}

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

.prose h2 {
  font-size: var(--fs-h3);
  margin-top: 1.9em;
}

.prose h3 {
  font-size: var(--fs-h4);
  margin-top: 1.7em;
}

.prose h4 {
  font-size: var(--fs-h5);
  margin-top: 1.5em;
}

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

.prose p,
.prose li {
  color: var(--paper);
}

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

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

.prose ul {
  list-style: none;
  padding-left: 0;
}

.prose ul > li {
  position: relative;
  padding-left: 1.7em;
}

.prose ul > li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.8em;
  width: 0.95em;
  height: 1px;
  background: var(--brass);
}

.prose ol > li::marker {
  font-family: var(--malo-1ab);
  font-size: 0.8em;
  color: var(--emerald-hi);
}

.prose blockquote {
  border-left: 1px solid var(--brass);
  padding: 0.1em 0 0.1em 1.2em;
  font-family: var(--malo-780);
  font-stretch: var(--display-wdth);
  font-size: var(--fs-h5);
  font-weight: 700;
  line-height: 1.3;
  color: var(--paper-bright);
}

.prose dl {
  display: grid;
  grid-template-columns: minmax(0, 12em) minmax(0, 1fr);
  gap: 0.7em 1.5em;
}

.prose dt {
  font-family: var(--malo-1ab);
  font-size: var(--fs-mono);
  padding-top: 0.25em;
  color: var(--grey);
  text-transform: uppercase;
  letter-spacing: var(--track-mono);
}

@media (max-width: 560px) {
  .prose dl {
    grid-template-columns: minmax(0, 1fr);
    gap: 0.2em;
  }

  .prose dd + dt {
    margin-top: 0.9em;
  }
}

.measure {
  width: var(--measure);
  margin-inline: auto;
}

.wide {
  width: var(--wide);
  margin-inline: auto;
}

.bleed {
  width: 100%;
  margin-inline: 0;
}

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

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

.section--ruled {
  border-top: var(--hairline);
}

.stack > * + * {
  margin-top: var(--stack-gap, var(--sp-m));
}

.stack--tight {
  --stack-gap: var(--sp-xs);
}

.stack--loose {
  --stack-gap: var(--sp-l);
}

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

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

.grid {
  display: grid;
  gap: var(--grid-gap, var(--sp-l));
  grid-template-columns: repeat(auto-fit, minmax(min(100%, var(--grid-min, 17rem)), 1fr));
}

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

.split {
  display: grid;
  gap: var(--sp-xl) var(--sp-2xl);
  grid-template-columns: minmax(0, 1fr);
  align-items: start;
}

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

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

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

.ground--2 {
  background-color: var(--ground-2);
}

.ground--3 {
  background-color: var(--ground-3);
}

.rule {
  display: block;
  height: 0;
  border: 0;
  border-top: var(--hairline);
  margin: 0;
}

.rule--brass {
  border-top: var(--rule-brass);
}

.photo {
  position: relative;
  border-radius: var(--r-photo);
  overflow: hidden;
  background: var(--ground-3);
}

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

.caption {
  font-family: var(--malo-1ab);
  font-size: var(--fs-mono-xs);
  letter-spacing: var(--track-mono);
  color: var(--grey);
  padding-top: var(--sp-xs);
  line-height: 1.55;
}

.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;
}

.hp {
  position: absolute !important;
  left: -10000px !important;
  top: auto !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }

  :root {
    --dur-instant: 0ms;
    --dur-fast: 0ms;
    --dur-base: 0ms;
    --dur-slow: 0ms;
    --dur-fade: 0ms;
    --dur-stage: 0ms;
    --stagger: 0ms;
  }

  html {
    scroll-snap-type: none !important;
  }
}

@media print {
  .masthead,
  .consent,
  .chat-launcher,
  .chat-panel,
  .skip-link,
  .ticker {
    display: none !important;
  }

  body {
    background: #fff;
    color: #000;
  }

  h1,
  h2,
  h3,
  h4,
  h5,
  p,
  li {
    color: #000;
  }
}
