/* Responsive composition, reading rhythm and the perspective application gallery. */
body{overflow-wrap:break-word}
.section,.project-summary>*,.story-columns>*,.mawali-editorial>*,.contact-block>*{min-width:0}
h2,h3,h4,h5{text-wrap:balance}p{text-wrap:pretty}
.hero-identity{position:absolute;left:7.6%;top:38%;z-index:3;pointer-events:none}
.hero-name{position:static;left:auto;top:auto;bottom:auto;line-height:.84}
.hero-autograph{position:static;left:auto;top:auto;bottom:auto;margin:23px 0 0;width:clamp(190px,20vw,290px)}
.hero-name span{line-height:1.2}
.gallery-heading{gap:20px;align-items:center}.gallery-heading p{max-width:430px;line-height:1.8}
.product-intro h4{margin-bottom:26px}
.feature-grid{margin-top:0}
.site-footer{position:relative;z-index:2;background:#080c13;color:#e4eaf4;padding:70px 8% 24px}
.footer-top{max-width:1344px;margin:0 auto;display:grid;grid-template-columns:1.4fr .8fr 1fr;gap:9%;padding-bottom:56px}
.footer-wordmark{display:block;font:900 37px/.85 Arial,Helvetica,sans-serif;letter-spacing:-2.5px;width:max-content;padding:9px 0 5px}
.footer-wordmark span{display:block;font:400 8px/1.5 Arial,sans-serif;letter-spacing:2.2px;margin-top:10px}
.footer-identity>p{font-size:14px;line-height:1.9;color:#8896ab;max-width:275px;margin-top:24px}
.footer-top h3{font:400 11px/1.7 Arial,sans-serif;color:#8896ab;letter-spacing:.3px;margin:8px 0 20px;text-wrap:wrap}
.footer-nav a{display:flex;align-items:center;min-height:44px;width:max-content;max-width:100%;font-size:13px;color:#d3dbe9;transition:color .25s}
.footer-socials a{display:flex;align-items:center;gap:14px;min-height:60px;margin:4px 0;color:#d3dbe9}
.footer-socials svg{width:19px;height:19px;stroke:currentColor;stroke-width:1.35;fill:none;flex-shrink:0}.footer-socials .icon-dot{fill:currentColor;stroke:none}
.footer-socials a>span{font-size:13px;line-height:1.4;flex:1}.footer-socials small{display:block;font:10px/1.6 Arial,sans-serif;color:#8896ab;letter-spacing:.1px;margin-top:4px}
.footer-socials i{font:16px Arial;color:#8099c2;transition:transform .3s}.footer-socials a:hover i{transform:translate(2px,-2px)}
.footer-nav a:hover,.footer-socials a:hover{color:#9bbbff}
.footer-bottom{max-width:1344px;margin:auto;border-top:1px solid #c3d5f21c;padding-top:23px;display:flex;align-items:center;justify-content:space-between;gap:20px}
.footer-bottom p{font-size:10px;line-height:1.9;color:#8896ab}.footer-bottom bdi.latin{color:#c8d4e7;white-space:nowrap}
.back-top{display:inline-flex;gap:18px;align-items:center;min-height:44px;font-size:11px;flex-shrink:0}
.back-top>span:last-child{font:18px Arial;color:#a8c5f9}
html[lang=ar] .footer-identity>p{font-size:16px}
html[lang=ar] .footer-top h3{font:400 13px/1.7 RayzaArabic,sans-serif;letter-spacing:0}
html[lang=ar] .footer-nav a,html[lang=ar] .footer-socials a>span{font-size:15px}
html[lang=ar] .footer-bottom p,html[lang=ar] .back-top{font-size:12px}
@media(min-width:1600px){.site-footer{padding-inline:max(8%,calc((100vw - 1344px)/2))}}
@media(max-width:1000px){.footer-top{gap:6%;grid-template-columns:1.1fr .8fr 1.1fr}.footer-bottom{flex-wrap:wrap}.hero-identity{top:40%;left:7%}.hero-autograph{width:210px}}
@media(max-width:760px),(max-width:1024px) and (orientation:portrait){
 .opening{height:100vh;height:100svh;min-height:620px}.hero{position:relative;min-height:620px;height:100vh;height:100svh;perspective:none}
 .hero-art{inset:max(50px,env(safe-area-inset-top)) 0 clamp(185px,24svh,220px);transform-origin:65% 45%}
 .robot-stage{transform-origin:70% 45%;animation:mobile-robot-arrival 1.8s var(--ease) both}
 .robot-stage>img{object-position:74% center}
 .hero:after{background:linear-gradient(0deg,#030507 12%,#03050700 34%);z-index:1}
 .hero-identity{left:7%;right:7%;top:auto;bottom:max(42px,calc(env(safe-area-inset-bottom) + 28px))}
 .hero-name{font-size:clamp(62px,15.5vw,82px);letter-spacing:-.075em;line-height:.84;top:auto;left:auto;bottom:auto}
 .hero-name span{font-size:14px;letter-spacing:.6px;margin-top:12px}
 .hero-autograph{width:178px;max-width:60%;margin:13px 0 0 2px;top:auto;bottom:auto;left:auto}
 .hero-autograph img{opacity:.72}
 .scroll-cue{left:auto;right:7%;bottom:47px;transform:none;width:32px;height:48px}
 .chapter-nav{display:none}
}
@media(max-width:600px){
 .section{padding-inline:7%}.about{min-height:auto;padding-top:42px;padding-bottom:75px}.about-copy{margin-top:65px;max-width:100%}.about h2{font-size:38px;line-height:1.25}
 .about-copy p,.about-copy p.secondary{max-width:100%}
 .projects{padding-top:42px;padding-bottom:55px}.projects-heading{margin:45px auto}.projects-heading h2{font-size:29px;line-height:1.3;letter-spacing:-.9px}
 .project-tabs{gap:14px;max-width:350px}.project-tab{padding-bottom:21px}.tab-name{white-space:normal;line-height:1.7}.tab-category{max-width:145px;margin:auto}
 .project-summary{gap:20px}.project-description{padding-inline-start:0}.project-heading h3{line-height:1.6}.project-number{padding-top:4px}
 .product-story{padding-top:48px}.product-intro h4{font-size:28px;line-height:1.4}
 .story-columns{gap:18px}.gallery-heading{margin-top:29px;padding-top:27px}.gallery-heading p{font-size:12px}
 .mawali-art{margin-inline:0;border-radius:4px}.mawali-prose p,.story-columns p{line-height:1.95}
 .founder{padding-top:42px;padding-bottom:36px}.founder-content{margin:65px auto 50px}.founder h2{font-size:clamp(28px,7.8vw,39px);letter-spacing:-1.5px}
 .contact-block{padding:30px 0 0}.contact-email{font-size:clamp(11px,3.3vw,16px);line-height:1.7}
 .site-footer{padding:47px 7% 24px}.footer-top{grid-template-columns:.75fr 1.25fr;gap:33px 28px;padding-bottom:33px}.footer-identity{grid-column:1/-1}.footer-wordmark{font-size:34px}
 .footer-identity>p{max-width:290px;margin-top:16px}.footer-top h3{margin:0 0 13px}.footer-socials a{gap:10px;min-height:61px}.footer-socials small{font-size:9px}.footer-socials a>span{font-size:12px}
 .footer-bottom{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px 20px;align-items:start}.footer-bottom p:first-child{grid-column:1/-1}.footer-bottom p{font-size:10px}.back-top{align-self:center;justify-self:end;font-size:11px;gap:12px}
 html[lang=ar] .projects-heading h2{font-size:30px;line-height:1.55}html[lang=ar] .about h2{font-size:37px;line-height:1.55}
 html[lang=ar] .project-heading h3{font-size:25px;line-height:1.65}html[lang=ar] .product-intro h4{font-size:28px;line-height:1.65}
 html[lang=ar] .project-description p,html[lang=ar] .story-columns p,html[lang=ar] .mawali-prose p{font-size:16px;line-height:2}
 html[lang=ar] .footer-socials a>span{font-size:13px}html[lang=ar] .footer-bottom p{font-size:11px}
}
@media(max-width:360px){.hero-name{font-size:57px}.hero-autograph{width:158px}.hero-identity{bottom:39px}.hero-art{bottom:180px}.footer-top{gap:28px 15px;grid-template-columns:.7fr 1.3fr}.footer-socials small{font-size:8.5px}.footer-socials svg{width:17px}.footer-socials a{gap:8px}}
@media(max-height:520px) and (min-width:601px){
 .opening,.hero{height:100svh;min-height:400px}.hero-art{inset:0}.hero-identity{top:32%;bottom:auto;left:7%;right:auto}.hero-name{font-size:53px}.hero-autograph{width:160px;margin-top:16px}.hero:after{background:linear-gradient(0deg,#03050799,transparent 25%)}.scroll-cue{bottom:20px}
}
@keyframes mobile-robot-arrival{from{opacity:.15;transform:translateY(14px) scale(1.025)}to{opacity:1;transform:none}}
.reduced .robot-stage{animation:none!important}
@media(prefers-reduced-motion:reduce){.robot-stage{animation:none}}

/* One compact tap switches to the other language. */
.locale-control{--locale-ink:#e6ecf8;--locale-surface:#111821ab;--locale-border:#b4c9e637;position:fixed;top:max(20px,env(safe-area-inset-top));right:4%;z-index:40;color:var(--locale-ink)}
.locale-trigger{width:44px;height:44px;min-height:44px;padding:0;display:grid;place-items:center;border:1px solid var(--locale-border);border-radius:50%;background:var(--locale-surface);color:inherit;backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);transition:background .25s,border-color .25s,transform .25s}
.locale-trigger:hover{border-color:#83abdfaa}.locale-trigger:active{transform:scale(.94)}
.locale-trigger[aria-busy=true]{pointer-events:none}
#language-text{font:500 11px/1 Arial,sans-serif;letter-spacing:.4px}
#language-text[lang=ar]{font:500 21px/1 RayzaArabic,sans-serif;letter-spacing:0;transform:translateY(-1px)}
.locale-control.on-paper{--locale-ink:#33435a;--locale-surface:#ffffffde;--locale-border:#6f86a839}

/* Original interface captures sit inside dimensional, independently moving phones. */
.app-gallery{--phone-width:clamp(208px,23vw,258px);position:relative;margin:12px 0 48px;direction:ltr}
.gallery-stage{position:relative;padding:42px 0 0;isolation:isolate;outline-offset:-4px;touch-action:pan-y pinch-zoom;-webkit-user-select:none;user-select:none;overflow:hidden;background:radial-gradient(ellipse at 50% 66%,#e8effb7d,transparent 62%)}
.gallery-world{display:flex;gap:30px;padding:0 25px 32px;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:thin}
.phone-card{position:relative;flex:0 0 var(--phone-width);width:var(--phone-width);margin:0;scroll-snap-align:center}
.phone-button{display:block;position:relative;width:100%;padding:0;border:0;background:none;border-radius:34px;transform-style:preserve-3d;cursor:pointer;-webkit-tap-highlight-color:transparent}
.phone-hardware{position:relative;display:block;padding:21px 6px 9px;border:1px solid #7b879b;border-radius:32px;background:linear-gradient(125deg,#e1e6ed 0%,#737e90 2%,#151a21 7%,#080c13 47%,#414b5b 95%,#b8c6da);box-shadow:0 22px 32px -17px #15284655,0 0 0 1px #243043;transform-style:preserve-3d}
.phone-hardware:before{content:'';position:absolute;width:27px;height:3px;top:9px;left:calc(50% - 18px);background:#39404b;border-radius:8px;box-shadow:0 1px 1px #000}
.phone-hardware:after{content:'';position:absolute;width:4px;height:4px;top:8px;left:calc(50% + 16px);border-radius:50%;background:#223959;box-shadow:inset 0 0 2px #b8d7ff55}
.phone-edge{position:absolute;inset:-1px;border-radius:32px;background:linear-gradient(95deg,#738197,#131a25 8%,#11151f 92%,#9bacc5);transform:translateZ(-8px);box-shadow:2px 1px 0 #aab7c7,-2px 1px 0 #56627a,0 26px 25px -18px #182b5655;pointer-events:none}
.phone-display{position:relative;display:block;overflow:hidden;aspect-ratio:1320/2631;border-radius:22px;background:#fafbf9;transform:translateZ(.5px)}
.phone-display img{display:block;width:100%;height:100%;object-fit:contain;pointer-events:none;-webkit-user-drag:none}
.phone-glass{position:absolute;inset:1px;border-radius:30px;background:linear-gradient(115deg,#ffffff13,transparent 30%,transparent 72%,#adc9ff09),linear-gradient(rgb(12 23 40 / var(--phone-shade,0)),rgb(12 23 40 / var(--phone-shade,0)));transform:translateZ(1px);pointer-events:none}
.gallery-floor{display:none}
.has-depth .gallery-stage{height:calc(var(--phone-width)*2.08 + 132px);padding:0;cursor:grab}
.has-depth .gallery-world{position:absolute;inset:0;display:block;padding:0;overflow:visible;perspective:1100px;perspective-origin:50% 42%;transform-style:preserve-3d}
.has-depth .phone-card{position:absolute;left:50%;top:48px;transform-style:preserve-3d;transition:transform .8s cubic-bezier(.22,.72,.15,1),opacity .65s ease;will-change:transform;backface-visibility:hidden}
.has-depth .phone-button{cursor:inherit}
.has-depth .phone-card.is-active .phone-button{cursor:zoom-in}
.has-depth .gallery-stage.is-dragging,.has-depth .gallery-stage.is-dragging .phone-button{cursor:grabbing}
.has-depth .is-dragging .phone-card{transition:none}
.has-depth .phone-card.is-active .phone-hardware{box-shadow:0 29px 35px -20px #15326666,0 0 0 1px #7e92ad}
.has-depth .gallery-floor{display:block;position:absolute;bottom:10px;left:10%;right:10%;height:85px;border-radius:50%;background:radial-gradient(ellipse,#244c8f17,transparent 66%);pointer-events:none}
.gallery-dock{display:flex;justify-content:center;align-items:center;gap:24px;margin:0 auto;width:min(100%,440px);direction:ltr}
.gallery-dock>button{width:46px;height:46px;flex-shrink:0;display:grid;place-items:center;background:#f6f8fc;color:#49617e;border:1px solid #dce3ed;border-radius:50%;transition:background .25s,border-color .25s,transform .25s}
.gallery-dock>button:hover{background:#eaf0fc;border-color:#a1b9e5;transform:translateY(-2px)}
.gallery-dock>button:active{transform:scale(.95)}
.gallery-dock svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}
.gallery-current{flex:1;min-width:0;text-align:center}
#gallery-position{display:block;font:10px/1.4 Arial,sans-serif;font-variant-numeric:tabular-nums;letter-spacing:2px;color:#8b98ac}
#gallery-title{font-size:14px;font-weight:500;line-height:1.7;margin:8px 0 0;min-height:48px;text-wrap:balance;color:#344760}
html[lang=ar] #gallery-title{font:500 18px/1.65 RayzaArabic,sans-serif}
.gallery-pagination{display:flex;align-items:center;justify-content:center;gap:0;margin-top:12px;direction:ltr}
.gallery-pagination button{width:34px;height:44px;padding:0;display:grid;place-items:center;border:0;background:none;border-radius:12px}
.gallery-pagination button span{width:4px;height:4px;background:#b9c6d8;border-radius:5px;transition:width .4s var(--ease),background .3s}
.gallery-pagination button[aria-pressed=true] span{width:19px;background:#4d78ca}
.gallery-pagination button:hover span{background:#587cba}
.app-gallery:not(.has-depth) .gallery-dock,.app-gallery:not(.has-depth) .gallery-pagination{display:none}

/* Keep the hierarchy and reading measure consistent in both languages. */
.about h2,.projects-heading h2,.project-heading h3,.product-intro h4,.contact-block h3{overflow-wrap:normal}
.about-copy{max-width:580px}.about-copy p{max-width:490px}
.about h2{font-size:clamp(34px,4.2vw,59px);line-height:1.16;letter-spacing:-.055em}
html[lang=en] .about h2{max-width:540px}
.projects-heading{max-width:710px}.projects-heading p{max-width:540px;margin:22px auto 0}
.project-tabs{align-items:start}.project-tab{align-self:stretch;padding-bottom:28px}.tab-category{max-width:210px;min-height:32px;margin-inline:auto}
.project-heading>div{min-width:0}.project-heading h3{margin-top:18px;max-width:375px;line-height:1.4}
.project-description{max-width:530px}.project-description p{line-height:1.95}
.product-intro h4{max-width:770px;margin:20px 0 30px;line-height:1.35}
.story-columns{column-gap:7%;row-gap:24px}.story-columns p,.mawali-prose p{max-width:65ch;text-align:start}
.gallery-heading{margin-top:36px;align-items:center}.gallery-heading h5{flex-shrink:0}.gallery-heading p{max-width:390px;margin:0;line-height:1.8}
.feature h5{max-width:30ch}.feature p{max-width:52ch}.founder-content p{max-width:610px}
.founder-label{display:inline-block;max-width:100%;line-height:1.9}
.contact-block h3{max-width:400px}.footer-nav a{line-height:1.8;padding-block:7px}
html[lang=ar] .about h2{font-size:clamp(35px,4vw,56px);line-height:1.5}
html[lang=ar] .product-intro h4{line-height:1.65}
html[lang=ar] .project-heading h3{line-height:1.7}
html[lang=ar] .tab-category{line-height:1.85;min-height:40px}
html[lang=ar] .project-description p,html[lang=ar] .story-columns p,html[lang=ar] .mawali-prose p{line-height:2.05}
@media(max-width:900px){.gallery-heading{display:block}.gallery-heading p{margin-top:10px}.locale-control{right:5%}}
@media(max-width:760px){
 .story-columns{grid-template-columns:1fr;gap:21px}.project-summary{grid-template-columns:1fr;gap:25px}.project-description{max-width:620px;padding-inline-start:0}
 .locale-control{top:max(17px,env(safe-area-inset-top));right:6%}.locale-trigger{padding:0}
 .app-gallery{--phone-width:clamp(170px,47vw,248px);margin-bottom:34px}
 .has-depth .gallery-stage{height:calc(var(--phone-width)*2.08 + 105px)}
 .has-depth .phone-card{top:32px}.has-depth .gallery-world{perspective:950px}
 .phone-hardware{border-radius:29px}.phone-edge{border-radius:29px}.phone-glass{border-radius:28px}.phone-display{border-radius:20px}
 .gallery-dock{max-width:370px;gap:15px}#gallery-title{font-size:13px;min-height:46px}html[lang=ar] #gallery-title{font-size:16px}
 .product-intro h4{font-size:clamp(27px,4.8vw,38px)}
}
@media(max-width:600px){
 .about h2{font-size:clamp(30px,8.7vw,45px);line-height:1.2;margin:31px 0 26px}.about-copy{margin-top:62px}
 html[lang=ar] .about h2{font-size:clamp(31px,8.7vw,40px);line-height:1.55}
 .projects-heading h2{font-size:clamp(27px,7.4vw,35px);line-height:1.3}.projects-heading p{font-size:14px;line-height:1.85}
 html[lang=ar] .projects-heading h2{font-size:clamp(28px,7.5vw,36px);line-height:1.6}
 .tab-name{font-size:14px;line-height:1.65;letter-spacing:-.25px}.tab-category{font-size:9px;max-width:142px;min-height:42px}
 html[lang=ar] .tab-category{font-size:12px;min-height:45px}
 .product-story{padding-top:51px}.product-intro h4{font-size:28px;line-height:1.4;margin-bottom:25px}
 html[lang=ar] .product-intro h4{font-size:29px;line-height:1.6}
 .gallery-heading{margin-top:31px;padding-top:29px}.gallery-heading h5{font-size:17px}
 .app-gallery{margin-inline:-8.14%;margin-top:11px}.gallery-dock{width:84%}.gallery-stage{background:radial-gradient(ellipse at 50% 68%,#e8effb9c,transparent 72%)}
 .gallery-pagination{margin-top:6px}.gallery-pagination button{width:36px}
 .gallery-current{min-width:0}.gallery-dock>button{width:44px;height:44px}
 .feature{padding:26px 0}.feature h5{margin:12px 0 10px}.mawali-prose p+p{margin-top:23px}
 .founder-content{margin-top:68px}.founder-content p{line-height:2}.founder-label{font-size:10px}
 .contact-block h3{font-size:25px;line-height:1.5}.contact-email{max-width:100%;font-size:clamp(11px,3.35vw,17px);gap:12px}
}
@media(max-width:360px){.app-gallery{--phone-width:164px}.gallery-dock{gap:10px}.about h2{font-size:30px}.projects-heading h2{font-size:26px}}

/* Arabic remains horizontal and in flow, clear of both copy and page navigation. */
.margin-note{position:static;display:block;writing-mode:horizontal-tb;inset:auto;margin:28px 0 0;font:10px/1.9 Arial,sans-serif;letter-spacing:1px;white-space:normal;max-width:100%;color:#8290a3}
html[lang=ar] .margin-note{font:400 13px/1.9 RayzaArabic,sans-serif;letter-spacing:0}
.robot-stage>img{object-fit:contain;object-position:center}.robot-stage{animation:robot-framed-arrival 1.8s var(--ease) both}
@keyframes robot-framed-arrival{from{opacity:.2;transform:translateY(8px) scale(1.02)}to{opacity:1;transform:none}}

/* iPhone silhouette: titanium rim, Dynamic Island, side keys and home indicator.
   The island occupies its own status area; the original UI pixels stay intact. */
.phone-hardware{padding:5px;border-radius:36px;border-color:#9ca5b0;background:linear-gradient(115deg,#e2e5e9,#818994 3%,#20242a 6%,#11151a 88%,#737c87 97%,#c9d2db);box-shadow:0 22px 32px -17px #15284655,0 0 0 1px #39414b}
.phone-display{padding:27px 0 18px;aspect-ratio:auto;border:2px solid #090b0e;border-radius:30px;background:#fff;transform:translateZ(.5px)}
.phone-display img{width:100%;height:auto;aspect-ratio:1320/2631;object-fit:contain}
.phone-hardware:before{z-index:3;top:14px;left:35%;width:30%;height:15px;border-radius:20px;background:#07090c;box-shadow:none;transform:translateZ(2px)}
.phone-hardware:after{z-index:4;top:19px;left:58%;width:5px;height:5px;background:radial-gradient(circle at 40% 40%,#243c5e,#101722 65%);border:1px solid #1c2633;box-shadow:none;transform:translateZ(3px)}
.phone-edge{border-radius:36px}.phone-glass{border-radius:35px}
.phone-homebar{position:absolute;z-index:3;bottom:13px;left:35%;width:30%;height:3px;border-radius:8px;background:#17191c;transform:translateZ(2px);pointer-events:none}
.phone-keys{position:absolute;left:-3px;top:23%;width:3px;height:26px;border-radius:2px;background:linear-gradient(90deg,#687484,#c3cbd4);box-shadow:0 34px 0 #9aa5b2;transform:translateZ(-3px);pointer-events:none}
.phone-keys:after{content:'';position:absolute;left:calc(var(--phone-width) + 2px);top:24px;width:3px;height:42px;border-radius:2px;background:linear-gradient(90deg,#b8c2cf,#707d8e)}
.has-depth .gallery-stage{height:calc(var(--phone-width)*2.08 + 148px)}

@media(max-width:1024px){
 .about{min-height:auto;padding-bottom:80px}.about-copy{margin-top:76px}
 .chapter-nav{display:none}.story-columns{grid-template-columns:1fr;gap:24px}
 .mawali-prose p,.story-columns p{max-width:70ch}.feature-grid{column-gap:5%}
}
@media(max-width:760px),(max-width:1024px) and (orientation:portrait){
 .hero-art{inset:max(63px,calc(env(safe-area-inset-top) + 44px)) 0 200px}
 .robot-stage{animation:robot-framed-arrival 1.8s var(--ease) both}
 .hero:after{background:linear-gradient(0deg,#030507 10%,#03050700 27%)}
 .hero-identity{bottom:max(35px,calc(env(safe-area-inset-bottom) + 22px))}
 .hero-name{font-size:clamp(58px,14vw,82px)}.hero-autograph{width:165px;margin-top:14px}
 .locale-control{right:max(6%,env(safe-area-inset-right));top:max(16px,env(safe-area-inset-top))}
 .project-summary{grid-template-columns:1fr;gap:24px}.project-description{padding-inline-start:0}
 .has-depth .gallery-stage{height:calc(var(--phone-width)*2.08 + 122px)}
 .phone-hardware,.phone-edge{border-radius:31px}.phone-display{border-radius:25px;padding-top:26px}.phone-glass{border-radius:30px}
 .phone-hardware:before{height:13px;top:14px}.phone-hardware:after{top:18px;width:4px;height:4px}
}
@media(max-width:600px){
 .section{padding-inline:7%}.about-copy{margin-top:55px}.about{padding-bottom:64px}
 .projects-heading{margin:43px auto 39px}.project-tabs{gap:20px}.tab-category{min-height:48px}
 .project-icon{max-width:100%;margin-bottom:18px}.project-description p,.founder-content p{font-size:15px;line-height:1.95}
 .feature-grid{grid-template-columns:1fr}.gallery-heading p{max-width:34ch}
 .site-footer{padding-inline:7%}.footer-top{grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);gap:30px 20px}
 .footer-socials a>span{min-width:0}.footer-socials small{overflow-wrap:anywhere}
 .contact-email{font-size:clamp(11px,3.25vw,17px);max-width:100%;gap:8px}
 .preview-scroll{padding:0 10px 12px}.preview-toolbar{font-size:13px;padding:8px 12px}
}
@media(max-width:360px){
 .hero-art{bottom:185px}.hero-name{font-size:55px}.hero-autograph{width:151px}
 .footer-top{grid-template-columns:1fr}.footer-identity{grid-column:auto}.footer-nav{display:flex;flex-wrap:wrap;gap:4px 20px}.footer-nav h3{width:100%}.footer-socials small{font-size:10px}
 .footer-bottom{grid-template-columns:1fr}.footer-bottom p:first-child{grid-column:auto}.back-top{justify-self:start}
 .tab-category{font-size:8px}html[lang=ar] .tab-category{font-size:11px}
}
@media(max-height:520px) and (min-width:601px){
 .hero-art{inset:35px 0 0}.hero-identity{top:34%;bottom:auto}.hero-name{font-size:50px}.hero-autograph{width:150px}
}

/* Mobile uses the same original close-up, framed around the helmet rather
   than shrinking the entire wide desktop composition into a small rectangle. */
.robot-picture{position:absolute;inset:0;display:block}
.robot-picture img{display:block;width:100%;height:100%;object-fit:contain;filter:saturate(.35)}
@media(max-width:760px),(max-width:1024px) and (orientation:portrait),(max-width:1024px) and (pointer:coarse){
 .opening{height:auto;min-height:0;background:#000}
 .hero{position:relative;display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(0,1fr) auto;gap:0;height:100svh;min-height:580px;padding:max(58px,calc(env(safe-area-inset-top) + 40px)) 0 max(26px,calc(env(safe-area-inset-bottom) + 18px));perspective:none;overflow:hidden;background:#000}
 .hero-art{position:relative;inset:auto;grid-row:1;grid-column:1;align-self:start;width:100%;height:100%;max-height:160vw;min-height:0;transform:none!important;transform-origin:center;overflow:hidden;-webkit-mask-image:linear-gradient(to bottom,#000 0%,#000 79%,transparent 100%);mask-image:linear-gradient(to bottom,#000 0%,#000 79%,transparent 100%)}
 .robot-stage{inset:0;transform-origin:center;animation:mobile-robot-fade 1.4s var(--ease) both}
 .hero:after{display:none}
 .hero-identity{position:relative;inset:auto;grid-row:2;grid-column:1;padding:0 7%;width:100%;min-width:0;align-self:end}
 .hero-name{position:static;font-size:clamp(56px,14vw,82px);line-height:.86;letter-spacing:-.065em}
 .hero-name span{font-size:13px;line-height:1.4;letter-spacing:.5px;margin-top:10px}
 .hero-autograph{width:150px;max-width:55%;margin:12px 0 0;position:static}
 .hero-autograph img{opacity:.78}
 .scroll-cue{left:auto;right:7%;bottom:max(31px,calc(env(safe-area-inset-bottom) + 23px));width:32px;height:44px;transform:none}
 .reduced .opening{height:auto}
}
@media(max-width:760px) and (max-height:520px) and (orientation:landscape),(max-width:1024px) and (max-height:520px) and (orientation:landscape) and (pointer:coarse){
 .hero{grid-template-columns:minmax(0,.42fr) minmax(0,.58fr);grid-template-rows:minmax(0,1fr);height:100svh;min-height:350px;gap:0;padding:30px 4% 18px}
 .hero-art{grid-column:2;grid-row:1;max-height:none}
 .hero-identity{grid-column:1;grid-row:1;padding:0 7%;align-self:center}
 .hero-name{font-size:clamp(38px,7vw,60px)}.hero-name span{font-size:12px}.hero-autograph{width:140px}
 .scroll-cue{left:7%;right:auto;bottom:16px}
}
@keyframes mobile-robot-fade{from{opacity:0}to{opacity:1}}

/* Revision 17: ordinary footer link. */
.footer-policy{max-width:1344px;margin:14px auto 0;display:flex;justify-content:flex-start}
.footer-policy-button{display:inline-flex;align-items:center;min-height:44px;padding:8px 0;color:#8896ab;font-size:11px;line-height:1.8;text-decoration:none;transition:color .2s}
.footer-policy-button:hover{color:#d7e0ee;text-decoration:underline;text-underline-offset:5px}
.footer-policy-button:focus-visible{outline:2px solid #9dbdef;outline-offset:5px}
html[lang=ar] .footer-policy-button{font-size:12px}
@media(prefers-reduced-motion:reduce){.footer-policy-button{transition:none}}
