@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&display=swap');

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

:root {
	--bg: #ffffff;
	--text: #111111;
	--muted: #777777;
	--accent: #444444;
	--nav-height: 60px;
	--max-w: 720px;
}

html,
body {
	height: 100%;
	overflow: hidden;
}

body {
	font-family: 'Inter', sans-serif;
	background: var(--bg);
	color: var(--text);
	font-size: 16px;
	line-height: 1.7;
	-webkit-font-smoothing: antialiased;
}

/* ── Nav ─────────────────────────────────────────────────── */
nav {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	height: var(--nav-height);
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0 2.5rem;
	z-index: 100;
	border-bottom: 1px solid #f0f0f0;
	background: rgba(255, 255, 255, 0.92);
	backdrop-filter: blur(8px);
}

.nav-name {
	display: none;
}

.nav-links {
	display: flex;
	gap: 2.5rem;
	list-style: none;
}

.nav-links a {
	font-size: 12px;
	font-weight: 400;
	color: var(--muted);
	text-decoration: none;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	transition: color 0.2s;
	position: relative;
	padding-bottom: 2px;
}

.nav-links a:hover {
	color: var(--text);
}

.nav-links a.active {
	color: var(--text);
}

.nav-links a.active::after {
	content: '';
	position: absolute;
	bottom: -1px;
	left: 0;
	right: 0;
	height: 1px;
	background: var(--text);
}

/* ── Page Layout ─────────────────────────────────────────── */
.page {
	height: 100vh;
	padding-top: var(--nav-height);
	display: flex;
	align-items: center;
	justify-content: center;
	position: relative;
	overflow: hidden;
}

/* Content card: subtle white glow so dots don't bleed into text */
.content {
	width: 100%;
	max-width: var(--max-w);
	padding: 2.5rem 3rem;
	position: relative;
	z-index: 2;
	background: radial-gradient(ellipse 110% 120% at 50% 50%,
			rgba(255, 255, 255, 0.97) 55%,
			rgba(255, 255, 255, 0.82) 75%,
			rgba(255, 255, 255, 0) 100%);
}

/* ── Typography ──────────────────────────────────────────── */
h1 {
	font-size: 26px;
	font-weight: 500;
	letter-spacing: -0.01em;
	margin-bottom: 0.85rem;
}

h2 {
	font-size: 11px;
	font-weight: 500;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--muted);
	margin-bottom: 0.7rem;
}

p {
	color: #333;
	font-weight: 300;
	font-size: 15px;
}

/* ── About & Contact ─────────────────────────────────────── */
.about {
	margin-bottom: 2.25rem;
}

.tags {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin-top: 1rem;
}

.tag {
	font-size: 12.5px;
	font-weight: 400;
	color: var(--muted);
	border: 1px solid #e4e4e4;
	border-radius: 3px;
	padding: 3px 10px;
}

.contact {
	margin-top: 2.25rem;
	padding-top: 1.75rem;
	border-top: 1px solid #f0f0f0;
}

.contact a {
	color: var(--text);
	text-decoration: none;
	font-weight: 400;
	border-bottom: 1px solid #ccc;
	transition: border-color 0.2s;
}

.contact a:hover {
	border-color: var(--text);
}

/* ── Canvas animation ────────────────────────────────────── */
#dot-canvas {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 1;
	pointer-events: none;
}

/* ── Resume Page ─────────────────────────────────────────── */
.resume-grid {
	display: block;
}

.resume-section {
	margin-bottom: 1.75rem;
}

.resume-section h2 {
	margin-bottom: 0.9rem;
}

.resume-item {
	margin-bottom: 1.1rem;
}

.resume-item-title {
	font-size: 15px;
	font-weight: 500;
	color: var(--text);
}

.resume-item-sub {
	font-size: 13.5px;
	color: var(--muted);
	font-weight: 300;
}

.resume-item-detail {
	font-size: 13.5px;
	color: #555;
	font-weight: 300;
	margin-top: 0.2rem;
}

.resume-skills {
	display: flex;
	flex-wrap: wrap;
	gap: 0.45rem;
	margin-top: 0.3rem;
}

.skill-tag {
	font-size: 12.5px;
	color: var(--muted);
	border: 1px solid #e4e4e4;
	border-radius: 3px;
	padding: 3px 10px;
}

.resume-header {
	margin-bottom: 2.25rem;
}

.resume-links {
	display: flex;
	gap: 1.5rem;
	margin-top: 0.5rem;
}

.resume-links a {
	font-size: 14px;
	color: var(--muted);
	text-decoration: none;
	border-bottom: 1px solid #ddd;
	transition: color 0.2s, border-color 0.2s;
}

.resume-links a:hover {
	color: var(--text);
	border-color: var(--text);
}

.coursework-placeholder {
	font-size: 13.5px;
	color: #bbb;
	font-weight: 300;
	font-style: italic;
}