.profile-main { padding-top: 0; }
.profile-main figure { margin: 0; }
.profile-section { padding: clamp(5rem, 8vw, 8.5rem) clamp(1.25rem, 7.5vw, 7.5rem); }

.profile-hero { min-height: 660px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .89fr); background: #f6fafa; }
.profile-hero-copy { padding: clamp(4.5rem, 8vw, 8rem) clamp(1.25rem, 7.5vw, 7.5rem); display: flex; flex-direction: column; justify-content: center; align-items: flex-start; }
.profile-hero h1 { margin: 0 0 2rem; font-size: clamp(3.7rem, 6.6vw, 7.4rem); line-height: .93; letter-spacing: -.065em; }
.profile-period { color: var(--brand); }
.profile-hero-statement { max-width: 530px; margin-bottom: 1.25rem; font-family: var(--serif); font-size: clamp(1.45rem, 2.15vw, 2.15rem); line-height: 1.27; }
.profile-hero-caption { max-width: 480px; margin: 0; padding-top: 1.4rem; border-top: 1px solid var(--line); color: var(--muted); }
.profile-hero-photo { min-height: 660px; overflow: hidden; background: #e4eded; }
.profile-hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 17%; }

.profile-intro { display: grid; grid-template-columns: minmax(0, .75fr) minmax(0, 1fr); gap: 3rem 10vw; }
.profile-intro h2, .profile-journey h2, .profile-section-heading h2, .profile-institutional h2, .profile-knowledge h2, .profile-close h2 { margin: 0; font-size: clamp(2.5rem, 4.5vw, 5rem); line-height: 1.03; letter-spacing: -.055em; }
.profile-intro h2 em { color: var(--brand); font-family: var(--serif); font-weight: 400; }
.profile-intro-copy { max-width: 700px; padding-top: 2.3rem; }
.profile-intro-copy p { margin-bottom: 1.35rem; color: var(--muted); font-size: 1.07rem; line-height: 1.75; }
.profile-intro-copy p:first-child { color: var(--ink); font-size: 1.2rem; }
.profile-intro-copy p:last-child { margin-bottom: 0; }

.profile-numbers { padding: 3.3rem clamp(1.25rem, 7.5vw, 7.5rem); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); background: var(--brand); color: var(--white); }
.profile-numbers > div { min-width: 0; padding: .7rem clamp(1rem, 3vw, 3.5rem); display: grid; gap: .5rem; border-right: 1px solid rgba(255,255,255,.38); }
.profile-numbers > div:first-child { padding-left: 0; }
.profile-numbers > div:last-child { border-right: 0; }
.profile-numbers strong { font-size: clamp(3.2rem, 6vw, 6.5rem); font-weight: 300; letter-spacing: -.065em; line-height: 1; }
.profile-numbers span { font-family: Consolas, "Courier New", monospace; font-size: .83rem; letter-spacing: .04em; text-transform: uppercase; }

.profile-journey { display: grid; grid-template-columns: minmax(0, .86fr) minmax(0, 1fr); background: #f3f8f8; }
.profile-journey-photo { min-height: 820px; overflow: hidden; }
.profile-journey-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 28%; }
.profile-journey-content { padding: clamp(5rem, 7vw, 8rem) clamp(1.5rem, 6vw, 7rem); }
.profile-journey h2 { max-width: 680px; }
.profile-journey-lead { max-width: 640px; margin: 1.6rem 0 2.4rem; color: var(--muted); font-size: 1.08rem; }
.profile-milestones { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.profile-milestones li { padding: 1.35rem 0; display: grid; grid-template-columns: 125px minmax(0, 1fr); gap: 1.2rem; border-bottom: 1px solid var(--line); }
.profile-milestones li > span { padding-top: .25rem; color: var(--brand-dark); font-family: Consolas, "Courier New", monospace; font-size: .78rem; font-weight: 700; }
.profile-milestones h3 { margin: 0 0 .35rem; font-size: 1.18rem; }
.profile-milestones p { margin: 0; color: var(--muted); }
.profile-milestones-scroll { max-height: min(68vh, 720px); padding-right: .9rem; overflow-y: auto; overscroll-behavior: contain; scrollbar-gutter: stable; scrollbar-color: var(--brand) #d8e8e8; scrollbar-width: thin; }
.profile-milestones-scroll:focus-visible { outline: 2px solid var(--brand); outline-offset: 5px; }
.profile-milestones-scroll::-webkit-scrollbar { width: 9px; }
.profile-milestones-scroll::-webkit-scrollbar-track { background: #d8e8e8; }
.profile-milestones-scroll::-webkit-scrollbar-thumb { background: var(--brand); border-radius: 20px; }
.profile-milestones-more { margin-top: 1.7rem; }

.experience-hero { padding: clamp(5.5rem, 9vw, 9rem) clamp(1.25rem, 7.5vw, 7.5rem); background: #f3f8f8; }
.experience-hero > div { max-width: 1050px; }
.experience-hero h1 { max-width: 950px; margin: 0 0 1.6rem; font-size: clamp(3.2rem, 6.4vw, 7rem); line-height: .96; letter-spacing: -.06em; }
.experience-hero p:last-child { max-width: 720px; margin: 0; color: var(--muted); font-family: var(--serif); font-size: clamp(1.25rem, 2vw, 1.75rem); line-height: 1.45; }
.experience-list-section { background: var(--white); }
.experience-list-heading { max-width: 820px; margin-bottom: 3.5rem; }
.experience-list-heading h2 { margin: 0; font-size: clamp(2.3rem, 4.3vw, 4.8rem); line-height: 1.03; letter-spacing: -.05em; }
.experience-list-section .profile-milestones li { grid-template-columns: 210px minmax(0, 1fr); padding: 2rem 0; gap: 1.5rem 3rem; }
.experience-list-section .profile-milestones h3 { font-size: clamp(1.25rem, 2vw, 1.75rem); line-height: 1.25; }
.experience-list-section .profile-milestones p { max-width: 900px; line-height: 1.75; }

.profile-section-heading { margin-bottom: 3.5rem; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .7fr); gap: 2.5rem 7vw; align-items: end; }
.profile-section-heading h2 { max-width: 780px; }
.profile-section-heading > p { max-width: 490px; margin: 0 0 .25rem; color: var(--muted); font-size: 1.04rem; }
.profile-project-list { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.profile-project-list > li { padding: 2rem 0; display: grid; grid-template-columns: minmax(90px, .18fr) minmax(0, 1fr); gap: 1.5rem 4vw; border-bottom: 1px solid var(--line); }
.profile-project-list > li > span { padding-top: .2rem; color: var(--brand-dark); font-family: Consolas, "Courier New", monospace; font-size: .79rem; font-weight: 700; letter-spacing: .04em; }
.profile-project-list p { max-width: 920px; margin: 0; color: var(--muted); font-size: 1.02rem; line-height: 1.7; }
.profile-project-list-scroll { max-height: min(46vh, 430px); padding-right: .9rem; overflow-y: auto; overscroll-behavior: contain; scrollbar-gutter: stable; scrollbar-color: var(--brand) #d8e8e8; scrollbar-width: thin; }
.profile-project-list-scroll:focus-visible { outline: 2px solid var(--brand); outline-offset: 5px; }
.profile-project-list-scroll::-webkit-scrollbar { width: 9px; }
.profile-project-list-scroll::-webkit-scrollbar-track { background: #d8e8e8; }
.profile-project-list-scroll::-webkit-scrollbar-thumb { background: var(--brand); border-radius: 20px; }
.profile-projects-more { margin-top: 1.7rem; }

.projects-list-section { background: var(--white); }
.projects-list-heading { max-width: 900px; margin-bottom: 3.5rem; }
.projects-list-heading h2 { margin: 0; font-size: clamp(2.3rem, 4.3vw, 4.8rem); line-height: 1.03; letter-spacing: -.05em; }
.projects-list-section .profile-project-list > li { grid-template-columns: 90px minmax(0, 1fr); padding: 1.65rem 0; gap: 1.5rem 3rem; }
.projects-list-section .profile-project-list p { max-width: 1040px; color: var(--ink); line-height: 1.75; }
.profile-text-link { width: fit-content; margin-top: 2rem; padding-bottom: .4rem; display: flex; gap: 2rem; border-bottom: 2px solid var(--brand); color: var(--brand-dark); font-family: Consolas, "Courier New", monospace; font-size: .85rem; font-weight: 700; }
.profile-text-link:hover { color: var(--ink); border-color: var(--ink); }

.profile-institutional { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .76fr); background: var(--ink); color: var(--white); }
.profile-institutional-copy { padding: clamp(5rem, 8vw, 8.5rem) clamp(1.25rem, 7.5vw, 7.5rem); }
.profile-institutional h2 { max-width: 750px; margin-bottom: 2rem; }
.profile-institutional-copy > p:not(.kicker) { max-width: 690px; color: rgba(255,255,255,.74); font-size: 1.06rem; line-height: 1.75; }
.profile-institutional-photo { min-height: 660px; overflow: hidden; }
.profile-institutional-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 17%; }

.profile-knowledge { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1fr); gap: 3rem 9vw; }
.profile-knowledge > div:last-child { max-width: 680px; padding-top: 2.2rem; }
.profile-knowledge > div:last-child p { color: var(--muted); font-size: 1.06rem; line-height: 1.75; }
.profile-knowledge > div:last-child p:last-child { margin-bottom: 0; }

.profile-ecosystem { background: #eef8f8; }
.profile-ecosystem-links { border-top: 1px solid #c7dfdf; }
.profile-ecosystem-links a { min-height: 112px; padding: 1.4rem 0; display: grid; grid-template-columns: 54px minmax(0, .65fr) minmax(0, 1fr) 28px; gap: 1rem 2vw; align-items: center; border-bottom: 1px solid #c7dfdf; transition: color .2s, padding-left .2s; }
.profile-ecosystem-links a:hover { padding-left: .8rem; color: var(--brand-dark); }
.profile-ecosystem-links span { color: var(--brand-dark); font-family: Consolas, "Courier New", monospace; font-size: .75rem; }
.profile-ecosystem-links strong { font-size: clamp(1.4rem, 2.5vw, 2.4rem); line-height: 1.1; }
.profile-ecosystem-links small { color: var(--muted); font-size: .95rem; }
.profile-ecosystem-links b { justify-self: end; font-size: 1.4rem; font-weight: 400; }
.profile-ecosystem-more { margin-top: 2rem; display: flex; align-items: center; gap: 1.5rem 2rem; flex-wrap: wrap; font-family: Consolas, "Courier New", monospace; font-size: .83rem; }
.profile-ecosystem-more span { color: var(--muted); }
.profile-ecosystem-more a { padding-bottom: .2rem; border-bottom: 1px solid var(--brand); color: var(--brand-dark); }
.profile-close { padding: clamp(4.5rem, 7vw, 7rem) clamp(1.25rem, 7.5vw, 7.5rem); display: flex; align-items: end; justify-content: space-between; gap: 2rem; background: var(--brand); color: var(--white); }
.profile-close h2 { max-width: 850px; }
.profile-close > a { min-width: 205px; padding: .7rem 0; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; border-bottom: 1px solid var(--white); font-family: Consolas, "Courier New", monospace; font-size: .84rem; font-weight: 700; }

@media (max-width: 1050px) {
  .profile-hero-copy { padding-right: 2.5rem; }
  .profile-journey-content { padding-right: 2rem; padding-left: 2rem; }
  .profile-milestones li { grid-template-columns: 105px minmax(0, 1fr); }
}
@media (max-width: 820px) {
  .profile-hero, .profile-intro, .profile-journey, .profile-section-heading, .profile-institutional, .profile-knowledge { grid-template-columns: 1fr; }
  .profile-hero-copy { padding: 4.5rem 1.25rem 3.5rem; }
  .profile-hero h1 { font-size: clamp(3.5rem, 12vw, 6rem); }
  .profile-hero-photo { min-height: 490px; max-height: 580px; }
  .profile-intro { gap: 1rem; }
  .profile-intro-copy { padding-top: 0; }
  .profile-numbers { padding: 2rem 1.25rem; }
  .profile-numbers > div { padding: .7rem 1rem; }
  .profile-journey-photo { min-height: 520px; max-height: 620px; }
  .profile-journey-content { padding: 5rem 1.25rem; }
  .profile-section-heading { gap: 1.5rem; }
  .profile-project-list > li { grid-template-columns: 64px minmax(0, 1fr); gap: 1rem 1.25rem; }
  .projects-list-section .profile-project-list > li { grid-template-columns: 64px minmax(0, 1fr); gap: 1rem 1.5rem; }
  .profile-institutional-copy { padding: 5rem 1.25rem; }
  .profile-institutional-photo { min-height: 520px; max-height: 620px; }
  .profile-knowledge > div:last-child { padding-top: 0; }
  .profile-ecosystem-links a { grid-template-columns: 42px minmax(0, 1fr) 28px; }
  .profile-ecosystem-links small { grid-column: 2; }
  .profile-ecosystem-links b { grid-column: 3; grid-row: 1 / 3; }
  .profile-close { align-items: flex-start; flex-direction: column; }
  .experience-list-section .profile-milestones li { grid-template-columns: 150px minmax(0, 1fr); gap: 1rem 1.5rem; }
}
@media (max-width: 520px) {
  .profile-hero-copy { padding-top: 3.7rem; }
  .profile-hero-photo { min-height: 390px; height: 460px; }
  .profile-numbers { grid-template-columns: 1fr; }
  .profile-numbers > div { padding: 1.25rem 0; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.38); }
  .profile-numbers > div:last-child { border-bottom: 0; }
  .profile-numbers strong { font-size: 3.6rem; }
  .profile-journey-photo { min-height: 420px; height: 480px; }
  .profile-milestones li { grid-template-columns: 1fr; gap: .4rem; }
  .profile-milestones-scroll { max-height: 620px; padding-right: .55rem; }
  .experience-list-section .profile-milestones li { grid-template-columns: 1fr; gap: .55rem; }
  .profile-project-list-scroll { max-height: 520px; padding-right: .55rem; }
  .profile-project-list > li, .projects-list-section .profile-project-list > li { grid-template-columns: 1fr; gap: .45rem; }
  .profile-ecosystem-links a { min-height: 105px; gap: .35rem .8rem; }
}
