/* Shared frontend/editor design system. No external assets or dependencies. */
:root {
	--navy: #213f5e;
	--text: #0f3760;
	--light: #f5f5f8;
	--gold: #a68b53;
	--gutter: 24px;
}
* { box-sizing: border-box; }
body { margin: 0; background: #fff; color: var(--text); font-family: Arial, Helvetica, sans-serif; font-size: 16px; line-height: 1.65; }
img { max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: .25em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid currentColor; outline-offset: 5px; }
h1, h2, h3 { font-weight: 400; line-height: 1.15; overflow-wrap: anywhere; }
h1 { font-size: clamp(2.25rem, 4vw, 3.25rem); letter-spacing: -.035em; }
h2 { font-size: clamp(2rem, 3vw, 2.75rem); letter-spacing: -.025em; }
h3 { font-size: 1.125rem; }
p { overflow-wrap: anywhere; }
.container { width: min(1280px, calc(100% - var(--gutter) * 2)); margin-inline: auto; }
.section-space { padding-block: 68px; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.skip-link:focus { clip-path: none; width: auto; height: auto; margin: 0; top: 12px; left: 24px; padding: 12px 20px; background: #fff; color: var(--text); z-index: 100000; }
.site-header { background: #fff; }
.header-inner { min-height: 76px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 32px; padding-block: 8px; }
.brand { flex: 0 1 210px; min-width: 0; max-width: 100%; font-size: 1.35rem; overflow-wrap: anywhere; }
.brand a { display: block; text-decoration: none; }
.brand .custom-logo { display: block; max-height: 70px; width: auto; object-fit: contain; }
@media (max-width: 767px) {
	.header-inner .brand {
		flex: 1 1 100%;
		width: 100%;
		text-align: center;
	}

	.header-inner .brand .custom-logo {
		margin-inline: auto;
	}
}
.primary-navigation { width: 100%; min-width: 0; font-size: .875rem; }
.primary-navigation ul { list-style: none; margin: 0; padding: 0; }
.primary-navigation .menu { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 0 24px; }
.primary-navigation .menu li { min-width: 0; max-width: 100%; }
.primary-navigation a { display: inline-block; padding-block: 12px; overflow-wrap: anywhere; text-underline-offset: 9px; }
.primary-navigation a:not(:hover):not(:focus-visible) { text-decoration: none; }
.primary-navigation .current-menu-item > a { text-decoration: underline !important; text-decoration-color: var(--gold); }
.primary-navigation .sub-menu { padding-left: 16px; border-left: 1px solid #dce1e6; }
.primary-navigation .sub-menu a { padding-block: 8px; }
.hero { position: relative; overflow: hidden; height: 60vh; height: 60svh; min-height: 260px; max-height: 850px; background: #e5e7e9; }
.hero > img, .hero > .image-placeholder { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center center; }
.hero > img { position: absolute; inset: 0; }
.hero > .image-placeholder { display: grid; }
.entry-content { margin-top: 32px; }
.home-content { margin-top: 0; }
.entry-content > :not(.alignwide):not(.alignfull):not(.section-space) { max-width: 760px; margin-inline: auto; }
.home-content > :not(.alignfull):not(.section-space) { width: calc(100% - var(--gutter) * 2); }
.entry-content > .alignwide { max-width: 1280px; margin-inline: auto; }
.entry-content > .alignfull { max-width: none; }
.entry-content::after { content: ''; display: table; clear: both; }
.alignleft { float: left; margin: 0 24px 24px 0; }
.alignright { float: right; margin: 0 0 24px 24px; }
.aligncenter { display: block; margin-inline: auto; }
.wp-caption, .wp-caption-text, .gallery-caption { max-width: 100%; font-size: .875rem; }
.intro, .company { background: var(--light); }
.intro-grid, .expertise-grid, .company-copy { display: grid; gap: 32px; }
/* These custom layouts use grid gaps, not WordPress flow sibling margins. */
.home-content > .section-space,
.intro-grid > *, .expertise-grid > *, .company-copy > *,
.project-grid > .project { margin-block: 0; }
.intro-brand > *, .intro-copy > *, .expertise-item > *,
.company-heading > *, .company-description > * { margin-block: 0; }
.intro-brand > * + * { margin-top: 30px; }
.intro-copy > * + *, .company-heading > * + * { margin-top: 22px; }
.intro-copy > .lead { margin-top: 28px; }
.intro-copy > .expertise-grid { margin-top: 38px; }
.expertise-item > * + * { margin-top: 12px; }
.company-description > * + * { margin-top: 20px; }
.company-description > .wp-block-buttons { margin-top: 30px; }
.intro-brand { text-align: center; align-self: center; }
.brand-statement { font-size: clamp(1.75rem, 3vw, 2.5rem); line-height: 1.2; }
.intro-brand > p:not(.brand-statement) { font-size: .75rem; letter-spacing: .08em; }
.intro-brand .wp-block-site-logo { width: 100%; margin-inline: auto; }
.intro-brand .wp-block-site-logo a { display: inline-block; max-width: 100%; }
.intro-brand .wp-block-site-logo img { display: block; width: 280px; max-width: 100%; height: auto; max-height: 120px; object-fit: contain; margin-inline: auto; }
.eyebrow { font-size: .6875rem; font-weight: 600; letter-spacing: .17em; text-transform: uppercase; }
.lead { font-size: 1.125rem; }
.expertise-grid h3 { font-size: 1.0625rem; }
.expertise-grid p, .company-description { color: #506174; }
.expertise-grid p { font-size: .875rem; }
.projects { background: var(--navy); color: #fff; }
.section-heading { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 12px 24px; border-bottom: 1px solid #ffffff35; margin-bottom: 32px; padding-bottom: 22px; }
.section-heading h2, .section-heading p { margin: 0; }
.project-grid { display: grid; grid-template-columns: minmax(0, 1fr); align-items: start; gap: 44px 34px; margin-block: 0; }
.project-grid > *, .intro-grid > *, .company-copy > * { min-width: 0; }
/* Frame dimensions win over Image block alignment, resizing and source dimensions.
 * Support both the starter Group frames and existing direct native Image blocks.
 * Absolute images cannot contribute intrinsic height to these frames. */
:is(.project-image, .project > .wp-block-image, .company-image, .company > .container > .wp-block-image) {
	position: relative;
	display: block;
	float: none;
	width: 100% !important;
	max-width: 100% !important;
	height: auto !important;
	min-height: 0 !important;
	aspect-ratio: 16 / 9 !important;
	padding: 0 !important;
	margin: 0 !important;
	overflow: hidden;
	background: #e7e8e9;
}
:is(.project-image, .company-image) .wp-block-image {
	position: static;
	float: none;
	width: 100% !important;
	max-width: none !important;
	margin: 0 !important;
}
:is(.project-image, .project > .wp-block-image, .company-image, .company > .container > .wp-block-image) img {
	position: absolute;
	inset: 0;
	display: block;
	width: 100% !important;
	height: 100% !important;
	max-width: none !important;
	max-height: none !important;
	margin: 0 !important;
	object-fit: cover !important;
	object-position: center center !important;
}
/* Keep linked images' keyboard focus visible inside the cropped frame. */
:is(.project-image, .project > .wp-block-image, .company-image, .company > .container > .wp-block-image) a:focus-visible {
	position: absolute;
	inset: 0;
	outline-offset: -5px;
	z-index: 1;
}
.image-placeholder { display: grid; place-items: center; padding: 24px; background: #e7e8e9; color: #526577; text-align: center; font-size: .875rem; }
.project h3 { width: 100%; max-width: none; margin: 19px 0 0; line-height: 1.4; text-align: center; }
.project-note { margin-top: 42px; color: #c9d4df; font-size: .75rem; }
.narrow { max-width: 1080px; }
:is(.company-image, .company > .container > .wp-block-image) {
	max-width: 660px !important;
	aspect-ratio: 2.2 / 1 !important;
	margin-inline: auto !important;
}
.company-copy { margin-top: 34px; }
.wp-block-button__link { background: var(--navy); color: #fff; border-radius: 1px; padding: 15px 24px; font-size: .875rem; }
/* Footer only: remove footer--with-art or add footer--no-art for a flat navy surface. */
.site-footer {
	border-top: 1px solid #a68b5366;
	background: var(--navy);
	color: #fff;
}
.site-footer.footer--with-art:not(.footer--no-art) {
	background-image: linear-gradient(115deg, transparent 72%, #ffffff04 72%, #ffffff04 72.15%, transparent 72.15%),
		linear-gradient(65deg, transparent 82%, #a68b5310 82%, #a68b5310 82.15%, transparent 82.15%),
		radial-gradient(ellipse at 85% 0%, #a68b5312, transparent 65%);
}
.site-footer .footer-main {
	display: grid;
	gap: 32px;
	align-items: center;
	padding-block: 48px;
	text-align: center;
}
.site-footer .footer-main > *, .site-footer .footer-info > * { min-width: 0; }
.site-footer .footer-brand { width: 100%; max-width: var(--footer-logo-width, 260px); justify-self: center; font-size: 1.5rem; letter-spacing: .025em; overflow-wrap: anywhere; }
.site-footer .footer-brand a { display: inline-block; max-width: 100%; text-decoration: none; }
.site-footer .footer-brand img { display: block; width: var(--footer-logo-width, 260px); max-width: 100%; height: auto; margin-inline: auto; object-fit: contain; }
.site-footer .footer-navigation { font-size: .875rem; }
.site-footer .footer-navigation ul { list-style: none; padding: 0; margin: 0; }
.site-footer .footer-menu { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 24px; }
.site-footer .footer-menu li { min-width: 0; max-width: 100%; }
.site-footer .footer-navigation a { display: inline-block; padding-block: 10px; overflow-wrap: anywhere; text-decoration: none; }
.site-footer .footer-navigation .sub-menu { padding-inline-start: 12px; border-inline-start: 1px solid #a68b5366; text-align: start; color: #d2dce7; }
.site-footer .footer-navigation .sub-menu a { padding-block: 6px; }
.site-footer .footer-navigation .current-menu-item > a { text-decoration: underline; text-decoration-color: var(--gold); }
.site-footer .footer-tagline { margin: 0; font-size: clamp(1.125rem, 1.6vw, 1.375rem); font-weight: 400; letter-spacing: -.02em; }
.site-footer .footer-tagline::before { content: ''; display: block; width: 36px; height: 2px; margin: 0 auto 18px; background: var(--gold); }
.site-footer .footer-info { display: grid; gap: 24px; padding-block: 28px 32px; border-top: 1px solid #ffffff26; text-align: center; }
.site-footer .footer-social { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.site-footer .social-circle { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 1px solid #a68b5380; border-radius: 50%; font-size: 13px; font-weight: 600; text-decoration: none; }
.site-footer .social-circle:hover { background: #a68b531a; border-color: var(--gold); }
.site-footer .footer-contact { margin: 0; font-style: normal; font-size: .875rem; line-height: 1.7; }
.site-footer .contact-details { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 24px; }
.site-footer .contact-details > * { max-width: 100%; overflow-wrap: anywhere; }
.site-footer .footer-contact a { display: inline-block; padding-block: 6px; text-decoration: none; }
.site-footer .footer-contact p { margin: 6px 0 0; color: #d2dce7; }
.site-footer .footer-copyright { margin: 0; color: #d2dce7; font-size: .8125rem; }
.site-footer .footer-organisation { margin: 6px 0 0; color: #d2dce7; font-size: .75rem; }
.site-footer a:hover { text-decoration: underline; text-decoration-color: var(--gold); }
.site-footer a:focus-visible { outline: 2px solid #d8c494; outline-offset: 5px; }
@media (min-width: 1025px) {
	.site-footer .footer-main { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr); gap: 32px; padding-block: 64px; }
	.site-footer .footer-brand { grid-column: 2; grid-row: 1; }
	.site-footer .footer-navigation { grid-column: 1; grid-row: 1; padding-inline-end: 32px; border-inline-end: 1px solid #a68b534d; text-align: start; }
	.site-footer .footer-menu { justify-content: flex-start; }
	.site-footer .footer-tagline { grid-column: 3; grid-row: 1; padding-inline-start: 32px; border-inline-start: 1px solid #a68b534d; text-align: start; }
	.site-footer .footer-tagline::before { margin-inline: 0; }
	.site-footer .footer-info { grid-template-columns: minmax(0, 1fr) minmax(0, 2fr) minmax(0, 1fr); align-items: center; gap: 32px; }
	.site-footer .footer-social { justify-content: flex-start; }
	.site-footer .footer-contact { grid-column: 2; grid-row: 1; }
	.site-footer .footer-legal { grid-column: 3; grid-row: 1; text-align: end; }
}
.page-image { display: block; margin-block: 32px; }
.post-entry { margin-block: 48px; }
input, textarea, select, button { max-width: 100%; font: inherit; }
input, textarea, select { padding: 10px; border: 1px solid #506174; }
button, input[type="submit"] { padding: 10px 20px; background: var(--navy); color: #fff; border: 1px solid var(--navy); cursor: pointer; }
pre { overflow-x: auto; }
@media (min-width: 768px) {
	:root { --gutter: 32px; }
	.section-space { padding-block: 88px; }
	.header-inner { min-height: 100px; }
	.brand { flex-basis: 235px; }
	.brand .custom-logo { max-height: 78px; }
	.primary-navigation { flex: 1 1 360px; width: auto; margin-left: auto; }
	.primary-navigation .menu { justify-content: flex-end; }
	.hero { height: 70vh; height: 70svh; }
	.intro-grid { grid-template-columns: .8fr 1.2fr; gap: 48px; }
	.expertise-grid, .company-copy { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.project-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 60px; }
	.company-copy { margin-top: 56px; gap: 40px; }
}
@media (min-width: 1025px) {
	:root { --gutter: 48px; }
	.section-space { padding-block: 116px; }
	.brand { flex-basis: 282px; }
	.brand .custom-logo { max-height: 94px; }
	.primary-navigation .menu { column-gap: 34px; }
	.intro-grid { grid-template-columns: .95fr 1.05fr; gap: 100px; }
	.project-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.company-copy { gap: 70px; }
}
/* No animation or smooth scrolling: reduced-motion preferences work by default. */

/* Homepage v2 — shared frontend/editor styles; native blocks own all content. */
/* Templates opt in only for v2 content. Full sections live outside .container;
 * their existing inner .container supplies the shared width and mobile gutters.
 * Future sections use alignfull + an inner .container, just like the v2 groups.
 * Keep standalone blocks readable, including blocks added above/below the pattern.
 * These template-only selectors do not change the editor's alignment canvas. */
.home-v2-content > :not(.alignfull):not(.section-space) {
	width: min(760px, calc(100% - var(--gutter) * 2));
	margin-inline: auto;
}
.home-v2-content > .alignwide {
	width: min(1280px, calc(100% - var(--gutter) * 2));
}
.home-v2-content > :is(.alignfull, .projects, .company) {
	width: 100%;
	max-width: none;
	margin-inline: 0;
}
.home-v2-content > :is(.projects, .company) { margin-block: 0; }
.wp-block-cover.home-v2-hero {
	min-height: clamp(26rem, 68svh, 48rem) !important;
	height: auto !important;
	aspect-ratio: auto !important;
	padding: clamp(4rem, 10vw, 8rem) 0;
	margin-block: 0;
	background: var(--navy);
	color: #fff;
	isolation: isolate;
}
/* Only text can expand the frame (including at zoom); media never sizes it. */
.wp-block-cover.home-v2-hero > :is(img, video) {
	position: absolute;
	inset: 0;
	width: 100% !important;
	height: 100% !important;
	max-width: none;
	object-fit: cover;
}
.wp-block-cover.home-v2-hero > .wp-block-cover__background {
	background-color: var(--navy);
	opacity: .6;
}
.home-v2-hero .wp-block-cover__inner-container { width: 100%; }
.home-v2-hero-copy > * { max-width: 850px; margin-block: 0; }
.home-v2-hero-copy h1 {
	color: #fff;
	font-size: clamp(2.5rem, 5.5vw, 5rem);
	line-height: 1.08;
	text-wrap: balance;
}
.home-v2-hero-copy p { margin-top: 24px; font-size: clamp(1.0625rem, 2vw, 1.375rem); }
/* Discipline panels and their shared workflow; all decoration stays local. */
.home-v2-disciplines, .home-v2-process { background: var(--light); margin-block: 0; }
.home-v2-disciplines {
	padding-block: clamp(56px, 7vw, 104px) 0;
	background-image: linear-gradient(#213f5e0d 1px, transparent 1px), linear-gradient(90deg, #213f5e0d 1px, transparent 1px);
	background-size: 64px 64px;
}
.home-v2-section-title { margin: 0 0 40px; text-wrap: balance; }
.home-v2-disciplines .home-v2-section-title { margin-bottom: clamp(36px, 5vw, 64px); }
.home-v2-split { display: grid; gap: 32px; }
.home-v2-split > .home-v2-discipline {
	min-width: 0;
	margin: 0;
	padding: clamp(24px, 3vw, 44px);
	border-top: 2px solid var(--gold);
	background: #ffffff80;
}
.home-v2-discipline h3 { margin: 0; font-size: clamp(2.25rem, 4vw, 3.5rem); letter-spacing: -.035em; }
.home-v2-discipline p { max-width: 34ch; margin: 24px 0 32px; color: #506174; font-size: 1.125rem; line-height: 1.7; }
.home-v2-discipline ul { padding-left: 1.5em; margin: 0; }
/* Keep a native marker (and list semantics), but draw a quiet chevron. */
.home-v2-discipline li { position: relative; padding: 12px 0 12px 8px; margin: 0; border-bottom: 1px solid #213f5e14; overflow-wrap: anywhere; }
.home-v2-discipline li::marker { color: transparent; }
.home-v2-discipline li::before {
	content: '';
	position: absolute;
	left: -1.2em;
	top: 1.25em;
	width: 7px;
	height: 7px;
	border-top: 2px solid var(--gold);
	border-right: 2px solid var(--gold);
	transform: rotate(45deg);
}
.home-v2-process {
	padding-block: 40px clamp(56px, 7vw, 88px);
	background-image: linear-gradient(#213f5e0d 1px, transparent 1px), linear-gradient(90deg, #213f5e0d 1px, transparent 1px);
	background-size: 64px 64px;
}
.home-v2-process h2 { margin: 0 0 36px; font-size: clamp(1.75rem, 3vw, 2.5rem); text-wrap: balance; }
.home-v2-process-track {
	--process-image-size: 160px;
	direction: ltr;
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 32px;
	margin: 0;
}
.home-v2-process-step {
	position: relative;
	min-width: 0;
	margin: 0;
	text-align: center;
}
.home-v2-process-step > .home-v2-process-image {
	position: relative;
	z-index: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	width: var(--process-image-size);
	height: var(--process-image-size);
	margin: 0 auto;
	padding: 0;
	overflow: hidden;
	border: 2px solid var(--gold);
	border-radius: 50%;
	background: var(--light);
}
.home-v2-process-image .wp-block-image,
.home-v2-process-image .wp-block-image > a {
	display: block;
	width: 100%;
	height: 100%;
	max-width: 100%;
	margin: 0;
}
.home-v2-process-image .wp-block-image img {
	display: block;
	/* Override dimensions saved inline by the native Image block. */
	width: 100% !important;
	height: 100% !important;
	max-width: 100%;
	max-height: none;
	object-fit: cover;
}
.home-v2-process-image figcaption { display: none; }
.home-v2-process-step > p { margin: 20px 0 0; overflow-wrap: anywhere; }
@media (min-width: 768px) {
	.home-v2-split { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(40px, 6vw, 88px); }
	.home-v2-discipline p { min-height: 5.1em; }
	.home-v2-process { padding-top: 0; }
	/* Two arms join a single stem in normal flow, independent of panel height. */
	.home-v2-process > .container::before {
		content: '';
		display: block;
		width: 50%;
		height: 40px;
		margin: 0 auto;
		border: 1px solid #213f5e40;
		border-top: 0;
		border-radius: 0 0 32px 32px;
	}
	.home-v2-process h2 { text-align: center; margin-bottom: 48px; }
	.home-v2-process h2::before {
		content: '';
		display: block;
		width: 1px;
		height: 40px;
		margin: 0 auto 24px;
		background: var(--gold);
	}
	.home-v2-process-track { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; }
	.home-v2-process-step > p { padding-inline: 12px; }
	/* Connect circle centers; each arrowhead points to the next step on the right. */
	.home-v2-process-step:not(:last-child)::before {
		content: '';
		position: absolute;
		top: calc(var(--process-image-size) / 2 - 1px);
		left: 50%;
		width: 100%;
		height: 2px;
		background: var(--gold);
	}
	.home-v2-process-step:not(:last-child)::after {
		content: '';
		position: absolute;
		top: calc(var(--process-image-size) / 2 - 5px);
		left: 100%;
		width: 8px;
		height: 8px;
		border-top: 2px solid var(--gold);
		border-right: 2px solid var(--gold);
		transform: translateX(-50%) rotate(45deg);
	}
}
@media (prefers-reduced-motion: reduce) {
	/* Keep the readable navy fallback instead of a moving background. */
	.home-v2-hero > .wp-block-cover__video-background { display: none; }
}

/* Homepage v2 Phase 2: independent of the original homepage project styles. */
.home-v2-projects, .home-v2-values {
	margin-block: 0;
	padding-block: clamp(56px, 7vw, 104px);
}
.home-v2-projects { background: var(--navy); color: #fff; }
.home-v2-project-grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 40px 32px;
	margin: 0;
}
.home-v2-project-grid > .home-v2-project { min-width: 0; margin: 0; }
.home-v2-project h3 { margin: 18px 0 0; font-size: 1.125rem; line-height: 1.45; }
/* Empty native Image blocks keep their editor upload/replace controls.
 * The frame owns geometry even when a replacement has different dimensions. */
.home-v2-project-image {
	position: relative;
	aspect-ratio: 16 / 9;
	margin: 0;
	background: #dce1e6;
}
.home-v2-project-image .wp-block-image {
	position: absolute;
	inset: 0;
	float: none;
	width: 100% !important;
	height: 100% !important;
	max-width: none !important;
	margin: 0 !important;
}
.home-v2-project-image img {
	display: block;
	width: 100% !important;
	height: 100% !important;
	max-width: none;
	max-height: none;
	object-fit: cover !important;
	/* Allow native inline object-position if supplied; default is centered. */
	object-position: center;
}
.home-v2-project-image figcaption { display: none; }
.home-v2-project-image .wp-block-image > a { display: block; width: 100%; height: 100%; }
.home-v2-project-image a:focus-visible { outline-offset: -5px; }
/* Values: editable editorial rows with sculpted native Image frames. */
.home-v2-values {
	background: #f8f7f3;
	color: var(--navy);
}
.home-v2-values-intro {
	position: relative;
	isolation: isolate;
	margin: 0 0 clamp(48px, 6vw, 80px);
	text-align: center;
}
/* Repeat the discipline/process grid only behind the lead-in, fading into the rows. */
.home-v2-values-intro::before {
	content: '';
	position: absolute;
	inset: calc(-1 * clamp(56px, 7vw, 104px)) 0 -32px;
	z-index: -1;
	pointer-events: none;
	background-image: linear-gradient(#213f5e0d 1px, transparent 1px), linear-gradient(90deg, #213f5e0d 1px, transparent 1px);
	background-size: 64px 64px;
	mask-image: linear-gradient(to bottom, #000 55%, transparent);
}
.home-v2-values-intro::after {
	content: '';
	display: block;
	width: 48px;
	height: 2px;
	margin: clamp(28px, 4vw, 40px) auto 0;
	background: var(--gold);
}
.home-v2-values .home-v2-section-title {
	margin: 0;
	font-size: clamp(2.5rem, 4.5vw, 4.25rem);
	letter-spacing: -.045em;
}
.home-v2-values-lead {
	max-width: 52ch;
	margin: clamp(24px, 3vw, 32px) auto 0;
	font-size: clamp(1.25rem, 2.2vw, 1.625rem);
	line-height: 1.65;
	text-wrap: pretty;
	color: #506174;
}
.home-v2-values-list { display: grid; gap: clamp(32px, 4vw, 64px); margin: 0; }
.home-v2-values-item {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	align-items: center;
	gap: 32px;
	margin: 0;
}
.home-v2-values-item > * { min-width: 0; margin: 0; }
.home-v2-values-copy { max-width: 48ch; }
.home-v2-values-copy h3 {
	margin: 0;
	font-size: clamp(1.75rem, 2.8vw, 2.625rem);
	letter-spacing: -.035em;
	line-height: 1.2;
}
.home-v2-values-copy p { margin: 24px 0 0; color: #506174; font-size: clamp(1rem, 1.5vw, 1.125rem); line-height: 1.8; }
.home-v2-values-media {
	--values-shape: 27% 73% 24% 76% / 38% 31% 69% 62%;
	aspect-ratio: 4 / 3;
	width: 75%;
	justify-self: center;
	border-radius: var(--values-shape);
	background: #e5e2d9;
}
.home-v2-values-item:nth-child(2) .home-v2-values-media {
	--values-shape: 65% 35% 72% 28% / 32% 57% 43% 68%;
	background: #dde3df;
}
.home-v2-values-item:nth-child(3) .home-v2-values-media {
	--values-shape: 34% 66% 30% 70% / 63% 36% 64% 37%;
	background: #e4dfd5;
}
/* Clip the image itself so editor selection/upload controls remain accessible. */
.home-v2-values-media .wp-block-image {
	float: none;
	width: 100%;
	max-width: none;
	margin: 0;
}
.home-v2-values-media .wp-block-image img {
	display: block;
	width: 100% !important;
	height: auto !important;
	aspect-ratio: 4 / 3;
	border-radius: var(--values-shape);
	object-fit: cover;
}
.home-v2-values-media .wp-block-image > a { display: block; border-radius: var(--values-shape); }
.home-v2-values-media figcaption { margin: 16px 24px 0; color: #506174; font-size: .875rem; }
/* Keep captions and Gutenberg controls outside the clipped image area. */
.home-v2-values-media .wp-block-image img { overflow: hidden; }
@media (min-width: 1025px) {
	.home-v2-values-item { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(56px, 7vw, 112px); }
	.home-v2-values-copy { padding-inline: clamp(16px, 2vw, 32px); }
	.home-v2-values-item:nth-child(even) > .home-v2-values-media { grid-column: 1; grid-row: 1; }
	.home-v2-values-item:nth-child(even) > .home-v2-values-copy { grid-column: 2; grid-row: 1; }
}
@media (min-width: 768px) {
	.home-v2-project-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 56px; }
}
@media (min-width: 1025px) {
	.home-v2-project-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* Homepage v2 digital services: native blocks in an extensible service track. */
.home-v2-digital {
	margin-block: 0;
	padding-block: clamp(64px, 8vw, 120px);
	background-color: #142b40;
	color: var(--light);
}
/* Decorative SVG stays in the background layer; no content positioning required.
 * Replace with-art with no-art in the section's Additional CSS class(es) to disable. */
.home-v2-digital--with-art {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='960' height='720' viewBox='0 0 960 720' fill='none' stroke='white' stroke-opacity='.09'%3E%3Cpath d='M960 80H740L650 170H490L400 260H160M960 180H800L710 270V380L600 490H340L240 590H0M960 370H850L750 470V590L650 690H430M870 0V110L780 200V310L670 420H480M960 610H840L760 690'/%3E%3Cg fill='%23142b40'%3E%3Ccircle cx='490' cy='170' r='5'/%3E%3Ccircle cx='160' cy='260' r='5'/%3E%3Ccircle cx='710' cy='380' r='5'/%3E%3Ccircle cx='340' cy='490' r='5'/%3E%3Ccircle cx='480' cy='420' r='5'/%3E%3Ccircle cx='750' cy='590' r='5'/%3E%3Ccircle cx='840' cy='610' r='5'/%3E%3C/g%3E%3C/svg%3E");
	background-position: right top;
	background-size: auto 100%;
	background-repeat: no-repeat;
}
.home-v2-digital--no-art { background-image: none; }
.home-v2-digital-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: clamp(40px, 5vw, 72px);
}
.home-v2-digital-layout > * { min-width: 0; margin-block: 0; }
.home-v2-digital-intro { max-width: 900px; margin-inline: auto; text-align: center; }
.home-v2-digital-intro::before {
	content: '';
	display: block;
	width: 48px;
	height: 2px;
	margin: 0 auto 28px;
	background: var(--gold);
}
.home-v2-digital-intro h2 {
	margin: 0;
	font-size: clamp(2.5rem, 4.5vw, 4.25rem);
	letter-spacing: -.045em;
	text-wrap: balance;
}
.home-v2-digital-intro p {
	max-width: 62ch;
	margin: 24px auto 0;
	color: #ced7e0;
	font-size: clamp(1.125rem, 1.8vw, 1.375rem);
	line-height: 1.7;
}
.home-v2-digital-track {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 24px;
	margin: 0;
}
.home-v2-digital-track > .home-v2-digital-card {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	min-width: 0;
	margin: 0;
	padding: clamp(28px, 3.5vw, 48px);
	border: 1px solid #ffffff24;
	border-radius: 8px;
	background: linear-gradient(145deg, #20394e, #182f43);
	box-shadow: 0 16px 40px #0715211a;
}
/* Size the icon itself so the native Image upload/Replace controls stay usable. */
.home-v2-digital-card .home-v2-digital-icon,
.home-v2-digital-card .home-v2-digital-icon figure,
.home-v2-digital-card > .wp-block-image:first-child,
.home-v2-digital-card > .wp-block-image:first-child figure {
	box-sizing: border-box;
	float: none;
	flex: 0 0 auto;
	width: 160px !important;
	height: 160px !important;
	min-width: 160px !important;
	max-width: 160px !important;
	min-height: 160px !important;
	max-height: 160px !important;
	border-radius: 50%;
}
.home-v2-digital-card .home-v2-digital-icon,
.home-v2-digital-card > .wp-block-image:first-child {
	margin: 0 auto 36px !important;
}
.home-v2-digital-card .home-v2-digital-icon figure,
.home-v2-digital-card > .wp-block-image:first-child figure {
	margin: 0 auto !important;
}
.home-v2-digital-card .home-v2-digital-icon a,
.home-v2-digital-card > .wp-block-image:first-child a {
	display: block;
	width: 100% !important;
	height: 100% !important;
}
.home-v2-digital-card .home-v2-digital-icon img,
.home-v2-digital-card > .wp-block-image:first-child img {
	display: block;
	box-sizing: border-box;
	width: 100% !important;
	height: 100% !important;
	margin-inline: auto;
	border: 1px solid color-mix(in srgb, var(--gold) 35%, transparent);
	border-radius: 50%;
	background: #07152126;
	object-fit: contain !important;
}
.home-v2-digital-card h3 {
	text-align: center;
	max-width: 23ch;
	margin: 0;
	font-size: clamp(1.625rem, 2.5vw, 2.25rem);
	letter-spacing: -.025em;
	line-height: 1.25;
	text-wrap: balance;
}
.home-v2-digital-card p { margin: 24px 0 32px; color: #ced7e0; line-height: 1.8; text-align: center; }
.home-v2-digital-card .wp-block-buttons { justify-content: center; margin-block: auto 0; padding-top: 12px; }
.home-v2-digital-card .wp-block-button__link {
	border: 1px solid color-mix(in srgb, var(--gold) 65%, transparent);
	border-radius: 4px;
	background: transparent;
	color: #c5aa70;
	padding: 13px 20px;
	text-decoration: none;
}
.home-v2-digital-card .wp-block-button__link:hover,
.home-v2-digital-card .wp-block-button__link:focus-visible { background: color-mix(in srgb, var(--gold) 10%, transparent); border-color: var(--gold); }
/* Reserved for future navigation; hidden controls never enter the tab order. */
.home-v2-digital-controls { display: flex; justify-content: flex-end; gap: 12px; margin-top: 24px; }
.home-v2-digital-controls[hidden] { display: none; }
.home-v2-digital-arrow {
	width: 48px;
	height: 48px;
	border: 1px solid #ffffff45;
	border-radius: 50%;
	background: transparent;
	color: inherit;
	font: inherit;
	font-size: 1.25rem;
	cursor: pointer;
}
.home-v2-digital-arrow:disabled { opacity: .4; cursor: default; }
.home-v2-digital-arrow:not(:disabled):hover { border-color: var(--gold); }
@media (min-width: 1025px) {
	/* Extra cards form new rows until optional carousel behavior is introduced. */
	.home-v2-digital-track { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Homepage v2 Concept 3: editorial About and an editable photographic CTA. */
.home-v2-about, .home-v2-final-cta {
	margin-block: 0;
	padding-block: clamp(56px, 7vw, 104px);
}
.home-v2-about { background: var(--light); color: var(--text); }
.home-v2-about-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	align-items: center;
	gap: 36px;
}
.home-v2-about-layout > * { min-width: 0; margin-block: 0; }
/* Both the empty media area and native Image block retain the portrait frame. */
.home-v2-about-media {
	width: 100%;
	max-width: 440px;
	min-height: 0;
	aspect-ratio: 4 / 5;
	margin-inline: auto;
	background: #dce1e6;
}
.home-v2-about-media .wp-block-image {
	float: none;
	width: 100% !important;
	max-width: 100% !important;
	height: 100% !important;
	aspect-ratio: 4 / 5;
	margin: 0 !important;
	overflow: hidden;
}
.home-v2-about-media img {
	display: block;
	width: 100% !important;
	max-width: 100% !important;
	height: 100% !important;
	min-height: 0 !important;
	max-height: none !important;
	object-fit: cover !important;
	object-position: center;
}
.home-v2-about-media .wp-block-image > a { display: block; width: 100%; height: 100%; }
.home-v2-about-media .components-placeholder { width: 100%; height: 100%; min-height: 100%; aspect-ratio: 4 / 5; }
.home-v2-about-media a:focus-visible { outline-offset: -5px; }
.home-v2-about-media figcaption { display: none; }
.home-v2-about-copy > * { margin-block: 0; }
.home-v2-about-copy > * + * { margin-top: 24px; }
.home-v2-about-copy h2 { max-width: 19ch; text-wrap: balance; }
.home-v2-about-copy p:not(.eyebrow) { max-width: 56ch; color: #506174; }
.home-v2-about-copy .eyebrow { color: var(--navy); }
.home-v2-about-copy > .wp-block-buttons::before {
	content: "";
	display: block;
	width: 40px;
	height: 2px;
	background: var(--gold);
}
.home-v2-about-copy > .wp-block-buttons { display: flex; flex-direction: column; align-items: flex-start; gap: 24px; }
.wp-block-cover.home-v2-final-cta {
	min-height: clamp(360px, 36vw, 480px);
	padding: clamp(64px, 7vw, 96px) 0;
	background: #142a40;
	color: #fff;
	text-align: center;
	border-bottom: 1px solid var(--gold);
}
.home-v2-final-cta > :is(img, video) { object-fit: cover; }
.home-v2-final-cta .wp-block-cover__inner-container { width: 100%; min-width: 0; }
.home-v2-final-cta-copy > * { max-width: 44rem; margin: 0 auto; }
.home-v2-final-cta-copy > * + * { margin-top: 24px; }
.home-v2-final-cta h2 { color: #fff; font-size: clamp(2rem, 4vw, 3.5rem); text-wrap: balance; }
.home-v2-final-cta p { font-size: clamp(1.0625rem, 2vw, 1.25rem); color: #e0e6ed; }
.home-v2-final-cta .home-v2-final-cta-copy > .wp-block-buttons {
	display: flex;
	flex-direction: row;
	justify-content: center !important;
	align-items: center !important;
	width: 100%;
	margin: 32px auto 0 !important;
}
.home-v2-final-cta .wp-block-buttons > .wp-block-button {
	float: none;
	margin-inline: auto !important;
	text-align: center;
}
:is(.home-v2-about, .home-v2-final-cta) .wp-block-button > .wp-block-button__link {
	padding: 14px 32px !important;
	border: 1px solid var(--gold) !important;
	border-radius: 0 !important;
	background: var(--gold) !important;
	color: #14283c !important;
	box-shadow: none !important;
	font-weight: 600;
	text-align: center;
	text-decoration: none;
	transition: background-color .2s ease, border-color .2s ease;
}
:is(.home-v2-about, .home-v2-final-cta) .wp-block-button > .wp-block-button__link:hover {
	background: color-mix(in srgb, var(--gold) 90%, white) !important;
	border-color: color-mix(in srgb, var(--gold) 90%, white) !important;
}
:is(.home-v2-about, .home-v2-final-cta) .wp-block-button > .wp-block-button__link:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }
.home-v2-final-cta .wp-block-button > .wp-block-button__link:focus-visible { outline-color: #fff; }
@media (min-width: 1025px) {
	.home-v2-about-media { max-width: none; }
	.home-v2-about-layout { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(48px, 6vw, 88px); }
}
