Site · Landing page

Northbound Night-train travel landing on scroll-scrubbed film

A sleeper-train journey company where scroll drives real travel footage through the night, with a live route map, timetable and cabin booking over the film. Bring your own video.

northbound.demo
Northbound at desktop width
Desktop · 1440
Northbound at phone width
Phone · 390

What's in the prompt

  • A full written spec: layout, tokens, every animation with its numbers, responsive rules
  • The complete working code as the reference implementation, also as a ready-to-run .zip with every image, video and 3D model
  • Accessibility, reduced motion and fallbacks already handled
  • A “Make it yours” checklist so your site looks like nobody else’s
Type
Site
Built with
HTML, CSS, JS · no libraries
Prompt size
89 KB
Tags
travel, scroll video, booking, bring your own video
Updated
2026-11-26

Use it in three steps

  1. Copy the prompt with the button above.
  2. Paste it into your AI (Claude, Claude Code, ChatGPT, Cursor…) and add your edits.
  3. Launch the single index.html anywhere: Cloudflare Pages, Netlify, GitHub Pages.

About the Northbound design

Northbound is a one-page site for a fictional sleeper-train company that runs one train a night from Selvik to Aurvik: 1,142 km and 13 h 15 min north, through mountain tunnels, past a fjord at blue hour and over the Polar Circle to the aurora. The palette is night ink and paper with carriage-lamp amber, a wool-blanket rust and an aurora green used only twice. Instrument Serif sets the headlines, Hanken Grotesk the body and JetBrains Mono every time and HUD value. The signature is a 720vh section with a sticky, scroll-scrubbed travel film: scrolling down moves the train forward and scrolling up moves it back.

Over the film run a route map whose train dot follows the line, a six-cell HUD (distance, local time, outside temperature, next stop, speed and latitude) that agrees with the timetable, a list of stops to jump to, six chapter reveals, canvas snow and amber tunnel-lamp streaks. Below come a departure board with a direction toggle, a cabin picker with a tilting carriage plan, a working booking form with live fares and a held-ticket reference, an FAQ and a footer. You supply the footage. Without it, a CSS night sky runs the same journey and the HUD keeps working.

Good for

How Northbound is built

Intermediate Vanilla HTML/CSS/JS with a scroll-scrubbed all-intra MP4 (which you supply), a canvas snow layer and a CSS night-sky fallback; no WebGL or libraries

Images, video and 3D

The download includes four 1200×800 WebP cabin photos made with an AI image generator in one warm 35 mm look. The travel film in the live demo is licensed stock footage for the demo only and is not in the download, so you supply your own: a 1920-wide all-intra MP4, a 720×1280 portrait crop and a WebP poster for each, placed in assets/film/ with the CONFIG paths pointed at them. Prepare the clips with the free scroll video encoder at /tools/scroll-video-encoder/ or the ffmpeg command in the prompt. Until then the page runs its night-sky fallback.

Build it with Claude

Ask Claude for the full index.html. The preview has no film file, so it shows "Film unavailable · running the night-sky view", and the sky, map, HUD and chapters still follow scroll. Check that the timetable toggles to southbound, that Choose this cabin selects that cabin in the booking form, and that a Single with children, a 25 December date and a one-word name are all rejected.

Claude guide →

Build it with Claude Code

Make your clips with /tools/scroll-video-encoder/ (every frame a keyframe), put them and the posters in assets/film/, and point the four CONFIG paths there. Serve with python3 -m http.server so the film loads through fetch rather than file://. Ask Claude Code to scroll headlessly and check that the HUD reads 1,142 km and Arrived · Aurvik at the end, and that removing the film shows the fallback pill with no script errors.

Claude Code guide →

Build it with ChatGPT

Ask ChatGPT for the page in parts, or in canvas: the HTML and CSS, the scroll engine and film scrub, the HUD and sky keyframes, the snow canvas, then the timetable, cabins and booking. A common follow-up is seeking: check it keeps only one seek in flight and applies the newest target on seeked, or fast scrolling will queue seeks and lag behind.

ChatGPT guide →

If it doesn’t work

Questions about Northbound

Is the Northbound train footage included in the download?

No. The film in the live demo is licensed for the demo only, so the download leaves it out and opens in the night-sky fallback. Supply your own clips: a 1920-wide MP4, a 720×1280 portrait crop and a poster for each, then point CONFIG at them. The free encoder at /tools/scroll-video-encoder/ makes them scroll-ready.

What footage works best for the Northbound scroll film?

15–30 s made of 2–4 shots, each with one slow, steady camera move, no fast cuts, no shake and no text, running from light to dark and ending on the most striking frame. Join shots with a fade to black where the tunnel chapter sits, and encode at 15 fps with every frame a keyframe.

Make it yours

Everyone who pastes this gets the same night train unless they change it. Make these edits first. Each one keeps the structure and the interactions.

  1. Brand and route. Rename Northbound, the six stations, the times and the 1,142 km to your own journey: a ferry crossing, a desert rail line, a river cruise or a long-haul overnight bus. Keep 5–7 stops and keep the HUD keyframes monotonic so the map, clock and km still agree.
  2. The film. The scrubbed clip is the signature, so shoot or source your own arc: harbour lights to open sea to sunrise, city at dusk to forest to snow, or valley to pass to lake. Keep one camera move per shot and a fade-to-black "tunnel" beat. If you have no tunnel, rename that chapter to "night crossing" and keep the amber lamp streaks as cabin lights.
  3. HUD readouts. Swap the six cells for what your journey measures: depth, knots, altitude, wind, sea temperature or sunrise countdown. Keep six cells, mono values and the single live dot.
  4. Palette. Replace --lamp, --rust and the paper tones with your brand pair. Keep amber-type warmth for the on-film accent so it reads on dark footage, and keep --paper-mute at ≥ 4.5:1 on the paper ground.
  5. Type pairing. Swap Instrument Serif and Hanken Grotesk for another condensed or high-contrast serif with a plain grotesk, such as Gloock with Figtree or Fraunces Soft with Work Sans. Keep a mono for every number.
  6. Cabins. Rename the four types and regenerate the four photos as one set, with the same lens, the same warm practical light and a night window, from your own product: ferry cabins, glamping pods or hotel rooms. Redraw the carriage plan as your deck, floor or vehicle plan.
  7. Copy voice. Rewrite the chapters as things that really happen on board, at a time and a place ("23:52 · Lysfjord — we slow to 40 km/h along the water"), not mood words.

"Build exactly as specified, but with these changes: …"

More designs