:root { --team-navy:#0a2a56; --team-green:#4f8a3d; --team-gold:#d7b76d; --team-cream:#f7f5ef; }
.team-page { background:var(--team-cream); color:var(--team-navy); font-family:Poppins,sans-serif; overflow:hidden; }

/* ---------- Dark page banner ---------- */
.team-page-banner { min-height:60vh; position:relative; isolation:isolate; display:grid; place-items:center; overflow:hidden; color:#fff; background:linear-gradient(90deg,rgba(4,21,45,.88),rgba(7,29,60,.55),rgba(4,21,45,.84)),url("../about-img/about-banner-premium.png") center/cover no-repeat; }
.team-page-banner:before,.team-page-banner:after { content:""; position:absolute; z-index:-1; border:1px solid rgba(215,183,109,.2); transform:rotate(45deg); }
.team-page-banner:before { width:280px;height:280px;left:-105px;top:-205px; }.team-page-banner:after { width:220px;height:220px;right:-74px;bottom:-165px; }
.team-banner-pattern { position:absolute; inset:0; z-index:-1; opacity:.3; background-image:linear-gradient(90deg,transparent 49.8%,rgba(255,255,255,.08) 50%,transparent 50.2%); background-size:72px 100%; mask-image:linear-gradient(90deg,transparent,#000 20%,#000 80%,transparent); }

/* ---------- Intro hero (design reference) ---------- */
.team-intro-hero {
    position:relative;
    isolation:isolate;
    min-height:clamp(420px,40.2vw,580px);
    display:grid;
    grid-template-columns:minmax(320px,50.4%) 1fr;
    align-items:center;
    gap:0;
    background:var(--team-cream);
    overflow:hidden;
    padding-top: 30px;
}
/* faint skyline line-art across the bottom */
.team-intro-hero:before {
    content:"";
    position:absolute;
    z-index:-1;
    left:0; right:0; bottom:0;
    height:360px;
    background:url("../team-img/team-bg.png") left bottom/auto 100% repeat-x;
    opacity:.35;
    pointer-events:none;
}
.team-intro-copy {
    align-self:center;
    width:min(470px,calc(100% - 48px));
    margin-left:15%;
    padding:70px 0;
    z-index:1;
}
.team-intro-copy .team-kicker {
    color:var(--team-green);
    font-size:14px;
    font-weight:600;
    letter-spacing:.22em;
    margin:0 0 14px;
}
.team-intro-copy .team-section-label {
    display:inline-flex;
    align-items:center;
    gap:8px;
    padding:6px 14px;
    margin:0 0 22px;
    border:1px solid rgba(10,46,92,.14);
    border-radius:999px;
    background:rgba(255,255,255,.75);
    color:#1a4a7a;
    font-size:12px;
    font-weight:600;
    letter-spacing:.18em;
    line-height:1.2;
    text-transform:uppercase;
}
.team-section-label > span {
    width:6px;
    height:6px;
    flex:0 0 6px;
    border-radius:50%;
    background:#7cb342;
    animation:teamGreenPulse 2.2s ease infinite;
}
@keyframes teamGreenPulse {
    0%,100% { box-shadow:0 0 0 0 rgba(124,179,66,.45); }
    50% { box-shadow:0 0 0 4px rgba(124,179,66,0); }
}
.team-intro-copy h1 {
    font:600 clamp(56px,7.5vw,96px)/.95 "Cormorant Garamond",serif;
    letter-spacing:-.02em;
    margin:0;
    color:var(--team-navy);
}
.team-intro-copy h1 em { color:var(--team-green); font-style:normal; }
.team-intro-rule {
    display:block;
    width:55px;
    height:2px;
    margin-top:20px;
    background:var(--team-green);
}
.team-intro-copy>p:last-child {
    max-width:360px;
    color:#1f3f68;
    font-size:15px;
    line-height:1.8;
    margin:26px 0 0;
}

/* right-side boardroom image with a smooth curved left edge */
.team-intro-image {
    position:relative;
    min-height:clamp(420px,40.2vw,580px);
    align-self:stretch;
    overflow:hidden;
    border-radius:30% 0 0 30% / 50% 0 0 50%;
}
.team-intro-image img {
    width:100%;
    height:100%;
    min-height:clamp(420px,40.2vw,580px);
    object-fit:cover;
    object-position:center;
    display:block;
}

/* ---------- Board of directors ---------- */
.board-directors {
    position:relative;
    isolation:isolate;
    padding: 90px 28px 80px;
    overflow:hidden;
    background:#faf8f3;
}
.board-directors-bg {
    position:absolute;
    z-index:0;
    top: 48px;
    right: 5.5%;
    width:220px;
    height:auto;
    opacity:.32;
    pointer-events:none;
}
.board-directors-inner {
    position:relative;
    z-index:1;
    width:min(1220px,100%);
    margin:0 auto;
}
.board-directors-heading {
    margin-bottom:42px;
    text-align:center;
}
.board-directors-heading h2 {
    margin:0;
    color:var(--team-navy);
    font:600 clamp(34px,3.2vw,48px)/1.1 "Cormorant Garamond",serif;
    letter-spacing:.015em;
    font-size: clamp(4rem, 5vw, 6rem);
}
.board-directors-heading h2 em,
.team-intensive-heading h2 em {
    color:var(--team-green);
    font-style:italic;
    font-weight:500;
}
.board-directors-heading span {
    display:block;
    width:230px;
    max-width:42vw;
    height:2px;
    margin:14px auto 0;
    background:var(--team-green);
}
.director-grid {
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:22px;
}
.director-card {
    min-height:425px;
    display:flex;
    flex-direction:column;
    align-items:center;
    padding:18px 28px 24px;
    border:1px solid rgba(199,154,73,.28);
    border-radius:14px;
    color:var(--team-navy);
    text-align:center;
    background:rgba(255,255,255,.12);
    cursor:pointer;
    transition:border-color .25s ease,box-shadow .25s ease,transform .25s ease,background-color .25s ease;
}
.director-card:hover,
.director-card:focus-visible {
    border-color:rgba(199,154,73,.7);
    outline:none;
    background:rgba(255,255,255,.62);
    box-shadow:0 18px 40px rgba(10,42,86,.1);
    transform:translateY(-5px);
}
.director-card:after {
    content:"";
    position:absolute;
    inset:7px;
    border:1px solid transparent;
    border-radius:10px;
    pointer-events:none;
    transition:border-color .25s ease;
}
.director-card { position:relative; }
.director-card:hover:after,
.director-card:focus-visible:after { border-color:rgba(215,183,109,.26); }
.director-photo {
    width:136px;
    height:136px;
    margin-bottom:10px;
    overflow:hidden;
    border-radius:50%;
    background:#e8dfcf;
}
.director-photo img {
    width:100%;
    height:100%;
    display:block;
    object-fit:cover;
    object-position:center top;
    transition:transform .5s cubic-bezier(.16,1,.3,1),filter .35s ease;
}
.director-card:hover .director-photo img,
.director-card:focus-visible .director-photo img { transform:scale(1.05); filter:saturate(1.08); }
.director-card h3 {
    margin:0;
    color:var(--team-navy);
    font:600 clamp(28px,2.5vw,36px)/1.08 "Cormorant Garamond",serif;
}
.director-role {
    margin:4px 0 18px;
    color:var(--team-green);
    font:500 18px/1.35 "Cormorant Garamond",serif;
}
.director-bio {
    max-width:330px;
    margin:0 auto 18px;
    color:#1f3f68;
    font-size:14px;
    line-height:1.85;
}
.director-profile-cue {
    width:36px;
    height:36px;
    display:grid;
    place-items:center;
    position:absolute;
    z-index:2;
    top:17px;
    right:17px;
    margin:0;
    padding:0;
    border:1px solid rgba(199,154,73,.7);
    border-radius:10px;
    color:var(--team-navy);
    background:rgba(255,253,248,.9);
    opacity:.68;
    box-shadow:0 5px 14px rgba(10,42,86,.1),inset 0 0 0 1px rgba(255,255,255,.8);
    transition:color .25s ease,background-color .25s ease,border-color .25s ease,transform .25s ease;
}
.director-profile-cue svg {
    width:16px;
    height:16px;
    display:block;
    fill:none;
    stroke:currentColor;
    stroke-linecap:round;
    stroke-linejoin:round;
    stroke-width:1.7;
    transition:transform .25s ease;
}
.director-card:hover .director-profile-cue,
.director-card:focus-visible .director-profile-cue {
    border-color:var(--team-gold);
    background:var(--team-cream);
    opacity:1;
    transform:translateY(-3px) rotate(3deg);
}
.director-card:hover .director-profile-cue svg,
.director-card:focus-visible .director-profile-cue svg { transform:translate(2px,-2px); }
.director-linkedin {
    width:38px;
    height:38px;
    display:grid;
    place-items:center;
    margin-top:auto;
    border:1px solid rgba(199,154,73,.65);
    border-radius:50%;
    color:var(--team-navy);
    font-size:17px;
    text-decoration:none;
    transition:background-color .2s ease,color .2s ease,transform .2s ease;
}
.director-linkedin:hover {
    color:#fff;
    background:var(--team-navy);
    transform:translateY(-2px);
}

/* ---------- Strategic advisor ---------- */
.strategic-advisor {
    padding: 72px 28px 76px;
    background: var(--team-cream);
}
.strategic-advisor-inner {
    width: min(1220px,100%);
    margin: 0 auto;
}
.strategic-advisor-heading {
    margin-bottom: 38px;
    text-align: center;
}
.strategic-advisor-heading h2 {
    margin: 0;
    color: var(--team-navy);
    font: 600 clamp(34px,3.2vw,48px)/1.1 "Cormorant Garamond",serif;
    letter-spacing: .015em;
    font-size: clamp(4rem,5vw,6rem);
}
.strategic-advisor-heading h2 em {
    color: var(--team-green);
    font-style: italic;
    font-weight: 500;
}
.advisor-grid {
    display: grid;
    grid-template-columns: minmax(0, 390px);
    justify-content: center;
    gap: 22px;
}
.advisor-card {
    width: 100%;
}
/* ---------- Team Intensive ---------- */
.team-intensive {
    padding:0px 28px 64px;
    background:#faf8f3;
}
.team-intensive-inner {
    width:min(1220px,100%);
    margin:0 auto;
}
.team-intensive-heading {
    margin-bottom:40px;
    text-align:center;
}
.team-intensive-heading h2 {
    margin:0;
    color:var(--team-navy);
    font:600 clamp(34px,3.2vw,48px)/1.1 "Cormorant Garamond",serif;
    letter-spacing:.02em;
    font-size: clamp(4rem, 5vw, 6rem);
}
.team-intensive-heading span {
    display:block;
    width:185px;
    max-width:38vw;
    height:2px;
    margin:14px auto 0;
    background:var(--team-green);
}
.team-intensive-grid {
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:14px;
}

@media (min-width:1051px) {
    .team-intensive-grid .team-member-card:last-child {
        grid-column:2;
    }
}
.team-member-card {
    position:relative;
    min-height:150px;
    display:grid;
    grid-template-columns:104px minmax(0,1fr) 32px;
    align-items:center;
    gap:14px;
    padding:14px 12px 14px 14px;
    border:1px solid rgba(199,154,73,.28);
    border-radius:13px;
    color:var(--team-navy);
    background:rgba(255,255,255,.12);
    cursor:pointer;
    transition:border-color .25s ease,box-shadow .25s ease,transform .25s ease,background-color .25s ease;
}
.team-member-card:hover,
.team-member-card:focus-visible {
    border-color:rgba(199,154,73,.7);
    outline:none;
    background:rgba(255,255,255,.62);
    box-shadow:0 16px 34px rgba(10,42,86,.1);
    transform:translateY(-4px);
}
.team-member-photo {
    width:100px;
    height:100px;
    overflow:hidden;
    border-radius:50%;
    background:#e8dfcf;
}
.team-member-photo img {
    width:100%;
    height:100%;
    display:block;
    object-fit:cover;
    object-position:center top;
}
.team-member-info {
    min-width:0;
}
.team-member-info h3 {
    margin:0 0 10px;
    color:var(--team-navy);
    font:600 20px/1.15 "Cormorant Garamond",serif;
}
.team-member-info p {
    margin:0;
    color:var(--team-green);
    font-size:13px;
    line-height:1.45;
}
.team-member-profile-cue {
    width:32px;
    height:32px;
    display:grid;
    place-items:center;
    position:absolute;
    z-index:2;
    top:13px;
    right:13px;
    margin:0;
    padding:0;
    border:1px solid rgba(199,154,73,.7);
    border-radius:9px;
    color:var(--team-navy);
    background:rgba(255,253,248,.9);
    opacity:.68;
    box-shadow:0 4px 11px rgba(10,42,86,.1),inset 0 0 0 1px rgba(255,255,255,.8);
    transition:color .25s ease,background-color .25s ease,border-color .25s ease,transform .25s ease;
}
.team-member-profile-cue svg {
    width:14px;
    height:14px;
    display:block;
    fill:none;
    stroke:currentColor;
    stroke-linecap:round;
    stroke-linejoin:round;
    stroke-width:1.7;
    transition:transform .25s ease;
}
.team-member-card:hover .team-member-profile-cue,
.team-member-card:focus-visible .team-member-profile-cue {
    border-color:var(--team-gold);
    background:var(--team-cream);
    opacity:1;
    transform:translateY(-2px) rotate(3deg);
}
.team-member-card:hover .team-member-profile-cue svg,
.team-member-card:focus-visible .team-member-profile-cue svg { transform:translate(2px,-2px); }

.team-member-linkedin {
    width:30px;
    height:30px;
    display:grid;
    place-items:center;
    align-self:end;
    border:1px solid rgba(199,154,73,.65);
    border-radius:50%;
    color:var(--team-navy);
    font-size:14px;
    text-decoration:none;
    transition:background-color .2s ease,color .2s ease,transform .2s ease;
}
.team-member-linkedin:hover {
    color:#fff;
    background:var(--team-navy);
    transform:translateY(-2px);
}

/* ---------- Shared About-page CTA ---------- */
.team-cta {
    position:relative;
    isolation:isolate;
    width:min(1660px,calc(100% - 40px));
    min-height:116px;
    margin:0 auto 18px;
    padding:30px 20px;
    overflow:hidden;
    border-radius:12px;
    color:#fff;
    text-align:center;
    background-color:#092e61;
    background-image:url("../about-img/build-building-bg.png"),url("../about-img/build-bridge-bg.png");
    background-repeat:no-repeat;
    background-position:left bottom,right bottom;
    background-size:24% auto,24% auto;
}
.team-cta>div { position:relative;z-index:1; }
.team-cta h2 {
    margin:0 0 7px;
    color:#fff;
    font:600 38px/.95 "Cormorant Garamond",serif;
}
.team-cta h2 em { color:#d8b45b; }
.team-cta p {
    margin:0 0 10px;
    color:#fff;
    font-size:14px;
    line-height:1.3;
}
.team-cta a {
    display:inline-block;
    margin:0 4px;
    padding:8px 18px;
    border:1px solid #d8ad3b;
    border-radius:20px;
    color:#092e61;
    background:#d8ad3b;
    font-size:12px;
    text-decoration:none;
    transition:color .25s ease,background-color .25s ease,transform .25s ease;
}
.team-cta a:last-child { color:#fff;background:transparent; }
.team-cta a:hover { color:#092e61;background:#fff;transform:translateY(-2px); }
.team-cta a i { margin-left:5px; }

/* ---------- Premium profile modal ---------- */
body.profile-modal-open { overflow:hidden; }
.profile-modal {
    position:fixed;
    z-index:1100;
    inset:0;
    display:grid;
    place-items:center;
    padding:24px;
    visibility:hidden;
    opacity:0;
    transition:opacity .35s ease,visibility .35s ease;
}
.profile-modal.is-open { visibility:visible;opacity:1; }
.profile-modal-backdrop {
    position:absolute;
    inset:0;
    background:rgba(3,18,40,.72);
    backdrop-filter:blur(10px);
    -webkit-backdrop-filter:blur(10px);
}
.profile-modal-dialog {
    position:relative;
    width:min(850px,100%);
    max-height:min(680px,calc(100vh - 48px));
    display:grid;
    grid-template-columns:285px minmax(0,1fr);
    overflow-x:hidden;
    overflow-y:auto;
    border:1px solid rgba(215,183,109,.5);
    border-radius:24px;
    background:linear-gradient(135deg,#fffdf8 0%,#f4efe5 100%);
    box-shadow:0 35px 90px rgba(0,0,0,.38);
    opacity:0;
    transform:translateY(30px) scale(.95);
    transition:opacity .4s ease,transform .55s cubic-bezier(.16,1,.3,1);
}
.profile-modal.is-open .profile-modal-dialog { opacity:1;transform:translateY(0) scale(1); }
.profile-modal-accent {
    position:absolute;
    top:-90px;
    right:-65px;
    width:260px;
    height:260px;
    border:1px solid rgba(79,138,61,.2);
    border-radius:50%;
    box-shadow:0 0 0 35px rgba(215,183,109,.08),0 0 0 70px rgba(79,138,61,.05);
    pointer-events:none;
}
.profile-modal-close {
    position:absolute;
    z-index:3;
    top:18px;
    right:18px;
    width:42px;
    height:42px;
    display:grid;
    place-items:center;
    border:1px solid rgba(10,42,86,.14);
    border-radius:50%;
    color:var(--team-navy);
    background:rgba(255,255,255,.72);
    font-size:18px;
    cursor:pointer;
    transition:transform .25s ease,color .25s ease,background-color .25s ease;
}
.profile-modal-close:hover { color:#fff;background:var(--team-navy);transform:rotate(90deg); }
.profile-modal-photo {
    min-height:420px;
    display:flex;
    align-items:flex-end;
    overflow:hidden;
    background:linear-gradient(155deg,#d7b76d 0%,#927044 100%);
}
.profile-modal-photo img {
    width:100%;
    height:100%;
    display:block;
    object-fit:cover;
    object-position:center top;
}
.profile-modal-content {
    position:relative;
    z-index:1;
    min-width:0;
    align-self:center;
    padding:64px 54px 54px;
}
.profile-modal-label {
    display:block;
    margin-bottom:8px;
    color:var(--team-green);
    font-size:11px;
    font-weight:600;
    letter-spacing:.22em;
    text-transform:uppercase;
}
.profile-modal-content h2 {
    margin:0;
    color:var(--team-navy);
    font:600 clamp(34px,4vw,52px)/1 "Cormorant Garamond",serif;
}
.profile-modal-role {
    margin:12px 0 0;
    color:var(--team-green);
    font:500 20px/1.35 "Cormorant Garamond",serif;
    overflow-wrap:anywhere;
}
.profile-modal-rule {
    display:block;
    width:70px;
    height:2px;
    margin:22px 0;
    background:linear-gradient(90deg,var(--team-green),var(--team-gold));
}
.profile-modal-bio {
    margin:0;
    color:#294665;
    font-size:14px;
    line-height:1.85;
}

@media (max-width:800px) {
    .team-page-banner{min-height:48vh}
    .team-intro-hero{grid-template-columns:1fr;min-height:0;gap:0}
    .team-intro-hero:before{height:200px;opacity:.3}
    .team-intro-copy{width:calc(100% - 40px);margin:0 auto;padding:52px 0 40px;text-align:center}
    .team-intro-copy>p:last-child{margin-left:auto;margin-right:auto}
    .team-intro-image{min-height:300px;border-radius:0}
    .team-intro-image img{min-height:300px}
    .board-directors{padding:50px 20px 40px}
    .board-directors-bg{width:160px;right:-24px;opacity:.18}
    .board-directors-heading{margin-bottom:32px}
    .director-grid{grid-template-columns:1fr;max-width:520px;margin:0 auto;gap:18px}
    .director-card{min-height:410px;padding-left:24px;padding-right:24px}
    .strategic-advisor{padding:46px 20px 50px}
    .strategic-advisor-heading{margin-bottom:32px}
    .advisor-grid{grid-template-columns:1fr;max-width:520px;margin:0 auto;gap:18px}
    .team-intensive{padding:46px 20px 50px}
    .team-intensive-heading{margin-bottom:32px}
    .team-intensive-grid{grid-template-columns:1fr;max-width:520px;margin:0 auto;gap:14px}
    .team-cta{width:calc(100% - 30px);min-height:150px;padding:30px 16px;background-size:45% auto,45% auto}
    .team-cta h2{font-size:32px}
    .team-cta p{font-size:12px}
    .profile-modal{padding:16px}
    .profile-modal-dialog{grid-template-columns:1fr;max-width:540px;max-height:calc(100vh - 32px)}
    .profile-modal-photo{min-height:210px;height:210px;justify-content:center}
    .profile-modal-photo img{width:220px;object-fit:cover}
    .profile-modal-content{padding:32px 26px 34px}
    .profile-modal-close{top:12px;right:12px}
}
@media (min-width:801px) and (max-width:1050px) {
    .team-intensive-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width:420px) {
    .team-member-card{grid-template-columns:82px minmax(0,1fr) 30px;gap:10px;padding-left:10px}
    .team-member-photo{width:80px;height:80px}
    .team-member-info h3{font-size:18px}
    .profile-modal{padding:10px}
    .profile-modal-dialog{max-height:calc(100vh - 20px);border-radius:18px}
    .profile-modal-content{padding:26px 20px 28px}
    .team-cta a{display:table;margin:7px auto 0}
}
@media (prefers-reduced-motion:reduce) {
    .profile-modal,.profile-modal-dialog,.profile-modal-close,.team-member-card,.director-card,.director-photo img,.director-profile-cue,.director-profile-cue svg,.team-member-profile-cue,.team-member-profile-cue svg{transition:none}
}
