:root {
  --freight-red: #cf1028;
  --freight-ink: #191b21;
  --freight-border: #e3e5ea;
  --home-image-gap: clamp(25px, 5vw, 72px);
  /* The gap-adjusted image column uses basic percentage and length arithmetic. */
  --home-image-column: calc(49.26108% - clamp(12.315px, 2.463054vw, 35.468px));
  --home-content-gutter: clamp(20px, 5vw, 72px);
}
:focus-visible { outline: 3px solid #ee4157; outline-offset: 4px; }
section[id] { scroll-margin-top: 98px; }
.layout-header .nav-dropdown:focus-within .nav-dropdown-menu { opacity: 1; visibility: visible; pointer-events: auto; }
.hero-copy h1 { text-wrap: balance; }
.hero-clean .hero-copy p { max-width: 580px; }
.freight-explorer { margin: 0 0 24px; border: 1px solid var(--freight-border); border-radius: 22px; overflow: hidden; background: #fff; }
.freight-heading { padding: clamp(18px,3vw,32px) clamp(18px,4vw,40px) 17px; }
.freight-heading .eyebrow { margin: 0 0 7px; }
.freight-heading h2 { margin: 0; font-size: clamp(1.4rem,2.75vw,2.55rem); letter-spacing: -.05em; line-height: 1.13; }
.freight-tabs { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); border-top: 1px solid var(--freight-border); border-bottom: 1px solid var(--freight-border); }
.freight-tabs a {
  display:flex; gap:9px; align-items:center; justify-content:center; min-height:67px;
  padding: 11px 9px; text-align:center; font-size: .9375rem; font-weight: 750;
  border-inline-end: 1px solid var(--freight-border); color: #262b35;
}
.freight-tabs a:last-child { border-inline-end: 0; }
.freight-tabs a:focus-visible { outline-offset: -4px; }
.freight-tabs a:hover { background: #f7f8fa; }
.freight-tabs a[aria-selected=true] { background: var(--freight-ink); color: #fff; box-shadow: inset 0 -3px 0 var(--freight-red); }
.freight-tabs .icon { color: var(--freight-red); }
.freight-tabs a[aria-selected=true] .icon { color: #ff6a7b; }
.freight-panel { display:grid; grid-template-columns: minmax(0, var(--home-image-column)) minmax(0, 1fr); }
.freight-panel[hidden] { display: none; }
.freight-photo {
  background-image: url('../img/freight-modes.webp'); background-size: 200% 200%;
  background-repeat: no-repeat; background-color: #252a33; position: relative;
  aspect-ratio: 3 / 2; overflow:hidden;
}
.freight-photo--road { background-position: left top; }
.freight-photo--sea { background-position: right top; }
.freight-photo--rail { background-position: left bottom; }
.freight-photo--air { background-position: right bottom; }
.freight-photo-icon {
  position:absolute; bottom: 16px; left:16px; color:#fff; background:#161a22e8;
  width:48px; height:48px; border-radius:12px; display:grid; place-items:center;
  border: 1px solid #ffffff5e;
}
.freight-panel-copy { padding: clamp(24px,4vw,50px); align-self:center; }
.freight-panel-copy h3 { margin:0 0 10px; font-size:clamp(1.5rem,3vw,2.9rem); letter-spacing:-.05em; line-height:1.1; }
.freight-panel-copy p { margin:0 0 23px; color:#525a67; line-height:1.65; }
.freight-panel-copy .btn { height:46px; border-radius: 9px; }
.detail-freight-visual:has(.freight-photo) { display:block; min-height:0; padding:0; border-radius:22px; overflow:hidden; }
.detail-freight-visual .freight-photo { width:100%; }
.service-modern-card { transition: border-color .18s, box-shadow .18s; }
.service-modern-card:hover { border-color:#ec9ca7; box-shadow:0 9px 25px #15182514; }
@media(max-width: 700px) {
  .freight-tabs { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .freight-tabs a { min-height:56px; font-size:.875rem; border-bottom:1px solid var(--freight-border); }
  .freight-panel-copy { padding:22px; }
}
@media(prefers-reduced-motion:reduce) {
  html { scroll-behavior:auto; }
  .service-modern-card { transition:none; }
  .marquee-track { animation:none!important; }
}
.freight-photo::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg,#171a24a8 0%,transparent 35%);
  pointer-events: none;
}
.freight-panel:not([hidden]) .freight-panel-copy { animation: freight-reveal .28s ease-out; }
@keyframes freight-reveal {
  from { opacity: .3; transform: translateY(5px); }
  to { opacity: 1; transform: none; }
}
@media(prefers-reduced-motion:reduce) {
  .freight-panel:not([hidden]) .freight-panel-copy { animation: none; }
}

.hero-clean.home-intro {
  isolation:isolate; grid-template-columns:minmax(0,1fr);
  min-height:clamp(555px,52vw,755px);
  padding:clamp(76px,8.5vw,140px) clamp(20px,5vw,72px);
  background:#16161b;
}
.home-intro::before {
  z-index:-1;
  background:linear-gradient(90deg,#0d0e12fa 0%,#101217df 27%,#11121770 58%,#14151a12 100%),
             linear-gradient(0deg,#121319a8,transparent 44%);
  mask-image:none;
}
.home-intro .hero-copy { max-width:810px; }
.home-intro .hero-eyebrow {
  padding:0 0 0 13px; border:0; border-left:3px solid #fe4355;
  border-radius:0; background:transparent; color:#fff;
}
.home-intro .hero-copy h1 { font-size:clamp(1.55rem,3.1vw,3.4rem); line-height:.98; letter-spacing:-.07em; text-wrap:initial; }
.home-intro h1 em { display:block; color:#ff5264; font-style:normal; }
.home-intro .hero-copy p { color:#ececf0; }
.home-intro .hero-trust { display:flex; flex-wrap:wrap; gap:12px 22px; margin-top:27px; }
.home-intro .hero-trust div {
  display:flex; min-height:0; padding:0; gap:9px; background:none;
  border:0; backdrop-filter:none;
}
.home-intro .hero-trust .icon { width:21px; height:21px; color:#ff6776; }
.home-intro .hero-trust span { font-size:.875rem; }
.section.services-modern-v2 { padding-inline:var(--home-content-gutter); }
.services-modern-v2 .freight-explorer { margin-bottom:0; }
.freight-support { display:flex; flex-wrap:wrap; gap:9px 24px; margin-top:14px; padding:0 6px; }
.freight-support a { display:inline-flex; align-items:center; gap:7px; min-height:44px; font-weight:750; color:#323741; }
.freight-support a:hover { color:#b50e23; }
.freight-support .icon { width:21px; height:21px; color:#b50e23; }
.about-clean.home-about {
  grid-template-columns:minmax(0,var(--home-image-column)) minmax(0,1fr);
  gap:0; align-items:stretch;
  margin:clamp(24px,4vw,54px) var(--home-content-gutter);
  padding:0;
  overflow:hidden;
  border:1px solid #e7dce0;
  border-radius:22px;
  background:linear-gradient(150deg,#fff 32%,#faf3f5);
  box-shadow:0 12px 28px #31202a0a;
}
.home-about-visual {
  position:relative; min-height:clamp(310px,36vw,520px);
  margin:0; border-radius:0; overflow:hidden; background:#20242c;
}
.home-about-visual img { position:absolute; inset:0; height:100%; width:100%; object-fit:cover; object-position:65% center; }
.home-about-visual::after { content:""; position:absolute; inset:0; background:linear-gradient(0deg,#0e1017b0,transparent 62%); pointer-events:none; }
.home-about-visual figcaption {
  z-index:1; position:absolute; inset:auto auto 20px 20px; display:grid; gap:3px;
  padding:12px 19px; border:1px solid #ffffff62; border-left:4px solid #ff4259;
  border-radius:8px; background:#171a20e8; color:#fff;
}
.home-about-visual figcaption b { font-size:clamp(2.1rem,4vw,4rem); line-height:1; letter-spacing:-.07em; }
.home-about-visual figcaption span { font-size:.875rem; font-weight:650; }
.home-about .about-text h2 { font-size:clamp(1.55rem,2.7vw,2.125rem); line-height:1.2; letter-spacing:-.035em; }
.home-about .about-text p { color:#454b57; }
.home-about .checks { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:0 16px; margin-bottom:25px; }
.home-about .checks div { padding:13px 0; border:0; border-bottom:1px solid #dfdfe4; border-radius:0; background:none; box-shadow:none; }
.home-about-link { height:46px; border-radius:9px; }
@media(max-width: 850px) {
  .hero-clean.home-intro { background-position:62% center; }
  .home-intro::before { background:linear-gradient(90deg,#121319f0,#15161b7a),linear-gradient(0deg,#11111799,transparent 48%); }
}
@media(max-width:768px) {
  .hero-clean.home-intro { min-height:510px; padding:54px 20px!important; }
  .home-intro .hero-copy h1 { font-size:clamp(1.15rem,4.25vw,2.05rem)!important; }
  .home-intro .hero-trust { display:flex!important; gap:10px 18px!important; }
  .home-intro .hero-trust div { width:auto; }
  .section.services-modern-v2 { padding-inline:var(--home-content-gutter)!important; }
  .about-clean.home-about { padding:0!important; gap:0!important; }
  .home-about-visual { min-height:clamp(260px,60vw,405px); }
}

.home-about,
.home-about .about-text,
.home-about .about-text h2,
.home-about .about-text p,
.home-about .about-text .eyebrow,
.home-about .checks div {
  color: #191b21;
}
.home-about .checks .icon { color: #c9142b; }

.home-about > .about-text {
  min-width:0;
  align-self:center;
  padding:clamp(18px,3.5vw,54px);
  overflow-wrap:anywhere;
}
.home-about > .about-text .eyebrow {
  padding-inline-start:10px;
  border-inline-start:3px solid #c9142b;
  color:#a5192e;
}
@media(max-width:480px) {
  .home-about > .about-text .checks { grid-template-columns:minmax(0,1fr); }
}

.quote-premium.home-quote {
  display: grid;
  grid-template-columns: minmax(0,.82fr) minmax(0,1.18fr);
  gap: 0;
  align-items: stretch;
  scroll-margin-top:98px;
  margin: clamp(34px,6vw,88px) clamp(20px,5vw,72px);
  padding: 0;
  border: 1px solid #e3e3e8;
  border-radius: 24px;
  background: #fff;
  color: #191b21;
  box-shadow: 0 20px 55px #1a1a2612;
}
.home-quote .quote-premium-info {
  padding: clamp(26px,4vw,55px);
  align-content: start;
  background: linear-gradient(155deg,#16161bf7 25%,#16161bd1 100%),url('../img/about-terminal.webp') center / cover;
  color: #fff;
}
.home-quote .quote-premium-info .eyebrow {
  padding: 0 0 0 11px;
  border: 0;
  border-left: 3px solid #ff4357;
  border-radius: 0;
  background: transparent;
  color: #ffe8eb;
}
.home-quote .quote-premium-info h2 {
  margin: 0 0 14px;
  font-size: clamp(2rem,3.6vw,4rem);
  letter-spacing: -.06em;
  line-height: 1.04;
}
.home-quote .quote-premium-info p { color: #ede9ec; line-height: 1.65; }
.home-quote-benefits { display:grid; gap:0; margin:24px 0 0; padding:0; list-style:none; }
.home-quote-benefits li { display:flex; align-items:center; gap:10px; padding:13px 0; border-top:1px solid #ffffff29; font-weight:650; }
.home-quote-benefits .icon { width:21px; height:21px; color:#ff7484; }
.home-quote .quote-premium-form {
  display:grid;
  align-content:start;
  gap:19px;
  margin:0;
  padding:clamp(23px,3.45vw,48px);
  border-radius:0;
  box-shadow:none;
  color:#191b21;
}
.home-quote .quote-details { display:none; min-width:0; gap:19px; }
.home-quote .quote-premium-form:has(input[name="transport_type_id"]:checked) .quote-details { display:grid; }
.home-quote #dynamicQuoteFields .quote-retry { margin-inline-start:10px; cursor:pointer; }
.home-quote .quote-premium-form h3 { margin:0; font-size:clamp(1.45rem,2.5vw,2.25rem); letter-spacing:-.045em; }
.home-quote fieldset { display:grid; gap:10px; min-width:0; margin:0; padding:0; border:0; }
.home-quote legend { padding:0; margin-bottom:9px; color:#262830; font-size:.95rem; font-weight:800; }
.quote-mode-options, .quote-contact-fields { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px; }
.quote-mode-option { position:relative; cursor:pointer; }
.home-quote .quote-mode-option input {
  position:absolute; width:1px!important; height:1px!important; min-height:0!important;
  padding:0; clip-path:inset(50%); overflow:hidden; white-space:nowrap;
}
.quote-mode-option span:not(.icon) {
  display:flex; align-items:center; gap:8px; min-height:46px; padding:8px 10px;
  border:1px solid #e1e1e6; border-radius:8px; background:#fafafb;
  color:#333642; font-size:.875rem; font-weight:700;
}
.quote-mode-option .icon { width:20px; height:20px; color:#bf152a; }
.quote-mode-option input:checked + span { border-color:#d3162d; background:#fff0f2; color:#8c1120; box-shadow:inset 0 0 0 1px #d3162d; }
.quote-mode-option input:focus-visible + span { outline:3px solid #e84d60; outline-offset:2px; }
.quote-input { display:grid; gap:5px; font-size:.875rem; font-weight:650; color:#414550; }
.home-quote .quote-premium-form :is(input:not([type=radio]),select,textarea) {
  width:100%; border:1px solid #dedfe5; border-radius:8px; background:#f8f8fa;
  color:#191b21; font:inherit;
}
.home-quote .quote-premium-form textarea { min-height:82px; resize:vertical; }
.home-quote #dynamicQuoteFields:empty { display:none; }
.home-quote .quote-premium-form button[type=submit] { margin:0; border-radius:8px; min-height:50px; box-shadow:none; }
.home-quote .quote-premium-form button:disabled { opacity:.65; cursor:default; }
@media (741px <= width <= 1100px) {
  #quote.home-quote { grid-template-columns:minmax(0,.82fr) minmax(0,1.18fr) !important; }
}
@media(max-width:740px) {
  #quote.home-quote { grid-template-columns:minmax(0,1fr) !important; }
}
@media(max-width:768px) {
  .quote-premium.home-quote { padding:0!important; gap:0!important; }
  .home-quote .quote-premium-form { border-radius:0!important; }
}
@media(max-width:420px) {
  .quote-contact-fields { grid-template-columns:1fr; }
  .quote-mode-option span:not(.icon) { overflow-wrap:anywhere; }
}

.home-updates {
  display:grid; grid-template-columns:minmax(0,1.13fr) minmax(0,.87fr);
  gap:clamp(22px,4vw,54px); padding:clamp(36px,6vw,84px) clamp(20px,5vw,72px);
  background:#f6f6f8;
}
.home-updates--single { grid-template-columns:minmax(0,1fr); }
.home-news,.home-careers { min-width:0; }
.home-updates-head { display:flex; align-items:baseline; justify-content:space-between; gap:10px 16px; flex-wrap:wrap; margin-bottom:15px; }
.home-updates-head h2 { margin:0; color:#181a21; font-size:clamp(1.25rem,2vw,1.625rem); letter-spacing:-.035em; line-height:1.2; }
.home-updates-head a { color:#9e1124; font-size:.875rem; font-weight:750; text-decoration:underline; text-underline-offset:4px; }
.home-news-list,.home-careers-list { display:grid; gap:10px; }
.home-news-card,.home-career-card { border:1px solid #e0e1e7; border-radius:13px; background:#fff; }
.home-news-card>a,.home-career-card>a { display:grid; align-items:center; min-height:112px; border-radius:inherit; }
.home-news-card>a { grid-template-columns:clamp(80px,12vw,164px) minmax(0,1fr); }
.home-news-card>a:hover,.home-career-card>a:hover { background:#fff3f5; }
.home-news-media { display:grid; place-items:center; position:relative; align-self:stretch; overflow:hidden; min-height:105px; border-radius:12px 0 0 12px; background:linear-gradient(145deg,#24252e,#421521); color:#ff8b9b; }
.home-news-media img { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; }
.home-news-media .icon { width:32px; height:32px; }
.home-news-copy { padding:14px clamp(12px,2vw,23px); }
.home-news-copy time,.home-career-meta { color:#555966; font-size:.875rem; font-weight:650; }
.home-news-copy h3,.home-career-card h3 { margin:3px 0 6px; color:#191b21; font-size:clamp(1rem,1.65vw,1.28rem); line-height:1.3; }
.home-news-copy>span,.home-career-cta { color:#a90f25; font-size:.875rem; font-weight:750; }
.home-career-card>a { grid-template-columns:minmax(0,1fr) auto; gap:14px; padding:14px 17px; border-inline-start:3px solid #c3172c; }
.home-career-meta { display:flex; gap:6px 13px; flex-wrap:wrap; }
.home-career-meta span { display:inline-flex; align-items:center; gap:4px; }
.home-career-meta .icon { width:16px; height:16px; color:#a90f25; }
.home-career-cta { padding:7px 10px; border-radius:7px; background:#fae7eb; text-align:center; }
.home-updates-empty { color:#535865; padding:14px 0; }
.footer-partners {
  --partner-surface:#f6f6f8;
  padding:clamp(24px,4vw,47px) clamp(20px,5vw,72px);
  background:var(--partner-surface);
  border-top:1px solid #e7e7eb;
}
.footer-partners-heading { display:flex; align-items:center; gap:15px; margin-bottom:17px; }
.footer-partners-heading::after { content:""; height:1px; flex:1; background:linear-gradient(90deg,#e2bdc5,#e7e7eb); }
.footer-partners h2 { display:flex; align-items:center; gap:9px; margin:0; color:#252731; font-size:clamp(1.05rem,1.65vw,1.35rem); letter-spacing:-.025em; }
.footer-partners h2::before { content:""; width:4px; height:1em; border-radius:4px; background:#c9142b; }
.footer-partners-viewport { overflow:hidden; container-type:inline-size; }
.footer-partners--moving .footer-partners-viewport { mask-image:linear-gradient(90deg,transparent,#000 min(4vw,44px),#000 calc(100% - min(4vw,44px)),transparent); }
.footer-partners-track { display:flex; width:max-content; }
.footer-partners--moving .footer-partners-track { animation:footer-partners-slide 28s linear infinite; }
.footer-partners-viewport:focus-within { overflow-x:auto; mask-image:none; }
.footer-partners-viewport:focus-within .footer-partners-track { animation:none; }
.footer-partners-list { display:flex; flex:none; gap:12px; padding:0 12px 0 0; margin:0; list-style:none; }
.footer-partners--moving .footer-partners-list { min-width:100cqw; }
@keyframes footer-partners-slide { to { transform:translateX(-50%); } }
.footer-partner {
  flex:1 0 clamp(130px,14vw,180px); display:grid; place-items:center;
  min-height:74px; padding:12px 15px; border:1px solid #e5e5eb; border-radius:12px;
  background:linear-gradient(155deg,#fff 58%,#f9f9fb); color:#2d303a;
  font-size:.9rem; font-weight:850; letter-spacing:.015em; line-height:1.22; text-align:center;
}
.footer-partner>a { display:grid; place-items:center; width:100%; height:100%; border-radius:4px; }
.footer-partner img { display:block; max-width:116px; max-height:43px; object-fit:contain; }
@media(max-width:900px) {
  .home-updates { grid-template-columns:minmax(0,1fr); }
}
@media(max-width:440px) {
  .home-career-card>a { grid-template-columns:minmax(0,1fr); gap:9px; }
  .home-career-cta { justify-self:start; }
}

.page-hero.updates-page-hero,.detail-hero.updates-detail-hero {
  padding:clamp(40px,6vw,85px) clamp(20px,5vw,72px);
  background:linear-gradient(110deg,#15171e 32%,#15171edd),url('../img/about-terminal.webp') center / cover;
  color:#fff;
}
.updates-page-hero h1,.updates-detail-hero h1 {
  color:#fff; font-size:clamp(2.45rem,6vw,5.3rem); letter-spacing:-.07em; line-height:1.03;
}
.updates-page-hero .eyebrow,.updates-detail-hero .eyebrow { color:#ff8695; }
.updates-page-content { padding:clamp(28px,5vw,65px) clamp(20px,5vw,72px); background:#f6f6f8; }
.updates-news-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:16px; }
.updates-news-card,.updates-job-card { background:#fff; border:1px solid #e2e2e8; border-radius:15px; }
.updates-news-card>a { display:grid; height:100%; grid-template-rows:auto 1fr; border-radius:inherit; }
.updates-news-card>a:hover,.updates-job-card a:not(.btn):hover { color:#a91026; }
.updates-news-image { display:grid; place-items:center; position:relative; aspect-ratio:16/8; border-radius:14px 14px 0 0; overflow:hidden; background:linear-gradient(145deg,#232530,#541b29); color:#ff96a3; }
.updates-news-image img { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; }
.updates-news-image .icon { width:46px; height:46px; }
.updates-news-copy { display:flex; flex-direction:column; padding:19px 20px 22px; }
.updates-news-copy time,.updates-news-copy p { color:#575968; }
.updates-news-copy time { font-size:.875rem; }
.updates-news-copy h2,.updates-job-card h2 { margin:7px 0; font-size:clamp(1.15rem,2vw,1.6rem); line-height:1.22; letter-spacing:-.025em; }
.updates-news-copy p { margin:0 0 14px; }
.updates-news-copy>span { margin-top:auto; color:#a91026; font-size:.875rem; font-weight:750; }
.updates-jobs-list { display:grid; gap:10px; }
.updates-job-card { display:grid; grid-template-columns:auto minmax(0,1fr) auto; align-items:center; gap:14px; padding:clamp(13px,2.3vw,26px); border-inline-start:3px solid #c3172c; }
.updates-job-icon { display:grid; place-items:center; width:48px; height:48px; border-radius:9px; color:#a91026; background:#fae7eb; }
.updates-job-actions { display:flex; gap:12px; align-items:center; flex-wrap:wrap; font-size:.9rem; font-weight:750; }
.updates-job-actions .btn { height:44px; border-radius:8px; }
.updates-detail-body :is(.detail-content-card,.cv-apply-box) { border-radius:15px; box-shadow:none; }
.updates-detail-body #apply-form { scroll-margin-top:98px; }
  display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:12px 20px;
  margin-bottom:28px; padding:0 0 18px; border-bottom:1px solid #ffffff29;
}
@media(max-width:900px) { .updates-news-grid { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media(max-width:590px) {
  .updates-news-grid { grid-template-columns:minmax(0,1fr); }
  .updates-job-card { grid-template-columns:auto minmax(0,1fr); }
  .updates-job-actions { grid-column:2; }
}

.footer.compact-footer {
  padding:18px clamp(20px,5vw,72px) 0;
  border-top:2px solid #ce1830;
  background:#181a20;
  color:#fff;
}
.compact-footer a { margin:0; line-height:1.4; }
.compact-footer a:hover { color:#ff9fae; }
.compact-footer-main { display:grid; grid-template-columns:minmax(0,.95fr) minmax(0,.9fr) minmax(0,1.2fr) minmax(0,1fr); gap:18px; padding-bottom:14px; }
.compact-footer-identity { min-width:0; }
.compact-footer .footer-brand { display:inline-flex; align-self:start; gap:9px; }
.compact-footer .brand-mark { flex:0 0 34px; width:34px; height:34px; border:0; border-radius:8px; background:#bc1226; color:#fff; }
.compact-footer .brand-mark .icon { width:22px; height:22px; }
.compact-footer .brand b { font-size:1.25rem; }
.compact-footer .brand small { font-size:.75rem; }
.compact-footer-links summary { display:flex; align-items:center; gap:8px; list-style:none; cursor:pointer; color:#fff; font-size:1rem; font-weight:800; }
.compact-footer-links summary::-webkit-details-marker { display:none; }
.compact-footer-links summary::after { content:"+"; color:#ff8999; font-size:.95rem; }
.compact-footer-links[open] summary::after { content:"−"; }
.compact-footer-links nav { display:grid; grid-template-columns:minmax(0,1fr); gap:1px; margin-top:5px; }
.compact-footer-links nav a { display:flex; align-items:center; min-height:28px; padding-block:3px; font-size:.9375rem; color:#d9dbe1; }
.compact-footer-contact { display:grid; align-content:start; gap:7px; font-size:.9375rem; }
.compact-footer-contact :is(a,p) { display:flex; align-items:center; gap:7px; margin:0; overflow-wrap:anywhere; line-height:1.3; }
.compact-footer-contact .compact-contact-page { color:#fff; font-size:1rem; font-weight:800; }
.compact-footer-contact .icon { width:16px; height:16px; margin:0; color:#ff8999; }
.compact-footer-bottom { display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:7px 14px; min-height:42px; padding:5px 0; border-top:1px solid #ffffff25; font-size:.8125rem; color:#d2d4dc; }
.compact-footer-social { display:flex; gap:3px; flex-wrap:wrap; justify-content:flex-start; margin-top:7px; }
.compact-footer-social a { width:32px; height:32px; display:grid; place-items:center; border-radius:5px; color:#eee; }
.compact-footer-social a:hover { background:#ffffff16; }
.compact-footer-social svg,.compact-footer-social .icon { width:16px; height:16px; }
.compact-footer-top { text-decoration:underline; text-underline-offset:3px; }
@media(max-width:900px) {
  .compact-footer-main { grid-template-columns:minmax(0,.8fr) minmax(0,1fr) minmax(0,1.2fr) minmax(0,1fr); gap:10px; }
}
@media(max-width:768px) {
  .footer.compact-footer { padding:15px 18px 0!important; }
}
@media(max-width:680px) {
  .compact-footer-main { grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:8px 12px; padding-bottom:9px; }
  .compact-footer-identity { grid-column:1; grid-row:1; }
  .compact-footer .footer-brand { padding-block:4px; }
  .compact-footer-contact { grid-column:2; grid-row:1; }
  .compact-footer-links { grid-column:1 / -1; border-top:1px solid #ffffff25; }
  .compact-footer-links summary { min-height:42px; justify-content:space-between; }
  .compact-footer-links nav { margin:0 0 5px; }
  .compact-footer-links nav a { min-height:32px; }
}
@media(max-width:355px) {
  .compact-footer-main { grid-template-columns:minmax(0,1fr); }
  .compact-footer-contact { grid-column:1; grid-row:2; }
}

@media(max-width:768px) {
  .home-about .about-text h2 { font-size:clamp(1.5rem,4.6vw,1.85rem)!important; line-height:1.2!important; }
}
@media(prefers-reduced-motion:reduce) {
  .footer-partners--moving .footer-partners-track { animation:none; }
  .footer-partners-list[aria-hidden="true"] { display:none; }
  .footer-partners-viewport { overflow-x:auto; mask-image:none; }
}


@media(min-width:901px) and (max-width:1100px) {
  .about-clean.home-about { grid-template-columns:minmax(0,var(--home-image-column)) minmax(0,1fr)!important; }
}
@media(max-width:900px) {
  .freight-panel { grid-template-columns:minmax(0,1fr); }
}


.news-article-hero {
  display:grid; grid-template-columns:minmax(0,1.04fr) minmax(0,1fr);
  align-items:center; gap:clamp(24px,5vw,74px);
  padding:clamp(32px,5vw,74px) var(--home-content-gutter);
  background:radial-gradient(ellipse at 99% 0%,#721b2a 0%,transparent 56%),
             linear-gradient(135deg,#101722,#192333);
  color:#fff;
  border-bottom:1px solid #343946;
}
.news-article-heading { display:grid; justify-items:start; gap:12px; min-width:0; }
.news-article-back { display:inline-flex; align-items:center; min-height:40px; padding:0 13px; border:1px solid #ffffff38; border-radius:8px; color:#f5f6fa; font-size:.94rem; font-weight:700; }
.news-article-back:hover { background:#ffffff14; }
.news-article-heading .eyebrow { display:inline-flex; align-items:center; gap:8px; margin:2px 0 0; color:#ff8293; font-weight:850; }
.news-article-heading .eyebrow::before { content:""; width:18px; height:2px; background:currentColor; }
.news-article-heading h1 {
  margin:0; max-width:31ch; color:#fff; font-size:clamp(1.75rem,2.65vw,2.75rem); line-height:1.16;
  letter-spacing:-.036em; overflow-wrap:anywhere;
}
.news-article-heading p { margin:0; color:#d9e0eb; font-size:1rem; line-height:1.65; }
.news-article-cover { overflow:hidden; border-radius:16px; border:1px solid #ffffff31; background:#1b2432; box-shadow:0 18px 42px #090d1759; }
.news-article-cover>img { display:block; width:100%; aspect-ratio:16/9; object-fit:cover; }
.news-article-placeholder { display:grid; place-items:center; min-height:140px; background:linear-gradient(135deg,#22252e,#3d1823); color:#ff7e91; }
.news-article-placeholder .icon { width:43px; height:43px; }
.news-article-meta { display:flex; justify-content:space-between; flex-wrap:wrap; gap:8px 14px; padding:12px 15px; border-top:1px solid #ffffff26; color:#dce3ee; font-size:.875rem; }
.news-article-meta span { display:inline-flex; align-items:center; gap:7px; }
.news-article-meta .icon { width:17px; height:17px; color:#ff8293; }
.news-article-meta b { color:#fff; }
@media(max-width:800px) {
  .news-article-hero { grid-template-columns:minmax(0,1fr); gap:21px; }
}

/* Shared header for the site's main section pages. */
main > :is(.team-intro-hero,.news-index-hero,.about-v2-hero) {
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(0,1fr);
  align-items:center;
  gap:clamp(24px,4vw,56px);
  padding:clamp(32px,4vw,56px) var(--home-content-gutter,clamp(20px,5vw,72px));
  color:#fff;
  background:radial-gradient(ellipse at 98% 0%,#721b2a,transparent 57%),linear-gradient(135deg,#101722,#192333);
}
.about-v2-hero::after { content:none; }
:is(.team-intro-copy,.news-index-intro,.about-v2-copy) {
  display:grid;
  justify-items:start;
  align-content:center;
  gap:10px;
  min-width:0;
}
:is(.team-intro-back,.about-v2-copy .back-link) {
  color:#e1e5ef;
  font-size:.9rem;
  text-decoration:underline;
  text-underline-offset:4px;
}
:is(.team-intro-copy .eyebrow,.news-index-intro .eyebrow,.about-v2-copy > span) {
  display:flex;
  align-items:center;
  gap:9px;
  margin:0;
  color:#ff8798;
}
:is(.team-intro-copy .eyebrow,.news-index-intro .eyebrow,.about-v2-copy > span)::before {
  content:"";
  width:21px;
  height:2px;
  flex:none;
  background:currentColor;
}
main :is(.team-intro-copy,.news-index-intro,.about-v2-copy) h1 {
  margin:0;
  font-size:clamp(2rem,3.7vw,3.8rem);
  line-height:1.12;
  letter-spacing:-.05em;
  overflow-wrap:anywhere;
}
:is(.team-intro-copy,.news-index-intro,.about-v2-copy) p {
  max-width:58ch;
  margin:0;
  color:#dce1eb;
  line-height:1.6;
  font-size:1rem;
}
.team-intro-copy .btn { height:46px; border-radius:8px; }
:is(.team-intro-visual,.news-index-visual,.about-v2-visual) {
  position:relative;
  justify-self:end;
  width:min(100%,560px);
  margin:0;
  overflow:hidden;
  border-radius:16px;
  box-shadow:0 0 0 1px #ffffff30,0 18px 45px #080c1455;
}
:is(.about-v2-visual,.news-index-visual,.team-intro-visual:has(img[src$="services-studio-motion.svg"])) {
  width:min(75%,420px);
}
:is(.team-intro-visual,.news-index-visual,.about-v2-visual) img {
  display:block;
  width:100%;
  height:auto;
}
#team-content { scroll-margin-top:90px; }
@media (901px <= width <= 1100px) {
  main > .about-v2-hero { grid-template-columns:minmax(0,1fr) minmax(0,1fr) !important; }
}
@media (max-width:900px) {
  main > :is(.team-intro-hero,.news-index-hero,.about-v2-hero) {
    grid-template-columns:minmax(0,1fr);
    gap:20px;
    padding:28px clamp(18px,4vw,36px) !important;
  }
  main :is(.team-intro-copy,.news-index-intro,.about-v2-copy) h1 {
    font-size:clamp(1.875rem,5vw,2.5rem) !important;
    line-height:1.12 !important;
  }
  :is(.team-intro-visual,.news-index-visual,.about-v2-visual) { justify-self:start; }
}

.services-page-grid {
  display:grid; grid-template-columns:repeat(3,minmax(0,1fr));
  gap:clamp(14px,2vw,26px);
}
.services-page-card { min-width:0; display:flex; }
.services-page-card>a {
  display:flex; flex:1; min-width:0; flex-direction:column; overflow:hidden;
  background:#fff; border:1px solid #e0e2e8; border-radius:18px;
  box-shadow:0 8px 24px #1b21300b;
  transition:transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.services-page-card>a:hover,.services-page-card>a:focus-visible {
  border-color:#db8998; box-shadow:0 16px 32px #2730441a; transform:translateY(-3px);
}
.services-card-art { display:grid; place-items:center; overflow:hidden; aspect-ratio:1; background:#171d2a; }
.services-card-art img { width:100%; height:100%; object-fit:cover; }
.services-card-art--fallback .icon { width:48px; height:48px; color:#ff8193; }
.services-card-art:is(.services-card-art--road,.services-card-art--sea,.services-card-art--air,.services-card-art--rail,.services-card-art--warehouse,.services-card-art--customs) {
  background-image:url('../img/services-studio.webp');
  background-size:300% 200%;
  background-repeat:no-repeat;
}
.services-card-art--road { background-position:left top; }
.services-card-art--sea { background-position:center top; }
.services-card-art--air { background-position:right top; }
.services-card-art--rail { background-position:left bottom; }
.services-card-art--warehouse { background-position:center bottom; }
.services-card-art--customs { background-position:right bottom; }
.services-card-copy { position:relative; display:flex; flex:1; flex-direction:column; align-items:flex-start; padding:25px 21px 20px; }
.services-card-icon {
  position:absolute; top:-23px; left:20px; display:grid; place-items:center; width:40px; height:40px;
  background:#fae7eb; color:#a81027; border:3px solid #fff; border-radius:10px;
}
.services-card-icon .icon { width:20px; height:20px; }
.services-card-copy h2 { margin:0 0 7px; color:#1b1c24; font-size:clamp(1.13rem,1.8vw,1.55rem); line-height:1.17; letter-spacing:-.033em; }
.services-card-copy p { margin:0 0 15px; color:#525767; line-height:1.5; }
.services-card-cta { margin-top:auto; padding:7px 11px; border-radius:7px; background:#fae7eb; color:#981024; font-size:.875rem; font-weight:750; }
.services-page-card>a:hover .services-card-cta { background:#ac152a; color:#fff; }
@media(max-width:900px) { .services-page-grid { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media(max-width:520px) { .services-page-grid { grid-template-columns:minmax(0,1fr); } }
@media(prefers-reduced-motion:reduce) {
  .services-page-card>a { transition:none; }
  .services-page-card>a:hover,.services-page-card>a:focus-visible { transform:none; }
}

/* Keep the public navigation inside the header at tablet and phone widths. */
.layout-header .nav .mobile-nav-quote { display:none; }
@media (max-width:1150px) {
  .layout-header {
    --compact-header-height:68px;
    height:var(--compact-header-height);
    grid-template-columns:minmax(0,1fr) auto auto;
    gap:clamp(6px,1.4vw,16px);
    padding-inline:clamp(12px,3vw,36px);
  }
  .layout-header .brand { grid-column:1; grid-row:1; min-width:0; max-width:none; gap:8px; }
  .layout-header .brand-mark { width:36px; height:36px; flex:0 0 36px; }
  .layout-header .brand-mark .icon { width:24px; height:24px; }
  .layout-header .brand b { font-size:clamp(17px,3vw,24px); overflow-wrap:anywhere; }
  .layout-header .brand small { font-size:.625rem; line-height:1.2; }
  .layout-header .header-actions { grid-column:2; grid-row:1; }
  .layout-header .lang-switch { gap:2px; }
  .layout-header .lang-switch a { width:30px; height:36px; min-width:0; }
  .layout-header .header-cta { display:none; }
  .layout-header .menu {
    grid-column:3;
    grid-row:1;
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    gap:5px;
    width:44px;
    height:44px;
    border:1px solid var(--line);
    border-radius:10px;
    background:#fff;
  }
  .layout-header .menu i { background:#151a22; width:19px; height:2px; }
  .layout-header .nav {
    display:none;
    position:absolute;
    inset:100% 0 auto;
    max-height:calc(100vh - var(--compact-header-height));
    max-height:calc(100dvh - var(--compact-header-height));
    overflow-y:auto;
    overscroll-behavior:contain;
    padding:8px clamp(12px,3vw,36px) 16px;
    align-items:stretch;
    justify-content:flex-start;
    flex-flow:column nowrap;
    gap:0;
    background:#fff;
    border-bottom:1px solid var(--line);
    box-shadow:0 16px 24px #10172216;
  }
  .open-menu .layout-header .nav { display:flex; }
  .layout-header .nav a {
    display:flex;
    align-items:center;
    min-height:44px;
    padding:7px 10px;
    font-size:.95rem;
    border-bottom:1px solid var(--line);
  }
  .layout-header .nav a::after { content:none; }
  .layout-header .nav .nav-dropdown { display:block !important; width:100%; }
  .layout-header .nav-dropdown > a { width:100%; }
  .layout-header .nav .nav-dropdown-menu {
    position:static !important;
    opacity:1;
    visibility:visible;
    transform:none;
    pointer-events:auto;
    min-width:0;
    padding:0 0 0 12px !important;
    border:0 !important;
    box-shadow:none !important;
  }
  .layout-header .nav .nav-dropdown-menu a { white-space:normal !important; display:flex !important; }
  .layout-header .nav .mobile-nav-quote {
    display:flex;
    justify-content:center;
    margin-top:8px;
    border-radius:8px;
    background:var(--ink);
    color:#fff;
  }
}

@media (max-width:768px) {
  .freight-tabs a { min-width:0; white-space:normal; overflow-wrap:anywhere; }
  .freight-tabs .icon { flex-shrink:0; }
  #contact-form.quote-premium {
    grid-template-columns:minmax(0,1fr) !important;
  }
  :is(.quote-premium-form,.cv-apply-form) :is(input,select,textarea) {
    min-width:0;
    max-width:100%;
    font-size:16px !important;
  }
  :is(.rich-text,.updates-news-copy,.updates-job-card,.compact-footer-main,.about-v2-timeline) { overflow-wrap:anywhere; }
  .mroad-table-wrap { max-width:100%; }
}
@media (max-width:520px) {
  main :is(.team-intro-visual,.about-v2-visual,.news-index-visual) { width:100%; }
}

@media (max-width:768px) {
  main > :is(.detail-hero,.detail-body) { grid-template-columns:minmax(0,1fr) !important; }
  .detail-hero > *, .detail-body > * { min-width:0; }
  .detail-hero :is(h1,p) { overflow-wrap:anywhere; }
}

/* M-Trans wordmark and refrigerated-truck hero */
.layout-header .brand { width:min(100%,184px); }
.site-brand-art { display:block; position:relative; width:100%; line-height:0; }
.site-brand-art img { display:block; width:100%; height:auto; max-height:none; }
.layout-header .site-brand-art::after {
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  mask:url('../img/m-trans-brand-new.svg') center / 100% 100% no-repeat;
  background:linear-gradient(110deg,transparent 36%,#fff9 50%,transparent 64%) no-repeat;
  background-size:220% 100%;
  opacity:0;
  animation:mtrans-brand-shine 6s ease-in-out infinite;
}
@keyframes mtrans-brand-shine {
  0%,12% { background-position:100% 0; opacity:0; }
  17%,33% { opacity:1; }
  46%,100% { background-position:0 0; opacity:0; }
}

.compact-footer .compact-footer-identity {
  --footer-brand-width:min(100%,174px);
}
.compact-footer .compact-footer-identity :is(.footer-brand,.compact-footer-social) {
  width:var(--footer-brand-width);
}
.compact-footer .footer-brand { max-width:none; padding:0; background:transparent; }
.compact-footer .compact-footer-social {
  gap:0;
  flex-wrap:nowrap;
  justify-content:space-between;
}
.compact-footer .compact-footer-social a { flex:0 1 26px; min-width:16px; }
.compact-footer .compact-footer-social a:first-child { justify-items:start; }
.compact-footer .compact-footer-social a:first-child svg { transform:translateX(-3px); }
.compact-footer .compact-footer-social a:last-child:not(:first-child) {
  justify-items:end;
  padding-inline-end:2px;
}

.hero-clean.home-intro { position:relative; }
.home-reefer-visual {
  position:absolute;
  inset:0;
  z-index:-2;
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:right center;
}
@media (max-width:768px) {
  .layout-header .brand { width:min(100%,145px); }
  .hero-clean.home-intro { min-height:0; gap:0 !important; padding:0 !important; }
  .home-reefer-visual { position:relative; z-index:0; height:auto; }
  .home-intro .hero-copy { padding:26px 18px 32px; }
  .hero-clean.home-intro::before { content:none; }
}
@media (prefers-reduced-motion:reduce) {
  .layout-header .site-brand-art::after { animation:none; }
}

@media (min-width:1151px) {
  .layout-header {
    grid-template-columns:184px minmax(0,1fr) auto;
    column-gap:clamp(16px,1.7vw,27px);
    padding-inline:max(clamp(24px,calc(5vw - 20px),72px),calc((100% - 1400px) / 2));
  }
  .layout-header .nav {
    min-width:0;
    justify-content:space-between;
    gap:clamp(10px,1vw,16px);
    margin-inline:clamp(0px,calc(7vw - 80px),32px);
  }
  .layout-header .nav > a,
  .layout-header .nav-dropdown > a,
  .layout-header .header-cta { white-space:nowrap; }
}

/* A continuous tonal transition across the homepage content. */
.home-main {
  background:linear-gradient(
    to bottom,
    #fcfbfc 0%,
    #fcfbfc 23%,
    #f7f4f5 43%,
    #f4eff1 59%,
    #f8f5f6 77%,
    #fbfafb 100%
  );
}
.home-main > .services-modern-v2 {
  background:transparent;
}
.home-main > .stats-clean {
  margin-inline:0;
  padding-inline:var(--home-content-gutter);
  background:#fff;
}
.home-main > .home-updates {
  background:#fff;
}
.home-main > .footer-partners {
  border-top-color:transparent;
  background:linear-gradient(to bottom, #fff, #f5f4f6 45%, #f5f4f6);
}

/* Preserve horizontal clipping without creating a sticky scroll container. */
html, body { overflow-x:clip; }
.layout-header {
  position:sticky;
  inset-block-start:0;
  transition:height .2s ease, box-shadow .2s ease;
}
.layout-header.is-scrolled {
  height:66px;
  box-shadow:0 5px 18px #15192319;
}
@media(max-width:1150px) {
  .layout-header.is-scrolled {
    --compact-header-height:58px;
    height:var(--compact-header-height);
  }
}
@media(prefers-reduced-motion:reduce) {
  .layout-header { transition:none; }
}
