/* Personal additions reuse the academic site's typography and color tokens. */
.personal-motto { display: inline-block; font: italic 14px/1.7 var(--serif); color: var(--accent); margin: 0 0 13px; text-wrap: pretty; }
.footer-contact { padding: 28px 0; }
.contact-details { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 18px 28px; width: 100%; text-align: left; }
.footer-socials { margin-top: 0; flex-wrap: wrap; }
.footer-bottom { flex-wrap: wrap; }
.site-version { display: inline-flex; flex-wrap: wrap; gap: 6px; }
.site-version time { font-variant-numeric: tabular-nums; }
.current-title-list { list-style: none; padding: 0; margin: 20px 0 26px; }
.current-title-list li + li { border-top: 1px solid var(--line); }
.current-title-list a { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 15px 0; font: 400 20px/1.5 var(--serif); }
.current-title-list a:hover { color: var(--accent); }
.home-service { padding: 38px 0; margin-top: 30px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.service-groups { display: grid; grid-template-columns: 1.25fr 1fr; gap: 45px; }
.service-group h3 { font-family: var(--serif); font-size: 23px; font-weight: 400; margin: 2px 0 16px; }
.service-group ul { list-style: none; padding: 0; margin: 0; }
.service-group li { font-size: 14px; color: var(--muted); line-height: 1.75; padding: 12px 0; border-top: 1px solid var(--line); }
.service-group li:first-child { border-top: 0; padding-top: 0; }
.service-group + .service-group { padding-left: 35px; border-left: 1px solid var(--line); }
.service-page { padding: 20px 0 45px; }
.service-page > .text-link { margin-top: 28px; white-space: normal; }
.cv-section, .current-topics, .topic-card, .anchor-alias { scroll-margin-top: 110px; }
.anchor-alias { display: block; height: 0; }
.topic-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px; }
.topic-card { border-top: 2px solid var(--accent); padding: 12px 0 20px; }
.topic-number { font: 10px/1.5 var(--mono); color: var(--accent); }
.topic-card h3 { margin: 13px 0; font: 400 24px/1.4 var(--serif); text-wrap: pretty; }
.topic-card p { color: var(--muted); font-size: 14px; line-height: 1.8; margin-bottom: 18px; }
.topic-methods { color: var(--subtle); font: 10px/1.8 var(--mono); display: block; }
.project-history { padding: 0 0 25px; }
.project-history .section-heading { align-items: center; }
.project-history .section-heading .text-link { white-space: normal; }
.project-history .project-detail h3 { font: 400 24px/1.5 var(--serif); max-width: 880px; }
.project-history .project-detail p { font-size: 14px; max-width: 840px; line-height: 1.85; }
.paper-visual > .paper-type-cover { aspect-ratio: 4/3; display: flex; align-items: center; justify-content: center; text-align: center; font: 400 22px/1.3 var(--serif); padding: 14px; border-top: 0; color: var(--accent); background: var(--surface-soft); overflow-wrap: anywhere; }
.paper-visual img { object-fit: contain; background: #fff; }
.talk-date time { display: block; font: 400 22px/1.45 var(--serif); color: var(--ink); }
.talk-date .talk-location { color: var(--muted); font-size: 13px; line-height: 1.6; }
.talk { grid-template-columns: 180px minmax(0,1fr); }
.cv-program h3 { font-size: 17px; line-height: 1.6; margin: 8px 0 3px; }
.cv-program > p:last-child { color: var(--muted); font-size: 14px; line-height: 1.8; margin-top: 14px; max-width: 820px; }
.life-teaser { display: flex; align-items: center; justify-content: space-between; gap: 25px; padding: 35px 0; }
.life-teaser h2 { font: 400 29px/1.4 var(--serif); margin: 8px 0; }
.life-teaser p:not(.eyebrow) { color: var(--muted); font-size: 13px; }
.life-teaser .text-link { white-space: normal; }
.life-intro { display: grid; grid-template-columns: 1.1fr 1fr; gap: 80px; align-items: center; padding: 18px 0 52px; }
.life-motto { font: 400 clamp(38px, 4.6vw, 62px)/1.18 var(--serif); letter-spacing: -1.8px; }
.life-motto em { color: var(--accent); }
.life-intro-copy p { font-size: 16px; color: var(--muted); line-height: 1.9; max-width: 440px; }
.life-intro-copy .text-link { margin-top: 20px; white-space: normal; min-height: 44px; }
.life-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px 35px; padding: 15px 0 55px; }
.life-interest h2 { font: 400 29px/1.4 var(--serif); margin: 19px 0 9px; }
.life-interest > p { color: var(--muted); font-size: 14px; line-height: 1.85; max-width: 440px; }
.life-art { position: relative; aspect-ratio: 2/1; overflow: hidden; padding: 26px; border: 1px solid var(--line); background: var(--surface-soft); display: flex; align-items: center; }
.life-art-word { position: relative; z-index: 1; font: 400 clamp(35px, 4.8vw, 70px)/1 var(--serif); letter-spacing: -2px; color: var(--accent); }
.life-index { position: absolute; bottom: 15px; left: 27px; font: 9px/1.5 var(--mono); letter-spacing: 1px; color: var(--subtle); }
.life-art-lines { position: absolute; inset: 0; opacity: .35; pointer-events: none; }
.life-drums .life-art-lines { width: 200px; height: 200px; left: auto; right: -35px; top: -10px; border-radius: 50%; border: 1px solid var(--accent); box-shadow: 0 0 0 24px var(--surface-soft), 0 0 0 25px var(--accent), 0 0 0 50px var(--surface-soft), 0 0 0 51px var(--accent); }
.life-rock .life-art-lines { background: repeating-linear-gradient(105deg, transparent 0 29px, var(--accent) 30px 31px, transparent 32px 55px); }
.life-live .life-art-lines { background: repeating-conic-gradient(from 165deg at 90% 0%,transparent 0deg 12deg,var(--accent) 12.3deg 12.6deg,transparent 13deg 23deg); }
.life-reading .life-art-lines { top: 25%; bottom: 15%; left: 48%; right: 4%; transform: rotate(-8deg); border: 1px solid var(--accent); background: repeating-linear-gradient(0deg,transparent 0 19px,var(--accent) 20px,transparent 21px 24px); }
.main-nav { gap: 22px; }
.header-controls { margin-left: 10px; }
@media (max-width: 1000px) {
 .main-nav { gap: 14px; }
 .header-inner { gap: 12px; }
 .header-controls { margin-left: 0; }
 .wordmark { width: 42px; }
 .service-groups { gap: 24px; }
 .life-intro { gap: 40px; }
 .topic-grid { gap: 20px; }
 .topic-card h3 { font-size: 22px; }
}
@media (max-width: 900px) and (min-width: 641px) {
 .header-inner { height: 70px; }
 .header-controls { margin-left: auto; }
 .menu-toggle { display: inline-flex; }
 .main-nav { display: none; position: absolute; top: 70px; left: 0; right: 0; padding: 12px 32px; background: var(--paper); border-bottom: 1px solid var(--line); flex-wrap: wrap; }
 .main-nav.is-open { display: flex; }
 .main-nav > a { padding: 12px; }
 .main-nav > a:after { bottom: 7px; }
 html:not(.js-ready) .header-inner { height: auto; flex-wrap: wrap; padding-block: 15px; }
 html:not(.js-ready) .main-nav { display: flex; position: static; padding: 0; border: 0; width: 100%; }
}
@media (max-width: 640px) {
 .personal-motto { grid-column: 1 / -1; grid-row: 3; font-size: 13px; margin: 15px 0 0; }
 .hero-role { grid-row: 4; margin-top: 9px; }
 .hero-statement { grid-row: 5; }
 .hero-bio { grid-row: 6; }
 .hero-background { grid-row: 7; }
 .hero-actions { grid-row: 8; }
 .home-service { padding: 30px 0; margin-top: 20px; }
 .service-groups, .topic-grid, .life-grid, .life-intro { grid-template-columns: 1fr; }
 .service-group + .service-group { border-left: 0; border-top: 1px solid var(--line); padding: 22px 0 0; }
 .service-group h3 { font-size: 23px; }
 .service-group li { font-size: 13px; }
 .topic-grid { gap: 8px; }
 .topic-card { padding: 20px 0; }
 .project-history .project-detail h3 { font-size: 22px; }
 .project-history .project-detail p { font-size: 13px; }
 .project-history .section-heading { align-items: flex-start; flex-direction: column; }
 .talk { grid-template-columns: 1fr; }
 .talk-date { flex-wrap: wrap; gap: 8px 15px; }
 .talk-date time { font-size: 23px; }
 .talk-location { width: 100%; order: 3; }
 .life-teaser { align-items: flex-start; flex-direction: column; padding: 28px 0; gap: 12px; }
 .life-teaser h2 { font-size: 27px; }
 .life-intro { gap: 25px; padding: 5px 0 35px; }
 .life-motto { font-size: 43px; }
 .life-intro-copy p { font-size: 14px; }
 .life-grid { gap: 32px; }
 .life-art { aspect-ratio: 1.9/1; padding: 20px; }
 .life-art-word { font-size: 49px; }
 .life-index { left: 20px; font-size: 8px; }
 .life-interest h2 { font-size: 26px; }
 .current-title-list a { font-size: 18px; }
 .paper-visual > .paper-type-cover { font-size: 15px; min-height: 95px; padding: 8px; }
}
@media (prefers-reduced-motion: reduce) { .life-art-lines { transform: none; } }
@media print { .topic-card, .service-group, .life-interest { break-inside: avoid; } .personal-motto { grid-row: auto; } }

/* Owner-supplied figures retain their full bounds, including axes and captions. */
.paper-with-preview { display: grid; grid-template-columns: 235px minmax(0, 1fr); gap: 28px; align-items: start; }
.paper-content { min-width: 0; }
.publication-preview { display: block; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--surface-soft); }
.publication-preview img { display: block; width: 100%; aspect-ratio: 4/3; object-fit: contain; background: #fff; padding: 9px; }
.preview-caption { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 8px 11px; font-size: 10px; line-height: 1.5; color: var(--muted); border-top: 1px solid var(--line); }
.preview-caption .icon { width: 13px; height: 13px; }
a.publication-preview:hover { border-color: var(--accent); }
a.publication-preview:hover .preview-caption { color: var(--accent); }
.preview-mark { display: flex; aspect-ratio: 4/3; align-items: center; justify-content: center; font: 400 39px/1 var(--serif); color: var(--subtle); }
.life-photo { display: block; aspect-ratio: 2/1; border: 1px solid var(--line); overflow: hidden; background: var(--surface-soft); }
.life-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.life-rock .life-photo img { object-position: 50% 76%; }
.life-reading .life-photo img { object-fit: contain; }
.talks-photo { display: grid; grid-template-columns: 220px minmax(0,1fr); gap: 36px; align-items: center; max-width: 760px; margin: 10px 0 40px; }
.talks-photo img { width: 220px; height: 270px; object-fit: cover; object-position: center 40%; border-radius: var(--radius); }
.talks-photo figcaption { font: italic 25px/1.6 var(--serif); color: var(--muted); max-width: 340px; }
@media (max-width: 850px) { .paper-with-preview { grid-template-columns: 185px minmax(0,1fr); gap: 22px; } }
@media (max-width: 640px) {
 .paper-with-preview { grid-template-columns: 105px minmax(0,1fr); gap: 15px; }
 .publication-preview img { padding: 5px; }
 .preview-caption { font-size: 9px; padding: 7px; gap: 3px; }
 .preview-caption .icon { width: 11px; height: 11px; }
 .preview-mark { font-size: 29px; }
 .paper-with-preview h3 { font-size: 14px; line-height: 1.6; }
 .paper-with-preview .paper-authors { font-size: 11px; }
 .life-photo { aspect-ratio: 1.9/1; }
 .talks-photo { grid-template-columns: 130px minmax(0,1fr); gap: 20px; }
 .talks-photo img { width: 130px; height: 185px; }
 .talks-photo figcaption { font-size: 19px; }
}
@media (max-width: 360px) {
 .paper-with-preview { grid-template-columns: 84px minmax(0,1fr); gap: 12px; }
 .preview-caption .icon { display: none; }
 .preview-caption { font-size: 8px; }
}
@media print { .paper-with-preview { grid-template-columns: 120px minmax(0,1fr); gap: 16px; } .talks-photo { break-inside: avoid; } }
