/*
Theme Name: NGB Redesign
Description: Astra child theme for the UCSF Neuroimmunology and Glial Biology Division redesign.
Author: UCSF NGB Division
Template: astra
Version: 1.5.1
Text Domain: ngb-redesign
*/

:root {
  --navy: #052c46;
  --navy-deep: #031f33;
  --blue: #00629b;
  --blue-bright: #0b8ec5;
  --teal: #00a6a6;
  --teal-dark: #007c83;
  --gold: #f2c75c;
  --ink: #18242c;
  --muted: #5d6b75;
  --pale: #edf5f7;
  --warm: #f6f4ee;
  --white: #ffffff;
  --line: #d7e0e4;
  --max: 1220px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  margin: 0;
  overflow-x: hidden;
  background: var(--white);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.55;
}
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
.container { width: min(calc(100% - 48px), var(--max)); margin: 0 auto; }
.section-pad { padding: 112px 0; }
#clinical-care, #research, #education, #people, #events, #contact, #giving { scroll-margin-top: 125px; }
.skip-link { position: fixed; left: 16px; top: -60px; z-index: 100; background: white; padding: 12px 18px; color: var(--navy); }
.skip-link:focus { top: 16px; }

.prototype-bar { background: #dff3f1; color: #07535a; font-size: 12px; font-weight: 700; letter-spacing: .03em; }
.prototype-inner { display: flex; justify-content: space-between; align-items: center; min-height: 34px; }
.status-dot { display: inline-block; width: 7px; height: 7px; margin-right: 8px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 4px rgba(0,166,166,.12); }
.prototype-note { color: #47656a; font-weight: 500; }

.site-header { background: var(--white); position: sticky; top: 0; z-index: 50; box-shadow: 0 1px 0 rgba(9,42,57,.12); }
.utility-row { min-height: 35px; display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid #e8edef; font-size: 12px; color: var(--muted); }
.utility-row a { margin-left: 22px; }
.utility-row > a { margin-left: 0; }
.utility-row a:hover, .utility-row a:focus { color: var(--blue); }
.brand-row { min-height: 90px; display: flex; justify-content: space-between; align-items: center; gap: 28px; }
.brand { display: flex; align-items: center; color: var(--navy); min-width: 305px; }
.ucsf-mark { font-size: 36px; font-weight: 800; letter-spacing: -.055em; line-height: 1; }
.brand-divider { width: 1px; height: 38px; background: #b8c3c9; margin: 0 17px; }
.division-name { font-size: 14px; font-weight: 700; line-height: 1.2; letter-spacing: -.01em; }
.desktop-nav { display: flex; align-items: center; gap: 24px; font-size: 13px; font-weight: 700; white-space: nowrap; }
.desktop-nav a { padding: 12px 0; }
.desktop-nav a:hover, .desktop-nav a:focus { color: var(--blue); }
.desktop-nav .give-button { background: var(--gold); color: var(--navy); padding: 11px 19px; border-radius: 2px; }
.desktop-nav .give-button:hover { background: #ffda79; color: var(--navy); }
.mobile-menu { display: none; position: relative; }
.mobile-menu summary { cursor: pointer; padding: 10px 14px; border: 1px solid var(--line); font-weight: 700; list-style: none; }
.mobile-menu summary::-webkit-details-marker { display: none; }
.mobile-links { position: absolute; right: 0; top: 48px; width: 250px; display: grid; background: white; box-shadow: 0 16px 38px rgba(5,44,70,.18); padding: 12px; }
.mobile-links a { padding: 11px 10px; border-bottom: 1px solid #edf0f2; font-weight: 700; }

.hero { background-color: var(--navy); background-image: url('assets/images/ngb-building.webp'); background-position: center 48%; background-size: cover; color: white; overflow: hidden; position: relative; }
.hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(3,31,51,.98) 0%, rgba(3,31,51,.92) 38%, rgba(3,31,51,.52) 66%, rgba(3,31,51,.14) 100%); }
.hero-grid { min-height: 680px; display: grid; grid-template-columns: 1.08fr .92fr; align-items: center; gap: 55px; position: relative; }
.hero-copy { padding: 78px 0 92px; position: relative; z-index: 2; }
.eyebrow { margin: 0 0 18px; color: var(--blue); font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .16em; }
.eyebrow.light { color: #75d1d1; }
.hero h1, h2 { margin: 0; font-family: Georgia, "Times New Roman", serif; font-weight: 400; letter-spacing: -.04em; line-height: .98; }
.hero h1 { font-size: clamp(58px, 6.3vw, 91px); max-width: 720px; }
.hero h1 em { color: var(--gold); font-weight: 400; }
.hero-lede { max-width: 650px; color: #d4e5ec; font-size: 19px; line-height: 1.65; margin: 30px 0 36px; }
.hero-guide { margin: 0; padding-left: 18px; border-left: 3px solid var(--gold); color: #bcd2dc; font-size: 14px; }
.hero-location { align-self: end; justify-self: end; margin-bottom: 42px; padding: 16px 20px; border-left: 3px solid var(--gold); background: rgba(3,31,51,.82); backdrop-filter: blur(10px); display: grid; gap: 3px; box-shadow: 0 16px 40px rgba(3,31,51,.22); }
.hero-location span { color: #9fc3d1; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; }
.hero-location strong { color: white; font-size: 15px; }
.button-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.button { min-height: 50px; display: inline-flex; align-items: center; justify-content: center; gap: 22px; padding: 13px 22px; font-size: 14px; font-weight: 800; border: 1px solid transparent; transition: transform .18s ease, background .18s ease; }
.button:hover, .button:focus { transform: translateY(-2px); }
.button.primary { background: var(--gold); color: var(--navy); }
.button.primary:hover { background: #ffdc80; }
.button.ghost { border-color: rgba(255,255,255,.36); color: white; }
.button.ghost:hover { background: rgba(255,255,255,.09); }
.button.outline { border-color: #9db1bc; color: var(--navy); }
.button.ink { background: var(--navy); color: white; }
.section-top-row { margin-top: 64px; padding-top: 17px; display: flex; justify-content: flex-end; border-top: 1px solid var(--line); }
.back-to-top { min-height: 44px; display: inline-flex; align-items: center; gap: 10px; color: var(--blue); font-size: 13px; font-weight: 800; }
.back-to-top:hover, .back-to-top:focus { text-decoration: underline; text-underline-offset: 4px; }
.section-top-row.light { border-color: rgba(255,255,255,.2); }
.section-top-row.light .back-to-top { color: #8edbd8; }
.contact-content .section-top-row, .giving-content .section-top-row { margin-top: 38px; }

.neural-canvas { position: relative; width: 100%; aspect-ratio: 1; min-height: 500px; }
.neural-canvas::before { content: ""; position: absolute; inset: 9% 8%; border: 1px solid rgba(255,255,255,.12); border-radius: 50%; }
.orb { position: absolute; border-radius: 50%; filter: blur(1px); }
.orb-one { width: 310px; height: 310px; right: 9%; top: 13%; background: radial-gradient(circle at 35% 35%, #44d0c9, #007f91 45%, rgba(0,98,155,.14) 72%); box-shadow: 0 0 80px rgba(0,166,166,.24); }
.orb-two { width: 190px; height: 190px; left: 6%; bottom: 17%; background: radial-gradient(circle at 40% 35%, #f9d87f, #c58d2d 50%, rgba(197,141,45,.08) 72%); }
.orb-three { width: 90px; height: 90px; right: 8%; bottom: 14%; background: radial-gradient(circle, #8bd7f2, #0877ad); }
.node { position: absolute; width: 28px; height: 28px; border: 1px solid rgba(255,255,255,.45); border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.08); backdrop-filter: blur(5px); }
.node span { width: 7px; height: 7px; border-radius: 50%; background: white; }
.node-one { left: 23%; top: 12%; }.node-two { right: 4%; top: 47%; }.node-three { left: 36%; bottom: 4%; }.node-four { left: 7%; top: 45%; }
.connector { position: absolute; height: 1px; background: linear-gradient(90deg, transparent, rgba(255,255,255,.55), transparent); transform-origin: left center; }
.connector-one { width: 210px; top: 24%; left: 22%; transform: rotate(21deg); }
.connector-two { width: 255px; top: 55%; left: 12%; transform: rotate(-14deg); }
.connector-three { width: 210px; right: 5%; bottom: 23%; transform: rotate(119deg); }
.hero-caption { position: absolute; right: 17%; bottom: 12%; background: rgba(3,31,51,.8); backdrop-filter: blur(10px); padding: 16px 20px; border-left: 3px solid var(--gold); display: grid; gap: 3px; }
.hero-caption span { color: #9fc3d1; font-size: 11px; text-transform: uppercase; letter-spacing: .12em; }
.hero-caption strong { font-size: 14px; }

.section-heading { margin-bottom: 52px; }
.split-heading { display: block; }
.split-heading h2 { color: var(--navy); font-size: clamp(44px, 5.2vw, 68px); }
.split-heading > p { max-width: 800px; margin: 26px 0 0; color: var(--muted); font-size: 18px; line-height: 1.65; }
.text-link { color: var(--blue); font-size: 13px; font-weight: 800; }

.leadership-vision { background: var(--warm); border-top: 1px solid #e2dfd5; }
.leadership-heading { display: block; margin-bottom: 55px; }
.leadership-heading h2 { color: var(--navy); font-size: clamp(47px, 5.1vw, 70px); }
.leadership-heading h2 em { color: var(--teal-dark); font-weight: 400; }
.leadership-intro { max-width: 800px; margin-top: 26px; }
.leadership-intro p { margin: 0 0 20px; color: var(--muted); font-size: 17px; line-height: 1.7; }
.leadership-intro a { color: var(--blue); font-size: 13px; font-weight: 800; }
.leadership-intro a span { margin-left: 12px; }
.leaders-grid { display: grid; grid-template-columns: 1fr; gap: 22px; }
.leader-card { min-width: 0; display: grid; grid-template-columns: minmax(360px, .82fr) minmax(0, 1.18fr); background: white; border: 1px solid #d8d4c9; }
.leader-portrait { min-height: 440px; position: relative; overflow: hidden; background: #e9eef1; display: grid; place-items: center; }
.leader-portrait img { width: 100%; height: 100%; display: block; object-fit: contain; filter: saturate(.9); transition: transform .45s ease, filter .3s ease; }
.leader-card:hover .leader-portrait img { transform: scale(1.025); filter: saturate(1); }
.leader-story { min-width: 0; min-height: 440px; padding: 38px 42px 32px; display: flex; flex-direction: column; }
.leader-pillar { margin: 0 0 28px; color: var(--teal-dark); font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .14em; }
.leader-story h3 { margin: 0 0 5px; color: var(--navy); font-family: Georgia, serif; font-size: 31px; line-height: 1.08; font-weight: 400; }
.leader-role { margin: 0 0 20px; color: var(--blue); font-size: 11px; line-height: 1.35; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; }
.leader-statement { margin: 0 0 26px; color: #53626b; font-family: Georgia, "Times New Roman", serif; font-size: 16px; line-height: 1.62; }
.leader-story > a { margin-top: auto; padding-top: 18px; border-top: 1px solid var(--line); color: var(--navy); display: flex; justify-content: space-between; gap: 15px; font-size: 12px; font-weight: 800; }
.leader-story > a:hover, .leader-story > a:focus { color: var(--blue); }
.leader-2 .leader-pillar { color: var(--blue); }
.leader-3 .leader-pillar { color: #73570e; }
.leader-4 .leader-pillar { color: var(--teal-dark); }
.leadership-note { max-width: 740px; margin: 20px 0 0; color: #7a817e; font-size: 11px; }

.division-highlights { background: white; }
.slider-heading { max-width: 800px; margin-bottom: 34px; }
.slider-heading h2 { color: var(--navy); font-size: clamp(44px, 5.2vw, 68px); }
.slider-heading > p:last-child { margin: 22px 0 0; color: var(--muted); font-size: 17px; line-height: 1.65; }
.smart-slider-frame { width: 100%; overflow: visible; background: white; border: 1px solid var(--line); box-shadow: 0 22px 60px rgba(5,44,70,.1); }
.division-slider-frame { border-left: 0; border-right: 0; }
.smart-slider-frame .n2-section-smartslider { margin: 0 !important; }
.smart-slider-frame [id*="-arrow-"] { width: 48px !important; height: 48px !important; padding: 8px !important; background: rgba(3,31,51,.82) !important; border-radius: 50% !important; box-shadow: 0 4px 18px rgba(3,31,51,.28) !important; z-index: 30 !important; pointer-events: auto !important; }
.smart-slider-frame [id*="-arrow-"]:focus-visible { outline: 3px solid var(--gold) !important; outline-offset: 3px !important; }

.page-kicker { border-top: 1px solid var(--line); padding-top: 17px; margin-bottom: 76px; display: flex; justify-content: space-between; color: var(--muted); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; }
.page-kicker span { color: var(--blue); }
.clinical { background: var(--pale); }
.clinical-grid { display: grid; grid-template-columns: .86fr 1.14fr; gap: 82px; align-items: start; }
.clinical-grid > *, .education-grid > * { min-width: 0; }
.clinical-intro { min-width: 0; }
.clinical-intro h2 { max-width: 100%; color: var(--navy); font-size: clamp(42px, 4.25vw, 58px); line-height: 1.05; overflow-wrap: break-word; }
.clinical-intro .dark-buttons { position: relative; z-index: 2; }
.large-copy { margin: 28px 0 31px; color: #52636d; font-size: 19px; line-height: 1.68; }
.dark-buttons { margin-bottom: 32px; }
.source-note { display: flex; gap: 14px; align-items: flex-start; padding-top: 26px; border-top: 1px solid #ccdadd; }
.source-note p { margin: 0; color: #52636d; font-size: 14px; }
.source-icon { width: 26px; height: 26px; flex: 0 0 26px; display: grid; place-items: center; background: #d6efea; color: var(--teal-dark); border-radius: 50%; font-weight: 800; }
.resource-panel { background: white; padding: 34px; box-shadow: 0 24px 70px rgba(5,44,70,.1); }
.panel-title-row { display: flex; justify-content: space-between; gap: 20px; align-items: flex-start; padding-bottom: 24px; }
.panel-title-row h3 { margin: 0; color: var(--navy); font-family: Georgia, serif; font-size: 34px; font-weight: 400; }
.language-chip, .pending-chip { border: 1px solid #bad0d6; padding: 7px 10px; color: var(--teal-dark); font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; }
.resource-list { border-top: 1px solid var(--line); }
.resource-item { display: grid; grid-template-columns: 1fr auto; gap: 13px; align-items: center; padding: 18px 0; border-bottom: 1px solid var(--line); }
.resource-item-static { grid-template-columns: 1fr; }
.resource-item strong, .resource-item small { display: block; }
.resource-item strong { color: var(--navy); font-size: 14px; }
.resource-item small { color: var(--muted); margin-top: 2px; }
.resource-item b { color: var(--blue); transition: transform .16s ease; }
.resource-item:hover b { transform: translateX(4px); }
.download-row { display: flex; justify-content: space-between; gap: 15px; align-items: center; padding-top: 22px; color: var(--navy); font-size: 13px; font-weight: 700; }
.pending-chip { color: #77590b; border-color: #e2c97b; background: #fff9e8; }

.research { background: var(--navy); color: white; }
.page-kicker.pale { border-color: rgba(255,255,255,.17); color: #9fc0cf; }
.page-kicker.pale span { color: #71d2ce; }
.research-heading h2 { color: white; }
.research-heading > p { color: #bad0d9; }
.research-heading-copy { max-width: 800px; margin: 26px 0 0; }
.research-heading-copy > p { margin: 0; color: #bdd2dc; font-size: 18px; line-height: 1.65; }
.section-page-link { white-space: normal; text-align: left; }
.research-page-link { margin-top: 25px; }
.education-actions { margin-top: 28px; }
.research-directory { border-top: 1px solid rgba(255,255,255,.2); }
.directory-heading { display: block; padding: 33px 0 30px; }
.directory-heading .eyebrow { margin-bottom: 10px; }
.directory-heading h3 { max-width: 720px; margin: 0; font-family: Georgia, serif; font-size: clamp(30px, 3.1vw, 43px); line-height: 1.08; font-weight: 400; }
.directory-heading > p { max-width: 800px; margin: 18px 0 0; color: #bad0d9; font-size: 15px; line-height: 1.65; }
.lab-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; background: rgba(255,255,255,.15); border: 2px solid rgba(255,255,255,.15); }
.lab-card { min-height: 205px; padding: 23px 24px; background: #073754; display: flex; flex-direction: column; transition: background .18s ease, transform .18s ease; }
.lab-card:hover, .lab-card:focus { position: relative; z-index: 1; background: #0a4968; outline: 2px solid #79d7d4; outline-offset: -2px; }
.lab-card.program-card { background: var(--teal-dark); }
.lab-card.program-card:hover, .lab-card.program-card:focus { background: #078c90; }
.lab-type { color: #8fc3cf; font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .12em; }
.program-card .lab-type { color: #c7efec; }
.lab-card h3 { max-width: 330px; margin: auto 0 18px; font-family: Georgia, serif; font-size: 25px; line-height: 1.13; font-weight: 400; }
.lab-link { display: flex; justify-content: space-between; align-items: center; padding-top: 13px; border-top: 1px solid rgba(255,255,255,.19); color: #9edbd9; font-size: 12px; font-weight: 800; }
.lab-link span { font-size: 15px; }
.collaboration-note { max-width: 900px; margin: 28px 0 0; padding-left: 20px; border-left: 3px solid var(--teal); color: #b7ced8; font-family: Georgia, serif; font-size: 18px; line-height: 1.65; }
.publication-showcase { margin-top: 70px; padding-top: 38px; border-top: 1px solid rgba(255,255,255,.2); }
.publication-heading { max-width: 800px; margin-bottom: 28px; }
.publication-heading h3 { margin: 0; font-family: Georgia, serif; font-size: clamp(34px, 4vw, 50px); line-height: 1.08; font-weight: 400; }
.publication-heading > p:last-child { margin: 18px 0 0; color: #bad0d9; font-size: 16px; }
.publication-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.publication-card { min-height: 310px; padding: 27px; background: var(--warm); color: var(--ink); display: flex; flex-direction: column; border-top: 5px solid var(--gold); }
.publication-card:nth-child(2) { border-color: var(--teal); }
.publication-card:nth-child(3) { border-color: var(--blue-bright); }
.publication-label { color: var(--teal-dark); font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .12em; }
.publication-card h4 { margin: auto 0 15px; color: var(--navy); font-family: Georgia, serif; font-size: 27px; line-height: 1.16; font-weight: 400; }
.publication-card > p { margin: 0 0 22px; color: var(--muted); font-size: 14px; line-height: 1.6; }
.tag-row { display: flex; flex-wrap: wrap; gap: 7px; }
.tag-row span { background: white; border: 1px solid #d9d6c9; padding: 5px 8px; color: #52616a; font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .07em; }

.education { background: white; }
.education-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 100px; align-items: center; }
.education-copy h2 { color: var(--navy); font-size: clamp(48px, 5.1vw, 70px); line-height: 1.04; }
.education-copy > p:not(.eyebrow) { margin: 26px 0 32px; color: var(--muted); font-size: 18px; }
.section-status { padding: 16px 18px; border-left: 4px solid var(--teal); background: var(--pale); color: #52636d !important; font-size: 14px !important; }
.program-list { border-top: 1px solid var(--line); }
.program-item { display: grid; grid-template-columns: 1fr; align-items: center; padding: 23px 0; border-bottom: 1px solid var(--line); }
.program-list strong, .program-list small { display: block; }
.program-list strong { color: var(--navy); font-family: Georgia, serif; font-size: 23px; font-weight: 400; }
.program-list small { color: var(--muted); }
.program-list b { color: var(--blue); }
.rubric-note { margin-top: 72px; padding: 20px 24px; border-left: 4px solid var(--gold); background: #fff9e7; display: flex; gap: 28px; align-items: baseline; }
.rubric-note span { flex: 0 0 auto; color: #7c5e0b; font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; }
.rubric-note p { margin: 0; color: #6d6250; font-size: 14px; }

.people { background: var(--warm); }
.people-heading-copy { max-width: 800px; margin-top: 26px; }
.people-heading-copy > p { margin: 0; color: var(--muted); font-size: 18px; line-height: 1.65; }
.people-page-link { margin-top: 25px; }
.people-directory-label { margin: 31px 0 14px; color: var(--navy); font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .12em; }
.people-categories { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.people-category { min-height: 210px; padding: 24px; border-top: 4px solid var(--teal); background: white; }
.people-category:nth-child(2) { border-color: var(--blue); }
.people-category:nth-child(3) { border-color: var(--gold); }
.people-category:nth-child(4) { border-color: var(--navy); }
.people-category h3 { margin: 0 0 10px; color: var(--navy); font-family: Georgia, serif; font-size: 25px; font-weight: 400; }
.people-category p { margin: 0; color: var(--muted); font-size: 13px; }
.filter-row { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 25px; }
.filter-row button { border: 1px solid #cdd6d9; background: transparent; color: var(--muted); padding: 9px 14px; cursor: pointer; font-size: 12px; font-weight: 700; }
.filter-row button.active { background: var(--navy); border-color: var(--navy); color: white; }
.people-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.person-card { background: white; border: 1px solid #e2dfd5; }
.portrait-placeholder { aspect-ratio: 1.35; display: grid; place-content: center; text-align: center; position: relative; overflow: hidden; }
.portrait-placeholder::before, .portrait-placeholder::after { content: ""; position: absolute; border-radius: 50%; border: 1px solid rgba(255,255,255,.18); }
.portrait-placeholder::before { width: 250px; height: 250px; right: -80px; top: -100px; }
.portrait-placeholder::after { width: 170px; height: 170px; left: -55px; bottom: -100px; }
.portrait-placeholder.teal { background: #127e83; }.portrait-placeholder.blue { background: #0a5f8e; }.portrait-placeholder.gold { background: #b38427; }
.portrait-placeholder > span { color: white; font-family: Georgia, serif; font-size: 62px; line-height: 1; position: relative; z-index: 1; }
.portrait-placeholder small { color: rgba(255,255,255,.7); margin-top: 8px; text-transform: uppercase; letter-spacing: .1em; font-size: 9px; position: relative; z-index: 1; }
.person-content { padding: 24px; }
.person-tags { margin-bottom: 18px; }
.person-tags span { border-color: #d4e0e2; background: #f5faf9; color: #3e6d70; }
.person-card h3 { margin: 0; color: var(--navy); font-family: Georgia, serif; font-size: 27px; font-weight: 400; }
.person-card p { color: var(--muted); font-size: 13px; }
.person-card .role { color: var(--blue); font-weight: 800; }
.person-links { margin-top: 23px; padding-top: 18px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 12px; color: var(--navy); font-size: 12px; font-weight: 800; }
.fellow-spotlight { margin: 0; padding: 33px; background: var(--navy); color: white; display: grid; grid-template-columns: auto 1fr auto; gap: 30px; align-items: center; }
.spotlight-visual { display: flex; }
.spotlight-visual span { width: 64px; height: 64px; display: grid; place-items: center; border: 3px solid var(--navy); border-radius: 50%; background: var(--teal); font-family: Georgia, serif; font-size: 20px; }
.spotlight-visual span + span { margin-left: -15px; background: var(--blue); }
.fellow-spotlight h3 { margin: 0; font-family: Georgia, serif; font-size: 28px; font-weight: 400; }
.fellow-spotlight p:not(.eyebrow) { margin: 7px 0 0; color: #b7cbd5; font-size: 13px; }
.spotlight-status { color: var(--gold); font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.people-slider-block { margin: 50px 0 38px; padding-top: 42px; border-top: 1px solid #d8d4c9; }
.people-slider-heading { max-width: 760px; margin-bottom: 24px; }
.people-slider-heading h3 { margin: 0; color: var(--navy); font-family: Georgia, serif; font-size: clamp(34px, 4vw, 48px); line-height: 1.08; font-weight: 400; }

.events { background: #f1f7f6; }
.event-heading { max-width: 830px; }
.event-heading h2 { color: var(--navy); font-size: clamp(50px, 5.6vw, 74px); }
.event-heading .large-copy { margin-bottom: 0; }
.event-schedule { margin-top: 55px; padding-top: 27px; border-top: 1px solid #cbdadb; }
.schedule-heading { max-width: 760px; margin-bottom: 24px; }
.schedule-heading h3 { margin: 0; color: var(--navy); font-family: Georgia, serif; font-size: 35px; font-weight: 400; }
.schedule-heading p { margin: 10px 0 0; color: var(--muted); }
.event-card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.homepage-events-link { margin-top: 8px; }
.event-empty-card { grid-column: 1 / -1; min-height: 190px; }
.event-card { min-height: 220px; padding: 25px; background: white; border-top: 4px solid var(--teal); display: flex; flex-direction: column; }
.event-card:nth-child(2) { border-color: var(--blue); }
.event-card:nth-child(3) { border-color: var(--gold); }
.event-card > span { color: var(--teal-dark); font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .12em; }
.event-card h3 { margin: auto 0 8px; color: var(--navy); font-family: Georgia, serif; font-size: 27px; line-height: 1.15; font-weight: 400; }
.event-card p { margin: 0; color: var(--muted); font-size: 13px; }
.speaker-pathway { margin-top: 18px; padding: 36px; background: var(--navy); color: white; display: grid; grid-template-columns: .8fr 1.2fr; gap: 50px; }
.speaker-intro h3 { margin: 0; font-family: Georgia, serif; font-size: 35px; line-height: 1.12; font-weight: 400; }
.speaker-intro > p:last-child { color: #b8ced8; }
.speaker-expectations { border-top: 1px solid rgba(255,255,255,.22); }
.speaker-expectations > div { padding: 15px 0; border-bottom: 1px solid rgba(255,255,255,.22); }
.speaker-expectations strong, .speaker-expectations span { display: block; }
.speaker-expectations strong { color: white; font-size: 14px; }
.speaker-expectations span { margin-top: 4px; color: #b8ced8; font-size: 13px; }
.speaker-form-placeholder { grid-column: 2; padding: 13px 16px; border: 1px solid #78909d; color: #b8ced8; text-align: center; font-size: 12px; font-weight: 800; }
.speaker-pathway > .button { grid-column: 2; justify-content: space-between; }

.contact-giving { display: grid; grid-template-columns: 1fr 1fr; }
.contact-panel { background: var(--blue); color: white; }
.giving-panel { background: var(--gold); color: var(--navy); }
.contact-content, .giving-content { width: min(610px, calc(100% - 64px)); padding: 92px 0; }
.contact-content { margin-left: auto; margin-right: 48px; }
.giving-content { margin-left: 48px; }
.contact-giving h2 { font-size: clamp(48px, 5vw, 68px); }
.contact-giving p:not(.eyebrow) { max-width: 540px; font-size: 17px; }
.contact-options { margin-top: 32px; border-top: 1px solid rgba(255,255,255,.35); }
.homepage-contact-link, .homepage-giving-link { margin-top: 20px; }
.contact-options a { display: flex; justify-content: space-between; gap: 20px; padding: 15px 0; border-bottom: 1px solid rgba(255,255,255,.35); font-size: 13px; }
.contact-options a span { color: #d2e9f3; }
.giving-content > small { display: block; margin-top: 24px; color: #665018; }
.giving-status { margin-top: 28px; padding-top: 22px; border-top: 1px solid rgba(5,44,70,.25); color: #665018; font-size: 13px !important; font-weight: 700; }
.text-button { font-size: 13px; font-weight: 800; }

footer { background: var(--navy-deep); color: #b5cad4; padding: 62px 0 20px; }
.footer-grid { display: grid; grid-template-columns: 2fr repeat(3, 1fr); gap: 50px; }
.footer-grid > div { display: flex; flex-direction: column; gap: 8px; }
.footer-grid strong { color: white; font-size: 12px; }
.footer-grid a, .footer-grid p { margin: 0; color: #9eb6c1; font-size: 12px; }
.footer-grid a:hover { color: white; }
.footer-brand { display: flex; gap: 15px; align-items: center; color: white; }
.footer-brand strong { font-size: 27px; letter-spacing: -.05em; }
.footer-brand span { border-left: 1px solid #567181; padding-left: 15px; font-size: 11px; line-height: 1.2; font-weight: 700; }
.footer-bottom { display: flex; justify-content: space-between; gap: 30px; border-top: 1px solid #27485b; margin-top: 50px; padding-top: 18px; font-size: 10px; text-transform: uppercase; letter-spacing: .1em; }

@media (max-width: 1080px) {
  .desktop-nav { gap: 14px; font-size: 12px; }
  .brand { min-width: 280px; }
  .clinical-grid { grid-template-columns: .9fr 1.1fr; gap: 38px; }
  .clinical-intro h2 { font-size: clamp(44px, 4.7vw, 52px); }
  .leader-card { grid-template-columns: minmax(310px, .82fr) minmax(0, 1.18fr); }
  .leader-portrait, .leader-story { min-height: 420px; }
}

@media (max-width: 900px) {
  .section-pad { padding: 82px 0; }
  .desktop-nav { display: none; }
  .mobile-menu { display: block; }
  .hero { background-position: 62% center; }
  .hero::before { background: linear-gradient(90deg, rgba(3,31,51,.97) 0%, rgba(3,31,51,.84) 65%, rgba(3,31,51,.42) 100%); }
  .hero-grid { min-height: 650px; grid-template-columns: 1fr; gap: 0; }
  .hero-copy { max-width: 660px; padding-bottom: 50px; }
  .hero-location { justify-self: start; margin: 0 0 34px; }
  .clinical-grid, .education-grid { grid-template-columns: 1fr; gap: 45px; }
  .leader-card { grid-template-columns: minmax(270px, .8fr) minmax(0, 1.2fr); }
  .leader-portrait, .leader-story { min-height: 400px; }
  .leader-story { padding: 30px 28px 26px; }
  .split-heading > p { max-width: 650px; }
  .lab-grid { grid-template-columns: repeat(2, 1fr); }
  .publication-grid { grid-template-columns: 1fr; }
  .publication-card { min-height: 240px; }
  .event-card-grid { grid-template-columns: 1fr; }
  .event-card { min-height: 180px; }
  .speaker-pathway { grid-template-columns: 1fr; gap: 28px; }
  .speaker-form-placeholder { grid-column: 1; }
  .speaker-pathway > .button { grid-column: 1; }
  .people-grid { grid-template-columns: repeat(2, 1fr); }
  .people-categories { grid-template-columns: repeat(2, 1fr); }
  .contact-giving { grid-template-columns: 1fr; }
  .contact-content, .giving-content { width: min(calc(100% - 48px), var(--max)); margin: 0 auto; }
  .footer-grid { grid-template-columns: 2fr 1fr 1fr; }
  .footer-grid > div:last-child { grid-column: 2; }
}

@media (max-width: 620px) {
  .container { width: min(calc(100% - 32px), var(--max)); }
  .prototype-note, .utility-row { display: none; }
  .brand-row { min-height: 76px; }
  .brand { min-width: 0; }
  .ucsf-mark { font-size: 29px; }
  .brand-divider { margin: 0 11px; height: 31px; }
  .division-name { font-size: 11px; }
  .hero-copy { padding-top: 64px; }
  .hero-lede { font-size: 17px; }
  .hero { background-position: 58% center; }
  .hero::before { background: rgba(3,31,51,.79); }
  .hero-location { margin-bottom: 30px; }
  .section-pad { padding: 68px 0; }
  .page-kicker { margin-bottom: 48px; }
  .leaders-grid { grid-template-columns: 1fr; }
  .leader-card { grid-template-columns: 1fr; }
  .leader-portrait { min-height: 0; aspect-ratio: 1 / 1; }
  .leader-story { min-height: 390px; padding: 26px 20px 22px; }
  .leader-story h3 { font-size: 27px; }
  .leader-role { font-size: 9px; }
  .leader-statement { font-size: 14px; line-height: 1.56; }
  .resource-panel, .speaker-pathway { padding: 25px 20px; }
  .slider-heading { margin-bottom: 26px; }
  .people-slider-block { margin-top: 38px; padding-top: 32px; }
  .download-row { align-items: flex-start; flex-direction: column; }
  .lab-grid { grid-template-columns: 1fr; }
  .lab-card { min-height: 175px; }
  .publication-card { min-height: 225px; }
  .education-grid { gap: 55px; }
  .rubric-note { align-items: flex-start; flex-direction: column; gap: 8px; }
  .people-grid { grid-template-columns: 1fr; }
  .people-categories { grid-template-columns: 1fr; }
  .fellow-spotlight { grid-template-columns: 1fr; }
  .contact-content, .giving-content { width: calc(100% - 32px); padding: 70px 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
  .footer-grid > div:last-child { grid-column: auto; }
  .footer-bottom { flex-direction: column; gap: 4px; }
}

@media (max-width: 430px) {
  .leader-portrait { aspect-ratio: 1 / 1.08; }
  .leader-story { min-height: 390px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}

/* Clinical Care interior page */
.care-page .active-nav { color: var(--blue); box-shadow: inset 0 -3px 0 var(--teal); }
.care-hero { background: var(--navy); color: white; position: relative; overflow: hidden; }
.care-hero::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(circle at 84% 10%, rgba(0,166,166,.22), transparent 30%), linear-gradient(120deg, transparent 52%, rgba(255,255,255,.035) 52% 53%, transparent 53%); pointer-events: none; }
.care-breadcrumb { position: relative; z-index: 1; display: flex; gap: 10px; padding-top: 24px; color: #9fc0cf; font-size: 12px; }
.care-breadcrumb a:hover, .care-breadcrumb a:focus { color: white; text-decoration: underline; }
.care-hero-grid { min-height: 650px; position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(320px, .65fr); gap: 85px; align-items: center; padding-top: 58px; padding-bottom: 82px; }
.care-hero-copy h1 { max-width: 680px; margin: 0; color: white; font-family: Georgia, "Times New Roman", serif; font-size: clamp(46px, 4.6vw, 70px); font-weight: 400; line-height: 1.01; letter-spacing: -.045em; }
.care-hero-copy h1 em { display: inline-block; color: var(--gold); font-weight: 400; }
.care-hero-copy > p:not(.eyebrow) { max-width: 720px; margin: 30px 0 32px; color: #d1e2e9; font-size: 19px; line-height: 1.7; }
.care-actions { margin-top: 6px; }
.care-card-label { margin: 0 0 14px; color: var(--teal-dark); font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .14em; }
.care-check { flex: 0 0 19px; width: 19px; height: 19px; display: grid; place-items: center; margin-top: 1px; border-radius: 50%; background: #d7efeb; color: var(--teal-dark); font-size: 10px; font-weight: 900; }
.visit-phone { color: var(--blue); font-family: Georgia, serif; font-size: 31px; }
.visit-links { max-width: 520px; margin-top: 35px; border-top: 1px solid var(--line); }
.visit-links a { display: flex; justify-content: space-between; gap: 20px; padding: 15px 0; border-bottom: 1px solid var(--line); color: var(--navy); font-size: 13px; font-weight: 800; }
.visit-links a:hover, .visit-links a:focus { color: var(--blue); }
.guide-languages { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 35px; }
.guide-languages span { padding: 6px 9px; background: white; border: 1px solid #d7d4ca; color: #5e665f; font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.guide-pending { width: 100%; background: #ebe8dd; border-color: #d2cfc4; color: #6f746f; cursor: default; }
.care-page-clean .clean-hero-grid { grid-template-columns: minmax(0, 1.2fr) minmax(340px, .8fr); }
.first-visit-card { align-self: center; padding: 34px; background: white; color: var(--ink); border-top: 6px solid var(--gold); box-shadow: 0 24px 60px rgba(0,0,0,.22); }
.first-visit-card h2 { margin: 0 0 24px; color: var(--navy); font-size: 34px; line-height: 1.1; }
.first-visit-card ul { margin: 0; padding: 0; list-style: none; }
.first-visit-card li { display: flex; gap: 11px; padding: 11px 0; border-top: 1px solid var(--line); color: #4f6069; font-size: 14px; line-height: 1.5; }
.first-visit-card > p:last-child { margin: 22px 0 0; padding-top: 18px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; line-height: 1.55; }
.clean-section-heading { max-width: 850px; margin-bottom: 44px; }
.clean-section-heading h2 { margin: 0; color: var(--navy); font-family: Georgia, serif; font-size: clamp(46px, 5vw, 66px); font-weight: 400; line-height: 1.02; letter-spacing: -.04em; }
.clean-section-heading > p:last-child { max-width: 760px; margin: 22px 0 0; color: var(--muted); font-size: 17px; line-height: 1.65; }
.contact-paths { background: var(--warm); }
.contact-path-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.contact-path { min-height: 340px; padding: 28px; background: white; border-top: 5px solid var(--teal); display: flex; flex-direction: column; }
.contact-path.emergency-path { background: #67212c; color: white; border-color: var(--gold); }
.contact-path.symptom-path { border-color: #d04b55; }
.contact-path.routine-path { border-color: var(--teal); }
.path-label { margin: 0 0 auto; color: var(--teal-dark); font-size: 11px; font-weight: 800; line-height: 1.35; text-transform: uppercase; letter-spacing: .1em; }
.emergency-path .path-label { color: var(--gold); }
.contact-path h3 { margin: 54px 0 14px; color: var(--navy); font-family: Georgia, serif; font-size: 27px; font-weight: 400; line-height: 1.18; }
.emergency-path h3 { color: white; }
.contact-path p { margin: 0 0 20px; color: var(--muted); font-size: 14px; line-height: 1.6; }
.emergency-path p { color: #f1dfe2; }
.contact-path a { margin-top: auto; padding-top: 15px; border-top: 1px solid var(--line); color: var(--blue); display: flex; justify-content: space-between; gap: 15px; font-size: 13px; font-weight: 800; }
.care-process { background: var(--navy); color: white; }
.care-process-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 90px; }
.process-copy h2 { margin: 0; color: white; font-family: Georgia, serif; font-size: clamp(46px, 5vw, 66px); font-weight: 400; line-height: 1.02; letter-spacing: -.04em; }
.process-copy > p:last-child { margin: 24px 0 0; color: #b9ced7; font-size: 17px; line-height: 1.7; }
.process-steps { border-top: 1px solid rgba(255,255,255,.2); }
.process-steps article { display: block; padding: 27px 0; border-bottom: 1px solid rgba(255,255,255,.2); }
.process-steps article > span { padding-top: 6px; color: var(--gold); font-size: 11px; font-weight: 800; letter-spacing: .1em; }
.process-steps h3 { margin: 0 0 8px; color: white; font-family: Georgia, serif; font-size: 29px; font-weight: 400; }
.process-steps p { margin: 0; color: #b9ced7; font-size: 14px; line-height: 1.65; }
.coordinated-team { margin-top: 62px; padding: 34px 0 0; border-top: 4px solid var(--teal); display: grid; grid-template-columns: .8fr 1.2fr; gap: 90px; }
.coordinated-team .eyebrow { margin-bottom: 13px; color: #76d6d2; }
.coordinated-team h3 { max-width: 460px; margin: 0; color: white; font-family: Georgia, serif; font-size: 30px; font-weight: 400; line-height: 1.18; }
.coordinated-team > div:last-child > p { margin: 0 0 18px; color: #b9ced7; font-size: 15px; line-height: 1.7; }
.coordinated-team .pcp-note { margin-bottom: 0 !important; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.2); }
.coordinated-team .pcp-note strong { color: white; }
.visit-plan { background: white; }
.visit-plan-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 90px; align-items: stretch; }
.visit-details h2 { margin: 0; color: var(--navy); font-size: clamp(46px, 5vw, 66px); }
.visit-details > p:not(.eyebrow) { margin: 29px 0 18px; color: #53636d; font-size: 16px; line-height: 1.75; }
.visit-details .visit-links { margin-top: 30px; }
.clean-guide-card { padding: 42px; background: var(--warm); border-top: 7px solid var(--gold); }
.clean-guide-card h3 { margin: 0; color: var(--navy); font-family: Georgia, serif; font-size: 40px; font-weight: 400; line-height: 1.1; }
.clean-guide-card > p:not(.eyebrow) { margin: 22px 0; color: var(--muted); font-size: 15px; line-height: 1.7; }

@media (max-width: 1080px) {
  .care-page-clean .clean-hero-grid { gap: 42px; }
  .care-process-grid, .coordinated-team, .visit-plan-grid { gap: 52px; }
}

@media (max-width: 900px) {
  .care-hero-grid { min-height: 0; gap: 45px; padding-top: 55px; }
  .care-page-clean .clean-hero-grid, .care-process-grid, .coordinated-team, .visit-plan-grid { grid-template-columns: 1fr; }
  .first-visit-card { width: min(100%, 620px); justify-self: end; }
  .contact-path-list { grid-template-columns: 1fr; }
  .contact-path { min-height: 270px; }
  .coordinated-team { gap: 28px; }
}

@media (max-width: 620px) {
  .care-breadcrumb { padding-top: 18px; }
  .care-hero-grid { padding-top: 42px; padding-bottom: 60px; }
  .care-hero-copy > p:not(.eyebrow) { font-size: 17px; }
  .care-actions { align-items: stretch; flex-direction: column; }
  .care-actions .button { width: 100%; justify-content: space-between; }
  .first-visit-card, .clean-guide-card { padding: 28px 21px; }
  .contact-path { min-height: 255px; padding: 24px 21px; }
}

/* Research interior page */
.research-page-detail .active-nav { color: var(--blue); box-shadow: inset 0 -3px 0 var(--teal); }
.research-detail-hero { position: relative; overflow: hidden; background: var(--navy); color: white; }
.research-detail-hero::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(circle at 83% 26%, rgba(0,166,166,.3), transparent 28%), radial-gradient(circle at 68% 94%, rgba(11,142,197,.18), transparent 34%), linear-gradient(128deg, transparent 57%, rgba(255,255,255,.045) 57% 57.3%, transparent 57.3%); }
.research-detail-breadcrumb { position: relative; z-index: 1; display: flex; gap: 10px; padding-top: 24px; color: #9fc0cf; font-size: 12px; }
.research-detail-breadcrumb a:hover, .research-detail-breadcrumb a:focus { color: white; text-decoration: underline; }
.research-detail-hero-grid { min-height: 620px; position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(310px, .75fr); gap: 86px; align-items: center; padding-top: 56px; padding-bottom: 82px; }
.research-detail-copy h1 { max-width: 800px; margin: 0; color: white; font-family: Georgia, "Times New Roman", serif; font-size: clamp(48px, 5.2vw, 76px); font-weight: 400; line-height: 1.01; letter-spacing: -.045em; }
.research-detail-copy h1 em { color: var(--gold); font-weight: 400; }
.research-detail-copy > p:not(.eyebrow) { max-width: 730px; margin: 30px 0 0; color: #d1e2e9; font-size: 19px; line-height: 1.7; }
.research-jump-card { padding: 31px; background: white; color: var(--ink); border-top: 6px solid var(--gold); box-shadow: 0 24px 60px rgba(0,0,0,.22); }
.research-card-label { margin: 0 0 16px; color: var(--teal-dark); font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .14em; }
.research-jump-card a { display: flex; justify-content: space-between; gap: 24px; padding: 18px 0; border-top: 1px solid var(--line); color: var(--navy); font-family: Georgia, serif; font-size: 20px; line-height: 1.25; }
.research-jump-card a:hover, .research-jump-card a:focus { color: var(--blue); }

.research-collaboration { background: var(--warm); scroll-margin-top: 125px; }
.collaboration-layout { display: grid; grid-template-columns: .82fr 1.18fr; gap: 92px; align-items: start; }
.collaboration-intro h2 { margin: 0; color: var(--navy); font-family: Georgia, serif; font-size: clamp(44px, 4.8vw, 64px); font-weight: 400; line-height: 1.02; letter-spacing: -.04em; }
.collaboration-intro > p:last-child { margin: 25px 0 0; color: var(--muted); font-size: 17px; line-height: 1.7; }
.collaboration-flow { position: relative; border-top: 1px solid #cbd6da; }
.collaboration-flow::before { content: ""; position: absolute; left: 7px; top: 41px; bottom: 42px; width: 1px; background: var(--teal); }
.collaboration-flow article { position: relative; display: grid; grid-template-columns: 34px 190px 1fr; gap: 18px; align-items: start; padding: 29px 0; border-bottom: 1px solid #cbd6da; }
.flow-marker { position: relative; z-index: 1; width: 15px; height: 15px; margin-top: 8px; border: 4px solid var(--warm); border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 1px var(--teal); }
.collaboration-flow h3 { margin: 0; color: var(--navy); font-family: Georgia, serif; font-size: 23px; font-weight: 400; line-height: 1.2; }
.collaboration-flow p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.65; }

.research-network-detail { background: var(--navy); color: white; scroll-margin-top: 125px; }
.research-network-heading h2 { color: white; }
.research-network-heading > p:last-child { color: #b9ced7; }
.featured-programs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 15px; }
.featured-program-card { min-height: 330px; padding: 32px; display: flex; flex-direction: column; background: white; color: var(--ink); border-top: 6px solid var(--gold); transition: transform .18s ease, box-shadow .18s ease; }
.featured-program-card:last-child { border-color: var(--teal); }
.featured-program-card:hover, .featured-program-card:focus { transform: translateY(-3px); box-shadow: 0 20px 42px rgba(0,0,0,.2); }
.program-label { color: var(--teal-dark); font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .13em; }
.featured-program-card h3 { max-width: 480px; margin: 48px 0 15px; color: var(--navy); font-family: Georgia, serif; font-size: 31px; font-weight: 400; line-height: 1.15; }
.featured-program-card p { max-width: 570px; margin: 0 0 26px; color: var(--muted); font-size: 14px; line-height: 1.65; }
.program-link { margin-top: auto; padding-top: 16px; border-top: 1px solid var(--line); color: var(--blue); display: flex; justify-content: space-between; font-size: 13px; font-weight: 800; }
.laboratory-directory { margin-top: 64px; padding-top: 36px; border-top: 1px solid rgba(255,255,255,.22); }
.laboratory-directory-heading { display: flex; justify-content: space-between; gap: 40px; align-items: end; margin-bottom: 24px; }
.laboratory-directory-heading h3 { margin: 0; color: white; font-family: Georgia, serif; font-size: 31px; font-weight: 400; }
.laboratory-directory-heading p { margin: 0; color: #9fc0cf; font-size: 14px; }
.laboratory-list { display: grid; grid-template-columns: repeat(2, 1fr); column-gap: 42px; }
.laboratory-list a { min-height: 66px; display: flex; justify-content: space-between; align-items: center; gap: 20px; border-top: 1px solid rgba(255,255,255,.18); color: #e7f1f4; font-size: 16px; font-weight: 700; }
.laboratory-list a:hover, .laboratory-list a:focus { color: var(--gold); }
.laboratory-list a:nth-last-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,.18); }

.research-evidence { background: white; scroll-margin-top: 125px; }
.evidence-heading { max-width: 880px; }
.evidence-layout { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(310px, .7fr); gap: 58px; align-items: start; }
.featured-publications > h3 { margin: 0 0 16px; color: var(--navy); font-family: Georgia, serif; font-size: 29px; font-weight: 400; }
.research-publication { padding: 28px 0 30px; border-top: 1px solid var(--line); }
.research-publication:last-child { border-bottom: 1px solid var(--line); }
.publication-citation { margin: 0 0 13px !important; color: var(--teal-dark) !important; font-size: 11px !important; font-weight: 800; text-transform: uppercase; letter-spacing: .09em; }
.research-publication h4 { max-width: 790px; margin: 0; color: var(--navy); font-family: Georgia, serif; font-size: 27px; font-weight: 400; line-height: 1.2; }
.research-publication > p:not(.publication-citation) { max-width: 760px; margin: 16px 0 22px; color: var(--muted); font-size: 15px; line-height: 1.65; }
.publication-footer { display: flex; justify-content: space-between; align-items: center; gap: 22px; }
.research-tag-row { display: flex; flex-wrap: wrap; gap: 7px; }
.research-tag-row span { padding: 5px 8px; background: var(--pale); color: #52646d; font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; }
.publication-footer > a { flex: 0 0 auto; color: var(--blue); font-size: 12px; font-weight: 800; }
.publication-footer > a:hover, .publication-footer > a:focus { text-decoration: underline; }
.clinical-studies-card { position: sticky; top: 150px; padding: 36px; background: var(--navy); color: white; border-top: 7px solid var(--gold); }
.clinical-studies-card h3 { margin: 0; color: white; font-family: Georgia, serif; font-size: 38px; font-weight: 400; line-height: 1.12; }
.clinical-studies-card > p:not(.eyebrow) { margin: 23px 0 28px; color: #c5d9e2; font-size: 15px; line-height: 1.7; }
.clinical-studies-card .button { width: 100%; justify-content: space-between; }
.clinical-studies-card > span { display: block; margin-top: 14px; color: #9fbac7; font-size: 11px; line-height: 1.5; }

@media (max-width: 1000px) {
  .research-detail-hero-grid { gap: 48px; }
  .collaboration-layout { gap: 52px; }
  .evidence-layout { gap: 36px; }
}

@media (max-width: 900px) {
  .research-detail-hero-grid, .collaboration-layout, .evidence-layout { grid-template-columns: 1fr; }
  .research-detail-hero-grid { min-height: 0; }
  .research-jump-card { width: min(100%, 620px); justify-self: end; }
  .collaboration-flow article { grid-template-columns: 34px 175px 1fr; }
  .clinical-studies-card { position: static; width: min(100%, 620px); }
}

@media (max-width: 700px) {
  .featured-programs, .laboratory-list { grid-template-columns: 1fr; }
  .laboratory-list a:nth-last-child(2) { border-bottom: 0; }
  .laboratory-directory-heading { display: block; }
  .laboratory-directory-heading p { margin-top: 8px; }
  .collaboration-flow article { grid-template-columns: 28px 1fr; }
  .collaboration-flow article p { grid-column: 2; }
  .publication-footer { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 620px) {
  .research-detail-breadcrumb { padding-top: 18px; }
  .research-detail-hero-grid { padding-top: 42px; padding-bottom: 60px; }
  .research-detail-copy > p:not(.eyebrow) { font-size: 17px; }
  .research-jump-card, .featured-program-card, .clinical-studies-card { padding: 27px 21px; }
  .featured-program-card { min-height: 300px; }
  .research-publication h4 { font-size: 24px; }
}

/* Education and training concept page */
.education-page-detail .active-nav { color: var(--blue); box-shadow: inset 0 -3px 0 var(--gold); }
.education-detail-hero { position: relative; overflow: hidden; background: #f3c95f; color: var(--navy); }
.education-detail-hero::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(circle at 87% 16%, rgba(255,255,255,.5), transparent 27%), linear-gradient(125deg, transparent 59%, rgba(5,44,70,.07) 59% 59.3%, transparent 59.3%); }
.education-detail-breadcrumb { position: relative; z-index: 1; display: flex; gap: 10px; padding-top: 24px; color: #65501c; font-size: 12px; }
.education-detail-breadcrumb a:hover, .education-detail-breadcrumb a:focus { color: var(--navy); text-decoration: underline; }
.education-detail-hero-grid { min-height: 600px; position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.28fr) minmax(310px, .72fr); gap: 86px; align-items: center; padding-top: 54px; padding-bottom: 80px; }
.education-detail-copy .eyebrow { color: #58430c; }
.education-detail-copy h1 { max-width: 840px; margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(48px, 5.2vw, 76px); font-weight: 400; line-height: 1.01; letter-spacing: -.045em; }
.education-detail-copy h1 em { color: var(--blue); font-weight: 400; }
.education-detail-copy > p:not(.eyebrow) { max-width: 720px; margin: 30px 0 0; color: #574c31; font-size: 19px; line-height: 1.7; }
.education-jump-card { padding: 31px; background: var(--navy); color: white; border-top: 6px solid var(--teal); box-shadow: 0 24px 60px rgba(67,49,10,.2); }
.education-jump-card > p { margin: 0 0 16px; color: #78d7d4; font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .14em; }
.education-jump-card a { display: flex; justify-content: space-between; gap: 24px; padding: 19px 0; border-top: 1px solid rgba(255,255,255,.2); color: white; font-family: Georgia, serif; font-size: 21px; line-height: 1.25; }
.education-jump-card a:hover, .education-jump-card a:focus { color: var(--gold); }

.fellowship-detail { background: white; scroll-margin-top: 125px; }
.fellowship-heading-row { display: grid; grid-template-columns: minmax(0, 1fr) 290px; gap: 70px; align-items: end; }
.fellowship-heading-row .clean-section-heading { margin-bottom: 0; }
.program-director-card { overflow: hidden; display: block; border: 1px solid var(--line); border-top: 5px solid var(--teal); background: var(--pale); }
.program-director-card img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: center 24%; }
.program-director-copy { padding: 23px 25px 25px; }
.program-director-card span, .program-director-card strong, .program-director-card small { display: block; }
.program-director-card span { color: var(--teal-dark); font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .12em; }
.program-director-card strong { margin-top: 18px; color: var(--navy); font-family: Georgia, serif; font-size: 25px; font-weight: 400; }
.program-director-card small { margin-top: 9px; color: var(--blue); font-size: 12px; font-weight: 800; }
.fellowship-tracks { display: grid; grid-template-columns: repeat(2, 1fr); gap: 15px; margin-top: 52px; }
.fellowship-track { min-height: 500px; padding: 33px; display: flex; flex-direction: column; border-top: 6px solid var(--blue); background: #f1f7f8; }
.fellowship-track.scientist-track { background: var(--navy); color: white; border-color: var(--gold); }
.track-label { margin: 0; color: var(--teal-dark); font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .11em; }
.scientist-track .track-label { color: var(--gold); }
.fellowship-track h3 { max-width: 500px; margin: 48px 0 18px; color: var(--navy); font-family: Georgia, serif; font-size: 35px; font-weight: 400; line-height: 1.12; }
.scientist-track h3 { color: white; }
.fellowship-track > p:not(.track-label) { max-width: 590px; margin: 0 0 34px; color: var(--muted); font-size: 15px; line-height: 1.7; }
.scientist-track > p:not(.track-label) { color: #bed1da; }
.fellowship-track dl { margin: auto 0 0; border-top: 1px solid #cddadd; }
.scientist-track dl { border-color: rgba(255,255,255,.2); }
.fellowship-track dl > div { display: grid; grid-template-columns: 105px 1fr; gap: 18px; padding: 13px 0; border-bottom: 1px solid #cddadd; }
.scientist-track dl > div { border-color: rgba(255,255,255,.2); }
.fellowship-track dt { color: var(--teal-dark); font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.scientist-track dt { color: #79d6d4; }
.fellowship-track dd { margin: 0; color: #465861; font-size: 13px; font-weight: 700; }
.scientist-track dd { color: #d8e6eb; }
.fellowship-essentials { margin-top: 16px; padding: 38px; display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; background: var(--navy); color: white; }
.fellowship-essentials h3 { margin: 0; font-family: Georgia, serif; font-size: 32px; font-weight: 400; }
.fellowship-essentials > div:first-child > p:last-child { margin: 17px 0 0; color: #bed1da; font-size: 14px; line-height: 1.65; }
.fellowship-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.fellowship-actions .button { flex: 1 1 210px; justify-content: space-between; }
.fellowship-actions > span { flex: 1 0 100%; margin-top: 3px; color: #9fbac7; font-size: 11px; }

.research-training-detail { background: var(--warm); scroll-margin-top: 125px; }
.research-training-layout { display: grid; grid-template-columns: .86fr 1.14fr; gap: 95px; align-items: start; }
.research-training-copy h2 { margin: 0; color: var(--navy); font-family: Georgia, serif; font-size: clamp(45px, 4.8vw, 64px); font-weight: 400; line-height: 1.02; letter-spacing: -.04em; }
.research-training-copy > p:last-child { margin: 25px 0 0; color: var(--muted); font-size: 17px; line-height: 1.7; }
.research-training-paths { border-top: 1px solid #cdd6d9; }
.research-training-paths > a { min-height: 215px; padding: 27px 0; display: flex; flex-direction: column; border-bottom: 1px solid #cdd6d9; }
.research-training-paths > a > span { color: var(--teal-dark); font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .11em; }
.research-training-paths strong { max-width: 580px; margin-top: 34px; color: var(--navy); font-family: Georgia, serif; font-size: 29px; font-weight: 400; line-height: 1.17; }
.research-training-paths small { margin-top: auto; color: var(--blue); font-size: 12px; font-weight: 800; }
.research-training-paths > a:hover strong, .research-training-paths > a:focus strong { color: var(--blue); }

@media (max-width: 1000px) {
  .education-detail-hero-grid { gap: 48px; }
  .fellowship-heading-row { gap: 42px; }
  .research-training-layout { gap: 55px; }
}

@media (max-width: 900px) {
  .education-detail-hero-grid, .fellowship-heading-row, .research-training-layout { grid-template-columns: 1fr; }
  .education-detail-hero-grid { min-height: 0; }
  .education-jump-card { width: min(100%, 620px); justify-self: end; }
  .program-director-card { width: min(100%, 420px); }
  .fellowship-essentials { gap: 40px; }
}

@media (max-width: 700px) {
  .fellowship-tracks, .fellowship-essentials { grid-template-columns: 1fr; }
  .fellowship-track { min-height: 0; }
}

@media (max-width: 620px) {
  .education-detail-breadcrumb { padding-top: 18px; }
  .education-detail-hero-grid { padding-top: 42px; padding-bottom: 60px; }
  .education-detail-copy > p:not(.eyebrow) { font-size: 17px; }
  .education-jump-card, .fellowship-track, .fellowship-essentials { padding: 27px 21px; }
  .fellowship-track dl > div { grid-template-columns: 86px 1fr; }
}

/* About and people page */
.about-page-detail .active-nav { color: var(--blue); box-shadow: inset 0 -3px 0 var(--teal); }
.about-detail-hero { position: relative; overflow: hidden; background: var(--navy); color: white; }
.about-detail-hero::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(circle at 84% 16%, rgba(0,166,166,.26), transparent 29%), radial-gradient(circle at 62% 94%, rgba(242,199,92,.14), transparent 32%), linear-gradient(126deg, transparent 58%, rgba(255,255,255,.045) 58% 58.3%, transparent 58.3%); }
.about-detail-breadcrumb { position: relative; z-index: 1; display: flex; gap: 10px; padding-top: 24px; color: #a7c3ce; font-size: 12px; }
.about-detail-breadcrumb a:hover, .about-detail-breadcrumb a:focus { color: white; text-decoration: underline; }
.about-detail-hero-grid { min-height: 610px; position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(320px, .8fr); gap: 88px; align-items: center; padding-top: 54px; padding-bottom: 82px; }
.about-detail-copy h1 { max-width: 820px; margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(50px, 5.4vw, 78px); font-weight: 400; line-height: 1.01; letter-spacing: -.045em; }
.about-detail-copy h1 em { color: var(--gold); font-weight: 400; }
.about-detail-copy > p:not(.eyebrow) { max-width: 720px; margin: 30px 0 0; color: #d1e2e9; font-size: 19px; line-height: 1.7; }
.about-jump-card { padding: 31px; background: white; color: var(--navy); border-top: 6px solid var(--gold); box-shadow: 0 24px 60px rgba(0,0,0,.22); }
.about-jump-card > p { margin: 0 0 16px; color: var(--teal-dark); font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .14em; }
.about-jump-card a { display: flex; justify-content: space-between; gap: 24px; padding: 17px 0; border-top: 1px solid var(--line); color: var(--navy); font-family: Georgia, serif; font-size: 20px; line-height: 1.25; }
.about-jump-card a:hover, .about-jump-card a:focus { color: var(--blue); }

.about-leadership { background: var(--warm); scroll-margin-top: 125px; }
.about-leadership-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.about-leader-card { min-width: 0; display: flex; flex-direction: column; background: white; border-top: 5px solid var(--teal); box-shadow: 0 16px 38px rgba(5,44,70,.08); }
.about-leader-card:nth-child(2) { border-color: var(--blue); }
.about-leader-card:nth-child(3) { border-color: var(--gold); }
.about-leader-card img { width: 100%; aspect-ratio: 4 / 3; display: block; object-fit: cover; object-position: center 24%; background: #e7edf0; }
.about-leader-card > div { min-height: 245px; padding: 24px; display: flex; flex-direction: column; }
.about-leader-card > div > span { color: var(--teal-dark); font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; }
.about-leader-card h3 { margin: 30px 0 7px; color: var(--navy); font-family: Georgia, serif; font-size: 25px; font-weight: 400; line-height: 1.12; }
.about-leader-card p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.45; }
.about-leader-card small { margin-top: auto; padding-top: 20px; color: var(--blue); font-size: 12px; font-weight: 800; }
.about-leader-card:hover h3, .about-leader-card:focus h3 { color: var(--blue); }

.faculty-directory { background: var(--navy); color: white; scroll-margin-top: 125px; }
.faculty-heading-row { display: flex; justify-content: space-between; gap: 60px; align-items: end; margin-bottom: 44px; }
.faculty-heading-row .clean-section-heading { margin: 0; }
.faculty-heading-row .clean-section-heading h2 { color: white; }
.faculty-heading-row .clean-section-heading > p:last-child { color: #bdd1da; }
.role-key { flex: 0 0 auto; display: flex; flex-wrap: wrap; gap: 8px; padding-bottom: 5px; }
.role-key span { padding: 7px 9px; border: 1px solid rgba(255,255,255,.24); color: #cde0e7; font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .07em; }
.faculty-card-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.faculty-profile-card { min-width: 0; display: flex; flex-direction: column; background: white; color: var(--ink); transition: transform .18s ease, box-shadow .18s ease; }
.faculty-profile-card:hover, .faculty-profile-card:focus { transform: translateY(-3px); box-shadow: 0 18px 42px rgba(0,0,0,.23); }
.faculty-photo { aspect-ratio: 1 / .86; overflow: hidden; background: #dfe8eb; }
.faculty-photo img { width: 100%; height: 100%; display: block; object-fit: cover; object-position: center 22%; filter: saturate(.9); }
.faculty-profile-copy { min-height: 250px; padding: 23px; display: flex; flex-direction: column; }
.faculty-profile-copy > span { color: var(--teal-dark); font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .09em; }
.faculty-profile-copy h3 { margin: 31px 0 10px; color: var(--navy); font-family: Georgia, serif; font-size: 24px; font-weight: 400; line-height: 1.12; }
.faculty-profile-copy p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.5; }
.faculty-profile-copy small { margin-top: auto; padding-top: 20px; border-top: 1px solid var(--line); color: var(--blue); font-size: 12px; font-weight: 800; }

.fellows-detail { background: white; scroll-margin-top: 125px; }
.fellows-layout { display: grid; grid-template-columns: .7fr 1.3fr; gap: 80px; align-items: start; }
.fellows-intro { position: sticky; top: 150px; }
.fellows-intro h2 { color: var(--navy); font-size: clamp(46px, 4.8vw, 66px); line-height: 1.02; }
.fellows-intro > p:not(.eyebrow) { margin: 26px 0 30px; color: var(--muted); font-size: 17px; line-height: 1.68; }
.fellow-roster { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.fellow-roster article { min-height: 150px; padding: 19px; display: grid; grid-template-columns: 68px 1fr; gap: 18px; align-items: center; background: white; }
.fellow-roster article.new-fellow { background: linear-gradient(90deg, #f0f8f7, white); }
.fellow-avatar { width: 62px; height: 62px; overflow: hidden; display: grid; place-items: center; border-radius: 50%; background: var(--navy); color: white; font-family: Georgia, serif; font-size: 18px; }
.fellow-avatar img { width: 100%; height: 100%; display: block; object-fit: cover; object-position: center 22%; }
.new-fellow .fellow-avatar { background: var(--teal-dark); }
.fellow-roster small { display: block; margin-bottom: 4px; color: var(--teal-dark); font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; }
.fellow-roster h3 { margin: 0; color: var(--navy); font-family: Georgia, serif; font-size: 21px; font-weight: 400; line-height: 1.2; }
.fellow-roster p { margin: 3px 0 0; color: var(--muted); font-size: 13px; }

.division-community { background: var(--teal-dark); color: white; scroll-margin-top: 125px; }
.division-community .clean-section-heading h2 { color: white; }
.division-community .clean-section-heading > p:last-child { color: #d2ecea; }
.community-path-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.community-path-grid > a { min-height: 310px; padding: 29px; display: flex; flex-direction: column; background: white; color: var(--ink); border-top: 6px solid var(--gold); }
.community-path-grid > a:nth-child(2) { border-color: var(--blue-bright); }
.community-path-grid > a:nth-child(3) { border-color: var(--navy); }
.community-path-grid > a > span { color: var(--teal-dark); font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; }
.community-path-grid h3 { margin: 52px 0 25px; color: var(--navy); font-family: Georgia, serif; font-size: 31px; font-weight: 400; line-height: 1.15; }
.community-path-grid small { margin-top: auto; padding-top: 17px; border-top: 1px solid var(--line); color: var(--blue); font-size: 12px; font-weight: 800; }
.community-path-grid > a:hover h3, .community-path-grid > a:focus h3 { color: var(--blue); }

@media (max-width: 1050px) {
  .faculty-heading-row { align-items: start; flex-direction: column; gap: 22px; }
}

@media (max-width: 900px) {
  .about-leadership-grid, .faculty-card-grid { grid-template-columns: repeat(2, 1fr); }
  .about-detail-hero-grid, .fellows-layout { grid-template-columns: 1fr; }
  .about-detail-hero-grid { min-height: 0; gap: 48px; }
  .about-jump-card { width: min(100%, 620px); justify-self: end; }
  .fellows-intro { position: static; max-width: 720px; }
  .community-path-grid { grid-template-columns: 1fr; }
  .community-path-grid > a { min-height: 230px; }
}

@media (max-width: 620px) {
  .about-detail-breadcrumb { padding-top: 18px; }
  .about-detail-hero-grid { padding-top: 42px; padding-bottom: 60px; }
  .about-detail-copy > p:not(.eyebrow) { font-size: 17px; }
  .about-jump-card { padding: 27px 21px; }
  .about-leadership-grid, .faculty-card-grid, .fellow-roster { grid-template-columns: 1fr; }
  .faculty-profile-copy { min-height: 225px; }
  .fellow-roster article { min-height: 128px; grid-template-columns: 62px 1fr; gap: 16px; }
  .community-path-grid > a { min-height: 0; }
}

/* Events and seminars concept page */
.events-page-detail .active-nav { color: var(--blue); box-shadow: inset 0 -3px 0 var(--gold); }
.events-detail-hero { position: relative; overflow: hidden; background: var(--blue); color: white; }
.events-detail-hero::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, rgba(5,44,70,.27) 1px, transparent 1px), linear-gradient(rgba(255,255,255,.11) 1px, transparent 1px), radial-gradient(circle at 82% 34%, rgba(0,166,166,.62), transparent 34%); background-size: 88px 88px, 88px 88px, auto; opacity: .75; }
.events-detail-breadcrumb { position: relative; z-index: 1; display: flex; gap: 10px; padding-top: 24px; color: #d6ebf4; font-size: 12px; }
.events-detail-breadcrumb a:hover, .events-detail-breadcrumb a:focus { color: white; text-decoration: underline; }
.events-poster-copy { min-height: 540px; position: relative; z-index: 1; padding-top: 70px; padding-bottom: 62px; }
.events-poster-copy .eyebrow { color: #d9f6f3; }
.events-poster-copy h1 { max-width: 1050px; margin: 0; color: white; font-family: Georgia, "Times New Roman", serif; font-size: clamp(58px, 7.2vw, 104px); font-weight: 400; line-height: .91; letter-spacing: -.055em; }
.events-poster-copy h1 em { color: var(--gold); font-weight: 400; }
.events-poster-copy > p:not(.eyebrow) { max-width: 670px; margin: 34px 0 0 auto; padding-left: 24px; border-left: 4px solid var(--gold); color: #e5f3f8; font-size: 18px; line-height: 1.7; }
.event-format-line { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 42px; }
.event-format-line span { padding: 8px 11px; border: 1px solid rgba(255,255,255,.47); color: white; font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.events-section-rail { position: relative; z-index: 2; transform: translateY(1px); display: grid; grid-template-columns: repeat(3, 1fr); background: white; box-shadow: 0 -8px 30px rgba(5,44,70,.14); }
.events-section-rail a { min-height: 82px; padding: 20px 25px; display: flex; align-items: center; justify-content: space-between; gap: 22px; border-right: 1px solid var(--line); border-top: 6px solid var(--gold); color: var(--navy); font-family: Georgia, serif; font-size: 20px; line-height: 1.2; }
.events-section-rail a:nth-child(2) { border-top-color: var(--teal); }
.events-section-rail a:nth-child(3) { border-top-color: var(--navy); border-right: 0; }
.events-section-rail a:hover, .events-section-rail a:focus { color: var(--blue); background: #f4f8f9; }

.upcoming-detail { background: white; scroll-margin-top: 125px; }
.upcoming-heading-row { display: flex; justify-content: space-between; gap: 60px; align-items: end; }
.upcoming-heading-row .clean-section-heading { margin-bottom: 0; }
.event-key { max-width: 410px; display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; padding-bottom: 6px; }
.event-key span { padding: 7px 9px; border: 1px solid #cbd8dc; color: #52666f; font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; }
.upcoming-empty-state { min-height: 285px; margin-top: 46px; padding: 46px; display: grid; grid-template-columns: 150px 1fr; gap: 52px; align-items: center; background: var(--warm); border-top: 6px solid var(--teal); }
.empty-calendar { width: 150px; height: 150px; display: flex; flex-direction: column; background: white; border: 1px solid #d8d5ca; box-shadow: 0 14px 32px rgba(5,44,70,.08); }
.empty-calendar span { padding: 11px; background: var(--teal-dark); color: white; font-size: 12px; font-weight: 800; text-align: center; text-transform: uppercase; letter-spacing: .09em; }
.empty-calendar strong { flex: 1; display: grid; place-items: center; color: var(--navy); font-family: Georgia, serif; font-size: 52px; font-weight: 400; }
.upcoming-empty-state h3 { margin: 0; color: var(--navy); font-family: Georgia, serif; font-size: 35px; font-weight: 400; line-height: 1.15; }
.upcoming-empty-state p { max-width: 680px; margin: 15px 0 0; color: var(--muted); font-size: 16px; line-height: 1.7; }

.seminar-series-detail { background: var(--navy); color: white; scroll-margin-top: 125px; }
.seminar-series-masthead { display: grid; grid-template-columns: 1.15fr .85fr; gap: 100px; align-items: end; }
.seminar-series-intro h2 { max-width: 780px; color: white; font-size: clamp(48px, 5.5vw, 75px); line-height: 1.01; }
.seminar-series-summary { padding: 0 0 8px 27px; border-left: 4px solid var(--gold); }
.seminar-series-summary p { margin: 0 0 20px; color: #bdd1da; font-size: 17px; line-height: 1.7; }
.seminar-series-summary a { color: #8ddfdb; font-size: 14px; font-weight: 800; }
.seminar-series-summary a:hover, .seminar-series-summary a:focus { color: var(--gold); text-decoration: underline; }
.seminar-principles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 58px; }
.seminar-principles article { min-height: 350px; padding: 29px; display: flex; flex-direction: column; background: white; color: var(--ink); border-bottom: 7px solid var(--teal); }
.seminar-principles article:nth-child(2) { background: var(--gold); border-color: white; }
.seminar-principles article:nth-child(3) { background: var(--teal-dark); color: white; border-color: var(--gold); }
.seminar-principles article > span { color: var(--teal-dark); font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; }
.seminar-principles article:nth-child(2) > span { color: #60490e; }
.seminar-principles article:nth-child(3) > span { color: #d9f6f3; }
.seminar-principles h3 { margin: auto 0 18px; color: var(--navy); font-family: Georgia, serif; font-size: 32px; font-weight: 400; line-height: 1.12; }
.seminar-principles article:nth-child(3) h3 { color: white; }
.seminar-principles p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.68; }
.seminar-principles article:nth-child(2) p { color: #5b4d29; }
.seminar-principles article:nth-child(3) p { color: #d3eceb; }

.speaker-interest-detail { background: var(--warm); scroll-margin-top: 125px; }
.speaker-interest-heading { max-width: 850px; }
.speaker-interest-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; align-items: stretch; }
.speaker-steps { background: white; border-top: 6px solid var(--teal); }
.speaker-steps article { min-height: 175px; padding: 28px 30px; display: grid; grid-template-columns: 75px 1fr; column-gap: 22px; border-bottom: 1px solid var(--line); }
.speaker-steps article > span { grid-row: 1 / 3; color: var(--teal-dark); font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.speaker-steps h3 { margin: 0 0 9px; color: var(--navy); font-family: Georgia, serif; font-size: 28px; font-weight: 400; line-height: 1.18; }
.speaker-steps p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.65; }
.scheduling-agreement { padding: 40px; background: var(--navy); color: white; border-top: 6px solid var(--gold); }
.scheduling-agreement h3 { margin: 0 0 28px; color: white; font-family: Georgia, serif; font-size: 39px; font-weight: 400; line-height: 1.1; }
.scheduling-agreement > div { padding: 17px 0; border-top: 1px solid rgba(255,255,255,.2); }
.scheduling-agreement strong, .scheduling-agreement span { display: block; }
.scheduling-agreement strong { color: white; font-size: 15px; }
.scheduling-agreement div > span { margin-top: 5px; color: #bdd1da; font-size: 14px; line-height: 1.6; }
.scheduling-agreement .reasonable-exceptions { margin-top: 12px; padding: 18px; border: 1px solid rgba(242,199,92,.5); background: rgba(242,199,92,.08); }
.scheduling-agreement .reasonable-exceptions strong { color: var(--gold); }
.scheduling-agreement .button { width: 100%; justify-content: space-between; margin-top: 28px; }

@media (max-width: 1000px) {
  .seminar-series-masthead { gap: 52px; }
}

@media (max-width: 900px) {
  .seminar-series-masthead, .speaker-interest-layout { grid-template-columns: 1fr; }
  .events-section-rail { grid-template-columns: 1fr; }
  .events-section-rail a { min-height: 68px; border-right: 0; border-bottom: 1px solid var(--line); }
  .upcoming-heading-row { align-items: start; flex-direction: column; gap: 22px; }
  .event-key { justify-content: flex-start; }
  .seminar-series-summary { max-width: 720px; }
  .seminar-principles { grid-template-columns: 1fr; }
  .seminar-principles article { min-height: 260px; }
}

@media (max-width: 620px) {
  .events-detail-breadcrumb { padding-top: 18px; }
  .events-poster-copy { min-height: 0; padding-top: 54px; padding-bottom: 54px; }
  .events-poster-copy h1 { font-size: clamp(52px, 17vw, 72px); }
  .events-poster-copy > p:not(.eyebrow) { margin-left: 0; font-size: 17px; }
  .events-section-rail { width: 100%; }
  .events-section-rail a { padding-left: 16px; padding-right: 16px; }
  .scheduling-agreement { padding: 27px 21px; }
  .upcoming-empty-state { grid-template-columns: 1fr; gap: 28px; padding: 28px 21px; }
  .empty-calendar { width: 118px; height: 118px; }
  .speaker-steps article { grid-template-columns: 1fr; }
  .speaker-steps article > span { grid-row: auto; margin-bottom: 13px; }
}

/* Contact and directions concept page */
.contact-page-detail .active-nav { color: var(--blue); box-shadow: inset 0 -3px 0 var(--teal); }
.contact-directory-hero { background: var(--navy); color: white; }
.contact-breadcrumb { display: flex; gap: 10px; padding-top: 24px; color: #a9c5d0; font-size: 12px; }
.contact-breadcrumb a:hover, .contact-breadcrumb a:focus { color: white; text-decoration: underline; }
.contact-hero-grid { min-height: 355px; display: grid; grid-template-columns: 1.15fr .85fr; gap: 90px; align-items: end; padding-top: 56px; padding-bottom: 70px; }
.contact-hero-grid h1 { margin: 0; color: white; font-family: Georgia, "Times New Roman", serif; font-size: clamp(62px, 7vw, 96px); font-weight: 400; line-height: .9; letter-spacing: -.055em; }
.contact-hero-grid h1 em { color: var(--gold); font-weight: 400; }
.contact-hero-grid > p { max-width: 530px; margin: 0 0 4px; padding-left: 25px; border-left: 4px solid var(--teal); color: #d4e5ec; font-size: 18px; line-height: 1.72; }

.contact-routing { padding: 72px 0 112px; background: #e8f2f4; }
.routing-board { display: grid; grid-template-columns: 300px 1fr; background: white; border: 1px solid #cfdcdf; box-shadow: 0 24px 65px rgba(5,44,70,.11); }
.routing-board-heading { padding: 40px 34px; background: var(--gold); align-self: stretch; }
.routing-board-heading .eyebrow { color: #674e11; }
.routing-board-heading h2 { color: var(--navy); font-size: 47px; line-height: 1.02; }
.routing-list article { min-height: 210px; display: grid; grid-template-columns: 1fr 285px; gap: 42px; padding: 34px 38px; border-bottom: 1px solid var(--line); }
.routing-list article:last-child { border-bottom: 0; }
.routing-list article > div:first-child > span { color: var(--teal-dark); font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .11em; }
.routing-list h3 { margin: 12px 0 9px; color: var(--navy); font-family: Georgia, serif; font-size: 29px; font-weight: 400; line-height: 1.15; }
.routing-list p { max-width: 620px; margin: 0; color: var(--muted); font-size: 15px; line-height: 1.62; }
.routing-actions { display: flex; flex-direction: column; align-items: stretch; justify-content: center; }
.routing-actions a { display: flex; justify-content: space-between; gap: 15px; padding: 12px 0; border-bottom: 1px solid var(--line); color: var(--blue); font-size: 13px; font-weight: 800; }
.routing-actions a:hover, .routing-actions a:focus { color: var(--navy); text-decoration: underline; text-underline-offset: 3px; }

.visit-directory { background: var(--teal-dark); color: white; scroll-margin-top: 125px; }
.visit-directory-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 100px; }
.visit-address-block { padding-right: 55px; border-right: 1px solid rgba(255,255,255,.28); }
.visit-address-block h2 { color: white; font-size: clamp(56px, 6vw, 80px); }
.visit-address-block address { margin: 38px 0 27px; color: #e2f3f2; font-family: Georgia, serif; font-size: 22px; font-style: normal; line-height: 1.58; }
.visit-address-block > a { color: var(--gold); font-size: 19px; font-weight: 800; }
.visit-address-block > a:hover, .visit-address-block > a:focus { color: white; text-decoration: underline; }
.visit-guidance { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: rgba(255,255,255,.2); border: 1px solid rgba(255,255,255,.2); }
.visit-guidance > div { min-height: 235px; padding: 30px; background: #07757b; }
.visit-guidance > div:first-child { grid-column: 1 / -1; min-height: 185px; background: white; color: var(--ink); }
.visit-guidance h3 { margin: 0 0 13px; color: white; font-family: Georgia, serif; font-size: 27px; font-weight: 400; line-height: 1.15; }
.visit-guidance > div:first-child h3 { color: var(--navy); }
.visit-guidance p { margin: 0; color: #d9efee; font-size: 15px; line-height: 1.65; }
.visit-guidance > div:first-child p { color: var(--muted); }
.visit-guidance a { display: inline-block; margin-top: 20px; color: var(--gold); font-size: 13px; font-weight: 800; }
.visit-guidance a:hover, .visit-guidance a:focus { color: white; text-decoration: underline; }
.contact-page-closing { padding: 46px 0; background: var(--warm); }
.contact-closing-inner { display: flex; align-items: center; gap: 24px; }
.contact-closing-inner > p { margin: 0 auto 0 0; color: var(--navy); font-family: Georgia, serif; font-size: 23px; }
.contact-closing-inner .back-to-top { margin-left: 20px; }

/* Giving concept page */
.giving-page-detail .active-give { outline: 3px solid rgba(0,98,155,.22); outline-offset: 3px; }
.giving-editorial-hero { position: relative; overflow: hidden; background: var(--gold); color: var(--navy); }
.giving-editorial-hero::after { content: ""; position: absolute; width: 560px; height: 560px; right: -180px; top: -220px; border: 95px solid rgba(255,255,255,.22); border-radius: 50%; pointer-events: none; }
.giving-breadcrumb { position: relative; z-index: 1; display: flex; gap: 10px; padding-top: 24px; color: #67531f; font-size: 12px; }
.giving-breadcrumb a:hover, .giving-breadcrumb a:focus { color: var(--blue); text-decoration: underline; }
.giving-hero-copy { position: relative; z-index: 1; min-height: 590px; padding-top: 82px; padding-bottom: 110px; }
.giving-hero-copy .eyebrow { color: #685015; }
.giving-hero-copy h1 { max-width: 980px; margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(62px, 7.4vw, 108px); font-weight: 400; line-height: .9; letter-spacing: -.06em; }
.giving-hero-copy h1 em { color: var(--blue); font-weight: 400; }
.giving-hero-copy > p:not(.eyebrow) { max-width: 690px; margin: 34px 0 31px; font-size: 20px; line-height: 1.65; }
.giving-hero-band { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(3, 1fr); background: var(--navy); color: white; }
.giving-hero-band span { min-height: 78px; display: grid; place-items: center; border-right: 1px solid rgba(255,255,255,.22); font-family: Georgia, serif; font-size: 22px; }
.giving-hero-band span:last-child { border-right: 0; }

.giving-impact { padding: 108px 0 0; background: white; }
.impact-intro { display: grid; grid-template-columns: .55fr 1fr; grid-template-rows: auto auto; column-gap: 88px; margin-bottom: 62px; }
.impact-intro .eyebrow { grid-column: 1; }
.impact-intro h2 { grid-column: 1; color: var(--navy); font-size: clamp(50px, 5vw, 70px); }
.impact-intro > p:last-child { grid-column: 2; grid-row: 1 / 3; align-self: end; max-width: 610px; margin: 0 0 6px; padding-left: 27px; border-left: 4px solid var(--teal); color: var(--muted); font-size: 19px; line-height: 1.68; }
.impact-ribbon > div { min-height: 205px; display: grid; grid-template-columns: 260px 1fr; gap: 70px; align-items: center; }
.impact-ribbon span { font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .13em; }
.impact-ribbon h3 { max-width: 830px; margin: 0; font-family: Georgia, serif; font-size: 34px; font-weight: 400; line-height: 1.25; }
.patient-impact { background: #e3f2f1; color: var(--navy); }
.patient-impact span { color: var(--teal-dark); }
.discovery-impact { background: var(--blue); color: white; }
.discovery-impact span { color: #bce9f5; }
.training-impact { background: var(--warm); color: var(--navy); }
.training-impact span { color: #75601d; }

.giving-conversation { background: var(--navy); color: white; }
.giving-conversation-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 105px; }
.giving-conversation h2 { color: white; font-size: clamp(50px, 5.2vw, 72px); line-height: 1.02; }
.giving-conversation-grid > div:first-child > p:last-child { margin: 29px 0 0; color: #bdd1da; font-size: 17px; line-height: 1.7; }
.giving-path-list { border-top: 1px solid rgba(255,255,255,.28); }
.giving-path-list > a { min-height: 122px; display: flex; justify-content: space-between; gap: 35px; align-items: center; padding: 25px 7px; border-bottom: 1px solid rgba(255,255,255,.28); }
.giving-path-list > a:hover, .giving-path-list > a:focus { padding-left: 17px; background: rgba(255,255,255,.06); }
.giving-path-list span, .giving-path-list strong, .giving-path-list small { display: block; }
.giving-path-list span { color: #84d8d5; font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; }
.giving-path-list strong { margin-top: 7px; color: white; font-family: Georgia, serif; font-size: 23px; font-weight: 400; line-height: 1.25; }
.giving-path-list small { margin-top: 6px; color: #bdd1da; font-size: 13px; }
.giving-path-list > a > span { flex: 0 0 auto; color: var(--gold); font-size: 21px; }

.giving-closing { padding: 78px 0; background: var(--gold); }
.giving-closing-grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: 100px; align-items: center; }
.giving-closing-statement { margin: 0; color: var(--navy); font-family: Georgia, serif; font-size: clamp(36px, 4vw, 55px); line-height: 1.17; }
.giving-closing-grid > div { padding-left: 30px; border-left: 1px solid rgba(5,44,70,.3); }
.giving-closing-grid > div p { margin: 0 0 15px; color: #5e4c1d; font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.giving-closing-grid a:not(.back-to-top) { display: flex; justify-content: space-between; gap: 15px; padding: 12px 0; border-top: 1px solid rgba(5,44,70,.28); color: var(--navy); font-size: 14px; font-weight: 800; }
.giving-closing-grid .back-to-top { margin-top: 18px; color: var(--navy); }

@media (max-width: 1000px) {
  .routing-board { grid-template-columns: 250px 1fr; }
  .routing-list article { grid-template-columns: 1fr 240px; gap: 28px; }
  .visit-directory-grid, .giving-conversation-grid { gap: 58px; }
}

@media (max-width: 900px) {
  .contact-hero-grid, .visit-directory-grid, .giving-conversation-grid, .giving-closing-grid { grid-template-columns: 1fr; }
  .contact-hero-grid { gap: 38px; align-items: start; }
  .contact-hero-grid > p { max-width: 720px; }
  .routing-board { grid-template-columns: 1fr; }
  .routing-board-heading { padding-bottom: 34px; }
  .routing-list article { grid-template-columns: 1fr; }
  .routing-actions { max-width: 520px; }
  .visit-address-block { padding: 0 0 45px; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.28); }
  .impact-intro { grid-template-columns: 1fr; }
  .impact-intro .eyebrow, .impact-intro h2, .impact-intro > p:last-child { grid-column: 1; grid-row: auto; }
  .impact-intro > p:last-child { margin-top: 28px; }
  .impact-ribbon > div { grid-template-columns: 190px 1fr; gap: 35px; }
  .giving-closing-grid { gap: 44px; }
}

@media (max-width: 620px) {
  .contact-breadcrumb, .giving-breadcrumb { padding-top: 18px; }
  .contact-hero-grid { min-height: 0; padding-top: 45px; padding-bottom: 55px; }
  .contact-hero-grid h1 { font-size: clamp(57px, 18vw, 76px); }
  .contact-hero-grid > p { padding-left: 18px; font-size: 16px; }
  .contact-routing { padding: 45px 0 72px; }
  .routing-board-heading { padding: 28px 22px; }
  .routing-board-heading h2 { font-size: 40px; }
  .routing-list article { min-height: 0; padding: 28px 22px; }
  .visit-guidance { grid-template-columns: 1fr; }
  .visit-guidance > div:first-child { grid-column: auto; }
  .visit-guidance > div { min-height: 0; }
  .contact-closing-inner { align-items: stretch; flex-direction: column; }
  .contact-closing-inner .back-to-top { margin-left: 0; }
  .giving-hero-copy { min-height: 0; padding-top: 65px; padding-bottom: 80px; }
  .giving-hero-copy h1 { font-size: clamp(55px, 17vw, 76px); }
  .giving-hero-copy > p:not(.eyebrow) { font-size: 17px; }
  .giving-hero-band { grid-template-columns: 1fr; }
  .giving-hero-band span { min-height: 60px; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.2); }
  .giving-impact { padding-top: 75px; }
  .impact-ribbon > div { min-height: 0; grid-template-columns: 1fr; gap: 14px; padding-top: 35px; padding-bottom: 40px; }
  .impact-ribbon h3 { font-size: 27px; }
  .giving-conversation-grid { gap: 45px; }
  .giving-path-list > a { min-height: 0; }
  .giving-closing { padding: 62px 0; }
  .giving-closing-statement { font-size: 34px; }
  .giving-closing-grid > div { padding: 28px 0 0; border-left: 0; border-top: 1px solid rgba(5,44,70,.3); }
}

/* Fellowship leadership uses the existing card design and image treatment. */
.fellowship-heading-row { grid-template-columns: minmax(0, 1fr) minmax(0, 600px); gap: 40px; }
.program-leadership { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; align-items: stretch; }
.program-leadership .program-director-card { width: 100%; }
.program-leadership .program-director-copy > span { min-height: 4.65em; }
.care-hero-copy .pediatric-care-path { font-size: 16px; }
.pediatric-care-path a { color: var(--gold); text-decoration: underline; text-underline-offset: .2em; }
:is(a, button, summary):not(.smart-slider-frame *):focus-visible { outline: 3px solid currentColor; outline-offset: 5px; }
@media (max-width: 1000px) {
  .fellowship-heading-row { grid-template-columns: 1fr; }
  .program-leadership { max-width: 620px; }
}
@media (max-width: 540px) {
  .program-leadership { grid-template-columns: 1fr; }
  .program-leadership .program-director-card { max-width: 420px; }
  .program-leadership .program-director-copy > span { min-height: 0; }
}
@media (min-width: 541px) {
  .program-leadership .program-director-copy > strong { min-height: 3.1em; }
}
.program-director-copy small span { display: inline; color: inherit; font-size: inherit; }
/* Contrast corrections within the existing palette; slider styles are unchanged. */
.program-card .lab-type, .program-card .lab-link,
.contact-panel .eyebrow.light, .contact-panel .back-to-top,
.division-community .eyebrow.light, .division-community .clean-section-heading > p:last-child,
.visit-address-block .eyebrow.light, .visit-guidance a { color: var(--white); }
.lab-card.program-card:hover, .lab-card.program-card:focus { background: #00666c; }
.giving-panel .eyebrow, .giving-panel .back-to-top, .patient-impact span { color: var(--navy); }
.spotlight-visual span:first-child { color: var(--navy); }
