/* Interior chapters inherit the home panorama, optical glass and content rail.
   This stylesheet is not loaded by the approved home page. */
body.flow-design:is(.ds-interior,.ds-request){
 --chapter-rail:min(1432px,calc(100% - clamp(2rem,7vw,8rem)));
 --chapter-sky:color-mix(in srgb,var(--freight-ink) 81%,var(--freight-primary));
 --chapter-lens:radial-gradient(ellipse at 8% -20%,var(--freight-white),transparent 62%),linear-gradient(142deg,color-mix(in srgb,var(--freight-white) 83%,transparent),color-mix(in srgb,var(--freight-ice) 85%,transparent));
 --chapter-lift:0 27px 62px -40px color-mix(in srgb,var(--freight-ink) 62%,transparent),0 6px 16px -10px color-mix(in srgb,var(--freight-primary) 39%,transparent),inset 0 2px 8px var(--freight-white);
 --chapter-radius:clamp(1.1rem,2.5vw,2rem);
}
body.flow-design:is(.ds-interior,.ds-request) .shell{width:var(--chapter-rail)}
body.flow-design.ds-interior>header:not(.mast):not(.bar){
 position:sticky;top:0;z-index:16;isolation:isolate;
 margin-bottom:calc(-1 * var(--horizon-height));min-height:var(--horizon-height);
 background:none;box-shadow:none;
}
body.flow-design.ds-interior>header::before,body.flow-design.ds-interior>header::after{
 content:"";position:absolute;z-index:-1;inset:0;pointer-events:none;
}
body.flow-design.ds-interior>header::before{
 bottom:-1.4rem;
 background:linear-gradient(180deg,color-mix(in srgb,var(--freight-ink) 88%,transparent),color-mix(in srgb,var(--freight-ink) 59%,transparent) 49%,transparent);
 backdrop-filter:blur(8px) saturate(123%);
 mask-image:linear-gradient(var(--freight-ink),var(--freight-ink) 26%,transparent 100%);
}
body.flow-design.ds-interior>header::after{
 background:var(--horizon-fill);opacity:0;transition:opacity .28s ease;
 backdrop-filter:blur(18px) saturate(142%);
 box-shadow:0 15px 36px -15px color-mix(in srgb,var(--freight-ink) 52%,transparent);
}
body.flow-design.ds-interior>header[data-solid=true]::after,
body.flow-design.ds-interior>header:focus-within::after{opacity:1}
body.flow-design.ds-interior>header .head{padding:0;min-height:var(--horizon-height)}
body.flow-design.ds-interior>header .head a:focus-visible{outline-color:var(--freight-white)}
body.flow-design.ds-interior>header .head nav:not(.open) a:is(.active,:hover){
 color:var(--freight-white);background:color-mix(in srgb,var(--freight-white) 15%,transparent)
}
body.flow-design.ds-interior .head-end{display:flex;align-items:center;gap:.65rem}
body.flow-design.ds-interior .chapter-action{
 display:inline-flex;align-items:center;min-height:2.75rem;padding:.44rem .82rem;
 border-radius:.68rem;background:var(--freight-paper);color:var(--freight-primary);
 font:750 .88rem Inter,Arial,sans-serif;text-decoration:none;white-space:nowrap;
 box-shadow:0 10px 24px -13px var(--freight-ink),inset 0 1px 4px var(--freight-white);
}
body.flow-design.ds-interior .chapter-action:hover{background:var(--freight-white)}
body.flow-design.ds-interior #main{
 background:radial-gradient(ellipse at 90% 33%,color-mix(in srgb,var(--freight-primary) 14%,transparent),transparent 48%),radial-gradient(ellipse at 4% 61%,var(--freight-ice),transparent 57%),var(--freight-paper);
}
body.flow-design.ds-interior .lead{
 --chapter-anchor:62% 50%;position:relative;isolation:isolate;display:grid;align-items:end;
 min-height:clamp(26rem,34vw,34rem);padding:calc(var(--horizon-height) + clamp(2.2rem,5vw,5.3rem)) 0 clamp(5.5rem,10vw,9rem);margin:0;
 background:var(--chapter-sky);
}
body.flow-design.ds-interior .chapter-picture,
body.flow-design.ds-interior .chapter-picture img{
 position:absolute;inset:0;display:block;width:100%;height:100%;pointer-events:none;
}
body.flow-design.ds-interior .chapter-picture{z-index:-2}
body.flow-design.ds-interior .chapter-picture img{object-fit:cover;object-position:var(--chapter-anchor)}
body.flow-design.ds-interior .lead::before{
 content:"";position:absolute;z-index:-1;inset:0;
 background:linear-gradient(90deg,color-mix(in srgb,var(--freight-ink) 97%,transparent),color-mix(in srgb,var(--freight-ink) 84%,transparent) 25%,color-mix(in srgb,var(--freight-ink) 51%,transparent) 54%,color-mix(in srgb,var(--freight-primary) 18%,transparent) 100%),
 linear-gradient(180deg,color-mix(in srgb,var(--freight-ink) 27%,transparent),transparent 26%,transparent 52%,var(--chapter-sky) 100%);
}
body.flow-design.ds-interior .lead::after{
 content:"";display:block;position:absolute;z-index:-1;inset:auto 0 -1px;height:clamp(4rem,9vw,8rem);pointer-events:none;
 background:linear-gradient(180deg,transparent,color-mix(in srgb,var(--freight-paper) 48%,transparent) 62%,var(--freight-paper));
}
body.flow-design.ds-interior .lead .shell,
body.flow-design.ds-interior .lead:is(.lead-photographic,:not(.lead-photographic)) .shell{
 min-height:0;margin:0 auto;padding:0;background:none;box-shadow:none;border-radius:0;overflow:visible;
 backdrop-filter:none;color:var(--freight-white);
}
body.flow-design.ds-interior .lead .shell::before,body.flow-design.ds-interior .lead .shell::after{content:none}
body.flow-design.ds-interior .lead .eyebrow{color:var(--freight-ice);font-size:.81rem;letter-spacing:.10em}
body.flow-design.ds-interior .lead .shell h1{
 max-width:15ch;margin:.55rem 0 .85rem;
 font-size:clamp(3rem,5.4vw,5.95rem);line-height:.98;letter-spacing:-.065em;font-weight:790;
 color:var(--freight-white);text-wrap:balance;text-shadow:0 10px 38px color-mix(in srgb,var(--freight-ink) 44%,transparent);
}
body.flow-design.ds-interior .lead .shell>p:last-child,
body.flow-design.ds-interior .lead:not(.lead-photographic) .shell>p:last-child{
 max-width:56ch;color:var(--freight-paper);font-size:clamp(1.02rem,1.33vw,1.19rem);line-height:1.51
}
body.flow-design.ds-interior #main>section:nth-child(2),
body.flow-design.ds-interior #main>nav:nth-child(2){
 position:relative;z-index:1;margin-top:clamp(-2.65rem,-4vw,-1.55rem);
}
body.flow-design.ds-interior .rows:not(.service-list):not(#world-news-all){
 background:var(--chapter-lens);box-shadow:var(--chapter-lift);border-radius:var(--chapter-radius)
}
body.flow-design.ds-interior :is(.rows .row,#world-news-all .row,[id].service-row){
 scroll-margin-top:calc(var(--horizon-height) + 1.15rem)
}
body.flow-design.ds-interior .service-list .service-row,
body.flow-design.ds-news #world-news-all .row{
 background:var(--chapter-lens);box-shadow:var(--chapter-lift);border-radius:var(--chapter-radius)
}
body.flow-design.ds-news #world-news-all .row:first-child{
 grid-column:1/-1;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);
 column-gap:clamp(1rem,4vw,4.4rem);align-content:center;
 background:radial-gradient(ellipse at 100% 0%,color-mix(in srgb,var(--freight-primary) 83%,transparent),transparent 74%),var(--chapter-sky);
 color:var(--freight-white);padding:clamp(1.25rem,3.5vw,3.05rem);
 box-shadow:0 26px 52px -29px color-mix(in srgb,var(--freight-ink) 75%,transparent),inset 0 3px 10px color-mix(in srgb,var(--freight-white) 26%,transparent)
}
body.flow-design.ds-news #world-news-all .row:first-child :is(.eyebrow,h2){color:var(--freight-white)}
body.flow-design.ds-news #world-news-all .row:first-child p:not(.eyebrow){color:var(--freight-ice);grid-column:2;grid-row:2}
body.flow-design.ds-news #world-news-all .row:first-child a.inline{color:var(--freight-primary);background:var(--freight-paper);grid-column:2}
body.flow-design.ds-news #world-news-all .row:first-child a.inline:focus-visible{outline-color:var(--freight-white)}
body.flow-design:is(.ds-about,.ds-sourcing,.ds-info) .rows:not(.service-list):not(#world-news-all){
 display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:clamp(.85rem,2.5vw,2.05rem);
 background:none;box-shadow:none;padding:0;
}
body.flow-design:is(.ds-about,.ds-sourcing,.ds-info) .rows .row{
 min-width:0;max-width:none;margin:0;border-radius:var(--chapter-radius);
 background:var(--chapter-lens);box-shadow:var(--chapter-lift);padding:clamp(1.15rem,3.1vw,2.6rem)
}
body.flow-design:is(.ds-about,.ds-info) .rows .row:first-child{grid-column:1/-1}
body.flow-design.ds-request::before{
 height:clamp(27rem,48vw,43rem);
 background:linear-gradient(180deg,var(--chapter-sky),color-mix(in srgb,var(--freight-ink) 60%,transparent) 58%,var(--freight-paper)),
 url('./assets/editorial-road.webp') 63% center/cover;
 box-shadow:none
}
body.flow-design.ds-request>.bar{min-height:var(--horizon-height)}
body.flow-design.ds-request .layout{gap:clamp(1.2rem,4vw,4rem)}
body.flow-design.ds-request .layout .intro{
 background:none;box-shadow:none;padding:clamp(.35rem,2.7vw,2.25rem) 0;color:var(--freight-white)
}
body.flow-design.ds-request .layout .intro :is(h1,.kicker,p:not(.fine)){color:var(--freight-white)}
body.flow-design.ds-request .layout .intro h1{
 font-weight:790;letter-spacing:-.064em;line-height:.99;
 font-size:clamp(2.64rem,5.2vw,5.5rem);text-shadow:0 10px 30px var(--freight-ink)
}
body.flow-design.ds-request .layout .intro p.fine{
 color:var(--freight-ink);background:var(--chapter-lens);border:0;border-radius:.85rem;box-shadow:var(--chapter-lift)
}
body.flow-design.ds-request .layout .panel{
 background:var(--chapter-lens);box-shadow:var(--chapter-lift);border-radius:var(--chapter-radius);min-width:0
}
body.flow-design.ds-request .layout .form-contact{border:0}
body.flow-design.ds-request .form-contact-links a{border:0;border-radius:.75rem;box-shadow:var(--chapter-lift)}
@media(max-width:980px){body.flow-design.ds-interior .chapter-action{display:none}}
@media(max-width:52rem){
 body.flow-design.ds-interior>header .head-end{grid-column:3;grid-row:1}
 body.flow-design.ds-interior .lead{min-height:24rem}
 body.flow-design.ds-interior .lead .shell h1{font-size:clamp(2.55rem,7.5vw,4.3rem)}
}
@media(max-width:48rem){
 body.flow-design.ds-interior .lead{
  min-height:22rem;padding:calc(var(--horizon-height) + 2.15rem) 0 5rem;
  --chapter-anchor:63% 48%;
 }
 body.flow-design.ds-interior .lead::before{
  background:linear-gradient(110deg,color-mix(in srgb,var(--freight-ink) 96%,transparent),color-mix(in srgb,var(--freight-ink) 69%,transparent) 55%,color-mix(in srgb,var(--freight-ink) 41%,transparent)),
  linear-gradient(180deg,transparent 51%,var(--chapter-sky) 100%);
 }
 body.flow-design:is(.ds-about,.ds-sourcing,.ds-info) .rows:not(.service-list):not(#world-news-all),
 body.flow-design.ds-news #world-news-all .row:first-child{grid-template-columns:minmax(0,1fr)}
 body.flow-design.ds-news #world-news-all .row:first-child :is(p:not(.eyebrow),a.inline){grid-column:auto;grid-row:auto}
 body.flow-design.ds-request::before{
  height:clamp(28rem,112vw,38rem);
  background:linear-gradient(180deg,var(--chapter-sky),color-mix(in srgb,var(--freight-ink) 76%,transparent) 62%,var(--freight-paper)),url('./assets/editorial-road-mobile.webp') center/cover;
 }
}
@media(prefers-reduced-motion:reduce){body.flow-design.ds-interior>header::after{transition:none}}

/* Keep the panoramic text unboxed; the glass belongs in the controls and the
   content layer, not in an invisible rectangle across the photo. */
body.flow-design.ds-interior #main .lead > .shell{
 background:none;box-shadow:none;filter:none;backdrop-filter:none;
 -webkit-backdrop-filter:none;opacity:1;transform:none;
}
body.flow-design.ds-interior #main .lead::after{
 height:clamp(4.4rem,9vw,8rem);
 background:linear-gradient(180deg,transparent,var(--freight-paper));
}
body.flow-design.ds-interior #main>.service-index h2{
 display:inline-block;margin:0 0 .45rem .35rem;padding:.12rem .35rem;
 color:var(--freight-ink);
}
body.flow-design.ds-interior #main>.service-index ul{background:var(--chapter-lens);box-shadow:var(--chapter-lift)}
body.flow-design.ds-request::before{
 mask-image:linear-gradient(var(--freight-ink) 78%,transparent);
}
body.flow-design.ds-request #main .intro{
 opacity:1;transform:none;filter:none;-webkit-backdrop-filter:none;backdrop-filter:none;
}
body.flow-design.ds-request #main .panel{
 background:linear-gradient(150deg,color-mix(in srgb,var(--freight-white) 91%,transparent),color-mix(in srgb,var(--freight-ice) 94%,transparent));
}
body.flow-design.ds-interior>header .head nav .chapter-action-mobile{display:none}
@media(max-width:52rem){
 body.flow-design.ds-interior>header .head nav.open .chapter-action-mobile{
  display:flex;grid-column:1/-1;justify-content:center;background:var(--freight-paper);
  color:var(--freight-primary);white-space:normal;
 }
}
