/* Team portrait links and individual profiles. No changes to shared site styles. */
.team-headshot-link{
  position:relative;text-decoration:none;color:var(--navy);isolation:isolate;
}
.team-headshot-link img{transition:transform 180ms ease;transform-origin:center}
.team-bio-pill{
  position:absolute;right:12px;bottom:12px;z-index:1;
  padding:8px 14px;border:1px solid rgba(255,255,255,.4);border-radius:999px;
  color:#fff8e9;background:rgba(4,25,47,.88);font-size:.86rem;font-weight:800;
  line-height:1.4;box-shadow:0 5px 16px rgba(0,0,0,.2);
  -webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);
  opacity:1;transform:translateY(0);transition:opacity 180ms ease,transform 180ms ease;
  pointer-events:none;
}
.team-headshot-link:focus-visible{outline:3px solid var(--navy);outline-offset:5px}
.team-headshot-link:focus-visible img{transform:scale(1.04)}
@media (hover:hover) and (pointer:fine){
  .team-bio-pill{opacity:0;transform:translateY(5px)}
  .team-headshot-link:hover img{transform:scale(1.04)}
  .team-headshot-link:hover .team-bio-pill,
  .team-headshot-link:focus-visible .team-bio-pill{opacity:1;transform:translateY(0)}
}
@media (any-pointer:coarse), (max-width:640px){.team-bio-pill{opacity:1;transform:none}}

.profile-page{
  --profile-color:#ae2027;--profile-dark:#7d1118;--profile-footer:#0a2d5f;
  --profile-band:var(--profile-dark);--profile-button:#0a2d5f;
  min-height:100svh;background:var(--profile-footer);
}
.profile-page--lobos{
  --profile-color:#17558d;--profile-dark:#0b3b69;--profile-footer:#7d1118;
  --profile-button:#7d1118;
}
.profile-page--clyde{--profile-band:#fff8e9}
.profile-page--astro{
  --profile-color:#253b50;--profile-dark:#04192f;--profile-footer:#7d1118;
  --profile-band:#f3f5f7;--profile-button:#04192f;
}
.profile-page--glenn{
  --profile-color:#123f74;--profile-dark:#04192f;--profile-footer:#04192f;
}
.profile-page .site-header{
  position:relative;inset:auto;padding:12px 0;background:var(--cream);
  border-bottom:2px solid var(--gold);z-index:2;
}
.profile-page .header-inner{min-height:70px}
.profile-page .header-brand img{height:70px}
.profile-page .nav-chip{background:#13263d}
.profile-page .nav-chip:hover{background:#23496e}
.profile-page a:focus-visible{outline:3px solid var(--gold-light);outline-offset:5px}
.profile-page .site-header a:focus-visible{outline-color:var(--navy)}
.profile-skip{
  position:absolute;top:8px;left:12px;z-index:5;transform:translateY(-160%);
  padding:12px 18px;border-radius:8px;color:var(--navy);background:white;font-weight:800;
}
.profile-skip:focus{transform:none}
.profile-top{
  padding:28px 0 44px;color:var(--cream);
  background:radial-gradient(ellipse at top right,rgba(255,255,255,.07),transparent 65%),
    linear-gradient(145deg,var(--profile-color),var(--profile-dark));
}
.profile-back{display:inline-block;margin-bottom:26px;font-weight:800;text-underline-offset:4px}
.profile-hero{
  display:grid;grid-template-columns:minmax(0,.84fr) minmax(0,1.16fr);
  align-items:center;gap:clamp(28px,5vw,60px);
}
.profile-portrait{
  display:grid;place-items:end center;align-self:stretch;min-width:0;
  margin:0;aspect-ratio:4/5;overflow:hidden;border:2px solid var(--gold-light);
  border-radius:24px;background:rgba(0,0,0,.13);box-shadow:0 20px 45px rgba(0,0,0,.13);
}
.profile-portrait img{display:block;width:100%;height:100%;min-height:0;object-fit:contain;object-position:center bottom}
.profile-heading{min-width:0;padding:12px 0}
.profile-brand{display:block;width:min(100%,470px);height:auto;margin:0 0 32px}
.profile-heading .eyebrow{font-size:.78rem;letter-spacing:.14em;color:var(--cream)}
.profile-heading h1{
  margin:.3rem 0 0;font-size:clamp(3.3rem,7.7vw,7.8rem);font-weight:950;
  line-height:.98;letter-spacing:-.045em;text-transform:uppercase;
  text-shadow:0 5px 0 rgba(0,0,0,.2);overflow-wrap:normal;
}
.profile-title{
  margin:24px 0 0;padding-top:16px;border-top:2px solid var(--gold-light);
  font-size:clamp(1.25rem,2.2vw,1.75rem);font-weight:800;line-height:1.4;color:var(--gold-light);
}
.profile-bio-band{padding:0 0 48px;background:var(--profile-band)}
.profile-page--clyde .profile-bio-band,.profile-page--astro .profile-bio-band{padding-top:42px}
.profile-bio{
  padding:clamp(34px,5vw,60px) clamp(22px,4vw,48px);border-radius:24px;
  background:var(--cream);border:1px solid rgba(215,165,47,.28);text-align:center;
  color:var(--navy);box-shadow:0 14px 36px rgba(0,0,0,.09);
}
.profile-ornament{display:flex;align-items:center;justify-content:center;gap:22px;color:#936812;font-size:2rem}
.profile-ornament::before,.profile-ornament::after{content:"";width:min(16vw,150px);height:1px;background:#b88318}
.profile-bio h2{
  margin:12px 0;font-size:clamp(1.8rem,4.3vw,3rem);line-height:1.2;font-weight:950;
  color:#86600f;letter-spacing:.01em;text-transform:uppercase;
}
.profile-motto{margin:22px 0 30px;font-size:.78rem;font-weight:800;letter-spacing:.18em;text-transform:uppercase}
.profile-actions{display:flex;justify-content:center;gap:16px;flex-wrap:wrap}
.profile-button{
  display:inline-flex;align-items:center;justify-content:center;min-height:48px;
  padding:12px 22px;border-radius:14px;border:1px solid var(--navy);text-decoration:none;
  font-weight:800;color:var(--navy);transition:background 160ms ease;
}
.profile-button:hover{background:#e9dfc9}
.profile-button--home{color:white;background:var(--profile-button);border-color:var(--profile-button)}
.profile-button--home:hover{color:var(--navy);background:#e9dfc9}
.profile-bio .profile-button:focus-visible{outline-color:var(--navy)}
.profile-footer{padding:30px 0;color:var(--cream);background:var(--profile-footer)}
.profile-footer .container{display:flex;justify-content:space-between;align-items:center;gap:24px}
.profile-footer strong{font-weight:900;font-size:1.4rem}
.profile-footer p{margin:4px 0 0;font-size:.85rem}
.profile-footer .profile-footer-motto{font:italic 1.2rem Georgia,serif}
.profile-photo-placeholder{
  display:grid;place-items:center;width:100%;height:100%;background:#fff;
  color:#0a2d5f;font-size:clamp(7rem,20vw,13rem);font-weight:900;
}
@media (max-width:680px){
  .profile-hero{grid-template-columns:1fr;gap:28px}
  .profile-portrait{width:min(100%,340px);aspect-ratio:1;justify-self:center}
  .profile-heading{text-align:center;padding:0}
  .profile-brand{width:min(100%,340px);margin:0 auto 26px}
  .profile-heading h1{font-size:clamp(3rem,12.5vw,4.5rem)}
  .profile-title{margin-top:18px;padding-top:14px;font-size:1.25rem}
  .profile-top{padding-bottom:32px}
  .profile-bio-band{padding-bottom:32px}
  .profile-actions{flex-direction:column;gap:12px}
  .profile-footer .container{flex-direction:column;text-align:center;gap:24px}
}
@media (max-width:640px){
  .profile-page .site-header{padding:8px 0}
  .profile-page .header-inner{min-height:56px}
  .profile-page .header-brand img{height:56px}
  .profile-page .nav-chip{min-height:44px}
}
@media (prefers-reduced-motion:reduce){
  .team-headshot-link img,.team-bio-pill,.profile-button{transition:none}
  .team-headshot-link:hover img,.team-headshot-link:focus-visible img{transform:none}
  .team-bio-pill{transform:none}
}
