/* Movement shared by the six pages. */
.brand-copy strong {
  background: linear-gradient(105deg, #fff 0%, #fff 32%, var(--sage) 48%, #fff 62%, #fff 100%);
  background-size: 230% 100%;
  background-position: 100% center;
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 7px rgba(255, 255, 255, .2));
  animation: brand-lustre 5.5s ease-in-out infinite;
}
@keyframes brand-lustre {
  0%, 16% { background-position: 100% center; }
  63%, 100% { background-position: -100% center; }
}
.footer-contact-link small {
  display: block;
  margin-top: 2px;
  color: white;
  font-size: .82rem;
  font-weight: 800;
  letter-spacing: .04em;
  text-align: right;
}
.contact-method-card [data-phone-display] { font-size: 1.05rem; letter-spacing: .04em; }
body .site-header {
  position: fixed;
  transition: top .35s ease, transform .35s ease;
}
body .site-header.is-scrolled { top: 9px; }
body .site-header.is-hidden { transform: translateY(calc(-100% - 18px)); pointer-events: none; }
body .site-header.is-hidden:focus-within { transform: none; pointer-events: auto; }
body .site-header.is-scrolled .nav-shell {
  background: rgba(var(--theme-rgb), .88);
  box-shadow: 0 18px 48px rgba(0, 0, 0, .2), inset 0 1px rgba(255, 255, 255, .15);
}
@media (min-width: 901px) {
  body .site-header.is-scrolled .nav-shell {
    height: 100px;
    grid-template-rows: 46px 36px;
    transition: height .35s ease, grid-template-rows .35s ease, background .35s ease, box-shadow .35s ease;
  }
}
main [id] { scroll-margin-top: 145px; }

.scroll-progress {
  position: fixed;
  z-index: 100;
  top: 0;
  right: 0;
  width: var(--scroll-progress, 0%);
  height: 3px;
  background: var(--sage);
  box-shadow: 0 0 13px var(--sage);
  opacity: 0;
  pointer-events: none;
  transition: width .12s linear, opacity .25s ease;
}
.scroll-progress.is-active { opacity: 1; }

.motion-enabled .site-header { animation: motion-header .8s cubic-bezier(.2, .7, .2, 1) both; }
.motion-enabled .hero-slide.is-active .hero-image { animation: motion-photo 1.15s cubic-bezier(.18, .75, .2, 1) both; }
.motion-enabled .hero-slide.is-active .hero-copy > *,
.motion-enabled .service-hero-copy > * { animation: motion-hero-text .75s cubic-bezier(.2, .7, .2, 1) both; }
.motion-enabled .hero-slide.is-active .hero-copy > :nth-child(1),
.motion-enabled .service-hero-copy > :nth-child(1) { animation-delay: .12s; }
.motion-enabled .hero-slide.is-active .hero-copy > :nth-child(2),
.motion-enabled .service-hero-copy > :nth-child(2) { animation-delay: .22s; }
.motion-enabled .hero-slide.is-active .hero-copy > :nth-child(3),
.motion-enabled .service-hero-copy > :nth-child(3) { animation-delay: .33s; }
.motion-enabled .hero-slide.is-active .hero-copy > :nth-child(4),
.motion-enabled .service-hero-copy > :nth-child(4) { animation-delay: .45s; }
.motion-enabled .slider-controls { animation: motion-hero-text .75s .6s both; }
@keyframes motion-header { from { opacity: 0; translate: 0 -20px; } to { opacity: 1; translate: 0 0; } }
@keyframes motion-photo { from { opacity: .45; scale: 1.04; } to { opacity: 1; scale: 1; } }
@keyframes motion-hero-text { from { opacity: 0; translate: 0 25px; } to { opacity: 1; translate: 0 0; } }

.motion-item {
  opacity: 0;
  translate: 0 30px;
  transition: opacity .76s ease, translate .76s cubic-bezier(.2, .7, .2, 1);
  transition-delay: var(--motion-delay, 0ms);
}
.motion-item.motion-scale { scale: .965; transition-property: opacity, translate, scale; }
.motion-item.is-visible { opacity: 1; translate: 0 0; scale: 1; }
.motion-item.motion-from-side { translate: 34px 0; }
.motion-item.motion-from-side.is-visible { translate: 0 0; }

.nav-link { position: relative; }
.nav-link::after {
  content: "";
  position: absolute;
  right: 20%;
  bottom: 2px;
  width: 60%;
  height: 2px;
  border-radius: 2px;
  background: var(--sage);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .3s ease;
}
.nav-link:hover::after,
.nav-link.is-active::after { transform: scaleX(1); }

.button,
.header-cta { position: relative; overflow: hidden; }
.button::after,
.header-cta::after {
  content: "";
  position: absolute;
  inset: -40% auto -40% -55%;
  width: 35%;
  transform: skewX(-22deg) translateX(-350%);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .37), transparent);
  pointer-events: none;
  transition: transform .7s ease;
}
.button:hover::after,
.header-cta:hover::after { transform: skewX(-22deg) translateX(800%); }
.service-card:hover,
.feature-card:hover,
.space-card:hover,
.gallery-item:hover,
.photo-tile:hover,
.contact-method-card:hover,
.journey-step:hover,
.use-grid article:hover { will-change: transform; }
.journey-step,
.use-grid article,
.contact-method-card { transition: transform .32s ease, box-shadow .32s ease, border-color .32s ease; }
.journey-step:hover,
.use-grid article:hover,
.contact-method-card:hover { transform: translateY(-7px); box-shadow: 0 22px 38px rgba(var(--theme-rgb), .16); }
.hero-image { transition: translate .45s ease-out; translate: var(--hero-x, 0px) var(--hero-y, 0px); }
.section-reveal.is-visible::before { background-size: 160% 160%; animation: motion-glow 16s ease-in-out infinite alternate; }
@keyframes motion-glow { to { background-position: 100% 70%; } }

@media (max-width: 900px) {
  body .site-header.is-scrolled .nav-shell { height: 68px; }
}
@media (max-width: 650px) {
  body .site-header.is-scrolled .nav-shell { height: 64px; }
  main [id] { scroll-margin-top: 86px; }
  .motion-item { translate: 0 20px; }
  .motion-item.motion-from-side { translate: 20px 0; }
}
@media (prefers-reduced-motion: reduce) {
  .brand-copy strong { animation: none !important; background: none; color: white; }
  body .site-header,
  body .site-header.is-scrolled .nav-shell,
  .scroll-progress,
  .hero-image,
  .nav-link::after,
  .button::after,
  .header-cta::after { animation: none !important; transition: none !important; }
  .motion-item { opacity: 1 !important; translate: none !important; scale: 1 !important; transition: none !important; }
  .section-reveal.is-visible::before { animation: none !important; }
}
