/* ==========================================================================
   Industry pages: single-industry.php (.wf-industry) and the /industries/
   landing page (.wf-industry.wf-industries).

   These rules are deliberately a re-scoped copy of assets/css/home.css rather
   than a shared file: the homepage ships first and must not be destabilised by
   industry work. The landing page carries BOTH root classes so everything below
   can be scoped once under .wf-industry, with .wf-industries reserved for the
   handful of landing-only rules at the end.

   SPECIFICITY NOTE -- Elementor's kit stylesheet ships element rules at 0-1-1
   (.elementor-kit-6 a / button / img), which beat a bare single class, so the
   scope is load-bearing, not cosmetic. The resets below re-assert link colour,
   image radius and button styling inside that scope.
   ========================================================================== */

/* ---------- Scope resets (must out-specify .elementor-kit-6 <el>) ---------- */
body .wf-industry a {
	color: inherit;
	text-decoration: none;
}

body .wf-industry img {
	border-radius: 0;
	max-width: 100%;
	height: auto;
}

body .wf-industry button {
	text-transform: none;
	padding: 0;
	font-size: inherit;
	background: none;
	border: 0;
}

.wf-industry [hidden] {
	display: none !important;
}

.wf-industry .wf-btn {
	text-decoration: none;
}

.wf-industry .wf-btn--primary {
	background: linear-gradient(90deg, var(--wf-blue) 0%, var(--wf-cyan) 100%);
	color: var(--wf-white);
}

.wf-industry .wf-btn--primary:hover,
.wf-industry .wf-btn--primary:focus-visible {
	background: var(--wf-gold);
	color: var(--wf-navy);
}

.wf-industry .wf-btn--ghost-light {
	color: var(--wf-white);
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .35);
}

.wf-industry .wf-btn--ghost-light:hover {
	color: var(--wf-white);
	box-shadow: inset 0 0 0 1px var(--wf-white);
}

.wf-industry .wf-btn--light {
	background: var(--wf-white);
	color: var(--wf-navy);
}

.wf-industry .wf-btn--light:hover {
	background: var(--wf-bg-blue);
	color: var(--wf-navy);
}

/* ---------- Shared furniture (same classes the homepage partials emit) ---- */
.wf-industry .wf-home-head {
	margin-bottom: clamp(32px, 4vw, 56px);
}

.wf-industry .wf-home-head--center {
	max-width: 760px;
	margin-inline: auto;
	text-align: center;
}

.wf-industry .wf-home-head__eyebrow {
	margin: 0 0 12px;
}

.wf-industry .wf-home-head__title {
	color: var(--wf-text-dark);
}

.wf-industry .wf-home-head__intro {
	margin: 16px 0 0;
	font: 400 1.0625rem/1.6 var(--wf-font-body);
	color: var(--wf-text);
}

.wf-industry .wf-home-pill {
	display: inline-block;
	padding: 4px 10px;
	border-radius: 999px;
	background: var(--wf-bg-blue);
	color: var(--wf-steel);
	font: 600 .6875rem/1.2 var(--wf-font-body);
	letter-spacing: .06em;
	text-transform: uppercase;
}

.wf-industry .wf-home-star {
	width: 1rem;
	height: 1rem;
	color: var(--wf-gold-light);
}

.wf-industry .wf-home-star svg {
	fill: currentColor;
	stroke: none;
}

.wf-industry .wf-home-arrow {
	width: 1.125em;
	height: 1.125em;
}

/* "Read more"-style link, shared by service, case study and industry cards. */
.wf-industry .wf-ind-more {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-top: auto;
	padding-top: 20px;
	font: 600 .875rem/1 var(--wf-font-body);
	letter-spacing: .04em;
	text-transform: uppercase;
	color: var(--wf-blue);
	transition: gap var(--wf-dur) var(--wf-ease);
}

.wf-industry .wf-ind-more:hover {
	gap: 12px;
	color: var(--wf-blue-hover);
}

.wf-industry .wf-ind-section__cta {
	margin-top: clamp(32px, 4vw, 48px);
	text-align: center;
}

/* ---------- Section rhythm ---------- */
.wf-industry .wf-industry__section {
	padding-block: clamp(64px, 8vw, 112px);
	background: var(--wf-white);
	color: var(--wf-text);
	scroll-margin-top: 140px;
}

.wf-industry .wf-industry__section--problems,
.wf-industry .wf-industry__section--cases,
.wf-industry .wf-industry__section--blog {
	background: var(--wf-bg);
}

.wf-industry .wf-industry__section--pains {
	background-color: var(--wf-navy);
	color: var(--wf-text-offwhite);
}

/* ---------- 1. Hero ---------- */
.wf-industry .wf-ind-hero {
	display: flex;
	align-items: stretch;
	min-height: min(72vh, 680px);
	padding-top: clamp(32px, 4vw, 56px);
	background-color: var(--wf-navy);
	color: var(--wf-white);
	overflow: hidden;
}

.wf-industry .wf-ind-hero__inner {
	display: grid;
	gap: clamp(24px, 4vw, 48px);
	align-items: end;
	width: 100%;
}

.wf-industry .wf-ind-hero__text {
	align-self: center;
	padding-bottom: clamp(40px, 5vw, 72px);
	min-width: 0;
}

.wf-industry .wf-ind-hero__eyebrow {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	margin: 0 0 16px;
}

.wf-industry .wf-ind-hero__eyebrow-link {
	color: var(--wf-cyan);
	transition: color var(--wf-dur) var(--wf-ease);
}

.wf-industry .wf-ind-hero__eyebrow-link:hover {
	color: var(--wf-white);
}

.wf-industry .wf-ind-hero__eyebrow-sep {
	color: rgba(255, 255, 255, .35);
}

.wf-industry .wf-ind-hero__title {
	color: var(--wf-white);
}

.wf-industry .wf-industry__hl {
	color: var(--wf-cyan);
}

.wf-industry .wf-ind-hero__lede {
	margin: 20px 0 0;
	max-width: 56ch;
	color: var(--wf-text-offwhite);
	white-space: pre-line;
}

.wf-industry .wf-ind-hero__ctas {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 28px;
}

.wf-industry .wf-ind-hero__badge {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 4px 10px;
	margin: 24px 0 0;
	font: 500 .9375rem/1.4 var(--wf-font-body);
	color: var(--wf-text-offwhite);
}

.wf-industry .wf-ind-hero__stars {
	display: inline-flex;
	gap: 2px;
}

.wf-industry .wf-ind-hero__media {
	align-self: end;
	display: flex;
	justify-content: center;
	min-width: 0;
}

.wf-industry .wf-ind-hero__img {
	display: block;
	width: auto;
	max-width: 100%;
	max-height: 320px;
	object-fit: contain;
	object-position: bottom center;
	border-radius: 0;
}

@media (min-width: 1000px) {
	.wf-industry .wf-ind-hero__inner {
		grid-template-columns: 7fr 5fr;
	}

	.wf-industry .wf-ind-hero--no-media .wf-ind-hero__inner {
		grid-template-columns: 1fr;
	}

	.wf-industry .wf-ind-hero--no-media .wf-ind-hero__text {
		max-width: 66.6667%;
	}

	.wf-industry .wf-ind-hero__img {
		max-height: 560px;
	}
}

/* ---------- 2. Overview ----------
   Two text + media rows (row 2 flipped), each led by an eyebrow + h2 inside
   the text column -- the same wf-home-head furniture the section heads use,
   sized down to sit above body copy instead of a whole section. */
.wf-industry .wf-ind-overview__row {
	display: grid;
	gap: clamp(32px, 5vw, 72px);
	align-items: center;
}

.wf-industry .wf-ind-overview__row + .wf-ind-overview__row {
	margin-top: clamp(64px, 8vw, 112px);
}

.wf-industry .wf-ind-overview__text {
	min-width: 0;
}

.wf-industry .wf-ind-overview__head {
	margin-bottom: 20px;
}

.wf-industry .wf-ind-overview__body {
	font: 400 1.0625rem/1.7 var(--wf-font-body);
	color: var(--wf-text);
}

.wf-industry .wf-ind-overview__body > :first-child {
	margin-top: 0;
}

.wf-industry .wf-ind-overview__body p {
	margin: 0 0 1em;
}

.wf-industry .wf-ind-overview__body p:last-child {
	margin-bottom: 0;
}

.wf-industry .wf-ind-overview__body h2,
.wf-industry .wf-ind-overview__body h3 {
	font-family: var(--wf-font-display);
	color: var(--wf-text-dark);
	margin: 0 0 .5em;
}

.wf-industry .wf-ind-overview__body a {
	color: var(--wf-blue);
	text-decoration: underline;
}

.wf-industry .wf-ind-overview__body ul,
.wf-industry .wf-ind-overview__body ol {
	margin: 0 0 1em;
	padding-left: 1.25em;
}

.wf-industry .wf-ind-overview__img {
	display: block;
	width: 100%;
	border-radius: var(--wf-radius-md);
	box-shadow: var(--wf-shadow-lg);
}

@media (min-width: 900px) {
	.wf-industry .wf-ind-overview__row {
		grid-template-columns: 1fr 1fr;
	}

	.wf-industry .wf-ind-overview__row--solo {
		grid-template-columns: 1fr;
	}

	.wf-industry .wf-ind-overview__row--solo .wf-ind-overview__text {
		max-width: 820px;
	}

	/* Row 2 puts the image on the left without reordering the markup. */
	.wf-industry .wf-ind-overview__row--flip .wf-ind-overview__text {
		order: 2;
	}

	.wf-industry .wf-ind-overview__row--flip .wf-ind-overview__media {
		order: 1;
	}
}

/* ---------- 3/6. Card grids (problems, services, industries) ---------- */
.wf-industry .wf-ind-cards {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 24px;
}

.wf-industry .wf-ind-card {
	display: flex;
	flex-direction: column;
	padding: 28px;
	background: var(--wf-white);
	border: 1px solid var(--wf-border);
	border-radius: var(--wf-radius-md);
	transition: box-shadow var(--wf-dur) var(--wf-ease), transform var(--wf-dur) var(--wf-ease);
}

.wf-industry .wf-ind-card:hover {
	box-shadow: var(--wf-shadow-md);
	transform: translateY(-2px);
}

.wf-industry .wf-ind-card__icon {
	width: 2rem;
	height: 2rem;
	margin-bottom: 16px;
	color: var(--wf-blue);
}

.wf-industry .wf-ind-card__img-icon {
	display: block;
	margin-bottom: 16px;
}

.wf-industry .wf-ind-card__img {
	display: block;
	width: 40px;
	height: 40px;
	object-fit: contain;
	border-radius: 0;
}

.wf-industry .wf-ind-card__title {
	font-size: 1.1875rem;
	color: var(--wf-text-dark);
}

.wf-industry .wf-ind-card__title-link {
	color: var(--wf-text-dark);
	transition: color var(--wf-dur) var(--wf-ease);
}

.wf-industry .wf-ind-card__title-link:hover {
	color: var(--wf-blue);
}

.wf-industry .wf-ind-card__text {
	margin: 12px 0 0;
	font: 400 .9375rem/1.6 var(--wf-font-body);
	color: var(--wf-text);
}

/* Cards that sit on the light-grey band need a touch more contrast. */
.wf-industry .wf-industry__section--problems .wf-ind-card {
	box-shadow: var(--wf-shadow-sm);
}

/* ---------- 4. Process ---------- */
.wf-industry .wf-ind-steps {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: 1fr;
	gap: 24px;
	counter-reset: none;
}

.wf-industry .wf-ind-step {
	padding: 28px;
	background: var(--wf-white);
	border: 1px solid var(--wf-border);
	border-top: 3px solid var(--wf-blue);
	border-radius: var(--wf-radius-md);
}

.wf-industry .wf-ind-step__num {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 2.25rem;
	height: 2.25rem;
	padding: 0 .5rem;
	margin-bottom: 14px;
	border-radius: 999px;
	background: var(--wf-bg-blue);
	color: var(--wf-blue);
	font: 800 1rem/1 var(--wf-font-display);
}

.wf-industry .wf-ind-step__title {
	font-size: 1.1875rem;
	color: var(--wf-text-dark);
}

.wf-industry .wf-ind-step__text {
	margin: 12px 0 0;
	font: 400 .9375rem/1.6 var(--wf-font-body);
	color: var(--wf-text);
}

@media (min-width: 720px) {
	.wf-industry .wf-ind-steps {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (min-width: 1000px) {
	.wf-industry .wf-ind-steps {
		grid-template-columns: repeat(3, 1fr);
	}
}

/* Industry process (.wf-ind-process): the same <ol class="wf-ind-steps">
   markup as the service pages, styled as a plain 3-up grid instead of cards.
   Left-aligned head, the step number in an outlined circle beside the title,
   copy indented to the title. Service pages keep the card treatment above. */
.wf-industry .wf-ind-process__head {
	max-width: 760px;
}

.wf-industry .wf-ind-process .wf-ind-steps {
	gap: clamp(40px, 5vw, 64px) clamp(28px, 4vw, 48px);
}

.wf-industry .wf-ind-process .wf-ind-step {
	display: grid;
	grid-template-columns: 2.5rem minmax(0, 1fr);
	column-gap: 16px;
	align-items: start;
	padding: 0;
	background: transparent;
	border: 0;
	border-radius: 0;
}

.wf-industry .wf-ind-process .wf-ind-step__num {
	grid-row: 1 / span 2;
	width: 2.5rem;
	height: 2.5rem;
	min-width: 0;
	padding: 0;
	margin: 0;
	background: var(--wf-white);
	color: var(--wf-blue);
	box-shadow: inset 0 0 0 1px var(--wf-border);
	font: 700 1rem/1 var(--wf-font-display);
}

.wf-industry .wf-ind-process .wf-ind-step__title {
	grid-column: 2;
	display: flex;
	align-items: center;
	min-height: 2.5rem;
	font-size: 1.1875rem;
}

.wf-industry .wf-ind-process .wf-ind-step__text {
	grid-column: 2;
	margin-top: 10px;
	font-size: 1rem;
}

/* ---------- 5. Pain points / how we help ---------- */
.wf-industry .wf-ind-pains {
	display: grid;
	gap: clamp(32px, 5vw, 64px);
}

.wf-industry .wf-ind-pains__title {
	color: var(--wf-white);
	font-size: clamp(1.5rem, 2.6vw, 1.875rem);
}

.wf-industry .wf-ind-pains__list {
	list-style: none;
	margin: 24px 0 0;
	padding: 0;
	display: grid;
	gap: 16px;
}

.wf-industry .wf-ind-pains__item {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	padding: 18px;
	background: var(--wf-navy-2);
	border: 1px solid var(--wf-border-dark);
	border-radius: var(--wf-radius-md);
}

.wf-industry .wf-ind-pains__icon {
	color: var(--wf-cyan);
	flex: none;
	margin-top: 2px;
}

.wf-industry .wf-ind-pains__body {
	min-width: 0;
}

.wf-industry .wf-ind-pains__item-title {
	margin: 0;
	font: 700 .9375rem/1.4 var(--wf-font-body);
	color: var(--wf-white);
}

.wf-industry .wf-ind-pains__item-text {
	margin: 6px 0 0;
	font: 400 .9375rem/1.6 var(--wf-font-body);
	color: var(--wf-text-offwhite);
}

@media (min-width: 900px) {
	.wf-industry .wf-ind-pains {
		grid-template-columns: 1fr 1fr;
	}

	.wf-industry .wf-ind-pains--solo {
		grid-template-columns: 1fr;
		max-width: 820px;
	}
}

/* ---------- 7. Case studies ---------- */
.wf-industry .wf-ind-cases__grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
	gap: 24px;
}

.wf-industry .wf-ind-cases__card {
	display: flex;
	flex-direction: column;
	overflow: hidden;
	background: var(--wf-white);
	border: 1px solid var(--wf-border);
	border-radius: var(--wf-radius-md);
	transition: box-shadow var(--wf-dur) var(--wf-ease), transform var(--wf-dur) var(--wf-ease);
}

.wf-industry .wf-ind-cases__card:hover {
	box-shadow: var(--wf-shadow-md);
	transform: translateY(-2px);
}

.wf-industry .wf-ind-cases__media {
	aspect-ratio: 16 / 9;
	overflow: hidden;
	background-color: var(--wf-navy);
}

.wf-industry .wf-ind-cases__img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 0;
}

.wf-industry .wf-ind-cases__body {
	display: flex;
	flex-direction: column;
	flex: 1;
	padding: 24px;
}

.wf-industry .wf-ind-cases__tags {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin: 0 0 14px;
}

.wf-industry .wf-ind-cases__title {
	font-size: 1.25rem;
	color: var(--wf-text-dark);
}

.wf-industry .wf-ind-cases__title-link {
	color: var(--wf-text-dark);
	transition: color var(--wf-dur) var(--wf-ease);
}

.wf-industry .wf-ind-cases__title-link:hover {
	color: var(--wf-blue);
}

.wf-industry .wf-ind-cases__excerpt {
	margin: 12px 0 0;
	font: 400 .9375rem/1.6 var(--wf-font-body);
	color: var(--wf-text);
}

@media (min-width: 860px) {
	.wf-industry .wf-ind-cases--single .wf-ind-cases__card {
		display: grid;
		grid-template-columns: 5fr 7fr;
		align-items: stretch;
	}

	.wf-industry .wf-ind-cases--single .wf-ind-cases__media {
		aspect-ratio: auto;
		height: 100%;
		min-height: 280px;
	}

	.wf-industry .wf-ind-cases--single .wf-ind-cases__body {
		justify-content: center;
		padding: clamp(28px, 4vw, 48px);
	}
}

/* ---------- 9. Related reading ---------- */
.wf-industry .wf-ind-blog__grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 24px;
}

.wf-industry .wf-ind-blog__card {
	display: flex;
	flex-direction: column;
	overflow: hidden;
	background: var(--wf-white);
	border: 1px solid var(--wf-border);
	border-radius: var(--wf-radius-md);
	transition: box-shadow var(--wf-dur) var(--wf-ease), transform var(--wf-dur) var(--wf-ease);
}

.wf-industry .wf-ind-blog__card:hover {
	box-shadow: var(--wf-shadow-md);
	transform: translateY(-2px);
}

.wf-industry .wf-ind-blog__media {
	display: block;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	background-color: var(--wf-navy);
}

.wf-industry .wf-ind-blog__img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 0;
}

.wf-industry .wf-ind-blog__body {
	padding: 22px;
}

.wf-industry .wf-ind-blog__cat {
	margin: 0 0 10px;
	font: 600 .6875rem/1.2 var(--wf-font-body);
	letter-spacing: .1em;
	text-transform: uppercase;
	color: var(--wf-blue);
}

.wf-industry .wf-ind-blog__title {
	font-size: 1.125rem;
	color: var(--wf-text-dark);
}

.wf-industry .wf-ind-blog__title-link {
	color: var(--wf-text-dark);
	transition: color var(--wf-dur) var(--wf-ease);
}

.wf-industry .wf-ind-blog__title-link:hover {
	color: var(--wf-blue);
}

.wf-industry .wf-ind-blog__date {
	margin: 12px 0 0;
	font: 400 .8125rem/1.2 var(--wf-font-body);
	color: var(--wf-text-mute);
}

/* ---------- 10. FAQ ---------- */
.wf-industry .wf-ind-faq {
	max-width: 860px;
	margin-inline: auto;
	display: grid;
	gap: 12px;
}

.wf-industry .wf-ind-faq__item {
	background: var(--wf-white);
	border: 1px solid var(--wf-border);
	border-radius: var(--wf-radius-md);
	overflow: hidden;
}

.wf-industry .wf-ind-faq__q {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 20px 24px;
	cursor: pointer;
	list-style: none;
	font: 700 1.0625rem/1.4 var(--wf-font-body);
	color: var(--wf-text-dark);
}

.wf-industry .wf-ind-faq__q::-webkit-details-marker {
	display: none;
}

.wf-industry .wf-ind-faq__q:focus-visible {
	outline: 2px solid var(--wf-cyan);
	outline-offset: -2px;
}

.wf-industry .wf-ind-faq__chevron {
	flex: none;
	color: var(--wf-blue);
	transition: transform var(--wf-dur) var(--wf-ease);
}

.wf-industry .wf-ind-faq__item[open] .wf-ind-faq__chevron {
	transform: rotate(180deg);
}

.wf-industry .wf-ind-faq__a {
	padding: 0 24px 22px;
	font: 400 1rem/1.7 var(--wf-font-body);
	color: var(--wf-text);
}

.wf-industry .wf-ind-faq__a > :first-child {
	margin-top: 0;
}

.wf-industry .wf-ind-faq__a p {
	margin: 0 0 1em;
}

.wf-industry .wf-ind-faq__a p:last-child {
	margin-bottom: 0;
}

.wf-industry .wf-ind-faq__a a {
	color: var(--wf-blue);
	text-decoration: underline;
}

.wf-industry .wf-ind-faq__a ul,
.wf-industry .wf-ind-faq__a ol {
	margin: 0 0 1em;
	padding-left: 1.25em;
}

/* ==========================================================================
   Landing page only (/industries/)
   ========================================================================== */
.wf-industries .wf-ind-intro {
	max-width: 820px;
	margin-inline: auto;
	text-align: center;
	font: 400 1.0625rem/1.7 var(--wf-font-body);
	color: var(--wf-text);
}

.wf-industries .wf-ind-intro > :first-child {
	margin-top: 0;
}

.wf-industries .wf-ind-intro p {
	margin: 0 0 1em;
}

.wf-industries .wf-ind-intro p:last-child {
	margin-bottom: 0;
}

.wf-industries .wf-ind-intro a {
	color: var(--wf-blue);
	text-decoration: underline;
}

/* Category bands alternate white / light grey down the page. */
.wf-industries .wf-industries__cat:nth-of-type(even) {
	background: var(--wf-bg);
}

.wf-industries .wf-ind-cards--industries {
	grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

@media (min-width: 760px) {
	.wf-industries .wf-ind-cards--industries {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (min-width: 1040px) {
	.wf-industries .wf-ind-cards--industries {
		grid-template-columns: repeat(3, 1fr);
	}
}
