/* Homepage, gallery and footer styles adapted from the Foresight public site. */
:root {
  --freight-navy: #0c2031;
  --freight-blue: #123752;
  --freight-sea: #00768d;
  --freight-ice: #9ce4e8;
  --freight-sand: #f2efe7;
  --freight-gold: #f6c373;
}
.sr-freight {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip-path: inset(50%); white-space: nowrap;
}
.ui-icon { display: block; flex: 0 0 auto; width: 20px; height: 20px; }
.freight-kicker, .scene-label {
  display: flex; align-items: center; gap: 10px; margin: 0 0 13px;
  font-size: 11px; font-weight: 700; line-height: 1.3; letter-spacing: .15em; text-transform: uppercase;
}
.freight-kicker { color: var(--freight-sea); }
.freight-kicker::before, .scene-label::before { content: ""; width: 24px; height: 2px; background: currentColor; }
.freight-primary, .scene-secondary {
  display: inline-flex; justify-content: center; align-items: center; gap: 13px;
  min-height: 46px; padding: 11px 20px; border-radius: 4px; font-size: 15px; line-height: 1.25; font-weight: 700; text-decoration: none;
}
.freight-primary { color: white; background: var(--freight-navy); border: 1px solid transparent; }
.freight-primary:hover { color: white; background: #194c60; }
.freight-hero :is(button,a):focus-visible {
  outline: 3px solid var(--freight-gold); outline-offset: 3px;
}

/* Each scene keeps its own image and copy so both can dissolve together. */
.freight-hero { background: var(--freight-navy); color: white; }
.scene-stage { position: relative; isolation: isolate; overflow: hidden; touch-action: pan-y pinch-zoom; height: clamp(440px, 43vw,650px); }
.scene-images, .scene-image, .scene-scrim { position: absolute; inset: 0; pointer-events: none; }
.scene-images { left: 14%; }
.scene-image { opacity: 0; }
.scene-image.is-current { opacity: 1; }
.scene-image img { width: 100%; height: 100%; display: block; object-fit: cover; object-position: 62% 54%; }
.scene-road-freight img { object-position: 60% 52%; }
.scene-corridor img { object-position: 66% center; }
@media (min-width: 981px) {
  .scene-regional { left: 6%; mask-image: linear-gradient(to right, transparent, black 13%); }
}
.scene-scrim { background: linear-gradient(90deg,#0b1c2c 3%,#0b1c2cf2 17%,#0b1c2ca6 36%,#0b1c2c22 60%,transparent 78%),linear-gradient(0deg,#0b1c2c61,transparent 28%); }
.scene-stories { height: 100%; position: relative; }
.scene-copy {
  position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center;
  align-items: flex-start; opacity: 0; visibility: hidden; pointer-events: none;
}
.scene-copy.is-current { opacity: 1; visibility: visible; pointer-events: auto; }
.scene-label { color: var(--freight-ice); }
.scene-copy :is(h1,h2) {
  margin: 0; max-width: 12em; color: white;
  font: 700 clamp(62px,6.2vw,100px)/.98 'Fira Sans',Arial,sans-serif; letter-spacing: -.04em; word-spacing: .035em;
}
.scene-copy em { display: block; color: #ffe0aa; font-weight: 600; font-style: normal; }
.scene-description { max-width: 38ch; color: #f5f8f8; font-size: clamp(16px,1.15vw,19px); line-height: 1.5; margin: 19px 0 26px; }
.scene-links { display: flex; gap: 17px; align-items: center; flex-wrap: wrap; }
.scene-links .freight-primary { background: #a5e8ec; color: #112b39; }
.scene-links .freight-primary:hover { background: #c2f4f3; }
.scene-secondary { color: white; border: 1px solid #ffffff7a; background: #0c23384f; }
.scene-secondary:hover { color: white; border-color: white; background: #1a4152; }
.scene-dock { border-top: 1px solid #ffffff35; background: #0d2234; }
.dock-inner { display: flex; gap: 24px; justify-content: space-between; align-items: center; min-height: 65px; }
.scene-choices { display: flex; gap: clamp(20px,3vw,48px); }
.scene-choice {
  --progress: 0; display: inline-flex; align-items: center; gap: 10px;
  padding: 10px 1px; min-height: 44px; background: none; border: 0; color: #b7cbd4;
  font: 600 13px/1.25 'Kumbh Sans',Arial,sans-serif;
}
.scene-choice[aria-pressed=true] { color: white; }
.scene-track { width: clamp(30px,4.4vw,72px); height: 3px; background: #58707c; border-radius: 2px; overflow: hidden; }
.scene-track i { display: block; height: 100%; background: var(--freight-gold); transform: scaleX(var(--progress)); transform-origin: left; }
.scene-choice[aria-pressed=false] .scene-track i { transform: scaleX(0); }
.scene-transport { display: flex; gap: 6px; flex: 0 0 auto; }
.round-control {
  display: inline-grid; place-items: center; min-width: 44px; min-height: 44px; padding: 10px;
  border: 1px solid #7393a0; border-radius: 50%; color: white; background: #102838;
}
.round-control:hover { border-color: white; background: #1e4253; }
.playback .icon-play, .playback.is-paused .icon-pause { display: none; }
.playback.is-paused .icon-play { display: block; }
.playback .ui-icon { width: 16px; height: 16px; }

/* Each service card links the whole image and description. */
.freight-services { background: white; }
.freight-cards { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 17px; list-style: none; padding: 0; margin: 26px 0 0; }
.freight-cards li { min-width: 0; }
.freight-card { display: flex; flex-direction: column; height: 100%; border: 1px solid #d8e3e2; border-radius: 5px; overflow: hidden; background: #fff; color: var(--freight-navy); text-decoration: none; }
.service-thumb { position: relative; aspect-ratio: 1.85; overflow: hidden; background: #d6dfda; }
.service-thumb img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; }
.service-thumb .photo-road-freight { object-position: 60% 50%; }
.card-copy { flex: 1; position: relative; padding: 19px 15px 46px; }
.card-copy h3 { font-size: clamp(20px,1.65vw,27px); line-height: 1.1; letter-spacing: -.035em; }
.card-copy p { margin: 9px 0 0; font-size: 14px; line-height: 1.5; color: #4b606a; }
.card-arrow { position: absolute; bottom: 14px; right: 15px; color: var(--freight-sea); }
.freight-card:hover,.freight-card:focus-visible { border-color: #68939b; }
.freight-hero~.fleet { background: #eff4f2; padding-block: clamp(40px,5.5vw,78px); }
.freight-hero~.fleet .heading-row { margin-bottom: 24px; }
.fleet-overview { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-size: 15px; font-weight: 700; color: #155565; text-decoration: underline; text-underline-offset: 4px; }
.fleet-overview .ui-icon { width: 16px; }
.freight-hero~.fleet h2 { color: var(--freight-navy); font-size: clamp(33px,3.75vw,60px); }
.freight-hero~.fleet .gallery-card,.fleet .gallery-card { border-radius: 4px; overflow: hidden; }
.gallery-card button { cursor: zoom-in; }

.gallery-controls{display:flex;gap:10px}
.gallery-controls button{width:50px;height:50px;background:white;border:0;color:var(--ink);font-size:28px}
.gallery-controls button:hover{background:var(--gold)}
.gallery-track{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;gap:24px;scrollbar-width:thin;padding-bottom:12px}
.gallery-card{flex:0 0 calc(33.333% - 16px);scroll-snap-align:start;background:white;min-width:0}
.gallery-card>button{padding:0;display:block;border:0;background:#ddd;position:relative;width:100%;overflow:hidden}
.gallery-card img{display:block;width:100%;height:300px;object-fit:cover;transition:transform .3s}
.gallery-card>button:hover img{transform:scale(1.04)}
.photo-plus{position:absolute;bottom:0;right:0;background:var(--gold);color:var(--ink);width:54px;height:54px;display:grid;place-items:center;font-size:28px}
.gallery-card>div{padding:24px 25px 28px}
.gallery-card small{font-size:12px;color:#787878}
.gallery-card h3{font-size:22px;margin-top:10px}
#photo-viewer{width:auto;max-width:95vw;background:var(--ink);padding:45px 18px 15px}
#photo-viewer img{display:block;max-height:75vh;max-width:86vw;height:auto;width:auto;margin:auto}
#photo-viewer p{font-size:14px;text-align:center;color:white;margin:15px 0 0}
.photo-close{color:white}
@media (max-width: 900px) {
  .gallery-card { flex-basis: calc(50% - 12px); }
  .gallery-card img { height: 280px; }
}
@media (max-width: 560px) {
  .gallery-card { flex-basis: 90%; }
  .gallery-card img { height: 240px; }
}
.photo-plus{color:#102153}
@media (prefers-reduced-motion:no-preference) {
  .scene-image { transition: opacity .8s ease; }
  @keyframes freight-camera { from { transform: scale(1.035); } to { transform: scale(1); } }
  .scene-image.is-current img { animation: freight-camera 5.2s linear both; }
  .freight-hero.is-still .scene-image img { animation-play-state: paused; }
  .scene-copy { transform: translateY(12px); transition: opacity .37s ease,transform .55s ease,visibility 0s .38s; }
  .scene-copy.is-current { transform: none; transition-delay: .12s,.12s,0s; }
  .freight-card,.card-arrow,.service-thumb img,.freight-primary .ui-icon { transition: transform .26s ease,border-color .26s ease; }
  .freight-card:is(:hover,:focus-visible) { transform: translateY(-4px); }
  .freight-card:is(:hover,:focus-visible) .service-thumb img { transform: scale(1.035); }
  .freight-card:is(:hover,:focus-visible) .card-arrow { transform: translate(3px,-3px); }
  .freight-primary:is(:hover,:focus-visible) .ui-icon { transform: translateX(3px); }
}
@media (max-width: 980px) {
  .freight-cards { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .freight-card { display: grid; grid-template-columns: .78fr 1fr; }
  .service-thumb { aspect-ratio: auto; }
  .scene-choices { gap: 17px; }
}
@media (max-width: 730px) {
  .scene-stage { height: clamp(495px,116vw,605px); }
  .scene-images { inset: 0 0 auto; height: 65%; }
  .scene-image img { object-position: 76% 52%; }
  .scene-regional img { object-position: 70% 52%; }
  .scene-road-freight img { object-position: 58% 50%; }
  .scene-scrim { background: linear-gradient(0deg,#0c2031 8%,#0c2031 33%,#0c2031ed 40%,#0c203175 54%,transparent 66%); }
  .scene-copy { justify-content: flex-end; padding-bottom: 24px; }
  .scene-copy :is(h1,h2) { font-size: clamp(43px,8.2vw,64px); line-height: .98; }
  .scene-description { margin: 12px 0 17px; font-size: 15px; }
  .scene-label { margin-bottom: 8px; font-size: 10px; }
  .scene-links { gap: 8px; }
  .scene-links :is(.freight-primary,.scene-secondary) { font-size: 14px; min-height: 44px; padding: 10px 13px; gap: 8px; }
  .dock-inner { min-height: 59px; gap: 9px; }
  .scene-choices { gap: 6px; align-items: center; }
  .scene-choice { position: relative; padding: 0 3px; display: grid; min-width: 44px; }
  .scene-choice>span:last-child { position: absolute; clip-path: inset(50%); width: 1px; overflow: hidden; white-space: nowrap; }
  .scene-track { width: 100%; }
  .scene-transport { gap: 3px; }
  .freight-cards { gap: 12px; }
  .freight-card { display: flex; }
  .service-thumb { aspect-ratio: 1.85; }
  .card-copy { padding: 15px 11px 38px; }
  .card-copy h3 { font-size: 20px; }
  .card-copy p { font-size: 13px; }
}
@media(max-width: 410px) {
  .freight-cards { grid-template-columns: 1fr; }
  .freight-card { display: grid; grid-template-columns: 32% 1fr; }
  .service-thumb { aspect-ratio: auto; }
  .card-copy { padding: 15px 30px 15px 12px; }
  .card-arrow { bottom: 10px; right: 7px; }
  .card-arrow .ui-icon { width: 16px; }
}
@media(prefers-reduced-motion:reduce) {
  html { scroll-behavior: auto; }
  .gallery-card > button:hover img { transform: none; }
}

.freight-footer {
  padding: 0; background: #f4f1e8; color: #142e3b; border-top: 1px solid #d3d8cf;
}
.footer-main {
  display: grid; grid-template-columns: minmax(0,.76fr) minmax(0,1fr) minmax(0,1.6fr);
  align-items: center; gap: clamp(24px,3.5vw,54px); padding: clamp(22px,2.3vw,34px) 0;
}
.footer-signature {
  display: block; position: relative; width: 153px; max-width: 100%; aspect-ratio: 681 / 383;
  overflow: hidden; mix-blend-mode: multiply;
}
.footer-signature img {
  display: block; position: absolute; width: 112.775%; max-width: none; height: auto;
  left: -5.286%; top: -9.661%;
}
.footer-identity p {
  color: #3f5360; font-size: 15px; line-height: 1.4; font-weight: 500; margin: 12px 0 0;
}
.footer-shipment {
  border-left: 1px solid #c9cfc7; padding-inline-start: clamp(19px,2.5vw,37px);
}
.footer-shipment h2 {
  color: #162f3b; margin: 0 0 12px; font-size: clamp(22px,1.9vw,30px); line-height: 1.1; letter-spacing: -.035em;
}
.footer-quote {
  display: inline-flex; align-items: center; justify-content: space-between; gap: 17px; max-width: 100%;
  min-height: 44px; padding: 9px 15px; border-radius: 4px; background: #103747; color: #fff;
  font-size: 15px; font-weight: 700; line-height: 1.25; text-decoration: none;
}
.footer-quote .ui-icon { width: 19px; color: #a6e6e7; }
.footer-quote:hover { color: #fff; background: #14536a; }
.footer-loads { display: flex; flex-wrap: wrap; column-gap: 15px; margin-top: 5px; }
.footer-loads a {
  display: inline-flex; align-items: center; min-height: 34px; font-size: 13px; line-height: 1.25;
  color: #2d5261; text-decoration: underline; text-decoration-color: #8fa6a7; text-underline-offset: 4px;
}
.footer-loads a:hover { text-decoration-color: currentColor; }
.footer-routes {
  display: flex; align-items: end; justify-content: space-between; gap: 12px; position: relative;
  isolation: isolate; height: clamp(148px,13.4vw,184px); overflow: hidden;
  padding: clamp(15px,1.7vw,25px); border-radius: 5px; background: #183846; color: #fffdf5; text-decoration: none;
}
.footer-routes img,.footer-routes::after { position: absolute; inset: 0; width: 100%; height: 100%; }
.footer-routes img { z-index: -2; object-fit: cover; object-position: 62% 60%; }
.footer-routes::after {
  content: ""; z-index: -1; pointer-events: none;
  background: linear-gradient(0deg,#102737ec 0%,#10273787 31%,#1027370a 70%);
}
.footer-route-caption {
  color: #fffdf4; font: 700 clamp(24px,2.4vw,36px)/1.05 'Fira Sans',Arial,sans-serif;
  letter-spacing: -.035em; align-self: end;
}
.footer-route-arrow {
  display: grid; place-items: center; width: 38px; height: 38px; flex: 0 0 auto; border-radius: 50%;
  border: 1px solid #ffedca; background: #122c36b0; color: #ffe3af;
}
.footer-route-arrow .ui-icon { width: 18px; }
.footer-directory {
  display: flex; justify-content: space-between; align-items: center; gap: 4px 20px; flex-wrap: wrap;
  border-top: 1px solid #c4cec7; padding: 3px 0;
}
.footer-pages {
  display: flex; align-items: center; flex-wrap: wrap; gap: 0 clamp(16px,2.7vw,40px);
  list-style: none; margin: 0; padding: 0;
}
.footer-pages a,.footer-instagram {
  display: inline-flex; align-items: center; min-height: 44px; color: #203f4c;
  font: 600 14px/1.35 'Kumbh Sans',Arial,sans-serif; text-decoration: none;
}
.footer-pages a:is(:hover,[aria-current=page]),.footer-instagram:hover span {
  text-decoration: underline; text-underline-offset: 4px;
}
.footer-instagram { gap: 7px; }
.footer-instagram .icon-instagram { width: 19px; height: 19px; color: #176074; }
.footer-instagram .icon-up { width: 14px; height: 14px; }
.footer-legal { color: #d6e3e3; background: #102837; }
.footer-legal .container { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 46px; }
.footer-legal small,.footer-legal button { font: 400 12px/1.4 'Kumbh Sans',Arial,sans-serif; }
.footer-legal button {
  color: #e6f0ed; min-height: 44px; margin: 0; padding: 0; border: 0; background: none;
  white-space: nowrap; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: #8aa0a4;
}
.footer-legal button:hover { text-decoration-color: currentColor; }
.freight-footer :is(a,button):focus-visible { outline: 3px solid #006d84; outline-offset: 3px; }
.footer-legal button:focus-visible { outline-color: #a8e9e8; outline-offset: 0; }
@media (prefers-reduced-motion: no-preference) {
  .footer-routes img,.footer-route-arrow .ui-icon,.footer-quote .ui-icon { transition: transform .35s ease; }
  .footer-routes:is(:hover,:focus-visible) img { transform: scale(1.035); }
  .footer-routes:is(:hover,:focus-visible) .ui-icon,.footer-quote:is(:hover,:focus-visible) .ui-icon { transform: translateX(3px); }
}
@media (max-width: 940px) {
  .footer-main { grid-template-columns: .75fr 1fr 1.35fr; gap: 22px; }
  .footer-signature { width: 132px; }
  .footer-shipment { padding-inline-start: 16px; }
  .footer-loads { column-gap: 12px; }
}
@media (max-width: 690px) {
  .footer-main { grid-template-columns: minmax(0,.85fr) minmax(0,1.15fr); gap: 17px; padding: 22px 0 16px; }
  .footer-routes { grid-column: 1 / -1; height: clamp(118px,30vw,153px); padding: 16px; }
  .footer-routes img { object-position: center 62%; }
  .footer-identity p { font-size: 14px; }
  .footer-pages { column-gap: 18px; }
}
@media (max-width: 480px) {
  .footer-main { gap: 16px 12px; }
  .footer-signature { width: 116px; }
  .footer-shipment { padding-inline-start: 12px; }
  .footer-shipment h2 { font-size: 21px; margin-bottom: 9px; }
  .footer-quote { gap: 7px; font-size: 14px; padding-inline: 10px; }
  .footer-loads { flex-direction: column; align-items: start; margin-top: 3px; }
  .footer-loads a { min-height: 32px; }
  .footer-directory { gap: 0; padding: 2px 0 5px; }
  .footer-pages { column-gap: 15px; }
  .footer-pages a,.footer-instagram { font-size: 13px; }
  .footer-legal .container { min-height: 46px; }
}
