:root{color-scheme:dark;--background:#0a171c;--panel:#11252b;--panel2:#102027;--stroke:#2c4448;--muted:#90aaab;--white:#f5f4e9;--copper:#f8a471;--bright:#ffd2a2;--aqua:#8adbd2;--wash:#153239;font-family:Inter,"Aptos",system-ui,-apple-system,"Segoe UI",sans-serif;font-size:15px}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;color:var(--white);background:radial-gradient(ellipse at 75% 0%,#17343a 0%,#0a171c 52%,#081317 100%);line-height:1.48}button,input{font:inherit}button{cursor:pointer}button:focus-visible,input:focus-visible,canvas:focus-visible,summary:focus-visible,a:focus-visible{outline:3px solid var(--aqua);outline-offset:3px}button:disabled{opacity:.42;cursor:not-allowed}a{color:inherit}.shell{width:min(1520px,calc(100% - 64px));margin:0 auto}.masthead{height:82px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #355057;position:relative}.brand{display:flex;align-items:center;gap:12px;font-size:13px;font-weight:850;letter-spacing:.11em}.brand-glyph{width:37px;height:37px;border:1px solid var(--copper);color:var(--copper);display:grid;place-items:center;font-size:16px;letter-spacing:-.07em;font-family:Georgia,serif}.brand-soft{font-weight:400}.brand-dot{color:var(--copper)}.meta-line{font-size:10px;font-weight:700;letter-spacing:.18em;color:#b9ceca}.meta-dot{width:7px;height:7px;background:var(--copper);display:inline-block;border-radius:50%;margin-right:10px}.meta-divider{padding:0 14px;color:#617d80}.skip-link{position:absolute;left:10px;top:-100px;padding:10px;background:var(--aqua);color:#111;z-index:100}.skip-link:focus{top:12px}.intro{display:flex;justify-content:space-between;align-items:center;gap:25px;padding:48px 0 46px}.overline,.kicker{font-size:10px;font-weight:800;letter-spacing:.23em;color:var(--aqua)}.overline{display:flex;gap:12px;align-items:center;margin:0 0 18px}.overline .line{display:inline-block;width:50px;height:1px;background:var(--aqua);opacity:.5}h1,h2,h3,p{margin-top:0}h1{font:400 clamp(52px,6.5vw,102px)/1.03 Georgia,"Times New Roman",serif;letter-spacing:-.066em;margin:0 0 18px}h1 em{color:var(--copper);font-weight:400}.lead{font-size:16px;max-width:650px;color:#b7cacc;margin:0}.lead strong{color:var(--white);font-weight:600}.hero-stamp{flex:0 0 126px;width:126px;height:126px;border:1px solid #5b5550;border-radius:50%;display:flex;flex-direction:column;align-items:center;justify-content:center;transform:rotate(12deg);color:var(--copper);box-shadow:0 0 0 10px #c57b4b0c}.hero-stamp>span{font-size:10px;letter-spacing:.24em}.hero-stamp strong{font:52px/1.05 Georgia,serif}.hero-stamp strong span{font-size:23px;vertical-align:super}.hero-stamp small{font-size:9px;letter-spacing:.18em}.workshop-grid{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(300px,.83fr);gap:18px}.lab-panel,.controls-panel,.stencil-panel,.graph-panel,.lesson-panel,.challenge-panel{background:linear-gradient(150deg,#132a31 0%,#0e2026 100%);border:1px solid var(--stroke);min-width:0}.lab-panel{padding:26px 26px 17px}.controls-panel{padding:26px}.panel-head{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:18px}.panel-head h2,.challenge-top h2{font:400 clamp(21px,2vw,29px)/1.16 Georgia,serif;letter-spacing:-.025em;margin:6px 0 0}.kicker{display:block}.live-pill{color:#acc8c7;font-size:10px;font-weight:800;letter-spacing:.12em;display:flex;align-items:center;gap:8px;white-space:nowrap}.live-pill i{width:7px;height:7px;display:inline-block;border-radius:50%;background:#74898a}.live-pill i.active{background:#9bffbd;box-shadow:0 0 12px #63edb4}.bath-wrap{height:330px;background:#08191e;position:relative;overflow:hidden;border:1px solid #2c5054}.bath-wrap canvas{width:100%;height:100%;display:block}.bath-overlay{pointer-events:none;position:absolute;left:17px;right:17px;display:flex;justify-content:space-between;align-items:center;gap:10px;font-size:10px;font-weight:800;letter-spacing:.12em;color:#b9d0d0}.bath-overlay.top{top:13px}.bath-overlay.bottom{bottom:12px;font-size:9px}.bath-overlay.bottom span{white-space:nowrap}.orange-dot,.teal-dot{display:inline-block;background:var(--copper);width:8px;height:8px;border-radius:50%;margin-right:6px}.teal-dot{background:var(--aqua)}.readouts{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));padding-top:23px}.metric{padding:0 13px;border-right:1px solid #315052}.metric:first-child{padding-left:0}.metric:last-child{border-right:0}.metric>span{font-size:9px;letter-spacing:.12em;color:#94b7b7;font-weight:800;display:block;min-height:26px}.metric strong{display:block;font-size:clamp(18px,2.25vw,31px);font-weight:500;font-variant-numeric:tabular-nums;white-space:nowrap;letter-spacing:-.055em;line-height:1.1}.metric strong small{font-size:12px;font-weight:600;color:var(--copper);letter-spacing:0}.metric i{display:block;color:#879f9f;font-size:11px;font-style:normal;margin-top:8px}.cell-caption{color:#a0b7b6;font-size:11px;display:flex;gap:9px;align-items:start;margin-top:21px}.circle-info{color:var(--aqua);border:1px solid #5d9092;border-radius:50%;width:16px;height:16px;display:grid;place-items:center;flex:0 0 16px;font-size:10px}.controls-panel .panel-head{margin-bottom:27px}.control-group{margin-bottom:28px}.control-title{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px}.control-title label{font-weight:700;color:#d6e4e0}.control-title output{font:600 23px Georgia,serif;color:var(--copper)}input[type=range]{display:block;accent-color:var(--copper);width:100%;height:12px;cursor:pointer}.range-label{display:flex;justify-content:space-between;color:#8da8a8;font-size:10px;margin-top:4px}.run-buttons{display:flex;gap:10px}.primary-button,.secondary-button{border:1px solid transparent;border-radius:2px;padding:14px 17px;min-height:47px;font-size:12px;font-weight:800;letter-spacing:.035em}.primary-button{color:#271a13;background:var(--copper);display:inline-flex;align-items:center;justify-content:center;gap:10px;transition:background .2s}.primary-button:hover{background:#ffbd8c}.secondary-button{color:#cddcd9;background:#244047;border:1px solid #3d5c61}.secondary-button:hover,.mini-btn:hover{background:#36585e}.run-buttons .primary-button{flex:1}.timing-meta{display:flex;justify-content:space-between;color:#91aaa9;font-size:10px;margin:13px 0 10px}.timing-meta strong{color:#c6dad7;font-weight:600}.divider-line{height:1px;background:#375257;margin:27px 0}.preset-head h3{font-size:13px;letter-spacing:.03em;margin:0 0 4px}.preset-head p{font-size:11px;color:#9bb4b5;margin-bottom:16px}.preset-list{display:grid;gap:8px}.preset{width:100%;border:1px solid #365258;background:#10262c;color:#d6e6e2;display:flex;gap:12px;text-align:left;padding:10px;align-items:center}.preset.active{border-color:var(--copper);background:linear-gradient(95deg,#633d31 0%,#233c3e 90%)}.preset-symbol{display:grid;place-items:center;border:1px solid #557073;width:39px;height:39px;color:var(--copper);font:19px Georgia,serif;flex:0 0 39px}.preset b{display:block;font-size:12px}.preset small{color:#9fbdba;font-size:10px}.preset .preset-arrow{margin-left:auto;color:var(--copper)}.what-if{display:flex;gap:13px;margin-top:22px;padding:15px;border:1px dashed #536866;background:#193238}.what-if-icon{font:27px Georgia,serif;color:var(--aqua);line-height:1}.what-if strong{font-size:12px;color:var(--aqua)}.what-if p{color:#b1c8c5;font-size:11px;margin:5px 0 0}.analysis-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin-top:18px}.stencil-panel,.graph-panel{padding:26px}.stencil-tag,.graph-legend{font-size:10px;font-weight:800;letter-spacing:.14em;color:var(--aqua);white-space:nowrap}.graph-legend{color:#b6c6c4;font-size:9px}.graph-legend i{width:17px;height:2px;display:inline-block;background:var(--copper);vertical-align:middle;margin-right:4px}.section-help{color:#a8bdbd;font-size:12px;max-width:520px;min-height:38px;margin-bottom:16px}.section-help strong{color:var(--white)}.stencil-wrap,.graph-wrap{height:268px;background:#0a1c22;border:1px solid #2c464a;overflow:hidden;position:relative}.stencil-wrap canvas,.graph-wrap canvas{display:block;width:100%;height:100%;touch-action:none}.stencil-wrap canvas{cursor:crosshair}.stencil-toolbar{display:flex;flex-wrap:wrap;gap:7px;margin-top:13px}.mini-btn{border:1px solid #39575b;background:#213940;color:#cde0dc;font-size:11px;font-weight:650;min-height:35px;padding:8px 11px}.geometry-foot{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-top:13px}.geometry-foot span{color:#a4bbba;font-size:10px}.geometry-foot strong{white-space:nowrap;font-size:17px;color:var(--copper);font-variant-numeric:tabular-nums}.geometry-foot small{display:block;text-align:right;letter-spacing:.17em;font-size:8px;color:#aac0be}.graph-footer{display:flex;justify-content:space-between;gap:10px;margin-top:16px}.graph-footer span{font-size:9px;letter-spacing:.12em;color:#9bb2b0;display:block}.graph-footer strong{font-size:20px;font-family:Georgia,serif;font-weight:400;color:#e2ebdf}.learning-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin-top:18px}.lesson-panel,.challenge-panel{padding:30px}.lesson-panel h2{font:400 30px Georgia,serif;letter-spacing:-.03em;margin:8px 0 15px}.paragraph{color:#b7cbca;font-size:13px;line-height:1.7;max-width:680px}.paragraph strong{color:var(--white)}.reaction{border-left:3px solid var(--aqua);padding:12px 16px;background:#153239;margin-top:11px}.reaction.anode{border-color:var(--copper);background:#312b2a}.reaction span{display:block;color:var(--aqua);font-size:10px;letter-spacing:.14em;font-weight:800}.reaction.anode span{color:var(--copper)}.reaction strong{font:400 25px Georgia,serif;display:block;margin:6px 0 4px}.reaction small{color:#b8c8c7}.formula-strip{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-top:19px}.formula-strip>div{border-top:1px solid #3d575b;padding-top:11px}.formula-strip span{color:#9eaeaf;display:block;font-size:9px;font-weight:800;letter-spacing:.09em}.formula-strip strong{font:19px Georgia,serif;color:var(--copper)}details{border-top:1px solid #39545a;border-bottom:1px solid #39545a;margin-top:22px}summary{padding:15px 0;cursor:pointer;font-size:12px;font-weight:750;display:flex;justify-content:space-between;gap:10px}summary::marker{content:""}summary span{color:var(--aqua)}.details-body{color:#abc3c1;font-size:12px;line-height:1.7}.objectives h3{font-size:14px;margin:21px 0 6px}.objectives ol{color:#b1c6c3;font-size:12px;line-height:1.95;padding-left:19px}.challenge-panel{background:radial-gradient(ellipse at 90% 0%,#3d3a33 0%,#1c2b2e 45%,#10252a 90%)}.challenge-top{display:flex;justify-content:space-between;align-items:center;gap:12px}.challenge-top h2{font-size:27px}.question-count{font:25px Georgia,serif;color:var(--copper);white-space:nowrap}.progress-row{display:flex;justify-content:space-between;color:#afc3bf;font-size:10px;font-weight:800;letter-spacing:.08em;margin:25px 0 8px}.progress-track{height:4px;background:#3a5558}.progress-track div{width:0;height:100%;background:var(--copper);transition:width .25s}.challenge-inner{margin-top:36px}.difficulty{display:inline-block;border:1px solid #557976;padding:5px 8px;color:var(--aqua);font-size:9px;letter-spacing:.15em;font-weight:800}.challenge-inner h3{font:400 clamp(20px,2vw,28px)/1.3 Georgia,serif;min-height:93px;max-width:550px;margin:21px 0}.answer-input{border:1px solid #537478;background:#0b1e23;display:flex;align-items:center;gap:10px;max-width:400px}.answer-input input{min-width:0;width:100%;padding:14px 15px;color:var(--white);border:0;background:transparent;outline-offset:2px;font-size:18px}.answer-input span{padding:0 14px;color:var(--copper);font-weight:800;white-space:nowrap}.choices{display:grid;gap:8px}.choice{display:flex;align-items:center;gap:11px;padding:11px;background:#12282e;border:1px solid #35555b;font-size:12px;cursor:pointer}.choice:has(input:checked){background:#254b4c;border-color:var(--aqua)}.choice input{accent-color:var(--aqua);flex:none}.challenge-actions{display:flex;flex-wrap:wrap;align-items:center;gap:13px;margin-top:22px}.text-button{background:none;border:0;color:var(--aqua);font-size:12px;font-weight:750;text-decoration:underline;text-underline-offset:3px}.feedback{margin-top:17px;border-left:3px solid var(--copper);background:#3e352f;color:#ffe0bf;padding:13px 15px;font-size:12px;line-height:1.5}.feedback.correct{background:#183b37;border-color:var(--aqua);color:#d2ffe4}.hint{color:#cbe1d9;border:1px dashed #55777a;padding:10px 12px;font-size:12px;margin-top:14px}.challenge-footer{display:flex;gap:8px;align-items:center;border-top:1px solid #38565b;margin-top:30px;padding-top:17px;flex-wrap:wrap}.next-btn{border:0;background:none;color:var(--copper);font-size:12px;font-weight:800;letter-spacing:.05em;padding:10px 0;margin-left:auto}.next-btn:hover{text-decoration:underline}.site-footer{display:flex;justify-content:space-between;gap:10px;color:#829c9c;font-size:10px;letter-spacing:.13em;margin:30px 0 40px;padding-top:15px;border-top:1px solid #315157}
@media(max-width:1120px){.shell{width:min(100% - 36px,1020px)}.workshop-grid{grid-template-columns:minmax(0,1.35fr) minmax(280px,.85fr)}.readouts{grid-template-columns:repeat(2,1fr);gap:17px 0}.metric:nth-child(2){border-right:none}.metric:nth-child(3){padding-left:0}.bath-wrap{height:300px}.metric strong{font-size:24px}.analysis-grid,.learning-grid{grid-template-columns:1fr 1fr}.stencil-panel,.graph-panel,.lesson-panel,.challenge-panel{padding:20px}.formula-strip{grid-template-columns:1fr 1fr}}
@media(max-width:780px){.masthead{height:66px}.meta-line{font-size:9px}.intro{padding:35px 0 30px}.hero-stamp{width:87px;height:87px;flex-basis:87px}.hero-stamp strong{font-size:35px}.hero-stamp strong span{font-size:14px}.hero-stamp small{font-size:7px}h1{font-size:clamp(48px,9vw,75px)}.workshop-grid,.analysis-grid,.learning-grid{grid-template-columns:1fr}.bath-wrap{height:330px}.analysis-grid,.learning-grid{gap:14px;margin-top:14px}.controls-panel{padding:23px}.readouts{grid-template-columns:repeat(4,1fr);gap:0}.metric:nth-child(2){border-right:1px solid #315052}.metric:nth-child(3){padding-left:13px}.stencil-wrap,.graph-wrap{height:285px}}
@media(max-width:550px){.shell{width:calc(100% - 24px)}.meta-line{font-size:8px;letter-spacing:.07em}.brand{font-size:11px}.brand-glyph{width:31px;height:31px}.intro{gap:5px}.hero-stamp{display:none}.lead{font-size:13px}.overline{font-size:8px;letter-spacing:.12em}.lab-panel,.controls-panel,.stencil-panel,.graph-panel,.lesson-panel,.challenge-panel{padding:16px}.panel-head h2,.challenge-top h2{font-size:23px}.panel-head{align-items:start}.bath-wrap{height:280px}.bath-overlay.top{font-size:8px;left:8px;right:8px}.bath-overlay.bottom{font-size:7px;left:8px;right:8px;letter-spacing:0}.readouts{grid-template-columns:repeat(2,1fr);gap:16px 0}.metric:nth-child(2){border-right:none}.metric:nth-child(3){padding-left:0}.metric strong{font-size:25px}.metric i{font-size:10px}.stencil-wrap,.graph-wrap{height:235px}.stencil-toolbar{gap:5px}.mini-btn{font-size:10px;padding:7px}.challenge-inner h3{min-height:0}.challenge-footer{justify-content:space-between}.next-btn{margin-left:0}.formula-strip{grid-template-columns:1fr 1fr}.site-footer{font-size:8px;flex-direction:column}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation-duration:.01ms!important;transition-duration:.01ms!important;scroll-behavior:auto!important}}
