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

:root {
  --cream: #F3ECDD;
  --ink: #241812;
  --oxblood: #7A1F2B;
  --oxblood-dark: #5B141E;
  --gold: #B98A3D;
  --brown: #4A3527;
  --paper-alt: #E8DEC7;

  --ink-70: rgba(36, 24, 18, 0.7);
  --ink-55: rgba(36, 24, 18, 0.72);
  --ink-12: rgba(36, 24, 18, 0.12);
  --rule: rgba(74, 53, 39, 0.3);
  --rule-strong: rgba(74, 53, 39, 0.55);
  --rule-gold: var(--gold);
  --cream-70: rgba(243, 236, 221, 0.72);
  --cream-40: rgba(243, 236, 221, 0.4);

  --font-display: "Fraunces", "Iowan Old Style", "Hoefler Text", Georgia, serif;
  --font-body: "Source Sans 3", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --font-mono: "JetBrains Mono", "SFMono-Regular", Menlo, Consolas, monospace;

  --step--2: clamp(0.688rem, 0.67rem + 0.09vw, 0.75rem);
  --step--1: clamp(0.813rem, 0.79rem + 0.12vw, 0.875rem);
  --step-0: clamp(1rem, 0.97rem + 0.16vw, 1.075rem);
  --step-1: clamp(1.125rem, 1.07rem + 0.3vw, 1.32rem);
  --step-2: clamp(1.32rem, 1.22rem + 0.5vw, 1.65rem);
  --step-3: clamp(1.55rem, 1.36rem + 0.9vw, 2.15rem);
  --step-4: clamp(1.85rem, 1.5rem + 1.6vw, 2.9rem);
  --step-5: clamp(2.1rem, 1.55rem + 2.6vw, 3.9rem);
  --step-6: clamp(2.35rem, 1.5rem + 4.2vw, 5.4rem);

  --shell: 1280px;
  --measure: 68ch;
  --gutter: clamp(1rem, 4vw, 2.5rem);
  --section-gap: clamp(4rem, 9vw, 8.75rem);
  --block-gap: clamp(1.75rem, 3.4vw, 3.25rem);
  --unit: 0.5rem;
  --sp-1: 0.375rem;
  --sp-2: 0.625rem;
  --sp-3: 0.9375rem;
  --sp-4: 1.375rem;
  --sp-5: 2.125rem;
  --sp-6: 3.25rem;
  --sp-7: 4.75rem;

  --chamfer: 2px;
  --hair: 1px;
  --tap: 44px;

  --dur-xs: 110ms;
  --dur-s: 200ms;
  --dur-m: 380ms;
  --dur-l: 640ms;
  --dur-xl: 1050ms;
  --ease-out: cubic-bezier(0.16, 0.84, 0.28, 1);
  --ease-in-out: cubic-bezier(0.62, 0.02, 0.28, 1);
  --ease-press: cubic-bezier(0.34, 1.4, 0.64, 1);
  --marquee-dur: 34s;
  --marquee-dur-slow: 58s;

  --shadow-press: inset 0 2px 0 rgba(36, 24, 18, 0.22);
  --shadow-lift: 0 1px 0 var(--rule-strong), 0 14px 28px -22px rgba(36, 24, 18, 0.55);
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: auto;
}

html.js {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background-color: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--step-0);
  font-weight: 400;
  line-height: 1.58;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  background-image: none;
}

h1, h2, h3, h4, h5, h6 {
  margin: 0 0 var(--sp-3);
  font-family: var(--font-display);
  font-weight: 900;
  line-height: 1.02;
  letter-spacing: -0.018em;
  font-variation-settings: "opsz" 96, "SOFT" 0, "WONK" 0;
  text-wrap: balance;
  overflow-wrap: break-word;
}

h1 {
  font-size: var(--step-6);
  line-height: 0.94;
  letter-spacing: -0.028em;
}

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

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

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

h5, h6 {
  font-size: var(--step--1);
  font-family: var(--font-mono);
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  line-height: 1.3;
}

p {
  margin: 0 0 var(--sp-4);
  overflow-wrap: break-word;
}

p:last-child {
  margin-bottom: 0;
}

a {
  color: var(--oxblood);
  text-decoration-line: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.22em;
  text-decoration-color: rgba(122, 31, 43, 0.4);
  transition: color var(--dur-s) var(--ease-out), text-decoration-color var(--dur-s) var(--ease-out);
}

a:hover {
  color: var(--oxblood-dark);
  text-decoration-color: var(--gold);
}

strong, b {
  font-weight: 600;
}

em {
  font-style: italic;
}

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

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

img {
  background-color: var(--paper-alt);
  color: transparent;
}

figure {
  margin: 0;
}

figcaption {
  font-family: var(--font-mono);
  font-size: var(--step--2);
  line-height: 1.45;
  letter-spacing: 0.03em;
  color: var(--ink-70);
  padding: var(--sp-2) 0 0;
  border-top: var(--hair) solid var(--rule);
  margin-top: var(--sp-2);
}

ul, ol {
  margin: 0 0 var(--sp-4);
  padding-left: 1.15em;
}

li {
  margin-bottom: var(--sp-1);
}

li:last-child {
  margin-bottom: 0;
}

blockquote {
  margin: 0;
}

hr {
  border: 0;
  border-top: var(--hair) solid var(--rule);
  margin: var(--sp-5) 0;
}

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

th, td {
  text-align: left;
  vertical-align: top;
}

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

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

fieldset {
  border: 0;
  padding: 0;
  margin: 0;
}

legend {
  padding: 0;
}

address {
  font-style: normal;
}

::selection {
  background-color: var(--oxblood);
  color: var(--cream);
}

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

:target {
  scroll-margin-top: clamp(5rem, 12vh, 9rem);
}

.mono {
  font-family: var(--font-mono);
  font-size: var(--step--1);
  letter-spacing: 0.02em;
  font-variant-numeric: tabular-nums;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55em;
  margin: 0 0 var(--sp-3);
  font-family: var(--font-mono);
  font-size: var(--step--2);
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--oxblood);
}

.eyebrow::before {
  content: "";
  width: 1.6em;
  height: var(--hair);
  background-color: var(--gold);
  flex: none;
}

.eyebrow--gold {
  color: var(--brown);
}

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

.display-italic {
  font-family: var(--font-display);
  font-weight: 600;
  font-style: italic;
  letter-spacing: -0.01em;
}

.num {
  font-family: var(--font-mono);
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}

.icon {
  width: 1.15em;
  height: 1.15em;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: square;
  stroke-linejoin: miter;
  display: inline-block;
  vertical-align: -0.18em;
}

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

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

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

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

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

.bleed {
  width: 100vw;
  max-width: 100vw;
  margin-left: 50%;
  transform: translateX(-50%);
}

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

.section--tight {
  padding-block: clamp(2.5rem, 5vw, 4.25rem);
}

.section--ruled {
  border-top: var(--hair) solid var(--rule);
}

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

.section--ink a {
  color: var(--cream);
  text-decoration-color: var(--gold);
}

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

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

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

.stack-lg {
  --flow: var(--block-gap);
}

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

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

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

.cols-2,
.cols-3,
.cols-4 {
  display: grid;
  gap: var(--gutter);
}

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

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

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

.prose h2 {
  margin-top: var(--sp-6);
  margin-bottom: var(--sp-2);
}

.prose h3 {
  margin-top: var(--sp-5);
  margin-bottom: var(--sp-2);
}

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

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

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

.prose blockquote {
  border-left: 3px solid var(--oxblood);
  padding: var(--sp-2) 0 var(--sp-2) var(--sp-4);
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 600;
  font-size: var(--step-2);
  line-height: 1.24;
}

.prose a {
  font-weight: 600;
}

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

.skip-link {
  position: absolute;
  left: var(--sp-3);
  top: 0;
  z-index: 200;
  transform: translateY(-140%);
  background-color: var(--oxblood);
  color: var(--cream);
  font-family: var(--font-mono);
  font-size: var(--step--1);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 0.85rem 1.25rem;
  min-height: var(--tap);
  display: inline-flex;
  align-items: center;
  border: var(--hair) solid var(--gold);
  transition: transform var(--dur-s) var(--ease-out);
}

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

.sr-only {
  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;
}

.hp-field {
  display: none !important;
}

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

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

.rule-heavy {
  border: 0;
  border-top: 3px solid var(--ink);
  margin: 0;
}

.center {
  text-align: center;
}

.nowrap {
  white-space: nowrap;
}

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

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

.text-quiet {
  color: var(--ink-70);
}

@media (min-width: 40rem) {
  .cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .cols-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 60rem) {
  .cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .cols-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .col-rules {
    column-gap: calc(var(--gutter) * 1.4);
  }
  .col-rules > * + * {
    border-left: var(--hair) solid var(--rule);
    padding-left: calc(var(--gutter) * 0.7);
  }
}

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