/* Dynamic Workforce — main stylesheet
   Tokens → base → layout → components → header/footer → forms → utilities */

:root {
	--navy: #0f1f30;
	--navy-2: #16304a;
	--blue: #2a7fa6;
	--blue-dark: #1f6686;
	--sky: #58b2d6;
	--ink: #1a1f2e;
	--muted: #5b6478;
	--cloud: #f3f7fa;
	--line: #dfe7ee;
	--white: #fff;
	--ok: #1e8e5a;
	--err: #c0392b;
	--radius: 18px;
	--radius-sm: 12px;
	--shadow: 0 1px 2px rgba(23, 34, 66, .06), 0 8px 24px -12px rgba(23, 34, 66, .18);
	--shadow-lg: 0 2px 4px rgba(23, 34, 66, .06), 0 24px 48px -16px rgba(23, 34, 66, .25);
	--font-h: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
	--font-b: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
	--wrap: 1160px;
	--gutter: 20px;
	--header-h: 76px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
	margin: 0;
	font-family: var(--font-b);
	font-size: 1.0625rem;
	line-height: 1.65;
	color: var(--ink);
	background: var(--white);
	-webkit-font-smoothing: antialiased;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 {
	font-family: var(--font-h);
	font-weight: 700;
	line-height: 1.12;
	color: var(--navy);
	margin: 0 0 .6em;
	letter-spacing: -.01em;
	text-wrap: balance;
}
h1 { font-size: clamp(2.25rem, 1.5rem + 3.2vw, 3.75rem); }
h2 { font-size: clamp(1.75rem, 1.2rem + 2vw, 2.75rem); }
h3 { font-size: clamp(1.2rem, 1.05rem + .6vw, 1.5rem); }
h4 { font-size: 1.125rem; }
p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0 0 1.1em; padding-left: 1.3em; }
strong { font-weight: 600; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--navy); color: #fff; padding: .6rem 1rem; border-radius: 8px; z-index: 1000; }
.skip-link:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--sky); outline-offset: 2px; }

/* ---------- Layout ---------- */
.wrap { max-width: var(--wrap); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.wrap--narrow { max-width: 780px; }
.wrap--mid { max-width: 960px; }
.sec { padding: clamp(3.5rem, 4vw + 2rem, 6rem) 0; position: relative; }
.sec--tight { padding: clamp(2rem, 3vw, 3.5rem) 0; }
.sec--alt { background: var(--cloud); }
.sec--navy { background: var(--navy); color: #d9deea; }
.sec--navy h1, .sec--navy h2, .sec--navy h3, .sec--navy h4 { color: #fff; }
.sec--navy a:not(.btn):not(.wp-block-button__link) { color: #9fd6ec; }
.sec--center { text-align: center; }
.sec--center .wrap > p.lead, .sec--center .wrap > h2, .sec--center .wrap > .eyebrow { margin-left: auto; margin-right: auto; }
.sec[id] { scroll-margin-top: calc(var(--header-h) + 12px); }
.sec-head { max-width: 720px; margin-bottom: clamp(2rem, 3vw, 3rem); }
.sec--center .sec-head { margin-left: auto; margin-right: auto; }
.grid { display: grid; gap: 1.5rem; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 960px) {
	.grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
	.grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

/* Block editor columns used as a two-column "split" (text + image). */
.split.wp-block-columns { align-items: center; gap: clamp(2rem, 5vw, 4.5rem); margin-bottom: 0; }
.split .wp-block-column > :first-child { margin-top: 0; }
.split .wp-block-image, .media .wp-block-image { margin: 0; }
.split img, .media img, .rounded img {
	border-radius: calc(var(--radius) + 6px);
	width: 100%;
	object-fit: cover;
	box-shadow: var(--shadow);
}
.split .wp-block-image.tall img { aspect-ratio: 4 / 5; }
.split .wp-block-image.wide img { aspect-ratio: 4 / 3; }
@media (max-width: 781px) {
	.split.wp-block-columns.is-reversed-mobile { flex-direction: column-reverse; }
}

/* ---------- Type helpers ---------- */
.eyebrow {
	display: inline-block;
	font-family: var(--font-h);
	font-weight: 600;
	font-size: .8125rem;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: var(--blue);
	margin: 0 0 .9rem;
}
.sec--navy .eyebrow { color: #8fd0ec; }
.lead { font-size: clamp(1.125rem, 1rem + .5vw, 1.3rem); color: var(--muted); max-width: 46ch; }
.sec--navy .lead { color: #c3cbe0; }
.small { font-size: .9375rem; color: var(--muted); }
.muted { color: var(--muted); }
.has-text-align-center { text-align: center; }
.text-center { text-align: center; }
.mb-0 { margin-bottom: 0 !important; }

/* ---------- Buttons ---------- */
.btn, .wp-block-button__link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: .5rem;
	background: var(--blue);
	color: #fff !important;
	font-family: var(--font-h);
	font-weight: 600;
	font-size: 1rem;
	line-height: 1;
	padding: .95rem 1.5rem;
	border-radius: 999px;
	border: 2px solid var(--blue);
	text-decoration: none !important;
	cursor: pointer;
	transition: background .18s, border-color .18s, transform .18s, box-shadow .18s;
	white-space: nowrap;
}
.btn:hover, .wp-block-button__link:hover { background: var(--blue-dark); border-color: var(--blue-dark); transform: translateY(-1px); box-shadow: 0 10px 20px -10px rgba(42, 127, 166, .6); }
.btn--ghost, .is-style-outline .wp-block-button__link {
	background: transparent;
	color: var(--navy) !important;
	border-color: var(--line);
}
.btn--ghost:hover, .is-style-outline .wp-block-button__link:hover { background: var(--cloud); border-color: var(--navy); box-shadow: none; }
.sec--navy .btn--ghost, .sec--navy .is-style-outline .wp-block-button__link,
.cta-band .btn--ghost, .cta-band .is-style-outline .wp-block-button__link,
.page-hero .btn--ghost, .page-hero .is-style-outline .wp-block-button__link { color: #fff !important; border-color: rgba(255, 255, 255, .45); }
.sec--navy .btn--ghost:hover, .sec--navy .is-style-outline .wp-block-button__link:hover,
.cta-band .btn--ghost:hover, .cta-band .is-style-outline .wp-block-button__link:hover,
.page-hero .btn--ghost:hover, .page-hero .is-style-outline .wp-block-button__link:hover { background: rgba(255, 255, 255, .1); border-color: #fff; }
.btn--light, .sec--navy .wp-block-button:not(.is-style-outline) .wp-block-button__link,
.cta-band .wp-block-button:not(.is-style-outline) .wp-block-button__link,
.page-hero .wp-block-button:not(.is-style-outline) .wp-block-button__link { background: #fff; border-color: #fff; color: var(--navy) !important; }
.btn--light:hover, .sec--navy .wp-block-button:not(.is-style-outline) .wp-block-button__link:hover,
.cta-band .wp-block-button:not(.is-style-outline) .wp-block-button__link:hover,
.page-hero .wp-block-button:not(.is-style-outline) .wp-block-button__link:hover { background: #e4f1f7; border-color: #e4f1f7; }
.btn--lg { padding: 1.1rem 1.9rem; font-size: 1.0625rem; }
.btn-row, .wp-block-buttons { display: flex; flex-wrap: wrap; gap: .75rem; margin: 1.5rem 0 0; }
.wp-block-buttons.is-content-justification-center { justify-content: center; }
.wp-block-button { margin: 0; }
.btn-row p { margin: 0; }

/* ---------- Hero ---------- */
.hero {
	background:
		radial-gradient(60% 80% at 100% 0%, rgba(88, 178, 214, .18), transparent 60%),
		radial-gradient(50% 70% at 0% 100%, rgba(42, 127, 166, .10), transparent 60%),
		var(--cloud);
	overflow: hidden;
}
.hero .wrap { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.hero__copy h1 { margin-bottom: .5em; }
.hero__copy .lead { margin-bottom: 1.5rem; }
.hero__media { position: relative; }
.hero__media .wp-block-image { margin: 0; }
.hero__media img { border-radius: 28px; aspect-ratio: 4 / 4.6; object-fit: cover; width: 100%; box-shadow: var(--shadow-lg); }
.float-card {
	position: absolute;
	left: -1.25rem;
	top: 1.5rem;
	background: #fff;
	border-radius: 16px;
	padding: 1rem 1.25rem;
	box-shadow: var(--shadow-lg);
	display: flex;
	gap: .9rem;
	align-items: center;
	max-width: 280px;
}
.float-card p { margin: 0; line-height: 1.3; }
.float-card .float-card__n { font-family: var(--font-h); font-size: 1.75rem; font-weight: 700; color: var(--blue); }
.float-card .float-card__l { font-size: .9rem; color: var(--muted); }
.float-card__icon { width: 44px; height: 44px; border-radius: 12px; background: #e4f1f7; display: grid; place-items: center; flex: none; }
.float-card__icon img { width: 22px; height: 22px; box-shadow: none; border-radius: 0; }
.trust-line { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; margin-top: 1.75rem; font-size: .9375rem; color: var(--muted); }
.trust-line span::before { content: "✓"; color: var(--ok); font-weight: 700; margin-right: .4rem; }
@media (max-width: 860px) {
	.hero .wrap { grid-template-columns: 1fr; }
	.hero__media img { aspect-ratio: 4 / 3; }
	.float-card { left: 1rem; top: 1rem; }
}

/* Page hero (inner pages) */
.page-hero { background: var(--navy); color: #d9deea; padding: clamp(3rem, 5vw, 5rem) 0; position: relative; overflow: hidden; }
.page-hero::after {
	content: ""; position: absolute; right: -10%; top: -40%; width: 55%; height: 180%;
	background: radial-gradient(closest-side, rgba(88, 178, 214, .35), transparent 70%); pointer-events: none;
}
.page-hero h1 { color: #fff; max-width: 16ch; }
.page-hero .lead { color: #c3cbe0; }
.page-hero .eyebrow { color: #8fd0ec; }
.page-hero .wrap { position: relative; z-index: 1; }
.page-hero--img .wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: 3rem; align-items: center; }
.page-hero--img .wp-block-image { margin: 0; }
.page-hero--img img { border-radius: 24px; aspect-ratio: 4 / 3; object-fit: cover; width: 100%; box-shadow: var(--shadow-lg); }
@media (max-width: 860px) { .page-hero--img .wrap { grid-template-columns: 1fr; } }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.stat {
	background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
	padding: 1.5rem 1.25rem; text-align: center;
}
.stat__n { font-family: var(--font-h); font-size: clamp(2rem, 1.5rem + 1.5vw, 2.75rem); font-weight: 700; color: var(--blue); line-height: 1; margin: 0 0 .35rem; }
.stat__l { margin: 0; color: var(--muted); font-size: .9375rem; }
.sec--navy .stat { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .12); }
.sec--navy .stat__n { color: #8fd0ec; }
.sec--navy .stat__l { color: #c3cbe0; }
@media (max-width: 760px) { .stats { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Cards ---------- */
.card {
	background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
	padding: 1.6rem; box-shadow: 0 1px 2px rgba(23, 34, 66, .04);
	transition: transform .2s, box-shadow .2s, border-color .2s;
	display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: #d2dbe8; }
.card h3, .card h4 { margin-bottom: .4rem; }
.card p { color: var(--muted); font-size: 1rem; }
.card p:last-child { margin-bottom: 0; }
.card > .wp-block-image { margin: -1.6rem -1.6rem 1.2rem; }
.card > .wp-block-image img { border-radius: var(--radius) var(--radius) 0 0; aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.card > .wp-block-image.badge { margin: 1rem 0 0; }
.card > .wp-block-image.badge img { aspect-ratio: auto; border-radius: 0; width: auto; max-height: 64px; object-fit: contain; }
.card .icon { width: 52px; height: 52px; border-radius: 14px; background: #e4f1f7; display: grid; place-items: center; margin-bottom: 1rem; }
.card .icon img, .card .icon svg { width: 26px; height: 26px; }
.card .more { margin-top: auto; padding-top: .75rem; }
.card .more a { font-weight: 600; font-family: var(--font-h); }
.card .more a::after { content: " →"; }
.sec--navy .card { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .12); }
.sec--navy .card p { color: #c3cbe0; }
.sec--alt .card { box-shadow: none; }
.card--link { position: relative; }
.card--link a.cover::after { content: ""; position: absolute; inset: 0; }

/* Steps (how it works) */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.step { counter-increment: step; position: relative; padding: 1.75rem 1.5rem 1.5rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.step::before {
	content: counter(step); display: grid; place-items: center;
	width: 44px; height: 44px; border-radius: 12px; background: var(--navy); color: #fff;
	font-family: var(--font-h); font-weight: 700; font-size: 1.2rem; margin-bottom: 1rem;
}
.step h3 { margin-bottom: .4rem; }
.step p { color: var(--muted); margin: 0; font-size: 1rem; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }

/* Quotes / reviews */
.quote { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem; display: flex; flex-direction: column; gap: .9rem; }
.quote .stars { color: #f5b301; letter-spacing: .1em; font-size: .95rem; }
.quote p { margin: 0; font-size: 1rem; }
.quote .quote__by { font-weight: 600; font-family: var(--font-h); color: var(--navy); margin-top: auto; line-height: 1.3; }
.quote .quote__by small { display: block; font-weight: 400; color: var(--muted); font-family: var(--font-b); font-size: .875rem; margin-top: .2rem; }
.quote--lg { padding: 2rem; }
.quote--lg p:not(.stars):not(.quote__by) { font-size: 1.15rem; color: var(--navy); }
.sec--navy .quote { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .12); }
.sec--navy .quote p, .sec--navy .quote .quote__by, .sec--navy .quote--lg p:not(.stars):not(.quote__by) { color: #fff; }
.sec--navy .quote .quote__by small { color: #c3cbe0; }
ul.pills.pills--links li { padding: 0; }
ul.pills.pills--links a { display: block; padding: .45rem 1rem; color: var(--navy); }
ul.pills.pills--links a:hover { text-decoration: none; background: #e4f1f7; border-radius: 999px; }
.page-hero ul.pills li { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .18); }
.page-hero ul.pills a { color: #fff; }
.page-hero ul.pills a:hover { background: rgba(255, 255, 255, .14); }

/* Check list + pills */
ul.check-list { list-style: none; padding: 0; margin: 0 0 1.25rem; display: grid; gap: .6rem; }
ul.check-list li { position: relative; padding-left: 2rem; }
ul.check-list li::before {
	content: ""; position: absolute; left: 0; top: .2em; width: 1.35rem; height: 1.35rem; border-radius: 50%;
	background: #e4f1f7 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath fill='none' stroke='%232a7fa6' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round' d='M5 10.5l3.2 3L15 7'/%3E%3C/svg%3E") center/70% no-repeat;
}
.sec--navy ul.check-list li::before { background-color: rgba(255, 255, 255, .12); }
ul.check-list.cols-2 { grid-template-columns: 1fr 1fr; }
@media (max-width: 600px) { ul.check-list.cols-2 { grid-template-columns: 1fr; } }
ul.pills { list-style: none; padding: 0; margin: .5rem 0 0; display: flex; flex-wrap: wrap; gap: .5rem; }
ul.pills li { background: var(--cloud); border: 1px solid var(--line); border-radius: 999px; padding: .4rem .9rem; font-size: .9375rem; color: var(--navy); font-weight: 500; }
.sec--alt ul.pills li { background: #fff; }

/* Industry blocks on the Industries page */
.industry { padding: clamp(2.5rem, 4vw, 4rem) 0; border-top: 1px solid var(--line); }
.industry:first-of-type { border-top: 0; }
.industry[id] { scroll-margin-top: calc(var(--header-h) + 12px); }
.industry .split h2 { margin-bottom: .5rem; }
.industry h4 { margin: 1.25rem 0 .25rem; font-size: .8125rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }

/* Details / FAQ */
.faq details { border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 0 1.25rem; background: #fff; margin-bottom: .75rem; }
.faq summary { cursor: pointer; font-family: var(--font-h); font-weight: 600; font-size: 1.0625rem; color: var(--navy); padding: 1rem 2rem 1rem 0; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: .85rem; font-size: 1.5rem; color: var(--blue); line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details > *:not(summary) { color: var(--muted); padding-bottom: 1rem; margin: 0; }

/* Contact cards + map */
.contact-cards .card { gap: .25rem; }
.contact-cards .card h3 { font-size: .8125rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: .4rem; }
.contact-cards .card p { color: var(--navy); font-weight: 500; font-size: 1.0625rem; }
.contact-cards .card a { color: var(--navy); }
.map { margin: 0; }
.map iframe { width: 100%; height: 360px; border: 0; border-radius: var(--radius); display: block; }

/* Logo row / badges */
.badges { display: flex; flex-wrap: wrap; gap: 1.5rem 2.5rem; align-items: center; justify-content: center; }
.badges .wp-block-image { margin: 0; }
.badges img { max-height: 64px; width: auto; opacity: .85; }

/* CTA band */
.cta-band { background: linear-gradient(135deg, var(--navy) 0%, #1d4d6b 60%, var(--blue) 140%); color: #d9deea; }
.cta-band .wrap { display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.cta-band h2 { color: #fff; margin: 0 0 .25rem; }
.cta-band p { margin: 0; color: #c3cbe0; }
.cta-band .wp-block-buttons, .cta-band .btn-row { margin: 0; }

/* ---------- Header ---------- */
.topbar { background: var(--navy); color: #c3cbe0; font-size: .875rem; }
.topbar__in { display: flex; justify-content: space-between; gap: 1rem; padding-top: .45rem; padding-bottom: .45rem; }
.topbar a { color: #fff; font-weight: 500; }
.topbar__links { display: flex; gap: 1.25rem; }
@media (max-width: 700px) { .topbar__in > span:first-child { display: none; } .topbar__in { justify-content: center; } }

/* No backdrop-filter here: it would make the header the containing block for the fixed mobile nav panel. */
.site-header { position: sticky; top: 0; z-index: 100; background: #fff; border-bottom: 1px solid transparent; transition: box-shadow .2s, border-color .2s; }
.site-header.is-stuck { border-color: var(--line); box-shadow: 0 6px 20px -14px rgba(23, 34, 66, .35); }
.site-header__in { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; height: var(--header-h); }
.brand { display: flex; align-items: center; gap: .65rem; color: var(--navy); text-decoration: none !important; }
.brand img { height: 46px; width: 46px; }
.brand__name { font-family: var(--font-h); font-weight: 800; font-size: 1.15rem; line-height: 1.05; letter-spacing: -.01em; }
.brand__name small { display: block; font-family: var(--font-b); font-weight: 500; font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--blue); margin-top: .15rem; }
.nav { display: flex; align-items: center; gap: 1.5rem; }
.nav .menu { list-style: none; margin: 0; padding: 0; display: flex; gap: .25rem; }
.nav .menu a { display: block; padding: .5rem .65rem; border-radius: 8px; color: var(--navy); font-weight: 500; font-size: .95rem; white-space: nowrap; }
.nav .menu a:hover { background: var(--cloud); text-decoration: none; }
.nav .menu .current-menu-item > a, .nav .menu .current_page_item > a { color: var(--blue); }
.nav__cta { display: flex; gap: .5rem; }
.nav__cta .btn { padding: .7rem 1.1rem; font-size: .925rem; }
.nav-toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--line); background: #fff; border-radius: 10px; position: relative; cursor: pointer; }
.nav-toggle__bar, .nav-toggle__bar::before, .nav-toggle__bar::after {
	content: ""; position: absolute; left: 11px; width: 20px; height: 2px; background: var(--navy); border-radius: 2px; transition: transform .2s, top .2s, opacity .2s;
}
.nav-toggle__bar { top: 20px; }
.nav-toggle__bar::before { top: -6px; left: 0; }
.nav-toggle__bar::after { top: 6px; left: 0; }
.nav-open .nav-toggle__bar { background: transparent; }
.nav-open .nav-toggle__bar::before { transform: rotate(45deg); top: 0; }
.nav-open .nav-toggle__bar::after { transform: rotate(-45deg); top: 0; }
@media (max-width: 1180px) {
	.nav .menu a { padding: .5rem .5rem; font-size: .9rem; }
	.nav__cta .btn--ghost { display: none; }
	.brand__name small { display: none; }
}
@media (max-width: 900px) {
	.nav-toggle { display: block; }
	.nav {
		position: fixed; inset: 0 0 0 auto; width: min(360px, 88vw); background: #fff; flex-direction: column; align-items: stretch;
		padding: 5.5rem 1.5rem 2rem; gap: 1rem; transform: translateX(100%); transition: transform .25s; box-shadow: var(--shadow-lg); z-index: 90; overflow-y: auto;
	}
	.nav-open .nav { transform: none; }
	.nav .menu { flex-direction: column; gap: .15rem; }
	.nav .menu a { font-size: 1.125rem; padding: .8rem .9rem; }
	.nav__cta { flex-direction: column; margin-top: .5rem; }
	.nav__cta .btn, .nav__cta .btn--ghost { display: inline-flex; padding: .95rem 1.25rem; font-size: 1rem; }
	.nav-toggle { position: relative; z-index: 95; }
	.nav-open::before { content: ""; position: fixed; inset: 0; background: rgba(23, 34, 66, .4); z-index: 80; }
	.nav-open { overflow: hidden; }
}

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: #c3cbe0; padding: clamp(3rem, 5vw, 4.5rem) 0 1.5rem; margin-top: 0; }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 2.5rem; }
.footer__brand img:not(.footer__badge) { height: 56px; width: 56px; background: #fff; border-radius: 50%; margin-bottom: 1rem; }
.footer__brand p { font-size: .95rem; max-width: 34ch; }
.footer__brand .footer__badge { height: auto; width: 170px; background: #fff; padding: .5rem .6rem; border-radius: 8px; margin-top: 1.25rem; }
.footer__h { font-size: .8125rem; letter-spacing: .12em; text-transform: uppercase; color: #fff; margin-bottom: 1rem; }
.footer__menu { list-style: none; margin: 0; padding: 0; display: grid; gap: .45rem; }
.footer__menu a { color: #c3cbe0; }
.footer__menu a:hover { color: #fff; }
.footer__contact li { font-size: .95rem; }
.footer__bottom { border-top: 1px solid rgba(255, 255, 255, .12); margin-top: 2.5rem; padding-top: 1.25rem; display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-size: .875rem; color: #8f9ab5; }
@media (max-width: 900px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer__grid { grid-template-columns: 1fr; gap: 2rem; } }

/* ---------- Forms ---------- */
.form-card { background: #fff; border: 1px solid var(--line); border-radius: calc(var(--radius) + 4px); padding: clamp(1.5rem, 3vw, 2.5rem); box-shadow: var(--shadow); }
.form-card h2, .form-card h3 { margin-bottom: .35rem; }
.form-card > p { color: var(--muted); margin-bottom: 1.5rem; }
.dwf-form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem 1.25rem; }
.field { display: flex; flex-direction: column; gap: .35rem; grid-column: 1 / -1; }
.field--half { grid-column: span 1; }
.field label { font-weight: 500; font-size: .95rem; color: var(--navy); }
.field .req { color: var(--err); }
.field input:not([type=checkbox]), .field select, .field textarea {
	font: inherit; font-size: 1rem; color: var(--ink); width: 100%;
	padding: .8rem .95rem; border: 1px solid #cfd7e3; border-radius: 10px; background: #fff;
	transition: border-color .15s, box-shadow .15s;
}
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(42, 127, 166, .18); }
.was-validated .field :invalid { border-color: var(--err); }
.field--check { justify-content: flex-end; }
.field--check label { display: flex; gap: .6rem; align-items: center; font-weight: 400; padding: .6rem 0; cursor: pointer; }
.field--check input { width: 20px; height: 20px; accent-color: var(--blue); }
.dwf-form__foot { display: flex; align-items: center; gap: 1.25rem; flex-wrap: wrap; margin-top: 1.5rem; }
.dwf-form__note { color: var(--muted); font-size: .95rem; }
.dwf-hp { position: absolute; left: -9999px; }
.form-notice { padding: 1rem 1.25rem; border-radius: 12px; margin-bottom: 1.25rem; }
.form-notice--ok { background: #e8f7ee; color: #155d3a; border: 1px solid #bfe8cf; }
.form-notice--err { background: #fdecea; color: #8a2419; border: 1px solid #f5c6c1; }
@media (max-width: 600px) { .field--half { grid-column: 1 / -1; } }

/* ---------- Reveal animation ---------- */
.will-reveal { opacity: 0; transform: translateY(14px); transition: opacity .5s ease, transform .5s ease; }
.will-reveal.is-in { opacity: 1; transform: none; }

/* ---------- Block editor defaults seen on the front end ---------- */
.wp-block-columns { margin-bottom: 0; }
.wp-block-separator { border: 0; border-top: 1px solid var(--line); margin: 2rem 0; }
.entry > * { max-width: 780px; margin-left: auto; margin-right: auto; }
figure.wp-block-image figcaption { font-size: .875rem; color: var(--muted); text-align: center; margin-top: .5rem; }
.wp-block-group.sec > .wrap > :first-child { margin-top: 0; }

/* =====================================================================
   v2 — distinctive layer: hexagon motif from the logo, cinematic hero,
   photo tiles, timeline steps, hairline stats, micro-interactions.
   ===================================================================== */
:root {
	--hex: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='64' viewBox='0 0 56 64'%3E%3Cpath d='M28 2 52 16v32L28 62 4 48V16z' fill='none' stroke='%232a7fa6' stroke-opacity='.045' stroke-width='1.5'/%3E%3C/svg%3E");
	--hex-light: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='64' viewBox='0 0 56 64'%3E%3Cpath d='M28 2 52 16v32L28 62 4 48V16z' fill='none' stroke='%23ffffff' stroke-opacity='.09' stroke-width='1.5'/%3E%3C/svg%3E");
	--hex-big: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpath d='M50 3 92 27v46L50 97 8 73V27z' fill='none' stroke='%2358b2d6' stroke-opacity='.35' stroke-width='1'/%3E%3C/svg%3E");
}
h1 { font-weight: 800; letter-spacing: -.02em; font-size: clamp(2.5rem, 1.6rem + 3.6vw, 4.4rem); line-height: 1.04; }
h2 { font-weight: 800; letter-spacing: -.02em; }
h1 em, h2 em { font-style: normal; color: var(--blue); }
.sec--navy h1 em, .sec--navy h2 em, .page-hero h1 em, .hero h1 em, .cta-band h2 em { color: var(--sky); }

/* Eyebrow with a short rule */
.eyebrow { display: inline-flex; align-items: center; gap: .6rem; }
.eyebrow::before { content: ""; width: 1.6rem; height: 2px; background: currentColor; opacity: .8; border-radius: 2px; }

/* Buttons: arrow that slides on hover */
.btn:not(.btn--ghost)::after, .wp-block-button:not(.is-style-outline) .wp-block-button__link::after { content: "→"; display: inline-block; margin-left: .15rem; transition: transform .2s; }
.btn:not(.btn--ghost):hover::after, .wp-block-button:not(.is-style-outline) .wp-block-button__link:hover::after { transform: translateX(3px); }
.nav__cta .btn::after, .dwf-form .btn::after { display: none; }

/* Nav underline animation */
.nav .menu a { position: relative; }
.nav .menu a::after { content: ""; position: absolute; left: .65rem; right: .65rem; bottom: .25rem; height: 2px; background: var(--blue); border-radius: 2px; transform: scaleX(0); transform-origin: left; transition: transform .2s; }
.nav .menu a:hover::after, .nav .menu .current-menu-item > a::after, .nav .menu .current_page_item > a::after { transform: scaleX(1); }
.nav .menu a:hover { background: transparent; }
@media (max-width: 900px) { .nav .menu a::after { display: none; } }

/* Cinematic hero: navy, hexagon field, teal glow, hexagon-clipped photo */
.hero {
	background:
		radial-gradient(55% 70% at 85% 20%, rgba(88, 178, 214, .35), transparent 65%),
		radial-gradient(40% 50% at 10% 90%, rgba(42, 127, 166, .35), transparent 60%),
		var(--hex-light),
		linear-gradient(160deg, #0f1f30 0%, #13293f 60%, #16304a 100%);
	color: #d6e2ec;
	padding-top: clamp(3rem, 5vw, 5.5rem);
	padding-bottom: clamp(5.5rem, 8vw, 8rem);
}
.hero h1 { color: #fff; }
.hero .lead { color: #c6d3de; }
.hero .eyebrow { color: var(--sky); }
.hero .trust-line { color: #c6d3de; }
.hero .trust-line span::before { color: var(--sky); }
.hero .is-style-outline .wp-block-button__link, .hero .btn--ghost { color: #fff !important; border-color: rgba(255, 255, 255, .45); }
.hero .is-style-outline .wp-block-button__link:hover, .hero .btn--ghost:hover { background: rgba(255, 255, 255, .1); border-color: #fff; }
.hero__media { padding: 1.5rem 0 0 1.5rem; }
.hero__media::before { content: ""; position: absolute; inset: 6% -9% -7% 9%; background: var(--hex-big) center / contain no-repeat; pointer-events: none; }
.hero__media img, .hero__media .wp-block-image { position: relative; }
.hero__media img {
	border-radius: 0; box-shadow: none; aspect-ratio: 1 / 1.05;
	clip-path: polygon(50% 0%, 95% 24%, 95% 76%, 50% 100%, 5% 76%, 5% 24%);
}
.hero .float-card { top: auto; bottom: 2.5rem; left: 0; }
@media (max-width: 860px) {
	.hero__media { padding: 1rem 0 0; }
	.hero__media img { aspect-ratio: 1 / 1; max-width: 420px; margin: 0 auto; }
	.hero .float-card { bottom: 1rem; left: .5rem; }
}

/* Stats: a white strip that overlaps the hero, hairlines instead of boxes */
.hero + .sec--tight { padding-top: 0; }
.hero + .sec--tight .stats {
	margin-top: -4.5rem; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-lg);
	gap: 0; padding: .5rem 0; position: relative; z-index: 2;
}
.hero + .sec--tight .stat { border: 0; border-left: 1px solid var(--line); border-radius: 0; padding: 1.4rem 1rem; background: transparent; }
.hero + .sec--tight .stat:first-child { border-left: 0; }
@media (max-width: 760px) {
	.hero + .sec--tight .stats { margin-top: -3rem; }
	.hero + .sec--tight .stat:nth-child(3) { border-left: 0; }
	.hero + .sec--tight .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
}

/* Patterned light sections */
.sec--alt { background: var(--hex), var(--cloud); }
.sec--alt .card, .sec--alt .step { box-shadow: var(--shadow); }

/* Cards: teal accent bar on hover, bigger title */
.card { position: relative; overflow: hidden; }
.card::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: linear-gradient(90deg, var(--blue), var(--sky)); transform: scaleX(0); transform-origin: left; transition: transform .25s; z-index: 2; }
.card:hover::before { transform: scaleX(1); }
.card h3 { font-size: 1.3rem; }

/* Photo tiles (4-up grids): square image, title set over a gradient, text below */
.grid-4 .card { container-type: inline-size; }
.grid-4 .card > .wp-block-image { position: relative; }
.grid-4 .card > .wp-block-image img { aspect-ratio: 1 / 1; transition: transform .5s; }
.grid-4 .card:hover > .wp-block-image img { transform: scale(1.04); }
.grid-4 .card > .wp-block-image::after { content: ""; position: absolute; inset: auto 0 0 0; height: 55%; background: linear-gradient(to top, rgba(15, 31, 48, .85), rgba(15, 31, 48, 0)); pointer-events: none; }
@supports (top: 1cqw) {
	.grid-4 .card > .wp-block-image + h3 { position: absolute; left: 1.4rem; right: 1.4rem; top: calc(100cqw + 3.2rem - 3.1rem); color: #fff; margin: 0; z-index: 1; text-shadow: 0 1px 2px rgba(0, 0, 0, .3); }
	.grid-4 .card > .wp-block-image + h3 + p { margin-top: .9rem; }
}

/* Steps: connected timeline */
.steps { position: relative; }
.steps::before { content: ""; position: absolute; left: 10%; right: 10%; top: calc(1.75rem + 22px); height: 2px; background: linear-gradient(90deg, var(--blue), var(--sky)); opacity: .5; }
.step { border: 0; box-shadow: var(--shadow); }
.step::before { border-radius: 50%; background: var(--navy); box-shadow: 0 0 0 4px #fff, 0 0 0 6px rgba(42, 127, 166, .35); position: relative; z-index: 1; }
@media (max-width: 860px) { .steps::before { display: none; } }

/* Photo frames: teal offset block behind images in split sections */
.split .wp-block-image { position: relative; }
.split .wp-block-image::before { content: ""; position: absolute; inset: 14px -14px -14px 14px; background: var(--hex), linear-gradient(135deg, rgba(42, 127, 166, .18), rgba(88, 178, 214, .18)); border-radius: calc(var(--radius) + 6px); z-index: 0; }
.split .wp-block-image img { position: relative; z-index: 1; }
.sec--navy .split .wp-block-image::before { background: var(--hex-light), rgba(255, 255, 255, .06); }

/* Inner-page heroes and the CTA band get the hexagon field too */
.page-hero { background: var(--hex-light), var(--navy); }
.page-hero::after { background: radial-gradient(closest-side, rgba(88, 178, 214, .45), transparent 70%); }
.cta-band { background: var(--hex-light), linear-gradient(135deg, var(--navy) 0%, #1d4d6b 60%, var(--blue) 140%); }
.cta-band h2 { font-size: clamp(1.75rem, 1.2rem + 2vw, 2.5rem); }
.sec--navy { background: var(--hex-light), var(--navy); }

/* Pills */
ul.pills li { background: #fff; border-color: #d8e6ee; color: var(--navy-2); }
.page-hero ul.pills li { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .18); }

/* Contact cards */
.contact-cards .card h3 { color: var(--blue); }

/* Footer: hexagon watermark + teal headings */
.site-footer { position: relative; overflow: hidden; background: var(--hex-light), var(--navy); }
.site-footer::before { content: ""; position: absolute; right: -6%; top: -20%; width: 42vw; max-width: 560px; aspect-ratio: 1; background: var(--hex-big) center / contain no-repeat; opacity: .5; pointer-events: none; }
.site-footer .wrap { position: relative; }
.footer__h { color: var(--sky); }

/* Forms */
.form-card { border-top: 4px solid var(--blue); }
