/* === THE TEAM PAGE - HERO SECTION === */

.fa-team-hero *, .fa-team-hero ::before, .fa-team-hero ::after {
  box-sizing: border-box;
  margin: 0px;
  padding: 0px;
}

.fa-team-hero {
  position: relative;
  min-height: 100vh;
  width: 100%;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: rgb(26, 24, 21);
  font-family: Merriweather, Georgia, serif;
}

.fa-team-hero-photo {
  position: absolute;
  inset: 0px;
  background-image: url("/img/the-team-at-findability.jpg");
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
}

.fa-team-hero-overlay {
  position: absolute;
  inset: 0px;
  background: linear-gradient(135deg, rgba(26, 24, 21, 0.82) 0%, rgba(26, 24, 21, 0.6) 50%, rgba(26, 24, 21, 0.45) 100%);
  z-index: 1;
}

.fa-team-hero-glow {
  position: absolute;
  inset: 0px;
  background: radial-gradient(at 20% 50%, rgba(0, 105, 177, 0.08) 0%, transparent 60%), radial-gradient(at 80% 80%, rgba(237, 140, 42, 0.06) 0%, transparent 50%);
  z-index: 2;
  pointer-events: none;
}

.fa-team-hero-content {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: 1200px;
  margin: 0px auto;
  padding: 8rem 2rem 6rem;
}

.fa-team-hero-inner {
  max-width: 640px;
}

.fa-team-animate {
  opacity: 0;
  animation: 1.2s cubic-bezier(0.22, 1, 0.36, 1) 0s 1 normal forwards running fa-blur-slide;
}

.fa-team-delay-1 { animation-delay: 0.3s; }
.fa-team-delay-2 { animation-delay: 0.45s; }
.fa-team-delay-3 { animation-delay: 0.6s; }
.fa-team-delay-4 { animation-delay: 0.75s; }
.fa-team-delay-5 { animation-delay: 0.9s; }

.fa-team-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  margin-bottom: 2rem;
}

.fa-team-badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgb(237, 140, 42);
  box-shadow: rgba(237, 140, 42, 0.5) 0px 0px 8px;
}

.fa-team-badge span {
  font-family: Lato, sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.6);
  letter-spacing: 0.04em;
}

.fa-team-headline {
  font-family: Lato, sans-serif;
  font-size: clamp(2.8rem, 6vw, 4.5rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
  color: rgb(255, 255, 255);
}

.fa-team-headline-line2 {
  display: block;
  color: rgb(237, 140, 42);
}

.fa-team-subtext {
  font-family: Merriweather, Georgia, serif;
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.75;
  font-weight: 300;
  max-width: 520px;
  margin-bottom: 2.5rem;
}

.fa-team-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.fa-team-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  background: rgb(237, 140, 42);
  color: rgb(255, 255, 255);
  font-family: Lato, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  text-decoration: none;
  transition: 0.2s ease-out;
  box-shadow: rgba(237, 140, 42, 0.3) 0px 4px 20px;
}

.fa-team-btn-primary:hover {
  background: rgb(216, 117, 32);
  transform: translateY(-2px);
  box-shadow: rgba(237, 140, 42, 0.4) 0px 8px 30px;
  color: rgb(255, 255, 255);
}

.fa-team-btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  background: transparent;
  color: rgba(255, 255, 255, 0.7);
  font-family: Lato, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  cursor: pointer;
  text-decoration: none;
  transition: 0.2s ease-out;
}

.fa-team-btn-secondary:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.35);
  color: rgb(255, 255, 255);
  transform: translateY(-2px);
}

.fa-team-btn-arrow {
  display: inline-block;
  width: 16px;
  height: 16px;
  transition: transform 0.2s ease-out;
}

.fa-team-btn-primary:hover .fa-team-btn-arrow {
  transform: translateX(3px);
}

/* === RESPONSIVE === */

@media (prefers-reduced-motion: reduce) {
  .fa-team-animate {
    animation: auto ease 0s 1 normal none running none;
    opacity: 1;
    filter: none;
    transform: none;
  }
}

@media (max-width: 1024px) {
  .fa-team-hero-content {
    max-width: 960px;
    padding: 7rem 2rem 5rem;
  }
  .fa-team-hero-inner {
    max-width: 560px;
  }
  .fa-team-headline {
    font-size: clamp(2.4rem, 5.5vw, 3.5rem);
  }
}

@media (max-width: 768px) {
  .fa-team-hero {
    min-height: 85vh;
  }
  .fa-team-hero-content {
    padding: 6.5rem 1.5rem 4rem;
  }
  .fa-team-hero-inner {
    max-width: 480px;
  }
  .fa-team-hero-overlay {
    background: linear-gradient(rgba(26, 24, 21, 0.7) 0%, rgba(26, 24, 21, 0.65) 40%, rgba(26, 24, 21, 0.8) 100%);
  }
  .fa-team-hero-photo {
    background-position: 60% 20%;
  }
  .fa-team-headline {
    font-size: clamp(2.2rem, 6vw, 3rem);
    margin-bottom: 1.25rem;
  }
  .fa-team-subtext {
    font-size: 0.95rem;
    margin-bottom: 2rem;
  }
  .fa-team-badge {
    margin-bottom: 1.5rem;
  }
}

@media (max-width: 480px) {
  .fa-team-hero {
    min-height: 100svh;
  }
  .fa-team-hero-content {
    padding: 6rem 1.25rem 3rem;
  }
  .fa-team-hero-inner {
    max-width: 100%;
  }
  .fa-team-hero-overlay {
    background: linear-gradient(rgba(26, 24, 21, 0.78) 0%, rgba(26, 24, 21, 0.72) 40%, rgba(26, 24, 21, 0.88) 100%);
  }
  .fa-team-hero-photo {
    background-position: 55% 20%;
  }
  .fa-team-headline {
    font-size: 2rem;
    margin-bottom: 1rem;
  }
  .fa-team-subtext {
    font-size: 0.9rem;
    line-height: 1.65;
    margin-bottom: 1.75rem;
  }
  .fa-team-badge {
    margin-bottom: 1.25rem;
    padding: 5px 12px;
  }
  .fa-team-badge span {
    font-size: 0.75rem;
  }
  .fa-team-buttons {
    flex-direction: column;
    align-items: stretch;
  }
  .fa-team-btn-primary, .fa-team-btn-secondary {
    justify-content: center;
    padding: 14px 24px;
  }
}
