/* National Select Services identity layer — service-first and practical.
   Confident sans headings, service routes visible on arrival, mega service panel,
   utility-led footer, lower-centre consent tray. */
:root {
  --wp--preset--font-family--display: var(--wp--preset--font-family--body);
  --nx-navy: #102536; --nx-deep: #0A1824; --nx-ivory: #F5F3EE; --nx-stone: #E9E4DA; --nx-copper: #C18A58; --nx-copper-d: #8C5A2E; --nx-slate: #5d6a75;
  --nx-wrap: 1360px; --nx-pad: clamp(1.1rem, 4.5vw, 3.5rem);
}
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
[data-cc-panel][hidden], [data-nav-panel][hidden], .nx-mega[hidden] { display: none !important; }
body { font-family: var(--wp--preset--font-family--body); }
h1, h2, h3, h4 { font-family: var(--wp--preset--font-family--body) !important; font-weight: 600 !important; letter-spacing: -.02em !important; }
h1 em, h2 em, h3 em { font-style: normal !important; color: var(--nx-copper-d) !important; }
.nx-skip { position: absolute; left: 1rem; top: -5rem; z-index: 400; background: var(--nx-copper); color: #111; padding: .6rem 1rem; font-weight: 600; }
.nx-skip:focus { top: .5rem; }
.nx-wrap { width: min(100%, var(--nx-wrap)); margin-inline: auto; padding-inline: var(--nx-pad); }
.nx-kicker { margin: 0 0 .8rem; font-size: .78rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--nx-copper-d); }
.nx-more { margin: 0; }
.nx-more a { font-weight: 600; color: var(--nx-navy); text-decoration: none; border-bottom: 2px solid var(--nx-copper); padding-bottom: .1rem; }
.nx-more a::after { content: " →"; }

/* ---------- Header ---------- */
header.wp-block-template-part { position: sticky !important; top: 0; z-index: 80; background: #fff; box-shadow: 0 1px 0 #10253620; }
.admin-bar header.wp-block-template-part { top: 32px; }
.nx-head-row { width: min(100%, var(--nx-wrap)); margin-inline: auto; padding-inline: var(--nx-pad); display: flex; align-items: center; gap: clamp(1rem, 2vw, 2rem); min-height: 72px; }
.nx-logo img { display: block; width: 176px; height: auto; }
.nx-nav { position: static; flex: 1; }
.nx-nav-list { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: .3rem; }
.nx-nav-list a, .nx-services-btn { display: inline-flex; align-items: center; gap: .45rem; min-height: 42px; padding: 0 .8rem; color: var(--nx-navy); text-decoration: none; font: 500 .93rem var(--wp--preset--font-family--body); border: 0; background: none; cursor: pointer; border-radius: 4px; }
.nx-nav-list a:hover { background: var(--nx-ivory); }
.nx-nav-list .is-current > a, .nx-nav-list .is-current > .nx-services-btn { box-shadow: inset 0 -3px 0 var(--nx-copper); }
.nx-services-btn { background: var(--nx-navy); color: #fff; font-weight: 600; padding: 0 1rem; }
.nx-services-btn:hover { background: var(--nx-deep); }
.nx-services-btn::after { content: ""; width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-2px); transition: transform .2s; }
.nx-services-btn[aria-expanded="true"]::after { transform: rotate(-135deg) translateY(-1px); }
.nx-count { font-size: .7rem; background: var(--nx-copper); color: var(--nx-deep); border-radius: 999px; min-width: 1.3rem; height: 1.3rem; display: inline-grid; place-items: center; font-weight: 700; }
.nx-mega { position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-top: 1px solid #10253620; box-shadow: 0 30px 50px -30px #0a182499; z-index: 90; }
.nx-mega-grid { width: min(100%, var(--nx-wrap)); margin-inline: auto; padding: 1.6rem var(--nx-pad) 2rem; display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 2rem; }
.nx-mega-col h2 { font-size: .74rem !important; letter-spacing: .14em !important; text-transform: uppercase; color: var(--nx-slate); margin: 0 0 .8rem; font-weight: 600 !important; }
.nx-mega-links { list-style: none; margin: 0; padding: 0; display: grid; gap: .2rem; }
.nx-mega-services .nx-mega-links a { display: block; padding: .75rem .9rem; background: var(--nx-ivory); border-left: 3px solid var(--nx-copper); color: var(--nx-navy); font-weight: 600; text-decoration: none; }
.nx-mega-services .nx-mega-links a:hover, .nx-mega-services .nx-mega-links a[aria-current] { background: var(--nx-navy); color: #fff; }
.nx-mega-plain a { display: block; padding: .4rem 0; color: var(--nx-navy); text-decoration: none; }
.nx-mega-plain a:hover, .nx-mega-plain a[aria-current] { text-decoration: underline; text-decoration-color: var(--nx-copper); }
.nx-mega-hub { display: inline-block; margin-top: .8rem; color: var(--nx-copper-d); font-weight: 600; }
.nx-mega-contact { display: grid; gap: .5rem; align-content: start; }
.nx-mega-contact a { color: var(--nx-navy); font-weight: 500; overflow-wrap: anywhere; }
.nx-mega-cta { margin-top: .4rem; background: var(--nx-copper); color: var(--nx-deep) !important; text-decoration: none; padding: .7rem 1rem; text-align: center; font-weight: 600 !important; }
.nx-actions { display: flex; align-items: center; gap: .9rem; margin-left: auto; }
.nx-tel { color: var(--nx-navy); font-weight: 600; text-decoration: none; white-space: nowrap; }
.nx-cta { background: var(--nx-copper); color: var(--nx-deep); text-decoration: none; font-weight: 600; padding: .72rem 1.1rem; white-space: nowrap; }
.nx-cta:hover { background: #d29a68; }
.nx-menu-btn { display: none; }
.nx-switch { background: var(--nx-ivory); border-top: 1px solid #10253614; }
.nx-switch-row { width: min(100%, var(--nx-wrap)); margin-inline: auto; padding: .5rem var(--nx-pad); display: flex; align-items: center; gap: 1rem; overflow-x: auto; }
.nx-switch-label { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--nx-slate); font-weight: 600; flex: none; }
.nx-switch-list { list-style: none; margin: 0; padding: 0; display: flex; gap: .4rem; }
.nx-switch-list a { display: block; white-space: nowrap; padding: .45rem .8rem; border: 1px solid #10253626; border-radius: 999px; color: var(--nx-navy); text-decoration: none; font-size: .86rem; font-weight: 500; background: #fff; }
.nx-switch-list a[aria-current] { background: var(--nx-navy); color: #fff; border-color: var(--nx-navy); }
@media (max-width: 1280px) { .nx-tel { display: none; } }
@media (max-width: 1080px) {
  .nx-nav { display: none; }
  .nx-menu-btn { display: inline-flex; align-items: center; gap: .5rem; min-height: 44px; padding: 0 1rem; border: 2px solid var(--nx-navy); background: #fff; color: var(--nx-navy); font: 600 .92rem var(--wp--preset--font-family--body); cursor: pointer; }
  .nx-menu-btn::before { content: ""; width: 14px; height: 10px; border-top: 2px solid; border-bottom: 2px solid; background: linear-gradient(currentColor, currentColor) center / 100% 2px no-repeat; }
}
@media (max-width: 560px) { .nx-cta { display: none; } .nx-logo img { width: 148px; } .nx-head-row { min-height: 64px; } }
/* Mobile panel */
.nx-menu { position: fixed; inset: 0; z-index: 300; background: #fff; display: flex; flex-direction: column; transform: translateY(-12px); opacity: 0; transition: opacity .18s, transform .18s; }
.nx-menu.is-open { opacity: 1; transform: none; }
.nx-menu-top { display: flex; justify-content: space-between; align-items: center; padding: .8rem var(--nx-pad); border-bottom: 1px solid #10253620; }
.nx-menu-title { margin: 0; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; font-size: .8rem; color: var(--nx-slate); }
.nx-menu-close { min-height: 44px; padding: 0 1rem; border: 0; background: var(--nx-navy); color: #fff; font: 600 .92rem var(--wp--preset--font-family--body); cursor: pointer; }
.nx-menu-body { flex: 1; overflow-y: auto; padding: 1rem var(--nx-pad); }
.nx-menu-body.sub-open .nx-menu-main { display: none; }
.nx-menu-kicker { margin: .2rem 0 .6rem; font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--nx-copper-d); font-weight: 600; }
.nx-menu-services { list-style: none; margin: 0 0 1rem; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; }
.nx-menu-services a { display: flex; align-items: flex-end; min-height: 76px; padding: .7rem; background: var(--nx-navy); color: #fff; text-decoration: none; font-weight: 600; font-size: .95rem; line-height: 1.2; border-bottom: 3px solid var(--nx-copper); }
.nx-menu-services a[aria-current] { background: var(--nx-copper); color: var(--nx-deep); }
.nx-menu-rows { list-style: none; margin: 0; padding: 0; }
.nx-menu-rows > li { border-bottom: 1px solid #10253618; }
.nx-menu-rows a, .nx-menu-rows button { display: flex; justify-content: space-between; align-items: center; width: 100%; min-height: 52px; color: var(--nx-navy); text-decoration: none; font: 500 1.08rem var(--wp--preset--font-family--body); background: none; border: 0; padding: 0; cursor: pointer; text-align: left; }
.nx-menu-rows a[aria-current] { color: var(--nx-copper-d); font-weight: 600; }
.nx-back { min-height: 44px; padding: 0 .9rem; margin-bottom: .8rem; border: 1px solid var(--nx-navy); background: var(--nx-ivory); color: var(--nx-navy); font: 600 .92rem var(--wp--preset--font-family--body); cursor: pointer; }
.nx-menu-contact { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: .8rem; padding: .9rem var(--nx-pad) 1.2rem; background: var(--nx-ivory); }
.nx-menu-cta { background: var(--nx-copper); color: var(--nx-deep); text-align: center; text-decoration: none; font-weight: 600; padding: .85rem; }
.nx-menu-contact a:not(.nx-menu-cta) { color: var(--nx-navy); font-weight: 600; }
html.nav-lock { overflow: hidden; }
/* retire the old transparent header / wordmark treatment */
.ns-header { display: none !important; }

/* ---------- Home: proposition + service routes ---------- */
.nx-prop { background: var(--nx-navy); color: #fff; padding-top: clamp(2.5rem, 5vw, 4rem); }
.nx-prop-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 1.5rem clamp(2rem, 5vw, 4rem); align-items: end; }
.nx-prop .nx-kicker { color: var(--nx-copper); }
.nx-prop h1 { color: #fff !important; font-size: clamp(2.3rem, 4.6vw, 4.2rem) !important; line-height: 1.04 !important; font-weight: 600 !important; margin: 0 0 1rem; max-width: 18ch; }
.nx-prop h1 em { color: var(--nx-copper) !important; }
.nx-lead { color: #d7dee4; font-size: 1.05rem; max-width: 60ch; margin: 0; }
.nx-prop-actions { display: grid; gap: 1rem; justify-items: start; }
.nx-buttons { gap: .6rem; }
.nx-buttons .wp-block-button__link { border-radius: 0 !important; padding: .9rem 1.3rem !important; font: 600 .95rem var(--wp--preset--font-family--body) !important; letter-spacing: 0 !important; text-transform: none !important; }
.nx-btn-copper .wp-block-button__link { background: var(--nx-copper) !important; color: var(--nx-deep) !important; border: 0 !important; }
.nx-btn-line .wp-block-button__link { background: transparent !important; color: #fff !important; border: 2px solid #ffffff99 !important; }
.nx-btn-navy .wp-block-button__link { background: var(--nx-navy) !important; color: #fff !important; border: 0 !important; }
.nx-prop-contact { display: flex; flex-wrap: wrap; gap: .4rem 1.2rem; margin: 0; }
.nx-prop-contact a { color: #fff; font-weight: 500; }
.nx-routes-wrap { padding-top: clamp(2rem, 4vw, 3rem); position: relative; }
.nx-routes-label { margin: 0 0 .7rem; font-size: .78rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: #b8c4ce; }
.nx-routes { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; margin-bottom: -3.5rem; position: relative; z-index: 2; }
.nx-route { background: #fff; color: var(--nx-ink, #16232E); position: relative; box-shadow: 0 20px 40px -24px #0a1824; border-top: 4px solid var(--nx-copper); display: grid; grid-template-rows: auto auto 1fr; }
.nx-route-img { margin: 0 !important; }
.nx-route-img img { width: 100%; aspect-ratio: 16 / 9 !important; height: auto !important; object-fit: cover; display: block; }
.nx-route h3 { font-size: 1.15rem !important; margin: .9rem 1rem .4rem; line-height: 1.2 !important; }
.nx-route h3 a { color: var(--nx-navy); text-decoration: none; }
.nx-route h3 a::after { content: ""; position: absolute; inset: 0; }
.nx-route h3 a::before { content: "→ "; color: var(--nx-copper-d); }
.nx-route:hover h3 a, .nx-route:focus-within h3 a { text-decoration: underline; text-decoration-color: var(--nx-copper); }
.nx-route p { margin: 0 1rem 1rem; font-size: .9rem; color: var(--nx-slate); }
.nx-routes-wrap > .nx-more { position: absolute; right: var(--nx-pad); top: clamp(2rem, 4vw, 3rem); }
.nx-routes-wrap > .nx-more a { color: #fff; }

/* ---------- Home: promise, homes, steps, projects, partner, start ---------- */
.nx-promise { background: var(--nx-ivory); padding: calc(3.5rem + clamp(3rem, 6vw, 5rem)) 0 clamp(3rem, 6vw, 5rem); }
.nx-promise-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 2rem clamp(2rem, 5vw, 5rem); align-items: end; }
.nx-promise-big { font-size: clamp(1.6rem, 2.8vw, 2.5rem); line-height: 1.18; font-weight: 500; color: var(--nx-navy); margin: 0; letter-spacing: -.015em; }
.nx-promise-big em { font-style: normal; color: var(--nx-copper-d); }
.nx-promise-side p:first-child { color: var(--nx-slate); }
.nx-sec-head h2, .nx-partner h2, .nx-start h2 { font-size: clamp(2rem, 3.6vw, 3.2rem) !important; line-height: 1.05 !important; color: var(--nx-navy); margin: 0 0 .8rem; }
.nx-sec-head p:not(.nx-kicker):not(.nx-more) { color: var(--nx-slate); margin: 0 0 1rem; }
.nx-homes { padding-block: clamp(3.5rem, 7vw, 6rem); background: #fff; }
.nx-homes .nx-sec-head { display: grid; grid-template-columns: 1fr 1fr; column-gap: 3rem; align-items: end; margin-bottom: 1.8rem; }
.nx-homes .nx-sec-head .nx-kicker { grid-column: 1 / -1; }
.nx-homes-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 1rem; margin-bottom: 1.5rem; }
.nx-home-img { margin: 0 0 .8rem !important; }
.nx-home-img img { width: 100%; aspect-ratio: 4 / 3 !important; height: auto !important; object-fit: cover; display: block; }
.nx-home-sub { margin: 0; font-size: .8rem; color: var(--nx-copper-d); font-weight: 600; text-transform: uppercase; letter-spacing: .08em; }
.nx-home h3 { font-size: 1.35rem !important; margin: .2rem 0 0; color: var(--nx-navy); }
.nx-steps { background: var(--nx-stone); padding-block: clamp(3.5rem, 7vw, 6rem); }
.nx-steps-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 2rem clamp(2rem, 5vw, 5rem); }
.nx-step-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; counter-reset: nx; }
.nx-step-list li { counter-increment: nx; background: #fff; padding: 1.2rem 1.2rem 1.3rem; color: var(--nx-slate); font-size: .95rem; border-left: 4px solid var(--nx-navy); }
.nx-step-list li::before { content: "Step " counter(nx); display: block; font-size: .72rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--nx-copper-d); margin-bottom: .4rem; }
.nx-step-list strong { display: block; color: var(--nx-navy); font-size: 1.12rem; font-weight: 600; margin-bottom: .3rem; }
.nx-projects { padding-block: clamp(3.5rem, 7vw, 6rem); background: var(--nx-ivory); }
.nx-partner { padding-block: clamp(3.5rem, 7vw, 6rem); background: #fff; }
.nx-partner-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.nx-partner-img { margin: 0 !important; }
.nx-partner-img img { width: 100%; aspect-ratio: 4 / 3 !important; height: auto !important; object-fit: cover; display: block; }
.nx-partner-copy p:not(.nx-kicker):not(.nx-more) { color: var(--nx-slate); }
.nx-start { background: var(--nx-ivory); padding-block: clamp(3.5rem, 7vw, 5.5rem); border-top: 1px solid #10253618; }
.nx-start-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) minmax(0, 1fr); gap: 1rem clamp(1.5rem, 3vw, 2.5rem); align-items: stretch; }
.nx-start-head p:not(.nx-kicker) { color: var(--nx-slate); }
.nx-start-card { background: #fff; border: 1px solid #10253620; border-top: 4px solid var(--nx-copper); padding: 1.4rem; display: grid; align-content: space-between; gap: .6rem; }
.nx-start-card h3 { font-size: 1.3rem !important; margin: 0; color: var(--nx-navy); }
.nx-start-card p { margin: 0; color: var(--nx-slate); }

/* ---------- Inner pages: practical heading treatment ---------- */
.ns-main h1 { font-weight: 600 !important; }
.ns-page-hero h1, .ns-hero h1 { color: #fff; }

/* ---------- Footer: utility-led ---------- */
footer.wp-block-template-part { background: #fff; }
.ns-footer { display: none !important; }
.nx-foot { background: #fff; color: var(--nx-navy); border-top: 4px solid var(--nx-navy); }
.nx-foot-inner { width: min(100%, var(--nx-wrap)); margin-inline: auto; padding: 0 var(--nx-pad) 1.2rem; }
.nx-foot-utility { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-bottom: 1px solid #10253620; }
.nx-util { margin: 0; padding: 1.3rem 1rem 1.3rem 0; display: grid; gap: .2rem; }
.nx-util + .nx-util { padding-left: 1.2rem; border-left: 1px solid #10253620; }
.nx-util span { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--nx-slate); font-weight: 600; }
.nx-util a { color: var(--nx-navy); font-weight: 600; font-size: 1.05rem; overflow-wrap: anywhere; }
.nx-util-strong a { color: var(--nx-copper-d); }
.nx-foot-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) minmax(0, 1fr); gap: 2rem; padding-block: 1.8rem; }
.nx-foot-card { background: var(--nx-navy); color: #fff; padding: 1.3rem; display: grid; grid-template-columns: 40px 1fr; gap: .3rem .9rem; align-content: start; }
.nx-foot-mark { margin: 0 !important; grid-row: span 2; }
.nx-foot-mark img { display: block; }
.nx-foot-name { margin: 0; font-weight: 600; font-size: 1.05rem; }
.nx-foot-addr { margin: 0; font-size: .86rem; color: #c8d2da; }
.nx-foot-links h2 { font-size: .74rem !important; letter-spacing: .14em !important; text-transform: uppercase; color: var(--nx-slate); margin: 0 0 .6rem; }
.nx-foot-links ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .3rem; }
.nx-foot-links a { color: var(--nx-navy); text-decoration: none; font-size: .93rem; }
.nx-foot-links a:hover { text-decoration: underline; text-decoration-color: var(--nx-copper); }
.nx-foot-legal { margin: 0; display: flex; flex-wrap: wrap; gap: .5rem 1.4rem; padding: 1rem 1.2rem; background: var(--nx-ivory); font-size: .9rem; align-items: center; }
.nx-foot-legal a { color: var(--nx-navy); font-weight: 600; }
.nx-foot-legal span { margin-left: auto; color: var(--nx-slate); font-size: .82rem; }

/* ---------- Consent: lower-centre tray ---------- */
.nx-cc { position: fixed; left: 50%; bottom: 1rem; transform: translateX(-50%); z-index: 250; width: min(560px, calc(100vw - 1.5rem)); background: #fff; color: var(--nx-navy); border: 1px solid #10253633; border-top: 4px solid var(--nx-copper); box-shadow: 0 24px 50px -20px #0a1824aa; padding: 1rem 1.1rem .7rem; max-height: calc(100vh - 2rem); overflow-y: auto; }
.nx-cc[hidden] { display: none; }
.nx-cc-title { font-size: 1rem !important; margin: 0 0 .3rem; text-align: center; }
.nx-cc-title:focus { outline: none; }
.nx-cc-text { margin: 0 0 .8rem; font-size: .88rem; color: var(--nx-slate); text-align: center; }
.nx-cc-pair { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; }
.nx-cc-pair button { min-height: 46px; border: 2px solid var(--nx-navy); background: var(--nx-navy); color: #fff; font: 600 .95rem var(--wp--preset--font-family--body); cursor: pointer; }
.nx-cc-pair button:hover { background: var(--nx-deep); }
.nx-cc-links { display: flex; justify-content: center; flex-wrap: wrap; gap: .3rem 1.2rem; margin: .7rem 0 0; padding-top: .6rem; border-top: 1px solid #10253618; font-size: .85rem; }
.nx-cc-links a, .nx-cc-links button { color: var(--nx-navy); font: 500 .85rem var(--wp--preset--font-family--body); text-decoration: underline; text-underline-offset: .2em; background: none; border: 0; padding: .3rem 0; cursor: pointer; }
.nx-cc-panel { margin-top: .8rem; }
.nx-cc .cc-cats { border: 0; padding: 0; margin: 0 0 .7rem; display: grid; gap: .5rem; }
.nx-cc .cc-cats legend { font-size: .74rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--nx-slate); margin-bottom: .4rem; }
.nx-cc .cc-cat { display: grid; grid-template-columns: 1.3rem 1fr; gap: .5rem; font-size: .84rem; color: var(--nx-slate); background: var(--nx-ivory); padding: .6rem; }
.nx-cc .cc-cat strong { display: block; color: var(--nx-navy); }
.nx-cc .cc-cat input { accent-color: var(--nx-navy); width: 1.05rem; height: 1.05rem; }
.nx-cc-save { width: 100%; min-height: 42px; border: 2px solid var(--nx-copper); background: var(--nx-copper); color: var(--nx-deep); font-weight: 600; cursor: pointer; }
.nx-cc-status:empty { display: none; }
.nx-cc-status { margin: .4rem 0 0; font-size: .82rem; text-align: center; }

@media (max-width: 1000px) {
  .nx-prop-grid, .nx-promise-grid, .nx-steps-grid, .nx-partner-grid, .nx-start-grid { grid-template-columns: 1fr; }
  .nx-routes { grid-template-columns: 1fr 1fr; }
  .nx-routes-wrap > .nx-more { position: static; margin-top: 4.5rem; display: none; }
  .nx-homes .nx-sec-head { grid-template-columns: 1fr; }
  .nx-homes-grid { grid-template-columns: 1fr 1fr; }
  .nx-homes-grid > :first-child { grid-column: 1 / -1; }
  .nx-mega-grid { grid-template-columns: 1fr 1fr; }
  .nx-foot-utility { grid-template-columns: 1fr 1fr; }
  .nx-util:nth-child(3) { padding-left: 0; border-left: 0; }
  .nx-util:nth-child(n + 3) { border-top: 1px solid #10253620; }
  .nx-foot-grid { grid-template-columns: 1fr 1fr; }
  .nx-foot-card { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
  .nx-routes { grid-template-columns: 1fr; gap: .7rem; }
  .nx-route { grid-template-columns: 96px 1fr; grid-template-rows: auto 1fr; }
  .nx-route-img { grid-row: span 2; }
  .nx-route-img img { aspect-ratio: 1 / 1 !important; height: 100% !important; }
  .nx-route h3 { margin: .7rem .8rem .2rem; font-size: 1.02rem !important; }
  .nx-route p { margin: 0 .8rem .7rem; font-size: .84rem; }
  .nx-homes-grid, .nx-step-list { grid-template-columns: 1fr; }
  .nx-foot-utility, .nx-foot-grid { grid-template-columns: 1fr; }
  .nx-util + .nx-util { padding-left: 0; border-left: 0; border-top: 1px solid #10253620; }
  .nx-foot-legal span { margin-left: 0; }
  .nx-cc { bottom: .5rem; padding: .8rem .8rem .5rem; }
  .nx-cc-text { font-size: .82rem; }
}

/* full-bleed home sections inside the constrained post-content */
.ns-content:has(> .nx-prop) { padding-inline: 0 !important; }
.ns-content > [class*="nx-"] { max-width: none !important; margin-inline: 0 !important; margin-block: 0 !important; }
/* keep the header row inside the viewport */
.nx-head-row { box-sizing: border-box; gap: 1rem; }
.nx-nav { min-width: 0; }
.nx-nav-list { flex-wrap: nowrap; gap: .1rem; }
.nx-nav-list a { padding: 0 .6rem; white-space: nowrap; }
@media (max-width: 1520px) { .nx-tel { display: none; } }
@media (max-width: 1240px) {
  .nx-nav { display: none; }
  .nx-menu-btn { display: inline-flex; align-items: center; gap: .5rem; min-height: 44px; padding: 0 1rem; border: 2px solid var(--nx-navy); background: #fff; color: var(--nx-navy); font: 600 .92rem var(--wp--preset--font-family--body); cursor: pointer; }
  .nx-menu-btn::before { content: ""; width: 14px; height: 10px; border-top: 2px solid; border-bottom: 2px solid; background: linear-gradient(currentColor, currentColor) center / 100% 2px no-repeat; }
}
.nx-switch-row { box-sizing: border-box; }
header.wp-block-template-part { height: auto !important; }
.nx-projects:not(:has(a)) { display: none; }
:is(.nx-routes, .nx-homes-grid, .nx-start-grid, .nx-prop-grid, .nx-promise-grid, .nx-partner-grid, .nx-steps-grid, .nx-foot-grid, .nx-foot-utility, .nx-home, .nx-route) > * { margin-block-start: 0 !important; }

/* While a modal menu is open the consent notice steps aside (it returns on close) */
html.nav-lock [data-cc] { visibility: hidden; }
