/* The .spira-method component can be embedded without the page header/footer. */
:root{color-scheme:light;--ink:#263546;--muted:#73808f;--source:#3b9c96;--prefix:#7d70c5;--output:#4a89bc;--line:#e5eaf0;--paper:#fff;font-family:Inter,"Segoe UI",Arial,sans-serif;background:#f7f9fb;color:var(--ink);font-synthesis:none}
*{box-sizing:border-box}body{margin:0}button,input{font:inherit}button{cursor:pointer}a{color:inherit}.site-header{max-width:1192px;margin:auto;padding:30px 24px 24px;display:flex;justify-content:space-between;align-items:center;gap:24px}.wordmark{font-size:26px;font-weight:800;letter-spacing:-1.1px;text-decoration:none;display:flex;align-items:baseline;gap:3px}.wordmark-dot{width:6px;height:6px;border-radius:50%;background:var(--source)}.site-header>span{font-size:12px;letter-spacing:.035em;color:var(--muted)}main{max-width:1192px;margin:auto;padding:25px 24px 0}.section-intro{margin:0 0 32px}.eyebrow{text-transform:uppercase;letter-spacing:.17em;font-size:12px;font-weight:700;color:var(--source);margin:0 0 14px}.section-intro h1{font-size:clamp(31px,3.5vw,46px);line-height:1.18;letter-spacing:-1.65px;font-weight:650;margin:0 0 16px}.section-intro h1 span{background:linear-gradient(100deg,#398e88,#527fb6 55%,#8170bc);background-clip:text;-webkit-background-clip:text;color:transparent}.lede{font-size:16px;line-height:1.8;color:#6a7787;margin:0}.mobile-break{display:none}.method-shell{background:var(--paper);border:1px solid #dfe5ed;border-radius:18px;overflow:hidden;box-shadow:0 12px 50px -24px #26354625}.chapters{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));border-bottom:1px solid var(--line);background:#fcfdfe}.chapters button{position:relative;min-height:66px;padding:15px 10px;border:0;background:transparent;display:flex;align-items:center;justify-content:center;gap:9px;color:#84909e;font-size:13px;font-weight:600;isolation:isolate;transition:color .15s,background .15s}.chapters button+button{border-left:1px solid #edf0f4}.chapter-index{font-size:11px;font-weight:500;font-variant-numeric:tabular-nums;opacity:.8}.chapters button:hover{background:#f3f7f9;color:#405569}.chapters button[aria-current]{color:#326f78;background:#f2f8f8}.chapter-fill{position:absolute;bottom:0;left:0;width:var(--chapter-progress,0%);height:3px;background:linear-gradient(90deg,var(--source),var(--output),var(--prefix));transition:none}.animation-stage{position:relative;background:white;aspect-ratio:1120/520;overflow:hidden}#method-canvas{display:block;width:100%;height:100%;font-family:Inter,"Segoe UI",Arial,sans-serif}.caption-band{min-height:72px;padding:17px 25px;display:flex;align-items:center;gap:13px;border-top:1px solid #edf1f4;background:linear-gradient(105deg,#f4faf9,#f6f8fc 70%,#f7f6fc)}.caption-marker{height:23px;width:3px;flex:none;border-radius:3px;background:linear-gradient(var(--source),var(--prefix))}.caption-band p{margin:0;font-size:15px;font-weight:500;line-height:1.55;flex:1;color:#42536a}.phase-label{font-size:10px;font-weight:650;letter-spacing:.1em;color:#8995a5;white-space:nowrap}.player-controls{min-height:66px;display:flex;align-items:center;gap:10px;padding:9px 18px;background:#fff;border-top:1px solid var(--line)}.icon-button,.text-button{height:40px;min-width:40px;display:inline-flex;align-items:center;justify-content:center;border:0;border-radius:9px;background:transparent;color:#728199;padding:10px}.icon-button svg{width:19px;height:19px;fill:currentColor}.play-button{color:#fff;background:#426f7c}.icon-button:hover,.text-button:hover{background:#eef3f7;color:#426f7c}.play-button:hover{background:#335e6b;color:#fff}.loop-button[aria-pressed=true]{background:#eef6f5;color:#348a81}.text-button{font-size:13px;font-weight:600}.timecode{font-size:12px;font-variant-numeric:tabular-nums;color:#84909f;min-width:76px;text-align:center;white-space:nowrap}.timeline{--progress:0%;appearance:none;-webkit-appearance:none;height:40px;min-width:30px;flex:1;margin:0 6px;background:transparent;cursor:pointer}.timeline::-webkit-slider-runnable-track{height:4px;border-radius:5px;background:linear-gradient(to right,#5f989f var(--progress),#e5eaf0 var(--progress))}.timeline::-moz-range-track{height:4px;border-radius:5px;background:#e5eaf0}.timeline::-moz-range-progress{background:#5f989f;height:4px}.timeline::-webkit-slider-thumb{appearance:none;-webkit-appearance:none;width:12px;height:12px;border-radius:50%;background:#518d95;border:2px solid #fff;box-shadow:0 0 0 1px #91b6ba;margin-top:-4px}.timeline::-moz-range-thumb{width:10px;height:10px;border-radius:50%;background:#518d95;border:2px solid white}.method-bottom{display:flex;justify-content:space-between;gap:18px;padding:5px 3px 0;color:#8994a2;font-size:12px}.method-bottom p{line-height:1.8}.method-bottom p:last-child{display:flex;align-items:center;gap:6px}.legend-dot{width:7px;height:7px;border-radius:50%;margin-left:11px}.source-dot{background:var(--source)}.prefix-dot{background:var(--prefix)}.output-dot{background:var(--output)}.method-notes{margin-top:24px;border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:3px 0}.method-notes summary{font-size:14px;line-height:1.7;font-weight:600;padding:18px 3px;cursor:pointer;color:#576579}.method-notes summary span{font-weight:400;font-size:12px;color:#97a0ad;margin-left:10px}.notes-content{max-width:880px;padding:0 20px 15px;font-size:15px;line-height:1.8;color:#66768a}.notes-content strong{color:#3e526b}.illustration-note{font-size:13px;border-left:2px solid #a0b8c7;padding-left:15px;margin-top:24px}.site-footer{max-width:1192px;margin:0 auto;padding:30px 27px 26px;display:flex;justify-content:space-between;font-size:11px;color:#a4adba}.site-footer span:first-child{font-weight:700;letter-spacing:.12em}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}button:focus-visible,input:focus-visible,summary:focus-visible,a:focus-visible{outline:3px solid #79a6ba;outline-offset:3px}.noscript-message{position:absolute;inset:30%;font-size:18px;line-height:1.6}.method-shell:fullscreen,.method-shell.is-expanded{border:0;border-radius:0;display:flex;flex-direction:column;justify-content:center;background:white;width:100%;height:100%;padding:0 3vw}.method-shell:fullscreen .animation-stage,.method-shell.is-expanded .animation-stage{flex:1;min-height:0;aspect-ratio:auto}.method-shell:fullscreen .chapters,.method-shell.is-expanded .chapters,.method-shell:fullscreen .caption-band,.method-shell.is-expanded .caption-band,.method-shell:fullscreen .player-controls,.method-shell.is-expanded .player-controls{flex-shrink:0}.method-shell:fullscreen #method-canvas,.method-shell.is-expanded #method-canvas{object-fit:contain}.method-shell:fullscreen .chapters button,.method-shell.is-expanded .chapters button{min-height:65px}
.spira-method [hidden]{display:none!important}
@media(min-width:1500px){main{padding-top:40px}.section-intro{margin-bottom:38px}}
@media(max-width:900px){.site-header>span{font-size:10px}.chapters button{font-size:11px;gap:5px;padding-inline:5px}.caption-band{padding:14px 20px}.phase-label{display:none}.section-intro h1{letter-spacing:-1px}.caption-band p{font-size:14px}}
@media(max-width:640px){.site-header{padding:22px 18px 12px}.site-header>span{max-width:210px;line-height:1.6;text-align:right;font-size:10px}.wordmark{font-size:24px}main{padding:22px 14px 0}.section-intro{padding:0 4px;margin-bottom:25px}.eyebrow{font-size:11px;margin-bottom:13px}.section-intro h1{font-size:34px;letter-spacing:-1.15px;line-height:1.18}.section-intro h1 span{display:block;margin-top:4px}.lede{font-size:14px;line-height:1.75;margin-top:15px}.mobile-break{display:block}.method-shell{border-radius:13px}.chapters{display:flex;overflow-x:auto;scrollbar-width:none}.chapters::-webkit-scrollbar{display:none}.chapters button{min-width:145px;min-height:54px;font-size:12px;gap:8px;padding:12px}.chapter-index{font-size:10px}.animation-stage{aspect-ratio:560/650}.caption-band{min-height:105px;padding:17px 16px;gap:11px}.caption-band p{font-size:14px}.caption-marker{height:35px}.player-controls{padding:8px 7px;gap:2px;min-height:61px}.icon-button,.text-button{height:40px;min-width:36px;padding:9px}.icon-button svg{width:18px;height:18px}.timecode{font-size:10px;min-width:64px}.timeline{margin-inline:5px}.loop-button{display:none}.text-button{font-size:12px;min-width:33px}.method-bottom{flex-direction:column;gap:0;padding:5px 3px}.method-bottom p{margin:7px 0 0;font-size:11px}.method-bottom p:last-child{margin-top:3px;gap:5px}.legend-dot:first-child{margin-left:0}.method-notes{margin-top:23px}.method-notes summary{font-size:13px}.method-notes summary span{display:block;margin-left:17px;font-size:11px}.notes-content{font-size:14px;padding-inline:8px}.site-footer{padding:24px 18px}.method-shell:fullscreen,.method-shell.is-expanded{padding:0}.method-shell:fullscreen .chapters button,.method-shell.is-expanded .chapters button{min-height:54px}.method-shell:fullscreen .caption-band,.method-shell.is-expanded .caption-band{min-height:88px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important}.chapters button{transition:none}}
@media print{.player-controls,.chapters,.site-header,.site-footer{display:none}.method-notes .notes-content{display:block}.method-notes{border:0}body{background:white}}

.method-shell.is-expanded{position:fixed;inset:0;z-index:1000;height:100dvh}
