/* Original presentation for Ngoc-Huynh Ho's research portfolio. */
:root {
  --paper: #fafbf7;
  --ink: #173e35;
  --text: #374b42;
  --muted: #68786e;
  --line: #dce2d6;
  --green: #476c58;
  --lime: #d2e7a9;
  --tint: #edf1e9;
  --white: #fff;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
body { margin: 0; background: var(--paper); color: var(--text); font: 16px/1.7 'DM Sans', sans-serif; }
body.dialog-open { overflow: hidden; }
button, input, select, textarea { font: inherit; }
button, a, input, select, summary { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--green); }
img { max-width: 100%; display: block; }
h1, h2, h3, h4 { font-family: Manrope, sans-serif; color: var(--ink); line-height: 1.25; }
h1, h2, h3, p { margin-top: 0; }
h2 { font-size: clamp(32px, 3.8vw, 48px); letter-spacing: -1.8px; font-weight: 600; margin-bottom: 24px; }
h2 span { color: var(--green); }
:focus-visible { outline: 3px solid #749440; outline-offset: 5px; }
[hidden] { display: none !important; }
.container { width: min(1200px, calc(100% - 96px)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
.skip-link { position: fixed; top: -70px; left: 20px; z-index: 100; padding: 10px 20px; background: var(--ink); color: white; }
.skip-link:focus { top: 10px; }
.enhanced-only { display: none; }
.js-ready .enhanced-only { display: flex; }
.site-header { position: sticky; top: 0; z-index: 20; background: rgb(250 251 247 / 96%); border-bottom: 1px solid var(--line); backdrop-filter: blur(14px); }
.header-inner { display: flex; justify-content: space-between; align-items: center; min-height: 90px; gap: 30px; }
.brand { display: flex; align-items: center; gap: 14px; font: 700 16px/1.3 Manrope, sans-serif; color: var(--ink); }
.brand-mark { font-size: 36px; letter-spacing: -3px; padding-right: 6px; }
.brand-mark span { color: #8da967; }
.brand small { display: block; font: 9px/1.7 'DM Sans', sans-serif; letter-spacing: 1.8px; margin-top: 4px; color: var(--muted); }
#primary-nav { display: flex; align-items: center; gap: 27px; font-size: 13px; }
#primary-nav a { padding-block: 9px; }
#primary-nav a[aria-current] { color: var(--green); text-decoration: underline; text-underline-offset: 8px; }
#primary-nav .nav-contact { border: 1px solid var(--line); padding: 9px 18px; border-radius: 30px; }
.menu-toggle { display: none; background: transparent; border: 0; padding: 15px; }
.menu-toggle span { display: block; width: 23px; height: 2px; background: var(--ink); margin: 6px 0; }
.hero { display: grid; grid-template-columns: 1.2fr 1fr; gap: 54px; padding-block: 85px 70px; align-items: center; }
.hero-kicker, .eyebrow { font-size: 10px; font-weight: 600; letter-spacing: 1.8px; color: var(--green); }
.hero-kicker { display: flex; align-items: center; gap: 10px; margin-bottom: 26px; }
.status-dot { width: 7px; height: 7px; border-radius: 50%; background: #779356; box-shadow: 0 0 0 5px #eaf0df; }
.hero h1 { font-size: clamp(40px, 5vw, 66px); line-height: 1.14; font-weight: 600; letter-spacing: -3px; margin: 0 0 24px; }
.hero h1 span { color: var(--green); }
.hero-description { max-width: 515px; font-size: 16px; line-height: 1.8; color: var(--muted); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 31px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 22px; border: 0; border-radius: 7px; padding: 13px 23px; font-size: 13px; font-weight: 500; transition: background .2s, transform .2s; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: white; background: var(--ink); }
.button-primary:hover { background: #2e5847; color: white; }
.button-quiet { padding-left: 8px; }
.button-outline { border: 1px solid var(--line); color: var(--ink); background: transparent; }
.button:disabled { opacity: .55; cursor: wait; transform: none; }
.hero-affiliation { border-top: 1px solid var(--line); padding-top: 23px; margin-top: 37px; display: flex; gap: 15px; align-items: center; font-size: 11px; line-height: 1.7; color: var(--muted); }
.hero-affiliation strong { font-weight: 500; color: var(--text); }
.mini-cross { font-size: 30px; color: var(--green); }
.hero-science { background: var(--tint); border-radius: 18px; position: relative; overflow: hidden; padding: 23px 25px 26px; }
.science-topline { display: flex; justify-content: space-between; font-size: 9px; letter-spacing: 1.5px; color: var(--muted); }
.hero-research-image { width: 100%; height: auto; display: block; margin-block: 28px; border-radius: 10px; }
.science-caption { position: relative; border-top: 1px solid #d4ddca; padding-top: 18px; }
.science-index { font-size: 9px; letter-spacing: 1px; color: var(--muted); }
.science-caption p { font: 500 19px/1.45 Manrope,sans-serif; color: var(--ink); margin: 8px 0 0; }
.science-plus { position: absolute; right: 0; bottom: 3px; font-size: 30px; color: #86a168; }
.metrics-wrap { border-block: 1px solid var(--line); }
.metrics { display: grid; grid-template-columns: 1fr 1fr 1fr 1.3fr; padding-block: 30px; gap: 25px; align-items: center; }
.metrics > div { display: flex; flex-direction: column; border-right: 1px solid var(--line); }
.metrics strong { font: 500 35px/1.3 Manrope,sans-serif; letter-spacing: -1px; color: var(--ink); }
.metrics span { font-size: 11px; color: var(--muted); }
.metrics-source { padding-left: 12px; }
.metrics-source span { color: var(--green); font-size: 10px; letter-spacing: 1.5px; font-weight: 600; }
.metrics-source small { display: block; margin-top: 6px; font-size: 10px; line-height: 1.6; color: var(--muted); }
.section { padding-block: 94px; }
.section-heading { display: flex; justify-content: space-between; gap: 45px; align-items: flex-end; margin-bottom: 38px; }
.section-heading .eyebrow { display: block; margin-bottom: 20px; }
.section-heading h2 { margin-bottom: 0; }
.section-heading > p { max-width: 330px; margin-bottom: 5px; color: var(--muted); font-size: 14px; }
.project-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 22px; }
.project-card { grid-column: span 2; background: white; border: 1px solid var(--line); padding: 0; text-align: left; border-radius: 12px; overflow: hidden; display: flex; flex-direction: column; color: var(--text); transition: transform .2s, box-shadow .2s; }
.project-card:nth-child(-n+2) { grid-column: span 3; }
.project-card:hover { transform: translateY(-5px); box-shadow: 0 14px 32px rgb(23 62 53 / 7%); }
.project-visual { position: relative; background: var(--tint); height: 157px; overflow: hidden; border-bottom: 1px solid var(--line); }
.project-card:nth-child(-n+2) .project-visual { height: 207px; }
.project-visual img { width: 100%; height: 100%; object-fit: contain; padding: 12px; background: white; }
.project-number { position: absolute; right: 17px; top: 13px; font-size: 10px; color: var(--green); background: var(--paper); border-radius: 4px; padding: 2px 6px; }
.project-body { padding: 26px; display: flex; flex-direction: column; flex: 1; }
.project-body .eyebrow { font-size: 8px; }
.project-body h3 { font-size: 20px; letter-spacing: -.6px; margin: 13px 0; }
.project-body p { font-size: 12px; line-height: 1.8; color: var(--muted); margin-bottom: 22px; }
.project-bottom { display: flex; justify-content: space-between; gap: 10px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 9px; margin-top: auto; }
.read-note { color: var(--ink); font-weight: 600; }
.read-note span { margin-left: 6px; }
.talks-section { background: var(--ink); color: #edf3e8; }
.talk-feature { display: grid; grid-template-columns: .7fr 1.3fr; gap: 80px; align-items: stretch; }
.talk-intro { display: flex; flex-direction: column; justify-content: space-between; gap: 55px; }
.talks-section .eyebrow { color: var(--lime); }
.talk-date { width: fit-content; border-left: 1px solid #769083; padding-left: 20px; display: flex; flex-direction: column; }
.talk-date strong { font: 500 44px/1 Manrope,sans-serif; letter-spacing: -2px; color: var(--white); }
.talk-date span { margin-top: 9px; color: #adc0b2; font-size: 10px; letter-spacing: 1.7px; }
.talk-card { border-top: 1px solid #769083; padding-top: 25px; }
.talk-event { color: var(--lime); font-size: 11px; letter-spacing: 1px; text-transform: uppercase; }
.talk-event span { padding-inline: 8px; }
.talk-card h2 { color: var(--white); font-size: clamp(31px,3.8vw,50px); letter-spacing: -1.7px; max-width: 820px; margin: 22px 0; }
.talk-description { max-width: 680px; color: #bfd0c5; font-size: 14px; line-height: 1.9; }
.talk-meta { display: flex; flex-wrap: wrap; gap: 8px 28px; margin: 29px 0; color: #dce7df; font-size: 11px; }
.talk-meta > span { border-left: 2px solid var(--lime); padding-left: 10px; }
.talk-link { display: inline-flex; align-items: center; gap: 18px; color: var(--white); font-size: 12px; font-weight: 600; border-bottom: 1px solid #769083; padding-bottom: 7px; }
.talk-link:hover { color: var(--lime); }
.talk-actions { display: flex; flex-wrap: wrap; gap: 18px 28px; align-items: center; }
.talk-link-secondary { color: #bfd0c5; }
.presentation-dialog { width: min(1140px, calc(100% - 32px)); height: min(94dvh, 920px); max-height: none; padding: 0; border: 0; border-radius: 14px; background: var(--paper); color: var(--ink); overflow: hidden; flex-direction: column; }
.presentation-dialog[open] { display: flex; }
.presentation-dialog::backdrop { background: rgb(10 29 23 / 75%); backdrop-filter: blur(5px); }
.presentation-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; padding: 20px 25px 16px; border-bottom: 1px solid var(--line); }
.presentation-header .eyebrow { font-size: 9px; }
.presentation-header h2 { font-size: clamp(16px, 2vw, 23px); letter-spacing: -.5px; line-height: 1.35; margin: 7px 0 0; }
.presentation-close { flex: 0 0 36px; display: grid; place-items: center; width: 36px; height: 36px; border: 1px solid var(--line); border-radius: 50%; background: white; color: var(--ink); font-size: 23px; line-height: 1; }
.presentation-dialog iframe { display: block; width: 100%; flex: 1; min-height: 0; border: 0; background: white; }
.presentation-actions { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px 20px; padding: 12px 25px; border-top: 1px solid var(--line); font-size: 11px; }
.presentation-actions > span { color: var(--muted); }
.presentation-actions > div { display: flex; flex-wrap: wrap; gap: 10px 20px; }
.presentation-actions a { color: var(--green); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.publications-section { background: #f0f3ec; border-block: 1px solid var(--line); }
.text-link { color: var(--ink); font-size: 12px; font-weight: 500; }
.text-link:hover { text-decoration: underline; text-underline-offset: 5px; }
.publication-tools { justify-content: space-between; align-items: center; gap: 25px; margin-bottom: 20px; }
.pub-tabs { display: flex; flex-wrap: wrap; gap: 8px; }
.filter-chip { padding: 8px 17px; border: 1px solid #d0d9c9; border-radius: 24px; background: transparent; color: var(--text); font-size: 11px; }
.filter-chip.active { background: var(--ink); border-color: var(--ink); color: white; }
.search-box { display: flex; gap: 9px; align-items: center; padding: 9px 14px; border: 1px solid #d0d9c9; border-radius: 7px; font-size: 14px; background: rgb(255 255 255 / 40%); }
.search-box > span:first-child { font-size: 22px; line-height: 1; }
.search-box input { font-size: 11px; border: 0; background: transparent; min-width: 210px; width: 100%; color: var(--text); outline-offset: 2px; }
.publication-meta { justify-content: space-between; align-items: center; color: var(--muted); font-size: 10px; margin-bottom: 15px; }
.publication-meta select { font-size: 10px; color: var(--muted); border: 0; background: transparent; cursor: pointer; max-width: 120px; }
.publication { display: grid; grid-template-columns: 58px 1fr 20px; padding-block: 25px; border-top: 1px solid #d5ddce; gap: 19px; }
.pub-year { font: 500 14px Manrope,sans-serif; color: var(--green); padding-top: 4px; }
.publication .eyebrow { font-size: 8px; letter-spacing: 1.2px; }
.publication h3 { font-size: 16px; line-height: 1.5; font-weight: 600; letter-spacing: -.3px; margin: 6px 0 8px; }
.publication h3 a:hover { text-decoration: underline; text-underline-offset: 4px; }
.pub-authors { font-size: 10px; color: var(--muted); margin-bottom: 4px; overflow-wrap: anywhere; }
.pub-venue { font-size: 10px; color: var(--green); margin-bottom: 0; }
.publication-code { display: inline-block; margin-top: 8px; font-size: 11px; color: var(--green); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.publication-app { display: inline-block; margin: 8px 0 0 18px; padding: 4px 10px; border: 1px solid var(--line); border-radius: 5px; font-size: 11px; color: var(--green); font-weight: 600; }
.topic-story-link { display: flex; flex-wrap: wrap; gap: 12px; }
.pub-arrow { font-size: 17px; padding-top: 17px; color: var(--green); }
#load-more { margin-top: 24px; }
.empty-state { padding: 50px 20px; text-align: center; color: var(--muted); border-block: 1px solid var(--line); }
.about-section { display: grid; grid-template-columns: .8fr 1.2fr; gap: 70px; align-items: center; }
.about-photo { position: relative; padding-bottom: 35px; }
.about-photo img { width: 100%; height: 415px; object-fit: cover; border-radius: 10px; object-position: center 37%; filter: saturate(.82); }
.about-photo > span { font-size: 9px; color: var(--muted); letter-spacing: 1.3px; position: absolute; bottom: 0; }
.about-copy .eyebrow { display: block; margin-bottom: 20px; }
.about-copy > p { font-size: 14px; color: var(--muted); line-height: 1.9; }
.expertise-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 24px 0; }
.expertise-tags span, .topic-tag { border: 1px solid var(--line); border-radius: 22px; padding: 6px 13px; font-size: 10px; color: var(--green); }
.about-links { display: flex; flex-wrap: wrap; gap: 23px; }
.phd-slides { grid-column: 1/-1; display: flex; align-items: end; justify-content: space-between; flex-wrap: wrap; gap: 20px 35px; padding: 26px 30px; border: 1px solid var(--line); border-radius: 12px; background: #eef3e9; }
.phd-slides .eyebrow { color: var(--green); }
.phd-slides h3 { margin: 8px 0; font-size: clamp(20px, 2.5vw, 28px); letter-spacing: -.7px; }
.phd-slides p { max-width: 660px; margin: 0; color: var(--muted); font-size: 12px; line-height: 1.75; }
.phd-slides-actions { display: flex; flex-wrap: wrap; gap: 12px 24px; padding-bottom: 3px; }
.career-details { grid-column: 1/-1; margin-top: -25px; border-block: 1px solid var(--line); }
.career-details > summary { display: flex; justify-content: space-between; list-style: none; cursor: pointer; padding-block: 22px; font-size: 13px; font-weight: 500; color: var(--ink); }
.career-details > summary::-webkit-details-marker { display: none; }
.career-details[open] > summary span { transform: rotate(45deg); }
.career-details .container { width: 100%; }
.career-details section { padding-block: 25px; }
.career-details .section-title { margin-bottom: 30px; }
.career-details .section-title h3 { margin-bottom: 18px; }
.career-details .row { display: grid; grid-template-columns: 1fr 1fr; gap: 45px; }
.resume-title { font-size: 19px; }
.resume-item { border-left: 1px solid #bbcbb6; padding: 0 0 15px 23px; margin-bottom: 18px; }
.resume-item h4 { font-size: 14px; margin-bottom: 10px; }
.resume-item h5, .resume-item h6 { font: 500 12px/1.7 'DM Sans', sans-serif; margin: 8px 0; }
.resume-item p, .resume-item li { font-size: 12px; color: var(--muted); }
.resume-item ul { padding-left: 17px; }
.resume-item em { margin-right: 8px; }
.btn { display: inline-block; padding: 9px 16px; border: 1px solid var(--line); border-radius: 6px; font-size: 12px; }
.skills-summary { padding-bottom: 25px; font-size: 12px; color: var(--muted); }
.skills-summary h3 { font-size: 17px; }
.cooperators-section { background: var(--tint); }
.cooperator-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 35px; }
.cooperator img { width: 73px; height: 73px; object-fit: cover; border-radius: 50%; margin-bottom: 20px; border: 3px solid white; }
.cooperator h3 { font-size: 15px; margin-bottom: 9px; }
.cooperator p { font-size: 11px; color: var(--muted); max-width: 220px; margin-bottom: 10px; }
.cooperator a, .cooperator .muted { font-size: 10px; color: var(--green); }
.contact-section { display: flex; align-items: center; justify-content: space-between; gap: 50px; padding-block: 95px; }
.contact-section .eyebrow { display: block; margin-bottom: 20px; }
.contact-section > div > p { font-size: 14px; color: var(--muted); }
.contact-email { display: inline-flex; align-items: center; gap: 45px; color: var(--ink); font: 500 clamp(20px,2.5vw,29px)/1.5 Manrope,sans-serif; border-bottom: 1px solid #a5b59a; padding-bottom: 8px; }
.contact-location { padding-top: 20px; min-width: 225px; }
.location-symbol { font-size: 39px; color: #8ba168; }
.contact-location p { margin-block: 10px 19px; font-size: 12px; line-height: 1.9; }
.site-footer { padding-block: 25px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 10px; color: var(--muted); }
.footer-links { display: flex; gap: 25px; }
.site-footer small { width: 100%; font-size: 9px; }
.topic-dialog { width: min(850px, calc(100% - 40px)); max-height: calc(100dvh - 50px); padding: 0; border: 0; border-radius: 15px; background: var(--paper); color: var(--text); overscroll-behavior: contain; }
.topic-dialog::backdrop { background: rgb(10 29 23 / 65%); backdrop-filter: blur(5px); }
.dialog-close { position: sticky; top: 18px; float: right; z-index: 2; margin: 18px 18px -54px 0; display: grid; place-items: center; width: 36px; height: 36px; border: 1px solid var(--line); border-radius: 50%; background: white; color: var(--ink); font-size: 23px; line-height: 1; }
.topic-header { padding: 54px 52px 32px; border-bottom: 1px solid var(--line); }
.topic-header h2 { margin-top: 18px; font-size: 36px; max-width: 640px; padding-right: 15px; }
.topic-tags { display: flex; flex-wrap: wrap; gap: 7px; }
.topic-body { padding: 32px 52px 45px; }
.topic-body h3 { font-size: 20px; margin: 30px 0 12px; letter-spacing: -.4px; }
.topic-body p { font-size: 14px; color: var(--muted); }
.topic-body figure { margin: 26px 0; }
.topic-body figure img { width: 100%; height: auto; border-radius: 10px; }
.topic-body figcaption { font-size: 9px; color: var(--muted); margin-top: 10px; }
.finding { border-left: 3px solid #c5d9aa; padding-left: 20px; margin-block: 24px; }
.finding h4 { font-size: 14px; margin: 0 0 8px; }
.finding p { font-size: 12px; margin-bottom: 0; }
.topic-sources { padding: 0; list-style: none; }
.topic-sources li { border-top: 1px solid var(--line); padding-block: 13px; font-size: 12px; }
.topic-sources a { color: var(--ink); }
.topic-sources a:hover { text-decoration: underline; }
.topic-videos { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 25px; }
/* Owner workspace */
.admin-container { max-width: 940px; padding-block: 60px; }
.admin-intro { max-width: 690px; }
.admin-intro h1 { font-size: 40px; font-weight: 600; letter-spacing: -1.4px; margin-top: 15px; }
.admin-intro p { color: var(--muted); font-size: 14px; }
.admin-card { background: white; border: 1px solid var(--line); padding: 30px; border-radius: 10px; margin-block: 25px; }
.admin-card h2 { font-size: 23px; letter-spacing: -.6px; }
.admin-card label { display: block; font-size: 12px; color: var(--text); margin-bottom: 15px; }
.admin-card input, .admin-card select, .admin-card textarea { display: block; width: 100%; border: 1px solid #ccd7c6; border-radius: 5px; background: var(--paper); padding: 10px 13px; font-size: 13px; color: var(--ink); margin-top: 6px; }
.admin-card .help { font-size: 12px; color: var(--muted); }
.admin-card .help a { text-decoration: underline; }
.admin-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 15px; flex-wrap: wrap; padding-bottom: 20px; }
.admin-toolbar p { margin-bottom: 0; font-size: 13px; }
.admin-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.status-message { padding: 15px 20px; background: var(--tint); border-radius: 7px; font-size: 13px; margin-block: 20px; overflow-wrap: anywhere; }
.status-message.error { background: #f9ece6; color: #8b402e; }
.status-message.success { background: #e8f1de; color: var(--ink); }
.review-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; }
.review-grid .full-width { grid-column: 1/-1; }
.candidate-header { display: flex; justify-content: space-between; gap: 20px; margin-bottom: 22px; }
.candidate-header h3 { font-size: 17px; margin-bottom: 8px; }
.candidate-header a { white-space: nowrap; font-size: 11px; }
.scan-summary { display: grid; grid-template-columns: repeat(3,1fr); gap: 15px; padding: 22px 0; border-block: 1px solid var(--line); margin-block: 25px; }
.scan-summary strong, .scan-summary span { display: block; }
.scan-summary strong { color: var(--ink); font: 500 27px Manrope,sans-serif; }
.scan-summary span { color: var(--muted); font-size: 11px; }
.admin-note { font-size: 11px; color: var(--muted); }
@media (min-width: 1450px) { .hero h1 { font-size: 72px; } }
@media (max-width: 1000px) {
  .container { width: calc(100% - 64px); }
  .hero { gap: 30px; padding-block: 60px; }
  .hero h1 { letter-spacing: -2px; }
  #primary-nav { gap: 18px; font-size: 11px; }
  .hero-science { padding-inline: 17px; }
  .hero-actions { gap: 7px; }
  .hero-actions .button { padding-inline: 15px; gap: 12px; }
  .project-body { padding: 22px; }
  .project-bottom { flex-direction: column; gap: 6px; }
  .talk-feature { gap: 45px; }
  .about-section { gap: 40px; }
  .cooperator-grid { gap: 20px; }
}
@media (max-width: 760px) {
  html { scroll-padding-top: 90px; }
  .container { width: calc(100% - 40px); }
  .header-inner { min-height: 75px; }
  .brand { font-size: 14px; }
  .brand-mark { font-size: 32px; }
  .menu-toggle { display: block; }
  #primary-nav { display: none; position: absolute; top: 75px; inset-inline: 0; background: var(--paper); padding: 20px; border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; gap: 5px; font-size: 14px; }
  #primary-nav.open { display: flex; }
  #primary-nav .nav-contact { width: fit-content; margin-top: 10px; }
  .hero { grid-template-columns: 1fr; padding-block: 46px 36px; gap: 36px; }
  .hero h1 { font-size: clamp(38px, 7.7vw, 56px); }
  .hero-description { font-size: 14px; max-width: 550px; }
  .hero-kicker { font-size: 9px; }
  .hero-science { max-width: 510px; width: 100%; margin-inline: auto; }
  .brain-graphic { max-height: 290px; }
  .science-caption { display: flex; justify-content: space-between; align-items: center; }
  .science-caption p { font-size: 15px; margin: 0 30px 0 0; }
  .science-index { font-size: 8px; }
  .science-plus { bottom: 0; }
  .metrics { grid-template-columns: repeat(3,1fr); gap: 17px; padding-block: 23px; }
  .metrics > div:nth-child(3) { border-right: 0; }
  .metrics strong { font-size: 27px; }
  .metrics span { font-size: 9px; }
  .metrics-source { grid-column: 1/-1; padding: 12px 0 0; border-top: 1px solid var(--line); }
  .metrics-source small { display: inline; margin-left: 10px; font-size: 9px; }
  .section { padding-block: 62px; }
  h2 { font-size: 34px; letter-spacing: -1px; }
  .section-heading { flex-direction: column; align-items: flex-start; gap: 20px; margin-bottom: 30px; }
  .section-heading > p { max-width: 500px; font-size: 13px; }
  .section-heading .eyebrow { margin-bottom: 15px; }
  .project-grid { grid-template-columns: 1fr 1fr; gap: 15px; }
  .project-card, .project-card:nth-child(-n+2) { grid-column: span 1; }
  .project-card:last-child { grid-column: 1/-1; }
  .project-visual, .project-card:nth-child(-n+2) .project-visual { height: 140px; }
  .project-body { padding: 20px; }
  .project-body h3 { font-size: 17px; }
  .project-body p { font-size: 11px; }
  .talk-feature { grid-template-columns: 1fr; gap: 35px; }
  .talk-intro { flex-direction: row; align-items: flex-start; gap: 25px; }
  .talk-date strong { font-size: 35px; }
  .talk-card h2 { font-size: 31px; letter-spacing: -1px; }
  .publication-tools { flex-wrap: wrap; gap: 16px; }
  .search-box { flex: 1; min-width: 250px; }
  .search-box input { min-width: 0; }
  .publication { grid-template-columns: 38px 1fr 12px; gap: 13px; }
  .publication h3 { font-size: 14px; }
  .pub-year { font-size: 12px; }
  .about-section { grid-template-columns: 1fr; gap: 35px; }
  .about-photo { max-width: 430px; width: 100%; }
  .about-photo img { height: 390px; }
  .career-details { margin-top: 0; }
  .career-details .row { grid-template-columns: 1fr; gap: 25px; }
  .cooperator-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .contact-section { flex-direction: column; align-items: flex-start; padding-block: 65px; gap: 30px; }
  .contact-location { padding-top: 0; }
  .topic-header { padding: 55px 25px 26px; }
  .topic-header h2 { font-size: 28px; padding-right: 0; }
  .topic-body { padding: 15px 25px 30px; }
  .topic-body p { font-size: 13px; }
  .admin-container { padding-block: 35px; }
  .admin-intro h1 { font-size: 31px; }
  .admin-card { padding: 23px; }
  .review-grid { grid-template-columns: 1fr; }
  .review-grid .full-width { grid-column: auto; }
}
@media (max-width: 420px) {
  .project-grid { grid-template-columns: 1fr; }
  .talk-intro { flex-direction: column; }
  .talk-event span { display: none; }
  .talk-card h2 { font-size: 27px; }
  .presentation-dialog { width: calc(100% - 12px); height: calc(100dvh - 12px); }
  .presentation-header { padding: 15px 16px 12px; }
  .presentation-actions { padding: 10px 16px; }
  .project-card, .project-card:nth-child(-n+2), .project-card:last-child { grid-column: 1; }
  .project-visual, .project-card:nth-child(-n+2) .project-visual { height: 175px; }
  .project-bottom { flex-direction: row; }
  .publication { grid-template-columns: 32px 1fr; gap: 10px; }
  .pub-arrow { display: none; }
  .cooperator-grid { gap: 28px 18px; }
  .cooperator h3 { font-size: 13px; }
  .contact-email { gap: 20px; }
  .metrics-source small { display: block; margin-left: 0; margin-top: 5px; }
  .candidate-header { flex-direction: column; gap: 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
