:root{--ink:#143137;--muted:#5d7671;--cream:#faf8ef;--paper:#f1f1e7;--line:#d9dfd4;--teal:#138a89;--gold:#c49342;--orange:#d46d44;--blue:#3c718a;--mint:#62b2a3;--dark:#102d31;--radius:6px}
*{box-sizing:border-box}html{scroll-behaviour:smooth}body{margin:0;color:var(--ink);font-family:Arial,Helvetica,sans-serif;background:var(--cream);font-size:15px}button,input,select{font:inherit}button{cursor:pointer}button:focus-visible,input:focus-visible,select:focus-visible,svg:focus-visible{outline:3px solid #d67e4b;outline-offset:3px}button:disabled{opacity:.46;cursor:not-allowed}a{color:inherit}.is-hidden{display:none!important}
.page-shell{max-width:1536px;margin:auto;padding:0 38px}.masthead{height:76px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #ced7ca;gap:18px}.brand-row,.masthead-right{display:flex;align-items:center;gap:11px}.brand-row{font-size:16px;font-weight:500;letter-spacing:.12em}.brand-weight{font-weight:900}.brand-tld{font-weight:500;color:var(--muted)}.brand-sigil{font-size:31px;color:var(--orange);line-height:0}.brand-divider{width:1px;height:23px;background:#cdd6ca;margin:0 10px}.brand-lab,.edition,.school-tag{font-size:10px;font-weight:800;letter-spacing:.14em;color:#638079}.school-tag{color:#3a766b;background:#e9eee5;padding:10px 13px;border-radius:2px}.edition{color:#a2a79a}
.intro{padding:51px 0 43px;display:flex;justify-content:space-between;align-items:center;gap:28px}.kicker,.sub-kicker,.section-number{font-size:10px;letter-spacing:.2em;font-weight:850;color:#b66b42}.kicker{display:flex;align-items:center;gap:12px}.tiny-star{font-size:16px}.kicker-line{display:inline-block;width:40px;height:1px;background:#ccac8d}h1,h2,h3,p{margin-top:0}h1,h2{font-family:Georgia,'Times New Roman',serif;font-weight:400;letter-spacing:-.055em}h1{font-size:clamp(43px,5.15vw,74px);line-height:1.02;margin:21px 0 17px}h1 span{font-style:italic;color:#447e77}h1 em{font-style:normal;color:#ca6b49}.intro-text{line-height:1.65;max-width:700px;font-size:16px;color:#62746e;margin:0}.intro-text strong{color:#214b4b;font-weight:750}.intro-symbol{width:220px;flex:none;display:flex;align-items:center;flex-direction:column;gap:10px}.symbol-circle{position:relative;width:147px;height:147px;border:1px solid #b8c7b8;border-radius:50%;background:radial-gradient(circle at center,#fffdf6 0,#f3f5ec 80%)}.symbol-circle:after,.symbol-circle:before{content:'';position:absolute;width:100%;height:1px;background:#b8c7b8;top:50%;left:0}.symbol-circle:before{transform:rotate(90deg)}.sym-a,.sym-b{position:absolute;height:2px;left:10%;top:50%;width:80%;background:#238a8a;transform:rotate(-37deg);z-index:1}.sym-b{background:#c5913a;transform:rotate(34deg)}.sym-dot{position:absolute;width:15px;height:15px;border:3px solid white;background:#d46d44;left:calc(50% - 7px);top:calc(50% - 7px);border-radius:50%;z-index:2;box-shadow:0 0 0 1px #d46d44}.symbol-caption{font-size:9px;font-weight:850;color:#7c9387;letter-spacing:.16em}
.objectives{border-top:1px solid #dce2d6;border-bottom:1px solid #dce2d6;padding:16px 0;display:grid;grid-template-columns:1.13fr repeat(3,1fr);gap:24px;margin-bottom:28px;align-items:center}.objective-head,.objective-num{font-size:10px;letter-spacing:.15em;font-weight:850;color:#b66b42}.objective{display:flex;gap:10px;align-items:baseline;font-size:12px;line-height:1.45;color:#546963}.objective-num{color:#a5b0a7}
.lab-grid{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(345px,.9fr);align-items:start;gap:23px}.visual-column,.control-column{min-width:0}.canvas-card{background:white;border:1px solid #dce2d9;overflow:hidden;box-shadow:0 13px 35px rgba(20,46,45,.055)}.card-topbar{display:flex;justify-content:space-between;align-items:center;padding:17px 22px;background:#fffdf7;border-bottom:1px solid #e5e6da}.card-topbar>div{display:flex;align-items:center;gap:10px}.live-indicator{width:7px;height:7px;background:#6eb69b;display:inline-block;border-radius:50%;box-shadow:0 0 0 4px #e1f0e9}.topbar-eyebrow,.topbar-hint{letter-spacing:.14em;font-size:10px;font-weight:850;color:#526b65}.topbar-hint{font-size:9px;color:#9ba9a0}.topbar-hint span{color:#c5913a}.canvas-container{position:relative;overflow:hidden;background:#f2f3e8;touch-action:none}.canvas-container svg{display:block;width:100%;height:auto;max-height:600px;user-select:none;touch-action:none}.canvas-edge{pointer-events:none;position:absolute;inset:0;border:11px solid rgba(251,250,242,.24)}.corner-note{position:absolute;top:13px;right:17px;background:#fffefa;color:#6b7771;font-size:9px;font-weight:850;letter-spacing:.09em;padding:7px 10px;opacity:.86;border:1px solid #dfe5d7}.canvas-legend{display:flex;flex-wrap:wrap;gap:18px;padding:17px 20px;background:#fffdf7;border-top:1px solid #e5e6da}.canvas-legend>div{display:flex;align-items:center;gap:7px;font-size:9px;color:#60736e;letter-spacing:.07em;font-weight:850}.legend-blob{width:11px;height:11px;border-radius:2px}.orange{background:var(--orange)}.mint{background:var(--mint)}.blue{background:var(--blue)}.legend-line{width:22px;border-top:2px dashed var(--gold)}
.measurement-band{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));background:var(--dark);margin-top:12px;border:1px solid #204249;min-height:115px}.measurement{padding:20px 18px;border-right:1px solid #315053;display:flex;flex-direction:column;gap:8px;min-width:0}.measurement:last-child{border-right:0}.measurement-label{font-size:9px;letter-spacing:.13em;font-weight:850;color:#9dbcb5}.measurement strong{font-size:27px;letter-spacing:-.03em;font-family:Georgia,'Times New Roman',serif;font-weight:400;color:#f8f1d9;white-space:nowrap}.measurement strong.small-value{font-size:20px}.measurement-caption{font-size:11px;color:#88a9a5}.chart-card{margin-top:13px;background:#fffefa;border:1px solid #e0e6dc;padding:23px}.chart-head,.chart-foot{display:flex;align-items:center;justify-content:space-between;gap:10px}.chart-head h3{font-family:Georgia,serif;font-size:21px;font-weight:400;letter-spacing:-.03em;margin:9px 0 12px}.chart-key,.chart-foot{font-size:9px;font-weight:850;color:#78918a;letter-spacing:.09em}.chart-spot{width:9px;height:9px;display:inline-block;background:var(--orange);border-radius:50%;margin-right:5px}.chart-card canvas{width:100%;height:170px;display:block}.chart-foot{padding-top:7px}
.control-card{background:#f8faf3;border:1px solid #dce2d8;padding:27px 26px 22px}.control-card h2,.challenge-head h2{font-size:37px;margin:12px 0;line-height:1.1}.headline-dot{color:var(--orange)}.control-intro{color:#698077;font-size:12px;line-height:1.6;margin-bottom:23px}.mode-choice{display:grid;grid-template-columns:1fr 1fr;gap:0;background:#e8eee7;padding:4px;border-radius:3px;margin-bottom:27px}.mode-button{background:transparent;border:1px solid transparent;padding:12px 8px;font-size:10px;letter-spacing:.055em;font-weight:850;color:#6e8880}.mode-button span{font-size:14px;margin-left:4px}.mode-button.active{background:#fffdf8;box-shadow:0 2px 5px #16342b19;border:1px solid #d9e0d6;color:#174b4b}.control-group{margin-bottom:23px}.slider-title{display:flex;justify-content:space-between;align-items:center;gap:8px;margin-bottom:12px}.slider-title label{font-size:10px;font-weight:850;color:#465f59;letter-spacing:.1em}.slider-title output{font-family:Georgia,serif;color:#1e5755;font-size:20px}.control-group input[type=range]{width:100%;accent-color:#1b8f8d;display:block;cursor:ew-resize;height:6px}.scale-notes{display:flex;justify-content:space-between;color:#9aa9a0;font-size:10px;margin-top:10px}.transport{display:grid;grid-template-columns:1.3fr 1fr;gap:9px}.play-button,.outline-button{padding:15px 10px;font-size:10px;letter-spacing:.08em;font-weight:850;border-radius:2px}.play-button{background:#173f44;border:1px solid #173f44;color:#fffef6}.play-button:hover,.main-button:hover{background:#285960}.outline-button{border:1px solid #cfdad0;background:#f9faf3;color:#48635d}.outline-button:hover,.light-button:hover{background:#e5ebe1}.divider-line{height:1px;background:#d6dfd6;margin:25px 0 20px}.preset-head{display:flex;justify-content:space-between;gap:8px;font-size:10px;letter-spacing:.1em;font-weight:850;color:#3f5d56;margin-bottom:14px}.micro-label{color:#9aaea2;font-size:9px}.presets{display:grid;grid-template-columns:1fr 1fr;gap:9px}.preset{border:1px solid #d9e1d8;background:#fffef8;text-align:left;min-height:70px;padding:13px 11px;transition:background .15s,border .15s}.preset:hover,.preset.active{background:#e8f1eb;border-color:#84b6a6}.preset strong{display:block;color:#214c4c;font-size:12px;margin-bottom:5px}.preset small{display:block;color:#7a9288;font-size:10px;line-height:1.35}.drag-callout{display:flex;align-items:flex-start;gap:12px;margin-top:22px;background:#eaf2eb;padding:15px;border-left:3px solid #9ac5b7}.drag-icon{font-size:22px;color:#5ba08e}.drag-callout p{color:#617970;font-size:11px;line-height:1.6;margin:0}.drag-callout strong{color:#315950}.theory-card{margin-top:13px;padding:26px 25px;background:#e8efe8;border:1px solid #d7e1d8}.theory-card h3{font-family:Georgia,serif;font-weight:400;letter-spacing:-.04em;font-size:26px;margin:10px 0 18px}.formula{background:#fffdf5;border:1px solid #d9e4da;padding:12px 15px;margin-bottom:9px;display:flex;align-items:center;justify-content:space-between;gap:12px}.formula>span{font-size:9px;letter-spacing:.08em;font-weight:850;color:#879d91}.formula strong{font-family:Georgia,serif;font-weight:400;font-size:19px;color:#305d59;white-space:nowrap}.theory-card p{font-size:12px;line-height:1.7;color:#56726a;margin:16px 0 0}.theory-card .assumption{font-size:11px;color:#7a8e83;border-top:1px solid #cbd8cd;padding-top:13px}
.challenge-section{margin-top:65px;border-top:1px solid #dce2d6;padding-top:36px}.challenge-head{display:flex;justify-content:space-between;gap:20px;align-items:center}.challenge-head h2{font-size:47px;margin:14px 0 7px}.challenge-head p{font-size:13px;color:#7a8a80;margin:0}.score-card{text-align:center;min-width:140px;background:#173d43;padding:18px 20px;color:#f9f3e6}.score-card span{display:block;font-size:9px;letter-spacing:.1em;color:#8dbdb2;font-weight:850}.score-card strong{display:block;font-family:Georgia,serif;font-size:40px;font-weight:400;line-height:1.25}.score-card small{color:#b7cfc6;font-size:11px}.progress-rail{height:5px;background:#e1e7df;margin:25px 0 18px}.progress-rail>div{height:100%;background:#64aa98;transition:width .25s;width:0}.puzzle-card{display:grid;grid-template-columns:128px minmax(0,1fr);background:#fffefa;border:1px solid #e0e4dc;min-height:310px}.puzzle-index{background:#ddebe5;border-right:1px solid #d3e2d9;display:flex;align-items:center;flex-direction:column;padding:26px 10px;color:#587b70}.puzzle-round{font-family:Georgia,serif;font-size:55px;color:#245a56;line-height:1}.puzzle-index>span{font-size:10px;letter-spacing:.16em;margin-top:7px;font-weight:850}.puzzle-ornament{font-size:22px;color:#a1c6b8;text-align:center;line-height:2;margin-top:28px}.puzzle-main{padding:27px 31px}.puzzle-label-row{display:flex;gap:11px;align-items:center}.challenge-pill,.difficulty{font-size:9px;letter-spacing:.14em;font-weight:850;color:#c8784e;background:#f8eee3;padding:8px 11px}.difficulty{color:#658d7d;background:#eaf1eb}.puzzle-main h3{font-family:Georgia,serif;font-size:26px;font-weight:400;letter-spacing:-.025em;line-height:1.4;margin:17px 0 6px;max-width:980px}.challenge-instruction{color:#809187;font-size:11px;line-height:1.5;margin:0 0 20px}.answer-row{max-width:600px}.answer-row label{display:block;color:#62796f;font-size:9px;font-weight:850;letter-spacing:.14em;margin-bottom:9px}.input-wrapper{display:flex;align-items:center;background:#f9fbf4;border:1px solid #cbdad0;padding-right:14px;max-width:405px}.input-wrapper input{border:0;outline:0;min-width:0;flex:1;padding:12px 15px;color:#204f4d;background:transparent}.input-wrapper:focus-within{outline:2px solid #73b9a8}.input-wrapper span{color:#8a9d93;font-size:13px}.answer-row select{padding:12px;width:min(100%,400px);background:#fbfcf8;border:1px solid #cbdad0}.interactive-instruction{padding:12px 15px;background:#e9f1ed;border-left:3px solid #77baa8;font-size:12px;color:#54736a}.challenge-buttons{display:flex;gap:9px;flex-wrap:wrap;margin-top:20px}.main-button,.light-button,.next-button{font-size:10px;font-weight:850;letter-spacing:.08em;padding:13px 17px;border-radius:2px}.main-button{background:#193f45;color:white;border:1px solid #193f45}.main-button span{margin-left:7px}.light-button{color:#4f6b62;background:#f7f9f3;border:1px solid #dce5db}.feedback{padding:13px 15px;margin-top:18px;max-width:850px;font-size:12px;line-height:1.5;background:#e7f3e8;border-left:4px solid #70b68c;color:#365f4c}.feedback.incorrect{background:#fff0e6;color:#924f37;border-left-color:#d7885d}.reveal{margin-top:12px;max-width:850px;padding:15px 16px;background:#f0f4ef;color:#5d746b;font-size:12px;line-height:1.6;border-left:3px solid #a7c9b5}.reveal strong{color:#2b5b54}.puzzle-footer{border-top:1px solid #ebefe9;margin-top:24px;padding-top:18px;display:flex;justify-content:space-between;align-items:center;gap:10px}.text-link{border:0;background:transparent;color:#8c9f95;text-decoration:underline;text-underline-offset:3px;font-size:10px;letter-spacing:.06em;font-weight:800;padding:10px 0}.next-button{border:1px solid #bed4c5;background:#e2efe5;color:#356052}.next-button span{font-size:17px;margin-left:14px}.next-button:hover{background:#d0e5d5}
.real-world{display:flex;gap:28px;align-items:center;margin:42px 0;padding:35px 39px;background:#efeee2;border:1px solid #e3e1d3}.world-symbol{font-size:57px;color:#cb874c}.real-world h2{font-size:29px;margin:9px 0}.real-world p{color:#708079;max-width:710px;font-size:12px;line-height:1.65;margin:0}.world-equation{margin-left:auto;color:#8da49b;font-family:Georgia,serif;font-size:21px;white-space:nowrap}.footer{display:flex;justify-content:space-between;gap:15px;padding:24px 0 30px;border-top:1px solid #dce3d8;color:#91a197;font-size:10px;letter-spacing:.12em;font-weight:750}
/* SVG styling: handles have genuinely large transparent hit areas for fingers. */
#geometry-stage .mirror-line{fill:none;stroke-linecap:round}#geometry-stage .axis-halo{stroke:white;stroke-width:12;opacity:.84}#geometry-stage .axis-teal{stroke:#168e8a;stroke-width:4}#geometry-stage .axis-gold{stroke:#c18b36;stroke-width:4;stroke-dasharray:15 9}#geometry-stage .handle-hit{fill:transparent;stroke:transparent;stroke-width:26;cursor:grab;touch-action:none}#geometry-stage .handle-dot{pointer-events:none;stroke:white;stroke-width:4;filter:url(#soft-shadow)}#geometry-stage .handle-label{pointer-events:none;fill:#315e59;font-weight:850;font-size:12px;letter-spacing:.06em}#geometry-stage .drag-point{cursor:grab}#geometry-stage .drag-point:active,#geometry-stage .handle-hit:active{cursor:grabbing}#geometry-stage .light-guide{stroke:#92b2a7;stroke-width:1.6;stroke-dasharray:4 6;fill:none}#geometry-stage .anchor-label{fill:#264c4e;font-size:14px;font-weight:850;paint-order:stroke;stroke:#f4f5ed;stroke-width:4}
@media(max-width:1160px){.page-shell{padding:0 23px}.lab-grid{grid-template-columns:minmax(0,1.3fr) minmax(310px,.9fr);gap:14px}.control-card{padding:20px 18px}.measurement{padding:16px 12px}.measurement strong{font-size:23px}.measurement strong.small-value{font-size:16px}.objectives{grid-template-columns:1fr 1fr;gap:10px 20px}.objective-head{grid-column:1/-1}.brand-lab{display:none}.world-equation{display:none}}
@media(max-width:850px){.lab-grid{grid-template-columns:1fr}.control-column{display:grid;grid-template-columns:1fr 1fr;gap:14px}.theory-card{margin-top:0}.intro-symbol{width:150px}.symbol-circle{width:115px;height:115px}.control-card h2{font-size:33px}.measurement-band{min-height:100px}.control-card{padding:22px}.theory-card{padding:22px}}
@media(max-width:600px){.page-shell{padding:0 14px}.masthead{height:60px}.brand-row{font-size:12px;gap:6px}.brand-sigil{font-size:23px}.brand-divider,.edition{display:none}.school-tag{font-size:8px;padding:8px}.intro{padding:31px 0;gap:6px}.intro-symbol{display:none}h1{font-size:clamp(42px,10vw,58px)}.intro-text{font-size:13px}.kicker{font-size:9px}.objectives{grid-template-columns:1fr;gap:10px;padding:17px 0;margin-bottom:18px}.objective-head{grid-column:auto}.objective{font-size:11px}.card-topbar{padding:13px}.topbar-eyebrow{font-size:9px}.topbar-hint{display:none}.canvas-container svg{min-height:320px}.canvas-legend{padding:12px;gap:10px}.canvas-legend>div{font-size:8px}.corner-note{font-size:7px;top:7px;right:7px}.measurement-band{grid-template-columns:1fr 1fr}.measurement{border-bottom:1px solid #315053}.measurement:nth-child(2){border-right:0}.measurement:nth-child(3),.measurement:nth-child(4){border-bottom:0}.measurement strong{font-size:25px}.control-column{display:block}.theory-card{margin-top:14px}.challenge-section{margin-top:40px;padding-top:25px}.challenge-head h2{font-size:33px}.challenge-head p{font-size:11px}.score-card{min-width:100px;padding:12px}.score-card strong{font-size:31px}.score-card span{font-size:8px}.puzzle-card{grid-template-columns:1fr}.puzzle-index{padding:11px 15px;flex-direction:row;align-items:center;gap:12px;border-right:0;border-bottom:1px solid #d3e2d9}.puzzle-round{font-size:30px}.puzzle-index>span{margin:0}.puzzle-ornament{display:none}.puzzle-main{padding:22px 16px}.puzzle-main h3{font-size:21px}.challenge-buttons{gap:7px}.main-button,.light-button{padding:11px;font-size:9px}.puzzle-footer{flex-wrap:wrap}.real-world{padding:22px 16px;gap:12px}.world-symbol{font-size:28px}.real-world h2{font-size:24px}.footer{flex-wrap:wrap;font-size:9px}.chart-card{padding:16px}.chart-head h3{font-size:17px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behaviour:auto!important;transition-duration:.001ms!important;animation-duration:.001ms!important}}
