:root {
  --bg: #050505;
  --panel: rgba(255, 255, 255, 0.055);
  --panel-strong: rgba(255, 255, 255, 0.085);
  --text: #f7f7f7;
  --muted: #a8a8ad;
  --line: rgba(255, 255, 255, 0.1);
  --accent: #7c4dff;
  --accent-soft: #b49bff;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.32);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  font-family: "Manrope", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(124, 77, 255, 0.22), transparent 24%),
    radial-gradient(circle at 82% 14%, rgba(180, 155, 255, 0.14), transparent 20%),
    linear-gradient(180deg, #080808 0%, #050505 52%, #030303 100%);
}

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

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

.atmosphere {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}

.atmosphere-glow {
  position: absolute;
  border-radius: 999px;
  filter: blur(60px);
  opacity: 0.4;
}

.atmosphere-glow-one {
  top: 7%;
  left: 8%;
  width: 18rem;
  height: 18rem;
  background: rgba(124, 77, 255, 0.2);
}

.atmosphere-glow-two {
  right: 10%;
  top: 18%;
  width: 15rem;
  height: 15rem;
  background: rgba(180, 155, 255, 0.14);
}

.atmosphere-grid {
  display: none;
}

main,
.site-footer {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  width: 100%;
  padding: 1.25rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(30, 30, 36, 0.22);
  backdrop-filter: blur(16px);
}

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

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

.brand-logo {
  width: clamp(3.5rem, 7vw, 5rem);
  height: auto;
}

.brand-wordmark,
.site-nav {
  color: var(--muted);
}

.brand-wordmark {
  font-size: 0.9rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  gap: 1.35rem;
  font-size: 0.95rem;
}

.site-nav a {
  position: relative;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.35rem;
  height: 1px;
  background: var(--accent-soft);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 180ms ease;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  transform: scaleX(1);
}

.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 0.3rem;
  width: 3rem;
  height: 3rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0;
  color: var(--text);
  background: rgba(255, 255, 255, 0.03);
  cursor: pointer;
}

.menu-toggle span {
  width: 1.1rem;
  height: 2px;
  background: currentColor;
  transition:
    transform 180ms ease,
    opacity 180ms ease;
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(0.4rem) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-0.4rem) rotate(-45deg);
}

.section {
  padding: 3.75rem 0;
}

.hero {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: 2rem;
  align-items: center;
  min-height: calc(100vh - 7rem);
}

.eyebrow,
.card-kicker,
.note-label {
  margin: 0 0 0.9rem;
  color: var(--accent-soft);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero h1,
.section-heading h2,
.trailer-copy h3,
.press-card h3,
.cta-panel h2 {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: -0.04em;
}

.hero h1 {
  max-width: 8ch;
  font-size: clamp(4.6rem, 10vw, 8.4rem);
}

.hero-text,
.story-card p:last-child,
.trailer-copy p,
.small-note,
.site-footer,
.press-card,
.footer-links {
  color: var(--muted);
}

.hero-text {
  max-width: 40rem;
  font-size: 1.02rem;
  line-height: 1.85;
}

.hero-actions,
.cta-actions,
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.25rem;
  padding: 0.85rem 1.35rem;
  border-radius: 999px;
  font-weight: 600;
  transition:
    transform 180ms ease,
    background 180ms ease,
    border-color 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.button-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--accent-soft), var(--accent));
}

.button-secondary {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
}

.hero-poster-wrap {
  position: relative;
  padding: 1.5rem 1.5rem 3rem;
}

.hero-poster-frame,
.story-card,
.trailer-embed,
.trailer-copy,
.gallery-card,
.press-card,
.cta-panel {
  border: 1px solid var(--line);
  background: linear-gradient(180deg, var(--panel-strong), var(--panel));
  box-shadow: var(--shadow);
}

.hero-poster-frame {
  overflow: hidden;
  border-radius: 2rem;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02)),
    linear-gradient(140deg, rgba(124, 77, 255, 0.18), transparent 55%);
}

.hero-poster {
  width: 100%;
  aspect-ratio: 2 / 3;
  object-fit: cover;
}

.hero-note {
  position: absolute;
  max-width: 15rem;
  padding: 1rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: 1.2rem;
  background: rgba(12, 12, 14, 0.82);
  backdrop-filter: blur(10px);
}

.hero-note strong {
  display: block;
  font-size: 0.98rem;
  line-height: 1.5;
}

.hero-note-top {
  top: 0;
  right: 0;
}

.hero-note-bottom {
  bottom: 0;
  left: 0;
}

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

.section-heading h2,
.cta-panel h2 {
  font-size: clamp(3rem, 6vw, 5.2rem);
}

.story-grid,
.press-grid {
  display: grid;
  gap: 1.2rem;
}

.story-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.story-card,
.trailer-copy,
.press-card {
  padding: 1.5rem;
  border-radius: 1.5rem;
}

.story-card p {
  margin: 0;
  line-height: 1.8;
}

.trailer-layout {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 1.2rem;
  align-items: stretch;
}

.trailer-embed {
  overflow: hidden;
  border-radius: 1.8rem;
}

.trailer-embed iframe {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
}

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

.trailer-copy h3,
.press-card h3 {
  font-size: clamp(2rem, 4vw, 3.1rem);
  margin-bottom: 1rem;
}

.small-note {
  margin-top: auto;
  font-size: 0.92rem;
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr 0.85fr;
  gap: 1rem;
}

.gallery-card {
  overflow: hidden;
  min-height: 20rem;
  border-radius: 1.6rem;
}

.gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-card-large {
  grid-row: span 2;
}

.press-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.press-card h3 {
  line-height: 1;
}

.text-link {
  display: inline-flex;
  margin-top: 1rem;
  color: var(--text);
  font-weight: 600;
}

.cta-panel {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1.5rem;
  align-items: center;
  padding: 2rem;
  border-radius: 2rem;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0 0 2rem;
  font-size: 0.94rem;
}

.site-footer p {
  margin: 0;
}

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition:
    opacity 700ms ease,
    transform 700ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 980px) {
  .hero,
  .story-grid,
  .trailer-layout,
  .gallery-grid,
  .press-grid,
  .cta-panel,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 2rem;
  }

  .gallery-card-large {
    grid-row: auto;
  }

  .site-footer {
    display: grid;
  }
}

@media (max-width: 720px) {
  main,
  .site-footer {
    width: min(100% - 1.25rem, 1180px);
  }

  .site-header {
    width: 100%;
  }

  .site-header-inner {
    position: relative;
    border-radius: 1.5rem;
  }

  .brand-wordmark {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 0.6rem);
    right: 0;
    left: 0;
    display: none;
    flex-direction: column;
    gap: 0.35rem;
    padding: 0.75rem;
    border: 1px solid var(--line);
    border-radius: 1.2rem;
    background: rgba(17, 17, 15, 0.96);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 0.8rem 0.9rem;
    border-radius: 0.9rem;
    background: rgba(255, 255, 255, 0.03);
  }

  .site-nav a::after {
    display: none;
  }

  .section {
    padding: 2.75rem 0;
  }

  .hero h1 {
    font-size: clamp(3.7rem, 18vw, 5.6rem);
  }

  .section-heading h2,
  .cta-panel h2,
  .trailer-copy h3,
  .press-card h3 {
    font-size: clamp(2.4rem, 11vw, 3.5rem);
  }

  .hero-poster-wrap {
    padding: 0 0 2.5rem;
  }

  .hero-note {
    position: static;
    max-width: none;
    margin-top: 1rem;
  }
}
