/* The freight glass continues below the arrival scene. Three planes:
   photographic atmosphere, glass surface, and high-contrast content. */
body.flow-design{
 --glass-white:linear-gradient(146deg,color-mix(in srgb,var(--freight-white) 96%,transparent) 0%,color-mix(in srgb,var(--freight-paper) 82%,transparent) 53%,color-mix(in srgb,var(--freight-ice) 91%,transparent) 100%);
 --glass-dark:radial-gradient(ellipse at 12% -30%,color-mix(in srgb,var(--freight-white) 25%,transparent),transparent 71%),linear-gradient(132deg,color-mix(in srgb,var(--freight-primary) 88%,transparent),color-mix(in srgb,var(--freight-ink) 94%,transparent));
 --glass-air:0 26px 55px -30px color-mix(in srgb,var(--freight-primary) 63%,transparent),0 8px 20px -13px color-mix(in srgb,var(--freight-ink) 41%,transparent),inset 0 2px 7px var(--freight-white),inset 0 -5px 16px color-mix(in srgb,var(--freight-primary) 9%,transparent);
 --glass-air-dark:0 28px 55px -25px color-mix(in srgb,var(--freight-ink) 81%,transparent),inset 0 2px 8px color-mix(in srgb,var(--freight-white) 34%,transparent),inset 0 -2px 12px color-mix(in srgb,var(--freight-primary) 46%,transparent);
 --atlas-radius:clamp(1.15rem,2.4vw,2.15rem);
 --image-terminal:url('./assets/ds-terminal-wide.webp');
 --image-road:url('./assets/editorial-road.webp');
}
body.flow-design.home #main>#company{
 background:radial-gradient(ellipse at 80% 36%,color-mix(in srgb,var(--freight-primary) 18%,transparent),transparent 66%),linear-gradient(var(--freight-paper),var(--freight-ice));
}
body.flow-design.home #main #company .company-intro,
body.flow-design.home #main #shipment ol,
body.flow-design.home #main #trusted-partners .ds-partners-groups,
body.flow-design.home #main #partnership .closing-inner {
 background:var(--glass-white);border-radius:var(--atlas-radius);box-shadow:var(--glass-air);
 padding:clamp(1.1rem,3.15vw,2.6rem);
}
body.flow-design.home #main #shipment{
 background:radial-gradient(ellipse at 10% 29%,color-mix(in srgb,var(--freight-primary) 12%,transparent),transparent 48%),linear-gradient(var(--freight-ice),var(--freight-paper));
 padding-block:clamp(1.85rem,4.6vw,3.7rem);
}
body.flow-design.home #main .sourcing-note{
 background:linear-gradient(125deg,color-mix(in srgb,var(--freight-primary) 18%,transparent),transparent 68%),var(--glass-white);
 border-radius:clamp(.85rem,1.6vw,1.4rem);box-shadow:var(--glass-air);
 padding:clamp(.9rem,2.55vw,1.9rem);
 margin-top:clamp(1.25rem,2.9vw,2.5rem);
}
/* News is a single scene, not a set of stock-image cards. */
body.flow-design.home #main #news{
 background:linear-gradient(180deg,var(--freight-paper),transparent clamp(2.8rem,5.7vw,4.3rem),transparent calc(100% - clamp(2.8rem,5.7vw,4.3rem)),var(--freight-paper)),
 linear-gradient(117deg,color-mix(in srgb,var(--freight-ink) 97%,transparent) 8%,color-mix(in srgb,var(--freight-primary) 85%,transparent) 66%,color-mix(in srgb,var(--freight-ink) 65%,transparent)),
 var(--image-terminal) center 54%/cover;
 color:var(--freight-white);padding-block:clamp(4.4rem,8.2vw,7rem);
}
body.flow-design.home #main #news .section-title :is(.kicker,h2,.topic-link){color:var(--freight-white)}
body.flow-design.home #main #news .section-title .topic-link{
 padding:.55rem .9rem;border-radius:.75rem;background:var(--glass-dark);box-shadow:var(--glass-air-dark);
}
body.flow-design.home #main #news .news-grid .news-card:nth-child(n){
 background:linear-gradient(145deg,color-mix(in srgb,var(--freight-white) 96%,transparent),color-mix(in srgb,var(--freight-ice) 87%,transparent));
 -webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);
 color:var(--freight-ink);border-radius:var(--atlas-radius);box-shadow:var(--glass-air-dark);
 padding:clamp(1rem,2.5vw,1.9rem);
}
body.flow-design.home #main #news .news-grid .news-card:first-child::before{content:none}
body.flow-design.home #main>.project-family{
 background:radial-gradient(ellipse at 4% 30%,color-mix(in srgb,var(--freight-primary) 18%,transparent),transparent 52%),radial-gradient(ellipse at 91% 60%,color-mix(in srgb,var(--freight-primary) 22%,transparent),transparent 51%),var(--freight-paper);
 padding-block:clamp(1.45rem,4vw,3.8rem);
}
body.flow-design.home #main .project-family :is(#freightpulse,#freightsteps){padding-block:0}
body.flow-design.home #main .project-family #freightsteps{margin-top:clamp(1.25rem,2.9vw,2.7rem)}
body.flow-design.home #main .project-family :is(#freightpulse,#freightsteps) .project-inner{
 border-radius:var(--atlas-radius);padding:clamp(1.25rem,4.2vw,3.8rem);overflow:hidden;
}
body.flow-design.home #main .project-family #freightpulse .project-inner{
 background:var(--glass-dark),var(--image-road) center 53%/cover;
 box-shadow:var(--glass-air-dark);color:var(--freight-white);
}
body.flow-design.home #main #freightpulse .project-copy p{color:var(--freight-ice)}
body.flow-design.home #main #freightpulse .project-copy h2{color:var(--freight-white)}
body.flow-design.home #main #freightpulse .project-copy .btn{background:var(--freight-paper);color:var(--freight-primary);box-shadow:var(--glass-air-dark)}
body.flow-design.home #main #freightpulse .project-copy .btn:hover{background:var(--freight-ice);color:var(--freight-ink)}
body.flow-design.home #main #freightpulse .project-inner a:focus-visible,
body.flow-design.home #main #news .section-title a:focus-visible{outline-color:var(--freight-white)}
body.flow-design.home #main .project-family #freightsteps .project-inner{
 background:var(--glass-white);box-shadow:var(--glass-air);
}
body.flow-design.home #main :is(#freightpulse .exchange-flow,#freightsteps .academy-guide){
 border-radius:calc(var(--atlas-radius)*.77);background:var(--glass-white);box-shadow:var(--glass-air);
}
body.flow-design.home #main #trusted-partners{
 background:radial-gradient(ellipse at 50% 1%,color-mix(in srgb,var(--freight-primary) 18%,transparent),transparent 76%),var(--freight-paper);
}
body.flow-design.home #main #partnership{
 background:linear-gradient(var(--freight-paper),var(--freight-ice));padding-bottom:clamp(1.45rem,4vw,3.65rem);
}
body.flow-design.home #contacts.ds-site-footer{margin-top:0}

/* Same light, same edges, same lift across the inside pages. */
body.flow-design.ds-interior #main{
 background:radial-gradient(ellipse at 92% 4%,color-mix(in srgb,var(--freight-primary) 21%,transparent),transparent 49%),radial-gradient(ellipse at 0 42%,color-mix(in srgb,var(--freight-primary) 12%,transparent),transparent 61%),var(--freight-paper);
 padding-bottom:clamp(.35rem,2vw,1.5rem);
}
body.flow-design.ds-interior .lead:not(.lead-photographic) .shell{
 --lead-pic:var(--image-road);
 background:var(--glass-dark),var(--lead-pic) center 55%/cover;
 color:var(--freight-white);border-radius:var(--atlas-radius);
 box-shadow:var(--glass-air-dark);padding:clamp(1.35rem,4vw,3.6rem);
}
body.flow-design.ds-news .lead:not(.lead-photographic) .shell{--lead-pic:var(--image-terminal)}
body.flow-design.ds-interior .lead:not(.lead-photographic) .shell :is(.eyebrow,h1,p){color:var(--freight-white)}
body.flow-design.ds-interior .lead:not(.lead-photographic) .shell>p:last-child{color:var(--freight-ice);max-width:59ch;margin-top:.55rem}
body.flow-design.ds-interior .lead-photographic .shell{
 background:var(--glass-white);box-shadow:var(--glass-air);border-radius:var(--atlas-radius);
}
body.flow-design.ds-interior .lead-photographic .shell::after{
 content:"";position:absolute;inset:0;z-index:1;pointer-events:none;border-radius:inherit;
 box-shadow:inset 0 2px 7px color-mix(in srgb,var(--freight-white) 92%,transparent);
}
body.flow-design.ds-interior .rows:not(.service-list):not(#world-news-all){
 background:var(--glass-white);box-shadow:var(--glass-air);border-radius:var(--atlas-radius);
}
body.flow-design.ds-interior .service-list .row,
body.flow-design.ds-news #world-news-all .row{
 background:var(--glass-white);box-shadow:var(--glass-air);border-radius:var(--atlas-radius);
}
body.flow-design.ds-services .service-row .service-copy{
 background:radial-gradient(ellipse at 16% 0,var(--freight-white),transparent 68%);align-self:stretch;align-content:center;
}
body.flow-design.ds-services .service-row:target,body.flow-design.ds-news #world-news-all .row:target{
 background:radial-gradient(ellipse at 90% 100%,color-mix(in srgb,var(--freight-primary) 19%,transparent),transparent 66%),var(--glass-white);
 box-shadow:0 21px 44px -15px color-mix(in srgb,var(--freight-primary) 52%,transparent),inset 0 2px 7px var(--freight-white);
}
body.flow-design.ds-request{
 position:relative;isolation:isolate;
 background:radial-gradient(ellipse at 85% 17%,color-mix(in srgb,var(--freight-primary) 24%,transparent),transparent 51%),radial-gradient(ellipse at 0 41%,var(--freight-ice),transparent 54%),var(--freight-paper);
}
body.flow-design.ds-request::before{
 content:"";position:absolute;inset:0 0 auto;height:var(--request-mast);
 background:var(--horizon-fill);pointer-events:none;z-index:-1;
 box-shadow:0 12px 28px -12px color-mix(in srgb,var(--freight-ink) 38%,transparent);
}
body.flow-design.ds-request>.bar::before{content:none}
body.flow-design.ds-request .layout :is(.intro,.panel){
 background:var(--glass-white);box-shadow:var(--glass-air);border-radius:var(--atlas-radius);
}
body.flow-design.ds-request .layout .panel :is(input,select,textarea){
 background:color-mix(in srgb,var(--freight-white) 84%,transparent);
 box-shadow:inset 0 2px 4px color-mix(in srgb,var(--freight-primary) 14%,transparent),0 1px 2px var(--freight-white);
}
@media(max-width:700px){
 body.flow-design{--image-terminal:url('./assets/ds-terminal-pocket.webp');--image-road:url('./assets/editorial-road-mobile.webp')}
 body.flow-design.home #main #news{padding-block:4rem}
 body.flow-design.home #main .project-family :is(#freightpulse,#freightsteps) .project-inner{gap:1.2rem}
}
@media(hover:hover) and (pointer:fine) and (prefers-reduced-motion:no-preference){
 body.flow-design.ds-interior .service-list .row:hover,
 body.flow-design.ds-news #world-news-all .row:hover{box-shadow:0 28px 56px -26px color-mix(in srgb,var(--freight-primary) 65%,transparent),inset 0 2px 7px var(--freight-white)}
}
body.flow-design.ds-info .lead:not(.lead-photographic) .shell{--lead-pic:var(--image-terminal)}

/* Group the company link with its copy instead of creating a second grid row. */
body.flow-design.home #main #company .company-intro {
 align-items:start;
 padding-block:clamp(1.25rem,3.5vw,2.75rem);
 row-gap:1rem;
}
body.flow-design.home #main #company .company-intro h2 {
 margin:0;
 text-wrap:balance;
}
body.flow-design.home #main #company .company-narrative .company-more {
 display:table;
 margin-top:.8rem;
 min-height:0;
 padding-block:.5rem;
}

body.flow-design.home #main #news .section-title .ds-editorial-news-intro {
 color:var(--freight-white);
 max-width:63ch;
 text-shadow:0 1px 4px var(--freight-ink);
}
body.flow-design.ds-interior .ds-partner-subtitle {
 margin:1.5rem 0 .35rem;
 font-size:clamp(1.14rem,2vw,1.35rem);
 color:var(--freight-ink);
}

/* Keep the approved hero hierarchy while allowing complete words on narrow screens. */
@media(max-width:30rem){
 html[lang=ro] body.flow-design.soft-depth .arrival .scene-lead h1{
  font-size:clamp(1.98rem,10vw,3rem);max-width:100%;
 }
 body.flow-design.ds-interior #main .lead .shell h1,
 body.flow-design.ds-request #main .intro h1{
  font-size:clamp(1.95rem,9.25vw,2.8rem);max-width:100%;
 }
 body.flow-design.ds-request>.bar{gap:.42rem}
 body.flow-design.ds-request>.bar img{width:clamp(5.8rem,29vw,7.5rem)}
}
body.flow-design.ds-request #main a[data-consent-link]{
 display:inline-block;background:var(--freight-paper);color:var(--freight-primary);
 border-radius:.65rem;padding:.45rem .65rem;text-shadow:none;
}

/* A single accessible link per step/topic, with the entire row as the hit area. */
body.flow-design.home #main :is(.exchange-flow,.academy-guide) li:has(.ds-project-deeplink){
 position:relative;min-height:2.75rem;padding-block:0;
}
body.flow-design.home #main :is(.exchange-flow,.academy-guide) li>.ds-project-deeplink{
 display:flex;align-items:center;justify-content:space-between;gap:.65rem;flex:1;min-width:0;
 min-height:2.75rem;padding:.42rem .22rem;color:inherit;text-decoration:none;
}
.ds-project-deeplink::before{content:"";position:absolute;inset:0;border-radius:.7rem}
body.flow-design.home #main :is(.exchange-flow,.academy-guide) .ds-project-deeplink:hover span{text-decoration:underline;text-underline-offset:.17em}
body.flow-design.home #main :is(.exchange-flow,.academy-guide) .ds-project-deeplink:focus-visible{outline:none}
.ds-project-deeplink:focus-visible::before{outline:2px solid var(--freight-primary);outline-offset:1px}
.ds-project-deeplink svg{flex:none;width:1rem;height:1rem;color:var(--freight-primary);stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;transition:transform .18s ease}
.ds-project-deeplink:hover svg{transform:translateX(3px)}
@media(prefers-reduced-motion:reduce){.ds-project-deeplink svg{transition:none}.ds-project-deeplink:hover svg{transform:none}}
body.flow-design.home #main #freightsteps .academy-guide li:has(.ds-project-deeplink){
 padding-inline:.68rem;border-radius:.7rem;
 background:color-mix(in srgb,var(--freight-white) 52%,transparent);
 box-shadow:inset 0 1px 2px color-mix(in srgb,var(--freight-white) 87%,transparent);
}
body.flow-design.home #main #freightsteps .academy-guide ul{display:grid;gap:.3rem}
