/*
Theme Name: Nexus Global Brokers
Theme URI: https://nexusglobalbrokers.com
Author: Dedalux
Author URI: https://dedalux.com
Description: Custom block theme for Nexus Global Brokers, insurance and reinsurance brokerage focused on India, the Middle East and Africa.
Requires at least: 6.6
Tested up to: 6.8
Requires PHP: 8.0
Version: 0.5.0
License: Proprietary
Text Domain: nexus
*/

/* ==========================================================================
   Tokens
   ========================================================================== */

:root {
	--nx-petrol: var(--wp--preset--color--petrol, #1E6369);
	--nx-ink: var(--wp--preset--color--ink, #0F2B2E);
	--nx-brass: var(--wp--preset--color--brass, #A9874F);
	--nx-brass-light: var(--wp--preset--color--brass-light, #C4A46B);
	--nx-slate: var(--wp--preset--color--slate, #4A5D5F);
	--nx-mist: var(--wp--preset--color--mist, #F1F5F4);
	--nx-text: var(--wp--preset--color--body, #13292C);
	--nx-petrol-light: var(--wp--preset--color--petrol-light, #9DC4C5);
	--nx-hairline: var(--wp--preset--color--hairline, #D9E2E1);
	--nx-hairline-mist: #C9D6D5;
	--nx-hairline-dark: #23464A;
	--nx-on-dark: #E8EFEE;
	--nx-on-dark-soft: #B4C7C8;
	--nx-on-dark-muted: #7E9A9B;
	--nx-mono: var(--wp--preset--font-family--mono);
	--nx-gutter: clamp(20px, 6.25vw, 80px);
	--nx-section: var(--wp--preset--spacing--80, clamp(64px, 9.4vw, 120px));
	--nx-arrow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23000' stroke-width='1.5'%3E%3Cpath d='M2 8h12M9 3l5 5-5 5'/%3E%3C/svg%3E");
}

/* ==========================================================================
   Base
   ========================================================================== */

html {
	scroll-behavior: smooth;
	scroll-padding-top: 120px;
}

body {
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
}

/* Template parts and full-width sections sit flush against each other. */
.wp-site-blocks > * + *,
.wp-block-post-content > .alignfull + .alignfull,
.wp-block-post-content > .alignfull:first-child {
	margin-block-start: 0;
}

.wp-block-post-content > .alignfull:last-child {
	margin-block-end: 0;
}

:where(.wp-site-blocks) :focus-visible {
	outline: 2px solid var(--nx-petrol);
	outline-offset: 3px;
}

.screen-reader-text:focus {
	z-index: 1000;
}

/* Headings on dark or petrol backgrounds take the section colour. */
.has-ink-background-color :where(h1, h2, h3, h4),
.has-petrol-background-color :where(h1, h2, h3, h4) {
	color: inherit;
}

/* ==========================================================================
   Shared components
   ========================================================================== */

/* Eyebrow: mono label with a 40px brass line. */
.is-style-eyebrow {
	display: flex;
	align-items: center;
	gap: 16px;
	font-family: var(--nx-mono);
	font-size: var(--wp--preset--font-size--label);
	font-weight: 500;
	line-height: 1.4;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--nx-petrol);
}

.is-style-eyebrow::before {
	content: "";
	flex: none;
	display: block;
	width: 40px;
	height: 1px;
	background: var(--nx-brass);
}

.has-ink-background-color .is-style-eyebrow,
.has-petrol-background-color .is-style-eyebrow {
	color: #CFE0DF;
}

.has-ink-background-color .is-style-eyebrow::before,
.has-petrol-background-color .is-style-eyebrow::before {
	background: var(--nx-brass-light);
}

/* Mono label (footer columns, contact rows). */
.nx-label {
	font-family: var(--nx-mono);
	font-size: var(--wp--preset--font-size--label);
	font-weight: 400;
	line-height: 1.4;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

/* Buttons */
.wp-block-button__link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	text-decoration: none;
	transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.wp-block-button.is-style-arrow .wp-block-button__link::after,
.wp-block-button.is-style-light .wp-block-button__link::after {
	content: "";
	flex: none;
	width: 16px;
	height: 16px;
	background: currentColor;
	-webkit-mask: var(--nx-arrow) center / contain no-repeat;
	mask: var(--nx-arrow) center / contain no-repeat;
	transition: transform 0.2s ease;
}

.wp-block-button.is-style-arrow .wp-block-button__link:hover::after,
.wp-block-button.is-style-light .wp-block-button__link:hover::after {
	transform: translateX(3px);
}

.wp-block-button.is-style-light .wp-block-button__link {
	background: #FFFFFF;
	color: var(--nx-ink);
}

.wp-block-button.is-style-light .wp-block-button__link:hover,
.wp-block-button.is-style-light .wp-block-button__link:focus-visible {
	background: var(--nx-mist);
	color: var(--nx-ink);
}

.wp-block-button.is-style-outline .wp-block-button__link:hover {
	background: var(--nx-petrol);
	color: #FFFFFF;
}

/* ==========================================================================
   Header
   ========================================================================== */

.nx-site-header {
	position: sticky;
	top: var(--wp-admin--admin-bar--height, 0px);
	z-index: 100;
	background: #FFFFFF;
	transition: box-shadow 0.25s ease;
}

.nx-site-header.is-scrolled {
	box-shadow: 0 1px 0 var(--nx-hairline);
}

.nx-header {
	padding-top: 34px;
	padding-bottom: 34px;
	transition: padding 0.25s ease;
}

.nx-site-header.is-scrolled .nx-header {
	padding-top: 18px;
	padding-bottom: 18px;
}

.nx-header__inner {
	gap: 32px;
}

.nx-logo {
	display: block;
	flex: none;
	line-height: 0;
	color: var(--nx-petrol);
}

.nx-logo svg {
	display: block;
	width: auto;
	height: 34px;
}

/* Navigation: desktop */
.nx-nav {
	font-size: 15px;
	font-weight: 500;
}

.nx-nav .wp-block-navigation__container {
	gap: clamp(20px, 2.8vw, 36px);
	align-items: center;
}

.nx-nav .wp-block-navigation-item__content {
	color: var(--nx-text);
	text-decoration: none;
	transition: color 0.2s ease, background-color 0.2s ease;
}

.nx-nav .wp-block-navigation-item__content:hover {
	color: var(--nx-petrol);
}

.nx-nav .current-menu-item:not(.nx-nav-cta) > .wp-block-navigation-item__content {
	color: var(--nx-petrol);
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 8px;
}

.nx-nav .nx-nav-cta > .wp-block-navigation-item__content {
	padding: 12px 22px;
	border-radius: 2px;
	background: var(--nx-petrol);
	color: #FFFFFF;
}

.nx-nav .nx-nav-cta > .wp-block-navigation-item__content:hover {
	background: var(--nx-ink);
	color: #FFFFFF;
}

/* On the Contact page the button becomes an outline. */
.nx-nav .nx-nav-cta.current-menu-item > .wp-block-navigation-item__content {
	padding: 11px 21px;
	border: 1px solid var(--nx-petrol);
	background: #FFFFFF;
	color: var(--nx-ink);
}

.nx-nav .wp-block-navigation__responsive-container:not(.is-menu-open) .nx-mobile-only {
	display: none;
}

/* Navigation: mobile toggle (two lines) */
.nx-nav .wp-block-navigation__responsive-container-open {
	position: relative;
	width: 44px;
	height: 44px;
	margin-right: -10px;
	padding: 0;
	color: var(--nx-ink);
}

.nx-nav .wp-block-navigation__responsive-container-open svg {
	display: none;
}

.nx-nav .wp-block-navigation__responsive-container-open::before,
.nx-nav .wp-block-navigation__responsive-container-open::after {
	content: "";
	position: absolute;
	left: 11px;
	width: 22px;
	height: 1.5px;
	background: currentColor;
}

.nx-nav .wp-block-navigation__responsive-container-open::before {
	top: 17.5px;
}

.nx-nav .wp-block-navigation__responsive-container-open::after {
	top: 25px;
}

@media (max-width: 599px) {
	.nx-header,
	.nx-site-header.is-scrolled .nx-header {
		padding-top: 0;
		padding-bottom: 0;
	}

	.nx-site-header {
		box-shadow: 0 1px 0 var(--nx-hairline);
	}

	.nx-header__inner {
		min-height: 68px;
	}

	.nx-logo svg {
		height: 26px;
	}
}

/* Navigation: mobile overlay */
.nx-nav .wp-block-navigation__responsive-container.is-menu-open {
	padding: 0 20px 36px !important;
	background-color: var(--nx-ink);
	background-image: url("assets/images/mark-petrol.svg");
	background-repeat: no-repeat;
	background-position: right -150px bottom -150px;
	background-size: 420px 420px;
	color: var(--nx-on-dark);
	animation: nx-overlay-in 0.25s ease both;
}

@keyframes nx-overlay-in {
	from { opacity: 0; }
	to { opacity: 1; }
}

.nx-nav .is-menu-open .wp-block-navigation__responsive-close {
	max-width: none;
	height: 100%;
}

.nx-nav .is-menu-open .wp-block-navigation__responsive-dialog {
	position: relative;
	display: flex;
	flex-direction: column;
	min-height: 100%;
	margin-top: 0;
}

/* Logo row */
.nx-nav .is-menu-open .wp-block-navigation__responsive-dialog::before {
	content: "";
	display: block;
	flex: none;
	height: 68px;
	margin: 0 -20px;
	border-bottom: 1px solid var(--nx-hairline-dark);
	background: url("assets/images/logo-white.svg") no-repeat 20px center / auto 26px;
}

.nx-nav .is-menu-open .wp-block-navigation__responsive-container-close {
	top: 12px;
	right: -10px;
	width: 44px;
	height: 44px;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #FFFFFF;
}

.nx-nav .is-menu-open .wp-block-navigation__responsive-container-close svg {
	width: 26px;
	height: 26px;
}

.nx-nav .is-menu-open .wp-block-navigation__responsive-container-content {
	flex: 1;
	display: flex;
	flex-direction: column;
	padding-top: 24px !important;
}

.nx-nav .is-menu-open .wp-block-navigation__container {
	flex: 1;
	display: flex;
	flex-direction: column;
	align-items: stretch !important;
	gap: 0 !important;
	width: 100%;
}

.nx-nav .is-menu-open .wp-block-navigation-item {
	width: 100%;
	align-items: flex-start !important;
	text-align: left;
}

.nx-nav .is-menu-open .wp-block-navigation-item:not(.nx-nav-contact) > .wp-block-navigation-item__content,
.nx-nav .is-menu-open .nx-nav-cta > .wp-block-navigation-item__content,
.nx-nav .is-menu-open .nx-nav-cta.current-menu-item > .wp-block-navigation-item__content {
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 100%;
	padding: 14px 0;
	border: 0;
	border-bottom: 1px solid var(--nx-hairline-dark);
	border-radius: 0;
	background: transparent;
	box-shadow: none;
	color: #FFFFFF;
	font-size: 30px;
	font-weight: 500;
	line-height: 1.15;
	letter-spacing: -0.03em;
}

.nx-nav .is-menu-open .current-menu-item > .wp-block-navigation-item__content {
	color: var(--nx-petrol-light) !important;
	text-decoration: none;
}

.nx-nav .is-menu-open .current-menu-item > .wp-block-navigation-item__content::after {
	content: "";
	width: 6px;
	height: 6px;
	background: var(--nx-brass);
}

.nx-nav .is-menu-open .nx-nav-contact {
	display: block;
}

.nx-nav .is-menu-open .nx-nav-contact > .wp-block-navigation-item__content {
	display: inline-block;
	padding: 5px 0;
	color: var(--nx-on-dark);
	font-size: 17px;
	font-weight: 400;
	letter-spacing: 0;
}

.nx-nav .is-menu-open .nx-nav-contact--first {
	margin-top: auto;
	padding-top: 32px;
}

.nx-nav .is-menu-open .nx-nav-contact--first::before {
	content: "Get in touch";
	display: block;
	margin-bottom: 10px;
	font-family: var(--nx-mono);
	font-size: 11px;
	font-weight: 400;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--nx-on-dark-muted);
}

.nx-nav .is-menu-open .nx-nav-contact--last::after {
	content: "India · Middle East · Africa";
	display: block;
	margin-top: 18px;
	font-family: var(--nx-mono);
	font-size: 11px;
	font-weight: 400;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--nx-petrol-light);
}

/* ==========================================================================
   Closing call to action
   ========================================================================== */

.nx-closing {
	padding-top: clamp(64px, 8.75vw, 112px);
	padding-bottom: clamp(64px, 8.75vw, 112px);
}

.nx-closing__grid {
	display: grid;
	grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
	gap: 96px;
	align-items: end;
}

.nx-closing__grid > * {
	margin-block: 0 !important;
}

.nx-closing__main > * + * {
	margin-block-start: 28px;
}

.nx-closing h2 {
	margin-block-start: 28px;
	line-height: 1;
	letter-spacing: -0.045em;
}

.nx-closing__text {
	max-width: 560px;
	font-size: var(--wp--preset--font-size--lead);
	line-height: 1.65;
	color: #D7E6E5;
}

.nx-closing .wp-block-buttons {
	margin-block-start: 36px;
}

.nx-contact-list {
	border-top: 1px solid rgba(255, 255, 255, 0.28);
}

.nx-contact-row {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 6px;
	padding: 22px 0;
}

.nx-contact-row > * {
	margin: 0 !important;
}

.nx-contact-row.is-link {
	padding-right: 40px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.28);
}

.nx-contact-row.is-link::after {
	content: "";
	position: absolute;
	top: 50%;
	right: 0;
	width: 18px;
	height: 18px;
	margin-top: -9px;
	background: currentColor;
	-webkit-mask: var(--nx-arrow) center / contain no-repeat;
	mask: var(--nx-arrow) center / contain no-repeat;
	transition: transform 0.2s ease;
}

.nx-contact-row.is-link:hover::after {
	transform: translateX(4px);
}

.nx-closing .nx-label {
	font-size: 11px;
	color: #CFE0DF;
}

.nx-contact-row__value {
	font-size: clamp(19px, 1.7vw, 22px);
	font-weight: 500;
	line-height: 1.3;
	letter-spacing: -0.02em;
	overflow-wrap: anywhere;
}

.nx-contact-row__value a {
	color: inherit;
	text-decoration: none;
}

/* Whole row is clickable. */
.nx-contact-row__value a::after {
	content: "";
	position: absolute;
	inset: 0;
}

.nx-contact-row__address {
	font-size: 16px;
	line-height: 1.55;
}

@media (max-width: 900px) {
	.nx-closing__grid {
		grid-template-columns: minmax(0, 1fr);
		gap: 48px;
	}
}

@media (max-width: 599px) {
	.nx-closing .is-style-eyebrow {
		gap: 12px;
	}

	.nx-closing .is-style-eyebrow::before {
		width: 28px;
	}

	.nx-closing h2 {
		margin-block-start: 20px;
	}

	.nx-closing__main > * + * {
		margin-block-start: 20px;
	}

	.nx-closing__text {
		font-size: 16px;
		line-height: 1.6;
	}

	.nx-closing .wp-block-buttons {
		margin-block-start: 28px;
	}

	.nx-closing .wp-block-button,
	.nx-closing .wp-block-button__link {
		width: 100%;
	}

	.nx-closing .wp-block-button__link {
		justify-content: space-between;
		padding: 17px 22px;
	}

	.nx-contact-row {
		padding: 18px 0;
	}
}

/* ==========================================================================
   Footer
   ========================================================================== */

.nx-footer {
	padding-top: clamp(56px, 7.5vw, 96px);
	padding-bottom: 0;
	font-size: 15px;
	line-height: 1.6;
	color: var(--nx-on-dark-soft);
}

.nx-footer a {
	color: var(--nx-on-dark);
	text-decoration: none;
	transition: color 0.2s ease;
}

.nx-footer a:hover {
	color: #FFFFFF;
	text-decoration: underline;
	text-underline-offset: 3px;
	text-decoration-thickness: 1px;
}

.nx-footer p {
	margin: 0;
}

.nx-footer__cols.wp-block-columns {
	display: grid;
	grid-template-columns: 1.7fr 1fr 1.1fr 1.3fr;
	gap: 48px;
	margin: 0;
}

.nx-footer__cols > .wp-block-column {
	flex-basis: auto !important;
	min-width: 0;
}

.nx-footer .nx-logo {
	align-self: flex-start;
	color: #FFFFFF;
}

.nx-footer .nx-logo svg {
	height: 36px;
}

.nx-footer__brand > * + * {
	margin-block-start: 24px !important;
}

.nx-footer__tagline {
	max-width: 340px;
	font-size: 22px;
	font-weight: 500;
	line-height: 1.3;
	letter-spacing: -0.02em;
	color: #FFFFFF;
}

.nx-footer__meta {
	font-family: var(--nx-mono);
	font-size: 12px;
	line-height: 1.8;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--nx-petrol-light);
}

.nx-footer__nav > * + *,
.nx-footer__services > * + *,
.nx-footer__hq > * + * {
	margin-block-start: 14px !important;
}

.nx-footer .nx-label {
	margin-bottom: 6px;
	color: var(--nx-on-dark-muted);
}

.nx-footer .nx-label + * {
	margin-block-start: 20px !important;
}

.nx-footer__address {
	color: var(--nx-on-dark);
}

.nx-footer__hq .nx-footer__phone {
	margin-block-start: 22px !important;
}

.nx-footer__bottom {
	margin-block-start: clamp(40px, 6.25vw, 80px) !important;
	padding: 28px 0 32px;
	border-top: 1px solid var(--nx-hairline-dark);
	font-family: var(--nx-mono);
	font-size: 12px;
	line-height: 1.5;
	color: var(--nx-on-dark-muted);
	gap: 24px;
}

.nx-footer__bottom a {
	color: var(--nx-on-dark-soft);
}

.nx-footer__legal {
	gap: 8px 28px;
}

.nx-footer__credit a {
	color: var(--nx-on-dark);
	text-decoration: underline;
	text-underline-offset: 3px;
}

@media (max-width: 1024px) {
	.nx-footer__cols.wp-block-columns {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		row-gap: 48px;
	}

	.nx-footer__brand {
		grid-column: 1 / -1;
	}
}

@media (max-width: 599px) {
	.nx-footer__cols.wp-block-columns {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 40px 24px;
	}

	.nx-footer__brand,
	.nx-footer__hq {
		grid-column: 1 / -1;
	}

	.nx-footer__brand > * + * {
		margin-block-start: 18px !important;
	}

	.nx-footer .nx-logo svg {
		height: 30px;
	}

	.nx-footer__tagline {
		font-size: 19px;
	}

	.nx-footer__meta,
	.nx-footer .nx-label {
		font-size: 11px;
	}

	.nx-footer__nav > * + *,
	.nx-footer__services > * + *,
	.nx-footer__hq > * + * {
		margin-block-start: 12px !important;
	}

	.nx-footer .nx-label + * {
		margin-block-start: 16px !important;
	}

	.nx-footer__bottom {
		flex-direction: column;
		align-items: flex-start !important;
		gap: 14px;
		padding: 24px 0 32px;
		font-size: 11px;
	}

	.nx-footer__legal {
		order: -1;
		gap: 8px 20px;
	}
}

/* ==========================================================================
   Animations (shared)
   ========================================================================== */

.nx-anim-reveal {
	animation: nx-reveal 1.8s cubic-bezier(0.22, 0.7, 0.2, 1) both;
}

@keyframes nx-reveal {
	from { clip-path: inset(0 100% 0 0); opacity: 0.25; }
	to { clip-path: inset(0 0 0 0); opacity: 1; }
}

.nx-anim-draw {
	stroke-dasharray: 520;
	stroke-dashoffset: 520;
	animation: nx-draw 1.3s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes nx-draw {
	to { stroke-dashoffset: 0; }
}

.nx-anim-pop {
	animation: nx-pop 0.6s cubic-bezier(0.2, 0.8, 0.2, 1.2) both;
}

@keyframes nx-pop {
	from { opacity: 0; transform: scale(0.4); }
	to { opacity: 1; transform: scale(1); }
}

.nx-anim-fade {
	animation: nx-fade 0.6s ease-out both;
}

@keyframes nx-fade {
	from { opacity: 0; translate: 0 6px; }
	to { opacity: 1; translate: none; }
}

/* ==========================================================================
   Home — hero with IMEA map
   ========================================================================== */

.nx-hero {
	padding-top: 40px;
	padding-bottom: 0;
}

.nx-hero__grid {
	display: grid;
	grid-template-columns: minmax(0, 470px) minmax(0, 1fr);
	gap: 40px;
	align-items: center;
}

.nx-hero__grid > *,
.nx-hero__intro > *,
.nx-hero__kicker > *,
.nx-hero__role > * {
	margin: 0 !important;
}

.nx-hero__intro {
	display: flex;
	flex-direction: column;
	gap: 30px;
}

.nx-hero__kicker {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.nx-hero__sub {
	padding-left: 56px;
	font-family: var(--nx-mono);
	font-size: 12px;
	font-weight: 500;
	line-height: 1.4;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--nx-slate);
}

mark.has-inline-color {
	background-color: transparent;
}

.nx-hero__title {
	font-size: clamp(42px, 5.3vw, 68px);
	line-height: 1;
	letter-spacing: -0.045em;
}

.nx-hero__lead {
	font-size: 18px;
	line-height: 1.6;
	color: var(--nx-slate);
}

.nx-hero__actions {
	gap: 16px;
	margin-top: 6px !important;
}

/* Map */
.nx-map {
	margin-right: calc(-1 * var(--nx-gutter)) !important;
}

/* In the editor the map is wrapped by the server-side render preview. */
.nx-map-editor .nx-map {
	margin-right: 0 !important;
}

.nx-map-editor .nx-map__marker {
	pointer-events: none;
}

.nx-map__figure {
	position: relative;
	margin: 0;
	aspect-ratio: 1160 / 800;
}

.nx-map__img {
	display: block;
	width: 100%;
	height: 100%;
}

.nx-map__svg {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	overflow: visible;
	pointer-events: none;
}

.nx-map__arcs {
	fill: none;
	stroke: var(--nx-brass);
	stroke-width: 2.6;
	stroke-linecap: round;
	stroke-dasharray: 0 8;
}

.nx-map__arcs-hi path {
	fill: none;
	stroke: var(--nx-brass);
	stroke-width: 1.6;
	stroke-linecap: round;
	opacity: 0;
	transition: opacity 0.35s ease;
}

.nx-map__arcs-hi path.is-active {
	opacity: 1;
}

.nx-map__hq-ring {
	fill: none;
	stroke: var(--nx-brass);
	stroke-width: 1.5;
	opacity: 0.6;
}

.nx-map__hq-dot {
	fill: var(--nx-brass);
}

.nx-map__dots-mobile {
	display: none;
	fill: #FFFFFF;
	stroke: var(--nx-ink);
	stroke-width: 5;
}

.nx-map__hq-label {
	position: absolute;
	left: calc(66.8% + 26px);
	top: 80.3%;
	transform: translateY(-50%);
	display: flex;
	flex-direction: column;
	gap: 2px;
	font-family: var(--nx-mono);
	font-size: 11px;
	line-height: 1.3;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	white-space: nowrap;
	pointer-events: none;
}

.nx-map__hq-label span:first-child {
	font-weight: 500;
	color: var(--nx-ink);
}

.nx-map__hq-label span:last-child {
	color: #8A6C3A;
}

.nx-map__marker {
	position: absolute;
	width: 36px;
	height: 36px;
	margin: -18px 0 0 -18px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: transparent;
	cursor: pointer;
	-webkit-tap-highlight-color: transparent;
}

.nx-map__marker:focus {
	outline: none;
}

.nx-map__marker:focus-visible {
	outline: 2px solid var(--nx-brass);
	outline-offset: 4px;
}

.nx-map__pulse,
.nx-map__dot {
	position: absolute;
	border-radius: 50%;
}

.nx-map__pulse {
	inset: 9px;
	border: 1.5px solid #FFFFFF;
	animation: nx-pulse 3.2s ease-out infinite;
}

@keyframes nx-pulse {
	0% { transform: scale(1); opacity: 0.55; }
	70%, 100% { transform: scale(2.6); opacity: 0; }
}

.nx-map__dot {
	inset: 11px;
	background: #FFFFFF;
	box-shadow: 0 0 0 3px var(--nx-ink);
}

.nx-map__label {
	position: absolute;
	left: 50%;
	bottom: calc(100% + 4px);
	transform: translateX(-50%);
	padding: 6px 10px;
	border: 1px solid var(--nx-hairline);
	background: #FFFFFF;
	color: var(--nx-ink);
	font-family: var(--nx-mono);
	font-size: 11px;
	font-weight: 500;
	line-height: 1.2;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	white-space: nowrap;
	transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.nx-map__marker.is-active .nx-map__label {
	border-color: var(--nx-ink);
	background: var(--nx-ink);
	color: #FFFFFF;
}

.nx-map__panel {
	position: absolute;
	left: 0;
	bottom: 0;
	width: 30%;
	min-width: 220px;
	min-height: 168px;
	box-sizing: border-box;
	padding: 18px 18px 16px;
	border: 1px solid var(--nx-hairline);
	background: #FFFFFF;
	box-shadow: 0 20px 40px rgba(15, 43, 46, 0.1);
}

.nx-map__panel-default,
.nx-map__panel-active {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.nx-map__panel [hidden] {
	display: none;
}

.nx-map__panel p {
	margin: 0;
}

.nx-map__panel-eyebrow {
	font-family: var(--nx-mono);
	font-size: 10px;
	font-weight: 500;
	line-height: 1.4;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--nx-petrol);
}

.nx-map__panel-title {
	font-size: 17px;
	font-weight: 500;
	line-height: 1.25;
	letter-spacing: -0.02em;
	color: var(--nx-ink);
}

.nx-map__panel-title.is-large {
	font-size: 19px;
	line-height: 1.2;
}

.nx-map__panel-text {
	font-size: 13px;
	line-height: 1.5;
	color: var(--nx-slate);
}

.nx-map__panel-link {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	align-self: flex-start;
	font-size: 13px;
	font-weight: 500;
	color: var(--nx-petrol);
	text-decoration: none;
}

.nx-map__panel-link::after {
	content: "";
	width: 14px;
	height: 14px;
	background: currentColor;
	-webkit-mask: var(--nx-arrow) center / contain no-repeat;
	mask: var(--nx-arrow) center / contain no-repeat;
	transition: transform 0.2s ease;
}

.nx-map__panel-link:hover::after {
	transform: translateX(3px);
}

.nx-map__legend,
.nx-map__list {
	display: none;
}

/* Our role */
.nx-hero__role {
	display: grid;
	grid-template-columns: 220px repeat(2, minmax(0, 1fr));
	gap: 48px;
	margin-top: 56px !important;
	padding: 48px 0 104px;
	border-top: 1px solid var(--nx-hairline);
}

.nx-hero__role p {
	font-size: 17px;
	line-height: 1.65;
	color: #2E4144;
}

.nx-hero__role .nx-hero__role-label {
	font-family: var(--nx-mono);
	font-size: 12px;
	font-weight: 500;
	line-height: 1.6;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--nx-petrol);
}

/* Hero: tablet and mobile */
@media (max-width: 959px) {
	.nx-hero__grid {
		grid-template-columns: minmax(0, 1fr);
		gap: 22px;
	}

	.nx-hero__intro {
		display: contents;
	}

	.nx-hero__kicker { order: 1; gap: 6px; }
	.nx-hero__title { order: 2; }
	.nx-hero__lead { order: 3; }
	.nx-map { order: 4; }
	.nx-hero__actions { order: 5; }

	.nx-hero__kicker .is-style-eyebrow {
		gap: 12px;
		font-size: 11px;
	}

	.nx-hero__kicker .is-style-eyebrow::before {
		width: 28px;
	}

	.nx-hero__sub {
		padding-left: 40px;
		font-size: 11px;
	}

	.nx-hero__title {
		font-size: 42px;
		line-height: 1.02;
		letter-spacing: -0.04em;
	}

	.nx-hero__lead {
		max-width: 560px;
		font-size: 16px;
	}

	.nx-map {
		display: flex;
		flex-direction: column;
		gap: 22px;
		margin: 4px calc(-1 * var(--nx-gutter)) 0 !important;
	}

	.nx-map__marker,
	.nx-map__panel,
	.nx-map__hq-label,
	.nx-map__arcs-hi {
		display: none;
	}

	.nx-map__dots-mobile {
		display: inline;
	}

	.nx-map__arcs {
		stroke-width: 4;
		stroke-dasharray: 0 11;
	}

	.nx-map__hq-ring {
		stroke-width: 2;
	}

	.nx-map__legend,
	.nx-map__list {
		display: flex;
		margin: 0 var(--nx-gutter);
	}

	.nx-map__legend {
		align-items: center;
		gap: 10px;
		margin-top: -6px;
		font-family: var(--nx-mono);
		font-size: 10px;
		line-height: 1.4;
		letter-spacing: 0.06em;
		text-transform: uppercase;
		color: var(--nx-slate);
	}

	.nx-map__legend::before {
		content: "";
		flex: none;
		width: 8px;
		height: 8px;
		border-radius: 50%;
		background: var(--nx-brass);
	}

	.nx-map__list {
		flex-direction: column;
		border-top: 1px solid var(--nx-hairline);
	}

	.nx-map__list a {
		display: grid;
		grid-template-columns: 96px minmax(0, 1fr) 16px;
		gap: 12px;
		align-items: center;
		padding: 16px 0;
		border-bottom: 1px solid var(--nx-hairline);
		text-decoration: none;
	}

	.nx-map__list a::after {
		content: "";
		width: 16px;
		height: 16px;
		background: var(--nx-petrol);
		-webkit-mask: var(--nx-arrow) center / contain no-repeat;
		mask: var(--nx-arrow) center / contain no-repeat;
	}

	.nx-map__list span:first-child {
		font-family: var(--nx-mono);
		font-size: 11px;
		font-weight: 500;
		letter-spacing: 0.08em;
		text-transform: uppercase;
		color: var(--nx-petrol);
	}

	.nx-map__list span:last-child {
		font-size: 15px;
		font-weight: 500;
		line-height: 1.3;
		letter-spacing: -0.01em;
		color: var(--nx-ink);
	}

	.nx-hero__actions {
		flex-direction: column;
		align-items: stretch;
		gap: 12px;
		margin-top: 8px !important;
	}

	.nx-hero__actions .wp-block-button,
	.nx-hero__actions .wp-block-button__link {
		width: 100%;
	}

	.nx-hero__actions .is-style-arrow .wp-block-button__link {
		justify-content: space-between;
		padding: 17px 22px;
	}

	.nx-hero__role {
		display: flex;
		flex-direction: column;
		gap: 18px;
		margin-top: 28px !important;
		padding: 32px 0 56px;
	}

	.nx-hero__role .nx-hero__role-label {
		font-size: 11px;
	}

	.nx-hero__role p {
		font-size: 16px;
	}
}

/* ==========================================================================
   Sections (shared)
   ========================================================================== */

/* Sections inside <main> sit flush, without the default block gap. */
.nx-main > * {
	margin-block: 0 !important;
}

.nx-section {
	position: relative;
	box-sizing: border-box;
	padding: var(--nx-section) var(--nx-gutter);
}

.nx-section--mist {
	background: var(--nx-mist);
}

.nx-section--ink {
	overflow: hidden;
	background: var(--nx-ink);
	color: var(--nx-on-dark);
}

.nx-wrap {
	position: relative;
	max-width: var(--wp--style--global--wide-size, 1120px);
	margin-inline: auto;
}

.nx-section p,
.nx-section h2,
.nx-section ol,
.nx-section ul,
.nx-section figure {
	margin: 0;
}

.nx-section h2 {
	font-size: var(--wp--preset--font-size--x-large);
	line-height: 1.04;
	letter-spacing: -0.035em;
}

.nx-section--ink h2 {
	color: #FFFFFF;
}

.nx-section--ink .is-style-eyebrow {
	color: var(--nx-petrol-light);
}

/* Section heading with an action on the right. */
.nx-section-head {
	display: flex;
	justify-content: space-between;
	align-items: flex-end;
	gap: 40px;
}

.nx-section-head__text {
	display: flex;
	flex-direction: column;
	gap: 24px;
}

/* Photo with a brass corner. */
.nx-photo {
	position: relative;
}

.nx-photo img {
	display: block;
	width: 100%;
	height: auto;
	object-fit: cover;
}

.nx-photo--corner-tl::before {
	content: "";
	position: absolute;
	left: -12px;
	top: -12px;
	width: 64px;
	height: 64px;
	border-left: 1px solid var(--nx-brass);
	border-top: 1px solid var(--nx-brass);
	pointer-events: none;
}

/* Text link with arrow. */
.nx-link-arrow {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-size: 15px;
	font-weight: 500;
	color: var(--nx-petrol);
	text-decoration: none;
}

.nx-link-arrow::after,
.nx-btn--arrow::after,
.nx-region__more::after {
	content: "";
	flex: none;
	width: 16px;
	height: 16px;
	background: currentColor;
	-webkit-mask: var(--nx-arrow) center / contain no-repeat;
	mask: var(--nx-arrow) center / contain no-repeat;
	transition: transform 0.2s ease;
}

.nx-link-arrow:hover,
.nx-link-arrow:focus-visible {
	color: var(--nx-ink);
}

.nx-link-arrow:hover::after,
.nx-btn--arrow:hover::after,
.nx-region:hover .nx-region__more::after {
	transform: translateX(3px);
}

/* Buttons written in code (same look as the button block). */
.nx-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	padding: 17px 28px;
	border-radius: 2px;
	background: var(--nx-petrol);
	color: #FFFFFF;
	font-size: 15px;
	font-weight: 500;
	line-height: 1.2;
	text-decoration: none;
	transition: background-color 0.2s ease, color 0.2s ease;
}

.nx-btn:hover,
.nx-btn:focus-visible {
	background: var(--nx-ink);
	color: #FFFFFF;
}

.nx-btn--outline {
	padding: 15px 23px;
	border: 1px solid var(--nx-petrol);
	background: transparent;
	color: var(--nx-petrol);
}

.nx-btn--outline:hover,
.nx-btn--outline:focus-visible {
	background: var(--nx-petrol);
	color: #FFFFFF;
}

.nx-btn--light {
	padding: 16px 26px;
	background: #FFFFFF;
	color: var(--nx-ink);
}

.nx-btn--light:hover,
.nx-btn--light:focus-visible {
	background: var(--nx-mist);
	color: var(--nx-ink);
}

/* Large compass mark used as a watermark on dark sections. */
.nx-watermark {
	position: absolute;
	right: -120px;
	top: -120px;
	width: 460px;
	height: 460px;
	color: var(--nx-petrol);
	opacity: 0.22;
	pointer-events: none;
}

@media (max-width: 959px) {
	.nx-section {
		padding-top: 64px;
		padding-bottom: 72px;
	}

	.nx-section h2 {
		font-size: 36px;
		line-height: 1.05;
	}

	.nx-section .is-style-eyebrow {
		gap: 12px;
		font-size: 11px;
	}

	.nx-section .is-style-eyebrow::before {
		width: 28px;
	}

	.nx-section-head__text {
		gap: 24px;
	}

	.nx-photo--corner-tl::before {
		left: -8px;
		top: -8px;
		width: 44px;
		height: 44px;
	}

	.nx-btn--arrow.is-block {
		display: flex;
		justify-content: space-between;
		padding: 17px 22px;
	}
}

/* ==========================================================================
   Home — Specialist Brokerage
   ========================================================================== */

.nx-specialist__grid {
	display: grid;
	grid-template-columns: 440px minmax(0, 1fr);
	gap: 96px;
	align-items: center;
}

.nx-specialist__photo img {
	aspect-ratio: 4 / 5;
}

.nx-specialist__body {
	display: flex;
	flex-direction: column;
	gap: 28px;
	min-width: 0;
}

.nx-section h2.nx-specialist__title {
	font-size: 48px;
	line-height: 1.06;
	letter-spacing: -0.035em;
}

.nx-specialist__title span {
	display: block;
	color: var(--nx-ink);
}

.nx-specialist__title span:nth-child(2) {
	color: var(--nx-petrol);
}

.nx-specialist__title span:nth-child(3) {
	color: var(--nx-slate);
}

.nx-specialist__lead {
	font-size: 19px;
	line-height: 1.6;
	color: #2E4144;
}

.nx-specialist__cols {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 32px;
}

.nx-specialist__cols p {
	font-size: 15px;
	line-height: 1.65;
	color: var(--nx-slate);
}

/* Four-step process line. */
.nx-steps {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	margin-top: 12px !important;
	padding: 0;
	border-top: 1px solid var(--nx-hairline-mist);
	list-style: none;
}

.nx-steps li {
	position: relative;
	padding-top: 18px;
	padding-right: 12px;
	font-family: var(--nx-mono);
	font-size: 11px;
	font-weight: 500;
	line-height: 1.4;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--nx-ink);
}

.nx-steps li::before {
	content: "";
	position: absolute;
	left: 0;
	top: -5px;
	width: 9px;
	height: 9px;
	border-radius: 50%;
	background: var(--nx-brass);
}

.nx-steps li:last-child::before {
	background: var(--nx-petrol);
}

@media (max-width: 1100px) and (min-width: 960px) {
	.nx-specialist__grid {
		grid-template-columns: 380px minmax(0, 1fr);
		gap: 64px;
	}

	.nx-section h2.nx-specialist__title {
		font-size: 42px;
	}

	.nx-steps li {
		font-size: 10px;
		letter-spacing: 0.06em;
	}
}

@media (max-width: 959px) {
	.nx-specialist__grid {
		display: flex;
		flex-direction: column;
		align-items: stretch;
		gap: 24px;
	}

	.nx-specialist__body {
		display: contents;
	}

	.nx-specialist__eyebrow { order: 1; }
	.nx-specialist__title { order: 2; }
	.nx-specialist__photo { order: 3; margin-top: 8px !important; max-width: 520px; }
	.nx-specialist__lead { order: 4; margin-top: 8px !important; }
	.nx-specialist__cols { order: 5; }
	.nx-steps { order: 6; }

	.nx-section h2.nx-specialist__title {
		font-size: 32px;
		line-height: 1.1;
		letter-spacing: -0.03em;
	}

	.nx-specialist__lead {
		font-size: 17px;
	}

	.nx-specialist__cols {
		display: flex;
		flex-direction: column;
		gap: 24px;
	}

	.nx-steps {
		display: flex;
		flex-direction: column;
		margin-top: 8px !important;
		margin-left: 4px !important;
		border-top: 0;
		border-left: 1px solid var(--nx-hairline-mist);
	}

	.nx-steps li {
		padding: 10px 0 10px 22px;
	}

	.nx-steps li::before {
		left: -5px;
		top: 50%;
		margin-top: -5px;
	}
}

/* ==========================================================================
   Home — Our Services
   ========================================================================== */

.nx-services .nx-wrap {
	display: flex;
	flex-direction: column;
	gap: 56px;
}

.nx-services__all {
	padding-bottom: 8px;
}

.nx-services__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 24px;
}

.nx-service-card {
	position: relative;
	display: block;
	overflow: hidden;
	aspect-ratio: 3 / 4;
	background: var(--nx-ink);
	color: #FFFFFF;
	text-decoration: none;
}

.nx-service-card img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.nx-service-card:hover img {
	transform: scale(1.04);
}

.nx-service-card::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
	background: linear-gradient(180deg, rgba(15, 43, 46, 0.1) 0%, rgba(15, 43, 46, 0.15) 35%, rgba(15, 43, 46, 0.92) 100%);
}

.nx-service-card__body {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 2;
	display: flex;
	flex-direction: column;
	gap: 12px;
	padding: 28px;
}

.nx-service-card__text {
	display: flex;
	flex-direction: column;
	gap: 12px;
	margin-top: 8px;
}

.nx-service-card__title {
	font-size: clamp(21px, 1.95vw, 25px);
	font-weight: 500;
	line-height: 1.12;
	letter-spacing: -0.025em;
	white-space: nowrap;
}

.nx-service-card__desc {
	font-size: 16px;
	line-height: 1.5;
	color: #CFE0DF;
}

.nx-service-card__more {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-top: 12px;
	padding-top: 16px;
	border-top: 1px solid rgba(255, 255, 255, 0.25);
	font-family: var(--nx-mono);
	font-size: 11px;
	font-weight: 500;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.nx-service-card__more::after {
	content: "";
	width: 16px;
	height: 16px;
	background: currentColor;
	-webkit-mask: var(--nx-arrow) center / contain no-repeat;
	mask: var(--nx-arrow) center / contain no-repeat;
	transition: transform 0.2s ease;
}

.nx-service-card:hover .nx-service-card__more::after {
	transform: translateX(4px);
}

.nx-services__all-mobile {
	display: none;
}

@media (max-width: 1180px) {
	.nx-service-card__title {
		white-space: normal;
	}
}

@media (max-width: 959px) {
	.nx-services .nx-wrap {
		gap: 24px;
	}

	.nx-services__all {
		display: none;
	}

	.nx-services__all-mobile {
		display: inline-flex;
		align-self: flex-start;
		margin-top: 8px;
	}

	.nx-services__grid {
		display: flex;
		flex-direction: column;
		gap: 14px;
		margin-top: 8px;
	}

	.nx-service-card {
		aspect-ratio: 4 / 3;
	}

	.nx-service-card::before {
		background: linear-gradient(180deg, rgba(15, 43, 46, 0.05) 0%, rgba(15, 43, 46, 0.25) 35%, rgba(15, 43, 46, 0.94) 100%);
	}

	.nx-service-card__body {
		flex-direction: row;
		align-items: flex-end;
		justify-content: space-between;
		gap: 16px;
		padding: 20px;
	}

	.nx-service-card__body .nx-icon,
	.nx-service-card__more {
		display: none;
	}

	.nx-service-card__text {
		gap: 6px;
		margin-top: 0;
	}

	.nx-service-card__body::after {
		content: "";
		flex: none;
		width: 18px;
		height: 18px;
		margin-bottom: 4px;
		background: currentColor;
		-webkit-mask: var(--nx-arrow) center / contain no-repeat;
		mask: var(--nx-arrow) center / contain no-repeat;
	}

	.nx-service-card__title {
		font-size: 22px;
		line-height: 1.15;
		letter-spacing: -0.02em;
	}

	.nx-service-card__desc {
		font-size: 14px;
		line-height: 1.45;
	}
}

/* ==========================================================================
   Home — Focused on IMEA
   ========================================================================== */

.nx-focus .nx-wrap {
	display: flex;
	flex-direction: column;
	gap: 80px;
}

.nx-focus__head {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 96px;
	align-items: end;
}

.nx-focus__title,
.nx-focus__intro {
	display: flex;
	flex-direction: column;
	gap: 24px;
}

.nx-focus h2 {
	font-size: clamp(40px, 4.7vw, 60px);
	line-height: 1;
	letter-spacing: -0.04em;
}

.nx-focus__intro p {
	font-size: 17px;
	line-height: 1.65;
	color: var(--nx-on-dark-soft);
}

.nx-focus__btn {
	align-self: flex-start;
}

.nx-focus__btn-mobile {
	display: none;
}

.nx-focus__regions {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	border-top: 1px solid #2C5257;
}

.nx-region {
	display: flex;
	flex-direction: column;
	gap: 18px;
	padding: 40px 40px 8px;
	border-left: 1px solid #2C5257;
	color: inherit;
	text-decoration: none;
}

.nx-region:first-child {
	padding-left: 0;
	border-left: 0;
}

.nx-region:last-child {
	padding-right: 0;
}

.nx-region__name {
	display: flex;
	align-items: center;
	gap: 12px;
	font-family: var(--nx-mono);
	font-size: 12px;
	font-weight: 500;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--nx-brass-light);
}

.nx-region__name::before {
	content: "";
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: var(--nx-brass-light);
}

.nx-region__title {
	font-size: 26px;
	font-weight: 500;
	line-height: 1.15;
	letter-spacing: -0.025em;
	color: #FFFFFF;
}

.nx-region__text {
	font-size: 15px;
	line-height: 1.6;
	color: var(--nx-on-dark-soft);
}

.nx-region__more {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin-top: 6px;
	font-size: 14px;
	font-weight: 500;
	color: var(--nx-petrol-light);
	transition: color 0.2s ease;
}

.nx-region__more::after {
	width: 14px;
	height: 14px;
}

.nx-region:hover .nx-region__more {
	color: #FFFFFF;
}

@media (max-width: 959px) {
	.nx-watermark {
		right: -110px;
		top: -90px;
		width: 280px;
		height: 280px;
	}

	.nx-focus .nx-wrap {
		gap: 24px;
	}

	.nx-focus__head {
		display: flex;
		flex-direction: column;
		align-items: stretch;
		gap: 24px;
	}

	.nx-focus h2 {
		font-size: 40px;
		line-height: 1.02;
	}

	.nx-focus__intro p {
		font-size: 16px;
	}

	.nx-focus__btn {
		display: none;
	}

	.nx-focus__regions {
		display: flex;
		flex-direction: column;
		margin-top: 8px;
	}

	.nx-region,
	.nx-region:first-child,
	.nx-region:last-child {
		gap: 10px;
		padding: 24px 0;
		border-left: 0;
		border-bottom: 1px solid #2C5257;
	}

	.nx-region__name {
		gap: 10px;
		font-size: 11px;
	}

	.nx-region__name::before {
		width: 6px;
		height: 6px;
	}

	.nx-region__title {
		font-size: 21px;
		line-height: 1.2;
		letter-spacing: -0.02em;
	}

	.nx-region__more {
		display: none;
	}

	.nx-focus__btn-mobile {
		display: flex;
		justify-content: space-between;
		margin-top: 12px;
		padding: 17px 22px;
	}
}

/* ==========================================================================
   Home — Why Nexus
   ========================================================================== */

.nx-why .nx-wrap {
	display: flex;
	flex-direction: column;
	gap: 56px;
}

.nx-why__btn-mobile {
	display: none;
}

.nx-principles {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	padding: 0;
	border-top: 1px solid var(--nx-hairline);
	border-bottom: 1px solid var(--nx-hairline);
	list-style: none;
}

.nx-principles li {
	display: flex;
	flex-direction: column;
	gap: 28px;
	padding: 36px 28px 40px;
	border-left: 1px solid var(--nx-hairline);
}

.nx-principles li:first-child {
	padding-left: 0;
	border-left: 0;
}

.nx-principles li:last-child {
	padding-right: 0;
}

.nx-principles__icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 56px;
	height: 56px;
	background: var(--nx-mist);
	color: var(--nx-petrol);
}

.nx-principles__title {
	font-size: clamp(18px, 1.65vw, 21px);
	font-weight: 500;
	line-height: 1.2;
	letter-spacing: -0.02em;
	color: var(--nx-ink);
}

@media (max-width: 959px) {
	.nx-why .nx-wrap {
		gap: 24px;
	}

	.nx-why__btn {
		display: none;
	}

	.nx-why__btn-mobile {
		display: flex;
		justify-content: space-between;
		margin-top: 8px;
		padding: 16px 22px;
	}

	.nx-principles {
		display: flex;
		flex-direction: column;
		margin-top: 8px;
		border-bottom: 0;
	}

	.nx-principles li,
	.nx-principles li:first-child,
	.nx-principles li:last-child {
		flex-direction: row;
		align-items: center;
		gap: 18px;
		padding: 16px 0;
		border-left: 0;
		border-bottom: 1px solid var(--nx-hairline);
	}

	.nx-principles__icon {
		flex: none;
		width: 48px;
		height: 48px;
	}

	.nx-principles__icon .nx-icon {
		width: 24px;
		height: 24px;
	}

	.nx-principles__title {
		font-size: 18px;
		line-height: 1.25;
		letter-spacing: -0.015em;
	}
}

/* ==========================================================================
   Inner pages — shared pieces
   ========================================================================== */

/* Two-column split: 340px label column + content. */
.nx-split {
	display: grid;
	grid-template-columns: 340px minmax(0, 1fr);
	gap: 64px;
	align-items: start;
}

.nx-split__label {
	font-family: var(--nx-mono);
	font-size: 12px;
	font-weight: 500;
	line-height: 1.6;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--nx-petrol);
}

/* Two paragraphs side by side. */
.nx-cols {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 32px;
}

.nx-cols--single {
	grid-template-columns: minmax(0, 1fr);
}

.nx-cols p {
	font-size: 15px;
	line-height: 1.65;
	color: var(--nx-slate);
}

.nx-lead-ink {
	font-size: 20px;
	line-height: 1.55;
	letter-spacing: -0.01em;
	color: var(--nx-ink);
}

/* Photo + text, photo on the left (default) or right. */
.nx-media-split {
	display: grid;
	grid-template-columns: 440px minmax(0, 1fr);
	gap: 96px;
	align-items: center;
}

.nx-media-split--right {
	grid-template-columns: minmax(0, 1fr) 440px;
}

.nx-media-split--right .nx-media-split__photo {
	order: 2;
}

.nx-media-split--top {
	align-items: start;
}

.nx-media-split__body {
	display: flex;
	flex-direction: column;
	gap: 28px;
	min-width: 0;
}

.nx-media-split__photo img {
	aspect-ratio: 4 / 5;
}

.nx-photo--corner-br::after,
.nx-photo--corner-tr::after {
	content: "";
	position: absolute;
	right: -12px;
	width: 64px;
	height: 64px;
	border-right: 1px solid var(--nx-brass);
	pointer-events: none;
}

.nx-photo--corner-br::after {
	bottom: -12px;
	border-bottom: 1px solid var(--nx-brass);
}

.nx-photo--corner-tr::after {
	top: -12px;
	border-top: 1px solid var(--nx-brass);
}

/* Inner page hero. */
.nx-phero--split > .nx-wrap.nx-media-split {
	display: grid;
	gap: 96px;
}

.nx-phero {
	padding: 72px var(--nx-gutter) 0;
}

.nx-phero > .nx-wrap {
	display: flex;
	flex-direction: column;
	gap: 28px;
}

.nx-phero p,
.nx-phero h1,
.nx-phero figure {
	margin: 0;
}

.nx-phero__head {
	display: grid;
	grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
	gap: 96px;
	align-items: end;
}

.nx-phero__title {
	font-size: clamp(42px, 5.6vw, 72px);
	line-height: 1;
	letter-spacing: -0.045em;
	text-wrap: balance;
}

.nx-phero__title span {
	color: var(--nx-petrol);
}

.nx-phero__intro {
	display: flex;
	flex-direction: column;
	gap: 18px;
	padding-bottom: 6px;
}

.nx-phero__intro p {
	font-size: 15px;
	line-height: 1.65;
	color: var(--nx-slate);
}

.nx-phero__intro p:only-child {
	font-size: 18px;
	line-height: 1.6;
}

.nx-phero__intro .nx-phero__lead {
	font-size: 18px;
	line-height: 1.6;
	color: #2E4144;
}

.nx-phero__media {
	position: relative;
	margin-top: 28px !important;
}

.nx-phero__media img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 21 / 9;
	object-fit: cover;
}

.nx-phero__caption {
	position: absolute;
	right: 0;
	bottom: 0;
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 14px 18px 0;
	background: #FFFFFF;
	font-family: var(--nx-mono);
	font-size: 11px;
	line-height: 1.4;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--nx-slate);
}

.nx-phero__caption::before {
	content: "";
	flex: none;
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: var(--nx-brass);
}

@media (max-width: 959px) {
	.nx-split {
		display: flex;
		flex-direction: column;
		gap: 22px;
	}

	.nx-cols {
		display: flex;
		flex-direction: column;
		gap: 22px;
	}

	.nx-lead-ink {
		font-size: 18px;
	}

	.nx-media-split,
	.nx-media-split--right {
		display: flex;
		flex-direction: column;
		align-items: stretch;
		gap: 22px;
	}

	.nx-media-split__photo img {
		aspect-ratio: 4 / 3;
	}

	.nx-photo--corner-br::after,
	.nx-photo--corner-tr::after,
	.nx-media-split .nx-photo--corner-tl::before {
		display: none;
	}

	.nx-phero {
		padding-top: 44px;
	}

	.nx-phero > .nx-wrap {
		gap: 22px;
	}

	.nx-phero .is-style-eyebrow {
		gap: 12px;
		font-size: 11px;
	}

	.nx-phero .is-style-eyebrow::before {
		width: 28px;
	}

	.nx-phero__head {
		display: flex;
		flex-direction: column;
		align-items: stretch;
		gap: 22px;
	}

	.nx-phero__title {
		font-size: 42px;
		line-height: 1.02;
		letter-spacing: -0.04em;
	}

	.nx-phero__intro {
		gap: 20px;
		padding: 0;
	}

	.nx-phero__intro p:only-child,
	.nx-phero__intro .nx-phero__lead {
		font-size: 16px;
	}

	.nx-phero__media {
		margin: 10px calc(-1 * var(--nx-gutter)) 0 !important;
	}

	.nx-phero__media img {
		aspect-ratio: 4 / 3;
	}

	.nx-phero__caption {
		position: static;
		padding: 12px var(--nx-gutter) 0;
		font-size: 10px;
		background: none;
	}

	/* Full-bleed photos inside mobile sections. */
	.nx-media-split__photo {
		margin-inline: calc(-1 * var(--nx-gutter)) !important;
	}
}

/* ==========================================================================
   About
   ========================================================================== */

.nx-about-intro .nx-wrap {
	display: flex;
	flex-direction: column;
	gap: 64px;
}

.nx-quote {
	display: flex;
	flex-direction: column;
	gap: 24px;
	max-width: 960px;
}

.nx-quote .nx-quote__label {
	color: var(--nx-slate);
}

.nx-quote blockquote {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: clamp(34px, 4.2vw, 54px);
	font-weight: 500;
	line-height: 1.08;
	letter-spacing: -0.04em;
	color: var(--nx-ink);
	text-wrap: balance;
}

.nx-quote blockquote span {
	color: var(--nx-petrol);
}

.nx-about-intro__body {
	padding-top: 48px;
	border-top: 1px solid var(--nx-hairline);
}

.nx-about-intro__text {
	display: flex;
	flex-direction: column;
	gap: 28px;
	max-width: 640px;
}

.nx-about-intro__lead {
	font-size: 19px;
	line-height: 1.65;
	color: #2E4144;
}

.nx-statement {
	display: flex;
	align-items: center;
	gap: 16px;
	font-size: 22px;
	font-weight: 500;
	line-height: 1.35;
	letter-spacing: -0.02em;
	color: var(--nx-ink);
}

.nx-statement::before {
	content: "";
	flex: none;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--nx-brass);
}

/* Our Role */
.nx-role .nx-wrap {
	display: flex;
	flex-direction: column;
	gap: 72px;
}

.nx-role__title {
	display: flex;
	flex-direction: column;
	gap: 24px;
}

.nx-role__text {
	display: flex;
	flex-direction: column;
	gap: 28px;
	padding-top: 6px;
}

.nx-diagram {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 160px minmax(0, 1.15fr) 160px minmax(0, 1fr);
	align-items: center;
}

.nx-diagram__box {
	display: flex;
	flex-direction: column;
	gap: 10px;
	padding: 28px;
	border: 1px solid var(--nx-hairline);
	background: #FFFFFF;
}

.nx-diagram__label {
	font-family: var(--nx-mono);
	font-size: 11px;
	font-weight: 500;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--nx-slate);
}

.nx-diagram__title {
	font-size: 20px;
	font-weight: 500;
	line-height: 1.25;
	letter-spacing: -0.02em;
	color: var(--nx-ink);
}

.nx-diagram__box--broker {
	gap: 14px;
	padding: 32px 28px;
	border: 0;
	background: var(--nx-petrol);
	box-shadow: 0 24px 48px rgba(15, 43, 46, 0.16);
}

.nx-diagram__box--broker .nx-diagram__title {
	font-size: 22px;
	line-height: 1.2;
	color: #FFFFFF;
}

.nx-diagram__brand {
	display: flex;
	align-items: center;
	gap: 12px;
	color: #FFFFFF;
}

.nx-diagram__brand svg {
	width: 28px;
	height: 28px;
}

.nx-diagram__brand .nx-diagram__label {
	color: #CFE0DF;
}

.nx-diagram__chips {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	font-family: var(--nx-mono);
	font-size: 10px;
	font-weight: 500;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #FFFFFF;
}

.nx-diagram__chips span {
	padding: 5px 8px;
	border: 1px solid rgba(255, 255, 255, 0.35);
}

.nx-diagram__link {
	position: relative;
	display: flex;
	align-items: center;
	height: 72px;
}

.nx-diagram__line {
	position: relative;
	display: block;
	width: 100%;
	height: 0;
	border-top: 2px dotted var(--nx-brass);
}

.nx-diagram__line::before,
.nx-diagram__line::after {
	content: "";
	position: absolute;
	top: -6px;
	width: 0;
	height: 0;
	border-top: 5px solid transparent;
	border-bottom: 5px solid transparent;
}

.nx-diagram__line::before {
	left: -2px;
	border-right: 7px solid var(--nx-brass);
}

.nx-diagram__line::after {
	right: -2px;
	border-left: 7px solid var(--nx-brass);
}

.nx-diagram__step {
	position: absolute;
	top: calc(50% + 12px);
	left: 0;
	right: 0;
	font-family: var(--nx-mono);
	font-size: 10px;
	line-height: 1.5;
	letter-spacing: 0.08em;
	text-align: center;
	text-transform: uppercase;
	color: var(--nx-slate);
}

/* Experience */
.nx-callout {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 12px;
	margin-top: 16px;
	padding-top: 32px;
	border-top: 1px solid var(--nx-hairline);
}

.nx-callout::before {
	content: "";
	position: absolute;
	left: 0;
	top: -1px;
	width: 64px;
	height: 1px;
	background: var(--nx-brass);
}

.nx-callout .nx-callout__title {
	font-size: 30px;
	font-weight: 500;
	line-height: 1.15;
	letter-spacing: -0.03em;
	color: var(--nx-ink);
}

.nx-callout p:not(.nx-callout__title) {
	max-width: 560px;
	font-size: 16px;
	line-height: 1.6;
	color: var(--nx-slate);
}

/* Values */
.nx-values__title {
	display: flex;
	flex-direction: column;
	gap: 24px;
}

.nx-values__mark {
	width: 120px;
	height: 120px;
	margin-top: 24px;
	color: var(--nx-petrol);
	opacity: 0.6;
}

.nx-values__list {
	margin: 0;
	border-top: 1px solid #2C5257;
}

.nx-values__list > div {
	display: grid;
	grid-template-columns: 300px minmax(0, 1fr);
	gap: 40px;
	align-items: baseline;
	padding: 30px 0;
	border-bottom: 1px solid #2C5257;
}

.nx-values__list dt {
	font-size: 28px;
	font-weight: 500;
	letter-spacing: -0.025em;
	color: #FFFFFF;
}

.nx-values__list dd {
	margin: 0;
	font-size: 16px;
	line-height: 1.6;
	color: var(--nx-on-dark-soft);
}

@media (max-width: 1180px) and (min-width: 960px) {
	.nx-split {
		grid-template-columns: 260px minmax(0, 1fr);
		gap: 48px;
	}

	.nx-values__list > div {
		grid-template-columns: 220px minmax(0, 1fr);
		gap: 28px;
	}

	.nx-diagram {
		grid-template-columns: minmax(0, 1fr) 110px minmax(0, 1.15fr) 110px minmax(0, 1fr);
	}

	.nx-diagram__box {
		padding: 22px;
	}
}

@media (max-width: 959px) {
	.nx-about-intro .nx-wrap {
		gap: 22px;
	}

	.nx-quote {
		gap: 22px;
	}

	.nx-quote .nx-quote__label {
		align-items: flex-start;
		line-height: 1.6;
	}

	.nx-quote .nx-quote__label::before {
		margin-top: 8px;
	}

	.nx-quote blockquote {
		font-size: 34px;
		line-height: 1.1;
		letter-spacing: -0.035em;
	}

	.nx-about-intro__body {
		margin-top: 18px;
		padding-top: 28px;
	}

	.nx-about-intro__body .nx-split__label {
		display: none;
	}

	.nx-about-intro__text {
		gap: 20px;
	}

	.nx-about-intro__lead {
		font-size: 16px;
	}

	.nx-statement {
		align-items: flex-start;
		gap: 14px;
		font-size: 19px;
		letter-spacing: -0.015em;
	}

	.nx-statement::before {
		width: 7px;
		height: 7px;
		margin-top: 9px;
	}

	/* Role: title, lead, diagram, paragraphs. */
	.nx-role .nx-wrap {
		gap: 22px;
	}

	.nx-role__head,
	.nx-role__text {
		display: contents;
	}

	.nx-role__title { order: 1; gap: 22px; }
	.nx-role__lead { order: 2; }
	.nx-diagram { order: 3; }
	.nx-role__cols { order: 4; }

	.nx-diagram {
		display: flex;
		flex-direction: column;
		align-items: stretch;
		margin: 12px 0;
	}

	.nx-diagram__box {
		gap: 6px;
		padding: 20px;
	}

	.nx-diagram__label {
		font-size: 10px;
	}

	.nx-diagram__title {
		font-size: 17px;
		letter-spacing: -0.015em;
	}

	.nx-diagram__box--broker {
		gap: 10px;
		padding: 22px 20px;
		box-shadow: 0 16px 32px rgba(15, 43, 46, 0.16);
	}

	.nx-diagram__box--broker .nx-diagram__title {
		font-size: 19px;
	}

	.nx-diagram__brand {
		gap: 10px;
	}

	.nx-diagram__brand svg {
		width: 22px;
		height: 22px;
	}

	.nx-diagram__chips {
		gap: 6px;
	}

	.nx-diagram__chips span {
		padding: 4px 7px;
	}

	.nx-diagram__link {
		gap: 14px;
		height: 64px;
		padding-left: 28px;
	}

	.nx-diagram__line {
		width: 0;
		height: 100%;
		border-top: 0;
		border-left: 2px dotted var(--nx-brass);
	}

	.nx-diagram__line::before,
	.nx-diagram__line::after {
		display: none;
	}

	.nx-diagram__step {
		position: static;
		text-align: left;
	}

	.nx-diagram__step br {
		display: none;
	}

	/* Experience: eyebrow, title, lead, photo, paragraphs, callout. */
	.nx-experience .nx-media-split__body {
		display: contents;
	}

	.nx-experience .nx-media-split__body > :nth-child(1) { order: 1; }
	.nx-experience .nx-media-split__body > :nth-child(2) { order: 2; }
	.nx-experience .nx-media-split__body > :nth-child(3) { order: 3; }
	.nx-experience .nx-media-split__photo { order: 4; margin-block: 6px !important; }
	.nx-experience .nx-media-split__body > :nth-child(4) { order: 5; }
	.nx-experience .nx-media-split__body > :nth-child(5) { order: 6; }

	.nx-callout {
		gap: 10px;
		margin-top: 8px;
		padding-top: 24px;
	}

	.nx-callout::before {
		width: 48px;
	}

	.nx-callout .nx-callout__title {
		font-size: 24px;
		letter-spacing: -0.025em;
	}

	.nx-callout p:not(.nx-callout__title) {
		font-size: 15px;
	}

	.nx-values__title {
		gap: 22px;
	}

	.nx-values__mark {
		display: none;
	}

	.nx-values__list {
		margin-top: 8px;
	}

	.nx-values__list > div {
		display: flex;
		flex-direction: column;
		gap: 8px;
		padding: 22px 0;
	}

	.nx-values__list dt {
		font-size: 22px;
		letter-spacing: -0.02em;
	}

	.nx-values__list dd {
		font-size: 15px;
	}
}

/* ==========================================================================
   Services
   ========================================================================== */

.nx-phero--services {
	padding-bottom: 56px;
}

.nx-phero--services .nx-phero__title {
	font-size: clamp(38px, 5.3vw, 68px);
}

.nx-phero__media--nav img {
	aspect-ratio: 21 / 9;
}

.nx-core {
	position: relative;
	display: grid;
	grid-template-columns: 170px repeat(3, minmax(0, 1fr));
	margin: -64px 40px 0;
	border: 1px solid var(--nx-hairline);
	background: #FFFFFF;
	box-shadow: 0 24px 48px rgba(15, 43, 46, 0.1);
}

.nx-core__label {
	display: flex;
	align-items: center;
	padding: 0 28px;
	background: var(--nx-mist);
	font-family: var(--nx-mono);
	font-size: 11px;
	font-weight: 500;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--nx-petrol);
}

.nx-core a {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 26px 24px;
	border-left: 1px solid var(--nx-hairline);
	color: var(--nx-ink);
	text-decoration: none;
	transition: background-color 0.2s ease;
}

.nx-core a:hover {
	background: var(--nx-mist);
}

.nx-core a .nx-icon {
	flex: none;
	color: var(--nx-petrol);
}

.nx-core a span {
	flex-grow: 1;
	font-size: 17px;
	font-weight: 500;
	letter-spacing: -0.015em;
}

.nx-core a .nx-icon--arrow-down {
	transition: transform 0.2s ease;
}

.nx-core a:hover .nx-icon--arrow-down {
	transform: translateY(3px);
}

/* Service area */
.nx-area .nx-media-split__photo img {
	aspect-ratio: 3 / 4;
}

.nx-area__body {
	gap: 26px;
}

.nx-area__tag {
	display: flex;
	align-items: center;
	gap: 14px;
	font-family: var(--nx-mono);
	font-size: 12px;
	font-weight: 500;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--nx-petrol);
}

.nx-area__icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	background: var(--nx-mist);
	color: var(--nx-petrol);
}

.nx-section--mist .nx-area__icon {
	background: #FFFFFF;
}

.nx-area__heading {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.nx-section .nx-area__heading h2 {
	font-size: 48px;
}

.nx-area__sub {
	font-size: 22px;
	font-weight: 500;
	line-height: 1.3;
	letter-spacing: -0.015em;
	color: var(--nx-petrol);
}

.nx-area__lead {
	font-size: 18px;
	line-height: 1.6;
	color: #2E4144;
}

.nx-area .nx-cols {
	gap: 28px;
}

.nx-checklist {
	display: flex;
	flex-direction: column;
	gap: 14px;
	margin-top: 12px;
}

.nx-checklist__label {
	font-family: var(--nx-mono);
	font-size: 12px;
	font-weight: 500;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--nx-slate);
}

.nx-checklist ul {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	column-gap: 32px;
	padding: 0;
	border-top: 1px solid var(--nx-hairline);
	list-style: none;
}

.nx-section--mist .nx-checklist ul,
.nx-section--mist .nx-checklist li {
	border-color: var(--nx-hairline-mist);
}

.nx-checklist li {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 14px 0;
	border-bottom: 1px solid var(--nx-hairline);
	font-size: 15px;
	line-height: 1.4;
	color: var(--nx-ink);
}

.nx-checklist li::before {
	content: "";
	flex: none;
	width: 6px;
	height: 6px;
	background: var(--nx-brass);
}

.nx-checklist li:last-child:nth-child(odd) {
	grid-column: 1 / -1;
}

/* Process */
.nx-process .nx-wrap {
	display: flex;
	flex-direction: column;
	gap: 72px;
}

.nx-process__steps {
	position: relative;
	display: grid;
	grid-template-columns: repeat(6, minmax(0, 1fr));
	gap: 28px;
	padding: 0;
	border-top: 1px solid #2C5257;
	list-style: none;
}

.nx-process__steps li {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 14px;
	padding-top: 36px;
}

.nx-process__steps li::before {
	content: "";
	position: absolute;
	left: 0;
	top: -6px;
	width: 11px;
	height: 11px;
	border-radius: 50%;
	background: var(--nx-brass-light);
}

.nx-process__steps li:last-child::before {
	background: #4F9599;
	box-shadow: 0 0 0 4px rgba(79, 149, 153, 0.25);
}

.nx-process__num {
	font-family: var(--nx-mono);
	font-size: 13px;
	font-weight: 500;
	letter-spacing: 0.04em;
	color: var(--nx-brass-light);
}

.nx-process__steps li:last-child .nx-process__num {
	color: var(--nx-petrol-light);
}

.nx-process__title {
	font-size: 22px;
	font-weight: 500;
	letter-spacing: -0.02em;
	color: #FFFFFF;
}

.nx-process__text {
	font-size: 14px;
	line-height: 1.6;
	color: var(--nx-on-dark-soft);
}

@media (max-width: 1180px) and (min-width: 960px) {
	.nx-core {
		grid-template-columns: 130px repeat(3, minmax(0, 1fr));
		margin-inline: 24px;
	}

	.nx-core a {
		gap: 12px;
		padding: 22px 20px;
	}

	.nx-core a span {
		font-size: 15px;
	}

	.nx-section .nx-area__heading h2 {
		font-size: 42px;
	}

	.nx-media-split {
		grid-template-columns: 380px minmax(0, 1fr);
		gap: 64px;
	}

	.nx-media-split--right {
		grid-template-columns: minmax(0, 1fr) 380px;
	}

	.nx-process__steps {
		gap: 20px;
	}

	.nx-process__title {
		font-size: 19px;
	}
}

@media (max-width: 959px) {
	.nx-phero--services {
		padding-bottom: 48px;
	}

	.nx-phero--services .nx-phero__title {
		font-size: 38px;
		line-height: 1.04;
	}

	.nx-phero--services .nx-phero__head {
		gap: 20px;
	}

	.nx-phero__media--nav img {
		aspect-ratio: 4 / 3;
	}

	.nx-core {
		display: flex;
		flex-direction: column;
		margin: -40px 16px 0;
		box-shadow: 0 16px 32px rgba(15, 43, 46, 0.1);
	}

	.nx-core__label {
		padding: 12px 18px;
		font-size: 10px;
	}

	.nx-core a {
		gap: 14px;
		padding: 16px 18px;
		border-left: 0;
		border-top: 1px solid var(--nx-hairline);
	}

	.nx-core a .nx-icon:first-child {
		width: 24px;
		height: 24px;
	}

	.nx-core a .nx-icon--arrow-down {
		width: 14px;
		height: 14px;
	}

	.nx-core a span {
		font-size: 16px;
		letter-spacing: 0;
	}

	.nx-area .nx-media-split__photo img {
		aspect-ratio: 4 / 3;
	}

	/* Service area: tag, title, photo, lead, text, list. */
	.nx-area__body {
		display: contents;
	}

	.nx-area .nx-media-split {
		gap: 20px;
	}

	.nx-area__tag { order: 1; gap: 12px; font-size: 11px; }
	.nx-area__heading { order: 2; gap: 12px; }
	.nx-area__photo { order: 3; margin-block: 8px !important; }
	.nx-area__lead { order: 4; }
	.nx-area .nx-cols { order: 5; gap: 20px; }
	.nx-checklist { order: 6; margin-top: 8px; gap: 14px; }

	.nx-area .nx-photo--corner-tl::before {
		display: none;
	}

	.nx-area__icon {
		width: 40px;
		height: 40px;
	}

	.nx-area__icon .nx-icon {
		width: 22px;
		height: 22px;
	}

	.nx-section .nx-area__heading h2 {
		font-size: 34px;
		line-height: 1.06;
	}

	.nx-area__sub {
		font-size: 19px;
	}

	.nx-area__lead {
		font-size: 17px;
	}

	.nx-checklist__label {
		font-size: 11px;
	}

	.nx-checklist ul {
		display: flex;
		flex-direction: column;
	}

	.nx-checklist li {
		padding: 13px 0;
	}

	.nx-process .nx-wrap {
		gap: 22px;
	}

	.nx-process__steps {
		display: flex;
		flex-direction: column;
		gap: 0;
		margin: 16px 0 0 5px !important;
		border-top: 0;
		border-left: 1px solid #2C5257;
	}

	.nx-process__steps li {
		gap: 6px;
		padding: 0 0 28px 26px;
	}

	.nx-process__steps li:last-child {
		padding-bottom: 0;
	}

	.nx-process__steps li::before {
		left: -6px;
		top: 2px;
	}

	.nx-process__num {
		font-size: 12px;
		letter-spacing: 0;
	}

	.nx-process__title {
		font-size: 20px;
	}

	.nx-process__text {
		font-size: 15px;
		line-height: 1.55;
	}
}

/* ==========================================================================
   IMEA
   ========================================================================== */

.nx-phero--dark {
	padding: 96px var(--nx-gutter) 104px;
	background: var(--nx-ink);
	color: var(--nx-on-dark);
}

.nx-phero--dark > .nx-wrap {
	gap: 28px;
}

.nx-phero--dark .is-style-eyebrow {
	color: var(--nx-petrol-light);
}

.nx-phero--dark .is-style-eyebrow::before {
	background: var(--nx-brass-light);
}

.nx-phero__head--imea {
	grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
}

.nx-phero--dark .nx-phero__title {
	font-size: clamp(46px, 6.25vw, 80px);
	line-height: 0.98;
	letter-spacing: -0.05em;
	color: #FFFFFF;
}

.nx-phero--dark .nx-phero__title span {
	color: var(--nx-petrol-light);
}

.nx-phero--dark .nx-phero__intro {
	gap: 16px;
	padding-bottom: 8px;
}

.nx-phero--dark .nx-phero__intro p {
	color: var(--nx-on-dark-soft);
}

.nx-phero--dark .nx-phero__intro .nx-phero__lead {
	color: #FFFFFF;
}

.nx-darkmap {
	position: relative;
	margin-top: 36px !important;
	aspect-ratio: 1160 / 800;
	border-top: 1px solid #2C5257;
}

.nx-darkmap img {
	display: block;
	width: 100%;
	height: 100%;
}

.nx-darkmap__label {
	position: absolute;
	transform: translate(-50%, -50%);
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 7px 11px;
	border: 1px solid #3A6266;
	background: var(--nx-ink);
	font-family: var(--nx-mono);
	font-size: 11px;
	font-weight: 500;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #FFFFFF;
	text-decoration: none;
	white-space: nowrap;
	transition: border-color 0.2s ease, background-color 0.2s ease;
}

.nx-darkmap__label:hover,
.nx-darkmap__label:focus-visible {
	border-color: var(--nx-brass-light);
	background: #163A3E;
	color: #FFFFFF;
}

.nx-darkmap__hq {
	position: absolute;
	left: calc(66.8% + 26px);
	top: 80.3%;
	transform: translateY(-50%);
	display: flex;
	flex-direction: column;
	gap: 2px;
	font-family: var(--nx-mono);
	font-size: 11px;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	white-space: nowrap;
}

.nx-darkmap__hq span:first-child {
	font-weight: 500;
	color: #FFFFFF;
}

.nx-darkmap__hq span:last-child {
	color: var(--nx-brass-light);
}

.nx-darkmap__legend,
.nx-darkmap__list {
	display: none;
}

/* Region blocks */
.nx-regionblock__grid {
	display: grid;
	grid-template-columns: 480px minmax(0, 1fr);
	gap: 96px;
	align-items: center;
}

.nx-regionblock__grid.is-flipped {
	grid-template-columns: minmax(0, 1fr) 480px;
}

.nx-regionblock__grid.is-flipped .nx-regionblock__map {
	order: 2;
}

.nx-regionblock__map {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 1 / 1;
}

.nx-regionblock__body {
	display: flex;
	flex-direction: column;
	gap: 24px;
	min-width: 0;
}

.nx-regionblock__tag {
	display: flex;
	align-items: center;
	gap: 12px;
	font-family: var(--nx-mono);
	font-size: 12px;
	font-weight: 500;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #8A6C3A;
}

.nx-regionblock__tag::before {
	content: "";
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--nx-brass);
}

.nx-section .nx-regionblock__body h2 {
	font-size: clamp(42px, 5vw, 64px);
	line-height: 1;
	letter-spacing: -0.045em;
}

.nx-regionblock__sub {
	font-size: 24px;
	font-weight: 500;
	line-height: 1.25;
	letter-spacing: -0.02em;
	color: var(--nx-petrol);
}

.nx-regionblock__lead {
	margin-top: 8px !important;
	font-size: 18px;
	line-height: 1.6;
	color: #2E4144;
}

.nx-regionblock__text {
	font-size: 15px;
	line-height: 1.65;
	color: var(--nx-slate);
}

/* One Region. Many Markets. */
.nx-many .nx-wrap {
	display: flex;
	flex-direction: column;
	gap: 56px;
}

.nx-section h2.nx-many__title {
	font-size: clamp(46px, 6.6vw, 84px);
	line-height: 0.98;
	letter-spacing: -0.05em;
}

.nx-many__title span {
	color: var(--nx-petrol-light);
}

.nx-many__dots {
	position: relative;
	height: 12px;
	background-image: radial-gradient(circle, #2C5257 2.4px, transparent 2.9px);
	background-size: 14px 12px;
}

.nx-many__dots::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0;
	width: 12px;
	height: 12px;
	border-radius: 50%;
	background: var(--nx-brass-light);
}

.nx-many__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 96px;
	align-items: start;
}

.nx-many__lead {
	font-size: 30px;
	font-weight: 500;
	line-height: 1.25;
	letter-spacing: -0.025em;
	color: #FFFFFF;
}

.nx-many__text {
	display: flex;
	flex-direction: column;
	gap: 18px;
}

.nx-many__text p {
	font-size: 17px;
	line-height: 1.65;
	color: var(--nx-on-dark-soft);
}

.nx-many__text p.is-strong {
	color: #FFFFFF;
}

@media (max-width: 1180px) and (min-width: 960px) {
	.nx-regionblock__grid {
		grid-template-columns: 400px minmax(0, 1fr);
		gap: 64px;
	}

	.nx-regionblock__grid.is-flipped {
		grid-template-columns: minmax(0, 1fr) 400px;
	}
}

@media (max-width: 959px) {
	.nx-phero--dark {
		padding: 48px var(--nx-gutter) 56px;
	}

	.nx-phero--dark > .nx-wrap {
		gap: 20px;
	}

	.nx-phero--dark .nx-phero__title {
		font-size: 46px;
		line-height: 1;
		letter-spacing: -0.045em;
	}

	.nx-phero--dark .nx-phero__head {
		gap: 20px;
	}

	.nx-phero--dark .nx-phero__intro {
		gap: 20px;
		padding: 0;
	}

	.nx-darkmap {
		margin: 8px calc(-1 * var(--nx-gutter)) 0 !important;
		border-top: 0;
	}

	.nx-darkmap__label,
	.nx-darkmap__hq {
		display: none;
	}

	.nx-darkmap__legend {
		display: flex;
		align-items: center;
		gap: 10px;
		font-family: var(--nx-mono);
		font-size: 10px;
		letter-spacing: 0.06em;
		text-transform: uppercase;
		color: var(--nx-on-dark-soft);
	}

	.nx-darkmap__legend::before {
		content: "";
		width: 8px;
		height: 8px;
		border-radius: 50%;
		background: var(--nx-brass-light);
	}

	.nx-darkmap__list {
		display: flex;
		flex-direction: column;
		margin-top: 4px;
		border-top: 1px solid #2C5257;
	}

	.nx-darkmap__list a {
		display: flex;
		justify-content: space-between;
		align-items: center;
		padding: 16px 0;
		border-bottom: 1px solid #2C5257;
		font-size: 18px;
		font-weight: 500;
		color: #FFFFFF;
		text-decoration: none;
	}

	.nx-regionblock {
		padding-top: 56px;
		padding-bottom: 64px;
	}

	.nx-regionblock__grid,
	.nx-regionblock__grid.is-flipped {
		display: flex;
		flex-direction: column;
		gap: 18px;
	}

	.nx-regionblock__grid.is-flipped .nx-regionblock__map {
		order: 0;
	}

	.nx-regionblock__map {
		max-width: 320px;
		align-self: center;
	}

	.nx-regionblock__body {
		gap: 18px;
	}

	.nx-regionblock__tag {
		gap: 10px;
		font-size: 11px;
	}

	.nx-regionblock__tag::before {
		width: 7px;
		height: 7px;
	}

	.nx-section .nx-regionblock__body h2 {
		font-size: 42px;
		letter-spacing: -0.04em;
	}

	.nx-regionblock__sub {
		font-size: 19px;
		line-height: 1.3;
		letter-spacing: -0.015em;
	}

	.nx-regionblock__lead {
		margin-top: 0 !important;
		font-size: 16px;
	}

	.nx-many .nx-wrap {
		gap: 28px;
	}

	.nx-section h2.nx-many__title {
		font-size: 46px;
		line-height: 1;
		letter-spacing: -0.045em;
	}

	.nx-many__dots {
		height: 10px;
		background-image: radial-gradient(circle, #2C5257 2px, transparent 2.5px);
		background-size: 12px 10px;
	}

	.nx-many__dots::before {
		width: 10px;
		height: 10px;
	}

	.nx-many__grid,
	.nx-many__text {
		display: flex;
		flex-direction: column;
		gap: 28px;
	}

	.nx-many__lead {
		font-size: 22px;
		line-height: 1.3;
		letter-spacing: -0.02em;
	}

	.nx-many__text p {
		font-size: 15px;
	}
}

/* ==========================================================================
   Why Nexus
   ========================================================================== */

.nx-phero--split {
	padding-bottom: var(--nx-section);
}

.nx-phero--split .nx-media-split__body {
	gap: 28px;
}

.nx-why-hero__lead {
	max-width: 560px;
	font-size: 20px;
	line-height: 1.55;
	letter-spacing: -0.01em;
	color: var(--nx-ink);
}

.nx-why-hero__text {
	max-width: 560px;
	font-size: 16px;
	line-height: 1.65;
	color: var(--nx-slate);
}

.nx-why-hero__link {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	align-self: flex-start;
	margin-top: 8px;
	padding-top: 18px;
	border-top: 1px solid var(--nx-hairline);
	font-size: 15px;
	font-weight: 500;
	color: var(--nx-petrol);
	text-decoration: none;
}

.nx-why-hero__link::after {
	content: "";
	flex: none;
	width: 16px;
	height: 16px;
	background: currentColor;
	-webkit-mask: var(--nx-arrow) center / contain no-repeat;
	mask: var(--nx-arrow) center / contain no-repeat;
	transition: translate 0.2s ease;
}

.nx-why-hero__link:hover::after {
	translate: 3px 0;
}

/* Five principles */
.nx-fprinciples__title {
	display: flex;
	flex-direction: column;
	gap: 24px;
}

.nx-fprinciples__list {
	padding: 0;
	border-top: 1px solid var(--nx-hairline-mist);
	list-style: none;
}

.nx-fprinciples__list li {
	display: grid;
	grid-template-columns: 56px 260px minmax(0, 1fr);
	gap: 32px;
	align-items: start;
	padding: 32px 0;
	border-bottom: 1px solid var(--nx-hairline-mist);
}

.nx-fprinciples__icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 56px;
	height: 56px;
	background: #FFFFFF;
	color: var(--nx-petrol);
}

.nx-fprinciples__name {
	padding-top: 12px;
	font-size: 22px;
	font-weight: 500;
	line-height: 1.2;
	letter-spacing: -0.02em;
	color: var(--nx-ink);
}

.nx-fprinciples__list p {
	padding-top: 12px;
	font-size: 16px;
	line-height: 1.6;
	color: var(--nx-slate);
}

/* Our Approach */
.nx-approach .nx-wrap {
	display: flex;
	flex-direction: column;
	gap: 56px;
}

.nx-approach__list {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 16px;
	padding: 0;
	list-style: none;
}

.nx-approach__list li {
	display: flex;
	flex-direction: column;
	gap: 12px;
	padding: 28px 24px 32px;
	background: var(--nx-mist);
}

.nx-approach__list li::before {
	content: "";
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--nx-brass);
}

.nx-approach__name {
	margin-top: 20px;
	font-size: 19px;
	font-weight: 500;
	line-height: 1.2;
	letter-spacing: -0.015em;
	color: var(--nx-ink);
}

.nx-approach__text {
	font-size: 14px;
	line-height: 1.55;
	color: var(--nx-slate);
}

@media (max-width: 1180px) and (min-width: 960px) {
	.nx-fprinciples .nx-split {
		display: flex;
		flex-direction: column;
		gap: 48px;
	}

	.nx-approach__list {
		gap: 12px;
	}

	.nx-approach__list li {
		padding: 24px 18px 28px;
	}

	.nx-approach__name {
		font-size: 17px;
	}
}

@media (max-width: 959px) {
	.nx-phero--split {
		padding-bottom: 64px;
	}

	/* Why hero: eyebrow, title, lead, photo, text, link. */
	.nx-phero--split > .nx-wrap.nx-media-split {
		display: flex;
		gap: 20px;
	}

	.nx-phero--split .nx-media-split__body {
		display: contents;
	}

	.nx-phero--split .nx-media-split__body > :nth-child(1) { order: 1; }
	.nx-phero--split .nx-media-split__body > :nth-child(2) { order: 2; }
	.nx-phero--split .nx-media-split__body > :nth-child(3) { order: 3; }
	.nx-phero--split .nx-media-split__photo { order: 4; margin-block: 8px !important; }
	.nx-phero--split .nx-media-split__body > :nth-child(4) { order: 5; }
	.nx-phero--split .nx-media-split__body > :nth-child(5) { order: 6; }

	.nx-why-hero__lead {
		font-size: 18px;
		letter-spacing: 0;
	}

	.nx-why-hero__text {
		font-size: 15px;
	}

	.nx-why-hero__link {
		display: flex;
		justify-content: space-between;
		align-self: stretch;
		margin-top: 0;
		padding-top: 16px;
	}

	.nx-fprinciples__title {
		gap: 22px;
	}

	.nx-fprinciples__list {
		margin-top: 8px;
	}

	.nx-fprinciples__list li {
		grid-template-columns: 44px minmax(0, 1fr);
		gap: 12px 14px;
		align-items: center;
		padding: 24px 0;
	}

	.nx-fprinciples__icon {
		width: 44px;
		height: 44px;
	}

	.nx-fprinciples__icon .nx-icon {
		width: 22px;
		height: 22px;
	}

	.nx-fprinciples__name {
		padding: 0;
		font-size: 19px;
		letter-spacing: -0.015em;
	}

	.nx-fprinciples__list p {
		grid-column: 1 / -1;
		padding: 0;
		font-size: 15px;
	}

	.nx-approach .nx-wrap {
		gap: 22px;
	}

	.nx-approach__list {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 10px;
		margin-top: 8px;
	}

	.nx-approach__list li {
		gap: 8px;
		padding: 18px 16px 20px;
	}

	.nx-approach__list li:last-child:nth-child(odd) {
		grid-column: 1 / -1;
	}

	.nx-approach__list li::before {
		width: 7px;
		height: 7px;
	}

	.nx-approach__name {
		margin-top: 8px;
		font-size: 16px;
	}

	.nx-approach__text {
		font-size: 13px;
		line-height: 1.5;
	}
}

/* ==========================================================================
   Contact
   ========================================================================== */

.nx-contact {
	padding: 72px var(--nx-gutter) var(--nx-section);
}

.nx-contact .nx-wrap {
	display: flex;
	flex-direction: column;
	gap: 64px;
}

.nx-contact p,
.nx-contact h1 {
	margin: 0;
}

.nx-contact__head {
	display: flex;
	flex-direction: column;
	gap: 28px;
}

.nx-contact__title {
	max-width: 900px;
	font-size: clamp(44px, 5.9vw, 76px);
	line-height: 1;
	letter-spacing: -0.045em;
	text-wrap: balance;
}

.nx-contact__title span {
	color: var(--nx-petrol);
}

.nx-contact__grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 620px;
	gap: 80px;
	align-items: start;
}

.nx-contact__info {
	display: flex;
	flex-direction: column;
	gap: 22px;
}

.nx-contact__info > p {
	font-size: 15px;
	line-height: 1.65;
	color: var(--nx-slate);
}

.nx-contact__info > .nx-contact__lead {
	font-size: 19px;
	line-height: 1.6;
	color: var(--nx-ink);
}

.nx-contact__list {
	display: flex;
	flex-direction: column;
	margin-top: 20px;
	border-top: 1px solid var(--nx-hairline);
}

.nx-contact__row {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 6px;
	padding: 20px 0;
	border-bottom: 1px solid var(--nx-hairline);
	color: var(--nx-ink);
	text-decoration: none;
}

.nx-contact__row.is-link {
	padding-right: 40px;
}

.nx-contact__row.is-link::after {
	content: "";
	position: absolute;
	right: 0;
	top: 50%;
	width: 18px;
	height: 18px;
	margin-top: -9px;
	background: var(--nx-ink);
	-webkit-mask: var(--nx-arrow) center / contain no-repeat;
	mask: var(--nx-arrow) center / contain no-repeat;
	transition: transform 0.2s ease, background-color 0.2s ease;
}

.nx-contact__row.is-link:hover {
	color: var(--nx-petrol);
}

.nx-contact__row.is-link:hover::after {
	background: var(--nx-petrol);
	transform: translateX(4px);
}

.nx-contact__label {
	font-family: var(--nx-mono);
	font-size: 11px;
	line-height: 1.4;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--nx-slate);
}

.nx-contact__value {
	font-size: 21px;
	font-weight: 500;
	line-height: 1.3;
	letter-spacing: -0.02em;
	overflow-wrap: anywhere;
}

.nx-contact__row--hq {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 180px;
	gap: 24px;
	align-items: center;
}

.nx-contact__hq {
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.nx-contact__address {
	font-size: 17px;
	font-weight: 500;
	line-height: 1.5;
	color: var(--nx-ink);
}

.nx-contact__sep {
	display: none;
}

.nx-contact__map {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 1160 / 800;
}

/* Form */
.nx-form {
	display: flex;
	flex-direction: column;
	gap: 22px;
	padding: 44px 44px 40px;
	background: var(--nx-mist);
	scroll-margin-top: 120px;
}

.nx-form-wrap {
	scroll-margin-top: 120px;
}

.nx-form p {
	margin: 0;
}

.nx-form__head {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	gap: 16px;
}

.nx-form__title {
	font-size: 24px;
	font-weight: 500;
	letter-spacing: -0.02em;
	color: var(--nx-ink);
}

.nx-form__required {
	font-family: var(--nx-mono);
	font-size: 11px;
	letter-spacing: 0.06em;
	color: var(--nx-slate);
}

.nx-form__alert {
	padding: 14px 16px;
	border-left: 0;
	border-top: 2px solid #A33A2B;
	background: #FFFFFF;
	font-size: 14px;
	line-height: 1.5;
	color: #7A2A1F;
}

.nx-form__alert a {
	color: inherit;
}

.nx-form__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 18px 20px;
}

.nx-field {
	display: flex;
	flex-direction: column;
	gap: 8px;
	min-width: 0;
}

.nx-field--wide {
	grid-column: 1 / -1;
}

.nx-field label {
	font-family: var(--nx-mono);
	font-size: 11px;
	font-weight: 500;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--nx-ink);
}

.nx-field input,
.nx-field textarea {
	box-sizing: border-box;
	width: 100%;
	height: 50px;
	padding: 0 14px;
	border: 1px solid var(--nx-hairline-mist);
	border-radius: 2px;
	background: #FFFFFF;
	font-family: inherit;
	font-size: 16px;
	color: var(--nx-ink);
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.nx-field textarea {
	height: auto;
	min-height: 160px;
	padding: 14px;
	line-height: 1.5;
	resize: vertical;
}

.nx-field input:hover,
.nx-field textarea:hover {
	border-color: #A9BDBC;
}

.nx-field input:focus,
.nx-field textarea:focus {
	border-color: var(--nx-petrol);
	box-shadow: 0 0 0 3px rgba(30, 99, 105, 0.15);
	outline: none;
}

.nx-field.has-error input,
.nx-field.has-error textarea {
	border-color: #A33A2B;
}

.nx-field__error {
	font-size: 13px;
	line-height: 1.4;
	color: #A33A2B;
}

.nx-consent label {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	font-size: 13px;
	line-height: 1.55;
	color: var(--nx-slate);
	cursor: pointer;
}

.nx-consent input {
	flex: none;
	width: 18px;
	height: 18px;
	margin: 1px 0 0;
	accent-color: var(--nx-petrol);
}

.nx-consent a {
	color: var(--nx-petrol);
	text-decoration: underline;
	text-underline-offset: 3px;
}

.nx-consent .nx-field__error {
	margin-top: 8px;
	padding-left: 30px;
}

.nx-hp {
	position: absolute !important;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.nx-form__submit {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	align-self: flex-start;
	padding: 17px 28px;
	border: 0;
	border-radius: 2px;
	background: var(--nx-petrol);
	color: #FFFFFF;
	font-family: inherit;
	font-size: 15px;
	font-weight: 500;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	cursor: pointer;
	transition: background-color 0.2s ease;
}

.nx-form__submit::after {
	content: "";
	width: 16px;
	height: 16px;
	background: currentColor;
	-webkit-mask: var(--nx-arrow) center / contain no-repeat;
	mask: var(--nx-arrow) center / contain no-repeat;
	transition: transform 0.2s ease;
}

.nx-form__submit:hover,
.nx-form__submit:focus-visible {
	background: var(--nx-ink);
}

.nx-form__submit:hover::after {
	transform: translateX(3px);
}

.nx-form__submit.is-sending {
	opacity: 0.7;
	pointer-events: none;
}

.nx-form--sent {
	gap: 16px;
	outline: none;
}

.nx-form--sent .nx-form__title {
	display: flex;
	align-items: center;
	gap: 12px;
}

.nx-form--sent .nx-form__title::before {
	content: "";
	flex: none;
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: var(--nx-brass);
}

.nx-form--sent p:not(.nx-form__title) {
	font-size: 15px;
	line-height: 1.65;
	color: var(--nx-slate);
}

.nx-form--sent a:not(.nx-link-arrow) {
	color: var(--nx-petrol);
}

.nx-form--sent .nx-link-arrow {
	margin-top: 8px;
	align-self: flex-start;
}

@media (max-width: 1180px) and (min-width: 960px) {
	.nx-contact__grid {
		grid-template-columns: minmax(0, 1fr) 520px;
		gap: 56px;
	}

	.nx-form {
		padding: 36px 32px 32px;
	}

	.nx-contact__row--hq {
		grid-template-columns: minmax(0, 1fr) 140px;
	}
}

@media (max-width: 959px) {
	.nx-contact {
		padding: 44px var(--nx-gutter) 0;
	}

	.nx-contact .nx-wrap {
		gap: 20px;
	}

	.nx-contact__head {
		gap: 20px;
	}

	.nx-contact .is-style-eyebrow {
		gap: 12px;
		font-size: 11px;
	}

	.nx-contact .is-style-eyebrow::before {
		width: 28px;
	}

	.nx-contact__title {
		font-size: 44px;
	}

	.nx-contact__grid {
		display: flex;
		flex-direction: column;
		gap: 40px;
	}

	.nx-contact__info {
		gap: 20px;
	}

	.nx-contact__info > .nx-contact__lead {
		font-size: 17px;
	}

	.nx-contact__list {
		margin-top: 8px;
	}

	.nx-contact__row {
		gap: 4px;
		padding: 16px 0;
	}

	.nx-contact__row.is-link {
		padding-right: 0;
	}

	.nx-contact__row.is-link::after {
		display: none;
	}

	.nx-contact__label {
		font-size: 10px;
	}

	.nx-contact__value {
		font-size: 19px;
		letter-spacing: -0.015em;
	}

	.nx-contact__row.is-link:nth-child(2) .nx-contact__value {
		font-size: 18px;
	}

	.nx-contact__row--hq {
		display: block;
	}

	.nx-contact__address {
		font-size: 16px;
	}

	.nx-contact__company,
	.nx-contact__br,
	.nx-contact__map {
		display: none;
	}

	.nx-contact__sep {
		display: inline;
	}

	.nx-form-wrap {
		margin-inline: calc(-1 * var(--nx-gutter));
	}

	.nx-form {
		gap: 18px;
		padding: 40px var(--nx-gutter) 48px;
	}

	.nx-form__title {
		font-size: 22px;
	}

	.nx-form__required {
		font-size: 10px;
	}

	.nx-form__grid {
		display: flex;
		flex-direction: column;
		gap: 18px;
	}

	.nx-field textarea {
		min-height: 136px;
	}

	.nx-consent input {
		width: 20px;
		height: 20px;
		margin-top: 0;
	}

	.nx-form__submit {
		justify-content: space-between;
		align-self: stretch;
		padding: 17px 22px;
	}
}

/* ==========================================================================
   Legal pages
   ========================================================================== */

.nx-legalpage {
	padding: 72px var(--nx-gutter) var(--nx-section);
}

.nx-legalpage .nx-wrap {
	display: grid;
	grid-template-columns: 340px minmax(0, 760px);
	gap: 64px;
	align-items: start;
}

.nx-legalpage__head {
	position: sticky;
	top: 140px;
	display: flex;
	flex-direction: column;
	gap: 24px;
}

.nx-legalpage__head h1 {
	margin: 0;
	font-size: clamp(38px, 4vw, 52px);
	line-height: 1.04;
	letter-spacing: -0.035em;
}

.nx-legalpage__updated {
	margin: 0;
	font-family: var(--nx-mono);
	font-size: 12px;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--nx-slate);
}

.nx-legalpage__nav {
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin-top: 16px;
	padding-top: 24px;
	border-top: 1px solid var(--nx-hairline);
}

.nx-legalpage__nav a {
	font-size: 15px;
	color: var(--nx-slate);
	text-decoration: none;
}

.nx-legalpage__nav a:hover {
	color: var(--nx-petrol);
}

.nx-legalpage__nav a[aria-current="page"] {
	color: var(--nx-petrol);
	font-weight: 500;
}

.nx-legal-text {
	font-size: 16px;
	line-height: 1.7;
	color: var(--nx-slate);
}

.nx-legal-text > * {
	margin: 0;
}

.nx-legal-text > * + * {
	margin-top: 16px;
}

.nx-legal-text > .nx-legal-intro {
	font-size: 19px;
	line-height: 1.6;
	color: var(--nx-ink);
}

.nx-legal-text h2 {
	margin-top: 48px;
	padding-top: 28px;
	border-top: 1px solid var(--nx-hairline);
	font-size: 22px;
	line-height: 1.25;
	letter-spacing: -0.02em;
}

.nx-legal-text ul {
	padding-left: 0;
	list-style: none;
}

.nx-legal-text li {
	position: relative;
	padding-left: 22px;
}

.nx-legal-text li + li {
	margin-top: 8px;
}

.nx-legal-text li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.72em;
	width: 6px;
	height: 6px;
	background: var(--nx-brass);
}

.nx-legal-text strong {
	font-weight: 500;
	color: var(--nx-ink);
}

.nx-legal-text a {
	color: var(--nx-petrol);
	text-underline-offset: 3px;
}

.nx-legal-text table {
	width: 100%;
	border-collapse: collapse;
	font-size: 14px;
	line-height: 1.5;
}

.nx-legal-text th,
.nx-legal-text td {
	padding: 12px 16px 12px 0;
	border-bottom: 1px solid var(--nx-hairline);
	text-align: left;
	vertical-align: top;
}

.nx-legal-text th {
	font-family: var(--nx-mono);
	font-size: 11px;
	font-weight: 500;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--nx-ink);
	border-bottom-color: var(--nx-ink);
}

.nx-legal-text td:first-child {
	color: var(--nx-ink);
}

.nx-legal-text code {
	font-family: var(--nx-mono);
	font-size: 13px;
	overflow-wrap: anywhere;
}

.nx-legal-text address {
	font-style: normal;
	color: var(--nx-ink);
}

@media (max-width: 959px) {
	.nx-legalpage {
		padding-top: 44px;
	}

	.nx-legalpage .nx-wrap {
		display: flex;
		flex-direction: column;
		gap: 40px;
	}

	.nx-legalpage__head {
		position: static;
		gap: 20px;
	}

	.nx-legalpage .is-style-eyebrow {
		gap: 12px;
		font-size: 11px;
	}

	.nx-legalpage .is-style-eyebrow::before {
		width: 28px;
	}

	.nx-legalpage__head h1 {
		font-size: 38px;
	}

	.nx-legalpage__nav {
		flex-direction: row;
		flex-wrap: wrap;
		gap: 8px 20px;
		margin-top: 4px;
		padding-top: 16px;
	}

	.nx-legalpage__nav a {
		font-size: 14px;
	}

	.nx-legal-text {
		font-size: 15px;
	}

	.nx-legal-text > .nx-legal-intro {
		font-size: 17px;
	}

	.nx-legal-text h2 {
		margin-top: 40px;
		padding-top: 24px;
		font-size: 20px;
	}

	.nx-legal-text table,
	.nx-legal-text thead,
	.nx-legal-text tbody,
	.nx-legal-text tr,
	.nx-legal-text td {
		display: block;
	}

	.nx-legal-text thead {
		display: none;
	}

	.nx-legal-text tr {
		padding: 12px 0;
		border-bottom: 1px solid var(--nx-hairline);
	}

	.nx-legal-text td {
		padding: 2px 0;
		border: 0;
	}

	.nx-legal-text td::before {
		content: attr(data-label) ": ";
		font-family: var(--nx-mono);
		font-size: 11px;
		letter-spacing: 0.06em;
		text-transform: uppercase;
		color: var(--nx-slate);
	}

	.nx-legal-text td:first-child::before {
		content: none;
	}
}

/* ==========================================================================
   Templates
   ========================================================================== */

.nx-legal,
.nx-404 {
	padding-top: clamp(48px, 5.6vw, 72px);
	padding-bottom: var(--nx-section);
}

.nx-legal__head > * + * {
	margin-block-start: 28px;
}

.nx-legal__body {
	margin-block-start: clamp(40px, 5vw, 64px);
	color: var(--nx-slate);
}

.nx-legal__body :where(h2) {
	margin-block-start: 64px;
	font-size: clamp(26px, 2.5vw, 32px);
	letter-spacing: -0.025em;
}

.nx-legal__body :where(h3) {
	margin-block-start: 40px;
	font-size: 20px;
	letter-spacing: -0.015em;
}

.nx-legal__body :where(strong) {
	color: var(--nx-ink);
	font-weight: 500;
}

.nx-legal__body table {
	font-size: 15px;
	border-collapse: collapse;
}

.nx-legal__body :where(th, td) {
	padding: 12px 16px 12px 0;
	border: 0;
	border-bottom: 1px solid var(--nx-hairline);
	text-align: left;
	vertical-align: top;
}

.nx-legal__body :where(th) {
	font-family: var(--nx-mono);
	font-size: 12px;
	font-weight: 400;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--nx-ink);
}

.nx-404__text {
	max-width: 560px;
	font-size: var(--wp--preset--font-size--lead);
	color: var(--nx-slate);
}

/* ==========================================================================
   Motion preferences
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		animation-delay: 0s !important;
		transition-duration: 0.01ms !important;
	}

	.nx-map__pulse {
		display: none;
	}
}
