/* Homepage applicant profile: four readable groups, within the existing palette. */
.hero-resources { display: flex; flex-wrap: wrap; gap: 0 var(--space-lg); list-style: none; padding: 0; margin: var(--space-sm) 0 0; }
.hero-resources .text-link { white-space: nowrap; }
.about.applicant-profile { margin-top: 0; padding-top: 0; }
.profile-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: var(--space-lg) var(--space-2xl); border-top: 1px solid var(--rule); padding-top: var(--space-lg); }
.profile-grid>* { min-width: 0; }
.profile-heading { margin-top: var(--space-sm); }
.profile-heading h2 { font: clamp(1.8rem, 2.6vw, 2.4rem)/1.12 var(--serif); letter-spacing: -.025em; max-width: 24ch; }
.profile-portrait { display: none; }
.profile-intro-copy { font-size: .9375rem; line-height: 1.6; margin-top: var(--space-md); max-width: 69ch; }
.profile-group-title { font: 500 1rem/1.4 var(--sans); color: var(--blue-strong); margin-bottom: var(--space-md); }
.profile-process ol { list-style: none; margin: 0; padding: 0; }
.profile-process li { display: grid; grid-template-columns: 24px minmax(0,1fr); gap: var(--space-sm); }
.profile-process li+li { margin-top: var(--space-md); padding-top: var(--space-sm); border-top: 1px solid var(--rule); }
.profile-step { color: var(--blue-strong); font: .6875rem/1.8 var(--mono); }
.profile-process h4 { margin: 0 0 .25rem; font: 500 .9375rem/1.4 var(--sans); }
.profile-process p, .profile-capabilities dd { font-size: .875rem; line-height: 1.55; }
.profile-capabilities, .profile-direction { border-top: 1px solid var(--rule); padding-top: var(--space-md); }
.profile-capabilities dl { display: flex; flex-wrap: wrap; gap: var(--space-md) var(--space-lg); }
.profile-capabilities dl>div { flex: 1 1 calc(50% - 12px); min-width: min(100%,9rem); }
.profile-capabilities dt { color: var(--blue-strong); font: 500 .8125rem/1.5 var(--sans); margin-bottom: .25rem; }
.profile-direction p { font: 1.0625rem/1.5 var(--serif); border-left: 2px solid var(--gold); padding-left: var(--space-md); max-width: 55ch; }
@media(max-width:1024px) {
  .profile-grid { gap: var(--space-lg) var(--space-xl); }
}
@media(max-width:800px) {
  .profile-grid { grid-template-columns: 1.05fr 1fr; column-gap: var(--space-lg); }
  .profile-capabilities dl { column-gap: var(--space-md); }
}
@media(max-width:600px) {
  .profile-grid { grid-template-columns: 1fr; row-gap: var(--space-md); }
  .profile-heading { display: flex; flex-wrap: wrap; gap: var(--space-md); align-items: start; }
  .profile-heading h2 { flex: 1 1 12rem; min-width: 0; font-size: 1.8rem; }
  .profile-portrait { display: block; flex: 0 0 120px; width: 120px; }
  .profile-portrait img { width: 100%; height: auto; }
  .profile-portrait figcaption { margin-top: .25rem; color: var(--muted); font: .625rem/1.5 var(--mono); }
  .profile-group-title { margin-bottom: var(--space-sm); }
  .profile-process li { row-gap: .25rem; }
  .profile-process li>div { display: contents; }
  .profile-process h4 { grid-column: 2; margin-bottom: 0; }
  .profile-process p { grid-column: 1 / -1; }
  .profile-process li+li { margin-top: var(--space-sm); padding-top: var(--space-xs); }
  .profile-direction p { font-size: 1rem; }
  .profile-process { border-top: 1px solid var(--rule); padding-top: var(--space-md); }
}
