/* Awara Films — cinema-dark theme.
   Tokens first; everything reads from these. */
:root {
  --bg0: #07060a;
  --bg1: #0d0b12;
  --panel: rgba(22, 17, 30, 0.72);
  --panel-solid: #14101c;
  --line: rgba(242, 237, 227, 0.1);
  --ink: #f2ede3;
  --muted: #a89f92;
  --amber: #f4b23c;
  --amber-rgb: 244, 178, 60;
  --amber-dim: rgba(var(--amber-rgb), 0.14);
  --red: #e84545;
  --teal: #46c8b2;
  --display: "Bebas Neue", "Arial Narrow", sans-serif;
  --body: "Manrope", system-ui, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, monospace;
  --hand: "Caveat", cursive;
  --wrap: 1120px;
  --radius: 14px;
}

/* ------------------------------------------------ reset */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  font-family: var(--body);
  background: var(--bg0);
  color: var(--ink);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--amber); text-decoration: none; }
a:hover { text-decoration: underline; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul[role="list"], ol[role="list"] { list-style: none; }
.mono { font-family: var(--mono); }

body.intro-lock { overflow: hidden; }
body.lightbox-open { overflow: hidden; }

/* ------------------------------------------------ backdrop scene */
.scene {
  position: fixed; inset: 0; z-index: 0;
  opacity: 1;
  transition: opacity 0.4s linear;
  pointer-events: none;
}
.scene canvas { width: 100%; height: 100%; display: block; }

/* cursor spotlight — a soft key light following the pointer */
.spotlight {
  position: fixed; inset: 0; z-index: 1; pointer-events: none;
  background: radial-gradient(340px circle at var(--sx, 50vw) var(--sy, 40vh),
    rgba(var(--amber-rgb), 0.055), transparent 70%);
}

/* film grain — faint animated noise over everything */
.grain {
  position: fixed; inset: -60px; z-index: 90; pointer-events: none;
  opacity: 0.055;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='0.9'/%3E%3C/svg%3E");
  animation: grain 0.9s steps(4) infinite;
}
@keyframes grain {
  0% { transform: translate(0, 0); }
  25% { transform: translate(-14px, 8px); }
  50% { transform: translate(10px, -12px); }
  75% { transform: translate(-6px, -6px); }
  100% { transform: translate(0, 0); }
}

/* ------------------------------------------------ filmstrip scroll rail
   Hover it for a preview of the scene you'd land on; click to jump. */
.filmbar {
  position: fixed; top: 0; right: 0; bottom: 0; width: 16px; z-index: 60;
  background:
    repeating-linear-gradient(to bottom,
      transparent 0 5px, rgba(242, 237, 227, 0.16) 5px 9px, transparent 9px 14px);
  border-left: 1px solid var(--line);
  opacity: 0.55;
  cursor: pointer;
  transition: opacity 0.25s, width 0.25s;
}
.filmbar:hover { opacity: 1; width: 20px; }
.filmbar__cursor {
  position: absolute; left: 50%; top: 0;
  transform: translate(-50%, -50%);
  color: var(--amber);
  filter: drop-shadow(0 0 6px rgba(var(--amber-rgb), 0.8));
  pointer-events: none;
}
.filmbar__preview {
  position: absolute; right: 26px; top: 0;
  transform: translateY(-50%);
  width: 168px;
  background: rgba(7, 6, 10, 0.92);
  border: 1px solid rgba(var(--amber-rgb), 0.4);
  border-radius: 10px;
  padding: 6px;
  pointer-events: none;
  text-align: center;
}
.filmbar__preview img {
  width: 100%; aspect-ratio: 16 / 9; object-fit: cover;
  border-radius: 6px;
  background: #14101c;
}
.filmbar__preview span {
  display: block;
  padding: 6px 2px 3px;
  font-size: 9.5px; letter-spacing: 0.22em; color: var(--amber);
}

/* ------------------------------------------------ white flash (slate mark) */
.whiteflash {
  position: fixed; inset: 0; z-index: 96; pointer-events: none;
  background: #fff; opacity: 0;
}
.whiteflash.go { animation: whiteflash 0.36s ease-out; }
@keyframes whiteflash { 0% { opacity: 0.85; } 100% { opacity: 0; } }

/* ------------------------------------------------ intro overlay */
.intro {
  position: fixed; inset: 0; z-index: 80; pointer-events: none;
  transition: opacity 0.7s ease;
}
.intro--done { opacity: 0; visibility: hidden; }
.intro__vignette {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at center, transparent 46%, rgba(0, 0, 0, 0.66) 100%);
}
.intro__flash {
  position: absolute; inset: 0; background: #fff; opacity: 0;
}
.intro__hud {
  position: absolute; top: 84px; left: 26px;
  display: flex; gap: 10px; align-items: center;
  font-size: 12px; letter-spacing: 0.14em; color: var(--ink);
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.9);
}
.intro__blink { color: var(--red); animation: blink 1.1s steps(2) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.intro__alt {
  position: absolute; top: 84px; right: 40px;
  font-size: 12px; letter-spacing: 0.14em; color: var(--amber);
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.9);
}
.intro__skip {
  position: absolute; bottom: 30px; right: 40px;
  pointer-events: auto;
  font-size: 12px; letter-spacing: 0.14em;
  color: var(--muted);
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(7, 6, 10, 0.5);
  transition: color 0.2s, border-color 0.2s;
}
.intro__skip:hover { color: var(--ink); border-color: var(--amber); }

/* ------------------------------------------------ nav */
.nav {
  position: fixed; top: 0; left: 0; right: 16px; z-index: 70;
  transition: background 0.3s, box-shadow 0.3s;
  opacity: 0;
  transform: translateY(-8px);
}
body.ready .nav { opacity: 1; transform: none; transition: opacity 0.6s 0.2s, transform 0.6s 0.2s, background 0.3s; }
.nav.scrolled {
  background: rgba(7, 6, 10, 0.82);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--line);
}
.nav__inner {
  max-width: var(--wrap); margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 22px;
}
.nav__brand { display: flex; align-items: center; gap: 10px; }
.nav__brand:hover { text-decoration: none; }
.brand__mark {
  font-family: var(--display); font-size: 20px; letter-spacing: 0.05em;
  color: var(--bg0); background: var(--amber);
  width: 34px; height: 34px; border-radius: 8px;
  display: grid; place-items: center;
}
.brand__code { font-family: var(--mono); font-size: 11px; letter-spacing: 0.22em; color: var(--muted); }
.nav__links { display: flex; align-items: center; gap: 20px; }
.nav__links a {
  color: var(--muted); font-size: 14px; font-weight: 500;
  transition: color 0.2s;
}
.nav__links a:hover, .nav__links a.active { color: var(--ink); text-decoration: none; }
.nav__cta {
  color: var(--amber) !important;
  border: 1px solid rgba(var(--amber-rgb), 0.4);
  padding: 6px 14px; border-radius: 999px;
}
.nav__cta:hover { background: var(--amber-dim); }
.nav__burger { display: none; flex-direction: column; gap: 5px; padding: 8px; }
.nav__burger span { width: 22px; height: 2px; background: var(--ink); transition: transform 0.25s; }

/* ------------------------------------------------ hero */
.hero {
  min-height: 100svh;
  display: flex; flex-direction: column; justify-content: center;
  position: relative; z-index: 2;
  padding: 120px 22px 80px;
}
/* a soft key-side scrim so the name never fights the lot behind it */
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(97deg, rgba(7, 6, 10, 0.88) 0%, rgba(7, 6, 10, 0.6) 36%, rgba(7, 6, 10, 0.12) 58%, transparent 72%);
  pointer-events: none;
  opacity: 0;
  transition: opacity 1.2s ease;
}
body.ready .hero::before { opacity: 1; }
.hero__inner { max-width: var(--wrap); margin: 0 auto; width: 100%; position: relative; }
.hero__eyebrow {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--mono); font-size: 13px; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--muted);
  margin-bottom: 18px;
}
.dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; }
.dot--live { background: var(--red); box-shadow: 0 0 10px var(--red); animation: blink 1.6s steps(2) infinite; }
.hero__name {
  font-family: var(--display);
  font-size: clamp(64px, 13vw, 168px);
  line-height: 0.92;
  letter-spacing: 0.015em;
  text-transform: uppercase;
}
.hero__line { display: block; }
.hero__word { display: inline-block; }
.hero__word--gold {
  color: transparent;
  background: linear-gradient(178deg, #ffe2a8 8%, var(--amber) 48%, #b96f16 96%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-stroke: 1px rgba(255, 226, 168, 0.28);
  filter: drop-shadow(0 6px 26px rgba(var(--amber-rgb), 0.3));
}
.hero__scribble {
  display: inline-block;
  font-family: "Caveat", "Kalam", cursive;
  font-size: clamp(20px, 2.6vw, 34px);
  color: var(--red);
  transform: rotate(-5deg) translateY(-0.5em);
  margin-left: 18px;
  text-shadow: 0 2px 14px rgba(7, 6, 10, 0.9);
  letter-spacing: 0.02em;
}
.hero__role {
  margin-top: 20px;
  font-family: var(--mono); font-size: 15px; letter-spacing: 0.12em;
  color: var(--amber);
}
.hero__sub { max-width: 560px; margin-top: 14px; color: var(--muted); }
.hero__cta { display: flex; gap: 14px; margin-top: 30px; flex-wrap: wrap; }
.btn {
  display: inline-block;
  padding: 12px 24px; border-radius: 999px;
  font-weight: 600; font-size: 15px;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn--amber {
  background: var(--amber); color: var(--bg0);
  box-shadow: 0 6px 24px rgba(var(--amber-rgb), 0.28);
}
.btn--amber:hover { box-shadow: 0 10px 32px rgba(var(--amber-rgb), 0.4); }
.btn--ghost {
  color: var(--ink);
  border: 1px solid var(--line);
  background: rgba(22, 17, 30, 0.4);
}
.btn--ghost:hover { border-color: rgba(var(--amber-rgb), 0.5); }
.hero__strip {
  display: flex; gap: 14px; flex-wrap: wrap;
  margin-top: 44px;
  font-size: 12px; letter-spacing: 0.12em; color: var(--muted);
}
.hero__strip b { color: var(--ink); font-weight: 600; }
.strip__sep { color: rgba(242, 237, 227, 0.25); }
.hero__scroll {
  position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  font-size: 11px; letter-spacing: 0.3em; color: var(--muted);
}
.hero__scroll:hover { text-decoration: none; color: var(--ink); }
.scroll__beam {
  width: 1px; height: 42px;
  background: linear-gradient(to bottom, var(--amber), transparent);
  animation: beam 1.8s ease-in-out infinite;
}
@keyframes beam { 50% { transform: scaleY(0.55); opacity: 0.5; } }

/* ------------------------------------------------ ticker */
.ticker {
  position: relative; z-index: 2;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(7, 6, 10, 0.6);
  overflow: hidden;
  padding: 10px 0;
}
.ticker__track {
  display: flex; white-space: nowrap;
  font-size: 12px; letter-spacing: 0.2em; color: var(--muted);
  animation: ticker 38s linear infinite;
}
.ticker__track span { padding-right: 2em; }
.ticker:hover .ticker__track { animation-play-state: paused; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ------------------------------------------------ sections */
main { position: relative; z-index: 2; }
.section { padding: 110px 22px; position: relative; }
.wrap { max-width: var(--wrap); margin: 0 auto; }
.sec__head { margin-bottom: 48px; }
.sec__tag {
  display: inline-block;
  font-size: 12px; letter-spacing: 0.24em; color: var(--amber);
  border: 1px solid rgba(var(--amber-rgb), 0.35);
  border-radius: 999px;
  padding: 5px 14px;
  margin-bottom: 16px;
  background: rgba(7, 6, 10, 0.5);
}
.sec__title {
  font-family: var(--display);
  font-size: clamp(42px, 6.5vw, 76px);
  line-height: 1;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.sec__title .ch {
  display: inline-block;
  opacity: 0;
  transform: translateY(0.4em) rotate(4deg);
}
.sec__head.in .ch {
  opacity: 1; transform: none;
  transition: opacity 0.45s cubic-bezier(0.2, 0.7, 0.3, 1), transform 0.45s cubic-bezier(0.2, 0.7, 0.3, 1);
  transition-delay: calc(var(--c) * 28ms);
}
.sec__note { margin-top: 14px; color: var(--muted); max-width: 560px; }

/* reveals */
.reveal { opacity: 0; transform: translateY(26px); }
.reveal.in {
  opacity: 1; transform: none;
  transition: opacity 0.7s cubic-bezier(0.2, 0.7, 0.3, 1), transform 0.7s cubic-bezier(0.2, 0.7, 0.3, 1);
  transition-delay: calc(var(--i, 0) * 70ms);
}
.reveal--flip { transform: perspective(900px) rotateX(9deg) translateY(26px); transform-origin: top; }
.reveal--flip.in { transform: none; }

/* ------------------------------------------------ about */
.about { display: grid; grid-template-columns: 1.25fr 1fr; gap: 44px; align-items: start; }
.about__lede { font-size: 21px; font-weight: 500; line-height: 1.5; margin-bottom: 18px; }
.about__lede em { color: var(--amber); font-style: normal; }
.about__text p + p { margin-top: 14px; color: var(--muted); }
.about__text strong { color: var(--ink); }
.aboutwave {
  margin-top: 30px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px;
}
.aboutwave canvas { width: 100%; height: 84px; display: block; }
.about__side { display: flex; flex-direction: column; gap: 22px; }
.about__film {
  background: var(--panel-solid);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  /* celluloid edges */
  padding: 12px 12px 8px;
  position: relative;
}
.about__film::before, .about__film::after {
  content: "";
  position: absolute; left: 0; right: 0; height: 10px;
  background: repeating-linear-gradient(to right,
    transparent 0 7px, rgba(242, 237, 227, 0.22) 7px 13px, transparent 13px 20px);
}
.about__film::before { top: 1px; }
.about__film::after { bottom: 26px; }
.about__film video { width: 100%; border-radius: 8px; aspect-ratio: 4 / 5; object-fit: cover; }
.about__film figcaption {
  padding: 8px 4px 2px;
  font-size: 11px; letter-spacing: 0.18em; color: var(--muted);
  text-align: center;
}
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 38px; }
.stat {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 18px;
  transition: transform 0.25s, border-color 0.25s;
}
.stat:hover { border-color: rgba(var(--amber-rgb), 0.4); }
.stat__num { display: block; font-size: 34px; font-weight: 600; color: var(--amber); line-height: 1.1; }
.stat__lbl { display: block; margin-top: 6px; font-size: 13px; color: var(--muted); }

/* ------------------------------------------------ awara films */
.awara { display: flex; flex-direction: column; gap: 44px; }
.awara__pitch { max-width: 640px; }
.awara__pitch .hero__cta { margin-top: 24px; }

/* services as storyboard panels — sketch on the front, brief on the back */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.service {
  perspective: 1100px;
  min-height: 252px;
  cursor: pointer;
  outline: none;
}
.service__flip {
  position: relative;
  width: 100%; height: 100%; min-height: 252px;
  transform-style: preserve-3d;
  transition: transform 0.65s cubic-bezier(0.3, 0.9, 0.3, 1);
}
.service:hover .service__flip,
.service:focus-visible .service__flip,
.service.open .service__flip { transform: rotateY(180deg); }
.service__front, .service__back {
  position: absolute; inset: 0;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  display: flex; flex-direction: column;
}
.service__front {
  align-items: center; justify-content: center; gap: 12px;
  text-align: center;
  /* storyboard panel: sketch frame */
  background:
    linear-gradient(rgba(22, 17, 30, 0.72), rgba(22, 17, 30, 0.72)) padding-box;
}
.service__front .service__no { align-self: flex-start; }
.service__sketch {
  width: 84px; height: 84px;
  color: var(--gel, var(--amber));
  border: 1.5px dashed rgba(242, 237, 227, 0.22);
  border-radius: 10px;
  padding: 12px;
}
.service__front h3 { font-size: 18px; }
.service__hint { font-size: 9px; letter-spacing: 0.24em; color: var(--muted); margin-top: 2px; }
.service__back {
  transform: rotateY(180deg);
  gap: 8px;
  border-color: rgba(var(--amber-rgb), 0.4);
}
.service__back h3 { font-size: 17px; }
.service__back p { color: var(--muted); font-size: 14px; line-height: 1.55; }
.service__no { font-size: 11px; letter-spacing: 0.2em; color: var(--gel, var(--amber)); }

/* the ticket stub — tear it to start a project */
.stub {
  display: flex; align-items: stretch;
  max-width: 560px;
  margin: 0 auto;
  border: 1px solid rgba(var(--amber-rgb), 0.45);
  border-radius: 14px;
  background: var(--panel);
  color: var(--ink);
  overflow: visible;
  position: relative;
  transition: transform 0.25s, box-shadow 0.25s;
}
.stub:hover { text-decoration: none; transform: translateY(-3px); box-shadow: 0 14px 40px rgba(var(--amber-rgb), 0.16); }
.stub__main {
  flex: 1;
  display: flex; flex-direction: column; gap: 4px;
  padding: 20px 26px;
}
.stub__main b { font-size: 17px; letter-spacing: 0.28em; color: var(--amber); }
.stub__main span { color: var(--muted); font-size: 13.5px; }
.stub__tear {
  display: grid; place-items: center;
  padding: 0 26px;
  font-size: 12px; letter-spacing: 0.16em;
  color: var(--amber);
  border-left: 2px dashed rgba(242, 237, 227, 0.3);
  transition: transform 0.3s cubic-bezier(0.3, 1.4, 0.5, 1);
  transform-origin: left center;
}
.stub:hover .stub__tear { transform: rotate(5deg) translateX(7px) translateY(-2px); }
/* perforation notches at the tear line */
.stub::before, .stub::after {
  content: "";
  position: absolute;
  width: 16px; height: 16px; border-radius: 50%;
  background: var(--bg0);
  border: 1px solid rgba(var(--amber-rgb), 0.45);
  right: 124px;
}
.stub::before { top: -9px; }
.stub::after { bottom: -9px; }

/* ------------------------------------------------ featured work */
.worktabs { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 34px; }
.worktab {
  font-size: 12px; letter-spacing: 0.18em;
  color: var(--muted);
  padding: 8px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}
.worktab:hover { color: var(--ink); }
.worktab.active {
  color: var(--bg0); background: var(--amber); border-color: var(--amber);
  font-weight: 600;
}
.works {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.workcard {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.25s, border-color 0.25s;
  display: flex; flex-direction: column;
}
.workcard:hover { border-color: rgba(var(--amber-rgb), 0.45); }
.workcard--hide { display: none; }
.workcard__open {
  position: relative; display: block; width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #0b0910;
}
.workcard--tall .workcard__open { aspect-ratio: 3 / 4; }
.workcard__open img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.5s ease, filter 0.4s;
  filter: saturate(0.92);
}
.workcard__open:hover img { transform: scale(1.05); filter: saturate(1.1); }
.workcard__play {
  position: absolute; inset: 0; z-index: 1;
  display: grid; place-items: center;
  font-size: 19px; color: var(--bg0);
  text-indent: 4px;
}
.workcard__play::before {
  content: "";
  position: absolute; inset: 0; margin: auto;
  width: 62px; height: 62px; border-radius: 50%;
  background: rgba(var(--amber-rgb), 0.92);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
  transition: transform 0.25s;
  z-index: -1;
}
.workcard__open:hover .workcard__play::before { transform: scale(1.12); }
.workcard__dur {
  position: absolute; right: 10px; bottom: 10px;
  font-size: 11px; letter-spacing: 0.1em;
  background: rgba(7, 6, 10, 0.85);
  color: var(--ink);
  padding: 3px 9px; border-radius: 6px;
}
.workcard__meta { padding: 16px 18px 18px; }
.workcard__tag { font-size: 10.5px; letter-spacing: 0.2em; color: var(--teal); }
.workcard__meta h3 { margin-top: 8px; font-size: 15.5px; line-height: 1.45; font-weight: 600; }
.works__more { margin-top: 30px; color: var(--muted); }

/* ------------------------------------------------ experience / call sheet */
.route { position: relative; padding-left: 38px; }
.route::before {
  content: "";
  position: absolute; left: 8px; top: 6px; bottom: 6px; width: 2px;
  background:
    /* timecode ticks riding the rail */
    repeating-linear-gradient(to bottom,
      rgba(242, 237, 227, 0.35) 0 2px, transparent 2px 36px) 0 0 / 2px 100%,
    linear-gradient(to bottom, var(--amber), rgba(var(--amber-rgb), 0.12));
}
.route__cam {
  position: absolute; left: 9px; top: 0;
  transform: translate(-50%, -50%);
  display: flex; align-items: center; gap: 7px;
  color: var(--amber);
  filter: drop-shadow(0 0 8px rgba(var(--amber-rgb), 0.7));
  z-index: 1;
  transition: top 0.15s linear;
}
.route__year {
  font-family: var(--mono);
  font-size: 10.5px; letter-spacing: 0.14em; font-weight: 600;
  color: var(--bg0);
  background: var(--amber);
  border-radius: 5px;
  padding: 2px 6px;
}
.leg { position: relative; padding-bottom: 34px; }
.leg:last-child { padding-bottom: 0; }

/* each stop on the call sheet is a little slate — the arm claps shut as the
   camera passes it */
.leg__node {
  position: absolute; left: -38px; top: 8px;
  width: 22px; height: 15px; border-radius: 2.5px;
  background: #14121a;
  border: 1.5px solid rgba(242, 237, 227, 0.35);
  transition: border-color 0.3s, box-shadow 0.3s;
}
.leg__node::before {
  /* the striped clap arm, open until passed */
  content: "";
  position: absolute; left: -1.5px; top: -6px;
  width: 22px; height: 5px; border-radius: 2px;
  background: repeating-linear-gradient(115deg,
    #f2ede3 0 4px, #14121a 4px 8px);
  transform-origin: left bottom;
  transform: rotate(-24deg);
  transition: transform 0.22s cubic-bezier(0.6, 0, 0.9, 1);
}
.leg__node::after {
  /* chalk line on the board */
  content: "";
  position: absolute; left: 3px; right: 3px; top: 6px;
  height: 1.5px;
  background: rgba(242, 237, 227, 0.5);
}
.leg__node.passed {
  border-color: var(--amber);
  box-shadow: 0 0 12px rgba(var(--amber-rgb), 0.55);
}
.leg__node.passed::before { transform: rotate(0deg); }

.leg__card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 24px;
  position: relative;
  transition: border-color 0.25s;
}
.leg__card:hover { border-color: rgba(var(--amber-rgb), 0.35); }
/* the card prints in like the hero once its slate is marked */
.leg.reveal.in .leg__card {
  -webkit-mask-image: linear-gradient(100deg, #000 55%, transparent 72%);
  mask-image: linear-gradient(100deg, #000 55%, transparent 72%);
  -webkit-mask-size: 280% 100%;
  mask-size: 280% 100%;
  animation: legprint 0.9s 0.12s both;
}
@keyframes legprint {
  from { -webkit-mask-position: 100% 0; mask-position: 100% 0; }
  to { -webkit-mask-position: 0% 0; mask-position: 0% 0; }
}

/* live productions: tally badge + viewfinder brackets */
.leg__live {
  font-size: 9.5px; letter-spacing: 0.2em;
  color: var(--red);
  animation: blink 2.2s steps(2) infinite;
  white-space: nowrap;
}
.leg--live .leg__card::before,
.leg--live .leg__card::after {
  content: "";
  position: absolute;
  width: 16px; height: 16px;
  border: 2px solid rgba(var(--amber-rgb), 0.55);
  pointer-events: none;
}
.leg--live .leg__card::before { top: 7px; left: 7px; border-right: 0; border-bottom: 0; }
.leg--live .leg__card::after { bottom: 7px; right: 7px; border-left: 0; border-top: 0; }

/* wrapped productions get the stamp */
.leg__stamp {
  position: absolute; bottom: 14px; right: 18px;
  font-size: 10px; letter-spacing: 0.3em;
  color: rgba(232, 69, 69, 0.55);
  border: 1.5px solid rgba(232, 69, 69, 0.45);
  border-radius: 4px;
  padding: 3px 8px 3px 10px;
  transform: rotate(-9deg);
}
.leg__top { display: flex; justify-content: space-between; align-items: baseline; gap: 14px; flex-wrap: wrap; }
.leg__top h3 { font-size: 18px; }
.leg__lvl { font-size: 10.5px; letter-spacing: 0.16em; color: var(--teal); margin-left: 8px; }
.leg__when { font-size: 12px; letter-spacing: 0.12em; color: var(--amber); white-space: nowrap; }
.leg__org { margin-top: 4px; color: var(--muted); font-size: 14.5px; }
.leg__points { margin-top: 12px; padding-left: 18px; color: var(--muted); font-size: 14.5px; }
.leg__points li { margin-top: 6px; }
.leg__points strong { color: var(--ink); }

/* ------------------------------------------------ legends */
.legends { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.legend {
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 14px 18px;
  text-align: center;
  color: var(--ink);
  transition: transform 0.25s, border-color 0.25s;
}
.legend:hover { text-decoration: none; border-color: rgba(var(--amber-rgb), 0.45); }
.legend img {
  width: 74px; height: 74px; border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(var(--amber-rgb), 0.35);
  transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
}
.legend:hover img {
  transform: scale(1.08);
  border-color: var(--amber);
  box-shadow: 0 0 22px rgba(var(--amber-rgb), 0.45);
}
.legend span { font-size: 14px; font-weight: 600; line-height: 1.35; }
.legend b { font-size: 10px; letter-spacing: 0.2em; color: var(--muted); font-weight: 500; }

/* ------------------------------------------------ skills / edit bay */
.nle {
  background: var(--panel-solid);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 18px 22px;
  position: relative;
  overflow: hidden;
  margin-bottom: 34px;
}
.nle__ruler {
  display: flex; justify-content: space-between;
  font-size: 10px; letter-spacing: 0.1em; color: var(--muted);
  border-bottom: 1px solid var(--line);
  padding: 0 0 8px 46px;
  margin-bottom: 12px;
}
.nle__track {
  position: relative;
  height: 44px;
  margin-bottom: 10px;
}
.nle__track::before {
  content: "";
  position: absolute; left: 46px; right: 0; top: 0; bottom: 0;
  background: rgba(242, 237, 227, 0.03);
  border-radius: 6px;
}
.nle__lbl {
  position: absolute; left: 0; top: 50%;
  transform: translateY(-50%);
  font-size: 11px; letter-spacing: 0.12em; color: var(--muted);
  width: 36px;
}
.nle__clip {
  position: absolute;
  left: calc(46px + (100% - 46px) * var(--x, 0) / 100);
  width: calc((100% - 46px) * var(--w, 30) / 100);
  top: 4px; bottom: 4px;
  display: flex; align-items: center; gap: 8px;
  padding: 0 12px;
  border-radius: 6px;
  font-size: 12.5px; font-weight: 600;
  white-space: nowrap; overflow: hidden;
  border: 1px solid rgba(242, 237, 227, 0.14);
}
.nle__clip img { width: 18px; height: 18px; border-radius: 4px; }
.nle__clip--v { background: linear-gradient(180deg, rgba(var(--amber-rgb), 0.3), rgba(var(--amber-rgb), 0.16)); }
.nle__clip--g { background: linear-gradient(180deg, rgba(70, 200, 178, 0.28), rgba(70, 200, 178, 0.14)); }
.nle__clip--a { background: linear-gradient(180deg, rgba(232, 69, 69, 0.28), rgba(232, 69, 69, 0.14)); }
.nle { cursor: ew-resize; }
.nle__playhead {
  position: absolute; top: 34px; bottom: 10px;
  left: 46px;
  width: 2px;
  background: var(--ink);
  box-shadow: 0 0 10px rgba(242, 237, 227, 0.7);
  pointer-events: none;
}
.nle__playhead::before {
  content: "";
  position: absolute; top: -7px; left: 50%;
  transform: translateX(-50%);
  border: 6px solid transparent;
  border-top-color: var(--ink);
}
/* clips render in as the playhead passes them */
.nle__clip { opacity: 0.32; filter: saturate(0.4); transition: opacity 0.3s, filter 0.3s; }
.nle__clip.lit { opacity: 1; filter: none; }
.nle__done {
  position: absolute; right: 16px; top: 10px;
  font-size: 10.5px; letter-spacing: 0.18em;
  color: #7cd65a;
  border: 1px solid rgba(124, 214, 90, 0.5);
  border-radius: 999px;
  padding: 4px 12px;
  background: rgba(7, 6, 10, 0.7);
  opacity: 0;
  transition: opacity 0.3s;
}
.nle__done.show { opacity: 1; }
.panels { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  transition: border-color 0.25s;
}
.panel:hover { border-color: rgba(var(--amber-rgb), 0.4); }
.panel__name { font-size: 12px; letter-spacing: 0.22em; color: var(--amber); margin-bottom: 14px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips li {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 13px;
  padding: 7px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(7, 6, 10, 0.45);
  color: var(--muted);
  transition: color 0.2s, border-color 0.2s;
}
.chips li:hover { color: var(--ink); border-color: rgba(var(--amber-rgb), 0.4); }
.chip-icon { display: inline-flex; color: var(--teal); }

/* ------------------------------------------------ graphic portfolio strip */
.artstrip {
  overflow: hidden;
  margin-top: -6px;
  padding: 8px 0 4px;
  /* celluloid edges */
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background:
    repeating-linear-gradient(to right,
      transparent 0 14px, rgba(242, 237, 227, 0.08) 14px 24px, transparent 24px 38px)
    top / 100% 12px no-repeat,
    rgba(7, 6, 10, 0.55);
}
.artstrip__track {
  display: flex; gap: 16px;
  padding: 18px 0;
  width: max-content;
  animation: artscroll 70s linear infinite;
}
.artstrip:hover .artstrip__track { animation-play-state: paused; }
.artstrip__track img {
  height: 280px; width: auto;
  border-radius: 10px;
  border: 1px solid var(--line);
  transition: transform 0.3s;
}
.artstrip__track img:hover { transform: scale(1.04); }
@keyframes artscroll { to { transform: translateX(-50%); } }

/* ------------------------------------------------ stills */
.stills { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.still {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--panel-solid);
}
.still img {
  width: 100%; height: 100%; object-fit: cover;
  aspect-ratio: 4 / 5;
  transition: transform 0.6s ease, filter 0.7s ease;
  /* prints hang undeveloped until you look at them */
  filter: grayscale(0.85) sepia(0.14) brightness(0.92);
}
.still:hover img { transform: scale(1.05); filter: none; }

/* ------------------------------------------------ education laurels */
.laurels { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.laurel {
  position: relative;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 20px 28px;
  text-align: center;
  transition: border-color 0.25s;
}
.laurel:hover { border-color: rgba(var(--amber-rgb), 0.4); }
.laurel:hover .laurel__crest { color: var(--amber); transform: scale(1.04); }
.laurel__crest {
  position: relative;
  width: 178px; height: 106px;
  margin: 0 auto 14px;
  color: rgba(var(--amber-rgb), 0.8);
  transition: color 0.3s, transform 0.3s;
}
.laurel__wreath { display: block; width: 100%; height: 100%; }
.laurel__crest b {
  position: absolute; inset: 0;
  display: grid; place-items: center;
  padding-bottom: 8px;
  font-family: var(--display);
  font-size: 38px; font-weight: 400;
  letter-spacing: 0.05em;
  color: var(--ink);
}
.laurel__body {
  display: flex; flex-direction: column; gap: 5px;
  padding: 0 10px;
}
.laurel__label { font-size: 9.5px; letter-spacing: 0.22em; color: var(--teal); }
.laurel__body h3 { font-size: 16.5px; line-height: 1.3; }
.laurel__school { color: var(--muted); font-size: 13px; }
.laurel__year { font-size: 11px; letter-spacing: 0.16em; color: var(--amber); margin-top: 3px; }

/* ------------------------------------------------ contact */
.section--contact { padding-bottom: 140px; }
.contact { text-align: center; max-width: 640px; margin: 0 auto; }
.leader { width: 148px; height: 148px; margin: 0 auto 26px; }
.leader canvas {
  width: 100%; height: 100%;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: rgba(7, 6, 10, 0.6);
}
.contact__lede { font-size: 20px; color: var(--muted); }
.contact__mail {
  display: inline-block;
  margin: 22px 0 26px;
  font-family: var(--display);
  font-size: clamp(26px, 4.6vw, 46px);
  letter-spacing: 0.03em;
  color: var(--ink);
}
.contact__mail:hover { color: var(--amber); text-decoration: none; }
.contact__links { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.contact__loc { margin-top: 34px; font-size: 11.5px; letter-spacing: 0.2em; color: var(--muted); }

/* ------------------------------------------------ footer */
.footer {
  border-top: 1px solid var(--line);
  background: rgba(7, 6, 10, 0.8);
  position: relative; z-index: 2;
}
.footer__inner {
  display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  padding: 22px;
  font-size: 11px; letter-spacing: 0.18em; color: var(--muted);
}

/* ------------------------------------------------ ACTION! flash */
.action-flash {
  position: fixed; inset: 0; z-index: 95; pointer-events: none;
  display: grid; place-items: center;
  font-family: var(--display);
  font-size: clamp(80px, 16vw, 260px);
  letter-spacing: 0.04em;
  color: var(--amber);
  text-shadow: 0 0 60px rgba(var(--amber-rgb), 0.6);
  opacity: 0;
}
.action-flash.go { animation: actionpop 1.1s cubic-bezier(0.16, 1, 0.3, 1); }
@keyframes actionpop {
  0% { opacity: 0; transform: scale(1.6); }
  14% { opacity: 1; transform: scale(1); }
  72% { opacity: 1; }
  100% { opacity: 0; transform: scale(0.94); }
}

/* ------------------------------------------------ camera HUD + grade */
.camhud {
  position: fixed; left: 22px; bottom: 20px; z-index: 55;
  display: flex; align-items: center; gap: 14px;
  padding: 9px 16px;
  font-size: 11px; letter-spacing: 0.14em; color: var(--muted);
  background: rgba(7, 6, 10, 0.78);
  border: 1px solid var(--line);
  border-radius: 999px;
  backdrop-filter: blur(8px);
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.6s 0.4s, transform 0.6s 0.4s;
}
body.ready .camhud { opacity: 1; transform: none; }
.camhud__rec i { color: var(--red); animation: blink 1.6s steps(2) infinite; font-style: normal; }
.camhud__tc { color: var(--ink); min-width: 92px; }
.camhud__grade { display: flex; align-items: center; gap: 8px; font-size: 9.5px; }
.camhud__grade input {
  width: 92px; height: 3px;
  accent-color: var(--amber);
  cursor: ew-resize;
}
.camhud__snd {
  font-size: 13px; line-height: 1;
  padding: 2px;
  opacity: 0.75;
  transition: opacity 0.2s, transform 0.2s;
}
.camhud__snd:hover { opacity: 1; transform: scale(1.15); }
/* the tint wheel — one ring that recolours the whole site */
.wheel {
  position: relative;
  width: 24px; height: 24px; border-radius: 50%;
  background:
    radial-gradient(circle at 50% 50%, rgba(7, 6, 10, 0.92) 0 36%, transparent 38%),
    conic-gradient(#e84545, #f4b23c, #7cd65a, #46c8b2, #4d7cff, #b07cff, #e84545);
  border: 1px solid var(--line);
  cursor: crosshair;
  touch-action: none;
}
.wheel i {
  position: absolute; left: 50%; top: 50%;
  width: 6px; height: 6px; margin: -3px 0 0 -3px;
  border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.8);
  pointer-events: none;
}

/* ------------------------------------------------ director's cut tour */
.tourbars span {
  position: fixed; left: 0; right: 0; height: 9vh; z-index: 88;
  background: #000;
  pointer-events: none;
  transition: transform 0.9s cubic-bezier(0.7, 0, 0.3, 1);
}
.tourbars span:first-child { top: 0; transform: translateY(-100%); }
.tourbars span:last-child { bottom: 0; transform: translateY(100%); }
body.touring .tourbars span { transform: none; }
.tourlabel {
  position: fixed; left: 50%; bottom: 3vh; z-index: 89;
  transform: translateX(-50%);
  font-size: 12px; letter-spacing: 0.3em;
  color: var(--amber);
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.9);
  pointer-events: none;
}
body.touring .nav, body.touring .camhud, body.touring .filmbar, body.touring .dronecam { opacity: 0 !important; pointer-events: none; }

/* ------------------------------------------------ drone monitor frame */
.dronecam {
  position: fixed; right: 36px; bottom: 20px; z-index: 56;
  width: 300px; height: 169px;
  border: 1px solid rgba(var(--amber-rgb), 0.5);
  border-radius: 4px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.55);
  pointer-events: none;
}
.dronecam__tag {
  position: absolute; top: 6px; left: 8px;
  font-size: 9px; letter-spacing: 0.2em;
  color: var(--ink);
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.9);
}
.dronecam__tag i { color: var(--red); font-style: normal; animation: blink 1.3s steps(2) infinite; }
.dronecam canvas { width: 100%; height: 100%; display: block; border-radius: 3px; }
.dronecam::after {
  /* corner ticks, like a monitor overlay */
  content: "";
  position: absolute; inset: 4px;
  border: 1px solid rgba(242, 237, 227, 0.16);
  border-radius: 2px;
}

/* ------------------------------------------------ sync-the-slate game */
.slategame { margin: 0 auto 30px; width: 300px; }
.slategame canvas { display: block; border-radius: 10px; }
.slategame__cap {
  margin-top: 8px;
  font-size: 9px; letter-spacing: 0.24em;
  color: var(--muted);
  text-align: center;
}

/* ------------------------------------------------ depth-parallax overlay */
.parallaxfx {
  position: absolute; inset: 0; z-index: 0;
  width: 100% !important; height: 100% !important;
  opacity: 0;
  transition: opacity 0.25s;
  pointer-events: none;
}
.parallaxfx.on { opacity: 1; }

/* ------------------------------------------------ lightbox */
.lightbox[hidden] { display: none; }
.lightbox {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(4, 3, 7, 0.92);
  backdrop-filter: blur(6px);
  display: grid; place-items: center;
  padding: 4vh 4vw;
}
.lightbox__frame { width: min(1080px, 92vw); aspect-ratio: 16 / 9; }
.lightbox__frame iframe, .lightbox__frame video {
  width: 100%; height: 100%;
  border: 0; border-radius: 12px;
  background: #000;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.7);
}
.lightbox__close {
  position: absolute; top: 22px; right: 38px;
  font-size: 13px; letter-spacing: 0.18em;
  color: var(--ink);
  padding: 10px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(7, 6, 10, 0.6);
  transition: border-color 0.2s, color 0.2s;
}
.lightbox__close:hover { border-color: var(--red); color: var(--red); }

/* ------------------------------------------------ responsive */
@media (max-width: 980px) {
  .about { grid-template-columns: 1fr; }
  .services { grid-template-columns: repeat(2, 1fr); }
  .works { grid-template-columns: repeat(2, 1fr); }
  .legends { grid-template-columns: repeat(3, 1fr); }
  .laurels { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stills { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  .nav__links {
    position: fixed; top: 60px; left: 0; right: 16px;
    flex-direction: column; align-items: flex-start;
    background: rgba(7, 6, 10, 0.96);
    padding: 22px;
    border-bottom: 1px solid var(--line);
    display: none;
  }
  .nav__links.open { display: flex; }
  .nav__burger { display: flex; }
  .services { grid-template-columns: 1fr; }
  .works { grid-template-columns: 1fr; }
  .legends { grid-template-columns: repeat(2, 1fr); }
  .stills { grid-template-columns: 1fr; }
  .section { padding: 80px 18px; }
  .filmbar { width: 10px; }
  .nav { right: 10px; }
  .artstrip__track img { height: 200px; }
  .intro__hud { top: 72px; left: 16px; }
  .intro__alt { top: 72px; right: 26px; }
  .camhud { display: none; }
  .filmbar__preview { display: none; }
  .dronecam { display: none; }
  .leg__stamp { position: static; display: inline-block; margin-top: 10px; transform: rotate(-4deg); }
}

/* ------------------------------------------------ reduced motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal, .reveal--flip { opacity: 1; transform: none; }
  .sec__title .ch { opacity: 1; transform: none; }
  .ticker__track, .artstrip__track, .grain, .scroll__beam,
  .nle__playhead, .dot--live, .intro__blink, .camhud__rec i, .action-flash,
  .leg__live, .whiteflash, .leg.reveal.in .leg__card { animation: none; }
  .leg.reveal.in .leg__card { -webkit-mask-image: none; mask-image: none; }
  .still img { filter: none; }
  .service__flip { transition: none; }
  .nle__clip { opacity: 1; filter: none; }
  .nav { opacity: 1; transform: none; }
}
