/*
Theme Name: ArcherGrey
Theme URI: https://archergrey.com
Author: SmarkLabs
Author URI: https://smarklabs.com
Description: Custom block theme for ArcherGrey — PLM strategy and implementation consultancy. McKinsey-style B2B consulting aesthetic: navy-dominant, generous whitespace, bright blue accents.
Requires at least: 6.4
Tested up to: 6.6
Requires PHP: 8.1
Version: 0.9.32
License: Proprietary
Text Domain: archergrey
Tags: block-theme, full-site-editing, custom-colors, custom-typography
*/

/* ============================================================
   0. FONTS — self-hosted, latin subset, font-display: swap
   Source Serif 4 (Adobe, OFL) — display serif for H1/H2 only.
   Body stays Lato.
   ============================================================ */
@font-face {
	font-family: 'Source Serif 4';
	font-style: normal;
	font-weight: 600;
	font-display: swap;
	src: url('/wp-content/themes/archergrey/assets/fonts/source-serif-4-600.woff2') format('woff2');
}
@font-face {
	font-family: 'Source Serif 4';
	font-style: normal;
	font-weight: 700;
	font-display: swap;
	src: url('/wp-content/themes/archergrey/assets/fonts/source-serif-4-700.woff2') format('woff2');
}

/* Apply serif to H1 and H2 wherever they render. Includes WP block-editor
   heading variants that render as <h2>/<h3> with .has-h-1/2-font-size. */
h1,
h2,
.wp-block-heading.has-h-1-font-size,
.wp-block-heading.has-h-2-font-size {
	font-family: 'Source Serif 4', Georgia, 'Times New Roman', serif !important;
	letter-spacing: -0.022em !important;
}

/* H1 weight 600 — refined, confident at large display sizes. */
h1,
.wp-block-heading.has-h-1-font-size {
	font-weight: 600 !important;
}

/* H2 weight 700 — slightly heavier so smaller H2s read with weight. */
h2,
.wp-block-heading.has-h-2-font-size {
	font-weight: 700 !important;
}

/* ============================================================
   1. STRUCTURE — collapse default block-gap between template parts
   ============================================================ */
body > main.wp-block-group + footer.wp-block-template-part,
body > header.wp-block-template-part + main.wp-block-group,
body footer.wp-block-template-part {
	margin-block-start: 0 !important;
}
body header.wp-block-template-part {
	margin-block-end: 0 !important;
	position: sticky;
	top: 0;
	z-index: 100;
	box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06);
}

/* Belt-and-suspenders: kill the WP default block-gap between any top-level
   children of .wp-site-blocks (header / main / footer) on EVERY template. */
.wp-site-blocks > * + * { margin-block-start: 0 !important; }
.wp-site-blocks > main { margin-top: 0 !important; padding-top: 0 !important; }
.wp-site-blocks > main > section:first-child,
.wp-site-blocks > main > .wp-block-group:first-child { margin-top: 0 !important; }

/* ============================================================
   2. CARD HOVER SYSTEM
   Cards lift on hover with a soft shadow. Universal across all grid patterns.
   ============================================================ */
.ag-services-grid > div,
.ag-md-services > div,
.ag-pmo-grid > div,
.ag-rfa-services > div,
.ag-eh-services > div,
.ag-ai-services > div,
.ag-cs-grid > div,
.ag-tools-grid > div,
.ag-benefits > div,
.ag-pillars > div,
.ag-milestones > div,
.ag-diff-grid > div,
.ag-creds > div {
	transition:
		transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
		box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1),
		border-color 0.35s ease;
}

.ag-services-grid > div:hover,
.ag-md-services > div:hover,
.ag-pmo-grid > div:hover,
.ag-rfa-services > div:hover,
.ag-eh-services > div:hover,
.ag-ai-services > div:hover,
.ag-cs-grid > div:hover,
.ag-tools-grid > div:hover,
.ag-benefits > div:hover,
.ag-pillars > div:hover,
.ag-milestones > div:hover,
.ag-diff-grid > div:hover,
.ag-creds > div:hover {
	transform: translateY(-4px);
	box-shadow: 0 20px 40px -16px rgba(0, 26, 46, 0.18);
}

/* ============================================================
   3. PHOTO ZOOM ON HOVER — industry tiles only (NOT hero covers)
   Full-width covers (alignfull = page heroes) stay static; smaller cover
   blocks inside columns (industry tiles) get the zoom + dim reduction.
   ============================================================ */
.wp-block-cover {
	overflow: hidden;
}
.wp-block-cover:not(.alignfull) .wp-block-cover__image-background {
	transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.wp-block-cover:not(.alignfull):hover .wp-block-cover__image-background {
	transform: scale(1.05);
}
.wp-block-cover:not(.alignfull) .wp-block-cover__background {
	transition: opacity 0.5s ease;
}
.wp-block-cover:not(.alignfull):hover .wp-block-cover__background.has-background-dim-75 {
	opacity: 0.62;
}
.wp-block-cover:not(.alignfull):hover .wp-block-cover__background.has-background-dim-60 {
	opacity: 0.45;
}

/* ============================================================
   4. NAVY SECTION GRADIENT — subtle depth on solid navy bands
   Soft bright-blue glow from upper-right + faint top tint + bottom vignette.
   No pattern, no texture — just dimensionality.
   ============================================================ */
.wp-block-group.has-navy-background-color {
	position: relative;
	isolation: isolate;
}
.wp-block-group.has-navy-background-color::before {
	content: '';
	position: absolute;
	inset: 0;
	background:
		radial-gradient(ellipse 70% 90% at 85% 0%, rgba(0, 143, 255, 0.14), transparent 60%),
		linear-gradient(180deg, rgba(0, 143, 255, 0.045), transparent 35%, transparent 70%, rgba(0, 0, 0, 0.18));
	pointer-events: none;
	z-index: 0;
}
.wp-block-group.has-navy-background-color > * {
	position: relative;
	z-index: 1;
}

/* Don't apply the gradient to the global header / footer template parts. */
header .wp-block-group.has-navy-background-color::before,
footer .wp-block-group.has-navy-background-color::before {
	display: none;
}

/* ============================================================
   5. BUTTON HOVER — micro-lift
   ============================================================ */
.wp-block-button__link {
	transition:
		background-color 0.25s ease,
		color 0.25s ease,
		transform 0.25s ease,
		box-shadow 0.25s ease;
}
.wp-block-button__link:hover {
	transform: translateY(-1px);
	box-shadow: 0 6px 16px -4px rgba(0, 143, 255, 0.35);
}

/* Text-link lift — applies to inline-styled "Learn more →", "View all →",
   "Read article →" style links throughout the site. Targets links that have
   an inline color set to navy/blue/bright-blue. */
a[style*="color:#06549A"],
a[style*="color:#008FFF"],
a[style*="color:#001A2E"][style*="border-bottom"] {
	display: inline-block;
	transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
a[style*="color:#06549A"]:hover,
a[style*="color:#008FFF"]:hover,
a[style*="color:#001A2E"][style*="border-bottom"]:hover {
	transform: translateX(4px);
}

/* ============================================================
   6. REVEAL-ON-SCROLL (initial / revealed states — JS adds .ag-revealed)
   ============================================================ */
.ag-reveal {
	opacity: 0;
	transform: translateY(36px);
	transition:
		opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
		transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
	will-change: opacity, transform;
}
.ag-reveal.ag-revealed {
	opacity: 1;
	transform: none;
}

/* ============================================================
   7. REDUCED MOTION
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
	.ag-reveal,
	.ag-services-grid > div,
	.ag-md-services > div,
	.ag-pmo-grid > div,
	.ag-rfa-services > div,
	.ag-eh-services > div,
	.ag-ai-services > div,
	.ag-cs-grid > div,
	.ag-tools-grid > div,
	.ag-benefits > div,
	.ag-pillars > div,
	.ag-milestones > div,
	.ag-diff-grid > div,
	.ag-creds > div,
	.wp-block-button__link,
	.wp-block-cover .wp-block-cover__image-background {
		transition: none !important;
		transform: none !important;
		opacity: 1 !important;
		box-shadow: none !important;
	}
}

/* ============================================================
   Home hero (patterns/home-hero.php)
   Two-column: serif headline + animated digital-thread bg + 3-circle
   industry cluster bleeding past the right content edge.
   ============================================================ */
.ag-hero {
	position: relative;
	overflow: hidden;
	background: #001A2E;
	padding: 3rem 2rem 2.5rem;
	isolation: isolate;
}
.ag-hero::before {
	content: "";
	position: absolute;
	inset: 0;
	background:
		radial-gradient(80% 60% at 85% 30%, rgba(0, 143, 255, 0.10) 0%, rgba(0, 143, 255, 0) 60%),
		radial-gradient(70% 60% at 15% 85%, rgba(6, 84, 154, 0.18) 0%, rgba(6, 84, 154, 0) 60%);
	z-index: -1;
	pointer-events: none;
}
.ag-hero__bg {
	position: absolute;
	inset: 0;
	z-index: -1;
	pointer-events: none;
}
.ag-hero__bg svg {
	width: 100%;
	height: 100%;
	display: block;
}
.ag-hero__inner {
	max-width: 1200px;
	margin: 0 auto;
	display: grid;
	grid-template-columns: 2.1fr 1fr;
	gap: 2rem;
	align-items: center;
	min-height: 640px;
}
.ag-hero__text {
	max-width: 780px;
}
.ag-hero__eyebrow {
	font-size: 0.875rem;
	font-weight: 700;
	letter-spacing: 0.15rem;
	text-transform: uppercase;
	color: #008FFF;
	margin: 0 0 1.25rem;
}
.ag-hero__h1 {
	font-family: 'Source Serif 4', Georgia, 'Times New Roman', serif !important;
	font-weight: 700 !important;
	font-size: clamp(2.75rem, 5vw, 4rem);
	line-height: 1.08;
	letter-spacing: -0.015em !important;
	color: #FFFFFF;
	margin: 0 0 1.5rem;
}
.ag-hero__accent {
	color: #008FFF;
	font-style: italic;
	font-weight: 700;
}
.ag-hero__sub {
	font-size: 1.1875rem;
	line-height: 1.55;
	color: #F5F7FA;
	max-width: 540px;
	margin: 0 0 2.5rem;
}
.ag-hero__cta {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	background: #008FFF;
	color: #FFFFFF;
	font-size: 0.95rem;
	font-weight: 700;
	letter-spacing: 0.0625rem;
	text-transform: uppercase;
	text-decoration: none;
	padding: 1rem 1.75rem;
	border-radius: 2px;
	transition: background 180ms ease, transform 180ms ease;
}
.ag-hero__cta:hover {
	background: #007ae6;
	color: #FFFFFF;
	transform: translateY(-1px);
}

.ag-hero__cluster {
	position: relative;
	aspect-ratio: 1 / 1;
	width: 500px;
	max-width: none;
	margin: 0;
}
.ag-hero__ring {
	position: absolute;
	inset: -8%;
	border: 1px dashed rgba(0, 143, 255, 0.30);
	border-radius: 50%;
	z-index: -1;
	pointer-events: none;
}
.ag-hero__circle {
	position: absolute;
	margin: 0;
	border-radius: 50%;
	overflow: hidden;
	box-shadow:
		0 30px 60px -20px rgba(0, 0, 0, 0.6),
		0 0 0 1px rgba(255, 255, 255, 0.06) inset;
	transition: transform 400ms ease;
}
.ag-hero__circle img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}
.ag-hero__circle:hover { transform: translateY(-4px); }
.ag-hero__circle--1 { top: 0;    left: 0;    width: 56%; height: 56%; }
.ag-hero__circle--2 { top: 18%;  right: 0;   width: 40%; height: 40%; }
.ag-hero__circle--3 { bottom: 0; left: 20%;  width: 48%; height: 48%; }

@media (max-width: 1100px) {
	.ag-hero__cluster { width: 440px; }
}
@media (max-width: 900px) {
	.ag-hero { padding: 2rem 1.5rem 1.75rem; }
	.ag-hero__inner {
		grid-template-columns: 1fr;
		gap: 3rem;
		min-height: auto;
	}
	.ag-hero__cluster { width: 100%; max-width: 480px; margin: 0 auto; }
	.ag-hero__h1 { font-size: clamp(2.25rem, 8vw, 3rem); }
}
@media (max-width: 480px) {
	.ag-hero__cluster { max-width: 360px; }
}

@media (prefers-reduced-motion: reduce) {
	.ag-hero__circle,
	.ag-hero__cta { transition: none !important; }
}

/* ============================================================
   Primary nav (parts/header.html)
   ============================================================ */
.ag-header { position: relative; z-index: 100; }

.ag-nav {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 2rem;
	max-width: 1240px;
	margin: 0 auto;
}

.ag-nav__brand {
	display: inline-flex;
	align-items: center;
	flex: 0 0 auto;
}
.ag-nav__brand img {
	display: block;
	height: 24px;
	width: auto;
	max-width: 180px;
}

.ag-nav__menu {
	display: flex;
	align-items: center;
	gap: 1.75rem;
	list-style: none;
	margin: 0;
	padding: 0;
}

.ag-nav__item { position: relative; }

.ag-nav__link {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	background: none;
	border: 0;
	padding: 0.4rem 0;
	color: #FFFFFF;
	font-family: inherit;
	font-size: 0.95rem;
	font-weight: 600;
	text-decoration: none;
	cursor: pointer;
	transition: color 180ms ease;
}
.ag-nav__link:hover,
.ag-nav__link:focus-visible,
.ag-nav__link[aria-expanded="true"] { color: #008FFF; }

.ag-nav__caret { transition: transform 180ms ease; }
.ag-nav__link[aria-expanded="true"] .ag-nav__caret { transform: rotate(180deg); }

.ag-nav__cta {
	display: inline-flex;
	align-items: center;
	padding: 0.625rem 1.1rem;
	border-radius: 2px;
	background: #008FFF;
	color: #FFFFFF;
	font-size: 0.85rem;
	font-weight: 700;
	letter-spacing: 0.0625rem;
	text-transform: uppercase;
	text-decoration: none;
	transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}
.ag-nav__cta:hover {
	transform: translateY(-1px);
	box-shadow: 0 8px 20px rgba(0, 143, 255, 0.35);
	background: #007ae6;
	color: #FFFFFF;
}

/* Submenu */
.ag-nav__submenu {
	position: absolute;
	top: calc(100% + 0.6rem);
	left: -0.75rem;
	min-width: 260px;
	margin: 0;
	padding: 0.5rem 0;
	list-style: none;
	background: #FFFFFF;
	border-radius: 4px;
	box-shadow: 0 18px 40px rgba(0, 26, 46, 0.18), 0 2px 6px rgba(0, 26, 46, 0.08);
	opacity: 0;
	visibility: hidden;
	transform: translateY(-4px);
	transition: opacity 180ms ease, transform 180ms ease, visibility 0s linear 180ms;
	z-index: 110;
}
.ag-nav__submenu::before {
	content: "";
	position: absolute;
	top: -6px;
	left: 1.5rem;
	width: 12px;
	height: 12px;
	background: #FFFFFF;
	transform: rotate(45deg);
}
.ag-nav__item--has-children:hover > .ag-nav__submenu,
.ag-nav__item--has-children:focus-within > .ag-nav__submenu,
.ag-nav__link[aria-expanded="true"] + .ag-nav__submenu {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
	transition: opacity 180ms ease, transform 180ms ease, visibility 0s;
}
.ag-nav__submenu li { margin: 0; }
.ag-nav__submenu a {
	display: block;
	padding: 0.65rem 1.1rem;
	color: #001A2E;
	font-size: 0.9rem;
	font-weight: 500;
	text-decoration: none;
	transition: background 140ms ease, color 140ms ease;
}
.ag-nav__submenu a:hover,
.ag-nav__submenu a:focus-visible {
	background: #F5F7FA;
	color: #06549A;
}

/* Mobile toggle */
.ag-nav__toggle {
	display: none;
	flex-direction: column;
	justify-content: center;
	gap: 5px;
	width: 40px;
	height: 40px;
	padding: 0;
	background: transparent;
	border: 0;
	cursor: pointer;
}
.ag-nav__bar {
	display: block;
	width: 24px;
	height: 2px;
	background: #FFFFFF;
	border-radius: 2px;
	transition: transform 200ms ease, opacity 200ms ease;
}
.ag-nav__toggle[aria-expanded="true"] .ag-nav__bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.ag-nav__toggle[aria-expanded="true"] .ag-nav__bar:nth-child(2) { opacity: 0; }
.ag-nav__toggle[aria-expanded="true"] .ag-nav__bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 960px) {
	.ag-nav { gap: 1rem; }
	.ag-nav__toggle { display: inline-flex; }
	.ag-nav__menu {
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		flex-direction: column;
		align-items: stretch;
		gap: 0;
		padding: 0.5rem 1.5rem 1.5rem;
		background: #001A2E;
		border-top: 1px solid rgba(255, 255, 255, 0.08);
		max-height: 0;
		overflow: hidden;
		visibility: hidden;
		transition: max-height 240ms ease, padding 240ms ease, visibility 0s linear 240ms;
	}
	.ag-nav[data-open="true"] .ag-nav__menu {
		max-height: calc(100vh - 80px);
		overflow: auto;
		visibility: visible;
		transition: max-height 240ms ease, padding 240ms ease, visibility 0s;
	}
	.ag-nav__item { width: 100%; border-bottom: 1px solid rgba(255, 255, 255, 0.06); }
	.ag-nav__item:last-child { border-bottom: 0; }
	.ag-nav__link {
		width: 100%;
		justify-content: space-between;
		padding: 1rem 0;
		font-size: 1rem;
	}
	.ag-nav__submenu {
		position: static;
		min-width: 0;
		padding: 0 0 0.75rem 0.5rem;
		background: transparent;
		box-shadow: none;
		opacity: 1;
		visibility: hidden;
		transform: none;
		max-height: 0;
		overflow: hidden;
		transition: max-height 240ms ease, visibility 0s linear 240ms;
	}
	.ag-nav__submenu::before { display: none; }
	.ag-nav__link[aria-expanded="true"] + .ag-nav__submenu {
		max-height: 600px;
		visibility: visible;
		transition: max-height 240ms ease, visibility 0s;
	}
	.ag-nav__submenu a {
		padding: 0.55rem 0;
		color: rgba(255, 255, 255, 0.85);
		font-size: 0.95rem;
	}
	.ag-nav__submenu a:hover,
	.ag-nav__submenu a:focus-visible {
		background: transparent;
		color: #008FFF;
	}
	.ag-nav__item--cta { padding: 1rem 0 0; border: 0; }
	.ag-nav__cta { width: 100%; justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
	.ag-nav__caret,
	.ag-nav__submenu,
	.ag-nav__menu,
	.ag-nav__cta,
	.ag-nav__bar { transition: none !important; }
}

/* ============================================================
   Insights listing (templates/home.html)
   ============================================================ */
.ag-insights-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 2.5rem 2rem;
	list-style: none;
	margin: 0;
	padding: 0;
}
.ag-insights-grid > li {
	margin: 0;
	padding: 0;
	list-style: none;
}
.ag-insight-card {
	display: flex;
	flex-direction: column;
	height: 100%;
	transition: transform 240ms ease, box-shadow 240ms ease;
}
.ag-insight-card:hover {
	transform: translateY(-4px);
}
.ag-insight-card .wp-block-post-featured-image {
	overflow: hidden;
	border-radius: 4px;
	background: #001A2E;
}
.ag-insight-card .wp-block-post-featured-image img {
	width: 100%;
	height: 100%;
	object-fit: contain !important;
}
.ag-insight-card .wp-block-post-title { line-height: 1.3; }
.ag-insight-card .wp-block-post-title a { transition: color 180ms ease; }
.ag-insight-card .wp-block-post-title a:hover { color: #06549A !important; }
.ag-insight-card .wp-block-post-date { color: #666666; }

@media (max-width: 900px) {
	.ag-insights-grid { grid-template-columns: repeat(2, 1fr); gap: 2rem 1.5rem; }
}
@media (max-width: 600px) {
	.ag-insights-grid { grid-template-columns: 1fr; gap: 2rem; }
}

/* Pagination */
.ag-insights-query .wp-block-query-pagination {
	display: flex;
	justify-content: center;
	gap: 0.5rem;
	margin-top: 3.5rem;
	font-size: 0.95rem;
	font-weight: 600;
}
.ag-insights-query .wp-block-query-pagination a,
.ag-insights-query .wp-block-query-pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 2.25rem;
	padding: 0.45rem 0.75rem;
	border: 1px solid #E1E5EB;
	border-radius: 3px;
	color: #001A2E;
	text-decoration: none;
	transition: background 160ms ease, color 160ms ease, border-color 160ms ease;
}
.ag-insights-query .wp-block-query-pagination a:hover {
	background: #001A2E;
	border-color: #001A2E;
	color: #FFFFFF;
}
.ag-insights-query .wp-block-query-pagination .page-numbers.current {
	background: #001A2E;
	border-color: #001A2E;
	color: #FFFFFF;
}

/* ============================================================
   Single post (templates/single.html)
   ============================================================ */
.ag-post-meta .wp-block-post-date { opacity: 0.85; }

.ag-post-content {
	font-size: 1.0625rem;
	line-height: 1.75;
	color: #333333;
}
.ag-post-content > * + * { margin-top: 1.5rem; }
.ag-post-content p { margin: 0 0 1.5rem; }
.ag-post-content p:last-child { margin-bottom: 0; }

.ag-post-content h2,
.ag-post-content h3,
.ag-post-content h4 {
	color: #001A2E;
	font-weight: 700;
	letter-spacing: -0.01em;
	line-height: 1.25;
}
.ag-post-content h2 {
	font-size: 1.875rem;
	margin: 3rem 0 1rem;
}
.ag-post-content h3 {
	font-size: 1.375rem;
	margin: 2.25rem 0 0.75rem;
}
.ag-post-content h4 {
	font-size: 1.125rem;
	margin: 1.75rem 0 0.5rem;
}

.ag-post-content a {
	color: #06549A;
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 2px;
	transition: color 160ms ease;
}
.ag-post-content a:hover { color: #008FFF; }

.ag-post-content ul,
.ag-post-content ol {
	margin: 0 0 1.5rem;
	padding-left: 1.5rem;
}
.ag-post-content li { margin: 0.4rem 0; }

.ag-post-content blockquote {
	margin: 2rem 0;
	padding: 1.25rem 1.5rem;
	border-left: 3px solid #008FFF;
	background: #F5F7FA;
	font-size: 1.125rem;
	font-style: italic;
	color: #001A2E;
}
.ag-post-content blockquote p:last-child { margin-bottom: 0; }

.ag-post-content img,
.ag-post-content .wp-block-image img {
	max-width: 100%;
	height: auto;
	border-radius: 4px;
	display: block;
}
.ag-post-content figure { margin: 2rem 0; }
.ag-post-content figcaption {
	margin-top: 0.5rem;
	font-size: 0.875rem;
	color: #666666;
	text-align: center;
}

.ag-post-content code {
	background: #F5F7FA;
	padding: 0.125rem 0.375rem;
	border-radius: 3px;
	font-size: 0.95em;
}
.ag-post-content pre {
	background: #001A2E;
	color: #FFFFFF;
	padding: 1.25rem;
	border-radius: 4px;
	overflow-x: auto;
	font-size: 0.9rem;
}
.ag-post-content pre code { background: transparent; padding: 0; color: inherit; }

.ag-post-content iframe,
.ag-post-content .wp-block-embed iframe {
	max-width: 100%;
	border-radius: 4px;
}
.ag-post-content .wp-block-embed { margin: 2rem 0; }

.ag-post-content hr {
	border: 0;
	border-top: 1px solid #E1E5EB;
	margin: 2.5rem 0;
}

/* ============================================================
   Global footer (parts/footer.html)
   ============================================================ */
.ag-footer__inner {
	max-width: 1240px;
	margin: 0 auto;
}

.ag-footer__grid {
	display: grid;
	grid-template-columns: 1.6fr 1fr 1fr 1fr;
	gap: 3rem 2.5rem;
	padding-bottom: 3rem;
}

.ag-footer__brand { max-width: 360px; }
.ag-footer__logo {
	display: inline-block;
	margin-bottom: 1.25rem;
}
.ag-footer__logo img {
	display: block;
	height: 26px;
	width: auto;
}
.ag-footer__tagline {
	margin: 0 0 1.5rem;
	color: rgba(255, 255, 255, 0.72);
	font-size: 0.95rem;
	line-height: 1.6;
}

.ag-footer__social {
	display: flex;
	gap: 0.5rem;
	list-style: none;
	margin: 0;
	padding: 0;
}
.ag-footer__social a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	border-radius: 4px;
	background: rgba(255, 255, 255, 0.06);
	color: #FFFFFF;
	text-decoration: none;
	transition: background 200ms ease, color 200ms ease, transform 200ms ease;
}
.ag-footer__social a:hover {
	background: #008FFF;
	color: #001A2E;
	transform: translateY(-2px);
}

.ag-footer__heading {
	margin: 0 0 1.25rem;
	color: #008FFF;
	font-size: 0.8125rem;
	font-weight: 700;
	letter-spacing: 0.0625rem;
	text-transform: uppercase;
}

.ag-footer__links {
	list-style: none;
	margin: 0;
	padding: 0;
}
.ag-footer__links li { margin: 0 0 0.625rem; }
.ag-footer__links a {
	display: inline-block;
	color: rgba(255, 255, 255, 0.78);
	font-size: 0.9375rem;
	line-height: 1.5;
	text-decoration: none;
	transition: color 160ms ease, transform 160ms ease;
}
.ag-footer__links a:hover {
	color: #FFFFFF;
	transform: translateX(3px);
}

.ag-footer__bottom {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
	align-items: center;
	justify-content: space-between;
	padding-top: 1.75rem;
	border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.ag-footer__copy,
.ag-footer__legal {
	margin: 0;
	color: rgba(255, 255, 255, 0.55);
	font-size: 0.8125rem;
}
.ag-footer__legal a {
	color: rgba(255, 255, 255, 0.55);
	text-decoration: none;
	transition: color 160ms ease;
}
.ag-footer__legal a:hover { color: #008FFF; }

@media (max-width: 1024px) {
	.ag-footer__grid {
		grid-template-columns: 1fr 1fr;
		gap: 2.5rem 2rem;
	}
	.ag-footer__brand { grid-column: 1 / -1; max-width: 480px; }
}
@media (max-width: 600px) {
	.ag-footer__grid { grid-template-columns: 1fr; gap: 2rem; }
	.ag-footer__brand { grid-column: auto; }
	.ag-footer__bottom { flex-direction: column; align-items: flex-start; gap: 0.5rem; }
}

@media (prefers-reduced-motion: reduce) {
	.ag-footer__social a,
	.ag-footer__links a { transition: none !important; }
}

/* Footer subscribe block */
.ag-footer__subscribe {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 3rem;
	align-items: center;
	padding-bottom: 2.75rem;
	margin-bottom: 3rem;
	border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.ag-footer__subscribe-heading {
	margin: 0 0 0.35rem;
	font-size: 1.4rem;
	font-weight: 700;
	letter-spacing: -0.01em;
	color: #FFFFFF;
}
.ag-footer__subscribe-text {
	margin: 0;
	font-size: 0.95rem;
	line-height: 1.55;
	color: rgba(255, 255, 255, 0.65);
}
@media (max-width: 768px) {
	.ag-footer__subscribe {
		grid-template-columns: 1fr;
		gap: 1.25rem;
		padding-bottom: 2rem;
		margin-bottom: 2.25rem;
	}
}

/* HubSpot subscribe form: scoped overrides under .ag-subscribe */
.ag-subscribe form.hs-form {
	display: flex !important;
	flex-wrap: wrap;
	gap: 0.5rem;
	align-items: stretch;
	max-width: 480px;
	margin-left: auto;
}
.ag-subscribe form.hs-form > input[type="hidden"],
.ag-subscribe form.hs-form > iframe { display: none !important; }
.ag-subscribe form.hs-form .hs-form-field {
	flex: 1 1 220px;
	margin: 0 !important;
	padding: 0 !important;
	width: auto !important;
	max-width: none !important;
}
.ag-subscribe form.hs-form .hs-form-field > label {
	position: absolute !important;
	width: 1px; height: 1px;
	padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0,0,0,0);
	white-space: nowrap; border: 0;
}
.ag-subscribe form.hs-form .hs-form-field .input { margin: 0 !important; }
.ag-subscribe form.hs-form input.hs-input {
	width: 100% !important;
	height: 100%;
	min-height: 2.85rem;
	padding: 0.85rem 1rem !important;
	font-size: 0.95rem !important;
	font-family: inherit !important;
	line-height: 1.3 !important;
	color: #FFFFFF !important;
	background: rgba(255, 255, 255, 0.06) !important;
	border: 1px solid rgba(255, 255, 255, 0.18) !important;
	border-radius: 2px !important;
	transition: border-color 160ms ease, background 160ms ease;
	box-sizing: border-box !important;
	-webkit-appearance: none;
	appearance: none;
}
.ag-subscribe form.hs-form input.hs-input::placeholder { color: rgba(255, 255, 255, 0.45) !important; }
.ag-subscribe form.hs-form input.hs-input:-webkit-autofill {
	-webkit-text-fill-color: #FFFFFF;
	-webkit-box-shadow: 0 0 0 1000px rgba(255, 255, 255, 0.06) inset;
}
.ag-subscribe form.hs-form input.hs-input:focus {
	outline: none !important;
	border-color: #008FFF !important;
	background: rgba(255, 255, 255, 0.10) !important;
}
.ag-subscribe form.hs-form .hs_submit {
	flex: 0 0 auto;
	align-self: stretch;
	margin: 0 !important;
	padding: 0 !important;
}
.ag-subscribe form.hs-form .hs_submit .actions { padding: 0 !important; margin: 0 !important; }
.ag-subscribe form.hs-form input.hs-button {
	height: 100%;
	min-height: 2.85rem;
	background: #008FFF !important;
	color: #FFFFFF !important;
	border: 0 !important;
	padding: 0.85rem 1.4rem !important;
	font-size: 0.85rem !important;
	font-weight: 700 !important;
	letter-spacing: 0.0625rem !important;
	text-transform: uppercase !important;
	cursor: pointer;
	border-radius: 2px !important;
	font-family: inherit !important;
	transition: background 160ms ease;
	-webkit-appearance: none;
	appearance: none;
}
.ag-subscribe form.hs-form input.hs-button:hover { background: #007ae6 !important; }
.ag-subscribe form.hs-form .hs-error-msgs {
	flex: 1 1 100%;
	list-style: none;
	padding: 0;
	margin: 0.4rem 0 0;
	font-size: 0.8rem;
	color: #ff8c8c;
}
.ag-subscribe .submitted-message,
.ag-subscribe .hs-form .submitted-message {
	font-size: 0.95rem;
	color: rgba(255, 255, 255, 0.85);
	max-width: 480px;
	margin-left: auto;
}
@media (max-width: 768px) {
	.ag-subscribe form.hs-form { margin-left: 0; }
}

/* ============================================================
   About — team grid (patterns/about-team.php)
   ============================================================ */
.ag-team-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 2.5rem 2rem;
}
.ag-team-card {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
}
.ag-team-card__photo {
	width: 160px;
	height: 160px;
	border-radius: 50%;
	overflow: hidden;
	margin-bottom: 1.1rem;
	background: #F5F7FA;
	box-shadow: 0 6px 16px -10px rgba(0, 26, 46, 0.35);
	border: 3px solid #FFFFFF;
	outline: 1px solid rgba(0, 26, 46, 0.06);
	transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease;
}
.ag-team-card:hover .ag-team-card__photo {
	transform: translateY(-4px);
	box-shadow: 0 14px 28px -12px rgba(0, 26, 46, 0.30);
}
.ag-team-card__photo img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center top;
}
.ag-team-card__name {
	font-weight: 700;
	font-size: 1.0625rem;
	color: #001A2E;
	line-height: 1.3;
	margin-bottom: 0.25rem;
}
.ag-team-card__title {
	font-size: 0.875rem;
	color: #666666;
	line-height: 1.4;
}

/* Join-us CTA card */
.ag-team-card--cta {
	justify-content: center;
	padding: 1.5rem;
	background: #F5F7FA;
	border-left: 3px solid #008FFF;
	border-radius: 2px;
}
.ag-team-card--cta .ag-team-card__photo { display: none; }
.ag-team-card--cta .ag-team-card__name {
	margin-bottom: 0.5rem;
}
.ag-team-card__eyebrow {
	font-size: 0.75rem;
	color: #008FFF;
	text-transform: uppercase;
	letter-spacing: 0.15rem;
	font-weight: 700;
	margin-bottom: 0.5rem;
}
.ag-team-card__link {
	font-size: 0.95rem;
	font-weight: 700;
	color: #06549A;
	text-decoration: none;
	transition: transform 0.25s ease;
	display: inline-block;
}
.ag-team-card__link:hover { transform: translateX(4px); }

@media (max-width: 1024px) { .ag-team-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 768px)  {
	.ag-team-grid { grid-template-columns: repeat(2, 1fr); gap: 2rem 1.5rem; }
	.ag-team-card__photo { width: 140px; height: 140px; }
}
@media (max-width: 480px)  {
	.ag-team-grid { grid-template-columns: 1fr; gap: 2rem; }
	.ag-team-card { align-items: center; text-align: center; }
	.ag-team-card--cta { align-items: flex-start; text-align: left; }
}

@media (prefers-reduced-motion: reduce) {
	.ag-team-card__photo,
	.ag-team-card__link { transition: none !important; }
}

/* ============================================================
   HubSpot embedded form on /contact-us/ — match ArcherGrey UI
   ============================================================ */
.ag-hubspot-form .hs-form-field {
	margin-bottom: 1.25rem;
}
.ag-hubspot-form form {
	font-family: inherit;
}
.ag-hubspot-form label,
.ag-hubspot-form .hs-form-field > label,
.ag-hubspot-form .hs-form-field > label > span {
	display: block;
	font-size: 0.7rem;
	color: #06549A;
	text-transform: uppercase;
	letter-spacing: 0.15rem;
	font-weight: 700;
	margin-bottom: 0.4rem;
	line-height: 1.2;
}
.ag-hubspot-form .hs-form-required {
	color: #B00020;
	margin-left: 0.2rem;
}
.ag-hubspot-form input[type="text"],
.ag-hubspot-form input[type="email"],
.ag-hubspot-form input[type="tel"],
.ag-hubspot-form input[type="number"],
.ag-hubspot-form select,
.ag-hubspot-form textarea {
	width: 100% !important;
	padding: 0.75rem 0.9rem;
	border: 1px solid #D6DCE5;
	border-radius: 2px;
	font-family: inherit;
	font-size: 1rem;
	color: #001A2E;
	background: #FFFFFF;
	box-sizing: border-box;
	line-height: 1.4;
}
.ag-hubspot-form textarea {
	resize: vertical;
	min-height: 120px;
}
.ag-hubspot-form input:focus,
.ag-hubspot-form select:focus,
.ag-hubspot-form textarea:focus {
	outline: 2px solid #008FFF;
	outline-offset: 1px;
	border-color: #008FFF;
}

/* Side-by-side first/last name etc. when HS uses .form-columns-2 */
.ag-hubspot-form .form-columns-2 {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1rem;
}
.ag-hubspot-form .form-columns-2 .hs-form-field {
	width: 100% !important;
	float: none !important;
	padding: 0 !important;
}
.ag-hubspot-form .form-columns-1 .hs-form-field {
	width: 100% !important;
	float: none !important;
	padding: 0 !important;
}
.ag-hubspot-form .input {
	margin-right: 0 !important;
}

/* Checkbox / consent rows */
.ag-hubspot-form .hs-form-booleancheckbox,
.ag-hubspot-form .legal-consent-container .hs-form-booleancheckbox {
	list-style: none;
	margin: 0 0 0.5rem;
	padding: 0;
}
.ag-hubspot-form .hs-form-booleancheckbox-display {
	display: flex !important;
	gap: 0.6rem;
	align-items: flex-start;
	font-size: 0.875rem !important;
	color: #333333 !important;
	line-height: 1.5 !important;
	text-transform: none !important;
	letter-spacing: 0 !important;
	font-weight: 400 !important;
	cursor: pointer;
	margin: 0 !important;
}
.ag-hubspot-form .hs-form-booleancheckbox-display input[type="checkbox"] {
	margin-top: 0.2rem;
	flex-shrink: 0;
	accent-color: #008FFF;
}
.ag-hubspot-form .hs-form-booleancheckbox-display > span {
	display: inline !important;
	font-size: 0.875rem !important;
	color: #333333 !important;
	text-transform: none !important;
	letter-spacing: 0 !important;
	font-weight: 400 !important;
	margin: 0 !important;
}
.ag-hubspot-form .legal-consent-container,
.ag-hubspot-form .hs-richtext {
	font-size: 0.875rem;
	color: #333333;
	line-height: 1.5;
	margin: 0.75rem 0;
}
.ag-hubspot-form .legal-consent-container a,
.ag-hubspot-form .hs-richtext a {
	color: #06549A;
	font-weight: 600;
}

/* Submit button */
.ag-hubspot-form .hs-submit {
	margin-top: 0.5rem;
}
.ag-hubspot-form .hs-button,
.ag-hubspot-form input[type="submit"] {
	background: #008FFF;
	color: #FFFFFF;
	font-size: 0.95rem;
	font-weight: 700;
	letter-spacing: 0.0625rem;
	text-transform: uppercase;
	padding: 1rem 1.75rem;
	border-radius: 2px;
	border: 0;
	cursor: pointer;
	font-family: inherit;
	transition: background 180ms ease, transform 180ms ease;
}
.ag-hubspot-form .hs-button:hover,
.ag-hubspot-form input[type="submit"]:hover {
	background: #007ae6;
	transform: translateY(-1px);
}

/* Validation errors */
.ag-hubspot-form .hs-error-msg,
.ag-hubspot-form .hs-error-msgs label {
	color: #B00020 !important;
	font-size: 0.8125rem !important;
	font-weight: 600 !important;
	text-transform: none !important;
	letter-spacing: 0 !important;
	margin-top: 0.3rem;
}
.ag-hubspot-form .hs-form-field input.invalid,
.ag-hubspot-form .hs-form-field textarea.invalid,
.ag-hubspot-form .hs-form-field select.invalid {
	border-color: #B00020;
}

/* Success message after submit */
.ag-hubspot-form .submitted-message {
	font-size: 1rem;
	color: #001A2E;
	line-height: 1.6;
}

/* Mobile: collapse 2-column rows */
@media (max-width: 600px) {
	.ag-hubspot-form .form-columns-2 { grid-template-columns: 1fr; }
}

/* Neutralize wp-block-shortcode wrapper margins + any wpautop-injected
   empty paragraphs between case-study sections. WP wraps each
   <!-- wp:shortcode --> block in markup that picks up default block
   margins, plus the whitespace between shortcode blocks in the
   template can become empty <p>s after wpautop. */
.single-case_study main p:empty,
.single-case_study main .wp-block-shortcode > p:empty { display: none !important; }
.single-case_study main .wp-block-shortcode { margin: 0 !important; }

/* ============================================================
   Case Study template (single-case_study.html)
   Brand tokens: navy #001A2E, blue #06549A, bright #008FFF,
   ink #333333, muted #666666, surface #F5F7FA, border #E5E9EF.
   Typography: H1/H2 inherit Source Serif 4 from global rules;
   body inherits Lato.
   ============================================================ */

/* HERO ----------------------------------------------------- */
.cs-hero {
	background: #001A2E;
	color: #FFFFFF;
	padding: 5rem 2rem 5rem;
}
.cs-hero__inner {
	max-width: 1240px;
	margin: 0 auto;
}
.cs-hero__breadcrumb {
	font-size: 0.85rem;
	color: rgba(255, 255, 255, 0.55);
	margin-bottom: 2rem;
}
.cs-hero__breadcrumb a {
	color: inherit;
	text-decoration: none;
	transition: color 160ms ease;
}
.cs-hero__breadcrumb a:hover { color: #008FFF; }
.cs-hero__breadcrumb-sep { margin: 0 0.5rem; opacity: 0.5; }
.cs-hero__grid {
	display: grid;
	grid-template-columns: 1.15fr 1fr;
	gap: 4rem;
	align-items: center;
}
.cs-hero__eyebrow {
	font-size: 0.875rem;
	font-weight: 700;
	letter-spacing: 0.18rem;
	text-transform: uppercase;
	color: #008FFF;
	margin: 0 0 1.25rem;
}
.cs-hero__title {
	color: #FFFFFF !important;
	font-size: clamp(2rem, 3.5vw, 3rem);
	font-weight: 700 !important;
	line-height: 1.15;
	margin: 0 0 1.5rem;
}
.cs-hero__excerpt {
	margin: 0 0 2rem;
	color: rgba(255, 255, 255, 0.78);
	font-size: 1.1rem;
	line-height: 1.55;
}
.cs-hero__tags {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
}
.cs-tag {
	display: inline-flex;
	align-items: center;
	font-size: 0.72rem;
	letter-spacing: 0.15rem;
	text-transform: uppercase;
	font-weight: 700;
	padding: 0.45rem 0.85rem;
	border: 1px solid rgba(255, 255, 255, 0.25);
	border-radius: 2px;
	color: rgba(255, 255, 255, 0.85);
	background: transparent;
}
.cs-tag--solid {
	background: #008FFF;
	color: #FFFFFF;
	border-color: #008FFF;
}
.cs-hero__image {
	aspect-ratio: 4 / 3;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	border: 1px solid rgba(255, 255, 255, 0.1);
	box-shadow: 0 18px 40px rgba(0, 0, 0, 0.25);
}
.cs-hero__image--placeholder {
	background-color: rgba(255, 255, 255, 0.05);
	background-image: linear-gradient(135deg, rgba(255, 255, 255, 0.03) 0%, rgba(0, 143, 255, 0.08) 100%);
}

/* SNAPSHOT ------------------------------------------------- */
.cs-snapshot-section {
	padding: 0 2rem;
	margin-top: -2.5rem;
	position: relative;
	z-index: 2;
}
.cs-snapshot {
	max-width: 1100px;
	margin: 0 auto;
	background: #FFFFFF;
	border-top: 3px solid #008FFF;
	padding: 2.5rem;
	display: grid;
	grid-template-columns: 1fr 1.1fr 1.4fr auto;
	gap: 2.5rem;
	align-items: start;
	box-shadow: 0 18px 40px rgba(0, 26, 46, 0.10);
}
.cs-snapshot__cell {
	display: flex;
	flex-direction: column;
	gap: 0.55rem;
}
.cs-snapshot__label {
	font-size: 0.7rem;
	font-weight: 700;
	letter-spacing: 0.18rem;
	text-transform: uppercase;
	color: #06549A;
}
.cs-snapshot__value {
	font-size: 1.05rem;
	font-weight: 700;
	color: #001A2E;
	line-height: 1.4;
}
.cs-snapshot__chips {
	display: flex;
	flex-wrap: wrap;
	gap: 0.4rem;
}
.cs-snapshot__chip {
	display: inline-flex;
	align-items: center;
	padding: 0.3rem 0.65rem;
	font-size: 0.78rem;
	font-weight: 600;
	color: #001A2E;
	background: #F5F7FA;
	border: 1px solid #E5E9EF;
	border-radius: 2px;
}
.cs-snapshot__bg {
	font-size: 0.92rem;
	color: #333333;
	line-height: 1.55;
	font-weight: 400;
	margin: 0;
}
.cs-snapshot__cta {
	display: inline-flex;
	align-items: center;
	gap: 0.6rem;
	padding: 0.85rem 1.2rem;
	background: #001A2E;
	color: #FFFFFF;
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.1rem;
	text-transform: uppercase;
	border-radius: 2px;
	text-decoration: none;
	white-space: nowrap;
	transition: background 160ms ease, transform 160ms ease;
	align-self: end;
}
.cs-snapshot__cta:hover {
	background: #008FFF;
	transform: translateY(-2px);
}
.cs-snapshot__cta-icon {
	width: 16px;
	height: 16px;
	display: inline-flex;
}

/* CONTENT SECTIONS ----------------------------------------- */
.cs-content-section {
	padding: 1.75rem 2rem;
}
.cs-content-section--approach,
.cs-content-section--outcomes {
	padding-top: 60px;
	padding-bottom: 60px;
}
.cs-content-section--surface { background: #F5F7FA; }
.cs-content-section__inner {
	max-width: 820px;
	margin: 0 auto;
}
.cs-content-section .cs-eyebrow {
	font-size: 0.8125rem;
	font-weight: 700;
	letter-spacing: 0.18rem;
	text-transform: uppercase;
	color: #008FFF;
	margin: 0 0 0.85rem;
}
.cs-content-section h2 {
	font-size: clamp(1.75rem, 3vw, 2.25rem);
	color: #001A2E;
	margin: 0 0 1.5rem;
	line-height: 1.15;
}
.cs-content-body p {
	margin: 0 0 1.25rem;
	color: #333333;
	font-size: 1.0625rem;
	line-height: 1.75;
}
.cs-content-body p:last-child { margin-bottom: 0; }
.cs-content-body strong { color: #001A2E; }
.cs-content-body ul {
	margin: 0 0 1.25rem;
	padding: 0;
	list-style: none;
}
.cs-content-body ul li {
	position: relative;
	padding-left: 1.5rem;
	margin-bottom: 0.6rem;
	font-size: 1.0625rem;
	line-height: 1.7;
}
.cs-content-body ul li::before {
	content: "→";
	position: absolute;
	left: 0;
	color: #008FFF;
	font-weight: 700;
}

/* Optional inflection-point stat row */
.cs-stat-row {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1.5rem;
	margin: 2.5rem 0 0;
}
.cs-stat {
	background: #FFFFFF;
	border-top: 3px solid #008FFF;
	padding: 1.5rem;
}
.cs-stat__num {
	font-size: 2rem;
	font-weight: 800;
	color: #001A2E;
	line-height: 1;
	letter-spacing: -0.02em;
}
.cs-stat__label {
	font-size: 0.85rem;
	color: #666666;
	margin-top: 0.4rem;
	line-height: 1.4;
}

/* PULL QUOTE ----------------------------------------------- */
.cs-quote {
	background: #001A2E;
	color: #FFFFFF;
	padding: 5rem 2rem;
}
.cs-quote__inner {
	max-width: 900px;
	margin: 0 auto;
}
.cs-quote__mark {
	font-family: 'Source Serif 4', Georgia, 'Times New Roman', serif;
	font-size: 5rem;
	color: #008FFF;
	line-height: 0.7;
	margin-bottom: 0.5rem;
	display: block;
}
.cs-quote__text {
	font-family: 'Source Serif 4', Georgia, 'Times New Roman', serif;
	font-size: clamp(1.5rem, 2.5vw, 2rem);
	font-weight: 500;
	font-style: italic;
	line-height: 1.35;
	color: #FFFFFF;
	margin: 0 0 1.5rem;
}
.cs-quote__attr {
	font-size: 0.9rem;
	font-weight: 700;
	letter-spacing: 0.15rem;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.6);
	margin: 0;
}

/* CTA BAND ------------------------------------------------- */
.cs-cta-band {
	background: #F5F7FA;
	padding: 5rem 2rem;
	text-align: center;
}
.cs-cta-band h2 {
	font-size: 2.25rem;
	max-width: 720px;
	margin: 0 auto 1rem;
	color: #001A2E;
}
.cs-cta-band p {
	max-width: 620px;
	margin: 0 auto 2rem;
	font-size: 1.1rem;
	color: #666666;
}
.cs-cta-band__btn {
	display: inline-block;
	background: #008FFF;
	color: #FFFFFF;
	font-size: 0.85rem;
	font-weight: 700;
	letter-spacing: 0.1rem;
	text-transform: uppercase;
	padding: 1rem 1.6rem;
	border-radius: 2px;
	text-decoration: none;
	transition: background 160ms ease, transform 160ms ease;
}
.cs-cta-band__btn:hover {
	background: #007ae6;
	transform: translateY(-2px);
}

/* RELATED RESOURCES ---------------------------------------- */
.cs-related {
	padding: 5rem 2rem;
	background: #F5F7FA;
}
.cs-related__inner {
	max-width: 1100px;
	margin: 0 auto;
}
.cs-related .cs-eyebrow {
	font-size: 0.8125rem;
	font-weight: 700;
	letter-spacing: 0.18rem;
	text-transform: uppercase;
	color: #008FFF;
	margin: 0 0 0.85rem;
}
.cs-related h2 {
	font-size: 2rem;
	margin: 0.5rem 0 2.5rem;
	color: #001A2E;
}
.cs-related__grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1.5rem;
}
.cs-related-card {
	background: #FFFFFF;
	border-top: 3px solid #008FFF;
	display: flex;
	flex-direction: column;
	text-decoration: none;
	color: inherit;
	transition: transform 200ms ease, box-shadow 200ms ease;
}
.cs-related-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 18px 32px rgba(0, 26, 46, 0.10);
}
.cs-related-card__image {
	aspect-ratio: 16 / 9;
	background: #d9dee5 center/cover no-repeat;
}
.cs-related-card__body {
	padding: 1.5rem 1.5rem 1.75rem;
	display: flex;
	flex-direction: column;
	flex: 1;
}
.cs-related-card__tag {
	font-size: 0.7rem;
	letter-spacing: 0.15rem;
	text-transform: uppercase;
	color: #06549A;
	font-weight: 700;
	margin-bottom: 0.65rem;
}
.cs-related-card__title {
	font-family: 'Source Serif 4', Georgia, 'Times New Roman', serif;
	font-size: 1.15rem;
	font-weight: 700;
	color: #001A2E;
	line-height: 1.3;
	margin: 0 0 0.75rem;
	letter-spacing: -0.01em;
}
.cs-related-card__excerpt {
	font-size: 0.9rem;
	color: #666666;
	line-height: 1.55;
	margin: 0 0 1.25rem;
	flex: 1;
}
.cs-related-card__more {
	font-size: 0.85rem;
	font-weight: 700;
	color: #06549A;
}

/* Responsive */
@media (max-width: 1024px) {
	.cs-hero__grid { grid-template-columns: 1fr; gap: 2.5rem; }
	.cs-hero__image { max-width: 600px; }
	.cs-snapshot { grid-template-columns: 1fr 1fr; gap: 1.75rem; padding: 2rem; }
	.cs-snapshot__cta { grid-column: 1 / -1; align-self: start; justify-self: start; }
	.cs-stat-row { grid-template-columns: 1fr; }
	.cs-related__grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
	.cs-snapshot { grid-template-columns: 1fr; gap: 1.5rem; padding: 1.75rem; }
	.cs-content-section,
	.cs-quote,
	.cs-cta-band,
	.cs-related { padding: 3.5rem 1.25rem; }
	.cs-hero { padding: 4rem 1.25rem 5rem; }
	.cs-snapshot-section { padding: 0 1.25rem; }
}

@media (prefers-reduced-motion: reduce) {
	.cs-snapshot__cta,
	.cs-cta-band__btn,
	.cs-related-card { transition: none !important; }
	.cs-snapshot__cta:hover,
	.cs-cta-band__btn:hover,
	.cs-related-card:hover { transform: none !important; }
}
