/* ATHAR cinema: home-only styling */
.route-home{--ink:#100e16;--paper:#f1e9dc;--muted:#b7aebd;--violet:#ba9be8;background:var(--ink);color:var(--paper)}
.route-home .header{background:#100e16f5;backdrop-filter:none}.route-home .header-inner{min-height:72px}.route-home .header:after{content:'';position:absolute;bottom:0;left:0;width:100%;height:2px;background:linear-gradient(90deg,#a382da,#e4c39c);transform:scaleX(var(--read,0));transform-origin:left;pointer-events:none}[dir=rtl] .route-home .header:after{transform-origin:right}.route-home .btn{border-radius:3px}.route-home .trace-hero{background:radial-gradient(ellipse at 24% 45%,#332347 0%,#17121e 38%,#100e16 74%);min-height:unset;isolation:isolate;overflow:clip}.trace-hero:before{display:none}.trace-hero .saudi-signature{margin-top:20px}.trace-hero .trace-grid{min-height:min(690px,calc(100svh - 155px));grid-template-columns:minmax(0,.94fr) minmax(0,1.06fr);gap:clamp(12px,4vw,60px);padding-block:30px 36px;align-items:center}.trace-copy{position:relative;z-index:2;transform:translateY(var(--hero-shift,0px))}.trace-hero h1{font-size:clamp(65px,7.6vw,112px);line-height:1.07;letter-spacing:-.035em;font-weight:600;margin:24px 0}.trace-hero h1 em{color:#ddc1a0}.trace-hero .trace-copy p{max-width:510px;color:#c6bdca;line-height:1.9;font-size:clamp(16px,1.55vw,20px)}[lang=en] .trace-hero h1{font-size:clamp(56px,6.5vw,100px);letter-spacing:-.065em;line-height:.99}.trace-hero .actions{gap:12px}.trace-hero .actions .btn{min-height:53px}.trace-stage{min-width:0;margin:0;position:relative;isolation:isolate;transform:translateY(var(--art-shift,0px));border-inline:1px solid #d7baff13;padding-inline:12px}.trace-coordinate,.trace-stage figcaption{display:flex;justify-content:space-between;align-items:center;gap:8px;font:10px/1.4 monospace;letter-spacing:1.3px;color:#b6a3c5;direction:ltr}.trace-coordinate{border-bottom:1px solid #d7baff22;padding:0 0 12px}.trace-stage figcaption{border-top:1px solid #d7baff22;padding:10px 0;min-height:48px}.trace-stage figcaption b{color:#e7c7a2;font-weight:normal}.trace-motion{width:auto;border:1px solid #d8c0e33b;color:#ded1e6;background:transparent;padding:7px 10px;border-radius:3px;font:12px/1.5 'IBM Plex Sans Arabic',Tahoma,sans-serif;letter-spacing:0}.trace-motion:hover{border-color:#d3af7d}.trace-viewport{position:relative;isolation:isolate;aspect-ratio:720/650;overflow:hidden;display:grid;place-items:center;perspective:850px;container-type:inline-size;background:radial-gradient(ellipse at 50% 48%,#3e295840,transparent 65%)}.trace-halo{position:absolute;inset:12% 10%;border-radius:50%;background:radial-gradient(ellipse,#9b6ee21b,transparent 70%);pointer-events:none}.trace-floor{position:absolute;z-index:0;width:75%;height:20%;bottom:5%;border-radius:50%;background:radial-gradient(ellipse,#0009,transparent 70%);transform:rotate(-8deg)}.trace-viewport .trace-still,.route-home .trace-viewport .trace-canvas{position:absolute;inset:0;width:100%;height:100%;max-width:none;object-fit:contain;z-index:1;pointer-events:none}.trace-canvas{opacity:0}.trace-stage.is-rendered .trace-canvas{opacity:1}.trace-stage.is-rendered .trace-still{opacity:0}.trace-wordmark{position:absolute;z-index:2;inset:0;display:grid;align-content:center;justify-items:center;pointer-events:none;transform:translate3d(var(--mark-x,0px),var(--mark-y,0px),0);padding-bottom:6%}.trace-arabic{font-size:clamp(86px,23cqw,178px);line-height:1.22;font-weight:700;letter-spacing:-.055em;color:#f1d9b7;text-shadow:0 1px #a98069,0 2px #a17b62,0 3px #9d755e,0 4px #8c6954,0 7px 12px #08050c,0 0 38px #c49bfc3f}.trace-roman{font:11px/1.5 Georgia,serif;letter-spacing:5px;color:#d0bdd7;margin-top:3px;direction:ltr}.trace-cross{position:absolute;font:14px monospace;color:#ad96c280}.cross-a{top:10%;left:7%}.cross-b{bottom:12%;right:7%}.trace-hero .ath-hero-bottom{padding-block:14px 18px}.trace-transition{border-bottom:1px solid #bba6dc20;background:#16111d;overflow:hidden}.trace-transition>.wrap{min-height:56px;display:flex;gap:24px;align-items:center;direction:ltr;font:10px monospace;letter-spacing:1.9px;color:#c5b3d4}.trace-line{height:1px;flex:1;background:linear-gradient(90deg,#c6a275,#a785e2);transform:scaleX(var(--bridge,1));transform-origin:center}
.route-home .ath-section,.route-home .section{padding-block:clamp(64px,8vw,112px)}.route-home #explore .ath-heading{margin-bottom:35px}.route-home .ath-heading h2,.route-home .section-head h2,.route-home .sh-heading h2{font-size:clamp(34px,4.7vw,66px);line-height:1.2;letter-spacing:-.045em}.route-home .ath-paths{gap:8px;grid-template-columns:1.18fr .82fr}.route-home .ath-path{border-radius:3px;min-height:300px;padding:28px;transition:border-color .3s,background .3s;transform:none;position:relative}.route-home .ath-path:after{content:'';position:absolute;inset:0;background:radial-gradient(250px circle at var(--mx,80%) var(--my,20%),#dfc2fc13,transparent 75%);z-index:-1;pointer-events:none}.route-home .ath-path:nth-child(3),.route-home .ath-path:nth-child(4){min-height:255px}.route-home .ath-path-art{width:190px;height:190px;inset-inline-end:24px;top:25px;opacity:.72;transform:translate(var(--card-x,0px),var(--card-y,0px));transition:transform .45s cubic-bezier(.2,.8,.2,1)}.route-home .ath-path:hover .ath-path-art{transform:translate(var(--card-x,0px),var(--card-y,0px)) rotate(-5deg)}.route-home .ath-path h3{font-size:clamp(24px,3.3vw,42px)}.route-home .ath-path-copy{max-width:87%}.route-home .ath-path-links a{border-radius:2px;padding:7px 11px}.route-home .ath-lab{margin-top:18px}.route-home .sh-grid{gap:10px}.route-home .sh-card{border-radius:3px}.route-home .sh-card .sh-visual{overflow:hidden;isolation:isolate}.route-home .sh-card .sh-visual>*:not(.sh-caption){transition:transform .55s cubic-bezier(.2,.8,.2,1)}.route-home .sh-card:hover .sh-visual>*:not(.sh-caption){translate:0 -4px}.route-home .ath-feature{grid-template-columns:1.35fr .8fr!important;background:transparent;border-radius:0;border:0;gap:clamp(20px,4vw,60px)!important;align-items:center}.route-home .ath-feature>div{padding:0}.route-home .ath-feature h3{font-size:clamp(25px,3vw,43px);line-height:1.45}.route-home .trace-work-frame{position:relative;padding:12px!important;background:linear-gradient(140deg,#302741,#181621);border:1px solid #d1b1ef32;overflow:hidden;isolation:isolate}.trace-browser{height:28px;display:flex;align-items:center;justify-content:space-between;font:9px monospace;letter-spacing:1px;color:#c7b4d5;direction:ltr}.route-home .trace-work-frame .work-image{min-height:0;width:100%;height:auto;aspect-ratio:1200/750;object-fit:contain;background:#111116;transition:filter .4s}.trace-preview{display:block;width:auto;position:absolute;bottom:22px;inset-inline-end:22px;border:1px solid #ddd0f05e;background:#15101eea;color:#f1e9dc;padding:8px 13px;border-radius:2px;font-size:13px}.trace-preview:hover{background:#38254c}.route-home .basmatak-demo-card{border-radius:3px;overflow:hidden}.route-home .basmatak-demo-card img{transition:filter .4s}.route-home .basmatak-demo-card:hover img{filter:brightness(1.08)}.trace-dialog{width:min(1000px,94vw);max-height:90dvh;padding:12px;background:#1b1522;border:1px solid #a990c5;color:#eee}.trace-dialog::backdrop{background:#08060de8}.trace-dialog img{width:100%;height:auto;max-height:75dvh;object-fit:contain}.trace-dialog-bar{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:10px}.trace-close{width:auto;padding:8px 14px}.route-home #contact .contact{border-radius:3px;background:radial-gradient(ellipse at 10% 100%,#69468b55,transparent 75%),#201729}.trace-intro .trace-copy h1{animation:trace-title .85s cubic-bezier(.2,.8,.2,1) both}.trace-intro .trace-stage{animation:trace-stage-in 1.1s cubic-bezier(.2,.8,.2,1) both}.trace-reveal{animation:trace-reveal .65s cubic-bezier(.2,.8,.2,1) both;animation-delay:var(--stagger,0ms)}@keyframes trace-title{from{transform:translateY(14px);opacity:.45}to{transform:translateY(0);opacity:1}}@keyframes trace-stage-in{from{opacity:.35;clip-path:inset(0 12% 0 12%)}to{opacity:1;clip-path:inset(0)}}@keyframes trace-reveal{from{opacity:.55;translate:0 12px}to{opacity:1;translate:0 0}}
@media(max-width:1000px){.trace-hero .trace-grid{min-height:510px}.route-home .ath-path-art{width:145px;height:145px}.route-home .ath-path{min-height:265px}.trace-hero h1{font-size:clamp(56px,8vw,92px)}}
@media(max-width:760px){.route-home .header-inner{min-height:64px}.trace-hero .trace-grid{display:flex;flex-direction:column;align-items:stretch;gap:20px;padding-block:24px 18px;min-height:0}.trace-copy{order:0;transform:none}.trace-stage{order:1;transform:none;padding-inline:7px}.trace-hero h1{font-size:clamp(61px,14vw,90px);margin:15px 0;line-height:1.12}[lang=en] .trace-hero h1{font-size:clamp(53px,12vw,78px)}.trace-hero .trace-copy p{font-size:16px;margin-bottom:16px}.trace-hero .actions{margin-top:12px;gap:8px}.trace-hero .actions .btn{padding:11px 14px;min-height:48px;font-size:14px}.trace-viewport{aspect-ratio:1.2;max-height:335px}.trace-arabic{font-size:clamp(88px,23cqw,135px)}.trace-coordinate,.trace-stage figcaption{font-size:9px;letter-spacing:.8px}.trace-stage figcaption{min-height:40px}.trace-transition>.wrap{gap:9px;font-size:8px;letter-spacing:1px;min-height:42px}.route-home .ath-section,.route-home .section{padding-block:58px}.route-home .ath-paths{grid-template-columns:1fr;gap:9px}.route-home .ath-path,.route-home .ath-path:nth-child(3),.route-home .ath-path:nth-child(4){min-height:225px;padding:20px}.route-home .ath-path-art{width:125px;height:125px;opacity:.48;inset-inline-end:15px}.route-home .ath-path-copy{max-width:92%;padding-top:45px}.route-home .ath-feature{grid-template-columns:1fr!important;gap:24px!important}.trace-preview{bottom:16px;inset-inline-end:16px;font-size:12px}.route-home .ath-lab{gap:10px}.route-home .trace-intro .trace-stage{animation:none}}
@media(prefers-reduced-motion:reduce){.route-home .trace-copy,.route-home .trace-stage,.route-home .trace-wordmark,.route-home .trace-intro .trace-copy h1,.route-home .trace-intro .trace-stage,.route-home .trace-reveal{animation:none!important;transform:none!important;translate:none!important}.route-home .trace-line{transform:none}.route-home .ath-path-art,.route-home .sh-card .sh-visual>*,.route-home .basmatak-demo-card img{transition:none!important}.route-home .trace-canvas{display:none}.route-home .trace-still{opacity:1!important}}
/* Explicit CTA colors preserve legibility in every theme. */
.route-home .btn:not(.ghost){background:#ddc1a0;border-color:#ddc1a0;color:#17111d}.route-home .btn:not(.ghost):hover{background:#efd6b5;border-color:#efd6b5;color:#17111d}.route-home .btn.ghost{border-color:#d2b7e239;background:#ffffff06;color:#f1e9dc}.route-home .trace-stage figcaption{min-height:48px}.route-home .trace-motion{min-height:32px}.route-home .trace-stage figcaption>span{white-space:nowrap}@media(max-width:760px){.route-home .trace-stage figcaption{min-height:48px}.route-home .trace-motion{font-size:11px;padding:6px 8px}}
@media(min-width:761px){.route-home .ath-path.identity .ath-path-art,.route-home .ath-path.business .ath-path-art{width:145px;height:145px;top:18px;opacity:.55}.route-home .ath-path.business .ath-path-art{top:8px}}@media(max-width:760px){.route-home .ath-path.identity .ath-path-art,.route-home .ath-path.business .ath-path-art{opacity:.36}}
