/* GESTALT.PROMO, tactical telemetry design system
   Dark substrate only. One accent (hazard red). Zero border-radius. */

@font-face {
  font-family: 'GST Display';
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url('/media/fonts/medium/medium.otf?v=5') format('opentype');
}

:root {
  --bg: #0a0a0a;
  --bg-raised: #121212;
  --bg-inset: #0d0d0d;
  --line: rgba(234, 234, 234, 0.14);
  --line-strong: rgba(234, 234, 234, 0.28);
  --fg: #eaeaea;
  --fg-dim: #8f8f8f;
  --accent: #e61919;
  --accent-dim: #6e1414;
  --mono: ui-monospace, "SF Mono", "JetBrains Mono", "Space Mono", Menlo, Consolas, monospace;
  --display: "GST Display", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  --nav-h: 64px;
}

* { box-sizing: border-box; }

html {
  background: var(--bg);
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--mono);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

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

a { color: inherit; }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  background: var(--accent);
  color: #0a0a0a;
  padding: 10px 16px;
  font: 700 12px/1 var(--mono);
  letter-spacing: 0.08em;
  text-decoration: none;
}
.skip-link:focus { left: 12px; top: 12px; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* ---------- fixed analog-degradation overlay ---------- */
.crt-overlay {
  position: fixed;
  inset: 0;
  z-index: 60;
  pointer-events: none;
  mix-blend-mode: overlay;
  opacity: 0.5;
  background-image:
    repeating-linear-gradient(
      0deg,
      rgba(255, 255, 255, 0.05) 0px,
      rgba(255, 255, 255, 0.05) 1px,
      transparent 1px,
      transparent 3px
    );
}
.crt-overlay::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.4'/%3E%3C/svg%3E");
  opacity: 0.18;
}
@media (prefers-reduced-motion: reduce) {
  .crt-overlay { opacity: 0.28; }
}

.container {
  max-width: 1360px;
  margin: 0 auto;
  padding-inline: clamp(16px, 4vw, 40px);
}

/* ---------- header ---------- */
.site-header {
  position: relative;
  z-index: 80;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  background: transparent;
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
}
.brand {
  font-family: var(--display);
  font-weight: 700;
  font-size: 24px;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}
.brand-name {
  color: #c41414;
  transition: color 0.2s ease;
}
.brand:hover .brand-name,
.brand:focus-visible .brand-name { color: var(--accent); }
.brand small {
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 400;
  letter-spacing: 0.1em;
  line-height: 1.15;
  color: var(--fg-dim);
  transform: translate(3px, 1px);
  transition: color 0.2s ease;
}
.brand:hover small,
.brand:focus-visible small { color: #ffffff; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.nav-toggle {
  display: none;
  width: 32px;
  height: 32px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 0;
  border: 1px solid var(--line-strong);
  background: transparent;
  cursor: pointer;
  flex-shrink: 0;
}
.nav-toggle-bar {
  display: block;
  width: 16px;
  height: 2px;
  background: var(--fg);
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.header-nav {
  display: flex;
  gap: clamp(12px, 2vw, 28px);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.header-nav a {
  text-decoration: none;
  color: var(--fg);
  transition: color 0.2s ease;
}
.header-nav a .rule {
  color: var(--accent);
}
.header-nav a .nav-label {
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
  transition: border-color 0.2s ease;
}
.header-nav a:hover,
.header-nav a:focus-visible {
  color: var(--fg);
}
.header-nav a:hover .nav-label,
.header-nav a:focus-visible .nav-label {
  border-color: var(--accent);
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  min-height: min(96dvh, 940px);
  display: flex;
  align-items: flex-end;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.hero-logo {
  position: absolute;
  top: 32%;
  left: 0;
  transform: translateY(-50%);
  width: 100%;
  height: min(90vw, 1200px);
  z-index: 0;
  pointer-events: none;
  opacity: 0.85;
}
@media (max-width: 640px) {
  .hero-logo { height: 130vw; }
}
.hero-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  padding-block: 0 clamp(64px, 9vw, 100px);
  width: 100%;
}
.hero-tag {
  display: block;
  margin: 0 0 6px;
}
.hero-tag .rule {
  color: var(--accent);
}
.hero-headline {
  width: 100%;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}
.hero-stack {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero h1 {
  font-family: var(--display);
  font-weight: 700;
  text-transform: uppercase;
  font-size: clamp(2.6rem, 9.5vw, 6.8rem);
  line-height: 0.86;
  letter-spacing: -0.03em;
  margin: 0 0 8px;
}
.hero-loc {
  margin: 0;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  white-space: nowrap;
}
.hero-sub {
  max-width: 52ch;
  font-family: var(--mono);
  font-size: clamp(13px, 1.6vw, 16px);
  line-height: 1.55;
  color: #d4d4d4;
  text-align: center;
  margin: 0;
}
.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 14px 22px;
  border: 1px solid var(--fg);
  color: var(--fg);
  background: transparent;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
}
.btn:hover { background: var(--fg); color: var(--bg); }
.btn:active { transform: translateY(1px); }
.btn-primary {
  border-color: var(--accent);
  background: var(--accent);
  color: #0a0a0a;
}
.btn-primary:hover { background: #ff5252; border-color: #ff5252; color: #0a0a0a; }

/* ---------- section scaffolding ---------- */
.section {
  border-bottom: 1px solid var(--line);
  padding-block: clamp(72px, 11vw, 120px);
  scroll-margin-top: var(--nav-h);
}
.section-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: clamp(28px, 4vw, 44px);
  flex-wrap: wrap;
}
.kicker {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 8px;
}
.section-head h2 {
  font-family: var(--display);
  font-weight: 700;
  text-transform: uppercase;
  font-size: clamp(2rem, 5vw, 3.4rem);
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 0;
}
.section-note {
  font-size: 12px;
  color: var(--accent);
  text-transform: uppercase;
  max-width: 34ch;
  line-height: 1.5;
  margin: 0;
  padding-top: 0.55em;
}

/* ---------- channels ---------- */
.channels-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.channel {
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 34px 24px;
  text-decoration: none;
  color: var(--fg);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  transition: background 0.2s ease, color 0.2s ease, transform 0.15s ease;
}
.channel:hover,
.channel:focus-visible { background: var(--accent); color: #0a0a0a; }
.channel:active { transform: scale(0.985); }
.channel-label {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.channel-arrow {
  font-size: 14px;
  transform: translateX(0);
  transition: transform 0.2s ease;
}
.channel:hover .channel-arrow { transform: translateX(4px); }
.channel-left {
  display: flex;
  align-items: center;
  gap: 10px;
}
.channel-icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

/* ---------- archive manifest ---------- */
.archive-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.archive-unit {
  position: relative;
  background: var(--bg);
  text-decoration: none;
  color: var(--fg);
  display: flex;
  flex-direction: column;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  transition: transform 0.15s ease;
}
.archive-unit:active { transform: scale(0.985); }
.archive-media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--bg-inset);
}
.archive-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1) contrast(1.1);
  transition: filter 0.35s ease, transform 0.5s ease;
}
.archive-unit:hover .archive-media img,
.archive-unit:focus-visible .archive-media img {
  filter: grayscale(0) contrast(1.05);
  transform: scale(1.04);
}
.archive-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(10, 10, 10, 0.9), rgba(10, 10, 10, 0.05) 55%);
}
.archive-badge {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 2;
  background: var(--accent);
  color: #0a0a0a;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 8px;
}
.archive-meta {
  position: absolute;
  left: 12px;
  bottom: 10px;
  right: 12px;
  z-index: 2;
}
.archive-title {
  font-family: var(--display);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 15px;
  letter-spacing: -0.01em;
  line-height: 1.1;
}
.archive-unit::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  border: 1px solid transparent;
  transition: border-color 0.2s ease;
  pointer-events: none;
}
.archive-unit:hover::before,
.archive-unit:focus-visible::before { border-color: var(--accent); }
.archive-more {
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-inset);
}
.archive-more-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--display);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 15px;
  letter-spacing: -0.01em;
  color: var(--fg);
  transition: color 0.2s ease, transform 0.2s ease;
}
.archive-more:hover .archive-more-label,
.archive-more:focus-visible .archive-more-label { color: var(--accent); transform: translateX(4px); }

/* ---------- about / identity strip ---------- */
.identity {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 24px 32px;
}
.identity dt {
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fg-dim);
  margin-bottom: 6px;
}
.identity dd {
  margin: 0;
  font-family: var(--display);
  font-weight: 500;
  font-size: 18px;
  text-transform: uppercase;
  letter-spacing: -0.01em;
}

/* ---------- podcast spotlight (homepage) ---------- */
.podcast-latest {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  border: 1px solid var(--line);
}
.podcast-latest-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  padding: clamp(24px, 3vw, 36px);
  border-right: 1px solid var(--line);
}
.podcast-latest-top {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
}
.podcast-latest-index {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--fg-dim);
  text-transform: uppercase;
}
.podcast-latest-title {
  font-family: var(--display);
  font-weight: 700;
  text-transform: uppercase;
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
  letter-spacing: -0.01em;
  line-height: 1.05;
  color: var(--accent);
  margin: 0;
}
.podcast-embed {
  background: var(--bg-inset);
  display: flex;
  align-items: center;
}
.podcast-embed iframe { width: 100%; display: block; }

/* ---------- podcast archive (podcast page) ---------- */
.podcast-list {
  list-style: none;
  margin: 0 0 clamp(48px, 7vw, 80px);
  padding: 0;
  border-top: 1px solid var(--line);
}
.podcast-list li { border-bottom: 1px solid var(--line); }
.podcast-row-header {
  display: flex;
  align-items: center;
  gap: 16px;
}
.podcast-row {
  all: unset;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  gap: 20px;
  flex: 1;
  min-width: 0;
  padding: 16px 4px;
  color: var(--fg);
  cursor: pointer;
  transition: color 0.2s ease;
}
.podcast-row:hover,
.podcast-row:focus-visible { color: var(--accent); }
.podcast-row:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }
.podcast-index {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--fg-dim);
  letter-spacing: 0.08em;
  width: 3ch;
  flex-shrink: 0;
  transition: color 0.2s ease;
}
.podcast-row:hover .podcast-index,
.podcast-row:focus-visible .podcast-index { color: var(--accent); }
.podcast-name {
  font-family: var(--display);
  font-weight: 700;
  text-transform: uppercase;
  font-size: clamp(14px, 1.8vw, 18px);
  letter-spacing: -0.005em;
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.podcast-chevron {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  color: var(--fg-dim);
  transition: color 0.2s ease, transform 0.2s ease;
}
.podcast-row:hover .podcast-chevron,
.podcast-row:focus-visible .podcast-chevron { color: var(--accent); }
.podcast-row[aria-expanded="true"] .podcast-chevron { transform: rotate(180deg); color: var(--accent); }
.podcast-panel {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.25s ease;
}
.podcast-panel.is-open { max-height: 220px; }
.podcast-panel-inner {
  padding: 28px 4px 20px;
}
.podcast-panel-inner iframe {
  width: 100%;
  display: block;
  border: 1px solid var(--line);
  background: var(--bg-inset);
}
.podcast-open-link {
  flex-shrink: 0;
  display: none;
  align-items: center;
  gap: 6px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--fg-dim);
  transition: color 0.2s ease;
}
.podcast-row[aria-expanded="true"] ~ .podcast-open-link {
  display: inline-flex;
}
.podcast-open-link:hover,
.podcast-open-link:focus-visible { color: var(--accent); }
.podcast-open-icon {
  width: 12px;
  height: 12px;
  flex-shrink: 0;
}

/* ---------- video spotlight (homepage) ---------- */
.video-latest {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  border: 1px solid var(--line);
}
.video-latest-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  padding: clamp(24px, 3vw, 36px);
  border-right: 1px solid var(--line);
}
.video-latest-top {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
}
.video-latest-category {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--fg-dim);
  text-transform: uppercase;
}
.video-latest-title {
  font-family: var(--display);
  font-weight: 700;
  text-transform: uppercase;
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
  letter-spacing: -0.01em;
  line-height: 1.05;
  color: var(--accent);
  margin: 0;
}
.video-latest-media {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--bg-inset);
  cursor: pointer;
}
.video-latest-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(0.4) contrast(1.05);
  transition: filter 0.35s ease, transform 0.5s ease;
}
.video-latest-media:hover img,
.video-latest-media:focus-visible img {
  filter: grayscale(0) contrast(1.05);
  transform: scale(1.03);
}

/* ---------- video play button (shared) ---------- */
.video-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent);
  color: #0a0a0a;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease, background 0.2s ease;
}
.video-play svg { width: 18px; height: 18px; margin-left: 2px; }
.video-latest-media:hover .video-play,
.video-latest-media:focus-visible .video-play,
.video-unit:hover .video-play,
.video-unit:focus-visible .video-play {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1.08);
}

/* ---------- video archive (video page) ---------- */
.video-category-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: clamp(16px, 2vw, 24px);
  margin-bottom: clamp(32px, 5vw, 48px);
}
.video-category-nav a {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--fg-dim);
  border: 1px solid var(--line-strong);
  padding: 10px 16px;
  transition: color 0.2s ease, border-color 0.2s ease;
}
.video-category-nav a:hover,
.video-category-nav a:focus-visible { color: var(--accent); border-color: var(--accent); }
.video-category {
  border-bottom: 1px solid var(--line);
  padding-block: clamp(48px, 7vw, 72px);
  scroll-margin-top: var(--nav-h);
}
.video-category:last-child { border-bottom: none; }
.video-category .section-head { margin-bottom: clamp(24px, 3vw, 36px); }
.video-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-left: 1px solid var(--line);
}
.video-unit {
  position: relative;
  background: var(--bg);
  color: var(--fg);
  text-decoration: none;
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--line);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin-top: -1px;
  cursor: pointer;
  transition: transform 0.15s ease;
}
.video-unit:active { transform: scale(0.985); }
.video-media {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--bg-inset);
}
.video-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1) contrast(1.1);
  transition: filter 0.35s ease, transform 0.5s ease;
}
.video-unit:hover .video-media img,
.video-unit:focus-visible .video-media img {
  filter: grayscale(0) contrast(1.05);
  transform: scale(1.04);
}
.video-unit::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  border: 1px solid transparent;
  transition: border-color 0.2s ease;
  pointer-events: none;
}
.video-unit:hover::before,
.video-unit:focus-visible::before { border-color: var(--accent); }
.video-meta {
  padding: 14px 16px;
}
.video-title {
  display: block;
  font-family: var(--display);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 14px;
  letter-spacing: -0.005em;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ---------- video lightbox ---------- */
.video-lightbox {
  position: fixed;
  inset: 0;
  z-index: 150;
  display: none;
  align-items: center;
  justify-content: center;
  padding: clamp(16px, 5vw, 64px);
  background: rgba(10, 10, 10, 0.92);
}
.video-lightbox.is-open { display: flex; }
.video-lightbox-frame {
  position: relative;
  width: 100%;
  max-width: 1100px;
  aspect-ratio: 16 / 9;
  background: #000;
  border: 1px solid var(--line-strong);
}
.video-lightbox-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.video-lightbox-close {
  all: unset;
  position: absolute;
  top: -44px;
  right: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line-strong);
  color: var(--fg);
  cursor: pointer;
}
.video-lightbox-close:hover,
.video-lightbox-close:focus-visible { color: var(--accent); border-color: var(--accent); }
.video-lightbox-close svg { width: 16px; height: 16px; }
.video-lightbox-fallback {
  position: absolute;
  top: -44px;
  left: 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 32px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--fg-dim);
  transition: color 0.2s ease;
}
.video-lightbox-fallback:hover,
.video-lightbox-fallback:focus-visible { color: var(--accent); }
.video-lightbox-fallback svg { width: 12px; height: 12px; flex-shrink: 0; }

/* ---------- footer ---------- */
.site-footer {
  padding-block: 32px 40px;
}
.footer-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 28px;
  align-items: center;
  justify-content: space-between;
  font-size: 11px;
  letter-spacing: 0.02em;
  color: var(--fg-dim);
}
.footer-links {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}
.footer-links a {
  text-decoration: none;
  color: var(--fg-dim);
  transition: color 0.2s ease;
}
.footer-links a:hover,
.footer-links a:focus-visible { color: var(--accent); }

/* ---------- report page (photo archive units) ---------- */
.report-hero {
  border-bottom: 1px solid var(--line);
  padding-block: clamp(40px, 8vw, 72px) clamp(28px, 4vw, 40px);
}
.report-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--fg-dim);
  margin-bottom: 22px;
  transition: color 0.2s ease;
}
.report-back:hover,
.report-back:focus-visible { color: var(--accent); }
.report-back-icon {
  width: 13px;
  height: 13px;
  flex-shrink: 0;
}
.report-hero h1 {
  font-family: var(--display);
  font-weight: 700;
  text-transform: uppercase;
  font-size: clamp(2.6rem, 9vw, 6rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0 0 14px;
}
.report-meta {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fg-dim);
}
.report-meta .rule { color: var(--accent); }
.report-hero-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.report-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.report-frame {
  position: relative;
  background: var(--bg-inset);
  cursor: zoom-in;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.report-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  border: 1px solid transparent;
  transition: border-color 0.2s ease;
  pointer-events: none;
}
.report-frame:hover::before,
.report-frame:focus-visible::before { border-color: var(--accent); }
.report-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease, filter 0.4s ease;
  filter: grayscale(0.2);
}
.report-frame:hover img { transform: scale(1.03); filter: grayscale(0); }

@media (max-width: 980px) {
  .archive-grid,
  .report-grid,
  .video-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 720px) {
  .channels-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .hero { min-height: 72dvh; }
  .brand small { display: none; }
  .nav-toggle { display: flex; }
  .header-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 90;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    max-height: 0;
    overflow: hidden;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    transition: max-height 0.25s ease;
  }
  .header-nav.is-open { max-height: 320px; }
  .header-nav a {
    padding: 16px clamp(16px, 4vw, 40px);
    border-top: 1px solid var(--line);
  }
  .hero-headline { flex-direction: column; align-items: center; gap: 8px; }
  .hero-loc { order: -1; margin: 0; }
  .channels-grid { grid-template-columns: 1fr; }
  .archive-grid,
  .report-grid { grid-template-columns: repeat(2, 1fr); }
  .podcast-latest { grid-template-columns: 1fr; }
  .podcast-latest-meta { border-right: none; border-bottom: 1px solid var(--line); }
  .video-latest { grid-template-columns: 1fr; }
  .video-latest-meta { border-right: none; border-bottom: 1px solid var(--line); }
  .video-grid { grid-template-columns: repeat(2, 1fr); }
  .podcast-open-label {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }
  .podcast-open-link { gap: 0; }
}
