/* A single reading surface. Photography enters only where it has something to show. */
body.flow-design{
 --chapter-space:clamp(1.9rem,4.5vw,3.85rem);
 background:radial-gradient(ellipse at 100% 26%,color-mix(in srgb, var(--freight-primary) 10.000%, transparent),transparent 35%),
            radial-gradient(ellipse at 0% 73%,color-mix(in srgb, var(--freight-primary) 11.000%, transparent),transparent 41%),var(--freight-paper);
}
body.flow-design.soft-depth main>.arrival{padding-bottom:clamp(.85rem,2.1vw,1.85rem)}
body.flow-design.soft-depth .scene-layers .arrival-road img,
body.flow-design .dock-optics .dock-reflect-road{object-position:59% 61%}
body.flow-design.soft-depth .scene-layers .arrival-sea{transform:none}
body.flow-design.soft-depth .scene-layers .arrival-sea img,
body.flow-design .dock-optics .dock-reflect-sea{object-position:67% 54%}
body.flow-design.soft-depth .arrival::after{
 content:"";position:absolute;z-index:-1;inset:auto 0 0;height:clamp(3rem,9vw,8rem);pointer-events:none;
 background:linear-gradient(180deg,transparent,var(--freight-paper));
}
body.flow-design #main>#company{padding-top:calc(var(--chapter-space)*.73)}
body.flow-design #company .company-intro{column-gap:clamp(1rem,4vw,3rem)}
body.flow-design #news .news-grid .news-card:first-child::before{content:none}
body.flow-design #news .news-grid .news-card:first-child{
 justify-content:center;
 padding:clamp(1.1rem,3.5vw,2.65rem);
 background:radial-gradient(ellipse at 89% 100%,color-mix(in srgb, var(--freight-primary) 15.000%, transparent),transparent 74%),var(--flow-glass);
}
body.flow-design #news .news-grid .news-card:first-child>*{margin-inline:0}
body.flow-design #news .news-grid .news-card .eyebrow{margin-top:0}
body.flow-design #news .news-grid .news-card h3{line-height:1.17}
body.flow-design #news .news-grid .news-card h3 a:focus-visible{outline-offset:2px}
body.flow-design #news .news-grid .news-card p:not(.eyebrow){line-height:1.55}
body.flow-design .project-family{
 padding-block:clamp(.4rem,2vw,1.5rem);
 background:radial-gradient(ellipse at 50% 39%,color-mix(in srgb, var(--freight-primary) 12.000%, transparent),transparent 70%);
}
body.flow-design #main :is(#freightpulse,#freightsteps) .project-inner{
 padding:clamp(1.1rem,3.2vw,2.35rem);border-radius:var(--flow-radius);
 background:var(--flow-glass);box-shadow:var(--flow-shadow);
}
body.flow-design #freightsteps .academy-guide{
 background:linear-gradient(145deg,color-mix(in srgb, var(--freight-white) 60.000%, transparent),color-mix(in srgb, var(--freight-ice) 65.882%, transparent));box-shadow:var(--body-flow-lip),0 10px 24px -18px color-mix(in srgb, var(--freight-primary) 43.000%, transparent)
}
body.flow-design .lead-photographic .shell{
 overflow:hidden;isolation:isolate;position:relative;
 min-height:clamp(14rem,29vw,25rem);
 display:flex;flex-direction:column;justify-content:center;
}
body.flow-design .lead-photographic .lead-scene{
 position:absolute;inset:0 0 0 auto;width:64%;height:100%;object-fit:cover;object-position:65% 50%;z-index:-2;
}
body.flow-design .lead-photographic .shell::before{
 content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;
 background:linear-gradient(90deg,var(--freight-paper) 34%,var(--freight-paper) 41%,color-mix(in srgb, var(--freight-paper) 85.098%, transparent) 51%,color-mix(in srgb, var(--freight-paper) 14.902%, transparent) 70%,transparent 96%);
}
body.flow-design .lead-photographic .shell>p:last-child{max-width:37ch;color:var(--freight-ink)}
body.flow-design .lead-photographic h1{max-width:11ch}
body.flow-design>.bar #home:focus-visible,body.flow-design>header:not(.mast) :focus-visible{outline-color:var(--freight-primary)}
body.flow-design>header:not(.mast):not(.bar) nav a.active,
body.flow-design>header:not(.mast):not(.bar) nav a:hover,
body.flow-design>header:not(.mast):not(.bar) .locale summary{color:var(--freight-primary);background:var(--freight-ice)}
body.flow-design>footer .foot address a{color:var(--freight-primary)}
@media(max-width:700px){
 body.flow-design.soft-depth .scene-layers .arrival-road img,
 body.flow-design .dock-optics .dock-reflect-road{object-position:65% 53%}
 body.flow-design.soft-depth .scene-layers .arrival-sea img,
 body.flow-design .dock-optics .dock-reflect-sea{object-position:52% 52%}
 body.flow-design .lead-photographic .shell{padding-bottom:clamp(9rem,43vw,18rem);min-height:0}
 body.flow-design .lead-photographic .lead-scene{inset:auto 0 0;width:100%;height:clamp(10rem,55vw,23rem);object-position:64% 57%;mask-image:linear-gradient(180deg,transparent,var(--freight-ink) 31%)}
 body.flow-design .lead-photographic .shell::before{background:linear-gradient(180deg,var(--freight-paper) 29%,var(--freight-paper) 43%,color-mix(in srgb, var(--freight-paper) 73.333%, transparent) 57%,transparent 75%)}
}
body.flow-design .lead-photographic .lead-scene{z-index:0}
body.flow-design .lead-photographic .shell::before{z-index:1}
body.flow-design .lead-photographic .shell>:is(h1,p){position:relative;z-index:2}
body.flow-design #main :is(#freightpulse,#freightsteps) .project-copy .btn::after{content:none}
body.flow-design.soft-depth .arrival .route-switch button[aria-pressed=false]:hover{color:var(--freight-white);background:color-mix(in srgb, var(--freight-white) 14.118%, transparent)}
body.flow-design #news .news-grid .news-card p:not(.eyebrow){display:block;-webkit-line-clamp:unset;overflow:visible}
body.flow-design .project-family .project-fs .project-inner{
 background:radial-gradient(ellipse at 99% 88%,color-mix(in srgb, var(--freight-primary) 11.000%, transparent),transparent 66%),var(--flow-glass);
}
@media(min-width:950px){
 body.flow-design #news .news-grid{grid-template-columns:1.2fr 1fr 1fr;grid-template-rows:auto}
 body.flow-design #news .news-grid .news-card:first-child{grid-row:auto;justify-content:start;padding:clamp(.9rem,2.2vw,1.55rem)}
 body.flow-design #news .news-grid .news-card:first-child h3{font-size:clamp(1.35rem,2.3vw,1.85rem)}
}
body.flow-design .chapter-menu{display:none}
body.flow-design>header .locale-chevron{display:block}
@media(max-width:52rem){
 body.flow-design>header .head:has(.chapter-menu:not([hidden])){position:relative;min-height:3.65rem;grid-template-columns:1fr auto auto;gap:.65rem}
 body.flow-design>header .head:has(.chapter-menu:not([hidden])) .locale{grid-column:3;grid-row:1}
 body.flow-design .chapter-menu:not([hidden]){display:block;padding-inline:.68rem;min-height:2.75rem;color:var(--freight-ink);font:700 .87rem Inter,Arial,sans-serif;background:var(--freight-ice);border:0;border-radius:.68rem;cursor:pointer}
 body.flow-design .chapter-menu:not([hidden])+nav{display:none}
 body.flow-design .chapter-menu:not([hidden])+nav.open{display:grid;position:absolute;grid-template-columns:1fr 1fr;gap:.15rem;z-index:6;inset:calc(100% + .4rem) 0 auto;padding:.45rem;border-radius:1rem;background:color-mix(in srgb, var(--freight-paper) 92.941%, transparent);backdrop-filter:blur(15px);box-shadow:var(--flow-shadow)}
}
@media(max-width:550px){
 body.flow-design.soft-depth .route-dock .route-path.three{grid-template-columns:repeat(6,minmax(0,1fr));gap:.45rem .22rem;align-items:start}
 body.flow-design .route-path.three :is(.path-node,.path-leg){grid-column:span 2;min-width:0}
 body.flow-design .route-path.three .path-node{grid-row:1}
 body.flow-design .route-path.three .path-node:nth-child(3){text-align:center;grid-column:3 / span 2}
 body.flow-design .route-path.three .path-node:nth-child(5){text-align:right;grid-column:5 / span 2}
 body.flow-design .route-path.three .path-leg:nth-child(2){grid-row:2;grid-column:1 / span 3;justify-self:center}
 body.flow-design .route-path.three .path-leg:nth-child(4){grid-row:2;grid-column:4 / span 3;justify-self:center}
 body.flow-design .lead-photographic .shell{padding-bottom:clamp(11rem,50vw,19rem)}
}
