/* Professional, Accessible, No-Nonsense Design */

/* CSS Reset and Base Styles */
*, *::before, *::after {
	box-sizing: border-box;
}

html {
	font-size: 16px;
	scroll-behavior: smooth;
}

body {
	margin: 0;
	padding: 0;
	font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
	font-size: 1rem;
	line-height: 1.6;
	color: #1a1a1a;
	background-color: #ffffff;
	min-height: 100vh;
	display: flex;
	flex-direction: column;
}

/* Skip Link for Accessibility */
.skip-link {
	position: absolute;
	top: -40px;
	left: 0;
	background: #000;
	color: #fff;
	padding: 8px 16px;
	text-decoration: none;
	z-index: 100;
}

.skip-link:focus {
	top: 0;
}

/* Screen Reader Only Content */
.sr-only {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border-width: 0;
}

/* Typography */
h1 {
	font-size: 2.5rem;
	font-weight: 700;
	line-height: 1.2;
	margin: 0 0 0.5rem 0;
	color: #1a1a1a;
	text-align: center;
}

h2 {
	font-size: 1.75rem;
	font-weight: 600;
	line-height: 1.3;
	margin: 2rem 0 1rem 0;
	color: #1a1a1a;
}

h3 {
	font-size: 1.5rem;
	font-weight: 600;
	line-height: 1.3;
	margin: 1.5rem 0 0.75rem 0;
	color: #1a1a1a;
}

h4 {
	font-size: 1.25rem;
	font-weight: 600;
	line-height: 1.4;
	margin: 1.5rem 0 0.75rem 0;
	color: #1a1a1a;
}

h5 {
	font-size: 1.125rem;
	font-weight: 600;
	line-height: 1.4;
	margin: 1.25rem 0 0.5rem 0;
	color: #1a1a1a;
}

p {
	margin: 0 0 1rem 0;
	color: #333;
}

a {
	color: #0066cc;
	text-decoration: underline;
	text-underline-offset: 2px;
}

a:hover {
	color: #004499;
}

a:focus {
	outline: 3px solid #0066cc;
	outline-offset: 2px;
}

a:visited {
	color: #551a8b;
}

/* Layout */
header {
	padding: 2rem 1rem;
	text-align: center;
	border-bottom: 1px solid #e0e0e0;
}

.subtitle {
	font-size: 1.125rem;
	color: #666;
	margin: 0;
	font-weight: 400;
}

/* Navigation - Social Links */
nav {
	padding: 2rem 1rem;
}

.social-links {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 1.5rem;
	max-width: 900px;
	margin: 0 auto;
}

.social-links li {
	margin: 0;
}

.social-links a,
.social-links button {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.5rem;
	padding: 1rem;
	text-decoration: none;
	color: #1a1a1a;
	background: #ffffff;
	border: 2px solid #e0e0e0;
	border-radius: 8px;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
	min-width: 100px;
}

.social-links button {
	cursor: pointer;
	font-family: inherit;
	font-size: inherit;
}

.social-links a:hover,
.social-links button:hover {
	border-color: #0066cc;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.social-links a:focus,
.social-links button:focus {
	outline: 3px solid #0066cc;
	outline-offset: 2px;
	border-color: #0066cc;
}

.social-links img {
	display: block;
	width: 48px;
	height: 48px;
	object-fit: contain;
}

.social-links span {
	font-size: 0.875rem;
	font-weight: 500;
}

/* Main Content */
main {
	flex: 1;
	max-width: 900px;
	width: 100%;
	margin: 0 auto;
	padding: 2rem 1rem;
}

/* Sections */
section {
	margin-bottom: 3rem;
}

#intro {
	background: #f8f9fa;
	border: 1px solid #e0e0e0;
	border-radius: 8px;
	padding: 2rem;
}

#intro p {
	font-size: 1.125rem;
	line-height: 1.7;
	margin: 0;
}

/* Resume Section */
#resume {
	background: #ffffff;
	border: 1px solid #e0e0e0;
	border-radius: 8px;
	padding: 2rem;
}

#resume h4 {
	border-bottom: 2px solid #e0e0e0;
	padding-bottom: 0.5rem;
	margin-top: 2rem;
	margin-bottom: 1rem;
}

#resume h4:first-of-type {
	margin-top: 0;
}

#resume h5 {
	margin-top: 1.5rem;
	margin-bottom: 0.5rem;
}

#resume p {
	margin-bottom: 1rem;
}

#resume ul {
	margin: 0 0 1.5rem 0;
	padding-left: 1.5rem;
}

#resume li {
	margin-bottom: 0.5rem;
}

/* Footer */
footer {
	padding: 2rem 1rem;
	text-align: center;
	border-top: 1px solid #e0e0e0;
	background: #f8f9fa;
	color: #666;
	font-size: 0.875rem;
}

/* Responsive Design */
@media (max-width: 768px) {
	h1 {
		font-size: 2rem;
	}
	
	.subtitle {
		font-size: 1rem;
	}
	
	.social-links {
		gap: 1rem;
	}
	
	.social-links a,
	.social-links button {
		min-width: 80px;
		padding: 0.75rem;
	}
	
	.social-links img {
		width: 40px;
		height: 40px;
	}
	
	main {
		padding: 1.5rem 1rem;
	}
	
	#intro,
	#resume {
		padding: 1.5rem;
	}
}

@media (max-width: 480px) {
	h1 {
		font-size: 1.75rem;
	}
	
	.social-links {
		gap: 0.75rem;
	}
	
	.social-links a,
	.social-links button {
		min-width: 70px;
		padding: 0.5rem;
	}
	
	.social-links img {
		width: 36px;
		height: 36px;
	}
	
	.social-links span {
		font-size: 0.75rem;
	}
}

/* Print Styles */
@media print {
	.skip-link,
	nav,
	footer {
		display: none;
	}
	
	body {
		background: white;
	}
	
	header {
		border-bottom: 2px solid #000;
	}
	
	#intro,
	#resume {
		border: none;
		padding: 0;
	}
	
	a {
		text-decoration: underline;
	}
	
	a[href^="http"]::after {
		content: " (" attr(href) ")";
		font-size: 0.875rem;
		color: #666;
	}
}