/* ---------- Fonts ---------- */
@font-face {
	font-family: 'EuropeC';
	src: url('../fonts/EuropeC-Bold.otf') format('opentype');
	font-weight: 700;
	font-style: normal;
	font-display: swap;
}

/* ---------- Design tokens ---------- */
:root {
	--color-navy: #0e1f3c;
	--color-white: #fdfdff;
	--color-dark: #1e1e1e;
	--color-text: #494c50;
	--color-text-muted: #596473;
	--color-cream: #f0efeb;
	--color-stroke: #b3b3af;
	--color-blue-accent: #1f4b9a;
	--color-blue-link: #3e87be;

	--font-heading: 'EuropeC', 'Oswald', 'Arial Narrow', 'Helvetica Neue', sans-serif;
	--font-body: 'Inter', 'Helvetica Neue', Arial, sans-serif;

	--container-px: 16px;
	--section-py: 64px;
}

@media (min-width: 1024px) {
	:root {
		--container-px: 46px;
		--section-py: 110px;
	}
}

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

html {
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
	scroll-padding-top: 72px;
}

@media (min-width: 1024px) {
	html {
		scroll-padding-top: 106px;
	}
}

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

body {
	margin: 0;
	background: var(--color-white);
	color: var(--color-dark);
	font-family: var(--font-body);
	font-size: 16px;
	line-height: 1.3;
	letter-spacing: -0.35px;
	-webkit-font-smoothing: antialiased;
}

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

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

ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

p {
	margin: 0;
}

button {
	font: inherit;
	cursor: pointer;
}

input,
textarea,
select {
	font: inherit;
}

/* ---------- Layout ---------- */
.container {
	width: 100%;
	max-width: 1440px;
	margin-inline: auto;
	padding-inline: var(--container-px);
}

.section {
	padding-block: var(--section-py);
}

/* ---------- Typography ---------- */
.h1,
.h2,
.h3,
.h4 {
	font-family: var(--font-heading);
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: -0.35px;
	line-height: 1.05;
	margin: 0;
	color: var(--color-navy);
}

.h1 {
	font-size: 36px;
}

.h2 {
	font-size: 30px;
}

.h3 {
	font-size: 22px;
}

.h4 {
	font-size: 18px;
}

@media (min-width: 768px) {
	.h1 {
		font-size: 40px;
	}

	.h2 {
		font-size: 36px;
	}
}

@media (min-width: 1024px) {
	.h1 {
		font-size: 45px;
	}

	.h2 {
		font-size: 42px;
	}

	.h3 {
		font-size: 32px;
	}

	.h4 {
		font-size: 24px;
	}
}

.text-l {
	font-size: 18px;
}

@media (min-width: 1024px) {
	.text-l {
		font-size: 20px;
	}
}

.eyebrow {
	font-family: var(--font-body);
	font-size: 10px;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	color: var(--color-text);
	opacity: 0.7;
}

/* ---------- Buttons ---------- */
.btn {
	display: inline-flex;
	align-items: stretch;
	justify-content: center;
	height: 44px;
	border: 1px solid var(--color-navy);
	background: var(--color-white);
	color: var(--color-dark);
	overflow: hidden;
	white-space: nowrap;
	transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.btn:hover {
	background: var(--color-navy);
	color: var(--color-white);
}

.btn__label {
	display: flex;
	align-items: center;
	padding-inline: 20px;
	font-size: 15px;
}

@media (min-width: 768px) {
	.btn__label {
		font-size: 16px;
	}
}

.btn__icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	border-left: 0.8px solid currentColor;
	color: inherit;
}

/* Color scheme: transparent bg, white border/text (keeps the label+icon structure). */
.btn--outline {
	background: transparent;
	border: 0.8px solid var(--color-white);
	color: var(--color-white);
}

.btn--outline:hover {
	background: var(--color-white);
	color: var(--color-navy);
}

/* Structural modifier for the icon-less variant (e.g. "Call or Text: …"). */
.btn--plain {
	padding-inline: 24px;
	align-items: center;
}

.btn--plain .btn__label {
	padding-inline: 0;
}

.btn--dark {
	background: var(--color-navy);
	border-color: var(--color-navy);
	color: var(--color-white);
}

.btn--dark .btn__icon {
	color: var(--color-white);
}

.btn--dark:hover {
	background: var(--color-blue-accent);
	border-color: var(--color-blue-accent);
	color: var(--color-white);
}

.btn--blue {
	background: var(--color-blue-link);
	border-color: var(--color-dark);
	color: var(--color-dark);
}

.btn--blue:hover {
	background: var(--color-navy);
	border-color: var(--color-navy);
	color: var(--color-white);
}

.icon-arrow {
	display: block;
}

/* ---------- Skip link / accessibility ---------- */
.skip-link {
	position: absolute;
	left: -9999px;
	top: 0;
	background: var(--color-navy);
	color: var(--color-white);
	padding: 10px 16px;
	z-index: 1000;
}

.skip-link:focus {
	left: 10px;
	top: 10px;
}

.screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px);
}

body.no-scroll {
	overflow: hidden;
}

/* ---------- Generic fallback content (blog, pages, 404) ---------- */
.generic-content {
	padding-block: 64px;
	display: flex;
	flex-direction: column;
	gap: 40px;
}

.generic-content--centered {
	align-items: center;
	text-align: center;
	gap: 16px;
}

.generic-content__item {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.generic-content__body,
.generic-content__excerpt {
	color: var(--color-text);
	font-size: 16px;
	line-height: 1.6;
}

.generic-content__body p,
.generic-content__excerpt p {
	margin-bottom: 16px;
}

.generic-content a:hover {
	text-decoration: underline;
}
