/* ==========================================================================
   Metropolis Confex — main stylesheet
   Palette drawn from the logo: navy/blue towers, green dome, yellow sun,
   red pediment, and the violet→blue gradient of the METROPOLIS wordmark.
   ========================================================================== */

:root {
	--navy: #0e2748;
	--navy-2: #143560;
	--blue: #1d4f91;
	--sky: #3ab0e2;
	--green: #27a04a;
	--sun: #f3e11b;
	--red: #d4323c;
	--violet: #7d5ba6;
	--ink: #161b26;
	--text: #3a4252;
	--muted: #6b7384;
	--line: #e4e0d6;
	--paper: #f7f5f0;
	--white: #fff;

	--grad: linear-gradient(90deg, #d4323c 0%, #9a4f98 45%, #1d4f91 100%);

	--font-display: "Cormorant Garamond", "Times New Roman", serif;
	--font-body: "Manrope", "Helvetica Neue", Arial, sans-serif;

	--container: 1240px;
	--gutter: clamp(1rem, 4vw, 2.5rem);
	--radius: 14px;
	--radius-sm: 8px;
	--header-h: 84px;
	--shadow: 0 20px 50px -24px rgba(14, 39, 72, .35);
	--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) + 16px); }
body {
	margin: 0;
	font-family: var(--font-body);
	font-size: 17px;
	line-height: 1.7;
	color: var(--text);
	background: var(--white);
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
	font-variant-numeric: lining-nums;
}
* { font-variant-numeric: lining-nums; }
img, svg, video, iframe { max-width: 100%; }
img { height: auto; display: block; }
a { color: var(--blue); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--navy); }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.12; margin: 0 0 .5em; }
p { margin: 0 0 1.1em; }
:focus-visible { outline: 3px solid var(--sky); outline-offset: 3px; border-radius: 4px; }

.screen-reader-text, .enquiry__hp {
	position: absolute !important; width: 1px; height: 1px; overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px); white-space: nowrap;
}
.skip-link {
	position: absolute; left: 1rem; top: -100px; z-index: 1000;
	background: var(--navy); color: #fff; padding: .7rem 1rem; border-radius: var(--radius-sm);
}
.skip-link:focus { top: 1rem; color: #fff; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.container--narrow { max-width: 820px; }

.icon { width: 1.1em; height: 1.1em; flex: none; }

/* ---------- Type helpers ---------- */
.eyebrow {
	display: inline-flex; align-items: center; gap: .7rem;
	font-size: .76rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
	color: var(--blue); margin: 0 0 1.1rem;
}
.eyebrow::before { content: ""; width: 28px; height: 3px; background: var(--sun); border-radius: 2px; box-shadow: 0 0 0 1px rgba(0,0,0,.04); }
.eyebrow a { color: inherit; text-decoration: none; }
.eyebrow--light { color: rgba(255, 255, 255, .88); }

.display, .section-title, .hero__title, .page-hero__title, .page-head__title, .cta__title, .service__title, .vision__statement, .vision__maxim {
	font-family: var(--font-display); font-weight: 600; letter-spacing: -.01em;
}
.display { font-size: clamp(2rem, 3.6vw, 3.1rem); line-height: 1.1; }
.section-title { font-size: clamp(2.1rem, 4vw, 3.4rem); line-height: 1.05; margin-bottom: .4em; }
.section-title--sm { font-size: clamp(1.8rem, 3vw, 2.4rem); }
.section-lead { font-size: 1.12rem; color: var(--muted); max-width: 44ch; margin: 0; }
.section-lead--lg { font-size: clamp(1.15rem, 1.8vw, 1.4rem); max-width: 60ch; color: var(--text); }
.lead { font-size: 1.2rem; line-height: 1.65; color: var(--ink); }

.link-arrow {
	display: inline-flex; align-items: center; gap: .5rem; font-weight: 700; font-size: .95rem;
	color: var(--navy); text-decoration: none; border-bottom: 2px solid var(--sun); padding-bottom: 2px;
}
.link-arrow .icon { transition: transform .25s var(--ease); }
.link-arrow:hover .icon { transform: translateX(4px); }
.link-arrow--light { color: #fff; }
.link-arrow--light:hover { color: var(--sun); }

/* ---------- Buttons ---------- */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
	font-family: var(--font-body); font-weight: 700; font-size: .95rem; letter-spacing: .01em;
	padding: .95rem 1.5rem; border-radius: 999px; border: 2px solid transparent;
	text-decoration: none; cursor: pointer; line-height: 1.2;
	transition: background .2s, color .2s, border-color .2s, transform .2s var(--ease), box-shadow .2s;
}
.btn .icon { transition: transform .25s var(--ease); }
.btn:hover .icon { transform: translateX(3px); }
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--navy); color: #fff; }
.btn--primary:hover { background: var(--blue); color: #fff; }
.btn--sun { background: var(--sun); color: var(--navy); }
.btn--sun:hover { background: #fff; color: var(--navy); }
.btn--ghost { border-color: rgba(255, 255, 255, .7); color: #fff; }
.btn--ghost:hover { background: #fff; color: var(--navy); border-color: #fff; }
.btn--sm { padding: .65rem 1.1rem; font-size: .85rem; }
.btn-group { display: flex; flex-wrap: wrap; gap: .8rem; }

/* ---------- Header ---------- */
.site-header {
	position: sticky; top: 0; z-index: 100;
	background: rgba(255, 255, 255, .96);
	backdrop-filter: saturate(1.4) blur(10px);
	-webkit-backdrop-filter: saturate(1.4) blur(10px);
	border-bottom: 1px solid transparent;
	transition: border-color .2s, box-shadow .2s;
}
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
@media (max-width: 600px) { .admin-bar .site-header { top: 0; } }
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 8px 30px -20px rgba(14, 39, 72, .4); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; height: var(--header-h); }

.site-logo { display: inline-flex; align-items: center; flex: none; }
.site-logo__img { height: 52px; width: auto; }

.nav { display: flex; align-items: center; gap: 1.6rem; }
.nav__list { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: .3rem; }
.nav__list > li { position: relative; }
.nav__list a {
	display: block; padding: .55rem .8rem; border-radius: 999px;
	font-size: .88rem; font-weight: 600; color: var(--ink); text-decoration: none; letter-spacing: .01em;
	transition: background .2s, color .2s;
}
.nav__list a:hover { background: var(--paper); color: var(--navy); }
.nav__list .current-menu-item > a,
.nav__list .current_page_item > a,
.nav__list .current_page_parent > a { color: var(--navy); box-shadow: inset 0 -2px 0 var(--sun); border-radius: 0; }
.nav__list .sub-menu {
	list-style: none; margin: 0; padding: .5rem; position: absolute; top: 100%; left: 0; min-width: 220px;
	background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); box-shadow: var(--shadow);
	opacity: 0; visibility: hidden; transform: translateY(6px); transition: .2s;
}
.nav__list li:hover > .sub-menu, .nav__list li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.nav__list .sub-menu a { border-radius: 6px; }

.nav-toggle {
	display: none; background: none; border: 0; padding: .5rem; margin-right: -.5rem;
	color: var(--navy); cursor: pointer; border-radius: 8px;
}
.nav-toggle .icon { width: 28px; height: 28px; }
.nav-toggle__close { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle__open { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle__close { display: inline; }

@media (max-width: 1080px) {
	:root { --header-h: 72px; }
	.site-header { background: #fff; backdrop-filter: none; -webkit-backdrop-filter: none; }
	.site-logo__img { height: 42px; }
	.nav-toggle { display: inline-flex; }
	.nav {
		position: fixed; inset: var(--header-h) 0 0 0; z-index: 99;
		flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 1.5rem;
		padding: 1.5rem var(--gutter) 2rem; background: #fff; overflow-y: auto;
		opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .25s, transform .25s, visibility .25s;
	}
	.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; gap: 0; }
	.nav__list a { padding: 1rem 0; font-size: 1.35rem; font-family: var(--font-display); font-weight: 600; border-bottom: 1px solid var(--line); border-radius: 0; }
	.nav__list a:hover { background: none; }
	.nav__list .current-menu-item > a, .nav__list .current_page_item > a { box-shadow: inset 3px 0 0 var(--sun); padding-left: .8rem; }
	.nav__list .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 0 1rem; }
	.nav__cta { align-self: flex-start; }
	body.nav-open { overflow: hidden; }
}

/* ---------- Sections ---------- */
.section { padding: clamp(4.5rem, 9vw, 8rem) 0; position: relative; }
.section--tight { padding: clamp(2.5rem, 5vw, 4rem) 0 clamp(4rem, 8vw, 6rem); }
.section--paper { background: var(--paper); }
.section--navy { background: var(--navy); color: rgba(255, 255, 255, .78); }
.section--navy h2, .section--navy h3 { color: #fff; }

.section-head { margin-bottom: clamp(2.5rem, 5vw, 4rem); max-width: 760px; }
.section-head--split { max-width: none; display: grid; grid-template-columns: 1.1fr 1fr; gap: 2rem 4rem; align-items: end; }
.section-head--split .section-title { margin-bottom: 0; }
.section-head--center { text-align: center; margin-left: auto; margin-right: auto; }
.section-head--center .eyebrow { justify-content: center; }
.section-head--center .section-lead { margin: 0 auto; max-width: 62ch; }
.section--navy .section-lead { color: rgba(255, 255, 255, .7); }
@media (max-width: 860px) { .section-head--split { grid-template-columns: 1fr; align-items: start; } }

/* ---------- Home hero ---------- */
.hero {
	position: relative; isolation: isolate; overflow: hidden;
	min-height: min(calc(100vh - var(--header-h)), 860px); min-height: min(calc(100svh - var(--header-h)), 860px);
	display: flex; flex-direction: column; justify-content: flex-end;
	color: #fff; background: var(--navy);
}
.hero__slides { position: absolute; inset: 0; z-index: -2; }
.hero__slide {
	position: absolute; inset: 0; background-size: cover; background-position: center;
	opacity: 0; transform: scale(1.06); transition: opacity 1.6s ease, transform 8s linear;
}
.hero__slide.is-active { opacity: 1; transform: scale(1); }
.hero__shade {
	position: absolute; inset: 0; z-index: -1;
	background:
		linear-gradient(90deg, rgba(10, 26, 50, .88) 0%, rgba(10, 26, 50, .6) 45%, rgba(10, 26, 50, .1) 80%),
		linear-gradient(0deg, rgba(10, 26, 50, .75) 0%, rgba(10, 26, 50, 0) 40%);
}
.hero__inner { padding-top: clamp(5rem, 12vh, 9rem); padding-bottom: 3rem; }
.hero__title {
	font-size: clamp(3.4rem, 9vw, 7.6rem); line-height: .95; color: #fff; margin: 0 0 1.5rem;
	max-width: 11ch; letter-spacing: -.02em;
}
.hero__text { font-size: clamp(1.05rem, 1.5vw, 1.25rem); max-width: 50ch; color: rgba(255, 255, 255, .88); margin-bottom: 2.2rem; }
.hero__foot { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-bottom: 2rem; }
.hero__place { margin: 0; display: inline-flex; align-items: center; gap: .6rem; font-size: .8rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: rgba(255, 255, 255, .85); }
.hero__place-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--sun); box-shadow: 0 0 0 4px rgba(243, 225, 27, .25); }
.hero__dots { display: flex; gap: .5rem; }
.hero__dot { width: 34px; height: 4px; border-radius: 4px; border: 0; padding: 0; background: rgba(255, 255, 255, .35); cursor: pointer; transition: background .3s, width .3s; }
.hero__dot.is-active { background: var(--sun); width: 54px; }

.ticker { background: var(--navy); color: rgba(255, 255, 255, .5); overflow: hidden; border-top: 1px solid rgba(255, 255, 255, .08); }
.ticker__track { display: flex; width: max-content; animation: ticker 60s linear infinite; }
.ticker span {
	font-family: var(--font-display); font-size: 1.35rem; font-style: italic; white-space: nowrap;
	padding: 1rem 1.6rem; display: inline-flex; align-items: center; gap: 3.2rem;
}
.ticker span::after { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--sun); opacity: .8; margin-left: 1.6rem; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ---------- Overview ---------- */
.overview__grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 3rem 6rem; align-items: start; }
.overview__lead .display { color: var(--navy); }
@media (max-width: 900px) { .overview__grid { grid-template-columns: 1fr; } }

.trio {
	list-style: none; margin: clamp(3.5rem, 7vw, 6rem) 0 0; padding: 0;
	display: grid; grid-template-columns: repeat(3, 1fr);
	border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.trio li { padding: 2rem 2rem 2rem 0; display: flex; flex-direction: column; gap: .4rem; }
.trio li + li { border-left: 1px solid var(--line); padding-left: 2rem; }
.trio__word {
	font-family: var(--font-display); font-size: clamp(2.4rem, 4.5vw, 3.8rem); font-weight: 600; line-height: 1;
	background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
	width: fit-content;
}
.trio li:nth-child(2) .trio__word { background: linear-gradient(90deg, #27a04a, #3ab0e2); -webkit-background-clip: text; background-clip: text; }
.trio li:nth-child(3) .trio__word { background: linear-gradient(90deg, #1d4f91, #3ab0e2); -webkit-background-clip: text; background-clip: text; }
.trio__note { color: var(--muted); font-size: .95rem; }
.trio__caption { margin: 1.2rem 0 0; font-family: var(--font-display); font-style: italic; font-size: 1.25rem; color: var(--navy); }
@media (max-width: 760px) {
	.trio { grid-template-columns: 1fr; }
	.trio li, .trio li + li { padding: 1.5rem 0; border-left: 0; }
	.trio li + li { border-top: 1px solid var(--line); }
}

/* ---------- Service cards (home) ---------- */
.service-cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
.service-card a {
	position: relative; display: flex; flex-direction: column; height: 100%; min-height: 330px;
	padding: 1.8rem 1.6rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
	text-decoration: none; color: var(--text); overflow: hidden;
	transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
}
.service-card a::before {
	content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: var(--grad);
	transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease);
}
.service-card a:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.service-card a:hover::before { transform: scaleX(1); }
.service-card__num { font-family: var(--font-display); font-size: 2.6rem; font-weight: 600; line-height: 1; color: var(--line); margin-bottom: 1.4rem; transition: color .3s; }
.service-card a:hover .service-card__num { color: var(--sky); }
.service-card__label { font-size: .72rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--blue); margin-bottom: .6rem; }
.service-card__title { font-family: var(--font-display); font-size: 1.55rem; font-weight: 600; line-height: 1.12; margin-bottom: .8rem; }
.service-card__text { font-size: .93rem; color: var(--muted); margin-bottom: 1.5rem; }
.service-card__more { margin-top: auto; display: inline-flex; align-items: center; gap: .45rem; font-weight: 700; font-size: .85rem; color: var(--navy); }
.service-card__more .icon { transition: transform .25s var(--ease); }
.service-card a:hover .service-card__more .icon { transform: translateX(4px); }
.service-card--cta a { background: var(--navy); border-color: var(--navy); color: #fff; }
.service-card--cta a::after {
	content: ""; position: absolute; right: -70px; top: -70px; width: 180px; height: 180px; border-radius: 50%;
	background: var(--sun); opacity: .95; transition: transform .5s var(--ease);
}
.service-card--cta a:hover::after { transform: scale(1.15); }
.service-card--cta .service-card__label { color: var(--sun); }
.service-card--cta .service-card__label { position: relative; z-index: 1; margin-top: 4.5rem; }
.service-card--cta .service-card__title { color: #fff; font-size: 1.8rem; position: relative; z-index: 1; }
.service-card--cta .service-card__more { color: #fff; position: relative; z-index: 1; }
@media (max-width: 1080px) { .service-cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .service-cards { grid-template-columns: 1fr; } .service-card a { min-height: 0; } }

/* ---------- Eras ---------- */
.eras__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.era { position: relative; margin: 0; border-radius: var(--radius); overflow: hidden; aspect-ratio: 3 / 4; background: var(--navy); isolation: isolate; }
.era img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); z-index: -1; }
.era:hover img { transform: scale(1.06); }
.era::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(10, 26, 50, .92) 0%, rgba(10, 26, 50, .25) 55%, rgba(10, 26, 50, 0) 75%); z-index: -1; }
.era figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 1.8rem; color: #fff; display: flex; flex-direction: column; gap: .4rem; }
.era__label { font-family: var(--font-display); font-size: clamp(2rem, 3.2vw, 2.8rem); font-weight: 600; line-height: 1; }
.era__text { color: rgba(255, 255, 255, .85); font-size: .98rem; }
.era__place { font-size: .72rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--sun); margin-top: .4rem; }
@media (max-width: 860px) {
	.eras__grid { grid-template-columns: 1fr; }
	.era { aspect-ratio: 16 / 11; }
}

/* ---------- Strengths ---------- */
.strengths { overflow: hidden; }
.strengths::before {
	content: ""; position: absolute; right: -180px; top: -180px; width: 520px; height: 520px; border-radius: 50%;
	background: radial-gradient(circle, rgba(243, 225, 27, .22), rgba(243, 225, 27, 0) 70%); pointer-events: none;
}
.strengths__grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
.strength { padding: 2rem 1.6rem; border-radius: var(--radius); background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .1); position: relative; }
.strength::before { content: ""; position: absolute; top: -1px; left: 1.6rem; width: 44px; height: 4px; border-radius: 0 0 3px 3px; background: var(--sun); }
.strength:nth-child(2)::before { background: var(--green); }
.strength:nth-child(3)::before { background: var(--sky); }
.strength:nth-child(4)::before { background: var(--red); }
.strength__num { display: block; font-family: var(--font-display); font-size: 1.1rem; color: rgba(255, 255, 255, .45); margin-bottom: 1.8rem; }
.strength__title { font-family: var(--font-display); font-size: 1.65rem; font-weight: 600; line-height: 1.12; }
.strength p { margin: 0; font-size: .96rem; }
@media (max-width: 1000px) { .strengths__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .strengths__grid { grid-template-columns: 1fr; } }

/* ---------- Logo wall ---------- */
.logo-wall { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.logo-wall__item { background: #fff; display: flex; align-items: center; justify-content: center; padding: 1.8rem 1.4rem; min-height: 140px; }
.logo-wall__item img { max-height: 72px; width: auto; max-width: 100%; object-fit: contain; filter: grayscale(1) contrast(1.05); opacity: .78; transition: filter .3s, opacity .3s, transform .3s var(--ease); }
.logo-wall__item:hover img { filter: none; opacity: 1; transform: scale(1.04); }
@media (max-width: 1000px) { .logo-wall { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 640px) { .logo-wall { grid-template-columns: repeat(2, 1fr); } .logo-wall__item { min-height: 110px; padding: 1.2rem; } .logo-wall__item img { max-height: 56px; } }

/* ---------- Outcomes ---------- */
.outcomes__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem 5rem; align-items: center; }
.outcomes__media { position: relative; margin: 0; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 5; box-shadow: var(--shadow); }
.outcomes__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 900px) { .outcomes__grid { grid-template-columns: 1fr; } .outcomes__media { aspect-ratio: 16 / 10; } }

.checklist { list-style: none; margin: 0 0 1.4rem; padding: 0; display: grid; gap: .7rem; }
.checklist li { display: flex; gap: .8rem; align-items: flex-start; }
.checklist .icon { width: 22px; height: 22px; padding: 4px; border-radius: 50%; background: rgba(39, 160, 74, .12); color: var(--green); margin-top: .18em; }
.checklist--lg { gap: 0; margin-top: 1.5rem; }
.checklist--lg li { padding: 1.1rem 0; border-bottom: 1px solid var(--line); font-size: 1.12rem; color: var(--ink); font-weight: 500; }
.checklist--lg li:first-child { border-top: 1px solid var(--line); }

/* ---------- Alpha1 band ---------- */
.a1-band { padding: clamp(3rem, 6vw, 4.5rem) 0; border-top: 1px solid var(--line); }
.a1-band__inner { display: flex; align-items: center; gap: 2.5rem; max-width: 900px; }
.a1-band__inner img { width: 110px; flex: none; }
.a1-band__inner .eyebrow { margin-bottom: .6rem; }
.a1-band__text { font-family: var(--font-display); font-size: clamp(1.3rem, 2.2vw, 1.7rem); line-height: 1.3; color: var(--ink); margin-bottom: .8rem; }
@media (max-width: 600px) { .a1-band__inner { flex-direction: column; align-items: flex-start; gap: 1.2rem; } .a1-band__inner img { width: 80px; } }

/* ---------- CTA ---------- */
.cta { position: relative; isolation: isolate; overflow: hidden; color: #fff; padding: clamp(5rem, 11vw, 9rem) 0; background: var(--navy); }
.cta__media { position: absolute; inset: 0; z-index: -2; background-size: cover; background-position: center; }
.cta::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgba(10, 26, 50, .94) 20%, rgba(10, 26, 50, .55) 100%); }
.cta__title { color: #fff; font-size: clamp(2.4rem, 5vw, 4.4rem); line-height: 1.02; max-width: 16ch; }
.cta__text { max-width: 52ch; color: rgba(255, 255, 255, .85); font-size: 1.1rem; margin-bottom: 2rem; }

/* ---------- Inner page hero ---------- */
.page-hero { position: relative; isolation: isolate; overflow: hidden; color: #fff; min-height: clamp(380px, 58vh, 600px); display: flex; align-items: flex-end; background: var(--navy); }
.page-hero__media { position: absolute; inset: 0; z-index: -2; background-size: cover; background-position: center; animation: heroZoom 14s ease-out both; }
@keyframes heroZoom { from { transform: scale(1.08); } to { transform: scale(1); } }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(10, 26, 50, .9) 0%, rgba(10, 26, 50, .45) 55%, rgba(10, 26, 50, .25) 100%); }
.page-hero__inner { padding-top: 6rem; padding-bottom: clamp(2.5rem, 6vw, 4.5rem); }
.page-hero__title { color: #fff; font-size: clamp(2.6rem, 6vw, 5rem); line-height: 1; max-width: 18ch; margin-bottom: .4em; }
.page-hero__text { max-width: 56ch; font-size: 1.12rem; color: rgba(255, 255, 255, .88); margin: 0; }

.page-head { padding: clamp(4rem, 9vw, 7rem) 0 clamp(2rem, 4vw, 3rem); background: var(--paper); border-bottom: 1px solid var(--line); }
.page-head__title { font-size: clamp(2.6rem, 6vw, 4.6rem); line-height: 1.02; }
.page-head--article { background: #fff; border: 0; padding-bottom: 2rem; }
.page-head--404 { min-height: 60vh; display: flex; align-items: center; }
.page-head--404 .search-form { margin: 2rem 0; }

/* ---------- Split layout ---------- */
.split { display: grid; grid-template-columns: 1.35fr 1fr; gap: 3rem 5rem; align-items: start; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }

.numbered { list-style: none; margin: 2rem 0 0; padding: 0; }
.numbered li { display: flex; gap: 1.4rem; align-items: baseline; padding: 1.1rem 0; border-top: 1px solid var(--line); font-size: 1.12rem; color: var(--ink); font-weight: 500; }
.numbered li:last-child { border-bottom: 1px solid var(--line); }
.numbered__n { font-family: var(--font-display); font-size: 1.4rem; color: var(--sky); font-weight: 600; min-width: 2ch; }

.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 2rem; }
.card + .card { margin-top: 1.25rem; }
.card--paper { background: var(--paper); border-color: transparent; }
.card__title { font-family: var(--font-display); font-size: 1.7rem; font-weight: 600; }

.tag-list { list-style: none; margin: 0 0 1.4rem; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.tag-list li, .tag-list a { font-size: .82rem; font-weight: 700; padding: .45rem .9rem; border-radius: 999px; background: #fff; color: var(--navy); border: 1px solid var(--line); text-decoration: none; }

/* ---------- Vision ---------- */
.vision__grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 3rem 5rem; }
.vision__statement { font-size: clamp(1.9rem, 3.4vw, 2.9rem); line-height: 1.18; color: #fff; margin: 0; }
.vision__item + .vision__item { margin-top: 2.2rem; padding-top: 2.2rem; border-top: 1px solid rgba(255, 255, 255, .15); }
.vision__maxim { font-size: 2.4rem; line-height: 1; color: var(--sun); margin: 0; font-style: italic; }
@media (max-width: 900px) { .vision__grid { grid-template-columns: 1fr; } }

/* ---------- Approach ---------- */
.approach { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); counter-reset: s; position: relative; }
.approach::before { content: ""; position: absolute; left: 0; right: 0; top: 27px; height: 2px; background: var(--grad); opacity: .35; }
.approach__step { position: relative; padding-right: 1rem; }
.approach__n {
	display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%;
	background: #fff; border: 2px solid var(--navy); font-family: var(--font-display); font-size: 1.3rem; font-weight: 700; color: var(--navy);
	margin-bottom: 1.2rem; position: relative;
}
.approach__step:nth-child(1) .approach__n { border-color: var(--red); }
.approach__step:nth-child(2) .approach__n { border-color: var(--violet); }
.approach__step:nth-child(3) .approach__n { border-color: var(--green); }
.approach__step:nth-child(4) .approach__n { border-color: var(--sky); }
.approach__step:nth-child(5) .approach__n { border-color: var(--blue); }
.approach__label { font-family: var(--font-display); font-size: 1.45rem; font-weight: 600; color: var(--ink); line-height: 1.15; display: block; }
@media (max-width: 900px) {
	.approach { grid-template-columns: 1fr; gap: 1rem; }
	.approach::before { left: 27px; right: auto; top: 0; bottom: 0; width: 2px; height: auto; background: linear-gradient(180deg, #d4323c, #1d4f91); }
	.approach__step { display: flex; align-items: center; gap: 1.2rem; }
	.approach__n { margin: 0; flex: none; }
}

/* ---------- Services page ---------- */
.subnav { position: sticky; top: var(--header-h); z-index: 50; background: #fff; border-bottom: 1px solid var(--line); }
.admin-bar .subnav { top: calc(var(--header-h) + 32px); }
.subnav__list { list-style: none; margin: 0; padding: 0; display: flex; gap: .3rem; overflow-x: auto; scrollbar-width: none; }
.subnav__list::-webkit-scrollbar { display: none; }
.subnav__list a { display: flex; align-items: center; gap: .5rem; white-space: nowrap; padding: 1.05rem .9rem; font-size: .86rem; font-weight: 700; color: var(--muted); text-decoration: none; border-bottom: 3px solid transparent; transition: color .2s, border-color .2s; }
.subnav__list a span { font-family: var(--font-display); font-size: 1rem; color: var(--sky); }
.subnav__list a:hover, .subnav__list a.is-active { color: var(--navy); border-color: var(--sun); }

.service { padding: clamp(4rem, 8vw, 7rem) 0; scroll-margin-top: calc(var(--header-h) + 60px); }
.service:nth-child(even) { background: var(--paper); }
.service__grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 3rem 5rem; align-items: center; }
.service--flip .service__media { order: 2; }
.service__media { position: relative; margin: 0; border-radius: var(--radius); overflow: hidden; aspect-ratio: 5 / 6; box-shadow: var(--shadow); }
.service__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.service__num { position: absolute; left: 1.2rem; bottom: .4rem; font-family: var(--font-display); font-size: clamp(4rem, 8vw, 6.5rem); font-weight: 700; color: #fff; line-height: 1; text-shadow: 0 8px 30px rgba(0, 0, 0, .35); }
.service__title { font-size: clamp(2.1rem, 3.8vw, 3.2rem); line-height: 1.05; }
.service__items-label { font-size: .75rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin: 1.6rem 0 .9rem; }
.service__extra { margin-top: 2rem; padding: 1.6rem; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.service:nth-child(odd) .service__extra { background: var(--paper); border-color: transparent; }
.service__extra h3 { font-family: var(--font-display); font-size: 1.6rem; font-weight: 600; }
.service__extra .checklist { margin-bottom: 0; }
.service__outro { font-family: var(--font-display); font-style: italic; font-size: 1.35rem; line-height: 1.35; color: var(--navy); border-left: 3px solid var(--sun); padding-left: 1.2rem; margin: 1.8rem 0 0; }
@media (max-width: 900px) {
	.service__grid { grid-template-columns: 1fr; }
	.service--flip .service__media { order: 0; }
	.service__media { aspect-ratio: 16 / 10; }
}

/* ---------- Contact ---------- */
.contact__grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 3rem 4.5rem; align-items: start; }
@media (max-width: 960px) { .contact__grid { grid-template-columns: 1fr; } }
.contact__logo { width: 150px; margin-bottom: 1.4rem; }
.contact-list { list-style: none; margin: 0 0 1.4rem; padding: 0; display: grid; gap: .8rem; }
.contact-list li { display: flex; gap: .8rem; align-items: flex-start; line-height: 1.5; }
.contact-list .icon { color: var(--blue); margin-top: .15em; }
.contact-list a { color: var(--ink); text-decoration: none; font-weight: 600; word-break: break-word; }
.contact-list a:hover { color: var(--blue); text-decoration: underline; }
.office { padding: 0; overflow: hidden; }
.office__photo { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.office__body { padding: 1.8rem 2rem 1rem; }
.map { line-height: 0; }
.map iframe { width: 100%; height: 420px; border: 0; filter: grayscale(.35); }

/* Form */
.enquiry { display: grid; gap: 1.1rem; margin-top: 1.5rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
@media (max-width: 600px) { .field-row { grid-template-columns: 1fr; } }
.field { margin: 0; display: flex; flex-direction: column; gap: .4rem; }
.field label { font-size: .85rem; font-weight: 700; color: var(--ink); }
.field label span { color: var(--red); }
.field input, .field select, .field textarea, .search-form .search-field, .comment-form input:not([type="submit"]):not([type="checkbox"]), .comment-form textarea {
	width: 100%; font: inherit; font-size: 1rem; color: var(--ink);
	padding: .85rem 1rem; border: 1.5px solid var(--line); border-radius: var(--radius-sm); background: #fff;
	transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 150px; }
.field input:focus, .field select:focus, .field textarea:focus, .search-form .search-field:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(29, 79, 145, .12); }
.field.is-invalid input, .field.is-invalid textarea { border-color: var(--red); }
.field--check { flex-direction: row; align-items: flex-start; gap: .7rem; }
.field--check input { width: 20px; height: 20px; margin-top: .2rem; flex: none; accent-color: var(--navy); }
.field--check label { font-weight: 500; color: var(--text); font-size: .92rem; }
.enquiry .btn { justify-self: start; }
.enquiry__notice { padding: 1rem 1.2rem; border-radius: var(--radius-sm); font-weight: 600; }
.enquiry__notice--success { background: rgba(39, 160, 74, .1); color: #17692f; border: 1px solid rgba(39, 160, 74, .3); }
.enquiry__notice--error { background: rgba(212, 50, 60, .08); color: #a0232b; border: 1px solid rgba(212, 50, 60, .3); }

/* ---------- Social ---------- */
.social { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .4rem; }
.social a { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--paper); color: var(--navy); transition: background .2s, color .2s, transform .2s var(--ease); }
.social a:hover { background: var(--navy); color: #fff; transform: translateY(-2px); }
.social .icon { width: 16px; height: 16px; }
.social--light a { background: rgba(255, 255, 255, .08); color: #fff; }
.social--light a:hover { background: var(--sun); color: var(--navy); }

/* ---------- Posts ---------- */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem 1.5rem; }
@media (max-width: 960px) { .post-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .post-grid { grid-template-columns: 1fr; } }
.post-card { display: flex; flex-direction: column; }
.post-card__media { position: relative; display: block; border-radius: var(--radius); overflow: hidden; aspect-ratio: 16 / 11; margin-bottom: 1.2rem; background: var(--paper); }
.post-card__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.post-card:hover .post-card__media img { transform: scale(1.05); }
.post-card__meta { font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: .5rem; }
.post-card__title { font-family: var(--font-display); font-size: 1.6rem; font-weight: 600; }
.post-card__title a { color: var(--ink); text-decoration: none; }
.post-card__title a:hover { color: var(--blue); }
.post-card__excerpt { color: var(--muted); font-size: .95rem; }

.pagination { margin-top: 3rem; }
.pagination .nav-links { display: flex; gap: .4rem; flex-wrap: wrap; }
.pagination .page-numbers { padding: .55rem .95rem; border-radius: 999px; border: 1px solid var(--line); text-decoration: none; color: var(--ink); font-weight: 600; }
.pagination .page-numbers.current, .pagination .page-numbers:hover { background: var(--navy); color: #fff; border-color: var(--navy); }

.empty { text-align: center; padding: 3rem 0; max-width: 560px; margin: 0 auto; }
.empty h2 { font-family: var(--font-display); font-size: 2.2rem; font-weight: 600; }

.article__media { margin: 0 auto 3rem; }
.article__media img { border-radius: var(--radius); width: 100%; }
.article__foot { padding-top: 2rem; padding-bottom: 3rem; }
.post-nav { display: flex; justify-content: space-between; gap: 1rem; border-top: 1px solid var(--line); padding-top: 1.5rem; margin-top: 1.5rem; font-weight: 600; }
.post-nav a { text-decoration: none; }

/* ---------- Entry content (editor output) ---------- */
.entry-content { font-size: 1.08rem; }
.entry-content > * { margin-top: 0; margin-bottom: 1.3rem; }
.entry-content h2 { font-family: var(--font-display); font-size: 2.3rem; font-weight: 600; margin-top: 2.6rem; }
.entry-content h3 { font-family: var(--font-display); font-size: 1.75rem; font-weight: 600; margin-top: 2rem; }
.entry-content h4 { font-size: 1.1rem; margin-top: 1.6rem; }
.entry-content ul, .entry-content ol { padding-left: 1.3rem; }
.entry-content li { margin-bottom: .4rem; }
.entry-content blockquote, .entry-content .wp-block-quote { margin: 2rem 0; padding: .4rem 0 .4rem 1.5rem; border-left: 3px solid var(--sun); font-family: var(--font-display); font-size: 1.5rem; font-style: italic; color: var(--navy); line-height: 1.35; }
.entry-content img, .entry-content .wp-block-image img { border-radius: var(--radius-sm); }
.entry-content figcaption { font-size: .85rem; color: var(--muted); margin-top: .5rem; }
.entry-content .alignwide { margin-left: calc(-1 * min(12vw, 160px)); margin-right: calc(-1 * min(12vw, 160px)); max-width: none; }
.entry-content .alignfull { margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw); max-width: 100vw; width: 100vw; }
.entry-content .wp-block-button__link { background: var(--navy); color: #fff; border-radius: 999px; padding: .9rem 1.5rem; font-weight: 700; text-decoration: none; }
.entry-content .wp-block-button.is-style-outline .wp-block-button__link { background: transparent; color: var(--navy); border: 2px solid var(--navy); }
.entry-content table { width: 100%; border-collapse: collapse; }
.entry-content th, .entry-content td { padding: .7rem; border-bottom: 1px solid var(--line); text-align: left; }
.alignleft { float: left; margin: .3rem 1.5rem 1rem 0; }
.alignright { float: right; margin: .3rem 0 1rem 1.5rem; }
.aligncenter { margin-left: auto; margin-right: auto; }
.wp-caption-text, .gallery-caption { font-size: .85rem; color: var(--muted); }
.sticky, .bypostauthor {}
.has-navy-color { color: var(--navy); } .has-navy-background-color { background-color: var(--navy); }
.has-blue-color { color: var(--blue); } .has-blue-background-color { background-color: var(--blue); }
.has-sky-color { color: var(--sky); } .has-sky-background-color { background-color: var(--sky); }
.has-green-color { color: var(--green); } .has-green-background-color { background-color: var(--green); }
.has-sun-color { color: var(--sun); } .has-sun-background-color { background-color: var(--sun); }
.has-red-color { color: var(--red); } .has-red-background-color { background-color: var(--red); }
.has-ink-color { color: var(--ink); } .has-ink-background-color { background-color: var(--ink); }
.has-paper-color { color: var(--paper); } .has-paper-background-color { background-color: var(--paper); }

.search-form { display: flex; gap: .5rem; max-width: 480px; }
.search-form label { flex: 1; }
.search-form .search-submit { font: inherit; font-weight: 700; padding: .85rem 1.2rem; border-radius: var(--radius-sm); border: 0; background: var(--navy); color: #fff; cursor: pointer; }

.comments { padding: 2rem 0 4rem; border-top: 1px solid var(--line); }
.comments__title, .comment-reply-title { font-family: var(--font-display); font-size: 1.9rem; font-weight: 600; }
.comment-list { list-style: none; padding: 0; }
.comment-body { padding: 1.2rem 0; border-bottom: 1px solid var(--line); }
.comment-form .submit { font: inherit; font-weight: 700; padding: .9rem 1.4rem; border-radius: 999px; border: 0; background: var(--navy); color: #fff; cursor: pointer; }

.widget { margin-bottom: 2rem; }
.widget-title { font-size: 1rem; text-transform: uppercase; letter-spacing: .12em; }

/* ---------- Footer ---------- */
.site-footer { background: #0a1d37; color: rgba(255, 255, 255, .68); padding: clamp(4rem, 8vw, 6rem) 0 2rem; font-size: .95rem; }
.site-footer a { color: rgba(255, 255, 255, .85); text-decoration: none; }
.site-footer a:hover { color: var(--sun); }
.site-footer__top { display: grid; grid-template-columns: 1.7fr 1fr 1fr 1.3fr; gap: 3rem; padding-bottom: 3rem; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.site-footer .site-logo__img { height: 58px; }
.site-footer__maxim { font-family: var(--font-display); font-style: italic; font-size: 1.6rem; color: var(--sun); margin: 1.4rem 0 .6rem; }
.site-footer__blurb { max-width: 36ch; margin-bottom: 1.5rem; }
.site-footer__title { color: #fff; font-family: var(--font-body); font-size: .76rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; margin-bottom: 1.2rem; }
.site-footer__menu, .site-footer__contact { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; }
.site-footer__menu .nav__list { display: grid; gap: .6rem; }
.site-footer__menu .nav__list a { padding: 0; background: none; color: rgba(255, 255, 255, .85); font-size: .95rem; font-weight: 400; }
.site-footer__contact li { display: flex; gap: .7rem; align-items: flex-start; line-height: 1.5; }
.site-footer__contact .icon { color: var(--sun); margin-top: .2em; }
.site-footer__a1 { display: flex; align-items: center; gap: 1.2rem; padding: 2rem 0; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.site-footer__a1 p { margin: 0; }
.site-footer__a1-logo { flex: none; background: #fff; border-radius: 10px; padding: 6px; }
.site-footer__a1-logo img { width: 44px; }
.site-footer__bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; padding-top: 1.6rem; font-size: .85rem; color: rgba(255, 255, 255, .5); }
.site-footer__bottom p { margin: 0; }
@media (max-width: 1000px) { .site-footer__top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .site-footer__top { grid-template-columns: 1fr; gap: 2.2rem; } .site-footer__a1 { flex-direction: column; align-items: flex-start; } }

/* ---------- Reveal on scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: calc(var(--d, 0) * 90ms); }
.js .reveal.is-visible { opacity: 1; transform: none; }

.js .hero__eyebrow, .js .hero__title, .js .hero__text, .js .hero .btn-group { animation: rise 1s var(--ease) both; }
.js .hero__title { animation-delay: .12s; }
.js .hero__text { animation-delay: .24s; }
.js .hero .btn-group { animation-delay: .36s; }
@keyframes rise { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
	.js .reveal { opacity: 1; transform: none; }
	.ticker__track { animation: none; }
}

@media print {
	.site-header, .site-footer, .cta, .ticker, .hero__dots, .map { display: none !important; }
	.js .reveal { opacity: 1 !important; transform: none !important; }
}

@media (max-width: 700px) {
	.hero__shade { background: linear-gradient(0deg, rgba(10, 26, 50, .92) 0%, rgba(10, 26, 50, .7) 55%, rgba(10, 26, 50, .35) 100%); }
	.hero__foot { flex-direction: column; align-items: flex-start; gap: .9rem; }
}
