:root {
  --paper: #F5F5F5;
  --ink: #06233D;
  --muted: color-mix(in srgb, #06233D 62%, #F5F5F5);
  --line: color-mix(in srgb, #06233D 18%, #F5F5F5);
  --ticket: #F5F5F5;
  --lane: #F5D25A;
  --signal: #F5D25A;
  --signal-ink: #06233D;
  --tile: #06233D;
  --sky: #F5F5F5;
  --building: #06233D;
  --road: #06233D;
  --header: 4.5rem;
  --wrap: 72rem;
  --round: 1.6rem;
  --font: "Schibsted Grotesk", "Segoe UI", Tahoma, sans-serif;
  --mark: "Anybody", "Arial Narrow", Impact, sans-serif;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; overflow-x: hidden; }

body {
  margin: 0;
  overflow-x: clip;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
}

img, svg { display: block; max-width: 100%; }
[hidden] { display: none !important; }
.shape { width: 100%; height: auto; }

h1, h2, h3, p { margin: 0; }

h1, h2, h3 {
  font-family: var(--mark);
  font-weight: 700;
  font-stretch: 100%;
  letter-spacing: -0.02em;
  line-height: 1.08;
  text-wrap: balance;
}

a { color: inherit; }

.skip {
  position: absolute;
  inset-inline-start: 1rem;
  top: -4rem;
  background: var(--ink);
  color: var(--paper);
  padding: 0.6rem 0.9rem;
  z-index: 20;
}

.skip:focus { top: 0.6rem; }

.sr {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.wrap {
  width: min(var(--wrap), calc(100% - 2.4rem));
  margin-inline: auto;
}

.wordmark {
  font-family: var(--mark);
  font-weight: 760;
  font-stretch: 115%;
  letter-spacing: -0.04em;
  line-height: 0.8;
}

.btn {
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.7rem 2.7rem 0.7rem 1.45rem;
  border: 3px solid var(--ink);
  border-radius: 999px;
  background: var(--paper);
  color: var(--ink);
  box-shadow: inset 12px 0 0 var(--lane);
  font: 600 1rem/1 var(--font);
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
}

.btn::after {
  content: "";
  position: absolute;
  right: 0.55rem;
  top: 50%;
  width: 1rem;
  height: 1rem;
  margin-top: -0.5rem;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 50%, var(--ink) 0 3.5px, var(--paper) 4px 100%);
  box-shadow: 0 0 0 2px var(--ink);
}

.btn::before {
  content: "";
  position: absolute;
  right: -0.05rem;
  top: 50%;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--ink);
  box-shadow: -0.55rem 0.35rem 0 -0.08rem var(--ink);
  animation: puff 1.35s ease-out infinite;
  pointer-events: none;
  z-index: 2;
}

.btn-signal {
  background: var(--ink);
  border-color: var(--lane);
  color: var(--lane);
  box-shadow: inset 12px 0 0 var(--lane);
}

.btn-signal::after {
  background: radial-gradient(circle at 50% 50%, var(--ink) 0 3.5px, var(--lane) 4px 100%);
  box-shadow: 0 0 0 2px var(--paper);
}

.btn-signal:hover { background: color-mix(in srgb, var(--ink) 78%, var(--lane)); }

.btn-ink:hover { background: var(--lane); }

:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 3px;
}

.top {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  min-height: var(--header);
  padding: 0.75rem 4vw;
  background: color-mix(in srgb, var(--paper) 92%, transparent);
  border-bottom: 0;
  backdrop-filter: blur(8px);
  overflow-x: clip;
}

.top::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: var(--lane);
  pointer-events: none;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  margin-inline-end: auto;
}

.brand-logo {
  display: block;
  height: 2.15rem;
  width: auto;
}

.wordmark { font-size: 2rem; }

.brand-line {
  color: var(--muted);
  font-size: 0.92rem;
}

.nav {
  display: flex;
  gap: 1.25rem;
}

.nav a {
  position: relative;
  text-decoration: none;
  font-weight: 600;
  padding-bottom: 0.55rem;
}

.nav a:hover::before,
.nav a[aria-current="page"]::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.28rem;
  height: 3px;
  background: repeating-linear-gradient(90deg, var(--ink) 0 5px, transparent 5px 9px);
}

.nav a:hover::after,
.nav a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.12rem;
  height: 0.62rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 52 24'%3E%3Crect x='21' y='6' width='30' height='13' fill='%23F5D25A' stroke='%2306233D' stroke-width='2'/%3E%3Cpath d='M22 10H10L3 16v3H22z' fill='%23F5F5F5' stroke='%2306233D' stroke-width='2'/%3E%3Ccircle cx='40' cy='19' r='3.2' fill='%2306233D'/%3E%3Ccircle cx='12' cy='19' r='3.2' fill='%2306233D'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: 1.15rem 0.52rem;
  background-position: 100% 100%;
  animation: nav-back 2.6s linear infinite;
  pointer-events: none;
}

.menu { display: none; }

.hero { padding-top: 0.35rem; }

.hero-copy,
.hero .street-key {
  width: min(40rem, calc(100% - 8vw));
  margin-left: 4vw;
  margin-right: auto;
  text-align: left;
}

.hero h1,
.hero .lede,
.hero-actions { text-align: left; }

.hero-actions { justify-content: flex-start; }

.hero h1 {
  font-size: clamp(2.15rem, 3vw, 3.05rem);
  font-weight: 700;
  font-stretch: 96%;
  line-height: 1.06;
  letter-spacing: -0.025em;
  text-wrap: auto;
}

.lede {
  margin-top: 0.55rem;
  max-width: none;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.5;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 0.85rem;
  margin-top: 0.7rem;
  margin-left: 0;
  padding: 0;
}

.street {
  margin-top: 1rem;
  background: var(--sky);
  overflow: hidden;
}

.skyline {
  display: flex;
  align-items: flex-end;
  height: 4.6rem;
  gap: 0.4rem;
  padding: 0 1.5vw;
}

.skyline i {
  display: block;
  flex: 1 1 0;
  height: var(--h, 60%);
  background: var(--building);
  border-radius: 0.55rem 0.55rem 0.2rem 0.2rem;
  opacity: 0.92;
  position: relative;
}

.skyline i::after {
  content: "";
  position: absolute;
  top: 18%;
  left: 18%;
  right: 18%;
  height: 0.35rem;
  background: repeating-linear-gradient(90deg, var(--lane) 0 6px, transparent 6px 14px);
}

.road {
  position: relative;
  height: 12.8rem;
  background: var(--road);
  overflow: hidden;
}

.dashes {
  position: absolute;
  left: 0;
  right: 0;
  top: 46%;
  height: 4px;
  background: repeating-linear-gradient(90deg, var(--lane) 0 26px, transparent 26px 48px);
  clip-path: inset(0 100% 0 0);
  animation: reveal 1.2s ease forwards, march 2.8s linear infinite;
}

.v, .train {
  position: absolute;
  left: 0;
  will-change: transform;
}

.road > .dashes {
  top: 0;
  height: 100%;
  background-image:
    repeating-linear-gradient(90deg, var(--lane) 0 26px, transparent 26px 48px),
    repeating-linear-gradient(90deg, var(--lane) 0 26px, transparent 26px 48px);
  background-repeat: no-repeat;
  background-size: 100% 4px;
  background-position: 0 42%, 48px 90%;
  animation: reveal 1.2s ease forwards, march-lanes 2.8s linear infinite;
}

.road > .v { width: 8.5rem; z-index: 1; }
.road > .v[data-kind="truck"] { width: 10.5rem; top: 0.4rem; animation: cross 28s linear infinite; animation-delay: -3s; }
.road > .v[data-kind="bus"] { width: 12.2rem; top: 0.55rem; animation: cross 36s linear infinite; animation-delay: -16s; }
.road > .v[data-kind="bike"] { width: 6.4rem; top: 7.35rem; animation: cross-back 20s linear infinite; animation-delay: -6s; }
.road > .v[data-kind="roof"] { width: 8.4rem; top: 7.05rem; animation: cross-back 26s linear infinite; animation-delay: -15s; }

.road > .v[data-kind="bike"] .shape,
.road > .v[data-kind="roof"] .shape { transform: scaleX(-1); }

.street[data-focus="truck"] .v:not([data-kind="truck"]),
.street[data-focus="bike"] .v:not([data-kind="bike"]),
.street[data-focus="bus"] .v:not([data-kind="bus"]),
.street[data-focus="roof"] .v:not([data-kind="roof"]),
.street[data-focus="truck"] .train,
.street[data-focus="bike"] .train,
.street[data-focus="bus"] .train,
.street[data-focus="roof"] .train,
.street[data-focus="metro"] .v {
  opacity: 0.22;
  transition: opacity 240ms ease;
}

.tunnel {
  position: relative;
  height: 3.4rem;
  background: var(--tile);
  overflow: hidden;
  box-shadow: inset 0 4px 0 var(--lane);
}

.tunnel-name {
  position: absolute;
  inset-inline-start: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--lane);
  font-size: 0.85rem;
  font-weight: 600;
  z-index: 1;
}

.train {
  width: 11rem;
  top: 0.45rem;
  animation: cross-back 28s linear infinite;
}

.street-key {
  margin-top: 0.8rem;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.lane {
  margin-top: 1.6rem;
  background: var(--ink);
  overflow: hidden;
  padding-block: 0;
}

.lane-list li { color: var(--paper); }

.road-rule {
  position: relative;
  height: 5.6rem;
  background: var(--ink);
  overflow: hidden;
}

.road-rule .dashes { top: 52%; }

.road-rule .v {
  width: 6.2rem;
  top: 0.7rem;
  z-index: 1;
  animation: cross 34s linear infinite;
}

.road-rule .v[data-kind="bus"] { width: 8.2rem; top: 0.85rem; }
.road-rule .v[data-kind="truck"] { width: 6.4rem; top: 0.55rem; }
.road-rule .v[data-kind="bike"] { width: 4.1rem; top: 1.85rem; animation-duration: 26s; }
.road-rule .v[data-kind="roof"] { width: 5.2rem; top: 1.55rem; animation-duration: 30s; }

.r1 .v:nth-child(2) { animation-delay: -2s; }
.r1 .v:nth-child(3) { animation-delay: -5s; }
.r2 .v:nth-child(2) { animation-duration: 18s; animation-delay: -7s; }
.r2 .v:nth-child(3) { animation-delay: -3s; }
.r3 .v:nth-child(2) { animation-duration: 12s; animation-delay: -4s; }
.r3 .v:nth-child(3) { animation-name: cross-back; animation-delay: -6s; }
.r4 .v:nth-child(2) { animation-duration: 20s; animation-delay: -9s; }
.r4 .v:nth-child(3) { animation-name: cross-back; animation-delay: -1s; }

.lane:hover .lane-track { animation-play-state: paused; }

.lane-track {
  display: flex;
  width: max-content;
  padding-block: 0.85rem;
  animation: lane 56s linear infinite;
}

.lane-list {
  display: flex;
  gap: 2.2rem;
  margin: 0;
  padding: 0 1.1rem;
  list-style: none;
}

.lane-list li {
  font-family: var(--mark);
  font-stretch: 100%;
  font-weight: 650;
  font-size: 1.15rem;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.lane-list li::before {
  content: "";
  display: inline-block;
  width: 1.1rem;
  height: 0.28rem;
  margin-inline-end: 2.2rem;
  background: var(--lane);
  vertical-align: middle;
}

.fleet, .networks, .book { padding-block: 4.2rem 2.6rem; }

.section-head { max-width: 40rem; }

.section-head h1,
.section-head h2 {
  position: relative;
  overflow: hidden;
  font-size: clamp(2rem, 3.6vw, 3rem);
  max-width: 18em;
  padding-bottom: 1.35rem;
  background-image: repeating-linear-gradient(90deg, var(--ink) 0 14px, transparent 14px 26px);
  background-size: 52px 4px;
  background-repeat: repeat-x;
  background-position: left bottom;
}

.section-head h1::after,
.section-head h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 2.6rem;
  height: 1.15rem;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 52 24'%3E%3Crect x='1' y='6' width='30' height='13' fill='%23F5D25A' stroke='%2306233D' stroke-width='2'/%3E%3Cpath d='M30 10h12l7 6v3H30z' fill='%23F5F5F5' stroke='%2306233D' stroke-width='2'/%3E%3Ccircle cx='12' cy='19' r='3.2' fill='%2306233D'/%3E%3Ccircle cx='40' cy='19' r='3.2' fill='%2306233D'/%3E%3C/svg%3E") center / contain no-repeat;
  animation: drive 5.2s linear infinite;
}

.section-head p {
  margin-top: 0.8rem;
  color: var(--muted);
}

.table-scroll {
  margin-top: 1.6rem;
  overflow: auto;
  border: 2px solid var(--ink);
  border-radius: var(--round);
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 44rem;
}

th, td {
  padding: 0.95rem 0.8rem;
  text-align: start;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
  font-weight: 400;
}

thead th {
  font-weight: 700;
  background: color-mix(in srgb, var(--ink) 6%, var(--paper));
}

tbody th { font-weight: 700; white-space: nowrap; }

tbody tr:hover { background: color-mix(in srgb, var(--lane) 18%, var(--paper)); }

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.8rem;
  margin: 1.3rem 0 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.steps li {
  position: relative;
  counter-increment: step;
  padding-top: 0.85rem;
  font-weight: 600;
}

.steps li::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 4px;
  border-radius: 999px;
  background: var(--ink);
}

.steps li::before {
  content: counter(step);
  display: block;
  font-family: var(--mark);
  font-size: 1.4rem;
  line-height: 1;
  margin-bottom: 0.3rem;
}

.ticket {
  position: relative;
  display: grid;
  grid-template-columns: 1.4fr 0.8fr;
  gap: 0;
  margin-top: 1.6rem;
  background: var(--ticket);
  border: 2px solid var(--ink);
  border-radius: var(--round);
  box-shadow: 7px 7px 0 var(--lane);
  overflow: hidden;
}

.ticket::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 4px;
  background: var(--lane);
  z-index: 2;
}

.ticket.is-done { grid-template-columns: 1fr; }

.ticket-form { padding: 1.7rem 1.3rem 1.3rem; }

.field { margin-bottom: 0.9rem; }

.field label,
.field legend {
  display: block;
  font-weight: 600;
  margin-bottom: 0.3rem;
}

input, select, textarea {
  width: 100%;
  min-height: 2.9rem;
  padding: 0.55rem 0.7rem;
  border: 1.5px solid var(--ink);
  border-radius: 0.9rem;
  background: var(--paper);
  color: var(--ink);
  font: 500 1rem/1.4 var(--font);
}

textarea { min-height: 6rem; resize: vertical; }

input[aria-invalid="true"],
select[aria-invalid="true"] { background: var(--lane); }

.err {
  margin: 0.25rem 0 0;
  color: var(--ink);
  background: var(--lane);
  display: inline-block;
  border-radius: 999px;
  padding: 0.1rem 0.55rem;
  font-size: 0.92rem;
  font-weight: 600;
}

.areas {
  border: 0;
  margin: 0 0 0.9rem;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 0.95rem;
}

.areas legend { width: 100%; }

.areas label {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin: 0;
  font-weight: 500;
  cursor: pointer;
}

.areas input { width: 1.05rem; min-height: 1.05rem; accent-color: var(--signal); }

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.8rem;
}

.hp {
  position: absolute;
  left: -9999px;
  height: 0;
  overflow: hidden;
}

.form-status { min-height: 1.4rem; margin-top: 0.7rem; font-weight: 600; }

.stub {
  background: var(--ink);
  color: var(--paper);
  padding: 1.7rem 1.2rem 1.3rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.stub-mark {
  font-family: var(--mark);
  font-size: 2.4rem;
  font-stretch: 115%;
  line-height: 0.8;
}

.stub-mark img { display: block; height: 1.9rem; width: auto; }

.stub-kicker { color: var(--lane); font-weight: 600; }

.stub-list { margin: 0.6rem 0 0; }

.stub-list div { margin-bottom: 0.7rem; }

.stub-list dt { color: color-mix(in srgb, var(--paper) 68%, var(--lane)); font-size: 0.85rem; }

.stub-list dd { margin: 0; font-weight: 600; }

.stub-foot {
  margin-top: auto;
  color: color-mix(in srgb, var(--paper) 72%, var(--lane));
  font-size: 0.92rem;
}

.done { padding: 2rem 1.4rem 2.2rem; grid-column: 1 / -1; }

.done h3 { font-size: clamp(2rem, 4vw, 3rem); }

.done p { margin-top: 0.7rem; max-width: 36rem; }

.done-id { font-size: 1.15rem; }

.done .btn { margin-top: 1.2rem; }

.foot {
  margin-top: 0;
  border-top: 0;
  padding-block: 1.3rem 2rem;
}

.foot-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
}

.foot a { font-weight: 700; }

.foot-brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.foot-brand a { flex: none; display: block; }

.foot-logo { height: 1.7rem; width: auto; max-width: none; }

@media (max-width: 640px) {
  .foot { padding-block: 1.8rem 2.2rem; border-top: 3px solid var(--lane); }
  .foot-row {
    flex-direction: column;
    align-items: center;
    gap: 1.1rem;
    text-align: center;
  }
  .foot-brand {
    flex-direction: column;
    gap: 0.6rem;
    max-width: 18rem;
    color: var(--muted);
    font-size: 0.98rem;
    line-height: 1.5;
  }
  .foot-logo { height: 2.1rem; }
  .foot-row > .btn { width: 100%; max-width: 22rem; }
}

.foot a.wordmark {
  font-weight: 760;
  color: inherit;
  text-decoration: none;
}

.wordmark-s { font-size: 1.4rem; margin-inline-end: 0.4rem; }

#fleet, #networks, #book { scroll-margin-top: calc(var(--header) + 0.6rem); }

@keyframes march {
  to { background-position: 48px 0; }
}

@keyframes march-lanes {
  from { background-position: 0 42%, 48px 90%; }
  to { background-position: 48px 42%, 0 90%; }
}

@keyframes reveal {
  to { clip-path: inset(0 0 0 0); }
}

@keyframes cross {
  from { transform: translate3d(-40vw, 0, 0); }
  to { transform: translate3d(110vw, 0, 0); }
}

@keyframes cross-back {
  from { transform: translate3d(110vw, 0, 0); }
  to { transform: translate3d(-40vw, 0, 0); }
}

@keyframes lane {
  to { transform: translateX(-50%); }
}

@keyframes roll {
  from { background-position: 0 50%; }
  to { background-position: 64px 50%; }
}

@keyframes roll-line {
  from { background-position: 0 100%; }
  to { background-position: 64px 100%; }
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

@keyframes puff {
  0% { transform: translate(0, -50%) scale(0.35); opacity: 0; }
  18% { opacity: 0.95; }
  100% { transform: translate(28px, -18px) scale(1.25); opacity: 0; }
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.28; }
}

@keyframes idle {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-7px); }
}

@keyframes drive {
  from { transform: translateX(-3rem); }
  to { transform: translateX(70vw); }
}

@keyframes nav-back {
  to { background-position: 0% 100%; }
}

.page { padding-block: 2.6rem 3rem; }

.page .section-head { margin-bottom: 1.8rem; }

.route-page .section-head {
  margin-inline: auto;
  text-align: center;
}

.route-page .section-head h1 {
  margin-inline: auto;
  background-position: center bottom;
}

.route {
  width: min(72rem, calc(100% - 2.4rem));
  margin-inline: auto;
}

.route-stage { position: relative; }

.route-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.route-svg .lane,
.route-svg .lane-dash {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
}

.route-svg .lane {
  stroke: var(--ink);
  stroke-width: 68px;
}

.route-svg .lane-dash {
  stroke: var(--lane);
  stroke-width: 4px;
  stroke-dasharray: 14 16;
}

.stops {
  list-style: none;
  margin: 0;
  padding: 0;
  position: relative;
  z-index: 1;
}

.stop {
  height: 11.2rem;
  display: flex;
  align-items: center;
}

.stop:nth-child(odd) { justify-content: flex-start; }
.stop:nth-child(even) { justify-content: flex-end; }

.board {
  position: relative;
  width: 37%;
  display: grid;
  grid-template-columns: 5.4rem 1fr;
  gap: 0.7rem;
  align-items: center;
  padding: 0.95rem 1rem;
  border-radius: var(--round);
  background: var(--ink);
  color: var(--paper);
  isolation: isolate;
}

.board .mark { height: 4.5rem; border-radius: 1rem; z-index: 1; }
.board .mark-word { font-size: 0.92rem; }

.board h2 {
  position: relative;
  z-index: 1;
  color: var(--lane);
  font-size: 1.2rem;
  text-shadow: 0 0 12px color-mix(in srgb, var(--lane) 70%, transparent);
}

.board p {
  position: relative;
  z-index: 1;
  margin-top: 0.15rem;
  color: color-mix(in srgb, var(--paper) 80%, transparent);
  font-size: 0.86rem;
  line-height: 1.35;
}

.board::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 36px color-mix(in srgb, var(--lane) 62%, transparent);
  animation: glow 3.4s ease-in-out infinite;
  animation-delay: var(--d, 0s);
  pointer-events: none;
  z-index: 0;
}

.board::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 1.5rem;
  height: 0.55rem;
  margin-top: -0.28rem;
  background: var(--ink);
  border-radius: 999px;
  z-index: 0;
}

.stop:nth-child(odd) .board::after { right: -1.45rem; }
.stop:nth-child(even) .board::after { left: -1.45rem; }

.board .glint {
  position: absolute;
  inset: 0;
  z-index: 3;
  border-radius: inherit;
  overflow: hidden;
  pointer-events: none;
}

.board .glint::before {
  content: "";
  position: absolute;
  inset: -20% 0;
  background: linear-gradient(105deg, transparent 20%, color-mix(in srgb, #fff 28%, transparent) 38%, #fff 50%, color-mix(in srgb, #fff 28%, transparent) 62%, transparent 80%);
  transform: translateX(-130%);
}

.board:hover .glint::before,
.board:focus-within .glint::before {
  animation: glint 0.7s ease-out;
}

.board .mark::after { display: none; }

@keyframes glint {
  from { transform: translateX(-130%); }
  to { transform: translateX(130%); }
}

.board .bulbs {
  position: absolute;
  inset: 0.42rem;
  z-index: 2;
  border-radius: calc(var(--round) - 0.28rem);
  padding: 5px;
  background:
    radial-gradient(circle, #fff 0 1.6px, var(--lane) 2px 4px, transparent 4.6px) 0 0 / 20px 20px;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
  filter: drop-shadow(0 0 3px var(--lane));
  animation: chase 1.8s linear infinite;
  animation-delay: var(--d, 0s);
  pointer-events: none;
}

.route-car {
  position: absolute;
  left: 0;
  top: 0;
  width: 5.8rem;
  height: 2.8rem;
  z-index: 2;
  offset-position: 0 0;
  offset-rotate: auto;
  offset-anchor: center;
  animation: cruise 26s linear infinite;
  pointer-events: none;
}

.route-car svg { width: 100%; height: 100%; }

@keyframes cruise {
  0% { offset-distance: 0%; offset-rotate: auto 0deg; }
  42% { offset-distance: 100%; offset-rotate: auto 0deg; }
  50% { offset-distance: 100%; offset-rotate: auto 180deg; }
  92% { offset-distance: 0%; offset-rotate: auto 180deg; }
  100% { offset-distance: 0%; offset-rotate: auto 0deg; }
}

.mark {
  position: relative;
  overflow: hidden;
  display: grid;
  place-items: center;
  height: 8.4rem;
  border-radius: calc(var(--round) - 0.35rem);
  background: #000;
}

.mark-light { background: #fff; }

.mark img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 0.75rem 0.9rem;
}

.mark-word {
  font-family: var(--mark);
  font-weight: 760;
  font-stretch: 112%;
  font-size: 1.7rem;
  letter-spacing: -0.03em;
  color: var(--lane);
}

.mark::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 30%, color-mix(in srgb, var(--lane) 55%, transparent) 48%, transparent 66%);
  transform: translateX(-120%);
  animation: sheen 6.5s ease-in-out infinite;
  pointer-events: none;
}


.signwall {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr 1fr;
  gap: 1rem;
  align-items: stretch;
}

.sign {
  position: relative;
  padding: 1.7rem 1.35rem 1.35rem;
  border-radius: var(--round);
  background: var(--ink);
  color: var(--paper);
}

.sign .bulbs {
  position: absolute;
  inset: 0.38rem;
  border-radius: calc(var(--round) - 0.22rem);
  padding: 8px;
  background:
    radial-gradient(circle, #fff6c8 0 2px, var(--lane) 2.5px 4.5px, transparent 5px) 0 0 / 18px 18px;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
  filter: drop-shadow(0 0 4px var(--lane));
  animation: glow 3.2s ease-in-out infinite, chase 1.6s linear infinite;
  animation-delay: var(--d, 0s);
  pointer-events: none;
}

.sign::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 42px color-mix(in srgb, var(--lane) 55%, transparent);
  opacity: 0.15;
  animation: glow 3.2s ease-in-out infinite;
  animation-delay: var(--d, 0s);
  pointer-events: none;
}

.sign h2 {
  position: relative;
  color: var(--lane);
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  font-stretch: 112%;
}

.sign p {
  position: relative;
  margin-top: 0.45rem;
  max-width: 28rem;
}

.sign-wide { grid-column: span 2; }
.signwall .sign:last-child { grid-column: 1 / -1; }

.page-note {
  max-width: 40rem;
  margin-top: 2rem;
  color: var(--muted);
}

@keyframes glow {
  0%, 18% { opacity: 0.2; }
  42%, 78% { opacity: 1; }
  100% { opacity: 0.2; }
}

@keyframes chase {
  to { background-position: 18px 0; }
}

@keyframes sheen {
  0%, 55% { transform: translateX(-120%); }
  85%, 100% { transform: translateX(120%); }
}

@media (max-width: 860px) {
  .brand-line { display: none; }
  .menu {
    display: inline-flex;
    margin-inline-start: auto;
  }
  .top > .btn-signal { display: none; }
  .nav {
    display: none;
    position: absolute;
    inset-inline: 0;
    top: 100%;
    flex-direction: column;
    gap: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    padding: 0.4rem 4vw 0.8rem;
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 0.7rem 0 0.85rem; }
  .tabs { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .signwall { grid-template-columns: 1fr; }
  .sign-wide { grid-column: auto; }
  .route-svg .lane { stroke-width: 46px; }
  .stop { height: 9rem; }
  .board { width: 44%; grid-template-columns: 3.5rem 1fr; padding: 0.5rem; }
  .board .mark { height: 3.4rem; }
  .board h2 { font-size: 0.95rem; }
  .board p { display: none; }
  .stage, .ticket, .steps, .split { grid-template-columns: 1fr; }
  .ticket { box-shadow: 4px 4px 0 var(--lane); }
  .stub { order: -1; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .dashes,
  .v,
  .train,
  .lane-track,
  .stage-shape,
  .stage-shape .shape,
  .btn::before,
  .tab::before,
  .top::after,
  .stage::before,
  .steps li::after,
  .ticket::before,
  .ticket::after,
  .section-head h1,
  .section-head h2,
  .section-head h1::after,
  .section-head h2::after,
  .nav a::after,
  .sign .bulbs,
  .sign::before,
  .mark::after,
  .board .bulbs,
  .board::before,
  .board .glint::before,
  .route-car,
  .skyline i::after {
    animation: none;
  }
  .dashes { clip-path: none; }
  .road,
  .road-rule {
    display: flex;
    align-items: flex-end;
    justify-content: space-around;
    gap: 0.4rem;
    padding: 0.4rem;
    background: var(--road);
  }
  .v, .train {
    position: static;
    transform: none;
  }
  .train { width: 7rem; }
}

/* ===== Motion pass, 2026-11-28 ===== */

/* Vehicles: wheels roll, body rides on the suspension, lights on */
.v .shape, .train .shape { overflow: visible; }
.wh {
  transform-box: fill-box;
  transform-origin: center;
  animation: spin 0.55s linear infinite;
}
.road-rule .wh { animation-duration: 0.45s; }
.route-car .wh { animation-duration: 0.6s; }
.v .body { animation: ride 0.42s ease-in-out infinite alternate; }
.v[data-kind="bike"] .body { animation-duration: 0.3s; }
.beam { animation: beam 2.8s ease-in-out infinite; mix-blend-mode: screen; }
.lamp { animation: lamp 2.8s ease-in-out infinite; }
.led { animation: ticker 5s linear infinite; }
.v[data-kind="bike"] .led { animation-duration: 3s; }
.v[data-kind="roof"] .led { animation-duration: 4s; }
.led-scan { animation: scan 2.4s ease-in-out infinite; }
.train .win { animation: cabin 3.6s steps(1) infinite; }
.train .win:nth-of-type(2n) { animation-delay: -1.2s; }

@keyframes ride { to { transform: translateY(-1.2px); } }
@keyframes beam { 0%, 100% { opacity: 0.55; } 50% { opacity: 0.9; } }
@keyframes lamp { 0%, 100% { filter: none; } 50% { filter: drop-shadow(0 0 4px #FFF3B8); } }
@keyframes ticker { to { transform: translateX(-160px); } }
@keyframes scan { 0% { transform: translateX(-30px); } 60%, 100% { transform: translateX(110px); } }
@keyframes cabin { 0%, 100% { fill: #06233D; } 50% { fill: #1d3e5c; } }

.v[data-kind="bike"] .led { animation-name: ticker-60; }
.v[data-kind="roof"] .led { animation-name: ticker-80; }
@keyframes ticker-60 { to { transform: translateX(-60px); } }
@keyframes ticker-80 { to { transform: translateX(-80px); } }

/* Tunnel lights rushing past the metro */
.tunnel::before {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(90deg, transparent 0 140px, rgb(245 210 90 / 0.22) 140px 146px, transparent 146px 260px);
  animation: tunnel 0.9s linear infinite;
  pointer-events: none;
}
@keyframes tunnel { to { background-position: -260px 0; } }

/* Hero: headline slides up line by line, the city rises, windows twinkle */
.hero h1 .ln { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: 0.06em; }
.hero h1 .ln > span { display: inline-block; animation: line-up 0.95s cubic-bezier(0.2, 0.9, 0.2, 1) both; }
.hero h1 .ln + .ln > span { animation-delay: 0.12s; }
.hero .lede { animation: fade-up 0.9s 0.3s cubic-bezier(0.2, 0.9, 0.2, 1) both; }
.hero-actions { animation: fade-up 0.9s 0.45s cubic-bezier(0.2, 0.9, 0.2, 1) both; }
.skyline i { transform-origin: bottom; animation: rise 1s cubic-bezier(0.2, 1.2, 0.3, 1) both; animation-delay: calc(var(--i, 0) * 45ms + 0.2s); }
.skyline i::after { animation: twinkle 5s steps(1) infinite; animation-delay: var(--tw, 0s); }
.skyline { transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1); }

@keyframes line-up { from { transform: translateY(105%); } }
@keyframes fade-up { from { opacity: 0; transform: translateY(18px); } }
@keyframes rise { from { transform: scaleY(0); } }
@keyframes twinkle { 0%, 100% { opacity: 1; } 40% { opacity: 0.25; } 70% { opacity: 0.85; } }

/* Scroll reveal (classes added by main.js only) */
.reveal {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity 0.8s ease, transform 0.9s cubic-bezier(0.2, 0.9, 0.2, 1);
  transition-delay: var(--rd, 0ms);
}
.reveal.in { opacity: 1; transform: none; }

/* Buttons: the little wheel is a real wheel and rolls on hover */
.btn { transition: transform 0.25s cubic-bezier(0.3, 1.5, 0.5, 1), background 0.2s ease; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(1px); }
.btn::after,
.btn-signal::after {
  width: 1.25rem;
  height: 1.25rem;
  margin-top: -0.625rem;
  right: 0.45rem;
  background: url("../img/wheel.svg") center / 100% 100% no-repeat;
  box-shadow: none;
}
.btn:hover::after { animation: spin 0.5s linear infinite; }

/* Booking done: the request number is stamped */
.done:not([hidden]) { animation: fade-up 0.6s cubic-bezier(0.2, 0.9, 0.2, 1) both; }
.done:not([hidden]) #done-code {
  display: inline-block;
  padding: 0.1rem 0.6rem;
  border: 3px solid var(--ink);
  border-radius: 0.5rem;
  background: var(--lane);
  animation: stamp 0.55s 0.35s cubic-bezier(0.3, 1.6, 0.5, 1) both;
}
@keyframes stamp { from { opacity: 0; transform: scale(2.4) rotate(-14deg); } to { transform: rotate(-4deg); } }

@media (max-width: 860px) {
  .tabs { gap: 1.2rem 0.5rem; }
}

@media (prefers-reduced-motion: reduce) {
  .wh, .v .body, .beam, .lamp, .led, .led-scan, .train .win, .tunnel::before,
  .hero h1 .ln > span, .hero .lede, .hero-actions, .skyline i, .skyline i::after,
  .rim, .wheel, .tab::before, .stage-road::before, .stage-shape, .stage-copy > *,
  .btn::after, .done, #done-code { animation: none !important; }
  .reveal, .tabs.reveal .tab { opacity: 1; transform: none; }
  .tabs.reveal .rim { rotate: 0deg; }
}

/* ===== Fleet: wheel selector + night street, 2026-11-28 ===== */

.garage {
  display: grid;
  grid-template-columns: minmax(17rem, 23rem) minmax(0, 1fr);
  gap: 2.4rem;
  align-items: start;
  margin-top: 2rem;
}

.dial {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  margin-top: 0.6rem;
}

/* the road ring around the wheel */
.dial::before,
.dial::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.dial::before {
  inset: 15%;
  border: 0.9rem solid var(--ink);
  box-shadow: 0 14px 30px -12px color-mix(in srgb, var(--ink) 60%, transparent);
}
.dial::after {
  inset: calc(15% + 0.42rem);
  border: 2px dashed var(--lane);
  animation: ring 40s linear infinite;
}

.dial-wheel {
  position: absolute;
  inset: 22%;
  z-index: 1;
  border-radius: 50%;
  cursor: grab;
  touch-action: none;
  filter: drop-shadow(0 16px 14px color-mix(in srgb, var(--ink) 45%, transparent));
}
.dial-wheel.is-grabbing { cursor: grabbing; }

.dial-rim {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: url("../img/wheel.svg") center / 100% 100% no-repeat;
  transform: rotate(var(--rot, 0deg));
  transition: transform 1.25s cubic-bezier(0.12, 0.85, 0.22, 1);
}
.dial-wheel.is-grabbing .dial-rim { transition: none; }

/* yellow marker on the tyre: it points at the chosen format */
.dial-mark {
  position: absolute;
  left: 50%;
  top: -13%;
  width: 1.3rem;
  height: 1.1rem;
  translate: -50% 0;
  background: var(--lane);
  clip-path: polygon(50% 0, 100% 100%, 0 100%);
  filter: drop-shadow(0 0 6px var(--lane));
}

/* fixed light on the tyre */
.dial-wheel::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background:
    radial-gradient(120% 70% at 30% 10%, rgb(255 255 255 / 0.3), transparent 45%),
    radial-gradient(closest-side, transparent 80%, rgb(0 0 0 / 0.35));
  pointer-events: none;
}

.dial-hint {
  position: absolute;
  left: 50%;
  bottom: -0.4rem;
  translate: -50% 0;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 600;
  white-space: nowrap;
}
.dial-hint::before { content: "↻ "; color: var(--ink); }

.tabs {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}

.tab {
  --a: calc(-90deg + var(--i) * 72deg);
  position: absolute;
  left: calc(50% + 44% * cos(var(--a)));
  top: calc(50% + 44% * sin(var(--a)));
  translate: -50% -50%;
  padding: 0.42rem 0.95rem;
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: var(--paper);
  color: var(--ink);
  font: 700 0.92rem/1.1 var(--font);
  white-space: nowrap;
  cursor: pointer;
  pointer-events: auto;
  transition: background 0.25s ease, color 0.25s ease, scale 0.35s cubic-bezier(0.3, 1.6, 0.5, 1), box-shadow 0.25s ease;
}
.tab:hover { scale: 1.06; background: color-mix(in srgb, var(--lane) 40%, var(--paper)); }
.tab[aria-selected="true"] {
  background: var(--ink);
  color: var(--lane);
  scale: 1.1;
  box-shadow: 0 0 0 4px var(--lane), 0 10px 20px -8px var(--ink);
}
.tab:focus-visible { outline: 3px solid var(--ink); outline-offset: 5px; }

/* ----- stage ----- */
.stage {
  display: grid;
  gap: 1.3rem;
  outline: none;
}

.scene {
  --sh: clamp(15rem, 27vw, 21rem);
  position: relative;
  height: var(--sh);
  border-radius: var(--round);
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(1.2px 1.2px at 12% 18%, #fff8 99%, transparent),
    radial-gradient(1px 1px at 34% 9%, #fff6 99%, transparent),
    radial-gradient(1.4px 1.4px at 58% 22%, #fff7 99%, transparent),
    radial-gradient(1px 1px at 77% 12%, #fff5 99%, transparent),
    radial-gradient(1.2px 1.2px at 91% 28%, #fff6 99%, transparent),
    radial-gradient(90% 60% at 80% 0%, #123f68, transparent 70%),
    linear-gradient(180deg, #031524 0%, #06233D 60%, #0a2c4c 100%);
  box-shadow: 0 24px 40px -24px color-mix(in srgb, var(--ink) 70%, transparent);
}

.scene-city,
.scene-lamps {
  position: absolute;
  left: 0;
  right: 0;
  background-repeat: repeat-x;
  background-position: 0 100%;
}
.scene-city {
  bottom: 27%;
  height: 46%;
  background-size: 400px auto;
  opacity: 0.95;
}
.scene-lamps {
  bottom: 27%;
  height: 62%;
  background-size: 400px auto;
}

.scene-road {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 28%;
  background:
    linear-gradient(var(--lane), var(--lane)) 0 0 / 100% 4px no-repeat,
    repeating-linear-gradient(90deg, var(--lane) 0 46px, transparent 46px 92px) 0 58% / 100% 4px no-repeat,
    linear-gradient(180deg, #0f2236, #081624);
}

.stage-shape {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 5%;
  z-index: 2;
  width: min(86%, calc(var(--sh) * 1.5));
  margin-inline: auto;
  transform-origin: 50% 100%;
}
.stage-shape::after {
  content: "";
  position: absolute;
  left: 6%;
  right: 6%;
  bottom: -3%;
  height: 10%;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgb(0 0 0 / 0.6), transparent);
  z-index: -1;
}

.art { width: 100%; height: auto; overflow: visible; }
.art .aw { transform-box: fill-box; transform-origin: center; }
.art .chassis { animation: idle 0.16s ease-in-out infinite alternate; }
.art .beam { mix-blend-mode: screen; animation: beam 3s ease-in-out infinite; }
.art .lamp { animation: lamp 3s ease-in-out infinite; }
.art .slide { animation: slide-a 7s ease-in-out infinite; }
.art .s2 { animation-name: slide-b; }
.art .tick { animation: tick 9s linear infinite; }
.art .scan { animation: sweep 3.2s ease-in-out infinite; }

.scene.is-moving .art .aw { animation: spin 0.32s linear infinite; }
.scene.is-moving .art .chassis { animation: ride 0.2s ease-in-out infinite alternate; }
.scene.is-moving .scene-city { animation: pan 1.6s linear infinite; }
.scene.is-moving .scene-lamps { animation: pan 0.7s linear infinite; }
.scene.is-moving .scene-road { animation: road 0.22s linear infinite; }

.stage-shape.drive-out { animation: drive-out 0.5s cubic-bezier(0.55, 0, 1, 0.45) forwards; }
.stage-shape.drive-in { animation: park 1.1s cubic-bezier(0.16, 0.8, 0.25, 1) both; }

/* ----- copy ----- */
.stage-copy { display: grid; gap: 1.1rem; }
.stage-kicker {
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.stage-title { font-size: clamp(1.9rem, 3.2vw, 2.7rem); margin-top: 0.15rem; }
.stage-text { margin-top: 0.5rem; color: var(--muted); max-width: 40rem; }

.specs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
  margin: 0;
}
.spec {
  position: relative;
  padding: 0.85rem 0.95rem 0.9rem;
  border: 2px solid var(--ink);
  border-radius: 1rem;
  background: var(--paper);
  box-shadow: 4px 4px 0 var(--lane);
}
.spec dt {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.spec dd { margin: 0.25rem 0 0; font-weight: 600; line-height: 1.4; }

.stage-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem 1.2rem;
}
.stage-nets { margin: 0; font-weight: 600; }

.stage-copy.swap .stage-lead,
.stage-copy.swap .spec,
.stage-copy.swap .stage-foot { animation: fade-up 0.6s cubic-bezier(0.2, 0.9, 0.2, 1) both; }
.stage-copy.swap .spec:nth-child(1) { animation-delay: 0.08s; }
.stage-copy.swap .spec:nth-child(2) { animation-delay: 0.14s; }
.stage-copy.swap .spec:nth-child(3) { animation-delay: 0.2s; }
.stage-copy.swap .stage-foot { animation-delay: 0.26s; }

@keyframes ring { to { rotate: 360deg; } }
@keyframes idle { to { transform: translateY(0.7px); } }
@keyframes slide-a { 0%, 42% { opacity: 1; transform: none; } 50%, 92% { opacity: 0; transform: translateY(-14px); } 100% { opacity: 1; transform: none; } }
@keyframes slide-b { 0%, 42% { opacity: 0; transform: translateY(14px); } 50%, 92% { opacity: 1; transform: none; } 100% { opacity: 0; transform: translateY(14px); } }
@keyframes tick { to { transform: translateX(var(--d, -300px)); } }
@keyframes sweep { 0% { transform: translateX(-90px); } 55%, 100% { transform: translateX(var(--sw, 300px)); } }
@keyframes pan { to { background-position: -400px 100%; } }
@keyframes road {
  from { background-position: 0 0, 0 58%, 0 0; }
  to { background-position: 0 0, -92px 58%, 0 0; }
}
@keyframes drive-out {
  to { transform: translateX(130%) skewX(-8deg); filter: blur(3px); }
}
@keyframes park {
  0% { transform: translateX(-135%) skewX(8deg); filter: blur(3px); }
  60% { transform: translateX(2%); filter: none; }
  72% { transform: translateX(0) rotate(1.3deg); }
  86% { transform: rotate(-0.5deg); }
  100% { transform: none; }
}

@media (max-width: 860px) {
  .garage { grid-template-columns: 1fr; gap: 1.4rem; }
  .dial { width: min(100%, 19rem); margin-inline: auto; }
  .tab { font-size: 0.82rem; padding: 0.36rem 0.75rem; }
  .specs { grid-template-columns: 1fr; }
  .scene { --sh: 14rem; }
  .stage-shape { width: min(92%, calc(var(--sh) * 1.5)); }
}

@media (prefers-reduced-motion: reduce) {
  .dial::after, .dial-rim, .art .chassis, .art .beam, .art .lamp, .art .slide,
  .art .tick, .art .scan, .stage-shape, .stage-copy * { animation: none !important; transition: none !important; }
  .art .s2 { opacity: 0; }
}

/* ===== LED screen "video" ad: 3 scenes on a 9s loop ===== */
.vid * { transform-box: fill-box; transform-origin: center; }
.vid .v-rays { animation: rays 14s linear infinite; transform-box: view-box; }
.art .vid .v-blob.b1 { animation: blob1 6s ease-in-out infinite alternate; }
.art .vid .v-blob.b2 { animation: blob2 7s ease-in-out infinite alternate; }

.vid .v-a { animation: vid-a 9s infinite both; }
.vid .v-a-bar { transform-origin: left center; animation: vid-a-bar 9s infinite both; }
.vid .v-b { animation: vid-b 9s infinite both; }
.vid .v-b2 { animation-delay: 0.25s; }
.vid .v-b3 { animation-delay: 0.5s; }
.vid .v-c { animation: vid-c 9s infinite both; }
.vid .v-c-bar { transform-origin: left center; animation: vid-c-bar 9s infinite both; }
.vid .v-flash { opacity: 0; animation: vid-flash 9s infinite; }

@keyframes rays { to { rotate: 360deg; } }
@keyframes blob1 { to { transform: translate(120px, 50px) scale(1.3); } }
@keyframes blob2 { to { transform: translate(-150px, -60px) scale(0.8); } }

/* scene 1: punch-in zoom */
@keyframes vid-a {
  0% { opacity: 0; transform: scale(1.9); }
  3% { opacity: 1; transform: scale(0.94); }
  5% { transform: scale(1.02); }
  7% { transform: scale(1); }
  29% { opacity: 1; transform: scale(1.06); }
  33%, 100% { opacity: 0; transform: scale(1.25); }
}
@keyframes vid-a-bar {
  0%, 5% { transform: scaleX(0); }
  13%, 100% { transform: scaleX(1); }
}

/* scene 2: words drop in one after another */
@keyframes vid-b {
  0%, 34% { opacity: 0; transform: translateY(-46px) scale(1.2); }
  38% { opacity: 1; transform: translateY(4px) scale(1); }
  40% { transform: translateY(0); }
  62% { opacity: 1; transform: translateY(0); }
  66%, 100% { opacity: 0; transform: translateY(30px); }
}

/* scene 3: slide in from the right, bar fills */
@keyframes vid-c {
  0%, 66% { opacity: 0; transform: translateX(120px) skewX(-12deg); }
  70% { opacity: 1; transform: translateX(-6px) skewX(3deg); }
  72% { transform: none; }
  96% { opacity: 1; transform: none; }
  100% { opacity: 0; transform: translateX(-60px); }
}
@keyframes vid-c-bar {
  0%, 71% { transform: scaleX(0); }
  92%, 100% { transform: scaleX(1); }
}

/* white flash between scenes */
@keyframes vid-flash {
  0% { opacity: 0.7; }
  2% { opacity: 0; }
  32.5% { opacity: 0; }
  33.5% { opacity: 0.6; }
  35.5% { opacity: 0; }
  65.5% { opacity: 0; }
  66.5% { opacity: 0.6; }
  68.5% { opacity: 0; }
  99% { opacity: 0; }
  100% { opacity: 0.7; }
}

@media (prefers-reduced-motion: reduce) {
  .vid *, .vid { animation: none !important; }
  .vid .v-b, .vid .v-c, .vid .v-flash { opacity: 0; }
}

/* ===== Phone: country code picker + number ===== */
.field:has(.tel) { position: relative; }
.tel {
  display: flex;
  border: 1.5px solid var(--ink);
  border-radius: 0.9rem;
  background: var(--paper);
  overflow: hidden;
}
.tel:focus-within { outline: 2px solid var(--ink); outline-offset: 2px; }
.tel-cc { flex: none; display: flex; }
.tel-cc select { display: none; }
.tel-cc-face {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0 1.8rem 0 0.75rem;
  border: 0;
  border-right: 1.5px solid var(--ink);
  background: var(--ink);
  color: var(--paper);
  font: 600 0.98rem/1 var(--font);
  white-space: nowrap;
  cursor: pointer;
}
.tel-cc-face b {
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  padding: 0.22rem 0.32rem;
  border-radius: 0.35rem;
  background: var(--lane);
  color: var(--ink);
}
.tel-cc-face::after {
  content: "";
  position: absolute;
  right: 0.78rem;
  top: 50%;
  width: 0.4rem;
  height: 0.4rem;
  border: solid currentColor;
  border-width: 0 2px 2px 0;
  transform: translateY(-70%) rotate(45deg);
  transition: transform 0.2s;
}
.tel-cc-face[aria-expanded="true"]::after { transform: translateY(-20%) rotate(225deg); }
.tel-cc-face:focus-visible { outline: 2px solid var(--lane); outline-offset: -4px; }
.tel-cc.is-auto .tel-cc-face b { animation: cc-pop 0.5s cubic-bezier(0.3, 1.6, 0.5, 1); }
@keyframes cc-pop { from { transform: scale(1.6); } to { transform: none; } }
.tel input {
  flex: 1;
  min-width: 0;
  border: 0;
  border-radius: 0;
  outline: 0;
  letter-spacing: 0.02em;
}
.tel:has(input[aria-invalid="true"]) { background: var(--lane); }

.cc-pop {
  position: absolute;
  left: 0;
  right: 0;
  z-index: 30;
  margin-top: 0.4rem;
  padding: 0.5rem;
  border: 1.5px solid var(--ink);
  border-radius: 0.9rem;
  background: var(--paper);
  box-shadow: 0 18px 40px -12px rgb(6 35 61 / 0.45);
  animation: cc-in 0.18s ease-out;
}
.cc-pop[hidden] { display: none; }
@keyframes cc-in { from { opacity: 0; transform: translateY(-6px); } }
.cc-pop input { min-height: 2.5rem; margin-bottom: 0.4rem; }
.cc-list {
  list-style: none;
  margin: 0;
  padding: 0;
  max-height: 15rem;
  overflow-y: auto;
  overscroll-behavior: contain;
}
.cc-list li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.5rem 0.6rem;
  border-radius: 0.6rem;
  cursor: pointer;
}
.cc-list li b {
  flex: none;
  width: 2rem;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-align: center;
  padding: 0.18rem 0;
  border-radius: 0.35rem;
  background: var(--ink);
  color: var(--paper);
}
.cc-list li span { flex: 1; }
.cc-list li em { font-style: normal; font-weight: 600; opacity: 0.7; }
.cc-list li.is-active { background: rgb(6 35 61 / 0.08); }
.cc-list li[aria-selected="true"] { background: var(--lane); }
.cc-list li[aria-selected="true"] b { background: var(--ink); }
.cc-none { margin: 0.4rem 0.6rem; opacity: 0.7; }
@media (prefers-reduced-motion: reduce) {
  .tel-cc.is-auto .tel-cc-face b, .cc-pop { animation: none; }
}
