:root {
	--bg: #070a12;
	--bg-soft: #0c1220;
	--panel: rgba(17, 24, 39, 0.78);
	--panel-strong: rgba(22, 30, 46, 0.94);
	--line: rgba(148, 163, 184, 0.2);
	--text: #edf2f7;
	--muted: #9aa8ba;
	--muted-strong: #c7d2e0;
	--teal: #2dd4bf;
	--blue: #60a5fa;
	--amber: #fbbf24;
	--rose: #fb7185;
	--shadow: 0 24px 80px rgba(0, 0, 0, 0.42);
	--radius: 8px;
	--max-width: 1180px;
	--header-height: 76px;
	font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	color: var(--text);
	background: var(--bg);
	scroll-behavior: smooth;
}

* {
	box-sizing: border-box;
}

body {
	margin: 0;
	min-width: 320px;
	background:
		radial-gradient(circle at 18% 12%, rgba(45, 212, 191, 0.12), transparent 30%),
		radial-gradient(circle at 82% 8%, rgba(96, 165, 250, 0.12), transparent 28%),
		linear-gradient(180deg, #070a12 0%, #0b1020 42%, #080b14 100%);
	color: var(--text);
	line-height: 1.6;
	overflow-x: hidden;
}

body.nav-open {
	overflow: hidden;
}

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

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

button,
input,
textarea {
	font: inherit;
}

.sr-only {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.site-shell {
	position: relative;
	isolation: isolate;
}

.site-header {
	position: fixed;
	top: 0;
	left: 50%;
	z-index: 20;
	display: grid;
	grid-template-columns: auto 1fr auto;
	align-items: center;
	gap: 1.25rem;
	width: min(calc(100% - 32px), var(--max-width));
	min-height: var(--header-height);
	margin-top: 14px;
	padding: 0.75rem 0.95rem;
	border: 1px solid rgba(148, 163, 184, 0.18);
	border-radius: var(--radius);
	background: rgba(7, 10, 18, 0.62);
	backdrop-filter: blur(18px);
	transform: translateX(-50%);
	transition: border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.site-header.is-elevated {
	border-color: rgba(45, 212, 191, 0.28);
	background: rgba(7, 10, 18, 0.88);
	box-shadow: 0 18px 48px rgba(0, 0, 0, 0.28);
}

.brand {
	display: inline-flex;
	align-items: center;
	gap: 0.75rem;
	min-width: max-content;
}

.brand-mark {
	display: grid;
	width: 42px;
	height: 42px;
	place-items: center;
	border: 1px solid rgba(45, 212, 191, 0.45);
	border-radius: var(--radius);
	background: linear-gradient(135deg, rgba(45, 212, 191, 0.18), rgba(96, 165, 250, 0.18));
	color: var(--teal);
	font-weight: 800;
}

.brand strong,
.brand small {
	display: block;
	line-height: 1.1;
}

.brand small {
	margin-top: 0.22rem;
	color: var(--muted);
	font-size: 0.75rem;
}

.site-nav {
	display: flex;
	justify-content: center;
	gap: clamp(0.7rem, 2vw, 1.45rem);
	color: var(--muted-strong);
	font-size: 0.94rem;
}

.site-nav a {
	position: relative;
	padding: 0.45rem 0;
}

.site-nav a::after {
	position: absolute;
	right: 0;
	bottom: 0.1rem;
	left: 0;
	height: 2px;
	background: linear-gradient(90deg, var(--teal), var(--blue));
	content: "";
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 180ms ease;
}

.site-nav a:hover::after,
.site-nav a.active::after {
	transform: scaleX(1);
}

.resume-link,
.button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.55rem;
	min-height: 44px;
	padding: 0.75rem 1rem;
	border: 1px solid rgba(148, 163, 184, 0.22);
	border-radius: var(--radius);
	color: var(--text);
	font-weight: 700;
	transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, color 180ms ease;
}

.resume-link {
	background: rgba(255, 255, 255, 0.04);
	font-size: 0.92rem;
}

.button.primary {
	border-color: transparent;
	background: linear-gradient(135deg, var(--teal), var(--blue));
	color: #03111d;
	box-shadow: 0 14px 35px rgba(45, 212, 191, 0.22);
}

.button.ghost {
	background: rgba(255, 255, 255, 0.05);
}

.button:hover,
.resume-link:hover {
	border-color: rgba(45, 212, 191, 0.54);
	transform: translateY(-2px);
}

.nav-toggle {
	display: none;
	width: 44px;
	height: 44px;
	border: 1px solid rgba(148, 163, 184, 0.25);
	border-radius: var(--radius);
	background: rgba(255, 255, 255, 0.05);
	color: var(--text);
}

.section-pad {
	width: min(calc(100% - 32px), var(--max-width));
	margin: 0 auto;
	padding: 7rem 0;
}

.hero {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 1.12fr) minmax(320px, 0.68fr);
	align-items: center;
	gap: clamp(2rem, 6vw, 5rem);
	min-height: 100vh;
	padding-top: 9rem;
}

.hero-bg {
	position: absolute;
	inset: 0;
	z-index: -1;
	overflow: hidden;
	border-radius: var(--radius);
	pointer-events: none;
}

.grid-plane {
	position: absolute;
	inset: 8% -10% auto;
	height: 58%;
	background-image:
		linear-gradient(rgba(148, 163, 184, 0.08) 1px, transparent 1px),
		linear-gradient(90deg, rgba(148, 163, 184, 0.08) 1px, transparent 1px);
	background-size: 42px 42px;
	mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.8), transparent);
	transform: perspective(560px) rotateX(58deg);
}

.signal {
	position: absolute;
	width: 260px;
	height: 260px;
	border: 1px solid rgba(45, 212, 191, 0.28);
	border-radius: 999px;
	animation: orbit 14s linear infinite;
}

.signal-one {
	top: 18%;
	right: 28%;
}

.signal-two {
	right: 5%;
	bottom: 10%;
	border-color: rgba(251, 191, 36, 0.28);
	animation-duration: 19s;
	animation-direction: reverse;
}

.eyebrow {
	margin: 0 0 1rem;
	color: var(--teal);
	font-size: 0.78rem;
	font-weight: 800;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

h1,
h2,
h3,
p {
	margin-top: 0;
}

h1 {
	max-width: 820px;
	margin-bottom: 1.35rem;
	font-size: clamp(2.65rem, 7vw, 6.25rem);
	line-height: 0.96;
	letter-spacing: 0;
}

h2 {
	margin-bottom: 1rem;
	font-size: clamp(2rem, 4vw, 3.65rem);
	line-height: 1.02;
	letter-spacing: 0;
}

h3 {
	margin-bottom: 0.65rem;
	font-size: 1.15rem;
	line-height: 1.2;
}

.hero-copy,
.copy-stack p,
.contact-panel p,
.timeline-item p,
.project-card p {
	color: var(--muted-strong);
}

.hero-copy {
	max-width: 710px;
	font-size: clamp(1rem, 2vw, 1.22rem);
}

.hero-actions,
.social-row,
.project-links {
	display: flex;
	flex-wrap: wrap;
	gap: 0.8rem;
}

.quick-stats {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 0.8rem;
	margin-top: 2.2rem;
}

.quick-stats div {
	min-height: 102px;
	padding: 1rem;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: rgba(255, 255, 255, 0.045);
}

.quick-stats strong,
.quick-stats span {
	display: block;
}

.quick-stats strong {
	margin-bottom: 0.35rem;
	color: var(--text);
	font-size: 1.28rem;
}

.quick-stats span {
	color: var(--muted);
	font-size: 0.88rem;
	line-height: 1.35;
}

.hero-panel {
	display: grid;
	gap: 1rem;
}

.portrait-wrap {
	position: relative;
	overflow: hidden;
	aspect-ratio: 4 / 5;
	border: 1px solid rgba(148, 163, 184, 0.24);
	border-radius: var(--radius);
	background: linear-gradient(145deg, rgba(45, 212, 191, 0.18), rgba(251, 113, 133, 0.12));
	box-shadow: var(--shadow);
}

.portrait-wrap::after {
	position: absolute;
	inset: auto 0 0;
	height: 38%;
	background: linear-gradient(180deg, transparent, rgba(7, 10, 18, 0.84));
	content: "";
}

.portrait-wrap img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.status-card,
.terminal-card,
.skill-card,
.project-card,
.timeline-item,
.contact-panel {
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: var(--panel);
	box-shadow: 0 20px 55px rgba(0, 0, 0, 0.18);
	backdrop-filter: blur(18px);
}

.status-card {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	padding: 1rem;
}

.status-card strong,
.status-card span {
	display: block;
}

.status-card span:not(.pulse) {
	color: var(--muted);
	font-size: 0.9rem;
	line-height: 1.35;
}

.pulse {
	position: relative;
	width: 13px;
	height: 13px;
	border-radius: 50%;
	background: var(--teal);
	box-shadow: 0 0 0 rgba(45, 212, 191, 0.7);
	animation: pulse 1.8s infinite;
	flex: 0 0 auto;
}

.terminal-card {
	overflow: hidden;
}

.terminal-bar {
	display: flex;
	gap: 0.45rem;
	padding: 0.85rem;
	border-bottom: 1px solid var(--line);
	background: rgba(255, 255, 255, 0.035);
}

.terminal-bar span {
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: var(--rose);
}

.terminal-bar span:nth-child(2) {
	background: var(--amber);
}

.terminal-bar span:nth-child(3) {
	background: var(--teal);
}

pre {
	margin: 0;
	padding: 1rem;
	overflow-x: auto;
	color: #b8f7ec;
	font-size: 0.92rem;
	line-height: 1.55;
}

.two-column {
	display: grid;
	grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1fr);
	gap: clamp(2rem, 6vw, 5rem);
	border-top: 1px solid var(--line);
}

.section-heading {
	max-width: 760px;
}

.section-heading.center {
	margin-right: auto;
	margin-left: auto;
	text-align: center;
}

.copy-stack p {
	margin-bottom: 1.1rem;
	font-size: 1.05rem;
}

.skill-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1rem;
	margin-top: 2.1rem;
}

.skill-card {
	padding: 1.25rem;
}

.skill-card i {
	display: grid;
	width: 48px;
	height: 48px;
	margin-bottom: 1rem;
	place-items: center;
	border-radius: var(--radius);
	background: rgba(45, 212, 191, 0.12);
	color: var(--teal);
}

.skill-card:nth-child(2) i {
	background: rgba(96, 165, 250, 0.12);
	color: var(--blue);
}

.skill-card:nth-child(3) i {
	background: rgba(251, 191, 36, 0.12);
	color: var(--amber);
}

.chip-row {
	display: flex;
	flex-wrap: wrap;
	gap: 0.55rem;
}

.chip-row span,
.project-meta span {
	display: inline-flex;
	align-items: center;
	min-height: 32px;
	padding: 0.35rem 0.65rem;
	border: 1px solid rgba(148, 163, 184, 0.2);
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.04);
	color: var(--muted-strong);
	font-size: 0.82rem;
}

.projects-section {
	border-top: 1px solid var(--line);
}

.project-controls {
	display: flex;
	flex-wrap: wrap;
	gap: 0.65rem;
	margin: 1.75rem 0 1.25rem;
}

.filter-button {
	min-height: 40px;
	padding: 0.52rem 0.88rem;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: rgba(255, 255, 255, 0.045);
	color: var(--muted-strong);
	cursor: pointer;
	transition: border-color 180ms ease, background 180ms ease, color 180ms ease, transform 180ms ease;
}

.filter-button:hover,
.filter-button.active {
	border-color: rgba(45, 212, 191, 0.52);
	background: rgba(45, 212, 191, 0.1);
	color: var(--text);
	transform: translateY(-1px);
}

.project-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1rem;
}

.project-card {
	overflow: hidden;
	transform-style: preserve-3d;
	transition: opacity 200ms ease, transform 200ms ease, border-color 180ms ease;
}

.project-card.is-hidden {
	display: none;
}

.project-card:hover {
	border-color: rgba(45, 212, 191, 0.38);
}

.project-image {
	display: block;
	overflow: hidden;
	aspect-ratio: 16 / 9;
	background: #111827;
}

.project-visual {
	position: relative;
	display: grid;
	place-items: center;
	gap: 0.85rem;
	padding: 1.25rem;
	color: var(--text);
	text-align: center;
}

.project-visual::before {
	position: absolute;
	inset: 0;
	background-image:
		linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
	background-size: 28px 28px;
	content: "";
	mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.75), transparent);
}

.project-visual i,
.project-visual span {
	position: relative;
	z-index: 1;
}

.project-visual i {
	display: grid;
	width: 66px;
	height: 66px;
	place-items: center;
	border: 1px solid rgba(255, 255, 255, 0.2);
	border-radius: var(--radius);
	background: rgba(7, 10, 18, 0.4);
	font-size: 1.55rem;
}

.project-visual span {
	font-size: 1.45rem;
	font-weight: 900;
}

.dungeon-visual {
	background:
		radial-gradient(circle at 20% 20%, rgba(251, 191, 36, 0.24), transparent 32%),
		linear-gradient(135deg, rgba(251, 113, 133, 0.3), rgba(17, 24, 39, 0.95));
}

.gigflow-visual {
	background:
		radial-gradient(circle at 80% 20%, rgba(45, 212, 191, 0.22), transparent 30%),
		linear-gradient(135deg, rgba(96, 165, 250, 0.28), rgba(17, 24, 39, 0.95));
}

.project-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 420ms ease, filter 420ms ease;
}

.project-card:hover .project-image img {
	filter: saturate(1.15);
	transform: scale(1.04);
}

.project-body {
	padding: 1.15rem;
}

.project-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 0.45rem;
	margin-bottom: 0.9rem;
}

.project-links a {
	display: inline-flex;
	align-items: center;
	gap: 0.48rem;
	color: var(--teal);
	font-weight: 800;
	transition: color 180ms ease, transform 180ms ease;
}

.project-links a:hover {
	color: var(--blue);
	transform: translateX(3px);
}

.timeline-section {
	border-top: 1px solid var(--line);
}

.timeline {
	position: relative;
	display: grid;
	gap: 1.25rem;
	max-width: 980px;
	margin: 3rem auto 0;
	--timeline-progress: 0%;
}

.timeline::before,
.timeline::after {
	position: absolute;
	top: 0.25rem;
	bottom: 0.25rem;
	left: 50%;
	width: 2px;
	content: "";
	transform: translateX(-50%);
}

.timeline::before {
	background: rgba(148, 163, 184, 0.18);
}

.timeline::after {
	height: var(--timeline-progress);
	max-height: calc(100% - 0.5rem);
	background: linear-gradient(180deg, var(--teal), var(--blue), var(--amber));
	box-shadow: 0 0 28px rgba(45, 212, 191, 0.26);
	transition: height 120ms linear;
}

.timeline-item {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: 4.5rem;
	align-items: start;
	padding: 0.25rem 0;
	border: 0;
	background: transparent;
	box-shadow: none;
	backdrop-filter: none;
}

.timeline-item::before {
	position: absolute;
	top: 1.2rem;
	left: 50%;
	width: 66px;
	height: 30px;
	border: 1px solid rgba(148, 163, 184, 0.22);
	border-radius: 999px;
	background: rgba(7, 10, 18, 0.9);
	color: var(--muted-strong);
	content: attr(data-year);
	display: grid;
	place-items: center;
	font-size: 0.8rem;
	font-weight: 900;
	transform: translateX(-50%);
	z-index: 2;
	transition: border-color 180ms ease, color 180ms ease, background 180ms ease;
}

.timeline-dot {
	position: absolute;
	top: 4.45rem;
	left: 50%;
	z-index: 3;
	display: block;
	width: 14px;
	height: 14px;
	border-radius: 50%;
	background: var(--teal);
	box-shadow: 0 0 22px rgba(45, 212, 191, 0.65);
	transform: translateX(-50%);
	transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.timeline-content {
	position: relative;
	grid-column: 1;
	padding: 1.35rem;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: var(--panel);
	box-shadow: 0 20px 55px rgba(0, 0, 0, 0.18);
	backdrop-filter: blur(18px);
	transition: border-color 180ms ease, transform 180ms ease, background 180ms ease;
}

.timeline-content::after {
	position: absolute;
	top: 3.72rem;
	right: -4.5rem;
	width: 4.5rem;
	height: 1px;
	background: rgba(148, 163, 184, 0.22);
	content: "";
}

.timeline-item:nth-child(even) .timeline-content {
	grid-column: 2;
}

.timeline-item:nth-child(even) .timeline-content::after {
	right: auto;
	left: -4.5rem;
}

.timeline-item:nth-child(2n) .timeline-dot {
	background: var(--blue);
	box-shadow: 0 0 22px rgba(96, 165, 250, 0.65);
}

.timeline-item:nth-child(3n) .timeline-dot {
	background: var(--amber);
	box-shadow: 0 0 22px rgba(251, 191, 36, 0.58);
}

.timeline-item.is-active::before,
.timeline-item:hover::before {
	border-color: rgba(45, 212, 191, 0.6);
	background: rgba(45, 212, 191, 0.12);
	color: var(--text);
}

.timeline-item.is-active .timeline-dot,
.timeline-item:hover .timeline-dot {
	transform: translateX(-50%) scale(1.3);
	box-shadow: 0 0 0 8px rgba(45, 212, 191, 0.1), 0 0 28px rgba(45, 212, 191, 0.72);
}

.timeline-item.is-active .timeline-content,
.timeline-item:hover .timeline-content {
	border-color: rgba(45, 212, 191, 0.36);
	background: rgba(22, 30, 46, 0.88);
	transform: translateY(-3px);
}

.timeline-kicker {
	margin-bottom: 0.45rem;
	color: var(--teal);
	font-size: 0.75rem;
	font-weight: 900;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.timeline-meta {
	margin-bottom: 0.75rem;
	color: var(--muted);
	font-size: 0.88rem;
	font-weight: 800;
	line-height: 1.4;
}

.timeline-points {
	display: grid;
	gap: 0.5rem;
	margin: 1rem 0 0;
	padding: 0;
	list-style: none;
	color: var(--muted-strong);
}

.timeline-points li {
	position: relative;
	padding-left: 1.1rem;
}

.timeline-points li::before {
	position: absolute;
	top: 0.72em;
	left: 0;
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var(--teal);
	content: "";
	transform: translateY(-50%);
}

.contact-section {
	padding-bottom: 4rem;
}

.contact-panel {
	display: grid;
	grid-template-columns: minmax(0, 0.8fr) minmax(320px, 0.72fr);
	gap: clamp(1.5rem, 5vw, 4rem);
	padding: clamp(1.25rem, 4vw, 3rem);
	background:
		linear-gradient(135deg, rgba(45, 212, 191, 0.1), transparent 42%),
		var(--panel-strong);
}

.social-row {
	margin-top: 1.35rem;
}

.social-row a {
	display: grid;
	width: 46px;
	height: 46px;
	place-items: center;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: rgba(255, 255, 255, 0.05);
	color: var(--muted-strong);
	transition: transform 180ms ease, color 180ms ease, border-color 180ms ease;
}

.social-row a:hover {
	border-color: rgba(45, 212, 191, 0.52);
	color: var(--teal);
	transform: translateY(-2px);
}

.contact-form {
	display: grid;
	gap: 0.85rem;
}

.contact-form label {
	display: grid;
	gap: 0.4rem;
	color: var(--muted-strong);
	font-size: 0.9rem;
	font-weight: 700;
}

.contact-form input,
.contact-form textarea {
	width: 100%;
	border: 1px solid rgba(148, 163, 184, 0.24);
	border-radius: var(--radius);
	background: rgba(7, 10, 18, 0.76);
	color: var(--text);
	outline: none;
	padding: 0.85rem 0.9rem;
	resize: vertical;
	transition: border-color 160ms ease, box-shadow 160ms ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
	border-color: rgba(45, 212, 191, 0.74);
	box-shadow: 0 0 0 4px rgba(45, 212, 191, 0.1);
}

.contact-form button {
	width: max-content;
	cursor: pointer;
}

.site-footer {
	display: flex;
	justify-content: space-between;
	gap: 1rem;
	width: min(calc(100% - 32px), var(--max-width));
	margin: 0 auto;
	padding: 1.5rem 0 2.5rem;
	border-top: 1px solid var(--line);
	color: var(--muted);
	font-size: 0.92rem;
}

.site-footer p {
	margin-bottom: 0;
}

.site-footer a {
	color: var(--teal);
	font-weight: 800;
}

.reveal {
	opacity: 0;
	transform: translateY(18px);
	transition: opacity 620ms ease, transform 620ms ease;
}

.reveal.visible {
	opacity: 1;
	transform: translateY(0);
}

@keyframes pulse {
	0% {
		box-shadow: 0 0 0 0 rgba(45, 212, 191, 0.6);
	}

	70% {
		box-shadow: 0 0 0 12px rgba(45, 212, 191, 0);
	}

	100% {
		box-shadow: 0 0 0 0 rgba(45, 212, 191, 0);
	}
}

@keyframes orbit {
	from {
		transform: rotate(0deg) translateX(16px) rotate(0deg);
	}

	to {
		transform: rotate(360deg) translateX(16px) rotate(-360deg);
	}
}

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

	.reveal {
		opacity: 1;
		transform: none;
	}
}

@media (max-width: 980px) {
	.site-header {
		grid-template-columns: auto auto auto;
	}

	.nav-toggle {
		display: grid;
		place-items: center;
		justify-self: end;
	}

	.site-nav {
		position: fixed;
		top: calc(var(--header-height) + 24px);
		right: 16px;
		left: 16px;
		display: none;
		flex-direction: column;
		padding: 1rem;
		border: 1px solid var(--line);
		border-radius: var(--radius);
		background: rgba(7, 10, 18, 0.96);
		box-shadow: var(--shadow);
	}

	body.nav-open .site-nav {
		display: flex;
	}

	.resume-link {
		justify-self: end;
	}

	.hero,
	.two-column,
	.contact-panel {
		grid-template-columns: 1fr;
	}

	.hero {
		padding-top: 8.25rem;
	}

	.hero-panel {
		max-width: 520px;
	}

	.skill-grid {
		grid-template-columns: 1fr;
	}

	.timeline {
		max-width: 720px;
	}

	.timeline::before,
	.timeline::after {
		left: 18px;
		transform: none;
	}

	.timeline-item {
		grid-template-columns: 1fr;
		gap: 0;
		padding-left: 3.25rem;
	}

	.timeline-item::before {
		left: 0;
		width: 52px;
		height: 26px;
		font-size: 0.72rem;
		transform: none;
	}

	.timeline-dot {
		left: 12px;
		top: 4.2rem;
		transform: none;
	}

	.timeline-item.is-active .timeline-dot,
	.timeline-item:hover .timeline-dot {
		transform: scale(1.25);
	}

	.timeline-content,
	.timeline-item:nth-child(even) .timeline-content {
		grid-column: 1;
	}

	.timeline-content::after,
	.timeline-item:nth-child(even) .timeline-content::after {
		right: auto;
		left: -2.2rem;
		width: 2.2rem;
	}
}

@media (max-width: 720px) {
	:root {
		--header-height: 68px;
	}

	.site-header {
		width: min(calc(100% - 20px), var(--max-width));
		margin-top: 10px;
		padding: 0.6rem;
		gap: 0.5rem;
	}

	.brand small,
	.resume-link {
		display: none;
	}

	.section-pad {
		width: min(calc(100% - 24px), var(--max-width));
		padding: 4.6rem 0;
	}

	.hero {
		min-height: auto;
		padding-top: 7.5rem;
	}

	h1 {
		font-size: clamp(2.45rem, 16vw, 4.4rem);
	}

	.quick-stats,
	.project-grid {
		grid-template-columns: 1fr;
	}

	.timeline {
		margin-top: 2.3rem;
	}

	.timeline-item {
		padding-left: 2.65rem;
	}

	.timeline-item::before {
		position: relative;
		top: 0;
		left: auto;
		margin-bottom: 0.8rem;
	}

	.timeline-dot {
		top: 3.2rem;
		left: 12px;
	}

	.timeline-content {
		padding: 1.05rem;
	}

	.quick-stats div {
		min-height: auto;
	}

	.contact-form button {
		width: 100%;
	}

	.site-footer {
		flex-direction: column;
	}
}
