@font-face {
  font-family: "Archive Sans";
  src: url("fonts/archive-sans.woff") format("woff");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Archive Serif";
  src: url("fonts/archive-serif.woff") format("woff");
  font-weight: 700;
  font-display: swap;
}

:root {
  color-scheme: light;
  --ground: #f6f8fc;
  --paper: #ffffff;
  --ink: #17223b;
  --secondary: #626f85;
  --subtle: #dfe5f0;
  --well: #edf1f8;
  --accent: #304bd8;
  --accent-soft: #eaf0ff;
  --accent-ink: #ffffff;
  --stage: #304bd8;
  --stage-ink: #ffffff;
  --font: "Archive Sans", "PingFang SC", "Noto Sans CJK SC", sans-serif;
  --display: "Archive Sans", "PingFang SC", sans-serif;
  --max: 1440px;
  --gutter: clamp(20px, 3.4vw, 56px);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 28px; }
body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font: 400 15px/1.7 var(--font);
  font-variant-numeric: tabular-nums;
  -webkit-font-smoothing: antialiased;
}
body.dark {
  color-scheme: dark;
  --ground: #111729;
  --paper: #1a2339;
  --ink: #f0f3fb;
  --secondary: #aebbd1;
  --subtle: #34415c;
  --well: #232f49;
  --accent: #a6b7ff;
  --accent-soft: #26375a;
  --accent-ink: #142044;
  --stage: #263caa;
}
::selection { background: var(--accent); color: var(--accent-ink); }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--accent); }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; }
button, a, summary, input, select { -webkit-tap-highlight-color: transparent; }
button, a, summary { touch-action: manipulation; }
button, a { transition: background-color .16s, color .16s, border-color .16s; }
a:focus-visible, button:focus-visible, summary:focus-visible,
input:focus-visible, select:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 4px;
}
[hidden] { display: none !important; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.skip {
  position: fixed;
  top: -100px;
  left: 20px;
  z-index: 10;
  padding: 12px 20px;
  border-radius: 8px;
  background: var(--accent);
  color: var(--accent-ink);
}
.skip:focus { top: 12px; }

/* The masthead stays quiet; the live photograph and blue title carry the cover. */
.topbar {
  max-width: var(--max);
  margin: auto;
  padding: 28px var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.wordmark {
  font-family: Arial, var(--font);
  font-size: 29px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -.065em;
}
.topbar nav { display: flex; align-items: center; gap: 30px; font-size: 14px; }
.topbar nav a { display: inline-flex; align-items: center; min-height: 44px; white-space: nowrap; }
.topbar nav a:first-child { color: var(--accent); }
#theme {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 78px;
  min-height: 42px;
  padding: 8px 12px;
  border: 1px solid var(--subtle);
  border-radius: 24px;
  background: var(--paper);
  font-size: 13px;
}
#theme::before { content: "◐"; font: 20px/1 Arial, sans-serif; }
#theme:hover { border-color: var(--accent); color: var(--accent); }
.hero {
  width: calc(100% - 2 * var(--gutter));
  max-width: calc(var(--max) - 2 * var(--gutter));
  margin: 8px auto 0;
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  align-items: stretch;
  border-radius: 24px;
  background: var(--stage);
  color: var(--stage-ink);
  overflow: hidden;
}
.hero-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 44px clamp(28px, 4vw, 60px);
}
.hero h1 {
  margin: 0 0 38px;
  font: 800 clamp(58px, 6.7vw, 98px)/1.14 var(--display);
  letter-spacing: -.065em;
}
.primary {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 34px;
  min-height: 54px;
  padding: 13px 20px;
  border: 1px solid #ffffff;
  border-radius: 10px;
  background: #ffffff;
  color: #263fc3;
  font-size: 15px;
  font-weight: 600;
}
.primary:hover { background: #e8edff; border-color: #e8edff; color: #172c98; }
.primary:focus-visible { outline-color: white; }
.primary svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.hero-visual { min-width: 0; padding: 26px 26px 24px 0; }
.hero-visual .photo { margin: 0; }
.hero-visual .photo-open { border-radius: 12px; background: transparent; }
.hero-visual .photo img { width: 100%; height: auto; max-height: none; }
.hero-visual figcaption { padding-top: 14px; }
.hero-visual figcaption strong { font-size: 13px; color: #ffffff; }
.hero-visual .photo figcaption > span { color: #e0e6ff; font-size: 12px; line-height: 1.7; margin-top: 5px; }
.hero-visual .source-link { color: #ffffff; }
.archive-intro {
  width: calc(100% - 2 * var(--gutter));
  max-width: calc(var(--max) - 2 * var(--gutter));
  margin: 0 auto 48px;
  padding: 22px 4px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: var(--secondary);
  font-size: 13px;
}
.archive-intro p { margin: 0; }
.archive-intro strong { color: var(--ink); font-weight: 600; }

/* A browsing index beside the equipment ledger, with no repeated card grid. */
.catalog {
  max-width: var(--max);
  margin: auto;
  padding: 0 var(--gutter) 80px;
  display: grid;
  grid-template-columns: 224px minmax(0, 1fr);
  gap: 38px;
  align-items: start;
}
.catalog-main { min-width: 0; }
.sidebar {
  position: sticky;
  top: 24px;
  max-height: calc(100svh - 48px);
  overflow-y: auto;
  padding: 22px 12px 14px;
  border: 1px solid var(--subtle);
  border-radius: 16px;
  background: var(--paper);
  scrollbar-width: thin;
}
.sidebar h2 { margin: 0 12px 18px; color: var(--secondary); font-size: 13px; font-weight: 400; }
.sidebar nav { display: flex; flex-direction: column; gap: 3px; }
.sidebar a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 42px;
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 13px;
  line-height: 1.5;
}
.sidebar a:hover { background: var(--well); color: var(--ink); }
.sidebar a[aria-current="true"] { background: var(--accent); color: var(--accent-ink); }
.sidebar .all-bands { margin-bottom: 8px; font-weight: 600; }
.band-count { flex-shrink: 0; font-size: 12px; opacity: .7; }
.search-panel {
  padding: 28px;
  border: 1px solid var(--subtle);
  border-radius: 18px;
  margin-bottom: 48px;
  background: var(--paper);
}
.search-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 24px; }
.search-top h2 { margin: 0; font-size: 24px; font-weight: 600; letter-spacing: -.035em; line-height: 1.3; }
#result-count {
  margin: 0;
  padding: 6px 11px;
  border-radius: 6px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 12px;
  text-align: right;
}
#filters { display: grid; grid-template-columns: minmax(180px, 1fr) 148px 126px auto; gap: 10px; }
#filters label { min-width: 0; }
.search-field {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
  padding-left: 14px;
  border: 1px solid var(--subtle);
  border-radius: 10px;
  background: var(--ground);
}
.search-field:focus-within { border-color: var(--accent); }
.search-field svg { width: 19px; height: 19px; fill: none; stroke: var(--secondary); stroke-width: 1.8; flex-shrink: 0; }
.search-field input { width: 100%; min-width: 0; min-height: 48px; padding: 11px 10px 11px 0; border: 0; border-radius: 10px; background: transparent; font-size: 13px; }
.search-field input:focus-visible { outline-offset: 1px; }
input::placeholder { color: var(--secondary); opacity: 1; }
select { width: 100%; height: 100%; min-height: 48px; padding: 10px; border: 1px solid var(--subtle); border-radius: 10px; background: var(--paper); font-size: 13px; }
#reset { min-height: 48px; padding: 10px 14px; border: 0; border-radius: 10px; background: var(--well); color: var(--secondary); font-size: 13px; }
#reset:hover { color: var(--accent); background: var(--accent-soft); }
.view-controls { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-top: 14px; font-size: 13px; }
.view-controls label { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; color: var(--secondary); cursor: pointer; }
.view-controls input { width: 16px; height: 16px; margin: 0; accent-color: var(--accent); }
.view-controls button { min-height: 44px; padding: 9px 0 9px 12px; border: 0; background: transparent; color: var(--accent); font-size: 13px; }
.view-controls button:hover { text-decoration: underline; text-underline-offset: 4px; }

.band, .supplement { margin-bottom: 68px; scroll-margin-top: 28px; }
.band-head { margin-bottom: 24px; }
.band-head h2 {
  margin: 0 0 22px;
  padding-left: 17px;
  border-left: 5px solid var(--accent);
  font-family: Arial, var(--display);
  font-size: clamp(29px, 2.9vw, 42px);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -.055em;
  overflow-wrap: anywhere;
}
.band-notes p { max-width: 70ch; margin: 0 0 20px; font-size: 15px; }
.member-nav { display: flex; flex-wrap: wrap; gap: 8px; }
.member-nav a { display: inline-flex; align-items: center; min-height: 38px; padding: 6px 13px; border: 1px solid var(--subtle); border-radius: 22px; background: var(--paper); color: var(--secondary); font-size: 13px; }
.member-nav a:hover { border-color: var(--accent); background: var(--accent-soft); color: var(--accent); }
.member { margin: 0; padding: 0 24px; border-bottom: 1px solid var(--subtle); background: var(--paper); scroll-margin-top: 24px; }
.band > .member:first-of-type, .supplement > .member:first-of-type { border-radius: 14px 14px 0 0; }
.band > .member:last-child, .supplement > .member:last-child { border-bottom: 0; border-radius: 0 0 14px 14px; }
.member-head { display: flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 88px; padding: 23px 0; cursor: pointer; list-style: none; }
.member-head::-webkit-details-marker { display: none; }
.member-head:hover h3 { color: var(--accent); }
.member-title { display: flex; align-items: baseline; flex-wrap: wrap; gap: 7px 20px; }
.member-head h3 { margin: 0; font-size: 24px; font-weight: 600; letter-spacing: -.035em; line-height: 1.4; }
.member-count { color: var(--secondary); font-size: 12px; }
.disclosure { width: 30px; height: 30px; padding: 6px; border: 1px solid var(--subtle); border-radius: 50%; fill: none; stroke: currentColor; stroke-width: 1.5; flex-shrink: 0; transition: transform .2s var(--ease), background-color .2s; }
.member[open] > .member-head .disclosure { transform: rotate(45deg); background: var(--accent-soft); color: var(--accent); border-color: var(--accent-soft); }
.member-notes { max-width: 70ch; margin: 0 0 26px; color: var(--secondary); font-size: 14px; }
.member-notes p { margin: 0 0 10px; }
.permalink { display: inline-block; margin: 6px 0 26px; padding: 5px 0; color: var(--secondary); font-size: 12px; text-decoration: underline; text-underline-offset: 4px; }
.photo-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin: 0 0 30px; }
.photo { min-width: 0; margin: 0; }
.photo-open { display: block; overflow: hidden; border-radius: 8px; background: #151a28; cursor: zoom-in; }
.photo img { display: block; width: 100%; height: 260px; object-fit: contain; }
.photo figcaption { padding-top: 12px; }
.photo figcaption strong { display: block; font-size: 13px; font-weight: 600; line-height: 1.65; }
.photo figcaption > span { display: block; margin-top: 6px; color: var(--secondary); font-size: 12px; line-height: 1.8; overflow-wrap: anywhere; }
.source-link, .photo-reference { color: var(--accent); overflow-wrap: anywhere; text-decoration: underline; text-underline-offset: 3px; }
.photo-links { display: inline-flex; flex-wrap: wrap; gap: 6px 12px; margin-left: 10px; }
.photo-context { display: block; margin-top: 3px; }
.source-link span { display: inline !important; }
.source-link:hover { text-decoration-thickness: 2px; }
.table-wrap { overflow-x: auto; margin: 0 0 18px; }
table { width: 100%; border-collapse: collapse; table-layout: fixed; text-align: left; font-size: 13px; }
th { padding: 12px 10px; background: var(--well); color: var(--secondary); font-size: 12px; font-weight: 400; vertical-align: top; }
th:first-child { border-radius: 7px 0 0 7px; }
th:last-child { border-radius: 0 7px 7px 0; }
th:nth-child(1) { width: 12%; }
th:nth-child(2) { width: 32%; }
th:nth-child(3) { width: 56%; }
td { padding: 18px 10px; border-bottom: 1px solid var(--subtle); line-height: 1.75; vertical-align: top; overflow-wrap: anywhere; }
tbody tr:last-child td { border-bottom: 0; }
tbody tr:hover { background: var(--ground); }
.model { font-size: 14px; font-weight: 600; line-height: 1.7; }
.tag { font-size: 12px; color: var(--secondary); }
.evidence a { display: inline-block; margin-bottom: 3px; }
.gear-observations { margin: 0; padding: 0; list-style: none; }
.gear-observation + .gear-observation { margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--subtle); }
.observation-period { margin: 0 0 8px; color: var(--ink); }
.row-source-links { display: flex; flex-wrap: wrap; gap: 0 9px; }
.sources .band-head p { max-width: 65ch; color: var(--secondary); }
.sources > details { padding: 24px; border-radius: 14px; background: var(--paper); }
.sources summary { padding: 4px 0; font-size: 15px; cursor: pointer; }
.sources summary > span { float: right; color: var(--secondary); font-size: 13px; }
.sources ol { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px; margin: 32px 0 0; padding: 0; list-style: none; }
.sources li { min-width: 0; font-size: 13px; }
.sources li > span { display: block; margin: 6px 0; }
.source-url { color: var(--secondary); font-size: 12px; overflow-wrap: anywhere; }
.sources .source-link { font-weight: 600; }
#empty { margin-bottom: 44px; padding: 40px 28px; border-radius: 14px; background: var(--paper); }
#empty h3 { margin: 0 0 12px; font-size: 24px; font-weight: 600; }
#empty p { margin: 0; color: var(--secondary); font-size: 14px; }
footer { max-width: var(--max); margin: auto; padding: 44px var(--gutter) 32px; }
.footer-title { margin: 0 0 24px; color: var(--accent); font-family: Arial, sans-serif; font-size: clamp(60px, 10.5vw, 145px); font-weight: 900; line-height: 1; letter-spacing: -.075em; }
.footer-meta { display: flex; justify-content: space-between; gap: 24px; padding-top: 22px; border-top: 1px solid var(--subtle); color: var(--secondary); font-size: 12px; }
.footer-meta p { margin: 0; }
.footer-meta a { text-decoration: underline; text-underline-offset: 5px; }

/* Native dialog keeps focus and Escape behavior; the photograph remains uncropped. */
html:has(dialog[open]) { overflow: hidden; }
dialog { position: fixed; width: max-content; max-width: min(1100px, 94vw); max-height: 94svh; padding: 52px 24px 24px; border: 1px solid var(--subtle); border-radius: 16px; background: var(--paper); color: var(--ink); }
dialog::backdrop { background: #10182be8; }
dialog > img { display: block; max-width: 100%; max-height: 70svh; margin: auto; object-fit: contain; }
.close { position: absolute; top: 6px; right: 8px; width: 40px; height: 40px; padding: 0; border: 0; border-radius: 50%; background: var(--well); font: 28px/1 var(--font); }
.lightbox-caption { max-width: 900px; padding-top: 16px; font-size: 13px; }
.lightbox-caption strong, .lightbox-caption > span { display: block; }
.lightbox-caption > span { margin-top: 8px; color: var(--secondary); }
.photos-off .member .photo-grid { display: none; }

@media (min-width: 1441px) {
  .hero, .archive-intro { max-width: calc(1440px - 2 * var(--gutter)); }
}
@media (max-width: 1150px) {
  .hero h1 { font-size: clamp(56px, 6.7vw, 80px); }
  .hero-copy { padding: 32px; }
  .hero-visual { padding: 22px 22px 20px 0; }
  .catalog { grid-template-columns: 194px minmax(0, 1fr); gap: 24px; }
  .sidebar { padding-right: 8px; padding-left: 8px; }
  .sidebar a { padding-right: 9px; padding-left: 9px; font-size: 12px; }
  #filters { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto; }
  #filters .search-field { grid-column: 1 / -1; }
  .photo img { height: 210px; }
  .member-title { display: block; }
  .member-count { display: block; margin-top: 4px; }
}
@media (max-width: 820px) {
  :root { --gutter: 28px; }
  .topbar { padding-top: 24px; padding-bottom: 24px; }
  .hero { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); border-radius: 18px; }
  .hero-copy { padding: 28px; }
  .hero h1 { font-size: clamp(40px, 6.4vw, 53px); margin-bottom: 28px; }
  .hero-visual { padding: 20px 20px 20px 0; }
  .hero-visual figcaption strong { font-size: 12px; }
  .primary { min-height: 48px; padding: 11px 15px; gap: 22px; font-size: 14px; }
  .archive-intro { margin-bottom: 28px; padding: 20px 2px; font-size: 12px; }
  .catalog { display: block; }
  .sidebar { position: static; max-height: none; overflow: visible; margin: 0 0 24px; padding: 0; border: 0; border-radius: 0; background: transparent; }
  .sidebar h2 { margin: 0 0 12px; }
  .sidebar nav { flex-direction: row; overflow-x: auto; gap: 8px; padding: 3px 3px 10px; margin: -3px; scrollbar-width: thin; }
  .sidebar a { min-height: 40px; padding: 9px 14px; border: 1px solid var(--subtle); border-radius: 8px; background: var(--paper); white-space: nowrap; font-size: 13px; }
  .sidebar a[aria-current="true"] { border-color: var(--accent); }
  .sidebar .all-bands { margin: 0; }
  .band-count { display: none; }
  .search-panel { margin-bottom: 36px; }
  .member-title { display: flex; }
  .member-count { margin-top: 0; }
  .photo img { height: 240px; }
  .band-head h2 { font-size: 36px; }
}
@media (max-width: 560px) {
  :root { --gutter: 20px; }
  body { font-size: 14px; }
  .topbar { gap: 12px; padding-top: 22px; padding-bottom: 22px; }
  .wordmark { font-size: 25px; white-space: nowrap; }
  .topbar nav { gap: 16px; font-size: 12px; }
  .topbar nav a:first-child { display: none; }
  #theme { min-width: 42px; min-height: 38px; padding: 7px 10px; border-radius: 20px; gap: 5px; font-size: 12px; }
  #theme::before { font-size: 18px; }
  .hero { display: block; margin-top: 0; border-radius: 18px; }
  .hero-copy { padding: 30px 26px 28px; }
  .hero h1 { font-size: clamp(49px, 14vw, 72px); line-height: 1.13; margin-bottom: 26px; letter-spacing: -.06em; }
  .primary { min-height: 46px; padding: 10px 15px; gap: 36px; font-size: 14px; }
  .hero-visual { padding: 0 16px 20px; }
  .hero-visual .photo-open { border-radius: 9px; }
  .hero-visual figcaption { padding: 12px 3px 0; }
  .hero-visual figcaption strong { font-size: 12px; }
  .archive-intro { align-items: flex-start; flex-direction: column; gap: 4px; padding: 18px 2px; margin-bottom: 22px; font-size: 12px; }
  .sidebar { margin-bottom: 20px; }
  .sidebar h2 { margin-bottom: 9px; font-size: 12px; }
  .sidebar a { font-size: 12px; }
  .search-panel { margin-bottom: 32px; padding: 20px 16px 12px; border-radius: 14px; }
  .search-top { align-items: flex-start; flex-direction: column; gap: 9px; margin-bottom: 18px; }
  .search-top h2 { font-size: 23px; }
  #result-count { padding: 0; background: transparent; text-align: left; font-size: 12px; }
  #filters { gap: 8px; }
  .search-field { gap: 7px; padding-left: 12px; }
  .search-field input { min-height: 48px; font-size: 12px; }
  select { min-height: 44px; padding: 9px 5px; font-size: 12px; }
  #reset { min-height: 44px; padding: 9px 11px; font-size: 12px; }
  .view-controls { gap: 8px; margin-top: 8px; font-size: 12px; }
  .view-controls label { gap: 6px; }
  .view-controls button { padding-left: 0; font-size: 12px; }
  .band, .supplement { margin-bottom: 48px; }
  .band-head { margin-bottom: 20px; }
  .band-head h2 { padding-left: 13px; border-left-width: 4px; margin-bottom: 19px; font-size: 31px; }
  .member-nav { gap: 7px; }
  .member-nav a { min-height: 36px; padding: 6px 11px; font-size: 12px; }
  .member { padding: 0 17px; }
  .member-head { min-height: 86px; padding: 20px 0; gap: 14px; }
  .member-title { display: block; }
  .member-head h3 { font-size: 23px; }
  .member-count { margin-top: 5px; font-size: 11px; }
  .disclosure { width: 28px; height: 28px; padding: 5px; }
  .member-notes { margin-bottom: 24px; font-size: 13px; }
  .photo-grid { grid-template-columns: 1fr; gap: 26px; margin-bottom: 26px; }
  .photo img { width: 100%; height: auto; max-height: 460px; }
  .photo figcaption strong { font-size: 12px; }
  .photo figcaption > span { font-size: 12px; }
  .table-wrap { overflow: visible; margin-bottom: 10px; }
  table, tbody { display: block; min-width: 0; }
  thead { display: none; }
  tr.gear-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 7px 12px; margin: 0; padding: 20px 0; border-bottom: 1px solid var(--subtle); }
  tr.gear-row:last-child { border-bottom: 0; }
  td { display: block; padding: 0; border: 0; font-size: 12px; }
  td:nth-child(1) { grid-column: 1; grid-row: 1; }
  td:nth-child(2) { grid-column: 1 / -1; grid-row: 2; font-size: 15px; line-height: 1.6; }
  td:nth-child(3) { grid-column: 1 / -1; grid-row: 3; margin-top: 2px; color: var(--secondary); line-height: 1.8; }
  .tag { display: inline-block; padding: 2px 7px; border-radius: 4px; background: var(--well); font-size: 11px; line-height: 1.6; }
  .permalink { margin-bottom: 20px; }
  .sources > details { padding: 20px 17px; }
  .sources ol { grid-template-columns: 1fr; gap: 28px; }
  .sources summary { font-size: 14px; }
  .sources summary > span { float: none; margin-left: 10px; font-size: 12px; }
  #empty { padding: 32px 20px; }
  #empty h3 { font-size: 21px; }
  #empty p { font-size: 13px; }
  footer { padding-top: 18px; }
  .footer-title { margin-bottom: 22px; font-size: 14vw; }
  .footer-meta { flex-direction: column; gap: 12px; font-size: 12px; }
  dialog { padding: 52px 14px 18px; max-width: 96vw; border-radius: 12px; }
  .lightbox-caption { font-size: 12px; }
}
@media (max-width: 360px) {
  .topbar { gap: 8px; }
  .wordmark { font-size: 22px; }
  .topbar nav { gap: 10px; }
  #theme { padding-right: 9px; padding-left: 9px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
@media print {
  .sidebar, .search-panel, .topbar nav, .primary, .permalink, .disclosure { display: none; }
  body { --ground: white; --paper: white; --ink: black; --secondary: #444; --subtle: #ddd; --well: #eee; --accent: #222; }
  .hero, .catalog { display: block; margin: 0; padding: 12px; }
  .hero { color: black; background: white; }
  .hero-copy { padding: 0; }
  .hero h1 { font-size: 40px; }
  .hero-visual { max-width: 450px; }
  .hero-visual figcaption strong, .hero-visual .photo figcaption > span, .hero-visual .source-link { color: black; }
  .member { padding: 10px; break-inside: avoid; }
  .member::details-content { display: block; }
  .photo-grid { max-width: 650px; }
  table { display: table; }
  thead { display: table-header-group; }
  tbody { display: table-row-group; }
  tr.gear-row { display: table-row; }
  td, th { display: table-cell; padding: 10px; }
  footer { margin-top: 40px; }
}
