/* Profile page: shares the landing page's large type and persistent navigation. */
.profile-page p, .profile-page li, .profile-page dd { font-size: 1.375rem; line-height: 1.7; }
.profile-page p { color: var(--muted); }
.profile-page .eyebrow { color: var(--purple); font-size: 1.125rem; }
.profile-page .header nav { gap: 25px; }
.profile-hero { display: grid; grid-template-columns: 1.35fr 1fr; gap: 56px; align-items: center; padding-top: 30px; }
.profile-intro { min-width: 0; }
.back-link { display: inline-block; margin-bottom: 24px; color: var(--muted); font-size: 1.125rem; }
.back-link:hover, .profile-page .text-link:hover { color: var(--purple); text-decoration: underline; text-underline-offset: 5px; }
.profile-hero h1 { font-size: clamp(2.625rem, 4.2vw, 3.75rem); line-height: 1.12; letter-spacing: -2px; }
.profile-hero .profile-lead { color: var(--ink); }
.profile-photo { margin: 0; }
.profile-photo img { aspect-ratio: 4 / 5; }
.profile-photo figcaption { font-size: 1.125rem; }
.philosophy-band { background: #f7f5fd; border-block: 1px solid #eee8f7; }
.philosophy-band .founder-quote { max-width: 980px; margin-block: 24px 30px; }
.principle-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.principle-grid h3 { font-size: 1.625rem; margin-bottom: 12px; }
.principle-grid p { margin-bottom: 0; }
.profile-contact { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: center; padding: 36px; background: #f4f0fc; border-radius: 20px; }
.profile-contact p:last-child { margin-bottom: 0; }
.profile-contact-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 22px; }
.profile-contact-actions p { font-size: 1.125rem; }
.profile-page .footer p, .profile-page dialog p { font-size: 1.125rem; }
@media (max-width: 1000px) {
  .profile-hero { gap: 30px; grid-template-columns: 1.2fr 1fr; }
  .profile-hero h1 { font-size: 2.75rem; }
  .principle-grid { grid-template-columns: 1fr; gap: 24px; }
}
@media (max-width: 700px) {
  .profile-hero { grid-template-columns: 1fr; gap: 24px; }
  .profile-hero h1 { font-size: clamp(2.25rem, 7.8vw, 3rem); letter-spacing: -1.3px; }
  .profile-photo { width: min(100%, 420px); margin-inline: auto; }
  .profile-contact { grid-template-columns: 1fr; padding: 24px; gap: 24px; }
}
@media (max-width: 600px) {
  .profile-page p, .profile-page li, .profile-page dd { font-size: 1.25rem; }
  .profile-hero { padding-top: 22px; }
}

/* Personal story: comfortable reading width, without a dated CV layout. */
.personal-story { display: grid; grid-template-columns: .85fr 1.15fr; gap: 52px; align-items: start; }
.story-heading { min-width: 0; }
.story-copy { min-width: 0; max-width: 720px; }
.story-copy p:last-child { margin-bottom: 0; }
.story-copy strong { color: var(--ink); font-weight: 650; }
.motivation-band { background: #f7f8fc; border-block: 1px solid var(--line); }
@media (max-width: 900px) {
  .personal-story { grid-template-columns: 1fr; gap: 12px; }
  .story-copy { max-width: none; }
  .story-heading h2 { margin-bottom: 10px; }
}

/* Compact profile rhythm; avoid empty columns alongside long story sections. */
.profile-page main > .section { padding-block: 24px; }
.profile-page .profile-hero { align-items: start; gap: 36px; }
.profile-page .personal-story { grid-template-columns: 1fr; gap: 0; }
.profile-page .story-copy { max-width: none; }
.profile-page .story-heading h2 { margin-bottom: 16px; }
.profile-page main p { margin-bottom: 18px; }
.profile-page main .eyebrow { margin-bottom: 14px; }
.profile-page .profile-intro > p:last-of-type { margin-bottom: 16px; }
.profile-page .profile-photo figcaption { margin-top: 10px; }
.profile-page .philosophy-band .founder-quote { margin-block: 18px 22px; }
.profile-page .principle-grid { gap: 24px; margin-top: 20px; }
.profile-page .principle-grid p,
.profile-page .story-copy p:last-child,
.profile-page .profile-contact p:last-child { margin-bottom: 0; }
.profile-page .back-link { margin-bottom: 16px; }
.profile-page .profile-contact { padding: 28px; gap: 28px; }
.profile-page .profile-contact-actions { gap: 16px; }
@media (max-width: 700px) {
  .profile-page main > .section { padding-block: 16px; }
  .profile-page .profile-hero { gap: 20px; }
  .profile-page .story-heading h2 { margin-bottom: 14px; }
  .profile-page main p { margin-bottom: 16px; }
  .profile-page .philosophy-band .founder-quote { margin-block: 16px 18px; }
  .profile-page .principle-grid { gap: 18px; margin-top: 16px; }
  .profile-page .principle-grid p,
  .profile-page .story-copy p:last-child,
  .profile-page .profile-contact p:last-child { margin-bottom: 0; }
  .profile-page .profile-contact { padding: 22px; gap: 20px; }
}
