/* ══════════════════════════════════════════════════════════════════════════
   VISIO Home Entertainment Stylesheet
   Phase 3.8: Four-Plane Assembly, Pure Jet-Black Stage,
              Synchronized Storytelling & Clean Responsive Landing
   ══════════════════════════════════════════════════════════════════════════ */

/* Prevent horizontal overflow on html and body without breaking position:sticky
   (overflow-x: clip does NOT establish a scroll container in Blink/WebKit) */
html,
body {
  overflow-x: clip !important;
}

/* Page-scoped texture suppression: disable site-wide noise overlay specifically on home-entertainment */
body:has(#hero)::after {
  display: none !important;
}

/* Hero root container & scoped design variables */
.vhe-hero {
  --vhe-bg-dark: #000000;
  --vhe-gold-primary: #D4AF37;
  --vhe-gold-subtle: rgba(212, 175, 55, 0.04);
  --vhe-gold-glow: rgba(212, 175, 55, 0.08);

  /* Calibrated front active display geometry (2344 / 2354 w, 1322 / 1441 h) */
  --vhe-front-screen-left: 0.212%;
  --vhe-front-screen-top: 0.347%;
  --vhe-front-screen-width: 99.575%;
  --vhe-front-screen-height: 91.742%;

  /* Configurable V2 Concealed LED Lighting Tokens (Midnight -> Pre-dawn -> Sunrise -> Daylight)
     Preserves approved V2 silhouette geometry, intensity, softness, and foot contact shadows
     while keeping all 4 landscape states configurable until final artwork approval. */
  /* State 1 — Midnight: Subdued moonlight blue & deep midnight indigo */
  --vhe-midnight-left-core: #1464d2;
  --vhe-midnight-left-glow: #0d479e;
  --vhe-midnight-mid-core: #1e4ab8;
  --vhe-midnight-mid-glow: #153588;
  --vhe-midnight-right-core: #2c359e;
  --vhe-midnight-right-glow: #1f2475;
  --vhe-midnight-accent-core: #382e96;
  --vhe-midnight-accent-glow: #281f6e;

  /* State 2 — Pre-dawn: Restrained twilight violet & warm pre-dawn rose */
  --vhe-predawn-left-core: #5438a8;
  --vhe-predawn-left-glow: #3c2482;
  --vhe-predawn-mid-core: #70389c;
  --vhe-predawn-mid-glow: #522678;
  --vhe-predawn-right-core: #9e3f6a;
  --vhe-predawn-right-glow: #782b4e;
  --vhe-predawn-accent-core: #b84d6e;
  --vhe-predawn-accent-glow: #8c3652;

  /* State 3 — Sunrise: Gentle warm morning white & sunrise amber */
  --vhe-sunrise-left-core: #a89886;
  --vhe-sunrise-left-glow: #75685a;
  --vhe-sunrise-mid-core: #b5865e;
  --vhe-sunrise-mid-glow: #825d3e;
  --vhe-sunrise-right-core: #c2763c;
  --vhe-sunrise-right-glow: #8f5224;
  --vhe-sunrise-accent-core: #cc8242;
  --vhe-sunrise-accent-glow: #995b28;

  /* State 4 — Daylight: Natural soft white with subtle cool sky tones */
  --vhe-daylight-left-core: #7e9ec4;
  --vhe-daylight-left-glow: #546e8f;
  --vhe-daylight-mid-core: #8ea6c2;
  --vhe-daylight-mid-glow: #607690;
  --vhe-daylight-right-core: #a0b2c6;
  --vhe-daylight-right-glow: #6e7f92;
  --vhe-daylight-accent-core: #acbcca;
  --vhe-daylight-accent-glow: #768698;

  /* Localized V-feet floor contact pad tokens */
  --vhe-led-foot-angle-left: rgba(155, 175, 215, 0.22);
  --vhe-led-foot-angle-right: rgba(145, 158, 208, 0.24);
  --vhe-led-foot-front-left: rgba(175, 185, 205, 0.22);
  --vhe-led-foot-front-right: rgba(188, 182, 198, 0.22);

  position: relative;
  background-color: #000000 !important;
  background-image: none !important;
  width: 100%;
  box-sizing: border-box;
}

.vhe-hero * {
  box-sizing: border-box;
}

/* ── Accessible Skip Presentation Link ── */
.vhe-skip-link {
  position: absolute;
  top: 16px;
  left: 24px;
  z-index: 100;
  background: #000000;
  color: var(--yellow, #D4AF37);
  border: 1px solid var(--yellow, #D4AF37);
  padding: 8px 16px;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 999px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.8);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-8px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

body.lang-ar .vhe-skip-link,
html[dir="rtl"] .vhe-skip-link {
  left: auto;
  right: 24px;
  font-family: var(--font-ar);
  letter-spacing: 0;
}

.vhe-skip-link:focus-visible,
.vhe-hero--interactive .vhe-skip-link {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.vhe-hero--interactive .vhe-skip-link {
  top: auto;
  bottom: 24px;
  left: 32px;
  opacity: 0.75;
}

body.lang-ar .vhe-hero--interactive .vhe-skip-link,
html[dir="rtl"] .vhe-hero--interactive .vhe-skip-link {
  left: auto;
  right: 32px;
}

.vhe-hero--interactive .vhe-skip-link:hover,
.vhe-hero--interactive .vhe-skip-link:focus-visible {
  opacity: 1;
  background: var(--yellow, #D4AF37);
  color: #000000;
  box-shadow: none;
}

/* ── Track & Sticky Container ── */
/* In fallback / mobile / reduced-motion mode: natural flow with zero scroll pinning */
.vhe-hero-track {
  width: 100%;
  position: relative;
  height: auto;
}

.vhe-hero-sticky {
  width: 100%;
  position: relative;
  height: auto;
  padding-top: calc(var(--nav-h, 72px) + 24px);
  padding-bottom: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Layout Container */
.vhe-hero-container {
  max-width: var(--max-w, 1280px);
  width: 100%;
  margin: 0 auto;
  padding: 0 32px;
  display: grid;
  grid-template-columns: minmax(320px, 1fr) minmax(420px, 1.25fr);
  gap: 48px;
  align-items: center;
}

/* Content Column: Synchronized Stack of Text Moments */
.vhe-hero-content {
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  position: relative;
  z-index: 3;
  width: 100%;
}

.vhe-text-block {
  grid-area: 1 / 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  text-align: left;
}

.vhe-text-block--primary {
  z-index: 2;
  opacity: 1;
  transform: none;
}

.vhe-text-block--assembly {
  z-index: 1;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  display: none;
  max-width: min(420px, 38vw);
}

.vhe-hero--interactive .vhe-text-block--assembly {
  display: flex;
}

.vhe-hero-title--assembly {
  font-size: clamp(2rem, 3.6vw, 3.2rem);
  margin-bottom: 0;
}

/* Model Tag */
.vhe-model-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--yellow, #D4AF37);
  margin-bottom: 12px;
  padding: 4px 12px;
  background: rgba(212, 175, 55, 0.08);
  border: 1px solid rgba(212, 175, 55, 0.25);
  border-radius: 999px;
}

body.lang-ar .vhe-model-tag,
html[lang="ar"] .vhe-model-tag {
  font-family: var(--font-ar);
  letter-spacing: 0.05em;
}

/* Title — Crisp White with Restrained Gold Emphasis (No Glow) */
.vhe-hero-title {
  font-family: var(--font-body);
  font-size: clamp(2.4rem, 4.5vw, 4.0rem);
  font-weight: 800;
  line-height: 1.08;
  color: #ffffff;
  margin: 0 0 16px 0;
  letter-spacing: -0.02em;
}

.vhe-hero-title .yellow-glow,
.vhe-hero .yellow-glow {
  color: var(--yellow, #D4AF37) !important;
  text-shadow: none !important;
}

body.lang-ar .vhe-hero-title,
html[lang="ar"] .vhe-hero-title {
  font-family: var(--font-ar);
  line-height: 1.25;
  letter-spacing: normal;
}

/* Description */
.vhe-hero-desc {
  font-family: var(--font-body);
  font-size: clamp(0.95rem, 1.35vw, 1.15rem);
  font-weight: 300;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.88);
  margin: 0 0 28px 0;
  max-width: 520px;
}

body.lang-ar .vhe-hero-desc,
html[lang="ar"] .vhe-hero-desc {
  font-family: var(--font-ar);
  line-height: 1.7;
}

/* Action Buttons — Crisp, No Shadow Bloom */
.vhe-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
}

.vhe-hero-actions .btn-yellow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--yellow, #D4AF37);
  color: #000000;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 14px 28px;
  border-radius: 999px;
  box-shadow: none !important;
  transition: transform 0.2s ease, background 0.2s ease;
}

.vhe-hero-actions .btn-yellow:hover {
  transform: translateY(-2px);
  background: #ffffff;
  box-shadow: none !important;
}

.vhe-hero-actions .btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.25);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 13px 26px;
  border-radius: 999px;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.vhe-hero-actions .btn-outline:hover {
  border-color: rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.05);
  transform: translateY(-2px);
}

body.lang-ar .vhe-hero-actions .btn-yellow,
body.lang-ar .vhe-hero-actions .btn-outline,
html[lang="ar"] .vhe-hero-actions .btn-yellow,
html[lang="ar"] .vhe-hero-actions .btn-outline {
  font-family: var(--font-ar);
  letter-spacing: 0;
}

.vhe-hero-actions a:focus-visible {
  outline: 2px solid var(--yellow, #D4AF37);
  outline-offset: 3px;
}

/* ── TV Stage & Layers ── */
.vhe-tv-stage {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  min-height: 480px;
}

/* Stable TV Rig Wrapper with known front-canvas aspect ratio 2354 / 1441 */
.vhe-tv-rig {
  position: relative;
  width: 100%;
  max-width: min(760px, 48vw);
  aspect-ratio: 2354 / 1441;
  display: grid;
  place-items: center;
  transform-style: preserve-3d;
  transform-origin: center center;
}

/* Restrained TV Contact Shadow Grounding Feet onto Stage */
.vhe-tv-shadow {
  grid-area: 1 / 1;
  width: 84%;
  height: 22px;
  align-self: end;
  margin-bottom: 0.5%;
  background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.75) 0%, rgba(0, 0, 0, 0.3) 48%, transparent 72%);
  filter: blur(8px);
  pointer-events: none;
  z-index: 1;
  transform: translateZ(0);
}

/* Real Angled TV Opening Layer (Phase 3.5 Restored) */
.vhe-tv-layer--angle {
  grid-area: 1 / 1;
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 96%;
  aspect-ratio: 1000 / 931;
  z-index: 2;
  display: block;
  pointer-events: none;
  transform-origin: bottom center;
}

.vhe-tv-picture--angle,
.vhe-tv-img--angle {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transform: none !important;
  position: relative;
  z-index: 2;
  filter: none;
}

html[data-lighting-off="true"] .vhe-tv-picture--angle,
html[data-lighting-off="true"] .vhe-tv-img--angle {
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.85));
}

/* Static Fallback Front TV: used on mobile and fallback */
.vhe-tv-static {
  grid-area: 1 / 1;
  width: 100%;
  height: 100%;
  display: none;
  position: relative;
  z-index: 2;
}

.vhe-tv-img--front-static {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.85));
}

/* Interactive Enhanced Rig: active only after assets decode */
.vhe-tv-interactive {
  grid-area: 1 / 1;
  width: 100%;
  height: 100%;
  position: relative;
  z-index: 3;
  display: none;
  pointer-events: none;
  perspective: 1400px;
  perspective-origin: 50% 50%;
  transform-style: preserve-3d;
  opacity: 0;
}

@media (min-width: 769px) {
  .vhe-tv-static {
    display: none !important;
  }
}

@media (min-width: 769px) and (max-width: 1120px) {
  .vhe-hero-container {
    grid-template-columns: minmax(280px, 0.95fr) minmax(360px, 1.15fr);
    gap: 28px;
    padding: 0 20px;
  }

  .vhe-text-block--assembly {
    max-width: 320px;
  }
}

/* Layer A: Stationary Front Chassis Frame & Feet */
.vhe-tv-frame-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  position: relative;
  z-index: 2;
  filter: none;
  transform-style: preserve-3d;
}

html[data-lighting-off="true"] .vhe-tv-frame-img {
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.85));
}

/* Layer B: Approved Colorful Artwork Screen Plane */
.vhe-screen-plane {
  position: absolute;
  top: var(--vhe-front-screen-top);
  left: var(--vhe-front-screen-left);
  width: var(--vhe-front-screen-width);
  height: var(--vhe-front-screen-height);
  z-index: 1;
  overflow: hidden;
  border-radius: 1px;
  pointer-events: none;
  transform-style: preserve-3d;
  transform-origin: 50% 50%;
  outline: 1px solid transparent;
  outline-offset: -1px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7);
}

/* Layer C: CSS Reflection Highlight Sheen */
.vhe-reflection-plane {
  position: absolute;
  top: var(--vhe-front-screen-top);
  left: var(--vhe-front-screen-left);
  width: var(--vhe-front-screen-width);
  height: var(--vhe-front-screen-height);
  z-index: 3;
  pointer-events: none;
  transform-style: preserve-3d;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.16) 0%,
    rgba(255, 255, 255, 0.05) 30%,
    transparent 55%,
    rgba(212, 175, 55, 0.04) 75%,
    transparent 100%
  );
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 1px;
  opacity: 0;
}

.vhe-screen-plane {
  position: absolute;
  top: var(--vhe-front-screen-top);
  left: var(--vhe-front-screen-left);
  width: var(--vhe-front-screen-width);
  height: var(--vhe-front-screen-height);
  overflow: hidden;
}

.vhe-screen-fill-img {
  position: absolute;
  top: 0;
  left: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: fill;
  pointer-events: none;
  transition: none !important;
}

.vhe-screen-fill--daylight { z-index: 1; }
.vhe-screen-fill--sunrise  { z-index: 2; }
.vhe-screen-fill--predawn  { z-index: 3; }
.vhe-screen-fill--midnight { z-index: 4; }

/* Strict Product RTL Non-Mirroring Rule */
body.lang-ar .vhe-tv-img,
html[dir="rtl"] .vhe-tv-img,
body.lang-ar .vhe-tv-frame-img,
html[dir="rtl"] .vhe-tv-frame-img,
body.lang-ar .vhe-screen-fill-img,
html[dir="rtl"] .vhe-screen-fill-img {
  transform: none !important;
}

/* RTL Text Alignment */
body.lang-ar .vhe-hero-content,
html[dir="rtl"] .vhe-hero-content {
  text-align: right;
  align-items: flex-start;
}

body.lang-ar .vhe-text-block,
html[dir="rtl"] .vhe-text-block {
  text-align: right;
  align-items: flex-start;
}

/* ══════════════════════════════════════════════════════════════════════════
   INTERACTIVE DESKTOP ENHANCEMENT (>= 769px)
   ══════════════════════════════════════════════════════════════════════════ */
@media (min-width: 769px) {
  /* 130vh pinned travel: readable separation and docking, then screen entry. */
  .vhe-hero--interactive .vhe-hero-track {
    height: 230vh;
  }

  .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;
    overflow: hidden;
  }

  /* Desktop layout grid helpers — scoped strictly to desktop to avoid mobile tab collisions */
  .grid { display: grid; gap: 24px; }
  .grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* ══════════════════════════════════════════════════════════════════════════
   OS ECOSYSTEM GRID & CARD REPAIR (Landing Section)
   ══════════════════════════════════════════════════════════════════════════ */
.os-grid {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 28px !important;
  width: 100% !important;
  margin-top: 32px;
}

@media (max-width: 1024px) {
  .os-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 20px !important;
  }
}

@media (max-width: 640px) {
  .os-grid {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }
}

.os-card {
  background: var(--ink-800);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex !important;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

/* Sibling hover & focus: use valid existing global --yellow */
.os-card:hover {
  border-color: var(--yellow, #D4AF37) !important;
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
}

.os-card:focus-visible {
  outline: 2px solid var(--yellow, #D4AF37) !important;
  outline-offset: 3px;
}

.os-screenshot {
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--ink-700);
  position: relative;
}

.os-screenshot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.os-card:hover .os-screenshot img {
  transform: scale(1.03);
}

/* Progressive Enhancement: ensure cards remain visible under reduced motion */
@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* ══════════════════════════════════════════════════════════════════════════
   MOBILE LAYOUT (< 769px) & PROGRESSIVE FALLBACK
   ══════════════════════════════════════════════════════════════════════════ */
@media (max-width: 768px) {
  .vhe-hero {
    padding-top: calc(var(--nav-h, 64px) + 20px);
    padding-bottom: 48px;
    background-color: #000000 !important;
    background-image: none !important;
  }

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

  .vhe-hero-sticky {
    position: relative !important;
    height: auto !important;
    top: auto !important;
    padding-top: 0;
    padding-bottom: 0;
  }

  .vhe-hero-container {
    grid-template-columns: 1fr;
    gap: 32px;
    min-height: auto;
    padding: 0 20px;
    text-align: center;
  }

  .vhe-hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .vhe-text-block {
    align-items: center;
    text-align: center;
  }

  body.lang-ar .vhe-hero-content,
  html[dir="rtl"] .vhe-hero-content,
  body.lang-ar .vhe-text-block,
  html[dir="rtl"] .vhe-text-block {
    align-items: center;
    text-align: center;
  }

  .vhe-hero-title {
    font-size: clamp(2rem, 8vw, 2.8rem);
    margin-bottom: 12px;
  }

  .vhe-hero-desc {
    font-size: 0.95rem;
    margin-bottom: 24px;
    max-width: 100%;
  }

  .vhe-hero-actions {
    justify-content: center;
    width: 100%;
  }

  .vhe-hero-actions .btn-yellow,
  .vhe-hero-actions .btn-outline {
    width: 100%;
    max-width: 320px;
  }

  .vhe-tv-stage {
    order: -1;
  }

  .vhe-tv-rig {
    max-width: 520px;
  }

  .vhe-tv-layer--angle {
    display: none !important;
  }

  .vhe-tv-interactive {
    display: none !important;
  }

  .vhe-tv-static {
    display: block !important;
  }
}

/* ══════════════════════════════════════════════════════════════════════════
   REDUCED MOTION & ACCESSIBILITY FALLBACK
   ══════════════════════════════════════════════════════════════════════════ */
@media (prefers-reduced-motion: reduce) {
  .vhe-hero-track {
    height: auto !important;
  }

  .vhe-hero-sticky {
    position: relative !important;
    height: auto !important;
    top: auto !important;
    padding-top: calc(var(--nav-h, 72px) + 36px) !important;
    padding-bottom: 72px !important;
    overflow: visible !important;
  }

  .vhe-tv-interactive {
    display: none !important;
  }

  .vhe-tv-rig {
    transform: none !important;
  }

  .vhe-hero,
  .vhe-hero * {
    transition: none !important;
    animation: none !important;
  }
}


/* Phase 3.6: one continuous screen plane bridges the two original views.
   The image is sized at the front active-screen dimensions, never a tiny
   1px raster enlarged by a transform. No visible background effect is added. */
.vhe-screen-bridge {
  display: none;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 6;
  opacity: 0;
  transform-origin: 0 0;
  pointer-events: none;
  overflow: hidden;
  background: #000;
  filter: none;
  box-shadow: none;
  transition: none !important;
}
.vhe-hero--interactive .vhe-screen-bridge { display: block; }
.vhe-screen-bridge img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: fill;
  transform: none !important;
  filter: none !important;
}
@media (max-width: 768px), (prefers-reduced-motion: reduce) {
  .vhe-screen-bridge { display: none !important; }
}

/* Phase 3.8: decorative depth, without invented physical component imagery. */
.vhe-depth-plane {
  display: none;
  position: absolute;
  top: var(--vhe-front-screen-top);
  left: var(--vhe-front-screen-left);
  width: var(--vhe-front-screen-width);
  height: var(--vhe-front-screen-height);
  z-index: 0;
  opacity: 0;
  pointer-events: none;
  transform-origin: 50% 50%;
  transform-style: preserve-3d;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 1px;
  background: linear-gradient(145deg, #222326, #090a0c 58%, #17181b);
  box-shadow: none;
  filter: none;
  transition: none !important;
}

/* Text is outside the scaling rig so that its type remains sharply rendered.
   It appears only over the full-cover picture and exits in document flow. */
.vhe-entry-overlay {
  display: none;
  position: absolute;
  top: var(--nav-h, 72px);
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 8;
  place-items: center;
  padding: 32px;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  background: rgba(0, 0, 0, 0.60);
  transition: none !important;
}

.vhe-entry-title {
  max-width: 14ch;
  margin: 0;
  color: #fff;
  font-family: inherit;
  font-size: clamp(2.5rem, 6.4vw, 6rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.035em;
  text-align: center;
  text-wrap: balance;
}

body.lang-ar .vhe-entry-title,
html[dir="rtl"] .vhe-entry-title {
  letter-spacing: 0;
  line-height: 1.3;
}

@media (min-width: 769px) {
  .vhe-hero--interactive .vhe-depth-plane { display: block; }
  .vhe-hero--interactive .vhe-entry-overlay { display: grid; }
}

@media (max-width: 768px), (prefers-reduced-motion: reduce) {
  .vhe-depth-plane,
  .vhe-entry-overlay { display: none !important; }
}

/* ══════════════════════════════════════════════════════════════════════════
   APPROVED V2 CONCEALED LED SILHOUETTE LIGHTING & LOCALIZED V-FEET CONTACT
   Preserves V2 silhouette geometry, intensity, softness, and foot shadows,
   while transitioning smoothly across the 4 configurable landscape states:
   1. Midnight (subdued moonlight blue / indigo)
   2. Pre-dawn (restrained violet & rose)
   3. Sunrise (gentle amber & warm white)
   4. Daylight (natural soft white with subtle cool tones)
   ══════════════════════════════════════════════════════════════════════════ */
html[data-led-palette="v2-mockup"] .vhe-hero {
  --vhe-midnight-left-core: #0073ff;
  --vhe-midnight-left-glow: #004ee0;
  --vhe-midnight-mid-core: #2b38e0;
  --vhe-midnight-mid-glow: #1c229e;
  --vhe-midnight-right-core: #7b0ed6;
  --vhe-midnight-right-glow: #58069e;
  --vhe-midnight-accent-core: #b517ad;
  --vhe-midnight-accent-glow: #850a88;
  --vhe-led-foot-angle-right: rgba(198, 162, 220, 0.26);
}

.vhe-led-rig {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  transform: translateZ(0);
}

.vhe-led-rig--front {
  z-index: -1;
  opacity: 0;
  visibility: hidden;
  will-change: opacity;
}

.vhe-led-state {
  position: absolute;
  inset: 0;
  pointer-events: none;
  will-change: opacity;
}

.vhe-led-state--midnight {
  --vhe-state-left-core: var(--vhe-midnight-left-core);
  --vhe-state-left-glow: var(--vhe-midnight-left-glow);
  --vhe-state-mid-core: var(--vhe-midnight-mid-core);
  --vhe-state-mid-glow: var(--vhe-midnight-mid-glow);
  --vhe-state-right-core: var(--vhe-midnight-right-core);
  --vhe-state-right-glow: var(--vhe-midnight-right-glow);
  --vhe-state-accent-core: var(--vhe-midnight-accent-core);
  --vhe-state-accent-glow: var(--vhe-midnight-accent-glow);
  opacity: 1;
}

.vhe-led-state--predawn {
  --vhe-state-left-core: var(--vhe-predawn-left-core);
  --vhe-state-left-glow: var(--vhe-predawn-left-glow);
  --vhe-state-mid-core: var(--vhe-predawn-mid-core);
  --vhe-state-mid-glow: var(--vhe-predawn-mid-glow);
  --vhe-state-right-core: var(--vhe-predawn-right-core);
  --vhe-state-right-glow: var(--vhe-predawn-right-glow);
  --vhe-state-accent-core: var(--vhe-predawn-accent-core);
  --vhe-state-accent-glow: var(--vhe-predawn-accent-glow);
  opacity: 0;
}

.vhe-led-state--sunrise {
  --vhe-state-left-core: var(--vhe-sunrise-left-core);
  --vhe-state-left-glow: var(--vhe-sunrise-left-glow);
  --vhe-state-mid-core: var(--vhe-sunrise-mid-core);
  --vhe-state-mid-glow: var(--vhe-sunrise-mid-glow);
  --vhe-state-right-core: var(--vhe-sunrise-right-core);
  --vhe-state-right-glow: var(--vhe-sunrise-right-glow);
  --vhe-state-accent-core: var(--vhe-sunrise-accent-core);
  --vhe-state-accent-glow: var(--vhe-sunrise-accent-glow);
  opacity: 0;
}

.vhe-led-state--daylight {
  --vhe-state-left-core: var(--vhe-daylight-left-core);
  --vhe-state-left-glow: var(--vhe-daylight-left-glow);
  --vhe-state-mid-core: var(--vhe-daylight-mid-core);
  --vhe-state-mid-glow: var(--vhe-daylight-mid-glow);
  --vhe-state-right-core: var(--vhe-daylight-right-core);
  --vhe-state-right-glow: var(--vhe-daylight-right-glow);
  --vhe-state-accent-core: var(--vhe-daylight-accent-core);
  --vhe-state-accent-glow: var(--vhe-daylight-accent-glow);
  opacity: 0;
}

/* Padded (-10%) emitter bounds prevent clip-path or Gaussian blur clipping at 0% / 100% */
.vhe-led-core,
.vhe-led-halo {
  position: absolute;
  left: -10%;
  top: -10%;
  width: 120%;
  height: 120%;
  pointer-events: none;
}

.vhe-led-core {
  filter: blur(4.5px);
}

.vhe-led-halo {
  filter: blur(22px);
}

.vhe-led-core::before,
.vhe-led-core::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(ellipse 38% 58% at 96% 62%, var(--vhe-state-accent-core) 0%, transparent 72%),
    linear-gradient(96deg,
      var(--vhe-state-left-core) 0%,
      var(--vhe-state-left-core) 32%,
      var(--vhe-state-mid-core) 52%,
      var(--vhe-state-right-core) 76%,
      var(--vhe-state-accent-core) 100%
    );
}

.vhe-led-halo::before,
.vhe-led-halo::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(ellipse 42% 62% at 96% 62%, var(--vhe-state-accent-glow) 0%, transparent 75%),
    linear-gradient(96deg,
      var(--vhe-state-left-glow) 0%,
      var(--vhe-state-left-glow) 32%,
      var(--vhe-state-mid-glow) 52%,
      var(--vhe-state-right-glow) 76%,
      var(--vhe-state-accent-glow) 100%
    );
}

/* ── 1. Angled Opening TV Silhouette (Calibrated to 1400x1304 perspective trapezoid) ── */
.vhe-led-rig--angle .vhe-led-core::before {
  clip-path: polygon(9.92% 20.72%, 91.88% 8.00%, 91.88% 85.30%, 79.15% 84.10%, 20.85% 76.10%, 9.92% 73.70%);
  opacity: 0.96;
}

.vhe-led-rig--angle .vhe-led-core::after {
  clip-path: polygon(9.62% 20.42%, 92.18% 7.70%, 92.18% 85.40%, 79.00% 84.22%, 21.00% 76.22%, 9.62% 73.45%);
  opacity: 0.54;
}

.vhe-led-rig--angle .vhe-led-halo::before {
  clip-path: polygon(9.45% 20.25%, 92.45% 7.45%, 92.45% 85.45%, 78.85% 84.25%, 21.15% 76.25%, 9.45% 73.30%);
  opacity: 0.86;
}

.vhe-led-rig--angle .vhe-led-halo::after {
  clip-path: polygon(8.85% 19.65%, 93.10% 6.85%, 93.10% 85.55%, 78.50% 84.40%, 21.50% 76.40%, 8.85% 72.90%);
  opacity: 0.45;
}

/* ── 2. Front-Facing TV Chassis Silhouette (Calibrated to 1400x857 chassis rect) ── */
.vhe-led-rig--front .vhe-led-core::before {
  clip-path: polygon(8.05% 8.02%, 91.95% 8.02%, 91.95% 85.90%, 80.80% 86.25%, 19.20% 86.25%, 8.05% 85.90%);
  opacity: 0.96;
}

.vhe-led-rig--front .vhe-led-core::after {
  clip-path: polygon(7.78% 7.75%, 92.22% 7.75%, 92.22% 85.98%, 80.50% 86.38%, 19.50% 86.38%, 7.78% 85.98%);
  opacity: 0.54;
}

.vhe-led-rig--front .vhe-led-halo::before {
  clip-path: polygon(7.60% 7.55%, 92.40% 7.55%, 92.40% 86.02%, 80.20% 86.42%, 19.80% 86.42%, 7.60% 86.02%);
  opacity: 0.86;
}

.vhe-led-rig--front .vhe-led-halo::after {
  clip-path: polygon(7.00% 6.95%, 93.05% 6.95%, 93.05% 86.10%, 79.60% 86.58%, 20.40% 86.58%, 7.00% 86.10%);
  opacity: 0.45;
}

/* Solid dark rear chassis enclosure inside front aperture prevents interior light leak during 4-plane separation */
.vhe-led-rig--front .vhe-led-backplate {
  position: absolute;
  left: 0.15%;
  top: 0.18%;
  width: 99.70%;
  height: 93.35%;
  background: linear-gradient(145deg, #08090c 0%, #030406 58%, #07080b 100%);
  border-radius: 1px;
  pointer-events: none;
}

/* ── 3. Localized Contact Shadows & Subtle Studio Floor Pads Beneath Metal V-Feet ── */
.vhe-led-feet {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.vhe-led-feet::before,
.vhe-led-feet::after {
  content: "";
  position: absolute;
  pointer-events: none;
  filter: blur(3px);
}

/* Angled TV: Left V-Foot localized studio pad + tight contact shadow */
.vhe-led-rig--angle .vhe-led-feet::before {
  left: -1.6%;
  top: 81.2%;
  width: 16.5%;
  height: 5.8%;
  transform: rotate(-5.5deg);
  background:
    radial-gradient(ellipse 42% 16% at 50% 42%, rgba(0, 0, 0, 0.96) 0%, rgba(0, 0, 0, 0.72) 55%, transparent 100%),
    radial-gradient(ellipse 48% 36% at 50% 56%, var(--vhe-led-foot-angle-left) 0%, rgba(55, 80, 130, 0.08) 48%, transparent 78%);
}

/* Angled TV: Right V-Foot localized studio pad + tight contact shadow */
.vhe-led-rig--angle .vhe-led-feet::after {
  left: 87.2%;
  top: 94.2%;
  width: 13.8%;
  height: 7.2%;
  transform: rotate(-12deg);
  background:
    radial-gradient(ellipse 44% 16% at 48% 44%, rgba(0, 0, 0, 0.96) 0%, rgba(0, 0, 0, 0.74) 55%, transparent 100%),
    radial-gradient(ellipse 48% 38% at 50% 58%, var(--vhe-led-foot-angle-right) 0%, rgba(65, 75, 135, 0.09) 50%, transparent 78%);
}

/* Front TV: Left & Right V-Foot localized studio pads + tight contact shadows */
.vhe-led-rig--front .vhe-led-feet::before {
  left: 0.6%;
  top: 95.8%;
  width: 11.8%;
  height: 5.4%;
  background:
    radial-gradient(ellipse 42% 18% at 50% 42%, rgba(0, 0, 0, 0.96) 0%, rgba(0, 0, 0, 0.72) 55%, transparent 100%),
    radial-gradient(ellipse 48% 38% at 50% 58%, var(--vhe-led-foot-front-left) 0%, rgba(85, 100, 125, 0.08) 48%, transparent 78%);
}

.vhe-led-rig--front .vhe-led-feet::after {
  left: 87.6%;
  top: 95.8%;
  width: 11.8%;
  height: 5.4%;
  background:
    radial-gradient(ellipse 42% 18% at 50% 42%, rgba(0, 0, 0, 0.96) 0%, rgba(0, 0, 0, 0.72) 55%, transparent 100%),
    radial-gradient(ellipse 48% 38% at 50% 58%, var(--vhe-led-foot-front-right) 0%, rgba(95, 100, 120, 0.09) 50%, transparent 78%);
}

/* Suppress broad stage shadow when localized V2 foot contact shadows are active on desktop */
@media (min-width: 769px) {
  html:not([data-lighting-off="true"]) .vhe-tv-shadow {
    opacity: 0 !important;
    visibility: hidden !important;
  }
}

/* Preserve static fallback on mobile (< 769px), reduced motion, and ?lighting=off baseline */
@media (max-width: 768px), (prefers-reduced-motion: reduce) {
  .vhe-led-rig {
    display: none !important;
  }
}

/* LED rig visibility controlled exclusively by animation state */
.vhe-led-rig {
  display: block;
}

/* Direct route to the TV lineup from the opening frame */
.vhe-hero-cta { display: inline-flex; align-items: center; margin-top: 26px; position: relative; z-index: 5; pointer-events: auto; }
@media (max-width: 768px) { .vhe-hero-cta { margin-top: 16px; padding: 12px 22px; font-size: 0.92rem; } }
