/* Home: two horizontal photo bands, directional, no layout or control changes. */
.page-index .cover-scene > img.slide:not(.cw-wipe-band) { touch-action: pan-y pinch-zoom; }
.page-index .cover-scene > img.slide.cw-wipe-band {
  --cw-wipe-upper: 0%;
  --cw-wipe-lower: 49.95%;
  --cw-wipe-delay: 0ms;
  z-index: 2;
  opacity: 1;
  pointer-events: none;
  transition: none;
  animation: cw-band-next-v45 740ms cubic-bezier(.7,0,.22,1) var(--cw-wipe-delay) both;
}
.page-index .cover-scene > img.slide.cw-wipe-lower {
  --cw-wipe-upper: 49.95%;
  --cw-wipe-lower: 0%;
  --cw-wipe-delay: 110ms;
}
.page-index .cover-scene > img.slide.cw-wipe-band[data-direction="prev"] {
  animation-name: cw-band-prev-v45;
}
@keyframes cw-band-next-v45 {
  from { clip-path: inset(var(--cw-wipe-upper) 100% var(--cw-wipe-lower) 0); }
  to   { clip-path: inset(var(--cw-wipe-upper) 0 var(--cw-wipe-lower) 0); }
}
@keyframes cw-band-prev-v45 {
  from { clip-path: inset(var(--cw-wipe-upper) 0 var(--cw-wipe-lower) 100%); }
  to   { clip-path: inset(var(--cw-wipe-upper) 0 var(--cw-wipe-lower) 0); }
}

/* Partners: preserve all native anchors and the original per-logo optical scale. */
.page-partners .partner-grid > a {
  position: relative;
  transition: background-color .24s ease, translate .24s ease;
}
.page-partners .partner-grid > a::after {
  content: "";
  position: absolute;
  top: 11px;
  right: 12px;
  display: block;
  width: 13px;
  height: 13px;
  background: center / contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 14 14'%3E%3Cpath d='M3 11l8-8M5 3h6v6' fill='none' stroke='%237b4b37' stroke-width='1.15' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  opacity: .46;
  transform: translate(-3px, 3px);
  transition: opacity .24s ease, transform .24s ease;
  pointer-events: none;
}
.page-partners .partner-grid > a:focus-visible,
.page-partners .partner-grid > a:active {
  z-index: 1;
  background-color: #ebe5da;
}
.page-partners .partner-grid > a:focus-visible {
  outline: 1px solid #7b4b37;
  outline-offset: -3px;
  translate: 0 -2px;
}
.page-partners .partner-grid > a:active {
  translate: 0 1px;
}
.page-partners .partner-grid > a:focus-visible::after,
.page-partners .partner-grid > a:active::after {
  opacity: 1;
  transform: none;
}
@media (hover: hover) and (pointer: fine) {
  .page-partners .partner-grid > a:hover:not(:active) {
    background-color: #ebe5da;
    translate: 0 -2px;
    z-index: 1;
  }
  .page-partners .partner-grid > a:hover::after {
    opacity: 1;
    transform: none;
  }
}
@media (hover: none), (pointer: coarse) {
  .page-partners .partner-grid > a:hover:not(:active):not(:focus-visible) {
    background-color: transparent;
  }
}
@media (prefers-reduced-motion: reduce) {
  .page-index .cover-scene > img.slide.cw-wipe-band { display: none; }
  .page-partners .partner-grid > a,
  .page-partners .partner-grid > a::after {
    transition: none !important;
    translate: none !important;
    transform: none !important;
  }
}