/* Singular homepage motion layer. Everything here can be switched off by html.still. */
@property --ang{syntax:"<angle>";inherits:false;initial-value:0deg}
html{scroll-padding-top:92px}
.skip{z-index:40}

/* Header stays with you, and the needle under it fills as you scroll */
.top{position:sticky;top:0;z-index:30;background:rgba(14,16,18,.94);-webkit-backdrop-filter:blur(14px) saturate(1.2);backdrop-filter:blur(14px) saturate(1.2)}
.prog{position:absolute;left:0;right:0;bottom:-2px;height:3px;background:linear-gradient(90deg,#1667A8,#8FD3FF 50%,#1667A8);clip-path:polygon(0 50%,50% 0,100% 50%,50% 100%);transform:scaleX(var(--p,0));pointer-events:none}

/* Hero: plain brushed platinum, words on the left */
.hero .in{display:block;padding-top:56px;padding-bottom:56px}
@media(max-width:860.98px){
.hero .in{text-align:center}
.hero h1 span{margin-left:auto;margin-right:auto}
.hero .needle{width:min(100%,720px);margin-left:auto;margin-right:auto}
.hero .lead{margin-left:auto;margin-right:auto}
.hero .go{justify-content:center}
}
@media(min-width:861px){.hero h1{font-size:clamp(52px,5.7vw,88px)}}
@media(min-width:861px) and (max-height:820px){.hero h1{font-size:clamp(46px,4.9vw,66px)}}

/* The engine picture and its live job queue */
.wire{position:absolute;inset:0;width:100%;height:100%;z-index:1;pointer-events:none}
.shot{will-change:transform}
/* Like the hero shimmer, the photo's loops run without end: slow breaths in and out, and light glides across it.
   They pause while the section is off screen (motion.js adds .awake while it is on screen).
   They run only with scripts on (.js), where the Pause button shows. With scripts off the page has no Pause button, so the
   photo, its light, the hero needle's glow and the top job's dot hold still there (round 24, M1). */
.shot img{transform-origin:62% 48%}
.js .shot img,.js .shot .tone{animation:breathe 24s ease-in-out infinite alternate}
/* The light stays on the photo: its holder (.gl) covers exactly the photo's box and clips the band to it, and on wider
   screens it fades in from the left the same way the photo does (below), so no light crosses the dark band beside the photo */
.shot .gl{position:absolute;inset:0;z-index:1;overflow:hidden;overflow:clip;mix-blend-mode:screen;pointer-events:none}
.shot .gl::before{content:"";position:absolute;top:-10%;bottom:-10%;left:0;width:34%;background:linear-gradient(100deg,transparent,rgba(143,211,255,.12) 48%,rgba(143,211,255,.2) 50%,rgba(143,211,255,.12) 52%,transparent);transform:translateX(-120%) skewX(-14deg)}
.js .shot .gl::before{animation:glide 8s var(--ease) 1.4s infinite}
/* The photo's gold line along the cylinder tops can look like a second marker wire (round 16, finding 7), so a soft band laid
   over just that line takes its color out, and only the marker's line reads as yellow. engine.jpg itself is unchanged.
   The band is drawn in the photo's own pixels (1800 x 1260) and sized and placed the way the photo is (cover, the same position),
   with the same breathing zoom, glide, fade and mask at every width, so it stays on the line. Its "saturation" blend keeps
   the photo's own light and shade and removes only the color. Its fill is the section's black, so where the photo has faded
   out it matches what is already there. Browsers without the blend don't show it. */
.shot .tone{position:absolute;top:0;left:0;width:100%;height:100%;pointer-events:none;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1800' height='1260' viewBox='0 0 1800 1260'%3E%3Cfilter id='b'%3E%3CfeGaussianBlur stdDeviation='3'/%3E%3C/filter%3E%3Cpath filter='url(%23b)' fill='%230E1012' d='M-20 524L1120 381L1120 421L-20 562Z'/%3E%3C/svg%3E") 32% 50%/cover no-repeat;mix-blend-mode:saturation;transform-origin:62% 48%;-webkit-mask-image:linear-gradient(90deg,transparent 8%,rgba(0,0,0,.2) 40%,#000 70%);mask-image:linear-gradient(90deg,transparent 8%,rgba(0,0,0,.2) 40%,#000 70%)}
@supports not (mix-blend-mode:saturation){.shot .tone{display:none}}
.mo-ok .door:not(.awake) .shot img,.mo-ok .door:not(.awake) .shot .tone,.mo-ok .door:not(.awake) .shot .gl::before,.mo-ok .door:not(.awake) .card.now .chip::before{animation-play-state:paused}
@keyframes breathe{from{transform:scale(1)}to{transform:scale(1.075)}}
@keyframes glide{0%{transform:translateX(-120%) skewX(-14deg)}46%,100%{transform:translateX(330%) skewX(-14deg)}}
/* The shimmer runs without end; Pause and reduced motion stop it */
.js h1 span{background-size:240% 100%;animation:unmask 1s var(--ease) .12s both,sheen 9s ease-in-out 1.6s infinite}
.js h1 span:nth-child(2){animation-delay:.3s,2.1s}
@keyframes unmask{from{clip-path:inset(0 0 100% 0);transform:translateY(.46em)}to{clip-path:inset(-12% -4% -20% -4%);transform:none}}
@keyframes sheen{0%,62%,100%{background-position:0 0}82%{background-position:100% 0}}
.hero .needle i{animation:draw 1.05s var(--ease) .42s both}
.hero .needle::after{animation:dot .4s var(--ease) .42s both}
/* The endless glow only with scripts on, where the Pause button shows (round 24, M1). Same weight as .mo-ok's rule below, which comes later and wins. */
.js .hero .needle::after{animation:dot .4s var(--ease) .42s both,core 3.4s ease-in-out 1.6s infinite}
/* A blue glow: deep blue on platinum, light blue in the dark bands */
@keyframes core{0%,100%{box-shadow:0 0 5px 1px var(--glow)}50%{box-shadow:0 0 18px 5px var(--glow)}}
.cards.settled>*{animation:none}
.card{position:relative;overflow:hidden}
.card .run{position:absolute;left:0;right:0;bottom:0;height:3px;background:var(--blue);transform:scaleX(0);transform-origin:left}
.card.working .run{transform:scaleX(1);transition:transform 1.6s linear}
.card.finished{border-color:var(--blue);background:rgba(220,231,241,.97)}
.card.finished .run{transform:scaleX(1)}
.card.finished .chip::before{width:10px;height:5px;margin-top:-3px;border-radius:0;background:none;border:solid currentColor;border-width:0 0 1.5px 1.5px;transform:rotate(-45deg)}
.card.leaving{opacity:0;transform:translateX(34px);transition:opacity .34s,transform .34s var(--ease)}
/* While someone works on a job, its alert tag stays and the line under the title turns blue */
.card.working span.d{color:var(--blue-t)}
/* A tag's fill and words change in the same instant, so the words never flash pale on the light card */
.card .chip{transition:none}
.card span.d{transition:color .25s}
.lock{position:absolute;z-index:1;left:0;top:0;width:58px;height:58px;margin:-29px 0 0 -29px;pointer-events:none;opacity:0;--k:var(--hot);transition:opacity .3s;background:linear-gradient(var(--k),var(--k)) 0 0/14px 1.5px,linear-gradient(var(--k),var(--k)) 0 0/1.5px 14px,linear-gradient(var(--k),var(--k)) 100% 0/14px 1.5px,linear-gradient(var(--k),var(--k)) 100% 0/1.5px 14px,linear-gradient(var(--k),var(--k)) 0 100%/14px 1.5px,linear-gradient(var(--k),var(--k)) 0 100%/1.5px 14px,linear-gradient(var(--k),var(--k)) 100% 100%/14px 1.5px,linear-gradient(var(--k),var(--k)) 100% 100%/1.5px 14px;background-repeat:no-repeat}
.lock::after{content:"";position:absolute;left:50%;top:50%;width:6px;height:6px;margin:-3px 0 0 -3px;border-radius:50%;background:var(--k);box-shadow:0 0 14px 4px var(--k)}
/* Once the marker locks on, its dot keeps pulsing */
.lock.on::after{animation:pulse 1.2s ease-in-out infinite}
.lock.on{opacity:1}
.lock.on>i{display:block;position:absolute;inset:0;animation:lockin .5s var(--ease)}
@keyframes lockin{from{outline:1px solid var(--k);outline-offset:26px;opacity:.9}to{outline:1px solid transparent;outline-offset:-4px;opacity:0}}
.wire path{fill:none;stroke:var(--k,#FF8174);stroke-width:1;stroke-dasharray:1;stroke-dashoffset:1;opacity:.82}
.wire.on path{stroke-dashoffset:0;transition:stroke-dashoffset .62s var(--ease)}
/* The light-blue location marker (Spark plugs fit here) stays blue, with a near-black halo round its ring corners, its dot
   and its line, so it reads on the bright plug boots. The red alert marker gets the same halo (below); yellow is unchanged. */
.wire path.cs{display:none;stroke:#0E1012;stroke-width:3.5;opacity:.85}
.wire.k path.cs{display:inline}
.wire.k path:not(.cs){opacity:1}
.lock.k{filter:drop-shadow(0 0 1px #0E1012) drop-shadow(0 0 1.5px #0E1012) drop-shadow(0 0 1px #0E1012)}
/* The red alert marker (#FF8174) was faint on the bright grey cylinder heads (round 27, P4), so it gets the same near-black
   halo round its ring corners, its dot and its line, and its line is drawn at full strength. It stays red. */
.wire.rd path.cs{display:inline}
.wire.rd path:not(.cs){opacity:1}
.lock.rd{filter:drop-shadow(0 0 1px #0E1012) drop-shadow(0 0 1.5px #0E1012) drop-shadow(0 0 1px #0E1012)}

/* Machine names drifting past, faster when you scroll */
.ticker{position:relative;overflow:hidden;padding:44px 0 0;background:var(--page)}
.tk{display:inline-flex;align-items:center;gap:44px;white-space:nowrap;will-change:transform;font-family:var(--head);font-size:clamp(50px,7.4vw,112px);line-height:1.1;font-weight:200;font-stretch:112%;color:transparent;-webkit-text-stroke:1px #6A6E75}
.tk i{flex:none;display:block;width:clamp(44px,5vw,76px);height:3px;background:var(--blue);clip-path:polygon(0 50%,50% 0,100% 50%,50% 100%)}
.tk b{font-weight:200}
.tk b.hit{color:var(--blue);-webkit-text-stroke:0}
.ticker+.sec{padding-top:72px}

/* Headlines rise word by word */
.rv-ok h2.t.rv:not(.seen){opacity:1;transform:none}
.wd{display:inline-block;overflow:hidden;vertical-align:top;padding:0 .05em .18em;margin:0 -.05em -.18em}
.wd>i{display:inline-block;font-style:normal;transition:transform .86s var(--ease);transition-delay:calc(var(--i,0)*62ms)}
.rv-ok .wd>i{transform:translateY(118%)}
.seen .wd>i{transform:none}

/* Platinum bands open out and catch the light */
.sec.pt,.facts{overflow:clip}
.js .sec.pt{clip-path:inset(0 calc((1 - var(--o,1))*min(4vw,58px)))}
.sec.pt>.wrap,.facts>.wrap{position:relative;z-index:1}
.sec.pt::before,.facts::before{content:"";position:absolute;top:0;bottom:0;left:-40%;width:42%;background:linear-gradient(100deg,transparent,var(--sheen) 50%,transparent);transform:translateX(calc(var(--g,0)*340%)) skewX(-12deg);pointer-events:none;will-change:transform}

/* Staggered cards and self-drawing icons */
.tiles>.rv,.panels>.rv{transition-delay:calc(var(--i,0)*80ms)}
.tile:hover,.tile.seen:hover{transition-delay:0s}
.tile svg *{transition:stroke-dashoffset 1.25s var(--ease);transition-delay:calc(var(--i,0)*80ms + .18s)}
/* Icons start undrawn only when both scripts that draw them in have run */
.rv-ok.mo-ok .tile svg *{stroke-dasharray:1;stroke-dashoffset:1}
.rv-ok.mo-ok .tile.seen svg *{stroke-dashoffset:0}
a.tile:hover svg *{animation:redraw .9s var(--ease)}
@keyframes redraw{from{stroke-dashoffset:1}to{stroke-dashoffset:0}}
.tile svg{transition:transform .3s var(--ease)}
a.tile:hover svg{transform:translateY(-3px)}

/* Panels play when they arrive */
.rv-ok .panel:not(.seen) .vis>*{opacity:0;transform:translateX(-16px)}
.panel .vis>*{transition:opacity .5s var(--ease),transform .5s var(--ease),border-color .24s,background .24s;transition-delay:calc(var(--r,0)*90ms + .22s)}
.gauge i{transform-origin:left;transition:transform 1.25s var(--ease) .5s}
.rv-ok .gauge i{transform:scaleX(0)}
.panel.seen .gauge i{transform:none}
.gauge u{transition:opacity .3s 1.3s}
.rv-ok .gauge u{opacity:0}
.panel.seen .gauge u{opacity:1}
/* The warning dot sits inside the filled yellow tag, so it is dark */
.panel em.late::before{content:"";display:inline-block;width:6px;height:6px;margin-right:7px;border-radius:50%;background:var(--safety-ink);vertical-align:2px}
/* It keeps pulsing once its panel is on screen */
.panel.seen em.late::before{animation:pulse 2.4s ease-in-out .6s infinite}
/* The sample search is a blue outline button with an arrow: a tap, click, Enter or Space runs the next sample search (motion.js).
   Its words are #125A94 on #E9EBED (6.0:1), #DCE7F1 on hover (5.7:1) and #D0DEEC while pressed (5.3:1).
   The line under it is plain text with no box and no caret, so it doesn't look like a field to type in.
   Its "Sample" tag (#50545B on #E9EBED, 6.3:1) says it searches only the made-up records shown under it. */
.find{justify-self:start;display:inline-flex;align-items:center;gap:12px;max-width:100%;min-height:48px;padding:0 16px;border:1px solid var(--blue);background:transparent;font:inherit;font-size:16px;font-weight:500;color:var(--blue-t);text-align:left;cursor:pointer}
.find:hover{background:#DCE7F1;transition-delay:0s}
.find:hover .ar{width:32px}
.find:active{background:#D0DEEC;transition-delay:0s}
.fq{display:flex;align-items:center;gap:8px;min-height:28px;font-size:16px;color:var(--soft)}
.fq svg{flex:none;width:17px;height:17px;fill:none;stroke:var(--soft);stroke-width:1.6}
.fq .q{font-weight:600;color:var(--text)}
.fq .smp{flex:none;margin-left:auto;padding:1px 8px;border:1px solid var(--line2);font-size:13px;line-height:1.35;letter-spacing:.03em;color:var(--mute)}
.li.match{border-color:var(--blue);background:#DCE7F1;transition-delay:0s}

/* The phone plays the breakdown by itself */
.phone{position:relative}
.step{position:relative;overflow:hidden}
.step::after{content:"";position:absolute;left:0;right:0;bottom:0;height:3px;background:var(--blue);transform:scaleX(0);transform-origin:left}
.autoplay .step[aria-current=step]::after{animation:stepfill var(--d,3s) linear both}
.autoplay.held .step[aria-current=step]::after{animation-play-state:paused}
@keyframes stepfill{from{transform:scaleX(0)}to{transform:scaleX(1)}}
/* Dark ring with a light edge, so it shows on the light phone screen */
.tap{position:absolute;z-index:3;left:0;top:0;width:34px;height:34px;margin:-17px 0 0 -17px;border-radius:50%;background:rgba(22,103,168,.22);border:2px solid #0E1012;box-shadow:0 0 0 1.5px rgba(241,242,244,.9),0 4px 14px rgba(0,0,0,.45);opacity:0;pointer-events:none;transition:left .56s var(--ease),top .56s var(--ease),opacity .25s}
.tap.on{opacity:1}
.tap.hit{animation:press .42s var(--ease)}
.tap::after{content:"";position:absolute;inset:-2px;border-radius:50%;border:2px solid var(--blue);opacity:0}
.tap.hit::after{animation:ripple .56s var(--ease)}
@keyframes press{50%{transform:scale(.72)}}
@keyframes ripple{from{opacity:.9;transform:scale(.7)}to{opacity:0;transform:scale(2.5)}}
.scrn.go-in{animation:scrnin .46s var(--ease)}
@keyframes scrnin{from{opacity:0;transform:translateX(26px)}to{opacity:1;transform:none}}
.scrn.go-in .rowi,.scrn.go-in .opts button{animation:rowin .46s var(--ease) backwards}
.scrn.go-in .rowi:nth-of-type(2),.scrn.go-in .opts button:nth-child(2){animation-delay:.06s}
.scrn.go-in .rowi:nth-of-type(3),.scrn.go-in .opts button:nth-child(3){animation-delay:.12s}
.scrn.go-in .rowi:nth-of-type(4),.scrn.go-in .opts button:nth-child(4){animation-delay:.18s}
@keyframes rowin{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:none}}

/* Machine chips deal in */
.mach.dl button{animation:deal .42s var(--ease) backwards;animation-delay:calc(var(--i,0)*48ms)}
@keyframes deal{from{opacity:0;transform:translateY(12px) scale(.94)}to{opacity:1;transform:none}}

/* AI and energy: the engine picture */
/* Never taller than the screen under the header, so the whole picture fits on a 1280 x 720 screen */
.door{display:flex;align-items:center;min-height:clamp(560px,min(48vw,100svh - 76px),820px);padding:0;background:var(--black)}
.door::before{display:none}
.door .shot img{position:static;width:100%;height:100%;object-position:32% 50%;filter:contrast(1.08) saturate(.6) brightness(1.08)}
.door .copy{max-width:560px}
.door .btn{margin-top:26px}
/* The photo's top and bottom shade runs the full width, so there is no seam where the photo starts */
@media(min-width:861px){.door::after{content:"";position:absolute;inset:0;z-index:0;pointer-events:none;background:linear-gradient(180deg,rgba(4,4,5,.42),transparent 24%,transparent 76%,rgba(4,4,5,.62))}}
/* Mid-size screens: the words sit above the cards on the left, so the engine on the right stays clear for the marker */
@media(min-width:861px) and (max-width:1180.98px){
 /* Room above the small heading and below the third card, so neither sits on the section's edge */
 .door{padding:40px 0}
 .door .in{grid-template-columns:minmax(0,560px);row-gap:36px}
 .door .cards{justify-self:start;width:400px;max-width:100%}
 /* Here the small print sits over the photo, which shows at up to about 55% under its last words near 861 px (a light
    cylinder head in some jobs). A near-black backing under just the small print keeps #A2A6AD at 6.4:1 or better even
    over pure white, so every frame of the photo's glide, zoom and light is covered. The padding is given back by negative
    margins, so the words, their line breaks and the layout stay exactly where they were. From 1181 px the photo is faint
    there, and on phones the words sit above the photo, so neither needs it.
    It shows no box (round 24, J2). The old backing's box shadow ended in a dark rectangle across the cylinder heads, so the
    backing is now its own layer under the words (::before) with no edge or corner: solid rgba(4,4,5,.88) under the words
    and their 3 px and 10 px padding, so every word keeps 6.4:1 or better over pure white, as before. Outside that it fades out
    in eased steps: over 30 px above and below, over 30 px on the left (where there is no photo), and over 96 px past the
    words' right end, where the photo is brightest. Once the words have risen in, it is painted under the button above,
    and it ends before the cards below (they start about 33 px under the padding).
    It sits in the words' layer, above the marker, so the marker's spot picker (motion.js, backing) treats this whole area,
    fades included, as blocked: no ring goes under it, and the label keeps off it wherever it can (round 25, 1). */
 .door small{position:relative;width:fit-content;margin:11px -10px -3px;padding:3px 10px}
 .door small::before{content:"";position:absolute;z-index:-1;top:-30px;bottom:-30px;left:-30px;right:-96px;pointer-events:none;background:linear-gradient(90deg,rgba(4,4,5,0),rgba(4,4,5,.45) 15px,rgba(4,4,5,.88) 30px,rgba(4,4,5,.88) calc(100% - 96px),rgba(4,4,5,.62) calc(100% - 70px),rgba(4,4,5,.3) calc(100% - 42px),rgba(4,4,5,.1) calc(100% - 18px),rgba(4,4,5,0));-webkit-mask-image:linear-gradient(180deg,transparent,rgba(0,0,0,.12) 8px,rgba(0,0,0,.45) 16px,rgba(0,0,0,.85) 24px,#000 30px,#000 calc(100% - 30px),rgba(0,0,0,.85) calc(100% - 24px),rgba(0,0,0,.45) calc(100% - 16px),rgba(0,0,0,.12) calc(100% - 8px),transparent);mask-image:linear-gradient(180deg,transparent,rgba(0,0,0,.12) 8px,rgba(0,0,0,.45) 16px,rgba(0,0,0,.85) 24px,#000 30px,#000 calc(100% - 30px),rgba(0,0,0,.85) calc(100% - 24px),rgba(0,0,0,.45) calc(100% - 16px),rgba(0,0,0,.12) calc(100% - 8px),transparent)}
}
/* Wider screens: when a part sits too high, the photo glides down a little (set by the script; from 1181 px only when no
   spot fits otherwise, round 32, P4). From 1181 px the picture glides inside its own box (object-position), so no empty
   band opens above it (round 33, 1); 861 to 1180 px move the box (translate), with its edge kept under the header. */
@media(min-width:861px){.door .shot img{transition:translate .9s var(--ease),object-position .9s var(--ease)}.door .shot .tone{transition:translate .9s var(--ease),background-position .9s var(--ease)}}
/* Wider screens: the "Sample" tag slides to the column's other end when a marker's straight drop would pass behind it (motion.js, clearTag) */
@media(min-width:861px){.door .cards .sample{transition:transform .3s var(--ease)}}
/* Wide screens: past the words, the photo comes up quickly, so the part inside each marker's ring shows clearly.
   Under the words it fades in exactly as before (the same straight line from 8%). At every point it is at least as strong as
   the old fade (clear at 8%, 20% at 40%, full at 70%), which shows() in motion.js still uses, so every marker keeps its spot.
   1181 to 1300 px: the words reach further across the photo, so the climb starts later.
   861 to 1180 px keeps the old fade, because the words sit over the photo there. */
/* The light's holder takes the same fade as the photo at each width (861 to 1180 px: the photo's own fade in index.html) */
@media(min-width:861px){.door .shot .gl{-webkit-mask-image:linear-gradient(90deg,transparent 8%,rgba(0,0,0,.2) 40%,#000 70%);mask-image:linear-gradient(90deg,transparent 8%,rgba(0,0,0,.2) 40%,#000 70%)}}
@media(min-width:1181px){.door .shot img,.door .shot .tone,.door .shot .gl{-webkit-mask-image:linear-gradient(90deg,transparent 8%,rgba(0,0,0,.1) 24%,rgba(0,0,0,.8) 33%,rgba(0,0,0,.88) 46%,#000 70%);mask-image:linear-gradient(90deg,transparent 8%,rgba(0,0,0,.1) 24%,rgba(0,0,0,.8) 33%,rgba(0,0,0,.88) 46%,#000 70%)}}
@media(min-width:1181px) and (max-width:1300.98px){.door .shot img,.door .shot .tone,.door .shot .gl{-webkit-mask-image:linear-gradient(90deg,transparent 8%,rgba(0,0,0,.125) 28%,rgba(0,0,0,.8) 37%,rgba(0,0,0,.88) 48%,#000 70%);mask-image:linear-gradient(90deg,transparent 8%,rgba(0,0,0,.125) 28%,rgba(0,0,0,.8) 37%,rgba(0,0,0,.88) 48%,#000 70%)}}

/* Pricing */
.plans.seen .plan{animation:planin .72s var(--ease) backwards;animation-delay:calc(var(--i,0)*95ms)}
@keyframes planin{from{opacity:0;transform:translateY(34px)}to{opacity:1;transform:none}}
.plan.mid{position:relative}
.plan.mid::before{content:"";position:absolute;inset:-2px;box-sizing:border-box;pointer-events:none;border:2px solid transparent;border-image:conic-gradient(from var(--ang),#8FD3FF,#1667A8 12%,rgba(143,211,255,.12) 26%,rgba(143,211,255,.12) 72%,#1667A8 88%,#8FD3FF) 1}
/* Once the plans come into view, the light keeps circling (360deg looks the same as 0deg, so each lap joins the next) */
.plans.seen .plan.mid::before{animation:orbit 4.6s linear .4s infinite}
@keyframes orbit{to{--ang:360deg}}
.cost b.roll{animation:roll .46s var(--ease)}
@keyframes roll{from{opacity:0;transform:translateY(.55em);filter:blur(5px)}to{opacity:1;transform:none;filter:none}}
.qs details[open] p{animation:rowin .36s var(--ease)}

/* Closing: everything pulls into the needle */
.final{position:relative;overflow:hidden;padding:176px 0}
.final canvas{position:absolute;inset:0;width:100%;height:100%;pointer-events:none}
.final .wrap{position:relative;z-index:1}
.final .needle i,.final .needle::after{animation:none}
.mo-ok .final .needle i{transform:scaleX(var(--f,0))}
.mo-ok .final .needle::after{opacity:var(--f,0)}
/* The needle keeps glowing, from its soft glow to bright and back */
.final.ignite .needle::after{animation:core 2.6s ease-in-out infinite}
/* Hero: the same points pull into its needle once, as the page opens (motion.js) */
.hero canvas{position:absolute;inset:0;width:100%;height:100%;pointer-events:none}
.mo-ok .hero .needle i{animation:none;transform:scaleX(var(--f,0))}
.mo-ok .hero .needle::after{animation:none;opacity:var(--f,0)}
.hero.ignite .needle::after{animation:core 3.4s ease-in-out infinite}

/* Motion switch */
.mo{flex:none;display:grid;place-items:center;width:44px;height:44px;padding:0;background:transparent;border:1px solid var(--line2);color:#C6C9CE;cursor:pointer;transition:border-color .2s,background .2s}
.bar>.mo{margin-right:-28px}
/* Header labels never wrap. Narrow desktops (861 to 1000 px) tighten the spacing so every label fits on one line. */
.links a,.out{white-space:nowrap}
/* Desktop header: the icon and a short word, "Pause" or "Play". A hidden copy of "Pause" holds the width, so nothing shifts when it changes. */
.mo-h{grid-auto-flow:column;gap:8px;width:auto;padding:0 12px}
.mo-w{display:flex;flex-direction:column;font-family:var(--head);font-size:14px;font-weight:500;letter-spacing:.04em;line-height:1.2}
.mo-w::after{content:"Pause";height:0;overflow:hidden;visibility:hidden}
@media(min-width:861px) and (max-width:1000.98px){.bar{gap:14px}.links{gap:2px}.links a{padding:0 10px}.links a::after{left:10px;right:10px}.bar>.mo{margin-right:-2px}.mo-h{gap:6px;padding:0 10px}}
.mo:hover{border-color:var(--acc);background:var(--hov2)}
.mo svg{flex:none;width:16px;height:16px;fill:currentColor}
.mo-t{display:flex;align-items:center;justify-content:flex-start;gap:12px;width:100%;height:auto;min-height:48px;padding:0 20px;border:0;border-top:1px solid var(--line);color:var(--text);font:inherit;font-size:17px}
/* Phones: the header has no room for the switch at 320 px, so each moving section starts with its own "Pause animations" button,
   in the band's own colors. The menu keeps its item too. Reduced motion and scripts off hide these, like every pause switch. */
.mo-s{grid-auto-flow:column;justify-content:start;gap:10px;width:auto;height:auto;min-height:44px;margin:0 0 20px;padding:0 16px;border-color:var(--edge);color:var(--text);font:inherit;font-size:16px;line-height:1.2}
@media(min-width:861px){.mo-s{display:none}}

/* Small menu for phones */
.mn{display:none}
.mn summary{display:grid;place-items:center;width:44px;height:44px;border:1px solid var(--edge);cursor:pointer;list-style:none}
.mn summary::-webkit-details-marker{display:none}
.mi,.mi::before,.mi::after{display:block;width:18px;height:1.5px;background:var(--text);transition:transform .2s var(--ease),background .2s}
.mi{position:relative}
.mi::before,.mi::after{content:"";position:absolute;left:0}
.mi::before{top:-6px}
.mi::after{top:6px}
.mn[open] .mi{background:transparent}
.mn[open] .mi::before{top:0;transform:rotate(45deg)}
.mn[open] .mi::after{top:0;transform:rotate(-45deg)}
.mn-p{position:absolute;left:0;right:0;top:100%;background:#17191C;border-bottom:1px solid var(--edge);box-shadow:0 18px 30px rgba(0,0,0,.6)}
.mn-p a{display:flex;align-items:center;min-height:48px;padding:0 20px;font-size:17px;color:var(--text)}
.mn-p a:hover,.mo-t:hover{background:#24272C}
/* The menu items run the full width of the screen, so the focus ring sits just inside each one and all four sides show */
.mn-p a:focus-visible,.mo-t:focus-visible{outline-offset:-4px}

/* Focus rings follow the band: deep blue on platinum and metal, light blue in the dark */
:focus-visible{outline-color:var(--acc)}
/* The engine job cards sit over the photo and the dark band, so their ring is light blue (#8FD3FF) with a near-black band
   on both sides (#0E1012, 11.8:1). It reads the same on any part of the picture, at every width. */
.card:focus-visible{outline:2px solid var(--sky);outline-offset:2px;box-shadow:inset 3px 0 0 var(--c),0 0 0 2px #0E1012,0 0 0 6px #0E1012,0 18px 40px rgba(0,0,0,.55)}
.card:focus-visible:hover{box-shadow:inset 5px 0 0 var(--c),0 0 0 2px #0E1012,0 0 0 6px #0E1012,0 22px 48px rgba(0,0,0,.6)}
/* A red or yellow alert card's ring takes its own alert color, never blue, on the same near-black bands:
   the dark-band red #FF8174 (7.9:1 on #0E1012) or safety yellow #F5B800 (10.3:1) */
.card[data-tone=hot]:focus-visible{outline-color:#FF8174}
.card[data-tone=safety]:focus-visible{outline-color:var(--safety)}

/* Engine marker label, cards, and plain text when scripts are off */
.cards{align-content:start}
/* The label's corner starts at the marker's centre; the script moves it to a clear spot */
.lock b{position:absolute;left:50%;top:50%;padding:2px 8px;white-space:nowrap;background:rgba(14,16,18,.92);border:1px solid var(--k);font:500 13px/1.35 var(--head);letter-spacing:.03em;color:#F1F0EC}
/* Where the part is, in words ("Exhaust pipe: lower on the engine"), when no spot for the top job can show at this size */
/* The script moves it onto the part of the photo the reader can see */
.miss{position:absolute;z-index:3;top:0;left:0;max-width:calc(100% - 28px);padding:2px 8px;background:rgba(4,4,5,.9);border:1px solid var(--edge);font:500 13px/1.35 var(--head);letter-spacing:.03em;color:#F0F1F3;opacity:0;transition:opacity .3s;pointer-events:none}
.miss.on{opacity:1}
.plan.quiet{background:transparent;border-style:dashed;box-shadow:none}
.plan.quiet .cost b{font-size:clamp(26px,2.2vw,30px)}
.plimit{margin-top:12px;font-size:16px;line-height:1.35;color:var(--soft)}
.nj{display:grid;gap:10px;margin:28px 0 0;padding-left:24px;font-size:18px;line-height:1.4}
.nj b{font-family:var(--head);font-weight:500}
.nj-p{margin-top:22px;font-size:17px;color:var(--soft)}

@media(max-width:860.98px){
 html{scroll-padding-top:76px}
 .bar{gap:10px;justify-content:flex-start}
 .bar>.mo{display:none}
 .mn{display:block;margin-left:auto}
 .out{padding:0 14px;white-space:nowrap}
 .wire{display:none}
 .lock{width:46px;height:46px;margin:-23px 0 0 -23px}
 .ticker{padding-top:32px}
 .ticker+.sec{padding-top:48px}
 .js .sec.pt{clip-path:none}
 .hero .in{margin-top:0;padding-top:64px;padding-bottom:56px}
 /* Phones: words first, then the picture right above the job cards, so the marker and the cards share a screen */
 .door{display:flex;flex-direction:column;align-items:stretch;min-height:0;padding:64px 0 56px}
 .door .in{display:contents}
 .door .copy{order:1;max-width:none;margin-top:0;padding:0 20px}
 .door .shot{order:2;margin-top:28px;overflow:hidden;overflow:clip}
 .door .cards{order:3;position:relative;z-index:2;margin-top:4px;padding:0 20px}
 /* The "Sample" tag sits on the photo's bottom edge, so the cards start higher and more of the photo shares the screen with them */
 .door .cards .sample{position:absolute;left:20px;bottom:100%;margin:0 0 8px}
 /* The engine is shown larger than its box, so the photo can glide up or down to bring each job's part into view.
    The words and cards keep their size. */
 .door .shot img{height:100%;width:170%;max-width:none;margin-left:-28%;object-position:50% 45%;transition:object-position .9s var(--ease);-webkit-mask-image:linear-gradient(180deg,#000 82%,transparent);mask-image:linear-gradient(180deg,#000 82%,transparent)}
 /* The gold-line band follows the larger photo: the same box, position, glide and fade */
 .door .shot .tone{left:-28%;width:170%;background-position:50% 45%;transition:background-position .9s var(--ease);-webkit-mask-image:linear-gradient(180deg,#000 82%,transparent);mask-image:linear-gradient(180deg,#000 82%,transparent)}
 .door .btn{margin-top:18px}
 .final{padding:112px 0}
}
@media(max-width:620.98px){.door .btn{width:100%;justify-content:center}.flag:empty{display:none}}
/* Small phones (under 390 px): the strip of photo above the cards is short, so
   the "Sample" tag moves to the photo's bottom right on two lines, leaving the left of the strip clear for the marker,
   and the photo fades out only in its last 8%, so more of it can hold the marker. The words keep their size. */
@media(max-width:389.98px){
 .door .cards .sample{left:auto;right:20px;max-width:11.5em;line-height:1.35}
 .door .shot img,.door .shot .tone{-webkit-mask-image:linear-gradient(180deg,#000 92%,transparent);mask-image:linear-gradient(180deg,#000 92%,transparent)}
}
/* Under 340 px the strip of photo above the cards is too short to share with the tag, so the "Sample" tag leaves the photo
   and sits under the third card, inside the list, where it shows whenever the cards do. The words keep their size.
   The list keeps the same height for every job (motion.js, holdHeight), and the tag sits at the bottom of that room, in a last
   row that takes what the cards leave. So it holds still when the cards get shorter or taller (round 17, P4). With the
   tallest cards it is 4 px under the third card, as before. */
@media(max-width:339.98px){
 .door .cards .sample{position:static;order:1;justify-self:start;align-self:end;max-width:none;margin:-4px 0 0}
 /* Slightly tighter job cards, so with the cards in the middle of the screen more of the photo above them shows and more
    jobs get a marker. Reading text keeps its 16 px; the titles are 18 px, as on short desktop screens. */
 .door .cards{gap:8px;grid-template-rows:auto auto auto 1fr}
 .door .card{padding:12px 16px 13px 18px}
 .door .card .opn{top:12px}
 .door .card .chip{margin-bottom:4px}
 .door .card b{font-size:18px}
}
/* A finished stock job drops its meter. Under 340 px the meter keeps its space there (hidden), so the cards above the
   "Sample" tag change height as little as they can. */
.card .meter.gone{display:none}
@media(max-width:339.98px){.card .meter.gone{display:block;visibility:hidden}}
@media(max-width:400.98px){.wrap.bar{padding:0 16px;gap:8px}.bar .logo{width:104px}.out{padding:0 9px;font-size:14px;letter-spacing:.03em}}

html.still *,html.still *::before,html.still *::after{animation:none!important;transition:none!important}
html.still .wd>i,html.still .gauge i{transform:none!important}
html.still .gauge u{opacity:1}
html.still .tile svg *{stroke-dashoffset:0!important}
html.still .panel .vis>*{opacity:1!important;transform:none!important}
html.still .shot .gl{display:none}
html.still .sec.pt{clip-path:none}
html.still .final .needle i,html.still .hero .needle i{transform:none}
html.still .final .needle::after,html.still .hero .needle::after{opacity:1}
/* Still: the engine keeps one still ring and label on the top job (motion.js), with no pulse, glide or line */
html.still .tap,html.still .wire,html.still .miss{display:none}
html.still .lit::after{display:none}
@media(prefers-reduced-motion:reduce){.mo{display:none}}
@media(forced-colors:active){
 .shot .tone{display:none}
 .tk{-webkit-text-stroke:0;color:CanvasText}
 /* High Contrast shows no engine marker for any job, so the "where the part is" notice is hidden too (round 32, P2): every
    job behaves the same, and each card still names its job and part */
 .final canvas,.hero canvas,.lock,.wire,.prog,.miss{display:none}
 .plan.mid::before{display:none}
 /* The sample search's matched record shows as Highlight, as picked choices do (round 30, 4) */
 .li.match,.li.match em{forced-color-adjust:none;background:Highlight;color:HighlightText}
 /* High Contrast drops plain backgrounds, so marks drawn as one come back in a system color (round 34, M1 and P3): the phone
    menu's three bars and its X, the blue line under a job being worked on, and the dash on a machine taken off the list.
    The open menu's middle bar stays clear, so the X shows. */
 .mi,.mi::before,.mi::after,.card .run,.mach button[aria-pressed=false]::before{background:CanvasText}
 .mn[open] .mi{background:transparent}
 /* The arrow's line keeps its own text color (link or button text), the same as its border-drawn head, so both halves match */
 .ar{forced-color-adjust:none}
 /* Late, due and low tags lose their yellow fill here, so they get a frame, and their dot comes back in a system color,
    so they still stand out from plain values (round 35, 6) */
 .li em.late,.bar2 span em.late,.rowi em.late{border:1px solid}
 .panel em.late::before{background:CanvasText}
 /* The current step is drawn in Highlight with its own colors (index.html), so its progress line takes HighlightText,
    never its normal blue (round 35, 7) */
 .step[aria-current=step]::after{background:HighlightText}
}
