.lp-profiles {
    --lp-accent: #a4bd35;
    --lp-blue: #124e91;
    --lp-gap: 24px;
    --lp-text: #17212b;
    --lp-background: #fff;
    --lp-overlay-bg: #071829;
    --lp-overlay-text: #fff;
    --lp-font-family: inherit;
    --lp-font-size: 16px;
    --lp-ratio: 7 / 10;
    --lp-radius: 0px;
    --lp-modal-width: 880px;
    --lp-modal-radius: 16px;
    --lp-columns: 3;
    width: 100%;
    margin: 2rem 0;
    color: var(--lp-text);
    font-family: var(--lp-font-family, inherit);
    font-size: var(--lp-font-size);
}
.lp-profiles, .lp-profiles * { box-sizing: border-box; }
.lp-profiles :is(h2, h3, h4, p, summary, blockquote) { font-family: inherit; }
.lp-profiles--1 { --lp-columns: 1; }
.lp-profiles--2 { --lp-columns: 2; }
.lp-profiles--4 { --lp-columns: 4; }
.lp-profiles .lp-heading { display: flex; align-items: center; gap: .65rem; margin: 0 0 1rem; font-size: clamp(1.35em, 2.4vw, 1.8em); line-height: 1.25; color: inherit; }
.lp-profiles .lp-heading::after { content: ""; height: 3px; background: var(--lp-accent); flex: 1; }
.lp-profiles .lp-grid { display: grid; grid-template-columns: repeat(var(--lp-columns), minmax(0, 1fr)); gap: var(--lp-gap); }
.lp-profiles .lp-person { margin: 0; min-width: 0; padding: 0; border: 0; background: transparent; }
.lp-profiles .lp-card { display: block; position: relative; overflow: hidden; width: 100%; aspect-ratio: var(--lp-ratio); padding: 0; margin: 0; border: 0; border-radius: var(--lp-radius); background: #e9edee; color: var(--lp-overlay-text); cursor: pointer; list-style: none; text-align: left; }
.lp-profiles .lp-card::-webkit-details-marker { display: none; }
.lp-profiles .lp-card::marker { content: ""; }
.lp-profiles .lp-card:focus-visible { outline: 3px solid var(--lp-blue); outline-offset: 5px; }
.lp-profiles .lp-photo { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center top; border: 0; border-radius: 0; margin: 0; transition: transform .25s ease; }
.lp-profiles .lp-placeholder { display: grid; height: 100%; place-items: center; padding: 1rem; color: #52606b; text-align: center; }
.lp-profiles .lp-overlay { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; gap: .3rem; padding: clamp(.8rem, 2vw, 1.4rem); background: linear-gradient(transparent 12%, var(--lp-overlay-bg) 100%); color: var(--lp-overlay-text); opacity: 0; transition: opacity .2s ease; overflow: auto; }
.lp-profiles .lp-name { font-weight: 700; font-size: clamp(1.1em, 1.9vw, 1.5em); line-height: 1.2; }
.lp-profiles .lp-role, .lp-profiles .lp-organization { font-size: 1em; line-height: 1.35; }
.lp-profiles .lp-prompt { margin-top: .55rem; color: var(--lp-overlay-text); font-weight: 600; font-size: .85em; text-decoration: underline; }
.lp-profiles .lp-card:hover .lp-overlay, .lp-profiles .lp-card:focus .lp-overlay, .lp-profiles .lp-person[open] .lp-overlay { opacity: 1; }
.lp-profiles .lp-card:hover .lp-photo { transform: scale(1.025); }
.lp-profiles .lp-biography { padding: 1rem 0; }
.lp-profiles .lp-dialog { position: fixed; inset: 0; width: min(var(--lp-modal-width), calc(100vw - 32px)); max-width: var(--lp-modal-width); max-height: min(90vh, 960px); max-height: min(90dvh, 960px); margin: auto; padding: 0; border: 0; border-top: 4px solid var(--lp-accent); border-radius: var(--lp-modal-radius); background: var(--lp-background); color: var(--lp-text); box-shadow: 0 30px 100px #0004; overflow: hidden; font: inherit; text-align: left; }
.lp-profiles .lp-dialog:not([open]) { display: none; }
.lp-profiles .lp-dialog::backdrop { background: rgba(6, 21, 36, .66); backdrop-filter: blur(3px); }
.lp-profiles .lp-dialog-toolbar { height: 60px; display: flex; align-items: center; justify-content: flex-end; padding: 10px 14px; }
.lp-profiles .lp-dialog-content { padding: 0 clamp(24px, 4vw, 44px) clamp(28px, 4vw, 44px); max-height: calc(min(90vh, 960px) - 64px); max-height: calc(min(90dvh, 960px) - 64px); overflow-y: auto; overscroll-behavior: contain; scrollbar-gutter: stable; container-type: inline-size; }
.lp-profiles .lp-dialog .lp-biography { padding: 0; }
.lp-profiles .lp-close { position: relative; flex: 0 0 40px; display: grid; place-items: center; width: 40px; height: 40px; padding: 0; margin: 0; border: 1px solid rgba(20, 34, 50, .13); border-radius: 50%; color: var(--lp-text); background: var(--lp-background); font: 28px/1 Arial, sans-serif; box-shadow: none; cursor: pointer; }
.lp-profiles .lp-close:hover { background: rgba(20, 34, 50, .07); }
.lp-profiles .lp-close:focus-visible { outline: 3px solid var(--lp-blue); outline-offset: 3px; }
.lp-profiles .lp-profile-intro { display: grid; grid-template-columns: minmax(140px, 220px) minmax(0, 1fr); gap: clamp(24px, 4vw, 40px); align-items: center; }
.lp-profiles .lp-profile-intro--no-photo { grid-template-columns: minmax(0, 1fr); }
.lp-profiles .lp-dialog-portrait { width: 100%; aspect-ratio: 4 / 5; margin: 0; padding: 0; overflow: hidden; border-radius: max(4px, min(var(--lp-modal-radius), 12px)); background: #edf0f1; box-shadow: 0 8px 24px rgba(16, 40, 62, .1); }
.lp-profiles .lp-dialog-photo { display: block; width: 100%; height: 100%; max-width: 100%; object-fit: cover; object-position: center top; margin: 0; padding: 0; border: 0; border-radius: 0; }
.lp-profiles .lp-portrait-example { display: grid; height: 100%; place-items: center; padding: 20px; color: #52606b; text-align: center; }
.lp-profiles .lp-profile-summary { min-width: 0; }
.lp-profiles .lp-quote { display: block; position: relative; margin: 0 0 24px; padding: 0; border: 0; color: var(--lp-blue); font-size: clamp(1.2em, 2.3vw, 1.6em); line-height: 1.45; font-style: italic; font-weight: 400; overflow-wrap: anywhere; }
.lp-profiles .lp-quote::before, .lp-profiles .lp-quote::after { content: none; }
.lp-profiles .lp-quote-mark { display: block; height: .65em; margin-bottom: 10px; color: var(--lp-accent); font: 3em/.9 Georgia, serif; font-style: normal; user-select: none; }
.lp-profiles .lp-quote p { margin: 0; padding: 0; font: inherit; }
.lp-profiles .lp-dialog-title { margin: 0; padding: 0; font-size: 1.4em; line-height: 1.25; color: var(--lp-text); font-weight: 700; overflow-wrap: anywhere; }
.lp-profiles .lp-title-separator { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.lp-profiles .lp-dialog-job { display: block; margin-top: 8px; font-size: .73em; line-height: 1.5; font-weight: 400; }
.lp-profiles .lp-dialog-organization { margin: 12px 0 0; padding: 0; font-size: .75em; font-weight: 600; line-height: 1.5; letter-spacing: .08em; text-transform: uppercase; color: var(--lp-text); opacity: .8; overflow-wrap: anywhere; }
.lp-profiles a.lp-linkedin, .lp-profiles a.lp-linkedin:visited { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; margin-top: 16px; padding: 9px 13px; border: 1px solid transparent; border-radius: 6px; background: #0a66c2; color: #fff; font-family: inherit; font-size: .83em; font-weight: 600; line-height: 1.3; text-decoration: none; }
.lp-profiles a.lp-linkedin:hover { background: #004182; color: #fff; text-decoration: none; }
.lp-profiles a.lp-linkedin:focus-visible { outline: 3px solid var(--lp-blue); outline-offset: 3px; }
.lp-profiles .lp-linkedin-icon { display: block; flex: 0 0 20px; width: 20px; height: 20px; }
.lp-profiles .lp-linkedin-arrow { margin-left: 3px; font-size: 1.1em; }
.lp-profiles .lp-bio-section { margin-top: 30px; padding-top: 26px; border-top: 1px solid rgba(20, 34, 50, .14); }
.lp-profiles .lp-bio-heading { margin: 0 0 14px; padding: 0; color: var(--lp-blue); font-size: .72em; line-height: 1.5; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.lp-profiles .lp-bio-text { max-width: 72ch; font-size: 1em; line-height: 1.85; overflow-wrap: anywhere; }
.lp-profiles .lp-bio-text p { margin: 0 0 1.2em; padding: 0; font-size: inherit; line-height: inherit; }
.lp-profiles .lp-bio-text p:last-child { margin-bottom: 0; }
.lp-profiles .lp-bio-text a { color: var(--lp-blue); text-decoration: underline; }
.lp-profiles .lp-bio-text img { max-width: 100%; height: auto; }
.lp-profiles .lp-person > .lp-biography .lp-profile-intro { grid-template-columns: minmax(0, 1fr); }
.lp-profiles .lp-person > .lp-biography .lp-dialog-portrait { max-width: 160px; }
@container (max-width: 520px) {
    .lp-profiles .lp-profile-intro { grid-template-columns: minmax(0, 1fr); gap: 24px; }
    .lp-profiles .lp-dialog-portrait { max-width: 180px; }
}
@media (max-width: 600px) {
    .lp-profiles .lp-dialog { width: calc(100vw - 20px); }
    .lp-profiles .lp-dialog-toolbar { height: 56px; }
    .lp-profiles .lp-dialog-content { padding-inline: 24px; max-height: calc(90vh - 60px); max-height: calc(90dvh - 60px); }
    .lp-profiles .lp-profile-intro { grid-template-columns: minmax(0, 1fr); gap: 22px; }
    .lp-profiles .lp-dialog-portrait { max-width: 160px; }
    .lp-profiles .lp-quote { font-size: 1.25em; margin-bottom: 22px; }
    .lp-profiles .lp-bio-section { margin-top: 24px; padding-top: 22px; }
}

html.lp-modal-open { overflow: hidden; }
@media (max-width: 700px) {
    .lp-profiles:not(.lp-profiles--1) .lp-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: min(var(--lp-gap), 16px); }
}
@media (max-width: 420px) {
    .lp-profiles .lp-grid { grid-template-columns: minmax(0, 1fr) !important; }
    .lp-profiles .lp-card { max-height: 560px; }
}
@media (hover: none), (pointer: coarse) {
    .lp-profiles .lp-overlay { opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
    .lp-profiles .lp-photo, .lp-profiles .lp-overlay { transition: none; }
}
@media print {
    .lp-profiles .lp-overlay { opacity: 1; position: static; color: #000; background: none; }
    .lp-profiles .lp-card { aspect-ratio: auto; }
    .lp-profiles .lp-photo { height: 200px; object-fit: contain; }
    .lp-profiles .lp-dialog { display: none !important; }
}
