/* ============================================================
   Skyline — main.css
   Site chrome + component sections (v4 design).
   ============================================================ */

/* -------- Header (light, sticky, blurred) -------- */
.site-header {
	position: sticky;
	top: 0;
	z-index: 50;
	background: rgba(255, 255, 255, 0.92);
	backdrop-filter: blur(16px);
	-webkit-backdrop-filter: blur(16px);
	border-bottom: 1px solid rgba(10, 34, 70, 0.1);
}
.site-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	min-height: var(--header-h);
	gap: 22px;
}
.site-header__brand {
	color: var(--c-navy);
	text-decoration: none;
	display: inline-flex;
	align-items: center;
	gap: 12px;
}
.site-header__brand .custom-logo-link { display: inline-flex; align-items: center; line-height: 0; }
.site-header__brand .custom-logo,
.site-header .custom-logo {
	max-width: min(230px, 52vw);
	max-height: 70px;
	width: auto;
	height: auto;
	/* Recolor the logo PNG to the original header navy (#0f2a5f). */
	filter: brightness(0) saturate(100%) invert(15%) sepia(21%) saturate(4288%) hue-rotate(199deg) brightness(98%) contrast(103%);
}
.site-header__wordmark { display: inline-flex; align-items: baseline; gap: 6px; letter-spacing: 0.04em; }
.site-header__wordmark strong { font-size: 1.4rem; font-weight: 900; }
.site-header__wordmark small { font-size: 0.7rem; opacity: 0.8; letter-spacing: 0.2em; }

.nav-shell {
	display: flex;
	align-items: center;
	gap: 24px;
}
.site-nav__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	align-items: center;
	gap: 26px;
}
.site-nav__list a {
	color: var(--c-navy-2);
	text-decoration: none;
	font-weight: 700;
	font-size: 14px;
	letter-spacing: 0.01em;
}
.site-nav__list a:hover { color: var(--c-royal); text-decoration: none; }
/* Contact pill — covers both the hardcoded fallback and a real menu item
   with the .menu-item--cta class. */
.site-nav__list .menu-item--cta a,
.site-nav__list a.btn--primary {
	color: var(--c-white);
	background: linear-gradient(135deg, #1f4ea1, #3179e6);
	box-shadow: 0 16px 40px rgba(31, 78, 161, 0.28);
	padding: 14px 22px;
	border-radius: var(--radius-pill);
}

/* Language switcher (EN | FR) */
.site-header__lang {
	list-style: none;
	margin: 0;
	padding: 0 0 0 18px;
	border-left: 1px solid var(--c-border);
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-size: 14px;
	font-weight: 700;
}
.site-header__lang li { display: inline-flex; align-items: center; }
.site-header__lang a {
	color: var(--c-muted);
	text-decoration: none;
	padding: 4px 2px;
	transition: color 0.15s ease;
}
.site-header__lang a:hover { color: var(--c-navy); text-decoration: none; }
.site-header__lang .is-active a { color: var(--c-royal); cursor: default; }

.site-header__toggle {
	display: none;
	background: var(--c-white);
	border: 1px solid var(--c-border);
	border-radius: 12px;
	color: var(--c-navy);
	width: 44px; height: 44px;
	position: relative;
	cursor: pointer;
}
.site-header__toggle-bars,
.site-header__toggle-bars::before,
.site-header__toggle-bars::after {
	content: '';
	position: absolute;
	left: 50%; transform: translateX(-50%);
	width: 19px; height: 2px; background: currentColor;
	transition: transform 0.2s ease;
}
.site-header__toggle-bars { top: 50%; }
.site-header__toggle-bars::before { top: -6px; }
.site-header__toggle-bars::after { top: 6px; }

@media (max-width: 1000px) {
	.site-header__toggle { display: inline-flex; align-items: center; justify-content: center; }
	.nav-shell {
		position: absolute;
		left: 20px;
		right: 20px;
		top: var(--header-h);
		display: none;
		flex-direction: column;
		align-items: stretch;
		background: var(--c-white);
		border: 1px solid var(--c-border);
		border-radius: 22px;
		padding: 18px;
		box-shadow: var(--shadow-2);
	}
	.nav-shell.is-open { display: flex; }
	.site-nav__list { flex-direction: column; align-items: stretch; gap: 8px; }
	.site-nav__list a { display: block; padding: 12px; }
	.site-nav__list .menu-item--cta a,
	.site-nav__list a.btn--primary { text-align: center; }
	.site-header__lang { padding-left: 0; border-left: 0; padding-top: 10px; }
}

/* -------- Hero -------- */
.hero {
	position: relative;
	isolation: isolate;
	min-height: 690px;
	display: grid;
	align-items: center;
	color: var(--c-white);
	overflow: hidden;
	background: var(--c-navy);
}
.hero--compact { min-height: 560px; }
.hero__media {
	position: absolute;
	inset: 0;
	z-index: -3;
}
.hero__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	filter: saturate(0.92) contrast(1.05);
}
.hero::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -2;
	background:
		linear-gradient(90deg, rgba(3, 13, 32, 0.92) 0%, rgba(3, 13, 32, 0.74) 44%, rgba(3, 13, 32, 0.26) 100%),
		radial-gradient(circle at 72% 20%, rgba(58, 132, 255, 0.28), transparent 36%);
}
.hero::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background-image:
		linear-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
	background-size: 72px 72px;
	mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0.8), transparent 78%);
	-webkit-mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0.8), transparent 78%);
}
.hero .container { max-width: 1480px; padding-inline: 28px; }
.hero__content {
	max-width: 760px;
	padding: 88px 0 92px;
}
.eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin: 0 0 22px;
	text-transform: uppercase;
	color: var(--c-sky);
	font-size: 12px;
	font-weight: 900;
	letter-spacing: 0.18em;
}
.eyebrow::before {
	content: "";
	width: 44px;
	height: 2px;
	background: var(--c-sky);
}
.hero h1 {
	color: var(--c-white);
	margin-bottom: 22px;
	font-size: clamp(46px, 7vw, 88px);
	line-height: 0.96;
	letter-spacing: -0.06em;
	font-weight: 900;
}
.hero__content > p {
	max-width: 680px;
	margin-bottom: 32px;
	color: rgba(255, 255, 255, 0.86);
	font-size: clamp(18px, 2.1vw, 23px);
}
.hero__ctas { display: flex; flex-wrap: wrap; gap: 14px; }

/* Service-category chips under the services hero copy */
.services-hero-card {
	margin-top: 34px;
	display: inline-flex;
	flex-wrap: wrap;
	gap: 10px;
	align-items: center;
	color: rgba(255, 255, 255, 0.84);
	font-weight: 800;
	font-size: 13px;
}
.services-hero-card span {
	border: 1px solid rgba(255, 255, 255, 0.26);
	background: rgba(255, 255, 255, 0.08);
	border-radius: var(--radius-pill);
	padding: 9px 13px;
}

/* -------- Intro (scroll-cycled statements) -------- */
.intro {
	padding: 96px 0;
	background:
		radial-gradient(circle at 15% 15%, rgba(31, 78, 161, 0.08), transparent 28%),
		var(--c-white);
}
.section-grid {
	display: grid;
	grid-template-columns: 0.78fr 1.22fr;
	gap: 64px;
	align-items: center;
}
/* Without JS (or with reduced motion) the statements simply stack. */
.intro-scroll { padding: 0; }
.intro-scroll__sticky {
	padding: 96px 0;
	background: inherit;
}
/* Scroll progress: one segment per statement; the active one fills as
   you scroll. Only meaningful in enhanced mode — hidden otherwise. */
.intro-progress {
	display: none;
	gap: 8px;
	margin: 18px 0 0;
}
.intro-scroll.is-enhanced .intro-progress { display: inline-flex; }
.intro-progress__seg {
	position: relative;
	width: 44px;
	height: 3px;
	border-radius: 2px;
	background: rgba(18, 45, 88, 0.16);
	overflow: hidden;
}
.intro-progress__seg::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(90deg, var(--c-royal), var(--c-sky));
	border-radius: inherit;
	transform: scaleX(var(--p, 0));
	transform-origin: left center;
	transition: transform 0.1s linear;
}

.intro-rotator {
	display: grid;
	gap: 48px;
	margin-top: 10px;
}
.intro-rotator__item {
	margin: 0;
	color: var(--c-navy);
	font-size: clamp(30px, 3.6vw, 54px);
	line-height: 1.18;
	font-weight: 900;
	letter-spacing: -0.035em;
	max-width: 1060px;
}
/* JS adds .is-enhanced: the section grows tall, the inner block pins,
   and the statements crossfade as you scroll through it. */
.intro-scroll.is-enhanced { height: calc(var(--intro-slides, 3) * 85vh); }
.intro-scroll.is-enhanced .intro-scroll__sticky {
	position: sticky;
	top: var(--header-h);
	min-height: calc(100vh - var(--header-h));
	display: flex;
	align-items: center;
	padding: 48px 0;
	overflow: hidden;
}
.intro-scroll.is-enhanced .intro-scroll__sticky > .container { width: 100%; }
.intro-scroll.is-enhanced .intro-rotator__item {
	grid-area: 1 / 1;
	opacity: 0;
	transform: translateY(34px) scale(0.96);
	transition: opacity 0.45s ease, transform 0.45s ease;
	will-change: opacity, transform;
}
.intro-scroll.is-enhanced .intro-rotator__item.is-past { transform: translateY(-34px) scale(0.96); }
.intro-scroll.is-enhanced .intro-rotator__item.is-active {
	opacity: 1;
	transform: none;
}
@media (prefers-reduced-motion: reduce) {
	.intro-scroll.is-enhanced .intro-rotator__item {
		transition: none;
		transform: none;
	}
}

/* -------- Value props (dark band, glass cards) -------- */
.value-props {
	background: var(--c-navy);
	color: var(--c-white);
	position: relative;
	overflow: hidden;
	padding-block: 96px;
}
.value-props::before {
	content: "";
	position: absolute;
	inset: 0;
	background:
		radial-gradient(circle at 85% 0%, rgba(92, 166, 255, 0.18), transparent 30%),
		linear-gradient(135deg, rgba(255, 255, 255, 0.08), transparent 42%);
}
.value-props .container { position: relative; z-index: 1; }
.value-props .kicker { color: var(--c-sky); }
.value-props .section-title { color: var(--c-white); max-width: 760px; }
.value-props .lede { color: rgba(255, 255, 255, 0.74); }
.value-grid {
	list-style: none;
	margin: 44px 0 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 16px;
}
.value-card {
	min-height: 220px;
	padding: 28px;
	border-radius: var(--radius-md);
	border: 1px solid rgba(255, 255, 255, 0.16);
	background: rgba(255, 255, 255, 0.07);
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
}
.value-icon {
	width: 54px;
	height: 54px;
	border-radius: 18px;
	display: grid;
	place-items: center;
	margin-bottom: 30px;
	background: rgba(102, 168, 255, 0.14);
	color: var(--c-sky);
}
.value-icon svg { width: 30px; height: 30px; display: block; }
.value-icon img { max-width: 30px; max-height: 30px; }
.value-card h3 {
	color: var(--c-white);
	font-size: 21px;
	line-height: 1.12;
	letter-spacing: -0.02em;
	margin: 0;
}

/* -------- Projects (home tile grid) -------- */
.projects {
	background: linear-gradient(180deg, #f5f8fc 0%, #ffffff 100%);
	padding-block: 96px;
}
.projects-head {
	display: flex;
	justify-content: space-between;
	gap: 28px;
	align-items: end;
	margin-bottom: 40px;
}
.projects-head .section-title { max-width: 720px; margin-bottom: 0; }
/* Desktop: all three tiles fit — no scroll container, so tile shadows
   bleed naturally over the section gradient. Below 1000px the columns
   get fixed widths and the grid becomes a horizontal scroller; the
   padding + negative margin keep the shadows from being clipped. */
.project-grid {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(3, minmax(280px, 1fr));
	gap: 22px;
}
.project-grid .project-tile {
	min-height: 560px;
	border-radius: 32px;
	overflow: hidden;
	position: relative;
	background: var(--c-navy);
	box-shadow: 0 24px 60px rgba(4, 16, 35, 0.16);
	scroll-snap-align: start;
}
.project-tile__media,
.project-tile__media img {
	width: 100%;
	height: 100%;
	min-height: 560px;
	object-fit: cover;
}
.project-tile__media { position: absolute; inset: 0; }
.project-tile__media img {
	opacity: 0.82;
	transition: transform 0.45s ease, opacity 0.45s ease;
}
.project-tile:hover .project-tile__media img { transform: scale(1.05); opacity: 0.64; }
.project-tile__media--empty { background: linear-gradient(135deg, #0b2144 0%, #06152c 100%); }
.project-tile::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(3, 13, 32, 0.04) 20%, rgba(3, 13, 32, 0.94) 100%);
}
.project-tile__copy {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 1;
	padding: 30px;
	color: var(--c-white);
}
.project-tile__copy h3 {
	color: var(--c-white);
	font-size: 26px;
	line-height: 1;
	letter-spacing: -0.03em;
	margin-bottom: 14px;
}
.project-tile__copy p,
.project-tile__copy .project-tile__excerpt p {
	color: rgba(255, 255, 255, 0.82);
	font-size: 14px;
	margin-bottom: 18px;
}
/* Long excerpts would otherwise flood the tile and cover the photo. */
.project-tile__excerpt {
	display: -webkit-box;
	-webkit-line-clamp: 5;
	line-clamp: 5;
	-webkit-box-orient: vertical;
	overflow: hidden;
}
.project-tile__excerpt p { margin-bottom: 0; }
/* "Show more" reveals the clamped text in place; the copy panel grows
   upward over the photo. If it outgrows the tile, only the excerpt
   scrolls — the title and the Show less button stay in view. */
.project-tile.is-expanded .project-tile__copy {
	max-height: 100%;
	display: flex;
	flex-direction: column;
}
.project-tile.is-expanded .project-tile__excerpt {
	display: block;
	flex: 1 1 auto;
	min-height: 0;
	overflow-y: auto;
	scrollbar-width: thin;
	scrollbar-color: rgba(255, 255, 255, 0.35) transparent;
}
.project-tile.is-expanded::after {
	background: linear-gradient(180deg, rgba(3, 13, 32, 0.6) 0%, rgba(3, 13, 32, 0.94) 55%);
}
.project-tile__toggle {
	display: inline-flex;
	border: 0;
	background: none;
	padding: 0;
	margin: 14px 0 0;
	cursor: pointer;
	font-family: inherit;
	font-weight: 900;
	font-size: 14px;
	color: var(--c-sky);
}
.project-tile__toggle:hover,
.project-tile__toggle:focus-visible { color: var(--c-white); }
.projects-feature__empty { color: var(--c-muted); }

/* -------- CTA panel -------- */
.cta-section { padding-block: 96px; }
.cta-panel {
	background: var(--c-navy);
	color: var(--c-white);
	border-radius: 36px;
	padding: 52px;
	display: grid;
	grid-template-columns: 1.2fr 0.8fr;
	gap: 30px;
	align-items: center;
	position: relative;
	overflow: hidden;
}
.cta-panel::after {
	content: "";
	position: absolute;
	inset: 0;
	background:
		radial-gradient(circle at 90% 20%, rgba(102, 168, 255, 0.26), transparent 34%),
		linear-gradient(135deg, transparent 0%, rgba(255, 255, 255, 0.07) 100%);
	pointer-events: none;
}
.cta-panel > * { position: relative; z-index: 1; }
.cta-panel .kicker { color: var(--c-sky); }
.cta-panel h2 {
	color: var(--c-white);
	font-size: clamp(32px, 4vw, 54px);
	line-height: 1;
	letter-spacing: -0.04em;
	margin-bottom: 14px;
}
.cta-panel p { color: rgba(255, 255, 255, 0.76); margin-bottom: 0; }
.cta-actions { justify-self: end; }

/* -------- Services page -------- */
.service-overview { padding: 112px 0 96px; }
.service-intro-grid {
	display: grid;
	grid-template-columns: 0.85fr 1.15fr;
	gap: 54px;
	align-items: start;
}
.service-summary-card {
	background: var(--c-white);
	border: 1px solid var(--c-border);
	border-radius: 30px;
	padding: 32px;
	box-shadow: var(--shadow-1);
}
.service-summary-card p { color: var(--c-muted); margin: 0 0 1em; }
.service-summary-card p:last-child { margin-bottom: 0; }

.service-breakdown { padding: 50px 0 96px; }
.service-feature {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0;
	align-items: stretch;
	margin-bottom: 34px;
	border-radius: var(--radius-lg);
	overflow: hidden;
	background: var(--c-white);
	border: 1px solid var(--c-border);
	box-shadow: 0 20px 60px rgba(8, 31, 62, 0.09);
}
.service-feature:nth-child(even) .service-feature__image { order: 2; }
.service-feature__image {
	min-height: 430px;
	background: var(--c-navy);
}
.service-feature__image img {
	width: 100%;
	height: 100%;
	min-height: 430px;
	object-fit: cover;
}
.service-feature__copy {
	padding: clamp(34px, 5vw, 62px);
	display: flex;
	flex-direction: column;
	justify-content: center;
}
.service-feature h2 {
	color: var(--c-navy);
	font-size: clamp(34px, 4.4vw, 58px);
	line-height: 0.98;
	letter-spacing: -0.055em;
	margin-bottom: 18px;
}
.service-feature__copy p { color: var(--c-muted); margin-bottom: 0; }
.service-feature__copy .service-feature__body p { margin-bottom: 1em; }
.service-feature ul {
	list-style: none;
	padding: 0;
	margin: 28px 0 0;
	display: grid;
	gap: 12px;
}
.service-feature li {
	display: grid;
	grid-template-columns: 28px 1fr;
	gap: 12px;
	color: #26364d;
	font-weight: 700;
}
.service-feature li::before {
	content: "\2713";
	width: 28px;
	height: 28px;
	border-radius: 50%;
	background: var(--c-ice);
	color: var(--c-royal);
	display: inline-grid;
	place-items: center;
	font-size: 13px;
	font-weight: 900;
}

/* Split feature (image + checklist) */
.split-feature { background: var(--c-light); padding-block: 96px; }
.split-feature__grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 54px;
	align-items: center;
}
.split-image {
	border-radius: var(--radius-lg);
	overflow: hidden;
	min-height: 520px;
	box-shadow: var(--shadow-2);
}
.split-image img { width: 100%; height: 100%; min-height: 520px; object-fit: cover; }
.check-list {
	list-style: none;
	padding: 0;
	margin: 30px 0 0;
	display: grid;
	gap: 14px;
}
.check-list li {
	display: grid;
	grid-template-columns: 34px 1fr;
	gap: 14px;
	color: #26364d;
	font-weight: 700;
}
.check-list li::before {
	content: "\2713";
	width: 34px;
	height: 34px;
	border-radius: 50%;
	display: grid;
	place-items: center;
	background: rgba(31, 78, 161, 0.1);
	color: var(--c-royal);
	font-weight: 900;
}

/* -------- Footer -------- */
.site-footer {
	background: #051124;
	color: var(--c-white);
	padding-block: 54px;
	font-size: 0.9rem;
}
.site-footer__inner {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 36px;
	flex-wrap: wrap;
}
.site-footer__brand { max-width: 320px; }
.site-footer__address strong { display: block; margin-bottom: 8px; }
.site-footer__address p { margin: 0; color: rgba(255, 255, 255, 0.72); }
.site-footer__social {
	display: inline-flex; align-items: center; justify-content: center;
	margin-top: 18px;
	width: 32px; height: 32px;
	background: var(--c-white); color: var(--c-navy);
	border-radius: 10px;
	font-weight: 700; text-decoration: none;
}
.site-footer__list {
	list-style: none; margin: 0; padding: 0;
	display: flex; flex-wrap: wrap; justify-content: flex-end;
	gap: 16px 24px;
}
.site-footer__list a { color: rgba(255, 255, 255, 0.72); text-decoration: none; }
.site-footer__list a:hover { color: var(--c-white); text-decoration: none; }
@media (max-width: 700px) {
	.site-footer__inner { flex-direction: column; }
	.site-footer__list { justify-content: flex-start; }
}

/* -------- Page hero (interior pages) -------- */
.page-hero {
	position: relative;
	isolation: isolate;
	background: var(--c-navy);
	color: var(--c-white);
	overflow: hidden;
	padding-block: clamp(64px, 8vw, 110px);
}
.page-hero::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background:
		radial-gradient(circle at 80% 10%, rgba(58, 132, 255, 0.24), transparent 38%),
		linear-gradient(135deg, rgba(255, 255, 255, 0.06), transparent 46%);
}
.page-hero h1 { color: var(--c-white); margin: 0 0 12px; }
.page-hero__lede { color: rgba(255, 255, 255, 0.78); max-width: 64ch; margin: 0; font-size: 19px; }
.page-hero__eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	text-transform: uppercase;
	letter-spacing: 0.18em;
	font-size: 12px;
	font-weight: 900;
	color: var(--c-sky);
	margin: 0 0 18px;
}
.page-hero__eyebrow::before {
	content: "";
	width: 44px;
	height: 2px;
	background: var(--c-sky);
}

/* -------- Page content -------- */
.page-content { padding-block: clamp(48px, 6vw, 96px); }

/* -------- Project list (archive) -------- */
.project-list { padding-block: clamp(48px, 6vw, 96px); }
.project-list__items { list-style: none; margin: 0; padding: 0; display: grid; gap: 48px; }
.project-list .project-card { display: grid; grid-template-columns: minmax(280px, 1fr) 1.4fr; gap: 32px; align-items: center; }
.project-list .project-card:nth-child(even) { direction: rtl; }
.project-list .project-card:nth-child(even) > * { direction: ltr; }
@media (max-width: 800px) {
	.project-list .project-card,
	.project-list .project-card:nth-child(even) { grid-template-columns: 1fr; direction: ltr; }
}
.project-card__media img { border-radius: var(--radius-md); aspect-ratio: 4/3; object-fit: cover; width: 100%; box-shadow: var(--shadow-1); }
.project-card__title { margin-bottom: 12px; }
.project-card__title a { color: var(--c-navy); text-decoration: none; }
.project-card__title a:hover { color: var(--c-royal); }
.project-card__excerpt { color: var(--c-muted); }

/* -------- Post grid (blog fallback) -------- */
.post-list { padding-block: clamp(48px, 6vw, 96px); }
.post-grid {
	list-style: none; margin: 0; padding: 0;
	display: grid; gap: 32px;
	grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}
.post-grid__item { display: flex; flex-direction: column; gap: 12px; }
.post-grid__media img { border-radius: var(--radius-md); aspect-ratio: 4/3; object-fit: cover; }
.post-grid__title { margin: 0; }
.post-grid__title a { color: var(--c-ink); text-decoration: none; }
.post-grid__excerpt { color: var(--c-muted); }

/* -------- Project single -------- */
.project-single__hero { margin: 0; }
.project-single__hero img { width: 100%; max-height: 60vh; object-fit: cover; }

/* -------- Contact form (CF7) -------- */
.wpcf7 {
	max-width: 640px;
	margin: 32px auto 0;
}
/* CF7 auto-inserts <br> after every form-control — kill them so spacing comes from our grid. */
.wpcf7 form > br,
.contact-form__row > br { display: none; }

.wpcf7 form { display: flex; flex-direction: column; gap: 18px; }
.contact-form__row { display: block; }
.contact-form__row label {
	display: block;
	font-weight: 600;
	color: var(--c-navy);
	font-size: 0.95rem;
	margin-bottom: 6px;
	line-height: 1.2;
}
.contact-form__required {
	color: #c0392b;
	font-weight: 700;
	margin-left: 2px;
}

/* CF7 wraps every input in a <span class="wpcf7-form-control-wrap"> — make it block. */
.wpcf7 .wpcf7-form-control-wrap { display: block; }

.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 textarea {
	font: inherit;
	width: 100%;
	padding: 12px 14px;
	border: 1px solid var(--c-border);
	border-radius: 14px;
	background: var(--c-white);
	color: var(--c-ink);
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.wpcf7 input:focus,
.wpcf7 textarea:focus {
	outline: none;
	border-color: var(--c-royal);
	box-shadow: 0 0 0 3px rgba(31, 78, 161, 0.15);
}
.wpcf7 textarea { resize: vertical; min-height: 140px; display: block; }
.wpcf7 .wpcf7-not-valid-tip {
	color: #c0392b;
	font-size: 0.85rem;
	font-weight: 500;
	margin-top: 6px;
	display: block;
}
.wpcf7 .wpcf7-spinner { margin-left: 14px; }
.wpcf7 .wpcf7-response-output {
	margin: 16px 0 0;
	padding: 12px 16px;
	border-radius: 14px;
	border-width: 1px;
	border-style: solid;
	font-size: 0.95rem;
}
.wpcf7 form.sent .wpcf7-response-output {
	background: #e8f5ec; border-color: #46a35a; color: #234d2e;
}
.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.unaccepted .wpcf7-response-output,
.wpcf7 form.spam .wpcf7-response-output {
	background: #fdecea; border-color: #c0392b; color: #6f1d12;
}
.contact-form__actions { margin-top: 4px; }
.contact-form__actions .wpcf7-submit {
	font: inherit;
	cursor: pointer;
}

/* -------- Responsive -------- */
@media (max-width: 1000px) {
	.value-grid { grid-template-columns: repeat(2, 1fr); }
	.intro-cards { grid-template-columns: 1fr; }
	.intro-card { min-height: 0; }
	.section-grid,
	.split-feature__grid,
	.cta-panel,
	.service-intro-grid,
	.service-feature { grid-template-columns: 1fr; }
	.cta-actions { justify-self: start; }
	.service-feature:nth-child(even) .service-feature__image { order: 0; }
	.project-grid {
		grid-template-columns: repeat(3, 320px);
		overflow-x: auto;
		scroll-snap-type: x mandatory;
		padding: 12px 12px 60px;
		margin: -12px -12px -36px;
		scroll-padding-left: 12px;
	}
}

@media (max-width: 680px) {
	.hero { min-height: 620px; }
	.hero__content { padding: 72px 0; }
	.intro { padding-block: 70px; }
	.value-props, .projects, .cta-section, .split-feature { padding-block: 70px; }
	.value-grid { grid-template-columns: 1fr; }
	.value-card { min-height: 0; }
	.projects-head { align-items: flex-start; flex-direction: column; }
	.project-grid { grid-template-columns: repeat(3, 82vw); }
	.project-grid .project-tile,
	.project-tile__media img { min-height: 500px; }
	.cta-panel { padding: 34px 24px; border-radius: 26px; }
	.service-feature__image,
	.service-feature__image img { min-height: 300px; }
	.split-image,
	.split-image img { min-height: 340px; }
}
