kitbash Sign in Connect agent

Black Road White Page

Tech · 7 parts · logistics · globe · wide caps

A white page crossed by black road bands. A night-black opening with a dotted globe and glowing route arcs, wide square capitals, tiny mono labels and one deep blue accent. Suits transport, logistics, travel and infrastructure firms that want to look exact and calm.

Get pack Remix

Whole page

Parts

Dot map loader

A black loader: a dotted world map with blue hub dots lighting up, a mono list of places, a list of services and a 0 to 100 counter with a dotted spinner.

Code React For Figma
<section class="intro" aria-label="Loading">
  <div class="intro__top">
    <p class="intro__mark"><svg class="intro__glyph" viewBox="0 0 24 24" aria-hidden="true"><circle cx="4" cy="18" r="3"/><circle cx="20" cy="6" r="3"/><path d="M4 18 C 6 6, 14 4, 20 6" fill="none" stroke-width="2"/></svg><span class="intro__name">Merrow Overland</span></p>
    <ol class="intro__places">
      <li class="intro__place">Lisbon</li>
      <li class="intro__place">Seville</li>
      <li class="intro__place">Marseille</li>
      <li class="intro__place">Milan</li>
      <li class="intro__place">Vienna</li>
      <li class="intro__place">Kraków</li>
      <li class="intro__place">Istanbul</li>
      <li class="intro__place">Tbilisi</li>
      <li class="intro__place">Samarkand</li>
    </ol>
  </div>

  <canvas class="intro__map" role="img" aria-label="A world map drawn in dots, with blue route stops lighting up one by one"></canvas>

  <div class="intro__bottom">
    <p class="intro__count" aria-live="off"><span class="intro__number">100</span><span class="intro__spinner" aria-hidden="true"><i></i><i></i><i></i><i></i><i></i><i></i><i></i><i></i></span></p>
    <ul class="intro__services">
      <li>Night coaches</li>
      <li>Day express</li>
      <li>Charter fleet</li>
      <li>Parcel hold</li>
      <li>Border desk</li>
    </ul>
  </div>
</section>

<style>
  .intro {
    position: relative;
    display: grid;
    grid-template-rows: auto 1fr auto;
    gap: var(--space-l);
    min-height: clamp(560px, 62vw, 900px);
    padding: clamp(40px, 6vw, 96px) var(--edge) var(--edge);
    background: var(--night);
    color: var(--on-night);
    overflow: hidden;
  }
  .intro__top {
    display: grid;
    gap: var(--space-l);
    justify-items: start;
  }
  .intro__mark {
    display: flex;
    align-items: center;
    gap: var(--space-s);
    margin: 0;
    font-family: var(--font-display);
    font-variation-settings: "wdth" var(--display-width);
    font-size: clamp(18px, 2vw, 26px);
    font-weight: 700;
    letter-spacing: -0.01em;
    text-transform: uppercase;
  }
  .intro__glyph {
    width: 1.1em;
    height: 1.1em;
    fill: var(--signal);
    stroke: var(--on-night);
  }
  .intro__places,
  .intro__services {
    margin: 0;
    padding: 0;
    list-style: none;
    font-family: var(--font-mono);
    font-size: var(--text-xs);
    line-height: 1.25;
    text-transform: uppercase;
    color: var(--on-night-faint);
  }
  .intro__place {
    transition: color var(--quick) var(--ease);
  }
  .intro__place.is-lit {
    color: var(--on-night);
  }
  .intro__map {
    width: min(100%, 980px);
    aspect-ratio: 2 / 1;
    justify-self: center;
    align-self: center;
    color: var(--on-night-faint);
  }
  .intro__bottom {
    display: grid;
    justify-items: end;
    gap: var(--space-l);
    text-align: right;
  }
  .intro__count {
    display: flex;
    align-items: center;
    gap: var(--space-m);
    margin: 0;
    font-family: var(--font-body);
    font-size: var(--text-m);
    font-weight: 500;
    font-variant-numeric: tabular-nums;
  }
  .intro__number {
    min-width: 3ch;
  }
  .intro__spinner {
    position: relative;
    width: 18px;
    height: 18px;
    animation: intro-spin 1.2s steps(8) infinite;
  }
  .intro__spinner i {
    position: absolute;
    left: 7.5px;
    top: 0;
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: var(--on-night);
    transform-origin: 1.5px 9px;
  }
  .intro__spinner i:nth-child(2) { transform: rotate(45deg); opacity: 0.85; }
  .intro__spinner i:nth-child(3) { transform: rotate(90deg); opacity: 0.7; }
  .intro__spinner i:nth-child(4) { transform: rotate(135deg); opacity: 0.55; }
  .intro__spinner i:nth-child(5) { transform: rotate(180deg); opacity: 0.4; }
  .intro__spinner i:nth-child(6) { transform: rotate(225deg); opacity: 0.3; }
  .intro__spinner i:nth-child(7) { transform: rotate(270deg); opacity: 0.2; }
  .intro__spinner i:nth-child(8) { transform: rotate(315deg); opacity: 0.1; }
  @keyframes intro-spin {
    to { transform: rotate(360deg); }
  }

  @media (min-width: 900px) {
    .intro {
      grid-template-columns: 1fr minmax(0, 2.6fr) 1fr;
      grid-template-rows: 1fr;
      align-items: center;
    }
    .intro__top { align-self: start; }
    .intro__bottom { align-self: end; }
  }

  @media (prefers-reduced-motion: reduce) {
    .intro__spinner { animation: none; }
  }
</style>

<script>
(() => {
  // Rough continents as [longitude, latitude] rings. Dots are kept where they fall inside one.
  const LAND = [
    [[-168,66],[-140,70],[-95,72],[-80,63],[-62,58],[-55,50],[-66,44],[-76,35],[-81,25],[-97,26],[-97,20],[-87,15],[-78,8],[-85,10],[-105,20],[-117,32],[-124,40],[-124,48],[-135,58],[-150,60],[-165,60]],
    [[-50,60],[-20,70],[-20,82],[-60,82],[-70,76],[-55,70]],
    [[-78,8],[-60,10],[-50,0],[-35,-6],[-40,-22],[-48,-28],[-58,-38],[-66,-55],[-73,-50],[-72,-30],[-71,-18],[-81,-5],[-80,2]],
    [[-10,36],[-9,44],[-2,44],[-5,48],[2,51],[8,54],[8,57],[5,62],[15,69],[28,71],[40,67],[40,46],[28,41],[23,36],[12,38],[3,43]],
    [[-6,50],[2,51],[-2,56],[-5,58],[-6,55]],
    [[-17,15],[-17,21],[-10,30],[-6,36],[10,37],[32,31],[35,28],[43,12],[51,12],[40,-5],[40,-15],[35,-25],[20,-35],[17,-29],[12,-17],[13,-5],[9,4],[-8,5]],
    [[44,-13],[50,-15],[47,-25],[44,-22]],
    [[28,41],[40,46],[40,67],[60,70],[80,73],[110,77],[140,72],[180,68],[170,60],[160,55],[142,46],[135,35],[122,30],[120,22],[108,20],[106,10],[100,13],[98,8],[92,22],[80,15],[77,8],[72,21],[60,25],[57,23],[52,16],[43,12],[35,28],[36,36]],
    [[95,5],[105,-6],[120,-9],[140,-8],[150,-6],[140,-2],[120,1],[117,7],[110,2],[100,2]],
    [[130,31],[141,36],[142,45],[139,40]],
    [[114,-22],[122,-18],[130,-12],[137,-12],[142,-11],[146,-19],[153,-28],[150,-37],[140,-38],[132,-32],[116,-35],[114,-26]],
    [[172,-34],[178,-38],[174,-41],[167,-46],[171,-44]]
  ];
  const HUBS = [[-9,39],[-6,37],[5,43],[9,45],[16,48],[20,50],[29,41],[45,42],[67,40]];
  const inside = (x, y, ring) => {
    let hit = false;
    for (let i = 0, j = ring.length - 1; i < ring.length; j = i++) {
      const [xi, yi] = ring[i], [xj, yj] = ring[j];
      if ((yi > y) !== (yj > y) && x < ((xj - xi) * (y - yi)) / (yj - yi) + xi) hit = !hit;
    }
    return hit;
  };
  const dots = [];
  for (let lat = 80; lat >= -56; lat -= 2.6) {
    for (let lon = -170; lon <= 180; lon += 2.6) {
      if (LAND.some((ring) => inside(lon, lat, ring))) dots.push([lon, lat]);
    }
  }

  const still = matchMedia('(prefers-reduced-motion: reduce)');
  const CYCLE = 4.6, COUNT = 3.2;

  function setup(root) {
    const canvas = root.querySelector('.intro__map');
    const number = root.querySelector('.intro__number');
    const places = [...root.querySelectorAll('.intro__place')];
    const context = canvas.getContext('2d');
    const css = getComputedStyle(root);
    const faint = css.getPropertyValue('--on-night-faint').trim();
    const blue = css.getPropertyValue('--signal').trim();
    let frame = 0;

    const paint = (progress) => {
      const w = canvas.clientWidth, h = canvas.clientHeight;
      context.clearRect(0, 0, w, h);
      const px = (lon) => ((lon + 170) / 350) * w;
      const py = (lat) => ((80 - lat) / 136) * h;
      const r = Math.max(0.9, w / 900);
      context.fillStyle = faint;
      for (const [lon, lat] of dots) context.fillRect(px(lon) - r, py(lat) - r, r * 2, r * 2);
      const lit = Math.floor(progress * HUBS.length + 0.001);
      context.fillStyle = blue;
      HUBS.slice(0, lit).forEach(([lon, lat]) => context.fillRect(px(lon) - r * 2, py(lat) - r * 2, r * 4, r * 4));
      places.forEach((place, i) => place.classList.toggle('is-lit', i < lit));
      number.textContent = String(Math.round(progress * 100)).padStart(2, '0');
    };
    const fit = () => {
      const density = Math.min(2, devicePixelRatio || 1);
      canvas.width = canvas.clientWidth * density;
      canvas.height = canvas.clientHeight * density;
      context.setTransform(density, 0, 0, density, 0, 0);
      paint(1);
    };
    const tick = (now) => {
      const t = (now / 1000) % CYCLE;
      const p = Math.min(1, t / COUNT);
      paint(1 - Math.pow(1 - p, 2));
      frame = requestAnimationFrame(tick);
    };
    new ResizeObserver(fit).observe(canvas);
    new IntersectionObserver(([entry]) => {
      cancelAnimationFrame(frame);
      if (entry.isIntersecting && !still.matches) frame = requestAnimationFrame(tick);
      else paint(1);
    }).observe(root);
  }

  document.querySelectorAll('.intro').forEach(setup);
})();
</script>

Night globe hero

The top bar with wordmark, mono menu and white pill, over a black field with a turning dotted globe, glowing route arcs and a blue rim, plus the wide caps headline and two pills.

Code React For Figma
<section class="hero">
  <canvas class="hero__globe" role="img" aria-label="A dotted globe turning slowly, with orange route arcs rising between stops"></canvas>

  <p class="hero__news"><span class="hero__news-label">Notice:</span> Winter timetable from 1 December. Night coaches add two stops on the Danube line.</p>

  <header class="hero__bar">
    <a class="hero__mark" href="#"><svg class="hero__glyph" viewBox="0 0 24 24" aria-hidden="true"><circle cx="4" cy="18" r="3"/><circle cx="20" cy="6" r="3"/><path d="M4 18 C 6 6, 14 4, 20 6" fill="none" stroke-width="2"/></svg><span class="hero__name">Merrow Overland</span></a>
    <button class="hero__toggle" type="button" aria-expanded="false" aria-controls="hero-menu">Menu</button>
    <nav class="hero__menu" id="hero-menu" aria-label="Main">
      <a class="hero__link" href="#">Routes</a>
      <a class="hero__link" href="#">Timetables</a>
      <a class="hero__link" href="#">Charter</a>
      <a class="hero__link" href="#">Journal</a>
      <a class="hero__link" href="#">Careers</a>
      <a class="hero__link" href="#">Contact</a>
    </nav>
    <a class="hero__pill hero__pill--white hero__book" href="#">Book a seat</a>
  </header>

  <div class="hero__copy">
    <p class="hero__kicker">One ticket</p>
    <h1 class="hero__title">Every road across the continent</h1>
    <p class="hero__lead">Night coaches, day express and charter, from the Atlantic coast to the Silk Road, run by one crew that answers the phone.</p>
    <div class="hero__actions">
      <a class="hero__pill hero__pill--white" href="#">Plan a trip</a>
      <a class="hero__pill" href="#">Our routes</a>
    </div>
  </div>
</section>

<style>
  .hero {
    position: relative;
    display: grid;
    grid-template-rows: auto auto 1fr;
    min-height: clamp(640px, 62vw, 900px);
    background: var(--night);
    color: var(--on-night);
    overflow: hidden;
    isolation: isolate;
  }
  .hero__globe {
    position: absolute;
    z-index: -1;
    top: -12%;
    right: -18%;
    width: min(1100px, 92%);
    aspect-ratio: 1;
  }
  .hero__news {
    margin: 0;
    padding: var(--space-s) var(--edge);
    font-family: var(--font-mono);
    font-size: 8.5px;
    line-height: 1.4;
    text-transform: uppercase;
    color: var(--on-night-soft);
  }
  .hero__news-label { color: var(--on-night); }
  .hero__bar {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: start;
    gap: var(--gap);
    padding: var(--space-m) var(--edge);
  }
  .hero__mark {
    display: inline-flex;
    align-items: center;
    gap: var(--space-s);
    min-height: var(--tap);
    color: inherit;
    text-decoration: none;
    font-family: var(--font-display);
    font-variation-settings: "wdth" var(--display-width);
    font-size: 15px;
    font-weight: 700;
    text-transform: uppercase;
  }
  .hero__glyph {
    width: 18px;
    height: 18px;
    fill: var(--signal);
    stroke: var(--on-night);
  }
  .hero__toggle,
  .hero__pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: var(--tap);
    padding: 0 var(--space-m);
    border: var(--rule) solid var(--on-night-faint);
    border-radius: var(--pill);
    background: transparent;
    color: var(--on-night);
    font-family: var(--font-mono);
    font-size: var(--text-xs);
    text-transform: uppercase;
    text-decoration: none;
    cursor: pointer;
    transition: background-color var(--mid) var(--ease), color var(--mid) var(--ease), border-color var(--mid) var(--ease);
  }
  .hero__pill:hover,
  .hero__toggle:hover,
  .hero__pill:focus-visible,
  .hero__toggle:focus-visible {
    background: var(--on-night);
    border-color: var(--on-night);
    color: var(--ink);
    outline: none;
  }
  .hero__pill--white {
    background: var(--on-night);
    border-color: var(--on-night);
    color: var(--ink);
  }
  .hero__pill--white:hover,
  .hero__pill--white:focus-visible {
    background: var(--signal);
    border-color: var(--signal);
    color: var(--on-night);
  }
  .hero__menu {
    grid-column: 1 / -1;
    display: none;
    flex-direction: column;
    padding: var(--space-s) 0 var(--space-m);
    border-top: var(--rule) solid var(--line-dark);
  }
  .hero.is-open .hero__menu { display: flex; }
  .hero__link {
    display: flex;
    align-items: center;
    min-height: var(--tap);
    color: var(--on-night);
    font-family: var(--font-mono);
    font-size: var(--text-xs);
    text-transform: uppercase;
    text-decoration: none;
    transition: color var(--quick) var(--ease);
  }
  .hero__link:hover,
  .hero__link:focus-visible { color: var(--signal-light); outline: none; }
  .hero__book { display: none; }

  .hero__copy {
    align-self: end;
    display: grid;
    gap: var(--space-m);
    justify-items: start;
    padding: var(--space-xl) var(--edge) var(--space-xl);
    max-width: 640px;
  }
  .hero__kicker {
    margin: 0;
    font-family: var(--font-display);
    font-variation-settings: "wdth" var(--display-width);
    font-size: var(--text-s);
    font-weight: 600;
    text-transform: uppercase;
  }
  .hero__title {
    margin: 0;
    font-family: var(--font-display);
    font-variation-settings: "wdth" var(--display-width);
    font-size: var(--display-l);
    font-weight: 700;
    line-height: 0.98;
    letter-spacing: -0.01em;
    text-transform: uppercase;
    text-wrap: balance;
  }
  .hero__lead {
    max-width: 30ch;
    margin: 0;
    font-size: var(--text-s);
    line-height: 1.35;
    color: var(--on-night-soft);
  }
  .hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-s);
    padding-top: var(--space-m);
  }

  @media (min-width: 760px) {
    .hero__bar {
      grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto;
    }
    .hero__toggle { display: none; }
    .hero__menu {
      grid-column: auto;
      display: flex;
      padding: 0;
      border: 0;
    }
    .hero__menu { padding-block: 11px; }
    .hero__link { margin-block: -11px; }
    .hero__book { display: inline-flex; }
    .hero__copy {
      padding-left: calc(var(--edge) + (100% - 2 * var(--edge)) / 4);
      max-width: none;
    }
    .hero__lead { max-width: 34ch; }
    .hero__title { max-width: 9.5em; }
  }
  @media (max-width: 759px) {
    .hero__globe {
      top: 18%;
      right: -40%;
      width: 130%;
    }
  }
</style>

<script>
(() => {
  const LAND = [
    [[-168,66],[-140,70],[-95,72],[-80,63],[-62,58],[-55,50],[-66,44],[-76,35],[-81,25],[-97,26],[-97,20],[-87,15],[-78,8],[-85,10],[-105,20],[-117,32],[-124,40],[-124,48],[-135,58],[-150,60],[-165,60]],
    [[-50,60],[-20,70],[-20,82],[-60,82],[-70,76],[-55,70]],
    [[-78,8],[-60,10],[-50,0],[-35,-6],[-40,-22],[-48,-28],[-58,-38],[-66,-55],[-73,-50],[-72,-30],[-71,-18],[-81,-5],[-80,2]],
    [[-10,36],[-9,44],[-2,44],[-5,48],[2,51],[8,54],[8,57],[5,62],[15,69],[28,71],[40,67],[40,46],[28,41],[23,36],[12,38],[3,43]],
    [[-6,50],[2,51],[-2,56],[-5,58],[-6,55]],
    [[-17,15],[-17,21],[-10,30],[-6,36],[10,37],[32,31],[35,28],[43,12],[51,12],[40,-5],[40,-15],[35,-25],[20,-35],[17,-29],[12,-17],[13,-5],[9,4],[-8,5]],
    [[44,-13],[50,-15],[47,-25],[44,-22]],
    [[28,41],[40,46],[40,67],[60,70],[80,73],[110,77],[140,72],[180,68],[170,60],[160,55],[142,46],[135,35],[122,30],[120,22],[108,20],[106,10],[100,13],[98,8],[92,22],[80,15],[77,8],[72,21],[60,25],[57,23],[52,16],[43,12],[35,28],[36,36]],
    [[95,5],[105,-6],[120,-9],[140,-8],[150,-6],[140,-2],[120,1],[117,7],[110,2],[100,2]],
    [[130,31],[141,36],[142,45],[139,40]],
    [[114,-22],[122,-18],[130,-12],[137,-12],[142,-11],[146,-19],[153,-28],[150,-37],[140,-38],[132,-32],[116,-35],[114,-26]],
    [[172,-34],[178,-38],[174,-41],[167,-46],[171,-44]]
  ];
  const ROUTES = [[[-9,39],[16,48]],[[5,43],[29,41]],[[20,50],[45,42]],[[29,41],[67,40]],[[-6,37],[9,45]],[[16,48],[37,56]]];
  const inside = (x, y, ring) => {
    let hit = false;
    for (let i = 0, j = ring.length - 1; i < ring.length; j = i++) {
      const [xi, yi] = ring[i], [xj, yj] = ring[j];
      if ((yi > y) !== (yj > y) && x < ((xj - xi) * (y - yi)) / (yj - yi) + xi) hit = !hit;
    }
    return hit;
  };
  const RAD = Math.PI / 180;
  const vec = ([lon, lat]) => [Math.cos(lat * RAD) * Math.sin(lon * RAD), Math.sin(lat * RAD), Math.cos(lat * RAD) * Math.cos(lon * RAD)];
  const dots = [];
  for (let lat = -80; lat <= 82; lat += 2.2) {
    const step = 2.2 / Math.max(0.2, Math.cos(lat * RAD));
    for (let lon = -180; lon < 180; lon += step) {
      if (LAND.some((ring) => inside(lon, lat, ring))) dots.push(vec([lon, lat]));
    }
  }
  const still = matchMedia('(prefers-reduced-motion: reduce)');

  function setup(root) {
    const canvas = root.querySelector('.hero__globe');
    const context = canvas.getContext('2d');
    const css = getComputedStyle(root);
    const white = css.getPropertyValue('--on-night').trim();
    const route = css.getPropertyValue('--route').trim();
    const rim = css.getPropertyValue('--rim').trim();
    const night = css.getPropertyValue('--night').trim();
    const tilt = 24 * RAD;
    let frame = 0;

    const turn = ([x, y, z], spin) => {
      const cx = Math.cos(spin), sx = Math.sin(spin);
      const x1 = x * cx - z * sx, z1 = x * sx + z * cx;
      const ct = Math.cos(tilt), st = Math.sin(tilt);
      return [x1, y * ct - z1 * st, y * st + z1 * ct];
    };

    const paint = (seconds) => {
      const size = canvas.clientWidth;
      const c = size / 2, r = size * 0.4;
      const spin = 18 * RAD + seconds * 0.05;
      context.clearRect(0, 0, size, size);

      const glow = context.createRadialGradient(c, c, r * 0.9, c, c, r * 1.22);
      glow.addColorStop(0, rim);
      glow.addColorStop(0.25, rim + '88');
      glow.addColorStop(1, 'transparent');
      context.fillStyle = glow;
      context.fillRect(0, 0, size, size);
      const flare = context.createRadialGradient(c - r * 0.6, c - r * 0.6, 0, c - r * 0.6, c - r * 0.6, r * 0.5);
      flare.addColorStop(0, route + 'aa');
      flare.addColorStop(1, 'transparent');
      context.fillStyle = flare;
      context.fillRect(0, 0, size, size);
      context.beginPath();
      context.arc(c, c, r, 0, Math.PI * 2);
      context.fillStyle = night;
      context.fill();

      context.fillStyle = white;
      for (const dot of dots) {
        const [x, y, z] = turn(dot, spin);
        if (z < 0) continue;
        context.globalAlpha = 0.15 + z * 0.75;
        const s = 0.6 + z * 1.1;
        context.fillRect(c + x * r - s / 2, c - y * r - s / 2, s, s);
      }
      context.globalAlpha = 1;

      context.strokeStyle = route;
      context.fillStyle = route;
      context.lineWidth = Math.max(1, size / 700);
      context.shadowColor = route;
      context.shadowBlur = 10;
      ROUTES.forEach(([from, to], i) => {
        const phase = ((seconds / 2.4) + i / ROUTES.length) % 1;
        const grow = Math.min(1, phase * 1.6);
        const fade = phase > 0.75 ? 1 - (phase - 0.75) / 0.25 : 1;
        const a = vec(from), b = vec(to);
        context.globalAlpha = fade;
        context.beginPath();
        let started = false, last = null;
        for (let k = 0; k <= 40 * grow; k++) {
          const t = k / 40;
          const lift = 1 + Math.sin(Math.PI * t) * 0.18;
          const m = [a[0] + (b[0] - a[0]) * t, a[1] + (b[1] - a[1]) * t, a[2] + (b[2] - a[2]) * t];
          const len = Math.hypot(...m);
          const [x, y, z] = turn(m.map((v) => (v / len) * lift), spin);
          if (z < -0.1) { started = false; continue; }
          const px = c + x * r, py = c - y * r;
          if (started) context.lineTo(px, py); else context.moveTo(px, py);
          started = true;
          last = [px, py];
        }
        context.stroke();
        if (last) { context.beginPath(); context.arc(last[0], last[1], 2.5, 0, Math.PI * 2); context.fill(); }
      });
      context.globalAlpha = 1;
      context.shadowBlur = 0;
    };

    const fit = () => {
      const density = Math.min(2, devicePixelRatio || 1);
      canvas.width = canvas.clientWidth * density;
      canvas.height = canvas.clientHeight * density;
      context.setTransform(density, 0, 0, density, 0, 0);
      paint(performance.now() / 1000);
    };
    const tick = (now) => {
      paint(now / 1000);
      frame = requestAnimationFrame(tick);
    };
    new ResizeObserver(fit).observe(canvas);
    new IntersectionObserver(([entry]) => {
      cancelAnimationFrame(frame);
      if (entry.isIntersecting && !still.matches) frame = requestAnimationFrame(tick);
    }).observe(root);

    const toggle = root.querySelector('.hero__toggle');
    const close = () => { root.classList.remove('is-open'); toggle.setAttribute('aria-expanded', 'false'); };
    toggle.addEventListener('click', () => {
      const open = !root.classList.contains('is-open');
      root.classList.toggle('is-open', open);
      toggle.setAttribute('aria-expanded', String(open));
    });
    root.addEventListener('keydown', (event) => {
      if (event.key === 'Escape' && root.classList.contains('is-open')) { close(); toggle.focus(); }
    });
    root.querySelectorAll('.hero__link').forEach((link) => link.addEventListener('click', close));
  }

  document.querySelectorAll('.hero').forEach(setup);
})();
</script>

Read-through statement and figures

A wide caps statement that fills word by word from grey to black with a blue tail, a small photo tile, two short paragraphs, a pill and big figures on hairlines.

Code React For Figma
<section class="statement">
  <div class="statement__left">
    <img class="statement__photo" src="assets/cloverleaf.jpg" alt="A motorway cloverleaf seen from the air, lined with warehouses" width="800" height="600" loading="lazy">
    <h2 class="statement__title">
      <span class="statement__word">We</span> <span class="statement__word">drive</span> <span class="statement__word">the</span> <span class="statement__word">night.</span>
      <span class="statement__word">You</span> <span class="statement__word">wake</span> <span class="statement__word statement__word--tail">up</span> <span class="statement__word statement__word--tail">there.</span>
    </h2>
  </div>

  <div class="statement__right">
    <div class="statement__text">
      <p>Every route, every driver and every seat sits with one company, so a delay in Vienna is our problem, not a gap between two operators.</p>
      <p>That means one booking, one helpline and one crew. <span class="statement__blue">Just one coach, from the first stop to the last.</span></p>
      <a class="statement__pill" href="#">More about us</a>
    </div>

    <p class="statement__caption">Counted at the end of every season</p>
    <dl class="statement__figures">
      <div class="statement__figure">
        <dt class="statement__label">Seats sold each week</dt>
        <dd class="statement__number" data-value="3400" data-suffix="+">3,400+</dd>
      </div>
      <div class="statement__figure">
        <dt class="statement__label">On-time departures</dt>
        <dd class="statement__number" data-value="97.6" data-suffix="%">97.6%</dd>
      </div>
      <div class="statement__figure">
        <dt class="statement__label">Years on the road</dt>
        <dd class="statement__number" data-value="11" data-suffix="+">11+</dd>
      </div>
    </dl>
  </div>
</section>

<style>
  .statement {
    display: grid;
    gap: var(--space-xl) var(--gap);
    padding: var(--section-space) var(--edge);
    background: var(--paper);
    color: var(--ink);
  }
  .statement__left {
    display: grid;
    align-content: start;
    gap: var(--space-xl);
  }
  .statement__photo {
    width: clamp(140px, 13vw, 190px);
    aspect-ratio: 3 / 2;
    height: auto;
    object-fit: cover;
    border-radius: var(--radius-s);
  }
  .statement__title {
    margin: 0;
    font-family: var(--font-display);
    font-variation-settings: "wdth" var(--display-width);
    font-size: var(--display-m);
    font-weight: 700;
    line-height: 0.98;
    letter-spacing: -0.01em;
    text-transform: uppercase;
    max-width: 9em;
  }
  .statement__word {
    color: var(--ink-soft);
    transition: color var(--quick) var(--ease);
  }
  .statement__word.is-read { color: var(--ink); }
  .statement__word--tail.is-read {
    background: linear-gradient(90deg, var(--signal), var(--signal-light));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
  }
  .statement__right {
    display: grid;
    align-content: start;
    gap: var(--space-l);
  }
  .statement__text {
    display: grid;
    gap: var(--space-m);
    justify-items: start;
    max-width: 30em;
    font-size: var(--text-m);
    line-height: 1.35;
    color: var(--ink);
  }
  .statement__text p { margin: 0; }
  .statement__blue {
    background: linear-gradient(90deg, var(--signal), var(--signal-light));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
  }
  .statement__pill {
    display: inline-flex;
    align-items: center;
    min-height: var(--tap);
    margin-top: var(--space-s);
    padding: 0 var(--space-m);
    border: var(--rule) solid var(--line-light);
    border-radius: var(--pill);
    color: var(--ink);
    font-family: var(--font-mono);
    font-size: var(--text-xs);
    text-transform: uppercase;
    text-decoration: none;
    transition: background-color var(--mid) var(--ease), color var(--mid) var(--ease), border-color var(--mid) var(--ease);
  }
  .statement__pill:hover,
  .statement__pill:focus-visible {
    background: var(--ink);
    border-color: var(--ink);
    color: var(--paper);
    outline: none;
  }
  .statement__caption {
    margin: var(--space-l) 0 0;
    padding-bottom: var(--space-s);
    border-bottom: var(--rule) solid var(--line-light);
    font-size: 11.5px;
    color: var(--ink-mid);
  }
  .statement__figures {
    display: grid;
    margin: 0;
  }
  .statement__figure {
    display: flex;
    flex-direction: column-reverse;
    gap: var(--space-xs);
    padding: var(--space-m) 0 var(--space-l);
    border-bottom: var(--rule) solid var(--line-light);
  }
  .statement__number {
    margin: 0;
    font-family: var(--font-body);
    font-size: var(--stat);
    font-weight: 600;
    line-height: 1;
    letter-spacing: -0.04em;
    font-variant-numeric: tabular-nums;
  }
  .statement__label {
    font-size: var(--text-s);
    color: var(--ink-mid);
  }

  @media (min-width: 820px) {
    .statement {
      grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    }
    .statement__left {
      position: sticky;
      top: var(--space-l);
      align-self: start;
    }
    .statement__right {
      padding-left: calc((100% - var(--gap)) / 4);
    }
  }
</style>

<script>
(() => {
  const still = matchMedia('(prefers-reduced-motion: reduce)');
  function setup(root) {
    const words = [...root.querySelectorAll('.statement__word')];
    const title = root.querySelector('.statement__title');
    const update = () => {
      if (still.matches) { words.forEach((w) => w.classList.add('is-read')); return; }
      const box = title.getBoundingClientRect();
      const view = innerHeight;
      const progress = Math.min(1, Math.max(0, (view - box.top) / (view * 0.9)));
      const count = Math.round(progress * words.length);
      words.forEach((word, i) => word.classList.toggle('is-read', i < count));
    };
    let pending = false;
    const onScroll = () => {
      if (pending) return;
      pending = true;
      requestAnimationFrame(() => { pending = false; update(); });
    };
    new IntersectionObserver(([entry]) => {
      if (entry.isIntersecting) { addEventListener('scroll', onScroll, { passive: true }); update(); }
      else removeEventListener('scroll', onScroll);
    }).observe(root);
    addEventListener('resize', onScroll);
    update();

    const numbers = [...root.querySelectorAll('.statement__number')];
    const format = (value, decimals) => value.toLocaleString('en-US', { minimumFractionDigits: decimals, maximumFractionDigits: decimals });
    const count = (el) => {
      const target = parseFloat(el.dataset.value);
      const decimals = (el.dataset.value.split('.')[1] || '').length;
      const suffix = el.dataset.suffix || '';
      const start = performance.now();
      const step = (now) => {
        const t = Math.min(1, (now - start) / 1400);
        const eased = 1 - Math.pow(1 - t, 4);
        el.textContent = format(target * eased, decimals) + suffix;
        if (t < 1) requestAnimationFrame(step);
      };
      requestAnimationFrame(step);
    };
    if (!still.matches) {
      const seen = new IntersectionObserver((entries) => {
        for (const entry of entries) {
          if (!entry.isIntersecting) continue;
          count(entry.target);
          seen.unobserve(entry.target);
        }
      }, { threshold: 0.4 });
      numbers.forEach((n) => seen.observe(n));
    }
  }
  document.querySelectorAll('.statement').forEach(setup);
})();
</script>

Road band

A white stage with a giant pale word sliding behind a drawn coach that rolls over a black road band, a km/h readout and a dark headline block beneath.

Code React For Figma
<section class="road">
  <div class="road__stage">
    <p class="road__readout"><span class="road__speed">00</span> km/h</p>
    <p class="road__ghost" aria-hidden="true">On the road</p>
    <svg class="road__coach" viewBox="0 0 600 176" role="img" aria-label="A long-distance coach seen from the side">
      <path class="road__body" d="M24 10 H556 Q582 10 586 36 L592 122 Q593 146 570 146 H24 Q10 146 10 132 V24 Q10 10 24 10 Z"/>
      <rect class="road__skirt" x="10" y="118" width="582" height="28" rx="6"/>
      <rect class="road__glass" x="36" y="24" width="462" height="52" rx="4"/>
      <g class="road__pillars">
        <rect x="126" y="24" width="5" height="52"/>
        <rect x="222" y="24" width="5" height="52"/>
        <rect x="318" y="24" width="5" height="52"/>
        <rect x="414" y="24" width="5" height="52"/>
      </g>
      <path class="road__glass" d="M512 22 H566 Q578 22 580 36 L585 84 H512 Z"/>
      <rect class="road__stripe" x="10" y="90" width="502" height="5"/>
      <rect class="road__door" x="514" y="90" width="34" height="54" rx="2"/>
      <path class="road__seam" d="M200 100 V140 M330 100 V140 M60 100 V140"/>
      <circle class="road__arch" cx="128" cy="146" r="31"/>
      <circle class="road__arch" cx="448" cy="146" r="31"/>
      <g class="road__wheel">
        <circle class="road__tyre" cx="128" cy="146" r="25"/>
        <circle class="road__hub" cx="128" cy="146" r="12"/>
        <path class="road__spoke" d="M128 136 V156 M118 146 H138"/>
      </g>
      <g class="road__wheel">
        <circle class="road__tyre" cx="448" cy="146" r="25"/>
        <circle class="road__hub" cx="448" cy="146" r="12"/>
        <path class="road__spoke" d="M448 136 V156 M438 146 H458"/>
      </g>
    </svg>
  </div>

  <div class="road__panel">
    <h2 class="road__title">Everything a long trip needs. <span class="road__dim">Under one ticket.</span></h2>
    <div class="road__side">
      <p class="road__text">From the night coach to the border desk, from the seat you pick to the bag in the hold, one crew plans the whole way and stays on the line until you arrive.</p>
      <a class="road__pill" href="#">Our services</a>
    </div>
  </div>
</section>

<style>
  .road {
    background: var(--paper);
    color: var(--ink);
    overflow: hidden;
  }
  .road__stage {
    position: relative;
    height: clamp(260px, 34vw, 480px);
    border-bottom: clamp(28px, 4vw, 56px) solid var(--panel);
  }
  .road__readout {
    position: absolute;
    top: var(--space-l);
    left: var(--edge);
    margin: 0;
    font-family: var(--font-mono);
    font-size: 8.5px;
    text-transform: uppercase;
    color: var(--ink-mid);
    font-variant-numeric: tabular-nums;
  }
  .road__ghost {
    position: absolute;
    bottom: -0.12em;
    left: 0;
    margin: 0;
    font-family: var(--font-display);
    font-variation-settings: "wdth" var(--display-width);
    font-size: var(--ghost-size);
    font-weight: 700;
    line-height: 1;
    text-transform: uppercase;
    white-space: nowrap;
    color: var(--ghost);
    transform: translateX(var(--ghost-x, 10%));
    will-change: transform;
  }
  .road__coach {
    position: absolute;
    bottom: -2px;
    left: 0;
    width: clamp(240px, 40vw, 580px);
    height: auto;
    transform: translateX(var(--coach-x, 30vw));
    will-change: transform;
  }
  .road__body { fill: var(--paper); stroke: var(--ink-soft); stroke-width: 1.5; }
  .road__skirt { fill: var(--lane); }
  .road__glass { fill: var(--panel); }
  .road__pillars { fill: var(--paper); }
  .road__stripe { fill: var(--signal); }
  .road__door { fill: none; stroke: var(--ink-soft); stroke-width: 1.5; }
  .road__seam { fill: none; stroke: var(--ink-soft); stroke-width: 1; }
  .road__arch { fill: var(--panel); }
  .road__tyre { fill: var(--ink); }
  .road__hub { fill: var(--lane); }
  .road__spoke { stroke: var(--ink); stroke-width: 3; }
  .road__wheel {
    transform-box: fill-box;
    transform-origin: center;
  }

  .road__panel {
    display: grid;
    gap: var(--space-l) var(--gap);
    padding: var(--space-xl) var(--edge) var(--section-space);
    background: var(--panel);
    color: var(--on-night);
  }
  .road__title {
    margin: 0;
    font-family: var(--font-display);
    font-variation-settings: "wdth" var(--display-width);
    font-size: clamp(26px, 3.2vw, 46px);
    font-weight: 700;
    line-height: 1;
    letter-spacing: -0.01em;
    text-transform: uppercase;
    max-width: 14em;
  }
  .road__dim { color: var(--on-night-faint); }
  .road__side {
    display: grid;
    gap: var(--space-l);
    justify-items: start;
    max-width: 30em;
  }
  .road__text {
    margin: 0;
    font-size: var(--text-s);
    line-height: 1.4;
    color: var(--on-night-soft);
  }
  .road__pill {
    display: inline-flex;
    align-items: center;
    min-height: var(--tap);
    padding: 0 var(--space-m);
    border: var(--rule) solid var(--on-night-faint);
    border-radius: var(--pill);
    color: var(--on-night);
    font-family: var(--font-mono);
    font-size: var(--text-xs);
    text-transform: uppercase;
    text-decoration: none;
    transition: background-color var(--mid) var(--ease), color var(--mid) var(--ease);
  }
  .road__pill:hover,
  .road__pill:focus-visible {
    background: var(--on-night);
    color: var(--ink);
    outline: none;
  }

  @media (min-width: 820px) {
    .road__panel {
      grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 0.9fr);
    }
    .road__title { grid-column: 2; }
    .road__side { grid-column: 3; align-self: start; }
  }
</style>

<script>
(() => {
  const still = matchMedia('(prefers-reduced-motion: reduce)');
  function setup(root) {
    const stage = root.querySelector('.road__stage');
    const coach = root.querySelector('.road__coach');
    const ghost = root.querySelector('.road__ghost');
    const speed = root.querySelector('.road__speed');
    const wheels = [...root.querySelectorAll('.road__wheel')];
    let last = null, shown = 0, frame = 0, active = false;

    const progress = () => {
      const box = root.getBoundingClientRect();
      return Math.min(1, Math.max(0, (innerHeight - box.top) / (innerHeight + box.height)));
    };
    const place = (p) => {
      const width = stage.clientWidth;
      const room = width - coach.clientWidth;
      const x = Math.min(room + coach.clientWidth * 0.2, Math.max(-coach.clientWidth * 0.3, (p * 1.5 - 0.35) * room));
      stage.style.setProperty('--coach-x', x.toFixed(1) + 'px');
      stage.style.setProperty('--ghost-x', ((0.25 - p * 0.6) * width).toFixed(1) + 'px');
      const turn = (x / (coach.clientWidth * 0.085)) * 57.3;
      wheels.forEach((wheel) => { wheel.style.transform = `rotate(${turn.toFixed(1)}deg)`; });
      return x;
    };
    const tick = () => {
      const x = place(progress());
      const moved = last === null ? 0 : Math.abs(x - last);
      last = x;
      shown += (Math.min(99, moved * 1.6) - shown) * 0.12;
      speed.textContent = String(Math.round(shown)).padStart(2, '0');
      if (active) frame = requestAnimationFrame(tick);
    };

    if (still.matches) { place(0.5); return; }
    new IntersectionObserver(([entry]) => {
      active = entry.isIntersecting;
      cancelAnimationFrame(frame);
      if (active) frame = requestAnimationFrame(tick);
    }).observe(root);
    place(progress());
  }
  document.querySelectorAll('.road').forEach(setup);
})();
</script>

Dark service columns

Six columns on a black panel split by hairlines, each with a pixel icon, a wide caps name and a short grey text with a blue tail.

Code React For Figma
<section class="services">
  <div class="services__head">
    <p class="services__label">Services</p>
    <h2 class="services__title">Six ways across</h2>
  </div>

  <ul class="services__grid">
    <li class="services__item">
      <a class="services__link" href="#">
        <svg class="services__icon" viewBox="0 0 12 12" aria-hidden="true" data-pixels="............|.##########.|.#..#..#..#.|.#..#..#..#.|.##########.|.##########.|.##########.|..##....##..|..##....##..|............"></svg>
        <span class="services__name">Night coaches</span>
        <span class="services__text">Reclining seats, dimmed cabins and one quiet stop at midnight. Sleep in one capital, <span class="services__tail">wake in the next.</span></span>
      </a>
    </li>
    <li class="services__item">
      <a class="services__link" href="#">
        <svg class="services__icon" viewBox="0 0 12 12" aria-hidden="true" data-pixels="............|.....##.....|....####....|...######...|.....##.....|.....##.....|.....##.....|.....##.....|..########..|............"></svg>
        <span class="services__name">Day express</span>
        <span class="services__text">Fewer stops, faster lanes and a window seat for the mountains. Timed to <span class="services__tail">meet the last trains.</span></span>
      </a>
    </li>
    <li class="services__item">
      <a class="services__link" href="#">
        <svg class="services__icon" viewBox="0 0 12 12" aria-hidden="true" data-pixels="............|..########..|..#......#..|..#.####.#..|..#......#..|..#.####.#..|..#......#..|..########..|....#..#....|...##..##..."></svg>
        <span class="services__name">Charter fleet</span>
        <span class="services__text">A whole coach for a choir, a team or a wedding. Your route, your hours, <span class="services__tail">our drivers.</span></span>
      </a>
    </li>
    <li class="services__item">
      <a class="services__link" href="#">
        <svg class="services__icon" viewBox="0 0 12 12" aria-hidden="true" data-pixels="............|....####....|....#..#....|.##########.|.#........#.|.##########.|.#........#.|.#........#.|.##########.|............"></svg>
        <span class="services__name">Parcel hold</span>
        <span class="services__text">Boxes ride under the seats on every line, with a slip you can follow <span class="services__tail">stop by stop.</span></span>
      </a>
    </li>
    <li class="services__item">
      <a class="services__link" href="#">
        <svg class="services__icon" viewBox="0 0 12 12" aria-hidden="true" data-pixels="............|.##########.|.#........#.|.#.##..##.#.|.#........#.|.#.######.#.|.#........#.|.##########.|.....##.....|....####...."></svg>
        <span class="services__name">Border desk</span>
        <span class="services__text">Visas, transit papers and passport checks handled before you board, <span class="services__tail">not at the barrier.</span></span>
      </a>
    </li>
    <li class="services__item">
      <a class="services__link" href="#">
        <svg class="services__icon" viewBox="0 0 12 12" aria-hidden="true" data-pixels="............|....####....|...#....#...|..#..##..#..|..#.#..#.#..|..#..##..#..|...#....#...|....#..#....|.....##.....|............"></svg>
        <span class="services__name">Route planning</span>
        <span class="services__text">Tell us where and when. We stitch the legs, hold the seats and <span class="services__tail">send one ticket.</span></span>
      </a>
    </li>
  </ul>

  <a class="services__pill" href="#">All services</a>
</section>

<style>
  .services {
    display: grid;
    gap: var(--space-xl);
    padding: var(--section-space) var(--edge);
    background: var(--panel);
    color: var(--on-night);
  }
  .services__head {
    display: grid;
    gap: var(--space-s);
  }
  .services__label {
    margin: 0;
    font-family: var(--font-mono);
    font-size: var(--text-xs);
    text-transform: uppercase;
    color: var(--on-night-soft);
  }
  .services__title {
    margin: 0;
    font-family: var(--font-display);
    font-variation-settings: "wdth" var(--display-width);
    font-size: var(--display-m);
    font-weight: 700;
    line-height: 1;
    text-transform: uppercase;
  }
  .services__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr));
    margin: 0;
    padding: 0;
    list-style: none;
  }
  .services__item {
    border-left: var(--rule) solid var(--line-dark);
  }
  .services__link {
    display: grid;
    align-content: start;
    gap: var(--space-m);
    height: 100%;
    padding: var(--space-m) var(--gap) var(--space-l);
    color: inherit;
    text-decoration: none;
    transition: background-color var(--mid) var(--ease);
  }
  .services__link:hover,
  .services__link:focus-visible {
    background: var(--line-dark);
    outline: none;
  }
  .services__icon {
    width: 30px;
    height: 30px;
    margin-bottom: var(--space-s);
    fill: var(--on-night);
    shape-rendering: crispEdges;
    transition: fill var(--quick) var(--ease), transform var(--slow) var(--ease-out);
  }
  .services__link:hover .services__icon,
  .services__link:focus-visible .services__icon {
    fill: var(--signal-light);
    transform: translateY(-4px);
  }
  .services__name {
    font-family: var(--font-display);
    font-variation-settings: "wdth" var(--display-width);
    font-size: var(--display-s);
    font-weight: 700;
    line-height: 1.05;
    text-transform: uppercase;
    max-width: 8em;
  }
  .services__text {
    font-size: 11.5px;
    line-height: 1.35;
    color: var(--on-night-soft);
    max-width: 26em;
  }
  .services__tail {
    background: linear-gradient(90deg, var(--signal-light), var(--signal));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
  }
  .services__pill {
    justify-self: center;
    display: inline-flex;
    align-items: center;
    min-height: var(--tap);
    padding: 0 var(--space-m);
    border: var(--rule) solid var(--on-night-faint);
    border-radius: var(--pill);
    color: var(--on-night);
    font-family: var(--font-mono);
    font-size: var(--text-xs);
    text-transform: uppercase;
    text-decoration: none;
    transition: background-color var(--mid) var(--ease), color var(--mid) var(--ease);
  }
  .services__pill:hover,
  .services__pill:focus-visible {
    background: var(--on-night);
    color: var(--ink);
    outline: none;
  }
  @media (min-width: 1100px) {
    .services__grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  }
</style>

<script>
(() => {
  const NS = 'http://www.w3.org/2000/svg';
  for (const root of document.querySelectorAll('.services')) {
    for (const icon of root.querySelectorAll('.services__icon[data-pixels]')) {
      const rows = icon.dataset.pixels.split('|');
      const top = Math.floor((12 - rows.length) / 2);
      let d = '';
      rows.forEach((row, y) => {
        [...row].forEach((cell, x) => { if (cell === '#') d += `M${x} ${y + top}h1v1h-1z`; });
      });
      const path = document.createElementNS(NS, 'path');
      path.setAttribute('d', d);
      icon.appendChild(path);
    }
  }
})();
</script>

Route notes

Article cards with treated photographs, mono tags and dates, and a headline in wide caps with a small grey lead.

Code React For Figma
<section class="insights">
  <div class="insights__head">
    <h2 class="insights__title">What's changing on the road</h2>
    <div class="insights__side">
      <p class="insights__lead">Notes from the timetable office on new lines, border rules and the seasons that shape a long trip.</p>
      <a class="insights__pill" href="#">All notes</a>
    </div>
  </div>

  <ul class="insights__grid">
    <li class="insights__card">
      <a class="insights__link" href="#">
        <span class="insights__frame"><img class="insights__photo" src="assets/red-desert.jpg" alt="A two-lane road curving between red sandstone hills" width="800" height="495" loading="lazy"></span>
        <span class="insights__meta"><span class="insights__tag">Routes</span><time class="insights__date" datetime="2026-11-04">04.11.26</time></span>
        <span class="insights__name">A southern loop for the winter: three new desert stops</span>
      </a>
    </li>
    <li class="insights__card">
      <a class="insights__link" href="#">
        <span class="insights__frame"><img class="insights__photo" src="assets/hill-pass.jpg" alt="A wet road climbing through a green forest pass, with orange road signs" width="800" height="600" loading="lazy"></span>
        <span class="insights__meta"><span class="insights__tag">Drivers</span><time class="insights__date" datetime="2026-10-21">21.10.26</time></span>
        <span class="insights__name">How we plan rest stops on the long mountain legs</span>
      </a>
    </li>
    <li class="insights__card">
      <a class="insights__link" href="#">
        <span class="insights__frame"><img class="insights__photo" src="assets/mountain-pass.jpg" alt="An old tinted print of red mountains mirrored in a lake" width="800" height="620" loading="lazy"></span>
        <span class="insights__meta"><span class="insights__tag">Archive</span><time class="insights__date" datetime="2026-10-02">02.10.26</time></span>
        <span class="insights__name">The pass road in 1901, and what still takes six hours</span>
      </a>
    </li>
  </ul>
</section>

<style>
  .insights {
    display: grid;
    gap: var(--space-xl);
    padding: var(--section-space) var(--edge);
    background: var(--paper);
    color: var(--ink);
  }
  .insights__head {
    display: grid;
    gap: var(--space-l) var(--gap);
    align-items: end;
  }
  .insights__title {
    margin: 0;
    font-family: var(--font-display);
    font-variation-settings: "wdth" var(--display-width);
    font-size: var(--display-m);
    font-weight: 700;
    line-height: 0.98;
    letter-spacing: -0.01em;
    text-transform: uppercase;
    max-width: 10em;
  }
  .insights__side {
    display: grid;
    gap: var(--space-m);
    justify-items: start;
  }
  .insights__lead {
    margin: 0;
    max-width: 28em;
    font-size: var(--text-s);
    line-height: 1.4;
    color: var(--ink-mid);
  }
  .insights__pill {
    display: inline-flex;
    align-items: center;
    min-height: var(--tap);
    padding: 0 var(--space-m);
    border: var(--rule) solid var(--line-light);
    border-radius: var(--pill);
    color: var(--ink);
    font-family: var(--font-mono);
    font-size: var(--text-xs);
    text-transform: uppercase;
    text-decoration: none;
    transition: background-color var(--mid) var(--ease), color var(--mid) var(--ease);
  }
  .insights__pill:hover,
  .insights__pill:focus-visible {
    background: var(--ink);
    color: var(--paper);
    outline: none;
  }
  .insights__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr));
    gap: var(--gap);
    margin: 0;
    padding: 0;
    list-style: none;
  }
  .insights__link {
    display: grid;
    gap: var(--space-m);
    color: inherit;
    text-decoration: none;
  }
  .insights__frame {
    display: block;
    overflow: hidden;
    border-radius: var(--radius-card);
    aspect-ratio: 4 / 3;
  }
  .insights__photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(1) contrast(1.08);
    transform: scale(1.001);
    transition: filter var(--quick) var(--ease), transform var(--slow) var(--ease-out);
  }
  .insights__link:hover .insights__photo,
  .insights__link:focus-visible .insights__photo {
    filter: grayscale(0) contrast(1);
    transform: scale(1.04);
  }
  .insights__link:focus-visible { outline: var(--rule) solid var(--signal); outline-offset: 4px; }
  .insights__meta {
    display: flex;
    justify-content: space-between;
    gap: var(--space-s);
    padding-bottom: var(--space-s);
    border-bottom: var(--rule) solid var(--line-light);
    font-family: var(--font-mono);
    font-size: 8.5px;
    text-transform: uppercase;
    color: var(--ink-soft);
  }
  .insights__tag { color: var(--signal); }
  .insights__name {
    font-size: var(--text-l);
    font-weight: 500;
    line-height: 1.2;
    letter-spacing: -0.01em;
    text-wrap: balance;
  }
  @media (min-width: 820px) {
    .insights__head { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); }
    .insights__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  }
</style>

Style

  • --ink #111111
  • --ink-mid rgba(17, 17, 17, 0.72)
  • --ink-soft rgba(17, 17, 17, 0.4)
  • --paper #ffffff
  • --night #000000
  • --panel #111111
  • --on-night #ffffff
  • --on-night-soft rgba(255, 255, 255, 0.6)
  • --on-night-faint rgba(255, 255, 255, 0.24)
  • --signal #1f30d6
  • --signal-light #8f7be0
  • --route #ff7a2e
  • --rim #2f6bff
  • --ghost #ededed
  • --lane #e9e9e9
  • --line-light rgba(17, 17, 17, 0.14)
  • --line-dark rgba(255, 255, 255, 0.14)

Type

  • Saira (width 125, weight 700) for headlines, stands in for BT Steinhart, a wide squared display face set in capitals
  • Martian Mono for labels, stands in for BT Steinhart Mono, the tiny uppercase mono for menus, readouts and lists
  • Inter Tight for body, stands in for Helvetica Neue at 13 to 23 px, weight 400 and 500

Motion

  • The loader counts 0 to 100 over about 3.2s while hub dots on a dotted world map light up in blue one by one, then the whole thing loops.
  • The hero globe turns slowly on a canvas while orange route arcs grow from hub to hub and fade, each about 2.4s.
  • Statement headlines fill word by word from 40 percent grey to black as they scroll through the screen, with the last words tinted blue in a gradient.
  • On the road band a drawn coach rolls in from the left as the band is scrolled, the km/h readout counts with its speed and a giant pale word slides the other way.
  • Buttons swap fill over 0.4s ease; moves use 0.7s cubic-bezier(0.22, 1, 0.36, 1).

Rules

  • The page is white; black comes only in full-width bands: space at the top, the road surface, the dark service grid and the footer.
  • Headlines are wide square capitals, tight leading, never more than four short lines.
  • Every label, menu item, readout and button text is a tiny uppercase mono.
  • Running text is small: about 13 to 15 px, set in narrow columns.
  • One deep blue is the only colour on the page outside pictures and the orange route arcs on the globe.
  • Every button is an outline or white pill with mono capitals.
  • Big numbers sit on hairline rules with a small grey caption beneath.
base.css
/* Fonts: free Google Fonts that stand in for the site's faces. */
@import url("https://fonts.googleapis.com/css2?family=Inter+Tight:wght@400;500;600&family=Martian+Mono:wdth,wght@87.5,400&family=Saira:wdth,wght@125,600;125,700&display=swap");

:root {
  /* Colour roles */
  --ink: #111111; /* main text on the white page */
  --ink-mid: rgba(17, 17, 17, 0.72); /* running text on white */
  --ink-soft: rgba(17, 17, 17, 0.4); /* words not yet read, captions */
  --paper: #ffffff; /* page background */
  --night: #000000; /* space behind the globe and the loader */
  --panel: #111111; /* dark bands: services, road surface, footer */
  --on-night: #ffffff; /* text on black */
  --on-night-soft: rgba(255, 255, 255, 0.6); /* secondary text on black */
  --on-night-faint: rgba(255, 255, 255, 0.24); /* map dots, idle list items on black */
  --signal: #1f30d6; /* the one accent: hub dots, read-tail of headlines, links */
  --signal-light: #8f7be0; /* far end of the blue word gradient */
  --route: #ff7a2e; /* glowing route arcs over the globe */
  --rim: #2f6bff; /* atmosphere glow around the globe */
  --ghost: #ededed; /* giant pale word behind the road scene */
  --lane: #e9e9e9; /* dashed lane marks on the road */
  --line-light: rgba(17, 17, 17, 0.14); /* hairlines on white */
  --line-dark: rgba(255, 255, 255, 0.14); /* hairlines on black */

  /* Type */
  --font-display: "Saira", "Arial Black", sans-serif; /* wide square capitals for headlines */
  --display-width: 125; /* Saira width axis, the wide cut */
  --font-body: "Inter Tight", "Helvetica Neue", Arial, sans-serif; /* running text, numbers */
  --font-mono: "Martian Mono", ui-monospace, monospace; /* tiny uppercase labels, menu, readouts */
  --text-xs: 10px; /* mono labels */
  --text-s: 13.5px; /* running text */
  --text-m: 15px; /* lead lines, card titles */
  --text-l: clamp(18px, 1.7vw, 23px); /* intro paragraph */
  --display-s: clamp(18px, 1.6vw, 22px); /* card headings in wide caps */
  --display-m: clamp(30px, 4.2vw, 60px); /* section headlines */
  --display-l: clamp(38px, 5.4vw, 78px); /* hero headline */
  --stat: clamp(64px, 8.4vw, 124px); /* big figures */
  --ghost-size: clamp(110px, 21vw, 300px); /* the pale word behind the road */

  /* Space */
  --edge: clamp(16px, 2.2vw, 32px); /* side padding of a section */
  --gap: clamp(14px, 1.6vw, 24px); /* between columns and cards */
  --section-space: clamp(72px, 9vw, 140px); /* air above and below a section */
  --space-xs: 4px; /* label to value */
  --space-s: 8px; /* tight stacks */
  --space-m: 16px; /* paragraph gaps */
  --space-l: 32px; /* block gaps */
  --space-xl: 56px; /* large block gaps */

  /* Shape */
  --pill: 999px; /* every button is a pill */
  --radius-s: 4px; /* small tags */
  --radius-card: 6px; /* photo tiles and cards */
  --rule: 1px; /* every rule and outline */
  --tap: 44px; /* smallest tap target */

  /* Motion */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1); /* long soft stop for moves */
  --ease: ease; /* colour fades */
  --slow: 700ms; /* transforms and reveals */
  --mid: 400ms; /* background swaps */
  --quick: 300ms; /* colour and opacity on hover */
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 16px/1.4 var(--font-body); -webkit-font-smoothing: antialiased; }
img, svg, canvas { display: block; max-width: 100%; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}

For your agent

Use the kitbash MCP server at https://kitbash.me/mcp. Call get_pack("black-road-white-page"), then get_component for the parts you need, and build my site in that style: keep its tokens and rules, replace the placeholder copy with mine.
How to connect