:root {
  --motion-green: #23c84f;
  --motion-dark: #101810;
  --motion-shadow: 0 18px 42px rgba(12, 27, 13, .18);
}

html {
  scroll-behavior: smooth;
}

body .btn,
body .location-button,
body .location-map__tab,
body .location-gallery__thumb,
body .project-carousel-button,
body .soc-icon .link,
body a[href^="tel:"],
body a[href^="mailto:"] {
  transition:
    transform .24s ease,
    box-shadow .24s ease,
    background-color .24s ease,
    color .24s ease,
    border-color .24s ease,
    opacity .24s ease;
}

body .btn:hover,
body .location-button:hover,
body .location-map__tab:hover {
  transform: translateY(-3px);
  box-shadow: var(--motion-shadow);
}

body .btn:active,
body .location-button:active,
body .location-map__tab:active {
  transform: translateY(-1px) scale(.99);
}

body .soc-icon .link:hover {
  transform: translateY(-3px) scale(1.08);
}

body .widget-element,
body .location-card,
body .w-person.layout_cards,
body .feature,
body .location-gallery__stage,
body .location-map {
  transition:
    transform .28s ease,
    box-shadow .28s ease,
    border-color .28s ease,
    filter .28s ease;
}

body .widget-element:hover,
body .location-card:hover,
body .w-person.layout_cards:hover {
  transform: translateY(-6px);
  box-shadow: var(--motion-shadow);
}

body .widget-image img,
body .location-gallery img,
body .location-gallery video,
body .bgimage {
  transition: transform .5s ease, filter .5s ease;
}

body .widget-element:hover .widget-image img,
body .w-person.layout_cards:hover img,
body .location-gallery__stage:hover img,
body .location-gallery__stage:hover video {
  transform: scale(1.035);
}

body .location-gallery__nav,
body .project-carousel-button {
  transition:
    transform .2s ease,
    background-color .2s ease,
    color .2s ease,
    box-shadow .2s ease;
}

body .location-gallery__nav:hover,
body .project-carousel-button:hover {
  transform: translateY(-50%) scale(1.08);
}

body .location-gallery__thumb:hover {
  transform: translateY(-3px);
  opacity: 1;
}

body .w-menu-grid a,
body nav a {
  position: relative;
}

body .w-menu-grid a .text,
body nav a span {
  transition: color .22s ease;
}

body .w-menu-grid a:hover .text,
body nav a:hover span {
  color: var(--motion-green);
}

/* Home page polish */
body .node.css1 .w-menu-grid a .text,
body .node.css1 .btn.css12 .text,
body .node.css1 .btn.css73 .text {
  font-size: 16px !important;
  font-weight: 600 !important;
}

body .node.css30 {
  overflow: hidden !important;
}

body .node.css30 > .wrapper1 {
  animation: lpHeroSlowZoom 22s ease-in-out infinite alternate !important;
  transform-origin: center center;
  will-change: transform;
}

body .node.css30 > .wrapper1 > .wrapper2 {
  background: linear-gradient(
    90deg,
    rgba(0, 0, 0, .74) 0%,
    rgba(0, 0, 0, .58) 24%,
    rgba(0, 0, 0, .20) 42%,
    rgba(0, 0, 0, .04) 56%,
    rgba(0, 0, 0, 0) 100%
  ) !important;
}

body #catalog .node.widget-element > .wrapper1 {
  background-size: cover !important;
  background-position: center center !important;
  border-radius: 8px !important;
  transition: background-image .2s ease !important;
}

body #catalog .node.widget-element > .wrapper1 > .wrapper2 {
  background: transparent !important;
  background-color: transparent !important;
}

body #catalog .node.widget-element {
  isolation: isolate;
  border-radius: 8px !important;
  overflow: hidden !important;
  transform: none !important;
}

body #catalog .node.widget-element > .cont {
  position: relative;
  z-index: 2;
}

body #catalog .node.widget-element:hover {
  transform: translateY(-4px) !important;
}

body #catalog .textable {
  text-shadow: 0 2px 12px rgba(0, 0, 0, .55);
}

body #catalog .node.widget-grid.css38 > .grid.valign-middle > .gridwrap > .col:has(.btn.css55) {
  display: none !important;
}

body #catalog .node.widget-grid.css38 > .grid.valign-middle > .gridwrap > .col:has(.btn.css61) {
  width: 100% !important;
}

body #catalog .button-container.full,
body #catalog .button-container.full .button-wrapper,
body #catalog .btn.css61 {
  width: 100% !important;
}

body #catalog .btn.css61 {
  min-height: 52px !important;
  border-radius: 8px !important;
  font-size: 18px !important;
  font-weight: 900 !important;
}

body .btn.css60,
body .btn.css61 {
  min-height: 50px !important;
  font-size: 17px !important;
  font-weight: 900 !important;
}

body #catalog .lp-card-gallery {
  pointer-events: auto;
  z-index: 80;
}

body #catalog a,
body #catalog a *,
body .lp-products a,
body .lp-products a * {
  text-decoration: none !important;
}

body .location-card__meta a,
body .location-card__meta a:visited,
body .location-card__meta a:hover {
  color: #101810 !important;
  font-weight: 900 !important;
  text-decoration: none !important;
}

@keyframes lpHeroSlowZoom {
  from {
    transform: scale(1);
  }
  to {
    transform: scale(1.08);
  }
}

.motion-reveal {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity .62s ease,
    transform .62s ease;
  will-change: opacity, transform;
}

.motion-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.motion-reveal:nth-child(2n) {
  transition-delay: .06s;
}

.motion-reveal:nth-child(3n) {
  transition-delay: .12s;
}

.motion-float {
  animation: motion-float 5.5s ease-in-out infinite;
}

@keyframes motion-float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: .001ms !important;
  }

  .motion-reveal {
    opacity: 1;
    transform: none;
  }
}
