/* The vessel remains in the harbor; four etched paper seas pass one another. */
html.wit-v2.v2-pottery .harbor-polish .harbor-ship-travel{
  opacity:.88;
  animation:wit-agora-returning-vessel 24s ease-in-out infinite alternate;
  will-change:left;
}
@keyframes wit-agora-returning-vessel{from{left:85.4%}to{left:15.3%}}
html.wit-v2.v2-pottery .harbor-polish .harbor-ship-oars{
  position:absolute;
  z-index:1;
  left:0;
  top:0;
  display:block;
  width:100%;
  height:auto;
  overflow:visible;
  pointer-events:none;
  animation:wit-pottery-harbor-keel 6s ease-in-out infinite;
}
html.wit-v2.v2-pottery .harbor-ship-oars .agora-ship-oar{
  transform-box:view-box;
  transform-origin:var(--oar-x) var(--oar-y);
  animation:wit-agora-oar-stroke 2.4s ease-in-out infinite;
}
html.wit-v2.v2-pottery .harbor-ship-oars .agora-ship-oar--1{animation-delay:-.12s}
@keyframes wit-agora-oar-stroke{0%,100%{transform:rotate(-10deg)}45%{transform:rotate(14deg)}65%{transform:rotate(8deg)}}
html.wit-v2.v2-pottery .harbor-polish:has(.pottery-harbor[data-harbor-idle]) .harbor-ship-oars,
html.wit-v2.v2-pottery .harbor-polish:has(.pottery-harbor[data-harbor-idle]) .agora-ship-oar{animation-play-state:paused}

/* Reserve the same clear gap beneath the form while increasing visible water depth. */
html.wit-v2.v2-pottery #contact{padding-bottom:calc(clamp(76px,8vw,118px) + 230px)}
html.wit-v2.v2-pottery #contact .pottery-contact-water.resolve-contact-water{
  height:280px;
  -webkit-mask-image:linear-gradient(180deg,#000 0%,#000 91%,transparent 100%);
  mask-image:linear-gradient(180deg,#000 0%,#000 91%,transparent 100%);
}
html.wit-v2.v2-pottery #contact .resolve-contact-water :is(.contact-water-poster,.contact-water-video){z-index:0}
html.wit-v2.v2-pottery #contact .agora-paper-water{
  position:absolute;
  z-index:1;
  inset:0;
  overflow:hidden;
  pointer-events:none;
}
html.wit-v2.v2-pottery #contact .agora-water-surface{
  position:absolute;
  inset:0 auto 0 -100px;
  width:calc(100% + 200px);
  height:280px;
  background-repeat:repeat-x;
  background-position:0 0;
  background-size:720px 280px;
  filter:drop-shadow(0 -3px 2px rgba(8,20,27,.48));
  will-change:transform;
  animation-timing-function:ease-in-out;
  animation-iteration-count:infinite;
  animation-direction:alternate;
}
html.wit-v2.v2-pottery #contact .agora-water-surface--far{
  z-index:1;
  background-image:url('/assets/wit-harbor/water-far.svg?v=harbor-1');
  animation-name:wit-agora-sea-east;
  animation-duration:11s;
}
html.wit-v2.v2-pottery #contact .agora-water-surface--middle{
  z-index:2;
  background-image:url('/assets/wit-harbor/water-middle.svg?v=harbor-1');
  animation-name:wit-agora-sea-west;
  animation-duration:11s;
}
html.wit-v2.v2-pottery #contact .agora-water-surface--near{
  z-index:3;
  background-image:url('/assets/wit-harbor/water-near.svg?v=harbor-1');
  animation-name:wit-agora-sea-east;
  animation-duration:9s;
}
html.wit-v2.v2-pottery #contact .agora-water-surface--front{
  z-index:4;
  background-image:url('/assets/wit-harbor/water-front.svg?v=harbor-1');
  animation-name:wit-agora-sea-west;
  animation-duration:9s;
}
@keyframes wit-agora-sea-east{from{transform:translateX(-70px)}to{transform:translateX(70px)}}
@keyframes wit-agora-sea-west{from{transform:translateX(70px)}to{transform:translateX(-70px)}}
@media(max-width:640px){html.wit-v2.v2-pottery #contact{padding-bottom:300px}}
@media(prefers-reduced-motion:reduce){
  html.wit-v2.v2-pottery .harbor-polish .harbor-ship-travel{animation:none;left:64%;opacity:.88}
  html.wit-v2.v2-pottery .harbor-polish .harbor-ship-oars,
  html.wit-v2.v2-pottery .harbor-ship-oars .agora-ship-oar,
  html.wit-v2.v2-pottery #contact .agora-water-surface{animation:none;transform:none}
}

/* Preserve the Resolve texture below the cut layers without a hard raster edge. */
html.wit-v2.v2-pottery #contact .resolve-contact-water :is(.contact-water-poster,.contact-water-video){-webkit-mask-image:linear-gradient(180deg,transparent,#000 26%);mask-image:linear-gradient(180deg,transparent,#000 26%)}
