/* ==========================================================================
   IMPACTA HUB — CHI SIAMO 3D CINEMA & PORTAL IMMERSION (V7 SAFARI-PROOF)
   Real Photographic Portals + Apple Soft Cards + 3D Camera & Mouse Parallax
   ========================================================================== */

:root {
  --cs3d-orange: #FF5B16;
  --cs3d-orange-bright: #FF7338;
  --cs3d-black: #050507;
  --cs3d-white: #FFFFFF;
  --cs3d-apple-light: #F5F5F7;
  --mx: 0;
  --my: 0;

  /* Portal 01 -> 02 variables */
  --portal-scale: 1;
  --portal-flash: 0;

  /* Cumulative Backdrop Opacities (bg0 is always 1 at bottom of stack) */
  --bg1-opacity: 0;
  --bg2-opacity: 0;
  --bg3-opacity: 0;
  --bg4-opacity: 0;

  /* Scene 02 variables */
  --s2-enter: 1;
  --s2-portal-scale: 1;
  --s2-portal-x: 0px;

  /* Scene 03 variables */
  --s3-bg-scale: 1.04;
  --s3-enter: 1;

  /* Scene 04 Monolith/Corridor -> 05 variables */
  --corridor-scale: 1.04;
  --corridor-flash: 0;
  --s4-enter: 1;

  /* Scene 05 variables */
  --s5-enter: 1;
}

/* Fix Safari/WebKit sticky & scroll-container bug caused by base.css overflow-x: hidden */
html:has(body.about-cinema-3d),
body.about-page.about-cinema-3d {
  overflow-x: clip !important;
  overflow-y: visible !important;
  background-color: var(--cs3d-black);
  color: var(--cs3d-white);
}

/* Keep header & footer above the fixed 3D stage */
body.about-page.about-cinema-3d .site-header {
  position: fixed !important;
  top: 0;
  left: 0;
  right: 0;
  z-index: 120 !important;
}

body.about-page.about-cinema-3d .site-footer {
  position: relative !important;
  z-index: 40 !important;
  background: #08080a !important;
}

/* ─── 100VH STAGE (NO EMPTY BLACK RUNWAY — 100% IMMUNE TO SAFARI STICKY BUGS) ─── */
.about-cinema-runway {
  position: relative;
  width: 100%;
  height: 100vh;
  z-index: 2;
}

.about-cinema-stage {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  isolation: isolate;
  user-select: none;
  background: var(--cs3d-black);
  z-index: 5;
}

.cs3d-camera-viewport {
  position: absolute;
  inset: 0;
  z-index: 10;
  perspective: 1400px;
  perspective-origin: 50% 50%;
  overflow: hidden;
  pointer-events: none;
}

/* ══════════════════════════════════════════════════════════════════════════
   LAYER 0: CUMULATIVE OPAQUE PHOTOGRAPHIC & PORTAL IMMERSION BACKDROPS
   Stacked z-index 1 -> 5 so a black gap between scenes is impossible.
   ══════════════════════════════════════════════════════════════════════════ */
.cs3d-backdrop-world {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
  background: #050507;
}

.cs3d-bg-layer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  will-change: opacity, transform;
}

/* ─── BG 01 (z-index: 1): REAL ARCHITECTURAL STUDIO CORRIDOR TUNNEL ─── */
.bg-scene-0 {
  z-index: 1;
  background: #050507;
  opacity: 1;
}

.portal-video-rig {
  position: absolute;
  inset: -3%;
  width: 106%;
  height: 106%;
  transform:
    perspective(1100px)
    rotateY(calc(var(--mx) * -2.6deg))
    rotateX(calc(var(--my) * 1.8deg))
    translate3d(calc(var(--mx) * -28px), calc(var(--my) * -18px), 0)
    scale(var(--portal-scale));
  /* 52.3% 46.5% is the exact center of the bright white doorway at the end of minimal_studio_space.jpg */
  transform-origin: 52.3% 46.5%;
  will-change: transform;
}

.portal-corridor-hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
  filter: contrast(1.10) brightness(0.86) saturate(0.94);
}

/* Dark obsidian vignette on the left for 100% Hero text legibility, leaving the corridor & white doorway bright */
.portal-video-rig::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(5,5,7,0.90) 0%, rgba(5,5,7,0.68) 34%, rgba(5,5,7,0.06) 53%, rgba(5,5,7,0.28) 78%, rgba(5,5,7,0.74) 100%),
    linear-gradient(180deg, rgba(5,5,7,0.66) 0%, rgba(5,5,7,0.05) 24%, rgba(5,5,7,0.08) 76%, rgba(5,5,7,0.78) 100%);
  pointer-events: none;
}

.portal-flash-white {
  position: absolute;
  inset: 0;
  background: #F5F5F7;
  opacity: var(--portal-flash);
  pointer-events: none;
}

/* ─── BG 02 (z-index: 2): PURE APPLE DAYLIGHT STUDIO (SCENE 02) ─── */
.bg-scene-1 {
  z-index: 2;
  background: #F5F5F7;
  opacity: var(--bg1-opacity);
}

.apple-light-ambient {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 75% 25%, rgba(255, 255, 255, 1) 0%, rgba(245, 245, 247, 1) 65%),
    linear-gradient(180deg, #FFFFFF 0%, #F2F2F5 100%);
}

/* ─── BG 03 (z-index: 3): MINIMAL BLACK EXECUTIVE PHOTOGRAPHY WITH ZOOM (SCENE 03) ─── */
.bg-scene-2 {
  z-index: 3;
  background: #050507;
  opacity: var(--bg2-opacity);
}

.bg-photo-zoom-wrap {
  position: absolute;
  inset: -4%;
  transform:
    perspective(1100px)
    rotateY(calc(var(--mx) * -2.8deg))
    rotateX(calc(var(--my) * 2.0deg))
    translate3d(calc(var(--mx) * -30px), calc(var(--my) * -18px), 0)
    scale(var(--s3-bg-scale));
  transform-origin: 62% 52%;
  will-change: transform;
}

.bg-photo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
  filter: contrast(1.12) brightness(0.68) saturate(0.92);
}

.bg-photo-scrim-dark {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(5,5,7,0.94) 0%, rgba(5,5,7,0.82) 38%, rgba(5,5,7,0.38) 68%, rgba(5,5,7,0.52) 100%),
    linear-gradient(180deg, rgba(5,5,7,0.78) 0%, rgba(5,5,7,0.14) 24%, rgba(5,5,7,0.18) 76%, rgba(5,5,7,0.86) 100%);
}

/* ─── BG 04 (z-index: 4): ARCHITECTURAL HUB MONOLITH IN DEPTH ZOOM (SCENE 04) ─── */
.bg-scene-3 {
  z-index: 4;
  background: #07070A;
  opacity: var(--bg3-opacity);
}

.bg-corridor-zoom-wrap {
  position: absolute;
  inset: -3%;
  width: 106%;
  height: 106%;
  transform:
    perspective(1100px)
    rotateY(calc(var(--mx) * -2.6deg))
    rotateX(calc(var(--my) * 1.8deg))
    translate3d(calc(var(--mx) * -26px), calc(var(--my) * -16px), 0)
    scale(var(--corridor-scale));
  transform-origin: 50% 48%;
  will-change: transform;
}

.bg-corridor-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
  filter: contrast(1.12) brightness(0.78);
}

.bg-corridor-scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(6,6,9,0.46) 0%, rgba(6,6,9,0.28) 42%, rgba(5,5,7,0.88) 64%, rgba(5,5,7,0.96) 100%),
    linear-gradient(180deg, rgba(6,6,9,0.72) 0%, rgba(6,6,9,0.10) 25%, rgba(6,6,9,0.14) 75%, rgba(6,6,9,0.84) 100%);
}

.corridor-flash-white {
  position: absolute;
  inset: 0;
  background: #F5F5F7;
  opacity: var(--corridor-flash);
  pointer-events: none;
}

/* ─── BG 05 (z-index: 5): PURE APPLE DAYLIGHT STUDIO (SCENE 05) ─── */
.bg-scene-4 {
  z-index: 5;
  background: #F5F5F7;
  opacity: var(--bg4-opacity);
}

/* ══════════════════════════════════════════════════════════════════════════
   LAYER 1: 3D CAMERA WORLD & SCENES
   Active scene sits at Z = 0 so Safari WebKit NEVER culls or flattens it.
   ══════════════════════════════════════════════════════════════════════════ */
.about-world-3d {
  position: absolute;
  inset: 0;
  z-index: 3;
  transform-style: preserve-3d;
  will-change: transform;
  pointer-events: none;
  transform: rotateX(calc(var(--my) * -3deg)) rotateY(calc(var(--mx) * 4.5deg));
}

.cinema-scene {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(1320px, 92vw);
  transform: translate3d(-50%, -50%, 0);
  transform-style: preserve-3d;
  will-change: transform, opacity;
  pointer-events: none;
  opacity: 0;
}

.cinema-scene[data-scene="0"] {
  opacity: 1;
}

.cinema-scene.is-active {
  pointer-events: auto;
}

.scene-inner-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(36px, 5vw, 76px);
  align-items: center;
}

.scene-col-copy {
  position: relative;
  z-index: 3;
  transform: translate3d(calc(var(--mx) * 10px), calc(var(--my) * 7px), 0);
}

.scene-col-visual {
  position: relative;
  z-index: 2;
  transform: translate3d(calc(var(--mx) * 18px), calc(var(--my) * 12px), 0);
}

/* ─── SECTION TAGS & TYPOGRAPHY (MINIMAL EDITORIAL QUOTES — NO PILL CARD) ─── */
body.about-page.about-cinema-3d .cinema-scene .section-tag {
  display: inline-flex;
  align-items: baseline;
  gap: 5px;
  padding: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  font-family: Georgia, "Times New Roman", serif;
  font-style: italic;
  font-size: 0.94rem;
  font-weight: 500;
  text-transform: none;
  letter-spacing: 0.04em;
  margin-bottom: 18px;
}

body.about-page.about-cinema-3d .cinema-scene .section-tag .dot {
  display: none !important;
}

body.about-page.about-cinema-3d .cinema-scene .section-tag::before {
  content: "“";
  font-family: Georgia, "Times New Roman", serif;
  font-style: normal;
  font-weight: 700;
  font-size: 1.18rem;
  line-height: 1;
  color: var(--cs3d-orange);
}

body.about-page.about-cinema-3d .cinema-scene .section-tag::after {
  content: "”";
  font-family: Georgia, "Times New Roman", serif;
  font-style: normal;
  font-weight: 700;
  font-size: 1.18rem;
  line-height: 1;
  color: var(--cs3d-orange);
}

/* DARK SCENE TYPOGRAPHY (Scenes 01, 03, 04) */
body.about-page.about-cinema-3d .cinema-scene[data-theme="dark"] .section-tag {
  color: rgba(255, 255, 255, 0.88) !important;
}

body.about-page.about-cinema-3d .cinema-scene[data-theme="dark"] .display-title {
  font-size: clamp(2.5rem, 4.6vw, 4.4rem);
  line-height: 1.04;
  letter-spacing: -0.035em;
  font-weight: 800;
  color: #FFFFFF !important;
  margin: 0 0 24px;
  text-shadow: 0 12px 36px rgba(0, 0, 0, 0.65);
}

body.about-page.about-cinema-3d .cinema-scene[data-theme="dark"] .section-title {
  font-size: clamp(2.1rem, 3.6vw, 3.4rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  font-weight: 800;
  color: #FFFFFF !important;
  margin: 0 0 24px;
}

body.about-page.about-cinema-3d .cinema-scene[data-theme="dark"] .text-gradient-orange {
  background: none !important;
  -webkit-text-fill-color: var(--cs3d-orange) !important;
  color: var(--cs3d-orange) !important;
}

body.about-page.about-cinema-3d .cinema-scene[data-theme="dark"] .hero-sub {
  font-size: clamp(1.08rem, 1.35vw, 1.28rem);
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.92) !important;
  max-width: 560px;
  margin: 0;
  text-shadow: 0 6px 24px rgba(0, 0, 0, 0.7);
}

/* LIGHT SCENE TYPOGRAPHY (Scenes 02, 05 — 100% CRISP BLACK ON PURE WHITE) */
body.about-page.about-cinema-3d .cinema-scene[data-theme="light"] .section-tag {
  color: #14141A !important;
}

body.about-page.about-cinema-3d .cinema-scene[data-theme="light"] .section-title {
  font-size: clamp(2.1rem, 3.6vw, 3.4rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  font-weight: 800;
  color: #0A0A0E !important;
  margin: 0 0 18px;
}

body.about-page.about-cinema-3d .cinema-scene[data-scene="1"] .section-title {
  font-size: clamp(23px, 2.2vw, 28px) !important;
  font-weight: 750 !important;
  line-height: 1.25 !important;
  letter-spacing: -0.025em;
  color: #0A0A0E !important;
  margin: 0 0 20px;
}

body.about-page.about-cinema-3d .cinema-scene[data-theme="light"] .text-gradient-orange {
  background: none !important;
  -webkit-text-fill-color: var(--cs3d-orange) !important;
  color: var(--cs3d-orange) !important;
}

/* ─── SCENE 01: PORTAL WINDOW COLUMN (CLEAN ARCHITECTURAL VIEW) ─── */
.scene-portal-window-col {
  min-height: 360px;
}

/* ─── SCENE 02: APPLE SOFT CARDS & EDITORIAL COPY ─── */
.apple-editorial-stack {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.cinema-scene[data-theme="light"] .editorial-lead {
  font-size: clamp(1.18rem, 1.55vw, 1.44rem);
  line-height: 1.52;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: #0A0A0E !important;
  margin: 0;
}

.cinema-scene[data-theme="light"] .editorial-body {
  font-size: clamp(1.04rem, 1.25vw, 1.18rem);
  line-height: 1.68;
  font-weight: 450;
  color: #27272E !important;
  margin: 0;
}

.dark-editorial-stack .editorial-body {
  font-size: clamp(1.02rem, 1.22vw, 1.16rem);
  line-height: 1.66;
  color: rgba(255, 255, 255, 0.90) !important;
  margin: 0;
}

.apple-card-stack {
  position: relative;
  width: 100%;
  height: min(500px, 58vh);
}

.apple-photo-card {
  position: absolute;
  border-radius: 26px;
  overflow: hidden;
  background: #FFFFFF;
  box-shadow:
    0 28px 70px rgba(10, 10, 18, 0.14),
    0 6px 20px rgba(10, 10, 18, 0.06);
  border: 1px solid rgba(10, 10, 14, 0.08);
  will-change: transform, opacity;
}

.apple-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Main dark cinema card in Scene 02 (which zooms in to enter Scene 03) */
.apple-card-main {
  top: 7%;
  left: 2%;
  width: 96%;
  height: 86%;
  background: #07070A;
  border: 1px solid rgba(10, 10, 14, 0.14);
  transform:
    translate3d(
      calc(var(--s2-portal-x) + (var(--mx) * 16px)),
      calc((1 - var(--s2-enter)) * 36px + (var(--my) * 12px)),
      0
    )
    scale(calc((0.94 + var(--s2-enter) * 0.06) * var(--s2-portal-scale)));
  transform-origin: 48% 52%;
  z-index: 2;
}

.apple-card-bar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 36px;
  padding: 0 16px;
  background: rgba(10, 10, 14, 0.88);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  gap: 7px;
  z-index: 3;
}

.apple-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.dot-red { background: #FF5F56; }
.dot-amber { background: #FFBD2E; }
.dot-green { background: #27C93F; }

.apple-bar-label {
  margin-left: 8px;
  font-size: 0.72rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.78);
  letter-spacing: 0.03em;
}

/* Apple Floating Status Pills in Scene 02 */
.apple-status-pill {
  position: absolute;
  padding: 10px 18px;
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(10, 10, 14, 0.10);
  box-shadow:
    0 18px 40px rgba(10, 10, 20, 0.14),
    0 4px 12px rgba(10, 10, 20, 0.05);
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 5;
  pointer-events: none;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.pill-top-left {
  top: -24px;
  left: -2%;
  transform: translate3d(
    calc((1 - var(--s2-enter)) * -32px + (var(--mx) * 22px)),
    calc((1 - var(--s2-enter)) * 20px + (var(--my) * 14px)),
    0
  );
}

.pill-bottom-right {
  bottom: 0%;
  right: -2%;
  transform: translate3d(
    calc((1 - var(--s2-enter)) * 32px + (var(--mx) * 26px)),
    calc((1 - var(--s2-enter)) * 24px + (var(--my) * 18px)),
    0
  );
}

.pill-kicker {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--cs3d-orange);
  white-space: nowrap;
}

.pill-text {
  font-size: 0.82rem;
  font-weight: 600;
  color: #0A0A0E;
  white-space: nowrap;
}

.apple-card-float-top {
  top: -2%;
  left: -4%;
  width: 48%;
  height: 44%;
  z-index: 3;
  transform:
    translate3d(
      calc((1 - var(--s2-enter)) * -42px + (var(--mx) * 28px)),
      calc((1 - var(--s2-enter)) * 28px + (var(--my) * 18px)),
      0
    );
}

.apple-card-float-bottom {
  bottom: -2%;
  right: -3%;
  width: 50%;
  height: 44%;
  z-index: 4;
  transform:
    translate3d(
      calc((1 - var(--s2-enter)) * 42px + (var(--mx) * 34px)),
      calc((1 - var(--s2-enter)) * 32px + (var(--my) * 22px)),
      0
    );
}

.apple-card-caption {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  padding: 10px 14px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.95);
  color: #0A0A0E;
  display: flex;
  flex-direction: column;
  gap: 2px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.caption-kicker {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--cs3d-orange);
}

.apple-card-caption strong {
  font-size: 0.84rem;
  font-weight: 700;
  color: #0A0A0E;
}

/* ─── SCENE 03: DARK MINIMAL SHOWCASE CARDS ─── */
.dark-minimal-showcase {
  position: relative;
  width: 100%;
  height: min(490px, 56vh);
}

.dark-showcase-card {
  position: absolute;
  border-radius: 22px;
  overflow: hidden;
  background: #0B0B10;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 32px 84px rgba(0, 0, 0, 0.70);
}

.dark-showcase-primary {
  top: 4%;
  left: 2%;
  width: 88%;
  height: 82%;
  z-index: 2;
  transform: translate3d(calc(var(--mx) * 18px), calc(var(--my) * 12px), 0);
}

.dark-card-bar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 36px;
  padding: 0 16px;
  background: rgba(10, 10, 14, 0.92);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  gap: 7px;
  z-index: 2;
}

.dark-showcase-secondary {
  bottom: -4%;
  right: -3%;
  width: 44%;
  height: 58%;
  z-index: 3;
  border: 1px solid rgba(255, 91, 22, 0.40);
  background: rgba(14, 14, 20, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transform: translate3d(calc(var(--mx) * 32px), calc(var(--my) * 22px), 0);
}

.dark-card-img-contain {
  width: 100%;
  height: calc(100% - 28px);
  object-fit: contain;
  display: block;
}

.dark-accent-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: 100px;
  background: rgba(255, 91, 22, 0.12);
  border: 1px solid rgba(255, 91, 22, 0.35);
  color: #FFA066;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  margin-top: 4px;
}

.dot-live {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #27C93F;
  box-shadow: 0 0 8px #27C93F;
}

.dark-card-sheen {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    125deg,
    rgba(255, 255, 255, 0) 30%,
    rgba(255, 91, 22, 0.12) 48%,
    rgba(255, 255, 255, 0) 68%
  );
  transform: translateX(calc(var(--mx) * 120px));
  pointer-events: none;
}

/* ─── SCENE 04: ARCHITECTURAL SHOWCASE & EDITORIAL PANEL ─── */
.corridor-showcase-stack {
  position: relative;
  width: 100%;
  height: min(480px, 56vh);
}

.corridor-photo-card {
  position: absolute;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.65);
  background: #09090D;
}

.corridor-card-main {
  top: 4%;
  left: 2%;
  width: 88%;
  height: 80%;
  z-index: 2;
  transform: translate3d(calc(var(--mx) * 16px), calc(var(--my) * 12px), 0);
}

.corridor-card-accent {
  bottom: -2%;
  right: -2%;
  width: 58%;
  height: auto;
  z-index: 3;
  border-color: rgba(255, 91, 22, 0.45);
  background: rgba(14, 14, 20, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 18px 22px;
  transform: translate3d(calc(var(--mx) * 30px), calc(var(--my) * 20px), 0);
}

.hub-pillars-panel {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.hub-pillar-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.84rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.92);
  line-height: 1.3;
}

.pillar-num {
  font-family: var(--font-mono, monospace);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--cs3d-orange);
  background: rgba(255, 91, 22, 0.12);
  border: 1px solid rgba(255, 91, 22, 0.30);
  border-radius: 6px;
  padding: 2px 7px;
}

.corridor-copy-glass {
  background: transparent;
  border: none;
  padding: 0;
  box-shadow: none;
}

/* ─── SCENE 05: FULL-WIDTH LUXURY CTA ─── */
.scene-five-wrapper {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.about-hero-cta-card {
  width: 100%;
  max-width: min(1040px, 94vw);
  margin: clamp(36px, 5.5vh, 70px) auto 0;
  background: #07070A !important;
  border: 1px solid rgba(255, 91, 22, 0.4) !important;
  border-radius: 32px !important;
  padding: clamp(36px, 5.2vw, 64px) clamp(24px, 4.5vw, 60px) !important;
  text-align: center;
  box-shadow: 0 28px 70px rgba(10, 10, 18, 0.22), 0 0 50px rgba(255, 91, 22, 0.09) !important;
  box-sizing: border-box;
}

body.about-page.about-cinema-3d .cinema-scene .about-hero-cta-card .section-tag,
body.about-page.about-cinema-3d .cinema-scene[data-theme="light"] .about-hero-cta-card .section-tag,
.about-hero-cta-card .section-tag {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #FFFFFF !important;
  font-size: 0.82rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.cta-card-heading {
  font-size: clamp(1.8rem, 3.2vw, 2.9rem) !important;
  line-height: 1.18 !important;
  letter-spacing: -0.03em;
  font-weight: 800;
  color: #FFFFFF !important;
  margin: 0 0 20px !important;
}

.cta-heading-line-1 {
  display: block;
  font-size: inherit !important;
  white-space: nowrap;
}

.cta-heading-line-2 {
  display: block;
  font-size: inherit !important;
  margin-top: 6px;
}

@media (max-width: 768px) {
  .cta-heading-line-1 {
    white-space: normal;
  }
}

.cta-card-desc {
  font-size: clamp(0.95rem, 1.3vw, 1.15rem) !important;
  line-height: 1.62 !important;
  color: rgba(255, 255, 255, 0.84) !important;
  max-width: 760px;
  margin: 0 auto 30px !important;
}

.cta-card-guarantees {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: clamp(12px, 2.5vw, 24px);
  margin: 0 auto 34px;
}

.cta-guarantee-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 8px 18px;
  border-radius: 999px;
  font-size: clamp(0.85rem, 1.1vw, 0.98rem);
  font-weight: 600;
  color: #FFFFFF;
}

.cta-guarantee-pill .check {
  color: var(--cs3d-orange, #ff5b16);
  font-weight: 800;
}

.cta-card-btn-wrap {
  display: flex;
  justify-content: center;
}

.btn-cta-grand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--cs3d-orange, #ff5b16) !important;
  color: #FFFFFF !important;
  font-size: clamp(1rem, 1.25vw, 1.18rem) !important;
  font-weight: 700 !important;
  padding: 16px 36px !important;
  border-radius: 999px !important;
  text-decoration: none !important;
  border: none !important;
  box-shadow: 0 12px 32px rgba(255, 91, 22, 0.4) !important;
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.28s ease !important;
}

.btn-cta-grand:hover {
  transform: translateY(-2px) scale(1.03) !important;
  box-shadow: 0 18px 44px rgba(255, 91, 22, 0.55) !important;
}

.scene-five-header {
  text-align: center;
}

body.about-page.about-cinema-3d .about-competencies.apple-competencies-grid {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 18px !important;
  margin: 0 !important;
}

body.about-page.about-cinema-3d .about-competencies.apple-competencies-grid > div.apple-comp-card {
  background: #FFFFFF !important;
  border: 1px solid rgba(10, 10, 14, 0.08) !important;
  border-radius: 24px !important;
  padding: 0 !important;
  overflow: hidden !important;
  box-shadow:
    0 18px 44px rgba(10, 10, 18, 0.07),
    0 2px 10px rgba(10, 10, 18, 0.04) !important;
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.28s ease !important;
  display: flex;
  flex-direction: column;
}

body.about-page.about-cinema-3d .about-competencies.apple-competencies-grid > div.apple-comp-card::before,
body.about-page.about-cinema-3d .about-competencies.apple-competencies-grid > div.apple-comp-card::after {
  display: none !important;
  content: none !important;
}

body.about-page.about-cinema-3d .about-competencies.apple-competencies-grid > div.apple-comp-card:hover {
  transform: translate3d(0, -6px, 0) !important;
  box-shadow:
    0 26px 58px rgba(10, 10, 18, 0.13),
    0 4px 14px rgba(255, 91, 22, 0.10) !important;
}

.apple-comp-media {
  position: relative;
  width: 100%;
  height: 124px;
  overflow: hidden;
  background: #09090D;
}

.apple-comp-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.apple-comp-card:hover .apple-comp-media img {
  transform: scale(1.06);
}

.apple-comp-num {
  position: absolute;
  top: 10px;
  right: 12px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(10, 10, 14, 0.82);
  color: #FFFFFF;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.apple-comp-body {
  padding: 16px 18px 18px;
}

body.about-page.about-cinema-3d .about-competencies.apple-competencies-grid h3 {
  font-size: 0.98rem !important;
  font-weight: 800 !important;
  line-height: 1.28 !important;
  color: #0A0A0E !important;
  margin: 0 0 8px !important;
}

body.about-page.about-cinema-3d .about-competencies.apple-competencies-grid p {
  font-size: 0.84rem !important;
  line-height: 1.52 !important;
  color: #3A3A44 !important;
  margin: 0 !important;
}

/* Final CTA Banner inside Scene 05 */
body.about-page.about-cinema-3d .cta-banner.apple-final-cta {
  background: #07070A !important;
  border: 1px solid rgba(255, 91, 22, 0.45) !important;
  border-radius: 26px !important;
  padding: 24px 36px !important;
  margin: 0 !important;
  box-shadow: 0 24px 60px rgba(10, 10, 18, 0.16) !important;
}

body.about-page.about-cinema-3d .cta-banner.apple-final-cta .cta-banner-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  text-align: left;
  max-width: 100%;
}

body.about-page.about-cinema-3d .cta-banner.apple-final-cta h2 {
  font-size: clamp(1.4rem, 2.1vw, 1.9rem) !important;
  color: #FFFFFF !important;
  margin: 0 0 4px !important;
}

body.about-page.about-cinema-3d .cta-banner.apple-final-cta p {
  font-size: 0.92rem !important;
  color: rgba(255, 255, 255, 0.84) !important;
  margin: 0 !important;
  max-width: 580px;
}

body.about-page.about-cinema-3d .cta-banner.apple-final-cta .btn-primary {
  background: var(--cs3d-orange) !important;
  color: #FFFFFF !important;
  border-radius: 999px !important;
  white-space: nowrap;
}

/* ─── LAYER 2: MINIMAL APPLE PILL NAVIGATION DOCK ─── */
.cs3d-hud {
  position: absolute;
  inset: 0;
  z-index: 25;
  pointer-events: none;
}

.cs3d-progress-wrap {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  border-radius: 999px;
  background: #0A0A0E;
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.25);
  pointer-events: auto;
}

.cs3d-step-dot {
  width: 28px;
  height: 7px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.26);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: width 0.28s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.25s ease;
}

.cs3d-step-dot.is-active {
  width: 52px;
  background: var(--cs3d-orange);
}

/* ─── RESPONSIVE MOBILE / TABLET ─── */
@media (max-width: 1080px) {
  .scene-inner-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .scene-portal-window-col {
    display: none;
  }

  .apple-card-stack,
  .dark-minimal-showcase,
  .corridor-showcase-stack {
    height: 240px;
  }

  .apple-status-pill {
    display: none;
  }

  body.about-page.about-cinema-3d .about-competencies.apple-competencies-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 12px !important;
  }

  .apple-comp-media {
    height: 76px;
  }

  body.about-page.about-cinema-3d .cta-banner.apple-final-cta .cta-banner-content {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }
}

@media (max-width: 640px) {
  .apple-card-stack {
    height: 120px;
  }

  .dark-minimal-showcase {
    height: 110px;
  }

  .cinema-scene[data-scene="3"] .scene-col-visual {
    display: none;
  }

  .cinema-scene .display-title {
    font-size: clamp(1.6rem, 7vw, 1.95rem) !important;
    line-height: 1.14 !important;
  }

  .cinema-scene .section-title {
    font-size: clamp(1.4rem, 6.2vw, 1.75rem) !important;
    line-height: 1.18 !important;
  }

  .cinema-scene .hero-sub {
    font-size: 0.94rem !important;
    line-height: 1.48 !important;
  }

  .apple-editorial-stack .editorial-lead {
    font-size: 0.90rem !important;
    line-height: 1.42 !important;
    margin-bottom: 8px !important;
  }

  .apple-editorial-stack .editorial-body,
  .dark-editorial-stack .editorial-body {
    font-size: 0.84rem !important;
    line-height: 1.42 !important;
    margin-bottom: 8px !important;
  }

  .cinema-scene[data-scene="4"] {
    top: 53% !important;
  }

  .scene-five-header {
    margin-bottom: 8px !important;
    text-align: center;
  }

  .scene-five-header .section-tag {
    font-size: 0.72rem !important;
    margin-bottom: 2px !important;
  }

  .scene-five-header .section-title {
    font-size: 1.18rem !important;
    margin-bottom: 6px !important;
    line-height: 1.15 !important;
  }

  body.about-page.about-cinema-3d .about-competencies.apple-competencies-grid {
    grid-template-columns: 1fr 1fr !important;
    gap: 8px !important;
    margin-bottom: 8px !important;
  }

  .apple-comp-media {
    height: 42px !important;
  }

  .apple-comp-body {
    padding: 6px 8px !important;
  }

  .apple-comp-body h3 {
    font-size: 0.72rem !important;
    margin-bottom: 3px !important;
    line-height: 1.22 !important;
    letter-spacing: -0.01em !important;
  }

  .apple-comp-body p {
    font-size: 0.62rem !important;
    line-height: 1.28 !important;
    margin: 0 !important;
    color: #4b5563 !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
  }

  body.about-page.about-cinema-3d .cta-banner.apple-final-cta {
    padding: 10px 14px !important;
    margin-top: 6px !important;
    border-radius: 14px !important;
  }

  body.about-page.about-cinema-3d .cta-banner.apple-final-cta h2 {
    font-size: 1.0rem !important;
    margin-bottom: 2px !important;
  }

  body.about-page.about-cinema-3d .cta-banner.apple-final-cta p {
    font-size: 0.72rem !important;
    line-height: 1.25 !important;
    margin: 0 !important;
  }

  body.about-page.about-cinema-3d .cta-banner.apple-final-cta .btn {
    padding: 7px 14px !important;
    font-size: 0.76rem !important;
    margin-top: 6px;
  }
}
