:root {
  --ink: #1d1d1f;
  --ink-soft: #6e6e73;
  --paper: #f5f5f7;
  --white: #ffffff;
  --blue: #1670e8;
  --blue-soft: #e8f1ff;
  --teal: #188b83;
  --line: rgba(29, 29, 31, .10);
  --line-strong: rgba(29, 29, 31, .16);
  --glass: rgba(255, 255, 255, .78);
  --radius: 26px;
  --radius-small: 17px;
  --shadow: 0 24px 70px rgba(23, 32, 48, .10);
  --shadow-soft: 0 10px 35px rgba(23, 32, 48, .07);
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; line-height: 1.62; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
img { display: block; max-width: 100%; }
.hsa-container { width: min(calc(100% - 44px), var(--container)); margin-inline: auto; }
.hsa-narrow { max-width: 840px; }
.screen-reader-text, .hsa-skip-link { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.hsa-skip-link:focus { width: auto; height: auto; clip: auto; left: 18px; top: 18px; padding: 10px 16px; z-index: 1000; border-radius: 10px; background: #fff; }

/* Floating, quiet navigation */
.hsa-site-header { position: sticky; top: 0; z-index: 50; padding: 12px 0 0; background: linear-gradient(to bottom, rgba(245,245,247,.96), rgba(245,245,247,.78) 70%, transparent); }
.admin-bar .hsa-site-header { top: 32px; }
.hsa-header-inner { min-height: 60px; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 8px 12px 8px 10px; border: 1px solid rgba(255,255,255,.72); border-radius: 20px; background: var(--glass); box-shadow: 0 8px 30px rgba(20,27,40,.055); backdrop-filter: saturate(165%) blur(22px); -webkit-backdrop-filter: saturate(165%) blur(22px); }
.hsa-brand { min-width: max-content; display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.hsa-brand-mark { width: 34px; height: 34px; display: grid; place-items: center; color: #fff; background: var(--ink); border-radius: 11px; font-size: .66rem; font-weight: 700; letter-spacing: -.05em; }
.hsa-brand-copy { display: grid; line-height: 1.1; }
.hsa-brand-copy strong { font-size: .86rem; letter-spacing: -.015em; }
.hsa-brand-copy small { margin-top: 4px; color: var(--ink-soft); font-size: .58rem; font-weight: 600; text-transform: uppercase; letter-spacing: .11em; }
.hsa-menu { display: flex; align-items: center; gap: 3px; margin: 0; padding: 0; list-style: none; }
.hsa-menu a { display: block; padding: 9px 11px; border-radius: 10px; color: #3a3a3c; text-decoration: none; font-size: .76rem; font-weight: 600; transition: color .2s ease, background .2s ease; }
.hsa-menu a:hover, .hsa-menu .current-menu-item a { color: var(--ink); background: rgba(29,29,31,.055); }
.hsa-menu-toggle { display: none; padding: 7px; border: 0; border-radius: 10px; background: transparent; }
.hsa-menu-toggle > span:not(.screen-reader-text) { display: block; width: 22px; height: 1.5px; margin: 5px 0; background: var(--ink); }

/* Light editorial hero */
.hsa-hero { position: relative; overflow: hidden; padding: clamp(70px, 9vw, 126px) 0 clamp(76px, 9vw, 124px); }
.hsa-map-grid { position: absolute; inset: 0; pointer-events: none; opacity: .75; background-image: radial-gradient(circle at 8% 18%, rgba(22,112,232,.10), transparent 24%), radial-gradient(circle at 92% 30%, rgba(24,139,131,.11), transparent 25%), linear-gradient(rgba(29,29,31,.025) 1px, transparent 1px), linear-gradient(90deg, rgba(29,29,31,.025) 1px, transparent 1px); background-size: auto, auto, 72px 72px, 72px 72px; mask-image: linear-gradient(to bottom, #000 0, #000 62%, transparent 100%); }
.hsa-hero::after { content: ""; position: absolute; z-index: -1; width: 430px; height: 430px; right: 7%; top: 5%; border-radius: 50%; background: rgba(255,255,255,.78); filter: blur(2px); box-shadow: 0 0 0 76px rgba(255,255,255,.34), 0 0 0 152px rgba(255,255,255,.16); }
.hsa-hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(310px, .62fr); gap: clamp(48px, 8vw, 110px); align-items: center; }
.hsa-eyebrow, .hsa-kicker { margin: 0 0 17px; color: var(--blue); font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .15em; }
.hsa-hero h1, .hsa-page-hero h1 { max-width: 900px; margin: 0; font-family: "Source Serif 4", Georgia, serif; font-size: clamp(3.4rem, 7.5vw, 6.65rem); font-weight: 600; line-height: .96; letter-spacing: -.058em; text-wrap: balance; }
.hsa-hero-title { margin: 26px 0 0; color: #3f3f43; font-size: clamp(1.12rem, 2vw, 1.42rem); letter-spacing: -.02em; }
.hsa-affiliation { margin: 7px 0 0; color: var(--ink-soft); }
.hsa-hero-bio { max-width: 660px; margin: 28px 0 0; color: var(--ink-soft); font-size: 1.04rem; }
.hsa-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 11px; margin-top: 35px; }
.hsa-button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 21px; border: 1px solid transparent; border-radius: 999px; text-decoration: none; font-size: .85rem; font-weight: 700; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.hsa-button:hover { transform: translateY(-1px); }
.hsa-button-primary { color: #fff; background: var(--ink); box-shadow: 0 8px 24px rgba(29,29,31,.14); }
.hsa-button-primary:hover { box-shadow: 0 12px 30px rgba(29,29,31,.20); }
.hsa-button-ghost, .hsa-button-outline { color: var(--ink); border-color: var(--line-strong); background: rgba(255,255,255,.62); }
.hsa-button-light { color: var(--ink); background: #fff; }
.hsa-text-link { color: var(--blue); text-decoration: none; font-size: .84rem; font-weight: 700; }
.hsa-profile-card { padding: 17px; border: 1px solid rgba(255,255,255,.82); border-radius: 32px; background: rgba(255,255,255,.68); box-shadow: var(--shadow); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); }
.hsa-portrait { aspect-ratio: 4/4.3; display: grid; place-items: center; overflow: hidden; border-radius: 22px; color: #fff; background: linear-gradient(145deg, #e1e8f2, #9eb4cb 48%, #52687d); font-family: "Source Serif 4", serif; font-size: 4.4rem; letter-spacing: -.08em; }
.hsa-portrait img { width: 100%; height: 100%; object-fit: cover; }
.hsa-metrics { display: grid; gap: 0; padding: 12px 6px 0; }
.hsa-metrics div { display: grid; grid-template-columns: 1fr auto auto; gap: 7px; align-items: baseline; padding: 10px 2px; border-bottom: 1px solid var(--line); }
.hsa-metrics div:last-child { border-bottom: 0; }
.hsa-metrics strong { color: var(--ink); font-size: 1.25rem; }
.hsa-metrics span { color: #3f3f43; font-size: .7rem; font-weight: 700; }
.hsa-metrics small { color: #8b8b90; font-size: .63rem; }
.hsa-metrics b { grid-column: 1 / -1; color: var(--blue); font-size: .66rem; font-weight: 600; }
.hsa-updated { display: block; margin: 6px 0 2px; color: #929297; text-align: center; font-size: .64rem; }

/* Spacious content sections */
.hsa-section { padding: clamp(76px, 9vw, 122px) 0; }
.hsa-section h2 { margin: 0; font-family: "Source Serif 4", Georgia, serif; font-size: clamp(2.35rem, 4.9vw, 4.35rem); font-weight: 600; line-height: 1.06; letter-spacing: -.045em; text-wrap: balance; }
.hsa-section-split { display: grid; grid-template-columns: .95fr 1.05fr; gap: clamp(55px, 9vw, 120px); align-items: start; }
.hsa-focus-section { background: #fff; }
.hsa-interest-list { padding: 6px 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); }
.hsa-interest { display: grid; grid-template-columns: 52px 1fr; gap: 18px; align-items: center; padding: 21px 0; border-bottom: 1px solid var(--line); }
.hsa-interest:last-child { border-bottom: 0; }
.hsa-interest span { color: var(--blue); font-size: .7rem; font-weight: 700; }
.hsa-interest strong { font-size: .98rem; }
.hsa-section-heading { display: flex; justify-content: space-between; gap: 24px; align-items: end; margin-bottom: 42px; }
.hsa-publications-preview { background: var(--paper); }
.hsa-projects-preview { background: #fff; }
.hsa-empty { padding: 28px; border: 1px dashed var(--line-strong); border-radius: var(--radius-small); color: var(--ink-soft); background: rgba(255,255,255,.65); }
.hsa-collaboration { color: #fff; background: #17171a; }
.hsa-collaboration .hsa-kicker { color: #80b8ff; }
.hsa-collaboration-inner { display: grid; grid-template-columns: 1fr auto; gap: 48px; align-items: center; }
.hsa-collaboration h2 { max-width: 860px; }

/* Inner pages */
.hsa-page-main { min-height: 60vh; }
.hsa-page-hero { position: relative; overflow: hidden; padding: clamp(74px, 9vw, 122px) 0; background: linear-gradient(145deg, #fff 0%, #f2f5f9 58%, #edf4ff 100%); }
.hsa-page-hero::after { content: ""; position: absolute; width: 360px; height: 360px; right: 8%; top: -150px; border-radius: 50%; background: rgba(22,112,232,.07); filter: blur(10px); }
.hsa-page-hero h1 { font-size: clamp(3rem, 6.2vw, 5.4rem); }
.hsa-prose { padding-top: 66px; padding-bottom: 100px; font-size: 1.04rem; }
.hsa-prose > * { max-width: 820px; }
.hsa-prose h2, .hsa-prose h3 { margin-top: 2.2em; font-family: "Source Serif 4", serif; line-height: 1.15; letter-spacing: -.025em; }
.hsa-prose a { color: var(--blue); }
.hsa-post-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; padding-top: 58px; padding-bottom: 100px; }
.hsa-post-card { padding: 29px; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(255,255,255,.78); box-shadow: var(--shadow-soft); }
.hsa-post-card h2 { font-family: "Source Serif 4", serif; line-height: 1.2; letter-spacing: -.025em; }
.hsa-post-card h2 a { text-decoration: none; }
.hsa-post-meta { color: var(--blue); font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.hsa-not-found { padding: 120px 0; }
.hsa-detail-authors { max-width: 760px; margin: 24px 0 0; color: var(--ink-soft); font-size: 1.03rem; }
.hsa-detail-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; max-width: none; margin-bottom: 30px; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--line); box-shadow: var(--shadow-soft); }
.hsa-detail-facts div { display: grid; gap: 5px; padding: 19px; background: #fff; }
.hsa-detail-facts span { color: var(--blue); font-size: .68rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.hsa-detail-links { display: flex; flex-wrap: wrap; gap: 10px; max-width: none; margin: 0 0 44px; }

/* Footer */
.hsa-site-footer { padding: 58px 0 24px; color: #aeb0b5; background: #111113; }
.hsa-footer-grid { display: grid; grid-template-columns: 1fr auto; gap: 34px; }
.hsa-footer-name { margin: 0; color: #fff; font-family: "Source Serif 4", serif; font-size: 1.7rem; letter-spacing: -.03em; }
.hsa-profile-links { display: flex; flex-wrap: wrap; gap: 18px; margin: 0; padding: 0; list-style: none; }
.hsa-profile-links a { text-decoration: none; transition: color .2s ease; }
.hsa-profile-links a:hover { color: #fff; }
.hsa-footer-bottom { display: flex; justify-content: space-between; gap: 24px; margin-top: 44px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.10); font-size: .73rem; }

@media (max-width: 1040px) {
  .hsa-menu-toggle { display: block; }
  .hsa-primary-nav { display: none; position: absolute; top: 80px; left: 22px; right: 22px; padding: 12px; border: 1px solid rgba(255,255,255,.78); border-radius: 18px; background: rgba(255,255,255,.94); box-shadow: var(--shadow); backdrop-filter: blur(22px); }
  .hsa-primary-nav.is-open { display: block; }
  .hsa-menu { align-items: stretch; flex-direction: column; }
  .hsa-menu a { padding: 11px 12px; }
  .hsa-hero-grid { grid-template-columns: 1fr; }
  .hsa-profile-card { max-width: 480px; }
  .hsa-section-split { grid-template-columns: 1fr; }
}

@media (max-width: 782px) { .admin-bar .hsa-site-header { top: 46px; } }

@media (max-width: 680px) {
  .hsa-container { width: min(calc(100% - 28px), var(--container)); }
  .hsa-site-header { padding-top: 8px; }
  .hsa-header-inner { min-height: 56px; border-radius: 17px; }
  .hsa-brand-copy small { display: none; }
  .hsa-brand-copy strong { max-width: 190px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .hsa-primary-nav { top: 72px; left: 14px; right: 14px; }
  .hsa-hero { padding-top: 58px; }
  .hsa-hero h1 { font-size: clamp(3rem, 15vw, 4.5rem); }
  .hsa-section-heading { align-items: start; flex-direction: column; }
  .hsa-collaboration-inner, .hsa-footer-grid { grid-template-columns: 1fr; }
  .hsa-post-grid { grid-template-columns: 1fr; }
  .hsa-footer-bottom { flex-direction: column; }
  .hsa-detail-facts { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
