/* Full-width service carousel. The first slide is usable before enhancement. */
.freight-hero { --slide-duration: 8000ms; position: relative; isolation: isolate; background: #0b2236; color: white; }
.hero-stage { display: grid; position: relative; overflow: clip; touch-action: pan-y; }
.hero-slide { grid-area: 1 / 1; position: relative; min-width: 0; overflow: clip; visibility: hidden; opacity: 0; pointer-events: none; transition: opacity 850ms ease, visibility 850ms; }
.hero-slide.is-active { visibility: visible; opacity: 1; pointer-events: auto; z-index: 1; }
.slide-photo, .slide-shade { position: absolute; inset: 0; width: 100%; height: 100%; }
.slide-photo { object-fit: cover; object-position: 50% 55%; }
#freight-slide-1 .slide-photo { object-position: 60% 50%; }
#freight-slide-2 .slide-photo { object-position: 65% 42%; }
#freight-slide-3 .slide-photo { object-position: 60% 52%; }
.slide-shade { background: linear-gradient(90deg, #061b2feb 0%, #0b2335d9 24%, #0b23356b 50%, #0b233506 78%), linear-gradient(0deg, #0b2236f5 0%, #0b223633 28%, transparent 60%); }
.slide-layout { position: relative; display: flex; align-items: center; min-height: 660px; padding-block: 65px 122px; }
.slide-copy { max-width: 720px; }
.freight-hero .slide-eyebrow { display: flex; align-items: center; gap: 12px; color: #83e4f5; font-size: .65rem; letter-spacing: .13em; margin-bottom: 24px; }
.slide-eyebrow > span { width: 30px; height: 2px; background: currentColor; }
.freight-hero .slide-title { font-size: clamp(3.6rem, 5.25vw, 5rem); line-height: 1.02; letter-spacing: -.045em; color: #fff; }
.slide-title-lead { display: block; }
.slide-title-detail { display: block; color: #dce9ed; font-size: .45em; font-weight: 400; line-height: 1.3; letter-spacing: -.02em; margin-top: 22px; }
.slide-description { max-width: 440px; margin-top: 22px; color: #d0dde6; font-size: .95rem; line-height: 1.75; }
.slide-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 18px 28px; margin-top: 30px; }
.freight-hero .slide-actions .button { padding: 17px 23px; min-height: 55px; font-size: .9rem; gap: 28px; }
.slide-link { display: inline-flex; gap: 13px; align-items: center; min-height: 44px; font-size: .875rem; color: white; text-underline-offset: 6px; }
.slide-link:hover { text-decoration: underline; }
.hero-route-art { position: absolute; z-index: 2; width: min(43vw, 650px); right: 3%; top: 32px; opacity: .75; pointer-events: none; filter: drop-shadow(0 1px 5px #09243755); }
.hero-route-guide { stroke: #dffaff; stroke-width: 1; stroke-dasharray: 3 8; opacity: .45; }
.hero-route-line { stroke: #70e2f6; stroke-width: 1.8; stroke-dasharray: 1; stroke-dashoffset: 0; }
.hero-route-stop > circle:first-child { stroke: #bceaf4; stroke-width: 1; fill: #0a29382b; }
.hero-route-stop .route-core { fill: #8eeafb; }
.hero-route-label { fill: white; font: 10px Rubik, sans-serif; letter-spacing: 1.7px; }
.hero-slider-controls { position: absolute; z-index: 3; left: 0; right: 0; bottom: 27px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.hero-frame-note { display: flex; align-items: center; gap: 10px; color: #c1d2dd; font-size: .7rem; letter-spacing: .02em; }
.hero-frame-note > span { display: inline-block; width: 6px; height: 6px; border: 1px solid #6adbed; border-radius: 50%; }
.hero-control-group { display: flex; align-items: center; gap: 10px; }
.hero-slide-count { display: inline-flex; gap: 9px; align-items: baseline; padding-right: 17px; font-variant-numeric: tabular-nums; }
.hero-slide-count strong { font-size: 1.1rem; font-weight: 400; }
.hero-slide-count > span { font-size: .75rem; color: #92a9b9; }
.hero-arrow { display: grid; place-items: center; border-radius: 50%; width: 44px; height: 44px; border: 1px solid #9bb9c859; background: #132f4b24; color: #fff; transition: background 200ms, border-color 200ms; }
.hero-arrow svg { width: 19px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.hero-arrow:hover { background: #21bce12b; border-color: #77dbe8; }
.hero-playback { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-width: 88px; min-height: 44px; color: #d2e3eb; background: transparent; font-size: .7rem; }
.hero-playback:disabled { opacity: .6; }
.playback-symbol { height: 10px; width: 8px; border-inline: 2px solid currentColor; }
.hero-playback[aria-label="Play slideshow"] .playback-symbol, .hero-playback:disabled .playback-symbol { width: 0; height: 0; border: 5px solid transparent; border-right: 0; border-left: 8px solid currentColor; }
.hero-slide-nav { position: relative; z-index: 3; border-top: 1px solid #89afc426; background: #0b2236; }
.hero-slide-tabs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.hero-slide-tab { position: relative; display: flex; align-items: center; gap: 15px; padding: 26px 20px; min-height: 108px; color: #a9bfce; background: transparent; text-align: left; border-right: 1px solid #89afc420; overflow: hidden; transition: color 220ms, background 220ms; }
.hero-slide-tab:first-child { border-left: 1px solid #89afc420; }
.hero-slide-tab::before, .slide-progress { content: ''; position: absolute; left: 0; top: 0; height: 2px; width: 100%; background: #21bce1; transform: scaleX(0); transform-origin: left; }
.hero-slide-tab[aria-current="true"] { color: #fff; background: #16384a; }
.hero-slide-tab[aria-current="true"]::before { transform: scaleX(1); opacity: .25; }
.hero-slide-tab[aria-current="true"] .slide-progress { transform: scaleX(1); }
.hero-slide-tab:hover { background: #153447; color: white; }
.slide-tab-number { align-self: flex-start; padding-top: 7px; font-size: .6rem; letter-spacing: .06em; color: #7395aa; }
.slide-tab-icon { width: 31px; height: 31px; flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 1.25; stroke-linecap: round; stroke-linejoin: round; }
.hero-slide-tab[aria-current="true"] .slide-tab-icon, .hero-slide-tab[aria-current="true"] .slide-tab-number { color: #61d7ed; }
.slide-tab-label { display: flex; flex-direction: column; gap: 4px; }
.slide-tab-label strong { font-size: .95rem; line-height: 1.3; font-weight: 400; }
.slide-tab-label > span { font-size: .675rem; line-height: 1.4; color: #92adbd; }
.slide-tab-arrow { margin-left: auto; color: #76dbeb; font-size: 1rem; opacity: 0; }
.hero-slide-tab[aria-current="true"] .slide-tab-arrow { opacity: 1; }
.freight-hero :is(a,button):focus-visible { outline: 2px solid #a7eeff; outline-offset: 5px; }
.freight-hero .hero-slide-tab:focus-visible { outline-offset: -6px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; border: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
@media (prefers-reduced-motion: no-preference) {
  .hero-slide.is-active .slide-copy { animation: freight-copy-in 850ms cubic-bezier(.22,1,.36,1) both; }
  .freight-hero:is(.is-playing, .is-paused) .hero-slide.is-active .slide-photo { animation: freight-photo-drift 9s ease-out both; }
  .freight-hero.is-playing .hero-slide-tab[aria-current="true"] .slide-progress { animation: freight-progress var(--slide-duration) linear both; }
  .freight-hero:is(.is-playing, .is-paused) .hero-route-line { animation: freight-route 8s ease-in-out infinite; }
  .freight-hero.is-paused :is(.slide-photo, .hero-route-line) { animation-play-state: paused; }
}
@keyframes freight-copy-in { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }
@keyframes freight-photo-drift { from { transform: scale(1.045); } to { transform: scale(1); } }
@keyframes freight-progress { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes freight-route { 0% { stroke-dashoffset: 1; opacity: 0; } 10% { opacity: 1; } 75% { stroke-dashoffset: 0; opacity: 1; } 100% { stroke-dashoffset: 0; opacity: .15; } }
@media (max-width: 1100px) {
  .slide-layout { min-height: 650px; padding-block: 60px 115px; }
  .freight-hero .slide-title { font-size: 3.7rem; }
  .slide-copy { max-width: 650px; }
  .hero-route-art { width: 42vw; right: 1%; top: 60px; opacity: .55; }
  .hero-slide-tab { gap: 11px; padding: 22px 16px; }
  .slide-tab-number, .slide-tab-arrow { display: none; }
  .slide-tab-label strong { font-size: .85rem; }
  .slide-tab-label > span { font-size: .625rem; }
}
@media (max-width: 850px) {
  .slide-layout { min-height: 650px; }
  .freight-hero .slide-title { font-size: clamp(3rem, 7.2vw, 3.7rem); }
  .slide-copy { max-width: 610px; }
  .slide-shade { background: linear-gradient(90deg, #081d30ee, #0b2335b3 48%, #0b233533), linear-gradient(0deg, #0b2236 0%, transparent 60%); }
  .hero-route-art { right: -8%; top: 45px; width: 47vw; opacity: .35; }
  .hero-slide-tab { flex-direction: column; align-items: flex-start; gap: 12px; padding: 18px 14px; min-height: 118px; }
  .slide-tab-icon { width: 26px; height: 26px; }
  .slide-tab-label strong { font-size: .8rem; }
  .slide-tab-label > span { display: none; }
}
@media (max-width: 560px) {
  .slide-layout { min-height: 680px; align-items: flex-start; padding-block: 47px 210px; }
  .slide-copy { max-width: 100%; }
  .freight-hero .slide-eyebrow { font-size: .55rem; gap: 9px; letter-spacing: .07em; margin-bottom: 23px; }
  .slide-eyebrow > span { width: 21px; }
  .freight-hero .slide-title { font-size: clamp(2.35rem, 10vw, 3.2rem); line-height: 1.05; }
  .slide-title-detail { font-size: .57em; margin-top: 19px; }
  .slide-description { font-size: .875rem; line-height: 1.7; max-width: 355px; margin-top: 20px; }
  .slide-actions { gap: 10px 20px; margin-top: 23px; }
  .freight-hero .slide-actions .button { font-size: .85rem; min-height: 51px; padding: 15px 20px; }
  .slide-link { font-size: .8rem; }
  .slide-photo { object-position: 90% bottom; height: 66%; top: auto; mask-image: linear-gradient(transparent, #000 27%); }
  #freight-slide-1 .slide-photo { object-position: 58% center; }
  #freight-slide-2 .slide-photo { object-position: 100% center; }
  #freight-slide-3 .slide-photo { object-position: 82% center; }
  .slide-shade { background: linear-gradient(180deg, #0b2236 3%, #0b2236f2 29%, #0b2236ad 56%, #0b223612 77%, #0b2236e0 100%), linear-gradient(90deg, #0b223666, transparent); }
  .hero-route-art { width: 245px; top: auto; bottom: 105px; right: -24px; opacity: .55; }
  .hero-route-label { display: none; }
  .hero-slider-controls { bottom: 19px; }
  .hero-frame-note { display: none; }
  .hero-control-group { width: 100%; gap: 10px; }
  .hero-slide-count { margin-right: auto; padding-right: 0; }
  .hero-playback { min-width: 72px; }
  .hero-slide-tabs { width: 100%; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-slide-tab { flex-direction: row; align-items: center; gap: 12px; min-height: 72px; padding: 17px 20px; border-bottom: 1px solid #89afc420; }
  .slide-tab-label strong { font-size: .8rem; }
  .slide-tab-icon { width: 27px; height: 27px; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-slide, .hero-slide-tab { transition: none; }
  .freight-hero *, .freight-hero *::before { animation: none !important; }
}
@media print {
  .freight-hero .hero-slide { display: none; }
  .freight-hero .hero-slide:first-child { display: block; visibility: visible; opacity: 1; }
  .hero-route-art, .hero-slider-controls, .hero-slide-nav { display: none !important; }
}
