/* AL ALFIYA — cinematic homepage concept. All layout/animation CSS is original. */
:root{--void:#0b0711;--night:#100b19;--plum:#170c21;--panel:#1c1429;--lilac:#aca1ff;--al-purple-text:#ADA2FF;--lilac-bright:var(--al-purple-text);--ice:#f0eff8;--muted:#a5a0b2;--line:rgba(214,203,255,.19);--warm:#d9bc9e;--edge:clamp(24px,7vw,120px);--ease:cubic-bezier(.22,1,.36,1)}
*,*::before,*::after{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:90px}body{margin:0;background:var(--void);color:var(--ice);font-family:"Inter Display","Inter",Arial,Helvetica,sans-serif;-webkit-font-smoothing:antialiased;overflow-x:hidden}body.menu-open{overflow:hidden}a{color:inherit;text-decoration:none}button{font:inherit}button,a{-webkit-tap-highlight-color:transparent}button:focus-visible,a:focus-visible{outline:2px solid #eee4ff;outline-offset:5px}::selection{background:var(--lilac);color:var(--void)}.skip-link{position:fixed;z-index:1000;top:-60px;left:18px;background:#fff;color:#111;padding:12px 20px}.skip-link:focus{top:15px}.page-container{max-width:1800px;width:100%;padding-inline:var(--edge);margin-inline:auto}.section-pad{padding-block:clamp(100px,12vw,185px)}.ambient-grain{position:fixed;inset:0;z-index:65;pointer-events:none;opacity:.13;background-image:url("data:image/svg+xml,%3Csvg viewBox='0 0 160 160' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.75' numOctaves='3' seed='9' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.16'/%3E%3C/svg%3E");mix-blend-mode:screen}
/* Orbiting cursor / interaction surfaces */
.cursor-dot,.cursor-ring{display:none;position:fixed;left:0;top:0;pointer-events:none;z-index:200;transform:translate3d(-100px,-100px,0)}@media(pointer:fine) and (prefers-reduced-motion:no-preference){body.has-custom-cursor,body.has-custom-cursor a,body.has-custom-cursor button{cursor:none}.has-custom-cursor .cursor-dot,.has-custom-cursor .cursor-ring{display:block}.cursor-dot{width:5px;height:5px;border-radius:50%;background:#fff;margin:-2px}.cursor-ring{width:46px;height:46px;margin:-23px;border:1px solid rgba(214,206,255,.75);border-radius:50%;display:grid!important;place-items:center;transition:width .3s var(--ease),height .3s var(--ease),margin .3s var(--ease),background .3s,border-color .3s;mix-blend-mode:difference}.cursor-ring span{opacity:0;color:#fff;font-size:8px;letter-spacing:.1em;font-weight:700}.cursor-ring.is-active{width:84px;height:84px;margin:-42px;background:rgba(170,150,255,.13);border-color:#ddd6ff}.cursor-ring.is-active span{opacity:1}.cursor-ring.is-active~.cursor-dot{opacity:0}}
/* Header */
.site-header{position:absolute;z-index:100;top:0;left:0;right:0;height:124px;display:flex;align-items:center;justify-content:space-between;padding:0 var(--edge);transition:background .4s,border-color .4s;border-bottom:1px solid transparent}.site-header.is-scrolled{position:fixed;height:88px;background:rgba(11,7,17,.88);border-color:var(--line);backdrop-filter:blur(24px)}.brand{display:block;position:relative;z-index:101;width:126px}.brand img{display:block;width:126px;height:auto;max-height:92px;object-fit:contain;object-position:left center;filter:drop-shadow(0 0 12px rgba(151,124,223,.1))}.site-header.is-scrolled .brand img{width:95px}.header-right{display:flex;align-items:center;gap:clamp(20px,3.2vw,53px)}.header-location{font-size:10px;font-weight:700;letter-spacing:.18em;color:rgba(227,221,244,.65);white-space:nowrap}.header-dot{color:var(--al-purple-text);padding-inline:5px}.header-contact{font-size:10px;font-weight:800;letter-spacing:.16em;white-space:nowrap;padding-bottom:7px;border-bottom:1px solid rgba(218,208,255,.4);transition:color .25s,border-color .25s}.header-contact span{margin-left:12px;font-size:17px}.header-contact:hover{color:var(--al-purple-text);border-color:var(--lilac)}.menu-toggle{display:flex;align-items:center;gap:17px;background:transparent;color:#f5f2fa;border:0;padding:16px 4px;position:relative;z-index:110;cursor:pointer}.menu-toggle__label{font-size:11px;letter-spacing:.18em;font-weight:800}.menu-toggle__bars{width:34px;height:26px;display:flex;flex-direction:column;justify-content:center;gap:7px}.menu-toggle__bars i{height:2px;background:var(--ice);width:100%;display:block;transition:transform .45s var(--ease),width .25s,background .2s}.menu-toggle__bars i:last-child{width:65%;align-self:flex-end}.menu-toggle:hover .menu-toggle__bars i:last-child{width:100%}.menu-open .menu-toggle__bars i:first-child{transform:translateY(4.5px) rotate(45deg)}.menu-open .menu-toggle__bars i:last-child{transform:translateY(-4.5px) rotate(-45deg);width:100%}.menu-open .menu-toggle__label{color:var(--lilac-bright)}
/* Full-screen mission menu — inspired by an opening-crawl perspective, readable at rest. */
.mega-menu{position:fixed;z-index:90;inset:0;height:100dvh;min-height:500px;overflow-y:auto;overscroll-behavior:contain;background:#110716;visibility:hidden;opacity:0;pointer-events:none;clip-path:circle(0% at calc(100% - var(--edge) - 20px) 62px);transition:clip-path .95s cubic-bezier(.76,0,.18,1),opacity .5s,visibility 0s linear .95s}.mega-menu.is-open{visibility:visible;opacity:1;pointer-events:auto;clip-path:circle(155% at calc(100% - var(--edge) - 20px) 62px);transition:clip-path .95s cubic-bezier(.76,0,.18,1),opacity .5s}.menu-cosmos{position:absolute;inset:0;overflow:hidden;background:radial-gradient(circle at 75% 44%,rgba(77,31,72,.42),transparent 48%),radial-gradient(circle at 25% 90%,rgba(59,33,95,.2),transparent 45%),#100916}.menu-cosmos::before,.vision-starfield,.closing-stars{content:"";position:absolute;inset:0;background-image:radial-gradient(1px 1px at 9% 15%,#c5bcff 99%,transparent),radial-gradient(2px 2px at 67% 31%,#b7aaff 99%,transparent),radial-gradient(1px 1px at 34% 73%,#f5f3ff 99%,transparent),radial-gradient(1px 1px at 87% 18%,#b7aaff 99%,transparent),radial-gradient(2px 2px at 76% 86%,#f5f3ff 99%,transparent),radial-gradient(1px 1px at 48% 43%,#f5f3ff 99%,transparent),radial-gradient(1px 1px at 16% 62%,#9e8ee4 99%,transparent);background-size:400px 360px,580px 400px,390px 490px,530px 550px,700px 430px,460px 280px,610px 480px;opacity:.32}.menu-orbit{position:absolute;width:min(72vw,950px);height:min(72vw,950px);border:1px solid rgba(194,160,243,.14);border-radius:50%;top:50%;left:73%;transform:translate(-50%,-50%) rotate(-22deg)}.menu-orbit.orbit-two{width:min(50vw,675px);height:min(50vw,675px);border-color:rgba(194,160,243,.1)}.menu-halo{position:absolute;width:32vw;aspect-ratio:1;border-radius:50%;background:radial-gradient(circle at 35% 30%,#6c426f 0,#2a183d 34%,#0b0711 69%);top:50%;left:80%;transform:translate(-50%,-50%);box-shadow:0 0 130px rgba(174,104,225,.2),-22px 8px 1px -20px rgba(222,190,255,.65)}.menu-top{display:none;position:absolute;z-index:1;top:48px;left:var(--edge);right:var(--edge);display:flex;justify-content:space-between;font-size:10px;font-weight:800;letter-spacing:.22em;color:rgba(236,228,255,.5)}.menu-top-separator{padding:0 10px;color:var(--al-purple-text)}.menu-top-right{padding-right:145px}.tiny-star{color:var(--al-purple-text)}.menu-stage{position:relative;z-index:1;min-height:100%;max-width:1410px;margin:auto;padding:clamp(124px,15vh,170px) var(--edge) clamp(50px,7vh,90px);display:flex;flex-direction:column;justify-content:center}.menu-stage-head{display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid rgba(212,196,255,.25);padding:0 0 12px}.eyebrow,.menu-coordinates{font-size:10px;font-weight:800;letter-spacing:.19em;color:var(--al-purple-text)}.menu-coordinates{color:rgba(227,223,255,.48)}.menu-links{list-style:none;margin:15px 0 10px;padding:0;perspective:900px;transform-style:preserve-3d;transform:perspective(1400px) rotateX(18deg) translateY(120px) scale(.90);opacity:0;transition:transform 1.1s var(--ease) .16s,opacity .8s ease .2s}.is-open .menu-links{transform:perspective(1400px) rotateX(0deg) translateY(0) scale(1);opacity:1}.menu-links li{border-bottom:1px solid rgba(212,196,255,.16);opacity:0;transform:translateY(28px) translateZ(-80px);transition:transform .75s var(--ease),opacity .5s}.is-open .menu-links li{opacity:1;transform:translateY(0) translateZ(0);transition-delay:calc(.18s + var(--i)*.065s)}.menu-item{display:flex;align-items:baseline;gap:clamp(16px,3.4vw,54px);padding:clamp(4px,.6vh,8px) 15px clamp(4px,.6vh,8px) 3px;transition:transform .4s var(--ease);position:relative}.menu-item::before{content:"";position:absolute;left:-20px;top:0;bottom:0;width:0;background:linear-gradient(90deg,rgba(171,142,255,.08),transparent);transition:width .35s}.menu-item:hover::before,.menu-item:focus-visible::before{width:calc(100% + 20px)}.menu-num{flex:0 0 25px;font-family:monospace;font-size:10px;letter-spacing:.12em;color:rgba(214,206,255,.45);transition:color .3s}.menu-name{font-size:clamp(33px,4.35vw,64px);font-weight:900;line-height:.94;letter-spacing:-.07em;color:var(--al-purple-text);transition:color .25s,letter-spacing .4s var(--ease),transform .4s var(--ease)}.copyright-mark{font-size:.45em;vertical-align:super;margin-left:2px;letter-spacing:0}.menu-arrow{margin-left:auto;color:var(--al-purple-text);font-size:clamp(19px,2vw,28px);opacity:0;transform:translate(-12px,12px);transition:transform .35s,opacity .35s}.menu-item:hover .menu-name,.menu-item:focus-visible .menu-name{color:#f2eeff;letter-spacing:-.055em;transform:translateX(12px)}.menu-item:hover .menu-num,.menu-item:focus-visible .menu-num{color:var(--al-purple-text)}.menu-item:hover .menu-arrow,.menu-item:focus-visible .menu-arrow{opacity:1;transform:translate(0,0)}.menu-bottom{display:flex;justify-content:space-between;gap:10px;color:rgba(245,240,255,.42);font-size:9px;font-weight:800;letter-spacing:.18em;padding-top:22px}.menu-bottom span:last-child{color:var(--al-purple-text)}
/* Hero */
.hero{min-height:max(730px,100svh);position:relative;background:#0a0710;overflow:hidden;display:flex;align-items:stretch}.hero-photo{position:absolute;inset:0 0 0 23%;background-image:url("assets/UAE-Space-Camp-Hero.webp");background-position:right 17% top 0;background-size:cover;background-repeat:no-repeat;opacity:.99;filter:brightness(1.4) contrast(1.06) saturate(.82);transform:scale(1.06);animation:hero-zoom 16s ease-out both}.hero-screen{position:absolute;inset:0;background:linear-gradient(90deg,#0a0711 1%,rgba(10,7,17,.96) 19%,rgba(12,8,20,.55) 49%,rgba(12,7,17,.1) 81%),linear-gradient(0deg,#0a0710 4%,transparent 30%,transparent 72%,rgba(10,7,17,.52)),linear-gradient(110deg,rgba(52,9,46,.22),transparent 58%)}.hero-gridline{position:absolute;inset:0;opacity:.24;background-image:linear-gradient(90deg,transparent calc(25% - 1px),rgba(180,161,226,.08) 25%,transparent calc(25% + 1px)),linear-gradient(90deg,transparent calc(75% - 1px),rgba(180,161,226,.08) 75%,transparent calc(75% + 1px));pointer-events:none}.hero-crosshair{position:absolute;z-index:2;font-weight:300;color:rgba(188,175,255,.35);font-size:20px}.hero-crosshair-one{top:31%;right:9%}.hero-crosshair-two{bottom:28%;right:27%}.hero-inner{position:relative;z-index:2;display:flex;align-items:flex-end;justify-content:space-between;padding-top:190px;padding-bottom:clamp(185px,15vh,230px)}.hero-copy{max-width:980px}.hero-kicker{display:flex;align-items:center;gap:15px;font-size:11px;letter-spacing:.28em;font-weight:800;color:var(--al-purple-text);margin-bottom:30px}.status-signal{height:7px;width:7px;background:var(--lilac);border-radius:50%;box-shadow:0 0 18px 4px rgba(194,171,255,.35);animation:pulse 3s ease-in-out infinite}.hero-kicker-line{height:1px;width:84px;background:rgba(190,180,231,.5)}.kicker-index{font-family:monospace;color:rgba(239,231,255,.48);font-size:10px;letter-spacing:.05em}.hero h1{margin:0;font-size:clamp(49px,5.3vw,91px);line-height:.98;font-weight:900;letter-spacing:-.06em;text-wrap:balance;max-width:1100px;text-shadow:0 12px 38px rgba(5,2,10,.28)}.hero h1 em{font-style:normal;color:var(--al-purple-text)}.hero h1 span{color:#f4f0ff}.hero-copy>p{max-width:440px;margin:31px 0 0;color:#cec8dc;line-height:1.76;font-size:clamp(13px,1.15vw,16px);font-weight:400}.hero-discover{display:inline-flex;align-items:center;gap:16px;margin-top:38px;font-size:10px;letter-spacing:.17em;font-weight:800;color:var(--al-purple-text)}.scroll-line{display:block;width:44px;height:1px;position:relative;background:rgba(227,222,255,.55)}.scroll-line::after{content:"";position:absolute;right:0;top:-3px;width:6px;height:6px;border-right:1px solid #dbd3ff;border-bottom:1px solid #dbd3ff;transform:rotate(-45deg)}.hero-index{align-self:flex-end;display:flex;align-items:center;gap:18px;writing-mode:vertical-rl;font-family:monospace;font-size:10px;letter-spacing:.13em;color:rgba(232,219,255,.5)}.hero-index-line{height:70px;width:1px;background:rgba(231,220,255,.28)}.hero-actions{position:absolute;z-index:3;bottom:0;left:0;right:0;min-height:118px;display:grid;grid-template-columns:repeat(3,1fr);border-top:1px solid rgba(212,197,255,.24);background:rgba(10,6,16,.62);backdrop-filter:blur(22px)}.hero-action{padding:25px clamp(26px,6.3vw,110px);border-right:1px solid rgba(212,197,255,.24);position:relative;display:grid;align-content:center;gap:13px;transition:background .35s;color:#f8f6ff;overflow:hidden}.hero-action:last-child{border-right:0}.hero-action::before{content:"";position:absolute;left:0;bottom:0;height:2px;width:100%;background:var(--lilac);transform:scaleX(0);transform-origin:left;transition:transform .55s var(--ease)}.hero-action:hover{background:rgba(154,132,236,.14)}.hero-action:hover::before{transform:scaleX(1)}.hero-action-num{font-size:10px;letter-spacing:.18em;color:var(--al-purple-text);font-weight:800}.hero-action-title{font-size:clamp(12px,1vw,16px);font-weight:800;letter-spacing:-.03em}.hero-action-arrow{position:absolute;right:30px;top:50%;transform:translateY(-50%);font-size:25px;color:var(--al-purple-text);transition:transform .3s}.hero-action:hover .hero-action-arrow{transform:translate(5px,calc(-50% - 5px))}
/* Shared primitives */
.section-marker{display:flex;align-items:center;gap:18px;color:var(--al-purple-text);font-size:10px;letter-spacing:.2em;font-weight:800}.marker-rule{height:1px;width:36px;background:var(--lilac)}.period{color:var(--al-purple-text)}.outline-btn{display:inline-flex;align-items:center;gap:50px;justify-content:space-between;position:relative;overflow:hidden;border:1px solid rgba(206,195,251,.5);padding:20px 24px 20px 27px;min-height:62px;min-width:270px;color:#f0edff;background:rgba(25,19,37,.08);font-size:11px;font-weight:800;letter-spacing:.13em;transition:background .35s,border-color .3s}.outline-btn::before{content:"";position:absolute;top:0;left:-140%;height:1px;width:120%;background:linear-gradient(90deg,transparent,#fff,rgba(192,168,255,.8),transparent);transform:skewX(-30deg);transition:left .75s var(--ease)}.outline-btn::after{content:"";position:absolute;right:0;bottom:0;height:1px;width:80%;background:linear-gradient(270deg,#d6caff,transparent);transform:scaleX(0);transform-origin:right;transition:transform .55s var(--ease)}.outline-btn:hover{background:rgba(179,155,255,.1);border-color:rgba(227,215,255,.84)}.outline-btn:hover::before{left:110%}.outline-btn:hover::after{transform:scaleX(1)}.outline-btn-arrow{color:var(--al-purple-text);font-size:20px;line-height:1;transition:transform .35s}.outline-btn:hover .outline-btn-arrow{transform:translate(4px,-4px)}.reveal{opacity:1;transform:none}.js-enabled .reveal{opacity:0;transform:translateY(35px);transition:transform 1s var(--ease),opacity .8s ease}.js-enabled .reveal.in-view{opacity:1;transform:translateY(0)}
/* Intro */
.intro{background:radial-gradient(circle at 7% 12%,rgba(80,40,113,.14),transparent 36%),#100d19;position:relative;border-bottom:1px solid var(--line)}.intro-grid{display:grid;grid-template-columns:1.15fr .55fr;gap:clamp(40px,8vw,135px);align-items:end}.intro h2{font-size:clamp(57px,6vw,104px);letter-spacing:-.075em;line-height:.98;margin:35px 0 0;font-weight:900}.intro h2 span{color:var(--al-purple-text)}.intro-side{padding-bottom:8px}.detail-cross{color:var(--al-purple-text);font-size:38px;margin-bottom:42px}.intro-side p{font-size:clamp(15px,1.2vw,18px);line-height:1.8;color:#bcb8ca;margin:0 0 22px}.intro-side p:first-of-type{color:#f3f0fb;font-size:clamp(19px,1.7vw,25px);line-height:1.45;letter-spacing:-.03em}.intro-side .outline-btn{margin-top:20px}.intro-bottomline{display:flex;justify-content:space-between;padding-top:75px;margin-top:95px;border-top:1px solid var(--line);font-size:10px;color:rgba(225,218,246,.42);font-weight:700;letter-spacing:.15em}
/* Vision */
.vision{position:relative;min-height:750px;overflow:hidden;background:radial-gradient(ellipse at 76% 60%,#2b213f 0,#130f23 41%,#0b0b16 77%);display:flex;align-items:center;border-bottom:1px solid var(--line)}.vision-starfield{opacity:.38}.vision-globe{position:absolute;width:min(56vw,880px);height:min(56vw,880px);right:-10%;top:5%;pointer-events:none}.globe-sphere{width:100%;height:100%;border-radius:50%;position:absolute;inset:0;background:radial-gradient(circle at 23% 22%,rgba(204,187,255,.32),transparent 23%),radial-gradient(ellipse at 30% 35%,#7c709e 0%,#403356 26%,#20182e 55%,#07070f 73%);box-shadow:inset 42px 4px 72px rgba(205,183,255,.11),0 0 140px rgba(124,102,205,.18);transform:rotate(-18deg)}.globe-sphere::before{content:"";position:absolute;inset:15% 0 20%;border-radius:50%;background:repeating-linear-gradient(-17deg,transparent 0 40px,rgba(211,184,255,.1) 40px 44px,transparent 44px 94px);mask-image:radial-gradient(ellipse,black,transparent 70%)}.globe-glow{position:absolute;inset:-15%;border-radius:50%;background:radial-gradient(circle,rgba(156,123,253,.16),transparent 62%)}.globe-orbit{position:absolute;inset:-10%;border:1px solid rgba(213,197,255,.22);border-radius:50%;transform:rotateX(69deg) rotate(-25deg)}.globe-orbit-b{inset:-21%;transform:rotateX(69deg) rotate(48deg);border-color:rgba(213,197,255,.12)}.vision-content{position:relative;z-index:2;padding-block:140px}.vision h2{margin:38px 0 35px;max-width:1200px;font-weight:900;letter-spacing:-.076em;line-height:1;font-size:clamp(54px,6.2vw,100px)}.vision h2 span{color:var(--al-purple-text)}.vision h2 em{font-style:normal;font-weight:400;letter-spacing:-.065em}.vision-content p{max-width:460px;color:#dad5ea;font-size:18px;line-height:1.6}.vision-coordinate{display:block;color:rgba(230,218,255,.46);font-size:10px;letter-spacing:.18em;font-weight:800;margin-top:74px}
/* Services */
.services{background:#0b0912}.services-heading{display:flex;justify-content:space-between;align-items:end;gap:80px;margin-bottom:66px}.services h2{font-size:clamp(60px,6.6vw,108px);line-height:.96;letter-spacing:-.08em;margin:33px 0 0}.services h2 span{color:var(--al-purple-text)}.services-heading>p{max-width:390px;color:#b6b0c4;font-size:16px;line-height:1.75;margin:0 0 10px}.services-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));border-top:1px solid var(--line);border-left:1px solid var(--line)}.service-card{min-height:clamp(340px,34vw,500px);position:relative;padding:clamp(27px,3.7vw,58px);border-right:1px solid var(--line);border-bottom:1px solid var(--line);display:flex;flex-direction:column;justify-content:space-between;overflow:hidden;background:#11101a;transition:background .45s}.service-card::before{content:"";position:absolute;width:340px;height:340px;right:-160px;top:-160px;border-radius:50%;background:radial-gradient(circle,rgba(168,147,255,.16),transparent 70%);transform:scale(.6);transition:transform .75s var(--ease)}.service-card::after{content:"";position:absolute;left:0;bottom:0;height:2px;background:var(--lilac);width:100%;transform:scaleX(0);transform-origin:left;transition:transform .7s var(--ease)}.service-card:hover{background:#191426}.service-card:hover::before{transform:scale(1.5)}.service-card:hover::after{transform:scaleX(1)}.service-number{position:relative;font-size:10px;font-weight:800;letter-spacing:.22em;color:var(--al-purple-text)}.service-icon{position:absolute;right:8%;top:24%;width:85px;height:85px;color:rgba(197,178,255,.22);transition:transform .7s var(--ease),color .5s}.service-card:hover .service-icon{transform:rotate(-12deg) scale(1.13);color:rgba(209,195,255,.45)}.service-card h3{position:relative;font-size:clamp(35px,3.6vw,58px);font-weight:900;line-height:1.05;letter-spacing:-.07em;margin:0 0 20px}.service-card p{position:relative;max-width:400px;color:#aca7ba;font-size:14px;line-height:1.75;margin:0;transition:color .35s}.service-card:hover p{color:#ddd7eb}.service-arrow{position:absolute;right:clamp(28px,3.4vw,55px);bottom:clamp(28px,3.4vw,55px);font-size:26px;color:var(--al-purple-text);transform:translate(0);transition:transform .4s}.service-card:hover .service-arrow{transform:translate(6px,-6px)}.services-end{display:flex;justify-content:space-between;gap:20px;padding-top:26px;color:rgba(217,208,244,.42);font-size:10px;letter-spacing:.18em;font-weight:800}.inline-link{color:var(--al-purple-text);transition:color .25s}.inline-link:hover{color:#fff}.inline-link span{margin-left:15px}
/* Method */
.method{background:radial-gradient(ellipse at 8% 65%,rgba(66,45,102,.28),transparent 58%),#12101d}.method-grid{display:grid;grid-template-columns:1fr .92fr;gap:clamp(65px,9vw,140px);align-items:center}.method-art{position:relative;min-height:620px;background:radial-gradient(circle at 50% 50%,#352a54,#131122 66%,#0c0a17 85%);overflow:hidden;border:1px solid rgba(209,199,255,.18);display:grid;place-items:center}.method-art-grid{position:absolute;inset:0;background-image:linear-gradient(to right,rgba(232,222,255,.05) 1px,transparent 1px),linear-gradient(to bottom,rgba(232,222,255,.05) 1px,transparent 1px);background-size:57px 57px;mask-image:radial-gradient(circle,black,transparent 78%)}.method-art-circle{position:absolute;border-radius:50%;border:1px solid rgba(205,193,255,.32);aspect-ratio:1}.method-ring-1{width:70%}.method-ring-2{width:90%;border-color:rgba(205,193,255,.15)}.method-ring-3{width:115%;border-color:rgba(205,193,255,.12)}.method-ring-1::before{content:"";position:absolute;width:12px;height:12px;border-radius:50%;background:#e4d6ff;left:13%;top:12%;box-shadow:0 0 25px 7px rgba(184,156,255,.45)}.method-art-inner{position:relative;z-index:1;display:flex;align-items:center;flex-direction:column;text-align:center;gap:20px}.method-art-kicker{color:var(--al-purple-text);letter-spacing:.24em;font-size:10px;font-weight:800}.method-art-symbol{font-size:100px;line-height:1;color:var(--al-purple-text);text-shadow:0 0 80px rgba(199,169,255,.25);animation:slow-spin 32s linear infinite}.method-art-word{font-size:clamp(28px,3vw,48px);letter-spacing:-.065em;font-weight:900;line-height:1.05}.method-art-foot{position:absolute;bottom:30px;left:32px;right:32px;display:flex;justify-content:space-between;color:rgba(230,219,255,.56);font-size:9px;letter-spacing:.1em;font-weight:800}.method-copy h2{font-size:clamp(60px,6.5vw,106px);font-weight:900;letter-spacing:-.085em;line-height:.96;margin:35px 0 40px}.method-copy h2 span{color:var(--al-purple-text)}.method-copy p{max-width:550px;color:#aea9bd;line-height:1.78;font-size:15px}.method-copy .method-lead{font-size:clamp(21px,2vw,28px);line-height:1.4;color:#f1edf9;letter-spacing:-.028em}.method-copy .outline-btn{margin-top:25px}.method-credit{margin-top:44px;color:rgba(214,205,248,.4);font-size:10px;letter-spacing:.15em;font-weight:800}
/* Closing, footer */
.closing{position:relative;min-height:700px;background:radial-gradient(ellipse at 50% 90%,rgba(72,45,114,.5),transparent 55%),#0a0913;overflow:hidden;text-align:center;display:flex;align-items:center;justify-content:center;padding-block:120px}.closing-stars{opacity:.42}.closing-inner{position:relative;z-index:1;display:flex;flex-direction:column;align-items:center}.closing .section-marker{display:flex}.closing h2{font-size:clamp(40px,5.5vw,84px);line-height:1.08;letter-spacing:-.07em;margin:44px 0 30px;font-weight:900}.closing h2 span{color:var(--al-purple-text)}.closing-inner>p{letter-spacing:.22em;color:var(--al-purple-text);font-size:10px;font-weight:800;margin:0 0 40px}.site-footer{background:#08070d;border-top:1px solid var(--line)}.footer-upper{min-height:245px;display:flex;align-items:center;justify-content:space-between;gap:70px;padding-block:60px}.footer-logo{width:120px;height:auto;display:block}.footer-upper p{color:#a29bae;font-size:13px;margin:8px 0 0}.footer-links{display:flex;gap:clamp(16px,3vw,48px);flex-wrap:wrap}.footer-links a{color:#b9b3c8;font-size:11px;letter-spacing:.12em;font-weight:800}.footer-links a:hover,.footer-bottom a:hover{color:var(--al-purple-text)}.footer-bottom{display:flex;align-items:center;justify-content:space-between;gap:25px;padding-block:26px;border-top:1px solid var(--line);font-size:10px;letter-spacing:.11em;color:rgba(218,208,238,.5);font-weight:700}.footer-bottom>div{display:flex;gap:23px}.footer-bottom a{color:rgba(218,208,238,.66)}
@keyframes hero-zoom{from{transform:scale(1.15)}to{transform:scale(1.06)}}@keyframes slow-spin{to{transform:rotate(360deg)}}@keyframes pulse{50%{opacity:.4;box-shadow:0 0 9px rgba(194,171,255,.15)}}
@media(max-width:1150px){:root{--edge:clamp(24px,5vw,70px)}.header-location{display:none}.hero h1{font-size:clamp(56px,6.2vw,86px)}.hero-photo{left:20%}.hero-action{padding-inline:30px}.hero-action-arrow{right:18px}.intro-grid{grid-template-columns:1fr .8fr;gap:60px}.method-grid{gap:60px}.method-art{min-height:520px}.menu-stage{padding-block:135px 52px}.menu-name{font-size:clamp(37px,5.2vw,65px)}}
@media(max-width:760px){:root{--edge:23px}.site-header{height:94px}.brand,.brand img{width:95px}.header-right{gap:12px}.header-contact{display:none}.menu-toggle{gap:12px}.menu-toggle__label{font-size:10px}.menu-toggle__bars{width:28px}.hero{min-height:max(720px,100svh)}.hero-photo{inset:0 0 21% 0;background-position:57% top;background-size:cover;opacity:.95}.hero-screen{background:linear-gradient(0deg,#090711 16%,rgba(10,7,18,.83) 42%,rgba(11,7,18,.07) 74%),linear-gradient(90deg,rgba(10,7,18,.62),transparent 84%)}.hero-inner{align-items:flex-end;padding-top:230px;padding-bottom:225px}.hero-kicker{font-size:9px;gap:10px;letter-spacing:.14em;margin-bottom:23px}.hero-kicker-line{width:32px}.kicker-index{display:none}.hero h1{font-size:clamp(39px,10.2vw,64px);line-height:1.01;letter-spacing:-.052em}.hero-copy>p{font-size:13px;line-height:1.65;margin-top:23px;max-width:340px}.hero-index,.hero-crosshair,.hero-discover{display:none}.hero-actions{min-height:176px;grid-template-columns:1fr;background:#100c1a;backdrop-filter:none}.hero-action{padding:10px 25px;min-height:58px;border-right:0;border-bottom:1px solid var(--line);gap:3px}.hero-action:last-child{border-bottom:0}.hero-action-num{font-size:8px}.hero-action-title{font-size:11px}.hero-action-arrow{font-size:19px}.section-pad{padding-block:85px}.intro-grid,.method-grid{grid-template-columns:1fr;gap:55px}.intro h2,.services h2{font-size:clamp(47px,11.6vw,75px)}.intro-side .detail-cross{margin-bottom:24px}.intro-bottomline{padding-top:26px;margin-top:70px;font-size:8px;gap:20px}.vision{min-height:690px}.vision-globe{width:86vw;height:86vw;top:12%;right:-30%;opacity:.85}.vision-content{padding-block:100px;align-self:flex-end}.vision h2{font-size:clamp(45px,10.3vw,72px);margin-block:30px}.vision-content p{font-size:15px;max-width:300px}.services-heading{display:block;margin-bottom:42px}.services-heading>p{max-width:460px;margin-top:25px;font-size:14px}.services-grid{grid-template-columns:1fr}.service-card{min-height:310px;padding:31px}.service-card h3{font-size:42px}.service-card p{max-width:310px;padding-right:15px;font-size:13px}.service-icon{width:66px;height:66px;top:23%;right:10%}.service-arrow{bottom:28px;right:28px}.services-end{font-size:8px}.method-grid{gap:62px}.method-art{min-height:450px}.method-copy h2{font-size:clamp(59px,12vw,86px)}.closing{min-height:560px;padding-block:100px}.closing h2{font-size:clamp(36px,8vw,56px)}.footer-upper,.footer-bottom{flex-direction:column;align-items:flex-start}.footer-upper{gap:40px}.footer-links{gap:18px 29px}.footer-bottom{gap:14px;font-size:9px}.menu-top{top:28px;font-size:8px}.menu-top-right{display:none}.mega-menu{min-height:0}.menu-stage{padding:108px var(--edge) 30px;min-height:100%}.menu-stage-head{padding-bottom:11px}.menu-coordinates{font-size:8px}.menu-links{margin:11px 0}.menu-item{padding:clamp(11px,1.55vh,15px) 0;gap:17px}.menu-name{font-size:clamp(32px,8vw,47px);letter-spacing:-.065em}.menu-num{flex-basis:19px;font-size:9px}.menu-bottom{font-size:8px;padding-top:18px}.menu-orbit{width:120vw;height:120vw;left:85%;top:50%}.menu-halo{width:70vw;left:95%;top:51%}}
@media(max-width:400px){.hero{min-height:710px}.hero h1{font-size:clamp(39px,10.5vw,46px)}.hero-inner{padding-top:200px}.menu-name{font-size:clamp(29px,7.6vw,36px)}.menu-item{padding:10px 0}.menu-stage{padding-top:97px}.menu-bottom{padding-top:13px}.menu-coordinates{display:none}.service-card{min-height:310px}.method-art{min-height:355px}.method-art-word{font-size:31px}.method-art-foot{left:18px;right:18px;bottom:15px;font-size:7px}.method-art-foot span{display:none}}
@media(max-height:740px) and (min-width:761px){.menu-stage{padding-top:112px;padding-bottom:25px}.menu-top{top:25px}.menu-name{font-size:clamp(30px,4.3vw,64px)}.menu-item{padding:5px 13px}.menu-bottom{padding-top:13px}.menu-links{margin:7px 0}.menu-stage-head{padding-bottom:7px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}.js-enabled .reveal{opacity:1;transform:none}.mega-menu,.mega-menu.is-open{clip-path:none}.menu-links,.is-open .menu-links,.menu-links li,.is-open .menu-links li{transform:none;opacity:1}}

/* Menu overlay keeps the original brand mark, but removes background header CTAs. */
.menu-open .header-location,.menu-open .header-contact{opacity:0;pointer-events:none}

.menu-top{display:none!important}
.hero h1{word-spacing:.07em}



/* V2 — original site imagery, calmer aerospace art direction. */
.header-separator{color:var(--al-purple-text);display:inline-block;margin-inline:8px;opacity:.7}
.header-contact{padding-right:2px}
.menu-item{grid-template-columns:auto 1fr;}
.menu-item .menu-name{transition:color .25s ease,transform .55s var(--ease)}
.menu-item:hover .menu-name,.menu-item:focus-visible .menu-name{transform:translateX(12px)}
.hero-photo{inset:0 0 0 23%;background-image:url("assets/UAE-Space-Camp-Hero.webp");background-position:center top;background-size:cover;filter:brightness(1.04) saturate(1.02);opacity:1;animation:hero-zoom 16s ease-out both}
.hero-screen{background:linear-gradient(90deg,#070b15 0%,rgba(7,11,21,.96) 13%,rgba(7,11,21,.67) 43%,rgba(7,11,21,.12) 81%),linear-gradient(0deg,#090a14 0%,rgba(9,10,20,.87) 11%,rgba(9,10,20,.17) 49%,rgba(9,10,20,.1) 82%),linear-gradient(115deg,rgba(43,20,67,.16),transparent 60%)}
.hero-gridline,.hero-crosshair,.hero-crosshair-one,.hero-crosshair-two,.menu-cosmos,.detail-cross,.vision-starfield,.closing-stars,.service-arrow,.hero-action-arrow,.outline-btn-arrow{display:none!important}
.hero-action{padding-right:clamp(26px,6.3vw,110px)}
.hero h1{max-width:1050px}
.scroll-line,.scroll-line::after{display:none}
.hero-discover{border-bottom:1px solid rgba(213,203,255,.55);padding-bottom:9px;transition:color .3s,border-color .3s}
.hero-discover:hover{color:#fff;border-color:#fff}
.outline-btn{gap:20px;min-width:245px;justify-content:center;text-align:center}
.service-card{padding-bottom:clamp(34px,3.6vw,58px)}
.service-card:hover .service-number{color:var(--al-purple-text)}
.service-card h3{max-width:98%}
.method-art-inner{gap:25px}
.method-art-word{color:#f0ebff;font-size:clamp(36px,4.2vw,64px)}
.method-art-grid{opacity:.45}
/* Preserve the flag-on-moon imagery as an editorial, full-bleed section. */
.intro-original{position:relative;overflow:hidden;min-height:790px;padding:0;background:#050a13;isolation:isolate}
.intro-photo{position:absolute;z-index:0;right:0;top:0;bottom:0;width:63%;background-image:url("assets/UAE-FLAG-ON-MOON-Gradient.webp");background-size:cover;background-position:70% 50%;opacity:.97}
.intro-original::before{content:"";position:absolute;z-index:1;inset:0;pointer-events:none;background:linear-gradient(90deg,#050a13 0%,#050a13 26%,rgba(5,10,19,.9) 43%,rgba(5,10,19,.26) 70%,rgba(5,10,19,.04) 100%),linear-gradient(0deg,#050a13 0%,rgba(5,10,19,0) 29%)}
.intro-layout{position:relative;z-index:2;min-height:750px;display:flex;align-items:center;padding-block:140px 90px}
.intro-content{max-width:665px}
.intro h2{font-size:clamp(60px,6.2vw,107px);margin:30px 0 43px}
.intro-lead{max-width:575px;font-size:clamp(20px,1.75vw,27px);letter-spacing:-.035em;line-height:1.47;color:#f6f4ff;margin:0 0 20px}
.intro-subcopy{max-width:540px;font-size:15px;line-height:1.8;color:#c2c0cf;margin:0 0 38px}
.intro-bottomline{position:relative;z-index:2;margin:0;padding-top:27px;padding-bottom:27px;background:transparent;border-top:1px solid rgba(224,213,255,.2)}
@media(max-width:1150px){.intro-original{min-height:760px}.intro-photo{width:72%;background-position:64% center}.intro-content{max-width:600px}.intro-original::before{background:linear-gradient(90deg,#050a13 0%,rgba(5,10,19,.97) 28%,rgba(5,10,19,.66) 58%,rgba(5,10,19,.1) 100%),linear-gradient(0deg,#050a13,transparent 38%)}}
@media(max-width:760px){
  .hero-photo{inset:0 0 30% 0;background-position:58% top;background-size:cover;opacity:.96}
  .hero-screen{background:linear-gradient(0deg,#090a14 5%,rgba(9,10,20,.98) 19%,rgba(9,10,20,.75) 42%,rgba(9,10,20,.15) 73%),linear-gradient(90deg,rgba(5,10,17,.45),transparent 88%)}
  .hero-inner{padding-bottom:218px}
  .hero-action{padding-right:25px}
  .intro-original{min-height:auto}
  .intro-photo{width:100%;height:410px;top:0;bottom:auto;background-size:cover;background-position:right 36%;opacity:.8}
  .intro-original::before{background:linear-gradient(0deg,#050a13 54%,rgba(5,10,19,.96) 65%,rgba(5,10,19,.36) 90%,rgba(5,10,19,.1) 100%)}
  .intro-layout{min-height:0;padding-top:285px;padding-bottom:70px}
  .intro h2{font-size:clamp(46px,11.2vw,74px);margin:26px 0 32px}
  .intro-lead{font-size:clamp(19px,5.1vw,24px);line-height:1.47}
  .intro-subcopy{font-size:14px;line-height:1.73}
  .intro-bottomline{display:block;padding-block:25px;font-size:8px;line-height:2.1}
  .intro-bottomline span{display:block}
  .intro-content .outline-btn{min-width:220px}
}
@media(max-width:400px){.intro-layout{padding-top:240px}.intro-photo{height:365px}.hero-photo{background-position:60% top}}
@media(max-width:400px){.method-grid{grid-template-columns:minmax(0,1fr)}.method-art,.method-copy{min-width:0}.method-copy h2{font-size:clamp(43px,10vw,51px);overflow-wrap:normal}.method-art-foot{font-size:7px}.menu-name{overflow-wrap:normal}}


/* V4 RESPONSIVE IMAGE COMPOSITION
   Source images retain original proportions; the final portion fades softly into
   the hero background rather than ending in a hard horizontal seam. */
.hero {
  min-height:max(740px,100svh);
  background:
    radial-gradient(ellipse at 68% 30%, rgba(17,31,42,.65),transparent 62%),
    linear-gradient(180deg,#08121e 0%,#09111b 52%,#090b15 82%,#0b0914 100%);
  isolation:isolate;
}
.hero-photo {
  inset:0 auto auto 0;
  width:100%;
  height:52.666vw;
  background-image:url("assets/UAE-Space-Camp-Hero.webp");
  background-size:100% 100%;
  background-repeat:no-repeat;
  background-position:center top;
  background-color:transparent;
  opacity:1;
  filter:none;
  transform:none;
  animation:none;
  -webkit-mask-image:linear-gradient(to bottom,#000 0%,#000 45%,rgba(0,0,0,.96) 56%,rgba(0,0,0,.68) 72%,transparent 100%);
  mask-image:linear-gradient(to bottom,#000 0%,#000 45%,rgba(0,0,0,.96) 56%,rgba(0,0,0,.68) 72%,transparent 100%);
  pointer-events:none;
}
.hero-screen {
  background:
    linear-gradient(90deg,rgba(5,12,21,.35) 0%,rgba(5,12,21,.12) 43%,transparent 80%),
    linear-gradient(0deg,rgba(8,11,21,.25) 0%,transparent 62%);
  pointer-events:none;
}
.hero-inner {
  min-width:0;
  padding-top:clamp(150px,16vh,210px);
  padding-bottom:clamp(185px,21vh,275px);
}
.hero-copy {max-width:min(950px,90vw);min-width:0}
.hero h1 {
  font-size:clamp(49px,5.05vw,87px);
  letter-spacing:-.067em;
  overflow-wrap:normal;
  text-wrap:balance;
}
.hero h1 span {white-space:normal}
.hero-kicker-line,.kicker-index,.hero-discover{display:none!important}
.hero-kicker{gap:13px}
.hero-action{padding-right:clamp(26px,6.3vw,110px)}
/* The user-supplied lunar image keeps its subject, with no hard cutoff. */
.intro-original{background:#03070e;isolation:isolate}
.intro-photo {
  inset:0;
  width:100%;height:100%;
  background-image:url("assets/UAE-FLAG-ON-MOON-Gradient.webp");
  background-size:100% auto;
  background-position:center top;
  background-repeat:no-repeat;
  opacity:1;
  -webkit-mask-image:linear-gradient(to bottom,#000 0%,#000 62%,transparent 97%);
  mask-image:linear-gradient(to bottom,#000 0%,#000 62%,transparent 97%);
}
.intro-original::before {
  background:linear-gradient(90deg,rgba(3,7,14,.76) 0%,rgba(3,7,14,.43) 40%,transparent 78%),linear-gradient(0deg,#03070e 0%,transparent 39%);
}
/* Tablet: maintain subject framing without squeezing the copy. */
@media (min-width:761px) and (max-width:1150px) {
  .hero{min-height:max(790px,100svh)}
  .hero-photo{width:100%;height:52.666vw}
  .hero-inner{padding-bottom:clamp(195px,23vh,260px)}
  .hero h1{font-size:clamp(50px,6.3vw,69px);max-width:790px}
  .hero-index{display:none}
  .hero-actions{min-height:104px}
  .hero-action{padding-inline:clamp(20px,2.8vw,36px)}
  .hero-action-title{font-size:12px}
  .intro-photo{background-size:auto 100%;background-position:60% top}
}
/* Mobile: the photograph has its own upper image window and fades into the
   headline area. No edge or abrupt change in image layers. */
@media (max-width:760px) {
  .hero {
    min-height:max(735px,100svh);
    background:linear-gradient(180deg,#081420 0%,#08111d 33%,#090b15 64%,#0d0a17 100%);
  }
  .hero-photo {
    inset:0 auto auto 0;
    width:100%;
    height:clamp(340px,52vh,450px);
    background-size:auto 100%;
    background-position:65% top;
    opacity:1;
    -webkit-mask-image:linear-gradient(to bottom,#000 0%,#000 38%,rgba(0,0,0,.9) 57%,transparent 100%);
    mask-image:linear-gradient(to bottom,#000 0%,#000 38%,rgba(0,0,0,.9) 57%,transparent 100%);
  }
  .hero-screen{background:linear-gradient(0deg,rgba(9,11,21,.18),transparent 70%)}
  .hero-inner {
    align-items:flex-end;
    padding-top:clamp(380px,50vh,450px);
    padding-bottom:clamp(210px,27vh,260px);
    min-height:0;
  }
  .hero-copy {max-width:100%;}
  .hero h1 {
    font-size:clamp(37px,10.05vw,62px);
    letter-spacing:-.066em;
    line-height:1.015;
    text-wrap:initial;
  }
  .hero-copy>p{max-width:390px;margin-top:20px;font-size:13px}
  .hero-actions{min-height:174px}
  .hero-action{padding:10px var(--edge);min-height:58px}
  .hero-index{display:none}
  .intro-photo {
    inset:0 auto auto 0;
    width:100%;
    height:clamp(295px,92vw,455px);
    background-size:auto 100%;
    background-position:68% top;
    -webkit-mask-image:linear-gradient(to bottom,#000 0%,#000 48%,rgba(0,0,0,.8) 66%,transparent 100%);
    mask-image:linear-gradient(to bottom,#000 0%,#000 48%,rgba(0,0,0,.8) 66%,transparent 100%);
  }
  .intro-original::before {background:linear-gradient(0deg,#03070e 0%,rgba(3,7,14,.5) 55%,transparent 100%)}
  .intro-layout{padding-top:clamp(300px,87vw,445px);padding-bottom:65px}
}
@media (max-width:400px) {
  .hero {min-height:750px}
  .hero-photo{height:340px;background-position:66% top}
  .hero-inner {padding-top:367px;padding-bottom:210px}
  .hero h1{font-size:clamp(34px,9.65vw,39px)}
  .hero-kicker{margin-bottom:18px}
  .intro-photo{height:330px}
  .intro-layout{padding-top:290px}
}
@media (prefers-reduced-motion:reduce){.hero-photo{animation:none;transform:none}}


/* V5 — COMPACT RESPONSIVE HERO
   A deliberately shorter desktop composition. Keep the original image at its
   full width and fade it into the background; avoid viewport-height dead space.
   On narrow screens, content determines hero height so text never collides with
   the CTA strip. */
@media (min-width:1151px) {
  .hero {min-height:clamp(720px,82svh,880px)}
  .hero-inner {
    padding-top:clamp(140px,16vh,185px);
    padding-bottom:clamp(145px,17vh,160px);
  }
}
@media (min-width:761px) and (max-width:1150px) {
  .hero {min-height:clamp(690px,77svh,825px)}
  .hero-inner {
    padding-top:clamp(135px,16vh,175px);
    padding-bottom:clamp(137px,17vh,165px);
  }
}
@media (max-width:760px) {
  .hero {min-height:0}
  .hero-photo {height:clamp(335px,45vh,415px)}
  .hero-inner {
    padding-top:clamp(345px,41vh,390px);
    padding-bottom:200px;
  }
  .hero-actions {min-height:174px}
}
@media (max-width:400px) {
  .hero {min-height:0}
  .hero-photo {height:340px}
  .hero-inner {padding-top:346px;padding-bottom:200px}
}
/* Shortening the hero should not crowd the brand and navigation. The heading
   remains cinematic, but its rhythm is compact enough to sit below the header. */
@media (min-width:1151px) {
  .hero h1{font-size:clamp(47px,4.74vw,83px)}
  .hero-kicker{margin-bottom:24px}
  .hero-copy>p{max-width:525px;margin-top:24px;line-height:1.65}
}


/* V6 — continuous, stable sticky masthead.
   Always position:fixed (no absolute-to-fixed layout jump).
   The scroll progress variable blends an edge-to-edge dark gradient into a compact
   opaque masthead without switching height, positioning, or backdrop-filter at
   arbitrary thresholds. The transformation is gentle and reduced-motion aware. */
.site-header,
.site-header.is-scrolled {
  --header-progress: 0;
  position: fixed;
  inset: 0 0 auto;
  height: calc(124px - 34px * var(--header-progress));
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom: 0;
  box-shadow: none;
  isolation: isolate;
  overflow: visible;
  transition: none;
}
.site-header::before,
.site-header::after {
  content:"";
  position:absolute;
  top:0;
  left:0;
  right:0;
  pointer-events:none;
  z-index:0;
}
/* Subtle premium fade over the bright helmet and shoulder, down into the hero. */
.site-header::before {
  height: 225px;
  background: linear-gradient(to bottom,
    rgba(3,8,17,.93) 0%,
    rgba(3,8,17,.76) 23%,
    rgba(3,8,17,.43) 52%,
    rgba(3,8,17,.13) 78%,
    rgba(3,8,17,0) 100%);
  opacity: calc(1 - var(--header-progress));
}
/* The stable scrolling state: a nearly opaque, lightweight dark masthead. */
.site-header::after {
  inset: 0;
  height:auto;
  background: rgb(5,10,21);
  border-bottom:1px solid rgba(218,207,255,.15);
  opacity:var(--header-progress);
}
.site-header > * { position:relative; z-index:2 }
.site-header .brand,
.site-header.is-scrolled .brand { width:126px; flex-shrink:0 }
.site-header .brand img,
.site-header.is-scrolled .brand img {
  width:126px;
  max-height:92px;
  transform-origin:left center;
  transform:scale(calc(1 - .22 * var(--header-progress)));
  transition:none;
}
.site-header .header-contact,
.site-header .menu-toggle,
.site-header .header-location { text-shadow:0 1px 9px rgba(0,0,0,.38); }
/* Opening the fullscreen navigation removes the gradient behind it. */
.menu-open .site-header::before,
.menu-open .site-header::after { opacity:0 }
@media (max-width:760px) {
  .site-header,.site-header.is-scrolled {
    height:calc(94px - 20px * var(--header-progress));
  }
  .site-header .brand,
  .site-header.is-scrolled .brand,
  .site-header .brand img,
  .site-header.is-scrolled .brand img { width:95px }
  .site-header .brand img,
  .site-header.is-scrolled .brand img {
    transform:scale(calc(1 - .08 * var(--header-progress)));
  }
  .site-header::before{height:160px}
}
@media (prefers-reduced-motion:reduce) {
  .site-header, .site-header::before, .site-header::after,
  .site-header .brand img {transition:none!important}
}


/* V7 — EDITORIAL SECTION REFINEMENT
   Preserve the original lunar composition and ensure the flag has generous clear
   space to the right of the content. No numbered section eyebrows beyond the hero. */
.section-marker { display: none !important; }

/* Natural reversible reveal: elements remain faintly readable before becoming
   prominent around the middle of the viewport and gracefully fade as they leave. */
.js-enabled .reveal {
  opacity: .55;
  transform: translate3d(0, 16px, 0);
  transition: opacity 1.05s cubic-bezier(.22,1,.36,1),
              transform 1.05s cubic-bezier(.22,1,.36,1);
  will-change: auto;
}
.js-enabled .reveal.in-view {opacity:1; transform:translate3d(0,0,0)}

/* Keep the authentic flag photograph full-bleed instead of zooming into it.
   Modest rightward translation positions the pole farther from the copy. */
.intro-original {
  background:#020710;
  min-height:800px;
}
.intro-original .intro-photo {
  inset:0;
  width:100%;
  height:100%;
  background-size:cover;
  background-position:center center;
  transform:translateX(clamp(35px,6.5vw,115px));
  -webkit-mask-image:linear-gradient(to bottom,#000 0%,#000 73%,rgba(0,0,0,.72) 90%,transparent 100%);
  mask-image:linear-gradient(to bottom,#000 0%,#000 73%,rgba(0,0,0,.72) 90%,transparent 100%);
}
.intro-original::before {
  background:linear-gradient(90deg,
    rgba(2,7,16,.94) 0%,
    rgba(2,7,16,.74) 21%,
    rgba(2,7,16,.18) 51%,
    rgba(2,7,16,0) 78%),
    linear-gradient(0deg,#020710 0%,transparent 28%);
}
.intro-layout {
  min-height:785px;
  padding-top:104px;
  padding-bottom:110px;
}
.intro-content {
  max-width:clamp(480px,40vw,620px);
}
.intro h2 {
  margin:0 0 33px;
  font-size:clamp(61px,5.6vw,91px);
  line-height:.98;
  letter-spacing:-.072em;
  text-wrap:initial;
}
.intro-lead {max-width:565px;font-size:clamp(20px,1.65vw,25px);line-height:1.49;margin-bottom:19px;}
.intro-subcopy {max-width:520px;margin-bottom:31px;}
.intro-bottomline {padding-top:22px;padding-bottom:22px;}

@media (min-width:761px) and (max-width:1150px) {
  .intro-original {min-height:760px;}
  .intro-original .intro-photo {
    background-size:cover;
    background-position:54% center;
    transform:translateX(7vw);
  }
  .intro-layout {min-height:745px;padding-top:105px;padding-bottom:105px;}
  .intro-content {max-width:min(52vw,550px);}
  .intro h2 {font-size:clamp(54px,5.7vw,72px);}
  .intro-lead {font-size:clamp(18px,1.9vw,22px)}
  .intro-subcopy {font-size:14px}
}
@media (max-width:760px) {
  .intro-original {min-height:0;}
  .intro-original .intro-photo {
    inset:0 auto auto 0;
    width:100%;
    height:clamp(300px,80vw,425px);
    background-size:auto 100%;
    background-position:55% top;
    transform:none;
    -webkit-mask-image:linear-gradient(to bottom,#000 0%,#000 49%,rgba(0,0,0,.84) 67%,transparent 100%);
    mask-image:linear-gradient(to bottom,#000 0%,#000 49%,rgba(0,0,0,.84) 67%,transparent 100%);
  }
  .intro-original::before {
    background:linear-gradient(to bottom,rgba(2,7,16,0) 0%,rgba(2,7,16,.12) 30%,#020710 67%);
  }
  .intro-layout {
    min-height:0;
    padding-top:clamp(278px,74vw,380px);
    padding-bottom:72px;
  }
  .intro-content{max-width:100%;}
  .intro h2 {font-size:clamp(45px,11.6vw,73px);line-height:.98;margin:0 0 28px;}
  .intro-lead{font-size:clamp(19px,4.8vw,23px);}
  .intro-subcopy{font-size:14px;line-height:1.75;}
}
@media (max-width:400px) {
  .intro-original .intro-photo{height:clamp(275px,82vw,328px);background-position:52% top}
  .intro-layout{padding-top:clamp(265px,78vw,308px)}
  .intro h2{font-size:clamp(43px,11vw,47px)}
}
@media (prefers-reduced-motion:reduce) {
  .js-enabled .reveal,.js-enabled .reveal.in-view {opacity:1;transform:none;transition:none;}
}

/* With the repeated heading markers removed, keep section headings aligned. */
.vision h2, .services h2, .method-copy h2, .closing h2 { margin-top:0; }


/* V8 — VISUAL SCROLL REVEAL
   Stronger but smooth opacity modulation while approaching the central reading
   band. No intersection toggle or timed fade completing at the bottom edge. */
.js-enabled .reveal,
.js-enabled .reveal.in-view {
  opacity: var(--reveal-opacity, .10);
  transform: translate3d(0, var(--reveal-shift, 26px), 0);
  transition: none;
  will-change: opacity, transform;
}
/* Never obscure the item a keyboard user is currently interacting with. */
.js-enabled .reveal:focus-within {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  .js-enabled .reveal,
  .js-enabled .reveal.in-view {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
    will-change: auto;
  }
}


/* V9 — FULL SECTION SCROLL FADE
   Unlike v8, opacity applies to each entire section, so photography,
   gradients, backgrounds and copy rise and fall as a unified composition.
   There is no forced opacity floor. The trailing edge reaches 0 when it
   passes the viewport's 10% top marker. Hero and footer are unaffected. */
.js-enabled main > .scroll-section {
  opacity: var(--section-opacity, 0);
  transition: none;
}
/* Disable the old per-element fade to prevent a double fade inside sections. */
.js-enabled main > .scroll-section .reveal,
.js-enabled main > .scroll-section .reveal.in-view {
  opacity: 1;
  transform: none;
  transition: none;
  will-change: auto;
}
/* Keyboard accessibility: keep content legible while an element has focus. */
.js-enabled main > .scroll-section:focus-within { opacity: 1; }
@media (prefers-reduced-motion: reduce) {
  .js-enabled main > .scroll-section { opacity: 1 !important; }
}


/* OUR VISION: original planet-glow artwork and reference positioning.
   Bottom gradient brings the actual image into black before the next section;
   scroll-linked opacity controls the entire scene separately. */
.vision {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  min-height: clamp(720px, 88svh, 1200px);
  overflow: hidden;
  border: 0;
  background-color: #000;
  background-image:
    linear-gradient(to bottom,
      transparent 0%,
      transparent 46%,
      rgba(0,0,0,.42) 72%,
      rgba(0,0,0,.88) 90%,
      #000 100%),
    url("assets/Section-Background-Planet-Glow-scaled.webp");
  background-repeat: no-repeat;
  background-position: left center;
  background-size: cover;
}
/* The planet and its copy use different exit timing on the homepage.
   This preserves a faint horizon above a black lower edge as the copy fades. */
.js-enabled main > .vision.scroll-section {opacity: 1;}
.vision::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: #000;
  opacity: calc(1 - var(--vision-art-opacity, 1));
  pointer-events: none;
}
.vision .vision-content {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  width: 100%;
  max-width: none;
  min-height: inherit;
  padding-block: clamp(100px, 14vh, 190px);
  padding-inline: clamp(28px, 12.5vw, 268px);
}
.js-enabled .vision .vision-content {opacity: var(--section-opacity, 0);}
.js-enabled .vision:focus-within .vision-content {opacity: 1;}
@media (prefers-reduced-motion: reduce) {
  .js-enabled .vision .vision-content {opacity: 1 !important;}
  .vision::after {opacity: 0 !important;}
}
.vision-copy {
  width: min(100%, 720px);
  margin-left: auto;
  text-align: right;
}
.vision h2 {
  margin: 0 0 clamp(40px, 3.7vw, 70px);
  font-size: clamp(61px, 6vw, 110px);
  line-height: .99;
  font-weight: 850;
  letter-spacing: -.064em;
  color:var(--al-purple-text);
  white-space: nowrap;
}
.vision-rule {
  display: block;
  width: clamp(90px, 6.8vw, 140px);
  height: 2px;
  margin: 0 0 clamp(35px, 2.7vw, 52px) auto;
  background: rgba(232,229,242,.63);
}
.vision-content p {
  max-width: clamp(490px, 38vw, 670px);
  margin: 0 0 0 auto;
  font-size: clamp(19px, 1.36vw, 27px);
  line-height: 1.6;
  font-weight: 400;
  letter-spacing: -.012em;
  color: #edebf0;
  text-align: right;
  text-wrap: pretty;
}
@media (max-width: 1050px) {
  .vision .vision-content {padding-inline: clamp(35px, 8vw, 90px)}
  .vision-copy {width: min(64%, 600px)}
  .vision h2 {font-size: clamp(48px, 6vw, 72px)}
  .vision-content p {font-size: clamp(18px, 2vw, 23px)}
}
@media (max-width: 760px) {
  .vision {
    min-height: clamp(650px, 100svh, 900px);
    align-items: flex-end;
    background-position: 27% top;
    background-size: auto 100%;
  }
  .vision::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom,
      rgba(0,0,0,.08) 0%,
      rgba(0,0,0,.10) 34%,
      rgba(0,0,0,.55) 59%,
      rgba(0,0,0,.93) 82%,
      #000 100%);
    pointer-events: none;
  }
  .vision .vision-content {
    min-height: inherit;
    align-items: flex-end;
    padding: clamp(320px, 49svh, 470px) 26px 95px;
  }
  .vision-copy {width: 100%; max-width: 520px;}
  .vision h2 {font-size: clamp(45px, 10vw, 72px); margin-bottom: 33px;}
  .vision-rule {width: 92px; margin-bottom: 30px;}
  .vision-content p {font-size: clamp(18px, 4.4vw, 22px); line-height: 1.55; max-width: 420px;}
}
@media (max-width: 380px) {
  .vision .vision-content {padding-inline: 21px; padding-bottom: 76px}
  .vision h2 {font-size: 43px;}
}

/* V13 — content cleanup and new photographic sections */
.intro-bottomline,
.vision-rule,
.services-end {
  display: none !important;
}

.method.method-bg {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background-color: #070910;
  background-image: url("assets/astronaut-method-bg.webp");
  background-repeat: no-repeat;
  background-position: right center;
  background-size: cover;
  min-height: clamp(720px, 88svh, 980px);
}
.method.method-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(4,7,15,.94) 0%, rgba(4,7,15,.9) 26%, rgba(4,7,15,.72) 46%, rgba(4,7,15,.36) 64%, rgba(4,7,15,.12) 100%),
    linear-gradient(180deg, rgba(4,7,15,.24) 0%, rgba(4,7,15,.18) 100%);
  pointer-events: none;
}
.method-layout {
  position: relative;
  z-index: 1;
  min-height: inherit;
  display: flex;
  align-items: center;
  padding-block: clamp(110px, 14vh, 180px);
}
.method.method-bg .method-copy {
  max-width: min(47vw, 620px);
}
.method.method-bg .method-copy h2 {
  margin: 0 0 32px;
}
.method.method-bg .method-copy p {
  max-width: 560px;
  color: rgba(238,236,245,.84);
}
.method.method-bg .method-copy .method-lead {
  color: #f8f7fb;
}
.method.method-bg .method-credit {
  color: rgba(220,213,244,.52);
}

.closing {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background-color: #070711;
  background-image: url("assets/desert-night-bg.webp");
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
}
.closing::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(5,7,14,.34) 0%, rgba(5,7,14,.48) 38%, rgba(5,7,14,.72) 100%),
    linear-gradient(90deg, rgba(10,7,18,.18) 0%, rgba(10,7,18,.08) 100%);
  pointer-events: none;
}
.closing-inner {
  position: relative;
  z-index: 1;
}

@media (max-width: 980px) {
  .method.method-bg {
    min-height: auto;
    background-position: 68% top;
  }
  .method.method-bg::before {
    background:
      linear-gradient(180deg, rgba(4,7,15,.28) 0%, rgba(4,7,15,.42) 34%, rgba(4,7,15,.82) 73%, rgba(4,7,15,.94) 100%),
      linear-gradient(90deg, rgba(4,7,15,.85) 0%, rgba(4,7,15,.52) 55%, rgba(4,7,15,.14) 100%);
  }
  .method-layout {
    align-items: flex-end;
    padding-top: clamp(320px, 52vw, 500px);
    padding-bottom: 90px;
  }
  .method.method-bg .method-copy {
    max-width: 100%;
  }
}

@media (max-width: 760px) {
  .method.method-bg {
    background-position: 70% top;
    background-size: auto 100%;
  }
  .method-layout {
    padding-top: clamp(300px, 86vw, 420px);
    padding-bottom: 72px;
  }
  .closing {
    background-position: 58% center;
  }
}


/* V14 — remove hard divider feel and fade sections into black */
html, body, main {
  background: #000;
}
main > section {
  border-top: 0 !important;
  border-bottom: 0 !important;
  box-shadow: none !important;
}

/* Make each main content section fade into black at the top and bottom.
   This affects both background and content so the transitions feel cinematic. */
main > section.scroll-section {
  position: relative;
  isolation: isolate;
  -webkit-mask-image: linear-gradient(to bottom,
    rgba(0,0,0,0) 0%,
    rgba(0,0,0,1) 9%,
    rgba(0,0,0,1) 88%,
    rgba(0,0,0,0) 100%);
  mask-image: linear-gradient(to bottom,
    rgba(0,0,0,0) 0%,
    rgba(0,0,0,1) 9%,
    rgba(0,0,0,1) 88%,
    rgba(0,0,0,0) 100%);
}

/* Keep the hero crisp while still removing any visible divider beneath it. */
.hero {
  border-bottom: 0 !important;
  box-shadow: none !important;
}

/* Specifically ensure the intro/vision handoff has no hard rule. */
.intro-original,
.vision,
.services,
.method,
.closing {
  border-top: 0 !important;
  border-bottom: 0 !important;
}

@media (max-width: 760px) {
  main > section.scroll-section {
    -webkit-mask-image: linear-gradient(to bottom,
      rgba(0,0,0,0) 0%,
      rgba(0,0,0,1) 7%,
      rgba(0,0,0,1) 90%,
      rgba(0,0,0,0) 100%);
    mask-image: linear-gradient(to bottom,
      rgba(0,0,0,0) 0%,
      rgba(0,0,0,1) 7%,
      rgba(0,0,0,1) 90%,
      rgba(0,0,0,0) 100%);
  }
}

/* V15 — FULL-VIEWPORT CINEMATIC HERO
   The artwork is rendered at its native aspect ratio (width-driven), never
   stretched or scaled with transform. A dark upper gradient lets the helmet
   appear beneath the masthead. CTAs finish exactly at the viewport bottom. */
.hero {
  --hero-cta-height: clamp(96px, 11svh, 116px);
  height: 100vh;       /* fallback */
  height: 100svh;      /* stable mobile viewport, prevents CTA jumping */
  min-height: 0;
  display: flex;
  align-items: stretch;
  background: #000;
  isolation: isolate;
}
.hero-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background-image: url("assets/UAE-Space-Camp-Hero.webp");
  background-repeat: no-repeat;
  background-size: 100% auto;
  background-position: center clamp(62px, 8svh, 120px);
  opacity: 1;
  filter: none;
  transform: none;
  animation: none;
  -webkit-mask-image: linear-gradient(to bottom,
    transparent 0%,
    rgba(0,0,0,.30) 12%,
    #000 28%,
    #000 68%,
    transparent 98%);
  mask-image: linear-gradient(to bottom,
    transparent 0%,
    rgba(0,0,0,.30) 12%,
    #000 28%,
    #000 68%,
    transparent 98%);
}
.hero-screen {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom,
      #000 0%,
      rgba(0,0,0,.95) 9%,
      rgba(0,0,0,.66) 21%,
      rgba(0,0,0,.17) 38%,
      transparent 55%),
    linear-gradient(90deg,
      rgba(0,0,0,.50) 0%,
      rgba(0,0,0,.31) 36%,
      rgba(0,0,0,.02) 76%),
    linear-gradient(to top,
      #000 0%,
      rgba(0,0,0,.82) 11%,
      transparent 33%);
  pointer-events: none;
}
.hero-inner {
  position: relative;
  flex: 1 1 auto;
  height: 100%;
  min-height: 0;
  display: flex;
  align-items: flex-end;
  padding-top: clamp(132px, 16svh, 206px);
  padding-bottom: calc(var(--hero-cta-height) + clamp(27px, 4svh, 53px));
}
.hero-copy {max-width: min(950px, 88vw);}
.hero-actions {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: var(--hero-cta-height);
  min-height: 0;
  background: rgba(10, 8, 18, .96);
}
.hero-action {min-height: 0;}
/* The masthead remains fixed and shrinks smoothly on scroll. The extended
   gradient is black at the top and disappears across the astronaut helmet. */
.site-header::before {
  height: clamp(255px, 33svh, 380px);
  background: linear-gradient(to bottom,
    #000 0%,
    rgba(0,0,0,.97) 16%,
    rgba(0,0,0,.70) 33%,
    rgba(0,0,0,.20) 58%,
    transparent 100%);
}

@media (min-width: 761px) and (max-height: 750px) {
  .hero {--hero-cta-height: 96px;}
  .hero-inner {
    padding-top: 112px;
    padding-bottom: calc(var(--hero-cta-height) + 20px);
  }
  .hero h1 {font-size: clamp(45px, 4.45vw, 67px);}
  .hero-copy > p {margin-top: 15px; line-height: 1.45;}
  .hero-kicker {margin-bottom: 13px;}
}
@media (min-width: 761px) and (max-width: 1150px) {
  .hero-photo {
    width: 100%;
    height: 100%;
    background-size: 100% auto;
    background-position: center clamp(68px, 9svh, 115px);
  }
  .hero-inner {
    padding-top: clamp(116px, 15svh, 165px);
    padding-bottom: calc(var(--hero-cta-height) + 27px);
  }
}
@media (max-width: 760px) {
  .hero {
    --hero-cta-height: 171px;
    height: 100vh;
    height: 100svh;
    min-height: 0;
    background: #000;
  }
  .hero-photo {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background-size: auto clamp(360px, 51svh, 510px);
    background-position: 62% clamp(75px, 11svh, 110px);
    -webkit-mask-image: linear-gradient(to bottom,
      transparent 0%, #000 20%, #000 42%, transparent 73%);
    mask-image: linear-gradient(to bottom,
      transparent 0%, #000 20%, #000 42%, transparent 73%);
  }
  .hero-screen {
    background:
      linear-gradient(to bottom,
        #000 0%, rgba(0,0,0,.96) 8%, rgba(0,0,0,.65) 19%,
        rgba(0,0,0,.20) 36%, rgba(0,0,0,.72) 55%, #000 83%),
      linear-gradient(90deg,rgba(0,0,0,.18),transparent 90%);
  }
  .hero-inner {
    min-height: 0;
    height: 100%;
    padding-top: clamp(99px, 13svh, 150px);
    padding-bottom: calc(var(--hero-cta-height) + clamp(12px, 2.7svh, 30px));
    align-items: flex-end;
  }
  .hero-copy {max-width: 100%;}
  .hero h1 {
    font-size: clamp(33px, 9.2vw, 62px);
    letter-spacing: -.065em;
    line-height: .99;
  }
  .hero-kicker {margin-bottom: clamp(10px,2.1svh,20px);}
  .hero-copy > p {
    font-size: clamp(11px, 3.25vw, 14px);
    margin-top: clamp(12px, 2.4svh, 20px);
    line-height: 1.48;
  }
  .hero-actions {
    height: var(--hero-cta-height);
    min-height: 0;
    grid-template-columns: 1fr;
    background: rgba(10,8,18,.97);
  }
  .hero-action {min-height: 0; padding-block: 7px;}
  .site-header::before {
    height: clamp(210px, 32svh, 300px);
    background: linear-gradient(to bottom,
      #000 0%,rgba(0,0,0,.97) 22%,rgba(0,0,0,.65) 52%,transparent 100%);
  }
}
@media (max-width: 400px) {
  .hero {--hero-cta-height: 165px;}
  .hero-photo {
    background-size: auto clamp(325px, 48svh, 440px);
    background-position: 63% clamp(65px, 10svh, 90px);
  }
  .hero-inner {padding-top: 96px; padding-bottom: calc(var(--hero-cta-height) + 14px);}
  .hero h1 {font-size: clamp(31px, 9.2vw, 37px);}
  .hero-copy > p {font-size: 11.5px;}
  .hero-kicker {font-size: 8px; letter-spacing: .11em;}
}
/* Very short screens: preserve text/CTA legibility instead of clipping content. */
@media (max-height: 550px) {
  .hero {min-height: 550px; height: auto;}
}


/* V16 — IMAGE MEETS CTA STRIP
   On desktop, anchor the bottom of the unscaled image to the top of the
   viewport-bottom CTA strip. The source image retains its native aspect
   ratio (100% width, auto height), independent of browser aspect ratio.
   The header's existing top-to-transparent fade remains unchanged. */
@media (min-width: 761px) {
  .hero-photo {
    /* v19: increase the artwork enough to bring the helmet directly under the
       masthead, but restore a calmer composition by shifting the focal point
       left so more shoulder/body remains visible. */
    --hero-photo-scale: 1.52;
    --hero-photo-start: max(0px, calc(100svh - var(--hero-cta-height) - (52.666vw * var(--hero-photo-scale))));
    background-size: calc(100% * var(--hero-photo-scale)) auto;
    background-position: 56.25% bottom calc(var(--hero-cta-height) - 1px);
    -webkit-mask-image: linear-gradient(to bottom,
      transparent 0%,
      transparent var(--hero-photo-start),
      rgba(0,0,0,.18) calc(var(--hero-photo-start) + 36px),
      rgba(0,0,0,.72) calc(var(--hero-photo-start) + 108px),
      #000 calc(var(--hero-photo-start) + 180px),
      #000 100%);
    mask-image: linear-gradient(to bottom,
      transparent 0%,
      transparent var(--hero-photo-start),
      rgba(0,0,0,.18) calc(var(--hero-photo-start) + 36px),
      rgba(0,0,0,.72) calc(var(--hero-photo-start) + 108px),
      #000 calc(var(--hero-photo-start) + 180px),
      #000 100%);
  }
  .hero-screen {
    background:
      linear-gradient(to bottom,
        #000 0%,
        rgba(0,0,0,.94) 8%,
        rgba(0,0,0,.52) 17%,
        rgba(0,0,0,.10) 30%,
        transparent 47%),
      linear-gradient(90deg,
        rgba(0,0,0,.52) 0%,
        rgba(0,0,0,.33) 31%,
        rgba(0,0,0,.05) 69%,
        transparent 84%),
      linear-gradient(to top,
        rgba(0,0,0,.30) 0%,
        rgba(0,0,0,.08) 14%,
        transparent 28%);
  }
}


/* V17 — Approved Astronaut Method copy and original composition.
   All copy in this section is transcribed from the approved-site screenshot;
   no marketing text or CTA is introduced. */
@media (min-width: 981px) {
  .method.method-bg {
    /* Offset the intact original background artwork rightwards.
       The negative empty-space area stays under the copy. */
    background-size: cover;
    background-position: calc(100% + clamp(95px, (420px - 15vw), 270px)) center;
  }
  .method.method-bg .method-copy {
    max-width: min(49vw, 720px);
  }
}
.method.method-bg .method-copy h2 {
  color:var(--al-purple-text);
  font-size: clamp(58px, 5.75vw, 103px);
  margin: 0 0 clamp(40px, 4.5vw, 65px);
  line-height: .99;
}
.method.method-bg .method-copy h2 span {color: inherit;}
.method.method-bg .method-copy p {
  max-width: 690px;
  font-size: clamp(16px, 1.35vw, 23px);
  line-height: 1.65;
  font-weight: 400;
  margin: 0 0 25px;
  letter-spacing: -.005em;
  color: rgba(237,233,242,.9);
}
.method.method-bg .method-copy .method-attribution {
  margin: 28px 0 0;
  font-size: clamp(15px, 1.2vw, 21px);
  line-height: 1.5;
  font-weight: 400;
  color: rgba(240,237,247,.86);
}
.method-attribution cite {font-style: italic;}
@media (max-width: 980px) {
  .method.method-bg {background-position: 78% top;}
  .method.method-bg .method-copy {max-width: min(100%, 700px);}
}
@media (max-width: 760px) {
  .method.method-bg {background-position: 74% top;}
  .method.method-bg .method-copy h2 {font-size: clamp(49px, 11.2vw, 72px);}
  .method.method-bg .method-copy p {font-size: clamp(15px, 3.7vw, 18px);line-height: 1.68;}
  .method.method-bg .method-copy .method-attribution {font-size: 15px;}
}
@media (max-width: 380px) {
  .method.method-bg .method-copy h2 {font-size: clamp(43px, 11vw, 49px);}
}

/* Final desktop art direction: preserve a substantial text/photo gap. */
@media (min-width: 981px) {
  .method.method-bg {
    background-position: calc(100% + clamp(320px, 25vw, 400px)) center;
  }
  .method.method-bg .method-layout {
    max-width: none;
    padding-inline: clamp(35px, 7vw, 145px);
  }
  .method.method-bg .method-copy { max-width: min(48vw, 780px); }
  .method.method-bg .method-copy p { max-width: 760px; font-size: clamp(16px, 1.35vw, 27px); }
}
.method.method-bg .method-copy h2 .copyright-mark {
  font-size: .88em;
  vertical-align: baseline;
  margin-left: 3px;
}
@media (max-width: 760px) {
  .method.method-bg {background-position: 66% top;}
  .method.method-bg .method-copy h2 .copyright-mark {font-size: .73em;}
}


@media (min-width: 761px) and (max-width: 1180px) {
  .hero-photo {
    --hero-photo-scale: 1.58;
    background-position: 57.5% bottom calc(var(--hero-cta-height) - 1px);
  }
}
@media (min-width: 1500px) {
  .hero-photo {
    --hero-photo-scale: 1.46;
    background-position: 55.5% bottom calc(var(--hero-cta-height) - 1px);
  }
}


/* V22 — single-line, optically aligned desktop header actions.
   The underline is positioned independently so it doesn't pull the CTA
   typography vertically out of line with the MENU label. */
.site-header .header-right {
  display: flex;
  align-items: center;
  gap: clamp(24px, 3.1vw, 48px);
}
.site-header .header-contact,
.site-header .menu-toggle {
  box-sizing: border-box;
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding-block: 0;
  line-height: 1;
}
.site-header .header-contact {
  position: relative;
  border: 0;
  padding-inline: 0;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .18em;
}
.site-header .header-contact::after {
  content: "";
  position: absolute;
  height: 1px;
  left: 0;
  right: 0;
  bottom: 7px;
  background: rgba(218,208,255,.4);
  transition: background-color .25s ease;
}
.site-header .header-contact:hover::after,
.site-header .header-contact:focus-visible::after {
  background: var(--lilac);
}
.site-header .menu-toggle {
  padding-inline: 4px;
}
.site-header .menu-toggle__label {
  font-size: 11px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: .18em;
}
@media (max-width: 760px) {
  .site-header .header-right {gap: 12px;}
  .site-header .menu-toggle {min-height: 44px;}
  .site-header .menu-toggle__label {font-size: 10px;}
}

/* Responsive masthead correction shared by Home and About: keep the mobile
   header minimal with logo and menu, as per the approved design. */
@media (max-width:760px) {
  .site-header .header-contact {display:none!important;}
  .site-header .header-right {gap:0;}
}

/* Nine-entry menu: retain the established large type and let all destinations
   fit more comfortably on laptop-height viewports. Small phones can scroll. */
@media (min-width:761px) and (max-height:920px) {
  .menu-stage {padding-top:108px;padding-bottom:38px}
  .menu-item {padding-top:2px;padding-bottom:2px}
  .menu-links {margin-top:8px;margin-bottom:8px}
  .menu-bottom {padding-top:13px}
}


/* v24: User-supplied replacement homepage hero (1672×941, original unchanged).
   Use the extra headroom in this photograph. No transform/zoom effect.
   Keep the image touching the CTA strip; black-to-clear masthead stays intact. */
.hero-photo {
  position: absolute;
  inset: 0 0 var(--hero-cta-height) 0;
  width: 100%;
  height: auto;
  background-image: url("assets/UAE-Space-Camp-Hero.webp");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
  opacity: 1;
  filter: none;
  transform: none;
  animation: none;
  -webkit-mask-image: none;
  mask-image: none;
}
@media (min-width: 761px) {
  .hero-photo {
    background-size: cover;
    background-position: 53% center;
    -webkit-mask-image: none;
    mask-image: none;
  }
}
@media (max-width: 760px) {
  .hero-photo {
    inset: 0 0 var(--hero-cta-height) 0;
    width: 100%;
    height: auto;
    background-size: cover;
    background-position: 53% center;
    -webkit-mask-image: none;
    mask-image: none;
  }
}


/* v25 — SEMANTIC H1/H2 HIERARCHY
   Homepage H1 now shares the global section-title size (H2) through typography.css.
   Expand text container at ultra-wide viewports to retain the approved four-line
   title without running into an additional accidental wrap. */
@media (min-width: 1500px) {
  .hero .hero-copy { max-width: min(1130px, 88vw); }
  .hero h1 { max-width: 1130px; }
}
/* Phone: keep the original astronaut intact, but separate the image-led upper
   half from the larger, legible five-line headline via a soft photographic fade. */
@media (max-width: 760px) {
  .hero-photo {
    inset: 0 0 auto 0;
    width: 100%;
    height: clamp(330px, 57svh, 500px);
    background-size: cover;
    background-position: 58% top;
    -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 37%, rgba(0,0,0,.73) 58%, transparent 95%);
    mask-image: linear-gradient(to bottom, #000 0%, #000 37%, rgba(0,0,0,.73) 58%, transparent 95%);
  }
  .hero-screen {
    background:
      linear-gradient(to bottom, #000 0%, rgba(0,0,0,.65) 9%, transparent 28%, rgba(0,0,0,.25) 48%, #000 83%),
      linear-gradient(90deg, rgba(0,0,0,.13), transparent 85%);
  }
  .hero h1 { line-height: .965; }
}
/* At the narrowest devices there is less than 320px between the masthead and
   CTA rail. Tighten only vertical rhythm, keeping the 43px H1 = H2 scale. */
@media (max-width: 350px) {
  .hero h1 {line-height: .88;letter-spacing: -.075em;}
  .hero-kicker {margin-bottom: 6px;}
  .hero-copy > p {margin-top: 8px; line-height: 1.35;}
  .hero-inner {padding-bottom: calc(var(--hero-cta-height) + 10px);}
}
