:root {
  --ink: #172334; --muted: #5d6977; --navy: #102a43; --blue: #0879a6;
  --blue-dark: #075d80; --aqua: #dff4f5; --paper: #fff; --warm: #f7f5ef;
  --line: #dce3e8; --shadow: 0 18px 50px rgba(16,42,67,.1);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--warm); color: var(--ink); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; font-size: 17px; line-height: 1.65; text-rendering: optimizeLegibility; }
a { color: var(--blue-dark); text-underline-offset: .18em; }
a:hover { color: var(--blue); }
a:focus-visible { outline: 3px solid #f0b429; outline-offset: 4px; }
img { display: block; max-width: 100%; }
.skip-link { position: absolute; left: 1rem; top: -4rem; z-index: 10; padding: .65rem 1rem; border-radius: 0 0 .4rem .4rem; background: var(--navy); color: #fff; }
.skip-link:focus { top: 0; }
.site-header { background: rgba(255,255,255,.96); border-bottom: 1px solid var(--line); }
.nav-shell, .section-shell, .footer-shell { width: min(1120px, calc(100% - 2.5rem)); margin-inline: auto; }
.nav-shell { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.brand { color: var(--navy); font-size: 1.12rem; font-weight: 750; letter-spacing: -.02em; text-decoration: none; white-space: nowrap; }
.site-nav ul { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: .2rem; margin: 0; padding: 0; list-style: none; }
.site-nav a { display: block; padding: .6rem .7rem; border-radius: .45rem; color: var(--ink); font-size: .9rem; font-weight: 650; text-decoration: none; }
.site-nav a:hover, .site-nav a[aria-current="page"] { background: var(--aqua); color: var(--navy); }
.hero { padding-block: 0; background: radial-gradient(circle at 82% 18%, rgba(37,174,190,.19), transparent 25rem), linear-gradient(135deg, #102a43 0%, #173f5f 100%); color: #fff; }
.hero-grid { min-height: 440px; display: grid; grid-template-columns: minmax(0,1.55fr) minmax(220px,.55fr); align-items: center; gap: clamp(2.5rem,6vw,5rem); padding-block: clamp(3rem,6vw,4.75rem); }
.eyebrow { margin: 0 0 .8rem; color: #148092; font-size: .78rem; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; }
.hero .eyebrow { color: #7fe2e8; }
.hero h1 { max-width: 780px; margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(2.8rem,6vw,4.9rem); font-weight: 500; letter-spacing: -.045em; line-height: .98; }
.hero .lede { max-width: 690px; margin: 1.5rem 0 0; color: #dce9f1; font-size: clamp(1.05rem,2vw,1.24rem); line-height: 1.65; }
.portrait-frame { position: relative; max-width: 270px; justify-self: end; }
.portrait-frame::before { content: ""; position: absolute; inset: 1rem -1rem -1rem 1rem; border: 1px solid rgba(127,226,232,.6); border-radius: 46% 46% .9rem .9rem; }
.portrait-frame img { position: relative; width: 100%; height: auto; aspect-ratio: 1/1.12; border-radius: 46% 46% .9rem .9rem; box-shadow: var(--shadow); object-fit: cover; object-position: 50% 34%; }
.button-row { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: .65rem 1rem; border: 1px solid transparent; border-radius: .45rem; background: #68d8df; color: var(--navy); font-size: .9rem; font-weight: 750; text-decoration: none; }
.button:hover { background: #94e7eb; color: var(--navy); }
.button.secondary { border-color: rgba(255,255,255,.45); background: transparent; color: #fff; }
.button.secondary:hover { border-color: #fff; background: rgba(255,255,255,.08); }
section { padding-block: clamp(4rem,8vw,6.5rem); }
.section-heading { max-width: 720px; margin-bottom: 2.5rem; }
.section-heading h1, .section-heading h2 { margin: 0 0 .7rem; color: var(--navy); font-family: Georgia, "Times New Roman", serif; font-size: clamp(2rem,4vw,3.1rem); font-weight: 500; letter-spacing: -.025em; line-height: 1.1; }
.section-heading p { margin: 0; color: var(--muted); }
.research-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 1rem; }
.research-card { min-height: 245px; padding: clamp(1.5rem,4vw,2.3rem); border: 1px solid var(--line); border-radius: .8rem; background: var(--paper); box-shadow: 0 6px 24px rgba(16,42,67,.045); }
.research-card:first-child { border-top: 5px solid var(--blue); }
.research-card .number { color: var(--blue); font-size: .8rem; font-weight: 800; letter-spacing: .13em; }
.research-card h3 { margin: .55rem 0; color: var(--navy); font-size: 1.22rem; line-height: 1.25; }
.research-card p { margin: 0; color: var(--muted); font-size: .97rem; }
.profile-section { background: #e8f3f4; }
.profile-grid { display: grid; grid-template-columns: 1.3fr .7fr; gap: 2rem; align-items: start; }
.profile-copy h2 { margin-top: 0; color: var(--navy); font-family: Georgia, serif; font-size: clamp(2rem,4vw,3.1rem); font-weight: 500; line-height: 1.12; }
.profile-copy p { max-width: 680px; color: #3f5362; }
.profile-links { display: grid; gap: .65rem; }
.profile-links a { display: flex; justify-content: space-between; gap: 1rem; padding: .9rem 1rem; border-radius: .45rem; background: #fff; color: var(--navy); font-weight: 700; text-decoration: none; }
.profile-links a::after { content: "↗"; color: var(--blue); }
.site-footer { padding-block: 2.5rem; background: var(--navy); color: #c6d4df; }
.footer-shell { display: flex; justify-content: space-between; gap: 2rem; align-items: center; }
.site-footer p { margin: 0; font-size: .9rem; }
.site-footer a { color: #fff; }
.footer-links { display: flex; flex-wrap: wrap; gap: 1rem; }
.page-hero { padding-block: clamp(4rem,8vw,6.5rem); background: linear-gradient(135deg,#102a43,#174a68); color: #fff; }
.page-hero .eyebrow { color: #7fe2e8; }
.page-hero h1 { max-width: 850px; margin: 0; font-family: Georgia,"Times New Roman",serif; font-size: clamp(2.65rem,6vw,5rem); font-weight: 500; letter-spacing: -.04em; line-height: 1; }
.page-hero .lede { max-width: 780px; margin: 1.4rem 0 0; color: #dce9f1; font-size: clamp(1.05rem,2vw,1.23rem); }
.research-intro { display: grid; grid-template-columns: .65fr 1.35fr; gap: clamp(2rem,7vw,6rem); align-items: start; }
.research-intro h2, .feature-copy h2, .outcomes h2 { margin: 0; color: var(--navy); font-family: Georgia,serif; font-size: clamp(2rem,4vw,3.1rem); font-weight: 500; line-height: 1.12; }
.research-intro-copy p:first-child { margin-top: 0; font-size: 1.18rem; color: #344c5d; }
.feature-band { background: #e8f3f4; }
.feature-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(2rem,6vw,5rem); align-items: center; }
.feature-copy p { color: #3f5362; }
.molecule-panel { min-height: 390px; display: flex; align-items: center; justify-content: center; padding: 2rem; border-radius: 1rem; background: linear-gradient(145deg,#fff,#d8edef); box-shadow: var(--shadow); }
.molecule-panel img { max-height: 330px; object-fit: contain; }
.project-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 1rem; margin-top: 2.5rem; }
.project-card { padding: clamp(1.5rem,4vw,2.25rem); border: 1px solid var(--line); border-radius: .8rem; background: #fff; }
.project-card h3 { margin: 0 0 .6rem; color: var(--navy); font-size: 1.2rem; line-height: 1.3; }
.project-card p { margin: 0; color: var(--muted); }
.tools-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 1rem; }
.tool-card { display: flex; flex-direction: column; min-height: 300px; padding: clamp(1.6rem,4vw,2.4rem); border-radius: .9rem; background: var(--navy); color: #dce9f1; }
.tool-card:nth-child(2) { background: #075d80; }
.tool-card h3 { margin: 0 0 .6rem; color: #fff; font-family: Georgia,serif; font-size: 1.8rem; font-weight: 500; }
.tool-card p { margin: 0 0 1.4rem; }
.tool-card a { margin-top: auto; color: #89e6eb; font-weight: 750; }
.outcomes { background: #fff; }
.outcome-list { display: grid; gap: 0; margin: 2rem 0 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.outcome-list li { display: grid; grid-template-columns: 5rem 1fr; gap: 1.2rem; padding: 1.25rem 0; border-bottom: 1px solid var(--line); }
.outcome-list time { color: var(--blue); font-weight: 800; }
.outcome-list p { margin: 0; color: #3f5362; }
.collaboration-note { max-width: 850px; padding: clamp(1.6rem,4vw,2.4rem); border-left: 5px solid var(--blue); background: #fff; box-shadow: 0 6px 24px rgba(16,42,67,.05); }
.collaboration-note p { margin: 0; color: #3f5362; }
.compact-hero { padding-block: clamp(2.8rem,6vw,4.5rem); }
.compact-hero h1 { font-size: clamp(2.5rem,5vw,4.2rem); }
.people-section { padding-block: clamp(3rem,6vw,5rem); }
.people-table { width: 100%; border-collapse: separate; border-spacing: 0; overflow: hidden; border: 1px solid var(--line); border-radius: .8rem; background: #fff; box-shadow: 0 6px 24px rgba(16,42,67,.045); }
.people-table th, .people-table td { padding: 1.15rem 1.25rem; border-bottom: 1px solid var(--line); text-align: left; vertical-align: middle; }
.people-table tbody:last-child tr:last-child td { border-bottom: 0; }
.people-table .group-heading th { padding: .75rem 1.25rem; background: var(--navy); color: #fff; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; }
.people-table .person-name { width: 22%; color: var(--navy); font-weight: 750; }
.people-table .person-project { color: #3f5362; }
.people-table .person-project strong { color: var(--ink); }
.people-table .person-photo { width: 145px; padding: .75rem; }
.people-table .person-photo img { width: 112px; height: 112px; margin-left: auto; border-radius: .55rem; object-fit: cover; object-position: center top; }
.people-table p { margin: .25rem 0 0; }
.people-table .degree-label { margin: 0; color: var(--blue); font-size: .78rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.alumni-page .container { width: min(1120px,calc(100% - 2.5rem)); max-width: none; min-width: 0; margin-inline: auto; background: transparent; }
.alumni-page .brand { color: var(--navy); text-decoration: none; }
.alumni-page .container > .header, .alumni-page .sidebar1, .alumni-page .container > .footer { display: none; }
.alumni-page .content { float: none; width: 100%; padding: clamp(3rem,6vw,5rem) 0; }
.alumni-page .content > table { width: 100%; border: 0; background: transparent; }
.alumni-page .content > table > tbody > tr > td { padding: 0; }
.alumni-page .content table table { width: 100%; border-collapse: separate; border-spacing: 0; overflow: hidden; border: 1px solid var(--line); border-radius: .8rem; background: #fff; box-shadow: 0 6px 24px rgba(16,42,67,.045); }
.alumni-page .content table table tr > td, .alumni-page .content table table tr > th { padding: 1rem 1.2rem; border-bottom: 1px solid var(--line); background: #fff !important; color: #3f5362; text-align: left; vertical-align: middle; }
.alumni-page .content table table tr > :first-child { width: 22%; color: var(--navy); font-family: inherit; font-weight: 750; }
.alumni-page .content table table tr > :last-child { width: 145px; }
.alumni-page .content table table tr.TableHeading > td, .alumni-page .content table table tr.TableHeading > th { padding: .75rem 1.2rem; border: 0; background: var(--navy) !important; color: #fff; font-size: .8rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.alumni-page .content table table tr:has(> td:nth-child(2)[bgcolor="#CCCCCC"]) > td { padding: .75rem 1.2rem; background: var(--navy) !important; color: #fff; font-size: .8rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.alumni-page .content table table p { margin: .2rem 0; padding: 0; }
.alumni-page .content .Degree { font-family: inherit; font-size: .95rem; }
.alumni-page .content .references { font-size: .9rem; }
.alumni-page .content table table tr > :last-child img { width: 112px; height: 112px; margin-left: auto; border-radius: .55rem; object-fit: cover; object-position: center top; }
.alumni-page .content a { color: var(--blue-dark); }
.alumni-page .legacy-spacer { display: none; }
.publications-page .container { width: min(960px,calc(100% - 2.5rem)); max-width: none; min-width: 0; margin-inline: auto; background: transparent; }
.publications-page .brand { color: var(--navy); text-decoration: none; }
.publications-page .container > .header, .publications-page .sidebar1, .publications-page .container > .footer { display: none; }
.publications-page .content { float: none; width: 100%; padding: clamp(3rem,6vw,5rem) 0; }
.publications-page .txt > p:first-child { margin: 0 0 2rem; padding: 1rem 1.2rem; border-left: 4px solid var(--blue); background: #e8f3f4; color: #3f5362; }
.publications-page .txt h3 { margin: 3rem 0 1rem; padding: 0 0 .65rem; border-bottom: 2px solid var(--navy); color: var(--navy); font-family: Georgia,serif; font-size: clamp(1.6rem,3vw,2.1rem); font-weight: 500; }
.publications-page .txt ul, .publications-page .txt ol { margin: 0; padding: 0 0 0 1.6rem; }
.publications-page .txt li { padding: .8rem .35rem .95rem; border-bottom: 1px solid var(--line); color: #3f5362; font-family: inherit; font-size: .94rem; line-height: 1.65; }
.publications-page .txt li::marker { color: var(--blue); font-weight: 750; }
.publications-page .txt li strong, .publications-page .txt li b { color: var(--ink); }
.publications-page .txt a { color: var(--blue-dark); overflow-wrap: anywhere; }
.publications-page .txt > img { width: min(760px,100%); height: auto; margin: 2.5rem auto 0; border-radius: .8rem; box-shadow: var(--shadow); }
.software-overview { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(2rem,7vw,6rem); align-items: start; }
.software-overview h2, .software-feature h2, .software-secondary h2 { margin: 0; color: var(--navy); font-family: Georgia,serif; font-size: clamp(2rem,4vw,3.2rem); font-weight: 500; line-height: 1.1; }
.software-overview p { margin-top: 0; color: #3f5362; font-size: 1.08rem; }
.software-feature { background: #e8f3f4; }
.software-feature-grid { display: grid; grid-template-columns: .72fr 1.28fr; gap: clamp(2.5rem,7vw,6rem); align-items: center; }
.software-mark { display: flex; align-items: center; justify-content: center; min-height: 360px; padding: 2.5rem; border-radius: 1rem; background: #fff; box-shadow: var(--shadow); }
.software-mark img { width: min(320px,100%); max-height: 280px; object-fit: contain; }
.software-feature-copy p, .software-secondary-copy p { color: #3f5362; }
.feature-list { display: grid; gap: .65rem; margin: 1.5rem 0 0; padding: 0; list-style: none; }
.feature-list li { position: relative; padding-left: 1.5rem; color: #3f5362; }
.feature-list li::before { content: ""; position: absolute; left: 0; top: .62em; width: .55rem; height: .55rem; border-radius: 50%; background: var(--blue); }
.software-actions { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.8rem; }
.software-actions .button.secondary { border-color: var(--blue-dark); color: var(--blue-dark); }
.software-actions .button.secondary:hover { background: rgba(7,93,128,.08); }
.software-secondary-grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: clamp(2.5rem,7vw,6rem); align-items: center; }
.software-secondary .software-mark { min-height: 330px; background: #f3f7f8; box-shadow: none; }
.version-panel { margin-top: 1.7rem; padding: 1.25rem; border: 1px solid var(--line); border-radius: .65rem; background: #fff; }
.version-panel p { margin: 0; }
.version-panel .version { color: var(--navy); font-weight: 800; }
.citation-panel { margin-top: 1.5rem; padding: 1.25rem; border-left: 4px solid var(--blue); background: #f5f8f9; color: #3f5362; font-size: .9rem; }
.citation-panel p { margin: 0 0 .8rem; }
.citation-panel p:last-child { margin-bottom: 0; }
.choose-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 1rem; }
.choose-card { padding: clamp(1.5rem,4vw,2.25rem); border: 1px solid var(--line); border-radius: .8rem; background: #fff; }
.choose-card h3 { margin: 0 0 .6rem; color: var(--navy); }
.choose-card p { margin: 0; color: var(--muted); }
@media (max-width: 860px) {
  .nav-shell { padding-block: .8rem; align-items: flex-start; flex-direction: column; gap: .4rem; }
  .site-nav ul { justify-content: flex-start; } .site-nav a { padding: .45rem .5rem; }
  .hero-grid { min-height: auto; grid-template-columns: 1fr; }
  .portrait-frame { width: min(290px,82%); justify-self: start; }
  .research-grid, .profile-grid, .research-intro, .feature-grid, .software-overview, .software-feature-grid, .software-secondary-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .nav-shell, .section-shell, .footer-shell { width: min(100% - 1.5rem,1120px); }
  .site-nav ul { gap: 0; } .site-nav a { font-size: .83rem; }
  .hero-grid { padding-block: 3.7rem; } .hero h1 { font-size: clamp(2.55rem,15vw,4rem); }
  .research-grid, .project-grid, .tools-grid, .choose-grid { grid-template-columns: 1fr; }
  .outcome-list li { grid-template-columns: 1fr; gap: .25rem; }
  .people-table, .people-table tbody, .people-table tr, .people-table td, .people-table th { display: block; width: 100%; }
  .people-table tr { padding: 1.1rem; border-bottom: 1px solid var(--line); }
  .people-table th, .people-table td { padding: .25rem 0; border: 0; }
  .people-table .group-heading { padding: 0; }
  .people-table .group-heading th { padding: .75rem 1rem; }
  .people-table .person-photo { padding-top: .8rem; }
  .people-table .person-photo img { width: 96px; height: 96px; margin: 0; }
  .alumni-page .container { width: min(100% - 1.5rem,1120px); }
  .alumni-page .content table table, .alumni-page .content table table tbody, .alumni-page .content table table tr, .alumni-page .content table table td, .alumni-page .content table table th { display: block; width: 100%; }
  .alumni-page .content table table tr { padding: 1rem; border-bottom: 1px solid var(--line); }
  .alumni-page .content table table tr > td, .alumni-page .content table table tr > th { width: 100%; padding: .25rem 0; border: 0; }
  .alumni-page .content table table tr.TableHeading { padding: 0; }
  .alumni-page .content table table tr.TableHeading > td, .alumni-page .content table table tr.TableHeading > th { padding: .75rem 1rem; }
  .alumni-page .content table table tr > :last-child img { width: 96px; height: 96px; margin: .7rem 0 0; }
  .publications-page .container { width: min(100% - 1.5rem,960px); }
  .footer-shell { align-items: flex-start; flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
