/* Inner pages — Profile, Expertise, etc. */

body.inner-page {
  display: block;
}

.inner-page .page-shell {
  padding-bottom: 4rem;
}

.inner-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding: clamp(0.75rem, 2vh, 1.25rem) 0 clamp(0.5rem, 1vh, 0.75rem);
}

.inner-top__home {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--pearl);
  text-decoration: none;
  font-family: var(--font-ui);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.88;
  transition: color 0.25s ease, opacity 0.25s ease;
}

.inner-top__home:hover,
.inner-top__home:focus-visible {
  color: var(--gold);
  opacity: 1;
  outline: none;
}

.inner-top__home img {
  display: block;
  width: clamp(7rem, 14vw, 9.5rem);
  height: auto;
  opacity: 0.95;
}

.inner-top__crumb {
  font-family: var(--font-ui);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
}

.inner-main {
  max-width: 42rem;
  margin: 0 auto;
  padding: clamp(1.5rem, 4vh, 2.5rem) 0 2rem;
}

.prose {
  font-family: var(--font-ui);
  font-weight: 300;
  font-size: 1.02rem;
  line-height: 1.72;
  color: rgba(245, 240, 225, 0.9);
}

.prose h1 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4.5vw, 3rem);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: 0.04em;
  color: var(--pearl);
  margin: 0 0 1.25rem;
}

.prose h2 {
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 2.8vw, 1.85rem);
  font-weight: 500;
  line-height: 1.25;
  color: var(--pearl);
  margin: 2.75rem 0 1rem;
  padding-top: 0.25rem;
  border-top: 1px solid rgba(196, 165, 116, 0.22);
}

.prose h2:first-of-type {
  margin-top: 2rem;
  border-top: none;
  padding-top: 0;
}

.prose h3 {
  font-family: var(--font-display);
  font-size: clamp(1.12rem, 2vw, 1.28rem);
  font-weight: 500;
  line-height: 1.35;
  color: var(--gold);
  margin: 1.75rem 0 0.65rem;
}

.prose .lead {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2.2vw, 1.45rem);
  line-height: 1.45;
  color: rgba(245, 240, 225, 0.94);
  margin: 0 0 1rem;
}

.prose p {
  margin: 0 0 1.1rem;
}

.prose ul {
  margin: 0 0 1.25rem;
  padding-left: 1.25rem;
}

.prose li {
  margin-bottom: 0.45rem;
}

.prose li::marker {
  color: var(--gold);
}

.prose a {
  color: var(--gold);
  text-decoration: none;
  border-bottom: 1px solid rgba(196, 165, 116, 0.35);
  transition: border-color 0.2s ease, color 0.2s ease;
}

.prose a:hover,
.prose a:focus-visible {
  color: var(--pearl);
  border-bottom-color: var(--pearl);
  outline: none;
}

.prose strong {
  font-weight: 500;
  color: var(--pearl);
}

.prose .tagline {
  margin: 1.25rem 0 0;
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 1.8vw, 1.2rem);
  line-height: 1.55;
  color: var(--pearl);
}

.prose .closing {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(196, 165, 116, 0.22);
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 1.9vw, 1.22rem);
  line-height: 1.5;
  color: rgba(245, 240, 225, 0.88);
  text-align: center;
}

.prose .role {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.92rem;
  letter-spacing: 0.04em;
  color: var(--sage);
}

@media (max-width: 720px) {
  .inner-top {
    flex-direction: column;
    align-items: flex-start;
  }

  .inner-main {
    max-width: none;
  }
}
