/* ==========================================================================
   Rose Lab — site styles
   ========================================================================== */

:root {
	--navy-950: #050f33;
	--navy-900: #011957;
	--navy-800: #0b2a74;
	--navy-700: #1c3d8f;
	--navy-100: #e5e9f4;
	--rose-700: #8f1026;
	--rose-600: #b01e35;
	--rose-300: #f0a3b0;
	--rose-100: #f8e5e8;
	--ink: #131a2e;
	--ink-2: #464e65;
	--ink-3: #666d82;
	--paper: #fbfaf7;
	--paper-2: #f3f1ec;
	--paper-3: #eae7df;
	--line: #e1ddd3;
	--white: #fff;

	--serif: "Newsreader", "Iowan Old Style", Georgia, serif;
	--sans: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

	--container: 1200px;
	--gutter: clamp(20px, 4vw, 40px);
	--section: clamp(72px, 9vw, 120px);
	--radius: 14px;
	--radius-lg: 22px;
	--shadow: 0 18px 40px -18px rgba(5, 15, 51, .22), 0 4px 12px -6px rgba(5, 15, 51, .08);
	--shadow-lg: 0 40px 80px -30px rgba(5, 15, 51, .35);
	--ease: cubic-bezier(.2, .7, .2, 1);
	--header-h: 76px;
	--grid-line: rgba(1, 25, 87, .07);
}

/* Base ------------------------------------------------------------------- */

*,
*::before,
*::after { box-sizing: border-box; }

html {
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
	scroll-padding-top: calc(var(--header-h) + 24px);
}

body {
	margin: 0;
	background: var(--paper);
	color: var(--ink);
	font-family: var(--sans);
	font-size: 1.0625rem;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
}

img,
svg { max-width: 100%; height: auto; }
img { display: block; }

a {
	color: var(--navy-800);
	text-decoration-thickness: 1px;
	text-underline-offset: .2em;
	transition: color .2s var(--ease);
}
a:hover { color: var(--rose-600); }

:focus-visible {
	outline: 2px solid var(--rose-600);
	outline-offset: 3px;
	border-radius: 4px;
}

h1, h2, h3, h4 {
	font-family: var(--serif);
	font-weight: 500;
	font-optical-sizing: auto;
	line-height: 1.12;
	letter-spacing: -.015em;
	color: var(--navy-950);
	margin: 0 0 .5em;
	text-wrap: balance;
}
h1 { font-size: clamp(2.5rem, 5.4vw, 4.5rem); line-height: 1.02; letter-spacing: -.028em; }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.8rem); letter-spacing: -.022em; }
h3 { font-size: clamp(1.2rem, 1.6vw, 1.4rem); line-height: 1.25; }
h4 { font-size: 1.1rem; }

p { margin: 0 0 1.15em; }
address { font-style: normal; }
u { text-decoration-color: var(--rose-300); }

::selection { background: var(--rose-100); color: var(--rose-700); }

.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	width: 1px;
	word-wrap: normal !important;
}

.skip-link:focus {
	clip: auto;
	clip-path: none;
	width: auto;
	height: auto;
	margin: 0;
	z-index: 100;
	top: 12px;
	left: 12px;
	padding: 12px 18px;
	background: var(--navy-900);
	color: #fff;
	border-radius: 999px;
	text-decoration: none;
}

.container {
	width: 100%;
	max-width: calc(var(--container) + var(--gutter) * 2);
	margin-inline: auto;
	padding-inline: var(--gutter);
}

/* Faint graph-paper grid, echoing the grid behind the lab's logo. */
.has-grid { position: relative; isolation: isolate; }
.has-grid::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	pointer-events: none;
	background-image:
		linear-gradient(var(--grid-line) 1px, transparent 1px),
		linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
	background-size: 56px 56px;
	background-position: -1px -1px;
	-webkit-mask-image: radial-gradient(ellipse 65% 75% at 78% 30%, #000 0%, transparent 72%);
	mask-image: radial-gradient(ellipse 65% 75% at 78% 30%, #000 0%, transparent 72%);
}

/* Small pieces ----------------------------------------------------------- */

.eyebrow {
	display: inline-flex;
	align-items: center;
	gap: .7em;
	margin: 0 0 1.1rem;
	font-family: var(--sans);
	font-size: .75rem;
	font-weight: 600;
	letter-spacing: .14em;
	line-height: 1.4;
	text-transform: uppercase;
	color: var(--rose-600);
}
.eyebrow::before {
	content: "";
	width: 24px;
	height: 1px;
	background: currentColor;
	flex: none;
}
.eyebrow--light { color: var(--rose-300); }

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: .55em;
	padding: .9em 1.4em;
	border: 1px solid transparent;
	border-radius: 999px;
	font: 600 .95rem/1.1 var(--sans);
	letter-spacing: -.005em;
	text-decoration: none;
	cursor: pointer;
	transition: background-color .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease), transform .2s var(--ease);
}
.btn svg { width: 18px; height: 18px; flex: none; transition: transform .25s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--navy-900); color: #fff; }
.btn-primary:hover { background: var(--navy-800); color: #fff; }
.btn-ghost { border-color: rgba(1, 25, 87, .2); color: var(--navy-900); background: transparent; }
.btn-ghost:hover { border-color: var(--navy-900); color: var(--navy-900); background: rgba(255, 255, 255, .6); }
.btn-light { background: #fff; color: var(--navy-950); }
.btn-light:hover { background: var(--rose-100); color: var(--navy-950); }
.btn-outline-light { border-color: rgba(255, 255, 255, .28); color: #fff; }
.btn-outline-light:hover { border-color: #fff; color: #fff; }

.link-arrow {
	display: inline-flex;
	align-items: center;
	gap: .45em;
	font-weight: 600;
	font-size: .95rem;
	color: var(--navy-900);
	text-decoration: none;
}
.link-arrow svg { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.link-arrow:hover svg { transform: translateX(3px); }

.icon { width: 1em; height: 1em; flex: none; }

.links { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.links a {
	display: inline-flex;
	align-items: center;
	gap: .35em;
	padding: .42em .8em;
	border: 1px solid var(--line);
	border-radius: 999px;
	background: #fff;
	font-size: .8rem;
	font-weight: 500;
	line-height: 1.2;
	color: var(--ink-2);
	text-decoration: none;
	transition: border-color .2s var(--ease), color .2s var(--ease);
}
.links a svg { width: 13px; height: 13px; opacity: .55; }
.links a:hover { border-color: var(--navy-900); color: var(--navy-900); }

/* Header ----------------------------------------------------------------- */

.site-header {
	position: sticky;
	top: 0;
	z-index: 50;
	background: rgba(251, 250, 247, .88);
	-webkit-backdrop-filter: saturate(1.4) blur(14px);
	backdrop-filter: saturate(1.4) blur(14px);
	border-bottom: 1px solid transparent;
	transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 0; } }
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 24px -18px rgba(5, 15, 51, .35); }

.site-header > .container {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	height: var(--header-h);
}

.brand {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	color: var(--navy-950);
	text-decoration: none;
	flex: none;
}
.brand:hover { color: var(--navy-950); }
.brand-mark { width: 35px; height: 44px; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name {
	font-family: var(--serif);
	font-size: 1.45rem;
	font-weight: 600;
	letter-spacing: -.01em;
}
.brand-tag {
	margin-top: 5px;
	font-size: .7rem;
	font-weight: 500;
	letter-spacing: .06em;
	text-transform: uppercase;
	color: var(--ink-3);
}

.primary-nav .menu {
	display: flex;
	align-items: center;
	gap: 4px;
	margin: 0;
	padding: 0;
	list-style: none;
}
.primary-nav a {
	position: relative;
	display: block;
	padding: .6em .95em;
	border-radius: 999px;
	font-size: .95rem;
	font-weight: 500;
	color: var(--ink-2);
	text-decoration: none;
	transition: color .2s var(--ease), background-color .2s var(--ease);
}
.primary-nav a:hover { color: var(--navy-900); background: var(--paper-3); }
.primary-nav .current-menu-item > a,
.primary-nav .current_page_item > a { color: var(--navy-900); }
.primary-nav .current-menu-item > a::after,
.primary-nav .current_page_item > a::after {
	content: "";
	position: absolute;
	left: 50%;
	bottom: 2px;
	width: 4px;
	height: 4px;
	margin-left: -2px;
	border-radius: 50%;
	background: var(--rose-600);
}
.primary-nav .menu-cta > a {
	margin-left: 10px;
	padding-inline: 1.2em;
	background: var(--navy-900);
	color: #fff;
}
.primary-nav .menu-cta > a:hover { background: var(--navy-800); color: #fff; }
.primary-nav .menu-cta > a::after { display: none; }

.nav-toggle {
	display: none;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	margin-right: -8px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: transparent;
	color: var(--navy-950);
	cursor: pointer;
}
.nav-toggle svg { width: 24px; height: 24px; }
.nav-toggle .icon-close { display: none; }
.nav-open .nav-toggle .icon-close { display: block; }
.nav-open .nav-toggle .icon-menu { display: none; }

@media (max-width: 920px) {
	.brand-tag { display: none; }
	.js .nav-toggle { display: inline-flex; }
	.js .primary-nav {
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		height: calc(100vh - var(--header-h));
		height: calc(100dvh - var(--header-h));
		padding: 20px var(--gutter) 40px;
		background: var(--paper);
		border-top: 1px solid var(--line);
		overflow-y: auto;
		opacity: 0;
		visibility: hidden;
		transform: translateY(-6px);
		transition: opacity .25s var(--ease), transform .25s var(--ease), visibility 0s linear .25s;
	}
	.js.nav-open .primary-nav,
	.nav-open .primary-nav {
		opacity: 1;
		visibility: visible;
		transform: none;
		transition-delay: 0s;
	}
	.js .primary-nav .menu { flex-direction: column; align-items: stretch; gap: 0; }
	.js .primary-nav a {
		padding: 16px 4px;
		border-radius: 0;
		border-bottom: 1px solid var(--line);
		font-family: var(--serif);
		font-size: 1.75rem;
		color: var(--navy-950);
	}
	.js .primary-nav a:hover { background: transparent; color: var(--rose-600); }
	.js .primary-nav .current-menu-item > a::after,
	.js .primary-nav .current_page_item > a::after { left: auto; right: 4px; top: 50%; bottom: auto; margin-top: -3px; width: 6px; height: 6px; }
	.js .primary-nav .menu-cta > a {
		margin: 28px 0 0;
		padding: 16px 20px;
		border: 0;
		border-radius: 999px;
		font-family: var(--sans);
		font-size: 1rem;
		text-align: center;
		color: #fff;
	}
	.nav-open { overflow: hidden; }
	html:not(.js) .site-header > .container { height: auto; padding-block: 12px; flex-wrap: wrap; }
	html:not(.js) .primary-nav .menu { flex-wrap: wrap; }
}

/* Page header (inner pages) ---------------------------------------------- */

.page-hero {
	padding: clamp(48px, 8vw, 104px) 0 clamp(40px, 6vw, 72px);
	border-bottom: 1px solid var(--line);
	overflow: hidden;
}
.page-hero h1 { margin: 0; max-width: 15em; }
.page-hero .lead {
	max-width: 40em;
	margin: 1.4rem 0 0;
	font-size: clamp(1.08rem, 1.45vw, 1.25rem);
	line-height: 1.6;
	color: var(--ink-2);
}
.crumbs {
	display: flex;
	flex-wrap: wrap;
	gap: .5em;
	margin: 0 0 1.25rem;
	padding: 0;
	list-style: none;
	font-size: .78rem;
	font-weight: 600;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: var(--ink-3);
}
.crumbs a { color: var(--rose-600); text-decoration: none; }
.crumbs a:hover { color: var(--rose-700); }
.crumbs li + li::before { content: "/"; margin-right: .5em; color: var(--line); }

/* Sections ---------------------------------------------------------------- */

.section { padding-block: var(--section); }
.section--tight { padding-block: clamp(56px, 7vw, 88px); }
.section--alt { background: var(--paper-2); }
.section + .section--alt,
.section--alt + .section { border-top: 0; }

.section-head {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: 20px 40px;
	margin-bottom: clamp(32px, 4.5vw, 56px);
}
.section-head h2 { margin: 0; max-width: 17em; }
.section-head p:not(.eyebrow) { max-width: 36em; margin: .9rem 0 0; color: var(--ink-2); }

/* Home: hero --------------------------------------------------------------- */

.hero {
	padding: clamp(36px, 6vw, 80px) 0 clamp(72px, 9vw, 120px);
	overflow: hidden;
}
.hero-grid {
	display: grid;
	grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr);
	gap: clamp(36px, 6vw, 88px);
	align-items: center;
}
.hero h1 { margin-bottom: .45em; }
.hero h1 em { font-style: italic; font-weight: 400; color: var(--rose-600); }
.hero-lead {
	max-width: 33em;
	margin-bottom: 2.1rem;
	font-size: clamp(1.08rem, 1.45vw, 1.22rem);
	line-height: 1.62;
	color: var(--ink-2);
}
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }

.hero-media { position: relative; }
.hero-media > img {
	width: 100%;
	aspect-ratio: 4 / 3.15;
	object-fit: cover;
	border-radius: var(--radius-lg) var(--radius-lg) var(--radius-lg) 120px;
	box-shadow: var(--shadow-lg);
}
.hero-badge {
	position: absolute;
	left: clamp(-36px, -3vw, -12px);
	bottom: -28px;
	display: flex;
	align-items: center;
	gap: 14px;
	max-width: 300px;
	padding: 14px 20px 14px 16px;
	border-radius: 16px;
	background: #fff;
	box-shadow: var(--shadow);
	font-size: .82rem;
	line-height: 1.4;
	color: var(--ink-2);
}
.hero-badge img { width: 30px; height: 38px; }
.hero-badge strong { display: block; color: var(--navy-950); font-size: .9rem; }

@media (max-width: 900px) {
	.hero-grid { grid-template-columns: 1fr; }
	.hero-media { order: -1; }
	.hero-media > img { border-radius: var(--radius-lg) var(--radius-lg) var(--radius-lg) 72px; }
	.hero-badge { left: 16px; right: 16px; max-width: none; }
	.hero-copy { padding-top: 24px; }
}

/* Home: affiliations strip ------------------------------------------------- */

.affiliations { border-block: 1px solid var(--line); background: #fff; }
.affiliations .container {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 20px 48px;
	padding-block: 28px;
}
.affiliations p { margin: 0; max-width: 34em; font-size: .95rem; color: var(--ink-2); }
.affiliation-logos { display: flex; align-items: center; gap: clamp(24px, 4vw, 48px); }
.affiliation-logos img { width: auto; }
.affiliation-logos .logo-jgh { height: 80px; }
.affiliation-logos .logo-mcgill { height: 36px; }
@media (max-width: 600px) {
	.affiliation-logos .logo-jgh { height: 64px; }
	.affiliation-logos .logo-mcgill { height: 30px; }
}

/* Home: block content ------------------------------------------------------ */

.home-content { padding-block: var(--section) 0; }

/* Featured publication ----------------------------------------------------- */

.feature {
	position: relative;
	isolation: isolate;
	display: grid;
	grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr);
	overflow: hidden;
	border-radius: var(--radius-lg);
	background: var(--navy-950);
	color: #c4cbe0;
}
.feature::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background-image:
		linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
	background-size: 56px 56px;
	-webkit-mask-image: linear-gradient(100deg, transparent 20%, #000 75%);
	mask-image: linear-gradient(100deg, transparent 20%, #000 75%);
}
.feature-body { padding: clamp(32px, 5vw, 64px); }
.feature .eyebrow { color: var(--rose-300); }
.feature-title { color: #fff; font-size: clamp(1.55rem, 2.6vw, 2.25rem); line-height: 1.15; margin-bottom: .6em; }
.feature-title a { color: inherit; text-decoration: none; }
.feature-title a:hover { color: var(--rose-300); }
.feature-cite { margin-bottom: 1.4rem; font-size: .88rem; line-height: 1.6; color: #98a3c3; }
.feature-cite strong { color: #fff; font-weight: 600; }
.feature-cite u { text-decoration-color: rgba(240, 163, 176, .6); }
.feature-summary { max-width: 40em; color: #d1d7ea; }
.feature-summary p:last-child { margin-bottom: 0; }
.feature-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 2rem; }
.feature-media {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: clamp(32px, 4vw, 56px);
	background: radial-gradient(ellipse at 50% 60%, rgba(176, 30, 53, .28), transparent 65%);
}
.feature-media img {
	width: auto;
	max-height: 440px;
	border-radius: 6px;
	box-shadow: 0 30px 60px -18px rgba(0, 0, 0, .65);
	transform: rotate(2.5deg);
	transition: transform .5s var(--ease);
}
.feature:hover .feature-media img { transform: rotate(0) scale(1.02); }
@media (max-width: 880px) {
	.feature { grid-template-columns: 1fr; }
	.feature-media { padding-top: 0; }
	.feature-media img { max-height: 360px; }
}

/* Publication cards (home) ------------------------------------------------- */

.pub-cards {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 16px;
	margin-top: 16px;
}
.pub-card {
	display: flex;
	flex-direction: column;
	gap: 14px;
	padding: 24px;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: #fff;
	color: inherit;
	text-decoration: none;
	transition: border-color .25s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease);
}
.pub-card:hover { color: inherit; border-color: rgba(1, 25, 87, .25); transform: translateY(-3px); box-shadow: var(--shadow); }
.pub-card-year { font-size: .75rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--rose-600); }
.pub-card-title {
	display: -webkit-box;
	-webkit-line-clamp: 5;
	-webkit-box-orient: vertical;
	overflow: hidden;
	margin: 0;
	font-family: var(--serif);
	font-size: 1.12rem;
	line-height: 1.32;
	color: var(--navy-950);
}
.pub-card-more { margin-top: auto; display: inline-flex; align-items: center; gap: .35em; font-size: .85rem; font-weight: 600; color: var(--navy-800); }
.pub-card-more svg { width: 15px; height: 15px; }
@media (max-width: 1040px) { .pub-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .pub-cards { grid-template-columns: 1fr; } }

/* Home: team teaser -------------------------------------------------------- */

.team-teaser {
	display: grid;
	grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
	gap: clamp(32px, 6vw, 88px);
	align-items: center;
}
.team-teaser-photo img {
	width: 100%;
	aspect-ratio: 3 / 2;
	object-fit: cover;
	border-radius: var(--radius-lg);
}
.team-teaser-body h2 { max-width: 13em; }
.team-teaser-body p:not(.eyebrow) { color: var(--ink-2); }
.avatars { display: flex; align-items: center; margin: 1.75rem 0 2rem; }
.avatars img {
	width: 46px;
	height: 46px;
	margin-left: -10px;
	border: 3px solid var(--paper);
	border-radius: 50%;
	object-fit: cover;
	background: var(--paper-3);
}
.avatars img:first-child { margin-left: 0; }
.avatars span { margin-left: 14px; font-size: .88rem; font-weight: 500; color: var(--ink-3); }
@media (max-width: 900px) { .team-teaser { grid-template-columns: 1fr; } }

/* Lab Life ----------------------------------------------------------------- */

.moments {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr));
	gap: 14px;
	margin: 0;
	padding: 0;
	list-style: none;
}
.moments--home { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 900px) { .moments--home { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.moment a {
	position: relative;
	display: block;
	overflow: hidden;
	aspect-ratio: 4 / 3;
	border-radius: 12px;
	background: var(--paper-3);
	color: #fff;
	text-decoration: none;
	cursor: zoom-in;
}
.moment img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center 35%;
	transition: transform .7s var(--ease);
}
.moment a::after {
	content: "";
	position: absolute;
	inset: 40% 0 0;
	background: linear-gradient(to bottom, transparent, rgba(5, 15, 51, .82));
	transition: opacity .3s var(--ease);
}
.moment-title {
	position: absolute;
	z-index: 1;
	left: 16px;
	right: 16px;
	bottom: 14px;
	font-family: var(--serif);
	font-size: 1.05rem;
	line-height: 1.25;
	text-wrap: balance;
}
@media (max-width: 600px) {
	.moments--home .moment-title { left: 12px; right: 12px; bottom: 10px; font-size: .9rem; }
}
.moment a:hover img { transform: scale(1.045); }
.moment a:hover { color: #fff; }

/* Lightbox */
.lightbox {
	width: 100vw;
	max-width: none;
	height: 100vh;
	height: 100dvh;
	max-height: none;
	margin: 0;
	padding: 0;
	border: 0;
	background: transparent;
	color: #e6e9f3;
	overflow: hidden;
}
.lightbox::backdrop { background: rgba(4, 9, 28, .94); }
.lightbox[open] { display: flex; }
.lb-stage {
	display: flex;
	flex: 1;
	align-items: center;
	justify-content: center;
	padding: 64px clamp(12px, 8vw, 120px) 24px;
}
.lb-figure { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 18px; }
.lb-figure img {
	width: auto;
	max-width: 100%;
	max-height: calc(100dvh - 200px);
	border-radius: 8px;
	box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .8);
}
.lb-figure figcaption { max-width: 44em; text-align: center; font-size: .95rem; line-height: 1.5; color: #b9c1d8; }
.lb-figure figcaption strong { display: block; margin-bottom: 4px; font-family: var(--serif); font-size: 1.3rem; font-weight: 500; color: #fff; }
.lb-figure figcaption span { display: block; }
.lb-count { display: block; margin-top: 8px; font-size: .78rem; letter-spacing: .1em; color: #7b85a3; }
.lb-btn {
	position: absolute;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	padding: 0;
	border: 1px solid rgba(255, 255, 255, .15);
	border-radius: 50%;
	background: rgba(255, 255, 255, .06);
	color: #fff;
	cursor: pointer;
	transition: background-color .2s var(--ease), border-color .2s var(--ease);
}
.lb-btn:hover { background: rgba(255, 255, 255, .14); border-color: rgba(255, 255, 255, .35); }
.lb-btn svg { width: 22px; height: 22px; }
.lb-close { top: 16px; right: 16px; }
.lb-prev { left: 16px; top: 50%; margin-top: -24px; }
.lb-next { right: 16px; top: 50%; margin-top: -24px; }
@media (max-width: 640px) {
	.lb-prev, .lb-next { top: auto; bottom: 16px; margin-top: 0; }
	.lb-stage { padding-bottom: 84px; }
}

/* Team -------------------------------------------------------------------- */

.pi {
	display: grid;
	grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr);
	gap: clamp(32px, 6vw, 96px);
	align-items: start;
}
.pi-photo { position: sticky; top: calc(var(--header-h) + 32px); }
.pi-photo img {
	width: 100%;
	aspect-ratio: 4 / 4.6;
	object-fit: cover;
	border-radius: var(--radius-lg) var(--radius-lg) var(--radius-lg) 140px;
	box-shadow: var(--shadow-lg);
}
.pi h2 { font-size: clamp(2rem, 3.8vw, 3.1rem); margin-bottom: .55em; }
.pi-bio { font-size: 1.04rem; color: var(--ink-2); }
.pi-bio p:first-child { font-size: 1.15rem; color: var(--ink); }
.pi .links { margin-top: 1.75rem; }
@media (max-width: 860px) {
	.pi { grid-template-columns: 1fr; }
	.pi-photo { position: static; max-width: 420px; }
}

.team-photo figure { margin: 0; }
.team-photo img { width: 100%; aspect-ratio: 16 / 8; object-fit: cover; object-position: center 40%; border-radius: var(--radius-lg); }
.team-photo figcaption { margin-top: 14px; font-size: .88rem; color: var(--ink-3); }

.member-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: clamp(18px, 2.4vw, 28px);
}
@media (max-width: 1000px) { .member-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .member-grid { grid-template-columns: 1fr; } }

.member {
	display: flex;
	flex-direction: column;
	overflow: hidden;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: #fff;
	transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.member:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.member-photo { aspect-ratio: 1 / 1.05; overflow: hidden; background: var(--paper-3); }
.member-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.member:hover .member-photo img { transform: scale(1.035); }
.member-initials {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 100%;
	font-family: var(--serif);
	font-size: 3rem;
	color: var(--navy-700);
	background: var(--navy-100);
}
.member-body { display: flex; flex: 1; flex-direction: column; padding: 22px 22px 22px; }
.member-role { margin: 0 0 6px; font-size: .72rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--rose-600); }
.member-name { margin: 0 0 .6rem; font-size: 1.45rem; }
.member-focus { margin: 0 0 1rem; font-size: .93rem; line-height: 1.55; color: var(--ink-2); }
.member-awards { display: grid; gap: 6px; margin: 0 0 1.1rem; padding: 0; list-style: none; font-size: .8rem; line-height: 1.45; color: var(--ink-3); }
.member-awards li { position: relative; padding-left: 20px; }
.member-awards svg { position: absolute; left: 0; top: .15em; width: 13px; height: 13px; color: var(--rose-600); }
.member .links { margin-top: auto; padding-top: 16px; border-top: 1px solid var(--line); }

.people-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr));
	gap: 14px;
}
.person {
	padding: 20px 22px;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: #fff;
}
.person h3 { margin: 0 0 4px; font-size: 1.2rem; }
.person p { margin: 0; font-size: .88rem; color: var(--ink-3); }
.person .person-role { color: var(--rose-600); font-weight: 600; font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 8px; }

.alumni { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.alumni li {
	display: grid;
	grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr) 110px minmax(0, 1.5fr);
	gap: 8px 24px;
	align-items: baseline;
	padding: 18px 0;
	border-bottom: 1px solid var(--line);
	font-size: .93rem;
	color: var(--ink-2);
}
.alumni .alumni-head { padding: 0 0 12px; font-size: .7rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); }
.alumni-name { font-family: var(--serif); font-size: 1.15rem; color: var(--navy-950); }
.alumni-years { color: var(--ink-3); font-variant-numeric: tabular-nums; }
@media (max-width: 760px) {
	.alumni .alumni-head { display: none; }
	.alumni li { grid-template-columns: 1fr auto; gap: 2px 16px; }
	.alumni-name { grid-column: 1; }
	.alumni-years { grid-column: 2; grid-row: 1; text-align: right; }
	.alumni-role, .alumni-now { grid-column: 1 / -1; }
	.alumni-role { color: var(--ink-3); font-size: .85rem; }
	.alumni-now:empty { display: none; }
}

/* Publications ------------------------------------------------------------- */

.pubs-feature { padding-top: clamp(48px, 6vw, 80px); }
.pubs-feature:empty { display: none; }
.pubs { margin-top: clamp(48px, 6vw, 80px); padding-bottom: var(--section); }
.pub-toolbar {
	position: sticky;
	top: var(--header-h);
	z-index: 10;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px 24px;
	padding: 14px 0;
	background: rgba(251, 250, 247, .94);
	-webkit-backdrop-filter: blur(10px);
	backdrop-filter: blur(10px);
	border-bottom: 1px solid var(--line);
}
.admin-bar .pub-toolbar { top: calc(var(--header-h) + 32px); }
.pub-search { position: relative; flex: 1 1 280px; max-width: 420px; }
.pub-search svg { position: absolute; left: 16px; top: 50%; width: 18px; height: 18px; margin-top: -9px; color: var(--ink-3); pointer-events: none; }
.pub-search input {
	width: 100%;
	padding: .78em 1em .78em 2.8em;
	border: 1px solid var(--line);
	border-radius: 999px;
	background: #fff;
	font: inherit;
	font-size: .95rem;
	color: var(--ink);
	transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.pub-search input:focus { outline: none; border-color: var(--navy-800); box-shadow: 0 0 0 4px var(--navy-100); }
.pub-years { display: flex; flex-wrap: wrap; gap: 6px; }
.chip {
	padding: .45em .9em;
	border: 1px solid var(--line);
	border-radius: 999px;
	background: #fff;
	font: 500 .82rem/1.2 var(--sans);
	color: var(--ink-2);
	cursor: pointer;
	transition: background-color .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease);
}
.chip:hover { border-color: var(--navy-800); color: var(--navy-900); }
.chip[aria-pressed="true"] { background: var(--navy-900); border-color: var(--navy-900); color: #fff; }

.pub-legend { margin: 18px 0 0; font-size: .85rem; color: var(--ink-3); }
.pub-legend strong { color: var(--ink); }
.pub-legend u { text-decoration: none; background: var(--rose-100); color: var(--rose-700); padding: 0 .2em; border-radius: 3px; }

.pub-year-group {
	display: grid;
	grid-template-columns: 150px minmax(0, 1fr);
	gap: 16px 32px;
	padding: 40px 0 16px;
	border-bottom: 1px solid var(--line);
}
.pub-year-group[hidden] { display: none; }
.pub-year {
	position: sticky;
	top: calc(var(--header-h) + 96px);
	align-self: start;
	margin: 0;
	font-size: 2.5rem;
	font-weight: 400;
	line-height: 1;
	color: var(--navy-900);
	font-variant-numeric: lining-nums;
}
.pub-list { margin: 0; padding: 0; list-style: none; }
.pub { padding: 0 0 26px; margin: 0 0 26px; border-bottom: 1px dashed var(--line); }
.pub:last-child { border-bottom: 0; margin-bottom: 0; }
.pub[hidden] { display: none; }
.pub-title { margin: 0 0 .45rem; font-size: 1.24rem; font-weight: 500; line-height: 1.32; }
.pub-title a {
	color: var(--navy-950);
	text-decoration: none;
	background-image: linear-gradient(var(--rose-600), var(--rose-600));
	background-size: 0 1px;
	background-repeat: no-repeat;
	background-position: 0 100%;
	transition: background-size .35s var(--ease), color .2s var(--ease);
}
.pub-title a:hover { color: var(--rose-700); background-size: 100% 1px; }
.pub-cite { margin: 0 0 .7rem; font-size: .9rem; line-height: 1.6; color: var(--ink-3); }
.pub-cite strong { color: var(--ink); font-weight: 600; }
.pub-cite u { text-decoration: none; background: var(--rose-100); color: var(--rose-700); padding: 0 .15em; border-radius: 3px; }
.pub-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 0; font-size: .8rem; }
.pub-meta a { display: inline-flex; align-items: center; gap: .3em; font-weight: 600; color: var(--navy-800); text-decoration: none; }
.pub-meta a:hover { color: var(--rose-600); }
.pub-meta svg { width: 14px; height: 14px; }
.pub-empty { padding: 48px 0; text-align: center; color: var(--ink-3); }
@media (max-width: 760px) {
	.pub-year-group { grid-template-columns: 1fr; padding-top: 32px; }
	.pub-year { position: static; font-size: 2rem; }
	.pub-toolbar { position: static; }
}

/* Block content ------------------------------------------------------------ */

.page-content { padding-block: clamp(48px, 7vw, 96px) var(--section); }
.page-content:empty { display: none; }

.entry-content > * { max-width: 760px; margin-inline: auto; }
.entry-content > .alignwide { max-width: var(--container); }
.entry-content > .alignfull { max-width: none; margin-inline: calc(var(--gutter) * -1); }
.entry-content > :first-child { margin-top: 0; }
.entry-content > :last-child { margin-bottom: 0; }
.entry-content p,
.entry-content li { color: var(--ink-2); }
.entry-content h2 { margin-top: 0; }
.entry-content .wp-block-columns { margin-bottom: 0; }

.entry-content .rl-section { margin-block: 0; padding-block: clamp(56px, 7vw, 96px); border-top: 1px solid var(--line); }
.entry-content > .rl-section:first-child { padding-top: 0; border-top: 0; }
.entry-content .rl-section > h2 { max-width: 18em; }
.rl-subtitle { margin-top: -.6em; font-family: var(--serif); font-size: 1.3rem; font-style: italic; color: var(--ink-2); }
.entry-content .wp-block-image { margin: 0; }
.entry-content .wp-block-image img { height: auto; }
.entry-content .wp-block-buttons { margin-top: 2rem; }
.entry-content .rl-section-head {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: 16px 40px;
	margin-bottom: clamp(28px, 4vw, 48px);
}
.home-content .rl-section { border-top: 0; }
.home-content .rl-about h2 { font-size: clamp(1.9rem, 3.2vw, 2.6rem); }
.home-content .rl-about p:not(.is-style-rl-eyebrow) { font-size: 1.08rem; }
@media (max-width: 781px) {
	.entry-content .wp-block-columns { gap: 28px; }
}

/* Footer ------------------------------------------------------------------- */

.site-footer {
	position: relative;
	isolation: isolate;
	overflow: hidden;
	background: var(--navy-950);
	color: #a9b2cc;
	font-size: .95rem;
}
.site-footer::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background-image:
		linear-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255, 255, 255, .04) 1px, transparent 1px);
	background-size: 56px 56px;
	-webkit-mask-image: radial-gradient(ellipse 60% 90% at 85% 0%, #000, transparent 70%);
	mask-image: radial-gradient(ellipse 60% 90% at 85% 0%, #000, transparent 70%);
}
.site-footer a { color: #e3e7f3; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }

.footer-cta {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: 28px 48px;
	padding: clamp(56px, 7vw, 96px) 0;
	border-bottom: 1px solid rgba(255, 255, 255, .09);
}
.footer-cta h2 { margin: 0; max-width: 15em; color: #fff; }
.footer-cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.site-footer .btn:hover { text-decoration: none; }
.site-footer .btn-light { color: var(--navy-950); }

.footer-grid {
	display: grid;
	grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr));
	gap: 40px;
	padding: 56px 0;
}
.footer-brand img { width: 45px; height: 56px; margin-bottom: 18px; }
.footer-name { margin: 0 0 8px; font-family: var(--serif); font-size: 1.6rem; color: #fff; }
.footer-brand p:not(.footer-name) { max-width: 22em; font-size: .9rem; line-height: 1.6; }
.site-footer h3 {
	margin: 0 0 16px;
	font-family: var(--sans);
	font-size: .72rem;
	font-weight: 600;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: #fff;
}
.footer-menu { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.site-footer address { line-height: 1.7; }
.footer-directions { display: inline-flex; align-items: center; gap: .35em; margin-top: 12px; font-size: .88rem; font-weight: 600; }
.footer-directions svg { width: 14px; height: 14px; }
.footer-bottom {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 12px 24px;
	padding: 22px 0 28px;
	border-top: 1px solid rgba(255, 255, 255, .09);
	font-size: .82rem;
	color: #7f8aab;
}
.footer-bottom p { margin: 0; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

/* 404 ---------------------------------------------------------------------- */

.not-found { padding-block: var(--section); overflow: hidden; }
.not-found .lead { max-width: 36em; font-size: 1.15rem; color: var(--ink-2); }
.not-found .btn { margin-top: 1rem; }

/* Motion ------------------------------------------------------------------- */

/* Set by site.js on elements that start below the fold. */
.reveal-pending { opacity: 0; transform: translateY(18px); }
.is-revealing { transition: opacity .9s var(--ease), transform .9s var(--ease) !important; }

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

@media print {
	.site-header, .site-footer, .pub-toolbar, .hero-actions { display: none !important; }
	body { background: #fff; }
	.reveal-pending { opacity: 1 !important; transform: none !important; }
}
