/* Both layers use the hero image's existing cover crop at every breakpoint. */
.home .hero-drawing {
  position: absolute;
  inset: 0;
  background: #fff;
  visibility: hidden;
  pointer-events: none;
}

.hero-peel-fold {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  visibility: hidden;
  pointer-events: none;
}

.hero.has-peel .hero-drawing,
.hero.has-peel .hero-peel-fold { visibility: visible; }

.hero-peel-handle {
  position: absolute;
  height: 48px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  transform-origin: left center;
  cursor: grab;
  touch-action: none;
  -webkit-tap-highlight-color: transparent;
  -webkit-user-select: none;
  user-select: none;
}

.hero-peel-handle:active,
.hero.is-peeling .hero-peel-handle { cursor: grabbing; }

.hero-peel-handle:focus-visible { outline: none; }
.hero-peel-handle:focus-visible + .hero-peel-fold .peel-crease {
  stroke: #215da2;
  stroke-opacity: 1;
  stroke-width: 2;
}

.peel-grip { opacity: .84; }
.hero-peel-handle:hover + .hero-peel-fold .peel-grip,
.hero-peel-handle:focus-visible + .hero-peel-fold .peel-grip { opacity: 1; }

.hero.is-peeling {
  -webkit-user-select: none;
  user-select: none;
}

.peel-photo-labels {
  position: absolute;
  inset: 0;
  clip-path: url(#peel-photo-ink);
  pointer-events: none;
  user-select: none;
}

.home .hero.has-peel > :is(.caption, .hero-link) {
  color: #171e22;
  text-shadow: none;
}

@media (min-width: 721px) {
  .home .overlay-header nav a.peel-on-paper:hover { color: #245b89; }
}
