/* hero-photo.css: Site Stylist MOCKUP layer (NOT live). Load AFTER hero-answer.css.
   Brings the atshore.com homepage hero photo back by dropping the full-hero dark veil
   (refined.css: 90% left-side wash on desktop, 66–88% blackout on mobile) and leaving
   a localized scrim behind the text column only.
   No new fonts, no JS, no markup / alt / filename changes.
   Button text colour stays #1A1205 (set in refined.css). */

/* 1. Stop the leftover site scrim from washing the whole photo. */
html body.vf-home .hero .hero-scrim{background:none !important}

/* 2. Reuse the existing .hero-veil element as a text-column scrim, not a full-hero wash.
   Full-bleed box (no hard width edge) with a left-to-transparent gradient so the
   house, dish and dusk sky on the right stay clear. A light, even bottom fade
   meets the details band without a vertical seam. */
html body.vf-home .hero .hero-veil{
  inset:0;
  width:auto;
  opacity:1 !important;
  background:
    linear-gradient(90deg,
      color-mix(in srgb,var(--bg) 62%,transparent) 0%,
      color-mix(in srgb,var(--bg) 42%,transparent) 28%,
      color-mix(in srgb,var(--bg) 18%,transparent) 46%,
      transparent 62%),
    linear-gradient(180deg,
      transparent 0%,
      transparent 82%,
      color-mix(in srgb,var(--bg) 28%,transparent) 100%) !important;
}

/* 3. Soften the drifting glow blobs from glowcards.css so they don't muddy the photo.
   Keep a light gold wash at the bottom-right, over the house, for the dark-gold look. */
html body.vf-home .hero .hero-glow{
  background:radial-gradient(ellipse 50% 40% at 82% 100%,rgba(177,135,83,.14),transparent 70%) !important;
}
html body.vf-home .hero .hero-glow::before,
html body.vf-home .hero .hero-glow::after{
  background:none !important;
  animation:none !important;
}

/* 4. Mobile: full-width but much lighter, so the photo reads around the card.
   This replaces refined.css's 80/66/88% mobile blackout. */
@media (max-width:799px){
  html body.vf-home .hero .hero-veil{
    inset:0;
    width:auto;
    background:
      linear-gradient(180deg,
        color-mix(in srgb,var(--bg) 42%,transparent) 0%,
        color-mix(in srgb,var(--bg) 32%,transparent) 28%,
        color-mix(in srgb,var(--bg) 18%,transparent) 62%,
        color-mix(in srgb,var(--bg) 36%,transparent) 100%) !important;
  }
}
