@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700;800&family=Fredoka:wght@400;500;600&display=swap');
/* TeachWitch Curriculum Public — visitor-facing visual system. */
:root{font-family:'DM Sans',system-ui,-apple-system,sans-serif;--ink:#2e2655;--muted:#655e7e;--purple:#6241ac;--stroke:#e5def2;--cream:#f8f7fc;--light:#f8f6ff;background:#f8f7fc;color:#30284e}
html{scroll-behavior:smooth}body{background:radial-gradient(ellipse at 5% 10%,#f2eaff 0,transparent 30%),radial-gradient(ellipse at 90% 35%,#fff3e9 0,transparent 28%),#f8f7fc;color:#30284e;line-height:1.6}
#main.shell{display:flex;flex-direction:column;max-width:1180px}.shell{max-width:1220px;padding-inline:30px}
a:focus-visible,summary:focus-visible,input:focus-visible{outline:3px solid #f3a858;outline-offset:4px}a{text-underline-offset:3px}
.site-head{position:relative;z-index:10;background:rgba(255,255,255,.97);border-bottom:1px solid #ebe4f2;box-shadow:0 2px 18px #35245a07}.head-flex{min-height:89px}.brand{display:flex;align-items:center;gap:14px;color:#3c2c73}.brand img{width:143px;max-height:52px;height:auto;object-fit:contain}.brand-product{font-size:15px;border-left:1px solid #dcd3e8;padding-left:14px;font-weight:750;letter-spacing:-.02em;color:#5b4c79}
.site-head nav{gap:14px;align-items:center;font-size:14px}.site-head nav a{text-decoration:none;color:#4b4168;display:inline-flex;align-items:center;gap:6px;border-radius:12px;padding:12px 16px;transition:background .17s,transform .17s}.site-head nav a:hover{background:#f3effa}.site-head nav a.nav-search{background:#4a2f8e;color:#fff;padding:12px 18px;box-shadow:0 5px 15px #48318928}.site-head nav a.nav-search:hover{background:#362073;transform:translateY(-1px)}
.crumbs{font-size:13px;margin:24px 0 16px;padding:0!important;font-weight:650;color:#726585}.crumbs a{color:#6c4d9d;text-decoration:none}.crumbs a:hover{text-decoration:underline}
.intro{position:relative;isolation:isolate;overflow:hidden;padding:43px 52px!important;border-radius:28px;background:linear-gradient(118deg,#392369 0%,#5a3999 58%,#7b51b6 100%);box-shadow:0 18px 42px #3b267c21;margin:0 0 28px;min-height:242px}
.intro:before{content:'';position:absolute;border-radius:50%;width:380px;height:380px;right:-105px;top:-210px;background:#bfa0f425;z-index:-1}.intro:after{content:'';position:absolute;border-radius:36px;width:180px;height:180px;right:185px;bottom:-145px;transform:rotate(20deg);background:#f7c76816;z-index:-1}
.intro .kicker{font-family:'DM Sans',sans-serif;letter-spacing:.12em;font-weight:800;color:#fbd88e;font-size:12px}.intro h1{max-width:880px;color:#fff;font-family:'Fredoka','DM Sans',sans-serif;font-weight:550;letter-spacing:-.027em;line-height:1.12;font-size:clamp(2.2rem,4.3vw,3.6rem);margin:16px 0 17px}.intro p.lead{color:#f0e9ff;font-size:clamp(15px,1.75vw,18px);line-height:1.55;margin:0;max-width:720px}
.intro-landing{min-height:344px;display:flex;justify-content:center;flex-direction:column;padding:54px 49% 58px 58px!important;background:radial-gradient(ellipse at 82% 35%,#9567d8 0%,transparent 44%),linear-gradient(118deg,#30205f 0%,#49318d 70%,#6545a4 100%)}
.intro-landing h1{font-size:clamp(2.65rem,5vw,4.2rem)}.intro-landing p.lead{font-size:17px;line-height:1.65}
.hero-art{position:absolute;right:0;top:0;width:48%;height:100%;perspective:800px;pointer-events:none}.art-orbit{position:absolute;border:1px solid #ffffff30;border-radius:50%}.orb-a{width:350px;height:350px;right:5%;top:-55px}.orb-b{width:245px;height:245px;right:17%;top:55px}
.art-sheet{position:absolute;border:1px solid #fff6;background:#fff;color:#3d2d79;border-radius:19px;box-shadow:0 15px 28px #24124d37;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:5px}.art-frac{right:33%;top:44px;width:184px;height:152px;transform:rotate(-8deg)}.art-frac>span{font:600 55px Fredoka,sans-serif;line-height:1}.mini-parts{display:grid;width:112px;height:20px;grid-template-columns:repeat(4,1fr);border:2px solid #8262c3;border-radius:5px;overflow:hidden}.mini-parts i{border-right:1px solid #8262c3;background:#a883f0}.mini-parts i:last-child{background:#fff;border-right:0}.art-letters{right:8%;top:132px;width:135px;height:120px;font:550 43px Fredoka,sans-serif;color:#4a3086;transform:rotate(9deg)}.art-letters span{font:700 13px 'DM Sans',sans-serif;color:#8766ac}.art-shapes{right:37%;bottom:16px;width:160px;height:58px;border-radius:13px;background:#ffe9b9;flex-direction:row;gap:16px;transform:rotate(5deg);font-size:29px;color:#775092}.art-spark{position:absolute;color:#ffe3a0;font-size:42px}.spark-a{right:12%;top:40px}.spark-b{right:81%;top:166px;font-size:35px}
.documentary-note{order:9;margin:28px 0 0!important;border:1px solid #e7e0ee!important;border-radius:14px!important;background:#f2f0f8!important;color:#726a81!important;padding:12px 18px!important;font-weight:450!important;font-size:12px!important;box-shadow:none!important}.documentary-note strong{color:#5e5674}
.school-directory{margin:8px 0 15px}.section-heading{margin:12px 0 23px}.section-eyebrow{font-size:11px;letter-spacing:.16em;font-weight:850;color:#7854be}.section-heading h2{font:550 clamp(28px,3.5vw,38px)/1.2 Fredoka,sans-serif;color:#342562;margin:8px 0}.section-heading p{margin:0;color:#6a627d;font-size:15px}
.cycle-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:17px}.cycle-group{border-radius:24px;padding:21px 17px 18px;border:1px solid #e3d9f7;background:#f0eafe;min-width:0}.cycle-two{border-color:#f2dcc8;background:#fff1e7}.cycle-three{border-color:#d0e4df;background:#eaf7f2}
.cycle-header{display:flex;align-items:center;gap:12px;margin:2px 2px 17px}.cycle-num{width:50px;height:50px;border-radius:16px;background:#6545ab;color:white;font:600 22px Fredoka,sans-serif;display:grid;place-items:center;box-shadow:0 5px 12px #5d3da529}.cycle-two .cycle-num{background:#af5a27}.cycle-three .cycle-num{background:#19695c}.cycle-header h3{font:600 24px Fredoka,sans-serif;line-height:1.1;color:#382861;margin:0}.cycle-header small{font-size:12px;color:#6e617d}
.directory-links{gap:11px}.cycle-group .directory-links{grid-template-columns:1fr}
.path-link{position:relative;display:flex;align-items:center;gap:12px;padding:16px 16px!important;text-decoration:none;background:#fff;border:1px solid #e5ddf0;border-radius:15px;min-height:82px;box-shadow:0 4px 15px #3f2b800a;transition:transform .17s,border-color .17s,box-shadow .17s;color:#302653}
.path-link:hover{transform:translateY(-3px);border-color:#a989da;box-shadow:0 12px 25px #49329c1b}.path-link .path-symbol{flex:none!important;width:45px;min-width:45px;height:45px;background:#f0e8ff;border-radius:13px;display:grid;place-items:center;font:550 22px Fredoka,sans-serif;color:#5d3ba6}.cycle-two .path-symbol{background:#ffead9;color:#ac572f}.cycle-three .path-symbol{background:#dff2ec;color:#176653}
.path-link .path-copy{flex:1;min-width:0;display:flex;flex-direction:column;align-items:flex-start;gap:1px}.path-link .path-copy strong{font-weight:800;line-height:1.25;color:#362b5d;overflow-wrap:anywhere}.path-link .path-copy em{font-style:normal;font-size:11px;color:#706781;line-height:1.3}.path-link small{margin:0;font-size:10px!important;color:#756986;white-space:nowrap}.path-link .path-chevron{flex:none!important;font-size:17px;line-height:1;width:auto;color:#6b4aaf;font-weight:800}
.cycle-group .path-link{padding:12px!important;min-height:80px;gap:9px}.cycle-group .path-symbol{width:38px;min-width:38px;height:38px;font-size:18px}.cycle-group .path-link small{position:absolute;right:12px;bottom:5px;font-size:9px!important}.cycle-group .path-link .path-chevron{display:none}
.panel{border:1px solid #e5deed;border-radius:23px;background:#fff;padding:29px 34px;margin:15px 0;box-shadow:0 10px 30px #3b2c790c}
.panel h2{font:550 clamp(23px,2.6vw,30px)/1.25 Fredoka,sans-serif;color:#382665;letter-spacing:-.015em;margin:0 0 16px}.panel h3{font:550 20px Fredoka,sans-serif;color:#5b398f}.panel p{color:#5c556f}
.panel.accent{background:linear-gradient(120deg,#f0e9ff,#fff8f1);border-color:#dacef1}.panel.subtle{background:#f6f3fc}.panel.citation{background:#f6f3fa;border:1px solid #e4dded}
.panel.accent .related a{background:#fff;min-height:145px;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:10px;padding:22px;border-radius:17px;border:1px solid #e0d4f6;transition:transform .17s,box-shadow .17s}
.panel.accent .related a:hover{transform:translateY(-3px);box-shadow:0 10px 25px #4f2b911c}
.panel.accent .related a strong{font:550 22px Fredoka,sans-serif;color:#3d2b76}.panel.accent .related a span:first-child{font-size:11px;background:#6846ad;color:#fff;border:0;padding:5px 10px;font-weight:750}.panel.accent .related a:after{content:'Découvrir la fiche  →';font-weight:750;font-size:12px;color:#6a42b3}.panel.accent .related a>span:last-child{display:none}
.visual-grid{gap:17px}.visual{border-radius:16px;background:#faf8ff;border:1px solid #e8def3;padding:18px}.visual h3{font:550 20px Fredoka,sans-serif}.visual p{font-size:14px;color:#554b68}.visual svg{height:125px}.chips span{border-radius:9px;background:#f3eeff;color:#57418a;padding:10px 15px}
.panel blockquote{font-size:18px;font-weight:600;color:#453268;background:#f7f2ff;border-left:4px solid #8865c2}
.source-set{padding-top:6px}.source-set h3{font-size:23px!important;border-bottom:1px solid #e9e2f1;padding-bottom:10px;margin:24px 0 16px!important}.source-items-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px!important;list-style:none;padding:0;margin:0}
.source-items-grid .source-item-card{margin:0!important;border:1px solid #e8e2ed;border-radius:12px;background:#fff;box-shadow:0 3px 12px #483c7108;transition:border-color .18s}.source-items-grid .source-item-card:hover{border-color:#b8a5d9}.source-item-card details{padding:0}.source-item-card summary{list-style:none;display:flex;align-items:flex-start;gap:12px;padding:16px!important;cursor:pointer;font-size:14px;line-height:1.5}.source-item-card summary::-webkit-details-marker{display:none}.source-item-card summary>span:first-child{flex:1;color:#3b3159;font-weight:720}.source-item-card .expand-icon{flex:none;align-self:center;width:29px;height:29px;display:grid;place-items:center;border-radius:9px;background:#f0ebfa;color:#6546a2;font-size:19px;line-height:1;transition:transform .18s}.source-item-card details[open] .expand-icon{transform:rotate(45deg)}.source-item-card details[open] summary{border-bottom:1px solid #eee7f6}.source-item-card details>p,.source-item-card details>small{display:block;margin:13px 16px!important;color:#665d75;font-size:13px}.source-item-card details>small{font-size:11px;color:#8a8098}
.list-head{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:15px;margin:4px 0 23px}.notion-count{display:inline-flex;font-size:13px;font-weight:800;border-radius:99px;background:#efe9fb;color:#60419a;padding:9px 14px}.filter-field{width:min(100%,330px)}.filter-field input{width:100%;background:#f9f7fd;border:1px solid #d8cdea;border-radius:12px;font:600 13px 'DM Sans',sans-serif;padding:12px 16px;color:#352953}.filter-field input::placeholder{color:#857894}.filter-status{color:#5d5380!important;font-size:12px!important;min-height:4px;margin:0!important}.source-set[hidden],.source-item-card[hidden]{display:none!important}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.site-foot{background:#352461;color:#f0eaff;border-top:0;margin-top:64px;padding:34px 0}.site-foot p{color:#e0d6f6;max-width:850px}.site-foot a{color:#ffdf97}
@media(max-width:1060px){.intro-landing{padding-right:43%!important}.art-frac{right:29%}.art-letters{right:5%}.cycle-grid{gap:12px}.cycle-group{padding:18px 12px}.cycle-group .path-link{gap:7px}.cycle-group .path-link small{display:none}.panel{padding:25px}.source-items-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:780px){.shell{padding-inline:16px}.head-flex{min-height:76px}.brand img{width:120px}.brand-product{font-size:12px;padding-left:10px}.site-head nav{gap:3px}.site-head nav a{padding:10px;font-size:12px}.site-head nav a.nav-search{padding:10px 13px}.intro{border-radius:20px;padding:30px 25px!important;min-height:unset}.intro-landing{padding:35px 38% 36px 28px!important;min-height:310px}.intro-landing h1{font-size:clamp(2.1rem,6vw,3.2rem)}.hero-art{width:46%}.art-frac{right:22%;top:43px;transform:rotate(-7deg) scale(.75)}.art-letters{right:-6%;top:130px;transform:rotate(8deg) scale(.8)}.art-shapes{right:25%;bottom:3px;transform:rotate(5deg) scale(.75)}.cycle-grid{grid-template-columns:1fr}.cycle-group .directory-links{grid-template-columns:repeat(3,minmax(0,1fr))}.cycle-group .path-link{min-height:99px;flex-direction:column;align-items:flex-start}.cycle-group .path-chevron{display:none}.panel{border-radius:17px;padding:23px 22px}.source-items-grid{grid-template-columns:1fr}}
@media(max-width:540px){.shell{padding-inline:13px}.site-head nav a.nav-library{display:none}.site-head nav a.nav-search{font-size:12px;padding:8px 12px}.brand img{width:109px}.brand-product{font-size:11px;max-width:66px}.intro-landing{display:block;padding:29px 22px 145px!important;min-height:380px}.intro-landing h1{font-size:2.55rem;max-width:100%}.intro-landing .lead{font-size:14px!important}.hero-art{top:auto;bottom:0;height:157px;width:100%}.art-orbit{opacity:.45}.art-frac{right:45%;top:-12px;transform:rotate(-8deg) scale(.66)}.art-letters{right:13%;top:-3px;transform:rotate(10deg) scale(.62)}.art-shapes{right:25%;bottom:-15px;transform:rotate(4deg) scale(.6)}.art-spark{display:none}.intro h1{font-size:2.1rem}.intro-inner{padding:32px 23px!important}.section-heading h2{font-size:31px}.cycle-group .directory-links{grid-template-columns:1fr}.cycle-group .path-link{flex-direction:row;align-items:center;min-height:72px}.cycle-group .path-copy strong{font-size:15px}.cycle-group .path-link small{display:inline;position:static;margin-left:auto;font-size:10px!important}.cycle-group .path-link .path-chevron{display:none}.panel{padding:20px 17px}.panel h2{font-size:25px}.panel.accent .related a{min-height:116px}.path-link{padding:12px!important}.path-link .path-symbol{width:38px;min-width:38px;height:38px}.path-link .path-copy strong{font-size:14px}.path-link .path-chevron{display:none}.path-link small{font-size:10px!important}.list-head{align-items:stretch}.filter-field{width:100%}.source-item-card summary{padding:13px!important}.source-set h3{font-size:21px!important}.crumbs{margin:15px 0}.documentary-note{font-size:11px!important}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.path-link,.site-head nav a,.source-item-card .expand-icon{transition:none!important}}

/* Public reading: a reference must not look like an empty expandable item. */
.reference-visible{display:flex;flex-direction:column;gap:8px;padding:15px 17px;height:100%}.reference-title{font-size:14px;line-height:1.45;color:#3c2e60;font-weight:780}.reference-statement{font-size:13px!important;line-height:1.55;color:#625874!important;margin:0!important}.reference-meta{font-size:10px;color:#897e97;line-height:1.4;margin-top:auto}.source-items-grid .source-item-card{min-height:90px}.source-items-grid .source-item-card:has(.reference-statement){min-height:130px}.source-item-card .pedagogical-options{margin:9px 0 0;border-top:1px solid #eee6f6;padding-top:9px;font-size:12px}.source-item-card .pedagogical-options h4{font-size:12px;color:#665182}.source-item-card .pedagogical-options ul{padding-left:16px}.source-item-card .pedagogical-options p{font-size:12px!important}.coverage-note{font-size:13px;color:#6d647e;margin:0 0 19px}.discipline-domains{margin:17px 0 26px}.discipline-domains h3{font:600 23px Fredoka,system-ui,sans-serif;border-bottom:1px solid #e8e2f3;padding-bottom:9px;margin:0 0 12px}.discipline-domains .directory-links{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.discipline-domains .path-link{min-height:84px}.grade-explore{padding-top:27px}
@media(max-width:990px){.discipline-domains .directory-links{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:610px){.discipline-domains .directory-links{grid-template-columns:1fr}.reference-visible{padding:14px}.reference-statement{font-size:13px!important}}

/* TW_PUBLIC_SOLUTIONS_DISCOVERY_V1:START */
.tw-public-solutions{margin:35px 0;padding:25px;border:1px solid #d2deeb;border-radius:17px;background:#f7fbff;color:#173854}.tw-public-solutions-head{display:flex;gap:22px;align-items:end;justify-content:space-between}.tw-public-solutions h2{margin:7px 0;font-size:clamp(21px,3vw,29px);line-height:1.25}.tw-public-solutions p{max-width:75ch;font-size:15px;line-height:1.6}.tw-public-solutions-head>a{flex:none;font-size:14px;font-weight:750}.tw-public-solution-grid{margin-top:16px;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:11px}.tw-public-solution-link{border:1px solid #d5e2ee;border-radius:12px;background:white;display:grid;gap:5px;padding:14px;text-decoration:none}.tw-public-solution-link:hover,.tw-public-solution-link:focus-visible{border-color:#245f9b;background:#f0f7ff}.tw-public-solution-grade{font-size:11px;font-weight:900;color:#376e98}.tw-public-solution-link strong{font-size:15px;color:#183b59}.tw-public-solution-link small{font-size:12px;color:#4f6273}@media(max-width:760px){.tw-public-solutions-head{display:grid}.tw-public-solution-grid{grid-template-columns:1fr 1fr}}@media(max-width:480px){.tw-public-solutions{padding:16px}.tw-public-solution-grid{grid-template-columns:1fr}}
/* TW_PUBLIC_SOLUTIONS_DISCOVERY_V1:END */

/* TW_WWW_BRAND_VISUAL_V1:START */
/* Common approved brand artwork, warm site palette, typography and mobile navigation. */
:root{--tw-site-cream:#fffaf6;--tw-site-purple:#7049b9;--tw-site-ink:#32284e;--tw-site-coral:#f0a450}
body{background:radial-gradient(ellipse at 5% 12%,#f5e9ff 0,transparent 36%),radial-gradient(ellipse at 95% 48%,#fff0df 0,transparent 34%),var(--tw-site-cream);color:var(--tw-site-ink)}
.site-head{background:#fffdfb;border-bottom:1px solid #ece5f0;box-shadow:0 4px 18px #4630560b}
.site-head .head-flex{max-width:1320px;min-height:92px;gap:15px}
.site-head .brand img{width:152px;height:auto;max-height:70px;object-fit:contain;object-position:left center}
.site-head .brand-product{border-left:1px solid #e7dfee;color:#7049b9;font-family:Fredoka,'DM Sans',sans-serif;font-weight:600}
.site-head nav{display:flex;align-items:center;gap:12px;flex-wrap:wrap}
.site-head nav a{border-radius:22px;padding:9px 14px;font-weight:750}
.site-head nav a:hover{background:#f5edff;color:#7049b9}
.site-head nav .tw-public-site-home{background:#f4e8ff;border:1px solid #e2cffc;color:#69429e}
.intro{background:radial-gradient(circle at 88% 16%,#986cdd 0,transparent 36%),linear-gradient(120deg,#473085,#7951ba);box-shadow:0 15px 45px #6949a127}
.intro .kicker{color:#ffde9b}.panel{box-shadow:0 12px 35px #6d4e8910;border-color:#e9dfef}
.cycle-group{background:#f8f0ff}.cycle-group:nth-child(2){background:#fff3e3}.cycle-group:nth-child(3){background:#e9f9f4}
.site-foot{background:#3e2a62}
@media(max-width:800px){.site-head .head-flex{min-height:76px;flex-wrap:wrap;justify-content:space-between}.site-head nav{gap:6px}.site-head nav .tw-public-site-home{padding:7px 9px}.site-head .brand img{width:125px}}
@media(max-width:540px){.site-head .head-flex{gap:6px}.site-head nav a{font-size:12px;padding:7px 8px}.site-head .brand img{width:115px}.site-head nav .tw-public-site-home{font-size:11px}}
/* TW_WWW_BRAND_VISUAL_V1:END */
