
/* VAGUE Luxury Rent — shared full-cover language, matched to Home 2026-11-22.
   Only photographic main hero sections have data-vague-hero-frame. */
[data-vague-hero-frame] {
  position:relative;
  isolation:isolate;
  --vague-gold:rgba(198,164,124,.58);
  --vague-frame-top:0px;
}
[data-vague-hero-frame] > .vague-hero-gold-lines {
  position:absolute!important;
  inset:0!important;
  width:100%!important;
  height:100%!important;
  display:block!important;
  pointer-events:none!important;
  z-index:25!important;
  background:none!important;
  border:0!important;
  transform:none!important;
  overflow:visible!important;
}
[data-vague-hero-frame] > .vague-hero-gold-lines::before,
[data-vague-hero-frame] > .vague-hero-gold-lines::after {
  content:"";
  position:absolute;
  left:clamp(20px,4.6vw,72px);
  right:clamp(20px,4.6vw,72px);
  height:1px;
  border:0;
  opacity:.85;
  background:var(--vague-gold);
  box-shadow:0 0 7px rgba(198,164,124,.14);
  pointer-events:none;
}
[data-vague-hero-frame] > .vague-hero-gold-lines::before {top:var(--vague-frame-top)}
[data-vague-hero-frame] > .vague-hero-gold-lines::after {bottom:0}
/* Covers that already start behind the transparent top navigation. */
:is(.bk-page .bk-hero,.carriages-page .cc-hero,.venue-photo-page .venue-photo-hero,.projects-hero) {
  --vague-frame-top:106px;
}
/* Shared restrained photographic grading; original imagery remains unchanged. */
.all-cars-page .all-cars-hero::after {
  background:
    linear-gradient(90deg,rgba(4,12,18,.71),rgba(4,12,18,.42) 46%,rgba(4,12,18,.06) 84%,transparent),
    linear-gradient(to top,rgba(3,9,14,.88),rgba(3,9,14,.59) 12%,rgba(3,9,14,.24) 32%,transparent 59%),
    linear-gradient(to bottom,rgba(4,13,19,.31),transparent 34%)!important;
}
.bk-page .bk-hero::before {
  background:
    linear-gradient(90deg,rgba(4,12,18,.70),rgba(4,12,18,.43) 48%,rgba(4,12,18,.09) 83%,transparent),
    linear-gradient(to top,rgba(3,9,14,.89),rgba(3,9,14,.61) 13%,rgba(3,9,14,.27) 32%,transparent 63%),
    linear-gradient(to bottom,rgba(4,13,19,.30),transparent 32%)!important;
}
.carriages-page .cc-hero .cc-hero-media::after {
  background:
    linear-gradient(90deg,rgba(4,12,18,.65),rgba(4,12,18,.40) 47%,rgba(4,12,18,.06) 83%,transparent),
    linear-gradient(to top,rgba(3,9,14,.89),rgba(3,9,14,.61) 12%,rgba(3,9,14,.27) 32%,transparent 63%),
    linear-gradient(to bottom,rgba(4,13,19,.30),transparent 32%)!important;
}
.projects-hero .projects-hero-photo::after {
  background:
    linear-gradient(90deg,rgba(4,12,18,.76),rgba(4,12,18,.52) 33%,rgba(4,12,18,.15) 68%,transparent 94%),
    linear-gradient(to top,rgba(3,9,14,.86),rgba(3,9,14,.57) 12%,rgba(3,9,14,.21) 34%,transparent 62%),
    linear-gradient(to bottom,rgba(4,13,19,.25),transparent 30%)!important;
}
.venue-photo-page .venue-photo-hero .venue-photo-shade {
  background:
    linear-gradient(90deg,rgba(4,12,18,.70),rgba(4,12,18,.40) 46%,rgba(4,12,18,.06) 87%,transparent),
    linear-gradient(to top,rgba(3,9,14,.86),rgba(3,9,14,.59) 12%,rgba(3,9,14,.24) 34%,transparent 62%),
    linear-gradient(to bottom,rgba(4,13,19,.30),transparent 32%)!important;
}
.garaging-landing .garage-hero::after {
  background:
    linear-gradient(90deg,rgba(4,12,18,.76),rgba(4,12,18,.48) 44%,rgba(4,12,18,.10) 79%,transparent),
    linear-gradient(to top,rgba(3,9,14,.90),rgba(3,9,14,.62) 13%,rgba(3,9,14,.25) 35%,transparent 62%),
    linear-gradient(to bottom,rgba(4,13,19,.28),transparent 33%)!important;
}
/* Detail pages: retain complete studio-renders, rather than turning them into cropped backgrounds. */
.service-hero[data-vague-hero-frame] {
  overflow:clip;
  background:
    radial-gradient(ellipse at 72% 44%,rgba(33,65,76,.22),transparent 57%),
    linear-gradient(to bottom,rgba(9,25,34,.18),transparent 26%,transparent 67%,rgba(3,10,15,.37));
}
.service-hero[data-vague-hero-frame] > :not(.vague-hero-gold-lines) {
  position:relative;
  z-index:2;
}
/* Isolated hero in product offer: keep product photograph and original layout. */
.bo-body .bo-hero[data-vague-hero-frame] {
  overflow:clip;
  background-color:#081923;
}
/* Smooth scroll zoom on the garage hero's actual CSS background, like All Cars. */
@media(prefers-reduced-motion:no-preference){
 .garaging-landing .garage-hero::before {
    transform:scale(var(--vague-scroll-zoom,1));
    transform-origin:center center;
    will-change:transform;
 }
}
/* Keep overlay/CTA accessible above visual effects. */
[data-vague-hero-frame] :is(h1,.eyebrow,.hero-copy,.cc-hero-copy,.bk-intro,.garage-hero-copy,.all-cars-intro) {
  text-shadow:0 1px 10px rgba(0,0,0,.13);
}
@media(max-width:820px){
 :is(.bk-page .bk-hero,.carriages-page .cc-hero,.venue-photo-page .venue-photo-hero,.projects-hero) {
   --vague-frame-top:83px;
 }
 [data-vague-hero-frame] > .vague-hero-gold-lines::before,
 [data-vague-hero-frame] > .vague-hero-gold-lines::after {
   left:20px;right:20px;
 }
 .bk-page .bk-hero::before,
 .carriages-page .cc-hero .cc-hero-media::after,
 .projects-hero .projects-hero-photo::after,
 .venue-photo-page .venue-photo-hero .venue-photo-shade,
 .all-cars-page .all-cars-hero::after,
 .garaging-landing .garage-hero::after {
   background:
     linear-gradient(to top,rgba(3,9,14,.92),rgba(3,9,14,.77) 18%,rgba(3,9,14,.44) 40%,rgba(3,9,14,.10) 68%,transparent 87%),
     linear-gradient(to bottom,rgba(4,13,19,.27),transparent 33%)!important;
 }
}
@media(prefers-reduced-motion:reduce){
 .garaging-landing .garage-hero::before {transform:none!important;will-change:auto!important}
}


/* VAGUE visual QA fixes — 2026-11-22.
   Keep hero backgrounds inside their own frame and remove older duplicate dividers. */

/* All Cars: photo previously used a pseudo-element reaching 177px above a normal
   container hero. Its scroll transform painted BELOW the lower gold divider.
   Make the entire cover full bleed and overlap the transparent header instead:
   the photograph is now clipped by the true hero edge as it zooms. */
body.all-cars-page .all-cars-hero[data-vague-hero-frame] {
  box-sizing:border-box;
  width:100vw;
  max-width:none;
  margin-left:calc(50% - 50vw);
  margin-top:calc(-1 * var(--vague-hero-header-overlap,177px));
  padding:
    calc(clamp(86px,8vw,132px) + var(--vague-hero-header-overlap,177px))
    clamp(22px,4.6vw,72px)
    72px;
  min-height:calc(clamp(610px,51vw,760px) + var(--vague-hero-header-overlap,177px));
  overflow:clip;
  border-bottom:0!important;
  background:#07131b;
}
body.all-cars-page .all-cars-hero[data-vague-hero-frame]::before,
body.all-cars-page .all-cars-hero[data-vague-hero-frame]::after {
  inset:0!important;
  left:0!important;
  top:0!important;
  right:0!important;
  bottom:0!important;
  width:100%!important;
  height:100%!important;
  transform: none;
}
body.all-cars-page .all-cars-hero[data-vague-hero-frame]::before {
  transform:scale(var(--vague-scroll-zoom,1))!important;
  transform-origin:center center!important;
}
body.all-cars-page .all-cars-hero[data-vague-hero-frame]::after {
  transform:none!important;
}
body.all-cars-page .all-cars-hero[data-vague-hero-frame] > .vague-hero-gold-lines {
  --vague-frame-top:var(--vague-hero-header-overlap,177px);
}
@media(max-width:900px) {
  body.all-cars-page .all-cars-hero[data-vague-hero-frame] {
    min-height:calc(610px + var(--vague-hero-header-overlap,177px));
  }
}
@media(max-width:700px) {
  body.all-cars-page .all-cars-hero[data-vague-hero-frame] {
    padding:calc(72px + var(--vague-hero-header-overlap,151px)) 22px 55px;
    min-height:calc(660px + var(--vague-hero-header-overlap,151px));
  }
}
@media(max-width:420px) {
  body.all-cars-page .all-cars-hero[data-vague-hero-frame] {
    min-height:calc(655px + var(--vague-hero-header-overlap,151px));
  }
}
/* Older pages had their own gold line at the same bottom edge.
   Use one consistent line from the shared frame, never two overlapping. */
body .projects-hero[data-vague-hero-frame]::after,
body.venue-photo-page #locations-hero[data-vague-hero-frame]::after {
  content:none!important;
  display:none!important;
}
body.garaging-landing .garage-hero[data-vague-hero-frame] {
  border-bottom:0!important;
  overflow:clip!important;
}
body.carriages-page .cc-hero[data-vague-hero-frame],
body.bk-page .bk-hero[data-vague-hero-frame] {
  border-bottom:0!important;
  overflow:clip!important;
}
/* Keep the catalog distinct from the animated hero.
   No photography should leak beneath the divider. */
body.all-cars-page section[aria-label="Car catalogue"] {
  isolation:isolate;
}
@media(prefers-reduced-motion:reduce){
 body.all-cars-page .all-cars-hero[data-vague-hero-frame]::before {
   transform:none!important;
 }
}


/* VAGUE cover-height alignment | 2026-11-22
   Match the homepage (96svh desktop) for Auto and Ville & Hotel only.
   Their nav already draws the top rule; keep one lower gold rule inside the photo. */
body.all-cars-page .all-cars-hero[data-vague-hero-frame],
body.venue-photo-page #locations-hero[data-vague-hero-frame] {
  box-sizing:border-box!important;
  overflow:clip!important;
}
body.all-cars-page .all-cars-hero[data-vague-hero-frame] > .vague-hero-gold-lines::before,
body.venue-photo-page #locations-hero[data-vague-hero-frame] > .vague-hero-gold-lines::before {
  content:none!important;
  display:none!important;
}
body.all-cars-page .all-cars-hero[data-vague-hero-frame] > .vague-hero-gold-lines::after,
body.venue-photo-page #locations-hero[data-vague-hero-frame] > .vague-hero-gold-lines::after {
  bottom:6px!important;
  opacity:.72!important;
  background:rgba(198,164,124,.64)!important;
}
@media (min-width:901px) {
  body.all-cars-page .all-cars-hero[data-vague-hero-frame],
  body.venue-photo-page #locations-hero.hero.venue-photo-hero[data-vague-hero-frame] {
    height:min(96svh,1050px)!important;
    min-height:min(740px,96svh)!important;
    max-height:1050px!important;
  }
  body.venue-photo-page #locations-hero[data-vague-hero-frame] .venue-photo-inner {
    height:100%!important;
    min-height:0!important;
    padding:clamp(125px,16svh,185px) 0 clamp(40px,5.6svh,65px)!important;
    justify-content:flex-end!important;
  }
}
@media (min-width:701px) and (max-width:900px) {
  body.all-cars-page .all-cars-hero[data-vague-hero-frame],
  body.venue-photo-page #locations-hero.hero.venue-photo-hero[data-vague-hero-frame] {
    height:auto!important;
    min-height:max(750px,96svh)!important;
    max-height:none!important;
  }
  body.venue-photo-page #locations-hero[data-vague-hero-frame] .venue-photo-inner {
    height:auto!important;
    min-height:max(750px,96svh)!important;
    padding:130px 0 55px!important;
    justify-content:flex-end!important;
  }
}
@media (max-width:700px) {
  body.all-cars-page .all-cars-hero[data-vague-hero-frame] {
    height:auto!important;
    min-height:max(740px,96svh)!important;
    max-height:none!important;
  }
  body.venue-photo-page #locations-hero.hero.venue-photo-hero[data-vague-hero-frame] {
    height:auto!important;
    min-height:max(830px,96svh)!important;
    max-height:none!important;
  }
  body.venue-photo-page #locations-hero[data-vague-hero-frame] .venue-photo-inner {
    height:auto!important;
    min-height:max(830px,96svh)!important;
    padding:125px 0 55px!important;
    justify-content:flex-end!important;
  }
}
