/* ResourceWise theme — v2 design system: navy, white, soft greys and a single green accent. */

@font-face {
	font-family: "Geist";
	src: url("../fonts/geist-latin.woff2") format("woff2");
	font-weight: 100 900;
	font-style: normal;
	font-display: swap;
}

:root {
	--navy: #0a2540;
	--navy-700: #143a60;
	--navy-50: #eef3f9;
	--text: #3a4a5e;
	--muted: #5b6b7f; /* on white: 5.4:1 */
	--line: #e4e9f0;
	--line-strong: #cdd6e1;
	--soft: #f6f8fb;
	--white: #fff;
	--green: #16a34a; /* icons and marks only */
	--green-text: #15803d; /* text on white: 5.0:1 */
	--green-soft: #e9f8ef;
	--mint: #4ade80; /* on navy */
	--on-navy: #c4d0de;

	--r-sm: 10px;
	--r: 16px;
	--r-lg: 20px;
	--r-xl: 28px;
	--shadow-sm: 0 1px 2px rgba(10, 37, 64, .06);
	--shadow: 0 1px 3px rgba(10, 37, 64, .06), 0 10px 30px rgba(10, 37, 64, .06);
	--shadow-lg: 0 2px 6px rgba(10, 37, 64, .05), 0 30px 70px rgba(10, 37, 64, .12);

	--container: 1200px;
	--gutter: clamp(16px, 4vw, 32px);
	--section: clamp(72px, 10vw, 128px);
	--header-h: 72px;
	--font: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
	--ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Base ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
	scroll-padding-top: calc(var(--header-h) + 24px);
}

body {
	margin: 0;
	background: var(--white);
	color: var(--text);
	font-family: var(--font);
	font-size: 1.0625rem;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
}

img,
svg { max-width: 100%; height: auto; }
img { display: block; }

a { color: var(--navy); text-decoration-color: var(--line-strong); text-underline-offset: .2em; }
a:hover { color: var(--green-text); text-decoration-color: currentColor; }

h1, h2, h3, h4 {
	margin: 0 0 .5em;
	color: var(--navy);
	font-weight: 600;
	line-height: 1.12;
	letter-spacing: -.03em;
}

p { margin: 0 0 1em; }

:focus-visible { outline: 2px solid var(--navy); outline-offset: 3px; border-radius: 6px; }

.screen-reader-text {
	position: absolute !important;
	width: 1px; height: 1px;
	overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px);
	white-space: nowrap;
}

.skip-link {
	position: absolute;
	top: -100px; left: 16px;
	z-index: 1000;
	padding: 10px 16px;
	border-radius: 0 0 var(--r-sm) var(--r-sm);
	background: var(--navy);
	color: var(--white);
	font-weight: 600;
}
.skip-link:focus { top: 0; color: var(--white); }

.container {
	width: 100%;
	max-width: calc(var(--container) + 2 * var(--gutter));
	margin-inline: auto;
	padding-inline: var(--gutter);
}
.container--narrow { max-width: calc(800px + 2 * var(--gutter)); }

.icon { width: 1.2em; height: 1.2em; flex: none; }
.icon--up { transform: rotate(-90deg); }

/* Scroll reveal: only when JS is running (html.js is set inline in <head>). */
.js [data-reveal] { opacity: 0; transform: translateY(16px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js [data-reveal].is-visible { opacity: 1; transform: none; }

/* ---------- Buttons & links ---------- */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: .5em;
	min-height: 44px;
	padding: 0 18px;
	border: 1px solid transparent;
	border-radius: var(--r-sm);
	font: inherit;
	font-size: .95rem;
	font-weight: 550;
	line-height: 1;
	letter-spacing: -.005em;
	text-decoration: none;
	white-space: nowrap;
	cursor: pointer;
	transition: background-color .2s, color .2s, border-color .2s, box-shadow .2s;
}
.btn .icon { width: 1.05em; height: 1.05em; transition: transform .2s var(--ease); }
.btn:hover .icon { transform: translateX(3px); }
.btn--lg { min-height: 52px; padding: 0 22px; font-size: 1rem; }
.btn--block { width: 100%; }
.btn--primary { background: var(--navy); color: var(--white); box-shadow: 0 1px 2px rgba(10, 37, 64, .2), inset 0 1px 0 rgba(255, 255, 255, .08); }
.btn--primary:hover { background: var(--navy-700); color: var(--white); }
.btn--secondary { border-color: var(--line-strong); background: var(--white); color: var(--navy); }
.btn--secondary:hover { border-color: var(--navy); color: var(--navy); }
.btn--light { background: var(--white); color: var(--navy); }
.btn--light:hover { background: var(--navy-50); color: var(--navy); }

.link-arrow {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	color: var(--navy);
	font-size: .95rem;
	font-weight: 550;
	text-decoration: none;
}
.link-arrow .icon { width: 16px; height: 16px; transition: transform .2s var(--ease); }
.link-arrow:hover { color: var(--green-text); }
.link-arrow:hover .icon:not(.icon--up) { transform: translateX(3px); }
.link-arrow--muted { color: var(--muted); }

.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

/* ---------- Small parts ---------- */
.pill {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin: 0 0 24px;
	padding: 5px 14px 5px 8px;
	border: 1px solid var(--line);
	border-radius: 999px;
	background: var(--white);
	box-shadow: var(--shadow-sm);
	color: var(--navy);
	font-size: .85rem;
	font-weight: 500;
}
.pill__dot {
	width: 8px; height: 8px;
	margin-left: 4px;
	border-radius: 50%;
	background: var(--green);
	box-shadow: 0 0 0 4px var(--green-soft);
}
.pill__icon {
	display: grid;
	place-items: center;
	width: 24px; height: 24px;
	border-radius: 50%;
	background: var(--green-soft);
	color: var(--green-text);
}
.pill__icon .icon { width: 14px; height: 14px; }

.eyebrow {
	margin: 0 0 14px;
	color: var(--green-text);
	font-size: .8rem;
	font-weight: 600;
	letter-spacing: .09em;
	text-transform: uppercase;
}
.eyebrow--light { color: var(--mint); }

.icon-box {
	display: inline-grid;
	place-items: center;
	width: 44px; height: 44px;
	flex: none;
	border: 1px solid var(--line);
	border-radius: 12px;
	background: var(--white);
	color: var(--navy);
	box-shadow: var(--shadow-sm);
}
.icon-box .icon { width: 22px; height: 22px; }
.icon-box--dark { border-color: rgba(255, 255, 255, .12); background: rgba(255, 255, 255, .06); color: var(--mint); box-shadow: none; }

.tick {
	display: inline-grid;
	place-items: center;
	width: 20px; height: 20px;
	flex: none;
	border-radius: 50%;
	background: var(--green-soft);
	color: var(--green-text);
}
.tick .icon { width: 12px; height: 12px; stroke-width: 3; }
.tick--lg { width: 28px; height: 28px; }
.tick--lg .icon { width: 15px; height: 15px; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.chips li {
	padding: 7px 14px;
	border: 1px solid var(--line);
	border-radius: 999px;
	background: var(--white);
	color: var(--navy);
	font-size: .9rem;
	font-weight: 500;
	line-height: 1.3;
}
.chips--sm li { padding: 4px 11px; font-size: .8rem; color: var(--text); }

.status {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 3px 10px;
	border-radius: 999px;
	font-size: .78rem;
	font-weight: 550;
	white-space: nowrap;
}
.status::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.status--ok { background: var(--green-soft); color: var(--green-text); }
.status--info { background: var(--navy-50); color: var(--navy); }
.status--muted { background: #f1f4f7; color: var(--muted); }

/* ---------- Header ---------- */
.site-header {
	position: sticky;
	top: 0;
	z-index: 100;
	border-bottom: 1px solid transparent;
	background: rgba(255, 255, 255, .9);
	backdrop-filter: saturate(180%) blur(16px);
	-webkit-backdrop-filter: saturate(180%) blur(16px);
	transition: border-color .2s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); }
.admin-bar .site-header { top: 32px; }
.site-header__inner { display: flex; align-items: center; gap: 32px; min-height: var(--header-h); }

.logo { display: inline-flex; flex: none; line-height: 0; }
.logo__svg { width: auto; height: 30px; }

.nav { display: flex; flex: 1; align-items: center; gap: 24px; }
.nav__list { display: flex; align-items: center; gap: 2px; margin: 0 auto; padding: 0; list-style: none; }
.nav__item { position: relative; display: flex; align-items: center; }
.nav__link,
.nav__list > li > a {
	display: inline-flex;
	align-items: center;
	padding: 8px 12px;
	border-radius: 8px;
	color: var(--text);
	font-size: .95rem;
	font-weight: 500;
	text-decoration: none;
	transition: color .15s, background-color .15s;
}
.nav__link:hover { background: var(--soft); color: var(--navy); }
.nav__item.is-current > .nav__link { color: var(--navy); font-weight: 600; }

.nav__sub-toggle {
	display: inline-grid;
	place-items: center;
	width: 24px; height: 24px;
	margin-left: -8px;
	padding: 0;
	border: 0;
	background: none;
	color: var(--muted);
	cursor: pointer;
}
.nav__sub-toggle .icon { width: 15px; height: 15px; transition: transform .2s; }

.nav__menu {
	position: absolute;
	top: calc(100% + 14px);
	left: -24px;
	width: 780px;
	border: 1px solid var(--line);
	border-radius: var(--r-lg);
	background: var(--white);
	box-shadow: var(--shadow-lg);
	opacity: 0;
	visibility: hidden;
	transform: translateY(6px);
	transition: opacity .18s, transform .18s var(--ease), visibility .18s;
}
.nav__menu::before { content: ""; position: absolute; inset: -16px 0 auto; height: 16px; }
.nav__item--has-menu:hover .nav__menu,
.nav__item--has-menu:focus-within .nav__menu,
.nav__item--has-menu.is-open .nav__menu { opacity: 1; visibility: visible; transform: none; }
.nav__item--has-menu:hover .nav__sub-toggle .icon,
.nav__item--has-menu.is-open .nav__sub-toggle .icon { transform: rotate(180deg); }

.mega { display: grid; grid-template-columns: 1fr 240px; }
.mega__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; margin: 0; padding: 12px; list-style: none; }
.mega__link {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	padding: 12px;
	border-radius: 12px;
	color: var(--navy);
	text-decoration: none;
	transition: background-color .15s;
}
.mega__link:hover,
.mega__link.is-current { background: var(--soft); color: var(--navy); }
.mega__link strong { display: block; font-size: .925rem; font-weight: 600; line-height: 1.35; }
.mega__link small { display: block; color: var(--muted); font-size: .82rem; line-height: 1.4; }
.mega__icon {
	display: grid;
	place-items: center;
	width: 36px; height: 36px;
	flex: none;
	border: 1px solid var(--line);
	border-radius: 10px;
	color: var(--navy);
}
.mega__icon .icon { width: 19px; height: 19px; }
.mega__aside {
	display: flex;
	flex-direction: column;
	gap: 10px;
	padding: 24px;
	border-left: 1px solid var(--line);
	border-radius: 0 var(--r-lg) var(--r-lg) 0;
	background: var(--soft);
	font-size: .9rem;
}
.mega__aside p { margin: 0; color: var(--muted); }
.mega__aside .mega__aside-title { color: var(--navy); font-weight: 600; }
.mega__aside .link-arrow:first-of-type { margin-top: auto; }

.nav__cta { display: flex; align-items: center; gap: 20px; }
.nav__phone {
	display: none;
	align-items: center;
	gap: 8px;
	color: var(--navy);
	font-size: .95rem;
	font-weight: 550;
	text-decoration: none;
}
.nav__phone .icon { width: 18px; height: 18px; }

.nav-toggle {
	display: none;
	place-items: center;
	width: 44px; height: 44px;
	margin-left: auto;
	padding: 0;
	border: 1px solid var(--line);
	border-radius: 10px;
	background: var(--white);
	color: var(--navy);
	cursor: pointer;
}
.nav-toggle .icon { width: 22px; height: 22px; }
.nav-toggle__close { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle__open { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle__close { display: block; }

/* ---------- Sections ---------- */
.section { padding-block: var(--section); }
.section--tight { padding-block: clamp(48px, 7vw, 80px); }
.section--soft { background: var(--soft); }
.section--navy { background: var(--navy); color: var(--on-navy); }
.section--navy h2,
.section--navy h3 { color: var(--white); }
.section--navy .section-intro { color: var(--on-navy); }

.section-head { max-width: 760px; margin-bottom: clamp(40px, 6vw, 64px); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-title { font-size: clamp(2rem, 3.6vw, 3rem); letter-spacing: -.04em; line-height: 1.08; text-wrap: balance; }
.section-subtitle { margin-bottom: 20px; font-size: 1.25rem; }
.section-intro { color: var(--muted); font-size: 1.15rem; line-height: 1.6; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: clamp(64px, 9vw, 112px) 0 clamp(64px, 8vw, 104px); }
.hero__bg {
	position: absolute;
	inset: 0;
	z-index: -1;
	background: linear-gradient(180deg, var(--white) 0%, var(--soft) 100%);
}
.hero__bg::before {
	content: "";
	position: absolute;
	inset: 0;
	background-image:
		linear-gradient(rgba(10, 37, 64, .055) 1px, transparent 1px),
		linear-gradient(90deg, rgba(10, 37, 64, .055) 1px, transparent 1px);
	background-size: 56px 56px;
	background-position: center top;
	-webkit-mask-image: radial-gradient(60% 55% at 50% 0%, #000 20%, transparent 80%);
	mask-image: radial-gradient(60% 55% at 50% 0%, #000 20%, transparent 80%);
}
.hero__inner { display: flex; flex-direction: column; align-items: center; text-align: center; }
.hero__title {
	max-width: 22ch;
	text-wrap: balance;
	margin-bottom: 24px;
	font-size: clamp(2.75rem, 7vw, 5.25rem);
	font-weight: 600;
	line-height: .98;
	letter-spacing: -.05em;
}
.hero__lead { max-width: 660px; margin-bottom: 36px; color: var(--muted); font-size: clamp(1.075rem, 1.7vw, 1.25rem); }

.brief-bar {
	display: flex;
	align-items: center;
	gap: 8px;
	width: 100%;
	max-width: 640px;
	padding: 6px 6px 6px 16px;
	border: 1px solid var(--line-strong);
	border-radius: 14px;
	background: var(--white);
	box-shadow: var(--shadow);
	transition: border-color .2s, box-shadow .2s;
}
.brief-bar:focus-within { border-color: var(--navy); box-shadow: 0 0 0 4px rgba(10, 37, 64, .08), var(--shadow); }
.brief-bar__icon { display: grid; color: var(--muted); }
.brief-bar__icon .icon { width: 20px; height: 20px; }
.brief-bar input {
	flex: 1;
	min-width: 0;
	height: 46px;
	border: 0;
	background: none;
	color: var(--navy);
	font: inherit;
	font-size: 1rem;
	outline: none;
}
.brief-bar input::placeholder { color: #8391a3; }
.brief-bar .btn { min-height: 46px; }

.hero__popular {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 8px;
	margin-top: 18px;
	color: var(--muted);
	font-size: .875rem;
}
.hero__popular ul { display: contents; margin: 0; padding: 0; list-style: none; }
.hero__popular a {
	display: inline-block;
	padding: 4px 11px;
	border: 1px solid var(--line);
	border-radius: 999px;
	background: var(--white);
	color: var(--text);
	font-weight: 500;
	text-decoration: none;
	transition: border-color .15s, color .15s;
}
.hero__popular a:hover { border-color: var(--navy); color: var(--navy); }

.showcase {
	max-width: 1040px;
	margin: clamp(56px, 7vw, 80px) auto 0;
	overflow: hidden;
	border: 1px solid var(--line);
	border-radius: var(--r-lg);
	background: var(--white);
	box-shadow: var(--shadow-lg);
	text-align: left;
}
.showcase__bar {
	display: flex;
	align-items: center;
	gap: 16px;
	padding: 14px 20px;
	border-bottom: 1px solid var(--line);
	background: var(--soft);
	font-size: .875rem;
}
.showcase__dots { display: flex; gap: 6px; }
.showcase__dots i { width: 10px; height: 10px; border-radius: 50%; background: var(--line-strong); }
.showcase__title { color: var(--navy); font-weight: 600; }
.showcase__title b { color: var(--line-strong); }
.showcase__meta { display: inline-flex; align-items: center; gap: 6px; margin-left: auto; color: var(--green-text); font-weight: 550; }
.showcase__meta .icon { width: 16px; height: 16px; }
.showcase__row {
	display: grid;
	grid-template-columns: 1.5fr 1.2fr 1fr .8fr;
	align-items: center;
	gap: 16px;
	padding: 14px 24px;
	border-top: 1px solid var(--line);
	color: var(--text);
	font-size: .9rem;
}
.showcase__row--head { border-top: 0; padding-block: 10px; color: var(--muted); font-size: .75rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.showcase__role { display: flex; align-items: center; gap: 12px; color: var(--navy); font-weight: 600; }
.showcase__avatar {
	display: grid;
	place-items: center;
	width: 34px; height: 34px;
	flex: none;
	border-radius: 10px;
	background: var(--navy-50);
	color: var(--navy);
}
.showcase__avatar .icon { width: 18px; height: 18px; }
.showcase__row:nth-child(2) .showcase__avatar { background: var(--navy); color: var(--mint); }

/* ---------- Clients ---------- */
.clients { padding-block: 48px; border-bottom: 1px solid var(--line); }
.clients__inner { display: flex; flex-direction: column; align-items: center; gap: 24px; }
.clients__title { margin: 0; color: var(--muted); font-size: .85rem; font-weight: 500; letter-spacing: 0; }
.marquee {
	display: flex;
	width: 100%;
	overflow: hidden;
	-webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
	mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.marquee__track {
	display: flex;
	flex: none;
	align-items: center;
	gap: clamp(44px, 6vw, 80px);
	margin: 0;
	padding: 0 clamp(44px, 6vw, 80px) 0 0;
	list-style: none;
	animation: rw-marquee 45s linear infinite;
}
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes rw-marquee { to { transform: translateX(-100%); } }
.marquee__track img {
	width: auto;
	height: 44px;
	max-width: 130px;
	object-fit: contain;
	mix-blend-mode: multiply;
	filter: grayscale(1) contrast(1.15);
	opacity: .55;
	transition: opacity .2s, filter .2s;
}
.marquee__track img:hover { filter: grayscale(0); opacity: 1; }

/* ---------- Steps ---------- */
.steps {
	position: relative;
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 32px;
	margin: 0;
	padding: 0;
	list-style: none;
	counter-reset: step;
}
.steps::before { /* connecting line through the icons */
	content: "";
	position: absolute;
	top: 26px;
	left: 26px;
	right: calc(25% - 50px); /* centre of the last icon: 4 columns, 32px gaps, 52px icons */
	height: 1px;
	background: repeating-linear-gradient(90deg, var(--line-strong) 0 6px, transparent 6px 12px);
}
.step { position: relative; counter-increment: step; }
.step__icon {
	position: relative;
	display: grid;
	place-items: center;
	width: 52px; height: 52px;
	margin-bottom: 24px;
	border: 1px solid var(--line);
	border-radius: 50%;
	background: var(--white);
	box-shadow: var(--shadow-sm);
	color: var(--navy);
}
.step__icon .icon { width: 22px; height: 22px; }
.step__icon::after {
	content: counter(step);
	position: absolute;
	top: -4px;
	right: -4px;
	display: grid;
	place-items: center;
	width: 20px; height: 20px;
	border-radius: 50%;
	background: var(--navy);
	color: var(--white);
	font-size: .7rem;
	font-weight: 600;
}
.step h3 { margin-bottom: 8px; font-size: 1.15rem; }
.step p { margin: 0; color: var(--muted); font-size: .95rem; }

/* ---------- Why (navy) ---------- */
.why { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(40px, 6vw, 96px); }
.why__head .section-title { color: var(--white); }
.why__list { display: grid; grid-template-columns: 1fr 1fr; align-self: center; gap: 48px 32px; margin: 0; padding: 0; list-style: none; }
.why__list h3 { margin: 18px 0 6px; font-size: 1.1rem; }
.why__list p { margin: 0; color: var(--on-navy); font-size: .95rem; }
.facts {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	margin: clamp(56px, 7vw, 88px) 0 0;
	border-top: 1px solid rgba(255, 255, 255, .12);
}
.fact { padding: 32px 24px 0 0; }
.fact + .fact { padding-left: 24px; border-left: 1px solid rgba(255, 255, 255, .12); }
.fact dt { display: flex; flex-direction: column; color: var(--white); font-weight: 550; }
.fact__num { margin-bottom: 8px; color: var(--white); font-size: clamp(2.75rem, 5vw, 3.75rem); font-weight: 500; letter-spacing: -.05em; line-height: 1; }
.fact dd { margin: 6px 0 0; color: var(--on-navy); font-size: .9rem; }

/* ---------- CTA ---------- */
.section--cta { padding-block: 0 var(--section); }
.cta {
	position: relative;
	display: grid;
	gap: 28px;
	padding: clamp(36px, 6vw, 72px);
	overflow: hidden;
	border-radius: var(--r-xl);
	background: var(--navy);
	color: var(--on-navy);
}
.cta__photo { position: absolute; top: 0; right: 0; bottom: 0; width: 46%; pointer-events: none; }
.cta__photo img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	-webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, .55) 35%, #000 70%);
	mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, .55) 35%, #000 70%);
}
.cta__copy,
.cta__actions { position: relative; z-index: 1; max-width: 54%; }
.cta h2 { margin-bottom: 12px; color: var(--white); font-size: clamp(1.9rem, 3.4vw, 2.75rem); letter-spacing: -.04em; }
.cta p { margin: 0; max-width: 520px; font-size: 1.1rem; }
.cta__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; }
.cta__phone { color: var(--on-navy); font-size: .95rem; text-decoration: none; }
.cta__phone:hover { color: var(--white); }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
	position: relative;
	overflow: hidden;
	padding: clamp(64px, 8vw, 104px) 0 clamp(56px, 7vw, 88px);
	border-bottom: 1px solid var(--line);
	background: var(--soft);
	isolation: isolate;
}
.page-hero__bg { position: absolute; inset: 0; z-index: -1; }
.page-hero__bg::before {
	content: "";
	position: absolute;
	inset: 0;
	background-image:
		linear-gradient(rgba(10, 37, 64, .05) 1px, transparent 1px),
		linear-gradient(90deg, rgba(10, 37, 64, .05) 1px, transparent 1px);
	background-size: 56px 56px;
	-webkit-mask-image: radial-gradient(70% 90% at 85% 0%, #000 15%, transparent 70%);
	mask-image: radial-gradient(70% 90% at 85% 0%, #000 15%, transparent 70%);
}
.page-hero__inner h1 { max-width: 18ch; }
.page-hero h1 { text-wrap: balance; margin-bottom: 20px; font-size: clamp(2.5rem, 5.4vw, 4rem); letter-spacing: -.05em; line-height: 1.02; }
.page-hero__lead { max-width: 660px; margin: 0; color: var(--muted); font-size: clamp(1.075rem, 1.6vw, 1.2rem); }
.page-hero__meta { margin: 0; color: var(--muted); font-size: .95rem; }
.page-hero--compact h1 { font-size: clamp(2.2rem, 4.4vw, 3.25rem); }

.breadcrumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 36px; color: var(--muted); font-size: .875rem; }
.breadcrumbs a { color: var(--muted); text-decoration: none; }
.breadcrumbs a:hover { color: var(--navy); }
.breadcrumbs span[aria-hidden] { color: var(--line-strong); }
.breadcrumbs [aria-current] { color: var(--navy); font-weight: 500; }

.page-hero__grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr); align-items: center; gap: clamp(40px, 6vw, 80px); }
.roles-card {
	padding: 28px;
	border: 1px solid var(--line);
	border-radius: var(--r-lg);
	background: var(--white);
	box-shadow: var(--shadow);
}
.roles-card__title { margin-bottom: 18px; color: var(--muted); font-size: .78rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.roles-card ul { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; }
.roles-card li { display: flex; align-items: center; gap: 12px; color: var(--navy); font-weight: 550; }
.roles-card__foot { margin: 22px 0 0; padding-top: 18px; border-top: 1px solid var(--line); color: var(--muted); font-size: .85rem; }

/* ---------- Discipline page ---------- */
.roles { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 20px; }
.role { padding: 28px; border: 1px solid var(--line); border-radius: var(--r-lg); }
.role__index { display: block; margin-bottom: 36px; color: var(--green-text); font-size: .85rem; font-weight: 600; font-variant-numeric: tabular-nums; }
.role h3 { margin-bottom: 8px; font-size: 1.15rem; }
.role p { margin: 0; color: var(--muted); font-size: .95rem; }

.split { display: grid; grid-template-columns: 1fr 1fr; align-items: start; gap: clamp(40px, 6vw, 96px); }
.split .chips { margin-top: 8px; }
.benefits { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; }
.benefits li {
	display: flex;
	gap: 16px;
	padding: 20px;
	border: 1px solid var(--line);
	border-radius: var(--r);
	background: var(--white);
}
.benefits h3 { margin-bottom: 4px; font-size: 1.05rem; }
.benefits p { margin: 0; color: var(--muted); font-size: .95rem; }
.benefits--plain li { padding: 0; border: 0; background: none; }

.link-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; }
.link-grid a {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 14px;
	height: 100%;
	padding: 18px;
	border: 1px solid var(--line);
	border-radius: var(--r);
	color: var(--navy);
	text-decoration: none;
	transition: border-color .2s, box-shadow .2s;
}
.link-grid a:hover { border-color: var(--navy); box-shadow: var(--shadow-sm); color: var(--navy); }
.link-grid strong { display: block; font-size: .95rem; font-weight: 600; line-height: 1.3; }
.link-grid small { color: var(--muted); font-size: .82rem; }
.link-grid__arrow { position: absolute; top: 18px; right: 18px; width: 16px; height: 16px; color: var(--muted); transform: rotate(-45deg); }

/* ---------- Services page ---------- */
.service-list { margin: 0; padding: 0; list-style: none; border-bottom: 1px solid var(--line); }
.service-row {
	display: grid;
	grid-template-columns: 56px minmax(0, 1.25fr) minmax(0, 1fr) 44px;
	align-items: center;
	gap: 32px;
	padding: 36px 0;
	border-top: 1px solid var(--line);
}
.service-row__index { align-self: start; padding-top: 10px; color: var(--muted); font-size: .9rem; font-weight: 600; font-variant-numeric: tabular-nums; }
.service-row__main { display: flex; gap: 20px; }
.service-row h2 { margin-bottom: 8px; font-size: 1.45rem; }
.service-row h2 a { color: var(--navy); text-decoration: none; }
.service-row h2 a:hover { color: var(--green-text); }
.service-row p { margin: 0; color: var(--muted); font-size: .975rem; }
.service-row__go {
	display: grid;
	place-items: center;
	width: 44px; height: 44px;
	border: 1px solid var(--line-strong);
	border-radius: 50%;
	color: var(--navy);
	transition: background-color .2s, color .2s, border-color .2s;
}
.service-row__go .icon { width: 18px; height: 18px; }
.service-row:hover .service-row__go { border-color: var(--navy); background: var(--navy); color: var(--white); }

/* ---------- About / panels ---------- */
.prose--lead p:not(.eyebrow) { color: var(--muted); font-size: 1.1rem; }
.prose .section-title { margin-top: 0; }
.panel { padding: clamp(24px, 4vw, 36px); border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--white); }
.panel h2 { margin-bottom: 22px; font-size: 1.3rem; }
.panel--navy { border-color: var(--navy); background: var(--navy); color: var(--on-navy); }
.panel--navy h2 { color: var(--white); }

/* ---------- Contact ---------- */
.section--contact { background: var(--soft); }
.contact { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); align-items: start; gap: 24px; }
.contact__aside { display: grid; gap: 20px; }
.form-card { padding: clamp(24px, 4vw, 44px); border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--white); box-shadow: var(--shadow); }
.form-card h2 { margin-bottom: 8px; font-size: 1.6rem; }
.form-card__intro { color: var(--muted); }
.contact-list { display: grid; gap: 18px; margin: 0 0 24px; padding: 0; list-style: none; }
.contact-list li { display: flex; align-items: center; gap: 14px; }
.contact-list small { display: block; color: var(--muted); font-size: .8rem; }
.contact-list a,
.contact-list address { color: var(--navy); font-style: normal; font-weight: 550; text-decoration: none; }
.contact-list a:hover { color: var(--green-text); }
.mini-steps { display: grid; gap: 18px; margin: 0; padding: 0; list-style: none; counter-reset: mini; }
.mini-steps li { position: relative; padding-left: 42px; counter-increment: mini; }
.mini-steps li::before {
	content: counter(mini);
	position: absolute;
	top: 0; left: 0;
	display: grid;
	place-items: center;
	width: 28px; height: 28px;
	border: 1px solid rgba(255, 255, 255, .2);
	border-radius: 50%;
	color: var(--white);
	font-size: .8rem;
	font-weight: 600;
}
.mini-steps strong { display: block; color: var(--white); font-weight: 600; }
.mini-steps span { font-size: .925rem; }

.form { display: grid; gap: 18px; margin-top: 28px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 6px; }
.field label { color: var(--navy); font-size: .9rem; font-weight: 550; }
.field input,
.field select,
.field textarea {
	width: 100%;
	min-height: 48px;
	padding: 11px 14px;
	border: 1px solid var(--line-strong);
	border-radius: var(--r-sm);
	background: var(--white);
	color: var(--navy);
	font: inherit;
	font-size: 1rem;
	transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 150px; resize: vertical; }
.field select {
	appearance: none;
	padding-right: 40px;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230a2540' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
	background-position: right 14px center;
	background-repeat: no-repeat;
	background-size: 16px;
}
.field input:focus,
.field select:focus,
.field textarea:focus { border-color: var(--navy); outline: none; box-shadow: 0 0 0 4px rgba(10, 37, 64, .08); }
.field ::placeholder { color: #8391a3; }
.form__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__legal { margin: 0; color: var(--muted); font-size: .875rem; }
.form .btn { justify-self: start; }

.notice { display: flex; gap: 12px; align-items: flex-start; margin-top: 18px; padding: 14px 16px; border-radius: var(--r-sm); font-weight: 550; }
.notice p { margin: 0; }
.notice .icon { margin-top: 2px; }
.notice--success { background: var(--green-soft); color: var(--green-text); }
.notice--error { background: #fdeeed; color: #a3261c; }

/* ---------- Content pages ---------- */
.section--content { padding-block: clamp(48px, 7vw, 88px); }
.prose { color: var(--text); }
.prose h2 { margin-top: 1.8em; font-size: 1.6rem; }
.prose h3 { margin-top: 1.5em; font-size: 1.25rem; }
.prose ul,
.prose ol { padding-left: 1.3em; }
.prose li { margin-bottom: .4em; }
.prose table { width: 100%; margin: 1.5em 0; border-collapse: collapse; font-size: .95rem; }
.prose th,
.prose td { padding: 10px 12px; border: 1px solid var(--line); text-align: left; vertical-align: top; }
.prose th { background: var(--soft); }
.builder-content { overflow-x: clip; }
/* Older Elementor-built pages: bring them into the brand typography. */
.builder-content :is(h1, h2, h3, h4, h5, h6, p, li, a, span, td, th, div) { font-family: var(--font) !important; }
.builder-content :is(h1, h2, h3, h4, h5, h6) { color: var(--navy) !important; letter-spacing: -.02em; }
.builder-content :is(p, li, td, p span) { color: var(--text) !important; }

/* ---------- Footer ---------- */
.site-footer { overflow: hidden; border-top: 1px solid var(--line); background: var(--soft); font-size: .95rem; }
.site-footer__top { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.4fr); gap: clamp(40px, 6vw, 96px); padding-block: clamp(56px, 7vw, 88px) 48px; }
.site-footer__brand p { max-width: 400px; margin: 20px 0 24px; color: var(--muted); }
.site-footer__contact { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.site-footer__contact li { display: flex; align-items: flex-start; gap: 10px; }
.site-footer__contact .icon { width: 18px; height: 18px; margin-top: 3px; color: var(--navy); }
.site-footer a { color: var(--text); text-decoration: none; }
.site-footer a:hover { color: var(--navy); }
.site-footer__nav { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.site-footer__title { margin-bottom: 16px; color: var(--navy); font-size: .85rem; font-weight: 600; letter-spacing: 0; }
.site-footer__nav ul { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.site-footer__bottom {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px 32px;
	padding-block: 24px;
	border-top: 1px solid var(--line);
}
.site-footer__bottom p { max-width: 720px; margin: 0; color: var(--muted); font-size: .8rem; line-height: 1.6; }
.site-footer__wordmark { padding-inline: var(--gutter); color: rgba(10, 37, 64, .055); line-height: 0; }
.site-footer__wordmark svg { display: block; width: 100%; max-width: calc(var(--container)); height: auto; margin: 0 auto -1.5%; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
	:root { --header-h: 64px; }
	.site-header { background: var(--white); backdrop-filter: none; -webkit-backdrop-filter: none; } /* blur would trap the fixed menu */
	.logo__svg { height: 26px; }
	.nav-toggle { display: grid; }
	.nav {
		position: fixed;
		inset: var(--header-h) 0 0;
		z-index: 99;
		flex-direction: column;
		align-items: stretch;
		gap: 0;
		padding: 8px var(--gutter) 32px;
		overflow-y: auto;
		background: var(--white);
		opacity: 0;
		visibility: hidden;
		transform: translateY(-8px);
		transition: opacity .2s, transform .2s var(--ease), visibility .2s;
	}
	.admin-bar .nav { top: calc(var(--header-h) + 46px); }
	.nav.is-open { opacity: 1; visibility: visible; transform: none; }
	.nav__list { flex-direction: column; align-items: stretch; margin: 0; }
	.nav__item { flex-wrap: wrap; border-bottom: 1px solid var(--line); }
	.nav__link,
	.nav__list > li > a { flex: 1; padding: 16px 2px; border-radius: 0; color: var(--navy); font-size: 1.1rem; }
	.nav__link:hover { background: none; }
	.nav__sub-toggle { width: 44px; height: 44px; margin: 0; }
	.nav__menu { position: static; width: 100%; max-height: 0; overflow: hidden; border: 0; box-shadow: none; opacity: 1; visibility: visible; transform: none; transition: max-height .3s var(--ease); }
	.nav__menu::before { display: none; }
	.nav__item--has-menu:not(.is-open) .nav__menu { max-height: 0; }
	.nav__item--has-menu.is-open .nav__menu { max-height: 1000px; padding-bottom: 12px; }
	.nav__item--has-menu:hover:not(.is-open) .nav__sub-toggle .icon { transform: none; }
	.mega { grid-template-columns: 1fr; }
	.mega__grid { grid-template-columns: 1fr; padding: 0; }
	.mega__link { padding: 10px 4px; }
	.mega__aside { display: none; }
	.nav__cta { flex-direction: column; align-items: stretch; gap: 12px; margin-top: 24px; }
	.nav__phone { display: inline-flex; justify-content: center; padding: 12px; }
	.nav__cta .btn { min-height: 52px; }
	body.nav-open { overflow: hidden; }

	.why,
	.split,
	.contact,
	.page-hero__grid,
	.site-footer__top { grid-template-columns: 1fr; }
	.facts { grid-template-columns: 1fr 1fr; }
	.fact:nth-child(3) { padding-left: 0; border-left: 0; }
	.fact:nth-child(n + 3) { margin-top: 24px; border-top: 1px solid rgba(255, 255, 255, .12); }
	.steps { grid-template-columns: 1fr 1fr; }
	.steps::before { display: none; }
	.link-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.service-row { grid-template-columns: 40px minmax(0, 1fr) 44px; }
	.service-row .chips { grid-column: 2 / 3; }
	.service-row__go { grid-column: 3; grid-row: 1; }
	.cta__photo { display: none; }
	.cta__copy,
	.cta__actions { max-width: none; }
}

@media (max-width: 860px) {
	.showcase__row { grid-template-columns: 1.6fr 1fr .9fr; }
	.showcase__row > :nth-child(2) { display: none; }
}

@media (max-width: 640px) {
	body { font-size: 1rem; }
	.hero { text-align: left; }
	.hero__inner { align-items: stretch; text-align: left; }
	.hero__title { max-width: none; }
	.brief-bar { flex-wrap: wrap; padding: 8px; }
	.brief-bar__icon { display: none; }
	.brief-bar input { flex-basis: 100%; padding-inline: 8px; }
	.brief-bar .btn { width: 100%; }
	.hero__popular { justify-content: flex-start; }
	.showcase__bar .showcase__dots,
	.showcase__meta { display: none; }
	.showcase__row { grid-template-columns: minmax(0, 1fr) auto; padding-inline: 16px; }
	.showcase__row > :nth-child(3) { display: none; }
	.models,
	.why__list,
	.steps,
	.form__row,
	.site-footer__nav { grid-template-columns: 1fr; }
	.fact,
	.fact + .fact { padding: 20px 12px 0 0; }
	.fact:nth-child(even) { padding-left: 16px; }
	.fact__num { font-size: 2.5rem; }
	.link-grid { grid-template-columns: 1fr 1fr; }
	.service-row { grid-template-columns: minmax(0, 1fr) 44px; gap: 18px; padding: 28px 0; }
	.service-row__index { display: none; }
	.service-row .chips { grid-column: 1 / -1; }
	.service-row__go { grid-column: 2; }
	.service-row__main { flex-direction: column; gap: 14px; }
	.site-footer__bottom { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
	.js [data-reveal] { opacity: 1; transform: none; }
}

/* ---------- v2.1 — photography & enhancements ---------- */
.hero-media { position: relative; max-width: 1140px; margin: clamp(48px, 6vw, 72px) auto 0; }
.hero-media__photo { overflow: hidden; border-radius: 28px; box-shadow: var(--shadow-lg); }
.hero-media__photo img { width: 100%; aspect-ratio: 16 / 7; object-fit: cover; object-position: center 30%; }
.hero-media .showcase { position: relative; z-index: 2; max-width: 940px; margin: -180px auto 0; }

.glass-chip {
	position: absolute;
	z-index: 3;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 9px 15px;
	border: 1px solid rgba(255, 255, 255, .6);
	border-radius: 999px;
	background: rgba(255, 255, 255, .85);
	-webkit-backdrop-filter: blur(10px);
	backdrop-filter: blur(10px);
	box-shadow: var(--shadow);
	color: var(--navy);
	font-size: .85rem;
	font-weight: 600;
}
.glass-chip .icon { width: 16px; height: 16px; color: var(--green-text); }
.glass-chip--a { top: 24px; left: 24px; }
.glass-chip--b { top: 24px; right: 24px; }
.glass-chip--collage { top: 20px; left: 20px; }


.why__photo { margin-top: 36px; overflow: hidden; border-radius: 20px; }
.why__photo img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }

.faq { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); align-items: start; gap: clamp(40px, 6vw, 96px); }
.faq__head { position: sticky; top: calc(var(--header-h) + 32px); }
.faq__head a { color: var(--navy); font-weight: 600; }
.faq__list { display: grid; gap: 12px; }
.faq__item { border: 1px solid var(--line); border-radius: var(--r); background: var(--white); transition: border-color .2s, box-shadow .2s; }
.faq__item[open] { border-color: var(--line-strong); box-shadow: var(--shadow); }
.faq__item summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 20px 24px;
	color: var(--navy);
	font-size: 1.05rem;
	font-weight: 600;
	list-style: none;
	cursor: pointer;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__icon { position: relative; flex: none; width: 28px; height: 28px; border: 1px solid var(--line); border-radius: 50%; }
.faq__icon::before,
.faq__icon::after {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	width: 11px;
	height: 1.5px;
	background: var(--navy);
	transform: translate(-50%, -50%);
	transition: transform .2s var(--ease);
}
.faq__icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq__item[open] .faq__icon::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq__item p { margin: 0; padding: 0 24px 22px; color: var(--muted); }

.page-hero--split .page-hero__grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); }
.page-hero__visual { position: relative; padding: 0 0 48px 64px; }
.page-hero__photo { overflow: hidden; border-radius: 24px; box-shadow: var(--shadow-lg); }
.page-hero__photo img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; }
.page-hero__visual .roles-card { position: absolute; left: 0; bottom: 0; width: min(300px, 72%); padding: 22px; }
.page-hero__visual .roles-card ul { gap: 10px; }
.page-hero__visual .roles-card li { font-size: .925rem; }

.collage { position: relative; padding-bottom: 64px; }
.collage__main { overflow: hidden; border-radius: 24px; box-shadow: var(--shadow); }
.collage__main img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.collage__inset {
	position: absolute;
	right: -12px;
	bottom: 0;
	width: 46%;
	overflow: hidden;
	border: 6px solid var(--white);
	border-radius: 20px;
	box-shadow: var(--shadow-lg);
}
.collage__inset img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.benefit-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; margin: 0; padding: 0; list-style: none; }
.benefit-grid li { padding: 28px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--white); }
.benefit-grid h3 { margin: 20px 0 6px; font-size: 1.1rem; }
.benefit-grid p { margin: 0; color: var(--muted); font-size: .95rem; }

@media (max-width: 1100px) {
	.page-hero--split .page-hero__grid { grid-template-columns: 1fr; }
	.faq { grid-template-columns: 1fr; }
	.faq__head { position: static; }
	.page-hero__visual { padding: 0; }
	.page-hero__visual .roles-card { position: relative; width: auto; margin: -48px 16px 0; }
	.benefit-grid { grid-template-columns: 1fr 1fr; }
	.collage__inset { right: 0; }
}

@media (max-width: 860px) {
	.hero-media__photo img { aspect-ratio: 16 / 9; }
	.hero-media .showcase { margin-top: -90px; width: calc(100% - 24px); }
}

@media (max-width: 640px) {
	.hero-media__photo { border-radius: 20px; }
	.hero-media__photo img { aspect-ratio: 4 / 3; }
	.hero-media .showcase { margin-top: -56px; width: calc(100% - 16px); }
	.glass-chip { padding: 6px 11px; font-size: .75rem; }
	.glass-chip--a { top: 12px; left: 12px; }
	.glass-chip--b { display: none; }
	.benefit-grid { grid-template-columns: 1fr; }
	.collage { padding-bottom: 48px; }
}

@media (prefers-reduced-motion: reduce) {
	.marquee { -webkit-mask-image: none; mask-image: none; }
	.marquee__track { flex: 1; flex-wrap: wrap; justify-content: center; padding: 0; }
	.marquee__track[aria-hidden="true"] { display: none; }
}

/* ---------- v2.2 — photo-led, premium ---------- */
/* Services as photo cards */
.pcards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.pcard {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	min-height: 340px;
	overflow: hidden;
	border-radius: var(--r-lg);
	background: var(--navy);
	color: var(--white);
	text-decoration: none;
	isolation: isolate;
}
.pcard--wide { grid-column: span 2; }
.pcard.pcard--wide::after { background: linear-gradient(90deg, rgba(10, 37, 64, .92) 0%, rgba(10, 37, 64, .7) 40%, rgba(10, 37, 64, .15) 75%), linear-gradient(180deg, rgba(10, 37, 64, 0) 50%, rgba(10, 37, 64, .6) 100%); }
.pcard__media { position: absolute; inset: 0; z-index: -2; }
.pcard__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.pcard::after { /* legibility gradient */
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: linear-gradient(180deg, rgba(10, 37, 64, 0) 25%, rgba(10, 37, 64, .55) 55%, rgba(10, 37, 64, .94) 100%);
	transition: opacity .3s;
}
.pcard:hover { color: var(--white); }
.pcard:hover .pcard__media img { transform: scale(1.05); }
.pcard__icon,
.pcard__arrow {
	position: absolute;
	top: 20px;
	display: grid;
	place-items: center;
	width: 44px; height: 44px;
	border: 1px solid rgba(255, 255, 255, .35);
	border-radius: 12px;
	background: rgba(10, 37, 64, .35);
	-webkit-backdrop-filter: blur(10px);
	backdrop-filter: blur(10px);
	color: var(--white);
}
.pcard__icon { left: 20px; }
.pcard__icon .icon { width: 22px; height: 22px; }
.pcard__arrow { right: 20px; border-radius: 50%; transition: background-color .2s, color .2s; }
.pcard__arrow .icon { width: 18px; height: 18px; transform: rotate(-45deg); }
.pcard:hover .pcard__arrow { background: var(--white); color: var(--navy); }
.pcard__body { display: flex; flex-direction: column; gap: 6px; padding: 26px; }
.pcard__kicker { color: var(--mint); font-size: .78rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.pcard__title { font-size: 1.45rem; font-weight: 600; letter-spacing: -.025em; line-height: 1.15; }
.pcard__text { max-width: 460px; color: #d5deea; font-size: .975rem; }
.pcard--cta { justify-content: space-between; padding: 0; background: var(--navy); }
.pcard--cta::after { display: none; }
.pcard--cta .pcard__body { padding: 28px 28px 0; }
.pcard--cta .btn { align-self: flex-start; margin: 0 28px 28px; }

/* Engagement models as photo cards */
.models { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.model { display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--white); transition: box-shadow .25s, transform .25s var(--ease); }
.model:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.model__media { position: relative; }
.model__img { display: block; overflow: hidden; }
.model__media img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; transition: transform .8s var(--ease); }
.model:hover .model__media img { transform: scale(1.04); }
.model__badge {
	position: absolute;
	z-index: 1;
	left: 18px;
	bottom: -22px;
	display: grid;
	place-items: center;
	width: 48px; height: 48px;
	border: 4px solid var(--white);
	border-radius: 14px;
	background: var(--navy);
	color: var(--mint);
}
.model__badge .icon { width: 20px; height: 20px; }
.model__index {
	position: absolute;
	top: 14px;
	right: 14px;
	padding: 4px 10px;
	border-radius: 999px;
	background: rgba(255, 255, 255, .88);
	color: var(--navy);
	font-size: .78rem;
	font-weight: 600;
}
.model__body { display: flex; flex: 1; flex-direction: column; padding: 38px 26px 24px; }
.model h3 { margin-bottom: 8px; font-size: 1.25rem; }
.model p { color: var(--muted); font-size: .975rem; }
.model__best { margin: auto 0 0 !important; padding-top: 16px; border-top: 1px solid var(--line); color: var(--navy) !important; font-size: .925rem !important; font-weight: 550; }
.model__best span { display: block; margin-bottom: 2px; color: var(--muted); font-size: .75rem; font-weight: 600; letter-spacing: .07em; text-transform: uppercase; }

/* Industries as photo tiles */
.ind-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; }
.ind-tile { position: relative; overflow: hidden; border-radius: var(--r-lg); isolation: isolate; }
.ind-tile img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .8s var(--ease); }
.ind-tile:hover img { transform: scale(1.05); }
.ind-tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10, 37, 64, 0) 45%, rgba(10, 37, 64, .85) 100%); }
.ind-tile__label {
	position: absolute;
	left: 18px;
	right: 18px;
	bottom: 16px;
	z-index: 1;
	display: flex;
	align-items: center;
	gap: 12px;
	color: var(--white);
	font-size: 1.15rem;
	font-weight: 600;
}
.ind-tile__icon {
	display: grid;
	place-items: center;
	width: 38px; height: 38px;
	border: 1px solid rgba(255, 255, 255, .35);
	border-radius: 10px;
	background: rgba(10, 37, 64, .35);
	-webkit-backdrop-filter: blur(8px);
	backdrop-filter: blur(8px);
	color: var(--mint);
}
.ind-tile__icon .icon { width: 20px; height: 20px; }

/* Navy sections: oversized brand mark as a quiet graphic */
.section--pattern { position: relative; overflow: hidden; isolation: isolate; }
.navy-pattern { position: absolute; top: -120px; right: -140px; z-index: -1; width: 620px; opacity: .05; pointer-events: none; }
.navy-pattern svg { width: 100%; height: auto; }

/* Services page hero collage */
.hero-collage { display: grid; grid-template-columns: 1.3fr 1fr; grid-template-rows: 1fr 1fr; gap: 14px; height: 420px; }
.hero-collage > div { overflow: hidden; border-radius: 20px; box-shadow: var(--shadow); }
.hero-collage img { width: 100%; height: 100%; object-fit: cover; }
.hero-collage__a { grid-row: 1 / span 2; }

/* Thumbnails */
.service-row__thumb { flex: none; width: 96px; height: 96px; overflow: hidden; border-radius: 16px; }
.service-row__thumb img { width: 100%; height: 100%; object-fit: cover; }
.link-grid__thumb { display: block; height: 96px; margin: -18px -18px 4px; overflow: hidden; border-radius: var(--r) var(--r) 0 0; }
.link-grid__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.link-grid a:hover .link-grid__thumb img { transform: scale(1.06); }
.link-grid__arrow { z-index: 1; top: 12px; right: 12px; padding: 6px; width: 28px; height: 28px; border-radius: 50%; background: rgba(255, 255, 255, .9); color: var(--navy); }

/* Contact: photo header on a panel */
.panel--media { padding-top: 0; overflow: hidden; }
.panel__media { margin: 0 calc(-1 * clamp(24px, 4vw, 36px)) 24px; }
.panel__media img { width: 100%; aspect-ratio: 16 / 8; object-fit: cover; }

@media (max-width: 1100px) {
	.hero-collage { height: 320px; margin-top: 8px; }
}

@media (max-width: 860px) {
	.pcards,
	.models { grid-template-columns: 1fr 1fr; }
	.pcard--wide { grid-column: 1 / -1; }
	.ind-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
	.pcards,
	.models { grid-template-columns: 1fr; }
	.pcard { min-height: 280px; }
	.ind-grid { gap: 10px; }
	.ind-tile__label { left: 12px; bottom: 10px; font-size: 1rem; }
	.ind-tile__icon { width: 32px; height: 32px; }
	.hero-collage { height: 240px; gap: 8px; }
	.service-row__thumb { width: 72px; height: 72px; }
}
