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

:root {
  --ink: #17140F;
  --ink-soft: #5B554A;
  --paper: #FAF6EE;
  --paper-dim: #EFE7D6;
  --line: #DBD0BA;
  --accent: #B5602A;
  --accent-ink: #6E3714;

  --ink-90: rgba(23, 20, 15, 0.9);
  --ink-70: rgba(23, 20, 15, 0.7);
  --ink-28: rgba(23, 20, 15, 0.28);
  --ink-12: rgba(23, 20, 15, 0.12);
  --ink-06: rgba(23, 20, 15, 0.06);
  --paper-70: rgba(250, 246, 238, 0.72);
  --accent-12: rgba(181, 96, 42, 0.12);
  --accent-24: rgba(181, 96, 42, 0.24);

  --font-display: "Fraunces", "Iowan Old Style", Georgia, serif;
  --font-body: "Public Sans", "Helvetica Neue", Arial, sans-serif;
  --font-mono: "IBM Plex Mono", "SFMono-Regular", Consolas, monospace;

  --step--2: clamp(0.72rem, 0.705rem + 0.07vw, 0.775rem);
  --step--1: clamp(0.8rem, 0.78rem + 0.1vw, 0.875rem);
  --step-0: clamp(1rem, 0.97rem + 0.15vw, 1.075rem);
  --step-1: clamp(1.125rem, 1.07rem + 0.3vw, 1.325rem);
  --step-2: clamp(1.3rem, 1.19rem + 0.55vw, 1.72rem);
  --step-3: clamp(1.55rem, 1.32rem + 1.05vw, 2.28rem);
  --step-4: clamp(1.85rem, 1.42rem + 1.95vw, 3.05rem);
  --step-5: clamp(2.15rem, 1.48rem + 3.1vw, 4.15rem);
  --step-6: clamp(2.45rem, 1.38rem + 4.9vw, 5.75rem);

  --s1: 0.375rem;
  --s2: 0.625rem;
  --s3: 0.875rem;
  --s4: 1.25rem;
  --s5: 1.75rem;
  --s6: 2.375rem;
  --s7: 3.25rem;
  --s8: 4.5rem;
  --s9: 6rem;
  --section: clamp(64px, 9vw, 132px);
  --section-tight: clamp(44px, 6vw, 84px);

  --shell: 1240px;
  --gutter: clamp(20px, 5vw, 64px);
  --measure: 68ch;
  --measure-tight: 54ch;
  --radius: 6px;
  --radius-sm: 4px;
  --frame-pad: clamp(7px, 1.3vw, 17px);
  --frame-border: 2px;
  --strip-h: clamp(78px, 11vw, 104px);
  --sticky-top: calc(var(--strip-h) + var(--frame-pad));
  --hair: 1px solid var(--line);
  --hair-ink: 1px solid var(--ink-28);
  --lift: 0 1px 0 var(--line), 0 14px 34px -26px rgba(23, 20, 15, 0.5);
  --lift-strong: 0 1px 0 var(--ink-28), 0 26px 60px -34px rgba(23, 20, 15, 0.62);

  --dur-1: 140ms;
  --dur-2: 240ms;
  --dur-3: 420ms;
  --dur-4: 720ms;
  --ease-out: cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-in: cubic-bezier(0.55, 0.09, 0.68, 0.53);
  --ease-soft: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-snap: cubic-bezier(0.16, 0.84, 0.24, 1);
}

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

* {
  margin: 0;
}

html {
  overflow-x: clip;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--sticky-top) + var(--s4));
  background: var(--ink);
}

html.js {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  overflow-x: clip;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--step-0);
  font-weight: 400;
  line-height: 1.62;
  letter-spacing: 0.004em;
  font-feature-settings: "kern" 1, "liga" 1;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  padding: var(--frame-pad);
}

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

img {
  height: auto;
  background: var(--paper-dim);
}

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

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

ul[class],
ol[class] {
  list-style: none;
  padding: 0;
}

h1,
h2,
h3,
h4,
h5 {
  font-family: var(--font-display);
  font-weight: 600;
  font-variation-settings: "SOFT" 0, "WONK" 0;
  line-height: 1.08;
  letter-spacing: -0.018em;
  text-wrap: balance;
  overflow-wrap: break-word;
  color: var(--ink);
}

h1 {
  font-size: var(--step-5);
  letter-spacing: -0.026em;
}

h2 {
  font-size: var(--step-4);
  letter-spacing: -0.022em;
}

h3 {
  font-size: var(--step-2);
  line-height: 1.16;
}

h4 {
  font-size: var(--step-1);
  line-height: 1.24;
  letter-spacing: -0.01em;
}

h5 {
  font-family: var(--font-body);
  font-size: var(--step--1);
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

p,
li,
dd,
dt,
figcaption,
label {
  overflow-wrap: break-word;
}

a {
  color: var(--ink);
  text-decoration-color: var(--accent-24);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.22em;
  transition: color var(--dur-1) var(--ease-out), text-decoration-color var(--dur-1) var(--ease-out);
}

a:hover {
  color: var(--accent-ink);
  text-decoration-color: var(--accent);
}

strong,
b {
  font-weight: 600;
}

em {
  font-style: italic;
}

small {
  font-size: var(--step--1);
}

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

blockquote {
  margin: 0;
}

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

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

.skip {
  position: fixed;
  top: calc(var(--frame-pad) + 6px);
  left: 50%;
  z-index: 400;
  transform: translate(-50%, calc(-100% - 20px));
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 0.6rem 1.15rem;
  background: var(--ink);
  color: var(--paper);
  font-size: var(--step--1);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: var(--radius);
  transition: transform var(--dur-2) var(--ease-snap);
}

.skip:focus-visible {
  transform: translate(-50%, 0);
  color: var(--paper);
  outline-offset: 2px;
}

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

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

.shell--wide {
  max-width: 1420px;
}

.shell--narrow {
  max-width: 880px;
}

.stack > * + * {
  margin-top: var(--s4);
}

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

.stack-l > * + * {
  margin-top: var(--s6);
}

.grid {
  display: grid;
  gap: var(--s5);
}

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

.cols-2 {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 20rem), 1fr));
}

.cols-3 {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 15.5rem), 1fr));
}

.cols-4 {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 13rem), 1fr));
}

.split {
  display: grid;
  gap: clamp(var(--s5), 4vw, var(--s8));
  grid-template-columns: 1fr;
}

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

@media (min-width: 62rem) {
  .split {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
    align-items: start;
  }
  .split--text-right {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  }
  .split--index {
    grid-template-columns: minmax(0, 15rem) minmax(0, 1fr);
  }
}

.flex {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s3);
}

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

.between {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s4);
  align-items: baseline;
  justify-content: space-between;
}

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

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

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

.eyebrow {
  display: block;
  font-family: var(--font-mono);
  font-size: var(--step--2);
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-ink);
}

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

.lede {
  font-size: var(--step-1);
  line-height: 1.5;
  color: var(--ink-90);
  letter-spacing: -0.004em;
  max-width: 40ch;
}

.meta {
  font-family: var(--font-mono);
  font-size: var(--step--1);
  font-weight: 400;
  letter-spacing: 0.02em;
  color: var(--ink-soft);
}

.mono {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.01em;
}

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

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

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

.rule--ink {
  border-top: 2px solid var(--ink);
}

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

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

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

.section + .section {
  border-top: var(--hair);
}

.prose {
  max-width: var(--measure);
  font-size: var(--step-0);
  line-height: 1.72;
  hanging-punctuation: first last;
}

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

.prose h2 {
  font-size: var(--step-3);
  margin-top: 2.1em;
  line-height: 1.12;
}

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

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

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

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

.prose li::marker {
  color: var(--accent);
}

.prose a {
  text-decoration-line: underline;
}

.prose strong {
  color: var(--ink);
}

.prose dt {
  font-weight: 600;
  margin-top: 1em;
}

.prose dd {
  margin: 0.25em 0 0;
  color: var(--ink-90);
}

.prose code,
.prose kbd {
  font-family: var(--font-mono);
  font-size: 0.9em;
  background: var(--paper-dim);
  border: var(--hair);
  border-radius: var(--radius-sm);
  padding: 0.1em 0.35em;
}

.prose blockquote {
  border-left: 2px solid var(--accent);
  padding-left: var(--s4);
  font-family: var(--font-display);
  font-style: italic;
  font-size: var(--step-1);
  line-height: 1.4;
}

.prose figure {
  margin-block: var(--s5);
}

.scroll-x {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
}

.icon {
  width: 1.15em;
  height: 1.15em;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.icon--lg {
  width: 1.8rem;
  height: 1.8rem;
  stroke-width: 1.35;
}

.icon--xl {
  width: 2.4rem;
  height: 2.4rem;
  stroke-width: 1.2;
}

.icon--solid {
  fill: currentColor;
  stroke: none;
}

.no-js-hide {
  display: none;
}

html.js .no-js-only {
  display: none;
}

@media (prefers-reduced-motion: reduce) {
  html.js {
    scroll-behavior: auto;
  }
  html,
  body {
    scroll-snap-type: none !important;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .pin-scene,
  .pin-stage,
  .pin-card {
    position: static !important;
    opacity: 1 !important;
    transform: none !important;
    height: auto !important;
  }
}
