/* ==========================================================================
   KOSOVO WAR ARCHIVE — design system
   Museum-grade editorial UI · Swiss grid · warm monochrome
   ========================================================================== */

:root {
  /* palette */
  --bg: #FAFAF8;
  --bg-tint: #F4F3EF;
  --card: #FFFFFF;
  --ink: #111827;
  --ink-soft: #4B5563;
  --ink-faint: #9CA3AF;
  --accent: #7C2D12;
  --accent-deep: #5E2210;
  --bronze: #A16207;
  --border: #E5E7EB;

  /* dark surfaces (warm black) */
  --night: #0C0B09;
  --night-2: #141210;
  --night-border: rgba(255, 255, 255, 0.08);
  --paper-light: rgba(250, 250, 248, 0.92);
  --paper-dim: rgba(250, 250, 248, 0.55);
  --paper-faint: rgba(250, 250, 248, 0.32);

  /* type */
  --serif: "Instrument Serif", "Editorial New", Georgia, serif;
  --sans: "Inter", "Neue Montreal", -apple-system, "SF Pro Text", sans-serif;

  /* rhythm */
  --section-pad: clamp(96px, 11vw, 176px);
  --inner-max: 1560px;
  --inner-pad: clamp(24px, 4.8vw, 84px);

  /* motion */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-soft: cubic-bezier(0.4, 0, 0.2, 1);

  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.6'/%3E%3C/svg%3E");
}

/* ---------- reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
::selection { background: rgba(124, 45, 18, 0.18); }

/* ---------- scaffolding ---------- */
.section { padding: var(--section-pad) 0; background: var(--bg); }
.section--dark { background: var(--night); color: var(--paper-light); }
.section--tinted { background: var(--bg-tint); }
.section__inner { max-width: var(--inner-max); margin: 0 auto; padding: 0 var(--inner-pad); }

.section__head {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 48px; margin-bottom: clamp(48px, 6vw, 88px);
}
.section__head--center { flex-direction: column; align-items: center; text-align: center; }
.section__head--center .section__lede { margin-inline: auto; }

.section__title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(40px, 4.6vw, 76px);
  line-height: 1.04;
  letter-spacing: -0.01em;
  text-wrap: balance;
}
.section__lede {
  max-width: 44ch;
  font-size: clamp(15px, 1.05vw, 17px);
  line-height: 1.7;
  color: var(--ink-soft);
}
.section--dark .section__lede { color: var(--paper-dim); }

.eyebrow {
  display: flex; align-items: center; gap: 14px;
  margin-bottom: 22px;
  font-size: 11px; font-weight: 500;
  letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--ink-faint);
}
.eyebrow em { font-style: normal; color: var(--bronze); }
.eyebrow--light { justify-content: center; color: var(--paper-faint); }
.section__head--center .eyebrow { justify-content: center; }

.rule { display: inline-block; width: 36px; height: 1px; background: var(--bronze); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 14px;
  padding: 18px 32px;
  font-size: 12px; font-weight: 500;
  letter-spacing: 0.2em; text-transform: uppercase;
  transition: background 0.35s var(--ease-soft), border-color 0.35s var(--ease-soft),
              color 0.35s var(--ease-soft), transform 0.35s var(--ease-out);
}
.btn svg { width: 17px; height: 17px; transition: transform 0.35s var(--ease-out); }
.btn:hover svg { transform: translateX(4px); }
.btn--primary { background: var(--accent); color: #FBF7F4; }
.btn--primary:hover { background: var(--accent-deep); }
.btn--ghost { border: 1px solid rgba(250, 250, 248, 0.35); color: var(--paper-light); }
.btn--ghost:hover { border-color: rgba(250, 250, 248, 0.85); background: rgba(250, 250, 248, 0.06); }
.btn--ghost:hover svg { transform: scale(1.08); }
.btn--dark-ghost { border: 1px solid var(--border); color: var(--ink); }
.btn--dark-ghost:hover { border-color: var(--ink); }

.link-arrow {
  display: inline-flex; align-items: center; gap: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--bronze);
  font-size: 12px; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--ink);
  transition: gap 0.35s var(--ease-out), border-color 0.35s;
}
.link-arrow svg { width: 17px; height: 17px; }
.link-arrow:hover { gap: 18px; border-color: var(--ink); }

.round-btn {
  display: grid; place-items: center;
  width: 46px; height: 46px; border-radius: 50%;
  border: 1px solid var(--border); background: var(--card); color: var(--ink);
  transition: border-color 0.3s, background 0.3s, transform 0.3s var(--ease-out);
}
.round-btn svg { width: 18px; height: 18px; }
.round-btn:hover { border-color: var(--ink); transform: scale(1.05); }
.round-btn--dark { background: transparent; border-color: var(--night-border); color: var(--paper-light); }
.round-btn--dark:hover { border-color: rgba(255,255,255,0.4); background: rgba(255,255,255,0.05); }

/* ---------- reveal animations ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal:nth-child(2) { transition-delay: 0.08s; }
.reveal:nth-child(3) { transition-delay: 0.16s; }
.reveal:nth-child(4) { transition-delay: 0.24s; }

/* ==========================================================================
   NAVIGATION
   ========================================================================== */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 90;
  color: var(--paper-light);
  transition: background 0.45s var(--ease-soft), color 0.45s, box-shadow 0.45s, backdrop-filter 0.45s;
}
.nav::after {
  content: ""; position: absolute; inset: auto 0 0 0; height: 1px;
  background: currentColor; opacity: 0; transition: opacity 0.45s;
}
.nav.is-scrolled {
  background: rgba(250, 250, 248, 0.82);
  -webkit-backdrop-filter: saturate(1.4) blur(20px);
  backdrop-filter: saturate(1.4) blur(20px);
  color: var(--ink);
}
.nav.is-scrolled::after { opacity: 0.08; }

.nav__inner {
  display: flex; align-items: center; gap: 40px;
  max-width: var(--inner-max); margin: 0 auto;
  padding: 20px var(--inner-pad);
}
.nav__logo { display: flex; align-items: center; gap: 14px; }
.nav__logo-mark {
  width: 34px; height: 34px; flex: none;
  border: 1px solid currentColor; position: relative; opacity: 0.9;
}
.nav__logo-mark::after {
  content: ""; position: absolute; inset: 7px auto auto 7px; width: 12px; height: 12px;
  background: var(--accent);
}
img.nav__logo-mark { object-fit: cover; border: none; display: block; }
.nav__logo-text {
  font-size: 12px; font-weight: 600; letter-spacing: 0.32em; text-transform: uppercase; line-height: 1.45;
}
.nav__logo-text em { font-style: normal; font-weight: 400; letter-spacing: 0.18em; opacity: 0.75; }

.nav__links { display: flex; gap: clamp(16px, 2vw, 34px); margin-left: auto; }
.nav__links a {
  position: relative; padding: 6px 0;
  font-size: 11px; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase;
  opacity: 0.82; transition: opacity 0.3s;
}
.nav__links a::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 1px;
  background: var(--bronze); transform: scaleX(0); transform-origin: left;
  transition: transform 0.4s var(--ease-out);
}
.nav__links a:hover { opacity: 1; }
.nav__links a:hover::after { transform: scaleX(1); }

.nav__meta { display: flex; align-items: center; gap: 22px; }
.nav__lang { display: flex; align-items: center; gap: 10px; }
.nav__lang button {
  font-size: 11px; font-weight: 500; letter-spacing: 0.14em;
  opacity: 0.5; transition: opacity 0.3s;
}
.nav__lang button:hover { opacity: 0.85; }
.nav__lang button.is-active { opacity: 1; }
.nav__lang button.is-active { border-bottom: 1px solid var(--bronze); }
.nav__lang-sep { width: 1px; height: 12px; background: currentColor; opacity: 0.25; }
.nav__search { display: grid; place-items: center; width: 34px; height: 34px; opacity: 0.85; transition: opacity 0.3s, transform 0.3s var(--ease-out); }
.nav__search svg { width: 19px; height: 19px; }
.nav__search:hover { opacity: 1; transform: scale(1.08); }

/* ==========================================================================
   HERO
   ========================================================================== */
.hero {
  position: relative; min-height: 100svh;
  display: flex; align-items: center;
  color: var(--paper-light);
  overflow: hidden;
  background: var(--night);
}
.hero__backdrop { position: absolute; inset: 0; }
.hero__photo {
  position: absolute; inset: -6% 0;
  background-size: cover; background-position: center 30%;
  filter: grayscale(1) contrast(1.06) brightness(0.92);
  will-change: transform;
}
.hero__warm {
  position: absolute; inset: 0;
  background:
    linear-gradient(100deg, rgba(10, 9, 8, 0.88) 0%, rgba(10, 9, 8, 0.55) 42%, rgba(10, 9, 8, 0.18) 75%),
    linear-gradient(rgba(12, 11, 9, 0.35), rgba(12, 11, 9, 0.15) 40%, rgba(12, 11, 9, 0.72) 100%),
    radial-gradient(120% 90% at 78% 40%, rgba(161, 98, 7, 0.10), transparent 60%);
}
.hero__grain { position: absolute; inset: 0; background-image: var(--grain); background-size: 240px; opacity: 0.10; mix-blend-mode: overlay; }
.hero__vignette { position: absolute; inset: 0; box-shadow: inset 0 0 240px rgba(0, 0, 0, 0.55); }

.hero__content {
  position: relative; z-index: 2;
  width: 100%; max-width: var(--inner-max);
  margin: 0 auto; padding: 140px var(--inner-pad) 120px;
}
.hero__eyebrow {
  display: flex; align-items: center; gap: 16px;
  margin-bottom: 34px;
  font-size: 11px; font-weight: 500; letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--bronze);
}
.hero__eyebrow .rule { background: var(--bronze); }
.hero__title {
  max-width: 12ch;
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(56px, 7.2vw, 122px);
  line-height: 1.0; letter-spacing: -0.015em;
}
.hero__lede {
  max-width: 46ch; margin-top: 30px;
  font-size: clamp(16px, 1.15vw, 19px); font-weight: 300; line-height: 1.7;
  color: var(--paper-dim);
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 46px; }

.hero__scroll {
  position: absolute; right: var(--inner-pad); bottom: 44px; z-index: 2;
  display: flex; align-items: center; gap: 14px;
  font-size: 10px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--paper-faint);
}
.hero__scroll i { display: block; width: 44px; height: 1px; background: var(--paper-faint); position: relative; overflow: hidden; }
.hero__scroll i::after {
  content: ""; position: absolute; inset: 0; background: var(--paper-light);
  animation: scroll-line 2.6s var(--ease-soft) infinite;
}
@keyframes scroll-line {
  0% { transform: translateX(-100%); } 55% { transform: translateX(0); }
  100% { transform: translateX(100%); }
}
.hero__dots {
  position: absolute; right: calc(var(--inner-pad) * 0.45); top: 50%; transform: translateY(-50%);
  display: grid; gap: 14px; z-index: 2;
}
.hero__dots i { width: 4px; height: 4px; border-radius: 50%; background: var(--paper-faint); transition: background 0.3s, transform 0.3s; }
.hero__dots i.is-active { background: var(--accent); transform: scale(1.6); }

/* ==========================================================================
   STATS
   ========================================================================== */
.stats { background: var(--night-2); color: var(--paper-light); border-top: 1px solid var(--night-border); }
.stats__inner {
  max-width: var(--inner-max); margin: 0 auto; padding: 64px var(--inner-pad);
  display: grid; grid-template-columns: repeat(5, 1fr);
}
.stat { display: grid; justify-items: center; gap: 10px; padding: 12px 20px; text-align: center; position: relative; }
.stat + .stat::before { content: ""; position: absolute; left: 0; top: 50%; transform: translateY(-50%); width: 1px; height: 56px; background: var(--night-border); }
.stat__num { font-family: var(--serif); font-size: clamp(38px, 3.4vw, 58px); line-height: 1; }
.stat__num i { font-style: normal; color: var(--bronze); font-size: 0.66em; vertical-align: 0.18em; margin-left: 2px; }
.stat__label { font-size: 10px; font-weight: 500; letter-spacing: 0.26em; text-transform: uppercase; color: var(--paper-faint); }

/* ==========================================================================
   TIMELINE
   ========================================================================== */
.timeline__grid { display: grid; grid-template-columns: minmax(280px, 380px) 1fr; gap: clamp(48px, 6vw, 110px); align-items: start; }
.timeline__head { position: sticky; top: 120px; }
.timeline__head .section__lede { margin: 22px 0 40px; }

.timeline__years { position: relative; display: flex; margin-bottom: 52px; }
.timeline__years::before { content: ""; position: absolute; left: 0; right: 0; top: 34px; height: 1px; background: var(--border); }
.tl-year { position: relative; flex: 1; display: grid; justify-items: start; gap: 18px; padding-right: 12px; }
.tl-year__label { font-family: var(--serif); font-size: clamp(22px, 1.8vw, 30px); color: var(--ink-faint); transition: color 0.4s; }
.tl-year__dot {
  position: relative; width: 9px; height: 9px; margin-top: 3px; border-radius: 50%;
  background: var(--bg); border: 1px solid var(--ink-faint); transition: all 0.4s;
}
.tl-year__bar { position: absolute; top: 34px; left: 0; height: 2px; width: 0; background: var(--accent); transition: width 0.5s var(--ease-out); }
.tl-year.is-active .tl-year__label { color: var(--accent); }
.tl-year.is-active .tl-year__dot { background: var(--accent); border-color: var(--accent); box-shadow: 0 0 0 5px rgba(124, 45, 18, 0.12); }
.tl-year.is-active .tl-year__bar { width: calc(100% - 24px); }
.tl-year__count { font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--ink-faint); }
.tl-year.is-active .tl-year__count { color: var(--accent); }

.timeline__events { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; min-height: 380px; }
.tl-event { opacity: 0; transform: translateY(22px); animation: tl-in 0.7s var(--ease-out) forwards; }
.tl-event:nth-child(2) { animation-delay: 0.09s; }
.tl-event:nth-child(3) { animation-delay: 0.18s; }
@keyframes tl-in { to { opacity: 1; transform: none; } }
.tl-event__img { aspect-ratio: 4 / 3.4; overflow: hidden; background: var(--night-2); }
.tl-event__img > div { width: 100%; height: 100%; background-size: cover; background-position: center; transition: transform 1.2s var(--ease-out); }
.tl-event:hover .tl-event__img > div { transform: scale(1.045); }
.tl-event__type { display: inline-block; margin-top: 18px; font-size: 10px; font-weight: 500; letter-spacing: 0.24em; text-transform: uppercase; color: var(--bronze); }
.tl-event__title { margin-top: 8px; font-family: var(--serif); font-size: 22px; line-height: 1.25; }
.tl-event__meta { margin-top: 8px; font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-faint); }
.tl-event--feature .tl-event__title { color: var(--accent); }

.timeline__nav { display: flex; gap: 12px; margin-top: 44px; }

/* ==========================================================================
   MAP
   ========================================================================== */
.map__stage {
  display: grid; grid-template-columns: 1.5fr 1fr; gap: clamp(32px, 4vw, 64px);
  align-items: stretch; margin-top: 8px;
}
.map__canvas {
  position: relative; min-height: 560px;
  border: 1px solid var(--night-border);
  background:
    radial-gradient(90% 80% at 50% 40%, rgba(161, 98, 7, 0.05), transparent 70%),
    var(--night-2);
  overflow: hidden;
}
.map__canvas::after { content: ""; position: absolute; inset: 0; background-image: var(--grain); background-size: 240px; opacity: 0.06; pointer-events: none; }
.map__canvas svg { width: 100%; height: 100%; position: absolute; inset: 0; }

.map-shape { fill: rgba(250, 250, 248, 0.035); stroke: rgba(250, 250, 248, 0.28); stroke-width: 1.2; }
.map-grid line { stroke: rgba(250, 250, 248, 0.045); stroke-width: 1; }

.map-city { cursor: pointer; }
.map-city circle.core { fill: var(--paper-dim); transition: fill 0.3s; }
.map-city circle.halo { fill: none; stroke: rgba(250, 250, 248, 0.3); stroke-width: 1; opacity: 0; transition: opacity 0.3s; }
.map-city circle.pulse { fill: none; stroke: rgba(161, 98, 7, 0.5); stroke-width: 1; opacity: 0; }
.map-city text {
  fill: var(--paper-dim); font-family: var(--sans); font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
  transition: fill 0.3s;
}
.map-city:hover circle.core, .map-city.is-active circle.core { fill: var(--bronze); }
.map-city:hover circle.halo, .map-city.is-active circle.halo { opacity: 1; }
.map-city:hover text, .map-city.is-active text { fill: var(--paper-light); }
.map-city.is-active circle.pulse { opacity: 1; animation: city-pulse 2.4s ease-out infinite; }
@keyframes city-pulse {
  0% { transform: scale(0.4); opacity: 0.8; }
  100% { transform: scale(2.6); opacity: 0; }
}
.map-city circle.pulse { transform-origin: center; transform-box: fill-box; }

.map__panel {
  display: flex; flex-direction: column;
  border: 1px solid var(--night-border);
  background: rgba(255, 255, 255, 0.03);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  padding: clamp(28px, 3vw, 48px);
}
.map__panel-city { font-family: var(--serif); font-size: clamp(34px, 3vw, 52px); line-height: 1.05; }
.map__panel-sub { margin-top: 10px; font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--bronze); }
.map__panel-desc { margin-top: 22px; font-size: 15px; font-weight: 300; line-height: 1.75; color: var(--paper-dim); }
.map__panel-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--night-border); border: 1px solid var(--night-border); margin-top: 30px; }
.map__panel-stats div { background: var(--night); padding: 18px 20px; display: grid; gap: 4px; }
.map__panel-stats b { font-family: var(--serif); font-weight: 400; font-size: 26px; line-height: 1; }
.map__panel-stats span { font-size: 9.5px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--paper-faint); }
.map__panel-thumbs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 30px; }
.map__panel-thumbs div { aspect-ratio: 1; background-size: cover; background-position: center; opacity: 0.85; transition: opacity 0.3s, transform 0.5s var(--ease-out); }
.map__panel-thumbs div:hover { opacity: 1; transform: scale(1.03); }
.map__panel .link-arrow { margin-top: auto; padding-top: 34px; color: var(--paper-light); border-color: var(--bronze); align-self: flex-start; }
.map__panel .link-arrow:hover { border-color: var(--paper-light); }
.map__panel-fade { animation: panel-in 0.6s var(--ease-out); }
@keyframes panel-in { from { opacity: 0; transform: translateY(16px); } }

/* ==========================================================================
   STORIES
   ========================================================================== */
.stories__grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(20px, 2vw, 32px); }
.story-card { position: relative; display: block; overflow: hidden; background: var(--night-2); color: var(--paper-light); }
.story-card--lg { grid-column: span 7; aspect-ratio: 16 / 11.5; }
.story-card--md { grid-column: span 5; aspect-ratio: 16 / 11.5; }
.story-card--third { grid-column: span 4; aspect-ratio: 4 / 4.6; }
.story-card__img { position: absolute; inset: 0; background-size: cover; background-position: center; transition: transform 1.4s var(--ease-out), filter 1.4s var(--ease-soft); }
.story-card:hover .story-card__img { transform: scale(1.05); }
.story-card__scrim {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10, 9, 8, 0.05) 30%, rgba(10, 9, 8, 0.45) 62%, rgba(10, 9, 8, 0.86) 100%);
  transition: opacity 0.6s;
}
.story-card__body { position: absolute; inset: auto 0 0 0; padding: clamp(24px, 2.6vw, 44px); z-index: 2; }
.story-card__tag { font-size: 10px; font-weight: 500; letter-spacing: 0.26em; text-transform: uppercase; color: var(--bronze); }
.story-card__title { margin-top: 12px; font-family: var(--serif); font-size: clamp(24px, 2.3vw, 40px); line-height: 1.12; max-width: 20ch; }
.story-card__excerpt {
  margin-top: 12px; max-width: 52ch; font-size: 14px; font-weight: 300; line-height: 1.65; color: var(--paper-dim);
  max-height: 0; opacity: 0; overflow: hidden;
  transition: max-height 0.6s var(--ease-out), opacity 0.6s var(--ease-out), margin 0.6s;
}
.story-card:hover .story-card__excerpt { max-height: 120px; opacity: 1; }
.story-card__cta {
  display: inline-flex; align-items: center; gap: 10px; margin-top: 18px;
  font-size: 11px; font-weight: 500; letter-spacing: 0.22em; text-transform: uppercase; color: var(--paper-light);
}
.story-card__cta svg { width: 16px; height: 16px; transition: transform 0.35s var(--ease-out); }
.story-card:hover .story-card__cta svg { transform: translateX(5px); }
.story-card__cta::before { content: ""; width: 24px; height: 1px; background: var(--bronze); transition: width 0.35s var(--ease-out); }
.story-card:hover .story-card__cta::before { width: 38px; }

/* ==========================================================================
   VIDEOS
   ========================================================================== */
.videos .section__head { margin-bottom: clamp(36px, 4vw, 60px); }
.videos__nav { display: flex; gap: 12px; }
.videos__row {
  display: flex; gap: clamp(18px, 1.6vw, 28px);
  padding: 4px var(--inner-pad) 12px;
  margin: 0 auto; max-width: calc(var(--inner-max));
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
}
.videos__row::-webkit-scrollbar { display: none; }
.video-card {
  position: relative; flex: 0 0 clamp(320px, 30vw, 480px); aspect-ratio: 16 / 9;
  scroll-snap-align: start; overflow: hidden; background: #000; cursor: pointer;
}
.video-card__img { position: absolute; inset: 0; background-size: cover; background-position: center; transition: transform 1.1s var(--ease-out), opacity 0.6s; }
.video-card:hover .video-card__img { transform: scale(1.06); opacity: 0.55; }
.video-card__duration {
  position: absolute; top: 16px; right: 16px; z-index: 2;
  padding: 5px 10px; font-size: 10px; letter-spacing: 0.14em;
  color: var(--paper-light); background: rgba(12, 11, 9, 0.55);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.12);
}
.video-card__body {
  position: absolute; inset: auto 0 0 0; z-index: 2; padding: 22px 24px;
  background: linear-gradient(transparent, rgba(8, 7, 6, 0.88));
}
.video-card__title { font-family: var(--serif); font-size: 23px; line-height: 1.2; }
.video-card__meta {
  display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 10px;
  font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--paper-faint);
  opacity: 0; transform: translateY(8px); transition: opacity 0.45s var(--ease-out), transform 0.45s var(--ease-out);
}
.video-card:hover .video-card__meta { opacity: 1; transform: none; }
.video-card__play {
  position: absolute; inset: 0; display: grid; place-items: center; z-index: 2;
  opacity: 0; transform: scale(0.85); transition: opacity 0.4s var(--ease-out), transform 0.4s var(--ease-out);
}
.video-card:hover .video-card__play { opacity: 1; transform: none; }
.video-card__play span {
  display: grid; place-items: center; width: 74px; height: 74px; border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.5); background: rgba(12, 11, 9, 0.4);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.video-card__play svg { width: 22px; height: 22px; fill: var(--paper-light); margin-left: 3px; }

/* ==========================================================================
   GALLERY
   ========================================================================== */
.gallery__tools {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px;
  margin-bottom: clamp(36px, 4vw, 56px);
}
.gallery__filters { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  padding: 11px 20px; border: 1px solid var(--border); border-radius: 999px;
  font-size: 11px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-soft);
  transition: all 0.3s var(--ease-soft);
}
.chip:hover { border-color: var(--ink-faint); color: var(--ink); }
.chip.is-active { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.gallery__search {
  display: flex; align-items: center; gap: 12px; min-width: 300px;
  padding: 12px 20px; border: 1px solid var(--border); border-radius: 999px; background: var(--card);
  transition: border-color 0.3s, box-shadow 0.3s;
}
.gallery__search:focus-within { border-color: var(--ink-faint); box-shadow: 0 4px 24px rgba(17, 24, 39, 0.06); }
.gallery__search svg { width: 16px; height: 16px; color: var(--ink-faint); flex: none; }
.gallery__search input { flex: 1; border: 0; outline: 0; background: none; font: inherit; font-size: 14px; color: var(--ink); }
.gallery__search input::placeholder { color: var(--ink-faint); }

.gallery__masonry { columns: 4 300px; column-gap: 24px; }
.ph-card { break-inside: avoid; margin-bottom: 24px; cursor: pointer; animation: ph-in 0.7s var(--ease-out) backwards; }
@keyframes ph-in { from { opacity: 0; transform: translateY(24px); } }
.ph-card__frame { position: relative; overflow: hidden; background: var(--night-2); }
.ph-card__img { width: 100%; background-size: cover; background-position: center; transition: transform 1.2s var(--ease-out); }
.ph-card:hover .ph-card__img { transform: scale(1.04); }
.ph-card__overlay {
  position: absolute; inset: 0; display: flex; align-items: flex-end; padding: 20px;
  background: linear-gradient(transparent 55%, rgba(8, 7, 6, 0.75));
  opacity: 0; transition: opacity 0.5s var(--ease-soft);
}
.ph-card:hover .ph-card__overlay { opacity: 1; }
.ph-card__overlay span { font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--paper-light); }
.ph-card__caption { display: flex; justify-content: space-between; gap: 12px; padding-top: 14px; }
.ph-card__caption h3 { font-family: var(--serif); font-weight: 400; font-size: 17px; line-height: 1.3; }
.ph-card__caption span { flex: none; font-size: 10px; letter-spacing: 0.18em; color: var(--ink-faint); padding-top: 4px; }
.gallery__empty { text-align: center; padding: 60px 0; color: var(--ink-faint); font-style: italic; font-family: var(--serif); font-size: 22px; }

/* ==========================================================================
   DOCUMENT VIEWER
   ========================================================================== */
.docviewer {
  display: grid; grid-template-columns: 280px 1fr 300px;
  border: 1px solid var(--border); background: var(--card);
  min-height: 640px;
  box-shadow: 0 30px 80px -30px rgba(17, 24, 39, 0.12);
}
.docviewer__list { border-right: 1px solid var(--border); overflow-y: auto; max-height: 720px; }
.doc-item { display: grid; gap: 5px; width: 100%; text-align: left; padding: 22px 26px; border-bottom: 1px solid var(--border); transition: background 0.3s; position: relative; }
.doc-item::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 2px; background: var(--accent); transform: scaleY(0); transition: transform 0.35s var(--ease-out); }
.doc-item:hover { background: var(--bg); }
.doc-item.is-active { background: var(--bg); }
.doc-item.is-active::before { transform: scaleY(1); }
.doc-item__kind { font-size: 9.5px; font-weight: 500; letter-spacing: 0.22em; text-transform: uppercase; color: var(--bronze); }
.doc-item__title { font-family: var(--serif); font-size: 17px; line-height: 1.3; }
.doc-item__date { font-size: 11px; color: var(--ink-faint); letter-spacing: 0.08em; }

.docviewer__stage { position: relative; display: grid; place-items: center; padding: 56px 40px 96px; background: var(--bg-tint); overflow: hidden; }
.docviewer__stage.is-fullscreen { position: fixed; inset: 0; z-index: 120; min-height: 100vh; }
.docviewer__paper-wrap { transition: transform 0.5s var(--ease-out); }
.docviewer__paper {
  width: min(400px, 60vw); aspect-ratio: 1 / 1.38; background: #F7F4EC;
  background-size: cover; background-position: center;
  box-shadow: 0 1px 2px rgba(17, 24, 39, 0.08), 0 24px 60px -12px rgba(17, 24, 39, 0.28);
  animation: paper-in 0.6s var(--ease-out);
}
@keyframes paper-in { from { opacity: 0; transform: translateY(20px) rotate(0.4deg); } }
.docviewer__controls {
  position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%);
  display: flex; align-items: center; gap: 4px; padding: 8px 12px;
  border: 1px solid var(--border); border-radius: 999px;
  background: rgba(255, 255, 255, 0.85);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  box-shadow: 0 8px 30px rgba(17, 24, 39, 0.1);
}
.docviewer__controls button { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; color: var(--ink-soft); transition: background 0.25s, color 0.25s; }
.docviewer__controls button:hover { background: var(--bg-tint); color: var(--ink); }
.docviewer__controls svg { width: 17px; height: 17px; }
.docviewer__controls .sep { width: 1px; height: 18px; background: var(--border); margin: 0 6px; }
#docZoomLevel { min-width: 48px; text-align: center; font-size: 11px; letter-spacing: 0.08em; color: var(--ink-soft); font-variant-numeric: tabular-nums; }

.docviewer__meta { border-left: 1px solid var(--border); padding: 34px 30px; display: flex; flex-direction: column; gap: 0; }
.docviewer__meta h3 { font-family: var(--serif); font-weight: 400; font-size: 24px; line-height: 1.25; margin-bottom: 8px; }
.docviewer__meta > p { font-size: 13.5px; line-height: 1.7; color: var(--ink-soft); margin-bottom: 26px; }
.docviewer__meta dl { display: grid; gap: 0; border-top: 1px solid var(--border); }
.docviewer__meta .meta-row { display: grid; grid-template-columns: 100px 1fr; gap: 12px; padding: 13px 0; border-bottom: 1px solid var(--border); }
.docviewer__meta dt { font-size: 9.5px; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-faint); padding-top: 3px; }
.docviewer__meta dd { font-size: 13px; color: var(--ink); }
.docviewer__meta .doc-badge { margin-top: auto; padding-top: 26px; font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--bronze); display: flex; align-items: center; gap: 10px; }
.docviewer__meta .doc-badge::before { content: ""; width: 22px; height: 1px; background: var(--bronze); }

/* ==========================================================================
   EYEWITNESSES
   ========================================================================== */
.witnesses__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(20px, 2vw, 30px); }
.witness-card {
  background: var(--card); border: 1px solid var(--border);
  padding: 14px 14px 26px; display: grid; gap: 0;
  transition: transform 0.5s var(--ease-out), box-shadow 0.5s var(--ease-soft);
}
.witness-card:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -24px rgba(17, 24, 39, 0.18); }
.witness-card__photo { aspect-ratio: 1 / 1.15; background-size: cover; background-position: center 25%; filter: grayscale(1) contrast(1.02); }
.witness-card__body { padding: 24px 14px 0; }
.witness-card__name { font-family: var(--serif); font-size: 24px; line-height: 1.15; }
.witness-card__where { margin-top: 7px; font-size: 10.5px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-faint); }
.witness-card__quote { margin-top: 16px; font-size: 14px; line-height: 1.65; color: var(--ink-soft); font-style: italic; font-family: var(--serif); font-size: 16.5px; }
.witness-card__actions { display: flex; gap: 4px; margin-top: 22px; padding: 0 8px; }
.witness-card__actions button {
  flex: 1; display: grid; place-items: center; gap: 7px; padding: 12px 6px;
  font-size: 9px; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-soft);
  border-top: 1px solid var(--border); transition: color 0.3s;
}
.witness-card__actions svg { width: 16px; height: 16px; }
.witness-card__actions button:hover { color: var(--accent); }

/* ==========================================================================
   ABOUT
   ========================================================================== */
.about__grid { display: grid; grid-template-columns: minmax(320px, 520px) 1fr; gap: clamp(48px, 6vw, 110px); align-items: start; }
.about__portrait { position: sticky; top: 110px; }
.about__photo { aspect-ratio: 4 / 5; background-size: cover; background-position: center; }
.about__portrait figcaption { margin-top: 16px; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-faint); }
.about__body .section__title { font-size: clamp(48px, 4.8vw, 84px); margin-bottom: 30px; }
.about__bio { max-width: 58ch; font-size: clamp(15px, 1.1vw, 17.5px); line-height: 1.8; color: var(--ink-soft); }
.about__bio + .about__bio { margin-top: 20px; }
.about__facts { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: clamp(28px, 3.4vw, 64px); margin: 44px 0 52px; padding: 30px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.about__facts div { display: grid; gap: 6px; }
.about__facts b { font-family: var(--serif); font-weight: 400; font-size: clamp(30px, 2.4vw, 42px); line-height: 1; }
.about__facts span { font-size: 10px; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-faint); }
.about__career { list-style: none; display: grid; gap: 0; }
.about__career li { display: grid; grid-template-columns: 90px 1fr; gap: 24px; padding: 17px 0; border-bottom: 1px solid var(--border); align-items: baseline; }
.about__career li:last-child { border-bottom: 0; }
.about__career span { font-family: var(--serif); font-size: 21px; color: var(--accent); }
.about__career p { font-size: 14.5px; color: var(--ink-soft); }

/* ==========================================================================
   MISSION
   ========================================================================== */
.mission { position: relative; background: var(--night); color: var(--paper-light); padding: var(--section-pad) 0; overflow: hidden; }
.mission::before { content: ""; position: absolute; inset: 0; background-image: var(--grain); background-size: 240px; opacity: 0.07; }
.mission::after { content: ""; position: absolute; inset: 0; background: radial-gradient(70% 60% at 50% 30%, rgba(161, 98, 7, 0.07), transparent 70%); }
.mission__inner { position: relative; z-index: 2; max-width: 1080px; margin: 0 auto; padding: 0 var(--inner-pad); text-align: center; }
.mission__text p {
  font-family: var(--serif); font-size: clamp(28px, 3.2vw, 52px); line-height: 1.28; letter-spacing: -0.005em;
  text-wrap: balance;
}
.mission__attribution { margin-top: 34px; font-size: 11px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--bronze); }
.mission__body { max-width: 62ch; margin: 44px auto 0; font-size: 15.5px; font-weight: 300; line-height: 1.85; color: var(--paper-dim); }

/* ==========================================================================
   SUPPORT
   ========================================================================== */
.support__grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(18px, 1.8vw, 28px); }
.support-card {
  grid-column: span 3; display: flex; flex-direction: column; gap: 16px;
  padding: clamp(28px, 2.6vw, 40px); min-height: 300px;
  background: var(--card); border: 1px solid var(--border);
  transition: transform 0.5s var(--ease-out), box-shadow 0.5s, border-color 0.5s;
}
.support-card:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -24px rgba(17, 24, 39, 0.16); border-color: transparent; }
.support-card--feature { grid-column: span 6; background: var(--accent); border-color: var(--accent); color: #FBF7F4; }
.support-card--feature:hover { box-shadow: 0 34px 70px -20px rgba(124, 45, 18, 0.5); }
.support-card__icon { width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid var(--border); border-radius: 50%; color: var(--bronze); }
.support-card--feature .support-card__icon { border-color: rgba(255, 255, 255, 0.3); color: #F5E9D6; }
.support-card__icon svg { width: 19px; height: 19px; }
.support-card h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(24px, 2vw, 32px); line-height: 1.15; }
.support-card p { font-size: 14px; line-height: 1.65; color: var(--ink-soft); max-width: 44ch; }
.support-card--feature p { color: rgba(251, 247, 244, 0.8); }
.support-card__cta {
  margin-top: auto; display: inline-flex; align-items: center; gap: 10px;
  font-size: 10.5px; font-weight: 500; letter-spacing: 0.22em; text-transform: uppercase;
}
.support-card__cta svg { width: 15px; height: 15px; transition: transform 0.35s var(--ease-out); }
.support-card:hover .support-card__cta svg { transform: translateX(4px); }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer { background: var(--night); color: var(--paper-dim); }
.footer__inner {
  max-width: var(--inner-max); margin: 0 auto; padding: clamp(64px, 7vw, 110px) var(--inner-pad) 64px;
  display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 48px;
}
.footer__brand { display: grid; gap: 24px; align-content: start; color: var(--paper-light); }
.footer__brand p { max-width: 34ch; font-size: 13.5px; font-weight: 300; line-height: 1.75; color: var(--paper-dim); }
.footer__col { display: grid; gap: 13px; align-content: start; }
.footer__col h3 { font-size: 10px; font-weight: 500; letter-spacing: 0.26em; text-transform: uppercase; color: var(--paper-faint); margin-bottom: 10px; }
.footer__col a { font-size: 14px; color: var(--paper-dim); transition: color 0.3s; width: fit-content; }
.footer__col a:hover { color: var(--paper-light); }
.footer__langs { display: grid; gap: 13px; justify-items: start; }
.footer__langs button { font-size: 14px; color: var(--paper-dim); transition: color 0.3s; }
.footer__langs button:hover, .footer__langs button.is-active { color: var(--paper-light); }
.footer__langs button.is-active { border-bottom: 1px solid var(--bronze); }
.footer__base {
  max-width: var(--inner-max); margin: 0 auto; padding: 28px var(--inner-pad) 40px;
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px;
  border-top: 1px solid var(--night-border);
  font-size: 11.5px; letter-spacing: 0.06em; color: var(--paper-faint);
}

/* ==========================================================================
   SPOTLIGHT SEARCH
   ========================================================================== */
.spotlight { position: fixed; inset: 0; z-index: 200; display: grid; justify-items: center; align-items: start; padding: 12vh 24px 24px; }
.spotlight[hidden] { display: none; }
.spotlight__scrim { position: absolute; inset: 0; background: rgba(12, 11, 9, 0.45); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); animation: scrim-in 0.3s var(--ease-soft); }
@keyframes scrim-in { from { opacity: 0; } }
.spotlight__panel {
  position: relative; width: min(680px, 100%);
  background: rgba(250, 250, 248, 0.92);
  -webkit-backdrop-filter: saturate(1.4) blur(30px); backdrop-filter: saturate(1.4) blur(30px);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 18px;
  box-shadow: 0 40px 120px -20px rgba(12, 11, 9, 0.45);
  overflow: hidden;
  animation: panel-pop 0.35s var(--ease-out);
}
@keyframes panel-pop { from { opacity: 0; transform: translateY(-14px) scale(0.985); } }
.spotlight__field { display: flex; align-items: center; gap: 16px; padding: 20px 24px; border-bottom: 1px solid var(--border); }
.spotlight__field svg { width: 20px; height: 20px; color: var(--ink-faint); flex: none; }
.spotlight__field input { flex: 1; border: 0; outline: 0; background: none; font-family: var(--sans); font-size: 19px; font-weight: 300; color: var(--ink); }
.spotlight__field input::placeholder { color: var(--ink-faint); }
.spotlight__field kbd {
  font-family: var(--sans); font-size: 10px; letter-spacing: 0.1em; color: var(--ink-faint);
  border: 1px solid var(--border); border-radius: 6px; padding: 4px 7px; background: var(--card);
}
.spotlight__results { max-height: 46vh; overflow-y: auto; }
.spotlight__group { padding: 14px 10px 6px; }
.spotlight__group h4 { padding: 0 16px 8px; font-size: 9.5px; font-weight: 500; letter-spacing: 0.24em; text-transform: uppercase; color: var(--ink-faint); }
.spotlight__item {
  display: flex; align-items: center; gap: 15px; width: 100%; text-align: left;
  padding: 11px 16px; border-radius: 10px; transition: background 0.15s;
}
.spotlight__item:hover, .spotlight__item.is-selected { background: rgba(17, 24, 39, 0.055); }
.spotlight__item-icon { flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 8px; background: var(--card); border: 1px solid var(--border); color: var(--bronze); }
.spotlight__item-icon svg { width: 15px; height: 15px; }
.spotlight__item-body { flex: 1; min-width: 0; }
.spotlight__item-title { font-size: 14.5px; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.spotlight__item-title mark { background: rgba(161, 98, 7, 0.2); color: inherit; }
.spotlight__item-sub { font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-faint); margin-top: 2px; }
.spotlight__item kbd { font-family: var(--sans); font-size: 10px; color: var(--ink-faint); opacity: 0; }
.spotlight__item.is-selected kbd { opacity: 1; }
.spotlight__hint { padding: 14px 24px 16px; font-size: 11.5px; color: var(--ink-faint); border-top: 1px solid var(--border); }
.spotlight__none { padding: 44px 24px; text-align: center; font-family: var(--serif); font-style: italic; font-size: 19px; color: var(--ink-faint); }

body.spotlight-open { overflow: hidden; }

/* ==========================================================================
   ORIGINAL RECORDS
   ========================================================================== */
.orig-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin-bottom: 60px; }
.orig-card { background: rgba(250, 250, 248, 0.03); border: 1px solid rgba(250, 250, 248, 0.09); overflow: hidden; }
.orig-card__frame { aspect-ratio: 4 / 3; overflow: hidden; }
.orig-card__frame img { width: 100%; height: 100%; object-fit: cover; display: block; filter: saturate(0.82) contrast(1.02); transition: transform 0.5s ease; }
.orig-card:hover .orig-card__frame img { transform: scale(1.045); }
.orig-card figcaption { padding: 14px 16px 16px; }
.orig-card h3 { font-size: 13.5px; font-weight: 500; line-height: 1.45; margin-bottom: 7px; }
.orig-card__meta { display: flex; gap: 12px; font-size: 10.5px; letter-spacing: 0.1em; text-transform: uppercase; opacity: 0.55; margin-bottom: 7px; }
.orig-card__credit { font-size: 10.5px; line-height: 1.5; opacity: 0.42; }
.orig-films-title { font-size: 13px; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; opacity: 0.75; margin-bottom: 20px; }
.orig-films { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 14px; }
.orig-film { display: flex; align-items: center; gap: 16px; padding: 15px 18px; background: rgba(250, 250, 248, 0.03); border: 1px solid rgba(250, 250, 248, 0.1); transition: border-color 0.3s, background 0.3s; }
.orig-film:hover { border-color: rgba(250, 250, 248, 0.3); background: rgba(250, 250, 248, 0.05); }
.orig-film__play { flex: none; width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(250, 250, 248, 0.3); display: grid; place-items: center; }
.orig-film__play svg { width: 14px; height: 14px; margin-left: 2px; }
.orig-film__body { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.orig-film__body b { font-size: 13.5px; font-weight: 500; line-height: 1.35; }
.orig-film__body span { font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; opacity: 0.55; }
.orig-film__cta { margin-left: auto; flex: none; display: inline-flex; align-items: center; gap: 7px; font-size: 10.5px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; opacity: 0.7; }
.orig-film__cta svg { width: 14px; height: 14px; }
.orig-note { margin-top: 30px; max-width: 780px; font-size: 11.5px; line-height: 1.65; opacity: 0.45; }

/* ==========================================================================
   MODAL / READER / LIGHTBOX
   ========================================================================== */
.modal { position: fixed; inset: 0; z-index: 120; display: grid; place-items: center; padding: clamp(16px, 4vw, 48px); }
.modal[hidden] { display: none; }
.modal__scrim { position: absolute; inset: 0; background: rgba(8, 7, 6, 0.78); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.modal__panel {
  position: relative; width: min(860px, 100%); max-height: min(88vh, 1000px);
  overflow-y: auto; background: var(--card); color: var(--ink);
  box-shadow: 0 60px 120px -30px rgba(0, 0, 0, 0.6);
  animation: modalIn 0.45s var(--ease-out);
}
@keyframes modalIn { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
.modal__close {
  position: sticky; top: 14px; margin-left: calc(100% - 58px); z-index: 2;
  width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(17, 24, 39, 0.82); color: #fff;
  transition: transform 0.25s var(--ease-out), background 0.25s;
}
.modal__close:hover { transform: scale(1.06); background: var(--accent); }
.modal__close svg { width: 18px; height: 18px; }
body.modal-open { overflow: hidden; }

.reader__hero { aspect-ratio: 16 / 9; margin-top: -44px; background-size: cover; background-position: center; }
.reader__hero--video { position: relative; }
.reader__duration {
  position: absolute; right: 18px; bottom: 16px;
  padding: 5px 12px; background: rgba(8, 7, 6, 0.75); color: #fff;
  font-size: 11px; letter-spacing: 0.14em;
}
.reader__body { padding: clamp(28px, 4.5vw, 52px) clamp(24px, 5vw, 64px) clamp(36px, 5vw, 60px); }
.reader__body--testimony { padding-top: clamp(40px, 6vw, 64px); }
.reader__tag { display: block; margin-bottom: 14px; font-size: 11px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--bronze); }
.reader__title { font-family: var(--serif); font-weight: 400; font-size: clamp(28px, 3.4vw, 44px); line-height: 1.1; margin-bottom: 22px; text-wrap: balance; }
.reader__body p { margin-bottom: 18px; font-size: 15.5px; line-height: 1.8; color: var(--ink-soft); }
.reader__sub { margin: 26px 0 12px; font-size: 11px; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; color: var(--ink-faint); }
.reader__stills { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.reader__stills div { aspect-ratio: 16 / 10; background-size: cover; background-position: center; }
.reader__witness { display: flex; align-items: center; gap: 22px; margin-bottom: 28px; }
.reader__witness-photo { flex: none; width: 92px; height: 106px; background-size: cover; background-position: center; }
.reader__witness .reader__title { margin-bottom: 6px; }
.reader__note { margin-top: 26px; font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-faint); }
.reader__contact { margin: 24px 0 26px; padding: 20px 24px; background: var(--bg-tint); border-left: 2px solid var(--bronze); }
.reader__contact p { margin-bottom: 4px !important; font-size: 14px !important; }

.modal__panel--lightbox { width: min(1100px, 100%); background: var(--night); color: var(--paper-light); }
.lightbox__img { margin-top: -44px; min-height: 40vh; max-height: 74vh; aspect-ratio: auto; background-size: contain; background-repeat: no-repeat; background-position: center; height: 68vh; }
.lightbox__caption { display: flex; flex-direction: column; gap: 4px; padding: 18px 26px 24px; }
.lightbox__caption b { font-size: 15px; font-weight: 500; }
.lightbox__caption span { font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; opacity: 0.55; }

.ph-card { cursor: zoom-in; }
.video-card { cursor: pointer; }
.witness-card__open { width: 100%; display: flex !important; flex-direction: row; align-items: center; justify-content: center; gap: 9px !important; font-size: 10px !important; }
.doc-source { margin-top: 18px; }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1280px) {
  .nav__links { display: none; }
  .witnesses__grid { grid-template-columns: repeat(2, 1fr); }
  .docviewer { grid-template-columns: 240px 1fr; }
  .docviewer__meta { display: none; }
}
@media (max-width: 1024px) {
  .orig-grid { grid-template-columns: repeat(2, 1fr); }
  .stats__inner { grid-template-columns: repeat(3, 1fr); row-gap: 40px; }
  .stat:nth-child(4)::before { display: none; }
  .timeline__grid { grid-template-columns: 1fr; }
  .timeline__head { position: static; }
  .map__stage { grid-template-columns: 1fr; }
  .map__canvas { min-height: 440px; }
  .story-card--lg, .story-card--md, .story-card--third { grid-column: span 12; aspect-ratio: 16 / 10; }
  .about__grid { grid-template-columns: 1fr; }
  .about__portrait { position: static; max-width: 480px; }
  .support-card, .support-card--feature { grid-column: span 6; }
  .footer__inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .orig-grid { grid-template-columns: 1fr; }
  .orig-film__cta { display: none; }
  .stats__inner { grid-template-columns: repeat(2, 1fr); }
  .stat::before { display: none !important; }
  .timeline__events { grid-template-columns: 1fr; }
  .tl-year__label { font-size: 19px; }
  .witnesses__grid { grid-template-columns: 1fr; }
  .docviewer { grid-template-columns: 1fr; }
  .docviewer__list { max-height: 260px; border-right: 0; border-bottom: 1px solid var(--border); }
  .support-card, .support-card--feature { grid-column: span 12; min-height: 0; }
  .section__head { flex-direction: column; align-items: flex-start; }
  .hero__dots { display: none; }
  .gallery__search { min-width: 100%; }
  .footer__inner { grid-template-columns: 1fr; }
  .about__facts { grid-template-columns: 1fr 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001s !important; transition-duration: 0.001s !important; }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}
