/* AifaLabs atelier — the same warm, botanical world beyond the homepage. */
:root{--paper:#fcf5ec;--ink:#302c37;--muted:#625c67;--teal:#285b4d;--accent:#974258}
/* Progressive enhancement: navigation stays in document flow without JavaScript. */
@media(max-width:760px){body:not(.js) .menu{display:none}body:not(.js) .site-header{position:relative;background:#fcf5ec}body:not(.js) .site-header .nav{flex-wrap:wrap;min-height:0;padding-block:18px;gap:16px}body:not(.js) .nav-links{position:static;display:flex;flex-direction:row;flex-wrap:wrap;justify-content:flex-start;width:100%;padding:0;border:0;border-radius:0;box-shadow:none;background:transparent}body:not(.js) .nav-links a{font-size:12px;padding:8px 9px}}
body{background:var(--paper)}
.site-header .nav{min-height:84px}.site-header{border-color:#c2aeb329;background:#fcf5eceb}
.brand>img{border-radius:6px}.nav-links a{font-size:12px}.nav-contact{background:#fff8ed60}
.interior-page{--petal:#eccaca;--leaf:#d9e4cc;--cover:#c26a79;--cover-ink:#4b273f;background:#fcf5ec}
.interior-page .page-hero{position:relative;overflow:hidden;padding:68px 0 76px;border:0;background:radial-gradient(ellipse at 90% 20%,var(--petal),transparent 60%),linear-gradient(120deg,#fdf7ed,#f3e8dd);isolation:isolate}
.interior-page .page-hero::after{content:'';position:absolute;width:110%;height:170px;bottom:-140px;left:-5%;background:var(--paper);border-radius:50% 50% 0 0;z-index:-1}
.hero-inner{display:grid;grid-template-columns:1.25fr 1fr;gap:6%;align-items:center}
.hero-text{position:relative;z-index:2}.hero-text .eyebrow{font-size:9px;letter-spacing:.2em;margin-bottom:22px}
.interior-page .page-hero h1{font-size:clamp(51px,5.6vw,86px);line-height:1.015;max-width:13ch;letter-spacing:-.055em;margin-bottom:25px}
.interior-page .page-hero .lead{font-size:14px;max-width:49ch;line-height:1.85}
.interior-page .breadcrumb{font-size:10px;letter-spacing:.02em;margin-bottom:30px}.breadcrumb a{text-decoration:none;border-bottom:1px solid #b8a2a2}
.hero-art{position:relative;aspect-ratio:1;min-width:0;display:grid;place-items:center;isolation:isolate}
.hero-art::before{content:'';position:absolute;inset:5%;border-radius:50%;background:radial-gradient(circle at 40% 30%,#fff5d6c4,var(--petal) 60%,#dab5ca);box-shadow:inset 0 0 90px #fff8ee90,0 40px 100px #8e5b7512;transform:rotate(-15deg) scale(.85)}
.hero-art::after{content:'';position:absolute;inset:1%;border:1px solid #b7819560;border-radius:50%;transform:rotate(-32deg) scale(1.12,.78);z-index:-1}
.hero-art>img{position:relative;width:89%;height:auto;object-fit:contain;transform:rotate(-17deg);filter:drop-shadow(8px 22px 20px #74456324);z-index:2}
.story-banner img{height:auto}
.art-word{position:absolute;left:-5%;bottom:6%;font:italic clamp(48px,7vw,110px)/1 Georgia,serif;letter-spacing:-.06em;color:#85576837;z-index:3}
.art-dot{position:absolute;left:5%;top:20%;width:18px;height:35px;border-radius:100% 0 100% 0;background:#c28f7c;transform:rotate(35deg)}.art-dot:last-child{left:auto;right:0;top:76%;background:#6e9b91;transform:rotate(66deg);width:10px;height:23px}
.book-cover{--cover:#d98e94;--cover-ink:#4c2b45;position:relative;background:linear-gradient(120deg,#ffffff35,transparent 65%),var(--cover);color:var(--cover-ink);width:61%;aspect-ratio:.74;display:flex;flex-direction:column;padding:9% 8% 7%;border-radius:2px 9px 9px 2px;box-shadow:-7px 5px 0 #f8f1e2,-9px 5px 0 #b69b91,13px 28px 32px #51314523;transform:perspective(800px) rotateY(-13deg) rotateZ(-9deg);z-index:2;overflow:hidden}
.book-cover::after{content:'';position:absolute;inset:0;border-left:6px solid #ffffff28;box-shadow:inset -4px 0 0 #33253c0b;pointer-events:none}
.book-cover small{font-size:8px;letter-spacing:.17em;font-weight:600;position:relative;z-index:2}
.cover-symbol{font:italic clamp(65px,8vw,115px)/1 Georgia,serif;letter-spacing:-.08em;flex:1;display:grid;place-items:center;position:relative}
.cover-symbol::after{content:'';position:absolute;width:85%;height:85%;border:1px solid currentColor;border-radius:50%;opacity:.28;transform:rotate(32deg) scale(.9,.6)}
.book-cover strong{font:400 clamp(19px,2.3vw,31px)/1.1 Georgia,serif;letter-spacing:-.025em;z-index:2}
.book-cover .cover-bottom{font-size:7px;letter-spacing:.16em;margin-top:14px;text-transform:uppercase}
.cover-maths{--cover:#c6b9e1;--cover-ink:#49385e}.cover-science{--cover:#c5ddc2;--cover-ink:#345347}.cover-social{--cover:#e8b5a5;--cover-ink:#663c40}.cover-english{--cover:#edd39c;--cover-ink:#665038}
.cover-tools{--cover:#bbd9d9;--cover-ink:#28565b}.cover-reports{--cover:#d5c3da;--cover-ink:#57415d}
.product-cover{position:relative;aspect-ratio:1.35;background:radial-gradient(ellipse at 55% 25%,#fff9df,transparent 70%),var(--petal);display:grid;place-items:center;overflow:hidden;border-radius:8px;margin:-29px -29px 27px}
.product-cover::after{content:'';position:absolute;width:80%;height:70%;border:1px solid #b28b8c66;border-radius:50%;transform:rotate(-22deg)}
.product-cover .book-cover{width:42%;padding:6% 5% 5%;transform:perspective(800px) rotateY(-14deg) rotateZ(-11deg);transition:transform .7s var(--ease)}
.product-cover .book-cover strong{font-size:20px}.product-cover .cover-symbol{font-size:65px}.product-cover .book-cover small{font-size:6px}.product-cover .cover-bottom{font-size:6px;margin-top:8px}
.card:hover .product-cover .book-cover{transform:perspective(800px) rotateY(-5deg) rotateZ(-5deg) translateY(-5px)}
.product-cover .book-cover{width:46%;padding:6% 4% 5%}.product-cover .book-cover strong{font-size:18px}
.interior-page .section{padding:65px 0}.interior-page .section-alt{background:#f3e9de;border-block:1px solid #d8c4c239}
.interior-page .grid{gap:25px}.interior-page .all-subjects{grid-template-columns:repeat(3,minmax(0,1fr))}
.interior-page .card{align-items:stretch}.product-cover,.resource-cover{flex-shrink:0;align-self:stretch}
.interior-page .card{padding:29px;background:#fffcf5;border:1px solid #d5c5c044;border-radius:10px;box-shadow:0 8px 30px #5b3c5511;overflow:hidden}
.interior-page .card h3{font:400 29px/1.15 Georgia,serif;letter-spacing:-.035em;margin:14px 0}
.interior-page .card>p{font-size:13px;line-height:1.75}.interior-page .card .price{font-size:28px;color:var(--ink);font-weight:400;margin:16px 0 0;letter-spacing:-.03em}
.interior-page .price small{font-size:11px;color:var(--muted);font-weight:400;letter-spacing:0}
.interior-page .card .offer-note{font-size:10px;margin:4px 0 15px}
.interior-page .tag{font-size:8px;background:transparent;border:0;letter-spacing:.13em;color:#755361;padding:0}
.interior-page .card-actions{gap:10px;margin-top:auto}.interior-page .card-actions .btn{font-size:11px;padding:12px 17px;min-height:44px}
.interior-page .card-actions .text-link{font-size:11px}.interior-page .filters{gap:8px;margin:28px 0 0;flex-wrap:wrap}.interior-page .filter{font-size:10px;border-color:#aa909969;background:#fff9ee70;min-height:40px;padding:9px 15px}
.interior-page .filter.active{background:#3e5a50;color:#fff8ed;border-color:#3e5a50}
.atelier-products .hero-art{max-height:385px}.atelier-products .hero-art>img{max-height:385px;object-fit:contain}
.atelier-cbse-x{--petal:#dcd3eb}.atelier-product-mathematics{--petal:#e1d8ed}
.atelier-product-science{--petal:#dce8d6}.atelier-product-social-science{--petal:#efd4ca}.atelier-product-english{--petal:#efe2be}
.interior-page .product-layout{grid-template-columns:minmax(0,1.65fr) minmax(270px,1fr);gap:70px;align-items:start}
.interior-page .product-layout h2{font-size:38px;max-width:18ch;margin-top:32px}.interior-page .product-layout p{font-size:14px}
.interior-page .buy-box{position:sticky;top:112px;padding:35px;background:linear-gradient(155deg,#fffaf1,var(--petal));border:1px solid #c9afa065;border-radius:12px;box-shadow:0 15px 45px #774b5b0c}
.interior-page .buy-box .price{font:400 58px/1.2 Georgia,serif;letter-spacing:-.04em;margin:20px 0 18px}
.interior-page .buy-box .price small{font:12px 'Segoe UI',sans-serif}.interior-page .buy-box .btn{width:100%;font-size:12px;gap:15px}
.interior-page .buy-box p{font-size:12px;line-height:1.8}.interior-page .buy-box .trust-note{font-size:10px}
.interior-page .buy-box .actions{gap:10px}.interior-page .buy-box .tag{font-size:9px}
.interior-page .feature-list{list-style:none;padding:0;margin:25px 0}.feature-list li{position:relative;padding:16px 0 16px 28px;border-bottom:1px solid #cab4bc55;font-size:13px}.feature-list li::before{content:'↗';position:absolute;left:0;color:#9e4a64}
.interior-page .product-shot{border-radius:12px;box-shadow:0 20px 45px #58405517}
.interior-page .product-art{background:radial-gradient(ellipse at 70% 20%,var(--petal),transparent),#f4e8d9;color:#93596d;border:1px solid #d5c0c155;border-radius:12px;min-height:300px;font:italic 58px/1 Georgia,serif;letter-spacing:-.06em}
.interior-page details{border:0;border-bottom:1px solid #cbb8ba80;border-radius:0;padding:19px 0;background:transparent}.interior-page summary{cursor:pointer;font-size:13px;line-height:1.6;padding-right:15px}.interior-page details p{margin:14px 0}
.story-intro{display:grid;grid-template-columns:1fr 1.7fr;gap:12%;align-items:start}.story-intro>h2{font-size:clamp(35px,4vw,54px)}.story-intro .story-statement{font:400 clamp(25px,2.8vw,39px)/1.3 Georgia,serif;letter-spacing:-.035em;color:var(--ink)}
.story-values{counter-reset:values}.story-values .card{background:transparent;box-shadow:none;border:0;border-radius:0;border-top:1px solid #b6a3a38c;padding:30px 0}.story-values .card::before{counter-increment:values;content:'0' counter(values);font:italic 41px Georgia,serif;color:#a67280}
.story-banner{background:radial-gradient(ellipse at 90% 20%,#dbbdd8,transparent 60%),#ecdcc9;border-radius:16px;padding:65px;display:grid;grid-template-columns:1.6fr 1fr;align-items:center;gap:40px}
.story-banner h2{font-size:clamp(40px,4.5vw,67px);max-width:13ch}.story-banner img{width:100%;transform:rotate(-18deg)}
.story-banner p{font-size:13px;max-width:43ch}
.atelier-contact{--petal:#e9ced7}.atelier-contact .page-hero h1{max-width:11ch}
.atelier-contact .hero-art{max-height:300px}.atelier-contact .hero-art>img{width:73%}
.interior-page .contact-grid{grid-template-columns:1.4fr 1fr;gap:60px}.interior-page .form.card{padding:35px 40px;background:#fffaf3;border:1px solid #d4bfc670;box-shadow:0 15px 50px #6040560a;gap:22px}
.interior-page .field label{font-size:11px;color:#63565e}.interior-page .field input,.interior-page .field textarea{background:#fcf5ec;border:1px solid #cbb6bd9c;border-radius:6px;padding:13px 14px;color:#302c37;width:100%}.interior-page .field textarea{min-height:150px}
.interior-page .contact-grid aside .card{background:transparent;border:0;box-shadow:none;padding:20px 0}.contact-grid aside h2{font:400 35px Georgia,serif}
.interior-page .notice{border:1px solid #cbb8b980;background:#f4e8dd;border-radius:7px;padding:22px;font-size:12px;color:#61515e;line-height:1.8}
.atelier-blog{--petal:#eadbc3}.resource-cover{aspect-ratio:1.6;position:relative;display:flex;justify-content:center;align-items:center;background:var(--petal);overflow:hidden;margin:-29px -29px 25px}
.resource-cover::before,.resource-cover::after{content:'';position:absolute;width:50%;aspect-ratio:1;border:1px solid #99738766;border-radius:50%;transform:rotate(35deg) scale(1,.65)}.resource-cover::after{transform:rotate(-35deg) scale(1,.65)}
.resource-cover>span{font:italic 93px Georgia,serif;color:#764656;letter-spacing:-.09em;position:relative;z-index:1}
.resource-software{--petal:#dae3cd}.resource-marketing{--petal:#e6d3e4}
.field-note details{margin-top:auto}.field-note details ol{padding-left:18px;font-size:12px;line-height:1.8}.field-note li{margin:12px 0}
.legal-page .page-hero{padding-block:47px}.legal-page .page-hero h1{font-size:65px;max-width:15ch}.legal-page .hero-inner{grid-template-columns:2fr 1fr}
.legal-page .hero-art{max-width:230px;justify-self:end;width:100%}.legal-page .hero-art>img{width:73%;opacity:.86}.legal-page .art-word{display:none}
.legal-shell{display:grid;grid-template-columns:220px 1fr;gap:80px;align-items:start}
.legal-toc{position:sticky;top:114px;padding-top:20px}.legal-toc .eyebrow{margin-bottom:15px}.legal-toc a{display:block;font-size:11px;padding:8px 0;color:#705e6a;text-decoration:none}.legal-toc a:hover{color:#913d58;text-decoration:underline}
.interior-page .legal{width:100%;max-width:820px;padding:0;margin:0}.legal-page .legal>p:first-child{font:400 26px/1.45 Georgia,serif;color:#453c46;letter-spacing:-.02em}.legal-page .legal h2{font-size:29px;margin-top:42px;scroll-margin-top:120px}.legal-page .legal p{font-size:13px;line-height:1.95}
.site-footer{background:linear-gradient(160deg,#f5e9d7,#ecdbe0);border-top:1px solid #b8a6a550;padding-top:65px}.site-footer .footer-grid{padding-bottom:45px}.site-footer .footer-bottom{border-color:#ad929559;padding-block:22px;font-size:10px}
.entrance{transition:opacity .8s ease,transform 1s cubic-bezier(.2,.7,.2,1)}.entrance.will-enter{opacity:0;transform:translateY(25px)}.entrance.is-visible{opacity:1;transform:none}
@media(min-width:1500px){.hero-inner{gap:10%}.interior-page .page-hero{padding-block:80px}}
@media(max-width:1100px){.interior-page .all-subjects{grid-template-columns:repeat(2,minmax(0,1fr))}.interior-page .product-layout{gap:35px}.hero-inner{gap:4%}.hero-art{min-height:280px}.legal-shell{gap:35px;grid-template-columns:180px 1fr}}
@media(max-width:760px){.site-header .nav{min-height:76px}.hero-inner{grid-template-columns:1fr;gap:15px}.interior-page .page-hero{padding:42px 0 55px}.interior-page .page-hero h1{font-size:clamp(44px,11vw,67px);max-width:15ch}.hero-text .eyebrow{font-size:8px;margin-bottom:20px}.interior-page .page-hero .lead{font-size:13px;max-width:44ch}.hero-art{width:min(370px,83%);justify-self:center;min-height:0}.hero-art .book-cover strong{font-size:29px}.hero-art .cover-symbol{font-size:90px}.art-word{font-size:72px}.hero-art .book-cover small{font-size:7px}.interior-page .section{padding:45px 0}.interior-page .grid{gap:22px}.interior-page .all-subjects{grid-template-columns:1fr 1fr}.interior-page .card{padding:23px}.product-cover{margin:-23px -23px 23px}.product-cover .book-cover{width:49%;padding:7% 6%}.product-cover .book-cover strong{font-size:20px}.product-cover .book-cover small{font-size:6px}.product-cover .cover-symbol{font-size:58px}.interior-page .card h3{font-size:27px}.interior-page .card-actions{align-items:stretch}.interior-page .card-actions .btn{font-size:10px;padding-inline:14px}.interior-page .product-layout,.interior-page .contact-grid{grid-template-columns:1fr;gap:30px}.interior-page .buy-box{position:static;grid-row:1;padding:28px}.interior-page .product-layout h2{font-size:34px}.interior-page .product-art{font-size:48px;min-height:250px}.story-intro{grid-template-columns:1fr;gap:18px}.story-intro>h2{font-size:36px}.story-banner{padding:35px 27px;grid-template-columns:1fr;gap:20px}.story-banner img{max-width:250px;justify-self:center}.story-banner h2{font-size:46px}.story-values .card{padding:25px 0}.interior-page .form.card{padding:25px;gap:17px}.resource-cover{margin:-23px -23px 23px}.legal-page .hero-inner{grid-template-columns:1fr}.legal-page .hero-art{display:none}.legal-page .page-hero h1{font-size:49px}.legal-shell{grid-template-columns:1fr;gap:35px}.legal-toc{position:static;border-bottom:1px solid #bda6b478;padding:0 0 20px}.legal-toc nav{columns:2;column-gap:25px}.legal-toc a{font-size:10px;break-inside:avoid}.legal-page .legal>p:first-child{font-size:23px}.legal-page .legal h2{font-size:27px}.atelier-contact .hero-art{width:65%;max-height:260px}.site-footer{padding-top:45px}}
@media(max-width:500px){.interior-page .all-subjects{grid-template-columns:1fr}.product-cover{aspect-ratio:1.5}.product-cover .book-cover{width:40%;padding:6% 5%}.hero-art{width:80%}.interior-page .filters{gap:7px}.interior-page .filter{padding:9px 12px}.interior-page .page-hero .actions .btn{font-size:11px;padding:12px 17px;gap:12px}.story-values{grid-template-columns:1fr}.interior-page .buy-box .price{font-size:54px}}
@media(max-width:760px){.hero-art .book-cover strong{font-size:20px}.hero-art .book-cover{width:65%;padding:9% 7%}.product-cover .book-cover{width:46%;padding:6% 4% 5%}.product-cover .book-cover strong{font-size:18px}.art-word{font-size:54px;left:0;max-width:100%}}
@media(prefers-reduced-motion:reduce){.entrance.will-enter{opacity:1;transform:none}.card:hover .product-cover .book-cover{transform:perspective(800px) rotateY(-14deg) rotateZ(-11deg)}}
