/* Native video playback in normal document flow, with no pinned scroll distance. */
body:has(.cinematic-scroll) > #app > header { position: fixed; inset: 0 0 auto; }
.cinematic-scroll { position: relative; height:auto; background: #163d33; }
.cinematic-scroll .cinematic-hero {
  position:relative; min-height:100vh; min-height:100svh; height:auto;
  display: flex; flex-direction: column; justify-content: center;
  isolation: isolate; border: 0; background: #163d33 url('/assets/riyadh-scroll-poster.jpg') center / cover;
}
.cinematic-video, .cinematic-shade { position: absolute; inset: 0; width: 100%; height: 100%; }
.cinematic-video { object-fit: cover; object-position: center; z-index: -2; }
.cinematic-shade { z-index: -1; background: linear-gradient(90deg, #082a25df, #0a30256b 48%, #082a250a 85%), linear-gradient(0deg, #082a2599, transparent 35%); }
.cinematic-scroll .hero-inner { width: min(1200px, calc(100% - 88px)); margin-inline: auto; padding: 120px 0 110px; }
.cinematic-scroll .hero-inner h1 { color: #fff; font-size: clamp(54px, 6.7vw, 94px); max-width: 750px; margin-bottom: 24px; }
.cinematic-scroll .hero-inner h1 em { color: #e7c777; }
.cinematic-scroll .eyebrow { color: #d9e8d5; }
.cinematic-scroll .hero-desc { color: #f0f4ec; max-width: 510px; text-shadow: 0 1px 6px #082a2533; }
.cinematic-scroll .button { background: #f7f8f1; border-color: #f7f8f1; color: var(--deep); }
.cinematic-scroll .actions { align-items: center; gap: 27px; }
.cinematic-skip { display: inline-flex; align-items: center; gap: 12px; color: #fff; font-size: 13px; font-weight: 600; }
.cinematic-skip svg { width: 18px; }
.cinematic-bottom { position: absolute; bottom: 28px; inset-inline: 0; display: flex; align-items: center; gap: 22px; color: #fff; }
.cinematic-cue, .cinematic-caption { font-size: 10px; letter-spacing: .13em; text-transform: uppercase; }
.cinematic-track { height: 2px; width: 140px; background: #ffffff4d; overflow: hidden; }
.cinematic-track span { display: block; width: 100%; height: 100%; background: #e7c777; transform: scaleX(0); transform-origin: left; }
.cinematic-caption { margin-inline-start: auto; }
.home-content.pillar-intro { margin-top: 0; padding-top: 48px; padding-bottom: 0; background: #fff; }
.footage-unavailable { height: 100svh; }
html[dir=rtl] .cinematic-shade { background: linear-gradient(270deg, #082a25df, #0a30256b 48%, #082a250a 85%), linear-gradient(0deg, #082a2599, transparent 35%); }
html[dir=rtl] .cinematic-track span { transform-origin: right; }
html[dir=rtl] .cinematic-scroll .hero-inner h1 { font-size: clamp(48px, 5.6vw, 78px); line-height: 1.28; }
@media(max-width:800px) {
  .cinematic-scroll { height:auto; }
  .cinematic-scroll .hero-inner { width: calc(100% - 40px); padding: 105px 0 90px; }
  .cinematic-scroll .cinematic-hero { display: flex; }
  .cinematic-scroll .hero-inner h1 { font-size: clamp(48px, 9vw, 70px); }
  .cinematic-scroll .hero-desc { max-width: 420px; font-size: 14px; }
  .cinematic-bottom { bottom: 24px; gap: 15px; }
  .cinematic-caption { display: none; }
  .cinematic-track { flex: 1; max-width: 180px; }
  .cinematic-shade { background: linear-gradient(90deg, #082a25d9, #082a2540), linear-gradient(0deg, #082a2580, transparent); }
  .cinematic-scroll .actions { gap: 16px; }
  .home-content.pillar-intro { padding-top: 30px; }
}
@media(max-height:600px) {
  .cinematic-scroll .hero-inner { padding-top: 95px; padding-bottom: 50px; }
  .cinematic-scroll .hero-inner h1, html[dir=rtl] .cinematic-scroll .hero-inner h1 { font-size: 40px; line-height: 1.08; margin-bottom: 12px; }
  .cinematic-scroll .eyebrow { margin-bottom: 12px; }
  .cinematic-scroll .hero-desc { font-size: 12px; line-height: 1.5; margin-bottom: 12px; }
  .cinematic-scroll .actions { margin-top: 12px; }
  .cinematic-bottom { bottom: 12px; }
}
/* Explicit positive layers also avoid negative-z video rendering issues on mobile. */
.cinematic-video { z-index:0; }
.cinematic-shade { z-index:2; pointer-events:none; }
.cinematic-scroll .hero-inner { z-index:3; }
.cinematic-bottom { z-index:3; }
/* Footage belongs to the service sections, with no separate media-player cards. */
.cinematic-chapter { height:auto; }
.cinematic-chapter .cinematic-hero { min-height:78vh; min-height:78svh; }
.cinematic-chapter .hero-inner h2 { color:#fff; font-size:clamp(46px,6vw,80px); line-height:1.08; max-width:750px; margin-bottom:25px; }
.cinematic-chapter .hero-desc { max-width:530px; }
.featured-set { padding-top:45px; padding-bottom:65px; }
.featured-set .card { border-top:3px solid var(--green); }
html[dir=rtl] .cinematic-chapter .hero-inner h2 { font-size:clamp(42px,5.5vw,72px); line-height:1.3; }
@media(max-width:800px) {
 .cinematic-chapter .cinematic-hero { min-height:80svh; }
 .cinematic-chapter .hero-inner h2 { font-size:clamp(42px,9vw,64px); }
 .featured-set { padding-top:28px; padding-bottom:45px; }
}
@media(max-height:600px) {
 .cinematic-chapter .hero-inner h2,html[dir=rtl] .cinematic-chapter .hero-inner h2 { font-size:38px; margin-bottom:15px; }
}

