/* ===========================================================================
   Digiton Logistics · Site B (v2) · "Linehaul"

   Rebuilt in the register the client asked for by name: heavy condensed
   uppercase display, a royal block as the brand surface, full-bleed
   photographic hero and footer, and a services section where the frame holds
   while a numbered card advances.

   Layering is taken from the other two references the client supplied:
   floating panels with a hairline edge and a soft inner highlight, sitting
   over a lit ground rather than on a flat one.
   =========================================================================== */

:root {
  --canvas:   #F4F5F7;
  --surface:  #FFFFFF;
  --ink:      #10142B;
  --ink-soft: #5A6178;
  --royal:    #1B2A7A;
  --royal-lo: #16226A;
  --gold:     #E9A426;
  /* Gold is a FILL colour, not an ink. At 1.96:1 on the light canvas it fails
     even the 3:1 large-text bar, so any gold that has to be READ on a light
     ground uses this instead: the same hue taken down until it clears 4.5:1,
     which makes it safe at any size rather than only for large numerals.
     --gold itself stays exactly as it is for dots, bars, rules and buttons,
     where it is not carrying text. */
  --gold-ink: #8A5D06;
  --dark:     #0A0E1C;
  --stop:     #C8412F;          /* the one red, semantic only */

  --line:    rgb(16 20 43 / 0.12);
  --line-2:  rgb(16 20 43 / 0.26);
  --line-lt: rgb(255 255 255 / 0.18);

  --sc-canvas: var(--canvas);
  --sc-ink: var(--ink);
  --sc-ink-soft: var(--ink-soft);
  --sc-accent: var(--royal);
  --sc-accent-ink: #FFFFFF;

  --display: "Oswald", "Archivo Narrow", system-ui, sans-serif;
  --text:    "Archivo", system-ui, sans-serif;

  --sc-shadow-color: 226 40% 24%;
  --e1: 0 1px 2px hsl(var(--sc-shadow-color) / 0.10);
  --e2: 0 2px 6px hsl(var(--sc-shadow-color) / 0.10), 0 10px 26px -12px hsl(var(--sc-shadow-color) / 0.22);
  --e3: 0 2px 6px hsl(var(--sc-shadow-color) / 0.10), 0 30px 60px -30px hsl(var(--sc-shadow-color) / 0.42);

  --nav-h: 68px;
}

* { box-sizing: border-box; }
html { background: var(--canvas); scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  font-family: var(--text);
  font-size: var(--sc-t-base);
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, picture, svg { display: block; max-width: 100%; }
a { color: inherit; }
::selection { background: rgb(233 164 38 / 0.32); }

.wrap { max-width: 82rem; margin-inline: auto; padding-inline: clamp(1.25rem, 5vw, 4.5rem); }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

.skip {
  position: fixed; z-index: 300; top: 12px; left: 12px;
  padding: 12px 20px; background: var(--gold); color: var(--ink);
  font: 600 0.9rem/1 var(--text); border-radius: 6px;
  transform: translateY(-160%); transition: transform 240ms var(--sc-ease-out);
}
.skip:focus-visible { transform: none; }
:where(a, button, [tabindex]):focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 3px; }

/* ------------------------------------------------------------ type scale */

.display {
  font-family: var(--display);
  font-weight: 700;
  text-transform: uppercase;
  line-height: 0.92;
  letter-spacing: 0.005em;
  margin: 0;
  text-wrap: balance;
}
.display--hero { font-size: clamp(2.9rem, 7vw, 6.2rem); }
.display--xl   { font-size: clamp(2.4rem, 5.6vw, 4.6rem); }
.display--lg   { font-size: clamp(1.9rem, 4.2vw, 3.5rem); }

.eyebrow {
  display: inline-flex; align-items: baseline; gap: 0.6rem;
  margin: 0 0 1.1rem;
  font: 600 0.76rem/1 var(--text);
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--royal);
}
.eyebrow--light { color: rgb(255 255 255 / 0.82); }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); flex: none; transform: translateY(-1px); }

.sec-head { max-width: 46rem; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.sec-head--light { color: #fff; }
.sec-head .sec-note, .sec-note {
  margin: 1.2rem 0 0; max-width: 54ch; color: var(--ink-soft); text-wrap: pretty;
}
.sec-head--light .sec-note { color: rgb(255 255 255 / 0.74); }

/* ---------------------------------------------------------------- buttons */

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 1.6rem;
  border-radius: 999px;
  font: 600 0.95rem/1 var(--text); letter-spacing: 0.01em;
  text-decoration: none; white-space: nowrap;
  transition: transform 140ms var(--sc-ease-out), filter 140ms var(--sc-ease-out), background 140ms var(--sc-ease-out);
}
.btn--lg { min-height: 56px; padding: 0 2rem; font-size: 1.02rem; }
.btn--gold  { background: var(--gold); color: var(--ink); box-shadow: var(--e2); }
.btn--gold:hover { filter: brightness(1.06); }
.btn--white { background: #fff; color: var(--royal); box-shadow: var(--e2); }
.btn--white:hover { filter: brightness(0.97); }
.btn--ghost { border: 1px solid rgb(255 255 255 / 0.42); color: #fff; }
.btn--ghost:hover { background: rgb(255 255 255 / 0.12); }
.btn:active { transform: translateY(1px); }

/* -------------------------------------------------------------------- nav */

.nav {
  position: fixed; z-index: 100;
  top: 14px; left: 50%; transform: translateX(-50%);
  width: min(82rem - 2rem, calc(100vw - 28px));
  height: var(--nav-h);
  display: flex; align-items: center; gap: 1.25rem;
  padding: 0 0.7rem 0 1.25rem;
  border-radius: 999px;
  background: rgb(10 14 28 / 0.62);
  border: 1px solid rgb(255 255 255 / 0.14);
  box-shadow: var(--e2), inset 0 1px 0 rgb(255 255 255 / 0.10);
  backdrop-filter: blur(14px) saturate(1.3);
  -webkit-backdrop-filter: blur(14px) saturate(1.3);
  transition: background 260ms var(--sc-ease-out), border-color 260ms var(--sc-ease-out);
}
/* Over the light half of the page the glass has to darken further or the
   wordmark disappears into the paper behind it. */
.nav.is-light { background: rgb(10 14 28 / 0.90); border-color: rgb(255 255 255 / 0.10); }

.nav__mark {
  display: inline-flex; align-items: center; gap: 0.55rem;
  color: #fff; text-decoration: none;
  font-family: var(--display); font-weight: 600; font-size: 1.05rem;
  letter-spacing: 0.08em; text-transform: uppercase;
}
.nav__mark svg { width: 26px; height: 26px; }
.mark__gold { fill: var(--gold); }

.nav__links { display: flex; align-items: center; gap: 0.25rem; margin-left: auto; }
.nav__links a {
  padding: 0.6rem 0.95rem; border-radius: 999px;
  color: rgb(255 255 255 / 0.80); text-decoration: none;
  font: 500 0.9rem/1 var(--text);
  transition: color 140ms var(--sc-ease-out), background 140ms var(--sc-ease-out);
}
.nav__links a:hover { color: #fff; background: rgb(255 255 255 / 0.10); }
.nav__links a.is-here { color: var(--gold); }

.nav__cta {
  margin-left: 0.4rem;
  display: inline-flex; align-items: center;
  min-height: 44px; padding: 0 1.3rem; border-radius: 999px;
  background: var(--gold); color: var(--ink);
  font: 600 0.9rem/1 var(--text); text-decoration: none; white-space: nowrap;
}
.nav__cta:hover { filter: brightness(1.06); }

.nav__burger {
  display: none;
  margin-left: auto;
  width: 44px; height: 44px; border-radius: 999px;
  background: rgb(255 255 255 / 0.10); border: 0; cursor: pointer;
  place-items: center; gap: 5px; flex-direction: column;
}
.nav__burger span { display: block; width: 17px; height: 2px; background: #fff; transition: transform 200ms var(--sc-ease-out); }
.nav__burger[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
.nav__burger[aria-expanded="true"] span:last-child  { transform: translateY(-3.5px) rotate(-45deg); }

.drawer {
  position: fixed; z-index: 99; inset: calc(var(--nav-h) + 22px) 14px auto 14px;
  display: flex; flex-direction: column; gap: 0.25rem;
  padding: 0.8rem;
  border-radius: 20px;
  background: rgb(10 14 28 / 0.96);
  border: 1px solid rgb(255 255 255 / 0.14);
  box-shadow: var(--e3);
  backdrop-filter: blur(14px);
}
.drawer[hidden] { display: none; }
.drawer a {
  padding: 0.95rem 1rem; border-radius: 12px;
  color: rgb(255 255 255 / 0.86); text-decoration: none;
  font: 500 1.05rem/1 var(--text);
}
.drawer a:hover { background: rgb(255 255 255 / 0.10); color: #fff; }
.drawer__cta { background: var(--gold); color: var(--ink) !important; text-align: center; font-weight: 600; margin-top: 0.4rem; }

/* ------------------------------------------------------------------- hero */

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: end;
  padding-block: calc(var(--nav-h) + 4rem) clamp(2.5rem, 6vw, 4.5rem);
  background: var(--dark);
  overflow: hidden;
  isolation: isolate;
}
.hero__plate { position: absolute; inset: 0; z-index: 0; }
.hero__plate img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 52%; }
.hero__scrim {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(to top, rgb(10 14 28 / 0.94) 0%, rgb(10 14 28 / 0.62) 34%, rgb(10 14 28 / 0.10) 68%, rgb(10 14 28 / 0.42) 100%),
    linear-gradient(100deg, rgb(10 14 28 / 0.80) 0%, rgb(10 14 28 / 0.30) 46%, rgb(10 14 28 / 0) 74%);
}
.hero__grid {
  position: relative; z-index: 2;
  width: 100%;
  max-width: 82rem; margin-inline: auto; padding-inline: clamp(1.25rem, 5vw, 4.5rem);
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2rem 3rem; align-items: end;
}
.hero__copy { color: #fff; max-width: min(40rem, 100%); opacity: 1; pointer-events: auto; }
.hero__sub {
  margin: 1.4rem 0 2rem; max-width: 44ch;
  color: rgb(255 255 255 / 0.80); font-size: clamp(1rem, 1.5vw, 1.15rem);
  text-wrap: pretty;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 0.8rem; }

.teaser {
  display: grid; grid-template-columns: auto 1fr auto; grid-template-rows: auto auto;
  align-items: center; gap: 0.2rem 1rem;
  width: min(26rem, 100%);
  padding: 1.5rem 1.5rem 1.6rem;
  border-radius: 16px;
  background: rgb(255 255 255 / 0.94);
  border: 1px solid rgb(255 255 255 / 0.5);
  box-shadow: var(--e3), inset 0 1px 0 #fff;
  backdrop-filter: blur(8px);
  text-decoration: none; color: var(--ink);
  transition: transform 220ms var(--sc-ease-out), background 220ms var(--sc-ease-out);
}
.teaser:hover { transform: translateY(-3px); background: #fff; }
.teaser__n {
  grid-row: span 2;
  font-family: var(--display); font-weight: 700; font-size: 2.6rem; line-height: 1;
  color: var(--royal); font-variant-numeric: tabular-nums;
}
.teaser__label { font: 600 0.72rem/1 var(--text); letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-soft); }
.teaser__title { font-family: var(--display); font-weight: 600; font-size: 1.3rem; text-transform: uppercase; letter-spacing: 0.01em; }
.teaser__go {
  grid-row: span 2; display: grid; place-items: center;
  width: 40px; height: 40px; border-radius: 999px; background: var(--royal); color: #fff;
}
.teaser__go svg { width: 16px; height: 16px; }

/* ------------------------------------------------------------------- band */

.band {
  position: relative;
  background: var(--royal);
  color: #fff;
  padding-block: clamp(4rem, 9vw, 7.5rem);
  overflow: hidden;
}
.band__ghost {
  position: absolute; left: 50%; top: 50%; translate: -50% -50%;
  margin: 0; white-space: nowrap;
  font-family: var(--display); font-weight: 700; font-size: clamp(4rem, 13vw, 12rem);
  line-height: 1; letter-spacing: 0.01em;
  color: rgb(255 255 255 / 0.07);
  pointer-events: none; user-select: none;
}
.band__in { position: relative; text-align: center; display: grid; justify-items: center; }
.band__lede {
  margin: 0 0 2rem; max-width: 46ch;
  font-size: clamp(1.15rem, 2.2vw, 1.6rem); line-height: 1.45; text-wrap: pretty;
}

/* ------------------------------------------------------------- advantages */

.adv { background: var(--canvas); padding-block: clamp(4rem, 9vw, 8rem); }
.adv__grid { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: clamp(2rem, 5vw, 5rem); }
.adv__head { position: sticky; top: calc(var(--nav-h) + 3rem); align-self: start; }
.adv__note { margin: 1.2rem 0 1.8rem; max-width: 34ch; color: var(--ink-soft); }
.adv__rule { height: 3px; background: var(--line); max-width: 18rem; }
.adv__rule i { display: block; height: 100%; width: 0; background: var(--royal); }

.adv__list { list-style: none; margin: 0; padding: 0; }
.adv__row {
  display: grid; grid-template-columns: 4.5rem minmax(0, 1fr); gap: 0.4rem 1.5rem;
  padding: clamp(1.5rem, 3vw, 2.4rem) 0;
  border-top: 1px solid var(--line);
}
.adv__row:last-child { border-bottom: 1px solid var(--line); }
.adv__n {
  grid-row: span 2; margin: 0;
  font-family: var(--display); font-weight: 700; font-size: 1.6rem; line-height: 1;
  color: var(--gold-ink); font-variant-numeric: tabular-nums;
}
.adv__t { margin: 0; font-family: var(--display); font-weight: 600; font-size: clamp(1.3rem, 2.4vw, 1.9rem); text-transform: uppercase; line-height: 1.05; }
.adv__d { margin: 0.5rem 0 0; color: var(--ink-soft); max-width: 52ch; }

/* ================================================== OUR SERVICES (the pin) */

.svc { background: var(--dark); }
.svc__stage {
  display: grid; grid-template-rows: 1fr auto;
  align-content: center;
  background: var(--dark);
  overflow: hidden;
  padding-block: calc(var(--nav-h) + 2rem) 2rem;
}
.svc__grid {
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: clamp(1rem, 3vw, 2.5rem);
  align-items: stretch;
  align-self: center;
}

.svc__media {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  min-height: min(62svh, 34rem);
  box-shadow: var(--e3);
}
/* The panel is close to square and the plate is 16:9, so it crops hard on the
   sides. Bias the window onto the cab rather than the centre of the frame. */
.svc__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 42% 56%; will-change: transform; }
.svc__media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgb(10 14 28 / 0.86) 0%, rgb(10 14 28 / 0.30) 46%, rgb(10 14 28 / 0.05) 100%);
}
.svc__label {
  position: absolute; z-index: 2; left: clamp(1.25rem, 3vw, 2.5rem); bottom: clamp(1.25rem, 3vw, 2.5rem);
  color: #fff;
}
.svc__count {
  position: absolute; z-index: 2; right: clamp(1.25rem, 3vw, 2.5rem); top: clamp(1.25rem, 3vw, 2.5rem);
  margin: 0;
  font-family: var(--display); font-weight: 600; font-size: 1.1rem;
  color: rgb(255 255 255 / 0.86); font-variant-numeric: tabular-nums;
  display: flex; gap: 0.35rem;
}
.svc__count i { font-style: normal; color: rgb(255 255 255 / 0.42); }
.svc__count span:last-child { color: rgb(255 255 255 / 0.42); }

.svc__card {
  position: relative;
  display: grid;
  border-radius: 18px;
  background: var(--royal);
  box-shadow: var(--e3), inset 0 1px 0 rgb(255 255 255 / 0.16);
  padding: clamp(1.5rem, 3.4vw, 3rem);
  min-height: min(62svh, 34rem);
  overflow: hidden;
  color: #fff;
}
.svc__item {
  grid-area: 1 / 1;
  align-self: center;
  display: grid; grid-template-columns: auto minmax(0, 1fr); gap: clamp(1rem, 2.4vw, 2rem);
  align-items: start;
  opacity: 0;
  will-change: opacity, transform;
}
.svc__n {
  margin: 0;
  font-family: var(--display); font-weight: 700;
  font-size: clamp(3rem, 7vw, 6rem); line-height: 0.86;
  color: rgb(255 255 255 / 0.42); font-variant-numeric: tabular-nums;
}
.svc__t {
  margin: 0 0 0.9rem;
  font-family: var(--display); font-weight: 600;
  font-size: clamp(1.4rem, 2.8vw, 2.2rem); line-height: 1.06; text-transform: uppercase;
}
.svc__d { margin: 0; color: rgb(255 255 255 / 0.82); max-width: 42ch; text-wrap: pretty; }
.svc__note {
  position: absolute; left: clamp(1.5rem, 3.4vw, 3rem); right: clamp(1.5rem, 3.4vw, 3rem);
  bottom: clamp(1.1rem, 2.4vw, 1.8rem); margin: 0;
  font: 400 0.78rem/1.5 var(--text);
  color: rgb(255 255 255 / 0.72);
}

.svc__dots { display: flex; gap: 0.5rem; justify-content: center; padding-top: 1.6rem; }
.svc__dots button {
  width: 40px; height: 26px; border: 0; padding: 0;
  background: none; cursor: pointer;
  display: grid; place-items: center;
  border-radius: 6px;
}
.svc__dots button::after {
  content: ""; display: block;
  width: 34px; height: 5px; border-radius: 99px;
  background: rgb(255 255 255 / 0.28);
  transition: background 200ms var(--sc-ease-out);
}
.svc__dots button[aria-selected="true"]::after { background: var(--gold); }
.svc__dots button:hover::after { background: rgb(255 255 255 / 0.55); }

/* ------------------------------------------------------ fleet infographic */

.fleet { background: var(--surface); padding-block: clamp(4rem, 9vw, 8rem); }
.rigs { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 24rem), 1fr)); gap: clamp(1.5rem, 3vw, 2.5rem); }
.rig {
  padding: clamp(1.5rem, 3vw, 2.4rem);
  border-radius: 16px;
  background: var(--canvas);
  border: 1px solid var(--line);
  box-shadow: var(--e1), inset 0 1px 0 #fff;
}
.rig--lead { background: var(--royal); color: #fff; border-color: transparent; box-shadow: var(--e3), inset 0 1px 0 rgb(255 255 255 / 0.18); }
.rig__head { margin-bottom: 1.5rem; }
.rig__name { margin: 0; font-family: var(--display); font-weight: 700; font-size: clamp(1.6rem, 3vw, 2.3rem); text-transform: uppercase; line-height: 1; }
.rig__sub { margin: 0.5rem 0 0; font: 500 0.82rem/1.4 var(--text); letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-soft); }
.rig--lead .rig__sub { color: rgb(255 255 255 / 0.66); }

.rig__art { margin-bottom: 1.6rem; }
.rigsvg { width: 100%; height: auto; overflow: visible; }
.rigsvg .veh path, .rigsvg .veh circle {
  fill: none; stroke: var(--ink); stroke-width: 3; stroke-linejoin: round; stroke-linecap: round;
  vector-effect: non-scaling-stroke;
}
.rigsvg .veh .thin { stroke-width: 1.5; stroke-opacity: 0.45; }
.rigsvg .g { stroke: var(--line-2); stroke-width: 1.5; }
.rigsvg .dim path { fill: none; stroke: var(--gold); stroke-width: 2; vector-effect: non-scaling-stroke; }
.rig--lead .rigsvg .veh path, .rig--lead .rigsvg .veh circle { stroke: #fff; }
.rig--lead .rigsvg .g { stroke: rgb(255 255 255 / 0.30); }

.rig__specs { margin: 0; display: grid; gap: 1.1rem; }
.metric { display: grid; gap: 0.4rem; }
.metric dt { font: 600 0.74rem/1 var(--text); letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-soft); }
.rig--lead .metric dt { color: rgb(255 255 255 / 0.70); }
.metric dd { margin: 0; display: grid; gap: 0.5rem; }
.metric__v { font-family: var(--display); font-weight: 700; font-size: clamp(1.5rem, 3vw, 2.1rem); line-height: 1; font-variant-numeric: tabular-nums; }
.metric__bar { display: block; height: 8px; border-radius: 99px; background: var(--line); overflow: hidden; }
.rig--lead .metric__bar { background: rgb(255 255 255 / 0.20); }
.metric__bar i {
  display: block; height: 100%; width: 0; border-radius: 99px; background: var(--royal);
  transition: width 900ms var(--sc-ease-out);
}
.rig--lead .metric__bar i { background: var(--gold); }
.is-measured .metric__bar i { width: var(--w); }

.fleet__foot { margin: clamp(2rem, 4vw, 3rem) 0 0; font-size: 0.85rem; color: var(--ink-soft); }

/* --------------------------------------------------------- the flow steps */

.flow { background: var(--dark); color: #fff; padding-block: clamp(4rem, 9vw, 8rem); }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 13rem), 1fr)); gap: 1px; background: rgb(255 255 255 / 0.14); border: 1px solid rgb(255 255 255 / 0.14); border-radius: 16px; overflow: hidden; }
.step { background: var(--dark); padding: clamp(1.4rem, 2.6vw, 2rem); position: relative; }
.step__n { display: block; font-family: var(--display); font-weight: 700; font-size: 1.5rem; color: var(--gold); font-variant-numeric: tabular-nums; }
.step__t { margin: 0.7rem 0 0.5rem; font-family: var(--display); font-weight: 600; font-size: 1.25rem; text-transform: uppercase; }
.step__d { margin: 0; font-size: 0.92rem; color: rgb(255 255 255 / 0.72); }

/* The real combination, under the drawings of it. Letterboxed so it reads as a
   companion to the diagrams rather than competing with them for height. */
.fleet__real { margin: clamp(2rem, 4vw, 3rem) 0 0; }
.fleet__real picture { display: block; border-radius: 16px; overflow: hidden; box-shadow: var(--e2); }
.fleet__real img { width: 100%; height: clamp(10rem, 20vw, 15rem); object-fit: cover; object-position: 50% 46%; }
.fleet__real figcaption { margin-top: 0.9rem; font-size: 0.85rem; color: var(--ink-soft); }

/* ------------------------------------------------------- the coverage map */

.net { background: var(--canvas); padding-block: clamp(4rem, 9vw, 8rem); }
/* Map on the left, lanes stacked beside it. Two things fall out of this: the
   continent stops swallowing a whole viewport, and the lanes read as the
   controls for the map rather than as a footnote under it. */
.net__fig {
  margin: 0;
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr);
  gap: clamp(1.25rem, 3vw, 2.5rem);
  align-items: start;
}
.net__fig figcaption { grid-column: 1 / -1; }

.net__map {
  border-radius: 16px; background: var(--surface);
  border: 1px solid var(--line); box-shadow: var(--e2), inset 0 1px 0 #fff;
  padding: clamp(0.75rem, 2vw, 1.5rem);
  overflow-x: auto; overflow-y: hidden; overscroll-behavior-x: contain;
}
.netsvg { width: 100%; height: auto; display: block; }

.au-land  path { fill: #E4E7ED; stroke: rgb(16 20 43 / 0.20); stroke-width: 2; stroke-linejoin: round; }
.au-east  path { fill: rgb(27 42 122 / 0.15); stroke: rgb(27 42 122 / 0.48); stroke-width: 2; stroke-linejoin: round; }
.au-state path { fill: none; stroke: rgb(16 20 43 / 0.16); stroke-width: 1.4; }

.net-road path { fill: none; stroke: var(--royal); stroke-width: 5; stroke-linecap: round; stroke-linejoin: round; }
.net-node circle      { fill: var(--gold); stroke: var(--surface); stroke-width: 3.5; }
.net-node--sm circle  { fill: var(--gold); stroke: var(--surface); stroke-width: 2.5; }
.net-node--off circle { fill: rgb(16 20 43 / 0.28); stroke: var(--surface); stroke-width: 3; }

/* The halo is painted in the panel's own white, so a label crossing a corridor
   knocks the line out cleanly instead of muddying it. */
.net-lbl text { paint-order: stroke fill; stroke: var(--surface); stroke-width: 7px; stroke-linejoin: round; }
.net-city { font: 600 23px var(--text); letter-spacing: 0.05em; fill: var(--ink); dominant-baseline: middle; }
.net-city--sm  { font-size: 19px; font-weight: 500; fill: rgb(16 20 43 / 0.72); }
.net-city--off { font-size: 20px; font-weight: 500; fill: rgb(16 20 43 / 0.45); }

.net-key text { paint-order: stroke fill; stroke: var(--surface); stroke-width: 7px; stroke-linejoin: round; }
.net-key__sw  { fill: rgb(27 42 122 / 0.15); stroke: rgb(27 42 122 / 0.48); stroke-width: 2; }
.net-key__ln  { stroke: var(--royal); stroke-width: 5; stroke-linecap: round; }
.net-key__dot { fill: var(--gold); stroke: var(--surface); stroke-width: 3.5; }
.net-key__t   { font: 500 21px var(--text); fill: var(--ink); dominant-baseline: middle; }

/* ---- point at a lane -------------------------------------------------- --
   The map is the only part of this page that answers a question the visitor
   actually arrived with: "do you run mine?". Pointing at a lane, or tabbing to
   it, traces that corridor and drops everything else back, so the answer is a
   shape rather than a paragraph. Driven by data-lane on the figure. */

.net-road path,
.net-lbl text,
.lane { transition: opacity 200ms var(--sc-ease-out), stroke-width 200ms var(--sc-ease-out), stroke 200ms var(--sc-ease-out); }

.net__fig[data-lane] .net-road path { opacity: 0.14; }
.net__fig[data-lane] .net-road path.is-lane {
  opacity: 1; stroke: var(--gold); stroke-width: 8;
}
.net__fig[data-lane] .net-lbl text { opacity: 0.3; }
.net__fig[data-lane] .net-lbl text.is-lane { opacity: 1; }

.lane { cursor: pointer; outline-offset: -3px; }
/* The stroke is the hit area, so the corridor itself is pointable too. */
.net-road path { pointer-events: stroke; cursor: pointer; }
.net__fig[data-lane] .lane { opacity: 0.5; }
.net__fig[data-lane] .lane.is-lane { opacity: 1; background: #FFFDF7; }
.net__fig[data-lane] .lane.is-lane .lane__hwy { color: var(--gold-ink); }

.lanes__hint {
  margin: 0 0 0.75rem;
  font-size: 0.85rem; color: var(--ink-soft);
}
.lanes__hint::before {
  content: ""; display: inline-block; vertical-align: middle;
  width: 18px; height: 3px; border-radius: 99px; margin-right: 0.6rem;
  background: var(--gold);
}

@media (prefers-reduced-motion: reduce) {
  .net-road path, .net-lbl text, .lane { transition: none; }
}

/* The key, in markup. The version drawn into the SVG is switched off at every
   size now: in a narrower column its text was scaling down past legibility,
   and two copies of the same key is one too many to keep true. */
.net-key { display: none; }
.net__key { display: grid; gap: 0.5rem; margin: 1rem 0 0; padding: 0; list-style: none; }
.net__key li { display: flex; align-items: center; gap: 0.7rem; font-size: 0.86rem; color: var(--ink-soft); }
.net__key-sw  { width: 20px; height: 15px; border-radius: 3px; flex: none; background: rgb(27 42 122 / 0.15); border: 1px solid rgb(27 42 122 / 0.48); }
.net__key-ln  { width: 20px; height: 3px; border-radius: 99px; flex: none; background: var(--royal); }
.net__key-dot { width: 11px; height: 11px; margin-inline: 4px; border-radius: 50%; flex: none; background: var(--gold); }

/* The lanes ride under the map as real markup rather than as more text baked
   into the artwork: selectable, translatable, and legible on a phone. */
/* Stacked, because they now live in a narrow column beside the map. Each lane
   is a row: name and cities on the left, the distance held right, so the eye
   can run down the numbers without reading any of the words. */
.lanes {
  margin: 0;
  display: grid; gap: 1px;
  grid-template-columns: minmax(0, 1fr);
  background: var(--line); border: 1px solid var(--line);
  border-radius: 14px; overflow: hidden;
}
.lane {
  background: var(--surface);
  padding: 0.75rem clamp(0.85rem, 1.6vw, 1.1rem);
  display: grid; grid-template-columns: minmax(0, 1fr) auto;
  align-items: center; column-gap: 0.9rem;
}
.lane__hwy { grid-column: 1; font: 500 0.84rem/1.35 var(--text); letter-spacing: 0.02em; color: var(--royal); }
.lane__ends { grid-column: 1; margin: 0.1rem 0 0; font-size: 0.79rem; color: var(--ink-soft); }
.lane__km {
  grid-column: 2; grid-row: 1 / span 2; margin: 0;
  font-family: var(--display); font-weight: 700; font-size: 1.35rem;
  color: var(--ink); font-variant-numeric: tabular-nums; white-space: nowrap;
}

.net__fig figcaption { margin-top: 1rem; font-size: 0.85rem; color: var(--ink-soft); }

/* Full bleed, and cropped rather than scaled: the plate is a 16:9 frame and
   the band wants a letterbox, so the height is authored and the image covers. */
.net__band { margin-top: clamp(2.5rem, 6vw, 4.5rem); }
.net__band img {
  width: 100%;
  height: clamp(13rem, 27vw, 21rem);
  object-fit: cover;
  /* This plate is a three-quarter, so the subject is tall in frame: the window
     has to sit high enough to keep the trailer tops and some sky, or the band
     fills with roadside gravel. */
  object-position: 50% 34%;
}

/* -------------------------------------------------------------------- faq */

/* Tighter than the other sections on purpose. This is a utility block that
   most readers scroll straight past, so it does not get the full section
   rhythm; giving it one would spend half a screen on whitespace around six
   collapsed rows. */
.faq { background: var(--surface); padding-block: clamp(3rem, 6vw, 5rem); }
.faq .sec-head { margin-bottom: clamp(1.5rem, 3vw, 2.25rem); }
.faq__list {
  display: grid; gap: 1px;
  background: var(--line); border: 1px solid var(--line);
  border-radius: 16px; overflow: hidden;
}
.faq__item { background: var(--canvas); }
.faq__item summary {
  display: flex; align-items: center; gap: 1rem;
  padding: clamp(1rem, 2.2vw, 1.35rem) clamp(1.1rem, 2.6vw, 1.75rem);
  cursor: pointer; list-style: none;
  font-family: var(--display); font-weight: 600; font-size: clamp(1rem, 1.7vw, 1.2rem);
  text-transform: uppercase; letter-spacing: 0.01em; line-height: 1.25;
  transition: background 160ms var(--sc-ease-out);
}
/* Safari draws its own triangle through ::-webkit-details-marker. */
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary:hover { background: #fff; }
.faq__item summary:focus-visible { outline: 3px solid var(--gold); outline-offset: -3px; }

/* The chevron is the only moving part, and it is the affordance, so it gets
   the accent rather than the heading. */
.faq__item summary::after {
  content: ""; flex: none; margin-left: auto;
  width: 11px; height: 11px;
  border-right: 2.5px solid var(--royal); border-bottom: 2.5px solid var(--royal);
  transform: rotate(45deg) translate(-2px, -2px);
  transition: transform 220ms var(--sc-ease-out);
}
.faq__item[open] summary { background: #fff; }
.faq__item[open] summary::after { transform: rotate(225deg) translate(-2px, -2px); }
.faq__item > p {
  margin: 0; padding: 0 clamp(1.1rem, 2.6vw, 1.75rem) clamp(1.2rem, 2.4vw, 1.6rem);
  max-width: 68ch; color: var(--ink-soft); text-wrap: pretty; background: #fff;
}

@media (prefers-reduced-motion: reduce) {
  .faq__item summary, .faq__item summary::after { transition: none; }
}

/* ---------------------------------------------------------------- contact */

.contact { background: var(--royal); color: #fff; padding-block: clamp(4rem, 9vw, 8rem); }
.contact__grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.contact__lede { margin: 1.4rem 0 2.2rem; max-width: 46ch; font-size: clamp(1.02rem, 1.6vw, 1.2rem); color: rgb(255 255 255 / 0.82); text-wrap: pretty; }
.contact__details { margin: 0; display: grid; gap: 0; }
.contact__details > div { padding: 1.1rem 0; border-top: 1px solid rgb(255 255 255 / 0.22); }
.contact__details > div:last-child { border-bottom: 1px solid rgb(255 255 255 / 0.22); }
.contact__details dt { font: 600 0.72rem/1 var(--text); letter-spacing: 0.14em; text-transform: uppercase; color: rgb(255 255 255 / 0.66); }
.contact__details dd { margin: 0.4rem 0 0; font-family: var(--display); font-weight: 500; font-size: 1.15rem; text-transform: uppercase; }
.contact__details a { color: var(--gold); text-underline-offset: 4px; }

/* ----------------------------------------------------------------- footer */

.foot { position: relative; background: var(--dark); color: #fff; overflow: hidden; isolation: isolate; }
.foot__plate { position: absolute; inset: 0; z-index: 0; }
.foot__plate img { width: 100%; height: 100%; object-fit: cover; }
.foot__scrim { position: absolute; inset: 0; z-index: 1; background: linear-gradient(to top, rgb(10 14 28 / 0.96) 22%, rgb(10 14 28 / 0.82) 60%, rgb(10 14 28 / 0.70) 100%); }
.foot__in { position: relative; z-index: 2; padding-block: clamp(3.5rem, 8vw, 6rem) 2rem; }
.foot__cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 12rem), 1fr)); gap: 2.5rem; }
.foot__cols h2 { margin: 0 0 1rem; font: 600 0.74rem/1 var(--text); letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); }
.foot__cols a { display: block; padding: 0.32rem 0; color: rgb(255 255 255 / 0.78); text-decoration: none; font-size: 0.94rem; }
.foot__cols a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.foot__small { margin: 0.8rem 0 0; font-size: 0.86rem; color: rgb(255 255 255 / 0.60); }
.foot__mark {
  margin: clamp(2.5rem, 6vw, 4.5rem) 0 0;
  font-family: var(--display); font-weight: 700;
  font-size: clamp(3.5rem, 17vw, 15rem); line-height: 0.82; letter-spacing: 0.01em;
  color: rgb(255 255 255 / 0.10);
  user-select: none;
}
.foot__legal { margin: 1.5rem 0 0; padding-top: 1.5rem; border-top: 1px solid rgb(255 255 255 / 0.16); font-size: 0.82rem; color: rgb(255 255 255 / 0.58); }

/* ============================================================ phone ===== */

@media (max-width: 980px) {
  .adv__grid, .contact__grid { grid-template-columns: minmax(0, 1fr); }
  .adv__head { position: static; }
  .svc__grid { grid-template-columns: minmax(0, 1fr); }
  .svc__media { min-height: 32svh; }
  .svc__card { min-height: 0; }
  /* Below this the two columns stop being two columns: the map goes full
     width and the lanes fall underneath it. */
  .net__fig { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 780px) {
  .nav { padding-right: 0.5rem; }
  .nav__links, .nav__cta { display: none; }
  .nav__burger { display: flex; }

  .hero__grid { grid-template-columns: minmax(0, 1fr); }
  .hero__copy { max-width: none; }
  .teaser { width: 100%; }

  .adv__row { grid-template-columns: 3rem minmax(0, 1fr); }
  .svc__stage { padding-block: calc(var(--nav-h) + 1.5rem) 1.5rem; }
  .svc__item { grid-template-columns: minmax(0, 1fr); gap: 0.5rem; }
  .svc__n { font-size: 2.6rem; }
  .svc__note { position: static; margin-top: 1.2rem; }
  /* A continent scaled to a 390px screen puts the city labels at about five
     pixels. Grow the type in viewBox units and drop the minor names, so the
     map only has to pan a little rather than a lot to stay readable. */
  .netsvg { min-width: 34rem; }
  .net-city { font-size: 31px; }
  /* At this size the longest coastal name runs past the right edge of the
     viewBox and the SVG clips it. Its neighbours carry the corridor. */
  .net-city--sm, .net-city--off, .net-city--long { display: none; }
  .net-node--sm circle, .net-node--off circle { display: none; }
  /* The drawn key lives over the Indian Ocean and pans off screen here. */
  .net-key { display: none; }
  .net__key { display: grid; gap: 0.55rem; margin: 1.1rem 0 0; padding: 0; list-style: none; }
}

/* ==================================================== reduced motion ===== */

@media (prefers-reduced-motion: reduce) {
  /* Fewer and gentler, not fewer words: the services card stops cycling and
     becomes a plain list, so all six are readable without any motion. */
  .svc__stage { padding-block: calc(var(--nav-h) + 2rem) 3rem; }
  .svc__card { display: block; min-height: 0; }
  .svc__item { opacity: 1 !important; transform: none !important; padding-block: 1.2rem; border-top: 1px solid rgb(255 255 255 / 0.20); }
  .svc__item:first-of-type { border-top: 0; }
  .svc__n { font-size: 2.2rem; }
  .svc__note, .svc__count { position: static; }
  .svc__dots { display: none; }
  .metric__bar i { transition: none; width: var(--w); }
  .teaser:hover { transform: none; }
}
