/* =========================================================
   Avengers Doomsday Movie Guide — stylesheet
   ========================================================= */

:root {
  --red: #ec1d24;
  --red-dark: #b81219;
  --ink: #0a0a0b;
  --ink-2: #141416;
  --panel: #1b1b1f;
  --line: #2e2e35;
  --paper: #ffffff;
  --paper-2: #f4f4f5;
  --text: #17171a;
  --muted: #8c8c96;
  --muted-2: #6d6d77;
  --green: #3f9c62;
  --green-dim: #2b6b45;
  --gold: #c9a227;
  --max: 1240px;
  --topbar-h: 46px;
  --nav-h: 54px;
  --font-head: "Barlow Condensed", "Arial Narrow", Impact, sans-serif;
  --font-body: "Barlow", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

::selection { background: var(--red); color: #fff; }

img { max-width: 100%; height: auto; display: block; }

a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 0.98;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  margin: 0;
}

p { margin: 0 0 1.15em; }
p:last-child { margin-bottom: 0; }

.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--red);
  color: #fff;
  padding: 12px 20px;
  z-index: 999;
  font-family: var(--font-head);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.skip-link:focus { left: 12px; top: 12px; }

/* =========================================================
   Header
   ========================================================= */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--ink);
  border-bottom: 1px solid #1f1f23;
  transition: transform 0.28s ease;
}
.site-header.is-hidden { transform: translateY(-100%); }
.site-header:focus-within { transform: none; }

.topbar {
  height: var(--topbar-h);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  border-bottom: 1px solid #232328;
}

.topbar__side {
  display: flex;
  align-items: center;
  height: 100%;
}
.topbar__side--left { justify-self: start; }
.topbar__side--right { justify-self: end; }

.topbar__link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  height: 100%;
  padding: 0 20px;
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #d8d8dd;
  border-right: 1px solid #232328;
  transition: color 0.18s ease, background 0.18s ease;
}
.topbar__link:first-child { border-left: 1px solid #232328; }
.topbar__link:hover { color: #fff; background: #16161a; }
.topbar__link--red { color: #fff; }
.topbar__link--red .arrow { color: var(--red); }

.brand {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0 26px;
  height: 100%;
  line-height: 1;
  background: var(--red);
  color: #fff;
  min-width: 210px;
  transition: background 0.2s ease;
}
.brand:hover { background: var(--red-dark); }

.brand__main {
  font-family: var(--font-head);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.055em;
  text-transform: uppercase;
}

.brand__sub {
  margin-top: 3px;
  font-family: var(--font-head);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.82);
}

.mainnav {
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: center;
}

.mainnav__list {
  display: flex;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 6px;
}

.mainnav a {
  display: block;
  padding: 8px 18px;
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #cfcfd6;
  border-bottom: 2px solid transparent;
  transition: color 0.18s ease, border-color 0.18s ease;
}
.mainnav a:hover,
.mainnav a.is-active { color: #fff; border-bottom-color: var(--red); }

.nav-toggle {
  display: none;
  margin: 0 auto;
  background: none;
  border: 0;
  color: #fff;
  font-family: var(--font-head);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 14px;
  padding: 14px;
  cursor: pointer;
}

/* =========================================================
   Hero
   ========================================================= */

.hero {
  position: relative;
  min-height: clamp(520px, 72vh, 760px);
  display: flex;
  align-items: center;
  background-color: #000;
  background-image:
    linear-gradient(90deg, rgba(0, 0, 0, 0.94) 0%, rgba(0, 0, 0, 0.74) 34%, rgba(0, 0, 0, 0.18) 66%, rgba(0, 0, 0, 0.42) 100%),
    linear-gradient(0deg, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0) 45%),
    url("../img/hero-doom-throne.jpg");
  background-size: cover;
  background-position: center 42%;
  background-repeat: no-repeat;
  padding: 70px 0 100px;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 40%;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.85), rgba(0, 0, 0, 0));
  pointer-events: none;
}

.hero__inner {
  position: relative;
  z-index: 2;
  width: 100%;
}

.hero__content { max-width: 620px; }

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: #e6e6ea;
  margin-bottom: 20px;
}
.hero__eyebrow::before {
  content: "";
  width: 26px;
  height: 3px;
  background: var(--red);
  flex: none;
}

.hero h1 {
  font-size: clamp(46px, 7.4vw, 92px);
  letter-spacing: 0.005em;
  color: #fff;
  text-shadow: 0 18px 60px rgba(0, 0, 0, 0.65);
}

.hero__text {
  margin-top: 22px;
  max-width: 540px;
  color: #c9c9d0;
  font-size: 17.5px;
}

.hero__status {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 26px;
  padding: 9px 16px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(6px);
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: #dfe0e6;
  margin-bottom: 0;
}
.hero__status .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 4px rgba(201, 162, 39, 0.16);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 32px;
}

/* Skewed buttons */
.btn {
  position: relative;
  display: inline-block;
  padding: 15px 34px;
  background: var(--red);
  color: #fff;
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  transform: skewX(-11deg);
  border: 0;
  cursor: pointer;
  transition: background 0.18s ease, transform 0.18s ease;
}
.btn > span { display: inline-block; transform: skewX(11deg); }
.btn:hover { background: var(--red-dark); transform: skewX(-11deg) translateY(-2px); }

.btn--ghost {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.55);
}
.btn--ghost:hover { background: rgba(255, 255, 255, 0.14); }

.btn--sm { padding: 12px 24px; font-size: 13px; }

/* =========================================================
   White sheet
   ========================================================= */

.sheet {
  position: relative;
  background: var(--paper);
  margin-top: -3.4vw;
  padding-top: 3.4vw;
  clip-path: polygon(0 3.4vw, 100% 0, 100% 100%, 0 100%);
  z-index: 3;
}

.sheet__top {
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  padding: 34px 0 0;
}

.share-btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 9px 15px;
  background: none;
  border: 1px solid #dcdce1;
  color: #5d5d67;
  font-family: var(--font-head);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  cursor: pointer;
  transition: color 0.18s ease, border-color 0.18s ease;
}
.share-btn:hover { color: var(--red); border-color: var(--red); }
.share-btn svg { width: 16px; height: 16px; fill: currentColor; flex: none; }
.share-btn.is-copied { color: var(--green-dim); border-color: var(--green-dim); }

.metastrip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid #e4e4e8;
  border-bottom: 1px solid #e4e4e8;
  margin: 26px 0 0;
}

.metastrip__item {
  padding: 22px 24px;
  border-right: 1px solid #e4e4e8;
}
.metastrip__item:first-child { padding-left: 0; }
.metastrip__item:last-child { border-right: 0; }

.metastrip__label {
  display: block;
  font-family: var(--font-head);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin-bottom: 6px;
}
.metastrip__value {
  font-family: var(--font-head);
  font-size: 21px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--text);
  line-height: 1.15;
}
.metastrip__value small {
  display: block;
  font-family: var(--font-body);
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-transform: none;
  color: var(--muted-2);
  margin-top: 4px;
}

/* =========================================================
   Sections
   ========================================================= */

.section { padding: 74px 0; }
.section--tight { padding: 54px 0; }
.section--soft { background: var(--paper-2); }
.section--dark { background: var(--ink-2); color: #e8e8ec; }

.section-head { margin-bottom: 34px; max-width: 800px; }

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-head);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 14px;
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 3px;
  background: var(--red);
  flex: none;
}

.section-head h2 {
  font-size: clamp(34px, 4.6vw, 56px);
  color: var(--text);
}

.section--dark .section-head h2 { color: #fff; }
.section--dark .eyebrow { color: var(--red); }
.section--dark .lede { color: #b9b9c3; }

.lede {
  font-size: 20px;
  line-height: 1.65;
  color: #3a3a42;
  margin-top: 18px;
  font-weight: 500;
}

/* =========================================================
   Trailer
   ========================================================= */

.trailer {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #000;
  border-top: 3px solid var(--red);
  box-shadow: 0 30px 70px -30px rgba(0, 0, 0, 0.6);
  line-height: 0;
}
.trailer iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.video-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding-top: 16px;
  color: var(--muted-2);
  font-size: 14px;
}
.video-meta strong { color: var(--text); font-weight: 600; }
.video-meta a {
  color: var(--red-dark);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.video-meta a:hover { color: var(--red); }

/* =========================================================
   Story
   ========================================================= */

.story {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 56px;
  align-items: start;
}

.prose p { color: #33333b; margin-bottom: 1.2em; }
.prose h3 {
  font-size: 27px;
  margin: 34px 0 12px;
  color: var(--text);
}
.prose h3:first-child { margin-top: 0; }
.prose strong { color: #111; }

.pull {
  margin: 30px 0;
  padding: 22px 26px;
  border-left: 4px solid var(--red);
  background: var(--paper-2);
  font-size: 19px;
  line-height: 1.55;
  font-weight: 500;
  color: #22222a;
}

.poster-card {
  border: 1px solid #e2e2e6;
  background: #fff;
  box-shadow: 0 24px 50px -34px rgba(0, 0, 0, 0.55);
}
.poster-card img {
  width: 100%;
  aspect-ratio: 2 / 3;
  object-fit: cover;
}
.poster-card__body { padding: 18px 20px 22px; }
.poster-card__title {
  font-family: var(--font-head);
  font-size: 20px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text);
}
.poster-card__meta {
  font-size: 13.5px;
  color: var(--muted-2);
  margin: 4px 0 14px;
}
.poster-card .btn { width: 100%; text-align: center; margin-top: 12px; }

.chip {
  display: inline-block;
  padding: 4px 10px;
  font-family: var(--font-head);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  border: 1px solid currentColor;
}
.chip--gold { color: #8a6d0a; background: #fff8e1; }

/* =========================================================
   Cast
   ========================================================= */

.cast-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.cast-item {
  display: flex;
  flex-direction: column;
  background: var(--paper);
  border: 1px solid #e2e2e6;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.cast-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 30px -22px rgba(10, 10, 11, 0.6);
}

.cast-item__art {
  position: relative;
  aspect-ratio: 4 / 3;
  display: grid;
  place-items: center;
  overflow: hidden;
  background:
    radial-gradient(130% 120% at 78% 8%, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0) 55%),
    linear-gradient(150deg, var(--tone), #0c0c0f 82%);
}
.cast-item__art::before {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(115deg, rgba(255, 255, 255, 0.06) 0 1px, transparent 1px 16px);
  opacity: 0.55;
}
.cast-item__art::after {
  content: "";
  position: absolute;
  width: 128%;
  aspect-ratio: 1;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
  transform: translate(30%, 42%);
}
.cast-item__initials {
  position: relative;
  z-index: 1;
  font-family: var(--font-head);
  font-size: clamp(54px, 5.4vw, 76px);
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(255, 255, 255, 0.72);
  text-shadow: 0 14px 34px rgba(0, 0, 0, 0.5);
  transform: translateY(2px);
}
.cast-item__num {
  position: absolute;
  left: 12px;
  top: 9px;
  z-index: 1;
  font-family: var(--font-head);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: rgba(255, 255, 255, 0.55);
}

.cast-item__art--photo {
  aspect-ratio: 3 / 4;
  background: #0c0c0f;
  box-shadow: inset 0 -46px 48px -34px rgba(8, 8, 10, 0.85), inset 0 -3px 0 var(--tone);
}
.cast-item__photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 22%;
  filter: grayscale(1) contrast(1.07) brightness(0.84);
  transition: filter 0.35s ease, transform 0.6s ease;
}
.cast-item:hover .cast-item__photo {
  filter: grayscale(0.1) contrast(1.03) brightness(0.96);
  transform: scale(1.04);
}
.cast-item__art--photo .cast-item__initials { display: none; }
.cast-item__art--photo::before { z-index: 1; opacity: 0.14; }
.cast-item__art--photo::after { display: none; }
.cast-item__art--photo .cast-item__num {
  z-index: 2;
  padding: 2px 6px;
  border-radius: 2px;
  background: rgba(8, 8, 10, 0.55);
  color: #fff;
}
.cast-item__body { padding: 13px 15px 15px; }
.cast-item__actor {
  display: block;
  font-family: var(--font-head);
  font-size: 19px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--text);
  line-height: 1.15;
}
.cast-item__role {
  display: block;
  font-size: 12.5px;
  color: var(--muted-2);
  margin-top: 3px;
  line-height: 1.4;
}

.cast-note {
  margin: 22px 0 0;
  font-size: 12.5px;
  color: var(--muted-2);
  max-width: 860px;
}

/* =========================================================
   Posters
   ========================================================= */

.poster-slider { position: relative; }

.poster-slider__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.poster-slider__count {
  margin: 0;
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--muted-2);
}
.poster-slider__count [data-slider-current] { color: var(--text); }
.poster-slider__sep { margin: 0 7px; color: var(--red); }

.poster-slider__nav { display: flex; gap: 8px; }

.slider-btn {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid #2c2c33;
  background: #0b0b0d;
  color: #fff;
  font-family: var(--font-body);
  font-size: 21px;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, opacity 0.2s ease;
}
.slider-btn:hover { background: var(--red); border-color: var(--red); }
.slider-btn[aria-disabled="true"] { opacity: 0.35; cursor: default; }
.slider-btn[aria-disabled="true"]:hover { background: #0b0b0d; border-color: #2c2c33; }
.slider-btn:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }

.poster-track {
  list-style: none;
  margin: 0;
  padding: 0 0 8px;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 36px) / 3);
  gap: 18px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
}
.poster-track::-webkit-scrollbar { display: none; }

.poster-slide { scroll-snap-align: start; min-width: 0; }
.poster-item { margin: 0; }

.poster-item__btn {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  cursor: zoom-in;
}
.poster-item__btn img {
  width: 100%;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  border: 1px solid #e2e2e6;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.poster-item__btn:hover img {
  transform: translateY(-4px);
  box-shadow: 0 26px 40px -30px rgba(0, 0, 0, 0.7);
}

.poster-item figcaption { padding-top: 12px; }
.poster-item strong {
  display: block;
  font-family: var(--font-head);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--text);
  line-height: 1.2;
}
.poster-item figcaption span {
  display: block;
  font-size: 12.5px;
  color: var(--muted-2);
  margin-top: 3px;
}

.poster-item__btn:focus-visible,
.share-btn:focus-visible,
.lightbox button:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 3px;
}

/* =========================================================
   Download / gate
   ========================================================= */

.gate {
  position: relative;
  margin: 0 0 38px;
  padding: 26px 28px;
  border: 1px solid #35353d;
  background:
    linear-gradient(120deg, rgba(236, 29, 36, 0.1), rgba(236, 29, 36, 0) 48%),
    #19191d;
}
.gate::before {
  content: "";
  position: absolute;
  left: -1px;
  top: -1px;
  width: 3px;
  height: calc(100% + 2px);
  background: var(--red);
}
.gate__eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 12px;
  font-family: var(--font-head);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
}
.gate__eyebrow .dot,
.status-card__row .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 4px rgba(201, 162, 39, 0.14);
  flex: none;
}
.gate__note {
  margin: 0;
  max-width: 820px;
  color: #c2c2cc;
  font-size: 15.5px;
}
.gate__cta { margin-top: 20px; max-width: 380px; }
.gate__cta .btn { display: block; width: 100%; text-align: center; }
.gate__hint { margin: 11px 0 0; font-size: 13px; color: #9a9aa4; text-align: center; }

.download-wrap {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: 44px;
  align-items: start;
}

.status-card {
  position: relative;
  border: 1px solid #35353d;
  background: linear-gradient(160deg, #202026 0%, #151518 60%);
  padding: 30px;
}
.status-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--red), var(--gold));
}
.status-card__row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
  font-family: var(--font-head);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
}
.status-card h3 {
  font-size: 30px;
  color: #fff;
  margin-bottom: 12px;
  letter-spacing: 0.01em;
}
.status-card p { color: #b6b6c0; font-size: 15.5px; }

.status-card__list {
  list-style: none;
  margin: 20px 0 0;
  padding: 0;
  border-top: 1px solid #2c2c34;
}
.status-card__list li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 13px 0;
  border-bottom: 1px solid #2c2c34;
  font-size: 14.5px;
  color: #c9c9d2;
}
.status-card__list b {
  font-family: var(--font-head);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 12.5px;
  color: #fff;
  text-align: right;
}

.dark-heading {
  font-size: 22px;
  color: #fff;
  margin: 30px 0 12px;
  letter-spacing: 0.02em;
}
.dark-heading:first-child { margin-top: 0; }
.dark-copy { color: #b9b9c3; }

.spec-list {
  list-style: none;
  margin: 0 0 18px;
  padding: 0;
  border-top: 1px solid #2c2c34;
}
.spec-list li {
  padding: 16px 0;
  border-bottom: 1px solid #2c2c34;
  color: #b9b9c3;
  font-size: 15px;
}
.spec-list b {
  display: block;
  font-family: var(--font-head);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 3px;
}

/* =========================================================
   FAQ
   ========================================================= */

.faq { max-width: 900px; }

.faq details {
  border-bottom: 1px solid #e0e0e5;
  padding: 4px 0;
}
.faq details:first-of-type { border-top: 1px solid #e0e0e5; }

.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 0;
  cursor: pointer;
  list-style: none;
  font-family: var(--font-head);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--text);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  font-family: var(--font-body);
  font-size: 24px;
  font-weight: 400;
  color: var(--red);
  transition: transform 0.2s ease;
  line-height: 1;
  flex: none;
}
.faq details[open] summary::after { transform: rotate(45deg); }

.faq details p {
  padding: 0 0 22px;
  color: #3c3c45;
  font-size: 16px;
  max-width: 780px;
}

/* =========================================================
   Related
   ========================================================= */

.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.related-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 150px;
  padding: 22px;
  border: 1px solid #e2e2e6;
  background: #fff;
  transition: border-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}
.related-card:hover {
  border-color: var(--red);
  transform: translateY(-3px);
  box-shadow: 0 18px 30px -24px rgba(0, 0, 0, 0.55);
}
.related-card__year {
  font-family: var(--font-head);
  font-size: 12px;
  letter-spacing: 0.2em;
  color: var(--red);
  font-weight: 600;
}
.related-card__title {
  font-family: var(--font-head);
  font-size: 22px;
  text-transform: uppercase;
  line-height: 1.05;
  margin: 8px 0 18px;
  color: var(--text);
}
.related-card__arrow {
  font-family: var(--font-head);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted-2);
}

/* =========================================================
   CTA band
   ========================================================= */

.cta-band {
  position: relative;
  padding: 66px 0;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.93) 0%, rgba(10, 10, 11, 0.78) 55%, rgba(10, 10, 11, 0.55) 100%),
    url("../img/cta-rift-city.jpg") center 30% / cover no-repeat;
  color: #fff;
  border-top: 3px solid var(--red);
  border-bottom: 1px solid #24242a;
}
.cta-band h2 {
  font-size: clamp(32px, 4.4vw, 50px);
  color: #fff;
  max-width: 620px;
}
.cta-band p {
  max-width: 540px;
  color: #c4c4cd;
  margin-top: 14px;
}
.cta-band .hero__actions { margin-top: 26px; }

/* =========================================================
   Footer
   ========================================================= */

.site-footer {
  background: #080809;
  color: #9b9ba5;
  font-size: 14px;
  padding: 56px 0 30px;
  border-top: 1px solid #1c1c21;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr 1fr;
  gap: 30px;
}

.footer-brand__main {
  font-family: var(--font-head);
  font-size: 24px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
}
.footer-brand__sub {
  font-family: var(--font-head);
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--red);
  margin-top: 2px;
}
.footer-brand p { margin-top: 16px; max-width: 320px; line-height: 1.65; }

.footer-col h3 {
  font-size: 13px;
  letter-spacing: 0.2em;
  color: #fff;
  margin-bottom: 14px;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin-bottom: 9px; }
.footer-col a { transition: color 0.18s ease; }
.footer-col a:hover { color: #fff; }

.footer-bottom {
  margin-top: 40px;
  padding-top: 22px;
  border-top: 1px solid #1c1c21;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 14px;
  font-size: 12.5px;
  color: #77777f;
  line-height: 1.6;
}
.footer-bottom p { margin: 0; max-width: 780px; }

/* =========================================================
   Lightbox
   ========================================================= */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  place-items: center;
  padding: 64px 72px;
  background: rgba(6, 6, 7, 0.96);
  backdrop-filter: blur(6px);
}
.lightbox.is-open { display: grid; }

.lightbox__figure { margin: 0; text-align: center; max-width: 100%; }
.lightbox__figure img {
  max-width: 100%;
  max-height: calc(100vh - 190px);
  width: auto;
  margin: 0 auto;
  border: 1px solid #2a2a31;
  background: #000;
}
.lightbox__cap {
  margin-top: 14px;
  color: #c9c9d2;
  font-size: 13.5px;
  letter-spacing: 0.03em;
}

.lightbox__close,
.lightbox__nav {
  position: absolute;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  padding: 0;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.24);
  color: #fff;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  transition: background 0.18s ease, border-color 0.18s ease;
}
.lightbox__close:hover,
.lightbox__nav:hover { background: var(--red); border-color: var(--red); }

.lightbox__close { top: 18px; right: 18px; }
.lightbox__nav { top: 50%; transform: translateY(-50%); font-size: 30px; }
.lightbox__nav--prev { left: 18px; }
.lightbox__nav--next { right: 18px; }

body.has-lightbox { overflow: hidden; }

/* =========================================================
   Legal page
   ========================================================= */

.page-hero {
  position: relative;
  padding: 64px 0 78px;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.7) 60%, rgba(0, 0, 0, 0.45) 100%),
    url("../img/poster-shattered-sigil.jpg") center 45% / cover no-repeat;
  color: #fff;
  border-bottom: 3px solid var(--red);
}
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-size: 12.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #a5a5b0;
  margin-bottom: 24px;
}
.breadcrumb a:hover { color: #fff; }
.breadcrumb span { color: #5b5b66; }
.page-hero h1 {
  font-size: clamp(38px, 5.6vw, 66px);
  max-width: 780px;
  color: #fff;
}
.page-hero .lede { color: #c7c7d0; max-width: 640px; }
.legal-updated {
  margin-top: 18px;
  font-family: var(--font-head);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #9aa79d;
}
.legal-sheet {
  background: var(--paper);
  padding: 24px 0 0;
}
.legal-sheet .section { padding-top: 28px; }

.legal-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 6px 0 0;
}
.legal-nav a {
  padding: 9px 14px;
  border: 1px solid #e2e2e6;
  font-family: var(--font-head);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #4a4a54;
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}
.legal-nav a:hover { border-color: var(--ink); color: var(--ink); }
.legal-body { max-width: 790px; }
.legal-body h2 {
  font-size: 25px;
  margin: 36px 0 12px;
  color: var(--text);
  scroll-margin-top: 130px;
}
.legal-body h2:first-child { margin-top: 0; }
.legal-body p,
.legal-body li { color: #33333b; }
.legal-body p { margin-bottom: 1.1em; }
.legal-body ul { margin: 0 0 1.3em; padding-left: 20px; }
.legal-body li { margin-bottom: 0.5em; }
.legal-body strong { color: #111; }
.legal-body a { color: #a3121b; text-decoration: underline; text-underline-offset: 2px; }
.legal-body code {
  background: var(--paper-2);
  border: 1px solid #e4e4e8;
  padding: 1px 5px;
  font-size: 13px;
}
.legal-note {
  margin: 26px 0;
  padding: 16px 20px;
  border-left: 3px solid var(--red);
  background: var(--paper-2);
}
.legal-note p { margin: 0; }
.credit-list {
  list-style: none;
  margin: 20px 0 8px;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 26px;
}
.credit-list li {
  margin: 0;
  padding-left: 12px;
  border-left: 2px solid rgba(236, 29, 36, 0.35);
  font-size: 13px;
  line-height: 1.5;
}
.credit-list strong {
  display: block;
  font-size: 13.5px;
  margin-bottom: 1px;
}
@media (max-width: 760px) {
  .credit-list { grid-template-columns: 1fr; }
}

/* =========================================================
   Utility
   ========================================================= */

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

section[id] { scroll-margin-top: 112px; }

.mt-1 { margin-top: 18px; }
.muted { color: var(--muted-2); }
.small { font-size: 14px; }

/* Reveal animation */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .related-card, .cast-item, .poster-item__btn img { transition: none; }
  .site-header { transition: none; }
  .poster-track { scroll-behavior: auto; }
}

/* =========================================================
   Responsive
   ========================================================= */

@media (max-width: 1120px) {
  .cast-grid { grid-template-columns: repeat(4, 1fr); }
  .story { grid-template-columns: 1fr; gap: 36px; }
  .poster-card { max-width: 340px; }
  .download-wrap { grid-template-columns: 1fr; gap: 32px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .related-grid { grid-template-columns: repeat(2, 1fr); }
  .poster-track { grid-auto-columns: calc((100% - 18px) / 2); }
}

@media (max-width: 900px) {
  .topbar { grid-template-columns: auto 1fr auto; }
  .topbar__link { padding: 0 12px; font-size: 11.5px; }
  .brand { min-width: 0; padding: 0 16px; }
  .brand__main { font-size: 18px; }
  .brand__sub { font-size: 8.5px; letter-spacing: 0.26em; }

  .nav-toggle { display: block; }
  .mainnav {
    height: auto;
    display: none;
    padding: 10px 0 16px;
    border-top: 1px solid #1f1f23;
  }
  .mainnav.is-open { display: block; }
  .mainnav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .mainnav a {
    padding: 12px 24px;
    border-bottom: 0;
    border-left: 2px solid transparent;
  }
  .mainnav a:hover,
  .mainnav a.is-active { border-left-color: var(--red); border-bottom: 0; }

  .hero { min-height: 0; padding: 56px 0 96px; }
  .hero h1 { font-size: clamp(40px, 11vw, 62px); }
  .hero__text { font-size: 16px; }

  .metastrip { grid-template-columns: 1fr 1fr; }
  .metastrip__item { border-bottom: 1px solid #e4e4e8; }
  .metastrip__item:nth-child(2) { border-right: 0; }
  .metastrip__item:nth-child(3) { padding-left: 0; }
  .metastrip__item:nth-child(n+3) { border-bottom: 0; }

  .section { padding: 54px 0; }
  .related-grid { grid-template-columns: 1fr; }
  .cast-grid { grid-template-columns: repeat(3, 1fr); gap: 14px; }
  .cast-item__actor { font-size: 17px; }

  .sheet__top { padding-top: 20px; }
  .poster-track { grid-auto-columns: calc((100% - 14px) / 2); gap: 14px; }
}

@media (max-width: 620px) {
  body { font-size: 16px; }
  .container { padding: 0 18px; }
  .topbar__side--left .topbar__link:last-child { display: none; }
  .topbar__link { padding: 0 10px; font-size: 11px; letter-spacing: 0.1em; }
  .brand__main { font-size: 16px; }

  .hero__actions { gap: 12px; }
  .btn { padding: 13px 24px; font-size: 13.5px; }

  .cast-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .cast-item__body { padding: 11px 12px 13px; }
  .cast-item__actor { font-size: 15.5px; }
  .cast-item__role { font-size: 11.5px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .section-head h2 { font-size: 34px; }
  .status-card { padding: 22px; }

  .poster-track { grid-auto-columns: 82%; gap: 12px; }
  .slider-btn { width: 40px; height: 40px; font-size: 19px; }
  .poster-slider__bar { margin-bottom: 12px; }

  .lightbox { padding: 66px 12px 18px; }
  .lightbox__close { top: 12px; right: 12px; width: 40px; height: 40px; }
  .lightbox__nav { width: 38px; height: 38px; font-size: 24px; }
  .lightbox__nav--prev { left: 8px; }
  .lightbox__nav--next { right: 8px; }
  .lightbox__figure img { max-height: calc(100vh - 150px); }
  .legal-nav { gap: 6px; padding-top: 20px; }
  .legal-nav a { padding: 8px 10px; font-size: 10.5px; letter-spacing: 0.1em; }
}
