@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@700;800&family=IBM+Plex+Mono:wght@400;600&family=Source+Sans+3:wght@400;600;700&display=swap');

:root {
  --ink: #211F1B;
  --paper: #F2EBDD;
  --clay: #A94732;
  --ochre: #D39A3B;
  --concrete: #C9C0B2;
  --umber: #6B4939;
  --line: #988B7B;
  --white: #fffdf7;
  --black: #151411;
  --muted: #655b51;
  --wash: #e8dfd2;
  --clay-dark: #C9654D;
  --ochre-dark: #9d6b19;
  --display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --body: "Source Sans 3", "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", "Courier New", monospace;
  --shell-max: 1500px;
  --gutter: clamp(20px, 4vw, 56px);
  --measure: 72ch;
  --measure-narrow: 48ch;
  --space-1: 0.5rem;
  --space-2: 1rem;
  --space-3: 1.5rem;
  --space-4: 2rem;
  --space-5: 3rem;
  --space-6: 4rem;
  --space-7: 6rem;
  --space-8: 8rem;
  --radius: 0;
  --border-thin: 1px solid var(--line);
  --border-heavy: 2px solid var(--clay);
  --shadow-document: 10px 12px 0 rgba(33, 31, 27, .1);
  --shadow-raised: 5px 6px 0 rgba(33, 31, 27, .18);
  --ease-standard: cubic-bezier(.2, .75, .2, 1);
  --ease-sharp: cubic-bezier(.7, 0, .25, 1);
  --ease-spring: cubic-bezier(.16, 1, .3, 1);
  --duration-fast: 160ms;
  --duration-mid: 320ms;
  --duration-slow: 700ms;
  --frame: 2px solid var(--clay);
  --inner-frame: 1px solid rgba(185, 87, 63, .45);
}

*, *::before, *::after { box-sizing: border-box; }
html { min-width: 320px; scroll-behavior: smooth; background: var(--ink); }
body { margin: 0; min-width: 320px; color: var(--ink); background: var(--paper); font-family: var(--body); font-size: 1.0625rem; line-height: 1.58; text-rendering: optimizeLegibility; overflow-x: hidden; }
body::before { content: ""; position: fixed; inset: 0; pointer-events: none; border: var(--frame); z-index: 100; }
img, picture, video, svg { display: block; max-width: 100%; }
img { height: auto; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
a { color: inherit; text-decoration-thickness: .09em; text-underline-offset: .18em; }
.site-header a, .site-header .site-nav a { color: var(--paper) !important; }
a:hover { color: var(--clay-dark); }
:focus-visible { outline: 3px solid var(--ochre); outline-offset: 4px; }
::selection { color: var(--paper); background: var(--clay); }

h1, h2, h3, h4, h5, h6, p, figure, blockquote, ul, ol, dl { margin-top: 0; }
h1, h2, h3, h4, h5, h6 { margin-bottom: .55em; color: var(--ink); font-family: var(--display); font-weight: 800; line-height: .94; letter-spacing: -.018em; text-wrap: balance; }
h1 { font-size: clamp(2.85rem, 8vw, 7.5rem); max-width: 11ch; }
h2 { font-size: clamp(2.35rem, 5.5vw, 5.5rem); max-width: 14ch; }
h3 { font-size: clamp(1.85rem, 3.5vw, 3.3rem); max-width: 18ch; }
h4 { font-size: clamp(1.35rem, 2.2vw, 2rem); }
h5 { font-size: clamp(1.1rem, 1.7vw, 1.45rem); }
p { max-width: var(--measure); margin-bottom: 1.2em; }
strong { font-weight: 700; }
ul, ol { padding-left: 1.35em; }
li + li { margin-top: .5em; }
small { font-size: .875em; }
.lede { max-width: 51ch; font-size: clamp(1.15rem, 1.8vw, 1.45rem); line-height: 1.4; }
.eyebrow, .mono, .meta, time { font-family: var(--mono); font-size: .74rem; line-height: 1.35; letter-spacing: .08em; text-transform: uppercase; }
.eyebrow { color: var(--clay-dark); font-weight: 600; }
.quiet { color: var(--muted); }
.display { font-family: var(--display); font-weight: 800; }

.skip-link { position: fixed; z-index: 200; top: 0; left: 1rem; transform: translateY(-120%); padding: .8rem 1rem; color: var(--paper); background: var(--ink); font-weight: 700; transition: transform var(--duration-fast) var(--ease-standard); }
.skip-link:focus { transform: translateY(1rem); }
.icon { width: 1.2em; height: 1.2em; fill: currentColor; flex: 0 0 auto; }
.visually-hidden { 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; }
.honeypot { position: absolute !important; width: 1px !important; height: 1px !important; margin: -1px !important; overflow: hidden !important; clip: rect(0, 0, 0, 0) !important; }

.shell { width: min(100% - 40px, var(--shell-max)); margin-inline: auto; border-inline: var(--inner-frame); background: var(--paper); }
.container { width: min(100% - 40px, 1320px); margin-inline: auto; }
.narrow { width: min(100%, var(--measure)); margin-inline: auto; }
.grid { display: grid; min-width: 0; }
.cluster { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-2); min-width: 0; }
.stack > * + * { margin-top: var(--stack-space, var(--space-3)); }
.flow > * + * { margin-top: 1.15em; }
.split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(2rem, 6vw, 7rem); align-items: start; }
.full-bleed { width: 100%; }
.section-pad { padding-block: clamp(3.5rem, 8vw, 8rem); }
.rule { border-top: var(--border-thin); }
.rule-bottom { border-bottom: var(--border-thin); }

.prose { max-width: var(--measure); }
.prose > * { max-width: var(--measure); }
.prose h2 { margin-top: 2.5em; }
.prose h3 { margin-top: 2em; }
.prose p + ul, .prose p + ol { margin-top: -.55em; }
.prose blockquote { margin: 2rem 0; padding: 1rem 1.4rem; border-left: 4px solid var(--clay); font-family: var(--display); font-size: clamp(1.5rem, 2.5vw, 2.3rem); line-height: 1; }
.prose table { width: 100%; border-collapse: collapse; }
.prose th, .prose td { padding: .8rem; border-bottom: var(--border-thin); text-align: left; vertical-align: top; }
.prose th { font-family: var(--mono); font-size: .75rem; text-transform: uppercase; letter-spacing: .06em; }

@media (min-width: 768px) { .shell, .container { width: min(100% - 64px, var(--shell-max)); } .container { width: min(100% - 64px, 1320px); } }
@media (min-width: 1440px) { .shell, .container { width: min(100% - 112px, var(--shell-max)); } .container { width: min(100% - 112px, 1320px); } }
@media (max-width: 700px) { body::before { border-width: 1px; } .shell { width: calc(100% - 24px); } .container { width: calc(100% - 40px); } .split { grid-template-columns: minmax(0, 1fr); gap: 2.5rem; } h1 { max-width: 10ch; } }
@media (max-width: 380px) { .shell { width: calc(100% - 12px); } .container { width: calc(100% - 32px); } body { font-size: 1rem; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; } }

.table-wrap { max-width: 100%; overflow-x: auto; }
[data-state="hidden"] { display: none; }

.field-error { display: block; color: var(--clay-dark); font-family: var(--mono); font-size: .76rem; }
[aria-invalid="true"] { border-color: var(--clay); box-shadow: inset 0 0 0 1px var(--clay); }
button:disabled, input:disabled, textarea:disabled, select:disabled { cursor: not-allowed; opacity: .58; }

@media print { body { background: #fff; } body::before, .skip-link { display: none; } a { text-decoration: none; } }
