:root {
  color-scheme: dark;
  --ground: #181b1a;
  --panel: #212623;
  --line: #414742;
  --text: #f4f4e9;
  --muted: #bdc5bb;
  --lime: #cee481;
  --lime-ink: #182217;
  --page-width: 90rem;
  --gutter: clamp(1rem, 4.4vw, 4.5rem);
  --radius: .5rem;
  --mono: ui-monospace, 'DejaVu Sans Mono', monospace;
  font: 100%/1.5 'Golos Text', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-synthesis: none;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: 6.5rem; }
body { margin: 0; color: var(--text); background: var(--ground); }
h1, h2, h3, p { margin: 0; }
img { display: block; width: 100%; }
a { color: inherit; text-decoration: none; }
a:focus-visible { outline: 2px solid var(--lime); outline-offset: 4px; }
a:active { filter: brightness(.88); }

.shell {
  width: min(100%, var(--page-width));
  padding-inline: var(--gutter);
  margin-inline: auto;
}

.skip {
  position: fixed;
  z-index: 4;
  inset: .75rem auto auto .75rem;
  color: var(--lime-ink);
  background: var(--lime);
  padding: .75rem 1rem;
  transform: translateY(calc(-100% - 1rem));
}

.skip:focus { transform: none; }

.preview-bar {
  color: #d0d3ca;
  background: #101210;
  border-bottom: 1px solid #303630;
  font-size: .75rem;
}

.preview-nav, .preview-options, .header-inner, .site-nav, .wordmark, .hero-actions, .section-heading,
.section-link, .channel-group h3, .channel-links a, .footer-inner { display: flex; align-items: center; }

.preview-nav { justify-content: space-between; gap: .25rem 1rem; }
.preview-options { gap: .25rem 1.1rem; }
.preview-nav a { min-height: 2.75rem; display: inline-flex; align-items: center; white-space: nowrap; }
.preview-nav a:hover, .preview-nav a[aria-current] { color: var(--lime); }
.preview-nav a[aria-current] { box-shadow: inset 0 -2px var(--lime); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 2;
  background: #181b1af0;
  backdrop-filter: blur(18px) saturate(135%);
  border-bottom: 1px solid #f4f4e91e;
}

.header-inner { min-height: 4.25rem; justify-content: space-between; gap: 1rem; }
.wordmark { flex-shrink: 0; gap: .6rem; min-height: 2.75rem; font-size: 1.16rem; letter-spacing: -.05em; font-weight: 760; }
.wordmark-year { margin-left: .3em; color: var(--lime); font-size: .88em; font-weight: 600; }

.viewfinder {
  display: grid;
  place-items: center;
  width: 1.55rem;
  aspect-ratio: 1;
  color: var(--lime);
  background: linear-gradient(currentColor, currentColor) left top / .48rem 1px,
              linear-gradient(currentColor, currentColor) left top / 1px .48rem,
              linear-gradient(currentColor, currentColor) right top / .48rem 1px,
              linear-gradient(currentColor, currentColor) right top / 1px .48rem,
              linear-gradient(currentColor, currentColor) left bottom / .48rem 1px,
              linear-gradient(currentColor, currentColor) left bottom / 1px .48rem,
              linear-gradient(currentColor, currentColor) right bottom / .48rem 1px,
              linear-gradient(currentColor, currentColor) right bottom / 1px .48rem;
  background-repeat: no-repeat;
}

.viewfinder span, .status-dot { width: .44rem; height: .44rem; border-radius: 50%; background: var(--lime); }
.site-nav { gap: clamp(1rem, 3vw, 2.7rem); }
.site-nav a, .header-channel { display: inline-flex; align-items: center; min-height: 2.75rem; font-size: .88rem; font-weight: 590; }
.site-nav a:hover, .header-channel { color: var(--lime); }
.header-channel { gap: .45rem; }

.hero { position: relative; isolation: isolate; overflow: hidden; background: #272c26; }
.hero-photo, .hero::after { position: absolute; inset: 0; z-index: -1; }
.hero-photo { left: 15%; mask-image: linear-gradient(90deg, transparent, #000 18%); }
.hero-photo img { height: 100%; object-fit: cover; object-position: 70% center; filter: grayscale(1) sepia(.15) saturate(.65) contrast(.94); }
.hero::after {
  content: '';
  background: linear-gradient(90deg, #131711 0%, #131711e8 19%, #151a12aa 40%, #151a1233 70%, #151a1238),
              linear-gradient(0deg, #101411db, transparent 31%);
}

.hero-frame { min-height: clamp(31rem, 42vw, 44rem); display: flex; align-items: center; position: relative; }
.hero-copy { padding-block: 4.4rem 5.4rem; }
.eyebrow {
  color: var(--lime);
  text-transform: uppercase;
  font: 600 .76rem/1.4 var(--mono);
  letter-spacing: .085em;
}

.hero-copy .eyebrow { display: flex; align-items: center; gap: .62rem; }
.hero h1 {
  margin-block: 1.25rem 1.35rem;
  font-size: clamp(4.35rem, 9.5vw, 8.55rem);
  font-weight: 750;
  letter-spacing: -.048em;
  line-height: .93;
}

.hero h1 em { color: var(--lime); font-style: normal; }
.hero-description { color: #e3e7da; max-width: 24rem; font-size: clamp(1.04rem, 1.5vw, 1.22rem); line-height: 1.55; }
.hero-actions { gap: .65rem; flex-wrap: wrap; margin-top: 1.65rem; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.125rem;
  padding-inline: 1.15rem;
  gap: .65rem;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-size: .92rem;
  font-weight: 700;
  transition: background-color 140ms, transform 100ms;
}

.button:active { transform: scale(.97); }
.button-primary { background: var(--lime); color: var(--lime-ink); }
.button-primary:hover { background: #e0efab; }
.button-secondary { background: #191d16b5; color: var(--text); border-color: #f4f4e873; }
.button-secondary:hover { background: #353a2c; }
.play { display: block; width: 0; height: 0; border-block: .35rem solid transparent; border-left: .57rem solid currentColor; }

.hero-caption {
  position: absolute;
  inset: auto var(--gutter) 1.4rem auto;
  display: flex;
  align-items: center;
  min-height: 2.75rem;
  gap: .57rem;
  color: #e9eddf;
  background: #13171199;
  padding: .37rem .5rem;
  font: .69rem/1.35 var(--mono);
}

.hero-caption:hover { color: var(--lime); }
.caption-line { width: .85rem; height: 1px; background: var(--lime); }

.film-section, .story-section { padding-block: clamp(3rem, 6vw, 5rem); }
.section-heading { align-items: end; justify-content: space-between; gap: .75rem 2rem; margin-bottom: 1.55rem; }
h2 { font-size: clamp(2.2rem, 5vw, 4.4rem); line-height: 1.02; letter-spacing: -.04em; font-weight: 730; }
.section-heading .eyebrow, .channel-heading .eyebrow { margin-bottom: .64rem; }
.section-link { min-height: 2.75rem; gap: .58rem; color: var(--lime); font-size: .91rem; font-weight: 650; }
.section-link:hover { text-decoration: underline; text-underline-offset: .26em; }

.film-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(.75rem, 1.8vw, 1.65rem); }
.film-card a { display: block; border-radius: var(--radius); }
.film-image { position: relative; overflow: hidden; aspect-ratio: 16 / 9; background: #30372d; border-radius: var(--radius); }
.film-image img { height: 100%; object-fit: cover; transition: transform 190ms ease, filter 190ms ease; }
.film-card a:hover img { transform: scale(1.035); filter: brightness(1.12); }
.play-badge {
  position: absolute;
  left: .6rem;
  bottom: .6rem;
  display: grid;
  place-items: center;
  width: 2.3rem;
  aspect-ratio: 1;
  padding-left: .12rem;
  border-radius: 50%;
  color: var(--lime-ink);
  background: var(--lime);
}

.timecode {
  position: absolute;
  right: .55rem;
  bottom: .55rem;
  padding: .24rem .37rem;
  color: white;
  background: #111611ed;
  border-radius: .19rem;
  font: .75rem/1.1 var(--mono);
}

.card-type { color: var(--muted); font-size: .75rem; font-weight: 600; }
.film-card .card-type { margin-block: .75rem .23rem; }
.film-card h3, .story-card h3 { font-size: clamp(1.02rem, 1.55vw, 1.3rem); line-height: 1.18; letter-spacing: -.03em; font-weight: 710; }

.channel-section { background: var(--lime); color: var(--lime-ink); }
.channel-inner { display: grid; grid-template-columns: minmax(13rem, .8fr) minmax(0, 2fr); align-items: center; gap: 2rem; padding-block: 2.35rem; }
.channel-heading .eyebrow { color: #36502a; }
.channel-heading h2 { font-size: clamp(2rem, 3.75vw, 3.7rem); }
.channel-map { display: grid; grid-template-columns: 2fr 1fr; gap: .75rem; }
.channel-group h3 { gap: .65rem; margin-bottom: .55rem; font-size: .78rem; font-weight: 700; }
.channel-group h3 span { flex: 1; height: 1px; background: #829245; }
.channel-links { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: .45rem; }
.channel-links a { min-height: 4.45rem; justify-content: space-between; align-items: start; gap: .5rem; padding: .7rem; border: 1px solid #829245; border-radius: var(--radius); }
.channel-links a:hover { background: #e2efaf; }
.channel-links a:focus-visible { outline-color: var(--lime-ink); }
.channel-links strong, .channel-links small { display: block; }
.channel-links small { margin-top: .18rem; font-size: .74rem; line-height: 1.3; color: #39472d; }
.channel-links b { font-size: .95rem; }

.story-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(.6rem, 1.6vw, 1.5rem); }
.story-card a { min-height: 100%; display: grid; grid-template-columns: clamp(3rem, 5vw, 4rem) minmax(0, 1fr) auto; gap: .75rem; padding: .85rem; border: 1px solid var(--line); border-radius: var(--radius); }
.story-card a:hover { background: var(--panel); border-color: #606e57; }
.story-card img { aspect-ratio: 1; object-fit: cover; object-position: center 26%; border-radius: .25rem; filter: grayscale(.5); background: var(--panel); }
.story-card h3 { margin-block: .15rem .45rem; }
.story-card p:not(.card-type) { color: var(--muted); font-size: .87rem; line-height: 1.45; }
.story-arrow { color: var(--lime); }

.site-footer { border-top: 1px solid var(--line); background: #111411; color: var(--muted); }
.footer-inner { flex-wrap: wrap; min-height: 5.25rem; padding-block: .6rem; gap: .15rem 1.5rem; }
.footer-inner .wordmark { color: var(--text); }
.footer-inner p { font-size: .88rem; }
.footer-inner .section-link { margin-left: auto; }

@media (max-width: 62rem) {
  .hero-frame { min-height: 29rem; }
  .hero h1 { font-size: clamp(4.5rem, 12vw, 7rem); }
  .story-list { grid-template-columns: 1fr; }
  .story-card a { align-items: center; }
  .story-card h3 { margin-block: .06rem .24rem; }
  .story-arrow { align-self: start; }
}

@media (max-width: 46rem) {
  .header-inner { min-height: 3.6rem; }
  .site-nav { gap: .85rem; }
  .header-channel { display: none; }
  .hero-frame { min-height: clamp(29rem, 100vw, 34rem); }
  .hero-photo { left: 0; mask-image: none; }
  .hero-photo img { object-position: 62% center; }
  .hero::after {
    background: linear-gradient(90deg, #141914dc, #14191446), linear-gradient(0deg, #101410, transparent 55%);
  }
  .hero-copy { padding-block: 3.8rem 4rem; }
  .hero h1 { font-size: clamp(3.95rem, 13vw, 6rem); }
  .hero-caption { bottom: .75rem; }
  .film-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 1.4rem; }
  .channel-inner { grid-template-columns: 1fr; gap: 1rem; }
}

@media (max-width: 31rem) {
  .preview-options { gap: .7rem; }
  .preview-home { font-size: .7rem; }
  .preview-nav { padding-inline: .75rem; }
  .site-nav { gap: .67rem; }
  .site-nav a { font-size: .81rem; }
  .wordmark { gap: .42rem; font-size: 1.06rem; }
  .viewfinder { width: 1.2rem; }
  .section-heading { align-items: start; flex-direction: column; gap: .15rem; margin-bottom: .8rem; }
  .channel-map { grid-template-columns: 1fr; }
  .footer-inner .section-link { margin-left: 0; }
}

@media (max-width: 23rem) {
  .preview-nav { flex-wrap: wrap; }
  .preview-options { justify-content: space-between; width: 100%; }
  .header-inner { flex-wrap: wrap; gap: 0 .75rem; }
  .hero-actions { align-items: start; flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
  .button:active, .film-card a:hover img { transform: none; }
}

@media (prefers-reduced-transparency: reduce), (prefers-contrast: more) {
  .site-header, .button-secondary, .hero-caption { background: var(--ground); backdrop-filter: none; }
}
