/* ============================================
   stockenberger.dev — Dark Mode Default
   ============================================ */

/* --- Reset --- */

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

ol,
ul {
	list-style: none;
}

img {
	max-width: 100%;
	height: auto;
}

/* --- Custom Properties --- */

:root {
	--bg: #0a0a0f;
	--surface: rgba(255, 255, 255, 0.04);
	--text: #e4e4e7;
	--text-muted: #8b8b99;
	--accent: #4E9A9D;
	--radius: 16px;
	--font-body: 'Inter', system-ui, -apple-system, sans-serif;
	--font-display: var(--font-body);
}

/* --- Base --- */

html {
	font-size: 16px;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

body {
	font-family: var(--font-body);
	background: linear-gradient(-45deg, #0a0a0f, #0d1b2a, #0a0a0f, #0a111a);
	background-size: 400% 400%;
	animation: gradientDrift 16s ease infinite;
	color: var(--text);
	overflow: hidden;
	position: relative;
}

body::before {
	content: '';
	position: fixed;
	inset: 0;
	background-image:
		linear-gradient(rgba(78, 154, 157, 0.05) 1px, transparent 1px),
		linear-gradient(90deg, rgba(78, 154, 157, 0.05) 1px, transparent 1px);
	background-size: 40px 40px;
	pointer-events: none;
	z-index: 0;
	animation: gridPulse 8s ease-in-out infinite;
	mask-image: radial-gradient(circle at center, black 0%, transparent 80%);
	-webkit-mask-image: radial-gradient(circle at center, black 0%, transparent 80%);
}

@keyframes gradientDrift {
	0% {
		background-position: 0% 50%;
	}

	50% {
		background-position: 100% 50%;
	}

	100% {
		background-position: 0% 50%;
	}
}

@keyframes gridPulse {
	0% {
		opacity: 0.3;
	}

	50% {
		opacity: 0.8;
	}

	100% {
		opacity: 0.3;
	}
}

/* --- Layout --- */

main {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	min-height: 100vh;
	min-height: 100dvh;
	padding: 2rem;
	text-align: center;
	position: relative;
	z-index: 1;
}

/* --- Typography --- */

.intro {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.2rem;
	font-family: var(--font-display);
	font-weight: 800;
	font-size: clamp(3rem, 8vw, 6rem);
	line-height: 1.1;
	letter-spacing: -0.01em;
	margin-bottom: 0.8rem;
	animation: fadeUp 0.8s ease-out both;
}

.greeting {
	font-family: var(--font-display);
	font-weight: 500;
	font-size: clamp(1rem, 2.5vw, 1.6rem);
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--text-muted);
}

.accent {
	color: var(--accent);
}

.tagline {
	font-size: clamp(0.8rem, 1.4vw, 1rem);
	font-weight: 400;
	color: var(--text-muted);
	letter-spacing: 0.04em;
	margin-bottom: 2rem;
	animation: fadeUp 0.8s 0.15s ease-out both;
}

/* --- Social Links --- */

.social {
	display: flex;
	gap: 1.25rem;
	animation: fadeUp 0.8s 0.3s ease-out both;
}

.social a {
	display: grid;
	place-items: center;
	width: 68px;
	height: 68px;
	border-radius: var(--radius);
	background: var(--surface);
	color: var(--text-muted);
	text-decoration: none;
	transition: all 0.25s ease;
	border: 1px solid rgba(255, 255, 255, 0.06);
}

.social a svg {
	width: 30px;
	height: 30px;
	transition: transform 0.25s ease;
}

.social a:hover {
	color: var(--text);
	background: rgba(255, 255, 255, 0.08);
	border-color: rgba(255, 255, 255, 0.18);
	transform: translateY(-1px);
}

.social a:hover svg {
	transform: scale(1.1);
}

.social a:active {
	transform: translateY(-1px);
}

/* --- Venture Callout --- */

.venture {
	display: inline-flex;
	align-items: center;
	gap: 0.75rem;
	margin-top: 2.2rem;
	padding: 0.5rem 1.4rem 0.5rem 0.5rem;
	border-radius: 999px;
	background: var(--surface);
	border: 1px solid rgba(255, 255, 255, 0.06);
	text-decoration: none;
	transition: all 0.25s ease;
	animation: fadeUp 0.8s 0.45s ease-out both;
}

.venture__logo {
	width: 36px;
	height: 36px;
	border-radius: 50%;
	flex-shrink: 0;
	filter: grayscale(1) brightness(0.7);
	opacity: 0.55;
	transition: filter 0.25s ease, opacity 0.25s ease;
}

.venture:hover .venture__logo {
	filter: grayscale(0) brightness(1);
	opacity: 1;
}

.venture__text {
	display: flex;
	align-items: center;
	gap: 0.5rem;
}

.venture__label {
	font-size: 0.8rem;
	font-weight: 500;
	color: var(--text-muted);
	transition: color 0.25s ease;
}

.venture__arrow {
	display: inline-block;
	color: var(--text-muted);
	transition: transform 0.25s ease, color 0.25s ease;
}

.venture:hover {
	background: rgba(255, 255, 255, 0.06);
	border-color: rgba(255, 255, 255, 0.15);
	transform: translateY(-1px);
}

.venture:hover .venture__label {
	color: var(--text);
}

.venture:hover .venture__arrow {
	color: var(--accent);
	transform: translateX(4px);
}

/* --- Animations --- */

@keyframes fadeUp {
	from {
		opacity: 0;
		transform: translateY(18px);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}

/* --- Responsive --- */

@media (max-width: 480px) {
	.social a {
		width: 52px;
		height: 52px;
	}

	.social a svg {
		width: 22px;
		height: 22px;
	}
}