@import url("https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,300;9..144,600;9..144,900&family=Karla:wght@400;500;600&family=Space+Mono:wght@400;700&display=swap");

:root {
  --ink: #1b1613;
  --surface: #241d19;
  --surface-raised: #2e241f;
  --stone: #bcb1a7;
  --warm-white: #f3ece4;
  --blush: #d8b4a6;
  --clay: #b3654a;

  --ink-deep: #150f0d;
  --ink-veil: rgba(21, 15, 13, 0.82);
  --stone-dim: rgba(168, 156, 145, 0.42);
  --stone-faint: rgba(138, 125, 114, 0.18);
  --hairline: rgba(138, 125, 114, 0.26);
  --hairline-strong: rgba(138, 125, 114, 0.48);
  --blush-veil: rgba(216, 180, 166, 0.14);
  --blush-line: rgba(216, 180, 166, 0.34);
  --clay-deep: #8f4a33;
  --clay-lift: #c8775a;
  --clay-veil: rgba(179, 101, 74, 0.16);
  --warm-dim: rgba(243, 236, 228, 0.72);
  --warm-faint: rgba(243, 236, 228, 0.5);
  --paper: #efe6dc;
  --paper-ink: #2a211c;

  --font-display: "Fraunces", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --font-body: "Karla", "Helvetica Neue", Arial, sans-serif;
  --font-mono: "Space Mono", "IBM Plex Mono", "Courier New", monospace;

  --step--2: clamp(0.688rem, 0.66rem + 0.14vw, 0.766rem);
  --step--1: clamp(0.8rem, 0.77rem + 0.17vw, 0.891rem);
  --step-0: clamp(0.968rem, 0.94rem + 0.2vw, 1.063rem);
  --step-1: clamp(1.1rem, 1.03rem + 0.42vw, 1.336rem);
  --step-2: clamp(1.28rem, 1.15rem + 0.72vw, 1.68rem);
  --step-3: clamp(1.5rem, 1.27rem + 1.16vw, 2.11rem);
  --step-4: clamp(1.76rem, 1.36rem + 1.94vw, 2.86rem);
  --step-5: clamp(2.02rem, 1.4rem + 3.02vw, 3.72rem);
  --step-6: clamp(2.26rem, 1.32rem + 4.6vw, 4.84rem);

  --lh-tight: 1.04;
  --lh-snug: 1.16;
  --lh-body: 1.62;
  --lh-loose: 1.74;

  --track-display: -0.018em;
  --track-caps: 0.16em;
  --track-mono: 0.02em;

  --s-1: 0.375rem;
  --s-2: 0.625rem;
  --s-3: 0.875rem;
  --s-4: 1.375rem;
  --s-5: 2.125rem;
  --s-6: 3.25rem;
  --s-7: 4.875rem;
  --s-8: 7.375rem;

  --gutter: clamp(20px, 5vw, 64px);
  --shell: 1200px;
  --shell-narrow: 880px;
  --measure: 68ch;
  --section: clamp(64px, 9vw, 140px);
  --section-tight: clamp(44px, 6vw, 92px);

  --radius: 4px;
  --radius-lg: 6px;
  --border: 1px solid var(--hairline);

  --shadow-lift: 0 1px 0 rgba(243, 236, 228, 0.04), 0 18px 40px -24px rgba(0, 0, 0, 0.9);
  --shadow-hard: 22px 26px 0 rgba(21, 15, 13, 0.55);
  --shadow-panel: 0 40px 90px -40px rgba(0, 0, 0, 0.95);

  --dur-1: 140ms;
  --dur-2: 280ms;
  --dur-3: 520ms;
  --dur-4: 880ms;
  --ease-quiet: cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-soft: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-draw: cubic-bezier(0.65, 0.02, 0.29, 1);
  --ease-out-back: cubic-bezier(0.18, 0.89, 0.32, 1.14);

  --tap: 44px;
  --header-h: 4.75rem;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 7rem;
}

body {
  margin: 0;
  background-color: var(--ink);
  color: var(--warm-white);
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: var(--lh-body);
  font-weight: 400;
  font-feature-settings: "kern" 1, "liga" 1;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(120% 70% at 82% -8%, rgba(179, 101, 74, 0.13), transparent 62%),
    radial-gradient(90% 60% at 6% 4%, rgba(216, 180, 166, 0.07), transparent 60%);
}

body > * {
  position: relative;
  z-index: 1;
}

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

ul,
ol {
  padding-left: 1.15rem;
}

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

img {
  height: auto;
  border-style: none;
  background-color: var(--surface);
}

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

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

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

hr {
  height: 0;
  border: 0;
  border-top: 1px solid var(--hairline);
  margin: var(--s-6) 0;
}

a {
  color: var(--blush);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.22em;
  text-decoration-color: var(--blush-line);
  transition: color var(--dur-1) var(--ease-quiet), text-decoration-color var(--dur-1) var(--ease-quiet);
}

a:hover {
  color: var(--clay-lift);
  text-decoration-color: currentColor;
}

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

::selection {
  background: var(--clay);
  color: var(--warm-white);
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: var(--track-display);
  line-height: var(--lh-snug);
  color: var(--warm-white);
  overflow-wrap: break-word;
}

h1 {
  font-size: var(--step-5);
  font-weight: 300;
  line-height: var(--lh-tight);
  font-variation-settings: "opsz" 120, "wght" 300;
}

h2 {
  font-size: var(--step-4);
  font-weight: 300;
  line-height: 1.08;
  font-variation-settings: "opsz" 96, "wght" 300;
}

h3 {
  font-size: var(--step-2);
  font-variation-settings: "opsz" 42, "wght" 600;
}

h4 {
  font-size: var(--step-1);
  font-variation-settings: "opsz" 24, "wght" 600;
}

h5 {
  font-family: var(--font-mono);
  font-size: var(--step--2);
  font-weight: 700;
  letter-spacing: var(--track-caps);
  text-transform: uppercase;
  color: var(--blush);
}

strong,
b {
  font-weight: 600;
  color: var(--warm-white);
}

em {
  font-style: italic;
}

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

code,
kbd,
samp,
pre {
  font-family: var(--font-mono);
  font-size: 0.92em;
}

pre {
  background: var(--surface);
  border: var(--border);
  border-left: 3px solid var(--clay);
  border-radius: var(--radius);
  padding: var(--s-4);
  overflow-x: auto;
  max-width: 100%;
  color: var(--blush);
  line-height: 1.66;
}

blockquote {
  font-family: var(--font-display);
  font-size: var(--step-2);
  font-weight: 300;
  font-variation-settings: "opsz" 72, "wght" 300;
  line-height: 1.34;
  padding-left: var(--s-4);
  border-left: 2px solid var(--clay);
}

.mono {
  font-family: var(--font-mono);
  letter-spacing: var(--track-mono);
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: var(--step--2);
  font-weight: 700;
  letter-spacing: var(--track-caps);
  text-transform: uppercase;
  color: var(--clay-lift);
  display: flex;
  align-items: center;
  gap: var(--s-3);
  margin-bottom: var(--s-3);
}

.eyebrow::before {
  content: "";
  width: clamp(18px, 4vw, 40px);
  height: 1px;
  background: var(--clay);
  flex: none;
}

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

.display-alt {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 300;
  font-variation-settings: "opsz" 144, "wght" 300;
}

.lede {
  font-size: var(--step-1);
  line-height: 1.5;
  color: var(--warm-dim);
  max-width: 46ch;
}

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

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

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

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

.section + .section {
  border-top: 1px solid var(--stone-faint);
}

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

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

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

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

.measure-short {
  max-width: 52ch;
}

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

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

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

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

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

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

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

.split {
  display: grid;
  gap: clamp(var(--s-5), 5vw, var(--s-7));
  align-items: start;
}

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

@media (min-width: 62rem) {
  .split {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  }

  .split--wide-left {
    grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr);
  }

  .split--wide-right {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.45fr);
  }
}

.rule {
  height: 1px;
  border: 0;
  background: linear-gradient(90deg, var(--hairline-strong), var(--stone-faint) 62%, transparent);
  margin: 0;
}

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

.prose p,
.prose li {
  color: var(--warm-dim);
  line-height: var(--lh-loose);
  max-width: var(--measure);
}

.prose h2 {
  margin-top: var(--s-6);
  font-size: var(--step-3);
}

.prose h3 {
  margin-top: var(--s-5);
  font-size: var(--step-1);
  color: var(--blush);
}

.prose h2 + p,
.prose h3 + p {
  margin-top: var(--s-3);
}

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

.prose li + li {
  margin-top: var(--s-2);
}

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

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

.prose a {
  color: var(--clay-lift);
}

.prose-hang p:first-of-type {
  text-indent: 0;
  hanging-punctuation: first last;
}

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

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

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

.icon--xl {
  width: 2.1rem;
  height: 2.1rem;
  stroke-width: 1.2;
  color: var(--clay-lift);
}

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

.skip-link {
  position: absolute;
  left: var(--s-3);
  top: var(--s-3);
  z-index: 200;
  transform: translateY(-260%);
  background: var(--clay);
  color: var(--warm-white);
  font-family: var(--font-mono);
  font-size: var(--step--1);
  letter-spacing: 0.04em;
  padding: 0.75rem 1.15rem;
  min-height: var(--tap);
  display: inline-flex;
  align-items: center;
  border-radius: var(--radius);
  text-decoration: none;
  transition: transform var(--dur-2) var(--ease-out-back);
}

.skip-link:focus {
  transform: translateY(0);
  color: var(--warm-white);
}

.figure-caption,
figcaption {
  font-family: var(--font-mono);
  font-size: var(--step--2);
  letter-spacing: 0.03em;
  line-height: 1.5;
  color: var(--stone);
  margin-top: var(--s-3);
  padding-left: var(--s-3);
  border-left: 1px solid var(--clay);
  max-width: 44ch;
}

.frame {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--surface);
}

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

.frame--tall {
  aspect-ratio: 4 / 5;
}

.frame--wide {
  aspect-ratio: 16 / 10;
}

.frame--square {
  aspect-ratio: 1 / 1;
}

.frame--edge::after {
  content: "";
  position: absolute;
  inset: 0;
  box-shadow: inset 0 0 0 1px var(--hairline);
  border-radius: inherit;
  pointer-events: none;
}

.frame:has(figcaption) {
  aspect-ratio: auto;
  overflow: visible;
  display: block;
}

.frame:has(figcaption) picture,
.frame:has(figcaption) > img {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: var(--radius);
}

.frame:has(figcaption) picture img,
.frame:has(figcaption) > img {
  aspect-ratio: inherit;
}

.frame--tall:has(figcaption) picture,
.frame--tall:has(figcaption) > img { aspect-ratio: 4 / 5; }

.frame--wide:has(figcaption) picture,
.frame--wide:has(figcaption) > img { aspect-ratio: 16 / 10; }

.frame--square:has(figcaption) picture,
.frame--square:has(figcaption) > img { aspect-ratio: 1 / 1; }

.frame:has(figcaption) figcaption {
  position: relative;
  z-index: 1;
}

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

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

.text-clay {
  color: var(--clay-lift);
}

.center {
  text-align: center;
}

.nowrap {
  white-space: nowrap;
}

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

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

[hidden] {
  display: none !important;
}

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