/* HOPE Lab responsive light design system */
:root {
  --bg: #f7fbfd; --surface: #ffffff; --surface-2: #edf6f9; --surface-3: #e1f0f4;
  --text: #203744; --muted: #657b85; --muted-2: #4f6874; --accent: #287c92; --accent-2: #5e9b84;
  --line: #d8e8ed; --soft: #f1f8fa; --shadow: 0 14px 34px rgba(38,93,110,.08); --radius: 14px;
  --display: "Plus Jakarta Sans", Arial, sans-serif; --body: "Source Sans 3", Arial, sans-serif; --max: 1200px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 16px/1.72 var(--body); -webkit-font-smoothing: antialiased; }
img { display:block; max-width:100%; }
a { color: var(--accent); text-decoration:none; }
a:hover { color: var(--accent-2); }
button,input { font:inherit; }
a,button { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid var(--accent-2); outline-offset: 3px; }
::selection { background: color-mix(in srgb, var(--accent) 22%, white); color: var(--text); }
.site-shell { width:min(var(--max), calc(100% - 56px)); margin-inline:auto; }
.skip-link { position:absolute; left:16px; top:-70px; z-index:100; padding:10px 14px; background:var(--accent); color:white; border-radius:6px; font-weight:700; }
.skip-link:focus { top:12px; }
.eyebrow,.index-label,.hero-label,.hero-affiliation,.visual-caption,.recent-kicker,.footer-col h2,.publication-search label,.publication-year,.group-number,.people-count,.preprint-label { font-family:var(--display); font-weight:700; text-transform:uppercase; letter-spacing:.13em; }
.eyebrow { margin:0 0 12px; color:var(--accent); font-size:.7rem; line-height:1.45; }
.section { padding:80px 0; }
.section-heading { display:flex; justify-content:space-between; align-items:end; gap:28px; margin-bottom:34px; }
.section-heading h2,.carbon-section-head h2,.pi-copy h2,.connect-inner h2,.context-grid h2,.opportunities-inner h2 { margin:0 0 10px; font-family:var(--display); font-weight:650; font-size:clamp(2rem,4vw,3.2rem); line-height:1.1; letter-spacing:-.045em; }
.section-subtitle { max-width:820px; margin:0; color:var(--muted); font-size:1.02rem; line-height:1.75; }
.subtle-link,.discover-link { display:inline-flex; align-items:center; gap:8px; color:var(--accent); font-size:.85rem; font-weight:700; white-space:nowrap; }
.subtle-link span,.discover-link span { transition:transform .2s ease; }
.subtle-link:hover span,.discover-link:hover span { transform:translate(3px,-2px); }
/* Header */
.site-header { position:sticky; top:0; z-index:40; background:color-mix(in srgb, var(--bg) 92%, transparent); border-bottom:1px solid var(--line); backdrop-filter:blur(14px); }
.header-row { min-height:82px; display:flex; align-items:center; justify-content:space-between; gap:24px; }
.brand { display:inline-flex; align-items:center; gap:12px; min-width:205px; color:var(--text); }
.brand { flex-direction:column; align-items:flex-start; justify-content:center; gap:1px; min-width:230px; }
.brand img.brand-logo { display:block; width:clamp(185px,18vw,236px); height:auto; max-height:60px; object-fit:contain; padding:0; background:transparent; }
.brand-copy small { display:block; margin:0 0 0 3px; color:var(--muted); font-size:.65rem; letter-spacing:.06em; }
.brand-copy strong { display:block; font:750 1.15rem/1.2 var(--display); letter-spacing:-.02em; }
.brand-copy small { display:block; margin-top:4px; color:var(--muted); font-size:.66rem; letter-spacing:.06em; }
.primary-nav { display:flex; align-items:center; justify-content:flex-end; gap:clamp(12px,1.7vw,24px); margin-left:auto; }
.nav-link { position:relative; padding:11px 0; color:var(--muted-2); font:750 .82rem/1.2 var(--display); letter-spacing:.075em; text-transform:uppercase; white-space:nowrap; transition:color .2s ease; }
.nav-link::after { position:absolute; right:0; bottom:3px; left:0; height:2px; background:var(--accent); content:''; transform:scaleX(0); transform-origin:left; transition:transform .2s ease; }
.nav-link:hover,.nav-link.active { color:var(--accent); }
.nav-link:hover::after,.nav-link.active::after { transform:scaleX(1); }
.nav-cta { display:inline-flex; flex:0 0 auto; align-items:center; justify-content:center; gap:8px; min-height:44px; margin-left:4px; padding:0 17px; border:1px solid var(--accent); border-radius:999px; color:var(--accent); background:transparent; font:750 .79rem var(--display); letter-spacing:.06em; text-transform:uppercase; white-space:nowrap; transition:background .2s,color .2s,transform .2s; }
.nav-cta:hover { color:white; background:var(--accent); transform:translateY(-1px); }
.menu-toggle { display:none; border:1px solid var(--line); border-radius:7px; padding:9px 13px; background:var(--surface); color:var(--text); cursor:pointer; font:700 .78rem var(--body); }
/* Home hero */
.hero-home { position:relative; overflow:hidden; padding:82px 0 72px; border-bottom:1px solid var(--line); background:linear-gradient(125deg,var(--soft),var(--bg) 70%); }
.hero-home::after { position:absolute; top:-220px; right:-160px; width:570px; height:570px; border:1px solid color-mix(in srgb,var(--accent) 18%,transparent); border-radius:50%; box-shadow:0 0 0 45px color-mix(in srgb,var(--accent) 4%,transparent),0 0 0 100px color-mix(in srgb,var(--accent) 3%,transparent); content:''; pointer-events:none; }
.hero-grid { position:relative; z-index:1; display:grid; grid-template-columns:minmax(280px,.86fr) minmax(0,1.14fr); grid-template-areas:"intro copy"; align-items:center; gap:clamp(30px,4vw,56px); }
.hero-intro { grid-area:intro; min-width:0; align-self:stretch; display:flex; flex-direction:column; gap:16px; }
.hero-copy { grid-area:copy; min-width:0; }
.hero-label { margin:0; color:var(--accent); font-size:.78rem; line-height:1.65; letter-spacing:.12em; }
.hero-copy h1 { max-width:760px; margin:0 0 24px; font-family:var(--display); font-weight:650; font-size:clamp(3.1rem,6vw,5.6rem); line-height:1.01; letter-spacing:-.06em; }
.hero-copy h1 em { color:var(--accent); font-style:normal; }
.hero-description { max-width:720px; margin:0; color:var(--muted-2); font-size:1.02rem; line-height:1.82; }
.hero-actions { display:flex; flex-wrap:wrap; gap:11px; margin-top:26px; }
.button { display:inline-flex; align-items:center; justify-content:center; gap:9px; min-height:47px; padding:12px 18px; border:1px solid transparent; border-radius:var(--radius); font:700 .84rem/1.2 var(--body); white-space:normal; text-align:center; transition:transform .18s,background .18s,border-color .18s; }
.button:hover { transform:translateY(-2px); }
.button-primary { color:white; background:var(--accent); }
.button-primary:hover { color:white; background:color-mix(in srgb,var(--accent) 84%,black); }
.button-secondary { border-color:var(--line); color:var(--text); background:var(--surface); }
.button-secondary:hover { border-color:var(--accent); color:var(--accent); }
.hero-affiliation { margin:27px 0 0; color:var(--muted); font-size:.67rem; line-height:1.8; letter-spacing:.09em; }
.hero-affiliation span { padding:0 5px; color:var(--accent-2); }
.hero-visual { position:relative; display:grid; align-content:start; gap:13px; min-width:0; margin-top:auto; padding:13px; border:1px solid var(--line); border-radius:var(--radius); background:var(--surface); box-shadow:var(--shadow); }
.hero-visual img { width:100%; height:clamp(290px,31vw,410px); object-fit:cover; object-position:center; border-radius:calc(var(--radius) - 3px); }
.hero-copy h1 { font-size:clamp(3.05rem,5.7vw,5.15rem); }
.hero-description { max-width:760px; font-size:1.08rem; line-height:1.86; }
.visual-caption { display:flex; flex-wrap:wrap; align-items:center; justify-content:center; gap:7px 9px; margin:0; padding:10px 7px 5px; border-top:1px solid var(--line); color:var(--muted-2); font-size:.59rem; line-height:1.55; letter-spacing:.09em; text-align:center; }
.visual-caption i { color:var(--accent-2); font-style:normal; }
/* Research focus */
.focus-section { background:var(--bg); }
.clinical-heading { margin-bottom:32px; }
.clinical-heading h2 { max-width:820px; margin-bottom:8px; }
.clinical-heading .section-subtitle { color:var(--accent); font-size:1.06rem; }
.focus-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:17px; }
.focus-card { display:grid; grid-template-columns:minmax(145px,35%) minmax(0,1fr); align-items:stretch; overflow:hidden; min-width:0; border:1px solid var(--line); border-radius:var(--radius); background:var(--surface); box-shadow:var(--shadow); }
.focus-image { display:block; min-height:220px; overflow:hidden; background:var(--surface-2); }
.focus-image img { width:100%; height:100%; min-height:220px; object-fit:cover; transition:transform .45s ease; }
.focus-image:hover img { transform:scale(1.04); }
.focus-content { display:flex; flex-direction:column; align-items:flex-start; min-height:220px; padding:22px 21px 20px; }
.index-label { color:var(--accent); font-size:.56rem; }
.focus-content h3 { margin:0 0 9px; font:700 1.15rem/1.25 var(--display); letter-spacing:-.025em; }
.focus-content p { flex:1; margin:0 0 16px; color:var(--muted); font-size:.88rem; line-height:1.7; }
.discover-link { margin-top:auto; font-size:.8rem; }
/* Framework */
.carbon-section { background:var(--surface-2); }
.carbon-section-head { display:flex; align-items:end; justify-content:space-between; gap:28px; margin-bottom:30px; }
.carbon-section-head h2 { max-width:760px; }
.carbon-section-head .section-subtitle { max-width:820px; }
.framework-side-label { flex:0 0 auto; padding-left:16px; border-left:1px solid var(--line); color:var(--accent); font:700 .65rem/1.6 var(--display); letter-spacing:.14em; }
.carbon-framework-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:12px; }
.carbon-step { position:relative; min-height:230px; padding:24px 20px 21px; border:1px solid var(--line); border-top:4px solid var(--accent); border-radius:var(--radius); background:var(--surface); box-shadow:var(--shadow); }
.carbon-step.tone-two { border-top-color:var(--accent-2); }
.carbon-step.tone-three { border-top-color:#7d9d75; }
.carbon-step.tone-four { border-top-color:#b28b68; }
.step-code { display:block; margin:2px 0 15px; color:var(--accent); font:750 2rem/.95 var(--display); letter-spacing:-.05em; }
.carbon-step h3 { margin:0 0 10px; font:700 1.02rem/1.27 var(--display); }
.carbon-step strong { display:block; margin-bottom:8px; color:var(--accent); font-size:.79rem; }
.carbon-step p { margin:0; color:var(--muted); font-size:.82rem; line-height:1.65; }
/* Publications summary */
.home-output-section { background:var(--bg); }
.output-heading { margin-bottom:25px; }
.recent-publications { border-top:1px solid var(--line); }
.recent-kicker { display:flex; justify-content:space-between; gap:18px; padding:13px 0; color:var(--muted); font-size:.59rem; }
.home-publication { display:grid; grid-template-columns:60px minmax(0,1fr) 24px; align-items:start; gap:17px; padding:20px 0; border-top:1px solid var(--line); }
.home-pub-year { color:var(--accent); font:700 .78rem var(--display); }
.home-publication h3 { margin:0 0 7px; font:650 1.08rem/1.48 var(--display); }
.home-journal { margin:0; color:var(--accent); font-weight:700; font-size:.88rem; }
.home-doi { margin:4px 0 0; font-size:.68rem; line-height:1.4; }
.home-doi a { color:var(--muted); font-weight:600; text-decoration:none; }
.home-doi a:hover { color:var(--accent); text-decoration:underline; }
.pub-index-arrow { color:var(--accent); }
.paper-stat-band { display:grid; grid-template-columns:135px minmax(0,1fr) auto; align-items:center; gap:22px; margin-top:31px; padding:27px 29px; border:1px solid var(--line); border-radius:var(--radius); background:var(--surface-2); }
.paper-stat-number { color:var(--accent); font:750 clamp(3rem,5vw,4.6rem)/.95 var(--display); letter-spacing:-.07em; }
.paper-stat-copy .eyebrow { margin-bottom:6px; }
.paper-stat-copy h3 { margin:0 0 7px; font:700 1.35rem var(--display); }
.paper-stat-copy p:last-child { margin:0; color:var(--muted); font-size:.86rem; }
/* PI */
.pi-home-section { padding:76px 0; background:var(--surface); border-block:1px solid var(--line); }
.pi-layout { display:grid; grid-template-columns:minmax(230px,.68fr) minmax(0,1.32fr); align-items:start; gap:40px; }
.pi-stamp { display:block; padding:13px 0 0; border:0; border-top:3px solid var(--accent); background:transparent; }
.pi-stamp span { display:block; color:var(--accent); font:800 clamp(3.4rem,6vw,6rem)/.9 var(--display); letter-spacing:-.07em; white-space:nowrap; }
.pi-copy h2 { margin:0 0 9px; color:var(--text); font:700 clamp(1.85rem,3vw,2.6rem)/1.08 var(--display); letter-spacing:-.045em; }
.pi-copy .pi-role { margin:0 0 16px; color:var(--accent); font-size:.96rem; font-weight:700; }
.pi-copy p:not(.eyebrow) { color:var(--muted-2); font-size:.96rem; line-height:1.78; }
/* Connect and CTA */
.connect-section { padding:68px 0; background:var(--surface-2); }
.connect-inner { display:flex; align-items:center; justify-content:space-between; gap:38px; }
.connect-inner > div { max-width:850px; }
.connect-inner h2 { margin-bottom:10px; }
.connect-inner p:not(.eyebrow) { margin:0; color:var(--muted); font-size:.92rem; }
/* Inner page heroes */
.page-hero { padding:66px 0 58px; border-bottom:1px solid var(--line); background:linear-gradient(120deg,var(--soft),var(--bg)); }
.page-hero-grid { display:grid; grid-template-columns:minmax(0,1.2fr) minmax(220px,.8fr); align-items:center; gap:40px; }
.page-hero h1 { margin:0 0 15px; font:700 clamp(3rem,6vw,5rem)/1.02 var(--display); letter-spacing:-.06em; }
.page-hero h1 em { color:var(--accent); font-style:normal; }
.page-lead { max-width:780px; margin:0; color:var(--muted-2); font-size:1.05rem; line-height:1.8; }
.page-art { display:grid; place-items:center; min-height:220px; padding:18px; border:1px solid var(--line); border-radius:var(--radius); background:var(--surface); }
.page-art img { width:100%; max-height:220px; object-fit:contain; }
/* Research foundations */
.foundation-section { background:var(--surface); }
.foundation-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:14px; }
.foundation-card { display:flex; align-items:end; min-height:180px; padding:23px; border:1px solid var(--line); border-radius:var(--radius); background:var(--surface-2); }
.foundation-card h3 { margin:0 0 9px; font:700 1.2rem var(--display); }
.foundation-card p { margin:0; color:var(--muted); font-size:.87rem; }
/* 1H-2O-3P-4E on research page */
.discovery-section { display:grid; grid-template-columns:minmax(260px,.9fr) minmax(400px,1.1fr); align-items:start; gap:48px; padding:70px max(28px,calc((100vw - var(--max))/2)); background:var(--surface-2); }
.discovery-copy h2 { margin:0 0 15px; font:700 clamp(2rem,3.4vw,2.8rem)/1.1 var(--display); letter-spacing:-.04em; }
.discovery-copy p:not(.eyebrow) { margin:0; color:var(--muted); font-size:.9rem; }
.framework-mini-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:11px; }
.framework-mini-card { padding:20px 18px; border:1px solid var(--line); border-radius:var(--radius); background:var(--surface); }
.framework-mini-card span { display:block; margin-bottom:9px; color:var(--accent); font:750 1.75rem var(--display); }
.framework-mini-card h3 { margin:0 0 7px; font:700 1rem/1.25 var(--display); }
.framework-mini-card p { margin:0; color:var(--muted); font-size:.8rem; }
/* Research themes */
.themes-section { padding-top:72px; }
.themes-list { border-top:1px solid var(--line); }
.theme-row { display:grid; grid-template-columns:minmax(220px,.72fr) minmax(0,1.28fr); gap:48px; padding:30px 0; border-bottom:1px solid var(--line); scroll-margin-top:100px; }
.theme-heading { display:flex; align-items:baseline; gap:14px; }
.theme-heading > span { color:var(--accent); font:600 1.7rem var(--display); }
.theme-heading .eyebrow { margin-bottom:7px; font-size:.57rem; }
.theme-heading h3 { margin:0; font:700 clamp(1.55rem,2.5vw,1.9rem)/1.16 var(--display); letter-spacing:-.04em; }
.theme-content p { margin:0; color:var(--muted-2); font-size:.92rem; line-height:1.76; }
.theme-tags { display:flex; flex-wrap:wrap; gap:8px; margin:16px 0 0; padding:0; list-style:none; }
.theme-tags li { padding:6px 10px; border:1px solid var(--line); border-radius:999px; color:var(--muted-2); background:var(--soft); font-size:.73rem; }
.context-section { background:var(--surface); border-top:1px solid var(--line); }
.context-grid { display:grid; grid-template-columns:.8fr 1.2fr; gap:48px; }
.context-grid p { margin:0 0 16px; color:var(--muted); font-size:.92rem; }
/* Publications */
.publications-hero .publication-stat-block { display:flex; justify-content:flex-end; gap:25px; }
.publication-stat-block > div { display:flex; flex-direction:column; align-items:flex-start; padding-left:20px; border-left:1px solid var(--line); }
.publication-stat-block strong { color:var(--accent); font:700 3.3rem/.95 var(--display); letter-spacing:-.06em; }
.publication-stat-block span { margin-top:8px; color:var(--muted); font:700 .6rem/1.5 var(--display); letter-spacing:.12em; }
.publication-section { padding-top:62px; }
.publication-controls { display:flex; align-items:end; justify-content:space-between; gap:28px; margin-bottom:18px; }
.publication-controls h2 { margin:0 0 7px; font:700 clamp(2rem,3.8vw,3rem)/1.08 var(--display); letter-spacing:-.045em; }
.publication-controls .section-subtitle { font-size:.9rem; }
.publication-search { width:min(470px,48%); }
.publication-search label { display:block; margin-bottom:8px; color:var(--muted); font-size:.6rem; }
.search-row { display:flex; align-items:stretch; gap:8px; }
.search-row input { flex:1 1 auto; width:auto; min-width:0; min-height:47px; padding:0 14px; border:1px solid var(--line); border-radius:var(--radius); outline:none; background:var(--surface); color:var(--text); font-size:.85rem; }
.search-row input::placeholder { color:var(--muted); }
.search-row input:focus { border-color:var(--accent); box-shadow:0 0 0 3px color-mix(in srgb,var(--accent) 14%,transparent); }
.search-row button { flex:0 0 106px; width:106px; min-width:0; border:1px solid var(--accent); border-radius:var(--radius); background:var(--accent); color:white; cursor:pointer; font:700 .76rem var(--body); }
.search-clear { display:block; margin:7px 0 0 auto; padding:4px 0; border:0; background:none; color:var(--muted); cursor:pointer; font-size:.72rem; text-decoration:underline; text-underline-offset:3px; }
.search-status { margin:0 0 18px; color:var(--muted); font-size:.77rem; }
.publication-group { margin:34px 0 44px; }
.publication-group-head { display:grid; grid-template-columns:40px 1fr auto; align-items:baseline; gap:13px; padding:0 0 12px; border-bottom:1px solid var(--line); }
.group-number { color:var(--accent); font-size:.7rem; }
.publication-group-head h3 { margin:0; font:700 1.15rem/1.25 var(--display); }
.publication-group-head small { color:var(--muted); font:700 .58rem var(--display); letter-spacing:.1em; }
.publication-row { display:grid; grid-template-columns:58px minmax(0,1fr) 20px; gap:16px; align-items:start; padding:18px 2px; border-bottom:1px solid var(--line); }
.publication-year { padding-top:3px; color:var(--accent); font-size:.69rem; letter-spacing:.06em; }
.publication-main h3 { margin:0 0 7px; color:var(--text); font:650 1.08rem/1.48 var(--display); }
.publication-authors { margin:0 0 5px; color:var(--muted); font-size:.81rem; line-height:1.55; }
.publication-journal { margin:0; color:var(--accent); font:750 .98rem/1.4 var(--display); }
.publication-doi { margin:4px 0 0; font-size:.7rem; line-height:1.45; }
.publication-doi a { color:var(--muted); font-weight:600; text-decoration:none; }
.publication-doi a:hover { color:var(--accent); text-decoration:underline; }
.publication-mark { padding-top:2px; color:var(--accent-2); }
.searchable-item[hidden],.publication-group[hidden] { display:none !important; }
.no-results { margin:24px 0; padding:18px; border:1px solid var(--line); border-radius:var(--radius); color:var(--muted); background:var(--surface); }
.preprint-section { background:var(--surface-2); }
.preprint-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:13px; }
.preprint-card { padding:22px; border:1px solid var(--line); border-radius:var(--radius); background:var(--surface); }
.preprint-label { display:block; margin-bottom:11px; color:var(--accent); font-size:.6rem; }
.preprint-card h3 { margin:0 0 9px; font:700 1.05rem/1.37 var(--display); }
.preprint-card p { margin:0; color:var(--muted); font-size:.8rem; }
/* People */
.people-hero { border-top:3px solid var(--accent); }
.people-pi-section { padding-bottom:60px; }
.pi-profile-card { display:grid; grid-template-columns:250px minmax(0,1fr); gap:30px; padding:24px; border:1px solid var(--line); border-top:4px solid var(--accent); border-radius:var(--radius); background:var(--surface); box-shadow:var(--shadow); }
.pi-profile-mark { display:flex; flex-direction:column; align-items:center; justify-content:center; min-height:205px; border:1px solid var(--line); border-radius:var(--radius); background:var(--surface-2); }
.pi-profile-mark span,.pi-profile-mark small { color:var(--accent); font:700 .58rem var(--display); letter-spacing:.15em; }
.pi-profile-mark strong { margin:12px 0; color:var(--text); font:700 4rem/.9 var(--display); letter-spacing:-.08em; }
.pi-profile-content h3 { margin:0 0 5px; font:700 1.65rem var(--display); }
.pi-profile-content p { margin:7px 0; color:var(--muted); font-size:.88rem; line-height:1.7; }
.pi-profile-content .pi-role { color:var(--accent); font-weight:700; }
.people-group-section { padding-top:44px; }
.people-count { color:var(--muted); font-size:.59rem; }
.people-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; }
.person-card { display:flex; align-items:center; gap:14px; min-width:0; padding:16px 18px; border:1px solid var(--line); border-radius:var(--radius); border-left:3px solid var(--accent); background:var(--surface); }
.person-marker { display:grid; flex:0 0 42px; place-items:center; width:42px; height:42px; border:1px solid var(--line); border-radius:50%; color:var(--accent); background:var(--soft); font:700 .82rem var(--display); letter-spacing:.03em; }
.person-card h3 { margin:0 0 3px; font:700 .98rem/1.3 var(--display); }
.person-card p { margin:0; color:var(--muted); font-size:.78rem; }
.alumni-section { padding-top:54px; }
.alumni-card { border-left-color:var(--accent-2); }
.opportunities-section { background:var(--surface-2); }
.opportunities-inner { display:flex; align-items:center; justify-content:space-between; gap:36px; }
.opportunities-inner > div { max-width:900px; }
.opportunities-inner h2 { font-size:clamp(1.9rem,3.5vw,2.7rem); }
.opportunities-inner p:not(.eyebrow) { margin:0; color:var(--muted); font-size:.9rem; }
.opportunities-inner .button { flex:0 0 auto; }
/* Contact */
.contact-hero { border-top:3px solid var(--accent-2); }
.contact-details-section { padding-top:60px; }
.contact-card-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:15px; }
.contact-card { min-height:220px; padding:23px; border:1px solid var(--line); border-radius:var(--radius); background:var(--surface); box-shadow:var(--shadow); }
.contact-symbol { display:grid; place-items:center; width:42px; height:42px; margin-bottom:19px; border:1px solid var(--line); border-radius:50%; color:var(--accent); background:var(--soft); font:700 1.1rem var(--display); }
.contact-card .eyebrow { margin-bottom:7px; font-size:.58rem; }
.contact-card h2 { margin:0 0 8px; font:700 1.16rem/1.25 var(--display); }
.contact-card p:not(.eyebrow) { margin:0; color:var(--muted); font-size:.86rem; line-height:1.7; overflow-wrap:anywhere; }
.contact-card a:not(.contact-card-link) { color:var(--accent); font-weight:700; }
.contact-card-link { display:inline-block; margin-top:13px; font-size:.78rem; font-weight:700; }
.contact-cta-section { padding-top:10px; }
.contact-cta-band { display:flex; align-items:center; justify-content:space-between; gap:32px; padding:35px 36px; border:1px solid var(--line); border-radius:var(--radius); background:var(--surface-2); }
.contact-cta-band > div { max-width:820px; }
.contact-cta-band h2 { margin:0 0 10px; font:700 clamp(1.7rem,3vw,2.35rem)/1.12 var(--display); letter-spacing:-.04em; }
.contact-cta-band p:not(.eyebrow) { margin:0; color:var(--muted); font-size:.9rem; }
/* Footer */
.site-footer { padding:48px 0 20px; border-top:1px solid var(--line); background:var(--surface); color:var(--text); }
.footer-grid { display:grid; grid-template-columns:1.35fr 1fr 1fr 1.1fr; gap:26px; }
.footer-brand-row { display:flex; align-items:center; gap:10px; }
.footer-brand-row img { width:42px; height:42px; object-fit:contain; }
.footer-brand-row strong { font:750 1.2rem var(--display); }
.footer-identity p { margin:13px 0 0; color:var(--muted); font-size:.8rem; }
.footer-identity .footer-keywords { color:var(--accent); font-size:.73rem; }
.footer-col h2 { margin:4px 0 12px; color:var(--accent); font-size:.64rem; }
.footer-col a { display:block; margin:7px 0; color:var(--muted-2); font-size:.8rem; }
.footer-col a[href*="hope-research"] { font-size:.75rem; }
.footer-col a:hover { color:var(--accent); }
.footer-bottom { display:flex; justify-content:space-between; gap:20px; margin-top:30px; padding-top:16px; border-top:1px solid var(--line); color:var(--muted); font-size:.7rem; }
/* Responsive: tablet navigation collapses early to avoid crowding. */
@media (max-width: 980px) {
  .header-row { min-height:74px; }
  .menu-toggle { display:inline-flex; align-items:center; }
  .primary-nav { display:none; position:absolute; top:74px; right:0; left:0; margin:0; padding:10px 28px 18px; border-bottom:1px solid var(--line); background:var(--surface); flex-direction:column; align-items:stretch; gap:0; box-shadow:var(--shadow); }
  .primary-nav.open { display:flex; }
  .nav-link { padding:13px 0; border-bottom:1px solid var(--line); }
  .nav-link::after { display:none; }
  .nav-cta { align-self:flex-start; margin:13px 0 0; }
  .hero-grid { grid-template-columns:minmax(245px,.85fr) minmax(0,1.15fr); gap:25px; }
  .focus-grid { grid-template-columns:1fr; }
  .carbon-framework-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .discovery-section { grid-template-columns:1fr; gap:27px; }
  .theme-row { grid-template-columns:minmax(190px,.7fr) minmax(0,1.3fr); gap:28px; }
  .footer-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media (max-width: 700px) {
  html { scroll-padding-top:78px; }
  body { font-size:15.5px; line-height:1.72; }
  .site-shell { width:calc(100% - 36px); }
  .header-row { min-height:68px; }
  .brand { min-width:0; }
  .brand img.brand-logo { width:190px; max-height:49px; }
  .brand-copy small { font-size:.56rem; }
  .primary-nav { top:68px; padding-inline:18px; }
  .hero-home { padding:49px 0 45px; }
  .hero-grid { grid-template-columns:1fr; grid-template-areas:"intro" "copy"; gap:25px; align-items:start; }
  .hero-intro { gap:12px; }
  .hero-copy h1 { font-size:clamp(2.8rem,11.5vw,4.2rem); line-height:1.04; }
  .hero-description { font-size:.94rem; line-height:1.78; }
  .hero-actions { display:grid; grid-template-columns:1fr; gap:9px; }
  .hero-actions .button { width:100%; }
  .hero-affiliation { font-size:.61rem; line-height:1.8; }
  .hero-visual { padding:9px; margin-top:0; }
  .hero-visual img { height:clamp(190px,55vw,285px); }
  .visual-caption { font-size:.54rem; gap:6px; }
  .section { padding:56px 0; }
  .section-heading,.carbon-section-head,.publication-controls { display:block; }
  .section-heading h2,.carbon-section-head h2 { font-size:clamp(1.8rem,8vw,2.45rem); }
  .section-heading > .subtle-link { margin-top:15px; }
  .focus-grid { grid-template-columns:1fr; }
  .focus-card { grid-template-columns:1fr; }
  .focus-image { height:190px; min-height:0; }
  .focus-image img { height:190px; min-height:0; }
  .focus-content { min-height:0; padding:20px; }
  .focus-content p { font-size:.88rem; }
  .carbon-framework-grid,.framework-mini-grid,.preprint-grid,.contact-card-grid,.people-grid,.alumni-grid { grid-template-columns:1fr; }
  .carbon-step { min-height:0; padding:21px; }
  .framework-side-label { display:inline-block; margin-top:14px; padding-left:12px; }
  .recent-kicker { font-size:.53rem; }
  .home-publication { grid-template-columns:44px minmax(0,1fr); gap:11px; padding:16px 0; }
  .home-publication h3 { font-size:1rem; }
  .pub-index-arrow { display:none; }
  .paper-stat-band { grid-template-columns:80px 1fr; gap:14px; padding:20px; }
  .paper-stat-number { font-size:3.5rem; }
  .paper-stat-copy h3 { font-size:1.15rem; }
  .paper-stat-copy p:last-child { font-size:.8rem; }
  .paper-stat-band > .button { grid-column:1 / -1; width:100%; }
  .pi-home-section { padding:55px 0; }
  .pi-layout { grid-template-columns:1fr; gap:22px; }
  .pi-stamp span { font-size:3.5rem; }
  .connect-inner,.opportunities-inner,.contact-cta-band { display:block; }
  .connect-inner .button,.opportunities-inner .button,.contact-cta-band .button { margin-top:20px; }
  .page-hero { padding:48px 0 42px; }
  .page-hero-grid { grid-template-columns:1fr; gap:22px; }
  .page-hero h1 { font-size:clamp(2.8rem,12vw,4.2rem); }
  .page-art { min-height:150px; }
  .page-art img { max-height:160px; }
  .discovery-section { padding:52px 18px; }
  .theme-row { grid-template-columns:1fr; gap:13px; padding:24px 0; }
  .theme-heading h3 { font-size:1.55rem; }
  .context-grid { grid-template-columns:1fr; gap:16px; }
  .publications-hero .publication-stat-block { justify-content:flex-start; margin-top:24px; }
  .publication-stat-block > div { padding-left:14px; }
  .publication-stat-block strong { font-size:2.7rem; }
  .publication-search { width:100%; margin-top:21px; }
  .search-row { gap:7px; }
  .search-row button { flex-basis:88px; }
  .publication-group-head { grid-template-columns:27px 1fr; gap:9px; }
  .publication-group-head small { grid-column:2; }
  .publication-row { grid-template-columns:43px minmax(0,1fr); gap:11px; padding:16px 0; }
  .publication-main h3 { font-size:.99rem; line-height:1.48; }
  .publication-journal { font-size:.91rem; }
  .publication-mark { display:none; }
  .pi-profile-card { grid-template-columns:1fr; gap:18px; padding:17px; }
  .pi-profile-mark { min-height:130px; }
  .pi-profile-mark strong { font-size:3.4rem; }
  .contact-card { min-height:0; }
  .contact-cta-band { padding:25px 21px; }
  .footer-grid { grid-template-columns:1fr 1fr; gap:22px 16px; }
  .footer-identity { grid-column:1 / -1; }
  .footer-bottom { display:block; }
  .footer-bottom span { display:block; margin-top:7px; }
}
@media (max-width: 380px) {
  .site-shell { width:calc(100% - 28px); }
  .hero-copy h1 { font-size:2.65rem; }
  .hero-visual img { height:190px; }
  .publication-row { grid-template-columns:37px minmax(0,1fr); gap:8px; }
  .publication-year { font-size:.62rem; }
}
@media (prefers-reduced-motion:reduce) {
  *,*::before,*::after { scroll-behavior:auto !important; transition-duration:.01ms !important; animation-duration:.01ms !important; }
}


/* Coastal Clarity: cool whites, ocean blue highlights and open rounded spaces. */
.hero-home { background:linear-gradient(125deg,#edf7fa,#fbfdfe 62%,#e6f3f5); }
.hero-home::after { border-color:#d5e9ee; box-shadow:0 0 0 45px #eaf4f6,0 0 0 100px #f1f8fa; }
.focus-card,.carbon-step,.contact-card,.preprint-card,.person-card { border-radius:14px; }
.hero-visual,.page-art { border-radius:18px; }
.button-primary { box-shadow:0 8px 18px rgba(40,124,146,.15); }
.carbon-section { background:#edf5f7; }

/* Keep the publication counts from the previous page header, below the shared cover image. */
.cover-publication-stats { display:flex; justify-content:flex-start; gap:25px; margin-top:2px; }
.cover-publication-stats > div { display:flex; flex-direction:column; align-items:flex-start; padding-left:16px; border-left:1px solid var(--line); }
.cover-publication-stats strong { color:var(--accent); font:700 2.5rem/.95 var(--display); letter-spacing:-.06em; }
.cover-publication-stats span { margin-top:7px; color:var(--muted); font:700 .56rem/1.5 var(--display); letter-spacing:.11em; }

/* Page-specific cover heroes: image on the left, page introduction on the right. */
.page-cover-hero { padding-top:72px; padding-bottom:66px; }
.page-cover-hero .hero-grid { align-items:center; }
.page-cover-hero .hero-intro { justify-content:center; }
.page-cover-hero .page-cover-visual { margin-top:0; }
.page-cover-hero .page-cover-visual img { height:clamp(280px,29vw,380px); object-fit:cover; }
.page-cover-hero .hero-copy h1 { max-width:720px; }
.page-cover-hero .hero-description { max-width:740px; }
.page-cover-hero .cover-publication-stats { margin-top:18px; }
@media (max-width:760px) {
  .page-cover-hero { padding-top:44px; padding-bottom:42px; }
  .page-cover-hero .hero-grid { grid-template-areas:"intro" "copy"; }
  .page-cover-hero .hero-intro { gap:12px; }
  .page-cover-hero .page-cover-visual img { height:clamp(190px,54vw,280px); }
  .page-cover-hero .hero-copy { padding-top:4px; }
}


/* Final requested refinements — November 2026 */
/* Homepage laboratory name sits inside the white cover-image card, above the image. */
.home-lab-title {
  max-width: 660px;
  margin: 0;
  color: var(--text);
  font-size: clamp(.76rem, 1vw, .9rem);
  font-weight: 800;
  line-height: 1.5;
  letter-spacing: .105em;
}
.hero-copy h1 { margin-bottom: 19px; }
.hero-actions .button-bangla {
  border-color: #8bbbc8;
  color: #206b80;
  background: #f4fbfd;
}
.hero-actions .button-bangla:hover {
  border-color: var(--accent);
  color: #fff;
  background: var(--accent);
}

/* Give the secondary homepage research statement a clear, calm visual emphasis. */
.clinical-heading .section-subtitle {
  display: inline-block;
  margin-top: 5px;
  padding: 9px 15px 10px;
  border-left: 3px solid var(--accent-2);
  border-radius: 0 9px 9px 0;
  color: #286d7d;
  background: linear-gradient(90deg, #e5f3f6, #f2f9fa);
  font-size: 1.14rem;
  font-weight: 700;
  line-height: 1.4;
}

/* Keep the 20+ figure inside its own column on narrow screens. */
.paper-stat-number { white-space: nowrap; min-width: 0; }
.paper-stat-band { min-width: 0; }
.paper-stat-copy { min-width: 0; }

/* A tighter PI section avoids an oversized gap before the following section. */
.pi-home-section { padding: 48px 0 34px; }
.pi-layout { gap: 30px; align-items: start; }
.pi-copy p:last-of-type { margin-bottom: 9px; }
.pi-copy .discover-link { margin-top: 3px; }

/* Three research perspective cards: stronger contrast, consistent height, safe wrapping. */
.foundation-section { padding-top: 42px; padding-bottom: 48px; }
.foundation-grid { align-items: stretch; gap: 16px; }
.foundation-card {
  position: relative;
  box-sizing: border-box;
  min-width: 0;
  min-height: 172px;
  padding: 25px 23px 23px;
  overflow: hidden;
  align-items: flex-start;
  border: 1px solid #cfe2e8;
  border-top: 4px solid var(--accent);
  border-radius: 13px;
  background: linear-gradient(145deg, #ffffff, #edf6f8);
  box-shadow: 0 10px 24px rgba(36, 94, 112, .09);
}
.foundation-card:nth-child(2) { border-top-color: #5e9b84; background: linear-gradient(145deg,#fff,#eff7f2); }
.foundation-card:nth-child(3) { border-top-color: #b28b68; background: linear-gradient(145deg,#fff,#f8f3ed); }
.foundation-card > div { width: 100%; min-width: 0; }
.foundation-card h3 {
  margin: 0 0 10px;
  color: #244b5c;
  font: 800 clamp(1.05rem,1.45vw,1.28rem)/1.28 var(--display);
  overflow-wrap: anywhere;
  word-break: normal;
  hyphens: auto;
}
.foundation-card p { margin: 0; color: #526d78; font-size: .94rem; line-height: 1.65; overflow-wrap: anywhere; }

/* Research-page framework is a compact pathway, deliberately distinct from the homepage cards. */
.discovery-section {
  grid-template-columns: minmax(250px,.78fr) minmax(0,1.22fr);
  align-items: start;
  gap: 42px;
}
.discovery-copy { min-width: 0; }
.discovery-copy h2 { margin-bottom: 13px; }
.discovery-copy > p:not(.eyebrow) { color: var(--muted-2); font-size: .96rem; line-height: 1.78; }
.discovery-copy .discover-link { margin-top: 6px; }
.framework-pathway { position: relative; display: grid; gap: 0; min-width: 0; }
.pathway-stage {
  display: grid;
  grid-template-columns: 66px minmax(0,1fr);
  gap: 17px;
  align-items: start;
  min-width: 0;
  padding: 16px 18px;
  border-bottom: 1px solid #d7e7eb;
  background: rgba(255,255,255,.54);
}
.pathway-stage:first-child { border-radius: 12px 12px 0 0; }
.pathway-stage:last-child { border-bottom: 0; border-radius: 0 0 12px 12px; }
.pathway-code {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  min-height: 43px;
  border-radius: 9px;
  color: #fff;
  background: var(--accent);
  font: 800 1.1rem/1 var(--display);
  letter-spacing: -.03em;
}
.stage-two .pathway-code { background: #5e9b84; }
.stage-three .pathway-code { background: #7f9d72; }
.stage-four .pathway-code { background: #b28b68; }
.pathway-stage h3 { margin: 0 0 5px; color: #274b5a; font: 800 1.03rem/1.35 var(--display); overflow-wrap: anywhere; }
.pathway-stage p { margin: 0; color: var(--muted); font-size: .86rem; line-height: 1.62; }

/* Text-only footer identity: uses the same small heading treatment as the footer columns. */
.footer-identity-title {
  margin: 4px 0 12px;
  color: var(--accent);
  font: 700 .64rem/1.65 var(--display);
  letter-spacing: .13em;
  text-transform: uppercase;
  max-width: 300px;
}
.footer-identity p { margin-top: 7px; }

@media (max-width: 700px) {
  .home-lab-title { font-size: .75rem; letter-spacing: .09em; margin-bottom: 8px; }
  .hero-actions { display: grid; grid-template-columns: 1fr; }
  .hero-actions .button { width: 100%; }
  .paper-stat-band { grid-template-columns: minmax(88px, 98px) minmax(0,1fr); gap: 11px; }
  .paper-stat-number { font-size: clamp(2.55rem, 10.5vw, 3.05rem); letter-spacing: -.035em; line-height: 1; }
  .paper-stat-copy h3 { overflow-wrap: anywhere; }
  .pi-home-section { padding: 38px 0 26px; }
  .pi-layout { gap: 14px; }
  .foundation-section { padding-top: 32px; padding-bottom: 38px; }
  .foundation-grid { grid-template-columns: minmax(0,1fr); gap: 13px; }
  .foundation-card { min-height: 0; padding: 21px 19px; }
  .foundation-card h3 { font-size: 1.13rem; line-height: 1.3; }
  .foundation-card p { font-size: .92rem; }
  .discovery-section { padding: 44px 18px; gap: 22px; }
  .pathway-stage { grid-template-columns: 52px minmax(0,1fr); gap: 12px; padding: 14px 12px; }
  .pathway-code { width: 46px; min-height: 39px; font-size: 1rem; }
  .pathway-stage h3 { font-size: .98rem; }
  .pathway-stage p { font-size: .84rem; }
  .footer-identity-title { max-width: 100%; }
}
@media (max-width: 380px) {
  .paper-stat-band { grid-template-columns: minmax(82px,88px) minmax(0,1fr); padding: 16px 14px; gap: 10px; }
  .paper-stat-number { font-size: 2.5rem; letter-spacing: -.025em; }
  .paper-stat-copy h3 { font-size: 1.05rem; }
  .pathway-stage { grid-template-columns: 44px minmax(0,1fr); gap: 10px; }
  .pathway-code { width: 40px; min-height: 36px; font-size: .94rem; }
}


/* Requested refinements — November 2026 */
/* Stronger small section labels, matching the visual hierarchy of the framework label. */
.eyebrow.prominent-eyebrow { font-size:.86rem; letter-spacing:.12em; margin-bottom:14px; }
/* Remove the decorative coloured top rules from the four homepage framework cards. */
.carbon-step { border-top:1px solid var(--line); }
/* PI mark is intentionally compact; bring the PI copy closer to it. */
.pi-layout { grid-template-columns:minmax(105px,.34fr) minmax(0,1.66fr); gap:20px; }
.pi-stamp { max-width:125px; }
.pi-stamp span { font-size:clamp(2.8rem,4.6vw,4.6rem); }
/* Research foundation headings are clearer and more prominent. */
.foundation-card h3 { font-size:clamp(1.3rem,2vw,1.55rem); line-height:1.22; overflow-wrap:anywhere; }
/* Research direction headings use the same green-blue accent as the navigation action. */
.theme-heading h3 { color:var(--accent); }
/* Research tags read as distinct topic chips rather than body copy. */
.theme-tags li { padding:7px 12px; border:1px solid color-mix(in srgb,var(--accent) 42%,var(--line)); color:var(--text); background:color-mix(in srgb,var(--accent) 8%,white); font-size:.78rem; font-weight:650; line-height:1.35; }
/* More visible publication search control. */
.publication-search { padding:13px 14px 10px; border:1px solid color-mix(in srgb,var(--accent) 35%,var(--line)); border-radius:var(--radius); background:var(--surface-2); box-shadow:0 7px 20px rgba(38,93,110,.07); }
.search-row input { min-height:51px; border:1.5px solid color-mix(in srgb,var(--accent) 40%,var(--line)); font-size:.92rem; }
.search-row button { font-size:.82rem; }
/* People: one clean rule spans each pair of names; remove individual left rails. */
.people-grid.people-pairs { display:grid; grid-template-columns:1fr; gap:17px; }
.people-pair { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:14px; padding-top:12px; border-top:2px solid var(--accent); }
.people-pair .person-card { border:0; border-radius:0; background:transparent; box-shadow:none; padding:8px 4px; }
.people-pair .person-card + .person-card { border-left:0; }
@media (max-width:700px) {
  .pi-layout { grid-template-columns:1fr; gap:12px; }
  .pi-stamp { max-width:100%; padding-top:10px; }
  .pi-stamp span { font-size:3rem; }
  .people-pair { grid-template-columns:1fr; gap:7px; }
  .people-pair .person-card { padding:7px 2px; }
  .publication-search { width:100%; }
}


/* Mobile readability fix: Discovery to Impact pathway stages */
@media (max-width: 700px) {
  .framework-pathway {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
    width: 100%;
    min-width: 0;
  }
  .pathway-stage,
  .pathway-stage:first-child,
  .pathway-stage:last-child {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr);
    align-items: start;
    gap: 12px;
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
    padding: 16px 14px;
    border: 1px solid #d5e5eb;
    border-radius: 13px;
    background: #ffffff;
    box-shadow: 0 5px 16px rgba(24, 68, 88, .07);
  }
  .pathway-stage > div {
    min-width: 0;
  }
  .pathway-code {
    width: 42px;
    min-width: 42px;
    min-height: 39px;
    align-self: start;
    font-size: 1rem;
    border-radius: 9px;
  }
  .pathway-stage h3 {
    margin: 0 0 6px;
    font-size: clamp(.98rem, 4vw, 1.08rem);
    line-height: 1.32;
    overflow-wrap: anywhere;
    word-break: normal;
  }
  .pathway-stage p {
    font-size: .88rem;
    line-height: 1.62;
    overflow-wrap: anywhere;
  }
}

@media (max-width: 380px) {
  .pathway-stage,
  .pathway-stage:first-child,
  .pathway-stage:last-child {
    grid-template-columns: 39px minmax(0, 1fr);
    gap: 10px;
    padding: 14px 11px;
  }
  .pathway-code {
    width: 38px;
    min-width: 38px;
    min-height: 36px;
    font-size: .94rem;
  }
  .pathway-stage h3 { font-size: .96rem; }
  .pathway-stage p { font-size: .84rem; }
}


/* HOPE Lab refinement: university wordmark alignment and quieter navigation */
.brand-copy small {
  margin: 1px 0 0 25%;
  color: #24483f;
  font-size: .69rem;
  font-weight: 700;
  letter-spacing: .015em;
  line-height: 1.25;
  white-space: nowrap;
}
.nav-link {
  color: #203b32;
  font-size: .78rem;
  font-weight: 650;
  letter-spacing: 0;
  text-transform: none;
}
.nav-link:hover,
.nav-link.active { color: #164b3e; }

/* HOPE Lab refinement: compact, clear footer identity */
.footer-identity-title {
  max-width: none;
  margin: 4px 0 12px;
  color: var(--accent);
  font: 700 .96rem/1.35 var(--display);
  letter-spacing: .01em;
  text-transform: none;
}
.footer-identity p:not(.footer-keywords) {
  max-width: 430px;
  line-height: 1.7;
}

/* Publication category labels and clickable article arrows */
.publication-group-head h3 { font-size: 1.24rem; }
a.publication-mark {
  display: inline-flex;
  align-items: flex-start;
  justify-content: center;
  min-width: 20px;
  color: var(--accent-2);
  text-decoration: none;
  transition: color .18s ease, transform .18s ease;
}
a.publication-mark:hover { color: var(--accent); transform: translate(2px, -2px); }

/* Homepage research-output order and hierarchy */
.output-heading { margin-bottom: 28px; }
.paper-stat-band { margin-top: 0; }
.output-intro {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  margin: 28px 0 18px;
}
.output-intro .section-subtitle { margin: 0; }
.recent-kicker {
  flex-wrap: wrap;
  color: #405b52;
  font-size: .7rem;
  font-weight: 750;
}

/* People: show one lab member per horizontal row */
.people-grid.people-pairs {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
}
.people-pairs .people-pair { display: contents; }
.people-pairs .person-card {
  display: flex;
  align-items: center;
  width: 100%;
  gap: 14px;
  padding: 13px 5px;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
.people-pairs .person-card > div,
.alumni-grid .person-card > div {
  display: flex;
  flex: 1 1 auto;
  align-items: baseline;
  justify-content: space-between;
  min-width: 0;
  gap: 18px;
}
.people-pairs .person-card h3,
.alumni-grid .person-card h3 {
  margin: 0;
  color: var(--text);
}
.people-pairs .person-card p,
.alumni-grid .person-card p { text-align: right; }
.alumni-grid .person-card {
  display: flex;
  align-items: center;
  padding: 13px 5px;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
.alumni-updated {
  margin-top: 8px;
  font-size: .82rem;
  font-style: italic;
}

/* Remove the decorative top rule from the principal-investigator profile card */
.pi-profile-card { border-top: 0; }

@media (max-width: 700px) {
  .brand-copy small {
    margin-left: 24%;
    font-size: .62rem;
  }
  .publication-group-head h3 { font-size: 1.16rem; }
  .output-intro {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
    margin: 22px 0 14px;
  }
  .recent-kicker { font-size: .62rem; gap: 8px 16px; }
  .people-pairs .person-card > div,
  .alumni-grid .person-card > div {
    align-items: flex-start;
    flex-direction: column;
    gap: 3px;
  }
  .people-pairs .person-card p,
  .alumni-grid .person-card p { text-align: left; }
}


/* Footer refinement — slightly deeper contrast and more readable type,
   while preserving the existing four-column organization. */
.site-footer {
  background: #f0f6f6;
  border-top-color: #cbdedc;
}
.footer-identity p {
  color: #536b74;
  font-size: .84rem;
}
.footer-identity .footer-keywords {
  color: #246b65;
  font-size: .76rem;
}
.footer-col h2 {
  color: #246b65;
  font-size: .68rem;
}
.footer-col a {
  color: #455f69;
  font-size: .84rem;
}
.footer-col a:hover {
  color: #1f6c64;
}
.footer-bottom {
  border-top-color: #cbdedc;
  color: #536b74;
  font-size: .74rem;
}

/* Keep the moved publication link clearly attached to the selected papers. */
.publications-more {
  display: flex;
  justify-content: flex-end;
  margin-top: 14px;
}


/* HOPE Lab social and academic profile additions */
.footer-col .social-footer-link { display:flex; align-items:center; gap:8px; }
.social-mark { display:inline-grid; place-items:center; flex:0 0 19px; width:19px; height:19px; border-radius:5px; color:#fff; font:800 .72rem/1 Arial,sans-serif; }
.social-linkedin { background:#0a66c2; }
.social-facebook { background:#1877f2; font-family:Arial,sans-serif; font-size:.95rem; }
.social-email { background:#965477; font-size:.72rem; }
.pi-academic-links { margin-top:19px; padding-top:16px; border-top:1px solid var(--line); }
.pi-links-label { margin:0 0 10px !important; color:var(--accent) !important; font-size:.62rem !important; font-weight:800; letter-spacing:.12em; }
.pi-profile-links { display:flex; flex-wrap:wrap; align-items:center; gap:10px; }
.pi-profile-links .profile-icon-link { display:grid; place-items:center; width:42px; height:42px; padding:6px; border:1px solid var(--line); border-radius:11px; background:var(--surface-2); text-decoration:none; transition:background .18s ease,border-color .18s ease,transform .18s ease; }
.pi-profile-links .profile-icon-link:hover { background:var(--soft); border-color:var(--accent-2); transform:translateY(-1px); }
.profile-icon-svg { display:block; width:29px; height:29px; }
.pi-profile-links .profile-icon-link:focus-visible { outline:3px solid var(--accent-2); outline-offset:3px; }
.academic-metrics { margin-top:17px; padding:18px 19px; border:1px solid var(--line); border-radius:var(--radius); background:linear-gradient(135deg,var(--surface-2),var(--surface)); }
.academic-metrics-heading { display:flex; align-items:center; justify-content:space-between; gap:12px; }
.academic-metrics-heading .pi-links-label { margin-bottom:4px !important; }
.academic-metrics-heading h4 { margin:0; color:var(--text); font:700 1.12rem/1.3 var(--display); }
.metrics-source { padding:5px 9px; border:1px solid var(--line); border-radius:999px; color:var(--accent); font-size:.68rem; font-weight:700; white-space:nowrap; }
.metrics-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:10px; margin-top:15px; }
.metric-item { display:flex; flex-direction:column; gap:5px; min-width:0; padding:13px 12px; border:1px solid var(--line); border-radius:10px; background:var(--surface); }
.metric-item strong { color:var(--accent); font:800 1.55rem/1.1 var(--display); letter-spacing:-.04em; }
.metric-item span { color:var(--muted); font-size:.73rem; font-weight:700; }
.metrics-note { margin:12px 0 8px !important; color:var(--muted) !important; font-size:.74rem !important; line-height:1.55 !important; }
.metrics-link { display:inline-flex; align-items:center; gap:6px; color:var(--accent); font-size:.78rem; font-weight:800; text-decoration:none; }
.metrics-link:hover { text-decoration:underline; }
/* Three compact, fixed social and email links. */
.floating-social-links { position:fixed; right:20px; bottom:20px; z-index:35; display:flex; flex-direction:column; align-items:center; gap:8px; }
.floating-social-link { display:grid; place-items:center; width:42px; height:42px; border:1px solid #C9DDE4; border-radius:10px; background:#EDF6F9; color:#287C92; box-shadow:0 8px 24px rgba(20,48,56,.15); font:800 .9rem/1 Arial,sans-serif; text-decoration:none; transition:transform .18s ease,box-shadow .18s ease; }
.floating-social-link:hover { color:#287C92; transform:translateY(-2px); box-shadow:0 10px 26px rgba(20,48,56,.19); }
.floating-social-link:focus-visible { outline:3px solid #287C92; outline-offset:3px; }
@media (max-width:560px) {
  .floating-social-links { right:12px; bottom:12px; gap:7px; }
  .floating-social-link { width:39px; height:39px; }
  .academic-metrics { padding:15px 13px; }
  .metrics-grid { gap:7px; }
  .metric-item { padding:11px 8px; }
  .metric-item strong { font-size:1.2rem; }
  .metric-item span { font-size:.66rem; }
}
