/* Homepage */
.home-hero { padding-block: 79px 82px; }
.home-hero h1 { font-size: clamp(4.8rem, 10vw, 8rem); line-height: 1; margin-bottom: 33px; }
.home-intro { max-width: 770px; font-size: clamp(1.25rem, 2.1vw, 1.625rem); line-height: 1.5; letter-spacing: -.015em; }
.home-location { margin-top: 23px; color: var(--muted); font-size: .875rem; }
.interest-text { line-height: 1.9; }
.currently-meta { display: block; margin-top: 12px; }
.current-project { display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 20px; }
.project-number { padding-top: 9px; color: var(--accent); }
.project-title { font-size: 2.25rem; line-height: 1.14; margin-bottom: 13px; }
.project-title a { text-decoration: none; }
.project-description { margin-top: 17px; }
.notes-copy { color: var(--muted); }
@media (max-width: 700px) {
 .home-hero { padding-block: 58px 59px; }
 .home-hero h1 { margin-bottom: 27px; }
 .home-location { max-width: 300px; line-height: 1.7; }
 .current-project { grid-template-columns: 24px minmax(0, 1fr); gap: 12px; }
 .project-title { font-size: 2rem; }
}

/* About: an essay column, with a quiet return to the homepage grid. */
.essay-header { padding-block: 77px 45px; }
.essay-body { margin-left: 200px; font-size: 1.125rem; line-height: 1.85; }
.about-details { margin-top: 70px; }
.education-list { display: grid; gap: 24px; }
.education-list h3 { font-size: 1.0625rem; font-weight: 500; }
.education-list p { font-size: .9375rem; margin-top: 3px; }
/* Project: narrow reading column and broad, honest spaces for future figures. */
.research-header { padding-block: 70px 57px; }
.research-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-bottom: 29px; }
.status { font: .75rem/1.4 var(--mono); color: var(--accent); border: 1px solid #bda4aa; padding: 3px 8px; }
.research-header h1 { font-size: clamp(3.1rem, 6.9vw, 5.6rem); max-width: 960px; }
.research-intro { max-width: 720px; font-size: 1.25rem; line-height: 1.6; margin-top: 30px; }
.research-question { border-top: 1px solid var(--border); padding-top: 32px; display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 48px; }
.research-question h2 { padding-top: 5px; }
.research-question p { font: 2.2rem/1.28 var(--serif); padding-left: 26px; border-left: 2px solid var(--accent); max-width: 710px; }
.article-prose { margin-left: 248px; }
.article-prose section { margin-top: 45px; }
.article-prose h2 { margin-bottom: 13px; }
.pipeline { list-style: none; margin-top: 29px; border-top: 1px solid var(--border); }
.pipeline li { display: grid; grid-template-columns: 35px minmax(0, 1fr); gap: 14px; padding-block: 15px; border-bottom: 1px solid var(--border); }
.pipeline .meta { padding-top: 5px; color: var(--accent); }
.figures { margin-top: 64px; display: grid; grid-template-columns: 1fr 1fr; gap: 38px 28px; }
.research-figure { min-width: 0; }
.research-figure:last-child { grid-column: 1 / -1; }
.figure-placeholder { aspect-ratio: 1.65; min-height: 170px; border: 1px solid var(--border); background: var(--surface); display: flex; justify-content: center; align-items: center; }
.figure-placeholder p { font: italic 1.625rem/1.4 var(--serif); color: var(--muted); }
.research-figure:last-child .figure-placeholder { aspect-ratio: 3; }
.research-figure img { width: 100%; height: auto; border: 1px solid var(--border); }
figcaption { margin-top: 12px; display: flex; gap: 15px; align-items: baseline; font-size: .875rem; line-height: 1.5; }
figcaption .meta { flex-shrink: 0; }
.closing-sections { margin-top: 62px; }
.tools-list { font-size: .9375rem; line-height: 1.9; }
.project-nav { margin-top: 72px; padding-top: 28px; border-top: 1px solid var(--border); display: flex; justify-content: space-between; gap: 25px; color: var(--accent); font-size: .9375rem; }
.project-nav a { text-decoration: none; }
.project-nav a:hover { text-decoration: underline; }
@media (max-width: 900px) {
 .essay-body { margin-left: 100px; }
 .article-prose { margin-left: 170px; }
 .research-question { grid-template-columns: 130px minmax(0, 1fr); gap: 40px; }
}
@media (max-width: 700px) {
 .essay-header { padding-block: 54px 34px; }
 .essay-body, .article-prose { margin-left: 0; }
 .essay-body { font-size: 1.0625rem; line-height: 1.8; }
 .about-details { margin-top: 45px; }
 .research-header { padding-block: 48px 38px; }
 .research-meta { margin-bottom: 26px; gap: 12px; }
 .research-header h1 { font-size: clamp(2.85rem, 9.3vw, 4rem); }
 .desktop-break { display: none; }
 .research-intro { font-size: 1.125rem; margin-top: 24px; }
 .research-question { grid-template-columns: 1fr; gap: 20px; padding-top: 25px; }
 .research-question p { font-size: 1.9rem; padding-left: 20px; }
 .article-prose section { margin-top: 34px; }
 .figures { grid-template-columns: 1fr; margin-top: 44px; gap: 30px; }
 .research-figure:last-child .figure-placeholder { aspect-ratio: 1.65; }
 figcaption { gap: 12px; }
 .closing-sections { margin-top: 44px; }
}

/* Optional personal collage, inserted after the About essay when supplied. */
.personal-visual { max-width: 540px; margin: 42px 0 0 200px; }
.personal-visual img { width: 100%; height: auto; }
.personal-visual figcaption { color: var(--muted); font: .75rem/1.6 var(--mono); }
@media (max-width: 900px) { .personal-visual { margin-left: 100px; } }
@media (max-width: 700px) { .personal-visual { margin: 32px 0 0; } }
