/* =========================================================
   Pavillion Coaches · "Smart coaches for smart travel"
   Palette taken from the coach livery and the logo.
   ========================================================= */

:root {
  /* "only light" tells the browser this page is not to be auto-darkened.
     Samsung Internet's dark mode otherwise rewrites the palette and turns
     the coach yellow a muddy red. */
  color-scheme: only light;

  --yellow: #EFAD01;        /* brand yellow (coach body) */
  --yellow-deep: #D29700;
  --yellow-soft: #FFD45C;
  --black: #15140F;         /* livery black */
  --asphalt: #24231D;
  --asphalt-2: #302E26;
  --green: #1F6A36;         /* logo swoosh */
  --green-bright: #34A853;
  --chalk: #F3F2EC;         /* page ground, slight yellow bias */
  --white: #FFFFFF;
  --ink: #15140F;
  --muted: #5F5B4E;
  --muted-dark: #BDB8A7;
  --line: #E1DED2;
  --led: #FFB81C;

  --f-display: "Archivo", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  --f-body: "Figtree", "Segoe UI", system-ui, -apple-system, sans-serif;
  --f-led: "Doto", "Courier New", ui-monospace, monospace;
  /* Doto is a dot-matrix face. It carries the departure-board look at large
     sizes, but at row size on a phone the dots stop resolving and the times
     turn to mush. Times a passenger actually has to READ use this instead:
     the display font with tabular figures, so every digit takes the same
     width and the columns line up. No extra font to download. */
  --f-time: "Archivo", "Helvetica Neue", Arial, sans-serif;

  --ease: cubic-bezier(.16, 1, .3, 1);
  --ease-in-out: cubic-bezier(.65, 0, .35, 1);
  --gutter: clamp(16px, 4vw, 48px);
  --maxw: 1240px;
  --header-h: 78px;
  --section-y: clamp(84px, 11vw, 150px);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  color-scheme: only light;
  background: var(--chalk);
  color: var(--ink);
  font: 400 1.0625rem/1.65 var(--f-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
.menu-open body { overflow: hidden; }
img { max-width: 100%; height: auto; display: block; }
[hidden] { display: none !important; }
html:has(dialog[open]) { overflow: hidden; }
a { color: inherit; }
h1, h2, h3 { margin: 0; }
p { margin: 0; }
svg { flex-shrink: 0; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--yellow); color: var(--black); }

.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }

/* ---------- Type ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--f-led); font-weight: 900;
  font-size: .9rem; letter-spacing: .2em; text-transform: uppercase;
  line-height: 1;
}
.eyebrow::before {
  content: ""; width: 9px; height: 9px; border-radius: 50%;
  background: currentColor; box-shadow: 0 0 0 4px rgba(21, 20, 15, .1);
}
.eyebrow--led { color: var(--led); text-shadow: 0 0 10px rgba(255, 184, 28, .55); }
.eyebrow--led::before { background: var(--green-bright); box-shadow: 0 0 10px var(--green-bright); }

.section-title {
  font-family: var(--f-display);
  font-weight: 900; font-stretch: 115%;
  font-size: clamp(2.3rem, 5.6vw, 4.6rem);
  line-height: .96; letter-spacing: -.035em;
  margin-top: 16px;
  text-wrap: balance;
}
.section-lede { font-size: clamp(1.05rem, 1.4vw, 1.2rem); color: var(--muted); max-width: 46ch; text-wrap: pretty; }
.section-head { margin-bottom: clamp(40px, 5vw, 64px); }
.section-head--split { display: grid; grid-template-columns: 1.2fr .8fr; gap: 24px 48px; align-items: end; }

/* ---------- Buttons ---------- */
.btn {
  --tx: 0px; --ty: 0px;
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 56px; padding: 0 28px; border-radius: 999px; border: 0;
  font: 700 1rem/1 var(--f-body); letter-spacing: .01em; text-decoration: none; cursor: pointer;
  transform: translate(var(--tx), var(--ty));
  transition: transform .45s var(--ease), background-color .3s, color .3s, box-shadow .4s;
  overflow: hidden; isolation: isolate;
}
.btn svg { width: 20px; height: 20px; transition: transform .45s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  border-radius: inherit; transform: scaleX(0); transform-origin: right;
  transition: transform .55s var(--ease);
}
.btn:hover::before { transform: scaleX(1); transform-origin: left; }

.btn--yellow { background: var(--yellow); color: var(--black); box-shadow: 0 14px 30px -14px rgba(239, 173, 1, .7); }
.btn--yellow::before { background: var(--white); }
.btn--ghost { color: var(--white); box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .55); }
.btn--ghost::before { background: var(--white); }
.btn--ghost:hover { color: var(--black); }
.btn--dark { background: var(--black); color: var(--white); }
.btn--dark::before { background: var(--asphalt-2); }
.btn--outline-dark { color: var(--black); box-shadow: inset 0 0 0 2px var(--black); }
.btn--outline-dark::before { background: var(--black); }
.btn--outline-dark:hover { color: var(--yellow); }

/* ---------- Scroll progress ---------- */
.progress {
  position: fixed; inset: 0 0 auto 0; height: 3px; z-index: 70;
  background: var(--yellow); transform-origin: left; transform: scaleX(var(--sp, 0));
}

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 60;
  color: var(--white);
  transition: transform .6s var(--ease);
}
.site-header::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: rgba(21, 20, 15, .82);
  -webkit-backdrop-filter: blur(14px) saturate(1.3); backdrop-filter: blur(14px) saturate(1.3);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .06);
  opacity: 0; transition: opacity .4s;
}
.site-header.is-scrolled::before { opacity: 1; }
.site-header.is-hidden { transform: translateY(-100%); }
.site-header__bar { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: var(--header-h); }

.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; position: relative; z-index: 2; }
.brand img { width: 48px; height: 48px; transition: transform .9s var(--ease); }
.brand:hover img { transform: rotate(-24deg) scale(1.06); }
.brand__name {
  font-family: var(--f-display); font-weight: 900; font-style: italic; font-stretch: 112%;
  font-size: 1.3rem; line-height: 1; letter-spacing: -.01em;
}
.brand__name small {
  display: block; margin-top: 4px;
  font-style: normal; font-weight: 700; font-stretch: 100%; font-size: .6rem; letter-spacing: .34em;
  text-transform: uppercase; color: var(--yellow);
}

.nav ul { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav a {
  position: relative; display: block; padding: 10px 14px;
  color: var(--white); text-decoration: none; font-weight: 600; font-size: .96rem;
  border-radius: 999px; transition: color .3s, background-color .3s;
}
.nav a::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 5px; height: 2px;
  background: var(--yellow); transform: scaleX(0); transform-origin: right;
  transition: transform .45s var(--ease);
}
.nav a:hover::after, .nav a[aria-current="page"]::after, .nav a.is-active::after { transform: scaleX(1); transform-origin: left; }
.nav a.nav__cta { margin-left: 8px; padding: 12px 20px; background: var(--yellow); color: var(--black); }
.nav a.nav__cta::after { display: none; }
.nav a.nav__cta:hover { background: var(--white); }

.menu-toggle {
  display: none; position: relative; z-index: 2;
  width: 50px; height: 50px; border-radius: 50%; border: 0; cursor: pointer;
  background: var(--yellow); place-items: center;
}
.menu-toggle span {
  position: absolute; left: 15px; width: 20px; height: 2px; background: var(--black);
  transition: transform .45s var(--ease);
}
.menu-toggle span:first-child { transform: translateY(-4px); }
.menu-toggle span:last-child { transform: translateY(4px); }
.menu-open .menu-toggle span:first-child { transform: rotate(45deg); }
.menu-open .menu-toggle span:last-child { transform: rotate(-45deg); }

@media (max-width: 920px) {
  .menu-toggle { display: grid; }
  .nav {
    position: fixed; inset: 0; z-index: 1;
    display: flex; align-items: center;
    padding: calc(var(--header-h) + 24px) var(--gutter) 40px;
    background: var(--black);
    background-image: radial-gradient(circle at 100% 0, rgba(239, 173, 1, .18), transparent 55%);
    clip-path: circle(0 at calc(100% - var(--gutter) - 25px) 39px);
    transition: clip-path .8s var(--ease), visibility 0s linear .8s;
    visibility: hidden;
  }
  .menu-open .nav { clip-path: circle(160% at calc(100% - var(--gutter) - 25px) 39px); visibility: visible; transition: clip-path .8s var(--ease), visibility 0s; }
  .nav ul { flex-direction: column; align-items: flex-start; gap: 2px; }
  .nav a {
    font-family: var(--f-display); font-weight: 900; font-stretch: 115%;
    font-size: clamp(2rem, 9vw, 3.2rem); line-height: 1.1; letter-spacing: -.02em;
    padding: 6px 0; opacity: 0; transform: translateY(24px);
    transition: opacity .5s, transform .7s var(--ease), color .3s;
  }
  .nav a::after { left: 0; right: auto; width: 56px; bottom: 2px; }
  .nav a.nav__cta { margin: 18px 0 0; padding: 14px 26px; font-family: var(--f-body); font-size: 1.1rem; font-stretch: 100%; letter-spacing: 0; }
  .menu-open .nav a { opacity: 1; transform: none; }
  .menu-open .nav li:nth-child(1) a { transition-delay: .15s; }
  .menu-open .nav li:nth-child(2) a { transition-delay: .21s; }
  .menu-open .nav li:nth-child(3) a { transition-delay: .27s; }
  .menu-open .nav li:nth-child(4) a { transition-delay: .33s; }
  .menu-open .nav li:nth-child(5) a { transition-delay: .39s; }
}

/* ---------- Preloader ---------- */
.preloader { display: none; }
.js .preloader {
  position: fixed; inset: 0; z-index: 100;
  display: grid; place-items: center;
  background: var(--yellow); color: var(--black);
  transition: transform 1s var(--ease-in-out);
}
.loaded .preloader { transform: translateY(-101%); }
.preloader__inner { display: grid; justify-items: center; gap: 18px; width: min(360px, 80vw); }
.preloader__logo { width: 96px; height: 96px; animation: spinIn 1.2s var(--ease) both; }
.preloader__led {
  font-family: var(--f-led); font-weight: 900; font-size: 1.05rem; letter-spacing: .24em;
  background: var(--black); color: var(--led); padding: 10px 16px; border-radius: 8px;
  text-shadow: 0 0 10px rgba(255, 184, 28, .7);
  animation: blinkIn 1.2s steps(6) both;
}
.preloader__road {
  position: relative; width: 100%; height: 34px;
  border-bottom: 4px solid var(--black);
  background: repeating-linear-gradient(90deg, var(--black) 0 18px, transparent 18px 32px) bottom 8px left 0 / 100% 3px no-repeat;
  overflow: hidden;
}
.preloader__coach {
  position: absolute; bottom: 2px; left: 0; width: 74px; height: 30px;
  animation: drive 1.3s var(--ease-in-out) both;
}
@keyframes spinIn { from { transform: rotate(-200deg) scale(.4); opacity: 0; } }
@keyframes blinkIn { 0%, 40% { opacity: 0; } 50% { opacity: 1; } 60% { opacity: .2; } 70%, 100% { opacity: 1; } }
@keyframes drive { from { transform: translateX(-90px); } to { transform: translateX(calc(min(360px, 80vw))); } }

/* ---------- Hero ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: clamp(620px, 100svh, 960px);
  display: flex; align-items: flex-end;
  background: var(--black); color: var(--white);
}
.hero__media { position: absolute; inset: -4% 0 -4% 0; z-index: -2; will-change: transform; }
.hero__media picture, .hero__img { width: 100%; height: 100%; }
.hero__img { object-fit: cover; object-position: 64% 45%; animation: kenburns 24s ease-in-out infinite alternate; }
@keyframes kenburns { from { transform: scale(1.06); } to { transform: scale(1.18) translate(-2%, -1%); } }
.hero__shade {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(21, 20, 15, .94) 0%, rgba(21, 20, 15, .72) 38%, rgba(21, 20, 15, .12) 72%),
    linear-gradient(0deg, rgba(21, 20, 15, .9) 0%, rgba(21, 20, 15, 0) 45%);
}
.hero__inner { padding-block: calc(var(--header-h) + 48px) clamp(96px, 14vh, 150px); }

.led {
  display: inline-flex; align-items: center; gap: 14px; max-width: 100%;
  padding: 11px 18px 11px 14px; border-radius: 10px;
  background: #0B0A07;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08), 0 24px 40px -24px rgba(0, 0, 0, .9);
}
.led__dot { width: 10px; height: 10px; border-radius: 50%; background: var(--green-bright); box-shadow: 0 0 12px var(--green-bright); animation: pulse 1.8s ease-in-out infinite; }
.led__text {
  font-family: var(--f-led); font-weight: 900;
  font-size: clamp(.95rem, 1.5vw, 1.3rem); letter-spacing: .14em; line-height: 1.2;
  color: var(--led); white-space: nowrap; overflow: hidden; text-overflow: clip;
  text-shadow: 0 0 8px rgba(255, 184, 28, .75), 0 0 20px rgba(255, 150, 0, .35);
  min-width: 23ch;
}
@keyframes pulse { 50% { opacity: .35; } }

.hero__title {
  font-family: var(--f-display); font-weight: 900; font-stretch: 112%;
  font-size: clamp(3rem, 7vw, 6.4rem); line-height: .9; letter-spacing: -.045em;
  margin: 26px 0 26px;
}
.hero__title .line, .page-hero__title .line { display: block; overflow: hidden; padding: 0 .12em .06em 0; margin-bottom: -.06em; }
.hero__title .line > span, .page-hero__title .line > span { display: inline-block; transition: transform 1.2s var(--ease); }
.hero__title .line:nth-child(2) > span, .page-hero__title .line:nth-child(2) > span { transition-delay: .09s; }
.hero__title .line:nth-child(3) > span, .page-hero__title .line:nth-child(3) > span { transition-delay: .18s; }
.js:not(.loaded) .hero__title .line > span, .js:not(.loaded) .page-hero__title .line > span { transform: translateY(110%); }
.hero__title em, .page-hero__title em { font-style: italic; color: var(--yellow); }
.rotator { display: inline-block; transition: transform .5s var(--ease), opacity .4s; }
.rotator.out { transform: translateY(-80%); opacity: 0; }
.rotator.pre { transform: translateY(80%); opacity: 0; transition: none; }

.hero__lede { max-width: 44ch; font-size: clamp(1.05rem, 1.5vw, 1.25rem); color: rgba(255, 255, 255, .82); }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero__lede, .hero__cta, .led { transition: opacity 1s var(--ease) .35s, transform 1.2s var(--ease) .35s; }
.hero__cta { transition-delay: .45s; }
.js:not(.loaded) .hero__lede, .js:not(.loaded) .hero__cta, .js:not(.loaded) .hero .led { opacity: 0; transform: translateY(24px); }

.hero__road {
  position: absolute; left: 0; right: 0; bottom: 0; height: 12px;
  background: var(--asphalt);
}
.hero__road::before {
  content: ""; position: absolute; left: 0; right: 0; top: 4px; height: 4px;
  background: repeating-linear-gradient(90deg, var(--yellow) 0 64px, transparent 64px 120px);
  background-size: 120px 100%;
  animation: lane .9s linear infinite;
}
@keyframes lane { to { background-position: -120px 0; } }

.scroll-cue {
  position: absolute; right: var(--gutter); bottom: 44px;
  width: 30px; height: 48px; border-radius: 20px; border: 2px solid rgba(255, 255, 255, .6);
  display: flex; justify-content: center;
}
.scroll-cue span { width: 4px; height: 9px; margin-top: 8px; border-radius: 4px; background: var(--yellow); animation: cue 1.8s var(--ease) infinite; }
@keyframes cue { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(16px); opacity: 0; } 100% { opacity: 0; } }

@media (max-width: 700px) {
  .hero__shade { background: linear-gradient(0deg, rgba(21, 20, 15, .96) 0%, rgba(21, 20, 15, .78) 50%, rgba(21, 20, 15, .35) 100%); }
  .hero__title, .page-hero__title { font-stretch: 100%; font-size: clamp(2.4rem, 11vw, 3rem); }
  .banner__quote { font-stretch: 100%; }
  .led__text { min-width: 0; font-size: .85rem; letter-spacing: .1em; }
  .scroll-cue { display: none; }
}

/* ---------- Ticker ---------- */
/* ---------- Departure board under the hero ---------- */
.depboard {
  position: relative; display: flex; align-items: center; gap: 0;
  background: #0B0A07; border-bottom: 1px solid #2A281F; overflow: hidden;
}
.depboard__label {
  flex-shrink: 0; z-index: 2; display: inline-flex; align-items: center; gap: 9px;
  align-self: stretch; padding: 0 20px 0 var(--gutter);
  background: #0B0A07; border-right: 1px solid #2A281F;
  font: 700 .72rem/1 var(--f-body); letter-spacing: .18em; text-transform: uppercase; color: var(--yellow);
}
.depboard__dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--green-bright);
  box-shadow: 0 0 10px var(--green-bright); animation: ping 2.4s var(--ease) infinite;
}
.depboard__next {
  flex-shrink: 0; z-index: 2; display: inline-flex; align-items: center; gap: 12px;
  align-self: stretch; padding: 14px 22px; background: #0B0A07; border-right: 1px solid #2A281F;
}
.depboard__strip { flex: 1; min-width: 0; overflow: hidden; padding-block: 16px; }
.depboard__track { display: flex; align-items: center; gap: 34px; width: max-content; will-change: transform; }
.depboard__link {
  flex-shrink: 0; z-index: 2; display: inline-flex; align-items: center; gap: 7px; align-self: stretch;
  padding: 0 var(--gutter) 0 20px; background: #0B0A07; border-left: 1px solid #2A281F;
  font: 600 .8rem/1 var(--f-body); color: rgba(255, 255, 255, .8); text-decoration: none;
  transition: color .3s;
}
.depboard__link svg { width: 14px; height: 14px; transition: transform .4s var(--ease); }
.depboard__link:hover { color: var(--yellow); }
.depboard__link:hover svg { transform: translateX(3px); }

.dep { display: inline-flex; align-items: center; gap: 12px; white-space: nowrap; }
.dep__tag {
  flex-shrink: 0; white-space: nowrap;
  padding: 4px 10px; border-radius: 999px; background: var(--yellow); color: var(--black);
  font: 700 .68rem/1 var(--f-body); letter-spacing: .1em; text-transform: uppercase;
}
.dep__code {
  padding: 3px 8px; border-radius: 6px; background: rgba(255, 255, 255, .1); color: rgba(255, 255, 255, .75);
  font-family: var(--f-display); font-weight: 800; font-stretch: 96%; font-size: .74rem; letter-spacing: .04em;
}
.dep__time {
  font-family: var(--f-led); font-weight: 900; font-size: clamp(1.2rem, 2.2vw, 1.6rem); letter-spacing: .1em;
  color: var(--led); text-shadow: 0 0 8px rgba(255, 184, 28, .7), 0 0 22px rgba(255, 150, 0, .3);
}
.dep__route {
  font-family: var(--f-led); font-weight: 700; font-size: clamp(1rem, 1.7vw, 1.28rem); letter-spacing: .13em;
  color: rgba(255, 233, 180, .82);
}
.dep__due {
  font: 600 .66rem/1 var(--f-body); letter-spacing: .14em; text-transform: uppercase;
  color: rgba(255, 255, 255, .42);
}
.dep__point { font: 500 .78rem/1 var(--f-body); letter-spacing: .04em; color: rgba(255, 255, 255, .38); }
.dep__point::before { content: "\00b7  "; }
.depboard[data-mode="road"] .dep__time { color: var(--green-bright); text-shadow: 0 0 8px rgba(52, 168, 83, .55); }
.depboard[data-mode="road"] .dep__tag { background: var(--green-bright); color: var(--white); }
.depboard[data-mode="road"] .depboard__dot { background: var(--green-bright); }
.depboard[data-mode="tomorrow"] .dep__tag { background: rgba(255, 255, 255, .14); color: rgba(255, 255, 255, .85); }
.depboard[data-mode="tomorrow"] .depboard__dot { background: rgba(255, 255, 255, .3); box-shadow: none; animation: none; }
.depboard[data-mode="tomorrow"] .dep__time { color: rgba(255, 184, 28, .62); text-shadow: none; }

/* At phone width the words "Departures" cost more than they earn: the
   yellow countdown and the route say the same thing in less space. */
@media (max-width: 720px) {
  .depboard__label { display: none; }
  .depboard__link { padding-inline: 12px; font-size: .72rem; }
  .depboard__link svg { display: none; }
  .depboard__next { padding: 11px 0 11px var(--gutter); gap: 10px; }
  .depboard__next .dep__code { display: none; }
  .dep { gap: 10px; min-width: 0; }
  .dep__tag { padding: 4px 9px; font-size: .6rem; letter-spacing: .08em; }
  .dep__time { font-size: 1.16rem; letter-spacing: .06em; }
  .dep__route { font-size: .88rem; letter-spacing: .08em; }
  /* The green "due in" tag already says these are arrivals */
  .dep__due { display: none; }
  /* Nearly every bus leaves Harare, so on a phone just name the
     destination. An origin that isn't Harare still shows. */
  .dep__from.is-common { display: none; }
}

/* On a narrow screen there is only room for the next bus, so the
   scrolling remainder steps aside */
@media (max-width: 860px) {
  .depboard__strip { display: none; }
  .depboard__next { flex: 1; min-width: 0; border-right: 0; padding: 12px 14px; gap: 9px; }
  .depboard__next .dep { min-width: 0; gap: 9px; }
  .depboard__next .dep__route { overflow: hidden; text-overflow: ellipsis; }
  .dep__point { display: none; }
}

/* ---------- Livery (yellow) sections ---------- */
.livery {
  position: relative; isolation: isolate; overflow: hidden;
  background: var(--yellow); color: var(--black);
  padding-block: var(--section-y);
}
.livery__swoosh { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
.swoosh { fill: none; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 0; }
.js .swoosh { stroke-dashoffset: 1; }
.swoosh--wide { stroke: var(--yellow-deep); stroke-width: 70; }
.swoosh--thin { stroke: var(--black); stroke-width: 10; opacity: .85; }

.principles { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2.2vw, 28px); perspective: 1000px; }
.principle {
  --rx: 0deg; --ry: 0deg; --mx: 50%; --my: 0%;
  position: relative; height: 100%;
  padding: 34px 30px 36px; border-radius: 24px;
  background: var(--black); color: var(--white);
  transform: rotateX(var(--rx)) rotateY(var(--ry));
  transform-style: preserve-3d;
  transition: transform .6s var(--ease), box-shadow .6s;
  box-shadow: 0 30px 60px -34px rgba(21, 20, 15, .75);
}
.principle::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: radial-gradient(420px circle at var(--mx) var(--my), rgba(239, 173, 1, .22), transparent 45%);
  opacity: 0; transition: opacity .4s;
}
.principle:hover::after { opacity: 1; }
.principle__icon {
  display: grid; place-items: center; width: 66px; height: 66px; border-radius: 20px;
  background: var(--yellow); color: var(--black);
  transform: translateZ(40px);
  transition: transform .6s var(--ease);
}
.principle:hover .principle__icon { transform: translateZ(50px) rotate(-8deg) scale(1.06); }
.principle__icon svg { width: 30px; height: 30px; }
.principle h3 { margin: 28px 0 10px; font-family: var(--f-display); font-weight: 800; font-stretch: 110%; font-size: 1.5rem; letter-spacing: -.01em; transform: translateZ(28px); }
.principle p { color: var(--muted-dark); transform: translateZ(18px); }

.stats {
  display: grid; grid-template-columns: repeat(4, 1fr);
  margin: clamp(56px, 8vw, 100px) 0 0; border-top: 3px solid var(--black);
}
.stats > div { display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: 8px; padding: 26px 20px 0 0; }
.stats > div + div { padding-left: 20px; border-left: 1px solid rgba(21, 20, 15, .25); }
.stats dd {
  margin: 0; font-family: var(--f-display); font-weight: 900; font-stretch: 125%;
  font-size: clamp(2.6rem, 6vw, 5.2rem); line-height: .95; letter-spacing: -.04em;
  font-variant-numeric: tabular-nums;
}
.stats dt { font-weight: 600; font-size: .98rem; line-height: 1.35; max-width: 20ch; }

/* ---------- Routes ---------- */
.routes { padding-block: var(--section-y); background: var(--chalk); }
.route-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 3.5vw, 48px); align-items: start; }
.route {
  position: relative; padding: clamp(26px, 3.5vw, 44px);
  border-radius: 30px; background: var(--white);
  box-shadow: 0 1px 0 var(--line), 0 40px 80px -56px rgba(21, 20, 15, .45);
}
.route__head h3 { font-family: var(--f-display); font-weight: 900; font-stretch: 115%; font-size: clamp(1.8rem, 3.2vw, 2.6rem); line-height: 1; letter-spacing: -.03em; }
.route__head h3 span { font-style: italic; font-weight: 600; color: var(--yellow-deep); }
.route__head p { margin-top: 10px; color: var(--muted); }

.route__body { --p: 0; position: relative; margin-top: 34px; padding-left: 66px; }
.route__road {
  position: absolute; left: 18px; top: 8px; bottom: 8px; width: 14px;
  border-radius: 14px; background: var(--asphalt); overflow: hidden;
}
.route__road::before {
  content: ""; position: absolute; left: 6px; top: 0; bottom: 0; width: 2px; z-index: 1;
  background: repeating-linear-gradient(180deg, rgba(255, 255, 255, .55) 0 10px, transparent 10px 20px);
}
.route__fill { position: absolute; left: 0; right: 0; top: 0; height: calc(var(--p) * 100%); background: var(--yellow); }
.route__bus {
  position: absolute; z-index: 2; left: 4px; top: calc(8px + var(--p) * (100% - 16px));
  width: 42px; height: 42px; margin-top: -21px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--yellow); color: var(--black); border: 3px solid var(--black);
  box-shadow: 0 10px 22px -8px rgba(21, 20, 15, .6);
}
.route__bus svg { width: 20px; height: 20px; }
.route__bus::after {
  content: ""; position: absolute; inset: -8px; border-radius: 50%;
  border: 2px solid var(--yellow); animation: ping 1.8s var(--ease) infinite;
}
@keyframes ping { from { transform: scale(.7); opacity: 1; } to { transform: scale(1.5); opacity: 0; } }

.stops { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; isolation: isolate; }
.stop { position: relative; display: flex; align-items: flex-start; justify-content: space-between; gap: 4px 14px; transition: opacity .35s; }
.stop--origin { justify-content: flex-start; align-items: center; }
.stop__name::before {
  content: ""; position: absolute; left: -48px; top: calc(.6em - 7px); width: 14px; height: 14px; border-radius: 50%;
  background: var(--white); border: 3px solid var(--asphalt); z-index: 1;
  transition: transform .5s var(--ease), background-color .3s, border-color .3s;
}
.stop__name { font-family: var(--f-display); font-weight: 800; font-stretch: 108%; font-size: 1.3rem; line-height: 1.2; transition: color .4s, transform .5s var(--ease); }
.stop--origin .stop__name, .stop--last .stop__name { font-size: 1.5rem; font-weight: 900; }
.stop__note {
  font-family: var(--f-led); font-weight: 900; font-size: .75rem; letter-spacing: .18em; text-transform: uppercase;
  padding: 4px 8px; border-radius: 6px; background: var(--black); color: var(--led);
}
.js .stop:not(.reached) .stop__name { color: #8A8676; }
.stop.reached .stop__name::before { background: var(--yellow); border-color: var(--black); transform: scale(1.3); }
.stop.reached .stop__name { transform: translateX(4px); }
.route__extra {
  display: flex; align-items: center; gap: 10px; margin-top: 30px; padding: 14px 18px;
  border-radius: 14px; background: var(--chalk); font-weight: 600;
}
.route__extra svg { width: 20px; height: 20px; color: var(--yellow-deep); }

/* ---------- Banner ---------- */
.banner { position: relative; height: clamp(520px, 92vh, 880px); background: var(--chalk); }
.banner__frame {
  --inset: 0; --r: 0px;
  position: absolute; inset: 0; overflow: hidden; background: var(--black);
  clip-path: inset(calc(var(--inset) * 1%) calc(var(--inset) * 1.4%) round var(--r));
}
.js .banner__frame { --inset: 7; --r: 36px; }
.banner__img { position: absolute; left: 0; top: -10%; width: 100%; height: 120%; object-fit: cover; object-position: 50% 40%; transform: translate3d(0, var(--py, 0px), 0) scale(1.02); }
.banner__frame::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(21, 20, 15, .92) 0%, rgba(21, 20, 15, .35) 45%, rgba(21, 20, 15, .15) 100%);
}
.banner__text { position: absolute; left: 0; right: 0; bottom: clamp(56px, 12vh, 120px); z-index: 1; color: var(--white); }
.banner__quote {
  font-family: var(--f-display); font-weight: 900; font-style: italic; font-stretch: 118%;
  font-size: clamp(2.5rem, 7.4vw, 6.6rem); line-height: .92; letter-spacing: -.045em;
}
.banner__quote em { color: var(--yellow); }
.banner__sub { margin-top: 20px; font-size: clamp(1.05rem, 1.5vw, 1.25rem); color: rgba(255, 255, 255, .85); max-width: 40ch; }

/* ---------- Why choose us ---------- */
.why { padding-block: var(--section-y); background: var(--chalk); }
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2.4vw, 30px); }
.why-card {
  display: flex; flex-direction: column; overflow: hidden;
  border-radius: 26px; background: var(--white);
  box-shadow: 0 1px 0 var(--line);
}
.why-card { transition: opacity .9s var(--ease) var(--d, 0s), transform .7s var(--ease), box-shadow .6s; }
.why-card.in:hover, .no-io .why-card:hover { transform: translateY(-10px); box-shadow: 0 44px 70px -44px rgba(21, 20, 15, .5); }
.why-card__img { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--asphalt); }
.why-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.why-card:hover .why-card__img img { transform: scale(1.09); }
.why-card__img::after {
  content: ""; position: absolute; inset: 0; background: var(--yellow);
  transform: scaleY(0); transform-origin: top; transition: transform 1.1s var(--ease-in-out) calc(var(--d, 0s) + .1s);
}
.js .why-card:not(.in) .why-card__img::after { transform: scaleY(1); transform-origin: bottom; transition: none; }
.why-card__body { padding: 26px 28px 32px; }
.why-card h3 { font-family: var(--f-display); font-weight: 800; font-stretch: 110%; font-size: 1.45rem; letter-spacing: -.015em; margin-bottom: 10px; }
.why-card p { color: var(--muted); }

/* ---------- Booking ---------- */
.booking {
  position: relative; isolation: isolate; overflow: hidden;
  padding-block: var(--section-y); background: var(--black); color: var(--white);
}
.booking__lines {
  position: absolute; inset: 0; z-index: -1; opacity: .5;
  background:
    radial-gradient(circle at 12% 18%, rgba(239, 173, 1, .16), transparent 40%),
    repeating-linear-gradient(115deg, transparent 0 46px, rgba(255, 255, 255, .025) 46px 48px);
}
.booking__grid { display: grid; grid-template-columns: .92fr 1.08fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.booking__lede { margin-top: 22px; font-size: 1.15rem; color: rgba(255, 255, 255, .8); max-width: 42ch; }
.steps { list-style: none; counter-reset: step; margin: 40px 0; padding: 0; display: grid; gap: 22px; }
.steps li { display: grid; grid-template-columns: 46px 1fr; gap: 16px; align-items: start; counter-increment: step; }
.steps li::before {
  content: counter(step); width: 46px; height: 46px; border-radius: 50%;
  display: grid; place-items: center;
  border: 2px solid var(--yellow); color: var(--yellow);
  font-family: var(--f-display); font-weight: 900; font-size: 1.1rem;
}
.steps strong { display: block; font-size: 1.08rem; }
.steps span { color: var(--muted-dark); }

.map-link {
  display: inline-flex; align-items: center; gap: 14px; padding: 12px 22px 12px 12px;
  border-radius: 999px; background: var(--asphalt); text-decoration: none;
  transition: background-color .3s, transform .5s var(--ease);
}
.map-link:hover { background: var(--asphalt-2); transform: translateX(6px); }
.map-link__pin { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--yellow); color: var(--black); }
.map-link__pin svg { width: 22px; height: 22px; }
.map-link:hover .map-link__pin svg { animation: bounce .8s var(--ease); }
.map-link strong { display: block; }
.map-link small { color: var(--muted-dark); font-size: .9rem; }
@keyframes bounce { 30% { transform: translateY(-7px); } 60% { transform: translateY(0); } 80% { transform: translateY(-3px); } }

.booking-card {
  position: relative; border-radius: 30px; background: var(--white); color: var(--ink);
  padding: clamp(24px, 3.6vw, 46px);
  box-shadow: 0 60px 120px -60px rgba(0, 0, 0, .95);
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { position: relative; }
.field--full { grid-column: 1 / -1; }
.field input, .field textarea {
  width: 100%; display: block;
  padding: 28px 18px 10px; border-radius: 16px; border: 2px solid transparent;
  background: var(--chalk); color: var(--ink);
  font: 500 1rem/1.4 var(--f-body);
  transition: border-color .3s, background-color .3s, box-shadow .3s;
  -webkit-appearance: none; appearance: none;
}
.field input { height: 64px; }
.field textarea { min-height: 136px; resize: vertical; }
.field label {
  position: absolute; left: 20px; top: 21px; pointer-events: none;
  color: var(--muted); font-weight: 500; transform-origin: left top;
  transition: transform .4s var(--ease), color .3s;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--yellow); background: var(--white); box-shadow: 0 0 0 6px rgba(239, 173, 1, .2); }
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label,
.field--date label { transform: translateY(-11px) scale(.76); color: var(--black); font-weight: 700; }
.field input:user-invalid, .field textarea:user-invalid { border-color: #C2410C; }
.field__hint { display: block; margin-top: 8px; font-size: .88rem; color: var(--muted); }
.field--trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.btn--send { width: 100%; margin-top: 22px; min-height: 64px; font-size: 1.05rem; }
.btn__coach {
  position: absolute; left: 0; top: 50%; width: 64px; height: 26px; margin-top: -13px;
  transform: translateX(-80px); opacity: 0; pointer-events: none;
}
.btn--send.is-sending .btn__label { opacity: 0; }
.btn--send.is-sending .btn__coach { opacity: 1; animation: sendDrive 1.1s linear infinite; }
.btn--send.is-sending { cursor: progress; }
@keyframes sendDrive { from { transform: translateX(-80px); } to { transform: translateX(min(640px, 100vw)); } }
.btn--send .btn__label { transition: opacity .2s; }
.form-status { min-height: 1.6em; margin-top: 14px; font-weight: 600; color: var(--muted); }
.form-status.is-error { color: #B42318; }

.ticket {
  position: relative; padding: 30px 28px; border-radius: 20px;
  background: var(--yellow); color: var(--black);
  animation: ticketIn .9s var(--ease) both;
}
.ticket::before, .ticket::after {
  content: ""; position: absolute; top: 50%; width: 28px; height: 28px; margin-top: -14px; border-radius: 50%; background: var(--white);
}
.ticket::before { left: -14px; }
.ticket::after { right: -14px; }
.ticket__led { display: inline-block; font-family: var(--f-led); font-weight: 900; letter-spacing: .2em; padding: 8px 12px; border-radius: 8px; background: var(--black); color: var(--led); text-shadow: 0 0 8px rgba(255, 184, 28, .7); }
.ticket__title { margin: 20px 0 10px; font-family: var(--f-display); font-weight: 900; font-stretch: 112%; font-size: clamp(1.7rem, 3vw, 2.3rem); line-height: 1; letter-spacing: -.03em; }
.ticket__meta { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 26px 0; padding-top: 22px; border-top: 2px dashed rgba(21, 20, 15, .4); }
.ticket__meta dt { font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.ticket__meta dd { margin: 4px 0 0; font-weight: 700; font-size: 1.1rem; }
@keyframes ticketIn { from { transform: translateY(40px) rotate(-3deg) scale(.94); opacity: 0; } }

/* ---------- Contact ---------- */
.contact { padding-block: var(--section-y); background: var(--chalk); }
.contact-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.contact-card {
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; flex-direction: column; gap: 6px;
  padding: 28px 26px 30px; border-radius: 24px;
  background: var(--white); color: var(--ink); text-decoration: none;
  box-shadow: 0 1px 0 var(--line);
}
.contact-card::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--yellow); transform: translateY(101%);
  transition: transform .6s var(--ease);
}
a.contact-card:hover::before { transform: none; }
.contact-card__icon {
  display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: 18px;
  border-radius: 16px; background: var(--black); color: var(--yellow);
  transition: transform .6s var(--ease);
}
a.contact-card:hover .contact-card__icon { transform: rotate(-10deg) scale(1.08); }
.contact-card__icon svg { width: 24px; height: 24px; }
.contact-card__label { font-family: var(--f-led); font-weight: 900; font-size: .8rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); transition: color .3s; }
a.contact-card:hover .contact-card__label { color: var(--black); }
.contact-card__value { font-weight: 700; font-size: 1.12rem; line-height: 1.35; overflow-wrap: break-word; }
.contact-card__note { color: var(--muted); transition: color .3s; }
a.contact-card:hover .contact-card__note { color: var(--black); }
.contact-card__go { display: inline-flex; align-items: center; gap: 8px; margin-top: auto; padding-top: 16px; font-weight: 700; font-size: .95rem; }
.contact-card__go svg { width: 18px; height: 18px; transition: transform .5s var(--ease); }
a.contact-card:hover .contact-card__go svg { transform: translateX(6px); }

.contact__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; margin-top: 56px; padding-top: 32px; border-top: 1px solid var(--line); }
.motto { font-family: var(--f-display); font-weight: 800; font-style: italic; font-stretch: 112%; font-size: clamp(1.4rem, 2.6vw, 2rem); letter-spacing: -.02em; }
.socials { display: flex; flex-wrap: wrap; gap: 12px; }
.social {
  display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%;
  background: var(--black); color: var(--white);
  transition: transform .5s var(--ease), background-color .3s, color .3s;
}
.social svg { width: 20px; height: 20px; }
.social:hover { background: var(--yellow); color: var(--black); transform: translateY(-5px) rotate(-8deg); }

/* ---------- Footer ---------- */
.footer { background: var(--black); color: var(--muted-dark); padding-top: clamp(64px, 8vw, 100px); overflow: hidden; }
.footer__top { display: grid; grid-template-columns: 1.3fr 1fr 1.2fr; gap: 40px; }
.footer__brand img { width: 84px; height: 84px; margin-bottom: 18px; }
.footer__motto { font-family: var(--f-display); font-style: italic; font-weight: 800; font-stretch: 112%; font-size: 1.35rem; color: var(--white); margin-bottom: 10px; }
.footer__brand p:last-child { max-width: 34ch; }
.footer__h { font-family: var(--f-led); font-weight: 900; font-size: .85rem; letter-spacing: .2em; text-transform: uppercase; color: var(--led); margin-bottom: 18px; }
.footer__links { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer__links a { text-decoration: none; background: linear-gradient(var(--yellow), var(--yellow)) left bottom / 0 2px no-repeat; transition: background-size .45s var(--ease), color .3s; }
.footer__links a:hover { color: var(--white); background-size: 100% 2px; }
.socials--footer { margin-top: 22px; }
.socials--footer .social { background: var(--asphalt); }
.footer__word {
  margin: clamp(40px, 6vw, 80px) 0 0; text-align: center; white-space: nowrap;
  font-family: var(--f-display); font-weight: 900; font-style: italic; font-stretch: 100%;
  font-size: clamp(3.2rem, 15vw, 15rem); line-height: .82; letter-spacing: -.055em;
  color: transparent; -webkit-text-stroke: 1.5px rgba(239, 173, 1, .5);
  background: linear-gradient(var(--yellow), var(--yellow)) left / var(--fill, 100%) 100% no-repeat;
  -webkit-background-clip: text; background-clip: text;
  user-select: none;
}
.js .footer__word { --fill: 0%; }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-block: 26px 30px; margin-top: 26px; border-top: 1px solid rgba(255, 255, 255, .08); font-size: .92rem; }
.footer__top-link { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font-weight: 600; }
.footer__top-link svg { width: 16px; height: 16px; transition: transform .4s var(--ease); }
.footer__top-link:hover { color: var(--yellow); }
.footer__top-link:hover svg { transform: translateY(-4px); }

/* ---------- Floating buttons ---------- */
.fab-wa {
  position: fixed; right: 20px; bottom: 20px; z-index: 50;
  display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%;
  background: #25D366; color: var(--white);
  box-shadow: 0 16px 30px -12px rgba(0, 0, 0, .5);
  transition: transform .5s var(--ease);
}
.fab-wa svg { width: 28px; height: 28px; }
.fab-wa::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #25D366; animation: ping 2.2s var(--ease) infinite; }
.fab-wa:hover { transform: scale(1.08); }
.to-top {
  position: fixed; right: 25px; bottom: 90px; z-index: 50;
  display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%;
  background: var(--black); color: var(--yellow);
  opacity: 0; transform: translateY(16px); pointer-events: none;
  transition: opacity .4s, transform .5s var(--ease);
}
.to-top.show { opacity: 1; transform: none; pointer-events: auto; }
.to-top__ring { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.to-top__ring circle { fill: none; stroke: var(--yellow); stroke-width: 3; stroke-dasharray: 1; stroke-dashoffset: var(--ring, 1); }
.to-top__icon { width: 18px; height: 18px; }

/* ---------- Reveal on scroll ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(44px); transition: opacity 1s var(--ease) var(--d, 0s), transform 1.2s var(--ease) var(--d, 0s); }
.js [data-reveal].in { opacity: 1; transform: none; }
.js .why-card[data-reveal].in { transition: opacity 1s var(--ease) var(--d, 0s), transform .7s var(--ease), box-shadow .6s; }

/* =========================================================
   ABOUT PAGE
   ========================================================= */
.page-hero {
  position: relative; overflow: hidden; isolation: isolate;
  background: var(--black); color: var(--white);
  padding-block: calc(var(--header-h) + clamp(48px, 8vw, 110px)) clamp(80px, 10vw, 130px);
}
.page-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(circle at 85% 30%, rgba(239, 173, 1, .22), transparent 45%);
}
.page-hero__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(36px, 5vw, 72px); align-items: center; }
.page-hero__title {
  margin: 24px 0; font-family: var(--f-display); font-weight: 900; font-stretch: 118%;
  font-size: clamp(2.9rem, 6vw, 5.6rem); line-height: .9; letter-spacing: -.045em;
}
.page-hero__lede { max-width: 46ch; font-size: clamp(1.05rem, 1.5vw, 1.22rem); color: rgba(255, 255, 255, .8); }
.page-hero__lede { transition: opacity 1s var(--ease) .35s, transform 1.2s var(--ease) .35s; }
.js:not(.loaded) .page-hero__lede { opacity: 0; transform: translateY(24px); }
.page-hero__media { position: relative; margin: 0; }
.page-hero__frame {
  aspect-ratio: 5 / 4; border-radius: 180px 32px 32px 32px; overflow: hidden;
  box-shadow: 0 50px 90px -40px rgba(0, 0, 0, .9);
  transition: clip-path 1.5s var(--ease) .2s;
  clip-path: inset(0 0 0 0 round 180px 32px 32px 32px);
}
.js:not(.loaded) .page-hero__frame { clip-path: inset(0 0 100% 0 round 180px 32px 32px 32px); }
.page-hero__frame img { width: 100%; height: 100%; object-fit: cover; animation: kenburns 20s ease-in-out infinite alternate; }
.page-hero__badge {
  position: absolute; left: -18px; bottom: 28px;
  padding: 14px 20px; border-radius: 16px;
  background: var(--yellow); color: var(--black);
  font-family: var(--f-display); font-weight: 900; font-stretch: 108%; font-size: 1.15rem; line-height: 1.15;
  box-shadow: 0 20px 40px -20px rgba(0, 0, 0, .8);
  animation: float 5s ease-in-out infinite;
}
.page-hero__badge span { display: block; font-family: var(--f-body); font-weight: 600; font-size: .8rem; letter-spacing: .04em; }
@keyframes float { 50% { transform: translateY(-10px); } }

.story { padding-block: var(--section-y); }
.story__grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(36px, 6vw, 96px); align-items: start; }
.story__big {
  margin-top: 22px; font-family: var(--f-display); font-weight: 700; font-stretch: 108%;
  font-size: clamp(1.7rem, 3.4vw, 2.9rem); line-height: 1.12; letter-spacing: -.025em; text-wrap: balance;
}
.story__big strong { font-weight: 900; font-style: italic; background: linear-gradient(var(--yellow), var(--yellow)) left 88% / 100% .28em no-repeat; }
.story__img { border-radius: 26px; overflow: hidden; aspect-ratio: 4 / 3; margin-bottom: 22px; }
.story__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.story__img:hover img { transform: scale(1.06); }
.story__side p { color: var(--muted); font-size: 1.1rem; }

.mission { max-width: 1000px; }
.mission__quote {
  margin: 24px 0 26px; font-family: var(--f-display); font-weight: 900; font-stretch: 115%;
  font-size: clamp(2.2rem, 5.4vw, 4.4rem); line-height: .98; letter-spacing: -.04em; text-wrap: balance;
}
.mission__quote em { font-style: italic; }
.mission__text { max-width: 56ch; font-size: 1.15rem; font-weight: 500; }

.values { padding-block: var(--section-y); background: var(--chalk); }
.values__grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(36px, 6vw, 96px); align-items: start; }
.values__head { height: 100%; }
.values__sticky { position: sticky; top: calc(var(--header-h) + 40px); }
.values__sticky .section-lede { margin-top: 20px; }
.values__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.value {
  display: grid; grid-template-columns: 58px 1fr; gap: 20px; align-items: start;
  padding: 26px 28px; border-radius: 22px; background: var(--white);
  box-shadow: 0 1px 0 var(--line);
}
.value { transition: opacity 1s var(--ease) var(--d, 0s), transform .6s var(--ease), background-color .4s, color .4s; }
.value__icon { display: grid; place-items: center; width: 58px; height: 58px; border-radius: 18px; background: var(--chalk); color: var(--black); transition: background-color .4s, transform .6s var(--ease); }
.value__icon svg { width: 26px; height: 26px; }
.value h3 { font-family: var(--f-display); font-weight: 800; font-stretch: 110%; font-size: 1.35rem; letter-spacing: -.015em; margin-bottom: 6px; }
.value p { color: var(--muted); transition: color .4s; }
.value:hover { background: var(--black); color: var(--white); }
.value:hover p { color: var(--muted-dark); }
.value:hover .value__icon { background: var(--yellow); transform: rotate(-8deg); }
.js .value.in:hover { transform: translateX(8px); }

.services { padding-block: var(--section-y); background: var(--black); color: var(--white); }
.services .section-title { max-width: 16ch; }
.services__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(16px, 2.4vw, 28px); perspective: 1000px; }
.service {
  --rx: 0deg; --ry: 0deg;
  position: relative; display: flex; flex-direction: column; align-items: flex-start;
  padding: clamp(28px, 4vw, 48px); border-radius: 28px;
  background: var(--asphalt); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .06);
}
.js .service[data-reveal].in { transform: rotateX(var(--rx)) rotateY(var(--ry)); transition: opacity 1s var(--ease) var(--d, 0s), transform .6s var(--ease); }
.service__icon { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 20px; background: var(--yellow); color: var(--black); }
.service__icon svg { width: 30px; height: 30px; }
.service h3 { margin: 26px 0 10px; font-family: var(--f-display); font-weight: 900; font-stretch: 112%; font-size: clamp(1.6rem, 2.6vw, 2.1rem); letter-spacing: -.025em; }
.service p { color: var(--muted-dark); max-width: 44ch; }
.service__link { display: inline-flex; align-items: center; gap: 10px; margin-top: 26px; color: var(--yellow); font-weight: 700; text-decoration: none; }
.service__link svg { width: 20px; height: 20px; transition: transform .5s var(--ease); }
.service__link:hover svg { transform: translateX(6px); }

.why-about { padding-block: var(--section-y); }
.why-about__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 88px); align-items: center; }
.why-about__img { border-radius: 32px 32px 180px 32px; overflow: hidden; aspect-ratio: 4 / 4.4; }
.why-about__img img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; }
.why-about__text > div > p:last-child { margin-top: 22px; color: var(--muted); font-size: 1.1rem; max-width: 52ch; }
.green-card {
  display: grid; grid-template-columns: 52px 1fr; gap: 18px; align-items: start;
  margin-top: 36px; padding: 26px 26px 28px; border-radius: 22px;
  background: #E4EFE6; color: #12331C;
}
.green-card__icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; background: var(--green); color: var(--white); }
.green-card__icon svg { width: 24px; height: 24px; }
.green-card h3 { font-family: var(--f-display); font-weight: 800; font-stretch: 108%; font-size: 1.2rem; margin-bottom: 6px; }
.green-card p { color: #2F4B37; }

.cta-band { position: relative; overflow: hidden; background: var(--yellow); color: var(--black); padding-top: clamp(72px, 9vw, 120px); }
.cta-band__inner { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 28px; padding-bottom: clamp(48px, 6vw, 72px); }
.cta-band__title { font-family: var(--f-display); font-weight: 900; font-stretch: 118%; font-size: clamp(2.6rem, 7vw, 6rem); line-height: .92; letter-spacing: -.045em; }
.cta-band__title em { font-style: italic; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.cta-band__road {
  position: relative; height: 76px; background: var(--black);
}
.cta-band__road::before {
  content: ""; position: absolute; left: 0; right: 0; top: 36px; height: 4px;
  background: repeating-linear-gradient(90deg, var(--yellow) 0 64px, transparent 64px 120px);
  animation: lane 1.2s linear infinite reverse;
}
.cta-band__coach { position: absolute; bottom: 8px; left: 0; width: 120px; height: 48px; animation: cruise 11s linear infinite; }
@keyframes cruise { from { transform: translateX(-140px); } to { transform: translateX(100vw); } }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1060px) {
  .contact-grid { grid-template-columns: repeat(2, 1fr); }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 900px) {
  .section-head--split { grid-template-columns: 1fr; align-items: start; }
  .principles, .why-grid { grid-template-columns: 1fr; }
  .why-grid { max-width: 560px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stats > div:nth-child(3) { padding-left: 0; border-left: 0; }
  .stats > div:nth-child(n+3) { margin-top: 12px; border-top: 1px solid rgba(21, 20, 15, .25); }
  .route-grid, .booking__grid, .page-hero__grid, .story__grid, .values__grid, .services__grid, .why-about__grid { grid-template-columns: 1fr; }
  .values__sticky { position: static; }
  .page-hero__badge { left: 12px; }
  .why-about__img { aspect-ratio: 4 / 3; }
}
@media (max-width: 560px) {
  :root { --header-h: 70px; }
  .form-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr; }
  .stats dd { font-size: 2.6rem; }
  .stats > div + div { padding-left: 14px; }
  .stats > div:nth-child(3) { padding-left: 0; }
  .route__body { padding-left: 58px; }
  .stop__name::before { left: -40px; }
  .value { grid-template-columns: 1fr; padding: 22px; }
  .ticket__meta { grid-template-columns: 1fr; }
  .brand__name { font-size: 1.15rem; }
  .hero__cta .btn { flex: 1 1 auto; }
  .fab-wa { width: 52px; height: 52px; right: 16px; bottom: 16px; }
  .to-top { right: 18px; bottom: 80px; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
  html { scroll-behavior: auto; }
  .js .preloader { display: none; }
  .js [data-reveal] { opacity: 1; transform: none; }
  .js .swoosh { stroke-dashoffset: 0; }
  .js .banner__frame { --inset: 0; --r: 0px; }
  .js .footer__word { --fill: 100%; }
  .cta-band__coach { left: 60%; }
}

/* =========================================================
   V2 ADDITIONS · routes list, gallery, contacts, game
   ========================================================= */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.flip { transform: scaleX(-1); }
.nav__mobile-only { display: none; }
@media (max-width: 920px) { .nav__mobile-only { display: block; } }

.btn--sm { min-height: 44px; padding: 0 18px; font-size: .92rem; gap: 8px; }
.btn--sm svg { width: 18px; height: 18px; }
.btn--sm:hover svg { transform: none; }
.btn--wa { background: #25D366; color: var(--white); }
.btn--wa::before { background: #1A9E4C; }

.round-btn {
  display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; border: 0; cursor: pointer;
  background: var(--asphalt-2); color: var(--white);
  transition: background-color .3s, color .3s, transform .45s var(--ease), opacity .3s;
}
.round-btn svg { width: 22px; height: 22px; }
.round-btn:hover { background: var(--yellow); color: var(--black); transform: scale(1.07); }
.round-btn:disabled { opacity: .3; cursor: default; transform: none; background: var(--asphalt-2); color: var(--white); }

/* ---------- Routes: search + distance list ---------- */
.routes__side { display: grid; gap: 18px; }
.route-search {
  display: flex; align-items: center; gap: 12px; height: 60px; padding: 0 22px;
  border-radius: 999px; background: var(--white); cursor: text;
  box-shadow: 0 1px 0 var(--line), 0 24px 40px -32px rgba(21, 20, 15, .45);
  transition: box-shadow .3s;
}
.route-search:focus-within { box-shadow: 0 0 0 3px var(--yellow), 0 24px 40px -32px rgba(21, 20, 15, .45); }
.route-search svg { width: 20px; height: 20px; color: var(--muted); }
.route-search input { flex: 1; min-width: 0; height: 100%; border: 0; background: none; outline: none; font: 500 1.05rem var(--f-body); color: var(--ink); }
.route-search__result { min-height: 1.5em; font-weight: 600; color: var(--muted); }
.route-search__result a { color: var(--ink); text-decoration-color: var(--yellow); text-decoration-thickness: 2px; }

.route-col { display: grid; gap: clamp(20px, 3.5vw, 48px); align-content: start; }
.route__side { font-family: var(--f-led); font-weight: 900; font-size: .8rem; letter-spacing: .2em; text-transform: uppercase; color: var(--yellow-deep); margin-bottom: 12px; }
.stop__name small { display: block; margin-top: 2px; font-family: var(--f-body); font-weight: 500; font-stretch: 100%; font-size: .85rem; color: var(--muted); }
.stop__km { flex-shrink: 0; text-align: right; line-height: 1.1; font-weight: 600; font-variant-numeric: tabular-nums; }
.stop__km b { font-family: var(--f-display); font-weight: 900; font-stretch: 110%; font-size: 1.35rem; transition: color .4s; }
.stop__km small { display: block; margin-top: 3px; font-size: .8rem; font-weight: 500; color: var(--muted); }
.js .stop:not(.reached) .stop__km b { color: #8A8676; }
.stop.is-dim { opacity: .28; }
.stop.is-match::after, .route__extra.is-match { box-shadow: 0 0 0 3px var(--yellow); }
.stop.is-match::after { content: ""; position: absolute; inset: -8px -12px -8px -14px; z-index: -1; border-radius: 14px; background: rgba(239, 173, 1, .2); }
.stop.is-match .stop__name, .stop.is-match .stop__km b { color: var(--ink) !important; }
.route__extra.is-dim { opacity: .35; }
.route__extras .route__extra { margin-top: 26px; }

.route__contact {
  display: flex; align-items: center; gap: 14px; margin-top: 16px; padding: 14px 18px;
  border-radius: 18px; background: var(--black); color: var(--white); text-decoration: none; font-weight: 700;
  transition: transform .5s var(--ease), background-color .3s;
}
.route__contact:hover { transform: translateY(-3px); background: var(--asphalt-2); }
.route__contact small { display: block; font-size: .8rem; font-weight: 500; color: var(--muted-dark); }
.route__contact-icon { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--yellow); color: var(--black); }
.route__contact-icon svg { width: 18px; height: 18px; }

.round-clock {
  position: relative; overflow: hidden; isolation: isolate;
  padding: clamp(26px, 3.5vw, 40px); border-radius: 30px;
  background: var(--black); color: var(--white);
}
.round-clock::after {
  content: ""; position: absolute; right: -70px; bottom: -70px; z-index: -1;
  width: 220px; height: 220px; border-radius: 50%;
  border: 12px dashed rgba(239, 173, 1, .22);
  animation: spin 40s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.round-clock__led { display: inline-block; padding: 8px 12px; border-radius: 8px; background: #0B0A07; font-family: var(--f-led); font-weight: 900; letter-spacing: .2em; color: var(--led); text-shadow: 0 0 8px rgba(255, 184, 28, .7); }
.round-clock__big { margin: 18px 0 10px; font-family: var(--f-display); font-weight: 900; font-stretch: 112%; font-size: clamp(1.6rem, 2.6vw, 2.2rem); line-height: 1.02; letter-spacing: -.025em; }
.round-clock p:last-child { color: var(--muted-dark); max-width: 40ch; }

/* ---------- Gallery ---------- */
.gallery { background: var(--black); color: var(--white); padding-block: var(--section-y) clamp(56px, 7vw, 90px); overflow: hidden; }
.gallery .section-lede { color: var(--muted-dark); }
.gallery__side { display: grid; gap: 22px; justify-items: start; }
.gallery__nav { display: flex; gap: 10px; }
.gallery__viewport {
  --edge: max(var(--gutter), calc((100vw - var(--maxw)) / 2 + var(--gutter)));
  display: flex; gap: clamp(14px, 2vw, 24px);
  overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: none;
  scroll-snap-type: x mandatory; scroll-padding-inline: var(--edge);
  padding: 8px var(--edge) 22px; cursor: grab; outline: none;
}
.gallery__viewport::-webkit-scrollbar { display: none; }
/* The strip dims for a moment as it slips back to the first photo.
   An animation, not a transition, so it cannot clash with the reveal. */
.gallery__viewport.is-rewinding { animation: galRewind .64s var(--ease-in-out); }
@keyframes galRewind { 0% { opacity: 1; } 45%, 55% { opacity: 0; } 100% { opacity: 1; } }
.gallery__viewport:focus-visible { box-shadow: inset 0 0 0 3px var(--yellow); }
.gallery__viewport.is-dragging { cursor: grabbing; scroll-snap-type: none; }
.gallery__viewport.is-dragging .shot { pointer-events: none; }
.shot {
  position: relative; isolation: isolate; display: block; overflow: hidden;
  flex: 0 0 clamp(260px, 40vw, 560px); aspect-ratio: 4 / 3;
  border-radius: 24px; background: var(--asphalt); scroll-snap-align: start;
  transition: transform .9s var(--ease) calc(var(--i, 0) * 90ms), opacity .8s calc(var(--i, 0) * 90ms);
}
.shot:nth-child(3n+2) { flex-basis: clamp(220px, 28vw, 400px); aspect-ratio: 4 / 5; }
.js .gallery__viewport[data-reveal] { opacity: 1; transform: none; }
.js .gallery__viewport[data-reveal]:not(.in) .shot { opacity: 0; transform: translateX(140px) rotate(2deg); }
@media (min-width: 901px) {
  .route-grid > .route-col { align-self: stretch; }
  .round-clock { position: sticky; top: calc(var(--header-h) + 24px); }
}
.shot img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.3s var(--ease); -webkit-user-drag: none; user-select: none; }
.shot:hover img { transform: scale(1.07); }
.shot::after { content: ""; position: absolute; inset: 0; z-index: 0; background: linear-gradient(0deg, rgba(21, 20, 15, .8), rgba(21, 20, 15, 0) 48%); }
.shot__cap {
  position: absolute; left: 20px; right: 20px; bottom: 18px; z-index: 1;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  font-family: var(--f-display); font-weight: 800; font-stretch: 110%; font-size: 1.25rem; line-height: 1.1; color: var(--white);
}
.shot__cap::after {
  content: "+"; flex-shrink: 0; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%;
  background: var(--yellow); color: var(--black); font: 700 1.5rem/1 var(--f-body);
  transition: transform .5s var(--ease);
}
.shot:hover .shot__cap::after { transform: rotate(90deg) scale(1.08); }
.gallery__foot { display: flex; align-items: center; gap: 24px; margin-top: 18px; }
.gallery__progress { flex: 1; height: 3px; border-radius: 3px; background: rgba(255, 255, 255, .12); overflow: hidden; }
.gallery__progress span { display: block; height: 100%; background: var(--yellow); transform-origin: left; transform: scaleX(var(--gp, .3)); transition: transform .2s; }

.lightbox {
  position: fixed; inset: 0; margin: 0; width: 100%; height: 100%; max-width: none; max-height: none;
  padding: clamp(16px, 4vw, 48px); border: 0; background: transparent; color: var(--white);
}
.lightbox::backdrop { background: rgba(11, 10, 7, .93); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.lightbox[open] { display: grid; grid-template-rows: minmax(0, 1fr) auto; place-items: center; gap: 18px; }
.lightbox__figure { margin: 0; display: grid; justify-items: center; align-content: center; gap: 14px; width: 100%; height: 100%; min-height: 0; }
.lightbox__img { max-width: min(1200px, 100%); max-height: calc(100svh - 230px); width: auto; height: auto; object-fit: contain; border-radius: 18px; animation: lbIn .55s var(--ease); touch-action: pan-y; }
.lightbox__cap { font-family: var(--f-display); font-weight: 800; font-stretch: 108%; font-size: 1.2rem; text-align: center; }
.lightbox__bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px; }
.lightbox__count { min-width: 7ch; text-align: center; font-family: var(--f-led); font-weight: 900; letter-spacing: .2em; color: var(--led); }
.lightbox__close { position: fixed; top: 16px; right: 16px; }
@keyframes lbIn { from { opacity: 0; transform: scale(.95); } }

.road-divider { position: relative; height: 26px; overflow: hidden; background: var(--asphalt); }
.road-divider::before {
  content: ""; position: absolute; left: 0; right: 0; top: 11px; height: 4px;
  background: repeating-linear-gradient(90deg, var(--yellow) 0 64px, transparent 64px 120px);
  background-size: 120px 100%; animation: lane .9s linear infinite;
}
.booking__links { display: grid; gap: 12px; justify-items: start; }

/* ---------- Contact: people + info ---------- */
.people { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.person {
  position: relative; display: flex; flex-direction: column; align-items: flex-start;
  padding: 30px 28px; border-radius: 26px; background: var(--white); box-shadow: 0 1px 0 var(--line);
}
.person--hire { background: var(--yellow); }
.person__icon { display: grid; place-items: center; width: 54px; height: 54px; margin-bottom: 20px; border-radius: 16px; background: var(--black); color: var(--yellow); }
.person__icon svg { width: 24px; height: 24px; }
.person__role { font-family: var(--f-led); font-weight: 900; font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.person--hire .person__role { color: var(--black); }
.person__name { margin-top: 10px; font-family: var(--f-display); font-weight: 900; font-stretch: 112%; font-size: clamp(1.6rem, 2.4vw, 2rem); line-height: 1; letter-spacing: -.025em; }
.person__phone { margin-top: 10px; font-family: var(--f-display); font-weight: 800; font-size: 1.35rem; text-decoration: none; font-variant-numeric: tabular-nums; }
.person__phone:hover { text-decoration: underline; text-decoration-color: var(--black); text-underline-offset: 4px; }
.person__note { margin-top: 10px; color: var(--muted); }
.person--hire .person__note { color: #3B3214; }
.person__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: auto; padding-top: 24px; }
.info-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 18px; }
.info {
  display: flex; align-items: center; gap: 16px; padding: 20px 22px; border-radius: 20px;
  background: var(--white); box-shadow: 0 1px 0 var(--line);
  text-decoration: none; font-weight: 700; line-height: 1.35; overflow-wrap: break-word;
}
a.info { transition: opacity 1s var(--ease) var(--d, 0s), transform .5s var(--ease); }
a.info.in:hover { transform: translateY(-4px); }
.info small { display: block; font-size: .85rem; font-weight: 500; color: var(--muted); }
.info__icon { display: grid; place-items: center; flex-shrink: 0; width: 46px; height: 46px; border-radius: 14px; background: var(--chalk); }
.info__icon svg { width: 22px; height: 22px; }
.footer__contacts small { display: block; font-size: .78rem; color: #8E8A7B; }
.footer__brand .socials--footer { margin-top: 22px; }

.fab-wa__label {
  position: absolute; right: calc(100% + 12px); top: 50%;
  padding: 9px 14px; border-radius: 999px; white-space: nowrap;
  background: var(--black); color: var(--white); font-weight: 700; font-size: .88rem;
  opacity: 0; pointer-events: none; transform: translate(8px, -50%);
  transition: opacity .3s, transform .45s var(--ease);
  box-shadow: 0 10px 24px -12px rgba(0, 0, 0, .6);
}
.fab-wa:hover .fab-wa__label, .fab-wa:focus-visible .fab-wa__label, .fab-wa.peek .fab-wa__label { opacity: 1; transform: translate(0, -50%); }

/* ---------- Game teaser ---------- */
.play { position: relative; overflow: hidden; background: var(--yellow); color: var(--black); padding-block: clamp(72px, 9vw, 120px); }
.play__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(36px, 6vw, 80px); align-items: center; }
.play__lede { margin: 20px 0 30px; max-width: 46ch; font-size: 1.15rem; font-weight: 500; }
.play .btn svg { width: 18px; height: 18px; }
.play .btn:hover svg { transform: none; }
.play__road {
  position: relative; overflow: hidden; height: clamp(300px, 34vw, 420px); border-radius: 28px;
  background: linear-gradient(90deg, #8C8A4B 0 16%, #B89E6A 16% 17.5%, #3B3A35 17.5% 82.5%, #B89E6A 82.5% 84%, #8C8A4B 84%);
  box-shadow: 0 40px 80px -40px rgba(21, 20, 15, .6); transform: rotate(-3deg);
}
.play__lanes {
  position: absolute; inset: 0 17.5%;
  background:
    repeating-linear-gradient(180deg, rgba(255, 255, 255, .85) 0 26px, transparent 26px 50px) 33.3% 0 / 4px 100% no-repeat,
    repeating-linear-gradient(180deg, rgba(255, 255, 255, .85) 0 26px, transparent 26px 50px) 66.7% 0 / 4px 100% no-repeat;
  animation: lanesDown .45s linear infinite;
}
@keyframes lanesDown { to { background-position: 33.3% 50px, 66.7% 50px; } }
.play__coach { position: absolute; bottom: 10%; left: 50%; width: 44px; height: 100px; margin-left: -22px; animation: weave 6s var(--ease-in-out) infinite; filter: drop-shadow(0 8px 8px rgba(0, 0, 0, .35)); }
@keyframes weave { 0%, 12% { left: 50%; } 25%, 45% { left: 28.3%; } 58%, 78% { left: 71.7%; } 92%, 100% { left: 50%; } }
.play__car { position: absolute; top: -20%; width: 34px; height: 60px; margin-left: -17px; animation: carDown 6s linear infinite; }
.play__car--a { left: 28.3%; animation-delay: -4.4s; }
.play__car--b { left: 71.7%; animation-delay: -2.2s; }
.play__car--c { left: 50%; animation-delay: -5.85s; }
@keyframes carDown { from { top: -20%; } to { top: 115%; } }

/* ---------- About: journey ---------- */
.journey { padding-block: var(--section-y); }
.journey__track { --p: 0; position: relative; }
.journey__road { position: relative; height: 14px; margin: 50px 0 56px; border-radius: 14px; background: var(--asphalt); }
.journey__road::before {
  content: ""; position: absolute; left: 0; right: 0; top: 6px; height: 2px;
  background: repeating-linear-gradient(90deg, rgba(255, 255, 255, .55) 0 12px, transparent 12px 24px);
}
.journey__fill { position: absolute; left: 0; top: 0; bottom: 0; width: calc(var(--p) * 100%); border-radius: 14px; background: var(--yellow); }
.journey__coach { position: absolute; bottom: 6px; left: calc(var(--p) * (100% - 110px)); width: 110px; height: 44px; filter: drop-shadow(0 6px 6px rgba(0, 0, 0, .25)); }
.journey__steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2.4vw, 28px); counter-reset: j; }
.journey__step { position: relative; padding: 30px 28px 32px; border-radius: 24px; background: var(--white); box-shadow: 0 1px 0 var(--line); counter-increment: j; }
.journey__step::before {
  content: counter(j); position: absolute; top: -78px; left: 28px;
  display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%;
  background: var(--white); border: 4px solid var(--asphalt); font-weight: 900; font-size: .8rem;
  transition: background-color .4s, transform .5s var(--ease);
}
.journey__step.reached::before { background: var(--yellow); transform: scale(1.2); }
.journey__when { font-family: var(--f-led); font-weight: 900; font-size: .8rem; letter-spacing: .18em; text-transform: uppercase; color: var(--yellow-deep); }
.journey__step h3 { margin: 12px 0 8px; font-family: var(--f-display); font-weight: 900; font-stretch: 110%; font-size: 1.45rem; letter-spacing: -.015em; line-height: 1.1; }
.journey__step p:last-child { color: var(--muted); }

/* ---------- Game page ---------- */
.arcade {
  position: relative; isolation: isolate; overflow: hidden; min-height: 100svh;
  padding-block: calc(var(--header-h) + 28px) 64px;
  background: var(--black); color: var(--white);
}
.arcade::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(circle at 80% 20%, rgba(239, 173, 1, .16), transparent 45%), radial-gradient(circle at 10% 90%, rgba(52, 168, 83, .1), transparent 40%); }
.arcade__grid { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: clamp(28px, 5vw, 72px); align-items: center; }
.arcade__title { margin: 18px 0 20px; font-family: var(--f-display); font-weight: 900; font-stretch: 115%; font-size: clamp(2.6rem, 6vw, 5.2rem); line-height: .92; letter-spacing: -.04em; }
.arcade__title em { font-style: italic; color: var(--yellow); }
.arcade__lede { max-width: 46ch; font-size: 1.1rem; color: rgba(255, 255, 255, .8); }
.arcade__keys { list-style: none; margin: 28px 0; padding: 0; display: grid; gap: 12px; color: var(--muted-dark); }
kbd {
  display: inline-grid; place-items: center; min-width: 32px; height: 32px; margin-right: 4px; padding: 0 8px;
  border-radius: 8px; background: var(--asphalt-2); color: var(--white); font: 700 .9rem var(--f-body);
  box-shadow: inset 0 -3px 0 rgba(0, 0, 0, .45);
}
.legend { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; max-width: 520px; list-style: none; margin: 0; padding: 0; }
@media (max-width: 900px) { body:has(.arcade) .fab-wa, body:has(.arcade) .to-top { display: none; } }
.legend li { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 14px; background: var(--asphalt); font-size: .95rem; line-height: 1.3; }
.legend svg { width: 34px; height: 34px; flex-shrink: 0; }
.legend strong { display: block; color: var(--white); }
.legend span { color: var(--muted-dark); font-size: .85rem; }
.arcade__record { display: flex; align-items: center; gap: 16px; margin-top: 26px; }
.arcade__record-num { font-family: var(--f-led); font-weight: 900; font-size: 2.2rem; letter-spacing: .06em; color: var(--led); text-shadow: 0 0 10px rgba(255, 184, 28, .6); }
.arcade__record p:last-child { color: var(--muted-dark); max-width: 22ch; line-height: 1.35; }

.stage-col { display: grid; justify-items: center; gap: 14px; }
.stage {
  position: relative; overflow: hidden; aspect-ratio: 9 / 16;
  width: min(430px, calc((100svh - var(--header-h) - 70px) * 9 / 16)); min-width: 280px;
  border-radius: 26px; background: #3B3A35;
  box-shadow: 0 0 0 6px var(--asphalt-2), 0 50px 100px -40px rgba(0, 0, 0, .95);
  touch-action: none; user-select: none; -webkit-user-select: none; outline: none;
}
.stage:focus-visible { box-shadow: 0 0 0 6px var(--yellow), 0 50px 100px -40px rgba(0, 0, 0, .95); }
.stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.hud {
  position: absolute; left: 10px; right: 10px; top: 10px; pointer-events: none;
  font-family: var(--f-led); font-weight: 900; color: var(--led); text-shadow: 0 0 8px rgba(255, 184, 28, .6);
  opacity: 0; transition: opacity .4s;
}
.stage.is-playing .hud { opacity: 1; }
.hud__row { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.hud__box { display: flex; align-items: baseline; gap: 6px; padding: 6px 10px; border-radius: 10px; background: rgba(11, 10, 7, .84); letter-spacing: .06em; }
.hud__label { font-size: .6rem; color: var(--muted-dark); text-shadow: none; }
.hud__val { font-size: 1.2rem; font-variant-numeric: tabular-nums; }
.hud__of { font-size: .7rem; }
.hud__bar { height: 6px; margin-top: 8px; border-radius: 6px; overflow: hidden; background: rgba(11, 10, 7, .7); }
.hud__bar span { display: block; height: 100%; background: var(--yellow); transform-origin: left; transform: scaleX(var(--hp, 0)); }
.hud__row--small { margin-top: 8px; }
.hud__lives { display: flex; gap: 6px; padding: 8px 10px; border-radius: 10px; background: rgba(11, 10, 7, .84); }
.life { width: 11px; height: 11px; border-radius: 50%; background: var(--green-bright); box-shadow: 0 0 8px var(--green-bright); transition: background-color .3s, box-shadow .3s; }
.life.lost { background: #4A473D; box-shadow: none; }
.hud__pax { font-size: .72rem; letter-spacing: .1em; }
.hud__pax b { font-size: 1rem; }
.toast {
  position: absolute; left: 50%; top: 30%; z-index: 2; pointer-events: none; white-space: nowrap;
  padding: 10px 18px; border-radius: 999px; background: var(--yellow); color: var(--black);
  font-family: var(--f-display); font-weight: 900; font-stretch: 110%; font-size: 1.1rem;
  opacity: 0; transform: translate(-50%, -10px) scale(.9); transition: opacity .3s, transform .45s var(--ease);
  box-shadow: 0 16px 30px -14px rgba(0, 0, 0, .7);
}
.toast.show { opacity: 1; transform: translate(-50%, 0) scale(1); }
.stage__pause {
  position: absolute; right: 10px; bottom: 10px; z-index: 2; width: 44px; height: 44px; border-radius: 50%; border: 0; cursor: pointer;
  display: none; place-items: center; background: rgba(11, 10, 7, .8); color: var(--white); font: 900 .95rem var(--f-body); letter-spacing: 1px;
}
.stage.is-playing .stage__pause { display: grid; }
.screen {
  position: absolute; inset: 0; z-index: 3;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px;
  padding: 26px; text-align: center; background: rgba(21, 20, 15, .8);
  -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px);
  animation: screenIn .5s var(--ease);
}
@keyframes screenIn { from { opacity: 0; } }
.screen__led { padding: 8px 12px; border-radius: 8px; background: #0B0A07; font-family: var(--f-led); font-weight: 900; font-size: .9rem; letter-spacing: .2em; color: var(--led); text-shadow: 0 0 8px rgba(255, 184, 28, .7); }
.screen h2 { font-family: var(--f-display); font-weight: 900; font-stretch: 110%; font-size: clamp(1.7rem, 7vw, 2.3rem); line-height: 1; letter-spacing: -.03em; text-wrap: balance; }
.screen p { max-width: 30ch; color: rgba(255, 255, 255, .85); }
.screen select {
  width: 100%; max-width: 310px; height: 54px; padding: 0 14px; border-radius: 14px;
  border: 2px solid var(--yellow); background: var(--black); color: var(--white); font: 600 .98rem var(--f-body); cursor: pointer;
}
.screen__meta { font-size: .95rem; }
.screen__actions { display: grid; gap: 10px; width: 100%; max-width: 310px; }
.screen__actions .btn { width: 100%; min-height: 52px; }
.btn--light { background: var(--asphalt-2); color: var(--white); }
.btn--light::before { background: var(--white); }
.btn--light:hover { color: var(--black); }
.screen__stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; width: 100%; max-width: 320px; margin: 0; }
.screen__stats div { padding: 10px 6px; border-radius: 12px; background: #0B0A07; }
.screen__stats dt { font-size: .7rem; color: var(--muted-dark); }
.screen__stats dd { margin: 2px 0 0; font-family: var(--f-led); font-weight: 900; font-size: 1.2rem; color: var(--led); }
.screen__hint { font-size: .85rem; color: var(--muted-dark) !important; }
.touch-controls { display: none; width: 100%; grid-template-columns: 1fr 1fr; gap: 12px; }
.touch-btn {
  display: grid; place-items: center; height: 64px; border: 0; border-radius: 18px; cursor: pointer;
  background: var(--asphalt-2); color: var(--white); touch-action: manipulation;
}
.touch-btn svg { width: 28px; height: 28px; }
.touch-btn:active, .touch-btn.is-down { background: var(--yellow); color: var(--black); }
@media (pointer: coarse) { .touch-controls { display: grid; } }

/* ---------- V2 responsive ---------- */
@media (max-width: 1000px) {
  .people, .info-row { grid-template-columns: 1fr; }
  .people { max-width: 620px; }
}
@media (max-width: 900px) {
  .play__grid, .arcade__grid { grid-template-columns: 1fr; }
  .play__road { transform: none; }
  .journey__steps { grid-template-columns: 1fr; }
  .journey__road { display: none; }
  .journey__step::before { display: none; }
  .stage-col { order: -1; }
  .stage { width: min(100%, calc((100svh - var(--header-h) - 150px) * 9 / 16)); }
  .touch-controls { max-width: 430px; }
}
@media (max-width: 560px) {
  .legend { grid-template-columns: 1fr; }
  .gallery__foot { flex-direction: column; align-items: stretch; }
  .gallery__foot .btn { width: 100%; }
  .stop__km b { font-size: 1.15rem; }
  .fab-wa__label { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .js .gallery__viewport[data-reveal]:not(.in) .shot { opacity: 1; transform: none; }
  .journey__track { --p: 1; }
}

/* =========================================================
   V3 · on board, parcels, FAQ, fares, legal pages
   ========================================================= */
.stop__chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.chip {
  display: inline-block; padding: 4px 10px; border-radius: 999px;
  background: var(--chalk); color: var(--muted);
  font-family: var(--f-body); font-weight: 600; font-size: .8rem; font-stretch: 100%; letter-spacing: 0;
}
.chip--fare { background: var(--yellow); color: var(--black); font-weight: 700; }
.route__fare-note:not(:empty) { margin-top: 20px; font-size: .9rem; color: var(--muted); }

/* ---------- On board ---------- */
.onboard { padding-block: var(--section-y); background: var(--chalk); }
.onboard-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(14px, 2vw, 22px); }
.onboard-list li {
  display: flex; flex-direction: column; gap: 6px;
  padding: 26px 22px 28px; border-radius: 22px; background: var(--white); box-shadow: 0 1px 0 var(--line);
}
.onboard__icon { display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: 14px; border-radius: 16px; background: var(--black); color: var(--yellow); transition: transform .6s var(--ease), background-color .3s; }
.onboard__icon svg { width: 24px; height: 24px; }
.onboard-list li:hover .onboard__icon { transform: rotate(-8deg) scale(1.08); background: var(--yellow); color: var(--black); }
.onboard-list strong { font-family: var(--f-display); font-weight: 800; font-stretch: 108%; font-size: 1.15rem; letter-spacing: -.01em; }
.onboard-list span:last-child { color: var(--muted); font-size: .95rem; line-height: 1.4; }

/* ---------- Parcels ---------- */
.parcels { background: var(--asphalt); color: var(--white); padding-block: clamp(56px, 7vw, 88px); }
.parcels__inner { display: grid; grid-template-columns: auto 1fr auto; gap: clamp(20px, 3vw, 40px); align-items: center; }
.parcels__icon { display: grid; place-items: center; width: 74px; height: 74px; border-radius: 22px; background: var(--yellow); color: var(--black); }
.parcels__icon svg { width: 34px; height: 34px; }
.parcels .section-title { font-size: clamp(1.9rem, 3.4vw, 2.8rem); margin-top: 10px; }
.parcels__text p:last-child { margin-top: 12px; color: var(--muted-dark); max-width: 52ch; }
.parcels__actions { display: grid; gap: 10px; }
.parcels__actions .btn { justify-content: flex-start; }

/* ---------- FAQ ---------- */
.faq { padding-block: var(--section-y); background: var(--chalk); }
.faq-list { display: grid; gap: 12px; max-width: 900px; }
.faq-item { border-radius: 20px; background: var(--white); box-shadow: 0 1px 0 var(--line); overflow: hidden; }
.faq-item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  padding: 22px 26px; cursor: pointer; list-style: none;
  font-family: var(--f-display); font-weight: 800; font-stretch: 108%; font-size: clamp(1.05rem, 1.7vw, 1.25rem); letter-spacing: -.01em;
  transition: background-color .3s;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: ""; flex-shrink: 0; width: 30px; height: 30px; border-radius: 50%;
  background: var(--chalk) no-repeat center;
  background-image: linear-gradient(var(--black), var(--black)), linear-gradient(var(--black), var(--black));
  background-size: 13px 2px, 2px 13px;
  transition: transform .45s var(--ease), background-color .3s;
}
.faq-item[open] summary::after { transform: rotate(135deg); background-color: var(--yellow); }
.faq-item summary:hover { background: #FBFAF6; }
.faq-item > div { padding: 0 26px 24px; max-width: 70ch; color: var(--muted); }
.faq-item > div a { color: var(--ink); font-weight: 700; text-decoration-color: var(--yellow); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.faq-item[open] > div { animation: faqIn .45s var(--ease); }
@keyframes faqIn { from { opacity: 0; transform: translateY(-8px); } }

/* ---------- Reviews (used once real quotes are added) ---------- */
.reviews { padding-block: var(--section-y); background: var(--chalk); }
.reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.review { margin: 0; padding: 30px 28px; border-radius: 24px; background: var(--white); box-shadow: 0 1px 0 var(--line); }
.review blockquote { margin: 0; font-family: var(--f-display); font-weight: 700; font-stretch: 106%; font-size: 1.2rem; line-height: 1.3; }
.review blockquote::before { content: "\201C"; }
.review blockquote::after { content: "\201D"; }
.review figcaption { margin-top: 18px; font-weight: 700; }
.review figcaption span { display: block; font-weight: 500; color: var(--muted); font-size: .9rem; }

/* ---------- Legal pages ---------- */
.legal { background: var(--chalk); }
.legal__head {
  max-width: none; background: var(--black); color: var(--white);
  padding-block: calc(var(--header-h) + clamp(44px, 7vw, 90px)) clamp(28px, 4vw, 48px);
  padding-inline: max(var(--gutter), calc((100vw - var(--maxw)) / 2 + var(--gutter)));
}
.legal__title { font-family: var(--f-display); font-weight: 900; font-stretch: 112%; font-size: clamp(2.2rem, 5vw, 4rem); line-height: .98; letter-spacing: -.035em; margin: 18px 0 16px; text-wrap: balance; }
.legal__lede { max-width: 56ch; color: rgba(255, 255, 255, .82); font-size: 1.1rem; }
.legal__updated { margin-top: 20px; font-family: var(--f-led); font-weight: 900; font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; color: var(--led); }
.legal__body { padding-block: clamp(40px, 6vw, 72px) clamp(64px, 9vw, 110px); max-width: 860px; }
.legal__body h2 { font-family: var(--f-display); font-weight: 900; font-stretch: 110%; font-size: clamp(1.4rem, 2.4vw, 1.9rem); letter-spacing: -.02em; margin: 44px 0 14px; }
.legal__body h2:first-of-type { margin-top: 0; }
.legal__body p, .legal__body li { color: var(--ink); line-height: 1.7; }
.legal__body ul { margin: 0 0 16px; padding-left: 22px; display: grid; gap: 10px; }
/* A paragraph following a list, or another paragraph, needs air. Without this
   the closing line of a section runs straight into the bullet above it. */
.legal__body p { margin: 0 0 16px; }
.legal__body > p:last-child, .legal__body > ul:last-child { margin-bottom: 0; }
.legal__body a { color: var(--ink); text-decoration-color: var(--yellow); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.legal__draft { padding: 18px 22px; border-radius: 16px; background: #FFF4D6; box-shadow: inset 0 0 0 2px var(--yellow); margin-bottom: 36px; }
/* The Consumer Protection Act requires a term that limits our liability to be
   drawn to the reader's attention conspicuously, not buried in a list. This is
   that box: it must stay visible and must not be quietly restyled away. */
.legal__notice { padding: 18px 22px; border-radius: 16px; background: #FFF4D6; box-shadow: inset 0 0 0 2px var(--yellow); margin: 20px 0 0; }
.legal__notice strong { display: block; margin-bottom: 4px; }
.legal__body mark { background: var(--yellow); color: var(--black); padding: 1px 5px; border-radius: 4px; }
.legal__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 48px; }
.footer__legal { display: flex; gap: 10px; flex-wrap: wrap; }
.footer__legal a { text-decoration: none; }
.footer__legal a:hover { color: var(--yellow); }

@media (max-width: 1000px) {
  .onboard-list { grid-template-columns: repeat(2, 1fr); }
  .parcels__inner { grid-template-columns: auto 1fr; }
  .parcels__actions { grid-column: 1 / -1; grid-template-columns: 1fr 1fr; }
  .reviews-grid { grid-template-columns: 1fr; max-width: 620px; }
}
@media (max-width: 560px) {
  .onboard-list { grid-template-columns: 1fr; }
  .parcels__inner { grid-template-columns: 1fr; }
  .parcels__actions { grid-template-columns: 1fr; }
  .faq-item summary { padding: 18px 20px; }
  .faq-item > div { padding: 0 20px 20px; }
}

/* =========================================================
   V4 · mobile polish (touch targets, game on phones)
   ========================================================= */
@media (hover: none), (pointer: coarse) {
  /* Comfortable tap targets everywhere thumbs land */
  .footer__links a, .footer__legal a { display: inline-block; padding-block: 9px; }
  .footer__links { gap: 4px; }
  .person__phone { display: inline-block; padding-block: 6px; }
  .service__link, .contact-card__go, .footer__top-link { padding-block: 10px; }
  .nav a { padding-block: 12px; }
  .route-search input { height: 100%; }
  .scroll-cue { display: none; }
  /* Hover-only flourishes off: they fire on first tap otherwise */
  .why-card:hover .why-card__img img, .shot:hover img, .story__img:hover img { transform: none; }
  .principle:hover .principle__icon { transform: translateZ(40px); }
}

/* The site's own floating buttons must never sit over the game controls */
.arcade ~ .fab-wa, .arcade ~ .to-top { display: none; }

@media (max-width: 900px) {
  .stage { width: min(100%, calc((100svh - var(--header-h) - 120px) * 9 / 16)); }
  .touch-btn { height: 58px; }
  .hud__label { font-size: .68rem; }
  .hud__val { font-size: 1.1rem; }
  .arcade { padding-block: calc(var(--header-h) + 16px) 48px; }
  .arcade__grid { gap: 26px; }
  .arcade__title { font-size: clamp(2.2rem, 9vw, 3rem); }
}

/* Phone held sideways: the road needs a tall screen, so ask for portrait */
.rotate-note { display: none; }
@media (orientation: landscape) and (max-height: 560px) {
  .arcade { min-height: 0; padding-block: calc(var(--header-h) + 10px) 32px; }
  .arcade__grid { grid-template-columns: 1fr; gap: 20px; }
  .arcade__title { font-size: clamp(1.8rem, 5vw, 2.6rem); margin: 10px 0 12px; }
  .arcade__lede { font-size: .98rem; }
  .arcade__keys { margin: 16px 0; }
  .legend { grid-template-columns: 1fr 1fr; }
  .stage, .touch-controls { display: none; }
  .rotate-note {
    display: flex; align-items: center; justify-content: center; gap: 12px; text-align: center;
    width: 100%; padding: 26px 22px; border-radius: 22px;
    background: var(--asphalt); color: var(--white); font-weight: 700;
  }
  .rotate-note svg { width: 26px; height: 26px; flex-shrink: 0; color: var(--yellow); }
  .hero { min-height: 520px; }
}

/* Save a little battery: pause decorative motion when the tab is hidden */
@media (prefers-reduced-motion: no-preference) {
  .is-hidden-tab .depboard__track, .is-hidden-tab .play__coach, .is-hidden-tab .play__car,
  .is-hidden-tab .cta-band__coach, .is-hidden-tab .hero__img { animation-play-state: paused; }
}

/* ---------- 404 ---------- */
.notfound { position: relative; display: grid; align-items: center; min-height: 100svh; background: var(--black); color: var(--white); padding-block: calc(var(--header-h) + 60px) 120px; }
.notfound::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 75% 25%, rgba(239, 173, 1, .18), transparent 45%); }
.notfound__inner { position: relative; }
.notfound__title { margin: 20px 0 18px; font-family: var(--f-display); font-weight: 900; font-stretch: 112%; font-size: clamp(2.4rem, 7vw, 5.4rem); line-height: .94; letter-spacing: -.04em; }
.notfound__lede { max-width: 48ch; font-size: 1.1rem; color: rgba(255, 255, 255, .82); }
.notfound__lede a { color: var(--yellow); }
.notfound__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.notfound .screen__led { display: inline-block; }

/* ---------- V5: photo credit + YouTube ---------- */
.credit {
  margin-top: 26px; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, .12);
  font-size: .9rem; line-height: 1.6; color: var(--muted-dark);
}
.credit strong { color: rgba(255, 255, 255, .88); font-weight: 600; }

.watch { padding-block: var(--section-y); background: var(--chalk); }
.watch .gallery__side { display: grid; gap: 22px; justify-items: start; }
.videos {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: clamp(16px, 2vw, 26px); margin-top: clamp(28px, 4vw, 46px);
}
.video {
  display: grid; gap: 14px; align-content: start;
  opacity: 0; transform: translateY(26px);
  transition: opacity .7s var(--ease) calc(var(--i, 0) * 90ms), transform .7s var(--ease) calc(var(--i, 0) * 90ms);
}
[data-reveal].in .video, .videos.in .video { opacity: 1; transform: none; }

/* The slot keeps the card's space whether the video plays here or in the corner */
.video__slot { position: relative; width: 100%; aspect-ratio: 16 / 9; border-radius: 20px; background: var(--black); overflow: hidden; }
.video__btn {
  position: absolute; inset: 0; display: block; width: 100%; height: 100%;
  padding: 0; border: 0; background: var(--black); cursor: pointer;
  box-shadow: 0 18px 40px -26px rgba(21, 20, 15, .8);
}
.video__thumb { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.video__btn::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(21, 20, 15, .55), transparent 55%);
  opacity: .75; transition: opacity .5s var(--ease);
}
.video__play {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  z-index: 2; display: grid; place-items: center; width: 72px; height: 72px; border-radius: 50%;
  background: var(--yellow); color: var(--black);
  box-shadow: 0 0 0 0 rgba(239, 173, 1, .5);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.video__play svg { width: 26px; height: 26px; margin-left: 4px; }
.video__new {
  position: absolute; z-index: 2; left: 14px; top: 14px;
  padding: 5px 12px; border-radius: 999px; background: var(--yellow); color: var(--black);
  font: 700 .72rem/1 var(--f-body); letter-spacing: .1em; text-transform: uppercase;
}
.video__btn:hover .video__thumb { transform: scale(1.06); }
.video__btn:hover .video__play { transform: translate(-50%, -50%) scale(1.1); box-shadow: 0 0 0 16px rgba(239, 173, 1, .16); }
.video__btn:hover::after { opacity: 1; }
.video.no-thumb .video__btn { background: var(--asphalt); }
.video.no-thumb .video__thumb { display: none; }
.video.is-playing .video__btn { visibility: hidden; }

/* Shown in the empty slot while the video plays down in the corner */
.video__away {
  position: absolute; inset: 0; display: none; place-items: center; text-align: center;
  padding: 20px; color: var(--muted-dark); font-size: .92rem;
}
.video.is-away .video__away { display: grid; }

.video__title { font-family: var(--f-display); font-weight: 800; font-stretch: 108%; font-size: 1.12rem; line-height: 1.2; }
.video__out { font-size: .86rem; color: var(--muted); text-decoration: none; border-bottom: 1px solid var(--line); justify-self: start; }
.video__out:hover { color: var(--ink); border-color: var(--yellow); }
.watch__foot { display: flex; justify-content: center; margin-top: clamp(30px, 4vw, 48px); }
.btn__yt { width: 20px; height: 20px; }

/* ---------- The travelling player ---------- */
.player { position: fixed; z-index: 40; border-radius: 20px; overflow: hidden; background: #000; }
.player__box { width: 100%; height: 100%; }
.player__box iframe { display: block; width: 100%; height: 100%; border: 0; }
.player__bar { display: none; }

.player.is-mini {
  z-index: 55; left: 20px; bottom: 20px; top: auto;
  width: min(360px, 40vw); height: auto;
  border-radius: 18px; box-shadow: 0 26px 60px -20px rgba(11, 10, 7, .7);
  animation: miniIn .45s var(--ease);
}
.player.is-mini .player__box { aspect-ratio: 16 / 9; height: auto; }
.player.is-mini .player__bar {
  display: flex; align-items: center; gap: 8px; padding: 8px 8px 8px 14px;
  background: var(--black); color: var(--white);
}
.player__name {
  flex: 1; min-width: 0; padding: 0; border: 0; background: none; cursor: pointer;
  color: inherit; font: 600 .86rem/1.3 var(--f-body); text-align: left;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.player__name:hover { color: var(--yellow); }
.player__close {
  flex-shrink: 0; display: grid; place-items: center; width: 34px; height: 34px;
  padding: 0; border: 0; border-radius: 50%; cursor: pointer;
  background: rgba(255, 255, 255, .12); color: var(--white);
  transition: background .3s, transform .3s var(--ease);
}
.player__close svg { width: 16px; height: 16px; }
.player__close:hover { background: var(--yellow); color: var(--black); transform: rotate(90deg); }

@keyframes miniIn { from { opacity: 0; transform: translateY(24px) scale(.94); } to { opacity: 1; transform: none; } }

@media (max-width: 720px) {
  .player.is-mini { left: 12px; bottom: 12px; width: min(300px, 64vw); }
  .player.is-mini .player__bar { padding: 6px 6px 6px 12px; }
  .player__name { font-size: .8rem; }
}
@media (prefers-reduced-motion: reduce) {
  .video { opacity: 1; transform: none; transition: none; }
  .video__btn:hover .video__thumb { transform: none; }
  .player.is-mini { animation: none; }
}
@media (hover: none), (pointer: coarse) {
  .video__btn:hover .video__thumb { transform: none; }
  .video__play { width: 64px; height: 64px; }
}

/* ---------- 404 ---------- */
.notfound { position: relative; display: grid; align-items: center; min-height: 100svh; background: var(--black); color: var(--white); padding-block: calc(var(--header-h) + 60px) 120px; }
.notfound::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 75% 25%, rgba(239, 173, 1, .18), transparent 45%); }
.notfound__inner { position: relative; }
.notfound__title { margin: 20px 0 18px; font-family: var(--f-display); font-weight: 900; font-stretch: 112%; font-size: clamp(2.4rem, 7vw, 5.4rem); line-height: .94; letter-spacing: -.04em; }
.notfound__lede { max-width: 48ch; font-size: 1.1rem; color: rgba(255, 255, 255, .82); }
.notfound__lede a { color: var(--yellow); }
.notfound__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.notfound .screen__led { display: inline-block; }

/* ---------- V5: photo credit + YouTube ---------- */
.credit {
  margin-top: 26px; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, .12);
  font-size: .9rem; line-height: 1.6; color: var(--muted-dark);
}
.credit strong { color: rgba(255, 255, 255, .88); font-weight: 600; }

.watch { padding-block: var(--section-y); background: var(--chalk); }
.watch .gallery__side { display: grid; gap: 22px; justify-items: start; }
.videos {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: clamp(16px, 2vw, 26px); margin-top: clamp(28px, 4vw, 46px);
}
.video {
  display: grid; gap: 14px; align-content: start;
  opacity: 0; transform: translateY(26px);
  transition: opacity .7s var(--ease) calc(var(--i, 0) * 90ms), transform .7s var(--ease) calc(var(--i, 0) * 90ms);
}
[data-reveal].in .video, .videos.in .video { opacity: 1; transform: none; }
.video__btn, .videos iframe {
  position: relative; display: block; width: 100%; aspect-ratio: 16 / 9;
  border: 0; border-radius: 20px; overflow: hidden; background: var(--black);
}
.video__btn { padding: 0; cursor: pointer; box-shadow: 0 18px 40px -26px rgba(21, 20, 15, .8); }
.video__thumb {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .8s var(--ease), filter .5s var(--ease);
}
.video__btn::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(21, 20, 15, .55), transparent 55%);
  opacity: .75; transition: opacity .5s var(--ease);
}
.video__play {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  z-index: 2; display: grid; place-items: center; width: 72px; height: 72px; border-radius: 50%;
  background: var(--yellow); color: var(--black);
  box-shadow: 0 0 0 0 rgba(239, 173, 1, .5);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.video__play svg { width: 26px; height: 26px; margin-left: 4px; }
.video__btn:hover .video__thumb { transform: scale(1.06); }
.video__btn:hover .video__play { transform: translate(-50%, -50%) scale(1.1); box-shadow: 0 0 0 16px rgba(239, 173, 1, .16); }
.video__btn:hover::after { opacity: 1; }
.video.no-thumb .video__btn { background: var(--asphalt); }
.video.no-thumb .video__thumb { display: none; }
.video__title {
  font-family: var(--f-display); font-weight: 800; font-stretch: 108%; font-size: 1.12rem; line-height: 1.2;
}
.video__out { font-size: .86rem; color: var(--muted); text-decoration: none; border-bottom: 1px solid var(--line); justify-self: start; }
.video__out:hover { color: var(--ink); border-color: var(--yellow); }
.video.is-playing .video__out { color: var(--muted); }
.watch__foot { display: flex; justify-content: center; margin-top: clamp(30px, 4vw, 48px); }
.btn__yt { width: 20px; height: 20px; }

@media (prefers-reduced-motion: reduce) {
  .video { opacity: 1; transform: none; transition: none; }
  .video__btn:hover .video__thumb { transform: none; }
}
@media (hover: none), (pointer: coarse) {
  .video__btn:hover .video__thumb { transform: none; }
  .video__play { width: 64px; height: 64px; }
}

/* ---------- V6: Timetable ---------- */
.timetable { padding-block: calc(var(--header-h) + clamp(40px, 6vw, 80px)) clamp(70px, 9vw, 120px); background: var(--chalk); }
.tt__head { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 28px; align-items: end; }
.tt__title { margin: 18px 0 16px; font-family: var(--f-display); font-weight: 900; font-stretch: 112%; font-size: clamp(2.4rem, 6.4vw, 4.6rem); line-height: .95; letter-spacing: -.035em; }
.tt__lede { max-width: 56ch; font-size: 1.08rem; color: var(--muted); }
.tt__clock { text-align: right; padding: 14px 20px; border-radius: 18px; background: var(--black); color: var(--led); }
.tt__clock-label { font: 600 .72rem/1 var(--f-body); letter-spacing: .16em; text-transform: uppercase; color: rgba(255, 255, 255, .55); }
.tt__clock-time { margin-top: 6px; font-family: var(--f-led); font-weight: 900; font-size: 2rem; line-height: 1; }

.tt__next {
  display: grid; grid-template-columns: auto 1fr; align-items: center; gap: clamp(16px, 3vw, 40px);
  margin-top: clamp(28px, 4vw, 44px); padding: clamp(18px, 2.4vw, 26px) clamp(20px, 3vw, 34px);
  border-radius: 22px; background: var(--yellow); color: var(--black);
}
.tt__next-label { font: 700 .74rem/1 var(--f-body); letter-spacing: .16em; text-transform: uppercase; }
.tt__next-body { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 22px; }
.tt__next-route { font-family: var(--f-display); font-weight: 800; font-stretch: 108%; font-size: clamp(1.1rem, 2.4vw, 1.5rem); }
.tt__next-route i { opacity: .55; font-style: normal; }
.tt__next-time { font-family: var(--f-led); font-weight: 900; font-size: clamp(1.4rem, 3.4vw, 2.1rem); line-height: 1; }
.tt__next-gap { font-weight: 600; opacity: .72; }

.tt__tabs { display: flex; flex-wrap: wrap; gap: 10px; margin: clamp(30px, 4vw, 48px) 0 18px; }
.tt__tab {
  display: grid; gap: 3px; padding: 13px 22px; border: 1px solid var(--line); border-radius: 16px;
  background: var(--white); color: var(--muted); cursor: pointer; text-align: left;
  transition: background .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease), transform .35s var(--ease);
}
.tt__tab-top { font-family: var(--f-display); font-weight: 800; font-stretch: 106%; font-size: 1.04rem; color: var(--ink); }
.tt__tab-sub { font-size: .8rem; }
.tt__tab:hover { transform: translateY(-2px); border-color: var(--yellow); }
.tt__tab.is-on { background: var(--black); border-color: var(--black); }
.tt__tab.is-on .tt__tab-top { color: var(--yellow); }
.tt__tab.is-on .tt__tab-sub { color: rgba(255, 255, 255, .6); }

.tt__board { border-radius: 22px; overflow: hidden; background: var(--white); border: 1px solid var(--line); }
.tt__board.is-swap [data-tt-rows] > * { animation: ttIn .5s var(--ease) backwards; }
.tt__board.is-swap [data-tt-rows] > *:nth-child(1) { animation-delay: .02s; }
.tt__board.is-swap [data-tt-rows] > *:nth-child(2) { animation-delay: .05s; }
.tt__board.is-swap [data-tt-rows] > *:nth-child(3) { animation-delay: .08s; }
.tt__board.is-swap [data-tt-rows] > *:nth-child(4) { animation-delay: .11s; }
.tt__board.is-swap [data-tt-rows] > *:nth-child(5) { animation-delay: .14s; }
.tt__board.is-swap [data-tt-rows] > *:nth-child(n+6) { animation-delay: .17s; }
@keyframes ttIn { from { opacity: 0; transform: translateY(12px); } }

.tt__row {
  display: grid; grid-template-columns: 72px minmax(0, 1fr) 106px 126px 178px; align-items: center; gap: 14px;
  padding: 15px clamp(16px, 2.2vw, 26px); border-top: 1px solid var(--line);
}
.tt__row--head {
  border-top: 0; background: var(--asphalt); color: rgba(255, 255, 255, .62);
  font: 600 .72rem/1 var(--f-body); letter-spacing: .14em; text-transform: uppercase;
}
.tt__num {
  display: grid; place-items: center; min-width: 58px; height: 34px; padding: 0 9px; border-radius: 10px;
  background: var(--chalk); color: var(--ink);
  font-family: var(--f-display); font-weight: 800; font-stretch: 96%; font-size: .92rem; letter-spacing: .02em;
}
.tt__route { display: grid; gap: 2px; font-size: 1.02rem; min-width: 0; }
.tt__pair { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px; }
.tt__route b { font-family: var(--f-display); font-weight: 800; font-stretch: 106%; }
.tt__route i { font-style: normal; color: var(--yellow-deep); }
.tt__route small { color: var(--muted); font-size: .82rem; }
.tt__time { font-family: var(--f-time); font-weight: 700; font-size: 1.16rem; line-height: 1.15;
  font-variant-numeric: tabular-nums; font-feature-settings: "tnum" 1; letter-spacing: .01em; }
.tt__time em { display: none; }
.tt__time small { display: block; font-family: var(--f-body); font-weight: 400; font-size: .72rem; color: var(--muted); letter-spacing: 0; }
.tt__time--arr { color: var(--muted); }
.tt__state {
  display: inline-flex; align-items: center; white-space: nowrap;
  justify-self: start; padding: 7px 14px; border-radius: 999px;
  font: 600 .8rem/1 var(--f-body); background: var(--chalk); color: var(--muted);
}
/* Leaving soon: amber, like the departure board */
.tt__row.is-soon .tt__state { background: rgba(239, 173, 1, .16); color: var(--yellow-deep); }

/* On the road: the trip is happening, so the row stays at full strength
   and the arrival time carries the colour */
.tt__row.is-running { background: rgba(31, 106, 54, .05); box-shadow: inset 3px 0 0 var(--green-bright); }
.tt__row.is-running .tt__state { background: rgba(31, 106, 54, .13); color: var(--green); font-weight: 700; }
.tt__row.is-running .tt__time--arr,
.tt__time--arr.is-live { color: var(--green); }
.tt__row.is-running .tt__time--arr small { color: var(--green); opacity: .7; }
.tt__live {
  flex-shrink: 0; width: 7px; height: 7px; border-radius: 50%;
  background: var(--green-bright); margin-right: 8px;
  /* Its own pulse: the shared "ping" fades right out, which would leave
     the dot invisible for most of the cycle */
  animation: livePulse 2s ease-in-out infinite;
}
@keyframes livePulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(52, 168, 83, .5); }
  50%      { opacity: .6; box-shadow: 0 0 0 5px rgba(52, 168, 83, 0); }
}

/* Arrived: now it really is over */
.tt__row.is-done { opacity: .5; }

.tt__row.is-next { background: rgba(239, 173, 1, .12); box-shadow: inset 3px 0 0 var(--yellow); }
.tt__row.is-next .tt__num { background: var(--yellow); }
.tt__row.is-next .tt__state { background: var(--yellow); color: var(--black); }

.tt__fallback { margin-top: 20px; color: var(--muted); }
.tt__fallback a { color: var(--ink); font-weight: 600; }

.tt__note {
  display: grid; grid-template-columns: auto minmax(0, 1fr); gap: clamp(16px, 2.4vw, 26px);
  margin-top: clamp(34px, 4vw, 52px); padding: clamp(22px, 3vw, 34px);
  border-radius: 22px; background: var(--asphalt); color: var(--white);
}
.tt__note h2 { font-family: var(--f-display); font-weight: 800; font-stretch: 108%; font-size: 1.3rem; margin-bottom: 10px; }
.tt__note p { color: rgba(255, 255, 255, .8); max-width: 70ch; }
.tt__note-small { margin-top: 12px; font-size: .92rem; color: rgba(255, 255, 255, .62); }
.tt__note-icon { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 16px; background: var(--yellow); color: var(--black); }
.tt__note-icon svg { width: 26px; height: 26px; }

.tt__calls { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; margin-top: 18px; }
.tt__call {
  display: flex; align-items: center; gap: 16px; padding: 20px; border-radius: 20px;
  background: var(--white); border: 1px solid var(--line); text-decoration: none;
  transition: transform .45s var(--ease), border-color .45s var(--ease), box-shadow .45s var(--ease);
}
.tt__call:hover { transform: translateY(-3px); border-color: var(--yellow); box-shadow: 0 20px 40px -28px rgba(21, 20, 15, .5); }
.tt__call-icon { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--black); color: var(--yellow); flex-shrink: 0; }
.tt__call-icon svg { width: 20px; height: 20px; }
.tt__call small { display: block; font-size: .76rem; color: var(--muted); }
.tt__call strong { display: block; font-family: var(--f-display); font-weight: 800; font-stretch: 106%; font-size: 1.08rem; }
.tt__call em { font-style: normal; color: var(--yellow-deep); font-weight: 600; }
.tt__call--hire .tt__call-icon { background: var(--green); color: var(--white); }

@media (max-width: 900px) {
  .tt__head { grid-template-columns: 1fr; align-items: start; }
  .tt__clock { justify-self: start; text-align: left; }
  .tt__next { grid-template-columns: 1fr; gap: 10px; }
  .tt__row--head { display: none; }
  .tt__row {
    grid-template-columns: 62px minmax(0, 1fr) auto; grid-template-areas:
      "num route route" "num dep arr" "num state state";
    gap: 6px 14px; padding: 16px;
  }
  .tt__num { grid-area: num; align-self: start; min-width: 56px; height: 30px; font-size: .84rem; }
  .tt__route { grid-area: route; }
  /* The label sits ABOVE the time, not beside it. Side by side, a wide font
     or a larger phone text size pushes "06:00" into "ARRIVES" and the two
     run together. Stacked, they cannot collide whatever the metrics. */
  .tt__time { grid-area: dep; display: block; min-width: 0; font-size: 1.12rem; }
  .tt__time--arr { grid-area: arr; justify-self: end; text-align: right; margin-left: 14px; }
  .tt__time em { display: block; margin-bottom: 1px; font: 600 .66rem/1 var(--f-body); font-style: normal; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
  .tt__time small { display: none; }
  .tt__state { grid-area: state; margin-top: 4px; }
  .tt__note { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .tt__board.is-swap [data-tt-rows] > * { animation: none; }
  .tt__live { animation: none; opacity: 1; }
}

/* Seven links is a full menu: never let one break across two lines, and
   tighten the spacing on the narrower laptop widths so it all fits. */
.nav a { white-space: nowrap; }
@media (min-width: 921px) and (max-width: 1150px) {
  .nav a { padding: 10px 10px; font-size: .9rem; }
  .nav a::after { left: 10px; right: 10px; }
  .nav a.nav__cta { margin-left: 4px; padding: 11px 16px; }
}

/* Timetable: side filter, and the odds and ends the two corridors need */
.tt__filter { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 16px; }
.tt__filter-label { font: 600 .74rem/1 var(--f-body); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-right: 4px; }
.tt__chip {
  padding: 8px 16px; border: 1px solid var(--line); border-radius: 999px;
  background: var(--white); color: var(--muted); cursor: pointer;
  font: 600 .88rem/1 var(--f-body);
  transition: background .3s, color .3s, border-color .3s;
}
.tt__chip:hover { border-color: var(--yellow); color: var(--ink); }
.tt__chip.is-on { background: var(--yellow); border-color: var(--yellow); color: var(--black); }
.tt__filter-count { margin-left: auto; font-size: .86rem; color: var(--muted); }
.tt__num--none { background: transparent; border: 1px dashed var(--line); color: var(--muted); }
.tt__num--none svg { width: 18px; height: 18px; }
.tt__dash { color: var(--muted); }
.tt__next-route span { font-family: var(--f-body); font-weight: 600; font-size: .86rem; opacity: .7; }
@media (max-width: 620px) {
  .tt__filter-count { margin-left: 0; width: 100%; }
}

/* Where a bus loads in town */
.tt__point {
  display: inline-flex; align-items: center; gap: 6px; justify-self: start; margin-top: 4px;
  padding: 4px 11px 4px 8px; border-radius: 999px;
  background: rgba(31, 106, 54, .1); color: var(--green);
  font: 600 .78rem/1.25 var(--f-body);
}
.tt__point svg { width: 13px; height: 13px; }
.tt__row.is-done .tt__point { background: var(--chalk); color: var(--muted); }
.tt__points { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.tt__points span {
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px;
  background: rgba(255, 255, 255, .08); color: rgba(255, 255, 255, .85); font-size: .88rem;
}
.tt__points svg { width: 15px; height: 15px; color: var(--yellow); }

/* Buses that are running but whose times we are checking */
.tt__checking {
  margin-top: 18px; padding: clamp(18px, 2.4vw, 26px);
  border: 1px dashed var(--line); border-radius: 20px; background: var(--white);
}
.tt__checking-head { font: 600 .74rem/1 var(--f-body); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.tt__checking-list { display: flex; flex-wrap: wrap; gap: 10px; margin: 12px 0 0; padding: 0; list-style: none; }
.tt__checking-list li {
  display: flex; align-items: baseline; gap: 8px; padding: 8px 15px;
  border-radius: 999px; background: var(--chalk);
}
.tt__checking-list b { font-family: var(--f-display); font-weight: 800; font-stretch: 106%; }
.tt__checking-list span { font-size: .82rem; color: var(--muted); }
.tt__checking-note { margin-top: 12px; font-size: .92rem; color: var(--muted); max-width: 72ch; }
.tt__checking-note a { color: var(--ink); font-weight: 600; }



/* Today / Tomorrow switch on the timetable */
.tt__day {
  display: inline-flex; margin-left: auto; align-self: center;
  padding: 4px; border-radius: 14px; background: var(--white); border: 1px solid var(--line);
}
.tt__daybtn {
  padding: 9px 16px; border: 0; border-radius: 10px; cursor: pointer;
  background: none; color: var(--muted);
  font: 700 .86rem/1 var(--f-body);
  transition: background .3s, color .3s;
}
.tt__daybtn:hover { color: var(--ink); }
.tt__daybtn.is-on { background: var(--black); color: var(--yellow); }
.tt__tabs { align-items: stretch; }

/* Tomorrow has no live state, so nothing is highlighted or dimmed */
.tt__board.is-future .tt__row:not(.tt__row--head) { opacity: 1; background: none; box-shadow: none; }
.tt__board.is-future .tt__state { background: var(--chalk); color: var(--muted); font-weight: 600; }
.tt__board.is-future .tt__time--arr { color: var(--muted); }
.tt__board.is-future .tt__num { background: var(--chalk); }

@media (max-width: 720px) {
  .tt__day { margin-left: 0; width: 100%; }
  .tt__daybtn { flex: 1; padding: 10px 12px; }
}
