#ease-team-preview .et-link{text-decoration:none;display:block;color:inherit}
#ease-team-preview .et-modal{width:min(1000px,92vw)!important;max-width:none!important;height:min(630px,84dvh);max-height:84dvh;padding:0!important;overflow:hidden!important;border-radius:24px}
#ease-team-preview .et-modal-content{padding:0!important;display:grid;grid-template-columns:42% 58%;height:100%;max-height:none}
.profile-photo{background:radial-gradient(ellipse at 50% 25%,#446470,#192e39 75%);position:relative;overflow:hidden}
.profile-photo img{width:100%;height:100%;object-fit:cover;object-position:center bottom;filter:none!important;position:absolute;inset:0}
.profile-copy{padding:40px 42px 28px;overflow-y:auto;min-height:0;overscroll-behavior:contain}
#ease-team-preview .profile-copy h2{padding-right:28px;margin-top:0;font-size:36px;line-height:1.15;color:#8dd3de}
#ease-team-preview .profile-copy .et-bio,
#ease-team-preview .profile-copy .et-bio p{font-size:14.5px;line-height:1.7}
#ease-team-preview .et-close{z-index:5;top:14px;right:14px}
@media(max-width:700px){#ease-team-preview .et-modal{height:92dvh;max-height:92dvh;overflow-y:auto!important}.profile-photo{height:290px}.profile-copy{padding:25px;overflow:visible}#ease-team-preview .et-modal-content{display:block;height:auto}#ease-team-preview .profile-copy h2{font-size:29px}}

@media(max-width:700px){.profile-photo img{object-fit:contain}}
/* Match the reference's compact, centered desktop proportions. */
@media(min-width:701px){#ease-team-preview .et-modal{width:68vw!important;height:60dvh;max-height:60dvh}#ease-team-preview .et-modal-content{grid-template-columns:40% 60%}.profile-copy{padding:28px 32px 24px}#ease-team-preview .profile-copy h2{font-size:30px}}

/* Stronger separation from the page behind the local biography preview. */
.et-glass-backdrop{backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px)}

/* Lock the page while preserving independent biography scrolling. */
html.team-bio-open,html.team-bio-open body{overflow:hidden!important;overscroll-behavior:none}
html.team-bio-open .et-glass-backdrop{pointer-events:auto;touch-action:none}
#ease-team-preview .et-modal{overscroll-behavior:contain}

/* Preserve Michael’s approved main-page color treatment in his biography. */
.profile-photo img[data-member="et-bio-4"]{filter:grayscale(0) saturate(.72) brightness(.97) contrast(.90)!important}

/* Match biography scrollbars to the teal social-link accents. */
#ease-team-preview .profile-copy,
#ease-team-preview .et-modal{scrollbar-color:rgba(145,213,223,.65) transparent;scrollbar-width:thin}
#ease-team-preview .profile-copy::-webkit-scrollbar,
#ease-team-preview .et-modal::-webkit-scrollbar{width:7px}
#ease-team-preview .profile-copy::-webkit-scrollbar-track,
#ease-team-preview .et-modal::-webkit-scrollbar-track{background:transparent}
#ease-team-preview .profile-copy::-webkit-scrollbar-thumb,
#ease-team-preview .et-modal::-webkit-scrollbar-thumb{background:rgba(145,213,223,.65);border-radius:8px}

/* Keep the scrollable pane inside the rounded desktop corners. */
@media(min-width:701px){
  #ease-team-preview .profile-copy{margin-block:18px;padding-top:10px;padding-bottom:6px}
}
#ease-team-preview .profile-copy::-webkit-scrollbar-track,
#ease-team-preview .et-modal::-webkit-scrollbar-track{margin-block:18px}

.profile-photo img[src="/profile-placeholder.svg"]{object-fit:contain;object-position:center bottom}
