:root {
	--bg: #080808;
	--card: #131316;
	--accent: #ff8a00;
	--accent-secondary: #14cba8;
	--text: #f2f2f2;
	--muted: #a8a8b3;
	--border: #1f1f22;
	--font-base: 'Space Grotesk', sans-serif;
	--font-display: 'Josefin Sans', sans-serif;
}

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

body {
	margin: 0;
	font-family: var(--font-base);
	background-color: var(--bg);
	color: var(--text);
	line-height: 1.6;
	min-height: 100vh;
}


.reveal-delay-0 {
	--reveal-delay: 0ms;
}

.reveal-delay-1 {
	--reveal-delay: 90ms;
}

.reveal-delay-2 {
	--reveal-delay: 180ms;
}

.reveal-delay-3 {
	--reveal-delay: 260ms;
}

.reveal-delay-4 {
	--reveal-delay: 560ms;
}

body.has-js .reveal {
	opacity: 0;
	transform: translateY(22px) scale(0.985);
	filter: blur(8px);
	transition: opacity 720ms cubic-bezier(0.22, 1, 0.36, 1), transform 720ms cubic-bezier(0.22, 1, 0.36, 1), filter 720ms cubic-bezier(0.22, 1, 0.36, 1);
	transition-delay: var(--reveal-delay, 0ms);
	will-change: opacity, transform, filter;
}

body.has-js .reveal-chip {
	transform: translateY(16px) scale(0.96);
	filter: blur(5px);
}

body.has-js.is-ready .reveal {
	opacity: 1;
	transform: translateY(0) scale(1);
	filter: blur(0);
}

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

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

ul {
	padding-left: 1.2rem;
}

.skip-link {
	position: absolute;
	left: -999px;
	top: auto;
}

.skip-link:focus {
	left: 1rem;
	top: 1rem;
	background: var(--card);
	padding: 0.5rem 1rem;
	border-radius: 999px;
}

.container {
	width: min(1100px, 90vw);
	margin: 0 auto;
	padding: 2.5rem 0;
}

.site-header .container {
	padding: 0.1rem 0;
}

.site-header {
	position: sticky;
	top: 0;
	z-index: 10;
	background: rgba(8, 8, 8, 0.95);
	backdrop-filter: blur(16px);
	border-bottom: 1px solid var(--border);
	padding: 0.15rem 0;
}

.header-grid {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem;
	padding-block: 0;
	min-height: 3rem;
}

.brand-lockup {
	line-height: 1;
}

.eyebrow {
	text-transform: uppercase;
	font-size: 0.75rem;
	letter-spacing: 0.2em;
	color: var(--accent-secondary);
	margin: 0 0 0.5rem;
}

.site-header .brand-sigil {
	display: block;
	font-family: var(--font-display);
	font-size: clamp(1.4rem, 2.6vw, 1.85rem);
	font-weight: 700;
	letter-spacing: 0.03em;
	text-transform: none;
	color: var(--accent-secondary) !important;
	margin: 0;
	line-height: 1;
}

.primary-nav ul {
	list-style: none;
	display: flex;
	gap: 0.75rem;
	margin: 0;
	padding: 0;
	font-size: 0.95rem;
	font-weight: 500;
}

.primary-nav a {
	color: var(--muted);
	padding-bottom: 0.25rem;
	border-bottom: 2px solid transparent;
}

.primary-nav a:focus,
.primary-nav a:hover,
.primary-nav a.active {
	color: var(--text);
	border-color: var(--accent);
}

.lang-switcher {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	color: var(--muted);
}

.lang-switcher strong {
	color: var(--text);
	font-weight: 700;
}

.hero {
	background: linear-gradient(90deg, rgba(8, 8, 8, 0.78) 0%, rgba(8, 8, 8, 0.4) 38%, rgba(8, 8, 8, 0.72) 100%), url('../images/angel_of_tech_bg_main.webp') center center / cover no-repeat;
	padding: 1rem 0 1.5rem;
}

.hero .container {
	padding: 1rem 0;
}

.hero-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 1.25rem;
	padding: 1.5rem 0;
	max-width: 920px;
	margin: 0 auto;
}

.hero h2 {
	font-size: clamp(2.1rem, 3.6vw, 3.5rem);
	margin: 0 0 0.9rem;
	font-family: var(--font-display);
	text-align: center;
	white-space: nowrap;
}

.hero .eyebrow {
	text-align: center;
}

.hero-subtitle {
	max-width: 40rem;
	margin: 0 auto 1.1rem;
	font-size: 1.25rem;
	line-height: 1.5;
	text-align: center;
	color: var(--muted);
}

@media (max-width: 720px) {
	.hero h2 {
		font-size: clamp(1.9rem, 7vw, 2.6rem);
		white-space: normal;
	}

	.hero-subtitle {
		font-size: 1.1rem;
	}
}

.lede {
	font-size: 1.1rem;
	color: var(--muted);
	margin-top: 0;
	margin-bottom: 0.85rem;
}

.lede p:first-child {
	margin-top: 0;
}

.tag-list-title {
	display: inline-flex;
	align-items: center;
	gap: 0.65rem;
	margin: 1.4rem 0 0.55rem;
	font-family: var(--font-display);
	font-size: 1.5rem;
	font-weight: 700;
	line-height: 1.1;
	letter-spacing: 0.03em;
	color: var(--text);
}

.tag-list-title::before {
	content: "";
	width: 2.4rem;
	height: 1px;
	background: linear-gradient(90deg, var(--accent), var(--accent-secondary));
	opacity: 0.9;
}

.tag-list {
	display: flex;
	flex-wrap: wrap;
	list-style: none;
	gap: 0.5rem;
	padding: 0;
	margin: 0;
}

.tag-list li {
	border: 1px solid rgba(255, 255, 255, 0.38);
	background: rgba(255, 255, 255, 0.16);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 8px 24px rgba(0, 0, 0, 0.18);
	backdrop-filter: blur(8px);
	border-radius: 999px;
	padding: 0.35rem 0.8rem;
	font-size: 0.85rem;
}

@media (prefers-reduced-motion: reduce) {
	.reveal,
	.reveal-chip {
		opacity: 1;
		transform: none;
		filter: none;
		transition: none;
	}
}

.btn {
	display: inline-block;
	padding: 0.85rem 1.5rem;
	border-radius: 12px;
	font-weight: 600;
}

.btn.primary {
	background: var(--accent);
	color: #1b1305;
}

.btn.ghost {
	border: 1px solid var(--border);
	color: var(--text);
	margin-left: 0.75rem;
}

.metrics {
	display: grid;
	grid-template-columns: repeat(2, minmax(120px, 1fr));
	gap: 0.75rem;
	margin: 2.8rem 0 0;
}

.metric-card {
	background: linear-gradient(145deg, #111115, #0c0c0f);
	padding: 1.25rem;
	border-radius: 20px;
	border: 1px solid var(--border);
	min-height: 120px;
}

.metric-value {
	font-size: 2rem;
	margin: 0;
	font-family: var(--font-display);
}

.metric-label {
	margin: 0.25rem 0 0;
	color: var(--muted);
}

.section {
	border-top: 1px solid var(--border);
	padding: 4rem 0;
}

.section-head h3 {
	font-size: clamp(1.8rem, 3vw, 2.5rem);
	margin: 0 0 1rem;
}

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

.card {
	background: var(--card);
	padding: 1.75rem;
	border-radius: 20px;
	border: 1px solid var(--border);
}

.card h4 {
	margin-top: 0;
	font-size: 1.2rem;
}

.card ul {
	margin: 0;
	color: var(--muted);
}

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

.project-card {
	background: var(--card);
	border-radius: 24px;
	padding: 2rem;
	border: 1px solid var(--border);
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

.project-card.featured {
	border-color: rgba(255, 138, 0, 0.5);
	box-shadow: 0 10px 30px rgba(255, 138, 0, 0.1);
}

.project-stack {
	color: var(--accent-secondary);
	font-weight: 600;
}

.project-link {
	align-self: flex-start;
	color: var(--accent);
	font-weight: 600;
}

.timeline {
	display: grid;
	gap: 1.5rem;
}

.timeline-item {
	padding: 1.5rem;
	border-radius: 16px;
	border: 1px solid var(--border);
	background: #0f0f12;
}

.timeline-item header {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: baseline;
	gap: 1rem;
}

.timeline-role {
	font-weight: 600;
	margin: 0.25rem 0 1rem;
	color: var(--muted);
}

.contact {
	background: radial-gradient(circle at top left, rgba(20, 203, 168, 0.12), rgba(8, 8, 8, 1));
}

.contact-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 2rem;
	align-items: center;
}

.contact-list {
	list-style: none;
	padding: 0;
	margin: 0 0 1rem;
	display: grid;
	gap: 1rem;
}

.contact-list li {
	display: flex;
	justify-content: space-between;
	border-bottom: 1px solid var(--border);
	padding-bottom: 0.5rem;
	font-weight: 500;
}

.contact-list span {
	color: var(--muted);
}

.site-footer {
	border-top: 1px solid var(--border);
	padding: 2rem 0;
	background: #050505;
}

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

.social-list {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	gap: 1rem;
}

.quote-box blockquote {
	margin: 0;
}

.quote-text {
	color: var(--muted);
	font-size: 1rem;
	line-height: 1.5;
	margin: 0 0 0.5rem;
}

.quote-text::before {
	content: "\201e";
}

.quote-text::after {
	content: "\201d";
}

.quote-author {
	color: var(--text);
	font-style: normal;
	font-weight: 600;
}

.footer-copy {
	color: var(--muted);
	margin: 0;
}

@media (max-width: 720px) {
	.header-grid {
		flex-direction: column;
		align-items: flex-start;
	}

	.primary-nav ul {
		flex-wrap: wrap;
	}

	.btn.ghost {
		margin-left: 0;
		margin-top: 0.75rem;
		display: inline-block;
	}
}
