/* ============================================================
   BE RAW LAB — static site styles
   Custom CSS (no framework). Design tokens mirror Tailwind v4
   theme: abyss #000000, carbon #0c120e, volt #a3ff4a, mint #ecffb6.
   Animations gate on prefers-reduced-motion at the bottom.
   ============================================================ */

/* ---------- Tokens & base ---------- */
:root {
  --abyss: #000000;
  --carbon: #0c120e;   /* green-tinted near-black: separates cards/bands from the page */
  --volt: #a3ff4a;
  --volt-dim: rgba(163, 255, 74, 0.14);
  --volt-edge: rgba(163, 255, 74, 0.22);
  --mint: #ecffb6;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-nav: cubic-bezier(0.645, 0.045, 0.355, 1);
  --maxw: 1600px;
  --pad: 1.5rem;
  --pad-md: 2.5rem;
  --sec: 7rem;            /* py-28 */
  --sec-md: 10rem;        /* md:py-40 */
  --font-display: Anton, Avenir Next, Arial, sans-serif;
  --font-sans: Archivo, system-ui, sans-serif;
  --font-mono: ui-monospace, SF Mono, Menlo, monospace;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 90px; }
@media (min-width: 768px) { html { scroll-padding-top: 100px; } }

html.lock { overflow: hidden; }

body {
  background: #000000;
  color: var(--mint);
  overflow-x: clip;
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
}

::selection { background: var(--volt); color: var(--abyss); }

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

button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
a { color: inherit; text-decoration: none; }

:focus-visible { outline: 2px solid var(--volt); outline-offset: 3px; }

/* Tokens via CSS var() */
.container { max-width: var(--maxw); margin-inline: auto; padding-inline: var(--pad); }
@media (min-width: 768px) { .container { padding-inline: var(--pad-md); } }

/* Typography ---------- */
.font-display { font-family: var(--font-display); font-weight: 400; }
.uppercase { text-transform: uppercase; }
.text-volt { color: var(--volt); }

.display-hero {
  font-family: var(--font-display);
  font-size: clamp(3rem, 7.5vw, 7.5rem);
  line-height: 0.95;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}
.display-section {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 5rem);
  line-height: 1;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}
/* Volt rule beneath section headings echoes the reel title cards, keeping
   the film-strip motif consistent from the showreel into the site. */
.display-section::after {
  content: "";
  display: block;
  width: 3.5rem;
  height: 4px;
  margin-top: 1.5rem;
  background: var(--volt);
}

/* Skip link ---------- */
.skip-link {
  position: absolute;
  left: -999px;
  top: 1rem;
  z-index: 200;
  padding: 0.5rem 1rem;
  background: var(--volt);
  color: var(--abyss);
}
.skip-link:focus { left: 1rem; }

/* Scroll progress bar (feature 8) ---------- */
#scroll-bar {
  position: fixed;
  inset: 0 0 auto 0;
  height: 3px;
  z-index: 110;
  background: var(--volt);
  transform-origin: left;
  width: 0%;
  transition: width 0.1s linear;
}

/* ---------- Navbar ---------- */
.site-header {
  --gutter: 1rem;
  position: fixed;
  inset: var(--gutter) var(--gutter) auto;
  z-index: 120;
  pointer-events: none;
  padding: 0.5rem 0.75rem;
  border: 1px solid rgba(236, 255, 182, 0.14);
  border-radius: 14px;
  background: rgba(4, 8, 6, 0.55);
  -webkit-backdrop-filter: blur(30px) saturate(140%);
  backdrop-filter: blur(30px) saturate(140%);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  animation: nav-drop 0.9s var(--ease-nav) both 0.15s;
  transition: background 0.5s var(--ease-nav), box-shadow 0.5s var(--ease-nav),
              border-color 0.5s var(--ease-nav);
}
@media (min-width: 768px) { .site-header { --gutter: 1.5rem; padding: 0.625rem 1.25rem; } }
@media (min-width: 1280px) { .site-header { --gutter: 2rem; } }
.site-header.is-stuck {
  background: rgba(4, 8, 6, 0.86);
  border-color: var(--volt-edge);
  box-shadow: 0 14px 44px rgba(0, 0, 0, 0.62), inset 0 1px 0 rgba(255, 255, 255, 0.07);
}
body:has(.mmenu.is-open) .site-header {
  background: var(--carbon);
  border-color: rgba(236, 255, 182, 0.14);
  box-shadow: none;
}
@keyframes nav-drop { from { transform: translate3d(0, -200%, 0); } to { transform: translate3d(0, 0, 0); } }

.nav { display: flex; align-items: center; justify-content: space-between; gap: 1.25rem; max-width: none; padding-inline: 0; }
.nav > * { pointer-events: auto; }

.logo {
  font-family: var(--font-display);
  font-size: 1.125rem;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #fff;
  transition: color 0.3s;
}
.logo:hover { color: var(--volt); }
@media (min-width: 768px) { .logo { font-size: 1.25rem; } }

/* mono nav rail */
.nav-links { display: none; align-items: center; gap: 0.125rem; list-style: none; }
@media (min-width: 768px) { .nav-links { display: flex; } }
.nav-links li { display: flex; }
.nav-links a {
  position: relative;
  padding: 0.5rem 0.75rem;
  border-radius: 8px;
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  line-height: 1.35;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.86);
  transition: color 0.25s var(--ease-nav);
}
.nav-links a::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 8px;
  background: var(--volt-dim);
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 0.25s var(--ease-nav), transform 0.25s var(--ease-nav);
}
.nav-links a:hover,
.nav-links a:focus-visible { color: #fff; }
.nav-links a:hover::before,
.nav-links a:focus-visible::before { opacity: 1; transform: scale(1); }
.nav-links a[aria-current="page"] { color: var(--volt); }
.nav-links a[aria-current="page"]::before { opacity: 1; transform: scale(1); background: var(--volt-dim); }

/* per-letter entrance */
.nav-links .w { display: inline-block; white-space: nowrap; }
.nav-links .l {
  display: inline-block;
  transform: translate3d(0, -110%, 0);
  animation: letter-drop 0.5s var(--ease-nav) both;
  animation-delay: calc(0.5s + var(--j) * 0.028s);
}
@keyframes letter-drop { to { transform: translate3d(0, 0, 0); } }

/* availability readout */
.nav-status {
  display: none;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  line-height: 1.35;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(236, 255, 182, 0.7);
  white-space: nowrap;
  transition: color 0.3s;
}
@media (min-width: 1024px) { .nav-status { display: block; } }
.nav-status::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 0.5rem;
  border-radius: 50%;
  background: var(--volt);
  animation: pulse-dot 2.4s ease-out infinite;
}
@keyframes pulse-dot {
  0% { box-shadow: 0 0 0 0 rgba(163, 255, 74, 0.55); }
  70% { box-shadow: 0 0 0 7px rgba(163, 255, 74, 0); }
  100% { box-shadow: 0 0 0 0 rgba(163, 255, 74, 0); }
}
.nav-status:hover { color: var(--volt); }

.footer-nav a, .footer-link {
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: rgba(236, 255, 182, 0.7);
  transition: color 0.3s;
}
.footer-nav a:hover, .footer-link:hover { color: var(--volt); }

/* burger */
.menu-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  flex-shrink: 0;
  border-radius: 8px;
  color: #fff;
  transition: background-color 0.25s var(--ease-nav);
}
.menu-btn:hover { background: var(--volt-dim); }
@media (min-width: 768px) { .menu-btn { display: none; } }
.burger { display: block; width: 12px; height: 12px; }
.burger-inner {
  position: relative;
  display: block;
  width: 12px;
  height: 12px;
  transition: transform 0.25s var(--ease-nav);
}
.burger-inner > span {
  position: absolute;
  width: 4px;
  height: 4px;
  transition: transform 0.25s var(--ease-nav);
}
.burger-inner > span::before {
  content: "";
  position: absolute;
  inset: 0;
  background: currentColor;
  transition: transform 0.25s var(--ease-nav);
}
.burger-inner > span:nth-child(1) { top: 0; left: 0; }
.burger-inner > span:nth-child(2) { top: 0; right: 0; }
.burger-inner > span:nth-child(3) { bottom: 0; left: 0; }
.burger-inner > span:nth-child(4) { bottom: 0; right: 0; }
.menu-btn:hover .burger-inner > span:nth-child(1) { transform: translate3d(25%, 25%, 0); }
.menu-btn:hover .burger-inner > span:nth-child(2) { transform: translate3d(-25%, 25%, 0); }
.menu-btn:hover .burger-inner > span:nth-child(3) { transform: translate3d(25%, -25%, 0); }
.menu-btn:hover .burger-inner > span:nth-child(4) { transform: translate3d(-25%, -25%, 0); }
.menu-btn[aria-expanded="true"] .burger-inner { transform: rotate(90deg); }
.menu-btn[aria-expanded="true"] .burger-inner > span::before { transform: rotate(45deg); }

/* Mobile menu overlay */
.mmenu {
  position: fixed;
  inset: 0;
  z-index: 110;
  display: flex;
  flex-direction: column;
  background: var(--carbon);
  clip-path: inset(0 0 100% 0);
  transition: clip-path 0.7s var(--ease);
}
.mmenu.is-open { clip-path: inset(0 0 0 0); }
.mmenu-nav {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.25rem;
  padding: 7rem 1.5rem 2rem;
}
@media (min-width: 768px) { .mmenu-nav { padding-inline: 4rem; } }
.mmenu-item { overflow: hidden; }
.mmenu-link {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.5rem 0;
  text-align: left;
  font-family: var(--font-display);
  font-size: 3rem;
  line-height: 1.05;
  text-transform: uppercase;
  color: var(--mint);
  transition: color 0.3s, transform 0.6s var(--ease);
  transform: translateY(110%);
}
.mmenu.is-open .mmenu-link { transform: translateY(0); transition-delay: calc(0.15s + var(--i) * 0.06s); }
@media (min-width: 768px) { .mmenu-link { font-size: 4.5rem; } }
.mmenu-link:hover { color: var(--volt); }
.mmenu-link svg { opacity: 0; transition: opacity 0.3s; }
.mmenu-link:hover svg { opacity: 1; }
.mmenu-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  border-top: 1px solid rgba(236, 255, 182, 0.15);
  padding: 2rem 1.5rem;
  font-size: 0.875rem;
  color: rgba(236, 255, 182, 0.7);
  flex-direction: column;
  text-align: left;
}
@media (min-width: 768px) { .mmenu-foot { padding-inline: 4rem; flex-direction: row; text-align: right; } }
.mmenu-foot .right { text-align: left; }
@media (min-width: 768px) { .mmenu-foot .right { text-align: right; } }

/* Film grain overlay */
.noise-overlay {
  position: fixed;
  inset: -50%;
  z-index: 95;
  pointer-events: none;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 8s steps(10) infinite;
}
@keyframes grain { 0%, 100% { transform: translate(0, 0); }
  10% { transform: translate(-5%, -10%); }
  20% { transform: translate(-15%, 5%); }
  30% { transform: translate(7%, -25%); }
  40% { transform: translate(-5%, 25%); }
  50% { transform: translate(-15%, 10%); }
  60% { transform: translate(15%, 0); }
  70% { transform: translate(0, 15%); }
  80% { transform: translate(3%, 35%); }
  90% { transform: translate(-10%, 10%); } }

/* Hero */
.hero { position: relative; display: flex; align-items: flex-end; min-height: 100dvh; overflow: hidden; }
.parallax-bg { position: absolute; inset: -1rem; will-change: transform; }
/* Two stacked video layers: the incoming clip fades in on top of the outgoing
   one, so the hero dissolves between jobs instead of hard-cutting. */
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; background: #0c120e center / cover no-repeat; opacity: 0; transition: opacity 1.1s var(--ease); z-index: 1; }
.hero-video.is-front { opacity: 1; }
.hero-gradient-1 { position: absolute; inset: 0; z-index: 3; background: linear-gradient(to top, var(--abyss) 0%, rgba(0, 0, 0, 0.66) 42%, rgba(9, 26, 15, 0.5) 100%); }
.hero-gradient-2 { position: absolute; inset: 0; z-index: 3; background: radial-gradient(ellipse at 50% 34%, rgba(163, 255, 74, 0.08) 0%, rgba(163, 255, 74, 0) 46%), radial-gradient(ellipse at center, rgba(0, 0, 0, 0) 44%, rgba(0, 0, 0, 0.6) 100%); }
.hero-content { position: relative; z-index: 10; width: 100%; max-width: var(--maxw); margin-inline: auto; padding: 8rem var(--pad) 6rem; will-change: transform; }
@media (min-width: 768px) { .hero-content { padding: 8rem var(--pad-md) 7rem; } }
.hero-content { animation: hero-in 1.1s var(--ease) both; }
@keyframes hero-in { from { opacity: 0; transform: scale(0.96); } to { opacity: 1; transform: scale(1); } }
.hero-line { display: block; overflow: hidden; }
.hero-line > span { display: block; transform: translateY(110%); animation: line-up 1s var(--ease) both; animation-delay: var(--ld); }
@keyframes line-up { to { transform: translateY(0%); } }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; margin-top: 2.5rem; opacity: 0; animation: fade-up 0.8s var(--ease) both; animation-delay: var(--ad); }
@keyframes fade-up { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; border-radius: 999px; padding: 1rem 2rem; font-size: 0.875rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.14em; transition: background-color 0.3s, border-color 0.3s, color 0.3s, transform 0.25s var(--ease); user-select: none; -webkit-user-select: none; }
.btn-solid { background: var(--volt); color: var(--abyss); }
.btn-solid:hover { background: var(--mint); }
.btn-ghost { border: 1px solid rgba(163, 255, 74, 0.4); color: var(--mint); }
.btn-ghost:hover { border-color: var(--volt); background: rgba(163, 255, 74, 0.1); }
/* tactile press: a physical key feel so the CTA answers the click, not just the hover */
.btn:active { transform: scale(0.98); }

/* Floating arrow */
#float-arrow { position: fixed; bottom: 1.75rem; left: 50%; transform: translateX(-50%); z-index: 40; color: rgba(236, 255, 182, 0.7); display: none; opacity: 0; animation: fade-up 0.8s var(--ease) both; animation-delay: 1.6s; transition: color 0.3s, opacity 0.4s var(--ease), visibility 0.4s; pointer-events: auto; }
#float-arrow:hover { color: var(--volt); }
/* Wayfinding only: once the reader leaves the hero the cue retires. */
#float-arrow.is-hidden { opacity: 0; visibility: hidden; pointer-events: none; }
@media (min-width: 768px) { #float-arrow { display: block; } }
#float-arrow .arrow-inner { animation: float 2.2s ease-in-out infinite; transition: transform 0.3s var(--ease); }
#float-arrow:hover .arrow-inner { transform: scale(1.15); }
#float-arrow:active .arrow-inner { transform: scale(0.95); }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* Sections */
section { position: relative; padding-block: var(--sec); }
@media (min-width: 768px) { section { padding-block: var(--sec-md); } }

/* Clients marquee */
.clients { border-block: 1px solid rgba(236, 255, 182, 0.15); background: var(--carbon); padding-block: 3.5rem; }
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent); mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent); }
.marquee-track { display: flex; width: max-content; align-items: center; animation: marquee 45s linear infinite; }
.marquee-track .contents { display: contents; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
.marquee-item { display: flex; align-items: center; gap: 0.75rem; margin-inline: 2.5rem; color: rgba(236, 255, 182, 0.45); transition: color 0.3s; }
.marquee-item:hover { color: var(--volt); }
.marquee-logo { height: 34px; width: calc(34px * var(--ar)); flex: none; background: currentColor; -webkit-mask: var(--logo) center / contain no-repeat; mask: var(--logo) center / contain no-repeat; }
.marquee-name { font-family: var(--font-display); font-size: 1.5rem; text-transform: uppercase; letter-spacing: 0.06em; white-space: nowrap; }

/* About ---------- */
.about-grid { display: grid; gap: 3rem; }
@media (min-width: 768px) { .about-grid { grid-template-columns: repeat(12, 1fr); } }
.about-heading { font-family: var(--font-display); font-size: 3rem; line-height: 1; letter-spacing: 0.01em; text-transform: uppercase; position: sticky; top: 8rem; }
@media (min-width: 768px) { .about-heading { grid-column: span 4; font-size: 4.5rem; } }
.about-body { margin-top: 0; }
@media (min-width: 768px) { .about-body { grid-column: 7 / span 6; margin-left: 0; } }
.about-lead { max-width: 52ch; font-size: 1.5rem; font-weight: 300; line-height: 1.375; color: rgba(236, 255, 182, 0.9); }
@media (min-width: 768px) { .about-lead { font-size: 2.25rem; } }
.stats-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; margin-top: 4rem; }
@media (min-width: 640px) { .stats-grid { grid-template-columns: repeat(3, 1fr); } }
.stat { border-top: 1px solid rgba(236, 255, 182, 0.2); padding-top: 1.25rem; }
.stat-value { font-family: var(--font-display); font-size: clamp(1.5rem, 2.6vw, 2.25rem); line-height: 1.05; color: var(--volt); }
.stat-label { margin-top: 0.5rem; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.2em; color: rgba(236, 255, 182, 0.6); }
@media (min-width: 768px) { .stat-label { font-size: 0.75rem; } }

/* Services accordion */
.divide-y { border-block: 1px solid rgba(236, 255, 182, 0.15); }
.divide-y > * + * { border-top: 1px solid rgba(236, 255, 182, 0.15); }
.svc-toggle { display: flex; align-items: center; gap: 1.5rem; width: 100%; padding: 1.75rem 0; text-align: left; }
@media (min-width: 768px) { .svc-toggle { gap: 3rem; padding: 2.25rem 0; } }
.svc-title { flex: 1; font-family: var(--font-display); font-size: 1.875rem; line-height: 1; letter-spacing: 0.01em; text-transform: uppercase; color: rgba(236, 255, 182, 0.5); transition: color 0.3s; }
@media (min-width: 768px) { .svc-title { font-size: 3.75rem; } }
.svc-item:hover .svc-title, .svc-item.is-open .svc-title { color: var(--mint); }
.svc-icon { flex: none; display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(236, 255, 182, 0.3); color: var(--mint); transition: transform 0.4s var(--ease), background-color 0.3s, border-color 0.3s, color 0.3s; }
@media (min-width: 768px) { .svc-icon { width: 48px; height: 48px; } }
.svc-item:hover .svc-icon, .svc-item.is-open .svc-icon { transform: rotate(45deg); border-color: var(--volt); background: var(--volt); color: var(--abyss); }
.svc-body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.5s var(--ease); }
.svc-item:hover .svc-body, .svc-item.is-open .svc-body { grid-template-rows: 1fr; }
.svc-body-inner { overflow: hidden; }
.svc-desc { max-width: 52ch; padding: 0 0 1.5rem; font-size: 1rem; font-weight: 300; line-height: 1.625; color: rgba(236, 255, 182, 0.7); opacity: 0; transition: opacity 0.7s; }
@media (min-width: 768px) { .svc-desc { font-size: 1.125rem; } }
.svc-item:hover .svc-desc, .svc-item.is-open .svc-desc { opacity: 1; }
.svc-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; list-style: none; padding: 0 0 2rem; }
.svc-tags li { border: 1px solid rgba(163, 255, 74, 0.3); border-radius: 999px; padding: 0.375rem 1rem; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.14em; color: rgba(236, 255, 182, 0.75); }

/* Works slider */
.works-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 2rem; }
.works-nav { display: flex; gap: 0.75rem; }
.works-nav-btn { display: flex; align-items: center; justify-content: center; width: 56px; height: 56px; border-radius: 50%; border: 1px solid rgba(236, 255, 182, 0.3); color: var(--mint); transition: background-color 0.3s, border-color 0.3s, color 0.3s; }
.works-nav-btn:hover { border-color: var(--volt); background: var(--volt); color: var(--abyss); }
.works-stage { position: relative; aspect-ratio: 4 / 3; margin-top: 4rem; overflow: hidden; border-radius: 0.75rem; }
@media (min-width: 640px) { .works-stage { aspect-ratio: 16 / 9; } }
.ws-slide { position: absolute; inset: 0; opacity: 0; transform: translateX(var(--x, 60%)); transition: transform 0.7s var(--ease), opacity 0.7s var(--ease); pointer-events: none; }
.ws-slide.is-active { opacity: 1; transform: none; pointer-events: auto; }
.ws-slide.out-right { transform: translateX(60%); opacity: 0; }
.ws-slide.out-left { transform: translateX(-60%); opacity: 0; }
.ws-media { position: absolute; inset: 0; }
.ws-media img, .ws-media video { width: 100%; height: 100%; object-fit: cover; }
.ws-media img { transition: transform 0.7s var(--ease), opacity 0.4s var(--ease); }
/* Clip sits on top of the still and fades in only once playback starts,
   so there is never a black flash between poster and first frame. */
.ws-media video { position: absolute; inset: 0; opacity: 0; transition: opacity 0.45s var(--ease); }
.ws-slide.is-playing .ws-media video { opacity: 1; }
.ws-slide.is-playing .ws-media img { opacity: 0; }
.ws-slide.is-active:hover .ws-media img { transform: scale(1.05); }
/* Portrait (9:16) reels: shown full-frame, centred on a clean solid backdrop -
   no blur behind the clip. */
.ws-slide.is-portrait .ws-media { background: var(--abyss); }
.ws-slide.is-portrait .ws-media img,
.ws-slide.is-portrait .ws-media video { object-fit: contain; }
/* Featured brand slide: volt frame + badge, distinct from client work.
   Portrait poster stays contain-centred inside the frame. */
.ws-slide.is-featured { box-shadow: inset 0 0 0 2px var(--volt); }
.ws-badge { position: absolute; top: 1.5rem; left: 1.5rem; z-index: 2; padding: 0.375rem 0.75rem; border-radius: 999px; background: var(--volt); color: var(--abyss); font-family: var(--font-mono); font-size: 0.625rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; }
.ws-slide.is-featured.is-playing .ws-badge { opacity: 0; transition: opacity 0.4s var(--ease); }
/* Play affordance: shows on hover, hides the moment the clip runs. */
.ws-play { position: absolute; top: 1.5rem; right: 1.5rem; display: flex; align-items: center; gap: 0.5rem; padding: 0.5rem 0.875rem; border-radius: 999px; border: 1px solid var(--volt-edge); background: rgba(0, 0, 0, 0.55); font-size: 0.6875rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--volt); opacity: 0; transform: translateY(-6px); transition: opacity 0.4s var(--ease), transform 0.4s var(--ease); pointer-events: none; }
.ws-play-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--volt); animation: pulse-dot 2.4s ease-out infinite; }
.ws-slide.is-active:hover .ws-play { opacity: 1; transform: none; }
/* Same specificity as the hover rule above, declared later so it wins:
   the hint must vanish the instant the clip is running. */
.ws-slide.is-active.is-playing .ws-play { opacity: 0; transform: translateY(-6px); }
.ws-shade { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.2) 50%, transparent 100%); }
/* Cursor spotlight over the footage: a cheap radial light that tracks the pointer,
   echoing the lamp rig in the studio cards. Two custom props set from JS. */
.ws-glow { position: absolute; inset: 0; z-index: 1; pointer-events: none; opacity: 0; background: radial-gradient(520px circle at var(--mx, 50%) var(--my, 50%), rgba(163, 255, 74, 0.14), transparent 62%); transition: opacity 0.4s var(--ease); }
.ws-slide.is-active:hover .ws-glow { opacity: 1; }
@media (hover: none), (pointer: coarse) { .ws-glow { display: none; } }
.ws-caption { position: absolute; bottom: 1.5rem; left: 1.5rem; right: 1.5rem; display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 0.75rem; }
.ws-meta { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.24em; color: var(--volt); }
.ws-title { margin-top: 0.25rem; font-family: var(--font-display); font-size: 2.25rem; line-height: 1; text-transform: uppercase; }
@media (min-width: 768px) { .ws-title { font-size: 3.75rem; } }
.ws-year { font-family: var(--font-mono); font-size: 0.875rem; color: rgba(236, 255, 182, 0.8); }

/* Gallery slide (photo-only project): stills stack in the frame and
   cross-fade, dressed with the same chrome as the clip slides. */
.ws-slide.is-gallery { cursor: zoom-in; outline: none; }
.ws-slide.is-gallery:focus-visible { outline: 2px solid var(--volt); outline-offset: -2px; }
.ws-gallery img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1.2s var(--ease), transform 0.7s var(--ease); }
.ws-gallery img.is-on { opacity: 1; }
.ws-gallery img.is-portrait { object-position: 50% 25%; }
.ws-count { position: absolute; top: 1.5rem; left: 1.5rem; z-index: 2; padding: 0.375rem 0.75rem; border-radius: 999px; border: 1px solid var(--volt-edge); background: rgba(0, 0, 0, 0.55); font-family: var(--font-mono); font-size: 0.6875rem; letter-spacing: 0.18em; color: var(--mint); transition: opacity 0.4s var(--ease); }
.ws-slide.is-gallery.is-playing .ws-count { opacity: 0; }
.ws-count-now { color: var(--volt); }
@media (prefers-reduced-motion: reduce) { .ws-gallery img { transition: none; } }

/* Lightbox - click a still to view it full-screen */
.lightbox { position: fixed; inset: 0; z-index: 300; display: flex; align-items: center; justify-content: center; padding: clamp(1rem, 4vw, 2.5rem); background: rgba(0, 0, 0, 0.92); opacity: 0; visibility: hidden; transition: opacity 0.35s var(--ease), visibility 0.35s; }
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 0.375rem; box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6); }
.lightbox-close { position: absolute; top: 1.25rem; right: 1.25rem; width: 2.75rem; height: 2.75rem; display: grid; place-items: center; border: 1px solid rgba(236, 255, 182, 0.3); border-radius: 50%; background: rgba(12, 18, 14, 0.8); color: var(--mint); font-size: 1rem; cursor: pointer; transition: background 0.25s var(--ease), transform 0.25s var(--ease), border-color 0.25s var(--ease); }
.lightbox-close:hover { background: var(--volt); color: var(--abyss); border-color: var(--volt); transform: rotate(90deg); }
@media (prefers-reduced-motion: reduce) { .lightbox, .lightbox-close { transition: none; } }

/* Process ---------- */
.process-grid { display: grid; gap: 3.5rem 2.5rem; margin-top: 4rem; list-style: none; }
@media (min-width: 640px) { .process-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .process-grid { grid-template-columns: repeat(3, 1fr); } }
.process-item { border-top: 1px solid rgba(236, 255, 182, 0.2); padding-top: 2rem; }
.process-step { font-family: var(--font-display); font-size: 3rem; line-height: 1; color: var(--volt); }
@media (min-width: 768px) { .process-step { font-size: 3.75rem; } }
.process-title { margin-top: 1.5rem; font-family: var(--font-display); font-size: 1.875rem; text-transform: uppercase; letter-spacing: 0.01em; }
.process-desc { margin-top: 1rem; max-width: 42ch; font-size: 1rem; font-weight: 300; line-height: 1.625; color: rgba(236, 255, 182, 0.75); }

/* Why us ---------- */
.principles-list { margin-top: 4rem; border-block: 1px solid rgba(236, 255, 182, 0.15); }
.principles-list > * + * { border-top: 1px solid rgba(236, 255, 182, 0.15); }
.principle { display: grid; gap: 1rem; padding: 2.5rem 0; }
@media (min-width: 768px) { .principle { grid-template-columns: repeat(12, 1fr); gap: 3rem; } }
.principle-title { font-family: var(--font-display); font-size: 1.875rem; line-height: 1; text-transform: uppercase; letter-spacing: 0.01em; }
@media (min-width: 768px) { .principle-title { grid-column: span 5; font-size: 3rem; } }
.principle-desc { max-width: 56ch; font-size: 1rem; font-weight: 300; line-height: 1.625; color: rgba(236, 255, 182, 0.75); }
@media (min-width: 768px) { .principle-desc { grid-column: span 7; font-size: 1.125rem; } }

/* Testimonials ---------- */
.t-grid { display: grid; gap: 1.5rem; margin-top: 4rem; }
@media (min-width: 768px) { .t-grid { grid-template-columns: repeat(auto-fit, minmax(18rem, 1fr)); } }
.t-card { display: flex; flex-direction: column; justify-content: space-between; border: 1px solid rgba(236, 255, 182, 0.15); border-radius: 0.75rem; background: var(--carbon); padding: 2rem 2.5rem; }
.t-card .t-quote { margin-top: 1.5rem; max-width: 46ch; font-size: 1.25rem; font-weight: 300; line-height: 1.375; color: rgba(236, 255, 182, 0.9); }
@media (min-width: 768px) { .t-card .t-quote { font-size: 1.5rem; } }
.t-quote { color: var(--volt); }
.t-person { display: flex; align-items: center; gap: 1rem; margin-top: 2.5rem; }
.t-monogram { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--volt); color: var(--abyss); font-family: var(--font-display); font-size: 1.25rem; }
.t-name { font-size: 0.875rem; font-weight: 600; }
.t-role { font-size: 0.875rem; color: rgba(236, 255, 182, 0.6); }

/* CTA ---------- */
.cta { padding-block: 9rem; text-align: center; }
@media (min-width: 768px) { .cta { padding-block: 14rem; } }
.cta-heading { max-width: 16ch; margin-inline: auto; font-family: var(--font-display); font-size: clamp(3rem, 9vw, 7.5rem); line-height: 0.95; letter-spacing: 0.01em; text-transform: uppercase; }
.cta-sub { margin: 2rem auto 0; max-width: 48ch; font-size: 1rem; font-weight: 300; line-height: 1.625; color: rgba(236, 255, 182, 0.75); }
.cta-actions { margin-top: 3rem; display: flex; justify-content: center; }

/* Footer ---------- */
.site-footer { border-top: 1px solid rgba(236, 255, 182, 0.15); background: var(--carbon); }
.footer-grid { display: flex; flex-direction: column; gap: 2.5rem; padding-block: 3.5rem; }
@media (min-width: 768px) { .footer-grid { flex-direction: row; align-items: flex-start; justify-content: space-between; } }
.footer-brand { font-family: var(--font-display); font-size: 1.5rem; text-transform: uppercase; letter-spacing: 0.08em; }
.footer-tag { margin-top: 0.75rem; max-width: 32ch; font-size: 0.875rem; color: rgba(236, 255, 182, 0.6); }
.footer-nav { display: flex; flex-direction: column; gap: 0.5rem; }
.footer-contact { display: flex; flex-direction: column; gap: 0.5rem; font-size: 0.875rem; color: rgba(236, 255, 182, 0.7); text-align: left; }
@media (min-width: 768px) { .footer-contact { text-align: right; } }
.footer-social { display: flex; gap: 1rem; }
@media (min-width: 768px) { .footer-social { justify-content: flex-end; } }
.footer-copy { border-top: 1px solid rgba(236, 255, 182, 0.1); padding-top: 1.5rem; margin-top: 3rem; font-size: 0.75rem; color: rgba(236, 255, 182, 0.4); }

/* Reveal blocks */
.reveal-block { opacity: 0; transform: translateY(24px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal-block.in-view { opacity: 1; transform: translateY(0); }
[data-delay] { transition-delay: var(--d, 0s); }

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .noise-overlay,
  .marquee-track,
  .nav-status::before,
  #float-arrow .arrow-inner,
  .hero-content,
  .hero-actions,
  .hero-line > span,
  .site-header,
  .nav-links .l,
  .mmenu { animation: none !important; }
  .hero-content, .hero-actions, .hero-line > span,
  .site-header, .nav-links .l { opacity: 1 !important; transform: none !important; }
  .mmenu { clip-path: inset(0 0 100% 0); }
  .mmenu.is-open { clip-path: inset(0); }
  .mmenu-link { transform: none; }
  .ws-slide { transition-duration: 0.01ms; }
  .reveal-block { opacity: 1; transform: none; transition: none; }
  * { transition-duration: 0.01ms !important; }
}
