/* Service page template (demo). Loads after home.css and about.css. No cards, no shadows:
   every block is told with type, hairlines and one line that travels. */

.sv-crumb { margin: 0 0 clamp(20px, 2.4vw, 32px); font-family: var(--mono); font-size: 13px; letter-spacing: .02em; color: var(--steel-600); }
.sv-crumb a { color: inherit; text-decoration: none; transition: color var(--dur-fast) var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .sv-crumb a:hover { color: var(--blue-700); } }
.sv-crumb a:focus-visible { outline: 2px solid var(--focus-ring); outline-offset: 3px; border-radius: 2px; }
.sv-crumb span[aria-hidden] { margin: 0 8px; }

.au-copy .sv-h1 { margin: 0; font-size: clamp(26px, 2.6vw, 38px); max-width: 24em; }
.sv-first { position: relative; overflow: hidden; padding-top: calc(var(--bar-h) + clamp(28px, 3.4vw, 48px)); }
.sv-first .home-inner { position: relative; z-index: 1; }

/* The V-mark detail from Careers: same contour, colour and stroke, but cut off by this section. */
.sv-mark {
  position: absolute; inset: 0; left: 60%; right: calc(var(--pad) * -1);
  transform: scale(1.65) translateY(-6%); transform-origin: left center;
  pointer-events: none; z-index: 0;
}
.sv-mark svg { position: absolute; left: 0; top: 0; height: 100%; width: auto; max-width: none; }
.sv-mark .line-path { stroke: #3F67D3; stroke-width: 1.5; opacity: 1; fill: none; stroke-dasharray: 1; stroke-dashoffset: 1; }
.sv-mark.is-in .line-path { stroke-dashoffset: 0; transition: stroke-dashoffset 1100ms var(--ease-sweep) calc(var(--i, 0) * 120ms); }
@media (prefers-reduced-motion: reduce) { .sv-mark .line-path { stroke-dashoffset: 0; transition: none; } }
@media (max-width: 860px) { .sv-mark { display: none; } }
.sv-first .au-copy { max-width: none; }
.au-copy .au-lede.sv-lede { margin: 26px 0 0; max-width: 42em; }
.sv-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; margin-top: clamp(28px, 3vw, 40px); }
.sv-link { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font-size: 16px; font-weight: 500; text-decoration: none; }
.sv-arr { display: block; width: 20px; height: 12px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; transition: transform var(--dur-base) var(--ease-sweep); }
@media (hover: hover) and (pointer: fine) { .sv-link:hover .sv-arr { transform: translateX(5px); } }
.sv-link:active .sv-arr { transform: translateX(2px); }
.sv-link:focus-visible { outline: 2px solid var(--focus-ring); outline-offset: 4px; border-radius: 2px; }

/* ---------- 2. who it is for: three large sentences between hairlines ---------- */
.sv-rows { margin: clamp(36px, 4vw, 56px) 0 0; padding: 0; list-style: none; }
.sv-row {
  display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 0 clamp(16px, 3vw, 40px); align-items: baseline;
  padding: clamp(22px, 2.6vw, 34px) 0; border-top: 1px solid var(--border-inverse);
}
.sv-row:last-child { border-bottom: 1px solid var(--border-inverse); }
.sv-idx { font-family: var(--mono); font-size: 13px; letter-spacing: .08em; color: var(--cyan-400); }
.sv-row h3 { margin: 0; font-family: var(--font); font-weight: 300; font-size: clamp(22px, 2.6vw, 36px); line-height: 1.25; letter-spacing: -.01em; color: #fff; text-wrap: balance; }
.sv-row p { grid-column: 2; margin: 10px 0 0; max-width: 36em; font-size: 16px; line-height: 1.6; color: #9CB0C4; }

/* the same rows on a light section (Organisation page: examples as situations) */
.home-sec:not(.is-dark) .sv-row { border-top-color: var(--border-default); }
.home-sec:not(.is-dark) .sv-row:last-child { border-bottom-color: var(--border-default); }
.home-sec:not(.is-dark) .sv-idx { color: var(--blue-700); }
.home-sec:not(.is-dark) .sv-row h3 { color: var(--ink-900); }
.home-sec:not(.is-dark) .sv-row p { color: var(--steel-600); }

/* ---------- 3. how we organise it: one marker travels the route, stop to stop ---------- */
.sv-track { --sv-dot: 14px; --sv-mk: 24px; position: relative; margin: clamp(44px, 5vw, 72px) 0 0; }
.sv-route { --p: 0; position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 clamp(20px, 3vw, 44px); margin: 0; padding: 0; list-style: none; }
.sv-route::before { /* the road */
  content: ""; position: absolute; left: 0; right: 0; top: calc(var(--sv-dot) / 2 - 1px); height: 2px; background: var(--steel-300);
}
.sv-route::after { /* the part already driven, follows the marker */
  content: ""; position: absolute; left: 0; right: 0; top: calc(var(--sv-dot) / 2 - 1px); height: 2px; transform-origin: 0 50%; transform: scaleX(var(--p));
  background: linear-gradient(90deg, var(--blue-600), var(--blue-500) 55%, var(--cyan-400)); transition: transform 1000ms var(--ease-in-out);
}
.sv-stop { position: relative; padding-top: calc(var(--sv-dot) + 24px); }
.sv-dot { position: absolute; left: 0; top: 0; width: var(--sv-dot); height: var(--sv-dot); border-radius: 50%; background: var(--steel-050); border: 2px solid var(--steel-400); z-index: 1; transition: border-color var(--dur-base) var(--ease-out), background-color var(--dur-base) var(--ease-out); }
.sv-stop h3 { margin: 0; font-size: 20px; font-weight: 500; line-height: 1.3; color: var(--steel-600); text-wrap: balance; transition: color var(--dur-base) var(--ease-out); }
.sv-stop p { margin: 10px 0 0; max-width: 24em; font-size: 16px; line-height: 1.6; color: var(--steel-600); text-wrap: pretty; transition: color var(--dur-base) var(--ease-out); }
.sv-stop.is-done .sv-dot, .sv-stop.is-active .sv-dot { border-color: var(--blue-500); }
.sv-stop.is-done .sv-dot { background: var(--blue-500); }
.sv-stop.is-active h3, .sv-stop.is-done h3 { color: var(--ink-900); }
.sv-stop.is-active p { color: var(--ink); }
.sv-marker {
  position: absolute; left: 0; top: calc(var(--sv-dot) / 2 - var(--sv-mk) / 2); width: var(--sv-mk); height: var(--sv-mk); border-radius: 50%;
  background: var(--blue-500); border: 4px solid var(--steel-050); z-index: 2; pointer-events: none;
  transform: translate(var(--mx, 0px), var(--my, 0px)); transition: transform 1000ms var(--ease-in-out), opacity var(--dur-base) var(--ease-out);
}
.sv-marker.is-reset { opacity: 0; transition: opacity var(--dur-fast) var(--ease-out); }
.sv-track:not(.is-live) .sv-marker { opacity: 0; }
.sv-track.is-static .sv-route::after { transform: none; transition: none; }
.sv-track.is-static .sv-stop .sv-dot { border-color: var(--blue-500); }
.sv-track.is-static .sv-stop:last-child .sv-dot { background: var(--blue-500); }
.sv-track.is-static .sv-stop h3 { color: var(--ink-900); }
.sv-track.is-static .sv-marker { display: none; }

/* ---------- 4. why companies choose us: four columns split by hairlines ---------- */
.sv-cols { margin: clamp(40px, 5vw, 64px) 0 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.sv-col { padding: 0 clamp(18px, 2.2vw, 32px); border-left: 1px solid rgba(255, 255, 255, .13); }
.sv-col:first-child { padding-left: 0; border-left: 0; }
.sv-col:last-child { padding-right: 0; }
.sv-col h3 { margin: 0; font-family: var(--font-head); font-weight: 400; font-size: 18px; letter-spacing: .03em; text-transform: uppercase; line-height: 1.25; color: #fff; }
.sv-col p { margin: 14px 0 0; max-width: 20em; font-size: 15px; line-height: 1.6; color: #9CB0C4; text-wrap: pretty; }
.sv-col .sv-k { display: block; margin-bottom: 18px; width: 28px; height: 2px; background: var(--cyan-400); transform-origin: 0 50%; transition: transform var(--dur-base) var(--ease-sweep); }
@media (hover: hover) and (pointer: fine) { .sv-col:hover .sv-k { transform: scaleX(1.8); } }
.sv-cols.bz-pre .sv-col { opacity: 0; transform: translateY(var(--reveal-distance, 22px)); }
.sv-cols.bz-pre.is-in .sv-col { opacity: 1; transform: none; transition: opacity var(--dur-slow) var(--ease-sweep) calc(var(--i, 0) * 70ms), transform var(--dur-slow) var(--ease-sweep) calc(var(--i, 0) * 70ms); }

/* ---------- 5. examples: the Home photo carousel (.fc, home.css) is reused as it is ---------- */

/* ---------- 5. situations: three scenes on one spine ---------- */
/* The whole set is sized to sit inside one screen, so nothing has to be scrolled to be read. */
.sv-sit-sec { --sec-pt: clamp(48px, 5.4vw, 78px); }
.sv-sit-sec .sv-sit { margin-top: clamp(22px, 2.4vw, 36px); }
.sv-sit-sec .sv-row { padding: clamp(14px, 1.8vw, 24px) 0; }
.sv-sit-sec .sv-row h3 { font-size: clamp(19px, 2.1vw, 29px); }
.sv-sit-sec .sv-row p { margin-top: 8px; font-size: 15px; }

.sv-sit { margin: clamp(36px, 4vw, 56px) 0 0; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 0 clamp(32px, 5vw, 80px); align-items: center; }
.sv-sit .sv-rows { margin: 0; }
.sv-sit .sv-row { position: relative; }
.sv-sit .sv-row::before {
  content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 2px;
  background: var(--gradient-swoosh); transform: scaleX(0); transform-origin: 0 50%;
  transition: transform var(--dur-slow) var(--ease-sweep);
}
.sv-sit .sv-row.is-on::before { transform: scaleX(1); }
.sv-sit .sv-row.is-on .sv-idx { color: var(--blue-500); }
.home-sec:not(.is-dark) .sv-sit .sv-row.is-on .sv-idx { color: var(--blue-600); }

.sv-scene { margin: 0; }
.sv-scene svg { display: block; width: 100%; height: auto; overflow: visible; }
.sv-sc { opacity: 0; transition: opacity var(--dur-base) var(--ease-out); }
.sv-sc.is-on { opacity: 1; }
.sv-nd { fill: var(--steel-050); stroke: var(--steel-400); stroke-width: 2; }
.sv-hub { fill: var(--blue-500); stroke: var(--steel-050); stroke-width: 4; }
.sv-tx { font-family: var(--mono); font-size: 12px; letter-spacing: .08em; fill: var(--steel-600); }
.sv-tx--hub { fill: var(--ink-900); }
.sv-ln { fill: none; stroke: url(#svGrad); stroke-width: 2; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; }
.sv-sc.is-on .sv-ln { stroke-dashoffset: 0; transition: stroke-dashoffset var(--dur-deliberate) var(--ease-sweep) calc(var(--i, 0) * 180ms + 120ms); }
.sv-gh { fill: none; stroke: var(--steel-300); stroke-width: 2; stroke-dasharray: 5 5; }
.sv-br { stroke: var(--steel-400); stroke-width: 2; stroke-linecap: round; }
.sv-spine .sv-ln { stroke-dashoffset: 0; }

/* 03 is told in three beats: the run as planned, the break, then the way around it */
.sv-pl { fill: none; stroke: url(#svGrad); stroke-width: 2; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; }
.sv-sc--rr .sv-gh, .sv-sc--rr .sv-br, .sv-sc--rr .sv-tx { opacity: 0; }
.sv-sc--rr.is-on .sv-pl { stroke-dashoffset: 0; opacity: 0; transition: stroke-dashoffset var(--dur-deliberate) var(--ease-sweep) 120ms, opacity var(--dur-base) var(--ease-out) 960ms; }
.sv-sc--rr.is-on .sv-gh, .sv-sc--rr.is-on .sv-br { opacity: 1; transition: opacity var(--dur-base) var(--ease-out) 960ms; }
.sv-sc--rr.is-on .sv-ln { transition-delay: 1260ms; }
.sv-sc--rr.is-on .sv-tx { opacity: 1; transition: opacity var(--dur-base) var(--ease-out) 1500ms; }

@media (max-width: 960px) {
  .sv-sit { grid-template-columns: 1fr; gap: clamp(20px, 3.4vw, 36px) 0; }
  .sv-scene { order: -1; }
}
/* the section tag hangs off --sec-pt, so this keeps enough room for it above the heading */
@media (max-width: 560px) { .sv-sit-sec { --sec-pt: 72px; } .sv-sit-sec .sv-row p { font-size: 14px; } }
/* the drawing scales with the column, so the labels are enlarged to stay readable */
@media (max-width: 460px) { .sv-tx { font-size: 15px; } }
@media (prefers-reduced-motion: reduce) {
  .sv-sit .sv-row::before, .sv-sc, .sv-sc .sv-ln,
  .sv-sc--rr.is-on .sv-pl, .sv-sc--rr.is-on .sv-gh, .sv-sc--rr.is-on .sv-br, .sv-sc--rr.is-on .sv-tx { transition: none; }
  .sv-sc .sv-ln { stroke-dashoffset: 0; }
}

/* customs scenes: ViCargo is blue and stops at the partner; from there the partner's own dark line carries on */
.sv-pn { fill: var(--steel-050); stroke: var(--ink-700); stroke-width: 2; }
.sv-pd { fill: var(--ink-700); transform-box: fill-box; transform-origin: center; transform: scale(.4); opacity: 0; }
.sv-sc.is-on .sv-pd { transform: none; opacity: 1; transition: transform var(--dur-base) var(--ease-sweep) 780ms, opacity var(--dur-base) var(--ease-out) 780ms; }
.sv-pk { fill: none; stroke: var(--ink-700); stroke-width: 2; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; }
.sv-sc.is-on .sv-pk { stroke-dashoffset: 0; transition: stroke-dashoffset var(--dur-deliberate) var(--ease-sweep) 1000ms; }
.sv-tx--s { fill: var(--ink-700); }
.sv-key { margin: 14px 0 0; display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 14px; line-height: 1.4; color: var(--steel-600); }
.sv-key span { display: inline-flex; align-items: center; gap: 9px; }
.sv-key span::before { content: ""; width: 22px; height: 2px; background: var(--gradient-swoosh); }
.sv-key span + span::before { background: var(--ink-700); }
@media (prefers-reduced-motion: reduce) {
  .sv-sc.is-on .sv-pd, .sv-sc.is-on .sv-pk { transition: none; }
  .sv-pd { transform: none; opacity: 1; } .sv-pk { stroke-dashoffset: 0; }
}

/* ---------- 6. credentials: one strip, four items ---------- */
.sv-creds { margin: clamp(36px, 4vw, 56px) 0 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--border-inverse); border-bottom: 1px solid var(--border-inverse); }
.sv-cred { padding: clamp(22px, 2.4vw, 32px) clamp(16px, 2vw, 28px); border-left: 1px solid var(--border-inverse); }
.sv-cred:first-child { padding-left: 0; border-left: 0; }
.sv-cred:last-child { padding-right: 0; }
.sv-cred b { display: block; font-size: 18px; font-weight: 500; line-height: 1.3; color: #fff; }
.sv-cred span { display: block; margin-top: 8px; font-size: 14px; line-height: 1.55; color: #9CB0C4; }

/* FAQ block: the Home accordion, on this page's own light section */
.sv-faq .fq-layout { align-items: start; }

@media (max-width: 960px) {
  .sv-route { grid-template-columns: 1fr; gap: 0; }
  .sv-route::before, .sv-route::after { left: calc(var(--sv-dot) / 2 - 1px); right: auto; top: 0; bottom: 0; width: 2px; height: auto; }
  .sv-route::after { transform-origin: 50% 0; transform: scaleY(var(--p)); }
  .sv-track.is-static .sv-route::after { transform: none; }
  .sv-stop { padding: 0 0 36px calc(var(--sv-dot) + 22px); }
  .sv-stop:last-child { padding-bottom: 0; }
  .sv-stop h3 { margin-top: -3px; }
  .sv-marker { left: calc(var(--sv-dot) / 2 - var(--sv-mk) / 2); top: 0; }
  .sv-cols { grid-template-columns: 1fr 1fr; row-gap: 40px; }
  .sv-col:nth-child(odd) { padding-left: 0; border-left: 0; }
  .sv-col:nth-child(even) { padding-right: 0; }
  .sv-creds { grid-template-columns: 1fr 1fr; }
  .sv-cred:nth-child(odd) { padding-left: 0; border-left: 0; }
  .sv-cred:nth-child(even) { padding-right: 0; }
  .sv-cred:nth-child(n+3) { border-top: 1px solid var(--border-inverse); }
}
@media (max-width: 640px) {
  .sv-row { grid-template-columns: 1fr; }
  .sv-row p { grid-column: 1; }
  .sv-idx { margin-bottom: 8px; }
  .sv-cols { grid-template-columns: 1fr; }
  .sv-col, .sv-col:nth-child(even) { padding: 0; border-left: 0; }
  .sv-col + .sv-col { padding-top: 28px; border-top: 1px solid rgba(255, 255, 255, .13); }
  .sv-creds { grid-template-columns: 1fr; }
  .sv-cred, .sv-cred:nth-child(even) { padding: 22px 0; border-left: 0; }
  .sv-cred + .sv-cred { border-top: 1px solid var(--border-inverse); }
}
@media (prefers-reduced-motion: reduce) {
  .sv-cols.bz-pre .sv-col, .sv-cols.bz-pre.is-in .sv-col { opacity: 1; transform: none; transition: none; }
  .sv-arr, .sv-col .sv-k { transition: none; }
  .sv-marker, .sv-route::after, .sv-dot, .sv-stop h3, .sv-stop p { transition: none; }
}

/* Phone: the service-page title was fixed at 26px and ran to five or six lines in capitals. */
@media (max-width: 600px) {
  .au-copy .sv-h1 { font-size: clamp(19px, 5.3vw, 22px); }
}
