/* V15: One real background, one scene graph, zero cross-section seams. */
:root{color-scheme:dark;--ink:#eaf2ff;--shade:rgba(3,7,21,.58)}
html,body{background:#020612!important;overflow-x:hidden}
#world-canvas{position:fixed;inset:0;z-index:0;width:100%;height:100dvh;pointer-events:none;display:block}
main{position:relative;z-index:1;isolation:auto;background:transparent!important}
header{z-index:50;backdrop-filter:blur(12px);background:linear-gradient(180deg,rgba(2,6,18,.80),rgba(2,6,18,.1))!important}
.stage{height:290svh!important;position:relative;z-index:2;isolation:auto;background:transparent!important}
.sticky{height:100svh!important;position:sticky;top:0;overflow:hidden;isolation:auto;background:transparent!important}
.sticky::after{display:none!important}
#scene,#universe,#chromatic-canvas,#about-wave-canvas{display:none!important}
/* All chapter backgrounds transparent: same fixed sky persists behind every chapter. */
main>section.about,main>section.site-section,.site-section,.about,.solutions-section,.match-section,.process-section,.why-section,.contact-section{background:transparent!important;background-image:none!important;border:0!important;box-shadow:none!important;isolation:auto!important;position:relative;z-index:2}
main>section.about::before,main>section.about::after,main>section.site-section::before,main>section.site-section::after{display:none!important;content:none!important}
main>section.about{padding:clamp(124px,14vh,180px) 8vw!important;min-height:96svh}
main>section.site-section{padding-block:clamp(120px,12vw,170px)!important;min-height:80svh}
.about .wrap,.site-section .section-shell{position:relative;z-index:3}
.about h2,.site-section h2{color:#eef4ff;text-shadow:0 12px 60px rgba(0,8,26,.68)}
.about p,.site-section p{color:#c2d0e9}
.site-section .section-kicker,.about .sub{color:#9cc8ff}
/* Soft local text readability without painting a solid rectangular section. */
.about .wrap:before{content:'';position:absolute;z-index:-1;inset:-15% 18% -17% -16%;background:radial-gradient(ellipse at 44% 46%,rgba(4,11,30,.38),transparent 66%);pointer-events:none}
.site-section .section-shell:before{content:'';position:absolute;z-index:-1;inset:-15% 16% -15% -15%;background:radial-gradient(ellipse at 45% 50%,rgba(3,7,19,.35),transparent 66%);pointer-events:none}
.sol-card{background:linear-gradient(145deg,rgba(18,27,53,.70),rgba(7,12,32,.77))!important;border:1px solid rgba(134,177,245,.22)!important;backdrop-filter:blur(12px);box-shadow:0 28px 90px rgba(0,4,18,.22)}
.match-ui{backdrop-filter:blur(12px)}
.contact-fields{background:rgba(13,20,41,.74)!important;backdrop-filter:blur(14px)}
.site-footer{position:relative;z-index:3;background:rgba(3,6,18,.76)!important;backdrop-filter:blur(18px)}
/* Preserve approved triangle logo positioning and text in Hero, but preserve layout stability. */
.content{width:min(42vw,610px);left:5.3%;z-index:5}
.content h1{font-family:'Manrope','DM Sans',sans-serif!important;font-weight:700;letter-spacing:-.068em;line-height:1.08}
.content p,.panel p{font-family:'Manrope','DM Sans',sans-serif!important}
.panel{z-index:5;right:6%;width:min(37vw,590px)}
.panel h2{font-family:'Manrope','DM Sans',sans-serif!important;letter-spacing:-.07em;line-height:1.17;font-size:clamp(40px,4.6vw,74px)}
.panel p{font-size:clamp(15px,1.25vw,19px);line-height:1.9}
html[data-ui-lang="ar"] .content h1,html[data-ui-lang="ar"] .content p,html[data-ui-lang="ar"] .panel h2,html[data-ui-lang="ar"] .panel p{font-family:'Tajawal',sans-serif!important;letter-spacing:-.025em}
.dive-caption{position:absolute;top:37%;left:50%;transform:translate(-50%,20px);z-index:3;display:grid;gap:12px;text-align:center;letter-spacing:.28em;color:#d3e6ff;opacity:0;pointer-events:none;will-change:opacity,transform;text-shadow:0 10px 40px rgba(0,0,0,.8)}
.dive-caption span{font:700 clamp(24px,3.5vw,46px) 'Manrope',sans-serif;letter-spacing:.12em}
.dive-caption small{font:500 10px 'Manrope',sans-serif;letter-spacing:.24em;color:#aac4ee}
.footerbar{z-index:6}
/* No empty artificial bridges or stage-specific color panels. */
.chromatic-bridge,.continuity-passage{display:none!important}
@media(max-width:950px){
 .content{left:6%;width:min(44vw,500px)}
 .panel{right:6%;width:min(41vw,500px)}
 .panel h2{font-size:clamp(36px,5vw,60px)}
}
@media(max-width:840px){
 .stage{height:275svh!important}
 .content{top:17%;left:7%;right:7%;width:auto}
 .content h1{font-size:clamp(40px,10vw,69px)!important}
 .content p{font-size:clamp(14px,3.4vw,18px)!important}
 .panel{right:7%;left:7%;bottom:10%;top:auto;width:auto}
 .panel h2{font-size:clamp(31px,7vw,49px)!important}
 .panel p{font-size:15px!important}
 .dive-caption{top:26%;width:80%}
 main>section.about{padding:105px 7vw!important;min-height:85svh}
 main>section.site-section{padding-block:100px!important;min-height:65svh}
}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto!important} .dive-caption{display:none!important}}

/* V18: About must appear BESIDE the logo throughout the middle hero animation, not after it. */
#aboutPanel{max-width:570px;visibility:visible!important;will-change:opacity,transform}
#aboutPanel h2{font-size:clamp(37px,4.3vw,66px);line-height:1.13;margin:18px 0 20px}
#aboutPanel h2 em{font-style:normal;color:#b4caff;background:linear-gradient(95deg,#7dccff,#b7a2ff);background-clip:text;-webkit-background-clip:text;-webkit-text-fill-color:transparent}
#aboutPanel p{max-width:540px;color:#c1d3eb;line-height:1.76}
@media(max-width:840px){#aboutPanel{top:auto;bottom:12%;right:7%;left:7%;max-width:none}#aboutPanel h2{font-size:clamp(30px,7vw,45px);margin:10px 0}#aboutPanel p{font-size:clamp(13px,3vw,16px)!important;line-height:1.6}}

/* V19: About lives in the approved logo-and-text scene, no second About panel. */
.about-scroll-anchor{position:absolute;top:45%;height:1px;width:1px;pointer-events:none;scroll-margin-top:24vh}
#aboutPanel{right:6%;width:min(40vw,630px);max-width:630px;text-align:left}
#aboutPanel .en-only p + p,#aboutPanel .ar-only p + p{margin-top:12px}
html[data-ui-lang="ar"] #aboutPanel{direction:rtl;text-align:right}
html[data-ui-lang="en"] #aboutPanel{direction:ltr;text-align:left}
@media(max-width:840px){#aboutPanel{right:7%;left:7%;width:auto;bottom:8%}#aboutPanel h2{font-size:clamp(29px,6.8vw,44px)}#aboutPanel p{font-size:clamp(13px,3vw,15px)!important;line-height:1.5}#aboutPanel .en-only p + p,#aboutPanel .ar-only p + p{margin-top:7px}}
@media(max-height:680px) and (min-width:841px){#aboutPanel h2{font-size:clamp(31px,3.6vw,52px)}#aboutPanel p{font-size:14px;line-height:1.55}}

/* V20: the SECOND logo pose and About text are one horizontally aligned composition. */
@media (min-width:841px){
  #aboutPanel{
    position:absolute!important;
    left:53%!important;right:5%!important;
    top:50%!important;bottom:auto!important;
    transform:translate3d(0,-50%,0)!important;
    width:42%!important;max-width:620px!important;
    margin:0!important;padding:0!important;
    z-index:12!important;
    text-align:left!important;
    overflow:visible!important;
  }
  html[data-ui-lang="ar"] #aboutPanel{text-align:right!important;direction:rtl}
  html[data-ui-lang="en"] #aboutPanel{text-align:left!important;direction:ltr}
  #aboutPanel h2{font-size:clamp(34px,3.8vw,57px)!important;line-height:1.10!important;margin:12px 0 16px!important}
  #aboutPanel p{font-size:clamp(14px,1.05vw,17px)!important;line-height:1.62!important;margin:0!important}
  #aboutPanel p+p{margin-top:12px!important}
}
@media (max-width:840px){
  #aboutPanel{position:absolute!important;top:auto!important;left:7%!important;right:7%!important;bottom:7%!important;transform:none!important;z-index:12!important;width:auto!important;max-width:none!important}
  #aboutPanel h2{font-size:clamp(27px,6.3vw,42px)!important;line-height:1.1!important;margin:7px 0!important}
  #aboutPanel p{font-size:clamp(12px,2.9vw,15px)!important;line-height:1.43!important;margin:0!important}
  #aboutPanel p+p{margin-top:6px!important}
}
@media(max-width:840px) and (max-height:640px){#aboutPanel{bottom:3%!important}#aboutPanel h2{font-size:25px!important}#aboutPanel p{font-size:12px!important}}

.about-scroll-anchor{top:calc((100% - 100svh) * .44)!important;scroll-margin-top:0!important}
/* CRITICAL: hidden creates a scroll container and disables sticky hero on Chromium. */
html,body{overflow-x:clip!important}

/* V21: a coordinated reveal tied to the fully assembled second logo position. */
#aboutPanel{isolation:isolate;contain:layout style;}
#aboutPanel .tag,#aboutPanel h2,#aboutPanel p{will-change:transform,opacity,filter;transition:none!important;}
#aboutPanel::before{content:"";position:absolute;pointer-events:none;left:-23px;top:4%;height:92%;width:1px;background:linear-gradient(180deg,transparent,#69bfff 20%,#ae8aff 72%,transparent);opacity:var(--about-glow,0);box-shadow:0 0 18px rgba(99,162,255,.6);}
#aboutPanel::after{content:"";position:absolute;pointer-events:none;inset:-14% -8%;z-index:-1;background:radial-gradient(ellipse at 48% 55%,rgba(81,95,212,.14),transparent 66%);opacity:var(--about-glow,0);}
#aboutPanel h2{transform-origin:top center}
@media(max-width:840px){#aboutPanel::before{left:-8px}#aboutPanel::after{inset:-7% -5%}}
@media(prefers-reduced-motion:reduce){#aboutPanel .tag,#aboutPanel h2,#aboutPanel p{filter:none!important;clip-path:none!important}}
.about-scroll-anchor{top:calc((100% - 100svh) * .64)!important}
