/* The hall (preview): shared by every page of the preview site.
   A dark hall drawn by stage.js on a canvas, with the page laid over it. Every word and link is ordinary
   HTML, so pages still read without the canvas or without scripts.
   This file has the parts every page uses (colours, the bar along the top, the phone menu, the doors)
   and the home page, where each stop fills the screen. pages.css adds the styles for the pages with text.
   Type is the main site's own: Newsreader for the name and titles, Geist for everything else, written
   normally (no capitals, no code lettering). */
@import url("fonts.css");

:root {
  --bg: #08080a;
  --ink: #f5f3ee;
  --text: #cdcac4;
  --dim: rgba(245, 243, 238, .62);
  --rule: rgba(245, 243, 238, .26);
  --hair: rgba(245, 243, 238, .13);
  --accent: #c6ff3d;   /* neon lime: the square on the route line, the mark in the contents, the loading line, the door to another site */
  --serif: "Newsreader", Georgia, "Times New Roman", serif;
  --sans: "Geist", "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  --edge: 20px;
  --bar: 66px;   /* the height of the bar along the top on phones and tablets */
}
*, *::before, *::after { box-sizing: border-box; }
html { background: var(--bg); color: var(--text); -webkit-text-size-adjust: 100%; -webkit-tap-highlight-color: rgba(198, 255, 61, .16); }
body { margin: 0; font: 400 16px/1.6 var(--sans); -webkit-font-smoothing: antialiased; }
ul, ol { margin: 0; padding: 0; list-style: none; }
p, h1, h2 { margin: 0; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; border-radius: 2px; }
.skip { position: absolute; left: -9999px; top: 12px; z-index: 100; padding: 10px 14px; background: var(--ink); color: var(--bg); font: 500 14px/1 var(--sans); }
.skip:focus { left: 12px; }

/* ---------- The hall behind the page ---------- */
.stage { position: fixed; inset: 0; z-index: 0; overflow: hidden; background: var(--bg); }
.stage canvas { position: absolute; inset: 0; display: block; width: 100%; height: 100%; transition: opacity .22s; }
/* darker edges, and a darker lower half on phones so the words under the screen stay readable */
.stage::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(to top, rgba(8, 8, 10, .95) 0%, rgba(8, 8, 10, .74) 32%, rgba(8, 8, 10, 0) 58%),
              radial-gradient(130% 95% at 50% 38%, rgba(0, 0, 0, 0) 55%, rgba(0, 0, 0, .6) 100%); }

/* ---------- The bar along the top: name, menu, and (wide screens) the contents of the page on the left ---------- */
.hud { position: fixed; z-index: 6; top: 0; left: 0; right: 0; display: flex; align-items: center; gap: 16px; padding: 14px var(--edge); pointer-events: none; }
.hud > *, .hud-lists > * { pointer-events: auto; }
.hud-id { position: relative; z-index: 2; padding: 8px 0; font: 400 21px/1 var(--serif); letter-spacing: -.015em; color: var(--ink); white-space: nowrap; }
.hud-menu { position: relative; z-index: 2; margin-left: auto; padding: 11px 16px; background: none; border: 1px solid var(--rule); border-radius: 4px; cursor: pointer; font: 500 14px/1 var(--sans); color: var(--ink); }
.hud-cta { display: none; }
/* phones: the menu and the contents open as one full screen list */
.hud-lists { display: none; position: fixed; inset: var(--bar) 0 0 0; z-index: 1; padding: 18px var(--edge) 32px; overflow: auto; overscroll-behavior: contain; background: var(--bg); }
.menu-open .hud-lists { display: block; }
.menu-open .hud { background: var(--bg); box-shadow: 0 2px 0 var(--bg); }   /* the list starts below the bar and scrolls there, so it never runs under the name and the Close button */
.menu-open { overflow: hidden; }   /* the page behind the open menu stays put */
.hud-nav a { display: block; padding: 12px 0 13px; border-bottom: 1px solid var(--hair); font: 400 26px/1.15 var(--serif); letter-spacing: -.015em; color: var(--ink); }
.hud-nav a[aria-current] { font-style: italic; font-weight: 300; }
.hud-index { margin-top: 30px; }
.hud-h { margin-bottom: 6px; font: 500 13.5px/1.5 var(--sans); color: var(--dim); }
#index a { display: inline-block; padding: 9px 0; font: 400 15.5px/1.35 var(--sans); color: var(--dim); transition: color .15s; }
#index a:hover, #index a[aria-current], #index li.in > a { color: var(--ink); }
#index ol { padding-left: 16px; }
#index a[aria-current]::before { content: ""; display: inline-block; width: 5px; height: 5px; margin-right: 9px; background: var(--accent); vertical-align: middle; transform: translateY(-1px); }

/* ---------- Home: one stop per screen, and the hall fixed behind ---------- */
/* The page itself does not scroll here: stage.js keeps which stop is on show and reads the swipes, the wheel and the keys
   itself. (It used to snap from stop to stop with the browser's own scrolling, and phone browsers then undid every
   jump the page made by itself.) A finger can still pinch to zoom. */
.has-stops, .has-stops body { overflow: hidden; overscroll-behavior: none; }
.has-stops body { touch-action: pinch-zoom; }
.has-stops .hud, .has-stops .foot, .has-stops main { transition: opacity .8s .2s; }
.loading .hud, .loading .foot, .loading main { opacity: 0; }

/* Loading: the name and a thin line that fills as the pictures arrive, then it clears by itself */
.loader { position: fixed; inset: 0; z-index: 20; display: grid; place-items: center; align-content: center; gap: 18px;
  background: #050506; opacity: 0; visibility: hidden; transition: opacity .7s, visibility 0s .7s; }
.loading .loader { opacity: 1; visibility: visible; transition: none; }
.loader-name { font: 300 clamp(30px, 6vw, 44px)/1 var(--serif); letter-spacing: -.03em; color: var(--ink); }
.loader-bar { width: 132px; height: 2px; background: rgba(245, 243, 238, .14); }
.loader-bar i { display: block; width: 0; height: 100%; background: var(--accent); }

/* The words for each stop. stage.js fades and slides them in step with the walk. */
.has-stops .callout { position: fixed; z-index: 3; left: calc(var(--edge) - 6px); right: calc(var(--edge) - 6px); bottom: 64px; padding: 0 6px 6px; max-height: calc(100vh - 140px); max-height: calc(100svh - 140px); overflow-y: auto; scrollbar-width: none; opacity: 0; pointer-events: none; will-change: opacity, transform; }
.has-stops .is-active .callout { opacity: 1; pointer-events: auto; }
/* which part of the walk this is, and how far through it */
.where { font: 500 13.5px/1.5 var(--sans); color: var(--accent); }
.where span { color: var(--dim); }
.where span::before { content: "\00a0\00b7\00a0"; }
.title { margin-top: 8px; font: 300 clamp(44px, 13vw, 60px)/.98 var(--serif); letter-spacing: -.035em; color: var(--ink); text-wrap: balance; }
.title-long { font-size: clamp(31px, 8.6vw, 42px); line-height: 1.04; letter-spacing: -.03em; }
.title i { font-style: italic; }
.title:focus { outline: none; }
/* the title is a link to the same place as the link under it */
.title a { text-decoration: none; }
.title a:hover { text-decoration: underline; text-decoration-thickness: 1px; text-decoration-color: var(--accent); text-underline-offset: .14em; }
.kind { margin-top: 10px; font: 400 14.5px/1.45 var(--sans); color: var(--ink); }
.desc { margin-top: 8px; max-width: 40ch; font: 400 15px/1.55 var(--sans); color: var(--text); }
.go { margin-top: 4px; }
.go a { display: inline-block; padding: 12px 0; font: 500 15px/1.3 var(--sans); color: var(--ink); text-decoration: underline; text-decoration-thickness: 1px; text-decoration-color: var(--rule); text-underline-offset: 5px; }
.go a:hover { text-decoration-color: var(--accent); }
.go a span { display: inline-block; margin-left: .2em; color: var(--accent); }
.hint { max-width: 34ch; font: 400 13px/1.5 var(--sans); color: var(--dim); }
.hint-mouse { display: none; }
@media (hover: hover) and (pointer: fine) { .hint-mouse { display: inline; } .hint-touch { display: none; } }
/* Contact: the address as a large line, the other profiles, and the small print */
.mail-line { margin-top: 12px; font: 300 clamp(22px, 6.4vw, 32px)/1.15 var(--serif); letter-spacing: -.02em; color: var(--ink); overflow-wrap: anywhere; }
.mail-line a { border-bottom: 1px solid var(--rule); }
.mail-line a:hover { border-bottom-color: var(--ink); }
.also-on { display: flex; flex-wrap: wrap; gap: 0 20px; font: 500 14px/1.5 var(--sans); color: var(--dim); }
.also-on a { padding: 9px 0; }
.also-on a:hover { color: var(--ink); }
.fine { margin-top: 8px; max-width: 46ch; font: 400 12.5px/1.5 var(--sans); color: var(--dim); }

/* The pictures. With the canvas running they are only its source, so they sit out of sight. */
.has-stops .shot { position: fixed; z-index: 1; left: 0; top: 0; width: 2px; height: 2px; opacity: 0; pointer-events: none; }
/* No canvas (very old browser, or 3D switched off): show the plain picture for the current stop instead */
.has-stops.no-gl .shot { left: 8%; top: 12%; width: 84%; height: 34%; object-fit: contain; transition: opacity .4s; }
.has-stops.no-gl .is-active .shot { opacity: 1; }
.no-gl .stage canvas { visibility: hidden; }

@media (prefers-reduced-motion: no-preference) {
  .has-stops .is-active .where { animation: lab-fade .5s .2s both; }
  .has-stops .is-active .title { animation: lab-wipe .85s .28s cubic-bezier(.2, .7, .2, 1) both; }
  .has-stops .is-active .kind { animation: lab-fade .5s .45s both; }
  .has-stops .is-active .desc { animation: lab-fade .6s .55s both; }
  .has-stops .is-active .go, .has-stops .is-active .hint { animation: lab-fade .6s .7s both; }
}
@keyframes lab-wipe { from { clip-path: inset(-12% 100% -12% -8px); } to { clip-path: inset(-12% -6% -12% -8px); } }
@keyframes lab-fade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* ---------- The line along the bottom: the sections of the walk, in order ----------
   One name per section, a small mark for every stop, and a square that moves with the camera.
   stage.js places the names and marks. Tapping a name walks there. */
.foot { position: fixed; z-index: 4; left: var(--edge); right: var(--edge); bottom: 8px; }
.rail { position: relative; height: 46px; cursor: pointer; touch-action: none; -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; }   /* a finger on the line belongs to the slider: it must not scroll the page as well, or the two pull against each other */
.sliding, .sliding .rail, .sliding .rail a, .sliding .rail i { cursor: grabbing; }
.sliding .rail b { transform: scale(1.5); }
.rail b { transition: transform .12s; }
.sliding .rail i::after { display: none; }
.rail::before { content: ""; position: absolute; left: 0; right: 0; top: 7px; border-top: 1px solid var(--rule); }
/* the points on the line: one for every stop (larger where a section starts). Each can be clicked or tapped, and with a
   mouse it turns lime and shows its name. The space around a point counts as the point, so it is easy to hit. */
.rail i { position: absolute; z-index: 2; top: 7px; width: 5px; height: 5px; margin: -2.5px 0 0 -2.5px; background: rgba(245, 243, 238, .45); cursor: pointer; transition: background .15s, box-shadow .15s; }
.rail i.first { width: 7px; height: 7px; margin: -3.5px 0 0 -3.5px; background: rgba(245, 243, 238, .72); }
.rail i::before { content: ""; position: absolute; left: -5px; right: -5px; top: -13px; bottom: -6px; }
.rail i::after { content: attr(data-name); position: absolute; left: 50%; bottom: 17px; transform: translateX(-50%); padding: 4px 9px; border-radius: 3px; background: rgba(8, 8, 10, .9);
  font: 500 12.5px/1.2 var(--sans); color: var(--ink); white-space: nowrap; opacity: 0; pointer-events: none; transition: opacity .12s; }
.rail i.edge-l::after { left: -4px; transform: none; }
.rail i.edge-r::after { left: auto; right: -4px; transform: none; }
@media (hover: hover) and (pointer: fine) {
  .rail i:hover { background: var(--accent); box-shadow: 0 0 0 4px rgba(198, 255, 61, .2); }
  .rail i:hover::after { opacity: 1; }
  .rail a:hover { color: var(--ink); }   /* mouse only: a phone keeps "hover" on the last thing tapped, which would leave that name lit */
}
.rail i:active { background: var(--accent); }
.rail b { position: absolute; z-index: 3; left: 0; top: 7px; width: 9px; height: 9px; margin: -4.5px 0 0 -4.5px; background: var(--accent); pointer-events: none; }
.rail li { position: absolute; top: 14px; transform: translateX(-50%); white-space: nowrap; }
.rail li:first-child { transform: none; }
.rail li:last-child { transform: translateX(-100%); }
.rail a { display: block; padding: 7px 3px 8px; font: 500 12.5px/1.2 var(--sans); color: var(--dim); transition: color .15s; }
.rail li:first-child a { padding-left: 0; }
.rail li:last-child a { padding-right: 0; }
.rail li.in a { color: var(--ink); }
.rail-wide { display: none; }   /* the second word of "Social media": only where the line is long enough */
.rail a:active { color: var(--accent); }
/* a tap that has nowhere to go (you are already there): the square blinks, so the tap is seen to have landed */
.rail b.ping { animation: rail-ping .55s ease-out; }
@keyframes rail-ping { from { box-shadow: 0 0 0 0 rgba(198, 255, 61, .6); } to { box-shadow: 0 0 0 13px rgba(198, 255, 61, 0); } }

/* a long jump from the contents: the hall dips to black while the camera is moved */
.veiled .stage canvas { opacity: 0; }
.veiled main { opacity: 0; transition: opacity .2s; }

/* ---------- Going somewhere else: the door ----------
   stage.js opens it from a narrow slit where the link was tapped until it fills the window, then the next page loads.
   Neon lime, with the name of the place on it (a page of this site, or another site's address inside a thin dark frame). The next page starts
   behind the same colour and the door closes to a slit and fades. Nothing here runs for visitors who ask for reduced motion. */
.door { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; visibility: hidden; pointer-events: none;
  background: linear-gradient(#d8ff66, #b4ee1c); color: #14130f;
  clip-path: inset(30% calc(100% - var(--x, 50vw) - 2px) 30% calc(var(--x, 50vw) - 2px)); }
/* the door to another site is the same lime, with a thin dark frame set in from its edge, like a way out */
.door-ext::before { content: ""; position: absolute; inset: 14px; border: 1px solid rgba(20, 19, 15, .5); }
.door.open { visibility: visible; clip-path: inset(0 0 0 0); transition: clip-path .6s cubic-bezier(.45, 0, .15, 1); }
.door.full { visibility: visible; clip-path: inset(0 0 0 0); }
.door.full.shut { clip-path: inset(30% calc(50% - 2px) 30% calc(50% - 2px)); opacity: 0; transition: clip-path .62s cubic-bezier(.2, .7, .2, 1), opacity .3s .36s; }
.door-label { padding: 0 24px; text-align: center; opacity: 0; }
.door.open .door-label { opacity: 1; transition: opacity .2s .26s; }
.door-name { display: block; font: 300 clamp(34px, 7vw, 68px)/1.02 var(--serif); letter-spacing: -.035em; }
.door-kind { display: block; margin-top: 12px; font: 500 14px/1.4 var(--sans); opacity: .7; }
/* before the script has started, a page reached through a door is already behind its colour, so nothing flashes */
.arriving body::before { content: ""; position: fixed; inset: 0; z-index: 89; background: linear-gradient(#d8ff66, #b4ee1c); }
.leaving .hud, .leaving main, .leaving .foot, .leaving .end { opacity: 0; transition: opacity .3s; }

/* where a link goes, shown before you take it (mouse and keyboard) */
.way { position: fixed; z-index: 8; left: var(--edge); bottom: 62px; margin: 0; padding: 4px 9px; border-radius: 3px; background: rgba(8, 8, 10, .84);
  font: 500 13px/1.4 var(--sans); color: var(--ink); opacity: 0; transform: translateY(4px); transition: opacity .15s, transform .15s; pointer-events: none; }
.way.on { opacity: 1; transform: none; }
@media (hover: none) { .way { display: none; } }
/* links that leave the site say where to, after the slanted arrow */
.go a.ext::after { content: attr(data-dest); display: block; margin-top: 2px; font-weight: 400; font-size: 13px; color: var(--dim); text-decoration: none; }
.also-on a.ext::after { content: "\2197"; margin-left: .35em; color: var(--accent); }

/* ---------- Wide screens: name and menu along the top, contents on the left, screen in the middle, words on the right ---------- */
@media (min-width: 900px) and (min-aspect-ratio: 1/1) and (min-height: 500px) {
  :root { --edge: clamp(24px, 2.6vw, 40px); }
  .stage::after { background: radial-gradient(130% 95% at 50% 40%, rgba(0, 0, 0, 0) 55%, rgba(0, 0, 0, .6) 100%); }
  .hud { gap: clamp(18px, 2.2vw, 30px); padding: 20px var(--edge); }
  .hud-id { font-size: 22px; }
  .hud-menu { display: none; }
  .menu-open .hud { background: none; }
  .hud-lists, .menu-open .hud-lists { display: contents; }
  .hud-nav { margin-left: auto; }
  .hud-nav ul { display: flex; align-items: center; gap: clamp(16px, 2.1vw, 30px); }
  .hud-nav a { padding: 8px 0; border: 0; font: 500 14px/1 var(--sans); letter-spacing: 0; color: var(--dim); transition: color .15s; }
  .hud-nav a:hover, .hud-nav a[aria-current] { color: var(--ink); font-style: normal; font-weight: 500; }
  .hud-nav a[aria-current] { box-shadow: inset 0 -1px 0 var(--accent); }
  /* wide screens have the "Get in touch" button, so the menu does not also list Contact (the phone menu keeps it) */
  .hud-nav .nav-contact { display: none; }
  .hud-cta { display: block; padding: 10px 16px; border: 1px solid var(--rule); border-radius: 4px; font: 500 14px/1 var(--sans); color: var(--ink); transition: background .15s, color .15s, border-color .15s; }
  .hud-cta:hover, .hud-cta[aria-current] { background: var(--accent); border-color: var(--accent); color: #0a0a0b; }
  .hud-index { position: fixed; left: var(--edge); top: 104px; width: 214px; margin: 0; }
  .hud-h { margin-bottom: 4px; }
  #index a { padding: 4px 0; font-size: 14px; }
  #index ol a { font-size: 13.5px; }
  .has-stops .callout { left: calc(64% - 6px); right: auto; bottom: auto; top: 24%; width: min(32vw, 440px); max-height: calc(100vh - 24vh - 96px); }
  .go a.ext::after { display: inline-block; margin: 0 0 0 .8em; font-size: 14px; }
  .title { margin-top: 12px; font-size: clamp(48px, 5.4vw, 84px); }
  .title-long { font-size: clamp(36px, 3.7vw, 58px); }
  .kind { margin-top: 14px; font-size: 15px; }
  .desc { margin-top: 10px; max-width: 36ch; font-size: 15.5px; line-height: 1.6; }
  .go { margin-top: 8px; }
  .hint { margin-top: 6px; }
  @media (max-height: 640px) { .hint { display: none; } }
  .mail-line { margin-top: 16px; font-size: clamp(24px, 2.5vw, 38px); }
  .has-stops.no-gl .shot { left: max(22%, 250px); top: 24%; width: 36%; height: 52%; }
  .foot { left: 50%; right: auto; bottom: 16px; width: min(660px, 56vw); transform: translateX(-50%); }
  .rail-wide { display: inline; }
  .rail a { font-size: 13px; }
  .way { bottom: 84px; }
}

/* ---------- A tablet held upright: the phone arrangement, with type and edges sized for the bigger screen ---------- */
@media (min-width: 700px) and (max-aspect-ratio: 999/1000) {
  :root { --edge: 40px; }
  .has-stops .callout { bottom: 104px; }
  .where { font-size: 15px; }
  .title { font-size: 76px; }
  .title-long { font-size: 54px; }
  .kind { font-size: 17px; }
  .mail-line { font-size: 40px; }
  .desc { max-width: 46ch; font-size: 18px; }
  .go a { font-size: 17px; }
  .foot { bottom: 22px; }
  .rail a { font-size: 14px; }
}

/* ---------- A phone held upright: the line of sections sits under the top bar ----------
   The bottom strip of a phone's screen belongs to the browser (its address bar, or the bar that slides back when the
   strip is touched), so a tap there often never reaches the page. Under the name and the menu button every tap does.
   The words then sit a little lower, and stage.js starts the screen below the line. */
@media (max-width: 699px) and (max-aspect-ratio: 999/1000) {
  .foot { top: 54px; bottom: auto; }
  .menu-open .foot { visibility: hidden; }
  .rail { height: 38px; }
  .rail li { top: 10px; }
  .rail a { padding: 7px 4px 12px; }
  .rail li:nth-last-child(2) { transform: translateX(-78%); }   /* the name before the last one sits a little left, so the two do not touch */
  .rail i::before { left: -6px; right: -6px; top: -7px; bottom: 0; }
  .rail i.in-row::before { left: -2px; right: -2px; }   /* points in a row sit close together: each keeps to itself, and a tap between two goes to the nearer one */
  .rail i::after { bottom: auto; top: 40px; }
  .has-stops .callout { max-height: calc(100vh - 176px); max-height: calc(100svh - 176px); }   /* the words keep their place, clear of the bottom strip */
  .way { bottom: 10px; }
  .has-stops.no-gl .shot { top: 106px; height: clamp(72px, calc(100vh - 500px), 30%); height: clamp(72px, calc(100svh - 500px), 30%); }
  .hint { max-height: clamp(0px, calc((100svh - 600px) * 99), 3em); overflow: hidden; }   /* a screen under 600px tall: the swipe hint makes way for the photo */
}

/* ---------- A phone turned sideways: screen on the left, words on the right, everything smaller ---------- */
@media (orientation: landscape) and (max-height: 499px), (min-aspect-ratio: 1/1) and (max-width: 899px) {
  .stage::after { background: radial-gradient(130% 95% at 50% 40%, rgba(0, 0, 0, 0) 55%, rgba(0, 0, 0, .6) 100%); }
  :root { --bar: 50px; }
  .has-stops.no-gl .shot { left: var(--edge); top: 56px; width: calc(50% - 2 * var(--edge)); height: calc(100% - 112px); }
  .hud { padding-top: 6px; padding-bottom: 6px; }
  .has-stops .callout { left: 50%; right: max(calc(var(--edge) - 6px), env(safe-area-inset-right)); bottom: 48px; max-height: calc(100vh - 104px); max-height: calc(100svh - 104px); }
  .title { margin-top: 4px; font-size: 34px; }
  .title-long { font-size: 26px; }
  .mail-line { margin-top: 6px; font-size: 22px; }
  .kind { margin-top: 6px; font-size: 13.5px; }
  .desc { margin-top: 6px; font-size: 13.5px; line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
  .fine, .hint { display: none; }
  .go a, .also-on a { padding: 6px 0; }
  .foot { bottom: 2px; }
}

/* ---------- Without scripts ----------
   The home page becomes an ordinary page, top to bottom (class "no-js"). On every page the menu button,
   which needs the script, goes and the lists are simply shown. */
html:not(.js) .hud-menu { display: none; }
html:not(.js) .hud { position: static; flex-wrap: wrap; align-items: flex-start; }
html:not(.js) .hud-lists { display: block; position: static; padding: 0; background: none; }
html:not(.js) .stage { display: none; }
html:not(.js) .hud-index { position: static; }
html:not(.js) .hud-cta { position: relative; z-index: 2; }
.no-js .stage, .no-js .loader, .no-js .hud-menu, .no-js .foot, .no-js .hint { display: none; }
.no-js .hud { position: static; flex-wrap: wrap; align-items: flex-start; }
.no-js .hud-lists { display: block; position: static; padding: 0; background: none; }
.no-js .stop { max-width: 720px; margin: 0 auto; padding: 44px var(--edge); border-top: 1px solid var(--hair); }
.no-js .shot { max-height: 440px; width: auto; margin-top: 24px; }

@media print {
  :root { --bg: #fff; --ink: #000; --text: #222; --dim: #555; --rule: #999; --hair: #ccc; --accent: #333; }
  html { background: #fff; color: #222; }
  .stage, .loader, .door, .way, .foot, .hud, .hint { display: none !important; }
  .has-stops .stop, .has-stops .stop:last-child { height: auto; padding: 18px 0; break-inside: avoid; }
  .has-stops .callout { position: static; opacity: 1 !important; transform: none !important; max-height: none; }
  .has-stops .shot { position: static; width: 220px; height: auto; opacity: 1; margin-top: 8px; }
}
