:root{--ink:#fff9ef;--muted:#e8ded0;--gold:#ffe0a1;--line:rgba(255,244,222,.37);--dark:#352d26;--radius:23px}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:#9e9084;color:var(--ink);font:15px/1.5 'Avenir Next','Segoe UI',Arial,sans-serif}button,a,summary{-webkit-tap-highlight-color:transparent}button,select{font:inherit}button{cursor:pointer;touch-action:manipulation}button:disabled{cursor:default}button:focus-visible,a:focus-visible,summary:focus-visible,select:focus-visible{outline:3px solid #ffe6a9;outline-offset:4px}button[hidden],[hidden]{display:none!important}.ambient{position:fixed;inset:0;z-index:-2;background:url('assets/iris-design-scene-clean.png') center center/cover no-repeat}.ambient:after{content:'';position:absolute;inset:0;background:linear-gradient(120deg,rgba(42,32,26,.08),rgba(42,32,26,.23))}.shell{max-width:1480px;margin:auto;padding:0 42px}.topline{height:66px;display:flex;justify-content:space-between;align-items:center;font-size:11px;font-weight:600;letter-spacing:.14em;color:#42372e}.divider{padding:0 15px;opacity:.5}.text-button{color:inherit;border:0;background:none;letter-spacing:0;font-size:13px;padding:12px 0 12px 12px}.text-button span{margin-left:8px}.hero{position:relative;isolation:isolate;overflow:hidden;height:194px;border:1px solid #fff8;border-radius:24px;display:flex;align-items:center;box-shadow:0 8px 38px #49392d16}.hero-scene{position:absolute;inset:0;z-index:-1;display:flex;pointer-events:none}.hero-scene svg{height:100%;display:block;flex:none}.head-scene{width:222px}.architecture-scene{width:calc(100% - 222px)}.hero-content{margin-left:255px;text-shadow:0 1px 8px #4a3b2c70}.eyebrow{font-size:10px;letter-spacing:.17em;font-weight:650;margin:0 0 8px;text-transform:uppercase}.hero h1{font-size:44px;line-height:1.1;letter-spacing:.06em;font-weight:300;margin:0 0 12px}.hero-content>p:last-child{font-size:13px;letter-spacing:.045em;margin:0}.trial-badge{position:absolute;right:22px;top:22px;border:1px solid #fff6;border-radius:20px;background:#5446374d;padding:7px 12px;font-size:10px;backdrop-filter:blur(12px)}.trial-badge>span{display:inline-block;width:5px;height:5px;border-radius:50%;background:var(--gold);margin-right:6px;box-shadow:0 0 9px #f8d69b}.welcome{display:flex;justify-content:space-between;align-items:end;gap:30px;padding:30px 0 26px;color:#42372e}.welcome .eyebrow{font-size:9px;opacity:.8}.welcome h2{font-size:25px;font-weight:450;line-height:1.2;margin:0}.welcome>p{font-size:12px;margin:0 0 2px;text-align:right;max-width:320px}.workspace{display:grid;grid-template-columns:320px minmax(0,1fr);gap:30px;align-items:start}.glass{border:1px solid var(--line);background:linear-gradient(130deg,rgba(103,86,71,.67),rgba(54,44,35,.78));backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px);border-radius:var(--radius);box-shadow:inset 0 1px 0 #fff3,0 14px 36px #3b2c2525}.sidebar{padding:23px 17px;position:sticky;top:20px}.course-top{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:20px;padding:0 5px}.course-top .eyebrow{margin:0;color:var(--muted);font-size:9px}.count-badge{font-size:10px;border:1px solid #fff3;border-radius:20px;padding:3px 8px;color:var(--muted)}#lesson-nav{display:grid;gap:10px}.lesson-card{position:relative;width:100%;display:grid;grid-template-columns:35px minmax(0,1fr) 12px;align-items:center;gap:11px;text-align:left;border:1px solid #fff2;background:rgba(58,47,38,.28);color:var(--ink);border-radius:14px;padding:17px 12px;transition:background .18s,border-color .18s}.lesson-card:hover{background:#ffffff18;border-color:#fff6}.lesson-card[aria-current='step']{border-color:#f4d39b;background:linear-gradient(120deg,#f2d29d28,#eec17b0c);box-shadow:inset 0 0 22px #f6ce8521,0 0 12px #f5d69e16}.lesson-number{font-size:11px;border:1px solid #fff4;width:33px;height:33px;display:grid;place-items:center;border-radius:50%;color:#f7e8d2}.lesson-card[aria-current='step'] .lesson-number{background:#f5ddb1;color:#514331;border-color:#f5ddb1}.lesson-card.complete .lesson-number{background:#d6e2bb;color:#3e4e2c}.lesson-card b{display:block;font-size:13px;font-weight:550;line-height:1.35}.lesson-card small{font-size:10px;line-height:1.4;display:block;margin-top:4px;color:#e6dac9}.lesson-card .arrow{font-size:16px;opacity:.55}.lesson-card[aria-current='step'] .arrow{opacity:1;color:var(--gold)}.lesson-flag{display:inline-block;font-size:8px;letter-spacing:.1em;margin-bottom:5px;color:#ffe4ae}.progress-box{margin:25px 6px 0;padding-top:20px;border-top:1px solid #fff2}.progress-box>div{display:flex;align-items:center;justify-content:space-between;font-size:11px}.progress-box strong{font-size:12px;font-weight:500;color:var(--gold)}progress{width:100%;height:5px;display:block;margin:11px 0;border:0;border-radius:8px;overflow:hidden;background:#fff2;accent-color:#f1d39e}progress::-webkit-progress-bar{background:#fff2}progress::-webkit-progress-value{background:var(--gold);border-radius:8px}progress::-moz-progress-bar{background:var(--gold)}.progress-box p{font-size:9px;color:var(--muted);margin:0;line-height:1.55}.sidebar-note{font-size:10px;color:var(--muted);margin:21px 6px 0;display:flex;gap:8px}.sidebar-note span{color:var(--gold)}.lesson-area{min-width:0}.lesson-heading{display:flex;justify-content:space-between;align-items:start;gap:20px;margin-bottom:20px;color:#3f332a}.lesson-heading .eyebrow{color:#64513f;font-size:9px}.lesson-heading h2{font-size:29px;line-height:1.18;font-weight:450;letter-spacing:-.025em;margin:0 0 10px}.lesson-heading>div>p:last-child{font-size:12px;max-width:540px;margin:0;color:#564638}.status-pill{font-size:9px;border:1px solid #79665755;padding:5px 10px;border-radius:20px;white-space:nowrap;color:#544331;background:#fff2;margin-top:4px}.status-pill.done{background:#e4eccc;color:#334527}.video-frame{aspect-ratio:16/9;min-height:240px;position:relative;overflow:hidden;background:linear-gradient(135deg,#5c4f43a8,#2e2822e3);border-color:#fff8}.video-frame:before{position:absolute;content:'';width:66%;height:115%;border:1px solid #d9bd8630;border-radius:50%;left:17%;top:-65%;transform:rotate(-28deg);box-shadow:0 0 75px #ffe1ac12;pointer-events:none}.video-frame:after{position:absolute;content:'';width:105%;height:105%;border:1px solid #d9bd861c;border-radius:50%;left:-42%;top:45%;transform:rotate(8deg);pointer-events:none}#video-mount{height:100%;position:relative;z-index:1;display:grid;place-items:center}#video-mount iframe{width:100%;height:100%;position:absolute;inset:0;border:0}.video-placeholder{text-align:center;padding:30px;max-width:560px}.play-orbit{width:67px;height:67px;border:1px solid #f8e1b7aa;border-radius:50%;display:grid;place-items:center;margin:0 auto 21px;color:#ffe1ab;background:#f5d39a0a;box-shadow:0 0 0 10px #e8c89005,0 0 0 11px #e8c89014}.play-orbit svg{width:20px;height:20px;margin-left:4px}.video-placeholder .eyebrow{font-size:9px;color:#ead8bd;letter-spacing:.2em}.video-placeholder h3{font-size:23px;font-weight:400;margin:6px 0 9px}.video-placeholder p{font-size:11px;line-height:1.7;color:#dfd4c4;margin:0 auto;max-width:335px}.video-placeholder .primary-button{margin-top:18px}.pending-chip{display:inline-block;margin-top:22px;border:1px solid #fff3;border-radius:20px;padding:5px 11px;font-size:9px;color:#ecddc6}.video-foot{display:flex;align-items:center;gap:10px;justify-content:space-between;margin-top:11px;min-height:30px}.video-foot p{font-size:10px;color:#514032;margin:0}.viewed-tag{font-size:10px;color:#3b542f;white-space:nowrap}.lesson-navigation{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:16px 0 22px}.primary-button,.secondary-button{border-radius:30px;min-height:43px;padding:11px 20px;font-size:11px;font-weight:550;display:inline-flex;align-items:center;justify-content:center;gap:14px}.primary-button{border:1px solid #ffe6ad;color:#ffeac0;background:linear-gradient(135deg,#5d4931,#362d24);box-shadow:inset 0 0 22px #e1b76f15,0 3px 15px #50402c22}.primary-button:hover{background:linear-gradient(135deg,#705838,#46392a)}.secondary-button{border:1px solid #7d6b5a66;color:#4f3c2d;background:#fff1}.secondary-button:hover{background:#fff3}.secondary-button:disabled{opacity:.35}.lesson-navigation>span{color:#61503e;font-size:10px}.resources{display:grid;gap:12px}details.resource{border:1px solid #fff6;border-radius:16px;background:linear-gradient(135deg,#8a78656b,#5e4e3f7d);backdrop-filter:blur(14px);overflow:hidden}summary{list-style:none;display:flex;justify-content:space-between;align-items:center;gap:15px;padding:17px 20px;cursor:pointer;font-size:12px;min-height:52px}summary::-webkit-details-marker{display:none}summary:after{content:'+';font-size:20px;line-height:1;font-weight:300;color:#ffdfad}details[open]>summary:after{content:'−'}summary small{font-size:9px;color:#e9d8bf;margin-right:auto}.resource-body{padding:0 20px 20px;font-size:12px;color:#f1e6d7}.resource-body>p{margin:0 0 15px;font-size:11px;line-height:1.65}.topic-list{display:grid;grid-template-columns:1fr 1fr;gap:7px 14px;list-style:none;padding:0;margin:0 0 17px}.topic-list li{display:flex;gap:8px;align-items:center;font-size:11px}.topic-list li:before{content:'';width:4px;height:4px;border-radius:50%;background:var(--gold);flex-shrink:0}.resource-note{font-size:10px!important;line-height:1.65;color:#eadbc6;background:#3e302423;border-left:2px solid #e4c89d7d;padding:10px 12px;margin:0!important}.image-pending{display:flex;align-items:center;gap:16px;border:1px dashed #ffe9bf66;border-radius:11px;padding:18px;color:#eee0c9}.image-pending span{font-size:26px;color:#d5bf9e}.image-pending p{font-size:11px;margin:0}.image-pending small{font-size:9px;display:block;color:#e0cdb1;margin-top:3px}.resource-image{display:block;max-height:400px;max-width:100%;margin:auto;border-radius:10px;object-fit:contain}footer{display:flex;justify-content:space-between;gap:15px;border-top:1px solid #6a57442b;color:#584637;padding:23px 0;font-size:9px;margin-top:35px;letter-spacing:.03em}dialog{border:1px solid #eed3a6;border-radius:24px;padding:27px;max-width:510px;width:calc(100% - 30px);color:var(--ink);background:linear-gradient(140deg,#80705e,#44382c);box-shadow:0 30px 100px #20150c44}dialog::backdrop{background:#211a147d;backdrop-filter:blur(6px)}.dialog-head{display:flex;align-items:center;justify-content:space-between}.dialog-head .eyebrow{color:#eed7b2}.icon-button{border:1px solid #fff4;border-radius:50%;width:34px;height:34px;display:grid;place-items:center;font-size:24px;color:#ffebc4;background:#ffffff08}.dialog-head+.h2,dialog h2{font-size:25px;font-weight:400;margin:14px 0 22px}.help-list{font-size:12px;line-height:1.6;color:#eee2d0}.help-list p{margin:0 0 17px}.help-list b{color:#fff6e6;font-weight:600}.toast{position:fixed;bottom:24px;left:50%;transform:translateX(-50%);z-index:20;color:#fff6e8;background:#514232;border:1px solid #e3c291;border-radius:16px;padding:16px 22px;box-shadow:0 10px 45px #30201033;font-size:12px;width:max-content;max-width:calc(100% - 30px)}.skip-link{position:absolute;left:15px;top:-70px;background:#3b3026;color:#fff;padding:12px;z-index:50;border-radius:8px}.skip-link:focus{top:10px}.noscript{background:#352c25;color:white;padding:20px}.diagram-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.diagram-grid figure{margin:0;padding:10px;background:#3d302a2b;border:1px solid #fff2;border-radius:10px}.diagram-grid img{width:100%;height:110px;object-fit:contain}.diagram-grid figcaption{text-align:center;font-size:10px;margin-top:8px}.resource-body .technical-nav{display:flex;gap:6px;flex-wrap:wrap;margin-bottom:16px}.technical-nav button{border:1px solid #ffdfad55;border-radius:20px;background:#ffffff0a;color:#fff4df;padding:8px 12px;font-size:10px}.technical-nav button[aria-pressed=true]{background:#f2d6a9;color:#4a3827}.technical-stage{min-height:120px}.technical-stage h4{font-size:16px;font-weight:450;margin:0 0 12px}.technical-stage p{font-size:11px;line-height:1.7}.technical-stage>img{max-height:350px;max-width:100%;display:block;object-fit:contain;margin:auto}.technical-caption{font-size:10px!important;color:#ecdbbf}.technical-pending{padding:18px;border:1px dashed #fff5;border-radius:10px;color:#ead8ba;font-size:11px}.variable-row{display:flex;gap:8px;flex-wrap:wrap;margin:15px 0}.variable-pill{background:#fff1;border:1px solid #fff3;border-radius:8px;padding:9px 12px;font-size:11px}.technical-stage .diagram-grid{margin-top:15px}
@media(min-width:1500px){.hero{height:220px}.head-scene{width:251px}.architecture-scene{width:calc(100% - 251px)}.hero-content{margin-left:290px}}
@media(max-width:1100px){.shell{padding:0 27px}.workspace{grid-template-columns:270px minmax(0,1fr);gap:22px}.sidebar{padding:20px 12px}.lesson-card{padding:14px 10px;gap:8px}.lesson-card b{font-size:12px}.hero-content{margin-left:237px}.hero h1{font-size:37px}.lesson-heading{gap:10px}.lesson-heading h2{font-size:26px}}
@media(max-width:800px){.shell{padding:0 18px}.topline{height:55px;font-size:9px}.text-button{font-size:11px}.hero{height:160px;border-radius:20px}.head-scene{width:183px}.architecture-scene{width:calc(100% - 183px)}.hero-content{margin-left:195px}.hero h1{font-size:29px}.hero .eyebrow{font-size:8px}.hero-content>p:last-child{font-size:10px;max-width:170px}.trial-badge{right:14px;top:12px;font-size:8px;padding:5px 8px}.welcome{padding:24px 0 20px;gap:15px}.welcome h2{font-size:21px}.welcome>p{font-size:10px;max-width:230px}.workspace{grid-template-columns:1fr;gap:24px}.sidebar{position:static;padding:17px}.course-top{margin-bottom:14px}#lesson-nav{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.lesson-card{padding:13px 11px;grid-template-columns:30px minmax(0,1fr) 10px;min-height:87px}.lesson-number{width:28px;height:28px}.lesson-card b{font-size:12px}.lesson-flag{font-size:7px}.lesson-card small{font-size:9px}.progress-box{margin:17px 4px 0;padding-top:13px}.progress-box>div{font-size:10px}.progress-box p{font-size:9px}.sidebar-note{display:none}.lesson-heading h2{font-size:27px}.lesson-heading>div>p:last-child{font-size:11px}.lesson-heading .eyebrow{font-size:8px}.video-frame{min-height:240px}.video-placeholder h3{font-size:21px}.video-placeholder{padding:23px}.video-placeholder .pending-chip{margin-top:14px}.play-orbit{width:53px;height:53px;margin-bottom:16px}.lesson-navigation{padding-top:15px}.lesson-navigation>span{display:none}.primary-button,.secondary-button{min-height:45px}footer{font-size:8px}.diagram-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:440px){.shell{padding:0 13px}.hero{height:146px;border-radius:17px}.head-scene{width:167px}.architecture-scene{width:calc(100% - 167px)}.hero-content{margin-left:151px;padding-right:10px}.hero h1{font-size:26px;letter-spacing:.015em;line-height:1.06;margin-bottom:9px;max-width:180px}.hero .eyebrow{font-size:7px;letter-spacing:.1em;margin-top:15px}.hero-content>p:last-child{font-size:8px;line-height:1.5;max-width:160px}.trial-badge{font-size:7px;right:10px;top:10px}.welcome{display:block;padding:22px 2px 17px}.welcome .eyebrow{font-size:8px}.welcome h2{font-size:22px}.welcome>p{text-align:left;max-width:300px;margin-top:10px;font-size:11px;line-height:1.5}.sidebar{padding:14px 12px;border-radius:19px}.lesson-card{min-height:94px;padding:11px 9px;gap:7px;grid-template-columns:24px minmax(0,1fr)}.lesson-number{width:24px;height:24px;font-size:9px}.lesson-card .arrow{display:none}.lesson-card b{font-size:11px}.lesson-card small{font-size:9px}.lesson-flag{font-size:6px;letter-spacing:.07em}.progress-box{margin-top:14px}.workspace{gap:23px}.lesson-heading{flex-wrap:wrap;margin-bottom:14px;gap:10px}.lesson-heading h2{font-size:25px}.lesson-heading .status-pill{font-size:8px;margin-top:0;padding:4px 9px}.lesson-heading>div>p:last-child{font-size:11px}.video-frame{min-height:235px;border-radius:18px;aspect-ratio:1.55}.video-placeholder h3{font-size:20px}.video-placeholder p{font-size:10px;max-width:250px}.video-placeholder .eyebrow{font-size:8px}.play-orbit{margin-bottom:15px;width:47px;height:47px}.play-orbit svg{width:16px}.pending-chip{font-size:8px;padding:4px 8px}.video-foot p{font-size:9px}.lesson-navigation{gap:10px}.primary-button,.secondary-button{font-size:10px;padding:11px 15px;gap:10px}summary{padding:16px;font-size:11px}.resource-body{padding:0 16px 17px}.topic-list{grid-template-columns:1fr}.topic-list li{font-size:10px}.resource-note{font-size:9px!important}.resource-body .technical-nav{gap:5px}.technical-nav button{font-size:9px;padding:8px 10px}footer{flex-direction:column;gap:6px;margin-top:25px;padding:20px 2px}.image-pending{padding:15px;gap:12px}.image-pending p{font-size:10px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*{transition:none!important}}
.area-switch{display:flex;align-items:center;gap:7px;border-bottom:1px solid #6a57443a;padding:20px 0 14px;scroll-margin-top:12px}.area-switch button{font-size:12px;font-weight:500;letter-spacing:.015em;color:#fff4df;background:linear-gradient(130deg,#736253,#514337);border:1px solid #dbc5a699;border-radius:24px;padding:11px 20px;min-height:46px;min-width:136px;display:flex;gap:12px;align-items:center;justify-content:center;box-shadow:inset 0 1px 0 #fff4df1a,0 3px 9px #3b2c2529;transition:background .18s,border-color .18s,box-shadow .18s}.area-switch button span{font-size:10px;opacity:.7}.area-switch button[aria-pressed=true]{background:linear-gradient(130deg,#68513c,#42352a);border-color:#ffedcc;color:#fff4df;box-shadow:inset 0 0 16px #ffe6bd24,0 0 0 1px #ffe9c21c,0 0 13px #ffe0a940,0 0 26px #ffe0a914;font-weight:600}.area-switch button:hover:not([aria-pressed=true]){background:linear-gradient(130deg,#7d6a57,#5c4939);border-color:#f3dcbb}.area-switch button:active{box-shadow:inset 0 2px 7px #271a1145}.area-switch button:focus-visible{outline:2px solid #fff4d6;outline-offset:3px;box-shadow:0 0 0 5px #4a382c}.design-area{padding-top:25px}.design-heading{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:20px;color:#433528}.design-heading h2{font-size:27px;font-weight:400;margin:0 0 6px}.design-heading p:last-child{font-size:12px;margin:0}.design-frame{border:1px solid #fff8;border-radius:22px;overflow:hidden;box-shadow:0 10px 40px #4d3c2726}.design-frame iframe{display:block;width:100%;height:900px;height:min(900px,90dvh);min-height:680px;border:0;background:#a79787}.design-disclaimer{font-size:10px;color:#57422f}.design-resource-action{margin-top:18px}
@media(max-width:800px){.area-switch{padding-top:15px}.area-switch button{font-size:11px;padding:10px 17px}.design-heading{align-items:start;flex-direction:column;gap:13px}.design-heading h2{font-size:24px}.design-heading p:last-child{font-size:11px}.design-frame{border-radius:16px}.design-frame iframe{height:820px;min-height:620px;height:calc(100dvh - 75px)}.design-disclaimer{font-size:9px}}
/* Explicit width prevents min-height + aspect-ratio from widening compact phones. */
.video-frame{width:100%;min-width:0}#video-mount{min-width:0}.video-placeholder{width:100%;min-width:0}.video-placeholder h3{overflow-wrap:break-word}
@media(max-width:360px){.hero{height:140px}.head-scene{width:146px}.architecture-scene{width:calc(100% - 146px)}.hero-content{margin-left:136px}.hero h1{font-size:23px}.hero-content>p:last-child{font-size:8px}.hero .eyebrow{font-size:6px;letter-spacing:.07em}.video-placeholder{padding:20px}.primary-button,.secondary-button{padding:10px 13px;font-size:9px}}
.teaching-intro{font-size:11px;margin:0 0 16px;color:#f8e8cd}.technical-nav button{min-height:42px}.division-explanations{grid-template-columns:repeat(2,minmax(0,1fr))}.division-explanations img{height:155px}.division-explanations figcaption{text-align:left;line-height:1.5}.division-explanations figcaption b,.comparison-grid figcaption b{font-weight:600;display:block;font-size:12px;color:#fff4e0;margin-bottom:5px}.division-explanations figcaption span{font-size:11px;color:#e9d9c4;display:block}.spacing-example{margin:25px 0 20px;padding:20px;border:1px solid #f5dbb34d;background:#4434272e;border-radius:15px}.spacing-example h5{font-size:20px;font-weight:450;line-height:1.3;margin:0 0 17px}.spacing-example .eyebrow{font-size:8px;color:#e9d1ab}.comparison-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.comparison-grid figure{min-width:0;margin:0}.comparison-grid svg{display:block;width:100%;height:auto}.comparison-grid figcaption{margin:10px 0 0}.comparison-grid figcaption span{font-size:11px;color:#ecddc7;display:block;line-height:1.6}.diagram-key{display:flex;gap:8px;align-items:start;font-size:9px!important;color:#ead3b0;margin-top:17px!important}.diagram-key>span{display:block;background:#f4d39b;width:18px;height:4px;flex-shrink:0;margin-top:6px}.teaching-distinction{display:grid;grid-template-columns:1fr 1fr;gap:15px;border-top:1px solid #fff2;padding-top:15px;margin-top:17px}.teaching-distinction b,.teaching-distinction span{display:block}.teaching-distinction b{font-size:11px;color:#ffe7be;margin-bottom:5px}.teaching-distinction span{font-size:10px;line-height:1.6;color:#e9d6bb}.example-head{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:20px 0 15px}.example-head>.eyebrow{font-size:8px;margin:0;color:#f2d7ae}.example-badge{font-size:9px;border:1px solid #e2bd7e70;border-radius:15px;padding:4px 9px;color:#ffe3b0}.example-switch{display:flex;flex-wrap:wrap;gap:7px;margin-bottom:15px}.example-switch button{border:1px solid #f1d2a16b;min-height:42px;border-radius:10px;padding:9px 15px;color:#f8e5c8;background:#47392c33;font-size:11px}.example-switch button[aria-pressed=true]{background:#f0d7ad;color:#49372a;border-color:#ffdfad}.hair-examples{gap:16px}.example-photo{background:#47392e33;border:1px solid #fff3;border-radius:12px;overflow:hidden;display:grid;place-items:center}.example-photo svg{height:350px;width:100%}.example-observation{font-size:12px!important;color:#fff0d2;padding:12px 0 0;margin:0 0 12px!important}.fixed-variables{font-size:10px!important;color:#ead6b8;background:#2c22192b;border-radius:8px;padding:10px 12px}.fixed-variables b{font-weight:600}.context-resource{margin-top:24px;border-top:1px solid #fff3}.context-resource summary{padding:16px 0;font-size:11px}.context-grid{display:grid;grid-template-columns:1.5fr 1fr;gap:18px}.context-grid figure{margin:0;min-width:0}.context-grid img{display:block;width:100%;height:220px;object-fit:contain}.context-grid figcaption{font-size:9px;line-height:1.5;color:#e5d1b5;margin:8px 0}.technical-stage{scroll-margin-top:20px}
@media(max-width:600px){.division-explanations img{height:125px}.division-explanations figure{padding:9px}.division-explanations figcaption b,.comparison-grid figcaption b{font-size:11px}.division-explanations figcaption span,.comparison-grid figcaption span{font-size:10px}.spacing-example{padding:15px 12px}.spacing-example h5{font-size:18px}.spacing-example .eyebrow{font-size:7px}.comparison-grid{gap:10px}.example-photo svg{height:270px}.example-head{gap:8px;align-items:start}.example-head>.eyebrow{font-size:7px;max-width:130px}.example-badge{font-size:8px}.example-switch button{font-size:10px;padding:8px 11px}.teaching-distinction{gap:10px}.teaching-distinction span{font-size:9px}.teaching-distinction b{font-size:10px}.context-grid{grid-template-columns:1fr}.context-grid img{height:240px}.context-grid figure:last-child img{height:320px}}
@media(max-width:360px){.division-explanations{grid-template-columns:1fr}.division-explanations img{height:155px}.example-photo svg{height:220px}.comparison-grid figcaption span{font-size:9px}.example-head{display:block}.example-badge{display:inline-block;margin-top:8px}.spacing-example{padding:13px 10px}.teaching-distinction{grid-template-columns:1fr}}
/* Module 3 is one continuous video-to-example surface. Other modules retain their layout. */
.joined-experience{min-width:0;border:1px solid #fff8;border-radius:var(--radius);overflow:hidden;background:linear-gradient(130deg,rgba(103,86,71,.72),rgba(54,44,35,.82));backdrop-filter:blur(18px);box-shadow:inset 0 1px 0 #fff3,0 14px 36px #3b2c2525}
.joined-experience>.video-frame{border:0;border-radius:0;box-shadow:none;background:linear-gradient(135deg,#5c4f4333,#2e282288)}
.visual-continuation{border-top:1px solid #f5d5a350;padding-top:22px}
.visual-continuation-heading{padding:0 24px 0}.visual-continuation-heading .eyebrow{font-size:8px;color:#e4c89d;margin-bottom:8px}.visual-continuation-heading h3{font-size:24px;font-weight:400;letter-spacing:-.02em;margin:0 0 10px}.visual-continuation>.resource-body{padding:0 24px 24px}
.lesson-overview{color:#584535;margin:-3px 0 12px;border-bottom:1px solid #6a57442b}.lesson-overview summary{padding:7px 0;min-height:35px;justify-content:flex-start;gap:12px;font-size:10px}.lesson-overview summary:after{font-size:15px;color:#745b3f}.lesson-overview .resource-body{padding:4px 0 14px;color:#584535}.lesson-overview .resource-note{color:#6b5139;background:#fff2}.lesson-overview .topic-list{margin-bottom:10px}.lesson-overview .topic-list li:before{background:#8b6c43}
.top-actions{display:flex;align-items:center;gap:22px}.language-picker{display:flex;align-items:center;gap:8px;font-size:10px;color:#584535}.language-picker select{font:inherit;color:#4d3c2e;border:1px solid #8e78604d;background:#ffffff36;border-radius:20px;padding:8px 26px 8px 12px;min-height:36px;max-width:145px;cursor:pointer}.language-picker option,.language-picker optgroup{background:#f2e8db;color:#49392a}.language-note{font-size:9px;color:#6b5743;line-height:1.5;margin:10px 0 0;max-width:750px}.design-language-note{font-size:10px;color:#68513b;margin:12px 0 4px}
@media(max-width:600px){.topline{height:auto;min-height:66px;gap:10px;align-items:center}.top-actions{gap:10px}.language-picker>span{display:none}.language-picker select{max-width:110px;padding:7px 18px 7px 9px;font-size:10px}.top-actions>.text-button{font-size:9px}.topline>span{font-size:8px;max-width:92px;line-height:1.6}.language-note{font-size:8px;margin-top:9px}.visual-continuation{padding-top:19px}.visual-continuation-heading{padding:0 16px}.visual-continuation-heading h3{font-size:21px}.visual-continuation>.resource-body{padding:0 16px 20px}.joined-experience{border-radius:18px}.lesson-overview summary{min-height:39px}.lesson-overview .topic-list{grid-template-columns:1fr 1fr}.lesson-overview .topic-list li{font-size:9px}}
@media(max-width:360px){.top-actions{gap:7px}.topline>span{max-width:72px;font-size:7px}.top-actions>.text-button{font-size:8px}.language-picker select{font-size:9px;max-width:98px}.visual-continuation>.resource-body{padding:0 13px 18px}.visual-continuation-heading{padding:0 13px}.lesson-overview .topic-list{grid-template-columns:1fr}}
/* Compact fixed-example gallery. Selection browses examples; it is not a second designer. */
.guide-gallery{margin:18px 0;border:1px solid #ecd4b14d;border-radius:15px;background:#2e241c22;overflow:hidden}.guide-gallery-top{display:flex;justify-content:space-between;gap:12px;align-items:center;padding:15px 17px 8px}.guide-gallery-top .eyebrow{margin:0;font-size:8px;color:#ead0a8}.guide-choice-list{display:flex;flex-wrap:wrap;gap:6px;padding:3px 17px 14px}.guide-choice-list button{min-height:38px;font-size:10px;border:1px solid #eed3aa59;color:#f5e2c7;background:#fff1;padding:8px 12px;border-radius:9px}.guide-choice-list button[aria-pressed=true]{background:#edcf9a;color:#423121;border-color:#ffe5b5}.guide-example-body{display:grid;grid-template-columns:minmax(145px,230px) minmax(0,1fr);gap:20px;padding:0 17px 16px;align-items:start}.guide-photo{margin:0;min-width:0}.guide-photo>svg{height:330px;width:100%;display:block;background:#b5a89b;border:1px solid #fff3;border-radius:11px}.guide-photo figcaption{font-size:10px;text-align:center;color:#f1dfc4;margin-top:8px}.guide-explanation>.eyebrow{font-size:8px;color:#e5c89b;margin:4px 0 10px}.guide-explanation .example-observation{font-size:13px!important;line-height:1.6;padding:0;margin:0 0 17px!important}.guide-legend{display:flex;flex-wrap:wrap;gap:10px 15px;font-size:9px;color:#efddbd;margin:14px 0}.guide-legend>span{display:flex;align-items:center;gap:6px}.guide-legend i{display:block}.start-point,.end-point{width:7px;height:7px;border-radius:50%;background:#e0bf75;border:1px solid #344434}.end-point{background:#c8dfc5}.dashed-line{width:22px;border-top:2px dashed #eecf8b}.guide-disclaimer{font-size:10px!important;color:#ddc8a9;margin:12px 0 15px}.guide-navigation{display:flex;justify-content:space-between;align-items:center;border-top:1px solid #fff2;padding:10px 17px;gap:12px}.guide-navigation>span{font-size:10px;color:#ead4af;text-align:center}.guide-navigation button{min-height:36px;min-width:42px;padding:6px 13px;font-size:16px}
@media(max-width:600px){.guide-example-body{grid-template-columns:minmax(110px,45%) minmax(0,1fr);gap:12px;padding:0 12px 13px}.guide-photo>svg{height:255px}.guide-explanation .example-observation{font-size:11px!important}.guide-explanation .fixed-variables{font-size:9px!important;padding:8px}.guide-legend{font-size:8px;gap:8px}.guide-disclaimer{font-size:9px!important}.guide-gallery-top{padding:13px 12px 7px}.guide-choice-list{padding:3px 12px 13px}.guide-choice-list button{font-size:9px;padding:8px 10px}.guide-gallery-top .eyebrow{font-size:7px}.guide-explanation>.eyebrow{font-size:7px}.guide-navigation{padding:9px 12px}}
@media(max-width:360px){.guide-example-body{grid-template-columns:1fr}.guide-photo{max-width:190px;margin:0 auto;width:100%}.guide-photo>svg{height:250px}.guide-explanation .example-observation{font-size:11px!important}.guide-explanation>.eyebrow{margin-top:4px}.guide-legend{margin:10px 0}.guide-explanation .fixed-variables{margin-bottom:0}}
/* Cranial maps share one neutral image per view, so selections never move the anatomy. */
.cranial-explorer{border:1px solid #d5b88d44;border-radius:15px;overflow:hidden;padding:15px;background:#281f1922}.zone-view-switch{display:flex;gap:7px;flex-wrap:wrap;margin-bottom:15px}.zone-view-switch button,.zone-options button{border:1px solid #d9c0a16b;background:#fff1;color:#f5e5cf;border-radius:9px;min-height:40px;padding:8px 12px;font-size:10px;text-align:left}.zone-view-switch button[aria-pressed=true],.zone-options button[aria-pressed=true]{background:#edce9c;color:#46311e;border-color:#f5d8a8}.zone-layout{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(130px,.85fr);gap:20px;align-items:center}.zone-figure{margin:0;min-width:0}.zone-figure svg{display:block;width:100%;border-radius:11px;border:1px solid #fff2}.zone-figure figcaption{font-size:11px;text-align:center;margin-top:9px;color:#f5ddb5}.zone-controls>.eyebrow{font-size:8px}.zone-options{display:grid;gap:7px}.zone-options button{display:flex;align-items:center;gap:8px}.zone-chip{display:block;width:7px;height:7px;border-radius:50%;background:#c88c4b;border:1px solid #ebbf82}.zone-options button[aria-pressed=true] .zone-chip{background:#74481f;border-color:#74481f}.zone-controls .technical-caption{font-size:9px;margin:15px 0 0}.cranial-explorer>.technical-caption{font-size:9px;margin-bottom:0}
@media(max-width:600px){.cranial-explorer{padding:11px}.zone-layout{grid-template-columns:1fr;gap:15px}.zone-figure{max-width:340px;margin:auto;width:100%}.zone-options{grid-template-columns:repeat(2,minmax(0,1fr))}.zone-options button{font-size:9px;padding:8px}.zone-controls>.eyebrow{font-size:7px}.zone-view-switch button{font-size:9px}}
/* Explicit reversible zigzag comparison and high-contrast navigation. */
.zigzag-mode{display:flex;gap:7px;flex-wrap:wrap;padding:4px 17px 14px}.zigzag-mode button{min-height:42px;padding:9px 15px;border-radius:9px;border:1px solid #e4cfb29c;background:#3c2e23;color:#f9ecd8;font-size:11px}.zigzag-mode button[aria-pressed=true]{background:#f4d7a3;color:#392b20;border-color:#fff0cc;font-weight:650}.guide-navigation button{display:grid;place-items:center;flex:0 0 48px;width:48px;min-width:48px;min-height:44px;padding:8px;background:#f4d7a3;color:#392b20;border:1px solid #fff0cc;box-shadow:0 2px 7px #21150e30}.guide-navigation button:hover{background:#ffe8c0;color:#281b12}.guide-navigation button:active{background:#dfb875}.guide-navigation button svg{display:block;width:23px;height:23px;fill:none;stroke:currentColor;stroke-width:2.4;stroke-linecap:round;stroke-linejoin:round}.guide-navigation>span{min-width:0;overflow-wrap:anywhere}.guide-navigation button:focus-visible{outline:3px solid #fff2c8;outline-offset:3px}
@media(max-width:600px){.zigzag-mode{padding:3px 12px 13px}.zigzag-mode button{font-size:10px;padding:8px 12px}}
/* The skull assets are transparent; the backdrop comes from the panel itself. */
.zone-figure svg{background:linear-gradient(140deg,rgba(235,225,211,.64),rgba(176,155,132,.35)),url('assets/iris-design-scene-clean.png') center/cover;border:1px solid #fff9;box-shadow:inset 0 1px 0 #fff9,0 5px 18px #34251b24}
/* Universal division and distance imagery; all labels remain translatable HTML. */
.division-explanations img{height:230px;width:100%;object-fit:contain;border-radius:10px;background:linear-gradient(140deg,rgba(235,225,211,.64),rgba(176,155,132,.35)),url('assets/iris-design-scene-clean.png') center/cover;border:1px solid #fff5}.distance-options{display:flex;flex-wrap:wrap;gap:7px;margin:0 0 15px}.distance-options button{min-height:42px;padding:8px 16px;border:1px solid #e0c5a175;background:#3c2e2350;color:#f4e3ca;border-radius:9px;font-size:11px}.distance-options button[aria-pressed=true]{background:#f4d7a3;color:#392b20;border-color:#fff0cc}.distance-layout{display:grid;grid-template-columns:minmax(160px,250px) minmax(0,1fr);gap:20px;align-items:center}.distance-figure{margin:0;min-width:0}.distance-figure img{display:block;width:100%;height:auto;border:1px solid #fff8;border-radius:12px;background:linear-gradient(140deg,rgba(235,225,211,.64),rgba(176,155,132,.35)),url('assets/iris-design-scene-clean.png') center/cover}.distance-figure figcaption{font-size:11px;color:#f5dfb7;text-align:center;margin-top:8px}.distance-description{font-size:13px!important;color:#fff0d6}.distance-layout .eyebrow{font-size:8px}.distance-layout .technical-caption{font-size:10px}.distance-tendency{font-size:11px!important;color:#f4e0c0}
@media(max-width:600px){.division-explanations img{height:150px}.distance-layout{grid-template-columns:minmax(105px,46%) minmax(0,1fr);gap:12px}.distance-description{font-size:11px!important}.distance-layout .technical-caption{font-size:9px}.distance-options button{font-size:10px}.distance-tendency{font-size:10px!important}}
@media(max-width:360px){.division-explanations img{height:220px}.distance-layout{grid-template-columns:1fr}.distance-figure{max-width:220px;margin:auto;width:100%}}

/* Revision 10: retain the approved warm scene and make the technical choices visibly tappable. */
:root{color-scheme:only light}
html{background:#9e9084}
body{position:relative;isolation:isolate;min-height:100vh;background:#9e9084}
.ambient{z-index:0;pointer-events:none;background-color:#9e9084}
.shell{position:relative;z-index:1}
/* Local review: the six technical controls echo the platform's warm glass cards. */
.technical-nav button{min-height:44px;padding:10px 16px;border:1px solid #e8d2ad80;border-radius:12px;background:rgba(58,47,38,.42);color:#fff4df;font-family:inherit;font-size:11px;font-weight:450;letter-spacing:.025em;line-height:1.3;box-shadow:inset 0 1px 0 #fff4df0d,0 2px 8px #26170b14;transition:background .18s,border-color .18s,box-shadow .18s}
.technical-nav button:hover{background:rgba(104,84,63,.58);border-color:#f4d39bc4;box-shadow:inset 0 1px 0 #fff4df18,0 2px 10px #26170b1a}
.technical-nav button[aria-pressed=true]{background:linear-gradient(120deg,#f2d29d28,#eec17b0c);color:#fff4df;border-color:#ffedcc;box-shadow:inset 0 0 16px #ffe6bd24,0 0 0 1px #ffe9c21c,0 0 13px #ffe0a940,0 0 26px #ffe0a914;font-weight:550}
.technical-nav button:focus-visible{outline:3px solid #fff4d6;outline-offset:4px}
.technical-nav button:active{background:rgba(126,98,65,.48);box-shadow:inset 0 1px 5px #35271933}
@media(max-width:600px){.resource-body .technical-nav{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}.technical-nav button{width:100%;padding:10px 12px;text-align:left}}
@media(prefers-reduced-motion:reduce){.technical-nav button{transition:none}}

@media(prefers-reduced-motion:reduce){.area-switch button{transition:none}}

/* Three open areas. Retain the approved warm controls and visual language. */
.three-area-switch{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}
.three-area-switch button{width:100%;min-width:0;min-height:50px;line-height:1.3}
.three-area-switch button span{flex:none}
.journey-note{font-size:10px;line-height:1.6;color:#574534;margin:12px 0 0}
.method-area{padding-top:25px}
.method-heading{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:20px;color:#433528}
.method-heading h2{font-size:27px;font-weight:400;margin:0 0 6px}
.method-heading p:last-child{font-size:12px;margin:0;max-width:600px}
.method-panel{min-width:0;padding:24px 24px 4px}
.method-panel>.resource-body{padding:0 0 20px}
.method-panel .technical-nav{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-bottom:24px}
.method-panel .technical-nav button{text-align:center}
.lesson-reference{padding:22px}
.lesson-reference h3{font-size:20px;font-weight:450;margin:0 0 10px}
.lesson-reference>p:not(.eyebrow){font-size:11px;line-height:1.7;margin:0 0 16px;color:var(--muted)}
.lesson-reference>.reference-note{font-size:9px!important;margin:12px 0 0!important}
@media(max-width:800px){.method-heading{align-items:start;flex-direction:column;gap:13px}.method-heading h2{font-size:24px}.method-heading p:last-child{font-size:11px}.method-panel{padding:20px 18px 2px}}
@media(max-width:600px){.method-panel .technical-nav{grid-template-columns:repeat(2,minmax(0,1fr))}.method-panel .technical-nav button{text-align:left}.three-area-switch{gap:7px}.three-area-switch button{padding:10px 9px;gap:6px;min-height:56px;font-size:10px}.three-area-switch button span{font-size:8px}.journey-note{font-size:9px}.method-panel{padding:18px 16px 2px}.lesson-reference{padding:18px}}
