/* ==========================================================================
   Ockham's Razor — official site stylesheet
   Single, dependency-free stylesheet. No web fonts, no CDN, works offline.
   Design tokens → layout → components → utilities → responsive → a11y
   ========================================================================== */

/* ---------- 1. Design tokens -------------------------------------------- */
:root {
  /* Palette: deep violet-black with a violet → rose accent (darkwave mood) */
  --bg:            #0b0910;
  --bg-soft:       #12101a;
  --surface:       #17141f;
  --surface-2:     #1e1a2a;
  --surface-3:     #262133;

  --text:          #ece9f4;
  --text-muted:    #a8a2bd;
  --text-dim:      #837d99;

  --accent:        #a855f7;
  --accent-light:  #d4b2fb;
  --accent-2:      #f0508c;
  --accent-soft:   rgba(168, 85, 247, .16);
  --accent-line:   rgba(168, 85, 247, .40);

  --border:        rgba(255, 255, 255, .10);
  --border-strong: rgba(255, 255, 255, .18);

  /* Type: system stacks only — renders identically offline and online */
  --font-body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue",
               Arial, "Noto Sans", "Liberation Sans", sans-serif;
  --font-display: "Segoe UI Semibold", "Segoe UI", system-ui, -apple-system,
                  Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-serif: Georgia, "Iowan Old Style", "Times New Roman", Times, serif;

  /* Space + shape */
  --maxw:      1120px;
  --maxw-text: 70ch;
  --radius:    14px;
  --radius-sm: 9px;
  --radius-lg: 22px;
  --gap:       clamp(1rem, 2.2vw, 1.75rem);
  --section-y: clamp(2.75rem, 6vw, 5rem);

  --shadow:    0 1px 2px rgba(0,0,0,.5), 0 12px 34px rgba(0,0,0,.38);
  --shadow-lg: 0 2px 4px rgba(0,0,0,.5), 0 24px 60px rgba(0,0,0,.5);
  --ring:      0 0 0 3px var(--bg), 0 0 0 6px var(--accent);
}

/* ---------- 2. Base / reset -------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 5.5rem; /* keep anchors clear of the sticky header */
}

body {
  margin: 0;
  background: var(--bg);
  background-image:
    radial-gradient(1100px 620px at 12% -12%, rgba(168, 85, 247, .17), transparent 62%),
    radial-gradient(900px 520px at 92% 4%,  rgba(240, 80, 140, .11), transparent 60%);
  background-repeat: no-repeat;
  color: var(--text);
  font-family: var(--font-body);
  font-size: clamp(1rem, .96rem + .2vw, 1.0625rem);
  line-height: 1.7;
  font-synthesis-weight: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -.018em;
  color: var(--text);
  margin: 0 0 .55em;
  text-wrap: balance;
}

h1 { font-size: clamp(1.85rem, 1.3rem + 2.5vw, 3rem); }
h2 { font-size: clamp(1.4rem, 1.1rem + 1.35vw, 2.05rem); margin-top: 0; }
h3 { font-size: clamp(1.12rem, 1rem + .6vw, 1.4rem); }
h4 { font-size: 1.0625rem; }

p { margin: 0 0 1.05em; }
p:last-child, ul:last-child, ol:last-child { margin-bottom: 0; }

a {
  color: var(--accent-light);
  text-decoration-color: var(--accent-line);
  text-decoration-thickness: 1px;
  text-underline-offset: .18em;
  transition: color .15s ease, text-decoration-color .15s ease;
}
a:hover { color: #fff; text-decoration-color: currentColor; }

img, svg, video { max-width: 100%; height: auto; display: block; }
img { border-style: none; }

strong, b { font-weight: 700; color: #fff; }
small { font-size: .875rem; }

hr {
  border: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-strong), transparent);
  margin: clamp(1.75rem, 4vw, 3rem) 0;
}

blockquote {
  margin: 1.5rem 0;
  padding: .35rem 0 .35rem 1.25rem;
  border-left: 3px solid var(--accent-line);
  font-family: var(--font-serif);
  font-size: 1.1em;
  color: var(--text);
}

code, kbd, samp {
  font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
  font-size: .9em;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 5px;
  padding: .1em .38em;
}

/* Accessible focus ring everywhere */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---------- 3. Layout --------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: clamp(1rem, 4vw, 1.75rem);
}

.container--narrow { max-width: 820px; }

main { display: block; }

.section { padding-block: var(--section-y); }
.section--tight { padding-block: clamp(1.75rem, 4vw, 3rem); }
.section + .section { border-top: 1px solid var(--border); }

.section-head { max-width: 62ch; margin-bottom: clamp(1.5rem, 3vw, 2.5rem); }
.section-head p { color: var(--text-muted); margin-bottom: 0; }

.eyebrow {
  display: inline-block;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent-light);
  margin-bottom: .7rem;
}

.lead {
  font-size: clamp(1.06rem, 1rem + .5vw, 1.28rem);
  line-height: 1.62;
  color: #d9d5e7;
}

.grid { display: grid; gap: var(--gap); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); }
.grid--split { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); align-items: center; }
.grid--sidebar { grid-template-columns: minmax(0, 2.1fr) minmax(0, 1fr); align-items: start; }

@media (max-width: 800px) {
  .grid--split, .grid--sidebar { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- 4. Skip link ----------------------------------------------- */
.skip-link {
  position: absolute;
  left: 1rem; top: -4rem;
  z-index: 200;
  background: var(--accent);
  color: #14061f;
  font-weight: 700;
  padding: .6rem 1.1rem;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  text-decoration: none;
  transition: top .18s ease;
}
.skip-link:focus { top: 0; color: #14061f; }

/* ---------- 5. Header + navigation ------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(11, 9, 16, .82);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid var(--border);
}

.site-header__inner {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: 4.25rem;
  padding-block: .5rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: .68rem;
  text-decoration: none;
  color: var(--text);
  flex: 0 0 auto;
  margin-right: auto;
}
.brand:hover { color: #fff; }

.brand__mark {
  width: 38px; height: 38px;
  flex: 0 0 auto;
  border-radius: 11px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.02rem;
  letter-spacing: -.02em;
  box-shadow: 0 6px 18px rgba(168, 85, 247, .34);
}

.brand__text { display: flex; flex-direction: column; line-height: 1.14; }
.brand__name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.02rem;
  letter-spacing: -.012em;
}
.brand__tag {
  font-size: .68rem;
  letter-spacing: .11em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.nav-toggle {
  display: none;
  appearance: none;
  background: var(--surface-2);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  color: var(--text);
  width: 42px; height: 42px;
  cursor: pointer;
  padding: 0;
  place-items: center;
  flex: 0 0 auto;
}
.nav-toggle:hover { background: var(--surface-3); }
.nav-toggle svg { width: 20px; height: 20px; }
.nav-toggle__close { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle__open { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle__close { display: block; }

.site-nav ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .1rem;
  margin: 0;
  padding: 0;
}
.site-nav a {
  display: block;
  padding: .48rem .72rem;
  border-radius: var(--radius-sm);
  color: var(--text-muted);
  font-size: .925rem;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
  transition: background .15s ease, color .15s ease;
}
.site-nav a:hover { background: var(--surface-2); color: #fff; }
.site-nav a[aria-current="page"] {
  color: #fff;
  background: var(--accent-soft);
  box-shadow: inset 0 0 0 1px var(--accent-line);
}

@media (max-width: 860px) {
  .nav-toggle { display: grid; }
  .site-nav {
    position: absolute;
    left: 0; right: 0;
    top: 100%;
    background: var(--bg-soft);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
    padding: .5rem clamp(1rem, 4vw, 1.75rem) 1rem;
    display: none;
  }
  .site-nav.is-open { display: block; }
  .site-nav ul { flex-direction: column; align-items: stretch; gap: .12rem; }
  .site-nav a { padding: .72rem .8rem; font-size: 1rem; }
}

/* ---------- 6. Hero ---------------------------------------------------- */
.hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(2.5rem, 6vw, 4.75rem);
  border-bottom: 1px solid var(--border);
}
.hero__inner { display: grid; gap: clamp(1.75rem, 4vw, 3rem); }
.hero__content { max-width: 62ch; }
.hero h1 { margin-bottom: .5rem; }
.hero__title-accent {
  background: linear-gradient(100deg, var(--accent-light), var(--accent-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero__tagline {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1.05rem, 1rem + .55vw, 1.35rem);
  color: var(--text-muted);
  margin-bottom: 1.35rem;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: .7rem;
  margin-top: 1.6rem;
}

.hero__figure { margin: 0; }
.hero__figure img,
.hero__figure picture img {
  width: 100%;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow-lg);
}
.hero__figure figcaption {
  margin-top: .8rem;
  font-size: .82rem;
  color: var(--text-dim);
  text-align: center;
}

/* Fact strip under the hero */
.factbar {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1px;
  background: var(--border);
  border-block: 1px solid var(--border);
}
.factbar__item {
  background: var(--bg);
  padding: 1.05rem clamp(.85rem, 2vw, 1.35rem);
}
.factbar dt {
  font-size: .7rem;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: .28rem;
}
.factbar dd {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: .98rem;
  color: var(--text);
}

/* ---------- 7. Buttons ------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .68rem 1.25rem;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  background: var(--surface-2);
  color: var(--text);
  font-family: inherit;
  font-size: .95rem;
  font-weight: 600;
  line-height: 1.25;
  text-decoration: none;
  cursor: pointer;
  transition: transform .14s ease, background .16s ease, border-color .16s ease, color .16s ease;
}
.btn:hover {
  background: var(--surface-3);
  border-color: var(--accent-line);
  color: #fff;
  transform: translateY(-1px);
}
.btn:active { transform: translateY(0); }

.btn--primary {
  background: linear-gradient(135deg, #f3ebff, #e4d3ff);
  border-color: transparent;
  color: #1a0b2e;
}
.btn--primary:hover {
  background: linear-gradient(135deg, #fff, #efe4ff);
  color: #1a0b2e;
  box-shadow: 0 10px 28px rgba(168, 85, 247, .3);
}

.btn--ghost { background: transparent; }
.btn--sm { padding: .45rem .9rem; font-size: .875rem; }

.btn-row { display: flex; flex-wrap: wrap; gap: .65rem; margin-top: 1.35rem; }

/* ---------- 8. Breadcrumbs -------------------------------------------- */
.breadcrumbs {
  font-size: .84rem;
  color: var(--text-dim);
  padding-block: 1rem;
}
.breadcrumbs ol {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .4rem;
  margin: 0;
  padding: 0;
}
.breadcrumbs li { display: flex; align-items: center; gap: .4rem; }
.breadcrumbs li + li::before {
  content: "/";
  color: var(--border-strong);
  font-size: .95em;
}
.breadcrumbs a { color: var(--text-muted); text-decoration: none; }
.breadcrumbs a:hover { color: #fff; text-decoration: underline; }
.breadcrumbs [aria-current="page"] { color: var(--text); font-weight: 500; }

/* ---------- 9. Page header -------------------------------------------- */
.page-header {
  padding-block: clamp(1.5rem, 3.5vw, 2.75rem) clamp(1.25rem, 3vw, 2.25rem);
  border-bottom: 1px solid var(--border);
}
.page-header p {
  color: var(--text-muted);
  max-width: 68ch;
  margin-bottom: 0;
}
.page-header .btn-row { margin-top: 1.5rem; }

/* ---------- 10. Cards ------------------------------------------------- */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: clamp(1.15rem, 2.4vw, 1.6rem);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: .55rem;
  transition: border-color .18s ease, transform .18s ease, background .18s ease;
}
.card > :last-child { margin-bottom: 0; }
.card h3 { margin-bottom: .1rem; }
.card h3 a { text-decoration: none; color: var(--text); }
.card h3 a:hover { color: var(--accent-light); text-decoration: underline; }
.card p { color: var(--text-muted); font-size: .945rem; margin-bottom: 0; }

a.card, .card--link { text-decoration: none; }
a.card:hover, .card--hover:hover {
  border-color: var(--accent-line);
  background: var(--surface-2);
  transform: translateY(-3px);
}

.card__meta {
  font-size: .78rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-dim);
  font-weight: 600;
}

.card--accent {
  background:
    linear-gradient(160deg, var(--accent-soft), transparent 62%),
    var(--surface);
  border-color: var(--accent-line);
}

.card__icon {
  width: 40px; height: 40px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  background: var(--accent-soft);
  border: 1px solid var(--accent-line);
  color: var(--accent-light);
  margin-bottom: .35rem;
}
.card__icon svg { width: 21px; height: 21px; }

.card__media {
  margin: calc(clamp(1.15rem, 2.4vw, 1.6rem) * -1);
  margin-bottom: .35rem;
  border-radius: var(--radius) var(--radius) 0 0;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: var(--surface-3);
}
.card__media img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- 11. Prose (long-form pages) -------------------------------- */
.prose { max-width: var(--maxw-text); }
.prose h2 { margin-top: 2.2em; }
.prose h3 { margin-top: 1.7em; }
.prose ul, .prose ol { padding-left: 1.3rem; margin: 0 0 1.05em; }
.prose li { margin-bottom: .45em; }
.prose li::marker { color: var(--accent); }
.prose .lead { margin-bottom: 1.5em; }

/* ---------- 12. Figures, gallery, lightbox ---------------------------- */
.figure { margin: 0; }
.figure img {
  width: 100%;
  border-radius: var(--radius);
  border: 1px solid var(--border-strong);
  background: var(--surface-3);
  box-shadow: var(--shadow);
}
.figure figcaption {
  margin-top: .8rem;
  font-size: .875rem;
  color: var(--text-muted);
}
.figure--plain img { border-radius: var(--radius-sm); }

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--gap);
  list-style: none;
  margin: 0;
  padding: 0;
}
.gallery__item { margin: 0; }
.gallery__link {
  display: block;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--surface-3);
  aspect-ratio: 1 / 1;
  transition: border-color .18s ease, transform .18s ease;
}
.gallery__link:hover { border-color: var(--accent-line); transform: translateY(-3px); }
.gallery__link img { width: 100%; height: 100%; object-fit: cover; }
.gallery__caption {
  margin-top: .6rem;
  font-size: .84rem;
  color: var(--text-muted);
  text-align: center;
}

/* Photo detail: a single centred image with generous framing */
.photo-stage {
  display: grid;
  place-items: center;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(1rem, 3vw, 2.25rem);
  box-shadow: var(--shadow);
}
.photo-stage img {
  max-height: 72vh;
  width: auto;
  border-radius: var(--radius-sm);
}
.photo-stage--archival img {
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow);
}
.photo-caption {
  text-align: center;
  color: var(--text-muted);
  font-size: .9rem;
  margin-top: 1.1rem;
}

/* Prev / next navigation between detail pages */
.pager {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: .75rem;
  margin-top: clamp(1.5rem, 3vw, 2.5rem);
  padding-top: clamp(1.25rem, 3vw, 2rem);
  border-top: 1px solid var(--border);
}
.pager__link {
  display: inline-flex;
  flex-direction: column;
  gap: .15rem;
  max-width: 46%;
  padding: .75rem 1.05rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface);
  text-decoration: none;
  transition: border-color .16s ease, background .16s ease;
}
.pager__link:hover { border-color: var(--accent-line); background: var(--surface-2); }
.pager__label {
  font-size: .7rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text-dim);
}
.pager__title { color: var(--text); font-weight: 600; font-size: .95rem; }
.pager__link--next { margin-left: auto; text-align: right; }
.pager__center { align-self: center; }

/* ---------- 13. Lists: tracklist, definitions, link list -------------- */
.tracklist { list-style: none; margin: 0; padding: 0; }
.tracklist li {
  display: flex;
  align-items: baseline;
  gap: .85rem;
  padding: .7rem 0;
  border-bottom: 1px solid var(--border);
}
.tracklist li:last-child { border-bottom: 0; }
.tracklist__num {
  flex: 0 0 2rem;
  font-family: var(--font-display);
  font-variant-numeric: tabular-nums;
  color: var(--accent-light);
  font-weight: 700;
  font-size: .875rem;
}
.tracklist__title { font-weight: 600; color: var(--text); }
.tracklist__note {
  margin-left: auto;
  font-size: .82rem;
  color: var(--text-dim);
  white-space: nowrap;
}

.deflist { margin: 0; }
.deflist dt {
  font-family: var(--font-display);
  font-weight: 700;
  color: #fff;
  margin-top: 1.25rem;
}
.deflist dt:first-child { margin-top: 0; }
.deflist dd { margin: .3rem 0 0; color: var(--text-muted); }

.linklist { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; }
.linklist li {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: .5rem;
  padding: .8rem 1rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}
.linklist a { font-weight: 600; text-decoration: none; }
.linklist a:hover { text-decoration: underline; }
.linklist span { color: var(--text-dim); font-size: .88rem; }

/* ---------- 14. Tables ------------------------------------------------ */
.table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius); }
table { border-collapse: collapse; width: 100%; font-size: .94rem; }
caption {
  caption-side: top;
  text-align: left;
  padding: .9rem 1rem 0;
  color: var(--text-dim);
  font-size: .85rem;
}
th, td { padding: .8rem 1rem; text-align: left; border-bottom: 1px solid var(--border); }
thead th {
  background: var(--surface-2);
  color: var(--text);
  font-family: var(--font-display);
  font-size: .78rem;
  letter-spacing: .09em;
  text-transform: uppercase;
  white-space: nowrap;
}
tbody tr:last-child td { border-bottom: 0; }
tbody tr:hover { background: rgba(255,255,255,.026); }
td.num, th.num { font-variant-numeric: tabular-nums; white-space: nowrap; }

/* ---------- 15. FAQ accordion ----------------------------------------- */
.faq { display: grid; gap: .7rem; }
.faq details {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0;
  overflow: hidden;
  transition: border-color .16s ease;
}
.faq details[open] { border-color: var(--accent-line); background: var(--surface-2); }
.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 1rem 1.15rem;
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--text);
  display: flex;
  align-items: flex-start;
  gap: .75rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  margin-left: auto;
  flex: 0 0 auto;
  font-size: 1.3rem;
  line-height: 1;
  color: var(--accent-light);
  font-weight: 400;
}
.faq details[open] summary::after { content: "\2013"; }
.faq summary:hover { color: #fff; }
.faq .faq__answer { padding: 0 1.15rem 1.15rem; color: var(--text-muted); }
.faq .faq__answer > :last-child { margin-bottom: 0; }

/* ---------- 16. Callouts --------------------------------------------- */
.callout {
  display: flex;
  gap: .9rem;
  padding: 1rem 1.15rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--accent-line);
  background: var(--accent-soft);
  color: var(--text);
  font-size: .95rem;
}
.callout--neutral {
  border-color: var(--border-strong);
  background: var(--surface-2);
  color: var(--text-muted);
}
.callout__icon { flex: 0 0 auto; color: var(--accent-light); }
.callout__icon svg { width: 20px; height: 20px; }
.callout p:last-child { margin-bottom: 0; }

.badge {
  display: inline-block;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: .25rem .6rem;
  border-radius: 999px;
  background: var(--accent-soft);
  border: 1px solid var(--accent-line);
  color: var(--accent-light);
}
.badge--muted {
  background: var(--surface-2);
  border-color: var(--border-strong);
  color: var(--text-dim);
}

/* ---------- 17. Media player blocks ---------------------------------- */
.audiocard {
  display: grid;
  gap: .55rem;
  padding: 1.15rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.audiocard h3 { margin: 0; font-size: 1.06rem; }
.audiocard__meta { font-size: .84rem; color: var(--text-dim); }
.audiocard audio { width: 100%; margin-top: .35rem; }
.audiocard--unavailable { border-style: dashed; }
.audiocard--unavailable .audiocard__meta { color: var(--text-dim); }

/* ---------- 18. Member cards ---------------------------------------- */
.member {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}
.member__initial {
  flex: 0 0 auto;
  width: 46px; height: 46px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.02rem;
}
.member__body h3 { margin-bottom: .15rem; font-size: 1.08rem; }
.member__role {
  font-size: .78rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--accent-light);
  font-weight: 600;
  margin-bottom: .45rem;
}
.member__body p { color: var(--text-muted); font-size: .94rem; margin-bottom: 0; }

/* ---------- 19. Footer ---------------------------------------------- */
.site-footer {
  border-top: 1px solid var(--border);
  background: var(--bg-soft);
  padding-block: clamp(2.25rem, 5vw, 3.5rem) 1.5rem;
  margin-top: clamp(2.5rem, 6vw, 5rem);
  font-size: .93rem;
}
.site-footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) repeat(auto-fit, minmax(150px, 1fr));
  gap: clamp(1.5rem, 4vw, 3rem);
}
@media (max-width: 760px) { .site-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .site-footer__grid { grid-template-columns: 1fr; } }

.site-footer h2 {
  font-size: .76rem;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: .8rem;
  font-weight: 700;
}
.site-footer p { color: var(--text-muted); max-width: 42ch; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .42rem; }
.site-footer a { color: var(--text-muted); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }

.site-footer__bottom {
  margin-top: clamp(1.75rem, 4vw, 2.75rem);
  padding-top: 1.4rem;
  border-top: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  gap: .75rem 1.5rem;
  align-items: center;
  justify-content: space-between;
  color: var(--text-dim);
  font-size: .85rem;
}
.site-footer__bottom p { margin: 0; color: var(--text-dim); max-width: none; }

/* ---------- 20. Utilities ------------------------------------------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.mt-2 { margin-top: 1.25rem; }
.mt-3 { margin-top: 2rem; }
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
.divider-ornament {
  display: block;
  margin: 1.75rem auto;
  opacity: .85;
}
.stack > * + * { margin-top: 1rem; }

/* ---------- 21. Motion + print -------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .btn:hover, .card:hover, a.card:hover, .card--hover:hover, .gallery__link:hover { transform: none; }
}

@media print {
  body { background: #fff; color: #000; }
  .site-header, .site-footer, .skip-link, .pager, .hero__actions, .btn-row { display: none; }
  a { color: #000; text-decoration: underline; }
  .card, .photo-stage { border-color: #ccc; box-shadow: none; }
}
