:root {
  --bg: #060606;
  --fg: #f2f2f0;
  --dim: #8a8a86;
  color-scheme: dark;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--fg);
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

/* ── fixed nav ─────────────────────────────────────────────────────────── */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.3rem 2rem;
  background: linear-gradient(rgba(6, 6, 6, 0.55), transparent);
}

.brand {
  font-size: 0.85rem;
  letter-spacing: 0.5em;
}

.cta {
  display: inline-block;
  color: var(--fg);
  border: 1px solid rgba(242, 242, 240, 0.7);
  background: rgba(6, 6, 6, 0.35);
  text-decoration: none;
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  padding: 0.75rem 1.8rem;
  transition: background 0.25s, color 0.25s;
}
.cta:hover { background: var(--fg); color: var(--bg); }
.cta.small { padding: 0.55rem 1.2rem; font-size: 0.62rem; }

/* ── hero: the film is the site ────────────────────────────────────────── */
.hero {
  position: relative;
  height: 100dvh;
}

.stage {
  position: absolute;
  inset: 0;
  background: #000;
  overflow: hidden;
  cursor: pointer;
}

.stage video, .stage canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

#film { object-fit: contain; display: none; }
#film.present { display: block; }

#waveform { pointer-events: none; }

.stage-fade {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(to bottom, transparent 55%, rgba(6, 6, 6, 0.65) 80%, #060606 97%);
}

#bigplay {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  background: rgba(6, 6, 6, 0.45);
  border: 1px solid rgba(242, 242, 240, 0.7);
  color: var(--fg);
  font: inherit;
  font-size: 0.78rem;
  letter-spacing: 0.3em;
  padding: 1rem 2.4rem 1rem 2.7rem;
  cursor: pointer;
  transition: opacity 0.4s, background 0.25s, color 0.25s;
  backdrop-filter: blur(4px);
}
#bigplay:hover { background: var(--fg); color: var(--bg); }
#bigplay.hidden { opacity: 0; pointer-events: none; }
#bigplay.loading {
  cursor: progress;
  animation: pill-pulse 1.3s ease-in-out infinite;
}
@keyframes pill-pulse {
  50% { opacity: 0.45; }
}

.film-progress {
  position: absolute;
  left: 50%;
  top: 4.4rem;
  transform: translateX(-50%);
  display: flex;
  gap: 7px;
  z-index: 6;
}
.film-progress .bar {
  width: 38px;
  height: 14px; /* generous hit area, thin visible line via the span */
  background: none;
  border: none;
  padding: 6px 0;
  cursor: pointer;
}
.film-progress .bar span {
  display: block;
  height: 2px;
  width: 0%;
  background: rgba(242, 242, 240, 0.85);
  box-shadow: 0 0 0 100vmax transparent;
}
.film-progress .bar { background-clip: content-box; background-color: rgba(242, 242, 240, 0.18); }

.film-title {
  position: absolute;
  left: 50%;
  top: 6.4rem;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  color: rgba(242, 242, 240, 0.8);
  text-decoration: none;
  white-space: nowrap;
  text-align: center;
  transition: color 0.25s;
}
.film-title:hover { color: #fff; }
.film-title.static { cursor: default; }
.film-title .t { text-transform: uppercase; }
.film-title .c { color: rgba(242, 242, 240, 0.55); letter-spacing: 0.14em; }
.film-title .commission {
  font-size: 0.46rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(242, 242, 240, 0.28);
}
.film-title .commission:empty { display: none; }

.hero-bottom {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 5;
}

.stems {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.stems button {
  background: rgba(10, 10, 10, 0.55);
  backdrop-filter: blur(6px);
  border: none;
  border-top: 2px solid transparent;
  color: var(--dim);
  font: inherit;
  font-size: 0.68rem;
  letter-spacing: 0.28em;
  padding: 1.15rem 0.5rem 1.05rem;
  cursor: pointer;
  transition: color 0.25s, border-color 0.25s, background 0.25s;
}

.stems button:hover { color: var(--fg); }

.stems button.on {
  color: var(--fg);
  border-top-color: var(--stem-color);
  background: rgba(16, 16, 16, 0.65);
}

/* ── pitch: one statement, one action ──────────────────────────────────── */
.pitch {
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 6rem 1.5rem 3rem;
}

.pitch h2 {
  font-size: clamp(2rem, 6vw, 3.6rem);
  font-weight: 300;
  letter-spacing: 0.18em;
  line-height: 1.25;
}

.pitch .sub {
  color: var(--dim);
  font-size: 0.85rem;
  line-height: 1.8;
  letter-spacing: 0.05em;
  max-width: 30rem;
  margin: 2rem 0 3rem;
}

.credits {
  color: var(--dim);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin: -1.6rem 0 2.6rem;
}
.credits a { color: inherit; text-decoration: none; transition: color 0.25s; }
.credits a:hover { color: var(--fg); }

.clients {
  width: min(760px, 88vw);
  overflow: hidden;
  margin: 0 0 3rem;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}

.clients-track {
  display: flex;
  align-items: center;
  width: max-content;
  animation: marquee 45s linear infinite;
}

.clients-track img {
  height: 1.5rem;
  width: auto;
  margin-right: 4.2rem;
  flex-shrink: 0;
}
.clients-track img.silhouette { filter: brightness(0) invert(1); opacity: 0.5; }
.clients-track img.gray { filter: grayscale(1); opacity: 0.75; }
.clients-track img.asis { opacity: 0.85; }

@keyframes marquee {
  to { transform: translateX(-50%); }
}

.reply {
  color: var(--dim);
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  margin-top: 1.1rem;
  opacity: 0;
  transition: opacity 0.5s ease;
}
.pitch .cta:hover + .reply { opacity: 1; }
.pitch .cta:focus-visible + .reply { opacity: 1; }
.reply.shown { opacity: 1; }

.ghost {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.55rem;
  color: var(--dim);
  text-decoration: none;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  transition: color 0.25s;
}
.ghost-q { font-size: 0.64rem; color: rgba(242, 242, 240, 0.4); }
.library { margin-top: 2.4rem; }
.ghost:hover { color: var(--fg); }

footer {
  margin-top: auto;
  padding-top: 5rem;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-align: center;
}

.location {
  color: rgba(242, 242, 240, 0.6);
  font-size: 0.62rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  margin-bottom: 0.85rem;
}

.contact-row { margin-bottom: 0.85rem; }

.registration {
  color: rgba(242, 242, 240, 0.18);
  font-size: 0.5rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

footer a { color: var(--dim); text-decoration: none; transition: color 0.25s; }
footer a:hover { color: var(--fg); }
.sep { color: var(--dim); margin: 0 0.8rem; }

@media (max-width: 600px) {
  nav { padding: 1rem 1.1rem; }
  .brand { font-size: 0.7rem; letter-spacing: 0.35em; }
  .stems button { font-size: 0.54rem; letter-spacing: 0.16em; padding: 0.9rem 0.3rem; }
  .film-title { font-size: 0.58rem; letter-spacing: 0.2em; top: 5.6rem; }
  .film-progress { top: 3.9rem; }
}
