/* 4RE team and personnel pages; shared scene, colours and glass remain in glass.css. */
html{scroll-behavior:auto}
.team-page,.profile-page{--team-card-radius:26px}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.people-grid-related{grid-template-columns:repeat(2,minmax(0,1fr));max-width:1000px}
.person-card-top>span:first-child{font:9px/1.4 'Courier New',monospace;letter-spacing:.08em;color:var(--muted)}
.profile-copy>.profile-role{font-size:clamp(17px,1.7vw,23px);line-height:1.5;color:var(--strong-text);margin:24px 0 0}
.cv-profile-head .eyebrow{display:block;margin-bottom:14px}
.profile-page #cv{margin-top:70px}
.cv-profile-print .profile-section-grid{margin-top:60px}
.cv-profile-print .experience-meta h3,.cv-profile-print .profile-education h3{margin:0}
.cv-profile-print .profile-skill-group h3{margin:0 0 18px}
.profile-languages{display:grid;gap:12px}
.profile-languages p{display:flex;justify-content:space-between;gap:20px;border-bottom:1px solid var(--line);padding:15px 0;font-size:13px}
.profile-languages span{color:var(--muted)}
.project-wordmark{grid-template-rows:auto 1fr auto;gap:12px}
.project-wordmark>.eyebrow{font:10px/1.6 'Courier New',monospace;color:var(--muted);letter-spacing:.09em}
.project-wordmark>strong{font:inherit}
.project-wordmark>span:last-child{font-size:12px;line-height:1.5;letter-spacing:0;color:var(--muted)}
.fallback-personnel{width:58%;max-width:265px;padding:24px;min-height:330px;border-radius:14px;background:#172127;color:#e8e9e1;box-shadow:0 15px 40px #0002;display:flex;flex-direction:column;gap:20px;transform:rotate(-5deg)}
.fallback-personnel>img{width:100px;height:50px;object-fit:contain}
.fallback-personnel>span,.fallback-personnel>small{font:9px/1.5 'Courier New',monospace;letter-spacing:.1em;color:#9cb6bc}
.fallback-personnel>strong{font-size:34px;line-height:1.15;font-weight:500;letter-spacing:-.04em;margin:10px 0}
@media(max-width:600px){.people-grid-related{grid-template-columns:1fr}.profile-page #cv{margin-top:45px}.cv-profile-head{flex-direction:column}.cv-profile-head .profile-cv-actions{margin-top:0}.profile-languages p{font-size:12px;flex-wrap:wrap;gap:5px 15px}.cv-profile-print .profile-section-grid{margin-top:40px}.project-wordmark>span:last-child{font-size:10px}}
.team-page main,.profile-page main{min-width:0}
.team-page main>section,.profile-page main>section{min-width:0}
.brand-home{display:inline-flex;align-items:center;line-height:1}
body>.site-header{display:grid;grid-template-columns:1fr auto 1fr}
.site-header>.brand-home{justify-self:start;align-self:stretch;min-height:44px}
.site-header>.header-actions{justify-self:end}
.brand-lockup{display:flex;align-items:center;gap:12px;flex-shrink:0;text-decoration:none;color:var(--ink);line-height:1}
.brand-lockup img{display:block;width:82px;height:32px;object-fit:contain;filter:brightness(0) saturate(100%);flex-shrink:0}
html[data-theme="dark"] .brand-lockup img{filter:none}
.brand-lockup small{display:flex;align-items:center;height:18px;border-left:1px solid var(--line);padding-left:12px;font:9px/1 'Courier New',monospace;letter-spacing:.2em}
.brand-lockup:focus-visible{outline:2px solid var(--accent);outline-offset:7px;border-radius:4px}
.team-page .hero,.profile-page .hero{padding-bottom:0}
.team-page .hero h1{max-width:650px}
.team-page .hero-description{max-width:440px}
.team-intro{display:flex;justify-content:space-between;align-items:flex-end;gap:32px;margin-bottom:38px}
.team-intro h2,.team-statement h2{font-size:clamp(36px,4.4vw,66px);font-weight:500;line-height:1.13;letter-spacing:-.06em;margin:16px 0 0}
.team-intro>p{max-width:340px;color:var(--muted);font-size:14px;line-height:1.85;margin:0 0 3px}
.team-intro .serif,.team-statement .serif,.profile-heading .profile-last{background:var(--text-gradient);background-clip:text;-webkit-background-clip:text;color:transparent}
.team-manifesto{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);gap:9%;align-items:start}
.team-statement{padding-top:12px;min-width:0}
.team-statement h2{font-size:clamp(36px,4.1vw,62px);margin-top:20px;max-width:590px}
.team-statement>p{max-width:470px;font-size:15px;line-height:1.9;color:var(--muted);margin-top:25px}
.team-principles{display:grid;gap:14px;list-style:none;padding:0;margin:0}
.team-principles article{position:relative;display:grid;grid-template-columns:31px minmax(0,1fr);column-gap:17px;padding:26px 27px;border:1px solid var(--glass-border);border-radius:7px 24px 7px 24px;background:linear-gradient(125deg,color-mix(in srgb,var(--brand-cyan) 4%,transparent),transparent 70%),var(--glass);box-shadow:inset 0 1px 0 var(--glass-highlight)}
.team-principles article>span,.team-principles article>.num{grid-column:1;grid-row:1/3;color:var(--accent);font:11px/1.5 'Courier New',monospace;letter-spacing:.05em;padding-top:4px}
.team-principles h3{grid-column:2;font-size:19px;line-height:1.35;letter-spacing:-.025em;font-weight:600;margin:0}
.team-principles p{grid-column:2;color:var(--muted);font-size:13px;line-height:1.8;margin:9px 0 0}
.people-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}
.person-card{--person-accent:var(--brand-cyan);display:flex;flex-direction:column;position:relative;isolation:isolate;min-width:0;border:1px solid var(--glass-border);border-radius:var(--team-card-radius);padding:19px;background:linear-gradient(155deg,color-mix(in srgb,var(--person-accent) 8%,transparent),transparent 55%),var(--glass);box-shadow:inset 0 1px 0 var(--glass-highlight);text-decoration:none;color:var(--ink);overflow:hidden;transition:border-color .25s,box-shadow .25s,transform .25s}
.person-card:after{content:'';position:absolute;inset:0;z-index:-1;opacity:0;background:radial-gradient(ellipse at 80% 12%,color-mix(in srgb,var(--person-accent) 17%,transparent),transparent 63%);pointer-events:none;transition:opacity .25s}
.person-card-top{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:0 2px 15px}
.person-card-top code{font:9px/1.4 'Courier New',monospace;letter-spacing:.09em;text-transform:uppercase;color:var(--muted)}
.person-card-top>span:last-child{display:grid;place-items:center;width:28px;height:28px;border:1px solid var(--line);border-radius:50%;font-size:15px;color:var(--accent)}
.person-identity{position:relative;display:grid;place-items:center;aspect-ratio:4/3;min-width:0;border:1px solid var(--line);border-radius:10px 19px 10px 19px;overflow:hidden;background:linear-gradient(145deg,color-mix(in srgb,var(--person-accent) 12%,var(--bg)),var(--bg))}
.person-identity:after{content:'';position:absolute;inset:12px;border:1px solid color-mix(in srgb,var(--person-accent) 18%,transparent);border-radius:2px;pointer-events:none}
.person-identity img{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;object-position:center;filter:grayscale(1);display:block}
.person-initials{display:grid;place-items:center;width:100%;height:100%;font-size:clamp(62px,7vw,108px);line-height:1;letter-spacing:-.065em;font-weight:500;color:var(--strong-text);background-image:linear-gradient(var(--line) 1px,transparent 1px),linear-gradient(90deg,var(--line) 1px,transparent 1px);background-size:35px 35px}
.person-card-content{padding:25px 2px 0;min-width:0;flex:1}
.person-card-content .eyebrow{display:block;color:var(--accent);font-size:9px;line-height:1.6;letter-spacing:.09em}
.person-card-content h3{font-size:clamp(24px,2.3vw,34px);line-height:1.2;font-weight:550;letter-spacing:-.045em;margin:11px 0 12px;overflow-wrap:anywhere}
.person-card-content p{font-size:13px;line-height:1.85;color:var(--muted);margin:0}
.person-card-tags{display:flex;flex-wrap:wrap;gap:6px;padding:22px 2px}
.person-card-tags span{display:inline-block;border:1px solid var(--line);border-radius:999px;background:color-mix(in srgb,var(--bg) 30%,transparent);color:var(--soft-text);font-size:9px;line-height:1.5;padding:5px 9px}
.person-card-bottom{display:flex;align-items:center;justify-content:space-between;gap:14px;border-top:1px solid var(--line);padding:16px 2px 1px;font-size:10px;line-height:1.6;color:var(--muted)}
.person-card-bottom>:last-child{color:var(--ink);white-space:nowrap}
.person-card:focus-visible,.team-work-card:focus-within{outline:2px solid var(--accent);outline-offset:5px}
.team-work-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}
.team-work-card{min-width:0;overflow:hidden;position:relative;border:1px solid var(--glass-border);border-radius:var(--team-card-radius);background:var(--glass);box-shadow:inset 0 1px 0 var(--glass-highlight)}
.team-work-media{position:relative;aspect-ratio:16/9;display:grid;place-items:center;min-width:0;overflow:hidden;border-bottom:1px solid var(--line);background:radial-gradient(ellipse at 30% 30%,color-mix(in srgb,var(--brand-cyan) 13%,transparent),transparent 70%),linear-gradient(135deg,color-mix(in srgb,var(--brand-blue) 9%,var(--bg)),color-mix(in srgb,var(--brand-purple) 9%,var(--bg)))}
.team-work-media img{position:absolute;inset:0;display:block;width:100%;height:100%;object-fit:cover;object-position:top center}
.project-wordmark{display:grid;place-items:center;min-width:0;width:100%;min-height:100%;aspect-ratio:16/9;font-size:clamp(42px,5vw,80px);font-weight:600;line-height:1;letter-spacing:-.065em;background:var(--text-gradient);background-clip:text;-webkit-background-clip:text;color:transparent;padding:24px;text-align:center}
.team-work-content{padding:29px 30px 30px}
.team-work-content>.eyebrow{font-size:9px;line-height:1.7;color:var(--accent);letter-spacing:.09em}
.team-work-content h3{font-size:29px;line-height:1.25;font-weight:550;letter-spacing:-.04em;margin:12px 0}
.team-work-content p{font-size:14px;line-height:1.85;color:var(--muted);margin:0;max-width:550px}
.team-work-content .tags{margin:23px 0;gap:7px}
.team-work-content .tags span{font-size:10px;padding:6px 10px;line-height:1.5}
.section-link{display:inline-flex;align-items:center;gap:24px;max-width:100%;font-size:12px;line-height:1.6;text-decoration:none;border-bottom:1px solid var(--line);padding:0 0 7px;color:var(--ink);transition:color .2s,border-color .2s}
.section-link:hover,.section-link:focus-visible{color:var(--accent);border-color:var(--accent)}
.section-link span{font-size:20px;line-height:1}
.profile-toolbar{display:flex;justify-content:space-between;align-items:center;gap:20px;margin:0 0 25px;padding:0 0 19px;border-bottom:1px solid var(--line);position:relative;z-index:3}
.profile-toolbar>a{display:inline-flex;align-items:center;gap:9px;font-size:11px;line-height:1.6;color:var(--muted);text-decoration:none}
.profile-toolbar>a:hover{color:var(--accent)}
.member-switcher{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:5px;min-width:0}
.member-switcher a{display:block;border:1px solid transparent;border-radius:999px;padding:6px 10px;color:var(--muted);font-size:10px;line-height:1.5;text-decoration:none;transition:background .2s,border-color .2s,color .2s}
.member-switcher a:hover,.member-switcher a[aria-current="page"]{border-color:var(--glass-border);background:var(--glass);color:var(--ink)}
.member-switcher a[aria-current="page"]{border-color:var(--glass-border-hover)}
.profile-heading{min-width:0}
.profile-page .hero h1{font-size:clamp(55px,6.4vw,100px);letter-spacing:-.075em;line-height:1.05;max-width:100%;margin:0}
.profile-heading .profile-first,.profile-heading .profile-last{display:block;max-width:100%;overflow-wrap:anywhere}
.profile-heading .profile-role{font-size:clamp(17px,1.7vw,25px);line-height:1.45;letter-spacing:-.025em;color:var(--strong-text);margin:24px 0 0;max-width:440px}
.profile-copy>p{font-size:14px;line-height:1.9;max-width:450px;margin:18px 0 0;color:var(--muted)}
.profile-facts{display:flex;align-items:center;flex-wrap:wrap;gap:9px 18px;margin-top:25px;color:var(--muted);font-size:10px;line-height:1.7}
.profile-facts>span{display:inline-flex;align-items:center;gap:7px}
.profile-facts>span+span{padding-left:17px;border-left:1px solid var(--line)}
.profile-cv-actions{display:flex;align-items:center;flex-wrap:wrap;gap:13px;margin-top:26px}
.profile-cv-actions>.text-button{min-height:47px;padding:0 18px;border:1px solid var(--glass-border);border-radius:999px;background:var(--glass);font-size:11px;line-height:1.5}
.profile-page .hero-copy{min-width:0;padding-top:25px;padding-bottom:35px}
.profile-page .hero-grid{grid-template-columns:minmax(0,1.05fr) minmax(0,1fr)}
.profile-section-grid{display:grid;grid-template-columns:minmax(0,.65fr) minmax(0,1.35fr);gap:9%;align-items:start}
.profile-section-grid>aside{min-width:0;position:sticky;top:130px}
.profile-section-grid>aside h2{font-size:clamp(34px,3.7vw,53px);font-weight:500;line-height:1.15;letter-spacing:-.055em;margin:17px 0 0}
.profile-section-grid>aside>p{font-size:13px;line-height:1.85;color:var(--muted);max-width:270px;margin-top:19px}
.profile-section-grid>div,.profile-section-grid>main{min-width:0}
.profile-page .experience-list article{margin:0 0 13px;padding:25px 27px}
.profile-page .experience-list h3{font-size:18px;line-height:1.45}
.profile-page .experience-list time{font-size:11px;line-height:1.6;white-space:normal}
.profile-page .experience-list .role{font-size:13px;line-height:1.7;margin-top:10px}
.profile-page .experience-list .experience-description{font-size:13px;line-height:1.85;margin-top:9px}
.profile-skills-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.profile-skill-group{padding:26px;border:1px solid var(--glass-border);border-radius:7px 23px 7px 23px;background:var(--glass);min-width:0;box-shadow:inset 0 1px 0 var(--glass-highlight)}
.profile-skill-group h3{font-size:17px;line-height:1.45;letter-spacing:-.025em;font-weight:600;margin:0 0 18px}
.profile-skill-group .tags{margin:0;gap:7px}
.profile-skill-group .tags span{font-size:11px;line-height:1.55;padding:6px 10px}
.profile-skill-group p{font-size:13px;line-height:1.85;color:var(--muted);margin:16px 0 0}
.profile-education{display:grid;gap:14px}
.profile-education>article,.profile-education>.education-row{display:grid;grid-template-columns:minmax(0,1fr) auto;column-gap:22px;row-gap:7px;padding:25px 27px;border:1px solid var(--glass-border);border-radius:21px;background:var(--glass);margin:0;min-width:0}
.profile-education h3{grid-column:1;grid-row:1;font-size:16px;line-height:1.5;font-weight:600;letter-spacing:-.015em;margin:0}
.profile-education p{grid-column:1;font-size:13px;line-height:1.85;color:var(--muted);margin:0}
.profile-education time{grid-column:2;grid-row:1;font-size:11px;line-height:1.8;color:var(--muted)}
.profile-links{display:flex;flex-wrap:wrap;align-items:center;gap:15px 24px;margin-top:26px}
.profile-links a{overflow-wrap:anywhere;max-width:100%}
.profile-projects>.project-grid{gap:24px}
.profile-projects .team-work-card .tags{margin-top:20px}
.cv-profile-print{border:1px solid var(--glass-border);border-radius:var(--team-card-radius);background:var(--glass-strong);padding:40px;box-shadow:inset 0 1px 0 var(--glass-highlight);max-width:1440px;overflow-wrap:anywhere}
.cv-profile-head{display:flex;justify-content:space-between;align-items:flex-start;gap:25px;border-bottom:1px solid var(--line);padding-bottom:25px;margin-bottom:25px}
.cv-profile-head h2{font-size:38px;font-weight:550;line-height:1.15;letter-spacing:-.045em;margin:0}
.cv-profile-head p{font-size:13px;line-height:1.8;color:var(--muted);margin-top:10px}
.cv-profile-head img{width:80px;height:40px;object-fit:contain;filter:brightness(0) saturate(100%)}
html[data-theme="dark"] .cv-profile-head img{filter:none}
.cv-profile-print h3{font-size:18px;line-height:1.4;font-weight:600;letter-spacing:-.02em;margin:30px 0 15px}
.cv-profile-print>p,.cv-profile-print li{font-size:13px;line-height:1.85;color:var(--muted)}
.cv-profile-print .cv-experience{padding:18px 0;border-top:1px solid var(--line)}
.cv-profile-print .cv-experience h4{font-size:15px;line-height:1.5;margin:0}
.cv-profile-print .cv-experience time{font-size:11px;line-height:1.6;color:var(--muted)}
.cv-profile-print .cv-experience p{font-size:12px;line-height:1.85;color:var(--muted)}
.cv-profile-print .cv-skills{gap:20px}
.team-page .site-footer .brand-lockup,.profile-page .site-footer .brand-lockup{margin-right:15px}
.site-footer .brand-lockup img{width:62px;height:32px}
.site-footer .brand-lockup small{font-size:8px}
@media(hover:hover) and (prefers-reduced-motion:no-preference){
  .person-card:hover{transform:translateY(-5px);border-color:color-mix(in srgb,var(--person-accent) 46%,var(--glass-border));box-shadow:0 12px 40px color-mix(in srgb,var(--person-accent) 10%,transparent),inset 0 1px 0 var(--glass-highlight)}
  .person-card:hover:after{opacity:1}
}
.person-card:focus-visible{border-color:var(--accent)}
.person-card:focus-visible:after{opacity:1}
@media(max-width:1100px){
  .team-manifesto{gap:6%}
  .people-grid{gap:16px}
  .person-card{padding:15px}
  .person-card-content{padding-top:20px}
  .person-card-content h3{font-size:27px}
  .person-card-content p{font-size:12px}
  .person-card-tags{padding:18px 1px}
  .person-card-bottom{font-size:9px;gap:8px}
  .team-work-content{padding:25px}
  .profile-page .hero h1{font-size:clamp(52px,6.4vw,74px)}
  .profile-heading .profile-role{font-size:20px}
  .profile-copy>p{font-size:13px;line-height:1.85}
  .profile-section-grid{grid-template-columns:minmax(0,.6fr) minmax(0,1.4fr);gap:6%}
  .profile-skills-grid{gap:12px}
  .profile-skill-group{padding:22px}
}
@media(max-width:800px){
  .brand-lockup{gap:9px}
  .brand-lockup img{width:68px;height:26.5px}
  .brand-lockup small{font-size:8px;padding-left:9px}
  .team-intro{align-items:flex-start;gap:25px}
  .team-intro h2{font-size:40px}
  .team-intro>p{font-size:13px;max-width:260px}
  .team-manifesto{grid-template-columns:1fr;gap:32px}
  .team-statement h2{max-width:570px;font-size:46px}
  .team-statement>p{max-width:560px;font-size:14px}
  .team-principles{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
  .team-principles article{display:block;padding:20px}
  .team-principles h3{font-size:17px;margin-top:20px}
  .team-principles p{font-size:12px;line-height:1.8}
  .people-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
  .person-card:last-child{grid-column:1/-1;display:grid;grid-template-columns:1fr 1fr;column-gap:24px}
  .person-card:last-child .person-card-top{grid-column:1/-1}
  .person-card:last-child .person-identity{grid-column:1;grid-row:2/5}
  .person-card:last-child .person-card-content{padding-top:8px}
  .person-card:last-child .person-card-tags{align-content:start}
  .person-card:last-child .person-card-bottom{grid-column:2;align-self:end}
  .team-work-grid{gap:18px}
  .team-work-content{padding:23px}
  .team-work-content h3{font-size:25px}
  .team-work-content p{font-size:13px}
  .team-work-content .tags span{font-size:9px}
  .profile-page .hero h1{font-size:clamp(42px,6.5vw,56px)}
  .profile-page .hero-copy{padding-top:22px}
  .profile-heading .profile-role{font-size:17px;margin-top:20px}
  .profile-copy>p{font-size:12px;line-height:1.85;margin-top:15px}
  .profile-facts{font-size:9px;gap:8px 12px;margin-top:18px}
  .profile-facts>span+span{padding-left:11px}
  .profile-cv-actions{gap:9px;margin-top:21px}
  .profile-cv-actions .button{font-size:10px;padding:13px 15px;gap:14px}
  .profile-cv-actions>.text-button{font-size:10px;min-height:43px;padding:0 13px}
  .profile-section-grid{grid-template-columns:1fr;gap:28px}
  .profile-section-grid>aside{position:static}
  .profile-section-grid>aside>p{max-width:450px}
  .profile-section-grid>aside h2{font-size:39px}
  .profile-toolbar{gap:12px;margin-bottom:20px}
  .member-switcher a{font-size:9px;padding:6px 8px}
  .profile-toolbar>a{font-size:10px}
}
@media(max-width:600px){
  .team-page,.profile-page{--team-card-radius:23px}
  body>.site-header{display:flex;justify-content:space-between}
  .brand-lockup img{width:60px;height:23.4px}
  .brand-lockup small{font-size:7px;letter-spacing:.15em;padding-left:8px}
  .brand-lockup{gap:8px}
  .team-intro{display:block;margin-bottom:28px}
  .team-intro h2{font-size:39px;line-height:1.15;margin-top:15px}
  .team-intro>p{max-width:100%;font-size:13px;line-height:1.85;margin-top:18px}
  .team-statement{padding-top:0}
  .team-statement h2{font-size:40px;line-height:1.16;margin-top:16px}
  .team-statement>p{font-size:13px;line-height:1.9;margin-top:22px}
  .team-manifesto{gap:27px}
  .team-principles{grid-template-columns:1fr;gap:12px}
  .team-principles article{display:grid;grid-template-columns:25px minmax(0,1fr);gap:0 15px;padding:23px}
  .team-principles h3{font-size:18px;margin:0}
  .team-principles p{font-size:13px;line-height:1.85;margin-top:9px}
  .people-grid{grid-template-columns:1fr;gap:20px}
  .person-card,.person-card:last-child{display:flex;grid-column:auto;padding:18px;gap:0}
  .person-card:last-child .person-identity{grid-column:auto;grid-row:auto}
  .person-card:last-child .person-card-content{padding-top:24px}
  .person-card:last-child .person-card-bottom{grid-column:auto;align-self:auto}
  .person-card-top{padding-bottom:14px}
  .person-card-top code{font-size:9px}
  .person-identity{aspect-ratio:4/3}
  .person-initials{font-size:90px}
  .person-card-content,.person-card:last-child .person-card-content{padding:24px 2px 0}
  .person-card-content h3{font-size:30px;margin-top:10px;margin-bottom:12px}
  .person-card-content p{font-size:13px;line-height:1.85}
  .person-card-tags{padding:20px 2px}
  .person-card-tags span{font-size:10px;padding:5px 10px}
  .person-card-bottom{font-size:10px;padding-top:16px}
  .team-work-grid{grid-template-columns:1fr;gap:20px}
  .team-work-content{padding:25px 23px}
  .team-work-content h3{font-size:27px}
  .team-work-content p{font-size:13px;line-height:1.9}
  .project-wordmark{font-size:clamp(40px,12vw,66px)}
  .section-link{font-size:12px;gap:24px}
  .profile-toolbar{display:flex;flex-direction:column;align-items:flex-start;gap:14px;padding-bottom:18px;margin-bottom:17px}
  .profile-toolbar>a{font-size:11px}
  .member-switcher{justify-content:flex-start;gap:5px;max-width:100%}
  .member-switcher a{font-size:10px;padding:6px 10px}
  .profile-page .hero-grid{display:flex}
  .profile-page .hero-copy{padding-top:30px;padding-bottom:22px}
  .profile-page .hero h1{font-size:clamp(44px,12.4vw,72px);line-height:1.07;letter-spacing:-.065em}
  .profile-heading .profile-role{font-size:20px;line-height:1.5;margin-top:20px;max-width:330px}
  .profile-copy>p{font-size:13px;line-height:1.9;margin-top:17px;max-width:100%}
  .profile-facts{font-size:10px;line-height:1.7;margin-top:21px;gap:8px 14px}
  .profile-cv-actions{margin-top:24px;gap:11px}
  .profile-cv-actions .button{font-size:11px;padding:14px 19px;gap:20px}
  .profile-cv-actions>.text-button{min-height:46px;font-size:11px;padding:0 16px}
  .profile-section-grid{gap:26px}
  .profile-section-grid>aside h2{font-size:37px}
  .profile-section-grid>aside>p{font-size:13px;line-height:1.85;margin-top:16px}
  .profile-page .experience-list article{padding:23px;margin-bottom:13px}
  .profile-page .experience-meta{flex-wrap:wrap;gap:7px 15px}
  .profile-page .experience-list h3{font-size:17px}
  .profile-page .experience-list time{font-size:10px}
  .profile-page .experience-list .role{font-size:12px;line-height:1.75}
  .profile-page .experience-list .experience-description{font-size:12px;line-height:1.9}
  .profile-skills-grid{grid-template-columns:1fr;gap:13px}
  .profile-skill-group{padding:24px}
  .profile-skill-group h3{font-size:18px;margin-bottom:17px}
  .profile-skill-group .tags span{font-size:11px;padding:6px 10px}
  .profile-education>article,.profile-education>.education-row{grid-template-columns:1fr;padding:23px;gap:8px}
  .profile-education h3{font-size:16px}
  .profile-education p{font-size:12px;line-height:1.85}
  .profile-education time{grid-column:1;grid-row:auto;font-size:10px;margin-top:4px}
  .profile-links{gap:16px 23px;margin-top:24px}
  .cv-profile-print{padding:27px 23px}
  .cv-profile-head{gap:15px;padding-bottom:21px;margin-bottom:21px}
  .cv-profile-head h2{font-size:29px}
  .cv-profile-head p{font-size:12px}
  .cv-profile-head img{width:60px;height:30px}
  .cv-profile-print h3{font-size:17px;margin-top:27px}
  .cv-profile-print>p,.cv-profile-print li{font-size:12px;line-height:1.85}
  .team-page .site-footer .brand-lockup,.profile-page .site-footer .brand-lockup{margin-right:0}
  .site-footer .brand-lockup img{width:54px;height:28px}
  .site-footer .brand-lockup small{display:none}
}
@media(max-width:360px){
  .brand-lockup small{display:none}
  .brand-lockup img{width:58px;height:22.6px}
  .team-intro h2{font-size:35px}
  .team-statement h2{font-size:36px}
  .person-card-content h3{font-size:27px}
  .profile-page .hero h1{font-size:clamp(39px,12.1vw,44px)}
  .profile-heading .profile-role{font-size:18px}
  .member-switcher a{font-size:9px;padding:6px 9px}
  .profile-cv-actions{gap:10px}
}
@media(prefers-reduced-motion:reduce){
  .person-card,.person-card:after,.member-switcher a,.section-link{transition:none}
  .person-card:hover{transform:none}
}
[data-motion="paused"] .person-card:hover{transform:none}
@media print{
  /* Use the page identity so button printing and Ctrl+P share the same layout. */
  body.profile-page{background:#fff;color:#17212c;font-size:10pt;margin:0;overflow:visible;isolation:auto}
  body.profile-page>*:not(main),body.profile-page::before,body.profile-page::after{display:none!important}
  body.profile-page>main{display:block;position:static;z-index:auto;margin:0;padding:0;overflow:visible}
  body.profile-page>main>:not(#cv){display:none!important}
  body.profile-page>main>#cv{display:block;position:static;width:100%;max-width:100%;margin:0;padding:0;border:0;border-radius:0;background:#fff;box-shadow:none;overflow:visible;break-inside:auto}
  body.profile-page #cv .profile-cv-actions{display:none!important}
  body.profile-page #cv *{box-shadow:none;text-shadow:none;backdrop-filter:none;-webkit-backdrop-filter:none;color:#17212c;background:none;-webkit-text-fill-color:currentColor;opacity:1;transform:none;overflow-wrap:anywhere}
  body.profile-page #cv .cv-profile-head{display:block;padding-bottom:10pt;margin-bottom:10pt;border-bottom:1pt solid #ccd2d9;break-inside:avoid;break-after:avoid}
  body.profile-page #cv .cv-profile-head h2{font-size:26pt;line-height:1.15;margin:0}
  body.profile-page #cv .cv-profile-head p{font-size:10pt;line-height:1.5;margin:6pt 0 0}
  body.profile-page #cv .eyebrow{font-size:8pt;line-height:1.4;margin-bottom:4pt}
  body.profile-page #cv p,body.profile-page #cv li{font-size:9pt;line-height:1.55}
  body.profile-page #cv .profile-summary{margin:0 0 8pt}
  body.profile-page #cv .profile-links{display:block;margin:8pt 0 12pt}
  body.profile-page #cv a{color:#17212c;text-decoration:underline;white-space:normal}
  body.profile-page #cv .profile-links a{display:inline-block;margin:0 12pt 4pt 0;font-size:9pt}
  /* Keep long sections fragmentable instead of printing a sticky two-column grid. */
  body.profile-page #cv .profile-section-grid{display:block;margin-top:14pt;break-inside:auto}
  body.profile-page #cv .profile-section-grid>aside{position:static;margin:0 0 7pt;break-inside:avoid;break-after:avoid}
  body.profile-page #cv .profile-section-grid>aside h2{font-size:15pt;line-height:1.25;letter-spacing:0;margin:0;break-after:avoid}
  body.profile-page #cv .profile-section-grid>aside h2 br{display:none}
  body.profile-page #cv .profile-section-grid>aside h2 .serif::before{content:' '}
  body.profile-page #cv h3{font-size:11pt;line-height:1.4;margin:0 0 5pt;break-after:avoid}
  body.profile-page #cv .experience-list,body.profile-page #cv .profile-skills-grid,body.profile-page #cv .profile-education,body.profile-page #cv .profile-languages{display:block}
  body.profile-page #cv .experience-list article,body.profile-page #cv .profile-education>article{margin:0 0 8pt;padding:8pt 0;border:0;border-bottom:1pt solid #d6dce2;border-radius:0;break-inside:avoid}
  body.profile-page #cv .experience-meta{display:block}
  body.profile-page #cv time{font-size:8pt;line-height:1.5;white-space:normal}
  body.profile-page #cv .experience-list .role{font-size:9pt;line-height:1.5;margin:4pt 0}
  body.profile-page #cv .experience-list .experience-description{font-size:9pt;line-height:1.55;margin:4pt 0 0}
  body.profile-page #cv .profile-skill-group{margin:0 0 9pt;padding:0;border:0;border-radius:0;break-inside:auto}
  body.profile-page #cv .profile-skill-group h3{margin:0 0 5pt}
  body.profile-page #cv .tags{display:block;margin:0;line-height:1.8}
  body.profile-page #cv .tags span{display:inline-block;max-width:100%;font-size:8pt;line-height:1.4;border:1pt solid #d6dce2;padding:2pt 4pt;margin:0 3pt 3pt 0;break-inside:avoid}
  body.profile-page #cv .profile-education>article{display:block}
  body.profile-page #cv .profile-education p{margin:3pt 0}
  body.profile-page #cv .profile-languages p{margin:0;padding:5pt 0;border-color:#d6dce2;break-inside:avoid}
  @page{size:A4;margin:17mm}
}

/* Text-only personal projects share the same reserved desktop viewport. */
.browser-screen>.project-wordmark{height:100%;min-height:0;padding:10px;gap:6px;font-size:clamp(24px,5vw,64px);text-align:center}
.browser-screen>.project-wordmark>.eyebrow,.browser-screen>.project-wordmark>span:last-child{font-size:clamp(6px,1vw,10px);line-height:1.4}
