/* The header sits in the same panorama and becomes a separate material only
   on scroll. The background is full bleed; only the controls follow the grid. */
body.flow-design{
 --horizon-height:4.45rem;
 --horizon-fill:radial-gradient(ellipse at 22% -80%,color-mix(in srgb, var(--freight-primary) 85.098%, transparent),transparent 83%),linear-gradient(125deg,color-mix(in srgb, var(--freight-primary) 93.725%, transparent),color-mix(in srgb, var(--freight-ink) 95.686%, transparent) 93%);
}
body.flow-design.soft-depth.home .mast{
 position:sticky;top:0;z-index:15;isolation:isolate;
 padding:0;margin:0 0 calc(-1 * var(--horizon-height));min-height:var(--horizon-height);
 background:none;box-shadow:none;pointer-events:auto;
}
body.flow-design.soft-depth.home .mast::before,
body.flow-design.soft-depth.home .mast::after{
 content:"";position:absolute;z-index:-1;pointer-events:none;inset:0;
}
body.flow-design.soft-depth.home .mast::before{
 bottom:-1.65rem;
 background:radial-gradient(ellipse at 22% 0,color-mix(in srgb, var(--freight-primary) 38.039%, transparent),transparent 74%),
 linear-gradient(180deg,color-mix(in srgb, var(--freight-ink) 92.941%, transparent) 0%,color-mix(in srgb, var(--freight-ink) 60.784%, transparent) 54%,transparent 100%);
 -webkit-backdrop-filter:blur(8px) saturate(123%);backdrop-filter:blur(8px) saturate(123%);
 -webkit-mask-image:linear-gradient(var(--freight-ink) 0%,var(--freight-ink) 22%,color-mix(in srgb, var(--freight-ink) 66.667%, transparent) 45%,transparent 96%);
 mask-image:linear-gradient(var(--freight-ink) 0%,var(--freight-ink) 22%,color-mix(in srgb, var(--freight-ink) 66.667%, transparent) 45%,transparent 96%);
}
body.flow-design.soft-depth.home .mast::after{
 background:var(--horizon-fill);
 -webkit-backdrop-filter:blur(18px) saturate(142%);backdrop-filter:blur(18px) saturate(142%);
 box-shadow:0 15px 36px -12px color-mix(in srgb, var(--freight-ink) 51.765%, transparent),inset 0 5px 22px color-mix(in srgb, var(--freight-paper) 3.922%, transparent);opacity:0;transition:opacity .32s ease;
}
body.flow-design.soft-depth.home .mast[data-solid=true]::after{opacity:1}
body.flow-design.soft-depth.home .mast .mast-inner{
 min-height:var(--horizon-height);
 padding-inline:0;border-radius:0;background:none;box-shadow:none;
 -webkit-backdrop-filter:none;backdrop-filter:none;position:static;
}
body.flow-design.soft-depth.home .arrival .scene-intro{
 min-height:calc(clamp(25rem,37vw,36rem) + var(--horizon-height));
 padding-top:calc(clamp(2rem,4vw,4.1rem) + var(--horizon-height));
}
body.flow-design.soft-depth.home .arrival::before{
 background:linear-gradient(90deg,color-mix(in srgb, var(--freight-ink) 95.294%, transparent) 1%,color-mix(in srgb, var(--freight-ink) 81.176%, transparent) 28%,color-mix(in srgb, var(--freight-ink) 39.608%, transparent) 60%,color-mix(in srgb, var(--freight-ink) 3.529%, transparent) 98%),
 linear-gradient(180deg,color-mix(in srgb, var(--freight-ink) 49.020%, transparent) 0%,transparent 26%,transparent 61%,color-mix(in srgb, var(--freight-ink) 36.078%, transparent));
}
body.flow-design.soft-depth.home .mast nav.open{
 inset:calc(100% + .4rem) clamp(.75rem,3vw,2.5rem) auto;
 border-radius:1rem;background:var(--horizon-fill);box-shadow:0 15px 32px color-mix(in srgb, var(--freight-ink) 45.098%, transparent);
 -webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);
}
body.flow-design>header:not(.mast):not(.bar){
 padding-top:0;border-radius:0;
 background:var(--horizon-fill);
 box-shadow:0 15px 36px -15px color-mix(in srgb, var(--freight-ink) 47.843%, transparent),inset 0 5px 22px color-mix(in srgb, var(--freight-paper) 3.922%, transparent);
}
body.flow-design>header:not(.mast):not(.bar) .head{
 min-height:var(--horizon-height);padding-inline:0;border-radius:0;background:none;box-shadow:none;
}
@media(max-width:780px){
 body.flow-design{--horizon-height:3.55rem}
 body.flow-design.soft-depth.home .arrival .scene-intro{min-height:0;padding-top:calc(var(--horizon-height) + 1.55rem)}
 body.flow-design.soft-depth.home .arrival .floating-route{
  display:inline-flex;position:relative;justify-self:start;right:auto;bottom:auto;
  margin-top:.8rem;padding:.55rem .65rem .55rem .8rem;
 }
 body.flow-design.soft-depth.home .arrival .scene-context{margin-top:.85rem}
 body.flow-design.soft-depth.home .arrival::before{
  background:linear-gradient(180deg,color-mix(in srgb, var(--freight-ink) 84.706%, transparent) 0%,color-mix(in srgb, var(--freight-ink) 73.333%, transparent) 27%,color-mix(in srgb, var(--freight-ink) 38.824%, transparent) 61%,color-mix(in srgb, var(--freight-ink) 52.157%, transparent)),
  linear-gradient(90deg,color-mix(in srgb, var(--freight-ink) 36.863%, transparent),transparent 81%);
 }
}
@media(prefers-reduced-motion:reduce){body.flow-design.soft-depth.home .mast::after{transition:none}}
/* Keep the base image visible while a selected alternative decodes. */
body.flow-design.soft-depth.home .arrival .scene-layers .freight-scene[data-scene=road]{opacity:1}

/* The entire hero contact badge is the link, including its glass inset. */
body.flow-design.soft-depth.home .arrival a.floating-route{
 z-index:5;pointer-events:auto;cursor:pointer;touch-action:manipulation;
 min-width:min(100%,13.4rem);min-height:3.95rem;
 padding:.79rem .87rem .79rem 1.07rem;gap:.8rem;
 text-decoration:none;
}
body.flow-design.soft-depth.home .arrival a.floating-route strong{font-size:clamp(.9rem,1.28vw,1.08rem)}
body.flow-design.soft-depth.home .arrival a.floating-route .floating-action{width:2.18rem;height:2.18rem}
body.flow-design.soft-depth.home .arrival a.floating-route:hover strong{text-decoration:underline;text-underline-offset:.19em}
body.flow-design.soft-depth.home .arrival a.floating-route:focus-visible{outline:2px solid var(--freight-white);outline-offset:4px}
@media(max-width:780px){
 body.flow-design.soft-depth.home .arrival a.floating-route{
  min-width:min(100%,12rem);min-height:3.55rem;padding:.56rem .71rem .56rem .84rem;
 }
}
