/* Scroll-motion prototype. Loaded after styles.css; nothing here applies to the live site.
   html.wow-js   = motion is allowed.
   html.wow-hero = space reserved for the scroll scene before first paint. */
@font-face{font-family:"Inter";src:url(fonts/inter-400.woff2?v=27ae72da) format("woff2");font-weight:400 500;font-style:normal;font-display:block}
@font-face{font-family:"Inter";src:url(fonts/inter-600.woff2?v=87d718a2) format("woff2");font-weight:600 700;font-style:normal;font-display:block}
html.lenis,html.lenis body{scroll-behavior:auto;height:auto}
/* Smooth native scrolling makes the scroll scenes measure themselves in the wrong place. */
html.wow-js{scroll-behavior:auto}

/* Still hero: the same words, then the dashboard as a picture. */
.hero.wow{display:block;min-block-size:0}
.wow-copy{display:block}
.wow-track{inline-size:min(calc(100% - var(--page-gutter)*2),1360px);margin:40px auto 0}
.wow-stage{position:relative}
.wow-still{display:block;inline-size:100%;block-size:auto;border-radius:14px;border:1px solid var(--line);box-shadow:var(--product-depth)}
.wow-gl,.wow-dash,.wow-flash,.wow-cap,.wow-hint{display:none}

/* Reserve the scroll scene geometry while its dashboard image is still visible. */
html.wow-hero .hero.wow{padding:0}
html.wow-hero .hero-atmosphere{position:sticky;inset:auto;inset-block-start:0;block-size:100svh;margin-block-end:-100svh}
html.wow-hero .wow-copy{padding-block-start:48px}
html.wow-hero .wow-track{position:relative;z-index:1;inline-size:auto;margin:0;block-size:460svh}
html.wow-hero .wow-stage{position:sticky;inset-block-start:72px;block-size:calc(100svh - 72px);overflow:hidden}
html.wow-hero .wow-still{position:absolute;inset:0;margin:auto;inline-size:min(calc(100% - var(--page-gutter)*2),1360px);block-size:100%;object-fit:contain;border:0;box-shadow:none}
html.wow-hero .wow-stage.is-live .wow-still{animation:wowstill .7s step-end forwards}
html.wow-hero .wow-stage:not(.is-live) .wow-gl{visibility:hidden!important}
html.wow-hero .wow-gl{display:block;position:absolute;inset:0;inline-size:100%;block-size:100%;z-index:1}
html.wow-hero .wow-stage.is-live .wow-gl{animation:wowin .7s ease-out backwards}
html.wow-hero .wow-dash{display:block;position:absolute;inset:0;z-index:2;overflow:hidden;background:#f1f5f9;visibility:hidden;will-change:transform}
html.wow-hero .wow-fit{transform-origin:0 0}
html.wow-hero .wow-host{display:block;transform-origin:50% 0}
html.wow-hero .wow-flash{display:block;position:absolute;inset:-20% -40%;z-index:3;pointer-events:none;visibility:hidden;background:linear-gradient(105deg,transparent 35%,rgb(255 255 255/.85) 50%,transparent 65%)}
html.wow-hero .wow-cap{display:grid;justify-items:center;position:absolute;inset-inline:16px;inset-block-end:max(20px,env(safe-area-inset-bottom,0px));z-index:4;margin:0;pointer-events:none}
html.wow-hero .wow-cap span{grid-area:1/1;visibility:hidden;padding:10px 18px;border-radius:999px;background:rgb(10 20 36/.92);box-shadow:0 10px 30px -10px rgb(0 0 0/.6);color:#fff;font-size:15px;font-weight:600;line-height:1.3;text-align:center}
html.wow-hero .wow-hint{display:none}
@media(max-width:699px){
 html.wow-hero .wow-copy{padding-block-start:40px}
 html.wow-hero .wow-stage{inset-block-start:68px;block-size:calc(100svh - 68px)}
 html.wow-hero .wow-cap span{font-size:14px}
}
@media(min-width:960px){
 html.wow-hero .wow-stage{inset-block-start:76px;block-size:calc(100svh - 76px)}
}
@media(min-width:1000px){
 /* The words sit over the first screen of the pinned scene, in their usual left column. */
 html.wow-hero .wow-copy{display:grid;position:sticky;inset-block-start:76px;z-index:3;block-size:calc(100svh - 76px);margin-block-end:calc(76px - 100svh);padding-block-start:0;pointer-events:none}
 html.wow-hero .wow-copy .hero-copy>*{pointer-events:auto}
 html.wow-hero .wow-track{block-size:520svh}
 html.wow-hero .wow-still{inset-inline-start:auto;inset-inline-end:var(--page-gutter);inline-size:min(50%,900px)}
 html.wow-hero .wow-hint{display:flex;align-items:center;gap:8px;position:absolute;inset-inline:0;inset-block-end:22px;z-index:4;justify-content:center;margin:0;color:#b6c6dc;font-size:13px;font-weight:500;letter-spacing:.04em;pointer-events:none}
 html.wow-hero .wow-stage:not(.is-live) .wow-hint{visibility:hidden!important}
 html.wow-hero .wow-hint svg{animation:wowbob 1.4s ease-in-out infinite}
}
@keyframes wowin{from{opacity:0}}
@keyframes wowstill{to{visibility:hidden}}
@keyframes wowbob{50%{transform:translateY(5px)}}
@keyframes wowrise{from{opacity:0;transform:translateY(12px)}}

/* The container story: a longer scroll, live counters and a line that rises in. */
html.wow-js .shipment.shipment-ready:not(.shipment-static){height:480svh}
@media(max-width:699px){html.wow-js .shipment.shipment-ready:not(.shipment-static){height:420svh}}
.wow-hud{display:flex;flex-wrap:wrap;gap:8px;margin-block-end:12px}
.wow-chip{display:inline-flex;align-items:baseline;gap:6px;padding:6px 12px;border:1px solid #2b4266;border-radius:999px;background:rgb(18 34 57/.86);color:#dbe6f5;font-size:13px;line-height:1.3;font-variant-numeric:tabular-nums;white-space:nowrap}
.wow-chip b{color:#fff;font-size:15px;font-weight:600;min-inline-size:1ch;text-align:end}
.wow-chip[data-hud="box"]{border-color:#2563eb;background:#2563eb;color:#fff;transition:opacity .3s,background-color .3s,border-color .3s}
.wow-chip[data-hud="box"].is-off{border-color:#2b4266;background:rgb(18 34 57/.86);color:#dbe6f5;opacity:.6}
html.wow-js .shipment-ready .shipment-line.is-current{animation:wowrise .5s var(--ease) backwards}
.shipment-foot{font-size:12px}
@media(prefers-reduced-motion:reduce){.wow-hint svg,.shipment-line.is-current{animation:none!important}}

/* Still pages (no html.wow-hero: phones, small devices, reduce motion) promise no animation.
   The scroll-to-load link, its arrow and the keep-scrolling line are hidden, and the
   shipment intro says what Consolly does instead of asking for a scroll. CSS only. */
html:not(.wow-hero) .hero-foot a[href="#shipment"],html:not(.wow-hero) .hero-foot [data-t="ship.link"]{display:none}
html:not(.wow-hero) .shipment-foot [data-t="ship.scroll"]{display:none}
.shipment-explainer [data-t="ship.introStill"]{display:none}
html:not(.wow-hero) .shipment-explainer [data-t="ship.intro"]{display:none}
html:not(.wow-hero) .shipment-explainer [data-t="ship.introStill"]{display:block}
