:root {
	--ink: #132a3a;
	--ink-soft: #294656;
	--muted: #587080;
	--blue-deep: #174c72;
	--blue: #286b91;
	--blue-soft: #5c9fbd;
	--teal: #3a9a96;
	--aqua: #8fd8d2;
	--mist: #eef7f7;
	--mist-2: #f5f9fa;
	--surface: #fff;
	--border: #d8e7ea;
	--border-strong: #bfd6da;
	--glass: rgba(255, 255, 255, 0.84);
	--shadow-sm: 0 8px 24px rgba(17, 54, 72, 0.08);
	--shadow-md: 0 20px 60px rgba(17, 54, 72, 0.14);
	--radius-sm: 12px;
	--radius: 20px;
	--radius-lg: 30px;
	--shell: 1200px;
	--header-height: 76px;
}

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

html {
	scroll-behavior: smooth;
	scroll-padding-top: calc(var(--header-height) + 24px);
}

body {
	margin: 0;
	background: var(--surface);
	color: var(--ink);
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	font-size: 16px;
	line-height: 1.7;
	text-rendering: optimizeLegibility;
	-webkit-font-smoothing: antialiased;
}

body.nav-open {
	overflow: hidden;
}

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

a {
	color: var(--blue);
	text-decoration-thickness: 1px;
	text-underline-offset: 0.2em;
}

a:hover {
	color: var(--blue-deep);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
	outline: 3px solid rgba(58, 154, 150, 0.42);
	outline-offset: 3px;
}

button,
input,
textarea,
select {
	font: inherit;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	margin: 0 0 0.55em;
	color: var(--ink);
	font-weight: 720;
	letter-spacing: -0.025em;
	line-height: 1.12;
	text-wrap: balance;
}

h1 {
	font-size: clamp(2.5rem, 5.4vw, 5.2rem);
}

h2 {
	font-size: clamp(2rem, 3.7vw, 3.5rem);
}

h3 {
	font-size: clamp(1.25rem, 2vw, 1.6rem);
}

p {
	margin: 0 0 1.2em;
}

ul,
ol {
	padding-left: 1.35rem;
}

::selection {
	background: rgba(143, 216, 210, 0.62);
	color: var(--ink);
}

.shell {
	width: min(calc(100% - 40px), var(--shell));
	margin-inline: auto;
}

.content-shell {
	width: min(calc(100% - 40px), 780px);
	padding-block: clamp(3.5rem, 7vw, 7rem);
}

.screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.screen-reader-text:focus {
	z-index: 100000;
	top: 12px;
	left: 12px;
	width: auto;
	height: auto;
	padding: 12px 18px;
	overflow: visible;
	clip: auto;
	background: var(--surface);
	color: var(--ink);
	border-radius: 8px;
	box-shadow: var(--shadow-md);
}

.site-header {
	position: sticky;
	z-index: 1000;
	top: 0;
	min-height: var(--header-height);
	background: rgba(255, 255, 255, 0.93);
	border-bottom: 1px solid rgba(216, 231, 234, 0.84);
	-webkit-backdrop-filter: blur(16px);
	backdrop-filter: blur(16px);
}

.admin-bar .site-header {
	top: 32px;
}

.site-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	min-height: var(--header-height);
	gap: 28px;
}

.site-brand__link {
	display: inline-flex;
	align-items: center;
	gap: 11px;
	color: var(--ink);
	font-weight: 700;
	text-decoration: none;
	white-space: nowrap;
}

.site-brand__mark {
	display: grid;
	width: 38px;
	height: 38px;
	place-items: center;
	border-radius: 11px;
	background: linear-gradient(145deg, var(--blue-deep), var(--teal));
	color: #fff;
	font-size: 0.82rem;
	letter-spacing: 0.04em;
	box-shadow: 0 7px 18px rgba(23, 76, 114, 0.2);
}

.site-brand__name {
	font-size: 1rem;
}

.custom-logo-link {
	display: inline-flex;
	align-items: center;
}

.custom-logo {
	width: auto;
	max-height: 48px;
}

.primary-navigation {
	display: flex;
	align-items: center;
	gap: 22px;
}

.primary-menu,
.primary-navigation .menu,
.primary-navigation .page_item,
.primary-navigation .menu-item {
	margin: 0;
}

.primary-menu,
.primary-navigation .menu > ul {
	display: flex;
	align-items: center;
	gap: 4px;
	padding: 0;
	list-style: none;
}

.primary-menu a,
.primary-navigation .menu > ul a {
	display: block;
	padding: 9px 10px;
	border-radius: 9px;
	color: var(--ink-soft);
	font-size: 0.92rem;
	font-weight: 570;
	text-decoration: none;
}

.primary-menu a:hover,
.primary-menu .current-menu-item > a,
.primary-navigation .menu > ul a:hover,
.primary-navigation .current_page_item > a {
	background: var(--mist);
	color: var(--blue-deep);
}

.primary-menu .menu-item-has-children {
	position: relative;
}

.primary-menu .sub-menu {
	position: absolute;
	top: calc(100% + 8px);
	left: 0;
	display: none;
	min-width: 210px;
	margin: 0;
	padding: 8px;
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: 13px;
	box-shadow: var(--shadow-md);
	list-style: none;
}

.primary-menu .menu-item-has-children:hover > .sub-menu,
.primary-menu .menu-item-has-children:focus-within > .sub-menu {
	display: block;
}

.nav-toggle {
	display: none;
	align-items: center;
	gap: 9px;
	padding: 9px 12px;
	background: var(--surface);
	color: var(--ink);
	border: 1px solid var(--border);
	border-radius: 10px;
	cursor: pointer;
}

.nav-toggle__label {
	font-size: 0.88rem;
	font-weight: 650;
}

.nav-toggle__icon {
	display: grid;
	gap: 4px;
}

.nav-toggle__icon span {
	display: block;
	width: 18px;
	height: 2px;
	background: currentColor;
	border-radius: 99px;
}

.button-row {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 12px;
}

.button,
button[type="submit"],
.copy-citation {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	padding: 0.78rem 1.25rem;
	background: var(--blue-deep);
	color: #fff;
	border: 1px solid var(--blue-deep);
	border-radius: 12px;
	font-size: 0.94rem;
	font-weight: 680;
	line-height: 1.2;
	text-align: center;
	text-decoration: none;
	box-shadow: 0 8px 20px rgba(23, 76, 114, 0.16);
	cursor: pointer;
	transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button:hover,
button[type="submit"]:hover,
.copy-citation:hover {
	transform: translateY(-1px);
	background: #0e3f63;
	color: #fff;
	box-shadow: 0 12px 28px rgba(23, 76, 114, 0.2);
}

.button--secondary {
	background: rgba(255, 255, 255, 0.7);
	color: var(--blue-deep);
	border-color: var(--border-strong);
	box-shadow: none;
}

.button--secondary:hover {
	background: var(--surface);
	color: var(--blue-deep);
}

.button--small {
	min-height: 40px;
	padding: 0.58rem 0.9rem;
	font-size: 0.88rem;
	border-radius: 10px;
}

.text-link {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	color: var(--blue-deep);
	font-weight: 680;
	text-decoration: none;
}

.text-link span {
	transition: transform 180ms ease;
}

.text-link:hover span {
	transform: translateX(3px);
}

.eyebrow,
.card-eyebrow {
	margin-bottom: 0.8rem;
	color: var(--teal);
	font-size: 0.78rem;
	font-weight: 760;
	letter-spacing: 0.12em;
	line-height: 1.4;
	text-transform: uppercase;
}

.hero {
	position: relative;
	isolation: isolate;
	overflow: hidden;
	padding-block: clamp(3rem, 6vw, 6.5rem);
	background:
		radial-gradient(circle at 82% 18%, rgba(198, 238, 234, 0.7), transparent 35%),
		radial-gradient(circle at 18% 86%, rgba(116, 182, 203, 0.34), transparent 36%),
		linear-gradient(135deg, #174c72 0%, #357fa1 42%, #3a9a96 72%, #8fd8d2 100%);
}

.hero__wash {
	position: absolute;
	z-index: -1;
	inset: 0;
	background-image: linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
	background-size: 44px 44px;
	mask-image: linear-gradient(to bottom, black, transparent 88%);
}

.hero-card {
	display: grid;
	grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
	align-items: stretch;
	gap: clamp(2rem, 4vw, 4.5rem);
	min-height: 580px;
	padding: clamp(1.25rem, 3vw, 2.25rem);
	background: var(--glass);
	border: 1px solid rgba(255, 255, 255, 0.72);
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow-md);
	-webkit-backdrop-filter: blur(18px) saturate(115%);
	backdrop-filter: blur(18px) saturate(115%);
}

.hero-card__content {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	justify-content: center;
	padding: clamp(1rem, 3vw, 3rem);
}

.hero-card h1 {
	max-width: 780px;
	margin-bottom: 0.28em;
}

.hero-card__lead {
	max-width: 670px;
	margin-bottom: 1.7rem;
	color: var(--ink-soft);
	font-size: clamp(1.08rem, 1.7vw, 1.35rem);
	line-height: 1.6;
}

.hero-card__portrait {
	position: relative;
	min-height: 470px;
	overflow: hidden;
	border-radius: 23px;
	background: #152321;
	box-shadow: 0 18px 50px rgba(15, 45, 59, 0.22);
}

.hero-card__portrait::after {
	position: absolute;
	inset: 0;
	content: "";
	background: linear-gradient(to top, rgba(18, 62, 78, 0.13), transparent 45%);
	pointer-events: none;
}

.hero-card__portrait img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: 50% 34%;
}

.profile-links {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.profile-links--hero {
	margin-top: 1.6rem;
}

.profile-link {
	display: inline-flex;
	align-items: center;
	min-height: 35px;
	padding: 0.4rem 0.7rem;
	background: rgba(255, 255, 255, 0.58);
	color: var(--ink-soft);
	border: 1px solid rgba(191, 214, 218, 0.88);
	border-radius: 9px;
	font-size: 0.78rem;
	font-weight: 650;
	text-decoration: none;
}

.profile-link:hover {
	background: #fff;
	color: var(--blue-deep);
}

.metrics {
	background: var(--surface);
	border-bottom: 1px solid var(--border);
}

.metrics__grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
}

.metric {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	min-height: 138px;
	padding: 1.5rem;
	text-align: center;
	border-right: 1px solid var(--border);
}

.metric:first-child {
	border-left: 1px solid var(--border);
}

.metric strong {
	color: var(--blue-deep);
	font-size: clamp(1.65rem, 3vw, 2.5rem);
	letter-spacing: -0.035em;
	line-height: 1;
}

.metric span {
	margin-top: 0.55rem;
	color: var(--muted);
	font-size: 0.86rem;
}

.section {
	padding-block: clamp(4.5rem, 8vw, 8rem);
}

.section--tint {
	background: var(--mist-2);
	border-block: 1px solid var(--border);
}

.section-heading {
	display: grid;
	grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
	align-items: end;
	gap: 3rem;
	margin-bottom: clamp(2.2rem, 4vw, 3.8rem);
}

.section-heading h2 {
	margin-bottom: 0;
}

.section-heading > p {
	max-width: 530px;
	margin: 0;
	color: var(--muted);
	font-size: 1.04rem;
}

.project-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
}

.project-card,
.publication-card,
.post-card,
.search-result,
.contact-panel {
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	box-shadow: var(--shadow-sm);
}

.project-card {
	display: flex;
	min-height: 310px;
	flex-direction: column;
	align-items: flex-start;
	padding: clamp(1.5rem, 2.6vw, 2.2rem);
	transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.project-card:hover,
.publication-card:hover,
.post-card:hover {
	transform: translateY(-3px);
	border-color: var(--border-strong);
	box-shadow: 0 17px 42px rgba(17, 54, 72, 0.11);
}

.project-card h3 {
	margin-bottom: 0.75rem;
}

.project-card > p:not(.card-eyebrow) {
	color: var(--muted);
}

.project-card .text-link {
	margin-top: auto;
}

.publication-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 20px;
}

.publication-card {
	display: flex;
	min-height: 340px;
	flex-direction: column;
	align-items: flex-start;
	padding: clamp(1.4rem, 2.5vw, 2.1rem);
	transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.publication-card__meta {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 1.2rem;
	color: var(--muted);
	font-size: 0.8rem;
}

.status-badge {
	display: inline-flex;
	align-items: center;
	min-height: 27px;
	padding: 0.2rem 0.58rem;
	background: #e5f4f0;
	color: #16645f;
	border: 1px solid #c2e3dd;
	border-radius: 99px;
	font-size: 0.72rem;
	font-weight: 750;
	letter-spacing: 0.03em;
	text-transform: uppercase;
}

.status-badge--preprint {
	background: #fff3da;
	color: #765415;
	border-color: #efdcae;
}

.publication-card h3 {
	font-size: clamp(1.28rem, 2.3vw, 1.72rem);
}

.publication-card h3 a {
	color: var(--ink);
	text-decoration: none;
}

.publication-card h3 a:hover {
	color: var(--blue);
}

.publication-card__journal {
	margin-bottom: 0.8rem;
	color: var(--blue-deep);
	font-size: 0.88rem;
	font-weight: 650;
}

.publication-card > p:not(.publication-card__journal) {
	color: var(--muted);
}

.publication-card .text-link {
	margin-top: auto;
}

.section-action {
	display: flex;
	justify-content: center;
	margin-top: 2.5rem;
}

.about-preview__grid {
	display: grid;
	grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
	gap: clamp(3rem, 8vw, 8rem);
}

.about-preview__grid > div:last-child {
	color: var(--ink-soft);
	font-size: clamp(1.05rem, 1.6vw, 1.25rem);
}

.post-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
}

.post-card {
	overflow: hidden;
	transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.post-card__image {
	display: block;
	aspect-ratio: 3 / 2;
	overflow: hidden;
	background: var(--mist);
}

.post-card__image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.post-card__body {
	padding: 1.5rem;
}

.post-card__meta,
.article-byline {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 7px;
	color: var(--muted);
	font-size: 0.8rem;
}

.post-card h3 a {
	color: var(--ink);
	text-decoration: none;
}

.post-card__body > p:not(.post-card__meta) {
	color: var(--muted);
}

.contact-card {
	display: grid;
	grid-template-columns: minmax(0, 1.25fr) minmax(300px, 0.75fr);
	align-items: center;
	gap: 3rem;
	padding: clamp(2rem, 5vw, 4.5rem);
	background:
		radial-gradient(circle at 92% 20%, rgba(143, 216, 210, 0.35), transparent 35%),
		var(--mist);
	border: 1px solid var(--border);
	border-radius: var(--radius-lg);
}

.contact-card h2 {
	font-size: clamp(2rem, 4vw, 3.6rem);
}

.contact-card > div:first-child p:last-child {
	max-width: 720px;
	color: var(--ink-soft);
}

.page-hero,
.publication-hero,
.article-hero {
	position: relative;
	overflow: hidden;
	padding-block: clamp(4rem, 8vw, 8rem);
	background:
		radial-gradient(circle at 88% 0%, rgba(143, 216, 210, 0.4), transparent 36%),
		linear-gradient(135deg, #edf7f7, #f8fbfc 60%, #eef4f8);
	border-bottom: 1px solid var(--border);
}

.page-hero::after,
.publication-hero::after,
.article-hero::after {
	position: absolute;
	right: -120px;
	bottom: -180px;
	width: 420px;
	height: 420px;
	content: "";
	background: linear-gradient(145deg, rgba(75, 145, 181, 0.12), rgba(58, 166, 160, 0.2));
	border-radius: 50%;
	filter: blur(20px);
	pointer-events: none;
}

.page-hero--compact {
	padding-block: clamp(3.6rem, 6.5vw, 6rem);
}

.page-hero .shell,
.publication-hero__inner,
.article-hero__inner {
	position: relative;
	z-index: 1;
}

.page-hero h1,
.publication-hero h1,
.article-hero h1 {
	max-width: 960px;
	font-size: clamp(2.5rem, 5vw, 4.8rem);
}

.page-hero .shell > p:last-of-type,
.publication-hero__inner > div > p:not(.publication-authors),
.article-hero__inner > p {
	max-width: 760px;
	color: var(--ink-soft);
	font-size: clamp(1.02rem, 1.6vw, 1.2rem);
}

.page-hero .button {
	margin-top: 0.6rem;
}

.archive-toolbar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	margin-bottom: 2rem;
}

.archive-toolbar > p {
	margin: 0;
	color: var(--muted);
	font-weight: 620;
}

.archive-search,
.search-form {
	display: flex;
	align-items: stretch;
	gap: 8px;
}

input[type="search"],
input[type="text"],
input[type="email"],
input[type="url"],
textarea,
select {
	width: 100%;
	min-height: 48px;
	padding: 0.7rem 0.9rem;
	background: var(--surface);
	color: var(--ink);
	border: 1px solid var(--border-strong);
	border-radius: 10px;
}

.archive-search input {
	width: min(360px, 60vw);
}

.archive-search button,
.search-submit {
	min-height: 48px;
	padding-inline: 1rem;
}

.navigation.pagination {
	margin-top: 3rem;
}

.nav-links {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-wrap: wrap;
	gap: 7px;
}

.page-numbers {
	display: grid;
	min-width: 40px;
	min-height: 40px;
	padding: 0.35rem 0.6rem;
	place-items: center;
	background: var(--surface);
	color: var(--ink-soft);
	border: 1px solid var(--border);
	border-radius: 9px;
	text-decoration: none;
}

.page-numbers.current,
.page-numbers:hover {
	background: var(--blue-deep);
	color: #fff;
	border-color: var(--blue-deep);
}

.empty-state {
	padding: 2rem;
	background: var(--mist-2);
	color: var(--muted);
	border: 1px dashed var(--border-strong);
	border-radius: var(--radius);
	text-align: center;
}

.publication-hero__meta {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 12px;
	margin-bottom: 1rem;
	color: var(--muted);
	font-size: 0.88rem;
}

.publication-authors {
	max-width: 900px;
	margin: 1.4rem 0;
	color: var(--ink-soft);
	font-size: 1rem;
	line-height: 1.75;
}

.publication-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 320px;
	align-items: start;
	gap: clamp(2.5rem, 6vw, 6rem);
	padding-block: clamp(3.5rem, 7vw, 7rem);
}

.publication-main {
	min-width: 0;
}

.plain-summary,
.citation-box,
.medical-note,
.author-box {
	padding: clamp(1.4rem, 3vw, 2.2rem);
	background: var(--mist);
	border: 1px solid var(--border);
	border-radius: var(--radius);
}

.plain-summary {
	margin-bottom: 3rem;
}

.plain-summary h2 {
	font-size: clamp(1.7rem, 3vw, 2.35rem);
}

.plain-summary p:last-child {
	margin-bottom: 0;
	color: var(--ink-soft);
	font-size: 1.08rem;
}

.content-section {
	margin-bottom: 3rem;
}

.content-section h2 {
	font-size: clamp(1.7rem, 3vw, 2.35rem);
}

.entry-content {
	color: var(--ink-soft);
}

.entry-content > * {
	max-width: 100%;
}

.entry-content p,
.entry-content li {
	font-size: 1.04rem;
}

.entry-content h2 {
	margin-top: 2.2em;
}

.entry-content h3 {
	margin-top: 1.8em;
}

.entry-content blockquote {
	margin: 2rem 0;
	padding: 1rem 1.4rem;
	background: var(--mist-2);
	border-left: 4px solid var(--teal);
}

.entry-content table {
	width: 100%;
	border-collapse: collapse;
	font-size: 0.92rem;
}

.entry-content th,
.entry-content td {
	padding: 0.75rem;
	border: 1px solid var(--border);
	text-align: left;
	vertical-align: top;
}

.entry-content th {
	background: var(--mist);
	color: var(--ink);
}

.finding-list {
	display: grid;
	gap: 12px;
	padding: 0;
	list-style: none;
}

.finding-list li {
	position: relative;
	padding: 1rem 1rem 1rem 3rem;
	background: var(--mist-2);
	border: 1px solid var(--border);
	border-radius: 13px;
}

.finding-list li::before {
	position: absolute;
	top: 1.05rem;
	left: 1rem;
	display: grid;
	width: 24px;
	height: 24px;
	content: "✓";
	place-items: center;
	background: #dff1ed;
	color: #1f736c;
	border-radius: 50%;
	font-size: 0.78rem;
	font-weight: 800;
}

.citation-box {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	margin-bottom: 2rem;
	background: #f7f9fb;
}

.citation-box p:last-child {
	margin-bottom: 0;
	font-size: 0.92rem;
}

.copy-citation {
	flex: 0 0 auto;
	min-height: 42px;
}

.medical-note {
	background: #fffaf0;
	border-color: #eadfca;
}

.medical-note p {
	margin: 0.45rem 0 0;
	font-size: 0.9rem;
}

.publication-facts {
	position: sticky;
	top: calc(var(--header-height) + 24px);
	padding: 1.4rem;
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	box-shadow: var(--shadow-sm);
}

.publication-facts h2 {
	font-size: 1.2rem;
}

.publication-facts dl {
	margin: 0;
}

.publication-facts dl > div {
	padding-block: 0.8rem;
	border-top: 1px solid var(--border);
}

.publication-facts dt {
	color: var(--muted);
	font-size: 0.72rem;
	font-weight: 720;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.publication-facts dd {
	margin: 0.2rem 0 0;
	color: var(--ink-soft);
	font-size: 0.9rem;
	overflow-wrap: anywhere;
}

.article-hero__inner {
	width: min(calc(100% - 40px), 920px);
	margin-inline: auto;
}

.article-featured {
	width: min(calc(100% - 40px), 980px);
	margin-top: -3rem;
}

.article-featured img {
	width: 100%;
	max-height: 580px;
	object-fit: cover;
	border: 8px solid var(--surface);
	border-radius: var(--radius);
	box-shadow: var(--shadow-md);
}

.author-box {
	display: grid;
	grid-template-columns: 96px 1fr;
	gap: 1.4rem;
	margin-top: 4rem;
}

.author-box img {
	width: 96px;
	height: 96px;
	object-fit: cover;
	border-radius: 20px;
}

.author-box h2 {
	margin-bottom: 0.35rem;
	font-size: 1.45rem;
}

.author-box p {
	margin-bottom: 0.8rem;
	font-size: 0.9rem;
}

.post-navigation {
	margin-top: 3rem;
	padding-top: 2rem;
	border-top: 1px solid var(--border);
}

.nav-links .nav-previous,
.nav-links .nav-next {
	flex: 1;
}

.post-navigation a {
	display: block;
	padding: 1rem;
	background: var(--mist-2);
	border-radius: 12px;
	text-decoration: none;
}

.contact-page-grid {
	display: grid;
	grid-template-columns: 0.75fr 1.25fr;
	align-items: start;
	gap: clamp(2rem, 6vw, 6rem);
}

.contact-panel {
	padding: 2rem;
}

.contact-panel h2 {
	font-size: 1.6rem;
}

.contact-panel .profile-links {
	margin-top: 1.5rem;
}

.search-results {
	display: grid;
	gap: 16px;
}

.search-result {
	padding: 1.5rem;
}

.search-result h2 {
	font-size: 1.45rem;
}

.search-result h2 a {
	color: var(--ink);
	text-decoration: none;
}

.error-page {
	display: grid;
	min-height: 70vh;
	padding-block: 5rem;
	place-items: center;
	background: var(--mist-2);
	text-align: center;
}

.error-page .shell {
	max-width: 720px;
}

.error-page .button-row {
	justify-content: center;
	margin-block: 2rem;
}

.error-page .search-form {
	justify-content: center;
}

.site-footer {
	padding-top: clamp(3.5rem, 7vw, 6rem);
	background: #102a3a;
	color: #dce8eb;
}

.site-footer__grid {
	display: grid;
	grid-template-columns: 1.5fr 0.7fr 0.8fr;
	gap: clamp(2.5rem, 6vw, 6rem);
	padding-bottom: 3.5rem;
}

.site-brand__link--footer {
	color: #fff;
}

.site-footer__statement {
	max-width: 520px;
	margin-top: 1.2rem;
	color: #abc0c9;
}

.site-footer__heading {
	margin-bottom: 1rem;
	color: #fff;
	font-size: 1rem;
	letter-spacing: 0;
}

.footer-menu,
.site-footer .menu > ul,
.contact-list {
	margin: 0;
	padding: 0;
	list-style: none;
}

.footer-menu li,
.site-footer .menu > ul li,
.contact-list li {
	margin-bottom: 0.55rem;
}

.footer-menu a,
.site-footer .menu > ul a,
.contact-list a {
	color: #bed0d7;
	text-decoration: none;
}

.footer-menu a:hover,
.site-footer .menu > ul a:hover,
.contact-list a:hover {
	color: #fff;
}

.profile-links--footer .profile-link {
	background: rgba(255,255,255,0.07);
	color: #dce8eb;
	border-color: rgba(255,255,255,0.13);
}

.profile-links--footer .profile-link:hover {
	background: rgba(255,255,255,0.14);
	color: #fff;
}

.site-footer__base {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	padding-block: 1.25rem;
	color: #8fa9b3;
	border-top: 1px solid rgba(255,255,255,0.1);
	font-size: 0.8rem;
}

.site-footer__base p {
	margin: 0;
}

.site-footer__base a {
	color: #c7d8de;
	text-decoration: none;
}

@media (max-width: 1050px) {
	.nav-toggle {
		display: inline-flex;
	}

	.primary-navigation {
		position: fixed;
		z-index: 999;
		top: var(--header-height);
		right: 0;
		bottom: 0;
		display: none;
		width: min(390px, 100%);
		padding: 24px;
		background: var(--surface);
		border-left: 1px solid var(--border);
		box-shadow: -18px 30px 60px rgba(17, 54, 72, 0.15);
		overflow-y: auto;
	}

	.admin-bar .primary-navigation {
		top: calc(var(--header-height) + 32px);
	}

	.primary-navigation.is-open {
		display: block;
	}

	.primary-menu,
	.primary-navigation .menu > ul {
		display: grid;
		gap: 4px;
	}

	.primary-menu a,
	.primary-navigation .menu > ul a {
		padding: 12px;
	}

	.primary-menu .sub-menu {
		position: static;
		display: block;
		margin-left: 1rem;
		padding: 0;
		background: transparent;
		border: 0;
		box-shadow: none;
	}

	.nav-contact {
		width: 100%;
		margin-top: 18px;
	}

	.hero-card {
		grid-template-columns: 1fr 0.8fr;
	}

	.project-grid,
	.post-grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.project-grid > :last-child,
	.post-grid > :last-child {
		grid-column: span 2;
	}
}

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

	.admin-bar .primary-navigation {
		top: calc(var(--header-height) + 46px);
	}

	.hero {
		padding-block: 28px;
	}

	.hero-card {
		grid-template-columns: 1fr;
		gap: 1rem;
		min-height: 0;
		padding: 12px;
		border-radius: 24px;
	}

	.hero-card__content {
		padding: 2rem 1.1rem 1.4rem;
	}

	.hero-card__portrait {
		min-height: 430px;
	}

	.metrics__grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.metric:nth-child(odd) {
		border-left: 1px solid var(--border);
	}

	.metric:nth-child(-n+2) {
		border-bottom: 1px solid var(--border);
	}

	.section-heading,
	.about-preview__grid,
	.contact-card,
	.contact-page-grid {
		grid-template-columns: 1fr;
		gap: 1.5rem;
	}

	.section-heading {
		align-items: start;
	}

	.publication-layout {
		grid-template-columns: 1fr;
	}

	.publication-facts {
		position: static;
		order: -1;
	}

	.site-footer__grid {
		grid-template-columns: 1fr 1fr;
	}

	.site-footer__grid > :first-child {
		grid-column: span 2;
	}
}

@media (max-width: 620px) {
	.shell,
	.content-shell,
	.article-hero__inner,
	.article-featured {
		width: min(calc(100% - 28px), var(--shell));
	}

	.site-brand__name {
		display: none;
	}

	.hero-card__portrait {
		min-height: 360px;
	}

	.hero-card h1 {
		font-size: clamp(2.3rem, 12vw, 3.6rem);
	}

	.button-row {
		align-items: stretch;
		flex-direction: column;
		width: 100%;
	}

	.button-row .button {
		width: 100%;
	}

	.project-grid,
	.publication-grid,
	.post-grid {
		grid-template-columns: 1fr;
	}

	.project-grid > :last-child,
	.post-grid > :last-child {
		grid-column: auto;
	}

	.metric {
		min-height: 118px;
		padding: 1rem 0.65rem;
	}

	.archive-toolbar,
	.citation-box,
	.site-footer__base {
		align-items: stretch;
		flex-direction: column;
	}

	.archive-search {
		width: 100%;
	}

	.archive-search input {
		width: 100%;
		min-width: 0;
	}

	.author-box {
		grid-template-columns: 1fr;
	}

	.site-footer__grid {
		grid-template-columns: 1fr;
	}

	.site-footer__grid > :first-child {
		grid-column: auto;
	}
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	*,
	*::before,
	*::after {
		scroll-behavior: auto !important;
		transition-duration: 0.01ms !important;
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
	}
}

@supports not ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
	.site-header {
		background: #fff;
	}

	.hero-card {
		background: rgba(255, 255, 255, 0.96);
	}
}

@media print {
	.site-header,
	.site-footer,
	.button-row,
	.profile-links,
	.copy-citation {
		display: none !important;
	}

	body {
		color: #000;
	}

	.page-hero,
	.publication-hero,
	.article-hero {
		padding: 1rem 0;
		background: #fff;
	}

	.publication-layout {
		display: block;
		padding: 1rem 0;
	}

	.publication-facts {
		margin-bottom: 1.5rem;
		box-shadow: none;
	}
}
