/* =========================================================================
   ZENI — CINEMATIC MARKETING SITE
   Strict design system. Do not deviate.
   ========================================================================= */

/* TODO: drop licensed D-DIN woff2 files into ./fonts/. Without them the stack falls back to Arial/Verdana. */
@font-face {
  font-family: 'D-DIN';
  src: url('fonts/D-DIN.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'D-DIN-Bold';
  src: url('fonts/D-DIN-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* =========================================================================
   CUSTOM PROPERTIES
   ========================================================================= */
:root {
  --space-black: #000000;
  --spectral-white: #f0f0fa;
  --ghost-surface: rgba(240, 240, 250, 0.1);
  --ghost-border: rgba(240, 240, 250, 0.35);
  --dark-overlay: rgba(0, 0, 0, 0.5);
  --font-display: 'D-DIN-Bold', 'D-DIN', Arial, Verdana, sans-serif;
  --font-body: 'D-DIN', Arial, Verdana, sans-serif;
  --track-display: 0.96px;
  --track-nav: 1.17px;
  --track-micro: 1px;
  --radius-btn: 32px;
  --radius-sharp: 4px;
}

/* =========================================================================
   GLOBAL RESET
   ========================================================================= */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  background: var(--space-black);
  color: var(--spectral-white);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body {
  min-height: 100vh;
  overflow-x: hidden;
}

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

a {
  color: inherit;
}

ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

:focus-visible {
  outline: 2px solid rgba(240, 240, 250, 0.55);
  outline-offset: 3px;
}

/* =========================================================================
   NAV
   ========================================================================= */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 32px;
  background: transparent;
}

.nav__brand {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: var(--track-nav);
  color: var(--spectral-white);
  text-decoration: none;
}

.nav__links {
  display: flex;
  gap: 32px;
  align-items: center;
}

.nav__link {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: var(--track-nav);
  color: var(--spectral-white);
  text-decoration: none;
  transition: color 200ms ease;
}

.nav__link:hover {
  color: #ffffff;
}

.nav__toggle {
  display: none;
  width: 44px;
  height: 44px;
  background: transparent;
  border: none;
  padding: 0;
  color: var(--spectral-white);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  gap: 4px;
  flex-direction: column;
}

.nav__toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--spectral-white);
}

/* =========================================================================
   MOBILE MENU
   ========================================================================= */
#mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 20;
  background: var(--space-black);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 300ms ease;
  padding: 24px;
}

#mobile-menu[aria-hidden="false"] {
  opacity: 1;
  pointer-events: auto;
}

.menu__close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: transparent;
  border: none;
  cursor: pointer;
  color: var(--spectral-white);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: var(--track-nav);
}

.menu__list {
  display: flex;
  flex-direction: column;
  gap: 32px;
  text-align: center;
}

.menu__link {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 20px;
  text-transform: uppercase;
  letter-spacing: var(--track-nav);
  color: var(--spectral-white);
  text-decoration: none;
}

body.is-menu-open {
  overflow: hidden;
}

/* =========================================================================
   SCENE
   ========================================================================= */
.scene {
  position: relative;
  height: 100vh;
  min-height: 600px;
  width: 100%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.scene--right {
  justify-content: flex-end;
}

.scene--right .scene__content {
  text-align: right;
}

.scene__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
}

.scene__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.35) 0%, rgba(0, 0, 0, 0.55) 100%);
  z-index: 1;
}

.scene__content {
  position: relative;
  z-index: 2;
  max-width: 640px;
  padding: 24px 48px;
}

/* =========================================================================
   TYPOGRAPHY
   ========================================================================= */
.eyebrow {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: var(--track-micro);
  color: var(--spectral-white);
  margin: 0 0 20px 0;
}

.headline {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(32px, 5vw, 56px);
  text-transform: uppercase;
  letter-spacing: var(--track-display);
  color: var(--spectral-white);
  line-height: 1;
  margin: 0 0 24px 0;
}

.support {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: normal;
  color: var(--spectral-white);
  line-height: 1.6;
  max-width: 560px;
  margin: 0 0 32px 0;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

/* =========================================================================
   GHOST BUTTON — the only button variant
   ========================================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 18px 28px;
  background: var(--ghost-surface);
  color: var(--spectral-white);
  border: 1px solid var(--ghost-border);
  border-radius: var(--radius-btn);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: var(--track-nav);
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  user-select: none;
  transition: background-color 200ms ease, border-color 200ms ease, color 200ms ease;
  box-shadow: none;
}

.btn:hover {
  background-color: rgba(240, 240, 250, 0.18);
  border-color: rgba(240, 240, 250, 0.5);
  color: #ffffff;
}

.btn:focus-visible {
  outline: 2px solid rgba(240, 240, 250, 0.55);
  outline-offset: 3px;
}

/* =========================================================================
   FOOTER
   ========================================================================= */
.footer {
  background: var(--space-black);
  padding: 48px 32px;
}

.footer__inner {
  max-width: 1440px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.footer small {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: var(--track-micro);
  color: var(--spectral-white);
}

/* =========================================================================
   REVEAL ANIMATION
   ========================================================================= */
[data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 700ms ease, transform 700ms ease;
}

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

@media (prefers-reduced-motion: reduce) {
  [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* =========================================================================
   RESPONSIVE
   ========================================================================= */
@media (max-width: 768px) {
  .nav {
    padding: 16px 20px;
  }

  .nav__links {
    display: none;
  }

  .nav__toggle {
    display: inline-flex;
  }

  .scene__content {
    padding: 24px;
    max-width: 100%;
  }

  .scene--right .scene__content {
    text-align: left;
  }

  .scene--right {
    justify-content: flex-start;
  }

  .headline {
    font-size: clamp(28px, 8vw, 44px);
  }

  .footer {
    padding: 32px 20px;
  }
}
