/* styles.css */
@font-face{font-family:Cairo;src:url('assets/cairo-regular.ttf') format('truetype');font-weight:400;font-display:swap}
@font-face{font-family:Cairo;src:url('assets/cairo.ttf') format('truetype');font-weight:700;font-display:swap}
@font-face{font-family:Plex;src:url('assets/arabic-bold.ttf') format('truetype');font-weight:700;font-display:swap}
:root{--navy:var(--brand-navy,#17253e);--blue:var(--brand-primary,#076cf0);--blue-dark:#005aca;--muted:#627087;--line:#dce3eb;--paper:var(--brand-background,#f8fafc);--ice:#edf4fd;--white:#fff;--radius:16px}
*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:110px}body{margin:0;background:var(--paper);color:var(--navy);font:16px/1.85 Cairo,Arial,sans-serif}button,input,select,textarea{font:inherit}button,a{-webkit-tap-highlight-color:transparent}a{color:inherit;text-decoration:none}button{color:inherit;cursor:pointer}button:disabled{cursor:wait}img{display:block;max-width:100%}h1,h2,h3,p{margin:0}h1,h2,h3{font-family:Plex,Cairo,Arial,sans-serif;font-weight:700}h2{font-size:clamp(32px,3.4vw,46px);line-height:1.4;letter-spacing:-.6px}p{color:var(--muted)}svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}.svg-defs{position:absolute;width:0;height:0;overflow:hidden}button:focus-visible,a:focus-visible,summary:focus-visible{outline:3px solid #f2ac3c;outline-offset:5px}input:focus-visible,select:focus-visible,textarea:focus-visible{outline:2px solid var(--blue);outline-offset:2px}[hidden]{display:none!important}.container{width:min(1192px,calc(100% - 96px));margin-inline:auto}.section{padding-block:100px}.blue{color:var(--blue)}.eyebrow{display:flex;align-items:center;gap:10px;font-size:13px;font-weight:700;letter-spacing:.1px}.section-label{color:var(--blue);margin-bottom:18px}.status-dot{width:7px;height:7px;border-radius:50%;background:var(--blue);box-shadow:0 0 0 5px #e5effe}.button{display:inline-flex;align-items:center;justify-content:center;gap:28px;min-height:54px;padding:13px 25px;border:1px solid transparent;border-radius:9px;font-weight:700;font-size:14px;transition:background .2s,transform .2s,box-shadow .2s}.button:hover{transform:translateY(-2px)}.button-blue{background:var(--blue);color:white}.button-blue:hover{background:var(--blue-dark);box-shadow:0 6px 20px #076cf024}.button-dark{background:var(--navy);color:white}.button-dark:hover{background:#2c4262}.button-outline{border-color:#cfd9e5;background:transparent}.button-outline:hover{background:var(--ice);border-color:var(--blue)}.button-small{min-height:46px;padding:8px 20px;gap:20px}.button svg{width:20px;height:20px}.text-link{display:inline-flex;align-items:center;gap:14px;font-size:14px;font-weight:700;border:0;background:none;padding:0}.circle-arrow{display:inline-grid;place-items:center;border:1px solid var(--line);border-radius:50%;width:36px;height:36px;font:22px Arial;transition:background .2s}.text-link:hover .circle-arrow{background:#e0edff}.skip-link{position:fixed;top:-80px;right:16px;background:var(--navy);color:white;padding:12px;z-index:100}.skip-link:focus{top:8px}.sr-only{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}
.site-header{position:sticky;top:0;z-index:30;background:#f8fafcf5;border-bottom:1px solid #dce3ebbb;backdrop-filter:blur(16px)}.nav-wrap{height:91px;display:flex;align-items:center;justify-content:space-between;gap:32px}.brand{display:block;flex-shrink:0;width:145px}.brand img{width:100%;height:auto}.desktop-nav{display:flex;gap:32px;align-items:center;font-size:13px;font-weight:700}.desktop-nav a{padding:15px 0;position:relative}.desktop-nav a:hover,.desktop-nav a.active{color:var(--blue)}.desktop-nav a.active:after{content:'';height:3px;width:14px;position:absolute;bottom:5px;right:0;background:var(--blue);border-radius:4px}.menu-toggle{display:none;width:44px;height:44px;border:1px solid var(--line);background:white;border-radius:8px;align-items:center;justify-content:center;flex-direction:column;gap:6px}.menu-toggle span{width:20px;height:2px;background:var(--navy);transition:transform .2s}.menu-toggle[aria-expanded=true] span:first-child{transform:translateY(4px) rotate(45deg)}.menu-toggle[aria-expanded=true] span:last-child{transform:translateY(-4px) rotate(-45deg)}.mobile-menu{padding:12px 24px 20px;border-top:1px solid var(--line)}.mobile-menu a{display:block;padding:10px}
.hero{padding-block:65px 74px;display:grid;grid-template-columns:1.04fr 1fr;gap:70px;align-items:center}.hero-copy{padding-block:6px}.hero h1{font-size:clamp(46px,4.6vw,66px);line-height:1.27;letter-spacing:-1.5px;margin:25px 0 24px}.word-mark{position:relative;z-index:0}.word-mark:after{content:'';position:absolute;right:-2%;left:-3%;bottom:8%;height:15%;background:#d8e8fc;z-index:-1;transform:rotate(-3deg)}.hero-copy>p{font-size:16px;line-height:1.95;max-width:435px}.hero-actions{display:flex;gap:27px;align-items:center;margin-top:29px}.hero-note{display:flex;align-items:center;gap:7px;font-size:11px;color:var(--muted);margin-top:23px}.hero-note svg{width:16px;height:16px;color:var(--blue)}.hero-art{position:relative;min-width:0;height:502px;background:#e4edfa;border-radius:160px 20px 20px 20px;isolation:isolate;direction:ltr}.art-kicker{position:absolute;left:27px;top:26px;font:10px/1.5 Arial;letter-spacing:2px;color:#5978a5}.art-orbit{position:absolute;border:1px solid #c2d5ed;border-radius:50%;width:365px;height:365px;left:17px;top:65px;z-index:-1}.orbit-two{width:420px;height:420px;top:38px;left:-12px}.art-word{position:absolute;font:700 205px/1 Plex;bottom:4px;left:21px;color:#c0d5f1;transform:rotate(-6deg);z-index:-1}.poster{position:absolute;border:7px solid white;box-shadow:0 20px 45px #152e592b;overflow:hidden;border-radius:8px;background:white}.poster img{width:100%;height:100%;object-fit:cover}.poster-front{width:58%;height:350px;left:17px;top:96px;transform:rotate(-9deg);z-index:2}.poster-back{width:52%;height:318px;right:11px;top:64px;transform:rotate(10deg);z-index:1}.art-stamp{position:absolute;z-index:3;top:31px;left:28px;display:flex;gap:12px;align-items:center;padding:13px 17px;border-radius:10px;background:white;color:var(--navy);direction:rtl;box-shadow:0 8px 20px #152e5914;transform:rotate(-5deg)}.art-stamp svg{width:31px;height:31px;color:var(--blue)}.art-stamp span{font-size:11px;line-height:1.7}.art-stamp strong{font-size:15px}.art-caption{position:absolute;z-index:4;left:24px;right:24px;bottom:20px;padding:14px 19px;display:flex;gap:10px;align-items:center;background:white;border:1px solid #e6edf6;box-shadow:0 9px 30px #152e5914;border-radius:9px;direction:rtl}.caption-dot{width:8px;height:8px;flex-shrink:0;border-radius:50%;background:var(--blue)}.art-caption>span:nth-child(2){display:flex;flex:1;flex-direction:column;font-size:9px;color:var(--muted);line-height:1.8}.art-caption b{font-size:12px;color:var(--navy);font-weight:700}.art-caption svg{width:21px;color:var(--blue)}
.expertise-band{background:var(--navy);color:#eff6ff;font-size:13px}.expertise-band>.container{display:flex;justify-content:space-between;align-items:center;gap:20px;padding-block:24px}.expertise-band>.container>span{color:#aac3e7;font-size:12px}.expertise-band>.container>div{display:flex;align-items:center;gap:24px}.expertise-band i{font-style:normal;color:#729ace;font-size:17px}.section-heading{display:flex;justify-content:space-between;align-items:flex-end;gap:65px;margin-bottom:44px}.section-heading>p{max-width:350px;font-size:14px;line-height:1.9;padding-bottom:4px}.services-grid{display:grid;grid-template-columns:repeat(3,1fr);border-top:1px solid var(--line);border-right:1px solid var(--line)}.service{padding:28px 30px 25px;border-left:1px solid var(--line);border-bottom:1px solid var(--line);transition:background .25s}.service:hover{background:#edf4fd}.service-top{display:flex;align-items:center;justify-content:space-between;margin-bottom:29px;color:var(--blue)}.service-top>svg{width:30px;height:30px}.service-top>span{font:12px Arial;color:#8d98a8}.service h3{font-size:23px;margin-bottom:10px}.service p{font-size:13px;line-height:1.9;min-height:73px}.service-link{display:flex;align-items:center;justify-content:space-between;margin-top:24px;font-size:11px;font-weight:700}.service-link svg{width:18px;height:18px;color:var(--blue);transition:transform .2s}.service:hover .service-link svg{transform:translate(-3px,-3px)}.service-footnote{margin-top:24px;font-size:12px;color:var(--muted);text-align:center}.service-footnote span{color:var(--navy);font-weight:700;margin-left:8px}
.work-section{background:#eaf0f7}.work-intro{max-width:460px}.work-intro>p{font-size:13px;margin-bottom:24px}.filters{display:flex;gap:7px;flex-wrap:wrap}.filter{border:1px solid #ccd7e5;border-radius:30px;background:transparent;min-height:39px;padding:7px 17px;font-size:11px;font-weight:700;transition:.2s}.filter.active{background:var(--navy);border-color:var(--navy);color:white}.filter:hover:not(.active){background:#dfe9f7}.work-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:25px}.work-card{text-align:right;border:0;padding:0;background:transparent;display:block;min-width:0}.work-image{display:block;position:relative;overflow:hidden;border-radius:12px;background:#d7e1ec;aspect-ratio:4/5}.work-image>img{width:100%;height:100%;object-fit:cover;transition:transform .5s}.work-card:hover .work-image>img{transform:scale(1.04)}.work-tag{position:absolute;right:15px;bottom:15px;padding:5px 12px;background:#fffef3eF;color:var(--navy);font-size:10px;border-radius:5px;backdrop-filter:blur(8px)}.work-open{position:absolute;left:15px;top:15px;width:38px;height:38px;display:grid;place-items:center;background:#fffffff0;border-radius:50%;transition:background .2s,color .2s}.work-card:hover .work-open{background:var(--blue);color:white}.work-open svg{width:21px}.work-meta{display:flex;justify-content:space-between;align-items:center;gap:10px;padding-top:17px}.work-meta strong{font-family:Plex;font-size:20px}.work-meta>span{font-size:9px;color:var(--muted)}
.results-section{display:grid;grid-template-columns:1fr 1.12fr;gap:80px;align-items:center}.results-copy>p{font-size:14px;margin-block:20px 25px}.results-copy>small{display:block;font-size:10px;line-height:1.9;color:var(--muted);margin-top:24px;max-width:360px}.results-board{border:1px solid var(--line);border-radius:18px;padding:30px;background:white;box-shadow:0 18px 55px #17253e08}.board-heading{display:flex;align-items:center;gap:13px}.board-heading>div{display:flex;flex:1;flex-direction:column;line-height:1.8}.board-heading strong{font-size:21px}.board-heading>div>span{font-size:12px;color:var(--muted)}.youtube-icon{background:#fff0ee;color:#dc4b42;width:43px;height:43px;border-radius:11px;display:grid;place-items:center}.youtube-icon svg{width:24px;fill:currentColor;stroke-width:0}.board-chart-icon{color:#8ba2bf}.metrics{display:grid;grid-template-columns:repeat(3,1fr);margin-top:26px;padding-top:26px;border-top:1px solid #edf0f5}.metrics>div{text-align:center;border-left:1px solid #e7edf4}.metrics>div:last-child{border:0}.metrics strong{font:700 clamp(24px,2.9vw,36px)/1.5 Arial;display:block;letter-spacing:-1px}.metrics>div>span{display:block;margin-top:8px;font-size:11px;color:var(--muted)}
.approach-section{background:var(--navy);color:white;padding-block:88px}.approach-grid{display:grid;grid-template-columns:1fr 1fr;gap:100px;align-items:center}.approach-copy>.section-label{color:#9dbfea}.approach-copy h2{font-size:clamp(40px,4.3vw,59px);line-height:1.4}.approach-copy h2>span{color:#93bafa}.approach-copy>p{font-size:13px;color:#b3c1d6;margin-top:23px;max-width:375px}.approach-sign{font-size:13px;display:flex;gap:38px;align-items:center;margin-top:35px;color:#e8f0fa}.approach-sign svg{color:#a3c2ea;width:29px;height:29px}.steps{list-style:none;margin:0;padding:0}.steps li{display:flex;gap:23px;padding-block:25px;border-bottom:1px solid #354258}.step-number{font:12px/32px Arial;color:#a6c7f6}.steps h3{font-size:23px;margin-bottom:7px}.steps p{font-size:12px;color:#b3c1d6;line-height:1.9;max-width:325px}
.packages-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}.package{display:flex;flex-direction:column;padding:30px;border:1px solid var(--line);border-radius:14px;background:white}.package-overline{font-size:11px;color:var(--muted);display:flex;align-items:center;justify-content:space-between;height:27px}.package h3{font-size:31px;margin-block:15px 9px}.package>p{font-size:12px;min-height:47px}.package ul{list-style:none;padding:23px 0;margin:24px 0 10px;border-top:1px solid var(--line);flex:1}.package li{position:relative;padding-right:22px;margin-bottom:12px;font-size:11px}.package li:before{content:'✓';color:var(--blue);position:absolute;right:0;font:15px/24px Arial}.package>.button{width:100%;gap:12px;font-size:12px}.package-featured{background:#eaf3ff;border-color:#a6c9fa;position:relative}.package-featured .package-overline{color:var(--blue)}.package-featured .package-overline>svg{width:19px}.packages-note{text-align:center;margin-top:26px;font-size:11px}.faq-section{border-top:1px solid var(--line);display:grid;grid-template-columns:.8fr 1.2fr;gap:80px;padding-top:70px}.faq-section>div:first-child>p{font-size:13px;margin-top:18px}.faq-list details{border-bottom:1px solid var(--line)}.faq-list details:first-child{border-top:1px solid var(--line)}.faq-list summary{list-style:none;cursor:pointer;display:flex;align-items:center;justify-content:space-between;gap:20px;padding:21px 0;font-size:13px;font-weight:700}.faq-list summary::-webkit-details-marker{display:none}.faq-list summary>span{font:22px Arial;color:var(--blue);transition:transform .2s}.faq-list details[open] summary>span{transform:rotate(45deg)}.faq-list details[open] summary{color:var(--blue)}.faq-list details p{padding:0 0 22px 24px;font-size:12px;line-height:2}
.contact-section{padding-block:80px;background:#dfeafb}.contact-grid{display:grid;grid-template-columns:1fr 1fr;gap:95px;align-items:center}.contact-copy h2{font-size:clamp(52px,6.7vw,86px);line-height:1.2;position:relative;max-width:420px;letter-spacing:-2px}.contact-copy h2>span{color:var(--blue)}.contact-copy h2>svg{position:absolute;width:83px;height:83px;left:10px;bottom:7px;color:var(--blue);stroke-width:1.1}.contact-copy>p{font-size:15px;line-height:2;margin-top:23px}.contact-number{display:flex;gap:16px;align-items:center;margin-top:40px}.contact-number>svg{width:41px;height:41px;padding:9px;box-sizing:content-box;border:1px solid #b3cbed;border-radius:50%;color:var(--blue)}.contact-number>span{display:flex;flex-direction:column}.contact-number small{font-size:10px;color:var(--muted)}.contact-number strong{font:700 27px/1.7 Arial;letter-spacing:1px}.location{display:block;margin-top:24px;font-size:11px;color:var(--muted)}.contact-form{padding:32px;background:white;border-radius:16px;border:1px solid #ccdaed}.contact-form h3{font-size:28px}.contact-form>p{font-size:11px;margin:2px 0 22px}.contact-form label{display:block;font-size:11px;font-weight:700;margin-bottom:16px}.contact-form label>span{color:var(--blue)}.contact-form label>small{font-size:9px;color:var(--muted);font-weight:400;margin-inline-start:4px}.form-row{display:grid;grid-template-columns:1fr 1fr;gap:14px}.contact-form input,.contact-form select,.contact-form textarea{width:100%;margin-top:6px;border:1px solid #dce3eb;border-radius:7px;background:#fbfcfe;color:var(--navy);font-size:11px;padding:11px 12px;min-height:44px}.contact-form input::placeholder,.contact-form textarea::placeholder{color:#8390a0}.contact-form textarea{resize:vertical;min-height:73px;max-height:220px}.contact-form>.button{width:100%;font-size:12px;gap:16px}.contact-form>.privacy-note{font-size:9px;text-align:center;line-height:1.9;margin:13px 0 0;color:#718198}#form-feedback{font-size:12px;margin-top:15px;color:var(--navy);padding:13px;background:var(--ice);border-radius:8px}#form-feedback a{text-decoration:underline;color:var(--blue);font-weight:700}.site-footer{padding-block:40px 22px;background:var(--paper)}.footer-main{display:flex;align-items:center;justify-content:space-between;gap:25px;padding-bottom:30px}.footer-main>p{font-size:13px;color:var(--navy)}.footer-main>.brand{width:132px}.back-top{display:flex;align-items:center;gap:13px;font-size:11px}.back-top>span{font:24px Arial;color:var(--blue)}.footer-bottom{border-top:1px solid var(--line);padding-top:21px;display:flex;align-items:center;justify-content:space-between;gap:15px;font-size:9px;color:var(--muted)}.footer-bottom>span[dir=ltr]{font:10px Arial;letter-spacing:1px}
.project-dialog{border:0;padding:0;border-radius:16px;background:var(--paper);color:var(--navy);width:min(920px,calc(100% - 32px));max-height:90dvh;overflow:auto}.project-dialog::backdrop{background:#101c32cc;backdrop-filter:blur(8px)}.dialog-inner{display:grid;grid-template-columns:1.1fr 1fr;direction:ltr}.dialog-inner>img{width:100%;height:100%;max-height:85dvh;object-fit:contain;background:#e4ebf4}.dialog-content{direction:rtl;padding:65px 35px 40px;align-self:center}.dialog-content h2{font-size:33px}.dialog-content p{font-size:13px;margin:20px 0 30px}.dialog-content .button{font-size:12px;gap:13px}.dialog-close{position:absolute;right:14px;top:14px;width:40px;height:40px;border:1px solid var(--line);border-radius:50%;background:white;font:27px Arial;z-index:2}.noscript-note{padding:20px;background:white;text-align:center}.noscript-note a{text-decoration:underline}
@media(min-width:1500px){.hero{padding-block:80px 90px}.hero-art{height:535px}.poster-front{height:380px}.poster-back{height:345px}}
@media(max-width:1100px){.container{width:calc(100% - 64px)}.hero{gap:35px}.hero-art{height:480px}.poster-front{height:315px;top:105px}.poster-back{height:290px;top:80px}.hero h1{font-size:55px}.hero-copy>p{font-size:14px}.desktop-nav{gap:23px}.nav-wrap{gap:20px}.hero-actions{gap:20px}.button{gap:15px;padding-inline:19px}.service{padding-inline:23px}.service h3{font-size:21px}.work-meta{display:block}.work-meta>span{display:block;margin-top:4px}.results-section{gap:42px}.approach-grid{gap:60px}.contact-grid{gap:50px}.expertise-band>.container>div{gap:15px}.package{padding:24px}}
@media(max-width:850px){.container{width:calc(100% - 48px)}.desktop-nav{gap:17px;font-size:11px}.brand{width:123px}.nav-cta{font-size:11px;padding-inline:14px;gap:10px}.hero{gap:30px;padding-block:48px 60px}.hero h1{font-size:46px}.hero-art{height:410px}.poster-front{height:268px;left:11px;top:96px}.poster-back{height:238px;top:75px;right:5px}.art-orbit{width:260px;height:260px}.orbit-two{width:315px;height:315px}.art-stamp{left:12px;top:37px;padding:10px 12px;gap:8px}.art-stamp strong{font-size:12px}.art-stamp span{font-size:9px}.art-stamp svg{width:24px;height:24px}.art-caption{left:14px;right:14px;bottom:15px;padding:11px}.art-word{font-size:150px}.hero-actions{gap:16px;align-items:flex-start;flex-direction:column}.hero-note{margin-top:17px}.hero-copy>p{font-size:13px}.eyebrow{font-size:11px}.expertise-band>.container{flex-direction:column;gap:9px;padding-block:18px}.expertise-band>.container>div{font-size:12px;gap:16px}.section{padding-block:76px}.section-heading{gap:35px}.section-heading>p{max-width:300px;font-size:12px}.services-grid{grid-template-columns:repeat(2,1fr)}.service p{min-height:52px}.work-grid{gap:17px}.work-meta strong{font-size:17px}.work-tag{font-size:8px;right:10px;bottom:10px;padding:4px 8px}.work-open{width:31px;height:31px;left:10px;top:10px}.work-intro>p{font-size:11px}.filter{font-size:9px;padding:6px 12px}.results-section{grid-template-columns:1fr 1fr;gap:28px}.results-board{padding:22px}.metrics strong{font-size:25px}.approach-grid{gap:45px}.approach-copy h2{font-size:44px}.steps h3{font-size:21px}.steps li{gap:17px}.packages-grid{gap:13px}.package{padding:22px 18px}.package h3{font-size:25px}.package li{font-size:10px}.package>p{font-size:11px;min-height:60px}.package>.button{font-size:10px;padding-inline:12px}.faq-section{gap:42px}.contact-grid{gap:35px;grid-template-columns:.85fr 1.15fr}.contact-form{padding:24px}.form-row{grid-template-columns:1fr;gap:0}.contact-copy h2{font-size:65px}.contact-copy h2>svg{width:65px;height:65px;left:0}.contact-number strong{font-size:22px}.contact-number>svg{width:30px;height:30px}.footer-main>p{font-size:11px}}
@media(max-width:650px){html{scroll-padding-top:90px}.container{width:calc(100% - 40px)}.site-header{background:#f8fafcfa}.nav-wrap{height:73px;gap:13px}.brand{width:121px}.desktop-nav{display:none}.nav-cta{margin-inline-start:auto;min-height:40px;padding:7px 12px;font-size:10px;border-radius:7px;gap:10px}.nav-cta svg{width:17px;height:17px}.menu-toggle{display:flex;flex-shrink:0}.hero{grid-template-columns:1fr;gap:42px;padding-block:39px 47px}.hero-copy{padding:0}.hero h1{font-size:clamp(43px,11.5vw,62px);line-height:1.28;margin:21px 0;letter-spacing:-1px}.hero h1>br:first-child{display:none}.hero-copy>p{font-size:13px;max-width:370px;line-height:2}.hero-actions{flex-direction:row;gap:22px;align-items:center;margin-top:25px}.hero-actions .button{font-size:12px;min-height:49px;padding-inline:18px;gap:18px}.hero-actions .text-link{font-size:11px;gap:10px}.circle-arrow{width:31px;height:31px;font-size:20px}.hero-note{font-size:10px;margin-top:19px}.hero-art{height:420px;width:min(100%,420px);margin-inline:auto;border-top-left-radius:125px}.poster-front{height:300px;width:55%;top:78px;left:25px}.poster-back{height:277px;width:49%;top:44px;right:24px}.art-stamp{top:26px;left:18px}.art-caption{bottom:13px;left:18px;right:18px}.art-kicker{top:13px;left:35px;font-size:8px;letter-spacing:1.5px}.art-orbit{left:42px;top:42px;width:285px;height:285px}.orbit-two{width:340px;height:340px;left:12px;top:17px}.art-word{font-size:170px;bottom:0;left:21px}.expertise-band>.container>span{font-size:11px}.expertise-band>.container>div{justify-content:center;flex-wrap:wrap;gap:7px 13px;font-size:10px;line-height:2}.expertise-band>.container>div>i{font-size:12px}.section{padding-block:62px}.section-heading{display:block;margin-bottom:28px}.section-heading>p{max-width:none;margin-top:20px;font-size:12px}.section-label{font-size:10px;margin-bottom:12px}h2{font-size:32px;letter-spacing:-.4px}.services-grid{grid-template-columns:1fr 1fr}.service{padding:21px 17px 18px}.service-top{margin-bottom:19px}.service-top>svg{width:25px;height:25px}.service-top>span{font-size:10px}.service h3{font-size:19px;line-height:1.5;min-height:57px}.service p{font-size:10px;min-height:77px;line-height:2}.service-link{font-size:9px;gap:8px;margin-top:18px;line-height:1.7}.service-link svg{width:15px;height:15px}.service-footnote{font-size:10px;text-align:right;line-height:2}.service-footnote>span{display:block}.work-intro{margin-top:19px;max-width:none}.work-intro>p{font-size:11px;margin-bottom:18px}.filter{font-size:10px;min-height:38px;padding:6px 13px}.work-grid{grid-template-columns:1fr;gap:28px}.work-image{aspect-ratio:4/5}.work-image>img{object-position:center 40%}.work-meta{display:flex;padding-top:13px}.work-meta strong{font-size:21px}.work-meta>span{font-size:9px}.work-tag{font-size:10px;padding:5px 11px;right:15px;bottom:15px}.work-open{width:37px;height:37px;top:15px;left:15px}.results-section{grid-template-columns:1fr;gap:28px}.results-copy>p{font-size:12px;margin-top:16px}.results-copy>small{font-size:9px;max-width:none;margin-top:16px}.results-board{padding:23px}.metrics strong{font-size:30px}.approach-section{padding-block:61px}.approach-grid{grid-template-columns:1fr;gap:26px}.approach-copy h2{font-size:41px}.approach-copy>p{font-size:12px;max-width:none}.approach-sign{margin-top:24px;font-size:11px}.steps li{padding-block:21px}.steps p{max-width:none;font-size:11px}.steps h3{font-size:22px}.packages-grid{grid-template-columns:1fr;gap:17px}.package{padding:27px}.package h3{font-size:31px;margin-top:10px}.package>p{font-size:12px;min-height:auto}.package ul{margin-top:22px;padding-block:20px 6px}.package li{font-size:12px}.package>.button{font-size:12px;margin-top:6px}.packages-note{font-size:10px;line-height:2}.faq-section{grid-template-columns:1fr;gap:27px}.faq-section>div:first-child>p{margin-top:11px;font-size:12px}.faq-list summary{font-size:12px;padding-block:20px}.faq-list details p{font-size:11px}.contact-section{padding-block:56px}.contact-grid{grid-template-columns:1fr;gap:33px}.contact-copy h2{font-size:66px;max-width:320px}.contact-copy h2>svg{width:72px;height:72px;left:15px}.contact-copy>p{font-size:13px}.contact-number{margin-top:26px;gap:13px}.contact-number strong{font-size:26px}.location{font-size:10px;margin-top:18px}.contact-form{padding:25px 21px}.contact-form input,.contact-form select,.contact-form textarea{font-size:16px;padding:11px;min-height:49px}.contact-form input::placeholder,.contact-form textarea::placeholder{font-size:11px}.contact-form label{font-size:11px}.contact-form select{font-size:13px}.contact-form>p{font-size:11px}.contact-form>.privacy-note{font-size:9px}.footer-main{flex-wrap:wrap;gap:18px;padding-bottom:22px}.footer-main>.brand{width:116px}.footer-main>p{font-size:10px;order:3;width:100%}.back-top{font-size:10px}.footer-bottom{align-items:flex-start;gap:11px;flex-direction:column;font-size:8px}.footer-bottom>span[dir=ltr]{font-size:9px}.dialog-inner{grid-template-columns:1fr}.dialog-inner>img{max-height:57dvh;object-fit:contain}.dialog-content{padding:23px}.dialog-content h2{font-size:26px}.dialog-content p{font-size:11px;margin-block:14px 21px}.dialog-close{right:10px;top:10px}}
@media(max-width:370px){.container{width:calc(100% - 30px)}.brand{width:103px}.nav-wrap{gap:10px}.nav-cta{font-size:9px;gap:7px;padding-inline:10px}.menu-toggle{width:39px;height:39px}.hero-actions{gap:14px}.hero-actions .button{font-size:11px;padding-inline:14px;gap:11px}.hero-actions .text-link{font-size:10px}.hero-art{height:380px}.poster-front{height:266px;left:17px}.poster-back{height:241px;right:17px}.art-orbit{width:245px;height:245px}.orbit-two{width:292px;height:292px}.service{padding-inline:13px}.service h3{font-size:17px}.work-meta{display:block}.hero-copy>p{font-size:12px}}
@media(max-width:650px){.service p{font-size:12px;min-height:100px}.service-link{font-size:10px}.work-intro>p,.results-copy>p,.steps p,.faq-list details p{font-size:13px}.faq-list summary{font-size:13px}.package li{font-size:13px}.packages-note,.service-footnote{font-size:11px}}
.work-empty{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;min-height:300px;padding:36px 24px;text-align:center;border:1px dashed #b9cce3;border-radius:14px;background:#f5f8fd}.work-empty-icon{display:grid;place-items:center;width:64px;height:48px;border-radius:10px;color:var(--blue);background:#e1edfd;margin-bottom:5px}.work-empty-icon svg{width:34px;height:34px}.work-empty h3{font-size:24px}.work-empty p{font-size:13px}.work-empty .text-link{margin-top:9px;font-size:12px;color:var(--blue)}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*:before,*:after{transition:none!important;animation:none!important}}

.work-thumbnail .work-image{aspect-ratio:16/9}.hero-without-gallery{grid-template-columns:1fr}.hero-without-gallery .hero-copy{max-width:720px}.motion-disabled *{animation:none!important;transition:none!important}.motion-disabled{scroll-behavior:auto}[data-cms]{white-space:pre-line}

/* footer.css */
.site-footer.mada-footer {
  padding: 54px 0 0;
  background: #eff6ff;
  border-top: 1px solid #c6d9ef;
  color: #243e68;
}
.mada-footer .footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 64px;
  padding-bottom: 48px;
  align-items: start;
}
.mada-footer .footer-wordmark {
  display: inline-block;
  font: 700 21px/1.5 Plex, Cairo, sans-serif;
  letter-spacing: -.4px;
  color: #1f365d;
}
.mada-footer .footer-about > p {
  max-width: 280px;
  margin-top: 17px;
  font-size: 12px;
  line-height: 2;
  color: #496a99;
}
.mada-footer h2 {
  margin: 2px 0 22px;
  font: 700 14px/1.6 Plex, Cairo, sans-serif;
  letter-spacing: 0;
  color: #1f365d;
}
.mada-footer ul { list-style: none; margin: 0; padding: 0; }
.mada-footer li + li { margin-top: 9px; }
.mada-footer .footer-column a {
  display: inline-block;
  padding: 2px 0;
  color: #496a99;
  font-size: 12px;
  line-height: 1.8;
  text-decoration-color: transparent;
  text-underline-offset: 5px;
  transition: color .2s, transform .35s var(--ease-out, ease), text-decoration-color .2s;
}
.mada-footer .footer-column a:hover {
  color: var(--blue);
  transform: translateX(-3px);
  text-decoration: underline;
}
.mada-footer .footer-social { display: flex; align-items: center; gap: 11px; }
.mada-footer .footer-social a {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #d9eaf8;
  color: #243e68;
  transition: transform .4s var(--ease-out, ease), background .25s, color .25s;
}
.mada-footer .footer-social svg { width: 19px; height: 19px; stroke-width: 1.7; }
.mada-footer .footer-social a:hover { transform: translateY(-4px); background: #243e68; color: white; }
.mada-footer .footer-slogan { font-size: 11px; line-height: 2; margin-top: 18px; color: #496a99; }
.mada-footer .footer-legal {
  border-top: 1px solid #c6d9ef;
  min-height: 69px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 20px;
  padding-block: 20px;
  font-size: 11px;
  color: #496a99;
}
.mada-footer .footer-legal p { color: inherit; }
.mada-footer .footer-language { display: inline-flex; align-items: center; gap: 8px; color: #243e68; }
.mada-footer .footer-language svg { width: 14px; height: 14px; }

@media (max-width: 1000px) {
  .mada-footer .footer-grid { gap: 32px; grid-template-columns: 1.25fr 1fr 1fr .9fr; }
}
@media (max-width: 700px) {
  .site-footer.mada-footer { padding-top: 38px; }
  .mada-footer .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px 24px; padding-bottom: 32px; }
  .mada-footer .footer-about { grid-column: 1 / -1; }
  .mada-footer .footer-about > p { max-width: 400px; margin-top: 10px; font-size: 13px; }
  .mada-footer h2 { margin-bottom: 14px; }
  .mada-footer li + li { margin-top: 1px; }
  .mada-footer .footer-column a { padding-block: 10px; font-size: 13px; }
  .mada-footer .footer-follow { grid-column: 1 / -1; }
  .mada-footer .footer-follow h2 { margin-bottom: 14px; }
  .mada-footer .footer-social a { width: 44px; height: 44px; }
  .mada-footer .footer-slogan { margin-top: 13px; font-size: 12px; }
  .mada-footer .footer-legal { font-size: 10px; gap: 12px; }
}
@media (max-width: 370px) {
  .mada-footer .footer-legal { flex-wrap: wrap; }
}

.floating-social {
  position: fixed;
  left: calc(10px + env(safe-area-inset-left, 0px));
  top: 50%;
  transform: translateY(-50%);
  z-index: 25;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 6px;
  max-height: max(60px, calc(100vh - 190px));
  max-height: max(60px, calc(100svh - 190px));
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: none;
}
.floating-social::-webkit-scrollbar { display: none; }
.floating-social-link {
  display: grid;
  place-items: center;
  flex: 0 0 48px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  color: #fff;
  box-shadow: 0 3px 8px #17253e1c;
  transition: filter .2s ease;
}
.floating-facebook { background: #1877f2; }
.floating-instagram { background: linear-gradient(35deg,#d65523,#bd2776,#6946bb); }
.floating-tiktok, .floating-x { background: #17212f; }
.floating-youtube { background: #d91e26; }
.floating-linkedin { background: #0a66c2; }
.floating-social-link svg { width: 21px; height: 21px; stroke-width: 1.6; }
.floating-facebook svg { width: 19px; height: 19px; }
.floating-social-link:hover { filter: brightness(1.12); }
.floating-social-link:focus-visible { outline: 3px solid #f2ac3c; outline-offset: 2px; }
.floating-social-tooltip { position: fixed; z-index: 26; width: max-content; padding: 9px 13px; border-radius: 10px; background: #17253e; color: #fff; font-size: 13px; font-weight: 700; line-height: 1.5; text-align: center; overflow-wrap: anywhere; box-shadow: 0 4px 16px #17253e24; }
.floating-social-tooltip::before { content: ''; position: absolute; left: -4px; top: calc(50% - 4px); width: 8px; height: 8px; background: inherit; transform: rotate(45deg); }
.floating-social-tooltip[hidden] { display: none; }
.floating-whatsapp {
  position: fixed;
  left: calc(16px + env(safe-area-inset-left, 0px));
  bottom: calc(20px + env(safe-area-inset-bottom, 0px));
  z-index: 25;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  min-height: 52px;
  padding: 0;
  border: 1px solid #ffffff24;
  border-radius: 50%;
  background: #117d44;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.5;
  text-decoration: none;
  box-shadow: 0 5px 18px #082c2426, 0 0 18px #25d36645;
  transition: background .2s ease, box-shadow .2s ease;
}
.floating-whatsapp svg { width: 26px; height: 26px; stroke-width: 1.7; }
.floating-whatsapp-tooltip {
  position: absolute;
  left: calc(100% + 12px);
  top: 50%;
  width: max-content;
  max-width: min(220px, calc(100vw - 100px - env(safe-area-inset-left, 0px)));
  padding: 9px 13px;
  border-radius: 10px;
  background: #17253e;
  color: #fff;
  text-align: center;
  overflow-wrap: anywhere;
  box-shadow: 0 4px 16px #17253e24;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translate(-4px,-50%);
  transition: opacity .18s ease, transform .18s ease, visibility .18s;
}
.floating-whatsapp-tooltip::before { content: ''; position: absolute; left: -4px; top: calc(50% - 4px); width: 8px; height: 8px; background: inherit; transform: rotate(45deg); }
.floating-whatsapp:focus-visible .floating-whatsapp-tooltip { opacity: 1; visibility: visible; transform: translate(0,-50%); }
@media(hover:hover) and (pointer:fine) {
  .floating-whatsapp:hover { background: #0d6838; box-shadow: 0 7px 22px #082c2438, 0 0 26px #25d36680; }
  .floating-whatsapp:hover .floating-whatsapp-tooltip { opacity: 1; visibility: visible; transform: translate(0,-50%); }
}
.floating-whatsapp:active { background: #0d6838; }
.floating-whatsapp:focus-visible { outline: 3px solid #f2ac3c; outline-offset: 4px; }
/* Below this width the page gutter (48px) is narrower than the mid-height rail, which then
   covers text. Stack the rail just above the WhatsApp button instead (bottom + size + gap - padding). */
@media(max-width:1320px) {
  .floating-social { top: auto; bottom: calc(74px + env(safe-area-inset-bottom, 0px)); transform: none; }
  /* Room under the last footer line so the floating stack never covers it at the end of the page. */
  .mada-footer .footer-legal { padding-bottom: calc(80px + env(safe-area-inset-bottom, 0px)); }
}
@media(max-width:650px) {
  .floating-social { left: calc(6px + env(safe-area-inset-left, 0px)); gap: 8px; bottom: calc(66px + env(safe-area-inset-bottom, 0px)); }
  .floating-whatsapp { left: calc(12px + env(safe-area-inset-left, 0px)); bottom: calc(16px + env(safe-area-inset-bottom, 0px)); width: 48px; height: 48px; min-height: 48px; }
  .floating-whatsapp svg { width: 24px; height: 24px; }
}
@media(prefers-reduced-motion:reduce) { .floating-social-link, .floating-whatsapp, .floating-whatsapp-tooltip { transition: none; } }
@media print { .floating-social, .floating-social-tooltip, .floating-whatsapp { display: none; } }

/* Social controls settle after two pulses; WhatsApp keeps a soft green glow. */
.floating-social-link { position: relative; --contact-halo: #1877f2; }
.floating-whatsapp { --contact-halo: #20a564; }
.floating-instagram { --contact-halo: #c84d8e; }
.floating-youtube { --contact-halo: #e84950; }
.floating-linkedin { --contact-halo: #328ac0; }
.floating-tiktok,.floating-x { --contact-halo: #7995b8; }
.floating-social-link:nth-child(2) { --contact-delay: 70ms; }
.floating-social-link:nth-child(3) { --contact-delay: 140ms; }
.floating-social-link:nth-child(4) { --contact-delay: 210ms; }
.floating-social-link:nth-child(5) { --contact-delay: 280ms; }
.floating-social-link:nth-child(6) { --contact-delay: 350ms; }
@keyframes contact-enter {
  from { opacity: 0; transform: translate3d(-12px,8px,0) scale(.85); }
  to { opacity: 1; transform: translate3d(0,0,0) scale(1); }
}
@keyframes contact-halo {
  0% { opacity: .6; transform: scale(.88); }
  65%,100% { opacity: 0; transform: scale(1.08); }
}
@keyframes whatsapp-glow {
  0%,100% { opacity: .22; transform: scale(1); }
  50% { opacity: .7; transform: scale(1.1); }
}
@media(prefers-reduced-motion:no-preference) {
  html:not(.motion-disabled) :is(.floating-social-link,.floating-whatsapp) {
    animation: contact-enter 620ms cubic-bezier(.22,1,.36,1) var(--contact-delay,0ms) backwards;
    transition: transform .25s cubic-bezier(.22,1,.36,1),filter .2s,background .2s,box-shadow .25s;
  }
  html:not(.motion-disabled) :is(.floating-social-link,.floating-whatsapp)::after {
    content: ''; position: absolute; inset: -3px; border: 1.5px solid var(--contact-halo); border-radius: inherit;
    pointer-events: none; opacity: 0;
    animation: contact-halo 1.6s ease-out calc(650ms + var(--contact-delay,0ms)) 2;
  }
  html:not(.motion-disabled) .floating-whatsapp::after {
    border-color: #25d366;
    box-shadow: 0 0 12px #25d36680, 0 0 24px #25d36645;
    animation: whatsapp-glow 3s ease-in-out infinite;
  }
  html.motion-paused .floating-whatsapp::after { animation-play-state: paused; }
  html:not(.motion-disabled) :is(.floating-social-link,.floating-whatsapp) > svg {
    transform-origin: center; transition: transform .35s cubic-bezier(.22,1,.36,1);
  }
  html:not(.motion-disabled) :is(.floating-social-link,.floating-whatsapp):focus-visible > svg { transform: scale(1.13) rotate(-7deg); }
  html:not(.motion-disabled) :is(.floating-social-link,.floating-whatsapp):active { transform: scale(.93); }
}
@media(prefers-reduced-motion:no-preference) and (hover:hover) and (pointer:fine) {
  html:not(.motion-disabled) :is(.floating-social-link,.floating-whatsapp):hover { transform: translateY(-2px) scale(1.04); }
  html:not(.motion-disabled) :is(.floating-social-link,.floating-whatsapp):hover > svg { transform: scale(1.13) rotate(-7deg); }
  html:not(.motion-disabled) :is(.floating-social-link,.floating-whatsapp):active { transform: scale(.93); }
}

/* clients.css */
.clients-section{background:radial-gradient(ellipse at 50% 0,#14294466,transparent 52%),#090f1c;color:#f6f8fc;padding:84px 0 65px;overflow:hidden;scroll-margin-top:85px}
.clients-heading{max-width:760px;text-align:center;margin:0 auto 36px}
.clients-heading h2{font-size:clamp(32px,3.6vw,47px);line-height:1.5}
.clients-heading h2 span{color:#87b5fb}
.clients-heading p{color:#a7b6cd;max-width:620px;font-size:15px;line-height:2;margin:16px auto 0}
.client-controls{display:flex;justify-content:flex-end;gap:9px;align-items:center;flex-shrink:0;margin:0 0 16px}
.client-controls button{display:grid;place-items:center;width:42px;height:42px;background:#111b2e;color:#d5e4fb;border:1px solid #233047;border-radius:50%;transition:background .2s}
.client-controls button:hover:not(:disabled){background:#1b3151}
.client-controls button:disabled{opacity:.3;cursor:default}
.client-controls svg{width:18px}
.client-previous svg{transform:rotate(180deg)}
.client-position{direction:ltr}
/* Teacher portraits use the same published profiles and crop settings as the cards. */
.teacher-partners-band{width:100%;min-width:0;contain:inline-size;background:#142137;color:#e7eefb;padding-block:24px;overflow:hidden}
.teacher-partners-band>.container{width:100%;max-width:none;margin-inline:0;padding-inline:0}
.teacher-partners-band .teacher-portraits{margin:0;padding-block:6px;border:0}
/* Anchor the oversized track on the left in both languages; its groups retain RTL order. */
.teacher-portraits{direction:ltr;width:100%;min-width:0;max-width:100%;contain:inline-size layout paint;margin-bottom:28px;padding-block:8px 30px;border-bottom:1px solid #ffffff12;overflow:hidden}
.teacher-portrait-track{display:flex;direction:ltr;width:max-content}
/* Reserve the final one-row layout before JavaScript and image decoding finish. */
.teacher-portraits:not([data-ready]){direction:inherit;overflow-x:auto}
.teacher-portrait-group{display:flex;flex:0 0 auto;flex-wrap:nowrap;justify-content:center;align-items:stretch;gap:18px;width:max-content;margin:0;padding:0;list-style:none}
html[dir="rtl"] .teacher-portrait-group{direction:rtl}
.teacher-portrait{flex:0 0 180px;min-width:0;display:flex;flex-direction:column;align-items:center;gap:15px;padding:21px 12px 17px;border:1px solid #293950;border-radius:20px;background:linear-gradient(155deg,#17253b,#101a2b);text-align:center;transition:transform .3s,border-color .3s,background .3s}
.teacher-portrait-photo{position:relative;display:block;flex-shrink:0;width:112px;height:112px;border:3px solid #283e5c;border-radius:50%;background:#1d2d44;box-shadow:0 0 0 5px #ffffff04;overflow:hidden}
.teacher-portrait-photo img{display:block;position:absolute;max-width:none;width:calc(var(--portrait-zoom)*1%);height:auto;left:50%;top:50%;transform:translate(calc(var(--portrait-x)*-1%),calc(var(--portrait-y)*-1%))}
.teacher-portrait-name{display:flex;align-items:center;justify-content:center;flex:1;min-height:2.9em;max-width:100%;color:#e7eefb;font-size:14px;font-weight:600;line-height:1.5;overflow-wrap:anywhere}
.teacher-portraits[data-ready="true"]{mask-image:linear-gradient(to right,transparent,#000 30px,#000 calc(100% - 30px),transparent)}
.teacher-portraits[data-ready="true"] .teacher-portrait-track{width:max-content;animation:teacher-portrait-drift var(--portrait-duration,45s) linear infinite;animation-play-state:paused}
.teacher-portraits[data-ready="true"] .teacher-portrait-group{width:max-content;flex:0 0 auto;flex-wrap:nowrap;justify-content:space-around;padding-inline:9px}
.teacher-portraits[data-running="true"] .teacher-portrait-track{animation-play-state:running}
html[dir="rtl"] .teacher-portraits .teacher-portrait-track{animation-direction:reverse}
.teacher-portraits:focus-within .teacher-portrait-track{animation-play-state:paused}
.teacher-portraits:focus-visible{outline:2px solid #a8c9fc;outline-offset:4px;border-radius:8px}
@media(hover:hover) and (pointer:fine){
  .teacher-portraits:hover .teacher-portrait-track{animation-play-state:paused}
  html:not(.motion-disabled) .teacher-portrait:hover{transform:translateY(-4px);border-color:#6898d9;background:#182b45}
}
@keyframes teacher-portrait-drift{from{transform:translateX(0)}to{transform:translateX(calc(-1 * var(--portrait-distance)))}}
html.motion-disabled .teacher-portraits .teacher-portrait-track{animation:none!important;transform:none!important}
/* Reserve headroom for the card's hover lift inside the scroll viewport. */
/* Native dragging stays free; the arrow controls align cards explicitly. */
.clients-track{display:flex;align-items:stretch;gap:25px;overflow-x:auto;overscroll-behavior-x:contain;scroll-snap-type:none;scrollbar-width:thin;scrollbar-color:#7aa7e8 #1b2b43;padding:8px 0 24px;direction:rtl}
/* A slim visible rail with a larger native drag area. */
@supports selector(::-webkit-scrollbar){
  .clients-track{scrollbar-width:auto;scrollbar-color:auto}
  .clients-track::-webkit-scrollbar{height:14px;background:transparent}
  .clients-track::-webkit-scrollbar-track{margin-inline:4px;border:4px solid transparent;border-radius:999px;background:#1b2b43;background-clip:padding-box}
  .clients-track::-webkit-scrollbar-thumb{min-width:48px;border:4px solid transparent;border-radius:999px;background:#7aa7e8;background-clip:padding-box}
  .clients-track::-webkit-scrollbar-thumb:hover{background-color:#a8caff}
  .clients-track::-webkit-scrollbar-thumb:active{background-color:#c2dcff}
  .clients-track::-webkit-scrollbar-button{display:none;width:0;height:0}
  .clients-track::-webkit-scrollbar-corner{background:transparent}
}
@media(forced-colors:active){
  .clients-track{scrollbar-width:auto;scrollbar-color:auto}
  .clients-track::-webkit-scrollbar-track{background-color:Canvas}
  .clients-track::-webkit-scrollbar-thumb{background-color:ButtonText}
}
.client-card{--client-surface:#f8faff;--client-text:#17253e;--client-muted:#56657d;--client-line:#dce4ef;--client-inset:#edf2f9;--client-hover:#e4edf9;flex:0 0 calc((100% - 50px)/3);min-width:325px;max-width:440px;overflow:hidden;background:var(--client-surface);color:var(--client-text);border:1px solid #ffffff26;border-radius:24px;display:flex;flex-direction:column;transition:border-color .3s,box-shadow .3s}
.client-card:hover{border-color:#85b6ff;box-shadow:0 12px 35px #0002}
.client-cover{width:100%;aspect-ratio:4.2;flex-shrink:0;position:relative;overflow:hidden;border-radius:13px;background:radial-gradient(ellipse at 15% 10%,#2871b7,#142741 65%)}
/* Trim the wide outer margins while keeping the central banner artwork legible. */
.client-cover img{display:block;position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.client-cover-monogram{font:700 42px/1.5 Plex;letter-spacing:8px;color:#ffffff55;position:absolute;inset:0;display:grid;place-items:center}
.client-card-body{padding:22px;display:flex;flex-direction:column;gap:18px;flex:1;min-width:0}
.client-identity{display:flex;align-items:center;gap:14px;min-width:0;text-align:start}
.client-avatar{position:relative;width:58px;height:58px;flex-shrink:0;border:1px solid var(--client-line);border-radius:50%;background:var(--client-inset);overflow:hidden;display:grid;place-items:center}
.client-avatar>img{position:absolute;max-width:none;width:calc(var(--portrait-zoom)*1%);height:auto;left:50%;top:50%;transform:translate(calc(var(--portrait-x)*-1%),calc(var(--portrait-y)*-1%))}
.client-avatar>span{font:700 22px Plex;color:var(--client-text)}
.client-identity>div{min-width:0;flex:1}
.client-identity h3{font-size:20px;line-height:1.5;color:var(--client-text);overflow-wrap:anywhere}
.client-identity p{font-size:12px;line-height:1.7;margin-top:4px;color:var(--client-muted);overflow-wrap:anywhere}
.client-identity p:empty{display:none}
/* A single quiet statistics row keeps the numbers ahead of the surrounding chrome. */
.client-stats{margin:0;padding-block:4px;display:grid;grid-template-columns:repeat(var(--stat-columns),minmax(0,1fr));gap:0}
.client-stats>div{display:flex;flex-direction:column-reverse;justify-content:flex-end;min-width:0;margin:0;padding:0 8px;text-align:center}
.client-stats>div+div{border-inline-start:1px solid var(--client-line)}
.client-stats dt{font-size:12px;line-height:1.7;color:var(--client-muted);overflow-wrap:anywhere}
.client-stats dd{font:700 24px/1.3 Plex;margin:0 0 5px;color:var(--client-text);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;overflow-wrap:normal;font-variant-numeric:tabular-nums}
.client-feature{display:block;text-align:start;padding:12px;border:1px solid transparent;border-radius:12px;background:var(--client-inset);width:100%;color:var(--client-text);transition:background .2s,border-color .2s}
.client-feature:hover{background:var(--client-hover);border-color:var(--client-line)}
.client-feature-label{display:flex;justify-content:space-between;align-items:center;gap:8px;margin-bottom:10px}
.client-feature-label>span{font-size:12px;font-weight:400;color:var(--client-muted)}
.client-feature-label>small{font:12px/1.7 Cairo,Arial,sans-serif;color:var(--client-muted)}
.client-feature-body{display:flex;align-items:center;gap:12px}
.client-feature-body>strong{font-size:13px;font-weight:400;line-height:1.8;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.client-video-thumb{width:96px;height:54px;flex-shrink:0;border-radius:8px;position:relative;overflow:hidden;background:#223149;display:grid;place-items:center}
.client-video-thumb>img{width:100%;height:100%;object-fit:cover;position:absolute;inset:0}
.client-video-thumb>.client-youtube{position:relative;width:32px;height:32px;filter:drop-shadow(0 2px 5px #0008)}
.client-youtube{width:21px;height:21px;stroke:none!important;fill:#ff252a!important}
.client-youtube path{fill:white!important;stroke:none!important}
.client-note{font-size:12px;color:var(--client-muted);line-height:1.9;margin-top:auto}
.client-specialty{padding:12px 14px;border-radius:12px;border:1px solid var(--client-line);color:var(--client-muted);font-size:12px;background:var(--client-inset)}
.client-card-footer{padding:0 22px 22px;margin-top:auto}
.client-channel{width:100%;min-height:48px;padding:10px 14px;display:flex;align-items:center;justify-content:center;gap:10px;background:var(--brand-primary,#076cf0);color:#fff;border:0;border-radius:11px;font-size:14px;font-weight:700;line-height:1.7;transition:background .2s,transform .2s}
.client-channel:hover{background:var(--blue-dark,#005aca);transform:translateY(-2px)}
.client-channel .client-youtube{fill:#fff!important}
.client-channel .client-youtube path{fill:var(--brand-primary,#076cf0)!important}
.client-channel:focus-visible,.client-feature:focus-visible{outline:3px solid #075bc8;outline-offset:3px}
.client-member{display:flex;justify-content:center;gap:12px;color:var(--client-muted);font-size:12px;padding:12px}
html[data-theme="dark"] .client-card{--client-surface:#142035;--client-text:#e7eefb;--client-muted:#a7b6cd;--client-line:#30415a;--client-inset:#1d2d44;--client-hover:#253a55;border-color:#30415a}
html[data-theme="dark"] .client-channel:focus-visible,html[data-theme="dark"] .client-feature:focus-visible{outline-color:#a8c9fc}
.clients-empty{padding:45px;border:1px dashed #30405a;border-radius:20px;text-align:center;color:#9aabc4;font-size:13px}
.clients-legacy{margin-top:27px;border-top:1px solid #223047}
.clients-legacy>summary{list-style:none;cursor:pointer;display:flex;justify-content:space-between;gap:20px;align-items:center;padding:23px 0 0;color:#b1c4df;font-size:12px}
.clients-legacy>summary::-webkit-details-marker{display:none}
.clients-legacy>summary:after{content:'+';font:24px Arial;color:#83b4ff}
.clients-legacy[open]>summary:after{content:'−'}
.clients-legacy .results-section{margin-top:25px;background:var(--paper);color:var(--navy);width:100%;padding:35px;border-radius:20px;gap:35px}
.clients-legacy h2{font-size:33px}
.clients-legacy .results-board{padding:23px}
.clients-legacy .metrics strong{font-size:28px}
.clients-legacy .results-copy>small{font-size:10px}
/* Only the card track scrolls horizontally; the section follows the page width. */
.clients-section{width:100%;min-width:0;max-width:100%}
.clients-track{width:100%;min-width:0;max-width:100%;contain:inline-size paint}
.clients-heading>div:first-child{min-width:0;overflow-wrap:anywhere}
.client-feature-body>strong{min-width:0;overflow-wrap:anywhere}
@media(min-width:1000px){.clients-track:has(.client-card:nth-child(2):last-child) .client-card{flex-basis:calc((100% - 25px)/2);max-width:none}
.clients-track:has(.client-card:nth-child(2):last-child) .client-card-body{padding-inline:27px}
.clients-track:has(.client-card:nth-child(2):last-child) .client-card-footer{padding-inline:27px}
}
@media(max-width:850px){.clients-section{padding-block:65px 45px}
.client-card{flex-basis:calc((100% - 24px)/2);min-width:310px}
.clients-legacy .results-section{grid-template-columns:1fr}
.clients-heading p{max-width:560px}
.client-controls{gap:6px}
}
@media(max-width:650px){.clients-section{padding-block:54px 35px}
.clients-heading{margin-bottom:24px}
.clients-heading h2{font-size:32px}
.clients-heading p{font-size:15px;margin-top:12px}
.teacher-portraits{margin-bottom:20px;padding-bottom:24px}
.teacher-portrait-group{gap:12px}
.teacher-portrait{flex-basis:150px;padding:17px 10px 14px;gap:13px;border-radius:17px}
.teacher-portrait-photo{width:94px;height:94px}
.teacher-portrait-name{font-size:13px}
.teacher-portraits:not([data-ready]) .teacher-portrait{flex-basis:calc((100% - 12px)/2);max-width:180px}
.teacher-portraits[data-ready="true"] .teacher-portrait-group{padding-inline:6px}
.teacher-portraits[data-ready="true"]{mask-image:linear-gradient(to right,transparent,#000 16px,#000 calc(100% - 16px),transparent)}
.client-controls{margin-top:0}
.client-controls button{width:37px;height:37px}
.clients-track{gap:16px;overflow: auto;padding-bottom:22px}
.client-card{flex-basis:89%;min-width:min(290px,100%);max-width:none;border-radius:19px}
.client-card-body{padding:18px;gap:18px}
.client-identity h3{font-size:18px}
.client-identity{gap:12px}
.client-avatar{width:54px;height:54px}
.client-stats dd{font-size:22px}
.client-stats>div{padding-inline:5px}
.client-feature{padding:11px}
.client-video-thumb{width:88px;height:auto;aspect-ratio:16/9}
.client-card-footer{padding:0 18px 18px}
.clients-legacy .results-section{padding:23px 19px}
.clients-legacy h2{font-size:29px}
.clients-legacy .metrics strong{font-size:25px}
.clients-legacy .results-board{padding:17px}
.clients-legacy>summary{font-size:11px}
}
@media(prefers-reduced-motion:reduce){.client-card,.client-cover img,.client-channel,.client-feature{transition:none!important}
.clients-track{scroll-behavior:auto!important}
.teacher-portraits .teacher-portrait-track{animation:none!important;transform:none!important}
.teacher-portrait{transition:none!important;transform:none!important}
}
/* Carousel arrows beside the cards (side arrows) instead of above them. */
.clients-section>.container{display:grid;grid-template-columns:auto minmax(0,1fr) auto;column-gap:14px;align-items:center}
.clients-section>.container>:not(.client-controls){grid-column:1/-1}
.clients-section>.container>.client-controls:not([hidden]){display:contents}
.clients-section>.container>.client-controls:not([hidden])~.clients-track{grid-column:2;grid-row:2}
.client-controls:not([hidden])>.client-previous{grid-column:1;grid-row:2}
.client-controls:not([hidden])>.client-next{grid-column:3;grid-row:2}
.client-controls>button{align-self:center;margin-bottom:16px}
@media(max-width:650px){.clients-section>.container>.client-controls:not([hidden])~.clients-track{grid-column:1/-1}.clients-section .client-controls>button{z-index:2;width:38px;height:38px;box-shadow:0 6px 18px #0006}.clients-section .client-controls>.client-previous{margin-inline-start:4px}.clients-section .client-controls>.client-next{margin-inline-end:4px}}

/* sections.css */
/* Seven primary destinations, with the same order on desktop and mobile. */
.nav-wrap { gap: 22px; }
.desktop-nav { gap: 22px; white-space: nowrap; }
.brand { width: 130px; }
.mobile-menu a.active { color: var(--blue); background: var(--ice); border-radius: 8px; }
.platforms-section { background: #fff; }
.platform-card { display: grid; grid-template-columns: .9fr 1.1fr; border: 1px solid var(--line); border-radius: 24px; overflow: hidden; }
.platform-copy { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; padding: 44px 48px; }
/* The product name is Latin (dir="auto" makes it LTR), so align it with the page, not with its own text. */
.platform-copy h3 { font-size: 39px; line-height: 1.4; letter-spacing: 1px; text-align: right; }
.platform-copy > p { font-size: 14px; line-height: 2; margin-block: 15px 24px; max-width: 470px; }
.platform-features { list-style: none; padding: 0; margin: 0 0 30px; display: grid; gap: 9px; }
.platform-features li { display: flex; align-items: center; gap: 10px; font-size: 12px; }
.platform-features svg { width: 18px; height: 18px; color: var(--blue); }
.platform-art { position: relative; display: grid; place-items: center; overflow: hidden; min-height: 400px; background: radial-gradient(circle at 65% 40%,#f3f8ff,#dfecff); isolation: isolate; }
.studios-section { padding-block: 74px; }
.studio-panel { display: grid; grid-template-columns: 1.1fr 1fr; align-items: center; gap: 45px; padding: 58px; background: #10223e; color: #fff; border-radius: 26px; overflow: hidden; }
.studio-copy .section-label, .studio-copy h2 > span:last-child { color: #9ac4ff; }
.studio-copy h2 { font-size: clamp(32px,3.1vw,43px); }
.studio-copy > p { color: #b2c3db; font-size: 13px; line-height: 2; margin-top: 20px; max-width: 480px; }
.studio-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-block: 23px 29px; }
.studio-tags > span { font-size: 11px; border: 1px solid #385171; padding: 5px 14px; border-radius: 25px; color: #c9daf1; }
.studio-cta { background: #fff; color: #17253e; }
.studio-cta:hover { background: #e7f0ff; }
.studio-art { min-width: 0; position: relative; display: grid; place-items: center; height: 330px; }
.studio-light { position: absolute; inset: -20%; background: radial-gradient(ellipse,#28538c88,transparent 65%); }
.studio-frame { position: relative; display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 36px; width: 100%; max-width: 390px; aspect-ratio: 1.25; border: 1px solid #45658b; border-radius: 22px; background: linear-gradient(145deg,#26476f55,#11243d88); transform: rotate(-5deg); box-shadow: 0 30px 60px #0002; }
.studio-corner { position: absolute; width: 28px; height: 28px; border-color: #9ac4ff; border-style: solid; }
.corner-one { right: 18px; top: 18px; border-width: 2px 2px 0 0; border-top-right-radius: 7px; }
.corner-two { left: 18px; bottom: 18px; border-width: 0 0 2px 2px; border-bottom-left-radius: 7px; }
.studio-record { position: absolute; top: 29px; left: 29px; width: 9px; height: 9px; border-radius: 50%; background: #ff817e; box-shadow: 0 0 0 5px #ff817e15; }
.studio-camera { width: 87px; height: 87px; stroke-width: .9; color: #d0e3ff; }
.studio-wave { display: flex; align-items: center; gap: 6px; height: 35px; }
.studio-wave i { width: 4px; height: 10px; background: #729ccd; border-radius: 4px; }
.studio-wave i:nth-child(3n) { height: 27px; }
.studio-wave i:nth-child(3n + 1) { height: 18px; }
.studio-wave i:nth-child(5n) { height: 35px; background: #c5dcff; }
@media (max-width: 1100px) {
  .desktop-nav { display: none; }
  .menu-toggle { display: flex; }
  .nav-cta { margin-inline-start: auto; }
  .mobile-menu { position: absolute; top: 100%; inset-inline: 0; background: var(--paper); border-bottom: 1px solid var(--line); box-shadow: 0 16px 26px #17253e0b; max-height: calc(100dvh - 92px); overflow-y: auto; overscroll-behavior: contain; }
  .platform-copy { padding: 35px; }
  .studio-panel { padding: 40px; gap: 30px; }
}
@media (max-width: 750px) {
  .platform-card { grid-template-columns: 1fr; }
  .platform-art { min-height: 310px; }
  .platform-copy { padding: 28px; }
  .platform-copy h3 { font-size: 32px; }
  .platform-copy > p { font-size: 13px; }
  .platform-copy .button { width: 100%; font-size: 12px; gap: 16px; }
  .studio-panel { grid-template-columns: 1fr; padding: 30px 25px; gap: 25px; }
  .studio-art { height: 240px; }
  .studio-frame { max-width: 275px; gap: 22px; }
  .studio-camera { width: 65px; height: 65px; }
  .studios-section { padding-block: 45px; }
  .studio-copy h2 { font-size: 32px; }
}
@media (max-width: 650px) { .brand { width: 112px; } .nav-wrap { gap: 14px; } }
@media (max-width: 370px) { .brand { width: 103px; } .nav-wrap { gap: 10px; } }

/* Package prices and included services share the card's theme and direction. */
.package-price{display:flex;flex-wrap:wrap;align-items:baseline;gap:6px 12px;margin-top:22px;color:var(--navy)}
.package-price strong{font-size:clamp(26px,2.6vw,36px);font-weight:800;line-height:1.4;overflow-wrap:anywhere;max-width:100%}
.package-price>span{font-size:12px;color:var(--muted);overflow-wrap:anywhere}
.package-contents{flex:1;border-top:1px solid var(--line);margin-top:24px;padding-top:20px}
.package-contents h4{font-size:12px;color:var(--navy);font-weight:700}
.package .package-contents ul{margin:14px 0 10px;padding:0;border:0}
.package-contents li{overflow-wrap:anywhere}
.package>.button{margin-top:auto}
.package-contents+.button,.package-price+.button{margin-top:18px}

/* studio-cards.css */
.studio-partners { margin-top: 48px; }
.studio-partners-heading { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-bottom: 22px; margin-bottom: 24px; border-bottom: 1px solid var(--line); }
.studio-partners-heading h3 { font-size: clamp(22px,2.3vw,30px); line-height: 1.6; color: var(--navy); }
.studio-partners-intro { max-width: 330px; color: var(--muted); font-size: 12px; line-height: 1.9; }
.studio-partners-grid { display: grid; grid-template-columns: minmax(0,1fr); gap: 20px; }
.studio-partner-card { display: grid; grid-template-columns: minmax(220px,30%) minmax(0,1fr); gap: 8px; padding: 12px; min-width: 0; background: var(--surface,#fff); border: 1px solid var(--line); border-radius: 24px; color: var(--navy); box-shadow: 0 8px 28px #10223e06; transition: transform .32s cubic-bezier(.22,1,.36,1),box-shadow .32s ease,border-color .32s ease; }
.studio-partner-image { align-self: center; aspect-ratio: 8/5; overflow: hidden; border-radius: 16px; background: var(--ice,#eaf1fb); }
.studio-partner-image > img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.22,1,.36,1); }
.studio-partner-placeholder { display: grid; place-items: center; height: 100%; color: #b5d3fd; background: radial-gradient(ellipse at 70% 30%,#2c5282,#10223e); }
.studio-partner-placeholder svg { width: 58px; height: 58px; fill: none; stroke: currentColor; stroke-width: 1; }
.studio-partner-body { display: flex; align-items: center; justify-content: space-between; min-width: 0; gap: 28px; padding: 24px; }
.studio-partner-info { flex: 1; min-width: 0; }
.studio-partner-overline { display: flex; align-items: center; gap: 7px; font-size: 10px; font-weight: 700; color: var(--blue); margin-bottom: 10px; }
.studio-partner-overline svg { width: 17px; height: 17px; flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 1.6; }
.studio-partner-name { font-size: clamp(23px,2.4vw,29px); line-height: 1.4; font-weight: 800; text-align: start; overflow-wrap: anywhere; }
.studio-partner-actions { display: flex; flex-direction: column; align-items: stretch; gap: 8px; flex: 0 1 240px; min-width: 0; max-width: 100%; }
.studio-partner-location { display: flex; align-items: center; justify-content: center; gap: 7px; color: var(--muted); font-size: 12px; margin: 0; overflow-wrap: anywhere; }
.studio-partner-location > span[dir] { min-width: 0; }
.studio-location-link { width: 100%; min-height: 48px; gap: 10px; padding: 12px 18px; border: 1px solid var(--line); border-radius: 12px; background: var(--ice,#eaf1fb); color: var(--blue); font-weight: 700; text-decoration: none; transition: border-color .18s,box-shadow .18s; }
.studio-location-link:hover { border-color: var(--blue); box-shadow: 0 5px 16px #076cf018; }
.studio-location-link:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }
.studio-partner-location svg { width: 16px; height: 16px; flex-shrink: 0; margin-top: 3px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.studio-location-link > svg { width: 20px; height: 20px; margin-top: 0; }
.studio-location-link > span[aria-hidden] { font: 18px/1 Arial,sans-serif; margin-inline-start: 8px; opacity: .8; }
.studio-partner-description { font-size: 13px; line-height: 1.9; color: var(--muted); margin-top: 14px; white-space: pre-line; overflow-wrap: anywhere; }
.studio-partner-link { display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; gap: 10px; min-height: 48px; padding: 12px 18px; border: 1px solid transparent; border-radius: 12px; background: var(--brand-primary,#076cf0); color: #fff; font-size: 12px; font-weight: 700; text-decoration: none; transition: background .18s,box-shadow .18s; }
.studio-partner-link > svg { width: 20px; height: 20px; flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.studio-link-arrow { font: 18px/1 Arial,sans-serif; margin-inline-start: 8px; opacity: .8; }
.studio-partner-link:hover { background: var(--blue-dark,#0559c8); box-shadow: 0 5px 16px #076cf026; }
.studio-partner-link:focus-visible { outline: 3px solid var(--blue); outline-offset: 4px; }
.studio-partner-card .sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
@media(max-width:1000px) { .studio-partner-body { align-items: flex-start; flex-direction: column; gap: 20px; padding: 20px; } .studio-partner-card { grid-template-columns: minmax(200px,38%) minmax(0,1fr); } }
@media(max-width:620px) { .studio-partners { margin-top: 32px; } .studio-partners-heading { flex-direction: column; align-items: flex-start; gap: 8px; margin-bottom: 20px; padding-bottom: 16px; } .studio-partners-intro { max-width: none; } .studio-partner-card { grid-template-columns: minmax(0,1fr); padding: 10px; gap: 0; border-radius: 20px; } .studio-partner-image { border-radius: 13px; } .studio-partner-body { padding: 20px 10px 10px; gap: 22px; } .studio-partner-link { width: 100%; } }
/* The dashboard preview is narrow even on a desktop. */
.studio-live-preview { max-width: 420px; }
.studio-live-preview .studio-partner-card { grid-template-columns: minmax(0,1fr); gap: 0; }
.studio-live-preview .studio-partner-body { flex-direction: column; align-items: stretch; padding: 20px 10px 10px; gap: 22px; }
.studio-live-preview .studio-partner-link { width: 100%; }
@media(hover:hover) and (pointer:fine) {
  .studio-partner-card:hover { border-color: var(--blue); box-shadow: 0 16px 38px #10223e16; }
  html[data-theme="dark"] .studio-partner-card:hover { box-shadow: 0 16px 38px #0004; }
}
@media(hover:hover) and (pointer:fine) and (prefers-reduced-motion:no-preference) {
  html:not(.motion-disabled) .studio-partner-card:hover { transform: translateY(-5px); }
  html:not(.motion-disabled) .studio-partner-card:hover .studio-partner-image > img { transform: scale(1.035); }
}
@media(prefers-reduced-motion:reduce) { .studio-partner-card,.studio-partner-image > img,.studio-partner-link,.studio-location-link { transition: none; } }
.studio-live-preview .studio-partner-actions { flex: none; width: 100%; }
@media(max-width:1000px) { .studio-partner-actions { flex: none; width: 100%; } }

.studio-partners-more { display: flex; justify-content: center; margin-top: 28px; }
.studio-browse-link { display: inline-flex; align-items: center; justify-content: center; gap: 16px; min-height: 50px; padding: 12px 26px; border: 1px solid var(--blue); border-radius: 12px; background: var(--blue); color: #fff; font-size: 14px; font-weight: 700; text-decoration: none; }
.studio-browse-link:hover { background: var(--blue-dark,#0559c8); }
.studio-browse-link svg,.studio-directory-back svg { width: 20px; height: 20px; flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
html[dir="ltr"] .studio-browse-link svg,html[dir="ltr"] .studio-directory-back svg { transform: scaleX(-1); }
.studio-browse-link:focus-visible,.studio-directory-back:focus-visible { outline: 3px solid var(--blue); outline-offset: 4px; }
.studio-directory { padding-top: 132px; padding-bottom: 80px; min-height: 80vh; }
.studio-directory-back { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; color: var(--muted); font-size: 13px; font-weight: 700; text-decoration: none; }
.studio-directory-back:hover { color: var(--blue); }
.studio-directory-heading { max-width: 720px; margin: 28px 0 40px; }
.studio-directory-eyebrow { color: var(--blue); font-size: 12px; font-weight: 700; }
.studio-directory-heading h1 { margin: 12px 0; color: var(--navy); font-size: clamp(28px,4vw,48px); line-height: 1.5; letter-spacing: normal; overflow-wrap: anywhere; }
.studio-directory-heading p { max-width: 600px; color: var(--muted); font-size: 15px; line-height: 1.9; }
.studio-directory-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); align-items: stretch; gap: 24px; }
.studio-directory-grid .studio-partner-card { grid-template-columns: minmax(0,1fr); grid-template-rows: auto 1fr; gap: 0; }
.studio-directory-grid .studio-partner-image { width: 100%; }
.studio-directory-grid .studio-partner-body { flex-direction: column; align-items: stretch; gap: 24px; padding: 24px 12px 12px; }
.studio-directory-grid .studio-partner-info { flex: 1; }
.studio-directory-grid .studio-partner-actions { width: 100%; flex: none; }
.studio-directory-grid .studio-partner-name { font-size: clamp(23px,2.5vw,28px); margin: 0; }
@media(max-width:700px) {
  .studio-directory { padding-top: 100px; padding-bottom: 48px; }
  .studio-directory-heading { margin: 20px 0 28px; }
  .studio-directory-heading p { font-size: 14px; }
  .studio-directory-grid { grid-template-columns: minmax(0,1fr); gap: 20px; }
  .studio-directory-grid .studio-partner-body { padding: 20px 10px 10px; }
  .studio-browse-link { width: 100%; }
}

/* careers.css */
/* Careers: the application form. Colours come from the theme variables. */
.careers-section { border-top: 1px solid var(--line); padding-top: 70px; }
.careers-layout { max-width: 640px; margin-inline: auto; }
.careers-form { scroll-margin-top: 110px; }
.careers-form > .button { width: 100%; font-size: 12px; gap: 16px; }
/* Hidden from people and assistive tech; bots that fill every field are rejected. */
/* Clipped in place, not moved off-screen: an off-screen offset widens RTL pages. */
.careers-trap { position: absolute !important; width: 1px; height: 1px; margin: 0; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; opacity: 0; pointer-events: none; }
.careers-feedback { margin-top: 15px; padding: 13px; border-radius: 8px; background: var(--ice); color: var(--navy); font-size: 12px; line-height: 1.9; }
.careers-feedback.is-error { background: #fdecec; color: #8a1f17; }
.careers-feedback a { color: inherit; font-weight: 700; text-decoration: underline; }
html[data-theme="dark"] .careers-feedback.is-error { background: #3a1d22; color: #ffc9c4; }
@media (max-width: 650px) {
  .careers-section { padding-top: 56px; }
}
/* careers.html: the section is the whole page, directly under the header. */
html[data-page="careers"] .careers-section { border-top: 0; padding-top: 56px; min-height: 70vh; }
/* The form is a centred column, so its heading sits centred above it instead of spread to the page edges. */
.careers-section .section-heading { flex-direction: column; align-items: center; gap: 14px; max-width: 640px; margin-inline: auto; margin-bottom: 32px; text-align: center; }
.careers-section .section-heading > p { max-width: 520px; padding-bottom: 0; }
.careers-other[hidden] { display: none; }
/* Field text: typed text stays at the site's 16px minimum (also stops phones zooming on focus) but
   regular weight; the example text is smaller and lighter. Shared by the careers and contact forms; the ids outrank the shared contact-form rules. */
:is(#careers-form,#contact-form) :is(input,select,textarea) { font-size: 16px; font-weight: 400; }
/* Same height and weight as the text fields; until a role is chosen it reads like their example text. */
:is(#careers-form,#contact-form) select { height: 50px; font-weight: 400; }
:is(#careers-form,#contact-form) select:invalid { color: var(--muted); }
:is(#careers-form,#contact-form) select option { color: var(--navy); }
:is(#careers-form,#contact-form) :is(input,textarea)::placeholder { font-size: 13px; font-weight: 400; opacity: .75; }
/* Upload box: the real file input covers the box (invisible), so clicking and dropping both work. */
.careers-file { margin-bottom: 16px; }
.careers-file-title { display: block; margin-bottom: 6px; font-size: 14px; font-weight: 700; }
.careers-dropzone { position: relative; display: flex; align-items: center; gap: 14px; padding: 16px 18px; border: 1.5px dashed color-mix(in srgb, var(--blue) 35%, var(--line)); border-radius: 10px; background: var(--ice); transition: border-color .2s, background .2s; }
.careers-dropzone:hover, .careers-dropzone.is-dragging { border-color: var(--blue); background: color-mix(in srgb, var(--blue) 10%, var(--ice)); }
.careers-dropzone:focus-within { outline: 3px solid color-mix(in srgb, var(--blue) 45%, transparent); outline-offset: 2px; }
.careers-dropzone.has-file { border-style: solid; border-color: var(--blue); }
#careers-form .careers-dropzone input { position: absolute; inset: 0; width: 100%; height: 100%; min-height: 0; margin: 0; padding: 0; opacity: 0; cursor: pointer; }
.careers-dropzone-icon { flex: 0 0 auto; width: 38px; height: 38px; padding: 8px; border-radius: 50%; background: var(--white); color: var(--blue); fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.careers-dropzone-text { display: grid; gap: 2px; min-width: 0; }
.careers-dropzone-text strong { font-size: 14px; color: var(--navy); overflow-wrap: anywhere; }
.careers-dropzone-text small { font-size: 12px; font-weight: 400; color: var(--muted); }
.careers-file-clear { margin-top: 8px; padding: 4px 0; border: 0; background: none; color: var(--blue); font: inherit; font-size: 13px; font-weight: 700; cursor: pointer; text-decoration: underline; }
.careers-file-clear[hidden] { display: none; }

/* work-gallery.css */
.work-section .work-heading-copy{flex:1 1 380px;min-width:0;max-width:540px;text-align:start}
.work-heading-copy>.section-label{gap:10px;margin-bottom:16px;font-size:12px;line-height:1.6;color:var(--blue)}
.work-heading-copy>.section-label::before{content:"";width:24px;height:2px;flex-shrink:0;border-radius:2px;background:currentColor}
.work-section .work-heading-title{display:grid;gap:6px;margin:0;font-size:clamp(32px,3.1vw,44px);line-height:1.4;letter-spacing:0;color:var(--navy)}
.work-heading-title>span{display:block;min-width:0;overflow-wrap:anywhere;text-wrap:balance}
.work-heading-title>.work-heading-accent{color:var(--blue);font-size:.94em}
html[lang="en"] .work-section .work-heading-title{font-size:clamp(30px,2.9vw,40px);line-height:1.3;letter-spacing:-.5px}
html[lang="en"] .work-heading-copy>.section-label{letter-spacing:1px}
@media(max-width:650px){.work-heading-copy>.section-label{margin-bottom:14px;font-size:11px}.work-section .work-heading-title{font-size:clamp(30px,8.3vw,36px);gap:5px}html[lang="en"] .work-section .work-heading-title{font-size:clamp(28px,7.8vw,34px)}}
.work-section .work-intro{flex:0 1 390px;min-width:0;width:100%;max-width:390px}
.work-intro>p{display:grid;justify-items:center;gap:10px;margin:0 0 24px;padding-inline:8px;text-align:center}
.work-intro-title{display:block;font-family:Plex,Cairo,Arial,sans-serif;font-size:22px;font-weight:700;line-height:1.65;color:var(--navy);text-wrap:balance}
.work-intro-description{display:block;max-width:340px;font-size:14px;font-weight:400;line-height:1.95;color:var(--muted);text-wrap:balance}
.work-intro .filters{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:5px;width:100%;padding:5px;border:1px solid var(--line);border-radius:16px;background:var(--surface,#fff)}
.work-intro .filters .filter{display:flex;align-items:center;justify-content:center;gap:9px;min-width:0;min-height:48px;padding:10px 12px;border:1px solid transparent;border-radius:11px;background:transparent;color:var(--muted);font-size:14px;font-weight:500;line-height:1.7}
.work-intro .filter svg{width:18px;height:18px;stroke-width:1.8}
.work-intro .filters .filter.active{background:var(--brand-primary,#076cf0);border-color:transparent;color:#fff;box-shadow:0 3px 10px #076cf021}
.work-intro .filters .filter:hover:not(.active){background:var(--ice);color:var(--navy)}
.work-intro .filters .filter:focus-visible{outline:2px solid var(--blue);outline-offset:3px}
html[data-theme="dark"] .work-intro .filters .filter.active{background:var(--blue);color:#0c1b30;box-shadow:none}
@media(max-width:650px){.work-section .work-intro{max-width:none;margin-top:24px}.work-intro>p{gap:8px;margin-bottom:20px;padding-inline:0}.work-intro-title{font-size:20px}.work-intro-description{font-size:13px;max-width:330px}.work-intro .filters .filter{gap:8px;padding-inline:9px;font-size:13px}}
.work-gallery-viewport{position:relative;isolation:isolate;outline-offset:8px;border-radius:12px}
.work-gallery-viewport.is-slideshow{touch-action:pan-y pinch-zoom}
.work-gallery-viewport.is-transitioning{overflow:clip;pointer-events:none}
.work-transition-layer{position:absolute;inset:0;z-index:2;pointer-events:none;overflow:clip}
.work-transition-layer .work-card{pointer-events:none}
.work-transition-layer .work-image{transform:none;box-shadow:none}
.work-gallery-viewport.is-transitioning .work-card{will-change:transform,opacity}
.work-gallery-toolbar{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:18px 20px;margin-top:28px;padding-top:0;border:0}
.work-autoplay-track{flex:0 0 100%;height:3px;border-radius:10px;background:var(--line,#ccd7e5);overflow:hidden}
.work-autoplay-track>span{display:block;height:100%;background:var(--blue);transform:scaleX(0);transform-origin:right;border-radius:inherit}
html[dir="ltr"] .work-autoplay-track>span{transform-origin:left}
.work-gallery-toolbar:not(.is-playing) .work-autoplay-track{opacity:.5}
.work-show-all,.work-collapse{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:48px;padding:12px 22px;border:1px solid var(--line);border-radius:12px;background:var(--surface,#fff);color:var(--blue);font-size:13px;font-weight:700;line-height:1.6;transition:border-color .2s,box-shadow .2s}
.work-show-all:hover,.work-collapse:hover{border-color:var(--blue);box-shadow:0 4px 16px #076cf012}
.work-show-all:focus-visible,.work-collapse:focus-visible{outline:2px solid var(--blue);outline-offset:4px}
.work-show-all svg,.work-collapse svg{width:19px;height:19px;flex-shrink:0;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.work-show-all .work-toggle-collapse{display:none}
.work-gallery-toolbar:not(.is-expanded){justify-content:center}
.work-gallery-toolbar.is-expanded{margin:0 0 24px;padding:18px 22px;border:1px solid var(--line);border-radius:16px;background:var(--surface,#fff);gap:18px;align-items:center}
.work-gallery-summary{display:flex;flex-direction:column;gap:5px;min-width:0}
.work-gallery-summary strong{font-size:18px;line-height:1.6;color:var(--navy)}
.work-gallery-count{font-size:12px;line-height:1.8;color:var(--muted)}
.is-expanded .work-toggle-grid{display:none}
.is-expanded .work-toggle-collapse{display:block}
.is-expanded .work-show-all{padding:10px 16px;min-height:44px;background:transparent}
.work-gallery-viewport.is-expanded .work-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:20px}
.work-gallery-viewport.is-expanded .work-card{align-self:start;border-radius:14px}
.work-gallery-viewport.is-expanded .work-image{border-radius:14px;box-shadow:0 4px 18px #10223e0a;background:var(--surface,#fff)}
.work-gallery-viewport.is-expanded .work-image>img{display:block;object-fit:contain;object-position:center}
.work-gallery-viewport.is-expanded .work-card:focus-visible{outline:3px solid var(--blue);outline-offset:5px}
.work-gallery-end{display:flex;justify-content:center;margin-top:28px}
.work-reveal-pending{opacity:0}
.work-reveal-pending:focus-within,html.motion-disabled .work-reveal-pending{opacity:1}
@media(prefers-reduced-motion:reduce){.work-reveal-pending{opacity:1}.work-show-all,.work-collapse{transition:none}}
@media(min-width:851px) and (max-width:1100px){.work-gallery-viewport.is-expanded .work-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:850px){.work-gallery-viewport.is-expanded .work-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}}
@media(max-width:650px){.work-gallery-toolbar.is-expanded{padding:16px;margin-bottom:20px;gap:14px}.work-gallery-summary strong{font-size:16px}.is-expanded .work-show-all{width:100%;font-size:12px}.work-gallery-viewport.is-expanded .work-grid{gap:12px}.work-gallery-viewport.is-expanded .work-card,.work-gallery-viewport.is-expanded .work-image{border-radius:10px}.work-gallery-end{margin-top:24px}}
@media(max-width:359px){.work-gallery-viewport.is-expanded .work-grid{grid-template-columns:minmax(0,1fr)}}
.work-thumbnail .work-image>img{object-fit:contain;object-position:center}
.work-thumbnail:hover .work-image>img{transform:none}
.project-dialog.is-thumbnail{width:min(1120px,calc(100vw - 32px),calc((100dvh - 128px) * var(--thumbnail-ratio,1.777778)));max-height:calc(100dvh - 128px);padding:0;border:0;border-radius:12px;background:transparent;overflow:visible;transform-origin:center}
.project-dialog.is-thumbnail .dialog-inner{display:block}
.project-dialog.is-thumbnail .dialog-inner>img{display:block;width:100%;height:auto;max-height:calc(100dvh - 128px);aspect-ratio:var(--thumbnail-ratio,16/9);object-fit:contain;border-radius:12px;background:#0b1220;box-shadow:0 18px 65px #0005}
.project-dialog.is-thumbnail .dialog-close{top:-54px;right:0;width:44px;height:44px;background:#17253e;color:#fff;border:1px solid #ffffff40}
.project-dialog.is-thumbnail .dialog-close:hover{background:#2c4262}
@media(min-width:651px) and (max-width:850px){.work-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:650px){.work-gallery-toolbar{gap:12px;flex-wrap:wrap;margin-top:23px;padding-top:15px}.work-show-all{font-size:11px}}
/* Thumbnails: fewer, larger cards so the lesson titles stay readable. */
.work-gallery-viewport[data-category="thumbnails"].is-slideshow .work-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:30px}
.work-gallery-viewport[data-category="thumbnails"] .work-thumbnail .work-image{border-radius:16px;background:#0b1220;box-shadow:0 16px 44px -22px #0b1220cc;transition:transform .45s cubic-bezier(.22,1,.36,1),box-shadow .45s}
.work-gallery-viewport[data-category="thumbnails"] .work-thumbnail:hover .work-image{transform:translateY(-4px);box-shadow:0 24px 54px -22px #0b1220e6}
.work-gallery-viewport.is-expanded[data-category="thumbnails"] .work-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}
@media(min-width:851px) and (max-width:1100px){.work-gallery-viewport.is-expanded[data-category="thumbnails"] .work-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:850px){.work-gallery-viewport[data-category="thumbnails"].is-slideshow .work-grid{grid-template-columns:minmax(0,1fr)}.work-gallery-viewport.is-expanded[data-category="thumbnails"] .work-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:650px){.work-gallery-viewport.is-expanded[data-category="thumbnails"] .work-grid{grid-template-columns:minmax(0,1fr)}}
@media(prefers-reduced-motion:reduce){.work-gallery-viewport[data-category="thumbnails"] .work-thumbnail:hover .work-image{transform:none}}
/* "Show all designs" removed: the slideshow is the only gallery view. */
.work-show-all{display:none!important}

/* motion.css */
:root {
  --ease-out: cubic-bezier(.22, 1, .36, 1);
  --ease-smooth: cubic-bezier(.65, 0, .35, 1);
}

/* Motion enhances the page; the unenhanced document remains fully visible. */
/* Keep the RTL page anchored to the viewport; wide tracks scroll only inside their own containers. */
html { scrollbar-gutter: stable; width: 100%; max-width: 100%; overflow-x: hidden; }
body { min-width: 0; width: 100%; max-width: 100%; overflow-x: clip; }
main { width: 100%; min-width: 0; max-width: 100%; overflow-x: clip; contain: inline-size; }
.container { min-width: 0; max-width: 100%; }
main > [data-section] { min-width: 0; max-width: 100%; }
/* Keep both phrases balanced, with type sized to the available text column. */
.hero-copy { container-type: inline-size; min-width: 0; }
.hero h1 {
  display: flex;
  flex-direction: column;
  gap: .06em;
  font-size: clamp(28px, 12cqw, 60px);
  line-height: 1.5;
  letter-spacing: 0;
  margin-block: 22px 24px;
  text-align: start;
}
.hero-title-line { display: block; text-wrap: balance; }
.hero-title-line [data-cms] { white-space: normal; }
.motion-pending { opacity: 0; }
.motion-pending:focus-within { opacity: 1; }
.site-header { transition: box-shadow .4s, background .4s; }
.site-header.is-scrolled { background: #f8fafcf0; box-shadow: 0 8px 32px #17253e09; }
.site-header::after {
  content: ''; position: absolute; inset: auto 0 -1px;
  height: 2px; background: var(--blue); pointer-events: none;
  transform: scaleX(var(--scroll-progress, 0)); transform-origin: right;
}
.desktop-nav a::before {
  content: ''; position: absolute; right: 0; bottom: 5px;
  height: 2px; width: 100%; border-radius: 2px; background: var(--blue);
  transform: scaleX(0); transform-origin: right;
  transition: transform .4s var(--ease-out);
}
.desktop-nav a:hover::before { transform: scaleX(1); }
.button {
  transition: background .25s, transform .45s var(--ease-out), box-shadow .35s, border-color .25s;
}
.button svg, .text-link svg, .art-caption svg {
  transition: transform .45s var(--ease-out);
}
.button:hover svg, .text-link:hover svg { transform: translateX(-4px); }
.button:hover svg:has(use[href="#up-left"]) { transform: translate(-3px, -3px); }
.button:active { transform: translateY(0) scale(.98); }
.circle-arrow { transition: background .25s, transform .45s var(--ease-out); }
.text-link:hover .circle-arrow { transform: rotate(-10deg); }

.hero-art { perspective: 1000px; }
.hero-art .poster > img { position: absolute; inset: 0; }
.art-caption-link { display: flex; align-items: center; gap: 9px; flex: 1; min-width: 0; }
.art-caption-link > span:last-child { display: flex; flex-direction: column; font-size: 9px; color: var(--muted); line-height: 1.8; }
.art-caption-link > .caption-label { font-size: 12px; font-weight: 700; color: var(--navy); }
.art-orbits { position: absolute; inset: 0; overflow: hidden; border-radius: inherit; z-index: -1; }
.poster-front { translate: calc(var(--depth-x, 0px) * 1.15) calc(var(--depth-y, 0px) * 1.15); }
.poster-back { translate: calc(var(--depth-x, 0px) * -.55) calc(var(--depth-y, 0px) * -.55); }
.art-stamp { translate: calc(var(--depth-x, 0px) * 1.6) calc(var(--depth-y, 0px) * 1.6); }
.art-word { translate: calc(var(--depth-x, 0px) * -.3) calc(var(--depth-y, 0px) * -.3); }
.art-orbit::after {
  content: ''; position: absolute; left: 50%; top: -4px;
  width: 7px; height: 7px; border-radius: 50%; background: #8eadd5;
  box-shadow: 0 0 0 5px #c2d5ed44;
}
.orbit-two::after { width: 5px; height: 5px; top: -3px; background: #b2c8e7; }
.art-orbit { animation: orbit-turn 28s linear infinite; animation-play-state: paused; }
.orbit-two { animation-duration: 38s; animation-direction: reverse; }
.hero-art.is-in-view .art-orbit { animation-play-state: running; }
@keyframes orbit-turn { to { transform: rotate(360deg); } }
.word-mark::after {
  transform-origin: right;
  animation: ink-reveal 1s .48s var(--ease-out) both;
}
@keyframes ink-reveal {
  from { transform: rotate(-3deg) scaleX(0); }
  to { transform: rotate(-3deg) scaleX(1); }
}

.service { position: relative; overflow: hidden; }
.service::after {
  content: ''; position: absolute; right: 0; bottom: 0; left: 0;
  height: 2px; background: var(--blue); transform: scaleX(0); transform-origin: right;
  transition: transform .6s var(--ease-out);
}
.service:hover::after, .service:focus-visible::after { transform: scaleX(1); }
.service-top > svg { transition: transform .55s var(--ease-out); }
.service:hover .service-top > svg { transform: translateY(-4px) rotate(-5deg); }
.service-link svg { transition: transform .4s var(--ease-out); }
.work-grid { align-content: start; }
.work-section { overflow-anchor: none; }
.work-image {
  transform: perspective(1000px) rotateX(var(--card-rx, 0deg)) rotateY(var(--card-ry, 0deg));
  transition: transform .55s var(--ease-out), box-shadow .55s var(--ease-out);
}
.work-image > img { transition: transform .9s var(--ease-out); }
.work-image::after {
  content: ''; position: absolute; inset: 0; pointer-events: none; opacity: 0;
  background: radial-gradient(ellipse at var(--shine-x, 50%) var(--shine-y, 30%), #ffffff28, transparent 65%);
  transition: opacity .5s;
}
.work-card:hover .work-image { box-shadow: 0 18px 36px -18px #17253e77; }
.work-card:hover .work-image::after { opacity: 1; }
.work-open { transition: transform .5s var(--ease-out), background .25s, color .25s; }
.work-card:hover .work-open { transform: rotate(-8deg); }
.filter { transition: background .25s, border-color .25s, color .25s, transform .4s var(--ease-out); }
.filter:active { transform: scale(.96); }
.metrics strong { font-variant-numeric: tabular-nums; }
.metrics strong .count-visual { font: inherit; color: inherit; letter-spacing: inherit; }
.bar-line i { transform-origin: right; }
.package { transition: transform .6s var(--ease-out), box-shadow .6s var(--ease-out); }
.package:hover { transform: translateY(-7px); box-shadow: 0 18px 40px -22px #17253e44; }
.steps li { transition: border-color .3s; }
.steps li:hover { border-color: #90b8f0; }
.step-number { transition: color .3s, transform .5s var(--ease-out); }
.steps li:hover .step-number { color: #adcfff; transform: translateX(-4px); }
.faq-list details { overflow: hidden; }
.faq-list summary:focus-visible { outline-offset: -3px; border-radius: 4px; }
.faq-list summary > span { transition: transform .4s var(--ease-out); }
.contact-form input, .contact-form select, .contact-form textarea {
  transition: border-color .2s, background .2s, box-shadow .2s;
}
.contact-form :is(input,select,textarea):focus { background: #fff; box-shadow: 0 0 0 4px #076cf008; }
.contact-number > svg { transition: transform .5s var(--ease-out), background .3s; }
.contact-number:hover > svg { transform: rotate(-10deg); background: #ffffff50; }
.back-top > span { transition: transform .45s var(--ease-out); }
.back-top:hover > span { transform: translateY(-5px); }
.project-dialog::backdrop { animation: backdrop-in .4s ease both; }
.project-dialog.is-closing::backdrop { animation: backdrop-out .22s ease both; }
@keyframes backdrop-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes backdrop-out { from { opacity: 1; } to { opacity: 0; } }
.dialog-close { transition: transform .4s var(--ease-out), background .2s; }
.dialog-close:hover { transform: rotate(90deg); background: #eaf0f7; }

@media (max-width: 650px) {
  .art-caption { gap: 7px; padding-inline: 12px; }
  .art-caption-link { gap: 6px; }
  .art-caption-link b { font-size: 11px; }
  .art-caption-link > .caption-label { font-size: 10px; }
  .mobile-menu {
    position: absolute; top: 100%; right: 0; left: 0;
    background: #f8fafc; border-bottom: 1px solid var(--line); box-shadow: 0 16px 26px #17253e0b;
  }
}
@media (max-width: 370px) {
  .hero-gallery-button { width: 28px; }
  .art-caption-link > span:last-child { font-size: 8px; }
  .art-caption-link > .caption-label { font-size: 9px; }
  .art-caption-link b { font-size: 10px; }
}
@media (hover: none) {
  .package:hover, .button:hover { transform: none; }
  .work-image { transform: none; }
  .work-card:hover .work-image > img { transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .motion-pending { opacity: 1; }
  .poster, .art-stamp, .art-word { translate: none; }
  .work-image, .package:hover { transform: none; }
}

/* theme.css */
:root {
  color-scheme: light;
  --muted: #56657d;
  --page-scroll-track: #e4ecf7;
  --page-scroll-thumb: #668ac0;
  --page-scroll-hover: #3f73bc;
  --page-scroll-active: #075bc8;
}
.nav-actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.theme-toggle { display: grid; place-items: center; flex-shrink: 0; width: 44px; height: 44px; padding: 0; border: 1px solid var(--line); border-radius: 50%; background: var(--paper); color: var(--navy); cursor: pointer; transition: background .2s, border-color .2s, transform .2s; }
.theme-toggle:hover { background: var(--ice); border-color: var(--blue); }
.theme-toggle:active { transform: scale(.94); }
.theme-toggle svg { width: 21px; height: 21px; }
.theme-toggle .theme-sun { display: none; }
html[data-theme="dark"] .theme-toggle .theme-moon { display: none; }
html[data-theme="dark"] .theme-toggle .theme-sun { display: block; }

/* Brand settings remain intact; semantic surfaces change with the visitor's mode. */
html[data-theme="dark"] {
  color-scheme: dark;
  --paper: #0c1321;
  --navy: #e7eefb;
  --muted: #a7b6cd;
  --line: #2a3a51;
  --ice: #1a2b43;
  --white: #142035;
  --blue: #85b6ff;
  --blue: color-mix(in srgb, var(--brand-primary, #076cf0) 48%, #deebff);
  --blue-dark: #0a59bd;
  --surface: #142035;
  --surface-raised: #1a2a43;
  --page-scroll-track: #1b2b43;
  --page-scroll-thumb: #7aa7e8;
  --page-scroll-hover: #a8caff;
  --page-scroll-active: #c2dcff;
}

/* Match the page scrollbar to the carousel while retaining native scrolling. */
html { scrollbar-width: thin; scrollbar-color: var(--page-scroll-thumb) var(--page-scroll-track); }
@supports selector(::-webkit-scrollbar) {
  html { scrollbar-width: auto; scrollbar-color: auto; }
  html::-webkit-scrollbar { width: 14px; height: 14px; background: var(--paper); }
  html::-webkit-scrollbar-track {
    border: 4px solid transparent;
    border-radius: 999px;
    background: var(--page-scroll-track);
    background-clip: padding-box;
  }
  html::-webkit-scrollbar-thumb {
    min-height: 48px;
    border: 4px solid transparent;
    border-radius: 999px;
    background: var(--page-scroll-thumb);
    background-clip: padding-box;
  }
  html::-webkit-scrollbar-thumb:hover { background-color: var(--page-scroll-hover); }
  html::-webkit-scrollbar-thumb:active { background-color: var(--page-scroll-active); }
  html::-webkit-scrollbar-button { display: none; width: 0; height: 0; }
  html::-webkit-scrollbar-corner { background: var(--paper); }
}
@media (forced-colors: active) {
  :root, html[data-theme="dark"] {
    scrollbar-width: auto;
    scrollbar-color: auto;
    --page-scroll-track: Canvas;
    --page-scroll-thumb: ButtonText;
    --page-scroll-hover: ButtonText;
    --page-scroll-active: ButtonText;
  }
  html::-webkit-scrollbar, html::-webkit-scrollbar-corner { background: Canvas; }
}

html[data-theme="dark"] .site-header,
html[data-theme="dark"] .site-header.is-scrolled { background: #0c1321f5; border-color: var(--line); box-shadow: 0 8px 32px #0002; }
html[data-theme="dark"] .mobile-menu { background: #101b2d; border-color: var(--line); }
html[data-theme="dark"] .brand img[src$="assets/profile-1.png"] { filter: brightness(0) invert(1); }
html[data-theme="dark"] .menu-toggle { background: var(--surface); }
html[data-theme="dark"] .button-dark { background: #243b5b; color: #fff; }
html[data-theme="dark"] .button-dark:hover { background: #304d73; }
html[data-theme="dark"] .button-blue { background: var(--brand-primary, #076cf0); color: #fff; }
html[data-theme="dark"] .button-blue:hover { background: var(--blue-dark); }
html[data-theme="dark"] .button-outline { border-color: #3a516f; }
html[data-theme="dark"] .skip-link { background: #203956; color: #fff; }
html[data-theme="dark"] .status-dot { box-shadow: 0 0 0 5px #1a2c47; }
html[data-theme="dark"] .word-mark::after { background: #23436a; }
html[data-theme="dark"] .hero-art { background: #172b47; }
html[data-theme="dark"] .art-orbit { border-color: #345274; }
html[data-theme="dark"] .art-word { color: #2b466a; }
html[data-theme="dark"] .art-kicker { color: #a3bcdf; }
html[data-theme="dark"] .poster { border-color: #d7e5f6; }
html[data-theme="dark"] .art-stamp,
html[data-theme="dark"] .art-caption { background: #1b2d47; border-color: #38506e; box-shadow: 0 9px 30px #0003; }
html[data-theme="dark"] .hero-gallery-button:hover,
html[data-theme="dark"] .text-link:hover .circle-arrow { background: #2a4160; }
html[data-theme="dark"] .expertise-band { background: #142137; }
html[data-theme="dark"] .clients-section { background: var(--paper); }
html[data-theme="dark"] .approach-section { background: #101e33; }
html[data-theme="dark"] .service:hover { background: #14233a; }
html[data-theme="dark"] .service-top > span { color: #a1b2cb; }
html[data-theme="dark"] .work-section { background: #101c2e; }
html[data-theme="dark"] .filter { border-color: #3c516c; }
html[data-theme="dark"] .filter.active { background: #294b78; border-color: #678fca; color: #fff; }
html[data-theme="dark"] .filter:hover:not(.active) { background: #1c304c; }
html[data-theme="dark"] .work-image { background: #1b2a41; }
html[data-theme="dark"] .work-tag { background: #142035f2; color: #e7eefb; }
html[data-theme="dark"] .work-open { background: #15243def; color: #e7eefb; }
html[data-theme="dark"] .work-card:hover .work-open { background: #076cf0; color: #fff; }
html[data-theme="dark"] .work-gallery-toolbar { border-color: var(--line); }
html[data-theme="dark"] .work-page-controls > button { background: var(--surface); border-color: #3c516c; }
html[data-theme="dark"] .work-page-controls > button:hover { background: #294b78; color: #fff; }
html[data-theme="dark"] .work-empty { background: var(--surface); border-color: #476080; }
html[data-theme="dark"] .work-empty-icon { background: #243d60; }
html[data-theme="dark"] .results-board,
html[data-theme="dark"] .package { background: var(--surface); box-shadow: 0 18px 55px #0002; }
html[data-theme="dark"] .metrics,
html[data-theme="dark"] .metrics > div { border-color: var(--line); }
html[data-theme="dark"] .youtube-icon { background: #482c32; color: #ffa29e; }
html[data-theme="dark"] .package-featured { background: #182e4b; border-color: #5279a9; }
html[data-theme="dark"] .platforms-section { background: #0d1727; }
html[data-theme="dark"] .platform-card { background: var(--surface); }
html[data-theme="dark"] .platform-art { background: radial-gradient(circle at 65% 40%,#243f64,#13243c); }
html[data-theme="dark"] .studio-panel { border: 1px solid var(--line); }
html[data-theme="dark"] .contact-section { background: #13243b; }
html[data-theme="dark"] .contact-number > svg { border-color: #476489; }
html[data-theme="dark"] .contact-form { background: #142035; border-color: #344966; }
html[data-theme="dark"] .contact-form input,
html[data-theme="dark"] .contact-form select,
html[data-theme="dark"] .contact-form textarea { background: #0e192b; border-color: #3b4f6b; color: #e7eefb; }
html[data-theme="dark"] .contact-form input::placeholder,
html[data-theme="dark"] .contact-form textarea::placeholder { color: #9fadc4; }
html[data-theme="dark"] .contact-form > .privacy-note { color: #a7b6cd; }
html[data-theme="dark"] .site-footer.mada-footer { background: #0d192b; border-color: #304765; color: #c4d5ee; }
html[data-theme="dark"] .mada-footer .footer-wordmark,
html[data-theme="dark"] .mada-footer h2 { color: #e7eefb; }
html[data-theme="dark"] .mada-footer .footer-about > p,
html[data-theme="dark"] .mada-footer .footer-column a,
html[data-theme="dark"] .mada-footer .footer-slogan,
html[data-theme="dark"] .mada-footer .footer-legal,
html[data-theme="dark"] .mada-footer .footer-language { color: #b1c4e0; }
html[data-theme="dark"] .mada-footer .footer-column a:hover { color: var(--blue); }
html[data-theme="dark"] .mada-footer .footer-legal { border-color: #304765; }
html[data-theme="dark"] .mada-footer .footer-social a { background: #223b5b; color: #deebff; }
html[data-theme="dark"] .mada-footer .footer-social a:hover { background: #355883; color: #fff; }
html[data-theme="dark"] .floating-social-label { background: #294568; }
html[data-theme="dark"] .dialog-inner > img { background: #0b1220; }
html[data-theme="dark"] .dialog-close { background: #22344e; color: #fff; }
html[data-theme="dark"] .dialog-close:hover { background: #314c70; }
html[data-theme="dark"] .noscript-note { background: var(--surface); }

@media (max-width: 1100px) { .nav-actions { margin-inline-start: auto; } }
@media (max-width: 650px) {
  .nav-actions { gap: 8px; }
  .nav-actions .nav-cta { width: 40px; min-height: 40px; padding: 0; border-radius: 8px; margin: 0; }
  .nav-cta [data-cms] { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
  .theme-toggle { width: 40px; height: 40px; }
}

/* cursor.css */
/* A native transparent cursor stays aligned with clicks, including in dialogs.
   The white outer edge keeps the blue ring visible over both photos and themes. */
@media (hover: hover) and (pointer: fine) {
  html { --mada-cursor: url("assets/cursor-ring.svg") 16 16, default; }
  html, body, body * { cursor: var(--mada-cursor) !important; }
  :is(a[href], button, summary, select, label[for], [role="button"], [role="link"], input[type="checkbox"], input[type="radio"], input[type="range"], input[type="color"], input[type="file"]) {
    --mada-cursor: url("assets/cursor-ring-link.svg") 22 22, pointer;
  }
  :is(input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="color"]):not([type="file"]):not([type="submit"]):not([type="button"]):not([type="reset"]), textarea, [contenteditable="true"], [contenteditable=""]) {
    --mada-cursor: text;
  }
  :is(button:disabled, input:disabled, select:disabled, textarea:disabled, [aria-disabled="true"]) {
    --mada-cursor: not-allowed;
  }
}
@media (forced-colors: active) {
  html, body, body * { cursor: revert !important; }
}

/* language.css */
.language-toggle { min-height: 42px; padding: 7px 10px; border: 1px solid var(--line); border-radius: 9px; background: transparent; color: var(--navy); font-size: 12px; font-weight: 700; white-space: nowrap; }
.language-toggle:hover { background: var(--ice); border-color: var(--blue); }
[data-language-short] { display: none; }
button.footer-language { border: 0; background: none; padding: 0; font: inherit; }
html[lang="en"] body { font-family: Arial, Helvetica, sans-serif; line-height: 1.75; }
html[lang="en"] :is(h1,h2,h3,.work-meta strong,.client-identity h3,.client-stats dd) { font-family: Arial, Helvetica, sans-serif; }
html[lang="en"] h2 { line-height: 1.2; letter-spacing: -1px; }
html[lang="en"] .hero h1 { font-size: clamp(28px,8.8cqw,46px); line-height: 1.2; letter-spacing: -1.4px; gap: .15em; }
html[lang="en"] .hero-copy > p { line-height: 1.8; }
html[lang="en"] .hero-copy > p br { display: none; }
html[lang="en"] .hero-copy > p span + span::before { content: ' '; }
html[lang="en"] .hero-title-line [data-cms], html[lang="en"] .section-heading [data-cms] { white-space: normal; }
html[lang="en"] .art-caption, html[lang="en"] .art-stamp, html[lang="en"] .dialog-content { direction: ltr; }
html[lang="en"] .art-word { font: 700 105px/1 Arial, sans-serif; letter-spacing: -10px; }
html[lang="en"] .art-caption-link > .caption-label { font-size: 11px; }
html[lang="en"] .art-stamp { gap: 8px; }
html[lang="en"] .section-heading > p { line-height: 1.8; }
html[lang="en"] .work-card, html[lang="en"] .client-feature { text-align: left; }
html[lang="en"] .work-meta strong { font-size: 18px; }
html[lang="en"] .service h3 { font-size: 22px; }
html[lang="en"] .service p { min-height: 82px; line-height: 1.75; }
html[lang="en"] .package h3 { font-size: 28px; }
html[lang="en"] .package li { padding-right: 0; padding-left: 22px; }
html[lang="en"] .package li::before { right: auto; left: 0; }
html[lang="en"] .contact-copy h2 > svg { left: auto; right: 0; transform: scaleX(-1); }
html[lang="en"] .clients-track { direction: ltr; }
html[lang="en"] .client-identity h3 { font-size: 17px; line-height: 1.5; }
html[lang="en"] .client-position { font-family: Arial, sans-serif; }
html[lang="en"] .desktop-nav a.active::after, html[lang="en"] .desktop-nav a::before { right: auto; left: 0; }
html[lang="en"] .site-header::after { transform-origin: left; }
html[lang="en"] :is(.client-previous,.work-page-previous,.gallery-previous) > svg { transform: none; }
html[lang="en"] :is(.client-next,.work-page-next,.gallery-next) > svg { transform: rotate(180deg); }
html[lang="en"] :is(.button,.text-link) > svg:has(use[href="#arrow"]) { transform: rotate(180deg); }
html[lang="en"] .button > svg:has(use[href="#up-left"]) { transform: scaleX(-1); }
html[lang="en"] .search-bars h3 { font-family: Arial, sans-serif; }
html[lang="en"] .metrics > div { border-left: 0; border-right: 1px solid var(--line); }
html[lang="en"] .metrics > div:last-child { border: 0; }
html[lang="en"] .faq-list details p { padding-right: 24px; padding-left: 0; }
html[lang="en"] .studio-copy h2 { font-size: clamp(30px,3vw,40px); }
html[lang="en"] .platform-copy h3 { text-align: left; }
@media (min-width: 1101px) { .nav-wrap { gap: 18px; } .desktop-nav { gap: 18px; } }
@media (max-width: 650px) {
  .language-toggle { width: 40px; min-height: 40px; padding: 5px; }
  .language-toggle [data-language-label] { display: none; }
  .language-toggle [data-language-short] { display: inline; }
  .nav-actions { gap: 6px; }
  html[lang="en"] .contact-copy h2 { font-size: 53px; }
  html[lang="en"] .approach-copy h2 { font-size: 38px; }
  html[lang="en"] .service h3 { font-size: 18px; }
  html[lang="en"] .service p { min-height: 120px; }
  html[lang="en"] .art-caption-link > .caption-label { font-size: 9px; }
}
@media (max-width: 370px) { .brand { width: 88px; } }

/* header.css */
/* Header typography uses the regular Cairo face; the older bold file is Black. */
.site-header {
  --header-surface: #f1f5fa;
  --header-border: #e3eaf3;
  --header-hover: #e7eef8;
  --header-selected: #e1edff;
  --header-accent: #075bc8;
  background: #f8fafc;
  border-bottom: 1px solid var(--header-border);
  /* An opaque sticky header avoids repainting a full-width backdrop on scroll. */
  backdrop-filter: none;
  font-family: Cairo, Arial, sans-serif;
  font-weight: 400;
}
.site-header.is-scrolled { background: #f8fafc; }
.site-header .nav-wrap {
  width: min(1320px, calc(100% - 80px));
  height: 100px;
  gap: 28px;
}
.site-header .brand { width: 132px; }
.site-header .brand img { max-height: 52px; object-fit: contain; }
.site-header .desktop-nav {
  display: flex;
  justify-content: center;
  flex-shrink: 0;
  gap: 3px;
  padding: 5px;
  border: 1px solid var(--header-border);
  border-radius: 17px;
  background: var(--header-surface);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.7;
}
.site-header .desktop-nav a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 8px 12px;
  border-radius: 11px;
  color: var(--muted);
  transition: color .2s, background .2s, box-shadow .2s;
}
.site-header .desktop-nav a:hover { color: var(--navy); background: var(--header-hover); }
.site-header .desktop-nav a.active {
  color: var(--header-accent);
  background: var(--header-selected);
  box-shadow: inset 0 0 0 1px #076cf018;
}
.site-header::after,
.site-header .desktop-nav a::before,
.site-header .desktop-nav a.active::after { content: none; }
.site-header .nav-actions { gap: 8px; margin-inline-start: 0; }
.site-header :is(.theme-toggle, .language-toggle, .menu-toggle) {
  height: 44px;
  min-height: 44px;
  border: 1px solid var(--header-border);
  border-radius: 12px;
  background: transparent;
  color: var(--navy);
}
.site-header .theme-toggle { width: 44px; }
.site-header .theme-toggle svg { width: 19px; height: 19px; stroke-width: 1.5; }
.site-header .language-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  gap: 8px;
  min-width: 104px;
  padding: 8px 15px;
  border-radius: 999px;
  background: var(--header-surface);
  color: var(--header-accent);
  font: 500 14px/1.5 Cairo, Arial, sans-serif;
  transition: background .2s, border-color .2s;
}
.site-header .language-toggle[lang="en"] { font-family: Arial, sans-serif; font-size: 13px; }
.site-header .language-icon { width: 18px; height: 18px; stroke-width: 1.65; }
.site-header .language-toggle:focus-visible { outline: 3px solid #f2ac3c; outline-offset: 3px; }
.site-header :is(.theme-toggle, .language-toggle, .menu-toggle):hover {
  background: var(--header-hover);
  border-color: var(--line);
}
.site-header .nav-cta {
  min-height: 46px;
  margin: 0;
  margin-inline-start: 6px;
  padding: 10px 19px;
  gap: 18px;
  border-radius: 12px;
  background: var(--brand-primary, #076cf0);
  color: #fff;
  font: 700 14px/1.6 Plex, Cairo, sans-serif;
  white-space: nowrap;
}
.site-header .nav-cta:hover { background: var(--blue-dark); box-shadow: 0 5px 18px #076cf026; }
.site-header .nav-cta svg { width: 17px; height: 17px; }
.site-header .mobile-menu {
  padding: 14px;
  border: 1px solid var(--header-border);
  border-radius: 16px;
  background: var(--paper);
}
.site-header .mobile-menu a {
  padding: 13px 16px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 400;
}
.site-header .mobile-menu a:hover { background: var(--header-hover); }
.site-header .mobile-menu a.active { color: var(--header-accent); background: var(--header-selected); }
html[lang="en"] .site-header,
html[lang="en"] .site-header .nav-cta { font-family: Arial, Helvetica, sans-serif; }
html[lang="en"] .site-header .desktop-nav { font-size: 13px; }
html[data-theme="dark"] .site-header {
  --header-surface: #141f31;
  --header-border: #263348;
  --header-hover: #1d2b40;
  --header-selected: #213c60;
  --header-accent: #a8cdff;
}
html[data-theme="dark"] .site-header,
html[data-theme="dark"] .site-header.is-scrolled { background: #0c1321; border-color: #ffffff0c; }
html[data-theme="dark"] .site-header .mobile-menu { background: #101b2d; }
html[data-theme="dark"] .site-header .nav-cta { background: var(--brand-primary, #076cf0); }
html[data-theme="dark"] .site-header .nav-cta:hover { background: var(--blue-dark); }
@media (max-width: 1240px) {
  .site-header .nav-wrap { height: 88px; }
  .site-header .desktop-nav { display: none; }
  .site-header .menu-toggle { display: flex; }
  .site-header .nav-actions { margin-inline-start: auto; }
  .site-header .mobile-menu {
    position: absolute;
    top: calc(100% + 8px);
    inset-inline: 40px;
    max-height: calc(100dvh - 112px);
    overflow-y: auto;
    overscroll-behavior: contain;
    box-shadow: 0 20px 45px #0002;
  }
}
@media (min-width: 1241px) { .site-header .mobile-menu { display: none; } }
@media (max-width: 650px) {
  .site-header .nav-wrap { width: calc(100% - 36px); height: 78px; gap: 12px; }
  .site-header .brand { width: 108px; }
  .site-header .nav-actions { gap: 6px; }
  .site-header :is(.theme-toggle, .language-toggle, .menu-toggle, .nav-cta) {
    width: 44px;
    min-height: 44px;
    height: 44px;
    padding: 0;
    border-radius: 11px;
    margin: 0;
  }
  .site-header .language-toggle { width: 56px; min-width: 56px; padding: 0 6px; gap: 5px; border-radius: 999px; }
  .site-header .language-icon { width: 16px; height: 16px; }
  .site-header .language-toggle[lang="en"] { font-size: 11px; }
  .site-header .mobile-menu { inset-inline: 18px; max-height: calc(100dvh - 100px); }
  .site-header .nav-cta [data-cms] {
    position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap;
  }
}
@media (max-width: 370px) {
  .site-header .nav-wrap { width: calc(100% - 24px); gap: 8px; }
  .site-header .brand { width: 88px; }
  .site-header .nav-actions { gap: 4px; }
}
@media (prefers-reduced-motion: reduce) {
  .site-header, .site-header * { transition: none; }
}

/* results.css */
/* Keep the results board legible as a standalone dark panel in either theme. */
.results-section { grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr); gap: clamp(28px, 5vw, 70px); }
.results-section > * { min-width: 0; }
.results-section .results-board {
  container: results / inline-size;
  position: relative;
  width: 100%;
  max-width: 100%;
  padding: 28px;
  border: 1px solid #2c4160;
  border-radius: 26px;
  background: #10213b;
  color: #f7faff;
  box-shadow: 0 24px 60px -28px #10213b55;
}
html[data-theme="dark"] .results-section .results-board {
  background: #10213b;
  border-color: #2c4160;
  box-shadow: 0 24px 60px -28px #0006;
}
.results-board .board-heading { gap: 18px; margin-bottom: 24px; }
.results-board .board-heading > div { min-width: 0; overflow-wrap: anywhere; }
.results-board .board-heading strong { font-family: Plex, Cairo, Arial, sans-serif; font-size: 25px; color: #fff; }
.results-board .board-heading > div > span { color: #aebfd7; font-size: 12px; margin-top: 2px; }
.results-board .youtube-icon { width: 48px; height: 48px; border: 1px solid #ffffff14; border-radius: 15px; background: #ffffff09; color: #ff6268; }
.results-board .youtube-icon svg { width: 28px; height: 28px; }
.results-board .youtube-icon path { fill: #fff; }
.results-board .metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 0; padding: 0; border: 0; }
.results-board .metrics > .result-metric {
  min-width: 0;
  padding: 20px;
  text-align: start;
  border: 1px solid #ffffff13;
  border-radius: 18px;
  background: #ffffff05;
}
.results-board .metric-caption { display: flex; align-items: center; gap: 10px; }
.results-board .metric-icon { display: grid; place-items: center; flex-shrink: 0; width: 30px; height: 30px; color: #94bffa; }
.results-board .metric-icon svg { width: 23px; height: 23px; stroke-width: 1.6; }
.results-board .metric-label { color: #b7c9e1; font-size: 12px; line-height: 1.7; overflow-wrap: anywhere; }
.results-board .metrics .metric-value {
  display: block;
  margin-top: 12px;
  color: #fff;
  font: 700 clamp(28px, 7cqi, 37px)/1.2 Arial, sans-serif;
  font-variant-numeric: tabular-nums;
  letter-spacing: -1px;
  text-align: end;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.results-board .result-metric:first-child {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr);
  align-items: center;
  gap: 20px;
  padding: 24px;
  border-color: #3a67a1;
  background: #193c6b;
}
.results-board .result-metric:first-child .metric-caption { flex-direction: column; align-items: flex-start; gap: 9px; }
.results-board .result-metric:first-child .metric-icon { width: 38px; height: 38px; border-radius: 12px; background: #a6caff18; color: #c7dfff; }
.results-board .result-metric:first-child .metric-label { color: #d2e3fb; }
.results-board .result-metric:first-child .metric-value { margin: 0; font-size: clamp(38px, 12cqi, 64px); letter-spacing: -2px; text-align: start; }
.results-board .metrics .metric-value-detailed { font-size: clamp(18px, 6.5cqi, 34px); letter-spacing: -.5px; }
@container results (max-width: 380px) {
  .results-board .metrics > .result-metric { padding: 16px; }
  .results-board .metric-caption { flex-direction: column; align-items: flex-start; gap: 6px; }
  .results-board .metric-label { font-size: 11px; }
  .results-board .result-metric:first-child { gap: 12px; padding: 20px; }
}
@container results (max-width: 310px) {
  .results-board .metrics > .result-metric { padding: 12px; }
  .results-board .metrics .metric-value { font-size: clamp(22px, 9cqi, 28px); letter-spacing: -.5px; }
  .results-board .result-metric:first-child { grid-template-columns: minmax(0, 1fr); gap: 14px; padding: 16px; }
  .results-board .result-metric:first-child .metric-caption { flex-direction: row; align-items: center; gap: 9px; }
  .results-board .result-metric:first-child .metric-value { font-size: clamp(36px, 16cqi, 48px); }
}
@media (max-width: 850px) {
  .results-section { grid-template-columns: minmax(0, 1fr); }
  .results-section .results-board { width: 100%; max-width: 620px; }
}
@media (max-width: 650px) {
  .results-section .results-board { padding: 20px; border-radius: 22px; }
  .results-board .board-heading { margin-bottom: 20px; }
  .results-board .board-heading strong { font-size: 23px; }
  .results-board .metrics { gap: 10px; }
}
@media (max-width: 370px) {
  .results-section .results-board { padding: 16px; }
}

/* package-cards.css */
/* Each row shares its intro, features and action baselines when subgrid is available. */
.packages-grid { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 24px; align-items: stretch; }
.packages-grid:has(> .package:where(:nth-child(4):last-child)) { grid-template-columns: repeat(2,minmax(0,1fr)); }
.packages-grid:has(> .package:where(:only-child)) { grid-template-columns: minmax(0,580px); justify-content: center; }
.packages-grid:has(> .package:where(:nth-child(2):last-child)) { grid-template-columns: repeat(2,minmax(0,1fr)); }
.packages-grid .package {
  --package-tint: #edf4fd;
  --package-accent: var(--brand-primary,#076cf0);
  min-width: 0;
  padding: 30px;
  gap: 26px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--surface,#fff);
  box-shadow: 0 8px 32px #10223e06;
  scroll-margin-top: 110px;
}
.packages-grid .package:target { outline: 2px solid var(--blue); outline-offset: 4px; }
.package .package-intro { grid-row: 1; min-width: 0; }
.package .package-header { margin: 0; }
.package .package-topline { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 20px; }
.package .package-kicker { display: flex; align-items: center; gap: 12px; min-width: 0; flex: 1; }
.package .package-icon { display: grid; place-items: center; flex-shrink: 0; width: 42px; height: 42px; border-radius: 13px; background: var(--package-tint); color: var(--package-accent); }
.package .package-icon svg { width: 23px; height: 23px; stroke-width: 1.5; }
.package .package-header .package-overline { display: block; height: auto; margin: 0; padding: 0; background: none; color: var(--muted); font-size: 12px; font-weight: 600; line-height: 1.7; overflow-wrap: anywhere; }
.package .package-badge { padding: 5px 11px; border: 1px solid #076cf025; border-radius: 999px; background: var(--package-tint); color: var(--package-accent); font-size: 11px; font-weight: 700; line-height: 1.7; }
.packages-grid .package .package-header h3 { margin: 0; font-size: 26px; line-height: 1.5; letter-spacing: 0; overflow-wrap: anywhere; }
.package .package-header p { margin: 10px 0 0; min-height: 0; max-width: 42ch; font-size: 14px; line-height: 1.9; color: var(--muted); overflow-wrap: anywhere; }
.package .package-price { display: flex; flex-direction: column; gap: 7px; margin: 24px 0 0; padding: 0; border: 0; border-radius: 0; background: transparent; }
.package .package-price-label { font-size: 12px; font-weight: 400; line-height: 1.7; color: var(--muted); }
.package .package-price-value { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 12px; min-width: 0; }
.package .package-price strong { max-width: 100%; font-size: 46px; font-weight: 700; line-height: 1.2; letter-spacing: 0; font-variant-numeric: tabular-nums; color: var(--navy); overflow-wrap: anywhere; }
.package .package-price-note { font-size: 13px; line-height: 1.8; color: var(--muted); overflow-wrap: anywhere; }
.package .package-contents { grid-row: 2; flex: 1; min-width: 0; margin: 0; padding: 24px 0 0; border: 0; border-top: 1px solid var(--line); }
.package .package-contents h4 { margin: 0 0 17px; font-size: 14px; font-weight: 700; line-height: 1.7; color: var(--navy); }
.package .package-contents ul { display: grid; gap: 13px; margin: 0; padding: 0; border: 0; list-style: none; }
.packages-grid .package .package-contents li { position: relative; margin: 0; padding: 0; padding-inline-start: 31px; min-height: 26px; font-size: 14px; line-height: 1.85; color: var(--navy); overflow-wrap: anywhere; }
.packages-grid .package .package-contents li::before { display: grid; place-items: center; left: auto; right: auto; inset-inline-start: 0; top: 3px; width: 20px; height: 20px; border-radius: 50%; background: var(--package-tint); color: var(--package-accent); font: 12px/1 Arial,sans-serif; }
.packages-grid .package > .button { grid-row: 3; align-self: end; justify-content: space-between; width: 100%; margin: auto 0 0; min-height: 54px; padding: 11px 16px; border: 1px solid var(--line); border-radius: 14px; background: transparent; color: var(--navy); font-size: 14px; line-height: 1.7; text-align: start; gap: 12px; box-shadow: none; }
.packages-grid .package > .button > span { min-width: 0; overflow-wrap: anywhere; }
.packages-grid .package > .button > svg { flex-shrink: 0; width: 30px; height: 30px; padding: 6px; border-radius: 50%; background: var(--package-tint); }
.packages-grid .package > .button:hover { background: var(--package-tint); border-color: var(--package-accent); color: var(--package-accent); }
.packages-grid .package > .button:focus-visible { outline: 3px solid var(--blue); outline-offset: 4px; }
.packages-grid .package-featured { --package-tint: #dfecff; background: linear-gradient(145deg,#f1f7ff,#fff 75%); border-color: #83b5fc; box-shadow: 0 8px 32px #076cf00a; }
.packages-grid .package-featured > .button { background: var(--brand-primary,#076cf0); border-color: var(--brand-primary,#076cf0); color: #fff; }
.packages-grid .package-featured > .button > svg { background: #ffffff20; }
.packages-grid .package-featured > .button:hover { background: var(--blue-dark); border-color: var(--blue-dark); color: #fff; }
html[data-theme="dark"] .packages-grid .package { --package-tint: #203550; --package-accent: var(--blue); border-color: #30415a; box-shadow: 0 8px 32px #0001; }
html[data-theme="dark"] .packages-grid .package-featured { --package-tint: #28466e; background: linear-gradient(145deg,#1b3354,#142035 75%); border-color: #608abd; }
html[data-theme="dark"] .package .package-badge { border-color: #85b6ff30; }
@supports (grid-template-rows: subgrid) {
  .packages-grid .package { display: grid; grid-row: span 3; grid-template-rows: subgrid; }
}
@media(max-width:1000px) { .packages-grid { grid-template-columns: repeat(2,minmax(0,1fr)); } .packages-grid .package { padding: 26px; } }
@media(max-width:650px) {
  .packages-grid, .packages-grid:has(> .package) { grid-template-columns: minmax(0,1fr); gap: 18px; }
  .packages-grid .package { display: flex; grid-row: auto; padding: 24px; gap: 24px; border-radius: 22px; }
  .packages-grid .package .package-header h3 { font-size: 24px; }
  .package .package-price strong { font-size: 42px; }
  .package .package-topline { gap: 10px; margin-bottom: 18px; }
  .package .package-icon { width: 38px; height: 38px; border-radius: 12px; }
  .package .package-contents { padding-top: 22px; }
}

/* responsive.css */
/* Let content columns shrink before long CMS text or form controls overflow. */
.hero > *, .section-heading > *, .approach-grid > *, .faq-section > *,
.platform-card > *, .studio-panel > *, .contact-grid > *, .form-row > *,
.dialog-inner > *, .footer-grid > * { min-width: 0; }
.service h3, .service p, .service-link, .dialog-content h2, .dialog-content p,
.platform-copy h3, .platform-copy p, .footer-column a { overflow-wrap: anywhere; }
.contact-form :is(input,select,textarea) { min-width: 0; max-width: 100%; }
.hero-actions { flex-wrap: wrap; }
.work-tag { max-width: calc(100% - 30px); overflow-wrap: anywhere; }
.contact-number > span { min-width: 0; }
.contact-number strong { overflow-wrap: anywhere; }
.dialog-inner { grid-template-columns: minmax(0,1.1fr) minmax(0,1fr); }

/* Keep explanatory text readable without competing with the display headings. */
.hero-copy > p { font-size: 16px; }
.hero-copy > .hero-description { max-width: 460px; text-align: start; overflow-wrap: anywhere; }
.hero-description-lead { display: block; margin-bottom: 8px; color: var(--navy); font-size: 18px; font-weight: 600; line-height: 1.7; text-wrap: balance; }
.hero-description-detail { display: block; color: var(--muted); line-height: 1.9; text-wrap: pretty; }
.section-heading > p, .service p, .results-copy > p, .faq-list details p,
.platform-copy > p, .clients-heading p { font-size: 15px; line-height: 1.9; }
.faq-list summary { font-size: 15px; line-height: 1.8; }
.work-intro-description, .contact-copy > p { font-size: 15px; }
.hero-note, .results-copy > small, .work-gallery-count { font-size: 12px; line-height: 1.9; }
.service-link { font-size: 13px; }
.hero-actions .text-link { min-height: 44px; font-size: 14px; }
.work-show-all, .work-collapse, .is-expanded .work-show-all { font-size: 14px; }

.package .package-header p, .packages-grid .package .package-contents li,
.packages-grid .package > .button { font-size: 14px; }
.package .package-price-label, .package .package-header .package-overline { font-size: 12px; }
.package .package-contents h4 { font-size: 14px; }

.client-identity p, .client-stats dt, .client-note,
.client-feature-label > span, .client-feature-label > small { font-size: 12px; }
.client-feature-label { flex-wrap: wrap; gap: 6px 12px; }
.client-feature-body > strong { font-size: 13px; }

.contact-form > p { font-size: 14px; }
.contact-form label { font-size: 14px; }
.contact-form label > span[data-cms] { color: var(--navy); }
.contact-form label > small { font-size: 12px; }
.contact-form :is(input,select,textarea) { font-size: 16px; line-height: 1.6; }
.contact-form input::placeholder, .contact-form textarea::placeholder {
  font-size: inherit;
  color: var(--muted);
  opacity: 1;
}
.contact-form > .button { font-size: 14px; }
.contact-form > .privacy-note { font-size: 12px; color: var(--muted); }

.mada-footer .footer-about > p, .mada-footer .footer-column a { font-size: 14px; }
.mada-footer .footer-slogan, .mada-footer .footer-legal { font-size: 12px; }
.mada-footer .footer-column a { display: inline-flex; align-items: center; min-height: 44px; padding-block: 6px; }
.mada-footer li + li { margin-top: 0; }
.mada-footer .footer-language { min-height: 44px; }
.mada-footer .footer-social { flex-wrap: wrap; }
.mada-footer .footer-social a { width: 44px; height: 44px; flex-shrink: 0; }

@media(min-width:851px) {
  .services-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
}
@media(max-width:850px) {
  .services-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media(max-width:650px) {
  .services-grid { grid-template-columns: minmax(0,1fr); }
  .service { padding: 24px; }
  .service h3, html[lang="en"] .service h3 { font-size: 22px; }
  .service h3, .service p, html[lang="en"] .service p { min-height: 0; }
  .dialog-inner { grid-template-columns: minmax(0,1fr); }
  .contact-copy h2 { font-size: clamp(42px,12vw,66px); }
  html[lang="en"] .contact-copy h2 { font-size: clamp(38px,10vw,53px); }
  .contact-copy h2 > svg { width: 1em; height: 1em; }
  .client-controls button { width: 44px; height: 44px; }
  .contact-form :is(input,select,textarea) { font-size: 16px; }
}

/* Phone polish (650px and below): readable small labels, nothing decorative over text,
   carousel arrows under the cards instead of on top of them, and smaller floating buttons. */
@media (max-width: 650px) {
  /* Decorative hero icons drift over the heading and the promise line on narrow screens. */
  .hero-atmosphere .hero-float { display: none; }
  /* Section labels and captions were 10-11px. */
  main .eyebrow, main .eyebrow > span { font-size: 12px; }
  .result-metric .metric-label, .contact-copy .location, .contact-copy small, .contact-copy small > span { font-size: 12px; }
  .art-caption-link .caption-label, .art-caption-link .caption-label > span { font-size: 11px; }
  .art-caption-link { min-height: 32px; align-items: center; }
  .results-copy .text-link { min-height: 44px; display: inline-flex; align-items: center; }
  /* Clients: arrows sit side by side under the cards; swiping still works. */
  .clients-section > .container > .client-controls:not([hidden]) ~ .clients-track { grid-column: 1 / -1; grid-row: 2; }
  .clients-section .client-controls:not([hidden]) > button { grid-column: 1 / -1; grid-row: 3; justify-self: center; width: 44px; height: 44px; margin: 6px 0 0; box-shadow: none; }
  .clients-section .client-controls:not([hidden]) > .client-previous { margin-inline: 0 56px; }
  .clients-section .client-controls:not([hidden]) > .client-next { margin-inline: 56px 0; }
  /* While a form is on screen (class set in app.js) they would cover its fields. */
  .floating-social, .floating-whatsapp { transition: opacity .2s ease, visibility .2s; }
  html.form-in-view :is(.floating-social, .floating-whatsapp) { opacity: 0; visibility: hidden; pointer-events: none; }
}

/* Floating contact buttons: one stack at mid-height on every screen, the social links right above
   WhatsApp, all the same size, with a light glow. The rail has 6px padding, so its bottom sits 1px
   below the middle line and WhatsApp starts 5px below it: a 10px gap between the buttons. */
.floating-social { top: auto; bottom: calc(50% - 1px); transform: none; left: calc(10px + env(safe-area-inset-left, 0px)); max-height: calc(50vh - 24px); max-height: calc(50svh - 24px); }
.floating-whatsapp { top: calc(50% + 5px); bottom: auto; left: calc(16px + env(safe-area-inset-left, 0px)); }
.floating-social .floating-social-link { flex-basis: 52px; width: 52px; height: 52px; }
.floating-social .floating-social-link svg { width: 22px; height: 22px; }
.mada-footer .footer-legal { padding-bottom: 20px; }
@media (max-width: 650px) {
  .floating-social { left: calc(4px + env(safe-area-inset-left, 0px)); }
  .floating-whatsapp { left: calc(10px + env(safe-area-inset-left, 0px)); }
  .floating-social .floating-social-link { flex-basis: 48px; width: 48px; height: 48px; }
  .floating-social .floating-social-link svg { width: 21px; height: 21px; }
}
/* Light glow: a soft colored shadow, and a faint ring that breathes slowly. */
.floating-social-link, .floating-whatsapp { box-shadow: 0 6px 18px -8px var(--contact-halo), 0 0 0 1px color-mix(in srgb, var(--contact-halo) 18%, transparent); }
@keyframes contact-glow-soft {
  0%, 100% { opacity: .18; transform: scale(1); }
  50% { opacity: .42; transform: scale(1.07); }
}
@media (prefers-reduced-motion: no-preference) {
  html:not(.motion-disabled) :is(.floating-social-link, .floating-whatsapp)::after {
    border: 1px solid var(--contact-halo); box-shadow: 0 0 10px color-mix(in srgb, var(--contact-halo) 45%, transparent);
    animation: contact-glow-soft 3.6s ease-in-out infinite;
  }
  html:not(.motion-disabled) .floating-whatsapp::after { border-color: #25d366; box-shadow: 0 0 10px #25d36666; animation-delay: 1.8s; }
  html.motion-paused :is(.floating-social-link, .floating-whatsapp)::after { animation-play-state: paused; }
}

/* Pinterest in the floating stack: a red circle with a white "P", like the other buttons. */
.floating-pinterest { background: #e60023; --contact-halo: #e60023; }

/* contact.css */
.contact-copy > .section-label {
  max-width: 36ch;
  margin-bottom: 20px;
  font-size: 12px;
  line-height: 1.8;
  letter-spacing: 0;
}
.contact-copy .contact-title {
  display: grid;
  gap: .04em;
  max-width: 100%;
  font-size: clamp(38px,4.8vw,62px);
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: 0;
  text-align: start;
  overflow-wrap: anywhere;
}
.contact-copy .contact-title > span:first-child { color: var(--navy); }
.contact-title-line {
  display: flex;
  align-items: center;
  gap: .25em;
  color: var(--blue);
}
.contact-title-line > span { min-width: 0; }
.contact-title-arrow {
  width: .7em;
  height: .7em;
  flex: none;
  stroke-width: 1.4;
}
html[lang="en"] .contact-copy .contact-title {
  font-size: clamp(32px,4.3vw,56px);
  line-height: 1.18;
  letter-spacing: -.025em;
}
html[lang="en"] .contact-title-arrow { transform: scaleX(-1); }
@media(max-width:650px) {
  .contact-copy > .section-label { margin-bottom: 16px; font-size: 11px; }
  .contact-copy .contact-title { font-size: clamp(38px,10vw,48px); }
  html[lang="en"] .contact-copy .contact-title { font-size: clamp(34px,9.5vw,46px); }
}
/* lighter field text: fields inherit the bold label font, so reset the weight. */
html .contact-form :is(input,select,textarea){font-weight:400}
html .contact-form :is(input,textarea)::placeholder{font-weight:400;opacity:.75}

/* approach.css */
.approach-copy { max-width: 520px; container-type: inline-size; }
.approach-copy > .section-label { gap: 10px; margin-bottom: 24px; color: #a8c9fc; font-size: 12px; line-height: 1.6; }
.approach-copy > .section-label::before { content: ""; width: 22px; height: 2px; flex-shrink: 0; border-radius: 2px; background: currentColor; }
.approach-copy .approach-title { display: flex; flex-direction: column; gap: .18em; margin: 0; font-size: clamp(30px,8.4cqw,44px); line-height: 1.4; letter-spacing: 0; text-wrap: balance; }
.approach-title > .approach-title-lead { color: #f6f9ff; font-size: 1em; line-height: inherit; }
.approach-title > .approach-title-message { color: #9cc3ff; text-wrap: balance; overflow-wrap: anywhere; }
.approach-copy > p { max-width: 430px; margin-top: 22px; color: #c1cde0; font-size: 15px; line-height: 2; text-wrap: pretty; }
.approach-copy .approach-sign { width: fit-content; max-width: 100%; gap: 12px; margin-top: 28px; padding-top: 20px; border-top: 1px solid #a8c9fc30; color: #e4edfc; font-size: 13px; line-height: 1.8; }
.approach-copy .approach-sign svg { order: -1; width: 24px; height: 24px; flex-shrink: 0; color: #9cc3ff; }
html[lang="en"] .approach-copy .approach-title { font-size: clamp(28px,7.6cqw,40px); line-height: 1.3; letter-spacing: -.4px; }
html[lang="en"] .approach-copy > .section-label { letter-spacing: 1.2px; }
html[lang="en"] .approach-copy > p { line-height: 1.85; }
@media(max-width:650px) {
  .approach-copy { max-width: 560px; }
  .approach-copy > .section-label { margin-bottom: 20px; font-size: 11px; }
  .approach-copy .approach-title { font-size: clamp(28px,8.8cqw,36px); }
  html[lang="en"] .approach-copy .approach-title { font-size: clamp(27px,8cqw,34px); }
  .approach-copy > p { margin-top: 18px; max-width: 460px; font-size: 14px; line-height: 1.95; }
  .approach-copy .approach-sign { margin-top: 24px; padding-top: 18px; font-size: 12px; }
}

/* platform-preview.css */
/* A decorative product illustration; the section's main action opens the platform. */
.platform-card .mada-th-art {
  --th-surface: #ffffff;
  --th-inset: #f2f6fc;
  --th-line: #dce6f3;
  --th-text: #172b49;
  --th-muted: #607693;
  --th-accent: #076cf0;
  --th-bars: #d4e2f5;
  min-width: 0;
  /* Extra bottom room keeps the preview window's share line clear of the QR card. */
  min-height: 530px;
  padding: 80px 38px 150px;
  background: radial-gradient(ellipse at 45% 40%,#d4e7ff,transparent 70%),#edf4fd;
  contain: inline-size;
}
.mada-th-art::before { content: ''; position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(#6c9cda0c 1px,transparent 1px),linear-gradient(90deg,#6c9cda0c 1px,transparent 1px); background-size: 36px 36px; mask-image: radial-gradient(ellipse,#000,transparent 75%); }
.mada-th-art .th-copy-en { display: none; }
html[lang="en"] .mada-th-art .th-copy-ar { display: none; }
html[lang="en"] .mada-th-art .th-copy-en { display: inline; }
.th-preview-window { position: relative; width: min(100%,388px); padding: 22px; border: 1px solid var(--th-line); border-radius: 22px; background: var(--th-surface); color: var(--th-text); box-shadow: 0 26px 65px -28px #163f8266,0 2px 6px #163f8208; transform: rotate(-3deg); }
.th-preview-topbar { display: flex; justify-content: space-between; align-items: center; gap: 18px; margin-bottom: 18px; }
.th-preview-brand { font: 800 19px/1.3 Arial,sans-serif; letter-spacing: -.7px; }
.th-preview-brand > span { display: inline-block; margin-left: 3px; padding: 5px 7px; border-radius: 7px; background: #076cf0; color: #fff; font-size: 12px; letter-spacing: .4px; vertical-align: middle; }
.th-window-dots { display: flex; gap: 5px; }
.th-window-dots i { width: 5px; height: 5px; border-radius: 50%; background: var(--th-muted); opacity: .45; }
.th-preview-address { display: flex; align-items: center; gap: 7px; min-width: 0; margin-bottom: 20px; padding: 9px 11px; border: 1px solid var(--th-line); border-radius: 9px; color: var(--th-muted); font: 11px/1.4 Arial,sans-serif; }
.th-preview-address > span { min-width: 0; overflow-wrap: anywhere; }
.th-preview-address svg { width: 13px; height: 13px; }
.th-document { padding: 19px; border: 1px solid var(--th-line); border-radius: 15px; background: var(--th-inset); }
.th-document-heading { display: flex; align-items: center; gap: 12px; }
.th-document-heading > div { min-width: 0; }
.th-document-heading strong { display: block; font-size: 15px; line-height: 1.6; overflow-wrap: anywhere; }
.th-document-icon { display: grid; place-items: center; flex-shrink: 0; width: 42px; height: 48px; border: 1px solid #076cf025; border-radius: 11px; background: var(--th-surface); color: var(--th-accent); }
.th-document-icon svg { width: 25px; height: 28px; stroke-width: 1.5; }
.th-document-meta { display: block; margin-top: 3px; color: var(--th-muted); font: 600 10px/1.5 Arial,sans-serif; letter-spacing: .6px; text-align: start; }
.th-document-lines { display: grid; gap: 8px; margin-top: 18px; }
.th-document-lines i { width: 100%; height: 5px; border-radius: 5px; background: var(--th-bars); }
.th-document-lines i:nth-child(2) { width: 84%; }
.th-document-lines i:last-child { width: 56%; }
.th-share-line { display: flex; align-items: center; gap: 8px; margin-top: 18px; color: var(--th-muted); font-size: 11px; line-height: 1.6; }
.th-share-line > svg { width: 16px; height: 16px; color: var(--th-accent); }
.th-share-check { display: grid; place-items: center; flex-shrink: 0; width: 22px; height: 22px; border-radius: 50%; color: #217553; background: #dff3ea; }
.th-share-check svg { width: 13px; height: 13px; stroke-width: 2; }
.th-link-chip { position: absolute; top: 24px; inset-inline-start: 30px; display: flex; align-items: center; gap: 8px; max-width: calc(100% - 60px); padding: 8px 12px; border: 1px solid #076cf01c; border-radius: 999px; background: var(--th-surface); color: var(--th-muted); font-size: 11px; font-weight: 600; line-height: 1.7; }
.th-link-chip svg { width: 15px; height: 15px; color: var(--th-accent); }
.th-qr-card { position: absolute; bottom: 28px; inset-inline-end: 24px; display: flex; align-items: center; gap: 13px; max-width: calc(100% - 48px); padding: 11px 16px 11px 11px; border: 1px solid var(--th-line); border-radius: 18px; background: var(--th-surface); color: var(--th-text); box-shadow: 0 14px 35px -16px #163f8255; }
.th-qr-card img { display: block; flex-shrink: 0; width: 82px; height: 82px; padding: 3px; border-radius: 9px; background: #fff; }
.th-qr-card > div { min-width: 0; }
.th-qr-card strong { display: block; font-size: 12px; line-height: 1.7; overflow-wrap: anywhere; }
.th-qr-card > div > span { display: block; margin-top: 4px; color: var(--th-muted); font-size: 10px; line-height: 1.7; }
html[data-theme="dark"] .platform-card .mada-th-art { --th-surface: #172942; --th-inset: #122238; --th-line: #304865; --th-text: #e7eefb; --th-muted: #9fb6d4; --th-accent: #93c0ff; --th-bars: #304e72; background: radial-gradient(ellipse at 45% 40%,#234569,transparent 72%),#101e32; }
html[data-theme="dark"] .th-preview-window { box-shadow: 0 26px 65px -28px #0009,inset 0 1px #ffffff05; }
html[data-theme="dark"] .th-link-chip,html[data-theme="dark"] .th-document-icon { border-color: #42618a; }
html[data-theme="dark"] .th-share-check { color: #9be0bd; background: #224b46; }
html[data-theme="dark"] .th-qr-card { box-shadow: 0 14px 35px -16px #0009; }
@media(max-width:1000px) and (min-width:751px) {
  .platform-card .mada-th-art { padding-inline: 22px; }
  .th-preview-window { padding: 17px; }
  .th-document { padding: 14px; }
  .th-document-heading { gap: 9px; }
  .th-document-heading strong { font-size: 13px; }
}
@media(max-width:750px) {
  .platform-card .mada-th-art { min-height: 450px; padding: 74px 30px 105px; }
  .th-link-chip { inset-inline-start: 24px; }
  .th-qr-card { inset-inline-end: 26px; bottom: 24px; }
}
@media(max-width:400px) {
  .platform-card .mada-th-art { padding-inline: 23px; }
  .th-preview-window { padding: 16px; border-radius: 18px; }
  .th-document { padding: 13px; }
  .th-document-heading { gap: 9px; }
  .th-document-heading strong { font-size: 13px; }
  .th-document-icon { width: 34px; height: 40px; }
  .th-qr-card { padding: 9px; gap: 10px; }
  .th-qr-card img { width: 70px; height: 70px; }
}

/* hero-atmosphere.css */
/* A decorative layer behind the hero, bounded to the viewport in both directions. */
.hero { position: relative; isolation: isolate; }
.hero > .hero-copy, .hero > .hero-art { position: relative; z-index: 1; }
.hero-atmosphere {
  position: absolute;
  inset-block: 0;
  left: 50%;
  width: min(1680px, calc(100vw - 32px));
  max-width: none;
  transform: translateX(-50%);
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  user-select: none;
  color: #4d7fb9;
}
.hero-float {
  --float-tilt: -10deg;
  --float-turn: 8deg;
  --float-x: 12px;
  --float-y: -28px;
  --float-duration: 7s;
  --float-delay: -4s;
  position: absolute;
  display: grid;
  place-items: center;
  width: 88px;
  height: 88px;
  padding: 12px;
  border: 1px solid #638cb32e;
  border-radius: 23px;
  background: #719bd508;
  opacity: .48;
  transform: rotate(var(--float-tilt));
}
.hero-float svg { display: block; width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.hero-float-accent { color: #198e9b; stroke: currentColor; }
.hero-float-grid { opacity: .22; stroke-width: 1; }
.hero-float--camera { left: 2%; top: 14%; }
.hero-float--edit { left: 2%; bottom: 12%; width: 110px; height: 78px; --float-tilt: 9deg; --float-turn: -7deg; --float-duration: 8s; --float-delay: -2s; }
.hero-float--design { right: 1.5%; top: 18%; --float-tilt: 12deg; --float-turn: -9deg; --float-x: -12px; --float-duration: 6.5s; --float-delay: -4s; }
.hero-float--growth { right: 5%; bottom: 12%; width: 112px; height: 82px; --float-tilt: -8deg; --float-x: -10px; --float-duration: 9s; --float-delay: -6s; }
.hero-float--layers { left: 48%; top: 4%; width: 62px; height: 62px; padding: 14px; border: 0; background: none; --float-tilt: 10deg; --float-turn: -10deg; --float-y: -18px; --float-duration: 6s; --float-delay: -1s; }
.hero-float--reach { left: 4%; top: 54%; width: 64px; height: 64px; padding: 16px; border: 0; background: none; --float-tilt: -16deg; --float-duration: 7.5s; --float-delay: -3s; }
.hero-float--layers svg, .hero-float--reach svg { stroke-width: 1.25; }
html[data-theme="dark"] .hero-atmosphere { color: #91bbf2; }
html[data-theme="dark"] .hero-float { border-color: #91bbf230; background-color: #91bbf208; opacity: .4; }
html[data-theme="dark"] .hero-float-accent { color: #77cfda; }
html[data-theme="dark"] :is(.hero-float--layers,.hero-float--reach) { background: none; }
@keyframes hero-background-float {
  0%,100% { transform: translate3d(0,0,0) rotate(var(--float-tilt)); }
  50% { transform: translate3d(var(--float-x),var(--float-y),0) rotate(calc(var(--float-tilt) + var(--float-turn))); }
}
@media (prefers-reduced-motion: no-preference) {
  /* Start immediately, independently of scroll-reveal observers. */
  html:not(.motion-disabled) .hero-float { animation: hero-background-float var(--float-duration) ease-in-out var(--float-delay) infinite; }
  html.motion-paused .hero-float { animation-play-state: paused; }
}
@media (max-width: 1240px) {
  .hero-float { width: 64px; height: 64px; padding: 10px; border-radius: 17px; --float-x: 6px; --float-y: -12px; --float-turn: 5deg; }
  .hero-float--camera { left: 4%; top: 4%; }
  .hero-float--design { right: 5%; top: 4%; }
  .hero-float--edit { left: 8%; bottom: 2%; width: 80px; height: 58px; }
  .hero-float--growth { right: 4%; bottom: 2%; width: 82px; height: 60px; }
  .hero-float--layers { left: 47%; top: 46%; width: 44px; height: 44px; padding: 8px; }
  .hero-float--reach { display: none; }
}
@media (max-width: 650px) {
  .hero-atmosphere { width: calc(100vw - 20px); }
  .hero-float--camera, .hero-float--layers { display: none; }
  .hero-float { --float-x: 4px; --float-y: -10px; }
  .hero-float--design { top: 3%; right: 3%; width: 48px; height: 48px; }
  .hero-float--growth { top: 42%; bottom: auto; right: 1%; width: 68px; height: 50px; }
  .hero-float--edit { left: 3%; bottom: 1%; width: 68px; height: 50px; }
}
@media (forced-colors: active), print { .hero-atmosphere { display: none; } }

/* motion-polish.css */
/* One motion rhythm across the site, with transforms confined to their own layers. */
:root {
  --motion-fast: 180ms;
  --motion-ui: 320ms;
  --motion-scene: 700ms;
  --motion-ease: cubic-bezier(.22,1,.36,1);
}

@media (prefers-reduced-motion: no-preference) {
  html:not(.motion-disabled) :is(.button,.studio-partner-link,.studio-location-link,.studio-browse-link,.studio-directory-back,.work-show-all,.work-collapse,.client-channel,.filter,.theme-toggle,.language-toggle,.menu-toggle) {
    transition: color var(--motion-fast),background var(--motion-fast),border-color var(--motion-fast),box-shadow var(--motion-ui),transform var(--motion-ui) var(--motion-ease),translate var(--motion-ui) var(--motion-ease),scale var(--motion-fast) var(--motion-ease);
  }
  html:not(.motion-disabled) :is(.button,.studio-partner-link,.studio-location-link,.studio-browse-link,.work-show-all,.work-collapse,.filter,.theme-toggle,.language-toggle,.menu-toggle):active {
    scale: .97;
  }
  html:not(.motion-disabled) :is(.service,.client-card,.packages-grid .package,.studio-partner-card) {
    transition: transform 480ms var(--motion-ease),border-color var(--motion-ui),box-shadow 480ms var(--motion-ease),background var(--motion-ui);
  }
  html:not(.motion-disabled) :is(.contact-title-arrow,.studio-link-arrow,.studio-location-link > span[aria-hidden],.studio-browse-link svg,.studio-directory-back svg) {
    transition: translate 450ms var(--motion-ease);
  }
  html:not(.motion-disabled) .steps li > div {
    transition: translate 450ms var(--motion-ease);
  }
  html:not(.motion-disabled) .faq-list summary {
    transition: color var(--motion-fast),background var(--motion-ui);
  }
  html:not(.motion-disabled) .contact-form :is(input,select,textarea) {
    transition: border-color var(--motion-fast),box-shadow var(--motion-ui),background var(--motion-ui);
  }
  html:not(.motion-disabled) .th-preview-window {
    animation: platform-drift 7s ease-in-out infinite paused;
  }
  html:not(.motion-disabled) .th-qr-card { animation: platform-drift 6500ms ease-in-out -2200ms infinite reverse paused; }
  /* The frame floats on its own layer, inside the art's entrance animation. */
  html:not(.motion-disabled) .studio-frame { animation: studio-float 6s ease-in-out infinite paused; }
  html:not(.motion-disabled) .studio-light { animation: studio-light 7s ease-in-out infinite paused; }
  html:not(.motion-disabled) .studio-wave i { animation: studio-wave 1300ms ease-in-out infinite paused; transform-origin: center; }
  html:not(.motion-disabled) .studio-wave i:nth-child(2n) { animation-duration: 1050ms; animation-delay: -350ms; }
  html:not(.motion-disabled) .studio-wave i:nth-child(3n) { animation-duration: 1600ms; animation-delay: -900ms; }
  html:not(.motion-disabled) .studio-wave i:nth-child(5n) { animation-duration: 1450ms; animation-delay: -650ms; }
  html:not(.motion-disabled) .studio-record { animation: studio-record 2200ms ease-in-out infinite paused; }
  html:not(.motion-disabled) .motion-in-view :is(.th-preview-window,.th-qr-card,.studio-frame,.studio-light,.studio-wave i,.studio-record) { animation-play-state: running; }
  html.motion-paused :is(.th-preview-window,.th-qr-card,.studio-frame,.studio-light,.studio-wave i,.studio-record,.art-orbit) { animation-play-state: paused !important; }
}

@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  html:not(.motion-disabled) :is(.service,.client-card,.packages-grid .package):hover {
    border-color: var(--blue);
    box-shadow: 0 18px 38px -22px #10223e55;
  }
  html:not(.motion-disabled) :is(.service,.packages-grid .package):hover { transform: translateY(-5px); }
  html[data-theme="dark"]:not(.motion-disabled) :is(.service,.client-card,.packages-grid .package):hover { box-shadow: 0 18px 38px -22px #0009; }
  /* Keep the carousel lift separate from the more specific package selector. */
  html:not(.motion-disabled) .client-card:hover { transform: translateY(-3px); }
  html:not(.motion-disabled) :is(.studio-partner-link,.studio-location-link,.studio-browse-link,.work-show-all,.work-collapse):hover { translate: 0 -2px; }
  html:not(.motion-disabled) .studio-partner-link:hover .studio-link-arrow { translate: -3px -3px; }
  html:not(.motion-disabled) .studio-location-link:hover > span[aria-hidden] { translate: -3px -3px; }
  html:not(.motion-disabled) .contact-copy:hover .contact-title-arrow { translate: -4px -4px; }
  html[dir="ltr"]:not(.motion-disabled) .contact-copy:hover .contact-title-arrow { translate: 4px -4px; }
  html:not(.motion-disabled) .steps li:hover > div { translate: -4px 0; }
  html[dir="ltr"]:not(.motion-disabled) .steps li:hover > div { translate: 4px 0; }
  html:not(.motion-disabled) .studio-directory-back:hover svg { translate: 4px 0; }
  html[dir="ltr"]:not(.motion-disabled) .studio-directory-back:hover svg { translate: -4px 0; }
}

@keyframes platform-drift { 0%,100% { translate: 0 0; } 50% { translate: 0 var(--platform-drift,-9px); } }
@keyframes studio-float {
  0%,100% { transform: translate3d(0,0,0) rotate(-5deg); }
  50% { transform: translate3d(3px,-12px,0) rotate(-2.5deg); }
}
@keyframes studio-light {
  0%,100% { opacity: .6; transform: translate3d(-8px,4px,0) scale(.94); }
  50% { opacity: 1; transform: translate3d(8px,-4px,0) scale(1.06); }
}
@keyframes studio-wave {
  0%,100% { transform: scaleY(.35); }
  25% { transform: scaleY(1); }
  55% { transform: scaleY(.5); }
  75% { transform: scaleY(.85); }
}
@keyframes studio-record {
  0%,100% { opacity: .55; transform: scale(.85); }
  50% { opacity: 1; transform: scale(1.15); }
}

@media (max-width: 650px), (hover: none) {
  .th-preview-window,.th-qr-card { --platform-drift: -5px; }
  html:not(.motion-disabled) :is(.service,.client-card,.package):hover { transform: none; }
}
/* All content stays readable in print, when motion is disabled, or without JS. */
html.motion-disabled *, html.motion-disabled *::before, html.motion-disabled *::after { animation: none !important; transition: none !important; }
html.motion-disabled .motion-pending { opacity: 1; }
@media (prefers-reduced-motion: reduce) {
  .motion-pending { opacity: 1; }
  .th-preview-window,.th-qr-card,.studio-frame,.studio-light,.studio-wave i,.studio-record { animation: none !important; }
}
@media print {
  .motion-pending,.work-reveal-pending { opacity: 1 !important; }
  *,*::before,*::after { animation: none !important; transition: none !important; }
}
/* FAQ hover: the row slides in, the question turns blue, an underline grows and the + spins. */
html .faq-list details{position:relative}
html .faq-list details::after{content:"";position:absolute;inset-inline:0;bottom:0;height:2px;border-radius:2px;background:linear-gradient(90deg,#83b4ff,var(--blue));transform:scaleX(0);transform-origin:right;transition:transform .55s cubic-bezier(.22,1,.36,1);pointer-events:none}
html[dir="ltr"] .faq-list details::after{transform-origin:left}
html .faq-list details:hover::after,html .faq-list details[open]::after{transform:scaleX(1)}
html:not(.motion-disabled) .faq-list summary{transition:color .25s,padding .4s cubic-bezier(.22,1,.36,1),background .25s}
html .faq-list details:hover summary{color:var(--blue);padding-inline-start:12px}
html .faq-list summary>span{display:grid;place-items:center;flex-shrink:0;width:34px;height:34px;border-radius:50%;line-height:1;transition:transform .45s cubic-bezier(.22,1,.36,1),background .25s,color .25s}
html .faq-list details:hover summary>span{background:color-mix(in srgb,var(--blue) 16%,transparent);transform:rotate(90deg) scale(1.08)}
html .faq-list details[open]:hover summary>span{transform:rotate(45deg) scale(1.08)}
@media(hover:none){html .faq-list details:hover summary{padding-inline-start:0}html .faq-list details:hover summary>span{background:none;transform:none}html .faq-list details[open]:hover summary>span{transform:rotate(45deg)}}
@media(prefers-reduced-motion:reduce){html .faq-list details:hover summary{padding-inline-start:0}html .faq-list details:hover summary>span{transform:none}html .faq-list details[open]:hover summary>span{transform:rotate(45deg)}}
/* FAQ side card: fills the heading column and stays beside the questions. */
.faq-section>div:first-child{align-self:start;position:sticky;top:120px}
.faq-cta{margin-top:30px;padding:24px;border:1px solid var(--line);border-radius:18px;background:linear-gradient(160deg,color-mix(in srgb,var(--blue) 12%,transparent),transparent 70%),var(--surface,#fff);display:grid;gap:10px;justify-items:start}
.faq-cta-icon{display:grid;place-items:center;width:46px;height:46px;border-radius:14px;background:color-mix(in srgb,var(--blue) 16%,transparent);color:var(--blue)}
.faq-cta-icon svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.faq-cta strong{font-size:18px;line-height:1.6;color:var(--navy)}
.faq-cta p{margin:0;font-size:13px;line-height:1.9;color:var(--muted)}
.faq-cta-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:6px}
.faq-cta-actions a{display:inline-flex;align-items:center;min-height:44px;padding:9px 18px;border-radius:12px;font-size:13px;font-weight:700;transition:transform .3s cubic-bezier(.22,1,.36,1),background .25s,border-color .25s}
.faq-cta-wa{background:var(--blue);color:#fff}
html[data-theme="dark"] .faq-cta-wa{color:#0c1b30}
.faq-cta-form{border:1px solid var(--line);color:var(--blue)}
.faq-cta-actions a:hover{transform:translateY(-2px)}
.faq-cta-form:hover{border-color:var(--blue)}
@media(max-width:850px){.faq-section>div:first-child{position:static}.faq-cta{display:none}}
.footer-legal-link{color:inherit;text-decoration:none;transition:color .25s}
.footer-legal-link:hover{color:var(--blue);text-decoration:underline;text-underline-offset:4px}

/* theme-polish.css */
/* Shared surface hierarchy, loaded after the component styles in both languages. */
:root {
  --surface: #ffffff;
  --surface-raised: #ffffff;
  --surface-soft: #edf2f8;
  --section-surface: #f0f4f9;
  --field-surface: #f8fafc;
  --line: #d7e0ec;
  --muted: #52627a;
  --ice: #e9f1fd;
  --blue: #075bc8;
  --action: var(--brand-primary, #076cf0);
  --card-shadow: 0 8px 28px -16px #1b355525;
  --hover-shadow: 0 14px 32px -18px #1b35553d;
  --focus-ring: #075bc8;
  --page-scroll-track: #dfe7f1;
  --page-scroll-thumb: #6a83a6;
}
html[data-theme="dark"] {
  --paper: #0c1321;
  --surface: #141f30;
  --surface-raised: #1b2a40;
  --surface-soft: #1c2c42;
  --section-surface: #101b2b;
  --field-surface: #101a2a;
  --white: #141f30;
  --navy: #edf2fa;
  --muted: #adbbcf;
  --line: #30425b;
  --ice: #203653;
  --blue: #9bc4ff;
  --card-shadow: 0 8px 28px -16px #0005;
  --hover-shadow: 0 14px 32px -18px #0009;
  --focus-ring: #9bc4ff;
  --page-scroll-track: #213149;
  --page-scroll-thumb: #6d91c2;
}

html[data-theme] .site-header,
html[data-theme] .site-header.is-scrolled { background: var(--paper); border-color: var(--line); box-shadow: none; backdrop-filter: none; }
html[data-theme] .site-header.is-scrolled { box-shadow: 0 4px 18px -12px #10213b40; }
html[data-theme] .mobile-menu { background: var(--surface); border-color: var(--line); }
html[data-theme] .button-blue,
html[data-theme] .studio-browse-link { background: var(--action); border-color: var(--action); color: #fff; }
html[data-theme] .button-blue:hover,
html[data-theme] .studio-browse-link:hover { background: var(--blue-dark, #005aca); border-color: var(--blue-dark, #005aca); }
html[data-theme] .button-outline { border-color: var(--line); color: var(--navy); }
html[data-theme] .button-outline:hover { background: var(--ice); border-color: var(--blue); }
html[data-theme] :is(a, button, input, select, textarea, summary, [tabindex]):focus-visible { outline: 3px solid var(--focus-ring); outline-offset: 4px; }

/* Portraits and channel cards belong to the selected theme, including their rail. */
html[data-theme] .teacher-partners-band { background: var(--section-surface); color: var(--navy); border-block: 1px solid var(--line); }
html[data-theme] .teacher-portrait { background: var(--surface); border-color: var(--line); box-shadow: var(--card-shadow); }
html[data-theme] .teacher-portrait-photo { background: var(--surface-soft); border-color: var(--surface-soft); box-shadow: 0 0 0 1px var(--line); }
html[data-theme] .teacher-portrait-name { color: var(--navy); }
html[data-theme] .teacher-portraits { border-color: var(--line); }
html[data-theme] .clients-section { background: var(--paper); color: var(--navy); }
html[data-theme] .clients-heading h2 span { color: var(--blue); }
html[data-theme] .clients-heading p { color: var(--muted); }
html[data-theme] .client-controls button { background: var(--surface); color: var(--navy); border-color: var(--line); }
html[data-theme] .client-controls button:hover:not(:disabled) { background: var(--ice); border-color: var(--blue); }
html[data-theme] .client-card {
  --client-surface: var(--surface);
  --client-text: var(--navy);
  --client-muted: var(--muted);
  --client-line: var(--line);
  --client-inset: var(--surface-soft);
  --client-hover: var(--ice);
  border-color: var(--line);
  box-shadow: var(--card-shadow);
}
html[data-theme] .client-card:hover { border-color: var(--blue); box-shadow: var(--hover-shadow); }
.clients-track { scrollbar-color: var(--page-scroll-thumb) var(--page-scroll-track); }
@supports selector(::-webkit-scrollbar) {
  .clients-track { scrollbar-color: auto; }
  .clients-track::-webkit-scrollbar-track { background-color: var(--page-scroll-track); }
  .clients-track::-webkit-scrollbar-thumb { background-color: var(--page-scroll-thumb); }
  .clients-track::-webkit-scrollbar-thumb:hover { background-color: var(--page-scroll-hover); }
}
@media (hover: hover) and (pointer: fine) {
  html[data-theme] .teacher-portrait:hover { background: var(--surface-raised); border-color: var(--blue); box-shadow: var(--hover-shadow); }
}

html[data-theme] .approach-section,
html[data-theme] .work-section,
html[data-theme] .contact-section { background: var(--section-surface); color: var(--navy); }
html[data-theme] .approach-title > .approach-title-lead,
html[data-theme] .approach-copy .approach-sign { color: var(--navy); }
html[data-theme] .approach-copy > .section-label,
html[data-theme] .approach-title > .approach-title-message,
html[data-theme] .approach-copy .approach-sign svg,
html[data-theme] .step-number { color: var(--blue); }
html[data-theme] .approach-copy > p,
html[data-theme] .steps p { color: var(--muted); }
html[data-theme] .steps li,
html[data-theme] .approach-copy .approach-sign { border-color: var(--line); }
html[data-theme] .service:hover { background: var(--ice); }
html[data-theme] .service-top > span { color: var(--muted); }
html[data-theme] .filter { border-color: var(--line); color: var(--navy); }
html[data-theme] .filter.active { background: var(--ice); border-color: var(--blue); color: var(--blue); }
html[data-theme] .filter:hover:not(.active) { background: var(--surface); }

html[data-theme] .results-section .results-board { background: var(--surface); color: var(--navy); border-color: var(--line); box-shadow: var(--card-shadow); }
html[data-theme] .results-board .board-heading strong,
html[data-theme] .results-board .metrics .metric-value { color: var(--navy); }
html[data-theme] .results-board .board-heading > div > span,
html[data-theme] .results-board .metric-label { color: var(--muted); }
html[data-theme] .results-board .metrics > .result-metric { background: var(--field-surface); border-color: var(--line); }
html[data-theme] .results-board .result-metric:first-child { background: var(--ice); border-color: var(--line); }
html[data-theme] .results-board .metric-icon,
html[data-theme] .results-board .result-metric:first-child .metric-label { color: var(--blue); }
html[data-theme] .results-board .result-metric:first-child .metric-icon { color: var(--blue); background: var(--surface); }
html[data-theme] .results-board .youtube-icon { background: var(--surface-soft); border-color: var(--line); color: #ed2939; }

html[data-theme] .packages-grid .package { --package-tint: var(--ice); --package-accent: var(--blue); background: var(--surface); border-color: var(--line); box-shadow: var(--card-shadow); }
html[data-theme] .packages-grid .package-featured { background: linear-gradient(155deg, var(--ice), var(--surface) 70%); border-color: var(--blue); }
html[data-theme] .package .package-badge { border-color: var(--line); }
html[data-theme] .platforms-section { background: var(--paper); }
html[data-theme] .platform-card { background: var(--surface); box-shadow: var(--card-shadow); }
html[data-theme] .studio-panel { background: var(--section-surface); color: var(--navy); border: 1px solid var(--line); }
html[data-theme] .studio-copy .section-label,
html[data-theme] .studio-copy h2 > span:last-child { color: var(--blue); }
html[data-theme] .studio-copy > p { color: var(--muted); }
html[data-theme] .studio-tags > span { color: var(--muted); border-color: var(--line); background: var(--surface); }
html[data-theme] .studio-cta { color: #fff; background: var(--action); }
html[data-theme] .studio-cta:hover { background: var(--blue-dark); }
html[data-theme="light"] .studio-frame { background: linear-gradient(145deg, #e6effc, #f8faff); border-color: #a6bcd9; box-shadow: var(--hover-shadow); }
html[data-theme="light"] .studio-light { background: radial-gradient(ellipse, #9ac2ff40, transparent 65%); }
html[data-theme="light"] .studio-camera { color: #35649f; }
html[data-theme="light"] .studio-corner { border-color: #4179bd; }
html[data-theme="light"] .studio-wave i { background: #7191ba; }
html[data-theme="light"] .studio-wave i:nth-child(5n) { background: #35649f; }
html[data-theme] .studio-partner-card { box-shadow: var(--card-shadow); }
html[data-theme="light"] .studio-partner-placeholder { background: linear-gradient(145deg, #dbe9fc, #edf3fc); color: #35649f; }
html[data-theme] .contact-form { background: var(--surface); border-color: var(--line); box-shadow: var(--card-shadow); }
html[data-theme] .contact-form :is(input, select, textarea) { background: var(--field-surface); border-color: var(--line); color: var(--navy); }
html[data-theme] .contact-form :is(input, textarea)::placeholder,
html[data-theme] .contact-form > .privacy-note { color: var(--muted); }
html[data-theme] .site-footer.mada-footer { background: var(--section-surface); border-color: var(--line); color: var(--navy); }
html[data-theme] .mada-footer :is(.footer-wordmark, h2) { color: var(--navy); }
html[data-theme] .mada-footer :is(.footer-about > p, .footer-column a, .footer-slogan, .footer-legal, .footer-language) { color: var(--muted); }
html[data-theme] .mada-footer .footer-legal { border-color: var(--line); }
html[data-theme] .mada-footer .footer-column a:hover { color: var(--blue); }
html[data-theme] .mada-footer .footer-social a { background: var(--surface); border: 1px solid var(--line); color: var(--navy); }
html[data-theme] .mada-footer .footer-social a:hover { background: var(--ice); border-color: var(--blue); color: var(--blue); }

@media (forced-colors: active) {
  .clients-track { scrollbar-color: auto; }
  .clients-track::-webkit-scrollbar-track { background-color: Canvas; }
  .clients-track::-webkit-scrollbar-thumb { background-color: ButtonText; }
}

/* service-pages.css */
/* Service pages (social-media-management.html …) and the footer list of services. */
.service-page { padding-block: 40px 72px; }
.service-breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 28px; padding: 0; list-style: none; font-size: 13px; color: var(--muted); }
.service-breadcrumbs li + li::before { content: '›'; margin-inline-end: 6px; opacity: .6; }
html[dir="rtl"] .service-breadcrumbs li + li::before { content: '‹'; }
.service-breadcrumbs a { color: var(--blue); }
.service-breadcrumbs [aria-current] { color: var(--navy); font-weight: 700; }

.service-hero { display: flex; flex-direction: column; align-items: center; gap: 16px; max-width: 760px; margin: 0 auto 56px; text-align: center; }
.service-hero h1 { margin: 0; font-size: clamp(34px, 4.6vw, 56px); line-height: 1.3; color: var(--navy); }
.service-intro { font-size: 17px; line-height: 1.95; color: var(--muted); max-width: 680px; }
.service-hero .hero-actions { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 18px; margin-top: 6px; }

.service-block { max-width: 980px; margin: 0 auto 56px; }
.service-block > h2 { margin: 0 0 22px; font-size: clamp(26px, 3vw, 34px); text-align: center; }
.service-deliverables ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; }
.service-deliverables li { display: flex; align-items: flex-start; gap: 12px; padding: 16px 18px; border: 1px solid var(--line); border-radius: 18px; background: var(--white, #fff); line-height: 1.8; }
.service-deliverables li svg { width: 20px; height: 20px; margin-top: 4px; color: var(--blue); flex: none; }
.service-steps .steps { margin: 0; }
.service-work-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.service-work-grid.is-thumbnails { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.service-work-grid figure { margin: 0; }
.service-work-grid img { width: 100%; height: auto; border-radius: 18px; background: var(--ice); }
.service-work-grid figcaption { margin-top: 8px; font-size: 13px; color: var(--muted); }
.service-work > .text-link { display: inline-flex; margin-top: 18px; }
.service-faq .faq-list { max-width: 820px; margin: 0 auto; }
.service-cta { padding: clamp(28px, 4vw, 48px); border-radius: 28px; background: var(--ice); text-align: center; }
.service-cta p { max-width: 560px; margin: 0 auto 20px; }

/* Footer: one link per service page. */
.mada-footer .footer-grid { grid-template-columns: minmax(0, 1.6fr) repeat(4, minmax(0, 1fr)); }
.footer-services ul { list-style: none; margin: 0; padding: 0; }

@media (max-width: 900px) {
  .mada-footer .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mada-footer .footer-about { grid-column: 1 / -1; }
}
@media (max-width: 650px) {
  .service-page { padding-block: 24px 48px; }
  .service-deliverables ul, .service-work-grid, .service-work-grid.is-thumbnails { grid-template-columns: minmax(0, 1fr); }
  .service-intro { font-size: 16px; }
}

/* Plain introduction under the hero slogan (who MADA is, what it does, for whom, where). */
.hero-intro { max-width: 460px; margin: 12px 0 0; font-size: 14px; line-height: 1.9; color: var(--muted); text-align: start; text-wrap: pretty; }
html[dir="rtl"] .hero-intro { text-align: right; }
@media (max-width: 650px) { .hero-intro { font-size: 14px; } }

/* modern.css */
/* MADA — modern skin (soft gray canvas, white cards, floating pill nav, centered headings,
   colorful icon tiles, blur-in reveals, giant footer wordmark). Loaded last; it changes looks only,
   never the content markup the dashboard fills in. Brand blue stays the main colour. */

:root {
  --m-canvas: #f1f3f6;
  --m-card: #ffffff;
  --m-card-soft: #f7f8fa;
  --m-edge: #e4e8ee;
  --m-ink: #0f1a2c;
  --m-muted: #5c6a80;
  --m-radius: 28px;
  --m-radius-sm: 18px;
  --m-shadow: 0 1px 2px rgba(16, 24, 40, .04), 0 12px 32px -18px rgba(16, 24, 40, .22);
  --m-shadow-lift: 0 2px 4px rgba(16, 24, 40, .05), 0 24px 48px -22px rgba(16, 24, 40, .32);
  --m-yellow: #ffd84d;
  --m-sky: #38bdf8;
  --m-coral: #ff6b4a;
  --m-violet: #8b5cf6;
  --m-green: #22c55e;
  --paper: var(--m-canvas);
  --line: var(--m-edge);
  --muted: var(--m-muted);
  --section-surface: var(--m-canvas);
}
html[data-theme="dark"] {
  --m-canvas: #0a101b;
  --m-card: #121b2b;
  --m-card-soft: #172235;
  --m-edge: #233149;
  --m-ink: #eef3fb;
  --m-muted: #a3b2c8;
  --m-shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 16px 40px -20px rgba(0, 0, 0, .7);
  --m-shadow-lift: 0 2px 4px rgba(0, 0, 0, .3), 0 28px 56px -24px rgba(0, 0, 0, .8);
  --paper: var(--m-canvas);
  --line: var(--m-edge);
  --muted: var(--m-muted);
  --section-surface: var(--m-canvas);
}
body { background: var(--m-canvas); }

/* ---------- Floating pill navigation ---------- */
.site-header, .site-header.is-scrolled, html[data-theme="dark"] .site-header.is-scrolled {
  background: transparent; border: 0; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none;
  padding-top: 14px;
}
.site-header .nav-wrap {
  height: 68px; margin-inline: auto; padding-inline: 14px 10px;
  background: color-mix(in srgb, var(--m-card) 88%, transparent);
  -webkit-backdrop-filter: blur(14px) saturate(160%); backdrop-filter: blur(14px) saturate(160%);
  border: 1px solid var(--m-edge); border-radius: 22px; box-shadow: var(--m-shadow);
}
.site-header .desktop-nav { background: none; padding: 0; gap: 2px; }
.site-header .desktop-nav a { padding: 8px 14px; border-radius: 12px; color: var(--m-muted); }
.site-header .desktop-nav a:hover, .site-header .desktop-nav a.active { color: var(--m-ink); background: var(--m-card-soft); }
.site-header .theme-toggle, .site-header .language-toggle { background: var(--m-card-soft); border-color: var(--m-edge); }
.site-header .nav-cta { border-radius: 14px; box-shadow: 0 8px 18px -10px var(--blue); }
html { scroll-padding-top: 120px; }

/* ---------- Buttons ---------- */
.button { border-radius: 14px; box-shadow: 0 10px 22px -12px var(--blue); transition: transform .2s, box-shadow .2s, background .2s; }
.button:hover { transform: translateY(-1px); box-shadow: 0 14px 28px -12px var(--blue); }

/* ---------- Section labels become small chips ---------- */
main .eyebrow, main .section-label {
  display: inline-flex; align-items: center; gap: 8px; width: auto; padding: 5px 14px 5px 12px;
  border: 1px solid var(--m-edge); border-radius: 999px; background: var(--m-card); color: var(--blue);
  box-shadow: 0 1px 2px rgba(16, 24, 40, .05); font-weight: 700;
}
main .eyebrow::before, main .section-label::before, main .work-heading-copy > .section-label::before { content: ''; width: 7px !important; height: 7px !important; border-radius: 50% !important; flex: none !important; background: var(--blue); box-shadow: 0 0 0 4px color-mix(in srgb, var(--blue) 15%, transparent); flex: none; }
main .eyebrow > svg, main .section-label > svg { display: none; }

/* ---------- Centered headings, like the reference ---------- */
main h2 { letter-spacing: 0; color: var(--m-ink); }
.section-heading { flex-direction: column; align-items: center; text-align: center; gap: 14px; margin-bottom: 48px; }
.section-heading > div { display: flex; flex-direction: column; align-items: center; gap: 14px; }
/* In a column, the old side-by-side flex sizes would become heights. */
.section-heading > * { flex: 0 0 auto !important; max-width: 640px; width: 100%; text-align: center; }
.work-section .work-heading-copy { text-align: center; }
.work-section .work-heading-title { justify-items: center; gap: 0; line-height: 1.35; }
.work-section .work-heading-title > .work-heading-accent { font-size: 1em; }
/* The intro reads as one quiet subtitle under the heading, not a second heading. */
.work-section .work-intro { margin-top: 4px; max-width: 520px; }
.work-section .work-intro > p { gap: 4px; margin-bottom: 28px; }
.work-section .work-intro-title { font-family: Cairo, Arial, sans-serif; font-size: 17px; font-weight: 700; line-height: 1.7; color: var(--m-muted); }
.work-section .work-intro-description { max-width: 460px; font-size: 15px; line-height: 1.8; color: var(--m-muted); opacity: .85; }
.section-heading > p { max-width: 560px; font-size: 15px; padding: 0; }

/* Blur-in reveal for headings and copy (motion.js toggles these classes). */
@media (prefers-reduced-motion: no-preference) {
  html:not(.motion-disabled) .motion-pending { filter: blur(12px); }
  html:not(.motion-disabled) .motion-shown { filter: blur(0); transition: filter .9s cubic-bezier(.2, .7, .2, 1); }
}

/* ---------- Hero: posters on a white card with colourful floating tiles ---------- */
.hero-art {
  border-radius: var(--m-radius); background: var(--m-card);
  background-image: radial-gradient(color-mix(in srgb, var(--m-ink) 9%, transparent) 1px, transparent 1px);
  background-size: 20px 20px; border: 1px solid var(--m-edge); box-shadow: var(--m-shadow-lift);
}
.hero-atmosphere .hero-float {
  border: 0; border-radius: 18px; color: #fff; opacity: 1; padding: 13px;
  box-shadow: 0 14px 28px -14px rgba(16, 24, 40, .45), inset 0 1px 0 rgba(255, 255, 255, .35);
}
.hero-atmosphere .hero-float svg { stroke-width: 1.8; }
.hero-atmosphere .hero-float .hero-float-accent, .hero-atmosphere .hero-float .hero-float-grid { color: inherit; opacity: .55; }
html[data-theme] .hero-atmosphere .hero-float--camera, .hero-atmosphere .hero-float--camera { background: var(--m-yellow); color: #3b2f00 !important; }
html[data-theme] .hero-atmosphere .hero-float--design, .hero-atmosphere .hero-float--design { background: var(--m-coral); }
html[data-theme] .hero-atmosphere .hero-float--edit, .hero-atmosphere .hero-float--edit { background: var(--m-sky); }
html[data-theme] .hero-atmosphere .hero-float--growth, .hero-atmosphere .hero-float--growth { background: var(--m-violet); }
/* Keep the tiles in the margins, clear of the heading and the line under the buttons. */
@media (min-width: 1241px) {
  .hero-float--design { top: 2%; right: .5%; }
  .hero-float--growth { bottom: -2%; right: .5%; }
}
html[data-theme] .hero-atmosphere :is(.hero-float--layers, .hero-float--reach), .hero-atmosphere :is(.hero-float--layers, .hero-float--reach) { background: var(--blue); }
html[data-theme] .hero-atmosphere .hero-float { border: 0; color: #fff; opacity: 1; }
html[data-theme="dark"] .hero-atmosphere .hero-float { opacity: .92; }

/* Partner strip under the hero sits on a white rounded band. */
.teacher-portraits { border-radius: var(--m-radius); }

/* ---------- Sections use the full width: some become white bands, edge to edge ---------- */
#work, #clients, #platforms { background: transparent; }
#approach, #contact, html[data-theme] .contact-section, .studios-section {
  background: var(--m-card); border-block: 1px solid var(--m-edge);
}
.approach-grid, .contact-grid, .studio-panel, html[data-theme] .studio-panel { background: transparent; border: 0; box-shadow: none; }
/* The FAQ section is itself the width-limited container: its band reaches the screen edges by a
   wide shadow clipped to its own height. */
.faq-section {
  background: var(--m-card); box-shadow: 0 0 0 100vmax var(--m-card); clip-path: inset(0 -100vmax);
  border-block: 1px solid var(--m-edge);
}

/* ---------- Services: bento cards with colourful icon tiles ---------- */
.services-grid { border: 0; gap: 18px; }
.service {
  border: 1px solid var(--m-edge) !important; border-radius: var(--m-radius); background: var(--m-card);
  box-shadow: var(--m-shadow); transition: transform .25s, box-shadow .25s;
}
.service:hover { background: var(--m-card); transform: translateY(-4px); box-shadow: var(--m-shadow-lift); }
.service-top > svg { box-sizing: content-box; width: 24px; height: 24px; padding: 12px; border-radius: 16px; color: #fff; background: var(--blue); box-shadow: 0 10px 20px -12px currentColor; }
.services-grid > .service:nth-child(6n+1) .service-top > svg { background: var(--blue); }
.services-grid > .service:nth-child(6n+2) .service-top > svg { background: var(--m-coral); }
.services-grid > .service:nth-child(6n+3) .service-top > svg { background: var(--m-violet); }
.services-grid > .service:nth-child(6n+4) .service-top > svg { background: var(--m-sky); }
.services-grid > .service:nth-child(6n+5) .service-top > svg { background: var(--m-yellow); color: #3b2f00; }
.services-grid > .service:nth-child(6n+6) .service-top > svg { background: var(--m-green); }

/* ---------- Cards across the page share the same radius, edge and shadow ---------- */
.results-board, .client-card, .platform-card, .contact-form, .package, .studio-partner-card {
  border-radius: var(--m-radius) !important; border: 1px solid var(--m-edge); box-shadow: var(--m-shadow);
}
.result-metric { border-radius: var(--m-radius-sm); }
.work-card .work-image { border-radius: 22px; box-shadow: var(--m-shadow); }
.faq-list details { border-color: var(--m-edge); }

/* ---------- Footer: a full-width white band ending in a giant wordmark ---------- */
html[data-theme] .site-footer.mada-footer, .site-footer.mada-footer {
  background: var(--m-card); border-top: 1px solid var(--m-edge); padding-bottom: 0; overflow: hidden;
}
.mada-footer::after {
  content: 'MADA'; display: block; direction: ltr; text-align: center; pointer-events: none; user-select: none;
  font: 800 clamp(96px, 25vw, 420px)/.8 Arial, Helvetica, sans-serif; letter-spacing: -.045em;
  margin: 16px 0 -0.14em;
  background: linear-gradient(180deg, var(--blue) 10%, color-mix(in srgb, var(--blue) 8%, transparent) 92%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
/* The floating buttons end over the decorative wordmark, so the legal line needs no extra room. */
.mada-footer .footer-legal { border-color: var(--m-edge); padding-bottom: 20px; }

/* ---------- Phones ---------- */
@media (max-width: 760px) {
  .site-header { padding: 8px 10px 0; }
  .site-header .nav-wrap { width: auto; max-width: none; margin-inline: 0; height: 60px; border-radius: 18px; padding-inline: 10px 8px; gap: 8px; }
  .site-header .brand { width: 104px; flex-shrink: 1; min-width: 0; }
  .services-grid { gap: 12px; }
  .service { border-radius: 22px; }
  .section-heading { margin-bottom: 30px; }
}
