/* Components read semantic tokens only - see tokens.css. */

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; color-scheme: dark; scroll-behavior: smooth; scroll-padding-top: 84px; }

:root {
  /* The page's side margin: never inside a notch or a rounded corner. */
  --gutter: max(clamp(16px, 3vw, 40px), env(safe-area-inset-left, 0px), env(safe-area-inset-right, 0px));
  /* The room the bar at the bottom of a phone takes; nothing on a wide screen. */
  --dock: 0px;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 var(--step-0)/1.5 var(--font-sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  transition: background-color 0.55s var(--ease-out), color 0.55s var(--ease-out);
}

a { color: inherit; }
b, strong { font-weight: 600; }
h1, h2, h3, p, ul, dl, figure, fieldset { margin: 0; padding: 0; }
ul { list-style: none; }
fieldset { border: 0; min-width: 0; }
button, input, select { font: inherit; color: inherit; }
/* A touch is a press, never the start of a zoom; what is pressed answers by itself, not with the browser's grey flash. */
a, button, summary, label, select, input, textarea, [role="option"] { touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
[hidden] { display: none !important; }

:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 2px; }

.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 0; z-index: 10; padding: var(--sp-3) var(--sp-4); background: var(--bg-raised); }
.skip:focus { left: var(--sp-4); top: var(--sp-4); }

/* -- the 3D stage, behind everything -------------------------------------------- */

.world { position: fixed; inset: 0; z-index: 0; width: 100%; height: 100%; pointer-events: none; opacity: 0; transition: opacity 1.2s var(--ease-out); }
.world.is-on { opacity: 1; }
/* In the showroom the car stands in front of the dial and behind the words. */
.world.is-front { z-index: 2; }
main, .foot { position: relative; }

.scrub {
  position: fixed; right: var(--gutter); bottom: clamp(16px, 3vh, 32px); z-index: 4;
  width: 200px; height: 22px; border-radius: 3px; background-color: var(--bg-raised);
  background-image: repeating-linear-gradient(90deg, var(--line-strong) 0 1px, transparent 1px 8px);
  background-size: calc(100% - 16px) 8px; background-position: 8px 50%; background-repeat: no-repeat;
  opacity: 0; transition: opacity var(--dur-2);
}
.is-ready .scrub { opacity: 1; }
.scrub i { position: absolute; top: 3px; bottom: 3px; left: calc(8px + var(--at, 0) * (100% - 18px)); width: 2px; background: var(--accent); }

/* -- type ----------------------------------------------------------------------- */

.kicker { font: 500 var(--step--1)/1.2 var(--font-mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-3); }
.display { font-size: clamp(2.2rem, 1.2rem + 3.6vw, 4.4rem); font-weight: 700; line-height: 0.98; letter-spacing: -0.025em; text-wrap: balance; }
.display--small { font-size: clamp(1.8rem, 1.2rem + 2vw, 3rem); line-height: 1.02; }
.lead { font-size: var(--step-1); line-height: 1.35; color: var(--ink-2); text-wrap: pretty; }
.fine { font-size: var(--step--1); line-height: 1.5; color: var(--ink-3); }
.more { display: inline-flex; align-items: center; min-height: 44px; font: 600 var(--step--1)/1 var(--font-mono); letter-spacing: 0.06em; text-transform: uppercase; color: var(--accent-ink); }

/* -- top bar ------------------------------------------------------------------ */

.top {
  position: fixed; inset: 0 0 auto; z-index: 5;
  display: flex; align-items: center; justify-content: space-between; gap: var(--sp-4);
  padding: var(--sp-4) var(--gutter) var(--sp-5);
  /* The page scrolls under the bar; it has to fade out there, not show through. */
  background: linear-gradient(to bottom, var(--bg) 0%, var(--bg) 62%, transparent 100%);
  transition: background 0.55s var(--ease-out);
}

.brand { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; text-decoration: none; font-size: 1.2rem; letter-spacing: -0.01em; }
.brand__mark { flex: none; }
.brand__name { color: var(--ink-2); font-weight: 500; }
.brand__name b { color: var(--ink); font-weight: 700; }

.top__nav { display: flex; gap: var(--sp-5); }
.top__actions { display: flex; align-items: center; gap: var(--sp-3); }
.top__link {
  display: inline-flex; align-items: center; min-height: 44px;
  font: 500 var(--step--1)/1 var(--font-mono); letter-spacing: 0.08em; text-transform: uppercase;
  text-decoration: none; color: var(--ink-2);
}
.top__link:hover { color: var(--ink); }

.pill {
  display: inline-flex; align-items: center; gap: var(--sp-2); min-height: 44px; padding: 0 var(--sp-4);
  border-radius: var(--radius-pill); background: var(--btn-bg); color: var(--btn-ink);
  font: 600 var(--step--1)/1 var(--font-mono); letter-spacing: 0.04em; text-decoration: none; white-space: nowrap;
}
.pill__dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.pill__hours { padding-left: var(--sp-2); border-left: 1px solid rgba(28, 21, 5, 0.35); font-weight: 700; }

.menu { display: none; position: relative; }
.menu summary { display: grid; place-content: center; gap: 6px; width: 44px; height: 44px; border: 1px solid var(--line-strong); border-radius: var(--radius-1); cursor: pointer; list-style: none; }
.menu summary::-webkit-details-marker { display: none; }
.menu summary span { display: block; width: 18px; height: 2px; background: var(--ink); }
.menu__sheet { position: absolute; right: 0; top: calc(100% + 8px); display: grid; min-width: 220px; padding: var(--sp-2); border: 1px solid var(--line-strong); border-radius: var(--radius-2); background: var(--bg-raised); box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35); }
.menu__sheet a { display: flex; align-items: center; min-height: 48px; padding: 0 var(--sp-4); border-radius: var(--radius-1); text-decoration: none; font-weight: 500; }
.menu__sheet a:hover { background: var(--field-bg); }

/* -- hero ---------------------------------------------------------------------- */

.hero {
  position: relative; min-height: 100svh;
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: start;
  gap: clamp(16px, 3vw, 48px);
  padding: clamp(88px, 13vh, 128px) var(--gutter) clamp(24px, 5vh, 56px);
}

.hero__copy { position: relative; z-index: 3; min-width: 0; }
.hero__title { margin: 0 0 var(--sp-5); font-size: var(--step-5); font-weight: 700; line-height: 0.95; letter-spacing: -0.025em; }
.hero__lead { margin: 0 0 var(--sp-6); max-width: 30ch; font-size: var(--step-1); line-height: 1.3; color: var(--ink-2); }
.hero__hours { display: block; margin-top: var(--sp-2); color: var(--accent-ink); font-weight: 600; }
.lead--mark { margin-top: var(--sp-3); color: var(--accent-ink); font: 600 var(--step-0)/1 var(--font-mono); letter-spacing: 0.08em; text-transform: uppercase; }

/* The copy grows when a car is chosen; the dial stays where it can be seen. */
.hero__dial, .gallery__dial { justify-self: center; width: min(100%, 84vh, 780px); aspect-ratio: 1; }
.hero__dial { position: sticky; top: max(72px, calc(50svh - min(42vh, 390px))); width: min(100%, 76vh, 720px); }
/* The car stands in the lower part of this dial, so what the dial shows sits a little higher in it. */
.hero__dial .dial__stage { transform: translateY(-52px); }
.dial { display: block; width: 100%; height: 100%; overflow: visible; }
.dial__ring, .dial__ticks, .dial__trim { transform-box: view-box; transform-origin: 0 0; }

.sheet__gain { stroke: var(--dial-gain); stroke-width: 3.2; stroke-linecap: round; }
.sheet__stock { fill: var(--dial-stock); }
.sheet__tuned { fill: var(--dial-tuned); }
.sheet__stock, .sheet__tuned { transform-box: fill-box; transform-origin: center; }
.sheet__axis { stroke: var(--line-strong); stroke-width: 1.5; }
.sheet__unit { fill: var(--ink-3); font: 500 17px/1 var(--font-mono); letter-spacing: 0.04em; }
.sheet__title { fill: var(--ink-2); font: 500 19px/1 var(--font-mono); letter-spacing: 0.1em; text-transform: uppercase; }
.sheet__figure { fill: var(--ink); font: 600 34px/1 var(--font-mono); letter-spacing: 0.01em; }

/* What a service's scene in the dial is drawn with. */
.demo, .demo * { transform-box: view-box; transform-origin: 0 0; }
.demo__line { fill: none; stroke: var(--ink-3); stroke-width: 2.5; }
.demo__line--bold { stroke-width: 5; stroke-linecap: round; stroke-linejoin: round; }
.demo__text { fill: var(--ink-2); font: 500 19px/1 var(--font-mono); letter-spacing: 0.08em; text-transform: uppercase; }
.demo__text--bold { font-weight: 700; font-size: 22px; }
.demo .demo__cell { fill: transparent; stroke-width: 2.5; transform-box: fill-box; transform-origin: center; }

/* -- search -------------------------------------------------------------------- */

.find { position: relative; max-width: 460px; margin-bottom: var(--sp-5); }
.find__label, .field span { display: block; margin-bottom: var(--sp-2); font: 500 var(--step--1)/1 var(--font-mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-3); }
.find__box {
  display: flex; align-items: center; gap: 10px; min-height: 54px; padding: 0 var(--sp-4);
  border: 1px solid var(--field-line); border-radius: var(--radius-1); background: var(--bg);
  transition: border-color var(--dur-1), box-shadow var(--dur-1);
}
.find__box:focus-within { border-color: var(--ink); box-shadow: 0 0 0 2px var(--focus); }
.find__prompt { color: var(--accent-ink); font: 700 1.2rem/1 var(--font-mono); }
.find__input {
  flex: 1; min-width: 0; padding: var(--sp-4) 0; border: 0; outline: 0; background: none;
  color: var(--ink); font: 500 1rem/1.2 var(--font-mono);
}
.find__input::placeholder { color: var(--ink-3); opacity: 1; }
.find__input::-webkit-search-cancel-button { filter: grayscale(1) invert(1); }

.find__list {
  position: absolute; z-index: 4; inset: 100% 0 auto; margin: 6px 0 0; padding: 6px;
  max-height: min(56vh, 420px); overflow: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch;
  border: 1px solid var(--line-strong); border-radius: var(--radius-2); background: var(--bg-raised);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
}
.find__opt {
  display: flex; align-items: center; justify-content: space-between; gap: var(--sp-3);
  min-height: 46px; padding: var(--sp-2) var(--sp-3); border-radius: var(--radius-1); cursor: pointer; line-height: 1.25;
}
.find__opt small { flex: none; font: 500 var(--step--1)/1 var(--font-mono); color: var(--ink-3); white-space: nowrap; }
.find__opt[aria-selected="true"], .find__opt:active { background: rgba(246, 244, 242, 0.09); }
.find__none { margin: var(--sp-3) 0 0; color: var(--ink-2); }

/* -- the chosen car ------------------------------------------------------------ */

.car { max-width: 460px; margin-bottom: var(--sp-5); padding: var(--sp-5); border: 1px solid var(--line); border-radius: var(--radius-2); background: var(--bg-sunk); }
.car__name { font-size: var(--step-1); font-weight: 600; line-height: 1.2; }
.car__ecu { margin-top: var(--sp-1); font: 500 var(--step--1)/1.3 var(--font-mono); color: var(--ink-3); }
.car__stages { display: flex; gap: var(--sp-2); margin: var(--sp-4) 0; }
.stage {
  min-height: 44px; padding: 0 var(--sp-4); border: 1px solid var(--line-strong); border-radius: var(--radius-pill);
  background: none; color: var(--ink-2); font: 600 var(--step--1)/1 var(--font-mono); letter-spacing: 0.06em; text-transform: uppercase; cursor: pointer;
}
.stage[aria-pressed="true"] { border-color: var(--ink); background: var(--ink); color: var(--bg); }
.car__figures { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-4); margin-bottom: var(--sp-4); }
.car__figures dt { font: 500 var(--step--1)/1 var(--font-mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-3); }
.car__figures dd { margin: var(--sp-2) 0 0; font: 500 1.05rem/1.2 var(--font-mono); color: var(--ink-2); }
.car__figures dd b { color: var(--ink); font-weight: 700; font-size: 1.25rem; }
.car__figures dd em { margin-left: 4px; font-style: normal; color: var(--accent-ink); }
.car__price { margin-bottom: var(--sp-4); font-size: var(--step-1); font-weight: 600; }
.car__note { margin-top: var(--sp-3); font-size: var(--step--1); color: var(--ink-3); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 var(--sp-5);
  border: 1px solid transparent; border-radius: var(--radius-1); background: var(--btn-bg); color: var(--btn-ink);
  font: 700 var(--step--1)/1 var(--font-mono); letter-spacing: 0.08em; text-transform: uppercase; text-decoration: none;
  transition: transform var(--dur-1) var(--ease-out);
}
.btn:active, .pill:active, .stage:active, .carcard__hit:active { transform: scale(0.98); }
.btn--quiet { background: none; border-color: var(--line-strong); color: var(--ink); }

/* -- prices in the hero -------------------------------------------------------- */

.rates { max-width: 460px; border-top: 1px solid var(--line); }
.rates li { display: flex; align-items: baseline; justify-content: space-between; gap: var(--sp-4); padding: var(--sp-3) 0; border-bottom: 1px solid var(--line); }
.rates span { font: 500 var(--step--1)/1.3 var(--font-mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-2); }
.rates b { font: 600 var(--step-0)/1.2 var(--font-mono); white-space: nowrap; }
.rates__all b { color: var(--accent-ink); }

/* -- scenes: a tall section with a screen held in place inside it ------------------ */

.scene { position: relative; }
.scene__pin { position: relative; display: grid; align-items: center; padding: 96px var(--gutter) 56px; }
.js .scene { height: calc(var(--len, 2) * 100svh); }
.js .scene__pin { position: sticky; top: 0; height: 100svh; overflow: clip; }

.scene__copy { max-width: min(34rem, 44vw); display: grid; gap: var(--sp-5); }

/* Words that stand over the stage get a pane of smoked glass behind them. */
.scene__copy, .works__head, .stop, .tag {
  padding: clamp(16px, 2.2vw, 28px); border: 1px solid var(--line); border-radius: var(--radius-2);
  background: var(--veil); -webkit-backdrop-filter: blur(9px) saturate(1.1); backdrop-filter: blur(9px) saturate(1.1);
}
.tag { padding: 10px 14px; }

/* The machine as a drawing: its parts, named. */
.scene--works .scene__pin { align-items: start; }
.works__head { display: grid; gap: var(--sp-4); max-width: 40rem; }
.works__labels { position: absolute; top: 50%; display: grid; gap: clamp(20px, 5vh, 56px); width: min(24vw, 250px); translate: 0 -40%; }
.works__labels--left { left: var(--gutter); }
.works__labels--right { right: var(--gutter); text-align: right; }
.tag { display: grid; gap: 4px; transition: opacity var(--dur-2); }
.js .tag { opacity: 0; }
.tag b { font: 600 var(--step--1)/1.2 var(--font-mono); letter-spacing: 0.1em; text-transform: uppercase; }
.tag span { font-size: var(--step--1); line-height: 1.35; color: var(--ink-2); }
.works__leaders { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; opacity: 0; }
.works__leaders path { fill: none; stroke: var(--ink-3); stroke-width: 1; }

/* The services: text on one side, the dial on the other. */
.scene--gallery .scene__pin { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(16px, 3vw, 48px); }
.gallery__title { position: absolute; left: var(--gutter); top: 92px; }
.gallery__stops { position: relative; display: grid; gap: var(--sp-8); }
.stop { display: grid; gap: var(--sp-4); max-width: 30rem; }
.js .gallery__stops { min-height: 26rem; }
.js .stop { position: absolute; inset: 0 auto auto 0; opacity: 0; visibility: hidden; translate: 0 18px; transition: opacity 0.45s var(--ease-out), translate 0.45s var(--ease-out), visibility 0s 0.45s; }
.js .stop.is-on { opacity: 1; visibility: visible; translate: 0 0; transition-delay: 0s; }
.stop__name { font-size: clamp(2rem, 1.3rem + 2.6vw, 3.6rem); font-weight: 700; line-height: 1; letter-spacing: -0.02em; }
.stop__lead { font-size: var(--step-1); line-height: 1.35; color: var(--ink-2); }
.stop__points { display: grid; gap: var(--sp-2); padding-top: var(--sp-4); border-top: 1px solid var(--line); }
.stop__points li { display: flex; gap: var(--sp-3); font: 500 var(--step--1)/1.4 var(--font-mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-2); }
.stop__points li::before { content: "→"; color: var(--ink-3); }
.stop__price { font: 700 var(--step-1)/1.2 var(--font-mono); }
.stop__notice { font-size: var(--step--1); line-height: 1.45; color: var(--ink-3); }

/* What it costs. */
.scene--estimate .scene__pin { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.estimate { display: grid; gap: var(--sp-4); max-width: 34rem; padding: clamp(20px, 3vw, 36px); border: 1px solid var(--line); border-radius: var(--radius-2); background: var(--bg-raised); }
.estimate__list { display: grid; }
.pick { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: var(--sp-3); min-height: 48px; padding: var(--sp-2) 0; border-bottom: 1px solid var(--line); cursor: pointer; }
.pick input { width: 22px; height: 22px; accent-color: var(--accent-ink); }
.pick__name { font-weight: 600; }
.pick__price { font: 500 var(--step--1)/1.2 var(--font-mono); color: var(--ink-2); text-align: right; }
.estimate__total { display: flex; flex-wrap: wrap; align-items: baseline; gap: var(--sp-2) var(--sp-3); min-height: 3.2rem; font: 500 var(--step-0)/1.2 var(--font-mono); color: var(--ink-2); }
.estimate__total b { font-size: clamp(1.8rem, 1.4rem + 1.4vw, 2.6rem); font-weight: 700; color: var(--ink); }
.estimate__total small { flex-basis: 100%; font-size: var(--step--1); color: var(--accent-ink); }

/* -- ordinary sections ------------------------------------------------------------ */

/* The machine turns behind these; the ground is thinned, not removed, so the text stays the subject. */
.block, .finish { background: color-mix(in srgb, var(--bg) 78%, transparent); -webkit-backdrop-filter: blur(7px); backdrop-filter: blur(7px); }
.block { display: grid; gap: clamp(28px, 5vh, 56px); padding: clamp(72px, 12vh, 140px) var(--gutter); }
.block__head { display: grid; gap: var(--sp-4); max-width: 46rem; }
.block--narrow > * { max-width: 60rem; }
.block--split { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); align-items: center; }

.cars { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); gap: var(--sp-3); }
.carcard__hit {
  display: grid; gap: 6px; width: 100%; height: 100%; padding: var(--sp-5); text-align: left; cursor: pointer;
  border: 1px solid var(--line); border-radius: var(--radius-2); background: var(--bg-sunk);
  transition: border-color var(--dur-1), transform var(--dur-2) var(--ease-out);
}
/* What lifts under a pointer would stay lifted under a finger: a touch has no way to leave. */
@media (hover: hover) {
  .btn:hover { transform: translateY(-1px); }
  .carcard__hit:hover { border-color: var(--line-strong); transform: translateY(-3px); }
  .find__opt:hover { background: rgba(246, 244, 242, 0.09); }
}
.carcard__make { font: 500 var(--step--1)/1 var(--font-mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-3); }
.carcard__name { font-size: var(--step-1); font-weight: 700; line-height: 1.15; }
.carcard__meta { font-size: var(--step--1); color: var(--ink-3); }
.carcard__figures { display: grid; gap: 2px; margin-top: var(--sp-3); font: 500 var(--step-0)/1.35 var(--font-mono); color: var(--ink-2); }
.carcard__figures i { font-style: normal; }
.carcard__figures b { font-weight: 700; color: var(--ink); }
.carcard__gain { font: 700 var(--step-1)/1 var(--font-mono); color: var(--accent-ink); }
.carcard__go { margin-top: var(--sp-2); font: 600 var(--step--1)/1 var(--font-mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-2); }

.reach { display: grid; grid-template-columns: minmax(0, 1fr) 8.5rem; gap: var(--sp-3); max-width: 34rem; }
.field select, .field input {
  width: 100%; min-height: 52px; padding: 0 var(--sp-4); border: 1px solid var(--field-line); border-radius: var(--radius-1);
  background: var(--bg); color: var(--ink); font: 500 1rem/1.2 var(--font-mono);
}
.field select option { background: #ffffff; color: #1d1c1b; }
.reach:not(:has([data-reach-cars])) { grid-template-columns: minmax(0, 1fr); }
.reach__answer { grid-column: 1 / -1; min-height: 3em; padding: var(--sp-4); border-left: 2px solid var(--line-strong); color: var(--ink-2); }
.reach__answer[data-zone="home"], .reach__answer[data-zone="group"] { border-color: var(--green); color: var(--ink); }
.reach__answer[data-zone="group_short"] { border-color: var(--orange); color: var(--ink); }
.reach__answer[data-zone="outside"] { border-color: var(--coral); color: var(--ink); }

.map svg { display: block; width: 100%; max-width: 640px; margin-inline: auto; overflow: visible; }
.map__far { fill: rgba(246, 244, 242, 0.03); stroke: var(--ink-3); stroke-width: 2; stroke-dasharray: 6 9; }
.map__home { fill: rgba(201, 154, 60, 0.12); stroke: var(--accent); stroke-width: 2; }
.map--open .map__home { fill: rgba(201, 154, 60, 0.07); stroke: var(--line-accent); stroke-dasharray: 2 10; }
.map--open .map__ring { fill: var(--accent-ink); }
.map__sweep { fill: none; stroke: var(--accent); stroke-width: 1.5; opacity: 0; transform-box: view-box; transform-origin: 0 0; animation: sweep 5s var(--ease-out) infinite; }
.map__ring { fill: var(--ink-3); font: 500 19px/1 var(--font-mono); letter-spacing: 0.08em; text-anchor: middle; text-transform: uppercase; }
.map__town circle { fill: var(--ink-3); transition: fill var(--dur-1); }
.map__town.is-home circle { fill: var(--ink); }
.map__town.is-picked circle { fill: var(--accent); stroke: var(--ink); stroke-width: 3; }
.map__town text, .map__base text { fill: var(--ink-2); font: 500 20px/1 var(--font-mono); letter-spacing: 0.02em; }
.map__base circle { fill: var(--accent); }
.map__base text { fill: var(--ink); font-weight: 700; }
@keyframes sweep { 0% { scale: 1; opacity: 0.7; } 100% { scale: 3.3; opacity: 0; } }

.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: var(--sp-3); }
.facts li { display: grid; align-content: start; gap: var(--sp-3); padding: var(--sp-5); border: 1px solid var(--line); border-radius: var(--radius-2); background: var(--bg-sunk); }
.facts h3, .band h3 { font-size: var(--step-1); font-weight: 700; line-height: 1.15; }
.facts p, .band p { color: var(--ink-2); }

.band { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(24px, 4vw, 64px); padding: clamp(48px, 8vh, 96px) var(--gutter); border-block: 1px solid var(--line); background: var(--bg-sunk); }
.band__copy { display: grid; align-content: start; gap: var(--sp-4); }
.band__list { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); gap: var(--sp-6); }
.band__list li { display: grid; align-content: start; gap: var(--sp-2); }

/* Greyscale until somebody looks at one. */
.partners { display: flex; flex-wrap: wrap; align-items: center; gap: clamp(24px, 5vw, 72px); }
.partner { display: grid; justify-items: start; gap: var(--sp-3); }
.partner img { display: block; width: auto; height: clamp(44px, 6vw, 64px); filter: grayscale(1) brightness(1.35) contrast(0.92); opacity: 0.72; transition: filter var(--dur-2), opacity var(--dur-2); }
.partner:hover img, .partner:focus-within img { filter: none; opacity: 1; }
.partner a { text-decoration: none; }
.partner__word { display: flex; align-items: center; height: clamp(44px, 6vw, 64px); font-size: clamp(1.3rem, 1rem + 1.4vw, 2rem); font-weight: 700; letter-spacing: -0.01em; text-transform: uppercase; color: var(--ink-3); transition: color var(--dur-2); }
.partner:hover .partner__word, .partner:focus-within .partner__word { color: var(--ink); }
.partner span { font: 500 var(--step--1)/1 var(--font-mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-3); }

.reviews, .videos { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); gap: var(--sp-3); }
.review { display: grid; gap: var(--sp-4); padding: var(--sp-5); border: 1px solid var(--line); border-radius: var(--radius-2); background: var(--bg-sunk); }
.review__text { font-size: var(--step-1); line-height: 1.35; }
.review__who { font: 500 var(--step--1)/1.4 var(--font-mono); color: var(--ink-3); }
.video { display: grid; gap: var(--sp-2); }
.video__play, .video iframe { display: grid; place-content: center; gap: var(--sp-3); width: 100%; aspect-ratio: 9 / 14; padding: var(--sp-5); border: 1px solid var(--line); border-radius: var(--radius-2); background: var(--bg-sunk); text-align: center; cursor: pointer; }
.video iframe { padding: 0; cursor: auto; }
.video__where { font: 500 var(--step--1)/1 var(--font-mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-3); }
.video__go { font-size: var(--step-1); font-weight: 700; }
.video__fine { font-size: var(--step--1); color: var(--ink-3); }

.faq { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item summary { display: flex; align-items: center; justify-content: space-between; gap: var(--sp-4); min-height: 64px; padding: var(--sp-3) 0; font-size: var(--step-1); font-weight: 600; line-height: 1.25; cursor: pointer; list-style: none; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: "+"; flex: none; font: 500 1.6rem/1 var(--font-mono); color: var(--ink-3); transition: rotate var(--dur-2) var(--ease-out); }
.faq__item[open] summary::after { rotate: 45deg; }
.faq__item p { max-width: 62ch; padding-bottom: var(--sp-5); color: var(--ink-2); }

.finish { display: grid; justify-items: center; gap: var(--sp-5); padding: clamp(96px, 18vh, 200px) var(--gutter); text-align: center; }
.finish__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--sp-3); }

/* -- how a visit goes ------------------------------------------------------------ */

.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr)); gap: var(--sp-3); }
.step { position: relative; display: grid; align-content: start; gap: var(--sp-3); padding: var(--sp-5); border: 1px solid var(--line); border-radius: var(--radius-2); background: var(--bg-sunk); }
.step::before { content: ""; position: absolute; inset: 0 var(--sp-5) auto; height: 2px; background: linear-gradient(90deg, var(--gold-3), transparent); }
.step__no { font: 600 var(--step-2)/1 var(--font-mono); letter-spacing: 0.02em; color: var(--accent-ink); }
.step h3 { font-size: var(--step-1); font-weight: 700; line-height: 1.15; }
.step p { color: var(--ink-2); }

/* -- the booking, step by step ---------------------------------------------------- */

.wizard {
  display: grid; gap: var(--sp-5); max-width: 60rem; padding: clamp(18px, 3vw, 40px);
  border: 1px solid var(--line-accent); border-radius: var(--radius-2); background: var(--bg-sunk);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
}
.wizard__rail { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: var(--sp-2); }
.wizard__rail li {
  display: grid; gap: 6px; padding-top: var(--sp-3); border-top: 2px solid var(--line-strong);
  font: 500 var(--step--1)/1.2 var(--font-mono); letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-3);
  transition: color var(--dur-2), border-color var(--dur-2);
}
.wizard__rail li span { font-weight: 700; }
.wizard__rail li.is-done { border-color: var(--gold-4); color: var(--ink-2); }
.wizard__rail li.is-on { border-color: var(--gold-2); color: var(--ink); }
.wizard__rail li.is-on span { color: var(--accent-ink); }

/* A fieldset lays its legend out by rules of its own, so the steps are plain blocks with space between. */
.wizard__step { display: block; min-width: 0; padding-top: var(--sp-5); border-top: 1px solid var(--line); }
.wizard__step > * + * { margin-top: var(--sp-4); }
.wizard .field { display: block; }
.wizard__step legend { display: block; width: 100%; padding: 0 0 var(--sp-4); font-size: var(--step-2); font-weight: 700; line-height: 1.1; letter-spacing: -0.01em; }
.wizard__step legend + * { margin-top: 0; }
.wizard.is-stepped .wizard__step { border-top: 0; padding-top: 0; min-height: 17rem; }
.wizard.is-stepped .wizard__step:not(.is-on) { display: none; }
.wizard__row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--sp-3); }
.wizard__row .field--small { max-width: 11rem; }
.field textarea {
  width: 100%; min-height: 96px; padding: var(--sp-3) var(--sp-4); border: 1px solid var(--field-line); border-radius: var(--radius-1);
  background: var(--bg); color: var(--ink); font: 500 1rem/1.4 var(--font-mono); resize: vertical;
}
.field input[type="date"] { max-width: 16rem; }
.find--wide { max-width: none; margin: 0; }
.wizard__picked { padding: var(--sp-3) var(--sp-4); border-left: 2px solid var(--gold-2); font-weight: 600; }
.wizard__sum { min-height: 1.3em; font: 700 var(--step-1)/1.3 var(--font-mono); color: var(--accent-ink); }
.wizard__windows { display: flex; flex-wrap: wrap; gap: var(--sp-2); }

.chip { position: relative; display: inline-flex; cursor: pointer; }
.chip input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.chip span {
  display: inline-flex; align-items: center; min-height: 48px; padding: 0 var(--sp-5);
  border: 1px solid var(--line-strong); border-radius: var(--radius-pill);
  font: 600 var(--step--1)/1 var(--font-mono); letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-2);
  transition: background var(--dur-1), color var(--dur-1), border-color var(--dur-1);
}
.chip input:checked + span { border-color: transparent; background: var(--btn-bg); color: var(--btn-ink); }
.chip input:focus-visible + span { outline: 2px solid var(--focus); outline-offset: 3px; }

.wizard__review { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: var(--sp-2) var(--sp-5); }
.wizard__review dt { font: 500 var(--step--1)/1.6 var(--font-mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-3); }
.wizard__review dd { margin: 0; font-weight: 600; overflow-wrap: anywhere; }
.wizard .finish__actions { justify-content: flex-start; }
.wizard__why { padding: var(--sp-3) var(--sp-4); border-left: 2px solid var(--orange); color: var(--ink); }
.wizard__nav { display: flex; justify-content: space-between; gap: var(--sp-3); padding-top: var(--sp-4); border-top: 1px solid var(--line); }
.wizard__nav [disabled] { visibility: hidden; }

/* The portal's own booking widget, dressed as the rest of the page. */
.book__panel { display: grid; gap: var(--sp-5); max-width: 60rem; }
.book__panel .finish__actions { justify-content: flex-start; }
.book__widget { min-height: 12rem; }
.book__widget .tsg-wrap {
  max-width: none; padding: clamp(18px, 3vw, 40px); border: 1px solid var(--line-accent); border-radius: var(--radius-2);
  background: var(--bg-sunk); color: var(--ink); font-family: var(--font-sans); box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
}
.book__widget .tsg-label { font: 500 var(--step--1)/1 var(--font-mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-3); }
.book__widget .tsg-select, .book__widget .tsg-input {
  min-height: 52px; border: 1px solid var(--field-line); border-radius: var(--radius-1);
  background: var(--bg); color: var(--ink); font: 500 1rem/1.2 var(--font-mono);
}
.book__widget .tsg-select option { background: #ffffff; color: #1d1c1b; }
.book__widget .tsg-btn {
  min-height: 48px; padding: 0 var(--sp-5); border: 0; border-radius: var(--radius-pill); background: var(--btn-bg); color: var(--btn-ink);
  font: 600 var(--step--1)/1 var(--font-mono); letter-spacing: 0.06em; text-transform: uppercase; cursor: pointer;
}
.book__widget .tsg-btn-ghost { border: 1px solid var(--line-strong); background: none; color: var(--ink); }
.book__widget .tsg-gain, .book__widget .tsg-ok, .book__widget .tsg-fuel strong { color: var(--accent-ink); }
.book__widget .tsg-card, .book__widget .tsg-fuel { border-radius: var(--radius-1); background: var(--bg); }
.book__widget .tsg-card-title, .book__widget .tsg-note { color: var(--ink-3); }
.book__widget .tsg-card-stock { border-left-color: var(--ink-3); }
.book__widget .tsg-card-s1 { border-left-color: var(--gold-2); }
.book__widget .tsg-pill, .book__widget .tsg-chip {
  min-height: 40px; padding: 0 var(--sp-4); border: 1px solid var(--line-strong); border-radius: var(--radius-pill);
  background: none; color: var(--ink-2); font: 600 var(--step--1)/1 var(--font-mono); letter-spacing: 0.04em;
}
.book__widget .tsg-pill:hover, .book__widget .tsg-chip:hover { border-color: var(--gold-2); color: var(--ink); }
.book__widget .tsg-pill.on, .book__widget .tsg-chip[aria-pressed="true"] { border-color: transparent; background: var(--btn-bg); color: var(--btn-ink); }
.book__widget .tsg-book { border-top-color: var(--line); }

.stop__book { justify-self: start; margin-top: var(--sp-2); }

/* -- two countries, one firm ------------------------------------------------------ */

.pair {
  position: relative; display: grid; justify-items: center; gap: var(--sp-5); overflow: hidden;
  padding: clamp(88px, 16vh, 180px) var(--gutter); text-align: center;
  border-block: 1px solid var(--line-accent);
  background: radial-gradient(90% 120% at 50% 0%, rgba(201, 154, 60, 0.16), transparent 62%), var(--bg-sunk);
}
.pair__rings { width: min(100%, 420px); overflow: visible; }
.pair__ring { fill: none; stroke: var(--gold-2); stroke-width: 1.5; }
.pair__ring + .pair__ring { stroke: var(--gold-1); }
.pair__rings text { fill: var(--ink); font: 700 30px/1 var(--font-mono); letter-spacing: 0.12em; }
.pair__title { display: flex; flex-wrap: wrap; justify-content: center; align-items: baseline; gap: 0.2em 0.5em; font-size: clamp(1.7rem, 1rem + 3vw, 3.6rem); font-weight: 700; line-height: 1; letter-spacing: -0.02em; text-transform: uppercase; }
.pair__title i { font-style: normal; font-weight: 400; color: var(--accent-ink); }
.pair__motto {
  font: 600 clamp(1rem, 0.8rem + 1vw, 1.5rem)/1 var(--font-mono); letter-spacing: 0.42em; text-transform: uppercase;
  background: linear-gradient(90deg, var(--gold-3), var(--gold-1) 50%, var(--gold-3)); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.pair__sides { display: grid; grid-template-columns: repeat(2, minmax(0, 24rem)); gap: clamp(24px, 5vw, 80px); margin-top: var(--sp-5); text-align: left; }
.pair__sides li { display: grid; align-content: start; gap: var(--sp-2); padding-top: var(--sp-4); border-top: 1px solid var(--line-accent); }
.pair__sides h3 { font-size: var(--step-1); font-weight: 700; }
.pair__sides p { color: var(--ink-2); }

/* -- footer -------------------------------------------------------------------- */

.foot { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: var(--sp-6); padding: var(--sp-8) var(--gutter) 88px; border-top: 1px solid var(--line); background: var(--bg-sunk); color: var(--ink-2); font-size: var(--step--1); line-height: 1.7; }
.foot__brand { margin-bottom: var(--sp-3); font-size: 1.2rem; color: var(--ink-2); }
.foot__brand b { color: var(--ink); font-weight: 700; }
.foot__head { margin-bottom: var(--sp-2); font: 500 var(--step--1)/1 var(--font-mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-3); }
.foot a { display: inline-block; padding: 6px 0; }
.foot__hours { color: var(--accent-ink); font: 600 var(--step--1)/1 var(--font-mono); letter-spacing: 0.08em; text-transform: uppercase; }
.foot__fine { grid-column: 1 / -1; padding-top: var(--sp-5); border-top: 1px solid var(--line); color: var(--ink-3); }

/* -- a page of text ------------------------------------------------------------- */

.plain { max-width: 72ch; margin: 0 auto; padding: 132px var(--gutter) var(--sp-9); }
.plain__body { font-size: clamp(1rem, 0.96rem + 0.2vw, 1.1rem); line-height: 1.65; color: var(--ink-2); }
.plain__body .kicker a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; }
.plain__body .kicker a:hover { color: var(--ink); }
.plain__body h1 { margin: 0 0 var(--sp-4); color: var(--ink); }
.plain__body h2 { margin: var(--sp-7) 0 var(--sp-3); padding-top: var(--sp-5); border-top: 1px solid var(--line); color: var(--ink); font-size: var(--step-1); font-weight: 600; line-height: 1.25; letter-spacing: -0.01em; }
.plain__body p { margin: 0 0 var(--sp-4); text-wrap: pretty; }
.plain__body ul { margin: 0 0 var(--sp-4); padding-left: 1.2em; }
.plain__body li { margin-bottom: var(--sp-3); padding-left: var(--sp-1); }
.plain__body li::marker { color: var(--accent-ink); }
.plain__body a:not(.btn) { color: var(--accent-ink); text-decoration-thickness: 1px; text-underline-offset: 3px; }
.plain__body a:not(.btn):hover { color: var(--gold-1); }
.plain__meta { font: 500 var(--step--1)/1.2 var(--font-mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-3); }
.plain__actions { display: flex; flex-wrap: wrap; gap: var(--sp-3); margin-top: var(--sp-6); }
.plain--lost { min-height: 72vh; }

/* -- the bar at the bottom of a phone -------------------------------------------- */

.dock { display: none; }

/* -- narrow -------------------------------------------------------------------- */

@media (max-width: 1080px) {
  .top__nav { display: none; }
  .menu { display: block; }
}

@media (max-width: 520px) {
  .pill__hours { display: none; }
  .plain { padding-top: 104px; }
}

/* The narrowest phones: the name, the number and the menu have to share one line. */
@media (max-width: 400px) {
  .top { gap: var(--sp-2); }
  .top__actions { gap: var(--sp-2); }
  .brand { gap: 8px; font-size: 1.05rem; }
  .brand__mark { width: 24px; height: 24px; }
  .pill { padding: 0 var(--sp-3); letter-spacing: 0.02em; }
}

/* Under a finger, a link on a line of its own is a fingertip high. */
@media (pointer: coarse), (max-width: 860px) {
  .foot a, .more { display: inline-flex; align-items: center; min-width: 44px; min-height: 44px; padding-block: 0; }
  .foot br { display: none; }
  .foot__col p { display: grid; justify-items: start; }
  .find__opt { min-height: 52px; }
  .book__widget .tsg-pill, .book__widget .tsg-chip { min-height: 44px; }
  .book__widget .tsg-select, .book__widget .tsg-input, .book__widget select, .book__widget input, .book__widget textarea { min-height: 48px; font-size: 16px; }
  .book__widget .tsg-btn, .book__widget .tsg-btn-ghost { min-height: 48px; }
  .field input, .field select, .field textarea, .find__input { font-size: max(16px, 1em); }
}

@media (max-width: 860px) {
  .hero {
    grid-template-columns: minmax(0, 1fr); gap: var(--sp-5);
    grid-template-areas: "title" "lead" "dial" "find" "car" "rates";
    padding-top: 92px;
  }
  .hero__copy { display: contents; }
  .hero__title, .hero__lead, .find, .car, .rates { position: relative; z-index: 3; }
  .hero__title { grid-area: title; margin: 0; }
  .hero__lead { grid-area: lead; margin: 0; max-width: none; }
  .hero__dial { grid-area: dial; width: min(100%, 58vh); position: static; }
  /* Each of these is a layer of its own here, and the search opens its list over the ones after it. */
  .find { grid-area: find; max-width: none; margin: 0; z-index: 4; }
  .car { grid-area: car; max-width: none; margin: 0; }
  .rates { grid-area: rates; max-width: none; }

  :root { --dock: calc(64px + env(safe-area-inset-bottom, 0px)); }

  .dock {
    position: fixed; inset: auto 0 0; z-index: 6;
    display: grid; grid-template-columns: 1fr 1fr 1.25fr; gap: var(--sp-2);
    padding: var(--sp-2) max(var(--sp-2), env(safe-area-inset-left, 0px)) calc(var(--sp-2) + env(safe-area-inset-bottom, 0px)) max(var(--sp-2), env(safe-area-inset-right, 0px));
    border-top: 1px solid var(--line-strong); background: rgba(30, 29, 28, 0.94);
    -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
    transition: transform var(--dur-2) var(--ease-out), visibility 0s;
  }
  .dock.is-away { transform: translateY(110%); visibility: hidden; transition: transform var(--dur-2) var(--ease-out), visibility 0s var(--dur-2); }
  .dock__way {
    display: flex; align-items: center; justify-content: center; gap: var(--sp-2); min-height: 48px;
    border: 1px solid var(--line-strong); border-radius: var(--radius-1); color: var(--ink);
    font: 700 var(--step--1)/1 var(--font-mono); letter-spacing: 0.06em; text-transform: uppercase; text-decoration: none;
  }
  .dock__way svg { flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
  .dock__way--book { border-color: transparent; background: var(--btn-bg); color: var(--btn-ink); }
  .dock__way:active { transform: scale(0.97); }
  .foot { padding-bottom: calc(var(--sp-7) + var(--dock)); }

  .scrub { display: none; }
  .scene__pin { padding-top: 84px; padding-bottom: calc(24px + var(--dock)); }
  .scene--machine .scene__pin { align-items: end; }
  .scene__copy { max-width: none; }

  .works__labels { top: auto; bottom: calc(20px + var(--dock)); width: 46%; gap: var(--sp-2); translate: none; }
  /* On a phone the labels are a legend: lines drawn across them would only cross each other. */
  .works__leaders { display: none; }
  .hero__dial { margin-bottom: var(--sp-5); }

  /* The services: the words take the room they need, the dial takes what is left - so nothing is cut, on any phone. */
  .scene--gallery .scene__pin { grid-template-columns: minmax(0, 1fr); grid-template-rows: minmax(0, 1fr) auto; align-items: center; gap: var(--sp-3); }
  .gallery__title { display: none; }
  .gallery__dial { order: -1; width: auto; height: min(100%, 86vw); }
  .js .gallery__stops { display: grid; min-height: 0; }
  .js .stop { position: relative; inset: auto; grid-area: 1 / 1; align-self: end; }
  .stop { gap: var(--sp-3); padding: var(--sp-4); max-width: none; }
  .stop__name { font-size: clamp(1.7rem, 1.2rem + 2.4vw, 2.4rem); }
  .stop__lead { font-size: var(--step-0); }
  .stop__points { gap: var(--sp-1); padding-top: var(--sp-3); }
  .stop__notice { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .stop__book { margin-top: 0; }

  .scene--estimate .scene__pin { grid-template-columns: minmax(0, 1fr); align-items: start; }
  .estimate { gap: var(--sp-3); padding: var(--sp-4); }
  .pick { min-height: 44px; padding: 2px 0; }

  .block--split, .band { grid-template-columns: minmax(0, 1fr); }

  .wizard__rail li { gap: 0; font-size: 0; }
  .wizard__rail li span { font-size: 0.8rem; }
  .wizard__row, .pair__sides { grid-template-columns: minmax(0, 1fr); }
  .wizard__row .field--small { max-width: none; }
  .wizard.is-stepped .wizard__step { min-height: 0; }
  .wizard__review { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .wizard__review dd { margin-bottom: var(--sp-3); }
  .wizard__nav .btn { flex: 1; }
  .pair__motto { letter-spacing: 0.24em; }
  /* The cars are one row that a thumb moves sideways; the next one shows its edge, so the row is seen to go on. */
  .cars {
    grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: min(76vw, 300px);
    margin-inline: calc(-1 * var(--gutter)); padding: 2px var(--gutter) var(--sp-3);
    overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter);
    scrollbar-width: none; -webkit-overflow-scrolling: touch;
  }
  .cars::-webkit-scrollbar { display: none; }
  .carcard { scroll-snap-align: start; }
  .carcard__hit { height: 100%; }

  /* The map is drawn in its own units; on a phone they have to be bigger to be read. */
  .map__town text, .map__base text, .map__ring { font-size: 34px; }
  .map__town circle { r: 9px; }
}

/* A phone held sideways has little height to give: the bar is lower, and says the same. */
@media (max-width: 860px) and (max-height: 480px) {
  :root { --dock: calc(52px + env(safe-area-inset-bottom, 0px)); }
  .dock { padding-top: var(--sp-1); padding-bottom: calc(var(--sp-1) + env(safe-area-inset-bottom, 0px)); }
  .dock__way { min-height: 44px; }
}

/* A short screen cannot hold a form still while the page moves under it. */
@media (max-height: 700px) {
  .js .scene--estimate { height: auto; }
  .js .scene--estimate .scene__pin { position: relative; height: auto; }
}

/* On a phone that is not tall, the three points of a service give their room to the dial. */
@media (max-width: 860px) and (max-height: 800px) {
  .stop__points { display: none; }
}

/*
 * A screen too short to hold a scene still - a small phone, or any phone held sideways.
 * The scenes are let go: they scroll like the rest of the page, the services are a list
 * that is read from top to bottom, and the dial that would show one of them at a time is put away.
 */
@media (max-width: 960px) and (max-height: 600px) {
  .js .scene--machine, .js .scene--gallery { height: auto; }
  .js .scene--machine .scene__pin, .js .scene--gallery .scene__pin { position: relative; height: auto; min-height: 0; overflow: visible; }
  .scene--machine .scene__pin { min-height: 100svh; }
  .scene--gallery .scene__pin { grid-template-rows: auto; padding-top: var(--sp-7); }
  .gallery__title { display: block; position: static; }
  .gallery__dial { display: none; }
  .js .gallery__stops { gap: var(--sp-3); }
  .js .stop, .js .stop.is-on { position: relative; grid-area: auto; opacity: 1; visibility: visible; translate: none; transition: none; }
  .stop__points { display: grid; }
  .stop__notice { display: block; }
  .tag span { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation: none !important; }
}
