:root {
  --bg: #0c0c0c;
  --bg-alt: #141414;
  --ink: #f2efe6;
  --ink-dim: #b9b3a4;
  --rule: #2a2a2a;
  --gold: #c9a227;
  --gold-soft: #d9b656;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-weight: 300;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: "Playfair Display", Georgia, "Times New Roman", serif;
  font-weight: 700;
  letter-spacing: 0.005em;
  color: var(--ink);
}

h1 { font-size: clamp(2.25rem, 5vw, 3.5rem); line-height: 1.1; margin: 0 0 1rem; }
h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); line-height: 1.2; margin: 0 0 1rem; }
h3 { font-size: 1.15rem; margin: 1.2rem 0 0.5rem; color: var(--gold-soft); font-weight: 500; }

p { margin: 0 0 1rem; color: var(--ink); }
p.intro { color: var(--ink-dim); font-size: 1.05rem; max-width: 60ch; }

a { color: var(--gold-soft); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--gold); }

em { font-style: italic; color: var(--ink); }
strong { color: var(--ink); font-weight: 600; }

.wrap { max-width: 70rem; margin: 0 auto; padding: 0 1.25rem; }

.skip {
  position: absolute;
  left: -9999px;
}
.skip:focus { left: 1rem; top: 1rem; background: var(--gold); color: #000; padding: 0.5rem 0.75rem; z-index: 100; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(12,12,12,0.85);
  backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid var(--rule);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 64px;
  flex-wrap: wrap;
}
.brand {
  font-family: "Playfair Display", serif;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: 0.02em;
}
.brand .candle { color: var(--gold); margin-right: 0.35rem; }
.site-header nav {
  display: flex;
  gap: 1.2rem;
  flex-wrap: wrap;
  font-size: 0.85rem;
}
.site-header nav a {
  color: var(--ink-dim);
  text-decoration: none;
  padding: 0.25rem 0;
  border-bottom: 1px solid transparent;
}
.site-header nav a:hover { color: var(--ink); border-bottom-color: var(--gold); }

/* Hero */
.hero {
  padding: clamp(4rem, 10vw, 8rem) 0 clamp(3rem, 8vw, 6rem);
  border-bottom: 1px solid var(--rule);
}
.hero .kicker {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.75rem;
  color: var(--gold);
  margin: 0 0 1rem;
}
.hero .lede {
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  color: var(--ink);
  max-width: 50ch;
  margin: 0 0 1.5rem;
}
.hero .disclaimer {
  font-size: 0.9rem;
  color: var(--ink-dim);
  max-width: 60ch;
  border-left: 2px solid var(--gold);
  padding-left: 1rem;
}

/* Sections */
.section {
  padding: clamp(3rem, 7vw, 6rem) 0;
  border-bottom: 1px solid var(--rule);
}
.section.alt { background: var(--bg-alt); }
.section h2 {
  position: relative;
  display: inline-block;
  padding-bottom: 0.5rem;
  margin-bottom: 1.25rem;
}
.section h2::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 3rem; height: 2px;
  background: var(--gold);
}

/* Timeline */
.timeline {
  list-style: none;
  padding: 0;
  margin: 2rem 0 0;
  border-left: 1px solid var(--rule);
}
.timeline li {
  position: relative;
  padding: 0.5rem 0 1.5rem 1.5rem;
}
.timeline li::before {
  content: "";
  position: absolute;
  left: -5px; top: 1rem;
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--gold);
}
.timeline time {
  display: inline-block;
  font-size: 0.78rem;
  color: var(--gold-soft);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.25rem;
}
.timeline h3 { margin: 0.1rem 0 0.3rem; color: var(--ink); font-family: "Playfair Display", serif; font-size: 1.1rem; }

/* Grid */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
  margin-top: 1.5rem;
}
.grid article {
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--rule);
  border-radius: 6px;
  padding: 1.1rem 1.1rem 1.2rem;
}
.grid article h3 { margin-top: 0; }

/* Victims list */
.victims, .lessons, .sources, .prevention {
  margin: 1.25rem 0 0;
  padding-left: 1.2rem;
}
.victims li, .lessons li, .sources li {
  margin-bottom: 0.6rem;
  color: var(--ink);
}

.prevention {
  list-style: decimal;
}
.prevention li { margin-bottom: 1.25rem; }
.prevention h3 { margin: 0 0 0.3rem; }

/* Media placeholder */
.media-placeholder {
  margin: 2rem 0 0;
}
.media-placeholder .ph {
  border: 1px dashed var(--gold);
  background: rgba(201,162,39,0.04);
  color: var(--gold-soft);
  padding: 2rem 1rem;
  text-align: center;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
}
.media-placeholder figcaption {
  color: var(--ink-dim);
  font-size: 0.8rem;
  text-align: center;
  margin-top: 0.5rem;
}

/* Footer */
.site-footer {
  padding: 3rem 0 3.5rem;
  background: #080808;
  border-top: 1px solid var(--rule);
}
.site-footer .memorial {
  font-family: "Playfair Display", serif;
  font-size: 1.25rem;
  color: var(--ink);
  margin: 0 0 0.75rem;
}
.site-footer .memorial .candle { color: var(--gold); margin-right: 0.35rem; }
.site-footer .statement {
  color: var(--ink-dim);
  max-width: 60ch;
}
.site-footer .meta {
  color: #6d6a62;
  font-size: 0.8rem;
  margin-top: 1.25rem;
}

@media (max-width: 640px) {
  .site-header .wrap { padding-top: 0.5rem; padding-bottom: 0.5rem; }
  .site-header nav { gap: 0.75rem; font-size: 0.8rem; }
}


/* Biographical profile card */
.bio-card {
  margin: 2rem 0 2.5rem;
  padding: 1.5rem 1.5rem 1.25rem;
  background: rgba(201,162,39,0.04);
  border: 1px solid rgba(201,162,39,0.35);
  border-left: 3px solid var(--gold);
  border-radius: 4px;
}
.bio-card h3 {
  margin: 0 0 1rem;
  color: var(--gold-soft);
  font-family: "Playfair Display", serif;
  font-size: 1.2rem;
  letter-spacing: 0.01em;
}
dl.bio {
  margin: 0;
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: 0.5rem 1.25rem;
  font-size: 0.92rem;
}
dl.bio dt {
  color: var(--gold-soft);
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding-top: 0.15rem;
}
dl.bio dd {
  margin: 0;
  color: var(--ink);
}
dl.bio a { color: var(--gold-soft); }
dl.bio a:hover { color: var(--gold); }

@media (max-width: 640px) {
  dl.bio { grid-template-columns: 1fr; gap: 0.1rem 0; }
  dl.bio dt { padding-top: 0.6rem; }
}



/* Biography table of contents */
.bio-toc {
  margin: 0 0 2.5rem;
  padding: 1.25rem 1.5rem;
  background: rgba(255,255,255,0.025);
  border: 1px solid var(--rule);
  border-radius: 4px;
}
.bio-toc .toc-title {
  font-family: "Playfair Display", serif;
  color: var(--gold-soft);
  margin: 0 0 0.75rem;
  font-size: 1rem;
  letter-spacing: 0.02em;
}
.bio-toc ol {
  margin: 0;
  padding-left: 1.1rem;
  columns: 2;
  column-gap: 2rem;
  color: var(--ink-dim);
  font-size: 0.92rem;
}
.bio-toc ol li { margin: 0.2rem 0; }
.bio-toc a { color: var(--ink-dim); text-decoration: none; }
.bio-toc a:hover { color: var(--gold); text-decoration: underline; }
@media (max-width: 700px) { .bio-toc ol { columns: 1; } }

/* Figures with real images */
.figure {
  margin: 2rem 0;
  padding: 0;
}
.figure img {
  display: block;
  max-width: 100%;
  height: auto;
  border-radius: 4px;
  border: 1px solid var(--rule);
  filter: grayscale(0.15) contrast(0.98);
}
.figure figcaption {
  color: var(--ink-dim);
  font-size: 0.85rem;
  margin-top: 0.6rem;
  line-height: 1.5;
}
.figure figcaption .credit {
  display: block;
  margin-top: 0.25rem;
  color: #6d6a62;
  font-size: 0.78rem;
}

/* Video embed */
.video-embed {
  margin: 2.25rem 0;
  padding: 1.25rem 1.25rem 1rem;
  border: 1px solid var(--rule);
  border-radius: 4px;
  background: rgba(255,255,255,0.02);
}
.video-embed h3 {
  margin: 0 0 0.4rem;
  font-size: 1rem;
  color: var(--gold-soft);
}
.video-embed .muted { color: var(--ink-dim); font-size: 0.9rem; margin-bottom: 0.75rem; }
.video-embed .muted.small { font-size: 0.8rem; margin-top: 0.75rem; margin-bottom: 0; }
.video-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  width: 100%;
  background: #000;
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid var(--rule);
}
.video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Reading list */
.reading {
  list-style: none;
  padding: 0;
  margin: 1.25rem 0 0;
}
.reading li {
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--rule);
  color: var(--ink);
  line-height: 1.6;
}
.reading li:last-child { border-bottom: none; }
.reading li strong { color: var(--ink); font-weight: 600; }


/* ---------- Profile cards (chain of command) ---------- */
.sub-h {
  margin-top: 2rem;
  font-size: 1.15rem;
  letter-spacing: 0.02em;
  color: var(--ink);
}
.profile-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1rem;
  margin: 1.25rem 0 1rem;
}
.profile-card {
  background: var(--bg-alt);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-left: 3px solid #b08868;
  border-radius: 6px;
  padding: 1rem 1.1rem;
}
.profile-card h4 {
  margin: 0 0 0.25rem;
  font-size: 1.05rem;
  color: var(--ink);
}
.profile-card .role {
  margin: 0;
  color: #d9c9a9;
  font-size: 0.85rem;
  font-style: italic;
}
.profile-card .dates {
  margin: 0 0 0.6rem;
  color: var(--ink-dim);
  font-size: 0.8rem;
  letter-spacing: 0.04em;
}
.profile-card .fate {
  margin: 0.6rem 0 0;
  padding-top: 0.6rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.85rem;
  color: var(--ink-dim);
}

/* ---------- Survivors & Testimony ---------- */
.testimony-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.25rem;
  margin: 1.25rem 0;
}
.testimony-card {
  background: var(--bg-alt);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 6px;
  padding: 1.1rem;
}
.testimony-card h4 {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
}
.video-wrap {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  margin: 0.75rem 0;
  background: #000;
  border-radius: 4px;
  overflow: hidden;
}
.video-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.voice-list {
  margin: 1rem 0 0;
  padding-left: 1.1rem;
  line-height: 1.65;
}
.voice-list li {
  margin-bottom: 0.55rem;
  color: var(--ink-dim);
}
.voice-list li strong {
  color: var(--ink);
}
