
/* Teach Learn Play V3 — homepage visual refinement anchored to the user-approved
   desktop/mobile reference. Preserves source assets, bilingual routes and real data. */
body[data-page="home"]{background:var(--paper)}
body[data-page="home"] .site-header{
  height:86px;background:#FFFDF7;box-shadow:0 4px 20px rgba(40,39,85,.025);
  border-bottom:1px solid #E9E4DE;position:relative
}
body[data-page="home"] .container{width:min(1240px,calc(100% - 72px))}
body[data-page="home"] .header-inner{gap:20px}
body[data-page="home"] .primary-nav{gap:clamp(12px,1.45vw,23px)}
body[data-page="home"] .nav-link{font-size:12px}
body[data-page="home"] .brand{transform:rotate(-4deg);margin-inline:2px}
body[data-page="home"] .brand-line{font-size:30px;letter-spacing:-.085em;color:#1D20A7;text-shadow:.2px .2px #1D20A7}
body[data-page="home"] .brand-sub{font-size:7px;letter-spacing:.11em}
body[data-page="home"] .header-actions{gap:12px;flex-shrink:0}
.header-icon-link{display:grid;place-items:center;width:32px;height:34px;color:#24246D}
.header-icon-link:hover{color:var(--coral)}
body[data-page="home"] .language-switch{background:#FEFCF7}
body[data-page="home"] h1,body[data-page="home"] h2,body[data-page="home"] h3{letter-spacing:normal;color:#2428A9}
body[data-page="home"] .site-footer{padding-top:34px;background:#FFFBF1;border-top:1px solid #E9DFDA}
body[data-page="home"] .footer-top{padding-bottom:18px;gap:22px;grid-template-columns:1fr 1fr}
body[data-page="home"] .footer-top>div:first-child p{font-size:12px}
body[data-page="home"] .footer-links{flex-direction:row;flex-wrap:wrap;align-items:center;gap:10px 20px}
body[data-page="home"] .footer-links h3{width:100%;font-size:14px;margin-bottom:0}
body[data-page="home"] .footer-links>a{font-size:13px}
body[data-page="home"] .footer-links>span{font-size:11px}
body[data-page="home"] .footer-inky{width:64px!important;height:60px;right:4%!important}
body[data-page="home"] .footer-bottom{padding-block:12px;font-size:11px}
.landing-hero{
  position:relative;overflow:hidden;
  background:radial-gradient(ellipse at 79% 13%,rgba(255,241,217,.72),transparent 42%),#FFFDF7;
}
.landing-hero-layout{
  display:grid;direction:ltr;grid-template-columns:47% 53%;align-items:center;
  min-height:458px;gap:0;position:relative
}
.landing-hero-copy{
  grid-column:1;grid-row:1;direction:rtl;text-align:right;position:relative;
  padding:36px 16px 30px 40px;z-index:2
}
html[lang="en"] .landing-hero-copy{direction:ltr;text-align:left}
.landing-hero-copy h1{
  margin:0 0 15px;font-family:'Baloo Bhaijaan 2','IBM Plex Sans Arabic',sans-serif;
  font-size:clamp(52px,5.4vw,83px);font-weight:800;line-height:1.12;color:#202AAE
}
.landing-hero-copy h1 span{display:block}
html[lang="en"] .landing-hero-copy h1{
  font-family:'Baloo 2',var(--display);font-size:clamp(49px,4.9vw,76px);line-height:.97;
  letter-spacing:-.045em;max-width:570px
}
.landing-hero-intro{font-size:17px;line-height:1.75;color:#302C68;margin:0 0 26px;max-width:510px;font-weight:500}
.landing-pill,.landing-free-btn{
  display:inline-flex;align-items:center;justify-content:center;gap:26px;
  background:#3435C8;color:white;border-radius:100px;padding:12px 30px;
  min-width:225px;font-size:15px;font-weight:750;line-height:1.55;
  transition:transform .18s,background .18s
}
.landing-pill:hover,.landing-free-btn:hover{transform:translateY(-2px);background:#25289E}
.landing-micro-star{position:absolute;top:38px;right:30px;color:var(--coral);font-size:26px;transform:rotate(-19deg)}
.landing-scribble-left{position:absolute;left:3%;bottom:21px;color:#3341D5;font-size:78px;font-weight:700;transform:rotate(-7deg);pointer-events:none}
.landing-hero-art{grid-column:2;grid-row:1;position:relative;height:460px;isolation:isolate}
.landing-paper-photo{
  position:absolute;left:5%;top:63px;width:50%;height:315px;transform:rotate(-8deg);
  padding:13px 13px 32px;background:#fff;box-shadow:0 9px 22px rgba(23,23,75,.13);
  border:1px solid #E3E0ED;border-radius:12px
}
.landing-paper-photo img{height:100%;width:100%;object-fit:cover;object-position:center 20%;border-radius:5px}
.landing-paper-caption{
 position:absolute;bottom:10px;inset-inline:10px;text-align:center;color:#272F92;
 font-size:10px;line-height:1.2;font-weight:700
}
.landing-paper-tape{
  position:absolute;z-index:2;top:-13px;left:26%;width:116px;height:28px;
  transform:rotate(-4deg);background:repeating-linear-gradient(42deg,#F3C663 0 2px,#F9D47F 2px 7px);
  clip-path:polygon(3% 0,100% 0,96% 100%,0 95%);opacity:.88
}
.landing-mascot{position:absolute;z-index:2;height:420px;width:auto;max-width:58%;object-fit:contain;object-position:bottom;bottom:0;right:2%}
.landing-sparkle{position:absolute;z-index:3;pointer-events:none;line-height:1}
.landing-sparkle-a{top:28px;right:22%;font-size:64px;color:#F1A839;transform:rotate(14deg)}
.landing-sparkle-b{top:112px;right:0;font-size:55px;color:#EF74A3;transform:rotate(-14deg);font-weight:900}
.landing-hero-art .landing-inky{position:absolute;z-index:4;bottom:4px;left:31%;width:119px;height:100px;border:0;background:transparent;transform:rotate(-6deg);padding:0;overflow:visible}
.landing-hero-art .landing-inky img{width:100%;height:100%;object-fit:contain}
.landing-hero-art .landing-inky.is-collected img{opacity:.65}
.landing-about{background:#fffefb;border-top:1px solid #F0EDE4}
.landing-about-layout{
 display:grid;direction:ltr;position:relative;grid-template-columns:160px minmax(330px,1.45fr) minmax(300px,1fr);
 align-items:center;gap:27px;padding-block:25px 28px;min-height:190px
}
.landing-about-mascot-wrap{
 width:160px;height:150px;align-self:center;background:#FFF0F3;border-radius:13px;overflow:hidden;position:relative
}
.landing-about-mascot-wrap img{height:173px;width:auto;max-width:none;position:absolute;left:50%;bottom:-13px;transform:translateX(-50%);object-fit:contain}
.landing-about-copy{direction:rtl;text-align:right}
html[lang="en"] .landing-about-copy{direction:ltr;text-align:left}
.landing-about-copy h2{font-size:30px;margin:0 0 9px;line-height:1.4}
.landing-about-copy h2 span{position:relative;z-index:0;white-space:nowrap}
.landing-about-copy h2 span::before{
 content:'';position:absolute;bottom:0px;left:-13px;right:-13px;height:70%;
 border-radius:42% 25% 42% 28%;background:#F9C3D7;transform:rotate(-2deg);z-index:-1
}
.landing-about-copy p{font-size:13px;line-height:1.7;color:#282E82;margin:0 0 5px}
.landing-text-link{font-size:13px;font-weight:800;color:#2434B9;text-decoration:underline;text-decoration-color:#F28AB4;text-decoration-thickness:2px;text-underline-offset:5px}
.landing-text-link:hover{color:#C12970}
.landing-about-points{display:flex;justify-content:space-around;align-items:center;gap:10px;direction:rtl}
.landing-about-points>div{display:flex;flex:1;align-items:center;flex-direction:column;gap:8px;text-align:center;max-width:110px;font-size:12px;line-height:1.5;color:#26297D;font-weight:650}
.landing-point-icon{font-size:37px;line-height:1;font-weight:900}
.landing-point-pink{color:#EB77B4}.landing-point-blue{color:#4A75D8}.landing-point-yellow{color:#F2A92D}
.landing-nun{position:absolute;width:42px;height:42px;bottom:-17px;left:28%;padding:2px;border:none;background:transparent;transform:rotate(-13deg);z-index:3}
.landing-nun img{max-width:100%;max-height:100%;object-fit:contain}
.landing-explore{padding:22px 0 11px;background:#FFFEFB}
.landing-explore-wrap{
 background:#FDEAF0;border-radius:21px;padding:18px 20px 20px;
}
.landing-section-head{display:flex;justify-content:space-between;align-items:baseline;gap:20px;margin-bottom:13px}
.landing-section-head h2{font-size:35px;margin:0;line-height:1.25;white-space:nowrap}
.landing-section-head p{margin:0;font-size:13px;color:#373A82}
.landing-underline{display:block;position:relative;height:4px;width:74%;background:#ED72A5;border-radius:50%;transform:rotate(-3deg);margin-top:-2px}
.landing-categories{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:13px}
.landing-category{
 display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;
 min-height:145px;padding:14px 12px 10px;text-align:center;border-radius:15px;
 color:#2225A2;transition:transform .2s,box-shadow .2s;position:relative
}
.landing-category:hover{transform:translateY(-4px);box-shadow:0 8px 12px rgba(65,61,144,.10)}
.landing-category img{width:53px;height:55px;object-fit:contain;filter:saturate(1.15)}
.landing-category strong{font-size:15px;font-weight:800;line-height:1.4}
.landing-round-arrow{display:grid;place-items:center;width:21px;height:21px;border:1px solid #696AB5;border-radius:50%;font-size:14px;line-height:1}
.landing-category-pink{background:#FAD5E3}.landing-category-lime{background:#E3F1B9}
.landing-category-sky{background:#CEE6F8}.landing-category-lilac{background:#E8D7F9}
.landing-resources{padding:0 0 16px;background:#FFFEFB}
.landing-resource-columns{display:grid;grid-template-columns:1fr 1fr;gap:12px;align-items:stretch;direction:rtl}
.landing-featured-panel,.landing-free-panel{min-height:271px;border-radius:17px;padding:21px 23px;position:relative;overflow:hidden}
.landing-featured-panel{background:#E5F3FE}
.landing-free-panel{background:#FFF3CF;direction:rtl;display:flex;align-items:center;justify-content:space-between;gap:8px}
.landing-panel-head{display:flex;align-items:start;justify-content:space-between;gap:14px;margin-bottom:13px}
.landing-panel-head h2,.landing-free-panel h2{font-size:25px;line-height:1.28;margin:0;color:#282CAF}
.landing-panel-head p{font-size:12px;margin:0;color:#3B3980}
.landing-panel-head .landing-text-link{white-space:nowrap;font-size:12px}
.landing-product-row{display:grid;grid-template-columns:1fr 1fr;gap:13px}
.landing-product{
 background:rgba(255,255,255,.65);border-radius:12px;padding:8px;
 display:flex;flex-direction:column;gap:4px;color:#272B99;min-width:0;
 transition:transform .2s
}
.landing-product:hover{transform:translateY(-3px)}
.landing-product-cover{height:93px;border-radius:8px;position:relative;display:flex;align-items:center;justify-content:center;overflow:hidden}
.landing-product-cover-word{background:repeating-linear-gradient(22deg,#FCE6AF 0 26px,#FCDF9E 26px 30px,#FBEDA7 30px 55px);font-family:'Baloo 2',sans-serif;font-weight:800;color:#3337B3;font-size:23px;line-height:.85;text-align:center;letter-spacing:-.03em}
.landing-cover-doodles{position:absolute;top:8px;right:8px;color:#E46A94;font-size:28px}
.landing-product-cover-coming{background:#E7D8FC;display:flex;gap:12px}
.landing-product-cover-coming img{width:47px;height:80px;object-fit:contain;transform:rotate(28deg)}
.landing-product-cover-coming span{max-width:72px;font:800 18px/1.0 'Baloo 2',sans-serif;letter-spacing:-.04em}
.landing-product-status{font-size:9px;line-height:1.1;letter-spacing:.02em;font-weight:800;color:#6A357F;margin-top:3px}
.landing-product strong{font-size:14px;line-height:1.2}
.landing-product-bottom{display:flex;align-items:center;justify-content:space-between;font-size:11px;font-weight:700;margin-top:auto}
.landing-product-bottom span{display:grid;place-items:center;border:1px solid #8B8BC9;width:19px;height:19px;border-radius:50%}
.landing-free-info{max-width:56%;z-index:2}
.landing-free-panel h2{margin-bottom:14px}
.landing-free-panel h3{font:800 25px/1.1 'Baloo 2',var(--display);margin:0 0 9px;color:#1C279D}
.landing-free-panel p{font-size:12px;line-height:1.6;color:#353B79;margin-bottom:12px}
.landing-free-btn{padding:9px 16px;min-width:0;font-size:12px;gap:13px;background:#D23878}
.landing-free-btn:hover{background:#A9265E}
.landing-free-art{height:198px;width:41%;position:relative;flex-shrink:0}
.landing-wordcard{
 position:absolute;display:flex;align-items:center;justify-content:center;flex-direction:column;
 background:#FFFCF5;width:90px;height:118px;border-radius:8px;
 box-shadow:0 4px 10px rgba(79,60,44,.20);border:1px solid #F1E5D1;
 color:#F2A333;font-size:40px;line-height:1.0
}
.landing-wordcard small{font:800 14px/1.3 'Baloo 2',sans-serif;color:#2A36B8}
.landing-card-1{top:33px;left:2px;transform:rotate(-13deg);z-index:1}
.landing-card-2{top:15px;left:65px;transform:rotate(9deg);z-index:2;color:#3C71CC}
.landing-card-3{top:44px;left:128px;transform:rotate(16deg);z-index:3;color:#E9596B}
.landing-free-pencil{position:absolute;bottom:-38px;right:0;width:65px;height:105px;background:transparent;border:0;padding:0;transform:rotate(-24deg);z-index:4}
.landing-free-pencil img{width:100%;height:100%;object-fit:contain}
.landing-more{display:flex;gap:16px;align-items:center;justify-content:space-between;padding:12px 0 18px}
.landing-more-links{display:flex;gap:22px;flex-wrap:wrap}
.landing-more-links a{font-size:12px;color:#2B299A;font-weight:700}
.landing-more-links a:hover{text-decoration:underline}
.landing-sticker-count{font-size:11px;color:#4A497F}
.landing-sticker-count button{margin-inline-start:8px;border:none;background:transparent;color:#3B2DAA;text-decoration:underline}
.landing-credential-strip{border-top:1px solid #E9E6E0;background:#FBF9F4}
.landing-credential-strip .container{padding:16px 0;display:flex;align-items:center;justify-content:center;gap:20px;flex-wrap:wrap}
.landing-credential-strip span:first-child{font-size:11px;color:#65627A}
.landing-credential-chip{font-size:12px;font-weight:600;color:#3B2F9E;background:#fff;border:1.5px solid #E7E2F7;border-radius:999px;padding:5px 12px;line-height:1.2}
.landing-credential-strip .container{gap:10px}
@media(max-width:1180px){
 body[data-page="home"] .container{width:calc(100% - 48px)}
 body[data-page="home"] .primary-nav{gap:11px}
 body[data-page="home"] .nav-link{font-size:11px}
 body[data-page="home"] .brand-line{font-size:26px}
 .landing-about-layout{grid-template-columns:130px 1fr 270px;gap:20px}
 .landing-about-mascot-wrap{width:128px;height:130px}
 .landing-hero-copy h1{font-size:60px}
 .landing-wordcard{width:72px}
 .landing-card-2{left:46px}.landing-card-3{left:92px}
}
@media(max-width:950px){
 body[data-page="home"] .site-header{height:70px}
 body[data-page="home"] .primary-nav{display:none}
 body[data-page="home"] .menu-toggle{display:flex}
 body[data-page="home"] .mobile-nav.open{display:flex}
 body[data-page="home"] .header-icon-link{width:29px}
 .landing-hero-layout{grid-template-columns:49% 51%;min-height:410px}
 .landing-hero-art{height:410px}
 .landing-mascot{height:385px}
 .landing-paper-photo{height:272px;top:61px}
 .landing-hero-copy h1{font-size:clamp(43px,5.6vw,56px)}
 .landing-hero-intro{font-size:15px}
 .landing-about-layout{grid-template-columns:110px 1fr;gap:18px}
 .landing-about-mascot-wrap{width:110px;height:127px}
 .landing-about-copy{padding-inline-end:20px}
 .landing-about-points{grid-column:1/-1;justify-content:center;gap:24px}
 .landing-about-points>div{max-width:200px}
 .landing-resource-columns{grid-template-columns:1fr;direction:initial}
 .landing-featured-panel,.landing-free-panel{min-height:255px}
 .landing-product-cover{height:120px}
 .landing-free-info{max-width:48%}
 .landing-wordcard{width:110px}
 .landing-card-2{left:79px}.landing-card-3{left:154px}
}
@media(max-width:660px){
 body[data-page="home"] .container{width:calc(100% - 34px)}
 body[data-page="home"] .site-header{height:70px}
 body[data-page="home"] .brand-line{font-size:25px}
 body[data-page="home"] .header-actions{gap:4px}
 body[data-page="home"] .header-search{display:none}
 body[data-page="home"] .header-icon-link{width:28px}
 body[data-page="home"] .menu-toggle{width:30px}
 .landing-hero{background:#FFFDF5}
 .landing-hero-layout{display:flex;flex-direction:column;align-items:stretch;min-height:0;padding-top:37px}
 .landing-hero-copy{order:0;padding:0 5px 4px;direction:ltr;text-align:left}
 html[lang="ar"] .landing-hero-copy{direction:rtl;text-align:right}
 .landing-hero-copy h1{font:800 clamp(41px,9.2vw,58px)/1.1 'Baloo Bhaijaan 2',var(--display);margin:0 0 12px}
 html[lang="en"] .landing-hero-copy h1{font:800 clamp(43px,10.2vw,61px)/.97 'Baloo 2',var(--display);letter-spacing:-.025em}
 .landing-hero-intro{font-size:14px;line-height:1.6;max-width:390px;margin-bottom:16px}
 .landing-pill{min-width:205px;font-size:13px;padding:10px 20px}
 .landing-micro-star,.landing-scribble-left{display:none}
 .landing-hero-art{order:1;grid-column:auto;grid-row:auto;height:244px;margin-top:15px;width:100%}
 .landing-paper-photo{left:6%;width:45%;height:196px;top:18px;transform:rotate(-8deg);padding:8px 8px 22px}
 .landing-paper-caption{bottom:5px;font-size:7px}
 .landing-paper-tape{width:65px;height:17px;top:-9px}
 .landing-mascot{right:2%;height:255px;max-width:66%;bottom:0}
 .landing-sparkle-a{font-size:34px;right:28%;top:4px}
 .landing-sparkle-b{font-size:29px;right:0;top:47px}
 .landing-hero-art .landing-inky{width:67px;height:61px;left:36%;bottom:0}
 .landing-about{padding:11px 0}
 .landing-about-layout{grid-template-columns:105px minmax(0,1fr);gap:14px;padding:12px 13px;min-height:0;
    background:#FDE5EB;border-radius:17px}
 .landing-about-mascot-wrap{width:105px;height:136px;align-self:end;border-radius:14px;background:#FFE9E9}
 .landing-about-mascot-wrap img{height:150px;bottom:-10px}
 .landing-about-copy{padding:0;direction:ltr;text-align:left}
 html[lang="ar"] .landing-about-copy{direction:rtl;text-align:right}
 .landing-about-copy h2{font-size:23px;line-height:1.3;margin:0 0 8px}
 .landing-about-copy p{font-size:11.8px;line-height:1.5;margin:0 0 7px}
 .landing-text-link{font-size:12px}
 .landing-about-points,.landing-nun{display:none}
 .landing-explore{padding:22px 0 13px}
 .landing-explore-wrap{background:transparent;padding:0}
 .landing-section-head{margin-bottom:12px}
 .landing-section-head h2{font-size:30px}
 .landing-section-head p{font-size:12px;max-width:170px;text-align:end}
 .landing-categories{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
 .landing-category{min-height:116px;padding:12px 8px;border-radius:13px;gap:3px}
 .landing-category img{width:42px;height:43px}
 .landing-category strong{font-size:14px}
 .landing-round-arrow{display:none}
 .landing-resources{padding-bottom:0}
 .landing-resource-columns{gap:16px}
 .landing-featured-panel{padding:0;border-radius:0;background:transparent;min-height:0}
 .landing-panel-head h2{font-size:26px}
 .landing-product-row{gap:11px}
 .landing-product{background:#F9F5F0;padding:6px;border:1px solid #EEE4DC}
 .landing-product-cover{height:106px}
 .landing-product strong{font-size:13px}
 .landing-product-cover-word{font-size:22px}
 .landing-product-status{font-size:9px}
 .landing-free-panel{min-height:182px;padding:20px 15px;border-radius:15px}
 .landing-free-info{max-width:62%}
 .landing-free-panel h2{font-size:20px;margin-bottom:7px}
 .landing-free-panel h3{font-size:20px;margin:0 0 6px}
 .landing-free-panel p{font-size:11px;margin:0 0 8px}
 .landing-free-btn{padding:8px 11px;font-size:11px}
 .landing-free-art{width:40%;height:145px}
 .landing-wordcard{height:86px;width:64px;font-size:30px}
 .landing-wordcard small{font-size:10px}
 .landing-card-1{top:27px;left:0}
 .landing-card-2{top:11px;left:38px}
 .landing-card-3{top:33px;left:75px}
 .landing-free-pencil{display:none}
 .landing-more{flex-direction:column;align-items:start;padding:17px 0}
 .landing-more-links{gap:10px 14px}
 .landing-sticker-count{font-size:10px}
 .landing-credential-strip .container{gap:8px}
 .landing-credential-strip span:first-child{font-size:10px}
 .landing-credential-chip{font-size:11px;padding:4px 9px}
 body[data-page="home"] .site-footer{padding-top:26px}
 body[data-page="home"] .footer-top{grid-template-columns:1fr;gap:9px;padding-bottom:12px}
 body[data-page="home"] .footer-links{flex-direction:row;gap:6px 14px}
 body[data-page="home"] .footer-inky{width:58px!important;height:50px}
}
@media(max-width:380px){
 body[data-page="home"] .header-icon-link{display:none}
 body[data-page="home"] .brand-line{font-size:23px}
 .landing-hero-copy h1{font-size:42px}
 .landing-about-layout{grid-template-columns:90px 1fr;gap:10px}
 .landing-about-mascot-wrap{width:90px;height:140px}
 .landing-about-copy h2{font-size:21px}
 .landing-about-copy p{font-size:11px}
 .landing-free-info{max-width:60%}
}

/* Visual QA refinements: accessible footer contrast, genuine image crop, mobile sticker hunt */
body[data-page="home"] .site-footer{color:#24245F}
body[data-page="home"] .site-footer .brand{color:#292AB1}
body[data-page="home"] .site-footer .brand-sub{color:#524D88}
body[data-page="home"] .footer-top p{color:#4A4874}
body[data-page="home"] .footer-links h3,
body[data-page="home"] .footer-links a{color:#272AB0}
body[data-page="home"] .footer-links span{color:#4A4772}
body[data-page="home"] .footer-bottom{border-top-color:#DDD7CB}
body[data-page="home"] .footer-bottom small{color:#57516D}
body[data-page="home"] .back-top{color:#292BAE}
.landing-about-copy p{font-size:14px}
.landing-about-points>div{font-size:13px}
.landing-about-mascot-wrap img{width:100%;height:100%;object-fit:cover;object-position:center 13%;position:static;transform:none}
@media(max-width:660px){
 .landing-about-mascot-wrap img{width:100%;height:100%;object-fit:cover;object-position:center 14%}
 .landing-nun{display:block;position:absolute;bottom:-18px;left:-5px;width:47px;height:47px}
 .landing-free-pencil{display:block;width:60px;height:94px;bottom:-30px;right:-7px}
 .landing-about-copy p{font-size:12px}
 body[data-page="home"] .footer-links span{font-size:11px}
}

/* LTR editorial alignment while preserving the reference's panel placement. */
html[lang="en"] .landing-featured-panel,
html[lang="en"] .landing-product,
html[lang="en"] .landing-panel-head,
html[lang="en"] .landing-free-panel{direction:ltr;text-align:left}
html[lang="en"] .landing-free-art{direction:ltr}


/* ------------------------------------------------------------------------
   V4 — APPROVED PRECISE CORRECTIONS
   Portrait stays genuine, whole, level; wordmark stays parallel to baseline;
   retained doodles never disappear behind their own clipping containers.
   All other sections and their order remain unchanged.
   ------------------------------------------------------------------------ */
body[data-page="home"] .brand,
body[data-page="home"] .brand:hover,
body[data-page="home"] .brand-sub {transform:none;}

/* Three content areas retain the original mascot position on the right.
   AR: intro / portrait / original illustration.
   EN: portrait / intro / original illustration. */
.landing-hero {overflow:hidden;}
.landing-hero-layout {
  display:grid;direction:ltr;min-height:466px;gap:10px;
  grid-template-columns:minmax(0,1.56fr) minmax(220px,.98fr) minmax(160px,.75fr);
  align-items:center;
}
.landing-hero-copy {grid-column:1;grid-row:1;padding:28px 13px 28px 0;direction:rtl;text-align:right;}
.landing-hero-portrait {
  grid-column:2;grid-row:1;margin:0;padding:14px 8px;
  display:flex;justify-content:center;align-items:center;min-width:0;align-self:center;
}
.landing-hero-portrait img {
  display:block;width:min(100%,300px);height:auto;max-height:370px;
  object-fit:contain;object-position:center;aspect-ratio:auto;
  border-radius:13px;transform:none;border:1px solid #EBE5DD;
  box-shadow:none;
}
.landing-hero-art {grid-column:3;grid-row:1;height:440px;min-width:0;position:relative;overflow:visible;}
.landing-mascot {
  display:block;position:absolute;right:4%;bottom:4px;
  height:412px;max-height:calc(100% - 12px);max-width:94%;
  width:auto;object-fit:contain;object-position:bottom center;
  transform:none;
}
.landing-sparkle-a {top:32px;right:48%;font-size:49px;}
.landing-sparkle-b {top:110px;right:0;font-size:41px;}
.landing-hero-art .landing-inky {
  left:-9%;bottom:7px;width:83px;height:76px;transform:none;
  padding:0;overflow:visible;
}
html[lang="en"] .landing-hero-layout {
  grid-template-columns:minmax(210px,.96fr) minmax(0,1.54fr) minmax(160px,.73fr);
}
html[lang="en"] .landing-hero-portrait {grid-column:1;}
html[lang="en"] .landing-hero-copy {grid-column:2;padding:28px 10px;direction:ltr;text-align:left;}
html[lang="en"] .landing-hero-art {grid-column:3;}
html[lang="en"] .landing-hero-copy h1 {font-size:clamp(44px,4.45vw,65px);}

/* Replace the originally cropped close-up with the approved full-body mark,
   positioned inside the same small About illustration area. */
.landing-about-mascot-wrap {
  width:150px;height:158px;display:grid;place-items:center;overflow:visible;
  background:#FFF0F3;border-radius:13px;
}
.landing-about-mascot-wrap img {
  position:static;display:block;transform:none;width:auto;height:94%;
  max-width:100%;object-fit:contain;object-position:center;
}
/* Noon sticker has enough room to display its complete arc and dot. */
.landing-nun {left:25%;bottom:5px;width:54px;height:58px;
  transform:rotate(-7deg);padding:0;overflow:visible;}
.landing-nun img {display:block;width:100%;height:100%;object-fit:contain;}

@media(max-width:1180px){
 .landing-hero-layout{grid-template-columns:minmax(0,1.55fr) minmax(190px,.95fr) minmax(145px,.74fr);}
 html[lang="en"] .landing-hero-layout{grid-template-columns:minmax(180px,.96fr) minmax(0,1.55fr) minmax(145px,.74fr);}
 .landing-hero-copy h1{font-size:clamp(44px,5.4vw,65px);}
 .landing-hero-art{height:400px;}
 .landing-mascot{height:374px;}
 .landing-about-mascot-wrap{width:128px;height:137px;}
}
@media(max-width:950px){
 .landing-hero-layout{
   grid-template-columns:minmax(0,1fr) minmax(170px,.8fr) minmax(120px,.55fr);
   min-height:395px;gap:6px;
 }
 html[lang="en"] .landing-hero-layout{
   grid-template-columns:minmax(170px,.8fr) minmax(0,1fr) minmax(120px,.55fr);
 }
 .landing-hero-art{height:355px;}
 .landing-mascot{height:335px;}
 .landing-hero-portrait img{max-height:312px;}
 .landing-hero-copy h1{font-size:clamp(39px,5.1vw,53px);}
 html[lang="en"] .landing-hero-copy h1{font-size:clamp(36px,4.75vw,49px);}
 .landing-hero-intro{font-size:14px;}
 .landing-hero-art .landing-inky{width:55px;height:60px;left:-10%;}
 .landing-about-mascot-wrap{width:109px;height:139px;}
}
@media(max-width:750px){
 /* On narrow screens the image and introduction remain in the same hero,
    with the portrait on the requested language-specific side. */
 .landing-hero-layout,html[lang="en"] .landing-hero-layout{
   display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;
   padding-top:25px;padding-bottom:12px;min-height:0;
 }
 .landing-hero-copy,html[lang="en"] .landing-hero-copy{
   grid-column:1 / -1;grid-row:1;order:initial;
   padding:0 5px 3px;
 }
 html[lang="ar"] .landing-hero-copy{direction:rtl;text-align:right;}
 html[lang="en"] .landing-hero-copy{direction:ltr;text-align:left;}
 .landing-hero-portrait{
   grid-column:2;grid-row:2;order:initial;align-items:end;justify-content:center;
   padding:8px 4px 3px;
 }
 html[lang="en"] .landing-hero-portrait{grid-column:1;}
 .landing-hero-portrait img{width:auto;max-width:100%;height:auto;max-height:238px;}
 .landing-hero-art{
   grid-column:1;grid-row:2;order:initial;min-width:0;
   margin:0;width:100%;height:247px;
 }
 html[lang="en"] .landing-hero-art{grid-column:2;}
 .landing-mascot{right:15%;height:232px;max-width:80%;bottom:4px;}
 .landing-sparkle-a{font-size:28px;right:26%;top:7px;}
 .landing-sparkle-b{font-size:26px;right:4%;top:54px;}
 .landing-hero-art .landing-inky{left:2%;bottom:8px;width:62px;height:59px;}
 .landing-about-mascot-wrap{width:105px;height:137px;overflow:visible;}
 .landing-about-mascot-wrap img{height:90%;width:auto;max-width:100%;object-fit:contain;}
 .landing-nun{display:block;left:0;bottom:8px;width:37px;height:39px;}
}
@media(max-width:440px){
 .landing-hero-copy h1{font-size:clamp(39px,10.5vw,50px);}
 html[lang="en"] .landing-hero-copy h1{font-size:clamp(39px,10.5vw,46px);}
 .landing-hero-intro{font-size:13px;}
 .landing-hero-art{height:222px;}
 .landing-mascot{height:212px;right:12%;}
 .landing-hero-portrait img{max-height:217px;border-radius:10px;}
 .landing-about-mascot-wrap{width:95px;height:139px;}
 .landing-about-mascot-wrap img{height:94%;}
 .landing-nun{bottom:5px;left:1px;width:32px;height:35px;}
}

/* Final visual review: never let the smaller approved illustration grow beyond
   its illustration slot or obscure the next section. */
.landing-about-mascot-wrap {
  display:flex;align-items:center;justify-content:center;
  flex-shrink:0;overflow:visible;
}
.landing-about-mascot-wrap img {
  height:146px;width:auto;max-width:100%;max-height:100%;
  object-fit:contain;object-position:center;
  flex:none;position:static;transform:none;
}
@media(max-width:1180px){
  .landing-about-mascot-wrap img {height:123px;max-height:100%;}
}
@media(max-width:750px){
  .landing-about-mascot-wrap img {height:124px;max-height:100%;}
  .landing-nun {left:111px;top:9px;bottom:auto;width:32px;height:35px;}
}
@media(max-width:440px){
  .landing-about-mascot-wrap img {height:126px;max-height:100%;}
  .landing-nun {left:101px;top:10px;bottom:auto;width:30px;height:33px;}
}

/* ===== Nov 2026 tidy-up: no decorations over text, nothing cut off ===== */
.landing-micro-star,.landing-scribble{display:none!important}
/* ن signature: sits neatly beside "Learn more" instead of floating */
.landing-sign-row{display:flex;align-items:center;gap:14px;flex-wrap:wrap}
.landing-about-copy .landing-nun,.landing-nun{position:static!important;display:inline-flex!important;width:40px!important;height:42px!important;transform:rotate(-6deg)!important;padding:0!important;margin:0!important;inset:auto!important;flex:none}
/* Word cards stay inside the panel and every word stays readable */
.landing-free-art{overflow:visible}
.landing-wordcard{width:86px;height:112px}
.landing-card-1{top:40px;left:0;transform:rotate(-8deg)}
.landing-card-2{top:22px;left:78px;transform:rotate(3deg)}
.landing-card-3{top:46px;left:156px;transform:rotate(9deg)}
.landing-free-pencil{bottom:6px!important;right:4px!important;width:46px!important;height:76px!important;transform:rotate(-18deg)!important}
@media(max-width:1180px){
 .landing-card-2{left:62px}.landing-card-3{left:124px}
}
@media(max-width:660px){
 .landing-free-panel{flex-direction:column!important;align-items:stretch!important}
 .landing-free-info{max-width:100%!important}
 .landing-free-art{width:100%!important;height:118px!important;margin-top:6px}
 .landing-wordcard{width:74px!important;height:96px!important;font-size:28px!important}
 .landing-wordcard small{font-size:12px!important}
 .landing-card-1{top:12px!important;left:calc(50% - 125px)!important}
 .landing-card-2{top:4px!important;left:calc(50% - 37px)!important}
 .landing-card-3{top:14px!important;left:calc(50% + 51px)!important}
 .landing-free-pencil{display:none!important}
}
/* Footer cat never sits on top of footer text */
.site-footer .footer-inky{right:auto!important;inset-inline-end:2%!important;bottom:6px}
html[dir="rtl"] .site-footer .footer-inky{left:2%!important;right:auto!important}
html[dir="ltr"] .site-footer .footer-inky{right:2%!important;left:auto!important}
/* Underline swashes sit under the heading, never through it */
.landing-free-panel .landing-underline{margin-top:6px!important;transform:rotate(-1.5deg)!important;width:min(74%,260px)!important}
/* Logo: letters no longer squeezed into each other */
.brand-line{letter-spacing:-.015em!important;text-shadow:none!important}
.brand-ink{margin-inline:5px!important}
/* Highlight behind "Meet Ms. Noor!" / «مرحباً! أنا أ. نور»: a complete rounded swash */
.landing-about-copy h2 span{display:inline-block;padding:0 6px}
.landing-about-copy h2 span::before{left:-8px!important;right:-8px!important;bottom:3px!important;height:58%!important;border-radius:999px!important;transform:rotate(-1.5deg)!important}

/* ===== Hero: character (left) · intro (middle) · photo (right) — same in EN and AR ===== */
.landing-hero .landing-hero-layout{display:grid!important;direction:ltr;grid-template-columns:minmax(0,.85fr) minmax(0,1.3fr) minmax(0,.85fr)!important;grid-template-areas:"art copy photo";grid-template-rows:auto!important;align-items:center;gap:28px;min-height:0!important;padding-top:24px}
.landing-hero .landing-hero-art{grid-area:art!important;position:relative;height:420px!important;width:100%;margin:0!important;display:flex;align-items:flex-end;justify-content:center}
.landing-hero .landing-mascot{position:static!important;height:100%!important;width:auto!important;max-width:100%!important;object-fit:contain}
.landing-hero .landing-hero-copy{grid-area:copy!important;padding:0!important;text-align:center!important}
html[lang="ar"] .landing-hero .landing-hero-copy{direction:rtl}
html[lang="en"] .landing-hero .landing-hero-copy{direction:ltr}
.landing-hero .landing-hero-copy .landing-pill{margin-inline:auto}
.landing-hero .landing-hero-portrait{grid-area:photo!important;margin:0!important;display:flex;justify-content:center}
.landing-hero .landing-hero-portrait img{width:100%!important;max-width:300px;height:auto!important;max-height:420px!important;object-fit:contain;border-radius:16px}
.landing-hero .landing-hero-art .landing-inky{position:absolute!important;left:0!important;right:auto!important;bottom:0!important;width:70px!important;height:62px!important}
@media(max-width:1100px){.landing-hero .landing-hero-art{height:340px!important}.landing-hero .landing-hero-portrait img{max-height:340px!important}}
@media(max-width:760px){
 .landing-hero .landing-hero-layout{grid-template-columns:1fr 1fr!important;grid-template-areas:"copy copy" "art photo";gap:18px}
 .landing-hero .landing-hero-art{height:250px!important}
 .landing-hero .landing-hero-portrait img{max-height:250px!important}
 .landing-hero .landing-hero-art .landing-inky{width:52px!important;height:46px!important}
}
/* Footer cat: sits in its own space, never on top of links */
.site-footer .footer-inky{position:static!important;display:block;align-self:flex-end;margin-inline-start:auto;inset:auto!important}
.site-footer .footer-top{grid-template-columns:1fr 1fr auto!important;align-items:end}
@media(max-width:760px){.site-footer .footer-top{grid-template-columns:1fr auto!important}.site-footer .footer-top>div:first-child{grid-column:1/-1}}
.landing-point-sticker{width:46px;height:46px;object-fit:contain;display:block;margin:0 auto 6px}
