/* A single topic index, followed by detail sections in the same order. */
.topics-page .eyebrow{font-size:.875rem;letter-spacing:.09em}
.topics-page h1,.topics-page h2,.topics-page h3{max-width:100%;overflow-wrap:anywhere;hyphens:auto}
.intro-copy>*,.subject-heading>*,.personal-details>*{min-width:0}
.topics-page .header nav{gap:24px}
.topics-page .nav-contact{margin-left:4px}
.intro{padding:38px 0 44px}
.intro-copy{display:grid;grid-template-columns:1.2fr 1fr;gap:60px;align-items:end;margin-top:25px}
.intro-copy h1{font-size:clamp(3.1rem,6.7vw,6rem);letter-spacing:-.065em;line-height:1.08;margin:0}
.intro-copy>div{max-width:440px;padding-bottom:5px}
.intro-copy p:first-child{font-family:var(--display);font-size:1.3rem;line-height:1.5;letter-spacing:-.025em}
.intro-copy p+p{color:var(--muted);margin-top:12px}
.intro-copy .text-link{margin-top:18px}
.overview-heading{display:flex;justify-content:space-between;align-items:baseline;gap:20px;padding:24px 0 20px;border-top:1px solid var(--line)}
.overview-heading h2{font-size:1.5rem;letter-spacing:-.035em}
.overview-heading p{font-size:.875rem;color:var(--muted)}
.topic-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.topic-card{min-width:0;display:flex;flex-direction:column;align-items:stretch;min-height:214px;padding:24px 26px 18px;background:#fff;border:1px solid var(--line);border-radius:5px;transition:border-color .18s,box-shadow .18s}
.topic-category{font-size:.75rem;font-weight:600;letter-spacing:.085em;line-height:1.5;color:var(--muted)}
.topic-card h3{font-size:1.5rem;line-height:1.25;letter-spacing:-.04em;margin:15px 0 8px;overflow-wrap:anywhere}
.topic-card p{font-size:1rem;line-height:1.5;color:var(--muted);max-width:34ch}
.topic-action{display:flex;justify-content:space-between;align-items:center;gap:12px;font-size:.875rem;color:var(--blue);padding-top:18px;margin-top:auto}
.topic-action>span{font-size:1.2rem;line-height:1}
.topic-card.technology{background:#edf2ff;border-color:#cbd6f4}
.topic-card.technology h3,.topic-card.technology .topic-category{color:#1942c9}
.topic-card.personal{background:#f0f2f5}
.topic-card:hover{border-color:var(--blue);box-shadow:0 3px 13px #1837800d}
.topic-card:hover h3{color:var(--blue)}
.topic-photo-row{display:flex;gap:15px;align-items:center}
.topic-photo-row p{flex:1}
#hero-photo-surface{width:112px;flex-shrink:0}
#hero-photo-surface img{width:112px;height:72px;object-fit:contain;aspect-ratio:auto}
#hero-photo-surface img[hidden]{display:none}
.topic-photography .topic-action{padding-top:12px}
.topics-page .section{padding-top:84px;padding-bottom:84px}
.topics-page .section-heading{align-items:center;gap:20px;margin-bottom:32px}
.back-to-topics{font-size:.875rem;color:var(--muted);white-space:nowrap}
.back-to-topics:hover{color:var(--blue)}
.topics-page .profile-intro{gap:75px}
.topics-page .profile-intro h2{font-size:clamp(2.2rem,3.6vw,3.1rem)}
.topics-page .credentials{margin-top:35px}
.subject-section{background:#fff;border-block:1px solid var(--line)}
.subject-heading{display:grid;grid-template-columns:1.2fr 1fr;gap:60px;align-items:end;margin-bottom:42px}
.subject-heading h2{font-size:clamp(2.15rem,3.5vw,3.1rem)}
.subject-heading>p{color:var(--muted);max-width:440px}
.detail-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:32px}
.detail-grid article{min-width:0;border-top:1px solid var(--line);padding-top:25px}
.detail-kicker{font-size:.75rem;font-weight:600;letter-spacing:.08em;line-height:1.5;color:var(--muted)}
.detail-grid h3,.personal-details h3{font-size:1.55rem;line-height:1.3;letter-spacing:-.04em;margin:12px 0 16px;overflow-wrap:anywhere}
.detail-grid p,.personal-details p{color:var(--muted)}
.detail-grid ul{list-style:none;margin:22px 0 0;padding:0}
.detail-grid li{padding:9px 0;border-top:1px solid var(--line);font-size:1rem;line-height:1.5}
.detail-grid .text-link{line-height:1.5;gap:12px}
.topics-page .holonexus{margin-top:42px}
.topics-page .coming-soon{font-size:.875rem}
.topics-page .research{background:#edf0f4}
.tontine-intro{display:grid;grid-template-columns:1fr 2fr;gap:50px;border-top:1px solid #cbd2dc;padding-top:40px;margin-top:60px}
.tontine-intro h3,.papers-heading h3,.gallery-link h3{font-size:2.1rem;letter-spacing:-.045em;line-height:1.2;margin-top:12px}
.tontine-intro p:not(.lead){color:var(--muted);margin-top:15px;max-width:690px}
.question-tags{display:flex;flex-wrap:wrap;gap:8px 20px;margin-top:22px;color:#43516a;font-size:.875rem}
.research-papers{margin-top:55px}
.publication-label{margin-bottom:20px}
.tontine-topic .publication h4{font-family:var(--display);font-weight:550;font-size:1.5rem;line-height:1.3;letter-spacing:-.035em;margin:7px 0 3px;overflow-wrap:anywhere;hyphens:auto}
.tontine-topic .publication:hover h4{color:var(--blue)}
@media(max-width:800px){.tontine-topic .publication h4{font-size:1.25rem}}
.papers-heading{display:grid;grid-template-columns:1fr 1fr;align-items:end;gap:50px;margin-bottom:30px}
.papers-heading>p{color:var(--muted)}
.topics-page .research-footer{font-size:.875rem}
.topics-page .books h2{margin-top:0}
.topics-page .books-inner>div:nth-child(2){padding-top:0}
.topics-page .books p:not(.lead){margin-top:12px}
.personal-details{display:grid;grid-template-columns:1fr 1fr;gap:32px}
.personal-details article{border-top:1px solid var(--line);padding-top:24px}
.personal-details p{max-width:490px}
.personal-details .personal-lead{font-family:var(--display);font-size:1.2rem;line-height:1.5;color:var(--ink);margin-bottom:16px}
.personal-photo-slots{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-top:26px}
.camper-photo-slots{grid-template-columns:repeat(3,minmax(0,1fr))}
.photo-placeholder{margin:0;min-width:0}
.photo-placeholder>div{display:grid;place-items:center;height:140px;background:#edf0f4;border:1px dashed #b8c1d0;border-radius:3px;font-size:.875rem;color:#656a76}
.photo-placeholder figcaption{font-size:.875rem;color:var(--muted);margin-top:8px;overflow-wrap:anywhere}
.gallery-link{display:flex;justify-content:space-between;align-items:center;gap:32px;margin-top:40px;padding:30px;background:#e8edf3;border:1px solid #d8dee6;border-radius:4px}
.gallery-link p{color:var(--muted);margin-top:14px}
.gallery-link-action{display:flex;align-items:center;gap:26px;font-size:.9375rem;white-space:nowrap;color:var(--blue)}
.gallery-link:hover{border-color:var(--blue)}
.topics-page .footer{border-top:1px solid var(--line);padding-top:55px}
[id]{scroll-margin-top:24px}
#hero-photo-surface:has(img[hidden]){display:none}
.nav-social{display:flex;align-items:center;flex-wrap:wrap;gap:8px}
.nav-social>.social-link{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:42px;padding:9px 13px;border:1px solid var(--line);border-radius:7px;font-size:.875rem;line-height:1.3;white-space:nowrap}
.nav-social>.linkedin-link{color:#fff;background:#0a66c2;border-color:#0a66c2}
.nav-social>.linkedin-link:hover{background:#084f96;border-color:#084f96;color:#fff}
.nav-social>.github-link{background:#fff;color:var(--ink)}
.nav-social>.github-link:hover{border-color:var(--ink)}
.brand-icon{display:block;width:17px;height:17px;flex-shrink:0;background:currentColor;mask-repeat:no-repeat;mask-position:center;mask-size:contain}
.linkedin-icon{mask-image:url('/assets/linkedin.svg')}
.github-icon{mask-image:url('/assets/github.svg')}
@media(min-width:801px) and (max-width:1150px){.topics-page .header{height:auto;min-height:108px;flex-wrap:wrap;gap:12px;padding:20px 0}.topics-page .header nav{flex-basis:100%;justify-content:space-between;gap:16px}}
@media(max-width:800px){.nav-social{padding:12px;margin-top:8px;border-top:1px solid var(--line)}.nav-social>.social-link{min-height:44px}}
@media(max-width:1100px){.topics-page .header nav{gap:17px}.topics-page .nav-contact{padding:8px 13px}.topics-page .nav-contact span{padding-left:6px}.intro-copy,.subject-heading{gap:32px}.topic-card{padding:21px 20px 18px}.topic-card h3{font-size:1.35rem}.detail-grid{gap:24px}.topics-page .profile-intro{gap:45px}#hero-photo-surface,#hero-photo-surface img{width:80px}.topic-photo-row{gap:10px}}
@media(max-width:950px) and (min-width:801px){.topics-page .header{height:auto;min-height:108px;flex-wrap:wrap;gap:8px;padding:20px 0}.topics-page .header nav{justify-content:space-between;flex-basis:100%;gap:16px}.topic-category{letter-spacing:.04em}.topic-card{padding-inline:17px}}
@media(max-width:800px){.intro{padding-top:30px}.intro-copy{gap:24px;grid-template-columns:1fr}.intro-copy h1{font-size:clamp(3rem,8vw,4.8rem)}.intro-copy>div{max-width:550px}.intro-copy p:first-child{font-size:1.2rem}.overview-heading{align-items:start;flex-direction:column;gap:8px}.topic-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.topic-card{min-height:215px}.topics-page .section{padding-block:60px}.topics-page .section-heading{margin-bottom:26px}.topics-page .profile-intro,.subject-heading{grid-template-columns:1fr;gap:22px}.subject-heading{margin-bottom:30px}.subject-heading>p{max-width:600px}.detail-grid{grid-template-columns:1fr;gap:32px}.detail-grid p{max-width:650px}.detail-grid ul{margin-top:16px}.tontine-intro,.papers-heading{grid-template-columns:1fr;gap:24px}.tontine-intro{margin-top:40px;padding-top:30px}.personal-details{gap:24px}.gallery-link{padding:24px}.gallery-link h3{font-size:1.8rem}.topics-page .header nav{gap:4px}.topics-page .nav-contact{margin-top:8px;padding:10px 20px}}
@media(max-width:520px){.topic-grid{grid-template-columns:1fr}.topic-card{min-height:185px;padding:22px}.topic-card h3{font-size:1.6rem;margin-top:12px}.topic-category{font-size:.75rem}.topic-card p{max-width:none}.topic-action{padding-top:20px}#hero-photo-surface,#hero-photo-surface img{width:112px}.topics-page .section-heading{flex-wrap:wrap;gap:10px}.back-to-topics{font-size:.875rem}.personal-details{grid-template-columns:1fr;gap:32px}.gallery-link{align-items:start;flex-direction:column;gap:23px}.gallery-link-action{width:100%;justify-content:space-between}.tontine-intro h3,.papers-heading h3{font-size:1.85rem}.topics-page .eyebrow{font-size:.8125rem}.topics-page .credentials>span{display:block}.topics-page .credentials strong{margin-bottom:3px}}
