:root {
  --bg: #04080b;
  --bg-soft: #07121b;
  --surface: rgba(10, 18, 27, 0.82);
  --surface-strong: rgba(8, 15, 22, 0.94);
  --line: rgba(123, 170, 193, 0.18);
  --line-strong: rgba(123, 170, 193, 0.35);
  --text: #edf3f5;
  --muted: #98a8b3;
  --accent: #55e6ff;
  --accent-strong: #18bdd8;
  --danger: #ff505f;
  --shadow: 0 26px 70px rgba(0, 0, 0, 0.42);
  --radius: 28px;
  --hero-shift: 0px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  font-family: "IBM Plex Sans", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(24, 189, 216, 0.12), transparent 30%),
    radial-gradient(circle at top right, rgba(255, 80, 95, 0.08), transparent 26%),
    linear-gradient(180deg, #03070a 0%, #04080b 32%, #081018 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.024) 1px, transparent 1px);
  background-size: 100% 46px, 46px 100%;
  opacity: 0.2;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.75), transparent 95%);
}

body.lightbox-open {
  overflow: hidden;
}

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

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

button {
  font: inherit;
}

.container {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
}

.topbar-wrap[hidden] {
  display: none !important;
}

.site-header {
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  z-index: 40;
  pointer-events: auto;
  backdrop-filter: blur(0);
  background: linear-gradient(180deg, rgba(5, 7, 11, 0.22), rgba(5, 7, 11, 0));
  border-bottom: 1px solid transparent;
  transition:
    backdrop-filter 0.24s ease,
    background-color 0.24s ease,
    border-color 0.24s ease,
    box-shadow 0.24s ease;
}

.header-shell {
  align-items: center;
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  margin: 0 auto;
  min-height: 74px;
  width: min(1120px, calc(100% - 2rem));
}

.site-header.is-scrolled {
  backdrop-filter: blur(10px);
  background: linear-gradient(180deg, rgba(5, 7, 11, 0.9), rgba(5, 7, 11, 0.45));
  border-bottom-color: rgba(255, 255, 255, 0.06);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
}

.brand-logo {
  width: 2.5rem;
  height: 2.5rem;
  object-fit: contain;
  filter: drop-shadow(0 0 14px rgba(85, 230, 255, 0.26));
}

.brand-name {
  font-family: "Teko", sans-serif;
  font-size: 2rem;
  line-height: 1;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-left: auto;
}

.main-nav a {
  color: rgba(237, 243, 245, 0.74);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: color 0.22s ease, text-shadow 0.22s ease;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  color: var(--text);
  text-shadow: 0 0 14px rgba(85, 230, 255, 0.22);
}

.header-controls {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.language-select {
  appearance: none;
  min-width: 7.1rem;
  padding: 0.48rem 1.65rem 0.48rem 0.62rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 9px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03)),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%23ffffff' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 7l5 6 5-6'/%3E%3C/svg%3E");
  background-position: center, right 0.52rem center;
  background-repeat: no-repeat;
  background-size: auto, 0.75rem;
  color: var(--text);
  cursor: pointer;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  transition: border-color 0.22s ease, box-shadow 0.22s ease;
}

.language-select:hover,
.language-select:focus-visible {
  border-color: rgba(255, 156, 63, 0.72);
  box-shadow: 0 0 0 3px rgba(255, 156, 63, 0.15);
  outline: none;
}

.language-select option {
  color: #edf3f5;
  background: #081018;
}

.nav-toggle {
  display: none;
  height: 24px;
  justify-content: center;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  position: relative;
  width: 24px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  border-radius: 3px;
  background: var(--text);
  left: 0;
  position: absolute;
  top: 50%;
  transform-origin: center;
  transition: transform 0.22s ease, opacity 0.22s ease;
}

.nav-toggle span:nth-child(1) {
  transform: translateY(-5px);
}

.nav-toggle span:nth-child(2) {
  transform: translateY(5px);
}

.nav-toggle.is-open span:nth-child(1) {
  transform: translateY(0) rotate(45deg);
}

.nav-toggle.is-open span:nth-child(2) {
  transform: translateY(0) rotate(-45deg);
}

.scroll-progress {
  height: 2px;
  width: 0;
  background: linear-gradient(90deg, var(--accent), var(--danger));
  left: 0;
  pointer-events: none;
  position: fixed;
  top: 0;
  z-index: 41;
}

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

.hero {
  position: relative;
  min-height: 100svh;
  isolation: isolate;
  overflow: clip;
}

.hero,
.section {
  scroll-margin-top: 6.5rem;
}

.hero__media,
.hero__veil,
.hero__noise,
.hero__embers {
  position: absolute;
  inset: 0;
}

.hero__media {
  background:
    linear-gradient(180deg, rgba(4, 8, 11, 0.06), rgba(4, 8, 11, 0.32)),
    url("../images/steam-hero.jpg") center center / cover no-repeat;
  transform: translateY(var(--hero-shift)) scale(1.08);
  transform-origin: center top;
  will-change: transform;
}

.hero__veil {
  background:
    linear-gradient(0deg, rgba(255, 108, 38, 0.08) 0%, transparent 16%),
    radial-gradient(ellipse at 50% 112%, rgba(255, 124, 46, 0.16), transparent 34%),
    radial-gradient(circle at 18% 108%, rgba(255, 130, 58, 0.11), transparent 20%),
    radial-gradient(circle at 82% 110%, rgba(255, 94, 46, 0.1), transparent 22%),
    radial-gradient(circle at 48% 52%, rgba(85, 230, 255, 0.14), transparent 28%),
    linear-gradient(180deg, rgba(2, 5, 7, 0.18) 0%, rgba(2, 5, 7, 0.74) 62%, #04080b 100%);
}

.hero__noise {
  opacity: 0.22;
  mix-blend-mode: screen;
  background-image:
    repeating-linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.04) 0,
      rgba(255, 255, 255, 0.04) 1px,
      transparent 1px,
      transparent 3px
    ),
    radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.16) 0 1px, transparent 1px),
    radial-gradient(circle at 80% 35%, rgba(255, 255, 255, 0.14) 0 1px, transparent 1px);
  background-size: 100% 4px, 80px 80px, 120px 120px;
  animation: noiseShift 18s linear infinite;
}

.hero__embers {
  z-index: 1;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0.84;
  mix-blend-mode: screen;
}

.hero__grid {
  position: relative;
  z-index: 2;
  min-height: 100svh;
  padding-top: 8rem;
  padding-bottom: 5rem;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.72fr);
  gap: 2rem;
  align-items: end;
}

.hero__copy {
  max-width: 640px;
}

.eyebrow,
.section-tag,
.status-card__label,
.case-file__eyebrow {
  margin: 0 0 1rem;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
}

.hero__logo {
  width: min(640px, 88vw);
  margin-bottom: 1.2rem;
  filter: drop-shadow(0 10px 30px rgba(255, 255, 255, 0.08));
}

.hero h1,
.section-heading h2,
.intro__copy h2,
.ending__copy h2,
.status-card__title,
.feature__copy h3,
.system-card h3 {
  margin: 0;
  font-family: "Teko", sans-serif;
  font-weight: 600;
  line-height: 0.94;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.hero h1 {
  font-size: clamp(3.6rem, 5vw, 64px);
  text-wrap: balance;
}

.hero__lead,
.section-heading p,
.intro__copy p,
.feature__copy p,
.system-card p,
.ending__copy p,
.footer__text {
  color: var(--muted);
  line-height: 1.72;
}

.hero__lead {
  max-width: 58ch;
  margin: 1.35rem 0 0;
  font-size: 1rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.25rem;
  padding: 0.9rem 1.4rem;
  border: 1px solid rgba(85, 230, 255, 0.34);
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(25, 190, 214, 0.24), rgba(85, 230, 255, 0.12));
  color: var(--text);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition:
    transform 0.25s ease,
    border-color 0.25s ease,
    background-color 0.25s ease,
    box-shadow 0.25s ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(85, 230, 255, 0.52);
  box-shadow: 0 14px 36px rgba(24, 189, 216, 0.16);
}

.button--ghost {
  background: rgba(255, 255, 255, 0.02);
  border-color: rgba(237, 243, 245, 0.16);
}

.button--ghost:hover,
.button--ghost:focus-visible {
  border-color: rgba(237, 243, 245, 0.34);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.22);
}

.status-card,
.case-file,
.feature,
.system-card,
.gallery-card,
.ending__banner,
.trailer-player,
.trailer-card {
  background: linear-gradient(180deg, rgba(10, 18, 27, 0.9), rgba(7, 12, 18, 0.78));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.status-card {
  padding: 1.6rem;
  backdrop-filter: blur(14px);
}

.status-card__title {
  font-size: clamp(2rem, 5vw, 3rem);
  max-width: 12ch;
  margin-bottom: 1.5rem;
}

.status-card__list {
  display: grid;
  gap: 0.95rem;
}

.status-row {
  display: grid;
  gap: 0.3rem;
  padding-bottom: 0.95rem;
  border-bottom: 1px solid rgba(123, 170, 193, 0.13);
}

.status-row:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.status-row span,
.case-file__entry span,
.system-card__index,
.feature__number {
  font-family: "IBM Plex Mono", monospace;
}

.status-row span,
.case-file__entry span {
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(152, 168, 179, 0.82);
}

.status-row strong,
.case-file__entry strong {
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.5;
}

.status-card__signal {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  margin-top: 1.35rem;
  padding: 0.7rem 0.9rem;
  border-radius: 999px;
  background: rgba(255, 80, 95, 0.08);
  color: rgba(237, 243, 245, 0.84);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
}

.signal {
  width: 0.72rem;
  height: 0.72rem;
  border-radius: 50%;
  background: var(--danger);
  box-shadow: 0 0 0 0 rgba(255, 80, 95, 0.56);
}

.signal--live {
  animation: pulse 2s infinite;
}

.scroll-cue {
  position: absolute;
  z-index: 3;
  left: 50%;
  bottom: 1.25rem;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  transform: translateX(-50%);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.74rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(237, 243, 245, 0.68);
}

.scroll-cue::after {
  content: "";
  width: 0.75rem;
  height: 0.75rem;
  border-right: 1px solid rgba(237, 243, 245, 0.68);
  border-bottom: 1px solid rgba(237, 243, 245, 0.68);
  transform: rotate(45deg);
  animation: floatArrow 1.6s ease-in-out infinite;
}

.section {
  position: relative;
  padding: clamp(4.8rem, 8vw, 7.5rem) 0;
}

.section--intro {
  padding-top: clamp(5.5rem, 10vw, 8rem);
}

.intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 400px);
  gap: 2rem;
  align-items: start;
}

.intro__copy h2,
.section-heading h2,
.ending__copy h2 {
  font-size: clamp(3rem, 7vw, 5rem);
  margin-bottom: 1rem;
}

.intro__copy p + p,
.section-heading p + p,
.ending__copy p + p {
  margin-top: 1rem;
}

.case-file {
  position: relative;
  padding: 1.6rem;
}

.case-file::before {
  content: "";
  position: absolute;
  top: 1.4rem;
  left: 1.4rem;
  bottom: 1.4rem;
  width: 2px;
  background: linear-gradient(180deg, rgba(255, 80, 95, 0.75), rgba(255, 80, 95, 0));
}

.case-file__eyebrow,
.case-file__entry {
  margin-left: 1rem;
}

.case-file__entry {
  display: grid;
  gap: 0.3rem;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(123, 170, 193, 0.13);
}

.case-file__entry:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.quote-block {
  padding-top: 0;
}

.quote-block .container {
  padding: clamp(1.6rem, 3vw, 2rem);
  border-top: 1px solid rgba(123, 170, 193, 0.12);
  border-bottom: 1px solid rgba(123, 170, 193, 0.12);
}

.quote-block p {
  margin: 0;
  font-family: "Teko", sans-serif;
  font-size: clamp(2.6rem, 6vw, 4.5rem);
  line-height: 0.95;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: rgba(237, 243, 245, 0.92);
}

.trailer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  align-items: stretch;
}

.trailer-player {
  padding: 1rem;
  overflow: hidden;
}

.trailer-player iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
  min-height: 340px;
  display: block;
  border-radius: calc(var(--radius) - 10px);
  border: 1px solid rgba(123, 170, 193, 0.13);
  background: #000;
}

.trailer-card {
  padding: 1.6rem;
  display: grid;
  align-content: start;
  gap: 1.1rem;
}

.trailer-card__list {
  display: grid;
  gap: 0.95rem;
}

.trailer-card__copy {
  margin: 0;
  color: var(--muted);
  line-height: 1.72;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 2rem;
}

.feature-stack {
  display: grid;
  gap: 1.5rem;
}

.feature-stack--spaced {
  margin-top: 1.5rem;
}

.feature {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(300px, 0.94fr);
  gap: 1.5rem;
  padding: clamp(1rem, 2.5vw, 1.4rem);
  overflow: hidden;
}

.feature:nth-of-type(even) .feature__visual {
  order: 2;
}

.feature:nth-of-type(even) .feature__copy {
  order: 1;
}

.feature__visual {
  display: flex;
  border-radius: calc(var(--radius) - 10px);
  overflow: hidden;
  border: 1px solid rgba(123, 170, 193, 0.13);
  background: rgba(4, 8, 11, 0.68);
}

.feature__visual img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
  transition: transform 0.6s ease;
}

.feature__visual--focus-right img {
  object-position: right;
}

.feature:hover .feature__visual img {
  transform: scale(1.03);
}

.feature__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.feature__number,
.system-card__index {
  margin: 0 0 0.85rem;
  font-size: 0.8rem;
  letter-spacing: 0.24em;
  color: var(--accent);
}

.feature__copy h3,
.system-card h3 {
  font-size: clamp(2.3rem, 5.4vw, 3.2rem);
  margin-bottom: 0.8rem;
}

.feature__copy p {
  margin: 0;
}

.feature__list {
  list-style: none;
  margin: 1.2rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.85rem;
}

.feature__list li {
  padding-top: 0.85rem;
  border-top: 1px solid rgba(123, 170, 193, 0.13);
  color: var(--text);
}

.banner {
  margin: 2rem 0;
  padding: 0;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.banner img {
  width: 100%;
  height: auto;
}

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

.system-card {
  padding: 1.4rem;
}

.system-card p {
  margin: 0;
}

.section--gallery .section-heading {
  margin-bottom: 2rem;
}

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

.gallery-card {
  position: relative;
  padding: 0;
  grid-column: span 4;
  overflow: hidden;
  cursor: pointer;
  text-align: left;
  color: var(--text);
  transition:
    transform 0.25s ease,
    border-color 0.25s ease;
}

.gallery-card:hover,
.gallery-card:focus-visible {
  transform: translateY(-3px);
  border-color: var(--line-strong);
}

.gallery-card img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.gallery-card:hover img,
.gallery-card:focus-visible img {
  transform: scale(1.04);
}

.gallery-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(4, 8, 11, 0.88) 100%);
}

.gallery-card__caption {
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 1;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.gallery-card--wide {
  grid-column: span 8;
}

.section--ending {
  padding-top: clamp(3rem, 6vw, 5rem);
}

.ending {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
  gap: 1.6rem;
  align-items: center;
}

.ending__banner {
  overflow: hidden;
}

.ending__banner img {
  width: 100%;
  height: auto;
}

.ending__copy .button {
  margin-top: 1.5rem;
}

.footer {
  padding: 2rem 0 3rem;
  border-top: 1px solid rgba(123, 170, 193, 0.12);
}

.footer__inner {
  display: grid;
  gap: 1rem;
  justify-items: start;
}

.footer__logo {
  width: min(160px, 42vw);
}

.footer__text,
.footer__meta {
  margin: 0;
}

.footer__meta {
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(152, 168, 179, 0.82);
}

.lightbox[hidden] {
  display: none;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 60;
  padding: 1rem;
  display: grid;
  place-items: center;
  background: rgba(2, 5, 7, 0.88);
  backdrop-filter: blur(10px);
}

.lightbox__content {
  width: min(1120px, 100%);
  max-height: calc(100svh - 2rem);
  display: grid;
  gap: 1rem;
}

.lightbox__image {
  width: 100%;
  max-height: calc(100svh - 7rem);
  object-fit: contain;
  border-radius: 22px;
  border: 1px solid rgba(123, 170, 193, 0.18);
  box-shadow: 0 18px 54px rgba(0, 0, 0, 0.32);
}

.lightbox__caption {
  margin: 0;
  text-align: center;
  color: rgba(237, 243, 245, 0.8);
}

.lightbox__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 3rem;
  height: 3rem;
  display: inline-grid;
  place-items: center;
  border: 1px solid rgba(123, 170, 193, 0.18);
  border-radius: 50%;
  background: rgba(4, 8, 11, 0.76);
  color: var(--text);
  font-size: 1.8rem;
  cursor: pointer;
}

.reveal {
  opacity: 0;
  transform: translateY(32px) scale(0.985);
  transition:
    opacity 0.8s ease,
    transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 80, 95, 0.56);
  }
  70% {
    box-shadow: 0 0 0 12px rgba(255, 80, 95, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(255, 80, 95, 0);
  }
}

@keyframes floatArrow {
  0%,
  100% {
    transform: rotate(45deg) translate(0, 0);
  }
  50% {
    transform: rotate(45deg) translate(5px, 5px);
  }
}

@keyframes noiseShift {
  0% {
    transform: translate3d(0, 0, 0);
  }
  50% {
    transform: translate3d(0, -2%, 0);
  }
  100% {
    transform: translate3d(0, 0, 0);
  }
}

@media (max-width: 960px) {
  .main-nav {
    gap: 1rem;
  }

  .hero__grid,
  .intro,
  .trailer-grid,
  .feature,
  .ending {
    grid-template-columns: 1fr;
  }

  .hero__grid {
    align-items: center;
    padding-top: 7.5rem;
  }

  .feature:nth-of-type(even) .feature__visual,
  .feature:nth-of-type(even) .feature__copy {
    order: initial;
  }

  .systems-grid {
    grid-template-columns: 1fr;
  }

  .gallery-card,
  .gallery-card--wide {
    grid-column: span 6;
  }
}

@media (max-width: 720px) {
  .header-shell {
    position: relative;
    width: min(1120px, calc(100% - 1.4rem));
  }

  .main-nav {
    position: absolute;
    top: calc(100% + 0.55rem);
    left: 0.7rem;
    right: 0.7rem;
    margin-left: 0;
    padding: 0.8rem;
    display: grid;
    gap: 0.15rem;
    background: rgba(7, 10, 17, 0.96);
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 14px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: transform 0.22s ease, opacity 0.22s ease;
    z-index: 12;
  }

  .main-nav a {
    border-radius: 8px;
    padding: 0.55rem 0.45rem;
  }

  .main-nav.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .header-controls {
    margin-left: auto;
  }

  .nav-toggle {
    display: flex;
  }

  .brand-name {
    font-size: 1.6rem;
  }

  .language-select {
    min-width: 5.9rem;
    padding: 0.43rem 1.55rem 0.43rem 0.55rem;
  }

  .hero__grid {
    padding-top: 8.5rem;
    padding-bottom: 4rem;
  }

  .hero__copy .eyebrow {
    display: none;
  }

  .hero__logo {
    width: min(640px, 92vw);
  }

  .hero h1 {
    max-width: 100%;
    font-size: clamp(2.75rem, 10vw, 58px);
  }

  .hero__actions {
    flex-direction: column;
  }

  .hero__actions .button {
    width: 100%;
  }

  .status-card__title {
    max-width: none;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .gallery-card,
  .gallery-card--wide {
    grid-column: auto;
  }

  .gallery-card img {
    min-height: 240px;
  }

  .trailer-player iframe {
    min-height: 220px;
  }

  .scroll-cue {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .hero__media,
  .hero__embers,
  .reveal {
    transform: none !important;
  }

  .reveal {
    opacity: 1 !important;
  }
}
