*{box-sizing:border-box}
html{color-scheme:dark}
body{margin:0;background:radial-gradient(ellipse at 82% 8%,#273146 0,transparent 35%),#101319;color:#f1f3f6;font:17px/1.65 Roboto,Arial,sans-serif}
header,main{width:min(1080px,90%);margin:auto}
header{display:flex;align-items:center;justify-content:space-between;padding:18px 0;border-bottom:1px solid #515a6c}
header img{display:block;width:165px}
a{color:inherit;text-underline-offset:5px}
header>a:last-child,.profile-jumps a{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:5px 18px;border:1px solid #596476;border-radius:30px;text-decoration:none;background:#2f384a55;backdrop-filter:blur(8px)}
.hero,.chapter{display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:clamp(22px,6vw,90px);padding:clamp(36px,7vw,85px) 0}
.label{font-size:.88rem;color:#bdcce2;letter-spacing:.06em}
h1,h2,h3{line-height:1.08;margin:0}
h1{font-size:clamp(3rem,6.7vw,6rem);letter-spacing:-.055em}
h2{font-size:clamp(2rem,4vw,3.15rem);letter-spacing:-.04em}
h3{font-size:1.4rem}
p{color:#ccd1da}
.lead{max-width:42ch}
.portrait{width:100%;height:auto;border-radius:20px;box-shadow:0 22px 70px #0006}
.chapter,footer{border-top:1px solid #465062}
.chapter{grid-template-columns:1fr 1.6fr;align-items:start}
.chapter p:first-child{margin-top:0}
article+article{margin-top:30px}
footer{padding:45px 0}
@media(max-width:650px){.hero,.chapter{grid-template-columns:1fr}.portrait{max-height:460px;object-fit:contain}}

.career article{border-left:2px solid #778ba8;padding-left:1.25rem}
.career article p{margin-bottom:0}

.profile-intro { display: none; }
@media (prefers-reduced-motion: no-preference) {
  .show-profile-intro .profile-intro {
    display: grid;
    place-items: center;
    position: fixed;
    inset: 0;
    z-index: 10;
    pointer-events: none;
    background: radial-gradient(ellipse at center, #272a2e, #08090b 75%);
    animation: profile-intro-exit .45s 1.65s ease-in both;
  }
  .profile-intro-logo {
    position: relative;
    width: min(760px, 90vw, 132vh);
    aspect-ratio: 3 / 2;
  }
  .profile-intro-logo span {
    position: absolute;
    inset: 0;
    background: url('logo-lr.webp') center / contain no-repeat;
    animation: profile-logo-arrive .55s ease-out both;
  }
  .profile-intro-mark { clip-path: inset(0 0 24%); }
  .profile-intro-logo .profile-intro-name {
    clip-path: inset(76% 0 0);
    animation-delay: .55s;
  }
  @keyframes profile-logo-arrive {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
  }
  @keyframes profile-intro-exit {
    from { opacity: 1; visibility: visible; }
    to { opacity: 0; visibility: hidden; }
  }
}

.profile-jumps { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.25rem; }
@media (max-width: 460px) {
  .profile-jumps a { padding-inline: clamp(.65rem, 3vw, 1rem); font-size: clamp(.825rem, 3.7vw, 1rem); }
}

body { background: radial-gradient(ellipse at 82% 8%, #262b35 0, transparent 35%), #121418; }
main section[id] { scroll-margin-top: 1.5rem; }
@media (max-width: 460px) {
  header { gap: .75rem; }
  header img { width: clamp(125px, 40vw, 165px); }
  .hero { padding-block: 1.75rem; gap: 1.15rem; }
  .hero h1 { font-size: clamp(2.4rem, 10vw, 3.25rem); }
}

.story h3 { margin: 1.8rem 0 .65rem; }
.story h3:first-child { margin-top: 0; }

.unit-links { align-self: start; margin-top: 0; }

.profile-contact {
  padding-block: clamp(24px, 5vw, 48px);
  border-top: 1px solid #465062;
}
.profile-contact h2 { margin: 0 0 16px; }
.profile-contact-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  max-width: 660px;
}
.profile-contact-links a {
  display: grid;
  gap: 4px;
  padding: 14px 16px;
  border: 1px solid #465062;
  border-radius: 14px;
  color: #f3f7ff;
  background: #202632;
  text-decoration: none;
}
.profile-contact-links a:is(:hover, :focus-visible) { background: #2d3748; }
.profile-contact-links span { color: #c4cfdf; overflow-wrap: anywhere; }
.profile-footer { padding: 18px 0 28px; font-size: .8rem; color: #b7c2d3; }
.profile-footer p { margin: 0; }
.profile-footer p + p { margin-top: 4px; }

@media (max-width: 600px) {
  .profile-contact-links { grid-template-columns: 1fr; }
}
