@import url('https://fonts.googleapis.com/css2?family=Barlow:wght@400;700&display=swap');

:root {
  --ink: #24303a;
  --ink-soft: #42505b;
  --muted: #65717b;
  --accent: #334b5c;
  --surface: #ffffff;
  --surface-soft: #f6f7f7;
  --surface-cool: #f2f4f5;
  --line: #cfd5d9;
  --line-dark: #9ca8b0;
  --container: 1300px;
  --header-height: 112px;
  --radius: 0;
  --shadow: 0 16px 42px rgb(21 37 49 / 8%);
  --transition: 220ms cubic-bezier(.22, .61, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--surface);
  font-family: 'Barlow', 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
.skip-link { position: fixed; top: 10px; left: 10px; z-index: 1000; transform: translateY(-150%); padding: 10px 14px; background: var(--ink); color: #fff; }
.skip-link:focus { transform: none; }

.site-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 50;
  height: var(--header-height);
  transition: background var(--transition), box-shadow var(--transition), height var(--transition);
}
.header-inner { width: min(var(--container), calc(100% - 80px)); height: 100%; margin-inline: auto; display: flex; align-items: center; justify-content: space-between; }
.brand { width: 87px; flex: 0 0 auto; color: var(--ink); text-decoration: none; }
.brand-mark { display: block; width: auto; height: 75px; max-height: 75px; object-fit: contain; object-position: left center; }
.primary-nav { display: flex; align-items: center; gap: clamp(34px, 4.2vw, 67px); }
.primary-nav a { position: relative; padding-block: 16px; color: var(--ink); text-decoration: none; text-transform: uppercase; font-size: 13px; font-weight: 700; letter-spacing: .035em; }
.primary-nav a::after { content: ''; position: absolute; left: 0; right: 100%; bottom: 9px; height: 1px; background: currentColor; transition: right var(--transition); }
.primary-nav a[aria-current='true']::after { right: 0; }
.menu-toggle { display: none; width: 48px; height: 48px; padding: 12px 9px; border: 0; background: transparent; cursor: pointer; }
.menu-toggle span { display: block; width: 28px; height: 2px; margin: 5px auto; background: var(--ink); transition: transform var(--transition), opacity var(--transition); }

.hero { position: relative; min-height: 925px; overflow: hidden; background: #f5f6f7; }
.hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(255,255,255,.99) 0%, rgba(255,255,255,.96) 25%, rgba(255,255,255,.28) 51%, rgba(255,255,255,0) 67%); pointer-events: none; }
.hero-image { position: absolute; inset: 0; background-image: url('assets/logistics-hero.png'); background-size: cover; background-position: 54% center; filter: saturate(.62) contrast(.97); }
.hero-content { position: relative; z-index: 2; width: min(var(--container), calc(100% - 80px)); margin-inline: auto; padding-top: 360px; }
.hero h1 { margin: 0 0 26px; max-width: 650px; font-size: clamp(48px, 4.3vw, 67px); line-height: 1.16; letter-spacing: .015em; text-transform: uppercase; font-weight: 700; }
.hero p { max-width: 520px; margin: 0 0 52px; font-size: 18px; line-height: 1.72; }
.button { display: inline-flex; min-height: 60px; align-items: center; justify-content: center; padding: 14px 30px; border: 1px solid var(--accent); background: var(--accent); color: #fff; text-decoration: none; text-transform: uppercase; font-size: 13px; font-weight: 700; letter-spacing: .025em; transition: color var(--transition), background var(--transition), box-shadow var(--transition), transform var(--transition); }

.section { padding-inline: max(40px, calc((100% - var(--container)) / 2)); }
.section-heading { text-align: center; }
.section-heading .eyebrow { margin: 0 0 13px; text-transform: uppercase; font-size: 13px; font-weight: 700; letter-spacing: .04em; }
.section-heading h2 { margin: 0; text-transform: uppercase; font-size: 30px; line-height: 1.25; letter-spacing: .015em; }
.section-heading > p:last-child { margin: 20px auto 0; font-size: 17px; line-height: 1.55; color: var(--ink-soft); }

.services { min-height: 790px; padding-top: 52px; padding-bottom: 64px; }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 44px; background: var(--surface-soft); box-shadow: 0 10px 35px rgb(29 43 53 / 4%); }
.service-card { min-height: 490px; padding: 38px 43px 34px; border-right: 1px solid #dbe0e3; background: linear-gradient(135deg, #fafafa, #f4f5f5); }
.service-card:last-child { border-right: 0; }
.line-icon { width: 80px; height: 80px; color: var(--accent); fill: none; stroke: currentColor; stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; }
.service-card h3, .process-step h3, .value-item h3 { text-transform: uppercase; font-size: 17px; line-height: 1.3; letter-spacing: .015em; }
.service-card h3 { margin: 22px 0 15px; }
.service-card p { margin: 0 0 23px; font-size: 14px; line-height: 1.55; }
.service-card ul { margin: 0; padding: 0; list-style: none; }
.service-card li { position: relative; padding-left: 24px; margin: 9px 0; font-size: 13px; line-height: 1.45; }
.service-card li::before { content: '✓'; position: absolute; left: 0; top: -1px; color: var(--accent); font-weight: 700; }

.process { min-height: 520px; padding-top: 48px; padding-bottom: 60px; background: linear-gradient(180deg, #fafafa 0%, #f7f8f8 100%); }
.process-list { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); gap: 30px; margin: 38px 0 0; padding: 0; list-style: none; }
.process-list::before { content: ''; position: absolute; z-index: 0; top: 26px; left: 8%; right: 8%; height: 1px; background: var(--line-dark); }
.process-step { position: relative; z-index: 1; text-align: center; }
.step-number { display: grid; width: 52px; height: 52px; place-items: center; margin: 0 auto 25px; border: 1px solid var(--line-dark); border-radius: 50%; background: #fafafa; font-size: 15px; font-weight: 700; transition: color var(--transition), background var(--transition), border-color var(--transition), box-shadow var(--transition); }
.process-step .line-icon { width: 61px; height: 61px; margin: auto; transform-origin: center; transition: transform var(--transition), filter var(--transition); }
.process-step h3 { margin: 14px 0 11px; font-size: 14px; }
.process-step p { max-width: 210px; margin: auto; font-size: 13px; line-height: 1.55; }

.values { position: relative; min-height: 470px; padding-top: 44px; padding-bottom: 54px; background: #fff; }
.anchor-target { position: absolute; top: 0; }
.values-grid { display: grid; grid-template-columns: repeat(5, 1fr); margin-top: 38px; }
.value-item { min-height: 234px; padding: 0 31px; border-right: 1px solid var(--line); text-align: center; }
.value-item:last-child { border-right: 0; }
.value-item .line-icon { width: 72px; height: 72px; margin-inline: auto; transform-origin: center; transition: transform var(--transition), filter var(--transition); }
.value-item h3, .process-step h3 { transition: color var(--transition), letter-spacing var(--transition); }
.value-item h3 { margin: 15px 0 10px; font-size: 14px; }
.value-item p { margin: auto; max-width: 210px; font-size: 13px; line-height: 1.55; }

.site-footer { min-height: 370px; padding: 40px max(40px, calc((100% - var(--container)) / 2)) 18px; background: var(--surface-soft); }
.footer-grid { display: grid; grid-template-columns: .9fr 1.08fr 1.15fr; gap: 58px; align-items: stretch; }
.footer-brand { padding-right: 35px; border-right: 1px solid var(--line); }
.footer-brand .brand-mark { width: 150px; }
.footer-brand p { max-width: 230px; margin: 24px 0 0; font-size: 13px; line-height: 1.55; }
.contact-details { font-style: normal; }
.contact-details h2 { margin: 0 0 18px; text-transform: uppercase; font-size: 14px; }
.contact-details p, .contact-details a { display: flex; align-items: flex-start; gap: 18px; margin: 0 0 12px; color: var(--ink); text-decoration: none; font-size: 13px; line-height: 1.55; }
.contact-details svg { width: 18px; height: 18px; flex: 0 0 18px; margin-top: 1px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.contact-cta { padding: 26px 36px; background: linear-gradient(135deg, #fbfbfb, #f0f2f3); }
.contact-cta h2 { margin: 0 0 18px; text-transform: uppercase; font-size: 18px; line-height: 1.38; }
.contact-cta p { margin: 0 0 21px; font-size: 13px; }
.contact-cta .button { min-height: 50px; padding-inline: 31px; font-size: 12px; }
.footer-bottom { display: flex; justify-content: center; align-items: center; gap: 42px; margin-top: 28px; color: var(--muted); font-size: 12px; }
.footer-bottom p { margin: 0; }
.footer-bottom nav { display: flex; }
.footer-bottom a { padding: 0 28px; border-left: 1px solid var(--line-dark); text-decoration: none; text-transform: uppercase; }

.reveal { opacity: 1; transform: none; }
.js .reveal:not(.is-visible) { opacity: 0; transform: translateY(22px); }
.js .reveal { transition: opacity 600ms ease, transform 600ms ease; }
.js .service-card:nth-child(2), .js .process-step:nth-child(2), .js .value-item:nth-child(2) { transition-delay: 80ms; }
.js .service-card:nth-child(3), .js .process-step:nth-child(3), .js .value-item:nth-child(3) { transition-delay: 150ms; }
.js .process-step:nth-child(4), .js .value-item:nth-child(4) { transition-delay: 220ms; }
.js .process-step:nth-child(5), .js .value-item:nth-child(5) { transition-delay: 290ms; }

:focus-visible { outline: 3px solid #55758a; outline-offset: 4px; }
@media (hover: hover) and (pointer: fine) {
  .primary-nav a:hover::after { right: 0; }
  .button:hover { color: var(--accent); background: transparent; box-shadow: 0 10px 24px rgb(36 48 58 / 12%); transform: translateY(-2px); }
  .service-card:hover { background: #fff; box-shadow: var(--shadow); transform: translateY(-4px); }
  .service-card { transition: transform var(--transition), box-shadow var(--transition), background var(--transition); }
  .process-step:hover .step-number { border-color: var(--accent); background: var(--accent); color: #fff; box-shadow: 0 7px 18px rgb(51 75 92 / 18%); }
  .process-step:hover .line-icon { transform: translateY(-5px) scale(1.08); filter: drop-shadow(0 7px 7px rgb(51 75 92 / 16%)); }
  .process-step:hover h3 { color: #4e7187; letter-spacing: .045em; }
  .value-item:hover .line-icon { transform: translateY(-6px) scale(1.1); filter: drop-shadow(0 8px 8px rgb(51 75 92 / 17%)); }
  .value-item:hover h3 { color: #4e7187; letter-spacing: .045em; }
  .contact-details a:hover, .footer-bottom a:hover { color: #4e7187; }
}
@media (hover: none), (pointer: coarse) {
  .button:active, .service-card:active, .button.is-tapped, .service-card.is-tapped { opacity: .76; }
}

@media (max-width: 1100px) {
  :root { --header-height: 100px; }
  .header-inner, .hero-content { width: min(var(--container), calc(100% - 56px)); }
  .brand { width: 87px; }
  .primary-nav { gap: 25px; }
  .primary-nav a { font-size: 12px; }
  .hero { min-height: 830px; }
  .hero-content { padding-top: 310px; }
  .service-card { padding-inline: 27px; }
  .process-list { gap: 14px; }
  .value-item { padding-inline: 18px; }
}

@media (max-width: 820px) {
  :root { --header-height: 90px; }
  .site-header { position: fixed; background: transparent; box-shadow: none; }
  .site-header.is-scrolled { background: var(--surface-soft); }
  .header-inner { width: calc(100% - 40px); }
  .brand { width: 87px; }
  .menu-toggle { display: block; position: relative; z-index: 62; }
  .menu-toggle[aria-expanded='true'] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-toggle[aria-expanded='true'] span:nth-child(2) { opacity: 0; }
  .menu-toggle[aria-expanded='true'] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .primary-nav { position: fixed; z-index: 60; inset: 0; display: flex; flex-direction: column; justify-content: center; gap: 16px; padding: 112px 24px 50px; background: var(--surface-soft); visibility: hidden; opacity: 1; transform: translateY(-14px); transition: transform var(--transition), visibility var(--transition); }
  .primary-nav.is-open { visibility: visible; transform: none; }
  .primary-nav a { width: min(420px, 100%); padding: 14px 20px; border-bottom: 1px solid var(--line); text-align: center; font-size: 17px; }
  .primary-nav a::after { display: none; }
  .hero { min-height: 0; padding: 0; }
  .hero::after { display: none; }
  .hero-image { position: relative; inset: auto; width: 100%; height: clamp(360px, 64vw, 520px); background-position: 60% center; }
  .hero-content { position: relative; z-index: 3; inset: auto; display: block; width: calc(100% - 40px); margin: -22px auto 0; padding: 34px 28px 52px; border-top: 4px solid var(--accent); background: #fff; }
  .hero h1 { margin-bottom: 22px; font-size: clamp(40px, 8vw, 58px); line-height: 1.06; }
  .hero p { max-width: 620px; margin-bottom: 30px; color: var(--ink-soft); }
  .section { padding-inline: 28px; }
  .services { padding-top: 58px; }
  .service-grid { grid-template-columns: 1fr; max-width: 620px; margin-inline: auto; }
  .service-card { min-height: auto; padding: 34px 40px 38px; border-right: 0; border-bottom: 1px solid var(--line); }
  .service-card:last-child { border-bottom: 0; }
  .process-list { grid-template-columns: 1fr; max-width: 620px; margin: 38px auto 0; gap: 0; }
  .process-list::before { top: 20px; bottom: 50px; left: 25px; width: 1px; height: auto; }
  .process-step { display: grid; grid-template-columns: 52px 72px 1fr; grid-template-areas: 'number icon title' 'number icon copy'; gap: 0 16px; align-items: center; padding-bottom: 28px; text-align: left; }
  .step-number { grid-area: number; margin: 0; }
  .process-step .line-icon { grid-area: icon; width: 58px; height: 58px; }
  .process-step h3 { grid-area: title; margin: 0 0 5px; }
  .process-step p { grid-area: copy; max-width: none; margin: 0; }
  .values-grid { grid-template-columns: repeat(2, 1fr); gap: 28px 0; }
  .value-item { min-height: 224px; }
  .value-item:nth-child(2), .value-item:nth-child(4) { border-right: 0; }
  .value-item:last-child { grid-column: 1 / -1; width: 50%; margin-inline: auto; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .contact-cta { grid-column: 1 / -1; }
}

@media (max-width: 819px) {
  :root { --header-height: 72px; }
  .brand { width: 70px; }
  .site-header .brand-mark { height: 60px; max-height: 60px; }
  .menu-toggle { width: 44px; height: 44px; padding: 10px 7px; }
}

@media (max-width: 540px) {
  :root { --header-height: 68px; }
  body { font-size: 15px; }
  .header-inner { width: calc(100% - 28px); }
  .brand { width: 65px; }
  .site-header .brand-mark { height: 56px; max-height: 56px; }
  .hero-image { height: 310px; background-position: 60% center; }
  .hero-content { width: calc(100% - 24px); margin: -22px auto 0; padding: 28px 20px 42px; }
  .hero h1 { margin-bottom: 22px; font-size: clamp(34px, 9.6vw, 46px); line-height: 1.06; }
  .hero p { margin-bottom: 30px; font-size: 15px; line-height: 1.58; }
  .hero .button { width: 100%; padding-inline: 15px; text-align: center; font-size: 11px; }
  .section { padding-inline: 20px; }
  .section-heading h2 { font-size: 23px; }
  .section-heading > p:last-child { font-size: 15px; }
  .desktop-break { display: none; }
  .services, .process, .values { padding-top: 46px; padding-bottom: 48px; min-height: 0; }
  .service-grid { margin-top: 32px; }
  .service-card { padding: 30px 24px 34px; }
  .service-card .line-icon { width: 68px; height: 68px; }
  .process-step { grid-template-columns: 44px 52px 1fr; column-gap: 11px; }
  .step-number { width: 44px; height: 44px; }
  .process-list::before { left: 21px; }
  .process-step .line-icon { width: 46px; height: 46px; }
  .process-step p { font-size: 12px; line-height: 1.45; }
  .values-grid { grid-template-columns: 1fr; margin-top: 34px; gap: 0; }
  .value-item, .value-item:last-child { width: 100%; min-height: auto; padding: 25px 16px 30px; border-right: 0; border-bottom: 1px solid var(--line); }
  .value-item:last-child { border-bottom: 0; }
  .value-item .line-icon { width: 64px; height: 64px; }
  .site-footer { padding: 36px 20px 22px; }
  .footer-grid { grid-template-columns: 1fr; gap: 34px; }
  .footer-brand { padding: 0 0 28px; border-right: 0; border-bottom: 1px solid var(--line); }
  .footer-brand .brand-mark { width: 125px; }
  .contact-cta { grid-column: auto; padding: 26px 24px; }
  .contact-cta .button { width: 100%; }
  .contact-details a { min-height: 44px; align-items: center; }
  .footer-bottom { flex-direction: column; gap: 12px; margin-top: 27px; }
  .footer-bottom nav { flex-wrap: wrap; justify-content: center; }
  .footer-bottom a { display: inline-flex; min-height: 44px; align-items: center; padding-inline: 18px; }
  .footer-bottom a:first-child { border-left: 0; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .js .reveal:not(.is-visible) { opacity: 1; transform: none; }
}
