/* Preserve full group scenes and keep captions clear of faces. */
.portrait-frame img{object-position:52% 42%}
.about-images{display:block}
.about-main{transform:none;box-shadow:var(--shadow);border:1px solid var(--line)}
.about-main img{display:block;width:100%;height:auto;aspect-ratio:auto;object-fit:contain;object-position:center}
.photo-caption{margin-top:14px;padding:0;font-size:17px;line-height:1.6;text-wrap:pretty}
.about-event-caption{position:static;padding:10px 14px;background:var(--surface);color:var(--muted);font-size:12px;line-height:1.7;border-top:1px solid var(--line)}
.moments-grid{align-items:start}
.moments-grid figure{display:flex;flex-direction:column;border:1px solid var(--line);background:var(--surface)}
.moments-grid img,.moments-grid figure:first-child img{aspect-ratio:auto;width:100%;height:auto;object-fit:contain;object-position:center;transform:none}
.moments-grid figure:hover img{transform:none}
.moments-grid figcaption{position:static;padding:14px 17px;background:var(--surface);color:var(--ink);font-size:14px;line-height:1.6}
.moments-photo-note{font-size:12px;color:var(--muted);margin-top:13px;line-height:1.8}
.moment-detail{display:block;font-size:12px;line-height:1.7;color:var(--muted);margin-top:3px}
/* Matching academic and industry entries, without large enclosing cards. */
.personal-home .background-section{display:grid;grid-template-columns:230px minmax(0,1fr);gap:28px;padding-block:0 35px;align-items:start}
.personal-home .background-section .journey-intro{display:block;grid-column:auto;min-width:0}
.personal-home .background-section .journey-intro h2{font-size:24px;line-height:1.35;letter-spacing:-.03em;margin-top:9px;text-wrap:balance}
.background-intro{font-size:13px;line-height:1.8;color:var(--muted);margin-top:11px;max-width:230px}
.background-entries{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:23px 20px;min-width:0}
.background-entries .journey-item{padding-left:15px;min-width:0}
.background-entries .journey-date{display:block;font-size:11px;line-height:1.7;letter-spacing:.02em}
.background-entries h3{font-size:14px;line-height:1.6;letter-spacing:-.01em;font-weight:600;margin-top:5px;text-wrap:pretty}
.background-entries h3 a{transition:color .2s}
.background-entries h3 a:hover{color:var(--accent)}
.background-entries h3 .icon{display:inline-block;width:13px;height:13px;vertical-align:-2px;margin-left:3px;color:var(--accent)}
.background-entries .journey-item p{font-size:13px;line-height:1.75;margin-top:5px}
.journey-location{display:block;font-size:12px;line-height:1.7;color:var(--muted);margin-top:3px}
.background-entries .project-collaboration{grid-column:1/-1;padding-top:14px;border-top:1px solid var(--line);border-left:0;padding-left:0}
.background-entries .project-collaboration h3{display:inline-block;margin-top:5px}
.background-entries .project-collaboration p{max-width:740px}
.personal-home .academic-journey{padding-top:24px;border-top:1px solid var(--line)}
/* Compact rhythm retains breathing room around photos and section headings. */
.personal-home .hero{min-height:590px;padding-top:125px;padding-bottom:55px;gap:44px}
.personal-home .section{padding-block:54px}
.personal-home .about-section{gap:44px;align-items:start}
.personal-home .section-heading{margin-bottom:23px}
.personal-home .research-section{padding-block:51px}
.personal-home .publications{margin-top:31px}
.personal-home .explore-section{padding-bottom:35px}
.personal-home .channels-panel{padding-block:19px;margin-top:21px}
.personal-home .moments-section{padding-bottom:34px}
.personal-home .cm-preview{margin-bottom:38px;padding:22px 25px}
.personal-home .connect-section{padding-block:49px 39px}
@media(max-width:1100px){.personal-home .hero{min-height:560px;padding-top:120px;gap:30px}.personal-home .background-section{grid-template-columns:190px minmax(0,1fr);gap:22px}.background-entries{gap:21px 16px}.personal-home .about-section{gap:32px}}
@media(max-width:900px){.personal-home .background-section{grid-template-columns:1fr;gap:20px}.personal-home .background-section .journey-intro{display:grid;grid-template-columns:1fr 1fr;gap:0 24px;align-items:center}.personal-home .background-section .journey-intro>.eyebrow{grid-column:1}.personal-home .background-section .journey-intro h2{grid-column:1;margin-top:7px}.background-intro{grid-column:2;grid-row:1/3;max-width:none;margin-top:0}.background-entries{gap:21px}.photo-caption{font-size:16px}}
@media(max-width:720px){.personal-home .hero{min-height:0;padding-top:108px;padding-bottom:47px;gap:27px}.moments-grid{grid-template-columns:1fr}.moments-grid figure:first-child{grid-column:auto}.moments-grid img,.moments-grid figure:first-child img{aspect-ratio:auto}.moments-grid figcaption{padding:13px 16px;font-size:14px}.about-main img{aspect-ratio:auto}.personal-home .section{padding-block:39px}.personal-home .about-section{gap:23px}.personal-home .about-images{max-width:470px}.photo-caption{font-size:17px;margin-top:13px;line-height:1.6}.personal-home .background-section{padding-bottom:28px}.personal-home .academic-journey{padding-top:23px}.background-entries{grid-template-columns:repeat(2,minmax(0,1fr));gap:22px 18px}.personal-home .research-section{padding-block:40px}.personal-home .moments-section{padding-bottom:28px}.personal-home .cm-preview{margin-bottom:30px;padding:21px}.personal-home .connect-section{padding-block:39px 31px}.personal-home .explore-section{padding-bottom:28px}}
@media(max-width:540px){.personal-home .background-section .journey-intro{display:block}.background-intro{margin-top:8px}.personal-home .background-section .journey-intro h2{font-size:23px}.background-entries{gap:19px 15px}.background-entries .journey-item{padding-left:12px}.background-entries h3{font-size:14px}.background-entries .journey-item p{font-size:13px}.background-entries .project-collaboration{padding-left:0}.personal-home .publications{margin-top:27px}}
@media(max-width:380px){.background-entries{grid-template-columns:1fr;gap:18px}.personal-home .photo-caption{font-size:16px}}
@media print{.personal-home .hero{min-height:0;padding:20px 0}.personal-home .background-section{grid-template-columns:1fr;padding-block:16px;gap:14px}.background-entries{grid-template-columns:repeat(3,minmax(0,1fr))}.background-entries .journey-item{break-inside:avoid}.personal-home .section{padding-block:23px}}
