:root {
  --accent: #8f1d24;
  --accent-dark: #681218;
  --accent-soft: #f7ecec;
  --ink: #15181c;
  --muted: #59616b;
  --line: #dfe3e8;
  --surface: #ffffff;
  --surface-soft: #f6f7f8;
  --dark: #171a1f;
  --dark-soft: #20242b;
  --max-width: 1240px;
  --shadow-sm: 0 8px 25px rgba(20, 24, 30, 0.06);
  --shadow-lg: 0 24px 65px rgba(20, 24, 30, 0.13);
  --radius: 18px;
  --transition: 180ms ease;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--surface);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .018;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 160 160' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.7'/%3E%3C/svg%3E");
  z-index: 9999;
}
a { color: inherit; }
img, svg { max-width: 100%; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
svg { width: 1.05em; height: 1.05em; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.container { width: min(calc(100% - 40px), var(--max-width)); margin-inline: auto; }
.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; top: -100px; left: 20px; z-index: 10000; background: var(--dark); color: white; padding: 10px 16px; border-radius: 8px; transition: top var(--transition); }
.skip-link:focus { top: 12px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255,255,255,.94);
  border-bottom: 1px solid rgba(223,227,232,.9);
  backdrop-filter: blur(14px);
}
.nav-shell { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; min-width: 250px; }
.brand-mark { display: grid; place-items: center; width: 46px; height: 46px; background: var(--accent); color: white; font-weight: 800; letter-spacing: -.04em; border-radius: 11px; box-shadow: 0 8px 20px rgba(143,29,36,.22); }
.brand-copy { display: flex; flex-direction: column; line-height: 1.2; }
.brand-copy strong { font-size: 1.01rem; }
.brand-copy small { color: var(--muted); margin-top: 4px; font-size: .73rem; letter-spacing: .015em; }
.primary-navigation { display: flex; align-items: center; gap: 2px; }
.primary-navigation a { position: relative; padding: 12px 13px; text-decoration: none; color: #3e444c; font-size: .92rem; font-weight: 650; border-radius: 9px; transition: color var(--transition), background var(--transition); }
.primary-navigation a:hover, .primary-navigation a.active { color: var(--accent); background: var(--accent-soft); }
.menu-button { display: none; width: 44px; height: 42px; padding: 9px; border: 0; border-radius: 8px; background: var(--surface-soft); }
.menu-button span:not(.sr-only) { display: block; height: 2px; background: var(--ink); margin: 5px 0; }

.hero { position: relative; overflow: hidden; min-height: 670px; display: grid; align-items: center; background: linear-gradient(115deg, #fff 0%, #fff 54%, #f7f3f3 54%, #f2eeee 100%); }
.hero::after { content: ""; position: absolute; width: 630px; height: 630px; border: 1px solid rgba(143,29,36,.09); border-radius: 50%; right: -220px; top: 20px; box-shadow: 0 0 0 95px rgba(143,29,36,.025), 0 0 0 190px rgba(143,29,36,.018); }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0,1.08fr) minmax(390px,.92fr); align-items: center; gap: 80px; padding-block: 78px; }
.eyebrow { margin: 0 0 14px; color: var(--accent); text-transform: uppercase; letter-spacing: .16em; font-size: .73rem; line-height: 1.4; font-weight: 800; }
.hero h1 { margin: 0; max-width: 790px; font-family: Georgia, "Times New Roman", serif; font-size: clamp(3rem, 5.5vw, 5.5rem); line-height: .99; font-weight: 500; letter-spacing: -.055em; }
.hero h1 span { color: var(--accent); }
.hero-lead { max-width: 760px; margin: 28px 0 0; color: #4e555d; font-size: 1.13rem; line-height: 1.78; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 11px 20px; border: 1px solid transparent; border-radius: 10px; text-decoration: none; font-weight: 750; transition: transform var(--transition), background var(--transition), border-color var(--transition), color var(--transition); }
.button:hover { transform: translateY(-2px); }
.button.primary { background: var(--accent); color: white; }
.button.primary:hover { background: var(--accent-dark); }
.button.secondary { background: white; border-color: #cbd0d6; color: #31363d; }
.button.secondary:hover { border-color: var(--accent); color: var(--accent); }
.hero-affiliation { display: flex; flex-direction: column; margin-top: 33px; padding-left: 18px; border-left: 3px solid var(--accent); color: var(--muted); font-size: .92rem; }
.hero-affiliation strong { color: var(--ink); }
.hero-visual { min-height: 510px; display: grid; place-items: center; }
.portrait-card { position: relative; width: min(100%, 440px); min-height: 485px; padding: 42px; overflow: hidden; border-radius: 24px; background: var(--dark); color: white; box-shadow: var(--shadow-lg); display: flex; flex-direction: column; justify-content: flex-end; }
.portrait-card::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 72% 22%, rgba(194,67,75,.45), transparent 27%), linear-gradient(145deg, transparent 30%, rgba(255,255,255,.04)); }
.portrait-monogram { position: absolute; z-index: 2; top: 48px; left: 48px; display: grid; place-items: center; width: 126px; height: 126px; border: 1px solid rgba(255,255,255,.38); border-radius: 50%; color: white; font-family: Georgia, serif; font-size: 3.2rem; letter-spacing: -.08em; background: rgba(255,255,255,.04); backdrop-filter: blur(6px); }
.portrait-copy { position: relative; z-index: 2; }
.portrait-label { margin: 0 0 9px; color: #e9a6aa; font-size: .75rem; font-weight: 800; text-transform: uppercase; letter-spacing: .14em; }
.portrait-copy h2 { margin: 0 0 14px; font-family: Georgia, serif; font-size: 2.15rem; line-height: 1.1; font-weight: 500; }
.portrait-copy p:last-child { margin: 0; color: #cfd3d8; }
.research-orbits span { position: absolute; border: 1px solid rgba(255,255,255,.14); border-radius: 50%; }
.research-orbits span:nth-child(1) { width: 290px; height: 290px; right: -80px; top: -65px; }
.research-orbits span:nth-child(2) { width: 185px; height: 185px; right: -25px; top: -13px; }
.research-orbits span:nth-child(3) { width: 22px; height: 22px; right: 52px; top: 68px; border: 0; background: #d16b72; box-shadow: 0 0 32px #d16b72; }

.stats-strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { display: flex; align-items: center; gap: 16px; min-height: 120px; padding: 22px 26px; border-right: 1px solid var(--line); }
.stat:first-child { border-left: 1px solid var(--line); }
.stat strong { color: var(--accent); font-family: Georgia, serif; font-size: 2.65rem; font-weight: 500; line-height: 1; }
.stat span { max-width: 145px; color: var(--muted); font-size: .86rem; line-height: 1.45; }

.section { padding-block: 96px; }
.section-muted { background: var(--surface-soft); }
.section-dark { background: var(--dark); color: white; }
.section-heading { margin-bottom: 38px; }
.section-heading h2 { margin: 0; max-width: 760px; font-family: Georgia, serif; font-size: clamp(2.1rem, 3.5vw, 3.55rem); line-height: 1.08; font-weight: 500; letter-spacing: -.035em; }
.section-heading > p:not(.eyebrow) { color: var(--muted); max-width: 620px; }
.split-heading { display: flex; align-items: end; justify-content: space-between; gap: 40px; }
.split-heading > p, .split-heading > .text-link { max-width: 430px; margin: 0 0 4px; }
.section-heading.light h2 { color: white; }
.section-heading.light .eyebrow { color: #eaa1a5; }
.text-link { display: inline-flex; align-items: center; gap: 8px; color: var(--accent); font-weight: 750; text-decoration: none; }
.theme-preview-grid { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.theme-preview { min-height: 300px; padding: 34px 28px; border-right: 1px solid var(--line); display: flex; flex-direction: column; transition: background var(--transition), transform var(--transition); }
.theme-preview:last-child { border-right: 0; }
.theme-preview:hover { background: var(--surface-soft); }
.theme-number { color: var(--accent); font-weight: 800; font-size: .78rem; letter-spacing: .12em; }
.theme-preview h3 { margin: auto 0 10px; font-family: Georgia, serif; font-size: 1.65rem; line-height: 1.15; font-weight: 500; }
.theme-preview p { margin: 0; color: var(--muted); }
.theme-preview a { margin-top: 25px; display: inline-flex; align-items: center; gap: 8px; color: var(--accent); text-decoration: none; font-weight: 700; font-size: .9rem; }
.two-column { display: grid; grid-template-columns: 1.05fr .95fr; gap: 80px; align-items: start; }
.large-copy { margin: 0 0 28px; max-width: 720px; font-family: Georgia, serif; font-size: 1.55rem; line-height: 1.45; color: #30353a; }
.check-list { display: grid; gap: 13px; margin: 0; padding: 0; list-style: none; }
.check-list li { position: relative; padding-left: 27px; color: var(--muted); }
.check-list li::before { content: ""; position: absolute; left: 0; top: .62em; width: 10px; height: 10px; border: 2px solid var(--accent); border-radius: 50%; }
.profile-panel { padding: 42px; border-radius: var(--radius); background: white; box-shadow: var(--shadow-sm); border-top: 4px solid var(--accent); }
.panel-kicker { margin: 0 0 16px; color: var(--accent); font-weight: 800; font-size: .75rem; text-transform: uppercase; letter-spacing: .14em; }
.profile-panel h3 { margin: 0; font-family: Georgia, serif; font-size: 2rem; line-height: 1.2; font-weight: 500; }
.profile-panel > p:not(.panel-kicker) { margin-top: 8px; color: var(--muted); }
.profile-panel dl { margin: 30px 0 0; }
.profile-panel dl div { padding: 17px 0; border-top: 1px solid var(--line); }
.profile-panel dt { color: var(--muted); font-size: .78rem; font-weight: 750; text-transform: uppercase; letter-spacing: .09em; }
.profile-panel dd { margin: 4px 0 0; }
.highlight-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.highlight-card { min-height: 250px; padding: 30px; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.highlight-card > span { color: var(--accent); font-weight: 800; }
.highlight-card h3 { margin: 36px 0 13px; font-family: Georgia, serif; font-size: 1.55rem; line-height: 1.2; font-weight: 500; }
.highlight-card p { margin: 0; color: var(--muted); }
.timeline-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; }
.timeline-title { margin: 0 0 27px; color: #e9a6aa; text-transform: uppercase; letter-spacing: .12em; font-size: .76rem; }
.timeline-item { position: relative; padding: 0 0 34px 26px; border-left: 1px solid #cfd4da; }
.timeline-item::before { content: ""; position: absolute; left: -5px; top: 6px; width: 9px; height: 9px; border-radius: 50%; background: #d45d65; }
.timeline-item span { color: var(--accent); font-size: .78rem; font-weight: 750; }
.timeline-item h4 { margin: 8px 0 3px; font-family: Georgia, serif; font-size: 1.38rem; font-weight: 500; line-height: 1.25; }
.timeline-item p { margin: 7px 0 0; color: var(--muted); }
.timeline-item .timeline-org { color: var(--ink); font-weight: 700; }

.page-hero { min-height: 420px; display: grid; align-items: end; padding: 90px 0 65px; background: linear-gradient(125deg, var(--dark), #242830); color: white; position: relative; overflow: hidden; }
.page-hero::after { content: ""; position: absolute; width: 460px; height: 460px; right: -100px; top: -170px; border: 1px solid rgba(255,255,255,.1); border-radius: 50%; box-shadow: 0 0 0 80px rgba(255,255,255,.025), 0 0 0 160px rgba(255,255,255,.018); }
.page-hero-inner { position: relative; z-index: 1; }
.page-hero .eyebrow { color: #e7a0a5; }
.page-hero h1 { margin: 0; max-width: 900px; font-family: Georgia, serif; font-size: clamp(3rem, 6vw, 5.4rem); line-height: 1; font-weight: 500; letter-spacing: -.05em; }
.page-intro { max-width: 800px; margin: 25px 0 0; color: #c5c9ce; font-size: 1.1rem; }

.research-stack { display: grid; gap: 25px; }
.research-card { position: relative; display: grid; grid-template-columns: 74px minmax(0,1fr) 300px; gap: 30px; align-items: stretch; min-height: 410px; padding: 38px; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); }
.research-index { color: var(--accent); font-size: .82rem; font-weight: 850; letter-spacing: .1em; }
.research-subtitle { margin: 0 0 8px; color: var(--accent); font-size: .76rem; font-weight: 800; text-transform: uppercase; letter-spacing: .12em; }
.research-body h2 { margin: 0; font-family: Georgia, serif; font-size: 2.45rem; line-height: 1.1; font-weight: 500; }
.research-body > p:not(.research-subtitle) { margin: 20px 0 0; color: var(--muted); max-width: 760px; }
.research-meta-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-top: 29px; }
.research-meta-grid h3 { margin: 0 0 10px; font-size: .78rem; text-transform: uppercase; letter-spacing: .11em; }
.research-meta-grid ul { margin: 0; padding: 0; list-style: none; }
.research-meta-grid li { padding: 5px 0; color: var(--muted); font-size: .91rem; }
.research-meta-grid li::before { content: "\2014"; margin-right: 8px; color: var(--accent); }
.research-graphic { position: relative; min-height: 300px; border-radius: 14px; overflow: hidden; background: var(--dark); }
.research-graphic span { position: absolute; border-radius: 50%; }
.graphic-1 { background: linear-gradient(140deg, #1b1e23, #56242a); }
.graphic-1 span { border: 1px solid rgba(255,255,255,.2); }
.graphic-1 span:nth-child(1){width:210px;height:210px;left:45px;top:35px}.graphic-1 span:nth-child(2){width:120px;height:120px;left:90px;top:80px}.graphic-1 span:nth-child(3){width:18px;height:18px;background:#e9a6aa;left:143px;top:130px;box-shadow:0 0 24px #e9a6aa}.graphic-1 span:nth-child(4){width:7px;height:7px;background:white;left:58px;top:50px}
.graphic-2 { background: linear-gradient(150deg, #261d1e, #7f3036); }
.graphic-2 span { width: 90px; height: 90px; border-radius: 12px; background: rgba(255,255,255,.1); transform: rotate(32deg); }
.graphic-2 span:nth-child(1){left:40px;top:45px}.graphic-2 span:nth-child(2){left:135px;top:90px}.graphic-2 span:nth-child(3){left:70px;top:175px}.graphic-2 span:nth-child(4){left:180px;top:190px;width:48px;height:48px;background:#e3a4a8}
.graphic-3 { background: radial-gradient(circle at 35% 35%, #9e4650 0 4%, transparent 5%), radial-gradient(circle at 68% 68%, #d18d92 0 3%, transparent 4%), radial-gradient(circle at 50% 52%, #69242b, #1b1e23 65%); }
.graphic-3 span { border: 1px solid rgba(255,255,255,.18); }
.graphic-3 span:nth-child(1){width:220px;height:130px;left:35px;top:60px;border-radius:50%}.graphic-3 span:nth-child(2){width:180px;height:240px;left:55px;top:30px;border-radius:50%}.graphic-3 span:nth-child(3){width:8px;height:8px;background:white;left:85px;top:95px}.graphic-3 span:nth-child(4){width:10px;height:10px;background:#e7a0a5;right:60px;bottom:68px}
.graphic-4 { background: linear-gradient(135deg, #15181c 0 45%, #7c2a31 45% 52%, #252a31 52% 100%); }
.graphic-4 span { width: 10px; height: 10px; background: #e3a4a8; box-shadow: 0 0 18px #e3a4a8; }
.graphic-4 span:nth-child(1){left:45px;top:55px}.graphic-4 span:nth-child(2){right:65px;top:80px}.graphic-4 span:nth-child(3){left:100px;bottom:70px}.graphic-4 span:nth-child(4){right:95px;bottom:55px}

.publication-toolbar { position: sticky; top: 78px; z-index: 50; display: grid; grid-template-columns: minmax(300px,1fr) 170px 220px auto; gap: 12px; align-items: center; padding: 16px; margin-bottom: 28px; border: 1px solid var(--line); border-radius: 14px; background: rgba(255,255,255,.96); box-shadow: var(--shadow-sm); backdrop-filter: blur(10px); }
.search-field { position: relative; }
.search-field svg { position: absolute; left: 15px; top: 50%; transform: translateY(-50%); color: var(--muted); }
.publication-toolbar input, .publication-toolbar select { width: 100%; min-height: 46px; border: 1px solid #cfd4da; border-radius: 9px; background: white; color: var(--ink); padding: 9px 13px; outline: none; }
.publication-toolbar input { padding-left: 44px; }
.publication-toolbar input:focus, .publication-toolbar select:focus, .contact-form input:focus, .contact-form textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(143,29,36,.1); }
.publication-count { color: var(--muted); text-align: right; white-space: nowrap; font-size: .86rem; font-weight: 700; }
.publication-list { border-top: 1px solid var(--line); }
.publication-item { display: grid; grid-template-columns: 55px minmax(0,1fr) 110px; gap: 25px; padding: 35px 5px; border-bottom: 1px solid var(--line); }
.publication-item[hidden] { display: none; }
.publication-number { color: #a1a7af; font-size: .78rem; font-weight: 800; letter-spacing: .08em; padding-top: 5px; }
.publication-tags { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 10px; }
.publication-tags span { padding: 3px 8px; border-radius: 5px; background: var(--surface-soft); color: var(--muted); font-size: .7rem; font-weight: 750; text-transform: uppercase; letter-spacing: .06em; }
.publication-tags .highlight-tag { color: var(--accent); background: var(--accent-soft); }
.publication-content h2 { margin: 0; font-family: Georgia, serif; font-size: 1.36rem; line-height: 1.35; font-weight: 500; }
.publication-content p { margin: 8px 0 0; }
.authors { color: #4d545c; font-size: .91rem; }
.journal { color: var(--muted); font-size: .91rem; }
.publication-highlight { color: var(--accent); font-size: .82rem; font-weight: 750; }
.doi-link { align-self: center; display: inline-flex; align-items: center; justify-content: center; gap: 6px; color: var(--accent); text-decoration: none; font-size: .82rem; font-weight: 800; }
.empty-state { padding: 50px; border: 1px dashed var(--line); text-align: center; color: var(--muted); }
.output-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.output-card { padding: 37px; background: white; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.output-card > span { color: var(--accent); font-weight: 800; }
.output-card h2 { margin: 22px 0 15px; font-family: Georgia, serif; font-weight: 500; font-size: 1.8rem; line-height: 1.25; }
.output-card p { margin: 7px 0; color: var(--muted); }
.output-card small { display: block; margin-top: 20px; }

.award-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; }
.award-list { border-top: 1px solid var(--line); }
.award-item { display: grid; grid-template-columns: 70px 1fr; gap: 18px; padding: 28px 0; border-bottom: 1px solid var(--line); }
.award-item > span { color: var(--accent); font-weight: 850; }
.award-item h3 { margin: 0 0 7px; font-family: Georgia, serif; font-size: 1.35rem; font-weight: 500; line-height: 1.3; }
.award-item p { margin: 0; color: var(--muted); }
.service-list { display: grid; gap: 0; padding: 0; margin: 0; list-style: none; border-top: 1px solid #3d434c; }
.service-list li { position: relative; padding: 22px 0 22px 28px; border-bottom: 1px solid #3d434c; color: #c4c9cf; }
.service-list li::before { content: ""; position: absolute; left: 0; top: 31px; width: 8px; height: 8px; background: #d45d65; border-radius: 50%; }
.talk-list { border-top: 1px solid #3d434c; }
.talk-list article { padding: 20px 0; border-bottom: 1px solid #3d434c; }
.talk-list span { color: #e7a0a5; font-size: .78rem; font-weight: 750; }
.talk-list h3 { margin: 6px 0 3px; font-family: Georgia, serif; font-size: 1.2rem; font-weight: 500; }
.talk-list p { margin: 0; color: #b9bec5; }

.contact-layout { display: grid; grid-template-columns: .9fr 1.1fr; gap: 65px; align-items: start; }
.contact-card { position: sticky; top: 110px; padding: 40px; border-radius: var(--radius); background: var(--dark); color: white; box-shadow: var(--shadow-lg); }
.contact-card h2 { margin: 0; font-family: Georgia, serif; font-size: 2.3rem; font-weight: 500; }
.contact-card > p:not(.eyebrow) { margin: 6px 0; color: #c2c7cd; }
.contact-links { margin-top: 30px; border-top: 1px solid #3d434c; }
.contact-links a, .contact-links > div { display: flex; align-items: center; gap: 14px; padding: 18px 0; border-bottom: 1px solid #3d434c; text-decoration: none; color: white; }
.contact-links svg { color: #e7a0a5; font-size: 1.35rem; }
.contact-links span { display: flex; flex-direction: column; }
.contact-links small { color: #969da5; text-transform: uppercase; letter-spacing: .1em; font-size: .65rem; }
.contact-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.contact-card .button.secondary { background: transparent; color: white; border-color: #555c66; }
.external-profiles { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 25px; }
.external-profiles a { display: inline-flex; align-items: center; gap: 6px; color: #e7a0a5; font-size: .86rem; text-decoration: none; }
.contact-form { padding: 42px; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.form-heading { margin-bottom: 28px; }
.form-heading h2 { margin: 0; font-family: Georgia, serif; font-size: 2.2rem; font-weight: 500; }
.form-heading p:last-child { color: var(--muted); }
.contact-form label { display: grid; gap: 7px; margin-bottom: 18px; color: #3e444c; font-size: .84rem; font-weight: 750; }
.contact-form input, .contact-form textarea { width: 100%; border: 1px solid #cfd4da; border-radius: 9px; padding: 12px 13px; outline: none; font-weight: 400; }
.contact-form textarea { resize: vertical; min-height: 160px; }

.site-footer { padding: 48px 0; border-top: 1px solid var(--line); background: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr .6fr; gap: 40px; align-items: start; }
.footer-grid strong { font-family: Georgia, serif; font-size: 1.35rem; font-weight: 500; }
.footer-grid p { margin: 6px 0; color: var(--muted); font-size: .87rem; }
.footer-grid a { color: var(--accent); text-decoration: none; font-size: .9rem; }
.footer-meta { text-align: right; }
.noscript { padding: 20px; background: #fff3cd; color: #664d03; text-align: center; }
.reveal { opacity: 0; transform: translateY(16px); transition: opacity 500ms ease, transform 500ms ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

@media (max-width: 1050px) {
  .primary-navigation a { padding-inline: 9px; }
  .brand-copy small { display: none; }
  .hero-grid { grid-template-columns: 1fr 380px; gap: 40px; }
  .hero h1 { font-size: clamp(3rem, 6vw, 4.8rem); }
  .theme-preview-grid { grid-template-columns: 1fr 1fr; }
  .theme-preview:nth-child(2) { border-right: 0; }
  .theme-preview:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .research-card { grid-template-columns: 55px 1fr; }
  .research-graphic { display: none; }
  .publication-toolbar { grid-template-columns: 1fr 145px 190px; }
  .publication-count { grid-column: 1 / -1; text-align: left; padding-left: 4px; }
}

@media (max-width: 780px) {
  .container { width: min(calc(100% - 28px), var(--max-width)); }
  .nav-shell { min-height: 68px; }
  .brand { min-width: 0; }
  .brand-copy strong { font-size: .92rem; }
  .menu-button { display: block; }
  .primary-navigation { display: none; position: absolute; top: 68px; left: 14px; right: 14px; flex-direction: column; align-items: stretch; padding: 12px; background: white; border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow-lg); }
  .primary-navigation.open { display: flex; }
  .primary-navigation a { padding: 12px 14px; }
  .hero { min-height: auto; background: linear-gradient(160deg, #fff 0%, #fff 64%, #f4eeee 64%); }
  .hero-grid { grid-template-columns: 1fr; padding-block: 58px; }
  .hero h1 { font-size: clamp(2.75rem, 14vw, 4.4rem); }
  .hero-lead { font-size: 1rem; }
  .hero-visual { min-height: 390px; }
  .portrait-card { min-height: 390px; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(2) { border-right: 1px solid var(--line); }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .section { padding-block: 70px; }
  .split-heading { display: block; }
  .split-heading > p, .split-heading > .text-link { margin-top: 18px; }
  .theme-preview-grid, .highlight-grid, .timeline-grid, .two-column, .output-grid, .award-layout, .contact-layout { grid-template-columns: 1fr; }
  .theme-preview { border-right: 0; border-bottom: 1px solid var(--line); min-height: 230px; }
  .theme-preview:last-child { border-bottom: 0; }
  .theme-preview h3 { margin-top: 45px; }
  .profile-panel { padding: 30px; }
  .timeline-grid { gap: 35px; }
  .page-hero { min-height: 350px; padding-top: 70px; }
  .research-card { grid-template-columns: 1fr; padding: 28px; }
  .research-index { margin-bottom: -15px; }
  .research-meta-grid { grid-template-columns: 1fr; }
  .publication-toolbar { position: static; grid-template-columns: 1fr; }
  .publication-item { grid-template-columns: 35px 1fr; gap: 13px; }
  .doi-link { grid-column: 2; justify-self: start; margin-top: 5px; }
  .contact-card { position: static; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-meta { text-align: left; }
}

@media (max-width: 480px) {
  .brand-copy { display: none; }
  .hero-actions, .contact-actions { flex-direction: column; align-items: stretch; }
  .stats-grid { grid-template-columns: 1fr; }
  .stat { border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
  .stat:last-child { border-bottom: 0; }
  .publication-item { grid-template-columns: 1fr; }
  .publication-number, .doi-link { grid-column: 1; }
  .award-item { grid-template-columns: 1fr; gap: 6px; }
  .contact-card, .contact-form { padding: 28px 22px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* Academic home page with a right-side portrait panel */
.home-intro {
  min-height: calc(100vh - 78px);
  display: grid;
  align-items: center;
  background: #fff;
}

.home-intro-inner {
  width: min(calc(100% - 40px), var(--max-width));
  padding-block: 76px 84px;
}

.home-profile-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(340px, .65fr);
  gap: 68px;
  align-items: stretch;
}

.home-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-block: 20px;
}

.home-identity {
  padding-bottom: 34px;
  border-bottom: 1px solid var(--line);
}

.home-identity h1 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3.35rem, 6.4vw, 6.1rem);
  line-height: 1;
  font-weight: 500;
  letter-spacing: -.055em;
}

.home-role {
  margin: 27px 0 0;
  color: var(--accent);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.25rem, 2.05vw, 1.68rem);
  line-height: 1.35;
  font-weight: 600;
}

.home-fellowship {
  margin: 9px 0 0;
  color: var(--ink);
  font-size: 1.03rem;
  font-weight: 700;
}

.home-institution {
  margin: 7px 0 0;
  color: var(--muted);
  font-size: .98rem;
}

.home-bio {
  max-width: 760px;
  padding-top: 32px;
}

.home-bio h2 {
  margin: 0 0 16px;
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.55rem;
  line-height: 1.3;
  font-weight: 600;
}

.home-bio p {
  margin: 0;
  color: #414850;
  font-size: 1.08rem;
  line-height: 1.85;
}

.home-photo-panel {
  position: relative;
  min-height: 500px;
  display: grid;
  place-items: center;
  padding: 34px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: linear-gradient(145deg, #fbf7f7 0%, #f3e8e9 100%);
  box-shadow: var(--shadow-lg);
}

.home-photo-panel::before,
.home-photo-panel::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(143, 29, 36, .10);
  border-radius: 50%;
}

.home-photo-panel::before {
  width: 430px;
  height: 430px;
  right: -175px;
  top: -170px;
}

.home-photo-panel::after {
  width: 245px;
  height: 245px;
  left: -105px;
  bottom: -115px;
}

.home-photo-frame {
  position: relative;
  z-index: 1;
  width: min(100%, 390px);
  aspect-ratio: 1;
  padding: 8px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 22px 55px rgba(20, 24, 30, .18);
}

.home-photo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 29%;
  border-radius: 50%;
}

@media (max-width: 1050px) {
  .home-profile-grid {
    grid-template-columns: minmax(0, 1fr) 330px;
    gap: 44px;
  }

  .home-photo-panel {
    min-height: 440px;
    padding: 28px;
  }

  .home-photo-frame {
    width: min(100%, 310px);
  }
}

@media (max-width: 780px) {
  .home-intro {
    min-height: auto;
  }

  .home-intro-inner {
    width: min(calc(100% - 28px), var(--max-width));
    padding-block: 58px 70px;
  }

  .home-profile-grid {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .home-copy {
    padding-block: 0;
  }

  .home-identity {
    padding-bottom: 30px;
  }

  .home-identity h1 {
    font-size: clamp(2.9rem, 15vw, 4.7rem);
  }

  .home-role {
    margin-top: 22px;
    font-size: 1.22rem;
  }

  .home-bio {
    padding-top: 28px;
  }

  .home-bio h2 {
    font-size: 1.35rem;
  }

  .home-bio p {
    font-size: 1rem;
    line-height: 1.8;
  }

  .home-photo-panel {
    min-height: 360px;
    padding: 28px;
  }

  .home-photo-frame {
    width: min(100%, 285px);
  }
}

@media (max-width: 480px) {
  .home-photo-panel {
    min-height: 310px;
    padding: 22px;
    border-radius: 18px;
  }

  .home-photo-frame {
    width: min(100%, 245px);
  }
}


/* Media page */
.media-section {
  display: grid;
  gap: 86px;
}

.media-profile-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 44px;
  padding: 34px 38px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.media-profile-bar h2,
.video-copy h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.9rem, 3vw, 2.75rem);
  line-height: 1.12;
  font-weight: 500;
  letter-spacing: -.025em;
}

.media-profile-bar > div > p:last-child {
  max-width: 690px;
  margin: 12px 0 0;
  color: var(--muted);
}

.media-profile-bar .button {
  flex: 0 0 auto;
}

.media-group {
  display: grid;
  gap: 27px;
}

.compact-heading {
  margin-bottom: 0;
}

.compact-heading h2 {
  font-size: clamp(2rem, 3.2vw, 3.05rem);
}

.media-post-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  align-items: start;
}

.linkedin-embed-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.linkedin-embed-card iframe {
  display: block;
  width: 100%;
  height: 400px;
  border: 0;
  background: #ffffff;
}

.linkedin-original-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 50px;
  padding: 10px 18px;
  border-top: 1px solid var(--line);
  color: #0a66c2;
  background: #ffffff;
  text-decoration: none;
  font-size: .86rem;
  font-weight: 750;
}

.linkedin-original-link:hover {
  background: #f4f8fc;
}

.linkedin-embed-fallback {
  display: grid;
  place-items: center;
  min-height: 260px;
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-soft);
  text-align: center;
}

.linkedin-embed-fallback p {
  margin: 0 0 16px;
  color: var(--muted);
}

.video-feature {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, .65fr);
  gap: 52px;
  align-items: center;
}

.video-embed {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius);
  background: var(--dark);
  box-shadow: var(--shadow-lg);
}

.video-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.video-copy p:not(.eyebrow) {
  margin: 18px 0 23px;
  color: var(--muted);
}

@media (max-width: 1050px) {
  .video-feature {
    grid-template-columns: minmax(0, 1.15fr) minmax(260px, .85fr);
    gap: 38px;
  }
}

@media (max-width: 780px) {
  .media-section {
    gap: 65px;
  }

  .media-profile-bar {
    align-items: flex-start;
    flex-direction: column;
    padding: 28px;
  }

  .media-post-grid,
  .video-feature {
    grid-template-columns: 1fr;
  }

  .linkedin-embed-card iframe {
    height: 650px;
  }

  .video-copy {
    padding-top: 4px;
  }
}

@media (max-width: 480px) {
  .media-profile-bar {
    padding: 24px 22px;
  }

  .linkedin-embed-card iframe {
    height: 620px;
  }
}
