/* 10.4.9 — Art-directed photography and a scroll-driven roller shutter. */
body.ecu-mercury main.ecu-home{overflow:visible!important}
body.ecu-mercury .garage-hero{
 --garage-header-height:80px;--garage-stage-height:min(calc(100svh - var(--garage-header-height)),1000px);
 --garage-scroll-distance:100svh;--garage-open:1;--garage-copy-opacity:1;--garage-copy-y:0px;
 --garage-shade-opacity:.85;--garage-progress:0;
 position:relative;isolation:isolate;overflow:visible!important;
 height:var(--garage-stage-height);padding:0!important;margin:0;
 background:#27394b!important;color:#fff!important;border:0!important;border-radius:0!important;
}
body.ecu-mercury .garage-hero.garage-enhanced{height:calc(var(--garage-stage-height) + var(--garage-scroll-distance))}
body.ecu-mercury .garage-sticky{
 position:relative;top:0;width:100%;height:var(--garage-stage-height);
 min-height:0;overflow:hidden;overflow:clip;isolation:isolate;background:#263747;
}
body.ecu-mercury .garage-enhanced .garage-sticky{position:sticky;top:var(--garage-header-height)}
body.ecu-mercury .garage-world{
 position:absolute;inset:0;margin:auto;width:100%;height:100%;
 /* Percentages are calibrated to the native desktop photograph, not viewport crops. */
 --portal-left:29.55%;--portal-top:47.25%;--portal-width:40.78%;--portal-height:35.58%;
 --sign-left:35.15%;--sign-top:25.1%;--sign-width:29.65%;--sign-height:14.8%;
}
body.ecu-mercury .garage-photograph{position:absolute;inset:0;display:block;width:100%;height:100%}
body.ecu-mercury .garage-photograph img{display:block;width:100%;height:100%;max-width:none;object-fit:cover;object-position:center;border:0;border-radius:0;filter:none;transform:none;opacity:1}
body.ecu-mercury .garage-sign{
 position:absolute;left:var(--sign-left);top:var(--sign-top);width:var(--sign-width);height:var(--sign-height);
 display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3%;
 padding:1% 1.6%;box-sizing:border-box;pointer-events:none;
}
body.ecu-mercury .garage-sign img{display:block;width:85%;height:76%;object-fit:contain;max-width:none;filter:none!important;opacity:1;mix-blend-mode:normal;transform:none}
body.ecu-mercury .garage-sign>span{display:block;font-family:var(--mc-ui),sans-serif;font-size:clamp(9px,.72vw,14px);font-weight:500;letter-spacing:.16em;line-height:1.3;text-transform:uppercase;color:#f6f8fb!important;white-space:nowrap;text-shadow:0 1px 3px #0005}
body.ecu-mercury .garage-portal{
 position:absolute;left:var(--portal-left);top:var(--portal-top);width:var(--portal-width);height:var(--portal-height);
 overflow:hidden;overflow:clip;border:0;border-radius:0;pointer-events:none;isolation:isolate;
}
body.ecu-mercury .garage-shutter{
 position:absolute;inset:0;display:block;width:100%;height:100%;
 background:#687b8d;transform:translate3d(0,calc(var(--garage-open)*-101%),0);
 will-change:transform;box-shadow:inset 10px 0 18px #0007,inset -10px 0 18px #0007;
}
body.ecu-mercury .garage-shutter>img{display:block;width:100%;height:100%;max-width:none;object-fit:fill;border:0;border-radius:0;opacity:1;filter:brightness(.94);transform:none;pointer-events:none}
body.ecu-mercury .garage-shutter:after{content:"";position:absolute;inset:0;pointer-events:none;background:linear-gradient(90deg,#05101d55,transparent 12%,transparent 87%,#05101d66),linear-gradient(180deg,#07131f88,transparent 22%,transparent 90%,#07131f33)}
body.ecu-mercury .garage-bottom-seal{position:absolute;left:0;right:0;bottom:0;height:5px;background:linear-gradient(#78858e,#12202b 35%,#080e14 80%);box-shadow:0 3px 7px #000b}
body.ecu-mercury .garage-lintel-shadow{position:absolute;left:0;right:0;top:0;height:7%;background:linear-gradient(#030a10b3,transparent);pointer-events:none}
body.ecu-mercury .garage-shade{position:absolute;inset:0;z-index:1;pointer-events:none;background:linear-gradient(0deg,#071523fa 0%,#071523c9 13%,#07152366 38%,#07152300 62%);opacity:var(--garage-shade-opacity)}
body.ecu-mercury .garage-copy{
 position:absolute;z-index:2;left:clamp(24px,5.5vw,100px);bottom:clamp(106px,13svh,150px);
 width:min(540px,calc(100% - 48px));max-width:540px;margin:0;padding:0;
 opacity:var(--garage-copy-opacity);transform:translate3d(0,var(--garage-copy-y),0);
 color:#f6f8fc;will-change:opacity,transform;
}
body.ecu-mercury .garage-copy .ecu-kicker{color:#cfdef0!important;font-size:10px;letter-spacing:.16em;line-height:1.5}
body.ecu-mercury .garage-copy h1{font:500 clamp(30px,3.2vw,48px)/1.12 var(--mc-display);letter-spacing:-.025em;margin:14px 0 16px;color:#fff!important;text-align:left;text-wrap:balance;max-width:16ch}
body.ecu-mercury .garage-copy h1 em{font-style:normal;color:#b8dff8!important}
body.ecu-mercury .garage-copy>p{font-size:14px;line-height:1.65;color:#e3eaf3!important;max-width:440px;margin:0}
body.ecu-mercury .garage-copy .ecu-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:22px;justify-content:flex-start}
body.ecu-mercury .garage-copy .btn{min-height:46px;font-size:13px!important;box-shadow:0 8px 22px #0002}
html[data-theme] body.ecu-mercury .garage-secondary{
 display:inline-flex;align-items:center;justify-content:center;min-height:46px;padding:12px 20px;border:1px solid #cbdff16b;border-radius:999px;
 background:#0a213b91!important;color:#fff!important;text-decoration:none;font-size:13px;line-height:1.5;backdrop-filter:blur(10px);
}
html[data-theme] body.ecu-mercury .garage-secondary:hover{background:#16416b!important;border-color:#e4f1ff}
body.ecu-mercury .garage-copy[inert]{pointer-events:none}
body.ecu-mercury .garage-hud{
 position:absolute;z-index:3;left:0;right:0;bottom:max(22px,env(safe-area-inset-bottom));
 width:min(1500px,calc(100% - 48px));margin:auto;padding:0 68px 0 0;
 box-sizing:border-box;display:grid;grid-template-columns:1fr auto 1fr;align-items:end;gap:20px;
 color:#f6f8fc;
}
body.ecu-mercury .garage-controls{display:flex;gap:8px;flex-wrap:wrap;align-items:center}
html[data-theme] body.ecu-mercury .garage-hud button{
 display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:44px;padding:10px 15px;
 border:1px solid #deecfa70;border-radius:999px;background:#071a2bdd!important;color:#f6f8fc!important;
 font:500 12px/1.4 var(--mc-ui);white-space:nowrap;cursor:pointer;backdrop-filter:blur(10px);box-shadow:none;
}
body.ecu-mercury .garage-hud button svg{width:16px;height:16px;color:inherit!important;transition:rotate .3s}
body.ecu-mercury .garage-hud button[aria-expanded=true] svg{rotate:-90deg}
html[data-theme] body.ecu-mercury .garage-hud button:hover{background:#14416ddd!important;border-color:#fff}
body.ecu-mercury .garage-scroll-hint{display:grid;gap:10px;max-width:190px;padding-bottom:4px;color:#fff;font-size:11px;line-height:1.5;letter-spacing:.02em;text-align:center}
body.ecu-mercury .garage-scroll-track{display:block;width:92px;height:2px;background:#eaf3ff40;border-radius:2px;margin:0 auto;overflow:hidden}
body.ecu-mercury .garage-scroll-track i{display:block;height:100%;width:100%;background:#d8efff;transform:scaleX(var(--garage-progress));transform-origin:left}
body.ecu-mercury .garage-status{justify-self:end;color:#ecf4ff!important;text-align:right;font-size:12px;line-height:1.5;max-width:200px;text-shadow:0 2px 12px #0009;min-height:18px}
body.ecu-mercury .garage-static{height:var(--garage-stage-height)!important}
body.ecu-mercury .garage-static .garage-sticky{position:relative;top:0}
body.ecu-mercury .garage-static .garage-scroll-hint{display:none}
body.ecu-mercury .garage-scene-unavailable .garage-world{display:none}
body.ecu-mercury .garage-door-unavailable .garage-portal{display:none}
@media(min-width:1600px){body.ecu-mercury .garage-copy{max-width:590px;width:590px}body.ecu-mercury .garage-copy h1{font-size:50px;max-width:18ch}}
@media(max-width:1000px){
 body.ecu-mercury .garage-hud{grid-template-columns:1fr auto;gap:14px}
 body.ecu-mercury .garage-status{display:none}
 body.ecu-mercury .garage-copy{max-width:500px}
}
@media(max-width:760px){
 body.ecu-mercury .garage-hero{--garage-header-height:67px;--garage-stage-height:min(calc(100svh - var(--garage-header-height)),202vw);--garage-scroll-distance:88svh}
 body.ecu-mercury .garage-world{--portal-left:13.3%;--portal-top:52.3%;--portal-width:73.5%;--portal-height:28.4%;--sign-left:20.85%;--sign-top:36.3%;--sign-width:57.8%;--sign-height:10.8%}
 body.ecu-mercury .garage-sign{padding:1.2% 3.4%;gap:2%}
 body.ecu-mercury .garage-sign img{height:74%;width:88%}
 body.ecu-mercury .garage-sign>span{font-size:9px;letter-spacing:.13em}
 body.ecu-mercury .garage-copy{left:20px;bottom:106px;width:calc(100% - 40px);max-width:400px}
 body.ecu-mercury .garage-copy h1{font-size:clamp(28px,7.1vw,34px);line-height:1.12;max-width:18ch;margin:12px 0}
 body.ecu-mercury .garage-copy>p{font-size:12px;line-height:1.6;max-width:330px}
 body.ecu-mercury .garage-copy .ecu-actions{gap:8px;margin-top:17px;flex-wrap:nowrap}
 body.ecu-mercury .garage-copy :is(.btn,.garage-secondary){font-size:11px!important;min-height:44px;padding:11px 13px;flex:0 1 auto;white-space:normal}
 body.ecu-mercury .garage-copy .btn svg{width:15px;height:15px}
 body.ecu-mercury .garage-hud{width:calc(100% - 32px);padding-right:56px;bottom:max(18px,env(safe-area-inset-bottom));grid-template-columns:1fr;gap:10px}
 body.ecu-mercury .garage-controls{gap:6px;flex-wrap:nowrap}
 body.ecu-mercury .garage-hud button{font-size:10px;padding:9px 12px;min-height:44px}
 body.ecu-mercury .garage-scroll-hint{display:flex;align-items:center;gap:10px;max-width:none;padding:0;text-align:left;font-size:10px}
 body.ecu-mercury .garage-scroll-track{width:48px;margin:0;height:2px;flex:0 0 48px}
 body.ecu-mercury .garage-static .garage-hud{grid-template-columns:1fr}
 body.ecu-mercury .garage-static .garage-copy{bottom:90px}
}
@media(max-height:600px) and (min-width:761px){
 body.ecu-mercury .garage-copy{bottom:85px;max-width:450px}
 body.ecu-mercury .garage-copy h1{font-size:28px;margin:9px 0}
 body.ecu-mercury .garage-copy>p{font-size:12px;max-width:380px}
 body.ecu-mercury .garage-copy .ecu-actions{margin-top:12px}
 body.ecu-mercury .garage-hud{bottom:16px}
}
@media(prefers-reduced-motion:reduce){
 body.ecu-mercury .garage-hero{height:var(--garage-stage-height)!important}
 body.ecu-mercury .garage-enhanced .garage-sticky{position:relative;top:0}
 body.ecu-mercury .garage-shutter{will-change:auto}
 body.ecu-mercury .garage-copy{will-change:auto;transform:none}
}
/* Keep the composition aligned and open when scripting is unavailable. */
body.ecu-mercury .garage-hero:not(.garage-enhanced) .garage-world{width:max(100%,calc(var(--garage-stage-height)*1.776833));height:max(var(--garage-stage-height),56.2799vw);left:50%;top:50%;right:auto;bottom:auto;margin:0;transform:translate(-50%,-50%)}
@media(max-width:760px){
 body.ecu-mercury .garage-hero{--garage-stage-height:calc(100svh - var(--garage-header-height))}
 body.ecu-mercury .garage-copy{top:22px;bottom:auto}
 body.ecu-mercury .garage-copy h1{font-size:clamp(24px,6.9vw,30px);max-width:18ch}
 body.ecu-mercury .garage-copy>p{display:none}
 body.ecu-mercury .garage-shade{background:linear-gradient(180deg,#071523cf 0%,#07152377 23%,#07152300 46%,#07152300 72%,#071523a8 100%)}
 body.ecu-mercury .garage-hero:not(.garage-enhanced) .garage-world{width:max(100%,calc(var(--garage-stage-height)*.666667));height:max(var(--garage-stage-height),150vw)}
}
body.ecu-mercury .garage-hero:not(.garage-enhanced) :is(.garage-scroll-hint,.garage-status){display:none}
