/* ============================================================
   Five Star SF Limo — "Quiet Luxury Chauffeur"
   Design system per fivestarsflimo-redesign-prompt.md (Revery-derived)
   ============================================================ */

:root {
  /* Colors */
  --c-ivory: #F4F4F0;
  --c-ink: #4A4C42;
  --c-ink-soft: #6A6C62;
  --c-lines: #D8DAD2;
  --c-brass: #C9A870;
  --c-white: #FFFFFF;
  --c-ivory-on-dark: #EFEFEA;
  /* Darker bronze shade of the brass accent — reserved for focus rings and
     hairline UI states on light grounds, where #C9A870 fails 3:1 (WCAG 1.4.11) */
  --c-bronze: #8A6A35;

  --border-hair: 1px solid var(--c-lines);
  --focus-ring: 2px solid var(--c-bronze);

  /* Typography */
  --f-display: 'Playfair Display', 'Ivy Presto Display', Georgia, serif;
  --f-general: 'Poppins', 'Helvetica Neue', sans-serif;

  --step--1: clamp(0.875rem, 0.82rem + 0.24vw, 1.0625rem);
  --step-0:  clamp(1.0625rem, 1rem + 0.4vw, 1.3125rem);
  --step-1:  clamp(1.3125rem, 1.2rem + 0.7vw, 1.875rem);
  --step-2:  clamp(1.6rem, 1.4rem + 1.1vw, 2.5rem);
  --step-3:  clamp(1.9rem, 1.55rem + 1.9vw, 3.4rem);
  --step-4:  clamp(2.1rem, 1.5rem + 3.2vw, 4.58rem);
  --step-logo: clamp(1.6rem, 1.2rem + 2.2vw, 3.4rem);

  /* Space */
  --space-2xs: clamp(0.56rem, 0.5rem + 0.25vw, 0.88rem);
  --space-xs:  clamp(0.88rem, 0.78rem + 0.4vw, 1.31rem);
  --space-s:   clamp(1.13rem, 1rem + 0.6vw, 1.75rem);
  --space-m:   clamp(1.69rem, 1.45rem + 1vw, 2.63rem);
  --space-l:   clamp(2.25rem, 1.9rem + 1.6vw, 3.5rem);
  --space-xl:  clamp(3.38rem, 2.7rem + 2.8vw, 5.25rem);
  --space-2xl: clamp(4.5rem, 3.5rem + 4.5vw, 8rem);
  --space-3xl: clamp(6.75rem, 5rem + 7.5vw, 12rem);
  --space-4xl: clamp(9rem, 6.5rem + 11vw, 18rem);

  --content-max: 143.75rem;
  --measure: 58ch;
  --gutter: clamp(1.5rem, 5vw, 7rem);

  --t: 0.3s ease;

  /* Brass diamond lattice, 1px strokes */
  --lattice: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='38' height='38'%3E%3Cpath d='M19 1 L37 19 L19 37 L1 19 Z' fill='none' stroke='%23C9A870' stroke-opacity='0.5' stroke-width='1'/%3E%3C/svg%3E");
  --lattice-dim: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='38' height='38'%3E%3Cpath d='M19 1 L37 19 L19 37 L1 19 Z' fill='none' stroke='%23C9A870' stroke-opacity='0.28' stroke-width='1'/%3E%3C/svg%3E");
}

/* ---------- Reset & base ---------- */

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 6rem; /* keep anchor targets clear of the fixed header */
}
@media (max-width: 767px) {
  html { scroll-padding-bottom: calc(3.4rem + env(safe-area-inset-bottom)); }
}

body {
  margin: 0;
  font-family: var(--f-general);
  font-weight: 200;
  font-size: var(--step-0);
  line-height: 1.6;
  color: var(--c-ink);
  background: var(--c-ivory);
  -webkit-font-smoothing: antialiased;
}

h1, h2 {
  font-family: var(--f-display);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: 0.01em;
  margin: 0 0 var(--space-s);
}
h1 { font-size: var(--step-4); }
h2 { font-size: var(--step-3); }
h3, h4 { font-family: var(--f-general); font-weight: 400; line-height: 1.25; margin: 0 0 var(--space-2xs); }
h3 { font-size: var(--step-1); }

p { margin: 0 0 var(--space-s); max-width: var(--measure); }
strong, b { font-weight: 500; }
img { max-width: 100%; height: auto; display: block; }
figure { margin: 0; }
ul { padding: 0; margin: 0; list-style: none; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; padding: 0; }
input, select { font-family: var(--f-general); }

:focus-visible { outline: var(--focus-ring); outline-offset: 3px; border-radius: 2px; }
.band-dark :focus-visible, .site-header:not(.scrolled) :focus-visible { outline-color: var(--c-brass); }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

.skip-link {
  position: fixed; top: -4rem; left: var(--space-s); z-index: 200;
  background: var(--c-ink); color: var(--c-white);
  padding: 0.6em 1.4em; border-radius: 999px; text-decoration: none;
  font-weight: 300; font-size: var(--step--1);
  transition: top var(--t);
}
.skip-link:focus-visible { top: var(--space-s); }

/* ---------- Shared vocabulary ---------- */

.eyebrow {
  font-family: var(--f-general);
  font-size: var(--step--1);
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--c-ink-soft);
  margin: 0 0 var(--space-s);
}
.eyebrow--on-dark { color: var(--c-lines); }

.logotype {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: var(--step-logo);
  letter-spacing: 0.45em;
  text-transform: uppercase;
  white-space: nowrap;
  color: currentColor;
  text-decoration: none;
  line-height: 1;
  margin: 0;
}
.logotype small {
  display: block;
  font-family: var(--f-general);
  font-weight: 300;
  font-size: 0.32em;
  letter-spacing: 0.6em;
  margin-top: 0.9em;
  text-align: center;
}

.pill {
  display: inline-block;
  border-radius: 999px;
  padding: 0.85em 2em;
  font-size: var(--step--1);
  font-weight: 400;
  letter-spacing: 0.12em;
  line-height: 1;
  text-decoration: none;
  transition: background var(--t), color var(--t), border-color var(--t);
}
.pill--primary { background: var(--c-ink); color: var(--c-white); border: 1px solid var(--c-ink); }
.pill--primary:hover { background: transparent; color: var(--c-ink); }
.pill--ghost { background: var(--c-white); color: var(--c-ink); border: var(--border-hair); }
.pill--ghost:hover { border-color: var(--c-ink); }
.pill--on-dark { background: var(--c-white); color: var(--c-ink); border: 1px solid var(--c-white); }
.pill--on-dark:hover { background: transparent; color: var(--c-white); }

.arrow-btn {
  width: 3.25rem; height: 3.25rem;
  border-radius: 50%;
  background: var(--c-ink); color: var(--c-white);
  border: 1px solid rgba(244, 244, 240, 0.35);
  display: inline-flex; align-items: center; justify-content: center;
  transition: opacity var(--t), background var(--t), color var(--t), border-color var(--t);
}
.arrow-btn svg { width: 1.4rem; height: 1.4rem; }
.arrow-btn:hover { background: transparent; border-color: var(--c-ivory-on-dark); }
.arrow-btn[aria-disabled="true"] { opacity: 0.35; cursor: default; }
.arrow-btn[aria-disabled="true"]:hover { background: var(--c-ink); border-color: rgba(244, 244, 240, 0.35); }

.inline, .as-link.inline {
  color: inherit;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.25em;
  transition: text-decoration-color var(--t);
  font: inherit;
}
.inline:hover { text-decoration-color: var(--c-brass); }
.as-link { text-align: left; }

.band-dark {
  background: var(--c-ink);
  color: var(--c-ivory-on-dark);
}
.band-dark .inline--on-dark { color: var(--c-ivory-on-dark); }

/* Lane-line motif on dark bands */
.lanes { position: relative; overflow: hidden; }
.lanes::before {
  content: "";
  position: absolute;
  top: 0; bottom: 55%;
  left: clamp(1rem, 12vw, 14rem);
  width: min(38vw, 24rem);
  background: repeating-linear-gradient(90deg,
    rgba(244, 244, 240, 0.14) 0 1px, transparent 1px 24px);
  pointer-events: none;
}

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.7s ease, transform 0.7s ease; transition-delay: var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; }

/* Unified warm editorial grade on photography */
.service-art img, .about-art img, .photo-band img, .hero-media img,
.service-art video, .hero-media video, .car-figure img {
  filter: saturate(0.55) contrast(0.96) brightness(1.02) sepia(0.14);
}

/* Ambient video layers: sit over their poster image, fade in once playing */
.bg-video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.8s ease;
}
.art-media { position: relative; }
.service-art .art-video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.8s ease;
}
.bg-video.is-playing, .art-video.is-playing { opacity: 1; }

/* GSAP SplitText line wrappers act as masks for the word-rise reveal */
.split-parent { overflow: hidden; }

/* ---------- Header ---------- */

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  column-gap: var(--space-m);
  align-items: center;
  padding: var(--space-s) var(--space-m);
  color: var(--c-ivory-on-dark);
  transition: background var(--t), color var(--t), padding var(--t), box-shadow var(--t);
}
.site-header.scrolled {
  background: var(--c-ivory);
  color: var(--c-ink);
  padding-block: var(--space-2xs);
  border-bottom: var(--border-hair);
}

.header-logo { justify-self: center; font-size: clamp(1.05rem, 0.95rem + 0.8vw, 1.45rem); }

.nav-toggle {
  justify-self: start;
  display: inline-flex; flex-direction: column; gap: 7px;
  padding: 14px 10px;
  min-width: 44px; min-height: 44px;
  justify-content: center;
}
.nav-toggle span {
  display: block; width: 32px; height: 1px;
  background: currentColor;
  transition: transform var(--t), opacity var(--t);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

.header-right {
  justify-self: end;
  display: flex; align-items: center; gap: var(--space-m);
}
.header-links { display: flex; gap: var(--space-s); }
.header-links a {
  color: inherit; text-decoration: none;
  font-size: var(--step--1); font-weight: 300; letter-spacing: 0.06em;
  border-bottom: 1px solid transparent;
  transition: border-color var(--t);
}
.header-links a:hover { border-color: var(--c-brass); }
.header-phone {
  display: inline-flex; align-items: center; gap: 0.5em;
  color: inherit; text-decoration: none;
  font-size: var(--step--1); font-weight: 300; letter-spacing: 0.04em;
  white-space: nowrap;
}
.header-phone svg { width: 1.05rem; height: 1.05rem; }
.header-phone:hover span { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.25em; text-decoration-color: var(--c-brass); }
.site-header .header-cta { border-color: currentColor; background: transparent; color: inherit; }
.site-header.scrolled .header-cta { background: var(--c-ink); color: var(--c-white); border-color: var(--c-ink); }
.site-header.scrolled .header-cta:hover { background: transparent; color: var(--c-ink); }
.site-header:not(.scrolled) .header-cta:hover { background: var(--c-ivory); color: var(--c-ink); }

@media (max-width: 900px) {
  .header-links, .header-phone span { display: none; }
}
@media (max-width: 620px) {
  .header-cta { display: none; }
}

/* ---------- Nav overlay ---------- */

.nav-overlay {
  position: fixed; inset: 0; z-index: 90;
  background: var(--c-ivory);
  display: flex; flex-direction: column; justify-content: center;
  padding: var(--space-2xl) var(--gutter) var(--space-l);
  opacity: 0; visibility: hidden;
  transition: opacity var(--t), visibility var(--t);
}
.nav-overlay.open { opacity: 1; visibility: visible; }
.overlay-links { counter-reset: navi; list-style: none; padding: 0; margin: 0; }
.overlay-links li + li { margin-top: var(--space-xs); }
.overlay-links a {
  font-family: var(--f-display);
  font-size: var(--step-2);
  color: var(--c-ink);
  text-decoration: none;
  transition: color var(--t);
}
.overlay-links a::before {
  counter-increment: navi;
  content: counter(navi, decimal-leading-zero);
  font-family: var(--f-general);
  font-size: var(--step--1);
  font-weight: 300;
  color: var(--c-bronze);
  margin-right: 1.2em;
  letter-spacing: 0.2em;
}
.overlay-links a:hover { color: var(--c-ink-soft); }
.overlay-foot {
  margin-top: var(--space-xl);
  display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-m);
  font-weight: 300;
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  color: var(--c-ivory-on-dark);
  overflow: hidden;
}
.hero-media { position: absolute; inset: 0; }
.hero-media img {
  width: 100%; height: 100%; object-fit: cover;
  animation: hero-drift 36s ease-in-out infinite alternate;
}
@keyframes hero-drift {
  from { transform: scale(1); }
  to { transform: scale(1.06); }
}
.hero-scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(74, 76, 66, 0.3) 0%, rgba(74, 76, 66, 0.08) 34%, rgba(74, 76, 66, 0.5) 100%);
}
.hero-inner {
  position: relative;
  width: 100%;
  max-width: var(--content-max);
  margin-inline: auto;
  padding: calc(var(--space-2xl) + 3rem) var(--gutter) var(--space-2xl);
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(20rem, 27rem);
  gap: var(--space-2xl);
  align-items: end;
}
.hero-mark { margin-bottom: var(--space-l); position: relative; display: inline-block; }
.star-glyph {
  display: block; width: 1.3rem; height: 1.3rem;
  margin: 0 auto var(--space-s);
}
.hero-mark small { text-align: center; }
.hero-copy h1 { max-width: 17ch; margin-bottom: var(--space-s); }
.hero-sub { font-weight: 200; max-width: 44ch; font-size: var(--step-1); line-height: 1.5; }
.hero-call { font-weight: 300; font-size: var(--step--1); letter-spacing: 0.04em; margin: 0; }

.hero-quote { position: relative; }

.scroll-cue {
  position: absolute; left: 50%; bottom: 0;
  width: 1px; height: clamp(3rem, 7vh, 5rem);
  background: linear-gradient(180deg, transparent, rgba(239, 239, 234, 0.85));
  animation: cue 2.6s ease-in-out infinite;
}
@keyframes cue {
  0%, 100% { transform: scaleY(0.55); transform-origin: top; opacity: 0.5; }
  50% { transform: scaleY(1); opacity: 1; }
}

@media (max-width: 1100px) {
  .hero-inner { grid-template-columns: 1fr; align-items: start; gap: var(--space-l); }
  .hero { align-items: flex-start; }
  .hero-mark small { text-align: left; }
  .star-glyph { margin-inline: 0; }
  .scroll-cue { display: none; }
}

/* ---------- Quote form ---------- */

.quote-form {
  background: var(--c-white);
  border: var(--border-hair);
  color: var(--c-ink);
  padding: var(--space-m);
  display: block;
}
.qf-head { margin-bottom: var(--space-s); }
.qf-service-tag { color: var(--c-ink-soft); margin-bottom: var(--space-xs); }
.qf-triptype {
  display: flex; gap: 0.4rem;
  border-bottom: var(--border-hair);
  padding-bottom: var(--space-xs);
}
.qf-trip {
  font-size: var(--step--1); font-weight: 300; letter-spacing: 0.08em;
  padding: 0.5em 1.1em; border-radius: 999px;
  border: 1px solid transparent;
  white-space: nowrap;
  min-height: 2.75rem;
  transition: border-color var(--t), background var(--t), color var(--t);
}
.qf-trip.is-active { background: var(--c-ink); color: var(--c-white); }
.qf-trip:not(.is-active):hover { border-color: var(--c-lines); }
.qf-dots { display: flex; gap: 0.45rem; margin-top: var(--space-xs); }
.qf-dots span {
  width: 1.6rem; height: 1px; background: var(--c-lines);
  transition: background var(--t);
}
.qf-dots span.is-on { background: var(--c-brass); }

.qf-step { border: none; padding: 0; margin: 0; }
.qf-field { margin-bottom: var(--space-s); min-width: 0; }
.qf-field label {
  display: block;
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--c-ink-soft);
  margin-bottom: 0.4rem;
}
.qf-opt { text-transform: none; letter-spacing: 0.05em; color: var(--c-ink-soft); font-weight: 300; }
.qf-field input, .qf-field select {
  width: 100%;
  border: none;
  border-bottom: 1px solid var(--c-ink-soft);
  border-radius: 0;
  background: transparent;
  padding: 0.45em 0;
  font-size: 1rem;
  font-weight: 300;
  color: var(--c-ink);
  transition: border-color var(--t);
}
.qf-field input:focus, .qf-field select:focus {
  border-bottom-color: var(--c-bronze);
}
.qf-field input.qf-error { border-bottom-color: var(--c-ink); }
.qf-error-msg {
  font-size: 0.8rem; font-weight: 300; color: var(--c-ink);
  margin: 0 0 var(--space-xs);
}
.qf-row { display: flex; gap: var(--space-s); }
.qf-row .qf-field { flex: 1; }
.qf-pax { max-width: 5.5rem; }

.qf-chips { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: 0.55rem; }
.qf-chips button {
  font-size: 0.78rem; font-weight: 300; letter-spacing: 0.06em;
  border: var(--border-hair); border-radius: 999px;
  padding: 0.35em 0.95em;
  min-height: 2.75rem;
  color: var(--c-ink-soft);
  transition: border-color var(--t), color var(--t);
}
.qf-chips button:hover { border-color: var(--c-brass); color: var(--c-ink); }

.qf-next, .qf-actions .pill { width: 100%; text-align: center; }
.qf-actions { display: flex; align-items: center; gap: var(--space-s); }
.qf-actions .qf-back { flex-shrink: 0; font-size: var(--step--1); font-weight: 300; }
.qf-note {
  font-size: 0.8rem; font-weight: 300; color: var(--c-ink-soft);
  margin: var(--space-xs) 0 0; line-height: 1.55;
}
.qf-success { text-align: center; padding: var(--space-m) 0; }
.qf-success svg { width: 2.6rem; height: 2.6rem; margin: 0 auto var(--space-s); }
.qf-success-line { font-family: var(--f-display); font-size: var(--step-1); }

/* ---------- Trust strip ---------- */

.trust { padding: var(--space-2xl) var(--gutter); }
.trust-row {
  max-width: var(--content-max);
  margin-inline: auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr));
  border-top: var(--border-hair);
}
.trust-row li {
  padding: var(--space-m) var(--space-s) 0;
  border-left: var(--border-hair);
  font-size: var(--step--1);
  font-weight: 300;
  letter-spacing: 0.04em;
  color: var(--c-ink-soft);
}
.trust-row li:first-child { border-left: none; }
.trust-row svg { width: 1.5rem; height: 1.5rem; margin-bottom: var(--space-xs); display: block; }

@media (max-width: 700px) {
  .trust-row { grid-template-columns: 1fr 1fr; }
  .trust-row li { border-left: none; border-top: var(--border-hair); margin-top: -1px; }
}

/* ---------- Statement ---------- */

.statement {
  padding: var(--space-4xl) var(--gutter) var(--space-3xl);
  text-align: center;
}

/* Quiet destination marquee (terrajobs-derived): slow linear loop, masked edges */
.marquee {
  overflow: hidden;
  margin-top: var(--space-2xl);
  -webkit-mask-image: linear-gradient(to right, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(to right, transparent, #000 12%, #000 88%, transparent);
}
.marquee-track {
  display: flex;
  align-items: center;
  gap: 3.5rem;
  width: max-content;
}
.marquee-track span {
  font-size: var(--step--1);
  font-weight: 300;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(244, 244, 240, 0.38);
  white-space: nowrap;
}
.marquee-track svg { width: 0.5rem; height: 0.5rem; flex-shrink: 0; }
.statement-line {
  font-family: var(--f-display);
  font-size: var(--step-3);
  line-height: 1.25;
  max-width: none;
  margin: 0 auto;
  position: relative;
}

/* ---------- Services ---------- */

.service { padding: var(--space-3xl) var(--gutter); }
.service-grid {
  max-width: var(--content-max);
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(2.5rem, 7vw, 9rem);
  align-items: center;
}
.service-grid--flip .service-copy { order: 2; }
.service-grid--flip .service-art { order: 1; }
.service-copy h2 { max-width: 16ch; }
.service-copy p { font-weight: 200; }

.service-art { position: relative; padding: var(--space-l) 0 var(--space-l) var(--space-l); }
.service-grid--flip .service-art { padding: var(--space-l) var(--space-l) var(--space-l) 0; }
.lattice-panel {
  position: absolute;
  top: 0; left: 0;
  width: 62%; height: 78%;
  background-image: var(--lattice);
}
.lattice-panel--dark { background-image: var(--lattice-dim); }
.service-grid--flip .lattice-panel { left: auto; right: 0; }
.service-art img {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: var(--c-lines);
}
/* Small offset detail crop — the collage moment breaking the grid.
   Scoped as .service-art .art-detail so it outranks the .service-art img base rule. */
.service-art .art-detail {
  position: absolute;
  z-index: 1;
  top: auto;
  bottom: calc(-1 * var(--space-2xs));
  left: 0;
  width: 38%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  background: var(--c-lines);
  border: 6px solid var(--c-ivory);
}
.band-dark .service-art .art-detail { border-color: var(--c-ink); }
.service-grid--flip .service-art .art-detail { left: auto; right: 0; }

.art-note {
  position: absolute;
  z-index: 2;
  bottom: 0;
  right: calc(-1 * var(--space-2xs));
  background: var(--c-ivory);
  padding: var(--space-xs) var(--space-s);
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--c-ink-soft);
}
.band-dark .art-note { background: var(--c-ink); color: var(--c-lines); }
.service-grid--flip .art-note { right: auto; left: calc(-1 * var(--space-2xs)); }

@media (max-width: 900px) {
  .service-grid { grid-template-columns: 1fr; gap: var(--space-l); }
  .service-grid--flip .service-copy { order: 1; }
  .service-grid--flip .service-art { order: 2; }
}

/* ---------- Photo band ---------- */

.photo-band {
  position: relative;
  height: clamp(24rem, 72vh, 46rem);
  overflow: hidden;
  display: grid;
  place-items: center;
  background: var(--c-ink);
}
.photo-band img {
  position: absolute; inset: -6% 0;
  width: 100%; height: 112%; object-fit: cover;
  object-position: center 38%;
  /* extra bleed allows the gentle scroll-linked drift without exposing edges */
}
.photo-band::after {
  content: "";
  position: absolute; inset: 0;
  background: rgba(74, 76, 66, 0.18);
}
.photo-band-line {
  position: relative; z-index: 1;
  font-family: var(--f-display);
  font-size: var(--step-3);
  color: var(--c-ivory-on-dark);
  margin: 0;
  letter-spacing: 0.02em;
}

/* ---------- Fleet ---------- */

.fleet { padding: var(--space-3xl) 0; }
.section-head {
  padding-inline: var(--gutter);
  max-width: var(--content-max);
  margin-inline: auto;
  margin-bottom: var(--space-xl);
}
.section-head h2 { max-width: 20ch; margin-bottom: 0; }

.fleet-shell { max-width: var(--content-max); margin-inline: auto; padding-inline: var(--gutter); }
.fleet-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: min(22rem, 80vw);
  gap: var(--space-m);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding-bottom: var(--space-s);
}
.fleet-track::-webkit-scrollbar { display: none; }
.fleet-card {
  scroll-snap-align: start;
  background: var(--c-white);
  color: var(--c-ink);
  padding: var(--space-m);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.car-figure { width: 100%; background: var(--c-ivory); padding: var(--space-2xs); margin-bottom: var(--space-s); }
.car-figure img {
  display: block;
  width: 100%;
  aspect-ratio: 8 / 5;
  object-fit: cover;
  background: var(--c-lines);
}
.fleet-card h3 { font-family: var(--f-display); font-size: var(--step-1); }
.specs {
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--c-ink-soft);
  margin-bottom: var(--space-m);
}
.fleet-card .pill { margin-top: auto; }
.fleet-nav { display: flex; gap: var(--space-xs); margin-top: var(--space-m); }
.arrow-btn[disabled] { opacity: 0.35; cursor: default; }
.arrow-btn[disabled]:hover { background: var(--c-white); color: var(--c-ink); }

/* ---------- Service area ---------- */

.area { padding: var(--space-3xl) var(--gutter); }
.area-filters {
  max-width: var(--content-max);
  margin-inline: auto;
  display: flex; flex-wrap: wrap; gap: var(--space-2xs);
  margin-bottom: var(--space-l);
}
.area-map { max-width: min(52rem, 100%); margin-inline: auto; }
.area-map svg { width: 100%; height: auto; display: block; }
.pin { transition: opacity var(--t); }
.pin.dim { opacity: 0.16; }
.pin text {
  font-family: var(--f-general);
  font-size: 12.5px;
  font-weight: 300;
  letter-spacing: 0.08em;
  fill: var(--c-ink-soft);
}
.pin-mono {
  font-family: var(--f-display);
  font-size: 6px;
  letter-spacing: 0.03em;
  fill: var(--c-ink-soft);
}
#route-line {
  stroke-dasharray: 120;
  stroke-dashoffset: 120;
  transition: stroke-dashoffset 1.6s ease 0.4s;
}
.area-map.in #route-line { stroke-dashoffset: 0; }
.area-routes {
  text-align: center;
  font-size: var(--step--1);
  font-weight: 300;
  color: var(--c-ink-soft);
  letter-spacing: 0.04em;
  margin-top: var(--space-m);
}

/* ---------- Testimonials ---------- */

.quotes {
  padding: var(--space-3xl) var(--gutter);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr));
  gap: var(--space-xl);
  max-width: var(--content-max);
  margin-inline: auto;
}
.pull-quote { border-top: 1px solid rgba(216, 218, 210, 0.35); padding-top: var(--space-m); }
.pull-quote blockquote {
  margin: 0 0 var(--space-m);
  font-family: var(--f-display);
  font-size: var(--step-2);
  line-height: 1.3;
}
.pull-quote figcaption {
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--c-lines);
}

/* ---------- About ---------- */

.about { padding: var(--space-3xl) var(--gutter); }
.about-grid {
  max-width: var(--content-max);
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(2.5rem, 7vw, 9rem);
  align-items: center;
}
.about-list { margin-top: var(--space-m); max-width: var(--measure); }
.about-list li {
  padding: var(--space-xs) 0;
  border-top: var(--border-hair);
  font-weight: 300;
  font-size: var(--step--1);
  letter-spacing: 0.02em;
}
.about-art { position: relative; padding: var(--space-l) 0 var(--space-l) var(--space-l); }
.about-art .lattice-panel { width: 55%; height: 70%; }
.about-art img { position: relative; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: var(--c-lines); }

/* Imageless variant: full lattice field with a centered brass FS monogram */
.about-art--mark { padding: 0; min-height: clamp(18rem, 38vw, 26rem); }
.about-art--mark .lattice-panel--full {
  width: 100%; height: 100%;
  -webkit-mask-image: radial-gradient(closest-side, #000 55%, transparent);
  mask-image: radial-gradient(closest-side, #000 55%, transparent);
}
.about-monogram {
  position: absolute; inset: 0; margin: auto;
  width: 5.5rem; height: 5.5rem;
}
.about-monogram text {
  font-family: var(--f-display);
  font-size: 15px;
  fill: var(--c-ink);
}

@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; gap: var(--space-l); }
}

/* ---------- FAQ ---------- */

.faq { padding: var(--space-3xl) var(--gutter) var(--space-4xl); }
.faq .section-head { padding-inline: 0; }
.faq-list { max-width: 52rem; }
.faq-list details { border-top: var(--border-hair); }
.faq-list details:last-child { border-bottom: var(--border-hair); }
.faq-list summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-s);
  padding: var(--space-s) 0;
  font-weight: 300;
  font-size: var(--step-1);
  line-height: 1.35;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-mark { position: relative; width: 1rem; height: 1rem; flex-shrink: 0; }
.faq-mark::before, .faq-mark::after {
  content: "";
  position: absolute; inset: 50% auto auto 0;
  width: 100%; height: 1px;
  background: var(--c-ink-soft);
  transition: transform var(--t);
}
.faq-mark::after { transform: rotate(90deg); }
details[open] .faq-mark::after { transform: rotate(0deg); }
.faq-body { padding: 0 0 var(--space-m); }
.faq-body p { font-weight: 200; }

/* ---------- Final CTA ---------- */

.final-cta {
  padding: var(--space-4xl) var(--gutter);
  text-align: center;
}
.final-cta h2 { max-width: none; margin-bottom: var(--space-l); }
.final-cta-actions {
  display: flex; align-items: center; justify-content: center;
  flex-wrap: wrap; gap: var(--space-m);
  font-weight: 300;
}

/* ---------- Footer ---------- */

.site-footer {
  padding: var(--space-2xl) var(--gutter) var(--space-l);
  text-align: center;
}
.footer-mark { position: relative; height: 6rem; margin-bottom: var(--space-m); }
.footer-lattice {
  position: absolute; inset: 0;
  margin-inline: auto;
  width: min(22rem, 80%);
  background-image: var(--lattice-dim);
  -webkit-mask-image: radial-gradient(closest-side, #000 30%, transparent);
  mask-image: radial-gradient(closest-side, #000 30%, transparent);
}
.footer-monogram {
  position: absolute; inset: 0; margin: auto;
  width: 3.4rem; height: 3.4rem;
}
.footer-monogram text {
  font-family: var(--f-display);
  font-size: 17px;
  fill: var(--c-ivory-on-dark);
}
.footer-logo { margin-bottom: var(--space-xl); display: inline-block; font-size: clamp(1.4rem, 1.2rem + 1.6vw, 2.4rem); }

.footer-cols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(13rem, max-content));
  justify-content: center;
  gap: var(--space-xl);
  text-align: left;
  max-width: 70rem;
  margin: 0 auto var(--space-xl);
}
.footer-cols h3 { margin-bottom: var(--space-s); }
.footer-cols li { margin-bottom: var(--space-2xs); font-weight: 300; font-size: var(--step--1); line-height: 1.7; }
.footer-cols a, .footer-cols .as-link {
  color: inherit; text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color var(--t);
  font-weight: 300;
}
.footer-cols a:hover, .footer-cols .as-link:hover { border-color: var(--c-brass); }
.socials { display: flex; gap: var(--space-s); margin-top: var(--space-m); }
.socials a { display: inline-flex; padding: 0.7rem; margin: -0.7rem; }
.socials svg { width: 1.25rem; height: 1.25rem; transition: color var(--t); }
.socials a:hover svg { color: var(--c-brass); }
.footer-legal {
  font-size: 0.78rem; font-weight: 300;
  color: var(--c-lines);
  letter-spacing: 0.04em;
  max-width: none;
  margin: 0;
}

/* ---------- Floating pill & mobile bar ---------- */

.reserve-float {
  position: fixed;
  right: var(--space-m); bottom: var(--space-m);
  z-index: 80;
  background: var(--c-ink);
  color: var(--c-white);
  border: 1px solid rgba(244, 244, 240, 0.45);
  box-shadow: 0 6px 18px rgba(74, 76, 66, 0.18);
  opacity: 0; transform: translateY(8px);
  visibility: hidden;
  transition: opacity var(--t), transform var(--t), visibility var(--t), background var(--t), color var(--t);
}
.reserve-float:hover { background: var(--c-white); color: var(--c-ink); border-color: var(--c-white); }
.reserve-float.show { opacity: 1; transform: none; visibility: visible; }

.mobile-bar {
  position: fixed;
  inset: auto 0 0 0;
  z-index: 85;
  display: none;
  border-top: 1px solid rgba(244, 244, 240, 0.25);
  background: var(--c-ink);
}
.mobile-bar a, .mobile-bar button {
  flex: 1;
  color: var(--c-ivory-on-dark);
  text-align: center;
  text-decoration: none;
  font-weight: 200;
  font-size: 1rem;
  letter-spacing: 0.1em;
  padding: 0.95rem 0 calc(0.95rem + env(safe-area-inset-bottom));
  min-height: 44px;
}
.mobile-bar a { border-right: 1px solid rgba(244, 244, 240, 0.18); }

@media (max-width: 767px) {
  .mobile-bar { display: flex; }
  .reserve-float { display: none; }
  body { padding-bottom: 3.4rem; }
}

/* ---------- Quote modal ---------- */

.quote-modal { position: fixed; inset: 0; z-index: 150; display: grid; place-items: center; padding: var(--space-s); }
.quote-modal[hidden] { display: none; }
.quote-modal-backdrop {
  position: absolute; inset: 0;
  background: rgba(74, 76, 66, 0.55);
}
.quote-modal-card {
  position: relative;
  width: min(27rem, 100%);
  max-height: min(92svh, 100%);
  overflow-y: auto;
  background: var(--c-white);
  animation: modal-in 0.3s ease;
}
@keyframes modal-in {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}
.quote-modal-card .quote-form { border: none; }
.quote-modal-close {
  position: absolute; top: 0.6rem; right: 0.6rem; z-index: 2;
  width: 2.75rem; height: 2.75rem;
  display: grid; place-items: center;
  color: var(--c-ink-soft);
  transition: color var(--t);
}
.quote-modal-close:hover { color: var(--c-ink); }
.quote-modal-close svg { width: 1.1rem; height: 1.1rem; }

/* ---------- Reduced motion ---------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-media img { animation: none; }
  .scroll-cue { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
  #route-line { stroke-dashoffset: 0; transition: none; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}
