.profiles{padding-block:100px 70px;scroll-margin-top:calc(var(--header,88px) + 24px)}
.profiles-heading{display:grid;grid-template-columns:1.2fr 1fr;align-items:end;gap:48px;margin-bottom:40px}
.profiles h2{font-size:clamp(2.3rem,3.5vw,4rem);font-weight:400;line-height:1.15;letter-spacing:-.04em;margin:22px 0 0}
.profiles h2 em{font-style:normal;color:#969e9a}
.profiles-heading>p{max-width:480px;color:#aab2ae;font-size:1rem;line-height:1.8}
.profile-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:28px 24px;align-items:start}
.profile-card{min-width:0;border:1px solid #a4ada52a;background:#0d1113;transition:border-color .3s}
.profile-card:hover,.profile-card:focus-within{border-color:var(--profile-accent)}
.profile-card summary{list-style:none;cursor:pointer;display:block}
.profile-card summary::-webkit-details-marker{display:none}
.profile-card summary:focus-visible,.profile-close:focus-visible{outline:2px solid #d0b98f;outline-offset:5px}
.profile-art{overflow:hidden;aspect-ratio:1672/941;background:#101416}
.profile-art img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .7s}
.profile-card summary:hover .profile-art img{transform:scale(1.025)}
.profile-card-copy{padding:22px 22px 20px}
.profile-card h3{color:#e1e3dc;font-size:1.25rem;font-weight:500;line-height:1.35;margin:0 0 12px}
.profile-card-copy>p{color:#a7b0ab;font-size:1rem;line-height:1.65;margin:0;min-height:3.3em}
.profile-more{display:flex;justify-content:space-between;gap:14px;margin-top:22px;padding-top:15px;border-top:1px solid #a4ada51c;color:var(--profile-accent);font-size:.875rem;line-height:1.5}
.profile-detail{padding:0 22px 24px}
.profile-description{font-size:1rem;line-height:1.8;color:#b7bfb9;margin:0 0 24px}
.profile-detail h4,.profile-panel h4{font-size:.875rem;font-weight:500;color:#d7c4a5;margin:24px 0 14px}
.profile-team{list-style:none;padding:0;margin:0;display:grid;grid-template-columns:1fr;gap:12px}
.profile-team li{display:flex;align-items:center;gap:14px;min-width:0}
.profile-team img{width:58px;height:58px;object-fit:cover;object-position:80% center;border:1px solid #a4ada526;flex-shrink:0}
.profile-team strong{display:block;font-size:1rem;font-weight:500;color:#e0e3dc}
.profile-team span{display:block;font-size:.875rem;line-height:1.5;color:#9da9a4;margin-top:3px}
.profile-steps{list-style:none;counter-reset:profile-step;padding:0;margin:0;display:grid;gap:12px}
.profile-steps li{counter-increment:profile-step;display:flex;align-items:baseline;gap:12px;color:#b3bdb6;font-size:1rem;line-height:1.5}
.profile-steps li:before{content:counter(profile-step,decimal-leading-zero);color:#a99b80;font-size:.875rem;font-family:var(--mono,monospace)}
.profile-panel{padding:0;border:1px solid #71807870;background:#0d1113;color:#d4dad3;width:min(1040px,calc(100vw - 48px));max-width:none;max-height:calc(100dvh - 48px);margin:auto;overflow:auto;overscroll-behavior:contain;box-shadow:0 24px 100px #000b}
.profile-panel::backdrop{background:#030608dc;backdrop-filter:blur(7px)}
.profile-panel-art{display:block;width:100%;height:auto;aspect-ratio:1672/941;object-fit:cover}
.profile-close{position:absolute;right:14px;top:14px;width:44px;height:44px;border:1px solid #c0c8bc66;background:#080e12df;color:#f1f1e9;font-size:28px;line-height:1;cursor:pointer;z-index:1}
.profile-panel-body{padding:30px 40px 40px}
.profile-panel h2{font-size:clamp(1.7rem,3vw,2.5rem);font-weight:400;line-height:1.2;letter-spacing:-.025em;margin:0 0 20px;color:#e4e6df}
.profile-panel .profile-detail{padding:0}
.profile-panel .profile-team{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px 30px}
.profile-panel .profile-steps{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 30px}
@media(min-width:1101px){.world-nav{gap:clamp(.8rem,1.5vw,1.8rem)}}
@media(max-width:1100px){.site-header{flex-wrap:wrap;gap:0 1rem}.world-nav{order:3;flex-basis:100%;width:100%;min-width:0;overflow-x:auto;white-space:nowrap;justify-content:flex-start;gap:22px;scrollbar-width:none}.world-nav a{flex-shrink:0}.motion-toggle{margin-left:auto}.world-nav::-webkit-scrollbar{display:none}}
@media(min-width:761px) and (max-width:1100px){:root{--header:132px}.site-header{align-content:center}.world-nav{border-top:1px solid var(--line);margin-top:8px}.world-nav a{padding:10px 0}}
@media(max-width:1100px){.profile-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.profiles-heading{gap:30px;grid-template-columns:1fr 1fr}}
@media(max-width:700px){.profiles{padding-block:64px 38px}.profiles-heading{grid-template-columns:1fr;gap:22px;margin-bottom:28px}.profiles-heading>p{max-width:none}.profile-grid{grid-template-columns:1fr;gap:24px}.profile-card-copy{padding:20px}.profile-card-copy>p{min-height:0}.profile-panel{width:calc(100vw - 20px);max-height:calc(100dvh - 20px)}.profile-panel-body{padding:24px 20px 30px}.profile-panel .profile-team,.profile-panel .profile-steps{grid-template-columns:1fr}.profile-close{right:8px;top:8px}}
@media(prefers-reduced-motion:reduce){.profile-card,.profile-art img{transition:none}.profile-card summary:hover .profile-art img{transform:none}}

/* Detailed activities remain readable in the dialog and native details fallback. */
.profile-activities{display:grid;grid-template-columns:1fr;gap:12px;margin:28px 0 36px}
.profile-activity-group{min-width:0;padding:20px;border:1px solid #a4ada522;background:#111719}
.profile-activity-group h4,.profile-panel .profile-activity-group h4{margin:0 0 16px;font-size:1.05rem;line-height:1.4;color:#ded8ca}
.profile-activity-group ul{list-style:none;margin:0;padding:0;display:grid;gap:12px}
.profile-activity-group li{position:relative;padding-left:16px;color:#b7c0b9;font-size:.9375rem;line-height:1.65;overflow-wrap:anywhere}
.profile-activity-group li:before{content:"";position:absolute;left:0;top:.72em;width:4px;height:4px;background:#849a93;border-radius:50%}
.profile-panel .profile-activities{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
@media(max-width:700px){.profile-panel .profile-activities{grid-template-columns:1fr}.profile-activity-group{padding:18px}.profile-activities{margin-top:24px}}

.profile-back{display:flex;justify-content:space-between;gap:24px;align-items:center;width:100%;margin-top:32px;padding:16px 18px;border:1px solid #849a9366;background:#151e20;color:#dbe1d8;font:inherit;cursor:pointer;text-align:left}
.profile-back:hover{background:#1c292b}
.profile-back:focus-visible{outline:2px solid #d0b98f;outline-offset:4px}

.profile-toolbar{position:sticky;top:0;z-index:4;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:10px 14px;background:#0c1316f5;border-bottom:1px solid #84978c44;backdrop-filter:blur(8px)}
.profile-navigation{display:flex;align-items:center;gap:16px}.profile-navigation button{width:44px;height:44px;background:#131e22;border:1px solid #84978c55;color:#d9dfd4;font:inherit;font-size:1.25rem;cursor:pointer}.profile-navigation button:hover{background:#233138}.profile-navigation button:focus-visible{outline:2px solid #d0b98f;outline-offset:3px}.profile-position{min-width:50px;text-align:center;color:#aab7ae;font:.875rem var(--mono,monospace)}.profile-toolbar .profile-close{position:static;flex-shrink:0}.profile-toolbar~.profile-panel-art{scroll-margin-top:66px}
