:root {
	--color-text: #1a1a1a;
	--color-text-secondary: #4a4a4a;
	--color-bg: #fcfcfc;
	--color-bg-subtle: #f3f2f7;
	--color-accent: #3d3b8e;
	--color-border: #e0dfe6;
	--font-body: 'Inter', system-ui, -apple-system, sans-serif;
	--max-width: 960px;
	--space-xs: 0.5rem;
	--space-sm: 1rem;
	--space-md: 2rem;
	--space-lg: 4rem;
	--space-xl: 6rem;
}

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

html {
	scroll-behavior: smooth;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

body {
	font-family: var(--font-body);
	font-size: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
	line-height: 1.7;
	color: var(--color-text);
	background: var(--color-bg);
}

main {
	max-width: var(--max-width);
	margin: 0 auto;
	padding: 0 var(--space-md);
}

section {
	padding: var(--space-xl) 0;
	border-bottom: 1px solid var(--color-border);
}

section:last-child {
	border-bottom: none;
}

h1 {
	font-size: clamp(2rem, 1.5rem + 2.5vw, 3rem);
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: -0.02em;
	margin-top: var(--space-md);
}

h2 {
	font-size: clamp(1.5rem, 1.2rem + 1.5vw, 2rem);
	font-weight: 700;
	line-height: 1.3;
	letter-spacing: -0.02em;
	margin-bottom: var(--space-md);
}

h3 {
	font-size: 1.1rem;
	font-weight: 600;
	margin-bottom: var(--space-xs);
}

p {
	color: var(--color-text-secondary);
}

a {
	color: var(--color-text);
	text-decoration-color: var(--color-border);
	text-underline-offset: 3px;
	transition: text-decoration-color 0.2s;
}

a:hover {
	text-decoration-color: var(--color-text);
}

/* Hero */
.hero {
	text-align: center;
	padding-top: var(--space-xl);
}

.profile-photo {
	width: 120px;
	height: 120px;
	border-radius: 50%;
	object-fit: cover;
}

.bio {
	margin-top: var(--space-md);
	max-width: 600px;
	margin-left: auto;
	margin-right: auto;
}

/* Works */
.links-list {
	list-style: none;
}

.links-list li {
	padding: var(--space-sm) 0;
	border-bottom: 1px solid var(--color-border);
}

.links-list li:last-child {
	border-bottom: none;
}

.links-list a {
	font-weight: 500;
	text-decoration: none;
	display: inline-block;
	transition: color 0.2s;
}

.links-list a:hover {
	color: var(--color-accent);
}

/* Skills */
.skills-intro {
	margin-bottom: var(--space-lg);
}

.skills-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: var(--space-md);
}

.skill-card {
	padding: var(--space-md);
	background: var(--color-bg-subtle);
	border-radius: 8px;
	transition: transform 0.2s;
}

.skill-card:hover {
	transform: translateY(-2px);
}

.skill-card p {
	font-size: 0.925rem;
	line-height: 1.65;
}

/* Footer */
footer {
	text-align: center;
	padding: var(--space-xl) var(--space-md);
	max-width: var(--max-width);
	margin: 0 auto;
}

.social-links {
	display: flex;
	justify-content: center;
	gap: var(--space-md);
	flex-wrap: wrap;
}

.social-links a {
	color: var(--color-text-secondary);
	text-decoration: none;
	transition: color 0.2s, transform 0.2s;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: var(--space-xs);
}

.social-links a:hover {
	color: var(--color-text);
	transform: translateY(-2px);
}

.social-links svg {
	width: 22px;
	height: 22px;
}

/* Responsive */
@media (max-width: 640px) {
	:root {
		--space-xl: 4rem;
	}

	.skills-grid {
		grid-template-columns: 1fr;
	}

	.social-links {
		gap: var(--space-sm);
	}
}
