/* Independent gallery: no GSAP scroll zoom, masks, or transition click locks. */
.fleet-showcase { position: relative; isolation: isolate; overflow: hidden; height: 100svh; min-height: 620px; color: #fff; background: #080909; }
.fleet-visual { position: absolute; inset: 0; margin: 0; pointer-events: none; }
.fleet-visual:before, .fleet-detail-hero:before { content: ''; position: absolute; inset: -35px; background: var(--fleet-backdrop) center / cover no-repeat; filter: blur(30px) brightness(.26); pointer-events: none; }
.fleet-picture { position: absolute; inset: 0; display: block; opacity: 0; visibility: hidden; transition: opacity 300ms ease, visibility 0s 300ms; }
.fleet-picture.is-active { opacity: 1; visibility: visible; transition-delay: 0s; }
.fleet-frame { position: absolute; display: block; inset: 0; width: 100%; height: 100%; object-fit: contain; object-position: center; opacity: 0; visibility: hidden; transition: opacity 300ms ease, visibility 0s 300ms; }
.fleet-frame.is-active { opacity: 1; visibility: visible; transition-delay: 0s; }
.fleet-picture .fleet-frame { box-sizing: border-box; padding: 0; }
.fleet-shade { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(#0007, transparent 28%, transparent 62%, #080909c9); }
.fleet-showcase .component-navigation { position: absolute; z-index: 3; top: 75px; left: clamp(30px, 7vw, 145px); right: 75px; width: max-content; max-width: calc(100% - clamp(30px, 7vw, 145px) - 75px); transform: translate3d(0, var(--fleet-tabs-shift, 0px), 0); }
.fleet-tab-viewport { overflow-x: auto; overflow-y: hidden; overscroll-behavior-x: contain; scrollbar-width: none; }
.fleet-tab-viewport::-webkit-scrollbar { display: none; }
.fleet-tab-viewport .tab-list { display: flex; width: max-content; gap: 0; margin: 0; padding: 0; list-style: none; }
.fleet-tab-viewport .tab-list > li { flex: 0 0 auto; }
.fleet-tab-viewport .tab-button { position: relative; border: 0; border-radius: 0; background: transparent; color: #ffffff8f; min-height: 66px; padding: 12px clamp(16px, 1.9vw, 32px) 20px; cursor: pointer; transition: color 180ms ease; }
.fleet-showcase .tab-button[aria-selected=true], .fleet-showcase .tab-button:hover { color: #fff; }
.fleet-showcase .tab-button .copy-2 { font-family: inherit; font-size: clamp(18px, 1.65vw, 25px); white-space: nowrap; line-height: 1.3; }
.fleet-showcase .tab-button:focus-visible { outline: 1px solid #fff; outline-offset: -5px; }
.fleet-tab-track { position: absolute; inset: auto 0 0; height: 3px; overflow: hidden; background: #ffffff38; }
.fleet-tab-track [data-photo-progress] { display: block; width: 100%; height: 100%; background: #fff; transform: scaleX(0); transform-origin: left; }
.fleet-showcase .tab-content { position: absolute; z-index: 3; left: clamp(30px, 12vw, 250px); bottom: 144px; pointer-events: none; }
.fleet-panel { display: none; }
.fleet-panel.is-active { display: block; }
.fleet-showcase .tab-title { display: grid; gap: 8px; margin: 0; font-family: Gustavo, sans-serif; font-weight: 400; text-transform: uppercase; }
.fleet-brand { font-size: clamp(15px, 1.35vw, 20px); line-height: 1.5; letter-spacing: .03em; }
.fleet-showcase .fleet-model { font-size: clamp(48px, 5.7vw, 88px); line-height: 1; }
.fleet-photo-link { position: absolute; inset: 0; z-index: 2; touch-action: pan-y; }
.fleet-photo-link:focus-visible { outline: 2px solid white; outline-offset: -10px; }
.fleet-detail-link { position: absolute; z-index: 4; left: clamp(30px, 12vw, 250px); bottom: 68px; display: inline-flex; gap: 24px; align-items: center; min-height: 44px; font-size: 16px; color: #fff; }
.fleet-detail-link span { border-bottom: 1px solid #ffffff70; padding-bottom: 4px; }
.fleet-detail-link:hover span { border-color: #fff; }
.fleet-detail-link:focus-visible { outline: 1px solid #fff; outline-offset: 6px; }
.fleet-detail-link svg, .fleet-back-link svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.3; }
.fleet-photo-controls { position: absolute; right: clamp(30px, 5vw, 90px); bottom: 68px; z-index: 4; display: flex; align-items: center; gap: 10px; color: #fff; font-size: 14px; }
.fleet-photo-status { display: flex; gap: 22px; align-items: center; margin-right: 12px; }
[data-photo-count], [data-detail-count] { font-variant-numeric: tabular-nums; white-space: nowrap; }
.fleet-photo-controls button { display: grid; place-items: center; width: 44px; height: 44px; padding: 10px; color: inherit; border: 1px solid #ffffff65; background: #08090930; cursor: pointer; }
.fleet-photo-controls button:hover { background: #ffffff12; }
.fleet-photo-controls button:focus-visible { outline: 2px solid #fff; outline-offset: 4px; }
.fleet-photo-controls svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.3; }
/* Full-width desktop framing with continuous fades at both edges. */
@media (min-width: 800px) {
  .fleet-showcase { height:56.25vw; min-height:560px; background:#000; }
  .fleet-showcase .fleet-frame { object-fit:contain; }
  .fleet-showcase .fleet-visual:before { display: none; }
  .fleet-showcase .fleet-shade { background: none; }
  .fleet-showcase .fleet-shade:before,
  .fleet-showcase .fleet-shade:after {
    content: '';
    position: absolute;
    inset: 0 0 auto;
    height: max(25rem, 50%);
    background: linear-gradient(180deg, #000, transparent);
  }
  .fleet-showcase .fleet-shade:after { top: auto; bottom: 0; transform: scaleY(-1); }
}
/* Vehicle page: edge-to-edge desktop photos, with a complete-original viewer. */
.fleet-detail { background: #080909; }
.fleet-detail-hero { position: relative; height: 100svh; min-height: 620px; overflow: clip; isolation: isolate; color: #fff; }
.fleet-detail-frames { position: absolute; inset: 0; touch-action: pan-y; }
.fleet-detail-frames .fleet-frame { object-position: var(--fleet-photo-position, center); }
.fleet-detail-progress { position: absolute; bottom: 0; left: 0; right: 0; height: 3px; z-index: 2; background: #ffffff38; pointer-events: none; }
.fleet-detail-progress span { display: block; height: 100%; background: #fff; transform: scaleX(0); transform-origin: left; }
.fleet-detail-hero:after { content: ''; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(#0006, transparent 30%, transparent 65%, #080909d9); }
.fleet-back-link { display: inline-flex; align-items: center; gap: 20px; min-height: 44px; font-size: 15px; }
.fleet-back-link:hover span { text-decoration: underline; text-underline-offset: 6px; }
.fleet-back-link:focus-visible { outline: 1px solid currentColor; outline-offset: 6px; }
.fleet-sticky-back { position:fixed; top:100px; left:clamp(24px,5vw,80px); z-index:21; color:#fff; background:#131819b8; border:1px solid #ffffff50; padding:8px 14px; transition:top 180ms ease,background 180ms ease; }
.fleet-logo-hidden .fleet-sticky-back { top:24px; }
.fleet-viewer-open .fleet-sticky-back { display:none; }
.fleet-detail-picture { display:contents; }
.fleet-detail-hero h1 { position: absolute; left: clamp(30px, 5vw, 80px); bottom: 46px; z-index: 1; display: grid; gap: 8px; margin: 0; font-family: Gustavo, sans-serif; font-weight: 400; text-transform: uppercase; }
.fleet-detail-model { font-size: clamp(54px, 6vw, 100px); line-height: .95; }
.fleet-detail-controls { bottom: 44px; }
.fleet-viewer-close { display: none; }
.fleet-viewer-open { overflow: hidden; }
.fleet-detail-hero.is-expanded { position: fixed; z-index: 100; inset: 0; height: 100dvh; min-height: 0; }
.fleet-detail-hero.is-expanded .fleet-detail-frames { inset: 75px 24px 95px; }
.fleet-detail-hero.is-expanded h1, .fleet-detail-hero.is-expanded > .fleet-back-link, .is-expanded [data-detail-expand] { display: none; }
.fleet-detail-hero.is-expanded:after { background: linear-gradient(#0003, transparent 20%, transparent 80%, #0006); }
.is-expanded .fleet-viewer-close { position: absolute; top: 18px; right: 24px; z-index: 3; display: flex; align-items: center; gap: 18px; min-height: 44px; border: 0; color: #fff; background: transparent; font: inherit; cursor: pointer; }
.fleet-viewer-close span { font-size: 30px; }
.fleet-viewer-close:focus-visible { outline: 1px solid white; outline-offset: 3px; }
.is-expanded .fleet-detail-controls { bottom: 24px; }
.fleet-detail-gallery { padding: 54px 80px 90px; }
.fleet-detail-gallery-heading { display: flex; justify-content: space-between; gap: 24px; padding-bottom: 24px; font-size: 16px; }
.fleet-detail-categories { display: flex; gap: 28px; overflow-x: auto; margin-bottom: 28px; padding: 4px 1px; scrollbar-width: thin; }
.fleet-detail-categories button { flex: 0 0 auto; padding: 8px 0; border: 0; border-bottom: 1px solid transparent; color: #ffffff9a; background: transparent; font: inherit; cursor: pointer; }
.fleet-detail-categories button:hover, .fleet-detail-categories button[aria-pressed=true] { color: #fff; border-bottom-color: #fff; }
.fleet-detail-categories button:focus-visible { outline: 1px solid #fff; outline-offset: 3px; }
.fleet-detail-thumbnails { display: flex; overflow-x: auto; gap: 24px; padding-bottom: 12px; overscroll-behavior-x: contain; }
.fleet-detail-thumbnails button { flex: 0 0 min(43vw, 720px); padding: 0 0 18px; border: 0; border-bottom: 2px solid #ffffff35; color: #fff; text-align: left; background: transparent; cursor: pointer; }
.fleet-detail-thumbnails button[aria-pressed=true] { border-color: #fff; }
.fleet-detail-thumbnails button:focus-visible { outline: 1px solid #fff; outline-offset: -4px; }
.fleet-detail-thumbnails img { display: block; width: 100%; height: auto; aspect-ratio: 16/9; object-fit: cover; object-position:center; margin-bottom: 14px; opacity: .65; transition: opacity 200ms ease; background: #111; }
.fleet-detail-thumbnails button:hover img, .fleet-detail-thumbnails button[aria-pressed=true] img { opacity: 1; }
.fleet-detail-thumbnails span { font-size: 14px; }
.fleet-specs { padding: clamp(80px, 9vw, 170px) 80px; background: #f3f3f1; color: #181a1a; }
.fleet-spec-heading { display: grid; grid-template-columns: 1.5fr 1fr; gap: 40px; align-items: end; }
.fleet-spec-heading h2 { font-family: Gustavo, sans-serif; font-weight: 400; font-size: clamp(44px, 4.4vw, 78px); line-height: 1; text-transform: uppercase; }
.fleet-spec-heading p { font-size: 17px; line-height: 1.5; max-width: 32ch; }
.fleet-specs dl { display: grid; grid-template-columns: repeat(2, 1fr); column-gap: 80px; margin: 64px 0; }
.fleet-specs dl > div { display: flex; flex-direction: column-reverse; gap: 14px; padding: 36px 0; border-bottom: 1px solid #181a1a3a; }
.fleet-specs dt { font-size: 16px; }
.fleet-specs dd { margin: 0; font-family: Gustavo, sans-serif; font-size: clamp(40px, 4vw, 64px); text-transform: uppercase; }
.fleet-specs dd { display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px; }
.fleet-specs dd small { font-family: inherit; font-size: .36em; text-transform: none; white-space: nowrap; }
.fleet-spec-detail { display: block; margin-top: 7px; color: #575d60; font-size: 13px; line-height: 1.5; }
.fleet-spec-note { font-size: 13px; color: #575d60; }
.fleet-spec-sources { display: flex; flex-wrap: wrap; gap: 18px; margin: 14px 0 38px; font-size: 12px; }
.fleet-spec-sources a { text-decoration: underline; text-underline-offset: 3px; }

@media (min-width: 800px) {
  .fleet-detail-hero { height:calc(100vw / var(--fleet-frame-aspect, 1.7777778)); min-height:0; }
  .fleet-detail-hero:before { display: none; }
  .fleet-detail-frames .fleet-frame { object-fit:contain; object-position:center; }
  /* The expand button keeps the complete source available, including stories. */
  .fleet-detail-hero.is-expanded .fleet-frame { object-fit: contain; object-position: center; }
}

@media (max-width: 799px) {
  .fleet-showcase { min-height: 640px; }
  .fleet-showcase .component-navigation { top: 82px; left: 24px; right: 24px; max-width: calc(100% - 48px); }
  .fleet-tab-viewport .tab-button { min-height: 62px; padding-inline: 19px; }
  .fleet-showcase .tab-button .copy-2 { font-size: 19px; }
  .fleet-picture .fleet-frame { padding: 145px 0 190px; }
  .fleet-showcase .tab-content { left: 30px; bottom: 146px; }
  .fleet-showcase .fleet-model { font-size: clamp(48px, 12vw, 72px); }
  .fleet-detail-link { left: 30px; bottom: 82px; font-size: 14px; }
  .fleet-photo-controls { left: 24px; right: 24px; bottom: 20px; gap: 8px; }
  .fleet-photo-status { flex: 1; gap: 10px; margin-right: 0; justify-content: space-between; font-size: 12px; }
  .fleet-photo-status [data-photo-view], .fleet-photo-status [data-detail-view] { max-width: 120px; }
  .fleet-photo-controls button { flex: 0 0 40px; width: 40px; height: 44px; }
  .fleet-detail-hero { min-height: 620px; }
  .fleet-detail-frames { inset:0; }
  .fleet-sticky-back { top:94px; left:24px; padding:7px 12px; font-size:13px; }
  .fleet-logo-hidden .fleet-sticky-back { top:24px; }
  .fleet-detail-hero h1 { left: 30px; bottom: 112px; }
  .fleet-detail-model { font-size: clamp(54px, 14vw, 82px); }
  .fleet-detail-hero.is-expanded .fleet-detail-frames { inset: 75px 12px 100px; }
  .fleet-detail-gallery { padding: 30px 24px 60px; }
  .fleet-detail-gallery-heading { font-size: 14px; flex-wrap: wrap; gap: 12px; }
  .fleet-detail-thumbnails { gap: 16px; }
  .fleet-detail-thumbnails button { flex-basis: 72vw; }
  .fleet-detail-thumbnails { align-items:flex-start; }
  .fleet-detail-thumbnails img { aspect-ratio:auto; height:auto; object-fit:contain; }
  .fleet-specs { padding: 64px 30px; }
  .fleet-spec-heading { grid-template-columns: 1fr; gap: 28px; }
  .fleet-spec-heading h2 { font-size: clamp(36px, 9vw, 56px); }
  .fleet-specs dl { gap: 0 28px; margin: 40px 0; }
  .fleet-specs dl > div { padding-block: 28px; }
}
@media (prefers-reduced-motion: reduce) {
  .fleet-picture, .fleet-frame, .fleet-detail-thumbnails img, .fleet-sticky-back,
}
