/* Let the film, its opening still and its final still share the exact same crop. */
.studio-hero { grid-template-columns: 36% 64%; min-height: 620px; }
.studio-hero .hero-story { padding: 40px 35px 36px max(40px,calc((100vw - 1320px)/2)); min-height: 0; }
.studio-hero .hero-story > .eyebrow { font-size: 9px; margin-bottom: 24px; }
.studio-hero .hero-story h1 { font-size: clamp(51px,5.2vw,76px); line-height: 1.02; }
.studio-hero .hero-story p { font-size: 13px; max-width: 320px; line-height: 1.9; margin: 23px 0; }
.studio-hero .hero-signature { margin-top: 30px; font-size: 8px; }
.studio-hero .scene-stage { min-height: clamp(620px,40vw,880px); }
.studio-hero .assembly-panel { animation: none; }
.assembly-media, .assembly-media > * { position: absolute; inset: 0; width: 100%; height: 100%; }
.assembly-media { background: #dedad3; pointer-events: none; }
.assembly-media > * { object-fit: cover; object-position: center 62%; }
#scene-2 .assembly-media > * { object-position: center 73%; }
.assembly-complete { visibility: hidden; }
[data-secondary-state="finished"] .assembly-complete { visibility: visible; }
.assembly-media video { opacity: 0; }
.assembly-media video.has-frame { opacity: 1; }
.assembly-panel::after, .assembly-panel .scene-product, .assembly-panel .scene-caption { transition: opacity .35s, visibility .35s; }
.assembly-panel[data-secondary-state]:not([data-secondary-state="finished"])::after { opacity: 0; }
.assembly-panel[data-secondary-state]:not([data-secondary-state="finished"]) :is(.scene-caption,.scene-product) { opacity: 0; visibility: hidden; pointer-events: none; }
.assembly-tools[hidden] { display: none; }
.assembly-tools {
  position: absolute; top: 20px; inset-inline-end: 20px; z-index: 5;
  display: flex; align-items: center; gap: 3px; max-width: calc(100% - 40px);
  padding: 5px; border: 1px solid #ffffffc9; border-radius: 4px;
  background: #fbfcfaf2; box-shadow: 0 4px 20px #18384c10;
}
.assembly-tools button { font-size: 10px; padding: 8px 10px; border-radius: 3px; color: var(--navy); white-space: nowrap; min-height: 34px; }
.assembly-tools button[aria-pressed="true"] { background: #dce8ee; }
.assembly-tools button:hover { background: #e6eef3; }
.assembly-tools :focus-visible { outline: 2px solid var(--navy); outline-offset: 2px; }
.assembly-tools .room-toggle { display: flex; gap: 6px; align-items: center; justify-content: center; background: var(--yellow); min-width: 78px; }
.assembly-tools .room-toggle:hover { background: #f4d458; }
.room-toggle svg { width: 15px; height: 15px; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; fill: none; }
.room-toggle .icon-pause, .room-toggle .icon-replay { display: none; }
:is([data-secondary-state="playing"],[data-secondary-state="loading"]) .room-toggle .icon-pause,
[data-secondary-state="finished"] .room-toggle .icon-replay { display: block; }
:is([data-secondary-state="playing"],[data-secondary-state="loading"],[data-secondary-state="finished"]) .room-toggle .icon-play { display: none; }
.assembly-progress { position: absolute; inset-inline: 0; bottom: 0; height: 3px; z-index: 4; background: #18384c1c; pointer-events: none; }
.assembly-progress > span { display: block; width: 100%; height: 100%; background: var(--yellow); transform: scaleX(0); transform-origin: left; }
[dir="rtl"] .assembly-progress > span { transform-origin: right; }
[dir="rtl"] .assembly-panel .scene-product { inset-inline-start: auto; left: 54%; right: auto; direction: ltr; }
[dir="rtl"] .assembly-panel .scene-product > span { direction: rtl; }
[dir="rtl"] .studio-hero .hero-story { padding-inline: 45px 30px; }
[dir="rtl"] .studio-hero .hero-story h1 { font-size: clamp(45px,4.6vw,66px); line-height: 1.35; letter-spacing: 0; }
[dir="rtl"] .studio-hero .hero-story p { font-size: 13px; line-height: 2; margin: 20px 0; }
@media (max-width: 1200px) {
  .studio-hero, .studio-hero .scene-stage { min-height: 560px; }
  .studio-hero .hero-story { padding: 35px 27px; }
  .studio-hero .hero-story h1 { font-size: 58px; }
  .studio-hero .hero-story .button { font-size: 12px; padding-inline: 18px; gap: 20px; }
  .studio-hero .hero-signature { font-size: 7px; margin-top: 22px; }
  .studio-hero .hero-story p, [dir="rtl"] .studio-hero .hero-story p { font-size: 12px; }
  [dir="rtl"] .studio-hero .hero-story { padding-inline: 30px 24px; }
  [dir="rtl"] .studio-hero .hero-story h1 { font-size: 49px; }
}
@media (min-width: 901px) and (max-width: 1020px) {
  .studio-hero { grid-template-columns: 38% 62%; }
  .studio-hero, .studio-hero .scene-stage { min-height: 520px; }
  .studio-hero .hero-story h1 { font-size: 49px; }
  .studio-hero .hero-story { padding-inline: 26px 20px; }
  .studio-hero .hero-signature { gap: 10px; line-height: 1.8; }
  .studio-hero .hero-signature .signature-line { width: 25px; }
  .assembly-tools { top: 16px; inset-inline-end: 16px; max-width: calc(100% - 32px); }
  .assembly-tools button { padding-inline: 8px; font-size: 9px; }
  .assembly-tools .room-toggle { min-width: 66px; }
  .studio-hero .scene-controls button { font-size: 10px; padding-inline: 12px; }
  [dir="rtl"] .studio-hero .hero-story h1 { font-size: 44px; }
}
@media (max-width: 900px) {
  .studio-hero { display: flex; flex-direction: column; min-height: 0; }
  .studio-hero .scene-stage { order: -1; min-height: calc(100vw * .606 + 62px); }
  .studio-hero .scene-panel { bottom: 62px; }
  .studio-hero .scene-controls { height: 62px; }
  .studio-hero .scene-controls button { font-size: 11px; padding: 13px 18px; gap: 9px; }
  .studio-hero .hero-story { padding: 35px 26px 32px; }
  .studio-hero .hero-story h1 { font-size: 54px; line-height: 1.02; }
  .studio-hero .hero-story h1 br:last-of-type { display: none; }
  .studio-hero .hero-story h1 em:after { content: ' '; }
  .studio-hero .hero-story > .eyebrow { font-size: 8px; margin-bottom: 21px; }
  .studio-hero .hero-story p { font-size: 13px; margin: 20px 0; max-width: 440px; }
  .studio-hero .hero-signature { margin-top: 25px; }
  .assembly-tools { top: 12px; inset-inline-end: 12px; max-width: calc(100% - 24px); padding: 4px; gap: 2px; }
  .assembly-tools button { font-size: 9px; padding: 7px 8px; min-height: 31px; }
  .assembly-tools .room-toggle { min-width: 67px; gap: 5px; }
  .room-toggle svg { width: 13px; height: 13px; }
  .assembly-panel .scene-caption { inset-inline: 20px; bottom: 17px; }
  .assembly-panel .scene-caption strong { font-size: 18px; }
  .assembly-panel .scene-caption .round-arrow { width: 31px; height: 31px; }
  .assembly-panel .scene-product { top: 55%; inset-inline-start: 59%; gap: 8px; }
  .assembly-panel .scene-product > span { display: none; }
  .assembly-panel .scene-product button { width: 32px; height: 32px; box-shadow: 0 0 0 5px #efc62b30; }
  .assembly-panel .scene-product button .icon { width: 17px; height: 17px; }
  [dir="rtl"] .studio-hero .hero-story { padding: 30px 26px; }
  [dir="rtl"] .studio-hero .hero-story h1 { font-size: 48px; line-height: 1.35; }
  [dir="rtl"] .studio-hero .hero-story h1 br:last-of-type { display: block; }
  [dir="rtl"] .studio-hero .hero-story p { font-size: 13px; }
  [dir="rtl"] .studio-hero .scene-controls button { font-size: 10px; line-height: 1.65; }
  [dir="rtl"] .assembly-panel .scene-caption strong { font-size: 17px; }
  [dir="rtl"] .assembly-panel .scene-product { left: 59%; }
}
@media (prefers-reduced-motion: reduce) {
  .assembly-panel:not([data-secondary-state]) .assembly-complete { visibility: visible; }
  .assembly-panel::after, .assembly-panel .scene-product, .assembly-panel .scene-caption { transition: none; }
}
