/* Local homepage test: replace only the second visual with the supplied reference. */
.life-project { scroll-margin-top: 90px; }
.life-project .courtyard-abstract { scroll-margin-top: 90px; }
.life-project .courtyard-abstract {
  background: #101212;
  position: relative;
  overflow: hidden;
}
.life-project .courtyard-abstract::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('/images/image-2-pierres-reference.jpeg') center / auto 110% no-repeat;
  filter: hue-rotate(195deg) saturate(.38);
  mix-blend-mode: screen;
  -webkit-mask-image: radial-gradient(ellipse 36% 58% at 50% 44%, #000 58%, transparent 100%);
  mask-image: radial-gradient(ellipse 36% 58% at 50% 44%, #000 58%, transparent 100%);
}

@media (max-width: 620px) {
  .life-project .courtyard-abstract { min-height: 500px; }
  .life-project .courtyard-abstract::before {
    -webkit-mask-image: radial-gradient(ellipse 45% 75% at 50% 45%, #000 65%, transparent 100%);
    mask-image: radial-gradient(ellipse 45% 75% at 50% 45%, #000 65%, transparent 100%);
  }
}

/* Test image 3: the supplied forms, recolored, become part of the whole section. */
.reframe {
  background: #101212;
  color: #f5f3ef;
  isolation: isolate;
}
.reframe .eyebrow { color: #af956e; }
.reframe::before {
  content: '';
  position: absolute;
  z-index: 0;
  inset: 0;
  background: url('/images/image-3-orbes-final.png') center / cover no-repeat;
  filter: saturate(.65) brightness(.72);
  pointer-events: none;
}
.reframe .copy { position: relative; z-index: 1; }
.reframe .architecture-abstract {
  background: transparent;
  position: relative;
}
.reframe .architecture-abstract::before { content: none; }
@media (max-width: 620px) {
  .reframe::before { content: none; }
  .reframe .architecture-abstract { min-height: 480px; }
  .reframe .architecture-abstract::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('/images/image-3-orbes-final.png') 70% center / auto 100% no-repeat;
    filter: saturate(.65) brightness(.72);
    -webkit-mask-image: linear-gradient(180deg, transparent, #000 16%);
    mask-image: linear-gradient(180deg, transparent, #000 16%);
  }
}

/* Test image for the final installation CTA: warm the supplied light trails to Jawda tones. */
.final-cta {
  isolation: isolate;
  overflow: hidden;
  background: #1a1a1a;
  background-image: none !important;
}
.final-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -2;
  background: url('/images/final-cta-light-trails.jpeg') center / cover no-repeat;
  filter: grayscale(1) sepia(1) saturate(.72) hue-rotate(345deg) brightness(.62) contrast(1.15);
  opacity: .68;
}
.final-cta::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(26,26,26,.88), rgba(26,26,26,.48) 52%, rgba(26,26,26,.72));
  pointer-events: none;
}
.final-cta .container { position: relative; z-index: 1; }

/* Keep the footer plain: the supplied image belongs only to the final CTA section. */
.footer { background-image: none !important; }

/* Header test: remove the blue cast and align the image with the warm second visual. */
.hero-home .hero-art {
  filter: grayscale(1) sepia(.72) saturate(.8) hue-rotate(8deg) brightness(1.1) contrast(1.14) !important;
}
.hero-home .hero-art::before {
  background: radial-gradient(circle at 78% 34%, rgba(220, 195, 145, .28), transparent 32%);
  opacity: .5;
}
