/*
	Eventually by HTML5 UP
	html5up.net | @ajlkn
	Free for personal and commercial use under the CCA 3.0 license (html5up.net/license)
*/

:root {
	color-scheme: dark;
	--ink: #f4f7f6;
	--muted: rgba(239, 247, 245, 0.74);
	--quiet: rgba(239, 247, 245, 0.56);
	--accent: #54d6c1;
	--panel: rgba(4, 17, 22, 0.72);
	--line: rgba(255, 255, 255, 0.16);
}

* {
	box-sizing: border-box;
}

html {
	min-width: 320px;
	min-height: 100%;
	background: #071419;
}

body {
	min-height: 100vh;
	margin: 0;
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: clamp(2rem, 7vw, 6rem);
	overflow-x: hidden;
	background: #071419 url("../../images/bg01.webp") center / cover fixed;
	color: var(--muted);
	font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	font-size: 1rem;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
}

body::after {
	content: "";
	position: fixed;
	inset: 0;
	z-index: 1;
	pointer-events: none;
	background:
		linear-gradient(90deg, rgba(2, 10, 14, 0.91) 0%, rgba(2, 10, 14, 0.73) 48%, rgba(2, 10, 14, 0.30) 100%),
		linear-gradient(0deg, rgba(2, 10, 14, 0.45), transparent 45%);
}

body.is-preload #main,
body.is-preload #footer {
	opacity: 0;
	transform: translateY(0.75rem);
}

#main,
#footer {
	position: relative;
	z-index: 2;
	width: min(100%, 48rem);
	transition: opacity 700ms ease, transform 700ms ease;
}

.profile {
	position: relative;
	padding: clamp(2rem, 5vw, 3.75rem);
	overflow: hidden;
	border: 1px solid var(--line);
	border-left: 3px solid var(--accent);
	border-radius: 0.25rem 1rem 1rem 0.25rem;
	background: var(--panel);
	box-shadow: 0 1.75rem 5rem rgba(0, 0, 0, 0.30);
	backdrop-filter: blur(14px);
	-webkit-backdrop-filter: blur(14px);
}

.profile::before {
	content: "MM";
	position: absolute;
	right: -0.02em;
	top: -0.32em;
	color: rgba(255, 255, 255, 0.035);
	font-size: clamp(7rem, 21vw, 13rem);
	font-weight: 800;
	letter-spacing: -0.11em;
	line-height: 1;
	pointer-events: none;
}

.eyebrow {
	position: relative;
	margin: 0 0 1.1rem;
	color: var(--accent);
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.16em;
	line-height: 1.5;
	text-transform: uppercase;
}

h1 {
	position: relative;
	margin: 0 0 1.5rem;
	color: var(--ink);
	font-size: clamp(2.65rem, 8vw, 5.35rem);
	font-weight: 720;
	letter-spacing: -0.055em;
	line-height: 0.98;
	text-wrap: balance;
}

p {
	margin: 0;
}

.intro {
	position: relative;
	max-width: 39rem;
	color: var(--ink);
	font-size: clamp(1.15rem, 2.2vw, 1.45rem);
	line-height: 1.55;
}

.supporting {
	position: relative;
	max-width: 35rem;
	margin-top: 1rem;
	color: var(--muted);
	font-size: 1rem;
}

.rule {
	width: 4rem;
	height: 1px;
	margin: 2rem 0 1.25rem;
	background: linear-gradient(90deg, var(--accent), transparent);
}

.contact-note {
	max-width: 34rem;
	color: var(--quiet);
	font-size: 0.92rem;
}

a {
	color: inherit;
	text-decoration-color: rgba(84, 214, 193, 0.65);
	text-decoration-thickness: 1px;
	text-underline-offset: 0.22em;
	transition: color 180ms ease, text-decoration-color 180ms ease;
}

a:hover {
	color: var(--accent);
	text-decoration-color: var(--accent);
}

a:focus-visible {
	outline: 2px solid var(--accent);
	outline-offset: 0.25rem;
}

#footer {
	padding: 1.35rem 0.25rem 0;
	color: rgba(239, 247, 245, 0.48);
	font-size: 0.78rem;
	letter-spacing: 0.015em;
}

#footer p {
	display: flex;
	flex-wrap: wrap;
	gap: 0.35rem;
}

.separator {
	color: rgba(84, 214, 193, 0.6);
}

#bg {
	position: fixed;
	inset: 0;
	z-index: 0;
	background: #071419;
}

#bg > div {
	position: absolute;
	inset: -2%;
	background-position: center;
	background-size: cover;
	opacity: 0;
	transform: scale(1.03);
	transition: opacity 1.8s ease;
}

#bg > div.visible {
	opacity: 1;
}

@media (max-width: 640px) {
	body {
		justify-content: flex-start;
		padding: 1.25rem;
	}

	body::after {
		background: linear-gradient(0deg, rgba(2, 10, 14, 0.94) 0%, rgba(2, 10, 14, 0.67) 72%, rgba(2, 10, 14, 0.40) 100%);
	}

	.profile {
		padding: 1.75rem 1.4rem;
		border-radius: 0.2rem 0.8rem 0.8rem 0.2rem;
	}

	.profile::before {
		top: -0.1em;
		right: -0.04em;
	}

	h1 {
		margin-bottom: 1.2rem;
	}

	#footer {
		padding: 1rem 0.2rem 0;
	}

	#footer p {
		gap: 0.2rem 0.35rem;
	}
}

@media (max-height: 700px) and (min-width: 641px) {
	body {
		justify-content: flex-start;
		padding-top: 2rem;
		padding-bottom: 2rem;
	}
}

@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		scroll-behavior: auto !important;
		transition-duration: 0.01ms !important;
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
	}
}

@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
	.profile {
		background: rgba(4, 17, 22, 0.93);
	}
}
