/* V17: a recognisable signature and a single, legible engineering story. */
.sequence .wordmark img{width:76px;height:76px;object-fit:contain}.sequence .wordmark{gap:20px;font-size:14px;letter-spacing:.28em}.story-nav .story-monogram{width:58px;min-width:58px;height:54px;display:flex;align-items:center;justify-content:center}.story-nav .story-monogram img{width:52px;height:52px;object-fit:contain}.story-nav{padding-top:5px;padding-bottom:5px}
.sequence #hero-code{opacity:.78;mask-image:linear-gradient(0deg,#000 0%,#000 38%,transparent 72%);z-index:2}.hero-work{display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:12px 21px;border:1px solid #c5dbb596;margin-top:8px;background:#152317b8;color:#f0f4e8;font-size:14px;transition:background .2s,border-color .2s}.hero-work:hover{background:#263d26;border-color:#d1ff84}.sequence .hero-copy{top:26%;}.sequence .studio-lead{max-width:390px}.sequence .hero-copy,.sequence header{animation:studio-enter 1.1s backwards}.sequence .hero-copy{animation-delay:.12s}@keyframes studio-enter{from{opacity:0;translate:0 12px}to{opacity:1;translate:0 0}}
.source-stage{background:#07130e!important}.source-journey .source-captions,.source-journey[data-act="1"] .source-captions,.source-journey[data-act="2"] .source-captions{top:auto!important;bottom:180px!important;left:6%!important;width:34%;max-width:490px}.source-journey .source-caption h2,.source-journey .source-caption h3{font-size:clamp(38px,4.4vw,68px);line-height:1.04}.source-journey .source-caption>p:last-child{font-size:16px;line-height:1.65;max-width:350px}.source-journey .source-kicker{font-size:12px;letter-spacing:.12em}.source-journey #source-canvas{z-index:2}.source-journey .source-shade{background:linear-gradient(90deg,#07130ef0 0%,#07130ea0 26%,transparent 62%),linear-gradient(0deg,#07130e,transparent 28%)}
.system-monitor.code-outcomes{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;left:43%;right:4%;width:auto;top:70%;bottom:auto;z-index:4;min-height:0!important;filter:none;will-change:auto;padding:0;background:none;border:0;border-radius:0;box-shadow:none;pointer-events:none!important}.code-result{border-top:1px solid #83b89466;padding-top:15px;position:relative}.result-symbol{font:11px/1.2 monospace;letter-spacing:.1em;color:#c7f683;display:block;margin-bottom:10px}.code-result h4{font-size:17px;font-weight:500;margin:0 0 7px;line-height:1.3;letter-spacing:-.02em;color:#eff7e8}.code-result p{font-size:13px;line-height:1.5;color:#bccfbd;margin:0}.source-meta{font-size:12px}.source-acts{gap:38px}.source-acts button{font-size:14px}.source-journey .source-footer{bottom:25px;padding-top:15px}.source-journey .source-masthead{top:34px}.source-journey[data-act="2"] .source-caption>p:last-child{font-size:16px!important}.source-journey .source-caption{transition:none!important}
@media(min-width:761px) and (max-height:760px){.source-journey .source-captions,.source-journey[data-act="1"] .source-captions,.source-journey[data-act="2"] .source-captions{bottom:145px!important}.source-journey .source-caption h2,.source-journey .source-caption h3{font-size:42px}.system-monitor.code-outcomes{top:65%;gap:16px}.code-result{padding-top:9px}.result-symbol{margin-bottom:6px}.code-result h4{font-size:15px}.code-result p{font-size:12px}.source-journey .source-footer{bottom:15px}}
@media(max-width:760px){.sequence .wordmark img{width:54px;height:54px}.sequence .wordmark{font-size:10px;letter-spacing:.18em;gap:12px}.sequence header{top:20px;left:24px;right:20px}.story-nav .story-monogram{width:48px;min-width:48px;height:46px}.story-nav .story-monogram img{width:44px;height:44px}.sequence .hero-copy{margin-top:25px;top:auto!important}.sequence .studio-lead{font-size:16px}.hero-work{font-size:14px;margin-top:20px}.sequence .mobile-talk{display:none}.sequence #hero-code{height:410px;top:auto;bottom:0;opacity:.9;mask-image:linear-gradient(0deg,#000,transparent 90%)}.sequence .ambient-toggle{font-size:12px;min-height:44px}.journey-ready .source-stage{top:68px;min-height:650px;height:calc(100svh - 68px)}.journey-ready .source-journey{height:300svh;min-height:2000px}.source-journey .source-masthead{top:18px;left:24px;right:24px}.source-journey .source-masthead .eyebrow{font-size:10px}.source-journey .source-masthead>a{font-size:11px;min-height:44px}.source-journey .source-captions,.source-journey[data-act="1"] .source-captions,.source-journey[data-act="2"] .source-captions{top:85px!important;bottom:auto!important;left:24px!important;right:24px;width:auto!important;padding:0;background:none}.source-journey .source-caption{top:0;bottom:auto}.source-journey .source-caption h2,.source-journey .source-caption h3{font-size:34px!important;margin-bottom:12px}.source-journey .source-kicker{font-size:10px;margin-bottom:12px}.source-journey .source-caption>p:last-child,.source-journey[data-act="2"] .source-caption>p:last-child{font-size:14px!important;line-height:1.55;max-width:340px}.source-journey .source-photo{top:260px!important;height:43%!important}.source-journey .source-photo img{object-position:80% center!important}.source-journey .source-shade{background:linear-gradient(#07130e 0%,#07130e 31%,transparent 43%,transparent 67%,#07130e 83%)}.system-monitor.code-outcomes{left:24px;right:24px;top:68%;gap:12px}.code-result{padding-top:10px}.result-symbol{font-size:10px;margin-bottom:8px}.code-result h4{font-size:13px;line-height:1.35;margin-bottom:6px}.code-result p{font-size:12px;line-height:1.45}.source-journey .source-footer{left:24px;right:24px;bottom:20px;padding-top:12px}.source-acts{gap:0;justify-content:space-between}.source-acts button{font-size:13px;min-height:44px}.source-meta{font-size:10px}.source-journey .source-meta span:last-child{display:none}}
@media(max-width:360px){.sequence .wordmark{font-size:9px;letter-spacing:.14em}.sequence .wordmark img{width:50px;height:50px}.source-journey .source-caption h2,.source-journey .source-caption h3{font-size:31px!important}.source-journey .source-masthead{gap:10px}.source-journey .source-masthead .eyebrow{max-width:150px}.source-journey .source-caption>p:last-child,.source-journey[data-act="2"] .source-caption>p:last-child{font-size:13px!important}.system-monitor.code-outcomes{gap:9px}.code-result h4{font-size:12px}.code-result p{font-size:11px}}
.reading .source-stage,.journey-static .source-stage{height:auto!important;min-height:0!important}.reading .source-journey .source-captions,.journey-static .source-journey .source-captions{position:relative;inset:auto!important;width:auto!important;max-width:720px;padding:0!important}.reading .source-journey .source-caption,.journey-static .source-journey .source-caption{position:relative;inset:auto!important;margin:32px 0}.reading .source-journey .source-photo,.journey-static .source-journey .source-photo{position:relative!important;inset:auto!important;height:330px!important}.reading .code-outcomes,.journey-static .code-outcomes{position:relative;inset:auto;opacity:1!important;transform:none!important;margin:35px 0!important;min-height:0!important}.reading .source-footer,.journey-static .source-footer{position:relative;inset:auto}.reading .source-meta,.journey-static .source-meta{display:none}.reading .hero-copy,.reading .sequence header{animation:none}.reading #hero-code{display:none}
@media(prefers-reduced-motion:reduce){.sequence .hero-copy,.sequence header{animation:none}.hero-work{transition:none}}

/* Keep every chapter on the same reading baseline. */
@media(min-width:761px){.source-journey .source-caption[data-act]{top:auto!important;bottom:0!important}.source-journey .source-caption[data-act] h3{font-size:clamp(38px,4.4vw,68px)!important}.source-journey .source-caption[data-act] h3 br{display:block!important}.source-journey .source-caption[data-act] .source-kicker{display:block!important}}
@media(min-width:761px) and (max-height:760px){.source-journey .source-caption[data-act] h3{font-size:42px!important}}
@media(max-width:760px){.source-journey[data-act] .source-captions{top:85px!important;bottom:auto!important}.source-journey .source-caption[data-act]{top:0!important;bottom:auto!important}}
.reading .source-journey .source-caption[data-act],.journey-static .source-journey .source-caption[data-act]{inset:auto!important}

@media(min-width:761px) and (max-width:1000px){.system-monitor.code-outcomes{top:62%;gap:14px}.code-result h4{font-size:14px}.code-result p{font-size:12px}}
.reading .source-stage,.journey-static .source-stage{display:flex;flex-direction:column;gap:25px}.reading .source-masthead,.journey-static .source-masthead{order:0}.reading .source-journey .source-captions,.journey-static .source-journey .source-captions{order:1;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:32px;max-width:none;width:100%!important}.reading .source-journey .source-caption[data-act],.journey-static .source-journey .source-caption[data-act]{width:auto;margin:0}.reading .source-journey .source-caption[data-act] h2,.reading .source-journey .source-caption[data-act] h3,.journey-static .source-journey .source-caption[data-act] h2,.journey-static .source-journey .source-caption[data-act] h3{font-size:34px!important}.reading .code-outcomes,.journey-static .code-outcomes{order:2;width:100%;margin:0!important}.reading .source-footer,.journey-static .source-footer{display:none}
@media(max-width:760px){.reading .source-journey .source-captions,.journey-static .source-journey .source-captions{grid-template-columns:1fr;gap:25px}.reading .source-journey .source-caption[data-act] h2,.reading .source-journey .source-caption[data-act] h3,.journey-static .source-journey .source-caption[data-act] h2,.journey-static .source-journey .source-caption[data-act] h3{font-size:28px!important}}
