.profile-page {
  background: var(--paper);
}

.profile-page [aria-current="page"] {
  color: var(--teal-dark);
}

.profile-hero {
  position: relative;
  overflow: hidden;
  padding: 40px 0 80px;
  background:
    radial-gradient(circle at 88% 16%, rgba(185, 149, 98, 0.16), transparent 30%),
    linear-gradient(180deg, var(--ivory), #f3f0e9);
}

.profile-hero::after {
  content: "";
  position: absolute;
  right: -130px;
  bottom: -210px;
  width: 460px;
  height: 460px;
  border: 1px solid rgba(11, 113, 133, 0.16);
  border-radius: 50%;
}

.breadcrumbs {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 42px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 650;
}

.breadcrumbs a:hover {
  color: var(--teal-dark);
}

.profile-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.72fr);
  align-items: center;
  gap: clamp(54px, 8vw, 110px);
}

.profile-hero-copy h1 {
  max-width: 790px;
}

.profile-lead {
  max-width: 690px;
  margin: 0 0 30px;
  color: #3a4b52;
  font-size: clamp(19px, 1.8vw, 22px);
}

.profile-note {
  max-width: 670px;
  margin: 0;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

.profile-portrait {
  position: relative;
  justify-self: end;
  width: min(100%, 430px);
  height: 570px;
  overflow: hidden;
  border-radius: 145px 12px 12px 12px;
  background: var(--mist);
  box-shadow: var(--shadow);
}

.profile-portrait::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 62%, rgba(6, 28, 38, 0.58));
  pointer-events: none;
}

.profile-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 31%;
}

.portrait-caption {
  position: absolute;
  right: 28px;
  bottom: 24px;
  left: 30px;
  z-index: 1;
  color: var(--white);
}

.portrait-caption strong,
.portrait-caption span {
  display: block;
}

.portrait-caption strong {
  font-family: var(--serif);
  font-size: 25px;
  font-weight: 500;
}

.portrait-caption span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
}

.profile-facts {
  background: var(--ink);
  color: var(--white);
}

.profile-facts-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.profile-facts-grid > div {
  min-height: 126px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 25px clamp(18px, 3vw, 36px);
  border-left: 1px solid rgba(255, 255, 255, 0.14);
}

.profile-facts-grid > div:last-child {
  border-right: 1px solid rgba(255, 255, 255, 0.14);
}

.profile-facts-grid strong {
  font-family: var(--serif);
  font-size: 30px;
  font-weight: 500;
}

.profile-facts-grid span {
  color: rgba(255, 255, 255, 0.68);
  font-size: 13px;
}

.profile-intro {
  background: var(--paper);
}

.profile-intro-grid {
  display: grid;
  grid-template-columns: minmax(300px, 0.82fr) minmax(0, 1fr);
  gap: clamp(60px, 9vw, 130px);
}

.profile-prose {
  max-width: 700px;
  color: var(--muted);
}

.profile-prose p {
  margin-top: 0;
}

.profile-prose .lead-paragraph {
  color: #31434b;
  font-family: var(--serif);
  font-size: 27px;
  line-height: 1.42;
}

.profile-principles {
  padding-bottom: 110px;
  background: var(--paper);
}

.principles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.principles-grid article {
  min-height: 295px;
  padding: 34px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.principles-grid article > span {
  display: block;
  margin-bottom: 58px;
  color: var(--teal-dark);
  font-family: var(--serif);
  font-size: 20px;
}

.principles-grid h2 {
  font-size: 28px;
}

.principles-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

.profile-vocation {
  background: var(--ink-deep);
  color: rgba(255, 255, 255, 0.72);
}

.vocation-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(330px, 0.7fr);
  align-items: start;
  gap: clamp(60px, 9vw, 120px);
}

.vocation-copy {
  max-width: 720px;
}

.vocation-copy h2,
.vocation-card h2 {
  color: var(--white);
}

.vocation-copy blockquote {
  margin: 38px 0 0;
  padding: 26px 0 0 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  border-left: 2px solid #9fd3dc;
  color: var(--white);
  font-family: var(--serif);
  font-size: 24px;
  line-height: 1.5;
}

.vocation-card {
  padding: 40px 36px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 80px 12px 12px 12px;
  background: rgba(255, 255, 255, 0.06);
}

.vocation-mark {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  margin-bottom: 32px;
  border-radius: 50%;
  background: #9fd3dc;
  color: var(--ink);
  font-family: var(--serif);
}

.vocation-card h2 {
  font-size: 31px;
}

.vocation-card .small-copy {
  color: rgba(255, 255, 255, 0.56);
  font-size: 13px;
}

.profile-training {
  background: var(--ivory);
}

.training-grid {
  display: grid;
  grid-template-columns: minmax(290px, 0.72fr) minmax(0, 1.15fr);
  gap: clamp(60px, 9vw, 130px);
}

.training-intro > p:last-child {
  color: var(--muted);
}

.training-groups {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.training-groups article {
  padding: 32px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 253, 249, 0.68);
}

.training-groups h3 {
  font-size: 25px;
}

.training-groups ul {
  display: grid;
  gap: 12px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.training-groups li {
  position: relative;
  padding-left: 20px;
  color: var(--muted);
  font-size: 14px;
}

.training-groups li::before {
  content: "";
  position: absolute;
  top: 0.7em;
  left: 0;
  width: 8px;
  height: 1px;
  background: var(--teal);
}

.profile-areas {
  background: var(--paper);
}

.profile-area-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.profile-area-grid > a {
  min-width: 0;
  min-height: 285px;
  display: flex;
  flex-direction: column;
  padding: 30px 26px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  transition: background 160ms ease, color 160ms ease;
}

.profile-area-grid > a:hover {
  background: var(--ink);
}

.profile-area-grid span {
  margin-bottom: 45px;
  color: var(--teal-dark);
  font-family: var(--serif);
}

.profile-area-grid h3 {
  font-size: 25px;
}

.profile-area-grid p {
  margin: 0 0 22px;
  color: var(--muted);
  font-size: 14px;
}

.profile-area-grid strong {
  margin-top: auto;
  color: var(--teal-dark);
  font-size: 13px;
}

.profile-area-grid > a:hover h3,
.profile-area-grid > a:hover p,
.profile-area-grid > a:hover strong,
.profile-area-grid > a:hover span {
  color: var(--white);
}

.profile-area-grid > a:hover p {
  color: rgba(255, 255, 255, 0.7);
}

.profile-contact {
  padding: 90px 0;
  background: var(--teal-dark);
  color: rgba(255, 255, 255, 0.75);
}

.profile-contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.72fr);
  align-items: center;
  gap: clamp(55px, 9vw, 120px);
}

.profile-contact h2 {
  max-width: 720px;
  color: var(--white);
}

.profile-contact-grid > div:first-child > p:last-child {
  max-width: 640px;
}

.profile-contact-actions {
  display: grid;
  gap: 12px;
}

.profile-contact-actions > a:not(.button) {
  display: grid;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.profile-contact-actions > a:not(.button) span {
  color: #b9e2e9;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.profile-contact-actions strong {
  color: var(--white);
  font-size: 15px;
  overflow-wrap: anywhere;
}

@media (max-width: 940px) {
  .profile-hero-grid,
  .profile-intro-grid,
  .vocation-grid,
  .training-grid,
  .profile-contact-grid {
    grid-template-columns: 1fr;
  }

  .profile-portrait {
    justify-self: start;
    width: min(100%, 560px);
    height: 590px;
  }

  .profile-area-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .training-intro,
  .profile-contact-grid > div:first-child {
    max-width: 720px;
  }
}

@media (max-width: 760px) {
  .profile-hero {
    padding: 28px 0 64px;
  }

  .breadcrumbs {
    margin-bottom: 34px;
  }

  .profile-portrait {
    height: min(570px, 135vw);
    border-radius: 110px 12px 12px 12px;
  }

  .profile-facts-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .profile-facts-grid > div {
    min-height: 108px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  }

  .principles-grid {
    grid-template-columns: 1fr;
  }

  .principles-grid article {
    min-height: auto;
  }

  .principles-grid article > span {
    margin-bottom: 35px;
  }

  .profile-principles {
    padding-bottom: 80px;
  }

  .vocation-copy blockquote {
    padding-left: 20px;
    font-size: 21px;
  }

  .training-groups {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .profile-note {
    font-size: 13px;
  }

  .profile-prose .lead-paragraph {
    font-size: 24px;
  }

  .vocation-card {
    padding: 34px 26px;
    border-radius: 62px 12px 12px 12px;
  }

  .profile-area-grid {
    grid-template-columns: 1fr 1fr;
  }

  .profile-area-grid > a {
    min-height: 275px;
    padding: 24px 17px;
  }

  .profile-area-grid h3 {
    font-size: 21px;
  }

  .profile-area-grid p,
  .profile-area-grid strong {
    font-size: 12px;
  }
}

@media (max-width: 340px) {
  .profile-facts-grid,
  .profile-area-grid {
    grid-template-columns: 1fr;
  }
}
