/* ==========================================================================
   Design System: Academic Minimalist (Inspired by Harvard/Martin Nowak)
   ========================================================================== */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

:root {
	/* Brand Colors */
	--color-brand-primary: #205B92;
	/* Harvard Blue-ish */
	--color-brand-dark: #000000;

	/* UI Colors */
	--color-bg-body: #FFFFFF;
	--color-bg-light: #F9F9F9;
	--color-bg-overlay: rgba(29, 33, 36, 0.70);

	/* Text Colors */
	--color-text-primary: #1D1D1D;
	--color-text-secondary: #555555;
	--color-text-light: #FFFFFF;

	/* Typography */
	--font-primary: 'Inter', sans-serif;

	/* Layout */
	--width-container: 1170px;
	--header-height: 80px;
}

/* ==========================================================================
   Base
   ========================================================================== */
* {
	box-sizing: border-box;
}

body {
	margin: 0;
	padding: 0;
	background-color: var(--color-bg-body);
	color: var(--color-text-primary);
	font-family: var(--font-primary);
	font-size: 17px;
	line-height: 1.5;
	-webkit-font-smoothing: antialiased;
}

a {
	color: var(--color-brand-primary);
	text-decoration: none;
	transition: color 0.2s;
}

a:hover {
	text-decoration: underline;
	color: #143e66;
}

h1,
h2,
h3,
h4 {
	font-weight: 500;
	color: var(--color-text-primary);
	margin-top: 0;
	margin-bottom: 1rem;
	letter-spacing: -0.02em;
}

h1 {
	font-size: 42px;
	line-height: 1.2;
}

h2 {
	font-size: 32px;
	margin-bottom: 20px;
	padding-bottom: 12px;
	border-bottom: 1px solid #eee;
}

h3 {
	font-size: 24px;
}

p {
	margin-bottom: 1.25em;
}

.chinese-name {
	font-family: "Heiti SC", "Source Han Sans SC", "Noto Sans CJK SC", system-ui, sans-serif;
	margin-left: 6px;
	font-weight: normal;
	/* Visual balance */
}

/* ==========================================================================
   Layout
   ========================================================================== */
.container {
	max-width: var(--width-container);
	margin: 0 auto;
	padding: 0 24px;
}

/* ==========================================================================
   Global Header (University Bar)
   ========================================================================== */
.global-header {
	background-color: #000;
	color: #fff;
	padding: 10px 0;
	font-size: 13px;
	font-weight: 500;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.global-header a {
	color: #fff;
	text-decoration: none;
}

/* ==========================================================================
   Site Navigation
   ========================================================================== */
.site-header {
	background-color: #fff;
	border-bottom: 1px solid #eee;
	padding: 0;
	position: sticky;
	top: 0;
	z-index: 1000;
}

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

.site-title {
	font-size: 22px;
	font-weight: 500;
	color: #000;
	letter-spacing: -0.02em;
	text-decoration: none !important;
}

.nav-links {
	list-style: none;
	display: flex;
	gap: 40px;
	margin: 0;
	padding: 0;
}

.nav-links a {
	color: #666;
	font-size: 15px;
	font-weight: 400;
	text-decoration: none;
	transition: color 0.2s ease;
}

.nav-links a:hover,
.nav-links a.active {
	color: #000;
	text-decoration: none;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */


/* Hero background will be set by JS */
.hero {
	position: relative;
	width: 100%;
	height: 800px;
	background-color: transparent;
	background-size: cover;
	background-position: center 30%;
	display: flex;
	align-items: center;
	overflow: hidden;
}

/* Optional: Slight slow zoom (Ken Burns) for the static image */
@keyframes slowZoom {
	0% {
		transform: scale(1);
	}

	100% {
		transform: scale(1.05);
	}
}

.hero.animate-bg {
	animation: slowZoom 20s ease-out forwards;
}

/* Ensure content stays on top of slides */
/* Ensure content stays on top of slides */
.hero .container {
	position: relative;
	z-index: 2;
	display: flex;
	justify-content: flex-end;
	width: 100%;
}

.hero-overlay-box {
	background-color: var(--color-bg-overlay);
	color: #fff;
	padding: 32px;
	width: 80%;
	max-width: 500px;
	margin-left: auto;
	margin-right: 0;
}

.hero h1 {
	color: #fff;
	font-size: 42px;
	margin-bottom: 16px;
}

.hero p {
	font-size: 16px;
	color: rgba(255, 255, 255, 0.9);
	margin-bottom: 16px;
}

.hero a {
	color: #fff;
	text-decoration: underline;
}

.hero-buttons {
	margin-top: 24px;
}

.btn {
	display: inline-block;
	padding: 12px 28px;
	background-color: var(--color-brand-primary);
	color: #fff;
	font-weight: 600;
	border-radius: 3px;
	text-decoration: none;
	font-size: 15px;
}

.btn:hover {
	background-color: #143e66;
	text-decoration: none;
	color: #fff;
}

/* ==========================================================================
   Content Sections
   ========================================================================== */
.section {
	padding: 60px 0;
}

.grid-2col {
	display: grid;
	grid-template-columns: 2fr 1fr;
	gap: 40px;
	align-items: start;
}

/* Profile Image in Content */
.profile-image-container img {
	width: 100%;
	max-width: 300px;
	border-radius: 4px;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

/* Publications List */
.publication-item {
	margin-bottom: 24px;
}

.publication-item h3 {
	font-size: 18px;
	font-weight: 700;
	margin-bottom: 4px;
	color: var(--color-text-primary);
}

.publication-meta {
	font-size: 16px;
	color: var(--color-text-secondary);
	line-height: 1.6;
}

.publication-link {
	display: inline-block;
	margin-top: 8px;
	font-size: 14px;
	font-weight: 500;
}

/* Footer */
.site-footer {
	background-color: #EEEEEC;
	padding: 40px 0;
	margin-top: 60px;
	color: #666;
	font-size: 14px;
	text-align: center;
}

/* Mobile */
@media (max-width: 900px) {
	.hero {
		height: auto;
		padding: 60px 0;
	}

	.hero-overlay-box {
		margin: 0 auto;
		max-width: 100%;
	}

	.grid-2col {
		grid-template-columns: 1fr;
		gap: 40px;
	}

	.profile-image-container {
		order: -1;
		/* Image first on mobile? Or text first? Let's keep Default text first. */
		text-align: center;
	}

	.site-header .container {
		flex-direction: column;
		height: auto;
		padding: 16px 24px;
		gap: 16px;
	}
}