/* Revision layer for the April 2026 All Pro Builders content update. */

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 1000;
  transform: translateY(-160%);
  padding: 0.75rem 1rem;
  border-radius: 999px;
  background: #f4b942;
  color: #0d1a22;
  font-family: "Lato", sans-serif;
  font-size: 0.875rem;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

.skip-link:focus {
  transform: translateY(0);
  outline: 3px solid #fff;
  outline-offset: 2px;
}

.hero-image {
  object-position: center center;
  filter: brightness(0.58) saturate(0.96) contrast(1.02);
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(5, 9, 12, 0.82), rgba(5, 9, 12, 0.52) 48%, rgba(5, 9, 12, 0.18)),
    linear-gradient(0deg, rgba(5, 9, 12, 0.36), rgba(5, 9, 12, 0.08));
}

.hero-content {
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.55);
}

.hero-title,
.hero-body {
  color: #fff;
}

.hero-title em {
  color: #d99a22;
}

.hero-title em,
.about-hero-title em,
.cta-title em {
  display: block;
}

.service-desc,
.portfolio-card-meta,
.story-body p,
.footer-tagline {
  max-width: 68ch;
}

.portfolio-card-overlay {
  background: linear-gradient(180deg, rgba(9, 16, 22, 0.12), rgba(9, 16, 22, 0.82));
}

.portfolio-card-type {
  letter-spacing: 0.08em;
}

.team-card {
  min-height: 0;
}

.team-card-info {
  min-height: 15rem;
}

.about-hero-img,
.portfolio-card-img {
  background: #d8d4ca;
}

@media (max-width: 760px) {
  .site-nav {
    flex-direction: column !important;
    align-items: flex-start;
    gap: 0.65rem;
    padding-inline: 1.25rem;
    padding-bottom: 0.75rem;
  }

  .nav-logo {
    width: 100%;
  }

  .nav-logo-main {
    white-space: nowrap;
    font-size: clamp(1.05rem, 6vw, 1.45rem);
    line-height: 0.9;
  }

  .nav-logo-sub {
    white-space: nowrap;
    font-size: 0.52rem;
    letter-spacing: 0.18em;
  }

  .nav-links {
    display: flex !important;
    width: 100%;
    gap: 0.75rem;
    justify-content: flex-start;
    overflow-x: auto;
    padding: 0.1rem 0 0.15rem;
    scrollbar-width: none;
  }

  .nav-links::-webkit-scrollbar {
    display: none;
  }

  .nav-links a {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
    font-size: 0.68rem;
  }

  .nav-cta {
    padding-inline: 0.85rem;
  }

  .hero-scroll-indicator {
    display: none;
  }

  .hero-title em,
  .about-hero-title em {
    margin-top: 0.15em;
  }

  .hero-actions,
  .cta-contact {
    align-items: stretch;
  }

  .hero-actions a,
  .cta-contact a {
    justify-content: center;
    text-align: center;
  }

  .portfolio-card {
    min-width: min(84vw, 21rem);
  }
}
