/* Service pages (single-service.php).
   Shared hero/drawer shell lives in assets/css/layout.css (.page-hero,
   .page-hero-bg, .page-hero-tint, .page-hero-inner, .page-hero-title,
   .hero-line-wrap, .page-hero-lede, .page-drawer, .section-eyebrow) — this
   file only holds service-specific rules. Ported from
   project/service-brokerage.dc.html / service-sourcing.dc.html /
   service-facilitation.dc.html (identical structure across all 3).

   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. */

.service-hero {
	height: 80vh;
	min-height: 520px;
	background: var(--color-near-black-1);
}
.service-hero-scrim {
	background: linear-gradient(0deg, rgba(20, 15, 9, .62) 0%, rgba(20, 15, 9, .12) 50%, rgba(20, 15, 9, .34) 100%);
}
.service-drawer {
	margin-top: 80vh;
}

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

.service-hero-title {
	font-size: clamp(2.8rem, 7vw, 7.4rem);
}
.service-hero-lede {
	max-width: 50ch;
}

/* OVERVIEW */
.service-overview {
	background: var(--color-cream);
	color: var(--color-text);
	padding: clamp(60px, 11vh, 170px) 0 clamp(48px, 8vh, 110px);
}
.service-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(30px, 5vh, 60px);
	transition: color .35s ease;
}
@media (hover: hover) and (pointer: fine) {
	.service-overview-back:hover { color: var(--color-text); }
}
.service-overview-back-arrow {
	display: inline-flex;
	align-items: center;
	transform: rotate(180deg);
}
.service-overview-inner {
	max-width: 820px;
	margin: 0 auto;
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	gap: clamp(22px, 3vh, 32px);
}
.service-overview-inner h2 {
	font-family: var(--font-display);
	font-weight: 300;
	letter-spacing: .03em;
	margin: 0;
	font-size: clamp(1.9rem, 3.4vw, 3.4rem);
	line-height: 1.05;
	color: var(--color-text);
}
.service-overview-copy {
	display: flex;
	flex-direction: column;
	gap: clamp(18px, 2.4vh, 24px);
}
.service-overview-copy 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: 0;
}

/* PROCESS STEPS (template-parts/blocks/process-steps.php) */
.service-process {
	background: var(--color-cream-2);
	color: var(--color-text);
	padding: clamp(56px, 10vh, 160px) 0;
}
.process-head {
	display: flex;
	flex-direction: column;
	gap: 14px;
	margin-bottom: clamp(36px, 6vh, 72px);
	max-width: 760px;
}
.process-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.04;
	color: var(--color-text);
}
.process-list {
	display: flex;
	flex-direction: column;
	border-bottom: 1px solid rgba(55, 45, 29, .18);
}
.process-row {
	display: flex;
	gap: clamp(18px, 2.4vw, 32px);
	padding: clamp(24px, 3.4vh, 38px) 0;
	border-top: 1px solid rgba(55, 45, 29, .18);
}
.process-num {
	font-family: var(--font-display);
	font-weight: 400;
	font-size: clamp(1.4rem, 2vw, 2rem);
	color: var(--color-brand-green);
	line-height: 1;
	flex-shrink: 0;
	min-width: 42px;
}
.process-copy {
	display: flex;
	flex-direction: column;
	gap: 8px;
}
.process-copy 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);
}
.process-copy 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 SERVICES / RELATED PRODUCTS
   (template-parts/blocks/related-cta.php — shared with industry.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(32px, 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.5rem, 2.1vw, 2.1rem);
	line-height: 1.04;
	margin: 0;
	color: var(--color-cream);
}
.related-cta-card p {
	font-family: var(--font-ui);
	font-size: .94rem;
	line-height: 1.65;
	color: rgba(247, 244, 239, .66);
	margin: 0;
}

/* CTA */
.service-cta {
	background: var(--color-cream);
	color: var(--color-text);
	padding: clamp(60px, 12vh, 220px) 0;
}
.service-cta-split {
	display: grid;
	grid-template-columns: .9fr 1.1fr;
	gap: clamp(40px, 5vw, 96px);
	align-items: center;
}
.service-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-cta-body {
	display: flex;
	flex-direction: column;
	gap: 18px;
	max-width: 42ch;
}
.service-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-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) {
	.related-cta-grid,
	.service-cta-split {
		grid-template-columns: 1fr;
	}
}

/* ===================================================================
   SERVICES ARCHIVE (archive-service.php)
   Ported from project/services.dc.html (#disciplines, #process, #cta).
   The `.container-wide` / `.product-archive-head*` / `.product-archive-*` /
   `.sv-row` scaffold rules are intentionally duplicated verbatim from
   assets/css/pages/product.css — product.css and service.css are never
   enqueued on the same request (see inc/enqueue.php), so there is no
   cascade conflict to dedupe, matching this file's existing `.related-cta`
   duplication rationale above.
   =================================================================== */

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

.service-archive-hero {
	height: 78vh;
	min-height: 520px;
}
.service-archive-drawer {
	margin-top: 78vh;
	background: var(--color-cream);
}
.service-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%);
}
.service-archive-hero .page-hero-bg {
	filter: saturate(.74) contrast(1.04) brightness(.74);
}
.service-archive-hero-title {
	font-size: clamp(2.8rem, 7vw, 7.6rem);
}

.service-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(48px, 8vh, 100px);
}
.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);
}
.product-archive-rows {
	display: flex;
	flex-direction: column;
	gap: clamp(56px, 9vh, 130px);
}

.sv-row {
	text-decoration: none;
	color: var(--color-text);
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: clamp(32px, 5vw, 90px);
	align-items: center;
}
.sv-flip .sv-imgwrap { order: 2; }
.sv-flip .sv-copy { order: 1; }
.sv-imgwrap {
	position: relative;
	width: 100%;
	aspect-ratio: 5 / 4;
	overflow: hidden;
	background: var(--color-text);
	border-radius: 2px;
}
.sv-img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	filter: saturate(.84) contrast(1.04) brightness(.93);
}
.sv-img-tint {
	position: absolute;
	inset: 0;
	background: linear-gradient(150deg, rgba(10, 73, 31, .18) 0%, rgba(55, 45, 29, .3) 100%);
	mix-blend-mode: multiply;
	pointer-events: none;
}
.sv-index {
	position: absolute;
	top: clamp(18px, 2vw, 28px);
	left: clamp(18px, 2vw, 28px);
	font-family: var(--font-display);
	font-weight: 400;
	font-size: clamp(1.4rem, 2vw, 2rem);
	color: rgba(247, 244, 239, .92);
	text-shadow: 0 2px 14px rgba(20, 15, 9, .6);
}
.sv-copy {
	display: flex;
	flex-direction: column;
	gap: clamp(16px, 2.2vh, 22px);
}
.sv-title {
	font-family: var(--font-display);
	font-weight: 400;
	letter-spacing: .02em;
	font-size: clamp(1.9rem, 3.2vw, 3.2rem);
	line-height: 1.02;
	margin: 0;
}
.sv-desc {
	font-family: var(--font-ui);
	font-size: clamp(.96rem, 1.1vw, 1.14rem);
	line-height: 1.78;
	color: rgba(55, 45, 29, .72);
	margin: 0;
	max-width: 46ch;
}
.sv-bullets {
	display: flex;
	flex-direction: column;
	margin-top: 4px;
}
.sv-bullet {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 11px 0;
	border-top: 1px solid rgba(55, 45, 29, .16);
	font-family: var(--font-ui);
	font-size: .92rem;
	letter-spacing: .02em;
	color: rgba(55, 45, 29, .7);
}
.sv-bullet-dot {
	width: 5px;
	height: 5px;
	border-radius: 50%;
	background: var(--color-brand-green);
	flex-shrink: 0;
}
.sv-cta {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	margin-top: 8px;
	font-family: var(--font-ui);
	font-weight: 500;
	font-size: 11px;
	letter-spacing: .22em;
	text-transform: uppercase;
	padding-bottom: 7px;
	width: fit-content;
}

/* PROCESS (static 4-step overview, hard-coded in archive-service.php) */
.service-archive-process {
	position: relative;
	background: linear-gradient(180deg, #241B10 0%, #0B0905 100%);
	color: var(--color-cream);
	padding: clamp(56px, 10vh, 170px) 0;
	overflow: hidden;
}
.service-archive-process-head {
	display: flex;
	flex-direction: column;
	gap: 14px;
	margin-bottom: clamp(40px, 6vh, 80px);
	max-width: 760px;
}
.service-archive-process-eyebrow {
	color: #8FB89A;
}
.service-archive-process-head 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.04;
	color: var(--color-cream);
}
.sv-steps {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: clamp(28px, 3vw, 56px);
}
.sv-step {
	display: flex;
	flex-direction: column;
	gap: 12px;
	padding-top: 26px;
	border-top: 1px solid rgba(247, 244, 239, .22);
}
.sv-step-num {
	font-family: var(--font-display);
	font-weight: 400;
	font-size: clamp(2.2rem, 4vw, 3.4rem);
	line-height: 1;
	color: #8FB89A;
}
.sv-step h3 {
	font-family: var(--font-display);
	font-weight: 400;
	letter-spacing: .03em;
	font-size: clamp(1.3rem, 2vw, 1.9rem);
	line-height: 1.04;
	margin: 0;
	color: var(--color-cream);
}
.sv-step p {
	font-family: var(--font-ui);
	font-size: .92rem;
	line-height: 1.6;
	color: rgba(247, 244, 239, .66);
	margin: 0;
	max-width: 24ch;
}

/* CTA (static band, hard-coded in archive-service.php / archive-industry.php.
   `.service-archive-cta-*` class names are shared between the two archives
   — duplicated into industry.css for the same "never loaded together"
   reason as everything else in this section. */
.service-archive-cta,
.industry-archive-cta {
	position: relative;
	background: var(--color-cream);
	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) {
	.sv-row {
		grid-template-columns: 1fr;
	}
	.sv-flip .sv-imgwrap,
	.sv-flip .sv-copy {
		order: initial;
	}
	.service-archive-catalogue,
	.service-archive-process {
		padding: 48px 0;
	}
	.sv-steps {
		grid-template-columns: 1fr 1fr;
	}
	.service-archive-cta-grid {
		grid-template-columns: 1fr;
	}
}
