:root {
  --team-navy: #07172b;
  --team-blue: #1626c9;
  --team-ink: #152033;
  --team-muted: #647184;
  --team-line: #dfe5ec;
  --team-soft: #f3f6f9;
  --team-white: #fff;
}

body.team-page {
  overflow-x: hidden;
  background: var(--team-white);
  color: var(--team-ink);
  font-family: Inter, "Segoe UI", Arial, sans-serif;
}

.team-page .transparent-header {
  border-bottom: 1px solid rgb(255 255 255 / 18%);
  background-color: transparent !important;
  box-shadow: none !important;
  backdrop-filter: none;
}

.team-page .transparent-header:hover {
  background-color: transparent !important;
}

.team-page .transparent-header:hover .nav-link,
.team-page .transparent-header:hover .logo-text,
.team-page .transparent-header:hover .mobile-menu-button,
.team-page header.transparent-header.group\/header:hover .custom-hover-color {
  color: #fff !important;
}

.team-page .group\/header:hover .logo-light {
  opacity: 1 !important;
}

.team-page .group\/header:hover .logo-dark {
  opacity: 0 !important;
}

.team-page .group\/header:hover .custom-hover-line {
  background-color: #fff !important;
}

.team-main {
  overflow: hidden;
}

.team-shell {
  width: min(calc(100% - 48px), 1240px);
  margin-inline: auto;
}

.team-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 18px;
  color: var(--team-blue);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.team-eyebrow::before {
  width: 32px;
  height: 2px;
  background: currentColor;
  content: "";
}

.team-hero {
  position: relative;
  min-height: 370px;
  display: flex;
  align-items: center;
  padding: 120px 0 42px;
  isolation: isolate;
  background: #1a365d;
  color: var(--team-white);
}

.team-hero::before {
  position: absolute;
  inset: 0;
  z-index: -2;
  background: url("../images/about/teamCover.jpg") center 50% / cover no-repeat;
  content: "";
  opacity: 0.7;
}

.team-hero::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: transparent;
  content: "";
}

.team-hero-copy {
  max-width: 760px;
  margin-inline: auto;
  text-align: center;
  text-shadow: 0 2px 12px rgb(0 0 0 / 45%);
}

.team-hero h1 {
  margin: 0;
  font-size: clamp(2.45rem, 4vw, 3.45rem);
  font-weight: 750;
  letter-spacing: -0.035em;
  line-height: 1.05;
}

.team-hero p {
  margin: 18px 0 0;
  color: rgb(255 255 255 / 78%);
  font-size: clamp(1rem, 1.45vw, 1.2rem);
  line-height: 1.65;
}

.team-intro {
  padding: 44px 0 50px;
  background: #fff;
  border-bottom: 1px solid var(--team-line);
}

.team-intro p {
  max-width: 820px;
  margin: 0 auto;
  color: var(--team-muted);
  font-size: 1.02rem;
  line-height: 1.8;
  text-align: center;
}

.founder-section {
  position: relative;
  padding: 78px 0 84px;
  background: #fff;
}

.founder-grid {
  display: grid;
  align-items: center;
  grid-template-columns: minmax(0, 1.06fr) minmax(360px, 0.76fr);
  gap: clamp(45px, 7vw, 90px);
}

.founder-copy h2,
.team-heading h2 {
  margin: 0;
  color: var(--team-ink);
  font-size: clamp(2rem, 2.8vw, 2.75rem);
  font-weight: 750;
  letter-spacing: -0.045em;
  line-height: 1;
}

.founder-role {
  margin: 15px 0 0;
  color: var(--team-blue);
  font-size: 0.82rem;
  font-weight: 780;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.founder-bio {
  margin-top: 28px;
  padding: 27px 0 0;
  border-top: 1px solid var(--team-line);
}

.founder-bio p {
  margin: 0;
  color: var(--team-muted);
  font-size: 1rem;
  line-height: 1.85;
}

.founder-bio p + p {
  margin-top: 22px;
}

.founder-panel {
  position: relative;
  min-height: 445px;
  display: flex;
  overflow: hidden;
  align-items: flex-end;
  padding: 32px;
  isolation: isolate;
  background: var(--team-navy);
  color: var(--team-white);
}

.founder-panel::before {
  position: absolute;
  inset: 0;
  z-index: -2;
  background: url("../images/about2.avif") center / cover no-repeat;
  content: "";
  background-position: center;
  filter: grayscale(0.18) contrast(1.04);
}

.founder-panel::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(0deg, rgb(5 17 32 / 90%) 0%, rgb(5 17 32 / 12%) 80%);
  content: "";
}

.founder-panel-monogram {
  position: absolute;
  top: 22px;
  right: 24px;
  color: rgb(255 255 255 / 16%);
  font-size: clamp(4rem, 7vw, 6.25rem);
  font-weight: 800;
  letter-spacing: -0.08em;
  line-height: 1;
}

.founder-panel-label {
  max-width: 300px;
}

.founder-panel-label span {
  display: block;
  color: rgb(255 255 255 / 58%);
  font-size: 0.67rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.founder-panel-label strong {
  display: block;
  margin-top: 9px;
  font-size: 1.3rem;
  line-height: 1.25;
}

.executive-section {
  max-width: none;
  margin: 0;
  padding: 78px 0 88px;
  background: #f5f7f8;
}

.team-heading {
  display: block;
  max-width: 720px;
  margin: 0 auto 42px;
  text-align: center;
}

.team-heading > p {
  max-width: 570px;
  margin: 16px auto 0;
  color: var(--team-muted);
  line-height: 1.7;
}

.executive-section .team-eyebrow {
  color: var(--team-blue);
}

.executive-section .team-heading h2 {
  color: var(--team-ink);
}

.executive-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 26px;
}

.executive-card {
  position: relative;
  box-sizing: border-box;
  width: calc((100% - 52px) / 3);
  overflow: hidden;
  border: 1px solid #e0e5e9;
  background: #fff;
  transition: box-shadow 200ms ease, transform 200ms ease;
}

.executive-card:hover {
  box-shadow: 0 18px 38px rgb(20 35 58 / 10%);
  transform: translateY(-3px);
}

.executive-photo {
  position: relative;
  height: 325px;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 5%, rgb(255 255 255 / 95%), transparent 36%),
    linear-gradient(145deg, #eef1f3 0%, #dce4e8 100%);
}

.executive-photo::after {
  display: none;
}

.executive-photo img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  max-width: 310px;
  margin: 0 auto;
  object-fit: contain;
  object-position: center bottom;
  filter: drop-shadow(0 13px 16px rgb(8 23 43 / 19%));
}

.executive-card:first-child .executive-photo img {
  object-fit: contain;
  object-position: center bottom;
}

.executive-info {
  min-height: 151px;
  padding: 21px 24px 24px;
}

.executive-region {
  margin: 0 0 8px;
  color: #526279;
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.executive-info h3 {
  margin: 0;
  color: var(--team-ink);
  font-size: 1.2rem;
  font-weight: 750;
  line-height: 1.25;
}

.executive-role {
  margin: 10px 0 0;
  color: var(--team-muted);
  font-size: 0.82rem;
  line-height: 1.55;
}

.team-commitment {
  padding: 75px 0;
  background: var(--team-blue);
  color: var(--team-white);
}

.team-commitment-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
}

.team-commitment p {
  max-width: 820px;
  margin: 0;
  font-size: clamp(1.85rem, 3vw, 3.15rem);
  font-weight: 730;
  letter-spacing: -0.04em;
  line-height: 1.08;
}

.team-commitment a {
  flex: 0 0 auto;
  padding: 14px 21px;
  border: 1px solid rgb(255 255 255 / 62%);
  color: var(--team-white);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
}

@media (max-width: 1024px) {
  .founder-grid {
    grid-template-columns: 1fr;
  }

  .founder-panel {
    min-height: 460px;
  }

  .executive-card {
    width: calc((100% - 26px) / 2);
  }
}

@media (max-width: 760px) {
  .team-shell {
    width: min(calc(100% - 32px), 1240px);
  }

  .team-hero {
    min-height: 390px;
    padding: 135px 0 52px;
  }

  .team-hero::before {
    background-position: 48% center;
  }

  .team-hero h1 {
    font-size: clamp(2.15rem, 10vw, 2.9rem);
  }

  .team-hero p {
    font-size: 0.98rem;
  }

  .team-intro {
    padding: 48px 0;
  }

  .team-intro p {
    font-size: 0.98rem;
    text-align: left;
  }

  .founder-section,
  .executive-section {
    padding: 64px 0;
  }

  .founder-panel {
    min-height: 390px;
    padding: 28px;
  }

  .team-heading {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .executive-card {
    width: 100%;
  }

  .executive-photo {
    height: 315px;
  }

  .team-commitment {
    padding: 56px 0;
  }

  .team-commitment-inner {
    align-items: flex-start;
    flex-direction: column;
    gap: 30px;
  }
}

@media (max-width: 380px) {
  .team-shell {
    width: min(calc(100% - 24px), 1240px);
  }

  .team-hero {
    min-height: 390px;
    padding-top: 122px;
  }

  .executive-photo {
    height: 310px;
  }

  .executive-info {
    padding-inline: 22px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .executive-card {
    transition: none;
  }
}
