/* ================================================================
   ORDER OF BARTHOLOMEW — STYLESHEET
   Design language: a sealed manuscript / ledger. Carved-stone
   display type (Cinzel) over hand-set body serif (EB Garamond),
   aged gold leaf on near-black vellum, corner-bracket framing
   lifted from illuminated-manuscript page furniture.
================================================================= */

:root {
  /* -- surfaces -- */
  --bg: #070605;
  --bg-panel: #121110;
  --bg-panel-raised: #17140f;
  --bg-inset: #0b0a09;
  --locked-bg: #0f0e0d;

  /* -- gold system -- */
  --gold: #b8934a;
  --gold-bright: #d9b46a;
  --gold-dim: #5c4a26;
  --gold-wash: rgba(184, 147, 74, 0.06);
  --gold-wash-strong: rgba(184, 147, 74, 0.12);

  /* -- ink -- */
  --line: #2a2621;
  --text: #e7dfd0;
  --text-muted: #8a8378;
  --text-faint: #4a453d;
  --error: #b8452f;

  /* -- rhythm -- */
  --content-w: 720px;
  --wide-w: 1040px;
  --radius: 6px;
  --radius-sm: 4px;

  color-scheme: dark;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
}

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'EB Garamond', serif;
}

body {
  background:
    radial-gradient(ellipse 900px 600px at 50% 0%, rgba(184,147,74,0.05) 0%, transparent 60%),
    radial-gradient(ellipse at center, #141210 0%, #060504 80%);
}

img { max-width: 100%; display: block; }

a { color: inherit; }

.skip-link {
  position: absolute;
  left: -999px;
  top: auto;
  background: var(--gold);
  color: #0a0908;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  z-index: 200;
  font-family: 'Cinzel', serif;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
}
.skip-link:focus {
  left: 16px;
  top: 16px;
}

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

:focus-visible {
  outline: 2px solid var(--gold-bright);
  outline-offset: 3px;
}

/* ================================================================
   SITE HEADER / NAV
================================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(7, 6, 5, 0.82);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.nav-inner {
  max-width: var(--wide-w);
  margin: 0 auto;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex: none;
}

.brand-mark { width: 34px; height: 34px; border-radius: 50%; }

.brand-word {
  font-family: 'Cinzel', serif;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--gold-bright);
  white-space: nowrap;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 26px;
}

.primary-nav a {
  font-family: 'Cinzel', serif;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--text-muted);
  transition: color 0.2s ease;
  white-space: nowrap;
}

.primary-nav a:hover { color: var(--gold-bright); }
.primary-nav a.is-active:not(.btn-nav-cta) { color: var(--gold-bright); }

.btn-nav-cta {
  border: 1px solid var(--gold-dim);
  border-radius: var(--radius-sm);
  padding: 9px 16px;
  color: var(--gold-bright) !important;
}
.btn-nav-cta:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: #0a0908 !important;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  cursor: pointer;
}
.nav-toggle-bar {
  width: 18px;
  height: 1.5px;
  background: var(--gold-bright);
  display: block;
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ================================================================
   SHARED LAYOUT PRIMITIVES
================================================================= */
.section {
  max-width: var(--wide-w);
  margin: 0 auto;
  padding: 96px 20px;
}

.section + .section { padding-top: 0; }

.section-title {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}

.section-num {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--gold);
  color: var(--gold-bright);
  font-family: 'Cinzel', serif;
  font-size: 0.85rem;
  font-weight: 700;
  border-radius: var(--radius-sm);
  background: var(--gold-wash);
  flex: none;
}

.section-title h2 {
  font-family: 'Cinzel', serif;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  margin: 0;
  color: var(--gold-bright);
}

.section-title-sub { margin-top: 4px; }
.section-title-sub .section-num { font-size: 0.6rem; width: 40px; letter-spacing: 0.02em; }
.section-title-sub h3 {
  font-family: 'Cinzel', serif;
  font-size: 1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0;
  color: var(--text);
}

.section-intro {
  color: var(--text-muted);
  font-size: 1rem;
  font-style: italic;
  line-height: 1.65;
  max-width: 640px;
  margin: 0 0 44px;
}

.card {
  background: var(--bg-panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow:
    0 0 0 1px rgba(184,147,74,0.06),
    0 20px 50px rgba(0,0,0,0.5);
  padding: 36px 26px;
  position: relative;
}

.card::before,
.card::after {
  content: "";
  position: absolute;
  width: 14px;
  height: 14px;
  border: 1px solid var(--gold);
  opacity: 0.5;
}
.card::before { top: 10px; left: 10px; border-right: none; border-bottom: none; }
.card::after { bottom: 10px; right: 10px; border-left: none; border-top: none; }

.card + .card { margin-top: 22px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 28px;
  border-radius: var(--radius-sm);
  font-family: 'Cinzel', serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
}
.btn:active { transform: translateY(1px); }

.btn-primary {
  background: var(--gold);
  border: 1px solid var(--gold);
  color: #0a0908;
}
.btn-primary:hover { background: var(--gold-bright); border-color: var(--gold-bright); }

.btn-ghost {
  background: transparent;
  border: 1px solid var(--gold-dim);
  color: var(--gold-bright);
}
.btn-ghost:hover { background: var(--gold-wash-strong); border-color: var(--gold); }

/* ================================================================
   HERO
================================================================= */
.hero {
  min-height: min(92vh, 820px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 20px 60px;
  position: relative;
}

.hero-frame { max-width: 620px; position: relative; }

.hero-emblem {
  width: 88px;
  height: 88px;
  margin: 0 auto 24px;
  animation: emblem-in 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

@keyframes emblem-in {
  from { opacity: 0; transform: scale(0.85) rotate(-6deg); }
  to { opacity: 1; transform: scale(1) rotate(0deg); }
}

.eyebrow {
  color: var(--gold);
  font-family: 'Cinzel', serif;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin: 0 0 18px;
}

.hero h1 {
  font-family: 'Cinzel', serif;
  color: var(--gold-bright);
  font-size: clamp(2.1rem, 6vw, 3.6rem);
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  margin: 0 0 22px;
  line-height: 1.15;
  text-shadow: 0 0 40px rgba(184,147,74,0.18);
}

.hero-lede {
  color: var(--text-muted);
  font-size: 1.08rem;
  line-height: 1.7;
  max-width: 520px;
  margin: 0 auto 22px;
}

.hero-motto {
  font-family: 'Cinzel', serif;
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 14px 0;
  margin: 0 auto 36px;
  max-width: 420px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

.scroll-cue {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--gold);
  opacity: 0.7;
  animation: bob 2.4s ease-in-out infinite;
  display: inline-flex;
}
.scroll-cue:hover { opacity: 1; }

@keyframes bob {
  0%, 100% { transform: translate(-50%, 0); }
  50% { transform: translate(-50%, 8px); }
}

/* ================================================================
   ABOUT
================================================================= */
.about-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 56px;
  align-items: start;
  margin-bottom: 56px;
}

.about-copy p {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--text);
  margin: 0 0 20px;
}

.about-closing {
  font-style: italic;
  color: var(--gold-bright);
  border-left: 2px solid var(--gold-dim);
  padding-left: 18px;
}

.about-specimens {
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding-top: 8px;
}

.specimen {
  margin: 0;
  border: 1px solid var(--line);
  background: var(--bg-panel);
  border-radius: var(--radius);
  overflow: hidden;
  width: 78%;
}

.specimen-offset { align-self: flex-end; }

.specimen img {
  width: 100%;
  aspect-ratio: 204 / 185;
  object-fit: cover;
  filter: saturate(0.9) contrast(1.05);
}

.specimen figcaption {
  font-family: 'Cinzel', serif;
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding: 10px 12px;
  border-top: 1px solid var(--line);
}

/* stat strip */
.stat-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  margin: 0;
}

.stat {
  background: var(--bg-panel);
  padding: 24px 20px;
}

.stat dt {
  font-family: 'Cinzel', serif;
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
}

.stat dd {
  margin: 0;
  font-size: 1.6rem;
  color: var(--gold-bright);
  font-family: 'Cinzel', serif;
  line-height: 1.2;
}

.stat dd span {
  display: block;
  font-family: 'EB Garamond', serif;
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 400;
  margin-top: 6px;
  text-transform: none;
  letter-spacing: 0;
}

.stat dd.stat-text {
  font-family: 'EB Garamond', serif;
  font-size: 0.98rem;
  color: var(--text);
  font-style: italic;
  line-height: 1.5;
}
.stat dd.stat-text span {
  font-style: normal;
  color: var(--gold);
}

/* ================================================================
   RARITY LEDGER  (accordion / "dossier" cards)
================================================================= */
.ledger {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.dossier {
  background: var(--bg-panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.dossier[open] { border-color: var(--gold-dim); }

.dossier summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 22px;
  transition: background 0.2s ease;
}
.dossier summary::-webkit-details-marker { display: none; }
.dossier summary:hover { background: rgba(184,147,74,0.04); }
.dossier summary:focus-visible { outline-offset: -3px; }

.dossier-seal {
  flex: none;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1px solid var(--gold);
  background:
    radial-gradient(circle at 35% 30%, rgba(217,180,106,0.35), transparent 60%),
    var(--gold-wash);
  position: relative;
}
.dossier-seal::before {
  content: "";
  position: absolute;
  inset: 8px;
  border: 1px solid var(--gold-dim);
  border-radius: 50%;
}

.dossier-heading {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.dossier-name {
  font-family: 'Cinzel', serif;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--text);
}
.dossier-name small {
  font-family: 'EB Garamond', serif;
  font-style: italic;
  font-weight: 400;
  color: var(--text-muted);
  font-size: 0.8em;
}

.dossier-meta {
  font-size: 0.82rem;
  color: var(--text-muted);
  font-style: italic;
}

.dossier-chevron {
  flex: none;
  width: 24px;
  height: 24px;
  position: relative;
}
.dossier-chevron::before {
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  width: 9px;
  height: 9px;
  border-right: 1.5px solid var(--gold);
  border-bottom: 1.5px solid var(--gold);
  transform: rotate(45deg);
  transition: transform 0.25s ease;
}
.dossier[open] .dossier-chevron::before {
  transform: rotate(-135deg);
}

.dossier-body {
  padding: 4px 22px 26px;
  border-top: 1px solid var(--line);
}

.dossier-note {
  color: var(--text-muted);
  font-style: italic;
  font-size: 0.88rem;
  margin: 18px 0 16px;
}

.tier-label {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  margin: 24px 0 10px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--line);
}
.tier-label:first-of-type { margin-top: 18px; }
.tier-label span {
  font-family: 'Cinzel', serif;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
}
.tier-label em {
  font-style: italic;
  font-size: 0.75rem;
  color: var(--text-faint);
}

.table-scroll {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  scrollbar-width: thin;
  scrollbar-color: var(--gold-dim) transparent;
}
.table-scroll::-webkit-scrollbar { height: 6px; }
.table-scroll::-webkit-scrollbar-thumb { background: var(--gold-dim); border-radius: 3px; }

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 420px;
  font-size: 0.9rem;
}

thead th {
  text-align: left;
  font-family: 'Cinzel', serif;
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #0a0908;
  background: var(--gold);
  padding: 10px 14px;
}
thead th:last-child, thead th:nth-child(2) { text-align: right; }

tbody td {
  padding: 10px 14px;
  border-bottom: 1px solid var(--line);
  color: var(--text);
}
tbody tr:last-child td { border-bottom: none; }
tbody tr:nth-child(even) { background: rgba(255,255,255,0.015); }
tbody td:last-child, tbody td:nth-child(2) { text-align: right; font-variant-numeric: tabular-nums; }
tbody td:last-child { color: var(--gold-bright); font-weight: 600; }
tbody td:nth-child(2) { color: var(--text-muted); }

tr.rare-row { background: var(--gold-wash-strong) !important; }
tr.rare-row td { color: var(--gold-bright); font-weight: 600; }
tr.rare-row td:last-child { color: var(--gold-bright); }

/* ================================================================
   WHITELIST — RITES (task cards, mostly ported from prior build)
================================================================= */
.task {
  position: relative;
  border: 1px solid var(--line);
  background: var(--locked-bg);
  border-radius: 5px;
  padding: 22px 20px;
  margin-bottom: 16px;
  transition: border-color 0.25s ease, background 0.25s ease;
}
.task:last-child { margin-bottom: 0; }

.task[data-state="active"] {
  border-color: var(--gold-dim);
  background: rgba(184, 147, 74, 0.04);
}
.task[data-state="done"] {
  border-color: var(--gold);
  background: rgba(184, 147, 74, 0.07);
}
.task[data-state="locked"] { opacity: 0.5; }

.task-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.task-id {
  font-family: 'Cinzel', serif;
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.badge {
  font-family: 'Cinzel', serif;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 3px 9px;
  border-radius: 3px;
  border: 1px solid var(--line);
  color: var(--text-muted);
  background: transparent;
}
.badge.verified {
  color: #0a0908;
  background: var(--gold);
  border-color: var(--gold);
}

.task h3 {
  font-family: 'Cinzel', serif;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  margin: 0 0 6px;
  color: var(--text);
}

.task p {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-style: italic;
  line-height: 1.5;
  margin: 0 0 18px;
}

.task-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.task-row-column { display: flex; flex-direction: column; gap: 10px; }

.btn-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border: 1px solid var(--gold-dim);
  color: var(--gold-bright);
  background: transparent;
  padding: 12px 14px;
  border-radius: 4px;
  font-family: 'Cinzel', serif;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}
.btn-link:hover { background: rgba(184, 147, 74, 0.1); }
.btn-link-full { width: 100%; }
.ext { font-size: 0.85em; }

.confirm-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.015);
  color: var(--text-muted);
  padding: 10px 14px;
  border-radius: 4px;
  font-family: 'EB Garamond', serif;
  font-size: 0.8rem;
  cursor: pointer;
  text-align: left;
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}
.confirm-btn:disabled { cursor: not-allowed; opacity: 0.5; }

.confirm-icon {
  width: 16px;
  height: 16px;
  flex: none;
  border: 1px solid var(--line);
  border-radius: 3px;
  position: relative;
}
.confirm-btn.checked {
  border-color: var(--gold);
  background: rgba(184, 147, 74, 0.08);
  color: var(--gold-bright);
}
.confirm-btn.checked .confirm-icon { background: var(--gold); border-color: var(--gold); }
.confirm-btn.checked .confirm-icon::after {
  content: "";
  position: absolute;
  left: 4px; top: 1px;
  width: 4px; height: 8px;
  border: solid #0a0908;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.text-input {
  width: 100%;
  background: var(--input-bg, var(--bg-inset));
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 12px 14px;
  color: var(--text);
  font-family: 'EB Garamond', serif;
  font-size: 0.9rem;
  outline: none;
}
.text-input::placeholder { color: var(--text-faint); font-style: italic; }
.text-input:focus { border-color: var(--gold-dim); }
.text-input:disabled { cursor: not-allowed; opacity: 0.5; }

/* Present Thyself */
.lock-notice {
  border: 1px dashed var(--line);
  border-radius: 4px;
  padding: 14px 16px;
  color: var(--text-muted);
  font-size: 0.82rem;
  font-style: italic;
  margin: 20px 0 24px;
}

.id-fields[data-locked="false"] .lock-notice { display: none; }
.id-fields[data-locked="true"] .field,
.id-fields[data-locked="true"] .fine-print { display: none; }

.field { margin-bottom: 20px; }

label {
  display: block;
  font-family: 'Cinzel', serif;
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 8px;
}

.field input {
  width: 100%;
  background: var(--bg-inset);
  border: 1px solid var(--line);
  border-radius: 3px;
  padding: 12px 14px;
  color: var(--text);
  font-family: 'EB Garamond', serif;
  font-size: 1rem;
  outline: none;
}
.field input::placeholder { color: var(--text-faint); font-style: italic; }
.field input:focus { border-color: var(--gold); }

.fine-print {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-style: italic;
  margin: 0 0 20px;
}

#submit-btn {
  width: 100%;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 3px;
  background: transparent;
  color: var(--text-muted);
  font-family: 'Cinzel', serif;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: not-allowed;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}
#submit-btn:not(:disabled) { border-color: var(--gold); color: var(--gold-bright); cursor: pointer; }
#submit-btn:not(:disabled):hover { background: var(--gold); color: #0a0908; }

.form-status {
  text-align: center;
  font-size: 0.85rem;
  margin: 16px 0 0;
  min-height: 1.2em;
}
.form-status.error { color: var(--error); }
.form-status.success { color: var(--gold-bright); }

/* ================================================================
   FOOTER
================================================================= */
.site-footer {
  max-width: var(--wide-w);
  margin: 0 auto;
  padding: 60px 20px 50px;
  text-align: center;
  border-top: 1px solid var(--line);
}

.footer-mark {
  width: 40px;
  height: 40px;
  margin: 0 auto 18px;
  opacity: 0.9;
}

.footer-motto {
  font-family: 'Cinzel', serif;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-bright);
  margin: 0 0 22px;
}

.footer-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  font-family: 'Cinzel', serif;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 22px;
}
.footer-nav a { text-decoration: none; color: var(--text-muted); transition: color 0.2s ease; }
.footer-nav a:hover { color: var(--gold-bright); }

.footnote {
  font-family: 'Cinzel', serif;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin: 0;
}

/* ================================================================
   RESPONSIVE
================================================================= */
@media (max-width: 860px) {
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-specimens { flex-direction: row; }
  .specimen { width: 48%; }
  .stat-strip { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 720px) {
  .nav-toggle { display: inline-flex; }

  .primary-nav {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: #070605;
  border-bottom: 1px solid var(--line);
  box-shadow: 0 24px 40px rgba(0,0,0,0.65);
  flex-direction: column;
  align-items: stretch;
  gap: 0;
  padding: 8px 20px 28px;
  display: none;
}
  .primary-nav.open { display: flex; }
  .primary-nav a {
    padding: 14px 4px;
    border-bottom: 1px solid var(--line);
    text-align: left;
  }
  .primary-nav a:last-child { border-bottom: none; margin-top: 14px; text-align: center; }
  .btn-nav-cta { padding: 14px 16px; }

  .section { padding: 64px 18px; }
  .hero { padding-top: 96px; }

  .task-row { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .stat-strip { grid-template-columns: 1fr; }
  .about-specimens { flex-direction: column; }
  .specimen, .specimen-offset { width: 100%; align-self: auto; }
  .dossier summary { align-items: flex-start; }
  .dossier-seal { margin-top: 2px; }
}
