/* MP Cargo Services
   Styled to match the company email signature: white and light grey base, Calibri-style type
   (Carlito), purple ring icons, scattered lime and purple hexagons, logo in its original colours.
   Colour bands from the original site: purple gradient, lime green, green-and-black hexagon team. */

:root {
  --white: #FFFFFF;
  --grey: #F3F3F5;
  --grey-2: #E7E6EB;
  --ink: #1A1A1A;
  --muted: #55525B;
  --line: #DEDBE4;
  --purple: #4B0A8C;
  --purple-mid: #5B2D8E;
  --purple-soft: #F0E9F8;
  --lime: #A6CE39;
  --lime-deep: #8DB32A;
  --lime-soft: #EEF6D8;

  --font: "Carlito", Calibri, "Segoe UI", Arial, sans-serif;
  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
  --section-y: clamp(64px, 9vw, 120px);
  --header-h: 76px;
}

*, *::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);
  font-size: 1.1875rem;
  line-height: 1.55;
  color: var(--ink);
  background: var(--white);
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
ul, ol, dl, dd { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { font-weight: 700; line-height: 1.15; text-wrap: balance; }
h2 { font-size: clamp(1.9rem, 3.8vw, 2.9rem); }
h3 { font-size: 1.35rem; }
.accent { color: var(--purple); }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--lime); color: var(--ink); padding: 10px 16px; font-weight: 700; border-radius: 999px; text-decoration: none; }
.skip-link:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--purple); outline-offset: 3px; }

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

/* Section title with the lime underline from the original site */
.title { position: relative; padding-bottom: 12px; }
.title::after {
  content: ""; position: absolute; left: 50%; bottom: 0; transform: translateX(-50%);
  width: min(340px, 90%); height: 3px;
  background: linear-gradient(90deg, transparent, var(--lime) 18%, var(--lime) 82%, transparent);
}

/* Pills */
.pill {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 12px 26px;
  border-radius: 999px;
  font-size: 1.1rem; font-weight: 700; line-height: 1.2;
  text-decoration: none;
  transition: background-color .2s, color .2s, box-shadow .2s, transform .2s;
}
.pill:hover { transform: translateY(-2px); }
.pill-purple { background: var(--purple); color: var(--white); }
.pill-purple:hover { box-shadow: 0 10px 24px rgba(75, 10, 140, .3); }
.pill-lime { background: var(--lime); color: var(--ink); }
.pill-lime:hover { box-shadow: 0 10px 24px rgba(141, 179, 42, .4); }
.text-link { color: var(--purple); font-weight: 700; text-underline-offset: 4px; }
.text-link:hover { color: var(--ink); }

/* Signature-style ring icons */
.icon-ring {
  display: grid; place-items: center; flex-shrink: 0;
  width: 44px; height: 44px; border-radius: 50%;
  border: 2px solid var(--purple);
  background: var(--purple-soft);
}
.icon-ring svg { width: 20px; height: 20px; fill: var(--purple); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; height: var(--header-h); background: var(--white); transition: box-shadow .25s; }
.site-header::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: linear-gradient(90deg, var(--purple), var(--purple-mid) 50%, var(--lime)); opacity: 0; transition: opacity .25s; }
.site-header.is-scrolled { box-shadow: 0 6px 20px rgba(26, 26, 26, .08); }
.site-header.is-scrolled::after { opacity: 1; }
.header-inner { position: relative; height: 100%; display: flex; align-items: center; justify-content: space-between; }
.brand img { height: 58px; width: auto; }
.nav ul { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); display: flex; gap: clamp(16px, 3vw, 36px); }
.nav ul a { font-size: 1.15rem; font-weight: 700; color: var(--ink); text-decoration: none; padding: 6px 0; border-bottom: 3px solid transparent; }
.nav ul a:hover { color: var(--purple); }
.nav ul a[aria-current="true"] { color: var(--purple); border-bottom-color: var(--lime); }
.nav-contact-item { display: none; }
.nav-contact { min-height: 42px; padding: 9px 20px; font-size: 1.05rem; }

.menu-toggle { display: none; width: 48px; height: 48px; margin-right: -10px; background: none; border: 0; color: var(--ink); cursor: pointer; }
.menu-toggle-bars, .menu-toggle-bars::before, .menu-toggle-bars::after {
  display: block; width: 26px; height: 3px; margin: 0 auto; background: currentColor; border-radius: 2px; position: relative;
  transition: transform .25s, background-color .2s;
}
.menu-toggle-bars::before, .menu-toggle-bars::after { content: ""; position: absolute; left: 0; }
.menu-toggle-bars::before { top: -8px; }
.menu-toggle-bars::after { top: 8px; }
.nav-open .menu-toggle-bars { background: transparent; }
.nav-open .menu-toggle-bars::before { transform: translateY(8px) rotate(45deg); }
.nav-open .menu-toggle-bars::after { transform: translateY(-8px) rotate(-45deg); }

/* Brand hexagon patterns */
/* Hexagon chains, as in the email signature: each starts in a corner with a large hexagon running
   off the page edge, then connected hexagons step inward and get smaller. One drawing (top-left);
   the other corners are mirrors of it. Chains never get cut by a section's top or bottom edge;
   the two .chain-cross chains straddle a section join so they stay whole. */
.chain {
  --chainw: clamp(240px, 24vw, 340px);
  position: absolute; z-index: -1;
  width: var(--chainw); height: auto;
  pointer-events: none; user-select: none;
}
.chain-tl { left: 0; top: 40px; }
.chain-tr { right: 0; top: 40px; transform: scaleX(-1); }
.chain-bl { left: 0; bottom: 24px; transform: scaleY(-1); }
.chain-br { right: 0; bottom: 24px; transform: scale(-1, -1); }
.chain-cross { z-index: 3; }
/* The first (largest) hexagon's centre sits 40% down the drawing; centre it on the join */
.chain-cross-l { left: 0; top: 0; transform: translateY(-40%); }
/* Sits in the full-width green band (not the 1440px Company box) so it always meets the right edge */
.chain-cross-r { right: 0; top: 0; transform: translateY(-40%) scaleX(-1); }

/* HOME */
.hero { position: relative; isolation: isolate; overflow: hidden; background: var(--white); }
.hero-copy { text-align: center; padding-top: clamp(48px, 7vw, 96px); padding-bottom: clamp(36px, 5vw, 56px); }
.hero h1 { max-width: 16ch; margin: 0 auto; font-size: clamp(2.5rem, 6vw, 4.6rem); line-height: 1.05; letter-spacing: -0.01em; }
.hero h1 span { display: block; color: var(--purple); }
.hero-copy p { max-width: 52ch; margin: 22px auto 0; color: var(--muted); font-size: 1.25rem; }
.hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 28px; }
.hero-photo { position: relative; }
.hero-photo img { width: 100%; height: clamp(280px, 44vw, 620px); object-fit: cover; object-position: 50% 78%; }
.hero-photo::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 22%; background: linear-gradient(180deg, var(--white), rgba(255,255,255,0)); }
.hero-photo::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 8px; background: linear-gradient(90deg, var(--purple), var(--purple-mid) 50%, var(--lime)); }

/* Statement + purple photo band (from the original site) */
.statement { position: relative; isolation: isolate; overflow: hidden; background: var(--grey); padding-top: clamp(56px, 8vw, 96px); }
.statement-inner { text-align: center; }
.statement-logo { height: clamp(150px, 17vw, 240px); width: auto; margin: 0 auto 28px; }
.statement h2 { font-size: clamp(1.7rem, 3.6vw, 2.7rem); line-height: 1.25; }
.statement h2 span { display: block; }
.statement-inner p { max-width: 54ch; margin: 22px auto 0; color: var(--muted); font-size: 1.2rem; }
.band {
  margin-top: clamp(48px, 7vw, 80px);
  padding: clamp(18px, 2.6vw, 30px) 0;
  background: linear-gradient(90deg, var(--grey) 0%, var(--purple) 14%, #3A0870 50%, var(--purple) 86%, var(--grey) 100%);
  overflow: hidden;
}
.gallery { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; width: 118%; margin-left: -9%; }
.gallery li { border-radius: 6px; overflow: hidden; box-shadow: 0 10px 24px rgba(0,0,0,.3); }
.gallery li:nth-child(3) { transform: scale(1.06); border: 3px solid var(--white); z-index: 1; }
.gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .6s; }
.gallery li:hover img { transform: scale(1.06); }

/* SERVICES */
.services { position: relative; isolation: isolate; overflow: hidden; padding: var(--section-y) 0 clamp(170px, 15vw, 205px); background: var(--white); }
.services-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.halves { display: flex; gap: 10px; align-items: flex-start; }
.half { width: calc(50% - 5px); aspect-ratio: 1 / 2.3; object-fit: cover; }
.half-left { clip-path: polygon(100% 0, 100% 100%, 0 75%, 0 25%); }
.half-right { clip-path: polygon(0 0, 100% 25%, 100% 75%, 0 100%); margin-top: 18%; }
.services-body h2 { text-align: center; margin-bottom: clamp(24px, 4vw, 40px); }
.quad { display: grid; grid-template-columns: 1fr 1fr; }
.quad article { padding: 26px clamp(18px, 2.5vw, 30px); }
.quad article:nth-child(odd) { border-right: 2px solid var(--line); }
.quad article:nth-child(-n+2) { border-bottom: 2px solid var(--line); }
.quad h3 { color: var(--purple); }
.quad p { margin-top: 8px; font-size: 1.05rem; color: var(--muted); }
.quad ul { margin-top: 12px; display: grid; gap: 4px; }
.quad li { position: relative; padding-left: 24px; font-size: 1.08rem; font-weight: 700; }
.quad li::before {
  content: ""; position: absolute; left: 0; top: .32em; width: 14px; height: 16px;
  background: no-repeat center / contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 16'%3E%3Cpolygon fill='%23A6CE39' points='7,0.5 13.5,4.2 13.5,11.8 7,15.5 0.5,11.8 0.5,4.2'/%3E%3C/svg%3E");
}

/* COMPANY */
.company { position: relative; isolation: isolate; overflow-x: clip; overflow-y: visible; background: var(--white); padding-top: clamp(170px, 15vw, 205px); }
.company-top {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  gap: clamp(24px, 5vw, 72px);
  align-items: center;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 var(--gutter) clamp(170px, 15vw, 205px) 0;
}
/* Honeycomb column of hexagon photos with lime frames */
.hexes { --hw: clamp(170px, 22vw, 300px); display: grid; justify-items: end; margin-left: -4vw; }
.hexes li {
  width: var(--hw);
  aspect-ratio: 1 / 1.1547;
  padding: 5px;
  background: var(--lime);
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
}
.hexes li:nth-child(2) { background: var(--purple); }
.hexes li + li { margin-top: calc(var(--hw) * -0.2887 + 8px); }
.hexes li:nth-child(2) { margin-right: calc(var(--hw) / 2 + 5px); }
.hexes img { width: 100%; height: 100%; object-fit: cover; clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); }
.company-copy { text-align: center; max-width: 660px; margin: 0 auto; }
.kicker { color: var(--purple); font-weight: 700; margin-bottom: 14px; }
.company h2 { font-size: clamp(1.7rem, 3.3vw, 2.6rem); line-height: 1.3; }
.inline-photo {
  display: inline-block;
  width: 2.2em; height: 1em;
  object-fit: cover;
  clip-path: polygon(20% 0, 80% 0, 100% 50%, 80% 100%, 20% 100%, 0 50%);
  vertical-align: -0.12em;
}
.company-copy > p:not(.kicker) { margin-top: 22px; color: var(--muted); font-size: 1.2rem; }
.fleet { display: inline-flex; flex-wrap: wrap; justify-content: center; gap: 4px 12px; padding: 10px 22px; background: var(--white); border: 2px solid var(--lime); border-radius: 999px; }
.fleet strong { color: var(--purple); }

/* Lime green values band (green and black) */
.values-band { position: relative; isolation: isolate; overflow-x: clip; overflow-y: visible; background: var(--lime); padding: clamp(170px, 15vw, 205px) 0 var(--section-y); }
.lists { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); }
.lists h3 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); margin-bottom: 16px; }
.ruled li { position: relative; padding: 13px 0 13px 30px; border-top: 2px solid rgba(255,255,255,.55); font-size: 1.15rem; }
.ruled li:last-child { border-bottom: 2px solid rgba(255,255,255,.55); }
.ruled li::before {
  content: ""; position: absolute; left: 0; top: 1.05em; width: 16px; height: 18px;
  background: no-repeat center / contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 18'%3E%3Cpolygon fill='none' stroke='%234B0A8C' stroke-width='2.4' points='8,1.4 14.6,5.2 14.6,12.8 8,16.6 1.4,12.8 1.4,5.2'/%3E%3C/svg%3E");
}

/* TRACKING: heading and white buttons straight on the full photo */
.tracking { position: relative; isolation: isolate; overflow: hidden; padding: clamp(110px, 14vw, 190px) 0; background: var(--grey); }
.tracking-bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.tracking::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(60% 70% at 50% 50%, rgba(0,0,0,.42), rgba(0,0,0,.08) 70%, rgba(0,0,0,0)); }
.tracking-copy { max-width: 680px; margin: 0 auto; text-align: center; color: var(--white); }
.tracking-title { position: relative; display: inline-block; padding-bottom: 10px; font-size: clamp(2.1rem, 4.6vw, 3.3rem); text-shadow: 0 2px 16px rgba(0,0,0,.45); }
.tracking-title::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; border-radius: 2px; background: var(--lime); }
.tracking-copy > p { max-width: 42ch; margin: 18px auto 0; font-size: 1.25rem; text-shadow: 0 1px 10px rgba(0,0,0,.55); }
.tracking-actions { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 14px; margin-top: 28px; }
.pill-white { background: var(--white); color: var(--purple); box-shadow: 0 8px 22px rgba(0,0,0,.25); }
.pill-white:hover { background: var(--lime); color: var(--ink); }
.pill-white-outline { border: 2px solid var(--white); color: var(--white); background: rgba(255,255,255,.1); }
.pill-white-outline:hover { background: var(--white); color: var(--purple); }
.tracking-actions { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 16px 24px; margin-top: 28px; }

/* Coverage map */
.coverage { position: relative; isolation: isolate; overflow: hidden; padding: clamp(270px, 23vw, 300px) 0 var(--section-y); background: var(--white); }
.coverage-grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.35fr); gap: clamp(32px, 5vw, 64px); align-items: center; }
.coverage h2 { max-width: 14ch; }
.points { margin-top: clamp(24px, 4vw, 40px); }
.points > div { padding: 16px 0 16px 30px; border-top: 2px solid var(--line); position: relative; }
.points > div:last-child { border-bottom: 2px solid var(--line); }
.points > div::before {
  content: ""; position: absolute; left: 0; top: 1.25em; width: 16px; height: 18px;
  background: no-repeat center / contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 18'%3E%3Cpolygon fill='%23A6CE39' stroke='%234B0A8C' stroke-width='1.6' points='8,1.4 14.6,5.2 14.6,12.8 8,16.6 1.4,12.8 1.4,5.2'/%3E%3C/svg%3E");
}
.points dt { font-weight: 700; font-size: 1.2rem; }
.points dd { color: var(--muted); }
.map-wrap { position: relative; }
#sa-map { display: block; width: 100%; height: auto; overflow: visible; }
.map-wrap figcaption { margin-top: 6px; text-align: right; font-size: .8rem; color: #8A8790; }
.prov { stroke: var(--purple); stroke-width: 1.6; stroke-linejoin: round; transition: fill .2s; }
.prov-a { fill: #FFFFFF; }
.prov-b { fill: var(--purple-soft); }
.prov-c { fill: var(--grey); }
.prov-home { fill: var(--lime); }
.provinces { filter: drop-shadow(0 8px 16px rgba(75, 10, 140, .14)); }
.prov:hover { fill: var(--lime-soft); }
.prov-label { fill: #7A7782; font-family: var(--font); font-size: 19px; font-weight: 700; letter-spacing: .02em; pointer-events: none; }
.map-route { fill: none; stroke: var(--lime-deep); stroke-width: 2; stroke-dasharray: 5 7; animation: flow 1.8s linear infinite; }
.marker { fill: var(--lime); stroke: var(--purple); stroke-width: 2.4; }
.hub-halo { fill: none; stroke: var(--lime); stroke-width: 3; transform-box: fill-box; transform-origin: center; animation: pulse 2.6s ease-out infinite; }
.hub { fill: var(--purple); stroke: var(--lime); stroke-width: 3; }
.hub-card { fill: var(--white); stroke: var(--purple); stroke-width: 2; }
.hub-title { fill: var(--purple); font-family: var(--font); font-size: 22px; font-weight: 700; }
.hub-sub { fill: var(--ink); font-family: var(--font); font-size: 17px; }
@keyframes flow { to { stroke-dashoffset: -24; } }
@keyframes pulse { from { transform: scale(.6); opacity: 1; } to { transform: scale(2.4); opacity: 0; } }

/* CONTACT: hexagon team over the landscape */
.team-band { position: relative; isolation: isolate; overflow: hidden; padding: clamp(56px, 8vw, 96px) 0 clamp(64px, 9vw, 104px); background: #9DB98A; }
.team-bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }
.team-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(255,255,255,.75) 0%, rgba(255,255,255,.2) 32%, rgba(0,0,0,.15) 100%); }
.contact-head { position: relative; display: flex; align-items: center; justify-content: center; gap: clamp(18px, 5vw, 64px); padding-bottom: 14px; margin-bottom: clamp(36px, 5vw, 56px); }
.contact-head::after { content: ""; position: absolute; left: 50%; bottom: 0; transform: translateX(-50%); width: min(560px, 86%); height: 3px; background: var(--lime); }
.contact-head h2 { font-size: clamp(2.4rem, 6vw, 4rem); color: var(--ink); }
.icon-btn {
  display: grid; place-items: center; flex-shrink: 0;
  width: 58px; height: 58px; border-radius: 50%;
  background: var(--white);
  border: 3px solid var(--purple);
  box-shadow: 0 8px 20px rgba(0,0,0,.2);
  transition: transform .2s, background-color .2s;
}
.icon-btn svg { width: 26px; height: 26px; fill: var(--purple); }
.icon-btn:hover { transform: scale(1.08); background: var(--lime); }

.hex-team { display: flex; flex-wrap: wrap; justify-content: center; gap: 30px 40px; max-width: 920px; margin: 0 auto; }
.hex-card {
  --w: 260px;
  width: var(--w);
  aspect-ratio: 1 / .866;
  padding: 3px;
  background: var(--lime);
  clip-path: polygon(25% 0, 75% 0, 100% 50%, 75% 100%, 25% 100%, 0 50%);
  filter: drop-shadow(0 10px 20px rgba(0,0,0,.35));
  transition: transform .3s;
}
.hex-card:hover { transform: translateY(-4px); }
.hex-inner {
  width: 100%; height: 100%;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
  padding: 0 8%;
  background: rgba(10, 10, 10, .9);
  clip-path: polygon(25% 0, 75% 0, 100% 50%, 75% 100%, 25% 100%, 0 50%);
  color: var(--white);
  text-align: center;
}
/* Name on one line, designation on one line */
.hex-inner strong { font-size: 1.3rem; line-height: 1.1; white-space: nowrap; }
.hex-inner span { position: relative; padding-top: 10px; margin-top: 4px; color: var(--lime); font-weight: 700; white-space: nowrap; }
.hex-inner span::before { content: ""; position: absolute; left: 50%; top: 0; transform: translateX(-50%); width: 110%; height: 2px; background: linear-gradient(90deg, transparent, var(--purple-mid) 20%, #9B6BD6 50%, var(--purple-mid) 80%, transparent); }

/* Contact information (kept from the previous design) */
.contact-info { position: relative; isolation: isolate; overflow: hidden; padding: var(--section-y) 0 clamp(270px, 24vw, 330px); background: var(--white); }
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 72px); align-items: center; }
.contact-lines { margin-bottom: 28px; }
.contact-lines li { display: flex; align-items: center; gap: 16px; padding: 14px 0; border-top: 2px solid var(--line); }
.contact-lines li:last-child { border-bottom: 2px solid var(--line); }
.contact-lines li > span:last-child { display: grid; }
.contact-lines small { font-size: .95rem; color: var(--muted); }
.contact-lines a { font-weight: 700; font-size: 1.2rem; text-decoration: none; overflow-wrap: anywhere; }
.contact-lines a:hover { color: var(--purple); }
.contact-map { height: 380px; border: 3px solid var(--lime); }
.contact-map iframe { width: 100%; height: 100%; border: 0; }

/* Footer */
.site-footer { background: var(--grey); }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 32px; padding-top: 32px; padding-bottom: 32px; }
.footer-inner > img { height: 70px; width: auto; }
.footer-nav { display: flex; flex-wrap: wrap; }
.footer-nav li + li { border-left: 2px solid var(--ink); }
.footer-nav a { display: block; padding: 0 12px; font-weight: 700; text-decoration: none; }
.footer-nav a:hover { color: var(--purple); }
.footer-reg { display: grid; gap: 2px; text-align: right; }
.footer-reg div { display: flex; gap: 6px; justify-content: flex-end; }
.footer-reg dt { font-weight: 700; }
.footer-base { background: linear-gradient(90deg, var(--purple), var(--purple-mid) 60%, var(--lime)); color: var(--white); padding: 12px 0; font-size: 1rem; }

/* Laptop widths: not enough room beside the headline, so the hero chains sit above it */
@media (min-width: 901px) and (max-width: 1240px) {
  .hero-copy { padding-top: 250px; }
}

/* Tablet and below */
@media (max-width: 900px) {
  :root { --header-h: 66px; }
  .brand img { height: 46px; }
  .menu-toggle { display: block; }
  .nav {
    position: fixed; inset: var(--header-h) 0 0 0;
    padding: 8px var(--gutter) 40px;
    background: var(--white);
    overflow-y: auto;
    visibility: hidden; opacity: 0;
    transition: opacity .2s, visibility 0s .2s;
  }
  .nav-open .nav { visibility: visible; opacity: 1; transition: opacity .2s; }
  .nav ul { position: static; transform: none; flex-direction: column; gap: 0; }
  .nav ul li { border-bottom: 2px solid var(--line); }
  .nav ul a { display: block; padding: 16px 0; font-size: 1.5rem; border-bottom: 0; }
  .nav-contact-item { display: block; }
  .nav-contact { display: none; }
  .nav-open { overflow: hidden; }

  .services-grid, .coverage-grid, .contact-grid { grid-template-columns: 1fr; }
  .halves { max-width: 420px; margin: 0 auto; width: 100%; }
  .company-top { grid-template-columns: 1fr; padding: 0 var(--gutter) clamp(150px, 14vw, 180px); }
  .chain { --chainw: 220px; }
  .hero-copy { padding-top: 240px; }
  .hexes { --hw: clamp(100px, 28vw, 190px); display: flex; justify-content: center; align-items: flex-start; margin: 0 0 8px; }
  .hexes li + li { margin: 0 0 0 6px; }
  .hexes li:nth-child(2) { margin-right: 0; margin-top: calc(var(--hw) * 0.577); }
  .lists { grid-template-columns: 1fr; }
  .hex-team { gap: 22px 24px; }
  .hex-card { --w: 205px; }
  .hex-inner strong { font-size: 1.15rem; }
  .footer-inner { flex-direction: column; text-align: center; }
  .footer-reg { text-align: center; }
  .footer-reg div { justify-content: center; }
}

@media (max-width: 640px) {
  :root { --gutter: 20px; --section-y: 56px; }
  body { font-size: 1.125rem; }
  h2 { font-size: 1.85rem; }

  /* One alignment rule on phones: section headings centred, lists and details left-aligned */
  .coverage h2, .lists h3 { text-align: center; max-width: none; }

  /* Smaller on phones so each corner chain stays separate, with a clear gap between the pair */
  .chain { --chainw: 140px; }
  .hero .chain { top: 14px; }
  .statement .chain, .coverage .chain { top: 30px; }
  .contact-info .chain { bottom: 16px; }
  .hero-copy { padding-top: 160px; padding-bottom: 32px; }
  .hero h1 { font-size: 2.45rem; }
  .hero-copy p { font-size: 1.125rem; margin-top: 16px; }
  .hero-actions { margin-top: 24px; }
  .hero-actions .pill { flex: 1 1 100%; }
  .hero-photo img { height: 240px; }

  .statement { padding-top: 48px; }
  .statement { padding-top: 184px; }
  .statement-logo { height: 150px; margin-bottom: 20px; }
  .statement h2 { font-size: 1.6rem; line-height: 1.3; }
  .statement-inner p { font-size: 1.1rem; }
  .band { margin-top: 36px; padding: 16px 0; background: linear-gradient(180deg, var(--purple), #3A0870); }
  .gallery {
    width: auto; margin-left: 0;
    grid-template-columns: repeat(5, 80%);
    gap: 12px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding: 0 var(--gutter);
    padding: 6px var(--gutter);
    scrollbar-width: none;
  }
  .gallery::-webkit-scrollbar { display: none; }
  .gallery li { scroll-snap-align: start; }
  .gallery li:nth-child(3) { transform: none; border: 0; }

  .services-grid { gap: 28px; }
  .halves { max-width: 250px; }
  .half-right { margin-top: 14%; }
  .services-body h2 { margin-bottom: 20px; }
  .quad { grid-template-columns: 1fr; gap: 12px; }
  .quad article { padding: 18px 18px 20px; border: 2px solid var(--line) !important; border-left: 5px solid var(--lime) !important; border-radius: 10px; background: var(--white); }
  .quad h3 { font-size: 1.25rem; }

  .company-top { gap: 20px; }
  .company h2 { font-size: 1.6rem; }
  .company-copy > p:not(.kicker) { font-size: 1.1rem; }
  .fleet { display: flex; flex-direction: column; gap: 2px; border-radius: 14px; padding: 12px 16px; }

  .lists { gap: 36px; }
  .lists h3 { margin-bottom: 10px; }
  .ruled li { font-size: 1.08rem; }

  .tracking { padding: 80px 0; }
  .tracking::before { background: rgba(0,0,0,.38); }
  /* Clear space either side of the Services/Company join for the straddling hexagons */
  .services { padding-bottom: 124px; }
  .company { padding-top: 124px; }
  .company-top { padding-bottom: 124px; }
  .values-band { padding-top: 124px; }
  .tracking-copy > p { font-size: 1.1rem; }
  .tracking-actions .pill { flex: 1 1 100%; }

  .coverage-grid { gap: 20px; }
  .points { margin-top: 20px; }
  .map-wrap { margin: 0 -8px; }
  .map-wrap figcaption { text-align: center; }

  .contact-info { padding-bottom: 180px; }
  .coverage { padding-top: 186px; }
  .contact-info .pill { display: flex; width: 100%; }
  .contact-lines a { font-size: 1.1rem; }

  .footer-inner { gap: 16px; }
  .footer-inner > img { height: 60px; }
  .footer-nav { justify-content: center; gap: 6px 18px; }
  .footer-nav li + li { border-left: 0; }
  .footer-nav a { padding: 4px 0; }
  .footer-reg { font-size: 1rem; }
  .footer-reg div { flex-wrap: wrap; }
  .footer-base { text-align: center; }
  .contact-head { gap: 12px; }
  .icon-btn { width: 46px; height: 46px; }
  .icon-btn svg { width: 21px; height: 21px; }
  .hex-team { gap: 16px 16px; }
  .hex-card { --w: min(calc(50vw - var(--gutter) - 10px), 210px); padding: 2px; }
  .hex-inner { padding: 0 5%; }
  .hex-inner strong { font-size: .98rem; }
  .hex-inner span { font-size: .8rem; padding-top: 6px; }
  .contact-map { height: 280px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .map-route, .hub-halo { animation: none; }
  *, *::before, *::after { transition-duration: 0s !important; }
}
