/* Shared visual system. These colors control both themes and all public pages. */
:root {
  color-scheme: light;
  --brand: #4d1979;
  --brand-dark: #351453;
  --brand-soft: #f4f0f8;
  --ink: #252832;
  --muted: #606674;
  --paper: #f8fafc;
  --header-bg: #ffffff;
  --tint: #f6f7f9;
  --line: #e3e5ea;
  --link: #4d1979;
  --serif: Georgia, 'Times New Roman', serif;
  --sans: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --width: 1100px;
  --radius: 3px;
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --brand: #d2b4ed;
  --brand-dark: #e8d5f8;
  --brand-soft: #272232;
  --ink: #e5e8ee;
  --muted: #acb4c2;
  --paper: #171b22;
  --header-bg: #171b22;
  --tint: #202630;
  --line: #353e4b;
  --link: #d2b4ed;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 30px; }
body { margin: 0; color: var(--ink); background: var(--paper); font: 16px/1.8 var(--sans); -webkit-font-smoothing: antialiased; }
h1,h2,h3,p { margin-top: 0; }
h1,h2 { font-family: var(--serif); font-weight: 400; line-height: 1.3; letter-spacing: -.02em; }
h1 { font-size: 34px; margin-bottom: 22px; }
h2 { font-size: 25px; margin-bottom: 20px; }
h3 { font-size: 17px; line-height: 1.5; font-weight: 550; margin-bottom: 10px; }
p { margin-bottom: 20px; }
a { color: var(--link); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--brand-dark); }
img { display: block; max-width: 100%; height: auto; }
button,input,select { font: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 4px; }
[hidden] { display: none !important; }
.container { width: min(var(--width),calc(100% - 72px)); margin-inline: auto; }
.narrow { max-width: 870px; }
.text-link { font-size: 13px; font-weight: 500; display: inline-block; text-decoration: none; }
.text-link:hover { text-decoration: underline; }
.text-link span { margin-left: 3px; }
.button { display: inline-block; padding: 9px 17px; font-size: 13px; background: var(--brand); color: var(--on-brand, white); border: 1px solid var(--brand); border-radius: var(--radius); text-decoration: none; }
.button:hover { background: var(--brand); color: var(--on-brand, white); text-decoration: underline; }
.button-secondary { background: transparent; border-color: var(--brand); color: var(--brand); }
.eyebrow { font-size: 10px; text-transform: uppercase; letter-spacing: .09em; color: var(--brand); font-weight: 600; margin-bottom: 12px; }
.lead { font-size: 17px; line-height: 1.85; color: var(--muted); max-width: 760px; }
.skip-link { position: fixed; top: -100px; left: 20px; padding: 10px 15px; background: var(--brand); color: var(--on-brand, white); z-index: 20; }
.skip-link:focus { top: 10px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px !important; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* A full-name identity badge and a softly framed navigation strip. */
.site-header { background: var(--header-bg); border-top: 2px solid var(--brand); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; flex-wrap: wrap; align-items: center; gap: 19px 25px; padding-block: 21px 16px; }
.wordmark { order: 1; display: inline-flex; align-items: baseline; gap: 7px; padding: 11px 17px 12px; border: 1px solid color-mix(in srgb,var(--brand) 24%,var(--line)); border-radius: 9px; background: var(--brand-soft); font: 26px/1.2 var(--serif); white-space: nowrap; letter-spacing: -.025em; text-decoration: none; color: var(--ink); transition: border-color .22s ease; }
.wordmark:hover { color: var(--ink); border-color: var(--brand); }
.wordmark-degree { font: 400 16px/1.2 var(--serif); letter-spacing: 0; color: var(--muted); }
.header-controls { order: 2; margin-left: auto; display: flex; gap: 18px; align-items: center; }
#navigation { order: 3; flex-basis: 100%; display: grid; grid-template-columns: repeat(10,minmax(0,1fr)); gap: 4px; padding: 5px; background: var(--tint); border: 1px solid var(--line); border-radius: 10px; }
#navigation a { display: flex; justify-content: center; align-items: center; gap: 8px; min-height: 43px; padding: 10px 6px; border-radius: 7px; color: var(--muted); font-size: 12px; font-weight: 500; text-decoration: none; transition: background-color .22s ease,color .22s ease,box-shadow .22s ease; }
#navigation a:hover { background: var(--brand-soft); color: var(--brand); }
#navigation a[aria-current] { color: var(--on-brand); background: var(--brand); font-weight: 600; box-shadow: 0 2px 5px #0000000d; }
.nav-icon { width: 16px; height: 16px; flex-shrink: 0; opacity: .8; transition: opacity .22s ease,transform .22s cubic-bezier(.2,.7,.3,1); }
#navigation a:hover .nav-icon { opacity: 1; transform: translateY(-1px); }
#navigation a[aria-current] .nav-icon { opacity: 1; }
.menu-toggle { display: none; }
.menu-icon { width: 20px; height: 20px; }
.theme-toggle { display: inline-flex; width: 36px; height: 36px; align-items: center; justify-content: center; border: 1px solid var(--line); border-radius: 50%; padding: 7px; background: var(--tint); color: var(--muted); }
.theme-toggle:hover { color: var(--brand); background: var(--brand-soft); }
.theme-toggle svg { width: 19px; height: 19px; }
.sun-icon,[data-theme="dark"] .moon-icon { display: none; }
[data-theme="dark"] .sun-icon { display: block; }

/* Home: an academic profile beside one consistent reading column. */
.faculty-layout { display: grid; grid-template-columns: 210px minmax(0,1fr); column-gap: 68px; padding-block: 48px 66px; }
.identity-sidebar { align-self: start; position: sticky; top: 28px; }
.identity-portrait { width: 210px; height: 210px; object-fit: cover; object-position: center 28%; border-radius: 50%; margin-bottom: 20px; }
.identity-role { font-size: 14px; font-weight: 600; line-height: 1.65; margin-bottom: 9px; }
.identity-affiliation { font-size: 13px; line-height: 1.8; color: var(--muted); margin-bottom: 14px; }
.identity-affiliation a { text-decoration: none; }
.identity-location { color: var(--muted); font-size: 12px; margin-bottom: 0; }
.identity-links { display: grid; gap: 7px; border-top: 1px solid var(--line); margin-top: 20px; padding-top: 17px; }
.identity-links .text-link { font-size: 12px; }
.identity-links .text-link span { display: none; }
.faculty-intro h1 { font-size: 31px; margin-bottom: 19px; }
.faculty-intro p { line-height: 1.9; margin-bottom: 19px; }
.faculty-intro > .text-link { font-size: 12px; }
.opportunities-note { border-left: 2px solid var(--brand); margin-top: 26px; padding: 0 0 0 17px; }
.opportunities-note h2 { font: 600 13px/1.5 var(--sans); color: var(--brand); letter-spacing: 0; margin-bottom: 7px; }
.opportunities-note p { font-size: 13px; line-height: 1.85; color: var(--muted); margin: 0; }
.faculty-section { margin-top: 36px; }
.section-heading { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; margin-bottom: 16px; }
.section-heading h2 { margin: 0; }
.section-heading > .text-link { flex-shrink: 0; font-size: 11px; }
.section-heading p { font-size: 14px; margin: 8px 0 0; color: var(--muted); }
.news-item { display: grid; grid-template-columns: 82px minmax(0,1fr); gap: 20px; padding: 17px 0; border-top: 1px solid var(--line); }
.news-item time { color: var(--muted); font-size: 11px; }
.news-category { display: none; }
.news-item h3 { font-size: 14px; margin-bottom: 5px; font-weight: 600; }
.news-item p { color: var(--muted); font-size: 13px; line-height: 1.85; margin-bottom: 3px; }
.news-item .text-link { font-size: 11px; }
.research-summaries article { padding: 17px 0; border-top: 1px solid var(--line); }
.research-summaries h3 { font-size: 16px; font-weight: 550; margin-bottom: 6px; }
.research-summaries h3 a { text-decoration: none; }
.research-summaries p { margin: 0; color: var(--muted); font-size: 14px; }
.publication { border-top: 1px solid var(--line); padding: 21px 0; }
.pub-meta { display: flex; gap: 12px; font-size: 11px; color: var(--muted); margin-bottom: 7px; }
.pub-meta span:first-child { color: var(--brand); font-weight: 600; }
.publication h3 { font-size: 16px; font-weight: 550; margin-bottom: 8px; }
.publication p { font-size: 13px; color: var(--muted); line-height: 1.85; margin-bottom: 7px; }
.publication .text-link { font-size: 11px; }
.gallery-callout { border-top: 1px solid var(--line); padding-top: 24px; display: flex; justify-content: space-between; gap: 22px; align-items: center; }
.gallery-callout h2 { font-size: 23px; margin-bottom: 10px; }
.gallery-callout p { font-size: 13px; color: var(--muted); margin: 0; }
.gallery-callout > .text-link { flex-shrink: 0; font-size: 11px; }

/* Interior pages use the same heading scale and reading rhythm. */
.page-heading { padding-block: 46px 31px; }
.page-heading h1 { margin-bottom: 18px; }
.page-heading > .eyebrow { display: none; }
.page-heading .lead { margin: 0; max-width: none; }
.section-bottom { padding-bottom: 65px; }
.back-link { display: inline-block; text-decoration: none; color: var(--muted); font-size: 12px; margin-bottom: 24px; }
.article-layout { display: grid; grid-template-columns: minmax(0,1fr) 250px; column-gap: 65px; }
.prose { font-size: 16px; line-height: 1.95; }
.prose > p { color: var(--muted); }
.prose h2 { margin-top: 32px; }
.prose h2:first-child { margin-top: 0; }
.prose li { color: var(--muted); font-size: 14px; margin-bottom: 10px; }
.research-question { font-size: 19px; color: var(--ink) !important; }
.research-detail-image { width: 100%; border-radius: 2px; }
.image-caption { font-size: 10px; margin-top: 7px; }
.detail-aside { border-top: 2px solid var(--brand); padding-top: 20px; }
.detail-aside ul { padding-left: 17px; font-size: 13px; color: var(--muted); }
.detail-aside li { margin-bottom: 13px; }
.detail-aside .text-link { font-size: 12px; margin-top: 15px; }
.research-grid { display: grid; gap: 0; }
.research-card { display: grid; grid-template-columns: 240px minmax(0,1fr); column-gap: 30px; text-decoration: none; color: var(--ink); border-top: 1px solid var(--line); padding-block: 27px; }
.research-illustration { grid-column: 1; grid-row: 1 / 5; width: 100%; align-self: center; border-radius: 2px; }
.research-card .card-top,.research-card h3,.research-card > p,.research-card .card-link { grid-column: 2; }
.research-card .eyebrow { margin: 0 0 7px; font-size: 9px; }
.research-card h3 { font-size: 20px; font-family: var(--serif); font-weight: 400; margin-bottom: 9px; }
.research-card > p { font-size: 14px; color: var(--muted); margin-bottom: 8px; }
.research-card .card-link { font-size: 11px; color: var(--link); }
.research-card:hover h3 { color: var(--brand); text-decoration: underline; text-underline-offset: 4px; }
.research-note { max-width: 760px; padding-top: 32px; border-top: 1px solid var(--line); margin-top: 12px; }
.research-note .eyebrow { display: none; }
.research-note p { font-size: 15px; color: var(--muted); }
.publication-filters { display: flex; align-items: end; gap: 16px; padding: 18px; border: 1px solid var(--line); background: var(--tint); border-radius: var(--radius); }
.publication-filters > div { min-width: 135px; }
.publication-filters .search-field { flex: 1; }
.publication-filters label { display: block; font-size: 11px; font-weight: 550; margin-bottom: 6px; }
.publication-filters input,.publication-filters select { width: 100%; height: 43px; padding: 8px 10px; font-size: 13px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); color: var(--ink); }
.reset-filter { min-height: 43px; border: 0; background: transparent; color: var(--muted); text-decoration: underline; font-size: 12px; padding: 0 4px; }
.results-count { font-size: 11px; color: var(--muted); margin-block: 19px; }
.publication-list { max-width: 950px; }
.publication-list .publication h3 { font-size: 18px; }
.group-title { margin-top: 36px; }
.group-title:first-child { margin-top: 0; }
.course-grid { display: block; }
.course-card { border-top: 1px solid var(--line); padding: 23px 0; }
.course-top { display: flex; gap: 20px; color: var(--muted); font-size: 12px; }
.course-top .eyebrow { font-size: 10px; margin-bottom: 7px; }
.course-card h3 { font-size: 19px; margin-bottom: 8px; }
.course-card p { color: var(--muted); font-size: 14px; margin-bottom: 7px; }
.subtle-note { font-size: 12px; color: var(--muted); margin-top: 26px; }
.pi-profile { display: flex; gap: 28px; align-items: center; padding-bottom: 30px; border-bottom: 1px solid var(--line); }
.pi-profile img { width: 130px; height: 130px; object-fit: cover; object-position: center 28%; border-radius: 50%; }
.pi-profile h2 { margin-bottom: 8px; }
.pi-profile p { font-size: 13px; color: var(--muted); margin-bottom: 10px; }
.people-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 25px; }
.person-card { border-bottom: 1px solid var(--line); padding-bottom: 23px; }
.person-card img,.person-initial { width: 150px; height: 150px; aspect-ratio: 1; object-fit: cover; margin-bottom: 15px; border-radius: 50%; }
.person-initial { background: var(--tint); display: grid; place-items: center; font-size: 12px; color: var(--muted); border: 1px dashed var(--line); }
.person-card h3 { margin-bottom: 7px; }
.person-card p { font-size: 13px; color: var(--muted); }
.person-role { color: var(--brand) !important; }
.placeholder-label { display: inline-block; font-size: 9px; padding: 2px 7px; background: var(--tint); color: var(--muted); margin-bottom: 9px; }
.alumni-list { font-size: 14px; padding-left: 19px; }
.alumni-list li { margin-bottom: 10px; }
.people-invitation { padding: 23px; margin-top: 30px; background: var(--tint); border-left: 2px solid var(--brand); max-width: 760px; }
.people-invitation h2 { font-size: 23px; }
.people-invitation .eyebrow { display: none; }
.people-invitation p { font-size: 14px; color: var(--muted); }
.contact-panel { border-top: 2px solid var(--brand); padding-top: 22px; align-self: start; overflow-wrap: anywhere; }
.contact-panel > img { width: 210px; max-width: 100%; aspect-ratio: 1; height: auto; border-radius: 50%; object-fit: cover; object-position: center 28%; margin-bottom: 24px; }
.contact-panel h2 { font-size: 24px; margin-bottom: 13px; }
.contact-panel > a { font-size: 13px; }
.contact-panel p { font-size: 12px; color: var(--muted); margin-top: 17px; }
.profile-links { display: grid; gap: 10px; margin-top: 24px; padding-top: 18px; border-top: 1px solid var(--line); }
.pronounce-button { padding: 8px 12px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--tint); color: var(--ink); font-size: 12px; margin-top: 22px; }
.education-list > div { display: flex; gap: 25px; border-top: 1px solid var(--line); padding: 18px 0; }
.education-list > div > span { color: var(--muted); font-size: 12px; }
.education-list h3 { font-size: 16px; margin-bottom: 5px; }
.education-list p { color: var(--muted); font-size: 14px; margin: 0; }
.event-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 27px; }
.event-cover { display: block; margin-bottom: 17px; text-decoration: none; }
.event-cover img,.event-cover-empty { width: 100%; aspect-ratio: 3/2; object-fit: cover; border-radius: 2px; }
.event-cover-empty { display: flex; flex-direction: column; justify-content: center; padding: 23px; background: var(--tint); border: 1px solid var(--line); color: var(--muted); gap: 7px; }
.event-cover-empty span { font-size: 10px; }
.event-cover-empty strong { font: 400 24px/1.4 var(--serif); color: var(--ink); }
.event-meta { font-size: 11px; color: var(--muted); margin-bottom: 10px; }
.event-card h2 { font-size: 22px; margin-bottom: 10px; }
.event-card h2 a { text-decoration: none; color: var(--ink); }
.event-card > p:not(.event-meta) { font-size: 13px; color: var(--muted); }
.event-intro { max-width: 800px; margin-bottom: 30px; }
.event-intro .text-link { margin-right: 20px; }
.event-photos { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 24px; }
.event-photo { margin: 0; }
.event-photo img { width: 100%; aspect-ratio: 3/2; object-fit: cover; border-radius: 2px; }
.event-photo figcaption { font-size: 12px; color: var(--muted); margin-top: 8px; }
.gallery-empty { grid-column: 1/-1; border: 1px dashed var(--line); background: var(--tint); padding: 25px; font-size: 13px; color: var(--muted); }
.news-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.news-filters button { padding: 7px 12px; font-size: 11px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); color: var(--muted); }
.news-filters button[aria-pressed="true"] { color: var(--brand); border-color: var(--brand); background: var(--brand-soft); }
.filter-status { color: var(--muted); font-size: 11px; }
.site-footer { border-top: 1px solid var(--line); background: var(--paper); }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; padding-block: 24px; font-size: 11px; color: var(--muted); }
.footer-bottom a { text-decoration: none; }

/* Responsive composition. */
@media (max-width: 1050px) {
  .container { width: calc(100% - 56px); }
  .faculty-layout { grid-template-columns: 185px minmax(0,1fr); column-gap: 42px; }
  .identity-portrait { width: 185px; height: 185px; }
  #navigation a { gap: 6px; font-size: 11px; }
  .wordmark { font-size: 25px; }
  .article-layout { grid-template-columns: minmax(0,1fr) 220px; gap: 35px; }
}
@media (max-width: 880px) {
  .header-inner { gap: 16px 12px; padding-block: 18px; }
  .header-controls { gap: 9px; }
  #navigation { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 6px; padding: 7px; }
  #navigation a { justify-content: flex-start; gap: 10px; min-height: 48px; font-size: 13px; padding: 12px; }
  body.js #navigation { display: none; }
  body.js #navigation.is-open { display: grid; }
  .menu-toggle { display: flex; gap: 8px; align-items: center; background: var(--tint); color: var(--ink); font-size: 12px; padding: 7px 10px; height: 36px; border: 1px solid var(--line); border-radius: 5px; }
  .menu-toggle[aria-expanded="true"] { color: var(--brand); border-color: var(--brand); background: var(--brand-soft); }
  .event-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .publication-filters { flex-wrap: wrap; }
  .publication-filters .search-field { flex-basis: 100%; }
  .publication-filters > div { flex: 1; }
}
@media (max-width: 700px) {
  .container { width: calc(100% - 40px); }
  .faculty-layout { grid-template-columns: minmax(0,1fr); gap: 30px; padding-block: 30px 45px; }
  .identity-sidebar { position: static; display: grid; grid-template-columns: 115px minmax(0,1fr); column-gap: 24px; border-bottom: 1px solid var(--line); padding-bottom: 25px; }
  .identity-portrait { width: 115px; height: 115px; margin: 0; grid-column: 1; grid-row: 1; }
  .identity-details { grid-column: 2; grid-row: 1; }
  .identity-role { font-size: 14px; }
  .identity-affiliation { font-size: 12px; margin-bottom: 7px; }
  .identity-location { font-size: 11px; }
  .identity-links { grid-column: 1/-1; display: flex; flex-wrap: wrap; gap: 8px 19px; border: 0; margin-top: 18px; padding: 0; }
  .faculty-intro h1 { font-size: 29px; }
  .faculty-intro p { font-size: 15px; line-height: 1.9; }
  .faculty-section { margin-top: 30px; }
  .article-layout { grid-template-columns: 1fr; gap: 30px; }
  .detail-aside,.contact-panel { max-width: 480px; }
  .research-card { grid-template-columns: 190px minmax(0,1fr); column-gap: 22px; }
  .people-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 480px) {
  .container { width: calc(100% - 36px); }
  .wordmark { font-size: 21px; gap: 5px; padding: 9px 11px; }
  .wordmark-degree { font-size: 13px; }
  #navigation a { font-size: 11px; gap: 7px; padding: 10px 7px; }
  .nav-icon { width: 15px; height: 15px; }
  .menu-label { display: none; }
  .menu-toggle { width: 32px; height: 32px; justify-content: center; padding: 6px; }
  .header-controls { gap: 7px; }
  .header-inner { gap: 9px; }
  .identity-sidebar { grid-template-columns: 100px minmax(0,1fr); gap: 18px; }
  .identity-portrait { width: 100px; height: 100px; }
  .identity-role { font-size: 13px; }
  .identity-affiliation { font-size: 11px; }
  .identity-links .text-link { font-size: 11px; }
  .section-heading h2 { font-size: 23px; }
  .section-heading > .text-link { font-size: 10px; }
  .news-item { grid-template-columns: 63px minmax(0,1fr); gap: 14px; }
  .news-item time { font-size: 10px; }
  .news-item h3 { font-size: 13px; }
  .news-item p { font-size: 12px; }
  .page-heading { padding-block: 32px 25px; }
  h1 { font-size: 30px; }
  .lead { font-size: 15px; }
  .research-card { display: block; }
  .research-illustration { margin-bottom: 18px; }
  .research-card h3 { font-size: 23px; }
  .publication-filters { padding: 14px; gap: 12px; }
  .publication-filters > div { min-width: 0; }
  .publication-filters select { padding-inline: 6px; font-size: 12px; }
  .publication-list .publication h3 { font-size: 16px; }
  .course-top { flex-wrap: wrap; gap: 0 18px; }
  .pi-profile { gap: 19px; }
  .pi-profile img { width: 95px; height: 95px; }
  .pi-profile h2 { font-size: 23px; }
  .person-card img,.person-initial { width: 125px; height: 125px; max-width: 100%; }
  .event-grid,.event-photos { grid-template-columns: 1fr; }
  .gallery-callout { display: block; }
  .gallery-callout > .text-link { margin-top: 14px; }
  .footer-bottom { flex-direction: column; gap: 6px; font-size: 10px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } #navigation a,.nav-icon,.wordmark { transition: none; } #navigation a:hover .nav-icon { transform: none; } }
@media print {
  :root[data-theme="dark"] { color-scheme: light; --paper: white; --ink: black; --muted: #444; --line: #ccc; --brand: #333; --link: #333; --tint: white; }
  .site-header,.site-footer,.publication-filters,.theme-toggle,.opportunities-note { display: none; }
  .container { width: 100%; }
  .faculty-layout,.article-layout { display: block; }
  .identity-sidebar { position: static; max-width: 220px; margin-bottom: 25px; }
  .publication,.news-item,.course-card { break-inside: avoid; }
  body { font-size: 11pt; }
}

/* Hiring keeps active opportunities distinct from the permanent record. */
.hiring-page { max-width: 900px; }
.hiring-group, .hiring-inquiries { margin-top: 44px; padding-top: 28px; border-top: 1px solid var(--line); }
.hiring-ad { padding: 24px 0; border-bottom: 1px solid var(--line); }
.hiring-ad-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 18px; }
.hiring-ad-heading h3 { margin: 0; font-size: 19px; }
.hiring-status { flex: 0 0 auto; font-size: 12px; font-weight: 600; color: var(--brand); border: 1px solid var(--line); border-radius: 3px; padding: 1px 9px; }
.hiring-meta, .hiring-empty { color: var(--muted); font-size: 14px; }
.hiring-copy { font-size: 15px; overflow-wrap: anywhere; }
.hiring-ad h4 { margin: 20px 0 6px; }
.hiring-ad-archived h3, .hiring-ad-archived .hiring-status { color: var(--muted); }
.hiring-archive-heading { margin-top: 30px; }
.hiring-inquiries li { margin: 10px 0; }

.career-group { margin-top: 42px; padding-top: 26px; border-top: 1px solid var(--line); }
.career-record { margin: 24px 0; }
.career-record h3 { font-size: 17px; margin-bottom: 4px; }
.career-record p { margin: 5px 0; font-size: 14px; }
.career-record .career-period, .course-institution { color: var(--muted); font-size: 13px; }
@media (max-width: 380px) {
  #navigation { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .wordmark { font-size: 18px; padding-inline: 9px; }
  .wordmark-degree { font-size: 12px; }
}

/* Original-site palette: cool paper, a deep colored masthead, and matching footer. */
body { background: radial-gradient(1200px 600px at 10% -10%, var(--page-wash), transparent 60%), radial-gradient(1200px 600px at 110% 110%, var(--page-wash), transparent 60%), var(--paper); }
.site-header { background: linear-gradient(110deg,var(--chrome-start),var(--chrome-end)); border-top: 0; border-bottom: 1px solid #ffffff1f; }
.wordmark { color: #ffffff; background: #ffffff0a; border-color: #ffffff40; }
.wordmark:hover { color: #ffffff; border-color: #ffffff99; }
.wordmark-degree { color: #ffffffe0; }
#navigation { background: #ffffff0d; border-color: #ffffff29; }
#navigation a { color: #ffffffe0; }
#navigation a:hover { color: #ffffff; background: #ffffff1c; }
#navigation a[aria-current] { color: var(--chrome-end); background: #ffffff; box-shadow: 0 2px 8px #00000014; }
.site-header .theme-toggle,.site-header .menu-toggle { color: #ffffff; background: #ffffff0d; border-color: #ffffff40; }
.site-header .theme-toggle:hover,.site-header .menu-toggle:hover,.site-header .menu-toggle[aria-expanded="true"] { color: #ffffff; background: #ffffff24; border-color: #ffffff80; }
.site-header :focus-visible,.site-footer :focus-visible { outline-color: #ffffff; }
.site-footer { background: linear-gradient(110deg,var(--chrome-start),var(--chrome-end)); border-top: 0; }
.footer-bottom,.footer-bottom a { color: #ffffffe0; }
.footer-bottom a:hover { color: #ffffff; text-decoration: underline; }
.site-header,.site-footer { position: relative; isolation: isolate; }
.site-header::before,.site-footer::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background-image: url('../images/science-pattern.svg'); background-position: center; background-size: 1440px 200px; background-repeat: repeat-x; opacity: .48; }
.site-footer::before { background-position: right center; transform: scaleX(-1); opacity: .42; }
.identity-portrait,.pi-profile img,.person-card img,.contact-panel > img { box-shadow: 0 0 0 1px var(--line); }

/* Coordinated page-review revision. */
.about-layout { display: grid; grid-template-columns: 220px minmax(0,1fr); gap: 38px 55px; padding-top: 42px; }
.about-layout .contact-panel { border-top: 0; padding-top: 0; }
.about-biography { min-width: 0; }
.about-biography > p { color: var(--ink); }
.about-education { grid-column: 1/-1; }
.education-list > div { display: grid; grid-template-columns: 230px minmax(0,1fr); gap: 32px; align-items: start; }
.education-list > div > span { padding-top: 3px; }
.hiring-page { max-width: 1100px; }
.hiring-group { padding: 28px 30px; border: 1px solid var(--hiring-border); border-left: 4px solid var(--hiring-accent); border-radius: 10px; background: var(--hiring-bg); }
.hiring-phd { --hiring-accent: var(--brand); --hiring-bg: color-mix(in srgb,var(--brand) 7%,var(--paper)); --hiring-border: color-mix(in srgb,var(--brand) 20%,var(--line)); }
.hiring-undergraduate { --hiring-accent: var(--brand); --hiring-bg: color-mix(in srgb,var(--brand) 4%,var(--paper)); --hiring-border: color-mix(in srgb,var(--brand) 20%,var(--line)); }
.hiring-group > h2 { color: var(--hiring-accent); }
.hiring-group .hiring-status { color: var(--hiring-accent); border-color: var(--hiring-border); background: var(--paper); }
.hiring-ad:not(.hiring-ad-archived) { margin-top: 20px; padding: 22px; border: 1px solid var(--hiring-border); border-radius: 7px; background: var(--paper); box-shadow: 0 4px 16px #00000005; }
.hiring-ad-archived { opacity: .8; }
.hiring-inquiries { padding: 30px; background: #fff4df; border: 1px solid #ead7ac; border-left: 4px solid #9a6416; border-radius: 10px; }
.hiring-inquiries > h2 { color: #7c4d0b; }
[data-theme="dark"] .hiring-inquiries { background: #332c1e; border-color: #655332; border-left-color: #e7be75; }
[data-theme="dark"] .hiring-inquiries > h2 { color: #f1d397; }
@media (min-width: 1100px) {
  .site-header .header-inner { width: calc(100% - 32px); max-width: 1600px; flex-wrap: nowrap; gap: 18px; padding-block: 24px; }
  .wordmark { font-size: 23px; padding: 10px 13px; flex-shrink: 0; }
  .wordmark-degree { font-size: 14px; }
  #navigation { order: 2; flex: 1; display: flex; min-width: 0; gap: 1px; padding: 4px; }
  #navigation a { flex: 1; padding: 11px 7px; gap: 5px; font-size: 12px; min-height: 46px; }
  .nav-icon { width: 14px; height: 14px; }
  .header-controls { order: 3; margin-left: 0; }
}
@media (max-width: 700px) {
  .about-layout { grid-template-columns: minmax(0,1fr); gap: 28px; padding-top: 28px; }
  .about-layout .contact-panel { display: grid; grid-template-columns: 110px minmax(0,1fr); column-gap: 24px; max-width: none; border-bottom: 1px solid var(--line); padding-bottom: 23px; }
  .about-layout .contact-panel > img { grid-column: 1; grid-row: 1/5; width: 110px; height: 110px; margin: 0; }
  .about-layout .contact-panel > :not(img) { grid-column: 2; }
  .about-layout .contact-panel .profile-links,.about-layout .contact-panel .pronounce-button,.about-layout .contact-panel .audio-status { grid-column: 1/-1; }
  .education-list > div { grid-template-columns: minmax(0,1fr); gap: 8px; }
  .hiring-group,.hiring-inquiries { padding: 22px; }
  .hiring-ad-heading { align-items: flex-start; }
}
@media (min-width: 701px) {
  .about-layout .contact-panel { grid-column: 1; grid-row: 1/3; }
  .about-biography { grid-column: 2; grid-row: 1; }
  .about-education { grid-column: 2; grid-row: 2; }
  .about-layout { row-gap: 10px; }
  .about-layout .education-list > div { grid-template-columns: 170px minmax(0,1fr); gap: 24px; }
}
@media (max-width: 700px) {
  .about-layout .profile-links { display: flex; flex-wrap: wrap; gap: 9px 18px; margin-top: 18px; padding-top: 18px; }
  .about-layout .contact-panel .pronounce-button { justify-self: start; margin-top: 16px; }
}

/* Home welcomes; About offers the fuller biography on the opposite side. */
.welcome-links { display: flex; flex-wrap: wrap; gap: 12px 25px; margin-top: 24px; }
.faculty-intro > p:first-of-type { color: var(--muted); }
@media (min-width: 701px) {
  .about-layout { grid-template-columns: minmax(0,1fr) 220px; }
  .about-layout .contact-panel { grid-column: 2; }
  .about-biography,.about-education { grid-column: 1; }
}
.people-faculty { padding: 26px; border: 1px solid var(--line); border-radius: 10px; background: var(--brand-soft); }
.people-group { margin-top: 36px; padding: 27px; border: 1px solid var(--people-line); border-top: 3px solid var(--people-accent); border-radius: 10px; background: var(--people-bg); }
.people-group .group-title { margin-top: 0; color: var(--people-accent); }
.people-phd { --people-accent: var(--brand); --people-bg: color-mix(in srgb,var(--brand) 7%,var(--paper)); --people-line: color-mix(in srgb,var(--brand) 20%,var(--line)); }
.people-undergraduate { --people-accent: var(--brand); --people-bg: color-mix(in srgb,var(--brand) 4%,var(--paper)); --people-line: color-mix(in srgb,var(--brand) 20%,var(--line)); }
.people-collaborators { --people-accent: var(--brand); --people-bg: color-mix(in srgb,var(--brand) 6%,var(--paper)); --people-line: color-mix(in srgb,var(--brand) 20%,var(--line)); }
.people-group .person-card { padding: 22px; border: 1px solid var(--people-line); border-radius: 8px; background: var(--paper); }
.people-group .person-initial { background: var(--people-bg); border-color: var(--people-line); color: var(--people-accent); }
@media (max-width: 700px) {
  .people-group { padding: 20px; }
  .people-group .people-grid { grid-template-columns: minmax(0,1fr); }
  .people-group .person-card { padding: 20px; }
}

/* University panels, with repeated offerings collected into course cards. */
.institution-panel { margin: 0 0 34px; padding: 27px; border: 1px solid var(--course-line); border-top: 3px solid var(--course-accent); border-radius: 10px; background: var(--course-panel); }
.institution-panel > h2 { color: var(--course-accent); margin-bottom: 24px; }
.institution-tcu { --course-accent: #4d1979; --course-panel: #f3eef8; --course-line: #ddd0e9; }
.institution-gsu { --course-accent: #0039a6; --course-panel: #eef3fc; --course-line: #cbd8f1; }
.institution-tu { --course-accent: #174b86; --course-panel: #f0f5fb; --course-line: #cbd9e9; border-left: 3px solid #cb8037; }
.institution-panel .course-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 20px; align-items: stretch; }
.institution-panel .course-card { min-width: 0; padding: 23px; border: 1px solid var(--course-line); border-radius: 8px; background: var(--paper); display: flex; flex-direction: column; }
.institution-panel .course-card h3 { font-size: 19px; }
.course-offerings { list-style: none; padding: 0; margin: 5px 0 18px; font-size: 13px; }
.course-offerings li { padding: 12px 0; border-top: 1px solid var(--line); color: var(--muted); line-height: 1.65; }
.course-offerings li > span { display: block; }
.course-offerings .course-term { color: var(--ink); font-weight: 600; margin-bottom: 4px; }
.course-campus { font-size: 11px; margin-bottom: 4px; }
.course-card .course-contribution { padding: 9px 11px; border-radius: 4px; background: var(--course-panel); color: var(--course-accent); font-size: 12px; }
.course-links { display: flex; flex-wrap: wrap; gap: 8px 15px; margin-top: auto; padding-top: 12px; }
.course-links .text-link { font-size: 12px; }
.additional-teaching { padding: 25px 0; margin-bottom: 20px; border-top: 1px solid var(--line); }
.additional-teaching h3 { font-size: 17px; }
.additional-teaching p { color: var(--muted); font-size: 14px; margin-bottom: 7px; }
[data-theme="dark"] .institution-tcu { --course-accent: #d3b8f5; --course-panel: #29223a; --course-line: #4a3a61; }
[data-theme="dark"] .institution-gsu { --course-accent: #a9ceed; --course-panel: #1d2b37; --course-line: #365267; }
[data-theme="dark"] .institution-tu { --course-accent: #a9ceed; --course-panel: #1d2b3d; --course-line: #385575; border-left-color: #d8a065; }
@media (max-width: 1000px) { .institution-panel .course-grid { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media (max-width: 600px) { .institution-panel { padding: 20px; } .institution-panel .course-grid { grid-template-columns: minmax(0,1fr); } }
.about-details { grid-column: 1/-1; }
.about-details .career-record { display: grid; grid-template-columns: 230px minmax(0,1fr); gap: 4px 30px; margin: 0; padding: 20px 0; border-bottom: 1px solid var(--line); }
.about-details .career-record h3 { grid-column: 2; margin: 0; }
.about-details .career-record .career-period { grid-column: 1; grid-row: 1/3; margin: 2px 0; }
.about-details .career-record p:not(.career-period),.about-details .career-record a { grid-column: 2; }
@media (max-width: 700px) {
 .about-details .career-record { display: flex; flex-direction: column; gap: 5px; }
 .about-details .career-record .career-period { order: -1; }
}

/* Student biographies and topic badges must never widen their grid tracks. */
.people-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
.person-card { min-width: 0; overflow-wrap: anywhere; }
.person-card h3,.person-card p,.person-card a { max-width: 100%; overflow-wrap: anywhere; }
.student-identity { margin-bottom: 12px; }
.person-card .student-identity h3 { margin: 0 0 3px; }
.person-card .person-role { margin: 0; line-height: 1.5; }
.person-card .student-bio { margin: 0; white-space: normal; line-height: 1.7; }
.student-interests { margin: 0 0 12px; }
.person-card .interests-label { margin: 0 0 6px; font-size: 11px; font-weight: 600; color: var(--ink); }
.student-interests .interest-badges { margin: 0; }
.student-links { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 16px; padding-top: 12px; border-top: 1px solid var(--people-line,var(--line)); }
.interest-badges { display: flex; flex-wrap: wrap; gap: 7px; list-style: none; margin: 16px 0; padding: 0; min-width: 0; }
.interest-badges li { max-width: 100%; min-width: 0; white-space: normal; overflow-wrap: anywhere; padding: 4px 10px; border: 1px solid var(--people-line,var(--line)); background: var(--people-bg,var(--brand-soft)); color: var(--people-accent,var(--brand)); border-radius: 14px; font-size: 11px; line-height: 1.5; }
@media (max-width: 1000px) and (min-width: 701px) { .people-grid { grid-template-columns: repeat(2,minmax(0,1fr)); } }

/* Two students per row for each research group; phones stack naturally. */
.people-group .people-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
@media (max-width: 700px) { .people-group .people-grid { grid-template-columns: minmax(0,1fr); } }

.institution-custom { --course-accent: var(--brand); --course-panel: var(--brand-soft); --course-line: color-mix(in srgb,var(--brand) 20%,var(--line)); }

@media (max-width: 1099px) { .site-header .header-inner { padding-block: 23px; } }

/* Keep identity and controls on one stable row at every compact width. */
.header-controls { flex-shrink: 0; }
@media (max-width: 1099px) {
  .site-header .header-inner { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 16px 12px; align-items: center; }
  .wordmark { justify-self: start; min-width: 0; max-width: 100%; }
  .header-controls { margin: 0; gap: 9px; }
  .menu-toggle { display: flex; align-items: center; justify-content: center; gap: 8px; height: 36px; padding: 7px 10px; border: 1px solid #ffffff40; border-radius: 5px; font-size: 12px; }
  #navigation { grid-column: 1/-1; grid-template-columns: repeat(3,minmax(0,1fr)); }
  #navigation a { justify-content: flex-start; min-height: 48px; padding: 12px; gap: 10px; font-size: 13px; }
  body.js #navigation { display: none; }
  body.js #navigation.is-open { display: grid; }
}
@media (max-width: 480px) {
  .site-header .header-inner { gap: 14px 8px; }
  .wordmark { font-size: clamp(16px,4.4vw,21px); gap: 4px; padding: 10px 8px; }
  .wordmark-degree { font-size: 11px; }
  .header-controls { gap: 7px; }
  .menu-toggle,.theme-toggle { width: 32px; height: 32px; padding: 6px; }
  #navigation { grid-template-columns: repeat(2,minmax(0,1fr)); }
}

/* Give compact menu labels a calm surface over the decorative artwork. */
@media (max-width: 1099px) {
  .site-header::before { background-position: center top; opacity: .44; }
  #navigation { background: color-mix(in srgb,var(--chrome-end) 88%,var(--chrome-start)); }
}

/* Give the complete college affiliation room on desktop. */
@media (min-width: 1000px) {
  .faculty-layout { grid-template-columns: 310px minmax(0,1fr); column-gap: 48px; }
  .about-layout { grid-template-columns: minmax(0,1fr) 310px; column-gap: 48px; }
}

.faculty-intro #about-heading {
  font-size: clamp(25px,2.2vw,28px);
  font-style: normal;
  font-weight: 400;
  letter-spacing: -.015em;
  line-height: 1.35;
  color: var(--ink);
  margin-bottom: 20px;
}

.contact-details { margin: 0; font-size: 12px; line-height: 1.65; }
.contact-details > div { display: grid; grid-template-columns: 46px minmax(0,1fr); gap: 8px; margin: 0 0 6px; }
.contact-details dt { font-weight: 600; color: var(--ink); }
.contact-details dd { margin: 0; min-width: 0; color: var(--muted); }
.contact-details a { overflow-wrap: anywhere; }
@media (max-width: 700px) {
  .about-layout .contact-panel > img { grid-row: 1; }
  .about-layout .contact-panel .contact-heading { grid-column: 1/-1; margin: 18px 0 9px; }
  .about-layout .contact-panel .contact-details { grid-column: 1/-1; }
  .about-layout .contact-panel .about-affiliation { margin: 0; }
}

.product-grid { display: grid; grid-template-columns: minmax(0,1fr); gap: 24px; align-items: start; }
.product-card { min-width: 0; padding: 26px; background: var(--brand-soft); border: 1px solid var(--line); border-top: 3px solid var(--brand); border-radius: 9px; scroll-margin-top: 24px; overflow-wrap: anywhere; }
.product-card h3 { font-size: 21px; margin: 0 0 12px; }
.product-description { font-size: 14px; line-height: 1.8; }
.product-license { font-size: 12px; color: var(--muted); }
.product-links { display: flex; flex-wrap: wrap; gap: 10px 20px; }
.product-papers { border-top: 1px solid var(--line); margin-top: 22px; padding-top: 16px; }
.product-papers h4 { margin: 0 0 8px; font-size: 13px; }
.product-papers ul { margin: 0; padding-left: 18px; font-size: 13px; }
.product-papers li { margin-bottom: 10px; }
.publication-product { margin: 10px 0 0; }
.products-empty { padding: 30px; border: 1px solid var(--line); border-radius: 9px; background: var(--brand-soft); }
@media (max-width: 700px) { .product-grid { grid-template-columns: minmax(0,1fr); } }
@media (min-width: 1100px) and (max-width: 1439px) { #navigation .nav-icon { display: none; } #navigation a { font-size: 11px; } }

/* Size desktop tabs to their labels instead of forcing equal-width columns. */
@media (min-width: 1100px) {
  #navigation { justify-content: space-between; gap: 1px; }
  #navigation a { flex: 0 0 auto; white-space: nowrap; padding-inline: 8px; }
  #navigation .nav-icon { width: 13px; height: 13px; }
}
@media (min-width: 1100px) and (max-width: 1439px) {
  .site-header .header-inner { gap: 12px; }
  #navigation a { padding-inline: 7px; font-size: 11px; }
}

/* Keep the longest menu label readable at compact breakpoints. */
#navigation a > span { white-space: nowrap; }
@media (max-width: 700px) {
  #navigation { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 380px) {
  #navigation { grid-template-columns: minmax(0,1fr); }
}

@media (min-width: 1100px) and (max-width: 1279px) {
  .wordmark { font-size: 21px; padding-inline: 10px; }
  .wordmark-degree { font-size: 13px; }
  .site-header .header-inner { gap: 10px; }
  #navigation a { padding-inline: 5px; }
}

/* A quiet orbital navigation rail: light labels, a luminous active marker. */
#navigation { background: #120c251a; border: 1px solid #ffffff1c; border-radius: 14px; padding: 5px; box-shadow: inset 0 1px 0 #ffffff08; }
#navigation a { position: relative; isolation: isolate; border-radius: 9px; color: #ffffffe0; font-weight: 500; transition: color .2s ease,background-color .2s ease; }
#navigation a:hover { color: #fff; background: #ffffff0d; }
#navigation a[aria-current] { color: #fff; background: linear-gradient(180deg,#ffffff0a,#ffffff12); box-shadow: none; font-weight: 600; text-shadow: 0 0 16px #ffffff30; }
#navigation a::after { content: ""; position: absolute; bottom: 3px; left: 25%; right: 25%; height: 1px; background: #ffffff75; opacity: 0; transform: scaleX(.5); transition: opacity .2s ease,transform .2s ease; pointer-events: none; }
#navigation a:hover::after { opacity: .5; transform: scaleX(1); }
#navigation a[aria-current]::after { opacity: 1; transform: scaleX(1); background: linear-gradient(90deg,transparent,#fff,transparent); box-shadow: 0 1px 7px #ffffff50; }
#navigation a[aria-current]::before { content: ""; position: absolute; bottom: 0; left: calc(50% - 2px); width: 4px; height: 4px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 3px #ffffff12,0 0 9px #ffffff80; pointer-events: none; }
#navigation a:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
@media (max-width: 1099px) {
  #navigation { background: color-mix(in srgb,var(--chrome-end) 88%,var(--chrome-start)); padding: 9px; gap: 7px; }
  #navigation a { min-height: 48px; padding-block: 13px; }
  #navigation a[aria-current] { background: #ffffff12; box-shadow: inset 2px 0 0 #ffffffb0; }
  #navigation a::after,#navigation a[aria-current]::before { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  #navigation a,#navigation a::after,.nav-icon { transition: none; }
  #navigation a:hover .nav-icon { transform: none; }
}

/* Readable navigation labels, with compact spacing reserved for laptop widths. */
@media (min-width: 1100px) {
  #navigation a { font-size: 13px; padding-inline: 7px; }
}
@media (min-width: 1100px) and (max-width: 1279px) {
  #navigation a { font-size: 12px; padding-inline: 4px; }
  .wordmark { font-size: 20px; }
  .site-header .header-inner { gap: 8px; }
}
@media (min-width: 1280px) and (max-width: 1439px) {
  #navigation a { padding-inline: 5px; }
}

/* A separate, broader scientific illustration gives the footer its own identity. */
.site-footer::before { background-image: url('../images/footer-science-pattern.svg'); background-size: 1440px 180px; background-position: center; transform: none; opacity: .8; }
.footer-bottom { min-height: 112px; padding-block: 38px; align-items: center; }
.footer-bottom > span,.footer-bottom > a { position: relative; text-shadow: 0 1px 4px #11182780; }
@media (max-width: 700px) {
  .footer-bottom { min-height: 120px; padding-block: 30px; justify-content: center; align-items: flex-start; gap: 8px; }
  .site-footer::before { opacity: .65; background-position: 65% center; }
}

/* Section rules provide separation; the final record needs no second rule. */
.about-details .career-record:last-child { border-bottom: 0; }

/* An accessible, dismissible note for prospective students. */
.hiring-notice { width: min(680px, calc(100% - 32px)); max-height: calc(100dvh - 40px); padding: 0; border: 1px solid var(--line); border-top: 4px solid var(--brand); border-radius: 10px; background: var(--paper); color: var(--ink); box-shadow: 0 24px 90px #0005; overscroll-behavior: contain; }
.hiring-notice::backdrop { background: #101322b3; }
.hiring-notice-content { padding: clamp(22px, 4vw, 36px); }
.hiring-notice h2 { color: var(--brand); font-size: clamp(25px, 4vw, 32px); margin-bottom: 16px; }
.hiring-notice p { font-size: 15px; line-height: 1.7; margin-bottom: 16px; }
.hiring-notice-closing { border-top: 1px solid var(--line); padding-top: 16px; }
.hiring-notice form { margin: 22px 0 0; }
.hiring-notice .button { white-space: normal; text-align: center; line-height: 1.5; }
.hiring-notice-reopen { display: block; padding: 0; margin: 0 0 28px; border: 0; background: none; color: var(--link); text-decoration: underline; text-underline-offset: 4px; text-align: left; }
.hiring-notice-reopen[hidden] { display: none; }
html:has(.hiring-notice[open]) { overflow: hidden; }

.hiring-notice-content { position: relative; }
.hiring-notice h2 { padding-right: 20px; }
.hiring-notice .hiring-notice-dismiss { position: absolute; top: 6px; right: 12px; margin: 0; }
.hiring-notice-dismiss button { border: 0; background: none; color: var(--muted); font-size: 28px; line-height: 1; padding: 8px; }
.hiring-notice h2:focus { outline: none; }

/* Keep navigation available while preserving space for the page content. */
html { scroll-padding-top: var(--sticky-header-offset, 120px); }
.site-header { position: sticky; top: 0; z-index: 10; transition: box-shadow .18s ease; }
.site-header .header-inner { transition: padding-block .18s ease; }
.site-header.is-scrolled { box-shadow: 0 4px 18px #11182726; }
.site-header.is-scrolled .header-inner { padding-block: 10px; }
@media (max-width: 1099px) {
  .site-header.is-scrolled .header-inner { padding-block: 12px; }
  body.js #navigation.is-open {
    max-height: calc(100vh - var(--header-row-height, 90px) - 24px);
    max-height: calc(100dvh - var(--header-row-height, 90px) - 24px);
    overflow-y: auto;
    overscroll-behavior: contain;
  }
}
@media (prefers-reduced-motion: reduce) {
  .site-header, .site-header .header-inner { transition: none; }
}

/* Profile sidebars share the live header offset instead of sliding underneath it. */
@media screen and (min-width: 701px) {
  .identity-sidebar, .about-layout .contact-panel {
    position: sticky;
    top: var(--sticky-header-offset, 120px);
    max-height: calc(100vh - var(--sticky-header-offset, 120px) - 16px);
    max-height: calc(100dvh - var(--sticky-header-offset, 120px) - 16px);
    overflow-y: auto;
    scrollbar-width: thin;
  }
  .about-layout .contact-panel { grid-row: 1 / 4; max-height: none; overflow: visible; }
  .about-layout .about-details { grid-column: 1; grid-row: 3; min-width: 0; }
  .about-details .career-record { grid-template-columns: 170px minmax(0,1fr); gap: 4px 24px; }
}

/* Compact, wrapping resources keep the About sidebar within the viewport. */
.about-layout .contact-panel .about-contact-resources { grid-column: 1/-1; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; border-top: 1px solid var(--line); padding-top: 14px; margin-top: 18px; }
.about-contact-resources .profile-links { display: contents; }
.about-contact-resources .profile-links a { font-size: 12px; }
.about-layout .contact-panel .about-contact-resources .pronounce-button { margin: 0; padding: 5px 8px; font-size: 11px; }
.about-layout .contact-panel .about-contact-resources .audio-status { flex-basis: 100%; margin: 0; font-size: 12px; }
.about-contact-resources .audio-status:empty { display: none; }
@media screen and (min-width: 701px) and (max-height: 600px) {
  .about-layout .contact-panel { position: static; }
}

/* A fixed SVG stroke avoids platform-specific emoji glyphs on outbound links. */
.link-arrow { display: inline-block; width: .85em; height: .85em; margin-inline-start: .25em; vertical-align: -.08em; opacity: .75; flex-shrink: 0; }
.identity-links .link-arrow { display: none; }
