/**
 * VISIO Home Entertainment — Cinematic Hero Styles
 * Part 1: approved desktop studio design (moved unchanged from
 *         scratch/build_studio_prototype.js; image paths adjusted for this folder).
 * Part 2: mobile cinematic layer (phones).
 */
    /* ── 1. Studio Environment Architecture ── */
    .vhe-studio-env {
      position: absolute;
      inset: 0;
      z-index: 0;
      pointer-events: none;
      overflow: hidden;
      transition: opacity 0.4s ease-out;
      background-color: #040507;
    }

    /* Architectural Charcoal Wall with Visible Slate Stone Texture */
    .vhe-studio-wall {
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      bottom: 42%;
      background-color: #07080a;
      background-image:
        radial-gradient(ellipse 95% 82% at 65% 45%, rgba(13, 15, 19, 0.36) 0%, rgba(7, 8, 11, 0.74) 58%, #030406 100%),
        url('../../public/images/premium-studio-bg.webp');
      background-size: cover, 1100px;
      background-position: center center, center 20%;
      background-repeat: no-repeat, repeat;
      background-blend-mode: normal, normal;
      opacity: 0.98;
    }

    body.lang-ar .vhe-studio-wall,
    html[dir="rtl"] .vhe-studio-wall {
      background-image:
        radial-gradient(ellipse 95% 82% at 35% 45%, rgba(13, 15, 19, 0.36) 0%, rgba(7, 8, 11, 0.74) 58%, #030406 100%),
        url('../../public/images/premium-studio-bg.webp');
    }

    /* Soft Atmospheric V2 Light Reflection onto Charcoal Wall */
    .vhe-studio-glow {
      position: absolute;
      top: 14%;
      left: 42%;
      width: 52%;
      height: 60%;
      border-radius: 50%;
      filter: blur(85px);
      opacity: 0.34;
      pointer-events: none;
      background: radial-gradient(ellipse at center,
        var(--vhe-state-mid-glow, #1e4ab8) 0%,
        var(--vhe-state-left-glow, #0d479e) 40%,
        transparent 75%
      );
      mix-blend-mode: screen;
      transform: translateZ(0);
      transition: opacity 0.2s ease-out;
    }

    body.lang-ar .vhe-studio-glow,
    html[dir="rtl"] .vhe-studio-glow {
      left: auto;
      right: 42%;
    }

    /* Matte Dark Studio Floor */
    .vhe-studio-floor {
      position: absolute;
      left: 0;
      right: 0;
      bottom: 0;
      height: 44%;
      background: linear-gradient(
        180deg,
        #050609 0%,
        #090b0f 18%,
        #0c0e14 42%,
        #08090d 75%,
        #030405 100%
      );
      box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
    }

    /* Soft horizon separation line between charcoal wall and floor */
    .vhe-studio-floor::before {
      content: "";
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      height: 1px;
      background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(255, 255, 255, 0.03) 20%,
        rgba(255, 255, 255, 0.06) 50%,
        rgba(255, 255, 255, 0.03) 80%,
        transparent 100%
      );
    }

    /* Subtle Floor Contact Sheen under TV in Studio */
    .vhe-studio-floor::after {
      content: "";
      position: absolute;
      top: 0;
      left: 15%;
      right: 15%;
      height: 60%;
      border-radius: 50%;
      background: radial-gradient(
        ellipse 75% 45% at 55% 25%,
        rgba(20, 32, 70, 0.10) 0%,
        rgba(10, 15, 30, 0.04) 45%,
        transparent 75%
      );
      filter: blur(30px);
      pointer-events: none;
    }

    /* ── 2. Refined Luxury Typography: Plus Jakarta Sans (EN) & IBM Plex Sans Arabic (AR) ── */
    /* English Headlines: Semibold 600, Restrained Sizing, Elegant Tracking */
    .vhe-hero-title {
      font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
      font-weight: 600 !important;
      letter-spacing: -0.022em !important;
      line-height: 1.15 !important;
      color: #ffffff !important;
      margin: 0 0 16px 0 !important;
    }

    .vhe-hero-title .yellow-glow,
    .vhe-hero-title--assembly .yellow-glow {
      color: #e5b93b !important;
      text-shadow: 0 0 24px rgba(229, 185, 59, 0.22) !important;
      font-weight: 600 !important;
    }

    .vhe-hero-title--assembly {
      font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
      font-weight: 600 !important;
      letter-spacing: -0.020em !important;
      line-height: 1.18 !important;
      margin-bottom: 0 !important;
    }

    /* Final Reveal: "Enter The Picture" (Pure White, Semibold 600, Refined Proportions) */
    .vhe-entry-title {
      font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
      font-weight: 600 !important;
      font-size: clamp(2.4rem, 4.4vw, 3.8rem) !important;
      letter-spacing: -0.025em !important;
      line-height: 1.14 !important;
      color: #ffffff !important;
      text-shadow: 0 4px 32px rgba(0, 0, 0, 0.65) !important;
    }

    .vhe-hero-desc {
      font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
      font-weight: 400 !important;
      font-size: 1.02rem !important;
      line-height: 1.70 !important;
      letter-spacing: -0.008em !important;
      color: rgba(255, 255, 255, 0.74) !important;
      max-width: 440px !important;
      margin-bottom: 0 !important;
    }

    .vhe-model-tag {
      font-family: 'Rajdhani', sans-serif !important;
      font-weight: 700 !important;
      font-size: 0.74rem !important;
      letter-spacing: 0.24em !important;
      text-transform: uppercase !important;
      color: #D4AF37 !important;
      padding: 4px 12px !important;
      background: rgba(212, 175, 55, 0.08) !important;
      border: 1px solid rgba(212, 175, 55, 0.25) !important;
      border-radius: 999px !important;
      margin-bottom: 14px !important;
    }

    /* Arabic Typography: IBM Plex Sans Arabic (Semibold 600) */
    body.lang-ar .vhe-hero-title,
    html[dir="rtl"] .vhe-hero-title,
    html[lang="ar"] .vhe-hero-title {
      font-family: 'IBM Plex Sans Arabic', sans-serif !important;
      font-weight: 600 !important;
      letter-spacing: -0.010em !important;
      line-height: 1.28 !important;
      color: #ffffff !important;
      margin: 0 0 16px 0 !important;
    }

    body.lang-ar .vhe-hero-title .yellow-glow,
    html[dir="rtl"] .vhe-hero-title .yellow-glow,
    html[lang="ar"] .vhe-hero-title .yellow-glow,
    body.lang-ar .vhe-hero-title--assembly .yellow-glow,
    html[dir="rtl"] .vhe-hero-title--assembly .yellow-glow,
    html[lang="ar"] .vhe-hero-title--assembly .yellow-glow {
      color: #e5b93b !important;
      text-shadow: 0 0 24px rgba(229, 185, 59, 0.22) !important;
      font-weight: 600 !important;
    }

    body.lang-ar .vhe-hero-title--assembly,
    html[dir="rtl"] .vhe-hero-title--assembly,
    html[lang="ar"] .vhe-hero-title--assembly {
      font-family: 'IBM Plex Sans Arabic', sans-serif !important;
      font-weight: 600 !important;
      letter-spacing: -0.010em !important;
      line-height: 1.30 !important;
      margin-bottom: 0 !important;
    }

    body.lang-ar .vhe-entry-title,
    html[dir="rtl"] .vhe-entry-title,
    html[lang="ar"] .vhe-entry-title {
      font-family: 'IBM Plex Sans Arabic', sans-serif !important;
      font-weight: 600 !important;
      font-size: clamp(2.4rem, 4.4vw, 3.8rem) !important;
      letter-spacing: 0 !important;
      line-height: 1.26 !important;
      color: #ffffff !important;
      text-shadow: 0 4px 32px rgba(0, 0, 0, 0.65) !important;
    }

    body.lang-ar .vhe-hero-desc,
    html[dir="rtl"] .vhe-hero-desc,
    html[lang="ar"] .vhe-hero-desc {
      font-family: 'IBM Plex Sans Arabic', sans-serif !important;
      font-weight: 400 !important;
      font-size: 1.08rem !important;
      line-height: 1.76 !important;
      letter-spacing: 0 !important;
      color: rgba(255, 255, 255, 0.78) !important;
      max-width: 440px !important;
      margin-bottom: 0 !important;
    }

    body.lang-ar .vhe-model-tag,
    html[dir="rtl"] .vhe-model-tag,
    html[lang="ar"] .vhe-model-tag {
      font-family: 'IBM Plex Sans Arabic', sans-serif !important;
      font-weight: 600 !important;
      font-size: 0.76rem !important;
      letter-spacing: 0.08em !important;
      margin-bottom: 14px !important;
    }

    /* ── 3. Height-Adaptive Layout & Balanced Vertical Centering ── */
    @media (min-width: 769px) {
      .vhe-hero--interactive .vhe-hero-sticky {
        position: sticky;
        top: 0;
        height: 100vh;
        padding-top: var(--nav-h, 72px);
        padding-bottom: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        box-sizing: border-box;
        overflow: hidden;
      }

      .vhe-hero-container {
        max-width: min(1660px, 94vw) !important;
        padding: 0 clamp(24px, 3.2vw, 48px) !important;
        grid-template-columns: minmax(300px, 0.76fr) minmax(460px, 1.64fr) !important;
        gap: clamp(24px, 3.0vw, 48px) !important;
        align-items: center !important;
        position: relative;
        z-index: 2;
        height: calc(100vh - var(--nav-h, 72px)) !important;
        box-sizing: border-box;
      }

      .vhe-hero-content {
        max-width: 450px !important;
        margin-top: clamp(-24px, -2.5vh, 0px) !important;
      }

      .vhe-hero-title {
        font-size: clamp(2.1rem, 2.9vw, 2.8rem) !important;
      }

      .vhe-hero-title--assembly {
        font-size: clamp(1.9rem, 2.6vw, 2.5rem) !important;
      }

      .vhe-tv-stage {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 100% !important;
        height: 100% !important;
        min-height: 0 !important;
        margin-top: 0 !important;
        padding: 0 !important;
      }

      /* Height-Adaptive TV Rig:
         - Angled TV height = 0.8938 * rigWidth
         - Max allowable height = calc(100vh - var(--nav-h, 72px) - 108px)
         - Therefore, max width = calc((100vh - 180px) * 1.1188)
         - Shifts rig top down by 14.5% of width to guarantee 25px+ safe header clearance across all laptops
      */
      .vhe-tv-rig {
        width: 100% !important;
        max-width: min(1080px, 62vw, calc((100vh - 180px) * 1.1188)) !important;
        aspect-ratio: 2354 / 1441 !important;
        margin-top: calc(0.145 * min(1080px, 62vw, calc((100vh - 180px) * 1.1188))) !important;
      }

      .vhe-text-block--assembly {
        max-width: min(420px, 32vw) !important;
      }
    }

    @media (min-width: 1441px) {
      .vhe-hero-container {
        max-width: min(1700px, 94vw) !important;
        padding: 0 clamp(32px, 3.8vw, 56px) !important;
        grid-template-columns: minmax(340px, 0.75fr) minmax(620px, 1.68fr) !important;
        gap: 48px !important;
      }

      .vhe-hero-content {
        max-width: 470px !important;
        margin-top: clamp(-32px, -3vh, -8px) !important;
      }

      .vhe-hero-title {
        font-size: clamp(2.3rem, 3.3vw, 3.2rem) !important;
      }

      .vhe-hero-title--assembly {
        font-size: clamp(2.1rem, 3.0vw, 2.9rem) !important;
      }
    }

    @media (max-width: 768px) {
      .vhe-hero-title {
        font-size: clamp(1.8rem, 6.5vw, 2.2rem) !important;
        line-height: 1.15 !important;
        margin-bottom: 12px !important;
      }

      body.lang-ar .vhe-hero-title,
      html[dir="rtl"] .vhe-hero-title,
      html[lang="ar"] .vhe-hero-title {
        font-size: clamp(1.8rem, 6.5vw, 2.2rem) !important;
        line-height: 1.30 !important;
      }

      .vhe-hero-desc {
        font-size: 0.94rem !important;
        line-height: 1.60 !important;
        margin-bottom: 20px !important;
      }

      body.lang-ar .vhe-hero-desc,
      html[dir="rtl"] .vhe-hero-desc,
      html[lang="ar"] .vhe-hero-desc {
        font-size: 1.00rem !important;
        line-height: 1.68 !important;
      }

      .vhe-model-tag {
        font-size: 0.70rem !important;
        letter-spacing: 0.18em !important;
        margin-bottom: 10px !important;
      }
    }

    /* ── 4. Realistic Metallic Leg Grounding & Contact Shadows (3D Perspective) ── */
    .vhe-angle-shadows {
      position: absolute;
      inset: 0;
      width: 100%;
      height: 100%;
      pointer-events: none;
      z-index: 1;
    }

    /* Left leg: recessed in 3D depth, grounded on floor plane */
    .vhe-angle-foot-shadow--left {
      position: absolute;
      left: 0.5%;
      top: 84.8%;
      width: 15%;
      height: 16px;
      transform: translate(-10%, -25%);
      pointer-events: none;
    }
    .vhe-angle-foot-shadow--left::before {
      content: "";
      position: absolute;
      inset: 0;
      border-radius: 50%;
      background: radial-gradient(ellipse 55% 45% at 50% 50%, rgba(0, 0, 0, 0.98) 0%, rgba(0, 0, 0, 0.72) 35%, transparent 72%);
      filter: blur(2.5px);
    }
    .vhe-angle-foot-shadow--left::after {
      content: "";
      position: absolute;
      top: -3px;
      left: -15%;
      width: 130%;
      height: 140%;
      border-radius: 50%;
      background: radial-gradient(ellipse 65% 50% at 48% 50%, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.3) 55%, transparent 78%);
      filter: blur(6px);
    }

    /* Right leg: foreground, crisp anchored contact on floor plane */
    .vhe-angle-foot-shadow--right {
      position: absolute;
      left: 89.5%;
      top: 99.6%;
      width: 17%;
      height: 20px;
      transform: translate(-30%, -35%);
      pointer-events: none;
    }
    .vhe-angle-foot-shadow--right::before {
      content: "";
      position: absolute;
      inset: 0;
      border-radius: 50%;
      background: radial-gradient(ellipse 55% 45% at 50% 50%, rgba(0, 0, 0, 0.98) 0%, rgba(0, 0, 0, 0.78) 38%, transparent 72%);
      filter: blur(3px);
    }
    .vhe-angle-foot-shadow--right::after {
      content: "";
      position: absolute;
      top: -3px;
      left: -15%;
      width: 130%;
      height: 140%;
      border-radius: 50%;
      background: radial-gradient(ellipse 65% 50% at 50% 50%, rgba(0, 0, 0, 0.88) 0%, rgba(0, 0, 0, 0.38) 55%, transparent 78%);
      filter: blur(7.5px);
    }

    /* Diffuse chassis floor shadow connecting both feet across depth */
    .vhe-angle-chassis-shadow {
      position: absolute;
      left: 4%;
      top: 86.5%;
      width: 88%;
      height: 32px;
      transform: rotate(3.4deg);
      transform-origin: left center;
      border-radius: 50%;
      background: radial-gradient(ellipse 70% 50% at 52% 50%, rgba(0, 0, 0, 0.72) 0%, rgba(0, 0, 0, 0.28) 55%, transparent 78%);
      filter: blur(9px);
      pointer-events: none;
    }

    /* Front Chassis Shadow (Grounds front feet during Assembly & Fully Docked stages) */
    .vhe-tv-shadow {
      position: absolute;
      inset: 0;
      width: 100% !important;
      height: 100% !important;
      margin: 0 !important;
      background: none !important;
      filter: none !important;
      pointer-events: none;
      z-index: 1;
      opacity: 0;
      transition: opacity 0.15s ease-out;
    }

    .vhe-front-foot-shadow--left {
      position: absolute;
      bottom: -1px;
      left: 1.8%;
      width: 15%;
      height: 20px;
      background: radial-gradient(ellipse 55% 50% at 48% 50%, rgba(0, 0, 0, 0.96) 0%, rgba(0, 0, 0, 0.60) 42%, transparent 75%);
      filter: blur(4.5px);
    }

    .vhe-front-foot-shadow--right {
      position: absolute;
      bottom: -1px;
      right: 1.8%;
      width: 15%;
      height: 20px;
      background: radial-gradient(ellipse 55% 50% at 48% 50%, rgba(0, 0, 0, 0.96) 0%, rgba(0, 0, 0, 0.60) 42%, transparent 75%);
      filter: blur(4.5px);
    }

    .vhe-front-chassis-shadow {
      position: absolute;
      bottom: 1px;
      left: 5%;
      width: 90%;
      height: 28px;
      background: radial-gradient(ellipse 65% 50% at 50% 50%, rgba(0, 0, 0, 0.88) 0%, rgba(0, 0, 0, 0.38) 55%, transparent 78%);
      filter: blur(9px);
    }

    /* ── 5. Subtle "Scroll to Explore" Indicator ── */
    .vhe-scroll-hint {
      position: absolute;
      bottom: 32px;
      left: 50%;
      transform: translateX(-50%);
      z-index: 4;
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 10px;
      pointer-events: none;
      opacity: 0.8;
      transition: opacity 0.3s ease-out;
    }

    .vhe-scroll-hint-label {
      font-family: 'Rajdhani', 'Manrope', sans-serif;
      font-size: 0.75rem;
      font-weight: 700;
      letter-spacing: 0.22em;
      text-transform: uppercase;
      color: rgba(255, 255, 255, 0.45);
    }

    body.lang-ar .vhe-scroll-hint-label,
    html[lang="ar"] .vhe-scroll-hint-label {
      font-family: 'IBM Plex Sans Arabic', sans-serif;
      font-size: 0.82rem;
      font-weight: 600;
      letter-spacing: 0.05em;
      color: rgba(255, 255, 255, 0.52);
    }

    .vhe-scroll-hint-icon {
      width: 14px;
      height: 24px;
      border: 1px solid rgba(255, 255, 255, 0.25);
      border-radius: 999px;
      position: relative;
    }

    .vhe-scroll-hint-icon::before {
      content: "";
      position: absolute;
      top: 4px;
      left: 50%;
      transform: translateX(-50%);
      width: 2px;
      height: 5px;
      background: rgba(255, 255, 255, 0.75);
      border-radius: 1px;
      animation: vhe-mouse-bob 1.8s cubic-bezier(0.65, 0, 0.35, 1) infinite;
    }

    @keyframes vhe-mouse-bob {
      0% { transform: translate(-50%, 0); opacity: 1; }
      60% { transform: translate(-50%, 7px); opacity: 0.2; }
      100% { transform: translate(-50%, 0); opacity: 1; }
    }

    /* ══════════════════════════════════════════════════════════════════════════
       DEDICATED PREMIUM MOBILE & TABLET HERO ARCHITECTURE
       - Seamless document flow & fast native scrolling (zero scroll hijacking)
       - Dark luxury studio environment with visible charcoal slate stone wall
       - Realistic matte studio floor with soft horizon line
       - Front-facing VISIO TV centerpiece showcasing daylight mountain lake
       - Subtle V2 ambient daylight glow reflecting onto charcoal wall
       - Realistic grounding contact shadows under both metallic feet & chassis
       - Elegant, balanced Title Case typography & authentic Arabic RTL layout
       - Zero horizontal scrolling & header collision-free clearance
       ══════════════════════════════════════════════════════════════════════════ */
    @media (max-width: 768px), (min-width: 769px) and (max-width: 1024px) and (hover: none) {
      /* ── 0. Mobile Navigation & Header Fix (Visible Burger at 360px & All Viewports) ── */
      .nav-menu {
        display: none !important;
      }

      #main-nav .nav-inner {
        padding: 0 16px !important;
      }

      .nav-right {
        gap: 8px !important;
      }

      .nav-logo img {
        height: 26px !important;
        width: auto !important;
      }

      .lang-toggle {
        padding: 3px 6px !important;
        gap: 2px !important;
      }

      .lang-btn {
        padding: 3px 8px !important;
        font-size: 0.76rem !important;
      }

      .nav-burger {
        display: flex !important;
        padding: 8px !important;
        margin-right: -4px !important;
        z-index: 1002 !important;
      }

      body.lang-ar .nav-burger,
      html[dir="rtl"] .nav-burger {
        margin-right: 0 !important;
        margin-left: -4px !important;
      }

      /* ── 1. Hero Container & Document Flow ── */
      .vhe-hero {
        position: relative !important;
        min-height: auto !important;
        padding-top: calc(var(--nav-h, 64px) + 20px) !important;
        padding-bottom: 24px !important;
        background-color: #040507 !important;
        background-image: none !important;
        overflow: hidden !important;
        width: 100% !important;
      }

      /* Eliminate abrupt divider line on mobile so studio floor blends seamlessly */
      .vhe-hero + .divider {
        display: none !important;
      }

      .vhe-hero-track {
        height: auto !important;
        min-height: auto !important;
      }

      .vhe-hero-sticky {
        position: relative !important;
        height: auto !important;
        top: auto !important;
        padding: 0 !important;
        overflow: visible !important;
        display: flex !important;
        flex-direction: column !important;
      }

      .vhe-hero-container {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 16px !important;
        gap: 16px !important;
        z-index: 2 !important;
        position: relative !important;
        box-sizing: border-box !important;
      }

      /* ── 2. Studio Environment on Mobile & Tablet ── */
      .vhe-studio-env {
        display: block !important;
        position: absolute !important;
        inset: 0 !important;
        width: 100% !important;
        height: 100% !important;
        z-index: 0 !important;
        pointer-events: none !important;
        overflow: hidden !important;
        background-color: #040507 !important;
      }

      /* Architectural Charcoal Slate Stone Wall */
      .vhe-studio-wall {
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        bottom: 95px !important;
        background-color: #07080a !important;
        background-image:
          radial-gradient(ellipse 95% 80% at 50% 35%, rgba(13, 15, 19, 0.38) 0%, rgba(7, 8, 11, 0.78) 60%, #030406 100%),
          url('../../public/images/premium-studio-bg.webp') !important;
        background-size: cover, 750px !important;
        background-position: center top, center 12% !important;
        background-repeat: no-repeat, repeat !important;
        opacity: 0.98 !important;
      }

      /* Matte Dark Studio Floor at bottom of Hero */
      .vhe-studio-floor {
        position: absolute !important;
        left: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        height: 105px !important;
        background: linear-gradient(
          180deg,
          #06080b 0%,
          #0a0c11 18%,
          #0d0f16 42%,
          #090a0f 75%,
          #040507 100%
        ) !important;
        box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05) !important;
      }

      /* Floor Horizon Separation Line */
      .vhe-studio-floor::before {
        content: "" !important;
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        height: 1px !important;
        background: linear-gradient(
          90deg,
          transparent 0%,
          rgba(255, 255, 255, 0.04) 15%,
          rgba(255, 255, 255, 0.12) 50%,
          rgba(255, 255, 255, 0.04) 85%,
          transparent 100%
        ) !important;
      }

      /* Subtle Floor Ambient Light Sheen directly under TV Center */
      .vhe-studio-floor::after {
        content: "" !important;
        position: absolute !important;
        top: 0 !important;
        left: 8% !important;
        right: 8% !important;
        height: 60px !important;
        background: radial-gradient(ellipse 60% 45% at 50% 15%, rgba(165, 205, 255, 0.05) 0%, transparent 75%) !important;
        pointer-events: none !important;
      }

      /* Subtle V2 Ambient Daylight Lighting Reflection behind TV */
      .vhe-studio-glow {
        position: absolute !important;
        left: 50% !important;
        bottom: 45px !important;
        transform: translateX(-50%) !important;
        width: 90% !important;
        max-width: 480px !important;
        height: 200px !important;
        border-radius: 50% !important;
        filter: blur(55px) !important;
        opacity: 0.30 !important;
        background: radial-gradient(
          ellipse at center,
          rgba(165, 205, 255, 0.48) 0%,
          rgba(235, 215, 175, 0.22) 35%,
          rgba(80, 120, 200, 0.08) 55%,
          transparent 75%
        ) !important;
        mix-blend-mode: screen !important;
        pointer-events: none !important;
        display: block !important;
      }

      /* ── 3. Content Block & Typography (Top Hierarchy) ── */
      .vhe-hero-content {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
        order: 1 !important;
        width: 100% !important;
        max-width: 520px !important;
        margin: 0 auto !important;
        padding: 0 !important;
        position: relative !important;
      }

      .vhe-text-block--primary {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
        opacity: 1 !important;
        transform: none !important;
        visibility: visible !important;
        width: 100% !important;
      }

      .vhe-text-block--assembly,
      .vhe-scroll-hint,
      .vhe-entry-overlay,
      .vhe-depth-plane,
      .vhe-screen-bridge,
      .vhe-tv-layer--angle,
      .vhe-tv-interactive {
        display: none !important;
      }

      .vhe-model-tag {
        font-family: 'Rajdhani', sans-serif !important;
        font-weight: 700 !important;
        font-size: 0.72rem !important;
        letter-spacing: 0.18em !important;
        padding: 4px 14px !important;
        border-radius: 999px !important;
        margin-bottom: 10px !important;
        color: #e5b93b !important;
        border: 1px solid rgba(229, 185, 59, 0.35) !important;
        background: rgba(229, 185, 59, 0.08) !important;
      }

      body.lang-ar .vhe-model-tag,
      html[dir="rtl"] .vhe-model-tag {
        font-family: 'IBM Plex Sans Arabic', sans-serif !important;
        letter-spacing: 0.08em !important;
      }

      .vhe-hero-title {
        font-family: 'Plus Jakarta Sans', -apple-system, sans-serif !important;
        font-weight: 600 !important;
        font-size: clamp(2.00rem, 7.6vw, 2.70rem) !important;
        line-height: 1.15 !important;
        letter-spacing: -0.022em !important;
        color: #ffffff !important;
        margin: 0 0 10px 0 !important;
        text-align: center !important;
      }

      body.lang-ar .vhe-hero-title,
      html[dir="rtl"] .vhe-hero-title {
        font-family: 'IBM Plex Sans Arabic', -apple-system, sans-serif !important;
        font-weight: 600 !important;
        font-size: clamp(1.90rem, 7.2vw, 2.55rem) !important;
        line-height: 1.28 !important;
        letter-spacing: normal !important;
      }

      /* Refined, Highly Readable Supporting Paragraph */
      .vhe-hero-desc {
        font-family: 'Plus Jakarta Sans', -apple-system, sans-serif !important;
        font-weight: 450 !important;
        font-size: clamp(0.92rem, 3.8vw, 1.02rem) !important;
        line-height: 1.62 !important;
        color: rgba(255, 255, 255, 0.78) !important;
        max-width: 40ch !important;
        margin: 0 auto !important;
        text-align: center !important;
        -webkit-font-smoothing: antialiased !important;
      }

      body.lang-ar .vhe-hero-desc,
      html[dir="rtl"] .vhe-hero-desc {
        font-family: 'IBM Plex Sans Arabic', -apple-system, sans-serif !important;
        font-weight: 400 !important;
        font-size: clamp(0.96rem, 3.9vw, 1.06rem) !important;
        line-height: 1.70 !important;
        color: rgba(255, 255, 255, 0.82) !important;
        max-width: 42ch !important;
      }

      /* ── 4. Centerpiece TV Stage (Placed Directly Below Copy) ── */
      .vhe-tv-stage {
        order: 2 !important;
        display: flex !important;
        justify-content: center !important;
        align-items: flex-end !important;
        width: 100% !important;
        margin: 8px auto 0 auto !important;
        padding: 0 !important;
        position: relative !important;
        min-height: auto !important;
      }

      .vhe-tv-rig {
        position: relative !important;
        width: 100% !important;
        max-width: min(94vw, 540px) !important;
        margin: 0 auto !important;
        transform: none !important;
        aspect-ratio: 1000 / 612 !important;
      }

      /* Front-Facing VISIO TV with Daylight Wallpaper */
      .vhe-tv-static {
        display: block !important;
        position: absolute !important;
        inset: 0 !important;
        width: 100% !important;
        height: 100% !important;
        z-index: 2 !important;
      }

      .vhe-tv-static img {
        display: block !important;
        width: 100% !important;
        height: 100% !important;
        object-fit: contain !important;
        filter: drop-shadow(0 14px 28px rgba(0, 0, 0, 0.65)) !important;
      }

      /* Realistic Grounding Contact Shadows on Mobile Floor */
      .vhe-tv-shadow {
        display: block !important;
        position: absolute !important;
        inset: 0 !important;
        width: 100% !important;
        height: 100% !important;
        opacity: 1 !important;
        z-index: 1 !important;
        pointer-events: none !important;
      }

      /* Left Foot Grounding: Deep Contact Core + Diffuse Floor Shadow */
      .vhe-front-foot-shadow--left {
        position: absolute !important;
        bottom: -3px !important;
        left: 0.8% !important;
        width: 10% !important;
        height: 14px !important;
        background: radial-gradient(ellipse 55% 45% at 47% 50%, rgba(0, 0, 0, 0.98) 0%, rgba(0, 0, 0, 0.72) 42%, transparent 75%) !important;
        filter: blur(2.5px) !important;
      }

      .vhe-front-foot-shadow--left::after {
        content: "" !important;
        position: absolute !important;
        inset: 1px 0 !important;
        background: radial-gradient(ellipse 60% 40% at 47% 50%, #000000 0%, rgba(0, 0, 0, 0.88) 45%, transparent 75%) !important;
        filter: blur(1.0px) !important;
      }

      /* Right Foot Grounding: Deep Contact Core + Diffuse Floor Shadow */
      .vhe-front-foot-shadow--right {
        position: absolute !important;
        bottom: -3px !important;
        right: 0.8% !important;
        width: 10% !important;
        height: 14px !important;
        background: radial-gradient(ellipse 55% 45% at 53% 50%, rgba(0, 0, 0, 0.98) 0%, rgba(0, 0, 0, 0.72) 42%, transparent 75%) !important;
        filter: blur(2.5px) !important;
      }

      .vhe-front-foot-shadow--right::after {
        content: "" !important;
        position: absolute !important;
        inset: 1px 0 !important;
        background: radial-gradient(ellipse 60% 40% at 53% 50%, #000000 0%, rgba(0, 0, 0, 0.88) 45%, transparent 75%) !important;
        filter: blur(1.0px) !important;
      }

      /* Chassis Ambient Occlusion Shadow */
      .vhe-front-chassis-shadow {
        position: absolute !important;
        bottom: -2px !important;
        left: 5% !important;
        width: 90% !important;
        height: 16px !important;
        background: radial-gradient(ellipse 70% 50% at 50% 40%, rgba(0, 0, 0, 0.92) 0%, rgba(0, 0, 0, 0.42) 55%, transparent 80%) !important;
        filter: blur(4.5px) !important;
      }
    }

    /* Tablet Specific Enhancements (541px - 1024px) */
    @media (min-width: 541px) and (max-width: 1024px) {
      .vhe-hero {
        padding-top: calc(var(--nav-h, 64px) + 28px) !important;
        padding-bottom: 32px !important;
      }

      .vhe-hero-container {
        padding: 0 24px !important;
        gap: 22px !important;
      }

      .vhe-tv-rig {
        max-width: min(88vw, 680px) !important;
      }

      .vhe-studio-wall {
        bottom: 125px !important;
        background-size: cover, 900px !important;
      }

      .vhe-studio-floor {
        height: 140px !important;
      }

      .vhe-studio-glow {
        max-width: 580px !important;
        height: 250px !important;
        bottom: 55px !important;
        opacity: 0.32 !important;
      }
    }
  



/* ══════════════════════════════════════════════════════════════════════════
   MOBILE CINEMATIC LAYER (phones, max-width 768px)
   Active only while the script has added .vhe-hero--mobile-cine to #hero.
   Without JavaScript, or with prefers-reduced-motion, the approved static
   mobile hero above is used unchanged.

   Rules here set layout only. Everything the script animates (opacity,
   transform, visibility, colours) is written by the script as inline
   !important styles, so no stylesheet rule can block an animation.
   Geometry measured by the script arrives as custom properties on #hero:
     --vhe-m-nav      fixed header height
     --vhe-m-floor-h  floor height so the horizon sits just behind the TV feet
     --vhe-m-tv-w     TV width
     --vhe-m-tv-cy    vertical centre of the TV screen
     --vhe-m-feet-y   vertical position of the TV feet
   Scroll length: --vhe-m-track (track height in small-viewport units).
   ══════════════════════════════════════════════════════════════════════════ */
@media (max-width: 768px) {
  .vhe-hero.vhe-hero--mobile-cine {
    --vhe-m-track: 280;
    position: relative !important;
    min-height: 0 !important;
    height: auto !important;
    padding: 0 !important;
    overflow: visible !important;
    background: #040507 !important;
  }

  /* Scroll track: the whole story plays over (track - one screen) of scrolling */
  .vhe-hero--mobile-cine .vhe-hero-track {
    position: relative !important;
    height: calc(var(--vhe-m-track) * 1vh) !important;
    height: calc(var(--vhe-m-track) * 1svh) !important;
    min-height: 0 !important;
  }

  /* Pinned stage uses the largest viewport height, so no strip of page shows
     below it when the browser toolbar collapses */
  .vhe-hero--mobile-cine .vhe-hero-sticky {
    position: sticky !important;
    top: 0 !important;
    width: 100% !important;
    height: 100vh !important;
    height: 100lvh !important;
    min-height: 0 !important;
    display: block !important;
    padding: 0 !important;
    overflow: hidden !important;
  }

  /* One column: text near the top, TV directly beneath it */
  .vhe-hero--mobile-cine .vhe-hero-container {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    max-width: none !important;
    height: 100% !important;
    margin: 0 !important;
    padding: calc(var(--vhe-m-nav, 64px) + clamp(18px, 4.2svh, 52px)) 0 0 !important;
    /* Unusually tall screens (taller than about 2.2 : 1) move the group down slightly */
    padding-top: calc(var(--vhe-m-nav, 64px) + clamp(18px, 4.2svh, 52px) + max(0px, (100svh - 220vw) * 0.3)) !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 0 !important;
    z-index: 2 !important;
    box-sizing: border-box !important;
  }

  .vhe-hero--mobile-cine .vhe-hero-content {
    order: 1 !important;
    position: relative !important;
    display: grid !important;
    grid-template-areas: "stack" !important;
    justify-items: center !important;
    align-items: start !important;
    width: 100% !important;
    max-width: 480px !important;
    margin: 0 auto !important;
    padding: 0 20px !important;
    box-sizing: border-box !important;
    text-align: center !important;
    z-index: 3 !important;
    flex: 0 0 auto !important;
  }

  .vhe-hero--mobile-cine .vhe-text-block--primary,
  .vhe-hero--mobile-cine .vhe-text-block--assembly {
    grid-area: stack !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    transition: none !important;
  }

  .vhe-hero--mobile-cine .vhe-model-tag {
    font-size: 0.70rem !important;
    letter-spacing: 0.20em !important;
    padding: 3px 14px !important;
    margin: 0 0 10px !important;
  }

  .vhe-hero--mobile-cine .vhe-hero-title,
  .vhe-hero--mobile-cine .vhe-hero-title--assembly {
    font-family: 'Plus Jakarta Sans', -apple-system, sans-serif !important;
    font-weight: 600 !important;
    font-size: clamp(1.9rem, min(8.6vw, 4.4svh), 2.75rem) !important;
    line-height: 1.14 !important;
    letter-spacing: -0.022em !important;
    margin: 0 0 10px !important;
    text-align: center !important;
    max-width: 100% !important;
    width: 100% !important;
  }

  body.lang-ar .vhe-hero--mobile-cine .vhe-hero-title,
  html[dir="rtl"] .vhe-hero--mobile-cine .vhe-hero-title,
  body.lang-ar .vhe-hero--mobile-cine .vhe-hero-title--assembly,
  html[dir="rtl"] .vhe-hero--mobile-cine .vhe-hero-title--assembly {
    font-family: 'IBM Plex Sans Arabic', -apple-system, sans-serif !important;
    font-size: clamp(1.85rem, min(8.2vw, 4.2svh), 2.6rem) !important;
    line-height: 1.32 !important;
    letter-spacing: normal !important;
  }

  .vhe-hero--mobile-cine .vhe-hero-desc {
    font-size: clamp(0.88rem, 3.6vw, 1rem) !important;
    line-height: 1.58 !important;
    max-width: 36ch !important;
    margin: 0 auto !important;
    text-align: center !important;
  }

  body.lang-ar .vhe-hero--mobile-cine .vhe-hero-desc,
  html[dir="rtl"] .vhe-hero--mobile-cine .vhe-hero-desc {
    font-size: clamp(0.92rem, 3.8vw, 1.04rem) !important;
    line-height: 1.7 !important;
  }

  .vhe-hero--mobile-cine .vhe-hero-actions {
    display: none !important;
  }

  /* TV stage */
  .vhe-hero--mobile-cine .vhe-tv-stage {
    order: 2 !important;
    position: relative !important;
    display: flex !important;
    justify-content: center !important;
    align-items: flex-start !important;
    width: 100% !important;
    min-height: 0 !important;
    height: auto !important;
    margin: clamp(20px, 3.4svh, 40px) 0 0 !important;
    padding: 0 !important;
    flex: 0 0 auto !important;
    perspective: 1200px !important;
  }

  .vhe-hero--mobile-cine .vhe-tv-rig {
    position: relative !important;
    display: block !important;
    width: min(calc(100vw - 28px), 500px) !important;
    max-width: none !important;
    height: auto !important;
    aspect-ratio: 1400 / 857 !important;
    margin: 0 auto !important;
    transform-style: preserve-3d !important;
    will-change: transform;
  }

  .vhe-hero--mobile-cine .vhe-tv-layer--angle,
  .vhe-hero--mobile-cine .vhe-tv-static,
  .vhe-hero--mobile-cine .vhe-screen-bridge,
  .vhe-hero--mobile-cine .vhe-led-rig {
    display: none !important;
  }

  .vhe-hero--mobile-cine .vhe-tv-interactive {
    display: block !important;
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    z-index: 3 !important;
    perspective: 1200px !important;
    transform-style: preserve-3d !important;
  }

  .vhe-hero--mobile-cine .vhe-tv-frame-img {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: fill !important;
    z-index: 3 !important;
    filter: none !important;
  }

  /* Screen, depth and sheen planes use the measured screen window of the
     real frame image (base rules: 0.212% / 0.347% / 99.575% / 91.742%) */
  .vhe-hero--mobile-cine .vhe-screen-plane {
    display: block !important;
    z-index: 2 !important;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.55) !important;
  }

  .vhe-hero--mobile-cine .vhe-screen-fill-img {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
  }

  .vhe-hero--mobile-cine .vhe-depth-plane {
    display: block !important;
    z-index: 1 !important;
  }

  .vhe-hero--mobile-cine .vhe-reflection-plane {
    display: block !important;
    position: absolute !important;
    top: var(--vhe-front-screen-top, 0.347%) !important;
    left: var(--vhe-front-screen-left, 0.212%) !important;
    width: var(--vhe-front-screen-width, 99.575%) !important;
    height: var(--vhe-front-screen-height, 91.742%) !important;
    z-index: 4 !important;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.22) 0%, rgba(255, 255, 255, 0.05) 36%, transparent 64%) !important;
    pointer-events: none !important;
  }

  /* Contact shadows at the real foot contact points (4.3% and 95.6% of the
     frame width, measured from 75vss22g-front-frame-1400.webp) */
  .vhe-hero--mobile-cine .vhe-tv-shadow {
    display: block !important;
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    margin: 0 !important;
    background: none !important;
    filter: none !important;
    pointer-events: none !important;
    z-index: 1 !important;
  }

  .vhe-hero--mobile-cine .vhe-front-foot-shadow--left,
  .vhe-hero--mobile-cine .vhe-front-foot-shadow--right {
    position: absolute !important;
    top: auto !important;
    right: auto !important;
    bottom: 0 !important;
    width: 9% !important;
    height: 3.4% !important;
    min-height: 5px !important;
    transform: translate(-50%, 50%) !important;
    background: radial-gradient(ellipse 50% 50% at 50% 50%, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.55) 45%, transparent 75%) !important;
    filter: blur(1.5px) !important;
  }

  .vhe-hero--mobile-cine .vhe-front-foot-shadow--left { left: 4.3% !important; }
  .vhe-hero--mobile-cine .vhe-front-foot-shadow--right { left: 95.6% !important; }

  .vhe-hero--mobile-cine .vhe-front-foot-shadow--left::after,
  .vhe-hero--mobile-cine .vhe-front-foot-shadow--right::after {
    content: none !important;
  }

  .vhe-hero--mobile-cine .vhe-front-chassis-shadow {
    position: absolute !important;
    left: 4% !important;
    width: 92% !important;
    bottom: 0 !important;
    height: 7% !important;
    transform: translateY(50%) !important;
    background: radial-gradient(ellipse 50% 50% at 50% 50%, rgba(0, 0, 0, 0.75) 0%, rgba(0, 0, 0, 0.3) 55%, transparent 78%) !important;
    filter: blur(5px) !important;
  }

  /* Studio: wall and floor meet just behind the TV feet */
  .vhe-hero--mobile-cine .vhe-studio-env {
    display: block !important;
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    z-index: 0 !important;
    transition: none !important;
  }

  .vhe-hero--mobile-cine .vhe-studio-wall {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: calc(var(--vhe-m-floor-h, 42%) - 1px) !important;
  }

  .vhe-hero--mobile-cine .vhe-studio-floor {
    position: absolute !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    height: var(--vhe-m-floor-h, 42%) !important;
  }

  .vhe-hero--mobile-cine .vhe-studio-floor::after {
    height: 120px !important;
    opacity: 0.6 !important;
  }

  /* Concealed bias light on the wall behind the TV (colour follows the scene) */
  .vhe-hero--mobile-cine .vhe-studio-glow {
    display: block !important;
    position: absolute !important;
    top: var(--vhe-m-tv-cy, 50%) !important;
    bottom: auto !important;
    left: 50% !important;
    right: auto !important;
    width: calc(var(--vhe-m-tv-w, 360px) * 1.18) !important;
    max-width: none !important;
    height: calc(var(--vhe-m-tv-w, 360px) * 0.62) !important;
    transform: translate(-50%, -50%) !important;
    filter: blur(34px) !important;
    mix-blend-mode: screen !important;
    transition: none !important;
  }

  /* Soft light spill from the screen onto the floor in front of the TV */
  .vhe-hero--mobile-cine .vhe-studio-spill {
    display: block !important;
    position: absolute !important;
    top: var(--vhe-m-feet-y, 70%) !important;
    left: 50% !important;
    width: calc(var(--vhe-m-tv-w, 360px) * 1.05) !important;
    height: calc(var(--vhe-m-tv-w, 360px) * 0.26) !important;
    transform: translate(-50%, -38%) !important;
    border-radius: 50% !important;
    filter: blur(16px) !important;
    mix-blend-mode: screen !important;
    pointer-events: none !important;
  }

  /* Scroll cue stays inside the visible area even with the toolbar showing */
  .vhe-hero--mobile-cine .vhe-scroll-hint {
    display: flex !important;
    position: absolute !important;
    left: 50% !important;
    bottom: 18px !important;
    bottom: calc(18px + 100lvh - 100svh) !important;
    transform: translateX(-50%) !important;
    z-index: 5 !important;
    transition: none !important;
  }

  /* Picture that expands out of the TV screen to fill the phone screen */
  .vhe-hero--mobile-cine .vhe-m-fullbleed {
    display: block !important;
    position: absolute !important;
    inset: 0 !important;
    z-index: 9 !important;
    overflow: hidden !important;
    pointer-events: none !important;
    background: transparent !important;
  }

  .vhe-hero--mobile-cine .vhe-m-fullbleed img {
    position: absolute !important;
    top: 0 !important;
    max-width: none !important;
    transform-origin: 0 0 !important;
    will-change: transform, clip-path;
  }

  /* Final headline over the full-screen picture */
  .vhe-hero--mobile-cine .vhe-entry-overlay {
    display: grid !important;
    place-items: center !important;
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    padding: 0 24px !important;
    box-sizing: border-box !important;
    z-index: 10 !important;
    pointer-events: none !important;
    background: radial-gradient(ellipse 120% 70% at 50% 50%, rgba(0, 0, 0, 0.30) 0%, rgba(0, 0, 0, 0.55) 100%) !important;
    transition: none !important;
  }

  .vhe-hero--mobile-cine .vhe-entry-title {
    max-width: 12ch !important;
    font-family: 'Plus Jakarta Sans', -apple-system, sans-serif !important;
    font-weight: 600 !important;
    font-size: clamp(2.1rem, 9.4vw, 2.9rem) !important;
    line-height: 1.12 !important;
    letter-spacing: -0.022em !important;
    margin: 0 !important;
    text-shadow: 0 2px 24px rgba(0, 0, 0, 0.75) !important;
  }

  body.lang-ar .vhe-hero--mobile-cine .vhe-entry-title,
  html[dir="rtl"] .vhe-hero--mobile-cine .vhe-entry-title {
    font-family: 'IBM Plex Sans Arabic', -apple-system, sans-serif !important;
    font-size: clamp(2rem, 9vw, 2.75rem) !important;
    line-height: 1.32 !important;
    letter-spacing: normal !important;
  }

  .vhe-hero--mobile-cine + .divider {
    display: none !important;
  }
}

/* Floor light spill and expanding picture exist only in the mobile layer */
.vhe-studio-spill,
.vhe-m-fullbleed {
  display: none;
}
