:root {
  --taxi: #f7c600;
  --black: #121212;
  --char: #1e1e1e;
  --cream: #f6efe2;
  --paper: #fffaf1;
  --ink: #121212;
  --muted: #5c564d;
  --pink: #ff7b9c;
  --radius: 14px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "DM Sans", system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-size: 17px;
  line-height: 1.6;
}
img, svg { max-width: 100%; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0 0 .5em; line-height: 1.05; font-weight: 400; }
h1, h2 { font-family: "Bebas Neue", "DM Sans", sans-serif; letter-spacing: .5px; }
h1 { font-size: clamp(2.8rem, 7vw, 5.4rem); }
h2 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
h2 em, h1 span {
  font-family: "DM Serif Display", serif; font-style: italic; letter-spacing: 0;
}
h2 em { display: inline-block; font-size: .6em; line-height: 1.2; margin-top: .3em; color: var(--muted); }
h1 span { color: var(--taxi); font-size: .82em; }
h3 { font-family: "DM Sans", sans-serif; font-weight: 800; font-size: 1.25rem; }

.wrap { width: min(1180px, 100% - 32px); margin-inline: auto; }
.narrow { width: min(860px, 100% - 32px); }

.skip { position: absolute; left: -999px; top: 0; background: var(--taxi); color: var(--black); padding: 8px 14px; z-index: 100; }
.skip:focus { left: 8px; top: 8px; }

.checker {
  height: 18px;
  background:
    conic-gradient(var(--black) 25%, var(--taxi) 0 50%, var(--black) 0 75%, var(--taxi) 0) 0 0 / 18px 18px;
}

.btn {
  display: inline-block; text-decoration: none; font-weight: 800;
  background: var(--taxi); color: var(--black);
  padding: 14px 26px; border-radius: 999px; border: 2px solid var(--taxi);
  transition: transform .15s ease, background .15s ease;
  font-size: 1rem;
}
.btn:hover { transform: translateY(-2px) rotate(-1deg); }
.btn-ghost { background: transparent; color: inherit; border-color: currentColor; }
.btn-small { padding: 8px 18px; font-size: .95rem; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--black); color: #fff; }
.header-inner { display: flex; align-items: center; justify-content: space-between; padding: 12px 0; gap: 16px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; font-family: "Bebas Neue", sans-serif; font-size: 2rem; letter-spacing: 1px; color: #fff; line-height: 1; }
.logo em { font-style: normal; color: var(--taxi); margin-left: 4px; }
.logo-dog { width: 44px; height: 44px; }
.nav { display: flex; align-items: center; gap: 24px; }
.nav a:not(.btn) { text-decoration: none; font-weight: 600; opacity: .85; }
.nav a:not(.btn):hover { opacity: 1; color: var(--taxi); }
.nav-toggle { display: none; background: var(--taxi); color: var(--black); border: 0; border-radius: 999px; padding: 8px 16px; font-weight: 800; font-family: inherit; cursor: pointer; }

/* Hero */
.hero { background: var(--black); color: #fff; padding-top: 64px; overflow: hidden; }
.hero-inner { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: center; padding-bottom: 64px; }
.eyebrow { text-transform: uppercase; letter-spacing: 3px; font-size: .8rem; font-weight: 800; color: #b38f00; margin: 0 0 14px; }
.hero .eyebrow, .section-dark .eyebrow, .book .eyebrow { color: var(--taxi); }
.lede { font-size: 1.15rem; max-width: 580px; color: #d9d4ca; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin: 26px 0 18px; }
.hero-note { color: #a29c90; font-size: .95rem; margin: 0; }

.hero-art { text-align: center; }
.cab-window {
  position: relative; aspect-ratio: 4 / 3; max-width: 480px; margin: 40px auto 0;
  background: linear-gradient(160deg, #9fc7e8 0%, #d9ecf7 55%, #b4d4ea 100%);
  border: 16px solid var(--taxi); border-radius: 40px 40px 18px 18px;
  overflow: visible; box-shadow: 0 0 0 4px var(--black), 0 30px 60px rgba(0,0,0,.5);
}
.window-photo {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%;
  border-radius: 24px 24px 2px 2px;
}
.smudge { position: absolute; z-index: 1; border-radius: 50%; background: radial-gradient(rgba(255,255,255,.7), transparent 70%); }
.s1 { width: 60px; height: 40px; top: 52%; left: 38%; } .s2 { width: 30px; height: 22px; top: 30%; left: 18%; } .s3 { width: 40px; height: 26px; top: 40%; right: 12%; }
.roof-sign {
  position: absolute; top: -78px; left: 50%; transform: translateX(-50%);
  background: var(--taxi); color: var(--black); font-family: "Bebas Neue", sans-serif;
  font-size: 1.6rem; line-height: .9; padding: 10px 22px 8px; border-radius: 12px 12px 4px 4px;
  box-shadow: 0 0 30px rgba(247,198,0,.55); animation: glow 2s ease-in-out infinite; white-space: nowrap;
}
.roof-sign small { font-size: .7em; }
.caption { font-family: "DM Serif Display", serif; font-style: italic; color: #a29c90; margin-top: 18px; }
@keyframes glow { 50% { box-shadow: 0 0 50px rgba(247,198,0,.9); } }

.ticker { background: var(--taxi); color: var(--black); overflow: hidden; border-block: 3px solid var(--black); }
.ticker-track { display: flex; width: max-content; animation: ticker 40s linear infinite; }
.ticker-track span { font-family: "Bebas Neue", sans-serif; font-size: 1.35rem; letter-spacing: 1px; padding: 10px 28px; white-space: nowrap; }
.ticker-track span::after { content: "🐾"; margin-left: 28px; font-size: .9em; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* Sections */
.section { padding: 96px 0; }
.section-dark { background: var(--black); color: #fff; }
.section-dark h2 em { color: #a29c90; }
.section-cream { background: var(--cream); }
.section-lede { max-width: 720px; font-size: 1.1rem; color: #bdb7ab; margin-bottom: 40px; }

/* Steps */
.steps-photo {
  display: block; width: 100%; height: auto; margin-top: 40px;
  border: 2px solid var(--black); border-radius: var(--radius);
}
.steps { list-style: none; padding: 0; margin: 48px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.steps li { border-top: 4px solid var(--black); padding-top: 20px; }
.step-num { font-family: "Bebas Neue", sans-serif; font-size: 3.6rem; line-height: 1; color: var(--taxi); -webkit-text-stroke: 1.5px var(--black); display: block; margin-bottom: 8px; }
.steps p { color: var(--muted); }
.footnote { font-size: .8rem; font-style: italic; }

/* Co-pilots */
.copilot-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.copilot { background: var(--char); border: 1px solid #333; border-radius: var(--radius); padding: 26px 22px; overflow: hidden; transition: transform .2s ease, border-color .2s ease; }
.copilot:hover { transform: translateY(-6px); border-color: var(--taxi); }
.copilot-dog {
  display: block; width: calc(100% + 44px); max-width: none; height: auto; aspect-ratio: 1; object-fit: cover;
  margin: -26px -22px 18px; border-radius: calc(var(--radius) - 1px) calc(var(--radius) - 1px) 0 0;
}
.copilot-role { color: var(--taxi); font-weight: 800; font-size: .9rem; text-transform: uppercase; letter-spacing: 1px; margin: -6px 0 10px; }
.copilot p { color: #cfc9be; font-size: .96rem; }
.stats { margin: 18px 0 0; display: grid; gap: 8px; }
.stats div { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 10px; }
.stats dt { font-size: .78rem; text-transform: uppercase; letter-spacing: 1px; color: #a29c90; }
.stats dd { margin: 0; height: 8px; background: #333; border-radius: 99px; overflow: hidden; }
.stats dd span { display: block; height: 100%; width: var(--v); background: var(--taxi); border-radius: 99px; }

/* Versus table */
.table-wrap { overflow-x: auto; margin-top: 32px; }
.versus { width: 100%; border-collapse: collapse; font-size: 1rem; min-width: 560px; }
.versus th, .versus td { text-align: left; padding: 16px 14px; border-bottom: 1px solid #ddd3c2; vertical-align: top; }
.versus thead th { font-family: "Bebas Neue", sans-serif; font-size: 1.5rem; font-weight: 400; letter-spacing: .5px; border-bottom: 4px solid var(--black); }
.versus thead th:last-child { color: #b38f00; }
.versus tbody th { font-weight: 800; width: 34%; }
.versus td:last-child { font-family: "DM Serif Display", serif; font-style: italic; font-size: 1.05rem; }
.versus tbody tr:hover { background: #fff3c4; }

/* Rides */
.rides-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin-top: 36px; }
.ride { background: #fff; border-radius: var(--radius); padding: 28px 24px; border: 2px solid var(--black); box-shadow: 6px 6px 0 var(--taxi), 6px 6px 0 2px var(--black); }
.ride-photo {
  display: block; width: calc(100% + 48px); max-width: none; height: auto; aspect-ratio: 4 / 3; object-fit: cover;
  margin: -28px -24px 18px; border-bottom: 2px solid var(--black);
  border-radius: calc(var(--radius) - 2px) calc(var(--radius) - 2px) 0 0;
}
.ride-tag { display: inline-block; background: var(--black); color: var(--taxi); font-size: .75rem; font-weight: 800; text-transform: uppercase; letter-spacing: 1.5px; padding: 4px 10px; border-radius: 99px; margin: -4px 0 12px; }
.ride p:last-child { color: var(--muted); margin: 0; }
.ride-ghost { background: repeating-linear-gradient(-45deg, #fff, #fff 12px, #f8f5ef 12px, #f8f5ef 24px); }

/* Where */
.where { display: grid; grid-template-columns: 1fr 1.3fr; gap: 56px; }
.where p { color: var(--muted); }
.where-lists { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.where-lists ul { list-style: none; padding: 0; margin: 0; color: var(--muted); }
.where-lists li { padding: 6px 0; border-bottom: 1px dashed #ddd3c2; font-size: .95rem; }

.side-photo {
  display: block; width: 100%; height: auto; margin-top: 28px;
  border-radius: var(--radius); border: 2px solid var(--black);
}
.section-dark .side-photo { border-color: #333; }
.book .side-photo { box-shadow: 8px 8px 0 var(--black); }

/* Fares */
.fares { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.included { list-style: none; padding: 0; margin: 28px 0 0; }
.included li { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px dotted #444; }
.included strong { font-family: "Bebas Neue", sans-serif; font-size: 1.4rem; font-weight: 400; color: var(--taxi); letter-spacing: 1px; white-space: nowrap; }

.meter { background: #0a0a0a; border: 3px solid var(--taxi); border-radius: 20px; padding: 26px; box-shadow: 0 0 0 6px var(--black), 0 0 40px rgba(247,198,0,.15); }
.meter-head { display: flex; justify-content: space-between; align-items: center; font-family: "Bebas Neue", sans-serif; font-size: 1.6rem; letter-spacing: 2px; color: var(--taxi); margin-bottom: 18px; }
.meter-light { width: 14px; height: 14px; border-radius: 50%; background: #ff3b3b; box-shadow: 0 0 12px #ff3b3b; animation: blink 1.2s steps(2) infinite; }
@keyframes blink { 50% { opacity: .2; } }
.meter label { display: block; font-weight: 600; color: #d9d4ca; }
.meter output { color: var(--taxi); font-weight: 800; }
.meter input[type=range] { width: 100%; margin: 14px 0 22px; accent-color: var(--taxi); }
.meter-readout { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.meter-readout div { background: #161616; border: 1px solid #2c2c2c; border-radius: 10px; padding: 12px; text-align: center; }
.meter-readout small { display: block; color: #8d877c; font-size: .75rem; text-transform: uppercase; letter-spacing: 1px; }
.meter-readout strong { font-family: "Bebas Neue", sans-serif; font-weight: 400; font-size: 2rem; color: #7dff8a; text-shadow: 0 0 10px rgba(125,255,138,.45); letter-spacing: 1px; }
.meter-quip { font-family: "DM Serif Display", serif; font-style: italic; color: #d9d4ca; min-height: 1.6em; margin: 18px 0 8px; }
.meter-fine { font-size: .78rem; color: #8d877c; margin: 0; }

/* Rules */
.rules { counter-reset: r; list-style: none; padding: 0; margin: 32px 0 0; }
.rules li { counter-increment: r; position: relative; padding: 18px 0 18px 72px; border-bottom: 1px solid #ddd3c2; color: var(--muted); }
.rules li strong { color: var(--ink); display: block; font-size: 1.1rem; }
.rules li::before { content: counter(r, decimal-leading-zero); position: absolute; left: 0; top: 14px; font-family: "Bebas Neue", sans-serif; font-size: 2.6rem; line-height: 1; color: var(--taxi); -webkit-text-stroke: 1.2px var(--black); }

/* Reviews */
.reviews { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin-top: 36px; }
.reviews blockquote { margin: 0; background: #fff; border-radius: var(--radius); padding: 24px; border: 2px solid var(--black); position: relative; }
.reviews blockquote:nth-child(odd) { transform: rotate(-1deg); }
.reviews blockquote:nth-child(even) { transform: rotate(1deg); }
.stars { color: #e0a800; letter-spacing: 2px; margin: 0 0 8px; font-size: 1.1rem; }
.reviews p { font-family: "DM Serif Display", serif; font-size: 1.12rem; line-height: 1.45; }
.reviews cite { font-style: normal; font-weight: 800; font-size: .85rem; color: var(--muted); }

/* Book */
.book { background: var(--taxi); color: var(--black); }
.book .eyebrow { color: var(--black); opacity: .7; }
.book-inner { display: grid; grid-template-columns: 1.2fr 1fr; gap: 56px; align-items: center; }
.book-actions { display: grid; gap: 14px; }
.big-call {
  display: block; text-decoration: none; text-align: center; background: var(--black); color: var(--taxi);
  font-family: "Bebas Neue", sans-serif; font-size: clamp(2.4rem, 5vw, 3.4rem); letter-spacing: 1px; line-height: 1;
  padding: 22px; border-radius: 18px; transition: transform .15s ease;
}
.big-call:hover { transform: scale(1.02) rotate(-.5deg); }
.big-call small { display: block; font-family: "DM Sans", sans-serif; font-size: .85rem; letter-spacing: 3px; text-transform: uppercase; color: #fff; margin-bottom: 6px; }
.book-actions .btn-ghost { text-align: center; }
.hours { text-align: center; margin: 4px 0 0; font-weight: 600; }

/* Footer */
.site-footer { background: var(--black); color: #bdb7ab; padding-bottom: 24px; }
.footer-inner { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-top: 56px; }
.site-footer a { color: var(--taxi); }
.site-footer .logo { color: #fff; }
.site-footer h4 { color: #fff; font-weight: 800; font-size: 1.1rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin: 6px 0; }
.fineprint { border-top: 1px solid #2c2c2c; margin-top: 36px; padding-top: 18px; font-size: .85rem; color: #8d877c; }

/* Responsive */
@media (max-width: 1080px) {
  .copilot-grid, .rides-grid, .reviews { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 880px) {
  .nav-toggle { display: block; }
  .nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch;
    gap: 0; background: var(--black); padding: 8px 16px 18px; border-bottom: 4px solid var(--taxi);
  }
  .nav.open { display: flex; }
  .nav a:not(.btn) { padding: 12px 0; border-bottom: 1px solid #2c2c2c; }
  .nav .btn { margin-top: 12px; text-align: center; }
  .hero-inner, .where, .fares, .book-inner, .footer-inner { grid-template-columns: 1fr; }
  .hero-art { order: -1; }
  .cab-window { max-width: 320px; margin-top: 70px; }
}
@media (max-width: 600px) {
  .logo { font-size: 1.55rem; gap: 8px; }
  .logo-dog { width: 36px; height: 36px; }
  .copilot-grid, .rides-grid, .reviews, .steps, .where-lists { grid-template-columns: 1fr; }
  .section { padding: 64px 0; }
  .meter-readout strong { font-size: 1.6rem; }
  .rules li { padding-left: 58px; }
  .rules li::before { font-size: 2.1rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}
