.profile-page {
  --profile-charcoal: #171816;
  --profile-cream: #efece3;
  --profile-paper: #f7f5ef;
  --profile-ink: #20211e;
  --profile-muted: #65665f;
  --profile-gold: #b99b62;
  --profile-rule: #cfc9bb;
}

.profile-page .site-header {
  background: var(--profile-charcoal);
}

.profile-cover {
  min-height: calc(100svh - 6rem);
  display: flex;
  align-items: stretch;
  background: var(--profile-charcoal);
  color: var(--profile-cream);
}

.profile-cover-inner {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: auto 1fr auto auto;
  width: min(100%, 64rem);
  padding-top: clamp(3.5rem, 8vh, 6rem);
  padding-bottom: clamp(3rem, 6vh, 4.5rem);
}

.profile-name {
  margin: 0.75rem 0 0;
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.profile-role {
  max-width: 46rem;
  margin: 0.4rem 0 0;
  color: rgba(239, 236, 227, 0.62);
  font-size: 0.72rem;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.profile-lead {
  align-self: center;
  max-width: 51rem;
  padding-block: clamp(4rem, 9vh, 7rem);
}

.profile-lead h1 {
  max-width: 50rem;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.75rem, 5vw, 4.35rem);
  font-weight: 400;
  letter-spacing: -0.025em;
  line-height: 1.04;
}

.profile-copy {
  max-width: 45rem;
  margin-top: 2.5rem;
  color: rgba(239, 236, 227, 0.82);
  font-size: clamp(1rem, 1.45vw, 1.2rem);
  line-height: 1.58;
}

.profile-copy p {
  margin-bottom: 1.75rem;
}

.profile-copy strong {
  color: var(--profile-cream);
}

.profile-download {
  margin-top: 0.5rem;
  gap: 0.8rem;
}

.profile-evidence {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  padding-top: 1.75rem;
  border-top: 1px solid rgba(185, 155, 98, 0.7);
}

.profile-evidence article > p:last-child {
  margin: 0.75rem 0 0;
  color: rgba(239, 236, 227, 0.68);
  font-size: 0.78rem;
  line-height: 1.43;
}

.profile-value {
  margin: 0;
  color: var(--profile-gold);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.1rem, 3.5vw, 3rem);
  line-height: 1;
}

.profile-areas {
  display: grid;
  grid-template-columns: 9rem 1fr;
  gap: 2rem;
  margin-top: 2rem;
  padding-top: 1.4rem;
  border-top: 1px solid rgba(239, 236, 227, 0.15);
}

.profile-areas ul {
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  color: rgba(239, 236, 227, 0.8);
  font-size: 0.86rem;
  line-height: 1.62;
  list-style: none;
}

.profile-areas li + li::before {
  margin-inline: 0.45rem;
  content: "·";
}

.profile-panel {
  padding-block: clamp(5rem, 9vw, 8rem);
  background: var(--profile-paper);
  color: var(--profile-ink);
}

.profile-panel .shell {
  width: min(100%, 64rem);
}

.profile-heading {
  margin-bottom: 3rem;
}

.profile-heading h2 {
  margin: 0.5rem 0 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.5rem, 5vw, 3.8rem);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.05;
}

.profile-heading > div > p {
  max-width: 43rem;
  margin: 1.25rem 0 0;
  color: var(--profile-muted);
  font-size: 1rem;
  line-height: 1.55;
}

.situation-list {
  border-top: 1px solid var(--profile-gold);
}

.situation {
  display: grid;
  grid-template-columns: 7.5rem minmax(0, 1fr) 8rem;
  gap: 2rem;
  padding-block: 2.75rem;
  border-bottom: 1px solid var(--profile-rule);
}

.situation-number {
  color: var(--profile-gold);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.situation-content h3 {
  margin: 0 0 1.4rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.55rem, 2.6vw, 2.15rem);
  font-weight: 400;
  line-height: 1.15;
}

.situation-content > p {
  margin: 0 0 1.15rem;
  font-size: 0.9rem;
  line-height: 1.5;
}

.profile-label {
  display: block;
  margin-bottom: 0.3rem;
  color: var(--profile-muted);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.situation-content blockquote {
  margin: 1.4rem 0 0;
  padding-top: 1rem;
  border-top: 1px solid var(--profile-rule);
  color: #45463f;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.92rem;
  font-style: italic;
  line-height: 1.45;
}

.situation-results {
  align-self: start;
  padding-left: 1.25rem;
  border-left: 1px solid var(--profile-rule);
}

.situation-results div + div {
  margin-top: 2rem;
}

.situation-results strong,
.situation-results span {
  display: block;
}

.situation-results strong {
  color: var(--profile-gold);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.65rem, 2.2vw, 2rem);
  font-weight: 400;
  line-height: 1.05;
}

.situation-results span {
  margin-top: 0.65rem;
  color: var(--profile-muted);
  font-size: 0.75rem;
  line-height: 1.4;
}

.profile-record {
  padding-bottom: clamp(5rem, 9vw, 8rem);
}

.record-grid {
  display: grid;
  grid-template-columns: 1.62fr 0.78fr;
  gap: 3.5rem;
}

.career,
.record-aside section {
  padding-top: 1.25rem;
  border-top: 1px solid var(--profile-gold);
}

.role {
  padding-bottom: 1.6rem;
  margin-bottom: 1.6rem;
  border-bottom: 1px solid var(--profile-rule);
}

.role:last-child {
  margin-bottom: 0;
  border-bottom: 0;
}

.role-company {
  margin: 0;
  color: var(--profile-gold);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.role h3 {
  margin: 0.3rem 0 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.3rem, 2.3vw, 1.75rem);
  font-weight: 400;
  line-height: 1.2;
}

.role h3 span {
  display: block;
  margin-top: 0.25rem;
  color: var(--profile-muted);
  font-family: Arial, "Helvetica Neue", sans-serif;
  font-size: 0.72rem;
}

.role > p:last-child {
  margin: 0.85rem 0 0;
  font-size: 0.84rem;
  line-height: 1.48;
}

.record-aside section {
  margin-bottom: 2.5rem;
}

.record-aside h3 {
  margin: 0 0 1.25rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.55rem;
  font-weight: 400;
}

.appointment {
  margin-bottom: 1.6rem;
}

.appointment:last-child {
  margin-bottom: 0;
}

.appointment h4 {
  margin: 0;
  font-size: 0.8rem;
  line-height: 1.35;
}

.appointment-role {
  margin: 0.2rem 0 0;
  color: var(--profile-gold);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.appointment > p:last-child:not(.appointment-role) {
  margin: 0.5rem 0 0;
  color: #45463f;
  font-size: 0.78rem;
  line-height: 1.43;
}

.record-aside ul {
  margin: 0;
  padding: 0;
  color: #45463f;
  font-size: 0.78rem;
  line-height: 1.65;
  list-style: none;
}

@media (max-width: 767px) {
  .profile-cover {
    min-height: auto;
  }

  .profile-cover-inner {
    display: block;
    padding-block: 3.5rem;
  }

  .profile-lead {
    padding-block: 4rem;
  }

  .profile-lead h1 {
    font-size: clamp(2.6rem, 11.5vw, 3.6rem);
  }

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

  .profile-evidence article {
    padding: 1.5rem 1.5rem 2rem 0;
  }

  .profile-evidence article:nth-child(even) {
    padding-left: 1.5rem;
    border-left: 1px solid rgba(239, 236, 227, 0.15);
  }

  .profile-evidence article:nth-child(n + 3) {
    border-top: 1px solid rgba(239, 236, 227, 0.15);
  }

  .profile-areas,
  .record-grid {
    grid-template-columns: 1fr;
  }

  .profile-areas {
    gap: 1rem;
  }

  .profile-areas ul {
    display: block;
    border-top: 1px solid rgba(239, 236, 227, 0.15);
  }

  .profile-areas li {
    padding-block: 0.7rem;
    border-bottom: 1px solid rgba(239, 236, 227, 0.15);
  }

  .profile-areas li + li::before {
    content: none;
  }

  .profile-heading h2 {
    font-size: clamp(2.2rem, 10vw, 3rem);
  }

  .situation {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .situation-results {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    padding: 1.25rem 0 0;
    border-top: 1px solid var(--profile-rule);
    border-left: 0;
  }

  .situation-results div + div {
    margin-top: 0;
  }

  .profile-label {
    margin-bottom: 0.45rem;
  }

}

@media (max-width: 480px) {
  .profile-evidence {
    grid-template-columns: 1fr;
  }

  .profile-evidence article,
  .profile-evidence article:nth-child(even) {
    padding-inline: 0;
    border-left: 0;
  }

  .profile-evidence article + article {
    border-top: 1px solid rgba(239, 236, 227, 0.15);
  }

  .situation-results {
    grid-template-columns: 1fr;
  }
}

@media print {
  .profile-download {
    display: none;
  }
}
