@charset "UTF-8";
/* ============================================================
   Ice Age Floods Trail - shared detail-page + browse styles.
   Warm "museum / field-guide" identity (paper / basalt / iron-oxide),
   applied to the generator's existing class structure.
   ASCII-only comments (a multi-byte char here once broke :root).
   ============================================================ */

:root {
  --paper: #f3eee4;
  --paper-2: #ece3d3;
  --paper-3: #e4dac6;
  --ink: #211e19;
  --ink-soft: #5b5447;
  --faint: #8b8475;
  --line: rgba(33,30,25,.14);
  --line-2: rgba(33,30,25,.26);
  --rust: #b0552f;
  --rust-deep: #8f421f;
  --water: #2f6b86;
  --sage: #6b7355;
  --basalt: #23201b;
  --basalt-2: #2c2820;
  --on-dark: #ece3d3;
  --on-dark-soft: #a9a08c;
  --peach: #e9c9a8;
  --serif: 'Newsreader', Georgia, 'Times New Roman', serif;
  --mono: 'Spline Sans Mono', ui-monospace, 'SFMono-Regular', Menlo, monospace;
  --maxw: 1220px;
  --maxw-narrow: 820px;
  /* Type-specific accent - overridden by body[data-type] */
  --type-accent: var(--rust);
}
body[data-type="erratic"] { --type-accent: var(--sage); }
body[data-type="note"]    { --type-accent: var(--water); }
body[data-type="site"]    { --type-accent: var(--rust); }
body[data-type="paper"]   { --type-accent: var(--rust-deep); }

* , *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--serif); line-height: 1.6;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; display: block; }
a { color: var(--rust); text-decoration: none; }
::selection { background: var(--rust); color: #fff; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 40px; }
.wrap-narrow { max-width: var(--maxw-narrow); margin: 0 auto; padding: 0 40px; }

.eyebrow {
  display: block;
  font-family: var(--mono); font-size: 11px; font-weight: 500;
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--type-accent);
}

/* ===== TOP BAR ===== */
.topbar {
  display: flex; align-items: center; justify-content: space-between;
  gap: 18px 28px; flex-wrap: wrap; row-gap: 12px;
  padding: 16px 40px;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  position: sticky; top: 0; z-index: 50;
}
.wordmark {
  display: flex; align-items: center; gap: 11px;
  font-family: var(--serif); font-weight: 500; font-size: 16.5px;
  letter-spacing: .01em; color: var(--ink); text-decoration: none; flex-shrink: 0;
}
.wordmark .ngt { color: var(--faint); font-weight: 400; }
.wordmark .brand-icon { width: 26px; height: 26px; object-fit: contain; }
.wordmark::before {
  content: ''; width: 9px; height: 9px; border-radius: 50%;
  background: var(--rust); box-shadow: 0 0 0 4px rgba(176,85,47,.16);
  flex-shrink: 0;
}
.topbar nav {
  display: flex; flex-wrap: wrap; gap: 7px 20px; align-items: center;
  font-family: var(--mono); font-size: 11.5px; letter-spacing: .06em; text-transform: uppercase;
}
.topbar nav a { color: var(--ink-soft); text-decoration: none; }
.topbar nav a:hover { color: var(--rust); }

/* search box in the nav */
.search-box { position: relative; display: flex; align-items: center; width: 220px; }
.search-box input {
  width: 100%; padding: 8px 12px 8px 30px;
  background: var(--paper-2); border: 1px solid var(--line-2);
  border-radius: 3px; color: var(--ink);
  font-family: var(--mono); font-size: 12px; letter-spacing: .02em; outline: none;
}
.search-box input::placeholder { color: var(--faint); text-transform: none; letter-spacing: .02em; }
.search-box input:focus { border-color: var(--rust); background: #fff; }
.search-box::before {
  content: ''; position: absolute; left: 10px; top: 50%; transform: translateY(-50%);
  width: 13px; height: 13px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238b8475' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m21 21-4.3-4.3'/%3E%3C/svg%3E") center/contain no-repeat;
  pointer-events: none;
}
.search-results {
  display: none; position: absolute; top: calc(100% + 6px); right: 0; left: 0;
  background: var(--paper); border: 1px solid var(--line-2); border-radius: 3px;
  box-shadow: 0 12px 34px rgba(33,30,25,.16); z-index: 60; max-height: 60vh; overflow-y: auto;
}
.search-results.open { display: block; }
.search-results a {
  display: block; padding: 11px 14px; border-bottom: 1px solid var(--line);
  font-family: var(--serif); font-size: 14px; color: var(--ink-soft);
}
.search-results a:hover { background: var(--paper-2); }
.search-results a:last-child { border-bottom: 0; }
.search-results .res-title { display: block; color: var(--ink); margin-bottom: 2px; }
.search-results .res-meta { display: block; color: var(--faint); font-family: var(--mono); font-size: 10.5px; letter-spacing: .04em; }
.search-results .empty { padding: 14px; color: var(--faint); font-size: 13px; font-style: italic; }

/* ===== BREADCRUMB ===== */
.crumb {
  max-width: var(--maxw); margin: 0 auto; padding: 18px 40px 0;
  font-family: var(--mono); font-size: 11px; letter-spacing: .04em; color: var(--faint);
}
.crumb a { color: var(--faint); }
.crumb a:hover { color: var(--rust); }
.crumb .sep { margin: 0 7px; opacity: .6; }

/* ===== DETAIL HERO ===== */
.detail-hero {
  position: relative; overflow: hidden;
  padding: 56px 0 64px;
  border-bottom: 1px solid var(--line);
}
.detail-hero::before {
  /* faint topographic wash */
  content: ''; position: absolute; inset: 0; opacity: .5;
  background:
    repeating-radial-gradient(circle at 78% 18%, rgba(176,85,47,.05) 0 1px, transparent 1px 22px),
    repeating-radial-gradient(circle at 78% 18%, rgba(33,30,25,.03) 0 1px, transparent 1px 11px);
  pointer-events: none;
}
.detail-hero .hero-inner { position: relative; max-width: 880px; }
.detail-hero .hero-accent { width: 38px; height: 3px; background: var(--type-accent); margin-bottom: 18px; }
.detail-hero h1 {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(34px, 4.8vw, 60px); line-height: 1.04; letter-spacing: -.02em;
  margin: 12px 0 18px; color: var(--ink);
}
.detail-hero .sub {
  font-family: var(--serif); font-size: clamp(18px, 1.9vw, 23px);
  line-height: 1.5; color: var(--ink-soft); max-width: 54ch; margin: 0;
}
.detail-hero .facts {
  display: flex; flex-wrap: wrap; gap: 0; margin-top: 34px;
  border-top: 1px solid var(--line);
}
.detail-hero .fact {
  padding: 18px 30px 0 0; margin-right: 30px; min-width: 120px;
}
.detail-hero .fact .l {
  font-family: var(--mono); font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase;
  color: var(--faint); margin-bottom: 7px;
}
.detail-hero .fact .v {
  font-family: var(--serif); font-size: 19px; line-height: 1.25; color: var(--ink);
}
.detail-hero .fact .v small { display: block; font-family: var(--mono); font-size: 11.5px; color: var(--faint); margin-top: 2px; }

/* ===== BODY 2-COL ===== */
.detail-body { padding: 64px 0 64px; }
.detail-grid {
  display: grid; grid-template-columns: minmax(0,1fr) 340px; gap: 60px; align-items: start;
}
.detail-grid .prose { max-width: 64ch; }
.detail-grid .prose > p:first-of-type::first-letter {
  float: left; font-family: var(--serif); font-weight: 500;
  font-size: 62px; line-height: .8; padding: 6px 10px 0 0; color: var(--type-accent);
}
.detail-grid .prose p {
  font-size: 18px; line-height: 1.72; color: var(--ink-soft); margin: 0 0 20px;
}
.detail-grid .prose h2 {
  font-family: var(--serif); font-weight: 400; font-size: clamp(24px, 2.6vw, 32px);
  line-height: 1.14; letter-spacing: -.012em; color: var(--ink);
  margin: 40px 0 16px; padding-top: 18px; border-top: 1px solid var(--line);
}
.detail-grid .prose h2::before {
  content: ''; display: block; width: 30px; height: 3px;
  background: var(--type-accent); margin-bottom: 16px;
}
.detail-grid .prose h2:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.detail-grid .prose blockquote {
  margin: 28px 0; padding: 4px 0 4px 26px; border-left: 3px solid var(--type-accent);
  font-family: var(--serif); font-style: italic; font-size: 22px; line-height: 1.5; color: var(--ink);
}
.detail-grid .prose blockquote .cite {
  display: block; margin-top: 12px; font-family: var(--mono); font-style: normal;
  font-size: 11px; letter-spacing: .06em; color: var(--faint);
}

.site-hero-figure { margin: 0 0 28px; border: 1px solid var(--line); border-radius: 3px; overflow: hidden; background: var(--paper-2); }
.site-hero-figure img { width: 100%; }
.site-hero-figure figcaption { font-family: var(--mono); font-size: 11px; letter-spacing: .03em; color: var(--faint); padding: 11px 14px; }
.yt-embed { position: relative; aspect-ratio: 16/9; margin: 22px 0; border: 1px solid var(--line); border-radius: 3px; overflow: hidden; background: var(--basalt); }
.yt-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.iafi-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px,1fr)); gap: 10px; margin: 22px 0; }
.iafi-gallery .gal-item { border: 1px solid var(--line); border-radius: 3px; overflow: hidden; aspect-ratio: 4/3; }
.iafi-gallery .gal-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .25s ease; }
.iafi-gallery .gal-item:hover img { transform: scale(1.04); }

/* ===== SIDEBAR ===== */
.detail-sidebar { position: sticky; top: 92px; }
.mini-map {
  position: relative; aspect-ratio: 4/3; border: 1px solid var(--line-2);
  border-radius: 3px; overflow: hidden; background: var(--paper-3);
}
.mini-map .map-loading {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  font-family: var(--mono); font-size: 11px; letter-spacing: .08em; color: var(--faint);
}
.mini-map-caption { font-family: var(--mono); font-size: 10.5px; line-height: 1.5; letter-spacing: .02em; color: var(--faint); margin: 10px 2px 0; }
.mini-map-caption a { color: var(--faint); text-decoration: underline; text-underline-offset: 2px; }

.view-on-map-btn {
  display: flex; align-items: center; gap: 14px; margin-top: 16px; padding: 14px 16px;
  background: var(--basalt); border: 1px solid var(--basalt); border-left: 3px solid var(--rust);
  border-radius: 3px; text-decoration: none; color: var(--on-dark);
  transition: transform .15s ease, background .15s ease;
}
.view-on-map-btn:hover { background: var(--basalt-2); transform: translateY(-1px); }
.view-on-map-btn .vom-icon {
  width: 26px; height: 26px; flex-shrink: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23e9c9a8' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M1 6v15l7-3 8 3 7-3V3l-7 3-8-3-7 3z'/%3E%3Cpath d='M8 3v15'/%3E%3Cpath d='M16 6v15'/%3E%3C/svg%3E") center/contain no-repeat;
}
.view-on-map-btn .vom-text { flex: 1; min-width: 0; }
.view-on-map-btn .vom-label { display: block; font-family: var(--serif); font-weight: 500; font-size: 15px; color: #fff; }
.view-on-map-btn .vom-sub { display: block; font-family: var(--mono); font-size: 10.5px; color: var(--on-dark-soft); letter-spacing: .03em; margin-top: 3px; }
.view-on-map-btn .vom-arrow { color: var(--peach); font-size: 18px; flex-shrink: 0; transition: transform .15s ease; }
.view-on-map-btn:hover .vom-arrow { transform: translateX(3px); }

.metadata { margin-top: 22px; background: var(--paper-2); border: 1px solid var(--line); border-top: 2px solid var(--type-accent); border-radius: 3px; padding: 22px 24px; }
.metadata dl { margin: 0; display: grid; grid-template-columns: 1fr 1.6fr; gap: 12px 16px; }
.metadata dt { font-family: var(--mono); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--faint); align-self: center; }
.metadata dd { margin: 0; font-size: 14.5px; color: var(--ink-soft); line-height: 1.4; }
.metadata dd em { color: var(--faint); font-style: italic; font-size: 13px; }

/* ===== CAPTURE ROADMAP (dark basalt band) ===== */
.capture-band { position: relative; padding: 78px 0 84px; background: var(--basalt); color: var(--on-dark); border-top: 1px solid var(--line); }
.capture-band .band-head { max-width: 720px; margin-bottom: 36px; }
.capture-band .band-head .eyebrow { color: var(--peach); }
.capture-band .band-head h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(28px, 3.4vw, 42px); line-height: 1.1; letter-spacing: -.015em; margin: 14px 0 14px; color: #fff; }
.capture-band .band-head p { color: var(--on-dark-soft); font-size: 16px; line-height: 1.65; max-width: 640px; }
.capture-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px,1fr)); gap: 1px; background: rgba(236,227,211,.12); border: 1px solid rgba(236,227,211,.12); }
.capture-card { position: relative; background: var(--basalt-2); display: flex; flex-direction: column; min-height: 320px; transition: background .2s ease; }
.capture-card:hover { background: #322d24; }
.capture-card .preview {
  aspect-ratio: 16/10; position: relative; overflow: hidden;
  background:
    repeating-radial-gradient(circle at 40% 55%, rgba(176,85,47,.08) 0 1px, transparent 1px 24px),
    repeating-radial-gradient(circle at 40% 55%, rgba(236,227,211,.05) 0 1px, transparent 1px 12px),
    linear-gradient(135deg, #2b2720, #1d1a15);
}
.capture-card.captured .preview { cursor: pointer; }
.capture-card .preview .icon { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; opacity: .9; }
.capture-card .preview .icon svg { width: 64px; height: 64px; }
.capture-card .preview .icon svg, .capture-card .preview .icon svg * { stroke: #e9c9a8 !important; fill: none !important; stroke-width: 1.2; }
.capture-card .preview iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.capture-card.empty .preview::before {
  content: 'Scheduled \00B7 June 2026 capture';
  position: absolute; bottom: 14px; left: 16px;
  font-family: var(--mono); font-size: 10px; letter-spacing: .12em; text-transform: uppercase;
  color: var(--peach); border: 1px solid rgba(233,201,168,.5); border-radius: 999px;
  padding: 5px 11px; background: rgba(20,17,12,.5);
}
.capture-card .body { padding: 22px 24px; flex: 1; display: flex; flex-direction: column; }
.capture-card .label { font-family: var(--mono); font-size: 10px; letter-spacing: .18em; text-transform: uppercase; color: var(--on-dark-soft); margin-bottom: 10px; }
.capture-card h3 { font-family: var(--serif); font-size: 19px; font-weight: 400; margin: 0 0 10px; color: #fff; }
.capture-card .desc { font-size: 14.5px; color: var(--on-dark-soft); line-height: 1.55; margin: 0 0 12px; }
.capture-card .status { font-family: var(--mono); font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--on-dark-soft); margin-top: auto; padding-top: 10px; }
.capture-card.captured .preview .icon { display: none; }
.capture-card .open-btn { display: inline-block; margin-top: 12px; padding: 8px 16px; background: var(--rust); border: 1px solid var(--rust); color: #fff; font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; text-decoration: none; border-radius: 3px; align-self: flex-start; }
.capture-card .open-btn:hover { background: var(--rust-deep); }

/* ===== MODERN CONTEXT BAND (light) ===== */
.modern-band { background: var(--paper-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 78px 0; }
.modern-band .wrap-narrow { max-width: 820px; }
.modern-band .eyebrow { color: var(--water); }
.modern-band h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(28px, 3.4vw, 42px); line-height: 1.1; letter-spacing: -.015em; margin: 14px 0 22px; color: var(--ink); }
.modern-band p { font-size: 17.5px; line-height: 1.72; color: var(--ink-soft); margin: 0 0 18px; }
.modern-band .pull { font-family: var(--serif); font-style: italic; font-size: 21px; color: var(--ink); border-left: 3px solid var(--rust); padding-left: 22px; margin: 26px 0; }

/* ===== NEARBY / RELATED (light) ===== */
.nearby-band { padding: 72px 0; background: var(--paper); border-top: 1px solid var(--line); }
.nearby-band h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(24px,2.8vw,32px); letter-spacing: -.01em; margin-top: 8px; margin-bottom: 22px; color: var(--ink); }
.nearby-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px,1fr)); gap: 16px; margin-top: 24px; }
.nearby-card { background: var(--paper-2); border: 1px solid var(--line); border-top: 2px solid var(--type-accent); border-radius: 3px; padding: 22px 24px; display: block; transition: background .15s ease, transform .15s ease; }
.nearby-card:hover { background: var(--paper-3); transform: translateY(-2px); }
.nearby-card .ny-eyebrow { font-family: var(--mono); font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: var(--faint); margin-bottom: 9px; }
.nearby-card h4 { font-family: var(--serif); font-size: 18px; font-weight: 400; margin: 0 0 10px; line-height: 1.25; color: var(--ink); }
.nearby-card .ny-meta { font-family: var(--mono); font-size: 11.5px; color: var(--ink-soft); }

/* ===== BROWSE-PAGE FILTERS ===== */
.browse-filters { background: rgba(243,238,228,.96); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 24px 0; position: sticky; top: 65px; z-index: 40; backdrop-filter: blur(8px); }
.bf-row { display: flex; flex-direction: column; gap: 14px; position: relative; }
.bf-search-wrap { width: 100%; max-width: 520px; position: relative; }
.bf-count { position: absolute; top: 12px; right: 0; font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--faint); white-space: nowrap; }
@media (max-width: 720px) { .bf-count { position: static; align-self: flex-end; } }
.bf-search-wrap::before {
  content: ''; position: absolute; left: 12px; top: 50%; transform: translateY(-50%);
  width: 14px; height: 14px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238b8475' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m21 21-4.3-4.3'/%3E%3C/svg%3E") center/contain no-repeat; pointer-events: none;
}
.bf-search { width: 100%; padding: 10px 14px 10px 36px; background: var(--paper-2); border: 1px solid var(--line-2); color: var(--ink); font-family: var(--mono); font-size: 13px; border-radius: 3px; outline: none; }
.bf-search::placeholder { color: var(--faint); }
.bf-search:focus { border-color: var(--rust); background: #fff; }
.bf-filters { display: flex; flex-wrap: wrap; gap: 16px; }
.bf-filter-group { display: flex; align-items: center; gap: 10px; }
.bf-filter-label { font-family: var(--mono); font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: var(--faint); }
.bf-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.bf-chip { background: transparent; border: 1px solid var(--line-2); color: var(--ink-soft); font-family: var(--mono); font-size: 12px; padding: 5px 12px; border-radius: 999px; cursor: pointer; letter-spacing: .03em; transition: background .12s ease, border-color .12s ease, color .12s ease; }
.bf-chip:hover { color: var(--rust); border-color: var(--rust); }
.bf-chip.active { background: var(--type-accent); border-color: var(--type-accent); color: #fff; }

/* ===== FOOTER (dark basalt) ===== */
footer.site { padding: 40px 0 50px; background: var(--basalt); color: var(--on-dark-soft); font-family: var(--mono); font-size: 11.5px; letter-spacing: .04em; }
footer.site .row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px; }
footer.site a { color: var(--on-dark-soft); text-decoration: underline; text-underline-offset: 2px; }
footer.site a:hover { color: var(--on-dark); }

/* ===== INJECTED RESEARCH BODIES ===== */
.detail-grid .prose .research-body { margin: 0 0 18px; padding: 6px 0 0; }
.detail-grid .prose .research-body > p:first-child { margin-top: 14px; }
.detail-grid .prose .research-body p { font-size: 17px; line-height: 1.72; margin: 0 0 16px; color: var(--ink-soft); }
.detail-grid .prose .research-body p:last-child { margin-bottom: 0; }
.detail-grid .prose .research-body h3, .detail-grid .prose .research-body h4 { font-family: var(--serif); font-weight: 400; margin: 26px 0 10px; letter-spacing: -.008em; color: var(--ink); }
.detail-grid .prose .research-body h3 { font-size: 21px; }
.detail-grid .prose .research-body h4 { font-size: 13px; font-family: var(--mono); letter-spacing: .14em; color: var(--type-accent); text-transform: uppercase; margin-top: 22px; }
.detail-grid .prose .research-body ul, .detail-grid .prose .research-body ol { margin: 0 0 18px; padding-left: 22px; }
.detail-grid .prose .research-body li { font-size: 17px; line-height: 1.65; margin-bottom: 8px; color: var(--ink-soft); }
.detail-grid .prose .research-body li::marker { color: var(--type-accent); }
.detail-grid .prose .research-body strong { color: var(--ink); font-weight: 600; }
.detail-grid .prose .research-body em { color: var(--ink); font-style: italic; }
.detail-grid .prose .research-body a { color: var(--type-accent); border-bottom: 1px solid rgba(176,85,47,.3); }
.detail-grid .prose .research-body a:hover { border-bottom-color: var(--type-accent); }
.detail-grid .prose .research-body hr { border: 0; border-top: 1px solid var(--line); margin: 28px 0; }
.detail-grid .prose .researcher-bio-rich { background: var(--paper-2); border: 1px solid var(--line); border-left: 3px solid var(--type-accent); border-radius: 3px; padding: 22px 26px 8px; margin-top: 0; }
.detail-grid .prose .lithology-body > p:first-child { font-size: 18px; color: var(--ink); }

/* ===== RESPONSIVE ===== */
@media (max-width: 880px) {
  .detail-grid { grid-template-columns: 1fr; gap: 40px; }
  .detail-sidebar { position: static; }
  .wrap, .crumb { padding-left: 28px; padding-right: 28px; }
  .topbar { padding-left: 24px; padding-right: 24px; }
}
@media (max-width: 600px) {
  .wrap, .wrap-narrow, .crumb { padding-left: 22px; padding-right: 22px; }
  .search-box { width: 100%; }
  .detail-hero { padding: 40px 0 48px; }
}

@media print {
  .topbar, .detail-sidebar, .capture-band, .browse-filters { display: none; }
  body { background: #fff; color: #000; }
  .detail-grid .prose .research-body { break-inside: avoid-page; }
}

/* ============================================================
   2026-06 CURATED CATALOG LAYOUTS (handoff-faithful)
   Per-type pages compose these on top of the shared chrome above.
   Eyebrows are rust site-wide here; the per-type --type-accent now
   only drives the mini-map marker color (set via data-color).
   ============================================================ */
.eyebrow { color: var(--rust); }
.eyebrow.on-dark { color: var(--peach); }
.mono { font-family: var(--mono); }

/* ---- Specimen / record 2-col header (erratic + note) ---- */
.spec-header { padding: 18px 0 64px; }
.record-header { padding: 18px 0 64px; }
.spec-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 48px; align-items: start; }
.note-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: start; }

.spec-plate {
  position: relative; aspect-ratio: 4/5; border: 1px solid var(--line-2);
  border-radius: 3px; overflow: hidden;
  background:
    repeating-linear-gradient(135deg, rgba(33,30,25,.05) 0 2px, transparent 2px 11px),
    linear-gradient(160deg, #dfd4be, #d4c7ad);
}
.spec-plate .pt { position: absolute; width: 16px; height: 16px; }
.spec-plate .pt.tl { top: 14px; left: 14px; border-top: 1px solid var(--line-2); border-left: 1px solid var(--line-2); }
.spec-plate .pt.tr { top: 14px; right: 14px; border-top: 1px solid var(--line-2); border-right: 1px solid var(--line-2); }
.spec-plate .pt.bl { bottom: 14px; left: 14px; border-bottom: 1px solid var(--line-2); border-left: 1px solid var(--line-2); }
.spec-plate .pt.br { bottom: 14px; right: 14px; border-bottom: 1px solid var(--line-2); border-right: 1px solid var(--line-2); }
.spec-plate-center { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; text-align: center; padding: 24px; }
.spec-ring { width: 62px; height: 62px; border-radius: 50%; border: 1.5px solid var(--rust); display: flex; align-items: center; justify-content: center; font-family: var(--mono); font-size: 11px; letter-spacing: .06em; color: var(--rust); }
.spec-cap { font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); }
.spec-sched { font-family: var(--mono); font-size: 10.5px; letter-spacing: .1em; color: var(--rust); border: 1px solid rgba(176,85,47,.5); padding: 5px 12px; border-radius: 999px; }
.spec-foot { position: absolute; left: 14px; bottom: 14px; font-family: var(--mono); font-size: 9.5px; letter-spacing: .05em; color: var(--faint); }

.spec-identity .eyebrow { margin-bottom: 16px; }
.spec-h1 { font-family: var(--serif); font-weight: 300; font-size: clamp(34px,4.6vw,56px); line-height: 1.02; letter-spacing: -.02em; margin: 0 0 18px; color: var(--ink); }
.spec-hook { font-family: var(--serif); font-size: 21px; font-style: italic; line-height: 1.5; color: var(--ink-soft); margin: 0 0 26px; max-width: 40ch; }

.data-table { border-top: 1px solid var(--line); }
.dt-row { display: flex; justify-content: space-between; gap: 20px; padding: 11px 0; border-bottom: 1px solid var(--line); }
.dt-l { font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--faint); }
.dt-v { font-size: 15px; text-align: right; }
.dt-v .mono { font-family: var(--mono); }

/* notebook page (note detail) */
.notebook-card {
  position: relative; background: #f6f1e6; border: 1px solid var(--line-2); border-radius: 3px;
  padding: 34px 34px 30px; box-shadow: 0 1px 3px rgba(0,0,0,.06);
  background-image: linear-gradient(var(--line) 1px, transparent 1px);
  background-size: 100% 30px; background-position: 0 64px;
}
.nb-head { font-family: var(--mono); font-size: 11px; letter-spacing: .12em; color: var(--faint); margin-bottom: 18px; border-bottom: 1px solid var(--line-2); padding-bottom: 10px; }
.nb-text { font-family: var(--serif); font-size: 19px; line-height: 30px; color: var(--ink); margin: 0; }

/* ---- Sticky narrative (story / what it means / the place) ---- */
.story-band { background: var(--paper-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 72px 0; }
.story-band.plain { background: var(--paper); border-top: 0; border-bottom: 0; }
.story-inner { display: grid; grid-template-columns: 180px 1fr; gap: 48px; align-items: start; }
.story-label { position: sticky; top: 90px; }
.story-sub { font-family: var(--mono); font-size: 11px; color: var(--faint); margin-top: 8px; }
.story-prose { max-width: 62ch; }
.story-lede { font-family: var(--serif); font-size: clamp(20px,2.1vw,26px); line-height: 1.46; margin: 0 0 26px; letter-spacing: -.01em; color: var(--ink); }
.story-prose p { font-size: 18px; line-height: 1.72; color: var(--ink-soft); margin: 0 0 20px; }
.story-prose p:last-child { margin-bottom: 0; }
.story-prose strong { color: var(--ink); }

/* folded-in research bodies */
.research-block { margin: 26px 0 0; }
.research-block > h3 { font-family: var(--serif); font-weight: 400; font-size: 21px; color: var(--ink); margin: 0 0 12px; padding-top: 18px; border-top: 1px solid var(--line); letter-spacing: -.008em; }
.story-prose .research-body p { font-size: 17px; line-height: 1.7; margin: 0 0 14px; color: var(--ink-soft); }
.story-prose .research-body h3 { font-family: var(--serif); font-weight: 400; font-size: 19px; color: var(--ink); margin: 22px 0 8px; }
.story-prose .research-body h4 { font-family: var(--mono); font-size: 12.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--rust); margin: 20px 0 8px; }
.story-prose .research-body ul, .story-prose .research-body ol { margin: 0 0 14px; padding-left: 20px; }
.story-prose .research-body li { font-size: 16.5px; line-height: 1.6; color: var(--ink-soft); margin-bottom: 6px; }
.story-prose .research-body li::marker { color: var(--rust); }
.story-prose .research-body a { color: var(--rust); border-bottom: 1px solid rgba(176,85,47,.3); }
.story-prose .research-body strong { color: var(--ink); }
.story-prose .research-body em { font-style: italic; color: var(--ink); }
.research-body.researcher-bio-rich { background: var(--paper); border: 1px solid var(--line); border-left: 3px solid var(--rust); border-radius: 3px; padding: 20px 24px 6px; }

/* ---- Journey diagram (erratic) ---- */
.journey-band { padding: 72px 0; }
.journey-band .eyebrow { margin-bottom: 30px; }
.journey { position: relative; display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.journey-line { position: absolute; top: 9px; left: 16%; right: 16%; height: 1px; border-top: 1px dashed var(--line-2); }
.journey-node { text-align: center; position: relative; }
.jn-dot { width: 18px; height: 18px; border-radius: 50%; margin: 0 auto 18px; }
.jn-dot.origin { background: var(--rust); box-shadow: 0 0 0 5px rgba(176,85,47,.16); }
.jn-dot.water { width: 14px; height: 14px; background: var(--paper); border: 2px solid var(--water); margin: 2px auto 20px; }
.jn-dot.rest { background: var(--basalt); box-shadow: 0 0 0 5px rgba(35,32,27,.12); }
.jn-mlabel { font-family: var(--mono); font-size: 11px; letter-spacing: .06em; color: var(--rust); margin-bottom: 8px; }
.jn-mlabel.water { color: var(--water); }
.jn-mlabel.rest { color: var(--basalt); }
.jn-title { font-family: var(--serif); font-size: 20px; margin-bottom: 8px; color: var(--ink); }
.jn-desc { font-size: 14px; line-height: 1.55; color: var(--ink-soft); margin: 0 auto; max-width: 30ch; }

/* ---- Original-record card (erratic) ---- */
.record-band { background: var(--paper-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 64px 0; }
.record-band .story-label { position: static; padding-top: 6px; }
.record-card { background: var(--paper); border: 1px solid var(--line); border-left: 3px solid var(--rust); border-radius: 3px; padding: 32px 34px; max-width: 62ch; }
.record-meta { font-family: var(--mono); font-size: 11px; letter-spacing: .08em; color: var(--faint); margin-bottom: 14px; }
.record-quote { font-family: var(--serif); font-size: 21px; line-height: 1.55; color: var(--ink); margin: 0 0 16px; }
.record-note { font-size: 14.5px; line-height: 1.6; color: var(--ink-soft); margin: 0; }

/* ---- Capture roadmap (dark band, shared by all detail types) ---- */
.roadmap-band { background: var(--basalt); color: var(--on-dark); border-top: 1px solid rgba(236,227,211,.1); padding: 72px 0 78px; }
.roadmap-head { max-width: 62ch; margin-bottom: 36px; }
.roadmap-head .eyebrow { color: var(--peach); }
.roadmap-head h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(26px,3.2vw,38px); line-height: 1.12; letter-spacing: -.015em; margin: 14px 0 0; color: #fff; }
.rm-intro { font-size: 17px; line-height: 1.62; color: var(--on-dark-soft); margin: 14px 0 0; max-width: 58ch; }
.roadmap-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1px; background: rgba(236,227,211,.12); border: 1px solid rgba(236,227,211,.12); border-radius: 3px; overflow: hidden; }
.roadmap-card { background: var(--basalt-2); padding: 28px 26px; }
.roadmap-card.star { background: #33291f; border-top: 2px solid var(--rust); }
.rc-label { font-family: var(--mono); font-size: 11px; letter-spacing: .08em; color: var(--on-dark-soft); margin-bottom: 14px; }
.roadmap-card.star .rc-label { color: var(--peach); }
.rc-title { font-family: var(--serif); font-size: 20px; color: #fff; margin-bottom: 8px; }
.rc-desc { font-size: 14px; line-height: 1.6; color: var(--on-dark-soft); margin: 0; }
.roadmap-note { font-family: var(--mono); font-size: 11.5px; letter-spacing: .03em; color: var(--faint); margin: 24px 0 0; }

/* ---- Related grid (shared) ---- */
.related-band { padding: 64px 0 30px; }
.related-eyebrow { margin-bottom: 26px; }
.related-grid { display: grid; gap: 18px; }
.related-grid.cols-4 { grid-template-columns: repeat(4,1fr); }
.related-grid.cols-3 { grid-template-columns: repeat(3,1fr); }
.related-card { border: 1px solid var(--line); border-radius: 3px; padding: 22px 22px 24px; background: var(--paper-2); display: block; transition: background .15s ease, transform .15s ease; }
.related-card:hover { background: var(--paper-3); transform: translateY(-2px); }
.rel-meta { font-family: var(--mono); font-size: 10.5px; color: var(--faint); margin-bottom: 10px; }
.rel-title { font-family: var(--serif); font-size: 19px; margin-bottom: 6px; color: var(--ink); }
.rel-blurb { font-size: 13.5px; line-height: 1.5; color: var(--ink-soft); margin: 0; }

/* ---- Locator (in-system mini-map section) ---- */
.locator-band { padding: 64px 0; border-top: 1px solid var(--line); }
.locator-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center; }
.locator-map .mini-map { aspect-ratio: 16/10; }
.locator-text .eyebrow { margin-bottom: 14px; }
.locator-text p { font-size: 16.5px; line-height: 1.65; color: var(--ink-soft); margin: 0 0 20px; max-width: 44ch; }
.locator-text .view-on-map-btn { max-width: 380px; }

/* ---- Site detail ---- */
.site-hero-wrap { padding: 8px 0 0; }
.site-hero { position: relative; border: 1px solid var(--line-2); border-radius: 4px; overflow: hidden; aspect-ratio: 21/9; min-height: 300px; }
.site-hero.has-photo img { width: 100%; height: 100%; object-fit: cover; }
.site-hero.placeholder {
  background:
    repeating-linear-gradient(135deg, rgba(236,227,211,.04) 0 2px, transparent 2px 13px),
    repeating-radial-gradient(circle at 32% 64%, rgba(176,85,47,.07) 0 1px, transparent 1px 30px),
    linear-gradient(160deg, #2c2820, #191510);
}
.site-hero .pt { position: absolute; width: 20px; height: 20px; }
.site-hero .pt.tl { top: 16px; left: 16px; border-top: 1px solid rgba(236,227,211,.4); border-left: 1px solid rgba(236,227,211,.4); }
.site-hero .pt.tr { top: 16px; right: 16px; border-top: 1px solid rgba(236,227,211,.4); border-right: 1px solid rgba(236,227,211,.4); }
.site-hero .pt.bl { bottom: 16px; left: 16px; border-bottom: 1px solid rgba(236,227,211,.4); border-left: 1px solid rgba(236,227,211,.4); }
.site-hero .pt.br { bottom: 16px; right: 16px; border-bottom: 1px solid rgba(236,227,211,.4); border-right: 1px solid rgba(236,227,211,.4); }
.sh-chip { position: absolute; left: 16px; top: 16px; font-family: var(--mono); font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; background: var(--rust); color: #fff; padding: 6px 12px; border-radius: 999px; }
.sh-center { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 14px; padding: 24px; }
.sh-loc { font-family: var(--mono); font-size: 12px; letter-spacing: .2em; color: rgba(236,227,211,.85); }
.sh-pill { font-family: var(--mono); font-size: 11px; letter-spacing: .12em; color: var(--peach); border: 1px solid rgba(233,201,168,.5); padding: 6px 14px; border-radius: 999px; }
.sh-foot { position: absolute; left: 18px; bottom: 16px; font-family: var(--mono); font-size: 10.5px; letter-spacing: .05em; color: rgba(236,227,211,.55); }
.site-title { padding: 44px 0 8px; }
.site-title .eyebrow { margin-bottom: 16px; }
.site-h1 { font-family: var(--serif); font-weight: 300; font-size: clamp(40px,6vw,76px); line-height: 1; letter-spacing: -.025em; margin: 0 0 18px; max-width: 16ch; color: var(--ink); }
.site-lede { font-family: var(--serif); font-size: clamp(18px,1.6vw,22px); line-height: 1.5; color: var(--ink-soft); max-width: 54ch; margin: 0; }
.site-facts { padding: 36px 0 8px; }
.fact-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 3px; overflow: hidden; }
.fact-cell { background: var(--paper-2); padding: 22px 24px; }
.fc-label { font-family: var(--mono); font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--faint); margin-bottom: 9px; }
.fc-value { font-family: var(--serif); font-size: 19px; line-height: 1.2; color: var(--ink); }
.fc-sub { font-family: var(--mono); font-size: 12px; color: var(--faint); }
.media-band { padding: 48px 0; }
.media-band .eyebrow { margin-bottom: 20px; }
.crosslink-band { padding: 56px 0; background: var(--paper-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.crosslink { display: grid; grid-template-columns: 1.3fr 1fr; text-decoration: none; color: inherit; border: 1px solid var(--line-2); border-radius: 3px; overflow: hidden; background: var(--basalt); }
.cl-photo { position: relative; min-height: 280px; background-size: cover; background-position: center 42%; }
.cl-text { padding: 38px 36px; color: var(--on-dark); display: flex; flex-direction: column; justify-content: center; }
.cl-text .eyebrow { margin-bottom: 12px; }
.cl-title { font-family: var(--serif); font-size: clamp(22px,2.4vw,28px); line-height: 1.1; color: #fff; margin-bottom: 12px; }
.cl-text p { font-size: 15px; line-height: 1.6; color: var(--on-dark-soft); margin: 0 0 18px; }
.cl-cta { font-family: var(--mono); font-size: 12px; letter-spacing: .08em; color: var(--peach); }
.sources-band { padding: 56px 0; }
.sources-band .eyebrow { margin-bottom: 16px; }
.src-list { border-top: 1px solid var(--line); max-width: 680px; }
.src-row { padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 15px; color: var(--ink-soft); }
.src-tag { font-family: var(--mono); font-size: 11px; color: var(--rust); margin-right: 10px; }
.src-row a { color: var(--rust); }
.cta-band { background: var(--basalt); color: var(--on-dark); }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding: 54px 40px; text-decoration: none; color: inherit; }
.cta-title { font-family: var(--serif); font-size: clamp(24px,3vw,34px); color: #fff; line-height: 1.1; }
.cta-pill { font-family: var(--mono); font-size: 13px; letter-spacing: .08em; color: var(--peach); border: 1px solid rgba(233,201,168,.5); padding: 14px 22px; border-radius: 999px; white-space: nowrap; }

/* ============================================================
   CURATED BROWSE INDEXES (featured cards / specimen grid / ledger)
   ============================================================ */
.cat-intro { padding: 24px 0 52px; }
.cat-intro-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 60px; align-items: end; }
.cat-h1 { font-family: var(--serif); font-weight: 300; font-size: clamp(40px,6vw,76px); line-height: 1; letter-spacing: -.025em; margin: 0 0 22px; color: var(--ink); }
.cat-lede { font-size: 18.5px; line-height: 1.66; color: var(--ink-soft); margin: 0; max-width: 56ch; }
.stat-block { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 3px; overflow: hidden; }
.stat-cell { background: var(--paper-2); padding: 22px; }
.stat-num { font-family: var(--serif); font-size: 34px; line-height: 1; color: var(--ink); }
.stat-lab { font-family: var(--mono); font-size: 11px; letter-spacing: .05em; color: var(--faint); margin-top: 8px; }

/* filter bar restyled to the static museum bar (overrides the sticky base) */
.browse-filters { position: static; top: auto; background: transparent; backdrop-filter: none; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 16px 0; margin-bottom: 36px; }
.browse-filters .bf-row { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 12px 16px; }
.bf-filter-group { display: flex; align-items: center; gap: 10px; }
.bf-search-wrap { position: relative; flex: 1; min-width: 200px; max-width: 320px; }
.bf-sort { font-family: var(--mono); font-size: 11px; letter-spacing: .04em; color: var(--faint); margin-left: auto; white-space: nowrap; }
.bf-chip.active { background: var(--rust); border-color: var(--rust); color: #fff; }

.catalog { padding: 0 0 80px; }
.catalog-foot { margin-top: 30px; border-top: 1px solid var(--line); padding-top: 20px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-family: var(--mono); font-size: 11.5px; letter-spacing: .04em; color: var(--faint); }
.browse-item { text-decoration: none; color: inherit; display: block; }

/* sites: featured + profile cards */
.sites-catalog { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; }
.site-feature { grid-column: span 3; display: grid; grid-template-columns: 1.5fr 1fr; border: 1px solid var(--line-2); border-radius: 3px; overflow: hidden; background: var(--basalt); }
.sf-photo { position: relative; min-height: 340px; background-size: cover; background-position: center 42%; }
.sf-badge { position: absolute; left: 16px; top: 16px; font-family: var(--mono); font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; background: var(--rust); color: #fff; padding: 6px 12px; border-radius: 999px; }
.sf-text { padding: 40px 36px; color: var(--on-dark); display: flex; flex-direction: column; justify-content: center; }
.sf-text .eyebrow { margin-bottom: 12px; }
.sf-title { font-family: var(--serif); font-weight: 400; font-size: clamp(24px,2.6vw,32px); line-height: 1.1; margin: 0 0 14px; color: #fff; }
.sf-blurb { font-size: 16px; line-height: 1.6; color: var(--on-dark-soft); margin: 0 0 20px; }
.sf-cta { font-family: var(--mono); font-size: 12px; letter-spacing: .08em; color: var(--peach); }
.site-card { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 3px; overflow: hidden; background: var(--paper-2); transition: transform .15s ease, border-color .15s ease; }
.site-card:hover { transform: translateY(-2px); border-color: var(--line-2); }
.sc-thumb { position: relative; aspect-ratio: 4/3; background-size: cover; background-position: center; }
.sc-thumb.no-photo { background: repeating-linear-gradient(135deg, rgba(33,30,25,.04) 0 2px, transparent 2px 12px), linear-gradient(160deg, var(--paper-3), #d8ccb4); }
.sc-badge { position: absolute; left: 12px; top: 12px; font-family: var(--mono); font-size: 9.5px; letter-spacing: .08em; text-transform: uppercase; background: rgba(47,107,134,.92); color: #fff; padding: 5px 10px; border-radius: 999px; }
.site-card .sc-body { padding: 18px 20px 22px; }
.sc-title { font-family: var(--serif); font-weight: 500; font-size: 20px; margin: 0 0 6px; color: var(--ink); }
.site-card .sc-meta { font-family: var(--mono); font-size: 11px; color: var(--faint); margin-bottom: 10px; }
.sc-blurb { font-size: 14px; line-height: 1.55; color: var(--ink-soft); margin: 0; }

/* erratics: specimen-card divider grid */
.erratics-catalog { display: grid; grid-template-columns: repeat(3,1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 3px; overflow: hidden; }
.spec-card { background: var(--paper); padding: 28px 28px 30px; display: flex; flex-direction: column; gap: 10px; transition: background .15s ease; }
.spec-card:hover { background: var(--paper-3); }
.sc-top { display: flex; justify-content: space-between; align-items: baseline; }
.sc-lith { font-family: var(--mono); font-size: 11px; letter-spacing: .08em; color: var(--rust); }
.sc-elev { font-family: var(--mono); font-size: 11px; color: var(--faint); }
.sc-name { font-family: var(--serif); font-size: 23px; line-height: 1.1; color: var(--ink); }
.sc-desc { font-size: 14.5px; line-height: 1.6; color: var(--ink-soft); margin: 0; }
.spec-card .sc-foot { margin-top: auto; font-family: var(--mono); font-size: 10.5px; letter-spacing: .05em; color: var(--faint); padding-top: 12px; }

/* notes: catalog ledger */
.ledger-head { display: grid; grid-template-columns: 130px 1.1fr 1.5fr; gap: 24px; padding: 14px 4px; font-family: var(--mono); font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--faint); border-bottom: 1px solid var(--line-2); }
.ledger-row { display: grid; grid-template-columns: 130px 1.1fr 1.5fr; gap: 24px; align-items: baseline; padding: 22px 4px; border-bottom: 1px solid var(--line); border-left: 2px solid transparent; transition: border-color .12s ease, background .12s ease; }
.ledger-row:hover { border-left-color: var(--rust); background: var(--paper-2); }
.lr-cat { font-family: var(--mono); font-size: 13px; color: var(--rust); }
.lr-year { display: block; font-size: 11px; color: var(--faint); margin-top: 4px; }
.lr-name { font-family: var(--serif); font-size: 20px; line-height: 1.2; color: var(--ink); }
.lr-region { font-family: var(--mono); font-size: 11px; color: var(--faint); margin-top: 5px; }
.lr-note { font-family: var(--serif); font-style: italic; font-size: 16px; line-height: 1.5; color: var(--ink-soft); }

/* ---- Curated-layout responsive (880 / 600 breakpoints) ---- */
@media (max-width: 880px) {
  .spec-grid, .note-grid { grid-template-columns: 1fr; gap: 32px; }
  .story-inner { grid-template-columns: 1fr; gap: 16px; }
  .story-label, .record-band .story-label { position: static; }
  .journey { grid-template-columns: 1fr; gap: 36px; }
  .journey-line { display: none; }
  .roadmap-grid { grid-template-columns: 1fr; }
  .related-grid.cols-4 { grid-template-columns: repeat(2,1fr); }
  .related-grid.cols-3 { grid-template-columns: 1fr; }
  .locator-grid { grid-template-columns: 1fr; gap: 26px; }
  .fact-grid { grid-template-columns: repeat(2,1fr); }
  .crosslink { grid-template-columns: 1fr; }
  .cl-photo { min-height: 200px; }
  .cat-intro-grid { grid-template-columns: 1fr; gap: 32px; }
  .sites-catalog, .erratics-catalog { grid-template-columns: repeat(2,1fr); }
  .site-feature { grid-column: span 2; grid-template-columns: 1fr; }
  .ledger-head { display: none; }
  .ledger-row { grid-template-columns: 1fr; gap: 6px; }
}
@media (max-width: 600px) {
  .related-grid.cols-4 { grid-template-columns: 1fr; }
  .fact-grid { grid-template-columns: 1fr; }
  .sites-catalog, .erratics-catalog { grid-template-columns: 1fr; }
  .site-feature { grid-column: auto; }
  .cta-inner { padding: 40px 22px; }
}
