/* ==========================================================================
   Taxi Süd Essen — Motion Layer
   Page curtain · intro · masked type · hero · tabs autoplay · map routes ·
   marquee · magnetic · mobile call bar. Loaded after style.css.
   ========================================================================== */

:root {
  --ease-out-expo: cubic-bezier(0.19, 1, 0.22, 1);
  --ease-in-out-quart: cubic-bezier(0.76, 0, 0.24, 1);
  --intro-delay: 0s;
}

/* Lenis */
html.lenis,
html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: clip; }

::selection { background: var(--brand-yellow); color: var(--bg-obsidian); }

:focus-visible {
  outline: 2px solid var(--brand-yellow);
  outline-offset: 3px;
  border-radius: 4px;
}

/* --------------------------------------------------------------------------
   Page curtain (enter: pure CSS, so the page never stays covered)
   -------------------------------------------------------------------------- */
html.pt-enter body::after,
html.is-intro body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: var(--bg-obsidian);
  pointer-events: none;
  animation: curtainLift 0.95s var(--ease-in-out-quart) 0.08s forwards;
}

html.is-intro { --intro-delay: 0.95s; }

html.is-intro body::after {
  animation-delay: 1.05s;
}

/* Intro wordmark (first visit of the homepage per session) */
html.is-intro body::before {
  content: 'Taxi Süd';
  position: fixed;
  left: 50%;
  top: 50%;
  z-index: 1001;
  font-family: var(--font-sans);
  font-size: clamp(2.6rem, 6vw, 5rem);
  font-weight: 300;
  letter-spacing: -0.03em;
  color: #fff;
  pointer-events: none;
  transform: translate(-50%, -50%);
  animation: introMark 1.5s var(--ease-out-expo) forwards;
  background: linear-gradient(90deg, var(--brand-yellow), var(--brand-yellow)) no-repeat left calc(100% + 14px) / 0% 2px;
  padding-bottom: 14px;
}

@keyframes introMark {
  0% { opacity: 0; transform: translate(-50%, -30%); background-size: 0% 2px; }
  35% { opacity: 1; transform: translate(-50%, -50%); }
  62% { opacity: 1; background-size: 100% 2px; transform: translate(-50%, -50%); }
  100% { opacity: 0; transform: translate(-50%, -78%); background-size: 100% 2px; }
}

@keyframes curtainLift {
  from { clip-path: inset(0 0 0 0); }
  to { clip-path: inset(0 0 100% 0); }
}

/* Leave curtain (injected by JS) */
.pt-cover {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: var(--bg-obsidian);
  clip-path: inset(100% 0 0 0);
  pointer-events: none;
  transition: clip-path 0.6s var(--ease-in-out-quart);
}

.pt-cover.is-active {
  clip-path: inset(0 0 0 0);
  pointer-events: auto;
}

/* --------------------------------------------------------------------------
   Header: hide on scroll down, return on scroll up
   -------------------------------------------------------------------------- */
.site-header .nav-pill {
  transition: transform 0.6s var(--ease-out-expo), box-shadow 0.3s ease;
}

.site-header.is-hidden .nav-pill {
  transform: translateY(calc(-100% - 40px));
}

.nav-pill {
  opacity: 0;
  animation: fadeDown 0.9s var(--ease-out-expo) calc(var(--intro-delay) + 0.55s) forwards;
}

.site-header .brand-mark__name,
.site-header .brand-mark__sub {
  opacity: 0;
  animation: fadeDown 0.9s var(--ease-out-expo) calc(var(--intro-delay) + 0.45s) forwards;
}

.site-header .brand-mark__sub { animation-delay: calc(var(--intro-delay) + 0.55s); }

@keyframes fadeDown {
  from { opacity: 0; transform: translateY(-12px); }
  to { opacity: 1; transform: none; }
}

/* Burger morph */
.nav-pill__burger span {
  transform-origin: right center;
  transition: transform 0.45s var(--ease-out-expo);
}
.nav-pill__menu-btn:hover .nav-pill__burger span:nth-child(1) { transform: scaleX(0.55); }
.nav-pill__menu-btn:hover .nav-pill__burger span:nth-child(2) { transform: scaleX(0.8); }

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */
.hero__media {
  animation: heroMediaIn 2.4s var(--ease-out-expo) var(--intro-delay) both;
}

@keyframes heroMediaIn {
  0% { scale: 1.22; opacity: 0; }
  35% { opacity: 1; }
  100% { scale: 1; opacity: 1; }
}

.hero__inner {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.86);
  opacity: 0;
  animation: fadeUp 1s var(--ease-out-expo) calc(var(--intro-delay) + 0.2s) forwards;
}

.live-dot {
  position: relative;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #3DDC84;
  flex-shrink: 0;
}

.live-dot::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 1px solid #3DDC84;
  animation: livePing 2.4s var(--ease-out-expo) infinite;
}

@keyframes livePing {
  0% { transform: scale(0.6); opacity: 0.9; }
  100% { transform: scale(2.1); opacity: 0; }
}

.hero__line-inner {
  transform: translateY(110%);
  animation: heroLineMask 1.25s var(--ease-out-expo) calc(var(--intro-delay) + 0.25s) forwards;
}

.hero__line:nth-child(2) .hero__line-inner {
  animation-delay: calc(var(--intro-delay) + 0.36s);
}

@keyframes heroLineMask {
  from { transform: translateY(110%) rotate(2deg); }
  to { transform: translateY(0) rotate(0); }
}

.hero__line-inner { transform-origin: left bottom; }

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  flex-shrink: 0;
  padding-bottom: 6px;
}

.hero__actions > * {
  opacity: 0;
  animation: fadeUp 1s var(--ease-out-expo) calc(var(--intro-delay) + 0.6s) forwards;
}

.hero__actions > *:nth-child(2) { animation-delay: calc(var(--intro-delay) + 0.7s); }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}

.btn-pill__icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.btn-pill--glass {
  background-color: rgba(255, 255, 255, 0.1);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.btn-pill--glass:hover {
  background-color: #fff;
  border-color: #fff;
  color: var(--bg-obsidian);
}

.hero__scroll {
  position: absolute;
  right: var(--container-pad);
  top: 50%;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  font-size: 0.66rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
  writing-mode: vertical-rl;
  opacity: 0;
  animation: fadeUp 1s var(--ease-out-expo) calc(var(--intro-delay) + 1s) forwards;
}

.hero__scroll i {
  position: relative;
  display: block;
  width: 1px;
  height: 64px;
  background: rgba(255, 255, 255, 0.25);
  overflow: hidden;
}

.hero__scroll i::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--brand-yellow);
  animation: scrollCue 2.2s var(--ease-in-out-quart) infinite;
}

@keyframes scrollCue {
  0% { transform: translateY(-100%); }
  55% { transform: translateY(0); }
  100% { transform: translateY(100%); }
}

/* Subpage cinema hero inherits the same entrance */
.cinema-subhero__media {
  animation: heroMediaIn 2.2s var(--ease-out-expo) both;
}

/* --------------------------------------------------------------------------
   Masked word reveals (JS splits [data-split] targets)
   -------------------------------------------------------------------------- */
.sw {
  display: inline-block;
  overflow: hidden;
  vertical-align: top;
  padding-bottom: 0.12em;
  margin-bottom: -0.12em;
}

.sw__i {
  display: inline-block;
  transform: translateY(105%);
  transition: transform 1.05s var(--ease-out-expo);
  transition-delay: calc(var(--i, 0) * 22ms);
}

.is-split-in .sw__i { transform: none; }

/* Neutralise the parent fade where a heading is word-split */
.js-reveal-ready [data-reveal] .is-split { will-change: auto; }

/* --------------------------------------------------------------------------
   Stronger image curtains
   -------------------------------------------------------------------------- */
.js-reveal-ready .showcase-right,
.js-reveal-ready .cinema-band,
.js-reveal-ready .collage-frame {
  clip-path: inset(18% 6% 0 6%);
  transition: clip-path 1.4s var(--ease-out-expo);
}

.js-reveal-ready .showcase-right.is-revealed,
.js-reveal-ready .cinema-band.is-revealed,
.js-reveal-ready .collage-frame.is-revealed {
  clip-path: inset(0 0 0 0);
}

.js-reveal-ready .collage-frame img { transition: transform 1.6s var(--ease-out-expo); }
.js-reveal-ready .collage-frame:not(.is-revealed) img { transform: scale(1.18); }

/* --------------------------------------------------------------------------
   Showcase tabs: autoplay progress + media wipe
   -------------------------------------------------------------------------- */
.showcase-tab::after { display: none; }

.showcase-tab__bar {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  background: var(--brand-yellow);
  transform: scaleX(0);
  transform-origin: left center;
}

.showcase-tab.is-active .showcase-tab__bar {
  transform: scaleX(1);
  transition: transform 0.5s var(--ease-out-expo);
}

.showcase-band.is-autoplay .showcase-tab.is-active .showcase-tab__bar {
  transform: scaleX(0);
  animation: tabProgress var(--tab-duration, 7s) linear forwards;
}

.showcase-band.is-paused .showcase-tab.is-active .showcase-tab__bar {
  animation-play-state: paused;
}

@keyframes tabProgress {
  to { transform: scaleX(1); }
}

.showcase-media {
  opacity: 0;
  z-index: 0;
  transform: none;
  transition: none;
}

.showcase-media.is-prev {
  opacity: 1;
  z-index: 1;
}

.showcase-media.is-active {
  opacity: 1;
  z-index: 2;
  transform: none;
}

.showcase-media.is-entering {
  animation: mediaWipe 1.2s var(--ease-out-expo) both;
}

@keyframes mediaWipe {
  from { clip-path: inset(0 0 0 100%); transform: scale(1.14); }
  to { clip-path: inset(0 0 0 0); transform: scale(1); }
}

.showcase-panel.is-active > * {
  animation: fadeUp 0.8s var(--ease-out-expo) both;
}
.showcase-panel.is-active > *:nth-child(2) { animation-delay: 0.07s; }
.showcase-panel.is-active > *:nth-child(3) { animation-delay: 0.14s; }
.showcase-panel { animation: none; }

.showcase-index {
  font-size: 0.74rem;
  letter-spacing: 0.18em;
  color: var(--text-muted);
  margin-bottom: 18px;
  font-variant-numeric: tabular-nums;
}

/* --------------------------------------------------------------------------
   Region map: dot ripple from Essen + drawn routes + travelling taxi
   -------------------------------------------------------------------------- */
.js-reveal-ready .region-map .region-map__dot {
  opacity: 0;
  transform-box: fill-box;
  transform-origin: center;
  transform: scale(0);
  transition: opacity 0.6s ease, transform 0.8s var(--ease-out-expo);
  transition-delay: var(--d, 0ms);
}

.js-reveal-ready .region-map.is-revealed .region-map__dot {
  opacity: 1;
  transform: none;
}

.region-map__route {
  fill: none;
  stroke: var(--bg-obsidian);
  stroke-width: 1.1;
  stroke-linecap: round;
  stroke-dasharray: 2 4;
  opacity: 0.55;
}

.region-map__route-draw {
  fill: none;
  stroke: var(--brand-yellow);
  stroke-width: 1.8;
  stroke-linecap: round;
}

.js-reveal-ready .region-map .region-map__route-draw {
  stroke-dashoffset: var(--len);
  stroke-dasharray: var(--len);
  transition: stroke-dashoffset 1.6s var(--ease-in-out-quart);
  transition-delay: var(--d, 600ms);
}

.js-reveal-ready .region-map.is-revealed .region-map__route-draw {
  stroke-dashoffset: 0;
}

.region-map__route-draw.is-dim { opacity: 0.25; transition: opacity 0.4s ease, stroke-dashoffset 1.6s var(--ease-in-out-quart); }

.region-map__car {
  fill: var(--bg-obsidian);
  stroke: var(--brand-yellow);
  stroke-width: 1.5;
}

/* --------------------------------------------------------------------------
   Marquee band
   -------------------------------------------------------------------------- */
.marquee-band {
  background: var(--bg-obsidian);
  color: #fff;
  padding: clamp(28px, 3.5vw, 44px) 0;
  border-top: 1px solid var(--hairline-light-subtle);
  overflow: hidden;
}

.marquee {
  display: flex;
  width: max-content;
  animation: marquee 48s linear infinite;
}

.marquee__group {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.marquee__item {
  display: inline-flex;
  align-items: center;
  gap: clamp(28px, 3vw, 48px);
  padding-right: clamp(28px, 3vw, 48px);
  font-size: clamp(2.2rem, 5.2vw, 4.6rem);
  font-weight: 200;
  letter-spacing: -0.03em;
  line-height: 1.1;
  white-space: nowrap;
}

.marquee__item::after {
  content: '';
  width: 0.28em;
  height: 0.28em;
  border-radius: 50%;
  background: var(--brand-yellow);
}

.marquee__item:nth-child(even) {
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.55);
}

@keyframes marquee {
  to { transform: translateX(-50%); }
}

/* --------------------------------------------------------------------------
   Cinema band overlay statement
   -------------------------------------------------------------------------- */
.cinema-band__caption {
  position: absolute;
  inset: auto 0 0 0;
  z-index: 2;
  padding-bottom: clamp(40px, 6vw, 80px);
  color: #fff;
}

.cinema-band__title {
  font-size: clamp(2.4rem, 5.6vw, 5.2rem);
  font-weight: 200;
  line-height: 1.02;
  letter-spacing: -0.035em;
  max-width: 14ch;
}

.cinema-band::after {
  background:
    linear-gradient(180deg, rgba(20, 20, 21, 0.2) 0%, rgba(20, 20, 21, 0) 30%, rgba(20, 20, 21, 0) 45%, rgba(20, 20, 21, 0.72) 100%);
}

/* --------------------------------------------------------------------------
   Footer CTA — oversized, magnetic
   -------------------------------------------------------------------------- */
.footer-cta__text {
  font-size: clamp(2.6rem, 6.4vw, 6rem);
  font-weight: 200;
  letter-spacing: -0.04em;
}

.footer-cta__circle {
  width: clamp(56px, 6vw, 88px);
  height: clamp(56px, 6vw, 88px);
}

.footer-cta__sub {
  display: block;
  margin-top: 22px;
  font-size: 0.9rem;
  color: var(--text-on-dark-subtle);
}

.footer-cta__sub a {
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.35);
  transition: border-color 0.3s ease, color 0.3s ease;
}

.footer-cta__sub a:hover { color: var(--brand-yellow); border-color: var(--brand-yellow); }

[data-magnetic] { will-change: transform; }

/* Link underline sweep */
.footer-col__link,
.menu-overlay__meta a,
.menu-overlay__legal a {
  background: linear-gradient(currentColor, currentColor) no-repeat right bottom / 0 1px;
  transition: background-size 0.5s var(--ease-out-expo), color 0.2s ease, opacity 0.2s ease;
}

.footer-col__link:hover,
.menu-overlay__meta a:hover,
.menu-overlay__legal a:hover {
  background-size: 100% 1px;
  background-position-x: left;
  opacity: 1;
}

/* --------------------------------------------------------------------------
   Menu overlay — curtain + masked links
   -------------------------------------------------------------------------- */
.menu-overlay {
  opacity: 1;
  clip-path: inset(0 0 100% 0);
  transition: clip-path 0.8s var(--ease-in-out-quart), visibility 0s linear 0.8s;
}

.menu-overlay.is-open {
  clip-path: inset(0 0 0 0);
  transition: clip-path 0.8s var(--ease-in-out-quart), visibility 0s;
}

.menu-overlay__link {
  transform: translateY(60px);
  transition: opacity 0.3s ease, transform 0.3s ease, color 0.25s ease;
}

.menu-overlay.is-open .menu-overlay__link {
  transition: opacity 0.9s var(--ease-out-expo), transform 0.9s var(--ease-out-expo), color 0.25s ease;
}

.menu-overlay.is-open .menu-overlay__link:nth-child(1) { transition-delay: 280ms; }
.menu-overlay.is-open .menu-overlay__link:nth-child(2) { transition-delay: 340ms; }
.menu-overlay.is-open .menu-overlay__link:nth-child(3) { transition-delay: 400ms; }
.menu-overlay.is-open .menu-overlay__link:nth-child(4) { transition-delay: 460ms; }

.menu-overlay.is-open .menu-overlay__aside {
  transition: opacity 0.9s var(--ease-out-expo) 480ms, transform 0.9s var(--ease-out-expo) 480ms;
}

.menu-overlay__link > span:last-child {
  background: linear-gradient(var(--brand-yellow), var(--brand-yellow)) no-repeat left 92% / 0 2px;
  transition: background-size 0.6s var(--ease-out-expo);
}

.menu-overlay__link:hover > span:last-child,
.menu-overlay__link.is-current > span:last-child {
  background-size: 100% 2px;
}

/* --------------------------------------------------------------------------
   Mobile sticky call bar
   -------------------------------------------------------------------------- */
.callbar { display: none; }

@media (max-width: 720px) {
  .callbar {
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: calc(12px + env(safe-area-inset-bottom));
    z-index: 150;
    display: grid;
    grid-template-columns: 1.25fr 1fr;
    gap: 8px;
    padding: 6px;
    border-radius: 999px;
    background: rgba(20, 20, 21, 0.86);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.28);
    transform: translateY(calc(100% + 24px));
    transition: transform 0.6s var(--ease-out-expo);
  }

  .callbar.is-visible { transform: none; }
  body.menu-open .callbar { transform: translateY(calc(100% + 24px)); }

  .callbar a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 48px;
    border-radius: 999px;
    font-size: 0.9rem;
    font-weight: 500;
    -webkit-tap-highlight-color: transparent;
  }

  .callbar a:active { transform: scale(0.97); }

  .callbar__call { background: var(--brand-yellow); color: var(--bg-obsidian); }
  .callbar__book { color: #fff; border: 1px solid rgba(255, 255, 255, 0.28); }

  .site-footer { padding-bottom: 84px; }

  .hero__inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 26px;
  }

  .hero__scroll { display: none; }

  .hero__actions .btn-pill { padding: 14px 22px; }

  .marquee__item { font-size: 2.2rem; }
}

/* --------------------------------------------------------------------------
   Reduced motion
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html.pt-enter body::after,
  html.is-intro body::after,
  html.is-intro body::before { display: none; }

  .nav-pill,
  .site-header .brand-mark__name,
  .site-header .brand-mark__sub,
  .hero__eyebrow,
  .hero__actions > *,
  .hero__scroll,
  .hero__line-inner,
  .showcase-panel.is-active > *,
  .showcase-media.is-entering {
    animation: none !important;
    opacity: 1;
    transform: none;
  }

  .sw__i { transform: none; transition: none; }
  .marquee { animation: none; }
  .live-dot::after, .hero__scroll i::after { animation: none; }
  .js-reveal-ready .region-map .region-map__dot,
  .js-reveal-ready .region-map .region-map__route-draw { opacity: 1; transform: none; stroke-dashoffset: 0; transition: none; }
  .menu-overlay, .menu-overlay.is-open { transition: none; }
  .pt-cover { display: none; }
}

/* --------------------------------------------------------------------------
   Review round 1 fixes
   -------------------------------------------------------------------------- */
/* Menu open: header pill steps back so labels never overlap */
.site-header { transition: opacity 0.3s ease; }
body.menu-open .site-header { opacity: 0; pointer-events: none; }
body.menu-open .site-header * { pointer-events: none !important; }

/* Balanced headline wraps (no single orphan word) */
h1, h2, .hero__title, .cinema-band__title, .footer-cta__text { text-wrap: balance; }
p { text-wrap: pretty; }

/* Language switch inside the menu */
.menu-overlay__lang {
  margin-right: auto;
  color: #fff;
}
.menu-overlay__lang .lang-switch__btn { color: rgba(255, 255, 255, 0.5); }
.menu-overlay__lang .lang-switch__btn:hover,
.menu-overlay__lang .lang-switch__btn.is-active { color: #fff; }
.menu-overlay__lang .lang-switch__sep { color: rgba(255, 255, 255, 0.3); }

/* Menu index numbers on one baseline, current item not offset */
.menu-overlay__index { display: inline-block; min-width: 2.2em; font-variant-numeric: tabular-nums; }
.menu-overlay.is-open .menu-overlay__link.is-current { transform: none; }
.menu-overlay__nav:hover .menu-overlay__link { color: rgba(255, 255, 255, 0.36); }
.menu-overlay__nav:hover .menu-overlay__link:hover { color: #fff; }

/* Soft language swap */
main, .site-footer, .site-header, .menu-overlay__body { transition: opacity 0.22s ease; }
html.is-lang-swap main,
html.is-lang-swap .site-footer,
html.is-lang-swap .menu-overlay__body { opacity: 0; }

/* Map caption transitions */
.region-map__caption-title,
.region-map__caption-detail { transition: opacity 0.25s ease; }

/* ==========================================================================
   Booking page — simplified: three ways + short form
   ========================================================================== */
.book-hero {
  background: var(--bg-obsidian);
  color: #fff;
  padding: clamp(140px, 14vw, 184px) 0 clamp(56px, 6vw, 84px);
}

.book-ways {
  margin-top: clamp(36px, 4vw, 56px);
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 16px;
}

.book-way {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-height: 220px;
  padding: 28px 28px 26px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.03);
  transition: background-color 0.4s var(--ease-out-expo), border-color 0.4s ease, transform 0.5s var(--ease-out-expo);
}

.book-way:hover { background: rgba(255, 255, 255, 0.07); border-color: rgba(255, 255, 255, 0.3); transform: translateY(-4px); }
.book-way:active { transform: scale(0.985); }

.book-way--primary { background: var(--brand-yellow); border-color: var(--brand-yellow); color: var(--bg-obsidian); }
.book-way--primary:hover { background: #fff; border-color: #fff; }

.book-way__icon { width: 26px; height: 26px; margin-bottom: auto; }
.book-way__icon svg { width: 100%; height: 100%; }

.book-way__label {
  margin-top: 28px;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  opacity: 0.66;
}

.book-way__title {
  font-size: clamp(1.5rem, 2.2vw, 2rem);
  font-weight: 300;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.book-way--primary .book-way__title { font-size: clamp(1.8rem, 2.8vw, 2.5rem); font-weight: 400; }

.book-way__text { font-size: 0.92rem; line-height: 1.5; opacity: 0.78; max-width: 30ch; }

.book-way__arrow {
  position: absolute;
  top: 26px;
  right: 26px;
  width: 22px;
  height: 22px;
  transition: transform 0.5s var(--ease-out-expo);
}
.book-way:hover .book-way__arrow { transform: translateX(4px); }
.book-way[href^="#"] .book-way__arrow { transform: rotate(90deg); }
.book-way[href^="#"]:hover .book-way__arrow { transform: rotate(90deg) translateX(4px); }

.book-trust {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
  font-size: 0.86rem;
  color: rgba(255, 255, 255, 0.7);
}

.book-trust li { display: inline-flex; align-items: center; gap: 10px; }
.book-trust li::before {
  content: '';
  width: 14px;
  height: 8px;
  border-left: 1.5px solid var(--brand-yellow);
  border-bottom: 1.5px solid var(--brand-yellow);
  transform: rotate(-45deg) translateY(-2px);
}

/* Form */
.book-form-wrap { max-width: 820px; }
.book-form-head { margin-bottom: 40px; }
.book-form { display: flex; flex-direction: column; gap: 28px; }

.book-chips {
  border: 0;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.book-chips legend { margin-bottom: 12px; padding: 0; }

.book-chip { position: relative; cursor: pointer; }
.book-chip input { position: absolute; opacity: 0; pointer-events: none; }
.book-chip span {
  display: inline-block;
  padding: 11px 20px;
  border-radius: 999px;
  border: 1px solid rgba(20, 20, 21, 0.2);
  font-size: 0.92rem;
  transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}
.book-chip:hover span { border-color: var(--bg-obsidian); }
.book-chip input:checked + span { background: var(--bg-obsidian); border-color: var(--bg-obsidian); color: #fff; }
.book-chip input:focus-visible + span { outline: 2px solid var(--brand-yellow); outline-offset: 2px; }

.form-field__input[type="datetime-local"] { min-height: 46px; }

.form-field__input[aria-invalid="true"] { border-bottom-color: #C8372D; }
.form-field.is-invalid .form-field__label { color: #C8372D; }

.book-notes summary {
  cursor: pointer;
  list-style: none;
  font-size: 0.92rem;
  color: var(--text-muted);
  transition: color 0.2s ease;
}
.book-notes summary::-webkit-details-marker { display: none; }
.book-notes summary:hover { color: var(--text-primary); }
.book-notes[open] summary { margin-bottom: 8px; color: var(--text-primary); }

.book-submit { padding: 18px 42px; font-size: 1rem; }

/* App, compact */
.book-app { padding: clamp(64px, 7vw, 96px) 0; }
.book-app__inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.book-app .app-stores { margin-top: 0; }

@media (max-width: 900px) {
  .book-ways { grid-template-columns: 1fr; }
  .book-way { min-height: 0; }
  .book-way__label { margin-top: 18px; }
}

@media (max-width: 720px) {
  .book-hero .booking-hero__title { font-size: 2.3rem; }
}
.form-feedback a { text-decoration: underline; font-weight: 500; }

/* ==========================================================================
   Review round 2 fixes
   ========================================================================== */
/* Shorter, sharper intro (≈1.1 s) */
html.is-intro { --intro-delay: 0.6s; }
html.is-intro body::after { animation-delay: 0.7s; }
html.is-intro body::before { animation-duration: 1.05s; }

/* Chrome appears quickly on every load (incl. back navigation) */
.nav-pill { animation-delay: calc(var(--intro-delay) + 0.12s); animation-duration: 0.7s; }
.site-header .brand-mark__name { animation-delay: calc(var(--intro-delay) + 0.05s); animation-duration: 0.7s; }
.site-header .brand-mark__sub { animation-delay: calc(var(--intro-delay) + 0.12s); animation-duration: 0.7s; }

/* Hero legibility over the light car */
.hero__scrim {
  background:
    linear-gradient(180deg, rgba(16, 16, 18, 0.45) 0%, rgba(16, 16, 18, 0) 24%),
    linear-gradient(0deg, rgba(16, 16, 18, 0.82) 0%, rgba(16, 16, 18, 0.5) 26%, rgba(16, 16, 18, 0) 52%),
    radial-gradient(ellipse 70% 60% at 10% 100%, rgba(16, 16, 18, 0.55) 0%, rgba(16, 16, 18, 0) 70%);
}
.hero__title { text-shadow: 0 2px 30px rgba(0, 0, 0, 0.25); }

/* Progress hairline never sits over the open menu */
body.menu-open .scroll-progress { opacity: 0; }

/* Keep split layouts down to 900px */
@media (min-width: 901px) and (max-width: 1080px) {
  .intro-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .showcase-band { grid-template-columns: 1fr 1fr; min-height: 680px; }
  .showcase-right { order: 0; min-height: 600px; }
  .showcase-tabs { grid-template-columns: repeat(2, 1fr); gap: 14px 18px; }
}

.showcase-tabs { text-align: center; }

/* Mobile typography & map */
@media (max-width: 720px) {
  .hero__media { object-position: 20% center !important; }
  .brand-mark__sub { white-space: nowrap; font-size: 0.6rem; letter-spacing: 0.16em; }
  .menu-overlay__link { font-size: 1.85rem; }
  .region-map__pin-label { font-size: 17px; }
  .region-map__svg { transform: none; }
}

/* --------------------------------------------------------------------------
   App tab: live-status phone mockup
   -------------------------------------------------------------------------- */
.app-mock {
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 70% 30%, rgba(254, 219, 5, 0.18), rgba(254, 219, 5, 0) 55%),
    var(--bg-obsidian-deep);
}

.app-mock__phone {
  position: relative;
  width: min(300px, 62%);
  aspect-ratio: 9 / 19;
  border-radius: 42px;
  background: #F4F4F2;
  border: 9px solid #000;
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.08);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.app-mock__notch {
  position: absolute;
  top: 8px;
  left: 50%;
  width: 34%;
  height: 22px;
  border-radius: 999px;
  background: #000;
  transform: translateX(-50%);
  z-index: 2;
}

.app-mock__map { flex: 1; background: #E9E9E6; }
.app-mock__map svg { width: 100%; height: 100%; display: block; }
.app-mock__road { fill: none; stroke: #fff; stroke-width: 10; stroke-linecap: round; }
.app-mock__route { fill: none; stroke: var(--bg-obsidian); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 1 6; }
.app-mock__pickup { fill: var(--bg-obsidian); stroke: #fff; stroke-width: 3; }
.app-mock__car { fill: var(--brand-yellow); stroke: var(--bg-obsidian); stroke-width: 2.5; }

.app-mock__sheet {
  background: #fff;
  border-radius: 22px 22px 0 0;
  margin-top: -18px;
  position: relative;
  padding: 18px 18px 20px;
  color: var(--bg-obsidian);
  box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.06);
}

.app-mock__eta { display: flex; align-items: center; gap: 8px; font-size: 1.02rem; font-weight: 500; letter-spacing: -0.01em; }
.app-mock__car-info { margin-top: 4px; font-size: 0.74rem; color: var(--text-muted); }

.app-mock__bar { margin-top: 14px; height: 4px; border-radius: 4px; background: #EBEBEB; overflow: hidden; }
.app-mock__bar span { display: block; height: 100%; width: 62%; background: var(--brand-yellow); border-radius: 4px; animation: mockBar 6s linear infinite; transform-origin: left; }
@keyframes mockBar { from { transform: scaleX(0.15); } to { transform: scaleX(1.6); } }

.app-mock__row { margin-top: 14px; display: flex; justify-content: space-between; font-size: 0.8rem; color: var(--text-muted); }
.app-mock__row strong { color: var(--bg-obsidian); font-weight: 500; }

.app-mock__btn {
  display: block;
  margin-top: 14px;
  padding: 10px;
  text-align: center;
  border-radius: 999px;
  border: 1px solid rgba(20, 20, 21, 0.18);
  font-size: 0.8rem;
}

@media (prefers-reduced-motion: reduce) { .app-mock__bar span { animation: none; } }

/* ==========================================================================
   Review round 3 fixes
   ========================================================================== */
/* Mobile header must fit: language switch lives in the menu below 480px */
@media (max-width: 480px) {
  .site-header { padding: 16px 16px; gap: 10px; }
  .nav-pill .lang-switch,
  .nav-pill .nav-pill__divider { display: none; }
  .nav-pill { padding: 10px 16px; }
  .brand-mark__name { font-size: 1.7rem; }
}

/* Mobile showcase: tabs first, the image follows directly */
@media (max-width: 900px) {
  .showcase-right { order: 0; min-height: 420px; }
  .showcase-stage { padding-block: 32px 16px; }
}

.hero__scroll { color: #fff; }
@media (max-width: 1200px) { .hero__scroll { display: none; } }

/* Signature: taxi-yellow page wipe */
.pt-cover,
html.pt-enter body::after { background: var(--brand-yellow); }

/* Booking form — readable for everyone */
.book-form .form-field__label,
.book-chips legend {
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  color: var(--text-primary);
}

.book-form .form-field__input,
.book-form .form-field__textarea {
  min-height: 54px;
  padding: 14px 16px;
  font-size: 1.06rem;
  border: 1.5px solid rgba(20, 20, 21, 0.22);
  border-radius: 12px;
  background: #fff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.book-form .form-field__input:focus,
.book-form .form-field__textarea:focus {
  border-color: var(--bg-obsidian);
  box-shadow: 0 0 0 4px rgba(254, 219, 5, 0.45);
}

.book-form .form-field__input[aria-invalid="true"] { border-color: #C8372D; box-shadow: 0 0 0 4px rgba(200, 55, 45, 0.12); }

.book-form .form-field__input::placeholder,
.book-form .form-field__textarea::placeholder { color: #8A8A8E; }

.book-chip span { padding: 13px 22px; font-size: 1rem; }
.book-notes summary { font-size: 1rem; }
.book-notes .form-field__textarea { margin-top: 4px; }
.book-form-head .booking-form-intro__text { font-size: 1.05rem; color: var(--text-body); }
.form-feedback { font-size: 1rem; }

.book-urgent {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 12px;
  margin-bottom: 40px;
  padding: 20px 24px;
  border-radius: 16px;
  background: var(--brand-yellow);
  color: var(--bg-obsidian);
  font-size: 1.05rem;
  transition: transform 0.4s var(--ease-out-expo), background-color 0.3s ease;
}
.book-urgent strong { font-size: 1.5rem; font-weight: 500; letter-spacing: -0.01em; }
.book-urgent:hover { transform: translateY(-2px); }

.callbar--single { grid-template-columns: 1fr; }
