/* Self-hosted fonts (SEO audit, Oct 6, 2026). Latin subsets from Google Fonts: Montserrat Bold
   and the Roboto variable font (one file covers weights 400, 500 and 700). */
@font-face {
	font-family: "Montserrat";
	font-style: normal;
	font-weight: 700;
	font-display: swap;
	src: url("../fonts/montserrat-700-latin.woff2") format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
	font-family: "Roboto";
	font-style: normal;
	font-weight: 400 700;
	font-stretch: 100%;
	font-display: swap;
	src: url("../fonts/roboto-latin.woff2") format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ==========================================================================
   HeroMount base: brand tokens, reset, type, page structure.
   Values come from BUILD-SPEC.md Section 4.
   ========================================================================== */

:root {
	/* Brand colors */
	--gold: #D9B953;
	--gold-dark: #8A6D1F;
	--blue: #0A4DB3;
	--blue-hover: #083E91;
	--navy: #020519;
	--blue-tint: #EEF2FB;
	--blue-tint-hover: #E2E8F6;
	--gold-tint: #FBF6E6;
	--border: #E2E6F0;
	--white: #FFFFFF;

	/* Text */
	--text: #020519;
	--text-body: #3D4558;
	--text-muted: #5B6478;
	--text-on-navy: #D6DBEA;

	/* Type */
	--font-head: "Montserrat", "Helvetica Neue", Arial, sans-serif;
	--font-body: "Roboto", "Helvetica Neue", Arial, sans-serif;

	/* Shape and depth */
	--radius-card: 24px;
	--radius-md: 16px;
	--radius-sm: 12px;
	--radius-pill: 999px;
	--shadow-1: 0 4px 20px rgba(11, 31, 77, 0.04);
	--shadow-2: 0 8px 28px rgba(11, 31, 77, 0.08);
	--shadow-3: 0 16px 40px rgba(2, 5, 25, 0.16);

	/* Motion: starts quickly, settles softly */
	--ease-settle: cubic-bezier(0.22, 1, 0.36, 1);

	/* Layout */
	--container: 1200px;
	--gutter: 16px;
	--header-h: 56px;
	--section-pad: 56px;
}

@media (min-width: 768px) {
	:root {
		--gutter: 32px;
		--section-pad: 72px;
	}
}

@media (min-width: 1100px) {
	:root {
		--header-h: 80px;
		--section-pad: 88px;
	}
}

/* Reset ------------------------------------------------------------------ */

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

html {
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
	/* A section jumped to sits flush under the header; its own padding gives the breathing room. */
	scroll-padding-top: var(--header-h);
	scrollbar-gutter: stable;
}

html.is-locked {
	overflow: hidden;
}

/* The "hidden" attribute always wins, whatever display a class sets. */
[hidden] {
	display: none !important;
}

body {
	margin: 0;
	background: var(--white);
	color: var(--text-body);
	font-family: var(--font-body);
	font-size: 16px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

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

img,
video {
	height: auto;
}

h1,
h2,
h3,
h4,
p,
ul,
ol,
figure {
	margin: 0;
}

ul,
ol {
	padding: 0;
	list-style: none;
}

h1,
h2,
h3,
h4 {
	color: var(--text);
	font-family: var(--font-head);
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: -0.01em;
}

a {
	color: var(--blue);
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
}

a:hover {
	color: var(--blue-hover);
}

button,
input,
select,
textarea {
	font: inherit;
	color: inherit;
}

button {
	cursor: pointer;
}

:focus-visible {
	outline: 3px solid var(--blue);
	outline-offset: 3px;
	border-radius: 4px;
}

.section--navy :focus-visible {
	outline-color: var(--gold);
}

/* Helpers ---------------------------------------------------------------- */

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

.skip-link {
	position: absolute;
	top: 8px;
	left: 8px;
	z-index: 100;
	padding: 12px 20px;
	border-radius: var(--radius-pill);
	background: var(--navy);
	color: var(--white);
	font-weight: 700;
	text-decoration: none;
	transform: translateY(-200%);
}

.skip-link:focus {
	color: var(--white);
	transform: none;
}

/* Spam trap field: kept out of sight and out of the tab order. */
.hp-field {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.icon {
	flex: none;
}

/* Page structure --------------------------------------------------------- */

.container {
	width: 100%;
	max-width: calc(var(--container) + (var(--gutter) * 2));
	margin-inline: auto;
	padding-inline: var(--gutter);
}

.container--narrow {
	max-width: calc(760px + (var(--gutter) * 2));
}

.section {
	padding-block: var(--section-pad);
	background: var(--white);
}

.section--tint {
	background: var(--blue-tint);
}

.section--gold-tint {
	background: var(--gold-tint);
}

.section--navy {
	background: var(--navy);
	color: var(--text-on-navy);
}

.section--navy h1,
.section--navy h2,
.section--navy h3 {
	color: var(--white);
}

.kicker {
	margin-bottom: 8px;
	color: var(--gold-dark);
	font-family: var(--font-head);
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.2em;
	line-height: 1.4;
	text-transform: uppercase;
}

/* On light blue, the brand dark gold falls just short of AA contrast for small
   text (4.4:1), so kickers there use a slightly deeper shade (5.4:1). */
.section--tint .kicker,
.section--tint .contact__next-title {
	color: #7A5F17;
}

.kicker--on-navy,
.section--tint .kicker--on-navy {
	color: var(--gold);
}

.section__head {
	margin-bottom: 28px;
}

.section__head--center {
	text-align: center;
}

.section__head--center .section__intro {
	margin-inline: auto;
}

.section__title {
	font-size: clamp(24px, 2.2vw + 16px, 36px);
}

.section__intro {
	max-width: 640px;
	margin-top: 12px;
	font-size: 17px;
}

@media (min-width: 900px) {
	.section__head {
		margin-bottom: 40px;
	}
}

/* Plain text pages (Privacy Policy and similar) */
.prose > * + * {
	margin-top: 16px;
}

.prose h2 {
	margin-top: 32px;
	font-size: 22px;
}

.prose ul,
.prose ol {
	padding-left: 24px;
	list-style: revert;
}

/* Motion: everything stops when the visitor asks for reduced motion. ------ */

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

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