/* Industry pages (single-industry.php).
   Shared hero/drawer shell lives in assets/css/layout.css (.page-hero,
   .page-hero-inner, .page-hero-title, .hero-line-wrap, .page-drawer,
   .section-eyebrow) — this file only holds industry-specific rules.

   Unlike About/Contact, the industry hero has NO background photo: every
   industry page in the source (project/industry-*.dc.html) uses the exact
   same dark green gradient + two radial "glow" washes, with a distinct
   inline-SVG line-icon per industry (`hero_icon_svg` ACF field) standing in
   for a photo. The gradient is identical across all 6 source files, so it
   lives here as a static rule rather than a per-post field.

   Source hero height is 80vh (not the layout.css default 100vh used by
   About/Contact), so both the hero and drawer offset are overridden below. */

.industry-hero {
	height: 80vh;
	min-height: 520px;
	background: linear-gradient(152deg, #0A491F 0%, #16331A 36%, #0C2110 68%, #070A06 100%);
}
.industry-hero-glow {
	position: absolute;
	inset: 0;
	z-index: 1;
	pointer-events: none;
}
.industry-hero-glow-1 {
	background: radial-gradient(72% 60% at 78% 14%, rgba(16, 99, 44, .5) 0%, rgba(16, 99, 44, 0) 60%);
}
.industry-hero-glow-2 {
	background: radial-gradient(80% 70% at 18% 92%, rgba(11, 9, 5, .5) 0%, rgba(11, 9, 5, 0) 60%);
}
.industry-drawer {
	margin-top: 80vh;
}

.industry-hero-crumb {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: clamp(20px, 3vh, 34px);
	font-family: var(--font-ui);
	font-size: 11px;
	letter-spacing: .22em;
	text-transform: uppercase;
	color: rgba(247, 244, 239, .78);
}
.industry-hero-crumb a {
	text-decoration: none;
	color: inherit;
	transition: color .35s ease;
}
@media (hover: hover) and (pointer: fine) {
	.industry-hero-crumb a:hover { color: var(--color-cream); }
}
.industry-hero-crumb span[aria-hidden] { opacity: .6; }
.industry-hero-crumb-current { color: var(--color-sage); }

.industry-hero-icon {
	margin: clamp(10px, 1.8vh, 22px) 0 clamp(8px, 1.4vh, 16px);
	color: var(--color-sage);
	display: flex;
}
.industry-hero-icon svg {
	display: block;
	width: 64px;
	height: 64px;
}

.industry-hero-title {
	font-size: clamp(2.6rem, 6.4vw, 7rem);
}

/* OVERVIEW */
.industry-overview {
	background: var(--color-cream);
	color: var(--color-text);
	padding: clamp(60px, 11vh, 170px) 0 clamp(48px, 8vh, 110px);
}
.industry-overview-back {
	display: inline-flex;
	align-items: center;
	gap: 11px;
	text-decoration: none;
	color: rgba(55, 45, 29, .6);
	font-family: var(--font-ui);
	font-weight: 500;
	font-size: 11px;
	letter-spacing: .2em;
	text-transform: uppercase;
	padding-bottom: 7px;
	margin-bottom: clamp(36px, 6vh, 72px);
	transition: color .35s ease;
}
@media (hover: hover) and (pointer: fine) {
	.industry-overview-back:hover { color: var(--color-text); }
}
.industry-overview-back-arrow {
	display: inline-flex;
	align-items: center;
	transform: rotate(180deg);
}
.industry-overview-inner {
	max-width: 760px;
	margin: 0 auto;
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	gap: clamp(18px, 2.6vh, 26px);
}
.industry-overview-inner h2 {
	font-family: var(--font-display);
	font-weight: 300;
	letter-spacing: .03em;
	margin: 0;
	font-size: clamp(1.9rem, 3.6vw, 3.6rem);
	line-height: 1.05;
	color: var(--color-text);
	text-wrap: balance;
}
.industry-overview-inner p {
	font-family: var(--font-ui);
	font-size: clamp(.98rem, 1.1vw, 1.16rem);
	line-height: 1.8;
	color: rgba(55, 45, 29, .78);
	margin: 8px 0 0;
}
.industry-overview-inner p:first-of-type { margin-top: 0; }

/* NEEDS (template-parts/blocks/needs-grid.php) */
.industry-needs {
	background: var(--color-cream-2);
	color: var(--color-text);
	padding: clamp(56px, 10vh, 160px) 0;
}
.needs-split {
	display: grid;
	grid-template-columns: .85fr 1.15fr;
	gap: clamp(36px, 5vw, 90px);
	align-items: start;
}
.needs-head {
	display: flex;
	flex-direction: column;
	gap: 14px;
}
.needs-head h2 {
	font-family: var(--font-display);
	font-weight: 300;
	letter-spacing: .03em;
	margin: 0;
	font-size: clamp(1.7rem, 2.8vw, 2.8rem);
	line-height: 1.05;
	color: var(--color-text);
}
.needs-list {
	display: flex;
	flex-direction: column;
	border-bottom: 1px solid rgba(55, 45, 29, .18);
}
.needs-row {
	display: flex;
	flex-direction: column;
	gap: 10px;
	padding: clamp(22px, 3vh, 32px) 0;
	border-top: 1px solid rgba(55, 45, 29, .18);
}
.needs-row h3 {
	font-family: var(--font-display);
	font-weight: 400;
	letter-spacing: .02em;
	font-size: clamp(1.4rem, 2.2vw, 2.1rem);
	line-height: 1.04;
	margin: 0;
	color: var(--color-text);
}
.needs-row p {
	font-family: var(--font-ui);
	font-size: clamp(.92rem, 1vw, 1.06rem);
	line-height: 1.72;
	color: rgba(55, 45, 29, .68);
	margin: 0;
	max-width: 54ch;
}

/* RELATED PRODUCTS + THE OTHER 2 SERVICES
   (template-parts/blocks/related-cta.php — shared with service.css.
   Duplicated deliberately: industry.css and service.css are never enqueued
   on the same request, so there is no cascade conflict to dedupe. */
.related-cta {
	background: linear-gradient(180deg, var(--color-near-black-1) 0%, var(--color-near-black-2) 100%);
	color: var(--color-cream);
	padding: clamp(56px, 10vh, 160px) 0;
	overflow: hidden;
}
.related-cta-head {
	display: flex;
	justify-content: space-between;
	align-items: flex-end;
	flex-wrap: wrap;
	gap: 24px;
	margin-bottom: clamp(36px, 5vh, 64px);
}
.related-cta-heading-col {
	display: flex;
	flex-direction: column;
	gap: 14px;
}
.related-cta-eyebrow {
	color: #8FB89A;
}
.related-cta-heading-col h2,
.related-cta-head > h2 {
	font-family: var(--font-display);
	font-weight: 300;
	letter-spacing: .04em;
	margin: 0;
	font-size: clamp(1.5rem, 3.2vw, 3rem);
	line-height: 1;
	color: var(--color-cream);
}
.related-cta-all {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	text-decoration: none;
	color: var(--color-cream);
	font-family: var(--font-ui);
	font-weight: 500;
	font-size: 11px;
	letter-spacing: .22em;
	text-transform: uppercase;
	padding-bottom: 7px;
	white-space: nowrap;
}
.related-cta-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: clamp(28px, 4vw, 72px);
}
.related-cta-card {
	text-decoration: none;
	color: var(--color-cream);
	display: flex;
	flex-direction: column;
	gap: 16px;
}
.related-cta-card-media {
	position: relative;
	width: 100%;
	aspect-ratio: 4 / 3;
	overflow: hidden;
	background: #1a130b;
	border-radius: 2px;
}
.related-cta-card-media img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	filter: saturate(.82) contrast(1.04) brightness(.88);
}
.related-cta-card h3 {
	font-family: var(--font-display);
	font-weight: 400;
	letter-spacing: .02em;
	font-size: clamp(1.4rem, 2vw, 2rem);
	line-height: 1.04;
	margin: 0;
	color: var(--color-cream);
}
.related-cta-card p {
	font-family: var(--font-ui);
	font-size: .92rem;
	line-height: 1.6;
	color: rgba(247, 244, 239, .66);
	margin: 0;
}

/* CTA */
.industry-cta {
	background: var(--color-cream);
	color: var(--color-text);
	padding: clamp(60px, 12vh, 220px) 0;
}
.industry-cta-split {
	display: grid;
	grid-template-columns: .9fr 1.1fr;
	gap: clamp(40px, 5vw, 96px);
	align-items: center;
}
.industry-cta-head h2 {
	font-family: var(--font-display);
	font-weight: 300;
	letter-spacing: .04em;
	margin: 24px 0 0;
	font-size: clamp(2.2rem, 4.4vw, 4.8rem);
	line-height: 1.02;
	max-width: 14ch;
	color: var(--color-text);
}
.industry-cta-body {
	display: flex;
	flex-direction: column;
	gap: 18px;
	max-width: 42ch;
}
.industry-cta-body p {
	font-family: var(--font-ui);
	font-size: clamp(.96rem, 1.1vw, 1.14rem);
	line-height: 1.72;
	color: rgba(55, 45, 29, .7);
	margin: 0;
}
.industry-cta-body .cta-fx {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	margin-top: 6px;
	text-decoration: none;
	color: var(--color-text);
	font-family: var(--font-ui);
	font-weight: 500;
	font-size: 11px;
	letter-spacing: .22em;
	text-transform: uppercase;
	padding-bottom: 7px;
	width: fit-content;
}

@media (max-width: 879px) {
	.needs-split,
	.related-cta-grid,
	.industry-cta-split {
		grid-template-columns: 1fr;
	}
}

/* ===================================================================
   INDUSTRIES ARCHIVE (archive-industry.php)
   Ported from project/industries.dc.html (#sectors 3-column icon grid,
   #cta band). Unlike single-industry.php's photo-less dark-gradient hero,
   the archive hero DOES use a photo, matching the source — hence its own
   `.industry-archive-hero` rather than reusing `.industry-hero` above.
   `.container-wide` / `.product-archive-head*` / `.service-archive-cta-*`
   are duplicated verbatim from product.css/service.css for the same
   "never enqueued together" reason documented throughout this theme.
   =================================================================== */

.container-wide {
	max-width: 1800px;
	margin: 0 auto;
	padding: 0 clamp(22px, 5vw, 96px);
}

.industry-archive-hero {
	height: 78vh;
	min-height: 520px;
}
.industry-archive-drawer {
	margin-top: 78vh;
	background: var(--color-cream);
}
.industry-archive-hero-scrim {
	background: linear-gradient(0deg, rgba(20, 15, 9, .55) 0%, rgba(20, 15, 9, .12) 48%, rgba(20, 15, 9, .3) 100%);
}
.industry-archive-hero .page-hero-bg {
	filter: saturate(.74) contrast(1.04) brightness(.7);
}
.industry-archive-hero-title {
	font-size: clamp(2.8rem, 7vw, 7.6rem);
}

.industry-archive-catalogue {
	background: var(--color-cream);
	color: var(--color-text);
	padding: clamp(72px, 14vh, 200px) 0 clamp(60px, 11vh, 170px);
}
.product-archive-head {
	display: flex;
	justify-content: space-between;
	align-items: flex-end;
	flex-wrap: wrap;
	gap: 24px;
	padding-bottom: clamp(26px, 4vh, 44px);
	border-bottom: 1px solid rgba(55, 45, 29, .18);
	margin-bottom: clamp(40px, 6vh, 72px);
}
.product-archive-head-col {
	display: flex;
	flex-direction: column;
	gap: 14px;
}
.product-archive-head-col h2 {
	font-family: var(--font-display);
	font-weight: 300;
	letter-spacing: .04em;
	margin: 0;
	font-size: clamp(1.5rem, 3.4vw, 3.4rem);
	line-height: 1;
	color: var(--color-text);
}
.product-archive-head-note {
	font-family: var(--font-ui);
	font-size: 11px;
	letter-spacing: .18em;
	text-transform: uppercase;
	color: rgba(55, 45, 29, .5);
}
.product-archive-empty {
	font-family: var(--font-ui);
	color: rgba(55, 45, 29, .6);
}

/* SECTORS GRID (template-parts/cards/card-industry.php) */
.in-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 0 clamp(24px, 3vw, 56px);
}
.in-card {
	text-decoration: none;
	color: var(--color-text);
	display: flex;
	flex-direction: column;
	gap: 20px;
	border-top: 1px solid rgba(55, 45, 29, .2);
	padding: clamp(28px, 3.4vh, 40px) clamp(22px, 2vw, 30px) clamp(30px, 4vh, 44px);
	margin: 0 clamp(-22px, -2vw, -30px);
	transition: transform .5s cubic-bezier(.22, 1, .36, 1), border-color .5s ease, background-color .5s ease;
}
@media (hover: hover) and (pointer: fine) {
	.in-card:hover {
		transform: translateY(-8px);
		border-top-color: var(--color-brand-green);
		background-color: rgba(10, 73, 31, .05);
	}
}
.in-card-top {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
}
.in-card-icon svg {
	display: block;
	width: 34px;
	height: 34px;
	color: var(--color-brand-green);
}
.in-card-index {
	font-family: var(--font-ui);
	font-size: 11px;
	letter-spacing: .18em;
	color: rgba(55, 45, 29, .4);
}
.in-card-copy {
	display: flex;
	flex-direction: column;
	gap: 12px;
}
.in-card-title {
	font-family: var(--font-display);
	font-weight: 400;
	letter-spacing: .03em;
	font-size: clamp(1.5rem, 2.4vw, 2.3rem);
	line-height: 1.04;
	margin: 0;
	color: var(--color-text);
}
.in-card-desc {
	font-family: var(--font-ui);
	font-size: clamp(.92rem, 1vw, 1.06rem);
	line-height: 1.7;
	color: rgba(55, 45, 29, .66);
	margin: 0;
}
.in-card-cta {
	display: inline-flex;
	align-items: center;
	gap: 11px;
	margin-top: 2px;
	font-family: var(--font-ui);
	font-weight: 500;
	font-size: 11px;
	letter-spacing: .2em;
	text-transform: uppercase;
	padding-bottom: 7px;
	width: fit-content;
}

/* CTA band — see service.css's identical `.service-archive-cta-*` block for
   the sibling copy of this rule (never loaded on the same request). */
.service-archive-cta,
.industry-archive-cta {
	position: relative;
	background: var(--color-cream-2);
	color: var(--color-text);
	padding: clamp(60px, 12vh, 220px) 0;
}
.service-archive-cta-grid {
	display: grid;
	grid-template-columns: .9fr 1.1fr;
	gap: clamp(40px, 5vw, 96px);
	align-items: center;
}
.service-archive-cta-head h2 {
	font-family: var(--font-display);
	font-weight: 300;
	letter-spacing: .04em;
	margin: 24px 0 0;
	font-size: clamp(2.2rem, 4.4vw, 4.8rem);
	line-height: 1.02;
	max-width: 14ch;
	color: var(--color-text);
}
.service-archive-cta-body {
	display: flex;
	flex-direction: column;
	gap: 18px;
	max-width: 42ch;
}
.service-archive-cta-body p {
	font-family: var(--font-ui);
	font-size: clamp(.96rem, 1.1vw, 1.14rem);
	line-height: 1.72;
	color: rgba(55, 45, 29, .7);
	margin: 0;
}
.service-archive-cta-body .cta-fx {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	margin-top: 6px;
	text-decoration: none;
	color: var(--color-text);
	font-family: var(--font-ui);
	font-weight: 500;
	font-size: 11px;
	letter-spacing: .22em;
	text-transform: uppercase;
	padding-bottom: 7px;
	width: fit-content;
}

@media (max-width: 879px) {
	.in-grid {
		grid-template-columns: 1fr;
	}
	.in-card {
		margin: 0;
	}
	.industry-archive-catalogue {
		padding: 48px 0;
	}
	.service-archive-cta-grid {
		grid-template-columns: 1fr;
	}
}
