/* Defence industry page. */

body.defence-page {
	background: #ffffff;
}

body.defence-page .site {
	padding-top: var(--hero-inset);
}

body.defence-page .site-main--defence {
	padding-block: 0;
}

body.defence-page .site-header {
	background-color: transparent;
}

body.defence-page .site-header.is-scrolled {
	background-color: rgb(1 19 37 / 0.92);
	backdrop-filter: blur(12px);
}

body.defence-page.has-mobile-nav-open .site-header {
	background-color: var(--color-navy);
}

.defence-pipeline .section-kicker,
.defence-capabilities .section-kicker,
.defence-blog .section-kicker {
	color: #0a0d12;
	font-weight: var(--font-weight-medium);
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */

.defence-hero {
	position: relative;
	width: calc(100% - (var(--hero-inset) * 2));
	max-width: none;
	min-height: 42rem;
	margin-top: calc(var(--header-height) * -1);
	margin-inline: auto;
	overflow: hidden;
	border-radius: 1.5rem;
	color: var(--color-on-dark);
	background: var(--color-navy);
}

.defence-hero__media {
	position: absolute;
	inset: 0;
}

.defence-hero__image {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.defence-hero__media::after {
	content: "";
	position: absolute;
	inset: 0;
	background:
		linear-gradient(88deg, rgb(0 0 0 / 0.55) 23%, rgb(0 0 0 / 0.11) 75%),
		linear-gradient(180deg, rgb(0 0 0 / 0.28) 0%, transparent 22%, transparent 72%, rgb(0 0 0 / 0.45) 100%);
}

.defence-hero__inner {
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	min-height: inherit;
	padding-top: calc(var(--header-height) + var(--space-6));
	padding-bottom: var(--space-5);
}

.defence-hero__kicker {
	color: var(--color-accent);
}

.defence-hero__kicker .section-kicker__rule {
	background: var(--color-accent);
}

.defence-hero__title {
	max-width: 10.2em;
	margin: 0 0 var(--space-5);
	font-family: var(--font-display);
	font-size: clamp(2.25rem, 4.6vw, var(--font-size-h1));
	font-weight: var(--font-weight-semibold);
	line-height: 1.06;
}

.defence-hero__title span {
	display: block;
	color: var(--color-accent);
}

.defence-hero__lede {
	max-width: 39rem;
	margin: 0 0 var(--space-5);
	color: rgb(255 255 255 / 0.93);
	font-size: var(--font-size-md);
	line-height: 1.55;
}

.defence-hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: var(--space-3);
}

.defence-hero__layout {
	display: flex;
	flex-direction: column;
	gap: var(--space-6);
}

.defence-hero__pills {
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.defence-hero__pill {
	display: flex;
	align-items: center;
	gap: 8px;
	width: min(100%, 183px);
	margin: 0;
	padding: 10px;
	border-radius: 16px;
	background: rgb(255 255 255 / 0.05);
	backdrop-filter: blur(10px);
	font-size: 14px;
	line-height: 16px;
}

.defence-hero__pill img {
	width: 20px;
	height: 20px;
	flex-shrink: 0;
}

.defence-hero__stats {
	display: grid;
	grid-template-columns: 1fr;
	gap: var(--space-4);
	margin: var(--space-6) 0 0;
	padding: 20px 25px;
	border: 1px solid #3b3b3b;
	border-radius: 16px;
	background: rgb(30 30 30 / 0.5);
	backdrop-filter: blur(8.75px);
	list-style: none;
}

.defence-hero__stat {
	display: flex;
	align-items: center;
	gap: 18px;
	min-width: 0;
}

.defence-hero__stat img {
	width: 48px;
	height: 48px;
	flex-shrink: 0;
}

.defence-hero__stat p {
	margin: 0;
	color: rgb(255 255 255 / 0.95);
	font-size: 14px;
	font-weight: var(--font-weight-semibold);
	letter-spacing: 1.2px;
	line-height: 20px;
	text-transform: uppercase;
}

/* --------------------------------------------------------------------------
   Pipeline
   -------------------------------------------------------------------------- */

.defence-pipeline {
	padding-block: var(--space-10) var(--space-9);
	background: #f7f7f7;
}

.defence-pipeline__title,
.defence-capabilities__title,
.defence-products__title,
.defence-arch__title {
	margin: 0;
	font-family: var(--font-display);
	font-size: clamp(1.75rem, 4vw, var(--font-size-5xl));
	font-weight: var(--font-weight-medium);
	line-height: 1.3458;
	color: #1c1b1b;
}

.defence-pipeline__title {
	/* max-width: 36rem; */
	margin-bottom: var(--space-7);
}

.defence-pipeline__steps {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 12px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.defence-pipeline__step {
	display: flex;
	flex-direction: column;
	align-items: center;
	width: min(100%, 280px);
	padding: 30px 16px;
	border-radius: 16px;
	background: #ffffff;
	text-align: center;
}

.defence-pipeline__icon {
	width: 48px;
	height: 48px;
	object-fit: contain;
}

.defence-pipeline__step h3 {
	margin: 7px 0 0;
	font-family: var(--font-display);
	font-size: 16px;
	font-weight: var(--font-weight-semibold);
	letter-spacing: -0.48px;
	line-height: 26px;
	color: #1c1b1b;
}

.defence-pipeline__step p {
	max-width: 16rem;
	margin: 0;
	color: #646464;
	font-size: 14px;
	line-height: 20px;
}

.defence-pipeline__flow {
	display: flex;
	align-items: center;
	justify-content: center;
}

.defence-pipeline__flow img {
	width: 35px;
	height: 14px;
	transform: rotate(90deg);
}

/* --------------------------------------------------------------------------
   Capabilities
   -------------------------------------------------------------------------- */

.defence-capabilities {
	padding-block: var(--space-10);
	background: #ffffff;
}

.defence-capabilities__header {
	display: grid;
	gap: var(--space-5);
	margin-bottom: var(--space-7);
}

.defence-capabilities__title span {
	color: var(--color-primary);
}

.defence-capabilities__intro {
	max-width: 44.75rem; /* 716px */
	margin: 0;
	color: #646464;
	font-size: 1.25rem; /* 20px */
	font-weight: var(--font-weight-regular);
	line-height: 1.625rem; /* 26px */
}

.defence-capabilities__intro span {
	color: var(--color-primary);
	font-weight: var(--font-weight-medium);
}

.defence-capabilities__grid {
	display: grid;
	gap: 24px 24px;
}

.defence-cap {
	position: relative;
	min-height: 222px;
	border-radius: 16px;
}

.defence-cap__photo {
	display: block;
	width: 100%;
	height: 222px;
	object-fit: cover;
	border-radius: 16px;
}

.defence-cap__num {
	position: absolute;
	top: -9px;
	right: 15px;
	z-index: 2;
	display: grid;
	place-items: center;
	width: 37px;
	height: 37px;
	border-radius: 7px;
	background: #ffffff;
	box-shadow: 0 -1px 7px rgb(0 0 0 / 0.25);
	color: var(--color-primary);
	font-size: 16px;
	font-weight: var(--font-weight-bold);
	line-height: 1;
}

.defence-cap__body {
	position: absolute;
	z-index: 1;
	top: 24px;
	left: 20px;
	max-width: 230px;
}

.defence-cap__icon {
	display: grid;
	place-items: center;
	width: 48px;
	height: 48px;
	margin-bottom: 15px;
	border-radius: 50%;
	background: var(--color-primary);
}

.defence-cap__icon img {
	width: 30px;
	height: 30px;
	object-fit: contain;
}

.defence-cap__body h3 {
	margin: 0 0 8px;
	font-family: var(--font-display);
	font-size: 20px;
	font-weight: var(--font-weight-semibold);
	letter-spacing: -0.48px;
	line-height: 24px;
	color: #1c1b1b;
}

.defence-cap__body p {
	margin: 0;
	color: #646464;
	font-size: 14px;
	line-height: 1.7;
}

/* --------------------------------------------------------------------------
   Products
   -------------------------------------------------------------------------- */

.defence-products {
	padding-top: 5.625rem; /* 90px */
	padding-bottom: 0;
	background: var(--color-primary);
	color: #ffffff;
}

.defence-products .section-kicker {
	color: #ffffff;
	font-weight: var(--font-weight-medium);
}

.defence-products .section-kicker__rule {
	background: #ffffff;
}

.defence-products__title {
	max-width: 57.8125rem; /* 925px */
	margin-bottom: 3rem; /* 48px */
	color: #ffffff;
}

.defence-products__sheet {
	width: min(86.25rem, calc(100% - 3.75rem)); /* 1380px, 30px side inset */
	margin-inline: auto;
	padding: 2rem 1.25rem 2.5rem;
	border-radius: 1.25rem 1.25rem 0 0; /* 20px top corners */
	background: #ffffff;
	color: #1c1b1b;
}

.defence-products__list {
	display: flex;
	flex-direction: column;
}

.defence-product {
	position: relative;
	display: grid;
	gap: var(--space-6);
	align-items: center;
}

.defence-product + .defence-product {
	margin-top: 2.5rem;
	padding-top: 2.5rem;
}

.defence-product + .defence-product::before {
	content: "";
	position: absolute;
	top: 0;
	right: 0;
	left: 0;
	height: 1px;
	background-image: repeating-linear-gradient(
		to right,
		rgb(100 100 100 / 0.4) 0 6px,
		transparent 6px 12px
	);
}

.defence-product__copy h3 {
	margin: 0 0 15px;
	font-family: var(--font-grotesk);
	font-size: clamp(2rem, 4vw, 3rem);
	font-weight: var(--font-weight-medium);
	letter-spacing: -0.06em;
	line-height: 1;
	color: #1c1b1b;
}

.defence-product__tagline {
	margin: 0 0 15px;
	font-size: 18px;
	font-weight: var(--font-weight-semibold);
	line-height: 1.33;
	color: #1c1b1b;
}

.defence-product__copy > p {
	max-width: 26.0625rem; /* 417px */
	margin: 0 0 15px;
	color: #1c1b1b;
	font-size: 14.5px;
	line-height: 1.65;
}

.defence-product__inputs-label {
	font-weight: var(--font-weight-semibold);
	font-size: 18px;
}

.defence-product__inputs {
	display: flex;
	flex-wrap: wrap;
	gap: 16px 25px;
	margin: 0 0 var(--space-5);
	padding: 0;
	list-style: none;
}

.defence-product__inputs li {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 6px;
	min-width: 48px;
	color: #1c1b1b;
	font-size: 14.5px;
	line-height: 1.4;
	text-align: center;
}

.defence-product__inputs img {
	width: 48px;
	height: 48px;
	object-fit: contain;
}

.defence-product__cta.button {
	padding-right: 4px;
	border-color: var(--color-primary);
	background: #ffffff;
	color: #1c1b1b;
	font-weight: var(--font-weight-medium);
}

.defence-product__cta .button__icon {
	width: 39px;
	height: 39px;
	background: var(--color-primary);
}

.defence-product__cta .button__icon img {
	width: 16px;
	height: 16px;
}

.defence-product__media img {
	width: 100%;
	height: auto;
	border-radius: 16px;
	object-fit: cover;
	aspect-ratio: 756 / 425;
}

/* --------------------------------------------------------------------------
   Architecture
   -------------------------------------------------------------------------- */

.defence-arch {
	display: grid;
	background: #06131f;
	color: #ffffff;
	overflow: hidden;
}

.defence-arch .section-kicker--on-dark {
	color: #ffffff;
}

.defence-arch__copy {
	padding: var(--space-10) var(--space-5);
}

.defence-arch__title {
	max-width: 12em;
	margin-bottom: var(--space-7);
	color: #ffffff;
}

.defence-arch__title span {
	color: var(--color-primary);
}

.defence-arch__points {
	display: grid;
	gap: 20px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.defence-arch__points li {
	padding: 20px;
	border-radius: 16px;
	background: #0f1f2f;
}

.defence-arch__points img {
	width: 42px;
	height: 42px;
	object-fit: contain;
}

.defence-arch__points h3 {
	margin: 15px 0 7px;
	font-family: var(--font-display);
	font-size: 16px;
	font-weight: var(--font-weight-semibold);
	letter-spacing: -0.48px;
	line-height: 24px;
	color: #ffffff;
}

.defence-arch__points p {
	margin: 0;
	color: #a4a4a4;
	font-size: 14px;
	line-height: 20px;
}

.defence-arch__visual {
	position: relative;
	display: grid;
	place-items: center;
	min-height: 28rem;
	padding: var(--space-6);
}

.defence-arch__panel {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.defence-arch__diagram {
	position: relative;
	z-index: 1;
	width: min(100%, 559px);
	height: auto;
	mix-blend-mode: lighten;
}

/* --------------------------------------------------------------------------
   Shared lower sections
   -------------------------------------------------------------------------- */

.defence-blog {
	padding-top: var(--space-10);
	background: #ffffff;
}

.defence-cta .home-cta__title {
	max-width: 15em;
}

.defence-cta .home-cta__copy {
	color: #ffffff;
	font-size: var(--font-size-md);
	line-height: 1.5;
}

.defence-compliance .home-compliance__logos img {
	filter: grayscale(1) contrast(1.05);
}

/* --------------------------------------------------------------------------
   Breakpoints
   -------------------------------------------------------------------------- */

@media (min-width: 40rem) {
	.defence-hero__stats {
		grid-template-columns: 1fr 1fr;
	}

	.defence-capabilities__grid {
		grid-template-columns: 1fr 1fr;
	}

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

@media (min-width: 48rem) {
	.defence-hero__title {
		max-width: 655px;
	}
}

@media (min-width: 64rem) {
	.defence-hero__layout {
		flex-direction: row;
		align-items: flex-end;
		justify-content: space-between;
	}

	.defence-pipeline__steps {
		flex-direction: row;
		align-items: stretch;
		justify-content: space-between;
		gap: 8px;
	}

	.defence-pipeline__step {
		flex: 1 1 0;
		width: auto;
		min-width: 0;
	}

	.defence-pipeline__flow {
		flex: 0 0 auto;
	}

	.defence-pipeline__flow img {
		transform: none;
	}

	.defence-capabilities__header {
		grid-template-columns: minmax(16rem, 1fr) minmax(0, 44.75rem);
		align-items: start;
		column-gap: clamp(2rem, 5vw, 6.75rem);
	}

	.defence-capabilities__intro {
		justify-self: end;
		width: min(100%, 44.75rem);
	}

	.defence-products__sheet {
		padding: 4.375rem 4.375rem 5.625rem; /* 70px 70px 90px */
	}

	.defence-product {
		grid-template-columns: minmax(14rem, 22.0625rem) minmax(0, 1fr);
		column-gap: clamp(1.5rem, 9vw, 8.1875rem);
		align-items: center;
	}

	.defence-product--reverse {
		grid-template-columns: minmax(0, 1fr) minmax(14rem, 22.0625rem);
	}

	.defence-product + .defence-product {
		margin-top: 4.375rem; /* 70px */
		padding-top: 4.375rem;
	}

	.defence-product + .defence-product::before {
		right: -1.8125rem; /* line inset 41px, content inset 70px */
		left: -1.8125rem;
	}

	.defence-product--reverse .defence-product__media {
		order: -1;
	}

	.defence-arch {
		grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
		min-height: 707px;
	}

	.defence-arch__copy {
		padding-block: 90px;
		padding-left: max(var(--space-5), calc((100vw - var(--container-max)) / 2));
	}
}

@media (min-width: 80rem) {
	.defence-hero {
		min-height: 742px;
	}

	.defence-hero__stats {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}

	.defence-hero__stat + .defence-hero__stat {
		padding-left: 20px;
		border-left: 1px solid rgb(255 255 255 / 0.18);
	}

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

@media (max-width: 39.99rem) {
	.defence-hero {
		width: calc(100% - 1rem);
		border-radius: 1rem;
	}

	.defence-hero__actions .button {
		width: 100%;
	}

	.defence-cap__body {
		max-width: 70%;
	}
}
