:root {
  color-scheme: light;
  scroll-behavior: smooth;
  font-family: system-ui, sans-serif;
  background: #edf2f3;
  color: #22363f;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
a {
  color: inherit;
}
a:focus-visible {
  outline: 3px solid #47767d;
  outline-offset: 5px;
}
.profile {
  max-width: 1230px;
  margin: auto;
  padding: 0 clamp(18px, 5vw, 74px) 64px;
}
.profile-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding: 25px 0;
  font-size: clamp(0.76rem, 2vw, 0.94rem);
  font-weight: 650;
}
.identifier {
  text-decoration: none;
}
.share {
  padding: 9px 13px;
  border: 1px solid #607e88;
  border-radius: 6px;
  text-decoration: none;
}
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.88fr);
  min-height: 390px;
  border-radius: 4px 4px 4px 48px;
  overflow: hidden;
  background: #dbe8ea;
  border-top: 7px solid var(--accent);
  box-shadow: 0 18px 60px #25404d14;
}
.hero-text {
  display: grid;
  align-content: center;
  padding: clamp(22px, 5vw, 72px);
  overflow-wrap: anywhere;
}
.territory {
  font-weight: 700;
  margin: 0 0 13px;
}
.hero h1 {
  font:
    500 clamp(3rem, 7.1vw, 6.5rem) / 0.94 Georgia,
    serif;
  letter-spacing: -0.07em;
  margin: 0;
}
.profession {
  font-size: clamp(1rem, 2.1vw, 1.45rem);
  line-height: 1.35;
  margin: 20px 0;
}
.jump {
  justify-self: start;
  font-weight: 650;
  text-underline-offset: 4px;
}
.portrait {
  display: block;
  width: 100%;
  height: 100%;
  max-height: 610px;
  aspect-ratio: 4/5;
  min-width: 0;
  object-fit: cover;
  object-position: center 36%;
  background: #a8bdc4;
}
.initials {
  display: grid;
  place-items: center;
  font:
    500 clamp(5rem, 13vw, 11rem) / 1 Georgia,
    serif;
  color: #263e48;
}
.story {
  display: grid;
  grid-template-columns: minmax(0, 0.55fr) minmax(0, 1fr);
  gap: 20px;
  padding: 32px 0;
  border-bottom: 1px solid #a7b9c0;
  overflow-wrap: anywhere;
}
.story h2 {
  margin: 0;
  font:
    500 clamp(1.9rem, 4vw, 3rem) / 1.06 Georgia,
    serif;
  letter-spacing: -0.045em;
}
.story p {
  line-height: 1.75;
  font-size: 1.02rem;
  margin: 0 0 14px;
  max-width: 65ch;
}
.story p:last-child {
  margin-bottom: 0;
}
.milestones,
.sources {
  list-style: none;
  padding: 0;
  margin: 0;
}
.milestones li {
  padding: 12px 0;
  border-bottom: 1px solid #bfced2;
  line-height: 1.5;
}
.milestones li:first-child {
  padding-top: 0;
}
.milestones li:last-child {
  border: 0;
}
.sources li {
  padding: 6px 0;
}
.notice {
  max-width: 650px;
  margin: 12vh auto;
  padding: 22px;
}
.notice h1 {
  font-family: Georgia, serif;
  font-size: 2.5rem;
}
@media (max-width: 640px) {
  .hero {
    grid-template-columns: 1fr;
    border-radius: 4px 4px 4px 28px;
  }
  .portrait {
    max-height: 410px;
    aspect-ratio: 1/1;
  }
  .hero-text {
    order: 2;
  }
  .story {
    grid-template-columns: 1fr;
    padding: 23px 0;
    gap: 12px;
  }
}
@media (prefers-reduced-motion: reduce) {
  :root {
    scroll-behavior: auto;
  }
}
