.profile-page { color-scheme: light; }
[data-theme="dark"] .profile-page { color-scheme: dark; }
.profile-page :focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
.profile-page a { color: var(--accent); text-underline-offset: 4px; }
.profile-page a:hover { color: var(--text); }
.profile-page .nav-logo { color: var(--text); }
.profile-page .nav-inner { max-width: 1080px; }
.profile-page .theme-btn { min-width: 44px; min-height: 44px; }
.profile-shell { width: min(calc(100% - 64px), 980px); margin-inline: auto; }
.skip-link {
  position: fixed; top: 8px; left: 12px; z-index: 110; padding: 10px 16px;
  background: var(--bg-elevated); border: 1px solid var(--border); border-radius: 8px;
  transform: translateY(-160%);
}
.skip-link:focus { transform: none; }
.profile-hero { padding: 108px 0 56px; }
.back-link { display: inline-block; margin-bottom: 44px; font-size: 14px; text-decoration: none; }
.eyebrow { margin: 0 0 12px; color: var(--accent); font-size: 12px; font-weight: 700; letter-spacing: .04em; }
.profile-hero h1 { margin: 0; font-size: clamp(34px, 4.5vw, 52px); line-height: 1.25; letter-spacing: -.045em; word-break: keep-all; }
.name-credential { display: inline-block; margin-left: 10px; color: var(--muted); font-size: .6em; font-weight: 550; letter-spacing: -.02em; }
.profile-role { margin-top: 28px; font-size: 18px; font-weight: 650; word-break: keep-all; }
.profile-lead { max-width: 690px; margin-top: 18px; color: var(--text-secondary); font-size: 17px; line-height: 1.85; word-break: keep-all; overflow-wrap: anywhere; }
.profile-jumps { display: flex; flex-wrap: wrap; gap: 12px 24px; margin-top: 32px; }
.profile-jumps a { padding-block: 8px; font-size: 14px; font-weight: 600; text-decoration: none; }
.profile-section { display: grid; grid-template-columns: 210px minmax(0, 1fr); gap: 48px; padding: 48px 0; border-top: 1px solid var(--border); scroll-margin-top: 80px; }
.section-heading h2 { font-size: 24px; line-height: 1.3; letter-spacing: -.03em; }
.profile-section h3 { font-size: 18px; font-weight: 650; line-height: 1.5; }
.profile-section h3 a { text-decoration: none; }
.profile-section p { margin-top: 10px; color: var(--text-secondary); font-size: 15px; line-height: 1.85; word-break: keep-all; overflow-wrap: anywhere; }
.profile-section .eyebrow { margin-top: 0; color: var(--accent); font-size: 12px; }
.career-list > div { display: grid; grid-template-columns: 90px minmax(0, 1fr); gap: 20px; padding: 15px 0; border-bottom: 1px solid var(--border); }
.career-list > div:first-child { padding-top: 0; }
.career-list dt { color: var(--muted); font-size: 14px; }
.career-list dd { font-size: 16px; line-height: 1.8; word-break: keep-all; }
.profile-section .profile-note { margin: 16px 0 28px; color: var(--muted); font-size: 13px; }
.credential-list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; list-style: none; }
.credential-list li { padding: 7px 11px; border: 1px solid var(--border); border-radius: 6px; background: var(--bg-elevated); color: var(--text-secondary); font-size: 13px; }
.detail-list, .work-list { display: grid; gap: 28px; }
.detail-list article + article, .work-list article + article { padding-top: 26px; border-top: 1px solid var(--border); }
.profile-section .work-kind { margin: 0 0 7px; color: var(--muted); font-size: 12px; }
.secondary-link { display: inline-block; margin-top: 10px; font-size: 14px; }
.profile-footer { padding: 36px 0; background: var(--bg-elevated); border-top: 1px solid var(--border); }
.profile-footer nav { display: flex; flex-wrap: wrap; gap: 16px; margin: 20px 0; }
.profile-footer nav a { color: var(--text-secondary); font-size: 13px; text-decoration: none; }
.profile-footer p { margin-top: 6px; color: var(--muted); font-size: 12px; }
@media (max-width: 700px) {
  .profile-shell { width: calc(100% - 40px); }
  .profile-page .nav-inner { padding-inline: 20px; }
  .profile-page .nav-links { display: none; }
  .profile-hero { padding: 88px 0 36px; }
  .back-link { margin-bottom: 30px; }
  .profile-role { font-size: 16px; }
  .profile-lead { font-size: 16px; }
  .profile-jumps { gap: 8px 20px; }
  .profile-section { grid-template-columns: minmax(0, 1fr); gap: 28px; padding: 36px 0; }
  .career-list > div { grid-template-columns: 72px minmax(0, 1fr); gap: 14px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
