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

@font-face {
	font-family: 'DM Sans';
	font-style: normal;
	font-weight: 400 700;
	font-display: swap;
	src: url('/assets/fonts/dm-sans-latin.woff2') format('woff2');
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
	font-family: 'Syne';
	font-style: normal;
	font-weight: 400 700;
	font-display: swap;
	src: url('/assets/fonts/syne-latin.woff2') format('woff2');
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
	margin: 0;
	padding: 0;
	border: 0;
	font: inherit;
	vertical-align: baseline;
}

/* Tokens */
:root {
	--font-body: 'DM Sans', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
	--font-heading: 'Syne', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
	--bg: #0a0f1e;
	--accent: #00e676;
	--cyan: #00c8ff;
	--purple: #9b5de5;
	--muted: #98a0b3;
	--white: #ffffff;
	--max-width: 1100px;
	--alt-bg: #0d1535;
	--skills-bg: #0b1a30;
	--contact-bg: #091228;
}

/* Base */
html {
	height: 100%;
	scroll-behavior: smooth;
}

body {
	min-height: 100%;
	background: var(--bg);
	color: var(--white);
	font-family: var(--font-body, system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif);
	line-height: 1.5;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	font-family: var(--font-heading);
}

main {
	flex: 1;
}

section {
	min-height: 100vh;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	padding: 6rem 0;
}

.container {
	max-width: var(--max-width);
	margin: 0 auto;
	padding: 0 1rem;
}

/* Loading overlay */
.site-loader {
	position: fixed;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	background: var(--bg);
	z-index: 9999;
	transition: opacity .4s ease, visibility .4s ease;
}

.site-loader.hidden {
	opacity: 0;
	visibility: hidden;
}

.loader-dot {
	width: 10px;
	height: 10px;
	background: var(--accent);
	border-radius: 50%;
	animation: loader .9s infinite ease-in-out;
}

@keyframes loader {

	0%,
	80%,
	100% {
		transform: scale(.2);
		opacity: .7;
	}

	40% {
		transform: scale(1);
		opacity: 1;
	}
}

/* Page shell */
#page {
	min-height: 100vh;
	display: flex;
	flex-direction: column;
}

/* Navigation */
.site-nav {
	position: fixed;
	inset: 0 0 auto;
	background: transparent;
	z-index: 999;
	transition: box-shadow .18s ease, background .18s ease;
}

.site-nav.scrolled {
	background: linear-gradient(180deg, rgba(10, 15, 30, .72), rgba(10, 15, 30, .84));
	backdrop-filter: blur(16px);
	-webkit-backdrop-filter: blur(16px);
	box-shadow: 0 1px 0 rgba(255, 255, 255, .06), 0 8px 28px rgba(0, 0, 0, .4);
}

.nav-inner {
	max-width: var(--max-width);
	margin: 0 auto;
	padding: .75rem 1rem;
	display: flex;
	align-items: center;
	justify-content: space-between;
}

/* subtle nav polish */
.site-nav {
	padding: 0.35rem 0;
}

.logo-mark {
	box-shadow: 0 6px 18px rgba(0, 0, 0, .35);
	padding: .5rem .65rem
}

.logo {
	color: var(--white);
	font-weight: 700;
	text-decoration: none;
}

.logo-mark {
	display: inline-block;
	padding: .25rem .5rem;
	border-radius: 6px;
	background: linear-gradient(135deg, var(--accent), var(--cyan));
	color: #051015;
	font-weight: 700;
}

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

.nav-links a {
	color: var(--white);
	opacity: .95;
	text-decoration: none;
	padding: .25rem .5rem;
	position: relative;
	overflow: visible;
}

.nav-links a:hover {
	color: var(--accent);
}

/* underline slide effect */
.nav-links a::after {
	content: '';
	position: absolute;
	left: 0;
	bottom: -2px;
	height: 2px;
	background: var(--accent);
	width: 100%;
	transform: scaleX(0);
	transform-origin: var(--underline-origin, left);
	transition: transform .24s ease
}

.nav-links a:hover::after {
	transform: scaleX(1)
}

.hamburger {
	display: none;
	background: transparent;
	border: 0;
	padding: .25rem;
	cursor: pointer;
}

.hamburger .bar {
	display: block;
	width: 22px;
	height: 2px;
	background: var(--white);
	margin: 4px 0;
	border-radius: 2px;
	transition: transform .25s ease, opacity .2s ease, background .2s ease;
}

.hamburger.open .bar {
	background: var(--accent);
}

.hamburger.open .bar:nth-child(1) {
	transform: translateY(6px) rotate(45deg);
}

.hamburger.open .bar:nth-child(2) {
	opacity: 0;
	transform: scaleX(0);
}

.hamburger.open .bar:nth-child(3) {
	transform: translateY(-6px) rotate(-45deg);
}

.mobile-menu {
	display: none;
	overflow: hidden;
	background: rgba(10, 15, 30, .98);
	border-top: 1px solid rgba(255, 255, 255, .06);
}

.mobile-menu ul {
	list-style: none;
	margin: 0;
	padding: 1rem;
	display: flex;
	flex-direction: column;
	gap: .5rem;
}

.mobile-menu a {
	color: var(--white);
	text-decoration: none;
	padding: .5rem 0;
	display: block;
}

/* Sections */
.hero {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 100vh;
	padding: 6rem 0;
	text-align: center;
}

.hero-title {
	font-size: clamp(2.4rem, 6vw, 4.5rem);
	margin: 0;
	font-weight: 800
}

.hero-sub {
	color: var(--muted);
	margin-top: 1rem;
	max-width: 60ch;
	text-wrap: balance;
}

.hero-descriptor {
	color: var(--muted);
	margin-top: .75rem;
	max-width: 52ch;
	font-size: 1rem;
	opacity: .75;
	line-height: 1.7;
	text-wrap: balance;
}

.scroll-down {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	margin-top: 2rem;
	width: 56px;
	height: 56px;
	border-radius: 999px;
	background: transparent;
	color: var(--accent);
	text-decoration: none;
	transition: transform .2s ease
}

.scroll-down .arrow {
	display: inline-block;
	font-size: 26px;
	animation: bounce 1.6s infinite
}

@keyframes bounce {

	0%,
	100% {
		transform: translateY(0)
	}

	50% {
		transform: translateY(6px)
	}
}

.about p {
	color: var(--muted);
	max-width: 65ch;
	margin-bottom: 1.25rem
}

.about h3 {
	margin-top: 1rem;
	margin-bottom: .5rem;
	color: var(--white)
}

.hobbies {
	margin-top: .25rem;
}

.hobbies li {
	background: transparent;
	border: 1px solid rgba(255, 255, 255, .06);
	padding: .35rem .6rem;
	border-radius: 999px;
	color: var(--white);
}

.skills-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
	gap: 1rem;
	margin-top: 1.25rem
}

.skill-card {
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.01));
	padding: 1.1rem;
	border-radius: 12px;
	display: flex;
	align-items: center;
	gap: .6rem;
	transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
	border: 1px solid rgba(255, 255, 255, .04)
}

.skill-emoji {
	font-size: 1.4rem
}

.skill-name {
	font-weight: 600
}

.skill-card:hover {
	transform: translateY(-8px);
	box-shadow: 0 18px 40px rgba(29, 185, 84, .12);
	border-color: rgba(29, 185, 84, .6)
}

/* hero layout */
.hero-inner {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 2rem;
	padding: 0;
	position: relative;
	z-index: 1
}

.hero-left {
	max-width: 720px
}

/* Hero polish */
.hero {
	position: relative;
	overflow: hidden;
	background: linear-gradient(180deg, #0a0f1e 0%, #060a14 100%);
}

.hero-title {
	font-size: clamp(2.4rem, 6vw, 5rem);
	letter-spacing: -0.02em
}

.hero-sub {
	color: var(--muted);
	opacity: .9;
	margin-top: 1rem;
	font-size: 1.05rem
}

.hero .hero-links {
	margin-top: 1.25rem
}

.hero-left .social-link svg {
	filter: drop-shadow(0 6px 12px rgba(0, 0, 0, .45));
}

.social-link {
	color: var(--white);
	display: inline-flex;
	opacity: .8;
	transition: opacity .2s ease, transform .2s ease, color .2s ease
}

.social-link:hover {
	opacity: 1;
	color: var(--accent);
	transform: translateY(-3px)
}

/* alternating section backgrounds */
.section--dark {
	background: var(--bg)
}

.section--alt {
	background: var(--alt-bg);
	position: relative;
	overflow: hidden
}

.section--alt::before {
	content: '';
	position: absolute;
	top: -15%;
	right: -10%;
	width: 70%;
	height: 110%;
	background: radial-gradient(ellipse, rgba(65, 105, 255, .14) 0%, transparent 65%);
	pointer-events: none;
	z-index: 0
}

.section--alt::after {
	content: '';
	position: absolute;
	bottom: -20%;
	left: -8%;
	width: 65%;
	height: 100%;
	background: radial-gradient(ellipse, rgba(255, 124, 42, .12) 0%, transparent 65%);
	pointer-events: none;
	z-index: 0
}

.section--skills {
	background: var(--skills-bg);
	position: relative;
	overflow: hidden
}

.section--skills::before {
	content: '';
	position: absolute;
	top: -10%;
	left: -10%;
	width: 65%;
	height: 105%;
	background: radial-gradient(ellipse, rgba(12, 180, 245, .13) 0%, transparent 65%);
	pointer-events: none;
	z-index: 0
}

.section--skills::after {
	content: '';
	position: absolute;
	bottom: -15%;
	right: -8%;
	width: 70%;
	height: 110%;
	background: radial-gradient(ellipse, rgba(233, 30, 140, .12) 0%, transparent 65%);
	pointer-events: none;
	z-index: 0
}

.section--contact {
	background: var(--contact-bg);
	position: relative;
	overflow: hidden
}

.section--contact::before {
	content: '';
	position: absolute;
	top: -20%;
	left: 50%;
	transform: translateX(-50%);
	width: 85%;
	height: 120%;
	background: radial-gradient(ellipse, rgba(0, 230, 118, .13) 0%, transparent 60%);
	pointer-events: none;
	z-index: 0
}

.section--contact::after {
	content: '';
	position: absolute;
	bottom: -15%;
	right: -10%;
	width: 60%;
	height: 90%;
	background: radial-gradient(ellipse, rgba(0, 200, 255, .11) 0%, transparent 65%);
	pointer-events: none;
	z-index: 0
}

.section--alt .container,
.section--skills .container,
.section--contact .container {
	position: relative;
	z-index: 1
}

/* about */
.about-heading {
	color: var(--accent);
	margin-bottom: 1.25rem
}

.about-rows {
	display: flex;
	flex-direction: column;
	gap: 2.5rem
}

.about-row {
	display: flex;
	align-items: center;
	gap: 2rem
}

.about-img {
	width: 220px;
	height: 220px;
	border-radius: 50%;
	object-fit: cover;
	flex: 0 0 220px;
	border: 6px solid rgba(3, 7, 18, 1);
	box-shadow: 0 10px 30px rgba(2, 6, 14, .6), inset 0 -6px 0 rgba(255, 255, 255, .02);
}

.about-text {
	flex: 1
}

.about-text>p {
	margin: 0;
	color: var(--muted);
	line-height: 1.8
}

/* about text 'card' */
.about-text {
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.01), rgba(255, 255, 255, 0.005));
	padding: 1.6rem;
	border-radius: 14px;
	border: 1px solid rgba(255, 255, 255, .03)
}

.about-row+.about-row {
	margin-top: .6rem
}

/* skills section fills its full-height section */
.skills {
	align-items: stretch
}

.skills .container {
	display: flex;
	flex-direction: column;
	justify-content: center;
	flex: 1;
	padding-top: 6rem;
	padding-bottom: 6rem
}

/* skills grid: floating cards */
.skills-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	grid-template-rows: 1fr 1fr;
	gap: 1.5rem;
	margin-top: 2rem;
	flex: 1;
	min-height: 0;
	perspective: 1200px
}

.skill-card {
	background: linear-gradient(135deg, rgba(255, 255, 255, 0.07) 0%, rgba(255, 255, 255, 0.02) 100%);
	backdrop-filter: blur(16px);
	-webkit-backdrop-filter: blur(16px);
	padding: 2.2rem 1.5rem;
	border-radius: 20px;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 1.1rem;
	border: 1px solid rgba(255, 255, 255, 0.1);
	box-shadow: 0 4px 24px rgba(0, 0, 0, .35), inset 0 1px 0 rgba(255, 255, 255, .08);
	position: relative;
	overflow: hidden;
	transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
	animation: float 6s ease-in-out infinite;
	transform-style: preserve-3d
}

.skill-card::after {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(105deg, transparent 40%, rgba(255, 255, 255, .08) 50%, transparent 60%);
	transform: translateX(-100%);
	transition: transform .55s ease;
	pointer-events: none
}

.skill-card:hover::after {
	transform: translateX(120%)
}

.skill-card:nth-child(odd) {
	animation-duration: 5.5s
}

.skill-card:nth-child(even) {
	animation-duration: 6.2s
}

.skill-card {
	--delay: calc(var(--i) * 0.12s);
	animation-delay: var(--delay)
}

.skill-emoji {
	width: 72px;
	height: 72px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	background: radial-gradient(circle at center, var(--cg, rgba(0, 230, 118, .25)) 0%, transparent 72%);
	border: 1px solid rgba(255, 255, 255, .08);
	font-size: 2.4rem;
	transition: transform .3s cubic-bezier(.34, 1.56, .64, 1), filter .3s ease;
	flex-shrink: 0
}

.skill-card:hover .skill-emoji {
	transform: scale(1.2);
	filter: drop-shadow(0 0 14px var(--ca, rgba(0, 230, 118, .9)))
}

.skill-name {
	font-weight: 700;
	font-size: 1.05rem;
	letter-spacing: .01em
}

.skill-desc {
	font-size: .78rem;
	color: var(--muted);
	text-align: center;
	line-height: 1.4;
	max-width: 120px;
	text-wrap: balance;
}

@keyframes float {
	0% {
		transform: translateY(0)
	}

	50% {
		transform: translateY(-7px)
	}

	100% {
		transform: translateY(0)
	}
}

@keyframes card-breathe {

	0%,
	100% {
		box-shadow: 0 4px 24px rgba(0, 0, 0, .35), inset 0 1px 0 rgba(255, 255, 255, .08)
	}

	50% {
		box-shadow: 0 4px 24px rgba(0, 0, 0, .35), 0 0 28px var(--cg, rgba(0, 230, 118, .12)), inset 0 1px 0 rgba(255, 255, 255, .08)
	}
}

@keyframes skill-ripple {
	from {
		transform: scale(0);
		opacity: .5
	}

	to {
		transform: scale(6);
		opacity: 0
	}
}

.skill-ripple {
	position: absolute;
	width: 40px;
	height: 40px;
	margin: -20px 0 0 -20px;
	border-radius: 50%;
	border: 1.5px solid var(--ca, rgba(0, 230, 118, .8));
	pointer-events: none;
	animation: skill-ripple 1.4s cubic-bezier(.2, 0, .4, 1) forwards
}

/* contact */
.contact-inner {
	text-align: center
}

.contact-sub {
	color: var(--muted);
	max-width: 48ch;
	margin: .75rem auto 1.5rem;
	line-height: 1.75;
	font-size: 1rem;
	text-wrap: balance;
}

.contact-actions {
	display: flex;
	gap: 1rem;
	justify-content: center;
	margin-top: 1rem;
	max-width: 480px;
	margin-left: auto;
	margin-right: auto
}

.contact-actions .btn {
	flex: 1;
	text-align: center
}

.btn {
	display: inline-block;
	padding: .85rem 1.1rem;
	border-radius: 999px;
	text-decoration: none;
	font-weight: 700;
	transition: transform .2s ease, box-shadow .2s ease
}

.btn-primary {
	background: linear-gradient(90deg, var(--accent), rgba(29, 185, 84, .9));
	color: var(--bg)
}

.btn-primary:hover {
	transform: translateY(-6px);
	box-shadow: 0 22px 48px rgba(29, 185, 84, .16)
}

.btn-ghost {
	background: transparent;
	color: var(--white);
	border: 1px solid rgba(255, 255, 255, .06)
}

.btn-ghost:hover {
	transform: translateY(-6px);
	box-shadow: 0 18px 40px rgba(255, 255, 255, .04)
}

.back-to-top {
	display: inline-block;
	margin-top: 2rem;
	color: var(--accent);
	text-decoration: none;
	font-size: 20px
}

/* nav underline */
.nav-links a {
	position: relative
}

.nav-links a::after {
	content: '';
	position: absolute;
	left: 0;
	bottom: -4px;
	height: 3px;
	background: var(--accent);
	width: 100%;
	transform: scaleX(0);
	transform-origin: var(--underline-origin, left);
	transition: transform .24s ease
}

.nav-links a:hover::after {
	transform: scaleX(1)
}

/* header and footer tweaks */
.site-footer {
	border-top: 1px solid rgba(255, 255, 255, .06);
	padding: 2rem 0;
	text-align: center
}

/* targeted transitions (avoid expensive global transitions) */
.btn,
.skill-card,
.nav-links a,
.site-nav,
.site-footer a,
.mobile-menu a {
	transition: transform .2s ease, box-shadow .2s ease, color .18s ease
}

@media (prefers-reduced-motion: reduce) {

	.btn,
	.skill-card,
	.nav-links a {
		transition: none !important;
		animation: none !important
	}
}

/* Footer */
.site-footer {
	border-top: 1px solid rgba(255, 255, 255, .06);
	padding: 2rem 0;
	margin-top: auto;
	text-align: center
}

.site-footer .footer-inner {
	max-width: var(--max-width);
	margin: 0 auto;
	padding: 0 1rem
}

.site-footer a {
	color: var(--white);
	opacity: .95;
	text-decoration: none;
	transition: color .18s ease, transform .18s ease
}

.site-footer a:hover {
	color: var(--accent);
	transform: translateY(-2px)
}

html {
	scroll-behavior: smooth
}

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

.hero {
	display: flex;
	align-items: center;
	min-height: 100vh
}

.hero h1 {
	font-size: clamp(1.8rem, 4vw, 3.4rem);
	margin: 0
}

.tagline {
	color: #444;
	margin: .75rem 0 1.25rem
}

.scroll-down {
	display: inline-flex;
	text-decoration: none;
	color: inherit
}

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

.hobbies li {
	background: rgba(255, 255, 255, 0.02);
	padding: .4rem .75rem;
	border-radius: 999px;
	border: 1px solid rgba(255, 255, 255, .04);
	color: var(--white)
}

/* About rows layout (canonical — see vibrant overrides below for final values) */
.about-rows {
	display: flex;
	flex-direction: column;
	gap: 2rem
}

.about-row {
	display: flex;
	align-items: center;
	gap: 2.5rem
}

.about-img {
	width: 210px;
	height: 210px;
	border-radius: 50%;
	object-fit: cover;
	flex: 0 0 210px
}

.about-text p {
	margin: 0;
	color: var(--muted);
	line-height: 1.8
}

.tags {
	display: flex;
	flex-wrap: wrap;
	gap: .5rem
}

.tag {
	background: #111;
	color: #fff;
	padding: .35rem .6rem;
	border-radius: 999px;
	font-size: .95rem
}

.muted {
	color: #666
}

@media (max-width:600px) {
	.hero {
		min-height: 100vh;
		padding-top: 3.5rem
	}
}

/* ── Vibrant upgrade ──────────────────────────────────── */

/* Hero orb glows */
.hero::before {
	content: '';
	position: absolute;
	top: -20%;
	left: -12%;
	width: 65%;
	height: 120%;
	background: radial-gradient(ellipse, rgba(0, 230, 118, .09) 0%, transparent 65%);
	pointer-events: none;
	z-index: 0
}

.hero::after {
	content: '';
	position: absolute;
	top: -10%;
	right: -12%;
	width: 55%;
	height: 100%;
	background: radial-gradient(ellipse, rgba(155, 93, 229, .11) 0%, transparent 65%);
	pointer-events: none;
	z-index: 0
}

/* Hero title gradient text */
.hero-title {
	background: linear-gradient(130deg, #fff 15%, #a0ffd8 55%, var(--accent) 100%);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text
}

/* Letter animation — shared by hero title and section headings */
@keyframes color-spin-idle {

	0%,
	100% {
		filter: brightness(2.2) saturate(0.05)
	}

	50% {
		filter: brightness(1) saturate(1)
	}
}

.hero-title .char,
.about-heading .char,
.skills h2 .char,
.contact-inner h2 .char {
	display: inline-block;
	transition: transform .32s cubic-bezier(.34, 1.56, .64, 1);
	cursor: default;
	will-change: transform, filter;
	animation: color-spin-idle 5s linear infinite
}

.hero-title .char-sp {
	display: inline
}

@keyframes color-spin {
	from {
		filter: hue-rotate(0deg) drop-shadow(0 8px 20px rgba(0, 230, 118, .9)) brightness(1.55)
	}

	to {
		filter: hue-rotate(360deg) drop-shadow(0 8px 20px rgba(0, 230, 118, .9)) brightness(1.55)
	}
}

@keyframes color-spin-near {
	from {
		filter: hue-rotate(0deg) drop-shadow(0 4px 10px rgba(0, 230, 118, .5)) brightness(1.28)
	}

	to {
		filter: hue-rotate(360deg) drop-shadow(0 4px 10px rgba(0, 230, 118, .5)) brightness(1.28)
	}
}

@keyframes color-spin-far {
	from {
		filter: hue-rotate(0deg) brightness(1.12)
	}

	to {
		filter: hue-rotate(360deg) brightness(1.12)
	}
}

.hero-title .char[data-wave="0"],
.about-heading .char[data-wave="0"],
.skills h2 .char[data-wave="0"],
.contact-inner h2 .char[data-wave="0"] {
	transform: translateY(-14px) scale(1.2);
	animation: color-spin 1.4s linear infinite
}

.hero-title .char[data-wave="1"],
.about-heading .char[data-wave="1"],
.skills h2 .char[data-wave="1"],
.contact-inner h2 .char[data-wave="1"] {
	transform: translateY(-7px) scale(1.08);
	animation: color-spin-near 1.8s linear infinite;
	animation-delay: -.3s
}

.hero-title .char[data-wave="2"],
.about-heading .char[data-wave="2"],
.skills h2 .char[data-wave="2"],
.contact-inner h2 .char[data-wave="2"] {
	transform: translateY(-3px) scale(1.03);
	animation: color-spin-far 2.4s linear infinite;
	animation-delay: -.6s
}

/* Section heading gradients */
.about-heading {
	background: linear-gradient(90deg, var(--accent), var(--cyan));
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
	display: block;
	text-align: center;
	font-size: clamp(2rem, 4vw, 3rem);
	margin-bottom: 1.5rem
}

.skills h2,
.contact-inner h2 {
	background: linear-gradient(90deg, var(--accent), var(--cyan));
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
	display: inline-block;
	margin-bottom: 1.25rem;
	font-size: clamp(1.8rem, 3.5vw, 2.6rem)
}

/* About bio text size */
.about-text>p,
.about-text p {
	font-size: 1.06rem;
	line-height: 1.85;
	color: var(--muted);
	text-align: left;
}

/*  mobile style for this */
@media (max-width: 1024px) {
	.about-text>p,
	.about-text p {
		text-wrap: balance;
		text-align: center;
	}
}


/* About image - green glow ring */
.about-img {
	width: 210px;
	height: 210px;
	flex: 0 0 210px;
	border: 3px solid rgba(0, 230, 118, .2);
	box-shadow: 0 0 0 6px rgba(0, 230, 118, .06), 0 20px 50px rgba(0, 0, 0, .5)
}

/* About card border - more visible */
.about-text {
	border: 1px solid rgba(255, 255, 255, .08)
}

/* Hobbies subheading */
.about-sub-heading {
	font-size: .75rem;
	font-weight: 700;
	letter-spacing: .1em;
	text-transform: uppercase;
	color: var(--accent);
	margin-bottom: .75rem;
	font-family: var(--font-heading)
}

/* Hobbies chips */
.hobbies li {
	border-color: rgba(0, 230, 118, .2);
	color: rgba(255, 255, 255, .9);
	font-size: .95rem;
	padding: .4rem .85rem
}

/* Skill card per-accent colors */
.skill-card:nth-child(1) {
	--ca: #8b8ee8;
	--cg: rgba(139, 142, 232, .32)
}

.skill-card:nth-child(2) {
	--ca: #ff6840;
	--cg: rgba(255, 104, 64, .32)
}

.skill-card:nth-child(3) {
	--ca: #4169ff;
	--cg: rgba(65, 105, 255, .32)
}

.skill-card:nth-child(4) {
	--ca: #ffe033;
	--cg: rgba(255, 224, 51, .28)
}

.skill-card:nth-child(5) {
	--ca: #9b5de5;
	--cg: rgba(155, 93, 229, .32)
}

.skill-card:nth-child(6) {
	--ca: #0cb4f5;
	--cg: rgba(12, 180, 245, .32)
}

.skill-card:nth-child(7) {
	--ca: #ff7c2a;
	--cg: rgba(255, 124, 42, .32)
}

.skill-card:nth-child(8) {
	--ca: #e91e8c;
	--cg: rgba(233, 30, 140, .32)
}

/* Skill card hover - colored glow */
.skill-card:hover {
	box-shadow: 0 24px 64px var(--cg, rgba(0, 230, 118, .35)), 0 8px 24px rgba(0, 0, 0, .5), inset 0 1px 0 rgba(255, 255, 255, .12);
	border-color: var(--ca, rgba(0, 230, 118, .5))
}

/* Buttons */
.btn-primary {
	background: linear-gradient(90deg, var(--accent), var(--cyan));
	color: #051015;
	font-weight: 700
}

.btn-primary:hover {
	transform: translateY(-4px);
	box-shadow: 0 16px 40px rgba(0, 230, 118, .3)
}

.btn-ghost {
	border: 1px solid rgba(255, 255, 255, .12)
}

.btn-ghost:hover {
	border-color: rgba(255, 255, 255, .25);
	box-shadow: 0 12px 32px rgba(255, 255, 255, .06)
}

/* Scroll-down hint */
.scroll-down {
	background: rgba(0, 230, 118, .07);
	border: 1px solid rgba(0, 230, 118, .2)
}

.scroll-down:hover {
	background: rgba(0, 230, 118, .13);
	transform: translateY(3px)
}

/* ── End vibrant upgrade ───────────────────────────────── */

/* ── Page-load hero entrance ──────────────────────────────── */
@keyframes hero-char-enter {
	from {
		opacity: 0;
		transform: translateY(22px) scale(0.82);
	}

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

@keyframes hero-text-enter {
	from {
		opacity: 0;
		transform: translateY(16px);
		filter: blur(3px);
	}

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

.hero-sub,
.hero-descriptor,
.hero-links {
	opacity: 0;
}

body.loaded .hero-sub {
	animation: hero-text-enter .65s cubic-bezier(.22, 1, .36, 1) .5s both;
}

body.loaded .hero-descriptor {
	animation: hero-text-enter .65s cubic-bezier(.22, 1, .36, 1) .62s both;
}

body.loaded .hero-links {
	animation: hero-text-enter .6s cubic-bezier(.22, 1, .36, 1) .76s both;
}

/* ── End hero entrance ─────────────────────────────────────── */

/* Responsive */
@media (max-width: 1024px) {
	.nav-inner {
		padding: .6rem 1rem;
	}

	.nav-links {
		display: none;
	}

	.hamburger {
		display: block;
	}

	.mobile-menu {
		display: block;
		max-height: 0;
		opacity: 0;
		transform: translateY(-6px);
		pointer-events: none;
		transition: max-height .32s cubic-bezier(.4, 0, .2, 1),
		            opacity .24s ease,
		            transform .24s ease;
	}

	.mobile-menu.is-open {
		max-height: 280px;
		opacity: 1;
		transform: translateY(0);
		pointer-events: auto;
	}

	.mobile-menu li {
		opacity: 0;
		transform: translateX(-10px);
		transition: opacity .18s ease, transform .18s ease;
	}

	.mobile-menu.is-open li {
		opacity: 1;
		transform: translateX(0);
	}

	.mobile-menu.is-open li:nth-child(1) { transition-delay: .07s; }
	.mobile-menu.is-open li:nth-child(2) { transition-delay: .13s; }
	.mobile-menu.is-open li:nth-child(3) { transition-delay: .19s; }

	.hero {
		min-height: 100vh;
		padding-top: 3.5rem;
	}

	section {
		min-height: unset;
		padding: 3rem 0;
	}

	/* stack about rows on small screens */
	.about-row {
		flex-direction: column;
		align-items: center;
		text-align: center
	}

	.about-img {
		margin: 0 auto
	}

	.about-text {
		width: 100%
	}

	.hobbies {
		justify-content: center
	}

	.hero-title {
		font-size: 2rem
	}

	.skills-grid {
		grid-template-columns: repeat(2, 1fr)
	}

	.contact-actions {
		flex-direction: column;
		align-items: stretch
	}

	.contact-actions .btn {
		text-align: center
	}
}

.about-img--snowboard {
	width: 210px;
	height: 280px;
	flex: 0 0 210px;
	border-radius: 14px;
	object-fit: cover;
	object-position: center top;
}