/* ==========================================================================
   BLOOD BEHIND US | Official site
   Palette and type are locked to the campaign key art.
   ========================================================================== */

:root {
  --ink: #0D0A08;        /* warm asphalt black */
  --smoke: #171210;      /* raised panel */
  --blood: #A4161A;      /* arterial red (floods, buttons) */
  --title: #C4231F;      /* title red, sampled from the one-sheet */
  --flare: #D9342B;      /* hover / bright red */
  --bone: #EDE5D8;       /* sun-bleached white */
  --dust: #96887A;       /* desert dust gray */
  --line: rgba(237, 229, 216, 0.14);

  --font-display: "Big Shoulders Display", "Arial Narrow", sans-serif;
  --font-body: "Archivo", "Helvetica Neue", sans-serif;
  --font-serif: "Bodoni Moda", "Didot", serif;

  --nav-h: 72px;
  --measure: 62ch;
  --gutter: clamp(1.25rem, 4vw, 3rem);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

[hidden] { display: none !important; }

html { scroll-behavior: smooth; }

body {
  background: var(--ink);
  color: var(--bone);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

::selection { background: var(--blood); color: var(--bone); }

/* Film grain overlay */
.grain {
  position: fixed;
  inset: -50%;
  width: 200%;
  height: 200%;
  pointer-events: none;
  z-index: 60;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ==========================================================================
   Nav
   ========================================================================== */

.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  gap: 2.5rem;
  padding: 0 var(--gutter);
  transition: background 0.3s ease, border-color 0.3s ease;
  border-bottom: 1px solid transparent;
}

.nav.is-scrolled {
  background: rgba(13, 10, 8, 0.92);
  border-bottom-color: var(--line);
  backdrop-filter: blur(8px);
}

.nav-brand {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.35rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--bone);
  text-decoration: none;
  white-space: nowrap;
}

.nav-brand:hover { color: var(--flare); }

.nav-links {
  display: flex;
  gap: 1.75rem;
  margin-left: auto;
}

.nav-links a {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--dust);
  text-decoration: none;
  transition: color 0.2s ease;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] { color: var(--bone); }

.nav-cta { flex-shrink: 0; }

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 0.85rem 1.9rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.btn-solid {
  background: var(--blood);
  color: var(--bone);
}

.btn-solid:hover { background: var(--flare); }

.btn-solid:disabled { opacity: 0.6; cursor: default; }

.btn-ghost {
  border-color: rgba(237, 229, 216, 0.4);
  color: var(--bone);
  background: transparent;
}

.btn-ghost:hover { border-color: var(--bone); background: rgba(237, 229, 216, 0.06); }

.btn-ticket {
  border-color: var(--line);
  color: var(--bone);
  background: var(--smoke);
  min-width: 11rem;
}

.btn-ticket:hover { border-color: var(--flare); color: var(--flare); }

.btn-ticket.is-disabled {
  opacity: 0.4;
  pointer-events: none;
}

/* ==========================================================================
   Hero: the one-sheet beside its own billing
   ========================================================================== */

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: calc(var(--nav-h) + 1.5rem) 0 2.75rem;
  background:
    radial-gradient(52% 62% at 27% 52%, rgba(164, 22, 26, 0.42), transparent 72%),
    var(--ink);
  overflow: hidden;
}

.hero-inner {
  width: 100%;
  max-width: 76rem;
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1fr);
  gap: clamp(2rem, 6vw, 5.5rem);
  align-items: center;
}

.hero-poster { justify-self: end; }

.hero-poster img {
  width: auto;
  height: auto;
  margin-left: auto;
  max-height: calc(100svh - var(--nav-h) - 7rem);
  box-shadow: 0 2.5rem 5rem rgba(0, 0, 0, 0.65), 0 0 0 1px rgba(237, 229, 216, 0.1);
}

.hero-content { max-width: 36rem; }

.hero-laurels {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 2rem;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--dust);
  margin-bottom: 1.75rem;
}

.hero-presents,
.hero-credit {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--dust);
}

.hero-presents { margin-bottom: 0.6rem; }

.hero-credit { margin-top: 1rem; }

.hero-title-text {
  display: block;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(4.5rem, 13.5vw, 12.5rem);
  /* Also capped by viewport height so the buttons stay near the fold */
  font-size: clamp(4.5rem, min(13.5vw, 21.5svh), 12.5rem);
  line-height: 0.84;
  letter-spacing: 0.005em;
  text-transform: uppercase;
  color: var(--title);
  text-shadow: 0 0 80px rgba(164, 22, 26, 0.35);
}

.hero-title-art { max-width: min(520px, 100%); }

.hero-title.has-art .hero-title-text {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.hero-release {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.15rem, 2vw, 1.5rem);
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--bone);
  margin-top: 1.4rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.4rem;
}

/* Hero load sequence: the page's one orchestrated moment */
.hero-poster, .hero-laurels, .hero-presents, .hero-title,
.hero-credit, .hero-release, .hero-actions, .page-title {
  opacity: 0;
  transform: translateY(14px);
  animation: hero-in 0.9s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.hero-presents { animation-delay: 0.25s; }
.hero-title, .page-title { animation-delay: 0.3s; }
.hero-credit { animation-delay: 0.5s; }
.hero-release { animation-delay: 0.65s; }
.hero-actions { animation-delay: 0.8s; }

@keyframes hero-in {
  to { opacity: 1; transform: none; }
}

/* ==========================================================================
   Billing strip: names set the way the one-sheet sets them
   ========================================================================== */

.billing-strip {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 1.15rem var(--gutter);
}

.billing-strip ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.3rem clamp(1.25rem, 3vw, 2.75rem);
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(1.05rem, 1.6vw, 1.35rem);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.billing-strip li span { font-weight: 300; }

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

.section { padding: clamp(4.5rem, 9vw, 7.5rem) 0; }

.section-tight { padding-top: 0; }

.section-inner {
  max-width: 76rem;
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.section-label {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--flare);
  margin-bottom: 2.25rem;
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.section-label::before {
  content: "";
  width: 2.4rem;
  height: 2px;
  background: var(--blood);
}

/* ---------- Story ---------- */

.story-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr);
  gap: clamp(2.5rem, 6vw, 5.5rem);
  align-items: start;
}

.story-headline {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(2.6rem, 5.5vw, 4.5rem);
  line-height: 0.95;
  text-transform: uppercase;
  margin-bottom: 1.75rem;
}

.story-main p:not(.section-label) {
  max-width: var(--measure);
  color: rgba(237, 229, 216, 0.82);
}

.story-main p + p { margin-top: 1.1rem; }

.story-facts {
  border-left: 1px solid var(--line);
  padding-left: clamp(1.5rem, 3vw, 2.5rem);
  margin-top: 4.3rem;
}

.story-facts div { padding: 0.8rem 0; }

.story-facts div + div { border-top: 1px solid var(--line); }

.story-facts dt,
.crew-key dt {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--dust);
  margin-bottom: 0.2rem;
}

.story-facts dd { font-size: 0.98rem; }

/* ---------- Trailer ---------- */

.trailer-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  background:
    radial-gradient(60% 80% at 50% 55%, rgba(164, 22, 26, 0.24), transparent 70%),
    var(--smoke);
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

/* Viewfinder corner marks */
.trailer-frame::before {
  --c: rgba(237, 229, 216, 0.55);
  --l: clamp(1.25rem, 3vw, 2.5rem);
  content: "";
  position: absolute;
  inset: clamp(0.9rem, 2.2vw, 1.75rem);
  pointer-events: none;
  background:
    linear-gradient(var(--c), var(--c)) top left / var(--l) 2px,
    linear-gradient(var(--c), var(--c)) top left / 2px var(--l),
    linear-gradient(var(--c), var(--c)) top right / var(--l) 2px,
    linear-gradient(var(--c), var(--c)) top right / 2px var(--l),
    linear-gradient(var(--c), var(--c)) bottom left / var(--l) 2px,
    linear-gradient(var(--c), var(--c)) bottom left / 2px var(--l),
    linear-gradient(var(--c), var(--c)) bottom right / var(--l) 2px,
    linear-gradient(var(--c), var(--c)) bottom right / 2px var(--l);
  background-repeat: no-repeat;
}

.trailer-frame.has-thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(13, 10, 8, 0.45);
}

.trailer-play {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.9rem;
  background: transparent;
  border: 0;
  color: var(--bone);
  cursor: pointer;
}

.trailer-play svg {
  width: 84px;
  height: 84px;
  padding: 18px;
  border: 1px solid rgba(237, 229, 216, 0.5);
  border-radius: 50%;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.trailer-play:hover svg {
  background: var(--blood);
  border-color: var(--blood);
}

.trailer-play span {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-size: 0.95rem;
}

.trailer-soon {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.4rem, 3.5vw, 2.4rem);
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--bone);
}

/* ---------- Cast ---------- */

.cast-grid {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.cast-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 10.5rem;
  padding: 1.5rem;
  background: var(--smoke);
  border-top: 2px solid var(--blood);
  overflow: hidden;
}

.cast-card h3 {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(1.75rem, 2.7vw, 2.4rem);
  letter-spacing: 0.03em;
  line-height: 0.98;
  text-transform: uppercase;
}

.cast-card h3 span { font-weight: 300; }

/* The whole card is the link to that actor's IMDb page */
.cast-card h3 a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

.cast-card h3 a::after {
  content: "";
  position: absolute;
  inset: 0;
}

.cast-card::after {
  content: "IMDb";
  position: absolute;
  top: 1rem;
  right: 1.15rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.74rem;
  letter-spacing: 0.2em;
  text-transform: none;
  color: var(--dust);
  pointer-events: none;
  transition: color 0.2s ease;
}

.cast-card { transition: border-color 0.2s ease, background 0.2s ease; }

.cast-card:hover {
  border-top-color: var(--flare);
  background: #1E1715;
}

.cast-card:hover h3 a,
.cast-card:hover::after { color: var(--flare); }

.cast-role {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 500;
  font-size: 1.05rem;
  color: var(--flare);
  margin-top: 0.4rem;
}

/* Photo variant, switched on by SITE_CONFIG.castPhotos */
.cast-card.has-photo {
  min-height: 0;
  padding: 0;
  border-top: 0;
}

.cast-card.has-photo img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  filter: grayscale(0.25) contrast(1.02);
  transition: filter 0.3s ease, transform 0.3s ease;
}

.cast-card.has-photo:hover img {
  filter: grayscale(0) contrast(1.05);
  transform: scale(1.03);
}

.cast-card.has-photo .cast-text {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 2.6rem 1.25rem 1.1rem;
  background: linear-gradient(to top, rgba(13, 10, 8, 0.95), transparent);
}

.cast-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem 2rem;
  margin-top: 1.75rem;
}

.cast-note {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 500;
  font-size: 1.1rem;
  color: var(--dust);
}

/* ---------- Cast & Crew page ---------- */

.page-hero {
  padding: calc(var(--nav-h) + clamp(3rem, 8vw, 6rem)) 0 clamp(2.75rem, 6vw, 4.5rem);
  background:
    radial-gradient(60% 130% at 18% 0%, rgba(164, 22, 26, 0.4), transparent 70%),
    var(--ink);
  border-bottom: 1px solid var(--line);
}

.page-title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(3.75rem, 12vw, 9.5rem);
  line-height: 0.86;
  letter-spacing: 0.005em;
  text-transform: uppercase;
}

.page-title span {
  font-weight: 300;
  color: var(--title);
}

.page-back { margin-top: 1.5rem; }

.roll-list,
.crew-groups {
  columns: 3;
  column-gap: clamp(2rem, 4vw, 3.5rem);
}

.roll-list,
.crew-groups ul { list-style: none; }

.roll-list li,
.crew-groups li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.93rem;
  line-height: 1.35;
  break-inside: avoid;
}

.roll-list li > :first-child,
.crew-groups li > :first-child {
  flex: none;
  font-weight: 500;
}

.roll-list li > :last-child,
.crew-groups li > :last-child {
  color: var(--dust);
  text-align: right;
}

/* Cast names link out to each person's IMDb page */
.roll-list a {
  color: inherit;
  text-decoration: underline;
  text-decoration-color: rgba(237, 229, 216, 0.28);
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
  transition: color 0.2s ease, text-decoration-color 0.2s ease;
}

.roll-list a:hover {
  color: var(--flare);
  text-decoration-color: var(--flare);
}

.crew-groups section {
  break-inside: avoid;
  padding-bottom: 2rem;
}

.crew-groups h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--flare);
  padding: 0.5rem 0 0.35rem;
}

.crew-note {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 0.92rem;
  line-height: 1.45;
  color: var(--dust);
  margin-top: 0.8rem;
}

/* ---------- Filmmakers ---------- */

.crew-key {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: clamp(2rem, 4vw, 3.5rem);
}

.crew-key > div {
  padding: 1.4rem 0 1.6rem;
  border-top: 1px solid var(--line);
}

.crew-key dt { margin-bottom: 0.5rem; }

.crew-key dd {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(1.35rem, 2vw, 1.7rem);
  letter-spacing: 0.03em;
  line-height: 1.1;
  text-transform: uppercase;
}

/* The Producers Guild mark is always set lowercase */
.pga {
  text-transform: none;
  font-weight: 500;
  font-size: 0.62em;
  letter-spacing: 0.06em;
  color: var(--dust);
}

/* ---------- The red flood: tagline, then stills ---------- */

.section-blood {
  background: var(--blood);
  color: var(--bone);
}

.statement {
  font-family: var(--font-display);
  text-transform: uppercase;
  text-align: center;
}

.statement-lead {
  display: block;
  font-weight: 500;
  font-size: clamp(1rem, 2.4vw, 1.9rem);
  letter-spacing: 0.3em;
  margin-bottom: clamp(0.75rem, 2vw, 1.5rem);
}

.statement-hit {
  display: block;
  font-weight: 900;
  font-size: clamp(4rem, 17.5vw, 14.5rem);
  line-height: 0.82;
  letter-spacing: 0.01em;
  white-space: nowrap;
  color: var(--ink);
}

.scenes { margin-top: clamp(3rem, 7vw, 5.5rem); }

.label-on-blood { color: var(--bone); }

.label-on-blood::before { background: var(--bone); }

.scene-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.1rem;
}

.scene-grid figure {
  overflow: hidden;
  background: rgba(13, 10, 8, 0.3);
}

.scene-grid img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.scene-grid figure:hover img { transform: scale(1.04); }

/* ---------- Tickets ---------- */

.tickets-inner { text-align: center; }

.tickets-inner .section-label { justify-content: center; }

.tickets-headline {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(2.8rem, 7vw, 5.5rem);
  line-height: 0.95;
  text-transform: uppercase;
}

.tickets-sub {
  color: var(--dust);
  margin-top: 0.9rem;
}

.ticket-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.9rem;
  margin-top: 2.25rem;
}

.alert-form {
  margin: 3.5rem auto 0;
  max-width: 30rem;
}

.alert-form > label {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--dust);
  margin-bottom: 0.8rem;
}

.alert-trap { display: none; }

.alert-row { display: flex; }

.alert-row input {
  flex: 1;
  min-width: 0;
  background: var(--smoke);
  border: 1px solid var(--line);
  border-right: 0;
  color: var(--bone);
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 0 1.1rem;
}

.alert-row input:focus {
  outline: 2px solid var(--flare);
  outline-offset: -2px;
}

.alert-status {
  margin-top: 0.9rem;
  font-size: 0.95rem;
  color: var(--dust);
}

.alert-status:empty { display: none; }

.alert-form.is-sent > label,
.alert-form.is-sent .alert-row { display: none; }

.alert-form.is-sent .alert-status {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--bone);
}

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

.footer {
  border-top: 1px solid var(--line);
  padding: 4rem 0 2.5rem;
}

.footer-logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 2rem clamp(2.5rem, 7vw, 5rem);
  margin-bottom: 2.75rem;
}

.logo-silver-sail {
  height: clamp(5.5rem, 10vw, 7.5rem);
  width: auto;
}

/* Saban's mark is drawn for a white ground, so it sits on its own plate */
.logo-plate {
  display: block;
  background: #fff;
  padding: 0.7rem 0.85rem;
}

.logo-plate img {
  height: clamp(4.2rem, 8vw, 5.6rem);
  width: auto;
}

.footer-billing {
  max-width: 58rem;
  margin: 0 auto 2.75rem;
  text-align: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.86rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  line-height: 1.9;
  color: rgba(237, 229, 216, 0.72);
}

.footer-billing b {
  font-weight: inherit;
  white-space: nowrap;
  margin: 0 0.3em;
}

.footer-billing span {
  font-weight: 500;
  font-size: 0.86em;
  white-space: nowrap;
  color: rgba(150, 136, 122, 0.85);
}

.footer-billing .pga { text-transform: none; }

.footer-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border-top: 1px solid var(--line);
  padding-top: 1.75rem;
}

.footer-social { display: flex; gap: 1.5rem; }

.footer-social a {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--dust);
  text-decoration: none;
}

.footer-social a:hover { color: var(--flare); }

.footer-legal {
  font-size: 0.85rem;
  color: var(--dust);
}

.footer-credit {
  margin-top: 2rem;
  text-align: center;
  line-height: 1;
}

.footer-credit a {
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  color: rgba(150, 136, 122, 0.45);
  transition: color 0.2s ease;
}

.footer-credit a:hover { color: var(--dust); }

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

.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(13, 10, 8, 0.96);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.modal-body {
  width: min(1100px, 100%);
  aspect-ratio: 16 / 9;
  background: #000;
}

.modal-body iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.modal-close {
  position: absolute;
  top: 1.25rem;
  right: 1.75rem;
  background: none;
  border: 0;
  color: var(--bone);
  font-size: 2.6rem;
  line-height: 1;
  cursor: pointer;
}

.modal-close:hover { color: var(--flare); }

/* ==========================================================================
   Accessibility and responsive
   ========================================================================== */

:focus-visible {
  outline: 2px solid var(--flare);
  outline-offset: 3px;
}

.section-blood :focus-visible { outline-color: var(--bone); }

section[id], [id="top"], [id="scenes"] { scroll-margin-top: var(--nav-h); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-delay: 0s !important;
    transition-duration: 0.01ms !important;
  }
}

@media (max-width: 900px) {
  .story-grid { grid-template-columns: 1fr; }
  .story-facts { margin-top: 0; }
  .cast-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .scene-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .crew-key { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .roll-list, .crew-groups { columns: 2; }
}

@media (max-width: 820px) {
  .hero {
    padding: calc(var(--nav-h) + 1.25rem) 0 3.5rem;
    background:
      radial-gradient(95% 42% at 50% 30%, rgba(164, 22, 26, 0.42), transparent 72%),
      var(--ink);
  }
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 2.25rem;
    text-align: center;
  }
  .hero-poster { justify-self: center; }
  .hero-poster img {
    width: min(76vw, 22rem);
    max-height: none;
    margin: 0 auto;
  }
  .hero-content { max-width: none; }
  .hero-laurels, .hero-actions { justify-content: center; }
  /* Two lines on phones: BLOOD / BEHIND US */
  .hero-title-text { font-size: clamp(3.5rem, 21vw, 9.5rem); line-height: 0.88; }
  .hero-title-text .br-stack { display: none; }
  .hero-title-art { margin: 0 auto; }
}

@media (max-width: 720px) {
  .nav-links { display: none; }
  .nav { gap: 1rem; }
  .nav-cta { margin-left: auto; }
}

@media (max-width: 540px) {
  .cast-grid { grid-template-columns: 1fr; }
  .cast-card { min-height: 0; }
  .scene-grid { grid-template-columns: 1fr; }
  .crew-key { grid-template-columns: 1fr; }
  .roll-list, .crew-groups { columns: 1; }
  .hero-actions .btn { width: 100%; }
  .alert-row { flex-direction: column; gap: 0.75rem; }
  .alert-row input { border-right: 1px solid var(--line); padding: 0.85rem 1.1rem; }
}
