/*
 * NGMG design system.
 * Flat, square, hairline-ruled. One brand colour (#1D5937). No shadows, no gradients, no radius.
 * Desktop values follow the approved 1440px designs; tablet/mobile are derived (stacked grids, same rules).
 * Loaded on the front end and in the block/site editor (add_editor_style).
 */

:root {
	--ngmg-green: var(--wp--preset--color--brand-green, #1D5937);
	--ngmg-forest: var(--wp--preset--color--deep-forest, #14251C);
	--ngmg-charcoal: var(--wp--preset--color--charcoal, #292929);
	--ngmg-ink: var(--wp--preset--color--ink, #141414);
	--ngmg-off: var(--wp--preset--color--off-white, #F7F7F7);
	--ngmg-white: var(--wp--preset--color--base, #FFFFFF);
	--ngmg-g: clamp(20px, 3.9vw, 56px);
	--ngmg-sec: clamp(56px, 6.2vw, 88px);
	--ngmg-sec-s: clamp(52px, 5.6vw, 80px);
	--ngmg-rule: 1px solid var(--ngmg-charcoal);
	--ngmg-rule-soft: 1px solid rgba(41, 41, 41, .28);
	--ngmg-rule-dark: 1px solid rgba(255, 255, 255, .22);
}

body {
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	overflow-x: clip;
}

*,
*::before,
*::after {
	box-sizing: border-box;
	border-radius: 0 !important;
	box-shadow: none !important;
}

@media (prefers-reduced-motion: no-preference) {
	html { scroll-behavior: smooth; }
}

:target { scroll-margin-top: 100px; }

.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	width: 1px;
	word-wrap: normal !important;
}

:where(a, button, input, select, textarea, summary):focus-visible {
	outline: 2px solid var(--ngmg-green);
	outline-offset: 3px;
}

:where(.ngmg-quote-band, .ngmg-footer, .ngmg-route) :where(a, button):focus-visible {
	outline-color: var(--ngmg-white);
}

/* Full-width sections: no auto margins/max-width from layout rules. */
.alignfull[class*="ngmg-"] { max-width: none !important; width: auto; margin-left: 0 !important; margin-right: 0 !important; }
.ngmg-page-content.is-layout-constrained > .alignfull + .alignfull,
.ngmg-page-content > .alignfull + .alignfull { margin-block-start: 0 !important; }

/* Reset flow spacing inside NGMG sections; spacing is set explicitly below. */
.wp-block-group[class*="ngmg-"] > *,
.wp-block-cover[class*="ngmg-"] > .wp-block-cover__inner-container > *,
.ngmg-page-content > * {
	margin-block-start: 0;
	margin-block-end: 0;
}

.ngmg-main { margin: 0; }

.wp-block-cover[class*="ngmg-"] {
	padding: 0;
	margin: 0;
}

.wp-block-cover[class*="ngmg-"] .wp-block-cover__image-background {
	object-fit: cover;
}

/* ---------------------------------------------------------------- Type helpers */

.is-style-eyebrow,
.is-style-eyebrow-light {
	display: flex;
	align-items: center;
	gap: 12px;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .18em;
	line-height: 1.4;
	text-transform: uppercase;
	color: var(--ngmg-green);
}

.is-style-eyebrow::before,
.is-style-eyebrow-light::before {
	content: "";
	display: block;
	flex: 0 0 28px;
	width: 28px;
	height: 2px;
	background: currentColor;
}

.is-style-eyebrow-light { color: rgba(255, 255, 255, .7); }
.is-style-eyebrow-light::before { background: var(--ngmg-white); }

.is-style-kicker {
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .18em;
	line-height: 1.4;
	text-transform: uppercase;
	color: var(--ngmg-green);
}

.is-style-index {
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .08em;
	line-height: 1.5;
	color: var(--ngmg-green);
}

.is-style-tag {
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--ngmg-charcoal);
	opacity: .6;
	text-align: right;
}

.is-style-note {
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .14em;
	line-height: 1.5;
	text-transform: uppercase;
	color: var(--ngmg-green);
}

.is-style-badge {
	display: block;
	width: fit-content;
	background: var(--ngmg-green);
	color: var(--ngmg-white);
	font-size: 10px;
	font-weight: 700;
	letter-spacing: .16em;
	line-height: 1.3;
	text-transform: uppercase;
	padding: 6px 10px;
}

.is-style-chip,
.is-style-chip-green {
	display: inline-block;
	width: fit-content;
	background: var(--ngmg-forest);
	color: var(--ngmg-white);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .16em;
	line-height: 1.3;
	text-transform: uppercase;
	padding: 10px 16px;
}

.is-style-chip-green { background: var(--ngmg-green); }

.is-style-lead {
	font-size: clamp(17px, 1.32vw, 19px);
	line-height: 1.55;
	max-width: 36ch;
}

.ngmg-display {
	font-size: clamp(40px, 4.86vw, 70px);
	font-weight: 800;
	line-height: 1.02;
	letter-spacing: -.03em;
	color: var(--ngmg-ink);
	text-wrap: balance;
}

.ngmg-display--domestic { font-size: clamp(38px, 4.31vw, 62px); line-height: 1.03; }
.ngmg-display--commercial { font-size: clamp(38px, 4.17vw, 60px); line-height: 1.03; }
.ngmg-display--page { font-size: clamp(38px, 3.9vw, 56px); line-height: 1.03; max-width: 18ch; }

.ngmg-h2-small,
h2.ngmg-h2-small {
	font-size: clamp(26px, 2.36vw, 34px);
	font-weight: 800;
	letter-spacing: -.02em;
	line-height: 1.1;
	color: var(--ngmg-ink);
}

/* ---------------------------------------------------------------- Buttons */

.wp-block-button .wp-block-button__link,
.ngmg-contact-link.wp-block-button .wp-block-button__link {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	height: 100%;
	border-radius: 0;
	font-size: 15px;
	font-weight: 700;
	letter-spacing: .02em;
	line-height: 1.2;
	text-decoration: none;
	white-space: nowrap;
	transition: none;
}

.wp-block-button:not(.is-style-outline):not(.is-style-text-link) .wp-block-button__link {
	background: var(--ngmg-green);
	border: 1px solid var(--ngmg-green);
	color: var(--ngmg-white);
	padding: 20px 34px;
}

.wp-block-button:not(.is-style-outline):not(.is-style-text-link) .wp-block-button__link:hover,
.wp-block-button:not(.is-style-outline):not(.is-style-text-link) .wp-block-button__link:focus-visible {
	background: var(--ngmg-forest);
	border-color: var(--ngmg-forest);
	color: var(--ngmg-white);
}

.wp-block-button.is-style-arrow .wp-block-button__link::after {
	content: "→";
	margin-left: 7px;
	font-weight: 700;
}

.wp-block-button.is-style-outline .wp-block-button__link,
.ngmg-contact-link.is-style-outline .wp-block-button__link {
	background: transparent;
	border: 1px solid var(--ngmg-charcoal);
	color: var(--ngmg-charcoal);
	padding: 20px 30px;
}

.wp-block-button.is-style-outline .wp-block-button__link:hover,
.ngmg-contact-link.is-style-outline .wp-block-button__link:hover {
	background: var(--ngmg-off);
	color: var(--ngmg-charcoal);
}

.wp-block-button.is-style-text-link .wp-block-button__link {
	background: none;
	border: 0;
	border-bottom: 1px solid var(--ngmg-green);
	color: var(--ngmg-green);
	padding: 0 0 4px;
	font-size: 14px;
	gap: 10px;
	letter-spacing: 0;
}

.wp-block-button.is-style-text-link .wp-block-button__link::after {
	content: "→";
	margin-left: 3px;
}

.wp-block-button.is-style-text-link .wp-block-button__link:hover {
	color: var(--ngmg-forest);
	border-color: var(--ngmg-forest);
}

.ngmg-actions {
	gap: 16px;
	align-items: stretch;
}

.ngmg-actions > .wp-block-buttons,
.ngmg-actions > .wp-block-button {
	display: flex;
	margin: 0;
}

/* ---------------------------------------------------------------- Header */

.ngmg-site-header {
	position: sticky;
	top: 0;
	z-index: 50;
	background: var(--ngmg-white);
	border-bottom: var(--ngmg-rule);
}

.admin-bar .ngmg-site-header { top: var(--wp-admin--admin-bar--height, 32px); }

@media (max-width: 600px) {
	.admin-bar .ngmg-site-header { top: 0; }
}

.ngmg-header {
	display: grid;
	grid-template-columns: 260px 1fr auto;
	align-items: center;
	gap: 40px;
	height: 84px;
	padding: 0 var(--ngmg-g);
}

.ngmg-header > .wp-block-image,
.ngmg-logo { margin: 0; }

.ngmg-logo a { display: inline-flex; }

.ngmg-logo img,
.ngmg-logo .components-resizable-box__container {
	display: block;
	height: 34px !important;
	width: auto !important;
	max-width: none;
	aspect-ratio: 1924 / 351;
}

.ngmg-nav {
	font-size: 14px;
	font-weight: 600;
	letter-spacing: .01em;
	white-space: nowrap;
}

.ngmg-nav .wp-block-navigation__container { gap: 26px; }

.ngmg-nav .wp-block-navigation-item__content { color: var(--ngmg-charcoal); padding: 0; }

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

.ngmg-nav .ngmg-nav-route .wp-block-navigation-item__content {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: var(--ngmg-green);
	border-bottom: 2px solid transparent;
	padding: 2px 0;
}

.ngmg-nav .ngmg-nav-route .wp-block-navigation-item__content::before {
	content: "";
	display: block;
	width: 7px;
	height: 7px;
	background: var(--ngmg-green);
}

.ngmg-nav .ngmg-nav-route.current-menu-item .wp-block-navigation-item__content,
.ngmg-nav .ngmg-nav-route .wp-block-navigation-item__content[aria-current="page"] {
	border-bottom-color: var(--ngmg-green);
}

.ngmg-nav .current-menu-item:not(.ngmg-nav-route) .wp-block-navigation-item__content { color: var(--ngmg-green); }

.ngmg-nav .ngmg-nav-first { position: relative; margin-left: 27px; }

.ngmg-nav .ngmg-nav-first::before {
	content: "";
	position: absolute;
	left: -27px;
	top: 50%;
	width: 1px;
	height: 22px;
	margin-top: -11px;
	background: var(--ngmg-charcoal);
	opacity: .25;
}

.ngmg-nav .ngmg-nav-quote { display: none; }

.ngmg-header__actions { gap: 24px; justify-content: flex-end; }

.ngmg-header__phone,
.ngmg-header__phone a {
	font-size: 15px;
	font-weight: 700;
	letter-spacing: .01em;
	color: var(--ngmg-charcoal);
	white-space: nowrap;
}

.ngmg-header__phone a:hover { color: var(--ngmg-green); }

.ngmg-header__cta { margin: 0; }

.ngmg-header__cta .wp-block-button .wp-block-button__link {
	padding: 14px 24px;
	font-size: 14px;
}

/* Overlay menu (opened by the menu button on narrower screens). */
.ngmg-nav .wp-block-navigation__responsive-container-open,
.ngmg-nav .wp-block-navigation__responsive-container-close {
	color: var(--ngmg-charcoal);
}

.ngmg-nav .wp-block-navigation__responsive-container.is-menu-open {
	padding: 24px var(--ngmg-g) 40px;
	background: var(--ngmg-white);
	color: var(--ngmg-charcoal);
}

.ngmg-nav .is-menu-open .wp-block-navigation__responsive-container-content {
	padding-top: 72px;
}

.ngmg-nav .is-menu-open .wp-block-navigation__container {
	gap: 0 !important;
	width: 100%;
	align-items: stretch !important;
}

.ngmg-nav .is-menu-open .wp-block-navigation-item {
	width: 100%;
	margin: 0;
	border-bottom: var(--ngmg-rule-soft);
	font-size: 22px;
	font-weight: 700;
	letter-spacing: -.01em;
}

.ngmg-nav .is-menu-open .wp-block-navigation-item__content { padding: 16px 0 !important; width: 100%; }

.ngmg-nav .is-menu-open .ngmg-nav-first { margin-left: 0; }
.ngmg-nav .is-menu-open .ngmg-nav-first::before { display: none; }
.ngmg-nav .is-menu-open .ngmg-nav-quote { display: block; }
.ngmg-nav .is-menu-open .ngmg-nav-quote .wp-block-navigation-item__content { color: var(--ngmg-green); }

@media (max-width: 1279px) {
	.ngmg-header { grid-template-columns: auto 1fr auto; gap: 28px; }
	.ngmg-nav .wp-block-navigation__container { gap: 20px; }
	.ngmg-nav .ngmg-nav-first { margin-left: 21px; }
	.ngmg-nav .ngmg-nav-first::before { left: -21px; }
	.ngmg-header__actions { gap: 18px; }
}

/* Collapse the full menu into the overlay below 1200px (the full row needs ~1200px). */
@media (max-width: 1199px) {
	.ngmg-header { grid-template-columns: auto 1fr auto; gap: 16px; }
	.ngmg-header .ngmg-nav { order: 3; justify-content: flex-end; }
	.ngmg-header .ngmg-header__actions { order: 2; }
	.ngmg-nav .wp-block-navigation__responsive-container-open:not(.always-shown) { display: flex !important; }
	.ngmg-nav .wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open) { display: none !important; }
	.ngmg-nav .wp-block-navigation__responsive-container.is-menu-open { display: flex !important; }
	.ngmg-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-close { display: flex !important; }
}

@media (max-width: 600px) {
	.ngmg-header { height: 68px; gap: 12px; }
	.ngmg-logo img { height: 26px !important; }
	.ngmg-header__phone { display: none; }
	.ngmg-header__cta .wp-block-button .wp-block-button__link { padding: 11px 14px; font-size: 13px; }
}

@media (max-width: 380px) {
	.ngmg-logo img { height: 22px !important; }
}

/* ---------------------------------------------------------------- Breadcrumb */

.ngmg-breadcrumb {
	border-bottom: var(--ngmg-rule);
	padding: 14px var(--ngmg-g);
	font-size: 12px;
	font-weight: 600;
	letter-spacing: .06em;
	color: rgba(41, 41, 41, .55);
}

.ngmg-breadcrumb a { color: rgba(41, 41, 41, .75); }
.ngmg-breadcrumb a:hover { color: var(--ngmg-green); }
.ngmg-breadcrumb mark { color: var(--ngmg-green); background: none; }

/* ---------------------------------------------------------------- Hero */

.ngmg-hero {
	display: grid;
	grid-template-columns: minmax(560px, 42%) 1fr;
	border-bottom: var(--ngmg-rule);
}

.ngmg-hero--domestic { grid-template-columns: minmax(560px, 44%) 1fr; }
.ngmg-hero--commercial { grid-template-columns: minmax(560px, 46%) 1fr; }
.ngmg-hero--page { grid-template-columns: minmax(520px, 50%) 1fr; }
.ngmg-hero--noimage { grid-template-columns: 1fr; }

.ngmg-hero__text {
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: 96px 64px 80px var(--ngmg-g);
	border-right: var(--ngmg-rule);
}

.ngmg-hero--domestic .ngmg-hero__text,
.ngmg-hero--commercial .ngmg-hero__text,
.ngmg-hero--page .ngmg-hero__text { padding-top: 88px; }

.ngmg-hero--noimage .ngmg-hero__text { border-right: 0; padding-bottom: 72px; }

.ngmg-hero .ngmg-display { margin-top: 28px; }

.ngmg-hero .is-style-lead { margin-top: 32px; }
.ngmg-hero--domestic .is-style-lead { margin-top: 30px; max-width: 40ch; }
.ngmg-hero--commercial .is-style-lead { margin-top: 30px; max-width: 42ch; }
.ngmg-hero--page .is-style-lead { margin-top: 28px; max-width: 52ch; }

.ngmg-hero .ngmg-actions { margin-top: 44px; }
.ngmg-hero--domestic .ngmg-actions,
.ngmg-hero--commercial .ngmg-actions { margin-top: 42px; }

.ngmg-hero .ngmg-trust {
	list-style: none;
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	margin-top: 64px;
	padding: 0;
	border-top: var(--ngmg-rule);
}

.ngmg-hero--commercial .ngmg-trust { margin-top: 60px; }

.ngmg-trust li {
	margin: 0;
	padding: 20px 20px 0 24px;
	border-right: 1px solid rgba(41, 41, 41, .25);
	font-size: 13px;
	font-weight: 600;
	line-height: 1.4;
}

.ngmg-trust li:first-child { padding-left: 0; }
.ngmg-trust li:last-child { border-right: 0; padding-right: 0; }

.ngmg-hero__media { align-self: stretch; }

.ngmg-caption.is-style-chip {
	font-size: 12px;
	font-weight: 600;
	letter-spacing: .1em;
	padding: 18px 26px;
}

/* ---------------------------------------------------------------- Two routes */

.ngmg-routes {
	display: grid;
	grid-template-columns: 1fr 1fr;
	border-bottom: var(--ngmg-rule);
}

.ngmg-route {
	align-items: stretch !important;
	color: var(--ngmg-white);
}

.ngmg-routes > .ngmg-route:first-child { border-right: var(--ngmg-rule); }

.ngmg-route:hover { opacity: .94; }

.ngmg-route:focus-within { outline: 2px solid var(--ngmg-white); outline-offset: -8px; }

.ngmg-route .wp-block-cover__background.has-background-dim-60 { opacity: .62; }

.ngmg-route > .wp-block-cover__inner-container {
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	width: 100%;
	padding: var(--ngmg-g);
	color: var(--ngmg-white);
}

.ngmg-route .is-style-kicker { color: var(--ngmg-white); opacity: .75; }

.ngmg-route .ngmg-route__title {
	margin-top: 16px;
	font-size: clamp(32px, 3.2vw, 46px);
	font-weight: 800;
	letter-spacing: -.02em;
	line-height: 1.05;
	color: var(--ngmg-white);
}

.ngmg-route .ngmg-route__title + p {
	margin-top: 14px;
	font-size: 17px;
	line-height: 1.5;
	max-width: 34ch;
	opacity: .86;
}

.ngmg-route .ngmg-route__link {
	margin-top: 32px;
	padding-top: 22px;
	border-top: var(--ngmg-rule-dark);
	font-size: 14px;
	font-weight: 700;
}

.ngmg-route .ngmg-route__link a { color: var(--ngmg-white); }
.ngmg-route .ngmg-route__link a::after { content: "→"; margin-left: 12px; }
.ngmg-route .ngmg-route__link a::before { content: ""; position: absolute; inset: 0; z-index: 2; }
.ngmg-route .ngmg-route__link a:focus-visible { outline: none; }

/* ---------------------------------------------------------------- Split (sticky intro + rows) */

.ngmg-split {
	display: grid;
	grid-template-columns: minmax(320px, 30%) 1fr;
	border-bottom: var(--ngmg-rule);
}

.ngmg-split__intro {
	padding: var(--ngmg-sec) 48px var(--ngmg-sec) var(--ngmg-g);
	border-right: var(--ngmg-rule);
}

.ngmg-sticky { position: sticky; top: 132px; }

.ngmg-split .ngmg-sticky h2 {
	margin-top: 24px;
	font-size: clamp(32px, 3.05vw, 44px);
	font-weight: 800;
	letter-spacing: -.025em;
	line-height: 1.05;
}

.ngmg-split--domestic .ngmg-sticky h2,
.ngmg-split--commercial .ngmg-sticky h2 { font-size: clamp(32px, 2.92vw, 42px); }

.ngmg-split .ngmg-sticky h2 + p { margin-top: 22px; font-size: 16px; line-height: 1.6; max-width: 32ch; }

.ngmg-sticky .wp-block-buttons { margin-top: 28px; }

.ngmg-split__body { padding: var(--ngmg-sec) var(--ngmg-g) var(--ngmg-sec) 0; }

.ngmg-rows { border-top: var(--ngmg-rule); }

.ngmg-row {
	display: grid;
	grid-template-columns: 56px 1fr 1.1fr 130px;
	align-items: baseline;
	gap: 24px;
	padding: 26px 0 26px 48px;
	border-bottom: var(--ngmg-rule-soft);
}

.ngmg-row:hover { background: var(--ngmg-off); }

.ngmg-row h3 {
	font-size: clamp(19px, 1.53vw, 22px);
	font-weight: 700;
	letter-spacing: -.01em;
	line-height: 1.25;
	color: var(--ngmg-ink);
}

.ngmg-row > p:not([class*="is-style"]) { font-size: 15px; line-height: 1.5; }

.ngmg-rows--noted .ngmg-row {
	grid-template-columns: 56px 1fr 1.2fr;
	align-items: start;
	padding: 30px 0 30px 48px;
}

.ngmg-rows--noted .ngmg-row h3 { font-size: clamp(19px, 1.6vw, 23px); }
.ngmg-rows--noted .ngmg-row > p:not([class*="is-style"]) { line-height: 1.6; }
.ngmg-row__title > * + * { margin-top: 12px !important; }

.ngmg-rows--steps .ngmg-row {
	grid-template-columns: 56px 1fr 1.4fr;
	padding: 24px 0;
}

.ngmg-rows--steps .ngmg-row:hover { background: none; }
.ngmg-rows--steps .ngmg-row h3 { font-size: 19px; }
.ngmg-rows--steps .ngmg-row > p:not([class*="is-style"]) { line-height: 1.55; }

/* ---------------------------------------------------------------- Bands with ruled cells */

.ngmg-band {
	background: var(--ngmg-off);
	border-bottom: var(--ngmg-rule);
	padding: var(--ngmg-sec-s) var(--ngmg-g);
}

.ngmg-band__head {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 24px;
	margin-bottom: 44px !important;
}

.ngmg-cells {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	border-top: var(--ngmg-rule);
	border-left: var(--ngmg-rule-soft);
}

.ngmg-cells--5 { grid-template-columns: repeat(5, 1fr); }
.ngmg-cells--3 { grid-template-columns: repeat(3, 1fr); }

.ngmg-cell {
	padding: 34px 30px 40px;
	border-right: var(--ngmg-rule-soft);
	border-bottom: var(--ngmg-rule-soft);
}

.ngmg-cell h3 {
	margin: 20px 0 12px !important;
	font-size: 20px;
	font-weight: 700;
	letter-spacing: -.01em;
	line-height: 1.25;
	color: var(--ngmg-ink);
}

.ngmg-cell p:not([class*="is-style"]) { font-size: 15px; line-height: 1.55; }

.ngmg-cells--5 .ngmg-cell { padding: 30px 26px 36px; }
.ngmg-cells--5 .ngmg-cell h3 { margin: 18px 0 10px !important; font-size: 18px; line-height: 1.2; }
.ngmg-cells--5 .ngmg-cell p:not([class*="is-style"]) { font-size: 14px; }

/* ---------------------------------------------------------------- Section head + photo strips */

.ngmg-work { border-bottom: var(--ngmg-rule); }

.ngmg-section-head {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 24px;
	padding: var(--ngmg-sec-s) var(--ngmg-g) 36px;
}

.ngmg-section-head h2 {
	margin-top: 22px !important;
	font-size: clamp(32px, 3.05vw, 44px);
	font-weight: 800;
	letter-spacing: -.025em;
	line-height: 1.05;
	max-width: 18ch;
}

.ngmg-strip {
	display: grid;
	grid-template-columns: 1.4fr 1fr 1fr;
	gap: 1px;
	background: var(--ngmg-charcoal);
	border-top: var(--ngmg-rule);
}

.ngmg-strip--domestic { grid-template-columns: 1fr 1fr 1.4fr; }

.ngmg-strip__item {
	min-height: 420px !important;
	align-items: flex-start !important;
	justify-content: flex-start !important;
	background: var(--ngmg-white);
}

.ngmg-strip--domestic .ngmg-strip__item { min-height: 400px !important; }

.ngmg-strip__item > .wp-block-cover__inner-container { width: auto !important; margin: 0 !important; }

/* ---------------------------------------------------------------- Areas */

.ngmg-areas {
	display: grid;
	grid-template-columns: 1fr minmax(420px, 38%);
	border-bottom: var(--ngmg-rule);
}

.ngmg-areas__text {
	padding: var(--ngmg-sec-s) var(--ngmg-g);
	border-right: var(--ngmg-rule);
}

.ngmg-areas__text h2 {
	margin: 22px 0 36px !important;
	font-size: clamp(30px, 2.78vw, 40px);
	font-weight: 800;
	letter-spacing: -.025em;
	line-height: 1.05;
}

ul.is-style-ruled-grid,
.ngmg-area-list {
	list-style: none;
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	margin: 0;
	padding: 0;
	border-top: var(--ngmg-rule);
	border-left: var(--ngmg-rule-soft);
}

ul.is-style-ruled-grid li {
	margin: 0;
	padding: 16px 18px;
	border-right: var(--ngmg-rule-soft);
	border-bottom: var(--ngmg-rule-soft);
	font-size: 15px;
	font-weight: 600;
}

.ngmg-areas__text .ngmg-contact-link { margin-top: 28px !important; font-size: 16px; font-weight: 500; }

.ngmg-contact-link.is-inline a { border-bottom: 1px solid var(--ngmg-green); }

/* ---------------------------------------------------------------- Reviews */

.ngmg-reviews {
	padding: var(--ngmg-sec-s) var(--ngmg-g);
	border-bottom: var(--ngmg-rule);
}

.ngmg-reviews__grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	border-top: var(--ngmg-rule);
}

.ngmg-review {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	min-height: 260px;
	padding: 36px 40px 36px 0;
	border-right: var(--ngmg-rule-soft);
}

.ngmg-review + .ngmg-review { padding-left: 40px; }
.ngmg-review:last-child { border-right: 0; padding-right: 0; }

.ngmg-review__quote {
	font-size: clamp(17px, 1.32vw, 19px);
	font-weight: 500;
	line-height: 1.5;
	color: var(--ngmg-ink);
}

.ngmg-review__meta {
	margin-top: 32px !important;
	padding-top: 18px;
	border-top: var(--ngmg-rule-soft);
}

.ngmg-review__name { font-size: 14px; font-weight: 700; }
.ngmg-review__area { margin-top: 4px !important; font-size: 13px; font-weight: 500; color: var(--ngmg-green); }

.ngmg-band__head .ngmg-contact-link { font-size: 14px; }

/* ---------------------------------------------------------------- Quote band */

.ngmg-quote-band {
	display: grid;
	grid-template-columns: minmax(520px, 52%) 1fr;
	background: var(--ngmg-forest);
	color: var(--ngmg-white);
	border-bottom: var(--ngmg-rule-dark);
}

.ngmg-quote-band__text {
	padding: var(--ngmg-sec) var(--ngmg-g);
	border-right: var(--ngmg-rule-dark);
}

.ngmg-quote-band h2 {
	margin-top: 26px !important;
	font-size: clamp(34px, 3.5vw, 50px);
	font-weight: 800;
	letter-spacing: -.03em;
	line-height: 1.05;
	color: var(--ngmg-white);
	max-width: 20ch;
}

.ngmg-page-home .ngmg-quote-band h2 { font-size: clamp(34px, 3.61vw, 52px); }

.ngmg-quote-band__sub {
	margin-top: 24px !important;
	font-size: 17px;
	line-height: 1.55;
	max-width: 46ch;
	color: rgba(255, 255, 255, .8);
}

.ngmg-quote-band__sub strong { color: var(--ngmg-white); font-weight: 700; }

.ngmg-quote-band .ngmg-actions { margin-top: 44px !important; }

.ngmg-quote-band .wp-block-button:not(.is-style-outline):not(.is-style-text-link) .wp-block-button__link { padding: 20px 32px; }

.ngmg-quote-band .wp-block-button:not(.is-style-outline):not(.is-style-text-link) .wp-block-button__link:hover {
	background: var(--ngmg-white);
	border-color: var(--ngmg-white);
	color: var(--ngmg-forest);
}

.ngmg-quote-band .is-style-outline .wp-block-button__link {
	border-color: rgba(255, 255, 255, .4) !important;
	color: var(--ngmg-white) !important;
}

.ngmg-quote-band .is-style-outline .wp-block-button__link:hover {
	background: rgba(255, 255, 255, .08) !important;
}

.ngmg-quote-band .wp-block-cover__background.has-background-dim-40 { opacity: .35; }

/* ---------------------------------------------------------------- Domestic: hedge callout */

.ngmg-callout-wrap {
	background: var(--ngmg-off);
	border-bottom: var(--ngmg-rule);
	padding: var(--ngmg-sec-s) var(--ngmg-g);
}

.ngmg-callout {
	display: grid;
	grid-template-columns: 1fr minmax(420px, 40%);
	border: var(--ngmg-rule);
	background: var(--ngmg-white);
}

.ngmg-callout__text {
	padding: 52px 56px;
	border-right: var(--ngmg-rule);
}

.ngmg-callout__text h2 {
	margin-top: 22px !important;
	font-size: clamp(28px, 2.5vw, 36px);
	font-weight: 800;
	letter-spacing: -.025em;
	line-height: 1.08;
	max-width: 24ch;
}

.ngmg-callout__text h2 + p { margin-top: 24px !important; }
.ngmg-callout__text p:not([class*="is-style"]):not([class*="ngmg-"]) { font-size: 17px; line-height: 1.6; max-width: 56ch; }
.ngmg-callout__text p:not([class*="is-style"]):not([class*="ngmg-"]) + p:not([class*="is-style"]):not([class*="ngmg-"]) { margin-top: 18px !important; }

.ngmg-callout__foot {
	margin-top: 34px !important;
	padding-top: 22px;
	border-top: var(--ngmg-rule-soft);
	font-size: 13px;
	font-weight: 600;
	letter-spacing: .04em;
	color: rgba(41, 41, 41, .75);
}

/* ---------------------------------------------------------------- Commercial: contract */

.ngmg-contract {
	display: grid;
	grid-template-columns: 1fr minmax(460px, 42%);
	border-bottom: var(--ngmg-rule);
}

.ngmg-contract__text { padding: var(--ngmg-sec-s) var(--ngmg-g); }

.ngmg-contract__text h2 {
	margin: 22px 0 40px !important;
	font-size: clamp(30px, 2.92vw, 42px);
	font-weight: 800;
	letter-spacing: -.025em;
	line-height: 1.05;
	max-width: 22ch;
}

.ngmg-contract__media { border-left: var(--ngmg-rule) !important; }

/* ---------------------------------------------------------------- About: names */

.ngmg-names {
	display: grid;
	grid-template-columns: 1fr 1fr;
	border-bottom: var(--ngmg-rule);
}

.ngmg-names__item { padding: var(--ngmg-sec-s) var(--ngmg-g); }
.ngmg-names__item:first-child { border-right: var(--ngmg-rule); }
.ngmg-names__item h2 { margin-top: 16px !important; max-width: 18ch; }
.ngmg-names__item p:not([class*="is-style"]):not([class*="ngmg-"]) { margin-top: 18px !important; font-size: 17px; line-height: 1.6; max-width: 48ch; }

/* ---------------------------------------------------------------- Gallery */

.ngmg-gallery-wrap { border-bottom: var(--ngmg-rule); }

.wp-block-gallery.ngmg-gallery {
	display: grid !important;
	grid-template-columns: repeat(3, 1fr);
	gap: 1px !important;
	margin: 0;
	background: var(--ngmg-charcoal);
}

.wp-block-gallery.ngmg-gallery > figure.wp-block-image {
	position: relative;
	width: 100% !important;
	margin: 0 !important;
	background: var(--ngmg-white);
}

.wp-block-gallery.ngmg-gallery > figure.wp-block-image img {
	display: block;
	width: 100%;
	height: clamp(240px, 26vw, 380px) !important;
	object-fit: cover;
}

.wp-block-gallery.ngmg-gallery > figure.wp-block-image figcaption {
	position: absolute;
	top: 0;
	left: 0;
	bottom: auto;
	right: auto;
	width: auto;
	max-height: none;
	margin: 0;
	padding: 10px 16px;
	background: var(--ngmg-forest);
	color: var(--ngmg-white);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .16em;
	text-transform: uppercase;
	text-shadow: none;
	-webkit-mask-image: none;
	mask-image: none;
	backdrop-filter: none;
}

.wp-block-gallery.ngmg-gallery > figure.wp-block-image figcaption::before { display: none; }
.wp-block-gallery.ngmg-gallery > figure.wp-block-image:nth-child(2) figcaption { background: var(--ngmg-green); }

/* ---------------------------------------------------------------- Contact */

.ngmg-contact {
	display: grid;
	grid-template-columns: minmax(300px, 34%) minmax(0, 1fr);
	border-bottom: var(--ngmg-rule);
}

.ngmg-contact__side {
	padding: 64px var(--ngmg-g);
	border-right: var(--ngmg-rule);
	background: var(--ngmg-off);
}

.ngmg-contact__side h2 { margin-top: 22px !important; }
.ngmg-contact__side h2 + p { margin-top: 16px !important; font-size: 16px; line-height: 1.6; max-width: 34ch; }

.ngmg-contact__list {
	margin-top: 32px !important;
	border-top: var(--ngmg-rule);
}

.ngmg-contact__list > * {
	overflow-wrap: anywhere;
	padding: 16px 0;
	border-bottom: var(--ngmg-rule-soft);
	font-size: 16px;
	font-weight: 600;
}

.ngmg-contact__list .ngmg-contact__phone { font-size: 22px; font-weight: 800; letter-spacing: -.01em; }
.ngmg-contact__list .ngmg-contact__phone a { color: var(--ngmg-ink); }
.ngmg-contact__list .ngmg-contact-link.wp-block-button .wp-block-button__link { font-size: 15px; }
.ngmg-contact__hours { color: rgba(41, 41, 41, .75); font-weight: 500 !important; }
.ngmg-contact__note { margin-top: 28px !important; font-size: 14px; line-height: 1.55; color: rgba(41, 41, 41, .75); max-width: 36ch; }

.ngmg-contact__form { padding: 64px var(--ngmg-g) var(--ngmg-sec); }

/* ---------------------------------------------------------------- Prose sections and text pages */

.ngmg-prose-section {
	max-width: calc(760px + 2 * var(--ngmg-g));
	padding: 64px var(--ngmg-g) var(--ngmg-sec);
}

.ngmg-prose-section h2 { margin-top: 44px !important; }
.ngmg-prose-section h2:first-child { margin-top: 0 !important; }
.ngmg-prose-section > p,
.ngmg-prose-section > .ngmg-contact-link { margin-top: 14px !important; font-size: 17px; line-height: 1.65; }

.ngmg-text-page { padding: var(--ngmg-sec-s) var(--ngmg-g) var(--ngmg-sec); }
.ngmg-text-page__title { margin-bottom: 32px; font-size: clamp(36px, 3.9vw, 56px); }
.ngmg-prose p, .ngmg-prose li { font-size: 17px; line-height: 1.65; }

/* ---------------------------------------------------------------- Footer */

.ngmg-site-footer { margin-block-start: 0; }

.ngmg-footer {
	background: var(--ngmg-forest);
	color: var(--ngmg-white);
	padding: 72px var(--ngmg-g) 40px;
}

.ngmg-footer a { color: var(--ngmg-white); }
.ngmg-footer a:hover { color: var(--ngmg-white); text-decoration: underline; text-underline-offset: 4px; }

.ngmg-footer__grid {
	display: grid;
	grid-template-columns: 1.4fr 1fr 1fr 1fr;
	gap: 48px;
	padding-bottom: 56px;
	border-bottom: var(--ngmg-rule-dark);
}

.ngmg-footer__logo { margin: 0 !important; }
.ngmg-footer__logo img,
.ngmg-footer__logo .components-resizable-box__container { display: block; height: 36px !important; width: auto !important; max-width: none; aspect-ratio: 1924 / 351; }

.ngmg-footer__brand p {
	margin-top: 26px !important;
	font-size: 15px;
	line-height: 1.6;
	max-width: 32ch;
	color: rgba(255, 255, 255, .78);
}

.ngmg-footer .ngmg-footer__title {
	margin-bottom: 18px !important;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .18em;
	line-height: 1.4;
	text-transform: uppercase;
	color: rgba(255, 255, 255, .6);
}

.ngmg-footer__links {
	list-style: none;
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin: 0;
	padding: 0;
	font-size: 15px;
}

.ngmg-footer__links li { margin: 0; }
.ngmg-footer__links a { color: rgba(255, 255, 255, .85); }
.ngmg-footer__col > .ngmg-footer__links + .ngmg-footer__links { margin-top: 10px !important; }

.ngmg-footer__col > .ngmg-contact-link { font-size: 15px; line-height: 1.5; }
.ngmg-footer__col > .ngmg-contact-link + .ngmg-contact-link { margin-top: 10px !important; }
.ngmg-footer__col .ngmg-contact-link a { color: rgba(255, 255, 255, .85); }
.ngmg-footer__col .ngmg-footer__strong a { color: var(--ngmg-white); }
.ngmg-footer__muted { color: rgba(255, 255, 255, .7); }

.ngmg-footer__legal {
	display: grid;
	grid-template-columns: 1fr auto;
	align-items: center;
	gap: 32px;
	padding-top: 26px;
	font-size: 13px;
	line-height: 1.6;
	color: rgba(255, 255, 255, .6);
}

.ngmg-footer__legal p { max-width: 70ch; }
.ngmg-footer__legal a { color: rgba(255, 255, 255, .7); }

/* ================================================================= Responsive */

/* Small desktop / large tablet */
@media (max-width: 1279px) {
	.ngmg-hero,
	.ngmg-hero--domestic,
	.ngmg-hero--commercial,
	.ngmg-hero--page { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
	.ngmg-hero--noimage { grid-template-columns: 1fr; }
	.ngmg-hero__text { padding-right: 48px; }
	.ngmg-row { grid-template-columns: 44px 1fr 1.1fr 110px; gap: 20px; padding-left: 32px; }
	.ngmg-rows--noted .ngmg-row { grid-template-columns: 44px 1fr 1.2fr; padding-left: 32px; }
	.ngmg-rows--steps .ngmg-row { grid-template-columns: 44px 1fr 1.4fr; padding-left: 0; }
	.ngmg-quote-band { grid-template-columns: minmax(0, 58%) 1fr; }
	.ngmg-areas { grid-template-columns: 1fr minmax(320px, 36%); }
	.ngmg-contract { grid-template-columns: 1fr minmax(360px, 40%); }
	.ngmg-callout { grid-template-columns: 1fr minmax(320px, 40%); }
	.ngmg-callout__text { padding: 44px 40px; }
	.ngmg-footer__grid { gap: 32px; }
}

@media (max-width: 1100px) {
	.ngmg-cells--5 { grid-template-columns: repeat(3, 1fr); }
	.ngmg-cells--4 { grid-template-columns: repeat(2, 1fr); }
}

/* Tablet: stack the asymmetric grids into one column, keep the rules */
@media (max-width: 1023px) {
	.ngmg-hero,
	.ngmg-hero--domestic,
	.ngmg-hero--commercial,
	.ngmg-hero--page { grid-template-columns: minmax(0, 1fr); }
	.ngmg-hero__text { border-right: 0; padding: 64px var(--ngmg-g) 56px; }
	.ngmg-hero__media { min-height: 440px !important; border-top: var(--ngmg-rule); }
	.ngmg-hero .is-style-lead { max-width: 52ch; }

	.ngmg-split { grid-template-columns: minmax(0, 1fr); }
	.ngmg-split__intro { border-right: 0; padding: 64px var(--ngmg-g) 40px; }
	.ngmg-sticky { position: static; }
	.ngmg-split .ngmg-sticky h2 + p { max-width: 52ch; }
	.ngmg-split__body { padding: 0 var(--ngmg-g) 64px; }
	.ngmg-row,
	.ngmg-rows--noted .ngmg-row { padding-left: 0; padding-right: 0; }

	.ngmg-areas,
	.ngmg-contract,
	.ngmg-callout,
	.ngmg-quote-band,
	.ngmg-contact { grid-template-columns: minmax(0, 1fr); }
	.ngmg-areas__text,
	.ngmg-callout__text,
	.ngmg-quote-band__text,
	.ngmg-contact__side { border-right: 0; }
	.ngmg-areas__media,
	.ngmg-quote-band__media { min-height: 360px !important; }
	.ngmg-callout__media { min-height: 340px !important; border-top: var(--ngmg-rule); }
	.ngmg-areas__media { border-top: var(--ngmg-rule); }
	.ngmg-quote-band__media { border-top: var(--ngmg-rule-dark); }
	.ngmg-contract__media { min-height: 380px !important; border-left: 0 !important; border-top: var(--ngmg-rule); }
	.ngmg-contact__side { border-bottom: var(--ngmg-rule); }

	.ngmg-route { min-height: 460px !important; }
	.ngmg-strip__item,
	.ngmg-strip--domestic .ngmg-strip__item { min-height: 300px !important; }

	.ngmg-footer__grid { grid-template-columns: 1fr 1fr; gap: 40px 32px; }
	.ngmg-footer__brand { grid-column: 1 / -1; }
}

/* Large phone / small tablet */
@media (max-width: 781px) {
	.ngmg-routes { grid-template-columns: minmax(0, 1fr); }
	.ngmg-routes > .ngmg-route:first-child { border-right: 0; border-bottom: var(--ngmg-rule); }
	.ngmg-route { min-height: 420px !important; }

	.ngmg-row { grid-template-columns: 36px 1fr auto; gap: 8px 16px; }
	.ngmg-row > p:not([class*="is-style"]) { grid-column: 2 / -1; grid-row: 2; }
	.ngmg-row > .is-style-tag { grid-column: 3; grid-row: 1; }
	.ngmg-rows--noted .ngmg-row,
	.ngmg-rows--steps .ngmg-row { grid-template-columns: 36px 1fr; }
	.ngmg-rows--noted .ngmg-row > p:not([class*="is-style"]),
	.ngmg-rows--steps .ngmg-row > p:not([class*="is-style"]) { grid-column: 2; grid-row: 2; }

	.ngmg-reviews__grid { grid-template-columns: minmax(0, 1fr); }
	.ngmg-review,
	.ngmg-review + .ngmg-review { min-height: 0; padding: 28px 0; border-right: 0; border-bottom: var(--ngmg-rule-soft); }

	.ngmg-strip,
	.ngmg-strip--domestic { grid-template-columns: 1fr 1fr; }
	.ngmg-strip > :first-child { grid-column: 1 / -1; }
	.ngmg-strip__item,
	.ngmg-strip--domestic .ngmg-strip__item { min-height: 240px !important; }
	.ngmg-strip--domestic > :first-child { grid-column: auto; }
	.ngmg-strip--domestic > :last-child { grid-column: 1 / -1; }

	.wp-block-gallery.ngmg-gallery { grid-template-columns: 1fr 1fr; }
	.ngmg-names { grid-template-columns: minmax(0, 1fr); }
	.ngmg-names__item:first-child { border-right: 0; border-bottom: var(--ngmg-rule); }
	ul.is-style-ruled-grid, .ngmg-area-list { grid-template-columns: repeat(3, 1fr); }
}

/* Phone */
@media (max-width: 600px) {
	.ngmg-section-head,
	.ngmg-band__head { flex-direction: column; align-items: flex-start; }
	.ngmg-band__head { margin-bottom: 32px !important; }
	.ngmg-cells,
	.ngmg-cells--4,
	.ngmg-cells--5 { grid-template-columns: minmax(0, 1fr); }
	.ngmg-cell,
	.ngmg-cells--5 .ngmg-cell { padding: 26px 22px 30px; }
	ul.is-style-ruled-grid, .ngmg-area-list { grid-template-columns: 1fr 1fr; }
	ul.is-style-ruled-grid li { padding: 14px 14px; font-size: 14px; }
	.ngmg-hero__text { padding: 48px var(--ngmg-g) 44px; }
	.ngmg-hero__media { min-height: 300px !important; }
	.ngmg-hero .ngmg-display { margin-top: 22px; }
	.ngmg-hero .ngmg-actions { margin-top: 32px; }
	.ngmg-actions { flex-direction: column; align-items: stretch !important; }
	.ngmg-actions > *,
	.ngmg-actions .wp-block-button,
	.ngmg-actions .wp-block-button__link { width: 100%; justify-content: center; }
	.ngmg-trust { margin-top: 44px !important; }
	.ngmg-trust li { padding: 16px 10px 0 12px; font-size: 12px; }
	.ngmg-callout-wrap { padding: 44px var(--ngmg-g); }
	.ngmg-callout__text { padding: 32px 22px; }
	.ngmg-quote-band__text { padding: 56px var(--ngmg-g); }
	.ngmg-strip,
	.ngmg-strip--domestic { grid-template-columns: minmax(0, 1fr); }
	.ngmg-strip > *,
	.ngmg-strip--domestic > * { grid-column: auto !important; }
	.ngmg-strip__item,
	.ngmg-strip--domestic .ngmg-strip__item { min-height: 260px !important; }
	.wp-block-gallery.ngmg-gallery { grid-template-columns: minmax(0, 1fr); }
	.ngmg-contact__side,
	.ngmg-contact__form { padding: 44px var(--ngmg-g); }
	.ngmg-footer { padding-top: 56px; }
	.ngmg-footer__grid { grid-template-columns: minmax(0, 1fr); gap: 32px; padding-bottom: 40px; }
	.ngmg-footer__legal { grid-template-columns: minmax(0, 1fr); gap: 12px; }
}

/* ---------------------------------------------------------------- Editor-only niceties */

.editor-styles-wrapper .ngmg-sticky { position: static; }
.editor-styles-wrapper .ngmg-route .ngmg-route__link a::before { display: none; }
.editor-styles-wrapper .ngmg-site-header { position: relative; top: 0; }
