@import url('https://fonts.googleapis.com/css2?family=Fredoka:wght@400;500;600;700&family=Nunito+Sans:wght@400;500;600;700;800;900&display=swap');

:root {
  --paper:#fff; --ink:#1f2547; --text:#4a4f6a; --muted:#686d86;
  --purple:#7b65bd; --purple-dark:#5e4b9e; --lavender:#b3a2e8; --pale:#f0ecff;
  --yellow:#ffc83d; --yellow-pale:#fff6d6; --blue:#4ba3f5; --blue-pale:#e6f2fe;
  --coral:#ff8a65; --green:#34c77b; --line:#e7e4f0;
  --body:'Nunito Sans',Arial,sans-serif; --display:'Fredoka','Arial Rounded MT Bold',Arial,sans-serif;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth;scroll-padding-top:105px}
body{margin:0;background:var(--paper);color:var(--text);font:500 16px/1.7 var(--body);-webkit-font-smoothing:antialiased;overflow-x:clip}
body:has(dialog[open]){overflow:hidden}
button,a{-webkit-tap-highlight-color:transparent;touch-action:manipulation}
button{font:inherit;color:inherit;cursor:pointer;border:0}
a{color:inherit;text-decoration:none}
img{display:block;max-width:100%;height:auto}
h1,h2,h3,p{margin:0}
button:focus-visible,a:focus-visible{outline:3px solid #2473ba;outline-offset:5px}
::selection{background:#e3dafa;color:var(--ink)}
.wrap{width:min(1160px,calc(100% - 80px));margin-inline:auto}
.section-space{padding-block:90px}
.skip-link{position:fixed;top:-80px;left:20px;z-index:100;background:var(--purple-dark);color:#fff;padding:12px 20px;border-radius:12px}
.skip-link:focus{top:12px}
.site-header{height:96px;border-bottom:2px solid var(--line);background:#fffffff5;position:relative;z-index:10}
.header-inner{display:flex;align-items:center;justify-content:space-between;gap:25px;height:100%}
.wordmark{display:inline-flex;align-items:center;color:var(--purple);font:600 52px/.9 var(--display);letter-spacing:-2px;position:relative}
.brand-spark{width:23px;height:31px;margin-left:3px;transform:translateY(-12px);overflow:visible}
.brand-spark path{stroke:var(--purple);stroke-width:3;fill:none;stroke-linecap:round}
.brand-spark circle{fill:var(--yellow);stroke:#e8b126;stroke-width:1.5}
.brand-spark .brand-star{fill:var(--yellow);stroke:#e8b126;stroke-width:1.5}
.site-header nav{display:flex;align-items:center;gap:28px}
.site-header nav a{font-weight:800;font-size:12px;letter-spacing:.7px;text-transform:uppercase;white-space:nowrap;padding:9px 4px;color:var(--muted);transition:color .15s}
.site-header nav a:hover{color:var(--purple-dark)}
.button{display:inline-flex;align-items:center;justify-content:center;gap:20px;background:var(--purple);color:#fff;border:2px solid var(--purple);border-bottom:5px solid var(--purple-dark);border-radius:15px;min-height:55px;padding:13px 24px 11px;font:900 13px/1.35 var(--body);letter-spacing:.8px;text-transform:uppercase;transition:transform .12s,background .15s;position:relative;text-align:center}
.button>span{font-size:22px;font-weight:700;line-height:1}
.button:hover{background:#725bae;border-color:#725bae;border-bottom-color:#51418c;transform:translateY(-2px)}
.button:active{transform:translateY(3px);border-bottom-width:2px;padding-bottom:14px}
.button.small{min-height:44px;padding:10px 16px 8px;font-size:10px;border-radius:12px;gap:13px;border-bottom-width:4px}
.button.small>span{font-size:18px}
.button.secondary{background:#fff;color:var(--purple-dark);border:2px solid #ded8ee;border-bottom:5px solid #ded8ee}
.button.secondary:hover{background:#f7f4ff;border-color:#c9bfe4}
.menu-toggle{display:none}
.hero{display:grid;grid-template-columns:1.1fr 1fr;gap:60px;align-items:center;min-height:680px;padding-block:54px 62px}
.hero-art{position:relative;display:flex;align-items:center;justify-content:center;min-width:0;min-height:520px;padding-bottom:25px}
.world-art{width:100%;max-height:490px;object-fit:contain;position:relative;z-index:1}
.speech-bubble{position:absolute;top:12px;left:11%;z-index:2;border:2px solid var(--line);background:#fff;border-radius:17px;padding:10px 16px;color:var(--ink);font:500 17px/1.35 var(--display);transform:rotate(-5deg);white-space:nowrap}
.speech-bubble::after{content:'';width:12px;height:12px;position:absolute;left:26px;bottom:-8px;border:2px solid var(--line);border-top:0;border-left:0;background:white;transform:rotate(45deg)}
.speech-bubble>span{color:#db9e00;margin-left:7px}
.art-caption{position:absolute;bottom:0;left:0;right:0;text-align:center;font-size:9px;font-weight:800;letter-spacing:1.2px;color:var(--muted);z-index:2}
.art-caption i{display:inline-block;width:6px;height:6px;background:var(--yellow);border-radius:50%;margin-right:6px;vertical-align:1px}
.hero-copy{padding-bottom:9px;position:relative}
.eyebrow{font-size:9px;font-weight:900;letter-spacing:1.2px;color:var(--purple-dark);line-height:1.7;display:flex;align-items:center;gap:8px;margin-bottom:22px}
.eyebrow>span{color:#d39800;font-size:17px;line-height:1}
h1,h2,h3{font-family:var(--display);color:var(--ink);font-weight:600}
h1{font-size:clamp(47px,4.65vw,65px);line-height:1.07;letter-spacing:-1.8px}
h1 em,h2 em,h3 em{font-style:normal;font-weight:inherit;color:var(--purple)}
.hero-description{font-size:16px;line-height:1.8;max-width:430px;margin-top:24px;color:var(--muted)}
.hero-actions{display:flex;flex-direction:column;gap:12px;max-width:340px;margin-top:27px}
.hero-actions .button{width:100%}
.play-icon{font-size:11px!important;border:2px solid #c9bfe4;border-radius:50%;display:grid;place-items:center;height:24px;width:24px;padding-left:2px;flex:none}
.hero-note{font-size:11px;color:var(--muted);margin-top:20px;display:flex;gap:7px;align-items:center}
.hero-note svg{height:20px;width:20px;fill:none;stroke:#8a79ae;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;flex:none}
.values-ribbon{border-block:2px solid var(--line)}
.ribbon-inner{display:flex;justify-content:center;align-items:center;gap:80px;min-height:100px}
.ribbon-inner>span{display:flex;gap:13px;align-items:center;font-size:14px;font-weight:800;white-space:nowrap;color:var(--text)}
.ribbon-icon{font:500 32px/1 var(--display);width:38px;height:38px;display:grid;place-items:center}
.ribbon-icon.purple{color:var(--purple)}.ribbon-icon.blue{color:#3188d8}.ribbon-icon.coral{color:#dd704e;font-size:39px}
.section-label{font-size:10px;font-weight:900;letter-spacing:1.7px;line-height:1.8;color:var(--purple-dark)}
h2{font-size:46px;line-height:1.14;letter-spacing:-.7px}
.intro{text-align:center;max-width:800px;padding-bottom:84px}
.intro h2{margin-top:17px}
.intro>p:not(.section-label){font-size:15px;line-height:1.9;max-width:620px;margin:24px auto 0;color:var(--muted)}
.intro>p+p:not(.section-label){margin-top:13px}
.project-status{display:inline-flex;align-items:center;gap:8px;margin-top:24px;padding:7px 14px;border:1.5px solid #e9e0c5;background:var(--yellow-pale);font-size:11px;font-weight:800;border-radius:11px;color:#715b2c}
.project-status>span{background:#d7a11c;width:6px;height:6px;border-radius:50%}
.work-section{border-top:2px solid var(--line);padding-top:75px;padding-bottom:60px}
.section-heading{text-align:center}
.section-heading h2{margin-top:17px}
.section-heading>p:last-child{font-size:14px;color:var(--muted);margin-top:20px}
.filters{display:flex;justify-content:center;gap:10px;flex-wrap:wrap;margin:31px auto 48px}
.filter{border:2px solid var(--line);border-radius:12px;padding:9px 16px;background:#fff;color:var(--muted);font-weight:800;font-size:11px;min-height:40px;transition:background .15s,color .15s}
.filter:hover{background:#f6f3ff}
.filter.active{border-color:var(--purple);background:var(--pale);color:var(--purple-dark)}
.filter>span{font-size:9px;margin-left:6px;display:inline-grid;place-items:center;width:16px;height:16px;background:#dcd2f1;border-radius:5px}
.projects{display:flex;flex-direction:column;gap:76px}
.project{display:grid;grid-template-columns:1fr 1fr;gap:80px;align-items:center;min-width:0}
.project[hidden]{display:none}
.project-reverse .project-visual{order:2}
.project-reverse .project-copy{order:1;padding-left:40px}
.project-visual{width:100%;height:385px;border-radius:26px;border:2px solid var(--line);padding:0;position:relative;overflow:hidden;display:block;background:var(--pale);text-align:left;min-width:0;isolation:isolate;transition:transform .2s}
.project-visual:hover{transform:translateY(-4px)}
.visual-label{position:absolute;top:21px;left:25px;right:25px;display:flex;justify-content:space-between;align-items:center;font-weight:900;font-size:9px;letter-spacing:1.2px;color:var(--purple-dark);z-index:2;pointer-events:none}
.visual-label>span{font-size:22px;line-height:1;color:var(--purple)}
.world-preview>img{width:100%;height:100%;object-fit:cover}
.world-pill{position:absolute;left:23px;bottom:23px;background:#fff;border:2px solid #ddd5ef;border-bottom-width:4px;border-radius:12px;padding:8px 13px;color:var(--purple-dark);font-size:11px;font-weight:800;display:flex;align-items:center;gap:8px}
.world-pill>span{color:#c3950d;font-size:19px;line-height:1}
.round-arrow{position:absolute;right:20px;bottom:22px;display:grid;place-items:center;width:37px;height:37px;background:#fff;border:2px solid #dcd5ed;border-bottom-width:4px;border-radius:12px;color:var(--purple-dark);font-size:21px;transition:transform .2s}
.project-visual:hover .round-arrow{transform:translate(2px,-2px)}
.project-meta{font-size:9px;font-weight:900;letter-spacing:1.35px;color:var(--purple-dark);margin-bottom:17px}
.project-copy h3{font-size:35px;line-height:1.15;letter-spacing:-.4px}
.project-copy>p:not(.project-meta){font-size:14px;line-height:1.9;color:var(--muted);max-width:425px;margin-top:21px}
.project-tags{display:flex;flex-wrap:wrap;gap:7px;margin-top:22px}
.project-tags>span{border:1.5px solid var(--line);padding:4px 9px;border-radius:8px;color:#716581;background:#fcfbff;font-size:9px;font-weight:800}
.text-button{display:inline-flex;align-items:center;gap:20px;color:var(--purple-dark);background:transparent;text-transform:uppercase;letter-spacing:.75px;font-size:11px;font-weight:900;padding:0;margin-top:28px;min-height:32px}
.text-button>span{font-size:22px;line-height:1;transition:transform .15s}
.text-button:hover>span{transform:translateX(5px)}
.text-button:hover{text-decoration:underline;text-underline-offset:5px}
.project-detail-link{display:block;background:transparent;text-decoration:underline;text-underline-offset:3px;color:var(--muted);padding:3px 0;font-size:10px;margin-top:8px}
.parent-preview{background:var(--blue-pale);border-color:#d8e8f7;display:flex;justify-content:center;align-items:flex-start;padding-top:70px}
.parent-preview .visual-label{color:#357bb6}
.parent-preview .visual-label>span{color:#3b8bce}
.parent-dashboard{border:2px solid #d4cee9;border-bottom:5px solid #d4cee9;border-radius:16px;background:#fff;width:330px;max-width:calc(100% - 64px);transform:rotate(-4deg);min-height:330px;pointer-events:none;color:var(--ink)}
.dash-top{height:48px;padding:10px 17px;border-bottom:2px solid var(--line);display:flex;align-items:center;gap:15px}
.dash-brand{font:600 24px/1 var(--display);letter-spacing:-1px;color:var(--purple)}
.dash-brand>span{font-size:17px;color:#e8b326;margin-left:3px}
.dash-top>span:nth-child(2){font-size:6px;color:var(--muted);letter-spacing:1px;margin-left:auto;font-weight:900}
.dash-avatar{width:23px;height:23px;border-radius:8px;background:var(--pale);font-size:9px;font-weight:900;display:grid;place-items:center;color:var(--purple-dark)}
.dash-content{padding:18px 23px}
.dash-date{display:block;font-size:6px;font-weight:900;color:#89829a;letter-spacing:1.4px;margin-bottom:9px}
.dash-content>strong{font:500 29px/1.13 var(--display);letter-spacing:-.5px}
.dash-greeting{display:flex;align-items:center;gap:10px;margin-top:11px;font-size:7px;color:var(--muted)}
.dash-greeting img{height:43px;width:43px;object-fit:contain}
.dash-box{margin-top:15px;background:var(--pale);border-radius:11px;padding:13px 14px;font-size:9px}
.dash-box>b{font-weight:800}
.dash-week{display:flex;justify-content:space-between;gap:7px;margin-top:11px}
.dash-week i{display:grid;place-items:center;font-style:normal;background:#fff;color:#90879d;border:1.5px solid #e0d9ef;border-radius:7px;width:24px;height:24px;font-size:7px;font-weight:900}
.dash-week .done{background:var(--purple);border-color:var(--purple-dark);color:#fff}
.dash-lesson{display:flex;align-items:center;gap:9px;margin-top:12px;font-size:8px;font-weight:800}
.dash-lesson>b{color:#daa41b;font-size:24px;line-height:1}
.dash-lesson small{display:block;color:#8b819b;font-size:7px;font-weight:600;margin-top:2px}
.dash-lesson>span:last-child{margin-left:auto;font-size:18px;color:var(--purple)}
.play-preview{background:var(--yellow-pale);border-color:#f0e6bf}
.play-preview .visual-label{color:#8b6c29}
.play-preview .visual-label>span{color:#b28b18}
.fraction-paper{position:absolute;top:77px;left:60px;width:238px;height:277px;background:#fff;border:2px solid #e6d7aa;border-bottom:5px solid #e6d7aa;border-radius:16px;padding:22px 23px;transform:rotate(-8deg);color:var(--ink)}
.paper-top{display:flex;justify-content:space-between;font-weight:900;font-size:7px;letter-spacing:1.1px;color:#8e7e5b;line-height:1.7}
.paper-top>span{color:#d7a11d;font-size:17px;line-height:1}
.fraction-paper>strong{display:block;font:500 31px/1.1 var(--display);margin-top:14px;letter-spacing:-.4px}
.fraction-paper>span:not(.paper-top):not(.fraction-formula){font-size:9px;color:#8e7e5b}
.paper-pizza{display:grid;grid-template-columns:1fr 1fr;gap:4px;width:110px;height:110px;transform:rotate(12deg);margin:15px auto 12px}
.paper-pizza i{background:var(--yellow);border:2px solid #e8b126;position:relative}
.paper-pizza i::before{content:'';position:absolute;width:9px;height:9px;border-radius:50%;background:var(--coral);top:48%;left:48%}
.paper-pizza i:nth-child(1){border-radius:100% 0 0 0}.paper-pizza i:nth-child(2){border-radius:0 100% 0 0}.paper-pizza i:nth-child(3){border-radius:0 0 0 100%}.paper-pizza i:nth-child(4){border-radius:0 0 100% 0;background:#f4f1e9;border-color:#e2ddce}.paper-pizza i:nth-child(4)::before{display:none}
.fraction-formula{display:block;text-align:center;font:500 25px/1.3 var(--display);color:var(--purple-dark)}
.fraction-formula>span{font:700 11px var(--body);margin-inline:5px;color:var(--muted)}
.fraction-formula>b{display:inline-grid;place-items:center;background:#e2f8ec;color:#1e8950;border-radius:50%;width:24px;height:24px;font:900 14px var(--body);margin-left:10px}
.work-mascot{position:absolute;right:4px;bottom:8px;width:176px;height:226px;object-fit:contain;z-index:2;pointer-events:none}
.project-caption{text-align:center;margin-top:46px;color:var(--muted);font-size:10px;line-height:1.8}
.approach-section{background:#1f2547;padding-block:80px;position:relative;isolation:isolate;margin-top:20px}
.approach-section::before{content:'✦';position:absolute;top:35px;right:4%;color:#a79bd1;font-size:24px}
.approach-grid{display:grid;grid-template-columns:1fr 1fr;gap:100px;align-items:center}
.approach-intro .section-label{color:#c4b4ee}
.approach-intro h2{font-size:39px;color:white;margin-top:18px}
.approach-intro h2 em{color:#c6b4f4}
.approach-intro>p:not(.section-label){color:#cac9df;font-size:14px;line-height:1.85;margin-top:22px;max-width:380px}
.approach-companion{display:flex;align-items:center;gap:17px;margin-top:22px;position:relative}
.approach-companion>img{width:116px;height:141px;object-fit:contain}
.approach-companion>span{font:500 23px/1.15 var(--display);color:white;transform:rotate(-7deg)}
.approach-companion b{position:absolute;color:var(--yellow);top:-9px;right:-27px;font-weight:400}
.principles{display:flex;flex-direction:column;gap:29px}
.principles article{display:flex;gap:19px;border-bottom:1.5px solid #444765;padding-bottom:27px}
.principles article:last-child{border:0;padding-bottom:0}
.principle-icon{flex:none;width:45px;height:45px;background:#393659;color:#d0bcf6;border-radius:14px;display:grid;place-items:center;font:500 31px/1 var(--display)}
.principles article:nth-child(2) .principle-icon{background:#2b3f5e;color:#87c5fd}
.principles article:nth-child(3) .principle-icon{background:#4c3c53;color:#ffc0a8;font-size:34px}
.principles h3{font-family:var(--body);font-size:15px;line-height:1.45;font-weight:900;color:white}
.principles p{font-size:12px;line-height:1.9;margin-top:9px;color:#cac9df;max-width:410px}
.closing{text-align:center;position:relative;padding-block:87px 83px}
.closing h2{font-size:52px;line-height:1.12;margin-top:18px}
.closing>p:not(.section-label){font-size:14px;color:var(--muted);margin-top:22px}
.closing>.button{margin-top:27px;min-width:270px}
.closing-note{display:block;font-size:10px;font-weight:700;color:var(--muted);margin-top:18px}
.closing-star{position:absolute;font:500 50px/1 var(--display);color:var(--yellow)}
.star-one{top:34%;left:14%;transform:rotate(-14deg)}
.star-two{top:55%;right:15%;font-size:31px;color:var(--lavender);transform:rotate(17deg)}
.site-footer{background:var(--pale);border-top:2px solid #e2dcf2;padding-block:39px}
.footer-inner{display:flex;align-items:center;gap:37px}
.site-footer .wordmark{font-size:46px}
.site-footer>div>p{font-size:11px;line-height:1.8;color:#776a93}
.footer-right{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:11px 22px;margin-left:auto;text-align:right;font-size:10px;color:#73618e}
.footer-right>a{font-weight:900;text-transform:uppercase;letter-spacing:.6px}
.footer-right>a:hover{text-decoration:underline;text-underline-offset:4px}
.footer-right>span{width:100%;font-size:9px}

/* Project details and the local fraction discovery share the game's palette. */
.project-dialog{width:min(760px,calc(100% - 32px));max-height:calc(100dvh - 40px);border:2px solid #d9d1eb;border-radius:24px;background:#fff;color:var(--ink);padding:0;overflow:auto}
.project-dialog::backdrop{background:#181b3b99}
.dialog-close{position:absolute;right:17px;top:17px;z-index:5;width:38px;height:38px;border:2px solid var(--line);border-bottom:4px solid var(--line);border-radius:12px;background:#fff;color:var(--purple-dark);font-size:25px;line-height:1}
.dialog-close:hover{background:var(--pale)}
.dialog-heading{padding:44px 44px 25px}
.dialog-heading .section-label{margin-bottom:15px}
.dialog-heading h2{font-size:39px;padding-right:20px}
.dialog-heading>p:last-child{font-size:14px;line-height:1.8;color:var(--muted);margin-top:17px}
.dialog-scene{height:235px;width:100%;object-fit:cover}
.dialog-body{padding:23px 44px 39px}
.dialog-body p{font-size:14px;line-height:1.85;color:var(--muted)}
.dialog-detail{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px;border-block:2px solid var(--line);padding-block:24px;margin-block:22px}
.dialog-detail strong{display:block;font-size:13px;font-weight:900;color:var(--purple-dark);margin-bottom:7px}
.dialog-detail p{font-size:12px;line-height:1.8}
.dialog-body .button{margin-top:25px;font-size:11px}
.demo-content{padding:38px 43px;text-align:center}
.demo-content .section-label{margin-bottom:9px}
.demo-content h2{font-size:37px}
.demo-mascot{width:103px;height:120px;object-fit:contain;margin:4px auto 9px}
.demo-description{font-size:14px;line-height:1.8;color:var(--muted);max-width:450px;margin:17px auto}
.demo-description strong{color:var(--purple-dark);font-weight:900}
.fraction-board{display:flex;justify-content:center;gap:12px;margin:27px auto;max-width:430px}
.fraction-piece{flex:1;min-width:0;min-height:116px;border:2px solid #dcd5ed;border-bottom:5px solid #dcd5ed;border-radius:15px;background:#f7f5fc;color:#756b87;font:900 12px var(--body);transition:transform .15s,background .15s;position:relative}
.fraction-piece:hover{transform:translateY(-3px)}
.fraction-piece[aria-pressed=true]{background:var(--yellow-pale);border-color:#e9c662;color:#785c16}
.fraction-piece[aria-pressed=true]::before{content:'✦';font-size:28px;color:#d59a08;display:block;margin-bottom:7px}
.demo-progress{height:9px;background:#eeeaf6;border-radius:10px;overflow:hidden;max-width:240px;margin:18px auto 0}
.demo-progress span{display:block;height:100%;background:var(--purple);width:0;transition:width .2s;border-radius:10px}
.demo-count{font-size:11px;font-weight:800;margin-top:8px;color:var(--purple-dark)}
.demo-result{background:var(--pale);color:var(--purple-dark);border:2px solid #e1d9f2;border-radius:14px;padding:14px 17px;min-height:76px;max-width:450px;margin:18px auto;font-size:12px;line-height:1.8;display:flex;justify-content:center;align-items:center}
.demo-result.success{background:#e2f8ec;border-color:#bce9cf;color:#1d7448}
.demo-actions{display:flex;justify-content:center;gap:12px;flex-wrap:wrap;margin-top:21px}
.demo-actions .button{font-size:11px;min-height:49px;padding-inline:19px}
.demo-disclaimer{font-size:10px;line-height:1.8;color:var(--muted);margin:23px auto 0;max-width:440px}

@media(max-width:1050px){
  .wrap{width:calc(100% - 64px)}
  .hero{gap:32px;min-height:640px;padding-block:42px 47px}
  .hero-art{min-height:470px}
  h1{font-size:55px}
  .hero-description{font-size:14px}
  .eyebrow{font-size:8px;letter-spacing:.8px}
  .hero-actions{max-width:315px}
  .speech-bubble{font-size:15px;left:4%;top:20px}
  .art-caption{font-size:7px;letter-spacing:1px;bottom:14px}
  .ribbon-inner{gap:40px}.ribbon-inner>span{font-size:12px;gap:9px}
  .project{gap:45px}.project-visual{height:350px}.project-copy h3{font-size:31px}
  .project-copy>p:not(.project-meta){font-size:13px;margin-top:18px}
  .project-reverse .project-copy{padding-left:15px}
  .fraction-paper{left:34px;width:225px;top:69px}.work-mascot{width:145px;height:199px}
  .approach-grid{gap:55px}.approach-intro h2{font-size:35px}
  .site-header nav{gap:20px}.site-header nav a{font-size:11px}
}
@media(max-width:800px){
  .wrap{width:calc(100% - 44px)}.site-header{height:85px}.wordmark{font-size:45px}.brand-spark{width:20px;height:27px}
  .site-header nav{gap:14px}.site-header nav a{font-size:9px}.header-inner{gap:15px}
  .button.small{font-size:9px;padding:9px 12px 7px;gap:9px;min-height:40px}
  .hero{gap:24px;min-height:580px;padding-block:30px 40px;grid-template-columns:1fr 1fr}
  .hero-art{min-height:420px}h1{font-size:47px;letter-spacing:-1px}
  .hero-description{font-size:13px;line-height:1.8;margin-top:20px}.hero-actions{margin-top:22px}
  .hero-actions .button{font-size:11px;min-height:51px;padding-inline:13px;gap:12px}.hero-note{font-size:9px}
  .speech-bubble{font-size:12px;padding:9px 12px;left:3%;top:34px}
  .world-art{width:110%;max-width:none}.art-caption{font-size:6px;bottom:32px;letter-spacing:.7px}
  .ribbon-inner{gap:24px;min-height:83px}.ribbon-inner>span{font-size:10px;gap:6px}.ribbon-icon{font-size:27px;width:28px}
  .section-space{padding-block:66px}h2{font-size:39px}.intro{max-width:660px}
  .intro>p:not(.section-label){font-size:14px}.section-label{font-size:9px}
  .filters{gap:7px;margin-bottom:36px}.filter{font-size:10px;padding:8px 12px}
  .projects{gap:60px}.project{gap:30px}.project-copy h3{font-size:27px}
  .project-copy>p:not(.project-meta){font-size:12px}.project-meta{font-size:7px;letter-spacing:1px;margin-bottom:14px}
  .project-visual{height:320px;border-radius:21px}.visual-label{font-size:7px;left:18px;right:18px;top:19px}
  .world-pill{font-size:9px;left:16px;bottom:18px;padding:7px 9px}.round-arrow{right:16px;bottom:18px;width:31px;height:31px;border-radius:10px;font-size:17px}
  .parent-dashboard{max-width:calc(100% - 38px);min-width:240px;transform:rotate(-4deg) scale(.94);transform-origin:top center}
  .dash-content{padding:15px 16px}.dash-top{padding-inline:12px;gap:8px}.dash-content>strong{font-size:26px}
  .dash-top>span:nth-child(2){font-size:5px}.dash-week{gap:4px}.dash-week i{height:22px;width:22px}
  .parent-preview{padding-top:60px}.fraction-paper{width:190px;height:246px;padding:18px;left:22px;top:65px}
  .fraction-paper>strong{font-size:27px}.paper-pizza{width:96px;height:96px;margin-top:13px}.work-mascot{width:124px;height:171px;right:-4px}
  .project-tags{gap:5px;margin-top:17px}.project-tags>span{font-size:8px;padding:3px 7px}
  .text-button{font-size:9px;gap:12px;margin-top:20px}.project-detail-link{font-size:9px}
  .approach-grid{gap:38px}.approach-section{padding-block:65px}.approach-intro h2{font-size:29px}
  .approach-intro>p:not(.section-label){font-size:12px}.approach-companion>img{width:98px;height:122px}.approach-companion>span{font-size:20px}
  .principles h3{font-size:13px}.principles p{font-size:11px}.principles article{gap:13px}.principle-icon{width:36px;height:36px;font-size:26px;border-radius:11px}
  .closing h2{font-size:46px}.closing>p:not(.section-label){font-size:13px}.star-one{left:8%}.star-two{right:8%}
  .footer-inner{gap:23px}.site-footer>div>p{font-size:9px}.footer-right{font-size:8px;gap:10px 14px}.footer-right>span{font-size:8px}
}
@media(max-width:600px){
  html{scroll-padding-top:25px}.wrap{width:calc(100% - 40px)}.site-header{height:81px}.header-inner{position:relative;gap:12px}
  .wordmark{font-size:43px}.brand-spark{width:19px;height:26px;margin-left:2px}
  .header-cta{margin-left:auto}.button.small{font-size:8px;letter-spacing:.4px;padding:9px 10px 7px;gap:7px;min-height:38px}
  .button.small>span{font-size:16px}.menu-toggle{display:flex;width:28px;height:37px;flex-direction:column;gap:4px;justify-content:center;align-items:center;background:transparent;padding:0;flex:none}
  .menu-toggle span{height:2px;width:21px;border-radius:2px;background:var(--purple-dark);transition:transform .15s,opacity .15s}
  .menu-toggle[aria-expanded=true] span:first-child{transform:translateY(6px) rotate(45deg)}
  .menu-toggle[aria-expanded=true] span:nth-child(2){opacity:0}
  .menu-toggle[aria-expanded=true] span:last-child{transform:translateY(-6px) rotate(-45deg)}
  .site-header nav{display:none;position:absolute;top:72px;right:0;left:0;background:#fff;border:2px solid var(--line);border-radius:15px;padding:9px;z-index:12}
  .site-header nav.open{display:flex;flex-direction:column;gap:0;align-items:stretch}
  .site-header nav a{font-size:12px;padding:12px;border-radius:10px}.site-header nav a:hover{background:var(--pale)}
  .hero{grid-template-columns:1fr;gap:18px;padding-block:28px 34px;min-height:0}
  .hero-art{min-height:0;height:310px;max-width:440px;width:100%;margin-inline:auto}
  .world-art{width:100%;height:100%;max-height:310px;object-fit:contain}
  .speech-bubble{font-size:13px;top:4px;left:5%;padding:8px 12px}
  .art-caption{font-size:6px;letter-spacing:.85px;bottom:0}
  .hero-copy{text-align:center;padding-bottom:0}
  .eyebrow{justify-content:center;font-size:7px;letter-spacing:.9px;gap:6px;margin-bottom:14px}
  .eyebrow>span{font-size:13px}
  h1{font-size:51px;line-height:1.06;letter-spacing:-1px}h1 br:nth-child(2){display:none}
  .hero-description{font-size:13px;line-height:1.85;max-width:370px;margin:20px auto 0}
  .hero-actions{margin:23px auto 0;max-width:350px;gap:11px}.hero-actions .button{font-size:11px;min-height:51px}
  .hero-note{justify-content:center;font-size:9px;margin-top:18px}.hero-note svg{height:17px;width:17px}
  .ribbon-inner{width:100%;gap:0;justify-content:space-between;align-items:flex-start;padding:20px 17px;min-height:0}
  .ribbon-inner>span{font-size:9px;line-height:1.5;white-space:normal;max-width:100px;text-align:center;flex-direction:column;gap:7px}
  .ribbon-icon{font-size:30px;width:32px;height:30px}.ribbon-icon.coral{font-size:35px}
  .section-space{padding-block:54px}.section-label{font-size:8px;letter-spacing:1.3px}h2{font-size:33px;line-height:1.16;letter-spacing:-.5px}
  .intro h2{margin-top:16px}.intro>p:not(.section-label){font-size:12px;line-height:1.95;margin-top:22px}
  .project-status{font-size:10px;padding:6px 11px;margin-top:21px;border-radius:9px}
  .work-section{padding-top:48px;padding-bottom:43px}.section-heading h2{margin-top:14px}.section-heading>p:last-child{font-size:12px;margin-top:17px}
  .filters{gap:7px;margin:25px 0 31px}.filter{font-size:9px;padding:7px 10px;min-height:37px;border-radius:11px}.filter>span{width:14px;height:14px;font-size:8px;margin-left:3px}
  .projects{gap:50px}.project{display:flex;flex-direction:column;gap:25px;align-items:stretch}
  .project-reverse .project-visual{order:0}.project-reverse .project-copy{order:0;padding:0}
  .project-visual{height:310px;border-radius:23px;width:100%}.visual-label{left:20px;right:20px;top:21px;font-size:8px}
  .visual-label>span{font-size:20px}.world-pill{left:19px;bottom:20px;font-size:10px;padding:7px 10px}.round-arrow{right:19px;bottom:20px;width:33px;height:33px;font-size:19px}
  .project-meta{font-size:8px;letter-spacing:1.1px;margin-bottom:13px}.project-copy h3{font-size:31px;line-height:1.15}
  .project-copy>p:not(.project-meta){font-size:12px;line-height:1.9;margin-top:18px;max-width:400px}.project-tags{margin-top:17px;gap:6px}.project-tags>span{font-size:9px;padding:4px 8px}
  .text-button{font-size:10px;gap:17px;margin-top:20px;min-height:32px}.project-detail-link{font-size:10px;margin-top:7px}
  .parent-preview{padding-top:61px}.parent-dashboard{width:285px;max-width:calc(100% - 48px);min-width:0;transform:rotate(-4deg)}
  .dash-content{padding:14px 19px}.dash-content>strong{font-size:27px}.dash-top{gap:9px;padding-inline:15px}
  .dash-box{margin-top:12px;padding:10px 11px}.dash-greeting{margin-top:10px}.dash-week{gap:5px}.dash-week i{height:22px;width:22px}
  .fraction-paper{width:211px;height:255px;left:39px;top:66px;padding:19px 21px}.fraction-paper>strong{font-size:29px}.paper-pizza{width:102px;height:102px}
  .work-mascot{width:139px;height:185px;right:1px;bottom:0}.project-caption{font-size:9px;text-align:left;line-height:1.9;margin-top:35px}
  .approach-section{margin-top:0;padding-block:52px}.approach-grid{grid-template-columns:1fr;gap:35px}
  .approach-intro h2{font-size:33px;margin-top:16px}.approach-intro>p:not(.section-label){font-size:12px;max-width:330px;margin-top:20px}
  .approach-companion{gap:17px;margin-top:18px}.approach-companion>img{width:98px;height:126px}.approach-companion>span{font-size:23px}
  .principles{gap:22px}.principles article{gap:15px;padding-bottom:22px}.principle-icon{width:39px;height:39px;border-radius:12px;font-size:29px}
  .principles h3{font-size:13px}.principles p{font-size:11px;line-height:1.95;margin-top:8px}
  .closing{padding-block:56px 54px}.closing h2{font-size:39px;line-height:1.14;margin-top:16px}.closing>p:not(.section-label){font-size:12px;margin-top:20px}
  .closing .button{min-width:260px;margin-top:25px;min-height:52px;font-size:12px}.closing-note{font-size:9px;line-height:1.8;margin-top:17px}
  .closing-star{font-size:27px}.star-one{top:29%;left:0}.star-two{font-size:20px;top:48%;right:0}
  .site-footer{padding-block:30px}.footer-inner{flex-wrap:wrap;gap:18px 25px}.site-footer .wordmark{font-size:43px}
  .site-footer>div>p{font-size:9px}.footer-right{margin-left:0;width:100%;justify-content:flex-start;text-align:left;gap:9px 20px;font-size:9px}.footer-right>span{font-size:8px;margin-top:3px}
  .project-dialog{border-radius:20px}.dialog-close{width:34px;height:34px;font-size:22px;right:14px;top:14px}
  .dialog-heading{padding:46px 23px 23px}.dialog-heading h2{font-size:31px;padding-right:0}.dialog-heading>p:last-child{font-size:12px}
  .dialog-scene{height:190px}.dialog-body{padding:22px 23px 30px}.dialog-body p{font-size:12px}
  .dialog-detail{grid-template-columns:1fr;gap:17px;padding-block:21px;margin-block:21px}.dialog-detail strong{font-size:12px;margin-bottom:4px}.dialog-detail p{font-size:11px}
  .dialog-body .button{font-size:9px;gap:12px;padding-inline:14px;min-height:49px}
  .demo-content{padding:46px 21px 28px}.demo-content h2{font-size:29px}.demo-mascot{width:92px;height:108px;margin:5px auto 10px}
  .demo-description{font-size:12px;line-height:1.85}.fraction-board{gap:7px;margin:23px auto}.fraction-piece{min-height:98px;border-radius:12px;font-size:10px}
  .fraction-piece[aria-pressed=true]::before{font-size:24px}.demo-result{font-size:11px;padding:12px;min-height:85px}.demo-count{font-size:10px}.demo-actions{gap:9px}
  .demo-actions .button{font-size:9px;gap:12px;padding:12px 14px 10px;min-height:46px}.demo-disclaimer{font-size:9px;line-height:1.9}
}
@media(max-width:360px){
  .wrap{width:calc(100% - 32px)}.wordmark{font-size:38px}.brand-spark{width:17px;height:24px}.header-inner{gap:9px}
  .button.small{font-size:7px;padding-inline:8px;gap:6px}.hero-art{height:275px}.world-art{max-height:275px}.speech-bubble{font-size:12px;left:0;top:0}
  .hero{gap:17px;padding-top:24px}.eyebrow{font-size:6px;letter-spacing:.7px}h1{font-size:44px}.hero-description{font-size:12px}
  .hero-actions .button{font-size:10px}.hero-note{font-size:8px}.ribbon-inner>span{font-size:8px;max-width:87px}
  h2{font-size:30px}.filter{font-size:8px;padding:7px 8px}.project-visual{height:280px}.project-copy h3{font-size:28px}
  .fraction-paper{left:22px;width:193px;padding-inline:18px}.work-mascot{width:123px;height:167px;right:-3px}.parent-dashboard{max-width:calc(100% - 40px)}
  .dash-top>span:nth-child(2){font-size:5px}.dash-week{gap:3px}.dash-week i{height:20px;width:20px}.dash-content{padding-inline:14px}
  .closing h2{font-size:35px}.closing .button{min-width:240px}.closing-star{font-size:21px}.star-one{left:-3px;top:30%}
  .approach-intro h2{font-size:30px}.principles article{gap:12px}.principles h3{font-size:12px}
}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{transition:none!important;animation:none!important}}
