/* fleet.css: /fleet/alphard/ (P3, redesign 02/11/2026, "Arrival"), set like a product page.
   Split stage (the words and the card on graphite, the car whole on the right), then on porcelain: the H2 and spec rows beside the cabin photograph, and the fit checker as a paper
   panel (steppers left, the top-down drawing large in the middle, the answer right); then "kept to a standard" on
   graphite with the car at night full bleed between its head and its three facts; questions on porcelain. */

/* ---------------------------------------------------------------- the stage: the car whole, beside the card */
/* From 1024 the split stage (fit="right"): the words and the booking card on graphite, the car on the right, so the card
   never sits on the car. hero-hangar is 16:9 with the car across 44% to 93% of its width (MANIFEST: never tighter than
   the whole car), so the photo keeps its right edge (pos-lg 100%) and is never taller than its frame's width allows
   (width / 1.04 shows 58% of the frame's image width, the car plus a margin); on windows wider than that ratio the
   graphite runs above it under the header, like a framed print. */
@media (min-width: 1024px) {
  .aj-site.page-fleet .mh.is-split .mh-media { width: 56%; background: var(--green); }
  .aj-site.page-fleet .mh.is-split .mh-photo { position: absolute; inset: auto 0 0 0; height: min(100%, calc(56vw / 1.04)); }
  /* the words column a little wider and tighter, so the H1 sets in two lines and the card's Continue stays in view */
  .aj-site.page-fleet .mh.is-split .mh-wrap { width: 44%; padding: calc(var(--frame-top, 88px) + 16px) clamp(28px, 3vw, 48px) clamp(16px, 2vw, 32px) var(--gutter); }
  .aj-site.page-fleet .mh.is-split .breadcrumbs { margin-bottom: 16px; }
  .aj-site.page-fleet .mh.is-split .mh-lede { margin-top: 14px; }
  .aj-site.page-fleet .mh.is-split .mh-title { font-size: clamp(2.375rem, 0.5rem + 2.9vw, 4rem); max-width: 16ch; }
  .aj-site.page-fleet .mh.is-split .mh-panel { margin-top: clamp(24px, 2vw, 28px); }
}
/* laptops (1280 x 720, 1366 x 768): every gap tightens so the whole card, Continue included, fits the window */
@media (min-width: 1024px) and (max-height: 820px) {
  .aj-site.page-fleet .mh.is-split .mh-wrap { padding-top: var(--frame-top, 88px); padding-bottom: 12px; }
  .aj-site.page-fleet .mh.is-split .breadcrumbs { margin-bottom: 8px; }
  .aj-site.page-fleet .mh.is-split .mh-title { font-size: clamp(2.25rem, 0.9rem + 1.9vw, 2.875rem); }
  .aj-site.page-fleet .mh.is-split .mh-lede { margin-top: 8px; font-size: 1rem; line-height: 1.45; }
  .aj-site.page-fleet .mh.is-split .mh-panel { margin-top: 14px; }
}

/* ---------------------------------------------------------------- the car: words and specs beside the cabin */
.fl-car { scroll-margin-top: 0; }
.fl-car-grid { display: grid; grid-template-columns: minmax(0, 1fr); row-gap: clamp(40px, 2rem + 2vw, 72px); }
.fl-car-words { display: grid; gap: clamp(40px, 2rem + 2vw, 72px); align-content: start; min-width: 0; }
.aj-site .fl-specs > div { padding: clamp(18px, 1rem + 0.4vw, 24px) 0; }
.aj-site .fl-specs dd { font-size: clamp(1.25rem, 1rem + 0.8vw, 1.75rem); letter-spacing: -0.025em; }
.aj-site .fl-specs > div:last-child dd { font-size: 1.0625rem; letter-spacing: -0.01em; }
.fl-cabin { aspect-ratio: 4 / 3; min-width: 0; background: var(--celadon); }
.fl-cabin > img[data-speed] { top: -15%; height: 130%; }
@media (min-width: 1024px) {
  .fl-car-grid { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--col-gap); align-items: end; }
  .fl-car-words { grid-column: 1 / span 5; }
  .fl-cabin { grid-column: 7 / -1; aspect-ratio: 5 / 4; }
}

/* ---------------------------------------------------------------- the fit checker: a paper panel */
.fl-fit {
  display: grid; gap: clamp(28px, 1.5rem + 1.5vw, 48px); align-content: start; margin-top: clamp(72px, 4rem + 4vw, 160px);
  padding: clamp(24px, 1rem + 3vw, 72px) clamp(20px, 0.5rem + 3vw, 72px); background: var(--paper); scroll-margin-top: 96px;
  --line: var(--hair);
}
.aj-site .fl-fit-title { font-size: var(--fs-h2); font-weight: 500; letter-spacing: -0.03em; line-height: 1.05; }
.fl-fit-body { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(32px, 2rem + 1vw, 48px); }

/* the steppers: hairline rows, the label left, the count between two quiet squares */
.fit-steps { display: grid; border-top: 1px solid var(--line); align-content: start; }
.fit-step { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; border-bottom: 1px solid var(--line); }
.aj-site .fit-step .label { font-size: 1.0625rem; font-weight: 500; color: var(--text); }
.aj-site .fit-step .stepper output { min-width: 44px; font-size: 1.25rem; font-weight: 500; text-align: center; font-variant-numeric: tabular-nums; }

/* the answer: the drawing large, the verdict at statement size, the counts as spec rows */
.fit-out { display: grid; grid-template-columns: 120px minmax(0, 1fr); grid-template-areas: "draw main" "draw sub" "draw counts" "draw wa"; column-gap: 24px; align-content: start; }
.fit-draw { grid-area: draw; align-self: start; }
.fit-car { display: block; width: 100%; height: auto; }
.aj-site .fit-main { grid-area: main; margin: 0; font-size: var(--fs-statement); font-weight: 500; letter-spacing: -0.025em; line-height: 1.12; color: var(--text); max-width: 14ch; text-wrap: balance; }
.aj-site .fit-sub { grid-area: sub; margin-top: 14px; color: var(--text-2); max-width: 36ch; }
.fit-counts { grid-area: counts; margin: 28px 0 0; border-top: 1px solid var(--line); }
.fit-counts > div { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.fit-counts dt { font-size: var(--fs-small); font-weight: 500; color: var(--text-2); }
.fit-counts dd { margin: 0; font-size: 1.125rem; font-weight: 500; letter-spacing: -0.01em; font-variant-numeric: tabular-nums; }
.fit-wa { grid-area: wa; margin-top: 24px; }
.fit-wa[hidden] { display: none; }

/* the car from above: ink outline on porcelain, guests in ink, bags in graphite, the chauffeur's seat shaded */
.fc-body { fill: var(--porcelain); stroke: var(--ink); stroke-width: 1.25; }
.fc-glass { fill: none; stroke: var(--field); stroke-width: 1.25; }
.fc-seat { fill: transparent; stroke: var(--field); stroke-width: 1.25; transition: fill var(--dur-hover) var(--ease-out), stroke var(--dur-hover) var(--ease-out); }
.fc-seat.is-on { fill: var(--ink); stroke: var(--ink); }
.fc-seat.is-chauffeur { fill: var(--sunken); stroke: var(--ink); }
.fc-seat.is-spare { stroke-dasharray: 3 3; }
.fc-bag { fill: transparent; stroke: var(--field); stroke-width: 1.25; transition: fill var(--dur-hover) var(--ease-out), stroke var(--dur-hover) var(--ease-out); }
.fc-bag.is-on { fill: var(--ink-2); stroke: var(--ink-2); }

@media (min-width: 600px) { .fit-out { grid-template-columns: 150px minmax(0, 1fr); column-gap: 40px; } }
@media (min-width: 1100px) {
  .fl-fit { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--col-gap); }
  .fl-fit-title { grid-column: 1 / -1; }
  .fl-fit-body { grid-column: 1 / -1; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--col-gap); align-items: start; }
  .fit-steps { grid-column: 1 / span 4; }
  .fit-out { grid-column: 5 / -1; grid-template-columns: minmax(0, 4fr) minmax(0, 4fr); column-gap: var(--col-gap); }
  .fit-draw { justify-self: center; width: clamp(200px, 18vw, 270px); margin-top: -8px; }
  .aj-site .fit-main { padding-top: 4px; }
}
@media (prefers-reduced-motion: reduce) { .fc-seat, .fc-bag { transition: none; } }

/* ---------------------------------------------------------------- kept to a standard: night, the car full bleed */
/* the whole car always shows (MANIFEST): 16:9 on phones, 21:9 from 1024, so the 130% drift frame never crops it */
.fl-night { position: relative; width: 100%; aspect-ratio: 16 / 9; background: var(--pine); }
.fl-night > img[data-speed] { top: -15%; height: 130%; }
.fl-feats { margin-top: clamp(56px, 3rem + 3vw, 112px); }
@media (min-width: 1024px) { .fl-night { aspect-ratio: 21 / 9; max-height: 820px; } }
