:root {
  --fg: #f4f2ee;
  --muted: rgba(244, 242, 238, 0.55);
  --line: rgba(244, 242, 238, 0.14);
  --bg: #08080a;
  --accent: #e50914;
  --accent-soft: rgba(229, 9, 20, 0.16);
  --headline-red: #e8313f;   /* bright, punchy cinema red — pops on dark, still refined */
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--fg);
  font-family: "Sora", "Helvetica Neue", Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3 { font-family: "Space Grotesk", "Sora", sans-serif; }

.accent { color: var(--accent); }

.eyebrow {
  font-size: 12px;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 22px;
}

/* ---------- Navigation ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 44px;
  transition: background 0.4s ease, padding 0.4s ease, border-color 0.4s ease;
  border-bottom: 1px solid transparent;
}

.nav.scrolled {
  background: rgba(8, 8, 10, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding: 16px 44px;
  border-bottom: 1px solid var(--line);
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  font-family: "Space Grotesk", sans-serif;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: var(--fg);
  text-decoration: none;
}
.logo-img {
  height: 34px;
  width: auto;
  display: block;
}

.menu { display: flex; gap: 36px; }

.menu a {
  position: relative;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--fg);
  text-decoration: none;
  opacity: 0.8;
  transition: opacity 0.3s ease;
}
.menu a::after {
  content: "";
  position: absolute; left: 0; bottom: -6px;
  width: 0; height: 1px; background: var(--accent);
  transition: width 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
.menu a:hover { opacity: 1; }
.menu a:hover::after { width: 100%; }

.cta-pill {
  font-family: "Sora", sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-decoration: none;
  color: var(--fg);
  padding: 11px 22px;
  border: 1px solid var(--accent);
  border-radius: 100px;
  transition: background 0.3s ease, color 0.3s ease, transform 0.2s ease;
  white-space: nowrap;
}
.cta-pill:hover { background: var(--accent); color: #fff; transform: translateY(-1px); }
.cta-pill.solid {
  background: var(--accent);
  color: #fff;
  border: none;
  cursor: pointer;
  padding: 16px 30px;
  font-size: 15px;
  align-self: flex-start;
}
.cta-pill.solid:hover { filter: brightness(1.12); }

@media (max-width: 860px) {
  .menu { display: none; }
}

/* ---------- HERO ---------- */
.hero-section {
  position: relative;
  height: 170vh;          /* scroll distance for scrub + zoom */
  padding: 0;             /* full-bleed: overrides the generic section padding */
}

.stage {
  position: sticky;
  top: 0;
  height: 100vh;
  width: 100%;
  overflow: hidden;
  background: #000;
}

#bg-video {
  position: absolute;
  top: 50%; left: 50%;
  min-width: 100%; min-height: 100%;
  width: auto; height: auto;
  transform: translate(-50%, -50%);
  object-fit: cover;
  will-change: transform;
}

.video-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0.1) 35%, rgba(0,0,0,0.2) 70%, rgba(0,0,0,0.6) 100%);
  pointer-events: none;
}

.fade-black {
  position: absolute; inset: 0;
  background: #000;
  opacity: 0;
  pointer-events: none;
}

.hero {
  position: absolute;
  top: 0; left: 0; right: 0;
  z-index: 5;
  display: flex;
  justify-content: center;
  padding-top: 16vh;
  pointer-events: none;
}
.hero::before {
  content: "";
  position: absolute; top: 0; left: 50%;
  transform: translateX(-50%);
  width: 130vw; height: 60vh;
  background: radial-gradient(ellipse 50% 60% at 50% 32%, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.3) 45%, rgba(0,0,0,0) 75%);
  pointer-events: none;
}

.headline {
  position: relative;
  width: 100%; max-width: 1100px;
  height: 2.2em;
  text-align: center;
}
.headline .line {
  position: absolute;
  top: 0; left: 0; right: 0;
  transform: translateY(14px) scale(0.98);
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(38px, 6.4vw, 96px);
  font-weight: 700;
  line-height: 1.0;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: var(--headline-red);
  text-shadow: 0 0 38px rgba(232,49,63,0.45), 0 6px 30px rgba(0,0,0,0.8), 0 2px 8px rgba(0,0,0,0.85);
  opacity: 0;
  filter: blur(6px);
  transition: opacity 0.55s ease, transform 0.55s cubic-bezier(0.22,1,0.36,1), filter 0.55s ease;
}
.headline .line.is-active {
  opacity: 1; filter: blur(0);
  transform: translateY(0) scale(1);
}

.scroll-hint {
  position: absolute;
  bottom: 30px; left: 50%;
  transform: translateX(-50%);
  z-index: 6;
  font-size: 11px; letter-spacing: 0.4em;
  text-transform: uppercase; color: var(--muted);
  animation: pulse 2.4s ease-in-out infinite;
}
.scroll-hint.hidden { animation: none; opacity: 0; }
@keyframes pulse { 0%,100%{opacity:.35} 50%{opacity:.9} }

/* ---------- CONTENT shell ---------- */
.content { position: relative; z-index: 10; background: var(--bg); }

section { padding: 0 44px; }

.section-head { max-width: 1200px; margin: 0 auto; padding-top: 140px; }
.section-title {
  font-size: clamp(32px, 4.6vw, 64px);
  font-weight: 700; line-height: 1.04; letter-spacing: -0.02em;
}

/* ---------- Trust bar ---------- */
.trust { border-bottom: 1px solid var(--line); }
.trust-inner {
  max-width: 1200px; margin: 0 auto;
  padding: 90px 0;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px;
}
.stat { display: flex; flex-direction: column; gap: 10px; }
.stat-num {
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(34px, 4vw, 54px);
  font-weight: 700; color: var(--accent); letter-spacing: -0.02em;
}
.stat-label { font-size: 14px; color: var(--muted); line-height: 1.4; max-width: 220px; }
@media (max-width: 860px) { .trust-inner { grid-template-columns: repeat(2, 1fr); gap: 32px; } }

/* ---------- Process timeline (pinned) ---------- */
.process { height: 280vh; position: relative; }
.process-sticky {
  position: sticky; top: 0;
  height: 100vh;
  display: flex; flex-direction: column; justify-content: center;
  max-width: 1200px; margin: 0 auto;
}
.process-title {
  font-size: clamp(32px, 4.6vw, 64px);
  font-weight: 700; line-height: 1.04; letter-spacing: -0.02em;
  margin-bottom: 64px;
}

.timeline { position: relative; }
.timeline-track {
  position: relative;
  height: 2px; width: 100%;
  background: var(--line);
  margin-bottom: 48px;
}
.timeline-fill {
  position: absolute; left: 0; top: 0; height: 100%;
  width: 0%; background: var(--accent);
  transition: width 0.15s linear;
}
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px; }
.step {
  padding: 32px 30px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255,255,255,0.015);
  opacity: 0.38;
  transform: translateY(8px);
  transition: opacity 0.5s ease, transform 0.5s ease, border-color 0.5s ease, background 0.5s ease;
}
.step.is-active {
  opacity: 1;
  transform: translateY(0);
  border-color: rgba(229,9,20,0.5);
  background: var(--accent-soft);
}
.step-no {
  font-family: "Space Grotesk", sans-serif;
  font-size: 40px; font-weight: 700; color: var(--accent);
  display: block; margin-bottom: 14px;
}
.step-time {
  display: inline-block;
  font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--fg); background: rgba(255,255,255,0.08);
  padding: 5px 12px; border-radius: 100px; margin-bottom: 18px;
}
.step h3 { font-size: 26px; font-weight: 600; margin-bottom: 10px; }
.step p { font-size: 15px; line-height: 1.55; color: var(--muted); }
@media (max-width: 860px) {
  .process { height: auto; }
  .process-sticky { position: static; height: auto; padding: 120px 0; }
  .steps { grid-template-columns: 1fr; }
  .step { opacity: 1; transform: none; }
}

/* ---------- Showreel ---------- */
.showreel { padding-bottom: 40px; }
.reel-grid {
  max-width: 1200px; margin: 60px auto 0;
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px;
}
.tile {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 14px;
  overflow: hidden;
  cursor: pointer;
  background: #111;
  border: 1px solid var(--line);
}
.tile video, .tile .poster {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.22,1,0.36,1);
}
.tile .poster {
  background: linear-gradient(135deg, #1a1a1f 0%, #0c0c0e 100%);
}
.tile:hover video, .tile:hover .poster { transform: scale(1.05); }
.tile-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0) 55%);
  display: flex; align-items: flex-end;
  padding: 22px 24px;
  z-index: 2;
}
.tile-label { font-family: "Space Grotesk", sans-serif; font-size: 18px; font-weight: 600; }
.tile-cat { font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.1em; }
.tile-play {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%) scale(0.9);
  width: 60px; height: 60px; border-radius: 50%;
  background: rgba(229,9,20,0.92);
  display: flex; align-items: center; justify-content: center;
  z-index: 3; opacity: 0;
  transition: opacity 0.35s ease, transform 0.35s ease;
}
.tile:hover .tile-play { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.tile-play::after {
  content: ""; margin-left: 4px;
  border-left: 18px solid #fff;
  border-top: 11px solid transparent;
  border-bottom: 11px solid transparent;
}
@media (max-width: 760px) { .reel-grid { grid-template-columns: 1fr; } }

/* ---------- Contact ---------- */
.contact { padding-top: 60px; padding-bottom: 120px; }
.contact-grid {
  max-width: 1200px; margin: 0 auto;
  padding-top: 100px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 70px;
  align-items: start;
  border-top: 1px solid var(--line);
}
.contact-sub { margin-top: 22px; color: var(--muted); font-size: 16px; line-height: 1.6; max-width: 420px; }
.contact-form { display: flex; flex-direction: column; gap: 16px; }
.field input, .field textarea {
  width: 100%;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 16px 18px;
  color: var(--fg);
  font-family: inherit; font-size: 15px;
  transition: border-color 0.3s ease, background 0.3s ease;
  resize: vertical;
}
.field input::placeholder, .field textarea::placeholder { color: rgba(244,242,238,0.4); }
.field input:focus, .field textarea:focus {
  outline: none; border-color: var(--accent);
  background: rgba(255,255,255,0.05);
}
.form-success {
  display: none;
  color: var(--accent); font-size: 15px; font-weight: 600; margin-top: 4px;
}
.form-success.show { display: block; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; gap: 40px; } }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line); padding: 40px 44px; }
.footer-inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  flex-wrap: wrap;
}
.footer .logo { font-size: 18px; color: var(--fg); }
.footer .logo-img { height: 30px; }
.footer-menu { display: flex; gap: 26px; }
.footer-menu a { color: var(--muted); text-decoration: none; font-size: 13px; transition: color 0.3s ease; }
.footer-menu a:hover { color: var(--fg); }
.footer-copy { color: var(--muted); font-size: 13px; }

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(0,0,0,0.92);
  display: none; align-items: center; justify-content: center;
  padding: 40px;
}
.lightbox.open { display: flex; }
.lightbox video { width: min(1100px, 92vw); max-height: 86vh; border-radius: 10px; }
.lightbox-close {
  position: absolute; top: 26px; right: 34px;
  background: none; border: none; color: #fff;
  font-size: 40px; line-height: 1; cursor: pointer; opacity: 0.8;
}
.lightbox-close:hover { opacity: 1; }

/* ---------- Mobile spacing ---------- */
@media (max-width: 640px) {
  section { padding: 0 22px; }
  .hero-section { padding: 0; }
  .nav { padding: 16px 20px; }
  .nav.scrolled { padding: 12px 20px; }
  .footer { padding: 32px 20px; }
}

/* ---------- reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.22,1,0.36,1); }
.reveal.in { opacity: 1; transform: none; }
