/* =========================================================
   Maxxwell Logistics — Corporate one-page site
   ========================================================= */

:root {
  --navy: #0B1F3A;
  --navy-deep: #071629;
  --navy-soft: #142C4E;
  --cream: #F5F3EE;
  --cream-dark: #EAE6DC;
  --gold: #C5A15A;
  --gold-light: #D7BA7E;
  --gold-ink: #7A5E24;          /* gold for text on light backgrounds (AA) */
  --white: #FFFFFF;
  --ink: #0B1F3A;
  --ink-muted: #4A5568;
  --on-dark: rgba(245, 243, 238, 0.82);
  --line: rgba(11, 31, 58, 0.12);
  --line-light: rgba(245, 243, 238, 0.16);
  --error: #A3261E;

  --font-display: "Manrope", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Inter", "Helvetica Neue", Arial, sans-serif;

  --container: 1280px;
  --gutter: clamp(16px, 4vw, 48px);
  --section-y: clamp(96px, 12vw, 176px);
  --header-h: 84px;

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-display); margin: 0; line-height: 1.1; letter-spacing: -0.02em; }
p { margin: 0 0 1.1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
address { font-style: normal; }
body.menu-open { overflow: hidden; }

:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 200;
  background: var(--gold); color: var(--navy); padding: 12px 18px; font-weight: 600; text-decoration: none;
  transition: top .2s;
}
.skip-link:focus { top: 16px; }

.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- Type helpers ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 14px;
  font-family: var(--font-display); font-size: 15px; font-weight: 700;
  letter-spacing: .22em; text-transform: uppercase; color: var(--gold-ink); margin-bottom: 22px;
}
.eyebrow::before { content: ""; width: 36px; height: 1px; background: currentColor; }
.eyebrow--light { color: var(--gold); }

.section-title { font-size: 34px; font-weight: 800; margin-bottom: 28px; max-width: 18ch; }
.section-title--light { color: var(--white); }
.lead { font-size: 22px; line-height: 27px; color: var(--ink); }
.lead--light { color: var(--on-dark); }
.link { color: var(--gold-ink); text-underline-offset: 3px; }

/* ---------- Buttons ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 26px; border: 1px solid transparent; border-radius: 0;
  font-family: var(--font-display); font-weight: 700; font-size: 16px; letter-spacing: .04em;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease), transform .35s var(--ease);
}
.btn--lg { padding: 18px 34px; font-size: 16px; }
.btn--gold { background: var(--gold); color: var(--navy); }
.btn--gold:hover { background: var(--gold-light); }
.btn--navy { background: var(--navy); color: var(--white); }
.btn--navy:hover { background: var(--navy-soft); }
.btn--outline-light { border-color: rgba(255,255,255,.55); color: var(--white); }
.btn--outline-light:hover { background: var(--white); color: var(--navy); border-color: var(--white); }
.btn:active { transform: translateY(1px); }
.btn[disabled] { opacity: .7; cursor: progress; }
.spinner {
  display: none; width: 16px; height: 16px; border: 2px solid currentColor; border-right-color: transparent;
  border-radius: 50%; animation: spin .8s linear infinite;
}
.btn.is-loading .spinner { display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }

/* =========================================================
   HEADER / NAV
   ========================================================= */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 100; height: var(--header-h);
  transition: background-color .4s var(--ease), box-shadow .4s var(--ease), height .4s var(--ease);
}
.site-header.is-scrolled {
  background: rgba(11, 31, 58, .97); box-shadow: 0 1px 0 var(--line-light);
  --header-h: 72px; height: 72px;
}
@supports (backdrop-filter: blur(8px)) {
  .site-header.is-scrolled { background: rgba(11, 31, 58, .9); backdrop-filter: blur(10px); }
}
.nav { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 32px; }

.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--white); }
.brand__mark { width: 48px; height: 48px; flex: none; }
.brand__word { width: auto; height: 34px; }
.brand--footer .brand__mark { width: 56px; height: 56px; }
.brand--footer .brand__word { height: 40px; }

.nav__menu { display: flex; align-items: center; gap: 40px; }
.nav__links { display: flex; gap: 30px; }
.nav__links a {
  position: relative; display: block; padding: 8px 0;
  font-family: var(--font-display); font-weight: 600; font-size: 15px; letter-spacing: .03em;
  color: rgba(255,255,255,.86); text-decoration: none; transition: color .3s;
}
.nav__links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 1px; background: var(--gold);
  transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease-out);
}
.nav__links a:hover, .nav__links a.is-active { color: var(--white); }
.nav__cta { font-size: 15px; }
.nav__links a:hover::after, .nav__links a.is-active::after { transform: scaleX(1); transform-origin: left; }

.nav__toggle {
  display: none; width: 48px; height: 48px; background: none; border: 1px solid var(--line-light);
  cursor: pointer; position: relative; z-index: 2;
}
.nav__toggle span { position: absolute; left: 13px; right: 13px; height: 1.5px; background: var(--white); transition: transform .4s var(--ease), opacity .3s; }
.nav__toggle span:nth-child(1) { top: 17px; }
.nav__toggle span:nth-child(2) { top: 23px; }
.nav__toggle span:nth-child(3) { top: 29px; }
.nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* =========================================================
   PARALLAX + REVEAL
   ========================================================= */
[data-parallax] { backface-visibility: hidden; }

.reveal { opacity: 0; transform: translate3d(0, 36px, 0); transition: opacity 1s var(--ease-out), transform 1.1s var(--ease-out); transition-delay: calc(var(--d, 0) * 110ms); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal-img { clip-path: inset(100% 0 0 0); transition: clip-path 1.4s var(--ease-out); }
.reveal-img img { transform: scale(1.15); transition: transform 1.8s var(--ease-out); }
.reveal-img.is-visible { clip-path: inset(0 0 0 0); }
.reveal-img.is-visible img { transform: scale(1); }
.no-js .reveal, .no-js .reveal-img { opacity: 1; transform: none; clip-path: none; }

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: center;
  color: var(--white); overflow: hidden; background: var(--navy);
  padding: calc(var(--header-h) + 32px) 0 110px;
}
.hero__lines {
  position: absolute; inset: -20% 0; pointer-events: none; opacity: .5;
  background-image:
    linear-gradient(to right, rgba(197,161,90,.14) 1px, transparent 1px);
  background-size: calc((min(100vw, 1376px) - 2 * var(--gutter)) / 6) 100%;
  background-position: center;
  mask-image: linear-gradient(to bottom, transparent, #000 25%, #000 75%, transparent);
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 25%, #000 75%, transparent);
}
.hero__media { position: absolute; inset: -12% 0; }
.hero__video { width: 100%; height: 100%; object-fit: cover; }
.hero__overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(11,31,58,.95) 0%, rgba(11,31,58,.85) 45%, rgba(11,31,58,.6) 100%),
    linear-gradient(0deg, rgba(7,22,41,.75), transparent 45%);
}
@media (max-width: 1060px) {
  .hero__overlay { background: linear-gradient(180deg, rgba(11,31,58,.9) 0%, rgba(11,31,58,.82) 60%, rgba(7,22,41,.94) 100%); }
}
.hero__inner { position: relative; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .85fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.hero__title { font-size: 45px; font-weight: 800; line-height: 60px; letter-spacing: -0.035em; margin-bottom: 30px; }
.hero__title em { font-style: normal; color: var(--gold); }
.hero__lead { font-size: 16px; color: var(--on-dark); max-width: 56ch; margin-bottom: 36px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 44px; }
.hero__trust { display: flex; flex-wrap: wrap; gap: 10px 28px; padding-top: 28px; border-top: 1px solid var(--line-light); }
.hero__trust li { font-family: var(--font-display); font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: rgba(245,243,238,.7); display: flex; align-items: center; gap: 10px; }
.hero__trust li::before { content: ""; width: 6px; height: 6px; background: var(--gold); transform: rotate(45deg); }

.hero__figure { position: relative; margin: 0; }
.hero__frame { position: relative; aspect-ratio: 4 / 5; overflow: hidden; }
.hero__frame img { width: 100%; height: 100%; object-fit: cover; }
.hero__figure::before {
  content: ""; position: absolute; inset: 28px -28px -28px 28px; border: 1px solid var(--gold); opacity: .7;
}
.hero__badge {
  position: absolute; left: -40px; bottom: 48px; background: var(--white); color: var(--navy);
  padding: 22px 28px; max-width: 230px; box-shadow: 0 30px 60px -20px rgba(0,0,0,.45);
}
.hero__badge strong { display: block; font-family: var(--font-display); font-size: min(1.75rem, calc(1.3rem + .6vw)); font-weight: 800; letter-spacing: -.02em; line-height: 1.2; }
.hero__badge span { font-size: 16px; color: var(--ink-muted); line-height: 20px; display: block; margin-top: 4px; }

.hero__scroll {
  position: absolute; left: 50%; bottom: 28px; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  font-size: .7rem; letter-spacing: .3em; text-transform: uppercase; text-decoration: none; color: rgba(255,255,255,.65);
}
.hero__scroll i { width: 1px; height: 48px; background: linear-gradient(var(--gold), transparent); position: relative; overflow: hidden; }
.hero__scroll i::after { content: ""; position: absolute; left: 0; top: -40%; width: 1px; height: 40%; background: var(--white); animation: scrollcue 2.2s var(--ease) infinite; }
@keyframes scrollcue { to { top: 110%; } }

/* =========================================================
   SECTIONS — generic
   ========================================================= */
.section { position: relative; padding: var(--section-y) 0; overflow: hidden; }
.section-head { margin-bottom: clamp(56px, 7vw, 96px); }
.section-head--split { display: grid; grid-template-columns: 1.3fr 1fr; gap: 48px; align-items: end; }
.section-head--split .section-title { margin-bottom: 0; }
.section-head__aside { color: var(--ink-muted); margin: 0; max-width: 46ch; justify-self: end; }
.section-head__aside--light { color: var(--on-dark); }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(48px, 8vw, 128px); align-items: center; }
.split--reverse .split__content { order: 0; }
.split--reverse .split__media { order: 1; }

.deco-number {
  position: absolute; top: 6%; right: 2%; z-index: 0; pointer-events: none;
  font-family: var(--font-display); font-weight: 800; font-size: clamp(10rem, 24vw, 22rem); line-height: 1;
  color: transparent; -webkit-text-stroke: 1px rgba(11,31,58,.08);
}
.deco-number--right { right: auto; left: 1%; }

/* ---------- About ---------- */
.about { background: var(--cream); }
.about .container { position: relative; z-index: 1; }
.about .split { grid-template-columns: 1fr 1.05fr; }
.media-stack { position: relative; padding: 0 12% 18% 0; }
.media-stack__main { aspect-ratio: 11 / 13; overflow: hidden; position: relative; z-index: 1; }
.media-stack__main img, .media-stack__inset img { width: 100%; height: 100%; object-fit: cover; }
.media-stack__inset {
  position: absolute; right: 0; bottom: 0; width: 46%; aspect-ratio: 1; overflow: hidden; z-index: 2;
  border: 10px solid var(--cream);
}
.media-stack__plate { position: absolute; left: -32px; top: 15%; width: 40%; height: 70%; background: var(--gold); opacity: .9; z-index: 0; }

.strengths { display: grid; grid-template-columns: 1fr 1fr; gap: 0; margin-top: 44px; border-top: 1px solid var(--line); }
.strengths li { display: flex; gap: 18px; padding: 28px 24px 28px 0; border-bottom: 1px solid var(--line); }
.strengths li:nth-child(odd) { border-right: 1px solid var(--line); }
.strengths li:nth-child(even) { padding-left: 24px; padding-right: 0; }
.strengths__num { font-family: var(--font-display); font-size: 14px; font-weight: 700; color: var(--gold-ink); padding-top: 3px; }
.strengths h3 { font-size: 16px; font-weight: 700; margin-bottom: 8px; letter-spacing: -0.01em; }
.strengths p { font-size: 13px; color: var(--ink-muted); margin: 0; line-height: 20px; }

/* ---------- Services ---------- */
.services { background: var(--white); }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.service-card { background: var(--white); display: flex; flex-direction: column; transition: background-color .5s var(--ease); }
.service-card__media { overflow: hidden; aspect-ratio: 10 / 7; }
.service-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out), filter .6s; filter: saturate(.85); }
.service-card__body { padding: 36px 36px 40px; position: relative; flex: 1; }
.service-card__index { position: absolute; top: -22px; right: 36px; background: var(--navy); color: var(--gold); font-family: var(--font-display); font-weight: 700; font-size: 14px; padding: 10px 14px; }
.service-card h3 { font-size: min(1.75rem, calc(1.3rem + .6vw)); font-weight: 800; margin-bottom: 14px; }
.service-card p { color: var(--ink-muted); font-size: 16px; }
.service-card:hover { background: var(--cream); }
.service-card:hover img { transform: scale(1.06); filter: saturate(1); }

.ticks { display: grid; gap: 8px; margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line); }
.ticks li { position: relative; padding-left: 22px; font-size: 14px; font-weight: 500; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .72em; width: 12px; height: 1px; background: var(--gold); }

.service-card__link {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 22px;
  font-family: var(--font-display); font-weight: 700; font-size: 16px; letter-spacing: .04em;
  color: var(--navy); text-decoration: none; border-bottom: 1px solid var(--gold); padding-bottom: 2px;
}
.service-card__link::after { content: "→"; color: var(--gold-ink); transition: transform .35s var(--ease); }
.service-card__link:hover::after { transform: translateX(4px); }
.service-card { position: relative; }
.service-card--cta {
  justify-content: flex-end; gap: 14px; padding: 40px 36px; min-height: 100%;
  background: var(--navy); color: var(--white); text-decoration: none;
}
.service-card--cta .service-card__index { top: 36px; right: 36px; background: var(--gold); color: var(--navy); }
.service-card--cta__label { font-size: 12px; letter-spacing: .22em; text-transform: uppercase; color: var(--gold); font-weight: 600; }
.service-card--cta strong { font-family: var(--font-display); font-size: min(1.75rem, calc(1.3rem + .6vw)); font-weight: 800; line-height: 1.2; letter-spacing: -.02em; }
.service-card--cta__text { color: var(--on-dark); font-size: 16px; line-height: 1.5; }
.service-card--cta__arrow { font-size: 1.6rem; color: var(--gold); transition: transform .4s var(--ease); }
.service-card--cta:hover { background: var(--navy-soft); }
.service-card--cta:hover .service-card--cta__arrow { transform: translateX(8px); }

.values-title { font-size: 15px; letter-spacing: .22em; text-transform: uppercase; color: var(--gold-ink); margin: 40px 0 0; font-weight: 700; }
.values-title + .strengths { margin-top: 18px; }

.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Services page ---------- */
.page-hero { position: relative; overflow: hidden; background: var(--navy); color: var(--white); padding: calc(var(--header-h) + clamp(72px, 10vw, 140px)) 0 clamp(72px, 9vw, 120px); }
.page-hero__bg { position: absolute; inset: -20% 0; }
.page-hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.page-hero__overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(11,31,58,.96) 0%, rgba(11,31,58,.84) 55%, rgba(11,31,58,.6) 100%); }
.page-hero__inner { position: relative; }
.page-hero__title { font-size: 45px; font-weight: 800; line-height: 60px; letter-spacing: -0.035em; max-width: 16ch; margin-bottom: 26px; }
.page-hero__title em { font-style: normal; color: var(--gold); }
.page-hero__lead { font-size: 16px; color: var(--on-dark); max-width: 58ch; margin: 0; }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 28px; font-size: 12px; letter-spacing: .18em; text-transform: uppercase; font-weight: 600; }
.breadcrumb li { color: var(--gold); }
.breadcrumb li + li::before { content: "/"; margin-right: 10px; color: rgba(245,243,238,.4); }
.breadcrumb a { color: rgba(245,243,238,.75); text-decoration: none; }
.breadcrumb a:hover { color: var(--white); }

.svc { background: var(--cream); overflow: visible; }
.svc__layout { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: clamp(40px, 6vw, 88px); align-items: start; }
.svc-index { position: sticky; top: calc(var(--header-h) + 32px); }
.svc-index__label { font-size: 12px; letter-spacing: .22em; text-transform: uppercase; color: var(--gold-ink); font-weight: 700; margin-bottom: 14px; }
.svc-index ol { border-top: 1px solid var(--line); }
.svc-index a {
  display: flex; gap: 14px; padding: 11px 0; border-bottom: 1px solid var(--line);
  font-family: var(--font-display); font-size: 15px; font-weight: 600; line-height: 1.35; color: var(--ink-muted); text-decoration: none;
  transition: color .25s, padding-left .35s var(--ease);
}
.svc-index a span { flex: none; width: 22px; font-size: 12px; color: var(--gold-ink); padding-top: 2px; }
.svc-index a:hover { color: var(--navy); }
.svc-index a.is-active { color: var(--navy); padding-left: 10px; box-shadow: inset 2px 0 0 var(--gold); }
.svc-index__cta { width: 100%; margin-top: 24px; }

.svc-list { display: grid; gap: clamp(72px, 9vw, 128px); }
.svc-item { scroll-margin-top: 24px; }
.svc-item__media { aspect-ratio: 35 / 16; overflow: hidden; margin-bottom: 40px; background: var(--navy); }
.svc-item__media img { width: 100%; height: 100%; object-fit: cover; }
.svc-item__head { position: relative; padding-left: 64px; margin-bottom: 28px; }
.svc-item__num { position: absolute; left: 0; top: 4px; width: 44px; height: 44px; display: grid; place-items: center; background: var(--navy); color: var(--gold); font-family: var(--font-display); font-weight: 700; font-size: 14px; }
.svc-item__head h2 { font-size: min(2rem, calc(1.325rem + .9vw)); line-height: 1.2; font-weight: 800; margin-bottom: 12px; }
.svc-item__tagline { font-family: var(--font-display); font-weight: 600; font-size: 15px; color: var(--gold-ink); margin: 0; }
.svc-item__body { max-width: 72ch; }
.svc-item__body > p { color: var(--ink-muted); }
.svc-item__body > p:first-child { color: var(--ink); font-size: 22px; line-height: 27px; }
.svc-block { margin: 32px 0; padding: 28px 32px; background: var(--white); border-left: 3px solid var(--gold); }
.svc-block--why { background: var(--navy); color: var(--white); border-left-color: var(--gold); }
.svc-block h3 { font-size: 16px; font-weight: 800; margin-bottom: 16px; }
.feature-list { display: grid; gap: 10px; }
.feature-list li { position: relative; padding-left: 24px; font-size: 16px; line-height: 1.5; color: var(--ink-muted); }
.feature-list li::before { content: ""; position: absolute; left: 0; top: .72em; width: 12px; height: 1px; background: var(--gold); }
.feature-list strong { color: var(--ink); font-weight: 600; }
.feature-list--cols { grid-template-columns: 1fr 1fr; gap: 10px 28px; }
.feature-list--check li { color: var(--on-dark); }
.feature-list--check strong { color: var(--white); }
.feature-list--check li::before { width: 10px; height: 5px; top: .5em; background: none; border: solid var(--gold); border-width: 0 0 2px 2px; transform: rotate(-45deg); }
.svc-item__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; margin-top: 36px; padding-top: 28px; border-top: 1px solid var(--line); }
.svc-item__top { font-size: 14px; color: var(--ink-muted); text-underline-offset: 3px; }
.svc-item__top:hover { color: var(--navy); }

.cta-band { background: var(--navy); color: var(--white); padding: clamp(80px, 10vw, 140px) 0; }
.cta-band__inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 40px; }
.cta-band .section-title { margin-bottom: 0; max-width: 20ch; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 16px; }

/* ---------- Network ---------- */
.network { background: var(--navy); color: var(--white); }
.network__glow {
  position: absolute; width: 900px; height: 900px; right: -300px; top: -200px; pointer-events: none;
  background: radial-gradient(circle, rgba(197,161,90,.12), transparent 60%);
}
.network .container { position: relative; }
.network__layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 40px; align-items: start; }
.network__map { position: relative; border: 1px solid var(--line-light); background: rgba(7,22,41,.55); padding: 20px; }
.network__filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 8px; position: relative; z-index: 1; }
.chip {
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; cursor: pointer;
  background: transparent; border: 1px solid var(--line-light); color: var(--on-dark);
  font-family: var(--font-display); font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  transition: all .3s var(--ease);
}
.chip:hover { border-color: var(--gold); color: var(--white); }
.chip.is-active { background: var(--gold); border-color: var(--gold); color: var(--navy); }
.key { width: 18px; height: 0; border-top: 2px dashed var(--gold); }
.key--air { border-top: 2px dotted var(--white); }
.key--road { border-top: 2px solid #8FA8C8; }
.chip.is-active .key { border-top-color: var(--navy); }

#network-svg { width: 100%; height: auto; overflow: hidden; }
.map-grid line { stroke: rgba(245,243,238,.06); stroke-width: 1; }
.map-land path { stroke: rgba(245,243,238,.3); stroke-width: 3.6; stroke-linecap: round; fill: none; }
.route { fill: none; stroke-width: 1.6; transition: opacity .5s var(--ease), stroke-width .3s; }
.route--ocean { stroke: var(--gold); stroke-dasharray: 6 5; animation: flow 3s linear infinite; }
.route--air { stroke: rgba(255,255,255,.85); stroke-dasharray: 1.5 5; stroke-linecap: round; stroke-width: 1.8; animation: flow 2.2s linear infinite; }
.route--road { stroke: #8FA8C8; stroke-width: 2; }
.route.is-dim { opacity: .08; }
.route.is-hot { stroke-width: 2.6; }
@keyframes flow { to { stroke-dashoffset: -44; } }

.hub { cursor: pointer; outline: none; }
.hub__pulse { fill: var(--gold); opacity: .25; transform-box: fill-box; transform-origin: center; animation: pulse 2.6s var(--ease) infinite; }
.hub__dot { fill: var(--navy); stroke: var(--gold); stroke-width: 2; transition: fill .3s; }
.hub--hq .hub__dot { fill: var(--gold); }
.hub__label { fill: rgba(245,243,238,.8); font-family: var(--font-display); font-size: 11px; font-weight: 600; letter-spacing: .06em; pointer-events: none; paint-order: stroke; stroke: var(--navy-deep); stroke-width: 3px; }
.hub:hover .hub__dot, .hub:focus-visible .hub__dot, .hub.is-selected .hub__dot { fill: var(--white); }
.hub:focus-visible .hub__ring, .hub.is-selected .hub__ring { stroke: var(--white); }
.hub__ring { fill: none; stroke: transparent; stroke-width: 1.2; }
.hub.is-selected .hub__label { fill: var(--white); }
@keyframes pulse { 0% { transform: scale(.6); opacity: .45; } 100% { transform: scale(2.4); opacity: 0; } }

.network__panel { border: 1px solid var(--line-light); padding: 32px 28px; display: flex; flex-direction: column; background: rgba(7,22,41,.55); }
.network__panel-label { font-size: 12px; letter-spacing: .22em; text-transform: uppercase; color: var(--gold); margin-bottom: 14px; font-weight: 600; }
.network__panel-title { font-size: 24px; line-height: 1.2; font-weight: 800; margin-bottom: 6px; }
.network__panel-type { color: var(--gold-light); font-size: 14px; margin-bottom: 16px; }
.network__panel-text { color: var(--on-dark); font-size: 13px; line-height: 1.5; min-height: 6.4em; }
.network__panel-stats { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line-light); border-bottom: 1px solid var(--line-light); margin: 6px 0 22px; }
.network__panel-stats div { padding: 16px 0; }
.network__panel-stats div + div { border-left: 1px solid var(--line-light); padding-left: 18px; }
.network__panel-stats dt { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: rgba(245,243,238,.6); }
.network__panel-stats dd { margin: 4px 0 0; font-family: var(--font-display); font-weight: 700; font-size: 14px; }
.hub-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px 12px; margin-top: auto; }
.hub-list button {
  width: 100%; text-align: left; background: none; border: 0; padding: 6px 0; cursor: pointer;
  font-size: 13px; color: rgba(245,243,238,.72); border-bottom: 1px solid transparent; transition: color .25s, border-color .25s;
}
.hub-list button:hover, .hub-list button[aria-pressed="true"] { color: var(--white); border-bottom-color: var(--gold); }

/* ---------- Stats (parallax band) ---------- */
.stats { position: relative; overflow: hidden; color: var(--white); padding: clamp(110px, 14vw, 200px) 0; background: var(--navy-deep); }
.stats__bg { position: absolute; inset: -25% 0; }
.stats__bg img { width: 100%; height: 100%; object-fit: cover; }
.stats__overlay { position: absolute; inset: 0; background: rgba(11,31,58,.86); }
.stats__inner { position: relative; }
.stats__head { max-width: 760px; margin-bottom: 72px; }
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); margin: 0; border-top: 1px solid rgba(197,161,90,.5); }
.stat { padding: 40px 28px 40px 0; }
.stat + .stat { padding-left: 28px; border-left: 1px solid var(--line-light); }
.stat dt { font-size: 16px; line-height: 20px; letter-spacing: .18em; text-transform: uppercase; color: rgba(245,243,238,.7); order: 2; }
.stat dd { margin: 0 0 12px; font-family: var(--font-display); font-weight: 800; font-size: min(1.75rem, calc(1.3rem + .6vw)); line-height: 1.2; letter-spacing: -.04em; }
.stat { display: flex; flex-direction: column-reverse; justify-content: flex-end; }
.stat sup { font-size: .45em; color: var(--gold); vertical-align: top; position: relative; top: .2em; margin-left: 4px; }
.highlights { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; margin-top: 48px; padding-top: 40px; border-top: 1px solid var(--line-light); }
.highlights li { color: var(--on-dark); font-size: 16px; line-height: 20px; }
.highlights strong { display: block; color: var(--white); font-family: var(--font-display); font-size: 16px; margin-bottom: 4px; }

/* ---------- Industries ---------- */
.industries { background: var(--cream); }
.industries .container { position: relative; z-index: 1; }
.industry-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.industry-card { position: relative; overflow: hidden; aspect-ratio: 4 / 5; background: var(--navy); color: var(--white); grid-column: span 1; }
.industry-card--wide { grid-column: span 2; aspect-ratio: auto; }
.industry-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease-out), opacity .6s; opacity: .82; }
.industry-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(7,22,41,.95) 0%, rgba(7,22,41,.35) 55%, rgba(7,22,41,.1) 100%); }
.industry-card__body { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; padding: 28px; }
.industry-card__body span { display: block; font-family: var(--font-display); font-size: 14px; font-weight: 700; color: var(--gold); letter-spacing: .14em; margin-bottom: 12px; padding-bottom: 12px; border-bottom: 1px solid rgba(197,161,90,.5); width: 48px; transition: width .6s var(--ease-out); }
.industry-card h3 { font-size: min(1.75rem, calc(1.3rem + .6vw)); font-weight: 800; margin-bottom: 8px; }
.industry-card p { margin: 0; color: var(--on-dark); font-size: 16px; line-height: 1.5; max-height: 0; opacity: 0; overflow: hidden; transition: max-height .6s var(--ease-out), opacity .5s; }
.industry-card:hover img, .industry-card:focus-within img { transform: scale(1.06); opacity: .65; }
.industry-card:hover p, .industry-card:focus-within p { max-height: 6em; opacity: 1; }
.industry-card:hover .industry-card__body span { width: 100%; }
@media (hover: none) { .industry-card p { max-height: none; opacity: 1; } }



/* ---------- Forms ---------- */
.form { background: var(--cream); padding: clamp(28px, 4vw, 56px); border-top: 3px solid var(--navy); }
.form__title { font-family: var(--font-display); font-weight: 800; font-size: min(2rem, calc(1.325rem + .9vw)); line-height: 1.2; margin-bottom: 20px; padding: 0; }
.form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 20px; }
.field { display: flex; flex-direction: column; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 16px; font-weight: 600; margin-bottom: 8px; letter-spacing: .02em; }
.field label span { color: var(--gold-ink); }
.field input, .field select, .field textarea {
  width: 100%; padding: 14px 16px; background: var(--white); border: 1px solid rgba(11,31,58,.18); border-radius: 0;
  font-size: 16px; transition: border-color .25s, box-shadow .25s; appearance: none; -webkit-appearance: none;
}
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%230B1F3A' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center; padding-right: 40px;
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 1px var(--navy); }
.field [aria-invalid="true"] { border-color: var(--error); box-shadow: 0 0 0 1px var(--error); }
.field-error { min-height: 1.4em; margin: 6px 0 4px; font-size: 14px; color: var(--error); line-height: 1.4; }
.field--check { flex-direction: row; flex-wrap: wrap; align-items: flex-start; gap: 12px; }
.field--check input { width: 20px; height: 20px; padding: 0; flex: none; margin-top: 3px; appearance: auto; -webkit-appearance: checkbox; accent-color: var(--navy); }
.field--check label { flex: 1; font-weight: 400; font-size: .88rem; color: var(--ink-muted); margin: 0; }
.field--check .field-error { flex-basis: 100%; padding-left: 32px; }
.form__footer { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; margin-top: 8px; }
.form__status { margin: 0; font-size: 14px; flex: 1; min-width: 220px; }
.form__status.is-success { color: #1F6B45; }
.form__status.is-error { color: var(--error); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- FAQ ---------- */
.faq { background: var(--cream); }
.split--faq { align-items: start; grid-template-columns: .8fr 1.2fr; }
.accordion { border-top: 1px solid var(--line); }
.accordion__item { border-bottom: 1px solid var(--line); }
.accordion__item h3 { margin: 0; }
.accordion button {
  width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 24px; text-align: left;
  padding: 28px 0; background: none; border: 0; cursor: pointer;
  font-family: var(--font-display); font-size: 16px; font-weight: 700; letter-spacing: -.01em; line-height: 1.5;
  transition: color .3s;
}
.accordion button:hover { color: var(--gold-ink); }
.accordion button i { position: relative; flex: none; width: 36px; height: 36px; border: 1px solid var(--line); transition: background-color .35s, border-color .35s; }
.accordion button i::before, .accordion button i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.5px; background: currentColor; transform: translate(-50%, -50%); transition: transform .4s var(--ease); }
.accordion button i::after { transform: translate(-50%, -50%) rotate(90deg); }
.accordion button[aria-expanded="true"] i { background: var(--navy); border-color: var(--navy); color: var(--white); }
.accordion button[aria-expanded="true"] i::after { transform: translate(-50%, -50%) rotate(0); }
.accordion__panel { overflow: hidden; transition: height .45s var(--ease); }
.accordion__panel p { color: var(--ink-muted); padding: 0 60px 28px 0; margin: 0; }

/* ---------- Contact ---------- */
.contact { background: var(--white); }
.contact__layout { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.offices { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); }
.office { padding: 32px 24px 32px 0; border-bottom: 1px solid var(--line); }
.office:nth-child(even) { padding-left: 24px; border-left: 1px solid var(--line); }
.office__tag { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-ink); font-weight: 600; margin-bottom: 10px; }
.office h3 { font-size: 24px; line-height: 1.2; font-weight: 800; margin-bottom: 14px; }
.office p { font-size: 16px; color: var(--ink-muted); line-height: 1.5; }
.office p:last-child { margin: 0; }
.office a { text-decoration: none; color: var(--ink); font-weight: 500; }
.office a:hover { color: var(--gold-ink); text-decoration: underline; }
.form--contact { border-top-color: var(--gold); }

/* ---------- Footer ---------- */
.footer { background: var(--navy-deep); color: var(--on-dark); padding: 96px 0 40px; }
.footer__top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 48px; padding-bottom: 64px; border-bottom: 1px solid var(--line-light); }
.footer__brand p { margin: 24px 0 28px; max-width: 36ch; font-size: 16px; }
.footer__col h3 { font-size: 16px; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); margin-bottom: 22px; font-weight: 700; }
.footer__col ul { display: grid; gap: 12px; }
.footer a { text-decoration: none; transition: color .25s; }
.footer__col a, .footer__bottom a { color: var(--on-dark); font-size: 16px; }
.footer__col a:hover, .footer__bottom a:hover { color: var(--white); }
.social { display: flex; gap: 10px; }
.social a { display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid var(--line-light); color: var(--on-dark); transition: all .3s var(--ease); }
.social a:hover { background: var(--gold); border-color: var(--gold); color: var(--navy); transform: translateY(-2px); }
.social svg { width: 18px; height: 18px; fill: currentColor; }
.footer__bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px; padding-top: 32px; font-size: 13px; }
.footer__bottom p { margin: 0; }
.footer__bottom ul { display: flex; flex-wrap: wrap; gap: 24px; }
.footer__bottom a { font-size: 13px; }

/* ---------- Back to top ---------- */
.to-top {
  position: fixed; right: 24px; bottom: 24px; z-index: 90; width: 52px; height: 52px; display: grid; place-items: center;
  background: var(--navy); color: var(--gold); border: 1px solid rgba(197,161,90,.5);
  opacity: 0; visibility: hidden; transform: translateY(16px); transition: all .4s var(--ease);
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--gold); color: var(--navy); }
.to-top svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1180px) {
  .nav__links { gap: 22px; }
  .nav__menu { gap: 28px; }
  .network__layout { grid-template-columns: 1fr; }
  .hub-list { grid-template-columns: repeat(4, 1fr); }
  .network__panel-text { min-height: 0; }
}

@media (max-width: 1060px) {
  :root { --header-h: 72px; }
  .nav__toggle { display: block; }
  .nav__menu {
    position: fixed; inset: 0; z-index: 1; flex-direction: column; justify-content: center; align-items: flex-start; gap: 40px;
    padding: 100px var(--gutter) 48px; background: var(--navy);
    opacity: 0; visibility: hidden; transition: opacity .45s var(--ease), visibility .45s;
  }
  .nav__menu.is-open { opacity: 1; visibility: visible; }
  .nav__links { flex-direction: column; gap: 4px; }
  .nav__links a { font-size: 16px; font-weight: 800; padding: 6px 0; transform: translateY(16px); opacity: 0; transition: transform .6s var(--ease-out), opacity .6s, color .3s; }
  .nav__menu.is-open .nav__links a { transform: none; opacity: 1; }
  .nav__menu.is-open .nav__links li:nth-child(2) a { transition-delay: .04s; }
  .nav__menu.is-open .nav__links li:nth-child(3) a { transition-delay: .08s; }
  .nav__menu.is-open .nav__links li:nth-child(4) a { transition-delay: .12s; }
  .nav__menu.is-open .nav__links li:nth-child(5) a { transition-delay: .16s; }
  .nav__menu.is-open .nav__links li:nth-child(6) a { transition-delay: .2s; }
  .nav__menu.is-open .nav__links li:nth-child(7) a { transition-delay: .24s; }
  .nav__links a::after { bottom: 0; }
  .brand { position: relative; z-index: 2; }

  .hero__inner { grid-template-columns: 1fr; }
  .hero__figure { max-width: 560px; width: 88%; margin-left: auto; }
  .hero__frame { aspect-ratio: 16 / 11; }
  .hero__badge { left: -24px; bottom: 24px; }

  .split, .about .split, .split--faq { grid-template-columns: 1fr; }
  .split--reverse .split__media { order: 1; }
  .about .split__media { max-width: 640px; }

  .section-head--split { grid-template-columns: 1fr; gap: 24px; }
  .section-head__aside { justify-self: start; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .industry-grid { grid-template-columns: repeat(2, 1fr); }
  .industry-card--wide { grid-column: span 2; aspect-ratio: 16 / 9; }

  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { padding-left: 0; border-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line-light); }
  .highlights { grid-template-columns: repeat(2, 1fr); }

  .svc__layout { grid-template-columns: 1fr; }
  .svc-index { position: static; }
  .svc-index ol { display: grid; grid-template-columns: 1fr 1fr; column-gap: 24px; }
  .svc-index__cta { width: auto; }

  .contact__layout { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 680px) {
  .brand__mark { width: 40px; height: 40px; }
  .brand__word { height: 28px; }
  .hero { padding-bottom: 96px; }
  .hero__actions .btn { flex: 1 1 100%; }
  .hero__figure { width: calc(100% - 24px); }
  .hero__figure::before { inset: 16px -16px -16px 16px; }
  .hero__badge { position: relative; left: auto; bottom: auto; margin: -36px 0 0 16px; max-width: none; display: inline-block; }
  .hero__scroll { display: none; }

  .strengths { grid-template-columns: 1fr; }
  .strengths li, .strengths li:nth-child(even) { padding: 24px 0; border-right: 0; }
  .media-stack__plate { left: -16px; }

  .service-grid { grid-template-columns: 1fr; }
  .service-card__body { padding: 32px 24px 32px; }
  .service-card__index { right: 24px; }
  .service-card--cta { padding: 72px 24px 36px; }
  .service-card--cta .service-card__index { top: 24px; right: 24px; }

  .svc-index ol { grid-template-columns: 1fr; }
  .svc-index__cta { width: 100%; }
  .svc-item__media { aspect-ratio: 16 / 10; margin-bottom: 28px; }
  .svc-item__head { padding-left: 0; padding-top: 58px; }
  .svc-block { padding: 22px 20px; }
  .feature-list--cols { grid-template-columns: 1fr; }
  .cta-band__actions, .cta-band__actions .btn { width: 100%; }

  .network__map { padding: 12px; }
  .hub__label { display: none; }
  .hub-list { grid-template-columns: repeat(2, 1fr); }

  .stats__grid, .highlights { grid-template-columns: 1fr; }
  .stat, .stat + .stat { padding: 28px 0; border-left: 0; }
  .stat + .stat { border-top: 1px solid var(--line-light); }

  .industry-grid { grid-template-columns: 1fr; }
  .industry-card, .industry-card--wide { grid-column: span 1; aspect-ratio: 4 / 3; }


  .form__grid { grid-template-columns: 1fr; }
  .form__footer .btn { width: 100%; }
  .accordion__panel p { padding-right: 0; }

  .offices { grid-template-columns: 1fr; }
  .office, .office:nth-child(even) { padding: 28px 0; border-left: 0; }

  .footer__top { grid-template-columns: 1fr 1fr; }
  .footer__bottom { flex-direction: column; }
  .to-top { right: 16px; bottom: 16px; width: 46px; height: 46px; }
  .deco-number { font-size: 9rem; }
}

/* ---------- Typography: VRL reference breakpoints (site.css) ---------- */
@media (max-width: 991px) {
  .section-title { font-size: 28px; }
  .strengths h3 { font-size: 14px; }
}
@media (max-width: 760px) {
  .hero__title, .page-hero__title { font-size: 20px; line-height: 22px; }
  .lead, .svc-item__body > p:first-child { font-size: 16px; }
  .network__panel-title, .office h3 { font-size: 20px; }
}
@media (max-width: 575px) {
  .section-title { font-size: 24px; }
  .strengths h3 { font-size: 13px; }
  .strengths p { font-size: 12px; }
}

/* =========================================================
   REDUCED MOTION
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
  .reveal, .reveal-img, .reveal-img img { opacity: 1 !important; transform: none !important; clip-path: none !important; }
  [data-parallax] { transform: none !important; will-change: auto; }
  .route { animation: none !important; }
  .hub__pulse { display: none; }
}

/* Fixed-position menu must not be trapped by the header's backdrop-filter */
body.menu-open .site-header { backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--navy); }

@media (max-width: 1060px) {
}

@media (max-height: 860px) { .hero__scroll { display: none; } }
