/* ==========================================================================
   RECONTEXTUALIZING RICHMOND (2020–2024) — HUMAN EXHIBITION ARCHITECTURE
   Rooted directly in the studio visual language of Reclaiming the Monument &
   Recontextualizing Richmond: #000000 night-sky canvas, #FFFFFF stark ink,
   0px sharp geometry, 1px hairline rules, condensed Oswald + Playfair Display
   + Libre Baskerville + Lato Light, unboxed photography, and per-installation
   poster color identities.
   ========================================================================== */

:root {
  /* Night-Sky Gallery Canvas */
  --bg-void: #000000;
  --bg-obsidian: #080808;
  --bg-slate: #121212;
  --bg-card: transparent;
  --bg-surface: #0c0c0d;
  --bg-vellum: #f1ebdd;
  --ink-vellum: #141311;

  /* Typography Ink */
  --ink-primary: #ffffff;
  --ink-secondary: #d4d4d4;
  --ink-muted: #8a8a8f;

  /* Chapter-Specific Accent (overridden inline per installation) */
  --chapter-accent: #ffffff;
  --crimson-plate: #6e1111;
  --tal-red: #d62828;

  /* Legacy Token Aliases -> Clean Human Palette (zero navy/gold/teal glow) */
  --gold-beam: var(--chapter-accent);
  --gold-bright: #ffffff;
  --gold-deep: #cccccc;
  --gold-glow: transparent;
  --gold-soft: rgba(255, 255, 255, 0.08);
  --river-teal: #b8b8b8;
  --terracotta: #d62828;
  --crimson-memorial: #8f250a;

  /* Crisp 1px Architectural Hairlines */
  --border-subtle: rgba(255, 255, 255, 0.18);
  --border-strong: rgba(255, 255, 255, 0.42);
  --border-ink: #ffffff;
  --border-gold: rgba(255, 255, 255, 0.45);

  /* Authentic Studio Font Stacks */
  --font-display: 'Oswald', 'Arial Narrow', Impact, sans-serif;
  --font-serif: 'Playfair Display', 'Libre Baskerville', Georgia, serif;
  --font-editorial: 'Libre Baskerville', Georgia, 'Times New Roman', serif;
  --font-sans: 'Lato', 'Helvetica Neue', Arial, sans-serif;
  --font-mono: 'Lato', 'Helvetica Neue', Arial, sans-serif;

  /* Universal 0px Sharp Geometry & Zero Drop Shadows */
  --max-w: 1180px;
  --narrow-w: 980px;
  --rail-offset: 0rem;
  --radius-sm: 0px;
  --radius-md: 0px;
  --radius-lg: 0px;
  --shadow-deep: none;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background-color: var(--bg-void);
  color: var(--ink-primary);
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

body {
  margin: 0;
  background: #000000;
  color: var(--ink-primary);
  overflow-x: hidden;
}

img,
video {
  max-width: 100%;
  display: block;
}

a {
  color: #ffffff;
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.35);
  text-underline-offset: 3px;
  transition: color 0.16s ease, text-decoration-color 0.16s ease, opacity 0.16s ease;
}

a:hover {
  color: #ffffff;
  text-decoration-color: #ffffff;
}

button {
  font-family: inherit;
  cursor: pointer;
}

/* ==========================================================================
   1. AUTHENTIC TWO-TIER STUDIO HEADER (RECLAIMING THE MONUMENT / RR)
   ========================================================================== */
.site-header {
  position: relative;
  z-index: 1000;
  background: #000000;
  padding: 1.65rem 1.5rem 0;
}

.header-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.header-top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding-bottom: 1.15rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.38);
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 0.95rem;
  text-decoration: none;
}

.brand-emblem {
  width: 52px;
  height: 52px;
  object-fit: contain;
  flex-shrink: 0;
}

.brand-wordmark {
  display: flex;
  flex-direction: column;
  gap: 0.08rem;
}

.brand-kicker {
  font-family: var(--font-display);
  font-size: 1.28rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #ffffff;
  line-height: 1.02;
}

.brand-title {
  font-family: var(--font-serif);
  font-size: 1.32rem;
  font-weight: 400;
  letter-spacing: 0.01em;
  color: #ffffff;
  line-height: 1.1;
}

.header-contact-meta {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 0.84rem;
  color: var(--ink-secondary);
}

.header-ghost-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.48rem 1.05rem;
  border: 1px solid #ffffff;
  background: #000000;
  color: #ffffff;
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 0.84rem;
  letter-spacing: 0.04em;
  text-decoration: none;
  transition: background 0.16s ease, color 0.16s ease;
}

.header-ghost-btn:hover {
  background: #ffffff;
  color: #000000;
}

.header-nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.65rem 0 0.85rem;
}

.site-nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.45rem;
}

.nav-link {
  padding: 0.2rem 0;
  font-family: var(--font-sans);
  font-size: 0.88rem;
  font-weight: 300;
  letter-spacing: 0.02em;
  color: #ffffff;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.16s ease, border-color 0.16s ease;
}

.nav-link:hover,
.nav-link.active {
  color: #d5d5d5;
  border-bottom-color: #ffffff;
}

.nav-link-cta {
  border-bottom-color: rgba(255, 255, 255, 0.35);
}

/* Chapters Dropdown */
.nav-dropdown {
  position: relative;
}

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 0.4rem);
  left: 0;
  width: 340px;
  background: #080808;
  border: 1px solid rgba(255, 255, 255, 0.45);
  padding: 0.5rem 0;
  display: none;
  flex-direction: column;
  z-index: 1100;
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
  display: flex;
}

.dropdown-item {
  display: flex;
  align-items: baseline;
  gap: 0.65rem;
  padding: 0.48rem 0.95rem;
  color: var(--ink-secondary);
  font-size: 0.84rem;
  font-weight: 300;
  line-height: 1.35;
  text-decoration: none;
}

.dropdown-item:hover {
  background: #1a1a1a;
  color: #ffffff;
}

.dropdown-num {
  font-family: var(--font-display);
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  color: #ffffff;
  flex-shrink: 0;
}

.nav-search-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.32rem 0.8rem;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.45);
  color: #ffffff;
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 0.82rem;
  letter-spacing: 0.03em;
  transition: background 0.16s ease, color 0.16s ease;
}

.nav-search-btn:hover {
  background: #ffffff;
  color: #000000;
}

.nav-search-kbd,
.active-chapter-pill,
.scroll-progress-track,
.chrono-rail {
  display: none !important;
}

.mobile-menu-btn {
  display: none;
  background: transparent;
  border: 1px solid #ffffff;
  color: #ffffff;
  padding: 0.4rem 0.8rem;
  font-size: 0.84rem;
  font-weight: 300;
}

@media (max-width: 900px) {
  .header-contact-meta {
    display: none;
  }
  .mobile-menu-btn {
    display: inline-flex;
  }
  .header-nav-row {
    position: relative;
  }
  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #050505;
    border: 1px solid rgba(255, 255, 255, 0.4);
    padding: 1rem 1.25rem;
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
    z-index: 1200;
  }
  .site-nav.open {
    display: flex;
  }
  .nav-dropdown-menu {
    position: static;
    width: 100%;
    border: none;
    border-left: 1px solid rgba(255, 255, 255, 0.25);
    margin-top: 0.35rem;
    padding-left: 0.5rem;
    display: flex;
  }
}

/* ==========================================================================
   2. MONUMENTAL PROJECTION HERO (RAW TYPOGRAPHY & INLINE BLACK STRIPS)
   ========================================================================== */
.hero-stage {
  position: relative;
  min-height: 82vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 4.5rem 1.5rem 4.5rem;
  overflow: hidden;
  border-bottom: 1px solid var(--border-subtle);
  background: #000000;
}

.hero-backdrop {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-backdrop video,
.hero-backdrop img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: contrast(1.06) brightness(0.68);
}

.hero-backdrop::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(0, 0, 0, 0.78) 0%,
    rgba(0, 0, 0, 0.38) 52%,
    rgba(0, 0, 0, 0.68) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: var(--max-w);
  width: 100%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 3rem;
  align-items: end;
}

@media (max-width: 920px) {
  .hero-content {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }
}

.hero-eyebrow {
  display: inline-block;
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #ffffff;
  background: #000000;
  padding: 0.28rem 0.65rem;
  margin-bottom: 1.1rem;
}

.hero-headline {
  font-family: var(--font-serif);
  font-size: clamp(2.8rem, 5.6vw, 4.75rem);
  font-weight: 700;
  font-style: italic;
  line-height: 1.14;
  margin: 0 0 1.35rem;
  color: #ffffff;
}

/* Signature solid-black line highlight strips from RR /artists */
.hero-headline span.hl-strip {
  background: #000000;
  padding: 0.04em 0.26em;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

.hero-headline em {
  font-style: italic;
  color: #ffffff;
}

.hero-scrim-box {
  background: transparent;
  padding: 0;
  max-width: 56ch;
  margin-bottom: 1.75rem;
}

.hero-lede {
  font-family: var(--font-editorial);
  font-size: clamp(0.98rem, 1.25vw, 1.1rem);
  color: #ffffff;
  margin: 0;
  line-height: 1.78;
}

.hero-pullquote {
  text-align: right;
  align-self: center;
  padding: 1rem 0;
}

@media (max-width: 920px) {
  .hero-pullquote {
    text-align: left;
  }
}

.hero-pullquote blockquote {
  margin: 0;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1.35rem, 2.2vw, 1.85rem);
  line-height: 1.35;
  color: #ffffff;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.9);
}

.hero-pullquote cite {
  display: block;
  margin-top: 0.55rem;
  font-family: var(--font-serif);
  font-style: normal;
  font-size: 1.05rem;
  color: #ffffff;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* ==========================================================================
   3. SHARP 0PX ARCHITECTURAL BUTTONS (RTM / RR GHOST & SOLID BARS)
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.68rem 1.35rem;
  border-radius: 0;
  font-family: var(--font-sans);
  font-size: 0.86rem;
  font-weight: 400;
  letter-spacing: 0.05em;
  text-decoration: none;
  border: 1px solid #ffffff;
  transition: background 0.16s ease, color 0.16s ease, border-color 0.16s ease;
}

.btn-primary {
  background: #ffffff;
  color: #000000;
  border-color: #ffffff;
  font-weight: 700;
}

.btn-primary:hover {
  background: #d8d8d8;
  border-color: #d8d8d8;
  color: #000000;
  text-decoration: none;
}

.btn-secondary {
  background: rgba(0, 0, 0, 0.72);
  border-color: rgba(255, 255, 255, 0.78);
  color: #ffffff;
  font-weight: 300;
}

.btn-secondary:hover {
  background: #ffffff;
  border-color: #ffffff;
  color: #000000;
  text-decoration: none;
}

/* ==========================================================================
   4. SIGNATURE RTM 5-SLICE VERTICAL COLLAGE & LIBRE BASKERVILLE STATEMENT
   ========================================================================== */
.curatorial-statement-band {
  max-width: var(--narrow-w);
  margin: 0 auto;
  padding: 4.5rem 1.5rem 3.5rem;
}

.curatorial-statement-text {
  font-family: var(--font-editorial);
  font-size: clamp(1.08rem, 1.5vw, 1.25rem);
  line-height: 1.875;
  color: #ffffff;
  margin: 0;
}

.rtm-five-strip-band {
  border-top: 1px solid rgba(255, 255, 255, 0.35);
  border-bottom: 1px solid rgba(255, 255, 255, 0.35);
  padding: 4rem 1.5rem;
  background: #000000;
}

.rtm-five-strip-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 3rem;
  align-items: center;
}

@media (max-width: 920px) {
  .rtm-five-strip-inner {
    grid-template-columns: 1fr;
  }
}

.five-strip-collage {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
}

.five-strip-slice {
  display: block;
  aspect-ratio: 1 / 3.1;
  overflow: hidden;
  background: #0c0c0d;
  position: relative;
}

.five-strip-slice img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease, filter 0.35s ease;
}

.five-strip-slice:hover img {
  transform: scale(1.04);
}

.five-strip-copy h2 {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 3.2vw, 2.65rem);
  font-weight: 400;
  margin: 0 0 0.85rem;
  color: #ffffff;
}

.five-strip-copy p {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--ink-secondary);
  margin: 0 0 1.6rem;
}

.editorial-ledger-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-subtle);
}

@media (max-width: 760px) {
  .editorial-ledger-row {
    grid-template-columns: repeat(2, 1fr);
  }
}

.ledger-item-val {
  font-family: var(--font-display);
  font-size: 1.65rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: #ffffff;
  line-height: 1.1;
}

.ledger-item-lbl {
  font-size: 0.8rem;
  color: var(--ink-muted);
  margin-top: 0.25rem;
  line-height: 1.4;
}

/* ==========================================================================
   5. SHARED SECTION CONTAINERS & OPEN ARCHITECTURAL HEADERS
   ========================================================================== */
.section-shell {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 4.75rem 1.5rem;
}

.section-kicker {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 0.74rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--chapter-accent, var(--ink-muted));
  margin-bottom: 0.5rem;
  display: block;
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 3.6vw, 3rem);
  font-weight: 400;
  line-height: 1.12;
  margin: 0 0 1rem;
  color: #ffffff;
}

.section-intro {
  font-family: var(--font-editorial);
  font-size: 1.02rem;
  line-height: 1.82;
  color: var(--ink-secondary);
  max-width: 68ch;
  margin: 0 0 2.5rem;
}

/* ==========================================================================
   6. CARDLESS ARCHITECTURAL COLUMNS (METHODOLOGY & INQUIRY)
   ========================================================================== */
.methodology-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(215px, 1fr));
  gap: 2rem 1.75rem;
}

.method-step {
  background: transparent;
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.35);
  padding: 1.15rem 0 0;
  position: relative;
  transition: border-color 0.18s ease;
}

.method-step:hover {
  border-top-color: #ffffff;
}

.method-num {
  font-family: var(--font-display);
  font-size: 0.78rem;
  color: var(--ink-muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.method-title {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 400;
  margin: 0 0 0.5rem;
  color: #ffffff;
}

.method-desc {
  font-size: 0.9rem;
  font-weight: 300;
  line-height: 1.68;
  color: var(--ink-secondary);
  margin: 0;
}

/* ==========================================================================
   7. INTERACTIVE CIVIC GEOGRAPHY MAP (SHARP MONOCHROME & INK)
   ========================================================================== */
.map-layout {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 2rem;
  align-items: stretch;
  border-top: 1px solid var(--border-subtle);
  padding-top: 2rem;
}

@media (max-width: 980px) {
  .map-layout {
    grid-template-columns: 1fr;
  }
}

.map-canvas-card {
  background: #060606;
  border: 1px solid var(--border-subtle);
  padding: 1.25rem;
  position: relative;
  overflow: hidden;
}

.river-svg {
  width: 100%;
  height: auto;
  display: block;
}

.map-pin {
  cursor: pointer;
}

.map-pin circle.pin-pulse {
  fill: rgba(255, 255, 255, 0.14);
  transition: r 0.22s ease, fill 0.22s ease;
}

.map-pin circle.pin-core {
  fill: #ffffff;
  stroke: #000000;
  stroke-width: 2px;
}

.map-pin.active circle.pin-core,
.map-pin:hover circle.pin-core {
  fill: #d62828;
}

.map-pin.active circle.pin-pulse,
.map-pin:hover circle.pin-pulse {
  fill: rgba(214, 40, 40, 0.36);
}

.map-inspector {
  background: transparent;
  border-left: 1px solid var(--border-strong);
  padding: 0 0 0 1.75rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.25rem;
}

@media (max-width: 980px) {
  .map-inspector {
    border-left: none;
    border-top: 1px solid var(--border-strong);
    padding: 1.5rem 0 0;
  }
}

.inspector-img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border: 1px solid var(--border-subtle);
}

.inspector-coords {
  font-family: var(--font-sans);
  font-size: 0.76rem;
  color: var(--ink-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.inspector-title {
  font-family: var(--font-serif);
  font-size: 1.7rem;
  font-weight: 400;
  margin: 0.25rem 0 0.5rem;
  line-height: 1.18;
}

.inspector-layer-tag {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.45);
  padding: 0.15rem 0.55rem;
  margin-bottom: 0.55rem;
}

/* --- Geographic atlas (real-coordinate base maps) ------------------------- */
.atlas-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(280px, 1fr);
  gap: 2rem;
  align-items: start;
  border-top: 1px solid var(--border-subtle);
  padding-top: 1.5rem;
}

@media (max-width: 980px) {
  .atlas-layout {
    grid-template-columns: 1fr;
  }
}

.atlas-layout .map-inspector {
  position: sticky;
  top: 6.5rem;
  min-height: 0;
}

.atlas-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.25rem;
  margin-bottom: 0.75rem;
}

.atlas-tabs {
  display: flex;
  border: 1px solid rgba(255, 255, 255, 0.4);
}

.atlas-tab {
  background: transparent;
  color: var(--ink-secondary);
  border: none;
  border-right: 1px solid rgba(255, 255, 255, 0.4);
  padding: 0.45rem 0.95rem;
  font-family: var(--font-display);
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
}

.atlas-tab:last-child {
  border-right: none;
}

.atlas-tab.active,
.atlas-tab:hover,
.atlas-tab:focus-visible {
  background: #ffffff;
  color: #000000;
  outline: none;
}

.atlas-legend {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin: 0;
  padding: 0;
  font-family: var(--font-display);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

.atlas-legend li {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.atlas-legend svg {
  width: 15px;
  height: 15px;
}

.atlas-frame {
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: #030303;
  line-height: 0;
}

.atlas-svg {
  display: block;
  width: 100%;
  height: auto;
}

.atlas-svg[hidden] {
  display: none;
}

.atlas-halo {
  paint-order: stroke;
  stroke: #000000;
  stroke-width: 3.5px;
  stroke-linejoin: round;
}

.atlas-place {
  font-family: var(--font-display);
  font-size: 10.5px;
  letter-spacing: 0.22em;
  fill: rgba(255, 255, 255, 0.42);
}

.atlas-road {
  font-family: var(--font-sans);
  font-size: 8.5px;
  letter-spacing: 0.14em;
  fill: rgba(255, 255, 255, 0.38);
}

.atlas-water,
.atlas-river {
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: 0.3em;
  fill: rgba(255, 255, 255, 0.62);
}

.atlas-river {
  font-size: 9px;
  letter-spacing: 0.16em;
}

.atlas-water-italic {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 12px;
  fill: rgba(255, 255, 255, 0.6);
}

.atlas-state {
  font-family: var(--font-display);
  font-size: 17px;
  letter-spacing: 0.5em;
  fill: rgba(255, 255, 255, 0.2);
}

.atlas-territory {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 46px;
  letter-spacing: 0.04em;
  fill: rgba(255, 255, 255, 0.17);
  pointer-events: none;
}

.atlas-fall {
  font-family: var(--font-display);
  font-size: 9px;
  letter-spacing: 0.4em;
  fill: rgba(255, 255, 255, 0.5);
}

.atlas-city {
  font-family: var(--font-sans);
  font-size: 11px;
  fill: rgba(255, 255, 255, 0.72);
}

.atlas-dot {
  fill: #ffffff;
}

.atlas-scale line {
  stroke: #ffffff;
  stroke-width: 1;
}

.atlas-scale-text {
  font-family: var(--font-display);
  font-size: 9.5px;
  letter-spacing: 0.1em;
  fill: #ffffff;
}

.atlas-north {
  fill: #ffffff;
}

/* Markers: circle = 2020–21 origin, square = 2022–24 chapter, diamond = 2025 */
.atlas-pin,
.atlas-callout,
.atlas-cluster {
  cursor: pointer;
  outline: none;
}

.pin-hit {
  fill: transparent;
}

.atlas-pin .pin-shape,
.atlas-callout .pin-shape {
  stroke-width: 1.5;
  transition: fill 0.15s ease, stroke 0.15s ease;
}

.era-origin .pin-shape,
.era-legacy .pin-shape {
  fill: #000000;
  stroke: #ffffff;
}

.era-grant .pin-shape {
  fill: #ffffff;
  stroke: #000000;
}

.pin-code {
  font-family: var(--font-display);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.02em;
  pointer-events: none;
}

.era-origin .pin-code,
.era-legacy .pin-code {
  fill: #ffffff;
}

.era-grant .pin-code {
  fill: #000000;
}

.pin-name {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 700;
  fill: #ffffff;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.15s ease;
}

.atlas-pin:hover .pin-name,
.atlas-pin:focus-visible .pin-name,
.atlas-pin.active .pin-name {
  opacity: 1;
}

.atlas-pin.active .pin-shape,
.atlas-pin:hover .pin-shape,
.atlas-pin:focus-visible .pin-shape,
.atlas-callout:hover .pin-shape,
.atlas-callout:focus-visible .pin-shape,
.atlas-callout.active .pin-shape {
  fill: #d62828;
  stroke: #ffffff;
}

.atlas-pin.active .pin-code,
.atlas-pin:hover .pin-code,
.atlas-pin:focus-visible .pin-code,
.atlas-callout:hover .pin-code,
.atlas-callout.active .pin-code {
  fill: #ffffff;
}

.atlas-pins .atlas-pin.active {
  /* raise above neighbours */
  isolation: isolate;
}

.atlas-callout-arrow {
  fill: #ffffff;
}

.atlas-callout-stem {
  stroke: #ffffff;
  stroke-width: 1.2;
}

.atlas-callout .pin-shape {
  fill: #000000;
  stroke: #ffffff;
  stroke-dasharray: 2.5 2;
}

.atlas-callout .pin-code {
  fill: #ffffff;
}

.atlas-callout-text {
  font-family: var(--font-sans);
  font-size: 11.5px;
  font-weight: 700;
  fill: #ffffff;
}

.atlas-callout-dist {
  font-family: var(--font-display);
  font-size: 9px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  fill: rgba(255, 255, 255, 0.6);
}

.atlas-cluster-title {
  font-family: var(--font-display);
  font-size: 14px;
  letter-spacing: 0.24em;
  fill: #ffffff;
}

.atlas-cluster-sub {
  font-family: var(--font-display);
  font-size: 9px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  fill: rgba(255, 255, 255, 0.65);
}

.atlas-cluster:hover .atlas-cluster-title,
.atlas-cluster:focus-visible .atlas-cluster-title {
  fill: #d62828;
}

.atlas-credit {
  font-size: 0.72rem;
  color: var(--ink-muted);
  margin: 0.6rem 0 0;
  line-height: 1.5;
}

.atlas-index {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem 2rem;
  margin-top: 2.25rem;
  border-top: 1px solid var(--border-subtle);
  padding-top: 1.5rem;
}

@media (max-width: 860px) {
  .atlas-index {
    grid-template-columns: 1fr;
  }
}

.atlas-index-group:nth-child(2) {
  grid-row: span 1;
}

.atlas-index-heading {
  font-family: var(--font-display);
  font-size: 0.74rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 0.5rem;
}

.atlas-index ol {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.atlas-index-item {
  width: 100%;
  display: grid;
  grid-template-columns: 22px 1fr auto;
  align-items: center;
  gap: 0.65rem;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  padding: 0.5rem 0;
  text-align: left;
  color: var(--ink-secondary);
  cursor: pointer;
}

.atlas-index-item svg {
  width: 22px;
  height: 22px;
}

.atlas-index-name {
  font-size: 0.84rem;
  line-height: 1.3;
}

.atlas-index-date {
  font-family: var(--font-display);
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-muted);
  white-space: nowrap;
}

.atlas-index-item:hover,
.atlas-index-item:focus-visible,
.atlas-index-item.active {
  color: #ffffff;
  outline: none;
}

.atlas-index-item:hover .pin-shape,
.atlas-index-item:focus-visible .pin-shape,
.atlas-index-item.active .pin-shape {
  fill: #d62828;
  stroke: #ffffff;
}

.atlas-index-item:hover .pin-code,
.atlas-index-item.active .pin-code {
  fill: #ffffff;
}

/* ==========================================================================
   8. CHRONOLOGICAL CHAPTER EXHIBITION BANDS & BESPOKE SUBPAGES
   ========================================================================== */
.chapter-pavilion {
  position: relative;
  padding: 5rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.3);
  background: #000000;
}

.chapter-pavilion::before {
  display: none;
}

.chapter-inner {
  position: relative;
  z-index: 1;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.chapter-meta-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 1.1rem;
}

/* Signature 1px rectangular white/accent frame badge */
.chapter-badge {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.24rem 0.7rem;
  border: 1px solid var(--chapter-accent, #ffffff);
  background: transparent;
  color: var(--chapter-accent, #ffffff);
}

.chapter-date,
.chapter-site {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  color: var(--ink-muted);
}

.chapter-title {
  font-family: var(--font-serif);
  font-size: clamp(2.25rem, 4.4vw, 3.6rem);
  font-weight: 400;
  line-height: 1.08;
  margin: 0 0 0.55rem;
  color: #ffffff;
}

/* Signature Framed Rectangular Title Box (like [ There All Along ]) */
.framed-chapter-header {
  display: inline-block;
  border: 2px solid #ffffff;
  padding: 0.45rem 1.35rem 0.55rem;
  margin-bottom: 0.85rem;
}

.framed-chapter-header .chapter-title {
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin: 0;
  line-height: 1;
}

.chapter-subtitle {
  font-size: clamp(1.02rem, 1.45vw, 1.24rem);
  color: var(--chapter-accent, #d4d4d4);
  font-family: var(--font-display);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin: 0 0 2rem;
}

/* Chapter Media Stage — Unadorned Full-Frame Photography */
.chapter-stage {
  position: relative;
  overflow: hidden;
  border: none;
  background: #000000;
  margin-bottom: 0.75rem;
}

.chapter-stage-media {
  width: 100%;
  max-height: 700px;
  object-fit: cover;
  display: block;
}

.chapter-stage-caption {
  padding: 0.85rem 0;
  background: transparent;
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.84rem;
  color: var(--ink-muted);
}

/* Uncaptioned / Clean Contact-Sheet Strip inside Chapter */
.chapter-gallery-strip {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(165px, 1fr));
  gap: 10px;
  margin: 1rem 0 2.75rem;
}

.gallery-thumb-btn {
  position: relative;
  padding: 0;
  border: none;
  overflow: hidden;
  background: #0a0a0a;
  text-align: left;
  transition: opacity 0.2s ease;
}

.gallery-thumb-btn:hover {
  opacity: 0.86;
}

.gallery-thumb-btn img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.gallery-thumb-label {
  padding: 0.4rem 0;
  background: #000000;
  font-size: 0.74rem;
  font-weight: 300;
  color: var(--ink-secondary);
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.thumb-type-tag {
  position: absolute;
  top: 0;
  left: 0;
  padding: 0.15rem 0.45rem;
  background: rgba(0, 0, 0, 0.84);
  color: #ffffff;
  font-family: var(--font-display);
  font-size: 0.64rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Signature Crimson Portrait & Silhouette Grid (There All Along) */
.tal-portrait-monument {
  margin: 3.5rem 0 4rem;
  padding: 3rem 0;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.tal-banner-wrap {
  max-width: 580px;
  margin: 0 auto 2.75rem;
}

.crimson-plates-grid {
  max-width: 920px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.75rem 2.5rem;
}

@media (max-width: 760px) {
  .crimson-plates-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem 1.25rem;
  }
}

.crimson-plate-figure {
  margin: 0;
  text-align: center;
}

.crimson-plate-square {
  width: 100%;
  aspect-ratio: 1 / 1;
  background: var(--crimson-plate);
  overflow: hidden;
  margin-bottom: 0.65rem;
}

.crimson-plate-square img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.crimson-plate-name {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.2vw, 1.85rem);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #ffffff;
  margin: 0 0 0.25rem;
}

.crimson-plate-role {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 300;
  color: var(--ink-muted);
  margin: 0;
}

/* Original Event Poster Showcase Split */
.chapter-poster-feature {
  display: grid;
  grid-template-columns: minmax(220px, 310px) 1fr;
  gap: 2.5rem;
  align-items: center;
  margin: 3rem 0;
  padding: 2.5rem 0;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

@media (max-width: 760px) {
  .chapter-poster-feature {
    grid-template-columns: 1fr;
  }
}

/* Two-Column Editorial Narrative & Unboxed Archival Credits */
.chapter-body-grid {
  display: grid;
  grid-template-columns: 1.5fr 0.95fr;
  gap: 3.25rem;
  align-items: start;
}

@media (max-width: 940px) {
  .chapter-body-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

.chapter-prose p {
  margin: 0 0 1.35rem;
  font-family: var(--font-editorial);
  font-size: 1.02rem;
  line-height: 1.85;
  color: #e4e4e4;
}

.chapter-prose p strong {
  color: #ffffff;
  font-weight: 700;
}

/* Unboxed Oral History Pull-Quote */
.oral-quote-card {
  margin: 2.25rem 0;
  padding: 0.25rem 0 0.25rem 1.5rem;
  border-left: 2px solid var(--chapter-accent, #ffffff);
  background: transparent;
}

.oral-quote-text {
  font-family: var(--font-serif);
  font-size: clamp(1.25rem, 1.85vw, 1.52rem);
  font-style: italic;
  line-height: 1.45;
  color: #ffffff;
  margin: 0 0 0.75rem;
}

.oral-quote-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.oral-speaker-meta {
  font-family: var(--font-sans);
  font-size: 0.86rem;
  color: #ffffff;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.oral-speaker-role {
  display: block;
  font-size: 0.78rem;
  color: var(--ink-muted);
  font-weight: 300;
}

.audio-pill-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.36rem 0.85rem;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.65);
  color: #ffffff;
  font-family: var(--font-sans);
  font-size: 0.76rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  transition: background 0.16s ease, color 0.16s ease;
}

.audio-pill-btn:hover,
.audio-pill-btn.playing {
  background: #ffffff;
  border-color: #ffffff;
  color: #000000;
}

/* Unboxed Chapter Credits Rail */
.chapter-dossier-card {
  background: transparent;
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.38);
  padding: 1.35rem 0 0;
  display: flex;
  flex-direction: column;
  gap: 1.35rem;
}

.dossier-group-title {
  font-family: var(--font-display);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--chapter-accent, #ffffff);
  margin: 0 0 0.45rem;
}

.dossier-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.38rem;
  font-size: 0.88rem;
  font-weight: 300;
  color: var(--ink-secondary);
}

.tech-specs-details {
  border-top: 1px solid var(--border-subtle);
  padding-top: 0.9rem;
}

.tech-specs-details summary {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  color: #ffffff;
  cursor: pointer;
  user-select: none;
}

.tech-specs-body {
  margin-top: 0.65rem;
  font-size: 0.82rem;
  color: var(--ink-muted);
  line-height: 1.6;
}

.tech-code-tag {
  display: inline-block;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.72rem;
  padding: 0.14rem 0.45rem;
  margin: 0.14rem 0.22rem 0.14rem 0;
  border: 1px solid var(--border-subtle);
  background: #0d0d0d;
  color: var(--ink-secondary);
}

/* ==========================================================================
   9. THE SCREENING ROOM (PURE BLACK CINEMA STAGE & SHARP CONTACT GRID)
   ========================================================================== */
.theater-shell {
  background: #050505;
  border: 1px solid var(--border-strong);
  overflow: hidden;
  margin-bottom: 2.25rem;
}

.theater-grid {
  display: grid;
  grid-template-columns: 1.65fr 1fr;
}

@media (max-width: 1024px) {
  .theater-grid {
    grid-template-columns: 1fr;
  }
}

.theater-video-wrap {
  background: #000000;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.theater-video-wrap video {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000000;
}

.theater-sidebar {
  padding: 1.4rem;
  border-left: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
  max-height: 540px;
  background: #050505;
}

.theater-transcript-scroll {
  margin-top: 0.85rem;
  padding-right: 0.4rem;
  overflow-y: auto;
  flex: 1;
  border-top: 1px solid var(--border-subtle);
  padding-top: 0.85rem;
  font-size: 0.85rem;
  color: var(--ink-secondary);
}

.transcript-cue {
  padding: 0.45rem 0.55rem;
  margin-bottom: 0.28rem;
  cursor: pointer;
  border-left: 2px solid transparent;
  transition: background 0.14s ease;
}

.transcript-cue:hover {
  background: #141414;
}

.transcript-cue.active {
  background: #191919;
  border-left-color: #ffffff;
  color: #ffffff;
}

.transcript-search-input {
  width: 100%;
  padding: 0.48rem 0.7rem;
  margin-bottom: 0.6rem;
  border: 1px solid var(--border-subtle);
  background: #000000;
  color: #ffffff;
  font-family: var(--font-sans);
  font-size: 0.82rem;
}

.transcript-search-input:focus {
  outline: none;
  border-color: #ffffff;
}

.film-meta-badges {
  position: absolute;
  top: 0;
  left: 0;
  display: flex;
  gap: 0.25rem;
  flex-wrap: wrap;
}

.film-meta-pill {
  padding: 0.18rem 0.5rem;
  background: rgba(0, 0, 0, 0.85);
  color: #ffffff;
  font-family: var(--font-display);
  font-size: 0.64rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.cue-time {
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 0.72rem;
  color: var(--ink-muted);
  margin-right: 0.45rem;
}

/* Sharp Architectural Filter Tabs */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.85rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid var(--border-subtle);
}

.filter-chip {
  padding: 0.42rem 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: transparent;
  color: var(--ink-secondary);
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 300;
  letter-spacing: 0.03em;
  transition: background 0.16s ease, color 0.16s ease, border-color 0.16s ease;
}

.filter-chip:hover,
.filter-chip.active {
  background: #ffffff;
  border-color: #ffffff;
  color: #000000;
  font-weight: 700;
}

.film-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.75rem 1.25rem;
}

.film-card {
  background: transparent;
  border: none;
  overflow: hidden;
  cursor: pointer;
  text-align: left;
  padding: 0;
  color: inherit;
  text-decoration: none;
}

.film-card-poster {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #080808;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  transition: border-color 0.18s ease;
}

.film-card:hover .film-card-poster,
.film-card.active .film-card-poster {
  border-color: #ffffff;
}

.film-card-poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.film-play-badge {
  position: absolute;
  bottom: 0;
  right: 0;
  padding: 0.2rem 0.55rem;
  background: rgba(0, 0, 0, 0.88);
  color: #ffffff;
  font-family: var(--font-display);
  font-size: 0.72rem;
  letter-spacing: 0.05em;
}

.film-card-body {
  padding: 0.65rem 0 0;
}

.film-card-title {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 400;
  margin: 0 0 0.2rem;
  line-height: 1.25;
  color: #ffffff;
}

.film-card-desc {
  font-size: 0.78rem;
  font-weight: 300;
  color: var(--ink-muted);
  margin: 0;
}

/* ==========================================================================
   10. UNBOXED VOICES ARCHIVE & GALLERY / EDUCATOR PLATES
   ========================================================================== */
.voices-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 2.25rem 2rem;
}

.voice-archive-card {
  background: transparent;
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.3);
  padding: 1.25rem 0 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1rem;
}

.educator-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 2.25rem 1.35rem;
}

.resource-card {
  background: transparent;
  border: none;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.resource-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.resource-card.poster-aspect img {
  aspect-ratio: 3 / 4;
  object-fit: contain;
  background: #050505;
}

.resource-card-body {
  padding: 0.85rem 0 0;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 0.8rem;
}

/* Named Memorial Roll (Eppes Manor 46 Names) */
.memorial-roll-box {
  background: #050505;
  border: 1px solid rgba(255, 255, 255, 0.45);
  padding: 2.25rem 2rem;
  margin: 2.25rem 0;
  text-align: center;
}

.memorial-roll-names {
  font-family: var(--font-serif);
  font-size: clamp(1.22rem, 2vw, 1.58rem);
  font-style: italic;
  line-height: 1.8;
  color: #ffffff;
  max-width: 58ch;
  margin: 1rem auto;
}

/* ==========================================================================
   11. ARCHIVAL LIGHTBOX MODAL
   ========================================================================== */
.lightbox-backdrop {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(0, 0, 0, 0.96);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.lightbox-backdrop.open {
  display: flex;
}

.lightbox-dialog {
  max-width: 1240px;
  width: 100%;
  max-height: 92vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.85rem;
  position: relative;
}

.lightbox-media-holder {
  max-height: 78vh;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: auto;
}

.lightbox-media-holder img,
.lightbox-media-holder video {
  max-height: 76vh;
  max-width: 100%;
  object-fit: contain;
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.lightbox-caption-bar {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  color: var(--ink-secondary);
  font-size: 0.88rem;
  border-top: 1px solid var(--border-subtle);
  padding-top: 0.75rem;
}

.lightbox-close-btn {
  position: absolute;
  top: -0.5rem;
  right: 0;
  background: #000000;
  border: 1px solid #ffffff;
  color: #ffffff;
  padding: 0.38rem 0.85rem;
  font-size: 0.82rem;
}

/* ==========================================================================
   12. SUBPAGE HERO, BREADCRUMBS & FOOTER
   ========================================================================== */
.subpage-hero {
  padding: 3.25rem 1.5rem 2.75rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  background: #000000;
}

.subpage-hero-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}

.breadcrumb-nav {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 300;
  color: var(--ink-muted);
  margin-bottom: 1.25rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.breadcrumb-nav a {
  color: var(--ink-secondary);
  text-decoration: none;
}

.breadcrumb-nav a:hover {
  color: #ffffff;
  text-decoration: underline;
}

.chapter-pager {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 3.75rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.35);
}

.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.38);
  background: #000000;
  padding: 4rem 1.5rem 3.5rem;
}

.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 2.75rem;
}

@media (max-width: 860px) {
  .footer-inner {
    grid-template-columns: 1fr;
  }
}

.footer-col h4 {
  font-family: var(--font-display);
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #ffffff;
  margin: 0 0 0.9rem;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  font-size: 0.86rem;
  font-weight: 300;
}

.footer-links a {
  text-decoration: none;
  color: var(--ink-secondary);
}

.footer-links a:hover {
  color: #ffffff;
  text-decoration: underline;
}

@media print {
  .site-header, .hero-actions, .filter-bar, video, .audio-pill-btn {
    display: none !important;
  }
  body, html {
    background: #fff !important;
    color: #000 !important;
  }
}

/* ==========================================================================
   13. MELLON GRANT MONOGRAPH & CAPSTONE SHOWCASE (EDITORIAL PRINT-ON-BLACK)
   ========================================================================== */
.grant-premiere-band {
  position: relative;
  background: #000000;
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

.grant-premiere-grid {
  display: grid;
  grid-template-columns: 1.45fr 1fr;
  gap: 2.5rem;
  align-items: start;
}

@media (max-width: 980px) {
  .grant-premiere-grid {
    grid-template-columns: 1fr;
  }
}

.grant-master-player {
  background: #000000;
  border: 1px solid rgba(255, 255, 255, 0.35);
}

.grant-master-player video {
  width: 100%;
  aspect-ratio: 16 / 9;
  display: block;
  background: #000000;
}

.grant-master-caption {
  padding: 0.95rem 1.15rem;
  background: #060606;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.grant-summary-card {
  background: transparent;
  border-top: 1px solid rgba(255, 255, 255, 0.38);
  padding: 1.35rem 0 0;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.grant-metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.75rem;
}

@media (max-width: 1024px) {
  .grant-metrics-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 560px) {
  .grant-metrics-grid {
    grid-template-columns: 1fr;
  }
}

.grant-metric-box {
  background: transparent;
  border: none;
  border-top: 2px solid #ffffff;
  padding: 1.15rem 0 0;
}

.grant-metric-val {
  font-family: var(--font-display);
  font-size: 2.35rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.05;
  margin-bottom: 0.3rem;
}

.grant-metric-lbl {
  font-size: 0.88rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.25rem;
}

.grant-metric-sub {
  font-size: 0.8rem;
  font-weight: 300;
  color: var(--ink-muted);
}

.budget-table-wrap {
  background: #000000;
  border-top: 1px solid #ffffff;
  border-bottom: 1px solid #ffffff;
  overflow-x: auto;
}

.budget-web-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 680px;
}

.budget-web-table th {
  text-align: left;
  font-family: var(--font-display);
  font-size: 0.76rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #ffffff;
  padding: 0.9rem 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.45);
  background: #080808;
}

.budget-web-table td {
  padding: 0.95rem 1rem;
  border-bottom: 1px solid var(--border-subtle);
  vertical-align: top;
  font-size: 0.9rem;
}

.budget-web-table tr:last-child td {
  border-bottom: none;
}

.budget-bar-track {
  width: 100%;
  height: 4px;
  background: rgba(255, 255, 255, 0.14);
  margin-top: 0.4rem;
}

.budget-bar-fill {
  height: 100%;
  background: #ffffff;
}

.legacy-banner-card {
  background: #060606;
  border: 1px solid rgba(255, 255, 255, 0.42);
  padding: 2.25rem;
  margin-bottom: 2.5rem;
}

@media (max-width: 900px) {
  .legacy-banner-card > div {
    grid-template-columns: 1fr !important;
  }
}

/* ==========================================================================
   14. ARCHIVE-WIDE SEARCH MODAL & THEATER CONTROLS
   ========================================================================== */
.search-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 2200;
  background: rgba(0, 0, 0, 0.92);
  display: none;
  align-items: flex-start;
  justify-content: center;
  padding: 5.5rem 1rem 2rem;
}

.search-modal-backdrop.open {
  display: flex;
}

.search-modal-dialog {
  width: 100%;
  max-width: 740px;
  background: #080808;
  border: 1px solid #ffffff;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  max-height: 78vh;
}

.search-modal-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.95rem 1.2rem;
  border-bottom: 1px solid var(--border-strong);
  background: #000000;
}

.search-modal-input {
  flex: 1;
  background: transparent;
  border: none;
  color: #ffffff;
  font-family: var(--font-sans);
  font-size: 1.02rem;
  outline: none;
}

.search-modal-results {
  overflow-y: auto;
  padding: 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.search-result-item {
  display: flex;
  flex-direction: column;
  gap: 0.18rem;
  padding: 0.7rem 0.9rem;
  border-bottom: 1px solid var(--border-subtle);
  background: transparent;
  text-decoration: none;
}

.search-result-item:hover,
.search-result-item:focus {
  background: #161616;
  outline: none;
}

.search-result-kind {
  font-family: var(--font-display);
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink-muted);
}

.search-result-title {
  font-family: var(--font-serif);
  font-size: 1.18rem;
  font-weight: 400;
  color: #ffffff;
  line-height: 1.22;
}

.search-result-snippet {
  font-size: 0.82rem;
  color: var(--ink-secondary);
  line-height: 1.45;
}

.theater-transport-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  padding: 0.7rem 1.1rem;
  background: #060606;
  border-top: 1px solid var(--border-subtle);
  flex-wrap: wrap;
}

.minidoc-nine-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem 1.35rem;
}

@media (max-width: 1100px) {
  .minidoc-nine-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 680px) {
  .minidoc-nine-grid {
    grid-template-columns: 1fr;
  }
}

video::cue {
  background-color: rgba(0, 0, 0, 0.82);
  color: #ffffff;
  font-family: 'Lato', system-ui, -apple-system, sans-serif;
  font-size: 0.94em;
  font-weight: 400;
  line-height: 1.44;
}

.cc-toggle-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.32rem 0.72rem;
  border: 1px solid rgba(255, 255, 255, 0.45);
  background: transparent;
  color: var(--ink-secondary);
  font-family: var(--font-sans);
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  cursor: pointer;
}

.cc-toggle-btn:hover,
.cc-toggle-btn.active {
  background: #ffffff;
  border-color: #ffffff;
  color: #000000;
}

.cc-toggle-btn[hidden] {
  display: none !important;
}

.theater-chapters-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.42rem;
  padding: 0.55rem 1.1rem;
  background: #080808;
  border-top: 1px solid var(--border-subtle);
}

.theater-chapters-bar[hidden] {
  display: none !important;
}

.theater-chapters-label {
  font-family: var(--font-display);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-right: 0.25rem;
}

.chapter-jump-pill {
  padding: 0.22rem 0.62rem;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: transparent;
  color: var(--ink-secondary);
  font-family: var(--font-sans);
  font-size: 0.74rem;
  cursor: pointer;
}

.chapter-jump-pill:hover,
.chapter-jump-pill.active {
  background: #ffffff;
  border-color: #ffffff;
  color: #000000;
}

.method-step[data-seek-master] {
  cursor: pointer;
}

.continuing-2025-row {
  border-top: 1px solid rgba(255, 255, 255, 0.35);
  padding-top: 1.75rem;
  display: grid;
  grid-template-columns: minmax(280px, 1.05fr) minmax(0, 1.25fr);
  gap: 2rem;
  align-items: start;
}

@media (max-width: 860px) {
  .continuing-2025-row {
    grid-template-columns: 1fr;
  }
}


/* ==========================================================================
   11. EDITORIAL REVIEW & ANNOTATION MODE (?review=alex)
   ========================================================================== */
body.review-mode-active {
  padding-bottom: 3.75rem;
}

body.review-picking * {
  cursor: crosshair !important;
}

.review-pick-hover {
  outline: 2px solid #d62828 !important;
  outline-offset: 4px !important;
  background-color: rgba(214, 40, 40, 0.09) !important;
}

.review-annotated-el {
  position: relative;
}

.review-inline-pin {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: 0.4rem;
  padding: 0.08rem 0.42rem;
  background: #d62828;
  color: #ffffff;
  border: 1px solid #ffffff;
  font-family: var(--font-display);
  font-size: 0.66rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  vertical-align: middle;
  cursor: pointer;
  line-height: 1.25;
}

.review-inline-pin.is-applied {
  background: #1f6f43;
}

.review-selection-pill {
  position: fixed;
  z-index: 9998;
  padding: 0.42rem 0.8rem;
  background: #d62828;
  color: #ffffff;
  border: 1px solid #ffffff;
  font-family: var(--font-display);
  font-size: 0.76rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.85);
}

.review-selection-pill[hidden] {
  display: none !important;
}

.review-dock {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9990;
  background: #050505;
  border-top: 2px solid #d62828;
  padding: 0.55rem 1.25rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  box-shadow: 0 -8px 28px rgba(0, 0, 0, 0.9);
}

.review-dock-left,
.review-dock-right {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem;
}

.review-mode-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.25rem 0.65rem;
  background: #d62828;
  color: #ffffff;
  font-family: var(--font-display);
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.review-dock-hint {
  font-size: 0.8rem;
  color: var(--ink-secondary);
}

.review-btn {
  padding: 0.36rem 0.78rem;
  border: 1px solid rgba(255, 255, 255, 0.4);
  background: #000000;
  color: #ffffff;
  font-family: var(--font-display);
  font-size: 0.74rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.review-btn:hover,
.review-btn.active {
  background: #ffffff;
  color: #000000;
  border-color: #ffffff;
}

.review-btn-primary {
  background: #d62828;
  border-color: #d62828;
  color: #ffffff;
}

.review-btn-primary:hover {
  background: #ffffff;
  border-color: #ffffff;
  color: #000000;
}

.review-modal-backdrop,
.review-drawer-backdrop {
  position: fixed;
  inset: 0;
  z-index: 9995;
  background: rgba(0, 0, 0, 0.82);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.review-modal-backdrop[hidden],
.review-drawer-backdrop[hidden] {
  display: none !important;
}

.review-modal {
  width: min(620px, 100%);
  max-height: 90vh;
  overflow-y: auto;
  background: #060606;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-top: 3px solid #d62828;
  padding: 1.35rem 1.5rem;
}

.review-field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
  margin-bottom: 0.85rem;
}

.review-label {
  display: block;
  font-family: var(--font-display);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 0.3rem;
}

.review-input,
.review-select,
.review-textarea {
  width: 100%;
  background: #000000;
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #ffffff;
  padding: 0.55rem 0.7rem;
  font-family: var(--font-sans);
  font-size: 0.88rem;
}

.review-textarea {
  min-height: 110px;
  resize: vertical;
  line-height: 1.5;
}

.review-target-preview {
  background: #101010;
  border-left: 3px solid #d62828;
  padding: 0.6rem 0.8rem;
  font-size: 0.82rem;
  color: var(--ink-secondary);
  max-height: 110px;
  overflow-y: auto;
  margin-bottom: 0.9rem;
  white-space: pre-wrap;
}

.review-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 3.3rem;
  width: min(480px, 100%);
  background: #060606;
  border-left: 1px solid rgba(255, 255, 255, 0.4);
  display: flex;
  flex-direction: column;
  z-index: 9996;
}

.review-drawer-header {
  padding: 1rem 1.2rem;
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.review-drawer-list {
  flex: 1;
  overflow-y: auto;
  padding: 1rem 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.review-card {
  border: 1px solid rgba(255, 255, 255, 0.22);
  padding: 0.85rem 0.95rem;
  background: #0b0b0b;
}

.review-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 0.45rem;
}

@media (max-width: 720px) {
  .review-dock-hint {
    display: none;
  }
  .review-field-row {
    grid-template-columns: 1fr;
  }
}
