
/* Warm photo backgrounds, with readable foreground content. */
/* Cream fades soften the joins between section photographs. */
main > section { position: relative; }
main > section + section::before {
  content: '';
  position: absolute;
  z-index: 2;
  top: -28px;
  left: 0;
  width: 100%;
  height: 56px;
  background: linear-gradient(to bottom, rgba(250,244,234,0), rgba(250,244,234,.96) 50%, rgba(250,244,234,0));
  pointer-events: none;
}
.quiz-wrap, .familiar, .services, .gallery, .faq, .about, .cta, footer {
  background-image: linear-gradient(rgba(250,244,234,var(--wash,.86)),rgba(250,244,234,var(--wash,.86))),var(--section-photo);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.quiz-wrap { --section-photo: url('assets/background-island.png'); --wash: .78; }
.familiar { --section-photo: url('assets/background-cooktop.png'); }
.services { --section-photo: url('assets/background-kitchen.png'); --wash: .88; }
.gallery { --section-photo: url('assets/background-sage.jpeg'); }
.faq { --section-photo: url('assets/background-study.png'); --wash: .88; }
.about { --section-photo: url('assets/background-island.png'); max-width: none; }
.about .map-card { max-width: 864px; margin-inline: auto; }
.familiar .pain-grid p {
  border: 0;
  border-radius: 14px;
  background: #fffdf9;
  box-shadow: inset 0 0 22px rgba(250,244,234,.7),
              0 0 12px 6px rgba(250,244,234,.95),
              0 0 32px 18px rgba(250,244,234,.6),
              0 0 56px 28px rgba(250,244,234,.15);
}
.cta, footer {
  background: #06143d;
}
@media(max-width:800px) {
  .services { background-size: auto 100%; }
}

/* Rounded sunset chevrons echo the brand's three bars. */
.gallery-frame button {
  width: 64px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: rgba(6,20,61,.86);
  box-shadow: 0 3px 14px rgba(0,0,0,.18);
}
.gallery-prev svg { transform: rotate(180deg); }
.gallery-frame button:hover { background: #06143d; }
.gallery-frame button:focus-visible { outline: 3px solid #ffad17; outline-offset: 4px; }

.testimonials {
  background: linear-gradient(rgba(250,244,234,.88),rgba(250,244,234,.88)), url('assets/background-study.png') center / cover no-repeat;
}
.testimonials h2 { margin-bottom: 16px; }
.review-placeholder { font-size: .8rem; color: #62605b; margin: 0 0 32px; }
.testimonial-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 32px; }
.testimonial-grid figure {
  margin: 0; padding: 32px 24px; background: #fffdf9; border-radius: 14px;
  box-shadow: 0 0 12px 6px rgba(250,244,234,.95), 0 0 32px 18px rgba(250,244,234,.6);
  display: flex; flex-direction: column; align-items: center;
}
.review-stars { color: #bc7910; font-size: 1.6rem; letter-spacing: .15em; }
.testimonial-grid blockquote { margin: 20px 0 24px; font-size: 1.05rem; }
.testimonial-grid figcaption { margin-top: auto; font-weight: 700; }
.testimonial-grid figcaption span { font-weight: 400; }
@media(max-width:800px) { .testimonial-grid { grid-template-columns: 1fr; } }

.about .benefits { width: 100%; text-align: center; }
.about .benefits li { padding-left: 0; }
.about .benefits li::before {
  position: static;
  display: inline-grid;
  vertical-align: middle;
  margin-right: 10px;
}

/* Mix the latest kitchen photographs into the existing section backgrounds. */
.quiz-wrap { --section-photo: url('assets/gallery-sage-pendants.png'); }
.faq { --section-photo: url('assets/gallery-cream-brass.png'); }
.about { --section-photo: url('assets/gallery-white-classic.png'); }

/* One continuous photograph spans the enquiry and review sections. */
.enquiry-reviews-background {
  position: relative;
  background: linear-gradient(rgba(250,244,234,.82),rgba(250,244,234,.82)),
    url('assets/gallery-sage-pendants.png') center / cover no-repeat;
}
.enquiry-reviews-background > .quiz-wrap,
.enquiry-reviews-background > .testimonials { background: transparent; }
.enquiry-reviews-background::before,
.enquiry-reviews-background + section::before {
  content: '';
  position: absolute;
  z-index: 2;
  top: -28px;
  left: 0;
  width: 100%;
  height: 56px;
  background: linear-gradient(to bottom, rgba(250,244,234,0), rgba(250,244,234,.96) 50%, rgba(250,244,234,0));
  pointer-events: none;
}

/* Shared photograph for frequently asked questions and familiar concerns. */
.faq-familiar-background {
  position: relative;
  background: linear-gradient(rgba(250,244,234,.88),rgba(250,244,234,.88)),
    url('assets/gallery-cream-brass.png') center / cover no-repeat;
}
.faq-familiar-background > .faq,
.faq-familiar-background > .familiar { background: transparent; }
.faq-familiar-background::before,
.faq-familiar-background + section::before {
  content: '';
  position: absolute;
  z-index: 2;
  top: -28px;
  left: 0;
  width: 100%;
  height: 56px;
  background: linear-gradient(to bottom, rgba(250,244,234,0), rgba(250,244,234,.96) 50%, rgba(250,244,234,0));
  pointer-events: none;
}
