/* Infiltrators — site stylesheet. Edit this file directly. */
@font-face { font-family: 'Barlow Condensed'; src: url('/infiltrators/fonts/barlow-condensed-600.woff2') format('woff2'); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: 'Barlow Condensed'; src: url('/infiltrators/fonts/barlow-condensed-700.woff2') format('woff2'); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: 'Barlow Condensed'; src: url('/infiltrators/fonts/barlow-condensed-800.woff2') format('woff2'); font-weight: 800; font-style: normal; font-display: swap; }
@font-face { font-family: 'Source Sans 3'; src: url('/infiltrators/fonts/source-sans-3.woff2') format('woff2'); font-weight: 200 900; font-style: normal; font-display: swap; }
@font-face { font-family: 'Source Sans 3'; src: url('/infiltrators/fonts/source-sans-3-italic.woff2') format('woff2'); font-weight: 200 900; font-style: italic; font-display: swap; }

:root {
  --ink: #0a0806;
  --night: #11100c;
  --steel: #1c1810;
  --line: rgba(199, 170, 100, 0.15);
  --gold: #c9a84c;
  --gold-deep: #8a6d2a;
  --ember: #c45a1a;
  --ember-deep: #7a3510;
  --text: #e8e2d6;
  --text-dim: rgba(232, 226, 214, 0.72);
  --text-mute: rgba(232, 226, 214, 0.55);
  --head: 'Barlow Condensed', system-ui, sans-serif;
  --body: 'Source Sans 3', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --wrap: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font: 400 1.08rem/1.7 var(--body);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold); text-decoration-color: rgba(201, 168, 76, .4); text-underline-offset: 3px; }
a:hover { color: #fff; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.wrap { width: min(var(--wrap), 100% - 48px); margin-inline: auto; }

/* ── nav ── */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(10, 8, 6, .82); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav .wrap { --nav-gap: 32px; display: flex; align-items: center; gap: var(--nav-gap); height: 68px; }
.nav-title {
  font: 800 1.15rem/1 var(--head); letter-spacing: .18em; text-transform: uppercase;
  color: var(--gold); text-decoration: none; white-space: nowrap;
}
.nav-title:hover { color: #fff; }
.nav-menu { margin-left: auto; }
.nav-links { display: flex; gap: 26px; list-style: none; padding: 0; margin-block: 0; }
.nav-links a {
  font: 600 .78rem/1 var(--head); letter-spacing: .14em; text-transform: uppercase;
  color: var(--text-dim); text-decoration: none; padding: 6px 0; border-bottom: 2px solid transparent;
}
.nav-links a:hover, .nav-links a:focus-visible, .nav-links a[aria-current] { color: #fff; border-color: var(--gold); }
.nav-links a { white-space: nowrap; }
.nav-watch { white-space: nowrap; }
.nav-toggle {
  display: none; flex-shrink: 0; width: 44px; height: 44px; padding: 0 10px; margin-left: 4px;
  background: none; border: 1px solid var(--line); border-radius: 2px; cursor: pointer;
  flex-direction: column; justify-content: center; gap: 5px;
}
.nav-toggle span { display: block; height: 2px; background: var(--text); transition: transform .2s, opacity .2s; }
.nav.open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav.open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav.open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1280px) {
  .nav .wrap { --nav-gap: 22px; }
  .nav-links { gap: 18px; }
  .nav-links a { letter-spacing: .1em; }
}
@media (max-width: 1120px) {
  .nav-toggle { display: flex; }
  .nav-menu { margin-left: 0; margin-right: calc(var(--nav-gap) * -1); }
  .nav-watch { margin-left: auto; }
  .nav-links {
    display: none; position: absolute; top: 68px; left: 0; right: 0;
    flex-direction: column; gap: 0; margin: 0; padding: 8px 0 16px;
    background: var(--ink); border-bottom: 1px solid var(--line);
    max-height: calc(100vh - 68px); max-height: calc(100dvh - 68px); overflow-y: auto; overscroll-behavior: contain;
  }
  .nav.open .nav-links { display: flex; }
  .nav-links li { border-top: 1px solid var(--line); }
  .nav-links a { display: block; padding: 16px 32px; border-bottom: 0; border-left: 3px solid transparent; font-size: .85rem; }
  .nav-links a:hover, .nav-links a:focus-visible, .nav-links a[aria-current] { border-left-color: var(--gold); background: rgba(255,255,255,.03); }
  .nav-links a:focus-visible { outline-offset: -3px; }
}
@media (max-width: 420px) {
  .nav .nav-watch { padding: 12px 14px; font-size: .7rem; }
  .nav-title { font-size: 1rem; letter-spacing: .12em; }
}

/* ── buttons ── */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font: 800 .8rem/1 var(--head); letter-spacing: .12em; text-transform: uppercase;
  padding: 15px 24px; border-radius: 2px; text-decoration: none; transition: background-color .2s, border-color .2s, color .2s;
}
.btn-gold { background: var(--gold); color: #120a03; }
.btn-gold:hover, .btn-gold:focus-visible { background: #e0c060; color: #120a03; }
.btn-line { border: 1px solid rgba(201,168,76,.5); color: var(--text); }
.btn-line:hover, .btn-line:focus-visible { border-color: var(--gold); background: rgba(201,168,76,.08); color: #fff; }
.btn-sm { padding: 11px 16px; font-size: .72rem; }
.btn svg { width: 14px; height: 14px; }

/* ── shared type ── */
.kicker {
  font: 700 .74rem/1 var(--head); letter-spacing: .24em; text-transform: uppercase; color: var(--gold);
  display: flex; align-items: center; gap: 14px; margin: 0 0 18px;
}
.kicker::before { content: ''; width: 34px; height: 1px; background: var(--gold); }
h1, h2, h3 { font-family: var(--head); line-height: 1.02; margin: 0; letter-spacing: -.01em; }
h1 { overflow-wrap: break-word; }
.h-xl { font-weight: 800; font-size: clamp(2.6rem, 6vw, 4.8rem); text-transform: uppercase; }
@media (max-width: 480px) { .h-xl { font-size: clamp(2rem, 9vw, 2.6rem); } }
.h-lg { font-weight: 800; font-size: clamp(2rem, 4vw, 3.1rem); text-transform: uppercase; }
.h-md { font-weight: 700; font-size: 1.35rem; }
.lead { font-size: 1.25rem; color: var(--text-dim); max-width: 60ch; }

/* gold gradient divider */
.divider { height: 2px; background: linear-gradient(90deg, transparent, var(--gold), transparent); opacity: .35; margin: 0; border: 0; }

section { padding: 96px 0; }

/* ── HOME HERO ── key art from artwork/. The title is part of the art, so the h1 is .sr-only. */
.hero {
  position: relative; overflow: hidden; padding: 0;
  min-height: min(calc(100vh - 68px), 62vw);
  display: grid; align-items: end;
  background: var(--ink);
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background: url('/infiltrators/artwork/infiltrators-key-art.jpg') center 30% / cover no-repeat;
}
@media (max-width: 1280px) {
  .hero::before { background-image: url('/infiltrators/artwork/infiltrators-key-art-1280.jpg'); }
}
.hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(10,8,6,.96) 0%, rgba(10,8,6,.85) 22%, rgba(10,8,6,.45) 36%, transparent 52%); }
.hero .wrap { position: relative; z-index: 1; padding: 0 0 56px; max-width: 740px; text-align: center; }
.hero-tagline { font: 400 1.45rem/1.3 var(--body); color: var(--gold); margin: 0 0 28px; font-style: italic; text-shadow: 0 2px 16px rgba(0,0,0,.8); }
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
/* Portrait screens: the poster version of the art */
@media (max-aspect-ratio: 1/1) {
  .hero { min-height: min(calc(100vh - 68px), 141.5vw); }
  .hero::before { background: url('/infiltrators/artwork/infiltrators-poster.jpg') center 20% / cover no-repeat; }
}
/* Phones: the whole poster at full width; the tagline and buttons sit over its lower edge and below it */
@media (max-width: 600px) {
  .hero { min-height: 0; padding-top: calc(141.5vw - 110px); }
  .hero::before { background-position: center top; background-size: 100% auto; }
  .hero::after { background: linear-gradient(180deg, transparent calc(141.5vw - 210px), rgba(10,8,6,.8) calc(141.5vw - 90px), var(--ink) 141.5vw); }
  .hero .wrap { padding-bottom: 48px; }
}
@media (max-width: 420px) {
  .hero-tagline { font-size: 1.15rem; }
}


/* ── trailer ── */
.trailer { background: linear-gradient(180deg, var(--ink), var(--night)); text-align: center; }
.trailer .h-lg { margin-bottom: 36px; }
.video-facade {
  position: relative; display: block; aspect-ratio: 16/9; width: min(960px, 100%); margin: 0 auto; padding: 0; cursor: pointer;
  background: var(--thumb, url('/infiltrators/images/header/header-1024.jpg')) center/cover #000; border: 1px solid var(--line);
  box-shadow: 0 40px 100px rgba(0,0,0,.6); color: var(--text); font: inherit;
  -webkit-appearance: none; appearance: none; border-radius: 0;
}
.video-facade:focus-visible { outline: 3px solid var(--gold); outline-offset: 4px; }
.video-frame, iframe.video-frame {
  display: block; width: min(960px, 100%); height: auto; aspect-ratio: 16/9; margin: 0 auto; border: 0; background: #000;
}
.video-facade::before { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0,0,0,.55), transparent 50%); }
.play {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 88px; height: 88px; border-radius: 50%; background: rgba(201,168,76,.92);
  display: grid; place-items: center; box-shadow: 0 0 0 10px rgba(201,168,76,.22); transition: transform .2s;
}
.video-facade:hover .play { transform: translate(-50%, -50%) scale(1.07); }
.play::after { content: ''; border-left: 26px solid #120a03; border-block: 16px solid transparent; margin-left: 6px; }
.video-label { position: absolute; left: 24px; bottom: 20px; font: 700 .78rem/1 var(--head); letter-spacing: .16em; text-transform: uppercase; }

/* ── synopsis teaser ── */
.synopsis .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.synopsis p { color: var(--text-dim); }
.synopsis-img { width: 100%; height: auto; box-shadow: 0 24px 60px rgba(0,0,0,.6); border: 1px solid var(--line); }

/* ── news timeline ── */
.news { background: var(--night); }
.timeline { list-style: none; padding: 0; margin: 48px 0 0; border-left: 2px solid rgba(201,168,76,.25); }
.timeline-item { position: relative; padding: 0 0 56px 40px; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item::before {
  content: ''; position: absolute; left: -6px; top: 6px;
  width: 10px; height: 10px; border-radius: 50%; background: var(--gold); border: 2px solid var(--ink);
}
.timeline-date { font: 700 .74rem/1 var(--head); letter-spacing: .18em; text-transform: uppercase; color: var(--gold); margin: 0 0 10px; }
.timeline-item h3 { font: 700 1.35rem/1.25 var(--head); color: #fff; margin: 0 0 14px; }
.timeline-item p { margin: 0 0 1em; color: var(--text-dim); }
.timeline-item p:last-child { margin-bottom: 0; }
.timeline-item figure { margin: 1em 0; }
.timeline-item figcaption { font: 500 .8rem/1.45 var(--head); letter-spacing: .02em; color: var(--text-mute); margin-top: 8px; }
.timeline-item img { max-width: min(500px, 100%); border: 1px solid var(--line); }
.timeline-item .gallery-grid { margin: 1em 0; }
.timeline-item .gallery-grid a { border: 1px solid var(--line); }
.timeline-item h4 { font: 700 1.05rem/1.25 var(--head); color: var(--text); margin: 1.5em 0 .5em; }

/* ── watch section ── */
.watch { text-align: center; }
.watch-links { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-top: 32px; }

/* ── page hero (interior) ── */
.page-hero {
  position: relative; padding: 120px 0 80px; overflow: hidden;
  background: var(--night);
}
.page-hero::before {
  content: ''; position: absolute; inset: 0;
  background: var(--hero-img, none) center 30%/cover; opacity: .25; filter: saturate(.55);
}
.page-hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,8,6,.3), var(--ink) 96%); }
.page-hero .wrap { position: relative; z-index: 1; }
.page-hero .lead { margin-top: 22px; }
.crumbs { font: 600 .72rem/1 var(--head); letter-spacing: .14em; text-transform: uppercase; color: var(--text-mute); margin: 1em 0 26px; }
.crumbs a { color: var(--text-mute); text-decoration: none; }

/* ── about page ── */
.about-layout { display: grid; grid-template-columns: 1fr 300px; gap: 56px; align-items: start; }
.about-layout .prose { max-width: 700px; }
.about-sidebar { position: sticky; top: 100px; }
.film-details { background: var(--steel); border: 1px solid var(--line); padding: 28px; }
.film-details h2 { font: 800 .74rem/1 var(--head); letter-spacing: .18em; text-transform: uppercase; color: var(--gold); margin: 0 0 18px; }
.film-details dl { margin: 0; }
.film-details dt { font: 600 .72rem/1 var(--head); letter-spacing: .12em; text-transform: uppercase; color: var(--text-mute); margin-top: 14px; }
.film-details dt:first-of-type { margin-top: 0; }
.film-details dd { margin: 4px 0 0; font-size: 1rem; }

/* ── cast cards ── */
.people { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; margin-top: 46px; }
.person { position: relative; background: var(--steel); border: 1px solid var(--line); overflow: hidden; }
.person-photo { aspect-ratio: 1/1.1; overflow: hidden; background: #0e120a; }
.person-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; filter: grayscale(.35) contrast(1.05); transition: filter .5s, transform .5s; }
.person:hover .person-photo img { filter: none; transform: scale(1.04); }
.person-body { padding: 18px 20px 20px; border-top: 2px solid var(--gold); }
.person h3 { font-size: 1.15rem; font-weight: 800; }
.person .role { font-style: italic; color: var(--text-dim); margin: 4px 0 12px; font-size: 1rem; }
.person .bio { font-size: .95rem; line-height: 1.55; color: var(--text-dim); margin: 10px 0 0; }
.person .bio:empty { margin: 0; }
.cast-links { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; }
.imdb { font: 800 .68rem/1 var(--head); letter-spacing: .1em; background: #f5c518; color: #000; padding: 4px 7px; border-radius: 2px; text-decoration: none; }
.imdb:hover { color: #000; background: #ffd84d; }
.ext-link { font: 600 .72rem/1 var(--head); letter-spacing: .08em; text-transform: uppercase; color: var(--text-dim); text-decoration: none; padding: 4px 7px; border: 1px solid var(--line); border-radius: 2px; }
.ext-link:hover { color: #fff; border-color: var(--gold); }

/* also starring list */
.credits { list-style: none; margin: 0; padding: 0; }
.credits li { padding: 10px 0; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; gap: 1em; }
.credits li span:first-child { color: #fff; font-weight: 600; }
.credits li span:last-child { color: var(--text-dim); text-align: right; }

/* ── crew credits ── */
.crew-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 56px; margin-top: 30px; }
.crew-block { padding: 20px 0; border-bottom: 1px solid var(--line); }
.crew-block h3 { font: 700 .72rem/1 var(--head); letter-spacing: .18em; text-transform: uppercase; color: var(--gold); margin: 0 0 10px; }
.crew-block p { margin: 0; line-height: 1.65; }
.crew-block .role { color: var(--text-mute); font-size: .95rem; }
.crew-block a { text-decoration: none; }
.crew-block a:hover { text-decoration: underline; }

/* ── gallery ── */
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px 12px; margin: 30px 0 70px; }
.gallery-grid a { display: block; aspect-ratio: 3/2; overflow: hidden; border: 1px solid var(--line); text-decoration: none; }
.gallery-grid img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.8); transition: filter .4s, transform .4s; }
.gallery-grid a:hover img, .gallery-grid a:focus-visible img { filter: none; transform: scale(1.04); }
.gallery-grid figure { margin: 0; }
.gallery-grid figcaption { margin-top: 10px; color: var(--text-mute); font: 500 .8rem/1.45 var(--head); letter-spacing: .02em; }

/* ── lightbox ── */
.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(3,4,2,.95); display: grid; grid-template-columns: 64px 1fr 64px; align-items: center; }
.lightbox[hidden] { display: none; }
.lightbox figure { margin: 0; min-width: 0; text-align: center; }
.lightbox img { max-width: 100%; max-height: 82vh; max-height: 82svh; margin: 0 auto; border: 1px solid var(--line); }
.lightbox figcaption { margin-top: 14px; color: var(--text-dim); font: 600 .8rem/1.4 var(--head); letter-spacing: .08em; }
.lightbox button { background: none; border: 0; color: var(--text); font: 400 3rem/1 var(--head); cursor: pointer; height: 100%; }
.lightbox button:hover, .lightbox button:focus-visible { color: var(--gold); }
.lightbox .lb-close { position: absolute; top: 14px; right: 18px; height: auto; min-width: 44px; min-height: 44px; font-size: 2.6rem; }
body.lb-open { overflow: hidden; }

/* ── contact ── */
.info-card { background: var(--steel); border: 1px solid var(--line); padding: 34px; max-width: 600px; }
.info-card h2 { font: 800 1.5rem/1.1 var(--head); text-transform: uppercase; margin: 0 0 12px; }
.info-card p { margin: 0 0 1em; color: var(--text-dim); }
.info-card > :last-child { margin-bottom: 0; }

/* ── prose (reusable body text) ── */
.prose p { margin: 0 0 1.35em; color: #d8d2c4; }
.prose h2 { font: 800 clamp(1.6rem, 3vw, 2.2rem)/1.05 var(--head); text-transform: uppercase; margin: 2.2em 0 .7em; }
.prose h3 { font: 700 1.25rem/1.2 var(--head); margin: 1.8em 0 .6em; }
.prose h2:first-child, .prose h3:first-child { margin-top: 0; }
.prose figure { margin: 2em 0; }
.prose figure img { width: 100%; border: 1px solid var(--line); }
.prose figure.portrait { width: min(100%, 380px); }
.prose figcaption { font: 600 .72rem/1.4 var(--head); letter-spacing: .1em; text-transform: uppercase; color: var(--text-mute); margin-top: 10px; }
.prose img.inline { max-width: 100%; height: auto; border: 1px solid var(--line); margin: 0 0 1.35em; }
.prose .video-facade, .prose .video-frame { margin: 0 0 1.6em; }

/* ── footer ── */
.footer { border-top: 1px solid var(--line); padding: 64px 0 40px; background: #050403; }
.footer .wrap { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 48px; }
.footer p { color: var(--text-mute); font-size: .95rem; margin: 0 0 8px; }
.footer h2 { font: 800 .72rem/1 var(--head); letter-spacing: .18em; text-transform: uppercase; color: var(--text-dim); margin: 0 0 16px; }
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer li { margin-bottom: 9px; }
.footer li a { color: var(--text-mute); text-decoration: none; font-size: .95rem; }
.footer li a:hover { color: #fff; }
.footer-title { font: 800 1rem/1 var(--head); letter-spacing: .14em; text-transform: uppercase; color: var(--gold); margin-bottom: 14px; text-decoration: none; }
.footer-base { grid-column: 1 / -1; border-top: 1px solid var(--line); padding-top: 26px; margin-top: 16px; display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; font: 600 .72rem/1 var(--head); letter-spacing: .1em; text-transform: uppercase; color: var(--text-mute); }
.footer-base a { color: var(--text-dim); text-decoration: none; }

/* ── page body ── */
.page-body { padding: 72px 0 96px; }
.narrow { width: min(760px, 100% - 48px); margin-inline: auto; }
.wrap .narrow { width: min(760px, 100%); }

/* ── responsive ── */
@media (max-width: 960px) {
  .hero .wrap { max-width: 100%; }
  .synopsis .wrap { grid-template-columns: 1fr; gap: 40px; }
  .synopsis-img { max-width: 300px; }
  .about-layout { grid-template-columns: 1fr; gap: 40px; }
  .about-sidebar { position: static; }
  .people { grid-template-columns: repeat(2, 1fr); }
  .crew-list { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .footer .wrap { grid-template-columns: 1fr; }
  section { padding: 64px 0; }
  .lightbox { grid-template-columns: 44px 1fr 44px; }
}
@media (max-width: 600px) {
  .people { grid-template-columns: 1fr; }
  .credits li { display: block; }
  .credits li span:last-child { display: block; text-align: left; color: var(--text-mute); font-size: .95rem; }
  .timeline-item img { max-width: 100%; }
}

/* ── accessibility helpers ── */
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--gold); color: #120a03; padding: 10px 16px; font: 800 .8rem/1 var(--head); }
.skip:focus { left: 8px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); clip-path: inset(50%); white-space: nowrap; border: 0; }

/* ── reduced motion ── */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .person:hover .person-photo img, .gallery-grid a:hover img, .gallery-grid a:focus-visible img { transform: none; }
  .video-facade:hover .play { transform: translate(-50%, -50%); }
}
