/* ==========================================================================
   AMG WEST — Front-end styles
   --------------------------------------------------------------------------
   1.  Tokens
   2.  Reset & base
   3.  Shared utilities (eyebrow, headings, text, pills)
   4.  Buttons & links
   5.  Header, navigation & mobile drawer
   6.  Heroes
   7.  Section scaffolding
   8.  Editorial image cards
   9.  Home page
   10. About page
   11. Services listing + filter bar
   12. Service detail
   13. Capabilities page
   14. Partners page
   15. Compliance page
   16. Contracts page
   17. Contact page & form
   18. Generic pages, posts, 404
   19. Footer
   20. Motion (reveal, reduced motion)
   21. Responsive
   ========================================================================== */

/* 1. Tokens
   ========================================================================== */
:root {
	--amg-blue: #15529b;
	--amg-blue-dark: #0e3d75;
	--amg-navy: #0d1b3f;
	--amg-footer: #10284e;
	--amg-tint: #f5f7fa;
	--amg-white: #fff;
	--amg-error: #dc2626;
	--amg-success: #0e7a6e;

	--amg-ink-90: rgba(13, 27, 63, 0.9);
	--amg-ink-62: rgba(13, 27, 63, 0.62);
	--amg-ink-55: rgba(13, 27, 63, 0.55);
	--amg-ink-40: rgba(13, 27, 63, 0.4);
	--amg-ink-10: rgba(13, 27, 63, 0.1);

	--font-body: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
	--font-head: 'Red Hat Display', 'Montserrat', sans-serif;
	--font-btn: 'Red Hat Text', 'Montserrat', sans-serif;

	--header-h: 72px;
	--gutter: 4rem;
	--ease: cubic-bezier(0.25, 1, 0.5, 1);
}

/* 2. Reset & base
   ========================================================================== */
*,
*::before,
*::after {
	box-sizing: border-box;
	border: 0 solid;
	margin: 0;
	padding: 0;
}

html {
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
	scroll-padding-top: calc(var(--header-h) + 1rem);
}

/* "clip" (not "hidden") on body so it doesn't become a scroll container,
   which would break position: sticky (filter bar). */
html {
	overflow-x: hidden;
}

body {
	overflow-x: hidden;
	overflow-x: clip;
	width: 100%;
	max-width: 100%;
}

body {
	font-family: var(--font-body);
	font-size: 16px;
	line-height: 1.5;
	background-color: var(--amg-white);
	color: var(--amg-navy);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	padding-top: var(--header-h);
}

h1, h2, h3, h4, h5, h6 {
	font-family: var(--font-head);
	font-size: inherit;
	font-weight: inherit;
}

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

img,
video {
	height: auto;
}

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

ul,
ol {
	list-style: none;
}

button,
input,
select,
textarea {
	font: inherit;
	color: inherit;
	background: transparent;
	letter-spacing: inherit;
}

button {
	cursor: pointer;
}

[hidden] {
	display: none !important;
}

:focus-visible {
	outline: 2px solid var(--amg-blue);
	outline-offset: 3px;
}

[tabindex="-1"]:focus {
	outline: none;
}

.dark-section :focus-visible,
.img-section :focus-visible,
.img-hero :focus-visible,
.site-footer :focus-visible,
.contact-info :focus-visible {
	outline-color: #fff;
}

.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	width: 1px;
	word-wrap: normal !important;
}

.skip-link:focus {
	clip: auto;
	clip-path: none;
	height: auto;
	width: auto;
	left: 1rem;
	top: 1rem;
	z-index: 1000;
	padding: 0.75rem 1.25rem;
	background: #fff;
	color: var(--amg-navy);
	border-radius: 999px;
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
	font-weight: 600;
}

/* 3. Shared utilities
   ========================================================================== */
.wrap {
	max-width: 1280px;
	margin: 0 auto;
}

.wrap--md {
	max-width: 900px;
}

.wrap--sm {
	max-width: 680px;
}

.eyebrow {
	display: block;
	font-family: var(--font-body);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.15em;
	text-transform: uppercase;
	color: var(--amg-ink-40);
	margin-bottom: 1rem;
}

.eyebrow--light {
	color: rgba(255, 255, 255, 0.4);
}

.eyebrow--blue {
	color: var(--amg-blue);
}

.section-heading {
	font-family: var(--font-head);
	font-size: clamp(2rem, 3.5vw, 3rem);
	font-weight: 700;
	color: var(--amg-navy);
	line-height: 1.05;
	letter-spacing: -0.02em;
}

.section-heading--light {
	color: #fff;
}

.title-accent {
	font-weight: 300;
	font-style: italic;
	color: rgba(255, 255, 255, 0.42);
}

.section-heading:not(.section-heading--light) .title-accent {
	color: var(--amg-blue);
}

.body-text,
.entry-content {
	font-family: var(--font-body);
	font-size: 15px;
	line-height: 1.85;
	color: var(--amg-ink-62);
}

.body-text p + p {
	margin-top: 1.5rem;
}

.body-text--light {
	color: rgba(255, 255, 255, 0.55);
}

.text-ink {
	color: var(--amg-navy);
}

.cert-pill {
	display: inline-block;
	font-family: var(--font-body);
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	padding: 6px 16px;
	border-radius: 999px;
	border: 1px solid rgba(255, 255, 255, 0.2);
	color: rgba(255, 255, 255, 0.7);
}

.pill-list {
	display: flex;
	flex-wrap: wrap;
	gap: 0.6rem;
}

.sub-tag {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-family: var(--font-body);
	font-size: 12px;
	font-weight: 600;
	color: rgba(13, 27, 63, 0.6);
	border: 1px solid rgba(13, 27, 63, 0.12);
	padding: 6px 14px;
	border-radius: 999px;
	transition: border-color 0.2s, color 0.2s;
}

.sub-tag:hover {
	border-color: rgba(21, 82, 155, 0.3);
	color: var(--amg-blue);
}

/* 4. Buttons & links
   ========================================================================== */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	font-family: var(--font-btn);
	font-size: 14px;
	font-weight: 700;
	line-height: 1.2;
	padding: 16px 32px;
	border-radius: 999px;
	border: 1.5px solid transparent;
	text-decoration: none;
	transition: transform 0.25s, box-shadow 0.25s, background 0.25s, border-color 0.25s, color 0.25s;
	cursor: pointer;
	text-align: center;
}

.btn:hover {
	transform: translateY(-2px);
}

.btn:active {
	transform: translateY(0);
}

.btn--white {
	background: #fff;
	color: var(--amg-navy);
	box-shadow: 0 4px 24px rgba(0, 0, 0, 0.25);
}

.btn--white:hover {
	box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.btn--ghost {
	background: transparent;
	color: #fff;
	font-weight: 600;
	border-color: rgba(255, 255, 255, 0.35);
}

.btn--ghost:hover {
	border-color: rgba(255, 255, 255, 0.8);
	background: rgba(255, 255, 255, 0.1);
}

.btn--blue {
	background: var(--amg-blue);
	color: #fff;
	box-shadow: 0 4px 24px rgba(21, 82, 155, 0.4);
}

.btn--blue:hover {
	background: var(--amg-blue-dark);
}

.btn--outline {
	background: transparent;
	color: rgba(13, 27, 63, 0.5);
	font-weight: 600;
	border-color: rgba(13, 27, 63, 0.15);
}

.btn--outline:hover {
	border-color: rgba(13, 27, 63, 0.35);
	color: var(--amg-navy);
	transform: none;
}

.btn--lg {
	font-size: 15px;
	padding: 18px 44px;
	gap: 10px;
}

.btn--md {
	padding: 17px 40px;
}

.btn-group {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
}

.text-link {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-family: var(--font-body);
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.03em;
	color: var(--amg-blue);
	white-space: nowrap;
	transition: gap 0.2s;
}

.text-link:hover {
	gap: 12px;
}

.text-link--bold {
	font-weight: 700;
}

.text-link--underline,
.text-link--underline-light {
	gap: 8px;
	padding-bottom: 4px;
	border-bottom: 1px solid rgba(21, 82, 155, 0.3);
	transition: border-color 0.2s;
}

.text-link--underline:hover {
	gap: 8px;
	border-color: var(--amg-blue);
}

.text-link--underline-light {
	color: #fff;
	border-color: rgba(255, 255, 255, 0.3);
}

.text-link--underline-light:hover {
	gap: 8px;
	border-color: rgba(255, 255, 255, 0.75);
}

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

/* 5. Header, navigation & mobile drawer
   ========================================================================== */
.site-header {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	z-index: 100;
	height: var(--header-h);
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 2rem;
	padding: 0 var(--gutter);
	background-color: #fff;
	border-bottom: 1px solid rgba(13, 27, 63, 0.1);
	transition: box-shadow 0.3s;
}

.site-header.is-scrolled {
	box-shadow: 0 6px 24px rgba(13, 27, 63, 0.06);
}

.admin-bar .site-header {
	top: 32px;
}

.logo-link {
	display: flex;
	align-items: center;
	height: 100%;
	flex-shrink: 0;
}

.logo-img {
	height: 56px;
	width: auto;
	object-fit: contain;
	display: block;
}

.primary-nav {
	display: none;
}

.primary-nav .menu {
	display: flex;
	align-items: center;
	gap: 2rem;
}

.nav-link {
	position: relative;
	display: inline-block;
	font-family: var(--font-body);
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: rgba(13, 27, 63, 0.65);
	padding-bottom: 4px;
	transition: color 0.25s ease;
}

.nav-link::after {
	content: '';
	position: absolute;
	bottom: -2px;
	left: 0;
	width: 0;
	height: 2px;
	background-color: var(--amg-blue);
	border-radius: 2px;
	transition: width 0.3s var(--ease);
}

.nav-link:hover,
.nav-link--active {
	color: var(--amg-blue);
}

.nav-link--active {
	font-weight: 700;
}

.nav-link:hover::after,
.nav-link--active::after {
	width: 100%;
}

.header-actions {
	display: flex;
	align-items: center;
	gap: 1rem;
}

.nav-cta {
	display: inline-block;
	font-family: var(--font-btn);
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	color: #fff;
	background: var(--amg-blue);
	padding: 9px 22px;
	border-radius: 999px;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
	transition: background 0.25s ease, transform 0.2s ease, box-shadow 0.25s ease;
	white-space: nowrap;
}

.nav-cta:hover {
	background: #0d3d7a;
	transform: translateY(-1px);
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.header-cta {
	display: none;
}

.menu-toggle {
	display: inline-flex;
	color: var(--amg-navy);
	padding: 6px;
	margin-right: -6px;
	border-radius: 6px;
}

.mobile-drawer {
	position: fixed;
	inset: 0;
	z-index: 200;
	background: #fff;
	display: flex;
	flex-direction: column;
	padding: 2rem;
	overflow-y: auto;
	transform: translateX(100%);
	visibility: hidden;
	transition: transform 0.4s var(--ease), visibility 0s linear 0.4s;
}

.mobile-drawer.is-open {
	transform: translateX(0);
	visibility: visible;
	transition: transform 0.4s var(--ease), visibility 0s;
}

.mobile-drawer__top {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 2.5rem;
	padding-bottom: 1.25rem;
	border-bottom: 1px solid rgba(13, 27, 63, 0.1);
}

.mobile-drawer__top .logo-img {
	height: 44px;
}

.mobile-drawer__close {
	color: rgba(13, 27, 63, 0.7);
	padding: 6px;
	margin-right: -6px;
	border-radius: 6px;
}

.mobile-drawer__close:hover {
	color: var(--amg-navy);
}

.mobile-drawer__nav {
	flex: 1;
}

.mobile-nav-link {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 0.9rem 0;
	font-family: var(--font-head);
	font-size: 1.2rem;
	font-weight: 600;
	color: rgba(13, 27, 63, 0.6);
	border-bottom: 1px solid rgba(13, 27, 63, 0.1);
	transition: color 0.2s ease, padding-left 0.2s ease;
}

.mobile-nav-link:hover,
.mobile-nav-link.is-active {
	color: var(--amg-blue);
	padding-left: 8px;
}

.mobile-nav-link .arrow {
	opacity: 0;
	font-size: 1.2rem;
	transition: opacity 0.2s ease;
}

.mobile-nav-link:hover .arrow,
.mobile-nav-link.is-active .arrow {
	opacity: 1;
}

.mobile-drawer__cta {
	display: block;
	margin-top: 2rem;
	text-align: center;
	padding-top: 12px;
	padding-bottom: 12px;
}

body.drawer-open {
	overflow: hidden;
}

/* 6. Heroes
   ========================================================================== */
.img-hero {
	position: relative;
	overflow: hidden;
	display: flex;
	align-items: flex-end;
	padding-top: var(--header-h);
	min-height: 80vh;
	background: var(--amg-navy);
}

.img-hero--full {
	min-height: 100vh;
}

.img-hero--short {
	min-height: 75vh;
}

.img-hero--compact {
	min-height: 52vh;
}

.img-hero__bg {
	position: absolute;
	inset: 0;
	z-index: 0;
}

.img-hero__bg img,
.img-hero__bg video {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}

/* The Compliance hero photo's subject (the laptop dashboard) sits right of
   center; on tall narrow viewports a true center crop keeps mostly the blurry
   background and the window behind it instead, so shift the crop toward the
   subject. */
.amg-template-compliance .img-hero__bg img {
	object-position: 75% center;
}

.img-hero__overlay-bottom,
.img-hero__overlay-side {
	position: absolute;
	inset: 0;
	z-index: 1;
}

.img-hero__overlay-bottom {
	background: linear-gradient(to top, rgba(13, 27, 63, 0.95) 0%, rgba(13, 27, 63, 0.55) 50%, rgba(13, 27, 63, 0.15) 100%);
}

.img-hero__overlay-side {
	background: linear-gradient(to right, rgba(13, 27, 63, 0.9) 0%, rgba(13, 27, 63, 0.5) 55%, rgba(13, 27, 63, 0.1) 100%);
}

.img-hero__content {
	position: relative;
	z-index: 2;
	width: 100%;
	max-width: 1280px;
	margin: 0 auto;
	padding: 0 var(--gutter) 6rem;
}

.img-hero__inner--narrow {
	max-width: 620px;
}

.hero-title {
	font-family: var(--font-head);
	font-size: clamp(3rem, 6.5vw, 6rem);
	font-weight: 700;
	line-height: 0.95;
	color: #fff;
	letter-spacing: -0.025em;
	margin-bottom: 1.75rem;
	max-width: 800px;
}

.hero-title .title-accent {
	color: rgba(255, 255, 255, 0.48);
}

/* Side-overlay heroes (e.g. About) have no competing image column, so the
   title can run wider before it needs to wrap. */
.img-hero__overlay-side ~ .img-hero__content .hero-title {
	max-width: 950px;
}

.img-hero__inner--narrow .hero-title {
	margin-bottom: 2rem;
}

/* The narrow column (620px) is fixed-width, not viewport-relative, so above
   mobile the shared vw-based hero-title clamp runs far too large for it and
   wraps mid-title (e.g. "Built by Veterans."). Scale against the column
   instead of the viewport. */
@media (min-width: 769px) {
	.img-hero__inner--narrow .hero-title {
		font-size: clamp(2.75rem, 4vw, 4.25rem);
	}
}

.hero-text {
	font-family: var(--font-body);
	font-size: 16px;
	line-height: 1.8;
	color: rgba(255, 255, 255, 0.58);
	max-width: 500px;
}

.img-hero__inner--narrow .hero-text {
	color: rgba(255, 255, 255, 0.62);
	margin-bottom: 3rem;
}

.img-hero__inner--narrow .eyebrow,
.img-hero .eyebrow {
	margin-bottom: 1.75rem;
}

.breadcrumb {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.5rem;
	align-items: center;
	margin-bottom: 1.5rem;
	font-family: var(--font-body);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.4);
}

.breadcrumb a {
	color: rgba(255, 255, 255, 0.7);
	transition: color 0.2s;
}

.breadcrumb a:hover {
	color: #fff;
}

/* Home hero */
.img-hero--home .img-hero__content {
	padding-bottom: 5rem;
}

.hero-badge-wrap {
	margin-bottom: 2rem;
}

.hero-badge {
	display: inline-block;
	font-family: var(--font-body);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.15em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.55);
	border: 1px solid rgba(255, 255, 255, 0.22);
	padding: 7px 18px;
	border-radius: 999px;
}

.hero-title--home {
	font-size: clamp(3.2rem, 7vw, 6.8rem);
	line-height: 0.93;
	max-width: 920px;
}

.hero-title--home .title-accent {
	color: rgba(255, 255, 255, 0.5);
}

.hero-home__row {
	display: flex;
	flex-wrap: wrap;
	gap: 4rem;
	align-items: flex-end;
	margin-bottom: 4rem;
}

.hero-home__row .hero-text {
	max-width: 480px;
	color: rgba(255, 255, 255, 0.62);
}

.hero-metrics {
	display: none;
	flex-wrap: wrap;
	gap: 4rem;
	padding-top: 3rem;
	border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-metrics__value {
	display: block;
	font-family: var(--font-head);
	font-size: 1.55rem;
	font-weight: 700;
	color: #fff;
	line-height: 1.1;
}

.hero-metrics__label {
	display: block;
	font-family: var(--font-body);
	font-size: 10px;
	font-weight: 600;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.38);
	margin-top: 4px;
}

.scroll-indicator {
	position: absolute;
	bottom: 2.5rem;
	right: var(--gutter);
	z-index: 3;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
}

.scroll-indicator__line {
	width: 1px;
	height: 56px;
	background: rgba(255, 255, 255, 0.2);
	position: relative;
	overflow: hidden;
}

.scroll-indicator__line span {
	position: absolute;
	left: 0;
	width: 100%;
	height: 50%;
	background: rgba(255, 255, 255, 0.7);
	animation: scroll-line 2.2s cubic-bezier(0.76, 0, 0.24, 1) infinite;
}

.scroll-indicator__label {
	font-family: var(--font-body);
	font-size: 9px;
	font-weight: 700;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.3);
}

@keyframes scroll-line {
	0% { top: -100%; }
	100% { top: 120%; }
}

/* 7. Section scaffolding
   ========================================================================== */
.section {
	padding: 8rem var(--gutter);
	background: #fff;
}

.section--md {
	padding-top: 7rem;
	padding-bottom: 7rem;
}

.section--lg {
	padding-top: 9rem;
	padding-bottom: 9rem;
}

.section--flush {
	padding: 6rem 0 0;
}

.section--flush-bottom {
	padding-bottom: 8rem;
}

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

.dark-section {
	background: var(--amg-navy);
}

.img-section {
	position: relative;
	overflow: hidden;
	background: var(--amg-navy);
}

.img-section__bg {
	position: absolute;
	inset: 0;
	z-index: 0;
}

.img-section__bg img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.img-section__overlay {
	position: absolute;
	inset: 0;
	z-index: 1;
	background: rgba(13, 27, 63, 0.87);
}

.img-section__overlay--deep {
	background: rgba(13, 27, 63, 0.93);
}

.img-section__overlay--blue {
	background: rgba(21, 82, 155, 0.91);
}

.img-section__content {
	position: relative;
	z-index: 2;
}

.section-head--center {
	text-align: center;
	margin-bottom: 5rem;
}

.section-head--left {
	margin-bottom: 0;
}

.section-head__text {
	font-family: var(--font-body);
	font-size: 16px;
	line-height: 1.7;
	color: rgba(13, 27, 63, 0.58);
	max-width: 540px;
	margin: 1.5rem auto 0;
}

.section-head--left .section-head__text {
	margin-left: 0;
	font-size: 14px;
	line-height: 1.85;
}

.section-head__text--light {
	color: rgba(255, 255, 255, 0.45);
	font-size: 14px;
	line-height: 1.8;
}

.section-intro {
	max-width: 1280px;
	margin: 0 auto;
	padding: 0 var(--gutter) 3rem;
}

.section-head-row {
	display: flex;
	justify-content: space-between;
	align-items: flex-end;
	flex-wrap: wrap;
	gap: 1.5rem 2rem;
}

.section-head-row__aside {
	font-family: var(--font-body);
	font-size: 13px;
	line-height: 1.7;
	max-width: 320px;
	color: rgba(255, 255, 255, 0.4);
}

.section-foot {
	text-align: center;
	margin-top: 3rem;
}

.glass-card {
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: 10px;
	background: rgba(13, 27, 63, 0.35);
	-webkit-backdrop-filter: blur(8px);
	backdrop-filter: blur(8px);
}

/* CTA banner */
.cta-banner {
	padding: 9rem var(--gutter);
	text-align: center;
}

.cta-banner--dark {
	padding: 7rem var(--gutter);
}

.cta-banner__inner {
	max-width: 680px;
	margin: 0 auto;
}

.cta-banner .eyebrow {
	margin-bottom: 1.5rem;
}

.cta-banner__title {
	font-size: clamp(2.5rem, 5vw, 3.8rem);
	margin-bottom: 1.5rem;
}

.cta-banner__title .title-accent {
	color: rgba(255, 255, 255, 0.5);
}

.cta-banner--dark .cta-banner__title {
	font-size: clamp(2rem, 3.5vw, 3rem);
}

.cta-banner__text {
	font-family: var(--font-body);
	font-size: 16px;
	line-height: 1.8;
	color: rgba(255, 255, 255, 0.62);
	margin-bottom: 2.5rem;
}

.cta-banner--dark .cta-banner__text {
	font-size: 15px;
	color: rgba(255, 255, 255, 0.5);
}

/* 8. Editorial image cards
   ========================================================================== */
.ed-card {
	position: relative;
	overflow: hidden;
	display: block;
	background: var(--amg-navy);
}

.ed-card > img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.8s var(--ease);
}

.ed-card:hover > img {
	transform: scale(1.06);
}

.ed-card__overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(to top, rgba(13, 27, 63, 0.88) 0%, rgba(13, 27, 63, 0.25) 55%, transparent 100%);
	transition: background 0.4s ease;
}

.ed-card:hover .ed-card__overlay {
	background: linear-gradient(to top, rgba(13, 27, 63, 0.96) 0%, rgba(13, 27, 63, 0.5) 60%, rgba(13, 27, 63, 0.1) 100%);
}

.ed-card__body {
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	padding: 2rem 2.5rem;
}

.ed-card__label {
	display: block;
	font-family: var(--font-body);
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.45);
	margin-bottom: 0.5rem;
}

.ed-card__title {
	font-family: var(--font-head);
	font-size: 1.25rem;
	font-weight: 700;
	color: #fff;
	line-height: 1.2;
}

.ed-card__text {
	font-family: var(--font-body);
	font-size: 12px;
	line-height: 1.65;
	color: rgba(255, 255, 255, 0.65);
	margin-top: 0.6rem;
}

.ed-card__arrow {
	display: inline-block;
	margin-left: 8px;
	opacity: 0;
	transform: translateX(-6px);
	transition: opacity 0.3s, transform 0.3s;
}

.ed-card:hover .ed-card__arrow,
.ed-card:focus-visible .ed-card__arrow {
	opacity: 1;
	transform: translateX(0);
}

.ed-card--rounded {
	border-radius: 8px;
}

.ed-card--portrait {
	aspect-ratio: 3 / 4;
}

.ed-card--landscape {
	aspect-ratio: 4 / 3;
}

/* 9. Home page
   ========================================================================== */
.ticker {
	overflow: hidden;
	white-space: nowrap;
	background: var(--amg-blue);
	padding: 11px 0;
	border-top: 1px solid rgba(255, 255, 255, 0.12);
	border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.ticker__track {
	display: inline-block;
	animation: amg-marquee 32s linear infinite;
}

.ticker:hover .ticker__track {
	animation-play-state: paused;
}

.ticker__item {
	font-family: var(--font-body);
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.9);
}

.ticker__sep {
	margin: 0 2.5rem;
	opacity: 0.35;
	color: #fff;
}

@keyframes amg-marquee {
	0% { transform: translateX(0); }
	100% { transform: translateX(-50%); }
}

/* Services grid */
.svc-grid {
	display: grid;
	grid-template-columns: 1.2fr 1fr 1fr;
	grid-template-rows: 480px 300px;
	gap: 3px;
	background: #eee;
}

.svc-card {
	height: 100%;
}

.svc-card--tall {
	grid-row: span 2;
}

.svc-card--tall .ed-card__title {
	font-size: 1.7rem;
}

.svc-card--tall .ed-card__text {
	font-size: 13px;
	max-width: 380px;
	margin-top: 0.75rem;
}

.svc-grid--count-1,
.svc-grid--count-2,
.svc-grid--count-3 {
	grid-template-rows: 480px;
}

.svc-grid--count-1 .svc-card--tall,
.svc-grid--count-2 .svc-card--tall,
.svc-grid--count-3 .svc-card--tall {
	grid-row: span 1;
}

.svc-grid--count-1 {
	grid-template-columns: 1fr;
}

.svc-grid--count-2 {
	grid-template-columns: 1.2fr 1fr;
}

/* Stats */
.stats-section {
	padding-top: 8rem;
	padding-bottom: 8rem;
}

.stats-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 2rem;
	text-align: center;
}

.stat-card {
	text-align: center;
	padding: 2rem;
	border-radius: 12px;
}

.stat-card__value {
	font-family: var(--font-head);
	font-size: clamp(2.5rem, 5vw, 4rem);
	font-weight: 700;
	color: #fff;
	line-height: 1;
	margin-bottom: 0.85rem;
}

.stat-card__label {
	font-family: var(--font-body);
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.45);
	line-height: 1.6;
}

/* Process */
.process-list {
	display: flex;
	flex-direction: column;
	gap: 8rem;
}

.process-item {
	display: grid;
	grid-template-columns: 1.15fr 1fr;
	gap: 6rem;
	align-items: center;
}

.process-item--reverse {
	grid-template-columns: 1fr 1.15fr;
}

.process-item--reverse .process-img-box {
	order: 2;
}

.process-img-box {
	position: relative;
	border-radius: 8px;
	overflow: hidden;
	aspect-ratio: 16 / 10;
	box-shadow: 0 10px 30px rgba(13, 27, 63, 0.08);
}

.process-img-box img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.6s var(--ease);
}

.process-img-box:hover img {
	transform: scale(1.03);
}

.process-img-box__shade {
	position: absolute;
	inset: 0;
	background: linear-gradient(to top, rgba(13, 27, 63, 0.4) 0%, transparent 100%);
}

.process-num {
	font-family: var(--font-head);
	font-size: 4.5rem;
	font-weight: 900;
	color: rgba(21, 82, 155, 0.08);
	line-height: 1;
	margin-bottom: 0.5rem;
}

.process-title {
	font-family: var(--font-head);
	font-size: 2rem;
	font-weight: 700;
	color: var(--amg-navy);
	margin-bottom: 1.25rem;
	line-height: 1.15;
}

/* Certifications */
.split-intro {
	display: grid;
	grid-template-columns: 1fr 2fr;
	gap: 6rem;
	align-items: start;
}

.split-intro .eyebrow {
	margin-bottom: 1.5rem;
}

.split-intro .section-heading {
	margin-bottom: 1.5rem;
}

.split-intro__text {
	font-family: var(--font-body);
	font-size: 14px;
	line-height: 1.8;
	color: rgba(255, 255, 255, 0.45);
}

.split-intro .text-link--underline-light {
	margin-top: 2rem;
}

.cert-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1.25rem;
}

.cert-item {
	border: 1px solid rgba(255, 255, 255, 0.08);
	padding: 1.75rem;
	border-radius: 10px;
	transition: border-color 0.3s, background 0.3s;
}

.cert-item:hover {
	border-color: rgba(21, 82, 155, 0.45);
	background: rgba(21, 82, 155, 0.07);
}

.cert-item__title {
	font-family: var(--font-head);
	font-size: 15px;
	font-weight: 700;
	color: #fff;
	margin-bottom: 0.35rem;
}

.cert-item__label {
	font-family: var(--font-body);
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: #4a86d0;
	margin-bottom: 0.7rem;
}

.cert-item__text {
	font-family: var(--font-body);
	font-size: 12px;
	line-height: 1.65;
	color: rgba(255, 255, 255, 0.45);
}

/* FAQ */
.faq .section-heading {
	margin-bottom: 4rem;
}

.faq__item {
	border-bottom: 1px solid rgba(13, 27, 63, 0.08);
}

.faq__question {
	width: 100%;
	text-align: left;
	padding: 1.75rem 0;
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 2rem;
	font-family: var(--font-head);
	font-size: 1.1rem;
	font-weight: 600;
	color: var(--amg-navy);
	line-height: 1.3;
}

.faq__icon {
	flex-shrink: 0;
	color: var(--amg-blue);
	transition: transform 0.3s ease;
}

.faq__item.is-open .faq__icon {
	transform: rotate(45deg);
}

.faq__answer {
	display: grid;
	grid-template-rows: 0fr;
	transition: grid-template-rows 0.45s var(--ease);
}

.faq__item.is-open .faq__answer {
	grid-template-rows: 1fr;
}

.faq__answer-inner {
	overflow: hidden;
}

.faq__answer p {
	font-family: var(--font-body);
	font-size: 14px;
	line-height: 1.85;
	color: var(--amg-ink-62);
	padding-bottom: 1.75rem;
}

.faq__answer a,
.body-text a {
	color: var(--amg-blue);
	text-decoration: underline;
}

.faq__answer a:hover,
.body-text a:hover {
	color: var(--amg-blue-dark);
}

.body-text--light a {
	color: #4a86d0;
}

.body-text--light a:hover {
	color: #fff;
}

.no-js .faq__answer {
	grid-template-rows: 1fr;
}

/* 10. About page
   ========================================================================== */
.split-layout {
	display: grid;
	grid-template-columns: 1fr 1fr;
}

.split-img {
	position: relative;
	overflow: hidden;
	min-height: 500px;
	background: var(--amg-tint);
}

.split-img img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 8s ease;
}

.split-img:hover img {
	transform: scale(1.04);
}

.split-img__fade {
	position: absolute;
	inset: 0;
	background: linear-gradient(to right, transparent 60%, #fff 100%);
}

.split-content {
	background: #fff;
	padding: 7rem 5rem;
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.split-content .eyebrow {
	margin-bottom: 1.5rem;
}

.split-content .section-heading {
	margin-bottom: 2rem;
}

.point-list {
	display: flex;
	flex-direction: column;
	gap: 1rem;
	margin-top: 2.5rem;
}

.point-list li {
	display: flex;
	align-items: center;
	gap: 1rem;
	font-family: var(--font-body);
	font-size: 14px;
	font-weight: 600;
	color: var(--amg-navy);
}

.point-list li::before {
	content: '';
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--amg-blue);
	flex-shrink: 0;
}

/* Leadership */
.leaders {
	display: flex;
	flex-direction: column;
	gap: 6rem;
}

.leader {
	display: grid;
	grid-template-columns: 380px 1fr;
	gap: 6rem;
	align-items: center;
}

.leader__photo {
	position: relative;
	border-radius: 4px;
	overflow: hidden;
	aspect-ratio: 3 / 4;
	background: rgba(255, 255, 255, 0.05);
}

.leader__photo img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: top;
}

.leader__photo-shade {
	position: absolute;
	inset: 0;
	background: linear-gradient(to top, rgba(13, 27, 63, 0.7) 0%, transparent 50%);
}

.leader__caption {
	position: absolute;
	bottom: 1.5rem;
	left: 1.5rem;
	right: 1.5rem;
}

.leader__caption-name {
	font-family: var(--font-head);
	font-size: 1.1rem;
	font-weight: 700;
	color: #fff;
}

.leader__caption-role {
	font-family: var(--font-body);
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.7);
	margin-top: 4px;
}

.leader__overline {
	display: flex;
	align-items: center;
	gap: 1.5rem;
	margin-bottom: 2rem;
	font-family: var(--font-body);
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 0.15em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.35);
}

.leader__overline::before {
	content: '';
	width: 48px;
	height: 1px;
	background: rgba(255, 255, 255, 0.2);
}

.leader__name {
	font-family: var(--font-head);
	font-size: 2.5rem;
	font-weight: 700;
	color: #fff;
	line-height: 1.1;
	letter-spacing: -0.02em;
	margin-bottom: 2rem;
}

.leader__bio {
	margin-bottom: 2.5rem;
}

.leader__tags {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
}

/* Values */
.values-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 1.5rem;
}

.value-card .ed-card__title {
	font-size: 1.2rem;
	margin-bottom: 0.5rem;
}

.value-card .ed-card__text {
	margin-top: 0;
}

/* Credentials */
.cred-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1.25rem;
	max-width: 860px;
	margin: 0 auto;
}

.cred-card {
	border: 1px solid rgba(255, 255, 255, 0.12);
	border-radius: 8px;
	padding: 1.5rem 1.75rem;
	background: rgba(13, 27, 63, 0.35);
	-webkit-backdrop-filter: blur(10px);
	backdrop-filter: blur(10px);
}

.cred-card__title {
	font-family: var(--font-head);
	font-size: 1rem;
	font-weight: 700;
	color: #fff;
	margin-bottom: 0.35rem;
}

.cred-card__label {
	font-family: var(--font-body);
	font-size: 10px;
	font-weight: 600;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.38);
}

/* 11. Services listing + filter bar
   ========================================================================== */
.filter-bar {
	position: sticky;
	top: var(--header-h);
	z-index: 40;
	background: rgba(255, 255, 255, 0.96);
	-webkit-backdrop-filter: blur(10px);
	backdrop-filter: blur(10px);
	border-bottom: 1px solid rgba(13, 27, 63, 0.08);
	padding: 1.25rem var(--gutter);
}

.admin-bar .filter-bar {
	top: calc(var(--header-h) + 32px);
}

.filter-bar__inner {
	max-width: 1280px;
	margin: 0 auto;
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 1rem 1.5rem;
}

.filter-bar__label {
	margin: 0;
}

.filter-bar__list {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
}

.filter-btn {
	font-family: var(--font-body);
	font-size: 12px;
	font-weight: 600;
	color: rgba(13, 27, 63, 0.6);
	border: 1px solid rgba(13, 27, 63, 0.12);
	padding: 8px 18px;
	border-radius: 999px;
	transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.filter-btn:hover {
	border-color: rgba(21, 82, 155, 0.35);
	color: var(--amg-blue);
}

.filter-btn.is-active {
	background: var(--amg-blue);
	border-color: var(--amg-blue);
	color: #fff;
}

.filter-btn__count {
	opacity: 0.6;
	margin-left: 4px;
	font-weight: 500;
}

.filter-bar__status {
	margin-left: auto;
	font-family: var(--font-body);
	font-size: 12px;
	color: var(--amg-ink-55);
}

.filter-empty {
	padding: 6rem var(--gutter);
	text-align: center;
	font-family: var(--font-body);
	font-size: 15px;
	color: var(--amg-ink-55);
	background: var(--amg-tint);
}

.svc-panel {
	display: grid;
	grid-template-columns: 1fr 1fr;
	min-height: 600px;
	background: #fff;
}

.svc-panel.is-alt {
	background: var(--amg-tint);
}

.svc-panel.is-reverse .svc-panel__img {
	order: 2;
}

.svc-panel__img {
	position: relative;
	overflow: hidden;
	display: block;
	background: var(--amg-navy);
}

.svc-panel__img img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 8s ease;
}

.svc-panel__img:hover img {
	transform: scale(1.04);
}

.svc-panel__num {
	position: absolute;
	top: 2rem;
	left: 2rem;
	font-family: var(--font-head);
	font-size: 5.5rem;
	font-weight: 700;
	color: rgba(255, 255, 255, 0.09);
	line-height: 1;
}

.svc-panel__content {
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: 6rem 5rem;
}

.svc-panel__content .eyebrow {
	margin-bottom: 1.5rem;
}

.svc-panel__content .section-heading {
	margin-bottom: 1.5rem;
}

.svc-panel__content .section-heading a:hover {
	color: var(--amg-blue);
}

.svc-panel__content .body-text {
	color: rgba(13, 27, 63, 0.6);
	margin-bottom: 2.5rem;
}

.svc-panel__link {
	margin-top: 2.5rem;
	font-weight: 700;
	gap: 8px;
}

.svc-panel__link:hover {
	gap: 14px;
}

/* 12. Service detail
   ========================================================================== */
.service-overview .split-content {
	padding: 7rem 5rem;
}

.entry-content > * + * {
	margin-top: 1.25rem;
}

.entry-content h2,
.entry-content h3,
.entry-content h4 {
	font-family: var(--font-head);
	color: var(--amg-navy);
	font-weight: 700;
	line-height: 1.2;
	margin-top: 2rem;
}

.entry-content h2 {
	font-size: 1.8rem;
}

.entry-content h3 {
	font-size: 1.35rem;
}

.entry-content ul,
.entry-content ol {
	padding-left: 1.25rem;
}

.entry-content ul {
	list-style: disc;
}

.entry-content ol {
	list-style: decimal;
}

.entry-content li + li {
	margin-top: 0.4rem;
}

.entry-content a {
	color: var(--amg-blue);
	text-decoration: underline;
	text-underline-offset: 3px;
}

.entry-content strong {
	color: var(--amg-navy);
}

.entry-content blockquote {
	border-left: 3px solid var(--amg-blue);
	padding-left: 1.25rem;
	font-style: italic;
}

.entry-content img {
	border-radius: 8px;
}

.service-overview .pill-list {
	margin-top: 2.5rem;
}

.feature-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1.25rem;
}

.feature-card {
	border: 1px solid rgba(255, 255, 255, 0.09);
	border-radius: 10px;
	padding: 2rem;
	background: rgba(255, 255, 255, 0.02);
	transition: border-color 0.3s, background 0.3s, transform 0.3s;
}

.feature-card:hover {
	border-color: rgba(21, 82, 155, 0.4);
	background: rgba(21, 82, 155, 0.07);
	transform: translateY(-4px);
}

.feature-card__num {
	font-family: var(--font-head);
	font-size: 1.7rem;
	font-weight: 700;
	color: #4a86d0;
	line-height: 1;
	margin-bottom: 1rem;
}

.feature-card__title {
	font-family: var(--font-head);
	font-size: 1.1rem;
	font-weight: 700;
	color: #fff;
	margin-bottom: 0.5rem;
	line-height: 1.3;
}

.feature-card__text {
	font-family: var(--font-body);
	font-size: 13px;
	line-height: 1.75;
	color: rgba(255, 255, 255, 0.5);
}

.related-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1.5rem;
}

.scope-title {
	font-family: var(--font-head);
	font-size: 1.15rem;
	font-weight: 700;
	color: var(--amg-navy);
	margin: 2.25rem 0 1rem;
}

.check-list {
	display: grid;
	gap: 0.7rem;
}

.check-list li {
	position: relative;
	padding-left: 1.75rem;
	font-family: var(--font-body);
	font-size: 14px;
	line-height: 1.6;
	color: var(--amg-ink-62);
}

.check-list li::before {
	content: '';
	position: absolute;
	left: 0;
	top: 0.2em;
	width: 1.05rem;
	height: 1.05rem;
	border-radius: 50%;
	background: rgba(21, 82, 155, 0.1) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 24 24' fill='none' stroke='%2315529b' stroke-width='3.5'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") no-repeat center;
}

.approach-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 2rem;
	counter-reset: none;
}

.approach-step {
	position: relative;
	padding-top: 1.75rem;
	border-top: 2px solid rgba(13, 27, 63, 0.08);
	transition: border-color 0.3s;
}

.approach-step:hover {
	border-top-color: var(--amg-blue);
}

.approach-step__num {
	display: block;
	font-family: var(--font-head);
	font-size: 3rem;
	font-weight: 900;
	line-height: 1;
	color: rgba(21, 82, 155, 0.12);
	margin-bottom: 0.75rem;
}

.approach-step__title {
	font-family: var(--font-head);
	font-size: 1.15rem;
	font-weight: 700;
	color: var(--amg-navy);
	margin-bottom: 0.6rem;
}

.approach-step__text {
	font-family: var(--font-body);
	font-size: 14px;
	line-height: 1.75;
	color: var(--amg-ink-62);
}

.benefits-layout {
	display: grid;
	grid-template-columns: 1fr 1.6fr;
	gap: 6rem;
	align-items: start;
}

.benefit-list {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1.25rem;
}

.benefit {
	display: flex;
	gap: 1rem;
	align-items: flex-start;
	background: #fff;
	border: 1px solid rgba(13, 27, 63, 0.07);
	border-radius: 12px;
	padding: 1.5rem;
	transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s;
}

.benefit:hover {
	border-color: rgba(21, 82, 155, 0.2);
	box-shadow: 0 8px 32px rgba(21, 82, 155, 0.07);
	transform: translateY(-3px);
}

.benefit__icon {
	flex-shrink: 0;
	width: 32px;
	height: 32px;
	border-radius: 50%;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: var(--amg-blue);
	color: #fff;
}

.benefit__title {
	font-family: var(--font-head);
	font-size: 1.05rem;
	font-weight: 700;
	color: var(--amg-navy);
	margin-bottom: 0.4rem;
	line-height: 1.3;
}

.benefit__text {
	font-family: var(--font-body);
	font-size: 13px;
	line-height: 1.7;
	color: var(--amg-ink-62);
}

/* 13. Capabilities page
   ========================================================================== */
.naics-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 1.25rem;
	margin-top: 4rem;
}

.naics-card {
	border: 1px solid rgba(255, 255, 255, 0.09);
	border-radius: 10px;
	padding: 2rem;
	background: rgba(255, 255, 255, 0.02);
	transition: border-color 0.3s, background 0.3s, transform 0.3s;
}

.naics-card:hover {
	border-color: rgba(21, 82, 155, 0.4);
	background: rgba(21, 82, 155, 0.07);
	transform: translateY(-4px);
}

.naics-card__code {
	font-family: var(--font-head);
	font-size: 1.7rem;
	font-weight: 700;
	color: #4a86d0;
	line-height: 1;
	margin-bottom: 0.5rem;
}

.naics-card__title {
	font-family: var(--font-head);
	font-size: 14px;
	font-weight: 600;
	color: #fff;
	margin-bottom: 0.35rem;
	line-height: 1.3;
}

.naics-card__type {
	font-family: var(--font-body);
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.35);
}

.cap-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 3px;
}

.cap-card {
	aspect-ratio: 4 / 3;
}

.cap-card--tall {
	aspect-ratio: auto;
	grid-row: span 2;
	height: 100%;
}

.cap-card--wide {
	aspect-ratio: 21 / 6;
	grid-column: span 3;
}

.cap-card .ed-card__body {
	padding: 2rem 2.25rem;
}

.cap-card .ed-card__label {
	color: rgba(255, 255, 255, 0.42);
	margin-bottom: 0.4rem;
}

.tools-layout {
	display: grid;
	grid-template-columns: 1fr 2fr;
	gap: 6rem;
	align-items: center;
}

.tools-layout .section-heading {
	margin-bottom: 1.5rem;
}

.tool-group + .tool-group {
	margin-top: 2rem;
}

.tool-group__name {
	font-family: var(--font-body);
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.3);
	margin-bottom: 0.85rem;
}

.tool-pill {
	font-family: var(--font-body);
	font-size: 12px;
	font-weight: 600;
	padding: 6px 15px;
	border-radius: 999px;
	border: 1px solid rgba(255, 255, 255, 0.12);
	color: rgba(255, 255, 255, 0.6);
	transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.tool-pill:hover {
	background: rgba(21, 82, 155, 0.4);
	border-color: rgba(21, 82, 155, 0.6);
	color: #fff;
}

.tool-group .pill-list,
.partner-group .pill-list {
	gap: 0.5rem;
}

/* 14. Partners page
   ========================================================================== */
.agency-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 3px;
}

.agency-card {
	aspect-ratio: 16 / 9;
}

.agency-card .ed-card__overlay {
	background: linear-gradient(to top, rgba(13, 27, 63, 0.92) 0%, rgba(13, 27, 63, 0.4) 55%, transparent 100%);
}

.agency-card:hover .ed-card__overlay {
	background: linear-gradient(to top, rgba(13, 27, 63, 0.97) 0%, rgba(13, 27, 63, 0.6) 65%, rgba(13, 27, 63, 0.1) 100%);
}

.agency-card .ed-card__body {
	padding: 2.25rem 2.5rem;
}

.agency-card__head {
	display: flex;
	align-items: center;
	gap: 1.25rem;
	margin-bottom: 0.85rem;
}

.agency-card__abbr {
	font-family: var(--font-head);
	font-size: 2.5rem;
	font-weight: 700;
	color: rgba(255, 255, 255, 0.12);
	line-height: 1;
}

.agency-card .ed-card__label {
	color: rgba(255, 255, 255, 0.4);
	letter-spacing: 0.12em;
	margin-bottom: 2px;
}

.agency-card .ed-card__title {
	font-size: 1.35rem;
}

.agency-card .ed-card__text {
	font-size: 13px;
	line-height: 1.7;
	color: rgba(255, 255, 255, 0.62);
	margin-top: 0;
}

.reach-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 1.5rem;
}

.stat-block {
	text-align: center;
	padding: 3rem 2rem;
	border: 1px solid rgba(255, 255, 255, 0.07);
	border-radius: 10px;
	transition: border-color 0.3s, background 0.3s;
}

.stat-block:hover {
	border-color: rgba(21, 82, 155, 0.35);
	background: rgba(21, 82, 155, 0.06);
}

.stat-block .stat-card__value {
	font-size: clamp(2.5rem, 4vw, 3.8rem);
	margin-bottom: 0.75rem;
}

.stat-block .stat-card__label {
	color: rgba(255, 255, 255, 0.4);
}

.partner-layout {
	display: grid;
	grid-template-columns: 1fr 2fr;
	gap: 6rem;
	align-items: start;
}

.partner-group + .partner-group {
	margin-top: 2.5rem;
}

.partner-group__name {
	font-family: var(--font-body);
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: rgba(13, 27, 63, 0.35);
	margin-bottom: 1rem;
}

.partner-pill {
	font-family: var(--font-body);
	font-size: 12px;
	font-weight: 600;
	padding: 7px 16px;
	border-radius: 999px;
	border: 1px solid rgba(13, 27, 63, 0.1);
	color: rgba(13, 27, 63, 0.6);
	transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.partner-pill:hover {
	background: var(--amg-navy);
	color: #fff;
	border-color: var(--amg-navy);
}

.logo-strip {
	overflow: hidden;
	background: var(--amg-tint);
	padding: 2.5rem 0;
}

.logo-track {
	display: flex;
	gap: 2.5rem;
	width: max-content;
	align-items: center;
	animation: amg-marquee 32s linear infinite;
}

.logo-strip:hover .logo-track {
	animation-play-state: paused;
}

.logo-pill {
	background: #fff;
	border-radius: 8px;
	padding: 14px 28px;
	font-family: var(--font-head);
	font-size: 14px;
	font-weight: 700;
	color: rgba(13, 27, 63, 0.5);
	white-space: nowrap;
	border: 1px solid rgba(13, 27, 63, 0.06);
	flex-shrink: 0;
}

.logo-pill img {
	height: 28px;
	width: auto;
	object-fit: contain;
}

/* 15. Compliance page
   ========================================================================== */
.fw-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1.5rem;
}

.fw-card {
	border-radius: 4px;
	aspect-ratio: 4 / 3;
}

.fw-card .ed-card__overlay {
	background: linear-gradient(to top, rgba(13, 27, 63, 0.94) 0%, rgba(13, 27, 63, 0.35) 55%, transparent 100%);
}

.fw-card .ed-card__body {
	padding: 2rem 2.25rem;
}

.fw-card__abbr {
	font-family: var(--font-head);
	font-size: 1.6rem;
	font-weight: 700;
	color: rgba(255, 255, 255, 0.15);
	line-height: 1;
	margin-bottom: 0.3rem;
}

.fw-card .ed-card__title {
	font-size: 1.05rem;
	margin-bottom: 0.5rem;
}

.fw-card .ed-card__text {
	color: rgba(255, 255, 255, 0.58);
	margin-top: 0;
}

.zt-layout {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 6rem;
	align-items: start;
}

.zt-figure {
	position: relative;
	border-radius: 4px;
	overflow: hidden;
	aspect-ratio: 4 / 5;
}

.zt-figure img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.zt-figure__shade {
	position: absolute;
	inset: 0;
	background: linear-gradient(135deg, rgba(21, 82, 155, 0.4) 0%, transparent 60%);
}

.zt-figure__caption {
	position: absolute;
	top: 2rem;
	left: 2rem;
}

.zt-figure__label {
	font-family: var(--font-head);
	font-size: 4rem;
	font-weight: 700;
	color: rgba(255, 255, 255, 0.08);
}

.zt-figure__text {
	font-family: var(--font-body);
	font-size: 9px;
	font-weight: 700;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.3);
}

.zt-level {
	display: flex;
	gap: 2rem;
	align-items: flex-start;
	padding: 2rem 0;
	border-bottom: 1px solid rgba(255, 255, 255, 0.07);
	transition: padding-left 0.3s;
}

.zt-level:first-child {
	padding-top: 0;
}

.zt-level:last-child {
	border-bottom: none;
}

.zt-level:hover {
	padding-left: 10px;
}

.zt-badge {
	width: 52px;
	height: 52px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-family: var(--font-head);
	font-size: 14px;
	font-weight: 700;
	flex-shrink: 0;
	color: var(--badge, #15529b);
	background: var(--badge-bg, rgba(21, 82, 155, 0.15));
}

.zt-level__title {
	font-family: var(--font-head);
	font-size: 1.1rem;
	font-weight: 700;
	color: #fff;
	margin-bottom: 0.4rem;
}

.zt-level__text {
	font-family: var(--font-body);
	font-size: 13px;
	line-height: 1.75;
	color: rgba(255, 255, 255, 0.45);
}

.ato-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 2rem;
}

.ato-card {
	text-align: center;
	padding: 2.5rem 1.5rem;
}

.ato-card__num {
	font-family: var(--font-head);
	font-size: 3rem;
	font-weight: 700;
	color: rgba(255, 255, 255, 0.08);
	line-height: 1;
	margin-bottom: 0.5rem;
}

.ato-card__title {
	font-family: var(--font-head);
	font-size: 1.2rem;
	font-weight: 700;
	color: #fff;
	margin-bottom: 0.75rem;
}

.ato-card__text {
	font-family: var(--font-body);
	font-size: 12px;
	line-height: 1.7;
	color: rgba(255, 255, 255, 0.45);
}

/* 16. Contracts page
   ========================================================================== */
.cv-main-grid {
	display: grid;
	grid-template-columns: 1.4fr 1fr;
	gap: 3px;
	margin-bottom: 3px;
	min-height: 540px;
}

.cv-main-grid--single {
	grid-template-columns: 1fr;
}

.cv-small-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 3px;
}

.cv-card {
	border-radius: 4px;
}

.cv-card .ed-card__overlay {
	background: linear-gradient(to top, rgba(13, 27, 63, 0.94) 0%, rgba(13, 27, 63, 0.4) 55%, transparent 100%);
}

.cv-card:hover .ed-card__overlay {
	background: linear-gradient(to top, rgba(13, 27, 63, 0.98) 0%, rgba(13, 27, 63, 0.6) 65%, rgba(13, 27, 63, 0.08) 100%);
}

.cv-card .ed-card__body {
	padding: 2.25rem 2.5rem;
}

.cv-card--small {
	aspect-ratio: 4 / 3;
}

.cv-card__watermark {
	font-family: var(--font-head);
	font-size: 3rem;
	font-weight: 700;
	color: rgba(255, 255, 255, 0.08);
	line-height: 1;
	margin-bottom: 0.4rem;
}

.cv-card .ed-card__label {
	color: rgba(255, 255, 255, 0.4);
}

.cv-card--featured .ed-card__title {
	font-size: 1.5rem;
	margin-bottom: 0.75rem;
}

.cv-card--featured .ed-card__text {
	font-size: 13px;
	line-height: 1.7;
	color: rgba(255, 255, 255, 0.62);
	max-width: 440px;
	margin-top: 0;
}

.cv-card--small .ed-card__title {
	font-size: 1.3rem;
	margin-bottom: 0.6rem;
}

.cv-card--small .ed-card__text {
	color: rgba(255, 255, 255, 0.58);
	margin-top: 0;
}

.cv-card__tags {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin-top: 1.25rem;
}

.cv-card__tags li {
	font-family: var(--font-body);
	font-size: 11px;
	font-weight: 600;
	padding: 4px 12px;
	border-radius: 999px;
	border: 1px solid rgba(255, 255, 255, 0.2);
	color: rgba(255, 255, 255, 0.6);
}

.contracts-layout {
	display: grid;
	grid-template-columns: 1fr 1.5fr;
	gap: 7rem;
	align-items: start;
}

.contracts-layout .section-heading {
	margin-bottom: 1.75rem;
}

.contracts-layout .split-intro__text {
	line-height: 1.85;
	margin-bottom: 2rem;
}

.socio-figure {
	position: relative;
	border-radius: 4px;
	overflow: hidden;
	aspect-ratio: 4 / 3;
}

.socio-figure img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.socio-figure__shade {
	position: absolute;
	inset: 0;
	background: rgba(13, 27, 63, 0.4);
}

.socio-list {
	padding-top: 1rem;
}

.socio-row {
	display: flex;
	gap: 1.5rem;
	align-items: center;
	padding: 1.75rem 0;
	border-bottom: 1px solid rgba(255, 255, 255, 0.07);
	transition: padding-left 0.3s;
}

.socio-row:last-child {
	border-bottom: none;
}

.socio-row:hover {
	padding-left: 8px;
}

.socio-row__bar {
	width: 4px;
	height: 52px;
	border-radius: 2px;
	flex-shrink: 0;
	background: var(--accent, #15529b);
}

.socio-row__title {
	font-family: var(--font-head);
	font-size: 1.05rem;
	font-weight: 700;
	color: #fff;
	margin-bottom: 0.2rem;
}

.socio-row__label {
	font-family: var(--font-body);
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--accent, #4a86d0);
	margin-bottom: 0.5rem;
}

.socio-row__text {
	font-family: var(--font-body);
	font-size: 13px;
	line-height: 1.7;
	color: rgba(255, 255, 255, 0.42);
}

/* 17. Contact page & form
   ========================================================================== */
.contact-split {
	display: grid;
	grid-template-columns: 1fr 1fr;
	min-height: calc(100vh - var(--header-h));
}

.contact-info {
	position: relative;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	padding: 5rem var(--gutter);
	min-height: calc(100vh - var(--header-h));
	background: var(--amg-navy);
}

.contact-info__bg {
	position: absolute;
	inset: 0;
	z-index: 0;
}

.contact-info__bg img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.contact-info__overlay {
	position: absolute;
	inset: 0;
	z-index: 1;
	background: linear-gradient(to top, rgba(13, 27, 63, 0.97) 0%, rgba(13, 27, 63, 0.85) 45%, rgba(13, 27, 63, 0.75) 100%);
}

.contact-info__inner {
	position: relative;
	z-index: 2;
}

.contact-info .eyebrow {
	color: rgba(255, 255, 255, 0.35);
	letter-spacing: 0.14em;
	margin-bottom: 1.5rem;
}

.contact-info__title {
	font-family: var(--font-head);
	font-size: clamp(2rem, 3.5vw, 3.2rem);
	font-weight: 700;
	color: #fff;
	line-height: 1.1;
	letter-spacing: -0.02em;
	margin-bottom: 1.5rem;
}

.contact-info__title .title-accent {
	color: rgba(255, 255, 255, 0.45);
}

.contact-info__text {
	font-family: var(--font-body);
	font-size: 14px;
	line-height: 1.8;
	color: rgba(255, 255, 255, 0.5);
	margin-bottom: 2rem;
	max-width: 340px;
}

.info-card {
	background: rgba(13, 27, 63, 0.6);
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: 14px;
	padding: 1.25rem 1.5rem;
	margin-bottom: 1rem;
	transition: background 0.2s, border-color 0.2s;
}

.info-card:hover {
	background: rgba(13, 27, 63, 0.8);
	border-color: rgba(255, 255, 255, 0.2);
}

.info-card__label {
	font-family: var(--font-body);
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.32);
	margin-bottom: 3px;
}

.info-card__value {
	font-family: var(--font-body);
	font-size: 14px;
	color: rgba(255, 255, 255, 0.8);
	font-style: normal;
}

a.info-card__value:hover {
	color: #fff;
}

.contact-badges {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin-top: 2rem;
}

.contact-badges li {
	font-family: var(--font-body);
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.06em;
	color: rgba(255, 255, 255, 0.5);
	background: rgba(255, 255, 255, 0.07);
	border: 1px solid rgba(255, 255, 255, 0.12);
	padding: 5px 12px;
	border-radius: 999px;
}

.contact-form-side {
	background: #fff;
	padding: 5rem var(--gutter);
}

.contact-form-wrap {
	max-width: 480px;
	margin: 0 auto;
}

.step-progress {
	display: flex;
	gap: 6px;
	margin-bottom: 2.5rem;
}

.step-progress-dot {
	flex: 1;
	height: 3px;
	border-radius: 2px;
	background: rgba(13, 27, 63, 0.1);
	transition: background 0.4s ease;
}

.step-progress-dot.done {
	background: var(--amg-blue);
}

.step-progress-dot.active {
	background: rgba(21, 82, 155, 0.4);
}

.step-label {
	font-family: var(--font-body);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: rgba(13, 27, 63, 0.35);
	margin-bottom: 2rem;
}

.form-step {
	display: none;
	border: 0;
	min-width: 0;
}

.form-step.active {
	display: block;
	animation: step-in 0.4s ease;
}

.no-js .form-step {
	display: block;
	margin-bottom: 3rem;
}

.no-js .step-progress,
.no-js .step-label,
.no-js .form-nav [data-step-target] {
	display: none;
}

@keyframes step-in {
	from { opacity: 0; transform: translateX(20px); }
	to { opacity: 1; transform: translateX(0); }
}

.form-step__title {
	font-family: var(--font-head);
	font-size: 1.8rem;
	font-weight: 700;
	color: var(--amg-navy);
	margin-bottom: 0.5rem;
	line-height: 1.2;
}

.form-step__text {
	font-family: var(--font-body);
	font-size: 14px;
	color: rgba(13, 27, 63, 0.5);
	margin-bottom: 2rem;
}

.field-row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1rem;
}

.field-wrap {
	position: relative;
	margin-bottom: 2rem;
}

.float-input,
.float-select,
.float-textarea {
	display: block;
	width: 100%;
	padding: 1.2rem 1rem 0.4rem;
	border: none;
	border-bottom: 1.5px solid rgba(13, 27, 63, 0.15);
	background: transparent;
	font-family: var(--font-body);
	font-size: 15px;
	color: var(--amg-navy);
	outline: none;
	border-radius: 0;
	transition: border-color 0.3s ease;
	-webkit-appearance: none;
	appearance: none;
}

.float-select {
	padding-right: 2rem;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2315529b' stroke-width='2.5'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 0.5rem center;
	cursor: pointer;
}

.float-input:focus,
.float-select:focus,
.float-textarea:focus {
	border-bottom-color: var(--amg-blue);
}

.float-textarea {
	min-height: 120px;
	padding-top: 1.4rem;
	resize: none;
	line-height: 1.6;
}

.float-label {
	position: absolute;
	top: 1.2rem;
	left: 1rem;
	font-family: var(--font-body);
	font-size: 14px;
	color: rgba(13, 27, 63, 0.45);
	pointer-events: none;
	transition: all 0.25s var(--ease);
}

.float-label .req {
	color: var(--amg-error);
	margin-left: 2px;
}

.float-input:focus ~ .float-label,
.float-input:not(:placeholder-shown) ~ .float-label,
.float-textarea:focus ~ .float-label,
.float-textarea:not(:placeholder-shown) ~ .float-label,
.float-select ~ .float-label,
.field-wrap.has-value .float-label {
	top: 0.25rem;
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--amg-blue);
}

.field-wrap.has-error .float-input,
.field-wrap.has-error .float-select,
.field-wrap.has-error .float-textarea {
	border-bottom-color: var(--amg-error);
}

.field-wrap.has-error .float-label {
	color: var(--amg-error);
}

.field-error {
	display: block;
	min-height: 0;
	margin-top: 0.4rem;
	padding-left: 1rem;
	font-family: var(--font-body);
	font-size: 12px;
	line-height: 1.4;
	color: var(--amg-error);
}

.field-error:empty {
	display: none;
}

.field-hint {
	display: block;
	margin-top: 0.35rem;
	padding-left: 1rem;
	font-family: var(--font-body);
	font-size: 11px;
	color: rgba(13, 27, 63, 0.4);
}

.form-nav {
	display: flex;
	gap: 1rem;
	margin-top: 1rem;
}

.form-nav .btn {
	padding-top: 1rem;
	padding-bottom: 1rem;
	font-size: 15px;
	box-shadow: 0 4px 16px rgba(21, 82, 155, 0.3);
}

.form-nav .btn--blue {
	flex: 2;
}

.form-nav .btn--outline {
	flex: 1;
	font-size: 14px;
	box-shadow: none;
}

.form-nav .btn--full {
	width: 100%;
	flex: 1 1 100%;
}

.form-nav .btn[disabled] {
	opacity: 0.7;
	cursor: wait;
	transform: none;
}

.form-alert {
	margin-bottom: 1.5rem;
	padding: 1rem 1.25rem;
	border-radius: 10px;
	font-family: var(--font-body);
	font-size: 13px;
	line-height: 1.6;
}

.form-alert[hidden] {
	display: none;
}

.form-alert--error {
	background: rgba(220, 38, 38, 0.06);
	border: 1px solid rgba(220, 38, 38, 0.25);
	color: #991b1b;
}

.form-alert ul {
	list-style: disc;
	padding-left: 1.25rem;
	margin-top: 0.35rem;
}

.hp-field {
	position: absolute !important;
	left: -9999px !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.form-success {
	text-align: center;
	padding: 3rem 0;
}

.form-success[hidden] {
	display: none;
}

.form-success__icon {
	width: 64px;
	height: 64px;
	background: rgba(21, 82, 155, 0.1);
	color: var(--amg-blue);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0 auto 1.5rem;
}

.form-success__title {
	font-family: var(--font-head);
	font-size: 1.6rem;
	font-weight: 700;
	color: var(--amg-navy);
	margin-bottom: 0.75rem;
}

.form-success__text {
	font-family: var(--font-body);
	font-size: 14px;
	line-height: 1.7;
	color: rgba(13, 27, 63, 0.6);
	max-width: 360px;
	margin: 0 auto;
}

.form-success__ref {
	margin-top: 1.5rem;
	font-family: var(--font-body);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: rgba(13, 27, 63, 0.4);
}

.form-success__ref strong {
	color: var(--amg-blue);
}

/* 18. Generic pages, posts, 404
   ========================================================================== */
.page-body {
	padding: 6rem var(--gutter) 8rem;
}

.page-body .entry-content {
	max-width: 820px;
	margin: 0 auto;
}

.post-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 2rem;
}

.post-card {
	border: 1px solid rgba(13, 27, 63, 0.08);
	border-radius: 12px;
	overflow: hidden;
	background: #fff;
	display: flex;
	flex-direction: column;
	transition: box-shadow 0.3s, transform 0.3s, border-color 0.3s;
}

.post-card:hover {
	transform: translateY(-4px);
	border-color: rgba(21, 82, 155, 0.2);
	box-shadow: 0 8px 32px rgba(21, 82, 155, 0.07);
}

.post-card__img {
	aspect-ratio: 16 / 10;
	overflow: hidden;
	background: var(--amg-tint);
}

.post-card__img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.post-card__body {
	padding: 1.75rem;
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
	flex: 1;
}

.post-card__meta {
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--amg-ink-40);
}

.post-card__title {
	font-family: var(--font-head);
	font-size: 1.25rem;
	font-weight: 700;
	line-height: 1.25;
}

.post-card__excerpt {
	font-size: 14px;
	line-height: 1.7;
	color: var(--amg-ink-62);
}

.post-card .text-link {
	margin-top: auto;
}

.pagination {
	margin-top: 4rem;
	display: flex;
	justify-content: center;
}

.pagination .nav-links {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
}

.pagination .page-numbers {
	min-width: 40px;
	height: 40px;
	padding: 0 12px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 999px;
	border: 1px solid rgba(13, 27, 63, 0.12);
	font-size: 13px;
	font-weight: 600;
	color: var(--amg-ink-62);
}

.pagination .page-numbers.current,
.pagination .page-numbers:hover {
	background: var(--amg-blue);
	border-color: var(--amg-blue);
	color: #fff;
}

.empty-state {
	text-align: center;
	font-size: 15px;
	color: var(--amg-ink-55);
}

/* 19. Footer
   ========================================================================== */
.site-footer {
	position: relative;
	overflow: hidden;
	background: var(--amg-footer);
	color: rgba(255, 255, 255, 0.65);
	font-family: var(--font-body);
}

.site-footer__watermark {
	position: absolute;
	bottom: -40px;
	right: -20px;
	font-family: var(--font-head);
	font-size: 180px;
	font-weight: 900;
	color: rgba(255, 255, 255, 0.04);
	line-height: 1;
	pointer-events: none;
	user-select: none;
}

.footer-inner {
	position: relative;
	max-width: 1280px;
	margin: 0 auto;
	padding: 5rem var(--gutter) 3rem;
}

.footer-grid {
	display: grid;
	grid-template-columns: 1.8fr 1fr 1fr 1fr;
	gap: 3rem;
	margin-bottom: 4rem;
}

.footer-brand {
	display: flex;
	flex-direction: column;
	gap: 1.25rem;
	align-items: flex-start;
}

.footer-brand .logo-img {
	height: 52px;
	object-position: left;
}

.footer-desc {
	font-size: 14px;
	line-height: 1.7;
	max-width: 280px;
	color: rgba(255, 255, 255, 0.6);
}

.footer-address {
	display: flex;
	flex-direction: column;
	gap: 4px;
	font-style: normal;
	font-size: 11px;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.35);
	margin-top: 4px;
}

.footer-email {
	display: inline-block;
	margin-top: 4px;
	font-size: 13px;
	color: rgba(255, 255, 255, 0.85);
	border-bottom: 1px solid rgba(255, 255, 255, 0.3);
	padding-bottom: 2px;
	transition: color 0.2s, border-color 0.2s;
}

.footer-email:hover {
	color: #fff;
	border-color: #fff;
}

.footer-phone {
	font-size: 13px;
	color: rgba(255, 255, 255, 0.65);
	margin-top: -0.5rem;
	transition: color 0.2s;
}

.footer-phone:hover {
	color: #fff;
}

.social-links {
	display: flex;
	gap: 0.6rem;
}

.social-links a {
	width: 36px;
	height: 36px;
	border-radius: 50%;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border: 1px solid rgba(255, 255, 255, 0.2);
	color: rgba(255, 255, 255, 0.7);
	transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.social-links a:hover {
	background: rgba(255, 255, 255, 0.12);
	border-color: rgba(255, 255, 255, 0.45);
	color: #fff;
}

.footer-col__title {
	font-family: var(--font-body);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.4);
	margin-bottom: 1.25rem;
}

.footer-menu .menu {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
}

.footer-link {
	display: inline-block;
	font-size: 14px;
	color: rgba(255, 255, 255, 0.6);
	transition: color 0.2s, padding-left 0.2s;
}

.footer-link:hover {
	color: #fff;
	padding-left: 6px;
}

.footer-link.is-current {
	color: #fff;
}

.footer-certs {
	display: flex;
	flex-direction: column;
	gap: 0.6rem;
}

.footer-certs li {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 13px;
	color: rgba(255, 255, 255, 0.55);
}

.footer-certs li::before {
	content: '';
	width: 5px;
	height: 5px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.35);
	flex-shrink: 0;
}

.footer-bottom {
	border-top: 1px solid rgba(255, 255, 255, 0.1);
	padding-top: 2rem;
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
	gap: 1rem;
}

.footer-ids {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem 1.5rem;
	font-size: 11px;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.3);
}

.footer-ids__item--highlight {
	color: rgba(255, 255, 255, 0.5);
}

.footer-bottom__right {
	display: flex;
	align-items: center;
	gap: 1.5rem;
}

.footer-copy {
	font-size: 11px;
	letter-spacing: 0.08em;
	color: rgba(255, 255, 255, 0.3);
}
p.footer-copy b:hover {
    color: #fff;
}

.scroll-top {
	width: 36px;
	height: 36px;
	border-radius: 50%;
	border: 1px solid rgba(255, 255, 255, 0.25);
	color: rgba(255, 255, 255, 0.6);
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.scroll-top:hover {
	background: rgba(255, 255, 255, 0.15);
	color: #fff;
	border-color: rgba(255, 255, 255, 0.5);
}

/* 20. Motion
   ========================================================================== */
.js .reveal-up {
	opacity: 0;
	transform: translateY(40px);
}

.js .reveal-left {
	opacity: 0;
	transform: translateX(-40px);
}

.js .reveal-right {
	opacity: 0;
	transform: translateX(40px);
}

.js .is-revealed {
	opacity: 1;
	transform: none;
	transition: opacity 0.65s var(--ease), transform 0.65s var(--ease);
	transition-delay: var(--reveal-delay, 0s);
}

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

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

	.js .reveal-up,
	.js .reveal-left,
	.js .reveal-right {
		opacity: 1;
		transform: none;
	}
}

/* 21. Responsive
   ========================================================================== */
@media (min-width: 768px) {
	.hero-metrics {
		display: flex;
	}
}

@media (min-width: 1024px) {
	.primary-nav {
		display: flex;
		align-items: center;
	}

	.header-cta {
		display: inline-block;
	}

	.menu-toggle {
		display: none;
	}
}

@media (min-width: 1024px) and (max-width: 1280px) {
	.site-header {
		padding: 0 2rem;
	}

	.primary-nav .menu {
		gap: 1.25rem;
	}

	.nav-link {
		font-size: 11px;
		letter-spacing: 0.05em;
	}

	.logo-img {
		height: 44px;
	}
}

@media (max-width: 1024px) {
	.split-layout,
	.contracts-layout,
	.zt-layout,
	.partner-layout,
	.tools-layout,
	.split-intro,
	.benefits-layout {
		grid-template-columns: 1fr;
		gap: 3.5rem;
	}

	.approach-grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.split-layout {
		gap: 0;
	}

	.split-img {
		min-height: 50vw;
	}

	.values-grid,
	.reach-grid,
	.naics-grid,
	.ato-grid,
	.stats-grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.stats-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.cred-grid,
	.cv-small-grid,
	.fw-grid,
	.cert-grid,
	.feature-grid,
	.related-grid,
	.post-grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.svc-grid {
		grid-template-columns: 1fr 1fr;
		grid-template-rows: auto;
		grid-auto-rows: 320px;
	}

	.svc-grid .svc-card--tall {
		grid-row: span 1;
		grid-column: span 2;
		min-height: 420px;
	}

	.svc-panel {
		grid-template-columns: 1fr;
	}

	.svc-panel.is-reverse .svc-panel__img {
		order: 0;
	}

	.svc-panel__img {
		min-height: 55vw;
	}

	.svc-panel__content {
		padding: 4rem 2.5rem;
	}

	.cap-grid {
		grid-template-columns: 1fr 1fr;
	}

	.cap-card--tall {
		aspect-ratio: 4 / 3;
		grid-row: span 1;
		height: auto;
	}

	.cap-card--wide {
		grid-column: span 2;
		aspect-ratio: 16 / 6;
	}

	.agency-grid {
		grid-template-columns: 1fr;
	}

	.leader {
		grid-template-columns: 300px 1fr;
		gap: 3.5rem;
	}

	.filter-bar__status {
		margin-left: 0;
		width: 100%;
	}
}

@media (max-width: 900px) {
	.process-item,
	.process-item--reverse {
		grid-template-columns: 1fr;
		gap: 2.5rem;
	}

	.process-item--reverse .process-img-box {
		order: 0;
	}

	.process-list {
		gap: 5rem;
	}

	.contact-split {
		grid-template-columns: 1fr;
	}

	.contact-info {
		min-height: 60vw;
		padding: 3rem 2rem;
	}

	.contact-form-side {
		padding: 3rem 1.5rem;
	}

	.footer-grid {
		grid-template-columns: 1fr 1fr;
	}

	.footer-inner {
		padding: 4rem 1.5rem 2.5rem;
	}
}

@media (max-width: 782px) {
	.admin-bar .site-header {
		top: 46px;
	}

	.admin-bar .filter-bar {
		top: calc(var(--header-h) + 46px);
	}
}

@media (max-width: 768px) {
	:root {
		--gutter: 1.5rem;
	}

	/* Mobile crops the background photo much tighter (cover + center on a
	   narrow, tall viewport), often landing on its brightest area, so the
	   scrim needs to be stronger everywhere, not just near the text. */
	.img-hero__overlay-bottom {
		background: linear-gradient(to top, rgba(13, 27, 63, 0.95) 0%, rgba(13, 27, 63, 0.75) 55%, rgba(13, 27, 63, 0.5) 100%);
	}

	.img-hero__overlay-side {
		background: linear-gradient(to right, rgba(13, 27, 63, 0.9) 0%, rgba(13, 27, 63, 0.65) 55%, rgba(13, 27, 63, 0.45) 100%);
	}

	.logo-img {
		height: 40px;
	}

	.section,
	.dark-section,
	.img-section,
	.cta-banner {
		padding-top: 4rem;
		padding-bottom: 4rem;
	}

	.section--flush {
		padding: 4rem 0 0;
	}

	.section--flush-bottom {
		padding-bottom: 4rem;
	}

	.section-head--center {
		margin-bottom: 3rem;
	}

	.img-hero {
		padding-top: 60px;
	}

	.img-hero__content {
		padding-bottom: 3rem;
	}

	.scroll-indicator {
		display: none;
	}

	.hero-home__row {
		gap: 2rem;
		margin-bottom: 1rem;
	}

	.hero-title,
	.hero-title--home {
		font-size: clamp(2rem, 7vw, 2.8rem);
		line-height: 1.15;
	}

	.section-heading,
	.cta-banner__title,
	.cta-banner--dark .cta-banner__title {
		font-size: clamp(1.6rem, 5vw, 2.1rem);
		line-height: 1.25;
	}

	.process-title,
	.leader__name {
		font-size: clamp(1.3rem, 4.5vw, 1.6rem);
	}

	.split-content,
	.service-overview .split-content {
		padding: 4rem 1.5rem;
	}

	.leader {
		grid-template-columns: 1fr;
		gap: 3rem;
	}

	.leader__photo {
		max-width: 280px;
		width: 100%;
		margin: 0 auto;
	}

	.ed-card__body {
		padding: 1.5rem 1.75rem;
	}

	.site-footer__watermark {
		font-size: 120px;
	}
}

@media (max-width: 640px) {
	.svc-grid {
		grid-template-columns: 1fr;
		grid-auto-rows: 300px;
	}

	.svc-grid .svc-card--tall {
		grid-column: span 1;
		min-height: 380px;
	}

	.stats-grid {
		grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
		gap: 1rem;
	}

	.stat-card {
		padding: 1.5rem 1rem;
	}

	.stat-card__value {
		font-size: clamp(1.75rem, 9vw, 2.5rem);
	}

	.cert-grid,
	.cap-grid {
		grid-template-columns: 1fr;
	}

	.cap-card--wide {
		grid-column: span 1;
		aspect-ratio: 4 / 3;
	}

	/* A fixed aspect-ratio ties the card's height to its (narrow) width, but
	   the body copy only gets longer as it wraps more at that width — on the
	   longer agency blurbs the overlay text overflowed past the card's own
	   top edge and got clipped. Size by content instead. */
	.agency-card {
		aspect-ratio: auto;
		min-height: 340px;
	}

	.agency-card .ed-card__body {
		padding: 1.5rem 1.75rem;
	}

	.svc-panel__content {
		padding: 3rem 1.5rem;
	}

	.svc-panel__img {
		min-height: 65vw;
	}

	/* Below tablet, the 540px-tall two-up grid squeezes each featured
	   vehicle into a sliver too narrow to read; stack them full-width
	   instead, letting each card size to its own content. */
	.cv-main-grid {
		grid-template-columns: 1fr;
		min-height: 0;
	}

	.cv-card--featured {
		min-height: 420px;
	}

	.cv-card .ed-card__body {
		padding: 1.5rem 1.75rem;
	}

	.field-row {
		grid-template-columns: 1fr;
		gap: 0;
	}

	.filter-bar {
		position: static;
	}
}

@media (max-width: 600px) {
	.values-grid,
	.reach-grid,
	.naics-grid,
	.ato-grid,
	.cred-grid,
	.cv-small-grid,
	.fw-grid,
	.feature-grid,
	.related-grid,
	.post-grid,
	.approach-grid,
	.benefit-list {
		grid-template-columns: 1fr;
	}

	.admin-bar .site-header {
		top: 0;
	}

	.btn-group {
		flex-direction: column;
		align-items: stretch;
	}

	.btn-group .btn {
		width: 100%;
	}

	/* btn--lg's desktop padding leaves longer CTA labels ("Submit
	   Requirements", "Initiate Consultation"...) just a few pixels short of
	   fitting their narrow mobile container, wrapping to two lines and
	   ballooning the pill out of line with every other button. Tighten it to
	   stay single-line and the same visual size as the rest. */
	.btn--lg {
		padding: 16px 28px;
		gap: 8px;
	}

	/* The title/accent pair is set inline (no forced line break, see
	   amg_heading_html()'s $inline flag); below the section-heading's
	   font-size floor there isn't room for both words on one line. */
	#home-services-title {
		font-size: 26px;
	}
}

@media (max-width: 560px) {
	.footer-grid {
		grid-template-columns: 1fr;
	}

	.footer-bottom__right {
		width: 100%;
		justify-content: space-between;
	}
}
