/* Zhuhao Gu · Research portfolio
   No web fonts, frameworks, trackers, or external asset dependencies. */
:root {
    --paper: #f6f5f1;
    --white: #ffffff;
    --ink: #1d302c;
    --muted: #59675f;
    --quiet: #66716b;
    --accent: #34796a;
    --deep: #173e35;
    --line: #d8dcd4;
    --panel: #eeefea;
    --sans: "Times New Roman", -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans CJK SC", "Microsoft YaHei", sans-serif;
    --serif: "Times New Roman", "Iowan Old Style", "Baskerville", "Palatino Linotype", Georgia, "Noto Serif CJK SC", "Songti SC", serif;
    --mono: "Times New Roman", "SFMono-Regular", Consolas, "Liberation Mono", monospace;
    --content: 1200px;
    --header-height: 82px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 112px;
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: var(--sans);
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

::selection {
    background: #cce0d5;
    color: #132f28;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
select {
    font: inherit;
    color: inherit;
}

button {
    cursor: pointer;
}

button:disabled {
    cursor: wait;
    opacity: .65;
}

a,
button,
input,
select {
    -webkit-tap-highlight-color: transparent;
}

button {
    border: 0;
    background: none;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
video:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 5px;
}

img,
video {
    display: block;
    max-width: 100%;
}

img {
    height: auto;
}

figure {
    margin: 0;
}

p,
h1,
h2,
h3 {
    margin: 0;
}

[hidden] {
    display: none!important;
}

.container {
    width: min(var(--content),calc(100% - 96px));
    margin-inline: auto;
}

.icon {
    width: 20px;
    height: 20px;
    flex: 0 0 auto;
    vertical-align: middle;
}

.accent {
    color: var(--accent);
}

.eyebrow {
    font-size: 15px;
    line-height: 1.6;
    font-weight: 600;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--accent);
}

.body-copy {
    font-size: 16px;
    line-height: 1.85;
    color: var(--muted);
}

.text-link {
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.5;
    min-height: 40px;
    transition: color .18s;
}

.text-link .icon {
    width: 18px;
    height: 18px;
    transition: transform .18s;
}

.text-link:hover {
    color: var(--accent);
}

.text-link:hover .icon {
    transform: translateX(3px);
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 28px;
    min-height: 50px;
    padding: 13px 20px;
    border: 1px solid transparent;
    border-radius: 3px;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.5;
    transition: background .2s,transform .2s;
}

.button:hover {
    transform: translateY(-2px);
}

.button-primary {
    color: #fff;
    background: var(--deep);
}

.button-primary:hover {
    background: #255346;
}

.button-light {
    background: #eff6f0;
    color: var(--deep);
    margin-top: 20px;
    max-width: 100%;
    overflow-wrap: anywhere;
}

.enhance,
.enhance-block {
    display: none;
}

.js .enhance {
    display: inline-flex;
}

.js .enhance-block {
    display: block;
}

.sr-only {
    position: absolute!important;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    white-space: nowrap;
    clip-path: inset(50%);
}

.skip-link {
    position: fixed;
    z-index: 200;
    top: 8px;
    left: 12px;
    transform: translateY(-160%);
    background: var(--deep);
    color: white;
    padding: 12px 20px;
}

.skip-link:focus {
    transform: none;
}

/* Navigation */
.site-header {
    position: sticky;
    top: 0;
    z-index: 30;
    background: rgba(246,245,241,.96);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(12px);
}

.header-inner {
    min-height: var(--header-height);
    display: flex;
    align-items: center;
    gap: 32px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-shrink: 0;
}

.monogram {
    font-family: var(--serif);
    font-size: 32px;
    letter-spacing: -.08em;
    line-height: 1;
    color: var(--ink);
}

.monogram span {
    color: var(--accent);
}

.brand-name {
    font-size: 18px;
    translate: 0 5px;
    font-weight: 600;
    letter-spacing: .02em;
}

.desktop-nav {
    display: flex;
    align-items: center;
    gap: 31px;
    margin-left: auto;
}

.desktop-nav>a {
    font-size: 15px;
    min-height: 44px;
    display: flex;
    align-items: center;
    position: relative;
    color: var(--muted);
}

.desktop-nav>a::after {
    content: "";
    height: 1px;
    background: var(--accent);
    position: absolute;
    bottom: 8px;
    left: 0;
    right: 100%;
    transition: right .2s;
}

.desktop-nav>a:hover,
.desktop-nav>a[aria-current] {
    color: var(--ink);
}

.desktop-nav>a:hover::after,
.desktop-nav>a[aria-current]::after {
    right: 0;
}

.header-actions {
    display: flex;
    gap: 20px;
    align-items: center;
    margin-left: 12px;
}

.language-switch {
    display: flex;
    gap: 9px;
    align-items: center;
    font-size: 15px;
    white-space: nowrap;
}

.language-switch a {
    color: var(--muted);
    min-height: 44px;
    display: flex;
    align-items: center;
}

.language-switch a[aria-current] {
    color: var(--ink);
    font-weight: 650;
}

.language-switch>span {
    color: #8a938b;
    font-weight: 300;
}

.js .menu-button {
    display: none;
}

.mobile-nav {
    border-top: 1px solid var(--line);
    padding: 12px 24px 20px;
}

.mobile-nav a {
    display: block;
    padding: 12px 0;
    font-size: 16px;
}

/* Hero */
.hero {
    display: grid;
    grid-template-columns: 1fr 1.04fr;
    gap: 70px;
    padding-top: 83px;
    padding-bottom: 79px;
    align-items: center;
}

.hero-copy {
    min-width: 0;
}

.hero-copy>.eyebrow {
    display: flex;
    align-items: center;
    gap: 9px;
    letter-spacing: .105em;
    font-size: 15px;
    white-space: nowrap;
}

.tiny-mark {
    display: inline-block;
    width: 6px;
    height: 6px;
    border: 1px solid var(--accent);
    transform: rotate(45deg);
    flex-shrink: 0;
}

.hero h1 {
    font-family: var(--serif);
    font-weight: 400;
    font-size: clamp(62px,6.7vw,94px);
    line-height: 1.12;
    letter-spacing: -.062em;
    margin: 21px 0 22px;
    white-space: nowrap;
}

.hero h1>.accent {
    margin-left: 1px;
}

.hero-statement {
    font-family: var(--serif);
    font-size: 29px;
    line-height: 1.37;
    letter-spacing: -.02em;
    margin-bottom: 22px;
}

.hero-statement em {
    font-weight: 400;
    color: var(--accent);
}

.hero-bio {
    font-size: 15px;
    line-height: 1.95;
    max-width: 425px;
    color: var(--muted);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 25px;
    margin-top: 29px;
}

.hero-actions .text-link {
    font-size: 15px;
}

.orcid-line {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--mono);
    font-size: 15px;
    letter-spacing: .025em;
    color: var(--quiet);
    margin-top: 30px;
    min-height: 34px;
}

.orcid-line>.icon {
    width: 13px;
    height: 13px;
    margin-left: 3px;
}

.orcid-line:hover {
    color: var(--accent);
}

.orcid-icon {
    font-family: var(--sans);
    font-size: 15px;
    font-weight: 600;
    color: var(--deep);
    border: 1px solid #a4b5a3;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    flex-shrink: 0;
}

.identity-line {
    display: flex;
    flex-direction: column;
    color: var(--muted);
    font-size: 15px;
    margin-bottom: 20px;
}

.profile-portrait {
    object-fit: cover;
    border-radius: 50%;
    margin: 20px 0 0;
}

.hero-visual {
    position: relative;
    margin-top: 13px;
    min-width: 0;
}

.figure-overline {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    color: var(--quiet);
    font-family: var(--mono);
    font-size: 15px;
    letter-spacing: .12em;
}

.simulation-card {
    border: 1px solid var(--line);
    background: white;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 14px 40px rgba(29,48,44,.035);
}

.simulation-heading {
    height: 48px;
    border-bottom: 1px solid #e9ece6;
    display: flex;
    align-items: center;
    padding: 0 18px;
    gap: 8px;
    font-size: 15px;
    color: var(--muted);
    letter-spacing: .02em;
}

.live-dot {
    height: 5px;
    width: 5px;
    background: var(--accent);
    border-radius: 50%;
    flex-shrink: 0;
}

.simulation-label {
    margin-left: auto;
    font-family: var(--mono);
    font-size: 15px;
    color: var(--quiet);
    border: 1px solid var(--line);
    padding: 1px 5px;
}

.hero-canvas {
    height: 300px;
    position: relative;
    background: white;
}

.hero-canvas video {
    height: 100%;
    width: 100%;
    object-fit: contain;
    background: white;
}

.simulation-controls {
    min-height: 59px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 16px;
    border-top: 1px solid #e9ece6;
    gap: 12px;
    background: #fdfdfb;
}

.play-toggle {
    align-items: center;
    gap: 9px;
    font-size: 15px;
    min-height: 38px;
    padding: 0;
}

.play-toggle>.icon {
    width: 28px;
    height: 28px;
    border: 1px solid var(--line);
    border-radius: 50%;
    padding: 7px;
    stroke-width: 1.7;
}

.view-switch {
    gap: 2px;
    align-items: center;
    padding: 2px;
    border: 1px solid #e3e7df;
    border-radius: 3px;
}

.view-switch button {
    font-size: 15px;
    font-family: var(--mono);
    padding: 7px 9px;
    min-height: 30px;
    border-radius: 2px;
    color: var(--quiet);
}

.view-switch button[aria-pressed="true"] {
    background: var(--deep);
    color: #fff;
}

.view-switch button:hover:not([aria-pressed="true"]) {
    background: var(--panel);
}

.figure-footnote {
    display: flex;
    align-items: center;
    gap: 20px;
    font-family: var(--serif);
    font-style: italic;
    font-size: 15px;
    color: var(--quiet);
    margin-top: 16px;
}

.figure-rule {
    height: 1px;
    flex: 1;
    background: var(--line);
}

.discipline-strip {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    padding: 22px 0;
    color: var(--muted);
}

.discipline-strip span {
    font-size: 15px;
    letter-spacing: .1em;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 14px;
}

.discipline-strip span::before {
    content: "+";
    color: #94a499;
    font-size: 16px;
    line-height: 1;
    font-weight: 300;
}

/* Sections */
.section {
    padding-top: 30px;
    padding-bottom: 42px;
}

.section-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 36px;
    margin-bottom: 43px;
}

.section-heading .eyebrow {
    margin-bottom: 15px;
}

h2 {
    font-family: var(--serif);
    font-size: 43px;
    font-weight: 400;
    line-height: 1.19;
    letter-spacing: -.035em;
}

.section-intro {
    font-size: 15px;
    line-height: 1.8;
    color: var(--muted);
    margin-bottom: 2px;
    max-width: 345px;
}

.featured-research {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 0;
    border: 1px solid var(--line);
    border-radius: 4px;
    overflow: hidden;
    background: #f9f9f6;
}

.research-image-link {
    display: block;
    min-width: 0;
}

.feature-image {
    position: relative;
    height: 100%;
    min-height: 335px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border-right: 1px solid var(--line);
    overflow: hidden;
}

.feature-image>img {
    width: 100%;
    height: 100%;
    max-height: 380px;
    object-fit: contain;
    padding: 38px 25px;
    transition: transform .4s;
}

.research-image-link:hover img {
    transform: scale(1.025);
}

.image-note {
    position: absolute;
    left: 23px;
    bottom: 16px;
    font-family: var(--mono);
    font-size: 15px;
    letter-spacing: .1em;
    color: var(--quiet);
}

.image-arrow {
    position: absolute;
    right: 18px;
    bottom: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border: 1px solid #d6ddd4;
    border-radius: 50%;
    background: rgba(255,255,255,.92);
    transition: background .2s,color .2s;
}

.research-image-link:hover .image-arrow {
    background: var(--deep);
    color: #fff;
    border-color: var(--deep);
}

.image-arrow>.icon {
    width: 16px;
    height: 16px;
}

.feature-copy {
    padding: 40px 42px 33px;
}

.feature-copy>.eyebrow {
    font-size: 15px;
    margin-bottom: 20px;
}

h3 {
    font-weight: 400;
}

.feature-copy h3,
.research-card h3 {
    font-family: var(--serif);
    font-size: 32px;
    letter-spacing: -.025em;
    line-height: 1.24;
}

.feature-copy .body-copy {
    margin: 17px 0 17px;
    font-size: 15px;
    line-height: 1.9;
    max-width: 380px;
}

.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    color: var(--muted);
}

.tags>span {
    font-size: 15px;
    line-height: 1.5;
    border: 1px solid var(--line);
    border-radius: 2px;
    padding: 4px 7px;
}

.feature-copy>.text-link {
    margin-top: 18px;
    font-size: 15px;
}

.research-card-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 30px;
    margin-top: 30px;
}

.research-card {
    min-width: 0;
}

.project-image {
    height: 265px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 4px;
    background: white;
}

.project-image>img {
    width: 100%;
    height: 100%;
    padding: 26px;
    object-fit: contain;
    transition: transform .4s;
}

.research-card-copy {
    padding: 24px 1px 0;
}

.research-card-copy>.eyebrow {
    font-size: 15px;
    margin-bottom: 13px;
}

.research-card h3 {
    font-size: 30px;
    margin-bottom: 13px;
}

.research-card h3 a:hover {
    color: var(--accent);
}

.research-card-copy .body-copy {
    max-width: 480px;
    font-size: 15px;
    line-height: 1.9;
    margin-bottom: 18px;
}

/* Publication rows */
.publications-section {
    background: var(--panel);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    padding: 81px 0 58px;
}

.publications-section .section-heading {
    margin-bottom: 36px;
}

.publications-section .section-heading .text-link {
    font-size: 15px;
}

.publication-row {
    display: grid;
    grid-template-columns: 85px minmax(0,1fr);
    gap: 28px;
    padding: 29px 0 28px;
    border-top: 1px solid #d0d7cd;
}

.paper-year {
    font-family: var(--serif);
    font-size: 26px;
    letter-spacing: -.035em;
    line-height: 1.15;
    color: var(--accent);
    padding-top: 1px;
}

.paper-meta {
    display: flex;
    align-items: baseline;
    gap: 15px;
    flex-wrap: wrap;
    font-size: 15px;
    line-height: 1.6;
    color: var(--muted);
    margin-bottom: 10px;
}

.paper-meta>span:first-child {
    letter-spacing: .035em;
    font-weight: 600;
}

.type-label {
    font-size: 15px;
    color: var(--quiet);
    line-height: 1.5;
    white-space: nowrap;
}

.type-label::before {
    content: "·";
    margin-right: 12px;
}

.paper-main h3 {
    font-family: var(--sans);
    font-size: 18px;
    font-weight: 450;
    line-height: 1.58;
    max-width: 100%;
}

.paper-title-link {
    display: flex;
    align-items: flex-start;
    gap: 30px;
    transition: color .2s;
}

.paper-title-link>.icon {
    width: 19px;
    height: 19px;
    margin-left: auto;
    margin-top: 5px;
    opacity: .7;
}

.paper-title-link:hover {
    color: var(--accent);
}

.paper-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    align-items: center;
    margin-top: 11px;
    font-size: 15px;
}

.paper-actions .text-link {
    font-size: 15px;
    min-height: 32px;
    gap: 6px;
}

.paper-actions .text-link .icon {
    width: 14px;
    height: 14px;
}

.copy-doi {
    align-items: center;
    gap: 6px;
    min-height: 32px;
    padding: 0;
    font-size: 15px;
    color: var(--muted);
}

.copy-doi .icon {
    width: 12px;
    height: 12px;
}

.copy-doi:hover {
    color: var(--accent);
}

.paper-topic {
    margin-left: auto;
    color: var(--muted);
    font-size: 15px;
    letter-spacing: .025em;
}

.paper-authors {
    font-size: 15px;
    margin-top: 9px;
    color: var(--muted);
}

.paper-authors strong {
    font-weight: 600;
    color: var(--ink);
}

.publication-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    border-top: 1px solid #d0d7cd;
    padding-top: 23px;
}

.publication-bottom>span {
    color: var(--quiet);
    font-size: 15px;
}

.publication-bottom>.text-link {
    font-size: 15px;
}

/* Service and profile */
.profile-section {
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: 85px;
    align-items: start;
    padding-top: 87px;
    padding-bottom: 95px;
}

.service>.eyebrow {
    margin-bottom: 14px;
}

.service h2 {
    font-size: 37px;
}

.service>.body-copy {
    font-size: 15px;
    margin-top: 19px;
    line-height: 1.8;
    max-width: 350px;
}

.service-list {
    margin-top: 30px;
}

.service-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 27px;
    padding: 17px 0;
    border-top: 1px solid var(--line);
    font-size: 15px;
    line-height: 1.8;
}

.service-row>span:first-child {
    max-width: 300px;
}

.review-count {
    font-family: var(--mono);
    font-size: 15px;
    white-space: nowrap;
    color: var(--muted);
    padding-top: 2px;
}

.source-note {
    font-size: 15px;
    color: var(--quiet);
    margin-top: 14px;
}

.profile-card {
    padding: 32px 37px 35px;
    background: var(--deep);
    border: 1px solid #264e40;
    border-radius: 4px;
    color: #f4f7ef;
    position: relative;
    min-height: 324px;
}

.profile-card-top {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    letter-spacing: .13em;
    color: #c3d4c5;
}

.profile-card-top>.icon {
    margin-left: auto;
    width: 16px;
    height: 16px;
}

.profile-card-top>.orcid-icon {
    border-color: #9fbfa4;
    color: #dbe7d6;
}

.profile-card h2 {
    margin: 31px 0 18px;
    font-size: 38px;
}

.profile-card>p {
    font-size: 15px;
    line-height: 1.85;
    max-width: 290px;
    color: #c3d2c5;
}

.profile-orcid {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    font-family: var(--mono);
    font-size: 15px;
    margin-top: 32px;
    padding-top: 18px;
    border-top: 1px solid #497160;
}

.profile-orcid:hover {
    color: #bddec8;
}

.profile-orcid>.icon {
    width: 16px;
    height: 16px;
}

.profile-extra-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-right: 20px;
    font-size: 15px;
    padding-top: 22px;
}

.site-footer {
    border-top: 1px solid var(--line);
}

.footer-inner {
    display: flex;
    align-items: center;
    gap: 30px;
    padding-top: 34px;
    padding-bottom: 29px;
}

.footer-name {
    font-family: var(--serif);
    font-size: 25px;
    letter-spacing: -.035em;
}

.footer-inner>p {
    font-size: 15px;
    color: var(--muted);
    margin-left: 5px;
}

.footer-inner>.back-top {
    margin-left: auto;
    font-size: 15px;
    gap: 17px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    font-size: 15px;
    color: var(--quiet);
    border-top: 1px solid var(--line);
    padding: 16px 0 22px;
}

/* Archive */
.page-intro {
    padding-top: 49px;
    padding-bottom: 48px;
}

.breadcrumb {
    font-size: 15px;
    color: var(--quiet);
    margin-bottom: 48px;
}

.breadcrumb>.icon {
    width: 15px;
    height: 15px;
}

.page-intro>.eyebrow {
    margin-bottom: 14px;
}

.page-intro>h1 {
    font-family: var(--serif);
    font-size: 77px;
    font-weight: 400;
    letter-spacing: -.052em;
    line-height: 1.1;
}

.page-lead {
    margin-top: 24px;
    font-size: 15px;
    line-height: 1.9;
    color: var(--muted);
}

.archive-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 48px;
    padding-top: 32px;
    margin-top: 39px;
    border-top: 1px solid var(--line);
}

.archive-stats>span {
    display: flex;
    align-items: baseline;
    gap: 13px;
    font-size: 15px;
    color: var(--muted);
}

.archive-stats strong {
    font-family: var(--serif);
    font-weight: 400;
    font-size: 31px;
    color: var(--accent);
    letter-spacing: -.03em;
}

.archive-body {
    padding-bottom: 90px;
}

.archive-tools {
    padding: 25px 0 29px;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.search-row {
    display: flex;
    align-items: stretch;
    gap: 12px;
}

.search-field {
    display: flex;
    align-items: center;
    gap: 11px;
    min-width: 0;
    flex: 1;
    border: 1px solid var(--line);
    background: #fbfbf8;
    padding: 0 15px;
    border-radius: 3px;
}

.search-field>.icon {
    color: var(--quiet);
    width: 17px;
    height: 17px;
}

.search-field>input {
    background: transparent;
    border: 0;
    padding: 13px 0;
    min-width: 0;
    width: 100%;
    font-size: 15px;
    min-height: 47px;
    border-radius: 0;
}

.search-field>input:focus-visible {
    outline-offset: 0;
}

.search-field:focus-within {
    border-color: var(--accent);
}

input::placeholder {
    color: #68766c;
    opacity: 1;
}

.select-label select {
    height: 100%;
    min-height: 47px;
    padding: 10px 33px 10px 13px;
    border: 1px solid var(--line);
    border-radius: 3px;
    background-color: #fbfbf8;
    font-size: 15px;
    cursor: pointer;
    max-width: 100%;
}

.filter-row {
    margin-top: 19px;
    display: flex;
    gap: 20px;
    align-items: center;
    justify-content: space-between;
}

.topic-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.filter-button {
    font-size: 15px;
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 8px 12px;
    min-height: 35px;
    border: 1px solid transparent;
    border-radius: 3px;
    color: var(--muted);
}

.filter-button>span {
    font-family: var(--mono);
    opacity: .8;
    font-size: 15px;
}

.filter-button[aria-pressed="true"] {
    background: var(--deep);
    color: #fff;
}

.filter-button:hover:not([aria-pressed="true"]) {
    border-color: var(--line);
}

.result-count {
    font-family: var(--mono);
    font-size: 15px;
    color: var(--quiet);
    white-space: nowrap;
}

.year-heading {
    font-family: var(--serif);
    font-size: 30px;
    margin-top: 43px;
    margin-bottom: 21px;
    display: flex;
    align-items: center;
    gap: 24px;
    color: var(--accent);
}

.year-heading>span {
    height: 1px;
    flex: 1;
    background: var(--line);
}

.year-group>.publication-row {
    grid-template-columns: minmax(0,1fr);
    padding-left: 0;
}

.year-group>.publication-row:nth-child(2) {
    border-top: 0;
    padding-top: 0;
}

.year-group .paper-year {
    display: none;
}

.year-group .paper-main {
    padding: 0 0 0 2px;
}

.year-group .paper-main h3 {
    font-size: 18px;
    max-width: 1040px;
}

.year-group .paper-actions {
    max-width: 1040px;
}

.archive-note {
    margin-top: 50px;
    padding-top: 25px;
    border-top: 1px solid var(--line);
    font-size: 15px;
    line-height: 1.9;
    color: var(--quiet);
    max-width: 900px;
}

.archive-note>.text-link {
    font-size: 15px;
    margin-left: 7px;
}

.empty-state {
    padding: 80px 0;
    text-align: center;
}

.empty-state h2 {
    font-size: 34px;
}

.empty-state p {
    font-size: 15px;
    margin: 18px 0 23px;
    color: var(--muted);
}

/* Research detail */
.research-toc {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 25px;
    margin-top: 45px;
    border-block: 1px solid var(--line);
    padding: 18px 0;
}

.research-toc>a {
    font-size: 15px;
    min-height: 42px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding-right: 10px;
}

.research-toc>a>span {
    font-family: var(--mono);
    font-size: 15px;
    color: var(--accent);
}

.research-toc>a>.icon {
    margin-left: auto;
    width: 17px;
    height: 17px;
}

.research-toc>a:hover {
    color: var(--accent);
}

.project-section {
    padding: 29px 0 70px;
    border-bottom: 1px solid var(--line);
    margin-bottom: 30px;
}

.project-section:last-child {
    border-bottom: 0;
    margin-bottom: 20px;
}

.project-intro {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
    margin-bottom: 55px;
}

.project-intro .eyebrow {
    margin-bottom: 18px;
}

.project-intro h2 {
    font-size: 43px;
}

.project-intro .body-copy {
    font-size: 15px;
    line-height: 1.9;
}

.project-intro .tags {
    margin-top: 20px;
}

.project-intro .text-link {
    margin-top: 15px;
    font-size: 15px;
}

.subsection-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
    border-top: 1px solid var(--line);
    padding-top: 23px;
    margin-top: 40px;
    margin-bottom: 22px;
}

.subsection-heading h3 {
    font-family: var(--serif);
    font-size: 26px;
    letter-spacing: -.015em;
}

.subsection-heading p {
    font-size: 15px;
    color: var(--quiet);
}

.video-grid,
.gallery-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
}

.video-item {
    min-width: 0;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 3px;
    background: white;
}

.video-item video {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: contain;
    background: white;
}

.video-item figcaption {
    border-top: 1px solid var(--line);
    padding: 13px 17px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    font-size: 15px;
    color: var(--muted);
    background: #f9faf6;
}

.video-item figcaption>span {
    font-size: 15px;
    color: var(--quiet);
}

.gallery-item {
    min-width: 0;
}

.gallery-link {
    position: relative;
    height: 320px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: white;
    border: 1px solid var(--line);
    border-radius: 3px;
    padding: 20px;
    cursor: zoom-in;
}

.gallery-link>img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform .3s;
}

.gallery-link:hover>img {
    transform: scale(1.025);
}

.gallery-zoom {
    position: absolute;
    bottom: 13px;
    right: 13px;
    border: 1px solid var(--line);
    background: rgba(255,255,255,.93);
    border-radius: 50%;
    width: 30px;
    height: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.gallery-zoom>.icon {
    width: 14px;
    height: 14px;
}

.gallery-item figcaption {
    display: flex;
    align-items: baseline;
    gap: 11px;
    padding: 12px 0 10px;
    font-size: 15px;
    color: var(--muted);
}

.gallery-item figcaption>span {
    font-family: var(--mono);
    font-size: 15px;
    color: var(--accent);
}

/* Image viewer */
.lightbox {
    max-width: none;
    max-height: none;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 20px;
    border: 0;
    background: rgba(12,24,20,.98);
    color: white;
    overscroll-behavior: contain;
}

.lightbox::backdrop {
    background: rgba(12,24,20,.9);
}

.lightbox-inner {
    max-width: 1400px;
    height: 100%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 15px;
}

.lightbox-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
}

.lightbox-toolbar p {
    font-size: 15px;
    color: #e2eae1;
}

.icon-button {
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #637567;
    border-radius: 50%;
    flex-shrink: 0;
}

.icon-button:hover {
    background: #314237;
}

#lightbox-image {
    height: calc(100% - 142px);
    width: 100%;
    min-height: 0;
    flex: 1;
    object-fit: contain;
    margin: auto;
}

.lightbox-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
}

.lightbox-bottom .text-link {
    color: white;
    font-size: 15px;
    min-height: 44px;
}

.lightbox-count {
    font-family: var(--mono);
    font-size: 15px;
    color: #c4d2c6;
}

body.modal-open {
    overflow: hidden;
}

.toast {
    position: fixed;
    z-index: 100;
    bottom: 24px;
    left: 50%;
    transform: translate(-50%,20px);
    opacity: 0;
    pointer-events: none;
    background: var(--deep);
    color: white;
    font-size: 15px;
    padding: 12px 20px;
    border: 1px solid #5a7f68;
    border-radius: 4px;
    box-shadow: 0 4px 20px #173e3520;
    transition: opacity .18s, transform .18s;
    max-width: calc(100% - 40px);
    text-align: center;
}

.toast.visible {
    opacity: 1;
    transform: translate(-50%,0);
}

/* Chinese typography */
html[lang="zh-CN"] .eyebrow {
    letter-spacing: .16em;
}

html[lang="zh-CN"] h2,
html[lang="zh-CN"] .page-intro>h1 {
    letter-spacing: .015em;
    line-height: 1.35;
}

html[lang="zh-CN"] .hero-statement {
    letter-spacing: .05em;
    line-height: 1.55;
    font-size: 28px;
}

html[lang="zh-CN"] .hero-statement em {
    font-style: normal;
}

html[lang="zh-CN"] .hero-bio,
html[lang="zh-CN"] .body-copy {
    line-height: 2;
}

html[lang="zh-CN"] .feature-copy h3,
html[lang="zh-CN"] .research-card h3 {
    line-height: 1.5;
    font-size: 29px;
    letter-spacing: .015em;
}

html[lang="zh-CN"] .figure-footnote {
    font-style: normal;
    font-family: var(--sans);
    font-size: 15px;
    letter-spacing: .025em;
}

html[lang="zh-CN"] .service h2,
html[lang="zh-CN"] .profile-card h2 {
    font-size: 33px;
}

/* Tablet */
@media (min-width:1500px) {
    .hero {
        padding-block: 100px;
    }

    .hero-canvas {
        height: 325px;
    }
}

@media (max-width:1190px) {
    .container {
        width: calc(100% - 72px);
    }

    .hero {
        gap: 40px;
        padding-top: 25px;
        padding-bottom: 15px;
    }

    .hero h1 {
        font-size: 76px;
    }

    .hero-copy>.eyebrow {
        font-size: 15px;
    }

    .hero-statement {
        font-size: 26px;
    }

    .hero-bio {
        font-size: 15px;
    }

    .hero-canvas {
        height: 275px;
    }

    .figure-overline {
        font-size: 15px;
    }

    .feature-copy {
        padding: 34px 30px;
    }

    .feature-copy h3 {
        font-size: 30px;
    }

    .profile-section {
        gap: 50px;
    }

    .profile-card {
        padding: 30px;
    }

    .research-toc {
        gap: 16px;
    }
}

@media (max-width:940px) {
    :root {
        --header-height: 72px;
    }

    .container {
        width: calc(100% - 56px);
    }

    .desktop-nav {
        gap: 20px;
    }

    .header-inner {
        gap: 22px;
    }

    .header-actions {
        gap: 14px;
        margin-left: auto;
    }

    .desktop-nav {
        margin-left: auto;
    }

    .hero {
        gap: 30px;
        padding-top: 56px;
        padding-bottom: 57px;
    }

    .hero h1 {
        font-size: 65px;
    }

    .hero-statement {
        font-size: 23px;
    }

    .hero-bio {
        font-size: 15px;
        line-height: 1.85;
    }

    .hero-copy>.eyebrow {
        font-size: 15px;
        letter-spacing: .07em;
        gap: 6px;
    }

    .hero-actions {
        gap: 16px;
        margin-top: 24px;
    }

    .hero-actions .button {
        font-size: 15px;
        padding: 12px 14px;
        gap: 15px;
        min-height: 46px;
    }

    .hero-actions .text-link {
        font-size: 15px;
    }

    .orcid-line {
        font-size: 15px;
        margin-top: 24px;
    }

    .hero-canvas {
        height: 235px;
    }

    .simulation-heading {
        padding-inline: 12px;
        font-size: 15px;
        height: 41px;
    }

    .simulation-controls {
        padding-inline: 10px;
        gap: 8px;
    }

    .play-toggle {
        font-size: 15px;
        gap: 5px;
    }

    .view-switch button {
        font-size: 15px;
        padding: 5px 7px;
    }

    .figure-footnote {
        font-size: 15px;
    }

    .discipline-strip {
        gap: 12px;
    }

    .discipline-strip span {
        font-size: 15px;
        gap: 9px;
    }

    .section {
        padding-block: 70px;
    }

    h2 {
        font-size: 38px;
    }

    .section-intro {
        font-size: 15px;
    }

    .section-heading {
        gap: 28px;
        margin-bottom: 32px;
    }

    .featured-research {
        grid-template-columns: 1fr 1fr;
    }

    .feature-image {
        min-height: 320px;
    }

    .feature-image>img {
        padding-inline: 18px;
    }

    .feature-copy {
        padding: 30px 25px;
    }

    .feature-copy h3 {
        font-size: 27px;
    }

    .feature-copy .body-copy {
        font-size: 15px;
    }

    .feature-copy>.eyebrow {
        font-size: 15px;
    }

    .research-card-grid {
        gap: 24px;
        margin-top: 24px;
    }

    .project-image {
        height: 230px;
    }

    .research-card h3 {
        font-size: 28px;
    }

    .profile-section {
        gap: 35px;
    }

    .profile-card {
        padding: 27px;
        min-height: 320px;
    }

    .profile-card h2 {
        font-size: 34px;
    }

    .profile-orcid {
        font-size: 15px;
    }

    .service-row {
        gap: 15px;
        font-size: 15px;
    }

    .service h2 {
        font-size: 34px;
    }

    .paper-main h3 {
        font-size: 16px;
    }

    .project-intro {
        gap: 40px;
    }

    .project-intro h2 {
        font-size: 35px;
    }

    .gallery-link {
        height: 265px;
    }

    html[lang="zh-CN"] .hero-statement {
        font-size: 24px;
    }

    html[lang="zh-CN"] .hero-actions {
        gap: 12px;
    }

    html[lang="zh-CN"] .feature-copy h3,
    html[lang="zh-CN"] .research-card h3 {
        font-size: 24px;
    }
}

/* Mobile */
@media (max-width:760px) {
    :root {
        --header-height: 70px;
    }

    html {
        scroll-padding-top: 92px;
    }

    .container {
        width: calc(100% - 40px);
    }

    .header-inner {
        gap: 16px;
        min-height: 70px;
    }

    .brand {
        gap: 12px;
    }

    .brand-name {
        font-size: 15px;
    }

    .monogram {
        font-size: 30px;
    }

    .js .desktop-nav {
        display: none;
    }

    .js .menu-button {
        display: inline-flex;
        width: 34px;
        height: 44px;
        justify-content: center;
        align-items: center;
        padding: 0;
    }

    .menu-button .icon {
        width: 21px;
        height: 21px;
    }

    .header-actions {
        gap: 15px;
    }

    .language-switch {
        gap: 7px;
        font-size: 15px;
    }

    html:not(.js) .header-inner {
        flex-wrap: wrap;
        padding-block: 14px;
    }

    html:not(.js) .desktop-nav {
        order: 3;
        flex-basis: 100%;
        display: flex;
        justify-content: space-between;
    }

    .hero {
        grid-template-columns: 1fr;
        gap: 40px;
        padding-top: 43px;
        padding-bottom: 40px;
    }

    .hero h1 {
        font-size: clamp(58px,12vw,83px);
        margin-top: 21px;
        margin-bottom: 21px;
    }

    .hero-copy>.eyebrow {
        font-size: 15px;
        letter-spacing: .11em;
        gap: 8px;
    }

    .hero-statement {
        font-size: 28px;
        line-height: 1.4;
        margin-bottom: 19px;
    }

    .hero-bio {
        font-size: 15px;
        line-height: 1.9;
        max-width: 540px;
    }

    .hero-actions {
        gap: 27px;
        margin-top: 27px;
    }

    .hero-actions .button {
        min-height: 49px;
        padding: 13px 18px;
        gap: 25px;
        font-size: 15px;
    }

    .hero-actions .text-link {
        font-size: 15px;
    }

    .orcid-line {
        font-size: 15px;
        margin-top: 22px;
    }

    .hero-visual {
        margin-top: 0;
    }

    .figure-overline {
        font-size: 15px;
        margin-bottom: 10px;
    }

    .hero-canvas {
        height: auto;
        aspect-ratio: 1.7;
    }

    .simulation-heading {
        font-size: 15px;
        height: 43px;
        padding-inline: 14px;
    }

    .simulation-controls {
        min-height: 57px;
        padding: 8px 13px;
    }

    .play-toggle {
        font-size: 15px;
        gap: 9px;
    }

    .view-switch button {
        font-size: 15px;
        min-height: 34px;
        padding: 6px 10px;
    }

    .figure-footnote {
        font-size: 15px;
        margin-top: 13px;
    }

    .discipline-strip {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 17px 12px;
        padding-block: 20px;
    }

    .discipline-strip span {
        font-size: 15px;
        letter-spacing: .07em;
        gap: 11px;
    }

    .section {
        padding-block: 57px;
    }

    .section-heading {
        align-items: flex-start;
        gap: 20px;
        flex-direction: column;
        margin-bottom: 28px;
    }

    .section-heading>.text-link {
        margin-top: -3px;
    }

    .section-heading .eyebrow {
        margin-bottom: 13px;
    }

    .eyebrow {
        font-size: 15px;
    }

    h2 {
        font-size: 35px;
        line-height: 1.2;
    }

    .section-intro {
        font-size: 15px;
        line-height: 1.75;
    }

    .featured-research {
        grid-template-columns: 1fr;
    }

    .feature-image {
        min-height: 0;
        height: 230px;
        border-right: 0;
        border-bottom: 1px solid var(--line);
    }

    .feature-image>img {
        padding: 27px 17px 35px;
    }

    .image-note {
        font-size: 15px;
        left: 18px;
        bottom: 14px;
    }

    .image-arrow {
        width: 30px;
        height: 30px;
        bottom: 13px;
        right: 13px;
    }

    .feature-copy {
        padding: 27px 25px 23px;
    }

    .feature-copy>.eyebrow {
        font-size: 15px;
        margin-bottom: 14px;
    }

    .feature-copy h3 {
        font-size: 30px;
    }

    .feature-copy .body-copy {
        font-size: 15px;
        max-width: none;
        margin-top: 16px;
    }

    .feature-copy>.text-link {
        font-size: 15px;
        margin-top: 16px;
    }

    .tags>span {
        font-size: 15px;
    }

    .research-card-grid {
        grid-template-columns: 1fr;
        gap: 32px;
        margin-top: 30px;
    }

    .project-image {
        height: 235px;
    }

    .project-image>img {
        padding: 20px;
    }

    .research-card-copy {
        padding-top: 22px;
    }

    .research-card h3 {
        font-size: 30px;
    }

    .research-card-copy .body-copy {
        font-size: 15px;
    }

    .publications-section {
        padding: 56px 0 37px;
    }

    .publications-section .section-heading {
        gap: 15px;
        margin-bottom: 26px;
    }

    .publication-row {
        grid-template-columns: 44px minmax(0,1fr);
        gap: 16px;
        padding: 24px 0;
    }

    .paper-year {
        font-size: 20px;
        padding-top: 2px;
    }

    .paper-meta {
        font-size: 15px;
        gap: 5px 11px;
        margin-bottom: 9px;
    }

    .paper-meta>span:first-child {
        letter-spacing: 0;
    }

    .type-label {
        font-size: 15px;
    }

    .type-label::before {
        margin-right: 9px;
    }

    .paper-main h3 {
        font-size: 15px;
        line-height: 1.65;
        font-weight: 500;
    }

    .paper-title-link {
        gap: 10px;
    }

    .paper-title-link>.icon {
        width: 14px;
        height: 14px;
        margin-top: 5px;
    }

    .paper-actions {
        gap: 11px;
        margin-top: 8px;
    }

    .paper-actions>.text-link,
    .copy-doi {
        font-size: 15px;
    }

    .paper-topic {
        display: none;
    }

    .publication-bottom {
        align-items: flex-start;
        flex-direction: column;
        gap: 8px;
        padding-top: 20px;
    }

    .publication-bottom>span {
        font-size: 15px;
    }

    .profile-section {
        grid-template-columns: 1fr;
        gap: 38px;
    }

    .service h2 {
        font-size: 34px;
    }

    .service>.body-copy {
        font-size: 15px;
        max-width: none;
    }

    .service-row {
        font-size: 15px;
        gap: 30px;
    }

    .review-count {
        font-size: 15px;
    }

    .service-row>span:first-child {
        max-width: 280px;
    }

    .profile-card {
        padding: 27px 28px 30px;
        min-height: 300px;
    }

    .profile-card h2 {
        font-size: 37px;
        margin-top: 26px;
    }

    .profile-card>p {
        max-width: 360px;
    }

    .profile-orcid {
        font-size: 15px;
        margin-top: 25px;
    }

    .footer-inner {
        flex-wrap: wrap;
        padding-block: 26px;
        gap: 7px 15px;
    }

    .footer-name {
        font-size: 24px;
    }

    .footer-inner>p {
        order: 3;
        flex-basis: 100%;
        margin-left: 0;
        font-size: 15px;
    }

    .footer-inner>.back-top {
        font-size: 15px;
        gap: 12px;
    }

    .footer-bottom {
        font-size: 15px;
        padding-bottom: 20px;
    }

    .page-intro {
        padding-top: 25px;
        padding-bottom: 35px;
    }

    .breadcrumb {
        margin-bottom: 34px;
        font-size: 15px;
    }

    .page-intro>h1 {
        font-size: 57px;
    }

    .page-lead {
        font-size: 15px;
        margin-top: 18px;
    }

    .archive-stats {
        gap: 16px 26px;
        margin-top: 27px;
        padding-top: 25px;
    }

    .archive-stats>span {
        font-size: 15px;
        gap: 8px;
    }

    .archive-stats strong {
        font-size: 26px;
    }

    .archive-tools {
        padding-block: 19px 23px;
    }

    .search-row {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .search-field {
        grid-column: 1/-1;
    }

    .search-field>input {
        font-size: 15px;
    }

    .select-label select {
        width: 100%;
        font-size: 15px;
        min-height: 42px;
    }

    .filter-row {
        align-items: flex-start;
        flex-direction: column;
        gap: 12px;
        margin-top: 14px;
    }

    .filter-button {
        font-size: 15px;
        padding-inline: 9px;
        min-height: 38px;
    }

    .topic-filters {
        gap: 2px;
    }

    .result-count {
        font-size: 15px;
    }

    .year-heading {
        font-size: 28px;
        margin-top: 35px;
        margin-bottom: 20px;
    }

    .year-group .paper-main h3 {
        font-size: 15px;
    }

    .year-group .paper-meta {
        font-size: 15px;
    }

    .year-group .paper-actions {
        margin-top: 12px;
    }

    .archive-note {
        font-size: 15px;
        margin-top: 30px;
        padding-top: 20px;
    }

    .archive-body {
        padding-bottom: 52px;
    }

    .research-toc {
        grid-template-columns: 1fr;
        gap: 0;
        margin-top: 30px;
        padding-block: 10px;
    }

    .research-toc>a {
        font-size: 15px;
        min-height: 48px;
    }

    .research-toc>a:not(:last-child) {
        border-bottom: 1px solid var(--line);
    }

    .project-section {
        padding-top: 15px;
        padding-bottom: 45px;
        margin-bottom: 22px;
    }

    .project-intro {
        grid-template-columns: 1fr;
        gap: 23px;
        margin-bottom: 30px;
    }

    .project-intro h2 {
        font-size: 34px;
    }

    .project-intro .body-copy {
        font-size: 15px;
    }

    .subsection-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 8px;
        margin-top: 29px;
        margin-bottom: 18px;
        padding-top: 20px;
    }

    .subsection-heading h3 {
        font-size: 25px;
    }

    .subsection-heading p {
        font-size: 15px;
    }

    .video-grid,
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .gallery-link {
        height: 270px;
        padding: 16px;
    }

    .gallery-item figcaption {
        font-size: 15px;
        padding-top: 11px;
    }

    .video-item figcaption {
        font-size: 15px;
        padding: 12px 14px;
    }

    .lightbox {
        padding: 15px;
    }

    .lightbox-toolbar p {
        font-size: 15px;
        max-width: calc(100% - 70px);
    }

    .lightbox-toolbar {
        gap: 15px;
    }

    .lightbox-bottom .text-link {
        font-size: 15px;
    }

    html[lang="zh-CN"] .hero-statement {
        font-size: 28px;
    }

    html[lang="zh-CN"] .hero-copy>.eyebrow {
        font-size: 15px;
    }

    html[lang="zh-CN"] h2 {
        font-size: 32px;
    }

    html[lang="zh-CN"] .feature-copy h3,
    html[lang="zh-CN"] .research-card h3 {
        font-size: 26px;
    }

    html[lang="zh-CN"] .section-intro {
        font-size: 15px;
    }

    html[lang="zh-CN"] .hero-actions {
        gap: 24px;
    }
}

@media (max-width:380px) {
    .container {
        width: calc(100% - 32px);
    }

    .brand-name {
        font-size: 15px;
    }

    .header-inner {
        gap: 10px;
    }

    .header-actions {
        gap: 10px;
    }

    .hero h1 {
        font-size: 55px;
    }

    .hero-copy>.eyebrow {
        font-size: 15px;
    }

    .hero-statement {
        font-size: 25px;
    }

    .hero-actions {
        gap: 20px;
    }

    .hero-actions .button {
        gap: 16px;
        font-size: 15px;
        padding-inline: 14px;
    }

    .hero-actions .text-link {
        font-size: 15px;
    }

    .view-switch button {
        padding-inline: 8px;
    }

    .play-toggle {
        font-size: 15px;
        gap: 7px;
    }

    .feature-copy {
        padding-inline: 21px;
    }

    .page-intro>h1 {
        font-size: 48px;
    }

    .archive-stats {
        gap: 14px;
    }

    .archive-stats>span {
        font-size: 15px;
        gap: 6px;
    }

    .archive-stats strong {
        font-size: 24px;
    }

    .profile-card {
        padding-inline: 23px;
    }

    .profile-orcid {
        font-size: 15px;
    }

    .discipline-strip span {
        font-size: 15px;
    }

    .gallery-link {
        height: 230px;
    }
}

@media (prefers-reduced-motion:reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation: none!important;
        transition: none!important;
    }
}

@media print {
    body {
        background: white;
        color: black;
        font-size: 11.25pt;
    }

    .container {
        width: 100%;
    }

    .site-header,
    .site-footer,
    .hero-visual,
    .discipline-strip,
    .hero-actions,
    .orcid-line,
    .research-image-link,
    .profile-card,
    .archive-tools,
    .paper-actions,
    .lightbox,
    .toast,
    .breadcrumb,
    .enhance {
        display: none!important;
    }

    .section,
    .publications-section,
    .profile-section {
        padding: 20pt 0;
        background: transparent;
    }

    .hero {
        display: block;
        padding: 0 0 20pt;
    }

    .hero h1 {
        font-size: 36pt;
    }

    .hero-statement {
        font-size: 18pt;
    }

    .hero-bio {
        max-width: 100%;
    }

    .featured-research,
    .research-card-grid,
    .profile-section,
    .project-intro {
        display: block;
        border: 0;
    }

    .feature-copy {
        padding: 0;
    }

    .publication-row {
        break-inside: avoid;
        padding: 12pt 0;
    }

    .paper-main h3,
    .year-group .paper-main h3 {
        font-size: 11.25pt;
    }

    .page-intro {
        padding: 0 0 15pt;
    }

    .page-intro h1 {
        font-size: 34pt;
    }

    .gallery-item {
        break-inside: avoid;
    }

    .gallery-zoom,
    .research-toc {
        display: none;
    }
}

/* Optional profile blocks are emitted only when real entries are supplied. */
.background-section {
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(min(100%,340px),1fr));
    gap: 65px;
    border-bottom: 1px solid var(--line);
}

.background-section .eyebrow {
    margin-bottom: 15px;
}

.background-section h2 {
    margin-bottom: 30px;
}

.background-entry {
    display: flex;
    gap: 25px;
    border-top: 1px solid var(--line);
    padding: 20px 0;
    font-size: 15px;
}

.background-entry>span {
    font-family: var(--mono);
    font-size: 15px;
    color: var(--accent);
    min-width: 95px;
}

.background-entry h3 {
    font-size: 15px;
    font-weight: 500;
}

.background-entry p {
    font-size: 15px;
    color: var(--muted);
    margin-top: 5px;
}
