/* External Logistics v2 - "The Route"
   The page reads as a delivery route: sections are stops on a dashed route spine.
   Palette: Brand teal #0E89AA | Ink #0B1B22 | Asphalt #14252D | Paper #F4F8F9 | Hi-vis #C9D82E
   Type: Saira Condensed (display) | system stack (body) | IBM Plex Mono (route labels) */

:root {
  --teal: #0E89AA;
  --teal-deep: #0A6883;
  --ink: #0B1B22;
  --asphalt: #14252D;
  --paper: #F4F8F9;
  --white: #FFFFFF;
  --line: #D7E2E7;
  --muted: #54696F;
  --hivis: #C9D82E;
  --display: "Saira Condensed", "Arial Narrow", sans-serif;
  --body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "Consolas", monospace;
  --wrap: 1180px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

body {
  font-family: var(--body);
  font-size: 1.03rem;
  line-height: 1.7;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img, video { max-width: 100%; display: block; }
a { color: var(--teal-deep); }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }

h1, h2, h3 {
  font-family: var(--display);
  text-transform: uppercase;
  line-height: 1.05;
  font-weight: 700;
  letter-spacing: 0.015em;
}
h2 { font-size: clamp(2.1rem, 4.5vw, 3.2rem); margin: 12px 0 16px; }
h3 { font-size: 1.5rem; font-weight: 600; }

/* Route-stop label: the structural signature. Each section is a stop. */
.stop-label {
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--teal);
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.stop-label::before {
  content: "";
  width: 13px; height: 13px;
  border-radius: 50%;
  border: 3px solid var(--teal);
  background: var(--white);
  flex-shrink: 0;
}
.on-dark .stop-label { color: var(--hivis); }
.on-dark .stop-label::before { border-color: var(--hivis); background: var(--asphalt); }

.section { padding: 100px 0; position: relative; }
.section-head { max-width: 660px; margin-bottom: 56px; }
.section-head p { color: var(--muted); font-size: 1.08rem; }
.on-dark .section-head p { color: #A8BEC7; }

.skip { position: absolute; left: -9999px; top: 0; background: var(--ink); color: #fff; padding: 10px 16px; z-index: 100; }
.skip:focus { left: 0; }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 2px; }

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 86px; }
.brand { display: flex; align-items: center; }
.brand img { height: 58px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 30px; list-style: none; }
.nav-links a { text-decoration: none; color: var(--ink); font-size: 0.95rem; font-weight: 500; }
.nav-links a:hover { color: var(--teal); }
.btn {
  display: inline-block;
  font-family: var(--display);
  text-transform: uppercase;
  letter-spacing: 0.09em;
  font-weight: 600;
  font-size: 1.02rem;
  padding: 13px 30px;
  border: 2px solid var(--teal);
  background: var(--teal);
  color: #fff;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}
.btn:hover { background: var(--teal-deep); border-color: var(--teal-deep); }
.btn.ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,0.75); }
.btn.ghost:hover { background: rgba(255,255,255,0.12); }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--ink); margin: 5px 0; }

/* ---------- hero ---------- */
.hero {
  position: relative;
  min-height: min(94vh, 820px);
  display: flex; align-items: center;
  color: #fff;
  background: var(--ink);
  overflow: hidden;
}
.hero-media { position: absolute; inset: 0; }
.hero-media video, .hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(6,20,27,0.92) 0%, rgba(6,20,27,0.6) 52%, rgba(6,20,27,0.22) 100%);
}
.hero-inner { position: relative; z-index: 2; padding-top: 130px; padding-bottom: 130px; }
.hero-loc {
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--hivis);
  display: inline-flex; align-items: center; gap: 12px;
}
.hero-loc::before { content: ""; width: 34px; height: 2px; background: var(--hivis); }
.hero h1 {
  font-size: clamp(3.4rem, 9.5vw, 6.8rem);
  margin: 20px 0 22px;
  display: grid;
  line-height: 0.95;
}
.hero h1 .accent { color: #35B6D9; }
.hero p.lede { max-width: 540px; font-size: 1.14rem; color: #d5e4ea; margin-bottom: 36px; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }

/* Route bar: the coverage line, west to east, London as the hub */
.route-bar {
  margin-top: 64px;
  max-width: 620px;
  display: flex;
  justify-content: space-between;
  position: relative;
  padding-top: 7px;
}
.route-bar::before {
  content: "";
  position: absolute;
  top: 12px; left: 8px; right: 8px;
  border-top: 2px dashed rgba(255,255,255,0.45);
}
.rstop {
  position: relative;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #B9D2DC;
}
.rstop i {
  width: 11px; height: 11px; border-radius: 50%;
  background: var(--ink);
  border: 3px solid #B9D2DC;
}
.rstop.hub { color: #fff; font-weight: 700; }
.rstop.hub i { width: 15px; height: 15px; border-color: var(--hivis); background: var(--hivis); margin-top: -2px; }

hr.road {
  border: 0;
  border-top: 2px dashed var(--line);
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- promise strip ---------- */
.strip { background: var(--white); padding: 8px 0 0; }
.strip ul {
  list-style: none;
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 32px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.strip li::before { content: "+ "; color: var(--teal); font-weight: 700; }

/* ---------- services: alternating route stops ---------- */
.svc-rows { display: grid; gap: 72px; }
.svc-row {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 56px;
  align-items: center;
}
.svc-row:nth-child(even) { grid-template-columns: 1fr 1.15fr; }
.svc-row:nth-child(even) .svc-media { order: 2; }
.svc-media { position: relative; }
.svc-media img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}
.svc-media::after {
  content: "";
  position: absolute;
  inset: 18px -18px -18px 18px;
  border: 2px solid var(--line);
  z-index: -1;
}
.svc-row:nth-child(even) .svc-media::after { inset: 18px 18px -18px -18px; }
.svc-num {
  position: absolute;
  top: -20px; left: -8px;
  background: var(--teal);
  color: #fff;
  font-family: var(--mono);
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  padding: 8px 14px;
}
.svc-copy .stop-label { margin-bottom: 8px; }
.svc-copy h3 { font-size: clamp(1.7rem, 2.6vw, 2.2rem); margin-bottom: 12px; }
.svc-copy p { color: var(--muted); max-width: 46ch; }

/* ---------- coverage ---------- */
.coverage {
  background: var(--asphalt);
  color: #E6EFF3;
}
.coverage-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 60px; align-items: center; }
.map-frame svg { width: 100%; height: auto; }
.route-line {
  fill: none;
  stroke: var(--hivis);
  stroke-width: 2.5;
  stroke-dasharray: 7 7;
  animation: dash 30s linear infinite;
}
@keyframes dash { to { stroke-dashoffset: -700; } }
.coverage p { color: #A8BEC7; }
.dest-list { list-style: none; margin-top: 28px; display: grid; gap: 15px; }
.dest-list li {
  display: flex; align-items: baseline; gap: 16px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
  padding-bottom: 15px;
}
.dest-dir { font-family: var(--mono); color: var(--hivis); font-size: 0.76rem; letter-spacing: 0.1em; min-width: 60px; }
.dest-list b { font-family: var(--display); text-transform: uppercase; font-weight: 600; font-size: 1.15rem; letter-spacing: 0.03em; }
.dest-list span.note { color: #7F98A2; font-size: 0.94rem; }

/* ---------- why us ---------- */
.why-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 44px; }
.why { border-top: 3px solid var(--teal); padding-top: 18px; }
.why .why-tag {
  font-family: var(--mono);
  color: var(--teal);
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  display: block;
  margin-bottom: 12px;
}
.why h3 { margin-bottom: 10px; font-size: 1.4rem; }
.why p { color: var(--muted); font-size: 0.99rem; }

/* ---------- community ---------- */
.community { background: var(--paper); }
.charity-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
@media (max-width: 760px) { .charity-row { grid-template-columns: 1fr; } }
.charity {
  border: 1px solid var(--line);
  background: var(--white);
  padding: 22px 34px;
  display: flex; align-items: center; justify-content: center;
}
.charity img { height: 72px; width: auto; max-width: 240px; object-fit: contain; }
.charity img[width] { width: auto; }
@media (max-width: 560px) { .charity { padding: 16px 22px; } .charity img { height: 54px; } }

/* ---------- contact ---------- */
.contact { background: var(--ink); color: #E6EFF3; }
.contact.on-dark .section-head p { color: #A8BEC7; }
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 60px; }
.contact-info dl { display: grid; gap: 20px; margin-top: 28px; }
.contact-info dt {
  font-family: var(--mono);
  font-size: 0.72rem; letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--hivis);
  margin-bottom: 4px;
}
.contact-info dd, .contact-info dd a { color: #E6EFF3; text-decoration: none; }
.contact-info dd a:hover { color: var(--hivis); }
form { background: var(--white); color: var(--ink); padding: 34px; }
form .field { margin-bottom: 18px; }
form label {
  display: block;
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 8px;
  color: var(--muted);
}
form input, form textarea {
  width: 100%;
  font: inherit;
  padding: 13px 15px;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
}
form input:focus, form textarea:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(14,137,170,0.18);
}
.hp { position: absolute; left: -9999px; }
.form-status { margin-top: 14px; font-size: 0.95rem; min-height: 1.4em; }
.form-status.ok { color: #1a7f4b; }
.form-status.err { color: #b23a3a; }

/* ---------- footer ---------- */
footer { background: #061118; color: #7F98A2; padding: 44px 0; font-size: 0.92rem; }
.foot-inner { display: flex; flex-wrap: wrap; gap: 22px; align-items: center; justify-content: space-between; }
footer .brand img { height: 40px; }
footer a { color: #C9D9E0; text-decoration: none; }
footer a:hover { color: var(--hivis); }
.foot-links { display: flex; flex-wrap: wrap; gap: 12px 22px; list-style: none; justify-content: center; }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }

/* ---------- responsive ---------- */
@media (max-width: 980px) {
  .svc-row, .svc-row:nth-child(even), .coverage-grid, .contact-grid { grid-template-columns: 1fr; gap: 34px; }
  .svc-row:nth-child(even) .svc-media { order: 0; }
  .svc-rows { gap: 64px; }
  .section { padding: 76px 0; }
}
@media (max-width: 480px) {
  .route-bar { margin-top: 48px; }
  .rstop { font-size: 0.58rem; letter-spacing: 0.06em; }
}
@media (max-width: 760px) {
  .nav-links {
    display: none;
    position: absolute; top: 86px; left: 0; right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    flex-direction: column; align-items: flex-start;
    padding: 18px 24px 24px; gap: 18px;
  }
  .nav-links.open { display: flex; }
  .nav-toggle { display: block; }
  .strip ul { justify-content: flex-start; }
  form { padding: 24px; }
}

/* ---------- careers page ---------- */
.page-hero {
  background: var(--ink);
  color: #fff;
  padding: 96px 0 84px;
}
.page-hero h1 {
  font-size: clamp(2.8rem, 6.5vw, 4.6rem);
  margin: 16px 0 14px;
}
.page-hero .lede { max-width: 560px; font-size: 1.12rem; color: #d5e4ea; }
.roles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 26px;
}
.role {
  border: 1px solid var(--line);
  border-top: 4px solid var(--teal);
  background: var(--white);
  padding: 30px 28px 32px;
  display: flex; flex-direction: column; gap: 14px;
}
.role h3 { font-size: 1.6rem; }
.role p { color: var(--muted); flex: 1; }
.role .btn { align-self: flex-start; }
form select {
  width: 100%;
  font: inherit;
  padding: 13px 15px;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
}
form select:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(14,137,170,0.18);
}
form input[type="file"] { padding: 10px; }
form input[type="file"]::file-selector-button {
  font: inherit;
  font-size: 0.9rem;
  margin-right: 12px;
  padding: 8px 16px;
  border: 1px solid var(--teal);
  background: var(--white);
  color: var(--teal-deep);
  cursor: pointer;
}

/* ---------- legal pages ---------- */
.legal { max-width: 780px; margin: 0 auto; padding: 64px 24px 96px; }
.legal .updated {
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 34px;
  display: block;
}
.legal h2 {
  font-size: 1.45rem;
  margin: 44px 0 12px;
  scroll-margin-top: 110px;
}
.legal h3 { font-size: 1.1rem; margin: 26px 0 8px; font-family: var(--body); text-transform: none; font-weight: 700; }
.legal p { margin: 0 0 14px; color: #2A3B44; }
.legal ul { margin: 0 0 16px 22px; color: #2A3B44; }
.legal li { margin-bottom: 7px; }
.legal .toc {
  border: 1px solid var(--line);
  background: var(--paper);
  padding: 24px 28px;
  margin: 8px 0 24px;
}
.legal .toc ol { margin-left: 20px; columns: 2; column-gap: 40px; }
.legal .toc li { margin-bottom: 6px; font-size: 0.94rem; }
.legal .toc a { text-decoration: none; }
.legal .toc a:hover { text-decoration: underline; }
@media (max-width: 640px) { .legal .toc ol { columns: 1; } }

/* ---------- role hiring status ---------- */
.role-tag {
  display: inline-block;
  align-self: flex-start;
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 5px 12px;
}
.role-tag.open { background: var(--teal); color: #fff; }
.role-tag.closed { background: var(--paper); color: var(--muted); border: 1px solid var(--line); }
.role.closed { border-top-color: var(--line); }
.role.closed h3, .role.closed p { color: var(--muted); }
.role-meta {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal-deep);
}
.eeo { color: var(--hivis); opacity: 0.85; font-size: 0.88rem; margin-top: 30px; line-height: 1.6; }
.contact .eeo { color: #A8BEC7; }
