/* --- Lock entire first screen to one viewport (below fixed nav) --- */
.page-about-us .pyrotech-about-hero.pyrotech-products-hero {
	height: 100vh;
	height: 100svh;
	min-height: 100vh;
	min-height: 100svh;
	max-height: 100vh;
	max-height: 100svh;
	overflow: hidden;
	box-sizing: border-box;
}

body.admin-bar .page-about-us .pyrotech-about-hero.pyrotech-products-hero {
	height: calc(100vh - 32px);
	height: calc(100svh - 32px);
	min-height: calc(100vh - 32px);
	min-height: calc(100svh - 32px);
	max-height: calc(100vh - 32px);
	max-height: calc(100svh - 32px);
}

@media screen and (max-width: 782px) {
	body.admin-bar .page-about-us .pyrotech-about-hero.pyrotech-products-hero {
		height: calc(100vh - 46px);
		height: calc(100svh - 46px);
		min-height: calc(100vh - 46px);
		min-height: calc(100svh - 46px);
		max-height: calc(100vh - 46px);
		max-height: calc(100svh - 46px);
	}
}

.page-about-us .pyrotech-products-hero .pyrotech-products-hero__media {
	top: -12%;
	height: 124%;
	bottom: auto;
	left: 0;
	right: 0;
	width: 100%;
	will-change: transform;
}

.pyrotech-about-hero__overlay {
	position: absolute;
	inset: 0;
	z-index: 1;
	pointer-events: none;
	background: linear-gradient(
		90deg,
		rgba(0, 0, 0, 0.82) 0%,
		rgba(0, 0, 0, 0.45) 52%,
		rgba(0, 0, 0, 0.25) 100%
	);
}

.pyrotech-about-hero .pyrotech-products-hero__gradient-top {
	z-index: 2;
}

/* Top bar + main column share the viewport; shell fills space under utility strip */
.pyrotech-about-hero__shell {
	position: relative;
	z-index: 4;
	flex: 1 1 0;
	min-height: 0;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	width: 100%;
	box-sizing: border-box;
}

/*
 * Reset products-hero __content (204px padding / 90px gap) so copy + stats fit one screen.
 * Higher specificity than products-hero.css breakpoints.
 */
.page-about-us .pyrotech-about-hero .pyrotech-products-hero__content.pyrotech-about-hero__content {
	flex: 1 1 0;
	min-height: 0;
	justify-content: center;
	align-items: flex-start;
	align-self: stretch;
	width: 100%;
	max-width: none;
	margin-left: 0;
	margin-right: 0;
	text-align: left;
	gap: 24px;
	padding: clamp(12px, 2vh, 28px) clamp(20px, 4vw, 72px) clamp(8px, 1.2vh, 16px);
	box-sizing: border-box;
}

.page-about-us .pyrotech-about-hero .pyrotech-products-hero__content .heading-common {
	max-width: min(52rem, 92vw);
	font-size: clamp(22px, 3.8vw, 44px);
	line-height: 1.12;
	margin: 0;
}

.page-about-us .pyrotech-about-hero .pyrotech-products-hero__content .heading-common-line--heavy {
	display: block;
	margin-top: 0.08em;
}

@media (min-width: 981px) {
	.page-about-us .pyrotech-about-hero .pyrotech-products-hero__content .heading-common-line--heavy {
		display: inline;
		margin-top: 0;
	}
}

.pyrotech-about-hero__eyebrow {
	margin: 0;
	font-weight: 400;
	font-size: clamp(11px, 1.1vw, 13px);
	line-height: 1.2;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.92);
}

.pyrotech-about-hero .heading-common {
	text-align: left;
}

.page-about-us .pyrotech-about-hero .pyrotech-about-hero__lead.section-hero-lead {
	max-width: min(36rem, 90vw);
	margin: 0;
	text-align: left;
	font-size: clamp(12px, 1.35vw, 15px);
	line-height: 1.45;
	color: rgba(255, 255, 255, 0.94);
}

/* Stats row — ref: single hairline on top, no vertical column rules, photo shows through */
.pyrotech-about-hero__stats {
	position: relative;
	flex-shrink: 0;
	width: 100%;
	padding: clamp(16px, 2.2vh, 28px) clamp(20px, 4vw, 72px) clamp(18px, 2.4vh, 32px);
	border-top: 1px solid rgba(255, 255, 255, 0.2);
	border-bottom: none;
	box-sizing: border-box;
	background: transparent;
}

.pyrotech-about-hero__stats-inner {
	width: 100%;
	max-width: var(--container-max-width);
	margin: 0 auto;
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	column-gap: clamp(20px, 4vw, 56px);
	row-gap: clamp(16px, 2vh, 22px);
	align-items: start;
	justify-items: start;
}

@media (min-width: 768px) {
	.pyrotech-about-hero__stats-inner {
		grid-template-columns: repeat(4, minmax(0, 1fr));
		column-gap: clamp(24px, 5vw, 80px);
		justify-items: start;
	}
}

.pyrotech-about-hero__stat {
	text-align: left;
	width: 100%;
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.pyrotech-about-hero__stat-value {
	margin: 0 0 clamp(6px, 0.7vh, 10px);
	font-weight: 400;
	font-size: clamp(22px, 3vw, 40px);
	line-height: 1.05;
	color: #ffffff;
	font-variant-numeric: tabular-nums;
}

.pyrotech-about-hero__stat-label {
	margin: 0;
	font-weight: 500;
	font-size: clamp(10px, 1.05vw, 14px);
	line-height: 1.35;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: #ffffff;
}

.pyrotech-about-content {
	background: #ffffff;
	padding: 72px 24px 96px;
	color: #111827;
}

.pyrotech-about-content__inner {
	max-width: 800px;
	margin: 0 auto;
}

.pyrotech-about-content__inner > *:first-child {
	margin-top: 0;
}

/* Tablet / mobile: keep one screen; centre copy like landing heroes */
@media (max-width: 1024px) {
	.page-about-us .pyrotech-about-hero .pyrotech-products-hero__content.pyrotech-about-hero__content {
		align-items: center;
		text-align: center;
		padding-left: clamp(16px, 4vw, 32px);
		padding-right: clamp(16px, 4vw, 32px);
	}

	.page-about-us .pyrotech-about-hero .pyrotech-products-hero__content .heading-common {
		text-align: center;
	}

	.pyrotech-about-hero .heading-common {
		text-align: center;
	}

	.page-about-us .pyrotech-about-hero .pyrotech-about-hero__lead.section-hero-lead {
		text-align: center;
		margin-left: auto;
		margin-right: auto;
	}
}

@media (max-width: 480px) {
	.page-about-us .pyrotech-about-hero .pyrotech-products-hero__content.pyrotech-about-hero__content {
		gap: 6px;
		padding-top: 8px;
		padding-bottom: 6px;
	}

	.pyrotech-about-hero__stats-inner {
		gap: 10px 12px;
	}
}

/* ==========================================================================
   Industrial Ecosystems Section
   ========================================================================== */

.pyrotech-ecosystems {
	background: #F2F5FB;
	padding: clamp(56px, 8vw, 112px) clamp(20px, 5vw, 72px) clamp(40px, 5vw, 60px);
}

.pyrotech-ecosystems__inner {
	max-width: 1320px;
	margin: 0 auto;
	display: flex;
	flex-direction: column;
	gap: clamp(32px, 4vw, 48px);
}

/* Header row: title + intro text */
.pyrotech-ecosystems__header {
	display: flex;
	flex-direction: column;
	gap: clamp(20px, 3vw, 32px);
}

@media (min-width: 900px) {
	.pyrotech-ecosystems__header {
		flex-direction: row;
		justify-content: space-between;
		align-items: flex-start;
		gap: 60px;
	}
}

.pyrotech-ecosystems__title {
	margin: 0;
	display: flex;
	flex-direction: column;
	gap: 0;
	flex-shrink: 0;
}

.pyrotech-ecosystems__title-light {
	font-weight: 300;
	font-size: clamp(24px, 3vw, 36px);
	line-height: 1.15;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: #111827;
}

.pyrotech-ecosystems__title-heavy {
	font-weight: 700;
	font-size: clamp(24px, 3vw, 36px);
	line-height: 1.15;
	letter-spacing: 0.02em;
	text-transform: uppercase;
	color: #111827;
}

.pyrotech-ecosystems__intro {
	margin: 0;
	font-weight: 400;
	font-size: clamp(14px, 1.1vw, 16px);
	line-height: 1.6;
	color: #374151;
	max-width: 540px;
}

/* Content row: 1:2 ratio with 60px gap */
.pyrotech-ecosystems__content {
	display: flex;
	flex-direction: column;
	gap: 24px;
	height: 658px;
}

@media (min-width: 900px) {
	.pyrotech-ecosystems__content {
		flex-direction: row;
		gap: 60px;
	}
}

.pyrotech-ecosystems__figure {
	margin: 0;
	border-radius: 12px;
	overflow: hidden;
}

.pyrotech-ecosystems__photo {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* Tall image: 1 part */
.pyrotech-ecosystems__figure--tall {
	flex: 1;
}

/* Right column: wide image + body text (2 parts) */
.pyrotech-ecosystems__right {
	flex: 2;
	display: flex;
	flex-direction: column;
	gap: clamp(20px, 3vw, 32px);
}

.pyrotech-ecosystems__figure--wide {
	width: 100%;
}

/* Body text */
.pyrotech-ecosystems__body {
	margin: 0;
	font-weight: 400;
	font-size: clamp(13px, 1vw, 15px);
	line-height: 1.7;
	color: #4b5563;
}

/* Mobile adjustments */
@media (max-width: 899px) {
	.pyrotech-ecosystems__figure--tall .pyrotech-ecosystems__photo,
	.pyrotech-ecosystems__figure--wide .pyrotech-ecosystems__photo {
		aspect-ratio: 16 / 10;
		height: auto;
	}
}

/* ==========================================================================
   Mission & Values Section
   ========================================================================== */

.pyrotech-mission {
	background: #F2F5FB;
	padding: clamp(40px, 5vw, 60px) clamp(20px, 5vw, 72px) clamp(56px, 8vw, 112px);
}

.pyrotech-mission__inner {
	max-width: 1320px;
	margin: 0 auto;
	display: flex;
	flex-direction: column;
	gap: clamp(48px, 6vw, 80px);
}

/* Mission header */
.pyrotech-mission__header {
	text-align: center;
	max-width: 800px;
	margin: 0 auto;
	display: flex;
	flex-direction: column;
	gap: clamp(12px, 2vw, 20px);
}

.pyrotech-mission__eyebrow {
	margin: 0;
	font-weight: 400;
	font-size: clamp(12px, 1vw, 18px);
	line-height: 1.2;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: #00000066;
}

.pyrotech-mission__title {
	margin: 0;
    font-weight: 400;
    font-size: clamp(18px, 2.2vw, 24px);
    line-height: 1.6;
    color: #111827;
}

/* Values rows */
.pyrotech-mission__rows {
	display: flex;
	flex-direction: column;
	gap: clamp(16px, 2vw, 24px);
}

.pyrotech-mission__row {
	display: flex;
	flex-direction: column;
	gap: clamp(16px, 2vw, 24px);
}

@media (min-width: 768px) {
	.pyrotech-mission__row {
		flex-direction: row;
		height: 432px
	}

	.pyrotech-mission__row > * {
		width: 50%;
		min-width: 0;
		min-height: clamp(280px, 40vw, 342px);
	}
}

/* Cards */
.pyrotech-mission__card {
	padding: clamp(24px, 3vw, 40px);
	border-radius: 24px;
	display: flex;
	flex-direction: column;
	gap: clamp(20px, 3vw, 32px);
	justify-content: space-between;
}

.pyrotech-mission__card--blue {
	background: #DFE8F8;
}

.pyrotech-mission__card--peach {
	background: #F3EBE6;
}

.pyrotech-mission__card-title {
	margin: 0;
	gap: 0;
}

.pyrotech-mission__card-title-light {
	font-weight: 300;
	font-size: clamp(20px, 2.4vw, 30px);
	line-height: 1.15;
	text-transform: uppercase;
	color: #111827;
}

.pyrotech-mission__card-title-heavy {
	font-weight: 700;
	font-size: clamp(20px, 2.4vw, 30px);
	line-height: 1.15;
	text-transform: uppercase;
	color: #111827;
}

.pyrotech-mission__card-text {
	margin: 0;
	font-weight: 400;
	font-size: clamp(13px, 1vw, 15px);
	line-height: 1.7;
	color: #4b5563;
}

/* Images */
.pyrotech-mission__figure {
	margin: 0;
	border-radius: 16px;
	overflow: hidden;
}

.pyrotech-mission__photo {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* Mobile adjustments */
@media (max-width: 767px) {

	.pyrotech-mission__photo {
		aspect-ratio: 16 / 10;
		height: auto;
	}
}
