
/* VAGUE 2026-11-22 — Clean photo hero rebuild.
   One viewport, one physical image frame, one bottom rule. */
body.all-cars-page,
body.venue-photo-page { overflow-x:clip; }
body.all-cars-page .vague-global-head,
body.venue-photo-page .vague-global-head,
body:has(.projects-hero) .vague-global-head {
  position:relative!important;z-index:950!important;
  background:transparent!important;
}

/* One line under the menu already comes from .vague-global-head.
   One lower line belongs to the hero. Never use shared pseudo-gold borders. */
.vague-clean-hero-rule {
  position:absolute!important;
  display:block!important;
  left:clamp(20px,4.6vw,72px)!important;
  right:clamp(20px,4.6vw,72px)!important;
  bottom:0px!important;
  height:1px!important;
  z-index:30!important;
  background:rgba(198,164,124,.58)!important;
  border:0!important;
  box-shadow:none!important;
  pointer-events:none!important;
}

/* Cars — same full-viewport opening frame and backdrop position as home.
   Photo is clipped INSIDE its hero; zoom cannot enlarge document layout. */
body.all-cars-page main.container {overflow:visible;}
body.all-cars-page .all-cars-hero {
  box-sizing:border-box!important;
  position:relative!important;
  isolation:isolate!important;
  display:flex!important;
  flex-direction:column!important;
  justify-content:center!important;
  width:100vw!important;
  max-width:none!important;
  height:min(100svh,1050px)!important;
  min-height:700px!important;
  max-height:1050px!important;
  margin:-106px 0 0 calc(50% - 50vw)!important;
  padding:145px clamp(22px,4.6vw,72px) 78px!important;
  overflow:clip!important;
  border:0!important;
  background:#0b1820!important;
}
body.all-cars-page .all-cars-hero::before,
body.all-cars-page .all-cars-hero::after {
  content:""!important;
  position:absolute!important;
  inset:0!important;
  width:100%!important;height:100%!important;
  margin:0!important;left:0!important;top:0!important;
  right:0!important;bottom:0!important;
  border:0!important;
  pointer-events:none!important;
}
body.all-cars-page .all-cars-hero::before {
  z-index:-2!important;
  background-image:url("https://static.wixstatic.com/media/91b301_7db2a8f830a549a1bfaf287f917de73b~mv2.jpg")!important;
  background-size:cover!important;
  background-position:center 44%!important;
  background-repeat:no-repeat!important;
  transform:scale(var(--vague-scroll-zoom,1))!important;
  transform-origin:center!important;
}
body.all-cars-page .all-cars-hero::after {
  z-index:-1!important;
  transform:none!important;
  background:
    linear-gradient(90deg,rgba(4,15,22,.69),rgba(4,15,22,.34) 50%,rgba(4,15,22,.06) 85%),
    linear-gradient(to bottom,rgba(6,18,26,.28) 0%,transparent 35%,transparent 56%,rgba(6,18,26,.30) 81%,#0b1820 100%)!important;
}
body.all-cars-page .all-cars-hero :is(.eyebrow,h1,.all-cars-intro){position:relative;z-index:2}
body.all-cars-page .all-cars-hero .all-cars-intro {margin-top:clamp(20px,4vw,38px)!important;}

/* Villas — actual photo element and shade occupy the same clipped hero.
   Heading and buttons remain within image, with comfortable lower margin. */
body.venue-photo-page #locations-hero.hero.venue-photo-hero {
  box-sizing:border-box!important;
  position:relative!important;
  isolation:isolate!important;
  display:flex!important;
  align-items:stretch!important;
  width:100%!important;max-width:none!important;
  height:min(96svh,1050px)!important;
  min-height:700px!important;max-height:1050px!important;
  margin:-106px 0 0!important;
  padding:0!important;
  overflow:clip!important;
  border:0!important;
  background:#0b1820!important;
}
body.venue-photo-page #locations-hero::before,
body.venue-photo-page #locations-hero::after {
  content:none!important;display:none!important;
}
body.venue-photo-page #locations-hero .venue-photo-media,
body.venue-photo-page #locations-hero .venue-photo-shade {
  position:absolute!important;
  inset:0!important;
  width:100%!important;
  height:100%!important;
  overflow:hidden!important;
  margin:0!important;
  pointer-events:none!important;
}
body.venue-photo-page #locations-hero .venue-photo-media {
  z-index:0!important;
}
body.venue-photo-page #locations-hero .venue-photo-media picture,
body.venue-photo-page #locations-hero .venue-photo-media img {
  display:block!important;
  width:100%!important;height:100%!important;
  max-width:none!important;
}
body.venue-photo-page #locations-hero .venue-photo-media img {
  object-fit:cover!important;
  object-position:57% 48%!important;
  scale:var(--vague-scroll-zoom,1);
  transform-origin:center center!important;
}
body.venue-photo-page #locations-hero .venue-photo-shade {
  z-index:1!important;
  background:
    linear-gradient(90deg,rgba(4,15,22,.69),rgba(4,15,22,.34) 50%,rgba(4,15,22,.06) 85%),
    linear-gradient(to bottom,rgba(6,18,26,.27) 0%,transparent 35%,transparent 57%,rgba(6,18,26,.28) 80%,#0b1820 100%)!important;
}
body.venue-photo-page #locations-hero .venue-photo-inner {
  box-sizing:border-box!important;
  position:relative!important;
  z-index:2!important;
  display:flex!important;
  flex-direction:column!important;
  justify-content:center!important;
  align-items:flex-start!important;
  height:100%!important;
  min-height:0!important;
  width:min(1280px,89%)!important;
  max-width:none!important;
  margin:0 auto!important;
  padding:130px 0 68px!important;
}
body.venue-photo-page #locations-hero .venue-photo-copy {
  width:min(650px,100%)!important;
  max-width:650px!important;
}
body.venue-photo-page #locations-hero h1 {
  font-size:clamp(42px,4.5vw,70px)!important;
  line-height:1.04!important;
  margin:0 0 20px!important;
}
body.venue-photo-page #locations-hero .intro {line-height:1.7!important}
body.venue-photo-page #locations-hero .hero-actions {margin-top:22px!important}

/* Keep the three location-services' own card separators; they are NOT hero rules.
   Position them lower so no line seems doubled at the photograph's edge. */
body.venue-photo-page #locations-hero + .services {
  margin-top:0!important;
  padding-top:clamp(48px,6vw,85px)!important;
}

/* Projects — original hero image and overlay, only one end rule.
   Remove additional archive line directly under it. */
body .projects-hero {
  box-sizing:border-box!important;
  overflow:clip!important;
  height:min(100svh,1050px)!important;
  min-height:700px!important;
  max-height:1050px!important;
  margin-top:-106px!important;
  padding:clamp(155px,18svh,220px) clamp(22px,5.5vw,95px) 80px!important;
}
body .projects-hero::after {
  content:none!important;
  display:none!important;
}
body .projects-archive {
  border-top:0!important;
}

/* All three covers adapt without forcing copy out of frame. */
@media(max-width:900px){
  body.all-cars-page .all-cars-hero {
    height:auto!important;
    min-height:max(780px,96svh)!important;
    max-height:none!important;
    margin-top:-83px!important;
    padding:155px 22px 90px!important;
    justify-content:flex-end!important;
  }
  body.venue-photo-page #locations-hero.hero.venue-photo-hero {
    height:auto!important;
    min-height:max(880px,96svh)!important;
    max-height:none!important;
    margin-top:-83px!important;
  }
  body.venue-photo-page #locations-hero .venue-photo-inner {
    height:auto!important;
    min-height:max(880px,96svh)!important;
    padding:145px 0 85px!important;
    justify-content:flex-end!important;
  }
  body .projects-hero {
    height:auto!important;
    min-height:max(830px,96svh)!important;
    max-height:none!important;
    margin-top:-83px!important;
    padding:145px 22px 90px!important;
  }
}
@media(max-width:560px){
 body.all-cars-page .all-cars-hero {
   min-height:max(800px,100svh)!important;
 }
 body.venue-photo-page #locations-hero.hero.venue-photo-hero {
   min-height:max(940px,100svh)!important;
 }
 body.venue-photo-page #locations-hero .venue-photo-inner {
   min-height:max(940px,100svh)!important;
 }
 body.venue-photo-page #locations-hero h1 {
   font-size:clamp(36px,8.9vw,49px)!important;
 }
 body.venue-photo-page #locations-hero .hero-actions {
   grid-template-columns:minmax(0,1fr)!important;
 }
 body .projects-hero {
   min-height:max(890px,100svh)!important;
 }
}
@media(prefers-reduced-motion:reduce){
 body.all-cars-page .all-cars-hero::before{transform:none!important;}
 body.venue-photo-page #locations-hero .venue-photo-media img{scale:1!important;}
}
