:root {
    --bg: #090b0e;
      --surface: #10141a;
        --surface-raised: #131820;
          -
}


:root {
  --bg: #090b0e;
  --surface: #10141a;
  --surface-raised: #131820;
  --line: #242b35;
  --line-strong: #35404d;
  --text: #f5f6f8;
  --muted: #aab2bd;
  --subtle: #737e8c;
  --accent: #82c4ff;
  --accent-strong: #c1e2ff;
  --focus: #ffd166;
  --radius: 17px;
  --content-width: 1040px;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-kerning: normal;
  font-synthesis: none;
  color: var(--text);
  background: var(--bg);
  line-height: 1.55;
  scroll-behavior: smooth;
  text-size-adjust: 100%;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--bg);
}

body {
  margin: 0;
  min-width: 0;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--text);
  text-rendering: optimizeLegibility;
}

a {
  color: var(--accent);
  text-decoration-thickness: 0.07em;
  text-underline-offset: 0.23em;
}

a:hover {
  color: var(--accent-strong);
}

a:focus-visible,
button:focus-visible,
[tabindex]:focus-visible,
.plyr :focus-visible {
  outline: 3px solid var(--focus) !important;
  outline-offset: 3px;
}

.shell {
  width: min(calc(100% - 2.5rem), var(--content-width));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.65rem 0.9rem;
  border-radius: 8px;
  background: var(--focus);
  color: #111;
  font-weight: 760;
  transform: translateY(-180%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  padding: 1.15rem 0 0;
  border-bottom: 1px solid var(--line);
  background: rgba(9, 11, 14, 0.97);
}

.site-header .shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
}

.kicker {
  grid-column: 2;
  grid-row: 1;
  margin: 0 0 0.28rem;
  color: var(--subtle);
  font-size: 0.68rem;
  font-weight: 760;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

h1 {
  grid-column: 1;
  grid-row: 1;
  margin: 0;
  font-size: clamp(2rem, 4.5vw, 2.75rem);
  font-weight: 735;
  line-height: 0.95;
  letter-spacing: -0.055em;
}

.introduction {
  grid-column: 1 / -1;
  max-width: 49rem;
  margin: 0.7rem 0 0.9rem;
  color: var(--muted);
  font-size: clamp(0.92rem, 1.8vw, 1rem);
  line-height: 1.45;
  text-wrap: pretty;
}

.jump-nav {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
}

.jump-nav a {
  display: flex;
  align-items: center;
  min-width: 0;
  min-height: 48px;
  gap: 0.55rem;
  padding: 0.58rem 0.9rem;
  border-right: 1px solid var(--line);
  color: #dce1e7;
  font-size: 0.8rem;
  font-weight: 650;
  line-height: 1.2;
  text-decoration: none;
  transition: color 150ms ease, background-color 150ms ease;
}

.jump-nav a:first-child {
  padding-left: 0;
}

.jump-nav a:last-child {
  border-right: 0;
}

.jump-nav a:hover {
  background: #0d1014;
  color: #fff;
}

.jump-nav span {
  flex: 0 0 auto;
  color: var(--accent);
  font-size: 0.7rem;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.08em;
}

.archive {
  display: grid;
  gap: clamp(1.25rem, 3vw, 2.5rem);
  padding-block: clamp(0.8rem, 2.5vw, 1.75rem) 3.5rem;
}

.archive-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-areas:
    "player"
    "heading"
    "metadata";
  gap: clamp(0.9rem, 2.2vw, 1.25rem);
  min-width: 0;
  padding: clamp(0.75rem, 2.2vw, 1.35rem);
  scroll-margin-top: 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.025) inset,
    0 30px 70px -56px rgba(0, 0, 0, 0.95);
}

.archive-card:first-child {
  border-color: var(--line-strong);
  background: var(--surface-raised);
}

.card-heading {
  grid-area: heading;
  min-width: 0;
  padding-inline: 0.15rem;
}

.item-number {
  margin: 0 0 0.55rem;
  color: var(--accent);
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.card-heading h2 {
  max-width: 24ch;
  margin: 0;
  font-size: clamp(1.35rem, 3.1vw, 1.9rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

.summary {
  max-width: 78ch;
  margin: 0.72rem 0 0;
  color: var(--muted);
  font-size: clamp(0.87rem, 1.6vw, 0.95rem);
  line-height: 1.56;
  text-wrap: pretty;
}

.metadata {
  grid-area: metadata;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  min-width: 0;
  margin: 0;
  padding-top: 0.15rem;
  border-top: 1px solid var(--line);
}

.metadata div {
  min-width: 0;
  padding: 0.68rem 1rem 0 0;
}

.metadata div + div {
  padding-left: 1rem;
  border-left: 1px solid var(--line);
}

.metadata dt {
  color: var(--subtle);
  font-size: 0.61rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.metadata dd {
  margin: 0.18rem 0 0;
  color: #dfe4ea;
  font-size: 0.78rem;
  line-height: 1.4;
  overflow-wrap: anywhere;
}

.metadata dd span {
  color: var(--muted);
}

.player-shell {
  grid-area: player;
  width: 100%;
  min-width: 0;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border: 1px solid #303946;
  border-radius: 12px;
  background: #000;
  box-shadow: 0 22px 48px -36px rgba(0, 0, 0, 0.98);
}

.player-shell > video,
.player-shell > .plyr,
.player-shell .plyr__video-wrapper {
  width: 100%;
  height: 100%;
}

.player-shell video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #000;
}

.plyr {
  --plyr-color-main: #6ab7f5;
  --plyr-video-control-color: #fff;
  --plyr-video-control-background-hover: rgba(80, 169, 236, 0.9);
  --plyr-menu-background: #141820;
  --plyr-menu-color: #f5f7fa;
  --plyr-tooltip-background: #f5f7fa;
  --plyr-tooltip-color: #111820;
}

.source-note {
  min-width: 0;
  padding-top: 0.75rem;
  border-top: 1px solid var(--line);
  color: var(--subtle);
  font-size: 0.75rem;
  line-height: 1.5;
}

.source-note p {
  margin: 0.3rem 0;
}

.source-note strong {
  color: var(--muted);
  font-weight: 700;
}

.source-note a {
  color: var(--muted);
}

.source-note a:hover {
  color: var(--accent-strong);
}

.pending {
  font-style: normal;
}

.site-footer {
  padding: 1.75rem 0 2.5rem;
  border-top: 1px solid var(--line);
  color: var(--subtle);
  font-size: 0.74rem;
  line-height: 1.5;
}

.site-footer .shell {
  display: block;
}

.site-footer p {
  max-width: 58rem;
  margin: 0;
}

.site-footer a {
  color: var(--muted);
}

@media (min-width: 960px) {
  .archive-card {
    grid-template-areas:
      "heading"
      "player"
      "metadata";
    padding: clamp(1.25rem, 2.5vw, 1.7rem);
  }

  .card-heading {
    display: grid;
    grid-template-columns: minmax(245px, 0.82fr) minmax(0, 1.55fr);
    column-gap: clamp(1.5rem, 3.5vw, 3rem);
    padding-inline: 0;
  }

  .item-number {
    grid-column: 1;
    grid-row: 1;
  }

  .card-heading h2 {
    grid-column: 1;
    grid-row: 2;
    font-size: clamp(1.55rem, 2.5vw, 2.05rem);
  }

  .summary {
    grid-column: 2;
    grid-row: 1 / span 2;
    align-self: stretch;
    max-width: none;
    margin: 0;
    padding: 1.45rem 0 0 clamp(1.25rem, 2.6vw, 2rem);
    border-left: 1px solid var(--line);
    font-size: 0.94rem;
    line-height: 1.58;
  }

  .metadata div {
    padding-top: 0.78rem;
  }
}

@media (max-width: 760px) {
  .shell {
    width: min(calc(100% - 1.5rem), var(--content-width));
  }

  .site-header {
    padding-top: 0.9rem;
  }

  .kicker {
    max-width: 10rem;
    margin-bottom: 0.18rem;
    text-align: right;
    font-size: 0.58rem;
    line-height: 1.25;
  }

  h1 {
    font-size: 2rem;
  }

  .introduction {
    margin: 0.55rem 0 0.72rem;
    font-size: 0.86rem;
    line-height: 1.42;
  }

  .jump-nav a {
    min-height: 48px;
    gap: 0.35rem;
    padding: 0.45rem;
    font-size: clamp(0.64rem, 2.55vw, 0.75rem);
  }

  .jump-nav a:first-child {
    padding-left: 0.2rem;
  }

  .jump-nav span {
    font-size: 0.58rem;
  }

  .archive {
    gap: 1.25rem;
    padding-block: 0.75rem 2.5rem;
  }

  .archive-card {
    padding: 0.75rem;
    border-radius: 13px;
  }

  .player-shell {
    border-radius: 9px;
  }

  .card-heading h2 {
    font-size: clamp(1.25rem, 5.5vw, 1.55rem);
  }

  .summary {
    margin-top: 0.58rem;
    font-size: 0.86rem;
    line-height: 1.52;
  }

  .metadata dd {
    font-size: 0.75rem;
  }
}

@media (max-width: 420px) {
  .kicker {
    display: none;
  }

  h1 {
    grid-column: 1 / -1;
  }

  .jump-nav a {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    gap: 0.08rem;
  }

  .metadata {
    grid-template-columns: 1fr;
  }

  .metadata div {
    padding-right: 0;
  }

  .metadata div + div {
    margin-top: 0.6rem;
    padding: 0.6rem 0 0;
    border-top: 1px solid var(--line);
    border-left: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  :root {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
