/* Selective motion: no layout properties, no tracing, no hero clip or drawing. */
.motion-reveal {
  transition:
    opacity 520ms ease,
    transform 520ms cubic-bezier(0.2, 0.65, 0.3, 1),
    clip-path 620ms cubic-bezier(0.2, 0.65, 0.3, 1);
  transition-delay: var(--reveal-delay, 0ms);
}
.motion-pending {
  opacity: 0;
  transform: translate3d(0, 18px, 0);
}
.motion-title.motion-pending {
  transform: translate3d(0, 12px, 0);
  clip-path: inset(0 0 100% 0);
}
.motion-clip.motion-pending {
  opacity: 1;
  transform: none;
  clip-path: inset(0 0 100% 0);
}
.motion-soft.motion-pending {
  transform: translate3d(0, 8px, 0);
}
.motion-reveal:focus-within {
  opacity: 1;
  transform: none;
  clip-path: inset(0);
  transition: none;
}
.brand-intro {
  position: fixed;
  left: 50%;
  top: 24px;
  transform: translateX(-50%);
  z-index: 60;
  width: min(290px, 75vw);
  padding: 18px 24px;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 8px 32px #072f5426;
  pointer-events: none;
  animation: brand-intro 1150ms ease both;
}
.brand-intro img {
  display: block;
  width: 100%;
  height: auto;
}
@keyframes brand-intro {
  0% {
    opacity: 0;
    translate: 0 6px;
  }
  18%,
  65% {
    opacity: 1;
    translate: 0 0;
  }
  100% {
    opacity: 0;
    translate: 0 -12px;
  }
}
body > header {
  position: relative;
  transition: box-shadow 220ms ease;
}
.header-marker {
  position: absolute;
  top: 0;
  left: 0;
  width: 1px;
  height: 1px;
  pointer-events: none;
}
body > header.has-scrolled {
  box-shadow: 0 6px 24px #072f5424;
}
.portfolio-capture {
  isolation: isolate;
}
.portfolio-capture:after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 2;
  background: #031724;
  opacity: 0;
  pointer-events: none;
  transition: opacity 240ms ease;
}
.portfolio-capture img {
  transition: transform 350ms ease;
}
.capture-open {
  z-index: 3;
  padding: 7px 12px;
  border-radius: 20px;
  background: #072f54;
  color: #fff;
}
.project-cursor {
  display: none;
  position: absolute;
  left: 0;
  top: 0;
  z-index: 4;
  padding: 10px 16px;
  border-radius: 24px;
  background: #55d0ca;
  color: #072f54;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
  pointer-events: none;
}
.portfolio-capture:focus-within:after {
  opacity: 0.28;
}
.portfolio-capture:focus-within .capture-open {
  outline: 2px solid #55d0ca;
  outline-offset: 3px;
}
@media (hover: hover) and (pointer: fine) {
  .portfolio-capture:hover:after {
    opacity: 0.36;
  }
  .portfolio-capture:hover img {
    transform: scale(1.025);
  }
  .portfolio-capture.cursor-active .project-cursor {
    display: block;
  }
  .pipia-projects .project:hover,
  .pipia-projects .project:focus-within {
    transform: none;
  }
}
.button,
.text-link,
.hero-phone {
  transition:
    transform 180ms ease,
    box-shadow 180ms ease;
}
.button:hover,
.text-link:hover,
.hero-phone:hover {
  transform: translateY(-2px);
}
footer a {
  transition: color 160ms ease;
  text-underline-offset: 4px;
}
footer a:hover,
footer a:focus-visible {
  color: #55d0ca;
  text-decoration: underline;
}
@media (max-width: 720px) {
  .motion-pending {
    transform: translate3d(0, 10px, 0);
  }
  .motion-reveal {
    transition-duration: 420ms;
    transition-delay: 0ms !important;
  }
  .hero .parallax-layer {
    transform: none;
    will-change: auto;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto !important;
  }
  *,
  *:before,
  *:after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
  .motion-pending {
    opacity: 1 !important;
    transform: none !important;
    clip-path: none !important;
  }
  .brand-intro,
  .project-cursor {
    display: none !important;
  }
  .portfolio-capture:hover img,
  .pipia-projects .project:hover,
  .pipia-projects .project:focus-within,
  .button:hover,
  .text-link:hover,
  .hero-phone:hover,
  .whatsapp-float:hover {
    transform: none !important;
  }
  .parallax-layer {
    transform: none !important;
    will-change: auto !important;
  }
}
@media print {
  .motion-pending {
    opacity: 1;
    transform: none;
    clip-path: none;
  }
  .brand-intro,
  .project-cursor {
    display: none;
  }
}
