:root {
  color-scheme: dark;
  --paper: #151513;
  --surface: #1d1d1a;
  --field: #181816;
  --ink: #fbf2e6;
  --muted: #c8bfb1;
  --rule: #3a3730;
  --gold: #fbd49a;
  --gold-light: #ffe3b7;
  --on-gold: #231708;
  --gutter: clamp(1rem, 4.7vw, 5rem);
  --radius: 1rem;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --display: Georgia, "Times New Roman", serif;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-padding-block-start: 1.5rem; }
body, h1, h2, p, dl, dd, ul { margin: 0; }
body { background: var(--paper); color: var(--ink); font: 1rem/1.55 system-ui, -apple-system, "Segoe UI", sans-serif; }
a { color: inherit; text-underline-offset: .22em; }
button, input { font: inherit; }
button { color: inherit; cursor: pointer; }
a, button { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }
svg { display: block; flex: none; }
.wrap { width: min(100% - 2 * var(--gutter), 80rem); margin-inline: auto; }
.skip { position: fixed; z-index: 10; inset: .5rem auto auto .5rem; transform: translateY(-150%); padding: .6rem .9rem; border-radius: .4rem; background: var(--gold); color: var(--on-gold); }
.skip:focus { transform: none; }

.masthead { display: flex; align-items: center; justify-content: space-between; gap: .6rem 1.2rem; min-height: 4.6rem; padding-block: .65rem; }
.wordmark { display: inline-flex; align-items: baseline; gap: .29rem; font-weight: 800; text-decoration: none; white-space: nowrap; }
.lamp { align-self: center; width: 1.65rem; height: 1.05rem; margin-inline-end: .25rem; border: 1px solid var(--gold); border-radius: .4rem .4rem .18rem .18rem; background: repeating-conic-gradient(var(--gold) 0 25%, transparent 0 50%) center / 6px 6px; box-shadow: inset 0 0 0 2px var(--paper); }
.brand-name { font-size: clamp(1.24rem, 2vw, 1.55rem); line-height: 1; letter-spacing: -.05em; }
.brand-city { color: var(--muted); font-size: clamp(.91rem, 1.4vw, 1.03rem); font-weight: 550; letter-spacing: -.02em; }
.main-nav { display: flex; align-items: center; gap: clamp(.5rem, 2.2vw, 1.5rem); }
.main-nav a { display: inline-flex; align-items: center; min-height: 44px; font-size: .875rem; font-weight: 640; text-decoration: none; white-space: nowrap; }
.main-nav a:first-child { padding-inline: .4rem; color: var(--muted); }
.main-nav a:first-child:hover { color: var(--gold); }
.main-nav a:last-child { padding-inline: .9rem; border: 1px solid var(--rule); border-radius: .65rem; }
.main-nav a:last-child:hover { border-color: var(--gold); color: var(--gold); }

.scene { position: relative; isolation: isolate; display: grid; align-items: center; min-height: clamp(35rem, 72svh, 47rem); overflow: clip; background: var(--paper); }
.photo, .photo::after, .photo img { position: absolute; inset: 0; width: 100%; height: 100%; }
.photo { z-index: -1; overflow: hidden; }
.photo img { object-fit: cover; object-position: 64% center; }
.photo .photo-city { object-position: 73% 61%; }
.photo::after {
  content: "";
  background: linear-gradient(90deg, #151513f5, #151513de 19%, #1515137a 39%, transparent 66%),
              linear-gradient(0deg, #151513ca, transparent 30%);
}
.scene-inner { position: relative; padding-block: clamp(3.25rem, 7vw, 6rem); }
.feature { max-width: 36rem; }
.switch { position: relative; isolation: isolate; display: inline-grid; grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 100%; padding: .25rem; gap: .25rem; border: 1px solid #fff4e349; border-radius: 2rem; background: #191916; }
.switch::before { content: ""; position: absolute; z-index: -1; inset: .25rem auto .25rem .25rem; width: calc((100% - .75rem) / 2); border-radius: inherit; background: #efe0c9; }
.scene[data-mode="airport"] .switch::before { transform: translateX(calc(100% + .25rem)); }
.switch button { min-height: 44px; padding: .35rem .85rem; border: 0; border-radius: 2rem; background: transparent; font-size: .875rem; font-weight: 670; }
.switch button[aria-pressed="true"] { color: #302318; }
.switch button[aria-pressed="false"]:hover { color: var(--gold); }
.destinations { display: flex; flex-wrap: wrap; gap: 0 .9rem; margin-top: .4rem; }
.destinations button { min-height: 44px; padding: 0 .12rem; border: 0; background: transparent; color: var(--muted); font-size: .875rem; font-weight: 580; }
.destinations button[aria-pressed="true"], .destinations button:hover { color: var(--gold); text-decoration: underline; text-underline-offset: .42em; }
.story { margin-top: clamp(.9rem, 2vw, 1.65rem); }
.story h1 { font: 500 clamp(4.5rem, 8.4vw, 8rem)/.88 var(--display); letter-spacing: -.065em; }
.story h1 span { display: block; }
.story p { max-width: 36ch; margin-top: 1.25rem; color: var(--muted); font-size: clamp(1rem, 1.4vw, 1.125rem); }
.hero-actions { display: flex; flex-wrap: wrap; align-items: stretch; gap: .7rem; margin-top: 1.65rem; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: .75rem; min-height: 3.25rem; padding: .75rem 1.15rem; border: 1px solid transparent; border-radius: .8rem; font-weight: 720; line-height: 1.2; text-decoration: none; }
.button-primary { border-color: #f6cf94; background: linear-gradient(155deg, #ffdfab, #f6c982); color: var(--on-gold); box-shadow: inset 0 1px 0 #fff1cf, 0 5px 14px #0003; }
.button-primary:hover { border-color: var(--gold-light); background: var(--gold-light); }
.button-primary:disabled { opacity: .7; cursor: wait; }
.button-secondary { border-color: #fff4e356; background: #1d1d1a; color: var(--ink); font-size: .9375rem; }
.button-secondary:hover { border-color: var(--gold); color: var(--gold); }
.call { justify-content: flex-start; min-height: 4.15rem; padding: .53rem 1.05rem .53rem .58rem; }
.call-icon { display: grid; width: 2.65rem; height: 2.65rem; flex: none; place-items: center; border: 1px solid #7f531f26; border-radius: .6rem; background: #6a431916; }
.call-copy { display: grid; gap: .12rem; }
.call-copy > span { font-size: .875rem; font-weight: 630; }
.call-copy strong { font-size: 1.25rem; letter-spacing: -.035em; line-height: 1.1; }
.call-copy strong, .mobile-contact strong, .dispatch-phone, .fare-list dd { font-variant-numeric: tabular-nums; white-space: nowrap; }
.photo-caption { position: absolute; inset: auto 0 1rem auto; padding: .28rem .5rem; border-radius: .32rem; background: #151513e0; color: var(--muted); font-size: .8125rem; }
.journey { position: absolute; inset: auto 0 3.15rem auto; display: flex; align-items: center; gap: .85rem; padding: .5rem .75rem; border: 1px solid #77654c; border-radius: 2rem; background: #1b1915; font-size: .875rem; }
.journey-track { position: relative; width: clamp(2.75rem, 8vw, 8rem); height: 1px; background: #9f8a67; }
.journey-track::before, .journey-track i { position: absolute; top: 50%; transform: translate(-50%, -50%); border-radius: 50%; }
.journey-track::before { content: ""; left: 0; width: 4px; height: 4px; background: var(--muted); }
.journey-track i { left: 100%; width: 7px; height: 7px; background: var(--gold); box-shadow: 0 0 10px #fbd49a80; }
.journey strong { color: var(--gold); letter-spacing: .075em; }

.prices { border-bottom: 1px solid var(--rule); }
.prices summary { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 3.55rem; padding: .5rem .1rem; color: var(--gold); cursor: pointer; list-style: none; font-size: .9375rem; font-weight: 670; }
.prices summary::-webkit-details-marker { display: none; }
.prices summary::after { content: ""; width: 1.75rem; height: 1.75rem; border: 1px solid var(--rule); border-radius: .43rem; background: linear-gradient(currentColor, currentColor) center / .65rem 1px no-repeat, linear-gradient(currentColor, currentColor) center / 1px .65rem no-repeat; }
.prices summary:hover::after { border-color: var(--gold); }
.prices details[open] summary::after { background-size: .65rem 1px, 0 0; }
.fare-list { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr); align-items: start; gap: 1.35rem clamp(1.5rem, 5vw, 5rem); padding-block: .45rem 1.5rem; }
.fare-list dl { display: grid; grid-template-columns: minmax(0, 1fr) auto; }
.fare-list dt, .fare-list dd { padding: .62rem 0; border-top: 1px solid var(--rule); }
.fare-list dd { padding-inline-start: 1rem; color: var(--gold); text-align: right; font-weight: 650; }
.airport-fares h2 { margin-bottom: .55rem; color: var(--muted); font-size: .9375rem; font-weight: 650; }

.request, .services { padding-block: clamp(2.65rem, 6.2vw, 5.6rem); }
.request h2, .services h2, .info h1 { font: 500 clamp(2.45rem, 5.2vw, 4.5rem)/.99 var(--display); letter-spacing: -.052em; }
.request { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(1.6rem, 6vw, 6rem); align-items: start; }
.request-intro { padding-block: .45rem; }
.request-intro p { max-width: 36ch; margin-top: 1rem; color: var(--muted); }
.request-intro .urgent-call { margin-top: 1.45rem; }
.urgent-call a, .info a { color: var(--gold); }
.urgent-call a:hover, .info a:hover { color: var(--gold-light); }
.request form { display: grid; min-width: 0; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.05rem 1rem; padding: clamp(1rem, 3vw, 2rem); border: 1px solid #514636; border-radius: var(--radius); background: var(--surface); box-shadow: 0 16px 40px #0002; }
.route-fields, .date-field, .form-actions, #request-status { grid-column: 1 / -1; }
.route-fields { position: relative; display: grid; gap: 1.05rem; padding-inline-start: 1.25rem; }
.route-fields::before { content: ""; position: absolute; inset: .5rem auto .6rem .23rem; width: 1px; background: linear-gradient(var(--gold), #756145 65%, transparent); }
.route-fields label { position: relative; }
.route-fields label::before { content: ""; position: absolute; inset: .33rem auto auto -1.25rem; width: .5rem; aspect-ratio: 1; border: 1px solid var(--gold); border-radius: 50%; background: var(--surface); }
.route-fields label:last-child::before { background: var(--gold); }
.request label { display: grid; min-width: 0; gap: .4rem; align-content: end; font-size: .9375rem; font-weight: 620; }
.request label small { color: var(--muted); font-size: .875rem; font-weight: 450; }
.request input { display: block; width: 100%; min-width: 0; min-height: 3.1rem; padding: .62rem .75rem; border: 1px solid #5c5448; border-radius: .6rem; background: var(--field); color: var(--ink); font-size: 1rem; font-weight: 450; }
.request input::placeholder { color: #a69c8e; opacity: 1; }
.request input:hover { border-color: #9b886e; }
.request input:focus { outline: 2px solid var(--gold); outline-offset: -1px; border-color: var(--gold); }
.request input::-webkit-date-and-time-value { min-height: 1.4em; text-align: start; }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1rem; margin-top: .3rem; }
.form-actions a { display: inline-flex; align-items: center; min-height: 44px; color: var(--muted); font-size: .875rem; }
.form-actions a:hover { color: var(--gold); }
#request-status { color: var(--muted); font-size: .9375rem; }
#request-status:empty { margin-top: -1.05rem; }
#request-status[data-state="success"] { color: #bee6b4; }
#request-status[data-state="error"] { color: #ffbdab; }

.services { border-top: 1px solid var(--rule); }
.services h2 { margin-bottom: clamp(1.35rem, 3vw, 2.25rem); }
.services dl { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: .8rem; }
.services dl > div { grid-column: span 2; padding: clamp(1rem, 2.6vw, 1.55rem); border: 1px solid var(--rule); border-radius: var(--radius); background: var(--surface); }
.services dl > div:nth-last-child(-n+2) { grid-column: span 3; }
.services dl .city-service { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(9rem, .65fr) minmax(0, 2fr); gap: .8rem 1.5rem; border-color: #685134; background: linear-gradient(135deg, #27221b, var(--surface) 65%); }
.services dt { font-size: 1.12rem; font-weight: 700; line-height: 1.3; letter-spacing: -.015em; }
.services dd { margin-top: .5rem; color: var(--muted); }
.services .city-service dt { color: var(--gold); }
.services .city-service dd { margin-top: 0; }
.districts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .35rem .85rem; padding: 0; list-style: none; }
.districts li { display: grid; grid-template-columns: .25rem minmax(0, 1fr); align-items: baseline; gap: .5rem; }
.districts li::before { content: ""; height: .25rem; align-self: start; margin-top: .66em; border-radius: 50%; background: var(--gold); }

.foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1.3rem 2rem; padding-block: clamp(1.5rem, 4vw, 3rem); border-top: 1px solid var(--rule); color: var(--muted); font-size: .9375rem; }
.foot h2 { margin-bottom: .4rem; color: var(--ink); font-size: 1.05rem; }
.foot address, .info address { font-style: normal; }
.foot address strong { color: var(--ink); font-weight: 650; }
.dispatch-phone { display: inline-block; padding-block: .45rem; color: var(--gold); font-weight: 700; }
.foot p, .foot nav { display: flex; flex-wrap: wrap; align-content: start; gap: .3rem 1.2rem; }
.foot nav a { display: inline-flex; align-items: center; min-height: 44px; }
.foot nav a:hover, .dispatch-phone:hover { color: var(--gold-light); }
.mobile-contact { display: none; }
.info { max-width: 54rem; padding-block: clamp(2rem, 5vw, 5rem); }
.info h1 { margin-bottom: 1.6rem; }
.info section { padding-block: 1.25rem; border-top: 1px solid var(--rule); }
.info section h2 { line-height: 1.25; }
.info p, .info address { max-width: 68ch; margin-top: .8rem; color: var(--muted); }

@media (max-width: 62rem) {
  .request { gap: 1.8rem; }
  .services dl { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .services dl > div, .services dl > div:nth-last-child(2) { grid-column: span 1; }
  .services dl > div:last-child { grid-column: 1 / -1; }
}
@media (max-width: 47rem) {
  .masthead { min-height: 4rem; }
  .scene { --photo-height: clamp(13rem, 59vw, 22rem); min-height: auto; }
  .photo, .photo::after, .photo img { height: var(--photo-height); }
  .photo .photo-city { object-position: 74% 57%; }
  .photo::after { background: linear-gradient(0deg, var(--paper), #15151314 45%, transparent 70%); }
  .scene-inner { padding-block: calc(var(--photo-height) - 1.5rem) 1.45rem; }
  .story h1 { font-size: clamp(3.75rem, 12vw, 5.4rem); }
  .story h1 span { display: inline; }
  .story p { margin-top: .7rem; }
  .hero-actions { margin-top: 1.2rem; }
  .photo-caption { inset: .65rem 0 auto auto; }
  .journey { inset: 2.65rem 0 auto auto; }
  .fare-list, .request { grid-template-columns: minmax(0, 1fr); }
  .request { gap: 1.2rem; }
  .request-intro { padding: 0; }
  .request-intro .urgent-call { margin-top: .7rem; }
  .services dl .city-service { grid-template-columns: minmax(0, 1fr); }
  body.has-mobile-contact { padding-bottom: calc(4.4rem + env(safe-area-inset-bottom)); }
  body.has-mobile-contact :focus-visible { scroll-margin-block-end: calc(4.4rem + env(safe-area-inset-bottom)); }
  .mobile-contact { position: fixed; z-index: 5; inset: auto 0 0; padding: .55rem var(--gutter) calc(.55rem + env(safe-area-inset-bottom)); display: flex; justify-content: center; border-top: 1px solid var(--rule); background: #181816; box-shadow: 0 -6px 24px #0004; }
  .mobile-contact .button { width: min(100%, 34rem); gap: .5rem; padding-inline: .65rem; font-size: .875rem; }
  .mobile-contact strong { font-size: 1rem; }
  body:has(#ride-request input:focus) .mobile-contact { visibility: hidden; }
}
@media (max-width: 34rem) {
  .request form { grid-template-columns: minmax(0, 1fr); }
  .form-actions { align-items: start; gap: .25rem; flex-direction: column; }
  .form-actions .button { width: 100%; }
  .services dl { grid-template-columns: minmax(0, 1fr); }
  .districts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 27rem) {
  .masthead { gap: .2rem .65rem; flex-wrap: wrap; }
  .main-nav { gap: .35rem; }
  .main-nav a:last-child { padding-inline: .55rem; }
  .wordmark .lamp { margin-inline-end: .1rem; }
  .hero-actions { gap: .5rem; }
  .call { gap: .52rem; padding-inline-end: .7rem; }
  .call-icon { width: 2.35rem; height: 2.35rem; }
  .call-copy strong { font-size: 1.13rem; }
  .button-secondary { padding-inline: .65rem; font-size: .875rem; }
}
@media (max-width: 22rem) {
  .masthead { padding-block: .55rem; }
  .masthead .wordmark { width: 100%; }
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
  .switch::before { transition: transform .33s var(--ease); }
  .switch button, .main-nav a, .button { transition: color .18s ease, border-color .18s ease, box-shadow .18s ease, transform .18s ease; }
  .button:hover { transform: translateY(-1px); }
  .button:active { transform: translateY(0); box-shadow: none; }
  .prices details[open] .fare-list { animation: fare-in .24s var(--ease) both; }
}
@keyframes fare-in { from { opacity: 0; transform: translateY(-.35rem); } }
