/* Projects hero, adapted from the Vistal Services full-image composition. */
body.page-projects { background: #272d31; color: #fff; }
.page-projects .hero-nav { color: #fff; }
.page-projects .hero-nav.is-scrolled { background: rgba(18,20,21,.9); color: #fff; }
.page-projects .hero-contact { background: #fff; border-color: #fff; color: #111; }
.page-projects .hero-contact:hover { background: #111; color: #fff; }

.projects-hero {
  display: block;
  min-height: max(800px, 100svh);
  padding: 0;
  background: #3c444a;
  color: #fff;
  isolation: isolate;
}
.projects-visual {
  position: absolute;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  min-height: 0;
  margin: 0;
  border-radius: 0;
  overflow: hidden;
  background: #3c444a;
  animation: none;
}
.projects-visual img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 48%;
  transform: none;
  transition: none;
}
.projects-visual:hover img { transform: none; }
.projects-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(13,20,24,.74) 0%, rgba(13,20,24,.55) 37%, rgba(13,20,24,.15) 74%, rgba(13,20,24,.08) 100%);
}
.projects-copy {
  position: relative;
  z-index: 1;
  max-width: 820px;
  padding: clamp(140px, 16.5vh, 170px) 3.75rem 100px;
  color: #fff;
  animation: page-rise .8s both;
}
.page-projects .projects-copy .page-kicker { color: #fff; font-size: 13px; letter-spacing: .02em; }
.projects-copy h1 {
  margin: 30px 0 28px;
  color: #fff;
  font-size: clamp(62px, 5vw, 72px);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: -.055em;
}
.projects-copy p {
  max-width: 520px;
  margin: 0 0 44px;
  color: #fff;
  font-size: clamp(16px, 1.25vw, 19px);
  font-weight: 500;
  line-height: 1.38;
}
.projects-cta {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  min-height: 58px;
  padding: 7px 8px 7px 23px;
  border-radius: 99px;
  background: #fff;
  color: #080808;
  text-decoration: none;
  font-size: 14px;
  font-weight: 400;
  transition: transform .25s ease;
}
.projects-cta:hover { transform: translateY(-2px); }
.projects-cta-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #080808;
  color: #fff;
  font-size: 20px;
  line-height: 1;
}
.projects-caption {
  position: absolute;
  z-index: 1;
  left: auto;
  right: 3.75rem;
  bottom: 30px;
  display: block;
  max-width: 230px;
  color: #fff;
  font-size: 10px;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: .09em;
  text-align: right;
  text-transform: uppercase;
}

@media (max-width: 767px) {
  .page-projects .hero-nav { color: #fff; }
  .page-projects.menu-open .hero-nav { color: #050505 !important; }
  .projects-hero { min-height: max(760px, 100svh); padding: 0; }
  .projects-visual { min-height: 0; border-radius: 0; }
  .projects-visual img { object-position: 61% center; }
  .projects-visual::after { background: linear-gradient(90deg, rgba(13,20,24,.73), rgba(13,20,24,.34) 72%, rgba(13,20,24,.2)); }
  .projects-copy { max-width: 100%; padding: 120px 1rem 85px; }
  .page-projects .projects-copy .page-kicker { font-size: 12px; }
  .projects-copy h1 { margin: 29px 0 26px; font-size: clamp(46px, 12.3vw, 60px); line-height: 1.03; letter-spacing: -.055em; }
  .projects-copy p { max-width: 350px; margin: 0 0 34px; font-size: 16px; line-height: 1.35; }
  .projects-cta { min-height: 56px; padding-left: 22px; }
  .projects-caption { right: 1rem; bottom: 18px; font-size: 9px; }
}
@media (prefers-reduced-motion: reduce) {
  .projects-copy { animation: none; }
  .projects-cta { transition: none; }
}
