/*
Theme Name: Nick Neacsu Vancouver
Theme URI: https://www.nickneacsu.com
Author: Nick Neacsu
Description: Vancouver theme for nickneacsu.com, forked from the Nick Neacsu Estate (Scottsdale) theme. Editorial "architecture magazine" look: warm white, stone and deep ink, a deep sea accent, Cormorant Garamond headlines and Montserrat text. Angell Hasman & Associates Realty Ltd. compliance built in.
Version: 0.9.2
Requires at least: 6.5
Requires PHP: 8.1
Text Domain: nick-estate
*/

/* ==========================================================================
   1. Tokens (Nick Neacsu Arizona design system, Bone theme)
   ========================================================================== */
:root {
	--surface: #f7f5f1;
	--surface-raised: #fcfbf8;
	--surface-night: #141b20;
	--ink: #141b20;
	--stone: #55595b;
	--line: #ddd8d1;
	--brass: #1f5a60;
	--brass-text: #1f5a60;
	--brass-night: #9cc9c6;
	--on-night: #f7f5f1;
	--night-mute: #a9b2b5;
	--night-line: #2a343a;
	--focus: #141b20;
	--status-red: #9e2b25;

	--display: "Cormorant Garamond", "Cormorant", Garamond, Georgia, serif;
	--sans: Montserrat, "Helvetica Neue", Arial, sans-serif;
	--brand: Montserrat, "Helvetica Neue", Arial, sans-serif;

	--fs-xl: clamp(3.25rem, 1.6rem + 5.6vw, 6.25rem);  /* 100px, Cormorant runs small */
	--fs-l: clamp(2.5rem, 1.7rem + 2.5vw, 3.875rem); /* 62px */
	--fs-m: clamp(1.9rem, 1.5rem + 1.1vw, 2.5rem);   /* 40px */
	--fs-s: 1.65rem;                                 /* 26px */

	--space-2: 8px;
	--space-3: 16px;
	--space-4: 24px;
	--space-5: 40px;
	--space-6: 64px;
	--space-7: 104px;

	--gutter: clamp(16px, 4.5vw, 64px);
	--section: clamp(64px, 9vw, 104px);
	--max: 1440px;
	--header-h: 97px;
	--ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ==========================================================================
   2. Base
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
	margin: 0; background: var(--surface); color: var(--ink);
	font-family: var(--sans); font-size: 16px; line-height: 26px; font-weight: 400;
	-webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, video, svg, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; transition: color 0.25s var(--ease), border-color 0.25s var(--ease), background 0.25s var(--ease); }
a:hover { color: var(--brass-text); }
h1, h2, h3, h4, p { margin: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--ink); color: var(--surface); }
:focus-visible { outline: 1.5px solid var(--focus); outline-offset: 3px; }
.nn-night :focus-visible, .nn-footer :focus-visible, .nn-hero :focus-visible { outline-color: var(--on-night); }

.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }
.skip-link:focus { clip: auto; width: auto; height: auto; z-index: 1000; top: 1rem; left: 1rem; padding: 0.75rem 1.25rem; background: var(--ink); color: var(--surface); }

/* ==========================================================================
   3. Type and utilities
   ========================================================================== */
.nn-wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.nn-section { padding: var(--section) 0; }
.nn-section--flush-top { padding-top: 0; }
.nn-section--line { border-top: 1px solid var(--line); }

.nn-eyebrow { font-family: var(--sans); font-size: 11px; line-height: 16px; font-weight: 500; letter-spacing: 0.24em; text-transform: uppercase; color: var(--brass-text); }
.nn-display { font-family: var(--display); font-weight: 400; color: inherit; text-wrap: balance; }
.nn-display--xl { font-size: var(--fs-xl); line-height: 0.95; letter-spacing: -0.01em; }
.nn-display--l { font-size: var(--fs-l); line-height: 1; letter-spacing: -0.005em; }
.nn-display--m { font-size: var(--fs-m); line-height: 1.1; }
.nn-display--s { font-size: var(--fs-s); line-height: 1.25; font-weight: 500; }
.nn-body-l { font-size: 18px; line-height: 30px; font-weight: 300; }
.nn-caption { font-size: 13px; line-height: 20px; color: var(--stone); }
.nn-rule { display: block; width: 40px; height: 1px; background: var(--brass); }
.nn-link { align-self: flex-start; display: inline-block; padding-bottom: 2px; border-bottom: 1px solid var(--brass); }
.nn-link:hover { color: var(--brass-text); }

.nn-heading { display: flex; flex-direction: column; gap: var(--space-2); }
.nn-heading .nn-rule { margin-top: 12px; }
.nn-sec-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: var(--space-3); margin-bottom: var(--space-5); }

/* Buttons */
.nn-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px;
	padding: 14px 28px; border: 1px solid var(--ink); border-radius: 0; background: transparent; color: var(--ink);
	font-family: var(--sans); font-size: 13px; line-height: 20px; font-weight: 400; letter-spacing: 0.14em; text-transform: uppercase; text-align: center;
	cursor: pointer; transition: background 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease);
}
.nn-btn:hover { border-color: var(--brass); color: var(--ink); }
.nn-btn--solid { background: var(--ink); color: var(--surface); }
.nn-btn--solid:hover { background: var(--surface-night); border-color: var(--surface-night); color: var(--on-night); }
.nn-btn--light { border-color: var(--on-night); color: var(--on-night); }
.nn-btn--light:hover { background: var(--on-night); color: var(--ink); border-color: var(--on-night); }
.nn-btn--light-solid { background: var(--on-night); border-color: var(--on-night); color: var(--ink); }
.nn-btn--light-solid:hover { background: transparent; color: var(--on-night); }
.nn-btn--sm { min-height: 40px; padding: 10px 16px; }
.nn-btn .nn-icon { width: 16px; height: 16px; }

/* Image placeholder */
.nn-ph { display: flex; align-items: flex-end; width: 100%; height: 100%; padding: 16px; background: var(--line); }
.nn-ph span { font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--stone); }

.nn-icon { width: 20px; height: 20px; flex: none; }

/* Scroll reveal (only when JS is on) */
.js .nn-reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.js .nn-reveal.is-in { opacity: 1; transform: none; }

/* ==========================================================================
   4. Header
   ========================================================================== */
.nn-header { position: sticky; top: 0; z-index: 100; background: var(--surface); border-bottom: 1px solid var(--line); }
.admin-bar .nn-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .nn-header { top: 46px; } }
.nn-header__inner { display: flex; align-items: center; justify-content: space-between; gap: var(--space-4); min-height: var(--header-h); padding-top: 28px; padding-bottom: 28px; }
.nn-header__logo { flex: none; }
.nn-header__logo img { height: 40px; width: auto; }
.nn-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 32px; }
.nn-nav a { font-size: 13px; line-height: 20px; letter-spacing: 0.14em; text-transform: uppercase; padding: 4px 0; border-bottom: 1px solid transparent; }
.nn-nav a:hover, .nn-nav .current-menu-item > a, .nn-nav .current_page_item > a { border-bottom-color: var(--brass); color: var(--ink); }
/* Dropdown (desktop) */
.nn-nav li { position: relative; }
.nn-nav .nn-caret { display: inline-block; width: 6px; height: 6px; margin: 0 0 3px 8px; border-right: 1px solid currentColor; border-bottom: 1px solid currentColor; transform: rotate(45deg); transition: transform 0.25s var(--ease); }
.nn-nav .menu-item-has-children:hover > a .nn-caret, .nn-nav .menu-item-has-children:focus-within > a .nn-caret { transform: rotate(225deg); margin-bottom: -1px; }
.nn-nav .sub-menu {
	position: absolute; top: calc(100% + 18px); left: -24px; z-index: 110; display: block; min-width: 280px; margin: 0; padding: 14px 0;
	background: var(--surface-raised); border: 1px solid var(--line);
	opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity 0.25s var(--ease), transform 0.25s var(--ease), visibility 0s linear 0.25s;
}
.nn-nav .sub-menu::before { content: ""; position: absolute; left: 0; right: 0; top: -20px; height: 20px; }
.nn-nav .menu-item-has-children:hover > .sub-menu, .nn-nav .menu-item-has-children:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; transition: opacity 0.25s var(--ease), transform 0.25s var(--ease); }
.nn-nav .sub-menu li { display: block; }
.nn-nav .sub-menu a { display: block; padding: 10px 24px; font-size: 12px; letter-spacing: 0.16em; border: 0; white-space: nowrap; }
.nn-nav .sub-menu a:hover, .nn-nav .sub-menu .current-menu-item > a { color: var(--brass-text); border: 0; }
.nn-header__aside { display: flex; align-items: center; gap: var(--space-4); }
.nn-header__broker { font-size: 13px; line-height: 20px; color: var(--stone); white-space: nowrap; }
.nn-nav-toggle { display: none; width: 48px; height: 48px; padding: 12px; background: none; border: 0; cursor: pointer; color: var(--ink); }
.nn-nav-toggle span { display: block; height: 1px; background: currentColor; margin: 6px 0; transition: transform 0.3s var(--ease), opacity 0.3s; }
.nn-nav__extra { display: none; }

@media (max-width: 1280px) {
	.nn-nav ul { gap: 22px; }
	.nn-header__broker { display: none; }
}
@media (max-width: 1100px) {
	:root { --header-h: 81px; }
	.nn-header__inner { padding-top: 20px; padding-bottom: 20px; }
	.nn-header__logo img { height: 36px; }
	.nn-nav-toggle { display: block; order: 3; }
	.nn-header__aside { display: none; }
	.nn-nav {
		position: fixed; left: 0; right: 0; bottom: 0; top: var(--nav-top, var(--header-h)); z-index: 99;
		padding: var(--space-5) var(--gutter); background: var(--surface); overflow-y: auto;
		transform: translateX(100%); visibility: hidden; transition: transform 0.45s var(--ease), visibility 0s linear 0.45s;
	}
	.admin-bar .nn-nav { top: var(--nav-top, calc(var(--header-h) + 32px)); }
	.nn-nav ul { flex-direction: column; gap: 4px; }
	.nn-nav a { display: block; padding: 10px 0; font-family: var(--display); font-size: 32px; line-height: 1.2; letter-spacing: 0; text-transform: none; border: 0; }
	.nn-nav .nn-caret { display: none; }
	.nn-nav .sub-menu { position: static; min-width: 0; padding: 0 0 8px 20px; border: 0; border-left: 1px solid var(--line); background: none; opacity: 1; visibility: visible; transform: none; transition: none; }
	.nn-nav .sub-menu::before { display: none; }
	.nn-nav .sub-menu a { padding: 6px 0; font-family: var(--display); font-size: 22px; letter-spacing: 0; text-transform: none; white-space: normal; }
	.nn-nav__extra { display: flex; flex-direction: column; align-items: flex-start; gap: var(--space-3); margin-top: var(--space-5); padding-top: var(--space-4); border-top: 1px solid var(--line); }
	body.nn-nav-open .nn-nav { transform: none; visibility: visible; transition: transform 0.45s var(--ease); }
	body.nn-nav-open { overflow: hidden; }
	body.nn-nav-open .nn-nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
	body.nn-nav-open .nn-nav-toggle span:nth-child(2) { opacity: 0; }
	body.nn-nav-open .nn-nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}
@media (max-width: 782px) { .admin-bar .nn-nav { top: var(--nav-top, calc(var(--header-h) + 46px)); } }
/* On phones the admin bar scrolls away, so the header sticks to the very top. */
@media (max-width: 600px) { .admin-bar .nn-header { top: 0; } }

/* ==========================================================================
   5. Hero
   ========================================================================== */
.nn-hero { position: relative; height: min(720px, calc(100svh - var(--header-h))); min-height: 520px; background: #1d262c; color: var(--on-night); overflow: hidden; }
.nn-hero__media { position: absolute; inset: 0; }
.nn-hero__media img, .nn-hero__media video { width: 100%; height: 100%; object-fit: cover; }
.nn-hero__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,27,32,0.12) 0%, rgba(20,27,32,0.2) 35%, rgba(20,27,32,0.78) 100%), linear-gradient(90deg, rgba(20,27,32,0.45) 0%, rgba(20,27,32,0) 60%); }
.nn-hero__content { position: absolute; left: 0; right: 0; bottom: clamp(40px, 6vw, 72px); }
.nn-hero__inner { display: flex; flex-direction: column; gap: 20px; max-width: 760px; }
.nn-hero .nn-eyebrow { color: var(--brass-night); }
.nn-hero__title { font-style: italic; color: var(--on-night); }
.nn-hero__actions { display: flex; flex-wrap: wrap; gap: var(--space-3); }

/* ==========================================================================
   6. Home sections
   ========================================================================== */
/* Meet Nick */
.nn-meet { display: flex; flex-wrap: wrap; gap: var(--space-6); align-items: center; }
.nn-meet__portrait { flex: 1 1 380px; max-width: 520px; aspect-ratio: 4 / 5; overflow: hidden; background: var(--line); }
.nn-meet__portrait img { width: 100%; height: 100%; object-fit: cover; }
.nn-meet__portrait .nn-ph { align-items: center; justify-content: center; flex-direction: column; gap: 16px; background: var(--surface-raised); border: 1px solid var(--line); }
.nn-meet__portrait .nn-ph img { width: 72px; height: 72px; opacity: 0.85; }
.nn-meet__body { flex: 999 1 420px; min-width: 0; max-width: 620px; display: flex; flex-direction: column; gap: 20px; }
.nn-stats { display: flex; flex-wrap: wrap; gap: var(--space-5); padding-top: var(--space-2); }
.nn-stat__value { font-family: var(--display); font-size: 36px; line-height: 1.1; }
.nn-stat__label { font-size: 13px; line-height: 20px; color: var(--stone); margin-top: 4px; }

/* Team credit (brokerage always larger than the team name, per Arizona rules) */
.nn-team-credit { display: flex; flex-direction: column; gap: 6px; align-self: flex-start; padding-top: 16px; border-top: 1px solid var(--brass); color: var(--ink); }
.nn-team-credit:hover { color: var(--ink); }
.nn-team-credit__team { font-size: 11px; line-height: 16px; font-weight: 500; letter-spacing: 0.24em; text-transform: uppercase; color: var(--brass-text); }
.nn-team-credit__broker { font-family: var(--display); font-size: 24px; line-height: 1.2; }
.nn-team-credit:hover .nn-team-credit__broker { color: var(--brass-text); }
.nn-agent__team { font-size: 11px; line-height: 16px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--stone); margin-top: 2px; }
.nn-footer__broker-strong { font-weight: 500; font-size: 15px; color: var(--on-night); }

/* Cards grid */
.nn-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: var(--space-4); }
.nn-cards--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 1000px) { .nn-cards--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .nn-cards--3 { grid-template-columns: 1fr; } }

/* Listing card (design system ListingCard) */
.nn-lcard { display: flex; flex-direction: column; gap: var(--space-2); color: var(--ink); }
.nn-lcard:hover { color: var(--ink); }
.nn-lcard__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--line); margin-bottom: 12px; }
.nn-lcard__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.nn-lcard:hover .nn-lcard__media img { transform: scale(1.035); }
.nn-lcard__title { font-family: var(--display); font-size: 24px; line-height: 1.25; font-weight: 500; }
.nn-lcard__specs { font-size: 13px; line-height: 20px; color: var(--stone); white-space: pre; }
.nn-lcard__price { font-size: 16px; line-height: 26px; }
.nn-status-label { display: inline-block; padding: 7px 14px; background: var(--status-red); color: #fff; font-family: var(--sans); font-size: 11px; line-height: 16px; font-weight: 500; letter-spacing: 0.24em; text-transform: uppercase; white-space: nowrap; }
.nn-status-label--inline { vertical-align: middle; margin-left: 12px; }
/* Photo banner: a compact rectangle from the left edge, red softening out to the right. */
.nn-lcard__badge, .nn-hslider__label {
	position: absolute; left: 0; z-index: 3; width: auto; min-width: 0;
	background: linear-gradient(90deg, rgba(158, 43, 37, 0.95) 0%, rgba(158, 43, 37, 0.95) 62%, rgba(158, 43, 37, 0) 100%);
	font-weight: 500; line-height: 1;
}
.nn-lcard__badge { top: 20px; padding: 10px 40px 10px 16px; font-size: 13px; letter-spacing: 0.2em; }
.nn-hslider__label { top: 32px; padding: 14px 56px 14px 28px; font-size: 15px; letter-spacing: 0.22em; }
@media (max-width: 760px) { .nn-hslider__label { top: 18px; padding: 11px 44px 11px 18px; font-size: 13px; } }
.nn-sold-card { gap: var(--space-3); }
.nn-past__head { display: flex; flex-direction: column; gap: var(--space-3); max-width: 760px; margin-bottom: var(--space-5); }
.nn-past__note { margin-top: var(--space-5); padding-top: var(--space-3); border-top: 1px solid var(--line); max-width: 760px; }
.nn-lcard--private .nn-lcard__media { background: var(--surface-night); display: flex; align-items: flex-end; padding: 16px; }
.nn-lcard--private .nn-lcard__media img { position: absolute; inset: 0; filter: blur(18px) brightness(0.45); transform: scale(1.2); }
.nn-lcard--private:hover .nn-lcard__media img { transform: scale(1.2); }
.nn-lcard--private .nn-lcard__media span { position: relative; font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--night-mute); }
.nn-lcard--private .nn-lcard__price { align-self: flex-start; border-bottom: 1px solid var(--brass); }
.nn-badge { display: inline-block; margin-left: 8px; padding: 2px 8px; border: 1px solid currentColor; font-size: 11px; letter-spacing: 0.24em; vertical-align: middle; }

/* Night sections */
.nn-night { background: var(--surface-night); color: var(--on-night); }
.nn-night .nn-eyebrow { color: var(--brass-night); }
.nn-split { display: flex; flex-wrap: wrap; gap: var(--space-6); align-items: center; }
.nn-split > * { flex: 1 1 420px; min-width: 0; }
.nn-split__text { display: flex; flex-direction: column; gap: 20px; max-width: 560px; }
.nn-night .nn-body-l { opacity: 0.85; }

/* Communities */
.nn-areas { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-4); }
@media (max-width: 1000px) { .nn-areas { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .nn-areas { grid-template-columns: 1fr; } .nn-area-card__media { aspect-ratio: 4 / 3; } }
.nn-area-card { display: flex; flex-direction: column; gap: 12px; color: var(--ink); }
.nn-area-card:hover { color: var(--ink); }
.nn-area-card__media { aspect-ratio: 3 / 4; overflow: hidden; background: var(--line); }
.nn-area-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.nn-area-card:hover .nn-area-card__media img { transform: scale(1.035); }
.nn-area-card__name { font-family: var(--display); font-size: 28px; line-height: 1.15; }
.nn-area-card--all { justify-content: center; padding: var(--space-4); border: 1px solid var(--line); min-height: 200px; }
.nn-area-card--all:hover { border-color: var(--brass); }

/* Selling */
.nn-sell { display: flex; flex-wrap: wrap; gap: var(--space-6); }
.nn-sell > * { flex: 1 1 420px; min-width: 0; }
.nn-sell__intro { display: flex; flex-direction: column; gap: var(--space-4); }
.nn-points { display: flex; flex-direction: column; gap: 20px; border-top: 1px solid var(--line); padding-top: var(--space-4); }
.nn-points h3 { font-family: var(--display); font-size: 24px; line-height: 1.25; font-weight: 500; margin-bottom: 4px; }
.nn-points p { color: var(--stone); }

/* Testimonial */
.nn-quote { display: flex; flex-direction: column; align-items: center; gap: var(--space-4); text-align: center; }
.nn-quote blockquote { margin: 0; max-width: 900px; font-family: var(--display); font-style: italic; font-size: clamp(26px, 2vw + 14px, 36px); line-height: 1.3; }
.nn-quote .nn-eyebrow { color: var(--stone); }

/* Journal */
.nn-jcard { display: flex; flex-direction: column; gap: 10px; color: var(--ink); }
.nn-jcard:hover { color: var(--ink); }
.nn-jcard__media { aspect-ratio: 16 / 10; overflow: hidden; background: var(--line); margin-bottom: 8px; }
.nn-jcard__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.nn-jcard:hover .nn-jcard__media img { transform: scale(1.035); }
.nn-jcard__title { font-family: var(--display); font-size: 24px; line-height: 1.25; font-weight: 500; }

/* Social strip */
.nn-social { display: flex; flex-wrap: wrap; gap: var(--space-3); align-items: center; justify-content: space-between; padding: var(--space-4) 32px; border: 1px solid var(--line); }
.nn-social__links { display: flex; gap: var(--space-4); flex-wrap: wrap; }
.nn-social__grid { flex: 1 1 480px; min-width: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; }
.nn-social__grid a { aspect-ratio: 1; overflow: hidden; background: var(--line); }
.nn-social__grid img { width: 100%; height: 100%; object-fit: cover; }

/* ==========================================================================
   7. Forms
   ========================================================================== */
.nn-form { display: grid; gap: var(--space-3); }
.nn-form--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.nn-form--2 > .nn-f--wide, .nn-form--2 > .nn-consent, .nn-form--2 > .nn-form__error { grid-column: 1 / -1; }
.nn-form--2 > button { grid-column: 1 / -1; justify-self: start; }
.nn-f { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.nn-f label { font-size: 11px; line-height: 16px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--stone); }
.nn-f input, .nn-f select, .nn-f textarea {
	width: 100%; min-height: 50px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 2px;
	background: var(--surface-raised); color: var(--ink); font-size: 16px; line-height: 24px; appearance: none;
}
.nn-f select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2366625b' stroke-width='1.25'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 18px; padding-right: 40px; }
.nn-f input:focus, .nn-f select:focus, .nn-f textarea:focus { outline: none; border-color: var(--ink); }
.nn-consent { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; line-height: 20px; color: var(--stone); cursor: pointer; }
.nn-consent input { margin: 3px 0 0; width: 16px; height: 16px; accent-color: var(--ink); flex: none; }
.nn-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.nn-form__error { color: #8a2f1d; font-size: 14px; }

.nn-form--night .nn-f label, .nn-form--night .nn-consent { color: var(--night-mute); }
.nn-form--night .nn-f input, .nn-form--night .nn-f select { border-color: var(--surface-raised); }
.nn-form--night .nn-consent input { accent-color: var(--on-night); }

.nn-form--row { display: flex; flex-wrap: wrap; gap: var(--space-3); align-items: flex-end; }
.nn-form__intro { flex: 2 1 280px; min-width: 0; }
.nn-form__intro h3 { font-family: var(--display); font-weight: 400; font-size: 28px; line-height: 1.2; }
.nn-form__intro p { font-size: 13px; line-height: 20px; color: var(--stone); }
.nn-form--row .nn-f { flex: 1 1 220px; }
.nn-form--night { display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-end; }
.nn-form--night.nn-form--2 { display: grid; }
.nn-form--night .nn-f { flex: 1 1 220px; }

.nn-card-form { background: var(--surface-raised); border: 1px solid var(--line); padding: clamp(24px, 3vw, 40px); display: flex; flex-direction: column; gap: var(--space-3); }
.nn-night .nn-card-form { color: var(--ink); }
.nn-night .nn-card-form .nn-caption { color: var(--stone); }
.nn-card-form__title { font-family: var(--display); font-weight: 400; font-size: clamp(26px, 1.5vw + 14px, 32px); line-height: 1.15; }
.nn-card-form--aside .nn-card-form__title { font-size: 28px; }
.nn-card-form__alt { display: flex; gap: 8px; flex-wrap: wrap; }
.nn-card-form__alt .nn-btn { flex: 1 1 120px; padding: 12px; }

.nn-thanks { display: flex; flex-direction: column; gap: 12px; padding: var(--space-3) 0; }
.nn-thanks__title { font-family: var(--display); font-size: 28px; line-height: 1.2; }
.nn-thanks__text { color: var(--stone); }
.nn-night .nn-thanks__text { color: var(--night-mute); }

@media (max-width: 560px) { .nn-form--2 { grid-template-columns: 1fr; } }

/* ==========================================================================
   8. Listing detail
   ========================================================================== */
.nn-hslider { position: relative; height: calc(100vh - var(--header-h)); height: calc(100svh - var(--header-h)); min-height: 420px; max-height: 1000px; background: var(--surface-night); overflow: hidden; color: var(--on-night); }
.admin-bar .nn-hslider { height: calc(100svh - var(--header-h) - 32px); }
.nn-hslider__track { position: absolute; inset: 0; }
.nn-hslider__slide { position: absolute; inset: 0; padding: 0; border: 0; background: none; cursor: zoom-in; opacity: 0; visibility: hidden; transition: opacity 0.7s var(--ease), visibility 0s linear 0.7s; }
.nn-hslider__slide.is-active { opacity: 1; visibility: visible; transition: opacity 0.7s var(--ease); z-index: 1; }
.nn-hslider__slide img { width: 100%; height: 100%; object-fit: cover; }
.nn-hslider--private .nn-hslider__slide { cursor: default; }
.nn-hslider--private img { filter: blur(16px) brightness(0.55); transform: scale(1.12); }
.nn-hslider::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 160px; background: linear-gradient(to top, rgba(20, 27, 32, 0.55), rgba(20, 27, 32, 0)); pointer-events: none; z-index: 2; }
.nn-hslider__nav {
	position: absolute; top: 50%; z-index: 3; transform: translateY(-50%);
	display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 12px 18px;
	border: 1px solid rgba(247, 245, 241, 0.55); background: rgba(20, 27, 32, 0.35); color: var(--on-night); cursor: pointer;
	font-family: var(--sans); font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase;
	backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); transition: background 0.3s var(--ease), border-color 0.3s var(--ease);
}
.nn-hslider__nav:hover { background: rgba(20, 27, 32, 0.7); border-color: var(--on-night); }
.nn-hslider__nav .nn-icon { width: 16px; height: 16px; }
.nn-hslider__nav--prev { left: var(--gutter); }
.nn-hslider__nav--next { right: var(--gutter); }
.nn-hslider__bar { position: absolute; left: var(--gutter); right: var(--gutter); bottom: 24px; z-index: 3; display: flex; justify-content: space-between; align-items: center; gap: var(--space-3); flex-wrap: wrap; }
.nn-hslider__count { font-size: 13px; letter-spacing: 0.22em; }
.nn-hslider__actions { display: flex; gap: 8px; flex-wrap: wrap; }
@media (max-width: 760px) {
	.nn-hslider { height: 72svh; min-height: 360px; }
	.nn-hslider__nav { min-height: 44px; padding: 10px 12px; }
	.nn-hslider__nav span { display: none; }
	.nn-hslider__bar { bottom: 16px; }
	.nn-hslider__actions .nn-btn { padding: 8px 12px; min-height: 36px; font-size: 11px; }
}

/* Title, facts and quick actions */
.nn-lhead { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: var(--space-4); padding: var(--space-6) 0 var(--space-4); }
.nn-lhead__title { display: flex; flex-direction: column; gap: 10px; min-width: 0; flex: 1 1 520px; }
.nn-lhead__locality { font-size: 15px; line-height: 22px; color: var(--stone); }
.nn-lhead__price { font-family: var(--display); font-size: clamp(30px, 1.6vw + 18px, 44px); line-height: 1.1; white-space: nowrap; }
.nn-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); margin: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.nn-facts__item { display: flex; flex-direction: column; gap: 4px; padding: 20px 16px; border-left: 1px solid var(--line); }
.nn-facts__item:first-child { border-left: 0; padding-left: 0; }
.nn-facts dd { margin: 0; font-family: var(--display); font-size: clamp(24px, 0.8vw + 18px, 32px); line-height: 1.15; }
.nn-facts dt { font-size: 11px; line-height: 16px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--stone); }
@media (max-width: 640px) {
	.nn-facts { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.nn-facts__item { padding: 14px 10px; }
	.nn-facts__item:nth-child(3n + 1) { border-left: 0; padding-left: 0; }
	.nn-facts__item:nth-child(n + 4) { border-top: 1px solid var(--line); }
}
.nn-lactions { display: flex; flex-wrap: wrap; gap: 8px; padding-top: var(--space-4); }
.nn-lactions .nn-btn { min-height: 44px; padding: 10px 18px; font-size: 12px; }
.nn-lactions .nn-icon { width: 16px; height: 16px; }
.nn-btn--quiet { border-color: var(--line); }

/* Story beside the viewing form */
.nn-listing { display: grid; grid-template-columns: minmax(0, 1fr) minmax(320px, 400px); gap: clamp(40px, 6vw, 112px); align-items: start; padding: var(--space-6) 0; }
.nn-listing__main { min-width: 0; display: flex; flex-direction: column; gap: var(--space-5); }
.nn-listing__aside { min-width: 0; display: flex; flex-direction: column; gap: var(--space-3); position: sticky; top: calc(var(--header-h) + 24px); }
.admin-bar .nn-listing__aside { top: calc(var(--header-h) + 56px); }
@media (max-width: 1000px) { .nn-listing { grid-template-columns: 1fr; } .nn-listing__aside { position: static; } }
.nn-listing .nn-block { max-width: 760px; }
.nn-listing .nn-block--wide { max-width: none; }

.nn-readmore__body { position: relative; }
.nn-readmore.is-clamped:not(.is-open) .nn-readmore__body { max-height: 450px; overflow: hidden; }
.nn-readmore.is-clamped:not(.is-open) .nn-readmore__body::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 120px; background: linear-gradient(to bottom, rgba(247, 245, 241, 0), var(--surface)); }
.nn-readmore__toggle, .nn-collapse__toggle { align-self: flex-start; margin-top: 16px; padding: 0 0 2px; border: 0; border-bottom: 1px solid var(--brass); background: none; color: var(--ink); font-family: var(--sans); font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; cursor: pointer; }
.nn-collapse { display: flex; flex-direction: column; min-width: 0; }
.nn-collapse:not(.is-open) .nn-collapse__more { display: none; }

/* Film band */
.nn-filmband { padding: var(--section) 0; }
.nn-filmband .nn-wrap { display: flex; flex-direction: column; gap: var(--space-4); }
.nn-filmband .nn-film { max-width: 1280px; width: 100%; margin: 0 auto; }

/* Lower sections */
.nn-lmore { display: flex; flex-direction: column; gap: var(--section); padding-top: var(--section); padding-bottom: var(--space-6); }
.nn-lsec { display: flex; flex-direction: column; gap: var(--space-4); min-width: 0; }
.nn-dgroups { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-5); align-items: start; }
.nn-dgroups__title { font-size: 11px; line-height: 16px; font-weight: 500; letter-spacing: 0.24em; text-transform: uppercase; color: var(--brass-text); padding-bottom: 12px; border-bottom: 1px solid var(--ink); }
.nn-dgroups .nn-specs { max-width: none; }
@media (max-width: 1000px) { .nn-dgroups { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .nn-dgroups { grid-template-columns: 1fr; } }

.nn-docs { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: var(--space-4); }
.nn-doc { display: flex; flex-direction: column; background: var(--surface-raised); border: 1px solid var(--line); min-width: 0; }
.nn-doc__media { position: relative; display: flex; align-items: center; justify-content: center; aspect-ratio: 4 / 3; padding: 0; border: 0; overflow: hidden; background: var(--surface); }
.nn-doc__media img { width: 100%; height: 100%; object-fit: cover; }
.nn-doc__media--plan { cursor: zoom-in; background: #fff; }
.nn-doc__media--plan img { object-fit: contain; padding: 16px; }
.nn-doc__media--night { background: var(--surface-night); color: var(--on-night); }
.nn-doc__label { position: absolute; left: 16px; bottom: 16px; display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; background: var(--surface-raised); font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; }
.nn-doc__label .nn-icon { width: 16px; height: 16px; }
.nn-doc__body { display: flex; flex-direction: column; gap: 12px; padding: 24px; flex: 1; }
.nn-doc__title { font-family: var(--display); font-weight: 400; font-size: 24px; line-height: 1.2; }
.nn-doc__text { font-size: 15px; line-height: 23px; color: var(--stone); }
.nn-doc__body button.nn-link { background: none; border-top: 0; border-left: 0; border-right: 0; padding: 0 0 2px; font: inherit; color: var(--ink); cursor: pointer; }
.nn-doc__form { display: flex; flex-direction: column; gap: 10px; margin-top: auto; }
.nn-doc__form input { width: 100%; min-height: 48px; padding: 11px 14px; border: 1px solid var(--line); border-radius: 2px; background: var(--surface); color: var(--ink); font-size: 16px; appearance: none; }
.nn-doc__form input:focus { outline: none; border-color: var(--ink); }
.nn-doc__sent { padding: 14px 16px; border-left: 2px solid var(--brass); background: var(--surface); font-size: 15px; line-height: 23px; }

.nn-zoom { position: fixed; inset: 0; z-index: 1000; display: flex; align-items: center; justify-content: center; padding: 64px var(--gutter) var(--gutter); background: rgba(20, 27, 32, 0.96); opacity: 0; transition: opacity 0.25s var(--ease); }
.nn-zoom.is-open { opacity: 1; }
.nn-zoom img { max-width: 100%; max-height: 100%; object-fit: contain; background: #fff; }
.nn-zoom__close { position: absolute; top: 12px; right: var(--gutter); }

/* Phone action bar */
.nn-lbar { display: none; }
@media (max-width: 1000px) {
	.nn-lbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 890; display: flex; gap: 8px; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: var(--surface-raised); border-top: 1px solid var(--line); }
	.nn-lbar .nn-btn { flex: 1 1 auto; min-height: 46px; padding: 10px 14px; font-size: 12px; }
	.nn-lbar .nn-btn--solid { flex: 2 1 auto; }
	.nn-lbar .nn-icon { width: 16px; height: 16px; }
	body.nn-has-lbar { padding-bottom: 72px; }
	body.nn-has-lbar .nn-cc-launch { display: none; }
	body.nn-has-lbar .nn-cc-nudge { bottom: 84px; }
}
body.nn-lb-open .nn-lbar, body.nn-nav-open .nn-lbar { display: none; }

.nn-listing__head { display: flex; flex-direction: column; gap: 12px; }
.nn-listing__headline { font-family: var(--display); font-style: italic; font-size: 22px; line-height: 1.35; color: var(--stone); }
.nn-listing__specs { font-size: 15px; line-height: 22px; color: var(--stone); white-space: pre-wrap; }
.nn-listing__price { font-family: var(--display); font-size: 32px; line-height: 1.2; }
.nn-block { display: flex; flex-direction: column; gap: var(--space-3); max-width: 680px; }
.nn-block--wide { max-width: none; }
.nn-prose { font-size: 18px; line-height: 30px; font-weight: 300; }
.nn-prose > * + * { margin-top: 1.1em; }
.nn-prose a { border-bottom: 1px solid var(--brass); }
.nn-prose h2, .nn-prose h3 { font-family: var(--display); font-weight: 400; line-height: 1.15; margin-top: 1.6em; }
.nn-prose h2 { font-size: var(--fs-m); }
.nn-prose h3 { font-size: 26px; }
.nn-prose blockquote { margin: 1.6em 0; padding: 0; font-family: var(--display); font-style: italic; font-size: 26px; line-height: 1.35; }
.nn-prose ul { padding-left: 1.2em; }

.nn-specs { display: flex; flex-direction: column; max-width: 680px; }
.nn-spec { display: flex; justify-content: space-between; gap: var(--space-3); padding: 12px 0; border-bottom: 1px solid var(--line); }
.nn-spec dt { font-size: 13px; line-height: 20px; color: var(--stone); }
.nn-spec dd { margin: 0; text-align: right; }

.nn-features { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: var(--space-4); }
.nn-features h3 { font-size: 11px; line-height: 16px; font-weight: 500; letter-spacing: 0.24em; text-transform: uppercase; color: var(--brass-text); margin-bottom: 12px; }
.nn-features ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.nn-features li { position: relative; padding-left: 20px; }
.nn-features li::before { content: ""; position: absolute; left: 0; top: 13px; width: 10px; height: 1px; background: var(--brass); }

.nn-media-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: var(--space-4); }
.nn-media-2 figure { margin: 0; display: flex; flex-direction: column; gap: 12px; }
.nn-media-2__frame { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--surface-raised); border: 1px solid var(--line); }
.nn-media-2__frame img { width: 100%; height: 100%; object-fit: contain; }
.nn-media-2__frame--night { background: var(--surface-night); border-color: var(--surface-night); color: var(--on-night); display: flex; align-items: center; justify-content: center; }
.nn-media-2__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.nn-play { display: inline-flex; align-items: center; justify-content: center; width: 72px; height: 72px; border: 1px solid var(--on-night); border-radius: 999px; }
.nn-play .nn-icon { width: 22px; height: 22px; margin-left: 3px; }
.nn-film { position: relative; aspect-ratio: 16 / 9; background: var(--surface-night); }
.nn-film iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.nn-map { position: relative; height: 340px; background: var(--line); overflow: hidden; }
.nn-map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(1) contrast(0.95) brightness(1.03); }
.nn-drive { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: var(--space-3); }
.nn-drive__value { font-family: var(--display); font-size: 28px; line-height: 1.2; }
.nn-courtesy { padding-top: var(--space-3); border-top: 1px solid var(--line); }

.nn-agent { display: flex; gap: var(--space-3); align-items: center; padding: var(--space-3) 0; }
.nn-agent__photo { width: 72px; height: 72px; flex: 0 0 72px; overflow: hidden; background: var(--line); display: flex; align-items: center; justify-content: center; }
.nn-agent__photo img { width: 100%; height: 100%; object-fit: cover; }
.nn-agent__photo .nn-mark { width: 40px; height: 40px; }
.nn-agent__name { font-family: var(--display); font-size: 20px; line-height: 1.25; font-weight: 500; }

.nn-private-gate { display: flex; flex-direction: column; gap: var(--space-4); padding: var(--space-5); background: var(--surface-night); color: var(--on-night); }
.nn-private-gate .nn-eyebrow { color: var(--brass-night); }

/* Lightbox */
.nn-lb { position: fixed; inset: 0; z-index: 1000; display: flex; flex-direction: column; background: rgba(20, 27, 32, 0.97); color: var(--on-night); opacity: 0; visibility: hidden; transition: opacity 0.3s var(--ease), visibility 0s linear 0.3s; }
.nn-lb.is-open { opacity: 1; visibility: visible; transition: opacity 0.3s var(--ease); }
.nn-lb__bar { display: flex; justify-content: space-between; align-items: center; padding: 16px var(--gutter); }
.nn-lb__count { font-size: 13px; letter-spacing: 0.14em; color: var(--night-mute); }
.nn-lb__stage { position: relative; flex: 1; display: flex; align-items: center; justify-content: center; padding: 0 var(--gutter) var(--space-5); min-height: 0; }
.nn-lb__stage img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
.nn-lb__btn { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; padding: 0; border: 1px solid rgba(247, 245, 241, 0.4); border-radius: 999px; background: transparent; color: var(--on-night); cursor: pointer; }
.nn-lb__btn:hover { border-color: var(--on-night); }
.nn-lb__prev, .nn-lb__next { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(20, 27, 32, 0.5); }
.nn-lb__prev { left: var(--gutter); }
.nn-lb__next { right: var(--gutter); }
body.nn-lb-open { overflow: hidden; }

/* ==========================================================================
   9. Collection, communities, pages
   ========================================================================== */
.nn-page-head { padding: clamp(48px, 7vw, 96px) 0 var(--space-5); border-bottom: 1px solid var(--line); }
.nn-page-head .nn-heading { max-width: 900px; }
.nn-page-head__intro { margin-top: var(--space-4); max-width: 640px; }
.nn-filter { display: flex; flex-wrap: wrap; gap: 28px; margin-top: var(--space-5); }
.nn-filter a { font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; padding: 4px 0; border-bottom: 1px solid transparent; color: var(--stone); }
.nn-filter a:hover { color: var(--ink); }
.nn-filter a.is-active { color: var(--ink); border-bottom-color: var(--brass); }
.nn-count { margin-left: auto; font-size: 13px; color: var(--stone); }
.nn-empty { padding: var(--space-6) 0; text-align: center; color: var(--stone); }

.nn-pagination { margin-top: var(--space-6); }
.nn-pagination .nav-links { display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; }
.nn-pagination .page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 48px; height: 48px; padding: 0 14px; border: 1px solid var(--line); font-size: 13px; letter-spacing: 0.1em; }
.nn-pagination .page-numbers.current, .nn-pagination .page-numbers:hover { border-color: var(--ink); color: var(--ink); }

.nn-area-hero { position: relative; height: clamp(420px, 45vw, 560px); background: #1d262c; color: var(--on-night); overflow: hidden; }
.nn-area-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.nn-area-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,27,32,0.1) 30%, rgba(20,27,32,0.7) 100%); }
.nn-area-hero__content { position: absolute; left: 0; right: 0; bottom: clamp(40px, 5vw, 64px); z-index: 1; }
.nn-area-hero .nn-heading { max-width: 760px; gap: 16px; }
.nn-area-hero .nn-eyebrow { color: var(--brass-night); }
.nn-living { display: flex; flex-wrap: wrap; gap: var(--space-6); }
.nn-living__text { flex: 999 1 520px; min-width: 0; max-width: 680px; display: flex; flex-direction: column; gap: 20px; }
.nn-living__aside { flex: 1 1 380px; min-width: 0; min-height: 420px; }
.nn-living__aside .nn-map { height: 100%; min-height: 420px; }
.nn-nearby { display: flex; flex-wrap: wrap; gap: 32px; }

.nn-contact { display: flex; flex-wrap: wrap; gap: var(--space-6); align-items: flex-start; }
.nn-contact > * { flex: 1 1 420px; min-width: 0; }
.nn-contact__details { display: flex; flex-direction: column; gap: var(--space-4); }
.nn-contact__details a { border-bottom: 1px solid var(--brass); }

.nn-article { padding-top: var(--space-6); padding-bottom: var(--section); }
.nn-article .nn-prose { max-width: 680px; margin: 0 auto; }
.nn-article__cover { margin-top: var(--space-5); aspect-ratio: 16 / 9; overflow: hidden; background: var(--line); }
.nn-article__cover img { width: 100%; height: 100%; object-fit: cover; }
.nn-404 { text-align: center; padding: var(--section) 0; display: flex; flex-direction: column; align-items: center; gap: var(--space-4); }

/* ==========================================================================
   10. Footer and compliance
   ========================================================================== */
.nn-footer { background: var(--surface-night); color: var(--on-night); padding: 72px 0 40px; }
.nn-footer a { color: var(--on-night); }
.nn-footer a:hover { color: var(--brass-night); }
.nn-footer__top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--space-5); }
.nn-footer__brand { display: flex; flex-direction: column; gap: var(--space-3); }
.nn-footer__brand img { height: 40px; width: auto; align-self: flex-start; }
.nn-footer__contact { font-size: 13px; line-height: 20px; color: var(--night-mute); }
.nn-footer__contact a { color: var(--night-mute); }
.nn-footer__tagline { font-family: var(--display); font-style: italic; font-size: 20px; color: var(--night-mute); }
.nn-footer__nav { display: flex; gap: 48px; flex-wrap: wrap; }
.nn-footer__nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.nn-footer__nav a { font-size: 13px; line-height: 20px; letter-spacing: 0.14em; text-transform: uppercase; }
.nn-footer__broker { display: flex; flex-direction: column; gap: 10px; align-self: flex-start; padding-left: var(--space-5); border-left: 1px solid var(--night-line); }
.nn-footer__broker img { max-height: 48px; width: auto; }
.nn-footer__broker-name { font-size: 15px; letter-spacing: 0.06em; }
.nn-footer__broker-meta { font-size: 13px; line-height: 20px; color: var(--night-mute); }
.nn-footer__legal { margin-top: var(--space-5); padding-top: var(--space-4); border-top: 1px solid var(--night-line); display: flex; flex-direction: column; gap: 12px; font-size: 13px; line-height: 20px; color: #a3a8aa; }
.nn-footer__legal p { margin: 0; }
.nn-footer__legal-row { display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; }
.nn-footer__legal-row a, .nn-footer__legal-row span { color: #a3a8aa; }
.nn-footer__legal-row .menu { list-style: none; margin: 0; padding: 0; display: contents; }
.nn-footer__legal-row .menu li { display: inline; }
.nn-eho { display: inline-flex; align-items: center; gap: 8px; }
.nn-eho .nn-icon { width: 18px; height: 18px; }
@media (max-width: 800px) { .nn-footer__broker { padding-left: 0; border-left: 0; padding-top: var(--space-4); border-top: 1px solid var(--night-line); width: 100%; } }

/* ==========================================================================
   Concierge (AI assistant panel, per wireframe: small button, never a pop-up)
   ========================================================================== */
.nn-cc-launch {
	position: fixed; right: 24px; bottom: 24px; z-index: 900;
	display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 14px 20px;
	border: 1px solid var(--ink); background: var(--ink); color: var(--surface); cursor: pointer;
	font-family: var(--sans); font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase;
	transition: background 0.3s var(--ease), opacity 0.3s var(--ease), transform 0.3s var(--ease);
}
.nn-cc-launch svg { width: 18px; height: 18px; }
.nn-cc-launch:hover { background: var(--surface-night); }
.nn-cc-launch.is-hidden { opacity: 0; pointer-events: none; transform: translateY(8px); }
body.nn-lb-open .nn-cc-launch, body.nn-nav-open .nn-cc-launch { display: none; }

.nn-cc {
	position: fixed; right: 24px; bottom: 24px; z-index: 950;
	display: flex; flex-direction: column; width: 380px; max-width: calc(100vw - 32px); height: min(620px, calc(100vh - 140px));
	background: var(--surface-raised); border: 1px solid var(--ink); color: var(--ink);
	opacity: 0; transform: translateY(12px); transition: opacity 0.25s var(--ease), transform 0.25s var(--ease);
}
.nn-cc.is-open { opacity: 1; transform: none; }
.nn-cc[hidden] { display: none; }
.nn-cc__survey { align-self: stretch; display: flex; flex-direction: column; gap: 12px; padding: 16px; background: var(--surface); border: 1px solid var(--line); }
.nn-cc__survey.is-done { opacity: 0.55; }
.nn-cc__survey-title { font-family: var(--display); font-size: 18px; line-height: 1.25; }
.nn-cc__survey-label { font-size: 10px; line-height: 14px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--stone); margin-bottom: 6px; }
.nn-cc__survey-options { display: flex; flex-wrap: wrap; gap: 6px; }
.nn-cc__opt { padding: 7px 11px; border: 1px solid var(--line); background: var(--surface-raised); color: var(--ink); font-family: var(--sans); font-size: 13px; line-height: 18px; cursor: pointer; transition: border-color 0.2s, background 0.2s, color 0.2s; }
.nn-cc__opt:hover { border-color: var(--brass); }
.nn-cc__opt[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--surface); }
.nn-cc__survey-send { align-self: flex-start; margin-top: 4px; padding: 10px 22px; border: 1px solid var(--ink); background: var(--ink); color: var(--surface); font-family: var(--sans); font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; cursor: pointer; }
.nn-cc__survey-send:disabled { opacity: 0.4; cursor: default; }
/* Tap flows */
.nn-cc__flow { align-self: stretch; display: flex; flex-direction: column; gap: 14px; }
.nn-cc__flow-row { display: flex; flex-direction: column; }
.nn-cc__flow-opts { display: flex; flex-wrap: wrap; gap: 8px; }
.nn-cc__flow-opts--stack { flex-direction: column; align-items: flex-start; }
.nn-cc__flow-opts--two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.nn-cc__flow-opts--two .nn-cc__opt { text-align: left; }
.nn-cc__flow-opts--compact .nn-cc__opt { min-width: 48px; text-align: center; }
.nn-cc__flow .nn-cc__opt { min-height: 40px; padding: 9px 14px; font-size: 14px; }
.nn-cc__flow .nn-cc__survey-send { align-self: flex-start; min-height: 44px; }
.nn-cc__fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.nn-cc__field { grid-column: span 2; display: flex; flex-direction: column; }
.nn-cc__field--half { grid-column: span 1; }
.nn-cc__field .nn-cc__survey-label { margin-bottom: 4px; }
.nn-cc__field input { min-height: 44px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 2px; background: var(--surface-raised); font-family: var(--sans); font-size: 15px; color: var(--ink); }
.nn-cc__field input:focus { outline: none; border-color: var(--ink); }
.nn-cc__field input[aria-invalid="true"] { border-color: var(--status-red); }
.nn-cc__field-error { margin: 0; min-height: 0; font-size: 13px; line-height: 18px; color: var(--status-red); }
.nn-cc__field-error:empty { display: none; }
.nn-cc__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 16px 16px 16px 20px; background: var(--surface-night); color: var(--on-night); }
.nn-cc__title { font-family: var(--display); font-size: 20px; line-height: 1.2; }
.nn-cc__sub { font-size: 12px; line-height: 18px; color: var(--night-mute); }
.nn-cc__tools { display: flex; gap: 4px; }
.nn-cc__icon { width: 40px; height: 40px; border: 0; background: none; color: var(--on-night); font-size: 20px; line-height: 1; cursor: pointer; }
.nn-cc__icon:hover { color: var(--brass-night); }
.nn-cc__log { flex: 1; overflow-y: auto; padding: 20px; display: flex; flex-direction: column; gap: 12px; }
.nn-cc__msg { margin: 0; max-width: 88%; padding: 12px 14px; font-size: 14px; line-height: 21px; white-space: pre-wrap; overflow-wrap: anywhere; }
.nn-cc__msg--assistant { align-self: flex-start; background: var(--surface); border: 1px solid var(--line); }
.nn-cc__msg--user { align-self: flex-end; background: var(--ink); color: var(--surface); }
.nn-cc__msg a { border-bottom: 1px solid var(--brass); }
.nn-cc__typing { display: inline-flex; gap: 5px; padding: 14px 16px; }
.nn-cc__typing span { width: 6px; height: 6px; border-radius: 50%; background: var(--stone); animation: nn-cc-dot 1.2s infinite ease-in-out; }
.nn-cc__typing span:nth-child(2) { animation-delay: 0.15s; }
.nn-cc__typing span:nth-child(3) { animation-delay: 0.3s; }
@keyframes nn-cc-dot { 0%, 80%, 100% { opacity: 0.25; transform: translateY(0); } 40% { opacity: 1; transform: translateY(-3px); } }
.nn-cc__chips { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 20px 12px; }
.nn-cc__chips:empty { display: none; }
.nn-cc__chip { padding: 8px 12px; border: 1px solid var(--ink); background: transparent; cursor: pointer; font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; }
.nn-cc__chip:hover { border-color: var(--brass); }
.nn-cc__form { display: flex; gap: 8px; padding: 12px 16px; border-top: 1px solid var(--line); }
.nn-cc__form input { flex: 1; min-width: 0; min-height: 44px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 2px; background: var(--surface); font-size: 15px; }
.nn-cc__form input:focus { outline: none; border-color: var(--ink); }
.nn-cc__send { min-height: 44px; padding: 10px 16px; border: 1px solid var(--ink); background: var(--ink); color: var(--surface); cursor: pointer; font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; }
.nn-cc__send:disabled { opacity: 0.5; cursor: wait; }
.nn-cc__foot { margin: 0; padding: 0 16px 12px; font-size: 11px; line-height: 16px; color: var(--stone); }
@media (max-width: 560px) {
	.nn-cc-launch { right: 16px; bottom: 16px; padding: 12px 16px; }
	.nn-cc { left: 0; right: 0; bottom: 0; width: auto; max-width: none; height: 85vh; border-left: 0; border-right: 0; border-bottom: 0; }
}

/* ==========================================================================
   10b. Guides, schools and nearby, concierge nudge
   ========================================================================== */
.nn-guides__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-4); }
.nn-guides__grid--1 { grid-template-columns: 1fr; }
.nn-guides__grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 1000px) { .nn-guides__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .nn-guides__grid, .nn-guides__grid--2 { grid-template-columns: 1fr; } }

.nn-guide { display: flex; flex-direction: column; background: var(--surface-raised); border: 1px solid var(--line); min-width: 0; }
.nn-guide__cover { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--surface-night); }
.nn-guide__cover img { width: 100%; height: 100%; object-fit: cover; }
.nn-guide__placeholder { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px; padding: 24px; text-align: center; color: var(--on-night); border: 1px solid var(--night-line); outline: 1px solid var(--brass-night); outline-offset: -14px; }
.nn-guide__placeholder .nn-guide__mark, .nn-guide__placeholder svg { width: 56px; height: auto; flex: none; }
.nn-guide__ph-title { font-family: var(--display); font-style: italic; font-size: 22px; line-height: 1.2; max-width: 16em; }
.nn-guide__body { display: flex; flex-direction: column; gap: 12px; padding: clamp(20px, 2.4vw, 32px); flex: 1; }
.nn-guide__title { font-family: var(--display); font-weight: 400; font-size: clamp(22px, 1vw + 14px, 28px); line-height: 1.2; }
.nn-guide__text { font-size: 15px; line-height: 24px; color: var(--stone); }
.nn-guide__form { display: flex; flex-direction: column; gap: 10px; margin-top: auto; padding-top: 8px; }
.nn-guide__form input[type="text"], .nn-guide__form input[type="email"] {
	width: 100%; min-height: 48px; padding: 11px 14px; border: 1px solid var(--line); border-radius: 2px;
	background: var(--surface); color: var(--ink); font-size: 16px; line-height: 24px; appearance: none;
}
.nn-guide__form input:focus { outline: none; border-color: var(--ink); }
.nn-guide__form .nn-btn { width: 100%; justify-content: center; }
.nn-guide__fine { font-size: 12px; line-height: 18px; color: var(--stone); }
.nn-guide__sent { margin-top: auto; padding: 14px 16px; border-left: 2px solid var(--brass); background: var(--surface); font-size: 15px; line-height: 23px; }

/* Wide: cover beside the text (end of articles, community and invest pages) */
.nn-guide--wide { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); }
.nn-guide--wide .nn-guide__cover { aspect-ratio: auto; min-height: 320px; }
.nn-guide--wide .nn-guide__form { flex-direction: row; flex-wrap: wrap; }
.nn-guide--wide .nn-guide__form input { flex: 1 1 180px; width: auto; }
.nn-guide--wide .nn-guide__form .nn-btn { flex: 1 1 100%; width: auto; }
.nn-guide--wide .nn-guide__fine { flex-basis: 100%; }
@media (max-width: 760px) { .nn-guide--wide { grid-template-columns: 1fr; } .nn-guide--wide .nn-guide__cover { min-height: 0; aspect-ratio: 16 / 9; } }
.nn-article .nn-guide--wide, .nn-prose + .nn-guide { margin-top: var(--space-6); }

/* Compact: listing sidebar */
.nn-guide--compact .nn-guide__body { padding: 24px; }
.nn-guide--compact .nn-guide__title { font-size: 22px; }
.nn-listing__aside .nn-guide { margin-top: var(--space-4); }

/* Schools and nearby on listings */
.nn-around { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-5); }
.nn-around__col { display: flex; flex-direction: column; gap: var(--space-3); min-width: 0; }
.nn-around__list { display: flex; flex-direction: column; margin: 0; border-top: 1px solid var(--line); }
.nn-around__list > div { display: grid; grid-template-columns: 9.5em minmax(0, 1fr); gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.nn-around__list dt { padding-top: 2px; }
.nn-around__list dd { margin: 0; font-size: 16px; line-height: 24px; }
.nn-around__time { display: block; font-size: 13px; color: var(--stone); }
.nn-around__note { color: var(--stone); }
.nn-around__note a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 760px) { .nn-around { grid-template-columns: 1fr; } }

/* Concierge nudge */
.nn-cc-nudge {
	position: fixed; right: 24px; bottom: 84px; z-index: 899; display: flex; align-items: flex-start; max-width: 300px;
	background: var(--surface-raised); border: 1px solid var(--line); box-shadow: 0 12px 32px rgba(20, 27, 32, 0.12);
	opacity: 0; transform: translateY(8px); transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
}
.nn-cc-nudge.is-visible { opacity: 1; transform: none; }
.nn-cc-nudge__text { flex: 1; padding: 14px 4px 14px 16px; border: 0; background: none; text-align: left; font-family: var(--sans); font-size: 14px; line-height: 21px; color: var(--ink); cursor: pointer; }
.nn-cc-nudge__close { width: 36px; height: 36px; border: 0; background: none; color: var(--stone); font-size: 18px; cursor: pointer; }
.nn-cc-nudge__close:hover, .nn-cc-nudge__text:hover { color: var(--brass-text); }
body.nn-lb-open .nn-cc-nudge, body.nn-nav-open .nn-cc-nudge { display: none; }
@media (max-width: 560px) { .nn-cc-nudge { right: 16px; bottom: 72px; max-width: calc(100vw - 32px); } }

/* ==========================================================================
   10c. Landing pages (Athletes, Relocation)
   ========================================================================== */
.nn-hero__sub { max-width: 34em; font-size: clamp(17px, 0.5vw + 14px, 20px); line-height: 1.55; color: var(--on-night); opacity: 0.9; }
.nn-hero--landing .nn-hero__title { max-width: 13em; font-size: var(--fs-l); line-height: 1.1; }
.nn-land-intro { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(40px, 6vw, 112px); align-items: start; }
.nn-land-intro__text { display: flex; flex-direction: column; gap: var(--space-4); }
.nn-pillars { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.nn-pillar { display: grid; grid-template-columns: 56px minmax(0, 1fr); column-gap: 12px; padding: var(--space-4) 0; border-bottom: 1px solid var(--line); }
.nn-pillar__num { grid-row: span 2; font-family: var(--display); font-size: 22px; color: var(--brass-text); }
.nn-pillar__title { font-family: var(--display); font-weight: 400; font-size: 24px; line-height: 1.2; margin-bottom: 6px; }
.nn-pillar p:last-child { color: var(--stone); font-size: 16px; line-height: 25px; }
@media (max-width: 900px) { .nn-land-intro { grid-template-columns: 1fr; } }

.nn-land-how { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(40px, 6vw, 112px); }
.nn-steps { list-style: none; margin: 0; padding: 0; counter-reset: step; border-top: 1px solid var(--night-line); }
.nn-steps li { counter-increment: step; position: relative; padding: var(--space-4) 0 var(--space-4) 64px; border-bottom: 1px solid var(--night-line); }
.nn-steps li::before { content: counter(step, decimal-leading-zero); position: absolute; left: 0; top: var(--space-4); font-family: var(--display); font-size: 22px; color: var(--brass-night); }
.nn-steps h3 { font-family: var(--display); font-weight: 400; font-size: 24px; line-height: 1.2; margin-bottom: 8px; }
.nn-steps p { color: var(--night-mute); font-size: 16px; line-height: 25px; }
@media (max-width: 900px) { .nn-land-how { grid-template-columns: 1fr; } }

.nn-homes4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-4); }
.nn-homes4 > div { padding-top: var(--space-3); border-top: 1px solid var(--ink); }
.nn-homes4 h3 { font-family: var(--display); font-weight: 400; font-size: 22px; line-height: 1.25; margin-bottom: 8px; }
.nn-homes4 p { color: var(--stone); font-size: 15px; line-height: 24px; }
@media (max-width: 1000px) { .nn-homes4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .nn-homes4 { grid-template-columns: 1fr; } }
.nn-land-homes__note { margin-top: var(--space-5); font-size: 15px; }

.nn-land-team { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(40px, 6vw, 112px); align-items: start; }
.nn-land-team__broker { font-family: var(--display); font-size: clamp(28px, 1.4vw + 18px, 40px); line-height: 1.15; margin-bottom: 10px; }
@media (max-width: 900px) { .nn-land-team { grid-template-columns: 1fr; } }

.nn-faq { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(40px, 6vw, 112px); }
.nn-faq__list { border-top: 1px solid var(--line); }
.nn-faq details { border-bottom: 1px solid var(--line); }
.nn-faq summary { list-style: none; cursor: pointer; padding: 22px 40px 22px 0; position: relative; font-family: var(--display); font-size: 22px; line-height: 1.3; }
.nn-faq summary::-webkit-details-marker { display: none; }
.nn-faq summary::after { content: "+"; position: absolute; right: 4px; top: 18px; font-family: var(--sans); font-size: 24px; color: var(--brass-text); transition: transform 0.3s var(--ease); }
.nn-faq details[open] summary::after { transform: rotate(45deg); }
.nn-faq details p { padding: 0 0 22px; color: var(--stone); font-size: 16px; line-height: 26px; max-width: 46em; }
@media (max-width: 900px) { .nn-faq { grid-template-columns: 1fr; } }

.nn-proof { display: flex; flex-wrap: wrap; gap: var(--space-5); margin-bottom: var(--space-4); }
.nn-proof__value { font-family: var(--display); font-size: clamp(30px, 1.6vw + 18px, 44px); line-height: 1.1; }
.nn-services { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-4); }
.nn-service { display: flex; flex-direction: column; gap: 12px; min-height: 240px; padding: clamp(24px, 2.6vw, 40px); background: var(--surface-raised); border: 1px solid var(--line); color: var(--ink); transition: border-color 0.3s var(--ease), transform 0.3s var(--ease); }
.nn-service:hover { border-color: var(--brass); color: var(--ink); transform: translateY(-2px); }
.nn-service__title { font-family: var(--display); font-size: clamp(26px, 1vw + 18px, 32px); line-height: 1.15; }
.nn-service__text { color: var(--stone); font-size: 16px; line-height: 25px; }
.nn-service__more { margin-top: auto; align-self: flex-start; padding-bottom: 2px; border-bottom: 1px solid var(--brass); font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; }
@media (max-width: 1000px) { .nn-services { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .nn-services { grid-template-columns: 1fr; } }

.nn-socials { display: flex; gap: 6px; list-style: none; margin: 0; padding: 0; }
.nn-socials a { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border: 1px solid var(--night-line); color: var(--on-night); transition: border-color 0.3s var(--ease), color 0.3s var(--ease); }
.nn-socials a:hover { border-color: var(--brass-night); color: var(--brass-night); }
.nn-socials .nn-icon { width: 18px; height: 18px; }
.nn-socials--footer { margin-top: var(--space-4); }

/* ==========================================================================
   11. Motion preferences
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
	.js .nn-reveal { opacity: 1; transform: none; }
}

/* Meet Nick */
.nn-about-intro { padding-top: clamp(48px, 6vw, 96px); }
.nn-about-intro__grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(40px, 6vw, 112px); align-items: center; }
.nn-about-intro__text { display: flex; flex-direction: column; gap: 22px; max-width: 600px; }
.nn-about-intro__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.nn-about-portrait { margin: 0; aspect-ratio: 4 / 5; overflow: hidden; background: var(--surface-night); }
.nn-about-portrait img { width: 100%; height: 100%; object-fit: cover; display: block; }
.nn-about-portrait__placeholder { height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; padding: 24px; color: var(--on-night); text-align: center; font-size: 13px; letter-spacing: 0.08em; opacity: 0.75; }
.nn-about-portrait__placeholder svg { width: 40px; height: 40px; }
.nn-about-figures { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.nn-about-figures__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.nn-about-figures__list li { padding: var(--space-5) var(--space-4); border-left: 1px solid var(--line); }
.nn-about-figures__list li:first-child { border-left: 0; padding-left: 0; }
.nn-night .nn-quote .nn-eyebrow { color: var(--brass); }
@media (max-width: 900px) {
	.nn-about-intro__grid { grid-template-columns: minmax(0, 1fr); }
	.nn-about-portrait { max-height: 75vh; }
	.nn-about-figures__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.nn-about-figures__list li { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); }
	.nn-about-figures__list li:nth-child(-n+2) { border-top: 0; }
}

/* Mobile legibility on photo heroes */
@media (max-width: 760px) {
	.nn-area-hero::after { background: linear-gradient(180deg, rgba(20,27,32,0.15) 20%, rgba(20,27,32,0.82) 100%); }
	.nn-hero__media::after { background: linear-gradient(180deg, rgba(20,27,32,0.15) 0%, rgba(20,27,32,0.3) 35%, rgba(20,27,32,0.85) 100%); }
	.nn-area-hero .nn-eyebrow, .nn-hero .nn-eyebrow { text-shadow: 0 1px 8px rgba(0,0,0,0.45); }
}

/* Market report figures (Journal articles) */
.nn-figures { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0 var(--space-4); max-width: 1080px; margin: 0 auto var(--space-6); }
.nn-figures__item { display: flex; flex-direction: column; gap: 6px; padding-top: var(--space-3); border-top: 1px solid var(--line); }
.nn-figures__value { font-family: var(--display); font-size: var(--fs-m); line-height: 1.1; color: var(--ink); }
.nn-figures__label { font-size: 11px; line-height: 16px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink); }
.nn-figures__note { font-size: 14px; line-height: 20px; color: var(--stone); }
@media (max-width: 900px) { .nn-figures { grid-template-columns: repeat(2, 1fr); gap: var(--space-4) var(--space-4); } }

/* Journal topics, filed-under chips and community links */
.nn-page-head__intro { max-width: 640px; margin-top: var(--space-3); color: var(--stone); font-size: 17px; line-height: 27px; }
.nn-jfilter { display: flex; flex-wrap: wrap; gap: 8px 28px; margin-top: var(--space-4); }
.nn-jfilter__link { font-size: 12px; line-height: 20px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--stone); padding: 4px 0; border-bottom: 1px solid transparent; }
.nn-jfilter__link:hover, .nn-jfilter__link.is-active { color: var(--ink); border-bottom-color: var(--brass); }
.nn-article__after { max-width: 680px; margin: var(--space-6) auto 0; display: flex; flex-direction: column; gap: var(--space-4); }
.nn-filed { display: flex; flex-direction: column; gap: 12px; padding-top: var(--space-4); border-top: 1px solid var(--line); }
.nn-filed__chips { display: flex; flex-wrap: wrap; gap: 8px; }
.nn-chip { display: inline-block; padding: 6px 14px; border: 1px solid var(--line); font-size: 13px; line-height: 20px; color: var(--ink); background: var(--surface-raised); }
.nn-chip:hover { border-color: var(--brass); color: var(--ink); }
.nn-chip--tag { color: var(--stone); }
.nn-area-cta { display: flex; flex-direction: column; gap: 6px; padding: var(--space-4); border: 1px solid var(--line); background: var(--surface-raised); color: var(--ink); }
.nn-area-cta:hover { border-color: var(--brass); color: var(--ink); }
.nn-area-cta__title { font-family: var(--display); font-size: 26px; line-height: 1.2; }

/* Private and investor access */
.nn-shared-note { margin: var(--space-4) 0 0; padding: 12px 16px; border-left: 2px solid var(--brass); background: var(--surface-raised); font-size: 14px; line-height: 22px; color: var(--stone); }
.nn-invest-flag { margin: var(--space-4) 0 0; font-size: 15px; color: var(--stone); }
.nn-invest-flag a { border-bottom: 1px solid var(--brass); color: var(--ink); }
.nn-invest-box { display: flex; flex-direction: column; gap: var(--space-3); margin: var(--space-5) 0 0; padding: var(--space-5); border: 1px solid var(--line); background: var(--surface-raised); }
.nn-invest-box .nn-form { display: flex; flex-wrap: wrap; gap: 16px; align-items: flex-end; }
.nn-invest__welcome { margin: 0 0 var(--space-4); color: var(--on-night); font-size: 18px; }
.nn-invest__item { display: flex; flex-direction: column; gap: 10px; }
.nn-invest__item .nn-lcard { color: var(--on-night); }
.nn-invest__note { margin: 0; padding-top: 10px; border-top: 1px solid var(--night-line); font-size: 14px; line-height: 21px; color: var(--night-mute); }
.nn-invest__veil { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: var(--space-4); }
.nn-invest__veil-item { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--night-line); }
.nn-invest__veil-item img { width: 100%; height: 100%; object-fit: cover; filter: blur(14px) brightness(0.5); transform: scale(1.2); }
.nn-invest__veil-item span { position: absolute; left: 10px; bottom: 8px; font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--night-mute); }

/* Soft sign-up prompt and toast */
.nn-soft { position: fixed; left: 24px; bottom: 24px; z-index: 120; width: min(400px, calc(100vw - 48px)); max-height: calc(100vh - 48px); overflow-y: auto; padding: var(--space-5) var(--space-4) var(--space-4); background: var(--surface-raised); border: 1px solid var(--line); box-shadow: 0 18px 50px rgba(20, 27, 32, 0.16); opacity: 0; transform: translateY(16px); transition: opacity 0.4s var(--ease), transform 0.4s var(--ease); }
.nn-soft.is-in { opacity: 1; transform: none; }
.nn-soft__close { position: absolute; top: 8px; right: 10px; width: 36px; height: 36px; border: 0; background: none; font-size: 24px; line-height: 1; color: var(--stone); cursor: pointer; }
.nn-soft__title { margin: 6px 0 8px; font-family: var(--display); font-weight: 400; font-size: 28px; line-height: 1.15; }
.nn-soft__text { margin: 0 0 var(--space-3); font-size: 15px; line-height: 23px; color: var(--stone); }
.nn-soft__form { display: flex; flex-direction: column; gap: 12px; }
.nn-soft__form .nn-btn { width: 100%; justify-content: center; }
@media (max-width: 600px) { .nn-soft { left: 0; right: 0; bottom: 0; width: auto; max-height: 85vh; border-left: 0; border-right: 0; } }
.nn-toast { position: fixed; left: 50%; bottom: 24px; z-index: 130; transform: translateX(-50%); max-width: calc(100vw - 32px); padding: 14px 20px; background: var(--ink); color: var(--on-night); font-size: 14px; line-height: 21px; transition: opacity 0.4s var(--ease); }
.nn-toast.is-out { opacity: 0; pointer-events: none; }

/* Header: keep the menu on one line on laptop screens */
.nn-nav ul { flex-wrap: nowrap; }
.nn-nav a { white-space: nowrap; }
@media (max-width: 1480px) and (min-width: 1101px) {
	.nn-nav ul { gap: 24px; }
	.nn-header__broker { display: none; }
}
@media (max-width: 1240px) and (min-width: 1101px) {
	.nn-nav ul { gap: 18px; }
	.nn-nav a { letter-spacing: 0.14em; }
}

/* Journal: featured article, reading time, video, author box */
.nn-jfeature { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--space-5); align-items: center; margin-bottom: var(--space-6); padding-bottom: var(--space-6); border-bottom: 1px solid var(--line); color: var(--ink); }
.nn-jfeature:hover { color: var(--ink); }
.nn-jfeature__media { aspect-ratio: 3 / 2; overflow: hidden; background: var(--line); }
.nn-jfeature__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.nn-jfeature:hover .nn-jfeature__media img { transform: scale(1.03); }
.nn-jfeature__text { display: flex; flex-direction: column; gap: var(--space-3); }
.nn-jfeature__title { margin: 0; font-family: var(--display); font-weight: 400; font-size: var(--fs-l); line-height: 1.05; }
.nn-jfeature__excerpt { margin: 0; font-size: 17px; line-height: 28px; font-weight: 300; color: var(--stone); }
@media (max-width: 900px) { .nn-jfeature { grid-template-columns: 1fr; gap: var(--space-4); } }
.nn-jcard__time { margin: 0; font-size: 12px; letter-spacing: 0.08em; color: var(--stone); }
.nn-article__video { position: relative; margin-top: var(--space-5); aspect-ratio: 16 / 9; background: var(--surface-night); }
.nn-article__video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.nn-author { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: var(--space-4); padding: var(--space-5) 0 0; border-top: 1px solid var(--line); }
.nn-author__photo { width: 120px; height: 150px; overflow: hidden; background: var(--surface-night); display: flex; align-items: center; justify-content: center; color: var(--brass-night); font-family: var(--display); font-size: 32px; }
.nn-author__photo img { width: 100%; height: 100%; object-fit: cover; }
.nn-author__text { display: flex; flex-direction: column; gap: 6px; }
.nn-author__name { margin: 0; font-family: var(--display); font-size: 28px; line-height: 1.1; }
.nn-author__bio { margin: 8px 0 0; font-size: 16px; line-height: 26px; font-weight: 300; }
.nn-author__actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-4); margin-top: var(--space-3); }
@media (max-width: 600px) { .nn-author { grid-template-columns: 1fr; } .nn-author__photo { width: 96px; height: 120px; } }


/* Interactive maps */
.nn-mapx { display: flex; flex-direction: column; gap: var(--space-3); }
.nn-mapx__chips { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; }
.nn-mapx__chips::-webkit-scrollbar { display: none; }
.nn-mapx__chip { flex: none; padding: 8px 16px; border: 1px solid var(--line); background: var(--surface-raised); color: var(--ink); font: inherit; font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; cursor: pointer; transition: border-color 0.2s var(--ease), background 0.2s var(--ease), color 0.2s var(--ease); }
.nn-mapx__chip:hover { border-color: var(--brass); }
.nn-mapx__chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--on-night); }
.nn-mapx__chip--picks[aria-pressed="true"] { background: var(--brass-text); border-color: var(--brass-text); }
.nn-mapx__stage { position: relative; height: clamp(380px, 52vw, 560px); background: var(--line); overflow: hidden; }
.nn-mapx--explore .nn-mapx__stage { height: clamp(460px, 70vh, 760px); }
.nn-mapx__map, .nn-mapx__map.mapboxgl-map { position: absolute; inset: 0; width: 100%; height: 100%; }
.nn-mapx__3d { position: absolute; left: 12px; top: 12px; z-index: 2; min-width: 44px; height: 36px; padding: 0 12px; border: 1px solid var(--line); background: var(--surface-raised); color: var(--ink); font: inherit; font-size: 12px; letter-spacing: 0.14em; cursor: pointer; box-shadow: 0 2px 10px rgba(20, 27, 32, 0.08); }
/* Map view buttons sit in one row at the top left. */
.nn-mapx__tools { position: absolute; left: 12px; top: 12px; z-index: 2; display: flex; flex-wrap: wrap; gap: 6px; max-width: calc(100% - 70px); }
.nn-mapx__tools .nn-mapx__3d { position: static; }
.nn-mapx__fly { display: inline-flex; align-items: center; gap: 7px; }
.nn-mapx__fly[aria-pressed="true"] svg path { d: path("M4 3h3v10H4zM9 3h3v10H9z"); }
.nn-mapx__3d[aria-pressed="true"] { background: var(--ink); color: var(--on-night); border-color: var(--ink); }
.nn-mapx__legend { position: absolute; left: 12px; bottom: 32px; z-index: 2; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding: 8px 12px; background: rgba(252, 251, 248, 0.94); border: 1px solid var(--line); font-size: 12px; color: var(--stone); }
.nn-mapx__legend-title { width: 100%; font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--brass-text); }
.nn-mapx__z::before { content: ""; display: inline-block; width: 12px; height: 12px; margin-right: 6px; vertical-align: -2px; border: 1px solid var(--brass-text); }
.nn-mapx__z--5::before { background: rgba(31, 90, 96, 0.45); }
.nn-mapx__z--10::before { background: rgba(63, 124, 128, 0.3); }
.nn-mapx__z--15::before { background: rgba(143, 186, 184, 0.25); }
.nn-mapx__body { display: grid; grid-template-columns: minmax(0, 1fr) 340px; border: 1px solid var(--line); background: var(--surface-raised); }
.nn-mapx--explore .nn-mapx__body, .nn-mapx__body:not(:has(.nn-mapx__list)) { grid-template-columns: minmax(0, 1fr); }
.nn-mapx__body .nn-mapx__stage { border-right: 1px solid var(--line); }
.nn-mapx__list { position: relative; display: flex; flex-direction: column; min-height: 0; height: clamp(380px, 52vw, 560px); }
.nn-mapx__lhead { flex: none; padding: 18px 20px 14px; border-bottom: 1px solid var(--line); }
.nn-mapx__ltitle { margin: 0; font-family: var(--display); font-size: 24px; line-height: 1.1; }
.nn-mapx__lcount { margin: 4px 0 0; font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--stone); }
.nn-mapx__lnone { padding: 16px 20px; }
.nn-mapx__items { flex: 1; overflow-y: auto; list-style: none; margin: 0; padding: 0; scrollbar-width: thin; }
.nn-mapx__items li + li { border-top: 1px solid var(--line); }
.nn-mapx__items button { display: flex; align-items: flex-start; gap: 12px; width: 100%; padding: 12px 20px; border: 0; background: none; text-align: left; font: inherit; color: var(--ink); cursor: pointer; transition: background 0.2s var(--ease); }
.nn-mapx__items button:hover, .nn-mapx__items button.is-hover { background: var(--surface); }
.nn-mapx__inum { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; border-radius: 50%; background: var(--ink); color: var(--on-night); font-size: 11px; font-weight: 500; margin-top: 1px; transition: background 0.2s var(--ease); }
.nn-mapx__items button:hover .nn-mapx__inum, .nn-mapx__items button.is-hover .nn-mapx__inum { background: var(--brass); }
.nn-mapx__itext { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.nn-mapx__iname { font-size: 15px; line-height: 1.35; }
.nn-mapx__itext em { font-style: normal; font-size: 12px; color: var(--brass-text); }
.nn-mapx__imeta { font-size: 12.5px; color: var(--stone); }
@media (max-width: 900px) {
	.nn-mapx__body { grid-template-columns: minmax(0, 1fr); }
	.nn-mapx__body .nn-mapx__stage { border-right: 0; border-bottom: 1px solid var(--line); }
	.nn-mapx__list { height: auto; max-height: 380px; }
}
.nn-mapx--failed .nn-mapx__stage::after { content: "The map could not load. Please refresh the page."; position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: var(--stone); font-size: 14px; }
.nn-mk-home { width: 44px; height: 52px; display: flex; align-items: flex-start; justify-content: center; padding-top: 9px; color: var(--on-night); background: var(--ink); clip-path: polygon(0 0, 100% 0, 100% 78%, 50% 100%, 0 78%); box-shadow: 0 6px 18px rgba(20, 27, 32, 0.3); }
.nn-mk-pop .mapboxgl-popup-content { padding: 16px 18px 14px; border-radius: 0; background: var(--surface-raised); box-shadow: 0 12px 34px rgba(20, 27, 32, 0.16); font-family: var(--sans); }
.nn-mk-pop .mapboxgl-popup-close-button { font-size: 18px; padding: 4px 8px; color: var(--stone); }
.nn-mk-pop__name { margin: 0 18px 4px 0; font-family: var(--display); font-size: 20px; line-height: 1.2; color: var(--ink); }
.nn-mk-pop__note { margin: 0 0 6px; font-size: 14px; line-height: 21px; color: var(--ink); }
.nn-mk-pop__meta { margin: 0 0 10px; font-size: 13px; color: var(--stone); }
.nn-mk-pop__link { font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink); border-bottom: 1px solid var(--brass); }
.nn-area-map { padding-bottom: var(--space-5); }

/* ==========================================================================
   Valley atlas (Communities and Explore)
   ========================================================================== */

.nn-section--atlas { padding-top: var(--space-4); }
.nn-atlas { display: grid; grid-template-columns: minmax(320px, 0.82fr) 1.6fr; gap: 0; border: 1px solid var(--line); background: var(--surface-raised); height: calc(100vh - var(--header-h) - 48px); min-height: 620px; max-height: 920px; }
.admin-bar .nn-atlas { height: calc(100vh - var(--header-h) - 80px); }
.nn-atlas__side { overflow-y: auto; padding: 24px 24px 32px; border-right: 1px solid var(--line); scrollbar-width: thin; }
.nn-atlas__tools { position: sticky; top: -24px; z-index: 2; display: flex; gap: 8px; margin: -24px -24px 8px; padding: 20px 24px 14px; background: var(--surface-raised); border-bottom: 1px solid var(--line); }
.nn-atlas__search { flex: 1; display: flex; align-items: center; gap: 8px; padding: 0 12px; border: 1px solid var(--line); background: var(--surface); color: var(--stone); }
.nn-atlas__search:focus-within { border-color: var(--ink); }
.nn-atlas__search input { flex: 1; min-width: 0; border: 0; background: transparent; font: inherit; font-size: 14px; padding: 11px 0; color: var(--ink); outline: none; }
.nn-atlas__sort { border: 1px solid var(--line); background: var(--surface); font: inherit; font-size: 13px; padding: 0 10px; color: var(--ink); }
.nn-atlas__group { margin: 22px 0 10px; }
.nn-atlas__count { color: var(--stone); letter-spacing: 0.08em; }
.nn-atlas__guides { display: grid; gap: 10px; }
.nn-atlas__guide { display: grid; grid-template-columns: 112px 1fr; gap: 16px; align-items: center; width: 100%; padding: 8px; border: 1px solid var(--line); background: var(--surface); text-align: left; font: inherit; color: var(--ink); cursor: pointer; transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease), transform 0.25s var(--ease); }
.nn-atlas__guide-media { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--line); }
.nn-atlas__guide-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease); }
.nn-atlas__guide-text { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.nn-atlas__guide-name { font-family: var(--display); font-size: 22px; line-height: 1.1; }
.nn-atlas__guide-sub { font-size: 13px; color: var(--stone); line-height: 1.4; }
.nn-atlas__guide-facts { display: flex; gap: 14px; margin-top: 4px; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--brass-text); }
.nn-atlas__guide:hover, .nn-atlas__guide.is-hover, .nn-atlas__guide:focus-visible { border-color: var(--brass); box-shadow: 0 10px 28px -18px rgba(20, 27, 32, 0.45); }
.nn-atlas__guide:hover img, .nn-atlas__guide.is-hover img { transform: scale(1.06); }
.nn-atlas__guide.is-active { border-color: var(--ink); box-shadow: inset 3px 0 0 var(--brass); }
.nn-atlas__rows { display: flex; flex-direction: column; }
.nn-atlas__row { display: flex; justify-content: space-between; align-items: center; gap: 12px; width: 100%; padding: 12px 10px; border: 0; border-bottom: 1px solid var(--line); background: transparent; text-align: left; font: inherit; color: var(--ink); cursor: pointer; transition: background 0.2s var(--ease), padding 0.2s var(--ease); }
.nn-atlas__row-name { display: flex; flex-direction: column; font-size: 15px; }
.nn-atlas__row-name small { font-size: 12px; color: var(--stone); }
.nn-atlas__row-go { font-size: 22px; line-height: 1; color: var(--stone); transition: transform 0.2s var(--ease), color 0.2s var(--ease); }
.nn-atlas__row:hover .nn-atlas__row-go, .nn-atlas__row.is-hover .nn-atlas__row-go { color: var(--brass-text); transform: translateX(3px); }
.nn-atlas__row:hover, .nn-atlas__row.is-hover, .nn-atlas__row:focus-visible { background: var(--surface); padding-left: 16px; }
.nn-atlas__row.is-active { background: var(--surface); box-shadow: inset 3px 0 0 var(--brass); padding-left: 16px; }
.nn-atlas [hidden] { display: none !important; }
.nn-atlas__empty { margin-top: 12px; }

.nn-atlas__stage { position: relative; min-height: 0; }
.nn-atlas__map, .nn-atlas__map.mapboxgl-map { position: absolute; inset: 0; width: 100%; height: 100%; }
.nn-atlas__mapbar { position: absolute; top: 12px; left: 12px; z-index: 2; display: flex; gap: 6px; }
.nn-atlas__btn { padding: 8px 14px; border: 1px solid var(--line); background: rgba(252, 251, 248, 0.94); font: inherit; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink); cursor: pointer; backdrop-filter: blur(6px); }
.nn-atlas__btn:hover { border-color: var(--brass); }
.nn-atlas__btn[aria-pressed="true"] { background: var(--ink); color: var(--on-night); border-color: var(--ink); }
.nn-atlas__legend { position: absolute; left: 12px; bottom: 30px; z-index: 2; display: flex; flex-direction: column; gap: 6px; padding: 12px 14px; background: rgba(252, 251, 248, 0.94); border: 1px solid var(--line); font-size: 11px; }
.nn-atlas__legend-title { letter-spacing: 0.14em; text-transform: uppercase; color: var(--stone); }
.nn-atlas__ramp { display: flex; }
.nn-atlas__ramp i { width: 30px; height: 10px; }
.nn-atlas__ramp i:nth-child(1) { background: #eaf0ee; } .nn-atlas__ramp i:nth-child(2) { background: #cfe0df; } .nn-atlas__ramp i:nth-child(3) { background: #8fbab8; }
.nn-atlas__ramp i:nth-child(4) { background: #3f7c80; } .nn-atlas__ramp i:nth-child(5) { background: #174a4f; } .nn-atlas__ramp i:nth-child(6) { background: #13383c; }
.nn-atlas__legend-ends { display: flex; justify-content: space-between; color: var(--stone); }

.nn-atlas__card { position: absolute; z-index: 3; top: 56px; left: 12px; max-height: calc(100% - 68px); width: 360px; overflow-y: auto; background: var(--surface-raised); border: 1px solid var(--line); box-shadow: 0 24px 60px -30px rgba(20, 27, 32, 0.55); animation: nn-atlas-in 0.45s var(--ease); }
@keyframes nn-atlas-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.nn-atlas__close { position: absolute; top: 8px; right: 8px; z-index: 2; width: 34px; height: 34px; border: 0; border-radius: 50%; background: rgba(252, 251, 248, 0.92); font-size: 22px; line-height: 1; color: var(--ink); cursor: pointer; }
.nn-atlas__card-media { aspect-ratio: 16 / 8; overflow: hidden; }
.nn-atlas__card-media img { width: 100%; height: 100%; object-fit: cover; }
.nn-atlas__card-body { padding: 22px 24px 24px; }
.nn-atlas__card-name { font-family: var(--display); font-size: 32px; line-height: 1.05; font-weight: 400; margin: 6px 0 8px; }
.nn-atlas__card-sub { color: var(--stone); font-size: 14px; line-height: 1.5; margin: 0 0 6px; }
.nn-atlas__stats { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; margin: 16px 0; background: var(--line); border: 1px solid var(--line); }
.nn-atlas__stats div { background: var(--surface-raised); padding: 12px 14px; }
.nn-atlas__stats dt { font-size: 9.5px; letter-spacing: 0.12em; white-space: nowrap; text-transform: uppercase; color: var(--stone); }
.nn-atlas__stats dd { margin: 4px 0 0; font-family: var(--display); font-size: 22px; font-variant-numeric: tabular-nums; }
.nn-atlas__drives { list-style: none; margin: 0 0 18px; padding: 0; display: flex; flex-direction: column; gap: 6px; font-size: 14px; color: var(--stone); }
.nn-atlas__drives span { color: var(--ink); font-weight: 500; }
.nn-atlas__card-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.nn-atlas__card-src { margin: 18px 0 0; font-size: 11px; line-height: 1.5; color: var(--stone); }
.nn-atlas__note { margin-top: 12px; }

@media (max-width: 1000px) {
	.nn-atlas { grid-template-columns: minmax(0, 1fr); height: auto; max-height: none; min-height: 0; }
	.nn-atlas__side, .nn-atlas__stage { min-width: 0; }
	.nn-atlas__side { padding: 20px 16px 28px; }
	.nn-atlas__tools { margin: -20px -16px 8px; padding: 16px; }
	.nn-atlas__search { min-width: 0; }
	.nn-atlas__guide { grid-template-columns: 92px minmax(0, 1fr); gap: 12px; }
	.nn-atlas__guide-name { font-size: 20px; }
	.nn-atlas__stats { margin: 12px 0; }
	.nn-atlas__stats div { padding: 8px 10px; }
	.nn-atlas__stats dt { font-size: 9px; line-height: 1.3; letter-spacing: 0.1em; }
	.nn-atlas__stats dd { font-size: 18px; margin-top: 2px; }
	.nn-atlas__sort { flex: none; width: 118px; }
	.nn-atlas__mapbar .nn-atlas__reset { display: none; }
	.nn-atlas__card-body { padding: 16px 18px 18px; }
	.nn-atlas__card-name { font-size: 26px; }
	.nn-atlas__card-src { display: none; }
	.admin-bar .nn-atlas { height: auto; }
	.nn-atlas__stage { order: -1; height: 62vh; min-height: 420px; border-bottom: 1px solid var(--line); }
	.nn-atlas__side { border-right: 0; overflow: visible; }
	.nn-atlas__tools { position: static; }
	.nn-atlas__card { top: auto; left: 8px; right: 8px; bottom: 8px; width: auto; max-height: 58%; }
	.nn-atlas__card-media { display: none; }
	.nn-atlas__legend { bottom: auto; top: 54px; }
}
@media (prefers-reduced-motion: reduce) { .nn-atlas__card { animation: none; } .nn-atlas__guide img { transition: none; } }
.nn-atlas__mark { display: flex; align-items: center; gap: 5px; pointer-events: none; font-size: 10px; letter-spacing: 0.08em; font-style: italic; color: var(--ink); text-shadow: 0 0 3px #f7f5f1, 0 0 3px #f7f5f1; }
.nn-atlas__mark svg { flex: none; padding: 4px; box-sizing: content-box; border-radius: 50%; background: var(--surface-raised); fill: var(--brass-text); box-shadow: 0 1px 4px rgba(20, 27, 32, 0.25); }
.nn-guides__maplink { display: inline-block; margin-top: var(--space-3); }

.nn-mapx__legend[hidden] { display: none !important; }

/* ==========================================================================
   Stats band (home, under the hero)
   ========================================================================== */
.nn-band { background: var(--surface-night); color: var(--on-night); }
.nn-band__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0; }
.nn-band--3 .nn-band__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.nn-band--2 .nn-band__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.nn-band--1 .nn-band__grid { grid-template-columns: minmax(0, 1fr); }
.nn-band__item { display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: 12px; padding: clamp(32px, 4.5vw, 56px) clamp(16px, 2.5vw, 36px); border-left: 1px solid var(--night-line); }
.nn-band__item:first-child { border-left: 0; padding-left: 0; }
.nn-band__value { margin: 0; white-space: nowrap; font-family: var(--display); font-size: clamp(2rem, 1rem + 2.4vw, 3.6rem); line-height: 1; font-variant-numeric: lining-nums tabular-nums; color: var(--on-night); }
.nn-band__label { font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--brass-night); line-height: 1.5; }
.nn-band__item.is-draft .nn-band__value { color: var(--night-mute); opacity: 0.55; }
.nn-band__item.is-draft { outline: 1px dashed var(--night-line); outline-offset: -8px; }
.nn-band__hint { order: -1; margin: 0; font-size: 11px; color: var(--night-mute); }
.nn-band__note { margin: 0; padding: 0 0 clamp(20px, 3vw, 32px); font-size: 12px; color: var(--night-mute); }
@media (max-width: 760px) {
	.nn-band__grid, .nn-band--3 .nn-band__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.nn-band__item { padding: 28px 16px; border-left: 0; border-top: 1px solid var(--night-line); }
	.nn-band__item:nth-child(2n) { border-left: 1px solid var(--night-line); }
	.nn-band__item:nth-child(-n+2) { border-top: 0; }
	.nn-band__item:first-child { padding-left: 16px; }
	.nn-band__item:nth-child(odd) { padding-left: 0; }
}

/* ==========================================================================
   Homepage refresh (full-frame hero, approved mock-up, Nov 2026)
   ========================================================================== */

/* Header over the hero, solid once you scroll past it */
.nn-logo--bone { display: none; }
.nn-header--overlay { position: fixed; left: 0; right: 0; background: transparent; border-bottom-color: transparent; transition: background-color 0.35s var(--ease), border-color 0.35s var(--ease); }
.nn-header--overlay:not(.is-solid) .nn-logo:not(.nn-logo--bone) { display: none; }
.nn-header--overlay:not(.is-solid) .nn-logo--bone { display: block; }
.nn-header--overlay:not(.is-solid) .nn-nav > ul > li > a,
.nn-header--overlay:not(.is-solid) .nn-header__broker,
.nn-header--overlay:not(.is-solid) .nn-nav-toggle { color: var(--on-night); }
.nn-header--overlay:not(.is-solid) .nn-nav > ul > li > a:hover { color: var(--brass-night); border-bottom-color: var(--brass-night); }
.nn-header--overlay:not(.is-solid) .nn-header__aside .nn-btn { border-color: rgba(247,245,241,0.85); color: var(--on-night); }
.nn-header--overlay:not(.is-solid) .nn-header__aside .nn-btn:hover { background: var(--on-night); color: var(--ink); }
.nn-header--overlay.is-solid { background: var(--surface); border-bottom-color: var(--line); }
body.nn-nav-open .nn-header--overlay { background: var(--surface); border-bottom-color: var(--line); }
body.nn-nav-open .nn-header--overlay .nn-logo:not(.nn-logo--bone) { display: block; }
body.nn-nav-open .nn-header--overlay .nn-logo--bone { display: none; }
body.nn-nav-open .nn-header--overlay .nn-nav-toggle { color: var(--ink); }
@media (max-width: 1100px) {
	.nn-header--overlay:not(.is-solid) .nn-nav > ul > li > a { color: var(--ink); }
	body:not(.nn-nav-open) .nn-header--overlay:not(.is-solid) .nn-nav > ul > li > a { color: var(--ink); }
}
@media (max-width: 782px) { .admin-bar .nn-header--overlay { top: 46px; } }

/* Full-frame hero */
.nn-hero--full { height: 100vh; height: 100svh; min-height: 640px; max-height: 1200px; }
.nn-hero--full .nn-hero__media::after {
	background:
		linear-gradient(180deg, rgba(15,21,25,0.55) 0%, rgba(15,21,25,0) 22%, rgba(15,21,25,0) 45%, rgba(15,21,25,0.72) 100%),
		linear-gradient(90deg, rgba(15,21,25,0.55) 0%, rgba(15,21,25,0) 60%);
}
.nn-hero--full .nn-hero__media img, .nn-hero--full .nn-hero__media video { object-position: center 60%; }
.nn-hero--full .nn-hero__content { bottom: clamp(104px, 9vw, 120px); }
.nn-hero--full .nn-hero__inner { gap: 24px; max-width: 760px; }
.nn-hero--full .nn-eyebrow { color: #9cc9c6; }
.nn-hero--full .nn-hero__title { font-style: normal; font-size: clamp(3.25rem, 1.2rem + 5.6vw, 6.5rem); line-height: 0.95; max-width: 8em; }
.nn-hero--full .nn-rule { width: 56px; background: var(--brass-night); }
.nn-hero--full .nn-hero__sub { max-width: 520px; font-size: clamp(16px, 0.4vw + 14px, 18px); line-height: 1.65; font-weight: 300; opacity: 0.92; }
.nn-hero--full .nn-hero__actions { margin-top: 8px; }
.nn-hero__scroll { position: absolute; right: var(--gutter); bottom: clamp(104px, 9vw, 120px); display: flex; flex-direction: column; align-items: center; gap: 14px; color: rgba(247,245,241,0.85); font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase; }
.nn-hero__scroll span { writing-mode: vertical-rl; }
.nn-hero__scroll i { width: 1px; height: 64px; background: linear-gradient(180deg, rgba(247,245,241,0.85), rgba(247,245,241,0)); animation: nn-scroll-cue 2.4s var(--ease) infinite; transform-origin: top; }
.nn-hero__scroll:hover { color: var(--brass-night); }
@keyframes nn-scroll-cue { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }
.nn-hero__strip { position: absolute; left: 0; right: 0; bottom: 40px; }
.nn-hero__strip-inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.nn-hero__strip-inner::before { content: ""; position: absolute; left: var(--gutter); right: var(--gutter); top: -18px; height: 1px; background: rgba(247,245,241,0.25); }
.nn-hero__strip { padding-top: 18px; }
.nn-hero__strip-inner { position: relative; }
.nn-hero__strip-inner::before { top: -18px; left: 0; right: 0; }
.nn-hero__home { font-size: 13px; letter-spacing: 0.04em; color: rgba(247,245,241,0.8); }
.nn-hero__home-link { font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase; color: rgba(247,245,241,0.85); }
.nn-hero__home-link:hover { color: var(--brass-night); }
.admin-bar .nn-hero--full { height: calc(100svh - 32px); }
@media (max-width: 782px) {
	.nn-hero--full .nn-hero__content { bottom: 88px; }
	.nn-hero--full .nn-hero__inner { gap: 18px; }
	.nn-hero--full .nn-hero__actions { flex-direction: column; align-items: stretch; }
	.nn-hero--full .nn-hero__actions .nn-btn { justify-content: center; text-align: center; }
	.nn-hero__scroll { display: none; }
	.nn-hero__strip { bottom: 24px; }
	.nn-hero__home-link { display: none; }
	.nn-hero--full .nn-hero__media::after { background: linear-gradient(180deg, rgba(15,21,25,0.6) 0%, rgba(15,21,25,0) 18%, rgba(15,21,25,0.35) 40%, rgba(15,21,25,0.88) 100%); }
	.nn-hero--full .nn-hero__media img { object-position: 38% 60%; }
}
@media (prefers-reduced-motion: reduce) { .nn-hero__scroll i { animation: none; } }

/* Section heads with a hairline under them */
.nn-sec-head--rule { padding-bottom: 28px; border-bottom: 1px solid var(--line); margin-bottom: var(--space-5); }
.nn-sec-head .nn-link { font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase; align-self: flex-end; }

/* Private listing card: a locked panel, never the photo */
.nn-lcard--private .nn-lcard__media { align-items: center; justify-content: center; flex-direction: column; gap: 16px; background: radial-gradient(120% 90% at 30% 20%, #2c373d 0%, var(--surface-night) 70%); }
.nn-lcard--private .nn-lcard__lock { color: var(--brass-night); }
.nn-lcard--private .nn-lcard__media span { color: var(--on-night); font-size: 11px; letter-spacing: 0.24em; }

/* Private list with a photo behind it */
.nn-pl { position: relative; overflow: hidden; }
.nn-pl--photo { padding: clamp(96px, 11vw, 160px) 0; }
.nn-pl__media { position: absolute; inset: 0; }
.nn-pl__media img { width: 100%; height: 100%; object-fit: cover; object-position: center 40%; opacity: 0.5; }
.nn-pl__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(15,21,25,0.92) 0%, rgba(15,21,25,0.78) 50%, rgba(15,21,25,0.55) 100%); }
.nn-pl .nn-wrap { position: relative; }
.nn-pl .nn-rule { width: 56px; background: var(--brass-night); }
.nn-pl__note { color: rgba(247,245,241,0.6); }
@media (max-width: 782px) { .nn-pl__media::after { background: linear-gradient(180deg, rgba(15,21,25,0.85), rgba(15,21,25,0.65)); } }

/* Community tiles with the name on the photo */
.nn-areas--home { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
.nn-area-tile { position: relative; display: block; aspect-ratio: 3 / 4; overflow: hidden; background: var(--surface-night); color: var(--on-night); }
.nn-area-tile:hover { color: var(--on-night); }
.nn-area-tile img, .nn-area-tile .nn-ph { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.nn-area-tile:hover img { transform: scale(1.035); }
.nn-area-tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(15,21,25,0) 45%, rgba(15,21,25,0.78) 100%); }
.nn-area-tile__text { position: absolute; z-index: 1; left: 20px; right: 20px; bottom: 22px; display: flex; flex-direction: column; gap: 6px; }
.nn-area-tile__name { font-family: var(--display); font-size: clamp(22px, 0.6vw + 16px, 26px); line-height: 1.1; }
.nn-area-tile__sub { font-size: 13px; line-height: 1.4; color: rgba(247,245,241,0.85); }
.nn-mapstrip { margin-top: 32px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px 32px; padding: 26px 32px; border: 1px solid var(--line); color: var(--ink); transition: border-color 0.25s var(--ease); }
.nn-mapstrip:hover { border-color: var(--brass); color: var(--ink); }
.nn-mapstrip__text { display: flex; align-items: center; gap: 20px; font-family: var(--display); font-size: clamp(18px, 0.5vw + 14px, 22px); line-height: 1.3; }
.nn-mapstrip__text svg { flex: none; color: var(--brass); }
.nn-mapstrip__cta { font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase; }
.nn-mapstrip:hover .nn-mapstrip__cta { color: var(--brass-text); }
@media (max-width: 1100px) { .nn-areas--home { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 700px) {
	.nn-areas--home { display: flex; grid-template-columns: none; overflow-x: auto; scroll-snap-type: x mandatory; margin-right: calc(var(--gutter) * -1); padding-right: var(--gutter); scrollbar-width: none; }
	.nn-areas--home::-webkit-scrollbar { display: none; }
	.nn-area-tile { flex: 0 0 72%; scroll-snap-align: start; }
	.nn-mapstrip { padding: 18px 20px; }
	.nn-mapstrip__text { font-size: 17px; gap: 14px; }
}

/* Selling: tinted band, numbered points, form on a white card */
.nn-section--tint { background: #e7e3de; }
.nn-section--tint .nn-card-form { background: var(--surface); border-color: transparent; padding: clamp(28px, 3.4vw, 48px); }
.nn-points--numbered { counter-reset: nn-point; gap: 0; padding-top: 0; border-top: 0; margin-top: 8px; }
.nn-points--numbered > div { counter-increment: nn-point; display: grid; grid-template-columns: 64px 1fr; padding: 28px 0; border-top: 1px solid #d6d1ca; }
.nn-points--numbered > div:last-child { border-bottom: 1px solid #d6d1ca; }
.nn-points--numbered > div::before { content: "0" counter(nn-point); grid-row: 1 / span 2; font-family: var(--display); font-size: 22px; line-height: 1.3; color: var(--brass); }
.nn-points--numbered h3 { font-family: var(--sans); font-size: 19px; font-weight: 400; line-height: 1.4; margin-bottom: 6px; }
.nn-points--numbered p { font-weight: 300; color: #2f3a40; }
@media (max-width: 600px) { .nn-points--numbered > div { grid-template-columns: 44px 1fr; padding: 20px 0; } }

/* Monthly market report as a dark bar */
.nn-mrbar { margin-top: clamp(48px, 6vw, 80px); background: var(--surface-night); color: var(--on-night); padding: clamp(28px, 4vw, 56px) clamp(24px, 4.4vw, 64px); }
.nn-mrbar .nn-form__intro h3 { font-size: clamp(26px, 1vw + 18px, 34px); line-height: 1.1; }
.nn-mrbar .nn-form__intro p, .nn-mrbar .nn-f label { color: var(--night-mute); }
.nn-mrbar .nn-f input, .nn-mrbar .nn-f select { background-color: transparent; color: var(--on-night); border-color: rgba(247,245,241,0.4); }
.nn-mrbar .nn-f select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23bdb7ab' stroke-width='1.25'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); }
.nn-mrbar .nn-f select option { color: var(--ink); }
.nn-mrbar .nn-f input:focus, .nn-mrbar .nn-f select:focus { border-color: var(--on-night); }
.nn-mrbar .nn-btn--solid { background: var(--on-night); border-color: var(--on-night); color: var(--ink); }
.nn-mrbar .nn-btn--solid:hover { background: transparent; color: var(--on-night); }
.nn-mrbar .nn-thanks__text { color: var(--night-mute); }

/* Instagram strip, edge to edge */
.nn-insta__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 12px 24px; margin-bottom: 28px; }
.nn-insta__title { font-family: var(--display); font-weight: 400; font-size: clamp(24px, 1vw + 16px, 30px); }
.nn-insta__links { display: flex; gap: 24px; font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase; }
.nn-insta__grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 4px; }
.nn-insta__grid a { aspect-ratio: 1; overflow: hidden; background: var(--line); }
.nn-insta__grid img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease), opacity 0.3s; }
.nn-insta__grid a:hover img { transform: scale(1.04); opacity: 0.9; }
.nn-insta { padding-bottom: 0; }
@media (max-width: 700px) { .nn-insta__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 3px; } .nn-insta__grid a:nth-child(n+4) { display: none; } }

/* Meet Nick: photo on the left, dark panel on the right (reverse of djdenner.ca) */
.nn-meetx { position: relative; overflow: hidden; background: #0f1519; color: var(--on-night); border-top: 1px solid var(--night-line); min-height: clamp(640px, 52vw, 820px); display: flex; align-items: center; }
.nn-meetx__media { position: absolute; top: 0; bottom: 0; left: 0; width: 62%; }
.nn-meetx--wide .nn-meetx__media { width: 100%; }
.nn-meetx__media img { width: 100%; height: 100%; object-fit: cover; object-position: center 25%; }
.nn-meetx--wide .nn-meetx__media img { object-position: left center; }
.nn-meetx__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(15,21,25,0) 0%, rgba(15,21,25,0) 45%, rgba(15,21,25,0.85) 88%, #0f1519 100%); }
.nn-meetx--wide .nn-meetx__media::after { background: linear-gradient(90deg, rgba(15,21,25,0) 0%, rgba(15,21,25,0.1) 35%, rgba(15,21,25,0.8) 65%, #0f1519 100%); }
.nn-meetx__ph { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px; background: radial-gradient(90% 80% at 40% 40%, #1c252b 0%, #0f1519 75%); }
.nn-meetx__ph img { width: 80px; height: 80px; opacity: 0.7; }
.nn-meetx__ph span { font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--night-mute); }
.nn-meetx__wrap { position: relative; display: flex; justify-content: flex-end; padding-top: clamp(64px, 7vw, 104px); padding-bottom: clamp(64px, 7vw, 104px); }
.nn-meetx__panel { width: min(600px, 48%); display: flex; flex-direction: column; align-items: center; text-align: center; gap: 22px; padding: clamp(36px, 4.4vw, 64px) clamp(28px, 4vw, 64px); background: rgba(20,27,32,0.82); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); border: 1px solid rgba(247,245,241,0.08); }
.nn-meetx__panel .nn-eyebrow { color: var(--brass-night); }
.nn-meetx__panel .nn-display { max-width: 12em; }
.nn-meetx__panel .nn-rule { width: 56px; background: var(--brass-night); }
.nn-meetx__text { display: flex; flex-direction: column; gap: 18px; font-size: clamp(16px, 0.3vw + 14px, 18px); line-height: 1.7; font-weight: 300; color: rgba(247,245,241,0.9); max-width: 34em; }
.nn-meetx__quote { margin: 0; font-style: italic; color: var(--on-night); }
.nn-meetx__quote::before { content: "\201C"; }
.nn-meetx__quote::after { content: "\201D"; }
.nn-meetx__credit { display: flex; flex-direction: column; align-items: center; gap: 4px; padding-top: 18px; border-top: 1px solid rgba(194,168,120,0.5); color: var(--on-night); }
.nn-meetx__credit:hover { color: var(--brass-night); }
.nn-meetx__broker { font-family: var(--display); font-size: 22px; line-height: 1.2; }
.nn-meetx__team { font-size: 12px; letter-spacing: 0.06em; color: var(--night-mute); }
.nn-meetx__btn { margin-top: 6px; }
.nn-meetx .nn-stats { justify-content: center; }
@media (max-width: 900px) {
	.nn-meetx { display: block; min-height: 0; }
	.nn-meetx__media, .nn-meetx--wide .nn-meetx__media { position: relative; width: 100%; aspect-ratio: 4 / 5; max-height: 78vh; }
	.nn-meetx--wide .nn-meetx__media { aspect-ratio: 4 / 3; }
	.nn-meetx__media::after, .nn-meetx--wide .nn-meetx__media::after { background: linear-gradient(180deg, rgba(15,21,25,0) 55%, #0f1519 100%); }
	.nn-meetx__wrap { margin-top: -96px; padding-top: 0; padding-bottom: 64px; }
	.nn-meetx__panel { width: 100%; padding: 32px 24px; }
	.nn-meetx--empty .nn-meetx__media { aspect-ratio: 16 / 10; }
}

/* Community guides: dark page of square tiles (after djdenner.ca) */
.nn-cg { background: #0f1519; color: var(--on-night); }
.nn-cg__head { padding: clamp(64px, 8vw, 112px) 0 clamp(40px, 4vw, 64px); }
.nn-cg__head-inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 32px 64px; }
.nn-cg__title { display: flex; flex-direction: column; gap: 24px; }
.nn-cg__title .nn-eyebrow { color: var(--brass-night); }
.nn-cg__intro { flex: 0 1 400px; display: flex; flex-direction: column; gap: 20px; font-size: 17px; line-height: 1.65; font-weight: 300; color: rgba(247,245,241,0.8); }
.nn-cg__intro .nn-link { font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--on-night); border-bottom-color: var(--brass-night); }
.nn-cg__intro .nn-link:hover { color: var(--brass-night); }
.nn-cg__group { padding-top: clamp(24px, 3vw, 40px); }
.nn-cg__group + .nn-cg__group { padding-top: clamp(64px, 7vw, 104px); }
.nn-cg__group-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding-bottom: 24px; margin-bottom: clamp(20px, 3vw, 40px); border-bottom: 1px solid rgba(247,245,241,0.45); }
.nn-cg__group-head h2 { font-family: var(--sans); font-weight: 400; font-size: 15px; letter-spacing: 0.08em; }
.nn-cg__group-head span { font-size: 12px; color: rgba(247,245,241,0.5); }
.nn-cg__grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 3px; }
.nn-cg__tile { position: relative; display: block; aspect-ratio: 1; overflow: hidden; color: var(--on-night); background: radial-gradient(110% 90% at 30% 25%, #28323a 0%, #11181c 70%); }
a.nn-cg__tile:hover { color: var(--on-night); outline: 1px solid var(--brass-night); outline-offset: -1px; }
.nn-cg__tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--ease); }
a.nn-cg__tile:hover img { transform: scale(1.05); }
.nn-cg__tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(15,21,25,0) 40%, rgba(15,21,25,0.72) 100%); pointer-events: none; }
.nn-cg__tile--soon img { filter: grayscale(0.4) brightness(0.6); }
.nn-cg__text { position: absolute; z-index: 1; left: 22px; right: 22px; bottom: 22px; display: flex; flex-direction: column; gap: 6px; }
.nn-cg__name { font-family: var(--display); font-size: clamp(19px, 0.6vw + 14px, 24px); line-height: 1.1; }
.nn-cg__city { font-size: 13px; font-weight: 300; color: rgba(247,245,241,0.75); }
.nn-cg__soon { position: absolute; z-index: 1; top: 22px; left: 22px; right: 22px; display: flex; flex-direction: column; gap: 4px; font-size: 10px; line-height: 1.5; letter-spacing: 0.2em; text-transform: uppercase; color: var(--brass-night); }
.nn-cg__soon em { font-style: normal; font-size: 12px; letter-spacing: 0.04em; text-transform: none; color: rgba(247,245,241,0.55); }
.nn-cg__cta { padding: clamp(64px, 7vw, 104px) 0 clamp(72px, 8vw, 120px); }
.nn-cg__cta-box { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 24px 32px; padding: clamp(28px, 3vw, 40px) clamp(22px, 3.4vw, 48px); border: 1px solid rgba(247,245,241,0.18); }
.nn-cg__cta-title { font-family: var(--display); font-weight: 400; font-size: clamp(26px, 1vw + 18px, 32px); line-height: 1.15; margin-bottom: 8px; }
.nn-cg__cta-box p { font-weight: 300; color: rgba(247,245,241,0.75); }
.nn-cg__cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 1100px) { .nn-cg__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 700px) {
	.nn-cg__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.nn-cg__text { left: 14px; right: 14px; bottom: 14px; }
	.nn-cg__soon { top: 14px; left: 14px; right: 14px; font-size: 9px; }
	.nn-cg__city { font-size: 11px; }
	.nn-cg__cta-actions { width: 100%; flex-direction: column; }
	.nn-cg__cta-actions .nn-btn { justify-content: center; }
}

/* ==========================================================================
   Vancouver additions (nick-vancouver 0.1.0)
   ========================================================================== */
.nn-header__logo img { height: 46px; }
@media (max-width: 900px) { .nn-header__logo img { height: 38px; } }
.nn-footer__brand .nn-logo { height: 64px; width: auto; }

/* Brand lockup: "Expect the exceptional" set like the trademark artwork. */
.nn-lockup { font-family: var(--brand); font-weight: 800; letter-spacing: -0.02em; line-height: 0.98; }
.nn-lockup sup { font-size: 0.16em; font-weight: 500; letter-spacing: 0; vertical-align: top; position: relative; top: 0.5em; margin-left: 0.12em; }
.nn-hero__lockup { color: var(--on-night); font-size: clamp(3.1rem, 1.5rem + 5.4vw, 6.4rem); }
.nn-hero .nn-eyebrow { color: #cfe3e1; }
.nn-footer__lockup { width: 168px; height: auto; margin-top: var(--space-4); opacity: 0.92; }

/* Display serif: Cormorant reads best slightly heavier and tighter. */
.nn-display { font-weight: 500; letter-spacing: -0.01em; }
.nn-display--xl { font-weight: 400; }

/* Featured homes carousel (djdenner.ca style). */
.nn-homes { overflow: hidden; }
.nn-homes__tools { display: flex; align-items: center; gap: var(--space-5); }
.nn-homes__nav { display: inline-flex; gap: 8px; }
.nn-homes__btn { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; padding: 0; border: 1px solid var(--line); border-radius: 0; background: transparent; color: var(--ink); cursor: pointer; transition: border-color 0.25s var(--ease), background 0.25s var(--ease), opacity 0.25s var(--ease); }
.nn-homes__btn:hover { border-color: var(--ink); }
.nn-homes__btn[disabled] { opacity: 0.3; cursor: default; border-color: var(--line); }
.nn-homes__track {
	--edge: max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter)));
	display: grid; grid-auto-flow: column; grid-auto-columns: clamp(280px, 36vw, 540px); gap: var(--space-4);
	overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-padding-inline: var(--edge);
	padding: 0 var(--edge) var(--space-3); scrollbar-width: none; -webkit-overflow-scrolling: touch;
}
.nn-homes__track::-webkit-scrollbar { display: none; }
.nn-homes__track:focus-visible { outline-offset: -2px; }
.nn-homes__slide { scroll-snap-align: start; min-width: 0; }
.nn-homes__slide .nn-lcard { height: 100%; }
.nn-homes__slide .nn-lcard__media { aspect-ratio: 4 / 5; }
.nn-homes__slide .nn-lcard__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.nn-homes__slide .nn-lcard:hover .nn-lcard__media img { transform: scale(1.03); }
.nn-homes__progress { height: 1px; margin-top: var(--space-5); background: var(--line); }
.nn-homes__progress span { display: block; height: 1px; width: 20%; background: var(--ink); transform-origin: left; transition: transform 0.3s var(--ease), width 0.3s var(--ease); }
@media (max-width: 700px) {
	.nn-homes__nav { display: none; }
	.nn-homes__track { grid-auto-columns: 82vw; gap: var(--space-3); }
}

/* Philosophy */
.nn-philo { border-top: 1px solid var(--line); }
.nn-philo__inner { display: flex; flex-direction: column; align-items: center; gap: var(--space-5); text-align: center; }
.nn-philo__quote { margin: 0; max-width: 22em; font-size: clamp(2rem, 1.3rem + 2.4vw, 3.4rem); line-height: 1.12; font-style: italic; font-weight: 400; }
.nn-philo__sign { width: 150px; height: auto; opacity: 0.9; }

.nn-section--after-band { padding-top: var(--section); }
.nn-pl + .nn-section--after-band, .nn-night + .nn-section--after-band { padding-top: clamp(40px, 5vw, 64px); }

/* Angell Hasman & Associates logo: right side of the homepage hero (never pushes the headline), and the footer. */
.nn-broker-logo img { display: block; width: 100%; height: auto; }
.nn-hero__broker { position: absolute; z-index: 2; right: max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter))); bottom: clamp(104px, 9vw, 120px); width: clamp(170px, 14vw, 220px); }
.nn-hero--full .nn-hero__scroll { display: none; }
.nn-footer__broker-logo { width: 170px; margin-bottom: 14px; }
@media (max-width: 900px) {
	/* Phones and tablets: top right of the photo, under the header, clear of the headline. */
	.nn-hero__broker { top: calc(var(--header-h) + 12px); bottom: auto; width: 128px; }
}

/* Larger Sold / Under contract banner on listing cards (Nick, Nov 6). */
.nn-lcard__badge { top: 24px; padding: 14px 64px 14px 22px; font-size: 15px; line-height: 20px; font-weight: 600; letter-spacing: 0.22em; }
@media (max-width: 700px) { .nn-lcard__badge { top: 18px; padding: 12px 52px 12px 18px; font-size: 14px; } }

.nn-about-broker-logo { width: 190px; margin-bottom: 18px; }
.nn-dev-sites { margin-top: var(--space-6); display: flex; flex-direction: column; gap: var(--space-4); }

/* Map of Sales (Gallery of Solds) */
.nn-salesmap__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: var(--space-3); margin-bottom: var(--space-4); }
.nn-salesmap__head .nn-caption { max-width: 420px; margin: 0; }
.nn-salesmap__map { height: clamp(420px, 62vh, 680px); background: var(--stone, #ddd8d1); border: 1px solid var(--line); }
.nn-salesmap__pop .mapboxgl-popup-content { padding: 0; border-radius: 0; overflow: hidden; box-shadow: 0 12px 30px rgba(20, 27, 32, 0.18); }
.nn-salesmap__pop .mapboxgl-popup-close-button { z-index: 2; color: #fff; font-size: 20px; width: 30px; height: 30px; text-shadow: 0 1px 3px rgba(0,0,0,.5); }
.nn-salesmap__card { display: block; width: 280px; color: var(--ink, #141b20); text-decoration: none; font-family: var(--sans); }
.nn-salesmap__img { position: relative; display: block; height: 170px; background-size: cover; background-position: center; }
.nn-salesmap__badge { position: absolute; left: 0; top: 14px; padding: 6px 22px 6px 12px; background: linear-gradient(90deg, rgba(158, 43, 37, 0.95) 0%, rgba(158, 43, 37, 0.95) 62%, rgba(158, 43, 37, 0) 100%); color: #fff; font-size: 11px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; }
.nn-salesmap__body { display: block; padding: 14px 16px 16px; }
.nn-salesmap__title { display: block; font-family: var(--display); font-size: 22px; line-height: 1.15; }
.nn-salesmap__area { display: block; margin-top: 4px; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: #6b6a66; }
.nn-salesmap__meta { display: block; margin-top: 8px; font-size: 13px; }
.nn-salesmap__card:hover .nn-salesmap__title { text-decoration: underline; text-underline-offset: 3px; }

/* Map time of day (Day / Dusk / Night) */
.nn-mapx__light { display: inline-flex; height: 36px; border: 1px solid var(--line); background: var(--surface-raised); box-shadow: 0 2px 10px rgba(20, 27, 32, 0.08); }
.nn-mapx__light button { padding: 0 12px; border: 0; background: transparent; color: var(--ink); font: inherit; font-size: 12px; letter-spacing: 0.14em; cursor: pointer; }
.nn-mapx__light button + button { border-left: 1px solid var(--line); }
.nn-mapx__light button[aria-pressed="true"] { background: var(--ink); color: var(--on-night); }
.nn-mapx--lit .nn-mapx__sat { display: none; }
.nn-salesmap__wrap { position: relative; }
.nn-salesmap__wrap .nn-mapx__light { position: absolute; left: 12px; top: 12px; z-index: 2; }

/* Property type filter (second row under the status tabs) */
.nn-filter--type { margin-top: var(--space-3); gap: 22px; }
.nn-filter--type a { font-size: 12px; }
.nn-filter__n { margin-left: 4px; color: var(--stone); opacity: 0.7; letter-spacing: 0.04em; }

/* Gallery of Solds: map at the top, small title tag on the map, filters in a slim bar below (Nick, Nov 12 2026) */
.nn-salesmap--hero { position: relative; border-bottom: 1px solid var(--line); }
.nn-salesmap--hero .nn-salesmap__map { height: clamp(460px, calc(100vh - var(--header-h) - 120px), 780px); border: 0; }
.nn-salesmap__intro { position: absolute; z-index: 2; left: max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter))); bottom: 28px; padding: 14px 20px 13px; background: rgba(247, 245, 241, 0.94); box-shadow: 0 8px 24px rgba(20, 27, 32, 0.14); }
.nn-salesmap__h1 { margin: 0; font-family: var(--display); font-weight: 400; font-size: clamp(24px, 2.2vw, 32px); line-height: 1.05; color: var(--ink); }
.nn-salesmap__lede { margin: 4px 0 0; font-size: 12px; letter-spacing: 0.04em; color: var(--stone); }
.nn-salesmap--hero .nn-mapx__light { left: max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter))); top: 20px; }
.nn-page-head--bar { padding: 18px 0; }
.nn-page-head--bar .nn-wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 40px; }
.nn-page-head--bar .nn-filter { margin-top: 0; }
.nn-page-head--bar .nn-filter--type { margin-top: 0; }
@media (max-width: 900px) {
	.nn-salesmap--hero .nn-salesmap__map { height: 62vh; min-height: 420px; }
	.nn-salesmap__intro { left: 12px; bottom: 12px; padding: 10px 14px; }
	.nn-salesmap--hero .nn-mapx__light { left: 12px; top: 12px; }
	.nn-page-head--bar .nn-wrap { display: block; }
	.nn-page-head--bar .nn-filter--type { margin-top: 12px; }
}

/* Map of Sales pop-up photo carousel */
.nn-salesmap__card { cursor: default; }
.nn-salesmap__img { overflow: hidden; cursor: pointer; background: var(--stone, #ddd8d1); }
.nn-salesmap__img img { display: block; width: 100%; height: 100%; object-fit: cover; }
.nn-salesmap__body { color: var(--ink, #141b20); text-decoration: none; }
.nn-salesmap__body:hover .nn-salesmap__title { text-decoration: underline; text-underline-offset: 3px; }
.nn-salesmap__nav { position: absolute; top: 50%; z-index: 2; width: 34px; height: 34px; margin-top: -17px; padding: 0; border: 0; border-radius: 50%; background: rgba(247, 245, 241, 0.92); color: #141b20; font-size: 24px; line-height: 32px; text-align: center; cursor: pointer; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25); opacity: 0.9; transition: opacity 0.2s, transform 0.2s; }
.nn-salesmap__nav:hover { opacity: 1; transform: scale(1.06); }
.nn-salesmap__nav--prev { left: 10px; }
.nn-salesmap__nav--next { right: 10px; }
.nn-salesmap__count { position: absolute; right: 10px; bottom: 10px; z-index: 2; padding: 3px 8px; background: rgba(20, 27, 32, 0.6); color: #fff; font-size: 11px; letter-spacing: 0.08em; }
.nn-salesmap__nav[hidden], .nn-salesmap__count[hidden] { display: none; }

/* School Catchments
   ========================================================================== */
.nn-catch__bar { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.nn-catch__level { display: inline-flex; height: 44px; border: 1px solid var(--line); background: var(--surface-raised); }
.nn-catch__level button { padding: 0 18px; border: 0; background: transparent; color: var(--ink); font: inherit; font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; cursor: pointer; }
.nn-catch__level button + button { border-left: 1px solid var(--line); }
.nn-catch__level button[aria-pressed="true"] { background: var(--ink); color: var(--bone, #f7f5f1); }
.nn-catch__search { display: flex; flex: 1 1 360px; max-width: 560px; height: 44px; }
.nn-catch__search input { flex: 1; min-width: 0; padding: 0 14px; border: 1px solid var(--line); border-right: 0; background: var(--surface-raised); color: var(--ink); font: inherit; font-size: 15px; }
.nn-catch__search button { padding: 0 18px; border: 0; background: var(--sea, #1f5a60); color: #fff; font: inherit; font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; cursor: pointer; }
.nn-catch__wrap { position: relative; }
.nn-catch__map { height: clamp(460px, 72vh, 760px); border: 1px solid var(--line); background: #eef0ec; }
.nn-catch__result { position: absolute; left: 16px; bottom: 16px; z-index: 2; width: min(340px, calc(100% - 32px)); padding: 16px 18px; background: var(--surface-raised); border: 1px solid var(--line); box-shadow: 0 6px 24px rgba(20, 27, 32, 0.14); }
.nn-catch__addr { margin: 0 0 10px; font-size: 13px; color: var(--stone, #5f676b); }
.nn-catch__dl { margin: 0; display: grid; gap: 8px; }
.nn-catch__dl div { display: grid; grid-template-columns: 90px 1fr; gap: 8px; align-items: baseline; }
.nn-catch__dl dt { font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--stone, #5f676b); }
.nn-catch__dl dd { margin: 0; font-size: 16px; color: var(--ink); }
.nn-catch__src, .nn-catch__none { margin: 10px 0 0; font-size: 12px; color: var(--stone, #5f676b); }
.nn-catch__none { margin: 0; font-size: 14px; }
.nn-catch__pop .mapboxgl-popup-content { padding: 14px 16px; border-radius: 0; font-family: inherit; }
.nn-catch__notes { margin-top: 16px; max-width: 760px; font-size: 14px; color: var(--stone, #5f676b); }
.nn-catch__notes p { margin: 0 0 8px; }
.nn-catch__credit { font-size: 12px; }
@media (max-width: 640px) {
	.nn-catch__level { width: 100%; }
	.nn-catch__level button { flex: 1; }
	.nn-catch__result { position: static; width: auto; margin-top: 12px; box-shadow: none; }
}
.nn-catch__note { display: block; margin-top: 4px; font-size: 12px; line-height: 18px; color: var(--stone, #5f676b); }
/* School catchments: crawlable content under the map */
.nn-catch-seo { margin-top: var(--space-6, 64px); display: grid; gap: var(--space-6, 64px); }
.nn-catch-seo h2 { font-family: var(--display); font-weight: 500; letter-spacing: -0.01em; font-size: clamp(28px, 1.6vw + 16px, 40px); line-height: 1.1; margin: 0 0 16px; color: var(--ink); }
.nn-catch-seo p { max-width: 760px; color: var(--stone); }
.nn-catch-seo ol { margin: 0; padding-left: 20px; max-width: 760px; color: var(--ink); line-height: 1.7; }
.nn-catch-seo__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 20px; margin-top: 24px; }
.nn-catch-seo__fam { padding: 20px; border: 1px solid var(--line); background: var(--surface-raised); }
.nn-catch-seo__fam h3 { margin: 0 0 4px; font-family: var(--display); font-weight: 500; font-size: 22px; }
.nn-catch-seo__sub { margin: 0 0 12px; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; }
.nn-catch-seo__fam ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 6px; }
.nn-catch-seo__fam li span { display: block; font-size: 12px; color: var(--stone); }
.nn-catch-seo__school { padding: 0; border: 0; background: none; font: inherit; color: var(--ink); text-align: left; cursor: pointer; border-bottom: 1px solid transparent; }
.nn-catch-seo__school:hover, .nn-catch-seo__school:focus-visible { border-bottom-color: currentColor; color: #1f5a60; }
.nn-catch-seo__faq details { border-top: 1px solid var(--line); padding: 16px 0; max-width: 860px; }
.nn-catch-seo__faq details:last-child { border-bottom: 1px solid var(--line); }
.nn-catch-seo__faq summary { cursor: pointer; font-size: 18px; color: var(--ink); }
.nn-catch-seo__faq details p { margin: 10px 0 0; }
.nn-catch-seo__cta { padding: 32px; background: var(--ink); color: #f7f5f1; }
.nn-catch-seo__cta h2, .nn-catch-seo__cta p { color: #f7f5f1; }
.nn-area-catch__box { padding: 28px 32px; border: 1px solid var(--line); background: var(--surface-raised); max-width: 860px; }
.nn-area-catch__box h2 { margin-bottom: 12px; }
.nn-cg__intro .nn-link + .nn-link { margin-left: 20px; }

/* Neighbourhood guides: editorial layout
   ========================================================================== */
.nn-guide__grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: clamp(40px, 6vw, 96px); align-items: start; }
.nn-guide__main { min-width: 0; max-width: 820px; }
.nn-guide .nn-guide__title { margin: 14px 0 18px; font-size: clamp(40px, 3.2vw + 14px, 68px); line-height: 1.02; letter-spacing: -0.01em; }
.nn-guide__prose { margin-top: 28px; font-size: 17px; line-height: 1.8; }
.nn-guide .nn-guide__prose p, .nn-guide .nn-guide__prose li { margin: 0 0 1.1em; font-size: 17px; line-height: 1.8; }
.nn-guide .nn-guide__prose li { margin-bottom: 0.45em; }
.nn-guide__prose h3 { font-size: clamp(26px, 1.4vw + 16px, 34px); margin: 1.9em 0 0.55em; scroll-margin-top: 120px; }
.nn-guide__prose ul { margin: 0 0 1.2em; padding-left: 1.1em; }
.nn-guide__prose li { margin-bottom: 0.45em; }
.nn-guide .nn-guide__prose .nn-guide__lede { font-size: 21px; line-height: 1.65; color: var(--ink); }
.nn-guide__lede::first-letter { float: left; font-family: var(--display); font-size: 4.6em; line-height: 0.82; padding: 0.06em 0.12em 0 0; color: var(--sea, #1f5a60); }
.nn-guide__fig { margin: 2.4em 0; }
.nn-guide__fig img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; }
.nn-guide__fig figcaption { margin-top: 10px; font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--stone, #5f676b); }
.nn-guide__fig figcaption a { color: inherit; text-decoration: none; border-bottom: 1px solid transparent; }
.nn-guide__fig figcaption a:hover { border-bottom-color: currentColor; }
.nn-guide__pair { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 2.4em 0; }
.nn-guide__pair .nn-guide__fig { margin: 0; }
.nn-guide__pair .nn-guide__fig img { aspect-ratio: 4 / 5; }
.nn-guide__aside { position: relative; height: 100%; }
.nn-guide__sticky { position: sticky; top: 130px; display: grid; gap: 22px; }
.nn-guide__fig--portrait { margin: 0; }
.nn-guide__fig--portrait img { aspect-ratio: 4 / 5; }
.nn-guide__card { padding: 22px 24px; border: 1px solid var(--line); background: var(--surface-raised); }
.nn-guide__card .nn-eyebrow { margin-bottom: 12px; }
.nn-guide__toc ol { margin: 0; padding: 0; list-style: none; counter-reset: toc; display: grid; gap: 8px; }
.nn-guide__toc li { counter-increment: toc; display: grid; grid-template-columns: 26px 1fr; font-size: 15px; }
.nn-guide__toc li::before { content: counter(toc, decimal-leading-zero); font-size: 11px; letter-spacing: 0.1em; color: var(--stone, #5f676b); padding-top: 4px; }
.nn-guide__toc a { color: var(--ink); text-decoration: none; }
.nn-guide__toc a:hover { color: var(--sea, #1f5a60); }
.nn-guide__suits p:last-child { margin: 0; font-family: var(--display); font-size: 21px; line-height: 1.35; color: var(--ink); }
.nn-guide__links { display: grid; gap: 12px; justify-items: start; }
.nn-guide__links .nn-btn { width: 100%; text-align: center; }
@media (max-width: 960px) {
	.nn-guide__grid { grid-template-columns: 1fr; }
	.nn-guide__aside { order: 2; }
	.nn-guide__sticky { position: static; }
	.nn-guide__fig--portrait { display: none; }
}
@media (max-width: 560px) {
	.nn-guide__pair { grid-template-columns: 1fr; }
	.nn-guide__lede { font-size: 19px; }
}
.nn-guide__todo { display: flex; flex-direction: column; justify-content: center; gap: 8px; aspect-ratio: 16 / 10; padding: 28px; border: 1px dashed var(--stone, #5f676b); background: repeating-linear-gradient(135deg, rgba(31,90,96,0.04) 0 12px, transparent 12px 24px); color: var(--ink); font-family: var(--display); font-size: 22px; line-height: 1.3; }
.nn-guide__todo span { font-family: inherit; font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--sea, #1f5a60); font-family: var(--body, inherit); }
.nn-guide__todo small { font-size: 12px; color: var(--stone, #5f676b); font-family: var(--body, inherit); }
.nn-guide__fig--portrait .nn-guide__todo, .nn-guide__pair .nn-guide__todo { aspect-ratio: 4 / 5; }

/* Fraser Institute rankings on the catchment page */
.nn-catch__rank { display: block; margin-top: 4px; font-size: 12.5px; line-height: 1.45; color: var(--stone, #5f676b); font-weight: 400; }
.nn-catch__rank a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.nn-catch-seo__rank { font-size: 13px; color: var(--stone, #5f676b); }
.nn-catch-seo__credit { max-width: 820px; margin: 28px 0 0; font-size: 13px; line-height: 1.6; color: var(--stone, #5f676b); }
.nn-catch-seo__credit a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }

/* Catchment families: compact list with score column */
.nn-catch-seo__fam { padding: 22px 22px 14px; line-height: 1.35; }
.nn-catch-seo__fam h3 { line-height: 1.15; margin-bottom: 14px; }
.nn-catch-seo__sub { display: flex; justify-content: space-between; gap: 12px; margin: 0; padding-bottom: 8px; border-bottom: 1px solid var(--line); font-size: 10.5px; line-height: 1.3; color: var(--stone); }
.nn-catch-seo__fam ul { gap: 0; }
.nn-catch-seo__fam li { display: grid; grid-template-columns: 1fr auto; align-items: baseline; column-gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.nn-catch-seo__fam li:last-child { border-bottom: 0; }
.nn-catch-seo__fam li .nn-catch-seo__school { line-height: 1.3; }
.nn-catch-seo__fam li span.nn-catch-seo__score { display: inline-flex; gap: 8px; align-items: baseline; font-size: 13px; color: var(--stone); font-variant-numeric: tabular-nums; white-space: nowrap; }
.nn-catch-seo__score b { font-weight: 600; color: var(--ink); }
.nn-catch-seo__score i { font-style: normal; min-width: 34px; text-align: right; }
.nn-catch-seo__note { grid-column: 1 / -1; display: block; margin-top: 3px; font-size: 12px; line-height: 1.4; color: var(--stone); }
.nn-catch-seo__sub, .nn-catch-seo__sub span { white-space: nowrap; }
@media (min-width: 900px) { .nn-catch-seo__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
/* Rating and rank sit in fixed columns, centred under their headings */
.nn-catch-seo__cols { display: inline-flex; gap: 8px; }
.nn-catch-seo__cols em { font-style: normal; text-align: center; letter-spacing: 0.14em; margin-right: -0.14em; }
.nn-catch-seo__cols em:first-child, .nn-catch-seo__score b { width: 52px; text-align: center; }
.nn-catch-seo__cols em:last-child, .nn-catch-seo__score i { width: 44px; min-width: 0; text-align: center; }
.nn-catch-seo__fam li span.nn-catch-seo__score { gap: 8px; }

/* School catchment page: compact header that uses the full width */
.nn-page-head--catch { padding: clamp(32px, 4vw, 56px) 0 28px; }
@media (min-width: 900px) {
	.nn-page-head--catch .nn-wrap { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: 0 56px; align-items: end; }
	.nn-page-head--catch .nn-page-head__intro { margin: 0 0 6px; }
}
.nn-page-head--catch .nn-heading { max-width: none; }
.nn-page-head--catch h1 { font-size: clamp(34px, 2.4vw + 12px, 52px); line-height: 1.05; }
.nn-page-head--catch .nn-page-head__intro { max-width: none; font-size: 16px; line-height: 1.6; }

/* Notes under the map: one compact band across the map's width */
.nn-catch__notes { max-width: none; margin-top: 14px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px 32px; font-size: 12.5px; line-height: 1.5; }
.nn-catch__notes p { margin: 0; }
.nn-catch__notes a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
@media (max-width: 760px) { .nn-catch__notes { grid-template-columns: 1fr; } }

/* How to find: four steps in a row */
.nn-catch-seo { margin-top: 48px; }
.nn-catch-seo__how ol { list-style: none; margin: 0; padding: 0; counter-reset: nnstep; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.nn-catch-seo__how li { counter-increment: nnstep; padding-top: 14px; border-top: 1px solid var(--line); font-size: 15px; line-height: 1.5; }
.nn-catch-seo__how li::before { content: counter(nnstep, decimal-leading-zero); display: block; margin-bottom: 6px; font-size: 11px; letter-spacing: 0.14em; color: #1f5a60; }
@media (max-width: 900px) { .nn-catch-seo__how ol { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .nn-catch-seo__how ol { grid-template-columns: 1fr; } }

/* Catchment page sections: heading and intro side by side, tighter gaps */
.nn-catch-seo { gap: 48px; }
@media (min-width: 900px) {
	.nn-catch-seo__district, .nn-catch-seo__programs { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); column-gap: 56px; align-items: end; }
	.nn-catch-seo__district > h2, .nn-catch-seo__programs > h2 { margin: 0; }
	.nn-catch-seo__district > p, .nn-catch-seo__programs > p { margin: 0 0 4px; }
	.nn-catch-seo__district > .nn-catch-seo__grid { grid-column: 1 / -1; }
}
.nn-catch-seo__district > p, .nn-catch-seo__programs > p { max-width: none; font-size: 15.5px; line-height: 1.6; color: var(--stone); }
.nn-catch-seo__grid { margin-top: 24px; }
.nn-catch-seo__how, .nn-catch-seo__how ol { max-width: none; width: 100%; }

/* Anything marked hidden stays hidden, even if a component sets display (fixes the floor plan viewer blocking the photo slider). */
[hidden] { display: none !important; }

/* Listings page: compact header, two large cards when there are only a couple of listings */
.nn-page-head--listings { padding: clamp(32px, 4vw, 56px) 0 28px; }
@media (min-width: 900px) {
	.nn-page-head--listings .nn-wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0 56px; align-items: end; }
	.nn-page-head--listings .nn-page-head__intro { margin: 0 0 6px; }
}
.nn-page-head--listings .nn-heading { max-width: none; }
.nn-page-head--listings .nn-page-head__intro { max-width: 520px; font-size: 16px; line-height: 1.6; }
.nn-section--listings { padding-bottom: var(--space-6, 64px); }
.nn-cards--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 760px) { .nn-cards--2 { grid-template-columns: 1fr; } }

/* Listings and Gallery of Solds: dark ink background (Nick, Nov 16 2026) */
body.post-type-archive-nn_listing { background: var(--surface-night); color: var(--on-night); }
.post-type-archive-nn_listing .nn-page-head { border-bottom-color: var(--night-line); }
.post-type-archive-nn_listing .nn-page-head .nn-eyebrow,
.post-type-archive-nn_listing .nn-past .nn-eyebrow { color: var(--brass-night); }
.post-type-archive-nn_listing .nn-page-head h1,
.post-type-archive-nn_listing .nn-past h2 { color: var(--on-night); }
.post-type-archive-nn_listing .nn-page-head__intro,
.post-type-archive-nn_listing .nn-past__text,
.post-type-archive-nn_listing .nn-past__note,
.post-type-archive-nn_listing .nn-empty { color: var(--night-mute); }
.post-type-archive-nn_listing .nn-lcard,
.post-type-archive-nn_listing .nn-lcard:hover { color: var(--on-night); }
.post-type-archive-nn_listing .nn-lcard__specs { color: var(--night-mute); }
.post-type-archive-nn_listing .nn-lcard__media { background: var(--night-line); }
.post-type-archive-nn_listing .nn-lcard .nn-eyebrow { color: var(--brass-night); }
.post-type-archive-nn_listing .nn-filter a { color: var(--night-mute); }
.post-type-archive-nn_listing .nn-filter a:hover,
.post-type-archive-nn_listing .nn-filter a.is-active { color: var(--on-night); border-bottom-color: var(--brass-night); }
.post-type-archive-nn_listing .nn-pagination .page-numbers { border-color: var(--night-line); color: var(--on-night); }
.post-type-archive-nn_listing .nn-pagination .page-numbers.current { background: var(--on-night); color: var(--surface-night); }
.post-type-archive-nn_listing .nn-section--line { border-top-color: var(--night-line); }
.post-type-archive-nn_listing .nn-page-head--bar { background: var(--surface-night); }
.post-type-archive-nn_listing :focus-visible { outline-color: var(--on-night); }
.post-type-archive-nn_listing .nn-header { color: var(--ink); }

/* Listing cards: photo slider arrows and counter */
.nn-lcard__nav { position: absolute; top: 50%; z-index: 3; width: 38px; height: 38px; margin-top: -19px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; background: rgba(20, 27, 32, 0.55); color: #f7f5f1; cursor: pointer; opacity: 0; transition: opacity 0.2s ease, background 0.2s ease; }
.nn-lcard__nav--prev { left: 12px; }
.nn-lcard__nav--next { right: 12px; }
.nn-lcard__nav:hover { background: rgba(20, 27, 32, 0.8); }
.nn-lcard__count { position: absolute; right: 12px; bottom: 12px; z-index: 3; padding: 3px 9px; font-size: 11px; letter-spacing: 0.12em; background: rgba(20, 27, 32, 0.55); color: #f7f5f1; opacity: 0; transition: opacity 0.2s ease; }
.nn-lcard:hover .nn-lcard__nav, .nn-lcard:hover .nn-lcard__count, .nn-lcard__nav:focus-visible, .nn-lcard__media:focus-within .nn-lcard__count { opacity: 1; }
@media (hover: none) { .nn-lcard__nav, .nn-lcard__count { opacity: 1; } }

/* Homepage Featured Properties: smaller cards so 3 to 4 show across (Nick, Nov 16 2026) */
.nn-homes__track { grid-auto-columns: clamp(250px, 24vw, 380px); gap: var(--space-3); }
.nn-homes__slide .nn-lcard__media { aspect-ratio: 4 / 3; }
@media (max-width: 700px) { .nn-homes__track { grid-auto-columns: 78vw; } }

/* Featured Properties: compact, 4 to 5 cards across (Nick, Nov 16 2026) */
.nn-homes { padding: clamp(48px, 6vw, 88px) 0; }
.nn-homes .nn-sec-head h2, .nn-homes .nn-heading .nn-display { font-size: clamp(30px, 2vw + 14px, 44px); }
.nn-homes .nn-sec-head--rule { padding-bottom: 18px; margin-bottom: 28px; }
.nn-homes__track { grid-auto-columns: clamp(220px, 18vw, 290px); gap: 20px; }
.nn-homes__slide .nn-lcard { gap: 6px; }
.nn-homes__slide .nn-lcard__title { font-size: 20px; }
.nn-homes__slide .nn-lcard__price { font-size: 15px; }
.nn-homes__slide .nn-lcard__badge { top: 14px; padding: 7px 30px 7px 12px; font-size: 11px; }
.nn-homes__progress { margin-top: 28px; }
@media (max-width: 700px) { .nn-homes__track { grid-auto-columns: 70vw; } }

/* Meet Nick: show the portrait closer to its true size so it stays crisp (Nick, Nov 16 2026) */
.nn-meetx__media { width: min(46%, 660px); left: max(0px, calc((100vw - var(--max)) / 2)); }
.nn-meetx__media img { object-position: center 20%; }
.nn-meetx__media::after { background: linear-gradient(90deg, rgba(15,21,25,0) 0%, rgba(15,21,25,0) 62%, rgba(15,21,25,0.7) 90%, #0f1519 100%); }
.nn-meetx__panel { width: min(600px, 50%); }
@media (max-width: 900px) {
	.nn-meetx__media { width: 100%; left: 0; }
	.nn-meetx__panel { width: 100%; }
	.nn-meetx__wrap { justify-content: center; }
}

/* Quote lines wrap evenly, no lone last word */
.nn-quote blockquote { text-wrap: balance; margin-left: auto; margin-right: auto; }

/* Contact page v2 (Nov 17 2026) */
.nn-cx { background: var(--surface-night); color: var(--on-night); padding: clamp(64px, 8vw, 128px) 0; border-top: 1px solid var(--night-line); }
.nn-cx__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.nn-cx .nn-eyebrow { color: var(--brass-night); }
.nn-cx__title { font-family: var(--display); font-weight: 400; font-size: clamp(40px, 3.2vw + 16px, 68px); line-height: 1.05; margin: 14px 0 0; color: var(--on-night); text-wrap: balance; }
.nn-cx .nn-rule { background: var(--brass-night); margin: 26px 0; }
.nn-cx__intro { font-size: clamp(16px, 0.4vw + 14px, 19px); line-height: 1.7; color: var(--night-mute); max-width: 520px; }
.nn-cx__intro p { margin: 0 0 1em; }
.nn-cx__agent { display: flex; align-items: center; gap: 18px; margin: 34px 0 30px; padding: 18px 0; border-top: 1px solid var(--night-line); border-bottom: 1px solid var(--night-line); }
.nn-cx__avatar { width: 76px; height: 76px; border-radius: 50%; object-fit: cover; object-position: center 20%; flex: none; }
.nn-cx__name { font-family: var(--display); font-size: 26px; line-height: 1.1; margin: 0; color: var(--on-night); }
.nn-cx__role { margin: 4px 0 0; font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--night-mute); }
.nn-cx__list { display: grid; gap: 22px; margin: 0; }
.nn-cx__list dt { font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--brass-night); margin-bottom: 6px; }
.nn-cx__list dd { margin: 0; font-size: 18px; line-height: 1.5; color: var(--on-night); }
.nn-cx__list dd span { font-size: 14px; color: var(--night-mute); }
.nn-cx__list a { color: var(--on-night); border-bottom: 1px solid var(--brass-night); }
.nn-cx__list a:hover { color: var(--brass-night); }
.nn-cx__form > * { box-shadow: 0 30px 60px rgba(0,0,0,0.35); }
.nn-cx-paths__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 22px; }
.nn-cx-path { display: flex; flex-direction: column; gap: 14px; padding: 32px 30px; border: 1px solid var(--line, rgba(0,0,0,.12)); color: inherit; text-decoration: none; transition: border-color .2s, transform .2s; }
.nn-cx-path:hover { border-color: var(--ink); transform: translateY(-2px); }
.nn-cx-path__k { font-family: var(--display); font-size: 28px; line-height: 1.1; }
.nn-cx-path__t { font-size: 15px; line-height: 1.65; opacity: 0.8; flex: 1; }
.nn-cx-path__go { font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; }
@media (max-width: 900px) { .nn-cx__grid, .nn-cx-paths__grid { grid-template-columns: 1fr; } }

/* Tighter spacing sitewide (Nick, Nov 17 2026: too much blank space) */
:root { --section: clamp(44px, 5vw, 76px); }
.nn-page-head { padding: clamp(28px, 3vw, 44px) 0 clamp(22px, 2.4vw, 32px); }
.nn-page-head h1, .nn-page-head .nn-heading h1, .nn-page-head .nn-heading__title { font-size: clamp(34px, 2vw + 18px, 54px); line-height: 1.08; }
.nn-page-head .nn-eyebrow { margin-bottom: 6px; }
.nn-page-head__intro { margin-top: 10px; }
.nn-jfilter { margin-top: 18px; }
.nn-jfeature { gap: clamp(24px, 3vw, 44px); margin-bottom: clamp(32px, 4vw, 52px); padding-bottom: clamp(32px, 4vw, 52px); }
.nn-jfeature__media { aspect-ratio: 16 / 10; }
.nn-jfeature__title { font-size: clamp(28px, 1.4vw + 16px, 40px); line-height: 1.12; }
.nn-cx { padding: clamp(44px, 5vw, 80px) 0; }
.nn-cx__agent { margin: 26px 0 24px; }

/* Article footer: topics + share bar, author card, comments (Nov 17 2026) */
.nn-article__after { display: flex; flex-direction: column; gap: 28px; }
.nn-article__bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; padding: 18px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.nn-article__bar .nn-filed { flex-direction: row; align-items: center; gap: 14px; padding: 0; border: 0; }
.nn-article__bar .nn-filed .nn-eyebrow, .nn-share .nn-eyebrow { margin: 0; font-size: 11px; }
.nn-filed__chips a, .nn-filed__chips span { font-size: 13px; padding: 6px 12px; }
.nn-share { display: flex; align-items: center; gap: 14px; }
.nn-share__links { display: flex; gap: 8px; }
.nn-share__btn { position: relative; width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line); background: transparent; display: inline-flex; align-items: center; justify-content: center; color: var(--ink); cursor: pointer; transition: background .2s, color .2s, border-color .2s; padding: 0; }
.nn-share__btn svg { width: 16px; height: 16px; fill: currentColor; }
.nn-share__btn:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.nn-share__done { position: absolute; top: -30px; left: 50%; transform: translateX(-50%); background: var(--ink); color: #fff; font-size: 11px; padding: 3px 8px; white-space: nowrap; opacity: 0; pointer-events: none; transition: opacity .2s; }
.nn-share__copy.is-done .nn-share__done { opacity: 1; }
.nn-author { grid-template-columns: 88px minmax(0, 1fr); gap: 24px; padding: 28px 30px; border: 0; background: #ede9e3; align-items: start; }
.nn-author__photo { width: 88px; height: 88px; border-radius: 50%; }
.nn-author__photo img { object-position: center 18%; }
.nn-author__text { gap: 4px; }
.nn-author__text .nn-eyebrow { margin: 0; font-size: 11px; }
.nn-author__name { font-size: 26px; }
.nn-author__name span { font-family: var(--body, inherit); font-size: 12px; letter-spacing: 0.14em; color: var(--stone); vertical-align: middle; margin-left: 6px; }
.nn-author__bio { margin: 6px 0 0; font-size: 15px; line-height: 1.65; color: var(--stone); max-width: 620px; }
.nn-author__actions { gap: 22px; margin-top: 14px; align-items: center; }
.nn-btn--sm { padding: 12px 22px; font-size: 12px; }
.nn-author__more { font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink); border-bottom: 1px solid var(--brass); padding-bottom: 2px; line-height: 1; }
@media (max-width: 600px) { .nn-author { grid-template-columns: 1fr; padding: 24px; } }
.nn-comments { margin-top: 44px; padding-top: 32px; border-top: 1px solid var(--line); }
.nn-comments__title { font-family: var(--display); font-weight: 400; font-size: clamp(26px, 1vw + 18px, 34px); margin: 0 0 18px; }
.nn-comments__list { list-style: none; margin: 0 0 28px; padding: 0; }
.nn-comments__list .comment { padding: 18px 0; border-bottom: 1px solid var(--line); }
.nn-comments__list .children { list-style: none; padding-left: 40px; }
.nn-comments__list .comment-author { display: flex; align-items: center; gap: 10px; font-weight: 500; }
.nn-comments__list .avatar { border-radius: 50%; }
.nn-comments__list .comment-metadata { font-size: 12px; color: var(--stone); margin: 4px 0 8px 54px; }
.nn-comments__list .comment-metadata a { color: inherit; }
.nn-comments__list .comment-content { margin-left: 54px; font-size: 15px; line-height: 1.7; }
.nn-comments__list .reply { margin-left: 54px; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; }
.nn-comments__reply { font-size: 17px; margin: 0 0 6px; }
.nn-comments__note { font-size: 13px; color: var(--stone); margin: 0 0 16px; }
.nn-comments .comment-form { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 18px; }
.nn-comments .comment-form > p { margin: 0; }
.nn-comments .comment-form-comment, .nn-comments .comment-notes, .nn-comments .nn-comments__note, .nn-comments .comment-form-cookies-consent, .nn-comments .form-submit, .nn-comments .comment-form-url, .nn-comments .logged-in-as { grid-column: 1 / -1; }
.nn-comments .comment-form-url { display: none; }
.nn-comments label { display: block; font-size: 11px; letter-spacing: .18em; text-transform: uppercase; margin-bottom: 6px; color: var(--stone); }
.nn-comments input[type=text], .nn-comments input[type=email], .nn-comments textarea { width: 100%; border: 1px solid var(--line); background: #fff; padding: 12px 14px; font: inherit; font-size: 15px; }
.nn-comments textarea { min-height: 130px; }
.nn-comments .comment-form-cookies-consent { display: flex; gap: 8px; align-items: center; font-size: 13px; }
.nn-comments .comment-form-cookies-consent label { display: inline; text-transform: none; letter-spacing: 0; font-size: 13px; margin: 0; }
@media (max-width: 600px) { .nn-comments .comment-form { grid-template-columns: 1fr; } }

/* Article images: keep cover and inline photos to the reading width (Nov 17 2026) */
.nn-article { padding-top: clamp(28px, 3vw, 44px); }
.nn-article__cover { max-width: 860px; margin-top: 24px; aspect-ratio: 16 / 9; max-height: 480px; }
.nn-prose img { display: block; max-width: 100%; height: auto; margin: 1.4em 0; }
.nn-prose .wp-caption, .nn-prose figure { max-width: 100% !important; }
.nn-prose img.aligncenter, .nn-prose .aligncenter img { margin-left: auto; margin-right: auto; }
/* One centred reading column for articles: title, cover, text, footer and comments line up */
body.single-post .nn-page-head .nn-heading { max-width: 680px; margin-left: auto; margin-right: auto; }
body.single-post .nn-page-head h1 { font-size: clamp(32px, 1.8vw + 18px, 48px); }
body.single-post .nn-article__cover { margin-left: auto; margin-right: auto; }
.nn-article .nn-comments { max-width: 680px; margin-left: auto; margin-right: auto; }

/* Call to action row (replaces the monthly report form) */
.nn-cta-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 40px; }
.nn-cta-row h3 { font-family: var(--display); font-weight: 400; font-size: clamp(26px, 1vw + 18px, 34px); line-height: 1.15; margin: 0 0 6px; }
.nn-cta-row p { margin: 0; color: var(--stone); font-size: 15px; max-width: 520px; }
.nn-cta-row--night h3 { color: var(--on-night); }
.nn-cta-row--night p { color: var(--night-mute); }
.nn-cta-row__actions { display: flex; flex-wrap: wrap; gap: 12px; }
/* Article: centred reading column */
body.single-post .nn-page-head .nn-heading { max-width: 680px; margin-left: auto !important; margin-right: auto !important; }
body.single-post .nn-page-head h1.nn-display { font-size: clamp(32px, 1.8vw + 18px, 48px); }
body.single-post .nn-article__cover { margin-left: auto; margin-right: auto; }
.nn-article .nn-comments { max-width: 680px; margin-left: auto; margin-right: auto; }
.nn-cta-row--night .nn-eyebrow { color: var(--brass-night); margin: 0 0 8px; }

/* School catchments: FAQ and CTA polish (Nov 17 2026) */
@media (min-width: 900px) {
	.nn-catch-seo__faq { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); column-gap: 56px; align-items: start; }
	.nn-catch-seo__faq > h2 { grid-row: span 20; margin: 0; position: sticky; top: 120px; }
}
.nn-catch-seo__faq details { max-width: none; padding: 0; }
.nn-catch-seo__faq summary { list-style: none; position: relative; padding: 18px 40px 18px 0; font-family: var(--display); font-size: 20px; line-height: 1.3; }
.nn-catch-seo__faq summary::-webkit-details-marker { display: none; }
.nn-catch-seo__faq summary::after { content: "+"; position: absolute; right: 4px; top: 14px; font-size: 22px; color: var(--brass); transition: transform .3s; }
.nn-catch-seo__faq details[open] summary::after { transform: rotate(45deg); }
.nn-catch-seo__faq details p { margin: 0 0 18px; color: var(--stone); font-size: 15.5px; line-height: 1.65; }
.nn-catch-seo__cta { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 40px; align-items: center; padding: clamp(28px, 3vw, 44px); }
.nn-catch-seo__cta h2 { grid-column: 1; margin: 0 0 6px; }
.nn-catch-seo__cta p { grid-column: 1; margin: 0; color: #c9ccce !important; }
.nn-catch-seo__cta .nn-btn { grid-column: 2; grid-row: 1 / span 2; background: #f7f5f1; color: var(--ink); border-color: #f7f5f1; }
.nn-catch-seo__cta .nn-btn:hover { background: transparent; color: #f7f5f1; }
@media (max-width: 700px) { .nn-catch-seo__cta { grid-template-columns: 1fr; } .nn-catch-seo__cta .nn-btn { grid-column: 1; grid-row: auto; margin-top: 18px; justify-self: start; } }

/* Communities: only real guides as tiles, the rest as one line */
.nn-cg__more { margin: 22px 0 0; font-size: 14px; line-height: 1.8; color: var(--night-mute); max-width: 1000px; }
.nn-cg__more span { display: block; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--brass-night); margin-bottom: 4px; }
.nn-cg__grid:empty { display: none; }
/* Listings: private list card fills the empty slot */
.nn-lcard--private { display: flex; align-items: stretch; border: 1px solid var(--night-line); background: linear-gradient(160deg, #1b252c, #0f1519); text-decoration: none; min-height: 100%; }
.nn-lcard--private__in { display: flex; flex-direction: column; justify-content: center; gap: 14px; padding: clamp(28px, 3vw, 44px); }
.nn-lcard--private .nn-eyebrow { color: var(--brass-night); margin: 0; }
.nn-lcard--private__t { font-family: var(--display); font-size: clamp(26px, 1vw + 18px, 34px); line-height: 1.12; color: var(--on-night); }
.nn-lcard--private__p { font-size: 14.5px; line-height: 1.65; color: var(--night-mute); }
.nn-lcard--private__go { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--on-night); border-bottom: 1px solid var(--brass-night); align-self: flex-start; padding-bottom: 3px; }
.nn-lcard--private:hover { border-color: var(--brass-night); }
/* Listings page: separate the private list from the dark grid */
.post-type-archive-nn_listing #private-list { border-top: 1px solid var(--night-line); background: #0b1014; }

/* Services page (Nov 17 2026) */
.nn-svc-head__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px 64px; align-items: end; }
.nn-svc-head__side p { margin: 0 0 18px; color: var(--stone); font-size: 16px; line-height: 1.65; max-width: 520px; }
.nn-svc-jump { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.nn-svc-jump a { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink); border-bottom: 1px solid var(--brass); padding-bottom: 2px; }
.nn-svc { padding-top: clamp(16px, 2vw, 28px); }
.nn-svc__row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px 64px; padding: clamp(32px, 3.5vw, 52px) 0; border-bottom: 1px solid var(--line); scroll-margin-top: 120px; }
.nn-svc__row:last-child { border-bottom: 0; }
.nn-svc__num { display: block; font-size: 12px; letter-spacing: .2em; color: var(--brass); margin-bottom: 10px; }
.nn-svc__title { font-family: var(--display); font-weight: 400; font-size: clamp(30px, 1.6vw + 18px, 44px); line-height: 1.08; margin: 0 0 14px; }
.nn-svc__lead { margin: 0 0 20px; font-size: 16.5px; line-height: 1.7; color: var(--stone); max-width: 540px; }
.nn-svc__cta { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--ink); border-bottom: 1px solid var(--brass); padding-bottom: 3px; }
.nn-svc__list { list-style: none; margin: 0; padding: 0; align-self: center; border-top: 1px solid var(--line); }
.nn-svc__list li { position: relative; padding: 14px 0 14px 28px; border-bottom: 1px solid var(--line); font-size: 15.5px; line-height: 1.5; }
.nn-svc__list li::before { content: ""; position: absolute; left: 2px; top: 22px; width: 12px; height: 1px; background: var(--brass); }
@media (max-width: 900px) { .nn-svc-head__grid, .nn-svc__row { grid-template-columns: 1fr; } }

/* Services v2: visual (Nov 17 2026) */
.nn-svx-hero, .nn-svx-close { position: relative; overflow: hidden; color: var(--on-night); background: var(--surface-night); }
.nn-svx-hero { min-height: clamp(520px, 72vh, 760px); display: flex; align-items: flex-end; }
.nn-svx-hero__img, .nn-svx-close__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.nn-svx-hero::after, .nn-svx-close::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,14,17,.15) 0%, rgba(10,14,17,.35) 45%, rgba(10,14,17,.85) 100%); }
.nn-svx-hero__in, .nn-svx-close__in { position: relative; z-index: 1; padding-top: 120px; padding-bottom: clamp(48px, 6vw, 88px); }
.nn-svx-hero .nn-eyebrow, .nn-svx-close .nn-eyebrow { color: #fff; opacity: .85; }
.nn-svx-hero__title { font-family: var(--display); font-weight: 400; font-size: clamp(48px, 4vw + 20px, 92px); line-height: 1; margin: 10px 0 18px; color: #fff; }
.nn-svx-hero__sub { max-width: 560px; font-size: 17px; line-height: 1.65; color: rgba(255,255,255,.88); margin: 0 0 26px; }
.nn-svx-hero__btns { display: flex; flex-wrap: wrap; gap: 12px; }
.nn-svx-cards { padding-top: clamp(40px, 5vw, 72px); }
.nn-svx-cards__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.nn-svx-card { display: flex; flex-direction: column; color: var(--ink); text-decoration: none; background: #fff; border: 1px solid var(--line); transition: transform .3s, box-shadow .3s; scroll-margin-top: 120px; }
.nn-svx-card:hover { transform: translateY(-4px); box-shadow: 0 24px 48px rgba(0,0,0,.10); color: var(--ink); }
.nn-svx-card__media { aspect-ratio: 4 / 3; overflow: hidden; display: block; background: var(--line); }
.nn-svx-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s; }
.nn-svx-card:hover .nn-svx-card__media img { transform: scale(1.04); }
.nn-svx-card__body { display: flex; flex-direction: column; gap: 10px; padding: 26px 26px 28px; flex: 1; }
.nn-svx-card__title { font-family: var(--display); font-size: 30px; line-height: 1.1; }
.nn-svx-card__text { font-size: 15px; line-height: 1.65; color: var(--stone); flex: 1; }
.nn-svx-card__go { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; border-bottom: 1px solid var(--brass); align-self: flex-start; padding-bottom: 3px; margin-top: 6px; }
.nn-svx-h2 { font-family: var(--display); font-weight: 400; font-size: clamp(34px, 2.2vw + 18px, 58px); line-height: 1.05; margin: 8px 0 0; }
.nn-svx-tools .nn-eyebrow { color: var(--brass-night); }
.nn-svx-tools .nn-svx-h2 { color: var(--on-night); }
.nn-svx-tools__head { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px 48px; align-items: end; margin-bottom: clamp(32px, 4vw, 56px); }
.nn-svx-stats { display: flex; gap: clamp(24px, 3vw, 48px); }
.nn-svx-stats div { display: flex; flex-direction: column; gap: 4px; }
.nn-svx-stats strong { font-family: var(--display); font-weight: 400; font-size: clamp(34px, 2vw + 16px, 48px); line-height: 1; color: var(--on-night); }
.nn-svx-stats span { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--night-mute); }
.nn-svx-tools__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--night-line); border-left: 1px solid var(--night-line); }
.nn-svx-tool { padding: clamp(24px, 2.6vw, 36px); border-right: 1px solid var(--night-line); border-bottom: 1px solid var(--night-line); transition: background .3s; }
.nn-svx-tool:hover { background: rgba(255,255,255,.03); }
.nn-svx-tool__n { font-size: 12px; letter-spacing: .2em; color: var(--brass-night); }
.nn-svx-tool h3 { font-family: var(--display); font-weight: 400; font-size: 26px; line-height: 1.15; margin: 14px 0 10px; color: var(--on-night); }
.nn-svx-tool p { margin: 0; font-size: 14.5px; line-height: 1.65; color: var(--night-mute); }
.nn-svx-path__head { margin-bottom: clamp(28px, 3.5vw, 48px); }
.nn-svx-step { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 72px); align-items: center; padding: clamp(20px, 2.4vw, 32px) 0; }
.nn-svx-step--flip .nn-svx-step__media { order: 2; }
.nn-svx-step__media { aspect-ratio: 16 / 10; overflow: hidden; background: var(--line); }
.nn-svx-step__media img { width: 100%; height: 100%; object-fit: cover; }
.nn-svx-step__film, .nn-svx-step__film iframe { width: 100%; height: 100%; border: 0; }
.nn-svx-step__n { font-size: 12px; letter-spacing: .2em; color: var(--brass); }
.nn-svx-step__text h3 { font-family: var(--display); font-weight: 400; font-size: clamp(28px, 1.4vw + 16px, 40px); line-height: 1.1; margin: 10px 0 14px; }
.nn-svx-step__text p { margin: 0; font-size: 16px; line-height: 1.75; color: var(--stone); max-width: 480px; }
.nn-svx-step__link { display: inline-block; margin-top: 18px; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--ink); border-bottom: 1px solid var(--brass); padding-bottom: 3px; }
.nn-svx-close { min-height: 460px; display: flex; align-items: center; text-align: center; }
.nn-svx-close::after { background: rgba(10,14,17,.62); }
.nn-svx-close__in { padding-top: clamp(64px, 7vw, 104px); padding-bottom: clamp(64px, 7vw, 104px); }
.nn-svx-close .nn-svx-h2 { color: #fff; }
.nn-svx-close p { max-width: 560px; margin: 16px auto 26px; color: rgba(255,255,255,.88); font-size: 17px; line-height: 1.65; }
.nn-svx-close .nn-svx-hero__btns { justify-content: center; }
@media (max-width: 900px) {
	.nn-svx-cards__grid, .nn-svx-tools__grid, .nn-svx-step, .nn-svx-tools__head { grid-template-columns: 1fr; }
	.nn-svx-step--flip .nn-svx-step__media { order: 0; }
	.nn-svx-stats { flex-wrap: wrap; }
}

/* Articles: no gap between title and first photo */
body.single-post .nn-page-head { border-bottom: 0; padding-bottom: 8px; }
body.single-post .nn-page-head .nn-rule { margin-top: 16px; margin-bottom: 0; }
body.single-post .nn-article { padding-top: 20px; }
.nn-prose > :first-child, .nn-prose > p:first-child > img:first-child { margin-top: 0 !important; }
.nn-prose p:empty, .nn-prose p:has(> br:only-child) { display: none; }
.nn-prose p > img { margin: 0; }
.nn-prose > :first-child img, .nn-prose > :first-child { margin-top: 0 !important; }
.nn-prose img.aligncenter, .nn-prose img.alignnone { margin-top: 24px; margin-bottom: 24px; }

/* Article: wider reading column; title runs the full column width */
.nn-article .nn-prose, .nn-article__after, .nn-article .nn-comments, body.single-post .nn-page-head .nn-heading { max-width: 760px !important; }
body.single-post .nn-page-head h1.nn-display { text-wrap: pretty; max-width: none; }

/* Journal index and topics: title left, intro and filters right, compact */
body.blog .nn-page-head > .nn-wrap, body.category .nn-page-head > .nn-wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 64px; align-items: end; }
body.blog .nn-page-head .nn-heading, body.category .nn-page-head .nn-heading { grid-row: 1 / span 2; }
body.blog .nn-page-head__intro, body.category .nn-page-head__intro { margin: 0 0 14px; max-width: 560px; }
body.blog .nn-jfilter, body.category .nn-jfilter { margin-top: 0; }
body.blog .nn-page-head, body.category .nn-page-head { padding-bottom: 24px; }
body.blog .nn-page-head + .nn-section, body.category .nn-page-head + .nn-section { padding-top: 32px; }
@media (max-width: 900px) { body.blog .nn-page-head > .nn-wrap, body.category .nn-page-head > .nn-wrap { grid-template-columns: 1fr; } body.blog .nn-page-head .nn-heading, body.category .nn-page-head .nn-heading { grid-row: auto; } }

/* Editorial article typography (Nov 17 2026) */
.nn-prose--article { font-family: "Source Serif 4", Georgia, "Times New Roman", serif; font-optical-sizing: auto; font-size: 19.5px; line-height: 1.72; font-weight: 400; color: #2a2f33; letter-spacing: 0; }
.nn-prose--article > * + * { margin-top: 1.25em; }
.nn-prose--article p { margin: 0; }
.nn-prose--article > * + p { margin-top: 1.15em; }
.nn-prose--article .nn-lead { font-size: 23px; line-height: 1.6; color: var(--ink); }
.nn-prose--article .nn-lead::first-letter { float: left; font-family: var(--display); font-weight: 500; font-size: 4.4em; line-height: .8; padding: 8px 12px 0 0; color: var(--brass); }
.nn-prose--article h2, .nn-prose--article h3, .nn-prose--article p:has(> strong:only-child) { font-family: var(--display); font-weight: 500; color: var(--ink); letter-spacing: -.005em; margin-top: 1.9em; }
.nn-prose--article h2 { font-size: clamp(30px, 1vw + 22px, 38px); line-height: 1.15; }
.nn-prose--article h3, .nn-prose--article p:has(> strong:only-child) { font-size: clamp(25px, .6vw + 20px, 30px); line-height: 1.2; }
.nn-prose--article p:has(> strong:only-child) strong { font-weight: 500; }
.nn-prose--article h2 + *, .nn-prose--article h3 + *, .nn-prose--article p:has(> strong:only-child) + * { margin-top: .5em; }
.nn-prose--article strong { font-weight: 600; color: var(--ink); }
.nn-prose--article a { color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--brass); }
.nn-prose--article a:has(> img) { border: 0; display: block; }
.nn-prose--article img { width: 100%; height: auto; margin: 0 !important; }
.nn-prose--article p:has(> img:only-child), .nn-prose--article p:has(> a > img:only-child), .nn-prose--article figure { margin-top: 2em; margin-bottom: 2em; }
.nn-prose--article figcaption, .nn-prose--article .wp-caption-text { font-family: var(--sans, Montserrat), sans-serif; font-size: 13px; color: var(--stone); margin-top: 10px; }
.nn-prose--article ul, .nn-prose--article ol { padding-left: 1.4em; }
.nn-prose--article li + li { margin-top: .5em; }
.nn-prose--article ul li::marker { color: var(--brass); }
.nn-prose--article blockquote { margin: 2em 0; padding: 4px 0 4px 28px; border-left: 2px solid var(--brass); font-family: var(--display); font-style: italic; font-size: 28px; line-height: 1.35; color: var(--ink); }
.nn-byline { display: flex; align-items: center; gap: 12px; margin: 18px 0 0; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--stone); }
.nn-byline img { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; object-position: center 20%; }
body.single-post .nn-page-head .nn-byline { max-width: 760px; margin-left: auto; margin-right: auto; }
body.single-post .nn-page-head .nn-rule { display: none; }
@media (max-width: 700px) { .nn-prose--article { font-size: 18px; } .nn-prose--article .nn-lead { font-size: 20px; } }

/* Article blocks: photos, galleries, wide and full-width images, video, captions (Nov 17 2026) */
.nn-prose--article .wp-block-image, .nn-prose--article .wp-block-gallery, .nn-prose--article .wp-block-embed, .nn-prose--article .wp-block-video, .nn-prose--article .wp-block-columns { margin-top: 2.2em; margin-bottom: 2.2em; }
.nn-prose--article .wp-block-image img { display: block; width: 100%; height: auto; }
.nn-prose--article .wp-element-caption, .nn-prose--article figcaption { font-family: var(--sans); font-size: 13px; line-height: 1.5; color: var(--stone); margin: 10px 0 0; text-align: left; }
@media (min-width: 1000px) {
	.nn-prose--article .alignwide { width: min(1120px, calc(100vw - 96px)); max-width: none; margin-left: 50%; transform: translateX(-50%); }
}
.nn-prose--article .alignfull { width: 100vw; max-width: none; margin-left: 50%; transform: translateX(-50%); }
.nn-prose--article .alignfull img { max-height: 85vh; object-fit: cover; }
.nn-prose--article .alignfull .wp-element-caption { padding: 0 clamp(16px, 4.5vw, 64px); }
.nn-prose--article .wp-block-gallery { display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px !important; }
.nn-prose--article .wp-block-gallery.columns-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.nn-prose--article .wp-block-gallery.columns-1 { grid-template-columns: 1fr; }
.nn-prose--article .wp-block-gallery .wp-block-image { margin: 0 !important; width: auto !important; }
.nn-prose--article .wp-block-gallery .wp-block-image img { aspect-ratio: 4 / 3; object-fit: cover; height: 100% !important; }
.nn-prose--article .wp-block-gallery > .wp-element-caption { grid-column: 1 / -1; }
.nn-prose--article .wp-block-embed__wrapper { position: relative; aspect-ratio: 16 / 9; }
.nn-prose--article .wp-block-embed__wrapper iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.nn-prose--article .wp-block-video video { width: 100%; display: block; }
.nn-prose--article .wp-block-columns { display: flex; gap: 24px; }
.nn-prose--article .wp-block-column { flex: 1; min-width: 0; }
.nn-prose--article .wp-block-pullquote { margin: 2.4em 0; padding: 28px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); text-align: center; }
.nn-prose--article .wp-block-pullquote blockquote { border: 0; padding: 0; margin: 0; font-size: clamp(28px, 1vw + 22px, 36px); }
.nn-prose--article .wp-block-pullquote cite { display: block; margin-top: 12px; font-family: var(--sans); font-style: normal; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--stone); }
.nn-prose--article .wp-block-separator { border: 0; border-top: 1px solid var(--line); margin: 2.4em auto; width: 120px; }
@media (max-width: 700px) { .nn-prose--article .wp-block-gallery, .nn-prose--article .wp-block-gallery.columns-3 { grid-template-columns: 1fr 1fr; } .nn-prose--article .wp-block-columns { flex-direction: column; } }
@media (min-width: 1000px) { .nn-prose.nn-prose--article figure.alignwide, .nn-prose.nn-prose--article .alignwide { max-width: none !important; width: min(1120px, calc(100vw - 96px)) !important; margin-left: 50% !important; transform: translateX(-50%); } }
.nn-prose.nn-prose--article figure.alignfull, .nn-prose.nn-prose--article .alignfull { max-width: none !important; width: 100vw !important; margin-left: 50% !important; transform: translateX(-50%); }
.nn-article { overflow-x: clip; }

/* Monthly report sign-up (one report, email only) */
.nn-form--report.nn-form--row { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(220px, 1fr) auto; gap: 16px 28px; align-items: end; }
.nn-form--report .nn-form__intro h3 { margin: 0 0 6px; }
.nn-form--report .nn-form__intro p { margin: 0; }
.nn-form--report .nn-f { margin: 0; }
@media (max-width: 800px) { .nn-form--report.nn-form--row { grid-template-columns: 1fr; } }

/* ===== Listing Highlights: row layout (v0.7.2) ===== */
.nn-features--lux { display: block; margin-top: var(--space-4); border-top: 1px solid var(--ink); container-type: inline-size; }
.nn-features--lux > .nn-collapse { display: grid; grid-template-columns: minmax(0, 1fr); align-items: start; padding: 24px 0 26px; border-bottom: 1px solid var(--line); }
.nn-features--lux h3 { display: flex; align-items: baseline; gap: 12px; margin: 0 0 6px; font-size: 11px; line-height: 1.6; letter-spacing: 0.22em; color: var(--ink); }
.nn-features__num { font-family: var(--display); font-style: italic; font-size: 22px; letter-spacing: 0; color: var(--brass); line-height: 1; flex: none; }
.nn-features--lux ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 40px; }
.nn-features--lux li { padding: 11px 0; border-top: 1px solid var(--line); font-size: 16px; line-height: 1.5; color: var(--ink); text-wrap: pretty; }
.nn-features--lux li:nth-child(-n+2) { border-top: 0; }
.nn-features--lux li::before { content: none; }
.nn-features--lux .nn-collapse__toggle { justify-self: start; margin-top: 14px; font-size: 11px; letter-spacing: 0.22em; color: var(--brass-text); }
@container (min-width: 900px) {
	.nn-features--lux > .nn-collapse { grid-template-columns: 220px minmax(0, 1fr); column-gap: 56px; }
	.nn-features--lux h3 { margin: 0; padding-top: 12px; }
	.nn-features--lux ul { gap: 0 56px; }
	.nn-features--lux .nn-collapse__toggle { grid-column: 2; }
}
@container (max-width: 480px) {
	.nn-features--lux ul { grid-template-columns: 1fr; }
	.nn-features--lux li:nth-child(2) { border-top: 1px solid var(--line); }
}
/* Highlights: bolder headings, slightly heavier items (v0.7.3) */
.nn-features--lux h3 { font-size: 12.5px; font-weight: 600; letter-spacing: 0.2em; }
.nn-features__num { font-size: 24px; font-weight: 600; }
.nn-features--lux li { font-weight: 500; }
/* Readability: lining numerals in display type, listing header (v0.7.4) */
body, body * { font-variant-numeric: lining-nums; }
.nn-facts dd, .nn-lhead__price, .nn-stat__value, .nn-proof__value, .nn-figures__value, .nn-drive__value, .nn-listing__price { font-variant-numeric: lining-nums tabular-nums; }
.nn-lhead__locality { color: var(--ink); opacity: .8; }
.nn-listing__headline { font-size: 25px; line-height: 1.35; font-weight: 500; color: var(--ink); margin-top: 10px; font-variant-numeric: lining-nums; font-feature-settings: "lnum" 1; }
/* Highlights: bullets, no lines between items (v0.7.4) */
.nn-features--lux ul { row-gap: 2px; }
.nn-features--lux li, .nn-features--lux li:nth-child(2) { position: relative; padding: 8px 0 8px 24px; border-top: 0; }
.nn-features--lux li::before { content: ""; position: absolute; left: 2px; top: calc(8px + 0.75em - 3.5px); width: 7px; height: 7px; background: var(--brass); transform: rotate(45deg); }

/* ==========================================================================
   v0.7.6 School pages and hub links
   ========================================================================== */
.nn-catch-seo__link { color: var(--ink); text-decoration: none; border-bottom: 1px solid transparent; }
.nn-catch-seo__link:hover, .nn-catch-seo__link:focus-visible { border-bottom-color: currentColor; color: #1f5a60; }
.nn-catch-seo__pin { display: inline-flex; align-items: center; margin-left: 8px; padding: 2px; color: var(--stone, #5f676b); vertical-align: middle; }
.nn-catch-seo__pin:hover, .nn-catch-seo__pin:focus-visible { color: #1f5a60; border-bottom-color: transparent; }

.nn-school-crumbs { display: flex; gap: 10px; margin-bottom: 18px; font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--stone, #5f676b); }
.nn-school-crumbs a { color: inherit; text-decoration: none; border-bottom: 1px solid var(--line); }
.nn-school-crumbs a:hover { color: var(--ink); }
.nn-school-head h1 { margin: 0 0 16px; }
.nn-school-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 0; margin: 0 0 28px; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--line); }
.nn-school-facts > div { padding: 16px 20px 16px 0; }
.nn-school-facts dt { margin: 0 0 6px; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--stone, #5f676b); }
.nn-school-facts dd { margin: 0; font-size: 18px; font-weight: 500; color: var(--ink); font-variant-numeric: lining-nums tabular-nums; }
.nn-school-facts a { color: inherit; border-bottom: 1px solid var(--line); text-decoration: none; }
.nn-school-note { margin: -12px 0 24px; color: var(--stone, #5f676b); font-size: 15px; }
.nn-school-lede { max-width: 760px; color: var(--stone, #5f676b); margin: 0 0 24px; }
.nn-school-page .nn-section .nn-display--m { font-size: clamp(30px, 1.8vw + 16px, 42px); line-height: 1.1; margin: 0 0 14px; }
.nn-school-family, .nn-school-areas { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); border-top: 1px solid var(--line); }
.nn-school-family li, .nn-school-areas li { padding: 14px 16px 14px 0; border-bottom: 1px solid var(--line); }
.nn-school-family a, .nn-school-areas a { color: var(--ink); font-size: 17px; font-weight: 500; text-decoration: none; }
.nn-school-family a:hover, .nn-school-areas a:hover { color: #1f5a60; }
.nn-school-family span { display: block; margin-top: 4px; font-size: 13px; color: var(--stone, #5f676b); font-variant-numeric: lining-nums tabular-nums; }
.nn-school-family li.is-current a { color: #1f5a60; }
.nn-school-family li.is-current a::after { content: "  (this school)"; font-weight: 400; font-size: 13px; color: var(--stone, #5f676b); }
.nn-catch-seo__fam li { grid-template-columns: auto 1fr auto; }
.nn-catch-seo__fam li .nn-catch-seo__pin { margin-left: 2px; justify-self: start; align-self: center; }
.nn-catch-seo__fam li .nn-catch-seo__link { line-height: 1.3; }
.nn-catch-seo__fam h3 { display: flex; align-items: center; }
.nn-school-facts--sub { border-top: 0; margin-top: -28px; }
.nn-school-facts--sub dd { font-size: 16px; }
.nn-school-facts__wide { grid-column: span 2; }
@media (max-width: 640px) { .nn-school-facts__wide { grid-column: auto; } }
.nn-wrap.nn-school-prose > * { max-width: 820px; }
.nn-school-prose p { font-size: 18px; line-height: 1.7; color: var(--ink); margin: 0 0 18px; }
.nn-school-head .nn-wrap { display: block; }
.nn-school-head .nn-page-head__intro { max-width: 820px; }

/* ==========================================================================
   v0.7.8 Clean solid SOLD tag
   ========================================================================== */
.nn-lcard__badge, .nn-hslider__label { background: var(--status-red); left: 16px; border-radius: 2px; box-shadow: 0 2px 10px rgba(20, 27, 32, 0.18); font-weight: 600; }
.nn-lcard__badge { top: 16px; padding: 8px 14px; font-size: 12px; line-height: 1; letter-spacing: 0.2em; }
.nn-hslider__label { top: 24px; left: 24px; padding: 11px 18px; font-size: 13px; letter-spacing: 0.22em; }
.nn-homes__slide .nn-lcard__badge { top: 12px; left: 12px; padding: 6px 11px; font-size: 11px; }
@media (max-width: 760px) { .nn-hslider__label { top: 16px; left: 16px; padding: 9px 14px; font-size: 12px; } .nn-lcard__badge { top: 12px; left: 12px; padding: 7px 12px; font-size: 11px; } }

/* Testimonials band (0.8.0) */
.nn-testi__inner { display: flex; flex-direction: column; align-items: center; text-align: center; gap: var(--space-4); }
.nn-testi__head { display: flex; flex-direction: column; align-items: center; }
.nn-testi__track { width: 100%; max-width: 900px; min-height: 15em; display: grid; align-items: center; }
.nn-testi__slide { margin: 0; grid-area: 1 / 1; display: flex; flex-direction: column; align-items: center; gap: var(--space-4); }
.nn-testi__slide.is-active { animation: nn-testi-in 0.6s ease both; }
@keyframes nn-testi-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.nn-testi__slide blockquote { margin: 0; font-family: var(--display); font-style: italic; font-size: clamp(21px, 1.2vw + 14px, 28px); line-height: 1.45; text-wrap: pretty; }
.nn-testi__slide blockquote::before { content: "\201C"; display: block; font-size: 2.4em; line-height: 0.6; color: var(--brass); opacity: 0.7; margin-bottom: 0.2em; font-style: normal; }
.nn-testi__slide figcaption { display: flex; flex-direction: column; gap: 4px; }
.nn-testi__name { font-size: 13px; letter-spacing: 0.2em; text-transform: uppercase; }
.nn-testi__detail { font-size: 14px; color: var(--stone); }
.nn-testi__nav { display: flex; align-items: center; gap: var(--space-4); }
.nn-testi__arrow { background: none; border: 1px solid currentColor; border-radius: 50%; width: 44px; height: 44px; display: grid; place-items: center; cursor: pointer; color: inherit; opacity: 0.7; transition: opacity 0.2s; }
.nn-testi__arrow:hover, .nn-testi__arrow:focus-visible { opacity: 1; }
.nn-testi__dots { display: flex; gap: 10px; }
.nn-testi__dot { width: 8px; height: 8px; padding: 0; border-radius: 50%; border: 1px solid currentColor; background: transparent; cursor: pointer; opacity: 0.5; }
.nn-testi__dot.is-active { background: currentColor; opacity: 1; }
@media (max-width: 640px) { .nn-testi__track { min-height: 22em; } }
@media (prefers-reduced-motion: reduce) { .nn-testi__slide.is-active { animation: none; } }

/* MLS search (0.9.0) */
.nn-crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--stone); margin-bottom: var(--space-4); }
.nn-crumbs a { color: var(--stone); }
.nn-crumbs a:hover { color: var(--ink); }
.nn-mls-head .nn-page-head__intro .nn-link { margin-left: 8px; }
.nn-mls-filters { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 14px 16px; margin-top: var(--space-5); }
.nn-mls-f { display: flex; flex-direction: column; gap: 6px; min-width: 150px; flex: 1 1 150px; }
.nn-mls-f--s { min-width: 90px; flex: 0 1 100px; }
.nn-mls-f span { font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--stone); }
.nn-mls-f select { height: 48px; padding: 0 12px; border: 1px solid var(--line); background: var(--surface-raised); font: inherit; font-size: 15px; color: var(--ink); border-radius: 0; }
.nn-mls-filters .nn-btn { height: 48px; }
.nn-mls-reset { align-self: center; }
.nn-mls-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.8fr); gap: var(--space-5); align-items: start; }
.nn-mls-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.nn-mls-mapcol { position: sticky; top: 110px; }
.nn-mls-map { height: calc(100vh - 150px); min-height: 420px; border: 1px solid var(--line); }
.nn-mls-area { position: absolute; top: 14px; left: 50%; transform: translateX(-50%); background: var(--surface-raised); z-index: 2; }
.nn-mls-pin { display: block; padding: 4px 8px; background: var(--ink); color: #fff; font-size: 12px; font-weight: 600; letter-spacing: 0.02em; border-radius: 2px; box-shadow: 0 2px 8px rgba(20,27,32,0.25); white-space: nowrap; }
.nn-mls-pin:hover { background: var(--brass); color: #fff; }
.nn-mls-note { margin: 0 0 var(--space-3); color: var(--stone); }
.nn-mls-pages { display: flex; align-items: center; justify-content: center; gap: var(--space-4); margin-top: var(--space-5); color: var(--stone); }
.nn-mls-card .nn-lcard__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.nn-mls-citylist { list-style: none; padding: 0; margin: var(--space-4) 0 var(--space-6); columns: 4 200px; column-gap: var(--space-5); }
.nn-mls-citylist li { padding: 6px 0; break-inside: avoid; }
.nn-mls-citylist span { color: var(--stone); font-size: 13px; }
.nn-mls-legal { max-width: 900px; font-size: 12px; line-height: 1.6; color: var(--stone); }
.nn-mls-legal p { margin: 0 0 8px; }
.nn-mls-badge { display: inline-flex; flex-shrink: 0; }
.nn-mls-badge img { width: 125px; height: auto; display: block; }
.nn-mls-badge__text { display: flex; flex-direction: column; justify-content: center; align-items: center; width: 90px; height: 90px; border: 1px solid #d22630; color: #d22630; font-size: 11px; text-align: center; line-height: 1.3; }
.nn-mls-badge__text strong { font-size: 13px; }
@media (max-width: 1000px) {
	.nn-mls-layout { grid-template-columns: 1fr; }
	.nn-mls-mapcol { position: relative; top: 0; order: -1; }
	.nn-mls-map { height: 320px; min-height: 0; }
}
@media (max-width: 640px) { .nn-mls-cards { grid-template-columns: 1fr; } }

/* MLS listing page */
.nn-mls-lhead__row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: var(--space-4); }
.nn-mls-lhead h1 { margin: 6px 0 8px; }
.nn-mls-lhead__specs { margin: 0; color: var(--stone); letter-spacing: 0.04em; }
.nn-mls-lhead__price { margin: 0; font-family: var(--display); font-size: clamp(30px, 2vw + 18px, 44px); text-align: right; }
.nn-mls-lhead__price span { display: block; font-family: var(--sans); font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--stone); }
.nn-mls-gallery { padding-top: var(--space-4); }
.nn-mls-gallery__grid { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 8px; height: clamp(320px, 42vw, 560px); }
.nn-mls-gallery__cell { position: relative; padding: 0; border: 0; background: var(--line); cursor: zoom-in; overflow: hidden; }
.nn-mls-gallery__cell.is-main { grid-row: span 2; }
.nn-mls-gallery__cell img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.4s ease; }
.nn-mls-gallery__cell:hover img { transform: scale(1.02); }
.nn-mls-gallery__more { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(20,27,32,0.45); color: #fff; font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; }
.nn-mls-lightbox { width: min(1100px, 96vw); max-height: 92vh; padding: 0; border: 0; background: var(--surface-night); }
.nn-mls-lightbox::backdrop { background: rgba(10,14,17,0.85); }
.nn-mls-lightbox__list { display: flex; flex-direction: column; gap: 8px; padding: 48px 16px 16px; max-height: 92vh; overflow-y: auto; }
.nn-mls-lightbox__list img { width: 100%; height: auto; display: block; }
.nn-mls-lightbox__close { position: sticky; top: 0; float: right; margin: 8px; width: 40px; height: 40px; border: 0; background: rgba(255,255,255,0.12); color: #fff; font-size: 26px; cursor: pointer; z-index: 2; }
.nn-mls-body__grid { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: var(--space-6); align-items: start; }
.nn-mls-main > h2 { margin: var(--space-6) 0 var(--space-3); }
.nn-mls-main > h2:first-child { margin-top: 0; }
.nn-mls-remarks { max-width: 760px; }
.nn-mls-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 var(--space-5); margin: 0; }
.nn-mls-facts div { display: grid; grid-template-columns: 150px 1fr; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.nn-mls-facts dt { font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--stone); }
.nn-mls-facts dd { margin: 0; }
.nn-mls-rooms { width: 100%; border-collapse: collapse; font-size: 15px; }
.nn-mls-rooms th { text-align: left; font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--stone); font-weight: 400; padding: 8px 0; border-bottom: 1px solid var(--line); }
.nn-mls-rooms td { padding: 10px 0; border-bottom: 1px solid var(--line); }
.nn-mls-lmap { height: 360px; border: 1px solid var(--line); }
.nn-mls-source { display: flex; gap: var(--space-4); align-items: center; margin-top: var(--space-6); padding-top: var(--space-4); border-top: 1px solid var(--line); }
.nn-mls-source p { margin: 0 0 6px; }
.nn-mls-aside { position: sticky; top: 110px; }
@media (max-width: 1000px) {
	.nn-mls-body__grid { grid-template-columns: 1fr; }
	.nn-mls-aside { position: static; }
	.nn-mls-facts { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
	.nn-mls-gallery__grid { grid-template-columns: 1fr 1fr; grid-template-rows: 2fr 1fr; height: 420px; }
	.nn-mls-gallery__cell.is-main { grid-column: span 2; grid-row: auto; }
	.nn-mls-gallery__cell:nth-child(n+4) { display: none; }
	.nn-mls-lhead__price { text-align: left; }
}

/* MLS location picker, card photos, map hover (0.9.1) */
.nn-mls-f--loc { flex: 2 1 260px; position: relative; }
.nn-loc > summary { list-style: none; height: 48px; display: flex; align-items: center; padding: 0 36px 0 12px; border: 1px solid var(--line); background: var(--surface-raised); cursor: pointer; font-size: 15px; position: relative; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nn-loc > summary::-webkit-details-marker { display: none; }
.nn-loc > summary::after { content: ""; position: absolute; right: 14px; top: 50%; width: 7px; height: 7px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-70%) rotate(45deg); }
.nn-loc[open] > summary { border-color: var(--ink); }
.nn-loc__value { overflow: hidden; text-overflow: ellipsis; }
.nn-loc__panel { position: absolute; z-index: 30; top: calc(100% + 6px); left: 0; width: min(440px, 92vw); max-height: 70vh; display: flex; flex-direction: column; background: var(--surface-raised); border: 1px solid var(--line); box-shadow: 0 18px 40px rgba(20,27,32,0.14); }
.nn-loc__find { margin: 12px 12px 6px; height: 42px; padding: 0 12px; border: 1px solid var(--line); font: inherit; font-size: 15px; background: var(--surface); }
.nn-loc__tree { list-style: none; margin: 0; padding: 0 12px 8px; overflow-y: auto; flex: 1; }
.nn-loc__tree ul { list-style: none; margin: 0; padding: 0 0 0 22px; }
.nn-loc__tree details > summary { list-style: none; cursor: pointer; position: relative; }
.nn-loc__tree details > summary::-webkit-details-marker { display: none; }
.nn-loc__tree details > summary::before { content: "+"; position: absolute; left: -16px; top: 9px; width: 12px; color: var(--stone); font-size: 14px; line-height: 1; }
.nn-loc__tree details[open] > summary::before { content: "\2212"; }
.nn-loc__area { border-bottom: 1px solid var(--line); }
.nn-loc__area > details > summary { padding-left: 18px; }
.nn-loc__area > details > summary::before { left: 0; }
.nn-loc__row { display: flex; align-items: center; gap: 10px; padding: 7px 0; font-size: 15px; cursor: pointer; text-transform: none; letter-spacing: 0; color: var(--ink); }
.nn-loc__row input { width: 16px; height: 16px; accent-color: var(--ink); margin: 0; flex-shrink: 0; }
.nn-loc__row em { margin-left: auto; font-style: normal; font-size: 12px; color: var(--stone); }
.nn-loc__row--all { padding: 8px 12px; border-bottom: 1px solid var(--line); }
.nn-loc__foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 12px; border-top: 1px solid var(--line); }
.nn-loc__foot .nn-btn { height: 42px; }
.nn-loc__clear { background: none; border: 0; padding: 0; cursor: pointer; font: inherit; }

.nn-mls-card { position: relative; transition: box-shadow 0.25s ease; }
.nn-mls-card.is-hot { box-shadow: 0 0 0 2px var(--brass); }
.nn-mls-card__link { display: flex; flex-direction: column; gap: var(--space-2); color: var(--ink); }
.nn-mls-card__link:hover { color: var(--ink); }
.nn-mls-photos { margin-bottom: 12px; }
.nn-mls-photos__track { display: flex; width: 100%; height: 100%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.nn-mls-photos__track::-webkit-scrollbar { display: none; }
.nn-mls-photos__track img { flex: 0 0 100%; width: 100%; height: 100%; object-fit: cover; scroll-snap-align: start; }
.nn-mls-card:hover .nn-lcard__media img { transform: none; }
.nn-mls-photos__nav { position: absolute; top: 50%; transform: translateY(-50%); width: 36px; height: 36px; border: 0; border-radius: 50%; background: rgba(255,255,255,0.88); color: var(--ink); font-size: 24px; line-height: 1; cursor: pointer; opacity: 0; transition: opacity 0.2s ease; display: grid; place-items: center; padding: 0 0 3px; }
.nn-mls-photos__nav--prev { left: 10px; }
.nn-mls-photos__nav--next { right: 10px; }
.nn-mls-card:hover .nn-mls-photos__nav, .nn-mls-photos__nav:focus-visible { opacity: 1; }
.nn-mls-photos__count { position: absolute; right: 10px; bottom: 10px; padding: 3px 8px; background: rgba(20,27,32,0.6); color: #fff; font-size: 11px; letter-spacing: 0.06em; border-radius: 2px; }
@media (hover: none) { .nn-mls-photos__nav { display: none; } }
.nn-mls-pin { transition: transform 0.15s ease, background 0.15s ease; }
.nn-mls-pin.is-hot { background: var(--brass); transform: scale(1.18); z-index: 5; }
