/* Low-chroma sea-glass palette; experiment images retain original colors. */
:root{--ink:#494d4c;--muted:#6d7171;--paper:#f7f8f8;--line:#d7dad9;--pink:#8c9694;--blue:#878f8e;--lavender:#ecefee;--frame:#acb0af;--rose-wash:#edf0ef}
body{background:var(--paper);color:var(--ink)}
::selection{background:#d5dad9;color:#494d4c}
.reading-progress{height:2px;background:linear-gradient(90deg,#9a9f9f,#a4adab)}
.topbar{position:sticky;top:0;height:78px;max-width:none;padding-inline:max(5%,calc((100% - 1150px)/2));background:#f7f8f8f2;backdrop-filter:blur(16px);border-color:var(--line);z-index:20}
.brand{color:#5f6564;font-size:15px}.brand small{font-size:8px;color:#7b7f7e}
.monogram{color:#7c8180;border-color:#c1c5c4;font-style:italic}
.topbar nav{gap:24px}.topbar nav a{color:#6d7171;font-size:12px;transition:color .2s}
.topbar nav a:hover,.topbar nav a[aria-current]{color:#777f7d}
.topbar nav a[aria-current]:after{width:100%;background:#979f9e}
.effect-toggle{font-size:11px;color:#777b7a}
.editorial-hero{position:relative;isolation:isolate;max-width:1290px;padding:24px 70px 32px;background:radial-gradient(ellipse at 7% 36%,#e7eae980,transparent 60%),radial-gradient(ellipse at 94% 14%,#e8ebea80,transparent 55%)}
.editorial-hero:before,.editorial-hero:after{content:'';position:absolute;pointer-events:none;z-index:-1;border:1px solid #c1c4c370;box-shadow:inset 0 0 0 4px #f7f8f8,inset 0 0 0 5px #d0d3d260;transform:rotate(19deg)}
.editorial-hero:before{width:85px;height:115px;right:18px;top:105px}
.editorial-hero:after{width:34px;height:46px;left:18px;top:195px;transform:rotate(-24deg);border-color:#b5bcbb70}
.issue-line{font-size:10px;color:#787c7b;letter-spacing:1.4px;padding-bottom:18px;border-bottom:1px solid #d4d7d6}
.editorial-heading{grid-template-columns:1.35fr 1fr .65fr;gap:32px;padding:36px 0 32px;align-items:center}
.large-english{font-family:Georgia,'Times New Roman',serif;font-size:clamp(58px,5.5vw,78px);font-weight:400;letter-spacing:-4px;line-height:1.03;color:#6f7574}
.large-english i{font-size:.7em;color:#8e9694;letter-spacing:-3px}
.editorial-heading h1{font-size:18px;color:#5b6160;letter-spacing:1px;margin-top:20px;line-height:1.8}
.hero-abstract{font-size:13px;line-height:1.95;border:0;padding:0;max-width:290px;color:var(--muted);justify-self:start}
.hero-abstract b{color:#585e5e}.note-label{color:#767e7d;font-size:10px;letter-spacing:3px}
.hero-abstract a{color:#6d7372;border-color:#afb3b3;margin-top:19px;font-size:12px}.hero-abstract a span{color:#838c8a;transition:transform .2s}.hero-abstract a:hover span{transform:translate(2px,2px)}
.reference-portrait{margin:0;position:relative;align-self:center;transform:rotate(3deg);padding:7px;border:1px solid #abafae;background:#f6f7f6;box-shadow:0 0 0 4px #f7f8f8,0 0 0 5px #d7d9d9,8px 12px 0 #e5e8e755}
.reference-portrait img{display:block;width:100%;height:205px;object-fit:cover;object-position:50% 33%}
.reference-portrait figcaption{font-size:9px;color:#777b7b;padding-top:8px;line-height:1.7}.reference-portrait figcaption span{display:block;font-size:7px;letter-spacing:1.5px;color:#848887}
.hero-film{background:#d2d6d5;border:1px solid #b3b7b6;padding:6px;gap:6px;grid-template-columns:34px repeat(3,1fr);position:relative;box-shadow:0 0 0 4px var(--paper),0 0 0 5px #dde0df}
.film-side{background:transparent;justify-content:space-between;padding:7px 2px}.film-side>span{color:#787e7d;font-size:16px}.film-side small{color:#696d6d}
.hero-film figure{border:1px solid #c4c7c6}.hero-film img{max-height:270px}.hero-film figcaption{background:#f7f8f7;color:#5c6261;padding:10px 12px;font-size:11px}.hero-film figcaption b{color:#87918f;font-size:15px}.hero-film figcaption span{color:#777b7a;font-size:9px}
.hero-foot{color:#777b7a;font-size:10px;padding:19px 0 0 46px}.hero-foot a{color:#6c7372}
.section{max-width:1250px;padding-top:76px;padding-bottom:76px}
.section-label{color:#717776;letter-spacing:1.7px;margin-bottom:22px;font-size:11px}.section-label:before{width:7px;height:7px;background:#bcc2c1;transform:rotate(45deg)}
.section h2{color:#535958;font-size:29px;letter-spacing:.5px;line-height:1.65}.section-heading>p,.section-heading>div>p{color:#6d7171;font-size:13px}
.question{margin-top:24px;border-color:#d8dada}.question-grid>div>p{font-size:14px;color:#686c6c;line-height:2}.question-grid strong{color:#565c5b}
.quote{background:#ebedec;color:#6a706f;border-left:2px solid #9ea5a4;transform:none;padding:18px 24px;font-size:17px}.quote small{color:#777e7d}
.opening-compare>div{padding:5px;border:1px solid #c6cac9;background:#f0f1f0}.opening-compare span:not(.compare-arrow){color:#5f6363;border:none;padding:10px 7px 4px}.opening-compare small{color:#787c7b;font-size:10px}.opening-compare>p{color:#777b7a!important;font-size:11px!important}
.derivation{border-color:#d8dada;position:relative}.derivation .section-heading{margin-bottom:20px}.math-help-hint{color:#6c7271;font-size:12px;padding-left:14px;border-left:2px solid #aaafaf;margin:0 0 22px}
.derivation-intro{padding:18px 22px;background:#eff1f0;border:0;color:#656b6a;font-size:13px;gap:18px}.derivation-intro b{color:#959b9a}.derivation-intro small{color:#777b7a;font-size:11px}
.derive-step{background:#fcfdfd;border:1px solid #c9cdcc;border-radius:0;margin:34px 0;padding:30px 40px 26px;box-shadow:inset 0 0 0 5px #f6f7f6;transition:border-color .2s,box-shadow .2s}
.derive-step:before{content:'';position:absolute;top:-1px;left:-1px;width:34px;height:34px;border-left:2px solid #a6abaa;border-top:2px solid #a6abaa;pointer-events:none}
.derive-step:hover{border-color:#a9adad;box-shadow:inset 0 0 0 5px #f3f4f3}.derive-step:not(:last-of-type):after{color:#9da2a1;bottom:-30px;font-size:20px}
.derive-index{color:#909695;font-size:19px;left:22px;top:26px}.derive-index small{color:#7f8786;font-size:9px}
.derive-main h3{color:#5a5f5f;font-size:18px;margin-bottom:16px;font-weight:500}.derive-main>p:first-of-type{font-size:13px;color:#6f7372;line-height:1.9}
.equation{color:#606665;padding-block:20px}.equation math{font-size:25px}.equation>span{color:#8a8e8e;font-size:12px}
.derive-main p.derive-definition{font-size:12px;color:#6e7271;border-color:#dee0e0;padding-top:18px;line-height:1.95}.derive-definition b{color:#6a706f;font-weight:600}
.derive-step:nth-of-type(4){background:#eff2f1;border-color:#bcc2c1;box-shadow:inset 0 0 0 5px #f5f6f5}.derive-step:nth-of-type(4) .equation{color:#5f6665}
.derive-step:nth-of-type(5){background:#f1f2f2;border-color:#c3c8c7;box-shadow:inset 0 0 0 5px #f7f8f8}.derive-step:nth-of-type(5):before{border-color:#9fa7a5}.result-equation{border-color:#d3d6d5}
.calibration-aside{border-color:#a0a6a5;background:#eff1f0;padding:18px 22px;color:#6b7170;max-width:none;font-size:12px}.calibration-aside p{color:#6d7170;margin-bottom:0}
.math-term{text-decoration-color:#aab0af}.math-term:hover,.math-term.math-active,.math-term:focus-visible{color:#67716f;background:#dee2e1;outline-color:#9fa5a4}
.math-tooltip{background:#fcfcfc;border-color:#b7bcbb;border-top-color:#979f9d;border-radius:3px;box-shadow:0 10px 28px #585e5d23;color:#585c5c;font-size:13px;padding:18px 20px}.math-tooltip strong{color:#6b7372;font-size:14px}
.lab-section{background:linear-gradient(110deg,#eceeed,#ecefee 75%,#f0f2f1);border-color:#d1d5d4}.lab-inner h2{color:#5a5f5f}
.version-switch{border-color:#b7bcbb}.version-switch button{color:#757979;font-size:12px}.version-switch button.active{color:#5f6564;border-color:#909a98;background:#dadedd5c}
.frame-grid{gap:8px;background:transparent;border:0}.frame-grid figure{outline:1px solid #b7bcbb;outline-offset:3px;margin:4px}.frame-top,.frame-grid figcaption{background:#f5f6f5;color:#666a6a}.frame-top span{color:#828c8a}.frame-top i{color:#7a7e7d}.frame-grid figcaption{font-size:11px}
.play-button{background:#f9faf9;border-color:#b1b7b6;color:#6b7271;width:42px;height:42px}.play-button:hover{background:#e3e4e4}.angle-track input{background:linear-gradient(90deg,#a7adac,#b6bbbb,#a6afad);height:4px}.angle-track input::-webkit-slider-thumb{background:#818887;box-shadow:0 0 0 1px #929898}.angle-track>div{font-size:10px;color:#6e7372}.playback output{color:#6c7271}.lab-foot{font-size:11px;color:#6d7170}.calibration-note{font-size:11px;color:#6e7473;border-color:#ced2d2;padding-top:19px}
.layer-view{top:105px}.layer-label{border-color:#b7bcbb;color:#656b6a;font-size:10px}.layer-label span{color:#7c8684}.layer-view>img{padding:5px;border:1px solid #b9bdbc;background:#ecefee}.layer-tabs{border-color:#c2c6c6;gap:4px}.layer-tabs button{color:#727675;font-size:12px}.layer-tabs button.active{color:#686e6d;border-color:#98a19f;background:#e9eaea}.layer-view p{font-size:12px;color:#707473;line-height:1.9}
.composition-text>p{font-size:14px;line-height:2}.render-flow{border-radius:0;border-color:#c4c8c7;padding:20px;background:#fcfcfc;box-shadow:inset 0 0 0 5px #eff1f0}.flow-step{padding:16px 12px}.flow-step h3{color:#5b6160;font-size:15px}.flow-step p{font-size:12px;color:#727675}.flow-formula{color:#5f6564}.flow-formula math{font-size:22px}.flow-step.emphasized{background:#eff2f1;border-color:#c6cccb;border-radius:0}.flow-step.emphasized math{color:#666d6c}.flow-step:nth-of-type(3){background:#f1f2f2;border-color:#ccd0d0;border-radius:0}.flow-arrow{color:#969c9b}.footnote{color:#757978!important;font-size:11px!important}
.experiment-tabs{border-color:#ccd0d0}.experiment-tabs button{color:#727675;font-size:13px}.experiment-tabs button.active{color:#69706f;border-color:#8c9794}.experiment-copy h3{color:#585d5c}.experiment-copy>p{color:#6b6f6e}.pill{color:#797f7e}.experiment-result{border-color:#cdd1d0;color:#6f7271}.experiment-result strong{color:#707776}.experiment-result small{color:#777b7a;font-size:10px}.wipe{border:5px solid #eff1f0;outline:1px solid #b7bcbb}.wipe-line span{background:#eff2f1;color:#707675}
.visual-notes{border-color:#d1d4d3}.visual-notes p{color:#6d7271}.visual-notes small{color:#757978}.visual-notes>div:nth-child(2)>span{color:#7e8684}.reference-crops img{border:4px solid #eff1f0;outline:1px solid #c4c8c8;filter:saturate(.65)}.swatches i{background:#a9afae}.swatches i:nth-child(2){background:#b4bbba}.swatches i:nth-child(3){background:#c0c5c4}.swatches i:nth-child(4){background:#edefee}
.metrics,.metrics article{border-color:#cfd3d2}.metrics small,.metrics em{color:#717574}.metrics p{color:#717776}.metrics p span{color:#8e9695}.metrics p i{color:#9ea4a3}.limits p{color:#6d7170}.limits b{color:#6a706f}.limits details{color:#6c7170;border-color:#ced2d1}
.download-card{background:#ebedec;border:1px solid #c2c6c6;box-shadow:inset 0 0 0 5px #f3f5f4;padding:30px}.download-card h3{color:#5f6463}.download-card p,.data-links{color:#6d7171}.download-card>small:first-of-type,.download-card>small:last-child{color:#797f7e}.download-card .button,.button{background:#7b807f;border-color:#7b807f;color:#ffffff;box-shadow:none}.download-card .button:hover,.button:hover{background:#696f6e}
footer{background:#ebedec;border-color:#ced2d1}footer p,footer p small,.back-top{color:#727776}
#petals{opacity:.45}
@media(min-width:1500px){.editorial-hero{padding-inline:70px}}
@media(max-width:1050px){.topbar{padding-inline:30px}.topbar nav{gap:17px}.editorial-hero{padding-inline:40px}.editorial-heading{grid-template-columns:1.25fr 1fr .6fr;gap:25px}.large-english{font-size:60px}.reference-portrait img{height:180px}.hero-abstract{font-size:12px}.hero-film figcaption span{display:block;float:none}.section{padding-inline:35px}.equation math{font-size:22px}.flow-formula math{font-size:20px}.derive-main p.derive-definition{font-size:12px}}
@media(max-width:760px){html{scroll-padding-top:128px}.topbar{height:auto;min-height:92px;padding:14px 22px 0;display:grid;grid-template-columns:1fr auto;gap:12px}.topbar .brand{font-size:12px}.topbar nav{grid-row:2;grid-column:1/-1;display:flex;gap:22px;overflow-x:auto;white-space:nowrap;padding:0 0 12px;scrollbar-width:none}.topbar nav a{font-size:11px}.topbar nav a:after{bottom:-6px}.effect-toggle{grid-row:1;grid-column:2}.editorial-hero{padding:22px 24px 28px}.editorial-hero:before{right:9px;top:125px;width:55px;height:85px}.editorial-hero:after{display:none}.issue-line{font-size:8px;letter-spacing:.4px;padding-bottom:14px}.issue-line span:last-child{display:none}.editorial-heading{grid-template-columns:1fr 110px;gap:25px 18px;padding:29px 0}.editorial-heading>div:first-child{grid-column:1;grid-row:1}.large-english{font-size:49px;letter-spacing:-3px}.editorial-heading h1{font-size:14px;letter-spacing:0;margin-top:17px}.reference-portrait{grid-row:1;grid-column:2;padding:4px;transform:rotate(3deg)}.reference-portrait img{height:147px}.reference-portrait figcaption{font-size:8px;padding-top:5px}.reference-portrait figcaption span{font-size:6px}.hero-abstract{grid-row:2;grid-column:1/-1;max-width:none;display:block;font-size:13px}.hero-abstract p{margin:8px 0}.hero-abstract a{max-width:190px;margin-top:12px}.hero-film{grid-template-columns:repeat(3,1fr);gap:4px;padding:4px}.hero-film img{max-height:none}.hero-film figcaption{font-size:9px;padding:7px 4px}.hero-film figcaption b{font-size:11px;margin-right:3px}.hero-film figcaption span{font-size:8px}.hero-foot{padding-left:0;font-size:9px;gap:8px}.section{padding:48px 24px}.section h2{font-size:24px}.section-label{font-size:10px}.section-heading>p{font-size:12px;margin-top:12px}.derive-step{padding:26px 15px 22px;box-shadow:inset 0 0 0 3px #f6f7f6}.derive-index{left:12px;top:24px;font-size:15px}.derive-index small{font-size:8px}.derive-main h3{font-size:15px;margin:0 16px 15px 32px}.derive-main>p:first-of-type{font-size:12px}.derive-main p.derive-definition{font-size:12px}.equation{padding:17px 0}.equation math{font-size:19px}.equation>span{font-size:10px}.derivation-intro{font-size:11px;padding:15px;gap:10px}.math-help-hint{font-size:11px}.calibration-aside{font-size:12px}.frame-grid{gap:5px}.frame-grid figure{margin:2px;outline-offset:1px}.frame-top{font-size:9px;padding:9px 5px}.frame-top span{display:none}.frame-grid figcaption{font-size:9px;line-height:1.8}.version-switch button{font-size:11px}.lab-foot{font-size:10px}.layer-view{position:static}.layer-tabs button{font-size:11px;padding:8px 11px}.composition-text>p{font-size:13px}.render-flow{padding:12px}.flow-step h3{font-size:14px}.flow-formula math{font-size:18px}.flow-step p{font-size:11px}.experiment-tabs{gap:20px}.experiment-tabs button{font-size:11px}.visual-notes{margin-inline:24px}.visual-notes p{font-size:17px}.metrics p{font-size:30px}.download-card{padding:25px}.reference-crops img{width:50px}footer{padding-inline:24px}}
@media(prefers-reduced-motion:reduce){.derive-step,.hero-abstract a span{transition:none}}
/* One continuous paper surface, with navigation and chapter washes flowing into it. */
body{background:radial-gradient(ellipse at 5% 0,#e9eaea 0,transparent 650px),radial-gradient(ellipse at 96% 6%,#edf0ef 0,transparent 800px),var(--paper)}
.topbar{background:linear-gradient(100deg,#eff2f1ed,#f7f8f7ed 52%,#eff2f1ed);border-bottom:0;box-shadow:none;transition:box-shadow .25s}
.topbar.is-scrolled{box-shadow:0 6px 20px #60666510}
.topbar:not(.is-scrolled){background:transparent;backdrop-filter:none}
.topbar .monogram{border:0;padding-right:7px;font-size:30px;letter-spacing:-3px;color:#858b8a}.topbar .brand{gap:9px}
.topbar nav a{padding:8px 0}.topbar nav a:after{bottom:1px;height:1px}.topbar nav a[aria-current]:before{content:'';position:absolute;width:4px;height:4px;background:#a3aaa9;transform:rotate(45deg);left:-11px;top:17px}
.effect-toggle{border:1px solid #c5c9c980;border-radius:20px;padding:5px 11px;background:#fafbfa60}
.editorial-hero{background:none}.issue-line{border-bottom:0;padding-top:5px}.hero-foot{padding-top:22px}
.question,.derivation{border-top:0;margin-top:0}
.section-label{gap:13px}.section-label:after{content:'';flex:1;max-width:140px;height:1px;background:linear-gradient(90deg,#c0c4c3,transparent);margin-left:4px}
.question{padding-top:82px;padding-bottom:62px}.derivation{padding-top:38px;padding-bottom:56px}
.lab-section{border:0;background:linear-gradient(180deg,var(--paper) 0%,#ecefee9c 15%,#ebedecb8 60%,#eff1f0a6 83%,var(--paper) 100%);padding-block:24px}
.lab-inner{padding-top:50px;padding-bottom:65px}
.light-section{padding-top:40px;padding-bottom:65px}
.experiments{padding-top:34px;padding-bottom:65px}
.visual-notes{border:0;padding-block:35px;background:linear-gradient(90deg,transparent,#eaecec59 25%,#eaecec59 75%,transparent)}
.archive{padding-top:65px}
.composition-grid>*{min-width:0}.flow-formula{max-width:100%}
footer{max-width:none;background:linear-gradient(180deg,var(--paper),#eaecec);border:0;padding-top:55px}
@media(max-width:760px){.topbar .monogram{font-size:25px}.topbar nav a{padding:0}.topbar nav a:after{bottom:-6px}.topbar nav a[aria-current]:before{display:none}.topbar nav{gap:21px}.effect-toggle{font-size:10px}.question{padding-top:55px;padding-bottom:40px}.derivation{padding-top:25px;padding-bottom:35px}.lab-section{padding-block:15px}.lab-inner{padding-block:35px}.light-section{padding-top:28px}.experiments{padding-top:20px}.archive{padding-top:40px}.section-label:after{max-width:85px}}
/* Open, borderless layout. Space and a faint wash carry the chapter structure. */
/* Borderless sea-breeze finish */
:root{--paper:#f9faf8;--ink:#4a5653;--muted:#6d7976;--pink:#a4977f;--blue:#7e9894;--line:#e4e9e5;--lavender:#f0f3f0}
body{background:radial-gradient(ellipse at 8% 0,#e6edea 0,transparent 680px),radial-gradient(ellipse at 95% 5%,#f3f0e8 0,transparent 760px),var(--paper);color:var(--ink)}
::selection{background:#dde8e3;color:#3b4c48}
.topbar,.topbar.is-scrolled{background:linear-gradient(100deg,#f1f5f1ee,#f9faf8ee 65%,#f7f5eeee);box-shadow:none;border:0}
.topbar:not(.is-scrolled){background:transparent}
.topbar .brand,.editorial-heading h1,.section h2{color:#546662}.topbar .monogram{color:#80948d}
.topbar nav a{color:#6d7c76}.topbar nav a:hover,.topbar nav a[aria-current]{color:#4c716a}
.topbar nav a:after{display:none}.topbar nav a[aria-current]:before{background:#b0aa8e;border-radius:50%;transform:none}
.effect-toggle{border:0;background:transparent;color:#818a7d;padding:5px 0}.reading-progress{background:linear-gradient(90deg,#9cb6af,#c6bc9f)}
.editorial-hero:before,.editorial-hero:after{display:none}
.large-english{color:#708984}.large-english i{color:#a69b85}.note-label{color:#948974}
.hero-abstract a{border:0;color:#607e77}.hero-abstract a span{color:#a1957d}.hero-abstract b{color:#5a6b64}
.reference-portrait{border:0;box-shadow:none;background:none;transform:none;padding:0}
.reference-portrait img{height:220px;object-position:54% 32%;mask-image:linear-gradient(to bottom,#000000 80%,transparent);filter:saturate(.65)}
.reference-portrait figcaption{color:#7f8c82;padding-top:0}.reference-portrait figcaption span{color:#999280}
.hero-film{border:0;box-shadow:none;background:transparent;gap:15px;padding:0;grid-template-columns:28px repeat(3,1fr)}
.hero-film figure{border:0}.hero-film figcaption{background:transparent;padding:13px 0;color:#5b6f68}.hero-film figcaption b{color:#a69980}.hero-film figcaption span{color:#7f8b83}.film-side>span{color:#8a9a91}.film-side small{color:#889289}
.hero-foot{padding-left:43px}.hero-foot a{color:#7d8c80}
.section-label{color:#829891}.section-label:before{background:#bdb79d;border-radius:50%;width:5px;height:5px;transform:none}.section-label:after{display:none}
.question,.derivation,.issue-line,.opening-compare>div,.opening-compare span:not(.compare-arrow){border:0;outline:0;background:none;box-shadow:none}
.opening-compare>div{padding:0}.opening-compare span:not(.compare-arrow){padding:13px 0 0}
.quote{border:0;background:linear-gradient(100deg,#eef1ec,transparent);padding:18px 0;color:#818c7b}.quote small{color:#9a937e}
.math-help-hint{border:0;padding:0;color:#819284}
.derivation-intro{border:0;background:linear-gradient(90deg,#f0f3f0,transparent);padding:17px 0;color:#73867d}.derivation-intro b{color:#b4ae94}
.derive-step,.derive-step:hover,.derive-step:nth-of-type(4),.derive-step:nth-of-type(5){border:0;border-radius:0;box-shadow:none;background:none;margin:22px 0;padding:35px 38px 38px}
.derive-step:before{display:none}.derive-step:not(:last-of-type):after{bottom:-9px;color:#bcc7be;font-size:18px}
.derive-index{color:#a8b5a8;top:33px;left:4px;font-size:23px}.derive-index small{color:#aba28d}
.derive-main h3{color:#586b63}.derive-main>p:first-of-type{color:#78837b}
.equation,.derive-step:nth-of-type(4) .equation{color:#607970}.equation>span{color:#a3aea4}
.result-equation{border:0;background:linear-gradient(90deg,transparent,#eff3ef 25%,#eff3ef 75%,transparent);padding-block:22px}
.derive-main p.derive-definition{border:0;padding-top:10px;color:#78837b}.derive-definition b{color:#6c8177}
.calibration-aside{border:0;background:linear-gradient(90deg,#f3f1ea,transparent);padding:20px 24px;color:#8f8772}.calibration-aside p{color:#81857b}
.math-term{text-decoration-color:#beccc4}.math-term:hover,.math-term.math-active,.math-term:focus-visible{background:#e7ede7;color:#5a7467;outline-color:#bdc9bd}
.math-tooltip{border:0;box-shadow:0 8px 32px #4e63571c;background:#fcfdfa;color:#67756b}.math-tooltip strong{color:#758877}
.lab-section{border:0;background:linear-gradient(180deg,var(--paper),#ecf1eeb0 20%,#eff3edc0 65%,var(--paper));padding-block:20px}
.version-switch,.version-switch button,.version-switch button.active{border:0;box-shadow:none}.version-switch button{color:#8b968e}.version-switch button.active{background:#e2e9e1;color:#5e7161;font-weight:500}
.frame-grid{border:0;gap:20px;background:none}.frame-grid figure{outline:0;margin:0;border:0!important;background:none}.frame-top,.frame-grid figcaption{background:none;color:#74867a}.frame-top{padding:14px 0}.frame-top span{color:#a99b80}.frame-top i{color:#89978d}
.play-button{border:0;background:#e6ece5;color:#728675}.play-button:hover{background:#dce5db}.angle-track input{background:linear-gradient(90deg,#b4c7be,#c6d0c3,#cfc8ac)}.angle-track input::-webkit-slider-thumb{background:#889b8d;box-shadow:none}.playback output{color:#7d9180}
.calibration-note{border:0;padding-top:10px;color:#8c9382}.lab-foot{color:#7f8980}
.layer-label,.layer-tabs,.layer-tabs button.active{border:0}.layer-label{color:#7e9485}.layer-label span{color:#a59b81}.layer-view>img{padding:0;border:0;background:none}.layer-tabs button.active{color:#6c8273;background:#eaeee6}.layer-view p{color:#828d81}
.render-flow{border:0;background:none;padding:8px 0;box-shadow:none}.flow-step,.flow-step.emphasized,.flow-step:nth-of-type(3){border:0;border-radius:0;box-shadow:none;background:none;padding:22px 12px}.flow-step.emphasized{background:linear-gradient(90deg,transparent,#eef2ec,transparent)}
.flow-step h3{color:#617667}.flow-step p{color:#808b80}.flow-formula,.flow-step.emphasized math{color:#6a8373}.flow-arrow{color:#bac6b9}
.experiment-tabs,.experiment-tabs button,.experiment-tabs button.active,.experiment-result{border:0}.experiment-tabs{gap:20px}.experiment-tabs button{padding:9px 12px}.experiment-tabs button.active{background:#ebefe7;color:#6c7e70}.experiment-result strong{color:#7c8e79}.pill{color:#a4977e}
.wipe{border:0;outline:0}.wipe-line span{background:#f5f7f1;color:#7f8e7d;box-shadow:none}
.visual-notes{background:linear-gradient(90deg,transparent,#f1f3ec66 25%,#f1f3ec66 75%,transparent);border:0}.reference-crops img{border:0;outline:0;width:170px;height:135px;filter:saturate(.65)}.visual-notes p{color:#839280}.visual-notes>div:nth-child(2)>span{color:#a89d83}.swatches i{background:#adc2bb}.swatches i:nth-child(2){background:#e6e4d6}.swatches i:nth-child(3){background:#cbd3c4}.swatches i:nth-child(4){background:#f3f3ec}
.metrics,.metrics article,.limits details{border:0}.metrics p{color:#7f9486}.metrics p span{color:#b1a991}.limits b{color:#7b8e7f}
.download-card{border:0;box-shadow:none;background:linear-gradient(125deg,#eef2ebaa,#f6f4edaa);padding:30px}.download-card .button,.button{border:0;background:#899a8b;color:#ffffff}.download-card .button:hover,.button:hover{background:#748576}
footer{border:0;background:linear-gradient(180deg,var(--paper),#eef1eb)}footer .monogram{border:0}.footnote{color:#818a81!important}
@media(max-width:760px){.reference-portrait{padding:0;transform:none}.reference-portrait img{height:150px}.hero-film{gap:8px;padding:0;grid-template-columns:repeat(3,minmax(0,1fr))}.hero-film figcaption{padding:9px 0;font-size:9px}.hero-film figcaption span{font-size:8px}.hero-foot{padding-left:0}.derive-step,.derive-step:hover,.derive-step:nth-of-type(4),.derive-step:nth-of-type(5){padding:28px 0 30px;margin:20px 0;box-shadow:none}.derive-index{left:0;top:25px;font-size:18px}.derive-main h3{margin-left:30px}.derive-main p.derive-definition{padding-top:7px}.frame-grid{gap:10px}.frame-top{font-size:8px;padding:10px 0}.frame-grid figcaption{font-size:9px}.experiment-tabs{gap:9px}.experiment-tabs button{font-size:10px;padding:9px 8px}.reference-crops img{width:83px;height:110px}.download-card{padding:24px}.render-flow{padding:0}.flow-step,.flow-step.emphasized,.flow-step:nth-of-type(3){padding-inline:4px}}

/* SDF shadow shape: problem definition reference */
.sdf-question-figure{margin:0;align-self:center;min-width:0}.sdf-question-figure a{display:block}.sdf-question-figure img{display:block;width:100%;height:auto;filter:none;border:0;border-radius:0;box-shadow:none}.sdf-question-figure figcaption{margin-top:20px;font-size:13px;line-height:1.9;color:var(--ink)}.sdf-question-figure figcaption small{display:block;margin-top:5px;font-size:11px;color:var(--muted)}

/* Full-width explanation beneath the problem definition */
#question .boundary-reason{margin:48px 0 0;padding:23px 25px 25px;width:100%;max-width:none;transform:none;border:0;background:linear-gradient(100deg,#eef1ec,transparent);color:#818c7b}
.boundary-reason-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:34px;margin-top:14px}.boundary-reason-grid h3{font:400 17px/1.6 var(--serif);color:#6d7e72;margin:0 0 9px}.boundary-reason-grid p{font:13px/2 -apple-system,BlinkMacSystemFont,'Segoe UI','Microsoft Yahei',sans-serif;margin:0;color:#768174}
@media(max-width:760px){#question .boundary-reason{margin-top:32px;padding:20px 16px}.boundary-reason-grid{grid-template-columns:1fr;gap:22px}}

#question .boundary-reason{position:relative}.boundary-preview-toggle{display:block;margin-top:13px;padding:0;border:0;background:none;color:#708675;font-size:11px;text-align:left}.boundary-preview{position:absolute;z-index:20;bottom:calc(100% - 3px);left:0;width:100%;padding:18px 24px 16px;background:#f7f9f5;box-shadow:0 12px 42px #465e4820;border-radius:3px;font-family:-apple-system,BlinkMacSystemFont,'Segoe UI','Microsoft Yahei',sans-serif}.boundary-preview[hidden]{display:none}.boundary-preview-head{display:flex;align-items:center;justify-content:space-between;font-size:12px;color:#61766a;margin-bottom:12px}.boundary-preview-close{border:0;background:none;color:#788577;font-size:24px;line-height:1;padding:0 5px}.boundary-preview-images{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;max-width:720px;margin:auto}.boundary-preview-images figure{margin:0}.boundary-preview-images img{display:block;width:100%;height:auto;filter:none}.boundary-preview-images figcaption{font-size:12px;text-align:center;margin-top:8px;color:#667b6d}.boundary-target-crop{aspect-ratio:1;background-image:url('assets/boundary-experiment-sheet.png');background-size:531.25% 375%;background-position:.7246377% 53.40909%;background-repeat:no-repeat}.boundary-preview>p{font-size:11px;line-height:1.8;color:#81907f;margin:12px 0 0;text-align:center}@media(max-width:760px){.boundary-preview{position:relative;bottom:auto;padding:15px 8px;margin-top:20px}.boundary-preview-images{gap:8px}.boundary-preview-images figcaption{font-size:10px}}

/* Shared editorial tabs for the two stages */
.method-tabs{display:flex;gap:38px;margin:30px 0 24px}.method-tabs button{position:relative;border:0;background:none;padding:12px 0;color:#91998c;font-size:18px;font-weight:400}.method-tabs button span{font-size:11px;display:inline-block;margin-left:12px;color:#959c8d}.method-tabs button[aria-selected="true"]{color:#5f7869}.method-tabs button[aria-selected="true"]:after{content:'';position:absolute;left:0;right:0;bottom:0;height:1px;background:#a7b5a1}.method-tabs button:focus-visible{outline:1px solid #9cafa0;outline-offset:5px}#method [role="tabpanel"][hidden]{display:none}#method [role="tabpanel"] .derive-step{background:transparent;border:0}.method-conclusion{margin:25px 0 36px;padding:18px 0;color:#748471}.method-conclusion small{font-size:11px;color:#9a937e}.method-conclusion p{font-size:14px;line-height:2;margin:9px 0}.method-conclusion p+p{font-size:12px;color:#89927e}@media(max-width:760px){.method-tabs{gap:30px}.method-tabs button{font-size:16px}.method-tabs button span{display:block;margin:3px 0 0;font-size:10px}}

/* Method studio: twin stages, quiet motion, editorial equations */
#method .section-heading{margin-bottom:26px}#method .method-tabs{display:grid;grid-template-columns:1fr 1fr;gap:26px;margin:24px 0 18px;max-width:100%}#method .method-tabs button{isolation:isolate;overflow:hidden;text-align:left;padding:24px 28px 22px;min-height:155px;display:grid;grid-template-columns:1fr 110px;align-content:start;transition:background .45s,color .3s,transform .35s;background:linear-gradient(110deg,#edf0e980,transparent);color:#879488}#method .method-tabs button:before{content:'';position:absolute;inset:0;z-index:-1;background:radial-gradient(ellipse at 80% 60%,#c9d8c650,transparent 68%);opacity:0;transition:opacity .4s}#method .method-tabs button[aria-selected="true"]:before{opacity:1}#method .method-tabs button[aria-selected="true"]{background:linear-gradient(110deg,#e5ece280,#eff2ea60);color:#536e60}#method .method-tabs button:hover{transform:translateY(-2px)}#method .method-tabs button:after{display:none}#method .method-tabs .stage-id{font-size:9px;letter-spacing:2px;color:#9ca68d;grid-column:1;margin-bottom:8px}#method .method-tabs strong{font:400 27px/1.4 var(--serif);grid-column:1}#method .method-tabs button span{display:block;grid-column:1;margin:7px 0 0;font-size:12px;color:#83917f}#method .stage-state{font-size:10px;letter-spacing:.6px;font-style:normal;grid-column:1;margin-top:17px;color:#9a9e87}.stage-glyph{grid-column:2;grid-row:1/5;width:110px;align-self:center;overflow:visible;color:#9eb29c;opacity:.5;transition:opacity .4s}.stage-glyph path{fill:none;stroke:currentColor;stroke-width:1.2}.stage-glyph .glyph-guide{opacity:.28}.stage-glyph circle{fill:#a7b79b}.method-tabs [aria-selected="true"] .stage-glyph{opacity:.9}.method-tabs [aria-selected="true"] .glyph-curve{stroke-dasharray:170;animation:curve-breathe 6s ease-in-out infinite}.method-tabs [aria-selected="true"] .glyph-dot{animation:point-breathe 4s ease-in-out infinite;transform-box:fill-box;transform-origin:center}.glyph-dot:nth-of-type(2){animation-delay:.7s!important}.glyph-dot:nth-of-type(3){animation-delay:1.4s!important}
#method .math-help-hint{text-align:right;font-size:10px;margin:12px 0 28px;color:#959e8b}#method .derivation-intro{background:none;padding:12px 0 23px;margin:0 0 12px;font-size:12px;gap:20px}#method .derivation-intro small{font-size:11px;margin-top:7px}#method [role="tabpanel"]:not([hidden]){animation:method-enter .5s ease both}
#method [role="tabpanel"] .derive-step{position:relative;padding:40px 0 45px 66px;margin:0;box-shadow:none;border:0;background:none}#method .derive-step:before{display:block;content:'';position:absolute;left:17px;top:76px;bottom:8px;width:1px;height:auto;border:0;background:linear-gradient(#bcc9b55c,transparent)}#method .derive-step:after{display:none}#method .derive-index{position:absolute;left:0;top:38px;padding:0;font:italic 30px/1.2 Georgia;color:#abb9a4}#method .derive-main{display:grid;grid-template-columns:minmax(190px,.72fr) minmax(0,1.65fr);gap:40px;align-items:start}#method .derive-narrative h3{text-align:left;margin:0 0 14px;font-size:20px;line-height:1.65;font-weight:400;color:#617869}#method .derive-narrative p{text-align:left;margin:0;font-size:12px;line-height:2.1;color:#86917f}#method .derive-work{min-width:0;padding-top:2px}#method .equation{justify-content:flex-start;padding:16px 32px 18px 0;margin:0 0 14px;background:none;border:0;overflow-x:auto}#method .equation math{font-size:22px;text-align:left;flex:initial}#method .equation>span{font-size:10px;color:#a6ad99;right:0}#method .derive-work p.derive-definition{text-align:left;margin:12px 0 0;padding:0;border:0;max-width:none;font-size:11px;line-height:2;color:#89937f}#method .secondary-equation{opacity:.87}#method .result-equation{background:linear-gradient(90deg,#e9eee580,transparent);padding-left:15px}#method .method-conclusion{margin-left:66px;padding:21px 24px;background:linear-gradient(100deg,#edf0e780,transparent)}
@keyframes curve-breathe{0%,100%{stroke-dashoffset:0;opacity:.65}50%{stroke-dashoffset:12;opacity:1}}@keyframes point-breathe{0%,100%{opacity:.45;transform:scale(.85)}50%{opacity:1;transform:scale(1.15)}}@keyframes method-enter{from{opacity:0;transform:translateY(9px)}to{opacity:1;transform:translateY(0)}}
@media(max-width:1000px){#method .derive-main{grid-template-columns:1fr;gap:18px}#method .derive-narrative p{max-width:640px}#method .method-tabs button{padding:21px;grid-template-columns:1fr 72px}.stage-glyph{width:72px}}
@media(max-width:600px){#method .method-tabs{gap:10px}#method .method-tabs button{padding:17px 14px;min-height:168px;grid-template-columns:1fr}#method .method-tabs strong{font-size:23px}#method .method-tabs button span{font-size:10px;max-width:110px}#method .stage-state{font-size:9px;margin-top:12px}.stage-glyph{position:absolute;right:10px;top:20px;width:44px;opacity:.4}#method .math-help-hint{text-align:left;line-height:1.9}#method [role="tabpanel"] .derive-step{padding:28px 0 30px 36px}#method .derive-index{font-size:22px;top:29px}#method .derive-step:before{left:10px;top:63px}#method .derive-narrative h3{font-size:18px}#method .equation math{font-size:17px}#method .method-conclusion{margin-left:0;padding:15px}#method .equation>span{position:static;transform:none}#method .equation{padding-right:0}}
@media(prefers-reduced-motion:reduce){#method *,#method *:before{animation:none!important;transition:none!important}#method .method-tabs button:hover{transform:none}}

/* Soft sakura motif for the two stages */
#method .sakura-glyph{height:80px;color:#a8b8a0}#method .sakura-glyph .bloom-petals path{fill:#d6dfcd88;stroke:#a8b69c;stroke-width:.7}#method .sakura-glyph .bloom-petals circle{fill:#beb58e}#method .sakura-glyph .loose-petal{fill:#d8dfcc99;stroke:#adb99d;stroke-width:.6}#method .sakura-glyph .sakura-star{fill:#cbc39a99;stroke:none}.sakura-bloom{animation:sakura-drift 7s ease-in-out infinite;transform-box:fill-box;transform-origin:center}.loose-petal{animation:petal-drift 6s ease-in-out infinite;transform-origin:23px 54px}.sakura-star{animation:star-soft 4.5s ease-in-out infinite}.small-star{animation-delay:1.8s}#prediction-tab .sakura-bloom{animation-delay:-3s}#prediction-tab .loose-petal{animation-delay:-2s}
@keyframes sakura-drift{0%,100%{translate:0 1px;rotate:-5deg}50%{translate:0 -3px;rotate:5deg}}@keyframes petal-drift{0%,100%{transform:translate(0,0) rotate(-8deg);opacity:.65}50%{transform:translate(-3px,4px) rotate(12deg);opacity:1}}@keyframes star-soft{0%,100%{opacity:.35}50%{opacity:.9}}@media(prefers-reduced-motion:reduce){#method .sakura-glyph *{animation:none!important}}

/* Blend stage selection into the page instead of a rectangular card */
#method .method-tabs button,#method .method-tabs button[aria-selected="true"]{background:transparent;overflow:visible;box-shadow:none}#method .method-tabs button:before{inset:-12px -10px;background:radial-gradient(ellipse at 38% 48%,rgba(197,213,193,.24) 0%,rgba(214,225,206,.13) 36%,rgba(226,234,221,.045) 57%,transparent 74%);opacity:0;border:0}#method .method-tabs button[aria-selected="true"]:before{opacity:1}#method .method-tabs button:hover:before{opacity:.65}#method .method-tabs button[aria-selected="true"]:hover:before{opacity:1}

/* Clean formula symbols; keep hover/focus explanations. */
.math-term,.math-term:hover,.math-term.math-active,.math-term:focus-visible{text-decoration:none}

/* Preserve the tab footprint; soften only the left-to-right color wash. */
#method .method-tabs button{background:transparent;overflow:hidden}
#method .method-tabs button:before{inset:0;filter:none;background:linear-gradient(to right,rgba(207,219,201,.27) 0%,rgba(217,226,211,.17) 52%,rgba(230,236,225,.07) 100%);opacity:0}
#method .method-tabs button[aria-selected="true"],#method .method-tabs button[aria-selected="true"]:hover{background:transparent}
#method .method-tabs button[aria-selected="true"]:before,#method .method-tabs button[aria-selected="true"]:hover:before{opacity:1}
#method .method-tabs button:hover:before{opacity:.4}

/* Five-step training content, keeping explanation left and equations right. */
#method #training-panel .derive-narrative p+p{margin-top:13px}#method #training-panel .derive-narrative strong{font-weight:500;color:#6d8173}#method .training-objective math{font-size:20px}@media(max-width:600px){#method .training-objective math{font-size:17px}}

/* Detailed training-scene explanation, matching the formula tooltips. */
.scene-details-trigger{cursor:help;transition:color .25s}#method .scene-details-trigger:hover .equation{color:#4f7060}.scene-details-trigger:focus-visible{outline:1px solid #b9c8b6;outline-offset:10px}.scene-training-details{position:fixed;z-index:100;width:min(590px,calc(100vw - 32px));max-height:calc(100vh - 32px);overflow:auto;padding:22px 26px;background:#fbfcf8;color:#75836f;box-shadow:0 12px 40px #4e635722;border-radius:3px;font:12px/1.95 -apple-system,BlinkMacSystemFont,'Segoe UI','Microsoft Yahei',sans-serif}.scene-training-details[hidden]{display:none}.scene-details-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px;font-size:10px;letter-spacing:1px;color:#9b9d83}.scene-details-heading button{border:0;background:none;color:#8f9d88;font-size:22px;padding:0 3px;line-height:1}.scene-training-details p{margin:7px 0}.scene-training-details .scene-details-count{font-size:17px;line-height:1.7;color:#657e6c;margin-bottom:17px}.scene-training-details h3{font-size:14px;font-weight:500;color:#68836f;margin:17px 0 5px}.scene-training-details strong{font-weight:500;color:#627d67}.scene-angle-list{color:#7c8874;line-height:2.05}.scene-training-details ul{padding-left:19px;margin:6px 0 9px}.scene-training-details li{padding:1px 0}.scene-training-details .scene-details-example{margin-top:14px;background:linear-gradient(to right,#eef2e980,transparent);padding:10px 12px}@media(max-width:600px){.scene-training-details{padding:17px 19px;font-size:11px}.scene-training-details .scene-details-count{font-size:15px}}

.formula-details-trigger{cursor:help}#method .formula-details-trigger:hover .equation{color:#4f7060}.formula-details-trigger:focus-visible{outline:1px solid #b9c8b6;outline-offset:10px}.lighting-training-details{width:min(760px,calc(100vw - 32px));max-height:min(780px,calc(100vh - 32px));overscroll-behavior:contain}.detail-equation{overflow-x:auto;padding:12px 0;color:#607c6b}.detail-equation math{font-size:17px;min-width:max-content;margin:0;text-align:left}.lighting-training-details .implementation-note{font-size:11px;background:linear-gradient(to right,#edf1e680,transparent);padding:12px 14px;margin:15px 0}.lighting-training-details h3{margin-top:22px}@media(max-width:600px){.detail-equation math{font-size:15px}}

/* Quiet, explicit controls for extended formula explanations. */
#method .scene-details-trigger,#method .formula-details-trigger{cursor:auto}
#method .scene-details-trigger:hover .equation,#method .formula-details-trigger:hover .equation{color:inherit}
.formula-details-button{display:flex;align-items:center;gap:7px;margin:0 0 12px auto;padding:5px 10px;border:0;border-radius:3px;background:rgba(207,219,201,.18);color:#788774;font:inherit;font-size:11px;letter-spacing:.06em;cursor:pointer;transition:background .2s,color .2s}
.formula-details-button:hover,.formula-details-button[aria-expanded="true"]{background:rgba(207,219,201,.36);color:#506c59}
.formula-details-button:focus-visible{outline:1px solid #a9bba5;outline-offset:3px}
.formula-details-button span{font-size:13px}

/* Linked lighting workflow, two parallel inputs. */
#light .flow-branches>h3{text-align:center;font-size:14px;font-weight:500;color:#617667;margin:24px 0 14px}
#light .flow-branch-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}
#light .flow-step{cursor:pointer;background:none;border:0;border-radius:0;transition:color .2s;min-width:0}
#light .flow-step.is-selected{background:linear-gradient(90deg,transparent,#eef2ec,transparent)}
#light .flow-step:focus-visible{outline:1px solid #b4c3b1;outline-offset:3px}
#light .flow-branch{padding:18px 8px;font-size:11px;color:#808b80;line-height:2;width:100%}
#light .branch-caption{display:block;font-size:10px;letter-spacing:2px;color:#9ba894;margin-bottom:9px}
#light .flow-step:hover{color:#536f5c}
#light .layer-tabs{flex-wrap:wrap;gap:2px}
#layer-description{min-height:68px}
@media(min-width:901px){#light .layer-view{position:sticky;top:110px}}
@media(max-width:600px){#light .flow-branch-grid{gap:6px}#light .flow-branch{font-size:10px}}

.rotation-frames{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin-top:42px}.rotation-frames figure{margin:0;min-width:0}.rotation-frames figcaption{display:flex;justify-content:space-between;gap:10px;font-size:12px;color:#6e8272;margin-bottom:14px}.rotation-frames small{font-size:10px;color:#97a18f}.rotation-frames img{width:100%;display:block;aspect-ratio:1;object-fit:contain}.rotation-controls{display:flex;align-items:center;gap:26px;margin:30px 0 20px}.rotation-controls button{border:0;background:#e8ede4;color:#758c78;width:42px;height:42px}.rotation-slider{flex:1}.rotation-slider input{width:100%;accent-color:#90a38e}.rotation-ticks{display:flex;justify-content:space-between;font-size:10px;color:#8d9789}.rotation-controls output{font:30px Georgia;color:#819881;min-width:100px;text-align:right}@media(max-width:650px){.rotation-frames{gap:7px}.rotation-frames figcaption{font-size:10px;display:block}.rotation-frames small{display:block;font-size:8px}.rotation-controls{gap:12px}.rotation-controls output{font-size:22px;min-width:65px}}

.rotation-slider input{appearance:none;-webkit-appearance:none;height:4px;background:linear-gradient(90deg,#b4c5b7,#ccc8af);border:0;border-radius:0;cursor:pointer;display:block;margin:12px 0 18px}.rotation-slider input::-webkit-slider-thumb{appearance:none;-webkit-appearance:none;width:13px;height:13px;border:3px solid #fafbf7;background:#899e87;border-radius:50%}.rotation-slider input::-moz-range-thumb{width:8px;height:8px;border:3px solid #fafbf7;background:#899e87;border-radius:50%}
