.intro-profile {
  --profile-line: #57463a;
  --profile-surface: #2b211b;
  --profile-accent: #e5b18f;
  --profile-muted: #dccbbd;
  padding-block: clamp(64px, 8vw, 108px);
  background: radial-gradient(ellipse at 86% 18%, #37251b, transparent 65%), var(--bg);
}
.intro-profile .profile-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .85fr);
  grid-template-areas: 'heading portrait' 'body portrait';
  grid-template-rows: auto 1fr;
  align-items: start;
  gap: 22px clamp(36px, 7vw, 115px);
  max-width: 1170px;
}
.intro-profile .profile-head { grid-area: heading; }
.intro-profile .h2 { margin-top: 14px; }
.intro-profile .h2 em { display: block; }
.intro-profile .profile-name { margin-top: 20px; font: 500 clamp(24px, 2.6vw, 32px)/1.14 var(--serif); }
.intro-profile .profile-lead { margin-top: 8px; font-size: clamp(18px, 2vw, 23px); line-height: 1.34; color: var(--ink); max-width: 27ch; }
.intro-profile .profile-education { margin: 16px 0 0; padding-top: 12px; border-top: 1px solid var(--profile-line); }
.intro-profile .profile-education dt { font-size: 12px; color: var(--profile-accent); }
.intro-profile .profile-education dd { margin: 3px 0 0; color: var(--profile-muted); font-size: 15px; }
.intro-profile .profile-body { grid-area: body; max-width: 49ch; color: var(--profile-muted); font-size: 16px; }
.intro-profile .profile-figure { grid-area: portrait; min-width: 0; border: 1px solid var(--profile-line); border-radius: 19px; background: var(--profile-surface); overflow: hidden; }
.intro-profile .profile-portrait {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1;
}
.intro-profile .profile-details { display: grid; gap: 7px; margin-top: 18px; }
.intro-profile .profile-details details { border: 1px solid var(--profile-line); border-radius: 12px; }
.intro-profile .profile-details details[open] { background: var(--profile-surface); }
.intro-profile .profile-details summary {
  display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 50px;
  cursor: pointer; list-style: none; font-weight: 600; color: var(--ink); font-size: 15px;
  padding: 10px 14px;
}
.intro-profile .profile-details summary::-webkit-details-marker { display: none; }
.intro-profile .profile-details summary::after { content: '+'; color: var(--profile-accent); font-size: 21px; font-weight: 400; }
.intro-profile .profile-details details[open] summary::after { content: '−'; }
.intro-profile .profile-details details p { padding: 0 14px 13px; font-size: 14px; line-height: 1.55; }
.intro-profile .profile-cta { margin-top: 20px; min-height: 48px; height: auto; max-width: 100%; padding: 12px 18px; white-space: normal; text-align: center; }
.intro-profile :is(a, button, summary):focus-visible { outline: 2px solid var(--profile-accent); outline-offset: 3px; }

.mobile-lite .intro-profile { padding-block: var(--mobile-section); }
.mobile-lite .intro-profile .profile-inner { gap: 18px; }
.mobile-lite .intro-profile .profile-lead { font-size: 18px; }
@media (min-width: 1000px) {
  .intro-profile .profile-inner {
    max-width: 1640px;
    grid-template-columns: minmax(0, .88fr) minmax(0, 1.25fr);
    column-gap: clamp(30px, 4vw, 76px);
  }
  .intro-profile .h2 { font-size: clamp(55px, 5.65vw, 90px); }
}
@media (max-width: 659px) {
  .intro-profile .profile-inner { grid-template-columns: minmax(0, 1fr); grid-template-areas: 'heading' 'portrait' 'body'; }
}
