:root {
  --ink: #fbfffa;
  --paper: #091405;
  --muted: rgba(251, 255, 250, 0.68);
  --line: rgba(251, 255, 250, 0.22);
  --panel: rgba(9, 20, 5, 0.72);
  --accent: #e0fd2c;
  --blue: #035772;
  --orange: #f9a417;
  --max: 980px;
}

* {
  box-sizing: border-box;
}

html {
  background: #050604;
  color: var(--ink);
  font-family: Helvetica, Arial, sans-serif;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background: #000;
  color: var(--ink);
}

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

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

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 20;
  width: 100%;
  padding: 31px clamp(20px, 5vw, 58px);
}

.nav {
  justify-content: center;
  display: flex;
  gap: 37px;
  align-items: center;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: uppercase;
}

.nav a {
  padding: 8px 0;
}

.nav a[aria-current="page"] {
  color: var(--ink);
}

.hero {
  position: relative;
  min-height: 1440px;
  overflow: hidden;
  background: #050604;
}

.hero::after {
  position: absolute;
  inset: 0;
  content: "";
  background:
    radial-gradient(circle at 50% 38%, rgba(83, 28, 113, 0.08), transparent 30%),
    linear-gradient(90deg, rgba(5, 6, 4, 0.66), rgba(5, 6, 4, 0.18) 46%, rgba(5, 6, 4, 0.66)),
    linear-gradient(180deg, rgba(5, 6, 4, 0.02), rgba(5, 6, 4, 0.46) 62%, rgba(5, 6, 4, 0.82));
  pointer-events: none;
}

.hero-video {
  position: absolute;
  top: 0;
  left: 50%;
  width: 100%;
  height: 100vh;
  min-height: 760px;
  object-fit: cover;
  transform: translateX(-50%);
  filter: saturate(0.95) contrast(1.12) brightness(0.72);
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: min(var(--max), calc(100% - 40px));
  min-height: 1440px;
  margin: 0 auto;
  padding: 185px 0 110px;
}

.logo-lockup {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 6px;
  margin: 0;
}

.logo-card {
  display: grid;
  width: 220px;
  height: 82px;
  place-items: center;
  overflow: hidden;
  background: #fff;
}

.logo-card .brand-logo {
  width: 220px;
  filter: invert(1);
}

.mark {
  margin-top: -3px;
  color: #fff;
  font-size: 20px;
  line-height: 1;
}

.film-link {
  display: block;
  margin: 376px auto 0;
  color: var(--ink);
  font-family: Impact, "Arial Black", sans-serif;
  font-size: clamp(62px, 7.6vw, 104px);
  font-weight: 400;
  line-height: 0.9;
  letter-spacing: 0;
  text-align: center;
  text-transform: uppercase;
}

.film-link:hover {
  color: var(--ink);
}

.home-footer,
.global-footer {
  width: min(430px, 100%);
  margin-top: 520px;
  align-self: center;
}

.global-footer {
  margin: 84px auto 0;
}

.page {
  min-height: 100vh;
  padding: 128px clamp(20px, 5vw, 58px) 64px;
  background:
    linear-gradient(180deg, rgba(5, 6, 4, 0.8), rgba(9, 20, 5, 1)),
    url("assets/images/moodlaw-still.jpeg") center top / cover fixed;
}

.work-page {
  min-height: 100vh;
  padding: 54px 0 92px;
  background: #000;
}

.work-inner {
  width: min(590px, calc(100% - 34px));
  margin: 0 auto;
}

.page-inner {
  width: min(1180px, 100%);
  margin: 0 auto;
}

.page-title {
  margin: 0 0 46px;
  font-size: clamp(58px, 10vw, 140px);
  font-weight: 900;
  line-height: 0.9;
  letter-spacing: 0;
  text-transform: uppercase;
}

.work-grid {
  display: grid;
  gap: 46px;
  grid-template-columns: 1fr;
}

.project {
  position: relative;
  overflow: hidden;
  min-height: 0;
  border: 0;
  background: #000;
  cursor: pointer;
}

.project img,
.project video {
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  min-height: 0;
  object-fit: cover;
  filter: none;
  transition: opacity 300ms ease;
}

.project:hover img,
.project:hover video {
  opacity: 0.82;
}

.legal {
  width: min(980px, 100%);
  margin: 0 auto;
  padding: 42px;
  border: 1px solid var(--line);
  background: rgba(5, 6, 4, 0.84);
}

.legal h1 {
  margin: 0 0 28px;
  font-size: clamp(42px, 7vw, 86px);
  line-height: 0.95;
  text-transform: uppercase;
}

.legal h2 {
  margin: 34px 0 12px;
  font-size: 24px;
  text-transform: uppercase;
}

.legal p,
.legal li {
  color: rgba(251, 255, 250, 0.82);
  font-size: 16px;
  line-height: 1.75;
}

.footer {
  position: relative;
  padding: 52px clamp(20px, 5vw, 58px);
  border-top: 1px solid var(--line);
  background: #050604;
  color: var(--ink);
}

.footer-inner {
  display: grid;
  width: min(var(--max), 100%);
  margin: 0 auto;
  gap: 28px;
  grid-template-columns: 1fr 1.5fr;
}

.footer-actions {
  display: flex;
  justify-content: space-between;
  gap: 48px;
  font-weight: 900;
  font-family: Impact, "Arial Black", sans-serif;
  font-size: 38px;
  letter-spacing: 0;
  text-transform: uppercase;
}

.imprint {
  color: var(--muted);
  margin-top: 30px;
  font-size: 8px;
  line-height: 1.45;
  text-transform: uppercase;
}

.legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 42px;
  font-size: 8px;
}

.player {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: none;
  place-items: center;
  padding: 20px;
  background: rgba(0, 0, 0, 0.92);
}

.player.is-open {
  display: grid;
}

.player video {
  width: min(1100px, 100%);
  max-height: 80vh;
  background: #000;
}

.close-player {
  position: fixed;
  top: 24px;
  right: 28px;
  border: 0;
  background: transparent;
  color: var(--ink);
  font-size: 42px;
  line-height: 1;
  cursor: pointer;
}

@media (max-width: 760px) {
  .site-header {
    padding: 20px;
  }

  .hero-inner {
    width: calc(100% - 32px);
    min-height: 1100px;
    padding-top: 160px;
  }

  .hero {
    min-height: 1100px;
  }

  .hero-video {
    height: 100vh;
    min-height: 720px;
    width: auto;
    min-width: 100%;
  }

  .logo-card {
    width: 184px;
    height: 68px;
  }

  .logo-card .brand-logo {
    width: 184px;
  }

  .film-link {
    margin-top: 280px;
    font-size: 54px;
  }

  .home-footer,
  .global-footer {
    margin-top: 330px;
    width: min(330px, 100%);
  }

  .global-footer {
    margin-top: 64px;
  }

  .footer-inner {
    grid-template-columns: 1fr;
  }

  .footer-actions {
    flex-wrap: wrap;
  }

  .legal {
    padding: 28px 20px;
  }
}
