/* Production pages extend the existing BLE palette, fonts, buttons, and footer. */
.production-page { --production-copy: #b9c6b9; }
.production-page .section-label { font-size: .75rem; }
.production-page :is(a, button, summary):focus-visible { outline: 2px solid var(--lime); outline-offset: 6px; }
.production-skip { position: fixed; top: .75rem; left: 1rem; z-index: 200; padding: .75rem 1.25rem; background: var(--lime); color: #000; transform: translateY(-180%); }
.production-skip:focus { transform: none; }
.production-hero { min-height: 690px; padding-top: 9rem; padding-bottom: 5rem; display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 4rem; }
.production-breadcrumb { display: inline-block; margin-bottom: 2rem; color: var(--production-copy); font-size: .875rem; text-decoration: underline; text-underline-offset: 4px; }
.production-hero h1 { font-size: clamp(3.5rem, 6.8vw, 6rem); letter-spacing: .005em; margin-bottom: 1.5rem; }
.production-hero h1 em { font-style: normal; color: var(--lime); }
.production-hero-copy > p:not(.section-label) { color: var(--production-copy); max-width: 34rem; font-size: 1.0625rem; line-height: 1.8; }
.production-hero .hero-btns { margin-top: 2rem; gap: .75rem; }
.production-page .hero-btns a { display: inline-flex; align-items: center; justify-content: center; text-align: center; letter-spacing: 0; }
.production-hero-photo { margin: 0; }
.production-hero-photo img { width: 100%; height: auto; aspect-ratio: 1.22; object-fit: cover; border-radius: 4px; }
.production-hero-photo figcaption, .production-product-preview figcaption { color: var(--production-copy); font-size: .8125rem; padding-top: .8rem; }
.production-poster-stack { display: flex; align-items: center; justify-content: center; padding: 3rem 0; min-width: 0; isolation: isolate; }
.production-hero-poster { display: block; position: relative; flex: 0 0 39%; width: 39%; min-width: 0; }
.production-hero-poster:first-child { transform: rotate(-10deg) translateX(22%); }
.production-hero-poster:nth-child(2) { z-index: 2; transform: translateY(-1rem); }
.production-hero-poster:last-child { transform: rotate(10deg) translateX(-22%); }
.production-poster-motion { display: block; pointer-events: none; }
.production-poster-stack img { width: 100%; height: auto; aspect-ratio: 2 / 3; object-fit: cover; border: 1px solid var(--border); box-shadow: 0 20px 40px #0007; border-radius: 3px; }
.production-band { border-block: 1px solid var(--border); background: var(--bg2); padding: 1.25rem 2rem; text-align: center; }
.production-band p { font-size: .875rem; color: var(--production-copy); letter-spacing: .03em; }
.production-section-heading { display: flex; justify-content: space-between; align-items: end; gap: 2rem; }
.production-section-heading > p { max-width: 24rem; color: var(--production-copy); }
.production-film-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3.5rem 2.5rem; }
.production-film { min-width: 0; }
.production-poster { position: relative; display: block; background: var(--bg2); overflow: hidden; border: 1px solid var(--border); border-radius: 3px; }
.production-poster img { width: 100%; height: auto; aspect-ratio: 2 / 3; object-fit: cover; transition: transform .25s; }
.production-poster span { position: absolute; bottom: 0; left: 0; right: 0; padding: 3rem 1.25rem 1rem; background: linear-gradient(transparent, #000d); font-size: .875rem; font-weight: 600; }
.production-poster:hover img { transform: scale(1.025); }
.production-film-meta { color: var(--lime); font-size: .75rem; text-transform: uppercase; letter-spacing: .1em; margin: 1.25rem 0 .5rem; }
.production-film h3 { font-size: clamp(1.5rem, 2.5vw, 2rem); }
.production-film .production-credit { font-size: .8125rem; margin: .6rem 0; color: var(--production-copy); }
.production-film > p:last-child { color: var(--production-copy); line-height: 1.75; }
.production-film h3 a:hover { color: var(--lime); }
.production-panel { background: transparent; border-block: 1px solid var(--border); }
.production-services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.5rem; }
.production-service { padding: 1.75rem 0 0; border-top: 1px solid var(--border); min-width: 0; display: flex; flex-direction: column; align-items: flex-start; }
.production-service h3 { font-size: 2rem; margin-bottom: 1rem; }
.production-service p:not(.section-label) { color: var(--production-copy); line-height: 1.8; margin-bottom: 1.5rem; }
.production-text-link { display: inline-block; font-size: .9375rem; color: var(--lime); padding: .5rem 0; text-decoration: underline; text-underline-offset: 5px; }
.production-service .production-text-link { margin-top: auto; }
.production-text-link:hover { color: var(--white); }
.production-process { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; }
.production-process h2, .production-product-story h2, .production-agency h2 { font-size: clamp(2rem, 5vw, 3.5rem); margin-bottom: 1.5rem; }
.production-process > div > p:not(.section-label) { max-width: 28rem; color: var(--production-copy); line-height: 1.8; }
.production-steps { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; }
.production-steps li { padding-top: 1.25rem; border-top: 1px solid var(--border); }
.production-steps h3 { font-size: 1.5rem; margin-bottom: .75rem; }
.production-steps p, .production-agency > p:not(.section-label) { color: var(--production-copy); line-height: 1.8; }
.production-agency { max-width: 850px; text-align: center; }
.production-agency > p { margin-bottom: 1rem; }
.production-cta { text-align: center; border-top: 1px solid var(--border); }
.production-cta h2 { font-size: clamp(2.5rem, 5vw, 4rem); margin-bottom: 1.25rem; }
.production-cta > p:not(.section-label) { max-width: 42rem; margin: 0 auto; color: var(--production-copy); line-height: 1.8; }
.production-cta .hero-btns { justify-content: center; margin-top: 2rem; }
.production-green-room-hero { grid-template-columns: .9fr 1.1fr; gap: 3rem; }
.production-green-room-hero h1 { font-size: clamp(3rem, 5.2vw, 4.75rem); }
.production-product-preview { min-width: 0; }
.production-product-preview img { width: 100%; height: auto; border-radius: 6px; border: 1px solid #365036; box-shadow: 0 15px 60px #0006; }
.production-hero-copy > p.production-fine-print { font-size: .8125rem; margin-top: 1rem; }
.production-product-story { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; }
.production-product-story p:not(.section-label) { color: var(--production-copy); line-height: 1.8; margin-bottom: 1.25rem; }
.production-product-story h3 { font-size: 1.75rem; margin-bottom: .75rem; }
.production-product-story .production-text-link + h3 { margin-top: 2rem; }
.production-overview { padding-top: 2rem; }
@media (max-width: 1000px) {
  .production-hero { gap: 2rem; }
  .production-services { gap: 1.5rem; }
  .production-process, .production-product-story { gap: 3rem; }
}
@media (max-width: 768px) {
  .production-hero { grid-template-columns: 1fr; min-height: auto; padding-top: 7rem; gap: 2.5rem; }
  .production-hero-copy { max-width: 36rem; }
  .production-hero h1 { font-size: clamp(3rem, 10vw, 4.5rem); }
  .production-hero-photo img { aspect-ratio: 16 / 10; }
  .production-poster-stack { max-width: 460px; margin: 0 auto; padding: 1.5rem 1rem; }
  .production-narrative-hero { gap: 1rem; }
  .production-section-heading { align-items: start; flex-direction: column; gap: 1rem; }
  .production-film-grid { grid-template-columns: repeat(2, 1fr); gap: 2.5rem 1.5rem; }
  .production-services { grid-template-columns: 1fr; gap: 2rem; }
  .production-service h3 { font-size: 1.75rem; }
  .production-process, .production-product-story { grid-template-columns: 1fr; gap: 2rem; }
  .production-steps { gap: 2rem 1.5rem; }
  .production-overview { padding-top: 1rem; }
}
@media (max-width: 580px) {
  .production-film-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .production-film { max-width: 380px; margin-inline: auto; }
  .production-hero .hero-btns { flex-direction: column; align-items: stretch; }
  .production-band { padding-inline: 1rem; }
  .production-breadcrumb { margin-bottom: 1.5rem; }
}
@media (prefers-reduced-motion: reduce) {
  html:has(.production-page) { scroll-behavior: auto; }
  .production-page *, .production-page *::before, .production-page *::after { animation: none !important; transition: none !important; }
}

.production-services-two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 768px) {
  .production-services-two { grid-template-columns: 1fr; }
}

/* Green Room’s longer campaign tagline keeps the existing display treatment. */
.production-green-room-hero h1.production-tagline { font-size: clamp(2rem, 3.8vw, 3.5rem); line-height: 1.15; }

/* Commercial portfolio: original spots, loaded only when the visitor plays them. */
#commercial-work { scroll-margin-top: 64px; }
.commercial-work-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem; }
.commercial-spot { min-width: 0; }
.commercial-spot video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; background: #000; border: 1px solid var(--border); border-radius: 4px; }
.commercial-spot video:focus-visible { outline: 2px solid var(--lime); outline-offset: 4px; }
.commercial-spot h3 { font-size: 1.75rem; margin-bottom: .75rem; }
.commercial-spot > p:not(.production-film-meta) { color: var(--production-copy); line-height: 1.8; }
@media (max-width: 900px) {
  .commercial-work-grid { grid-template-columns: 1fr; gap: 2.5rem; }
}

/* Keep layout, idle drift, and hover scale on separate layers for smooth interruption. */
@keyframes production-poster-pop {
  from { opacity: 0; scale: .94; }
  to { opacity: 1; scale: 1; }
}
@keyframes production-poster-float {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -3.5px; }
}
@media (prefers-reduced-motion: no-preference) {
  .production-poster-stack.poster-motion-enabled:not(.has-entered) .production-poster-motion { opacity: 0; }
  .production-poster-stack.has-entered .production-poster-motion {
    --poster-delay: 80ms;
    --float-duration: 8s;
    animation: production-poster-pop 720ms cubic-bezier(.2, .8, .2, 1) var(--poster-delay) both,
      production-poster-float var(--float-duration) ease-in-out calc(var(--poster-delay) + 720ms) infinite;
  }
  .production-poster-stack.has-entered .production-hero-poster:nth-child(2) .production-poster-motion { --poster-delay: 240ms; --float-duration: 9.5s; }
  .production-poster-stack.has-entered .production-hero-poster:nth-child(3) .production-poster-motion { --poster-delay: 400ms; --float-duration: 8.7s; }
  .production-poster-stack.has-entered:not(.is-in-view) .production-poster-motion { animation-play-state: paused; }
}
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .production-poster-stack img { transform: scale(1); transition: transform 700ms cubic-bezier(.22, 1, .36, 1); }
  .production-hero-poster:hover img { transform: scale(1.035); transition-duration: 550ms; }
}

/* Upcoming productions retain their original poster proportions. */
#upcoming-films { scroll-margin-top: 64px; }
.production-upcoming { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 4rem; }
.production-upcoming h2 { font-size: clamp(3rem, 6vw, 4.5rem); margin-bottom: 1.25rem; }
.production-upcoming .production-credit { color: var(--production-copy); font-size: 1.125rem; }
.production-upcoming figure { width: 100%; max-width: 360px; justify-self: center; margin: 0; }
.production-upcoming img { display: block; width: 100%; height: auto; border: 1px solid var(--border); border-radius: 4px; }
@media (max-width: 768px) {
  .production-upcoming { grid-template-columns: 1fr; gap: 2rem; }
  .production-upcoming figure { justify-self: start; }
}

.production-page { --muted: #a6b6a6; }

/* Let the page gradient continue through these Narrative sections. */
.production-panel-transparent { background: transparent; }

/* Full-screen hero fades into the same moving gradient as the page below. */
.production-video-hero { position: relative; isolation: isolate; overflow: hidden; }
.production-hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; pointer-events: none; }
.production-video-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: linear-gradient(90deg, rgba(5,12,8,.85), rgba(5,12,8,.53)); }
.production-hero-video, .production-video-hero::before { -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 65%, transparent 100%); mask-image: linear-gradient(to bottom, #000 0%, #000 65%, transparent 100%); }
.production-video-hero .production-hero { position: relative; min-height: 100vh; min-height: 100svh; padding-bottom: 6rem; }

/* Supporting-copy panels add definition while display headlines stay open. */
.production-page {
  --production-panel-fill: rgba(9, 24, 17, .8);
  --production-panel-edge: rgba(191, 218, 161, .2);
  --production-panel-padding: clamp(1.25rem, 2.2vw, 1.85rem);
}
.production-hero-copy > p:not(.section-label):not(.production-fine-print),
.production-section-heading > p,
.production-process > div > p:not(.section-label),
.production-product-story > div:last-child,
.production-copy-panel,
.production-cta > p:not(.section-label),
.production-service,
.production-steps li {
  background: linear-gradient(135deg, rgba(137, 172, 104, .055), transparent 65%), var(--production-panel-fill);
  border: 1px solid var(--production-panel-edge);
  border-radius: 10px;
  padding: var(--production-panel-padding);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.035), 0 12px 28px rgba(0,0,0,.12);
  color: #d0dace;
  min-width: 0;
}
.production-hero-copy > p:not(.section-label):not(.production-fine-print) { padding: 1.15rem 1.35rem; }
.production-service h3 { font-size: clamp(1.5rem, 2.4vw, 1.85rem); line-height: 1.15; }
.production-service p:not(.section-label), .production-steps p,
.production-product-story p:not(.section-label), .production-copy-panel p { color: #d0dace; }
.production-service > :last-child, .production-copy-panel > :last-child,
.production-product-story > div:last-child > :last-child { margin-bottom: 0; }
.production-copy-panel p { line-height: 1.8; margin-bottom: 1rem; }
.production-product-story > div:last-child { align-self: start; }
.production-services, .production-steps { gap: 1.25rem; }
.production-copy-panel { line-height: 1.8; }
.production-upcoming .production-copy-panel { margin-top: 1.5rem; }
.production-section-heading > p { padding: 1rem 1.25rem; }
.production-steps li { padding: 1.5rem; }
.production-steps h3 { line-height: 1.2; }
.production-cta > p:not(.section-label) { padding: 1.25rem 1.5rem; }
@media (max-width: 580px) {
  .production-steps { grid-template-columns: 1fr; }
  .production-service, .production-product-story > div:last-child { padding: 1.4rem; }
  .production-hero-copy > p:not(.section-label):not(.production-fine-print) { padding: 1.1rem 1.2rem; }
}
