:root {
	--color-ink:	#1a1a1a;			/* claude original  #;   */
	--color-slate: #1b1b1b;			/* #4a5568            */
	--color-mist: #e8edf2;          /* #e8edf2            */
	--color-paper: #fafbfc;         /* #fafbfc            */
	--color-accent: #16344d;		/* #2c5282            */
	--color-accent-light: #306b9c;	/* #4a90c8            */
	--serif: 'Signika', serif;		/* 'Fraunces', serif; */
	--sans: 'Work Sans', sans-serif;
}
* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}
body {
	font-family: var(--sans);
	color: var(--color-ink);
	background: var(--color-paper);
	line-height: 1.7;
	font-weight: 300;
	-webkit-font-smoothing: antialiased;
}
/* Navigation */
nav {
	position: fixed;
	top: 0;
	width: 100%;
	background: rgba(250, 251, 252, 0.95);
	backdrop-filter: blur(10px);
	border-bottom: 1px solid rgba(0, 0, 0, 0.06);
	z-index: 1000;
	animation: slideDown 0.6s ease-out;
}
@keyframes slideDown {
	from {
		transform: translateY(-100%);
		opacity: 0;
	}
	to {
		transform: translateY(0);
		opacity: 1;
	}
}
nav .container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 1rem 1.5rem;
	display: flex;
	justify-content: space-between;
	align-items: center;
}
nav .logo {
	font-family: var(--serif);
	font-size: 1.1rem;
	font-weight: 600;
	color: var(--color-ink);
	text-decoration: none;
	letter-spacing: -0.02em;
}
nav ul {
	display: flex;
	gap: 2rem;
	list-style: none;
}
nav a {
	color: var(--color-slate);
	text-decoration: none;
	font-size: 0.9rem;
	font-weight: 400;
	letter-spacing: 0.01em;
	transition: color 0.3s ease;
}
nav a:hover {
	color: var(--color-accent);
}
/* Hero Section */
.hero {
	margin-top: 65px;
	padding: 4rem 1.5rem 3rem;
	background: linear-gradient(135deg, #fafbfc 0%, #c2cedb 100%);
	position: relative;
	overflow: hidden;
}
.hero::before {
	content: '';
	position: absolute;
	top: -50%;
	right: -20%;
	width: 80%;
	height: 200%;
	background: radial-gradient(circle, rgba(44, 82, 130, 0.03) 0%, transparent 70%);
	animation: float 20s ease-in-out infinite;
}
@keyframes float {
	0%, 100% { transform: translate(0, 0) rotate(0deg); }
	50% { transform: translate(-20px, 20px) rotate(5deg); }
}
.hero .container {
	max-width: 1200px;
	margin: 0 auto;
	position: relative;
	z-index: 1;
}
.hero h1 {
	font-family: var(--serif);
	font-size: 3.2rem;
	font-weight: 300;
	line-height: 1.1;
	margin-bottom: 1rem;
	letter-spacing: -0.03em;
	animation: fadeInUp 0.8s ease-out 0.2s both;
}
.hero h1 strong {
	font-weight: 600;
	font-style: italic;
	display: block;
	margin-top: 0.3rem;
}
.hero .subtitle {
	font-size: 1.1rem;
	color: var(--color-slate);
	max-width: 600px;
	line-height: 1.6;
	margin-bottom: 2rem;
	animation: fadeInUp 0.8s ease-out 0.4s both;
}
@keyframes fadeInUp {
	from {
		opacity: 0;
		transform: translateY(30px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}
.cta-button {
	display: inline-block;
	padding: 0.8rem 2rem;
	background: var(--color-accent);
	color: white;
	text-decoration: none;
	font-weight: 400;
	font-size: 0.95rem;
	letter-spacing: 0.03em;
	border-radius: 4px;
	transition: all 0.3s ease;
	animation: fadeInUp 0.8s ease-out 0.6s both;
}
.cta-button:hover {
	background: var(--color-accent-light);
	transform: translateY(-2px);
	box-shadow: 0 10px 25px rgba(44, 82, 130, 0.2);
}
/* Section Styling */
section {
	padding: 3.5rem 1.5rem;
	max-width: 1200px;
	margin: 0 auto;
}
section h2 {
	font-family: var(--serif);
	font-size: 2.2rem;
	font-weight: 400;
	margin-bottom: 0.8rem;
	letter-spacing: -0.02em;
	position: relative;
	display: inline-block;
}
section h2::after {
	content: '';
	position: absolute;
	bottom: -6px;
	left: 0;
	width: 50px;
	height: 2px;
	background: var(--color-accent);
}
section .section-intro {
	font-size: 1.05rem;
	color: var(--color-slate);
	margin-bottom: 2.5rem;
	margin-top: 1.5rem;
	max-width: 700px;
}
/* Portfolio Grid */
.portfolio-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
	gap: 2rem;
	margin-top: 2rem;
}
.project-card {
	background: white;
	border: 1px solid rgba(0, 0, 0, 0.08);
	border-radius: 8px;
	overflow: hidden;
	transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
	opacity: 0;
	animation: fadeInUp 0.6s ease-out forwards;
}
.project-card:nth-child(1) { animation-delay: 0.1s; }
.project-card:nth-child(2) { animation-delay: 0.2s; }
.project-card:nth-child(3) { animation-delay: 0.3s; }
.project-card:nth-child(4) { animation-delay: 0.4s; }
.project-card:hover {
	transform: translateY(-8px);
	box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
	border-color: var(--color-accent-light);
}
.project-image {
	width: 100%;
	height:  280px;   /* claude 2 ('less space') proposed 220px;  */
	background: var(--color-mist);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 2.5rem;
	color: var(--color-accent);
	position: relative;
	overflow: hidden;
}
.project-image::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: linear-gradient(135deg, transparent 0%, rgba(44, 82, 130, 0.05) 100%);
}
.project-content {
	padding: 1.5rem;
}
.project-content h3 {
	font-family: var(--serif);
	font-size: 1.4rem;
	font-weight: 600;
	margin-bottom: 0.8rem;
	color: var(--color-ink);
}
.project-content p {
	color: var(--color-slate);
	margin-bottom: 1.2rem;
	line-height: 1.6;
	font-size: 0.95rem;
}
.project-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
}
.tag {
	padding: 0.3rem 0.8rem;
	background: var(--color-mist);
	color: var(--color-accent);
	font-size: 0.8rem;
	border-radius: 20px;
	font-weight: 400;
}
/* Skills Section */
.skills-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 1.5rem;
	margin-top: 2rem;
}
.skill-category {
	background: white;
	padding: 1.5rem;
	border-radius: 8px;
	border: 1px solid rgba(0, 0, 0, 0.08);
	transition: all 0.3s ease;
}
.skill-category:hover {
	border-color: var(--color-accent-light);
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}
.skill-category h3 {
	font-family: var(--serif);
	font-size: 1.2rem;
	margin-bottom: 1.2rem;
	color: var(--color-accent);
	font-weight: 600;
}
.skill-category ul {
	list-style: none;
}
.skill-category li {
	padding: 0.5rem 0;
	color: var(--color-slate);
	font-size: 0.95rem;
	border-bottom: 1px solid rgba(0, 0, 0, 0.05);
	display: flex;
	align-items: center;
}
.skill-category li:last-child {
	border-bottom: none;
}
.skill-category li::before {
	content: '→';
	margin-right: 0.8rem;
	color: var(--color-accent);
	font-weight: 400;
}
/* Contact Section */
#contact {
	background: linear-gradient(135deg, var(--color-mist) 0%, var(--color-paper) 100%);
	border-radius: 12px;
	padding: 3rem 2rem;
	text-align: left;
}
#contact h2 {
	/*margin-bottom: 1rem;
	justify-content: left;*/
}
.section-intro {
		font-weight: 500;
}
.contact-info {
	display: flex;
	justify-content: center;
	gap: 2.5rem;
	margin-top: 2rem;
	flex-wrap: wrap;
}
.contact-item {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.6rem;
}
.contact-item .icon {
	width: 45px;
	height: 45px;
	background: var(--color-accent);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	color: white;
	font-size: 1.1rem;
}
.contact-item a {
	color: var(--color-slate);
	text-decoration: none;
	font-size: 1rem;
	transition: color 0.3s ease;
}
.contact-item a:hover {
	color: var(--color-accent);
}
/* Footer */
footer {
	text-align: center;
	padding: 2rem 1.5rem;
	color: var(--color-slate);
	border-top: 1px solid rgba(0, 0, 0, 0.06);
	font-size: 0.9rem;
}
/* Responsive */
@media (max-width: 768px) {
	nav ul {
		gap: 1.2rem;
	}
	.hero h1 {
		font-size: 2.2rem;
	}
	.hero .subtitle {
		font-size: 1rem;
	}
	section h2 {
		font-size: 1.8rem;
	}
	.portfolio-grid {
		grid-template-columns: 1fr;
	}
	.skills-grid {
		grid-template-columns: 1fr;
	}
	.contact-info {
		flex-direction: column;
		gap: 1.5rem;
	}
}
/* Smooth scrolling */
html {
	scroll-behavior: smooth;
}
