/* BARON fleet + responsive typography QA. Added after legacy CSS. */
html{font-size:16px;text-size-adjust:100%;-webkit-text-size-adjust:100%}
body{overflow-x:clip}
:where(main,section,article,.panel,.bfc-main,.bfc-car,.bfc-grid,.bfc-shell){min-width:0}
:where(h1,h2,h3){overflow-wrap:break-word;text-wrap:balance;letter-spacing:normal}
.page-intro h1{font-size:clamp(2rem,4.1vw,3.9rem)!important;line-height:1.18!important}
.statement-section h2{font-size:clamp(1.85rem,3vw,3.5rem)!important;line-height:1.23!important}
.showcase-content h2{font-size:clamp(1.65rem,2.7vw,3rem)!important}
.r10-story .r10-story-content h2,#section-identity .r10-story-content h2{font-size:clamp(2rem,3.4vw,3.9rem)!important;line-height:1.2!important}
.r14-discovery-top h2,.r16-contact-intro h2,.r16-specs-head h2,.r17-reference-heading h2,.r19-section-title h2{font-size:clamp(1.65rem,3vw,3rem)!important;line-height:1.25!important}
.r08-cinema-stage .r08-slide-caption h1,.r08-cinema-stage .r08-slide-caption h2{font-size:clamp(2rem,4.7vw,4.8rem)!important;line-height:1.13!important}
.page-car .inspect-info h1{font-size:clamp(2.1rem,4vw,3.7rem)!important;line-height:1.12!important}
.page-car .inspect-technical-intro h2{font-size:clamp(1.6rem,2.7vw,2.7rem)!important}
.r12-service-copy>strong{font-size:clamp(1.4rem,2.2vw,2rem)!important}
.bfc{font-size:15px;--bf-accent:#22bfe6;--bf-panel:#101c2b;--bf-line:#2a4052}
.bfc-hero{min-height:clamp(310px,31vw,470px);border-radius:0;isolation:isolate}
.bfc-hero h1{font-size:clamp(2.35rem,4.5vw,4.8rem)!important;line-height:1.08!important;letter-spacing:-.025em!important}
.bfc-hero p{font-size:clamp(.9rem,1.1vw,1.1rem);line-height:1.65;max-width:460px}
.bfc-hero-copy{padding:clamp(27px,4vw,62px);max-width:600px;gap:11px}
.bfc-hero-photo img{object-position:center 45%;filter:contrast(1.04) saturate(.95)}
.bfc-hero-photo:before{background:linear-gradient(270deg,rgba(3,11,19,.92) 0%,rgba(3,11,19,.66) 30%,rgba(3,11,19,.04) 76%)}
html[dir="ltr"] .bfc-hero-photo:before{background:linear-gradient(90deg,rgba(3,11,19,.92),rgba(3,11,19,.65) 30%,rgba(3,11,19,.04) 76%)}
.bfc-shell{max-width:1580px;padding:clamp(22px,2.7vw,45px) clamp(16px,2.7vw,46px) 0}
.bfc-headline{margin-bottom:18px}
.bfc-headline h2,.bfc-results-head h2{font-size:clamp(1.4rem,2.05vw,2.4rem)!important;line-height:1.23}
.bfc-results-head h2{font-size:clamp(1.3rem,1.75vw,2rem)!important}
.bfc-headline p{font-size:.92rem;line-height:1.65}
.bfc-collections{margin-bottom:30px;gap:12px;grid-template-columns:repeat(auto-fit,minmax(185px,1fr))}
.bfc-collection{min-height:142px;border-radius:7px;padding:18px}
.bfc-collection img{opacity:.84;filter:saturate(.88) contrast(1.04)}
.bfc-collection strong{font-size:clamp(1rem,1.25vw,1.3rem)}
.bfc-all-icon{color:var(--bf-accent);width:36px;height:36px;margin-bottom:auto}
.bfc-all-icon svg{display:block;width:100%;height:100%}
.bfc-collection:hover{transform:translateY(-2px)}
.bfc-layout{gap:clamp(18px,2.2vw,32px)}
/* A stationary filter panel must never trap mousewheel: page remains the only vertical scroller. */
.bfc-filters{position:relative!important;top:auto!important;max-height:none!important;overflow:visible!important;scrollbar-width:auto!important;border-radius:7px}
.bfc-grid{gap:clamp(13px,1.25vw,20px)}
.bfc-car{border-radius:8px;box-shadow:0 4px 18px rgba(0,0,0,.06)}
.bfc-car-photo{aspect-ratio:1.52/1}
.bfc-car-info h3{font-size:clamp(1.1rem,1.35vw,1.36rem)!important;line-height:1.26}
.bfc-card-footer{flex-wrap:wrap}
.bfc-rate strong{font-size:clamp(1.12rem,1.4vw,1.5rem)}
.bfc-details{border-radius:4px;padding-inline:15px}
.bfc-hero-cta,.bfc-apply,.bfc-details{touch-action:manipulation}
.bfc-collection:focus-visible,.bfc-car a:focus-visible{outline:2px solid var(--bf-accent);outline-offset:3px}
@media(max-width:1190px){.bfc-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:860px){.bfc-hero{min-height:330px}.bfc-collections{grid-template-columns:repeat(2,minmax(0,1fr))}.bfc-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.bfc-filters{width:100%}.bfc-shell{padding-inline:20px}}
@media(max-width:600px){
  .page-intro h1{font-size:clamp(1.8rem,7.4vw,2.55rem)!important}
  .r10-story .r10-story-content h2,#section-identity .r10-story-content h2{font-size:clamp(1.8rem,7.2vw,2.5rem)!important}
  .r08-cinema-stage .r08-slide-caption h1{font-size:clamp(1.85rem,7.6vw,3rem)!important}
  .page-car .inspect-info h1{font-size:clamp(1.8rem,7.2vw,2.6rem)!important}
  .bfc-hero{min-height:375px}
  .bfc-hero h1{font-size:clamp(2.05rem,9vw,3.1rem)!important}
  .bfc-hero-copy{padding:25px 18px 28px}
  .bfc-hero p{font-size:.88rem;line-height:1.65}
  .bfc-hero-photo:before,html[dir="ltr"] .bfc-hero-photo:before{background:linear-gradient(to top,rgba(3,10,18,.95) 0%,rgba(3,10,18,.67) 43%,rgba(3,10,18,.04) 88%)}
  .bfc-hero-photo img{object-position:52% top}
  .bfc-shell{padding:24px 15px}
  .bfc-collections{display:flex;overflow-x:auto;gap:10px;scroll-snap-type:x proximity}
  .bfc-collection{flex:0 0 min(56vw,210px);min-height:123px}
  .bfc-headline h2{font-size:clamp(1.5rem,6.5vw,2rem)!important}
  .bfc-grid{grid-template-columns:minmax(0,1fr);gap:13px}
  .bfc-car-photo{aspect-ratio:1.65/1}
  .bfc-car-info h3{font-size:1.12rem!important}
  .bfc-filters{padding:0}
}
@media(prefers-reduced-motion:reduce){.bfc *,.bfc *:before,.bfc *:after{transition-duration:.01ms!important;animation-duration:.01ms!important}}

/* Four authentic cars display as a balanced 2x2 gallery, not an orphaned last card. */
@media(min-width:1191px){.bfc-grid-four{grid-template-columns:repeat(2,minmax(0,1fr))}.bfc-grid-four .bfc-car-photo{aspect-ratio:1.75/1}}
.bfc-collection:has(.bfc-all-icon) img{opacity:.5}
.bfc-collection:has(.bfc-all-icon) .bfc-all-icon{margin-bottom:10px}
/* Other unscoped headings from legacy pages: keep readable at common breakpoints. */
main h1{font-size:clamp(2rem,3.75vw,3.65rem)!important;line-height:1.19!important}
@media(max-width:1024px){main h1{font-size:clamp(1.9rem,4.2vw,2.9rem)!important}}
@media(max-width:600px){main h1{font-size:clamp(1.8rem,7.4vw,2.25rem)!important}}
