/* Approved Soft fade: title on the photograph, supporting content in normal flow. */
main .sf-header {
  --sf-paper: #fcf8ee;
  --sf-ink: #092838;
  width: 100%;
  max-width: 1440px;
  margin-inline: auto;
  padding: 0;
  background: #fcfaf5;
  color: var(--sf-ink);
}
.sf-header *, .sf-header *::before { box-sizing: border-box; }
.sf-header .sf-banner {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  align-items: center;
  min-height: clamp(310px,34vw,465px);
  background: #ede7da;
  border-block: 1px solid #bda679;
}
.sf-art, .sf-art > img, .sf-banner::before { position: absolute; inset: 0; width: 100%; height: 100%; }
.sf-art { overflow: hidden; z-index: -2; }
.sf-art > img { object-fit: cover; object-position: left var(--sf-focus,53%); display: block; }
.sf-art:has(img[src*="installation-craftsmanship"]) { --sf-focus: 70%; }
.sf-art:has(img[src*="chlor-a-soft-outdoor"]) img { object-fit: contain; object-position: 67% center; background: #e9e9df; }
.sf-art > .wc-scene { opacity: 0; transition: opacity .35s; }
.sf-art > .wc-scene.is-active { opacity: 1; }
.sf-art.sf-house { background: #f7f2e6; container-type: size; }
.sf-art.sf-house > img {
  /* Align the visible right edge at 72% of the source, just past the equipment. */
  --art-width: max(115cqw, 177.778cqh);
  inset: 50% auto auto auto; right: calc(-.28 * var(--art-width));
  width: var(--art-width); max-width: none; height: auto; transform: translateY(-51%);
  mask-image: linear-gradient(90deg,transparent,#000 15%);
}
.sf-art.sf-house::before {
  content: ''; position: absolute; inset: 0 65% 0 0;
  background: url('../images/cutaway-luxury-shield-v43.webp') left center / auto 130% no-repeat;
  opacity: .38; mask-image: linear-gradient(90deg,#000,transparent);
}
.sf-banner::before {
  content: ''; inset: 0 auto 0 0; width: min(76%,980px); z-index: -1;
  background: linear-gradient(90deg,rgba(252,248,238,.94) 0%,rgba(252,248,238,.9) 27%,rgba(252,248,238,.73) 45%,rgba(252,248,238,.28) 68%,transparent 100%);
}
.sf-header .sf-title { position: relative; margin: 26px 0 26px clamp(24px,5%,72px); padding: 14px 0; width: fit-content; max-width: min(50%,660px); }
.sf-header .sf-title h1 {
  margin: 0; padding: 0; max-width: none; background: none; color: var(--sf-ink);
  font: 400 clamp(40px,4.7vw,72px)/1.01 Georgia,'Times New Roman',serif;
  letter-spacing: -.045em; overflow-wrap: anywhere; text-wrap: balance; text-shadow: none;
}
.sf-header .sf-title h1::before { content:''; display:block; width:45px; height:2px; margin:0 0 19px; background:#a98445; }
.sf-header .sf-title h1 :is(span,em) { color:inherit; background: none; }
.sf-header .sf-title > :not(h1) { display:block; width:fit-content; max-width:100%; font:600 clamp(11px,.92vw,13px)/1.5 var(--font-body,Arial,sans-serif); margin:0 0 12px; padding:0; letter-spacing:.035em; color:#223d4b; background:none; border:0; }
.sf-header .sf-title a { color:#1a3947; }
.sf-header .sf-details { padding:clamp(21px,2.5vw,35px) clamp(24px,5%,72px); display:flex; flex-wrap:wrap; gap:15px 32px; align-items:center; justify-content:space-between; border-bottom:1px solid #d7cbb6; color:var(--sf-ink); background:#fcfaf5; }
.sf-header .sf-details > p { flex:1 1 390px; max-width:74ch; font:400 clamp(15px,1.15vw,17px)/1.55 var(--font-body,Arial,sans-serif); color:var(--sf-ink); margin:0; }
.sf-header .sf-details :is(.hero-ctas,.badge-row,.hero-trust,.product-category-nav) { display:flex; flex-wrap:wrap; align-items:center; justify-content:flex-start; margin:0; gap:8px 12px; }
.sf-header .sf-details .product-category-nav { order:2; flex-basis:100%; font-size:.86rem; }
.sf-header .sf-details .hero-trust { flex-basis:100%; font-size:.8rem; }
.sf-header .sf-details .hero-trust .item { color:#284954; }
.sf-header .sf-details :is(.btn,.badge-pill,.lp-hero-action) { white-space:normal; padding:10px 15px; font-size:.86rem; line-height:1.35; }
.sf-header .sf-details :is(.btn-outline,.btn-navy-outline,.badge-pill) { color:#132e40; background:#fffdfa; border:1px solid #a8997f; }
.sf-header .sf-details .btn-amber,.sf-header .sf-details .lp-hero-action { background:#102e42; border-color:#102e42; color:#fff; }
.sf-header .sf-details a:focus-visible,.sf-header .sf-title a:focus-visible { outline:3px solid #087f9c; outline-offset:3px; }
main .sf-plan-body,main .sf-plans-body,main .sf-consultation-body { background:#112e41; padding-block:clamp(22px,3vw,45px); min-height:0; }
main .sf-plan-body::after,main .sf-plans-body::after,main .sf-consultation-body::after { content:none; }
main .sf-plans-body .wc-cinematic-heading { margin-top:0; }
main .sf-plan-body .wc-hero-grid { min-height:0; }
@media(max-width:1000px) { .sf-header .sf-banner { min-height:clamp(290px,36vw,390px); } .sf-header .sf-details > p { flex-basis:100%; } }
@media(max-width:580px) {
  .sf-header .sf-banner { min-height:320px; align-items:flex-end; }
  .sf-banner::before { width:100%; height:80%; inset:auto 0 0; background:linear-gradient(0deg,#faf6edf7 0%,#faf6ede6 37%,#faf6ed00 100%); }
  .sf-header .sf-title { align-self:flex-end; margin:24px 16px 16px; padding:6px 0; max-width:calc(100% - 32px); }
  .sf-header .sf-title h1 { font-size:clamp(32px,8.2vw,43px); line-height:1.04; }
  .sf-header .sf-title h1::before { width:30px; margin-bottom:10px; }
  .sf-header .sf-title > :not(h1) { margin-bottom:8px; }
  .sf-header .sf-details { padding:18px; gap:13px; }
  .sf-header .sf-details :is(.btn,.badge-pill,.lp-hero-action) { font-size:.78rem; padding:9px 12px; }
  .sf-art.sf-house::before { content:none; }
  .sf-art.sf-house > img { --art-width: max(138.89cqw,177.778cqh); mask-image:none; transform: translateY(-50%); }
}
@media(prefers-reduced-motion:reduce) { .sf-art > .wc-scene { transition:none; } }
