/* ═══════════════════════════════════════════════════════════════════
   LANDING PAGE — Mindpool front-page.php
   Pixel-faithful styling for the 12 sections of the landing design.
   Loads only on the front page (see functions.php).
   ═══════════════════════════════════════════════════════════════════ */

/* ─────────────  BUTTON VARIANTS  ───────────── */
.btn-navy {
	background: var(--primary);
	color: var(--white);
}
.btn-navy:hover {
	background: var(--primary-deep);
	transform: translateY(-1px);
}

/* ─────────────  HERO  ───────────── */
.lp-hero {
	background: var(--primary);
	color: var(--white);
	padding: 0;
	height: 878px;
	/* No margin-bottom — next section's padding-top defines the gap. */
	margin-bottom: 0;
	position: relative;
	overflow: hidden;
}
.lp-hero .container { height: 100%; position: relative; }
.lp-hero-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	height: 100%;
	align-items: center;
	gap: 80px;
}
.lp-hero-text h1 {
	color: var(--white);
	font-weight: 300;
	font-size: 80px;
	line-height: 1.2;
	letter-spacing: -0.01em;
	margin: 0 0 44px;
}
.lp-hero-text .btn {
	font-size: 15px;
	padding: 14px 24px;
}
.lp-hero-visual {
	position: absolute;
	right: 0;
	top: 50%;
	transform: translateY(-50%);
	width: 1056px;
	height: 878px;
}
.lp-hero-visual img {
	width: 100%;
	height: 100%;
	display: block;
}

/* ─────────────  ABOUT (lead + mission/vision + circle image)  ───────────── */
.lp-about {
	background: var(--white);
	padding: 120px 0;
}
.lp-about-grid {
	display: grid;
	grid-template-columns: 1.05fr 1fr;
	gap: 100px;
	align-items: center;
}
.lp-about-lead {
	font-size: 42px;
	font-weight: 400;
	color: var(--ink);
	line-height: 1.2;
	margin: 0 0 50px;
	max-width: 720px;
}
.lp-mv-row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 50px;
	margin-bottom: 50px;
}
.lp-mv-icon {
	width: 56px;
	height: 56px;
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--secondary);
	margin-bottom: 18px;
}
.lp-mv h4 {
	font-size: 20px;
	font-weight: 500;
	color: var(--ink);
	margin: 0 0 12px;
}
.lp-mv p {
	font-size: 14px;
	line-height: 1.6;
	color: var(--body);
	margin: 0;
}
.lp-about-visual {
	position: relative;
	width: 100%;
	height: 440px;
}
.lp-about-circle {
	position: absolute;
	width: 360px;
	height: 360px;
	border-radius: 50%;
	/* background: linear-gradient(135deg, #D7EAE5 0%, #329C8A 100%); */
	top: 50%;
	left: 60px;
	transform: translateY(-50%);
	z-index: 0;
}
.lp-about-visual img {
	position: absolute;
	/* width: 360px; */
	/* height: 360px; */
	/* Mobile responsive blocks size this image into a square; without
	   object-fit the 419x363 source gets distorted. contain shows the
	   full image without cropping (leaves transparent gaps top/bottom). */
	object-fit: contain;
	/* border-radius: 50%; */
	top: 50%;
	left: 160px;
	transform: translateY(-50%);
	z-index: 1;
}

/* ─────────────  FLEXIBLE IT STAFFING SOLUTIONS  ───────────── */
.lp-services {
	background: #F1F5F8;
	padding: 120px 0;
}
.lp-services-head {
	margin-bottom: 50px;
	max-width: 720px;
}
.lp-services-head h2 {
	font-size: 44px;
	font-weight: 500;
	color: var(--ink);
	margin: 0 0 16px;
	letter-spacing: -0.01em;
}
.lp-services-head p {
	font-size: 16px;
	font-weight: 400;
	color: var(--body);
	margin: 0;
	line-height: 1.6;
}
.lp-services-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 32px;
}
.lp-service-img {
	display: block;
	border-radius: 12px;
	overflow: hidden;
	margin-bottom: 24px;
	aspect-ratio: 527/623;
}
.lp-service-img img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	display: block;
	transition: transform .4s ease;
}
.lp-service {
	display: block;
	color: inherit;
	transition: transform .25s ease;
}
/* Only the image is the link now — the heading and body are not clickable. */
a.lp-service-img {
	color: inherit;
	text-decoration: none;
}
a.lp-service-img:focus { outline: none; }
a.lp-service-img:focus-visible {
	outline: 2px solid var(--secondary);
	outline-offset: 4px;
}
.lp-service:has(a.lp-service-img:hover),
.lp-service:has(a.lp-service-img:focus-visible) {
	transform: translateY(-4px);
}
a.lp-service-img:hover img,
a.lp-service-img:focus-visible img {
	transform: scale(1.03);
}
.lp-service h3 {
	display: inline-flex;
	align-items: center;
	font-size: 24px;
	font-weight: 500;
	color: var(--ink);
	margin: 0 0 10px;
	transition: color .25s ease;
}
.lp-service h3::after {
	content: "→";
	display: inline-block;
	margin-left: 0;
	width: 0;
	opacity: 0;
	color: var(--secondary);
	transform: translateX(-6px);
	overflow: hidden;
	transition: opacity .25s ease, transform .25s ease, width .25s ease, margin-left .25s ease;
}
a.lp-service-img:hover ~ h3,
a.lp-service-img:focus-visible ~ h3 {
	color: var(--secondary);
}
a.lp-service-img:hover ~ h3::after,
a.lp-service-img:focus-visible ~ h3::after {
	opacity: 1;
	width: 1em;
	margin-left: 10px;
	transform: translateX(0);
}
.lp-service p {
	font-size: 14px;
	line-height: 1.6;
	color: var(--body);
	margin: 0;
}

/* ─────────────  INDUSTRIES (4-card grid, first featured teal)  ───────────── */
.lp-industries {
	background: var(--white);
	padding: 120px 0;
}
.lp-industries-head {
	display: flex;
	justify-content: space-between;
	align-items: flex-end;
	gap: 60px;
	margin-bottom: 50px;
}
.lp-industries-titles { max-width: 720px; }
.lp-industries-head h2 {
	font-size: 44px;
	font-weight: 500;
	color: var(--ink);
	margin: 0 0 16px;
	letter-spacing: -0.01em;
}
.lp-industries-head p {
	font-size: 16px;
	color: var(--body);
	margin: 0;
	line-height: 1.6;
}
.lp-industries-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 24px;
	align-items: stretch;
}
.lp-industry {
	background: #F1F5F8;
	border-radius: 14px;
	padding: 32px 28px;
	transition: background .25s ease, transform .2s ease;
	display: flex;
	flex-direction: column;
	height: 100%;
}
.lp-industry h3 { min-height: 2.4em; }
.lp-industry:hover {
	transform: translateY(-3px);
	background: var(--secondary);
}
.lp-industry-icon {
	color: var(--primary);
	margin-bottom: 24px;
}
.lp-industry h3 {
	font-size: 22px;
	font-weight: 500;
	color: var(--ink);
	margin: 0 0 12px;
	line-height: 1.2;
}
.lp-industry p {
	font-size: 13px;
	line-height: 1.6;
	color: var(--body);
	margin: 0;
}
.lp-industry:hover h3,
.lp-industry:hover p {
	color: var(--ink);
}

/* ─────────────  POWERED BY LEADING TECHNOLOGIES  ───────────── */
.lp-powered {
	background: var(--primary);
	color: var(--white);
	padding: 120px 0;
}
.lp-powered-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 80px;
	align-items: start;
}
.lp-powered-text h2 {
	color: var(--white);
	font-size: 44px;
	font-weight: 500;
	letter-spacing: -0.01em;
	margin: 0 0 28px;
	line-height: 1.1;
}
.lp-powered-text .btn { margin-bottom: 50px; }
.lp-powered-visual {
	position: relative;
	width: 100%;
	height: 380px;
}
.lp-powered-visual img {
	position: absolute;
	/* width: 320px; */
	/* height: 320px; */
	/* object-fit: cover; */
	/* border-radius: 50%; */
	top: 50%;
	left: 0;
	transform: translateY(-50%);
	z-index: 1;
}
.lp-powered-cards {
	display: flex;
	flex-direction: column;
	gap: 16px;
	padding-top: 24px;
}
.lp-tech-card {
	background: rgba(255, 255, 255, 0.04);
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: 12px;
	padding: 28px 32px;
}
.lp-tech-card h3 {
	color: var(--white);
	font-size: 22px;
	font-weight: 500;
	margin: 0 0 12px;
}
.lp-tech-card p {
	color: rgba(255, 255, 255, 0.72);
	font-size: 13px;
	line-height: 1.6;
	margin: 0;
}

/* ─────────────  CAREER / VIDEO BANNER  ─────────────
   Section is sized to the natural aspect ratio of video-section.png
   (1920×900) so the background image shows in full without crop.
   min-height keeps it readable when responsive overrides clamp the
   width down. */
.lp-career {
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	padding: 0;
	aspect-ratio: 1920 / 900;
	min-height: 460px;
	position: relative;
}
.lp-career::before {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(0, 0, 0, 0.15) 0%, rgba(0, 0, 0, 0.55) 100%);
}
.lp-career .container {
	position: relative;
	height: 100%;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: flex-end;
	padding-top: 40px;
	padding-bottom: 40px;
}
/* Play button absolutely centered in the .lp-career section so it stays
   in the middle regardless of how tall the section is or where the
   bottom-row content sits. */
.lp-career-play {
	position: absolute;
	top: 50%;
	left: 50%;
	width: 84px;
	height: 84px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.18);
	border: 1.5px solid rgba(255, 255, 255, 0.35);
	backdrop-filter: blur(6px);
	-webkit-backdrop-filter: blur(6px);
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: transform .2s ease, background .2s ease;
	transform: translate(-50%, -50%);
	z-index: 1;
}
.lp-career-play:hover {
	transform: translate(-50%, -50%) scale(1.08);
	background: rgba(255, 255, 255, 0.28);
}
.lp-career-bottom {
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: flex-start;
	gap: 24px;
	position: relative;
}
.lp-career-bottom h2 {
	color: var(--white);
	font-size: 56px;
	font-weight: 500;
	margin: 0;
	line-height: 1.2;
	padding-right: 24px;
	border-right: 1px solid rgba(255, 255, 255, 0.3);
}
.lp-career-cta {
	font-size: 15px;
	flex: 0 0 auto;
}

/* ─────────────  PROVEN DELIVERY PROCESS  ───────────── */
.lp-process {
	background: var(--white);
	padding: 120px 0;
}
.lp-process-card {
	background: #F1F5F8;
	border-radius: 18px;
	padding: 70px 80px 70px;
}
.lp-process-head {
	text-align: center;
	margin: 0 auto 60px;
	max-width: 640px;
}
.lp-process-head h2 {
	font-size: 36px;
	font-weight: 500;
	color: var(--ink);
	margin: 0 0 14px;
}
.lp-process-head p {
	font-size: 14px;
	color: var(--body);
	margin: 0;
	line-height: 1.6;
}
.lp-steps {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 40px;
	list-style: none;
	margin: 0;
	padding: 0;
	position: relative;
}
.lp-steps::before {
	content: "";
	position: absolute;
	top: 11px;
	/* Align the connector to the left-aligned numbers: start at "01" (left:0,
	   masked by the 01 chip) and end at "04"'s right edge. In a 4-col 1fr grid
	   with 40px gaps, col-4 number right ≈ 75% + 64px, so the right inset is
	   25% - 64px. Result: no gap before 01, no trailing after 04, even gaps. */
	left: 0;
	right: calc(25% - 64px);
	border-top: 1.5px dashed rgba(12, 21, 89, 0.28);
	z-index: 0;
}
.lp-step {
	position: relative;
	text-align: left;
}
.lp-step-num {
	display: inline-block;
	font-size: 14px;
	font-weight: 500;
	color: var(--ink);
	background: #F1F5F8;
	padding: 0 8px;
	margin-bottom: 26px;
	position: relative;
	z-index: 1;
	letter-spacing: 0.5px;
}
.lp-step h4 {
	font-size: 18px;
	font-weight: 500;
	color: var(--ink);
	margin: 0 0 10px;
	line-height: 1.3;
	/* Reserve two lines so every step title is the same height and the step
	   descriptions line up, regardless of title length. 2.6em = 2 × 1.3. */
	min-height: 2.6em;
}
.lp-step p {
	font-size: 13px;
	color: var(--body);
	margin: 0;
	line-height: 1.5;
}

/* ─────────────  TRUSTED PARTNERS  ───────────── */
.lp-partners {
	background: var(--white);
	padding: 120px 0;
	text-align: center;
}
.lp-partners h2 {
	font-size: 28px;
	font-weight: 500;
	color: var(--ink);
	margin: 0 0 40px;
}
/* Marquee wrapper clips the duplicated strip so the looping content
   stays inside the section. Hover pauses the animation. */
.lp-partners-marquee {
	overflow: hidden;
	mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
	-webkit-mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
}
.lp-partners-strip {
	display: flex;
	align-items: center;
	gap: 80px;
	width: max-content;
	animation: lp-partners-scroll 30s linear infinite;
}
.lp-partners-marquee:hover .lp-partners-strip {
	animation-play-state: paused;
}
@keyframes lp-partners-scroll {
	from { transform: translateX(0); }
	to   { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
	.lp-partners-strip { animation: none; }
}
.lp-partner {
	flex: 0 0 auto;
	font-size: 24px;
	font-weight: 500;
	color: rgba(12, 21, 89, 0.32);
	letter-spacing: 0.5px;
	font-family: var(--font);
	white-space: nowrap;
}

/* ─────────────  LANDING — SQUARE CORNERS  ─────────────
   User asked for square buttons and card edges on the home page only.
   body.home scopes the override so service / industry-IT pages (which
   also load landing.css for shared .lp-* patterns) keep their rounded
   shapes. .consult-submit is excluded so the consultation popup's CTA
   stays consistent across pages. */
body.home .btn:not(.consult-submit),
body.home .btn-cta-light,
body.home .nav-cta,
body.home .lp-service-img,
body.home .lp-industry,
body.home .lp-tech-card,
body.home .lp-process-card {
	border-radius: 0;
}
/* .lp-career-play stays circular (border-radius: 50% from .lp-career-play rule). */

/* Home "Our Proven Delivery Process" — centre each step (number chip, title,
   body) at every width. The dashed connector is re-centred to run between the
   centred 01 and 04 chips (each number column centre ≈ 12.5% / 87.5%); the chip
   backgrounds mask the line ends, so no dangling segments. Scoped to body.home
   so the Service / Industry-IT process steps keep their left-aligned layout. */
body.home .lp-step { text-align: center; }
body.home .lp-steps::before { left: 12.5%; right: 12.5%; }
