:root {
	--ag-bg: #031427;
	--ag-navy: #071329;
	--ag-deep: #0b1f3a;
	--ag-panel: #102034;
	--ag-panel-2: #1b2a41;
	--ag-panel-3: #26364a;
	--ag-line: #334155;
	--ag-line-soft: rgba(185, 229, 243, .18);
	--ag-glass: #b9e5f3;
	--ag-text: #f8fafc;
	--ag-text-soft: #cbd5e1;
	--ag-muted: #94a3b8;
	--ag-dark-text: #0f172a;
	--ag-orange: #f97316;
	--ag-orange-hover: #ea580c;
	--ag-radius: 8px;
	--ag-radius-sm: 4px;
	--ag-header-h: 72px;
	/* Solutions is the visual source of truth for later cross-template unification. */
	--ag-solutions-bg: #031427;
	--ag-solutions-surface: #102034;
	--ag-solutions-card: rgba(16, 32, 52, .96);
	--ag-solutions-card-on-surface: rgba(3, 20, 39, .62);
	--ag-solutions-border: #334155;
	--ag-solutions-text: #f8fafc;
	--ag-solutions-text-soft: #cbd5e1;
	--ag-solutions-accent: #5bc0ff;
	--ag-solutions-action: #ffb95f;
	--ag-solutions-action-hover: #f97316;
	/* Phase 12D semantic design tokens shared by every theme template. */
	--ag-surface-base: var(--ag-solutions-bg);
	--ag-surface-raised: var(--ag-solutions-surface);
	--ag-surface-card: var(--ag-solutions-card);
	--ag-surface-card-alt: var(--ag-solutions-card-on-surface);
	--ag-border-subtle: rgba(185, 229, 243, .18);
	--ag-border-strong: rgba(91, 192, 255, .38);
	--ag-action: var(--ag-solutions-action);
	--ag-action-hover: var(--ag-solutions-action-hover);
	--ag-accent: var(--ag-solutions-accent);
	--ag-card-radius: 10px;
	--ag-card-shadow: 0 16px 42px rgba(0, 7, 18, .16);
	--ag-focus-ring: 0 0 0 3px rgba(91, 192, 255, .24);
	--ag-readable: 82ch;
	--ag-section-space: clamp(64px, 6vw, 92px);
}

* {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	background: var(--ag-bg);
	color: var(--ag-text);
	font-family: Inter, "Segoe UI", Roboto, Arial, sans-serif;
	font-size: 16px;
	line-height: 1.65;
}

a {
	color: inherit;
}

img {
	max-width: 100%;
	height: auto;
}

table {
	width: 100%;
	border-collapse: collapse;
}

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

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

.ag-container {
	width: min(1440px, calc(100% - 40px));
	margin: 0 auto;
}

.ag-main {
	min-height: 60vh;
	background: var(--ag-bg);
}

.ag-grid-bg {
	background-image:
		linear-gradient(to right, rgba(185, 229, 243, .06) 1px, transparent 1px),
		linear-gradient(to bottom, rgba(185, 229, 243, .06) 1px, transparent 1px);
	background-size: 40px 40px;
}

.ag-site-header {
	position: sticky;
	top: 0;
	z-index: 50;
	background: rgba(3, 20, 39, .9);
	border-bottom: 1px solid var(--ag-line);
	backdrop-filter: blur(12px);
}

.ag-header-inner {
	min-height: var(--ag-header-h);
	display: flex;
	align-items: center;
	gap: 28px;
}

.ag-brand {
	flex: 0 0 auto;
}

.ag-logo-link {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	text-decoration: none;
	color: var(--ag-text);
	font-weight: 900;
}

.ag-logo-mark {
	width: 34px;
	height: 34px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 6px;
	color: var(--ag-bg);
	background: linear-gradient(135deg, var(--ag-glass), #f8fafc 52%, #ffb95f);
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .5);
}

.ag-logo-text {
	font-size: 27px;
	line-height: 1;
	color: #d3e4fe;
}

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

.custom-logo {
	display: block;
	max-height: 46px;
	width: auto;
}

.ag-primary-nav {
	flex: 1 1 auto;
	display: flex;
	justify-content: center;
	min-width: 0;
}

.ag-nav-list {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 18px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.ag-nav-list a {
	position: relative;
	display: block;
	padding: 8px 0;
	color: var(--ag-text-soft);
	text-decoration: none;
	font-family: "JetBrains Mono", Consolas, monospace;
	font-size: 13px;
	font-weight: 800;
	white-space: nowrap;
}

.ag-nav-list a::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 2px;
	background: transparent;
}

.ag-nav-list a:hover,
.ag-nav-list .current-menu-item > a {
	color: var(--ag-text);
}

.ag-nav-list a:hover::after,
.ag-nav-list .current-menu-item > a::after {
	background: #ffb95f;
}

.ag-header-cta,
.ag-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	padding: 12px 20px;
	border: 1px solid transparent;
	border-radius: var(--ag-radius-sm);
	text-decoration: none;
	font-family: "JetBrains Mono", Consolas, monospace;
	font-size: 13px;
	font-weight: 900;
	line-height: 1.2;
	cursor: pointer;
	transition: background .18s ease, border-color .18s ease, color .18s ease;
}

.ag-header-cta,
.ag-button-primary {
	background: #ffb95f;
	color: var(--ag-dark-text);
}

.ag-header-cta:hover,
.ag-button-primary:hover {
	background: var(--ag-orange);
	color: #fff;
}

.ag-header-cta {
	flex: 0 0 auto;
	min-height: 40px;
	padding: 10px 18px;
	white-space: nowrap;
}

.ag-button-secondary {
	color: var(--ag-text);
	border-color: var(--ag-line);
	background: rgba(16, 32, 52, .55);
}

.ag-button-secondary:hover {
	border-color: #ffb95f;
	color: #ffddb8;
}

.ag-text-link {
	color: #ffb95f;
	font-family: "JetBrains Mono", Consolas, monospace;
	font-size: 13px;
	font-weight: 800;
	text-decoration: none;
}

.ag-text-link:hover {
	color: var(--ag-orange);
}

.ag-nav-toggle {
	display: none;
	width: 42px;
	height: 42px;
	border: 1px solid var(--ag-line);
	border-radius: var(--ag-radius-sm);
	background: rgba(16, 32, 52, .8);
	padding: 10px;
}

.ag-nav-toggle span:not(.screen-reader-text) {
	display: block;
	height: 2px;
	margin: 5px 0;
	background: var(--ag-text);
	border-radius: 2px;
}

.ag-hero {
	position: relative;
	min-height: 780px;
	display: flex;
	align-items: center;
	overflow: hidden;
	border-bottom: 1px solid var(--ag-line);
	background: var(--ag-bg);
}

.ag-hero-bg,
.ag-detail-hero-bg {
	position: absolute;
	inset: 0;
	background:
		linear-gradient(90deg, rgba(3, 20, 39, .96) 0%, rgba(3, 20, 39, .82) 52%, rgba(3, 20, 39, .94) 100%),
		url("../images/industrial-hero.jpg") center / cover no-repeat;
	filter: saturate(.9);
}

.ag-hero-grid {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: minmax(0, 1fr) 360px;
	gap: 48px;
	align-items: end;
	padding: 90px 0 110px;
}

.ag-hero-copy {
	max-width: 920px;
}

.ag-kicker,
.ag-eyebrow {
	margin: 0 0 14px;
	color: #ffb95f;
	font-family: "JetBrains Mono", Consolas, monospace;
	font-size: 12px;
	font-weight: 900;
	text-transform: uppercase;
	letter-spacing: 0;
}

.ag-kicker {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 8px 12px;
	border: 1px solid var(--ag-line);
	border-radius: var(--ag-radius-sm);
	background: rgba(16, 32, 52, .5);
}

.ag-kicker span {
	width: 9px;
	height: 9px;
	border-radius: 50%;
	background: #ffb95f;
}

.ag-hero h1,
.ag-page-hero h1,
.ag-detail-hero h1 {
	margin: 0;
	max-width: 900px;
	color: #dbeafe;
	font-family: "Hanken Grotesk", Inter, sans-serif;
	font-size: 60px;
	line-height: 1.12;
	font-weight: 800;
}

.ag-hero p,
.ag-page-hero p,
.ag-detail-hero p {
	max-width: 760px;
	margin: 26px 0 0;
	color: var(--ag-text-soft);
	font-size: 20px;
	line-height: 1.55;
}

.ag-hero-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 18px;
	margin-top: 36px;
}

.ag-hero-spec,
.ag-spec-card {
	padding: 22px;
	border: 1px solid var(--ag-line);
	border-radius: var(--ag-radius);
	background: rgba(16, 32, 52, .86);
	backdrop-filter: blur(8px);
}

.ag-hero-spec > span,
.ag-spec-card > span {
	display: block;
	margin-bottom: 8px;
	color: #ffb95f;
	font-family: "JetBrains Mono", Consolas, monospace;
	font-size: 12px;
	font-weight: 900;
}

.ag-hero-spec strong {
	display: block;
	margin-bottom: 18px;
	color: var(--ag-text);
	font-size: 22px;
	line-height: 1.25;
}

.ag-hero-spec dl,
.ag-spec-card dl {
	display: grid;
	gap: 0;
	margin: 0;
}

.ag-hero-spec dl div,
.ag-spec-card dl div {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 18px;
	padding: 12px 0;
	border-top: 1px solid var(--ag-line);
}

.ag-hero-spec dt,
.ag-spec-card dt {
	color: var(--ag-muted);
	font-weight: 700;
}

.ag-hero-spec dd,
.ag-spec-card dd {
	margin: 0;
	color: #dbeafe;
	font-family: "JetBrains Mono", Consolas, monospace;
	font-size: 13px;
	font-weight: 800;
	text-align: right;
}

.ag-trust {
	background: var(--ag-panel);
	border-bottom: 1px solid var(--ag-line);
}

.ag-trust-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 1px;
	padding: 26px 0;
}

.ag-trust-grid div {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	min-height: 72px;
	color: var(--ag-text-soft);
	font-family: "JetBrains Mono", Consolas, monospace;
	font-size: 13px;
	font-weight: 800;
	text-align: center;
}

.ag-trust-grid span {
	width: 14px;
	height: 14px;
	border-radius: 50%;
	border: 2px solid #ffb95f;
	box-shadow: 0 0 18px rgba(255, 185, 95, .3);
}

.ag-section {
	padding: 86px 0;
}

.ag-section-dark {
	color: var(--ag-text);
	background: var(--ag-bg);
}

.ag-section-surface,
.ag-section-alt {
	color: var(--ag-text);
	background: var(--ag-panel);
	border-top: 1px solid var(--ag-line);
	border-bottom: 1px solid var(--ag-line);
}

.ag-section-heading {
	max-width: 860px;
	margin: 0 auto 36px;
	text-align: center;
}

.ag-section-heading-split,
.ag-split-heading {
	max-width: none;
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(260px, 440px);
	gap: 32px;
	align-items: end;
	text-align: left;
}

.ag-section-heading h2,
.ag-split-heading h2,
.ag-rfq-heading h2,
.ag-cta-band h2,
.ag-page-content h2,
.ag-detail-content h2,
.ag-checklist-grid h2,
.ag-info-grid h2 {
	margin: 0;
	color: #dbeafe;
	font-family: "Hanken Grotesk", Inter, sans-serif;
	font-size: 38px;
	line-height: 1.18;
	font-weight: 800;
}

.ag-section-heading p,
.ag-split-heading p,
.ag-info-grid p,
.ag-page-content p {
	margin: 14px 0 0;
	color: var(--ag-text-soft);
}

.ag-card-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 24px;
}

.ag-card {
	position: relative;
	display: flex;
	min-height: 230px;
	flex-direction: column;
	padding: 24px;
	overflow: hidden;
	border: 1px solid var(--ag-line);
	border-radius: var(--ag-radius);
	background:
		linear-gradient(145deg, rgba(27, 42, 65, .95), rgba(16, 32, 52, .95)),
		linear-gradient(to bottom, rgba(185, 229, 243, .08), transparent);
	color: var(--ag-text);
	text-decoration: none;
}

.ag-card::after {
	content: "";
	position: absolute;
	inset: auto -20% -40% 35%;
	height: 120px;
	background: radial-gradient(circle, rgba(185, 229, 243, .12), transparent 64%);
	pointer-events: none;
}

.ag-card:hover {
	border-color: rgba(255, 185, 95, .75);
	background: linear-gradient(145deg, rgba(38, 54, 74, .98), rgba(16, 32, 52, .98));
}

.ag-card-mark {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: fit-content;
	min-width: 64px;
	height: 28px;
	margin-bottom: auto;
	padding: 0 9px;
	border: 1px solid var(--ag-line);
	border-radius: var(--ag-radius-sm);
	background: rgba(3, 20, 39, .55);
	color: var(--ag-glass);
	font-family: "JetBrains Mono", Consolas, monospace;
	font-size: 12px;
	font-weight: 900;
}

.ag-card h3 {
	margin: 28px 0 10px;
	color: #f8fafc;
	font-size: 22px;
	line-height: 1.25;
}

.ag-card p {
	margin: 0;
	color: var(--ag-text-soft);
	font-size: 15px;
}

.ag-two-panels,
.ag-checklist-grid,
.ag-info-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 24px;
	align-items: start;
}

.ag-glass-panel,
.ag-info-grid > div,
.ag-checklist-grid > div,
.ag-page-content .ag-info-grid > div {
	padding: 28px;
	border: 1px solid var(--ag-line);
	border-radius: var(--ag-radius);
	background: rgba(16, 32, 52, .95);
}

.ag-glass-panel h2,
.ag-glass-panel h3 {
	margin: 0 0 20px;
	color: #dbeafe;
	font-size: 28px;
	line-height: 1.2;
}

.ag-glass-panel .ag-card-grid {
	grid-template-columns: 1fr;
}

.ag-chip-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
}

.ag-chip-grid a {
	display: flex;
	align-items: center;
	min-height: 52px;
	padding: 12px 14px;
	border: 1px solid var(--ag-line);
	border-radius: var(--ag-radius-sm);
	background: rgba(3, 20, 39, .42);
	color: var(--ag-text);
	text-decoration: none;
	font-weight: 800;
}

.ag-chip-grid a:hover {
	border-color: #ffb95f;
	color: #ffddb8;
}

.ag-library-list {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 20px;
}

.ag-library-card,
.ag-library-list a {
	display: block;
	min-height: 174px;
	padding: 22px;
	border: 1px solid var(--ag-line);
	border-radius: var(--ag-radius);
	background: rgba(16, 32, 52, .95);
	color: var(--ag-text);
	text-decoration: none;
}

.ag-library-card span,
.ag-library-list a > span {
	display: block;
	margin-bottom: 20px;
	color: #ffb95f;
	font-family: "JetBrains Mono", Consolas, monospace;
	font-size: 12px;
	font-weight: 900;
}

.ag-library-card strong,
.ag-library-list a strong {
	display: block;
	color: #f8fafc;
	font-size: 22px;
	line-height: 1.25;
}

.ag-library-card em,
.ag-library-list a em {
	display: block;
	margin-top: 12px;
	color: var(--ag-muted);
	font-style: normal;
}

.ag-page-hero,
.ag-detail-hero {
	position: relative;
	overflow: hidden;
	color: var(--ag-text);
	background:
		linear-gradient(90deg, rgba(3, 20, 39, .96), rgba(7, 19, 41, .85)),
		var(--ag-bg);
	border-bottom: 1px solid var(--ag-line);
}

.ag-page-hero::before {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(90deg, rgba(3, 20, 39, .95), rgba(3, 20, 39, .72)), url("../images/glass-processing.jpg") center / cover no-repeat;
	opacity: .55;
}

.ag-page-hero-inner {
	position: relative;
	z-index: 1;
	min-height: 390px;
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 32px;
	align-items: center;
	padding: 72px 0;
}

.ag-page-hero-simple .ag-container {
	position: relative;
	z-index: 1;
	padding: 76px 0;
}

.ag-contact-hero::before {
	opacity: .25;
	background: linear-gradient(90deg, rgba(0, 0, 0, .98), rgba(3, 20, 39, .88));
}

.ag-breadcrumb {
	display: flex;
	flex-wrap: wrap;
	gap: 9px;
	margin-bottom: 28px;
	color: var(--ag-muted);
	font-family: "JetBrains Mono", Consolas, monospace;
	font-size: 13px;
	font-weight: 700;
}

.ag-breadcrumb a {
	text-decoration: none;
}

.ag-breadcrumb a:hover {
	color: #ffb95f;
}

.ag-detail-hero {
	min-height: 560px;
	display: flex;
	align-items: center;
}

.ag-detail-hero-bg {
	background:
		linear-gradient(90deg, rgba(3, 20, 39, .98), rgba(3, 20, 39, .72) 58%, rgba(3, 20, 39, .38)),
		url("../images/cnc-glass-machining.jpg") center / cover no-repeat;
}

.ag-detail-hero-grid {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: minmax(0, 1fr) 430px;
	gap: 48px;
	align-items: center;
	padding: 84px 0;
}

.ag-quick-answer h2,
.ag-spec-card h2 {
	margin: 0 0 12px;
	color: #dbeafe;
	font-size: 24px;
}

.ag-quick-answer p {
	margin: 0 0 18px;
	color: var(--ag-text-soft);
	font-size: 15px;
}

.ag-detail-content {
	background: var(--ag-bg);
}

.ag-wp-content,
.ag-detail-grid section,
.ag-detail-block,
.ag-tabbed-summary section {
	border: 1px solid var(--ag-line);
	border-radius: var(--ag-radius);
	background: rgba(16, 32, 52, .95);
}

.ag-wp-content {
	max-width: 960px;
	margin: 0 auto 28px;
	padding: 28px;
	color: var(--ag-text-soft);
}

.ag-wp-content :where(h1, h2, h3, h4) {
	color: #dbeafe;
}

.ag-tabbed-summary {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1px;
	margin-bottom: 28px;
	border: 1px solid var(--ag-line);
	border-radius: var(--ag-radius);
	overflow: hidden;
	background: var(--ag-line);
}

.ag-tabbed-summary section {
	border: 0;
	border-radius: 0;
	padding: 24px;
}

.ag-tabbed-summary span {
	color: #ffb95f;
	font-family: "JetBrains Mono", Consolas, monospace;
	font-weight: 900;
}

.ag-tabbed-summary h2 {
	margin-top: 12px;
	font-size: 24px;
}

.ag-tabbed-summary p {
	color: var(--ag-text-soft);
}

.ag-detail-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 20px;
}

.ag-detail-grid section,
.ag-detail-block {
	padding: 24px;
}

.ag-detail-grid p,
.ag-detail-block p {
	margin: 0;
	color: var(--ag-text-soft);
}

.ag-detail-grid h2,
.ag-detail-block h2 {
	margin: 0 0 12px;
	font-size: 26px;
}

.ag-detail-block {
	margin-top: 20px;
}

.ag-detail-block .ag-card-grid {
	grid-template-columns: repeat(4, minmax(0, 1fr));
}

.ag-faq details {
	border-top: 1px solid var(--ag-line);
	padding: 15px 0;
}

.ag-faq details:first-of-type {
	border-top: 0;
}

.ag-faq summary {
	cursor: pointer;
	color: #f8fafc;
	font-weight: 900;
}

.ag-faq p {
	margin-top: 8px;
}

.ag-table-wrap {
	overflow-x: auto;
	border: 1px solid var(--ag-line);
	border-radius: var(--ag-radius);
	background: rgba(16, 32, 52, .96);
}

.ag-table-wrap th,
.ag-table-wrap td {
	padding: 15px 16px;
	border-bottom: 1px solid var(--ag-line);
	text-align: left;
	vertical-align: top;
}

.ag-table-wrap th {
	color: #dbeafe;
	background: var(--ag-panel-2);
	font-family: "JetBrains Mono", Consolas, monospace;
	font-size: 13px;
}

.ag-table-wrap td {
	color: var(--ag-text-soft);
}

.ag-table-wrap td:nth-child(2),
.ag-table-wrap td:nth-child(3) {
	font-family: "JetBrains Mono", Consolas, monospace;
	font-size: 13px;
}

.ag-table-wrap tr:nth-child(even) td {
	background: rgba(38, 54, 74, .34);
}

.ag-table-wrap tr:last-child td {
	border-bottom: 0;
}

.ag-check-list {
	display: grid;
	gap: 10px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.ag-check-list li {
	position: relative;
	padding-left: 28px;
	color: var(--ag-text-soft);
}

.ag-check-list li::before {
	content: "";
	position: absolute;
	left: 0;
	top: .58em;
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: #ffb95f;
	box-shadow: 0 0 0 4px rgba(255, 185, 95, .12);
}

.ag-process-flow {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 18px;
}

.ag-process-flow div {
	padding: 24px;
	border: 1px solid var(--ag-line);
	border-radius: var(--ag-radius);
	background: rgba(16, 32, 52, .95);
}

.ag-process-flow strong {
	display: block;
	color: #ffb95f;
	font-family: "JetBrains Mono", Consolas, monospace;
	font-size: 28px;
}

.ag-process-flow span {
	display: block;
	margin-top: 12px;
	color: var(--ag-text);
	font-weight: 900;
}

.ag-rfq-section {
	background: #000;
	color: var(--ag-text);
	border-top: 1px solid var(--ag-line);
	border-bottom: 1px solid var(--ag-line);
}

.ag-rfq-heading {
	max-width: 880px;
	margin-bottom: 42px;
}

.ag-rfq-heading h2 {
	font-size: 56px;
}

.ag-rfq-heading p {
	color: var(--ag-text-soft);
	font-size: 20px;
}

.ag-rfq-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 420px;
	gap: 28px;
	align-items: start;
}

.ag-rfq-form,
.ag-rfq-side-card {
	border: 1px solid var(--ag-line);
	border-radius: var(--ag-radius);
	background: #102034;
}

.ag-rfq-form {
	padding: 32px;
}

.ag-form-block h3,
.ag-rfq-side-card h3 {
	margin: 0 0 22px;
	padding-bottom: 16px;
	border-bottom: 1px solid var(--ag-line);
	color: #dbeafe;
	font-size: 28px;
}

.ag-form-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 20px 24px;
}

.ag-form-grid label {
	display: grid;
	gap: 8px;
	color: #cbd5e1;
	font-weight: 850;
}

.ag-form-grid span {
	font-size: 14px;
}

.ag-form-grid input,
.ag-form-grid select,
.ag-form-grid textarea {
	width: 100%;
	min-height: 48px;
	border: 1px solid #526174;
	border-radius: var(--ag-radius-sm);
	background: #06182d;
	color: var(--ag-text);
	padding: 11px 14px;
	outline: none;
}

.ag-form-grid textarea {
	resize: vertical;
	min-height: 142px;
}

.ag-form-grid input:focus,
.ag-form-grid select:focus,
.ag-form-grid textarea:focus {
	border-color: #ffb95f;
	box-shadow: 0 0 0 1px rgba(255, 185, 95, .55);
}

.ag-field-wide {
	grid-column: 1 / -1;
}

.ag-file-field {
	padding: 18px;
	border: 1px dashed #526174;
	border-radius: var(--ag-radius-sm);
	background: #06182d;
}

.ag-file-field input {
	min-height: auto;
	padding: 0;
	border: 0;
}

.ag-file-field em {
	color: var(--ag-muted);
	font-style: normal;
	font-size: 14px;
}

.ag-submit-button {
	width: 100%;
	margin-top: 24px;
	border: 0;
}

.ag-hp-field {
	position: absolute;
	left: -9999px;
	visibility: hidden;
}

.ag-form-status {
	margin: 0 0 18px;
	padding: 12px 14px;
	border-radius: var(--ag-radius-sm);
	font-weight: 900;
}

.ag-form-status-success {
	background: rgba(22, 101, 52, .25);
	color: #bbf7d0;
	border: 1px solid rgba(34, 197, 94, .4);
}

.ag-form-status-error {
	background: rgba(127, 29, 29, .28);
	color: #fecaca;
	border: 1px solid rgba(248, 113, 113, .42);
}

.ag-rfq-sidebar {
	display: grid;
	gap: 24px;
}

.ag-rfq-side-card {
	padding: 28px;
}

.ag-rfq-side-card dl {
	display: grid;
	gap: 22px;
	margin: 0;
}

.ag-rfq-side-card dt {
	color: var(--ag-muted);
	font-family: "JetBrains Mono", Consolas, monospace;
	font-size: 12px;
	font-weight: 900;
	text-transform: uppercase;
}

.ag-rfq-side-card dd {
	margin: 6px 0 0;
	color: #dbeafe;
	font-family: "JetBrains Mono", Consolas, monospace;
	font-size: 15px;
	font-weight: 800;
}

.ag-rfq-side-card a {
	color: inherit;
	text-decoration: none;
}

.ag-rfq-next ol {
	display: grid;
	gap: 18px;
	margin: 0;
	padding: 0;
	list-style: none;
	counter-reset: rfq;
}

.ag-rfq-next li {
	position: relative;
	padding-left: 48px;
	counter-increment: rfq;
}

.ag-rfq-next li::before {
	content: counter(rfq);
	position: absolute;
	left: 0;
	top: 2px;
	width: 28px;
	height: 28px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	border: 1px solid var(--ag-line);
	color: #ffb95f;
	font-family: "JetBrains Mono", Consolas, monospace;
	font-size: 12px;
	font-weight: 900;
}

.ag-rfq-next strong {
	display: block;
	color: #dbeafe;
}

.ag-rfq-next span {
	display: block;
	margin-top: 4px;
	color: var(--ag-text-soft);
}

.ag-cta-band {
	padding: 72px 0;
	text-align: center;
	color: var(--ag-text);
	background:
		linear-gradient(90deg, rgba(3, 20, 39, .94), rgba(3, 20, 39, .8)),
		url("../images/glass-solutions.jpg") center / cover no-repeat;
	border-top: 1px solid var(--ag-line);
}

.ag-cta-band p {
	max-width: 720px;
	margin: 14px auto 28px;
	color: var(--ag-text-soft);
}

.ag-site-footer {
	color: var(--ag-text-soft);
	background: #061225;
	border-top: 1px solid var(--ag-line);
}

.ag-footer-grid {
	display: grid;
	grid-template-columns: minmax(260px, 1.35fr) repeat(4, minmax(150px, 1fr));
	gap: 34px 24px;
	padding: 58px 0 34px;
}

.ag-footer-brand {
	grid-row: span 2;
}

.ag-footer-logo {
	margin-bottom: 16px;
}

.ag-footer-brand p {
	margin: 0 0 14px;
	max-width: 440px;
}

.ag-footer-contact a {
	display: block;
	color: var(--ag-text);
	text-decoration: none;
}

.ag-footer-links h2 {
	margin: 0 0 12px;
	color: #f8fafc;
	font-size: 15px;
	line-height: 1.2;
}

.ag-footer-links ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.ag-footer-links a {
	display: block;
	padding: 4px 0;
	color: var(--ag-text-soft);
	text-decoration: none;
}

.ag-footer-links a:hover {
	color: #ffb95f;
}

.ag-footer-bottom {
	display: flex;
	justify-content: space-between;
	gap: 18px;
	padding: 18px 0;
	border-top: 1px solid var(--ag-line);
	font-size: 14px;
}

.ag-page-content {
	max-width: 1040px;
}

.ag-page-content :where(p, li) {
	color: var(--ag-text-soft);
}

.ag-post-card {
	padding: 22px 0;
	border-bottom: 1px solid var(--ag-line);
}

.ag-post-card h2 {
	margin: 0 0 8px;
}

.ag-post-card a {
	color: #dbeafe;
	text-decoration: none;
}

.nav-links,
.pagination {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 28px;
}

.page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 38px;
	height: 38px;
	padding: 0 12px;
	border: 1px solid var(--ag-line);
	border-radius: var(--ag-radius-sm);
	color: var(--ag-text);
	text-decoration: none;
}

.page-numbers.current {
	background: #ffb95f;
	color: var(--ag-dark-text);
	border-color: #ffb95f;
}

@media (max-width: 1180px) {
	.ag-nav-list {
		gap: 10px;
	}

	.ag-nav-list a {
		font-size: 12px;
	}

	.ag-card-grid,
	.ag-library-list {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.ag-footer-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.ag-footer-brand {
		grid-row: auto;
		grid-column: 1 / -1;
	}
}

@media (max-width: 900px) {
	:root {
		--ag-header-h: 66px;
	}

	.ag-container {
		width: min(100% - 28px, 760px);
	}

	.ag-header-inner {
		justify-content: space-between;
	}

	.ag-nav-toggle {
		display: block;
		order: 3;
	}

	.ag-header-cta {
		display: none;
	}

	.ag-primary-nav {
		position: absolute;
		left: 14px;
		right: 14px;
		top: calc(var(--ag-header-h) + 8px);
		display: none;
		padding: 12px;
		border: 1px solid var(--ag-line);
		border-radius: var(--ag-radius);
		background: rgba(3, 20, 39, .98);
	}

	.ag-primary-nav.is-open {
		display: block;
	}

	.ag-nav-list {
		display: grid;
		gap: 4px;
		justify-content: stretch;
	}

	.ag-nav-list a {
		padding: 12px;
	}

	.ag-hero {
		min-height: 640px;
	}

	.ag-hero-grid,
	.ag-page-hero-inner,
	.ag-detail-hero-grid,
	.ag-rfq-layout,
	.ag-section-heading-split,
	.ag-split-heading,
	.ag-two-panels,
	.ag-checklist-grid,
	.ag-info-grid {
		grid-template-columns: 1fr;
	}

	.ag-hero-grid {
		align-items: center;
		padding: 64px 0;
	}

	.ag-hero h1,
	.ag-page-hero h1,
	.ag-detail-hero h1 {
		font-size: 44px;
	}

	.ag-hero p,
	.ag-page-hero p,
	.ag-detail-hero p {
		font-size: 18px;
	}

	.ag-hero-spec {
		max-width: 520px;
	}

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

	.ag-detail-hero-grid {
		padding: 58px 0;
	}

	.ag-tabbed-summary,
	.ag-detail-grid,
	.ag-process-flow {
		grid-template-columns: 1fr;
	}

	.ag-rfq-heading h2 {
		font-size: 40px;
	}
}

@media (max-width: 640px) {
	body {
		font-size: 15px;
	}

	.ag-container {
		width: calc(100% - 24px);
	}

	.ag-logo-text {
		font-size: 22px;
	}

	.ag-logo-mark {
		width: 30px;
		height: 30px;
	}

	.ag-hero {
		min-height: 560px;
	}

	.ag-hero-grid {
		padding: 46px 0;
	}

	.ag-hero h1,
	.ag-page-hero h1,
	.ag-detail-hero h1 {
		font-size: 34px;
	}

	.ag-section {
		padding: 58px 0;
	}

	.ag-section-heading,
	.ag-rfq-heading {
		text-align: left;
	}

	.ag-section-heading h2,
	.ag-split-heading h2,
	.ag-rfq-heading h2,
	.ag-cta-band h2,
	.ag-page-content h2,
	.ag-detail-content h2,
	.ag-checklist-grid h2,
	.ag-info-grid h2 {
		font-size: 28px;
	}

	.ag-card-grid,
	.ag-library-list,
	.ag-detail-block .ag-card-grid,
	.ag-form-grid,
	.ag-footer-grid,
	.ag-trust-grid {
		grid-template-columns: 1fr;
	}

	.ag-card {
		min-height: 0;
	}

	.ag-rfq-form,
	.ag-rfq-side-card,
	.ag-glass-panel,
	.ag-info-grid > div,
	.ag-checklist-grid > div,
	.ag-wp-content,
	.ag-detail-grid section,
	.ag-detail-block,
	.ag-tabbed-summary section {
		padding: 20px;
	}

	.ag-page-hero-inner,
	.ag-page-hero-simple .ag-container {
		min-height: 0;
		padding: 48px 0;
	}

	.ag-button,
	.ag-hero-actions .ag-button {
		width: 100%;
	}

	.ag-footer-bottom {
		display: grid;
	}
}


/* --------------------------------------------------------------------------
 * Editor-driven About, Factory Tour, Manufacturing and Quality pages.
 * Content lives in WordPress Pages; these rules only provide presentation.
 * ----------------------------------------------------------------------- */
.ag-about-page {
	background: var(--ag-bg);
	color: var(--ag-text);
}

.ag-about-hero {
	position: relative;
	isolation: isolate;
	min-height: 620px;
	display: flex;
	align-items: flex-end;
	overflow: hidden;
	border-bottom: 1px solid var(--ag-line);
	background: var(--ag-deep);
}

.ag-about-hero::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -2;
	background-image: var(--ag-about-hero-image);
	background-position: center;
	background-size: cover;
	background-repeat: no-repeat;
	transform: scale(1.015);
}

.ag-about-hero::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background:
		linear-gradient(90deg, rgba(3, 20, 39, .98) 0%, rgba(3, 20, 39, .82) 52%, rgba(3, 20, 39, .42) 100%),
		linear-gradient(0deg, rgba(3, 20, 39, .92) 0%, transparent 58%);
}

.ag-about-hero-subpage {
	min-height: 500px;
}

.ag-about-hero-inner {
	width: 100%;
	padding: 104px 0 82px;
}

.ag-about-hero-copy {
	max-width: 860px;
}

.ag-about-hero h1 {
	max-width: 920px;
	margin: 12px 0 20px;
	color: #fff;
	font-size: clamp(44px, 6vw, 78px);
	line-height: 1.04;
	letter-spacing: -.035em;
}

.ag-about-hero-intro {
	max-width: 820px;
	margin: 0;
	color: #d7e4f2;
	font-size: clamp(18px, 2vw, 23px);
	line-height: 1.55;
}

.ag-about-editor-content {
	background: var(--ag-bg);
}

.ag-about-editor-content > :first-child {
	margin-top: 0;
}

.ag-about-editor-content > :last-child {
	margin-bottom: 0;
}

.ag-about-section {
	margin: 0;
	padding: 92px 0;
}

.ag-about-section-dark {
	background: var(--ag-bg);
}

.ag-about-section-surface {
	background:
		linear-gradient(180deg, rgba(27, 42, 65, .34), rgba(7, 19, 41, .64)),
		var(--ag-deep);
	border-top: 1px solid rgba(185, 229, 243, .1);
	border-bottom: 1px solid rgba(185, 229, 243, .1);
}

.ag-about-section h2 {
	margin-top: 0;
	color: #f8fafc;
	font-size: clamp(34px, 4vw, 52px);
	line-height: 1.12;
	letter-spacing: -.025em;
}

.ag-about-section h3 {
	color: #dbeafe;
}

.ag-about-section p,
.ag-about-section li {
	color: var(--ag-text-soft);
}

.ag-about-section ul {
	padding-left: 1.2em;
}

.ag-about-section-heading {
	max-width: 920px;
	margin: 0 auto 46px;
	text-align: center;
}

.ag-about-section-heading > *:last-child {
	margin-bottom: 0;
}

.ag-about-section-heading p:not(.ag-eyebrow) {
	font-size: 18px;
}

.ag-about-split {
	gap: 56px;
	align-items: center;
}

.ag-about-feature-image,
.ag-about-gallery-image,
.ag-about-certificate-image {
	margin: 0;
	overflow: hidden;
	border: 1px solid var(--ag-line);
	border-radius: var(--ag-radius);
	background: var(--ag-panel);
}

.ag-about-feature-image img {
	display: block;
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
}

.ag-about-gallery-grid {
	gap: 22px;
	margin-top: 26px;
}

.ag-about-gallery-grid .wp-block-column {
	min-width: 0;
}

.ag-about-gallery-image img {
	display: block;
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	transition: transform .28s ease;
}

.ag-about-gallery-image:hover img {
	transform: scale(1.025);
}

.ag-about-gallery-image figcaption,
.ag-about-certificate-image figcaption {
	margin: 0;
	padding: 14px 16px;
	color: #f8fafc;
	background: rgba(16, 32, 52, .96);
	font-family: "JetBrains Mono", Consolas, monospace;
	font-size: 12px;
	font-weight: 900;
	text-align: left;
}

.ag-about-stats {
	gap: 16px;
	margin-top: 48px;
}

.ag-about-stat,
.ag-about-card {
	height: 100%;
	padding: 26px;
	border: 1px solid var(--ag-line);
	border-radius: var(--ag-radius);
	background: linear-gradient(145deg, rgba(27, 42, 65, .96), rgba(16, 32, 52, .96));
}

.ag-about-stat h3 {
	margin: 0 0 10px;
	color: #ffb95f;
	font-family: "JetBrains Mono", Consolas, monospace;
	font-size: clamp(24px, 3vw, 36px);
	line-height: 1.08;
}

.ag-about-stat p {
	margin: 0;
	font-size: 14px;
}

.ag-about-card-grid,
.ag-about-process-grid {
	gap: 18px;
	align-items: stretch;
}

.ag-about-card-grid .wp-block-column,
.ag-about-process-grid .wp-block-column {
	display: flex;
	min-width: 0;
}

.ag-about-card {
	width: 100%;
}

.ag-about-card h3 {
	margin: 0 0 12px;
	font-size: 22px;
	line-height: 1.25;
}

.ag-about-card p {
	margin: 0;
}

.ag-about-process-grid {
	flex-wrap: wrap !important;
}

.ag-about-process-grid > .wp-block-column {
	flex-basis: calc(25% - 14px) !important;
	flex-grow: 1;
}

.ag-about-certificate-grid {
	gap: 24px;
	align-items: stretch;
}

.ag-about-certificate-grid .wp-block-column {
	min-width: 0;
	padding: 18px;
	border: 1px solid var(--ag-line);
	border-radius: var(--ag-radius);
	background: rgba(16, 32, 52, .96);
}

.ag-about-certificate-image {
	background: #fff;
}

.ag-about-certificate-image img {
	display: block;
	width: 100%;
	aspect-ratio: 3 / 4;
	padding: 12px;
	object-fit: contain;
	background: #fff;
}

.ag-about-center-buttons {
	justify-content: center;
	margin-top: 34px;
}

.ag-about-editor-content .wp-block-button__link {
	min-height: 46px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 12px 22px;
	border-radius: var(--ag-radius-sm);
	background: #ffb95f;
	color: var(--ag-dark-text);
	font-family: "JetBrains Mono", Consolas, monospace;
	font-size: 13px;
	font-weight: 900;
	text-decoration: none;
}

.ag-about-editor-content .wp-block-button__link:hover {
	background: var(--ag-orange);
	color: #fff;
}

.ag-about-cta {
	position: relative;
	isolation: isolate;
	text-align: center;
	background:
		linear-gradient(90deg, rgba(3, 20, 39, .96), rgba(3, 20, 39, .8)),
		var(--ag-deep);
	border-top: 1px solid var(--ag-line);
}

.ag-about-cta .ag-container {
	max-width: 980px;
}

.ag-about-cta h2 {
	margin-bottom: 18px;
}

.ag-about-cta p {
	font-size: 18px;
}

@media (max-width: 1100px) {
	.ag-about-gallery-grid-four {
		flex-wrap: wrap !important;
	}

	.ag-about-gallery-grid-four > .wp-block-column {
		flex-basis: calc(50% - 12px) !important;
	}

	.ag-about-stats {
		flex-wrap: wrap !important;
	}

	.ag-about-stats > .wp-block-column {
		flex-basis: calc(50% - 10px) !important;
	}

	.ag-about-process-grid > .wp-block-column {
		flex-basis: calc(50% - 10px) !important;
	}
}

@media (max-width: 781px) {
	.ag-about-hero,
	.ag-about-hero-subpage {
		min-height: 460px;
	}

	.ag-about-hero-inner {
		padding: 76px 0 58px;
	}

	.ag-about-hero h1 {
		font-size: 42px;
	}

	.ag-about-section {
		padding: 64px 0;
	}

	.ag-about-split {
		gap: 28px;
	}

	.ag-about-gallery-grid-four > .wp-block-column,
	.ag-about-stats > .wp-block-column,
	.ag-about-process-grid > .wp-block-column {
		flex-basis: 100% !important;
	}

	.ag-about-card-grid,
	.ag-about-gallery-grid,
	.ag-about-certificate-grid,
	.ag-about-stats,
	.ag-about-process-grid {
		gap: 18px;
	}

	.ag-about-center-buttons .wp-block-button,
	.ag-about-center-buttons .wp-block-button__link {
		width: 100%;
	}
}

.ag-about-subnav {
	position: sticky;
	top: var(--ag-header-h);
	z-index: 35;
	border-bottom: 1px solid var(--ag-line);
	background: rgba(7, 19, 41, .96);
	backdrop-filter: blur(12px);
}

.ag-about-subnav ul {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 0;
	padding: 10px 0;
	list-style: none;
	overflow-x: auto;
	scrollbar-width: thin;
}

.ag-about-subnav li {
	flex: 0 0 auto;
}

.ag-about-subnav a {
	display: block;
	padding: 9px 13px;
	border: 1px solid transparent;
	border-radius: var(--ag-radius-sm);
	color: var(--ag-text-soft);
	font-family: "JetBrains Mono", Consolas, monospace;
	font-size: 12px;
	font-weight: 900;
	text-decoration: none;
	white-space: nowrap;
}

.ag-about-subnav a:hover,
.ag-about-subnav .is-current a {
	border-color: rgba(255, 185, 95, .5);
	background: rgba(255, 185, 95, .1);
	color: #ffddb8;
}

@media (max-width: 781px) {
	.ag-about-subnav {
		top: 64px;
	}
}

/* Phase 1: editor-driven Solutions / Products / Materials framework. */
.ag-business-hero .ag-page-hero-inner {
	align-items: end;
}

.ag-business-editor-content {
	max-width: 1100px;
}

.ag-business-editor-content > * + * {
	margin-top: 1.1rem;
}

.ag-business-editor-content h2 {
	margin-top: 2.6rem;
	margin-bottom: .85rem;
	font-size: clamp(1.55rem, 2.6vw, 2.2rem);
}

.ag-business-editor-content .ag-business-lead {
	max-width: 960px;
	font-size: clamp(1.1rem, 1.6vw, 1.3rem);
	line-height: 1.75;
	color: #eaf4ff;
}

.ag-business-editor-content ul {
	display: grid;
	gap: .75rem;
	padding-left: 1.25rem;
}

.ag-business-editor-content li {
	line-height: 1.7;
}

.ag-business-editor-content a:not(.wp-block-button__link) {
	color: #6bc4ff;
	text-underline-offset: 3px;
}

.ag-business-editor-content .wp-block-buttons {
	margin-top: 2rem;
}

.ag-business-editor-content .wp-block-button__link {
	border: 1px solid rgba(91, 192, 255, .7);
	border-radius: 3px;
	background: #1e79b8;
	color: #fff;
	font-weight: 700;
	padding: .85rem 1.25rem;
}

.ag-business-card-grid .ag-card {
	min-height: 220px;
}

.ag-business-empty {
	margin: 0;
	padding: 1rem 1.1rem;
	border: 1px solid rgba(111, 157, 190, .3);
	background: rgba(255, 255, 255, .035);
	color: #b7c9d8;
}

@media (max-width: 720px) {
	.ag-business-editor-content h2 {
		margin-top: 2rem;
	}

	.ag-business-card-grid .ag-card {
		min-height: auto;
	}
}


/* Phase 2: editor-driven Solution detail content. */
.ag-wp-content .ag-solution-content,
.ag-wp-content .ag-product-content,
.ag-wp-content .ag-material-content {
	display: grid;
	gap: 1rem;
}

.ag-wp-content .ag-solution-lead,
.ag-wp-content .ag-product-lead,
.ag-wp-content .ag-material-lead {
	margin: 0 0 .5rem;
	color: #e8f4ff;
	font-size: clamp(1.05rem, 1.5vw, 1.2rem);
	line-height: 1.8;
}

.ag-wp-content .ag-solution-content > h2,
.ag-wp-content .ag-product-content > h2,
.ag-wp-content .ag-material-content > h2 {
	margin: 2.2rem 0 .4rem;
	padding-top: 1.5rem;
	border-top: 1px solid rgba(111, 157, 190, .26);
}

.ag-wp-content .ag-solution-columns {
	gap: 1rem;
	margin: .4rem 0 1rem;
}

.ag-wp-content .ag-solution-columns .wp-block-column {
	padding: 1.25rem;
	border: 1px solid rgba(111, 157, 190, .28);
	border-radius: 4px;
	background: rgba(255, 255, 255, .025);
}

.ag-wp-content .ag-solution-columns h3 {
	margin-top: 0;
}

.ag-wp-content .ag-solution-callout,
.ag-wp-content .ag-product-callout {
	margin: 1rem 0;
	padding: 1rem 1.2rem;
	border-left: 3px solid #ffb95f;
	background: rgba(255, 185, 95, .07);
}

.ag-wp-content .ag-solution-callout p,
.ag-wp-content .ag-product-callout p {
	margin: 0;
	color: #f4dfbf;
}

.ag-wp-content .wp-block-details {
	margin: .65rem 0;
	padding: .9rem 1rem;
	border: 1px solid rgba(111, 157, 190, .26);
	border-radius: 4px;
	background: rgba(255, 255, 255, .02);
}

.ag-wp-content .wp-block-details summary {
	cursor: pointer;
	color: #dbeafe;
	font-weight: 800;
}

.ag-wp-content .ag-solution-buttons {
	margin-top: 1rem;
}

.ag-wp-content .ag-solution-buttons .wp-block-button__link {
	border-radius: 3px;
	background: #1e79b8;
	color: #fff;
	font-weight: 800;
}

.ag-wp-content .ag-solution-buttons .is-style-outline .wp-block-button__link {
	border: 1px solid #5bc0ff;
	background: transparent;
}

@media (max-width: 780px) {
	.ag-wp-content .ag-solution-columns {
		display: grid;
		grid-template-columns: 1fr;
	}
}

.ag-wp-content .ag-material-callout { border-left-color: var(--ag-accent, #4bb7d8); background: rgba(75,183,216,.08); }

/* Phase 6: accessible dropdown navigation and launch polish. */
.ag-skip-link:focus {
	position: fixed;
	z-index: 10000;
	top: 10px;
	left: 10px;
	width: auto;
	height: auto;
	clip: auto;
	clip-path: none;
	padding: 10px 14px;
	border-radius: 4px;
	background: #fff;
	color: #031427;
	box-shadow: 0 4px 18px rgba(0,0,0,.25);
}

.ag-nav-list > li {
	position: relative;
}

.ag-nav-list .sub-menu {
	position: absolute;
	z-index: 1000;
	top: calc(100% + 8px);
	left: -16px;
	min-width: 270px;
	margin: 0;
	padding: 8px;
	list-style: none;
	border: 1px solid var(--ag-line);
	border-radius: var(--ag-radius-sm);
	background: rgba(3, 20, 39, .99);
	box-shadow: 0 18px 45px rgba(0, 0, 0, .32);
	opacity: 0;
	visibility: hidden;
	transform: translateY(-6px);
	transition: opacity .16s ease, visibility .16s ease, transform .16s ease;
}

.ag-nav-list li:hover > .sub-menu,
.ag-nav-list li:focus-within > .sub-menu {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

.ag-nav-list .sub-menu a {
	padding: 10px 12px;
	white-space: normal;
	line-height: 1.35;
}

.ag-nav-list .sub-menu a::after {
	display: none;
}

.ag-nav-list a:focus-visible,
.ag-button:focus-visible,
.ag-header-cta:focus-visible,
.ag-nav-toggle:focus-visible {
	outline: 3px solid #ffb95f;
	outline-offset: 3px;
}

@media (max-width: 900px) {
	.ag-nav-list .sub-menu {
		position: static;
		min-width: 0;
		margin: 0 0 6px 12px;
		padding: 2px 0 2px 10px;
		border: 0;
		border-left: 1px solid var(--ag-line);
		border-radius: 0;
		background: transparent;
		box-shadow: none;
		opacity: 1;
		visibility: visible;
		transform: none;
	}

	.ag-nav-list .sub-menu a {
		padding: 9px 12px;
		font-size: 11px;
	}
}

/* Phase 2 (v1.9.0): distinct Solutions, Products and Materials Hubs. */
.ag-hub-hero {
	position: relative;
	isolation: isolate;
	overflow: hidden;
	min-height: 560px;
	border-bottom: 1px solid var(--ag-line);
	background: #031427;
	color: var(--ag-text);
}

.ag-hub-hero::before {
	content: "";
	position: absolute;
	z-index: -2;
	inset: 0;
	background-image: var(--ag-hub-hero-image, url("../images/glass-processing.jpg"));
	background-position: center;
	background-size: cover;
	filter: saturate(.78) contrast(1.05);
}

.ag-hub-hero::after {
	content: "";
	position: absolute;
	z-index: -1;
	inset: 0;
	background:
		linear-gradient(90deg, rgba(3, 20, 39, .98) 0%, rgba(3, 20, 39, .91) 52%, rgba(3, 20, 39, .58) 100%),
		linear-gradient(0deg, rgba(3, 20, 39, .95), transparent 48%);
}

.ag-hub-hero-glass-products::after {
	background:
		linear-gradient(90deg, rgba(3, 20, 39, .98) 0%, rgba(3, 20, 39, .88) 50%, rgba(3, 20, 39, .52) 100%),
		linear-gradient(0deg, rgba(3, 20, 39, .96), transparent 52%);
}

.ag-hub-hero-glass-materials::after {
	background:
		linear-gradient(90deg, rgba(3, 20, 39, .98) 0%, rgba(3, 20, 39, .86) 54%, rgba(3, 20, 39, .48) 100%),
		linear-gradient(0deg, rgba(3, 20, 39, .94), transparent 48%);
}

.ag-hub-hero-grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(300px, 390px);
	gap: 64px;
	align-items: center;
	min-height: 560px;
	padding: 88px 0;
}

.ag-hub-hero-copy {
	max-width: 830px;
}

.ag-hub-hero h1 {
	max-width: 900px;
	margin: 14px 0 22px;
	color: #f8fafc;
	font-family: "Hanken Grotesk", Inter, sans-serif;
	font-size: clamp(2.7rem, 5.2vw, 5rem);
	font-weight: 850;
	letter-spacing: -.035em;
	line-height: 1.03;
}

.ag-hub-hero-intro {
	max-width: 780px;
	margin: 0;
	color: #c9d9e7;
	font-size: clamp(1.05rem, 1.7vw, 1.28rem);
	line-height: 1.75;
}

.ag-hub-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 30px;
}

.ag-button-secondary {
	border: 1px solid rgba(185, 229, 243, .55);
	background: rgba(3, 20, 39, .58);
	color: #e8f4ff;
}

.ag-button-secondary:hover {
	border-color: #ffb95f;
	background: rgba(255, 185, 95, .1);
	color: #ffddb8;
}

.ag-hub-hero-review {
	padding: 28px;
	border: 1px solid rgba(185, 229, 243, .26);
	border-radius: var(--ag-radius);
	background: rgba(3, 20, 39, .72);
	box-shadow: 0 22px 70px rgba(0, 0, 0, .28);
	backdrop-filter: blur(12px);
}

.ag-hub-hero-review > span {
	display: block;
	margin-bottom: 18px;
	color: #ffb95f;
	font-family: "JetBrains Mono", Consolas, monospace;
	font-size: 12px;
	font-weight: 900;
	letter-spacing: .09em;
	text-transform: uppercase;
}

.ag-hub-hero-review ul {
	display: grid;
	gap: 13px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.ag-hub-hero-review li {
	position: relative;
	padding-left: 25px;
	color: #dbeafe;
	line-height: 1.45;
}

.ag-hub-hero-review li::before {
	content: "";
	position: absolute;
	left: 0;
	top: .48em;
	width: 10px;
	height: 10px;
	border: 2px solid #5bc0ff;
	border-radius: 50%;
}

.ag-hub-editor-section {
	padding: 34px 0;
	border-bottom: 1px solid var(--ag-line);
}

.ag-hub-editor-content {
	max-width: 1100px;
	padding: 0;
}

.ag-hub-editor-content .ag-business-lead {
	margin: 0;
	padding: 20px 24px;
	border-left: 3px solid #5bc0ff;
	background: rgba(91, 192, 255, .06);
	font-size: 1rem;
}

.ag-hub-section-heading {
	margin-bottom: 42px;
}

.ag-hub-section-heading > p:last-child {
	max-width: 760px;
	margin-right: auto;
	margin-left: auto;
	line-height: 1.7;
}

.ag-hub-info-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 20px;
}

.ag-hub-info-card {
	min-height: 190px;
	padding: 24px;
	border: 1px solid var(--ag-line);
	border-radius: var(--ag-radius);
	background: rgba(16, 32, 52, .96);
}

.ag-section-alt .ag-hub-info-card,
.ag-section-surface .ag-hub-info-card {
	background: rgba(3, 20, 39, .44);
}

.ag-hub-info-card h3 {
	margin: 0 0 12px;
	color: #f8fafc;
	font-size: 21px;
	line-height: 1.3;
}

.ag-hub-info-card p {
	margin: 0;
	color: var(--ag-text-soft);
	line-height: 1.68;
}

.ag-hub-card-kicker {
	display: inline-block;
	margin-bottom: 26px;
	color: #ffb95f;
	font-family: "JetBrains Mono", Consolas, monospace;
	font-size: 13px;
	font-weight: 900;
}

.ag-hub-workflow-grid {
	grid-template-columns: repeat(6, minmax(0, 1fr));
	gap: 1px;
	overflow: hidden;
	border: 1px solid var(--ag-line);
	border-radius: var(--ag-radius);
	background: var(--ag-line);
}

.ag-hub-workflow-grid .ag-hub-info-card {
	min-height: 250px;
	border: 0;
	border-radius: 0;
}

.ag-hub-cpt-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 22px;
}

.ag-hub-cpt-card {
	display: flex;
	min-width: 0;
	min-height: 390px;
	flex-direction: column;
	overflow: hidden;
	border: 1px solid var(--ag-line);
	border-radius: var(--ag-radius);
	background: rgba(16, 32, 52, .96);
	color: var(--ag-text);
	text-decoration: none;
	transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.ag-section-surface .ag-hub-cpt-card,
.ag-section-alt .ag-hub-cpt-card {
	background: rgba(3, 20, 39, .66);
}

.ag-hub-cpt-card:hover {
	border-color: rgba(255, 185, 95, .78);
	box-shadow: 0 20px 42px rgba(0, 0, 0, .2);
	transform: translateY(-3px);
}

.ag-hub-cpt-image {
	display: block;
	min-height: 170px;
	background-position: center;
	background-size: cover;
}

.ag-hub-cpt-image-fallback {
	background:
		linear-gradient(135deg, rgba(91, 192, 255, .18), transparent 58%),
		repeating-linear-gradient(90deg, rgba(185, 229, 243, .05) 0, rgba(185, 229, 243, .05) 1px, transparent 1px, transparent 24px),
		#102034;
}

.ag-hub-cpt-body {
	display: flex;
	flex: 1;
	flex-direction: column;
	padding: 23px;
}

.ag-hub-cpt-body small {
	margin-bottom: 14px;
	color: #ffb95f;
	font-family: "JetBrains Mono", Consolas, monospace;
	font-size: 11px;
	font-weight: 900;
	letter-spacing: .06em;
	text-transform: uppercase;
}

.ag-hub-cpt-body strong {
	color: #f8fafc;
	font-size: 22px;
	line-height: 1.25;
}

.ag-hub-cpt-body > span,
.ag-hub-cpt-body em {
	display: block;
	margin-top: 12px;
	color: var(--ag-text-soft);
	font-size: 14px;
	font-style: normal;
	line-height: 1.65;
}

.ag-hub-cpt-body .ag-hub-problem {
	color: #d8e6f1;
}

.ag-hub-cpt-body em {
	padding-top: 12px;
	border-top: 1px solid rgba(111, 157, 190, .2);
	color: #b9e5f3;
}

.ag-hub-cpt-body b {
	margin-top: auto;
	padding-top: 22px;
	color: #6bc4ff;
	font-size: 14px;
}

.ag-hub-challenge-grid {
	grid-template-columns: repeat(4, minmax(0, 1fr));
}

.ag-hub-challenge-grid .ag-hub-cpt-card {
	min-height: 440px;
}

.ag-hub-category-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 20px;
}

.ag-hub-category-card {
	display: flex;
	min-height: 260px;
	flex-direction: column;
	padding: 25px;
	border: 1px solid var(--ag-line);
	border-radius: var(--ag-radius);
	background: rgba(3, 20, 39, .58);
	color: var(--ag-text);
	text-decoration: none;
}

.ag-hub-category-card:hover {
	border-color: #ffb95f;
}

.ag-hub-category-card > span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	margin-bottom: auto;
	border: 1px solid rgba(91, 192, 255, .45);
	border-radius: 50%;
	color: #6bc4ff;
	font-family: "JetBrains Mono", Consolas, monospace;
	font-size: 12px;
	font-weight: 900;
}

.ag-hub-category-card h3 {
	margin: 30px 0 10px;
	color: #f8fafc;
	font-size: 22px;
	line-height: 1.25;
}

.ag-hub-category-card p {
	margin: 0;
	color: var(--ag-text-soft);
	font-size: 14px;
	line-height: 1.65;
}

.ag-hub-category-card b {
	margin-top: 20px;
	color: #6bc4ff;
	font-size: 13px;
}

.ag-hub-dual-select {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 28px;
}

.ag-hub-dual-select > div {
	padding: 30px;
	border: 1px solid var(--ag-line);
	border-radius: var(--ag-radius);
	background: rgba(3, 20, 39, .58);
}

.ag-hub-dual-select h2 {
	margin: 8px 0 12px;
	color: #dbeafe;
	font-size: 30px;
}

.ag-hub-dual-select > div > p:not(.ag-eyebrow) {
	color: var(--ag-text-soft);
	line-height: 1.7;
}

.ag-hub-chip-grid {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 22px;
}

.ag-hub-chip-grid span {
	display: inline-flex;
	align-items: center;
	min-height: 42px;
	padding: 8px 13px;
	border: 1px solid rgba(111, 157, 190, .35);
	border-radius: 999px;
	background: rgba(16, 32, 52, .75);
	color: #dbeafe;
	font-size: 13px;
	font-weight: 750;
}

.ag-hub-table-wrap table {
	width: 100%;
	min-width: 1120px;
	border-collapse: collapse;
}

.ag-hub-table-wrap a {
	color: #6bc4ff;
	font-weight: 800;
	text-decoration: none;
}

.ag-hub-table-wrap a:hover {
	color: #ffddb8;
}

.ag-hub-reference-note {
	margin-bottom: 18px;
	padding: 16px 18px;
	border-left: 3px solid #ffb95f;
	background: rgba(255, 185, 95, .07);
	color: #f4dfbf;
	line-height: 1.65;
}

.ag-hub-reference-note strong {
	color: #ffddb8;
}

.ag-hub-info-grid-single {
	grid-template-columns: 1fr;
	margin-top: 24px;
}

.ag-hub-info-grid-single .ag-hub-info-card {
	min-height: 0;
	padding: 19px;
}

.ag-hub-resource-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 20px;
}

.ag-hub-resource-grid a {
	display: block;
	min-height: 240px;
	padding: 24px;
	border: 1px solid var(--ag-line);
	border-radius: var(--ag-radius);
	background: rgba(3, 20, 39, .58);
	color: var(--ag-text);
	text-decoration: none;
}

.ag-hub-resource-grid a:hover {
	border-color: #ffb95f;
}

.ag-hub-resource-grid span {
	display: block;
	margin-bottom: 30px;
	color: #ffb95f;
	font-family: "JetBrains Mono", Consolas, monospace;
	font-size: 11px;
	font-weight: 900;
	text-transform: uppercase;
}

.ag-hub-resource-grid strong {
	display: block;
	color: #f8fafc;
	font-size: 22px;
	line-height: 1.3;
}

.ag-hub-resource-grid p {
	margin: 14px 0 0;
	color: var(--ag-text-soft);
	line-height: 1.65;
}

.ag-hub-final-cta {
	border-top: 1px solid rgba(255, 185, 95, .24);
	border-bottom: 1px solid rgba(255, 185, 95, .24);
	background:
		linear-gradient(120deg, rgba(255, 185, 95, .09), transparent 45%),
		#071329;
}

.ag-hub-final-cta-inner {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 40px;
	align-items: center;
}

.ag-hub-final-cta h2 {
	max-width: 850px;
	margin: 8px 0 14px;
	color: #f8fafc;
	font-size: clamp(2rem, 3vw, 3rem);
	line-height: 1.15;
}

.ag-hub-final-cta p:not(.ag-eyebrow) {
	max-width: 820px;
	margin: 0;
	color: var(--ag-text-soft);
	line-height: 1.7;
}

.ag-hub-final-cta .ag-hub-actions {
	justify-content: flex-end;
	margin-top: 0;
}

@media (max-width: 1180px) {
	.ag-hub-challenge-grid,
	.ag-hub-category-grid,
	.ag-hub-resource-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.ag-hub-workflow-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (max-width: 960px) {
	.ag-hub-hero-grid,
	.ag-hub-final-cta-inner {
		grid-template-columns: 1fr;
	}

	.ag-hub-hero-grid {
		gap: 34px;
	}

	.ag-hub-hero-review {
		max-width: 620px;
	}

	.ag-hub-cpt-grid,
	.ag-hub-info-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.ag-hub-final-cta .ag-hub-actions {
		justify-content: flex-start;
	}
}

@media (max-width: 720px) {
	.ag-hub-hero,
	.ag-hub-hero-grid {
		min-height: 0;
	}

	.ag-hub-hero-grid {
		padding: 70px 0 56px;
	}

	.ag-hub-hero h1 {
		font-size: clamp(2.35rem, 12vw, 3.5rem);
	}

	.ag-hub-cpt-grid,
	.ag-hub-challenge-grid,
	.ag-hub-category-grid,
	.ag-hub-resource-grid,
	.ag-hub-info-grid,
	.ag-hub-workflow-grid,
	.ag-hub-dual-select {
		grid-template-columns: 1fr;
	}

	.ag-hub-workflow-grid {
		gap: 1px;
	}

	.ag-hub-cpt-card,
	.ag-hub-challenge-grid .ag-hub-cpt-card {
		min-height: 0;
	}

	.ag-hub-cpt-image {
		min-height: 190px;
	}

	.ag-hub-category-card,
	.ag-hub-resource-grid a,
	.ag-hub-info-card {
		min-height: 0;
	}

	.ag-hub-actions .ag-button {
		width: 100%;
		justify-content: center;
		text-align: center;
	}
}

/* Phase 3 — Product and Material category pages */
.ag-category-hero {
	position: relative;
	isolation: isolate;
	overflow: hidden;
	border-bottom: 1px solid rgba(111, 157, 190, .28);
	background: #031427;
}

.ag-category-hero::before {
	content: "";
	position: absolute;
	z-index: -2;
	inset: 0;
	background-image: var(--ag-category-hero-image, url("../images/glass-products.jpg"));
	background-position: center;
	background-size: cover;
	filter: saturate(.76) contrast(1.06);
}

.ag-category-hero::after {
	content: "";
	position: absolute;
	z-index: -1;
	inset: 0;
	background:
		linear-gradient(90deg, rgba(3, 20, 39, .985) 0%, rgba(3, 20, 39, .93) 52%, rgba(3, 20, 39, .62) 100%),
		linear-gradient(0deg, rgba(3, 20, 39, .96), transparent 52%);
}

.ag-category-hero-material::after {
	background:
		linear-gradient(90deg, rgba(3, 20, 39, .985) 0%, rgba(3, 20, 39, .9) 54%, rgba(3, 20, 39, .54) 100%),
		linear-gradient(0deg, rgba(3, 20, 39, .96), transparent 50%);
}

.ag-category-hero-grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(300px, 390px);
	gap: 64px;
	align-items: center;
	min-height: 520px;
	padding: 76px 0;
}

.ag-category-hero-copy {
	max-width: 850px;
}

.ag-category-hero .ag-breadcrumb {
	margin-bottom: 28px;
}

.ag-category-hero h1 {
	max-width: 900px;
	margin: 14px 0 22px;
	color: #f8fafc;
	font-family: "Hanken Grotesk", Inter, sans-serif;
	font-size: clamp(2.55rem, 4.8vw, 4.65rem);
	font-weight: 850;
	letter-spacing: -.035em;
	line-height: 1.04;
}

.ag-category-hero-intro {
	max-width: 800px;
	margin: 0;
	color: #c9d9e7;
	font-size: clamp(1.04rem, 1.6vw, 1.23rem);
	line-height: 1.74;
}

.ag-category-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 30px;
}

.ag-category-review {
	padding: 28px;
	border: 1px solid rgba(185, 229, 243, .26);
	border-radius: var(--ag-radius);
	background: rgba(3, 20, 39, .76);
	box-shadow: 0 22px 70px rgba(0, 0, 0, .28);
	backdrop-filter: blur(12px);
}

.ag-category-review > span {
	display: block;
	margin-bottom: 18px;
	color: #ffb95f;
	font-family: "JetBrains Mono", Consolas, monospace;
	font-size: 12px;
	font-weight: 900;
	letter-spacing: .09em;
	text-transform: uppercase;
}

.ag-category-review ul {
	display: grid;
	gap: 13px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.ag-category-review li {
	position: relative;
	padding-left: 25px;
	color: #dbeafe;
	line-height: 1.48;
}

.ag-category-review li::before {
	content: "";
	position: absolute;
	left: 0;
	top: .48em;
	width: 10px;
	height: 10px;
	border: 2px solid #5bc0ff;
	border-radius: 50%;
}

.ag-category-editor-section {
	padding: 34px 0;
	border-bottom: 1px solid var(--ag-line);
}

.ag-category-editor-content {
	max-width: 1100px;
	padding: 0;
}

.ag-category-editor-content .ag-business-lead {
	margin: 0;
	padding: 20px 24px;
	border-left: 3px solid #5bc0ff;
	background: rgba(91, 192, 255, .06);
	font-size: 1rem;
}

.ag-category-editor-content h2 {
	margin-top: 34px;
}

.ag-category-reference-note {
	margin: 0 0 22px;
	padding: 17px 19px;
	border: 1px solid rgba(255, 185, 95, .28);
	border-left: 3px solid #ffb95f;
	border-radius: 0 var(--ag-radius) var(--ag-radius) 0;
	background: rgba(255, 185, 95, .07);
	color: #e9d8bd;
	line-height: 1.68;
}

.ag-category-reference-note strong {
	color: #ffddb8;
}

.ag-category-table-wrap {
	border: 1px solid var(--ag-line);
	border-radius: var(--ag-radius);
	background: rgba(3, 20, 39, .48);
}

.ag-category-table-wrap table {
	width: 100%;
	min-width: 1180px;
	border-collapse: collapse;
}

.ag-category-material-table table {
	min-width: 1360px;
}

.ag-category-table-wrap th {
	background: rgba(16, 32, 52, .98);
	color: #ffddb8;
	font-size: 12px;
	letter-spacing: .04em;
	text-transform: uppercase;
}

.ag-category-table-wrap td {
	color: #c9d9e7;
	line-height: 1.58;
	vertical-align: top;
}

.ag-category-table-wrap tr:hover td {
	background: rgba(91, 192, 255, .035);
}

.ag-category-table-wrap a {
	color: #6bc4ff;
	font-weight: 850;
	text-decoration: none;
}

.ag-category-table-wrap a:hover {
	color: #ffddb8;
}

.ag-category-dual-select {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 28px;
}

.ag-category-dual-select > div {
	min-width: 0;
	padding: 30px;
	border: 1px solid var(--ag-line);
	border-radius: var(--ag-radius);
	background: rgba(3, 20, 39, .56);
}

.ag-category-dual-select .ag-section-heading {
	margin-bottom: 24px;
	text-align: left;
}

.ag-category-dual-select .ag-section-heading > p:last-child {
	margin-right: 0;
	margin-left: 0;
}

.ag-category-process-grid,
.ag-category-inspection-grid {
	grid-template-columns: repeat(4, minmax(0, 1fr));
}

.ag-category-process-grid .ag-hub-info-card,
.ag-category-inspection-grid .ag-hub-info-card {
	min-height: 220px;
}

.ag-category-product-grid,
.ag-category-material-grid,
.ag-category-related-grid,
.ag-category-solution-grid {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.ag-category-final-cta {
	border-top: 1px solid rgba(255, 185, 95, .24);
	border-bottom: 1px solid rgba(255, 185, 95, .24);
	background:
		linear-gradient(120deg, rgba(255, 185, 95, .09), transparent 45%),
		#071329;
}

.ag-category-final-cta-inner {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 40px;
	align-items: center;
}

.ag-category-final-cta h2 {
	max-width: 850px;
	margin: 8px 0 14px;
	color: #f8fafc;
	font-size: clamp(2rem, 3vw, 3rem);
	line-height: 1.15;
}

.ag-category-final-cta p:not(.ag-eyebrow) {
	max-width: 830px;
	margin: 0;
	color: var(--ag-text-soft);
	line-height: 1.7;
}

.ag-category-final-cta .ag-category-actions {
	justify-content: flex-end;
	margin-top: 0;
}

@media (max-width: 1180px) {
	.ag-category-process-grid,
	.ag-category-inspection-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 960px) {
	.ag-category-hero-grid,
	.ag-category-final-cta-inner {
		grid-template-columns: 1fr;
	}

	.ag-category-hero-grid {
		gap: 34px;
	}

	.ag-category-review {
		max-width: 620px;
	}

	.ag-category-final-cta .ag-category-actions {
		justify-content: flex-start;
	}
}

@media (max-width: 720px) {
	.ag-category-hero,
	.ag-category-hero-grid {
		min-height: 0;
	}

	.ag-category-hero-grid {
		padding: 58px 0 48px;
	}

	.ag-category-hero h1 {
		font-size: clamp(2.25rem, 11vw, 3.35rem);
	}

	.ag-category-dual-select,
	.ag-category-process-grid,
	.ag-category-inspection-grid,
	.ag-category-product-grid,
	.ag-category-material-grid,
	.ag-category-related-grid,
	.ag-category-solution-grid {
		grid-template-columns: 1fr;
	}

	.ag-category-dual-select > div {
		padding: 22px;
	}

	.ag-category-process-grid .ag-hub-info-card,
	.ag-category-inspection-grid .ag-hub-info-card {
		min-height: 0;
	}

	.ag-category-actions .ag-button {
		width: 100%;
		justify-content: center;
		text-align: center;
	}
}

/* ================================================================
   PHASE 4 — SOLUTION / PRODUCT / MATERIAL DETAIL PAGE REBUILD
   ================================================================ */
.ag-detail-v2-hero{position:relative;overflow:hidden;background:#061426;color:#fff;min-height:620px;display:flex;align-items:center}
.ag-detail-v2-hero-bg{position:absolute;inset:0;background:linear-gradient(100deg,rgba(3,16,31,.99),rgba(3,18,35,.88) 54%,rgba(3,18,35,.48)),linear-gradient(135deg,#07182a,#142b42);background-position:center;background-size:cover;opacity:.96}
.ag-detail-v2-hero-grid{position:relative;z-index:1;display:grid;grid-template-columns:minmax(0,1.45fr) minmax(320px,.65fr);gap:64px;align-items:center;padding-top:96px;padding-bottom:82px}
.ag-detail-v2-hero-copy h1{max-width:940px;margin:14px 0 22px;font-size:clamp(2.45rem,5vw,4.8rem);line-height:1.02;letter-spacing:-.045em}
.ag-detail-v2-lead{max-width:850px;font-size:1.16rem;line-height:1.75;color:#d7e4f1}
.ag-detail-v2-outcome{max-width:850px;margin:22px 0 0;padding-left:18px;border-left:3px solid #38bdf8;color:#dcecf8;font-size:1.02rem}
.ag-detail-v2-review-card{padding:30px;border:1px solid rgba(148,191,224,.26);border-radius:18px;background:rgba(7,26,46,.86);box-shadow:0 28px 70px rgba(0,0,0,.3);backdrop-filter:blur(12px)}
.ag-detail-v2-review-card>span,.ag-detail-v2-source-card>span,.ag-detail-v2-boundary>span{display:block;margin-bottom:10px;color:#7dd3fc;font-size:.76rem;font-weight:800;letter-spacing:.14em;text-transform:uppercase}
.ag-detail-v2-review-card h2{margin:0 0 12px;color:#fff;font-size:1.5rem}
.ag-detail-v2-review-card p{margin:0;color:#c9d9e7;line-height:1.7}
.ag-detail-v2-review-card dl{display:grid;gap:0;margin:24px 0 0;border-top:1px solid rgba(160,190,216,.18)}
.ag-detail-v2-review-card dl div{display:grid;grid-template-columns:1fr 1.15fr;gap:16px;padding:13px 0;border-bottom:1px solid rgba(160,190,216,.18)}
.ag-detail-v2-review-card dt{color:#8faac0;font-size:.78rem;text-transform:uppercase;letter-spacing:.05em}
.ag-detail-v2-review-card dd{margin:0;color:#fff;font-weight:700;text-align:right}
.ag-detail-v2-jump{position:sticky;top:0;z-index:30;border-bottom:1px solid #dbe4ec;background:rgba(255,255,255,.96);box-shadow:0 10px 30px rgba(15,35,55,.06);backdrop-filter:blur(12px)}
.admin-bar .ag-detail-v2-jump{top:32px}
.ag-detail-v2-jump .ag-container{display:flex;gap:8px;overflow-x:auto;padding-top:12px;padding-bottom:12px;scrollbar-width:none}
.ag-detail-v2-jump a{flex:none;padding:9px 15px;border-radius:999px;color:#30475d;font-size:.86rem;font-weight:750;text-decoration:none;white-space:nowrap}
.ag-detail-v2-jump a:hover{background:#e8f4fb;color:#075b88}
.ag-detail-v2-main{background:#fff}
.ag-detail-v2-muted{background:#f3f7fa}
.ag-detail-v2-reference-section{background:#07182a;color:#fff}
.ag-detail-v2-content-grid{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(310px,.55fr);gap:56px;align-items:start}
.ag-section-heading{max-width:880px;margin-bottom:28px}
.ag-section-heading>span{display:block;margin-bottom:9px;color:#0b78a8;font-size:.77rem;font-weight:800;letter-spacing:.12em;text-transform:uppercase}
.ag-section-heading h2{margin:0;font-size:clamp(1.85rem,3vw,2.65rem);line-height:1.13;letter-spacing:-.03em}
.ag-detail-v2-reference-section .ag-section-heading>span{color:#7dd3fc}
.ag-detail-v2-editor-content{font-size:1.03rem;line-height:1.8}
.ag-detail-v2-editor-content .ag-detail-editor-guide{padding:0!important;background:none!important}
.ag-detail-v2-editor-content h2{margin-top:42px;font-size:1.75rem}
.ag-detail-v2-editor-content h2:first-child{margin-top:0}
.ag-detail-v2-editor-content details{margin:14px 0;padding:16px 18px;border:1px solid #dbe5ed;border-radius:10px;background:#fff}
.ag-detail-v2-editor-content summary{cursor:pointer;font-weight:800;color:#142d44}
.ag-detail-v2-boundary,.ag-detail-v2-source-card{position:sticky;top:92px;padding:26px;border:1px solid #d8e4ec;border-radius:16px;background:#f7fafc;box-shadow:0 20px 50px rgba(20,50,75,.07)}
.ag-detail-v2-boundary h2{margin:0 0 12px;font-size:1.4rem}
.ag-detail-v2-boundary p{margin:0 0 14px;color:#4d6274;line-height:1.7}
.ag-detail-v2-source-card{top:98px;border-color:rgba(139,188,221,.25);background:#0d2337;color:#dce9f3}
.ag-detail-v2-source-card p{font-size:1.08rem;line-height:1.7}
.ag-detail-v2-source-card strong{display:block;margin-top:18px;color:#fff}
.ag-detail-v2-card-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.ag-detail-v2-card-grid-compact{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.ag-detail-v2-info-card{min-height:150px;padding:24px;border:1px solid #d8e3eb;border-radius:14px;background:#fff;box-shadow:0 13px 35px rgba(17,46,72,.055)}
.ag-detail-v2-info-card>span{display:inline-grid;place-items:center;width:34px;height:34px;margin-bottom:20px;border-radius:9px;background:#e6f4fb;color:#0674a5;font-size:.78rem;font-weight:900}
.ag-detail-v2-info-card p{margin:0;color:#31495c;line-height:1.65}
.ag-detail-v2-table-wrap{overflow-x:auto;border:1px solid rgba(148,189,221,.24);border-radius:14px;background:#0c2135}
.ag-detail-v2-table{width:100%;border-collapse:collapse;min-width:580px}
.ag-detail-v2-table th,.ag-detail-v2-table td{padding:16px 18px;border-bottom:1px solid rgba(148,189,221,.17);text-align:left;vertical-align:top}
.ag-detail-v2-table thead th{background:#102a43;color:#8dd7f8;font-size:.78rem;letter-spacing:.08em;text-transform:uppercase}
.ag-detail-v2-table tbody th{width:36%;color:#fff}
.ag-detail-v2-table tbody td{color:#cfe0ec}
.ag-detail-v2-flow{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:12px}
.ag-detail-v2-flow div{position:relative;min-height:156px;padding:20px;border:1px solid #d8e4ec;border-radius:13px;background:#fff}
.ag-detail-v2-flow div:not(:last-child):after{content:'→';position:absolute;right:-13px;top:50%;z-index:2;display:grid;place-items:center;width:26px;height:26px;border:1px solid #d8e4ec;border-radius:50%;background:#fff;color:#1683ae;transform:translateY(-50%)}
.ag-detail-v2-flow span{display:block;color:#0d7eac;font-weight:900}
.ag-detail-v2-flow p{margin:28px 0 0;color:#243d50;font-size:.92rem;line-height:1.55}
.ag-detail-v2-split{display:grid;grid-template-columns:1fr 1fr;gap:40px}
.ag-detail-v2-split>div>h3{margin:0 0 20px;font-size:1.35rem}
.ag-detail-v2-check-list,.ag-detail-v2-stage-list{display:grid;gap:12px;margin:0;padding:0;list-style:none}
.ag-detail-v2-check-list li,.ag-detail-v2-stage-list li{position:relative;padding:15px 18px 15px 46px;border:1px solid #d9e4ec;border-radius:11px;background:#fff;color:#2b4558;line-height:1.55}
.ag-detail-v2-check-list li:before{content:'✓';position:absolute;left:17px;top:14px;display:grid;place-items:center;width:20px;height:20px;border-radius:50%;background:#dff5ec;color:#05734d;font-weight:900}
.ag-detail-v2-stage-list{counter-reset:stage}
.ag-detail-v2-stage-list li{counter-increment:stage}
.ag-detail-v2-stage-list li:before{content:counter(stage);position:absolute;left:15px;top:13px;display:grid;place-items:center;width:24px;height:24px;border-radius:7px;background:#e4f2fa;color:#086d9a;font-size:.78rem;font-weight:900}
.ag-detail-v2-risk{display:flex;gap:14px;align-items:flex-start;margin-top:26px;padding:20px 22px;border-left:4px solid #f59e0b;border-radius:0 10px 10px 0;background:#fff8e8;color:#5c4930}
.ag-detail-v2-risk p{margin:0;line-height:1.65}
.ag-detail-v2-related-section{background:#07182a;color:#fff}
.ag-detail-v2-related-section .ag-section-heading>span{color:#7dd3fc}
.ag-detail-v2-related-block+.ag-detail-v2-related-block{margin-top:58px;padding-top:52px;border-top:1px solid rgba(148,189,221,.18)}
.ag-detail-v2-related-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.ag-detail-v2-related-card{display:flex;min-height:165px;flex-direction:column;padding:22px;border:1px solid rgba(145,189,221,.23);border-radius:14px;background:#0d2337;color:#fff;text-decoration:none;transition:.2s ease}
.ag-detail-v2-related-card:hover{border-color:#38bdf8;transform:translateY(-3px);background:#102b44}
.ag-detail-v2-related-card span{color:#7dd3fc;font-size:.72rem;font-weight:850;letter-spacing:.1em;text-transform:uppercase}
.ag-detail-v2-related-card h3{margin:14px 0 24px;font-size:1.12rem;line-height:1.35}
.ag-detail-v2-related-card strong{margin-top:auto;color:#a9c8db;font-size:.82rem}
.ag-detail-v2-rfq{background:linear-gradient(135deg,#0b6f9c,#083b5b);color:#fff}
.ag-detail-v2-rfq-grid{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(320px,.7fr);gap:56px;align-items:center}
.ag-detail-v2-rfq h2{margin:8px 0 18px;color:#fff;font-size:clamp(2rem,3vw,3rem)}
.ag-detail-v2-rfq p{max-width:760px;color:#d9edf7;font-size:1.08rem;line-height:1.7}
.ag-detail-v2-rfq aside{padding:26px;border:1px solid rgba(255,255,255,.22);border-radius:15px;background:rgba(2,28,48,.28)}
.ag-detail-v2-rfq aside h3{margin:0 0 16px}
.ag-detail-v2-rfq aside ul{display:grid;grid-template-columns:1fr 1fr;gap:10px 22px;margin:0;padding-left:19px;color:#e7f5fb}
.ag-data-boundary-note{padding:15px 18px;border-left:4px solid #f59e0b;background:#fff8e8;color:#59462d}
@media(max-width:1100px){.ag-detail-v2-hero-grid,.ag-detail-v2-content-grid,.ag-detail-v2-rfq-grid{grid-template-columns:1fr}.ag-detail-v2-review-card{max-width:720px}.ag-detail-v2-boundary,.ag-detail-v2-source-card{position:static}.ag-detail-v2-flow{grid-template-columns:repeat(3,1fr)}.ag-detail-v2-flow div:nth-child(3):after{display:none}}
@media(max-width:820px){.admin-bar .ag-detail-v2-jump{top:46px}.ag-detail-v2-hero{min-height:auto}.ag-detail-v2-hero-grid{gap:34px;padding-top:76px;padding-bottom:58px}.ag-detail-v2-card-grid,.ag-detail-v2-related-grid{grid-template-columns:1fr 1fr}.ag-detail-v2-flow{grid-template-columns:1fr 1fr}.ag-detail-v2-flow div:nth-child(3):after{display:grid}.ag-detail-v2-flow div:nth-child(even):after{display:none}.ag-detail-v2-split{grid-template-columns:1fr}.ag-detail-v2-rfq aside ul{grid-template-columns:1fr}}
@media(max-width:560px){.ag-detail-v2-hero-copy h1{font-size:2.45rem}.ag-detail-v2-review-card{padding:22px}.ag-detail-v2-card-grid,.ag-detail-v2-related-grid,.ag-detail-v2-flow{grid-template-columns:1fr}.ag-detail-v2-flow div:after{display:none!important}.ag-detail-v2-related-card{min-height:140px}.ag-detail-v2-risk{display:block}.ag-detail-v2-risk strong{display:block;margin-bottom:8px}}


/* Phase 5: three-Hub SEO content and conversion modules. */
.ag-hub-info-link { display:flex; flex-direction:column; color:var(--ag-text); text-decoration:none; transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease; }
.ag-hub-info-link:hover { border-color:#ffb95f; box-shadow:0 18px 38px rgba(0,0,0,.2); transform:translateY(-3px); }
.ag-hub-info-link b { margin-top:auto; padding-top:18px; color:#6bc4ff; font-size:13px; }
.ag-hub-table-footnote { margin:18px 0 0; color:var(--ag-text-soft); font-size:13px; line-height:1.65; }
.ag-hub-faq-list { max-width:980px; margin:0 auto; border-top:1px solid var(--ag-line); }
.ag-hub-faq-item { border-bottom:1px solid var(--ag-line); background:rgba(3,20,39,.38); }
.ag-hub-faq-item summary { position:relative; padding:22px 52px 22px 20px; color:#f8fafc; font-size:18px; font-weight:800; line-height:1.4; cursor:pointer; }
.ag-hub-faq-item summary::after { content:'+'; position:absolute; right:20px; top:18px; color:#6bc4ff; font-size:26px; }
.ag-hub-faq-item[open] summary::after { content:'–'; }
.ag-hub-faq-item > div { padding:0 52px 22px 20px; }
.ag-hub-faq-item p { margin:0; color:var(--ag-text-soft); line-height:1.75; }


/* Phase 6: Solution SEO content */
.ag-solution-seo-content>.ag-solution-lead{font-size:1.14rem;line-height:1.8;color:#17344a}
.ag-solution-seo-content .ag-solution-data-table{margin:24px 0 34px;overflow-x:auto}
.ag-solution-seo-content .ag-solution-data-table table{min-width:720px;border-collapse:collapse}
.ag-solution-seo-content .ag-solution-data-table th,.ag-solution-seo-content .ag-solution-data-table td{padding:15px 17px;border:1px solid #dce6ed;text-align:left;vertical-align:top}
.ag-solution-seo-content .ag-solution-data-table th{background:#eaf4fa;color:#173b57;font-size:.86rem;letter-spacing:.02em}
.ag-solution-seo-content .ag-solution-data-table td{color:#304a5e;line-height:1.6}
.ag-solution-seo-content .wp-block-columns{gap:26px;margin:24px 0 34px}
.ag-solution-seo-content .wp-block-column{padding:24px;border:1px solid #dce6ed;border-radius:14px;background:#f8fbfd}
.ag-solution-seo-content .wp-block-column h3{margin-top:0}
.ag-solution-seo-content a{font-weight:700}


/* Phase 8 Materials Complete */
.ag-material-data-table table{width:100%;border-collapse:collapse}.ag-material-data-table th,.ag-material-data-table td{padding:14px 16px;border:1px solid rgba(255,255,255,.12);vertical-align:top}.ag-material-data-table th{font-weight:700}.ag-detail-v2-faq-section .ag-hub-faq-list,.ag-category-faq-section .ag-hub-faq-list{max-width:980px}.ag-detail-v2-faq-section details,.ag-category-faq-section details{border:1px solid rgba(255,255,255,.14);border-radius:10px;margin:0 0 12px;padding:16px 18px}.ag-detail-v2-faq-section summary,.ag-category-faq-section summary{cursor:pointer;font-weight:700}.ag-detail-v2-faq-section details p,.ag-category-faq-section details p{margin:12px 0 0}


/* Phase 9: PSEO <-> commercial-page internal linking */
.ag-phase9-bridge,
.ag-phase9-resources {
  position: relative;
  padding: clamp(64px, 7vw, 104px) 0;
  border-top: 1px solid rgba(255,255,255,.08);
  background:
    radial-gradient(circle at 12% 20%, rgba(54,151,255,.13), transparent 34%),
    linear-gradient(180deg, #101820 0%, #0a1016 100%);
  color: #f5f8fb;
}
.ag-phase9-resources {
  background:
    radial-gradient(circle at 88% 10%, rgba(64,184,156,.12), transparent 32%),
    linear-gradient(180deg, #0d151c 0%, #091016 100%);
}
.ag-phase9-section-heading { max-width: 900px; margin-bottom: 30px; }
.ag-phase9-section-heading h2 { margin: 8px 0 12px; color: #fff; font-size: clamp(30px, 4vw, 48px); line-height: 1.12; }
.ag-phase9-section-heading > p:last-child { max-width: 780px; color: #bac6d0; font-size: 17px; line-height: 1.75; }
.ag-phase9-route-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.ag-phase9-route-card {
  display: flex; min-height: 230px; flex-direction: column; padding: 24px; border: 1px solid rgba(255,255,255,.10);
  border-radius: 18px; background: rgba(255,255,255,.045); color: inherit; text-decoration: none;
  transition: transform .2s ease, border-color .2s ease, background .2s ease;
}
.ag-phase9-route-card:hover { transform: translateY(-4px); border-color: rgba(103,184,255,.55); background: rgba(255,255,255,.075); }
.ag-phase9-route-card span { color: #7fc5ff; font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.ag-phase9-route-card h3 { margin: 14px 0 10px; color: #fff; font-size: 21px; line-height: 1.3; }
.ag-phase9-route-card p { margin: 0 0 18px; color: #b7c3cd; line-height: 1.65; }
.ag-phase9-route-card strong { margin-top: auto; color: #fff; font-size: 14px; }
.ag-phase9-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.ag-phase9-resource-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.ag-phase9-resource-column { padding: 26px; border: 1px solid rgba(255,255,255,.10); border-radius: 18px; background: rgba(255,255,255,.04); }
.ag-phase9-resource-column h3 { margin: 0 0 8px; color: #fff; font-size: 22px; }
.ag-phase9-resource-column > p { margin: 0 0 18px; color: #aebbc6; line-height: 1.6; }
.ag-phase9-resource-column ul { display: grid; gap: 11px; margin: 0; padding: 0; list-style: none; }
.ag-phase9-resource-column li { position: relative; padding-left: 18px; }
.ag-phase9-resource-column li::before { content: ""; position: absolute; left: 0; top: .7em; width: 7px; height: 7px; border-radius: 50%; background: #62b7ef; }
.ag-phase9-resource-column a { color: #e9f4fb; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.ag-phase9-resource-column a:hover { color: #8fd0ff; }
@media (max-width: 1080px) { .ag-phase9-route-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 760px) {
  .ag-phase9-route-grid, .ag-phase9-resource-grid { grid-template-columns: 1fr; }
  .ag-phase9-route-card { min-height: 0; }
  .ag-phase9-actions .ag-button { width: 100%; justify-content: center; }
}

/* --------------------------------------------------------------------------
 * Phase 11A: Solutions visual standard refinement.
 *
 * The existing Solutions palette remains the visual source of truth. These
 * rules improve spacing, card rhythm, reading width, RFQ prominence and
 * responsive behavior without introducing a new color system.
 * ----------------------------------------------------------------------- */
.ag-solutions-hub .ag-section {
	padding-top: clamp(76px, 7vw, 104px);
	padding-bottom: clamp(76px, 7vw, 104px);
}

.ag-solutions-hub .ag-hub-hero-grid {
	grid-template-columns: minmax(0, 1.22fr) minmax(310px, .62fr);
	gap: clamp(42px, 5vw, 76px);
	padding-top: clamp(76px, 8vw, 108px);
	padding-bottom: clamp(76px, 8vw, 108px);
}

.ag-solutions-hub .ag-hub-hero-copy {
	max-width: 860px;
}

.ag-solutions-hub .ag-hub-hero-intro {
	max-width: 70ch;
}

.ag-solutions-hub .ag-hub-hero-review {
	padding: clamp(26px, 3vw, 34px);
}

.ag-solutions-hub .ag-hub-section-heading {
	max-width: 920px;
	margin-bottom: clamp(38px, 4vw, 52px);
}

.ag-solutions-hub .ag-hub-section-heading > p:last-child {
	max-width: 72ch;
}

.ag-solutions-hub .ag-hub-cpt-grid,
.ag-solutions-hub .ag-hub-info-grid {
	align-items: stretch;
	gap: clamp(18px, 2vw, 24px);
}

.ag-solutions-hub .ag-hub-cpt-card,
.ag-solutions-hub .ag-hub-challenge-grid .ag-hub-cpt-card {
	height: 100%;
	min-height: 0;
}

.ag-solutions-hub .ag-hub-cpt-image {
	min-height: 0;
	aspect-ratio: 16 / 9;
	background-position: center;
}

.ag-solutions-hub .ag-hub-cpt-body {
	padding: clamp(24px, 2.4vw, 30px);
}

.ag-solutions-hub .ag-hub-cpt-body small {
	margin-bottom: 12px;
}

.ag-solutions-hub .ag-hub-cpt-body strong {
	display: block;
	margin-bottom: 4px;
	font-size: clamp(1.22rem, 1.6vw, 1.48rem);
	line-height: 1.3;
}

.ag-solutions-hub .ag-hub-cpt-body > span,
.ag-solutions-hub .ag-hub-cpt-body em {
	line-height: 1.72;
}

.ag-solutions-hub .ag-hub-cpt-body b {
	padding-top: 26px;
}

.ag-solutions-hub .ag-hub-info-card {
	display: flex;
	min-height: 205px;
	flex-direction: column;
	padding: clamp(25px, 2.5vw, 31px);
}

.ag-solutions-hub .ag-hub-info-card h3 {
	margin-bottom: 14px;
	line-height: 1.32;
}

.ag-solutions-hub .ag-hub-info-card p {
	max-width: 62ch;
	line-height: 1.72;
}

.ag-solutions-hub .ag-hub-info-link b {
	padding-top: 24px;
}

.ag-solutions-hub .ag-hub-workflow-grid {
	align-items: stretch;
}

.ag-solutions-hub .ag-hub-workflow-grid .ag-hub-info-card {
	min-height: 230px;
	padding: 25px 22px;
}

.ag-solutions-hub .ag-hub-faq-list {
	max-width: 1040px;
}

.ag-solutions-hub .ag-hub-faq-item summary {
	padding-top: 24px;
	padding-bottom: 24px;
}

.ag-solutions-hub .ag-hub-faq-item > div {
	padding-bottom: 25px;
}

.ag-solutions-hub .ag-hub-final-cta-inner {
	gap: clamp(32px, 5vw, 68px);
}

.ag-solutions-hub .ag-hub-final-cta p:not(.ag-eyebrow) {
	max-width: 68ch;
}

.ag-solutions-hub .ag-hub-final-cta .ag-hub-actions {
	gap: 14px;
}

/* The long RFQ follows the Solutions Hub wrapper directly. */
.ag-solutions-hub + .ag-rfq-section {
	padding-top: clamp(76px, 7vw, 104px);
	padding-bottom: clamp(76px, 7vw, 104px);
}

.ag-solutions-hub + .ag-rfq-section .ag-rfq-heading {
	max-width: 920px;
	margin-bottom: 48px;
}

.ag-solutions-hub + .ag-rfq-section .ag-rfq-layout {
	grid-template-columns: minmax(0, 1fr) minmax(320px, 390px);
	gap: clamp(24px, 3vw, 38px);
}

.ag-solutions-hub + .ag-rfq-section .ag-rfq-form {
	padding: clamp(28px, 3vw, 38px);
}

.ag-solutions-hub + .ag-rfq-section .ag-form-grid {
	column-gap: 28px;
	row-gap: 24px;
}

.ag-solutions-hub + .ag-rfq-section .ag-rfq-side-card {
	padding: 30px;
}

/* --------------------------------------------------------------------------
 * Phase 11B: Solution detail pages aligned to the Solutions Hub.
 *
 * The Hub remains unchanged. Detail pages reuse its layered dark surfaces,
 * cyan technical accents, restrained amber actions, compact cards and clear
 * section rhythm. Editor copy, links, tables and FAQs are only re-framed.
 * ----------------------------------------------------------------------- */
.ag-detail-v2-hero-solution {
	min-height: 560px;
	background: var(--ag-solutions-bg);
}

.ag-detail-v2-hero-solution .ag-detail-v2-hero-grid {
	grid-template-columns: minmax(0, 1fr) minmax(300px, 390px);
	gap: clamp(42px, 5vw, 68px);
	padding-top: clamp(78px, 8vw, 104px);
	padding-bottom: clamp(72px, 7vw, 92px);
}

.ag-detail-v2-hero-solution .ag-detail-v2-hero-copy {
	max-width: 850px;
}

.ag-detail-v2-hero-solution .ag-detail-v2-lead,
.ag-detail-v2-hero-solution .ag-detail-v2-outcome {
	max-width: 70ch;
}

.ag-detail-v2-hero-solution .ag-detail-v2-review-card {
	padding: 28px;
	border-color: rgba(185, 229, 243, .26);
	border-radius: var(--ag-radius);
	background: rgba(3, 20, 39, .72);
	box-shadow: 0 22px 70px rgba(0, 0, 0, .28);
}

.ag-detail-v2-hero-solution .ag-detail-v2-review-card > span {
	color: var(--ag-solutions-action);
}

.ag-detail-v2-jump-solution {
	border-top: 1px solid rgba(185, 229, 243, .10);
	border-bottom: 1px solid var(--ag-solutions-border);
	background: rgba(3, 20, 39, .96);
	box-shadow: 0 12px 28px rgba(0, 0, 0, .18);
}

.ag-detail-v2-jump-solution .ag-container {
	gap: 8px;
	scroll-snap-type: x proximity;
	scroll-padding-inline: 20px;
}

.ag-detail-v2-jump-solution a {
	scroll-snap-align: start;
	border: 1px solid transparent;
	color: var(--ag-solutions-text-soft);
}

.ag-detail-v2-jump-solution a:hover,
.ag-detail-v2-jump-solution a:focus-visible {
	border-color: rgba(91, 192, 255, .42);
	background: rgba(91, 192, 255, .08);
	color: var(--ag-solutions-accent);
}

.ag-detail-v2-main-solution {
	background: var(--ag-solutions-bg);
	color: var(--ag-solutions-text);
}

.ag-detail-v2-main-solution [id] {
	scroll-margin-top: 96px;
}

.ag-detail-v2-main-solution .ag-section,
.ag-detail-v2-main-solution .ag-solution-detail-section {
	padding-top: clamp(76px, 7vw, 104px);
	padding-bottom: clamp(76px, 7vw, 104px);
}

.ag-detail-v2-main-solution .ag-solution-detail-section {
	border-bottom: 1px solid var(--ag-solutions-border);
}

.ag-detail-v2-main-solution .ag-solution-detail-section-base {
	background: var(--ag-solutions-bg);
}

.ag-detail-v2-main-solution .ag-solution-detail-section-surface {
	background: var(--ag-solutions-surface);
}

.ag-solution-detail-overview-grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(280px, 350px);
	gap: clamp(30px, 4vw, 52px);
	align-items: start;
}

.ag-detail-v2-main-solution .ag-solution-detail-panel,
.ag-detail-v2-main-solution .ag-solution-detail-note {
	border: 1px solid var(--ag-solutions-border);
	border-radius: var(--ag-radius);
	box-shadow: 0 18px 44px rgba(0, 0, 0, .12);
}

.ag-detail-v2-main-solution .ag-solution-detail-panel {
	max-width: 1080px;
	padding: clamp(28px, 3.5vw, 44px);
	background: var(--ag-solutions-card);
}

.ag-detail-v2-main-solution .ag-solution-detail-section-surface .ag-solution-detail-panel {
	background: var(--ag-solutions-card-on-surface);
}

.ag-detail-v2-main-solution .ag-solution-detail-overview-grid .ag-solution-detail-panel {
	max-width: none;
}

.ag-detail-v2-main-solution .ag-section-heading {
	max-width: 780px;
	margin: 0 0 30px;
	text-align: left;
}

.ag-detail-v2-main-solution .ag-section-heading > span {
	color: var(--ag-solutions-action);
}

.ag-detail-v2-main-solution .ag-section-heading h2,
.ag-detail-v2-main-solution .ag-solution-detail-content h2,
.ag-detail-v2-main-solution .ag-solution-detail-content h3,
.ag-detail-v2-main-solution .ag-solution-detail-content h4 {
	color: var(--ag-solutions-text);
}

.ag-detail-v2-main-solution .ag-solution-detail-content {
	max-width: 78ch;
	margin: 0;
	font-size: 1.03rem;
	line-height: 1.8;
}

.ag-detail-v2-main-solution .ag-solution-detail-content h2 {
	margin: 0 0 24px;
	font-size: clamp(1.85rem, 3vw, 2.65rem);
	line-height: 1.14;
	letter-spacing: -.025em;
}

.ag-detail-v2-main-solution .ag-solution-detail-content h3 {
	margin: 30px 0 12px;
	font-size: 1.25rem;
	line-height: 1.35;
}

.ag-detail-v2-main-solution .ag-solution-detail-content p,
.ag-detail-v2-main-solution .ag-solution-detail-content li,
.ag-detail-v2-main-solution .ag-solution-detail-content figcaption {
	color: var(--ag-solutions-text-soft);
}

.ag-detail-v2-main-solution .ag-solution-detail-content p:last-child,
.ag-detail-v2-main-solution .ag-solution-detail-content ul:last-child,
.ag-detail-v2-main-solution .ag-solution-detail-content ol:last-child,
.ag-detail-v2-main-solution .ag-solution-detail-content figure:last-child {
	margin-bottom: 0;
}

.ag-detail-v2-main-solution .ag-solution-detail-content a {
	color: var(--ag-solutions-accent);
	font-weight: 750;
	text-underline-offset: 3px;
}

.ag-detail-v2-main-solution .ag-solution-detail-content a:hover {
	color: #a7ddff;
}

.ag-detail-v2-main-solution .ag-solution-detail-content strong {
	color: var(--ag-solutions-text);
}

.ag-detail-v2-main-solution .ag-solution-detail-note {
	position: static;
	padding: 28px;
	background: var(--ag-solutions-card-on-surface);
	color: var(--ag-solutions-text);
}

.ag-detail-v2-main-solution .ag-solution-detail-note > span {
	color: var(--ag-solutions-accent);
}

.ag-detail-v2-main-solution .ag-solution-detail-note h2 {
	margin: 0 0 13px;
	color: var(--ag-solutions-text);
	font-size: 1.3rem;
	line-height: 1.35;
}

.ag-detail-v2-main-solution .ag-solution-detail-note p {
	margin: 0;
	color: var(--ag-solutions-text-soft);
	line-height: 1.72;
}

.ag-detail-v2-main-solution .ag-detail-v2-boundary:not(.ag-solution-detail-note) {
	position: static;
	padding: 28px;
	border-color: var(--ag-solutions-border);
	border-radius: var(--ag-radius);
	background: var(--ag-solutions-card-on-surface);
	color: var(--ag-solutions-text);
	box-shadow: 0 18px 44px rgba(0, 0, 0, .12);
}

.ag-detail-v2-main-solution .ag-detail-v2-boundary:not(.ag-solution-detail-note) h2 {
	color: var(--ag-solutions-text);
}

.ag-detail-v2-main-solution .ag-detail-v2-boundary:not(.ag-solution-detail-note) p {
	color: var(--ag-solutions-text-soft);
}

.ag-detail-v2-main-solution .ag-detail-v2-editor-content details,
.ag-detail-v2-main-solution .ag-detail-v2-editor-content .wp-block-details {
	border-color: var(--ag-solutions-border);
	background: rgba(3, 20, 39, .38);
}

.ag-detail-v2-main-solution .ag-detail-v2-editor-content details summary,
.ag-detail-v2-main-solution .ag-detail-v2-editor-content .wp-block-details summary {
	color: var(--ag-solutions-text);
}

.ag-detail-v2-main-solution .ag-detail-v2-editor-content details p,
.ag-detail-v2-main-solution .ag-detail-v2-editor-content .wp-block-details p {
	color: var(--ag-solutions-text-soft);
}

/* Editor tables inherit the Hub card treatment instead of a white report. */
.ag-detail-v2-main-solution .ag-solution-detail-content .wp-block-table,
.ag-detail-v2-main-solution .ag-solution-detail-content .ag-solution-data-table {
	overflow-x: auto;
	margin: 26px 0 0;
	border: 1px solid var(--ag-solutions-border);
	border-radius: var(--ag-radius);
	background: rgba(3, 20, 39, .55);
	scrollbar-color: var(--ag-solutions-accent) rgba(3, 20, 39, .55);
}

.ag-detail-v2-main-solution .ag-solution-detail-content table {
	width: 100%;
	min-width: 720px;
	border-collapse: collapse;
	background: transparent;
}

.ag-detail-v2-main-solution .ag-solution-detail-content th,
.ag-detail-v2-main-solution .ag-solution-detail-content td {
	padding: 15px 17px;
	border: 0;
	border-bottom: 1px solid rgba(185, 229, 243, .14);
	text-align: left;
	vertical-align: top;
}

.ag-detail-v2-main-solution .ag-solution-detail-content thead th {
	background: rgba(91, 192, 255, .09);
	color: var(--ag-solutions-accent);
	font-size: .78rem;
	font-weight: 850;
	letter-spacing: .06em;
	text-transform: uppercase;
}

.ag-detail-v2-main-solution .ag-solution-detail-content tbody td {
	color: var(--ag-solutions-text-soft);
}

.ag-detail-v2-main-solution .ag-solution-detail-content tbody tr:nth-child(even) {
	background: rgba(255, 255, 255, .025);
}

.ag-detail-v2-main-solution .ag-solution-detail-content tbody tr:last-child td {
	border-bottom: 0;
}

/* Lists become Hub-style specification cards only in checklist sections. */
.ag-detail-v2-main-solution .ag-solution-detail-section-checklist .ag-solution-detail-content ul,
.ag-detail-v2-main-solution .ag-solution-detail-section-checklist .ag-solution-detail-content ol {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
	margin: 24px 0 0;
	padding: 0;
	list-style: none;
}

.ag-detail-v2-main-solution .ag-solution-detail-section-checklist .ag-solution-detail-content li {
	position: relative;
	min-height: 82px;
	padding: 18px 18px 18px 42px;
	border: 1px solid var(--ag-solutions-border);
	border-radius: var(--ag-radius);
	background: rgba(3, 20, 39, .48);
	line-height: 1.62;
}

.ag-detail-v2-main-solution .ag-solution-detail-section-checklist .ag-solution-detail-content li::before {
	content: '';
	position: absolute;
	left: 18px;
	top: 24px;
	width: 9px;
	height: 9px;
	border: 2px solid var(--ag-solutions-accent);
	border-radius: 50%;
}

/* FAQ details exactly follow the Solutions Hub disclosure pattern. */
.ag-detail-v2-main-solution .ag-solution-detail-section-faq .ag-solution-detail-panel {
	max-width: 980px;
}

.ag-detail-v2-main-solution .ag-solution-detail-section-faq details,
.ag-detail-v2-main-solution .ag-solution-detail-section-faq .wp-block-details {
	margin: 0;
	padding: 0;
	border: 0;
	border-top: 1px solid var(--ag-solutions-border);
	border-radius: 0;
	background: rgba(3, 20, 39, .38);
}

.ag-detail-v2-main-solution .ag-solution-detail-section-faq details:last-child,
.ag-detail-v2-main-solution .ag-solution-detail-section-faq .wp-block-details:last-child {
	border-bottom: 1px solid var(--ag-solutions-border);
}

.ag-detail-v2-main-solution .ag-solution-detail-section-faq summary {
	position: relative;
	padding: 22px 52px 22px 20px;
	color: var(--ag-solutions-text);
	font-size: 1rem;
	font-weight: 800;
	line-height: 1.45;
	cursor: pointer;
	list-style: none;
}

.ag-detail-v2-main-solution .ag-solution-detail-section-faq summary::-webkit-details-marker {
	display: none;
}

.ag-detail-v2-main-solution .ag-solution-detail-section-faq summary::after {
	content: '+';
	position: absolute;
	right: 20px;
	top: 17px;
	color: var(--ag-solutions-accent);
	font-size: 26px;
	font-weight: 500;
}

.ag-detail-v2-main-solution .ag-solution-detail-section-faq details[open] summary::after {
	content: '–';
}

.ag-detail-v2-main-solution .ag-solution-detail-section-faq details > p,
.ag-detail-v2-main-solution .ag-solution-detail-section-faq details > div {
	margin: 0;
	padding: 0 52px 22px 20px;
	color: var(--ag-solutions-text-soft);
}

/* Shorter Solution entries that use structured fallback modules share the same Hub palette. */
.ag-detail-v2-main-solution > .ag-detail-v2-editor-section,
.ag-detail-v2-main-solution > .ag-detail-v2-muted {
	border-top: 1px solid var(--ag-solutions-border);
	border-bottom: 1px solid var(--ag-solutions-border);
	background: var(--ag-solutions-surface);
	color: var(--ag-solutions-text);
}

.ag-detail-v2-main-solution > .ag-section:not(.ag-detail-v2-muted):not(.ag-detail-v2-reference-section):not(.ag-detail-v2-related-section):not(.ag-detail-v2-rfq) {
	background: var(--ag-solutions-bg);
	color: var(--ag-solutions-text);
}

.ag-detail-v2-main-solution .ag-detail-v2-content-grid {
	grid-template-columns: minmax(0, 1fr) minmax(280px, 350px);
	gap: clamp(30px, 4vw, 52px);
}

.ag-detail-v2-main-solution .ag-detail-v2-editor-content {
	max-width: 78ch;
	margin: 0;
	color: var(--ag-solutions-text-soft);
}

.ag-detail-v2-main-solution .ag-detail-v2-info-card,
.ag-detail-v2-main-solution .ag-detail-v2-flow > div,
.ag-detail-v2-main-solution .ag-detail-v2-check-list li,
.ag-detail-v2-main-solution .ag-detail-v2-stage-list li {
	border-color: var(--ag-solutions-border);
	border-radius: var(--ag-radius);
	background: var(--ag-solutions-card-on-surface);
	color: var(--ag-solutions-text-soft);
	box-shadow: none;
}

.ag-detail-v2-main-solution .ag-detail-v2-info-card > span,
.ag-detail-v2-main-solution .ag-detail-v2-flow span {
	background: rgba(91, 192, 255, .10);
	color: var(--ag-solutions-accent);
}

.ag-detail-v2-main-solution .ag-detail-v2-info-card p,
.ag-detail-v2-main-solution .ag-detail-v2-flow p,
.ag-detail-v2-main-solution .ag-detail-v2-check-list li,
.ag-detail-v2-main-solution .ag-detail-v2-stage-list li {
	color: var(--ag-solutions-text-soft);
}

.ag-detail-v2-main-solution .ag-detail-v2-flow > div:not(:last-child)::after {
	border-color: var(--ag-solutions-border);
	background: var(--ag-solutions-bg);
	color: var(--ag-solutions-accent);
}

.ag-detail-v2-main-solution .ag-detail-v2-check-list li::before,
.ag-detail-v2-main-solution .ag-detail-v2-stage-list li::before {
	background: rgba(91, 192, 255, .12);
	color: var(--ag-solutions-accent);
}

.ag-detail-v2-main-solution .ag-detail-v2-risk {
	border-left-color: var(--ag-solutions-action);
	background: rgba(255, 185, 95, .08);
	color: #f4dfbf;
}

.ag-detail-v2-main-solution .ag-detail-v2-faq-section {
	border-top: 1px solid var(--ag-solutions-border);
	background: var(--ag-solutions-surface);
	color: var(--ag-solutions-text);
}

.ag-detail-v2-main-solution .ag-detail-v2-faq-section details {
	border-color: var(--ag-solutions-border);
	background: rgba(3, 20, 39, .40);
}

.ag-detail-v2-main-solution .ag-detail-v2-faq-section summary {
	color: var(--ag-solutions-text);
}

.ag-detail-v2-main-solution .ag-detail-v2-faq-section details p {
	color: var(--ag-solutions-text-soft);
}

/* The closing RFQ uses the Hub's restrained amber action band. */
.ag-detail-v2-main-solution .ag-detail-v2-rfq {
	border-top: 1px solid rgba(255, 185, 95, .24);
	border-bottom: 1px solid rgba(255, 185, 95, .24);
	background:
		linear-gradient(120deg, rgba(255, 185, 95, .09), transparent 45%),
		var(--ag-navy);
}

.ag-detail-v2-main-solution .ag-detail-v2-rfq-grid {
	grid-template-columns: minmax(0, 1fr) minmax(300px, 390px);
	gap: clamp(34px, 5vw, 62px);
}

.ag-detail-v2-main-solution .ag-detail-v2-rfq p {
	color: var(--ag-solutions-text-soft);
}

.ag-detail-v2-main-solution .ag-detail-v2-rfq aside {
	border-color: var(--ag-solutions-border);
	border-radius: var(--ag-radius);
	background: rgba(3, 20, 39, .52);
}

/* Footer: retain the existing dark finish, but reduce link-wall weight. */
.ag-site-footer .ag-footer-grid {
	gap: 30px 22px;
	padding-top: 52px;
	padding-bottom: 30px;
}

.ag-site-footer .ag-footer-brand p {
	font-size: .92rem;
	line-height: 1.7;
}

.ag-site-footer .ag-footer-links h2 {
	margin-bottom: 10px;
	font-size: .78rem;
	font-weight: 800;
	letter-spacing: .07em;
	text-transform: uppercase;
}

.ag-site-footer .ag-footer-links a {
	padding-top: 3px;
	padding-bottom: 3px;
	font-size: .88rem;
	line-height: 1.45;
}

.ag-site-footer .ag-footer-bottom {
	font-size: .82rem;
}

@media (max-width: 1100px) {
	.ag-solutions-hub .ag-hub-hero-grid,
	.ag-detail-v2-hero-solution .ag-detail-v2-hero-grid,
	.ag-detail-v2-main-solution .ag-detail-v2-content-grid,
	.ag-solution-detail-overview-grid,
	.ag-detail-v2-main-solution .ag-detail-v2-rfq-grid,
	.ag-solutions-hub + .ag-rfq-section .ag-rfq-layout {
		grid-template-columns: 1fr;
	}

	.ag-solutions-hub .ag-hub-hero-review,
	.ag-detail-v2-hero-solution .ag-detail-v2-review-card {
		max-width: 760px;
	}

	.ag-detail-v2-main-solution .ag-detail-v2-boundary {
		position: static;
	}
}

@media (max-width: 820px) {
	.ag-solutions-hub .ag-section,
	.ag-detail-v2-main-solution .ag-section,
	.ag-solutions-hub + .ag-rfq-section {
		padding-top: 64px;
		padding-bottom: 64px;
	}

	.ag-solutions-hub .ag-hub-hero-grid,
	.ag-detail-v2-hero-solution .ag-detail-v2-hero-grid {
		padding-top: 70px;
		padding-bottom: 62px;
	}

	.ag-solutions-hub .ag-hub-info-card,
	.ag-solutions-hub .ag-hub-workflow-grid .ag-hub-info-card {
		min-height: 0;
	}

	.ag-detail-v2-main-solution .ag-detail-v2-editor-content {
		max-width: none;
	}
}

@media (max-width: 640px) {
	.ag-solutions-hub .ag-section,
	.ag-detail-v2-main-solution .ag-section,
	.ag-solutions-hub + .ag-rfq-section {
		padding-top: 48px;
		padding-bottom: 48px;
	}

	.ag-solutions-hub .ag-hub-hero-grid,
	.ag-detail-v2-hero-solution .ag-detail-v2-hero-grid {
		gap: 30px;
		padding-top: 54px;
		padding-bottom: 48px;
	}

	.ag-solutions-hub .ag-hub-section-heading {
		margin-bottom: 32px;
	}

	.ag-solutions-hub .ag-hub-cpt-body,
	.ag-solutions-hub .ag-hub-info-card,
	.ag-detail-v2-main-solution .ag-detail-v2-boundary,
	.ag-detail-v2-main-solution .ag-solution-detail-panel,
	.ag-detail-v2-main-solution .ag-solution-detail-note,
	.ag-detail-v2-main-solution .ag-detail-v2-info-card,
	.ag-detail-v2-main-solution .ag-detail-v2-related-card {
		padding: 22px;
	}

	.ag-solutions-hub .ag-hub-final-cta .ag-hub-actions {
		justify-content: stretch;
	}

	.ag-solutions-hub + .ag-rfq-section .ag-rfq-form,
	.ag-solutions-hub + .ag-rfq-section .ag-rfq-side-card {
		padding: 22px;
	}

	.ag-detail-v2-main-solution .ag-solution-detail-section-checklist .ag-solution-detail-content ul,
	.ag-detail-v2-main-solution .ag-solution-detail-section-checklist .ag-solution-detail-content ol {
		grid-template-columns: 1fr;
	}

	.ag-detail-v2-jump-solution a {
		padding: 8px 12px;
		font-size: .8rem;
	}

	.ag-site-footer .ag-footer-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 26px 18px;
	}

	.ag-site-footer .ag-footer-brand {
		grid-column: 1 / -1;
	}
}

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

	.ag-site-footer .ag-footer-links h2 {
		font-size: .72rem;
	}

	.ag-site-footer .ag-footer-links a {
		font-size: .82rem;
	}
}

/* ==========================================================================
   Phase 11C — Solutions detail final layout correction
   Scope: /solutions/*/ detail pages only.
   Keeps the approved Solutions Hub palette and the completed dark table style.
   ========================================================================== */

/* Content navigation: JS adds .is-ag-jump-fixed after the bar reaches the header. */
.ag-detail-v2-jump-solution {
	position: relative;
	top: auto;
	z-index: 49;
	width: 100%;
	border-top: 1px solid rgba(185, 229, 243, .10);
	border-bottom: 1px solid rgba(185, 229, 243, .18);
	background: rgba(3, 20, 39, .97);
	box-shadow: 0 10px 26px rgba(0, 0, 0, .20);
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
}

.ag-solution-jump-placeholder {
	display: block;
	width: 100%;
	height: 0;
}

.ag-detail-v2-jump-solution .ag-container {
	overflow-x: auto;
	overflow-y: hidden;
	padding-top: 12px;
	padding-bottom: 12px;
	scrollbar-width: none;
	-webkit-overflow-scrolling: touch;
}

.ag-detail-v2-jump-solution .ag-container::-webkit-scrollbar {
	display: none;
}

/* Centers the full group when it fits; starts at the left edge when it must scroll. */
.ag-detail-v2-jump-list {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: clamp(7px, .85vw, 14px);
	width: max-content;
	min-width: 100%;
	margin: 0;
}

.ag-detail-v2-jump-solution a {
	flex: 0 0 auto;
	max-width: none;
	overflow: visible;
	padding: 9px 11px;
	border: 1px solid transparent;
	border-radius: 7px;
	color: #c8d5e2;
	font-size: .82rem;
	font-weight: 750;
	line-height: 1.25;
	text-align: center;
	text-decoration: none;
	text-overflow: clip;
	white-space: nowrap;
}

.ag-detail-v2-jump-solution a:hover,
.ag-detail-v2-jump-solution a:focus-visible {
	border-color: rgba(91, 192, 255, .40);
	background: rgba(91, 192, 255, .09);
	color: #77ceff;
	outline: none;
}

.ag-detail-v2-main-solution [id] {
	scroll-margin-top: calc(
		var(--ag-solution-jump-top, var(--ag-header-h)) +
		var(--ag-solution-jump-height, 58px) +
		18px
	);
}

/* Tighter section rhythm retained from the approved manual adjustment. */
.ag-detail-v2-main-solution .ag-solution-detail-section {
	margin: 0;
	padding-top: 44px;
	padding-bottom: 44px;
	border-bottom: 1px solid rgba(185, 229, 243, .13);
}

.ag-detail-v2-main-solution .ag-solution-detail-section + .ag-solution-detail-section {
	margin-top: 0;
}

/* One card only: remove the nested .ag-wp-content card shell. */
.ag-detail-v2-main-solution .ag-solution-detail-content.ag-wp-content {
	box-sizing: border-box;
	width: 100%;
	max-width: none;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: transparent;
	box-shadow: none;
}

.ag-detail-v2-main-solution .ag-solution-detail-content .ag-solution-content {
	width: 100%;
	max-width: none;
	margin: 0;
	padding: 0;
}

/* All normal sections fill the available container: no reserved empty right column. */
.ag-detail-v2-main-solution
.ag-solution-detail-section:not(#overview)
.ag-solution-detail-panel,
.ag-detail-v2-main-solution
.ag-solution-detail-section:not(#overview)
.ag-solution-detail-content,
.ag-detail-v2-main-solution
.ag-solution-detail-section:not(#overview)
.ag-solution-detail-content > p,
.ag-detail-v2-main-solution
.ag-solution-detail-section:not(#overview)
.ag-solution-detail-content > h2,
.ag-detail-v2-main-solution
.ag-solution-detail-section:not(#overview)
.ag-solution-detail-content > h3,
.ag-detail-v2-main-solution
.ag-solution-detail-section:not(#overview)
.ag-solution-detail-content > h4,
.ag-detail-v2-main-solution
.ag-solution-detail-section:not(#overview)
.ag-solution-detail-content > ul,
.ag-detail-v2-main-solution
.ag-solution-detail-section:not(#overview)
.ag-solution-detail-content > ol,
.ag-detail-v2-main-solution
.ag-solution-detail-section:not(#overview)
.ag-solution-detail-content > figure,
.ag-detail-v2-main-solution
.ag-solution-detail-section:not(#overview)
.ag-solution-detail-content > details {
	box-sizing: border-box;
	width: 100%;
	max-width: none;
	margin-right: 0;
	margin-left: 0;
}

.ag-detail-v2-main-solution .ag-solution-detail-panel {
	box-sizing: border-box;
	width: 100%;
	max-width: none;
	margin: 0;
	padding: clamp(28px, 3vw, 40px);
}

.ag-detail-v2-main-solution .ag-solution-detail-content > *:last-child {
	margin-bottom: 0;
}

/* Overview is the only intentional two-column section. */
.ag-detail-v2-main-solution .ag-solution-detail-overview-grid {
	display: grid;
	grid-template-columns: minmax(0, 2.2fr) minmax(280px, .78fr);
	gap: clamp(28px, 3vw, 44px);
	align-items: start;
}

.ag-detail-v2-main-solution
.ag-solution-detail-overview-grid
.ag-solution-detail-panel {
	width: 100%;
	max-width: none;
	margin: 0;
}

.ag-detail-v2-main-solution .ag-solution-detail-note,
.ag-detail-v2-main-solution .ag-detail-v2-boundary {
	position: static;
	top: auto;
}

.ag-detail-v2-main-solution .ag-solution-detail-note {
	width: 100%;
	min-width: 0;
	padding: 28px;
}

/* Checklist sections use the whole card width. */
.ag-detail-v2-main-solution
.ag-solution-detail-section-checklist
.ag-solution-detail-content > ul,
.ag-detail-v2-main-solution
.ag-solution-detail-section-checklist
.ag-solution-detail-content > ol {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 14px;
	width: 100%;
	max-width: none;
	margin-top: 24px;
}

/* FAQ also fills the section rather than returning to the previous narrow width. */
.ag-detail-v2-main-solution
.ag-solution-detail-section-faq
.ag-solution-detail-panel,
.ag-detail-v2-main-solution
.ag-solution-detail-section-faq
.ag-solution-detail-content,
.ag-detail-v2-main-solution
.ag-solution-detail-section-faq details,
.ag-detail-v2-main-solution
.ag-solution-detail-section-faq .wp-block-details {
	box-sizing: border-box;
	width: 100%;
	max-width: none;
}

/* Approved dark technical table: no bright WordPress stripe rows. */
.ag-detail-v2-main-solution
.ag-solution-detail-content .wp-block-table,
.ag-detail-v2-main-solution
.ag-solution-detail-content figure.wp-block-table,
.ag-detail-v2-main-solution
.ag-solution-detail-content .ag-solution-data-table {
	box-sizing: border-box;
	width: 100%;
	max-width: none;
	margin: 26px 0 0;
	overflow-x: auto;
	border: 1px solid rgba(126, 177, 215, .25);
	border-radius: 10px;
	background: #091a2c;
	box-shadow: 0 10px 26px rgba(0, 7, 18, .17);
	scrollbar-color: #52bdf5 #071728;
}

.ag-detail-v2-main-solution .ag-solution-detail-content table {
	width: 100%;
	min-width: 760px;
	margin: 0;
	border: 0;
	border-collapse: separate;
	border-spacing: 0;
	background: transparent !important;
}

.ag-detail-v2-main-solution .ag-solution-detail-content thead th {
	padding: 15px 18px;
	border: 0 !important;
	border-bottom: 1px solid rgba(91, 192, 255, .30) !important;
	background: #102a44 !important;
	color: #64c9ff !important;
	font-size: .78rem;
	font-weight: 800;
	line-height: 1.4;
	text-align: left;
	text-transform: uppercase;
	letter-spacing: .065em;
	vertical-align: middle;
}

.ag-detail-v2-main-solution .ag-solution-detail-content tbody td {
	padding: 16px 18px;
	border: 0 !important;
	border-bottom: 1px solid rgba(151, 188, 217, .13) !important;
	background: #0a1c2f !important;
	color: #dce8f2 !important;
	font-size: .94rem;
	line-height: 1.55;
	vertical-align: top;
}

.ag-detail-v2-main-solution
.ag-solution-detail-content tbody tr:nth-child(even) td {
	background: #10243a !important;
	color: #e2ecf5 !important;
}

.ag-detail-v2-main-solution
.ag-solution-detail-content tbody tr:nth-child(odd) td {
	background: #0a1c2f !important;
	color: #dce8f2 !important;
}

.ag-detail-v2-main-solution
.ag-solution-detail-content tbody tr:hover td {
	background: #15314d !important;
}

.ag-detail-v2-main-solution
.ag-solution-detail-content tbody td:first-child {
	color: #fff !important;
	font-weight: 650;
}

.ag-detail-v2-main-solution
.ag-solution-detail-content tbody tr:last-child td {
	border-bottom: 0 !important;
}

.ag-detail-v2-main-solution .ag-solution-detail-content table,
.ag-detail-v2-main-solution .ag-solution-detail-content th,
.ag-detail-v2-main-solution .ag-solution-detail-content td {
	border-left: 0 !important;
	border-right: 0 !important;
}

@media (max-width: 1100px) {
	.ag-detail-v2-main-solution .ag-solution-detail-overview-grid {
		grid-template-columns: 1fr;
	}

	.ag-detail-v2-main-solution .ag-solution-detail-note {
		max-width: none;
	}
}

@media (max-width: 900px) {
	.ag-detail-v2-jump-list {
		justify-content: flex-start;
		min-width: max-content;
	}
}

@media (max-width: 700px) {
	.ag-detail-v2-main-solution .ag-solution-detail-section {
		padding-top: 30px;
		padding-bottom: 30px;
	}

	.ag-detail-v2-main-solution .ag-solution-detail-panel,
	.ag-detail-v2-main-solution .ag-solution-detail-note {
		padding: 22px;
	}

	.ag-detail-v2-main-solution
	.ag-solution-detail-section-checklist
	.ag-solution-detail-content > ul,
	.ag-detail-v2-main-solution
	.ag-solution-detail-section-checklist
	.ag-solution-detail-content > ol {
		grid-template-columns: 1fr;
	}

	.ag-detail-v2-main-solution .ag-solution-detail-content table {
		min-width: 680px;
	}

	.ag-detail-v2-main-solution .ag-solution-detail-content thead th,
	.ag-detail-v2-main-solution .ag-solution-detail-content tbody td {
		padding: 13px 15px;
		font-size: .87rem;
	}
}

/* ==========================================================================
   Phase 12E — Home page reading rhythm and conversion hierarchy
   Scope: front page only. Keeps the approved Solutions palette while adding
   stronger chapter separation, calmer cards, a clearer hero and a decisive RFQ.
   ========================================================================== */

.ag-home-v2 {
	--ag-home-bg-a: #06182a;
	--ag-home-bg-b: #0d2238;
	--ag-home-bg-c: #071625;
	--ag-home-card: rgba(12, 31, 51, .96);
	--ag-home-card-alt: rgba(5, 23, 40, .84);
	background: var(--ag-solutions-bg);
	color: var(--ag-solutions-text);
}

.ag-home-v2 .ag-section {
	position: relative;
	padding-top: clamp(92px, 8vw, 122px);
	padding-bottom: clamp(92px, 8vw, 122px);
	border-top: 1px solid rgba(185, 229, 243, .13);
	isolation: isolate;
}

.ag-home-v2 .ag-section::before {
	content: "";
	position: absolute;
	top: 0;
	left: 50%;
	width: min(1440px, calc(100% - 40px));
	height: 1px;
	transform: translateX(-50%);
	background: linear-gradient(90deg, transparent, rgba(91, 192, 255, .18), transparent);
	pointer-events: none;
}

/* Deliberately stronger dark-to-dark contrast so every long section reads as a chapter. */
.ag-home-route-section,
.ag-home-products-section,
.ag-home-workflow-section,
.ag-home-quality-section {
	background: var(--ag-home-bg-a);
}

.ag-home-featured-solutions,
.ag-home-processing-section,
.ag-home-applications-section,
.ag-home-library-section {
	background: var(--ag-home-bg-b);
}

.ag-home-materials-section {
	background: var(--ag-home-bg-c);
}

.ag-home-evidence-section {
	background:
		radial-gradient(circle at 78% 18%, rgba(91, 192, 255, .08), transparent 32%),
		#10283f;
}

.ag-home-v2 .ag-section-heading {
	max-width: 1120px;
	margin-bottom: clamp(44px, 4.5vw, 62px);
}

.ag-home-v2 .ag-section-heading h2 {
	max-width: 24ch;
	margin-top: 8px;
	font-size: clamp(2.3rem, 4.1vw, 3.65rem);
	line-height: 1.08;
	letter-spacing: -.035em;
	text-wrap: balance;
}

.ag-home-v2 .ag-section-heading > p:last-child,
.ag-home-v2 .ag-home-heading-action p {
	max-width: 75ch;
	color: var(--ag-solutions-text-soft);
	font-size: 1.02rem;
	line-height: 1.75;
}

.ag-home-v2 .ag-section-heading-split {
	display: grid;
	grid-template-columns: minmax(0, 1.48fr) minmax(290px, .62fr);
	gap: clamp(42px, 6vw, 92px);
	align-items: end;
	max-width: none;
}

.ag-home-v2 .ag-section-heading-split > div:first-child {
	min-width: 0;
}

.ag-home-v2 .ag-section-heading-split h2 {
	max-width: 22ch;
}

.ag-home-v2 .ag-home-heading-action {
	display: grid;
	gap: 18px;
	align-content: end;
	padding-left: clamp(22px, 2.6vw, 38px);
	border-left: 1px solid rgba(91, 192, 255, .26);
}

.ag-home-v2 .ag-home-heading-action p {
	margin: 0;
}

.ag-home-v2 .ag-home-heading-action .ag-text-link {
	justify-self: start;
	font-weight: 800;
}

/* Hero: make the manufacturing statement dominant and the review card secondary. */
.ag-home-v2 .ag-home-hero {
	min-height: 690px;
	background: var(--ag-solutions-bg);
}

.ag-home-v2 .ag-home-hero .ag-hero-bg {
	background:
		linear-gradient(90deg, rgba(3, 20, 39, .98) 0%, rgba(3, 20, 39, .9) 48%, rgba(3, 20, 39, .72) 76%, rgba(3, 20, 39, .86) 100%),
		url("../images/industrial-hero.jpg") center / cover no-repeat;
}

.ag-home-v2 .ag-home-hero .ag-hero-grid {
	grid-template-columns: minmax(0, 1.55fr) minmax(300px, .48fr);
	gap: clamp(58px, 7vw, 112px);
	align-items: center;
	padding-top: clamp(96px, 9vw, 128px);
	padding-bottom: clamp(92px, 8vw, 120px);
}

.ag-home-v2 .ag-home-hero .ag-hero-copy {
	max-width: 920px;
}

.ag-home-v2 .ag-home-hero h1 {
	max-width: 13ch;
	font-size: clamp(3rem, 5.4vw, 5rem);
	line-height: 1.01;
	letter-spacing: -.045em;
	text-wrap: balance;
}

.ag-home-v2 .ag-home-hero .ag-hero-copy > p:not(.ag-kicker) {
	max-width: 72ch;
	font-size: clamp(1.05rem, 1.45vw, 1.26rem);
	line-height: 1.72;
}

.ag-home-v2 .ag-home-hero .ag-hero-actions {
	gap: 14px;
	margin-top: 30px;
}

.ag-home-v2 .ag-home-hero .ag-button {
	min-height: 50px;
	padding-right: 26px;
	padding-left: 26px;
}

.ag-home-v2 .ag-home-project-review {
	width: 100%;
	max-width: 360px;
	justify-self: end;
	padding: 24px 26px;
	border-color: rgba(185, 229, 243, .19);
	background: rgba(8, 31, 53, .58);
	box-shadow: 0 18px 48px rgba(0, 0, 0, .19);
	backdrop-filter: blur(10px);
}

.ag-home-v2 .ag-home-project-review > span {
	color: var(--ag-solutions-accent);
}

.ag-home-v2 .ag-home-project-review strong {
	color: var(--ag-solutions-text);
	font-size: 1.08rem;
}

.ag-home-v2 .ag-home-project-review dl {
	margin-top: 18px;
}

.ag-home-v2 .ag-home-project-review dl > div {
	padding-top: 11px;
	padding-bottom: 11px;
}

.ag-home-v2 .ag-home-trust {
	padding-top: 22px;
	padding-bottom: 22px;
	border-top: 1px solid rgba(185, 229, 243, .12);
	border-bottom: 1px solid rgba(185, 229, 243, .16);
	background: #07192d;
}

/* Four starting routes */
.ag-home-route-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 22px;
}

.ag-home-route-card {
	position: relative;
	display: flex;
	min-height: 360px;
	flex-direction: column;
	justify-content: flex-end;
	padding: 30px;
	overflow: hidden;
	border: 1px solid var(--ag-solutions-border);
	border-radius: var(--ag-card-radius);
	background:
		linear-gradient(180deg, rgba(3, 20, 39, .04) 0%, rgba(3, 20, 39, .77) 48%, rgba(3, 20, 39, .98) 100%),
		var(--ag-home-route-image) center / cover no-repeat;
	box-shadow: 0 18px 42px rgba(0, 0, 0, .18);
	color: var(--ag-solutions-text);
	text-decoration: none;
	transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.ag-home-route-card:hover {
	transform: translateY(-4px);
	border-color: rgba(91, 192, 255, .56);
	box-shadow: 0 24px 54px rgba(0, 0, 0, .28);
}

.ag-home-route-card > span {
	margin-bottom: 11px;
	color: var(--ag-solutions-accent);
	font-size: .72rem;
	font-weight: 850;
	letter-spacing: .08em;
	text-transform: uppercase;
}

.ag-home-route-card h3 {
	margin: 0;
	font-size: clamp(1.42rem, 2vw, 1.82rem);
	line-height: 1.18;
}

.ag-home-route-card p {
	margin: 15px 0 20px;
	color: var(--ag-solutions-text-soft);
	line-height: 1.66;
}

.ag-home-route-card b {
	color: var(--ag-solutions-action);
	font-size: .88rem;
}

/* Image cards: more air, consistent imagery and a calmer hierarchy. */
.ag-home-v2 .ag-hub-cpt-grid {
	gap: 24px;
}

.ag-home-v2 .ag-home-featured-grid,
.ag-home-v2 .ag-home-product-grid {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.ag-home-v2 .ag-hub-cpt-card {
	min-height: 100%;
	overflow: hidden;
	border-color: rgba(185, 229, 243, .18);
	border-radius: var(--ag-card-radius);
	background: var(--ag-home-card);
}

.ag-home-v2 .ag-section-surface .ag-hub-cpt-card {
	background: var(--ag-home-card-alt);
}

.ag-home-v2 .ag-hub-cpt-card:hover {
	border-color: rgba(91, 192, 255, .58);
}

.ag-home-v2 .ag-hub-cpt-image {
	display: block;
	height: 210px;
	min-height: 210px;
	aspect-ratio: auto;
	background-position: center;
	background-size: cover;
}

.ag-home-v2 .ag-hub-cpt-body {
	display: flex;
	min-height: 250px;
	flex-direction: column;
	padding: 29px 30px 31px;
}

.ag-home-v2 .ag-hub-cpt-body small {
	margin-bottom: 10px;
	color: var(--ag-solutions-accent);
	font-size: .7rem;
	font-weight: 850;
	letter-spacing: .075em;
	text-transform: uppercase;
}

.ag-home-v2 .ag-hub-cpt-body strong {
	font-size: 1.3rem;
	line-height: 1.27;
}

.ag-home-v2 .ag-hub-cpt-body > span,
.ag-home-v2 .ag-hub-cpt-body em {
	display: -webkit-box;
	overflow: hidden;
	-webkit-box-orient: vertical;
	line-height: 1.66;
}

.ag-home-v2 .ag-hub-cpt-body > span {
	-webkit-line-clamp: 3;
}

.ag-home-v2 .ag-hub-cpt-body em {
	margin-top: 12px;
	-webkit-line-clamp: 2;
	color: #9fb3c8;
}

.ag-home-v2 .ag-hub-cpt-body b {
	margin-top: auto;
	padding-top: 22px;
	color: var(--ag-solutions-action);
}

/* Processing cards */
.ag-home-capability-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 22px;
}

.ag-home-capability-card {
	display: flex;
	min-height: 250px;
	flex-direction: column;
	padding: 30px;
	border: 1px solid rgba(185, 229, 243, .18);
	border-radius: var(--ag-card-radius);
	background: rgba(5, 23, 40, .78);
	color: var(--ag-solutions-text);
	text-decoration: none;
	transition: border-color .2s ease, transform .2s ease, background .2s ease;
}

.ag-home-capability-card:hover {
	transform: translateY(-3px);
	border-color: rgba(91, 192, 255, .5);
	background: rgba(9, 31, 52, .96);
}

.ag-home-capability-card > span {
	color: var(--ag-solutions-accent);
	font-family: "JetBrains Mono", Consolas, monospace;
	font-size: .75rem;
	font-weight: 900;
}

.ag-home-capability-card h3 {
	margin: 18px 0 0;
	font-size: 1.34rem;
	line-height: 1.27;
}

.ag-home-capability-card p {
	margin: 15px 0 22px;
	color: var(--ag-solutions-text-soft);
	line-height: 1.68;
}

.ag-home-capability-card b {
	margin-top: auto;
	color: var(--ag-solutions-action);
	font-size: .86rem;
}

.ag-home-section-link {
	display: flex;
	justify-content: center;
	margin-top: 46px;
}

/* Materials split layout */
.ag-home-materials-layout {
	display: grid;
	grid-template-columns: minmax(320px, .72fr) minmax(0, 1.55fr);
	gap: clamp(54px, 6vw, 92px);
	align-items: start;
}

.ag-home-materials-copy {
	position: sticky;
	top: calc(var(--ag-header-h) + 34px);
}

.ag-home-materials-copy h2,
.ag-home-pre-rfq h2 {
	margin: 0;
	color: var(--ag-solutions-text);
	font-size: clamp(2.2rem, 3.7vw, 3.35rem);
	line-height: 1.09;
	letter-spacing: -.035em;
	text-wrap: balance;
}

.ag-home-materials-copy > p:not(.ag-eyebrow) {
	max-width: 62ch;
	margin: 22px 0 0;
	color: var(--ag-solutions-text-soft);
	line-height: 1.75;
}

.ag-home-selection-list {
	display: grid;
	gap: 0;
	margin: 32px 0 34px;
	padding: 0;
	list-style: none;
	border-top: 1px solid var(--ag-solutions-border);
}

.ag-home-selection-list li {
	position: relative;
	padding: 15px 0 15px 23px;
	border-bottom: 1px solid var(--ag-solutions-border);
	color: var(--ag-solutions-text-soft);
}

.ag-home-selection-list li::before {
	content: "";
	position: absolute;
	top: 22px;
	left: 0;
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: var(--ag-solutions-accent);
}

.ag-home-materials-cards .ag-hub-cpt-grid {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.ag-home-materials-cards .ag-hub-cpt-card:first-child {
	grid-column: 1 / -1;
}

/* Applications, workflow and quality cards */
.ag-home-v2 .ag-hub-info-grid.ag-home-application-grid,
.ag-home-v2 .ag-hub-info-grid.ag-home-workflow-grid,
.ag-home-v2 .ag-hub-info-grid.ag-home-quality-grid {
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 22px;
}

.ag-home-v2 .ag-hub-info-card {
	min-height: 210px;
	padding: 30px;
	border-color: rgba(185, 229, 243, .18);
	background: var(--ag-home-card-alt);
}

.ag-home-v2 .ag-section-dark .ag-hub-info-card {
	background: var(--ag-home-card);
}

.ag-home-v2 .ag-hub-info-card h3 {
	font-size: 1.3rem;
	line-height: 1.3;
}

.ag-home-v2 .ag-hub-info-card p {
	color: var(--ag-solutions-text-soft);
	line-height: 1.7;
}

.ag-home-v2 .ag-hub-info-card b {
	color: var(--ag-solutions-accent);
}

.ag-home-v2 .ag-home-workflow-grid .ag-hub-card-kicker {
	color: var(--ag-solutions-action);
}

/* Evidence image mosaic */
.ag-home-evidence-grid {
	display: grid;
	grid-template-columns: minmax(0, 1.42fr) repeat(2, minmax(0, .78fr));
	grid-template-rows: repeat(2, minmax(230px, 1fr));
	gap: 20px;
}

.ag-home-evidence-item {
	position: relative;
	min-height: 240px;
	margin: 0;
	overflow: hidden;
	border: 1px solid rgba(185, 229, 243, .2);
	border-radius: var(--ag-card-radius);
	background: var(--ag-home-card);
}

.ag-home-evidence-item-large {
	grid-row: 1 / span 2;
	min-height: 500px;
}

.ag-home-evidence-item img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .35s ease;
}

.ag-home-evidence-item:hover img {
	transform: scale(1.025);
}

.ag-home-evidence-item::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, transparent 42%, rgba(3, 20, 39, .94) 100%);
}

.ag-home-evidence-item figcaption {
	position: absolute;
	right: 24px;
	bottom: 22px;
	left: 24px;
	z-index: 1;
	color: var(--ag-solutions-text);
	font-size: 1.05rem;
	font-weight: 800;
}

/* Library and decisive RFQ transition */
.ag-home-v2 .ag-home-library-list {
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 22px;
}

.ag-home-v2 .ag-home-library-list .ag-library-card {
	padding: 30px;
}

.ag-home-pre-rfq {
	position: relative;
	padding: clamp(74px, 7vw, 96px) 0;
	border-top: 1px solid rgba(91, 192, 255, .26);
	border-bottom: 1px solid rgba(255, 185, 95, .26);
	background:
		radial-gradient(circle at 82% 40%, rgba(255, 185, 95, .12), transparent 30%),
		linear-gradient(90deg, rgba(91, 192, 255, .15), rgba(91, 192, 255, .035)),
		#07192d;
}

.ag-home-pre-rfq-inner {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: clamp(38px, 5vw, 76px);
	align-items: center;
}

.ag-home-pre-rfq-inner > div {
	max-width: 900px;
}

.ag-home-pre-rfq p:not(.ag-eyebrow) {
	max-width: 72ch;
	margin: 19px 0 0;
	color: var(--ag-solutions-text-soft);
	font-size: 1.04rem;
	line-height: 1.75;
}

.ag-home-pre-rfq .ag-button-primary {
	min-height: 54px;
	padding-right: 32px;
	padding-left: 32px;
	box-shadow: 0 12px 30px rgba(249, 115, 22, .18);
}

.ag-home-v2 > .ag-rfq-section {
	padding-top: clamp(88px, 7vw, 112px);
	padding-bottom: clamp(88px, 7vw, 112px);
	border-top: 0;
	background:
		linear-gradient(180deg, rgba(91, 192, 255, .035), transparent 22%),
		#051321;
}

.ag-home-v2 > .ag-rfq-section .ag-rfq-heading {
	max-width: 920px;
	margin-bottom: 46px;
}

.ag-home-v2 > .ag-rfq-section .ag-rfq-heading p {
	max-width: 72ch;
}

.ag-home-v2 > .ag-rfq-section .ag-rfq-layout {
	grid-template-columns: minmax(0, 1fr) minmax(320px, 390px);
	gap: clamp(34px, 4vw, 56px);
}

.ag-home-v2 > .ag-rfq-section .ag-rfq-form,
.ag-home-v2 > .ag-rfq-section .ag-rfq-side-card {
	padding: 32px;
}

.ag-home-v2 > .ag-rfq-section .ag-form-grid {
	gap: 22px 24px;
}

.ag-home-v2 > .ag-rfq-section .ag-form-grid :where(input, select) {
	min-height: 50px;
}

.ag-home-v2 > .ag-rfq-section .ag-submit-button {
	min-height: 52px;
	margin-top: 24px;
}

/* Home-specific footer: same visual system, shorter and less appendix-like. */
.ag-site-footer-home .ag-footer-grid {
	grid-template-columns: minmax(300px, 1.45fr) repeat(4, minmax(150px, 1fr));
	gap: 28px 30px;
	padding-top: 48px;
	padding-bottom: 30px;
}

.ag-site-footer-home .ag-footer-brand {
	grid-row: auto;
}

.ag-site-footer-home .ag-footer-links h2 {
	font-size: .76rem;
}

.ag-site-footer-home .ag-footer-links a {
	font-size: .86rem;
}

@media (max-width: 1180px) {
	.ag-home-route-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.ag-home-v2 .ag-home-featured-grid,
	.ag-home-v2 .ag-home-product-grid,
	.ag-home-capability-grid,
	.ag-home-v2 .ag-hub-info-grid.ag-home-application-grid,
	.ag-home-v2 .ag-hub-info-grid.ag-home-workflow-grid,
	.ag-home-v2 .ag-hub-info-grid.ag-home-quality-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.ag-home-v2 .ag-section-heading-split {
		grid-template-columns: minmax(0, 1.2fr) minmax(280px, .72fr);
		gap: 42px;
	}
}

@media (max-width: 1020px) {
	.ag-home-v2 .ag-home-hero .ag-hero-grid,
	.ag-home-materials-layout,
	.ag-home-pre-rfq-inner,
	.ag-home-v2 .ag-section-heading-split {
		grid-template-columns: 1fr;
	}

	.ag-home-v2 .ag-home-heading-action {
		max-width: 760px;
		padding-left: 0;
		border-left: 0;
	}

	.ag-home-materials-copy {
		position: static;
	}

	.ag-home-v2 .ag-home-hero {
		min-height: 0;
	}

	.ag-home-v2 .ag-home-hero .ag-hero-grid {
		padding-top: 80px;
		padding-bottom: 80px;
	}

	.ag-home-v2 .ag-home-project-review {
		max-width: 720px;
		justify-self: start;
	}

	.ag-home-evidence-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		grid-template-rows: auto;
	}

	.ag-home-evidence-item-large {
		grid-row: auto;
		grid-column: 1 / -1;
		min-height: 390px;
	}

	.ag-home-pre-rfq-inner .ag-button {
		justify-self: start;
	}

	.ag-site-footer-home .ag-footer-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.ag-site-footer-home .ag-footer-brand {
		grid-column: 1 / -1;
	}
}

@media (max-width: 720px) {
	.ag-home-v2 .ag-section {
		padding-top: 64px;
		padding-bottom: 64px;
	}

	.ag-home-v2 .ag-section-heading {
		margin-bottom: 36px;
	}

	.ag-home-v2 .ag-section-heading h2 {
		font-size: clamp(2rem, 9vw, 2.8rem);
	}

	.ag-home-route-grid,
	.ag-home-v2 .ag-home-featured-grid,
	.ag-home-v2 .ag-home-product-grid,
	.ag-home-capability-grid,
	.ag-home-materials-cards .ag-hub-cpt-grid,
	.ag-home-v2 .ag-hub-info-grid.ag-home-application-grid,
	.ag-home-v2 .ag-hub-info-grid.ag-home-workflow-grid,
	.ag-home-v2 .ag-hub-info-grid.ag-home-quality-grid,
	.ag-home-v2 .ag-home-library-list {
		grid-template-columns: 1fr;
	}

	.ag-home-materials-cards .ag-hub-cpt-card:first-child {
		grid-column: auto;
	}

	.ag-home-route-card {
		min-height: 310px;
		padding: 26px;
	}

	.ag-home-v2 .ag-hub-cpt-image {
		height: 200px;
		min-height: 200px;
	}

	.ag-home-v2 .ag-hub-cpt-body,
	.ag-home-capability-card,
	.ag-home-v2 .ag-hub-info-card,
	.ag-home-v2 .ag-home-library-list .ag-library-card {
		padding: 24px;
	}

	.ag-home-v2 .ag-hub-cpt-body {
		min-height: 0;
	}

	.ag-home-evidence-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 14px;
	}

	.ag-home-evidence-item,
	.ag-home-evidence-item-large {
		min-height: 230px;
	}

	.ag-home-evidence-item-large {
		grid-column: 1 / -1;
		min-height: 320px;
	}

	.ag-home-v2 .ag-home-hero h1 {
		font-size: clamp(2.55rem, 12vw, 3.8rem);
	}

	.ag-home-pre-rfq {
		padding-top: 60px;
		padding-bottom: 60px;
	}

	.ag-home-pre-rfq .ag-button-primary {
		width: 100%;
	}

	.ag-home-v2 > .ag-rfq-section {
		padding-top: 66px;
		padding-bottom: 66px;
	}

	.ag-home-v2 > .ag-rfq-section .ag-rfq-form,
	.ag-home-v2 > .ag-rfq-section .ag-rfq-side-card {
		padding: 24px;
	}
}

@media (max-width: 520px) {
	.ag-home-evidence-grid {
		grid-template-columns: 1fr;
	}

	.ag-home-evidence-item-large {
		grid-column: auto;
	}

	.ag-site-footer-home .ag-footer-grid {
		grid-template-columns: 1fr 1fr;
		gap: 24px 18px;
	}
}

/* ==========================================================================
   Phase 12A — Stage 1 business-page visual unification
   Scope: Home, Solutions, Products and Materials theme-controlled pages.
   The approved /solutions/ palette remains the source of truth.
   ========================================================================== */

/* Products and Materials Hubs now share the Solutions Hub rhythm. */
.ag-business-hub {
	background: var(--ag-solutions-bg);
	color: var(--ag-solutions-text);
}

.ag-business-hub .ag-section {
	padding-top: clamp(72px, 6.5vw, 98px);
	padding-bottom: clamp(72px, 6.5vw, 98px);
}

.ag-business-hub .ag-hub-hero-grid {
	grid-template-columns: minmax(0, 1.22fr) minmax(310px, .62fr);
	gap: clamp(42px, 5vw, 76px);
	padding-top: clamp(76px, 8vw, 108px);
	padding-bottom: clamp(76px, 8vw, 108px);
}

.ag-business-hub .ag-hub-hero-copy {
	max-width: 860px;
}

.ag-business-hub .ag-hub-hero-intro {
	max-width: 70ch;
}

.ag-business-hub .ag-hub-hero-review {
	padding: clamp(26px, 3vw, 34px);
}

.ag-business-hub .ag-hub-section-heading {
	max-width: 920px;
	margin-bottom: clamp(36px, 4vw, 50px);
}

.ag-business-hub .ag-hub-section-heading > p:last-child {
	max-width: 72ch;
}

.ag-business-hub .ag-hub-cpt-grid,
.ag-business-hub .ag-hub-info-grid,
.ag-business-hub .ag-hub-category-grid {
	align-items: stretch;
	gap: clamp(18px, 2vw, 24px);
}

.ag-business-hub .ag-hub-cpt-card {
	height: 100%;
	min-height: 0;
	background: var(--ag-solutions-card);
}

.ag-business-hub .ag-section-surface .ag-hub-cpt-card,
.ag-business-hub .ag-section-alt .ag-hub-cpt-card {
	background: var(--ag-solutions-card-on-surface);
}

.ag-business-hub .ag-hub-cpt-image {
	min-height: 0;
	aspect-ratio: 16 / 9;
	background-position: center;
}

.ag-business-hub .ag-hub-cpt-body {
	padding: clamp(24px, 2.4vw, 30px);
}

.ag-business-hub .ag-hub-cpt-body strong {
	display: block;
	margin-bottom: 4px;
	font-size: clamp(1.2rem, 1.55vw, 1.45rem);
	line-height: 1.3;
}

.ag-business-hub .ag-hub-cpt-body > span,
.ag-business-hub .ag-hub-cpt-body em {
	line-height: 1.72;
}

.ag-business-hub .ag-hub-cpt-body b {
	padding-top: 25px;
}

.ag-business-hub .ag-hub-info-card,
.ag-business-hub .ag-hub-category-card {
	display: flex;
	min-height: 205px;
	flex-direction: column;
	padding: clamp(25px, 2.5vw, 31px);
	border: 1px solid var(--ag-solutions-border);
	border-radius: var(--ag-radius);
	background: var(--ag-solutions-card);
	box-shadow: 0 18px 44px rgba(0, 0, 0, .10);
}

.ag-business-hub .ag-section-surface .ag-hub-info-card,
.ag-business-hub .ag-section-alt .ag-hub-info-card,
.ag-business-hub .ag-section-surface .ag-hub-category-card,
.ag-business-hub .ag-section-alt .ag-hub-category-card {
	background: var(--ag-solutions-card-on-surface);
}

.ag-business-hub .ag-hub-info-card h3,
.ag-business-hub .ag-hub-category-card h3 {
	margin-bottom: 14px;
	color: var(--ag-solutions-text);
	line-height: 1.32;
}

.ag-business-hub .ag-hub-info-card p,
.ag-business-hub .ag-hub-category-card p {
	max-width: 62ch;
	color: var(--ag-solutions-text-soft);
	line-height: 1.72;
}

.ag-business-hub .ag-hub-category-card > span {
	border-color: rgba(91, 192, 255, .35);
	background: rgba(91, 192, 255, .08);
	color: var(--ag-solutions-accent);
}

.ag-business-hub .ag-hub-info-link b,
.ag-business-hub .ag-hub-category-card b {
	margin-top: auto;
	padding-top: 24px;
	color: var(--ag-solutions-accent);
}

.ag-business-hub .ag-hub-workflow-grid {
	align-items: stretch;
}

.ag-business-hub .ag-hub-workflow-grid .ag-hub-info-card {
	min-height: 230px;
	padding: 25px 22px;
}

.ag-business-hub .ag-hub-chip-grid span {
	border-color: rgba(185, 229, 243, .20);
	background: rgba(3, 20, 39, .42);
	color: #dbeafe;
}

.ag-business-hub .ag-hub-table-wrap {
	border: 1px solid rgba(126, 177, 215, .25);
	border-radius: 10px;
	background: #091a2c;
	box-shadow: 0 10px 28px rgba(0, 8, 20, .16);
}

.ag-business-hub .ag-hub-table-wrap table {
	min-width: 900px;
	border: 0;
	background: transparent;
}

.ag-business-hub .ag-hub-table-wrap th {
	padding: 15px 18px;
	border: 0;
	border-bottom: 1px solid rgba(91, 192, 255, .30);
	background: #102a44;
	color: var(--ag-solutions-accent);
	font-size: .76rem;
	letter-spacing: .065em;
	text-transform: uppercase;
}

.ag-business-hub .ag-hub-table-wrap td {
	padding: 16px 18px;
	border: 0;
	border-bottom: 1px solid rgba(151, 188, 217, .13);
	background: #0a1c2f;
	color: #dce8f2;
	line-height: 1.55;
}

.ag-business-hub .ag-hub-table-wrap tbody tr:nth-child(even) td {
	background: #10243a;
}

.ag-business-hub .ag-hub-table-wrap tbody tr:hover td {
	background: #15314d;
}

.ag-business-hub .ag-hub-table-wrap a {
	color: var(--ag-solutions-accent);
}

.ag-business-hub .ag-hub-faq-list {
	max-width: 1040px;
}

.ag-business-hub .ag-hub-faq-item summary {
	padding-top: 24px;
	padding-bottom: 24px;
}

.ag-business-hub .ag-hub-final-cta-inner {
	gap: clamp(32px, 5vw, 68px);
}

.ag-business-hub .ag-hub-final-cta p:not(.ag-eyebrow) {
	max-width: 68ch;
}

.ag-business-hub + .ag-rfq-section {
	padding-top: clamp(72px, 6.5vw, 98px);
	padding-bottom: clamp(72px, 6.5vw, 98px);
}

.ag-business-hub + .ag-rfq-section .ag-rfq-layout {
	grid-template-columns: minmax(0, 1fr) minmax(320px, 390px);
	gap: clamp(24px, 3vw, 38px);
}

/* Product and Material category pages use the same layered dark system. */
.ag-business-category {
	background: var(--ag-solutions-bg);
	color: var(--ag-solutions-text);
}

.ag-business-category .ag-category-hero-grid {
	grid-template-columns: minmax(0, 1.22fr) minmax(310px, .62fr);
	gap: clamp(42px, 5vw, 76px);
	padding-top: clamp(76px, 8vw, 108px);
	padding-bottom: clamp(72px, 7vw, 96px);
}

.ag-business-category .ag-category-hero-copy {
	max-width: 860px;
}

.ag-business-category .ag-category-hero-intro {
	max-width: 70ch;
}

.ag-business-category .ag-category-review {
	padding: clamp(26px, 3vw, 34px);
	border-color: rgba(185, 229, 243, .26);
	background: rgba(3, 20, 39, .72);
	box-shadow: 0 22px 70px rgba(0, 0, 0, .28);
}

.ag-business-category .ag-section {
	padding-top: clamp(68px, 6vw, 92px);
	padding-bottom: clamp(68px, 6vw, 92px);
}

.ag-business-category .ag-section-heading {
	max-width: 920px;
	margin-bottom: clamp(34px, 4vw, 48px);
}

.ag-business-category .ag-category-reference-note {
	border-left-color: var(--ag-solutions-action);
	background: rgba(255, 185, 95, .08);
	color: #f7dfbf;
}

.ag-business-category .ag-category-table-wrap {
	border: 1px solid rgba(126, 177, 215, .25);
	border-radius: 10px;
	background: #091a2c;
	box-shadow: 0 10px 28px rgba(0, 8, 20, .16);
}

.ag-business-category .ag-category-table-wrap table {
	min-width: 860px;
	background: transparent;
}

.ag-business-category .ag-category-table-wrap th {
	padding: 15px 18px;
	border: 0;
	border-bottom: 1px solid rgba(91, 192, 255, .30);
	background: #102a44;
	color: var(--ag-solutions-accent);
	font-size: .76rem;
	letter-spacing: .065em;
	text-transform: uppercase;
}

.ag-business-category .ag-category-table-wrap td {
	padding: 16px 18px;
	border: 0;
	border-bottom: 1px solid rgba(151, 188, 217, .13);
	background: #0a1c2f;
	color: #dce8f2;
	line-height: 1.55;
}

.ag-business-category .ag-category-table-wrap tbody tr:nth-child(even) td {
	background: #10243a;
}

.ag-business-category .ag-category-table-wrap tr:hover td {
	background: #15314d;
}

.ag-business-category .ag-category-table-wrap a {
	color: var(--ag-solutions-accent);
}

.ag-business-category .ag-hub-cpt-card,
.ag-business-category .ag-hub-info-card {
	height: 100%;
	min-height: 0;
	border-color: var(--ag-solutions-border);
	background: var(--ag-solutions-card);
}

.ag-business-category .ag-section-surface .ag-hub-cpt-card,
.ag-business-category .ag-section-surface .ag-hub-info-card {
	background: var(--ag-solutions-card-on-surface);
}

.ag-business-category .ag-hub-cpt-image {
	min-height: 0;
	aspect-ratio: 16 / 9;
}

.ag-business-category .ag-hub-cpt-body,
.ag-business-category .ag-hub-info-card {
	padding: clamp(24px, 2.4vw, 30px);
}

.ag-business-category .ag-category-final-cta {
	border-top: 1px solid var(--ag-solutions-border);
	background:
		linear-gradient(135deg, rgba(91, 192, 255, .12), transparent 48%),
		var(--ag-solutions-surface);
}

.ag-business-category .ag-category-final-cta-inner {
	gap: clamp(32px, 5vw, 68px);
}

/* Product and Material detail pages inherit the Solutions detail language. */
.ag-detail-v2-hero-business:not(.ag-detail-v2-hero-solution) {
	min-height: 540px;
	background: var(--ag-solutions-bg);
}

.ag-detail-v2-hero-business:not(.ag-detail-v2-hero-solution) .ag-detail-v2-hero-grid {
	grid-template-columns: minmax(0, 1fr) minmax(300px, 390px);
	gap: clamp(42px, 5vw, 68px);
	padding-top: clamp(78px, 8vw, 104px);
	padding-bottom: clamp(72px, 7vw, 92px);
}

.ag-detail-v2-hero-business:not(.ag-detail-v2-hero-solution) .ag-detail-v2-hero-copy {
	max-width: 850px;
}

.ag-detail-v2-hero-business:not(.ag-detail-v2-hero-solution) .ag-detail-v2-lead,
.ag-detail-v2-hero-business:not(.ag-detail-v2-hero-solution) .ag-detail-v2-outcome {
	max-width: 70ch;
}

.ag-detail-v2-hero-business:not(.ag-detail-v2-hero-solution) .ag-detail-v2-review-card {
	padding: 28px;
	border-color: rgba(185, 229, 243, .26);
	background: rgba(3, 20, 39, .72);
	box-shadow: 0 22px 70px rgba(0, 0, 0, .28);
}

.ag-detail-v2-jump-business:not(.ag-detail-v2-jump-solution) {
	position: sticky;
	top: var(--ag-header-h);
	z-index: 42;
	border-top: 1px solid rgba(185, 229, 243, .10);
	border-bottom: 1px solid var(--ag-solutions-border);
	background: rgba(3, 20, 39, .97);
	box-shadow: 0 10px 26px rgba(0, 0, 0, .20);
	backdrop-filter: blur(12px);
}

.admin-bar .ag-detail-v2-jump-business:not(.ag-detail-v2-jump-solution) {
	top: calc(var(--ag-header-h) + var(--wp-admin--admin-bar--height, 32px));
}

.ag-detail-v2-jump-business:not(.ag-detail-v2-jump-solution) a {
	border: 1px solid transparent;
	color: var(--ag-solutions-text-soft);
}

.ag-detail-v2-jump-business:not(.ag-detail-v2-jump-solution) a:hover,
.ag-detail-v2-jump-business:not(.ag-detail-v2-jump-solution) a:focus-visible {
	border-color: rgba(91, 192, 255, .42);
	background: rgba(91, 192, 255, .08);
	color: var(--ag-solutions-accent);
}

.ag-detail-v2-main-business:not(.ag-detail-v2-main-solution) {
	background: var(--ag-solutions-bg);
	color: var(--ag-solutions-text);
}

.ag-detail-v2-main-business:not(.ag-detail-v2-main-solution) .ag-section {
	padding-top: clamp(68px, 6vw, 92px);
	padding-bottom: clamp(68px, 6vw, 92px);
	border-bottom: 1px solid var(--ag-solutions-border);
}

.ag-detail-v2-main-business:not(.ag-detail-v2-main-solution) .ag-detail-v2-muted {
	background: var(--ag-solutions-surface);
}

.ag-detail-v2-main-business:not(.ag-detail-v2-main-solution) > .ag-section:not(.ag-detail-v2-muted):not(.ag-detail-v2-reference-section):not(.ag-detail-v2-related-section):not(.ag-detail-v2-rfq) {
	background: var(--ag-solutions-bg);
}

.ag-detail-v2-main-business:not(.ag-detail-v2-main-solution) .ag-section-heading > span,
.ag-detail-v2-main-business:not(.ag-detail-v2-main-solution) .ag-eyebrow {
	color: var(--ag-solutions-action);
}

.ag-detail-v2-main-business:not(.ag-detail-v2-main-solution) .ag-section-heading h2,
.ag-detail-v2-main-business:not(.ag-detail-v2-main-solution) .ag-detail-v2-editor-content h2,
.ag-detail-v2-main-business:not(.ag-detail-v2-main-solution) .ag-detail-v2-editor-content h3,
.ag-detail-v2-main-business:not(.ag-detail-v2-main-solution) .ag-detail-v2-editor-content h4 {
	color: var(--ag-solutions-text);
}

.ag-detail-v2-main-business:not(.ag-detail-v2-main-solution) .ag-detail-v2-editor-content,
.ag-detail-v2-main-business:not(.ag-detail-v2-main-solution) .ag-detail-v2-boundary,
.ag-detail-v2-main-business:not(.ag-detail-v2-main-solution) .ag-detail-v2-source-card,
.ag-detail-v2-main-business:not(.ag-detail-v2-main-solution) .ag-detail-v2-info-card,
.ag-detail-v2-main-business:not(.ag-detail-v2-main-solution) .ag-detail-v2-flow > div,
.ag-detail-v2-main-business:not(.ag-detail-v2-main-solution) .ag-detail-v2-check-list li,
.ag-detail-v2-main-business:not(.ag-detail-v2-main-solution) .ag-detail-v2-stage-list li {
	border-color: var(--ag-solutions-border);
	background: var(--ag-solutions-card);
	color: var(--ag-solutions-text-soft);
	box-shadow: 0 18px 44px rgba(0, 0, 0, .10);
}

.ag-detail-v2-main-business:not(.ag-detail-v2-main-solution) .ag-detail-v2-editor-content {
	padding: clamp(28px, 3.2vw, 42px);
	border: 1px solid var(--ag-solutions-border);
	border-radius: var(--ag-radius);
}

.ag-detail-v2-main-business:not(.ag-detail-v2-main-solution) .ag-detail-v2-editor-content p,
.ag-detail-v2-main-business:not(.ag-detail-v2-main-solution) .ag-detail-v2-editor-content li,
.ag-detail-v2-main-business:not(.ag-detail-v2-main-solution) .ag-detail-v2-boundary p,
.ag-detail-v2-main-business:not(.ag-detail-v2-main-solution) .ag-detail-v2-source-card p,
.ag-detail-v2-main-business:not(.ag-detail-v2-main-solution) .ag-detail-v2-info-card p,
.ag-detail-v2-main-business:not(.ag-detail-v2-main-solution) .ag-detail-v2-flow p,
.ag-detail-v2-main-business:not(.ag-detail-v2-main-solution) .ag-detail-v2-check-list li,
.ag-detail-v2-main-business:not(.ag-detail-v2-main-solution) .ag-detail-v2-stage-list li {
	color: var(--ag-solutions-text-soft);
}

.ag-detail-v2-main-business:not(.ag-detail-v2-main-solution) .ag-detail-v2-boundary,
.ag-detail-v2-main-business:not(.ag-detail-v2-main-solution) .ag-detail-v2-source-card {
	position: static;
	padding: 28px;
}

.ag-detail-v2-main-business:not(.ag-detail-v2-main-solution) .ag-detail-v2-info-card > span,
.ag-detail-v2-main-business:not(.ag-detail-v2-main-solution) .ag-detail-v2-flow span {
	background: rgba(91, 192, 255, .10);
	color: var(--ag-solutions-accent);
}

.ag-detail-v2-main-business:not(.ag-detail-v2-main-solution) .ag-detail-v2-flow > div:not(:last-child)::after {
	border-color: var(--ag-solutions-border);
	background: var(--ag-solutions-surface);
	color: var(--ag-solutions-accent);
}

.ag-detail-v2-main-business:not(.ag-detail-v2-main-solution) .ag-detail-v2-check-list li::before,
.ag-detail-v2-main-business:not(.ag-detail-v2-main-solution) .ag-detail-v2-stage-list li::before {
	background: rgba(91, 192, 255, .12);
	color: var(--ag-solutions-accent);
}

.ag-detail-v2-main-business:not(.ag-detail-v2-main-solution) .ag-detail-v2-table-wrap,
.ag-detail-v2-main-business:not(.ag-detail-v2-main-solution) .ag-material-data-table {
	border-color: rgba(126, 177, 215, .25);
	background: #091a2c;
}

.ag-detail-v2-main-business:not(.ag-detail-v2-main-solution) table th {
	border-color: rgba(91, 192, 255, .26);
	background: #102a44;
	color: var(--ag-solutions-accent);
}

.ag-detail-v2-main-business:not(.ag-detail-v2-main-solution) table td {
	border-color: rgba(151, 188, 217, .13);
	background: #0a1c2f;
	color: #dce8f2;
}

.ag-detail-v2-main-business:not(.ag-detail-v2-main-solution) table tbody tr:nth-child(even) td {
	background: #10243a;
}

.ag-detail-v2-main-business:not(.ag-detail-v2-main-solution) .ag-detail-v2-risk,
.ag-detail-v2-main-business:not(.ag-detail-v2-main-solution) .ag-data-boundary-note {
	border-left-color: var(--ag-solutions-action);
	background: rgba(255, 185, 95, .08);
	color: #f7dfbf;
}

.ag-detail-v2-main-business:not(.ag-detail-v2-main-solution) .ag-detail-v2-faq-section {
	background: var(--ag-solutions-surface);
}

.ag-detail-v2-main-business:not(.ag-detail-v2-main-solution) .ag-detail-v2-faq-section details,
.ag-detail-v2-main-business:not(.ag-detail-v2-main-solution) .ag-detail-v2-editor-content details {
	border-color: var(--ag-solutions-border);
	background: var(--ag-solutions-card-on-surface);
}

.ag-detail-v2-main-business:not(.ag-detail-v2-main-solution) .ag-detail-v2-faq-section summary,
.ag-detail-v2-main-business:not(.ag-detail-v2-main-solution) .ag-detail-v2-editor-content summary {
	color: var(--ag-solutions-text);
}

.ag-detail-v2-main-business:not(.ag-detail-v2-main-solution) .ag-detail-v2-related-section {
	background: var(--ag-solutions-bg);
}

.ag-detail-v2-main-business:not(.ag-detail-v2-main-solution) .ag-detail-v2-related-card {
	border-color: var(--ag-solutions-border);
	border-radius: var(--ag-radius);
	background: var(--ag-solutions-card);
}

.ag-detail-v2-main-business:not(.ag-detail-v2-main-solution) .ag-detail-v2-rfq {
	border-top: 1px solid var(--ag-solutions-border);
	background:
		linear-gradient(135deg, rgba(91, 192, 255, .13), transparent 46%),
		var(--ag-solutions-surface);
}

.ag-detail-v2-main-business:not(.ag-detail-v2-main-solution) .ag-detail-v2-rfq aside {
	border-color: var(--ag-solutions-border);
	background: var(--ag-solutions-card-on-surface);
}

/* Phase 11D home remains the first-stage project router; align shared cards. */
.ag-home-v2 .ag-hub-cpt-image {
	aspect-ratio: 16 / 9;
	min-height: 0;
}

.ag-home-v2 .ag-hub-cpt-body {
	padding: clamp(24px, 2.4vw, 30px);
}

@media (max-width: 1100px) {
	.ag-business-hub .ag-hub-hero-grid,
	.ag-business-category .ag-category-hero-grid,
	.ag-detail-v2-hero-business:not(.ag-detail-v2-hero-solution) .ag-detail-v2-hero-grid,
	.ag-business-hub + .ag-rfq-section .ag-rfq-layout {
		grid-template-columns: 1fr;
	}

	.ag-business-hub .ag-hub-hero-review,
	.ag-business-category .ag-category-review,
	.ag-detail-v2-hero-business:not(.ag-detail-v2-hero-solution) .ag-detail-v2-review-card {
		max-width: 760px;
	}
}

@media (max-width: 820px) {
	.ag-business-hub .ag-section,
	.ag-business-category .ag-section,
	.ag-detail-v2-main-business:not(.ag-detail-v2-main-solution) .ag-section,
	.ag-business-hub + .ag-rfq-section {
		padding-top: 58px;
		padding-bottom: 58px;
	}

	.ag-business-hub .ag-hub-cpt-grid,
	.ag-business-hub .ag-hub-info-grid,
	.ag-business-hub .ag-hub-category-grid,
	.ag-business-category .ag-hub-cpt-grid,
	.ag-business-category .ag-hub-info-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.ag-business-hub .ag-hub-workflow-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 560px) {
	.ag-business-hub .ag-section,
	.ag-business-category .ag-section,
	.ag-detail-v2-main-business:not(.ag-detail-v2-main-solution) .ag-section,
	.ag-business-hub + .ag-rfq-section {
		padding-top: 46px;
		padding-bottom: 46px;
	}

	.ag-business-hub .ag-hub-hero-grid,
	.ag-business-category .ag-category-hero-grid,
	.ag-detail-v2-hero-business:not(.ag-detail-v2-hero-solution) .ag-detail-v2-hero-grid {
		gap: 30px;
		padding-top: 66px;
		padding-bottom: 54px;
	}

	.ag-business-hub .ag-hub-cpt-grid,
	.ag-business-hub .ag-hub-info-grid,
	.ag-business-hub .ag-hub-category-grid,
	.ag-business-category .ag-hub-cpt-grid,
	.ag-business-category .ag-hub-info-grid,
	.ag-business-hub .ag-hub-workflow-grid {
		grid-template-columns: 1fr;
	}

	.ag-business-hub .ag-hub-cpt-body,
	.ag-business-hub .ag-hub-info-card,
	.ag-business-hub .ag-hub-category-card,
	.ag-business-category .ag-hub-cpt-body,
	.ag-business-category .ag-hub-info-card,
	.ag-detail-v2-main-business:not(.ag-detail-v2-main-solution) .ag-detail-v2-editor-content,
	.ag-detail-v2-main-business:not(.ag-detail-v2-main-solution) .ag-detail-v2-boundary,
	.ag-detail-v2-main-business:not(.ag-detail-v2-main-solution) .ag-detail-v2-source-card {
		padding: 22px;
	}
}

/* ========================================================================== 
   Phase 12C — Company, Contact, Legal and WordPress system page unification
   Visual source of truth: current Solutions hub.
   ========================================================================== */

.ag-system-page {
	background: var(--ag-solutions-bg);
	color: var(--ag-solutions-text);
}

.ag-system-hero {
	position: relative;
	isolation: isolate;
	overflow: hidden;
	min-height: 500px;
	display: flex;
	align-items: flex-end;
	border-bottom: 1px solid var(--ag-solutions-border);
	background:
		linear-gradient(135deg, rgba(3, 20, 39, .99), rgba(8, 31, 52, .94) 58%, rgba(16, 44, 68, .9)),
		var(--ag-solutions-bg);
}

.ag-system-hero::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -2;
	background-image: var(--ag-system-hero-image);
	background-position: center;
	background-size: cover;
	opacity: .42;
	transform: scale(1.015);
}

.ag-system-hero::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background:
		linear-gradient(90deg, rgba(3, 20, 39, .99) 0%, rgba(3, 20, 39, .9) 55%, rgba(3, 20, 39, .56) 100%),
		linear-gradient(0deg, rgba(3, 20, 39, .88), transparent 58%);
}

.ag-system-hero-grid {
	position: relative;
	z-index: 1;
	width: 100%;
	display: grid;
	grid-template-columns: minmax(0, 1.35fr) minmax(300px, .65fr);
	gap: clamp(38px, 5vw, 72px);
	align-items: end;
	padding-top: 92px;
	padding-bottom: 76px;
}

.ag-system-hero-copy {
	max-width: 980px;
}

.ag-system-hero h1 {
	max-width: 980px;
	margin: 12px 0 20px;
	color: #f8fafc;
	font-family: "Hanken Grotesk", Inter, sans-serif;
	font-size: clamp(42px, 5.4vw, 76px);
	font-weight: 800;
	line-height: 1.04;
	letter-spacing: -.035em;
}

.ag-system-hero-intro {
	max-width: 820px;
	margin: 0;
	color: var(--ag-solutions-text-soft);
	font-size: clamp(17px, 1.7vw, 22px);
	line-height: 1.65;
}

.ag-system-review-card,
.ag-system-search-form,
.ag-system-side-card {
	padding: 28px;
	border: 1px solid rgba(185, 229, 243, .2);
	border-radius: 12px;
	background: rgba(16, 32, 52, .88);
	box-shadow: 0 24px 64px rgba(0, 0, 0, .26);
	backdrop-filter: blur(12px);
}

.ag-system-review-card > span,
.ag-system-side-card > span {
	display: block;
	margin-bottom: 10px;
	color: var(--ag-solutions-accent);
	font-family: "JetBrains Mono", Consolas, monospace;
	font-size: 11px;
	font-weight: 900;
	letter-spacing: .1em;
	text-transform: uppercase;
}

.ag-system-review-card h2,
.ag-system-side-card h2 {
	margin: 0 0 14px;
	color: #f8fafc;
	font-size: 24px;
	line-height: 1.25;
}

.ag-system-review-card p,
.ag-system-review-card li,
.ag-system-side-card li {
	color: var(--ag-solutions-text-soft);
}

.ag-system-review-card ul,
.ag-system-side-card ul {
	margin: 16px 0 0;
	padding-left: 20px;
}

.ag-system-review-card .ag-button {
	margin-top: 20px;
}

.ag-system-section {
	padding: 72px 0;
}

.ag-system-section-base {
	background: var(--ag-solutions-bg);
}

.ag-system-section-surface {
	border-top: 1px solid rgba(185, 229, 243, .11);
	border-bottom: 1px solid rgba(185, 229, 243, .11);
	background:
		linear-gradient(180deg, rgba(27, 42, 65, .28), rgba(7, 19, 41, .7)),
		var(--ag-solutions-surface);
}

.ag-system-section-heading {
	max-width: 900px;
	margin: 0 auto 38px;
	text-align: center;
}

.ag-system-section-heading h2 {
	margin: 0;
	color: #f8fafc;
	font-size: clamp(32px, 4vw, 48px);
	line-height: 1.14;
}

.ag-system-section-heading p:not(.ag-eyebrow) {
	margin: 14px auto 0;
	max-width: 760px;
	color: var(--ag-solutions-text-soft);
}

.ag-system-content-card {
	width: 100%;
	max-width: 1120px;
	margin: 0 auto;
	padding: clamp(28px, 4vw, 52px);
	border: 1px solid rgba(185, 229, 243, .18);
	border-radius: 12px;
	background: rgba(16, 32, 52, .94);
	box-shadow: 0 22px 55px rgba(0, 0, 0, .18);
}

.ag-system-content-card :where(h2, h3, h4) {
	color: #f8fafc;
}

.ag-system-content-card h2 {
	margin-top: 42px;
	font-size: clamp(28px, 3vw, 38px);
	line-height: 1.2;
}

.ag-system-content-card h2:first-child {
	margin-top: 0;
}

.ag-system-content-card :where(p, li, figcaption) {
	color: var(--ag-solutions-text-soft);
	line-height: 1.8;
}

.ag-system-content-card a {
	color: var(--ag-solutions-accent);
}

.ag-system-content-card :where(table, .wp-block-table) {
	max-width: 100%;
}

.ag-system-content-card .wp-block-table {
	overflow-x: auto;
	border: 1px solid rgba(185, 229, 243, .18);
	border-radius: 10px;
	background: #0a1c2f;
}

.ag-system-content-card th,
.ag-system-content-card td {
	padding: 14px 16px;
	border: 0;
	border-bottom: 1px solid rgba(185, 229, 243, .12);
	text-align: left;
	vertical-align: top;
}

.ag-system-content-card th {
	background: #102a44;
	color: var(--ag-solutions-accent);
}

.ag-system-content-card td {
	color: var(--ag-solutions-text-soft);
}

.ag-legal-content {
	max-width: 980px;
}

.ag-legal-content > :where(p, ul, ol) {
	max-width: 82ch;
}

.ag-contact-page .ag-rfq-section {
	background:
		linear-gradient(180deg, rgba(16, 32, 52, .98), rgba(3, 20, 39, .98)),
		var(--ag-solutions-bg);
}

.ag-contact-page .ag-rfq-form,
.ag-contact-page .ag-rfq-side-card {
	border-color: rgba(185, 229, 243, .2);
	border-radius: 12px;
	background: rgba(16, 32, 52, .94);
}

.ag-contact-page .ag-rfq-form :where(input, select, textarea) {
	border-color: rgba(185, 229, 243, .22);
	background: #091a2c;
	color: #f8fafc;
}

.ag-contact-page .ag-rfq-form :where(input, select, textarea):focus {
	border-color: var(--ag-solutions-accent);
	box-shadow: 0 0 0 3px rgba(91, 192, 255, .13);
}

.ag-system-info-grid,
.ag-system-route-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 18px;
}

.ag-system-info-card,
.ag-system-route-card {
	min-height: 210px;
	padding: 26px;
	border: 1px solid rgba(185, 229, 243, .18);
	border-radius: 10px;
	background: rgba(16, 32, 52, .94);
	color: #f8fafc;
	text-decoration: none;
}

.ag-system-info-card > span,
.ag-system-route-card > span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 38px;
	height: 30px;
	padding: 0 9px;
	border: 1px solid rgba(91, 192, 255, .35);
	border-radius: 5px;
	color: var(--ag-solutions-accent);
	font-family: "JetBrains Mono", Consolas, monospace;
	font-size: 11px;
	font-weight: 900;
}

.ag-system-info-card h3,
.ag-system-route-card h3 {
	margin: 24px 0 10px;
	color: #f8fafc;
	font-size: 22px;
}

.ag-system-info-card p,
.ag-system-route-card p {
	margin: 0;
	color: var(--ag-solutions-text-soft);
}

.ag-system-route-card:hover {
	border-color: rgba(255, 185, 95, .7);
	background: rgba(27, 42, 65, .98);
	transform: translateY(-2px);
}

.ag-system-topic-nav {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 10px;
}

.ag-system-topic-nav a {
	padding: 9px 13px;
	border: 1px solid rgba(185, 229, 243, .18);
	border-radius: 6px;
	background: rgba(16, 32, 52, .74);
	color: var(--ag-solutions-text-soft);
	font-family: "JetBrains Mono", Consolas, monospace;
	font-size: 12px;
	font-weight: 800;
	text-decoration: none;
}

.ag-system-topic-nav a:hover,
.ag-system-topic-nav a.is-current {
	border-color: rgba(255, 185, 95, .55);
	background: rgba(255, 185, 95, .1);
	color: #ffddb8;
}

.ag-system-post-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 22px;
}

.ag-system-post-card {
	min-width: 0;
}

.ag-system-post-card-link {
	display: flex;
	height: 100%;
	min-height: 330px;
	flex-direction: column;
	overflow: hidden;
	border: 1px solid rgba(185, 229, 243, .18);
	border-radius: 10px;
	background: rgba(16, 32, 52, .94);
	color: #f8fafc;
	text-decoration: none;
	transition: border-color .2s ease, transform .2s ease, background .2s ease;
}

.ag-system-post-card-link:hover {
	border-color: rgba(255, 185, 95, .7);
	background: rgba(27, 42, 65, .98);
	transform: translateY(-3px);
}

.ag-system-post-card-image {
	margin: 0;
	overflow: hidden;
	border-bottom: 1px solid rgba(185, 229, 243, .16);
}

.ag-system-post-card-image img {
	display: block;
	width: 100%;
	aspect-ratio: 16 / 9;
	object-fit: cover;
	transition: transform .25s ease;
}

.ag-system-post-card-link:hover .ag-system-post-card-image img {
	transform: scale(1.025);
}

.ag-system-post-card-body {
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	padding: 24px;
}

.ag-system-post-card-meta {
	display: flex;
	justify-content: space-between;
	gap: 16px;
	color: var(--ag-solutions-accent);
	font-family: "JetBrains Mono", Consolas, monospace;
	font-size: 10px;
	font-weight: 900;
	text-transform: uppercase;
}

.ag-system-post-card h2 {
	margin: 18px 0 12px;
	color: #f8fafc;
	font-size: 23px;
	line-height: 1.25;
}

.ag-system-post-card p {
	margin: 0;
	color: var(--ag-solutions-text-soft);
}

.ag-system-post-card strong {
	margin-top: auto;
	padding-top: 24px;
	color: #ffca86;
	font-family: "JetBrains Mono", Consolas, monospace;
	font-size: 12px;
}

.ag-system-empty {
	max-width: 820px;
	margin: 0 auto;
	padding: 46px;
	border: 1px solid rgba(185, 229, 243, .18);
	border-radius: 12px;
	background: rgba(16, 32, 52, .94);
	text-align: center;
}

.ag-system-empty h2 {
	margin-top: 0;
	color: #f8fafc;
}

.ag-system-empty p {
	color: var(--ag-solutions-text-soft);
}

.ag-system-empty .ag-hero-actions {
	justify-content: center;
}

.ag-system-search-form label span {
	display: block;
	margin-bottom: 10px;
	color: var(--ag-solutions-accent);
	font-family: "JetBrains Mono", Consolas, monospace;
	font-size: 11px;
	font-weight: 900;
	text-transform: uppercase;
}

.ag-system-search-form > div {
	display: flex;
	gap: 10px;
}

.ag-system-search-form input {
	min-width: 0;
	flex: 1 1 auto;
	min-height: 46px;
	padding: 11px 13px;
	border: 1px solid rgba(185, 229, 243, .22);
	border-radius: 5px;
	background: #091a2c;
	color: #f8fafc;
}

.ag-article-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 12px 22px;
	margin-top: 24px;
	color: var(--ag-solutions-text-soft);
	font-family: "JetBrains Mono", Consolas, monospace;
	font-size: 11px;
	font-weight: 800;
}

.ag-article-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 300px;
	gap: 32px;
	align-items: start;
}

.ag-article-content {
	max-width: none;
	margin: 0;
}

.ag-system-side-card {
	position: sticky;
	top: calc(var(--ag-header-h) + 24px);
}

.ag-system-side-card a {
	color: var(--ag-solutions-accent);
	text-decoration: none;
}

.ag-system-side-card li + li {
	margin-top: 10px;
}

.ag-about-page .ag-about-section,
.ag-about-page .ag-about-subnav,
.ag-about-page .ag-about-card,
.ag-about-page .ag-about-stat,
.ag-about-page .ag-about-certificate-grid .wp-block-column {
	border-color: rgba(185, 229, 243, .18);
}

.ag-about-page .ag-about-card,
.ag-about-page .ag-about-stat,
.ag-about-page .ag-about-certificate-grid .wp-block-column {
	border-radius: 10px;
	background: rgba(16, 32, 52, .94);
}

.ag-about-page .ag-about-section-surface {
	background:
		linear-gradient(180deg, rgba(27, 42, 65, .28), rgba(7, 19, 41, .7)),
		var(--ag-solutions-surface);
}

.ag-about-page .ag-about-editor-content .wp-block-button__link {
	background: var(--ag-solutions-action);
}

.ag-about-page .ag-about-editor-content .wp-block-button__link:hover {
	background: var(--ag-solutions-action-hover);
}

.ag-system-page .nav-links,
.ag-system-page .pagination {
	justify-content: center;
	margin-top: 38px;
}

@media (max-width: 1100px) {
	.ag-system-hero-grid,
	.ag-article-layout {
		grid-template-columns: 1fr;
	}

	.ag-system-review-card,
	.ag-system-search-form,
	.ag-system-side-card {
		max-width: 760px;
	}

	.ag-system-side-card {
		position: static;
	}

	.ag-system-info-grid,
	.ag-system-route-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 900px) {
	.ag-system-post-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 700px) {
	.ag-system-hero {
		min-height: 430px;
	}

	.ag-system-hero-grid {
		gap: 28px;
		padding-top: 68px;
		padding-bottom: 52px;
	}

	.ag-system-hero h1 {
		font-size: 40px;
	}

	.ag-system-section {
		padding: 48px 0;
	}

	.ag-system-content-card,
	.ag-system-review-card,
	.ag-system-search-form,
	.ag-system-side-card,
	.ag-system-empty {
		padding: 22px;
	}

	.ag-system-post-grid,
	.ag-system-info-grid,
	.ag-system-route-grid {
		grid-template-columns: 1fr;
	}

	.ag-system-search-form > div {
		flex-direction: column;
	}

	.ag-system-post-card-link {
		min-height: 0;
	}
}

/* ========================================================================== 
   Phase 12D — Stage 4 global visual system, responsive closure and cleanup
   Source of truth: the approved /solutions/ visual language.
   This block intentionally consolidates shared interaction and component rules
   without changing page content, routing, structured data or media mappings.
   ========================================================================== */

html {
	scroll-padding-top: calc(var(--ag-header-h) + 18px);
}

body {
	overflow-x: clip;
}

/* Predictable keyboard focus across navigation, cards, forms and actions. */
:where(
	a[href],
	button,
	input,
	select,
	textarea,
	summary,
	[tabindex]:not([tabindex="-1"])
):focus-visible {
	outline: 2px solid var(--ag-accent);
	outline-offset: 3px;
	box-shadow: var(--ag-focus-ring);
}

/* Shared action language: cool technical surfaces with restrained amber CTA. */
:where(
	.ag-button,
	.ag-header-cta,
	.ag-button-primary,
	.ag-button-secondary,
	.wp-block-button__link,
	.ag-system-search-form button,
	.ag-rfq-form button[type="submit"]
) {
	min-height: 44px;
	border-radius: 6px;
	transition: background-color .18s ease, border-color .18s ease, color .18s ease, transform .18s ease;
}

:where(
	.ag-button-primary,
	.ag-header-cta,
	.ag-rfq-form button[type="submit"],
	.wp-block-button.is-style-fill .wp-block-button__link
) {
	border-color: transparent;
	background: var(--ag-action);
	color: #071421;
}

:where(
	.ag-button-primary,
	.ag-header-cta,
	.ag-rfq-form button[type="submit"],
	.wp-block-button.is-style-fill .wp-block-button__link
):hover {
	background: var(--ag-action-hover);
	color: #fff;
	transform: translateY(-1px);
}

:where(.ag-button-secondary, .wp-block-button.is-style-outline .wp-block-button__link) {
	border-color: var(--ag-border-strong);
	background: transparent;
	color: var(--ag-text);
}

:where(.ag-button-secondary, .wp-block-button.is-style-outline .wp-block-button__link):hover {
	border-color: var(--ag-action);
	background: rgba(255, 185, 95, .08);
	color: #ffddb8;
}

/* Shared card geometry and hover behavior across business and system templates. */
:where(
	.ag-hub-cpt-card,
	.ag-hub-info-card,
	.ag-hub-category-card,
	.ag-detail-v2-info-card,
	.ag-detail-v2-related-card,
	.ag-system-info-card,
	.ag-system-route-card,
	.ag-system-post-card-link,
	.ag-system-content-card,
	.ag-system-review-card,
	.ag-system-side-card,
	.ag-rfq-form,
	.ag-rfq-side-card
) {
	border-radius: var(--ag-card-radius);
}

:where(
	.ag-hub-cpt-card,
	.ag-hub-info-card,
	.ag-hub-category-card,
	.ag-detail-v2-related-card,
	.ag-system-info-card,
	.ag-system-route-card,
	.ag-system-post-card-link
) {
	transition: border-color .18s ease, background-color .18s ease, transform .18s ease, box-shadow .18s ease;
}

:where(
	.ag-hub-cpt-card,
	.ag-hub-info-card,
	.ag-hub-category-card,
	.ag-detail-v2-related-card,
	.ag-system-info-card,
	.ag-system-route-card,
	.ag-system-post-card-link
):hover {
	box-shadow: var(--ag-card-shadow);
}

/* Consistent readable copy without narrowing grids, tables, cards or forms. */
:where(
	.ag-section-heading > p,
	.ag-hub-hero-intro,
	.ag-detail-v2-lead,
	.ag-detail-v2-outcome,
	.ag-system-hero-copy > p,
	.ag-system-content-card > p,
	.ag-legal-content > p,
	.ag-article-content > p
) {
	max-width: var(--ag-readable);
}

/* One input system for RFQ, contact, search and editor forms. */
:where(
	.ag-rfq-form,
	.ag-system-search-form,
	.ag-contact-page,
	.ag-system-page,
	.ag-detail-v2-main-business
) :where(input:not([type="checkbox"]):not([type="radio"]), select, textarea) {
	min-height: 46px;
	border: 1px solid var(--ag-border-subtle);
	border-radius: 6px;
	background: #091a2c;
	color: var(--ag-text);
}

:where(
	.ag-rfq-form,
	.ag-system-search-form,
	.ag-contact-page,
	.ag-system-page,
	.ag-detail-v2-main-business
) textarea {
	min-height: 132px;
	resize: vertical;
}

:where(
	.ag-rfq-form,
	.ag-system-search-form,
	.ag-contact-page,
	.ag-system-page,
	.ag-detail-v2-main-business
) :where(input, select, textarea):focus {
	border-color: var(--ag-accent);
	outline: none;
	box-shadow: var(--ag-focus-ring);
}

:where(
	.ag-rfq-form,
	.ag-system-search-form,
	.ag-contact-page,
	.ag-system-page,
	.ag-detail-v2-main-business
) :where(input, textarea)::placeholder {
	color: var(--ag-muted);
	opacity: 1;
}

/* Table wrappers own horizontal scrolling; the page itself never does. */
:where(
	.ag-detail-v2-table-wrap,
	.ag-system-content-card .wp-block-table,
	.ag-detail-v2-main-solution .wp-block-table,
	.ag-detail-v2-main-business .wp-block-table
) {
	max-width: 100%;
	overflow-x: auto;
	overscroll-behavior-inline: contain;
	-webkit-overflow-scrolling: touch;
}

:where(
	.ag-detail-v2-main-solution,
	.ag-detail-v2-main-business,
	.ag-system-content-card
) table {
	font-variant-numeric: tabular-nums;
}

/* FAQ disclosures share a predictable touch target and open state. */
:where(
	.ag-hub-faq-item,
	.ag-detail-v2-editor-content details,
	.ag-system-content-card details
) summary {
	min-height: 52px;
	cursor: pointer;
}

:where(
	.ag-hub-faq-item,
	.ag-detail-v2-editor-content details,
	.ag-system-content-card details
)[open] {
	border-color: rgba(91, 192, 255, .34);
}

/* Final solution-detail chapter navigation. JS is the single authority for top. */
.ag-detail-v2-jump-solution {
	position: relative !important;
	top: auto !important;
}

.ag-detail-v2-jump-solution.is-ag-jump-fixed {
	position: fixed !important;
	top: var(--ag-solution-jump-top, var(--ag-header-h)) !important;
	right: 0;
	left: 0;
	width: 100%;
	z-index: 49;
}

.ag-solution-jump-placeholder {
	display: block;
	width: 100%;
	height: 0;
}

.ag-detail-v2-jump-list {
	width: max-content;
	min-width: 100%;
	justify-content: center;
}

.ag-detail-v2-jump-solution a.is-active {
	border-color: rgba(255, 185, 95, .56);
	background: rgba(255, 185, 95, .10);
	color: #ffddb8;
}

/* Header and footer closure. */
.ag-site-header {
	box-shadow: 0 8px 24px rgba(0, 7, 18, .12);
}

.ag-site-footer .ag-footer-links a {
	text-underline-offset: 3px;
}

.ag-site-footer .ag-footer-links a:hover,
.ag-site-footer .ag-footer-links a:focus-visible {
	color: var(--ag-accent);
}

/* Tablet closure. */
@media (max-width: 1100px) {
	.ag-container {
		width: min(100% - 32px, 1440px);
	}

	.ag-detail-v2-jump-list {
		justify-content: flex-start;
		min-width: max-content;
	}

	:where(.ag-rfq-layout, .ag-detail-v2-rfq-grid) {
		gap: 30px;
	}
}

/* Mobile closure. */
@media (max-width: 700px) {
	:root {
		--ag-section-space: 48px;
	}

	.ag-container {
		width: min(100% - 24px, 1440px);
	}

	:where(.ag-hero-actions, .ag-category-actions, .ag-system-empty .ag-hero-actions) {
		display: grid;
		grid-template-columns: 1fr;
		gap: 10px;
	}

	:where(.ag-hero-actions, .ag-category-actions, .ag-system-empty .ag-hero-actions) .ag-button {
		width: 100%;
	}

	.ag-detail-v2-jump-solution .ag-container {
		width: 100%;
		padding-right: 16px;
		padding-left: 16px;
	}

	.ag-site-footer .ag-footer-links {
		gap: 24px 18px;
	}

	:where(
		.ag-detail-v2-main-solution,
		.ag-detail-v2-main-business,
		.ag-system-content-card
	) table {
		font-size: .88rem;
	}
}

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

	*,
	*::before,
	*::after {
		scroll-behavior: auto !important;
		transition-duration: .01ms !important;
		animation-duration: .01ms !important;
		animation-iteration-count: 1 !important;
	}
}


/* ================================================================
   PHASE 13 — CATEGORY SELECTION FLOW + SOLUTIONS VISUAL GROUPS
   ================================================================ */
.ag-category-how-grid {
	grid-template-columns: repeat(4, minmax(0, 1fr));
	margin-bottom: 34px;
}

.ag-category-how-grid .ag-hub-info-card {
	min-height: 220px;
}

.ag-category-how-support {
	margin-top: 34px;
}

.ag-category-resource-block + .ag-category-resource-block {
	margin-top: 44px;
	padding-top: 38px;
	border-top: 1px solid var(--ag-line);
}

.ag-category-resource-block > h3 {
	margin: 0 0 22px;
	color: #f8fafc;
	font-size: clamp(1.35rem, 2vw, 1.8rem);
}

.ag-section-surface .ag-category-resource-block > h3 {
	color: #17344a;
}

.ag-category-keyword-link-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 18px;
}

.ag-category-keyword-link-card {
	display: flex;
	min-height: 190px;
	padding: 24px;
	flex-direction: column;
	border: 1px solid rgba(124, 171, 204, .22);
	border-radius: var(--ag-radius);
	background: rgba(5, 24, 43, .7);
	box-shadow: 0 18px 45px rgba(0, 0, 0, .12);
	text-decoration: none;
	transition: transform .2s ease, border-color .2s ease, background .2s ease;
}

.ag-section-surface .ag-category-keyword-link-card {
	border-color: #d7e4ed;
	background: #f7fafc;
	box-shadow: 0 18px 45px rgba(22, 50, 72, .08);
}

.ag-category-keyword-link-card:hover {
	transform: translateY(-3px);
	border-color: rgba(91, 192, 255, .58);
	background: rgba(8, 34, 58, .9);
}

.ag-section-surface .ag-category-keyword-link-card:hover {
	background: #eef6fb;
}

.ag-category-keyword-link-card > span {
	margin-bottom: 14px;
	color: #ffb95f;
	font-family: "JetBrains Mono", Consolas, monospace;
	font-size: 11px;
	font-weight: 900;
	letter-spacing: .08em;
	text-transform: uppercase;
}

.ag-category-keyword-link-card h3 {
	margin: 0 0 18px;
	color: #f8fafc;
	font-size: 1.05rem;
	line-height: 1.48;
}

.ag-section-surface .ag-category-keyword-link-card h3 {
	color: #17344a;
}

.ag-category-keyword-link-card strong {
	margin-top: auto;
	color: #6bc4ff;
	font-size: .9rem;
}

.ag-solution-visual-groups {
	display: grid;
	gap: 38px;
}

.ag-solution-visual-group {
	padding: 30px;
	border: 1px solid #dbe7ef;
	border-radius: 18px;
	background: #f8fbfd;
	box-shadow: 0 20px 52px rgba(16, 42, 63, .08);
}

.ag-solution-group-heading {
	max-width: 900px;
	margin-bottom: 24px;
}

.ag-solution-group-heading h3 {
	margin: 8px 0 12px;
	color: #17344a;
	font-size: clamp(1.55rem, 2.4vw, 2.15rem);
	line-height: 1.2;
}

.ag-solution-group-heading > p:last-child {
	margin: 0;
	color: #5b7081;
	line-height: 1.72;
}

.ag-hub-challenge-grid-grouped {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.ag-solution-visual-group:nth-child(2) .ag-hub-challenge-grid-grouped {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.ag-solution-visual-group:nth-child(3) .ag-hub-challenge-grid-grouped {
	grid-template-columns: repeat(4, minmax(0, 1fr));
}

.ag-solution-visual-group .ag-hub-cpt-card {
	background: #fff;
}

@media (max-width: 1180px) {
	.ag-category-how-grid,
	.ag-solution-visual-group:nth-child(3) .ag-hub-challenge-grid-grouped {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 840px) {
	.ag-category-keyword-link-grid,
	.ag-hub-challenge-grid-grouped,
	.ag-solution-visual-group:nth-child(2) .ag-hub-challenge-grid-grouped,
	.ag-solution-visual-group:nth-child(3) .ag-hub-challenge-grid-grouped {
		grid-template-columns: 1fr;
	}

	.ag-solution-visual-group {
		padding: 22px;
	}
}

@media (max-width: 720px) {
	.ag-category-how-grid {
		grid-template-columns: 1fr;
	}

	.ag-category-how-grid .ag-hub-info-card,
	.ag-category-keyword-link-card {
		min-height: 0;
	}
}


/* Phase 14: keyword-mapped item internal links. */
.ag-phase14-item-links{background:var(--ag-surface-base);color:var(--ag-solutions-text);border-top:1px solid var(--ag-border-subtle);border-bottom:1px solid var(--ag-border-subtle)}
.ag-phase14-section-heading{max-width:860px;margin:0 0 34px}
.ag-phase14-section-heading h2{max-width:780px;margin:8px 0 14px;color:var(--ag-solutions-text);font-size:clamp(1.85rem,3vw,3rem);line-height:1.12}
.ag-phase14-section-heading>p:last-child{max-width:780px;margin:0;color:var(--ag-solutions-text-soft);line-height:1.75}
.ag-phase14-parent-route{display:flex;align-items:center;justify-content:space-between;gap:28px;margin:0 0 44px;padding:24px 28px;border:1px solid var(--ag-border-strong);border-radius:var(--ag-card-radius);background:var(--ag-surface-card-alt);box-shadow:var(--ag-card-shadow)}
.ag-phase14-parent-route span,.ag-phase14-resource-heading span{color:var(--ag-accent);font-size:.74rem;font-weight:850;letter-spacing:.11em;text-transform:uppercase}
.ag-phase14-parent-route h3{margin:8px 0 6px;color:var(--ag-solutions-text);font-size:1.35rem}
.ag-phase14-parent-route p{margin:0;color:var(--ag-solutions-text-soft)}
.ag-phase14-commercial-groups{display:grid;gap:46px}
.ag-phase14-group+.ag-phase14-group{padding-top:42px;border-top:1px solid var(--ag-border-subtle)}
.ag-phase14-group-heading{display:grid;grid-template-columns:minmax(220px,.7fr) minmax(280px,1fr);gap:28px;align-items:end;margin-bottom:20px}
.ag-phase14-group-heading h3{margin:0;color:var(--ag-solutions-text);font-size:1.45rem}
.ag-phase14-group-heading p{margin:0;color:var(--ag-solutions-text-soft);line-height:1.65}
.ag-phase14-card-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
.ag-phase14-link-card{display:flex;min-height:176px;flex-direction:column;padding:22px;border:1px solid var(--ag-border-subtle);border-radius:var(--ag-card-radius);background:var(--ag-surface-card);color:var(--ag-solutions-text);text-decoration:none;box-shadow:var(--ag-card-shadow);transition:transform .2s ease,border-color .2s ease,background .2s ease}
.ag-phase14-link-card:hover{transform:translateY(-3px);border-color:var(--ag-border-strong);background:var(--ag-surface-card-alt)}
.ag-phase14-link-card span{color:var(--ag-accent);font-size:.72rem;font-weight:850;letter-spacing:.1em;text-transform:uppercase}
.ag-phase14-link-card h3{margin:14px 0 8px;color:var(--ag-solutions-text);font-size:1.08rem;line-height:1.38}
.ag-phase14-link-card p{margin:0 0 18px;color:var(--ag-solutions-text-soft);font-size:.88rem;line-height:1.5}
.ag-phase14-link-card strong{margin-top:auto;color:var(--ag-solutions-text-soft);font-size:.82rem}
.ag-phase14-resource-block{margin-top:58px;padding-top:48px;border-top:1px solid var(--ag-border-subtle)}
.ag-phase14-resource-heading{max-width:760px;margin-bottom:22px}
.ag-phase14-resource-heading h3{margin:8px 0 0;color:var(--ag-solutions-text);font-size:1.45rem}
.ag-phase14-resource-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.ag-phase14-resource-column{padding:24px;border:1px solid var(--ag-border-subtle);border-radius:var(--ag-card-radius);background:var(--ag-surface-card-alt)}
.ag-phase14-resource-column h3{margin:0 0 8px;color:var(--ag-solutions-text);font-size:1.16rem}
.ag-phase14-resource-column>p{margin:0 0 18px;color:var(--ag-solutions-text-soft);line-height:1.6}
.ag-phase14-resource-column ul{display:grid;gap:11px;margin:0;padding:0;list-style:none}
.ag-phase14-resource-column li{position:relative;padding-left:17px}
.ag-phase14-resource-column li:before{content:"";position:absolute;left:0;top:.72em;width:6px;height:6px;border-radius:50%;background:var(--ag-accent)}
.ag-phase14-resource-column a{color:var(--ag-solutions-text);text-decoration-thickness:1px;text-underline-offset:3px}
.ag-phase14-resource-column a:hover{color:var(--ag-accent)}
@media(max-width:1080px){.ag-phase14-card-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:780px){.ag-phase14-parent-route{align-items:flex-start;flex-direction:column}.ag-phase14-group-heading{grid-template-columns:1fr;gap:8px}.ag-phase14-resource-grid{grid-template-columns:1fr}}
@media(max-width:560px){.ag-phase14-card-grid{grid-template-columns:1fr}.ag-phase14-link-card{min-height:145px}}

/* Phase 15: locked three-level commercial navigation. */
.ag-nav-list .sub-menu li {
	position: relative;
}

.ag-nav-list .sub-menu .sub-menu {
	top: -9px;
	left: calc(100% + 9px);
	min-width: 310px;
}

.ag-nav-list > li:nth-last-child(-n+4) .sub-menu .sub-menu {
	left: auto;
	right: calc(100% + 9px);
}

@media (max-width: 900px) {
	.ag-nav-list .sub-menu .sub-menu,
	.ag-nav-list > li:nth-last-child(-n+4) .sub-menu .sub-menu {
		position: static;
		margin-left: 12px;
		min-width: 0;
	}
}


/* Phase 16: focused About landing layout. */
.ag-about-hero-actions {
	margin-top: 34px;
}

.ag-about-material-grid .ag-about-card {
	display: flex;
	flex-direction: column;
}

.ag-about-material-card ul {
	margin: 0 0 22px;
	padding-left: 1.15rem;
}

.ag-about-material-card li + li {
	margin-top: 9px;
}

.ag-about-material-card li a,
.ag-about-card-link a {
	color: var(--ag-solutions-accent);
	text-decoration: none;
}

.ag-about-material-card li a:hover,
.ag-about-card-link a:hover {
	color: #fff;
	text-decoration: underline;
	text-underline-offset: 4px;
}

.ag-about-card-link {
	margin-top: auto !important;
	padding-top: 12px;
	font-family: "JetBrains Mono", Consolas, monospace;
	font-size: 12px;
	font-weight: 900;
}

.ag-about-material-note {
	max-width: 980px;
	margin: 26px auto 0;
	padding: 14px 18px;
	border: 1px solid rgba(185, 229, 243, .16);
	border-radius: 10px;
	background: rgba(7, 19, 41, .44);
	font-size: 13px;
	text-align: center;
}

.ag-about-workflow {
	display: grid;
	grid-template-columns: repeat(7, minmax(0, 1fr));
	gap: 10px;
	margin: 0 0 48px;
}

.ag-about-workflow-step {
	position: relative;
	min-height: 112px;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	gap: 18px;
	padding: 18px;
	border: 1px solid rgba(185, 229, 243, .18);
	border-radius: 10px;
	background: rgba(16, 32, 52, .94);
}

.ag-about-workflow-step:not(:last-child)::after {
	content: "→";
	position: absolute;
	top: 50%;
	right: -10px;
	z-index: 2;
	width: 20px;
	color: var(--ag-solutions-accent);
	font-weight: 900;
	text-align: center;
	transform: translateY(-50%);
}

.ag-about-workflow-step > span {
	color: var(--ag-solutions-accent);
	font-family: "JetBrains Mono", Consolas, monospace;
	font-size: 12px;
	font-weight: 900;
}

.ag-about-workflow-step > strong {
	color: #f8fafc;
	font-size: 15px;
	line-height: 1.35;
}

.ag-about-capability-split {
	margin-top: 0;
}

.ag-about-capability-list {
	columns: 2;
	column-gap: 36px;
	margin: 0;
	padding: 26px 30px !important;
	border: 1px solid rgba(185, 229, 243, .18);
	border-radius: 10px;
	background: rgba(16, 32, 52, .94);
}

.ag-about-capability-list li {
	break-inside: avoid;
	margin-bottom: 14px;
}

.ag-about-gallery-grid-two {
	flex-wrap: nowrap !important;
}

.ag-about-application-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 16px;
}

.ag-about-application-card {
	min-width: 0;
}

.ag-about-application-card > a {
	height: 100%;
	display: flex;
	align-items: flex-start;
	gap: 16px;
	padding: 22px;
	border: 1px solid rgba(185, 229, 243, .18);
	border-radius: 10px;
	background: rgba(16, 32, 52, .94);
	color: inherit;
	text-decoration: none;
	transition: border-color .2s ease, transform .2s ease, background .2s ease;
}

.ag-about-application-card > a:hover {
	border-color: rgba(185, 229, 243, .48);
	background: rgba(27, 42, 65, .98);
	transform: translateY(-2px);
}

.ag-about-application-icon {
	width: 46px;
	height: 46px;
	flex: 0 0 46px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border: 1px solid rgba(255, 185, 95, .5);
	border-radius: 50%;
	background: rgba(255, 185, 95, .08);
	color: var(--ag-solutions-accent);
	font-family: "JetBrains Mono", Consolas, monospace;
	font-size: 11px;
	font-weight: 900;
}

.ag-about-application-copy {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.ag-about-application-copy strong {
	color: #f8fafc;
	font-size: 17px;
	line-height: 1.3;
}

.ag-about-application-copy > span {
	color: var(--ag-text-soft);
	font-size: 14px;
	line-height: 1.55;
}

.ag-about-quality-panel {
	padding: 30px;
	border: 1px solid rgba(185, 229, 243, .18);
	border-radius: 10px;
	background: rgba(16, 32, 52, .94);
}

.ag-about-quality-panel h3 {
	margin-top: 0;
}

.ag-about-why-grid {
	flex-wrap: wrap !important;
}

.ag-about-why-grid > .wp-block-column {
	flex-basis: calc(33.333% - 14px) !important;
	flex-grow: 1;
}

.ag-about-cta-image {
	background: var(--ag-deep);
}

.ag-about-cta-image::before,
.ag-about-cta-image::after {
	content: "";
	position: absolute;
	inset: 0;
}

.ag-about-cta-image::before {
	z-index: -2;
	background-image: var(--ag-about-cta-image);
	background-position: center;
	background-size: cover;
}

.ag-about-cta-image::after {
	z-index: -1;
	background: linear-gradient(90deg, rgba(3, 20, 39, .97), rgba(3, 20, 39, .78));
}

.ag-about-editor-content .wp-block-button.is-style-outline .wp-block-button__link {
	border: 1px solid rgba(185, 229, 243, .45);
	background: rgba(7, 19, 41, .2);
	color: #eef8ff;
}

.ag-about-editor-content .wp-block-button.is-style-outline .wp-block-button__link:hover {
	border-color: var(--ag-solutions-accent);
	background: rgba(185, 229, 243, .12);
	color: #fff;
}

@media (max-width: 1100px) {
	.ag-about-workflow {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}

	.ag-about-workflow-step::after {
		display: none;
	}

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

	.ag-about-why-grid > .wp-block-column {
		flex-basis: calc(50% - 10px) !important;
	}
}

@media (max-width: 781px) {
	.ag-about-hero-actions {
		display: grid;
		grid-template-columns: 1fr;
	}

	.ag-about-workflow,
	.ag-about-application-grid {
		grid-template-columns: 1fr;
	}

	.ag-about-capability-list {
		columns: 1;
	}

	.ag-about-gallery-grid-two {
		flex-wrap: wrap !important;
	}

	.ag-about-why-grid > .wp-block-column {
		flex-basis: 100% !important;
	}
}


/* --------------------------------------------------------------------------
 * Phase 17A: About layout fault repair.
 * Force the manufacturing workflow and application cards to use reliable
 * full-width CSS grids even when WordPress block layout rules add constrained
 * widths or automatic margins to nested Group blocks.
 * ----------------------------------------------------------------------- */
.ag-about-page .ag-about-editor-content .ag-about-workflow {
	display: grid !important;
	grid-template-columns: repeat(8, minmax(0, 1fr)) !important;
	grid-auto-flow: row !important;
	gap: 16px !important;
	width: 100% !important;
	max-width: none !important;
	margin: 0 0 40px !important;
	padding: 0 !important;
	align-items: stretch !important;
}

.ag-about-page .ag-about-editor-content .ag-about-workflow > .ag-about-workflow-step {
	grid-column: span 2;
	width: auto !important;
	min-width: 0 !important;
	max-width: none !important;
	min-height: 128px;
	margin: 0 !important;
	box-sizing: border-box;
}

.ag-about-page .ag-about-editor-content .ag-about-workflow > .ag-about-workflow-step:nth-child(5) {
	grid-column: 2 / span 2;
	grid-row: 2;
}

.ag-about-page .ag-about-editor-content .ag-about-workflow > .ag-about-workflow-step:nth-child(6) {
	grid-column: 4 / span 2;
	grid-row: 2;
}

.ag-about-page .ag-about-editor-content .ag-about-workflow > .ag-about-workflow-step:nth-child(7) {
	grid-column: 6 / span 2;
	grid-row: 2;
}

.ag-about-page .ag-about-editor-content .ag-about-workflow-step::after {
	display: none !important;
}

.ag-about-page .ag-about-editor-content .ag-about-capability-split {
	display: grid !important;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr) !important;
	gap: 24px !important;
	width: 100% !important;
	max-width: none !important;
	margin: 0 !important;
	align-items: stretch !important;
}

.ag-about-page .ag-about-editor-content .ag-about-capability-split > .wp-block-column,
.ag-about-page .ag-about-editor-content .ag-about-gallery-grid-two > .wp-block-column {
	width: auto !important;
	min-width: 0 !important;
	max-width: none !important;
	margin: 0 !important;
}

.ag-about-page .ag-about-editor-content .ag-about-capability-list {
	height: 100%;
	box-sizing: border-box;
}

.ag-about-page .ag-about-editor-content .ag-about-gallery-grid-two {
	display: grid !important;
	grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
	gap: 16px !important;
	width: 100% !important;
	max-width: none !important;
	height: 100%;
	margin: 0 !important;
}

.ag-about-page .ag-about-editor-content .ag-about-gallery-grid-two .ag-about-gallery-image {
	height: 100%;
}

.ag-about-page .ag-about-editor-content .ag-about-gallery-grid-two .ag-about-gallery-image img {
	height: calc(100% - 42px);
	min-height: 220px;
	aspect-ratio: auto;
}

.ag-about-page .ag-about-editor-content .ag-about-application-grid {
	display: grid !important;
	grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
	grid-auto-flow: row !important;
	grid-auto-rows: 1fr;
	gap: 16px !important;
	width: 100% !important;
	max-width: none !important;
	margin: 0 !important;
	padding: 0 !important;
	align-items: stretch !important;
}

.ag-about-page .ag-about-editor-content .ag-about-application-grid > .ag-about-application-card {
	display: block !important;
	width: auto !important;
	min-width: 0 !important;
	max-width: none !important;
	height: 100%;
	margin: 0 !important;
	box-sizing: border-box;
}

.ag-about-page .ag-about-editor-content .ag-about-application-card > a {
	width: 100%;
	min-height: 154px;
	box-sizing: border-box;
}

@media (max-width: 1100px) {
	.ag-about-page .ag-about-editor-content .ag-about-workflow {
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
	}

	.ag-about-page .ag-about-editor-content .ag-about-workflow > .ag-about-workflow-step,
	.ag-about-page .ag-about-editor-content .ag-about-workflow > .ag-about-workflow-step:nth-child(5),
	.ag-about-page .ag-about-editor-content .ag-about-workflow > .ag-about-workflow-step:nth-child(6),
	.ag-about-page .ag-about-editor-content .ag-about-workflow > .ag-about-workflow-step:nth-child(7) {
		grid-column: auto;
		grid-row: auto;
	}

	.ag-about-page .ag-about-editor-content .ag-about-application-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
	}
}

@media (max-width: 900px) {
	.ag-about-page .ag-about-editor-content .ag-about-capability-split {
		grid-template-columns: 1fr !important;
	}
}

@media (max-width: 700px) {
	.ag-about-page .ag-about-editor-content .ag-about-workflow,
	.ag-about-page .ag-about-editor-content .ag-about-application-grid,
	.ag-about-page .ag-about-editor-content .ag-about-gallery-grid-two {
		grid-template-columns: 1fr !important;
	}

	.ag-about-page .ag-about-editor-content .ag-about-workflow > .ag-about-workflow-step {
		min-height: 104px;
	}

	.ag-about-page .ag-about-editor-content .ag-about-application-card > a {
		min-height: 0;
	}
}

/* --------------------------------------------------------------------------
 * Phase 17B: About visual rhythm and hero readability.
 * This phase keeps the approved HTML/content structure intact and only tunes
 * the About landing page's pacing, hero contrast and section navigation.
 * ----------------------------------------------------------------------- */
.ag-about-landing .ag-about-hero {
	min-height: 570px;
}

.ag-about-landing .ag-about-hero::before {
	background-position: center 44%;
	transform: scale(1.01);
}

.ag-about-landing .ag-about-hero::after {
	background:
		linear-gradient(90deg, rgba(3, 20, 39, .99) 0%, rgba(3, 20, 39, .94) 38%, rgba(3, 20, 39, .72) 66%, rgba(3, 20, 39, .48) 100%),
		linear-gradient(0deg, rgba(3, 20, 39, .94) 0%, rgba(3, 20, 39, .26) 62%, rgba(3, 20, 39, .18) 100%);
}

.ag-about-landing .ag-about-hero-inner {
	padding: 92px 0 72px;
}

.ag-about-landing .ag-about-hero-copy {
	max-width: 790px;
}

.ag-about-landing .ag-about-hero h1 {
	max-width: 780px;
	margin-bottom: 22px;
	font-size: clamp(42px, 5.25vw, 70px);
	line-height: 1.045;
	letter-spacing: -.032em;
	text-wrap: balance;
}

.ag-about-landing .ag-about-hero-intro {
	max-width: 760px;
	color: #e1edf8;
	font-size: clamp(17px, 1.45vw, 20px);
	line-height: 1.62;
	text-wrap: pretty;
}

.ag-about-landing .ag-about-hero-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 30px;
}

.ag-about-landing .ag-about-hero-actions .ag-button {
	min-height: 48px;
	padding: 13px 22px;
	box-shadow: 0 12px 30px rgba(0, 7, 18, .22);
}

.ag-about-landing .ag-about-subnav {
	top: var(--ag-header-h);
	z-index: 45;
	border-top: 1px solid rgba(185, 229, 243, .08);
	background: rgba(3, 20, 39, .975);
	box-shadow: 0 10px 26px rgba(0, 7, 18, .22);
}

.admin-bar .ag-about-landing .ag-about-subnav {
	top: calc(var(--ag-header-h) + var(--wp-admin--admin-bar--height, 32px));
}

.ag-about-landing .ag-about-subnav ul {
	gap: 10px;
	padding: 13px 0;
}

.ag-about-landing .ag-about-subnav a {
	position: relative;
	padding: 10px 16px;
	font-size: 13px;
	line-height: 1.25;
}

.ag-about-landing .ag-about-subnav .is-current a {
	border-color: rgba(255, 185, 95, .56);
	background: rgba(255, 185, 95, .12);
	color: #fff1dc;
	box-shadow: inset 0 -2px 0 rgba(255, 185, 95, .78);
}

/* Default rhythm: deliberately tighter than the original 92px blanket rule. */
.ag-about-landing .ag-about-editor-content > .ag-about-section {
	padding-top: 72px;
	padding-bottom: 72px;
}

/* Overview. */
.ag-about-landing .ag-about-editor-content > .ag-about-section:nth-child(1) {
	padding-top: 76px;
	padding-bottom: 76px;
}

/* Materials and factory evidence need a slightly longer visual pause. */
.ag-about-landing .ag-about-editor-content > .ag-about-section:nth-child(2),
.ag-about-landing .ag-about-editor-content > .ag-about-section:nth-child(3) {
	padding-top: 80px;
	padding-bottom: 80px;
}

/* Manufacturing and applications are content-dense; avoid rebuilding empty height. */
.ag-about-landing .ag-about-editor-content > .ag-about-section:nth-child(4),
.ag-about-landing .ag-about-editor-content > .ag-about-section:nth-child(5) {
	padding-top: 66px;
	padding-bottom: 66px;
}

/* Quality and conversion sections. */
.ag-about-landing .ag-about-editor-content > .ag-about-section:nth-child(6) {
	padding-top: 72px;
	padding-bottom: 72px;
}

.ag-about-landing .ag-about-editor-content > .ag-about-section:nth-child(7) {
	padding-top: 78px;
	padding-bottom: 78px;
}

.ag-about-landing .ag-about-editor-content > .ag-about-section:nth-child(8) {
	padding-top: 74px;
	padding-bottom: 74px;
}

.ag-about-landing .ag-about-section-heading {
	margin-bottom: 38px;
}

.ag-about-landing .ag-about-editor-content > .ag-about-section:nth-child(2) .ag-about-section-heading,
.ag-about-landing .ag-about-editor-content > .ag-about-section:nth-child(3) .ag-about-section-heading {
	margin-bottom: 42px;
}

.ag-about-landing .ag-about-editor-content > .ag-about-section:nth-child(4) .ag-about-section-heading,
.ag-about-landing .ag-about-editor-content > .ag-about-section:nth-child(5) .ag-about-section-heading {
	margin-bottom: 32px;
}

.ag-about-landing .ag-about-editor-content > .ag-about-section:nth-child(4) .ag-about-workflow {
	margin-bottom: 30px !important;
}

.ag-about-landing .ag-about-editor-content > .ag-about-section:nth-child(5) .ag-about-center-buttons {
	margin-top: 28px;
}

@media (max-width: 900px) {
	.ag-about-landing .ag-about-hero {
		min-height: 500px;
	}

	.ag-about-landing .ag-about-hero-inner {
		padding: 78px 0 62px;
	}

	.ag-about-landing .ag-about-hero h1 {
		font-size: clamp(40px, 7.2vw, 58px);
	}

	.ag-about-landing .ag-about-subnav ul {
		padding: 11px 0;
	}

	.ag-about-landing .ag-about-subnav a {
		padding: 9px 13px;
		font-size: 12px;
	}

	.ag-about-landing .ag-about-editor-content > .ag-about-section,
	.ag-about-landing .ag-about-editor-content > .ag-about-section:nth-child(n) {
		padding-top: 58px;
		padding-bottom: 58px;
	}

	.ag-about-landing .ag-about-editor-content > .ag-about-section:nth-child(2),
	.ag-about-landing .ag-about-editor-content > .ag-about-section:nth-child(3),
	.ag-about-landing .ag-about-editor-content > .ag-about-section:nth-child(7) {
		padding-top: 62px;
		padding-bottom: 62px;
	}
}

@media (max-width: 700px) {
	.ag-about-landing .ag-about-hero {
		min-height: 470px;
	}

	.ag-about-landing .ag-about-hero::after {
		background:
			linear-gradient(90deg, rgba(3, 20, 39, .99), rgba(3, 20, 39, .82)),
			linear-gradient(0deg, rgba(3, 20, 39, .96), rgba(3, 20, 39, .28));
	}

	.ag-about-landing .ag-about-hero-inner {
		padding: 68px 0 52px;
	}

	.ag-about-landing .ag-about-hero h1 {
		font-size: clamp(36px, 11vw, 48px);
		line-height: 1.06;
	}

	.ag-about-landing .ag-about-hero-intro {
		font-size: 16px;
		line-height: 1.58;
	}

	.ag-about-landing .ag-about-hero-actions {
		display: grid;
		grid-template-columns: 1fr;
		gap: 10px;
	}

	.ag-about-landing .ag-about-hero-actions .ag-button {
		width: 100%;
	}

	.ag-about-landing .ag-about-subnav ul {
		gap: 6px;
		padding: 9px 0;
	}

	.ag-about-landing .ag-about-subnav a {
		padding: 8px 11px;
		font-size: 11px;
	}

	.ag-about-landing .ag-about-editor-content > .ag-about-section,
	.ag-about-landing .ag-about-editor-content > .ag-about-section:nth-child(n),
	.ag-about-landing .ag-about-editor-content > .ag-about-section:nth-child(2),
	.ag-about-landing .ag-about-editor-content > .ag-about-section:nth-child(3),
	.ag-about-landing .ag-about-editor-content > .ag-about-section:nth-child(7) {
		padding-top: 48px;
		padding-bottom: 48px;
	}

	.ag-about-landing .ag-about-section-heading,
	.ag-about-landing .ag-about-editor-content > .ag-about-section:nth-child(n) .ag-about-section-heading {
		margin-bottom: 28px;
	}
}


/* --------------------------------------------------------------------------
 * Phase 17C: About cards, factory evidence, quality balance and CTA polish.
 * Keeps the approved section order and Phase 17A/17B layout fixes intact.
 * ----------------------------------------------------------------------- */

/* Capability evidence cards: stable four-column grid and aligned content. */
.ag-about-landing .ag-about-stats {
	display: grid !important;
	grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
	gap: 18px !important;
	align-items: stretch !important;
}

.ag-about-landing .ag-about-stats > .wp-block-column {
	display: flex !important;
	width: auto !important;
	min-width: 0 !important;
	max-width: none !important;
	margin: 0 !important;
}

.ag-about-landing .ag-about-stat {
	min-height: 174px;
	display: flex;
	flex-direction: column;
	padding: 28px;
	box-sizing: border-box;
}

.ag-about-landing .ag-about-stat h3 {
	min-height: 68px;
	display: flex;
	align-items: flex-start;
	margin-bottom: 14px;
	font-size: clamp(22px, 2.1vw, 31px);
	line-height: 1.12;
	text-wrap: balance;
}

.ag-about-landing .ag-about-stat p {
	margin-top: auto;
	font-size: 14px;
	line-height: 1.55;
}

/* Factory evidence: taller images and consistent caption area. */
.ag-about-landing .ag-about-editor-content > .ag-about-section:nth-child(3) .ag-about-gallery-grid-four {
	display: grid !important;
	grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
	gap: 20px !important;
	width: 100% !important;
	margin: 0 !important;
}

.ag-about-landing .ag-about-editor-content > .ag-about-section:nth-child(3) .ag-about-gallery-grid-four > .wp-block-column {
	display: flex !important;
	width: auto !important;
	min-width: 0 !important;
	max-width: none !important;
	margin: 0 !important;
}

.ag-about-landing .ag-about-editor-content > .ag-about-section:nth-child(3) .ag-about-gallery-image {
	width: 100%;
	display: flex;
	flex-direction: column;
	box-shadow: 0 18px 34px rgba(0, 7, 18, .2);
}

.ag-about-landing .ag-about-editor-content > .ag-about-section:nth-child(3) .ag-about-gallery-image img {
	min-height: 190px;
	aspect-ratio: 5 / 4;
	object-position: center;
}

.ag-about-landing .ag-about-editor-content > .ag-about-section:nth-child(3) .ag-about-gallery-image figcaption {
	min-height: 58px;
	display: flex;
	align-items: center;
	box-sizing: border-box;
	line-height: 1.4;
}

/* Applications: replace ambiguous letter codes with self-contained line icons. */
.ag-about-landing .ag-about-application-icon {
	position: relative;
	width: 50px;
	height: 50px;
	flex-basis: 50px;
	border-radius: 12px;
	font-size: 10px;
}

.ag-about-landing .ag-about-application-icon::before {
	content: "";
	width: 26px;
	height: 26px;
	display: none;
	background: currentColor;
	-webkit-mask-image: var(--ag-about-application-svg);
	mask-image: var(--ag-about-application-svg);
	-webkit-mask-position: center;
	mask-position: center;
	-webkit-mask-repeat: no-repeat;
	mask-repeat: no-repeat;
	-webkit-mask-size: contain;
	mask-size: contain;
}

@supports ((-webkit-mask-image: linear-gradient(#000, #000)) or (mask-image: linear-gradient(#000, #000))) {
	.ag-about-landing .ag-about-application-icon {
		font-size: 0;
	}

	.ag-about-landing .ag-about-application-icon::before {
		display: block;
	}
}

.ag-about-landing .ag-about-application-card:nth-child(1) .ag-about-application-icon {
	--ag-about-application-svg: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2024%2024%27%20fill%3D%27none%27%20stroke%3D%27black%27%20stroke-width%3D%271.8%27%20stroke-linecap%3D%27round%27%20stroke-linejoin%3D%27round%27%3E%3Cpath%20d%3D%27M2.5%2012s3.5-6%209.5-6%209.5%206%209.5%206-3.5%206-9.5%206-9.5-6-9.5-6Z%27%2F%3E%3Ccircle%20cx%3D%2712%27%20cy%3D%2712%27%20r%3D%272.8%27%2F%3E%3C%2Fsvg%3E");
}

.ag-about-landing .ag-about-application-card:nth-child(2) .ag-about-application-icon {
	--ag-about-application-svg: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2024%2024%27%20fill%3D%27none%27%20stroke%3D%27black%27%20stroke-width%3D%271.8%27%20stroke-linecap%3D%27round%27%20stroke-linejoin%3D%27round%27%3E%3Crect%20x%3D%273%27%20y%3D%276.5%27%20width%3D%2718%27%20height%3D%2712%27%20rx%3D%272%27%2F%3E%3Ccircle%20cx%3D%2712%27%20cy%3D%2712.5%27%20r%3D%273.5%27%2F%3E%3Cpath%20d%3D%27M7%206.5%208.5%204.5h7L17%206.5%27%2F%3E%3C%2Fsvg%3E");
}

.ag-about-landing .ag-about-application-card:nth-child(3) .ag-about-application-icon {
	--ag-about-application-svg: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2024%2024%27%20fill%3D%27none%27%20stroke%3D%27black%27%20stroke-width%3D%271.7%27%20stroke-linecap%3D%27round%27%20stroke-linejoin%3D%27round%27%3E%3Crect%20x%3D%276%27%20y%3D%276%27%20width%3D%2712%27%20height%3D%2712%27%20rx%3D%272%27%2F%3E%3Crect%20x%3D%279%27%20y%3D%279%27%20width%3D%276%27%20height%3D%276%27%20rx%3D%271%27%2F%3E%3Cpath%20d%3D%27M9%202v4M15%202v4M9%2018v4M15%2018v4M2%209h4M2%2015h4M18%209h4M18%2015h4%27%2F%3E%3C%2Fsvg%3E");
}

.ag-about-landing .ag-about-application-card:nth-child(4) .ag-about-application-icon {
	--ag-about-application-svg: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2024%2024%27%20fill%3D%27none%27%20stroke%3D%27black%27%20stroke-width%3D%271.8%27%20stroke-linecap%3D%27round%27%20stroke-linejoin%3D%27round%27%3E%3Crect%20x%3D%273.5%27%20y%3D%275%27%20width%3D%2713%27%20height%3D%2713%27%20rx%3D%271.5%27%2F%3E%3Crect%20x%3D%277.5%27%20y%3D%272%27%20width%3D%2713%27%20height%3D%2713%27%20rx%3D%271.5%27%2F%3E%3C%2Fsvg%3E");
}

.ag-about-landing .ag-about-application-card:nth-child(5) .ag-about-application-icon {
	--ag-about-application-svg: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2024%2024%27%20fill%3D%27none%27%20stroke%3D%27black%27%20stroke-width%3D%271.8%27%20stroke-linecap%3D%27round%27%20stroke-linejoin%3D%27round%27%3E%3Cpath%20d%3D%27M9%2018h6M10%2021h4M8.4%2014.5A6%206%200%201%201%2015.6%2014.5c-.9.7-1.4%201.6-1.6%202.5h-4c-.2-.9-.7-1.8-1.6-2.5Z%27%2F%3E%3Cpath%20d%3D%27M12%202V.8M4.9%204.9%204%204M19.1%204.9%2020%204M2%2012H.8M23.2%2012H22%27%2F%3E%3C%2Fsvg%3E");
}

.ag-about-landing .ag-about-application-card:nth-child(6) .ag-about-application-icon {
	--ag-about-application-svg: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2024%2024%27%20fill%3D%27none%27%20stroke%3D%27black%27%20stroke-width%3D%271.8%27%20stroke-linecap%3D%27round%27%20stroke-linejoin%3D%27round%27%3E%3Ccircle%20cx%3D%275%27%20cy%3D%276%27%20r%3D%272%27%2F%3E%3Ccircle%20cx%3D%2719%27%20cy%3D%275%27%20r%3D%272%27%2F%3E%3Ccircle%20cx%3D%2718%27%20cy%3D%2719%27%20r%3D%272%27%2F%3E%3Ccircle%20cx%3D%275%27%20cy%3D%2718%27%20r%3D%272%27%2F%3E%3Cpath%20d%3D%27M7%206h4v5h6V7M7%2018h5v-5h4v4%27%2F%3E%3C%2Fsvg%3E");
}

.ag-about-landing .ag-about-application-card:nth-child(7) .ag-about-application-icon {
	--ag-about-application-svg: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2024%2024%27%20fill%3D%27none%27%20stroke%3D%27black%27%20stroke-width%3D%271.8%27%20stroke-linecap%3D%27round%27%20stroke-linejoin%3D%27round%27%3E%3Cpath%20d%3D%27m10%203%204%204-2.5%202.5-4-4L10%203Z%27%2F%3E%3Cpath%20d%3D%27M12.5%208.5%209%2012a5%205%200%200%200%207%207l1-1%27%2F%3E%3Cpath%20d%3D%27M6%2021h13M5%2017h4M14%2012h5v6%27%2F%3E%3C%2Fsvg%3E");
}

.ag-about-landing .ag-about-application-card:nth-child(8) .ag-about-application-icon {
	--ag-about-application-svg: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2024%2024%27%20fill%3D%27none%27%20stroke%3D%27black%27%20stroke-width%3D%271.8%27%20stroke-linecap%3D%27round%27%20stroke-linejoin%3D%27round%27%3E%3Cpath%20d%3D%27M9%203h6M10%203v6l-5%209a2%202%200%200%200%201.8%203h10.4A2%202%200%200%200%2019%2018l-5-9V3%27%2F%3E%3Cpath%20d%3D%27M7.5%2015h9%27%2F%3E%3C%2Fsvg%3E");
}

.ag-about-landing .ag-about-application-card > a:hover .ag-about-application-icon {
	border-color: rgba(255, 185, 95, .8);
	background: rgba(255, 185, 95, .14);
}

/* Quality: balanced columns and evidence-style document list. */
.ag-about-landing .ag-about-editor-content > .ag-about-section:nth-child(6) .ag-about-split {
	display: grid !important;
	grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr) !important;
	gap: 38px !important;
	align-items: stretch !important;
}

.ag-about-landing .ag-about-editor-content > .ag-about-section:nth-child(6) .ag-about-split > .wp-block-column {
	display: flex;
	flex-direction: column;
	width: auto !important;
	min-width: 0 !important;
	max-width: none !important;
	margin: 0 !important;
}

.ag-about-landing .ag-about-quality-panel {
	height: 100%;
	display: flex;
	flex-direction: column;
	padding: 32px;
	box-sizing: border-box;
}

.ag-about-landing .ag-about-quality-panel ul {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
	margin: 22px 0 24px;
	padding: 0;
	list-style: none;
}

.ag-about-landing .ag-about-quality-panel li {
	position: relative;
	min-height: 70px;
	margin: 0;
	padding: 15px 15px 15px 42px;
	border: 1px solid rgba(185, 229, 243, .13);
	border-radius: 9px;
	background: rgba(7, 19, 41, .38);
	box-sizing: border-box;
	font-size: 13px;
	line-height: 1.48;
}

.ag-about-landing .ag-about-quality-panel li::before {
	content: "✓";
	position: absolute;
	top: 15px;
	left: 15px;
	width: 18px;
	height: 18px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border: 1px solid rgba(255, 185, 95, .55);
	border-radius: 50%;
	color: var(--ag-solutions-accent);
	font-size: 11px;
	font-weight: 900;
}

.ag-about-landing .ag-about-quality-panel .ag-about-card-link {
	margin-top: auto !important;
}

/* Why Choose: consistent three-column cards with aligned headings. */
.ag-about-landing .ag-about-why-grid {
	display: grid !important;
	grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
	gap: 18px !important;
	width: 100% !important;
	margin: 0 !important;
	align-items: stretch !important;
}

.ag-about-landing .ag-about-why-grid > .wp-block-column {
	display: flex !important;
	width: auto !important;
	min-width: 0 !important;
	max-width: none !important;
	margin: 0 !important;
}

.ag-about-landing .ag-about-why-grid .ag-about-card {
	min-height: 184px;
	display: flex;
	flex-direction: column;
	padding: 28px;
	box-sizing: border-box;
}

.ag-about-landing .ag-about-why-grid .ag-about-card h3 {
	min-height: 58px;
	margin-bottom: 14px;
	font-size: 21px;
	line-height: 1.3;
	text-wrap: balance;
}

.ag-about-landing .ag-about-why-grid .ag-about-card p {
	font-size: 14px;
	line-height: 1.58;
}

/* CTA: stronger image separation and two clearly prioritized actions. */
.ag-about-landing .ag-about-cta-image::after {
	background:
		linear-gradient(90deg, rgba(3, 20, 39, .985), rgba(3, 20, 39, .82)),
		linear-gradient(0deg, rgba(3, 20, 39, .9), rgba(3, 20, 39, .28));
}

.ag-about-landing .ag-about-cta-image .ag-container {
	position: relative;
	max-width: 900px;
	padding: 38px 42px;
	border: 1px solid rgba(185, 229, 243, .2);
	border-radius: 16px;
	background: rgba(3, 20, 39, .55);
	box-shadow: 0 24px 60px rgba(0, 7, 18, .34);
	backdrop-filter: blur(5px);
	-webkit-backdrop-filter: blur(5px);
}

.ag-about-landing .ag-about-cta-image h2 {
	text-shadow: 0 3px 18px rgba(0, 0, 0, .55);
}

.ag-about-landing .ag-about-cta-image p {
	max-width: 760px;
	margin-right: auto;
	margin-left: auto;
	color: #e1edf8;
}

.ag-about-landing .ag-about-cta-image .wp-block-button__link {
	min-height: 50px;
	padding: 14px 24px;
	box-shadow: 0 12px 28px rgba(0, 7, 18, .3);
}

.ag-about-landing .ag-about-cta-image .wp-block-button.ag-button-primary .wp-block-button__link {
	border: 1px solid #ffd59c;
}

.ag-about-landing .ag-about-cta-image .wp-block-button.is-style-outline .wp-block-button__link {
	border-color: rgba(238, 248, 255, .72);
	background: rgba(7, 19, 41, .62);
	box-shadow: 0 12px 28px rgba(0, 7, 18, .28), inset 0 0 0 1px rgba(255, 255, 255, .04);
}

@media (max-width: 1100px) {
	.ag-about-landing .ag-about-stats,
	.ag-about-landing .ag-about-editor-content > .ag-about-section:nth-child(3) .ag-about-gallery-grid-four,
	.ag-about-landing .ag-about-why-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
	}

	.ag-about-landing .ag-about-editor-content > .ag-about-section:nth-child(6) .ag-about-split {
		grid-template-columns: 1fr !important;
	}
}

@media (max-width: 700px) {
	.ag-about-landing .ag-about-stats,
	.ag-about-landing .ag-about-editor-content > .ag-about-section:nth-child(3) .ag-about-gallery-grid-four,
	.ag-about-landing .ag-about-why-grid,
	.ag-about-landing .ag-about-quality-panel ul {
		grid-template-columns: 1fr !important;
	}

	.ag-about-landing .ag-about-stat {
		min-height: 0;
		padding: 24px;
	}

	.ag-about-landing .ag-about-stat h3 {
		min-height: 0;
	}

	.ag-about-landing .ag-about-editor-content > .ag-about-section:nth-child(3) .ag-about-gallery-image img {
		min-height: 220px;
		aspect-ratio: 4 / 3;
	}

	.ag-about-landing .ag-about-quality-panel,
	.ag-about-landing .ag-about-why-grid .ag-about-card {
		min-height: 0;
		padding: 24px;
	}

	.ag-about-landing .ag-about-why-grid .ag-about-card h3 {
		min-height: 0;
	}

	.ag-about-landing .ag-about-cta-image .ag-container {
		padding: 28px 18px;
		border-radius: 12px;
	}
}

/* ==========================================================================
 * Phase 17D: Global footer unification and About final closure.
 * One four-column footer is used on the homepage and every internal page.
 * ========================================================================== */
.ag-site-footer .ag-footer-grid {
	display: grid;
	grid-template-columns: minmax(270px, 1.22fr) repeat(3, minmax(180px, 1fr));
	align-items: start;
	gap: clamp(30px, 3.2vw, 52px);
	padding-top: 54px;
	padding-bottom: 38px;
}

.ag-site-footer .ag-footer-column {
	min-width: 0;
}

.ag-site-footer .ag-footer-company {
	padding-right: clamp(0px, 1vw, 18px);
}

.ag-site-footer .ag-footer-logo {
	margin-bottom: 18px;
}

.ag-site-footer .ag-footer-company > p:not(.ag-footer-contact) {
	max-width: 410px;
	margin: 0 0 16px;
	font-size: .92rem;
	line-height: 1.72;
}

.ag-site-footer .ag-footer-contact {
	display: grid;
	gap: 5px;
	margin: 0 0 26px;
}

.ag-site-footer .ag-footer-contact a {
	color: #eef7ff;
	font-size: .88rem;
	line-height: 1.5;
	text-decoration: none;
	overflow-wrap: anywhere;
}

.ag-site-footer .ag-footer-column h2 {
	margin: 0 0 13px;
	color: #f8fbff;
	font-size: .78rem;
	font-weight: 800;
	line-height: 1.3;
	letter-spacing: .065em;
	text-transform: uppercase;
}

.ag-site-footer .ag-footer-column ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.ag-site-footer .ag-footer-column li + li {
	margin-top: 2px;
}

.ag-site-footer .ag-footer-column li a {
	display: block;
	padding: 4px 0;
	color: var(--ag-text-soft);
	font-size: .88rem;
	line-height: 1.48;
	text-decoration: none;
	text-underline-offset: 3px;
}

.ag-site-footer .ag-footer-column a:hover,
.ag-site-footer .ag-footer-column a:focus-visible {
	color: var(--ag-accent);
}

.ag-site-footer .ag-footer-column a:focus-visible {
	outline: 2px solid currentColor;
	outline-offset: 3px;
	border-radius: 3px;
}

.ag-site-footer .ag-footer-bottom {
	align-items: center;
	padding-top: 19px;
	padding-bottom: 19px;
	font-size: .82rem;
}

@media (max-width: 1050px) {
	.ag-site-footer .ag-footer-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 38px 42px;
	}

	.ag-site-footer .ag-footer-company {
		padding-right: 0;
	}
}

@media (max-width: 680px) {
	.ag-site-footer .ag-footer-grid {
		grid-template-columns: 1fr;
		gap: 32px;
		padding-top: 44px;
		padding-bottom: 30px;
	}

	.ag-site-footer .ag-footer-company > p:not(.ag-footer-contact) {
		max-width: 100%;
	}

	.ag-site-footer .ag-footer-contact {
		margin-bottom: 24px;
	}

	.ag-site-footer .ag-footer-column h2 {
		font-size: .76rem;
	}

	.ag-site-footer .ag-footer-column li a,
	.ag-site-footer .ag-footer-contact a {
		font-size: .9rem;
	}

	.ag-site-footer .ag-footer-bottom {
		align-items: flex-start;
		flex-direction: column;
		gap: 6px;
	}
}


/* ==========================================================================\n * Phase 18: consolidated and shortened About page.\n * Factory Tour, Manufacturing Capabilities and Quality & Certifications are\n * merged into /about/ and their old standalone layouts are no longer used.\n * ========================================================================== */
.ag-about-landing .ag-about-compact-grid {
	display: grid !important;
	grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
	gap: 18px !important;
	width: 100% !important;
	margin: 0 !important;
	align-items: stretch !important;
}

.ag-about-landing .ag-about-compact-card {
	min-width: 0;
	min-height: 170px;
	display: flex;
	flex-direction: column;
	padding: 26px;
	border: 1px solid rgba(185, 229, 243, .18);
	border-radius: var(--ag-radius);
	background: linear-gradient(145deg, rgba(27, 42, 65, .96), rgba(16, 32, 52, .96));
	box-sizing: border-box;
}

.ag-about-landing .ag-about-section-surface .ag-about-compact-card {
	background: rgba(16, 32, 52, .9);
}

.ag-about-landing .ag-about-compact-card h3 {
	margin: 0 0 12px;
	color: #f8fafc;
	font-size: 20px;
	line-height: 1.3;
	text-wrap: balance;
}

.ag-about-landing .ag-about-compact-card p {
	margin: 0;
	color: var(--ag-text-soft);
	font-size: 14px;
	line-height: 1.62;
}

.ag-about-landing .ag-about-compact-card .ag-about-card-link {
	margin-top: auto !important;
}

.ag-about-landing .ag-about-compact-media-grid {
	display: grid !important;
	grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
	gap: 22px !important;
	width: 100% !important;
	margin: 34px 0 0 !important;
}

.ag-about-landing .ag-about-compact-media-item,
.ag-about-landing .ag-about-compact-media-item .ag-about-gallery-image {
	min-width: 0;
	width: 100%;
}

.ag-about-landing .ag-about-compact-media-item .ag-about-gallery-image img {
	min-height: 260px;
	aspect-ratio: 16 / 9;
	object-fit: cover;
}

.ag-about-landing .ag-about-quality-compact {
	display: grid !important;
	grid-template-columns: minmax(0, 1.04fr) minmax(0, .96fr) !important;
	gap: 40px !important;
	align-items: stretch !important;
}

.ag-about-landing .ag-about-quality-copy,
.ag-about-landing .ag-about-quality-evidence {
	min-width: 0;
}

.ag-about-landing .ag-about-quality-copy h2 {
	margin: 8px 0 18px;
	font-size: clamp(32px, 4vw, 52px);
	line-height: 1.08;
	text-wrap: balance;
}

.ag-about-landing .ag-about-quality-copy > p,
.ag-about-landing .ag-about-quality-copy li,
.ag-about-landing .ag-about-quality-compact-panel p {
	color: var(--ag-text-soft);
	line-height: 1.68;
}

.ag-about-landing .ag-about-quality-copy ul {
	display: grid;
	gap: 10px;
	margin: 24px 0;
	padding-left: 1.2rem;
}

.ag-about-landing .ag-about-quality-note {
	padding: 16px 18px;
	border-left: 3px solid var(--ag-solutions-accent);
	background: rgba(7, 19, 41, .28);
	font-size: 13px;
}

.ag-about-landing .ag-about-quality-evidence {
	display: flex;
	flex-direction: column;
	gap: 18px;
}

.ag-about-landing .ag-about-quality-evidence .ag-about-gallery-image img {
	min-height: 250px;
	aspect-ratio: 16 / 10;
	object-fit: cover;
}

.ag-about-landing .ag-about-quality-compact-panel {
	flex: 1;
	padding: 24px;
	border: 1px solid rgba(185, 229, 243, .18);
	border-radius: var(--ag-radius);
	background: rgba(16, 32, 52, .9);
}

.ag-about-landing .ag-about-quality-compact-panel h3 {
	margin: 0 0 10px;
	font-size: 20px;
}

.ag-about-landing .ag-about-quality-compact-panel a {
	display: inline-block;
	margin-top: 12px;
	color: var(--ag-solutions-accent);
	font-family: "JetBrains Mono", Consolas, monospace;
	font-size: 12px;
	font-weight: 900;
	text-decoration: none;
}

.ag-about-landing .ag-about-quality-compact-panel a:hover {
	text-decoration: underline;
	text-underline-offset: 4px;
}

.ag-about-landing #overview,
.ag-about-landing #materials,
.ag-about-landing #manufacturing,
.ag-about-landing #quality,
.ag-about-landing #why-antglass,
.ag-about-landing #contact {
	scroll-margin-top: calc(var(--ag-header-h) + 72px);
}

.ag-about-landing #materials,
.ag-about-landing #manufacturing,
.ag-about-landing #quality,
.ag-about-landing #why-antglass {
	padding-top: 68px;
	padding-bottom: 68px;
}

.ag-about-landing #contact {
	padding-top: 72px;
	padding-bottom: 72px;
}

@media (max-width: 1100px) {
	.ag-about-landing .ag-about-compact-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
	}

	.ag-about-landing .ag-about-quality-compact {
		grid-template-columns: 1fr !important;
	}
}

@media (max-width: 700px) {
	.ag-about-landing .ag-about-compact-grid,
	.ag-about-landing .ag-about-compact-media-grid {
		grid-template-columns: 1fr !important;
	}

	.ag-about-landing .ag-about-compact-card {
		min-height: 0;
		padding: 22px;
	}

	.ag-about-landing .ag-about-compact-media-item .ag-about-gallery-image img,
	.ag-about-landing .ag-about-quality-evidence .ag-about-gallery-image img {
		min-height: 210px;
		aspect-ratio: 4 / 3;
	}

	.ag-about-landing #materials,
	.ag-about-landing #manufacturing,
	.ag-about-landing #quality,
	.ag-about-landing #why-antglass,
	.ag-about-landing #contact {
		padding-top: 48px;
		padding-bottom: 48px;
	}
}


/* --------------------------------------------------------------------------
 * Phase 19: concise About company profile.
 * Only company information, factory/equipment, certificates and materials.
 * ----------------------------------------------------------------------- */
.ag-about-profile .ag-about-hero {
	min-height: 540px;
	align-items: center;
}

.ag-about-profile .ag-about-hero::after {
	background:
		linear-gradient(90deg, rgba(3, 20, 39, .97) 0%, rgba(3, 20, 39, .82) 55%, rgba(3, 20, 39, .5) 100%),
		linear-gradient(0deg, rgba(3, 20, 39, .86) 0%, transparent 60%);
}

.ag-about-profile .ag-about-hero-inner {
	padding: 96px 0 76px;
}

.ag-about-profile .ag-about-hero-copy {
	max-width: 790px;
}

.ag-about-profile .ag-about-hero h1 {
	max-width: 850px;
	font-size: clamp(42px, 5.2vw, 70px);
}

.ag-about-profile .ag-about-hero-intro {
	max-width: 760px;
	font-size: clamp(17px, 1.8vw, 21px);
}

.ag-about-profile .ag-about-hero-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 28px;
}

.ag-about-profile .ag-about-profile-section {
	padding: 72px 0;
}

.ag-about-profile #company,
.ag-about-profile #factory,
.ag-about-profile #certificates,
.ag-about-profile #materials,
.ag-about-profile #contact {
	scroll-margin-top: calc(var(--ag-header-h) + 24px);
}

.ag-about-profile .ag-about-company-content {
	max-width: 960px;
}

.ag-about-profile .ag-about-company-content h2 {
	max-width: 800px;
	margin-bottom: 22px;
}

.ag-about-profile .ag-about-company-content > p:not(.ag-eyebrow) {
	max-width: 900px;
	font-size: 18px;
	line-height: 1.75;
}

.ag-about-profile .ag-about-company-facts {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px 24px;
	margin: 30px 0 0;
	padding: 0;
	list-style: none;
}

.ag-about-profile .ag-about-company-facts li {
	position: relative;
	padding: 14px 16px 14px 38px;
	border: 1px solid rgba(185, 229, 243, .14);
	border-radius: var(--ag-radius-sm);
	background: rgba(16, 32, 52, .72);
}

.ag-about-profile .ag-about-company-facts li::before {
	content: "";
	position: absolute;
	left: 16px;
	top: 20px;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--ag-solutions-accent);
}

.ag-about-profile .ag-about-factory-grid {
	display: grid !important;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 22px;
}

.ag-about-profile .ag-about-factory-item,
.ag-about-profile .ag-about-factory-item .ag-about-gallery-image {
	min-width: 0;
	height: 100%;
	margin: 0;
}

.ag-about-profile .ag-about-factory-item .ag-about-gallery-image {
	display: flex;
	flex-direction: column;
}

.ag-about-profile .ag-about-factory-item .ag-about-gallery-image img {
	width: 100%;
	aspect-ratio: 16 / 10;
	object-fit: cover;
}

.ag-about-profile .ag-about-factory-item .ag-about-gallery-image figcaption {
	flex: 1;
	font-size: 12px;
}

.ag-about-profile .ag-about-profile-certificate-grid {
	display: grid !important;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 28px;
	max-width: 860px;
	margin: 0 auto;
}

.ag-about-profile .ag-about-profile-certificate-card {
	padding: 20px;
	border: 1px solid rgba(185, 229, 243, .16);
	border-radius: var(--ag-radius);
	background: rgba(16, 32, 52, .9);
}

.ag-about-profile .ag-about-profile-certificate-card .ag-about-certificate-image {
	margin: 0;
	background: #fff;
}

.ag-about-profile .ag-about-profile-certificate-card .ag-about-certificate-image img {
	display: block;
	width: 100%;
	aspect-ratio: 3 / 4;
	padding: 12px;
	object-fit: contain;
	background: #fff;
}

.ag-about-profile .ag-about-brand-grid {
	display: grid !important;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 22px;
}

.ag-about-profile .ag-about-brand-card {
	min-width: 0;
	padding: 28px;
	border: 1px solid rgba(185, 229, 243, .15);
	border-radius: var(--ag-radius);
	background: linear-gradient(145deg, rgba(27, 42, 65, .96), rgba(16, 32, 52, .96));
}

.ag-about-profile .ag-about-brand-card h3 {
	margin: 0 0 18px;
	font-size: 23px;
}

.ag-about-profile .ag-about-brand-card ul {
	display: grid;
	gap: 10px;
	margin: 0;
	padding-left: 1.15rem;
}

.ag-about-profile .ag-about-profile-cta {
	padding: 70px 0;
	text-align: center;
	border-top: 1px solid rgba(185, 229, 243, .14);
	background: linear-gradient(145deg, rgba(12, 29, 51, .98), rgba(7, 19, 41, .98));
}

.ag-about-profile .ag-about-profile-cta .ag-container {
	max-width: 920px;
}

.ag-about-profile .ag-about-profile-cta h2 {
	margin-bottom: 16px;
}

.ag-about-profile .ag-about-profile-cta p {
	max-width: 760px;
	margin: 0 auto;
	font-size: 18px;
}

@media (max-width: 1000px) {
	.ag-about-profile .ag-about-factory-grid,
	.ag-about-profile .ag-about-brand-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 700px) {
	.ag-about-profile .ag-about-hero {
		min-height: 480px;
	}

	.ag-about-profile .ag-about-hero-inner {
		padding: 78px 0 58px;
	}

	.ag-about-profile .ag-about-profile-section,
	.ag-about-profile .ag-about-profile-cta {
		padding: 50px 0;
	}

	.ag-about-profile .ag-about-company-facts,
	.ag-about-profile .ag-about-factory-grid,
	.ag-about-profile .ag-about-profile-certificate-grid,
	.ag-about-profile .ag-about-brand-grid {
		grid-template-columns: 1fr !important;
	}

	.ag-about-profile .ag-about-hero-actions,
	.ag-about-profile .ag-about-hero-actions .ag-button,
	.ag-about-profile .ag-about-center-buttons,
	.ag-about-profile .ag-about-center-buttons .wp-block-button,
	.ag-about-profile .ag-about-center-buttons .wp-block-button__link {
		width: 100%;
	}
}

/* --------------------------------------------------------------------------
 * Phase 20: About precision fixes based on the rendered Gutenberg DOM.
 * ----------------------------------------------------------------------- */
@media (min-width: 1024px) {
	.ag-about-profile .ag-about-hero-copy {
		margin-left: 32px;
	}
}

@media (min-width: 768px) and (max-width: 1023px) {
	.ag-about-profile .ag-about-hero-copy {
		margin-left: 16px;
	}
}

@media (max-width: 767px) {
	.ag-about-profile .ag-about-hero-copy {
		margin-left: 0;
	}
}

/* WordPress renders Group block children inside an extra inner container. */
.ag-about-profile .ag-about-factory-grid,
.ag-about-profile .ag-about-profile-certificate-grid,
.ag-about-profile .ag-about-brand-grid {
	display: block !important;
}

.ag-about-profile .ag-about-factory-grid > .wp-block-group__inner-container {
	display: grid !important;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 22px;
}

.ag-about-profile .ag-about-profile-certificate-grid {
	max-width: 1180px;
	margin-right: auto;
	margin-left: auto;
}

.ag-about-profile .ag-about-profile-certificate-grid > .wp-block-group__inner-container {
	display: grid !important;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 28px;
}

.ag-about-profile .ag-about-brand-grid > .wp-block-group__inner-container {
	display: grid !important;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 22px;
}

@media (max-width: 1000px) {
	.ag-about-profile .ag-about-factory-grid > .wp-block-group__inner-container,
	.ag-about-profile .ag-about-profile-certificate-grid > .wp-block-group__inner-container,
	.ag-about-profile .ag-about-brand-grid > .wp-block-group__inner-container {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 700px) {
	.ag-about-profile .ag-about-factory-grid > .wp-block-group__inner-container,
	.ag-about-profile .ag-about-profile-certificate-grid > .wp-block-group__inner-container,
	.ag-about-profile .ag-about-brand-grid > .wp-block-group__inner-container {
		grid-template-columns: 1fr !important;
	}
}


/* ==========================================================================
 * Phase 21: editable footer, WhatsApp contact and privacy discovery.
 * ========================================================================== */
.ag-site-footer .ag-footer-brand-logo,
.ag-site-footer .ag-footer-custom-logo {
	display: inline-flex;
	align-items: center;
	max-width: min(260px, 100%);
	margin-bottom: 18px;
}

.ag-site-footer .ag-footer-brand-logo img,
.ag-site-footer .ag-footer-custom-logo img {
	display: block;
	width: auto;
	max-width: 100%;
	max-height: 68px;
	object-fit: contain;
}

.ag-site-footer .ag-footer-custom-logo .custom-logo-link {
	display: inline-flex;
}

.ag-site-footer .ag-footer-menu {
	margin: 0;
	padding: 0;
	list-style: none;
}

.ag-site-footer .ag-footer-bottom .ag-footer-legal {
	display: inline-flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: flex-end;
	gap: 8px;
}

.ag-site-footer .ag-footer-bottom a {
	color: var(--ag-text-soft);
	text-decoration: none;
	text-underline-offset: 3px;
}

.ag-site-footer .ag-footer-bottom a:hover,
.ag-site-footer .ag-footer-bottom a:focus-visible {
	color: var(--ag-accent);
	text-decoration: underline;
}

.ag-contact-hero-actions {
	margin-top: 28px;
}

.ag-whatsapp-button,
.ag-rfq-whatsapp-link {
	min-width: 190px;
}

.ag-rfq-whatsapp-link {
	display: inline-flex;
	justify-content: center;
	width: 100%;
	margin-top: 22px;
}

.ag-rfq-privacy-note {
	max-width: 68ch;
	margin: 16px 0 0;
	color: var(--ag-text-soft);
	font-size: .82rem;
	line-height: 1.6;
}

.ag-rfq-privacy-note a {
	color: var(--ag-accent);
	text-underline-offset: 3px;
}

.ag-legal-content h2 {
	margin-top: 2.1em;
}

.ag-legal-content a {
	color: var(--ag-accent);
	text-underline-offset: 3px;
}

@media (max-width: 680px) {
	.ag-site-footer .ag-footer-bottom .ag-footer-legal {
		justify-content: flex-start;
	}
}
