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

html,
body {
	font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	color: #0f172a;
	background: radial-gradient(circle at top, #020617 0, #020617 40%, #020617 41%, #020617 100%);
	background: #020617;
	scroll-behavior: smooth;
}

body {
	color: #e2e8f0;
}

a {
	color: inherit;
	text-decoration: none;
}

img {
	max-width: 100%;
	display: block;
}

.container {
	width: 100%;
	max-width: 1100px;
	margin: 0 auto;
	padding: 0 1.5rem;
}

.header {
	position: sticky;
	top: 0;
	z-index: 20;
	border-bottom: 1px solid rgba(148, 163, 184, 0.3);
	backdrop-filter: blur(16px);
	background: rgba(15, 23, 42, 0.75);
}

.header-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 0.9rem 0;
}

.logo {
	font-weight: 700;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	font-size: 1rem;
}

.logo span {
	color: #22d3ee;
}

.nav {
	display: flex;
	gap: 1.5rem;
	font-size: 0.9rem;
}

.nav a {
	color: #cbd5f5;
	position: relative;
}

.nav a::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: -0.2rem;
	width: 0;
	height: 2px;
	background: linear-gradient(90deg, #22c55e, #22d3ee);
	transition: width 0.2s ease;
}

.nav a:hover::after {
	width: 100%;
}

.nav-toggle {
	display: none;
	border: none;
	background: transparent;
	cursor: pointer;
}

.nav-toggle span {
	display: block;
	width: 20px;
	height: 2px;
	margin: 3px 0;
	background: #e5e7eb;
}

.hero {
	padding: 5rem 0 3rem;
	background: radial-gradient(circle at top, #0f172a 0, #020617 50%);
}

.hero-inner {
	display: grid;
	grid-template-columns: minmax(0, 2fr) minmax(0, 1.2fr);
	gap: 3rem;
	align-items: center;
}

.hero-eyebrow {
	font-size: 0.85rem;
	text-transform: uppercase;
	letter-spacing: 0.12em;
	color: #94a3b8;
}

.hero h1 {
	margin-top: 0.75rem;
	font-size: clamp(2.3rem, 4vw, 3rem);
	line-height: 1.1;
}

.hero-subtitle {
	margin-top: 1rem;
	font-size: 0.98rem;
	color: #cbd5f5;
	max-width: 32rem;
}

.hero-actions {
	margin-top: 1.75rem;
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
}

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0.65rem 1.3rem;
	border-radius: 999px;
	border: 1px solid transparent;
	font-size: 0.9rem;
	cursor: pointer;
	transition: transform 0.1s ease, box-shadow 0.1s ease, background 0.15s ease,
		border-color 0.15s ease, color 0.15s ease;
}

.btn.primary {
	background: linear-gradient(135deg, #22c55e, #22d3ee);
	color: #0f172a;
	box-shadow: 0 14px 30px rgba(34, 196, 136, 0.25);
}

.btn.primary:hover {
	transform: translateY(-1px);
	box-shadow: 0 18px 40px rgba(34, 196, 136, 0.3);
}

.btn.ghost {
	background: transparent;
	border-color: rgba(148, 163, 184, 0.6);
	color: #e5e7eb;
}

.btn.ghost:hover {
	border-color: #22d3ee;
	background: rgba(15, 23, 42, 0.8);
}

.btn.full {
	width: 100%;
}

.hero-meta {
	margin-top: 1.5rem;
	display: flex;
	align-items: center;
	gap: 0.5rem;
	font-size: 0.85rem;
	color: #94a3b8;
}

.hero-meta a {
	color: #22d3ee;
}

.hero-card {
	justify-self: flex-end;
}

.hero-card-inner {
	border-radius: 1rem;
	border: 1px solid rgba(148, 163, 184, 0.5);
	background: radial-gradient(circle at top left, #0f172a 0, #020617 55%);
	padding: 1.5rem 1.75rem;
	box-shadow: 0 18px 45px rgba(15, 23, 42, 0.8);
}

.hero-card-title {
	font-size: 0.85rem;
	text-transform: uppercase;
	letter-spacing: 0.16em;
	color: #9ca3af;
	margin-bottom: 1rem;
}

.hero-card ul {
	list-style: none;
	display: grid;
	gap: 0.6rem;
	font-size: 0.9rem;
	color: #e5e7eb;
}

.section {
	padding: 4rem 0;
}

.section-alt {
	background: radial-gradient(circle at top, #020617 0, #020617 40%, #020617 100%);
}

.section-inner {
	display: flex;
	flex-direction: column;
	gap: 2.5rem;
}

.section-header h2 {
	font-size: 1.5rem;
}

.section-header p {
	margin-top: 0.5rem;
	font-size: 0.95rem;
	color: #cbd5f5;
}

.grid-2 {
	display: grid;
	gap: 1.5rem;
}

.grid-2 p {
	color: #e5e7eb;
	font-size: 0.95rem;
}

.skills-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 1.5rem;
}

.chip-group h3 {
	font-size: 0.9rem;
	text-transform: uppercase;
	letter-spacing: 0.16em;
	color: #9ca3af;
	margin-bottom: 0.7rem;
}

.chips {
	display: flex;
	flex-wrap: wrap;
	gap: 0.45rem;
}

.chip {
	padding: 0.35rem 0.8rem;
	border-radius: 999px;
	font-size: 0.8rem;
	background: rgba(15, 23, 42, 0.8);
	border: 1px solid rgba(148, 163, 184, 0.5);
}

.projects-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: 1.5rem;
}

.project-card {
	padding: 1.5rem 1.4rem;
	border-radius: 1rem;
	border: 1px solid rgba(148, 163, 184, 0.6);
	background: radial-gradient(circle at top left, #020617 0, #020617 60%);
}

.project-header {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	gap: 0.5rem;
}

.project-header h3 {
	font-size: 1rem;
}

.project-tag {
	font-size: 0.75rem;
	text-transform: uppercase;
	letter-spacing: 0.14em;
	color: #22d3ee;
}

.project-desc {
	font-size: 0.9rem;
	margin-top: 0.7rem;
	color: #cbd5f5;
}

.project-meta {
	margin-top: 0.8rem;
	list-style: none;
	display: grid;
	gap: 0.25rem;
	font-size: 0.85rem;
	color: #9ca3af;
}

.project-actions {
	margin-top: 1rem;
}

.project-actions a {
	font-size: 0.85rem;
	color: #22d3ee;
}

.timeline {
	display: grid;
	gap: 1.5rem;
	border-left: 1px solid rgba(148, 163, 184, 0.5);
	padding-left: 1.3rem;
}

.timeline-item {
	position: relative;
}

.timeline-item::before {
	content: "";
	position: absolute;
	left: -1.4rem;
	top: 0.35rem;
	width: 9px;
	height: 9px;
	border-radius: 999px;
	background: linear-gradient(135deg, #22c55e, #22d3ee);
}

.timeline-meta {
	font-size: 0.8rem;
	color: #94a3b8;
	margin-top: 0.15rem;
}

.timeline-item p:last-child {
	margin-top: 0.5rem;
	font-size: 0.9rem;
	color: #cbd5f5;
}

.contact-grid {
	display: grid;
	grid-template-columns: minmax(0, 1.3fr) minmax(0, 1.2fr);
	gap: 2rem;
	align-items: flex-start;
}

.contact-list {
	list-style: none;
	margin-top: 1rem;
	display: grid;
	gap: 0.4rem;
	font-size: 0.9rem;
}

.contact-list span {
	color: #94a3b8;
	margin-right: 0.4rem;
}

.contact-form {
	padding: 1.4rem 1.3rem;
	border-radius: 1rem;
	border: 1px solid rgba(148, 163, 184, 0.6);
	background: radial-gradient(circle at top left, #020617 0, #020617 55%);
}

.field {
	display: flex;
	flex-direction: column;
	gap: 0.3rem;
	margin-bottom: 1rem;
}

.field label {
	font-size: 0.8rem;
	text-transform: uppercase;
	letter-spacing: 0.14em;
	color: #9ca3af;
}

.field input,
.field textarea {
	padding: 0.5rem 0.7rem;
	border-radius: 0.55rem;
	border: 1px solid rgba(148, 163, 184, 0.6);
	background: rgba(15, 23, 42, 0.8);
	color: #e5e7eb;
	font-size: 0.9rem;
}

.field input:focus,
.field textarea:focus {
	outline: none;
	border-color: #22d3ee;
	box-shadow: 0 0 0 1px rgba(34, 211, 238, 0.6);
}

.form-status {
	margin-top: 0.6rem;
	font-size: 0.85rem;
	color: #a5b4fc;
}

.footer {
	border-top: 1px solid rgba(148, 163, 184, 0.4);
	padding: 1.2rem 0 1.6rem;
	background: #020617;
}

.footer-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	font-size: 0.8rem;
	color: #9ca3af;
}

.back-to-top {
	color: #22d3ee;
}

@media (max-width: 768px) {
	.nav {
		position: fixed;
		inset: 3.2rem 1rem auto 1rem;
		padding: 0.9rem 1rem;
		border-radius: 0.9rem;
		border: 1px solid rgba(148, 163, 184, 0.6);
		background: rgba(15, 23, 42, 0.97);
		flex-direction: column;
		gap: 0.9rem;
		transform: scale(0.95);
		opacity: 0;
		pointer-events: none;
		transform-origin: top right;
		transition: opacity 0.15s ease, transform 0.15s ease;
	}

	.nav.is-open {
		opacity: 1;
		pointer-events: auto;
		transform: scale(1);
	}

	.nav-toggle {
		display: block;
	}

	.hero-inner {
		grid-template-columns: minmax(0, 1fr);
	}

	.hero-card {
		justify-self: stretch;
	}

	.contact-grid {
		grid-template-columns: minmax(0, 1fr);
	}

	.footer-inner {
		flex-direction: column;
		gap: 0.5rem;
		text-align: center;
	}
}

