:root {
  color-scheme: dark;
  --black: #020402;
  --panel: #071008;
  --panel-soft: #0b140c;
  --green: #78ff00;
  --green-soft: #b7ff52;
  --amber: #ffad24;
  --red: #ff3b33;
  --ink: #eee5b7;
  --muted: #a7a07d;
  --line: rgba(120, 255, 0, 0.28);
  --mono: "IBM Plex Mono", "Cascadia Mono", Consolas, monospace;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background:
    linear-gradient(rgba(120, 255, 0, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(120, 255, 0, 0.025) 1px, transparent 1px),
    radial-gradient(circle at 50% 0, rgba(255, 173, 36, 0.09), transparent 36%),
    var(--black);
  background-size: 28px 28px, 28px 28px, auto, auto;
  color: var(--ink);
  font: 15px/1.72 var(--mono);
}

a { color: var(--green-soft); }
a:hover, a:focus-visible { color: #fff; }
img { display: block; max-width: 100%; height: auto; }

.skip-link {
  position: absolute;
  left: 12px;
  top: -80px;
  z-index: 20;
  padding: 10px 14px;
  background: var(--green);
  color: #000;
}

.skip-link:focus { top: 12px; }

.site-head,
.door-main,
.site-foot {
  width: min(1240px, calc(100% - 28px));
  margin-inline: auto;
}

.site-head {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px 30px;
  align-items: center;
  margin-top: 14px;
  padding: 18px;
  border: 1px solid var(--line);
  background: rgba(2, 6, 3, 0.94);
}

.brand {
  display: flex;
  flex-direction: column;
  color: var(--ink);
  text-decoration: none;
}

.brand strong {
  color: var(--green);
  font-size: 1.1rem;
  letter-spacing: .18em;
}

.brand span { color: var(--muted); font-size: .72rem; }

.global-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 7px 14px;
  font-size: .74rem;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.global-nav a { text-decoration: none; }
.global-nav .center-link { color: var(--amber); }

.door-main { padding-block: 28px 62px; }

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 20px;
  color: var(--muted);
  font-size: .77rem;
}

.breadcrumbs a { color: var(--green-soft); }

.door-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(28px, 6vw, 72px);
  border: 1px solid var(--line);
  background: linear-gradient(135deg, rgba(120, 255, 0, .07), transparent 42%), var(--panel);
}

.door-hero::after {
  content: "LSEØ / ARCHIVO VIVO / 6";
  position: absolute;
  right: 18px;
  bottom: 10px;
  color: rgba(120, 255, 0, .15);
  font-size: .68rem;
  letter-spacing: .25em;
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--amber);
  font-size: .78rem;
  letter-spacing: .16em;
  text-transform: uppercase;
}

h1, h2, h3 { line-height: 1.14; }
h1 {
  max-width: 16ch;
  margin: 0;
  color: #fff4bf;
  font-size: clamp(2.1rem, 7vw, 5.1rem);
  letter-spacing: -.04em;
}

.lede {
  max-width: 76ch;
  margin: 24px 0 0;
  color: #d9d2ab;
  font-size: clamp(1rem, 2vw, 1.18rem);
}

.door-section {
  margin-top: 22px;
  padding: clamp(22px, 4vw, 42px);
  border: 1px solid rgba(255, 173, 36, .2);
  background: rgba(5, 11, 6, .92);
}

.door-section h2 {
  margin: 0 0 18px;
  color: var(--green);
  font-size: clamp(1.35rem, 3vw, 2.1rem);
}

.prose { max-width: 86ch; }
.prose p:first-child { margin-top: 0; }

.fact-strip,
.resource-grid,
.gallery,
.track-grid {
  display: grid;
  gap: 16px;
}

.fact-strip { grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }

.fact {
  padding: 16px;
  border-left: 2px solid var(--green);
  background: var(--panel-soft);
}

.fact strong { display: block; color: #fff; font-size: 1.25rem; }
.fact span { color: var(--muted); font-size: .72rem; }

.gallery { grid-template-columns: repeat(auto-fit, minmax(min(100%, 285px), 1fr)); }

.gallery figure,
.track,
.resource-card {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #030704;
}

.gallery a,
.track > a:first-child { display: block; }

.gallery img,
.track img {
  width: 100%;
  background: #000;
  object-fit: contain;
}

.gallery img { max-height: 720px; }
.track img { aspect-ratio: 16 / 9; object-fit: cover; }

figcaption,
.track-copy,
.resource-card { padding: 14px; }

figcaption strong,
.track-copy strong {
  display: block;
  color: #fff1b5;
}

figcaption span,
.track-copy span { color: var(--muted); font-size: .8rem; }

.resource-grid { grid-template-columns: repeat(auto-fit, minmax(min(100%, 290px), 1fr)); }

.resource-card {
  display: flex;
  min-height: 150px;
  flex-direction: column;
  justify-content: space-between;
}

.resource-card h3 { margin: 0 0 8px; color: #fff2bc; }
.resource-card p { margin: 0 0 14px; color: var(--muted); }
.resource-card a { overflow-wrap: anywhere; }

.track-grid { grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); }

.signal-box {
  margin-top: 20px;
  padding: 18px;
  border: 1px solid rgba(255, 59, 51, .45);
  background: rgba(42, 4, 4, .38);
}

.signal-box strong { color: var(--red); }
.signal-box p:last-child { margin-bottom: 0; }

.door-switcher {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.door-switcher a {
  padding: 10px 13px;
  border: 1px solid var(--line);
  background: #050a06;
  text-decoration: none;
}

.site-foot {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px;
  padding: 24px 18px 38px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: .78rem;
}

.site-foot p { margin: 0; }

@media (max-width: 850px) {
  .site-head { grid-template-columns: 1fr; }
  .global-nav { justify-content: flex-start; }
  .site-foot { grid-template-columns: 1fr; }
}

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