:root {
  --paper: #FAF4E8;
  --paper-2: #F1E7D3;
  --card: #FFFDF8;
  --ink: #172526;
  --ink-2: #465655;
  --line: #E0D3BA;
  --laterite: #A63D20;
  --laterite-d: #872F17;
  --board: #0C5A4E;
  --board-d: #08443B;
  --turmeric: #F3B72F;
  --plate: #F8CD3E;
  --asphalt: #222D2D;
  --cream: #FFF6E6;
  --display: 'Fraunces', Georgia, 'Times New Roman', serif;
  --body: 'Instrument Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'DM Mono', ui-monospace, Consolas, monospace;
  --radius: 14px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 1.0625rem/1.6 var(--body);
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; background: var(--paper-2); }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure, blockquote { margin: 0; padding: 0; }
ul, ol { list-style: none; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }

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

[id] { scroll-margin-top: 88px; }

.sprite { position: absolute; }
.sr {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip-path: inset(50%); white-space: nowrap;
}
.wrap { width: min(100% - 32px, 1200px); margin-inline: auto; }
.ico { width: 1.15em; height: 1.15em; flex: none; }

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 50;
  background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 8px;
}
.skip:focus { top: 12px; }

.kicker {
  font: 500 .8125rem/1.3 var(--mono);
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--laterite);
}

h1, h2 { font-family: var(--display); font-weight: 700; letter-spacing: -.015em; line-height: 1.04; }
h2 { font-size: clamp(2.15rem, 5vw, 3.5rem); text-wrap: balance; }
h3 { line-height: 1.2; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  min-height: 52px; padding: 12px 22px;
  border: 2px solid transparent; border-radius: 10px;
  font-weight: 600; text-decoration: none; cursor: pointer;
  transition: transform .15s ease, background-color .15s ease, color .15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--laterite); color: #fff; }
.btn--primary:hover { background: var(--laterite-d); }
.btn--ghost { border-color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--paper); }
.btn--light { background: var(--cream); color: var(--laterite-d); }
.btn--small { min-height: 42px; padding: 7px 15px; font-size: .95rem; }
.btn--block { width: 100%; }

/* Yellow taxi plate */
.plate {
  display: inline-block;
  padding: 3px 10px;
  background: var(--plate);
  color: #161616;
  border: 2px solid #161616;
  border-radius: 6px;
  font: 500 .8125rem/1.35 var(--mono);
  white-space: nowrap;
}

/* Highway milestone */
.stone {
  display: inline-flex; flex-direction: column;
  width: 118px; overflow: hidden;
  background: #fff;
  border: 2px solid var(--ink);
  border-radius: 59px 59px 8px 8px;
  text-align: center;
}
.stone__cap {
  padding: 13px 0 3px;
  background: var(--turmeric);
  border-bottom: 2px solid var(--ink);
  font: 500 .8125rem/1 var(--mono);
  letter-spacing: .06em;
  color: var(--ink);
}
.stone__body { display: grid; gap: 1px; padding: 7px 4px 8px; }
.stone__body b { font-size: .75rem; line-height: 1.2; }
.stone__body i { font: 500 .8125rem/1.2 var(--mono); }
.stone--photo { width: 96px; height: 120px; flex: none; }
.stone--photo img { width: 100%; flex: 1; min-height: 0; object-fit: cover; }

/* Top bar and header */
.topbar { background: var(--board); color: var(--cream); font-size: .875rem; }
.topbar__in { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 38px; }
.topbar__in a { text-decoration: none; }
.topbar__in a:hover { text-decoration: underline; }
.topbar__right { display: none; gap: 22px; }
.dot {
  display: inline-block; width: 8px; height: 8px; margin-right: 8px;
  background: var(--plate); border-radius: 50%;
}

.header {
  position: sticky; top: 0; z-index: 30;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.header__in { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 70px; }
.brand { display: flex; align-items: center; gap: 11px; text-decoration: none; }
.brand__mark {
  display: grid; place-items: center;
  width: 50px; height: 50px; overflow: hidden;
  background: var(--board); border-radius: 12px;
}
.brand__mark img { width: 46px; height: 46px; background: none; }
.brand__text { font: 700 1.45rem/1 var(--display); letter-spacing: -.01em; }
.brand__text small {
  display: block; margin-top: 3px;
  font: 500 .6875rem/1 var(--mono); letter-spacing: .05em; text-transform: uppercase; color: var(--ink-2);
}

.navtoggle {
  min-height: 44px; padding: 8px 15px;
  background: none; border: 2px solid var(--ink); border-radius: 8px;
  font-weight: 600; cursor: pointer;
}
.nav {
  display: none;
  position: absolute; left: 0; right: 0; top: 100%;
  flex-direction: column; gap: 2px; padding: 8px 16px 18px;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.nav.is-open { display: flex; }
.nav a:not(.btn) { padding: 12px 4px; font-weight: 600; text-decoration: none; border-bottom: 1px solid var(--line); }
.nav__call { margin-top: 10px; }

/* Hero */
.hero { padding: 40px 0 56px; overflow: hidden; }
.hero__grid { display: grid; gap: 40px; }
h1 { margin-top: 14px; font-size: clamp(3.1rem, 12.5vw, 6.6rem); line-height: .98; }
h1 em { font-style: italic; color: var(--laterite); }
.lede { max-width: 34em; margin-top: 20px; font-size: 1.1875rem; color: var(--ink-2); }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero__cta .btn { flex: 1 1 240px; }
.rating { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; margin-top: 22px; text-decoration: none; }
.rating:hover span:last-child { text-decoration: underline; }
.stars { display: inline-flex; gap: 1px; color: #D59106; }

.hero__art { position: relative; padding-bottom: 36px; }
.arch {
  overflow: hidden;
  aspect-ratio: 1 / 1;
  border: 2px solid var(--ink);
  border-radius: 50% 50% 18px 18px / 44% 44% 18px 18px;
}
.arch img { width: 100%; height: 100%; object-fit: cover; object-position: 62% 50%; }
.hero__stone { position: absolute; left: 0; bottom: 56px; transform: rotate(-4deg); }
.hero__car {
  position: absolute; right: 0; bottom: 0;
  width: min(54%, 300px);
  background: var(--card);
  border: 2px solid var(--ink);
  border-radius: 12px;
  overflow: hidden;
}
.hero__car img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.hero__car figcaption {
  padding: 7px 4px;
  background: var(--plate);
  border-top: 2px solid var(--ink);
  font: 500 .75rem/1.25 var(--mono);
  text-align: center;
  white-space: nowrap;
}

/* Moving road */
.road { position: relative; height: 54px; overflow: hidden; background: var(--asphalt); }
.road span {
  position: absolute; top: 50%; left: 0;
  width: calc(100% + 96px); height: 4px; margin-top: -2px;
  background: repeating-linear-gradient(90deg, var(--cream) 0 48px, transparent 48px 96px);
  animation: drive 1.6s linear infinite;
}
@keyframes drive { to { transform: translateX(-96px); } }

/* Sections */
.section { padding: 72px 0; }
.section--tint { background: var(--paper-2); }
.head { max-width: 700px; margin-bottom: 38px; }
.head h2 { margin-top: 10px; }
.head > p:not(.kicker) { margin-top: 14px; color: var(--ink-2); font-size: 1.125rem; }

/* Fleet */
.fleet { display: grid; gap: 18px; }
.car {
  overflow: hidden;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.car__photo { aspect-ratio: 4 / 3; overflow: hidden; }
.car__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.car:hover .car__photo img { transform: scale(1.03); }
.car__body { position: relative; padding: 26px 20px 20px; }
.car__body .plate { position: absolute; top: -14px; left: 20px; }
.car h3 { font: 700 1.6rem/1.15 var(--display); }
.car__body p { margin-top: 7px; color: var(--ink-2); }
.car__body .car__from { margin-top: 12px; padding-top: 12px; border-top: 1px dashed var(--line); color: var(--ink); }
.car__from b { font: 500 1.0625rem var(--mono); }
.car__from a { font-weight: 600; color: var(--laterite); }

.gallery__title { margin-top: 44px; font: 700 1.5rem/1.2 var(--display); }
.gallery {
  display: flex; gap: 12px; margin-top: 14px; padding-bottom: 8px;
  overflow-x: auto; scroll-snap-type: x mandatory;
}
.gallery figure { flex: 0 0 78%; scroll-snap-align: start; }
.gallery a { display: block; overflow: hidden; border-radius: 12px; }
.gallery img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; transition: transform .35s ease; }
.gallery a:hover img { transform: scale(1.03); }
.gallery figcaption { margin-top: 6px; font: 400 .8125rem/1.3 var(--mono); color: var(--ink-2); }

/* Highway boards */
.boards { display: grid; gap: 14px; }
.board {
  position: relative;
  padding: 26px 24px 26px;
  background: var(--board);
  color: #fff;
  border-radius: 12px;
  outline: 2px solid #fff;
  outline-offset: -9px;
  transition: transform .15s ease, background-color .15s ease;
}
.board:hover { transform: translateY(-3px); background: var(--board-d); }
.board h3 { font-size: 1.3rem; font-weight: 700; }
.board p { margin-top: 6px; font-size: 1rem; line-height: 1.45; color: #E6F1EE; }
.board__arrow { display: block; width: 28px; height: 28px; margin-bottom: 10px; color: var(--plate); }
.board__arrow--up { transform: rotate(-90deg); }
.board__arrow--ne { transform: rotate(-45deg); }

/* Trips */
.section--laterite { background: var(--laterite); color: var(--cream); }
.section--laterite .kicker { color: #FFD9A0; }
.trips { display: grid; gap: 34px; }
.trips .head { margin-bottom: 0; }
.trips .head > p:not(.kicker) { color: var(--cream); }
.trips .btn { margin-top: 22px; }

.stops { position: relative; display: grid; gap: 26px; }
.stops::before {
  content: '';
  position: absolute; top: 10px; bottom: 60px; left: 47px;
  border-left: 3px dashed rgba(255, 246, 230, .55);
}
.stop {
  position: relative;
  display: grid; grid-template-columns: 96px 1fr; gap: 12px 18px; align-items: center;
}
.stop h3 { font: 700 1.625rem/1.15 var(--display); }
.stop__text p { margin-top: 4px; font-size: 1rem; line-height: 1.45; }
.stop__meta { grid-column: 2; display: flex; align-items: center; gap: 14px; }
.stop__meta a { font-weight: 600; text-underline-offset: 3px; }

.custom__title { margin-top: 62px; font: 700 1.875rem/1.15 var(--display); }
.custom { display: grid; gap: 14px; margin-top: 18px; }
.custom li {
  display: flex; flex-direction: column; gap: 6px;
  padding: 20px;
  background: var(--laterite-d);
  border-radius: 12px;
}
.custom h4 { font-size: 1.15rem; line-height: 1.25; }
.custom p { flex: 1; font-size: 1rem; line-height: 1.45; }
.custom a { margin-top: 6px; font-weight: 600; text-underline-offset: 3px; }

/* Why */
.why { display: grid; gap: 44px; }
.score { display: flex; align-items: center; gap: 14px; margin: 10px 0 8px; }
.score > span:first-child { font: 700 clamp(4.5rem, 12vw, 6.5rem)/1 var(--display); letter-spacing: -.02em; }
.score .stars { font-size: 1.35rem; }
.topics { display: grid; gap: 14px; margin: 20px 0; }
.topics li { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; font-weight: 600; }
.topics b { font: 500 1rem var(--mono); }
.topics i {
  grid-column: 1 / -1; display: block; height: 8px;
  background: linear-gradient(90deg, var(--board) var(--w), var(--paper-2) var(--w));
  border-radius: 4px;
}
.link { font-weight: 600; color: var(--laterite); text-underline-offset: 3px; }

.why__voices h2 { margin-bottom: 20px; }
.why__voices blockquote {
  padding: 15px 0;
  border-top: 1px solid var(--line);
  font: 500 1.3125rem/1.35 var(--display);
}
.why__voices blockquote:nth-of-type(3) { border-bottom: 1px solid var(--line); }
.why__story {
  margin-top: 20px; padding: 14px 16px;
  background: var(--plate);
  border: 2px solid #161616;
  border-radius: 10px;
  color: #161616;
  font-weight: 500;
}

.stats { margin-top: 64px; padding: 34px 0; background: var(--asphalt); color: var(--cream); }
.stats__in { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px 16px; }
.stats__in div { display: flex; flex-direction: column-reverse; justify-content: flex-end; }
.stats dd { font: 700 clamp(2.1rem, 6vw, 2.75rem)/1.05 var(--display); color: var(--plate); }
.stats dt { margin-top: 3px; font-size: .9375rem; line-height: 1.3; }
.section:has(.stats) { padding-bottom: 0; }

/* Tariff */
.tablewrap { overflow-x: auto; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); }
.tariff { width: 100%; min-width: 820px; border-collapse: collapse; }
.tariff th, .tariff td { padding: 13px 15px; text-align: right; white-space: nowrap; }
.tariff thead th {
  background: var(--board); color: #fff;
  font-size: .875rem; font-weight: 600; line-height: 1.25; vertical-align: bottom;
  white-space: normal;
}
.tariff tbody th { font-weight: 600; text-align: left; }
.tariff th:first-child {
  position: sticky; left: 0; z-index: 1;
  text-align: left; background: var(--card);
  box-shadow: 1px 0 0 var(--line);
}
.tariff thead th:first-child { background: var(--board); }
.tariff td { font: 400 1rem var(--mono); }
.tariff tbody tr + tr > * { border-top: 1px solid var(--line); }
.tariff__seats td, .tariff__seats th { background: var(--paper); }
.tariff .tariff__seats th:first-child { background: var(--paper); }
.tariff .tariff__rule > * { border-top: 2px solid var(--ink); }
.tariff--night { min-width: 560px; }

.tariff2 { display: grid; gap: 30px; margin-top: 34px; }
.tariff2 > * { min-width: 0; }
.tariff2 h3 { font: 700 1.5rem/1.2 var(--display); }
.night > p:not(.night__ask) { margin: 4px 0 14px; color: var(--ink-2); }
.night__ask { margin-top: 14px; }
.night__ask a { font-weight: 600; color: var(--laterite); text-underline-offset: 3px; }
.notes ul { display: grid; gap: 8px; margin-top: 12px; }
.notes li { position: relative; padding-left: 20px; font-size: 1rem; line-height: 1.45; }
.notes li::before {
  content: ''; position: absolute; left: 2px; top: .62em;
  width: 8px; height: 2px; background: var(--laterite);
}

/* Contact */
.contact { display: grid; gap: 40px; }
.contact__info h2 { margin-top: 10px; }
.details { display: grid; gap: 18px; margin-top: 26px; }
.details li { display: flex; gap: 14px; }
.details .ico { width: 24px; height: 24px; margin-top: 3px; color: var(--laterite); }
.details span { display: block; font: 500 .75rem/1.4 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2); }
.details a { display: block; font-weight: 600; overflow-wrap: anywhere; text-underline-offset: 3px; }
.details p { max-width: 32em; }

.quote {
  display: grid; gap: 14px;
  padding: 22px 18px;
  background: var(--card);
  border: 2px solid var(--ink);
  border-radius: var(--radius);
}
.quote h3 { font: 700 1.625rem/1.15 var(--display); }
.quote__intro { margin-top: -8px; color: var(--ink-2); font-size: 1rem; }
.field { display: grid; gap: 5px; min-width: 0; }
.field label { font-size: .9375rem; font-weight: 600; }
.field small { font-weight: 400; color: var(--ink-2); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 11px 12px;
  background: #fff;
  border: 1.5px solid #8C8A7C;
  border-radius: 8px;
}
.field textarea { resize: vertical; }
.field input[aria-invalid='true'] { border-color: var(--laterite); border-width: 2px; }
.err { color: var(--laterite-d); font-size: .875rem; font-weight: 600; }
.quote__status { min-height: 1.4em; font-size: .9375rem; color: var(--ink-2); }
.quote__status:empty { display: none; }

.map { margin-top: 44px; }
.map iframe { display: block; width: 100%; height: 340px; border: 0; border-radius: var(--radius); background: var(--paper-2); }

/* Footer */
.footer { padding: 50px 0 calc(92px + env(safe-area-inset-bottom)); background: var(--ink); color: var(--cream); }
.footer__in { display: grid; gap: 30px; }
.footer img { width: 112px; height: 112px; background: none; }
.footer__brand p { max-width: 30em; margin-top: 8px; color: #D4D8D2; }
.footer h4 { margin-bottom: 8px; font: 500 .8125rem/1.3 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--plate); }
.footer nav a, .footer__in > div:last-child a { display: block; padding: 3px 0; text-decoration: none; overflow-wrap: anywhere; }
.footer a:hover { text-decoration: underline; }
.footer__in > div:last-child p { margin-top: 6px; color: #D4D8D2; }
.footer__legal { margin-top: 36px; text-align: center; font-size: .875rem; color: #AEB7B1; }

/* Phone dock */
.dock {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
  display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 1px;
  padding-bottom: env(safe-area-inset-bottom);
  background: var(--ink);
  border-top: 2px solid var(--ink);
}
.dock a {
  display: flex; align-items: center; justify-content: center; gap: 7px;
  min-height: 56px;
  background: var(--card);
  font-weight: 700; text-decoration: none;
}
.dock .dock__main { background: var(--laterite); color: #fff; }

/* Larger screens */
@media (min-width: 640px) {
  .boards { grid-template-columns: repeat(2, 1fr); }
  .custom { grid-template-columns: repeat(2, 1fr); }
  .stop { grid-template-columns: 96px 1fr auto; }
  .stop__meta { grid-column: 3; flex-direction: column; align-items: flex-end; gap: 6px; }
  .stats__in { grid-template-columns: repeat(3, 1fr); }
  .quote { grid-template-columns: 1fr 1fr; padding: 28px; }
  .quote h3, .quote__intro, .field--full, .btn--block, .quote__status { grid-column: 1 / -1; }
  .footer__in { grid-template-columns: 1.5fr 1fr 1.3fr; }
  .hero__stone { left: 4%; }
}

@media (min-width: 760px) {
  .fleet { grid-template-columns: repeat(2, 1fr); }
  .gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; overflow: visible; }
}

@media (min-width: 980px) {
  .topbar__right { display: flex; }
  .navtoggle { display: none; }
  .nav {
    position: static; display: flex; flex-direction: row; align-items: center; gap: 24px;
    padding: 0; background: none; border: 0;
  }
  .nav a:not(.btn) { padding: 4px 0; border: 0; font-size: 1rem; }
  .nav a:not(.btn):hover { color: var(--laterite); }
  .nav__call { margin-top: 0; }

  .hero { padding: 56px 0 70px; }
  .hero__grid { grid-template-columns: 1.08fr .92fr; align-items: center; gap: 56px; }
  .arch { aspect-ratio: 5 / 5.6; }
  .hero__cta .btn { flex: 0 1 auto; }

  .section { padding: 96px 0; }
  .boards { grid-template-columns: repeat(4, 1fr); }
  .trips { grid-template-columns: 4fr 7fr; gap: 64px; align-items: start; }
  .trips__head { position: sticky; top: 104px; }
  .custom { grid-template-columns: repeat(4, 1fr); }
  .why { grid-template-columns: 5fr 7fr; gap: 80px; }
  .stats__in { grid-template-columns: repeat(6, 1fr); }
  .tariff { min-width: 0; }
  .swipe-hint { display: none; }
  .tariff2 { grid-template-columns: 7fr 5fr; gap: 54px; }
  .contact { grid-template-columns: 5fr 7fr; gap: 60px; }
  .map iframe { height: 400px; }
  .footer { padding-bottom: 36px; }
  .dock { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .road span { animation: none; }
  .btn, .car__photo img, .gallery img, .board { transition: none; }
}
