:root {
  color-scheme: only dark;
  --black: #0b0b0b;
  --ink: #111111;
  --panel: #161616;
  --panel-2: #1c1c1c;
  --ivory: #f5f0e6;
  --ivory-soft: #cfc6b3;
  --muted: #c4bba8;
  --gold: #a8842f;
  --gold-light: #e8d060;
  --line: #2a2a2a;
  --serif: "Cormorant Garamond", "Times New Roman", Georgia, serif;
  --sans: "Libre Franklin", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --wide: 72rem;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; background: #0b0b0b; }
body { margin: 0; background: var(--black); color: var(--ivory); font-family: var(--sans); font-size: 1.02rem; line-height: 1.6; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--ivory); text-underline-offset: 3px; text-decoration-color: var(--gold-light); }
a:hover { color: var(--gold-light); }


.site-header { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 0.8rem 1.2rem; background: rgba(11,11,11,0.94); backdrop-filter: blur(6px); border-bottom: 1px solid var(--gold); position: sticky; top: 0; z-index: 10; }
.brand { display: flex; align-items: center; gap: 0.7rem; color: var(--ivory); text-decoration: none; min-width: 0; }
.brand img { width: 3.4rem; height: auto; flex-shrink: 0; }
.brand span { font-family: var(--serif); font-weight: 600; font-size: 1.25rem; letter-spacing: 0.02em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.brand:hover { color: var(--gold-light); }

.btn { display: inline-block; text-decoration: none; padding: 0.6rem 1.3rem; font-family: var(--sans); font-weight: 600; font-size: 0.8rem; letter-spacing: 0.16em; text-transform: uppercase; white-space: nowrap; border: 1px solid var(--gold-light); border-radius: 0; transition: background .2s, color .2s, border-color .2s; position: relative; }
.btn-dark, .btn-gold { background: var(--gold-light); color: var(--black); border-color: var(--gold-light); }
.btn-dark:hover, .btn-gold:hover { background: transparent; color: var(--gold-light); }
.btn-lg { padding: 0.95rem 1.8rem; font-size: 0.85rem; }
/* Overlay uses a path SVG so Chrome force-dark cannot invert the dark lettering on gold */
.btn-dark::after, .btn-gold::after {
  content: "";
  position: absolute;
  inset: 0;
  background-color: #e8d060;
  background-image: url("/images/book-a-ride.svg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: auto 0.78em;
  pointer-events: none;
}
.btn-dark:hover::after, .btn-gold:hover::after {
  background-color: transparent;
  background-image: url("/images/book-a-ride-gold.svg");
}

/* Hero: asymmetric split */
.hero { display: grid; gap: 2rem; padding: 2.5rem 1.2rem 3rem; max-width: var(--wide); margin: 0 auto; border-bottom: 1px solid var(--gold); }
.kicker { margin: 0 0 1rem; font-size: 0.72rem; letter-spacing: 0.28em; text-transform: uppercase; color: var(--gold-light); font-weight: 600; }
.hero h1 { font-family: var(--serif); font-weight: 600; font-size: clamp(2.8rem, 11vw, 6.2rem); line-height: 0.92; letter-spacing: -0.01em; margin: 0 0 1.1rem; color: var(--ivory); }
.hero h1 em { font-style: italic; font-weight: 500; color: var(--gold-light); }
.tagline { margin: 0 0 1.2rem; font-size: 0.78rem; letter-spacing: 0.32em; text-transform: uppercase; font-weight: 600; border-top: 1px solid var(--gold); border-bottom: 1px solid var(--gold); padding: 0.55rem 0; display: inline-block; color: var(--ivory); }
.hero-lead { font-family: var(--serif); font-size: 1.45rem; line-height: 1.35; margin: 0 0 1.8rem; color: var(--ivory-soft); max-width: 26rem; }
.hero-art { position: relative; }
.hero-photo { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; object-position: center 35%; }
.hero-logo { position: absolute; left: -0.6rem; bottom: -1.6rem; width: min(13rem, 46%); filter: drop-shadow(0 6px 18px rgba(0,0,0,0.65)); }

/* Numbered section labels */
.about, .vehicles, .news, .rates { max-width: var(--wide); margin: 0 auto; padding: 3rem 1.2rem; border-bottom: 1px solid var(--line); }
.section-label { display: flex; align-items: baseline; gap: 1rem; margin-bottom: 1.4rem; }
.section-label span { font-family: var(--serif); font-style: italic; font-size: 1.3rem; color: var(--gold-light); }
h2 { font-family: var(--serif); font-weight: 600; font-size: clamp(2.2rem, 6vw, 3.4rem); line-height: 1; margin: 0; color: var(--ivory); }
h3 { font-family: var(--sans); font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase; font-weight: 600; margin: 0 0 0.4rem; color: var(--ivory); }

.lede { font-family: var(--serif); font-size: 1.6rem; line-height: 1.3; margin: 0 0 0.8rem; color: var(--ivory); }
.owner { font-weight: 600; margin: 0 0 1.4rem; padding-left: 0.9rem; border-left: 3px solid var(--gold-light); color: var(--ivory); }
.about-intro { display: grid; gap: 1.4rem; align-items: start; }
.about-copy .owner { margin-bottom: 0; }
.about-photo { margin: 0; }
.about-photo img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; object-position: left top; }
.info-grid { display: grid; gap: 1rem; margin-top: 1rem; }

.note, .fine { color: var(--muted); font-size: 0.88rem; }
.note { margin: 0 0 1.4rem; }

/* Vehicle photo */
.vehicle-grid { display: grid; gap: 1.2rem; margin: 0 -1.2rem; }
.vehicle-grid figure { margin: 0; }
.vehicle-grid img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: center 55%; }
figcaption { padding: 0.6rem 1.2rem 0; font-size: 0.82rem; color: var(--ivory-soft); font-style: italic; }
.credit { display: block; font-style: normal; font-size: 0.74rem; color: var(--muted); margin-top: 0.2rem; }

/* Rates as an editorial list */
.rates-list { border-top: 1px solid var(--gold); margin-bottom: 1.4rem; }
.rate-row { display: grid; gap: 0.3rem; padding: 1.2rem 0; border-bottom: 1px solid var(--line); }
.rate-row h3 { font-family: var(--serif); font-size: 1.6rem; text-transform: none; letter-spacing: 0; font-weight: 600; margin: 0; color: var(--ivory); }
.rate-price { margin: 0; font-size: 1.05rem; color: var(--ivory); }
.rate-example { margin: 0.3rem 0 0; color: var(--muted); font-size: 0.9rem; }
.rate-extras { margin: 0 0 1.8rem; color: var(--ivory-soft); font-size: 0.95rem; }
.rate-extras p { margin: 0.2rem 0; }

/* Closing CTA on charcoal, so it still reads as a band on the black page */
.cta { background: var(--panel); color: var(--ivory); text-align: center; padding: 4rem 1.2rem; border-top: 1px solid var(--gold); }
.cta h2 { color: var(--gold-light); font-style: italic; font-weight: 500; margin-bottom: 0.8rem; }
.cta p { color: var(--ivory-soft); margin: 0 auto 1.8rem; max-width: 30rem; }

.site-footer { text-align: center; padding: 2.4rem 1.2rem; max-width: var(--wide); margin: 0 auto; }
.site-footer > p:first-child { font-family: var(--serif); font-size: 1.3rem; font-weight: 600; color: var(--ivory); }
.site-footer p { margin: 0.25rem 0; }

@media (min-width: 760px) {
  .site-header { padding: 0.9rem 2rem; }
  .hero { grid-template-columns: 1.15fr 0.85fr; align-items: center; gap: 3.5rem; padding: 4.5rem 2rem 5rem; }
  .hero-logo { left: -3.5rem; bottom: -2rem; }
  .about, .vehicles, .news, .rates, .coming-soon { padding: 4.5rem 2rem; display: grid; grid-template-columns: 14rem 1fr; column-gap: 3rem; }
  .about .section-label, .vehicles .section-label, .news .section-label, .rates .section-label, .coming-soon .section-label { flex-direction: column; gap: 0.3rem; }
  .vehicles .note, .vehicles .vehicle-grid, .vehicles .service-grid, .vehicles .still-grid, .rates > :not(.section-label) { grid-column: 2; }
  .about-intro { grid-template-columns: 1fr 17rem; column-gap: 2rem; align-items: start; }
  .info-grid { grid-template-columns: repeat(3, 1fr); }
  .vehicle-grid { margin: 0; }
  figcaption { padding-left: 0; padding-right: 0; }
  .rate-row { grid-template-columns: 12rem 1fr; align-items: baseline; }
  .rates > .btn { justify-self: start; }
}
@media (max-width: 419px) {
  .site-header .btn { padding: 0.5rem 0.8rem; font-size: 0.7rem; letter-spacing: 0.1em; }
  .brand span { font-size: 1.05rem; }
}

/* Force dark rendering so phone auto-lighten / force-dark cannot wash out the page */
html, body { color-scheme: only dark; background-color: #0b0b0b !important; background-image: linear-gradient(#0b0b0b, #0b0b0b) !important; forced-color-adjust: none; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
@media (prefers-color-scheme: light) {
  html, body { background-color: #0b0b0b !important; background-image: linear-gradient(#0b0b0b, #0b0b0b) !important; color: #f5f0e6 !important; }
}

.footer-links { margin: 0.85rem 0 0.55rem; }
.footer-links a,
.site-footer .byline a { color: var(--ivory); font-weight: 600; text-underline-offset: 3px; text-decoration-color: var(--gold-light); }
.footer-links a:hover,
.site-footer .byline a:hover { color: var(--gold-light); }

.still-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 1.4rem; }
.still-grid figure { margin: 0; }
.still-grid img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border: 1px solid var(--gold); }
@media (min-width: 760px) { .still-grid { grid-template-columns: repeat(3, 1fr); } }

.news-card { display: grid; grid-template-columns: 7rem 1fr; gap: 1.2rem; align-items: center; text-decoration: none; color: var(--ivory); border: 1px solid var(--gold); background: var(--panel-2); padding: 1rem; transition: border-color .2s; }
.news-card:hover { border-color: var(--gold-light); }
.news-card img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.news-card h3 { font-family: var(--serif); font-size: 1.4rem; line-height: 1.2; margin: 0 0 0.5rem; color: var(--ivory); }
.news-card p { margin: 0 0 0.6rem; color: var(--ivory-soft); }
.news-card .kicker { margin-bottom: 0.4rem; }
.news-more { color: var(--gold-light); font-weight: 600; font-size: 0.8rem; letter-spacing: 0.14em; text-transform: uppercase; }
@media (min-width: 760px) { .news > .news-card { grid-column: 2; grid-template-columns: 10rem 1fr; } }

.story-block { background: var(--panel); border-left: 3px solid var(--gold-light); padding: 1.25rem 1.4rem; margin-top: 1.4rem; }
.story-block h3 { color: var(--gold-light); margin-bottom: 0.65rem; }
.story-block p { margin: 0 0 0.75rem; color: var(--ivory); font-size: 1.05rem; line-height: 1.65; }
.story-block p:last-child { margin-bottom: 0; }

.info-block { background: var(--panel); border: 1px solid var(--gold); padding: 1rem 1.1rem; }
.info-block h3 { color: var(--gold-light); margin-bottom: 0.45rem; }
.info-block p { margin: 0.25rem 0 0; color: var(--ivory); font-size: 0.98rem; line-height: 1.5; }

.service-grid { display: grid; grid-template-columns: 1fr; gap: 1rem; margin-top: 1.4rem; }
.service-grid figure { margin: 0; }
.service-grid img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border: 1px solid var(--gold); }
@media (min-width: 760px) { .service-grid { grid-template-columns: repeat(2, 1fr); } }

.coming-soon { padding: 3.2rem 1.2rem; border-top: 1px solid var(--line); }
.coming-soon-box { background: var(--panel-2); border: 1px solid var(--gold); padding: 1.5rem 1.6rem; }
.coming-soon-lead { margin: 0 0 1rem; color: var(--gold-light); font-family: var(--serif); font-size: 1.35rem; font-style: italic; }
.coming-soon-list { margin: 0; padding: 0; list-style: none; display: grid; gap: 0.65rem; }
.coming-soon-list li { position: relative; padding-left: 1.25rem; color: var(--ivory); font-size: 1.02rem; }
.coming-soon-list li::before { content: "◆"; position: absolute; left: 0; color: var(--gold-light); font-size: 0.72rem; top: 0.22rem; }
@media (min-width: 760px) {
  .coming-soon { padding: 4.5rem 2rem; }
  .coming-soon-list { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 2rem; }
}


/* Header nav */
.header-actions { display: flex; align-items: center; gap: 0.9rem; flex-shrink: 0; }
.site-nav { display: flex; align-items: center; gap: 1rem; }
.site-nav a {
  color: var(--ivory);
  text-decoration: none;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  white-space: nowrap;
}
.site-nav a:hover,
.site-nav a[aria-current="page"] { color: var(--gold-light); }
@media (max-width: 419px) {
  .header-actions { gap: 0.65rem; }
  .site-nav a { font-size: 0.68rem; letter-spacing: 0.1em; }
  .brand span { display: none; }
}

/* Landing page gallery preview */
.gallery-preview { margin-top: 0; }
.gallery-preview-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.7rem; }
.gallery-preview-grid .gallery-item { margin: 0; display: block; }
.gallery-preview-grid a { display: block; color: inherit; text-decoration: none; }
.gallery-preview-grid img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border: 1px solid var(--gold);
}
.gallery-preview-grid a:hover img,
.gallery-preview-grid a:focus-visible img { border-color: var(--gold-light); }
.btn-label {
  background: var(--gold-light);
  color: var(--black);
  border-color: var(--gold-light);
}
.btn-label::after { content: none; }
.btn-label:hover {
  background: transparent;
  color: var(--gold-light);
}
.gallery-preview-cta { margin-top: 1.6rem; }
@media (min-width: 760px) {
  .vehicles .gallery-preview { grid-column: 2; }
  .gallery-preview-grid { grid-template-columns: repeat(4, 1fr); gap: 1rem; }
}

/* Gallery page */
.gallery-page { max-width: var(--wide); margin: 0 auto; padding: 3rem 1.2rem 4rem; }
.gallery-page h1 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(2.2rem, 6vw, 3.4rem);
  line-height: 1;
  margin: 0;
  color: var(--ivory);
}
.gallery-lead {
  font-family: var(--serif);
  font-size: 1.35rem;
  line-height: 1.4;
  color: var(--ivory-soft);
  max-width: 36rem;
  margin: 0 0 1.8rem;
}
.gallery-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.85rem 0.7rem; }
.gallery-grid .gallery-item { margin: 0; }
.gallery-grid .gallery-item > a { display: block; color: inherit; text-decoration: none; }
.gallery-grid .gallery-item img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border: 1px solid var(--gold);
}
.gallery-grid .gallery-item a:hover img,
.gallery-grid .gallery-item a:focus-visible img { border-color: var(--gold-light); }
.gallery-grid figcaption { padding: 0.5rem 0 0; }
@media (min-width: 760px) {
  .gallery-page { padding: 4.5rem 2rem; display: grid; grid-template-columns: 14rem 1fr; column-gap: 3rem; }
  .gallery-page .section-label { flex-direction: column; gap: 0.3rem; }
  .gallery-page .gallery-lead,
  .gallery-page .gallery-grid { grid-column: 2; }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); gap: 1.2rem 1rem; }
}
@media (min-width: 1100px) {
  .gallery-grid { grid-template-columns: repeat(4, 1fr); }
}

/* Lightbox */
body.lightbox-open { overflow: hidden; }
body.lightbox-open .site-header { visibility: hidden; }
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4.2rem 3.4rem 1.4rem;
  padding-left: max(3.4rem, env(safe-area-inset-left));
  padding-right: max(3.4rem, env(safe-area-inset-right));
  padding-bottom: max(1.4rem, env(safe-area-inset-bottom));
}
.lightbox[hidden] { display: none; }
.lightbox-stage { margin: 0; display: flex; flex-direction: column; align-items: center; max-width: 100%; }
.lightbox-img {
  max-width: 100%;
  max-height: calc(100dvh - 8rem);
  width: auto;
  height: auto;
  object-fit: contain;
  border: 1px solid var(--gold);
}
.lightbox-caption {
  color: var(--ivory-soft);
  font-size: 0.9rem;
  font-style: italic;
  margin-top: 0.7rem;
  text-align: center;
  max-width: 40rem;
  padding: 0 0.5rem;
}
.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: absolute;
  background: var(--black);
  border: 1px solid var(--gold);
  color: var(--gold-light);
  font-family: var(--sans);
  cursor: pointer;
  z-index: 2;
}
.lightbox-close,
.lightbox-prev,
.lightbox-next { min-width: 44px; min-height: 44px; }
.lightbox-close {
  top: max(0.7rem, env(safe-area-inset-top));
  right: max(0.7rem, env(safe-area-inset-right));
  padding: 0.45rem 0.8rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.lightbox-prev,
.lightbox-next {
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  font-size: 1.8rem;
  line-height: 1;
  padding: 0;
}
.lightbox-prev { left: max(0.4rem, env(safe-area-inset-left)); }
.lightbox-next { right: max(0.4rem, env(safe-area-inset-right)); }
.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover,
.lightbox-close:focus-visible,
.lightbox-prev:focus-visible,
.lightbox-next:focus-visible {
  border-color: var(--gold-light);
  color: var(--ivory);
}
@media (max-width: 600px) {
  .lightbox { padding: 4.2rem 0.6rem 1.2rem; }
  .lightbox-prev,
  .lightbox-next { top: auto; bottom: max(0.7rem, env(safe-area-inset-bottom)); transform: none; }
  .lightbox-img { max-height: calc(100dvh - 10.5rem); }
}


/* Phone numbers */
.phone-list {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.2rem;
}
.phone-list a,
.footer-phones a {
  white-space: nowrap;
  font-weight: 600;
  text-underline-offset: 3px;
  text-decoration-color: var(--gold-light);
}
.phone-list a:hover,
.footer-phones a:hover { color: var(--gold-light); }
.footer-phones {
  margin: 0.55rem 0 0.15rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.15rem 0.2rem;
}
.footer-phones .phone-sep { color: var(--muted); font-weight: 400; }
@media (max-width: 419px) {
  .footer-phones { flex-direction: column; gap: 0.3rem; }
  .footer-phones .phone-sep { display: none; }
}

/* Home-page feedback invite */
.feedback-invite {
  margin-top: 2rem;
  background: var(--panel-2);
  border: 1px solid var(--gold);
  padding: 1.5rem 1.3rem 1.6rem;
  text-align: center;
}
.feedback-invite p {
  margin: 0 0 1.15rem;
  font-family: var(--serif);
  font-size: 1.45rem;
  font-style: italic;
  line-height: 1.3;
  color: var(--gold-light);
}
.feedback-invite .btn {
  width: 100%;
  text-align: center;
}
@media (min-width: 760px) {
  .feedback-invite .btn { width: auto; }
}

/* Mobile typography / overflow — phone widths */
a, p, li, figcaption, h1, h2, h3, h4, label, legend, .news-more, .owner, .lede, .hero-lead {
  overflow-wrap: anywhere;
}
.news-card,
.news-body,
.rate-row,
.gallery-item,
.brand,
figcaption {
  min-width: 0;
}
/* Global h3 is uppercase + wide tracking; the news card title must not inherit that or it stacks one word per line. */
.news-card h3 {
  text-transform: none;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}
.news-more {
  letter-spacing: 0.08em;
}
@media (max-width: 520px) {
  .news-card {
    grid-template-columns: minmax(0, 1fr);
  }
  .news-card img {
    aspect-ratio: 16 / 9;
    object-position: center;
    max-height: 12rem;
  }
  .btn-label {
    white-space: normal;
    letter-spacing: 0.08em;
    padding-left: 1.1rem;
    padding-right: 1.1rem;
  }
}
