/* Cinematic hero + landing intro (Phase 1) */

/* --- Commerce hero (Rentals, Shop) — atmospheric, catalog-first ---
   Not a full-viewport video hero: these visitors are browsing gear, not
   being sold on credibility, so the catalog stays close to the fold.
   Left-aligned title deliberately avoids the centered hero-plus-CTA
   formula. The glow lives on .commerce-atmosphere (the shared page
   wrapper, see below), not on this section alone — that lets it fade
   continuously across the hero and down into the catalog instead of
   stopping at a hard box edge. */
.commerce-hero {
  position: relative;
  overflow: hidden; /* clips the .grain texture layer only */
  padding: clamp(3.5rem, 9vw, 6rem) clamp(1.25rem, 4vw, 3.5rem) clamp(2.75rem, 6vw, 4.5rem);
}

/* Let the glow run full-bleed behind the transparent header (matches
   body.hero-cinematic main.site-content { padding-top: 0 } elsewhere in
   this file) — only the text content needs pushing clear of the nav. */
body.hero-cinematic .commerce-hero {
  padding-top: clamp(7.5rem, 15vh, 10.5rem);
}

/* Shared glow layer for Rentals/Shop — spans from behind the header down
   through the hero and well into the catalog, fading to transparent (not
   clipped) so it blends into --color-bg-base with no visible seam. */
.commerce-atmosphere {
  position: relative;
}

.commerce-atmosphere::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: clamp(900px, 130vh, 1500px);
  background:
    radial-gradient(ellipse 55% 40% at 22% 10%, color-mix(in srgb, var(--color-accent) 22%, transparent), transparent 65%),
    radial-gradient(ellipse 50% 38% at 72% 26%, color-mix(in srgb, var(--color-accent) 14%, transparent), transparent 68%),
    radial-gradient(ellipse 58% 40% at 45% 50%, color-mix(in srgb, var(--color-accent) 9%, transparent), transparent 70%);
  filter: blur(60px);
  animation: commerce-hero-drift 24s ease-in-out infinite alternate;
  pointer-events: none;
  z-index: 0;
}

.commerce-atmosphere > * {
  position: relative;
  z-index: 1;
}

@keyframes commerce-hero-drift {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-2.5%, 2%) scale(1.06); }
  100% { transform: translate(2%, -1.5%) scale(1.03); }
}

.commerce-hero-inner {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  animation: hero-content-load var(--duration-tape-load) var(--ease-tactile) both;
}

.commerce-hero .section-title {
  text-align: left;
  margin-bottom: 1.25rem;
  max-width: 16ch;
}

.commerce-hero .section-title span {
  margin-bottom: 0.65rem;
}

.commerce-hero-lead {
  font-size: clamp(1rem, 1.3vw, 1.1rem);
  color: var(--color-text-secondary);
  max-width: 48ch;
  line-height: 1.65;
}

/* Cross-link to sibling divisions, doubling as the "need more than gear?"
   secondary CTA — a text line, not a competing form or button, so it never
   fights with the cart/quote flow lower on the page. */
.commerce-hero-crosslink {
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--color-card-border);
  font-size: 0.9rem;
  color: var(--color-text-secondary);
  max-width: 48ch;
}

.commerce-hero-crosslink a {
  color: var(--color-accent);
  text-decoration: underline;
  text-decoration-color: rgba(var(--color-accent-rgb), 0.35);
  text-underline-offset: 0.2em;
  transition: text-decoration-color var(--transition-fast);
}

.commerce-hero-crosslink a:hover {
  text-decoration-color: var(--color-accent);
}

@media (max-width: 767px) {
  .commerce-hero .section-title {
    max-width: none;
  }
}

/* --- Full-viewport hero (Filmworks, Live) --- */
body.hero-cinematic main.site-content {
  padding-top: 0;
}

body.hero-cinematic header.site-header {
  background-color: transparent;
  border-bottom-color: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

body.hero-cinematic header.site-header.is-scrolled {
  background-color: color-mix(in srgb, var(--color-bg-base) 88%, transparent);
  border-bottom-color: var(--color-card-border);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.hero-reel--cinematic {
  position: relative;
  height: 100dvh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  background: #000;
  overflow: hidden;
  padding-bottom: clamp(1.25rem, 3vh, 2rem);
}

.hero-reel--cinematic::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(to bottom, rgba(0, 0, 0, 0.45) 0%, transparent 28%),
    linear-gradient(to top, rgba(0, 0, 0, 0.82) 0%, rgba(0, 0, 0, 0.25) 45%, transparent 72%);
  pointer-events: none;
}

.hero-reel--cinematic::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: clamp(100px, 20vh, 260px);
  z-index: 2;
  background: linear-gradient(
    to bottom,
    transparent 0%,
    color-mix(in srgb, var(--color-bg-base) 40%, transparent) 50%,
    var(--color-bg-base) 100%
  );
  pointer-events: none;
}

.hero-reel--cinematic .hero-reel-video,
.hero-reel--cinematic .hero-reel-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  transform: scale(calc(1.08 - var(--hero-scroll, 0) * 0.08));
  will-change: transform;
}


.hero-reel--cinematic .hero-reel-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: min(92vw, 960px);
  padding: clamp(5rem, 12vh, 8rem) 2rem clamp(1rem, 3vh, 1.5rem);
  flex-shrink: 0;
  animation: hero-content-load var(--duration-tape-load) var(--ease-tactile) both;
}

/* A tape loading in, not a generic fade — settles with a focus-pull
   (blur clears before the motion finishes) rather than a plain opacity
   tween. prefers-reduced-motion is already handled globally (forces
   animation-duration to 0.01ms), which collapses this to its end state. */
@keyframes hero-content-load {
  0% {
    opacity: 0;
    transform: translateY(14px);
    filter: blur(6px);
  }
  60% {
    filter: blur(0);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

.hero-reel--cinematic .hero-tagline {
  font-size: clamp(0.7rem, 1.4vw, 0.85rem);
  text-transform: uppercase;
  letter-spacing: 0.35em;
  color: var(--color-accent);
  margin-bottom: 1rem;
  display: block;
}

.hero-reel--cinematic .hero-title {
  font-size: clamp(2rem, 5.5vw, 4rem);
  font-weight: 700;
  text-transform: none;
  letter-spacing: -0.03em;
  margin-bottom: 1.75rem;
  line-height: 1.05;
  max-width: none;
  text-shadow: 0 4px 40px rgba(0, 0, 0, 0.55);
}

.hero-reel-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.75rem 1rem;
}

.hero-unmute-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.65rem 1.1rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.35);
  cursor: pointer;
  transition: border-color var(--transition-fast), background var(--transition-fast);
}

.hero-unmute-btn:hover {
  border-color: rgba(255, 255, 255, 0.5);
  background: rgba(0, 0, 0, 0.55);
}

.hero-unmute-btn.is-unmuted {
  color: var(--color-accent);
  border-color: rgba(var(--color-accent-rgb), 0.45);
}

.hero-scroll-cue {
  position: relative;
  z-index: 2;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  margin-top: clamp(0.75rem, 2vh, 1.25rem);
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  pointer-events: none;
}

.hero-scroll-cue::after {
  content: '';
  width: 1px;
  height: 2.5rem;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.5), transparent);
  animation: hero-scroll-pulse 2s ease-in-out infinite;
}

@keyframes hero-scroll-pulse {
  0%, 100% { opacity: 0.35; transform: scaleY(0.85); }
  50% { opacity: 1; transform: scaleY(1); }
}

/* --- Landing intro --- */
body.landing-page.is-intro-active {
  overflow: hidden;
}

.landing-intro {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #050507;
  transition: opacity 0.9s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.9s;
}

.landing-intro-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.landing-intro-lockup {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(0.75rem, 3vw, 1.25rem);
}

.landing-intro-mark {
  width: clamp(48px, 12vw, 64px);
  height: clamp(48px, 12vw, 64px);
  flex-shrink: 0;
  object-fit: contain;
  opacity: 0;
  transform: translateY(12px);
  animation: landing-intro-rise 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.15s forwards;
}

.landing-intro.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.landing-intro-logo {
  font-family: var(--font-display);
  font-size: clamp(2rem, 6vw, 3.25rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #fff;
  opacity: 0;
  transform: translateY(12px);
  animation: landing-intro-rise 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.15s forwards;
}

.landing-intro-tagline {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.45em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
  text-align: center;
  padding-left: 0.45em;
  opacity: 0;
  animation: landing-intro-fade 0.7s ease 0.55s forwards;
}

.landing-progress {
  width: min(120px, 30vw);
  height: 1px;
  background: rgba(255, 255, 255, 0.12);
  overflow: hidden;
  margin-top: 0.25rem;
}

.landing-progress::after {
  content: '';
  display: block;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #31e880, #ba8fff);
}

.landing-intro-progress::after {
  animation: landing-intro-bar 1.4s cubic-bezier(0.4, 0, 0.2, 1) 0.2s forwards;
}

body.landing-page.is-intro-ready .landing-logo-progress::after {
  animation: landing-intro-bar 1.2s cubic-bezier(0.4, 0, 0.2, 1) 0.15s forwards;
}

@keyframes landing-intro-rise {
  to { opacity: 1; transform: translateY(0); }
}

@keyframes landing-intro-fade {
  to { opacity: 1; }
}

@keyframes landing-intro-bar {
  to { width: 100%; }
}

body.landing-page .split-container,
body.landing-page .landing-header {
  opacity: 0;
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.1s;
}

body.landing-page.is-intro-ready .split-container,
body.landing-page.is-intro-ready .landing-header {
  opacity: 1;
}

/* --- Landing panel video backgrounds --- */
.panel-bg {
  position: absolute;
}

#panel-filmworks .panel-bg::after,
#panel-live .panel-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

#panel-filmworks .panel-bg::after {
  background: linear-gradient(135deg, rgba(7, 24, 22, 0.72), rgba(4, 12, 11, 0.82));
}

#panel-live .panel-bg::after {
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.72), rgba(0, 0, 0, 0.85));
}

.panel-bg-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.05);
  transition: transform var(--transition-slow);
  filter: grayscale(40%) brightness(35%);
}

.panel:hover .panel-bg-video {
  transform: scale(1);
  filter: grayscale(10%) brightness(55%);
}

.split-container:hover .panel .panel-bg-video {
  filter: grayscale(55%) brightness(42%);
}

.split-container .panel:hover .panel-bg-video {
  filter: grayscale(10%) brightness(55%);
}

@media (max-width: 768px) {
  .hero-reel--cinematic .hero-title {
    font-size: clamp(1.65rem, 7vw, 2.25rem);
  }

  .hero-reel--cinematic .hero-reel-content {
    padding-inline: 1.25rem;
    padding-bottom: clamp(0.75rem, 2vh, 1rem);
  }

  .hero-scroll-cue {
    display: none;
  }
}

/* --- Page depth (Filmworks, Live) --- */
body.hero-cinematic {
  position: relative;
  background-color: var(--color-bg-base);
}

body.hero-cinematic::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 70% 55% at 12% 18%, rgba(var(--color-accent-rgb), 0.09) 0%, transparent 58%),
    radial-gradient(ellipse 55% 45% at 88% 72%, rgba(var(--color-accent-rgb), 0.06) 0%, transparent 52%),
    radial-gradient(ellipse 40% 35% at 50% 100%, rgba(var(--color-accent-rgb), 0.04) 0%, transparent 60%);
}

body.hero-cinematic::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.028;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 180px 180px;
}

body.hero-cinematic main.site-content,
body.hero-cinematic header.site-header,
body.hero-cinematic footer.site-footer {
  position: relative;
  z-index: 1;
}

body.hero-cinematic .section-band {
  position: relative;
  isolation: isolate;
}

/* Contained to this section's own box (was: -5rem bleed to blend across
   section boundaries). Adjacent sections sit almost flush (margin-top:
   -0.5rem below), so two bleeding gradients add up right at the shared
   edge and show as a visible seam — containing both this wash and the
   grain below to inset:0 removes that doubling entirely. */
body.hero-cinematic .section-band::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    transparent 0%,
    rgba(var(--color-accent-rgb), 0.015) 10%,
    rgba(var(--color-accent-rgb), 0.04) 50%,
    rgba(var(--color-accent-rgb), 0.015) 90%,
    transparent 100%
  );
}

/* No per-section grain layer — body.hero-cinematic::after above already
   covers the whole page as a single fixed layer. */

body.hero-cinematic main.site-content > section + section {
  margin-top: -0.5rem;
}

body.hero-cinematic .container {
  padding-block: clamp(2rem, 5vw, 3.25rem);
}

body.hero-cinematic .section-title:not(.testimonials-heading) {
  margin-bottom: 2.25rem;
}

body.hero-cinematic .section-title:not(.testimonials-heading)::after {
  content: '';
  display: block;
  width: 2.75rem;
  height: 2px;
  margin: 1.1rem auto 0;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, var(--color-accent), transparent);
  opacity: 0.85;
}

body.hero-cinematic .glass-panel,
body.hero-cinematic .film-card,
body.hero-cinematic .video-gallery-item,
body.hero-cinematic .live-project-item,
body.hero-cinematic .process-step {
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.07),
    0 2px 8px rgba(0, 0, 0, 0.18),
    0 12px 40px rgba(0, 0, 0, 0.22);
}

body.hero-cinematic .reveal.active .service-ledger > *,
body.hero-cinematic .reveal.active .process-steps > *,
body.hero-cinematic .reveal.active .film-grid > .film-card,
body.hero-cinematic .reveal.active .video-gallery-grid > *,
body.hero-cinematic .reveal.active .live-projects-grid > * {
  animation: depth-rise 0.72s cubic-bezier(0.22, 1, 0.36, 1) both;
}

body.hero-cinematic .reveal.active .service-ledger > *:nth-child(1),
body.hero-cinematic .reveal.active .process-steps > *:nth-child(1),
body.hero-cinematic .reveal.active .film-grid > .film-card:nth-child(1),
body.hero-cinematic .reveal.active .video-gallery-grid > *:nth-child(1),
body.hero-cinematic .reveal.active .live-projects-grid > *:nth-child(1) { animation-delay: 0.06s; }

body.hero-cinematic .reveal.active .service-ledger > *:nth-child(2),
body.hero-cinematic .reveal.active .process-steps > *:nth-child(2),
body.hero-cinematic .reveal.active .film-grid > .film-card:nth-child(2),
body.hero-cinematic .reveal.active .video-gallery-grid > *:nth-child(2),
body.hero-cinematic .reveal.active .live-projects-grid > *:nth-child(2) { animation-delay: 0.12s; }

body.hero-cinematic .reveal.active .service-ledger > *:nth-child(3),
body.hero-cinematic .reveal.active .process-steps > *:nth-child(3),
body.hero-cinematic .reveal.active .film-grid > .film-card:nth-child(3),
body.hero-cinematic .reveal.active .video-gallery-grid > *:nth-child(3),
body.hero-cinematic .reveal.active .live-projects-grid > *:nth-child(3) { animation-delay: 0.18s; }

body.hero-cinematic .reveal.active .service-ledger > *:nth-child(4),
body.hero-cinematic .reveal.active .process-steps > *:nth-child(4),
body.hero-cinematic .reveal.active .film-grid > .film-card:nth-child(4),
body.hero-cinematic .reveal.active .video-gallery-grid > *:nth-child(4),
body.hero-cinematic .reveal.active .live-projects-grid > *:nth-child(4) { animation-delay: 0.24s; }

body.hero-cinematic .reveal.active .service-ledger > *:nth-child(n+5),
body.hero-cinematic .reveal.active .film-grid > .film-card:nth-child(n+5),
body.hero-cinematic .reveal.active .video-gallery-grid > *:nth-child(n+5),
body.hero-cinematic .reveal.active .live-projects-grid > *:nth-child(n+5) { animation-delay: 0.3s; }

@keyframes depth-rise {
  from {
    opacity: 0;
    transform: translateY(22px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1rem, 2.5vw, 1.75rem);
  width: 100%;
}

.process-step {
  position: relative;
  padding: clamp(1.5rem, 3vw, 2.25rem);
  overflow: hidden;
  transition:
    transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    border-color var(--transition-normal),
    box-shadow var(--transition-normal);
}

.process-step::before {
  content: '';
  position: absolute;
  top: 0;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(var(--color-accent-rgb), 0.55), transparent);
}

.process-step:hover {
  transform: translateY(-4px);
}

.process-step-num {
  display: block;
  font-family: var(--font-tech);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.04em;
  color: rgba(var(--color-accent-rgb), 0.22);
  margin-bottom: 1rem;
}

.process-step-body h3 {
  font-size: 1.05rem;
  text-transform: uppercase;
  margin-bottom: 0.65rem;
  letter-spacing: 0.04em;
}

.process-step-body p {
  font-size: 0.88rem;
  color: var(--color-text-secondary);
  line-height: 1.55;
}

/* Intro lead copy */
body.hero-cinematic .intro-lead {
  font-size: clamp(1.05rem, 2.2vw, 1.25rem);
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.82);
  text-align: center;
  max-width: min(96vw, 680px);
  margin: 0 auto clamp(2.5rem, 5vw, 3.5rem);
  padding: clamp(1.25rem, 3vw, 1.75rem) clamp(1.5rem, 4vw, 2.25rem);
  border-inline: 2px solid rgba(var(--color-accent-rgb), 0.22);
  background: linear-gradient(
    135deg,
    rgba(var(--color-accent-rgb), 0.04) 0%,
    rgba(255, 255, 255, 0.02) 50%,
    rgba(var(--color-accent-rgb), 0.03) 100%
  );
  border-radius: 4px;
  position: relative;
}

body.hero-cinematic .intro-lead::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  translate: -50% 0;
  width: 3rem;
  height: 2px;
  background: var(--color-accent);
  opacity: 0.6;
}

body.hero-cinematic .intro-lead a {
  color: var(--color-accent);
  text-decoration: underline;
  text-decoration-color: rgba(var(--color-accent-rgb), 0.35);
  text-underline-offset: 0.2em;
  transition: text-decoration-color var(--transition-fast);
}

body.hero-cinematic .intro-lead a:hover {
  text-decoration-color: var(--color-accent);
}

/* Team cards */
body.hero-cinematic .team-card {
  padding: clamp(1.25rem, 3vw, 1.75rem);
  border-radius: 12px;
  background: var(--color-card-bg);
  border: 1px solid var(--color-card-border);
  transition:
    transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    border-color var(--transition-normal),
    box-shadow var(--transition-normal);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 4px 24px rgba(0, 0, 0, 0.2);
}

body.hero-cinematic .team-card:hover {
  transform: translateY(-5px);
  border-color: rgba(var(--color-accent-rgb), 0.3);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 8px 32px rgba(0, 0, 0, 0.28),
    0 0 24px var(--color-accent-glow);
}

body.hero-cinematic .team-avatar-container {
  transition: border-color var(--transition-normal), box-shadow var(--transition-normal);
}

body.hero-cinematic .team-card:hover .team-avatar-container {
  border-color: rgba(var(--color-accent-rgb), 0.45);
  box-shadow: 0 0 20px rgba(var(--color-accent-rgb), 0.2);
}

body.hero-cinematic .reveal.active .team-grid > .team-card {
  animation: depth-rise 0.72s cubic-bezier(0.22, 1, 0.36, 1) both;
}

body.hero-cinematic .reveal.active .team-grid > .team-card:nth-child(1) { animation-delay: 0.06s; }
body.hero-cinematic .reveal.active .team-grid > .team-card:nth-child(2) { animation-delay: 0.12s; }
body.hero-cinematic .reveal.active .team-grid > .team-card:nth-child(3) { animation-delay: 0.18s; }
body.hero-cinematic .reveal.active .team-grid > .team-card:nth-child(4) { animation-delay: 0.24s; }
body.hero-cinematic .reveal.active .team-grid > .team-card:nth-child(n+5) { animation-delay: 0.3s; }

/* CTA form sections */
body.hero-cinematic .cta-section .planner-form-container,
body.hero-cinematic .cta-section .consultation-form-container {
  position: relative;
  overflow: hidden;
}

body.hero-cinematic .cta-section .planner-form-container::before,
body.hero-cinematic .cta-section .consultation-form-container::before {
  content: '';
  position: absolute;
  top: -40%;
  left: 50%;
  translate: -50% 0;
  width: min(120%, 640px);
  height: 60%;
  background: radial-gradient(ellipse, rgba(var(--color-accent-rgb), 0.12) 0%, transparent 70%);
  pointer-events: none;
}

@media (min-width: 1024px) {
  body.hero-cinematic .video-gallery-grid {
    align-items: stretch;
  }

  body.hero-cinematic .video-gallery-grid .video-gallery-item:first-child {
    grid-column: span 2;
    grid-row: 1;
    aspect-ratio: 21 / 9;
  }

  /* Match height of the featured 2-col reel beside it */
  body.hero-cinematic .video-gallery-grid .video-gallery-item:nth-child(2) {
    grid-column: 3;
    grid-row: 1;
    aspect-ratio: unset;
    align-self: stretch;
  }
}

@media (max-width: 900px) {
  .process-steps {
    grid-template-columns: 1fr;
    max-width: min(96vw, 520px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-scroll-cue::after,
  .landing-intro-mark,
  .landing-intro-logo,
  .landing-intro-tagline,
  .landing-progress::after {
    animation: none;
  }

  body.hero-cinematic .reveal.active .service-ledger > *,
  body.hero-cinematic .reveal.active .process-steps > *,
  body.hero-cinematic .reveal.active .film-grid > .film-card,
  body.hero-cinematic .reveal.active .video-gallery-grid > *,
  body.hero-cinematic .reveal.active .live-projects-grid > * {
    animation: none;
  }

  body.hero-cinematic .process-step:hover,
  body.hero-cinematic .team-card:hover {
    transform: none;
  }

  .hero-reel--cinematic .hero-reel-video,
  .hero-reel--cinematic .hero-reel-image {
    transform: none;
  }

  .landing-intro-mark,
  .landing-intro-logo,
  .landing-intro-tagline {
    opacity: 1;
    transform: none;
  }

  .landing-progress::after,
  body.landing-page.is-intro-ready .landing-logo-progress::after {
    width: 100%;
  }

  .landing-intro,
  body.landing-page .split-container,
  body.landing-page .landing-header {
    transition: none;
  }

  .panel-bg-video {
    display: none;
  }
}
