:root {
  --bg: #f6f5f0;
  --surface: #eeeee6;
  --ink: #272d25;
  --muted: #62685c;
  --accent: #626e49;
  --line: #d9dbce;
  --paper: #fbfbf7;
  --button: #2d3529;
  --on-button: #fafbf5;
  --rust: #a75e38;
  --max: 1240px;
  color-scheme: light;
}
:root[data-theme="dark"] {
  --bg: #191e1a;
  --surface: #242c24;
  --ink: #eceee3;
  --muted: #b3bbab;
  --accent: #b3c397;
  --line: #3c463a;
  --paper: #202720;
  --button: #d9e2c9;
  --on-button: #20271e;
  --rust: #d79a76;
  color-scheme: dark;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) {
    --bg: #191e1a;
    --surface: #242c24;
    --ink: #eceee3;
    --muted: #b3bbab;
    --accent: #b3c397;
    --line: #3c463a;
    --paper: #202720;
    --button: #d9e2c9;
    --on-button: #20271e;
    --rust: #d79a76;
    color-scheme: dark;
  }
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 110px;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  -webkit-font-smoothing: antialiased;
  font-size: 16px;
  line-height: 1.65;
}
a {
  color: inherit;
  text-decoration: none;
  text-underline-offset: 5px;
}
button,
input,
select {
  font: inherit;
}
button,
a,
input,
select {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
  color: inherit;
}
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
pre:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 5px;
}
a:hover {
  text-decoration: underline;
}
img {
  max-width: 100%;
  display: block;
}
svg {
  display: block;
}
button svg {
  width: 23px;
  height: 23px;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1,
h2,
h3 {
  font-weight: 500;
}
h1,
h2 {
  letter-spacing: -0.055em;
  line-height: 1.08;
}
h3 {
  line-height: 1.35;
  letter-spacing: -0.025em;
}
em {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  color: var(--accent);
}
[hidden] {
  display: none !important;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: fixed;
  left: 20px;
  top: -100px;
  background: var(--ink);
  color: var(--bg);
  padding: 12px 20px;
  z-index: 100;
}
.skip-link:focus {
  top: 10px;
}
.site-header {
  max-width: var(--max);
  margin: 0 auto;
  min-height: 104px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 35px;
  border-bottom: 1px solid var(--line);
  position: relative;
  z-index: 10;
}
.wordmark {
  font-size: 25px;
  font-weight: 700;
  letter-spacing: -1.5px;
  white-space: nowrap;
}
.wordmark span {
  color: var(--rust);
}
.wordmark:hover {
  text-decoration: none;
}
.site-header nav {
  display: flex;
  gap: 30px;
  align-items: center;
  margin-left: auto;
}
.site-header nav a {
  font-size: 13px;
  color: var(--muted);
  padding: 12px 0;
}
.site-header nav a:hover,
.site-header nav [aria-current="page"] {
  color: var(--ink);
}
.site-header nav [aria-current="page"] {
  box-shadow: 0 1px var(--accent);
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 17px;
}
.language-switch {
  font-size: 11px;
  letter-spacing: 0.05em;
}
.icon-button {
  background: none;
  border: 0;
  padding: 9px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  min-height: 44px;
}
.theme-toggle svg {
  fill: none;
  stroke: var(--ink);
  stroke-width: 1.3;
}
.theme-toggle svg path {
  fill: var(--ink);
  stroke: none;
}
.header-contact {
  font-size: 13px;
  border-bottom: 1px solid var(--ink);
  padding: 6px 0;
}
.header-contact span {
  padding-left: 12px;
}
.menu-toggle {
  display: none;
}
.menu-toggle span {
  height: 1px;
  width: 21px;
  background: var(--ink);
}
main,
.site-footer {
  max-width: var(--max);
  margin: 0 auto;
}
.eyebrow {
  font-family: "Courier New", monospace;
  font-size: 10px;
  letter-spacing: 0.13em;
  font-weight: 600;
  line-height: 1.7;
}
.hero {
  display: grid;
  grid-template-columns: 1fr 300px;
  column-gap: 80px;
  padding: 85px 0 0;
  min-height: 730px;
}
.hero-copy {
  padding-top: 27px;
}
.hero .eyebrow {
  color: var(--muted);
  margin-bottom: 34px;
}
.hero h1 {
  font-size: clamp(64px, 6.4vw, 88px);
  max-width: 870px;
  line-height: 1.05;
  letter-spacing: -0.065em;
}
.hero h1 em {
  display: inline-block;
  letter-spacing: -0.055em;
}
.hero-intro {
  max-width: 510px;
  font-size: 16px;
  color: var(--muted);
  line-height: 1.85;
  margin-top: 32px;
}
.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 30px;
  margin-top: 32px;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  border: 1px solid transparent;
  padding: 14px 23px;
  font-size: 13px;
  line-height: 1.5;
  min-height: 48px;
  transition:
    background 0.2s,
    transform 0.2s;
}
.button:hover {
  text-decoration: none;
  transform: translateY(-2px);
}
.button-dark {
  background: var(--button);
  color: var(--on-button);
}
.button-dark:hover {
  background: var(--accent);
  color: var(--bg);
}
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 15px;
  font-size: 12px;
  font-weight: 500;
  background: none;
  border: 0;
  padding: 6px 0;
  min-height: 36px;
}
.text-link:hover {
  text-decoration: underline;
}
.hero-role {
  font-size: 11px;
  color: var(--muted);
  margin-top: 46px;
  letter-spacing: 0.02em;
}
.portrait-frame {
  position: relative;
  padding: 11px;
  background: var(--surface);
  border: 1px solid var(--line);
}
.portrait-frame img {
  width: 100%;
  height: 275px;
  object-fit: cover;
  filter: saturate(0.65);
}
.portrait-index {
  position: absolute;
  bottom: 20px;
  right: 20px;
  background: var(--paper);
  font-size: 9px;
  letter-spacing: 0.1em;
  padding: 3px 8px;
}
.location {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 9px;
  font-family: "Courier New", monospace;
  font-size: 9px;
  letter-spacing: 0.07em;
  margin: 14px 0 0;
}
.location span {
  font-size: 17px;
  color: var(--rust);
}
.fusion {
  padding: 12px 0 0;
}
.fusion-svg {
  width: 100%;
  height: auto;
}
.svg-label {
  fill: currentColor;
  font-family: "Courier New", monospace;
  font-size: 9px;
  letter-spacing: 1px;
}
.fusion p {
  font-size: 10px;
  color: var(--muted);
  text-align: center;
  margin-top: 5px;
}
.hero-bottom {
  grid-column: 1/-1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  padding: 35px 0 26px;
  margin-top: 25px;
  font:
    9px "Courier New",
    monospace;
  letter-spacing: 0.12em;
  color: var(--muted);
}
.hero-bottom span:nth-child(2) {
  font-size: 21px;
}
.hero-bottom span:last-child {
  letter-spacing: 0.08em;
}
.section {
  padding: 95px 0;
  border-bottom: 1px solid var(--line);
}
.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 65px;
  margin-bottom: 48px;
}
.section-heading .eyebrow {
  margin-bottom: 23px;
  color: var(--muted);
}
h2 {
  font-size: clamp(38px, 4vw, 54px);
}
.section-heading > p {
  max-width: 350px;
  color: var(--muted);
  font-size: 14px;
  padding-bottom: 4px;
  line-height: 1.85;
}
.research-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--line);
}
.research-card {
  padding: 26px 30px 32px;
}
.research-card + .research-card {
  border-left: 1px solid var(--line);
}
.research-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  min-height: 155px;
}
.card-index {
  font:
    10px "Courier New",
    monospace;
  color: var(--muted);
}
.research-art {
  width: 170px;
  height: 132px;
  color: var(--accent);
  opacity: 0.85;
}
.research-card:nth-child(2) .research-art {
  color: var(--rust);
}
.tagline {
  font:
    9px "Courier New",
    monospace;
  color: var(--accent);
  letter-spacing: 0.06em;
  min-height: 30px;
}
.research-card h3 {
  font-size: 22px;
  margin: 8px 0 16px;
}
.research-card > p:last-child {
  font-size: 13px;
  line-height: 1.85;
  color: var(--muted);
}
.thesis-banner {
  display: grid;
  grid-template-columns: 50px 1fr auto;
  align-items: center;
  gap: 24px;
  background: var(--surface);
  padding: 30px;
  margin-top: 24px;
}
.thesis-mark {
  font-family: Georgia, serif;
  font-size: 50px;
  color: var(--accent);
  line-height: 1;
}
.thesis-banner .eyebrow {
  font-size: 9px;
  color: var(--accent);
}
.thesis-banner h3 {
  font-size: 19px;
  margin: 8px 0;
}
.thesis-banner p:not(.eyebrow) {
  color: var(--muted);
  font-size: 12px;
  max-width: 650px;
}
.thesis-banner > a {
  white-space: nowrap;
}
.publication {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 20px;
  padding: 30px 0;
  border-top: 1px solid var(--line);
}
.pub-year {
  font:
    12px "Courier New",
    monospace;
  padding-top: 4px;
  color: var(--muted);
}
.pub-venue {
  font:
    10px "Courier New",
    monospace;
  color: var(--accent);
  letter-spacing: 0.03em;
  margin-bottom: 10px;
}
.pub-venue span {
  color: var(--muted);
}
.pub-body h3 {
  font-size: 22px;
  max-width: 900px;
}
.pub-authors {
  font-size: 12px;
  color: var(--muted);
  margin-top: 12px;
}
.pub-authors strong {
  font-weight: 500;
  color: var(--ink);
}
.pub-actions {
  display: flex;
  gap: 25px;
  margin-top: 10px;
}
.pub-actions .text-link {
  font-size: 11px;
  color: var(--muted);
}
.pub-actions .text-link:hover {
  color: var(--ink);
}
.experience-section {
  display: grid;
  grid-template-columns: 1fr 1.7fr;
  gap: 80px;
}
.experience-heading .eyebrow {
  color: var(--muted);
  margin-bottom: 25px;
}
.experience-heading .text-link {
  margin-top: 25px;
}
.timeline-item {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 28px;
  padding: 26px 0;
  border-top: 1px solid var(--line);
}
.timeline-item:first-child {
  padding-top: 5px;
  border-top: 0;
}
.date {
  font:
    11px "Courier New",
    monospace;
  line-height: 1.8;
  color: var(--muted);
  padding-top: 3px;
}
.timeline-item h3 {
  font-size: 19px;
}
.organization {
  font-size: 12px;
  color: var(--accent);
  margin: 7px 0 10px;
}
.timeline-description {
  font-size: 13px;
  color: var(--muted);
  max-width: 550px;
  line-height: 1.8;
}
.about-section {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 115px;
  align-items: center;
}
.about-section .eyebrow {
  color: var(--muted);
  margin-bottom: 24px;
}
.about-section h2 {
  margin-bottom: 26px;
}
.about-section p:not(.eyebrow) {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.9;
  max-width: 525px;
}
.mountain-art {
  background: var(--surface);
  padding: 35px 35px 18px;
  border: 1px solid var(--line);
  color: var(--accent);
}
.mountain-art svg {
  width: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.1;
}
.mountain-art span {
  font:
    9px "Courier New",
    monospace;
  letter-spacing: 0.1em;
}
.hobbies {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}
.hobbies li {
  font-size: 10px;
  border: 1px solid var(--line);
  padding: 5px 12px;
  border-radius: 20px;
}
.contact-section {
  padding: 85px 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.contact-section .eyebrow {
  color: var(--muted);
  margin-bottom: 25px;
}
.contact-section h2 {
  font-size: clamp(40px, 4.5vw, 60px);
}
.contact-section p:not(.eyebrow) {
  font-size: 13px;
  color: var(--muted);
  margin-top: 24px;
  max-width: 370px;
}
.contact-section .button {
  margin-top: 24px;
}
.contact-links {
  padding-left: 40px;
}
.email-link {
  font-size: clamp(16px, 1.9vw, 25px);
  letter-spacing: -0.03em;
  display: block;
  overflow-wrap: anywhere;
}
.copy-email {
  color: var(--muted);
  font-size: 10px;
  margin: 5px 0 30px;
}
.social-links {
  display: flex;
  gap: 24px;
  font-size: 12px;
  flex-wrap: wrap;
}
.social-links a {
  display: flex;
  gap: 8px;
}
.site-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--line);
  min-height: 110px;
  gap: 20px;
}
.site-footer .wordmark {
  font-size: 20px;
}
.site-footer p {
  font-size: 10px;
  color: var(--muted);
}
.site-footer .text-link {
  font-size: 10px;
}
.page-intro {
  padding: 85px 0 55px;
  max-width: 960px;
}
.page-intro .eyebrow {
  color: var(--muted);
  margin-bottom: 26px;
}
.page-intro h1 {
  font-size: clamp(48px, 6vw, 78px);
}
.page-intro > p:not(.eyebrow) {
  font-size: 16px;
  color: var(--muted);
  max-width: 650px;
  margin-top: 26px;
  line-height: 1.85;
}
.page-intro .hero-actions {
  margin-top: 20px;
}
.papers-section {
  padding-bottom: 60px;
  border-bottom: 1px solid var(--line);
}
.publication-filters {
  display: flex;
  gap: 16px;
  padding: 20px;
  background: var(--surface);
  border: 1px solid var(--line);
}
.search-field {
  display: flex;
  gap: 12px;
  align-items: center;
  flex: 1;
}
.search-field > span {
  font-size: 25px;
  color: var(--muted);
}
input[type="search"] {
  width: 100%;
  background: transparent;
  color: var(--ink);
  border: 0;
  min-height: 44px;
  font-size: 14px;
  min-width: 0;
}
input::placeholder {
  color: var(--muted);
  opacity: 1;
}
.publication-filters select {
  color: var(--ink);
  border: 1px solid var(--line);
  padding: 8px 14px;
  background: var(--bg);
  font-size: 12px;
  min-height: 44px;
  max-width: 220px;
}
.results {
  font:
    10px "Courier New",
    monospace;
  color: var(--muted);
  padding: 25px 0 15px;
}
#empty-state {
  padding: 45px 0;
  text-align: center;
  color: var(--muted);
}
#reset-filters {
  margin-top: 20px;
}
.cv-intro {
  max-width: 950px;
}
.cv-intro .cv-contact {
  font-size: 12px !important;
}
.cv-intro .button {
  margin-top: 25px;
}
.cv-section {
  padding: 40px 0;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: 250px 1fr;
  gap: 50px;
}
.cv-section > h2 {
  font-size: 29px;
}
.cv-section .timeline-item {
  padding-top: 0;
  margin-bottom: 22px;
  border: 0;
}
.skills-grid {
  display: grid;
  gap: 25px;
}
.skills-grid h3 {
  font-size: 18px;
  margin-bottom: 6px;
}
.skills-grid p,
.cv-section > p {
  font-size: 13px;
  color: var(--muted);
}
.cv-publications .publication {
  grid-template-columns: 50px 1fr;
}
.cv-publications .publication:first-child {
  border-top: 0;
  padding-top: 0;
}
.cv-publications .pub-body h3 {
  font-size: 18px;
}
.not-found {
  padding-bottom: 120px;
}
.not-found .button {
  margin-top: 35px;
}
dialog {
  background: var(--paper);
  color: var(--ink);
  border: 1px solid var(--line);
  padding: 30px;
  width: min(720px, calc(100% - 32px));
  max-height: 85vh;
}
dialog::backdrop {
  background: rgba(14, 20, 13, 0.6);
  backdrop-filter: blur(4px);
}
.dialog-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}
.dialog-heading h2 {
  font-size: 26px;
}
.close-dialog {
  font-size: 27px;
}
.dialog-heading + pre {
  padding: 20px;
  background: var(--surface);
  font-size: 12px;
  line-height: 1.7;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  max-height: 45vh;
  overflow: auto;
}
.copy-status {
  font-size: 12px;
  color: var(--muted);
  margin-top: 12px;
  min-height: 20px;
}
.toast {
  position: fixed;
  bottom: 25px;
  left: 50%;
  transform: translate(-50%, 20px);
  opacity: 0;
  pointer-events: none;
  z-index: 30;
  padding: 10px 24px;
  background: var(--ink);
  color: var(--bg);
  font-size: 13px;
  transition:
    opacity 0.2s,
    transform 0.2s;
}
.toast.visible {
  opacity: 1;
  transform: translate(-50%, 0);
}
@media (min-width: 1450px) {
  .hero {
    padding-top: 100px;
    min-height: 800px;
  }
  .hero h1 {
    font-size: 94px;
  }
  .hero-copy {
    padding-top: 38px;
  }
}
@media (max-width: 1340px) {
  .site-header,
  main,
  .site-footer {
    margin-left: 48px;
    margin-right: 48px;
  }
  .hero {
    column-gap: 40px;
    grid-template-columns: 1fr 270px;
  }
  .portrait-frame img {
    height: 245px;
  }
  .site-header {
    gap: 25px;
  }
  .site-header nav {
    gap: 22px;
  }
  .header-actions {
    gap: 12px;
  }
  .hero h1 {
    font-size: clamp(60px, 6.4vw, 84px);
  }
  .about-section {
    gap: 65px;
  }
}
@media (max-width: 1050px) {
  .hero {
    column-gap: 32px;
    grid-template-columns: 1fr 240px;
    min-height: 680px;
  }
  .hero h1 {
    font-size: 65px;
  }
  .hero-intro {
    font-size: 14px;
  }
  .hero .eyebrow {
    font-size: 9px;
  }
  .portrait-frame img {
    height: 220px;
  }
  .header-contact {
    display: none;
  }
  .site-header nav {
    gap: 21px;
  }
  .research-card {
    padding: 22px;
  }
  .research-card h3 {
    font-size: 20px;
  }
  .tagline {
    font-size: 8px;
  }
  .research-art {
    width: 140px;
  }
  .thesis-banner {
    grid-template-columns: 35px 1fr;
  }
  .thesis-banner > a {
    grid-column: 2;
  }
  .experience-section {
    gap: 45px;
    grid-template-columns: 1fr 1.5fr;
  }
  .timeline-item {
    grid-template-columns: 85px 1fr;
    gap: 20px;
  }
  .contact-section {
    gap: 30px;
  }
  .contact-links {
    padding-left: 10px;
  }
  .cv-section {
    grid-template-columns: 190px 1fr;
    gap: 30px;
  }
}
@media (max-width: 900px) {
  .site-header,
  main,
  .site-footer {
    margin-left: 28px;
    margin-right: 28px;
  }
  .site-header {
    min-height: 86px;
  }
  .site-header nav {
    display: none;
    position: absolute;
    top: 85px;
    left: -28px;
    right: -28px;
    background: var(--paper);
    padding: 20px 28px 26px;
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
  }
  .site-header nav a {
    font-size: 17px;
    padding: 12px;
  }
  .site-header nav [aria-current="page"] {
    box-shadow: none;
    text-decoration: underline;
  }
  .site-header.menu-open nav {
    display: flex;
  }
  .menu-toggle {
    display: flex;
    flex-direction: column;
    gap: 6px;
  }
  .header-actions {
    gap: 14px;
  }
  .header-contact {
    display: inline-block;
  }
  .hero {
    padding-top: 50px;
    min-height: 640px;
    grid-template-columns: 1fr 220px;
    column-gap: 30px;
  }
  .hero-copy {
    padding-top: 10px;
  }
  .hero h1 {
    font-size: 57px;
  }
  .hero .eyebrow {
    margin-bottom: 25px;
    max-width: 350px;
  }
  .hero-intro {
    margin-top: 24px;
  }
  .hero-actions {
    gap: 20px;
    margin-top: 25px;
  }
  .button {
    padding: 13px 18px;
    font-size: 12px;
    gap: 20px;
  }
  .hero-role {
    margin-top: 28px;
    font-size: 10px;
  }
  .portrait-frame img {
    height: 200px;
  }
  .section {
    padding: 65px 0;
  }
  .section-heading {
    gap: 35px;
    margin-bottom: 35px;
  }
  .section-heading > p {
    max-width: 280px;
    font-size: 13px;
  }
  h2 {
    font-size: 42px;
  }
  .research-grid {
    grid-template-columns: 1fr;
  }
  .research-card {
    padding: 25px;
    display: grid;
    grid-template-columns: 150px 1fr;
    column-gap: 25px;
  }
  .research-card + .research-card {
    border-left: 0;
    border-top: 1px solid var(--line);
  }
  .research-card-top {
    grid-row: 1/4;
    min-height: 130px;
    position: relative;
    align-items: center;
  }
  .card-index {
    position: absolute;
    top: 0;
    left: 0;
  }
  .research-art {
    width: 140px;
  }
  .research-card h3 {
    margin: 0 0 10px;
  }
  .tagline {
    font-size: 9px;
    min-height: 24px;
  }
  .experience-section {
    grid-template-columns: 1fr;
    gap: 35px;
  }
  .experience-heading h2 br {
    display: none;
  }
  .experience-heading .text-link {
    margin-top: 15px;
  }
  .timeline-item {
    grid-template-columns: 120px 1fr;
  }
  .about-section {
    gap: 40px;
    grid-template-columns: 1fr 1.2fr;
  }
  .about-section h2 {
    font-size: 37px;
  }
  .mountain-art {
    padding: 20px;
  }
  .contact-section h2 {
    font-size: 43px;
  }
  .contact-section {
    padding: 65px 0;
  }
  .social-links {
    gap: 18px;
  }
  .site-footer p {
    max-width: 190px;
  }
  .cv-section {
    grid-template-columns: 160px 1fr;
    gap: 25px;
  }
  .cv-section .timeline-item {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .cv-section h2 {
    font-size: 26px;
  }
}
@media (max-width: 650px) {
  html {
    scroll-padding-top: 25px;
  }
  .site-header,
  main,
  .site-footer {
    margin-left: 22px;
    margin-right: 22px;
  }
  .site-header {
    min-height: 78px;
    gap: 10px;
  }
  .wordmark {
    font-size: 23px;
  }
  .header-actions {
    gap: 7px;
  }
  .header-contact {
    display: none;
  }
  .site-header nav {
    top: 77px;
    left: -22px;
    right: -22px;
    padding-left: 22px;
    padding-right: 22px;
  }
  .hero {
    grid-template-columns: 1fr;
    padding-top: 35px;
    min-height: 0;
  }
  .hero-copy {
    padding-top: 0;
  }
  .hero .eyebrow {
    font-size: 8px;
    letter-spacing: 0.09em;
    margin-bottom: 25px;
  }
  .hero h1 {
    font-size: clamp(48px, 10.7vw, 68px);
    letter-spacing: -0.06em;
  }
  .hero-intro {
    font-size: 14px;
    max-width: 460px;
    margin-top: 25px;
  }
  .hero-actions {
    gap: 22px;
  }
  .hero-role {
    margin-top: 28px;
  }
  .hero-aside {
    display: grid;
    grid-template-columns: 135px 1fr;
    column-gap: 20px;
    margin-top: 38px;
    align-items: center;
  }
  .portrait-frame {
    padding: 6px;
    grid-column: 1;
    grid-row: 1;
  }
  .portrait-frame img {
    height: 128px;
  }
  .portrait-index {
    font-size: 7px;
    bottom: 10px;
    right: 10px;
    padding: 2px 4px;
  }
  .location {
    grid-column: 1/-1;
    grid-row: 2;
    justify-content: flex-start;
    margin-top: 12px;
    font-size: 8px;
  }
  .fusion {
    grid-column: 2;
    grid-row: 1;
    padding: 0;
  }
  .fusion p {
    font-size: 8px;
    line-height: 1.6;
  }
  .hero-bottom {
    margin-top: 25px;
    padding: 20px 0;
    font-size: 8px;
  }
  .hero-bottom span:last-child {
    font-size: 8px;
  }
  .section {
    padding: 52px 0;
  }
  h2 {
    font-size: 38px;
  }
  .section-heading {
    display: block;
    margin-bottom: 30px;
  }
  .section-heading .eyebrow {
    margin-bottom: 20px;
  }
  .section-heading > p {
    max-width: 100%;
    margin-top: 22px;
    font-size: 13px;
  }
  .section-heading > .text-link {
    margin-top: 15px;
  }
  .research-card {
    display: block;
    padding: 25px;
  }
  .research-card-top {
    min-height: 125px;
    align-items: flex-start;
    justify-content: space-between;
  }
  .card-index {
    position: static;
  }
  .research-art {
    width: 155px;
    height: 110px;
  }
  .research-card h3 {
    font-size: 23px;
    margin: 7px 0 12px;
  }
  .research-card > p:last-child {
    font-size: 13px;
  }
  .tagline {
    min-height: 0;
    font-size: 9px;
  }
  .thesis-banner {
    grid-template-columns: 1fr;
    padding: 25px;
    gap: 15px;
  }
  .thesis-mark {
    display: none;
  }
  .thesis-banner h3 {
    font-size: 21px;
  }
  .thesis-banner > a {
    grid-column: 1;
  }
  .publication {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 25px 0;
  }
  .pub-year {
    font-size: 10px;
  }
  .pub-venue {
    font-size: 9px;
    line-height: 1.8;
  }
  .pub-venue span {
    display: block;
  }
  .pub-body h3 {
    font-size: 20px;
  }
  .pub-authors {
    font-size: 11px;
    line-height: 1.8;
  }
  .timeline-item {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 23px 0;
  }
  .timeline-item h3 {
    font-size: 20px;
  }
  .date {
    font-size: 10px;
  }
  .about-section {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .mountain-art {
    max-width: 100%;
    padding: 22px 30px 15px;
  }
  .mountain-art svg {
    max-height: 210px;
  }
  .about-section h2 {
    font-size: 38px;
  }
  .about-section p:not(.eyebrow) {
    font-size: 13px;
  }
  .contact-section {
    grid-template-columns: 1fr;
    gap: 35px;
    padding: 55px 0;
  }
  .contact-section h2 {
    font-size: 44px;
  }
  .contact-links {
    padding-left: 0;
  }
  .email-link {
    font-size: 21px;
  }
  .copy-email {
    margin-bottom: 20px;
  }
  .site-footer {
    flex-wrap: wrap;
    padding: 27px 0;
    gap: 15px;
    min-height: 100px;
  }
  .site-footer .wordmark {
    font-size: 20px;
  }
  .site-footer p {
    order: 3;
    max-width: none;
    width: 100%;
    font-size: 9px;
  }
  .site-footer .text-link {
    margin-left: auto;
  }
  .page-intro {
    padding: 50px 0 35px;
  }
  .page-intro h1 {
    font-size: 49px;
  }
  .page-intro > p:not(.eyebrow) {
    font-size: 14px;
    margin-top: 22px;
  }
  .page-intro .hero-actions {
    gap: 18px;
  }
  .publication-filters {
    padding: 14px;
    gap: 12px;
    flex-direction: column;
  }
  .publication-filters select {
    max-width: none;
    width: 100%;
  }
  input[type="search"] {
    font-size: 13px;
  }
  .cv-section {
    grid-template-columns: 1fr;
    gap: 25px;
    padding: 30px 0;
  }
  .cv-section h2 {
    font-size: 30px;
  }
  .cv-section .timeline-item {
    margin-bottom: 25px;
  }
  .cv-publications .publication {
    grid-template-columns: 1fr;
  }
  .cv-publications .pub-body h3 {
    font-size: 18px;
  }
  dialog {
    padding: 20px;
  }
  .dialog-heading h2 {
    font-size: 23px;
  }
}
@media (max-width: 900px) {
  html:not(.js) .site-header {
    flex-wrap: wrap;
    padding-bottom: 15px;
  }
  html:not(.js) .site-header nav {
    display: flex;
    position: static;
    order: 3;
    flex-basis: 100%;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 15px;
    padding: 0;
    background: transparent;
    border: 0;
  }
  html:not(.js) .site-header nav a {
    font-size: 13px;
    padding: 6px 0;
  }
  html:not(.js) .menu-toggle {
    display: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }
}
@media print {
  html {
    color-scheme: light;
  }
  body {
    background: #fff !important;
    color: #111 !important;
    font-size: 10pt;
    --bg: #fff;
    --ink: #111;
    --muted: #444;
    --accent: #444;
    --line: #ccc;
    --surface: #fff;
  }
  main {
    max-width: none;
    margin: 0;
  }
  .site-header,
  .site-footer,
  .contact-section,
  .print-button,
  .hero-actions,
  .pub-actions,
  dialog,
  .toast,
  .skip-link {
    display: none !important;
  }
  .page-intro {
    padding: 0 0 20px;
    max-width: none;
  }
  .page-intro h1 {
    font-size: 32pt;
  }
  .page-intro .eyebrow {
    margin-bottom: 8px;
  }
  .page-intro > p:not(.eyebrow) {
    font-size: 10pt;
    line-height: 1.5;
    margin-top: 12px;
    max-width: none;
  }
  .cv-section {
    grid-template-columns: 130px 1fr;
    gap: 25px;
    padding: 20px 0;
  }
  .cv-section > h2 {
    font-size: 16pt;
  }
  .cv-section .timeline-item {
    grid-template-columns: 85px 1fr;
    gap: 15px;
    margin-bottom: 14px;
    break-inside: avoid;
  }
  .timeline-item h3,
  .skills-grid h3 {
    font-size: 11pt;
  }
  .timeline-description,
  .organization,
  .skills-grid p,
  .cv-section > p,
  .pub-authors {
    font-size: 9pt;
  }
  .date {
    font-size: 8pt;
  }
  .cv-publications .publication {
    grid-template-columns: 40px 1fr;
    gap: 12px;
    padding: 12px 0;
    break-inside: avoid;
  }
  .cv-publications .pub-body h3 {
    font-size: 10pt;
  }
  .pub-venue {
    font-size: 8pt;
  }
  h2,
  h3 {
    break-after: avoid;
  }
  .skills-grid article {
    break-inside: avoid;
  }
  @page {
    margin: 15mm;
  }
}
