:root {
	color-scheme: light;
	--bg: #f5f7fb;
	--surface: #ffffff;
	--surface-soft: #edf3fb;
	--text: #111827;
	--muted: #56657a;
	--line: #d7e0ec;
	--accent: #2563eb;
	--accent-strong: #1e3a8a;
	--accent-soft: #dbeafe;
	--shadow: 0 18px 54px rgba(17, 24, 39, 0.1);
}

:root[data-theme="dark"] {
	color-scheme: dark;
	--bg: #07111f;
	--surface: #0f1d33;
	--surface-soft: #13243d;
	--text: #f4f8ff;
	--muted: #b4c3d8;
	--line: #29405f;
	--accent: #60a5fa;
	--accent-strong: #93c5fd;
	--accent-soft: #17345c;
	--shadow: 0 18px 54px rgba(0, 0, 0, 0.28);
}

* {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	min-width: 320px;
	background:
		radial-gradient(circle at top left, rgba(37, 99, 235, 0.13), transparent 32rem),
		linear-gradient(180deg, var(--bg), var(--surface-soft));
	color: var(--text);
	font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	font-size: 16px;
	line-height: 1.6;
	isolation: isolate;
}

.ambient-dots {
	position: fixed;
	inset: 0;
	z-index: 0;
	overflow: hidden;
	pointer-events: none;
}

.ambient-dot {
	position: absolute;
	top: var(--top);
	left: var(--left);
	width: var(--size);
	height: var(--size);
	border-radius: 50%;
	background: rgba(var(--dot-color), var(--alpha));
	box-shadow: 0 0 10px rgba(var(--dot-color), calc(var(--alpha) * 0.55));
	animation: ambient-wander var(--duration) ease-in-out var(--delay) infinite alternate;
	will-change: transform;
}

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

[hidden] {
	display: none !important;
}

a:focus-visible,
button:focus-visible {
	outline: 3px solid var(--accent);
	outline-offset: 4px;
}

::selection {
	background: var(--accent);
	color: var(--surface);
}

.site-header,
main,
.site-footer {
	position: relative;
	z-index: 1;
	width: min(1120px, calc(100% - 40px));
	margin-inline: auto;
}

.site-header {
	position: sticky;
	top: 0;
	z-index: 10;
	display: grid;
	grid-template-columns: 1fr auto auto;
	gap: 18px;
	align-items: center;
	padding: 18px 0;
	backdrop-filter: blur(14px);
}

.brand {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	width: fit-content;
	font-weight: 750;
	letter-spacing: 0;
}

.brand img {
	border-radius: 50%;
	background: var(--surface);
	box-shadow: var(--shadow);
}

.nav-links,
.footer-links {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	align-items: center;
}

.nav-links a,
.footer-links a {
	display: inline-flex;
	align-items: center;
	border: 1px solid transparent;
	border-radius: 999px;
	padding: 8px 12px;
	color: var(--muted);
	font-size: 0.92rem;
	font-weight: 650;
	transition: color 180ms ease, border-color 180ms ease, background 180ms ease, transform 180ms ease;
}

.nav-links a:hover,
.footer-links a:hover {
	transform: translateY(-1px);
	border-color: var(--line);
	background: var(--surface);
	color: var(--text);
}

.header-actions {
	display: inline-flex;
	gap: 10px;
	align-items: center;
}

.language-toggle {
	display: inline-flex;
	align-items: center;
	min-height: 42px;
	border: 1px solid var(--line);
	border-radius: 999px;
	padding: 3px;
	background: var(--surface);
	box-shadow: 0 8px 24px rgba(25, 33, 30, 0.08);
}

.language-option {
	display: inline-grid;
	place-items: center;
	min-width: 38px;
	height: 34px;
	border: 0;
	border-radius: 999px;
	background: transparent;
	color: var(--muted);
	font: inherit;
	font-size: 0.78rem;
	font-weight: 800;
	cursor: pointer;
	transition: color 180ms ease, background 180ms ease;
}

.language-option:hover,
.language-option.is-active {
	background: var(--accent);
	color: var(--surface);
}

:root[data-theme="dark"] .language-option:hover,
:root[data-theme="dark"] .language-option.is-active {
	color: #10221d;
}

.theme-toggle {
	display: inline-grid;
	place-items: center;
	width: 42px;
	height: 42px;
	border: 1px solid var(--line);
	border-radius: 50%;
	background: var(--surface);
	color: var(--text);
	cursor: pointer;
	box-shadow: 0 8px 24px rgba(25, 33, 30, 0.08);
	transition: transform 180ms ease, border-color 180ms ease;
}

.theme-toggle:hover {
	transform: translateY(-1px);
	border-color: var(--accent);
}

.theme-icon {
	display: inline-block;
}

.theme-icon.is-moon {
	transform: scaleX(-1);
}

main {
	padding: 66px 0 48px;
}

.hero {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 44px;
	align-items: center;
	min-height: 42vh;
	padding: 42px;
	border: 1px solid var(--line);
	border-radius: 8px;
	background: color-mix(in srgb, var(--surface) 88%, transparent);
	box-shadow: var(--shadow);
}

.eyebrow {
	margin: 0 0 12px;
	color: var(--accent-strong);
	font-size: 0.82rem;
	font-weight: 800;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

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

h1 {
	margin-bottom: 18px;
	font-size: clamp(2rem, 6vw, 4.55rem);
	line-height: 0.95;
	letter-spacing: 0;
}

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

h3 {
	margin-bottom: 10px;
	font-size: 1.05rem;
	line-height: 1.25;
}

.hero-profile {
	display: flex;
	gap: 18px;
	align-items: stretch;
}

.hero-marker {
	display: flex;
	flex: 0 0 46px;
	justify-content: center;
	padding-block: 8px;
}

.hero-marker::before {
	width: 2px;
	border-radius: 999px;
	background: linear-gradient(180deg, var(--accent), transparent);
	content: "";
}

.hero-profile-content {
	min-width: 0;
}

.hero-text {
	margin-bottom: 28px;
	color: var(--muted);
	font-size: clamp(1.08rem, 2.2vw, 1.35rem);
	line-height: 1.55;
}

.hero-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.email-action {
	display: inline-flex;
	gap: 8px;
	align-items: center;
}

.button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	border: 1px solid var(--line);
	border-radius: 999px;
	padding: 10px 16px;
	background: var(--surface);
	color: var(--text);
	font: inherit;
	font-size: 0.95rem;
	font-weight: 750;
	cursor: pointer;
	transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.button:hover {
	transform: translateY(-1px);
	border-color: var(--accent);
}

.button.primary {
	border-color: var(--accent);
	background: var(--accent);
	color: var(--surface);
}

.button.primary:hover {
	background: transparent;
	color: var(--accent-strong);
}

.button.linkedin-button {
	border-color: #1e3a8a;
	background: #1e3a8a;
	color: #ffffff;
}

.button.linkedin-button:hover {
	background: transparent;
	color: #1e3a8a;
}

:root[data-theme="dark"] .button.primary {
	color: #10221d;
}

:root[data-theme="dark"] .button.primary:hover {
	color: var(--accent-strong);
}

:root[data-theme="dark"] .button.linkedin-button {
	border-color: #2563eb;
	background: #2563eb;
	color: #ffffff;
}

:root[data-theme="dark"] .button.linkedin-button:hover {
	background: transparent;
	color: #93c5fd;
}

.button.ghost {
	background: transparent;
}

.icon-button {
	display: inline-grid;
	place-items: center;
	width: 44px;
	height: 44px;
	border: 1px solid var(--line);
	border-radius: 50%;
	background: var(--surface);
	color: var(--text);
	font: inherit;
	font-size: 1.15rem;
	line-height: 1;
	cursor: pointer;
	transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.icon-button:hover {
	transform: translateY(-1px);
	border-color: var(--accent);
}

.summary,
.section {
	margin-top: 28px;
	padding: 34px;
	border: 1px solid var(--line);
	border-radius: 8px;
	background: color-mix(in srgb, var(--surface) 78%, transparent);
}

.summary {
	display: flex;
	gap: 18px;
	align-items: flex-start;
}

.summary-icon {
	display: inline-grid;
	flex: 0 0 auto;
	place-items: center;
	width: 46px;
	height: 46px;
	border: 1px solid var(--line);
	border-radius: 50%;
	background: var(--surface);
	color: var(--accent);
}

.summary-icon svg {
	width: 24px;
	height: 24px;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.9;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.summary h2 {
	margin-bottom: 6px;
	font-size: 1.08rem;
	line-height: 1.25;
}

.summary p {
	margin-bottom: 0;
	color: var(--muted);
	font-size: clamp(1.02rem, 1.8vw, 1.22rem);
}

.summary-note {
	display: flex;
	gap: 10px;
	align-items: flex-start;
	margin-top: 14px;
}

.summary-note[hidden] {
	display: none;
}

.summary-note-badge {
	display: inline-flex;
	flex: 0 0 auto;
	align-items: center;
	justify-content: center;
	min-width: 32px;
	border: 1px solid var(--line);
	border-radius: 999px;
	padding: 2px 7px;
	background: var(--accent-soft);
	color: var(--accent-strong);
	font-size: 0.68rem;
	font-weight: 800;
	line-height: 1.35;
}

.summary .summary-note p {
	color: var(--muted);
	font-size: 0.92rem;
	line-height: 1.55;
}

.section-heading {
	display: flex;
	justify-content: space-between;
	gap: 24px;
	align-items: end;
	margin-bottom: 18px;
}

.focus-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 14px;
}

.card {
	min-height: 178px;
	padding: 22px;
	border: 1px solid var(--line);
	border-radius: 8px;
	background: var(--surface);
}

.card p {
	color: var(--muted);
}

.card p {
	margin-bottom: 0;
}

.stack-groups {
	display: grid;
	gap: 18px;
}

.stack-groups > div {
	display: grid;
	grid-template-columns: minmax(150px, 0.24fr) minmax(0, 1fr);
	gap: 16px;
	align-items: center;
	padding-bottom: 18px;
	border-bottom: 1px solid var(--line);
}

.stack-groups > div:last-child {
	padding-bottom: 0;
	border-bottom: 0;
}

.stack-groups h3 {
	margin-bottom: 0;
}

.chips {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.chips li {
	border: 1px solid var(--line);
	border-radius: 999px;
	padding: 7px 11px;
	background: var(--accent-soft);
	color: var(--text);
	font-size: 0.92rem;
	font-weight: 650;
}

.site-footer {
	display: flex;
	justify-content: space-between;
	gap: 24px;
	align-items: center;
	padding: 18px 0 38px;
	color: var(--muted);
}

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

.copyright {
	margin-top: 6px;
	font-size: 0.86rem;
}

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

.js .reveal {
	opacity: 0;
	transform: translateY(14px);
	transition: opacity 500ms ease, transform 500ms ease;
}

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

@keyframes ambient-wander {
	0% {
		transform: translate3d(0, 0, 0);
	}

	35% {
		transform: translate3d(var(--move-a-x), var(--move-a-y), 0);
	}

	70% {
		transform: translate3d(var(--move-b-x), var(--move-b-y), 0);
	}

	100% {
		transform: translate3d(var(--move-c-x), var(--move-c-y), 0);
	}
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	*,
	*::before,
	*::after {
		transition-duration: 0.01ms !important;
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
	}

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

	.ambient-dot {
		animation: none;
	}
}

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

	.nav-links {
		display: none;
	}

	main {
		padding-top: 36px;
	}

	.hero,
	.focus-grid {
		grid-template-columns: 1fr;
	}

	.stack-groups > div {
		grid-template-columns: 1fr;
		gap: 10px;
	}

	.hero {
		gap: 28px;
		padding: 30px;
	}

	.section-heading,
	.site-footer {
		align-items: start;
		flex-direction: column;
	}
}

@media (max-width: 560px) {
	.site-header,
	main,
	.site-footer {
		width: min(100% - 28px, 1120px);
	}

	.brand span {
		display: none;
	}

	.header-actions {
		gap: 8px;
	}

	.language-option {
		min-width: 34px;
	}

	.hero,
	.summary,
	.section {
		padding: 24px;
	}

	.summary {
		gap: 14px;
	}

	.summary-icon {
		width: 40px;
		height: 40px;
	}

	.hero {
		min-height: auto;
	}

	.hero-profile {
		gap: 14px;
	}

	.hero-marker {
		flex-basis: 40px;
	}

	.hero-actions,
	.button {
		width: 100%;
	}

	.email-action {
		width: 100%;
	}

	.email-action .button {
		flex: 1;
		width: auto;
	}

	.card {
		min-height: auto;
	}
}
