:root {
  --black: #000;
  --white: #f6f6f4;
  --silver: #c7c9cc;
  --green: #39ff14;
  --line: #242424;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  min-height: 100vh;
  margin: 0;
  background: var(--black);
  color: var(--white);
  font-family: Inter, Arial, sans-serif;
}

a { color: inherit; }

.video-header {
  height: 76px;
  padding: 14px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}

.video-brand {
  width: 116px;
  height: 40px;
  overflow: hidden;
}

.video-brand img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  mix-blend-mode: screen;
}

.back-link {
  color: var(--silver);
  font: 600 11px/1 Orbitron, monospace;
  letter-spacing: .16em;
  text-decoration: none;
  text-transform: uppercase;
}

.back-link:hover,
.back-link:focus-visible {
  color: var(--green);
  text-shadow: 0 0 12px rgba(57, 255, 20, .6);
}

.section-nav {
  position: sticky;
  z-index: 20;
  top: 0;
  border-bottom: 1px solid var(--line);
  background: rgba(0, 0, 0, .92);
  backdrop-filter: blur(12px);
}

.section-nav-track {
  width: min(1220px, calc(100% - 56px));
  min-height: 48px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(20px, 4vw, 56px);
}

.section-nav a {
  position: relative;
  flex: 0 0 auto;
  padding: 19px 0 17px;
  color: var(--silver);
  opacity: .62;
  font: 600 9px/1 Orbitron, monospace;
  letter-spacing: .14em;
  text-decoration: none;
  text-transform: uppercase;
  transition: color 160ms ease, opacity 160ms ease, text-shadow 160ms ease;
}

.section-nav a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 1px;
  background: var(--green);
  box-shadow: 0 0 10px rgba(57, 255, 20, .8);
  opacity: 0;
}

.section-nav a:hover,
.section-nav a:focus-visible,
.section-nav a.is-active {
  color: var(--green);
  opacity: 1;
  outline: none;
  text-shadow: 0 0 11px rgba(57, 255, 20, .48);
}

.section-nav a.is-active::after { opacity: 1; }

.featured,
.video-library { scroll-margin-top: 66px; }

.videos-shell {
  width: min(1220px, calc(100% - 56px));
  margin: 0 auto;
}

.featured { padding: 64px 0 90px; }

.section-heading {
  margin-bottom: 14px;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  color: var(--silver);
  font: 600 10px/1 Orbitron, monospace;
  letter-spacing: .17em;
  text-transform: uppercase;
}

.section-heading p,
.section-heading h2 { margin: 0; font: inherit; }
.section-heading span { color: var(--green); }
.section-heading a { text-decoration: none; }
.section-heading a:hover { color: var(--green); }

.featured-player {
  position: relative;
  isolation: isolate;
  width: min(900px, 100%);
  margin: 0 auto;
  aspect-ratio: 16 / 9;
  background: #000;
  box-shadow: 0 18px 40px rgba(0, 0, 0, .7);
}

.featured-player::before {
  content: "";
  position: absolute;
  z-index: 2;
  inset: -3px;
  pointer-events: none;
  border: 3px solid rgba(57, 255, 20, .78);
  box-shadow:
    0 0 6px 1px rgba(57, 255, 20, .72),
    0 0 18px 5px rgba(57, 255, 20, .34),
    0 0 44px 13px rgba(57, 255, 20, .14),
    0 0 84px 25px rgba(57, 255, 20, .055),
    inset 0 0 12px 2px rgba(57, 255, 20, .22);
}

.featured-player::after {
  content: none;
}

.featured-player iframe {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  display: block;
  border: 0;
}

.featured h1 {
  width: min(900px, 100%);
  margin: 22px auto 0;
  color: var(--silver);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.video-library {
  padding: 36px 0 100px;
  border-top: 1px solid var(--line);
}

.interview-library { padding-top: 46px; }

.video-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 36px 18px;
}

.video-card {
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  color: var(--silver);
  cursor: pointer;
  font: inherit;
  text-align: left;
  text-decoration: none;
}

.video-thumb {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #080808;
}

.video-thumb img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  filter: grayscale(1);
  transition: filter 180ms ease, transform 240ms ease;
}

.inline-play {
  width: 100%;
  padding: 0;
  border: 0;
  color: inherit;
  cursor: pointer;
}

.inline-video-card > iframe {
  width: 100%;
  display: block;
  border: 0;
  aspect-ratio: 16 / 9;
  background: #000;
}

.video-thumb::after {
  content: "PLAY";
  position: absolute;
  right: 10px;
  bottom: 10px;
  padding: 6px 8px;
  background: var(--black);
  color: var(--green);
  font: 700 8px/1 Orbitron, monospace;
  letter-spacing: .12em;
  box-shadow: 0 0 14px rgba(57, 255, 20, .25);
}

.video-card:hover .video-thumb img {
  filter: grayscale(0);
  transform: scale(1.015);
}

.video-card h3 {
  margin: 12px 0 0;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.empty-gallery {
  margin: 52px 0 0;
  color: var(--silver);
  opacity: .55;
  font-size: 13px;
}

.video-modal {
  width: min(1120px, calc(100% - 32px));
  max-width: none;
  padding: 0;
  border: 1px solid #282828;
  background: #050505;
  color: var(--white);
  overflow: visible;
}

.video-modal::backdrop {
  background: rgba(0, 0, 0, .9);
  backdrop-filter: blur(10px);
}

.modal-bar {
  height: 48px;
  padding: 0 14px 0 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.modal-bar h2 {
  margin: 0;
  color: var(--silver);
  font: 600 9px/1 Orbitron, monospace;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.modal-close {
  border: 0;
  background: none;
  color: var(--silver);
  cursor: pointer;
  font-size: 26px;
}

.modal-close:hover { color: var(--green); }

.modal-player {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
  box-shadow:
    0 0 8px rgba(57, 255, 20, .7),
    0 0 30px rgba(57, 255, 20, .18);
}

.modal-player iframe {
  width: 100%;
  height: 100%;
  display: block;
  border: 0;
}

.player-actions {
  min-height: 54px;
  padding: 9px 14px;
  display: flex;
  justify-content: flex-end;
  gap: 8px;
}

.player-actions button {
  padding: 10px 14px;
  border: 1px solid #343434;
  background: #0b0b0b;
  color: var(--silver);
  cursor: pointer;
  font: 600 9px/1 Orbitron, monospace;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.player-actions button:hover,
.player-actions button:focus-visible {
  border-color: var(--green);
  color: var(--green);
  outline: none;
  box-shadow: 0 0 12px rgba(57, 255, 20, .18);
}

.player-status {
  min-height: 18px;
  margin: -4px 16px 10px;
  color: var(--silver);
  opacity: .68;
  font-size: 11px;
  text-align: right;
}

.video-footer {
  height: 54px;
  padding: 0 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  color: var(--silver);
  opacity: .55;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
}

@media (max-width: 760px) {
  .video-header { height: 64px; padding: 12px 18px; }
  .video-brand { width: 96px; height: 34px; }
  .section-nav { overflow: hidden; }
  .section-nav-track {
    width: 100%;
    min-height: 44px;
    padding: 0 18px;
    justify-content: flex-start;
    gap: 26px;
    overflow-x: auto;
    scrollbar-width: none;
  }
  .section-nav-track::-webkit-scrollbar { display: none; }
  .section-nav a { padding: 17px 0 15px; }
  .featured,
  .video-library { scroll-margin-top: 58px; }
  .videos-shell { width: calc(100% - 36px); }
  .featured { padding: 38px 0 62px; }
  .featured h1 { margin-top: 20px; }
  .video-library { padding: 28px 0 64px; }
  .video-grid { grid-template-columns: 1fr; gap: 30px; }
  .video-modal { width: calc(100% - 20px); }
  .modal-bar { height: 42px; }
  .player-actions { justify-content: stretch; }
  .player-actions button { flex: 1; padding: 10px 7px; font-size: 8px; }
  .video-footer { padding: 0 18px; font-size: 7px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .video-thumb img { transition: none; }
}
