/* A quiet mathematical workbench, with the figure at the centre. */
:root{--paper:#f5f7f9;--ink:#203a35;--muted:#61716f;--line:#dce4e5;--accent:#17684e;--blue:#2766b0}
body{background:var(--paper);color:var(--ink);font-size:16px}
header{padding:1rem max(2rem,calc((100vw - 1400px)/2));box-shadow:none;position:relative;min-height:82px}
header nav{margin-left:auto}header nav a{color:#536a63;font-size:.9rem}.language-switch{border-left:1px solid var(--line);padding-left:.75rem}.language-switch button{font-size:.8rem}
main{max-width:1400px;padding:2rem 2.4rem 3.5rem}.breadcrumbs{font-size:.875rem;margin-bottom:1rem}.breadcrumbs a{color:#526b63}
h1{letter-spacing:-.04em;font-size:clamp(1.9rem,3.2vw,2.8rem);font-weight:700;line-height:1.14}
.catalogue-intro{font-size:1rem;color:var(--muted);max-width:60ch}.programme-domain>h2{font-size:1.1rem;color:#4d645c;margin:2rem 0 1rem}.chapter-grid{gap:.9rem}.chapter-tile{min-height:170px;border:1px solid var(--line);border-radius:12px;border-top:1px solid var(--line);box-shadow:none;padding:1.3rem;position:relative}.chapter-tile h3{font-size:1.25rem;line-height:1.3;margin:.6rem 0 1.1rem}.chapter-tile:hover{border-color:#7fa997;background:#fff;box-shadow:0 8px 24px #18352a08}.chapter-tile .tile-bottom{font-size:.82rem;gap:.5rem}.chapter-tile .badge{background:transparent;padding:0;color:#667872}.chapter-planned{background:#f8fafb}.chapter-planned h3{color:#64766e}.chapter-code{padding:.25rem .5rem;font-size:.78rem;letter-spacing:.04em;font-weight:650;background:#edf4f0;border-radius:5px}
.chapter-tabs{margin:1.5rem 0 1.6rem;gap:.8rem;padding-bottom:.7rem}.chapter-tabs a{background:transparent!important;border:0;border-radius:0;padding:.5rem 0;margin-right:.8rem;font-size:.94rem}.chapter-tabs [aria-current]{box-shadow:0 3px var(--accent)}
.compact-lessons{grid-template-columns:repeat(2,minmax(0,1fr));gap:.75rem}.lesson-tile{padding:1.05rem 1.2rem;border-radius:10px;min-height:86px;gap:1rem}.lesson-tile>span:last-child{line-height:1.35}.lesson-number{border-radius:7px;width:2.2rem;height:2.2rem;font-weight:650;font-size:.9rem;background:#eef3f5;color:#435b55}.lesson-reference{font-size:.73rem;letter-spacing:.04em;color:#698078;margin-bottom:.15rem}.lesson-tile:hover{border-color:#88ad9b;box-shadow:none}.lesson-tile.unavailable{background:#f8fafb;opacity:.7}.lesson-tile.unavailable small{font-size:.8rem}
.chapter-ppts{margin-top:2.3rem;padding:1.5rem;border-radius:12px;background:#fff;border:1px solid var(--line)}.chapter-ppts h2{font-size:1.2rem}.chapter-resource-heading p,.chapter-ppts .quiet{font-size:.9rem}.ppt-list li{padding:.8rem 0}.ppt-title{font-size:.94rem}.ppt-formats .button{padding:.35rem .6rem;font-size:.8rem}.chapter-review{background:#fff}
.lesson-heading{max-width:none;margin-bottom:1.3rem;position:relative;padding-right:10rem}.lesson-heading h1{font-size:clamp(1.6rem,2.4vw,2.2rem);max-width:35ch;margin:.25rem 0 .5rem}.lesson-heading .lead{font-size:.97rem;margin:0;max-width:64ch}.lesson-heading .eyebrow{font-size:.76rem;margin:.2rem 0}.share-notion{position:absolute;right:0;top:0;max-width:10rem;justify-content:flex-end}.share-notion button{padding:.5rem .6rem;font-size:.76rem}.share-notion .quiet{font-size:.75rem}
.lesson-layout{grid-template-columns:196px minmax(0,1fr);gap:1.6rem}.lesson-sidebar{position:sticky;top:1.2rem;align-self:start}.lesson-steps{gap:.35rem}.lesson-steps a{padding:.7rem .7rem;gap:.65rem;border:1px solid transparent;background:transparent;color:#62746d;border-radius:8px;font-size:.88rem}.lesson-steps a b{background:#eaf0ee!important;color:#5b7469!important;width:1.5rem;height:1.5rem;font-size:.74rem;flex:none}.lesson-steps a[aria-current]{background:#fff!important;color:#145e46!important;border:1px solid #c7dbd0;box-shadow:0 3px 8px #233e2e04}.lesson-steps a[aria-current] b{background:#e0efe6!important;color:#145e46!important}.lesson-steps a:hover{background:#edf2ef}.lesson-picker{background:#fff;border-radius:9px;font-size:.85rem;margin-bottom:.8rem}.lesson-picker summary{padding:.7rem}.lesson-picker nav{padding:.4rem}.lesson-picker a{font-size:.85rem}.lesson-sidebar>.back{font-size:.82rem;margin:.8rem 0}.lesson-sequence{font-size:.84rem;border-top:1px solid var(--line);margin-top:1rem;padding-top:1rem}
.lesson-pane{padding:1.35rem;border:1px solid var(--line);border-radius:14px;box-shadow:none;background:#fff;overflow:visible}.lesson-pane>.eyebrow{font-size:.74rem;color:#84968c;margin:0}.lesson-pane>h2{font-size:1.08rem;color:#60756b;margin:.25rem 0 1rem}.lesson-next{margin-top:1.8rem;padding-top:1.2rem;border-top:1px solid var(--line)}button,.button{font-weight:560;min-height:40px;line-height:1.35}.button.primary,button.primary{background:#17684e;border-color:#17684e}.prediction{border:0;background:transparent;padding:0;margin-bottom:1rem}.prediction h3{font-size:.95rem;margin:0 0 .4rem}.prediction textarea{min-height:54px}.worked{border-radius:9px;background:#eff5f1;border:1px solid #dce8df;padding:1rem}.hm-question{border-color:#dde6e5}.hm-question legend{font-size:1rem}
.studio-discovery>.manipulation-task,.studio-discovery>.prediction{display:none}.studio-discovery>.worked{margin:1.2rem 0;background:#f6f9f7}.studio-discovery>.worked>summary{font-weight:650;cursor:pointer}.studio-discovery>.worked p{margin-bottom:.5rem}.studio-discovery>.hm-reflection,.studio-discovery>.reflection{margin-top:1rem}
.geometry-studio{border:1px solid #d8e4e4;border-radius:12px;padding:1.1rem;background:#fff;min-width:0;color:#263d38}.gs-heading{display:flex;gap:1rem;justify-content:space-between;align-items:start;margin-bottom:.55rem}.gs-heading h3{font-size:1.23rem;font-weight:680;line-height:1.25;margin:0;max-width:32ch}.gs-utility{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:.4rem}.gs-utility button{background:transparent;border:1px solid #dbe5e5;padding:.3rem .6rem;font-size:.76rem;min-height:32px;color:#587368}.gs-prompt{font-size:.94rem;line-height:1.5;max-width:80ch;margin:.5rem 0 1.1rem;color:#526962}.gs-controls{display:flex;align-items:end;flex-wrap:wrap;gap:.55rem .8rem;margin-bottom:1rem}.gs-controls:empty{display:none}.geometry-studio button{border:1px solid #cedbdb;background:#fff;color:#35544a;min-height:38px;padding:.5rem .65rem;font-size:.82rem;border-radius:7px}.geometry-studio button:hover{background:#f0f5f3;border-color:#91b1a1}.geometry-studio button[aria-pressed=true]{background:#eaf3ee;border-color:#79a28e;color:#135d45}.geometry-studio button:disabled{opacity:.45;cursor:default}.geometry-studio label{display:flex;flex-direction:column;gap:.35rem;font-size:.8rem;font-weight:550;color:#536c60}.geometry-studio select{min-height:38px;border:1px solid #cfdddd;border-radius:7px;padding:.35rem .6rem;background:#fff;font:inherit;color:#274b3e;max-width:100%}.gs-controls label{min-width:130px}.gs-controls .gs-range{min-width:150px;flex:1;max-width:230px;display:grid;grid-template-columns:1fr auto}.gs-range input{grid-column:1/-1;width:100%;height:26px;margin:0;accent-color:#17684e}.gs-range output{font-variant-numeric:tabular-nums;color:#17684e}
.gs-workspace{display:grid;grid-template-columns:minmax(0,1fr) 210px;gap:1.1rem;align-items:start}.gs-figure{min-width:0}.gs-canvas{border:1px solid #dce5e9;border-radius:10px;overflow:hidden;background:#f9fbfd}.geometry-studio svg{display:block!important;width:100%!important;min-width:0!important;height:auto;max-height:none;margin:0;overflow:hidden;touch-action:none}.gs-svg-label{font:600 18px Inter,system-ui,sans-serif;paint-order:stroke;stroke:#f9fbfd;stroke-width:4px;stroke-linejoin:round}.gs-movable{cursor:grab;outline:0}.gs-movable:active{cursor:grabbing}.gs-movable:hover .gs-halo,.gs-movable:focus .gs-halo{opacity:.23;stroke:currentColor;stroke-width:1}.gs-canvas-caption{display:flex;justify-content:space-between;align-items:center;gap:.5rem;padding:.4rem .7rem;background:#f3f7f9;border-top:1px solid #e2e9ed;font-size:.72rem;color:#6c807a}.gs-canvas-caption button{padding:.2rem .4rem;font-size:.7rem;min-height:28px;background:transparent;border:0}.gs-investigate{padding:0 .05rem}.gs-small-title{font-size:.7rem!important;font-weight:650;text-transform:uppercase;letter-spacing:.07em;color:#6e8479;margin:.15rem 0 .8rem}.gs-investigate>p{font-size:.87rem;line-height:1.5;margin:.55rem 0 .85rem}.gs-investigate label{margin:.8rem 0}.gs-investigate button{margin:0 .2rem .5rem 0}.gs-investigate [data-action="check"]{background:#17684e;color:white;border-color:#17684e;width:100%}.gs-note{font-size:.76rem!important;color:#738178}.gs-readings{display:flex;gap:.8rem;flex-wrap:wrap;min-height:65px;padding:.8rem .1rem 0}.gs-metric{display:flex;flex-direction:column;gap:.16rem;min-width:76px}.gs-metric>span{font-size:.72rem;color:#71847d}.gs-metric>strong{font-size:.96rem;font-weight:650;font-variant-numeric:tabular-nums}.gs-metric.blue strong{color:#2766b0}.gs-metric.orange strong{color:#aa6215}.gs-metric.green strong{color:#167455}.gs-feedback{font-size:.83rem;line-height:1.5;color:#315b49}.gs-has-feedback{padding:.75rem;background:#eaf4ee;border-radius:8px;margin-top:.5rem}.gs-feedback p{margin:.4rem 0 0}.gs-keyboard{border-top:1px solid #e6ecea;padding-top:.65rem;margin-top:.6rem;font-size:.78rem;color:#688173}.gs-keyboard summary{cursor:pointer}.gs-nudge{display:flex;flex-wrap:wrap;align-items:end;gap:.6rem;margin-top:.75rem}.gs-nudge p{font-size:.76rem;max-width:42ch}.gs-nudge button{min-width:40px}.gs-vertex-buttons{display:flex;gap:.25rem;flex-wrap:wrap}.gs-vertex-buttons button{min-width:32px;padding:.4rem}.gs-expanded{position:fixed;inset:1rem;z-index:1200;overflow:auto;max-height:calc(100dvh - 2rem);box-shadow:0 0 0 100vmax #102c22c9;padding:1.5rem}.gs-expanded .gs-workspace{grid-template-columns:minmax(0,1fr) 270px}.gs-expanded .gs-heading h3{font-size:1.7rem}.gs-expanded .gs-canvas{max-width:1100px}.gs-projecting{overflow:hidden}
.year-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.year-card{border-radius:12px;border:1px solid var(--line);box-shadow:none}.year-card strong{font-size:2.4rem}.year-card[href="#annee/6e"],.year-card[href="#annee/5e"]{border-color:#83a996;background:white}.year-card[href="#annee/6e"] strong,.year-card[href="#annee/5e"] strong{color:#17684e}.quick-links a{border-radius:7px}.resource-directory{gap:1rem}.resource-link{background:#fff;box-shadow:none}.resource-link h2{font-size:1.2rem}.resource-link p{font-size:.95rem}footer{padding:1.5rem 2rem;color:#728479;font-size:.78rem;border-top:1px solid #e0e8e4}
@media(min-width:1500px){.gs-workspace{grid-template-columns:minmax(0,1fr) 230px}.gs-svg-label{font-size:19px}}
@media(max-width:1100px){.lesson-layout{grid-template-columns:175px minmax(0,1fr);gap:1rem}main{padding:1.5rem}.gs-workspace{grid-template-columns:minmax(0,1fr)}.gs-investigate{border-top:1px solid #e0e8e5;padding-top:.8rem;display:grid;grid-template-columns:1fr 1fr;gap:.4rem 1rem}.gs-investigate .gs-small-title,.gs-feedback{grid-column:1/-1}.gs-investigate>p{margin:.35rem 0}.gs-investigate label{margin:0}.gs-investigate [data-action="check"]{align-self:end}.gs-svg-label{font-size:20px}.gs-expanded .gs-workspace{grid-template-columns:minmax(0,1fr) 230px}.gs-expanded .gs-investigate{display:block;border:0}.year-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:760px){header{padding:.8rem 1rem;gap:.5rem}.brand{font-size:1.2rem}.brand:before{width:30px;height:30px}header nav{order:3;width:100%;margin:0;gap:.6rem}header nav a{font-size:.78rem;padding:.3rem 0}.language-switch{margin-left:auto;border:0;padding:0}.language-switch button{font-size:.72rem;padding:.35rem;min-height:32px}main{padding:1.2rem 1rem 2rem}.lesson-layout{display:flex;flex-direction:column;gap:.8rem}.lesson-sidebar{position:static;width:100%;display:grid;grid-template-columns:1fr auto;align-items:center;gap:.3rem}.lesson-sidebar>.back{display:none}.lesson-picker{grid-column:1;margin:0}.lesson-steps{grid-column:1/-1;grid-row:2;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:.2rem}.lesson-steps a{flex-direction:column;text-align:center;font-size:.65rem;padding:.4rem .1rem;line-height:1.3;gap:.25rem}.lesson-steps a b{width:1.3rem;height:1.3rem;font-size:.65rem}.lesson-sequence{grid-column:2;grid-row:1;margin:0;border:0;padding:0;display:flex;gap:.4rem}.lesson-sequence a{font-size:.7rem}.lesson-heading{padding-right:0;margin-bottom:1rem}.lesson-heading h1{font-size:1.7rem;max-width:28ch}.share-notion{position:static;max-width:none;justify-content:start;margin-top:.6rem}.share-notion button{min-height:30px;font-size:.7rem}.lesson-pane{padding:.85rem;border-radius:11px}.lesson-pane>h2{font-size:.96rem}.compact-lessons{grid-template-columns:1fr}.lesson-tile{min-height:76px;padding:1rem}.chapter-tabs{gap:.5rem}.chapter-tabs a{font-size:.83rem;margin-right:.4rem}.chapter-ppts{padding:1rem}.chapter-resource-heading{display:block}.chapter-resource-heading .button{margin:.3rem .3rem .3rem 0}.ppt-list li{grid-template-columns:1.4rem minmax(0,1fr)}.ppt-formats{grid-column:2}.year-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.geometry-studio{padding:.75rem;border-radius:9px}.gs-heading{flex-wrap:wrap;gap:.5rem}.gs-heading h3{font-size:1.05rem}.gs-utility{margin-left:auto}.gs-prompt{font-size:.86rem}.gs-controls{gap:.5rem}.geometry-studio button{min-height:42px;font-size:.8rem}.gs-utility button{min-height:30px;font-size:.68rem}.gs-controls label{min-width:120px;flex:1}.gs-controls select{min-height:42px}.gs-svg-label{font-size:27px;stroke-width:5px}.gs-canvas-caption{font-size:.65rem;padding:.3rem .4rem}.gs-readings{gap:.6rem;min-height:54px}.gs-metric>strong{font-size:.89rem}.gs-metric>span{font-size:.68rem}.gs-investigate>p{font-size:.83rem}.gs-feedback{font-size:.81rem}.gs-expanded{inset:.4rem;max-height:calc(100dvh - .8rem);padding:.8rem}.gs-expanded .gs-workspace{grid-template-columns:1fr}.gs-expanded .gs-heading h3{font-size:1.2rem}.gs-expanded .gs-investigate{display:grid}.lesson-next{gap:.5rem;flex-wrap:wrap}.lesson-next .button{font-size:.82rem}.hm-question legend{font-size:.95rem}.math-graphic svg{min-width:0!important}.chapter-tile .tile-bottom>span:last-child{font-size:.76rem}}
@media(max-width:400px){main{padding:1rem .6rem}.lesson-pane{padding:.65rem}.geometry-studio{padding:.55rem}.gs-investigate{grid-template-columns:1fr}.gs-investigate .gs-small-title,.gs-feedback{grid-column:1}.lesson-sequence a{font-size:.62rem}.gs-svg-label{font-size:29px}.chapter-tabs a{font-size:.76rem}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important}.chapter-tile{transform:none!important;transition:none!important}}
@media print{header,.lesson-sidebar,.gs-controls,.gs-utility,.gs-keyboard,.gs-canvas-caption,.share-notion,footer{display:none}.lesson-layout{display:block}.geometry-studio,.lesson-pane{break-inside:avoid}.gs-expanded{position:static;box-shadow:none;max-height:none}.gs-workspace{grid-template-columns:minmax(0,1fr) 180px}}

.gs-hide-names .gs-point text{visibility:hidden}.gs-investigate [data-guide]{display:contents}

.geometry-studio [data-action="check"]:hover,.geometry-studio [data-action="check"]:focus-visible{background:#12533f;color:#fff}

@media(max-width:760px){.gs-svg-label{font-size:36px}.gs-point path{stroke-width:3.5}.gs-investigate p{font-size:.86rem}.lesson-sequence a{font-size:.74rem}.lesson-sidebar{grid-template-columns:1fr}.lesson-sequence{grid-row:3;grid-column:1/-1;justify-content:space-between;padding:.25rem}.lesson-picker{grid-column:1/-1}.gs-workspace{gap:.65rem}}
.home-studio-hero{display:grid;grid-template-columns:1.15fr 1fr;gap:5rem;align-items:center;padding:1.8rem 0 2rem}.home-studio-hero h1{font-size:clamp(2.6rem,4.7vw,4.25rem);max-width:13ch;line-height:1.05;letter-spacing:-.045em}.home-studio-hero .lead{font-size:1.1rem;line-height:1.65;max-width:43ch;color:#62746e;margin:1.25rem 0 1.6rem}.home-studio-hero .eyebrow{font-size:.76rem;letter-spacing:.1em}.home-studio-hero .button{padding:.8rem 1.1rem;border-radius:8px;font-size:.94rem;gap:1rem}.home-exploration{display:flex;flex-direction:column;border:1px solid #d2e1da;border-radius:16px;overflow:hidden;text-decoration:none;background:#fff;box-shadow:0 12px 38px #1c4a3510;color:var(--ink)}.home-geometry-preview{background:#edf5ef;border-bottom:1px solid #dbe6e0}.home-geometry-preview svg{display:block;width:100%;height:245px}.home-exploration>span,.home-exploration>strong{padding:0 1.3rem}.home-exploration .home-feature-title{font-weight:650;font-size:1.12rem;padding-top:1.25rem}.home-exploration>span+span{font-size:.9rem;margin:.45rem 0 1.3rem;color:#6c7d75}.home-exploration>strong{display:flex;justify-content:space-between;font-size:.87rem;margin:0 0 1.25rem;color:#17684e}.home-exploration:hover{border-color:#6c9c85;box-shadow:0 12px 38px #1c4a351b}.home-years-heading{font-size:1.45rem;margin:1.5rem 0 1rem}.home-years-heading+.year-grid{grid-template-columns:repeat(2,minmax(0,1fr));margin:0 0 1rem}.home-years-heading+.year-grid .year-card{min-height:150px;padding:1.4rem 1.6rem;gap:.5rem}.home-years-heading+.year-grid .year-card strong{font:650 2.3rem Inter,system-ui,sans-serif;color:#17684e}.home-future{margin:.7rem 0 2.2rem;color:#697c71;font-size:.85rem}.home-future summary{cursor:pointer;width:fit-content}.home-future .year-card{min-height:125px}.quick-links{gap:.6rem}.quick-links>a{border:1px solid #dae5df;background:#fff;border-radius:7px;padding:.6rem .8rem;text-decoration:none;font-size:.87rem}.steps-preview{gap:.5rem}.steps-preview>span{font-size:.85rem;background:#edf3ef;padding:.7rem;border-radius:6px}.brand{font-family:Inter,system-ui,sans-serif!important;font-weight:700;font-size:1.3rem;letter-spacing:-.04em}
@media(max-width:900px){.home-studio-hero{gap:2rem}.home-studio-hero h1{font-size:2.7rem}.home-geometry-preview svg{height:200px}}
@media(max-width:620px){.home-studio-hero{grid-template-columns:1fr;padding:.5rem 0 1rem;gap:1.8rem}.home-studio-hero h1{font-size:2.5rem;max-width:15ch}.home-studio-hero .lead{font-size:1rem}.home-exploration .home-geometry-preview svg{height:170px}.home-exploration>span+span{margin-bottom:.8rem}.home-years-heading+.year-grid .year-card{padding:1.1rem;min-height:135px}.home-years-heading{font-size:1.25rem}.steps-preview{display:grid;grid-template-columns:1fr}.home-future .year-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){header .brand{font-size:1.1rem;gap:.4rem}header .brand:before{width:26px;height:30px}.language-switch button{font-size:.68rem;padding:.35rem}.home-studio-hero .button{font-size:.86rem}}
.chapter-tabs a[aria-current]{color:#17684e!important;font-weight:650}
@media(max-width:1000px){header{display:grid;grid-template-columns:1fr auto;gap:.5rem;min-height:0}header .brand{grid-column:1;grid-row:1}header>.language-switch{grid-column:2;grid-row:1;margin:0;padding:0;border:0}header nav{grid-column:1/-1;grid-row:2;display:flex;justify-content:space-between;width:100%;margin:0;gap:.7rem}}
