/* =========================================================================
   Linchpin SE — main.css
   Foundation: tokens, reset, typography, header (top-nav), footer,
   buttons, shared cards + project filter. Section-specific styles are
   split into per-area files / block stylesheets.
   ========================================================================= */

/* --- Design tokens ------------------------------------------------------ */
:root {
	--lp-orange: #e97e20;
	--lp-orange-dark: #c24026;
	--lp-grey: #848486;
	--lp-grey-light: #9a999a;
	--lp-grey-bg: #f5f5f5;
	--lp-white: #ffffff;
	--lp-black: #000000;
	--lp-dark: #201f1f;
	--lp-slate: #425462;
	--lp-blue: #139edb;

	--lp-text: #444444;
	--lp-heading: #201f1f;

	--lp-font-body: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
	--lp-font-head: 'Montserrat', 'Poppins', sans-serif;
	--lp-font-alt: 'Titillium Web', 'Poppins', sans-serif;

	--lp-container: 1200px;
	--lp-container-wide: 1340px;
	--lp-gutter: clamp(1.25rem, 4vw, 3rem);

	--lp-header-h: 84px;
	--lp-radius: 4px;
	--lp-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
	--lp-shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.15);
	--lp-ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* --- Reset / base ------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--lp-header-h); -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
	margin: 0;
	font-family: var(--lp-font-body);
	font-size: 1rem;
	line-height: 1.7;
	color: var(--lp-text);
	background: var(--lp-white);
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}

img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: var(--lp-orange); text-decoration: none; transition: color 0.2s ease; }
a:hover { color: var(--lp-orange-dark); }

h1, h2, h3, h4, h5, h6 {
	font-family: var(--lp-font-head);
	color: var(--lp-heading);
	line-height: 1.2;
	margin: 0 0 0.5em;
	font-weight: 700;
}
h1 { font-weight: 800; line-height: 1.1; }
p { margin: 0 0 1.25rem; }

/* Accessibility helpers */
.screen-reader-text {
	position: absolute !important;
	width: 1px; height: 1px;
	padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0, 0, 0, 0);
	white-space: nowrap; border: 0;
}
.lp-skip-link {
	position: absolute; left: -9999px; top: 0; z-index: 1000;
	background: var(--lp-orange); color: #fff; padding: 0.75rem 1.25rem;
}
.lp-skip-link:focus { left: 1rem; top: 1rem; color: #fff; }
:focus-visible { outline: 3px solid var(--lp-orange); outline-offset: 2px; }

/* --- Layout helpers ----------------------------------------------------- */
.lp-container { max-width: var(--lp-container); margin-inline: auto; padding-inline: var(--lp-gutter); }
.lp-container--wide { max-width: var(--lp-container-wide); }
.lp-section { padding-block: clamp(3.5rem, 8vw, 7rem); }
.lp-section--dark { background: var(--lp-dark); color: #cfcfcf; }
.lp-section--dark h1, .lp-section--dark h2, .lp-section--dark h3 { color: #fff; }
.lp-section--grey { background: var(--lp-grey-bg); }

/* Eyebrow + section title pattern (replaces the floating watermark word) */
.lp-eyebrow {
	font-family: var(--lp-font-head);
	text-transform: uppercase;
	letter-spacing: 0.18em;
	font-size: 0.8rem;
	font-weight: 600;
	color: var(--lp-orange);
	margin: 0 0 0.75rem;
}
.lp-section-title { font-size: clamp(1.75rem, 4vw, 2.75rem); margin: 0 0 1rem; }
.lp-section-title span { color: var(--lp-orange); }

/* --- Buttons ------------------------------------------------------------ */
.lp-btn {
	display: inline-flex; align-items: center; gap: 0.5rem;
	font-family: var(--lp-font-head); font-weight: 600; font-size: 0.85rem;
	text-transform: uppercase; letter-spacing: 0.08em;
	padding: 0.9rem 1.75rem; border-radius: var(--lp-radius);
	background: var(--lp-orange); color: #fff !important;
	border: 2px solid var(--lp-orange);
	transition: background 0.25s var(--lp-ease), color 0.25s var(--lp-ease), transform 0.25s var(--lp-ease);
	cursor: pointer;
}
.lp-btn:hover { background: var(--lp-orange-dark); border-color: var(--lp-orange-dark); transform: translateY(-2px); }
.lp-btn--outline { background: transparent; color: var(--lp-orange) !important; }
.lp-btn--outline:hover { background: var(--lp-orange); color: #fff !important; }
.lp-btn--text {
	background: none; border: none; color: var(--lp-orange) !important; padding: 0;
	text-transform: uppercase;
}
.lp-btn--text:hover { color: var(--lp-orange-dark); transform: none; }

/* =========================================================================
   HEADER — top navigation (no side menu, no "MENU" word, no scroll anim)
   ========================================================================= */
.lp-header {
	position: sticky; top: 0; z-index: 100;
	background: rgba(255, 255, 255, 0.97);
	backdrop-filter: saturate(180%) blur(8px);
	border-bottom: 1px solid rgba(0, 0, 0, 0.06);
	transition: box-shadow 0.3s ease;
}
.lp-header.is-scrolled { box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08); }
.lp-header__inner {
	max-width: var(--lp-container-wide); margin-inline: auto;
	padding: 0 var(--lp-gutter);
	min-height: var(--lp-header-h);
	display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
}
.lp-header__brand img, .lp-header .custom-logo { max-height: 52px; width: auto; }
.lp-logo { display: inline-flex; align-items: center; gap: 0.7rem; }
.lp-logo__mark { width: 44px; height: 44px; object-fit: contain; }
.lp-logo-text { font-family: var(--lp-font-head); line-height: 1; color: var(--lp-heading); }
.lp-logo-text strong { display: block; font-size: 1.35rem; font-weight: 800; letter-spacing: 0.04em; color: var(--lp-heading); }
.lp-logo-text span { font-size: 0.62rem; text-transform: uppercase; letter-spacing: 0.22em; color: var(--lp-grey); }

/* Nav */
.lp-nav .lp-menu {
	list-style: none; margin: 0; padding: 0;
	display: flex; align-items: center; gap: 0.35rem;
}
.lp-menu li { position: relative; }
.lp-menu a {
	display: block; padding: 0.6rem 1rem;
	font-family: var(--lp-font-head); font-weight: 600; font-size: 0.9rem;
	color: var(--lp-heading); text-transform: capitalize;
}
.lp-menu a:hover,
.lp-menu .current-menu-item > a,
.lp-menu .current_page_item > a,
.lp-menu .current-menu-parent > a { color: var(--lp-orange); }

/* Dropdowns (Who We Are / What We Do) */
.lp-menu .sub-menu {
	position: absolute; top: 100%; left: 0; min-width: 220px;
	list-style: none; margin: 0; padding: 0.5rem 0;
	background: #fff; box-shadow: var(--lp-shadow); border-radius: var(--lp-radius);
	opacity: 0; visibility: hidden; transform: translateY(8px);
	transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
	z-index: 10;
}
.lp-menu li:hover > .sub-menu,
.lp-menu li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.lp-menu .sub-menu a { padding: 0.55rem 1.25rem; font-size: 0.85rem; }

/* CTA item */
.lp-menu__cta a, .lp-menu .menu-item-cta a {
	background: var(--lp-orange); color: #fff; border-radius: var(--lp-radius);
	margin-left: 0.5rem;
}
.lp-menu__cta a:hover, .lp-menu .menu-item-cta a:hover { background: var(--lp-orange-dark); color: #fff; }

/* Mobile toggle (icon only — no MENU text) */
.lp-nav-toggle {
	display: none; flex-direction: column; gap: 5px;
	width: 44px; height: 44px; padding: 10px; border: 0; background: none; cursor: pointer;
}
.lp-nav-toggle__bar { display: block; height: 2px; width: 100%; background: var(--lp-heading); transition: transform 0.3s var(--lp-ease), opacity 0.3s; }
.lp-nav-toggle[aria-expanded="true"] .lp-nav-toggle__bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.lp-nav-toggle[aria-expanded="true"] .lp-nav-toggle__bar:nth-child(2) { opacity: 0; }
.lp-nav-toggle[aria-expanded="true"] .lp-nav-toggle__bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 980px) {
	.lp-nav-toggle { display: flex; }
	.lp-nav {
		position: fixed; inset: var(--lp-header-h) 0 0 auto; width: min(320px, 85vw);
		background: #fff; box-shadow: var(--lp-shadow-lg);
		transform: translateX(100%); transition: transform 0.35s var(--lp-ease);
		overflow-y: auto; padding: 1rem 0;
	}
	.lp-nav.is-open { transform: translateX(0); }
	.lp-nav .lp-menu { flex-direction: column; align-items: stretch; gap: 0; }
	.lp-menu a { padding: 0.9rem 1.5rem; border-bottom: 1px solid rgba(0,0,0,0.05); }
	.lp-menu .sub-menu {
		position: static; opacity: 1; visibility: visible; transform: none;
		box-shadow: none; padding: 0 0 0 1rem;
	}
	.lp-menu__cta a { margin: 0.5rem 1.5rem; text-align: center; }
}

/* =========================================================================
   SHARED COMPONENTS — project + team cards, filter bar
   ========================================================================= */
.lp-grid { display: grid; gap: 1.5rem; align-items: start; }
/* Fix: WordPress flow-layout adds margin-block-start to all children except the
   first, which makes the first grid column sit higher than the rest. Neutralize. */
.lp-grid > * { margin-block: 0 !important; margin-top: 0 !important; align-self: start; }
.lp-grid--3 { grid-template-columns: repeat(3, 1fr); }
.lp-grid--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .lp-grid--3, .lp-grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .lp-grid--3, .lp-grid--4 { grid-template-columns: 1fr; } }

/* Project card */
.lp-project-card { position: relative; overflow: hidden; border-radius: var(--lp-radius); background: #000; }
.lp-project-card__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; }
.lp-project-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--lp-ease), opacity 0.4s ease; }
.lp-project-card:hover .lp-project-card__media img { transform: scale(1.08); opacity: 0.55; }
.lp-project-card__zoom {
	position: absolute; inset: 0; margin: auto; width: 54px; height: 54px;
	display: grid; place-items: center; font-size: 2rem; color: #fff;
	border: 2px solid #fff; border-radius: 50%;
	opacity: 0; transform: scale(0.6); transition: opacity 0.3s ease, transform 0.3s var(--lp-ease);
}
.lp-project-card:hover .lp-project-card__zoom { opacity: 1; transform: scale(1); }
.lp-project-card__body {
	position: absolute; left: 0; right: 0; bottom: 0; padding: 1.25rem;
	background: linear-gradient(transparent, rgba(0,0,0,0.85));
	transform: translateY(8px); transition: transform 0.3s ease;
}
.lp-project-card:hover .lp-project-card__body { transform: translateY(0); }
.lp-project-card__cat { display: block; font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.15em; color: var(--lp-orange); margin-bottom: 0.25rem; }
.lp-project-card__title { font-size: 1rem; color: #fff; margin: 0; }
.lp-project-card.is-hidden { display: none; }

/* Team card */
.lp-team-card { text-align: center; }
.lp-team-card__media { position: relative; aspect-ratio: 5 / 6; overflow: hidden; border-radius: var(--lp-radius); background: var(--lp-grey-bg); }
.lp-team-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--lp-ease); }
.lp-team-card:hover .lp-team-card__media img { transform: scale(1.06); }
.lp-team-card__more {
	position: absolute; inset: 0; margin: auto; width: 48px; height: 48px;
	display: grid; place-items: center; font-size: 1.75rem; color: #fff; background: var(--lp-orange);
	border-radius: 50%; opacity: 0; transform: scale(0.6); transition: 0.3s var(--lp-ease);
}
.lp-team-card:hover .lp-team-card__more { opacity: 1; transform: scale(1); }
.lp-team-card__name { font-size: 1.05rem; margin: 0.85rem 0 0.15rem; }
.lp-team-card__role { font-size: 0.8rem; color: var(--lp-grey); margin: 0; text-transform: uppercase; letter-spacing: 0.08em; }

/* Filter bar */
.lp-filter { display: flex; flex-wrap: wrap; gap: 0.5rem; justify-content: center; margin-bottom: 2.5rem; }
.lp-filter__btn {
	font-family: var(--lp-font-head); font-weight: 600; font-size: 0.8rem;
	text-transform: uppercase; letter-spacing: 0.06em;
	padding: 0.55rem 1.15rem; border: 1px solid rgba(0,0,0,0.12); border-radius: 999px;
	background: #fff; color: var(--lp-heading); cursor: pointer; transition: 0.2s ease;
}
.lp-filter__btn:hover { border-color: var(--lp-orange); color: var(--lp-orange); }
.lp-filter__btn.is-active { background: var(--lp-orange); border-color: var(--lp-orange); color: #fff; }

/* =========================================================================
   FOOTER — dark, geometric constellation bg, single contact column, back-to-top
   ========================================================================= */
.lp-footer {
	position: relative; overflow: hidden;
	background-color: var(--lp-dark); color: #b9b9bb; font-size: 0.92rem;
	/* Static SVG constellation = fallback for reduced-motion / no-JS; the
	   animated canvas (lp-footer__particles) draws on top when enabled. */
	background-image: url("../images/footer-pattern.svg");
	background-repeat: no-repeat; background-position: right center; background-size: auto 100%;
}
/* Animated particle canvas host (faithful port of the original jParticle footer) */
.lp-footer__particles { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.lp-footer__particles canvas { display: block; width: 100%; height: 100%; }
.lp-footer__watermark {
	position: absolute; left: -0.1em; top: 50%; transform: translateY(-50%) rotate(180deg);
	writing-mode: vertical-rl; font-family: var(--lp-font-head); font-weight: 800;
	font-size: clamp(4rem, 12vw, 9rem); letter-spacing: 0.1em;
	color: rgba(255,255,255,0.03); pointer-events: none; user-select: none; line-height: 1;
}
.lp-footer__inner { position: relative; z-index: 1; max-width: var(--lp-container-wide); margin-inline: auto; padding-inline: var(--lp-gutter); }
.lp-footer__main { padding-block: clamp(3rem, 6vw, 5rem); }
.lp-footer__main .lp-footer__inner {
	display: grid; grid-template-columns: 1.3fr 1.4fr 1fr; gap: 2.5rem;
}
@media (max-width: 860px) { .lp-footer__main .lp-footer__inner { grid-template-columns: 1fr; gap: 2.25rem; } }
.lp-footer a { color: #d8d8da; }
.lp-footer a:hover { color: var(--lp-orange); }
.lp-footer__heading { color: #fff; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.14em; margin: 0 0 1rem; }
.lp-footer .lp-logo--footer .lp-logo-text strong { color: #fff; }
.lp-footer .lp-logo--footer .lp-logo-text span { color: var(--lp-grey-light); }
.lp-footer__tag { margin: 1rem 0 1.25rem; max-width: 32ch; }

/* Single contact column with orange icons */
.lp-footer__contactlist { list-style: none; margin: 0; padding: 0; }
.lp-footer__contactlist li { display: flex; gap: 0.75rem; margin-bottom: 1rem; line-height: 1.6; }
.lp-footer__contactlist strong { color: #fff; font-family: var(--lp-font-head); }
.lp-footer__ico { color: var(--lp-orange); flex: 0 0 auto; font-size: 1.05rem; line-height: 1.4; }

.lp-footer__menu { list-style: none; margin: 0; padding: 0; }
.lp-footer__menu li { margin-bottom: 0.55rem; }

/* Social */
.lp-footer__social { list-style: none; margin: 0.25rem 0 0; padding: 0; display: flex; gap: 0.75rem; }
.lp-footer__social a {
	width: 42px; height: 42px; display: grid; place-items: center; color: #fff;
	border: 1px solid rgba(255,255,255,0.18); border-radius: 50%; transition: 0.2s ease;
}
.lp-footer__social a:hover { background: var(--lp-orange); border-color: var(--lp-orange); color: #fff; transform: translateY(-2px); }

.lp-footer__bar { position: relative; z-index: 1; border-top: 1px solid rgba(255,255,255,0.08); padding-block: 1.25rem; }
.lp-footer__copy { margin: 0; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--lp-grey); }

/* Floating back-to-top button */
.lp-to-top {
	position: fixed; right: 24px; bottom: 24px; z-index: 90;
	width: 50px; height: 50px; border: none; border-radius: 50%; cursor: pointer;
	background: var(--lp-orange); color: #fff; font-size: 1.4rem; line-height: 1;
	box-shadow: var(--lp-shadow-lg);
	opacity: 0; visibility: hidden; transform: translateY(12px);
	transition: opacity 0.3s ease, transform 0.3s ease, background 0.2s ease;
}
.lp-to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.lp-to-top:hover { background: var(--lp-orange-dark); }
@media (prefers-reduced-motion: reduce) { .lp-to-top { transition: opacity 0.2s ease; } }

/* =========================================================================
   CORE BLOCK BRAND STYLING (so core buttons/blocks match the design system)
   ========================================================================= */
.wp-block-button__link {
	background: var(--lp-orange); color: #fff;
	font-family: var(--lp-font-head); font-weight: 600; font-size: 0.85rem;
	text-transform: uppercase; letter-spacing: 0.08em;
	padding: 0.9rem 1.75rem; border-radius: var(--lp-radius);
	border: 2px solid var(--lp-orange);
	transition: background 0.25s var(--lp-ease), transform 0.25s var(--lp-ease);
}
.wp-block-button__link:hover { background: var(--lp-orange-dark); border-color: var(--lp-orange-dark); color: #fff; transform: translateY(-2px); }
.is-style-outline .wp-block-button__link,
.wp-block-button.is-style-outline .wp-block-button__link {
	background: transparent; color: var(--lp-orange); border-color: var(--lp-orange);
}
.is-style-outline .wp-block-button__link:hover { background: var(--lp-orange); color: #fff; }

/* =========================================================================
   HOMEPAGE SECTIONS
   ========================================================================= */

/* Hero — full-bleed image, LEFT-aligned content, dimensional */
.lp-hero { color: #fff; text-align: left; display: flex; align-items: center; position: relative; overflow: hidden; }
.lp-hero.wp-block-cover { min-height: clamp(480px, 80vh, 680px); }
.lp-hero .wp-block-cover__inner-container { max-width: var(--lp-container-wide); margin-inline: auto; width: 100%; padding-inline: var(--lp-gutter); }
.lp-hero .lp-eyebrow { color: var(--lp-orange); }
.lp-hero__title { font-size: clamp(2.25rem, 5.5vw, 4rem); color: #fff; margin: 0 0 0.75rem; max-width: 14ch; }
.lp-hero__title .lp-accent, .lp-hero__title strong { color: var(--lp-orange); font-weight: 800; }
.lp-hero__tagline { font-family: var(--lp-font-head); font-size: clamp(1rem, 2vw, 1.35rem); color: #e7e7e7; margin: 0 0 2rem; font-weight: 400; display: inline-block; background: rgba(0,0,0,0.35); padding: 0.4rem 0.9rem; letter-spacing: 0.05em; text-transform: uppercase; }
.lp-hero__cta { margin: 0; }

/* Custom hero block */
.lp-hero--block { min-height: clamp(480px, 80vh, 680px); background: var(--lp-dark); background-size: cover; background-position: center; }
.lp-hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.lp-hero__overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(20,19,19,0.85) 0%, rgba(20,19,19,0.45) 45%, rgba(20,19,19,0.15) 100%); z-index: 1; }
.lp-hero__inner { position: relative; z-index: 2; max-width: var(--lp-container-wide); margin-inline: auto; width: 100%; }
.lp-hero--editor { display: flex; align-items: center; }
.lp-hero--editor .lp-hero__title { color: #fff; }

/* Hero on-page anchor bar (sits at the bottom of the hero) */
.lp-anchor-nav { background: rgba(20,19,19,0.92); border-top: 2px solid var(--lp-orange); position: relative; z-index: 5; }
.lp-anchor-nav__inner { max-width: var(--lp-container-wide); margin-inline: auto; padding: 0 var(--lp-gutter); display: flex; gap: 2rem; flex-wrap: wrap; }
.lp-anchor-nav a {
	display: inline-block; padding: 1.1rem 0; color: #cfcfcf;
	font-family: var(--lp-font-head); font-weight: 600; font-size: 0.8rem;
	text-transform: uppercase; letter-spacing: 0.12em; border-bottom: 3px solid transparent;
}
.lp-anchor-nav a:hover, .lp-anchor-nav a.is-active { color: #fff; border-bottom-color: var(--lp-orange); }

/* Intro + layered image + expertise grid */
.lp-intro__grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(1.5rem, 5vw, 4rem); align-items: center; }
@media (max-width: 820px) { .lp-intro__grid { grid-template-columns: 1fr; gap: 1.5rem; } }
.lp-intro__media { position: relative; }
.lp-intro__media::before { content: ""; position: absolute; left: -18px; top: -18px; width: 45%; height: 60%; background: var(--lp-orange); z-index: 0; }
.lp-intro__media img { position: relative; z-index: 1; width: 100%; height: auto; box-shadow: var(--lp-shadow-lg); }
.lp-intro__head .lp-section-title { font-size: clamp(1.6rem, 3.5vw, 2.5rem); }
.lp-intro__head .lp-section-title em, .lp-intro__head .lp-section-title .lp-accent { color: var(--lp-orange); font-style: italic; }
.lp-intro__body p:last-child { margin-bottom: 0; }

/* Expertise row (under the intro) */
.lp-expertise { margin-top: clamp(2rem, 5vw, 3.5rem); }
.lp-expertise__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.75rem 3rem; align-items: start; }
.lp-expertise__grid > * { margin: 0 !important; align-self: start; }
@media (max-width: 700px) { .lp-expertise__grid { grid-template-columns: 1fr; } }
.lp-expertise__item h3 { font-size: 1.1rem; margin: 0 0 0.5rem; padding-top: 0.75rem; border-top: 2px solid var(--lp-orange); display: inline-block; }
.lp-expertise__item p { font-size: 0.95rem; margin: 0; }
.lp-expertise__item--wide { grid-column: 1 / -1; }
.lp-expertise__item--wide p + p { margin-top: 0.75rem; }
.lp-expertise__cta { margin-top: 2.5rem; display: flex; gap: 1rem; flex-wrap: wrap; }
.lp-intro__media figure { margin: 0; }
.lp-intro__media .wp-block-image { margin: 0; }
.lp-highlights--empty { padding-block: clamp(3rem, 6vw, 5rem); text-align: center; }
.lp-highlights--empty .lp-section-title, .lp-highlights--empty p { color: #cfcfcf; }

/* Stats — dark, solid color left third + image right two-thirds, numbers overlap full width */
.lp-stats { position: relative; padding: 0; background: var(--lp-dark); overflow: hidden; }
.lp-stats__bg { position: absolute; inset: 0; display: grid; grid-template-columns: 33% 67%; z-index: 0; }
.lp-stats__bg-color { background: var(--lp-dark); }
.lp-stats__bg-img { position: relative; background-size: cover; background-position: center; }
.lp-stats__bg-img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(20,19,19,0.92), rgba(20,19,19,0.55)); }
.lp-stats__inner { position: relative; z-index: 1; max-width: var(--lp-container-wide); margin-inline: auto; padding: clamp(3.5rem, 7vw, 6rem) var(--lp-gutter); }
.lp-stats__head { max-width: 520px; margin-bottom: clamp(2rem, 5vw, 3.5rem); }
.lp-stats__head .lp-section-title { color: #fff; text-transform: uppercase; }
.lp-stats__head .lp-section-title .lp-accent { color: var(--lp-orange); }
.lp-stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.lp-stats__grid > * { margin: 0 !important; align-self: start; }
@media (max-width: 700px) { .lp-stats__grid { grid-template-columns: repeat(2, 1fr); gap: 2rem 1.5rem; } }
.lp-stat { text-align: left; }
.lp-stat__num { font-family: var(--lp-font-head); font-size: clamp(2.5rem, 6vw, 4rem); font-weight: 800; color: #fff; line-height: 1; margin: 0; }
.lp-stat__num::after { content: ""; display: block; width: 38px; height: 4px; background: var(--lp-orange); margin-top: 0.75rem; }
.lp-stat__label { font-family: var(--lp-font-head); text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.78rem; color: #cfcfcf; margin: 0.75rem 0 0; }

/* Process — icons + dashed connectors + cards + faint numbers + section CTA */
.lp-process { position: relative; }
.lp-process__head { margin-bottom: 2.5rem; max-width: 720px; }
.lp-process__head .lp-section-title .lp-accent { color: var(--lp-orange); }
.lp-process__intro { color: var(--lp-grey); max-width: 60ch; }
.lp-process__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; align-items: stretch; }
.lp-process__grid > * { margin: 0 !important; }
@media (max-width: 820px) { .lp-process__grid { grid-template-columns: 1fr; } }
.lp-process__step { position: relative; background: #fff; padding: 2.25rem 2rem; border-radius: var(--lp-radius); box-shadow: var(--lp-shadow); height: 100%; overflow: hidden; }
.lp-process__icon { width: 54px; height: 54px; display: grid; place-items: center; border-radius: 50%; background: rgba(233,126,32,0.12); color: var(--lp-orange); margin-bottom: 1rem; }
.lp-process__icon svg { width: 26px; height: 26px; }
.lp-process__num { position: absolute; right: 1.25rem; bottom: 0.5rem; font-family: var(--lp-font-head); font-size: 4rem; font-weight: 800; color: var(--lp-orange); opacity: 0.12; line-height: 1; margin: 0; pointer-events: none; }
.lp-process__step-title { font-size: 1.25rem; margin: 0 0 0.35rem; }
.lp-process__sub { color: var(--lp-orange); font-weight: 600; font-size: 0.9rem; margin: 0 0 0.75rem; }
.lp-process__step p { font-size: 0.95rem; }
.lp-process__link { display: inline-block; margin-top: 0.5rem; font-family: var(--lp-font-head); font-weight: 600; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--lp-orange); }
.lp-process__link::after { content: " \2192"; }
.lp-process__cta { text-align: center; margin-top: 2.5rem; }

/* Project highlights + slider */
.lp-highlights__head { text-align: center; max-width: 640px; margin: 0 auto 2.5rem; }
.lp-highlights__head .lp-eyebrow { justify-content: center; }
.lp-highlights__cta { text-align: center; margin-top: 2.5rem; }

.lp-slider { position: relative; }
.lp-slider__viewport { overflow: hidden; }
.lp-slider__track { display: flex; gap: 1.5rem; transition: transform 0.5s var(--lp-ease); will-change: transform; }
.lp-slider__track > * { flex: 0 0 auto; } /* width set by JS; sensible fallback below */
.lp-slider:not(.is-static) .lp-slider__track > * { min-width: 240px; }
/* When everything fits, center the row and drop slider chrome */
.lp-slider.is-static .lp-slider__track { justify-content: center; flex-wrap: wrap; transform: none !important; }
.lp-slider.is-static .lp-slider__dots { display: none; }

.lp-slider__arrow {
	position: absolute; top: calc(50% - 22px); transform: translateY(-50%);
	width: 46px; height: 46px; border-radius: 50%; border: none; cursor: pointer;
	background: #fff; color: var(--lp-heading); box-shadow: var(--lp-shadow);
	font-size: 1.5rem; line-height: 1; display: grid; place-items: center; z-index: 3;
	transition: background 0.2s ease, color 0.2s ease, opacity 0.2s ease;
}
.lp-slider__arrow:hover { background: var(--lp-orange); color: #fff; }
.lp-slider__arrow:disabled { opacity: 0.35; cursor: default; }
.lp-slider__arrow--prev { left: -10px; }
.lp-slider__arrow--next { right: -10px; }
@media (max-width: 1200px) { .lp-slider__arrow--prev { left: 6px; } .lp-slider__arrow--next { right: 6px; } }

.lp-slider__dots { display: flex; gap: 0.5rem; justify-content: center; margin-top: 1.75rem; }
.lp-slider__dot { width: 10px; height: 10px; border-radius: 50%; border: none; padding: 0; cursor: pointer; background: rgba(0,0,0,0.18); transition: background 0.2s ease, transform 0.2s ease; }
.lp-slider__dot.is-active { background: var(--lp-orange); transform: scale(1.25); }
/* In the editor (no JS layout), let the track wrap so it isn't clipped */
.editor-styles-wrapper .lp-slider__track { flex-wrap: wrap; }
.editor-styles-wrapper .lp-slider__arrow, .editor-styles-wrapper .lp-slider__dots { display: none; }

/* Dark variant for Project Highlights on dark bg */
.lp-section--dark .lp-highlights__head .lp-section-title,
.lp-highlights.lp-section--dark .lp-section-title { color: #fff; }
.lp-section--dark .lp-slider__arrow { background: rgba(255,255,255,0.12); color: #fff; }
.lp-section--dark .lp-slider__arrow:hover { background: var(--lp-orange); }
.lp-section--dark .lp-slider__dot { background: rgba(255,255,255,0.25); }

/* Testimonials — intro paragraph, 5-star rating, quote mark, review link */
.lp-testimonials__head { text-align: center; max-width: 700px; margin: 0 auto 2.5rem; }
.lp-testimonials__head .lp-eyebrow { justify-content: center; }
.lp-testimonials__intro { color: var(--lp-grey); margin: 0 auto; max-width: 70ch; }
.lp-testimonials__grid { gap: 1.5rem; align-items: start; }
.lp-testimonial { position: relative; background: var(--lp-grey-bg); padding: 2.25rem 2rem 2rem; border-radius: var(--lp-radius); border-top: 3px solid var(--lp-orange); height: 100%; overflow: hidden; }
.lp-testimonial__mark { position: absolute; right: 1.25rem; bottom: 0.5rem; font-family: Georgia, serif; font-size: 5rem; line-height: 1; color: var(--lp-orange); opacity: 0.18; pointer-events: none; }
.lp-testimonial__stars { color: var(--lp-orange); letter-spacing: 2px; font-size: 1.05rem; margin-bottom: 0.75rem; }
.lp-testimonial__quote { font-size: 1.02rem; font-style: italic; color: var(--lp-heading); margin: 0 0 1.25rem; position: relative; z-index: 1; }
.lp-testimonial__cite { font-size: 0.9rem; color: var(--lp-grey); margin: 0 0 0.5rem; }
.lp-testimonial__cite strong { color: var(--lp-heading); font-family: var(--lp-font-head); display: block; }
.lp-testimonial__link { font-family: var(--lp-font-head); font-weight: 600; font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--lp-orange); }

/* Affiliations / credentials — full-color responsive grid */
.lp-affiliations { background: #fff; }
.lp-affiliations__title { margin-bottom: 2.5rem; text-align: center; }
.lp-affiliations__row {
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	gap: 1.5rem 2rem;
	align-items: center;
	max-width: 1100px;
	margin-inline: auto;
}
.lp-affiliations__item { display: flex; align-items: center; justify-content: center; padding: 0.75rem; min-height: 110px; }
.lp-affiliations__logo {
	max-height: 90px; max-width: 100%; width: auto; object-fit: contain;
	transition: transform 0.3s ease;
}
.lp-affiliations__item:hover .lp-affiliations__logo { transform: scale(1.06); }
@media (max-width: 900px) { .lp-affiliations__row { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px) { .lp-affiliations__row { grid-template-columns: repeat(2, 1fr); } .lp-affiliations__item { min-height: 80px; } .lp-affiliations__logo { max-height: 64px; } }

/* --- Scroll reveal (subtle; respects reduced motion) -------------------- */
.lp-reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s var(--lp-ease), transform 0.7s var(--lp-ease); }
.lp-reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .lp-reveal { opacity: 1; transform: none; transition: none; } }
