:root {
  color-scheme: dark;
  --ink: #f4f1e8;
  --ink-soft: #d4dfd7;
  --muted: #b7c4bb;
  --paper: #071812;
  --panel: #10281f;
  --panel-soft: #173f2e;
  --line: #315144;
  --accent: #d8b45f;
  --accent-bright: #f0cf7d;
  --button: #1f8056;
  --button-hover: #25835a;
  --boundary: #2b2418;
  --boundary-line: #765b2d;
  --boundary-ink: #ead7ad;
  --focus: #f4d277;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: radial-gradient(circle at 85% 0, #17382b 0, transparent 32rem), linear-gradient(180deg, #0a1d16 0, var(--paper) 64rem);
  color: var(--ink);
  font-size: 1rem;
  line-height: 1.65;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--accent-bright); text-decoration-thickness: .1em; text-underline-offset: .2em; }
a:hover { color: #ffe8aa; }
a:focus-visible, [tabindex]:focus-visible {
  border-radius: .2rem;
  outline: .2rem solid var(--focus);
  outline-offset: .2rem;
}
.skip-link {
  left: 1rem;
  min-height: 2.75rem;
  padding: .6rem 1rem;
  position: fixed;
  top: .5rem;
  transform: translateY(-180%);
  z-index: 20;
  background: #fff;
  color: #000;
  font-weight: 800;
}
.skip-link:focus { transform: translateY(0); }
.candidate {
  background: #604117;
  border-bottom: 1px solid #9b6d2a;
  color: #ffe6ad;
  font-weight: 760;
  padding: .75rem 1rem;
  text-align: center;
}
.site-header {
  align-items: center;
  background: #081b14;
  border-bottom: 1px solid #17392b;
  display: flex;
  gap: 1.5rem;
  justify-content: space-between;
  margin: 0 auto;
  min-height: 4.5rem;
  padding: .75rem max(1.4rem, calc((100% - 72rem) / 2));
}
.site-header a { align-items: center; display: inline-flex; min-height: 2.75rem; }
.site-header nav { align-items: center; display: flex; flex-wrap: wrap; gap: .25rem 1rem; justify-content: flex-end; }
.site-header nav a { font-size: .9rem; font-weight: 750; text-decoration: none; }
.site-header nav a[aria-current] {
  background: #2b2418;
  box-shadow: inset 0 -.18rem 0 var(--accent);
  color: var(--accent-bright);
  padding-inline: .65rem;
}
.brand { gap: .65rem; text-decoration: none; }
.brand-mark {
  align-items: center;
  background: var(--accent);
  border-radius: .65rem;
  color: var(--paper);
  display: inline-flex;
  font-family: Georgia, serif;
  height: 2.2rem;
  justify-content: center;
  width: 2.2rem;
}
main, .site-footer {
  margin-inline: auto;
  width: min(70rem, calc(100% - 2.8rem));
}
main { padding: 2rem 0 5rem; }
.gateway { min-height: 80vh; padding-top: clamp(4rem, 12vw, 10rem); }
.collection-hero {
  align-items: center;
  display: grid;
  gap: clamp(2rem, 5vw, 5rem);
  grid-template-columns: minmax(0, .9fr) minmax(20rem, 1.1fr);
  padding: clamp(2rem, 6vw, 5.5rem) 0 3rem;
}
.collection-art {
  background: #0a1d16;
  border: 1px solid var(--line);
  border-radius: 1.5rem;
  box-shadow: 0 1.2rem 3rem rgba(0, 0, 0, .35);
  margin: 0;
  overflow: hidden;
}
.collection-art img { height: auto; width: 100%; }
.collection-art figcaption { color: var(--muted); font-size: .88rem; padding: .85rem 1rem 1rem; }
.collection-art figcaption span { display: block; font-weight: 700; margin-top: .25rem; }
.theorem-introduction {
  align-items: start;
  display: grid;
  gap: 1.25rem;
  grid-template-columns: minmax(18rem, 1.1fr) minmax(16rem, .9fr);
}
.theorem-introduction > * { min-width: 0; }
.theorem-poster { margin-block: clamp(2rem, 5vw, 4rem); }
.poster-heading { max-width: 52rem; }
.poster-heading h2 { margin: .2rem 0 .7rem; }
.poster-heading > p:last-child { color: var(--muted); }
.poster-layout {
  align-items: stretch;
  display: grid;
  gap: clamp(1rem, 3vw, 2rem);
  grid-template-columns: minmax(18rem, 32rem) minmax(18rem, 1fr);
}
.poster-art { margin: 0; min-width: 0; }
.poster-art > picture, .poster-art > .visual-expand-trigger > picture {
  background: #f4f0e6;
  border: 1px solid #746b54;
  border-radius: 1rem;
  display: block;
  overflow: hidden;
}
.poster-art img { display: block; height: auto; width: 100%; }
.poster-art figcaption { color: var(--muted); font-size: .9rem; padding: .8rem .2rem 0; }
.poster-art figcaption span { display: block; font-weight: 700; margin-top: .25rem; }
.proof-walkthrough { margin-block: clamp(2rem, 6vw, 5rem); }
.walkthrough-heading {
  align-items: end;
  display: flex;
  gap: 1rem;
  justify-content: space-between;
}
.walkthrough-heading h2 { margin-bottom: 0; }
.walkthrough-heading > span {
  background: #18372b;
  border: 1px solid #52725f;
  border-radius: 999px;
  color: var(--accent-bright);
  flex: 0 0 auto;
  font-size: .82rem;
  font-weight: 800;
  padding: .4rem .7rem;
}
.proof-walkthrough-pages {
  counter-reset: walkthrough;
  display: grid;
  gap: 1.5rem;
  list-style: none;
  margin: 2rem 0 0;
  padding: 0;
}
.proof-walkthrough-page {
  background: #0a2018;
  border: 1px solid #355747;
  border-radius: 1rem;
  display: grid;
  gap: 1rem 1.5rem;
  grid-template-columns: minmax(18rem, 1.25fr) minmax(16rem, .75fr);
  overflow: hidden;
  padding: 1rem;
}
.walkthrough-page-heading {
  align-items: center;
  display: flex;
  gap: .75rem;
  grid-column: 1 / -1;
}
.walkthrough-page-heading > span {
  color: var(--accent);
  font: 850 1.05rem/1 ui-monospace, SFMono-Regular, Consolas, monospace;
}
.walkthrough-page-heading h3 { margin: 0; }
.proof-walkthrough-page figure { margin: 0; min-width: 0; }
.proof-walkthrough-page figure > .visual-expand-trigger > picture {
  background: #f4f0e6;
  border: 1px solid #746b54;
  border-radius: .85rem;
  display: block;
  overflow: hidden;
}
.proof-walkthrough-page img { height: auto; width: 100%; }
.proof-walkthrough-page figcaption {
  color: var(--muted);
  font-size: .9rem;
  padding-top: .65rem;
}
.walkthrough-page-copy { min-width: 0; }
.walkthrough-page-copy > p:first-child { margin-top: 0; }
.walkthrough-equation code {
  background: #07140f;
  border: 1px solid #315344;
  border-radius: .55rem;
  color: #fff0c5;
  display: block;
  overflow-wrap: anywhere;
  padding: .65rem .75rem;
}
.walkthrough-page-copy details { border-top: 1px solid var(--line); margin-top: 1rem; }
.walkthrough-page-copy summary { cursor: pointer; font-weight: 760; min-height: 2.75rem; padding-block: .65rem; }
.walkthrough-page-copy details p { color: var(--muted); font-size: .86rem; overflow-wrap: anywhere; }
.visual-expand-trigger {
  background: transparent;
  border: 0;
  color: inherit;
  cursor: zoom-in;
  display: block;
  min-width: 0;
  padding: 0;
  position: relative;
  text-align: inherit;
  width: 100%;
}
.visual-expand-trigger > picture { display: block; }
.image-zoom-hint {
  background: #071812e8;
  border: 1px solid #f0cf7d88;
  border-radius: 999px;
  bottom: .65rem;
  color: #f7dfaa;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .03em;
  opacity: 0;
  padding: .32rem .55rem;
  pointer-events: none;
  position: absolute;
  right: .65rem;
  transform: translateY(.25rem);
  transition: opacity .16s ease, transform .16s ease;
}
.visual-expand-trigger:hover .image-zoom-hint,
.visual-expand-trigger:focus-visible .image-zoom-hint { opacity: 1; transform: none; }
.image-lightbox[popover] {
  background: #071812;
  border: 1px solid #6e8a78;
  border-radius: 1.25rem;
  box-shadow: 0 1.75rem 5.5rem #000b;
  color: var(--ink);
  height: calc(100dvh - 1rem);
  inset: 0;
  margin: auto;
  max-height: none;
  max-width: none;
  overflow: hidden;
  padding: 0;
  width: calc(100vw - 1rem);
}
.image-lightbox::backdrop { background: #020806e8; backdrop-filter: blur(.3rem); }
.image-lightbox-frame {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  height: 100%;
  padding: .65rem;
}
.image-lightbox-header {
  align-items: center;
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  padding-bottom: .4rem;
}
.image-lightbox-header h2 { font-family: inherit; font-size: 1.05rem; margin: 0; }
.image-lightbox-close {
  align-items: center;
  background: #102d23;
  border: 1px solid #6e8a78;
  border-radius: 999px;
  color: var(--ink);
  cursor: pointer;
  display: inline-flex;
  font: 800 .85rem/1 ui-sans-serif, system-ui, sans-serif;
  gap: .4rem;
  min-height: 2.75rem;
  padding: .45rem .8rem;
}
.image-lightbox-close span { font-size: 1.3rem; }
.image-lightbox figure {
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  margin: 0;
  min-height: 0;
  overflow: auto;
}
.image-lightbox-image-stage {
  background: #f3efe5;
  border-radius: .85rem;
  display: grid;
  min-height: 0;
  place-items: center;
  position: relative;
}
.image-lightbox-loading {
  color: #213a30;
  font-size: .9rem;
  font-weight: 800;
  left: 50%;
  position: absolute;
  text-align: center;
  top: min(35vh, 18rem);
  transform: translate(-50%, -50%);
  width: min(90%, 24rem);
}
.image-lightbox figure img {
  border: 1px solid #365847;
  border-radius: .85rem;
  display: block;
  height: auto;
  margin: auto;
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
  position: relative;
  width: auto;
  z-index: 1;
}
.image-lightbox.image-lightbox-portrait figure { display: block; text-align: center; }
.image-lightbox.image-lightbox-portrait .image-lightbox-image-stage { display: block; }
.image-lightbox.image-lightbox-portrait figure img { max-height: none; width: min(100%, 64rem); }
.image-lightbox figcaption {
  color: var(--muted);
  font-size: .82rem;
  line-height: 1.45;
  margin: auto;
  max-width: 56rem;
  padding: .4rem .25rem 0;
  text-align: center;
}
.image-lightbox-original {
  align-items: center;
  display: inline-flex;
  font-weight: 800;
  justify-self: center;
  min-height: 2.75rem;
  padding-top: .2rem;
}
.poster-transcript {
  background: #0a1d16;
  border: 1px solid var(--line);
  border-radius: 1rem;
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 1rem;
}
.poster-transcript details { border-top: 1px solid var(--line); }
.poster-transcript summary { cursor: pointer; font-weight: 760; min-height: 2.75rem; padding-block: .65rem; }
.poster-transcript-lines p { color: var(--muted); font-size: .95rem; line-height: 1.55; margin: .45rem 0; }
.theorem-art {
  background: #0a1d16;
  border: 1px solid var(--line);
  border-radius: 1rem;
  margin: 1.25rem 0;
  overflow: hidden;
}
.theorem-art img { height: auto; width: 100%; }
.theorem-art figcaption, .visual-description { color: var(--muted); font-size: .9rem; padding: .8rem 1rem; }
.theorem-art figcaption span { display: block; font-weight: 700; margin-top: .25rem; }
.visual-description { border-top: 1px solid var(--line); }
.visual-description summary, .exact-statement summary { cursor: pointer; font-weight: 760; min-height: 2.75rem; padding-block: .5rem; }
h1, h2, h3 { font-family: Georgia, "Times New Roman", serif; line-height: 1.08; overflow-wrap: anywhere; }
h1 { font-size: clamp(2.5rem, 7vw, 5.8rem); letter-spacing: -.04em; margin: .2rem 0 1rem; }
.collection-title { hyphens: none; overflow-wrap: normal; word-break: normal; }
h2 { font-size: clamp(1.7rem, 4vw, 2.7rem); letter-spacing: -.02em; }
h3 { font-size: 1.45rem; }
.eyebrow, .card-kicker {
  color: var(--accent);
  font-size: .78rem;
  font-weight: 820;
  letter-spacing: .13em;
  text-transform: uppercase;
}
.lede { color: var(--ink-soft); font-size: clamp(1.08rem, 2vw, 1.38rem); max-width: 52rem; }
p, li, summary, strong { overflow-wrap: anywhere; }
.concept-list { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; margin: 1.5rem 0 0; padding: 0; }
.concept-list li { background: #15362a; border: 1px solid var(--line); border-radius: 999px; padding: .35rem .8rem; }
.collection-facts, .status-grid {
  display: grid;
  gap: .75rem;
  grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr));
  margin: 2rem 0 0;
}
.collection-facts div, .status-grid div {
  background: #0a1d16;
  border: 1px solid var(--line);
  border-radius: .8rem;
  padding: 1rem;
}
dt, .status-grid span {
  color: var(--muted);
  display: block;
  font-size: .76rem;
  font-weight: 760;
  letter-spacing: .08em;
  text-transform: uppercase;
}
dd { margin: .2rem 0 0; overflow-wrap: anywhere; }
.collection-section { margin-top: clamp(3rem, 7vw, 6rem); }
.section-heading { border-bottom: 1px solid var(--line); margin-bottom: 1.5rem; }
.section-heading h2 { margin-top: 0; }
.theorem-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.theorem-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 1.15rem;
  box-shadow: 0 .9rem 2.4rem rgba(0, 0, 0, .24);
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 1.35rem;
  position: relative;
  transition: background-color .16s ease, border-color .16s ease, box-shadow .16s ease;
}
.theorem-card:hover, .theorem-card:focus-within {
  background: #123126;
  border-color: var(--accent);
  box-shadow: 0 1.35rem 3.4rem rgba(0, 0, 0, .42), 0 0 0 1px rgba(216, 180, 95, .16);
}
.card-visual {
  background: #0a1d16;
  border-radius: .7rem;
  display: block;
  margin: -0.6rem -0.6rem 1rem;
  overflow: hidden;
}
.card-visual img {
  height: auto;
  transition: transform .2s ease;
  width: 100%;
}
.theorem-card:hover .card-visual img, .theorem-card:focus-within .card-visual img { transform: scale(1.018); }
.theorem-card h3 { margin: .3rem 0 .75rem; }
.theorem-card h3 a { align-items: center; display: inline-flex; min-height: 2.75rem; }
.theorem-card-link::after {
  border-radius: 1.15rem;
  content: "";
  inset: 0;
  position: absolute;
  z-index: 1;
}
.theorem-card-link:focus-visible { box-shadow: none; outline: 0; }
.theorem-card-link:focus-visible::after {
  outline: .2rem solid var(--focus);
  outline-offset: .2rem;
}
.theorem-card p { color: var(--ink-soft); }
.card-meta { border-top: 1px solid var(--line); display: grid; gap: .65rem; margin: auto 0 1rem; padding-top: 1rem; }
.text-link { align-items: center; align-self: flex-start; display: inline-flex; font-weight: 780; min-height: 2.75rem; transition: color .16s ease; }
.text-link > span { display: inline-block; margin-left: .3rem; transition: transform .16s ease; }
.theorem-card:hover .text-link, .theorem-card:focus-within .text-link { color: var(--accent-bright); }
.theorem-card:hover .text-link > span, .theorem-card:focus-within .text-link > span { transform: translateX(.2rem); }
.boundary, section, .note {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 1.15rem;
  margin: 1.25rem 0;
  padding: clamp(1.2rem, 3vw, 2rem);
}
.boundary { background: var(--boundary); border-color: var(--boundary-line); border-left: .4rem solid var(--accent); color: var(--boundary-ink); }
.boundary-wide { margin-block: 3rem 1.25rem; }
.collection-context { max-width: 58rem; }
.theorem-hero { max-width: 64rem; padding: clamp(2rem, 6vw, 5rem) 0 1rem; }
.theorem-hero h1 { max-width: 18ch; }
.status-panel { background: transparent; border: 0; margin: 2rem 0 0; padding: 0; }
.status-panel h2 { font-family: inherit; font-size: 1rem; letter-spacing: 0; }
.status-grid strong { display: block; font-size: .98rem; margin-top: .35rem; }
.status-help, .visual-boundary { color: var(--muted); font-size: .92rem; }
.breadcrumbs {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
  min-height: 2.75rem;
}
.breadcrumbs a { align-items: center; display: inline-flex; min-height: 2.75rem; }
.breadcrumb-segment {
  align-items: center;
  display: inline-grid;
  gap: .6rem;
  grid-template-columns: auto minmax(0, 1fr);
  max-width: 100%;
  min-width: 0;
}
.breadcrumb-segment > a, .breadcrumb-segment > [aria-current="page"] {
  align-items: center;
  display: inline-flex;
  min-height: 2.75rem;
  min-width: 0;
}
.statement-map-frame {
  border-radius: .85rem;
  overflow: hidden;
}
.statement-map { height: auto; width: 100%; }
.statement-map-stacked { display: none; }
.map-node { fill: #132f25; stroke: #587566; stroke-width: 2; }
.map-heading { fill: var(--accent-bright); font-size: 18px; font-weight: 800; letter-spacing: .48px; text-transform: uppercase; }
.map-copy { fill: var(--ink); font-family: "SFMono-Regular", Consolas, monospace; font-size: 18px; }
.map-connector, .map-arrow { fill: none; stroke: var(--accent); stroke-linecap: round; stroke-linejoin: round; stroke-width: 5; }
pre {
  background: #040e0a;
  border: 1px solid #27463a;
  border-radius: .8rem;
  color: #f1f8f3;
  overflow: auto;
  padding: 1.25rem;
  white-space: pre-wrap;
  word-break: break-word;
}
.exact-statement pre { font-size: 1rem; line-height: 1.65; }
code { font-family: "SFMono-Regular", Consolas, monospace; font-size: .92em; overflow-wrap: anywhere; }
.detail-list { display: grid; gap: .85rem; }
.detail-list > div { border-bottom: 1px solid var(--line); padding-bottom: .75rem; }
.actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.5rem; }
.button {
  align-items: center;
  background: var(--button);
  border: 2px solid var(--button);
  border-radius: 999px;
  color: white;
  display: inline-flex;
  font-weight: 780;
  justify-content: center;
  min-height: 2.75rem;
  padding: .65rem 1.05rem;
  text-decoration: none;
}
.button:hover { background: var(--button-hover); color: white; }
.button-secondary { background: transparent; border-color: var(--accent); color: var(--accent-bright); }
.button-secondary:hover { background: #2b2418; color: #ffe8aa; }
.note { background: var(--boundary); border-color: var(--boundary-line); color: var(--boundary-ink); }
.visually-hidden {
  border: 0;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  white-space: nowrap;
  width: 1px;
}
.site-footer { border-top: 1px solid var(--line); color: var(--muted); padding: 2rem 0 4rem; }
@media (max-width: 54rem) {
  .collection-hero { grid-template-columns: 1fr; }
  .collection-art { max-width: 44rem; }
  .theorem-grid { grid-template-columns: 1fr; }
  .poster-layout { grid-template-columns: 1fr; }
  .poster-art { justify-self: center; max-width: 32rem; width: 100%; }
  .proof-walkthrough-page { grid-template-columns: 1fr; }
  .theorem-introduction { grid-template-columns: 1fr; }
  .site-header { align-items: flex-start; flex-direction: column; gap: 0; }
  .site-header nav { justify-content: flex-start; width: 100%; }
  .statement-map-wide { display: none; }
  .statement-map-stacked { display: block; }
}
@media (max-width: 38rem) {
  main, .site-footer { width: min(100% - 1rem, 76rem); }
  .collection-title { font-size: clamp(2rem, 10vw, 3.4rem); }
  .collection-facts, .status-grid { grid-template-columns: 1fr; }
  .candidate { font-size: .9rem; }
  .actions { align-items: stretch; flex-direction: column; }
  .button { width: 100%; }
  .breadcrumbs { align-items: start; display: grid; gap: 0; grid-template-columns: minmax(0, 1fr); }
  .breadcrumbs > a, .breadcrumb-segment { width: 100%; }
  .breadcrumb-segment { grid-template-columns: minmax(0, 1fr); }
  .breadcrumb-separator { display: none; }
  .image-zoom-hint { bottom: .5rem; opacity: 1; right: .5rem; transform: none; }
  .image-lightbox[popover] { border-radius: .5rem; height: calc(100dvh - 1rem); width: calc(100vw - 1rem); }
  .image-lightbox-frame { padding: .45rem; }
  .image-lightbox figcaption { font-size: .75rem; }
  .walkthrough-heading { align-items: flex-start; flex-direction: column; }
  .proof-walkthrough-page { padding: .7rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0s !important; animation-iteration-count: 1 !important; transition-duration: 0s !important; }
  .theorem-card:hover, .theorem-card:focus-within, .theorem-card:hover .card-visual img, .theorem-card:focus-within .card-visual img, .theorem-card:hover .text-link > span, .theorem-card:focus-within .text-link > span { transform: none; }
}
@media print {
  :root { color-scheme: light; }
  body { background: white; color: black; font-size: 10pt; }
  body * { color: #111 !important; box-shadow: none !important; text-shadow: none !important; }
  .candidate, .site-header, .site-footer, .actions, .skip-link, .image-lightbox, .image-zoom-hint { display: none !important; }
  main { padding: 0; width: 100%; }
  a { color: black; text-decoration: underline; }
  .collection-art, .collection-facts div, .theorem-card, section, .boundary, .note, .status-grid div { background: white !important; border-color: #777 !important; box-shadow: none; break-inside: avoid; color: black; }
  .statement-map-frame { overflow: visible; }
  .statement-map-wide { display: block; }
  .statement-map-stacked { display: none; }
  pre { background: white; border: 1px solid #777; color: black; }
}

.brand{gap:.5rem;color:var(--ink);font-weight:850;letter-spacing:-.02em}
.brand-mark{display:block;flex:0 0 auto;width:2.55rem;height:2.55rem;overflow:visible;border:0;border-radius:0;background:transparent;color:inherit;font:inherit}
.brand-wordmark{font:800 1.08rem/1 ui-serif,Georgia,serif;letter-spacing:-.035em}
.compact-label{display:none}
.site-footer{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:.5rem 1.25rem;width:100%;max-width:none;margin-inline:0;text-align:center;font-size:.9rem}
.site-footer a{display:inline-flex;align-items:center;min-height:2.75rem;font-weight:750}
.site-footer .footer-brand{gap:.42rem;color:var(--ink);text-decoration:none}
.site-footer .brand-mark{width:2rem;height:2rem}
.site-footer .brand-wordmark{font-size:.98rem}
.theorem-card:hover,.theorem-card:focus-within{transform:none}
@media(max-width:620px){
  .site-header{display:grid;grid-template-columns:auto minmax(0,1fr);padding:.6rem 1rem;gap:.35rem .75rem}
  .site-header .brand{gap:.45rem;font-size:.9rem}
  .site-header .brand-mark{width:2.3rem;height:2.3rem}
  .site-header .brand-wordmark{font-size:1rem}
  .site-header nav.primary-nav{display:grid;width:100%;max-width:none;grid-template-columns:repeat(4,minmax(0,1fr));gap:.25rem}
  .site-header nav.primary-nav a{justify-content:center;padding:0;font-size:.75rem;text-align:center}
  .wide-label{display:none}
  .compact-label{display:inline}
}
@media(max-width:370px){
  .site-header{grid-template-columns:1fr}
  .site-header nav.primary-nav{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:280px){
  .site-header .brand-mark{width:1.85rem;height:1.85rem}
  .site-header .brand-wordmark{font-size:.875rem}
}
@media(max-width:220px){
  .site-header nav.primary-nav{grid-template-columns:1fr}
  .site-header nav.primary-nav a{justify-content:flex-start;padding-inline:.25rem}
}
