.team-hero{padding-bottom:60px}.team-hero .cre-hero-content{margin-bottom:0}.team-grid{display:grid;grid-template-columns:1fr 1fr;gap:60px}.team-grid .cre-leadership-card{display:flex;flex-direction:column;align-items:flex-start;gap:25px;padding:0;border:0;background:none}.team-grid .cre-leadership-avatar{width:100%;height:400px;object-fit:contain;border-radius:0;background:#f2f4f5}.team-grid .cre-leadership-name{font:calc(32px + 1pt) Georgia,serif;color:#102c48}.team-grid .cre-leadership-role{color:#947b4b;display:block;margin:10px 0 20px}.team-grid .cre-leadership-bio{color:#5b6e7f;font-size:calc(16px + 1pt);line-height:1.75}@media(max-width:767px){.team-grid{grid-template-columns:1fr}.team-grid .cre-leadership-avatar{height:330px}}
/* Border follows the image's natural dimensions without letterboxing. */
.team-grid .cre-leadership-avatar{width:auto;max-width:100%;height:auto;max-height:none;object-fit:initial;display:block;border:1px solid #b79b64;background:transparent;padding:0}
.executive-section{padding-bottom:30px}.executive-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:28px;margin-top:40px}.executive-grid h3{font-size:calc(26px + 1pt);margin-bottom:12px}.executive-grid p{color:#647686;font-size:calc(15px + 1pt)}.operations-team .section-title{margin-bottom:40px}@media(max-width:900px){.executive-grid{grid-template-columns:repeat(2,1fr)}}@media(max-width:767px){.team-grid .cre-leadership-avatar{height:auto}}@media(max-width:480px){.executive-grid{grid-template-columns:1fr}}
.executive-portrait{display:block;width:100%;height:auto;border:1px solid #b79b64;padding:0;background:transparent;margin:0 0 22px}
.executive-grid{align-items:start}
/* Matching executive portrait frames and aligned names. */
.executive-portrait{width:100%;aspect-ratio:2/3;height:auto;object-fit:cover;object-position:center 35%;box-sizing:border-box}
.finance-admin-section{padding-top:35px;padding-bottom:70px}
.operations-team .executive-grid{margin-top:40px}.operations-team .team-bio{font-size:calc(14px + 1pt);line-height:1.7;margin-top:18px;color:#647686}.operations-team .section-title{margin-bottom:0}

/* Match Les's portrait scale while preserving the shared frame dimensions. */


/* Uniform executive frames with individually centered, matched subject crops. */
.executive-section .executive-crop{position:relative;overflow:hidden;aspect-ratio:2/3;height:auto}
.executive-section .executive-crop>img{position:absolute;display:block;height:auto;max-width:none;object-fit:initial;transform:translateX(-50%);margin:0;padding:0;border:0}
.executive-section .tim-gu-portrait>img{width:116%;left:51%;top:-2.5%}
.executive-section .peter-chan-portrait>img{width:109%;left:47%;top:-4.6%}
.executive-section .dannese-yang-portrait>img{width:109%;left:50%;top:-2.5%}
.executive-section .les-portrait-frame>img{width:135%;left:45%;top:-17.1%}

/* Background-matched portraits retain the existing frame size. */
.executive-section .peter-chan-portrait>img,.executive-section .dannese-yang-portrait>img,.executive-section .les-portrait-frame>img{width:100%;height:100%;left:50%;top:0;object-fit:cover;object-position:center}

/* Shared Anki backdrop portraits retain uniform frames and centered crops. */
.executive-section .executive-crop>img{width:100%;height:100%;left:50%;top:0;object-fit:cover;object-position:center}

/* Mirrored team photograph fades into the navy hero. */
.team-hero{position:relative;isolation:isolate;background:#0b2541;overflow:hidden}
.team-hero:before{display:none}
.team-hero-photo{position:absolute;inset:0 0 0 28%;z-index:0;pointer-events:none;mask-image:linear-gradient(90deg,transparent 0%,rgba(0,0,0,.2) 18%,#000 60%);-webkit-mask-image:linear-gradient(90deg,transparent 0%,rgba(0,0,0,.2) 18%,#000 60%)}
.team-hero-photo img{display:block;width:100%;height:100%;object-fit:cover;object-position:center;transform:scaleX(-1);opacity:.95}
.team-hero-photo:after{content:"";position:absolute;inset:0;background:linear-gradient(0deg,#0b2541 0%,transparent 23%,transparent 85%,rgba(11,37,65,.2) 100%)}
.team-hero>.container{position:relative;z-index:1}
@media(max-width:900px){.team-hero-photo{left:0;mask-image:linear-gradient(90deg,transparent,#000);-webkit-mask-image:linear-gradient(90deg,transparent,#000)}.team-hero-photo img{opacity:.65}}

/* Team biographies follow the property detail palette and typography. */
.team-bio-link{margin-top:18px}
.team-bio-dialog{position:fixed;inset:0;margin:auto;width:min(900px,calc(100% - 40px));max-height:90vh;max-height:90dvh;overflow:auto;border:0;border-top:3px solid #b79b64;padding:48px;background:#fff;color:#33495d;box-shadow:0 28px 80px #071b3440;box-sizing:border-box}
.team-bio-dialog::backdrop{background:rgba(9,30,52,.72)}
.team-bio-dialog .modal-close-btn{position:absolute;top:12px;right:14px}
.team-bio-layout{display:grid;grid-template-columns:minmax(0,260px) minmax(0,1fr);gap:36px;align-items:start}
.team-bio-photo{display:block;width:100%;height:auto;aspect-ratio:2/3;object-fit:cover;border:1px solid #b79b64;box-sizing:border-box}
.team-bio-dialog .modal-prop-meta{color:#816632;font-size:calc(11px + 1pt);letter-spacing:.15em;margin:0 0 18px}
.team-bio-dialog .modal-prop-title{font-size:calc(34px + 1pt);margin:0 0 14px;color:#102c48;line-height:1.2}
.team-bio-role{font-size:calc(15px + 1pt);color:#816632;border-bottom:1px solid #e1e6eb;padding-bottom:22px;margin:0 0 22px;line-height:1.6}
.team-bio-dialog .modal-prop-desc{font-size:calc(15px + 1pt);line-height:1.8;margin:0 0 24px;color:#5b6e7f}
#teamBioLinkedIn[hidden]{display:none}
@media(max-width:650px){.team-bio-dialog{padding:44px 24px 28px}.team-bio-layout{grid-template-columns:1fr;gap:26px}.team-bio-photo{max-width:220px}.team-bio-dialog .modal-prop-title{font-size:30px}}

/* Compact bio action beside each employee's role. */
.executive-grid .team-role-row{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}
.executive-grid .team-role-row>p{margin:0;flex:1;min-width:0}
.executive-grid .team-role-row>.team-bio-link{flex:0 0 auto;margin:0;gap:5px}


/* Preserve paragraph breaks in employee biographies. */
#teamBioText{white-space:pre-line}

/* Latest supplied group photograph, flipped vertically within the banner. */
.team-hero-photo img{transform:scaleX(-1);object-position:center}

#teamBioRole{white-space:pre-line}

.executive-grid .team-role-row:has(.tanya-role){flex-wrap:nowrap;align-items:center;gap:8px}
.executive-grid .team-role-row>.tanya-role{flex:1 1 auto}

@media (min-width:768px){
 .tanya-portrait,#teamBioPhoto[src$="tanya-mccluskey-kelly-crisp.webp"]{box-shadow:0 0 18px rgba(183,155,100,.48)}
}

@media (max-width:767px){
 .tanya-portrait,#teamBioPhoto[src$="tanya-mccluskey-kelly-crisp.webp"]{content:url("../assets/images/tanya-mobile-face-light.webp")}
}

@media (max-width:767px){
 .executive-grid .team-role-row>.team-bio-link{box-sizing:border-box;flex:0 0 76px;width:76px;padding-inline:5px;justify-content:center;white-space:nowrap;font-size:12px}
}

/* Share the Meet the Team portrait framing across screen sizes. */
.executive-portrait[data-portrait="ryan"]{object-view-box:inset(5% 6% 7%);filter:brightness(1.09)}
.executive-portrait[data-portrait="sampson"]{object-view-box:inset(2.5%)}
