.team-hero {
  min-height: 230px;
  padding-block: 72px;
  display: flex;
  align-items: center;
  background: radial-gradient(circle at 82% 24%, rgba(113, 177, 255, .34), transparent 32%), linear-gradient(135deg, #071b38 0%, #0b438d 58%, #1763c5 100%);
}

.team-hero-grid { display: flex; align-items: center; }
.team-hero-grid > h1 { position: relative; z-index: 1; margin: 0; }

.team-intro { padding: 46px 0; border-bottom: 1px solid #d8e2ee; background: #fff; }
.team-intro-grid { display: grid; grid-template-columns: .65fr 1.35fr; gap: 80px; align-items: center; }
.team-intro-kicker { margin: 0; color: #1763c5; font-size: 13px; font-weight: 900; letter-spacing: .11em; text-transform: uppercase; }
.team-intro-grid > p:last-child { max-width: 750px; margin: 0; color: #68758a; font-size: 17px; }

.board-section { padding: 100px 0 110px; background: #f5f8fc; }
.team-heading { margin-bottom: 44px; display: flex; align-items: end; justify-content: space-between; gap: 50px; }
.team-heading .eyebrow { margin-bottom: 14px; color: #1763c5; }
.team-heading h2 { margin: 0; font-size: clamp(48px, 6vw, 72px); line-height: .98; letter-spacing: -.06em; }
.team-heading > p { max-width: 470px; margin: 0; color: #69768a; }

.leader-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.leader-card { overflow: hidden; display: flex; flex-direction: column; border: 1px solid #d6e1ed; border-radius: 29px; background: #fff; box-shadow: 0 18px 52px rgba(6, 32, 66, .08); transition: transform .25s ease, box-shadow .25s ease; }
.leader-card:hover { transform: translateY(-7px); box-shadow: 0 27px 65px rgba(6, 32, 66, .15); }
.leader-photo { position: relative; aspect-ratio: 7 / 8; overflow: hidden; margin-bottom: -1px; background: #fff; }
.leader-photo::after { display: none; }
.leader-photo img { width: 100%; height: 100%; display: block; object-fit: cover; object-position: center top; }
.leader-logo-photo { display: grid; place-items: center; background: radial-gradient(circle at center, rgba(255, 255, 255, .16), transparent 58%), linear-gradient(145deg, #071426, #0d4c99); }
.leader-logo-photo img { width: 72%; height: auto; aspect-ratio: 1; border-radius: 50%; object-fit: cover; object-position: center; box-shadow: 0 22px 48px rgba(2, 12, 25, .35), 0 0 0 8px rgba(255, 255, 255, .08); }
.leader-photo span { position: absolute; z-index: 2; left: 20px; bottom: 18px; padding: 7px 11px; border-radius: 999px; color: #fff; background: #b92739; box-shadow: 0 8px 20px rgba(185, 39, 57, .28); font-size: 9px; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.leader-content { padding: 27px; display: flex; flex: 1; flex-direction: column; }
.leader-content h3 { margin: 0; font-size: 28px; line-height: 1.05; letter-spacing: -.04em; }
.leader-focus { margin: 9px 0 21px; color: #1763c5; font-size: 11px; font-weight: 850; text-transform: uppercase; }
.leader-content ul,
.extended-card ul { margin: 0 0 27px; padding: 0; display: grid; gap: 8px; list-style: none; }
.leader-content li,
.extended-card li { position: relative; padding-left: 16px; color: #68758a; font-size: 13px; }
.leader-content li::before,
.extended-card li::before { content: ""; position: absolute; width: 6px; height: 6px; left: 0; top: .65em; border-radius: 50%; background: #1763c5; }
.leader-content .contact-open { min-height: 47px; margin-top: auto; display: inline-flex; align-items: center; justify-content: center; border: 1px solid #cad8e7; border-radius: 999px; color: #1763c5; background: #f7faff; font: inherit; font-size: 12px; font-weight: 850; text-decoration: none; cursor: pointer; transition: .2s ease; }
.leader-content .contact-open:hover,
.leader-content .contact-open:focus-visible { border-color: #1763c5; color: #fff; background: #1763c5; }

.extended-section { position: relative; overflow: hidden; padding: 105px 0 115px; color: #fff; background: radial-gradient(circle at 5% 90%, rgba(255, 212, 59, .11), transparent 23%), linear-gradient(145deg, #155bb8, #0b438d); }
.extended-section::after { content: ""; position: absolute; width: 420px; height: 420px; right: -210px; top: -230px; border: 75px solid rgba(255, 255, 255, .055); border-radius: 50%; }
.extended-section .wrap { position: relative; z-index: 1; }
.team-heading-light .eyebrow { color: #bcd8ff; }
.team-heading-light > p { color: rgba(255, 255, 255, .65); }
.extended-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.extended-card { overflow: hidden; display: flex; flex-direction: column; border: 1px solid rgba(255, 255, 255, .18); border-radius: 25px; background: rgba(5, 17, 31, .23); box-shadow: 0 20px 50px rgba(5, 24, 49, .2); backdrop-filter: blur(7px); transition: transform .23s ease, background .23s ease, box-shadow .23s ease; }
.extended-card:hover { transform: translateY(-6px); background: rgba(5, 17, 31, .34); box-shadow: 0 29px 64px rgba(5, 24, 49, .3); }
.extended-photo { position: relative; overflow: hidden; aspect-ratio: 7 / 8; margin-bottom: -1px; background: #fff; }
.extended-photo::after { display: none; }
.extended-photo img { width: 100%; height: 100%; display: block; object-fit: cover; object-position: center top; }
.extended-content { min-height: 220px; padding: 25px 25px 27px; display: flex; flex-direction: column; }
.extended-logo-photo { display: grid; place-items: center; background: radial-gradient(circle at center, rgba(255, 255, 255, .14), transparent 58%), linear-gradient(145deg, #071426, #0d4c99); }
.extended-logo-photo img { width: 72%; height: auto; aspect-ratio: 1; border-radius: 50%; object-fit: cover; object-position: center; box-shadow: 0 22px 48px rgba(2, 12, 25, .42), 0 0 0 8px rgba(255, 255, 255, .08); }
.member-placeholder { display: grid; place-content: center; justify-items: center; gap: 12px; color: #fff; background: radial-gradient(circle at 72% 20%, rgba(255, 212, 59, .24), transparent 25%), repeating-linear-gradient(135deg, rgba(255, 255, 255, .045) 0 2px, transparent 2px 18px), linear-gradient(145deg, #071426, #0d4c99); }
.member-placeholder::before { content: ""; position: absolute; width: 190px; height: 190px; border: 30px solid rgba(255, 255, 255, .06); border-radius: 50%; }
.member-placeholder span { position: relative; z-index: 1; font-size: clamp(58px, 7vw, 88px); font-weight: 950; line-height: 1; letter-spacing: -.08em; }
.member-placeholder i { position: relative; z-index: 1; color: #ffd43b; font-size: 22px; font-style: normal; }
.member-placeholder small { position: relative; z-index: 1; color: rgba(255, 255, 255, .68); font-size: 9px; font-weight: 850; letter-spacing: .14em; text-transform: uppercase; }
.extended-card small { color: rgba(255, 255, 255, .52); font-size: 8px; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
.extended-card h3 { margin: 6px 0 21px; font-size: 25px; }
.extended-focus { margin: -12px 0 20px; color: #d3e5ff; font-size: 10px; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; }
.extended-card ul { margin-top: auto; margin-bottom: 0; }
.extended-card li { color: rgba(255, 255, 255, .68); font-size: 11px; }
.extended-card li::before { background: #ffd43b; }
.extended-content .contact-open { min-height: 42px; margin-top: 22px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid rgba(255,255,255,.3); border-radius: 999px; color: #fff; background: rgba(255,255,255,.08); font: inherit; font-size: 10px; font-weight: 850; cursor: pointer; }
.extended-content .contact-open:hover,
.extended-content .contact-open:focus-visible { color: #0b438d; background: #fff; }
.team-empty { grid-column: 1 / -1; margin: 0; padding: 34px; border: 1px dashed currentColor; border-radius: 20px; color: #768398; background: rgba(255,255,255,.6); text-align: center; }
.extended-grid .team-empty { color: rgba(255,255,255,.72); background: rgba(5,17,31,.2); }

.team-contact { padding: 90px 0; background: #f5f8fc; }
.team-contact-card { padding: 48px 52px; display: flex; align-items: center; justify-content: space-between; gap: 40px; color: #fff; border-radius: 30px; background: radial-gradient(circle at 86% 20%, rgba(23, 99, 197, .33), transparent 30%), #050a11; box-shadow: 0 26px 65px rgba(5, 25, 51, .18); }
.team-contact-card .eyebrow { margin-bottom: 12px; color: #8ebfff; }
.team-contact-card h2 { margin: 0; font-size: clamp(38px, 5vw, 58px); line-height: 1; letter-spacing: -.05em; }
.team-contact-card > a { min-height: 52px; padding: 0 24px; display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; border-radius: 999px; color: #101820; background: #ffd43b; font-size: 13px; font-weight: 850; text-decoration: none; transition: .2s ease; }
.team-contact-card > a:hover,
.team-contact-card > a:focus-visible { background: #ffe36a; transform: translateY(-3px); }

.contact-dialog { width: min(520px, calc(100% - 32px)); max-width: none; padding: 0; overflow: visible; border: 0; border-radius: 28px; color: #10203a; background: transparent; box-shadow: 0 34px 90px rgba(3, 16, 34, .3); }
.contact-dialog::backdrop { background: rgba(2, 9, 18, .72); backdrop-filter: blur(7px); }
.contact-dialog-card { position: relative; padding: 38px; overflow: hidden; border: 1px solid rgba(23, 99, 197, .18); border-radius: 28px; background: #fff; }
.contact-dialog-card::before { content: ""; position: absolute; width: 220px; height: 220px; right: -135px; top: -135px; border: 42px solid rgba(23, 99, 197, .06); border-radius: 50%; }
.contact-dialog-card form { margin: 0; }
.contact-dialog-close { position: absolute; z-index: 2; width: 42px; height: 42px; right: 20px; top: 20px; border: 1px solid rgba(23, 99, 197, .2); border-radius: 50%; color: #1763c5; background: #edf4fc; font: inherit; font-size: 25px; line-height: 1; cursor: pointer; }
.contact-dialog-close:hover,
.contact-dialog-close:focus-visible { color: #fff; background: #1763c5; }
.contact-dialog-kicker { display: block; margin-bottom: 22px; color: #1763c5; font-size: 10px; font-weight: 900; letter-spacing: .13em; text-transform: uppercase; }
.contact-dialog-profile { margin-bottom: 28px; display: flex; align-items: center; gap: 20px; }
.contact-dialog-avatar { width: 78px; height: 78px; padding: 3px; overflow: hidden; display: grid; place-items: center; flex: 0 0 auto; border: 2px solid #1763c5; border-radius: 22px; background: #fff; box-shadow: 0 15px 35px rgba(23, 99, 197, .2); }
.contact-dialog-avatar img { width: 100%; height: 100%; display: block; border-radius: 17px; object-fit: cover; object-position: center top; }
.contact-dialog h2 { position: relative; margin: 0; font-size: clamp(26px, 5vw, 37px); line-height: 1.04; letter-spacing: -.045em; }
.contact-dialog-intro { margin: 8px 0 0; color: #6a778b; font-size: 14px; }
.contact-details { display: grid; gap: 12px; }
.contact-detail { padding: 17px 18px; display: grid; gap: 5px; border: 1px solid #d9e3ee; border-radius: 16px; background: #f7faff; }
.contact-detail > span { color: #768398; font-size: 10px; font-weight: 850; letter-spacing: .09em; text-transform: uppercase; }
.contact-detail a,
.contact-detail strong { overflow-wrap: anywhere; color: #1763c5; font-size: 15px; font-weight: 800; }
.contact-detail a { text-underline-offset: 4px; }
.contact-detail a:hover,
.contact-detail a:focus-visible { color: #0b438d; }
.contact-detail strong { color: #8792a2; }

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

@media (max-width: 980px) {
  .leader-grid { grid-template-columns: 1fr; }
  .leader-card { display: grid; grid-template-columns: .85fr 1.15fr; }
  .leader-photo { min-height: 440px; aspect-ratio: auto; }
  .extended-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 760px) {
  .team-intro-grid { grid-template-columns: 1fr; gap: 15px; }
  .team-heading { display: block; }
  .team-heading > p { margin-top: 20px; }
  .leader-card { display: flex; }
  .leader-photo { min-height: 430px; }
  .extended-grid { grid-template-columns: 1fr; }
  .extended-card { display: grid; grid-template-columns: .92fr 1.08fr; }
  .extended-photo { min-height: 390px; aspect-ratio: auto; }
  .team-contact-card { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 520px) {
  .team-hero { padding-block: 56px; }
  .board-section,
  .extended-section { padding: 78px 0 84px; }
  .leader-photo { min-height: 0; aspect-ratio: 7 / 8; }
  .leader-content { padding: 24px 21px; }
  .extended-card { display: flex; }
  .extended-photo { min-height: 0; aspect-ratio: 7 / 8; }
  .extended-content { min-height: 205px; padding: 23px 21px 25px; }
  .team-contact { padding: 68px 0; }
  .team-contact-card { padding: 35px 24px; border-radius: 24px; }
  .team-contact-card > a { width: 100%; }
  .contact-dialog-card { padding: 32px 22px 24px; border-radius: 23px; }
  .contact-dialog-close { right: 14px; top: 14px; }
}
