.team-page-main {
  padding-bottom: 28px;
  padding-top: 28px;
}

.team-page-hero {
  background:
    radial-gradient(540px 260px at 8% -10%, rgba(20, 155, 215, 0.13), transparent 72%),
    radial-gradient(360px 240px at 92% 120%, rgba(10, 58, 89, 0.09), transparent 70%),
    #f7fbfe;
  border: 1px solid #dbe7f1;
  border-radius: 20px;
  margin-bottom: 18px;
  padding: 28px;
}

.team-page-hero h1 {
  color: #0b2233;
  font-family: "Sora", "Manrope", "Inter", sans-serif;
  font-size: clamp(34px, 4vw, 52px);
  letter-spacing: -0.04em;
  line-height: 1.06;
  margin: 0 0 12px;
  max-width: 720px;
}

.team-page-hero p:not(.eyebrow) {
  color: #3d5366;
  font-size: 16px;
  line-height: 1.62;
  margin: 0;
  max-width: 760px;
}

.team-featured-section,
.team-category-block,
.team-page-cta,
.team-empty-state {
  background: #ffffff;
  border: 1px solid #dce8f2;
  border-radius: 18px;
  box-shadow: 0 8px 18px rgba(8, 36, 57, 0.04);
  margin-bottom: 16px;
  padding: 22px;
}

.team-category-block h2,
.team-page-cta h2,
.team-empty-state h2 {
  color: #0f2232;
  font-size: clamp(26px, 2.4vw, 34px);
  margin: 0 0 16px;
}

.team-featured-section {
  padding-top: 18px;
}

.team-featured-section-head {
  border-bottom: 1px solid #e6eef5;
  margin-bottom: 16px;
  padding: 0 0 14px;
}

.team-featured-section-head .eyebrow {
  margin-bottom: 8px;
}

.team-featured-section-head h2 {
  color: #0f2232;
  font-size: clamp(30px, 2.8vw, 40px);
  letter-spacing: -0.03em;
  line-height: 1.08;
  margin: 0;
}

.team-featured-section-head p:not(.eyebrow) {
  color: #486072;
  font-size: 14px;
  line-height: 1.6;
  margin: 8px 0 0;
  max-width: 58ch;
}

.team-featured-list {
  display: grid;
  gap: 14px;
}

.team-featured-card {
  align-items: start;
  background: linear-gradient(180deg, #fcfeff 0%, #f8fbff 100%);
  border: 1px solid #d2e3ef;
  border-top: 2px solid #0f7bb0;
  border-radius: 16px;
  display: grid;
  gap: clamp(28px, 4vw, 56px);
  grid-template-columns: minmax(260px, 360px) minmax(0, 1fr);
  padding: clamp(16px, 2.4vw, 24px);
}

.team-photo {
  aspect-ratio: 4 / 5;
  border: 1px solid #d7e6f1;
  border-radius: 18px;
  overflow: hidden;
  width: 100%;
}

.team-photo img {
  display: block;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.2s ease;
  width: 100%;
}

.team-featured-copy {
  min-width: 0;
}

.team-featured-copy h3,
.team-profile-body h3 {
  color: #0f2232;
  margin: 0;
}

.team-featured-copy h3 {
  font-size: clamp(32px, 3vw, 48px);
  letter-spacing: -0.03em;
  line-height: 1.03;
}

.team-featured-kicker {
  color: #a7731d;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.11em;
  margin: 0 0 10px;
  text-transform: uppercase;
}

.team-featured-role {
  color: #0f6d9e;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.01em;
  margin: 14px 0 0;
}

.team-featured-location {
  color: #4e6476;
  font-size: 15px;
  font-weight: 600;
  margin: 6px 0 0;
}

.team-featured-bio-wrap {
  margin-top: 16px;
  max-width: 78ch;
  min-width: 0;
}

.team-profile-role {
  color: #1a567a;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.03em;
  margin: 6px 0 0;
  text-transform: uppercase;
}

.team-profile-location {
  color: #4f677a;
  font-size: 14px;
  font-weight: 600;
  margin: 6px 0 0;
}

.team-featured-bio,
.team-profile-bio,
.team-page-cta p,
.team-empty-state p {
  color: #3f5667;
  line-height: 1.7;
}

.team-featured-bio {
  font-size: 17px;
  margin: 0 0 12px;
  max-width: 82ch;
}

.team-featured-quote {
  border-left: 2px solid #89b8d6;
  color: #355266;
  font-size: 14px;
  font-style: italic;
  line-height: 1.65;
  margin: 6px 0 0;
  max-width: 62ch;
  padding-left: 12px;
}

.team-category-sections {
  display: grid;
  gap: 0;
}

.team-cards-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.team-profile-card {
  background: #fbfdff;
  border: 1px solid #d7e5ef;
  border-radius: 15px;
  display: grid;
  gap: 0;
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.team-profile-body {
  border-top: 1px solid #deebf4;
  display: grid;
  gap: 7px;
  padding: 14px;
}

.team-profile-body h3 {
  font-size: 22px;
  line-height: 1.12;
}

.team-profile-bio {
  font-size: 15px;
  margin: 0;
}

.team-profile-links {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 2px;
}

.team-profile-links a {
  background: #ffffff;
  border: 1px solid #b6d3e4;
  border-radius: 999px;
  color: #0f5e8a;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.03em;
  padding: 7px 11px;
  text-decoration: none;
  text-transform: uppercase;
}

.team-profile-links a:focus-visible {
  outline: 2px solid #149bd7;
  outline-offset: 2px;
}

.team-featured-links {
  margin-top: 12px;
}

.team-page-cta {
  align-items: start;
  display: grid;
  gap: 8px;
}

.team-page-cta p {
  font-size: 15px;
  margin: 0;
  max-width: 56ch;
}

.team-empty-state .btn,
.team-page-cta .btn {
  justify-self: start;
}

@media (hover: hover) {
  .team-profile-card:hover {
    border-color: #99c5de;
    box-shadow: 0 11px 22px rgba(9, 40, 64, 0.1);
    transform: translateY(-2px);
  }

  .team-featured-card:hover {
    border-color: #a8c8dc;
    box-shadow: 0 11px 22px rgba(9, 40, 64, 0.08);
  }

  .team-profile-card:hover .team-photo img,
  .team-featured-card:hover .team-photo img {
    transform: scale(1.02);
  }
}

@media (prefers-reduced-motion: reduce) {
  .team-profile-card,
  .team-photo img {
    transition: none;
  }
}

@media (max-width: 1080px) {
  .team-featured-card {
    gap: 26px;
    grid-template-columns: 260px minmax(0, 1fr);
  }

  .team-cards-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .team-featured-card {
    gap: 18px;
    grid-template-columns: 1fr;
  }

  .team-featured-copy h3 {
    font-size: clamp(30px, 7vw, 40px);
  }

  .team-featured-role {
    font-size: 15px;
  }

  .team-featured-location {
    font-size: 14px;
  }

  .team-featured-bio {
    font-size: 16px;
  }
}

@media (max-width: 780px) {
  .team-page-main {
    padding-top: 20px;
  }

  .team-page-hero,
  .team-featured-section,
  .team-category-block,
  .team-page-cta,
  .team-empty-state {
    border-radius: 14px;
    padding: 16px;
  }

  .team-page-hero h1 {
    font-size: clamp(30px, 8vw, 40px);
  }

  .team-cards-grid {
    grid-template-columns: 1fr;
  }
}
