/* Same colours and fonts as tajacademy.org */
:root{--ivory:#EEE9E0;--gold:#967747;--btn:#8A6B3C;--bronze:#725B36;--ink:#202020;--champagne:#D8C8AC;--tint:#E5DCCB;--card:#F6F2EA;--muted:#4a4339;
--cocoa:#2E2217;--cocoa-deep:#1B130C;--bright:#E3C98E;--err:#A3341F;
--serif:'Young Serif',Georgia,serif;--sans:'Figtree',system-ui,sans-serif;--ar:'Amiri','Traditional Arabic',serif;
--star:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='76' height='76' fill='none' stroke='%23E3C98E' stroke-opacity='.08'%3E%3Crect x='26' y='26' width='24' height='24'/%3E%3Crect x='26' y='26' width='24' height='24' transform='rotate(45 38 38)'/%3E%3C/svg%3E")}
*{box-sizing:border-box;margin:0;padding:0}
[hidden]{display:none!important}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%}
body{font-family:var(--sans);color:var(--ink);background:var(--ivory);line-height:1.6;font-size:17px}
img,video{max-width:100%;display:block}
button{font:inherit;color:inherit}
:focus-visible{outline:3px solid var(--gold);outline-offset:3px}
.wrap{max-width:1120px;margin:0 auto;padding:0 22px}
h1,h2,h3{font-family:var(--serif);font-weight:400;line-height:1.16;text-wrap:balance}
h1{font-size:clamp(34px,3.9vw,50px)}
h2{font-size:clamp(28px,4vw,40px)}
h3{font-size:21px}
section{padding:64px 0}
.lead{color:var(--muted);margin-top:12px;max-width:58ch}
.btn{display:inline-block;padding:16px 34px;border-radius:999px;border:0;background:var(--btn);color:#fff;font:600 19px/1.25 var(--sans);text-align:center;text-decoration:none;cursor:pointer;transition:background .2s}
.btn:hover{background:var(--bronze)}
.btn[disabled]{opacity:.65;cursor:default}
.btn.big{display:inline-flex;align-items:center;justify-content:center;gap:12px;padding:22px 14px;font-weight:700;font-size:clamp(17px,5.7vw,23px);white-space:nowrap;box-shadow:0 10px 26px rgba(114,91,54,.38)}
.btn.big svg{flex:none;width:25px;height:25px;fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round;transition:transform .2s}
.btn.big:hover svg{transform:translateX(4px)}
.mid{margin-top:34px;text-align:center}

/* Top */
.hero{position:relative;padding:0;background:var(--ivory)}
.logo{display:inline-flex;align-items:center;gap:11px;font-family:var(--serif);font-size:20px;padding:14px 0}
.logo img{width:58px;height:58px}
.hero .copy{padding-block:12px 32px}
.hero .copy p{font-size:19px;color:var(--muted);margin:16px 0 26px;max-width:34em}
.hero .btn,.mid .btn,.final .btn{width:100%}
.hero small{display:block;margin-top:14px;font-size:15px;font-weight:600;color:var(--bronze)}
.hero-pic img,.hero-pic video{width:100%;height:auto;aspect-ratio:1040/733;object-fit:cover}

.trust{background:var(--cocoa);color:var(--ivory);padding:26px 0}
.trust ul{list-style:none;display:grid;grid-template-columns:1fr 1fr;gap:20px 18px}
.trust li{display:flex;align-items:center;gap:12px;font-weight:600;font-size:15px;line-height:1.3}
.trust svg{flex:none;width:28px;height:28px;fill:none;stroke:var(--bright);stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}

/* What your child will learn */
.courses{list-style:none;display:grid;gap:16px;margin-top:30px}
.courses li{position:relative;background:var(--card);border:1px solid var(--champagne);border-radius:20px;padding:24px}
.courses li::before{content:'';position:absolute;left:24px;top:-1px;width:44px;height:3px;background:var(--gold);border-radius:0 0 3px 3px}
.courses .row{display:flex;justify-content:space-between;align-items:baseline;gap:14px}
.courses .ar{font-family:var(--ar);font-size:26px;line-height:1.3;color:var(--gold);white-space:nowrap}
.courses p{color:var(--muted);margin-top:4px}

.how{background:var(--tint);border-block:1px solid var(--champagne)}
.how h2{text-align:center;font-size:clamp(32px,4.6vw,48px)}
.how ol{list-style:none;counter-reset:s;margin-top:34px;display:grid;gap:30px}
.how li{counter-increment:s;position:relative;display:grid;grid-template-columns:92px 1fr;gap:18px;align-items:center}
.how li:not(:last-child)::after{content:'';position:absolute;left:45px;top:calc(50% + 50px);bottom:calc(-50% + 20px);border-left:2px dashed var(--gold);opacity:.65}
.medal{position:relative;display:block;width:92px;height:92px}
.medal svg{display:block;width:100%;height:100%;fill:none;overflow:visible}
.medal .star{fill:var(--cocoa)}
.medal .in{stroke:var(--bright);stroke-width:.9;opacity:.55}
.medal .disc{fill:var(--cocoa)}
.medal .pic{stroke:var(--bright);stroke-width:1.500;stroke-linecap:round;stroke-linejoin:round}
.medal::after{content:counter(s);position:absolute;right:-4px;top:-2px;width:34px;height:34px;border-radius:50%;display:grid;place-items:center;background:var(--btn);color:#fff;border:3px solid var(--tint);font:700 17px/1 var(--sans)}
.nb{white-space:nowrap}
.how h3{font:700 23px/1.2 var(--sans)}
.how li p{margin-top:5px;font-weight:700;font-size:18px;line-height:1.45;text-wrap:balance}

/* Teachers and reviews */
.leader{background:var(--card);border:1px solid var(--champagne);border-radius:28px;padding:34px 24px;text-align:center;display:grid;gap:26px;justify-items:center}
.leader .ph{width:176px;height:176px;border-radius:50%;object-fit:cover;border:4px solid var(--gold);box-shadow:0 0 0 7px var(--card),0 0 0 8px var(--champagne)}
.leader .role{color:var(--bronze);font-weight:600;margin-bottom:4px}
.leader p{color:var(--muted)}
.leader .lead{text-align:left;text-wrap:pretty;max-width:62ch}
.tags{list-style:none;display:flex;flex-wrap:wrap;gap:9px;margin-top:18px;justify-content:center}
.tags li{background:var(--ivory);border:1.5px solid var(--champagne);border-radius:999px;padding:7px 15px;font-size:15px;font-weight:600;color:var(--bronze)}
.cards{display:grid;gap:16px;margin-top:30px}
.tcard{background:var(--card);border:1px solid var(--champagne);border-radius:20px;padding:24px;display:flex;gap:18px;align-items:flex-start}
.tcard .ph{flex:none;width:88px;height:88px;border-radius:50%;object-fit:cover;border:3px solid var(--gold);background:var(--tint);color:var(--bronze);display:grid;place-items:center;font:27px/1 var(--serif)}
.tcard h3{margin-bottom:6px}
.tcard p{color:var(--muted);font-size:16px}
.rev{background:var(--card);border:1px solid var(--champagne);border-radius:20px;padding:26px}
.rev p{font-size:18px}
.rev footer{margin-top:12px;font-weight:600;color:var(--bronze)}

/* Booking: one question at a time */
.book{background:var(--cocoa) var(--star);color:var(--ivory)}
.book .lead{color:#E6DBC8}
.book ul.ticks{list-style:none;margin-top:22px;display:none;gap:10px}
.ticks li{display:flex;gap:10px}
.ticks li::before{content:'✓';color:var(--bright)}
.panel{background:var(--card);color:var(--ink);border-radius:28px;padding:24px 20px 26px;margin-top:26px;scroll-margin-top:12px;display:flex;flex-direction:column;min-height:480px}
.prog{display:flex;align-items:center;gap:12px}
.prog .bar{flex:1;height:8px;border-radius:99px;background:var(--tint);overflow:hidden}
.prog .bar i{display:block;height:100%;width:0;background:var(--gold);border-radius:99px;transition:width .45s ease}
.crown{flex:none;width:34px;height:34px;fill:none;stroke:var(--gold);stroke-width:1.5;stroke-linejoin:round;transition:fill .4s}
.crown.full{fill:var(--bright)}
.meta{display:flex;justify-content:space-between;align-items:center;min-height:44px;color:var(--muted);font-size:15px;margin-top:4px}
.back{background:none;border:0;display:inline-flex;align-items:center;gap:6px;min-height:44px;padding:0 10px 0 0;color:var(--bronze);font-weight:600;cursor:pointer}
.back svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.q{display:none;flex:1}
.q.on{display:flex;flex-direction:column;animation:in .35s ease}
@keyframes in{from{opacity:0;transform:translateX(22px)}}
.rev-dir .q.on{animation-name:inback}
@keyframes inback{from{opacity:0;transform:translateX(-22px)}}
.q h3{font-size:clamp(25px,3.2vw,31px);margin:10px 0 6px;overflow-wrap:anywhere}
.q h3:focus{outline:0}
.q .sub{color:var(--muted);margin-bottom:22px}
.who{display:grid;grid-template-columns:1fr 1fr;gap:5px;margin-bottom:24px;padding:5px;border-radius:18px;background:var(--tint)}
.who span{grid-column:1/-1;padding:5px 10px 3px;font-size:15px;font-weight:600;text-align:center;color:var(--muted)}
.who button{min-height:50px;border:0;border-radius:13px;background:none;font-weight:600;font-size:17px;cursor:pointer;transition:background .15s,color .15s}
.who button.sel{background:var(--btn);color:#fff}
.opts{display:grid;gap:11px}
.opts.two{grid-template-columns:1fr 1fr}
.opt{display:flex;align-items:center;gap:16px;width:100%;min-height:68px;padding:13px 18px;text-align:left;border:1.5px solid var(--champagne);border-radius:18px;background:#fff;cursor:pointer;line-height:1.3;transition:border-color .15s,background .15s,color .15s,transform .15s}
.opt b{display:block;font-weight:600;font-size:18px}
.opt small{display:block;font-size:15px;color:var(--muted);margin-top:2px}
.opt .ic{flex:none;width:44px;height:44px;border-radius:50%;background:var(--tint);display:grid;place-items:center;color:var(--bronze);font:27px/1.7 var(--ar)}
.opt .ic svg{width:25px;height:25px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}
.opts.two .opt{justify-content:center;text-align:center;min-height:88px;font-family:var(--serif)}
.opts.two .opt b{font-weight:400;font-size:26px}
@media(hover:hover){.opt:hover,.day:hover,.part:hover,.time:hover{border-color:var(--gold)}}
.opt:active,.time:active,.day:active{transform:scale(.98)}
.opt.sel,.opt.sel small,.day.sel,.time.sel{background:var(--btn);border-color:var(--btn);color:#fff}
.opt.sel .ic{background:rgba(255,255,255,.18);color:#fff}
.fld{margin-bottom:16px}
.fld label{display:block;font-weight:600;margin-bottom:7px}
.in{width:100%;font:inherit;font-size:18px;padding:14px 18px;border:1.5px solid var(--champagne);border-radius:16px;background:#fff;color:var(--ink);min-height:58px}
.in::placeholder{color:#767165}
.in:focus{outline:none;border-color:var(--gold);box-shadow:0 0 0 3px rgba(150,119,71,.22)}
.phone{display:flex}
.phone b{display:grid;place-items:center;padding:0 16px;border:1.5px solid var(--champagne);border-right:0;border-radius:16px 0 0 16px;background:var(--ivory);font-weight:600}
.phone .in{border-radius:0 16px 16px 0}
.hint{color:var(--muted);font-size:15px;margin-top:6px}
.fe{display:none;color:var(--err);font-size:15px;font-weight:600;margin-top:7px}
.bad .fe{display:block}
.bad .in,.bad .phone b{border-color:var(--err)}
.q .btn{width:100%;margin-top:6px}
.days{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px}
.day,.time{border:1.5px solid var(--champagne);border-radius:14px;background:#fff;cursor:pointer;min-height:54px;padding:8px 4px;line-height:1.25;transition:border-color .15s,background .15s,color .15s,transform .15s}
.day b{display:block;font-weight:600}
.day span{font-size:14px}
.times{margin-top:14px;animation:in .3s ease}
.parts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;margin-top:22px;animation:in .3s ease}
.part{display:grid;justify-items:center;gap:1px;padding:14px 2px 12px;border:1.5px solid var(--champagne);border-radius:18px;background:#fff;cursor:pointer;line-height:1.3;transition:border-color .15s,background .15s,color .15s}
.part svg{width:28px;height:28px;margin-bottom:4px;fill:none;stroke:var(--gold);stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.part b{font-weight:700;font-size:clamp(13.5px,4.3vw,17px)}
.part small{white-space:nowrap;font-size:clamp(12.5px,3.7vw,14px);color:var(--muted)}
.part.sel{background:var(--cocoa);border-color:var(--cocoa);color:#fff}
.part.sel small{color:#E6DBC8}
.part.sel svg{stroke:var(--bright)}
.parts[hidden],.times[hidden]{display:none}
.time{white-space:nowrap;font-size:clamp(15px,4.2vw,17px)}
.times .any{width:100%;margin-top:9px;font-weight:600;color:var(--bronze);background:var(--tint)}
.times .any.sel{background:var(--btn);color:#fff}
.times div{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}
.sum{background:var(--tint);border-radius:16px;padding:14px 18px;margin-bottom:18px;line-height:1.5}
.sum b{font-weight:600}
.small{font-size:14px;color:var(--muted);margin-top:13px}
.small a{color:inherit}
.fail{background:#F8E6E0;color:var(--err);border-radius:14px;padding:13px 16px;margin-top:14px;font-weight:600}
.fail a{color:inherit}
.hp{position:absolute;left:-9999px}
#cal{background:#fff;border-radius:16px;overflow:hidden;margin-top:8px}
#cal>iframe{width:100%;height:760px;border:0;display:block}

.faq .list{margin-top:24px;border-top:1px solid var(--champagne)}
.faq details{border-bottom:1px solid var(--champagne)}
.faq summary{list-style:none;display:flex;justify-content:space-between;align-items:center;gap:16px;padding:19px 4px 19px 0;font-weight:600;font-size:18px;cursor:pointer}
.faq summary::-webkit-details-marker{display:none}
.faq summary::after{content:'';flex:none;width:10px;height:10px;border:solid var(--gold);border-width:0 2px 2px 0;transform:rotate(45deg) translate(-3px,-3px);transition:transform .2s}
.faq details[open] summary::after{transform:rotate(225deg) translate(-3px,-3px)}
.faq details p{padding:0 30px 20px 0;color:var(--muted)}

.final{background:var(--tint);border-top:1px solid var(--champagne);text-align:center}
.final img{width:92px;height:92px;margin:0 auto 18px}
.final p{margin:14px auto 26px;max-width:32em;color:var(--muted)}
.final h2{max-width:20em;margin:0 auto}
.foot{background:var(--ink);color:var(--ivory);padding:36px 0 40px;text-align:center;font-size:16px}
.foot .name{font-family:var(--serif);font-size:21px}
.wa{display:inline-flex;align-items:center;gap:10px;margin:16px 0 10px;padding:12px 24px;border:1.5px solid var(--gold);border-radius:999px;color:var(--ivory);font-weight:600;text-decoration:none}
.wa:hover{background:rgba(216,200,172,.14)}
.wa svg{width:21px;height:21px;fill:currentColor}
.foot .pp{display:inline-block;padding:10px;color:var(--champagne)}

.stick{position:fixed;inset:auto 0 0;z-index:20;padding:10px 16px calc(10px + env(safe-area-inset-bottom));background:var(--card);border-top:1px solid var(--champagne);transform:translateY(110%);visibility:hidden;transition:transform .25s,visibility .25s}
.stick.on{transform:none;visibility:visible}
.stick .btn{width:100%;padding:17px 14px}
.stick-t{display:none}
.ask{position:fixed;left:12px;right:12px;bottom:12px;z-index:40;max-width:560px;margin:0 auto;background:var(--card);color:var(--ink);border:1px solid var(--champagne);border-radius:18px;padding:15px 18px;box-shadow:0 10px 28px rgba(27,19,12,.25);font-size:15px;line-height:1.45}
.ask div{display:flex;gap:10px;margin-top:10px}
.ask a{color:inherit}
.ask button{flex:1;font:600 15px var(--sans);min-height:44px;padding:10px;border-radius:999px;border:1.5px solid var(--gold);background:#fff;color:var(--bronze);cursor:pointer}
.asking .stick{display:none}
.testbar{background:#FFE9A8;color:#4a3900;text-align:center;font-weight:600;font-size:15px;padding:8px}

.thanks{background:var(--cocoa) var(--star);color:var(--ivory);padding:44px 0 60px;text-align:center}
.thanks .in-w{max-width:600px;margin:0 auto}
.thanks .crown{width:84px;height:84px;margin:0 auto 14px;display:block;stroke:var(--bright)}
.thanks p{font-size:19px;margin-top:14px;color:#E6DBC8}
.thanks .when{background:var(--card);color:var(--ink);border-radius:20px;padding:20px;margin-top:26px}
.thanks .when b{display:block;font:22px/1.35 var(--serif);margin-top:2px}
.before{padding:44px 0 60px}
.before .wrap{max-width:644px}
.before ul{list-style:none;margin-top:14px;border-top:1px solid var(--champagne)}
.before li{padding:14px 0;border-bottom:1px solid var(--champagne)}

@media(min-width:640px){
 .btn.big{padding:22px 42px}
 .hero .btn,.mid .btn,.final .btn{width:auto}
 .courses,.cards{grid-template-columns:1fr 1fr}
 .opts.two{grid-template-columns:repeat(4,1fr)}
 .days{grid-template-columns:repeat(7,minmax(0,1fr))}
 .days{gap:7px}
 .time{font-size:15px}
 .times div{gap:7px;grid-template-columns:repeat(6,minmax(0,1fr))}
 .panel{padding:32px 34px 34px}
 .trust ul{grid-template-columns:repeat(3,1fr)}
}
@media(min-width:900px){

 section{padding:88px 0}
 .hero{min-height:clamp(580px,42vw,760px);display:flex;flex-direction:column;overflow:hidden;isolation:isolate}
 .hero-pic{position:absolute;inset:0 0 0 39%;z-index:-1}
 .hero-pic img,.hero-pic video{height:100%;aspect-ratio:auto;object-position:38% 55%}
 .hero-pic::after{content:'';position:absolute;inset:0 0 0 -3px;background:linear-gradient(90deg,rgba(238,233,224,1) 2%,rgba(238,233,224,.75) 10%,rgba(238,233,224,0) 24%)}
 .hero .copy{flex:1;display:flex;align-items:center;padding-block:8px 48px}
 .hero .copy>div{max-width:480px}
 .hero>.wrap{width:100%}
 .trust ul{display:flex;justify-content:space-between;gap:22px}
 .how ol{grid-template-columns:repeat(3,1fr);gap:40px;margin-top:48px}
 .how li{grid-template-columns:1fr;gap:24px;justify-items:center;align-content:start;text-align:center}
 .how li:not(:last-child)::after{left:calc(50% + 88px);right:calc(-50% + 48px);top:65px;bottom:auto;border-left:0;border-top:2px dashed var(--gold)}
 .medal{width:132px;height:132px}
 .medal::after{width:42px;height:42px;font-size:20px;right:-2px;top:-2px}
 .how h3{font-size:28px}
 .how li p{font-size:20px;max-width:13.5em;margin-top:9px}
 .mid{margin-top:52px}
 .cards{grid-template-columns:repeat(auto-fit,minmax(300px,1fr))}
 .leader{grid-template-columns:auto 1fr;gap:52px;text-align:left;align-items:center;padding:48px 56px}
 .leader .ph{width:220px;height:220px}
 .tags{justify-content:flex-start}
 .book .wrap{display:grid;grid-template-columns:1fr 1.25fr;gap:60px;align-items:center}
 .book ul.ticks{display:grid}
 .panel{margin:0;min-height:560px}
 .faq .wrap{display:grid;grid-template-columns:1fr 2fr;gap:56px}
 .faq .list{margin:0}
 .stick{box-shadow:0 -8px 24px rgba(27,19,12,.12)}
 .stick-in{max-width:1076px;margin:0 auto;display:flex;align-items:center;justify-content:space-between;gap:24px}
 .stick-t{display:block;font-weight:600}
 .stick .btn{width:auto;padding:15px 34px;font-size:20px}
 .hero .copy>div{max-width:490px}
}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important;animation:none!important}}
@media(min-width:900px) and (max-width:1120px){
 .times div{grid-template-columns:repeat(3,minmax(0,1fr))}
}
