/* Engine Court: real interface captures, presented as a guided product story. */
.ec-feature{--ec-accent:#b9d6fa}.ec-feature-grid{display:grid;grid-template-columns:1fr 1.2fr;gap:5%;align-items:center;padding:64px 0}.ec-feature-copy h2{font:600 clamp(44px,5.5vw,82px)/1.02 Archivo,sans-serif;letter-spacing:-.055em;margin:18px 0 24px}.ec-feature em,.ec-intro em{font-style:normal;color:#b9d6fa}.ec-feature-copy>p:not(.case-label){max-width:430px;line-height:1.7;color:#b6becb;font-size:16px}.ec-button{display:inline-flex;align-items:center;justify-content:center;gap:24px;min-height:44px;padding:11px 18px;border:1px solid #465265;border-radius:4px;background:#151e2b;color:#f5f2ed;font:500 13px 'DM Sans',sans-serif;text-decoration:none;cursor:pointer}.ec-button--primary{background:#c1d9f8;color:#101923;border-color:#c1d9f8;margin-top:24px}.ec-fine{display:block;font-size:12px;color:#aab4c3;margin-top:14px}.ec-feature-preview{display:block;color:inherit;text-decoration:none;border:1px solid #344155;border-radius:8px;overflow:hidden;background:#0b1220;transition:transform .3s}.ec-feature-preview:hover{transform:translateY(-5px)}.ec-window{height:44px;display:flex;justify-content:space-between;align-items:center;padding:0 16px;background:#111a28;color:#aebbcf;font:11px 'IBM Plex Mono',monospace;border-bottom:1px solid #2b3545}.ec-feature-image{aspect-ratio:1.65;overflow:hidden;position:relative}.ec-feature-image img{position:absolute;width:125%;max-width:none;left:-20%;top:0}.ec-feature-caption{padding:24px;display:grid;gap:10px}.ec-feature-caption strong{font-size:20px}.ec-feature-caption span{font-size:12px;color:#b9c8dc}.ec-content-link{padding:24px 0;border-top:1px solid #36404d;display:flex;justify-content:space-between;gap:24px;align-items:center;color:#e9edf4;text-decoration:none}.ec-content-link small{display:block;letter-spacing:.12em;font-size:9px;color:#a9b4c3;margin-bottom:10px}.ec-content-link strong{font-size:19px}.ec-content-link>span:last-child{font-size:13px}
#engine-system{background:#080d15}.ec-intro{padding:90px 0 30px;display:grid;grid-template-columns:1.3fr 1fr;gap:40px;align-items:end}.ec-intro h3{font:600 clamp(34px,4.2vw,64px)/1.06 Archivo,sans-serif;letter-spacing:-.045em;margin:16px 0 0}.ec-intro>p{font-size:15px;line-height:1.8;color:#aab6c7;margin:0 0 4px;max-width:420px}.ec-intro>p strong{font-weight:400;color:#e6edf6}.ec-tour{padding:0 0 38px}.ec-tour-toolbar{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:15px 0}.ec-tour-toolbar>span{font:10px 'IBM Plex Mono',monospace;letter-spacing:.12em;color:#c0cee0}.ec-tour-toolbar small{display:block;font:11px 'DM Sans',sans-serif;letter-spacing:0;color:#9aa9bd;margin-top:6px}.ec-tour-toolbar>div{display:flex;gap:8px}.ec-icon-button{width:44px;height:44px;font-size:24px;color:#d5e3f6;border:1px solid #465265;border-radius:4px;background:transparent;cursor:pointer}.ec-tour-layout{display:grid;grid-template-columns:minmax(0,1.9fr) minmax(230px,1fr);border:1px solid #2f3e53;border-radius:8px;overflow:hidden;background:#0e1725}.ec-visual{min-width:0;align-self:stretch;display:flex;flex-direction:column;border-right:1px solid #2f3e53}.ec-window button{background:none;border:0;padding:10px 0;color:#c1d9f8;font:12px 'DM Sans',sans-serif;cursor:pointer;min-height:40px}.ec-stage{position:relative;height:340px;overflow:hidden;background:#0d1423;flex:1;min-height:300px}.ec-stage img{position:absolute;max-width:none;width:var(--shot-width,120%);left:var(--shot-left,-19%);top:var(--shot-top,0);height:auto;transform-origin:50% 35%}.ec-stage.is-playing img{animation:ec-drift 9s ease-out both}.ec-stage img[data-scene="1"]{--shot-width:220%;--shot-left:-120%;--shot-top:-2%}.ec-stage img[data-scene="2"]{--shot-width:90%;--shot-left:5%;--shot-top:-40%}.ec-stage img[data-scene="3"]{--shot-width:200%;--shot-left:0;--shot-top:-75%}.ec-progress{height:3px;background:#263347;overflow:hidden}.ec-progress span{display:block;width:0;height:100%;background:#c1d9f8}.ec-story{padding:30px;display:flex;flex-direction:column;align-items:flex-start;min-width:0}.ec-scene-number{font:12px 'IBM Plex Mono',monospace;color:#8293ab;margin-bottom:25px}.ec-role{font:10px 'IBM Plex Mono',monospace;letter-spacing:.12em;color:#b9d6fa}.ec-story h4{font:500 clamp(28px,2.5vw,40px)/1.1 Archivo,sans-serif;letter-spacing:-.03em;margin:14px 0}.ec-story>p{font-size:14px;line-height:1.65;color:#bcc7d7;margin:0}.ec-detail{margin-top:24px;border-top:1px solid #304057;padding-top:16px}.ec-detail>span{font:9px 'IBM Plex Mono',monospace;letter-spacing:.12em;color:#92a6c1}.ec-detail p{font-size:12px;line-height:1.6;color:#c9d3e1;margin:8px 0 0}.ec-tabs{display:grid;grid-template-columns:repeat(4,1fr);margin-top:18px;gap:10px}.ec-tabs button{display:flex;text-align:left;align-items:center;gap:12px;min-height:58px;padding:12px;border:1px solid #2e3a4a;border-radius:4px;background:transparent;color:#98a7bc;cursor:pointer}.ec-tabs button[aria-selected=true]{color:#e8f1ff;background:#18263a;border-color:#91b5e5}.ec-tabs span{font:11px 'IBM Plex Mono',monospace}.ec-tabs strong{font:500 12px 'DM Sans',sans-serif}.ec-tour-note{font-size:11px;color:#94a3b8;margin:14px 0 0;line-height:1.6}.ec-contribution{border-top:1px solid #2e3a4a;padding:46px 0 70px;display:grid;grid-template-columns:1fr 1fr;gap:10%}.ec-contribution h4{font:500 40px/1.1 Archivo,sans-serif;letter-spacing:-.035em;margin:18px 0}.ec-contribution p{font-size:15px;line-height:1.7;color:#afbdcf;max-width:440px}.ec-contribution-list>div{border-bottom:1px solid #293549;padding:0 0 14px;margin-bottom:22px}.ec-contribution-list span{font:10px 'IBM Plex Mono',monospace;color:#b9d6fa;letter-spacing:.1em}.ec-contribution-list p{margin:8px 0 0}.ec-original{position:fixed;inset:0;width:94vw;max-width:1600px;height:90dvh;max-height:90dvh;padding:18px;border:1px solid #60728c;border-radius:8px;background:#0c1420;color:#edf3fb;margin:auto!important;box-sizing:border-box}.ec-original::backdrop{background:#000c}.ec-original header{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:16px}.ec-original h4{font-size:15px}.ec-original>div{height:calc(100% - 110px);overflow:auto}.ec-original img{display:block;width:100%;min-width:850px;max-width:none}.ec-original>p{font-size:12px;color:#acbad0;margin:12px 0}.ec-button:focus-visible,.ec-tabs button:focus-visible,.ec-window button:focus-visible,.ec-icon-button:focus-visible,.ec-feature a:focus-visible{outline:3px solid #e9d7ae;outline-offset:4px}@keyframes ec-drift{from{transform:scale(1)}to{transform:scale(1.035)}}
@media(max-width:700px){.ec-feature-grid{grid-template-columns:1fr;gap:30px;padding:34px 0}.ec-feature-copy h2{font-size:49px}.ec-feature-copy>p:not(.case-label){font-size:14px}.ec-content-link{align-items:flex-start;flex-direction:column;gap:18px}.ec-content-link strong{font-size:17px}.ec-intro{padding:82px 0 20px;display:block}.ec-intro .case-label{max-width:270px;font-size:9px;line-height:1.8}.ec-intro h3{font-size:37px}.ec-intro>p{font-size:13px;margin-top:18px}.ec-tour-toolbar{gap:8px}.ec-tour-toolbar>span{font-size:8px;letter-spacing:.04em}.ec-tour-toolbar small{font-size:9px;max-width:130px}.ec-tour-toolbar .ec-button{font-size:11px;padding:9px}.ec-tour-layout{display:flex;flex-direction:column}.ec-visual{border-right:0;border-bottom:1px solid #2f3e53}.ec-stage{height:255px;min-height:255px;flex:none}.ec-stage img{--shot-width:210%;--shot-left:-108%;--shot-top:0}.ec-stage img[data-scene="1"]{--shot-width:410%;--shot-left:-310%;--shot-top:-8%}.ec-stage img[data-scene="2"]{--shot-width:113%;--shot-left:-6%;--shot-top:-26%}.ec-stage img[data-scene="3"]{--shot-width:290%;--shot-left:0;--shot-top:-67%}.ec-story{padding:22px}.ec-scene-number{margin-bottom:12px}.ec-story h4{font-size:30px}.ec-story h4 br{display:none}.ec-story>p{font-size:13px}.ec-detail{margin-top:16px;padding-top:12px}.ec-tabs{grid-template-columns:1fr 1fr;gap:8px;margin-top:12px}.ec-tabs button{min-height:54px;padding:10px;gap:8px}.ec-tabs strong{font-size:11px}.ec-contribution{grid-template-columns:1fr;gap:24px;padding:30px 0 50px}.ec-contribution h4{font-size:34px}.ec-window{padding:0 12px;font-size:9px}.ec-window button{font-size:11px}}
@media(prefers-reduced-motion:reduce){.ec-stage.is-playing img{animation:none}.ec-feature-preview{transition:none}}

.ec-stage{min-height:360px}.ec-tour{scroll-margin-top:85px}.ec-stage img{transform-origin:center}.ec-feature-image img{width:165%;left:0;top:0}@media(max-width:700px){.ec-stage{height:330px;min-height:330px}}

/* the site-wide link colour was overriding the dark label on the light button */
#case-engine a.ec-button.ec-button--primary,#case-engine a.ec-button.ec-button--primary:visited{color:#0d1622;font-weight:600}
#case-engine a.ec-button.ec-button--primary:hover{background:#e3eefc;border-color:#e3eefc}

/* ------------------------------------------------------------------
   The walkthrough. A real screen recording replaces the panned
   screenshots: the chapter list drives it and follows it back, so the
   visitor can jump to the part of the workflow they care about.
------------------------------------------------------------------ */
.ec-film{padding:0 0 40px}
.ec-film-bar{display:flex;justify-content:space-between;align-items:baseline;gap:16px;padding:15px 0}
.ec-film-bar>span:first-child{font:10px "IBM Plex Mono",monospace;letter-spacing:.12em;color:#c0cee0}
.ec-film-bar small{display:block;font:11px "DM Sans",sans-serif;letter-spacing:0;color:#9aa9bd;margin-top:6px}
.ec-film-time{font:10px "IBM Plex Mono",monospace;letter-spacing:.12em;color:#8ea0b8;white-space:nowrap}
.ec-film-layout{display:grid;grid-template-columns:minmax(0,1.85fr) minmax(250px,1fr);gap:22px;align-items:start}
.ec-film-player{border:1px solid #2f3e53;border-radius:8px;overflow:hidden;background:#0b1220}
.ec-film-player .ec-window a{color:#c1d9f8;font:12px "DM Sans",sans-serif;text-decoration:none}
.ec-film-player .ec-window a:hover{text-decoration:underline}
.ec-film-player video{display:block;width:100%;height:auto;background:#05090f}
.ec-chapters{list-style:none;margin:0;padding:0;display:grid;gap:8px;counter-reset:none}
.ec-chapters button{display:grid;gap:5px;width:100%;text-align:left;padding:12px 14px;border:1px solid #2a3547;border-left-width:2px;border-radius:4px;background:transparent;color:#9fadc1;cursor:pointer;font:inherit}
.ec-chapters span{font:10px "IBM Plex Mono",monospace;letter-spacing:.1em;color:#7e91ab}
.ec-chapters strong{font:500 13px "DM Sans",sans-serif;color:#dbe5f2}
.ec-chapters small{font:12px/1.55 "DM Sans",sans-serif;color:#94a2b6}
.ec-chapters button:hover{border-color:#42546d;color:#cfdaea}
.ec-chapters .is-current button{background:#16233a;border-color:#2f3e53;border-left-color:#91b5e5}
.ec-chapters .is-current span{color:#b9d6fa}
.ec-chapters .is-current strong{color:#f2f6fc}
.ec-chapters button:focus-visible{outline:3px solid #e9d7ae;outline-offset:3px}
@media(max-width:900px){.ec-film-layout{grid-template-columns:1fr}.ec-chapters small{display:none}.ec-chapters button{grid-template-columns:auto 1fr;align-items:baseline;gap:4px 12px}}
@media(max-width:700px){.ec-film-bar{flex-direction:column;gap:6px}.ec-film{padding-bottom:26px}}
