@font-face {
  font-family: 'Zilla Slab';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/assets/fonts/zilla-slab-normal-600-1.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Zilla Slab';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/assets/fonts/zilla-slab-normal-700-2.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Public Sans';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('/assets/fonts/public-sans-italic-400-1.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Public Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/assets/fonts/public-sans-normal-400-2.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Public Sans';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/assets/fonts/public-sans-normal-600-3.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Public Sans';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/assets/fonts/public-sans-normal-700-4.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {

  --paper: #f6f8f3;
  --card: #ffffff;
  --band: #ebefe4;
  --pine-deep: #24422e;


  --ink: #22301f;
  --ink-soft: #51604c;
  --ink-faint: #798471;


  --pine: #2f6b3f;
  --pine-tint: #e2ecdd;
  --marigold: #e8a21d;
  --marigold-tint: #fbf0d8;
  --on-pine: #f6f8f3;
  --on-marigold: #2c2410;
  --on-deep: #e9eee2;


  --link: #275a35;
  --link-visited: #4c5d3a;


  --ok: #2f6b3f;
  --ok-bg: #e2ecdd;
  --warn: #8a5a08;
  --warn-bg: #fbf0d8;
  --bad: #93402c;
  --bad-bg: #f6e3dc;
  --dim: #49525c;
  --dim-bg: #e7eaee;


  --rule: #d5dccb;
  --rule-soft: #e4e9db;
  --shadow: 0 1px 2px rgb(34 48 31 / 0.06), 0 6px 18px rgb(34 48 31 / 0.07);
  --shadow-lift: 0 2px 4px rgb(34 48 31 / 0.08), 0 12px 28px rgb(34 48 31 / 0.12);


  --font-display: 'Zilla Slab', 'Rockwell', 'Roboto Slab', serif;
  --font-body: 'Public Sans', 'Segoe UI', system-ui, sans-serif;

  --size-xs: 0.72rem;
  --size-s: 0.85rem;
  --size-base: 1rem;
  --size-m: 1.15rem;
  --size-l: 1.45rem;
  --size-xl: 1.95rem;
  --size-hero: clamp(2.1rem, 4.5vw, 3.1rem);


  --sp-1: 0.25rem;
  --sp-2: 0.5rem;
  --sp-3: 0.75rem;
  --sp-4: 1rem;
  --sp-5: 1.5rem;
  --sp-6: 2.25rem;
  --sp-7: 3.5rem;
  --sp-8: 5rem;

  --radius-s: 8px;
  --radius: 14px;
  --radius-l: 22px;

  --wrap: 68rem;
  --prose: 44rem;
}

@media (prefers-color-scheme: dark) {
  :root {
    --paper: #171d15;
    --card: #1f2820;
    --band: #1b241b;
    --pine-deep: #141b12;

    --ink: #e4e9dc;
    --ink-soft: #aab5a0;
    --ink-faint: #7f8a76;

    --pine: #7fb98f;
    --pine-tint: #24382a;
    --marigold: #ecb54a;
    --marigold-tint: #38300f;
    --on-pine: #12200f;
    --on-marigold: #241d0a;
    --on-deep: #dfe6d6;

    --link: #8ec49b;
    --link-visited: #a4b291;

    --ok: #85c294;
    --ok-bg: #24382a;
    --warn: #e3b25e;
    --warn-bg: #383011;
    --bad: #dc9078;
    --bad-bg: #3c241c;
    --dim: #9aa5b1;
    --dim-bg: #262c33;

    --rule: #35402f;
    --rule-soft: #2a3326;
    --shadow: 0 1px 2px rgb(0 0 0 / 0.35), 0 6px 18px rgb(0 0 0 / 0.3);
    --shadow-lift: 0 2px 4px rgb(0 0 0 / 0.4), 0 12px 28px rgb(0 0 0 / 0.45);
  }
}

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

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--size-base);
  line-height: 1.65;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.2;
  color: var(--ink);
  margin: 0 0 var(--sp-3);
}

h1 {
  font-size: var(--size-xl);
  font-weight: 700;
}

h2 {
  font-size: var(--size-l);
}

h3 {
  font-size: var(--size-m);
}

p,
ul,
ol,
dl {
  margin: 0 0 var(--sp-4);
}

a {
  color: var(--link);
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}

a:hover {
  color: var(--pine);
}

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

img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius-s);
}

figure {
  margin: 0 0 var(--sp-4);
}

figcaption {
  font-size: var(--size-s);
  color: var(--ink-soft);
}

hr {
  border: 0;
  border-top: 1px solid var(--rule);
  margin: var(--sp-6) 0;
}

blockquote {
  margin: 0 0 var(--sp-4);
  padding: var(--sp-3) var(--sp-4);
  border-left: 4px solid var(--pine);
  background: var(--band);
  border-radius: 0 var(--radius-s) var(--radius-s) 0;
}

table {
  border-collapse: collapse;
  width: 100%;
  font-size: var(--size-s);
}

th,
td {
  text-align: left;
  vertical-align: top;
  padding: var(--sp-2) var(--sp-3);
  border-bottom: 1px solid var(--rule-soft);
}

thead th {
  font-family: var(--font-body);
  font-size: var(--size-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink-soft);
  border-bottom: 2px solid var(--rule);
}

code {
  background: var(--band);
  border-radius: 4px;
  padding: 0.1em 0.35em;
  font-size: 0.92em;
}

::selection {
  background: var(--marigold-tint);
}

.skip {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--card);
  color: var(--ink);
  padding: var(--sp-2) var(--sp-4);
  z-index: 10;
  border-radius: 0 0 var(--radius-s) 0;
}

.skip:focus {
  left: 0;
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--sp-4);
}

.masthead {
  background: var(--card);
  border-bottom: 1px solid var(--rule-soft);
}

.masthead__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  flex-wrap: wrap;
  padding-top: var(--sp-3);
  padding-bottom: var(--sp-3);
}

.wordmark {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--size-m);
  text-decoration: none;
  color: var(--ink);
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.wordmark__sub {
  font-family: var(--font-body);
  font-size: var(--size-xs);
  font-weight: 400;
  color: var(--ink-soft);
  letter-spacing: 0.04em;
}

.nav {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-1);
  margin: 0;
  padding: 0;
}

.nav a {
  display: inline-block;
  text-decoration: none;
  color: var(--ink-soft);
  font-size: var(--size-s);
  font-weight: 600;
  padding: var(--sp-2) var(--sp-3);
  border-radius: 999px;
  transition: background-color 180ms ease-out, color 180ms ease-out;
}

.nav a:hover {
  background: var(--band);
  color: var(--ink);
}

.nav a[aria-current='page'] {
  background: var(--pine);
  color: var(--on-pine);
}

.crumbs {
  padding-top: var(--sp-3);
}

.crumbs ol {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-1);
  margin: 0;
  padding: 0;
  font-size: var(--size-s);
  color: var(--ink-soft);
}

.crumbs li + li::before {
  content: '›';
  margin: 0 var(--sp-1);
  color: var(--ink-faint);
}

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

.hero {
  background-color: var(--pine-deep);
  background-image: url('/assets/topo.svg');
  background-size: 900px;
  color: var(--on-deep);
  overflow: hidden;
}

.hero .wrap {
  padding-top: var(--sp-7);
  padding-bottom: var(--sp-7);
}

.hero h1 {
  font-size: var(--size-hero);
  color: var(--on-deep);
  max-width: 24ch;
  margin-bottom: var(--sp-4);
}

.hero p {
  max-width: 52ch;
  font-size: var(--size-m);
  margin-bottom: var(--sp-5);
}

.seam {
  display: block;
  width: 100%;
  height: 44px;
  fill: var(--paper);
  margin-bottom: -1px;
}

.band {
  padding: var(--sp-7) 0;
}

.band--tint {
  background: var(--band);
}

.band__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--sp-4);
  flex-wrap: wrap;
  margin-bottom: var(--sp-5);
}

.band__head p {
  margin: 0;
  color: var(--ink-soft);
}

.grid {
  display: grid;
  gap: var(--sp-4);
  grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr));
  list-style: none;
  margin: 0;
  padding: 0;
}

.grid--wide {
  grid-template-columns: repeat(auto-fill, minmax(19rem, 1fr));
}

.article {
  padding-top: var(--sp-6);
  padding-bottom: var(--sp-8);
}

.article__head {
  max-width: var(--prose);
  margin-bottom: var(--sp-5);
}

.article__head h1 {
  margin-bottom: var(--sp-2);
}

.article__meta {
  color: var(--ink-soft);
  font-size: var(--size-s);
  margin: 0;
}

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

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

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

.prose img {
  box-shadow: var(--shadow);
}

.prose .table-scroll,
.article > .table-block {
  max-width: min(var(--wrap), 100%);
}

.table-scroll {
  overflow-x: auto;
  margin-bottom: var(--sp-4);
  border: 1px solid var(--rule-soft);
  border-radius: var(--radius-s);
  background: var(--card);
}

.table-scroll table {
  min-width: 34rem;
}

.video-embed {
  position: relative;
  aspect-ratio: 16 / 9;
  margin: 0 0 var(--sp-4);
  border-radius: var(--radius-s);
  overflow: hidden;
  background: var(--pine-deep);
}

.video-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.footer {
  background: var(--pine-deep);
  color: var(--on-deep);
  margin-top: var(--sp-8);
  padding: var(--sp-7) 0 var(--sp-6);
}

.footer a {
  color: var(--on-deep);
}

.footer h2 {
  font-size: var(--size-s);
  font-family: var(--font-body);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--on-deep);
  opacity: 0.8;
}

.footer__grid {
  display: grid;
  gap: var(--sp-5);
  grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr));
  margin-bottom: var(--sp-6);
}

.footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: var(--size-s);
}

.footer li {
  margin-bottom: var(--sp-2);
}

.footer__base {
  border-top: 1px solid rgb(255 255 255 / 0.15);
  padding-top: var(--sp-4);
  font-size: var(--size-s);
  opacity: 0.85;
}

.footer__base p {
  margin-bottom: var(--sp-1);
}

@media (max-width: 40rem) {
  .band,
  .hero .wrap {
    padding-top: var(--sp-6);
    padding-bottom: var(--sp-6);
  }

  .masthead__bar {
    justify-content: center;
    text-align: center;
  }
}

.signpost {
  display: block;
  position: relative;
  background: var(--card);
  border: 1px solid var(--rule-soft);
  border-left: 6px solid var(--pine);
  border-radius: var(--radius);
  padding: var(--sp-4) var(--sp-4) var(--sp-4) var(--sp-5);
  text-decoration: none;
  color: var(--ink);
  box-shadow: var(--shadow);
  transition: transform 200ms cubic-bezier(0.2, 0.7, 0.3, 1.1), box-shadow 200ms ease-out;
}

.signpost:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lift);
  color: var(--ink);
}

.signpost__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 12px;
  background: var(--pine-tint);
  color: var(--pine);
  margin-bottom: var(--sp-3);
}

.signpost__icon svg {
  width: 1.5rem;
  height: 1.5rem;
}

.signpost h3,
.signpost h2 {
  margin-bottom: var(--sp-1);
  font-size: var(--size-m);
}

.signpost p {
  margin: 0;
  font-size: var(--size-s);
  color: var(--ink-soft);
}

.signpost__count {
  display: inline-block;
  margin-top: var(--sp-3);
  font-size: var(--size-xs);
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--pine);
}

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
}

.grid > li {
  animation: rise-in 480ms ease-out backwards;
}

.grid > li:nth-child(2) {
  animation-delay: 90ms;
}

.grid > li:nth-child(3) {
  animation-delay: 180ms;
}

.grid > li:nth-child(4) {
  animation-delay: 270ms;
}

.grid > li:nth-child(5) {
  animation-delay: 340ms;
}

.grid > li:nth-child(6) {
  animation-delay: 400ms;
}

.grid > li:nth-child(n + 7) {
  animation-delay: 450ms;
}

.card {
  display: flex;
  flex-direction: column;
  background: var(--card);
  border: 1px solid var(--rule-soft);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 200ms cubic-bezier(0.2, 0.7, 0.3, 1.1), box-shadow 200ms ease-out;
  height: 100%;
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lift);
}

.card__img {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--band);
}

.card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
}

.card__body {
  padding: var(--sp-4);
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
  flex: 1;
}

.card__body h2,
.card__body h3 {
  margin: 0;
  font-size: var(--size-base);
}

.card__body h2 a,
.card__body h3 a {
  text-decoration: none;
  color: var(--ink);
}

.card__body h2 a:hover,
.card__body h3 a:hover {
  color: var(--pine);
}

.card__body h2 a::after,
.card__body h3 a::after {
  content: '';
  position: absolute;
  inset: 0;
}

.card {
  position: relative;
}

.card__body p {
  margin: 0;
  font-size: var(--size-s);
  color: var(--ink-soft);
}

.card__kicker {
  font-size: var(--size-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--pine);
}

.chip {
  display: inline-block;
  font-size: var(--size-xs);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.15em 0.6em;
  border-radius: 999px;
  white-space: nowrap;
}

.chip--current {
  background: var(--ok-bg);
  color: var(--ok);
}

.chip--superseded {
  background: var(--warn-bg);
  color: var(--warn);
}

.chip--discontinued {
  background: var(--bad-bg);
  color: var(--bad);
}

.chip--unverified {
  background: var(--dim-bg);
  color: var(--dim);
}

.table-block {
  margin: var(--sp-6) 0;
}

.table-block h2 {
  margin-bottom: var(--sp-3);
}

.table-block .table-scroll {
  margin-bottom: var(--sp-2);
}

.table-block td:first-child {
  font-weight: 600;
}

.status-cell small {
  display: block;
  margin-top: var(--sp-1);
  color: var(--ink-soft);
  font-size: var(--size-xs);
  white-space: normal;
}

.provenance {
  font-size: var(--size-xs);
  color: var(--ink-soft);
  margin: 0 0 var(--sp-4);
}

.notice {
  border-radius: var(--radius-s);
  padding: var(--sp-3) var(--sp-4);
  margin: 0 0 var(--sp-5);
  max-width: var(--prose);
  font-size: var(--size-s);
}

.notice p {
  margin: 0;
}

.notice--status {
  background: var(--marigold-tint);
  border-left: 4px solid var(--marigold);
  color: var(--ink);
}

.notice--caution {
  background: var(--band);
  border-left: 4px solid var(--ink-faint);
  color: var(--ink-soft);
}

.notice--editor {
  background: var(--pine-tint);
  border-left: 4px solid var(--pine);
  color: var(--ink);
}

.btn {
  display: inline-block;
  font-weight: 700;
  font-size: var(--size-base);
  text-decoration: none;
  background: var(--marigold);
  color: var(--on-marigold);
  border: 0;
  border-radius: 999px;
  padding: var(--sp-3) var(--sp-5);
  cursor: pointer;
  transition: transform 160ms cubic-bezier(0.2, 0.7, 0.3, 1.2), box-shadow 160ms ease-out;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lift);
  color: var(--on-marigold);
}

.btn:active {
  transform: translateY(0);
  box-shadow: var(--shadow);
}

.btn--ghost {
  background: transparent;
  color: var(--on-deep);
  border: 2px solid currentColor;
}

.bridges {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2);
  list-style: none;
  margin: var(--sp-5) 0 0;
  padding: 0;
}

.bridges a {
  display: inline-block;
  text-decoration: none;
  font-size: var(--size-s);
  font-weight: 600;
  color: var(--pine);
  background: var(--pine-tint);
  border-radius: 999px;
  padding: var(--sp-2) var(--sp-4);
  transition: background-color 180ms ease-out;
}

.bridges a:hover {
  background: var(--marigold-tint);
  color: var(--ink);
}

.form {
  max-width: var(--prose);
  display: grid;
  gap: var(--sp-4);
}

.form label {
  display: block;
  font-weight: 600;
  font-size: var(--size-s);
  margin-bottom: var(--sp-1);
}

.form input,
.form textarea {
  width: 100%;
  font: inherit;
  color: var(--ink);
  background: var(--card);
  border: 1px solid var(--rule);
  border-radius: var(--radius-s);
  padding: var(--sp-3);
}

.form input:focus,
.form textarea:focus {
  outline: 3px solid var(--marigold);
  outline-offset: 1px;
  border-color: var(--pine);
}

.pagehead {
  padding: var(--sp-6) 0 0;
}

.pagehead h1 {
  margin-bottom: var(--sp-2);
}

.pagehead .lede {
  color: var(--ink-soft);
  font-size: var(--size-m);
  max-width: 56ch;
}

.lonely {
  text-align: center;
  padding: var(--sp-8) var(--sp-4);
}

.lonely h1 {
  font-size: var(--size-hero);
}

.listing-group {
  margin-bottom: var(--sp-6);
}

.listing-group h2 a {
  text-decoration: none;
  color: var(--ink);
}

.listing-group h2 a:hover {
  color: var(--pine);
}

.listing {
  list-style: none;
  margin: 0;
  padding: 0;
  columns: 2 22rem;
  column-gap: var(--sp-6);
}

.listing li {
  margin-bottom: var(--sp-2);
  break-inside: avoid;
  font-size: var(--size-s);
}

.listing a {
  text-decoration: none;
}

.listing a:hover {
  text-decoration: underline;
}

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

.shell-note {
  border: 2px dashed var(--rule);
  border-radius: var(--radius);
  padding: var(--sp-5);
  color: var(--ink-soft);
  max-width: var(--prose);
}
