:root {
	--color-bg: #111517;
	--color-surface: #f4f0e9;
	--color-accent: #00afa3;
	--color-text: #ffffff;
	--color-muted: #c3cbcc;
	--color-ink: #1a2124;
	--container-width: 1200px;
	--header-height: 96px;
	--radius-pill: 999px;
	--space-section: clamp(4rem, 7vw, 8rem);
}

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

* {
	margin: 0;
}

html {
	scroll-behavior: smooth;
}

body {
	min-height: 100vh;
	font-family: "Inter", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
	line-height: 1.6;
	color: var(--color-text);
	background-color: var(--color-bg);
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

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

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

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

h1,
h2,
h3,
h4,
h5,
h6 {
	font-family: "Playfair Display", Georgia, "Times New Roman", serif;
	font-weight: 600;
	line-height: 1.15;
	letter-spacing: 0.01em;
}

p {
	max-width: 70ch;
}

.container {
	width: min(100% - 3rem, var(--container-width));
	margin-inline: auto;
}

.site-header {
	position: fixed;
	inset: 0 0 auto;
	z-index: 120;
	height: var(--header-height);
	transition: background-color 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease, backdrop-filter 0.35s ease;
}

.site-header::before {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(4, 7, 9, 0.72), rgba(4, 7, 9, 0));
	pointer-events: none;
	transition: opacity 0.35s ease;
}

.site-header.is-scrolled,
body:not(.home) .site-header {
	background-color: rgba(7, 10, 12, 0.76);
	border-bottom: 1px solid rgba(255, 255, 255, 0.1);
	box-shadow: 0 12px 36px rgba(0, 0, 0, 0.22);
	backdrop-filter: blur(14px);
}

.site-header.is-scrolled::before,
body:not(.home) .site-header::before {
	opacity: 0;
}

.site-header__bar {
	position: relative;
	display: flex;
	align-items: center;
	gap: 1.5rem;
	height: 100%;
}

.site-branding {
	display: flex;
	align-items: center;
	flex: 0 0 auto;
}

.custom-logo-link {
	display: inline-flex;
	align-items: center;
}

.custom-logo-link img {
	width: auto;
	max-height: 42px;
}

.site-title {
	font-family: "Playfair Display", Georgia, "Times New Roman", serif;
	font-size: clamp(1.24rem, 1.65vw, 1.55rem);
	font-weight: 600;
	letter-spacing: 0.02em;
	color: var(--color-text);
}

.site-header__right {
	margin-left: auto;
	display: flex;
	align-items: center;
	gap: clamp(1.1rem, 2.4vw, 2rem);
}

.primary-nav .menu {
	display: flex;
	align-items: center;
	gap: clamp(1.05rem, 1.75vw, 1.65rem);
	list-style: none;
	padding: 0;
	margin: 0;
}

.primary-nav a {
	position: relative;
	display: inline-flex;
	align-items: center;
	font-size: 0.9rem;
	font-weight: 500;
	letter-spacing: 0.02em;
	color: #d4d9db;
	transition: color 0.25s ease, opacity 0.25s ease;
}

.primary-nav a::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: -0.45rem;
	width: 100%;
	height: 1px;
	background-color: rgba(255, 255, 255, 0.82);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 0.28s ease;
}

.primary-nav a:hover,
.primary-nav a:focus-visible {
	color: var(--color-text);
}

.primary-nav a:hover::after,
.primary-nav a:focus-visible::after,
.primary-nav .current-menu-item > a::after,
.primary-nav .current_page_item > a::after {
	transform: scaleX(1);
}

.site-header__cta .button {
	padding: 0.84rem 1.42rem;
	font-size: 0.84rem;
	box-shadow: 0 8px 24px rgba(0, 175, 163, 0.2);
}

.menu-toggle {
	display: none;
	width: 46px;
	height: 46px;
	padding: 0;
	align-items: center;
	justify-content: center;
	flex-direction: column;
	gap: 5px;
	border-radius: 999px;
	border: 1px solid rgba(255, 255, 255, 0.32);
	background-color: rgba(10, 14, 16, 0.28);
	color: var(--color-text);
	cursor: pointer;
	transition: border-color 0.25s ease, background-color 0.25s ease;
}

.menu-toggle:hover,
.menu-toggle:focus-visible {
	border-color: rgba(255, 255, 255, 0.64);
	background-color: rgba(10, 14, 16, 0.45);
}

.menu-toggle__line {
	display: block;
	width: 18px;
	height: 1.5px;
	background-color: currentColor;
	transition: transform 0.25s ease, opacity 0.25s ease;
}

.site-header__mobile-panel {
	display: none;
}

.hero {
	position: relative;
	display: flex;
	align-items: center;
	min-height: 100svh;
	padding: calc(var(--header-height) + clamp(3rem, 8vh, 5rem)) 0 clamp(3.5rem, 7vh, 6rem);
	overflow: clip;
	isolation: isolate;
	background-image: url("https://images.unsplash.com/photo-1505691938895-1758d7feb511?auto=format&fit=crop&w=2200&q=80");
	background-position: center center;
	background-size: cover;
}

.hero__overlay {
	position: absolute;
	inset: 0;
	background:
		linear-gradient(112deg, rgba(4, 8, 10, 0.92), rgba(5, 9, 11, 0.7) 52%, rgba(6, 10, 12, 0.62)),
		radial-gradient(circle at 78% 22%, rgba(0, 175, 163, 0.24), transparent 44%),
		linear-gradient(180deg, rgba(0, 0, 0, 0.14), rgba(0, 0, 0, 0.45));
}

.hero__inner {
	position: relative;
	z-index: 1;
	width: min(100% - clamp(3rem, 8vw, 8rem), 1160px);
	margin-inline: auto;
	display: flex;
	align-items: center;
	min-height: calc(100svh - var(--header-height));
}

.hero__content {
	max-width: 640px;
	text-align: left;
}

.hero__eyebrow {
	display: inline-block;
	margin-bottom: 1.1rem;
	font-size: 0.82rem;
	font-weight: 500;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: #c7ced0;
}

.hero__headline {
	margin-bottom: 1.5rem;
	font-size: clamp(2.7rem, 6.2vw, 5.4rem);
	line-height: 1.12;
	letter-spacing: -0.015em;
	max-width: 13ch;
	text-wrap: balance;
}

.hero__subheading {
	margin-bottom: 2.75rem;
	font-size: clamp(1.05rem, 1.6vw, 1.28rem);
	line-height: 1.75;
	color: #b0b7bc;
	max-width: 600px;
	text-wrap: pretty;
}

.hero__actions {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 0.95rem;
}

.button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 1rem 1.9rem;
	border-radius: var(--radius-pill);
	font-size: 0.95rem;
	font-weight: 600;
	letter-spacing: 0.02em;
	border: 1px solid transparent;
	line-height: 1;
	transition: transform 0.3s ease, background-color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease, color 0.3s ease;
}

.button--accent {
	background-color: var(--color-accent);
	color: var(--color-ink);
	box-shadow: 0 10px 28px rgba(0, 175, 163, 0.24);
}

.button--accent:hover,
.button--accent:focus-visible {
	background-color: #11c4b8;
	transform: translateY(-2px);
	box-shadow: 0 14px 34px rgba(0, 175, 163, 0.34);
}

.button--ghost {
	border-color: rgba(255, 255, 255, 0.52);
	color: var(--color-text);
	background: rgba(12, 16, 18, 0.08);
	backdrop-filter: blur(1.5px);
}

.button--ghost:hover,
.button--ghost:focus-visible {
	border-color: rgba(255, 255, 255, 0.72);
	background: rgba(255, 255, 255, 0.12);
	transform: translateY(-2px);
}

.site-main {
	background-color: var(--color-surface);
	color: var(--color-ink);
}

.site-main .hero {
	color: var(--color-text);
}

.site-footer {
	padding: 1.4rem 0;
	background-color: #0c1012;
	color: #abb7ba;
}

.site-footer p {
	font-size: 0.88rem;
}

@media (max-width: 1024px) {
	:root {
		--header-height: 88px;
	}

	.primary-nav--desktop,
	.site-header__cta {
		display: none;
	}

	.menu-toggle {
		display: inline-flex;
	}

	.site-header.is-menu-open {
		background-color: rgba(7, 10, 12, 0.9);
		border-bottom: 1px solid rgba(255, 255, 255, 0.1);
		box-shadow: 0 12px 36px rgba(0, 0, 0, 0.26);
		backdrop-filter: blur(14px);
	}

	.site-header.is-menu-open::before {
		opacity: 0;
	}

	.site-header.is-menu-open .menu-toggle__line:nth-child(2) {
		transform: translateY(6.5px) rotate(45deg);
	}

	.site-header.is-menu-open .menu-toggle__line:nth-child(3) {
		opacity: 0;
	}

	.site-header.is-menu-open .menu-toggle__line:nth-child(4) {
		transform: translateY(-6.5px) rotate(-45deg);
	}

	.site-header.is-menu-open .site-header__mobile-panel {
		display: block;
	}

	.site-header__mobile-panel {
		position: fixed;
		top: var(--header-height);
		left: 0;
		right: 0;
		padding: 0;
		background: rgba(7, 10, 12, 0.94);
		border-top: 1px solid rgba(255, 255, 255, 0.08);
		border-bottom: 1px solid rgba(255, 255, 255, 0.1);
		backdrop-filter: blur(16px);
	}

	.site-header__mobile-inner {
		display: flex;
		flex-direction: column;
		gap: 1.3rem;
		padding-block: 1.45rem 1.7rem;
	}

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

	.menu--mobile a {
		display: block;
		padding: 0.52rem 0;
		font-size: 1.02rem;
		color: #e2e7e8;
	}

	.menu--mobile a::after {
		display: none;
	}

	.site-header__mobile-inner .button {
		width: 100%;
	}

	body.nav-open {
		overflow: hidden;
	}
}

@media (max-width: 768px) {
	:root {
		--header-height: 82px;
	}

	.container {
		width: min(100% - 2rem, var(--container-width));
	}

	.site-title {
		font-size: clamp(1.08rem, 6vw, 1.36rem);
	}

	.custom-logo-link img {
		max-height: 36px;
	}

	.hero {
		padding-top: calc(var(--header-height) + 2.65rem);
		padding-bottom: 3rem;
	}

	.hero__inner {
		width: min(100% - 2rem, 1160px);
		min-height: calc(100svh - var(--header-height));
	}

	.hero__headline {
		font-size: clamp(2rem, 9vw, 3.15rem);
		line-height: 1.16;
		margin-bottom: 1.15rem;
	}

	.hero__subheading {
		font-size: 1.02rem;
		line-height: 1.68;
		margin-bottom: 2rem;
	}

	.hero__actions {
		width: 100%;
		flex-direction: column;
		align-items: stretch;
		gap: 0.8rem;
	}

	.hero__actions .button {
		width: 100%;
	}
}
