/* Shared material tokens: both themes are complete, including studio scenes. */
:root{color-scheme:dark;--bg:#090c10;--text:#f1f3f5;--gold:#d5bd91;--muted:#acb4bc;--line:#ffffff20;--surface:#11161d;--surface-soft:#171e27;--glass:#242e3b66;--glass-border:#ffffff30;--glass-highlight:#ffffff48;--glass-shadow:0 20px 60px #0004,inset 0 1px 0 #ffffff25;--ink-soft:#c4cbd2;--studio:#10161c}
:root[data-theme=light]{color-scheme:light;--bg:#f2f4f7;--text:#202b36;--gold:#856a37;--muted:#596877;--line:#1e344d25;--surface:#e9eef3;--surface-soft:#f5f7fa;--glass:#ffffff70;--glass-border:#ffffffbb;--glass-highlight:#ffffffed;--glass-shadow:0 18px 55px #28405a18,inset 0 1px 0 #fff;--ink-soft:#465664;--studio:#e8edf2}
body{background:var(--bg);color:var(--text)}
header,.material-card,.bike-narration,.weave-detail,.theme-switch,.finish-controls nav,.bike-controls nav,.weave-chapters,.application-summary article{background:linear-gradient(125deg,var(--glass-highlight),transparent 48%),var(--glass);border:1px solid var(--glass-border);box-shadow:var(--glass-shadow);backdrop-filter:blur(28px) saturate(155%);-webkit-backdrop-filter:blur(28px) saturate(155%)}
header{gap:18px;padding:0 22px;height:66px;min-width:640px;background:linear-gradient(135deg,#ffffff15,transparent 70%),var(--glass);border-radius:40px}
header nav{gap:19px}header .brand{color:var(--text)}
.theme-switch{display:flex;gap:3px;padding:4px;border-radius:30px;box-shadow:inset 0 1px 0 #ffffff20;background:var(--glass)}
.theme-switch button{display:flex;gap:6px;align-items:center;border:0;background:none;padding:7px 10px;border-radius:22px;font-size:12px;color:var(--muted);min-height:32px}
.theme-switch button .icon{margin:0}.theme-switch button[aria-pressed=true]{background:linear-gradient(140deg,#ffffff35,#ffffff12);box-shadow:0 2px 8px #0002,inset 0 1px 0 #ffffff50;color:var(--text)}
#view-toggle{background:var(--glass);border:1px solid var(--glass-border);box-shadow:inset 0 1px 0 #ffffff28;color:var(--text);font-size:12px;padding:10px 13px}
:root[data-theme=light] .theme-switch button[aria-pressed=true]{background:#fff9;box-shadow:0 2px 8px #23394d18,inset 0 1px 0 white}
.manifesto,.application-summary{background:var(--surface);color:var(--text)}
.manifesto em,.manifesto-bottom>span,.manifesto-bottom p,.application-summary p{color:var(--muted)}
.manifesto em,.application-summary article>span{color:var(--gold)}
.application-summary{gap:22px}
.application-summary article{border-radius:25px;padding:28px}.application-summary h3{color:var(--text)}
.material-card,.bike-narration,.weave-detail{border-radius:24px;padding:25px;background:linear-gradient(135deg,#ffffff17,transparent 65%),var(--glass)}
.material-card .eyebrow,.bike-narration .eyebrow,.weave-detail .eyebrow{color:var(--gold)}
.material-card p,.bike-narration p{color:var(--ink-soft)}.material-card h3,.bike-narration h3{color:var(--text)}.material-card>div{border-color:var(--line);color:var(--muted)}
.finish-controls nav,.bike-controls nav{gap:5px;padding:6px;border-radius:24px}.finish-controls .chapter-progress,.bike-controls .bike-progress{border-radius:24px}.finish-controls button,.bike-controls button{border:0;border-radius:18px;padding:15px 17px;color:var(--muted);font-size:14px;min-height:49px}
.finish-controls button[aria-pressed=true],.bike-controls button[aria-pressed=true]{background:linear-gradient(140deg,#ffffff25,#ffffff08);color:var(--text);box-shadow:inset 0 1px 0 #ffffff40,0 3px 9px #0002}
.finish-controls button:hover,.bike-controls button:hover{color:var(--text);background:#ffffff18}
:root[data-theme=light] .finish-controls button[aria-pressed=true],:root[data-theme=light] .bike-controls button[aria-pressed=true]{background:#ffffffac;box-shadow:0 4px 12px #283c5517,inset 0 1px 0 white}
.finish-controls>p,.bike-controls>p,.stage-top .eyebrow,.counter i{color:var(--muted)}.finish-copy article>p:not(.eyebrow){color:var(--ink-soft)}.weave-progress{background:var(--line)}.chapter-progress,.bike-progress{background:transparent}.chapter-progress:before,.bike-progress:before{border-bottom-color:var(--line)}.chapter-progress i,.bike-progress i{border-bottom-color:var(--gold)}
.bike-track,.bike-pin{background:var(--studio)}
.closing{background:var(--bg)}footer{border-color:var(--line);color:var(--text);background:var(--bg)}.footer-brand p,.footer-nav a,.footer-top-link,.footer-bottom{color:var(--muted)}.footer-nav a:hover,.footer-top-link:hover{color:var(--text)}.designed-by a:hover{color:var(--gold);text-decoration-color:var(--gold)}.footer-bottom{border-color:var(--line)}.circle{border-color:var(--glass-border);background:var(--glass);backdrop-filter:blur(15px);box-shadow:inset 0 1px 0 #ffffff30}.round-link:hover .circle{background:var(--gold)}
/* Macro stage: large uninterrupted material with floating explanatory glass. */
.weave-track{height:340vh;background:var(--studio)}
.weave-pin{display:block;padding:0;min-height:760px;isolation:isolate;background:radial-gradient(ellipse at 65% 45%,#55657620,transparent 65%),var(--studio)}
.weave-heading{position:absolute;left:6%;top:120px;width:37%;max-width:500px;z-index:3;pointer-events:none}
.weave-heading h2{font-size:clamp(43px,4.9vw,72px);margin:24px 0}.weave-heading>p:not(.eyebrow){color:var(--muted);max-width:370px;line-height:1.75}
.weave-graphic{position:absolute;inset:120px 3% 85px 32%;max-width:none;width:auto;perspective:none}
#weave-scene{position:absolute;inset:0;width:100%;height:100%;opacity:0;z-index:1}
.weave-photo{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;border-radius:42px;opacity:.75;mask-image:radial-gradient(ellipse,#000 40%,transparent 74%)}
.weave-webgl #weave-scene{opacity:1}.weave-webgl .weave-photo{opacity:0}
.weave-detail{position:absolute;right:1%;bottom:65px;max-width:275px;z-index:3}.weave-detail .eyebrow{font-size:10px;letter-spacing:1.7px}.weave-detail h3{font:400 25px/1.25 Manrope,Arial,sans-serif;letter-spacing:-.8px;margin:13px 0}.weave-detail p{font-size:14px;color:var(--ink-soft);line-height:1.65}
.diagram-labels{position:absolute;top:10px;right:10px;margin:0;padding:10px 15px;z-index:4;background:var(--glass);border:1px solid var(--glass-border);border-radius:30px;color:var(--muted);font-size:10px;backdrop-filter:blur(20px)}
.diagram-labels span:last-child{margin-left:15px}.diagram-labels span:first-child i{background:#98a9ba}.diagram-labels span:nth-child(2) i{background:#b1a086}
.diagram-note{position:absolute;bottom:0;left:0;font-size:11px;color:var(--muted);z-index:4}
.weave-chapters{position:absolute;left:0;right:0;bottom:27px;padding:6px;margin:0;border-radius:23px;gap:4px;z-index:4;color:var(--muted)}.weave-chapters span{flex:1;max-width:none;padding:11px 10px;text-align:center;border-radius:17px;font-size:11px}.weave-chapters .current{background:#ffffff22;box-shadow:inset 0 1px 0 #ffffff35;color:var(--text)}
.weave-bottom{color:var(--muted);bottom:27px}.weave-bottom>span{font-size:11px}
/* The light theme uses light studio sources, not inverted vehicles. */
:root[data-theme=light] .hero-pin{background:#eef0f3;color:var(--text)}
:root[data-theme=light] .hero-overlay{background:linear-gradient(90deg,#f4f5f8cf,transparent 82%),linear-gradient(0deg,#f2f4f7,transparent 30%)}
:root[data-theme=light] .hero-intro,:root[data-theme=light] .hero-footer,:root[data-theme=light] .hero-caption{color:#536372}
:root[data-theme=light] .hero-mosaic{background:#d9e0e7}
:root[data-theme=light] .hero-mosaic img{filter:brightness(1.3) saturate(.6);border-radius:20px}
:root[data-theme=light] .mosaic-title{color:var(--text);background:#ffffff83;border:1px solid #fff9;border-radius:25px;padding:25px;width:max-content;max-width:80%;backdrop-filter:blur(25px)}
:root[data-theme=light] .mosaic-title em{color:var(--gold)}
:root[data-theme=light] .has-webgl .finish-vignette{background:linear-gradient(90deg,#eef2f47a,transparent 63%),linear-gradient(0deg,#e9eef580,transparent 30%)}
:root[data-theme=light] .finish-vignette{background:linear-gradient(90deg,#eaf0f6ee,transparent 85%)}
:root[data-theme=light] .material-watermark{color:#33495e;opacity:.065}
:root[data-theme=light] .finish-image{border-radius:50%;width:65%;height:70%;inset:16% 0 auto auto;mask-image:radial-gradient(ellipse,#000 25%,transparent 73%)}
:root[data-theme=light] .weave-photo{mix-blend-mode:multiply}
:root[data-theme=light] .bike-assembly{background:transparent}
:root[data-theme=light] .weave-chapters .current{background:#ffffffb0;box-shadow:0 2px 8px #33445a12,inset 0 1px 0 white}
:root[data-theme=light] .finish-copy .inline-link{border-color:#3b4f6855}
:root[data-theme=light] .overview .finish-stage{background:var(--surface)!important}
.overview .finish-copy article,.overview .finish-copy article[data-finish="2"],.overview .finish-copy article[data-finish="4"]{border-radius:28px;border:1px solid var(--glass-border);box-shadow:var(--glass-shadow);background-image:linear-gradient(90deg,#080c11e8,#080c1120),url('../carbon-hero.avif');color:#f1f3f5}
.overview .finish-copy article>p:not(.eyebrow){color:#d0d8df}.overview .finish-copy article .eyebrow,.overview .finish-copy article em{color:#dcc398}
:root[data-theme=light] .overview .finish-copy article,:root[data-theme=light] .overview .finish-copy article[data-finish="2"],:root[data-theme=light] .overview .finish-copy article[data-finish="4"]{background-image:linear-gradient(90deg,#edf2f6f5,#edf2f670),url('../carbon-hero.avif');color:var(--text)}
:root[data-theme=light] .overview .finish-copy article>p:not(.eyebrow){color:var(--ink-soft)}:root[data-theme=light] .overview .finish-copy article em,:root[data-theme=light] .overview .finish-copy article .eyebrow{color:var(--gold)}
.overview .weave-pin{min-height:770px;height:85svh;padding:0}.overview .weave-graphic{inset:100px 3% 65px 32%}.overview .weave-photo{transform:none!important}.overview .weave-chapters{display:none}.overview .diagram-note{bottom:10px}.overview .weave-detail{bottom:50px}
@supports not (backdrop-filter:blur(1px)){header,.material-card,.bike-narration,.weave-detail,.theme-switch,.finish-controls nav,.bike-controls nav,.weave-chapters,.application-summary article{background:var(--surface-soft)}}
@media(max-width:1100px){header nav{display:none}header{min-width:420px;justify-content:space-between}#view-toggle{width:34px;height:34px;min-width:34px;padding:0;display:inline-flex;align-items:center;justify-content:center;gap:0;border-radius:50%;flex-shrink:0;overflow:hidden;line-height:0;font-size:0}#view-toggle .view-toggle-label{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}#view-toggle .icon{width:15px;height:15px;margin:0;display:block}.weave-heading{width:42%;top:110px}.weave-heading h2{font-size:46px}.weave-graphic{left:30%}.weave-detail{max-width:240px;padding:20px}.diagram-labels{font-size:10px;gap:9px}.finish-controls button{font-size:13px;padding:13px}}
@media(max-width:700px){header{min-width:0;width:calc(100% - 24px);max-width:420px;height:58px;padding:0 14px;gap:10px}header .brand{font-size:18px;gap:7px}header .brand img{height:22px}#view-toggle{width:34px;height:34px;min-width:34px;padding:0}.theme-switch{padding:3px;gap:2px;margin-left:auto}.theme-switch button{min-height:29px;width:30px;padding:6px;justify-content:center}.theme-label{display:none}.theme-switch button .icon{width:15px;height:15px}.hero-title{padding-top:115px}.material-card,.bike-narration{padding:15px 18px;border-radius:21px}.material-card p,.bike-narration p{font-size:12px}.finish-controls nav,.bike-controls nav{padding:4px;border-radius:19px;gap:2px}.finish-controls .chapter-progress,.bike-controls .bike-progress{border-radius:19px}.finish-controls .chapter-progress,.bike-controls .bike-progress{-webkit-mask-image:linear-gradient(90deg,transparent 0%,#000 16%,#000 84%,transparent 100%);mask-image:linear-gradient(90deg,transparent 0%,#000 16%,#000 84%,transparent 100%)}.finish-controls button{padding:10px 4px;font-size:11px;min-height:48px;border-radius:15px;line-height:1.4;text-align:center}.bike-controls button{padding:9px 6px;font-size:10px;text-align:center;border-radius:15px}.bike-controls button span{font-size:11px}.application-summary article{padding:24px;border-radius:23px}.application-summary{gap:16px}
:root[data-theme=light] .hero-vehicle .car{background:#eff1f4}:root[data-theme=light] .hero-overlay{background:linear-gradient(0deg,#f2f4f7,transparent 30%,transparent 55%,#f2f4f740)}
.weave-pin{min-height:720px}.weave-heading{top:102px;left:6%;width:88%;max-width:none}.weave-heading h2{font-size:clamp(34px,9vw,48px);margin:17px 0}.weave-heading>p:not(.eyebrow){font-size:14px;line-height:1.65;max-width:95%}.weave-heading .weave-status{font-size:10px!important;margin-top:13px}
.weave-graphic{inset:300px 4% 75px 4%;width:auto;max-width:none}.weave-detail{right:0;bottom:58px;width:51%;max-width:230px;padding:13px 15px;border-radius:20px}.weave-detail .eyebrow{font-size:9px;letter-spacing:1px}.weave-detail h3{font-size:18px;margin:9px 0}.weave-detail p{font-size:11px;line-height:1.5}.diagram-labels{top:0;right:0;left:auto;padding:8px 10px;font-size:9px;gap:9px}.diagram-labels span:last-child{margin-left:3px}.diagram-labels i{width:7px;height:7px;margin-right:4px}.weave-chapters{bottom:17px;border-radius:17px;padding:4px;gap:2px}.weave-chapters span{font-size:9px;line-height:1.4;padding:9px 4px;border-radius:13px}.diagram-note{font-size:9px;bottom:-4px;left:2px}.weave-bottom{bottom:22px;gap:16px}.weave-bottom>span{font-size:10px}.overview .weave-pin{height:810px;min-height:0}.overview .weave-graphic{inset:300px 4% 65px}.overview .weave-detail{bottom:30px}
:root[data-theme=light] .finish-image{width:90%;height:55%;inset:31% -8% auto auto}.overview .finish-copy article{border-radius:23px}}
@media(max-width:700px) and (min-height:590px) and (max-height:740px){.weave-pin{min-height:0}.weave-heading{top:90px}.weave-heading h2{font-size:32px;margin:13px 0}.weave-heading>p:not(.eyebrow){font-size:12px;line-height:1.6}.weave-graphic{top:270px;bottom:65px}.weave-detail{display:none}.weave-heading .weave-status{margin-top:9px}.weave-chapters{bottom:15px}.diagram-labels{font-size:9px}}

.ui-symbol,.circle{font-variant-emoji:text}
