/* v199 — immersive entrance / Avoriaz-inspired feeling of arrival.
   Explicitly *not* a 360° tour. Real architecture photography, no autoplay video.
   Homepage-only; existing source, lesson content, navigation and tools untouched. */
body.theme-home.sbs199-arrival .home-hero-cinematic{
  isolation:isolate;position:relative;overflow:clip;background:#090f27!important;
  color:#fff;min-height:0!important;height:auto!important;max-height:none!important;
  padding-bottom:clamp(23px,3.5vw,48px)!important
}
body.theme-home.sbs199-arrival .home-hero-cinematic .hero-bg{
  position:absolute!important;inset:0!important;z-index:-2!important;
  background:linear-gradient(90deg,rgba(5,11,29,.96) 0%,rgba(6,14,32,.85) 27%,rgba(12,18,35,.52) 52%,rgba(15,14,32,.19) 100%),linear-gradient(0deg,rgba(7,10,26,.97) 0%,rgba(9,12,30,.58) 24%,rgba(5,13,28,.04) 77%),url('/assets/hero/home-mosque-v55.webp') center 51% / cover no-repeat!important;
  opacity:1!important;transform:none!important;filter:saturate(1.15) contrast(1.06)!important;animation:none!important
}
body.theme-home.sbs199-arrival .home-hero-cinematic::before{content:""!important;position:absolute;inset:0;z-index:-1;pointer-events:none;opacity:.5;background:radial-gradient(circle at 75% 12%,rgba(255,222,167,.44) 0 1px,transparent 2px),radial-gradient(circle at 64% 26%,rgba(255,237,200,.5) 0 1px,transparent 2px),radial-gradient(circle at 88% 17%,rgba(255,255,255,.43) 0 1px,transparent 2px),linear-gradient(90deg,transparent,rgba(225,158,69,.03))!important;background-size:auto!important}
body.theme-home.sbs199-arrival .home-hero-cinematic::after{content:"";position:absolute;top:-260px;right:-140px;width:650px;height:650px;border-radius:50%;z-index:-1;pointer-events:none;background:radial-gradient(circle,rgba(238,185,108,.17),transparent 69%)}
body.theme-home.sbs199-arrival .home-hero-cinematic .hero-nav-wrap{position:relative!important;z-index:22!important;padding-top:clamp(13px,1.6vw,24px)!important;max-width:1540px!important}
body.theme-home.sbs199-arrival .home-hero-cinematic .hero-primary-nav{padding:5px!important;border:1px solid rgba(255,233,184,.24)!important;border-radius:18px!important;background:rgba(11,15,36,.67)!important;box-shadow:0 14px 35px rgba(2,6,19,.2)!important;backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px)}
body.theme-home.sbs199-arrival .home-hero-cinematic .hero-primary-nav .nav-link{color:#f8f3eb!important}
body.theme-home.sbs199-arrival .home-hero-cinematic .hero-primary-nav .nav-start{color:#271a32!important}
body.theme-home.sbs199-arrival .sbs199-hero-content{position:relative;z-index:1;max-width:1540px!important;padding-top:clamp(58px,6.2vw,98px)!important;padding-bottom:clamp(58px,6vw,95px)!important;}
body.theme-home.sbs199-arrival .sbs199-arrival-kicker{display:flex;align-items:center;gap:12px;font:750 11px/1.4 system-ui,sans-serif;letter-spacing:.2em;color:#ffe4a4!important;margin-bottom:22px;text-transform:uppercase}
.sbs199-kicker-line{display:inline-block;width:32px;height:2px;background:#eab96b}
body.theme-home.sbs199-arrival .sbs199-hero-copy{max-width:780px!important;position:relative}
body.theme-home.sbs199-arrival .sbs199-hero-copy h1{font:400 clamp(3.15rem,5.4vw,6rem)/.99 Georgia,'Times New Roman',serif!important;letter-spacing:-.047em!important;color:#fff9ee!important;margin:0 0 23px!important;max-width:none!important;text-shadow:0 5px 30px rgba(1,4,15,.3)!important;text-wrap:balance}
body.theme-home.sbs199-arrival .sbs199-hero-copy h1 em{font-weight:400;font-style:normal;color:#ffe2a2!important}
body.theme-home.sbs199-arrival .sbs199-hero-copy>p{max-width:56ch!important;font:400 clamp(.99rem,1.45vw,1.15rem)/1.63 system-ui,sans-serif!important;color:#fff4e5!important;margin:0 0 23px!important;text-shadow:0 2px 18px #050a16}
body.theme-home.sbs199-arrival .sbs199-actions{display:flex;flex-wrap:wrap;align-items:center;gap:12px;margin:0 0 18px}
body.theme-home.sbs199-arrival .sbs199-actions a{display:inline-flex;align-items:center;justify-content:center;gap:22px;min-height:52px;padding:13px 22px;border-radius:999px;text-decoration:none!important;font:800 .93rem/1.2 system-ui,sans-serif!important;transition:transform .2s ease,box-shadow .2s ease,background .2s ease}
body.theme-home.sbs199-arrival .sbs199-action-primary{background:linear-gradient(135deg,#ffeebf,#e9ba65)!important;color:#22112b!important;box-shadow:0 9px 28px rgba(0,0,0,.25)}
body.theme-home.sbs199-arrival .sbs199-action-secondary{color:#fff!important;border:1px solid rgba(255,246,227,.65)!important;background:rgba(12,11,31,.47)!important}
body.theme-home.sbs199-arrival .sbs199-actions a:hover{transform:translateY(-2px);box-shadow:0 12px 30px rgba(0,0,0,.32)}
body.theme-home.sbs199-arrival .sbs199-quick-links{display:flex;flex-wrap:wrap;align-items:center;gap:9px}
body.theme-home.sbs199-arrival .sbs199-quick-links a{min-height:38px;display:inline-flex;align-items:center;border:1px solid rgba(255,244,224,.35);border-radius:100px;padding:8px 14px;color:#fff7e9!important;background:rgba(8,12,32,.49);font-size:.81rem;font-weight:650;text-decoration:none!important;transition:background .18s ease,border-color .18s ease}
body.theme-home.sbs199-arrival .sbs199-quick-links a:hover{background:rgba(255,244,224,.16);border-color:#f3cb87}
body.theme-home.sbs199-arrival .sbs199-discover{position:relative;z-index:2;max-width:1540px!important}
body.theme-home.sbs199-arrival .sbs199-discover-intro{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:0 0 15px!important}
body.theme-home.sbs199-arrival .sbs199-discover-intro>span{font:800 .73rem/1.5 system-ui,sans-serif;letter-spacing:.16em;color:#ffe5b1!important}
body.theme-home.sbs199-arrival .sbs199-discover-intro>p{font:.86rem/1.4 system-ui,sans-serif;color:#fff0dc!important;margin:0!important}
body.theme-home.sbs199-arrival .sbs199-discover-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
body.theme-home.sbs199-arrival .sbs199-destination{position:relative;display:block;min-width:0;height:clamp(152px,13vw,186px);isolation:isolate;overflow:hidden;border:1px solid rgba(255,225,164,.58)!important;border-radius:17px;background:#20152e;box-shadow:0 18px 34px rgba(2,5,21,.32);text-decoration:none!important;color:#fff!important;transition:transform .22s ease,border-color .22s ease,box-shadow .22s ease}
body.theme-home.sbs199-arrival .sbs199-destination>img{position:absolute;inset:0;display:block;width:100%;height:100%;object-fit:cover;object-position:center 50%;z-index:-2;filter:saturate(.94) contrast(1.04);transition:transform .4s ease}
body.theme-home.sbs199-arrival .sbs199-dest-shade{position:absolute;inset:0;z-index:-1;background:linear-gradient(0deg,rgba(8,9,24,.96) 0%,rgba(11,9,29,.80) 39%,rgba(15,11,25,.04) 100%)}
body.theme-home.sbs199-arrival .sbs199-dest-body{position:absolute;left:clamp(13px,1.45vw,22px);bottom:17px;display:flex;flex-direction:column;gap:3px;right:48px;z-index:1}
body.theme-home.sbs199-arrival .sbs199-dest-body small{font:750 10px/1.25 system-ui,sans-serif;letter-spacing:.12em;color:#ffe1a0!important;white-space:normal}
body.theme-home.sbs199-arrival .sbs199-dest-body strong{font:400 clamp(1.24rem,1.55vw,1.7rem)/1.12 Georgia,serif;color:#fff!important}
body.theme-home.sbs199-arrival .sbs199-dest-body>span{font:.77rem/1.4 system-ui,sans-serif;color:#f4e8dc!important}
body.theme-home.sbs199-arrival .sbs199-dest-arrow{position:absolute;bottom:16px;right:15px;display:grid;place-items:center;width:31px;height:31px;border-radius:50%;background:#f4d184;color:#20182a;font-size:17px;font-weight:750}
body.theme-home.sbs199-arrival .sbs199-destination:hover{transform:translateY(-5px);border-color:#fff0c4!important;box-shadow:0 22px 48px rgba(2,5,21,.43)}
body.theme-home.sbs199-arrival .sbs199-destination:hover>img{transform:scale(1.045)}
body.theme-home.sbs199-arrival .sbs199-explore-bottom{display:flex;justify-content:space-between;flex-wrap:wrap;gap:16px;margin-top:19px}
body.theme-home.sbs199-arrival .sbs199-explore-bottom a{font:.81rem/1.35 system-ui,sans-serif;font-weight:650;color:#ffe4aa!important;text-decoration:none!important;border-bottom:1px solid rgba(255,223,168,.55);padding:5px 0}
body.theme-home.sbs199-arrival .sbs199-explore-bottom a:hover{color:#fff!important;border-color:#fff}
body.theme-home.sbs199-arrival .home-hero-cinematic a:focus-visible,body.theme-home.sbs199-arrival .home-hero-cinematic summary:focus-visible{outline:3px solid #fff0a4!important;outline-offset:4px!important}
/* Keep the first practical tool immediately after the entrance, without another competing four-card shelf. */
body.theme-home.sbs199-arrival .home-prayer-times{scroll-margin-top:90px}
body.theme-home.sbs199-arrival .home-prayer-times .home-prayer-times-intro h2{letter-spacing:-.02em}
@media(min-width:1700px){body.theme-home.sbs199-arrival .sbs199-hero-content{padding-top:115px!important;padding-bottom:105px!important}}
@media(max-width:1050px){
 body.theme-home.sbs199-arrival .sbs199-hero-content{padding-top:56px!important;padding-bottom:64px!important}
 body.theme-home.sbs199-arrival .sbs199-hero-copy h1{font-size:clamp(3.25rem,6.5vw,4.65rem)!important}
 body.theme-home.sbs199-arrival .sbs199-dest-body strong{font-size:1.2rem}
 body.theme-home.sbs199-arrival .sbs199-dest-body>span{font-size:.72rem}
 body.theme-home.sbs199-arrival .sbs199-destination{height:165px}
}
@media(max-width:820px){
 body.theme-home.sbs199-arrival .home-hero-cinematic .hero-primary-nav{display:none!important}
 body.theme-home.sbs199-arrival .home-hero-cinematic .hero-bg{background-position:center 45%!important;background-image:linear-gradient(90deg,rgba(5,11,29,.94),rgba(6,13,30,.67)),linear-gradient(0deg,rgba(6,8,24,.99),transparent 90%),url('/assets/hero/home-mosque-v55.webp')!important}
 body.theme-home.sbs199-arrival .sbs199-hero-content{padding-top:52px!important;padding-bottom:52px!important}
 body.theme-home.sbs199-arrival .sbs199-hero-copy{max-width:620px!important}
 body.theme-home.sbs199-arrival .sbs199-hero-copy h1{font-size:clamp(2.7rem,7.5vw,4rem)!important}
 body.theme-home.sbs199-arrival .sbs199-discover-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 body.theme-home.sbs199-arrival .sbs199-destination{height:158px}
}
@media(max-width:560px){
 body.theme-home.sbs199-arrival .home-hero-cinematic{padding-bottom:24px!important}
 body.theme-home.sbs199-arrival .sbs199-hero-content{width:calc(100% - 32px)!important;padding-top:38px!important;padding-bottom:36px!important}
 body.theme-home.sbs199-arrival .sbs199-arrival-kicker{font-size:10px;letter-spacing:.13em;margin-bottom:15px}
 body.theme-home.sbs199-arrival .sbs199-hero-copy h1{font-size:clamp(2.45rem,10.6vw,3.4rem)!important;letter-spacing:-.045em!important;margin-bottom:16px!important}
 body.theme-home.sbs199-arrival .sbs199-hero-copy>p{font-size:.94rem!important;line-height:1.55!important;max-width:45ch}
 body.theme-home.sbs199-arrival .sbs199-actions{display:grid;gap:9px}
 body.theme-home.sbs199-arrival .sbs199-actions a{width:100%;min-height:48px;justify-content:space-between;padding:11px 17px}
 body.theme-home.sbs199-arrival .sbs199-quick-links{gap:7px}
 body.theme-home.sbs199-arrival .sbs199-quick-links a{font-size:.75rem;padding:7px 11px;min-height:35px}
 body.theme-home.sbs199-arrival .sbs199-discover{width:calc(100% - 28px)!important}
 body.theme-home.sbs199-arrival .sbs199-discover-intro{display:block;margin-bottom:11px!important}
 body.theme-home.sbs199-arrival .sbs199-discover-intro>p{margin-top:4px!important;font-size:.75rem}
 body.theme-home.sbs199-arrival .sbs199-discover-grid{gap:10px}
 body.theme-home.sbs199-arrival .sbs199-destination{height:150px;border-radius:13px}
 body.theme-home.sbs199-arrival .sbs199-dest-body{left:11px;right:34px;bottom:13px;gap:2px}
 body.theme-home.sbs199-arrival .sbs199-dest-body small{font-size:8px;letter-spacing:.055em}
 body.theme-home.sbs199-arrival .sbs199-dest-body strong{font-size:clamp(1.02rem,4.9vw,1.3rem)}
 body.theme-home.sbs199-arrival .sbs199-dest-body>span{font-size:.66rem;line-height:1.2}
 body.theme-home.sbs199-arrival .sbs199-dest-arrow{bottom:10px;right:10px;width:24px;height:24px;font-size:14px}
 body.theme-home.sbs199-arrival .sbs199-explore-bottom{margin-top:11px}
}
@media(prefers-reduced-motion:reduce){body.theme-home.sbs199-arrival .sbs199-destination,body.theme-home.sbs199-arrival .sbs199-destination>img,body.theme-home.sbs199-arrival .sbs199-actions a,body.theme-home.sbs199-arrival .sbs199-quick-links a{transition:none!important}}
@media(forced-colors:active){body.theme-home.sbs199-arrival .sbs199-destination,body.theme-home.sbs199-arrival .sbs199-actions a{border:2px solid CanvasText!important}body.theme-home.sbs199-arrival .sbs199-dest-shade{background:Canvas!important}}

/* v199 visual QA corrections */
body.theme-home.sbs199-arrival .home-hero-cinematic .hero-primary-nav .nav-start{background:#f7dda3!important;color:#281735!important;border-radius:12px!important}
body.theme-home.sbs199-arrival .sbs199-destination>img{z-index:0!important}
body.theme-home.sbs199-arrival .sbs199-dest-shade{z-index:1!important}
body.theme-home.sbs199-arrival .sbs199-dest-body{z-index:2!important}
body.theme-home.sbs199-arrival .sbs199-dest-arrow{z-index:2!important}
@media(min-width:1051px){body.theme-home.sbs199-arrival .sbs199-hero-content{padding-top:60px!important;padding-bottom:54px!important}}
@media(max-width:560px){body.theme-home.sbs199-arrival .sbs199-hero-content{padding-top:65px!important}}
