/**
 * Industries page — cream / forest / gold, matching the page designs.
 *
 * @package Skavend
 */

.page-template-team-php,
.page-template-templates-team-php {
	background: #f9f7f2;
}

body.page-template-templates-team-php .site-header,
body.page-template-team-php .site-header {
	margin-top: 12px;
	background: linear-gradient(180deg, rgba(253, 252, 247, 0.88), rgba(249, 247, 242, 0.7));
	box-shadow:
		0 1px 0 rgba(255, 255, 255, 0.75) inset,
		0 10px 28px rgba(46, 60, 52, 0.05);
}

.page-template-team-php .site-main,
.page-template-templates-team-php .site-main,
.in-page {
	background: #f9f7f2;
	padding: 0 !important;
	margin: 0 !important;
	max-width: none !important;
	width: 100% !important;
	overflow-x: hidden;
}

.in-page {
	--cream: #f9f7f2;
	--green: #062c21;
	--green-2: #0a3d2d;
	--gold: #c19a6b;
	--text: #14241e;
	--muted: #5c6560;
	--serif: var(--font-serif, 'Playfair Display', Georgia, serif);
	--sans: var(--font-sans, 'DM Sans', system-ui, sans-serif);
	--in-space: var(--section-space, 7%);
}

.in-page *,
.in-page *::before,
.in-page *::after {
	box-sizing: border-box;
}

.in-shell {
	width: var(--shell-width, 90%);
	margin: 0 auto;
}

/* Single-sided rhythm: every section only pushes space AFTER itself,
   so stacked sections never double up their gap. */
.in-section {
	padding-top: 0;
	padding-bottom: 0;
	scroll-margin-top: 96px;
}

.in-section--tight {
	padding-top: 0;
	padding-bottom: calc(var(--in-space) * 0.55);
}

.in-kicker {
	margin: 0 0 14px;
	font-family: var(--sans);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--gold);
}

.in-kicker--light {
	color: #d4b07a;
}

.in-h {
	margin: 0;
	font-family: var(--serif);
	font-size: clamp(30px, 3.6vw, 44px);
	font-weight: 700;
	line-height: 1.18;
	color: var(--green-2);
}

.in-h--light {
	color: #f4ece0;
}

.in-center {
	text-align: center;
	margin-bottom: 48px;
}

.in-center .in-h {
	max-width: 720px;
	margin-left: auto;
	margin-right: auto;
}

.in-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	height: 52px;
	padding: 0 26px;
	border-radius: 10px;
	background: var(--green-2);
	color: #fff;
	font-family: var(--sans);
	font-size: 15px;
	font-weight: 600;
	text-decoration: none;
	border: 0;
	cursor: pointer;
	box-shadow: 0 10px 24px rgba(6, 44, 33, 0.22);
	transition: transform 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

.in-btn svg,
.in-btn .skavend-icon {
	width: 16px;
	height: 16px;
	fill: none;
	stroke: currentColor;
	stroke-width: 2;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.in-btn:hover {
	background: #0b4232;
	color: #fff;
	transform: translateY(-2px);
	box-shadow: 0 14px 30px rgba(6, 44, 33, 0.28);
}

.in-btn:active {
	background: #051a14;
	transform: translateY(1px);
	box-shadow: 0 4px 10px rgba(6, 44, 33, 0.2);
}

.in-btn--ghost {
	background: transparent;
	color: var(--text);
	border: 1.5px solid var(--gold);
	box-shadow: none;
}

.in-btn--ghost:hover {
	background: rgba(193, 154, 107, 0.12);
	color: var(--text);
	border-color: var(--gold);
	box-shadow: none;
}

.in-btn--ghost:active {
	background: rgba(193, 154, 107, 0.2);
	transform: translateY(0);
}

.in-textlink {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-family: var(--sans);
	font-size: 14px;
	font-weight: 700;
	color: var(--gold);
	text-decoration: none;
	white-space: nowrap;
}

.in-textlink svg {
	width: 16px;
	height: 16px;
	fill: none;
	stroke: currentColor;
	stroke-width: 2;
	stroke-linecap: round;
	stroke-linejoin: round;
	transition: transform 0.2s ease;
}

.in-textlink:hover svg {
	transform: translateX(3px);
}

/* ═══════════════ HERO ═══════════════ */
.in-hero {
	position: relative;
	overflow: hidden;
}

.in-hero__dots {
	position: absolute;
	inset: 0 auto 0 0;
	width: 55%;
	background-image: radial-gradient(rgba(193, 154, 107, 0.28) 1.2px, transparent 1.4px);
	background-size: 18px 18px;
	mask-image: radial-gradient(ellipse at 20% 40%, #000 0%, transparent 72%);
	pointer-events: none;
}

.in-hero__grid {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
	gap: 48px;
	align-items: center;
}

.in-crumbs {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 0 0 22px;
	font-family: var(--sans);
	font-size: 13px;
	color: var(--muted);
}

.in-crumbs a {
	color: var(--text);
	text-decoration: none;
}

.in-crumbs a:hover {
	color: var(--gold);
}

.in-hero__title {
	margin: 0 0 20px;
	max-width: 14ch;
	font-family: var(--serif);
	font-size: clamp(38px, 4.6vw, 58px);
	font-weight: 700;
	line-height: 1.1;
	color: var(--green-2);
}

.in-hero__title em {
	font-style: italic;
	font-weight: 600;
	color: var(--gold);
}

.in-hero__lead {
	margin: 0 0 32px;
	max-width: 46ch;
	font-family: var(--sans);
	font-size: 16.5px;
	line-height: 1.7;
	color: var(--muted);
}

.in-hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
}

.in-collage {
	position: relative;
	display: grid;
	grid-template-columns: 1.15fr 0.85fr;
	grid-template-rows: 1fr 1fr;
	gap: 14px;
	min-height: 460px;
	padding: 8px 0 8px 18px;
}

.in-tile {
	margin: 0;
	overflow: hidden;
	border-radius: 22px;
	transform: skewX(-10deg);
	box-shadow: 0 18px 36px rgba(20, 36, 30, 0.12);
}

.in-tile img {
	display: block;
	width: 118%;
	height: 100%;
	max-width: none;
	margin-left: -9%;
	object-fit: cover;
	transform: skewX(10deg) scale(1.04);
	transition: transform 0.55s ease;
}

.in-tile:hover img {
	transform: skewX(10deg) scale(1.1);
}

.in-tile--a { min-height: 230px; }
.in-tile--b { min-height: 210px; }
.in-tile--c { min-height: 200px; }
.in-tile--d { min-height: 230px; }

.in-badge {
	position: absolute;
	left: 50%;
	top: 50%;
	z-index: 2;
	display: grid;
	place-items: center;
	width: 72px;
	height: 72px;
	margin: -36px 0 0 -36px;
	border-radius: 16px;
	background: linear-gradient(145deg, #0c4634, #062c21);
	box-shadow: 0 14px 28px rgba(6, 44, 33, 0.35);
	transform: skewX(-10deg);
}

.in-badge span {
	font-family: var(--serif);
	font-size: 34px;
	font-weight: 700;
	line-height: 1;
	color: #d4b07a;
	transform: skewX(10deg);
	text-shadow: 0 2px 0 rgba(0, 0, 0, 0.2);
}

/* ═══════════════ INDUSTRY CARDS ═══════════════ */
.in-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 22px;
}

.in-card {
	display: flex;
	flex-direction: column;
	background: #fff;
	border-radius: 20px;
	overflow: visible;
	border: 1px solid rgba(10, 61, 45, 0.06);
	box-shadow: 0 12px 28px rgba(20, 36, 30, 0.05);
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.in-card:hover {
	transform: translateY(-6px);
	box-shadow: 0 20px 40px rgba(20, 36, 30, 0.1);
}

.in-card__media {
	position: relative;
	overflow: visible;
	z-index: 1;
}

.in-card__media-frame {
	height: 168px;
	overflow: hidden;
	border-radius: 20px 20px 0 0;
}

.in-card__media-frame img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.5s ease;
}

.in-card:hover .in-card__media-frame img {
	transform: scale(1.06);
}

.in-card__ico {
	position: absolute;
	left: 18px;
	bottom: -26px;
	z-index: 2;
	display: grid;
	place-items: center;
	width: 52px;
	height: 52px;
	padding: 0;
	border-radius: 14px;
	background: linear-gradient(145deg, #0a3d2d, #062c21);
	color: #fff;
	box-shadow: 0 12px 24px rgba(6, 44, 33, 0.28);
	overflow: visible;
}

.in-card__ico-ring {
	position: absolute;
	inset: -4px;
	border-radius: 16px;
	border: 1.5px solid rgba(212, 176, 122, 0.55);
	opacity: 0;
	animation: inCardIconWave 2.6s ease-out infinite;
	pointer-events: none;
}

.in-card__ico .skavend-icon {
	display: block;
	width: 22px;
	height: 22px;
	flex-shrink: 0;
	overflow: visible;
}

.in-card:hover .in-card__ico {
	transform: translateY(-2px);
	box-shadow: 0 16px 28px rgba(6, 44, 33, 0.32);
}

.in-card [data-in-icon].is-icon-live .skavend-icon {
	animation: inIconPop 0.65s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

@keyframes inCardIconWave {
	0% {
		transform: scale(0.82);
		opacity: 0.75;
	}
	100% {
		transform: scale(1.28);
		opacity: 0;
	}
}

@keyframes inIconPop {
	0% {
		transform: scale(0.72);
		opacity: 0.4;
	}
	100% {
		transform: scale(1);
		opacity: 1;
	}
}

.in-card__body {
	display: flex;
	flex-direction: column;
	flex: 1;
	padding: 38px 22px 22px;
	border-radius: 0 0 20px 20px;
	background: #fff;
}

.in-card h3 {
	margin: 0 0 8px;
	font-family: var(--serif);
	font-size: 22px;
	font-weight: 700;
	color: var(--green-2);
}

.in-card p {
	margin: 0 0 14px;
	font-family: var(--sans);
	font-size: 14.5px;
	line-height: 1.6;
	color: var(--muted);
}

.in-card ul {
	margin: 0 0 18px;
	padding: 0;
	list-style: none;
}

.in-card li {
	position: relative;
	padding: 4px 0 4px 16px;
	font-family: var(--sans);
	font-size: 13.5px;
	color: var(--text);
}

.in-card li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 11px;
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: #d4b07a;
}

.in-card a {
	margin-top: auto;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-family: var(--sans);
	font-size: 14px;
	font-weight: 700;
	color: var(--green-2);
	text-decoration: none;
}

.in-card a svg {
	width: 14px;
	height: 14px;
	fill: none;
	stroke: currentColor;
	stroke-width: 2;
	stroke-linecap: round;
	stroke-linejoin: round;
	transition: transform 0.2s ease;
}

.in-card a:hover {
	color: #0b4232;
	text-decoration: none;
}

.in-card a:active {
	color: #051a14;
}

.in-card a:hover svg {
	transform: translateX(3px);
}

.in-more {
	display: flex;
	justify-content: center;
	margin-top: 36px;
}

.in-card--extra[hidden] {
	display: none !important;
}

/* ═══════════════ WHY BANNER ═══════════════ */
.in-why {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
	gap: 40px;
	align-items: center;
	width: 100%;
	max-width: 100%;
	padding: clamp(36px, 4vw, 52px) clamp(28px, 4vw, 48px);
	border-radius: 28px;
	background: linear-gradient(160deg, #0a3d2d 0%, #062c21 60%, #05241b 100%);
	box-shadow: 0 28px 60px rgba(6, 44, 33, 0.24);
	overflow: hidden;
	box-sizing: border-box;
}

.in-why__glow {
	position: absolute;
	inset: 0;
	pointer-events: none;
	background:
		radial-gradient(circle at 18% 28%, rgba(212, 176, 122, 0.16), transparent 42%),
		radial-gradient(circle at 82% 72%, rgba(126, 205, 184, 0.12), transparent 38%);
}

.in-why__glow::before,
.in-why__glow::after {
	content: "";
	position: absolute;
	width: 220px;
	height: 220px;
	border-radius: 50%;
	border: 1px solid rgba(212, 176, 122, 0.14);
	animation: inWhyOrb 9s ease-in-out infinite alternate;
}

.in-why__glow::before {
	top: -80px;
	right: 12%;
}

.in-why__glow::after {
	bottom: -100px;
	left: 8%;
	animation-delay: -4s;
}

@keyframes inWhyOrb {
	0% { transform: translate3d(0, 0, 0) scale(1); opacity: 0.35; }
	100% { transform: translate3d(12px, -10px, 0) scale(1.08); opacity: 0.6; }
}

.in-why .in-h {
	max-width: 18ch;
}

.in-why__row {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 16px;
}

.in-why__item {
	text-align: center;
}

.in-why__icon {
	position: relative;
	display: grid;
	place-items: center;
	width: 64px;
	height: 64px;
	margin: 0 auto 14px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.06);
	border: 1.5px solid rgba(212, 176, 122, 0.42);
	color: #e8c98a;
	box-shadow: 0 8px 22px rgba(0, 0, 0, 0.18);
	overflow: visible;
	animation: inWhyIconFloat 3.6s ease-in-out infinite;
	animation-delay: var(--in-icon-delay, 0s);
}

.in-why__icon-wave {
	position: absolute;
	inset: -6px;
	border-radius: 50%;
	border: 1.5px solid rgba(212, 176, 122, 0.45);
	pointer-events: none;
}

.in-why__icon-wave--a {
	animation: inWhyIconWave 2.8s ease-out infinite;
	animation-delay: var(--in-icon-delay, 0s);
}

.in-why__icon-wave--b {
	animation: inWhyIconWave 2.8s ease-out infinite;
	animation-delay: calc(var(--in-icon-delay, 0s) + 1.4s);
}

.in-why__icon .skavend-icon {
	display: block;
	width: 26px;
	height: 26px;
	flex-shrink: 0;
	overflow: visible;
	filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.22));
}

.in-why__item:hover .in-why__icon {
	transform: translateY(-3px) scale(1.05);
	border-color: rgba(232, 201, 138, 0.75);
	color: #fff2d6;
}

.in-why [data-in-icon].is-icon-live .skavend-icon {
	animation: inIconPop 0.65s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

@keyframes inWhyIconFloat {
	0%, 100% { transform: translateY(0); }
	50% { transform: translateY(-5px); }
}

@keyframes inWhyIconWave {
	0% {
		transform: scale(0.7);
		opacity: 0.8;
	}
	100% {
		transform: scale(1.45);
		opacity: 0;
	}
}

.in-why__item p {
	margin: 0;
	font-family: var(--sans);
	font-size: 14px;
	font-weight: 600;
	line-height: 1.5;
	color: rgba(255, 255, 255, 0.94);
	text-wrap: balance;
}

/* ═══════════════ DELIVER ═══════════════ */
.in-deliver {
	display: grid;
	grid-template-columns: repeat(6, minmax(0, 1fr));
	gap: 18px;
}

.in-deliver__item {
	text-align: center;
	padding: 8px 6px;
}

.in-deliver__item span {
	display: grid;
	place-items: center;
	width: 72px;
	height: 72px;
	margin: 0 auto 18px;
	border-radius: 50%;
	border: 1.5px solid rgba(193, 154, 107, 0.45);
	background: linear-gradient(180deg, #fff, #f7f1e8);
	color: var(--gold);
	transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease;
}

.in-deliver__item:hover span {
	transform: scale(1.08) translateY(-3px);
	box-shadow: 0 12px 24px rgba(193, 154, 107, 0.2);
}

.in-deliver__item h3 {
	margin: 0 0 8px;
	font-family: var(--sans);
	font-size: 15px;
	font-weight: 700;
	color: var(--green-2);
}

.in-deliver__item p {
	margin: 0;
	font-family: var(--sans);
	font-size: 13.5px;
	line-height: 1.55;
	color: var(--muted);
}

/* ═══════════════ STORIES ═══════════════ */
.in-stories {
	padding: clamp(28px, 3vw, 40px);
	border-radius: 28px;
	background: #fff;
	box-shadow: 0 18px 48px rgba(20, 36, 30, 0.06);
}

.in-stories__head {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 20px;
	margin-bottom: 28px;
}

.in-stories__list {
	display: grid;
	gap: 16px;
}

.in-story {
	display: grid;
	grid-template-columns: 220px minmax(0, 1fr);
	gap: 22px;
	align-items: stretch;
	padding: 12px;
	border-radius: 18px;
	background: #fbf9f5;
	border: 1px solid rgba(10, 61, 45, 0.05);
	transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.in-story:hover {
	transform: translateY(-3px);
	box-shadow: 0 14px 28px rgba(20, 36, 30, 0.08);
}

.in-story__media {
	overflow: hidden;
	border-radius: 14px;
	min-height: 160px;
}

.in-story__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.in-story__body {
	display: flex;
	flex-direction: column;
	padding: 8px 8px 8px 0;
}

.in-story h3 {
	margin: 0 0 4px;
	font-family: var(--serif);
	font-size: 24px;
	font-weight: 700;
	color: var(--green-2);
}

.in-story__cat {
	margin: 0 0 8px !important;
	font-size: 12px !important;
	font-weight: 600;
	letter-spacing: 0.04em;
	color: var(--gold) !important;
}

.in-story p {
	margin: 0 0 14px;
	font-family: var(--sans);
	font-size: 14.5px;
	line-height: 1.55;
	color: var(--muted);
}

.in-story__stats {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 0;
	margin-bottom: 14px;
	padding: 12px 0;
	border-radius: 10px;
	background: rgba(249, 247, 242, 0.8);
}

.in-story__stats div {
	padding: 0 14px;
	border-right: 1px solid rgba(20, 36, 30, 0.1);
}

.in-story__stats div:last-child {
	border-right: 0;
}

.in-story__stats strong {
	display: block;
	font-family: var(--serif);
	font-size: 22px;
	color: var(--green-2);
}

.in-story__stats span {
	display: block;
	margin-top: 2px;
	font-size: 12px;
	color: var(--muted);
}

.in-story a {
	margin-top: auto;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-family: var(--sans);
	font-size: 14px;
	font-weight: 700;
	color: var(--gold);
	text-decoration: none;
}

.in-story a svg {
	width: 14px;
	height: 14px;
	fill: none;
	stroke: currentColor;
	stroke-width: 2;
	stroke-linecap: round;
	stroke-linejoin: round;
}

/* ═══════════════ METRICS ═══════════════ */
.in-metrics {
	display: grid;
	grid-template-columns: repeat(6, minmax(0, 1fr));
	gap: 8px;
	padding: 28px 20px;
	border-radius: 24px;
	background: linear-gradient(160deg, #0a3d2d 0%, #062c21 100%);
}

.in-metric {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	padding: 8px 10px;
}

.in-metric span {
	color: #d4b07a;
	flex-shrink: 0;
	margin-top: 4px;
}

.in-metric strong {
	display: block;
	font-family: var(--serif);
	font-size: clamp(22px, 2.2vw, 30px);
	font-weight: 700;
	line-height: 1.1;
	color: #fff;
}

.in-metric em {
	display: block;
	margin-top: 4px;
	font-family: var(--sans);
	font-style: normal;
	font-size: 12px;
	line-height: 1.35;
	color: rgba(255, 255, 255, 0.72);
}

/* Reveal */
.in-page .skavend-reveal {
	opacity: 0;
	transform: translateY(18px);
	transition: opacity 0.55s ease, transform 0.55s ease;
}

.in-page .skavend-reveal.is-revealed {
	opacity: 1;
	transform: translateY(0);
}

@media (max-width: 1100px) {
	.in-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.in-deliver,
	.in-metrics {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 22px;
	}

	.in-why {
		grid-template-columns: 1fr;
	}

	.in-why .in-h {
		max-width: none;
	}

	.in-why__row {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 20px;
	}
}

@media (max-width: 900px) {
	.in-shell {
		width: var(--shell-width, 90%);
	}

	.in-hero__grid,
	.in-story {
		grid-template-columns: 1fr;
	}

	.in-hero__title {
		max-width: none;
	}

	.in-collage {
		min-height: 360px;
		padding-left: 0;
	}

	.in-stories__head {
		flex-direction: column;
		align-items: flex-start;
	}
}

@media (max-width: 680px) {
	.in-grid,
	.in-deliver {
		grid-template-columns: 1fr 1fr;
	}

	.in-metrics {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 12px 10px;
		padding: 22px 16px;
	}

	.in-metric {
		flex-direction: column;
		align-items: center;
		text-align: center;
		padding: 12px 8px;
		gap: 8px;
	}

	.in-metric span {
		margin-top: 0;
	}

	.in-metric em {
		font-size: 11px;
	}

	.in-why {
		padding: 28px 20px;
		gap: 24px;
	}

	.in-why__row {
		grid-template-columns: 1fr;
		gap: 12px;
	}

	.in-why__item {
		display: flex;
		align-items: center;
		gap: 14px;
		text-align: left;
		padding: 14px 16px;
		background: rgba(255, 255, 255, 0.05);
		border: 1px solid rgba(212, 176, 122, 0.22);
		border-radius: 14px;
	}

	.in-why__icon {
		margin: 0;
		width: 52px;
		height: 52px;
		flex-shrink: 0;
	}

	.in-why__item p {
		margin: 0;
		font-size: 13px;
		line-height: 1.45;
		text-align: left;
	}

	.in-story__stats {
		grid-template-columns: 1fr;
	}

	.in-story__stats div {
		border-right: 0;
		border-bottom: 1px solid rgba(20, 36, 30, 0.1);
		padding: 10px 0;
	}

	.in-story__stats div:last-child {
		border-bottom: 0;
	}

	.in-hero__title {
		font-size: 34px;
	}
}

@media (max-width: 480px) {
	.in-grid,
	.in-deliver {
		grid-template-columns: 1fr;
	}

	.in-metrics {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (prefers-reduced-motion: reduce) {
	.in-card,
	.in-story,
	.in-btn,
	.in-tile img,
	.in-page .skavend-reveal,
	.in-card__ico-ring,
	.in-why__icon,
	.in-why__icon-wave,
	.in-why__glow::before,
	.in-why__glow::after {
		transition: none;
		animation: none;
	}

	.in-page .skavend-reveal {
		opacity: 1;
		transform: none;
	}
}
