/* White paint dissolves into the page; the lower photo remains clear. */
.services-photo-handoff {
  position:relative;
  margin-top:-48px;
  padding:0;
  overflow:clip;
  background:#fff;
  color:#111;
}
.services-blend-defs { position:absolute; pointer-events:none; }
.services-care-intro { position:relative; z-index:2; isolation:isolate; overflow:visible; }
.services-care-copy {
  position:relative;
  z-index:1;
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:24px;
  width:100%;
  max-width:840px;
  margin:0 auto;
  padding:clamp(56px,8svh,96px) var(--page-inset) 72px;
  text-align:center;
}
.services-care-copy h2 { max-width:20ch; margin:0; font-size:clamp(30px,3vw,46px); line-height:1.12; letter-spacing:-.03em; font-weight:600; }
.services-care-copy p { max-width:48ch; margin:0; font-size:17px; line-height:1.55; }
.services-direct-contact { display:flex; flex-direction:column; align-items:center; gap:16px; margin-top:8px; }
.services-direct-contact p { font-size:16px; }
.services-contact-open { min-height:52px; padding:14px 34px; border:1px solid #111; background:#111; color:#fff; font:600 16px/1.4 Adventure,Arial,sans-serif; cursor:pointer; }
.services-contact-open:hover { background:#000; border-color:#000; }
.services-photo-composition { margin-top:-32px; }
.services-photo-layers {
  position:relative;
  width:100%;
  aspect-ratio:1221 / 1157;
  max-height:none;
  margin:0;
  overflow:clip;
  pointer-events:none;
  background:linear-gradient(to bottom,#fff 72%,#000 94%);
}
.services-photo-layers img {
  position:absolute;
  inset:0;
  display:block;
  width:100%;
  height:auto;
  object-fit:contain;
}
/* A CSS-only reveal keeps the real photo visible without an SVG filter image
   dependency, which can paint an empty layer before or after image decoding. */
.services-photo-clear { filter:none; -webkit-mask-image:linear-gradient(to bottom,transparent,#000 12%); mask-image:linear-gradient(to bottom,transparent,#000 12%); }
.services-care-bottles { position:absolute; inset:0; pointer-events:none; }
.care-bottle { --turn:-18deg; position:absolute; width:clamp(72px,8vw,124px); aspect-ratio:3 / 4; left:5%; top:18%; transform:rotate(var(--turn)); }
.care-bottle img { display:block; width:100%; height:100%; object-fit:contain; }
.care-bottle:nth-child(2) { --turn:21deg; left:16%; top:auto; bottom:36px; }
.care-bottle:nth-child(3) { --turn:18deg; left:auto; right:5%; top:10%; }
.care-bottle:nth-child(4) { --turn:-23deg; left:auto; right:16%; top:44%; }
.care-bottle:nth-child(5) { --turn:27deg; left:auto; right:6%; top:auto; bottom:24px; }
.has-bottle-motion .care-bottle { opacity:var(--bottle-opacity,0); transform:translateY(var(--bottle-y,80px)) rotate(calc(var(--turn) + var(--bottle-turn,-18deg))) scale(var(--bottle-scale,.55)); }
.services-photo-handoff :is(button,a):focus-visible { outline:2px solid #111; outline-offset:5px; }
.services-scroll:has(.services-photo-handoff) + .about { position:relative; z-index:1; }
@media(max-width:600px) {
  .site .footer > .footer-curve { height:8px; }
  .services-photo-handoff { margin-top:-24px; }
  .services-care-copy { gap:16px; padding:40px clamp(52px,12vw,68px) 32px; }
  .services-care-copy p { font-size:16px; }
  .services-photo-composition { margin-top:0; }
  /* Keep the phone image in document flow and avoid the SVG feImage filter,
     which can render an empty filtered layer in mobile WebKit. */
  .services-photo-layers { aspect-ratio:auto; max-height:none; overflow:visible; }
  .services-photo-layers .services-photo-clear {
    position:relative;
    inset:auto;
    height:auto;
    filter:none;
    -webkit-mask-image:linear-gradient(to bottom,transparent,#000 12%);
    mask-image:linear-gradient(to bottom,transparent,#000 12%);
  }
  .services-care-bottles { display:block; }
  .care-bottle { width:clamp(44px,11vw,58px); left:0; top:16%; }
  .care-bottle:nth-child(2) { left:0; top:62%; bottom:auto; }
  .care-bottle:nth-child(3) { right:0; top:24%; }
  .care-bottle:nth-child(4) { right:0; top:68%; }
  .care-bottle:nth-child(5) { display:none; }
}
@media(prefers-reduced-motion:reduce) {
  .has-bottle-motion .care-bottle { opacity:1; transform:rotate(var(--turn)); }
}

/* Trim the bottom 30% of the hand-wash photo, retaining the mitt and arm. */
.services-photo-layers { aspect-ratio:1221 / 810; overflow:clip; }
.services-photo-layers .services-photo-clear { position:absolute; inset:0 0 auto; width:100%; height:auto; }
