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

html { scroll-behavior: smooth; }

body {
	background: #ffffff;
	color: #444444;
	font-family: 'Inter', sans-serif;
	font-size: 17px;
	font-weight: 400;
	line-height: 1.75;
	-webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
	color: #111111;
	font-weight: 500;
	line-height: 1.3;
	letter-spacing: -0.02em;
}

a {
	color: #555555;
	text-decoration: none;
	transition: color 0.2s;
}
a:hover { color: #111111; }

p { margin-bottom: 1.2em; }
p:last-child { margin-bottom: 0; }

ul { list-style: disc; padding-left: 1.6em; margin-bottom: 1.2em; }
ul li { margin-bottom: 0.4em; }

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

/* ── Top Navigation ── */

#topnav {
	position: fixed;
	top: 0; left: 0; right: 0;
	z-index: 200;
	background: #ffffff;
	border-bottom: 1px solid #e8e8e8;
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 0 2.5em;
	height: 62px;
}

#topnav .site-name {
	color: #111111;
	font-size: 1em;
	font-weight: 500;
	letter-spacing: -0.01em;
	white-space: nowrap;
}

#topnav nav {
	display: flex;
	gap: 0.3em;
}

#topnav nav a {
	color: #666666;
	font-size: 0.9em;
	font-weight: 400;
	padding: 0.45em 1.1em;
	border-radius: 6px;
	border: 1px solid transparent;
	transition: background 0.2s, color 0.2s, border-color 0.2s;
	white-space: nowrap;
}

#topnav nav a:hover {
	color: #111111;
	background: #f5f5f5;
	border-color: #e0e0e0;
}

/* ── Page wrapper ── */

#page-wrapper { margin-top: 62px; }

/* ── Intro section ── */

#intro {
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 4em 2.5em;
	background: #ffffff;
}

.intro-inner {
	display: flex;
	align-items: center;
	gap: 4em;
	max-width: 860px;
	width: 100%;
}

.intro-photo {
	flex-shrink: 0;
}

.intro-photo img {
	width: 210px;
	height: 210px;
	border-radius: 50%;
	object-fit: cover;
	border: 1px solid #e0e0e0;
}

.intro-text h1 {
	font-size: 2.1em;
	margin-bottom: 0.2em;
	color: #111111;
	letter-spacing: -0.03em;
}

.intro-text .subtitle {
	color: #999999;
	font-size: 0.95em;
	margin-bottom: 1.4em;
}

.intro-text .intro-desc {
	font-size: 1em;
	margin-bottom: 1.4em;
	color: #555555;
}

.intro-links {
	display: flex;
	flex-wrap: wrap;
	gap: 0.65em;
}

.intro-links a {
	display: inline-flex;
	align-items: center;
	gap: 0.4em;
	padding: 0.45em 1.1em;
	border-radius: 6px;
	border: 1px solid #e0e0e0;
	color: #555555;
	font-size: 0.88em;
	transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.intro-links a:hover {
	background: #f5f5f5;
	color: #111111;
	border-color: #cccccc;
}

/* ── Shared section styles ── */

.page-section {
	padding: 5em 2.5em;
	border-top: 1px solid #eeeeee;
	scroll-margin-top: 62px;
}

.page-section:nth-child(even) {
	background: #fafafa;
}

.section-inner {
	max-width: 860px;
	margin: 0 auto;
}

.section-inner > h2 {
	font-size: 1.75em;
	margin-bottom: 1em;
	padding-bottom: 0.5em;
	border-bottom: 1px solid #eeeeee;
	color: #111111;
}

/* ── Read more link ── */

.read-more {
	display: inline-block;
	margin-top: 0.4em;
	color: #666666;
	font-size: 0.9em;
	border-bottom: 1px solid #cccccc;
	padding-bottom: 1px;
	transition: color 0.2s, border-color 0.2s;
}

.read-more:hover {
	color: #111111;
	border-color: #666666;
}

/* ── Research overview ── */

.research-overview {
	margin-bottom: 3em;
}

/* ── Project cards ── */

.project {
	margin-bottom: 4em;
	padding-bottom: 4em;
	border-bottom: 1px solid #eeeeee;
}

.project:last-child {
	border-bottom: none;
	margin-bottom: 0;
	padding-bottom: 0;
}

.project h3 {
	font-size: 1.25em;
	margin-bottom: 0.6em;
	color: #111111;
	letter-spacing: -0.02em;
}

.project h3 a {
	font-size: 0.72em;
	font-weight: 400;
	margin-left: 0.8em;
	color: #888888;
	border: 1px solid #e0e0e0;
	padding: 0.15em 0.6em;
	border-radius: 4px;
	vertical-align: middle;
	white-space: nowrap;
	letter-spacing: 0;
}

.project h3 a:hover {
	background: #f5f5f5;
	color: #333333;
	border-color: #cccccc;
}

.project img {
	margin: 1.4em 0;
	border-radius: 6px;
	border: 1px solid #e8e8e8;
}

.project .side-by-side {
	display: flex;
	align-items: center;
	gap: 2em;
	margin: 1.4em 0;
}

.project .side-by-side img {
	margin: 0;
	flex: 1;
	min-width: 0;
}

/* ── Footer ── */

#footer {
	background: #ffffff;
	border-top: 1px solid #eeeeee;
	text-align: center;
	padding: 2em;
	font-size: 0.82em;
	color: #aaaaaa;
}

#footer a { color: #aaaaaa; }
#footer a:hover { color: #555555; }

/* ── Responsive ── */

@media (max-width: 680px) {
	#topnav { padding: 0 1.2em; }
	#topnav .site-name { font-size: 0.9em; }
	#topnav nav a { padding: 0.4em 0.7em; font-size: 0.85em; }

	#intro { padding: 2.5em 1.5em; }
	.intro-inner { flex-direction: column; align-items: center; gap: 2em; text-align: center; }
	.intro-links { justify-content: center; }

	.page-section { padding: 3.5em 1.5em; }
	.project .side-by-side { flex-direction: column; }
}
