.cap-page h1,
.cap-page h2,
.cap-page h3,
.cap-page p,
.cap-page li {
	overflow-wrap: normal;
}

.cap-page h2,
.cap-page h3 { font-weight: 800; }

.cap-band { padding: 52px 0; }
.cap-band-soft { background: #f5f8fb; padding-top: 36px; }
.cap-band-tight { padding-top: 8px; }

.cap-title { margin-bottom: 18px; }
.cap-title::after {
	content: "";
	display: block;
	width: 46px;
	height: 3px;
	margin-top: 12px;
	background: #6d8b2a;
	border-radius: 2px;
}
.cap-title-light { color: #fff; }
.cap-title-light::after { background: #c6e27a; }

.cap-ico {
	display: inline-flex;
	width: 42px;
	height: 42px;
	flex: none;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	background: #e7eef6;
	color: #0c3a66;
}
.cap-ico svg {
	width: 20px;
	height: 20px;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.7;
	stroke-linecap: round;
	stroke-linejoin: round;
}
.cap-ico-sm {
	width: 28px;
	height: 28px;
	background: transparent;
}
.cap-ico-sm svg { width: 18px; height: 18px; }

.cap-hero {
	position: relative;
	min-height: 520px;
	padding: 56px 0 40px;
	background: #03122e;
	color: #fff;
}
.cap-hero h1,
.cap-hero__kicker,
.cap-hero__lede {
	width: min(640px, 100%);
	max-width: 640px;
}
.cap-hero h1 {
	margin: 0 0 8px;
	color: #fff;
	font-size: clamp(2.15rem, 3.4vw, 3rem);
	line-height: 1.08;
}
.cap-hero h1 em {
	color: #c6e27a;
	font-style: normal;
}
.cap-hero__kicker {
	margin: 0 0 14px;
	color: #fff;
	font-size: clamp(1.15rem, 1.7vw, 1.45rem);
	font-weight: 800;
	line-height: 1.25;
}
.cap-hero__lede {
	margin: 0 0 22px;
	color: rgba(255, 255, 255, 0.92);
	font-size: 1.05rem;
	line-height: 1.6;
	text-wrap: pretty;
}
.cap-keep { white-space: nowrap; }
.cap-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.cap-hero::after {
	content: "";
	position: absolute;
	right: 0;
	bottom: 0;
	border-right: 92px solid #6d8b2a;
	border-top: 92px solid transparent;
}
.cap-btn {
	background: #6d8b2a;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	font-size: 0.82rem;
}
.cap-btn:hover,
.cap-btn:focus-visible { background: #5c7823; color: #fff; }
.cap-btn-ghost {
	background: transparent;
	border-color: rgba(255, 255, 255, 0.85);
	color: #fff;
}
.cap-btn-ghost:hover,
.cap-btn-ghost:focus-visible {
	background: rgba(255, 255, 255, 0.12);
	color: #fff;
}

.cap-align {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
}
.cap-align article {
	display: flex;
	gap: 12px;
	align-items: flex-start;
	padding: 8px 18px;
	border-left: 1px solid #e1e8ef;
}
.cap-align article:first-child { border-left: 0; padding-left: 0; }
.cap-align article > div { min-width: 0; flex: 1; }
.cap-align h3 {
	margin: 0 0 6px;
	min-height: 2.6em;
	font-size: 0.98rem;
	line-height: 1.3;
}
.cap-align p {
	margin: 0;
	min-height: 5.6em;
	color: #3e556b;
	font-size: 0.9rem;
	line-height: 1.4;
}

.cap-head {
	display: grid;
	grid-template-columns: minmax(220px, 0.7fr) minmax(0, 1.3fr);
	gap: 12px 40px;
	align-items: start;
	margin-bottom: 28px;
}
.cap-head .cap-title { margin-bottom: 0; }
.cap-head p {
	margin: 6px 0 0;
	color: #3e556b;
	font-size: 1.02rem;
	font-weight: 600;
	letter-spacing: 0;
	line-height: 1.55;
	text-transform: none;
	text-wrap: pretty;
}
.cap-head-stack {
	display: block;
	width: fit-content;
	max-width: 100%;
	margin-bottom: 28px;
}
.cap-head-stack .cap-title { margin-bottom: 0; }
.cap-lead {
	width: max-content;
	max-width: 100%;
	margin: 16px 0 0;
	color: #3e556b;
	font-size: 1.2rem;
	font-weight: 500;
	line-height: 1.45;
	letter-spacing: -0.011em;
	text-wrap: pretty;
}
.cap-lead b {
	color: #04284d;
	font-weight: 800;
}
.cap-hero__lede.cap-lead {
	width: max-content;
	max-width: 100%;
	margin: 0 0 22px;
	color: rgba(255, 255, 255, 0.94);
}
.cap-hero .cap-lead b { color: #fff; }
.cap-close__row > div > p.cap-lead {
	width: max-content;
	max-width: 100%;
	margin: 0;
	color: rgba(255, 255, 255, 0.94);
	font-size: 1.2rem;
	font-weight: 500;
	line-height: 1.45;
	letter-spacing: -0.011em;
}

.cap-pillars {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 18px;
	align-items: stretch;
}
.cap-pillar {
	display: flex;
	flex-direction: column;
	min-width: 0;
	overflow: hidden;
	border-radius: 16px;
	background: #fff;
	box-shadow: 0 10px 24px rgba(0, 47, 93, 0.06);
	color: inherit;
	text-decoration: none;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.cap-pillar:hover,
.cap-pillar:focus-visible {
	transform: translateY(-3px);
	box-shadow: 0 16px 32px rgba(0, 47, 93, 0.12);
	color: inherit;
}
.cap-pillar:focus-visible {
	outline: 2px solid var(--blue);
	outline-offset: 3px;
}
.cap-pillar__media {
	display: block;
	height: 148px;
	background-position: center;
	background-size: cover;
}
.cap-pillar__body {
	display: flex;
	flex: 1;
	flex-direction: column;
	gap: 10px;
	min-width: 0;
	padding: 16px 16px 14px;
}
.cap-pillar__copy { flex: 1; min-width: 0; }
.cap-pillar__title {
	display: flex;
	align-items: flex-start;
	gap: 8px;
	min-height: 2.6em;
	margin: 0 0 8px;
}
.cap-pillar__title .cap-ico { margin-top: 1px; }
.cap-pillar h3 {
	flex: 1;
	min-width: 0;
	margin: 0;
	color: var(--navy);
	font-size: 1.05rem;
	line-height: 1.3;
}
.cap-pillar p {
	margin: 0;
	color: #3e556b;
	font-size: 0.95rem;
	line-height: 1.5;
	text-wrap: pretty;
}
.cap-pillar__go {
	align-self: flex-end;
	margin-top: auto;
	color: #0c3a66;
	font-size: 1.1rem;
	font-weight: 700;
	line-height: 1;
}
.cap-all {
	display: flex;
	justify-content: center;
	margin: 28px 0 0;
}
.cap-all .cap-btn { text-transform: uppercase; }

.bgrid {
	display: grid;
	grid-template-columns: repeat(12, minmax(0, 1fr));
	gap: 16px;
}
.bcard {
	grid-column: span 3;
	display: flex;
	flex-direction: column;
	overflow: hidden;
	border-radius: 16px;
	background: #fff;
	box-shadow: 0 10px 24px rgba(0, 47, 93, 0.06);
	scroll-margin-top: 120px;
}
.bcard:nth-child(n + 9) { grid-column: span 4; }
.bcard__media {
	position: relative;
	height: 118px;
}
.bcard__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.bcard__media span {
	position: absolute;
	top: 10px;
	left: 12px;
	color: #fff;
	font-size: 1.15rem;
	font-weight: 800;
	text-shadow: 0 1px 8px rgba(0, 0, 0, 0.45);
}
.bcard__body {
	position: relative;
	display: flex;
	flex: 1;
	flex-direction: column;
	padding: 14px 14px 28px;
}
.bcard h3 {
	display: flex;
	gap: 8px;
	align-items: flex-start;
	min-height: 3.75em;
	margin: 0 0 10px;
	font-size: 0.95rem;
	line-height: 1.25;
}
.bcard ul {
	margin: 0;
	padding: 0 18px 0 16px;
	color: #3e556b;
	font-size: 0.84rem;
	line-height: 1.45;
}
.bcard li { min-height: 2.9em; margin: 0 0 3px; }
.bcard__go {
	position: absolute;
	right: 14px;
	bottom: 10px;
	color: #6d8b2a;
	font-weight: 800;
}

.cap-value {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 14px;
}
.cap-value article {
	padding: 18px 16px;
	border: 1px solid #e3ebf2;
	border-radius: 14px;
	background: #fff;
}
.cap-value h3 {
	margin: 12px 0 6px;
	min-height: 2.6em;
	font-size: 0.98rem;
	line-height: 1.3;
}
.cap-value p {
	margin: 0;
	min-height: 5.6em;
	color: #3e556b;
	font-size: 0.9rem;
	line-height: 1.4;
}

.cap-steps {
	display: grid;
	grid-template-columns: repeat(6, minmax(0, 1fr));
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}
.cap-steps li {
	display: flex;
	min-height: 168px;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 16px 18px 16px 24px;
	background: #f3f7fb;
	clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 50%, calc(100% - 16px) 100%, 0 100%, 16px 50%);
	text-align: center;
}
.cap-steps li:first-child {
	padding-left: 12px;
	clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 50%, calc(100% - 16px) 100%, 0 100%);
}
.cap-steps strong {
	display: block;
	min-height: 1.25em;
	color: #0c3a66;
	font-size: 0.92rem;
	line-height: 1.25;
}
.cap-steps li > span:last-child {
	display: block;
	min-height: 3.9em;
	color: #3e556b;
	font-size: 0.8rem;
	line-height: 1.3;
}

.cap-built {
	padding: 58px 0;
	background:
		linear-gradient(90deg, rgba(4, 28, 56, 0.94) 0%, rgba(4, 28, 56, 0.78) 48%, rgba(4, 28, 56, 0.42) 100%),
		url("../images/home/hero-capitol.jpg") right center / cover no-repeat;
	color: #fff;
}
.cap-built .cap-title { margin-bottom: 28px; }
.cap-built__list {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 0;
	margin: 0;
	padding: 0;
	list-style: none;
}
.cap-built__list li {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 10px;
	min-width: 0;
	padding: 0 24px;
	border-left: 1px solid rgba(255, 255, 255, 0.18);
}
.cap-built__list li:first-child {
	padding-left: 0;
	border-left: 0;
}
.cap-built__title {
	display: flex;
	align-items: center;
	gap: 10px;
}
.cap-built__list .cap-ico-line {
	width: 28px;
	height: 28px;
	border: 0;
	background: transparent;
	color: #fff;
}
.cap-built__list .cap-ico-line svg { width: 26px; height: 26px; }
.cap-built__list strong {
	color: #fff;
	font-size: 1.08rem;
	line-height: 1.25;
}
.cap-built__list span {
	color: rgba(255, 255, 255, 0.9);
	font-size: 0.98rem;
	line-height: 1.5;
	text-wrap: pretty;
}

.cap-close {
	padding: 58px 0;
	background:
		linear-gradient(90deg, rgba(3, 22, 46, 0.72), rgba(3, 22, 46, 0.35)),
		url("../images/home/close-landscape.jpg") center / cover no-repeat;
	color: #fff;
}
.cap-close__row {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 28px;
	align-items: center;
}
.cap-close h2,
.cap-close p { max-width: 640px; }
.cap-close h2 {
	margin: 0 0 10px;
	color: #fff;
	font-size: clamp(1.6rem, 2.6vw, 2.2rem);
	line-height: 1.15;
}
.cap-close p {
	margin: 0;
	color: rgba(255, 255, 255, 0.92);
	font-size: 1.05rem;
	line-height: 1.55;
	text-wrap: pretty;
}
.cap-close .cap-btn { justify-self: end; }

@media (max-width: 860px) {
	.cap-lead,
	.cap-hero__lede.cap-lead,
	.cap-close__row > div > p.cap-lead { width: auto; }
	.cap-lead__break { display: none; }
}

@media (max-width: 1100px) {
	.cap-head,
	.cap-pillars,
	.cap-built__list,
	.cap-close__row { grid-template-columns: 1fr; }
	.cap-pillars { grid-template-columns: 1fr 1fr; }
	.cap-built__list li {
		padding: 16px 0;
		border-left: 0;
		border-top: 1px solid rgba(255, 255, 255, 0.18);
	}
	.cap-built__list li:first-child { border-top: 0; padding-top: 0; }
	.cap-close .cap-btn { justify-self: start; }
	.bcard,
	.bcard:nth-child(n + 9) { grid-column: span 6; }
}

@media (max-width: 640px) {
	.cap-hero { min-height: 0; }
	.cap-lead { font-size: 1.05rem; line-height: 1.55; }
	.cap-hero h1,
	.cap-hero__kicker { max-width: none; width: 100%; }
	.cap-hero__lede.cap-lead { width: auto; max-width: 100%; }
	.cap-hero::after { border-right-width: 56px; border-top-width: 56px; }
	.cap-head,
	.cap-pillars,
	.cap-built__list { grid-template-columns: 1fr; }
	.cap-pillar__title,
	.cap-pillar h3,
	.bcard h3,
	.bcard li { min-height: 0; }
	.bcard,
	.bcard:nth-child(n + 9) { grid-column: span 12; }
	.cap-band { padding: 36px 0; }
}

@media (max-width: 720px) {
	.cap-hero { min-height: 0; padding: 48px 0; }
}
