.profile-story,
.profile-hiring {
  --profile-line: #d0d5c9;
  --profile-accent: #245746;
  color: #202620;
  padding-block: clamp(48px, 6vw, 84px);
  border-top: 1px solid var(--profile-line);
}

.profile-story,
.profile-hiring,
.profile-contact-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.83fr) minmax(0, 1.17fr);
  gap: clamp(35px, 7vw, 116px);
}

.profile-label {
  margin: 0 0 19px;
  color: var(--profile-accent, #245746);
  font: 600 12px/1.4 system-ui, sans-serif;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.profile-title {
  margin: 0;
  color: inherit;
  font: 650 clamp(34px, 3.65vw, 57px)/1.06 system-ui, sans-serif;
  letter-spacing: -.052em;
  text-wrap: balance;
}

.profile-story {
  grid-template-areas: "portrait heading" "portrait story";
  row-gap: clamp(16px, 2vw, 28px);
}
.story-heading { grid-area: heading; align-self: end; }
.profile-story-text { grid-area: story; align-self: start; }
.about-portrait {
  grid-area: portrait;
  display: block;
  width: min(100%, 410px);
  height: auto;
  align-self: center;
  mask-image: linear-gradient(to bottom, #000 90%, transparent);
}

.profile-story-text p {
  max-width: 60ch;
  margin: 0;
  font-size: clamp(16px, 1.25vw, 19px);
  line-height: 1.65;
}

.profile-story-text p + p { margin-top: 14px; }

.profile-story-meta {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  margin: 23px 0 0;
  padding-top: 16px;
  border-top: 1px solid var(--profile-line);
}

.profile-story-meta div { margin: 0; }
.profile-story-meta dt, .profile-hiring-facts dt {
  color: #566054;
  font: 500 12px/1.5 system-ui, sans-serif;
}

.profile-story-meta dd, .profile-hiring-facts dd {
  margin: 4px 0 0;
  font-size: 15px;
  line-height: 1.5;
}

.profile-hiring {
  grid-template-areas: "heading heading" "experience overview";
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: clamp(20px, 3vw, 38px) clamp(32px, 6vw, 92px);
  align-items: start;
}
.profile-hiring > .profile-title { grid-area: heading; }
.profile-hiring-overview {
  grid-area: overview;
  padding: clamp(18px, 3vw, 34px);
  background: var(--gradient-wash, #f0f2ec);
  border: 1px solid var(--profile-line);
}
.profile-experience { grid-area: experience; }
.profile-experience h3 {
  margin: 0 0 16px;
  font: 400 clamp(25px, 2.4vw, 35px)/1.15 var(--serif);
  letter-spacing: -.045em;
}
.profile-roles { margin: 0; padding: 0; list-style: none; }
.profile-roles li + li {
  margin-top: 19px;
  padding-top: 19px;
  border-top: 1px solid var(--profile-line);
}
.profile-roles h4 {
  margin: 0 0 9px;
  font: 600 clamp(17px, 1.4vw, 21px)/1.24 var(--sans);
  letter-spacing: -.024em;
}
.profile-workstreams { margin: 0; }
.profile-workstreams div + div { margin-top: 15px; }
.profile-workstreams dt { font-size: 15px; font-weight: 600; }
.profile-role-date { display: block; margin-top: 1px; color: var(--muted); font-size: 13px; font-weight: 400; }
.profile-workstreams dd { margin: 5px 0 0; max-width: 61ch; color: var(--muted); font-size: 15px; line-height: 1.6; }

.profile-hiring-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px 22px;
  margin: 0;
}
.profile-hiring-facts div:first-child, .profile-hiring-facts div:last-child { grid-column: 1/-1; }
.profile-hiring-facts dd { margin-top: 2px; }

.profile-actions {
  display: flex;
  gap: 14px 24px;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 25px;
}

.profile-download,
.profile-text-link,
.profile-contact-links a,
.profile-contact-links button,
.profile-footer a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 10px;
  font: 600 14px/1.4 system-ui, sans-serif;
}

.profile-download {
  padding: 11px 17px;
  background: #245746;
  color: white;
  border-radius: 2px;
}

.profile-text-link { color: #245746; }
.profile-download:hover { background: #193b30; }
.profile-text-link:hover,
.profile-contact a:hover,
.profile-contact button:hover {
  text-decoration: underline;
  text-underline-offset: .22em;
}

.profile-contact {
  background: #203c32;
  color: #f7f6f1;
}

.profile-contact-inner {
  align-items: start;
  padding-block: clamp(48px, 6vw, 84px) clamp(32px, 4vw, 60px);
}

.profile-contact .profile-label { color: #c6dbbb; }
.profile-contact-intro {
  max-width: 41ch;
  margin: 18px 0 0;
  color: #deeadc;
  font-size: 16px;
  line-height: 1.6;
}

.profile-email {
  display: inline-block;
  max-width: 100%;
  margin: 7px 0 11px;
  color: #f7f6f1;
  font: 400 clamp(21px, 2.2vw, 34px)/1.3 Georgia, serif;
  letter-spacing: -.035em;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: .2em;
  overflow-wrap: anywhere;
}

.profile-contact-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0 23px;
}

.profile-contact-links a,
.profile-contact-links button {
  color: #e3eddf;
  font-weight: 500;
  background: transparent;
  border: 0;
  padding: 0;
}

.profile-copy-status {
  display: block;
  color: #d3e8c8;
  font-size: 13px;
  line-height: 1.55;
  overflow-wrap: anywhere;
}

.profile-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 6px 14px;
  border-top: 1px solid #577065;
  padding-block: 14px;
  font: 400 13px/1.5 system-ui, sans-serif;
  color: #d7e7d3;
}

.profile-footer a { color: inherit; font-weight: 500; font-size: 13px; }

@media (max-width: 760px) {
  .profile-story, .profile-hiring, .profile-contact-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }
  .profile-hiring { grid-template-areas: "heading" "overview" "experience"; }
  .profile-label { margin-bottom: 10px; }
  .profile-story { grid-template-areas: "heading" "portrait" "story"; }
  .profile-story-meta { gap: 16px 24px; }
  .profile-email { margin-top: 0; }
}

@media (max-width: 440px) {
  .profile-hiring-facts { grid-template-columns: 1fr; }
  .profile-contact-links { column-gap: 18px; }
}

@media print {
  .profile-story, .profile-hiring, .profile-contact-inner { display: block; padding: 14pt 0; }
  .profile-hiring-overview { background: white; margin-bottom: 12pt; }
  .profile-title { margin-bottom: 10pt; font-size: 22pt; }
  .about-portrait { display: none; }
  .profile-contact, .profile-contact * { color: #202620; background: white; }
  .profile-actions, .profile-contact-links, .profile-footer { display: none; }
}
