@import url("https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap");

@font-face {
	font-family: "RundTextLight";
	src: url("/fonts/rund/RundText-Light.otf");
	font-style: normal;
}

@font-face {
	font-family: "RundTextSemiBold";
	src: url("/fonts/rund/RundText-SemiBold.otf");
	font-style: normal;
}

@font-face {
	font-family: "RundTextExtraBold";
	src: url("/fonts/rund/RundText-ExtraBold.otf");
	font-style: normal;
}

:root {
	--font-family-rund-text-light: RundTextLight, sans-serif;
	--font-family-rund-text-semi-bold: RundTextSemiBold, sans-serif;
	--font-family-rund-text-extra-bold: RundTextExtraBold, sans-serif;
	--font-family-primary:
		"Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

	--max-width-header: 1400px;
	--max-width-header-narrow: 1200px;
	--max-width-main: 1100px;
	--max-width-footer: 1400px;

	/* Premium Color Palette */
	--color-dark: #0f1419;
	--color-surface: #ffffff;
	--color-surface-alt: #f8fafc;
	--color-surface-secondary: #f1f5f9;

	--color-primary: #5b63f5;
	--color-primary-light: #7b84f6;
	--color-primary-dark: #4a52d9;

	--color-accent: #00d9ff;
	--color-success: #10b981;
	--color-warning: #f59e0b;
	--color-error: #ef4444;

	--color-text-primary: #1e293b;
	--color-text-secondary: #64748b;
	--color-text-tertiary: #94a3b8;
	--color-text-light: #cbd5e1;
	--color-border: #e2e8f0;
	--color-border-subtle: #f1f5f9;

	--color-gray-100: #f9fafb;
	--color-gray-200: #f3f4f6;
	--color-gray-300: #e5e7eb;
	--color-gray-400: #d1d5db;
	--color-gray-500: #9ca3af;
	--color-gray-600: #6b7280;
	--color-gray-700: #374151;
	--color-gray-800: #1f2937;
	--color-gray-900: #111827;
	--color-white: #ffffff;

	--border-radius-sm: 6px;
	--border-radius-md: 10px;
	--border-radius-lg: 16px;
	--border-radius-xlg: 24px;

	--font-size-xs: 12px;
	--font-size-sm: 14px;
	--font-size-base: 16px;
	--font-size-lg: 18px;
	--font-size-xl: 20px;
	--font-size-2xl: 24px;
	--font-size-3xl: 32px;
	--font-size-4xl: 48px;

	/* Spacing system */
	--spacing-xs: 4px;
	--spacing-sm: 8px;
	--spacing-md: 16px;
	--spacing-lg: 24px;
	--spacing-xl: 32px;
	--spacing-2xl: 48px;
	--spacing-3xl: 64px;

	/* Shadows */
	--shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.04);
	--shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
	--shadow-lg: 0 12px 24px rgba(0, 0, 0, 0.12);
	--shadow-xl: 0 20px 40px rgba(0, 0, 0, 0.15);
	--shadow-2xl: 0 25px 50px rgba(0, 0, 0, 0.2);

	/* Line height */
	--line-height-tight: 1.25;
	--line-height-snug: 1.375;
	--line-height-normal: 1.5;
	--line-height-relaxed: 1.625;
	--line-height-loose: 2;

	/* Button tokens */
	--btn-gradient: linear-gradient(
		90deg,
		var(--color-primary) 0%,
		var(--color-accent) 100%
	);
	--btn-solid: #5b63f5;
	--btn-text: var(--color-white);
	--btn-focus-ring: rgba(91, 99, 245, 0.18);

	font-size: 16px;
}

@media (max-width: 1200px) {
	:root {
		font-size: 15px;
	}
}

@media (max-width: 1024px) {
	:root {
		font-size: 15px;
	}
}

@media (max-width: 768px) {
	:root {
		font-size: 14px;
	}
}

@media (max-width: 480px) {
	:root {
		font-size: 13px;
	}
}

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

body,
body::before,
body::after,
body *,
body *::before,
body *::after {
	animation: none !important;
	transition: none !important;
}

html {
	scroll-behavior: smooth;
}

body {
	display: flex;
	flex-direction: column;
	align-items: center;
	font-family: var(--font-family-primary);
	font-weight: 400;
	background-color: var(--color-surface);
	color: var(--color-text-primary);
	line-height: var(--line-height-normal);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
	width: 100%;
	overflow-x: hidden;
}

h1,
h2,
h3 {
	font-family: var(--font-family-primary);
	font-weight: 700;
	line-height: var(--line-height-tight);
	color: var(--color-text-primary);
	letter-spacing: -0.02em;
	margin: 0;
	padding: 0;
}

h1 {
	font-size: var(--font-size-4xl);
	font-weight: 800;
	line-height: 1.1;
	margin-bottom: var(--spacing-lg);
	background: linear-gradient(
		135deg,
		var(--color-primary) 0%,
		var(--color-accent) 100%
	);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
}

h2 {
	font-size: var(--font-size-3xl);
	font-weight: 700;
	margin-top: var(--spacing-2xl);
	margin-bottom: var(--spacing-lg);
	color: var(--color-text-primary);
}

h3 {
	font-size: var(--font-size-2xl);
	font-weight: 700;
	margin-top: var(--spacing-xl);
	margin-bottom: var(--spacing-md);
}

p {
	font-size: var(--font-size-base);
	line-height: var(--line-height-relaxed);
	margin-bottom: var(--spacing-lg);
	color: var(--color-text-secondary);
}

a {
	color: var(--color-primary);
	text-decoration: underline;
	text-decoration-thickness: 2px;
	text-underline-offset: 3px;
	font-weight: 500;
	display: inline;
}

.site-header {
	width: 100%;
	max-width: none;
	display: block;
	padding: 0.45rem var(--spacing-lg);
	border-bottom: 1px solid rgba(19, 35, 39, 0.1);
	background: rgba(255, 255, 255, 0.78);
	-webkit-backdrop-filter: blur(20px);
	backdrop-filter: blur(20px);
	box-shadow: 0 10px 40px rgba(19, 35, 39, 0.04);
	position: sticky;
	top: 0;
	z-index: 100;
}

.site-header.menu-open {
	position: relative;
	top: auto;
	z-index: auto;
}

.site-header .header-standard {
	display: block;
	font-size: 0.9rem;
}

.site-header .header-narrow {
	display: none;
}

.site-header .header-wrapper {
	display: flex;
	gap: 2rem;
	align-items: center;
	justify-content: space-between;
	padding: 0.45rem 1rem;
	max-width: 1400px;
	margin: 0 auto;
	width: 100%;
}

.site-header .header-logo-section {
	display: flex;
	align-items: center;
	justify-content: flex-start;
	flex: 0 0 auto;
}

.site-header .header-nav {
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-end;
	align-items: center;
	gap: 0.35rem;
	margin: 0;
	width: auto;
	padding: 0;
}

.site-header .header-link {
	margin: 0;
	padding: 0.48rem 0.68rem;
	color: var(--color-text-primary);
	text-decoration: none;
	font-weight: 650;
	font-size: 0.95rem;
	border-radius: 999px;
	position: relative;
}

.site-header .header-link:hover {
	color: var(--color-primary);
	background: rgba(41, 95, 214, 0.07);
}

.site-header .header-link:active {
	color: var(--color-primary);
}

.site-header .header-more {
	position: relative;
}

.site-header .header-more summary {
	list-style: none;
	cursor: pointer;
}

.site-header .header-more summary::-webkit-details-marker {
	display: none;
}

.site-header .header-more summary::after {
	content: "▾";
	margin-left: 0.35rem;
	font-size: 0.72rem;
}

.site-header .header-more-menu {
	position: absolute;
	top: calc(100% + 0.35rem);
	right: 0;
	display: grid;
	min-width: 12rem;
	padding: 0.45rem;
	border: 1px solid var(--color-border);
	border-radius: 1rem;
	background: rgba(255, 255, 255, 0.96);
	box-shadow: 0 18px 50px rgba(19, 35, 39, 0.14);
}

.site-header .header-more-menu a {
	padding: 0.62rem 0.75rem;
	border-radius: 0.75rem;
	color: var(--color-text-primary);
	font-size: 0.92rem;
	font-weight: 650;
	text-decoration: none;
	white-space: nowrap;
}

.site-header .header-more-menu a:hover {
	color: var(--color-primary);
	background: rgba(41, 95, 214, 0.07);
}

.site-header #header-nav-checkbox {
	display: none;
}

.site-header .header-narrow-nav-closed {
	display: block;
}

.site-header .header-narrow-nav-open {
	display: none;
}

.site-header #header-nav-checkbox:checked ~ .header-narrow-nav-closed {
	display: none;
}

.site-header #header-nav-checkbox:checked ~ .header-narrow-nav-open {
	display: block;
}

.site-header .header-narrow-content {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0.5rem 0.75rem;
	padding: 1rem 0 0.5rem 0;
	border-top: 1px solid var(--color-border);
	max-height: 70vh;
	overflow-y: auto;
	box-sizing: border-box;
}

.site-header .header-narrow-top {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 0.7rem 1rem;
	width: 100%;
	box-sizing: border-box;
}

.site-header .header-narrow-link {
	display: block;
	padding: 0.6rem 1rem;
	align-self: stretch;
	color: var(--color-text-primary);
	text-decoration: none;
	font-weight: 500;
	font-size: 0.95rem;
	border-radius: 8px;
	margin: 0;
	box-sizing: border-box;
	white-space: normal;
	min-height: 44px;
}

.site-header .header-narrow-link:hover {
	background-color: var(--color-surface-alt);
	color: var(--color-primary);
}

.site-header .header-bar {
	display: none;
}

.site-header .link-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	height: 2.45rem;
	min-width: 130px;
	padding: 0 1rem;
	border-radius: 999px;
	border: none;
	background: #132327;
	color: var(--btn-text, #ffffff);
	text-decoration: none;
	font-weight: 750;
	font-size: 0.95rem;
	cursor: pointer;
	box-shadow: 0 12px 30px rgba(19, 35, 39, 0.14);
	flex-shrink: 0;
	white-space: nowrap;
	letter-spacing: 0.3px;
}

.site-header .link-button:hover,
.site-header .link-button:active {
	box-shadow: 0 8px 24px rgba(91, 99, 245, 0.15);
}

.site-header.hide-nav-toggle .header-narrow-nav-closed label {
	display: none;
}

.site-header .nav-button-wrapper {
	display: flex;
	align-items: center;
	justify-content: center;
	position: relative;
	height: 40px;
	width: 40px;
	padding: 0;
	border: 0 solid transparent;
	border-radius: 8px;
	cursor: pointer;
	-webkit-tap-highlight-color: transparent;
}

.site-header .nav-button-wrapper:hover {
	background-color: var(--color-surface-alt);
}

.site-header .hamburger-button {
	position: absolute;
	left: 50%;
	transform: translateX(-50%);
	background-color: var(--color-text-primary);
	height: 2.5px;
	width: 22px;
	border-radius: 1.5px;
}

.site-header .hamburger-button-1 {
	top: 6px;
}

.site-header .hamburger-button-2 {
	top: 14px;
}

.site-header .hamburger-button-3 {
	top: 22px;
}

.site-header .cross-button {
	position: absolute;
	top: 50%;
	left: 50%;
	background-color: var(--color-text-primary);
	height: 2.5px;
	width: 22px;
	border-radius: 1.5px;
	transform-origin: center center;
}

.site-header .cross-button-1 {
	transform: translate(-50%, -50%) rotate(45deg);
}

.site-header .cross-button-2 {
	transform: translate(-50%, -50%) rotate(-45deg);
}

.site-header .home-link {
	display: flex;
	align-items: center;
	height: 2.2rem;
	width: 13.2rem;
}

.site-logo {
	display: block;
	width: 100%;
	max-width: none;
	height: 100%;
	border-radius: 0;
	background: transparent;
	position: static;
	top: auto;
	object-fit: contain;
}

@media (max-width: 1000px) {
	.site-header .header-nav {
		gap: 0.15rem;
	}

	.site-header .header-link {
		padding: 0.45rem 0.5rem;
		font-size: 0.9rem;
	}

	.site-header .link-button {
		min-width: 100px;
		padding: 0 0.8rem;
		height: 2.4rem;
		font-size: 0.9rem;
	}
}

@media (max-width: 768px) {
	.site-header .header-standard {
		display: none;
	}

	.site-header .header-narrow {
		display: block;
	}
}

.site-footer {
	width: 100%;
	max-width: var(--max-width-footer);
	display: block;
	background: linear-gradient(
		180deg,
		var(--color-surface) 0%,
		var(--color-surface-alt) 100%
	);
	border-top: 1px solid var(--color-border);
	margin-top: var(--spacing-3xl);
	padding: var(--spacing-3xl) var(--spacing-lg);
}

.site-footer-inner {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: var(--spacing-2xl);
	max-width: 1200px;
	margin: 0 auto;
	padding: var(--spacing-3xl) var(--spacing-lg);
	width: 100%;
	font-size: var(--font-size-base);
}

.site-footer-inner > div {
	display: flex;
	flex-direction: column;
	gap: var(--spacing-lg);
}

.site-footer h3 {
	font-size: var(--font-size-lg);
	font-weight: 700;
	color: var(--color-text-primary);
	margin: 0;
	line-height: var(--line-height-tight);
}

.site-footer address {
	font-style: normal;
	font-size: var(--font-size-sm);
	color: var(--color-text-secondary);
	line-height: var(--line-height-relaxed);
}

.site-footer address a {
	color: var(--color-primary);
	text-decoration: underline;
}

.site-footer .cta-section {
	display: flex;
	flex-direction: column;
	gap: var(--spacing-md);
}

.site-footer .linkedin-section {
	display: flex;
	flex-direction: column;
	gap: var(--spacing-md);
	align-items: flex-start;
}

.site-footer a.contact-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	height: 2.6rem;
	min-width: 110px;
	padding: 0 1rem;
	border: none;
	border-radius: 12px;
	background: var(
		--btn-gradient,
		linear-gradient(90deg, var(--color-primary) 0%, var(--color-accent) 100%)
	);
	color: var(--btn-text, #ffffff);
	text-decoration: none;
	text-align: center;
	font-size: 0.95rem;
	font-weight: 700;
	box-shadow: 0 12px 36px rgba(11, 22, 80, 0.12);
}

.site-footer a.contact-btn:focus {
	outline: none;
	box-shadow: 0 0 0 4px var(--btn-focus-ring);
}

.site-footer .footer-linkedin {
	display: block;
}

@media (max-width: 768px) {
	.site-footer-inner {
		grid-template-columns: 1fr;
		gap: var(--spacing-xl);
		padding: var(--spacing-2xl) var(--spacing-lg);
	}

	.site-footer .linkedin-section {
		align-items: center;
	}
}

@media (max-width: 500px) {
	.site-footer-inner {
		padding: var(--spacing-xl) var(--spacing-md);
	}

	.site-footer h3 {
		font-size: var(--font-size-base);
	}

	.site-footer address {
		font-size: var(--font-size-xs);
	}
}

@media (max-width: 1100px) {
	.site-footer,
	.site-header {
		padding-left: var(--spacing-md);
		padding-right: var(--spacing-md);
	}
}

@media (max-width: 768px) {
	h1 {
		font-size: var(--font-size-3xl);
	}

	h2 {
		font-size: var(--font-size-2xl);
	}
}

:root {
	--contact-ink: #132327;
	--contact-muted: #5b6c70;
	--contact-line: rgba(19, 35, 39, 0.12);
	--contact-soft: #eef8f1;
	--contact-mint: #aee8cf;
	--contact-blue: #295fd6;
	--contact-coral: #ff6f61;
}

body {
	background:
		radial-gradient(
			circle at 14% 10%,
			rgba(174, 232, 207, 0.58),
			transparent 27rem
		),
		radial-gradient(
			circle at 84% 26%,
			rgba(255, 111, 97, 0.12),
			transparent 24rem
		), linear-gradient(180deg, #fbf8ef 0%, #eef8f1 48%, #fbf8ef 100%);
	color: var(--contact-ink);
}

.contact-main {
	width: min(1180px, calc(100% - 2rem));
	margin: 0 auto;
	padding: clamp(4rem, 9vw, 7rem) 0;
}

.contact-kicker {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	margin-bottom: 1rem;
	color: var(--contact-blue);
	font-size: 0.92rem;
	font-weight: 900;
	letter-spacing: 0.095em;
	text-transform: uppercase;
}

.contact-kicker::before {
	content: "";
	width: 2.5rem;
	height: 2px;
	background: currentColor;
}

.contact-hero {
	display: grid;
	grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.75fr);
	gap: clamp(2rem, 5vw, 4rem);
	align-items: end;
	padding-bottom: clamp(3.5rem, 7vw, 5.5rem);
}

.contact-hero h1 {
	max-width: 10ch;
	margin: 0;
	color: var(--contact-ink);
	background: none;
	-webkit-text-fill-color: currentColor;
	font-size: clamp(3rem, 7vw, 6rem);
	line-height: 0.92;
	letter-spacing: -0.075em;
}

.contact-lead {
	margin: 0;
	color: var(--contact-muted);
	font-size: clamp(1.15rem, 2vw, 1.45rem);
	line-height: 1.55;
}

.contact-panel {
	display: grid;
	grid-template-columns: minmax(0, 1.18fr) minmax(280px, 0.82fr);
	gap: clamp(1.25rem, 4vw, 3rem);
	align-items: start;
	padding: clamp(1.4rem, 4vw, 3rem);
	border: 1px solid var(--contact-line);
	border-radius: 2rem;
	background: rgba(255, 255, 255, 0.74);
	box-shadow: 0 24px 80px rgba(19, 35, 39, 0.08);
}

.contact-form-section h2,
.contact-details h2 {
	margin: 0 0 1rem;
	color: var(--contact-ink);
	font-size: clamp(1.7rem, 3vw, 2.6rem);
	line-height: 1;
	letter-spacing: -0.055em;
}

.contact-details {
	display: grid;
	gap: 1rem;
}

.contact-detail-card {
	padding: 1.1rem;
	border: 1px solid var(--contact-line);
	border-radius: 1.25rem;
	background:
		linear-gradient(135deg, rgba(174, 232, 207, 0.22), rgba(41, 95, 214, 0.05)),
		rgba(255, 255, 255, 0.74);
}

.contact-detail-card strong {
	display: block;
	margin-bottom: 0.35rem;
	color: var(--contact-ink);
	font-size: 0.96rem;
}

.contact-detail-card a,
.contact-detail-card span {
	color: var(--contact-muted);
	font-size: 1.02rem;
	font-weight: 700;
	text-decoration: none;
}

.contact-detail-card a:hover {
	color: var(--contact-blue);
}

.contact-note {
	margin: 0;
	color: var(--contact-muted);
	font-size: 1rem;
	line-height: 1.55;
}

@media (max-width: 860px) {
	.contact-hero,
	.contact-panel {
		grid-template-columns: 1fr;
	}

	.contact-hero h1 {
		max-width: 100%;
	}
}

.contact-card {
	padding: 0;
	border: 0;
	background: transparent;
}

.contact-card form {
	width: 100%;
	margin: 0;
	display: grid;
	grid-template-columns: 1fr;
	gap: 1rem;
}

.contact-card label {
	font-size: 0.86rem;
	color: #132327;
	font-weight: 900;
	letter-spacing: 0.07em;
	text-transform: uppercase;
}

.contact-card input,
.contact-card textarea {
	width: 100%;
	padding: 0.9rem 1rem;
	border: 1px solid rgba(19, 35, 39, 0.14);
	border-radius: 1rem;
	background: rgba(255, 255, 255, 0.78);
	box-shadow: 0 10px 30px rgba(19, 35, 39, 0.04);
	font-size: 1rem;
	color: #132327;
	font-family: inherit;
}

.contact-card input::placeholder,
.contact-card textarea::placeholder {
	color: #7d8c90;
	font-weight: 400;
}

.contact-card textarea {
	min-height: 170px;
	resize: vertical;
}

.contact-card input:focus,
.contact-card textarea:focus {
	outline: none;
	border-color: #295fd6;
	box-shadow: 0 0 0 5px rgba(41, 95, 214, 0.12);
}

.contact-card button {
	justify-self: start;
	padding: 0.85rem 1.25rem;
	min-height: 2.9rem;
	border-radius: 999px;
	border: 0;
	background: linear-gradient(135deg, #295fd6, #173f96);
	color: #ffffff;
	font-weight: 900;
	font-size: 1rem;
	cursor: pointer;
	box-shadow: 0 14px 30px rgba(41, 95, 214, 0.22);
}

.contact-card button:disabled {
	opacity: 0.6;
	cursor: not-allowed;
}

.contact-card #status {
	justify-self: start;
	margin-top: 0.2rem;
	font-size: 0.9rem;
	font-weight: 700;
	min-height: 1.2rem;
}

.contact-card #status.success {
	color: #2a9f75;
}

.contact-card #status.error {
	color: #b3372e;
}

@media (max-width: 700px) {
	.contact-card button {
		width: 100%;
	}
}

.contact-alert {
	margin: auto;
	border: none;
	padding: 0;
	background: transparent;
}

.contact-alert::backdrop {
	background: transparent;
}

.contact-alert-container {
	width: min(360px, calc(100vw - 2rem));
	padding: 1.5rem;
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
	border: 1px solid #cccccc;
	border-radius: 12px;
	background: #f5f5f5;
	color: #111111;
	box-shadow: 0 12px 32px rgba(15, 22, 60, 0.18);
}

.contact-alert-title {
	margin: 0;
	color: #111111;
	font-family: var(--font-family-rund-text-semi-bold);
	font-size: 1.1rem;
}

.contact-alert-description {
	margin: 0;
	color: #111111;
	font-size: 0.95rem;
	line-height: 1.5;
}

.contact-alert-buttons {
	display: flex;
	justify-content: flex-end;
	margin-top: 0.25rem;
}

.contact-alert-confirm {
	min-width: 6.5rem;
	padding: 0.55rem 1.1rem;
	border: none;
	border-radius: 8px;
	color: #ffffff;
	background: var(--color-primary, #5b63f5);
	box-shadow: 0 8px 18px rgba(15, 22, 60, 0.2);
	font-family: var(--font-family-regular);
	font-size: 0.95rem;
	cursor: pointer;
}
