.cinema-header {
  position: relative;
  z-index: 5;
  border-bottom: 1px solid #49748b55;
  background: #08131f;
  color: #eef6fd;
}

.cinema-header-inner,
.cinema-menu,
.cinema-menu nav,
.cinema-utilities {
  display: flex;
  align-items: center;
  gap: clamp(.75rem, 2vw, 1.6rem);
}

.cinema-header-inner {
  width: min(100% - 40px, 1320px);
  min-height: 74px;
  margin-inline: auto;
  justify-content: space-between;
  flex-wrap: wrap;
}

.cinema-header .brand img {
  width: 70px;
  height: 48px;
  object-fit: contain;
}

.cinema-header .brand-home {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: inherit;
  font-size: .86rem;
  font-weight: 750;
  letter-spacing: .045em;
}

.cinema-header .identity-wordmark > span { margin-inline-start: .3em; }

.cinema-menu a,
.cinema-menu summary,
.cinema-menu button,
.cinema-menu-toggle {
  min-height: 44px;
  padding: 10px 0;
  font-size: .9rem;
  font-weight: 600;
}

.cinema-menu summary,
.cinema-menu button,
.cinema-menu-toggle { cursor: pointer; }
.cinema-menu a:hover,
.cinema-menu summary:hover { text-decoration: underline; text-underline-offset: .3em; }
.cinema-header :focus-visible { outline: 2px solid #6fe4f4; outline-offset: 4px; }
.cinema-brands { position: relative; }

.cinema-brand-links {
  position: absolute;
  inset: 100% auto auto 0;
  min-width: 190px;
  padding: 8px 14px;
  background: #102436;
  border: 1px solid #416179;
  border-radius: 5px;
}

.cinema-brand-links > * {
  display: block;
  width: 100%;
  text-align: start;
  border: 0;
  background: transparent;
}

.cinema-brand-links button:hover { text-decoration: underline; }
.cinema-menu-toggle { padding-inline: 15px; background: #142d40; border: 1px solid #416179; border-radius: 5px; }
.cinema-menu-toggle[hidden] { display: none; }

.hero.cinema-opening {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  align-items: center;
  min-height: min(700px, 88svh);
  gap: clamp(24px, 4vw, 60px);
}

.cinema-opening .hero-copy > .cinema-signature {
  margin: 0 0 16px;
  color: #87e8f3;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.cinema-opening h1 { font-size: clamp(42px, 5.6vw, 83px); }
.cinema-preview { position: relative; overflow: hidden; border: 1px solid #49748b; border-radius: 8px; background: #08131f; }
.cinema-preview video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.cinema-preview-toggle { position: absolute; inset: auto 12px 12px auto; background: #08131f; }
.cinema-preview-toggle[hidden] { display: none; }
#divisions .division h3 a { text-decoration: underline; text-underline-offset: .2em; }
#divisions .division-art { height: auto; aspect-ratio: 16 / 9; object-fit: cover; animation: none; }
#divisions .cinema-brand-preview { margin-top: 12px; min-height: 44px; }

@media (min-width: 971px) {
  .hero.cinema-opening {
    grid-template-columns: minmax(0, 620px);
    min-height: clamp(530px, 77svh, 730px);
    padding-inline: clamp(32px, 5vw, 76px);
    border-radius: 12px;
    background: #070c13;
  }

  .cinema-opening .hero-copy { pointer-events: none; }
  .cinema-opening .hero-copy a { pointer-events: auto; }
  .cinema-opening .cinema-preview { position: absolute; inset: 0; border: 0; border-radius: inherit; }
  .cinema-opening .cinema-preview video { width: 100%; height: 100%; object-fit: cover; }
  .cinema-opening .cinema-preview::after {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(90deg, #070c13 0%, #070c13ed 23%, #070c13b5 49%, #070c1333 78%),
      linear-gradient(0deg, #070c13aa, transparent 36%);
  }
  .cinema-opening .cinema-preview-toggle { z-index: 1; }
}

.cinema-page {
  margin: 0;
  color: #eef6fd;
  background: radial-gradient(ellipse at 82% 0, #152d3c 0, #080e16 55%);
  font: 16px/1.6 system-ui, sans-serif;
}

.cinema-page *, .cinema-page *::before, .cinema-page *::after { box-sizing: border-box; }
.cinema-page a { color: inherit; text-underline-offset: .25em; }
.cinema-page .cinema-header a { text-decoration: none; }
.cinema-page .cinema-header a:hover { text-decoration: underline; }
.cinema-page .cinema-header [aria-current="page"] { color: #87e8f3; }
.cinema-page-main, .cinema-page-footer { width: min(100% - 40px, 1240px); margin-inline: auto; }
.cinema-page-main { padding-block: clamp(48px, 8vw, 108px); }
.cinema-page h1 { margin: 0; max-width: 17ch; font-size: clamp(42px, 7vw, 92px); line-height: 1; letter-spacing: -.055em; }
.cinema-page h2 { line-height: 1.15; }
.cinema-lead { color: #cfdee7; font-size: clamp(18px, 2vw, 23px); max-width: 52ch; }
.cinema-page-footer { border-top: 1px solid #456174; padding-block: 24px; display: flex; flex-wrap: wrap; gap: 24px; }

.cinema-feature {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  gap: clamp(20px, 5vw, 72px);
  align-items: center;
  padding-block: 32px;
  border-bottom: 1px solid var(--brand-accent, #456174);
}

.cinema-feature video, .cinema-cards img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.cinema-feature video { background: #05090f; border: 1px solid #456174; border-radius: 6px; object-fit: contain; }
.cinema-film-description { grid-column: 1 / -1; max-width: 65ch; }
.cinema-page summary { cursor: pointer; }
.cinema-film-links { display: flex; flex-wrap: wrap; gap: 12px 24px; padding-inline-start: 20px; }
.cinema-ecosystem { margin-block-start: clamp(40px, 6vw, 88px); }
.cinema-ecosystem-branches { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 185px), 1fr)); gap: 12px; align-items: start; margin-block-start: 24px; }
.cinema-ecosystem-branches details { min-width: 0; background: #102130; border-top: 2px solid var(--brand-accent); padding: 0 14px; }
.cinema-ecosystem-branches summary { min-height: 44px; padding-block: 12px; font-weight: 700; }
.cinema-ecosystem-branches details > a { display: inline-block; margin-block: 0 12px; }
.cinema-ecosystem-branches ul { padding-inline-start: 18px; margin-block: 0 12px; overflow-wrap: anywhere; }
.cinema-ecosystem-branches ul:empty { display: none; }
.cinema-ecosystem-branches li + li { margin-top: 6px; }
.cinema-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 245px), 1fr)); gap: 16px; margin-block: 28px; }
.cinema-cards article { padding: 16px; background: #102130; border-top: 2px solid var(--brand-accent, #456174); }
.cinema-cards article > a { display: block; margin-top: 12px; }
.cinema-cards article > a:first-child { margin-top: 0; }
.cinema-cards h2 { font-size: 1.25rem; overflow-wrap: anywhere; }
.cinema-filters { display: flex; flex-wrap: wrap; gap: 12px; align-items: end; }
.cinema-filters label { display: grid; gap: 4px; }
.cinema-filters :is(input, select, button) { color: #eef6fd; background: #102130; border: 1px solid #647f91; min-height: 44px; padding: 8px 12px; font: inherit; }
.cinema-filters button { cursor: pointer; background: #87e8f3; color: #08131f; }
.cinema-page :focus-visible { outline: 2px solid #87e8f3; outline-offset: 4px; }

@media (max-width: 970px) {
  .cinema-header-inner { gap: 0 14px; padding-block: 8px; }
  .cinema-menu { flex-basis: 100%; flex-wrap: wrap; padding-block: 10px; }
  .cinema-menu[data-collapsed] { display: none; }
  .cinema-menu nav { width: 100%; display: grid; align-items: start; gap: 0; }
  .cinema-menu nav > a { display: block; }
  .cinema-brand-links { position: static; }
  .hero.cinema-opening { grid-template-columns: minmax(0, 1fr); min-height: auto; }
  .cinema-feature { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 640px) {
  .cinema-preview video { aspect-ratio: 4 / 5; }
}
