:root {
  --ink: #172322;
  --muted: #52615e;
  --paper: #f4f3ed;
  --white: #fffefa;
  --line: #c6cec7;
  --accent: #374e43;
  --orange: #b74826;
  --max: 1180px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "IBM Plex Mono", ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", monospace;
  font-size: 0.95rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-underline-offset: 4px; }
a:hover { text-decoration-thickness: 2px; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--orange); outline-offset: 5px; }
img { display: block; max-width: 100%; }
figure { margin: 0; }
h1, h2, h3, p { margin-top: 0; }
h1 {
  max-width: 18ch;
  margin-bottom: 24px;
  font-size: clamp(2rem, 3.8vw, 3.35rem);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: 0;
}
h2 {
  max-width: 22ch;
  margin-bottom: 24px;
  font-size: clamp(1.65rem, 3vw, 2.65rem);
  font-weight: 600;
  line-height: 1.18;
  letter-spacing: 0;
}
h3 { margin-bottom: 16px; font-size: 1.18rem; font-weight: 600; line-height: 1.25; letter-spacing: 0; }
.wrap { width: min(calc(100% - 48px), var(--max)); margin-inline: auto; }
.skip { position: absolute; left: -10000px; }
.skip:focus { left: 16px; top: 16px; z-index: 100; padding: 12px; background: var(--white); }
.site-header { position: sticky; top: 0; z-index: 10; background: var(--paper); border-bottom: 1px solid var(--line); }
.nav { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px 24px; min-height: 76px; padding-block: 16px; }
.brand { flex-shrink: 0; font-size: 1rem; font-weight: 600; letter-spacing: 0; text-decoration: none; white-space: nowrap; }
.brand-logo { display: block; width: 184px; }
.brand-logo img { width: 100%; height: auto; }
.brand i { display: inline-block; width: 7px; height: 7px; margin-left: 6px; background: var(--orange); vertical-align: super; }
.nav-links { display: flex; flex-wrap: wrap; gap: 24px; padding: 0; margin: 0; list-style: none; font-size: 0.8rem; }
.nav-links a { text-decoration: none; }
.nav-links a:hover, .back:hover { text-decoration: underline; }
.back { color: var(--muted); font-size: 0.8rem; text-decoration: none; }
.eyebrow, .crumb, .side-label { margin-bottom: 20px; color: var(--muted); font-size: 0.72rem; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; }
.lead { max-width: 54ch; color: var(--muted); font-size: clamp(1rem, 1.3vw, 1.12rem); line-height: 1.6; }
.intro-copy, .prose { max-width: 58ch; font-size: 1.02rem; }
.intro-copy p:last-child, .prose p:last-child { margin-bottom: 0; }
.hero { padding: 64px 0 72px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 48px; align-items: start; }
.hero-grid > *, .two-col > *, .intro-grid > *, .approach-grid > * { min-width: 0; }
.section { padding: 72px 0; border-top: 1px solid var(--line); }
.two-col { display: grid; grid-template-columns: minmax(0, 0.55fr) minmax(0, 1.45fr); gap: 48px; }
.technical-figure { border: 1px solid var(--line); background: var(--white); }
.technical-figure img { width: 100%; height: auto; object-fit: contain; }
.technical-figure figcaption { padding: 12px 14px; border-top: 1px solid var(--line); color: var(--muted); font-size: 0.65rem; line-height: 1.6; letter-spacing: 0.025em; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 10px 18px; border: 1px solid var(--ink); border-radius: 2px; font-size: 0.82rem; font-weight: 500; text-decoration: none; }
.button[hidden] { display: none; }
button.button { font-family: inherit; line-height: inherit; cursor: pointer; }
.button:hover { background: #e4e8df; }
.button.primary { background: var(--ink); color: var(--white); }
.button.primary:hover { background: var(--accent); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.footer { padding: 26px 0; border-top: 1px solid var(--line); color: var(--muted); font-size: 0.72rem; }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; }
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .two-col { grid-template-columns: 1fr; gap: 20px; }
}
@media (max-width: 600px) {
  .wrap { width: calc(100% - 32px); }
  .nav { gap: 10px 16px; min-height: 66px; }
  .brand { font-size: 0.85rem; }
  .brand-logo { width: 152px; }
  .nav-links { gap: 16px; font-size: 0.75rem; }
  .nav-secondary { display: none; }
  .hero { padding: 40px 0 48px; }
  .section { padding: 48px 0; }
  .back { font-size: 0.72rem; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
