/* ============================================================
   SIGLATECH - Our Team
   Shared foundations, navigation, buttons, and footer: homepage.css
   ============================================================ */

.team-page {
  --team-panel: var(--surface);
  --team-panel-soft: var(--brand-ice);
  --team-panel-warm: var(--brand-ivory);
  --team-border: #d7e4e8;
  --team-border-strong: #bfd4da;
  --team-dark-copy: #b8cbd6;
  --team-dark-muted: #829bad;
  background: linear-gradient(180deg, var(--brand-ice), var(--surface) 42%, var(--brand-ivory));
}

.team-page :is(#team-roster, #team-model) {
  scroll-margin-top: var(--nav-scroll-offset);
}

.team-page .nav-links a[aria-current='page'] {
  color: var(--ink);
}

.team-page .nav-links a[aria-current='page']::after {
  width: 100%;
}

.team-page :focus-visible {
  outline: 3px solid var(--cyan-deep);
  outline-offset: 3px;
}

/* ---------- Hero ---------- */
.team-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-block: clamp(72px, 8vw, 112px) clamp(98px, 11vw, 152px);
  background:
    radial-gradient(circle at 13% 9%, rgba(77, 228, 255, 0.2), transparent 34%),
    radial-gradient(circle at 90% 82%, rgba(246, 200, 96, 0.12), transparent 35%),
    linear-gradient(145deg, #071826 0%, #05121e 50%, #092439 100%);
  color: #fff;
}

.team-hero::before {
  position: absolute;
  z-index: -2;
  inset: 0;
  background-image:
    linear-gradient(rgba(165, 212, 234, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(165, 212, 234, 0.04) 1px, transparent 1px);
  background-size: 62px 62px;
  content: '';
  -webkit-mask-image: linear-gradient(112deg, #000 0%, transparent 76%);
  mask-image: linear-gradient(112deg, #000 0%, transparent 76%);
}

.team-hero::after {
  position: absolute;
  z-index: -1;
  top: -180px;
  right: -170px;
  width: 540px;
  aspect-ratio: 1;
  border: 1px solid rgba(77, 228, 255, 0.09);
  border-radius: 50%;
  box-shadow:
    0 0 0 78px rgba(77, 228, 255, 0.018),
    0 0 0 156px rgba(37, 99, 235, 0.014);
  content: '';
}

.team-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(430px, 0.82fr);
  gap: clamp(56px, 8vw, 106px);
  align-items: center;
}

.team-hero-copy {
  position: relative;
  z-index: 2;
  min-width: 0;
}

.team-hero .eyebrow {
  color: var(--cyan);
}

.team-hero h1 {
  max-width: 11.7ch;
  margin-top: 24px;
  color: #fff;
  font-size: clamp(3.15rem, 5.75vw, 5.7rem);
  letter-spacing: -0.06em;
  line-height: 0.96;
}

.team-hero h1 em {
  display: inline-block;
  padding-right: 0.08em;
  background: linear-gradient(102deg, #65eaff 8%, #55caf4 52%, #f6c860 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-style: normal;
}

.team-hero-lead {
  max-width: 60ch;
  margin-top: 27px;
  color: #b8cddd;
  font-size: clamp(1.04rem, 1.5vw, 1.2rem);
  line-height: 1.68;
}

.team-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.team-hero-actions .btn {
  min-height: 54px;
}

.team-hero-signals {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 22px;
  margin-top: 32px;
}

.team-hero-signals li {
  display: flex;
  min-height: 30px;
  align-items: center;
  gap: 9px;
  color: #9eb4c5;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.045em;
  text-transform: uppercase;
}

.team-hero-signals li > span {
  width: 7px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: #5ce6a7;
  box-shadow: 0 0 0 4px rgba(92, 230, 167, 0.12);
}

/* ---------- Responsibility map ---------- */
.team-map {
  position: relative;
  z-index: 2;
  min-width: 0;
  overflow: hidden;
  padding: 15px;
  border: 1px solid rgba(152, 207, 231, 0.22);
  border-radius: 30px;
  background:
    radial-gradient(circle at 96% 0%, rgba(77, 228, 255, 0.16), transparent 29%),
    linear-gradient(145deg, rgba(17, 48, 70, 0.94), rgba(7, 24, 38, 0.97));
  box-shadow:
    inset 0 1px rgba(255, 255, 255, 0.055),
    0 34px 76px rgba(0, 0, 0, 0.35);
}

.team-map::before {
  position: absolute;
  top: 0;
  left: 44px;
  width: 112px;
  height: 3px;
  border-radius: 0 0 var(--r-full) var(--r-full);
  background: linear-gradient(90deg, var(--cyan), var(--gold));
  content: '';
}

.team-map-head {
  display: flex;
  min-height: 58px;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 9px 10px 5px;
  color: #7893a7;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.team-map-head strong {
  display: inline-flex;
  min-height: 32px;
  align-items: center;
  padding: 6px 10px;
  border: 1px solid rgba(151, 202, 225, 0.16);
  border-radius: var(--r-full);
  color: #9ab1c2;
  font-size: 0.62rem;
}

.team-map-core {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  margin-top: 8px;
  padding: 21px;
  border: 1px solid rgba(77, 228, 255, 0.25);
  border-radius: 19px;
  background: linear-gradient(110deg, rgba(77, 228, 255, 0.11), rgba(37, 99, 235, 0.08));
}

.team-map-core > img {
  width: 58px;
  height: 58px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 17px;
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.2);
}

.team-map-core div,
.team-map-core :is(small, strong, span) {
  display: block;
  min-width: 0;
}

.team-map-core small {
  color: #65e7fc;
  font-size: 0.59rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.team-map-core strong {
  margin-top: 4px;
  color: #f4fbff;
  font-family: var(--font-display);
  font-size: 1.08rem;
}

.team-map-core div > span {
  margin-top: 3px;
  color: #8fa9bb;
  font-size: 0.67rem;
  font-weight: 700;
}

.team-map-branches {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 28px;
}

.team-map-branches::before {
  position: absolute;
  top: -18px;
  left: 50%;
  width: calc(50% + 8px);
  height: 18px;
  border-top: 1px solid rgba(102, 225, 250, 0.19);
  border-right: 1px solid rgba(102, 225, 250, 0.19);
  border-left: 1px solid rgba(102, 225, 250, 0.19);
  border-radius: 10px 10px 0 0;
  content: '';
  transform: translateX(-50%);
}

.team-map-branches > div {
  position: relative;
  display: grid;
  grid-template-columns: 31px minmax(0, 1fr);
  min-height: 80px;
  align-content: center;
  column-gap: 10px;
  padding: 13px;
  border: 1px solid rgba(163, 205, 225, 0.12);
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.035);
}

.team-map-branches > div > span {
  display: grid;
  grid-row: 1 / 3;
  width: 29px;
  aspect-ratio: 1;
  place-items: center;
  align-self: center;
  border: 1px solid rgba(117, 225, 246, 0.19);
  border-radius: 9px;
  color: #63e5fb;
  font-family: var(--font-display);
  font-size: 0.59rem;
  font-weight: 800;
}

.team-map-branches strong {
  color: #eaf5fb;
  font-family: var(--font-display);
  font-size: 0.8rem;
  line-height: 1.2;
}

.team-map-branches small {
  margin-top: 3px;
  color: #708ba0;
  font-size: 0.59rem;
  font-weight: 700;
  line-height: 1.25;
}

.team-map > p {
  display: flex;
  min-height: 55px;
  align-items: center;
  margin: 0;
  padding: 13px 12px 3px;
  color: #87a0b2;
  font-size: 0.67rem;
  font-weight: 700;
  line-height: 1.45;
}

/* ---------- Snapshot ---------- */
.team-snapshot {
  position: relative;
  z-index: 5;
  margin-top: -43px;
}

.team-snapshot-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  overflow: hidden;
  padding: 0;
  border: 1px solid #dce6ee;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 24px 58px rgba(7, 24, 38, 0.12);
}

.team-snapshot-grid > div {
  min-width: 0;
  padding: 27px 25px;
}

.team-snapshot-grid > div + div {
  border-left: 1px solid #e4ebf1;
}

.team-snapshot-grid strong,
.team-snapshot-grid span {
  display: block;
}

.team-snapshot-grid strong {
  color: var(--ink);
  font-family: var(--font-display);
  font-size: clamp(1.08rem, 1.7vw, 1.38rem);
  line-height: 1.1;
}

.team-snapshot-grid span {
  margin-top: 7px;
  color: var(--ink-50);
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1.45;
}

/* ---------- Honest model intro ---------- */
.team-intro {
  padding-block: clamp(102px, 12vw, 152px) clamp(78px, 9vw, 112px);
}

.team-intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.94fr) minmax(0, 1.06fr);
  gap: clamp(50px, 8vw, 104px);
  align-items: start;
}

.team-intro h2 {
  max-width: 14ch;
  margin-top: 18px;
  color: var(--ink);
  font-size: clamp(2.15rem, 4.25vw, 3.8rem);
  letter-spacing: -0.05em;
  line-height: 1.02;
}

.team-intro-copy {
  max-width: 65ch;
  padding-top: 32px;
  border-top: 1px solid #cfdae3;
}

.team-intro-copy p {
  color: var(--ink-70);
  font-size: 1.02rem;
  line-height: 1.78;
}

.team-intro-copy p + p {
  margin-top: 20px;
}

/* ---------- Leadership ---------- */
.team-leadership {
  background: #fff;
}

.team-leadership .sec-head {
  max-width: 720px;
}

.team-leadership-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.24fr) minmax(330px, 0.76fr);
  grid-template-rows: repeat(2, minmax(280px, 1fr));
  gap: 18px;
}

.team-lead-card {
  min-width: 0;
  overflow: hidden;
  border-radius: 26px;
}

.team-lead-card--founder {
  display: grid;
  grid-row: 1 / 3;
  grid-template-columns: minmax(220px, 0.76fr) minmax(0, 1.24fr);
  border: 1px solid rgba(77, 228, 255, 0.22);
  color: #fff;
  background:
    radial-gradient(circle at 100% 0%, rgba(77, 228, 255, 0.14), transparent 24rem),
    linear-gradient(145deg, #071927, #092a40);
  box-shadow: 0 28px 68px rgba(7, 24, 38, 0.17);
}

.team-founder-photo {
  position: relative;
  min-width: 0;
  min-height: 626px;
  margin: 0;
  overflow: hidden;
  background: #dbe8ee;
}

.team-founder-photo::before {
  position: absolute;
  z-index: 2;
  inset: 14px;
  border: 1px solid rgba(255, 255, 255, 0.36);
  border-radius: 19px;
  content: '';
  pointer-events: none;
}

.team-founder-photo::after {
  position: absolute;
  inset: 48% 0 0;
  background: linear-gradient(transparent, rgba(5, 17, 28, 0.78));
  content: '';
  pointer-events: none;
}

.team-founder-photo img {
  width: 100%;
  height: 100%;
  min-height: 626px;
  object-fit: cover;
  object-position: 50% 31%;
  transition: transform 700ms var(--ease);
}

.team-lead-card--founder:hover .team-founder-photo img {
  transform: scale(1.025);
}

.team-founder-photo figcaption {
  position: absolute;
  z-index: 3;
  right: 20px;
  bottom: 19px;
  left: 20px;
  color: #e4f5fc;
  font-size: 0.63rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.team-lead-copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: center;
  padding: clamp(32px, 4.4vw, 52px);
}

.team-role-label {
  color: #1683b2;
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.team-lead-card--founder .team-role-label {
  color: var(--cyan);
}

.team-lead-copy h3 {
  margin-top: 12px;
  color: #fff;
  font-size: clamp(2.15rem, 4vw, 3.8rem);
  letter-spacing: -0.05em;
}

.team-title {
  color: #5c7387;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.035em;
  line-height: 1.45;
  text-transform: uppercase;
}

.team-lead-copy .team-title {
  margin-top: 7px;
  color: #8fa9ba;
}

.team-lead-copy > p:not(.team-role-label, .team-title) {
  margin-top: 23px;
  color: #a9bfcd;
  font-size: 0.92rem;
  line-height: 1.72;
}

.team-lead-copy ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 29px;
}

.team-lead-copy li {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  padding: 7px 10px;
  border: 1px solid rgba(161, 207, 227, 0.15);
  border-radius: var(--r-full);
  color: #c7dce8;
  background: rgba(255, 255, 255, 0.035);
  font-size: 0.66rem;
  font-weight: 700;
}

.team-lead-card--compact {
  position: relative;
  display: grid;
  grid-template-columns: 108px minmax(0, 1fr);
  gap: 24px;
  align-items: center;
  padding: 27px 27px 27px 22px;
  border: 1px solid #dce6ee;
  background: #f7fafc;
  box-shadow: 0 14px 34px rgba(7, 24, 38, 0.06);
}

.team-lead-card--compact::before {
  position: absolute;
  top: 0;
  left: 28px;
  width: 76px;
  height: 3px;
  border-radius: 0 0 var(--r-full) var(--r-full);
  background: #9bddea;
  content: '';
}

.team-lead-card--adrian::before {
  background: linear-gradient(90deg, var(--gold), var(--cyan));
}

.team-monogram {
  display: grid;
  width: 100%;
  aspect-ratio: 1;
  place-items: center;
  border: 1px solid #cbe0ea;
  border-radius: 24px;
  color: #087faf;
  background:
    radial-gradient(circle at 70% 24%, rgba(77, 228, 255, 0.34), transparent 42%),
    linear-gradient(145deg, #e9f7fb, #dcecf3);
  box-shadow: inset 0 1px #fff;
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 3.1rem);
  font-weight: 800;
}

.team-lead-card--adrian .team-monogram {
  color: #7e5c13;
  background:
    radial-gradient(circle at 70% 24%, rgba(246, 200, 96, 0.4), transparent 43%),
    linear-gradient(145deg, #f8f2df, #e9e2ce);
}

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

.team-compact-copy h3 {
  margin-top: 8px;
  color: var(--ink);
  font-size: clamp(1.55rem, 2.5vw, 2.1rem);
  letter-spacing: -0.035em;
}

.team-compact-copy .team-title {
  margin-top: 4px;
}

.team-compact-copy > p:not(.team-role-label, .team-title) {
  margin-top: 13px;
  color: var(--ink-70);
  font-size: 0.79rem;
  line-height: 1.58;
}

.team-assignment-label {
  display: inline-flex;
  min-height: 32px;
  align-items: center;
  width: fit-content;
  max-width: 100%;
  margin-top: 16px;
  padding: 6px 9px;
  border: 1px solid #d9e4eb;
  border-radius: var(--r-full);
  color: #5d7588;
  background: #fff;
  font-size: 0.59rem;
  font-weight: 800;
  letter-spacing: 0.045em;
  line-height: 1.35;
  text-transform: uppercase;
}

/* ---------- Specialist collaborators ---------- */
.team-specialists {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 0%, rgba(77, 228, 255, 0.14), transparent 31%),
    radial-gradient(circle at 94% 100%, rgba(37, 99, 235, 0.13), transparent 32%),
    linear-gradient(145deg, #071826, #05121e 58%, #082235);
}

.team-specialists::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  background-image:
    linear-gradient(rgba(165, 212, 234, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(165, 212, 234, 0.035) 1px, transparent 1px);
  background-size: 64px 64px;
  content: '';
  -webkit-mask-image: linear-gradient(120deg, #000, transparent 82%);
  mask-image: linear-gradient(120deg, #000, transparent 82%);
}

.team-specialists-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 34px;
  margin-bottom: 48px;
}

.team-specialists-head .sec-head {
  max-width: 690px;
  margin: 0;
}

.team-specialists .eyebrow {
  color: var(--cyan);
}

.team-specialists .sec-head h2 {
  color: #fff;
}

.team-specialists .sec-head p {
  color: #a9bdcc;
}

.team-specialists-note {
  display: inline-flex;
  min-height: 38px;
  flex: 0 0 auto;
  align-items: center;
  padding: 7px 12px;
  border: 1px solid rgba(77, 228, 255, 0.22);
  border-radius: var(--r-full);
  color: #9edbe8;
  background: rgba(77, 228, 255, 0.055);
  font-size: 0.63rem;
  font-weight: 800;
  letter-spacing: 0.075em;
  text-transform: uppercase;
}

.team-specialist-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 16px;
}

.team-specialist-card {
  position: relative;
  display: flex;
  grid-column: span 2;
  min-width: 0;
  min-height: 365px;
  flex-direction: column;
  overflow: hidden;
  padding: 27px 25px;
  border: 1px solid rgba(160, 204, 225, 0.15);
  border-radius: 23px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.065), rgba(255, 255, 255, 0.025));
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.04);
  transition: border-color 250ms var(--ease), transform 250ms var(--ease), background 250ms var(--ease);
}

.team-specialist-card:nth-child(n + 4) {
  grid-column: span 3;
  min-height: 335px;
}

.team-specialist-card::before {
  position: absolute;
  top: 0;
  left: 26px;
  width: 72px;
  height: 3px;
  border-radius: 0 0 var(--r-full) var(--r-full);
  background: #3f6e89;
  content: '';
}

.team-specialist-card--gold::before {
  background: var(--gold);
}

.team-specialist-card--cyan::before {
  background: var(--cyan);
}

.team-specialist-card:hover {
  border-color: rgba(77, 228, 255, 0.38);
  background: linear-gradient(145deg, rgba(77, 228, 255, 0.08), rgba(255, 255, 255, 0.035));
  transform: translateY(-5px);
}

.team-member-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding-bottom: 25px;
  border-bottom: 1px solid rgba(160, 204, 225, 0.12);
}

.team-member-avatar {
  display: grid;
  width: 54px;
  aspect-ratio: 1;
  place-items: center;
  border: 1px solid rgba(117, 225, 246, 0.2);
  border-radius: 17px;
  color: #63e5fb;
  background: rgba(77, 228, 255, 0.07);
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 800;
}

.team-specialist-card--gold .team-member-avatar {
  border-color: rgba(246, 200, 96, 0.24);
  color: #f7d786;
  background: rgba(246, 200, 96, 0.07);
}

.team-member-head small {
  color: #6f8ba0;
  font-size: 0.61rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.team-specialist-card h3 {
  margin-top: 27px;
  color: #f3f9fc;
  font-size: clamp(1.45rem, 2.5vw, 2rem);
  letter-spacing: -0.035em;
}

.team-specialist-card .team-title {
  margin-top: 5px;
  color: #7f9aac;
}

.team-specialist-card > p:not(.team-title) {
  margin-top: 17px;
  color: #98afbf;
  font-size: 0.84rem;
  line-height: 1.65;
}

.team-specialist-card .team-assignment-label {
  margin-top: auto;
  border-color: rgba(77, 228, 255, 0.17);
  color: #a5bfce;
  background: rgba(255, 255, 255, 0.035);
}

/* ---------- Project team model ---------- */
.team-model {
  background: #f4f7fa;
}

.team-model-grid {
  display: grid;
  grid-template-columns: minmax(300px, 0.73fr) minmax(0, 1.27fr);
  gap: clamp(54px, 8vw, 108px);
  align-items: start;
}

.team-model-intro {
  position: sticky;
  top: 112px;
  min-width: 0;
}

.team-model-intro h2 {
  margin-top: 18px;
  color: var(--ink);
  font-size: clamp(2.15rem, 4.2vw, 3.75rem);
  letter-spacing: -0.048em;
  line-height: 1.02;
}

.team-model-intro > p:not(.eyebrow) {
  margin-top: 20px;
  color: var(--ink-70);
  line-height: 1.72;
}

.team-model-intro .btn {
  min-height: 50px;
  margin-top: 27px;
}

.team-model-steps {
  margin: 0;
  padding: 0;
  border-top: 1px solid #d7e2ea;
  list-style: none;
}

.team-model-steps > li {
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr);
  gap: 22px;
  min-height: 164px;
  align-items: start;
  padding-block: 30px;
  border-bottom: 1px solid #d7e2ea;
}

.team-model-steps > li > span {
  display: grid;
  width: 54px;
  aspect-ratio: 1;
  place-items: center;
  border: 1px solid #cddce6;
  border-radius: 17px;
  color: #087faf;
  background: #fff;
  box-shadow: 0 8px 24px rgba(7, 24, 38, 0.06);
  font-family: var(--font-display);
  font-size: 0.76rem;
  font-weight: 800;
}

.team-model-steps small {
  display: block;
  color: #1683b2;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.team-model-steps h3 {
  margin-top: 5px;
  color: var(--ink);
  font-size: clamp(1.28rem, 2.2vw, 1.72rem);
}

.team-model-steps p {
  max-width: 61ch;
  margin-top: 8px;
  color: var(--ink-70);
  font-size: 0.9rem;
  line-height: 1.65;
}

.team-transparency {
  position: relative;
  overflow: hidden;
  margin-top: 54px;
  padding: clamp(30px, 4.2vw, 48px);
  border: 1px solid rgba(77, 228, 255, 0.22);
  border-radius: 25px;
  background:
    radial-gradient(circle at 100% 0%, rgba(77, 228, 255, 0.13), transparent 25rem),
    linear-gradient(135deg, #071927, #0b2a40);
  box-shadow: 0 22px 54px rgba(7, 24, 38, 0.14);
}

.team-transparency::before {
  position: absolute;
  top: 0;
  left: clamp(30px, 4.2vw, 48px);
  width: 104px;
  height: 3px;
  border-radius: 0 0 var(--r-full) var(--r-full);
  background: linear-gradient(90deg, var(--cyan), var(--gold));
  content: '';
}

.team-transparency-kicker {
  color: var(--cyan);
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.team-transparency h2 {
  max-width: 20ch;
  margin-top: 11px;
  color: #fff;
  font-size: clamp(1.8rem, 3.4vw, 2.85rem);
  letter-spacing: -0.043em;
}

.team-transparency > p:last-child {
  max-width: 84ch;
  margin-top: 17px;
  color: #9fb6c5;
  font-size: 0.88rem;
  line-height: 1.7;
}

/* ---------- Working standards ---------- */
.team-standards {
  background: #fff;
}

.team-standards .sec-head {
  max-width: 760px;
}

.team-standard-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 15px;
}

.team-standard-grid article {
  position: relative;
  min-width: 0;
  min-height: 245px;
  overflow: hidden;
  padding: 29px 25px;
  border: 1px solid #dce6ee;
  border-radius: 21px;
  background: #f7fafc;
  transition: border-color 230ms var(--ease), transform 230ms var(--ease), box-shadow 230ms var(--ease);
}

.team-standard-grid article::before {
  position: absolute;
  top: 0;
  left: 25px;
  width: 62px;
  height: 3px;
  border-radius: 0 0 var(--r-full) var(--r-full);
  background: #9bddea;
  content: '';
}

.team-standard-grid article:nth-child(2)::before,
.team-standard-grid article:nth-child(4)::before {
  background: linear-gradient(90deg, var(--gold), var(--cyan));
}

.team-standard-grid article:hover {
  border-color: #b7d8e5;
  box-shadow: 0 18px 40px rgba(7, 24, 38, 0.08);
  transform: translateY(-4px);
}

.team-standard-grid article > span {
  color: #1683b2;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 800;
}

.team-standard-grid h3 {
  margin-top: 35px;
  color: var(--ink);
  font-size: 1.25rem;
  letter-spacing: -0.025em;
}

.team-standard-grid p {
  margin-top: 12px;
  color: var(--ink-70);
  font-size: 0.82rem;
  line-height: 1.62;
}

/* ---------- Responsive ---------- */
@media (max-width: 1040px) {
  .team-hero-grid,
  .team-intro-grid,
  .team-model-grid {
    grid-template-columns: 1fr;
  }

  .team-hero-grid {
    gap: 58px;
  }

  .team-hero-copy,
  .team-intro-grid > div,
  .team-model-intro {
    max-width: 760px;
  }

  .team-map {
    width: min(100%, 760px);
  }

  .team-intro-grid,
  .team-model-grid {
    gap: 48px;
  }

  .team-intro-copy {
    padding-top: 27px;
  }

  .team-model-intro {
    position: static;
  }

  .team-leadership-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }

  .team-lead-card--founder {
    grid-row: auto;
    min-height: 600px;
  }

  .team-lead-card--compact {
    min-height: 260px;
  }
}

@media (max-width: 900px) {
  .team-snapshot-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .team-snapshot-grid > div:nth-child(3) {
    border-left: 0;
  }

  .team-snapshot-grid > div:nth-child(n + 3) {
    border-top: 1px solid #e4ebf1;
  }

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

  .team-specialist-card,
  .team-specialist-card:nth-child(n + 4) {
    grid-column: auto;
  }

  .team-specialist-card:last-child {
    grid-column: 1 / -1;
    min-height: 320px;
  }

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

@media (max-width: 760px) {
  .team-lead-card--founder {
    grid-template-columns: 1fr;
  }

  .team-founder-photo,
  .team-founder-photo img {
    min-height: 0;
  }

  .team-founder-photo img {
    aspect-ratio: 4 / 5;
  }

  .team-lead-card--compact {
    grid-template-columns: 90px minmax(0, 1fr);
    gap: 20px;
  }

  .team-specialists-head {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 620px) {
  .team-hero {
    padding-block: 60px 105px;
  }

  .team-hero h1 {
    font-size: clamp(2.68rem, 14vw, 4.2rem);
  }

  .team-hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .team-hero-actions .btn {
    width: 100%;
  }

  .team-hero-signals {
    display: grid;
    gap: 10px;
  }

  .team-map {
    padding: 11px;
    border-radius: 24px;
  }

  .team-map-head {
    min-height: 50px;
    padding-inline: 7px;
  }

  .team-map-head strong {
    display: none;
  }

  .team-map-core {
    grid-template-columns: 50px minmax(0, 1fr);
    padding: 17px;
  }

  .team-map-core > img {
    width: 50px;
    height: 50px;
  }

  .team-map-branches {
    grid-template-columns: 1fr;
    margin-top: 10px;
  }

  .team-map-branches::before {
    display: none;
  }

  .team-snapshot-grid {
    grid-template-columns: 1fr;
    border-radius: 20px;
  }

  .team-snapshot-grid > div + div,
  .team-snapshot-grid > div:nth-child(3) {
    border-top: 1px solid #e4ebf1;
    border-left: 0;
  }

  .team-snapshot-grid > div {
    padding: 21px 22px;
  }

  .team-intro {
    padding-top: 92px;
  }

  .team-lead-card,
  .team-specialist-card,
  .team-transparency {
    border-radius: 22px;
  }

  .team-lead-copy {
    padding: 29px 23px 32px;
  }

  .team-lead-card--compact {
    grid-template-columns: 1fr;
    padding: 26px 23px;
  }

  .team-monogram {
    width: 88px;
  }

  .team-specialist-grid,
  .team-standard-grid {
    grid-template-columns: 1fr;
  }

  .team-specialist-card,
  .team-specialist-card:last-child {
    grid-column: auto;
    min-height: 330px;
  }

  .team-model-steps > li {
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 15px;
  }

  .team-model-steps > li > span {
    width: 45px;
    border-radius: 14px;
  }

  .team-transparency {
    padding: 27px 23px;
  }

  .team-standard-grid article {
    min-height: 220px;
  }
}

@media (max-width: 420px) {
  .team-map-core strong {
    font-size: 0.95rem;
  }

  .team-map-core div > span {
    font-size: 0.61rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .team-page {
    scroll-behavior: auto;
  }

  .team-page *,
  .team-page *::before,
  .team-page *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

/* ---------- Premium brand color harmonization ---------- */
.team-hero {
  background:
    radial-gradient(circle at 13% 9%, rgba(115, 216, 227, 0.2), transparent 34%),
    radial-gradient(circle at 90% 82%, rgba(214, 166, 82, 0.14), transparent 35%),
    linear-gradient(145deg, var(--brand-midnight) 0%, #06131f 50%, var(--brand-deep) 100%);
}

.team-hero h1 em {
  background: linear-gradient(102deg, var(--brand-aqua) 8%, var(--brand-teal) 52%, var(--brand-champagne) 100%);
  -webkit-background-clip: text;
  background-clip: text;
}

.team-hero-signals li > span {
  background: var(--brand-teal);
  box-shadow: 0 0 0 4px rgba(32, 173, 181, 0.15);
}

.team-map {
  border-color: rgba(115, 216, 227, 0.22);
  background:
    radial-gradient(circle at 96% 0%, rgba(32, 173, 181, 0.17), transparent 29%),
    linear-gradient(145deg, rgba(20, 52, 77, 0.96), rgba(7, 24, 37, 0.98));
}

.team-map::before,
.team-transparency::before {
  background: linear-gradient(90deg, var(--brand-sapphire), var(--brand-teal), var(--brand-champagne));
}

.team-map-core {
  border-color: rgba(115, 216, 227, 0.25);
  background: linear-gradient(110deg, rgba(47, 111, 237, 0.13), rgba(32, 173, 181, 0.1));
}

.team-map-core small,
.team-lead-card--founder .team-role-label,
.team-specialists .eyebrow,
.team-transparency-kicker {
  color: var(--brand-aqua);
}

.team-snapshot-grid {
  border-color: var(--team-border);
  background: linear-gradient(100deg, var(--team-panel), var(--team-panel-soft) 53%, var(--team-panel-warm));
  box-shadow: 0 24px 58px rgba(7, 24, 37, 0.12);
}

.team-intro,
.team-model {
  background: linear-gradient(180deg, var(--team-panel-soft), var(--surface));
}

.team-leadership,
.team-standards {
  background: linear-gradient(180deg, var(--surface), var(--team-panel-warm));
}

.team-lead-card--founder,
.team-transparency {
  border-color: rgba(115, 216, 227, 0.22);
  background:
    radial-gradient(circle at 100% 0%, rgba(32, 173, 181, 0.16), transparent 24rem),
    linear-gradient(145deg, var(--brand-midnight), var(--brand-slate));
}

.team-lead-card--compact {
  border-color: var(--team-border);
  background: linear-gradient(145deg, var(--surface), var(--team-panel-soft));
}

.team-lead-card--compact::before {
  background: linear-gradient(90deg, var(--brand-sapphire), var(--brand-teal));
}

.team-lead-card--adrian::before {
  background: linear-gradient(90deg, var(--brand-champagne), var(--brand-teal));
}

.team-monogram {
  color: var(--brand-sapphire);
  background: linear-gradient(145deg, var(--brand-ice), #dfeff1);
}

.team-lead-card--adrian .team-monogram {
  color: #815d1f;
  background: linear-gradient(145deg, var(--brand-ivory), #efe4ce);
}

.team-specialists {
  background:
    radial-gradient(circle at 12% 0%, rgba(32, 173, 181, 0.15), transparent 31%),
    radial-gradient(circle at 94% 100%, rgba(47, 111, 237, 0.14), transparent 32%),
    linear-gradient(145deg, var(--brand-midnight), #06131f 58%, var(--brand-deep));
}

.team-specialist-card::before {
  background: var(--brand-sapphire);
}

.team-specialist-card--gold::before {
  background: var(--brand-champagne);
}

.team-specialist-card--cyan::before {
  background: var(--brand-teal);
}

.team-member-avatar {
  color: var(--brand-aqua);
  background: rgba(32, 173, 181, 0.1);
}

.team-specialist-card--gold .team-member-avatar {
  color: var(--brand-champagne);
  background: rgba(214, 166, 82, 0.1);
}

.team-model-steps > li > span {
  color: var(--brand-sapphire);
  border-color: var(--team-border-strong);
  background: var(--surface);
}

.team-model-steps > li:nth-child(2) > span,
.team-model-steps > li:nth-child(4) > span {
  color: #815d1f;
  background: var(--brand-ivory);
}

.team-model-steps small,
.team-standard-grid article > span {
  color: var(--brand-teal);
}

.team-standard-grid article {
  border-color: var(--team-border);
  background: linear-gradient(145deg, var(--surface), var(--team-panel-soft));
}

.team-standard-grid article::before {
  background: linear-gradient(90deg, var(--brand-sapphire), var(--brand-teal));
}

.team-standard-grid article:nth-child(2)::before,
.team-standard-grid article:nth-child(4)::before {
  background: linear-gradient(90deg, var(--brand-champagne), var(--brand-teal));
}
