/* Neutrals carry the page; the logo's blue marks the one action. */
:root {
  --bg: #ffffff;
  --wash: #f6f6f6;
  --border: #e5e5e5;
  --text: #212121;
  --text-muted: #5a5a5a;
  --brand: #236ba7;
  --brand-hover: #1b5687;
  --font: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
}
.wrap { max-width: 62rem; margin: 0 auto; padding: 0 1.25rem; }
a { color: var(--brand); text-underline-offset: 0.18em; }
a:hover { color: var(--brand-hover); }
a[href^="tel:"] { white-space: nowrap; }
a:focus-visible, input:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; }
.skip { position: absolute; left: -999rem; }
.skip:focus { left: 1rem; top: 1rem; padding: 0.5rem 0.8rem; background: var(--bg); }

.head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-top: 0.75rem; padding-bottom: 0.75rem; }
header { position: sticky; top: 0; z-index: 20; background: var(--bg); border-bottom: 1px solid transparent; transition: border-color 0.2s; }
header.scrolled { border-bottom-color: var(--border); }
.logo { display: flex; align-items: center; gap: 0.75rem; color: #1b2747; font-size: 1.1875rem; font-weight: 600; letter-spacing: -0.005em; text-decoration: none; white-space: nowrap; }
.logo img { display: block; width: 3rem; height: 3rem; }
nav { display: flex; align-items: center; gap: 1.5rem; margin-left: auto; }
nav a { color: var(--text); text-decoration: none; padding: 0.55rem 0; }
nav a:hover { color: var(--brand); }
nav a[aria-current="page"] { font-weight: 600; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 2.75rem; padding: 0 1.2rem;
  border: 1px solid var(--text); border-radius: 2px;
  background: var(--bg); color: var(--text);
  font: inherit; font-weight: 600; text-decoration: none; cursor: pointer;
}
.btn:hover { background: var(--wash); color: var(--text); }
.btn-primary { min-height: 3rem; padding: 0 1.5rem; border-color: var(--brand); background: var(--brand); color: #ffffff; }
.btn-primary:hover { border-color: var(--brand-hover); background: var(--brand-hover); color: #ffffff; }
nav .btn { min-height: 2.75rem; padding: 0 1.1rem; }
nav { gap: 1rem; }
button:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; }

main { padding: 4rem 0 4rem; }
h1 {
  max-width: 20ch;
  text-wrap: balance;
  margin: 0;
  font-size: clamp(2.1rem, 5.5vw, 3.25rem);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.02em;
}
h2 { margin: 0 0 0.35rem; font-size: 1.1875rem; font-weight: 600; }
p { margin: 0; }

/* Home: one road. The first screen is white, with a large S resting on its
   bottom edge. Below that edge the ground is the roundel's blue, faintly, and
   every stop is the same shape: the words on one side, the lane on the other.
   site.js draws the road into .lane; the page reads the same without it. */
.steps { padding: 0; }
.journey { position: relative; --lane: 24rem; }
.lane { position: absolute; left: 0; top: 0; z-index: 0; pointer-events: none; overflow: visible; }
.tarmac { fill: #1b2747; }
.dashes line { stroke: #ffffff; opacity: 0.8; stroke-linecap: round; }
.spine, .scratch { fill: none; stroke: none; }
.edge { fill: none; stroke: #ffffff; stroke-width: 1.25; opacity: 0.5; }
/* The vehicle on the road, in its own layer; the three scenes, each a layer over its own band of the page.
   Everything in them is drawn by site.js from footprints and heights. */
.rig { position: absolute; left: 0; top: 0; z-index: 2; pointer-events: none; opacity: 0; will-change: transform; }
.stage { position: relative; height: 0; }                     /* without the script there is nothing to stage */
.road .stage { height: calc(var(--k) * 570px); }
.road .stage.yard { height: calc(var(--k) * 570px); }
.road .stage.shop { height: calc(var(--k) * 450px); }
.stage svg, .stage canvas { position: absolute; left: 0; top: 0; overflow: visible; pointer-events: none; }
.stage svg.smoke { will-change: opacity; }
.journey { --k: 1; }
.ao { fill: #1b2747; opacity: 0.14; }
.lane text, .stage text, .rig text { font-family: var(--font); font-weight: 600; }
.stage.yard text { font-weight: 700; }                 /* the warehouse's sign */
.ripple { fill: none; stroke: #ffffff; stroke-width: 1.2; stroke-linecap: round; opacity: 0.5; }   /* still: thirty of them pulsing repainted the whole port on every frame of a scroll */
.stage.seen .puff { animation-play-state: running; }
.puff { fill: #e6ebf2; opacity: 0; animation: puff 3.2s linear infinite paused; animation-delay: var(--d); }
@keyframes puff { 0% { opacity: 0; transform: translate(0, 0) scale(0.5); } 15% { opacity: 0.9; } 100% { opacity: 0; transform: translate(var(--dx), -60px) scale(2.4); } }
@media (prefers-reduced-motion: reduce) { .puff { animation: none; opacity: 0.4; } }
.lane .sun { fill: #f3a13c; }
.lane .glow { fill: #fbe3bf; }
.skyline { fill: #1b2747; }
.cables { fill: none; stroke: #1b2747; stroke-width: 1.2; }
.land { background: rgba(35, 107, 167, 0.1); }
.stop { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1fr) var(--lane); gap: 0 4rem; align-items: center; max-width: 62rem; min-height: 62vh; margin: 0 auto; padding: 3rem 1.25rem; }
.stop.hero { grid-template-columns: minmax(0, 26rem) minmax(0, 1fr); gap: 0 3rem; min-height: calc(100vh - 6.5rem); min-height: calc(100svh - 6.5rem); padding-top: 2rem; padding-bottom: 3rem; }
.hero h1 { font-size: clamp(2rem, 4.2vw, 2.75rem); }
/* Above the headline: the bison and the line from the company's own logo, set the way the logo sets them. */
.eyebrow { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 1rem; color: var(--brand); font-size: 0.8125rem; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; }
.eyebrow img { display: block; flex: none; width: 2.5rem; height: auto; }
.copy { max-width: 33rem; }
/* the S dips a little below the first screen, so the point where its stroke leaves the circle sits on the blue ground */
/* ...and on a screen with room at the side it sits a little out into the margin, which keeps its road clear of the words below */
.roundel { display: block; position: relative; z-index: 2; width: min(100%, 64vh); height: auto; margin: 0 0 0 auto; }
header .logo { transition: opacity 0.3s; }
.big { max-width: 22ch; font-size: clamp(1.75rem, 3.6vw, 2.5rem); font-weight: 600; line-height: 1.18; letter-spacing: -0.015em; text-wrap: balance; }
.copy .lead { margin-top: 1.5rem; }
.copy p + p { margin-top: 1rem; }
.copy h2 { margin-bottom: 0.5rem; }
.platforms { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 2.5rem; margin-top: 1.5rem !important; }
.platforms a { display: flex; align-items: center; min-height: 2.75rem; }
.platforms img { display: block; }
/* The tools shelf: a white card in the words' column, beside the road like every other stop, holding the makers'
   own catalogue pictures four to a row (two on a phone). No sideways scrolling and nothing cut off. */
.shelf { max-width: none; padding: 2.75rem 2.75rem 3rem; border-radius: 6px; background: var(--bg); }
.shelf .lead { max-width: 33rem; }
.kit { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2.25rem 1.5rem; margin: 2.5rem 0 0; padding: 0; list-style: none; }
.kit img { display: block; width: 100%; height: 7.5rem; object-fit: contain; }
.kit span { display: block; margin-top: 0.75rem; font-size: 0.9375rem; font-weight: 600; text-align: center; }
/* The call button: the number is the thing to read, so it is set large, on the roundel's navy, with a handset. */
.btn-call { display: inline-flex; align-items: center; gap: 0.7rem; min-height: 3.25rem; padding: 0 1.5rem 0 1.25rem; border-color: #1b2747; border-radius: 1.625rem; background: #1b2747; color: #ffffff; font-size: 1.1875rem; font-weight: 600; letter-spacing: 0.01em; font-variant-numeric: tabular-nums; }
.btn-call:hover { border-color: var(--brand); background: var(--brand); color: #ffffff; }
.btn-call svg { flex: none; }
.roots { display: grid; grid-template-columns: 7rem minmax(0, 1fr); gap: 1.75rem; align-items: center; margin: 0; font-size: 1.125rem; }
.roots img { display: block; width: 100%; height: auto; }

/* The end of the road. The home page's footer is the ground in full colour:
   its top edge is the horizon, the sun sits on it, and the road (drawn over it
   by site.js) sweeps round and narrows to a point at the sun. */
.sky { height: 10rem; }
/* the last stop stands low, just above the skyline */
.stop.last { align-items: end; min-height: 46vh; padding-bottom: 0.5rem; }
footer.ground { background: var(--brand); border-top: 0; color: #ffffff; font-size: 1rem; }
.ground .wrap { min-height: 21rem; padding-top: 3.25rem; padding-bottom: 3rem; }
.contact { position: relative; z-index: 2; max-width: 21rem; }
.contact .name { font-size: 1.125rem; font-weight: 600; margin-bottom: 0.5rem; }
.contact address { font-style: normal; }
.contact p + p, .contact address + p { margin-top: 0.75rem; }
.contact a { color: #ffffff; text-underline-offset: 0.2em; }
.contact a:hover { color: #ffffff; text-decoration-thickness: 2px; }
.contact a:focus-visible { outline-color: #ffffff; }
.contact .links { display: flex; flex-wrap: wrap; gap: 0.4rem 1.5rem; margin-top: 1.5rem; }
footer:not(.ground) { position: relative; z-index: 1; background: var(--bg); }

/* The brand strip above the bar: the makers' own marks in their own colours,
   one slow line. A mouse resting on it stops it; so does a finger held on it.
   Hover is asked only of devices that have one: on a phone it sticks after a tap. */
.brands { overflow: hidden; border-bottom: 1px solid var(--border); }
.brands .track { display: flex; width: max-content; animation: drift 80s linear infinite; }
.brands ul { display: flex; flex: none; align-items: center; margin: 0; padding: 0; list-style: none; }
.brands li { display: flex; align-items: center; height: 2rem; padding: 0 1.4rem; font-size: 0.8125rem; font-weight: 600; color: var(--text-muted); white-space: nowrap; }
.brands img { display: block; }
@media (hover: hover) { .brands:hover .track { animation-play-state: paused; } }
.brands:active .track { animation-play-state: paused; }
@keyframes drift { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .brands .track { animation-duration: 160s !important; } }

/* Each stop fades in as it arrives: a short rise, nothing more. */
.js .arrive { opacity: 0; transform: translateY(0.75rem); transition: opacity 0.6s ease, transform 0.6s ease; }
.js .arrive.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .arrive { opacity: 1; transform: none; transition: none; } }


/* Wide screens: the first stop's words stand on the port's open water, below the ship's lane, so the
   band is not followed by a screen of empty ground. The stop itself takes no height. */
@media (min-width: 55rem) {
  .road .stage.port + .stop { grid-template-rows: 0; align-items: end; height: 0; min-height: 0; padding-top: 0; padding-bottom: 0; }
  .road .stage.port + .stop .copy { padding-bottom: 3.5rem; }
  /* The home page's column is wider than the inner pages', so the words beside the warehouse start on the same
     left edge as every other block on the page (header and footer included) instead of hanging out to the left. */
  .stop, header.home .wrap, .ground .wrap { max-width: 78rem; padding-left: 2.5rem; padding-right: 2.5rem; }
  /* likewise what the warehouse carries, beside it, when site.js finds the room (.beside) */
  .road .stop.beside { grid-template-rows: 0; align-items: end; height: 0; min-height: 0; padding-top: 0; padding-bottom: 0; }
  .road .stop.beside .copy { max-width: none; padding-bottom: calc(var(--k) * 190px); }
  .road .stop.phone.beside .copy { padding-bottom: calc(var(--k) * 185px); }   /* level with the shop, not the foot of its forecourt */
  .road .stop.depot.beside .copy { padding-bottom: calc(var(--k) * 200px); }   /* level with the warehouse */
}

/* Phones and narrow windows: the headline, then the S; the road leaves it for
   the right margin and runs down that, with the stops standing to its left. */
@media (max-width: 54.99rem) {
  .journey { --spine: 3.5rem; }
  .shelf { padding: 1.75rem 1.25rem 2rem; }
  .kit { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.75rem 1rem; margin-top: 1.75rem; }
  .kit img { height: 6.5rem; }
  .stop { display: flex; flex-direction: column; align-items: stretch; justify-content: center; min-height: 0; padding: 2.75rem calc(1.25rem + var(--spine)) 2.75rem 1.25rem; }
  .road .land > .stop { min-height: 62svh; }                 /* room for the road between one scene and the next */
  .road .land > .stop.last { min-height: 40svh; justify-content: flex-end; padding-bottom: 0.5rem; }
  /* the first screen is exactly the first screen: words at the top, the S at the bottom, the blue ground out of sight below */
  .stop.hero { display: flex; justify-content: space-between; min-height: calc(100svh - 1.75rem - 3.6rem); padding: 1.5rem 1.25rem 1.25rem; }
  .hero .side { align-self: stretch; margin-top: 1.5rem; }
  .stop.hero { padding-bottom: 2.5rem; }
  /* the whole mark fits on the first screen above the bar, on an iPhone SE as much as a large phone */
  .roundel { width: clamp(8rem, calc(100svh - 31rem), 14rem); margin: 0 auto; }
  .eyebrow { gap: 0.6rem; margin-bottom: 0.75rem; font-size: 0.75rem; letter-spacing: 0.12em; }
  .eyebrow img { width: 2.25rem; }
  .journey { --k: 0.6; }
  .journey { --spine: 3.5rem; }
  .hero .lead { font-size: 1rem; margin-top: 0.9rem; }
  .hero h1 { font-size: 2rem; }
  .hero .note { margin-top: 0.9rem; }
  .brands li { height: 1.75rem; padding: 0 1rem; font-size: 0.75rem; }
  .brands img { max-height: 0.95rem; width: auto; }
  .roots { grid-template-columns: 4.5rem minmax(0, 1fr); gap: 1rem; align-items: start; font-size: 1.0625rem; }
  .sky { height: 9rem; }
  .ground .wrap { min-height: 0; padding-top: 12.5rem; padding-bottom: 2.5rem; }
}

/* Apply */
.form { max-width: 26rem; margin-top: 2rem; }
.form label { display: block; font-weight: 600; margin: 1.1rem 0 0.4rem; }
.form input {
  width: 100%; min-height: 3rem; padding: 0 0.85rem;
  border: 1px solid var(--text); border-radius: 2px;
  background: var(--bg); color: var(--text); font: inherit;
}
.form .cf-turnstile { margin-top: 1.5rem; min-height: 65px; }
.form .btn { margin-top: 1.25rem; }
.note { margin-top: 1rem; font-size: 0.9375rem; color: var(--text-muted); }
.hp { position: absolute; left: -999rem; }
.err { max-width: 38rem; margin-top: 1.5rem; padding: 0.8rem 1rem; border-left: 3px solid var(--text); background: var(--wash); }


footer { border-top: 1px solid var(--border); font-size: 0.9375rem; color: var(--text-muted); }
.legal { flex-basis: 100%; margin-top: 1rem !important; font-size: 0.8125rem; line-height: 1.5; opacity: 0.85; }
.prose { max-width: 40rem; }
.prose h2 { margin-top: 2.25rem; }
.prose p { margin-top: 0.75rem; }
.foot { display: flex; flex-wrap: wrap; gap: 0.4rem 2rem; padding-top: 1.5rem; padding-bottom: 2.5rem; }
.foot address { font-style: normal; }
.foot a { color: var(--text-muted); }
.foot a:hover { color: var(--brand); }

@media (max-width: 40rem) {
  main { padding: 2.5rem 0 3.5rem; }
  nav .btn { padding: 0 0.85rem; font-size: 1rem; }
  nav { gap: 1rem; }
}

/* The narrowest phones (320px): the bot check needs 300px of column. */
@media (max-width: 22rem) {
  .wrap { padding: 0 0.625rem; }
  nav { gap: 0.75rem; }
}

/* Phones: the actions sit in the bar at the TOP, under the brand strip, like desktop. They used to be a bar fixed
   to the foot of the screen; on an iPhone the browser's own toolbar slides away as a scroll begins, and for those
   frames a bottom-fixed bar is drawn cut in half with the page showing through under it (2026-10-05, from a
   screen recording). Nothing on this site is fixed to the bottom of the screen any more. */
@media (max-width: 40rem) {
  nav { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 0.5rem; width: 100%; margin: 0; }
  nav .btn { display: flex; align-items: center; justify-content: center; min-height: 2.75rem; margin: 0; padding: 0 0.4rem; font-size: 0.9375rem; font-weight: 600; text-align: center; white-space: nowrap; }
  nav [hidden] { display: none; }
  .head { padding-top: 0.4rem; padding-bottom: 0.4rem; gap: 0.5rem; }
  .logo img { width: 2.25rem; height: 2.25rem; }
  .logo { gap: 0.5rem; font-size: 1rem; }
  .head .logo + nav { width: auto; flex: 1; }
}
}
@media (max-width: 22rem) { nav .btn { font-size: 0.8125rem; padding: 0 0.2rem; } }
