/* The harbor continues: raised copy, a long passage and etched night-water. */
html.wit-v2.v2-pottery .hero.premium-harbor.harbor-polish{
  --polish-scene-height:min(650px,50.777778vw);
  --polish-title-y:31.2%;
  --polish-support-y:45.4%;
  --polish-ship-y:56%;
  --polish-cta-y:63.5%;
  height:var(--polish-scene-height);
  min-height:0;
  margin:0;
  padding:0;
  display:block;
}
html.wit-v2.v2-pottery .hero.harbor-polish::after{content:none;display:none}
/* A soft local ink wash protects the raised lettering over the engraved coast. */
html.wit-v2.v2-pottery .hero.harbor-polish::before{
  content:"";display:block;position:absolute;z-index:1;inset:0;max-width:1280px;margin-inline:auto;pointer-events:none;
  background:radial-gradient(ellipse 52% 18% at 50% 44%,rgba(12,16,16,.78) 0%,rgba(12,16,16,.48) 55%,rgba(12,16,16,0) 100%);
}
html.wit-v2.v2-pottery .harbor-polish .premium-harbor-media{z-index:0;background:transparent}
html.wit-v2.v2-pottery .harbor-polish .harbor-stage,
html.wit-v2.v2-pottery .harbor-polish .pottery-harbor{z-index:3}
html.wit-v2.v2-pottery .harbor-polish .v2-hero-inner{
  position:absolute;
  inset:0;
  z-index:4;
  width:100%;
  max-width:1280px;
  height:100%;
  margin-inline:auto;
  padding:0;
  display:block;
  pointer-events:none;
}
html.wit-v2.v2-pottery .harbor-polish .rope-hero-space{display:none}
html.wit-v2.v2-pottery .harbor-polish .v2-hero-inner :is(h1,.v2-hero-support,.ctas){
  position:absolute;
  left:50%;
  transform:translateX(-50%);
  margin:0;
}
html.wit-v2.v2-pottery .harbor-polish h1{
  top:var(--polish-title-y);
  width:max-content;
  max-width:78%;
  font-size:clamp(34px,5.7vw,76px);
  line-height:1.12;
}
html.wit-v2.v2-pottery .harbor-polish .v2-hero-support{
  top:var(--polish-support-y);
  width:max-content;
  max-width:72%;
  font-size:clamp(16px,1.6vw,21px);
  line-height:1.5;
  color:var(--pot-paper,#ead5ad);
}
html.wit-v2.v2-pottery .harbor-polish .ctas{
  top:var(--polish-cta-y);
  display:flex;
  align-items:stretch;
  justify-content:center;
  flex-direction:row;
  flex-wrap:nowrap;
  gap:12px;
  width:auto;
  max-width:72%;
  pointer-events:none;
}
html.wit-v2.v2-pottery .harbor-polish .ctas .btn{pointer-events:auto}

/* This layer belongs beside the media and SVG, outside the copy's stacking context.
   Normalized route centers match the user's two marked harbor positions. */
html.wit-v2.v2-pottery .harbor-polish .harbor-ship-lane{
  position:absolute;
  z-index:2;
  inset:0;
  width:100%;
  max-width:1280px;
  margin-inline:auto;
  overflow:hidden;
  pointer-events:none;
}
html.wit-v2.v2-pottery .harbor-polish .harbor-ship-travel{
  position:absolute;
  top:var(--polish-ship-y);
  left:85.4%;
  width:5.8%;
  transform:translate(-50%,-50%);
  opacity:0;
  animation:wit-pottery-harbor-passage 24s linear infinite;
  will-change:left,opacity;
}
html.wit-v2.v2-pottery .harbor-polish:has(.pottery-harbor[data-harbor-idle]) .harbor-ship-travel,
html.wit-v2.v2-pottery .harbor-polish:has(.pottery-harbor[data-harbor-idle]) .harbor-ship-travel img{animation-play-state:paused}
html.wit-v2.v2-pottery .harbor-polish .harbor-ship-travel img{
  display:block;
  width:100%;
  height:auto;
  max-width:none;
  margin:0;
  border:0;
  animation:wit-pottery-harbor-keel 6s ease-in-out infinite;
}
@keyframes wit-pottery-harbor-passage{
  0%{left:85.4%;opacity:0}
  4%{opacity:.82}
  96%{opacity:.82}
  100%{left:15.3%;opacity:0}
}
@keyframes wit-pottery-harbor-keel{0%,100%{transform:translateY(.6px)}50%{transform:translateY(-.6px)}}

/* Compact landscape framing follows the same source grid rather than adding
   an empty minimum-height band below the architecture. */
@media(min-width:641px) and (max-width:899px){
  html.wit-v2.v2-pottery .hero.premium-harbor.harbor-polish{--polish-ship-y:58%;--polish-cta-y:68%}
  html.wit-v2.v2-pottery .harbor-polish h1{font-size:clamp(34px,5.7vw,51px)}
  html.wit-v2.v2-pottery .harbor-polish .v2-hero-support{max-width:76%;font-size:14px;line-height:1.45}
  html.wit-v2.v2-pottery .harbor-polish .ctas{gap:10px}
  html.wit-v2.v2-pottery .harbor-polish .ctas .btn{min-height:44px;padding-inline:18px;font-size:14px}
  html.wit-v2.v2-pottery .harbor-polish .harbor-ship-travel{width:6.2%;min-width:46px}
}
@media(max-width:640px){
  html.wit-v2.v2-pottery .hero.premium-harbor.harbor-polish{
    --polish-scene-height:620px;
    --polish-title-y:168px;
    --polish-support-y:277px;
    --polish-ship-y:356px;
    --polish-cta-y:400px;
  }
  html.wit-v2.v2-pottery .hero.harbor-polish::before{
    content:"";
    display:block;
    position:absolute;
    z-index:1;
    inset:0;
    pointer-events:none;
    background:radial-gradient(ellipse 46% 27% at 50% 36%,rgba(12,16,16,.74) 0%,rgba(12,16,16,.46) 48%,rgba(12,16,16,0) 100%);
  }
  html.wit-v2.v2-pottery .harbor-polish h1{max-width:11ch;font-size:clamp(30px,9vw,36px);line-height:1.1}
  html.wit-v2.v2-pottery .harbor-polish .v2-hero-support{max-width:calc(100% - 100px);font-size:17px;line-height:1.5}
  html.wit-v2.v2-pottery .harbor-polish .ctas{width:calc(100% - 100px);max-width:none;gap:10px}
  html.wit-v2.v2-pottery .harbor-polish .ctas .btn{min-height:44px;padding-inline:12px;font-size:14px}
  html.wit-v2.v2-pottery .harbor-polish .harbor-ship-travel{width:64px;max-width:18%}
}
@media(max-width:360px){
  html.wit-v2.v2-pottery .hero.premium-harbor.harbor-polish{
    --polish-title-y:148px;
    --polish-support-y:242px;
    --polish-ship-y:353px;
    --polish-cta-y:388px;
  }
  html.wit-v2.v2-pottery .harbor-polish .v2-hero-support{max-width:calc(100% - 106px);font-size:16.5px}
  html.wit-v2.v2-pottery .harbor-polish .ctas{width:calc(100% - 80px);gap:8px}
  html.wit-v2.v2-pottery .harbor-polish .ctas .btn{min-width:0;flex:1 1 0;padding-inline:8px;font-size:13px}
  html.wit-v2.v2-pottery .harbor-polish .ctas .btn:first-child{flex-grow:1.2}
  html.wit-v2.v2-pottery .harbor-polish .harbor-ship-travel{width:58px;max-width:19%}
}

/* Native Resolve water stays separate from the contact form and its labels. */
html.wit-v2.v2-pottery #contact{
  padding-bottom:calc(clamp(76px,8vw,118px) + 180px);
  background:linear-gradient(180deg,var(--pot-deep-water,#1b2c34) 0%,var(--pot-deep-water,#1b2c34) calc(100% - 230px),var(--pot-ink,#161411) 100%);
}
html.wit-v2.v2-pottery #contact .pottery-contact-water.resolve-contact-water{
  position:absolute;
  z-index:0;
  inset:auto 0 0;
  height:clamp(200px,20vw,270px);
  overflow:hidden;
  pointer-events:none;
  background:none;
  -webkit-mask-image:linear-gradient(180deg,transparent 0%,#000 26%,#000 78%,transparent 100%);
  mask-image:linear-gradient(180deg,transparent 0%,#000 26%,#000 78%,transparent 100%);
}
html.wit-v2.v2-pottery #contact .resolve-contact-water :is(.contact-water-poster,.contact-water-video){
  display:block;
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:50% 65%;
  margin:0;
}
html.wit-v2.v2-pottery #contact .resolve-contact-water .contact-water-video{opacity:0}
html.wit-v2.v2-pottery #contact .resolve-contact-water[data-premium-state="playing"] .contact-water-video{opacity:1}
@media(max-width:640px){
  html.wit-v2.v2-pottery #contact{padding-bottom:240px}
  html.wit-v2.v2-pottery #contact .pottery-contact-water.resolve-contact-water{height:220px}
}

/* Small incised glints continue through the quiet sky behind the footer links. */
html.wit-v2.v2-pottery .v2-footer--pottery::before{content:none;display:none}
html.wit-v2.v2-pottery .v2-footer--pottery .pottery-footer-stars{
  display:block;
  position:absolute;
  z-index:1;
  inset:0;
  width:100%;
  height:100%;
  overflow:hidden;
  color:#d6b687;
  pointer-events:none;
  -webkit-mask-image:linear-gradient(180deg,transparent 0%,#000 9%,#000 67%,transparent 92%);
  mask-image:linear-gradient(180deg,transparent 0%,#000 9%,#000 67%,transparent 92%);
}
html.wit-v2.v2-pottery .v2-footer--pottery .v2-footer-inner{z-index:3}
html.wit-v2.v2-pottery .v2-footer--pottery .v2-footer-scene{z-index:2}
html.wit-v2.v2-pottery .pottery-footer-stars .pottery-star-batch{opacity:.28;animation:wit-pottery-star-etch 11s ease-in-out infinite}
html.wit-v2.v2-pottery .pottery-footer-stars .pottery-star-batch--b{animation-duration:14s;animation-delay:-4.3s}
html.wit-v2.v2-pottery .pottery-footer-stars .pottery-star-batch--c{animation-duration:17s;animation-delay:-10.1s}
html.wit-v2.v2-pottery .v2-footer--mosaic .pottery-footer-stars{display:none}
@keyframes wit-pottery-star-etch{0%,12%,100%{opacity:.24}34%{opacity:.88}55%{opacity:.32}65%{opacity:.64}80%{opacity:.27}}
@media(prefers-reduced-motion:reduce){
  html.wit-v2.v2-pottery .harbor-polish .harbor-ship-travel{animation:none;left:64%;opacity:.78}
  html.wit-v2.v2-pottery .harbor-polish .harbor-ship-travel img,
  html.wit-v2.v2-pottery .pottery-footer-stars .pottery-star-batch{animation:none}
  html.wit-v2.v2-pottery .pottery-footer-stars .pottery-star-batch{opacity:.3}
  html.wit-v2.v2-pottery #contact .resolve-contact-water .contact-water-video{display:none}
}
