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

:root {
  --paper: #F4EBDC;
  --paper-deep: #EFE3CF;
  --oat: #E7D9C1;
  --ink: #2A221E;
  --ink-soft: #5A4C43;
  --clay: #B9825C;
  --terracotta: #97472C;
  --terracotta-deep: #7C3922;
  --rule: #CBB79A;
  --rule-strong: #A99273;
  --rust: #9A3814;
  --rust-deep: #963513;
  --on-dark: #F4EBDC;
  --on-dark-soft: #E4CDB4;
  --error: #9E2B12;
  --ok: #4F5B2A;

  --wuro-22a: "Fraunces", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --wuro-d6f: "Alegreya Sans", "Gill Sans", "Trebuchet MS", "Segoe UI", sans-serif;
  --wuro-ac1: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;

  --fs-hero: clamp(2.1rem, 7.2vw, 6.4rem);
  --fs-h1: clamp(2rem, 5.4vw, 4.4rem);
  --fs-h2: clamp(1.6rem, 4vw, 3rem);
  --fs-h3: clamp(1.25rem, 2.1vw, 1.75rem);
  --fs-h4: clamp(1.0625rem, 1.3vw, 1.25rem);
  --fs-lede: clamp(1.1875rem, 1.05rem + 0.6vw, 1.5rem);
  --fs-body: clamp(1.0625rem, 0.99rem + 0.3vw, 1.1875rem);
  --fs-small: 0.9375rem;
  --fs-meta: 0.75rem;
  --fs-numeral: clamp(3.5rem, 11vw, 10rem);

  --lh-tight: 1.02;
  --lh-head: 1.1;
  --lh-body: 1.58;
  --track-display: -0.02em;
  --track-hero: -0.028em;
  --track-meta: 0.12em;

  --s-1: 4px;
  --s-2: 8px;
  --s-3: 12px;
  --s-4: 16px;
  --s-5: 24px;
  --s-6: 32px;
  --s-7: 40px;
  --s-8: 56px;
  --s-9: 72px;
  --s-10: 96px;
  --section-y: clamp(64px, 9vw, 128px);
  --gutter: clamp(16px, 4vw, 48px);
  --shell: 1240px;
  --measure: 66ch;
  --measure-wide: 78ch;

  --frame: 10px;
  --frame-gap: 6px;
  --strip-h: 36px;
  --nav-h: 72px;
  --navrow-h: 0px;
  --header-h: calc(var(--strip-h) + var(--nav-h) + var(--navrow-h));
  --radius: 0;
  --hair: 1px solid var(--rule);
  --hair-ink: 1px solid var(--ink);

  --shadow-plate: 0 1px 0 var(--rule), 0 18px 40px -24px rgba(42, 34, 30, 0.45);
  --shadow-lift: 0 10px 24px -14px rgba(42, 34, 30, 0.55);
  --shadow-press: inset 0 2px 0 rgba(42, 34, 30, 0.25);

  --dur-instant: 90ms;
  --dur-fast: 160ms;
  --dur-base: 240ms;
  --dur-slow: 480ms;
  --dur-stamp: 720ms;
  --dur-tab: 420ms;
  --ease-out: cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --ease-press: cubic-bezier(0.34, 1.4, 0.64, 1);
  --ease-ink: cubic-bezier(0.7, 0, 0.2, 1);

  --z-base: 1;
  --z-header: 50;
  --z-nav: 60;
  --z-frame: 70;
  --z-consent: 80;
  --z-chat: 90;
  --z-skip: 100;

  --consent-h: 0px;

  color-scheme: light;
}

@media (min-width: 1100px) {
  :root {
    --navrow-h: 50px;
  }
}

@media (max-width: 599px) {
  :root {
    --frame: 6px;
    --frame-gap: 4px;
    --strip-h: 32px;
    --nav-h: 64px;
  }
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  overflow-x: clip;
  scroll-padding-top: calc(var(--header-h) + var(--frame) + 16px);
}

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

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

body {
  min-height: 100vh;
  min-height: 100dvh;
  padding: var(--frame);
  background: var(--paper);
  color: var(--ink);
  font-family: var(--wuro-d6f);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  font-weight: 400;
  font-kerning: normal;
  font-variant-ligatures: common-ligatures;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}

body::before,
body::after {
  content: "";
  position: fixed;
  pointer-events: none;
  z-index: var(--z-frame);
}

body::before {
  inset: 0;
  border: var(--frame) solid var(--ink);
}

body::after {
  inset: calc(var(--frame) + var(--frame-gap));
  border: 1px solid var(--rule);
  opacity: 0.85;
  z-index: 40;
}

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

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

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

button {
  cursor: pointer;
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

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

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

hr {
  border: 0;
  border-top: var(--hair);
  margin: 0;
}

table {
  border-collapse: collapse;
  width: 100%;
}

h1, h2, h3, h4 {
  font-family: var(--wuro-22a);
  font-optical-sizing: auto;
  font-weight: 600;
  line-height: var(--lh-head);
  letter-spacing: var(--track-display);
  color: var(--ink);
  text-wrap: balance;
  overflow-wrap: break-word;
  hyphens: manual;
}

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

h2 {
  font-size: var(--fs-h2);
  line-height: 1.06;
}

h3 {
  font-size: var(--fs-h3);
  line-height: 1.15;
  letter-spacing: -0.012em;
}

h4 {
  font-size: var(--fs-h4);
  letter-spacing: -0.005em;
}

h1 em, h2 em, h3 em {
  font-style: italic;
  font-weight: 400;
  color: var(--terracotta);
}

p {
  text-wrap: pretty;
  hanging-punctuation: first last;
}

strong, b {
  font-weight: 700;
}

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

code, kbd, samp {
  font-family: var(--wuro-ac1);
  font-size: 0.88em;
  background: var(--oat);
  padding: 0.05em 0.35em;
}

.display {
  font-family: var(--wuro-22a);
  font-size: var(--fs-hero);
  line-height: 0.98;
  letter-spacing: var(--track-hero);
  font-weight: 600;
}

.lede {
  font-size: var(--fs-lede);
  line-height: 1.45;
  color: var(--ink);
  max-width: 44ch;
}

.meta,
.kicker,
.mono {
  font-family: var(--wuro-ac1);
  font-weight: 500;
}

.meta,
.kicker {
  font-size: var(--fs-meta);
  letter-spacing: var(--track-meta);
  text-transform: uppercase;
  line-height: 1.5;
  color: var(--ink-soft);
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.75em;
  color: var(--ink);
}

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

.soft {
  color: var(--ink-soft);
}

.accent {
  color: var(--rust);
}

.shell {
  width: 100%;
  max-width: calc(var(--shell) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.shell--narrow {
  max-width: calc(860px + var(--gutter) * 2);
}

.section {
  padding-block: var(--section-y);
  border-top: var(--hair);
  position: relative;
}

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

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

.section--ink h2,
.section--ink h3 {
  color: var(--on-dark);
}

.section--flush {
  padding-block: 0;
}

.stack > * + * {
  margin-top: var(--stack, var(--s-4));
}

.stack--lg {
  --stack: var(--s-6);
}

.stack--sm {
  --stack: var(--s-2);
}

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

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

.grid {
  display: grid;
  gap: var(--grid-gap, var(--s-6));
}

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

.grid-2 {
  display: grid;
  gap: var(--grid-gap, var(--s-6));
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 22rem), 1fr));
}

.grid-3 {
  display: grid;
  gap: var(--grid-gap, var(--s-6));
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr));
}

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

.split {
  display: grid;
  gap: var(--s-7) var(--s-8);
  grid-template-columns: minmax(0, 1fr);
}

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

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

.center {
  text-align: center;
  margin-inline: auto;
}

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

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

.prose h2 {
  margin-top: 2.2em;
  font-size: clamp(1.5rem, 3vw, 2.25rem);
}

.prose h3 {
  margin-top: 1.8em;
}

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

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

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

.prose li::marker {
  color: var(--rust);
  font-family: var(--wuro-ac1);
  font-size: 0.85em;
}

.prose a {
  color: var(--ink);
  text-decoration-color: var(--rust);
  text-decoration-thickness: 1px;
  transition: text-decoration-thickness var(--dur-fast) var(--ease-out), color var(--dur-fast) var(--ease-out);
}

.prose a:hover {
  color: var(--rust-deep);
  text-decoration-thickness: 2px;
}

.prose blockquote {
  border-left: 2px solid var(--rust);
  padding-left: 1.1em;
  font-family: var(--wuro-22a);
  font-style: italic;
  font-size: 1.2em;
  line-height: 1.4;
}

.prose blockquote p:first-child {
  text-indent: -0.42em;
}

.prose table {
  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(--wuro-ac1);
  font-weight: 500;
  font-size: var(--fs-meta);
  letter-spacing: var(--track-meta);
  text-transform: uppercase;
  color: var(--ink-soft);
}

.nuni655 {
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-top: var(--hair-ink);
}

.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;
  white-space: nowrap !important;
  border: 0 !important;
}

[hidden] {
  display: none !important;
}

.icon {
  width: 1.1em;
  height: 1.1em;
  flex: none;
  display: inline-block;
  vertical-align: -0.15em;
  stroke: currentColor;
  fill: none;
}

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

@media (prefers-reduced-motion: reduce) {
  :root {
    --dur-instant: 0ms;
    --dur-fast: 0ms;
    --dur-base: 0ms;
    --dur-slow: 0ms;
    --dur-stamp: 0ms;
    --dur-tab: 0ms;
  }
  html {
    scroll-behavior: auto !important;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

@media print {
  body::before,
  body::after {
    display: none;
  }
  body {
    padding: 0;
    background: #fff;
  }
}
