/* Coastal Light – Nick Ponte Realty preview. Tokens from the design handoff README. */
:root {
	--npc-bg: #F3F7FA; --npc-panel: #E6EFF5; --npc-plate: #C9DBE8; --npc-ph: #DCE8F0;
	--npc-border: #D7E3EC; --npc-div: #E3ECF3; --npc-btn-border: #B9CCDC;
	--npc-deep: #1F3A5F; --npc-steel: #3F6E99; --npc-hover: #2F5A80;
	--npc-text: #243447; --npc-muted: #5A6B7D; --npc-faint: #637387; /* handoff #7A8A9A darkened for WCAG AA contrast on white */
	--npc-serif: "EB Garamond", Garamond, "Times New Roman", serif;
	--npc-sans: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
	--npc-gutter: clamp(20px, 4vw, 32px);
	--npc-section: clamp(72px, 9vw, 120px);
	--npc-shadow-card: 0 24px 50px -40px rgba(31, 58, 95, .4);
	--npc-bar: var(--wp-admin--admin-bar--height, 0px);
	color-scheme: light;
}
body.npc { margin: 0; background: var(--npc-bg); color: var(--npc-text); font: 400 16px/1.6 var(--npc-sans); -webkit-font-smoothing: antialiased; }
.npc *, .npc *::before, .npc *::after { box-sizing: border-box; }
.npc img { max-width: 100%; height: auto; display: block; }
:where(.npc) a { color: var(--npc-deep); text-decoration: none; transition: color .15s, background-color .15s, border-color .15s; }
:where(.npc) a:hover { color: var(--npc-steel); }
.npc :focus-visible { outline: 2px solid var(--npc-steel); outline-offset: 3px; }
:where(.npc) :where(p, h1, h2, h3, dl, dd, ul, ol, blockquote, figure) { margin: 0; }
:where(.npc) :where(ul, ol) { padding: 0; list-style: none; }
.npc input::placeholder { color: var(--npc-faint); }
.npc-sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.npc-skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: #fff; padding: 8px 12px; border-radius: 8px; }
.npc-skip:focus { left: 8px; }
html:has(body.npc) { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html:has(body.npc) { scroll-behavior: auto; } }
#about, #contact { scroll-margin-top: calc(76px + var(--npc-bar)); }

.npc-wrap { max-width: calc(1180px + 2 * var(--npc-gutter)); margin: 0 auto; padding-left: var(--npc-gutter); padding-right: var(--npc-gutter); }
.npc-section { padding-top: var(--npc-section); }

/* Type */
.npc-eyebrow, .npc-label { font: 600 12px/1.4 var(--npc-sans); letter-spacing: .16em; text-transform: uppercase; color: var(--npc-steel); }
.npc-label { letter-spacing: .14em; }
.npc-eyebrow { margin-bottom: 14px; }
.npc-eyebrow--light { color: #B9CCDC; }
.npc-h2 { font: 500 clamp(36px, 4vw, 52px)/1.05 var(--npc-serif); color: var(--npc-deep); letter-spacing: -.01em; text-wrap: balance; }
.npc-h2--light { color: #fff; }
.npc-muted { color: var(--npc-muted); font-size: 13px; }

/* Buttons */
.npc-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 28px; }
.npc .npc-btn { display: inline-flex; align-items: center; justify-content: center; white-space: nowrap; background: var(--npc-steel); color: #fff; border: 1px solid var(--npc-steel);
	border-radius: 10px; padding: 12px 20px; font: 600 14px/1.2 var(--npc-sans); cursor: pointer; }
.npc .npc-btn:hover { background: var(--npc-hover); border-color: var(--npc-hover); color: #fff; }
.npc .npc-btn--sm { font-size: 13px; padding: 11px 18px; }
.npc .npc-btn--lg { font-size: 15px; padding: 15px 24px; }
.npc .npc-btn--ghost { background: rgba(255, 255, 255, .85); color: var(--npc-deep); border-color: var(--npc-btn-border); }
.npc .npc-btn--ghost:hover { background: var(--npc-bg); color: var(--npc-deep); border-color: var(--npc-btn-border); }
.npc .npc-link { font: 600 14px var(--npc-sans); color: var(--npc-deep); border-bottom: 1px solid var(--npc-steel); padding-bottom: 2px; white-space: nowrap; }

/* Header */
.npc-header { position: sticky; top: var(--npc-bar); z-index: 20; background: rgba(255, 255, 255, .62);
	-webkit-backdrop-filter: blur(24px) saturate(160%); backdrop-filter: blur(24px) saturate(160%);
	border-bottom: 1px solid rgba(255, 255, 255, .7); box-shadow: 0 1px 0 rgba(31, 58, 95, .08), 0 12px 30px -20px rgba(31, 58, 95, .25); }
.npc-header__in { min-height: 76px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; padding-block: 10px; }
.npc-logo__img { height: 30px; width: auto; }
.npc-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 26px; }
.npc-nav a:not(.npc-btn) { font: 500 14px var(--npc-sans); color: var(--npc-deep); padding: 4px 0; border-bottom: 2px solid transparent; }
.npc-nav a:not(.npc-btn):hover { color: var(--npc-steel); }
.npc-nav a[aria-current="page"] { border-bottom-color: var(--npc-steel); }

/* Hero */
.npc-hero { position: relative; min-height: min(90vh, 820px); display: flex; align-items: center; overflow: hidden; }
.npc-hero__img { position: absolute; inset: 0; width: 100%; height: 100% !important; object-fit: cover; }
.npc-hero__veil { position: absolute; inset: 0;
	background: linear-gradient(90deg, rgba(243, 247, 250, .97) 0%, rgba(243, 247, 250, .88) 30%, rgba(243, 247, 250, .4) 56%, transparent 76%),
		linear-gradient(0deg, rgba(243, 247, 250, .92) 0, transparent 200px); }
.npc-hero__in { position: relative; width: 100%; padding-top: 72px; padding-bottom: 170px; }
.npc-hero__h1 { font: 500 clamp(40px, 5.4vw, 80px)/1.02 var(--npc-serif); letter-spacing: -.015em; color: var(--npc-deep); max-width: 1060px; text-wrap: balance; }
.npc-hero__lede { font-size: 18px; line-height: 1.6; color: var(--npc-text); max-width: 520px; margin-top: 24px; }

/* Stats */
.npc-stats { position: relative; z-index: 2; margin-top: -120px; background: #fff; border: 1px solid var(--npc-border); border-radius: 18px;
	box-shadow: 0 30px 70px -40px rgba(31, 58, 95, .45); display: grid; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); overflow: hidden; }
.npc-stats__cell { padding: 30px 28px 28px; box-shadow: 1px 0 0 #E3ECF3, 0 1px 0 #E3ECF3; }
.npc-stats__v { font: 500 clamp(34px, 3.2vw, 44px)/1.1 var(--npc-serif); color: var(--npc-deep); white-space: nowrap; margin: 10px 0 6px; font-variant-numeric: lining-nums; }
.npc-stats__c { font-size: 14px; color: var(--npc-muted); }

/* Town markets */
.npc-towns__head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 20px 40px; margin-bottom: 36px; }
.npc-towns__note { font-size: 15px; color: var(--npc-muted); max-width: 380px; }
.npc-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); gap: 20px; }
.npc .npc-tile { position: relative; display: block; aspect-ratio: 4 / 5; border-radius: 18px; overflow: hidden; box-shadow: 0 24px 50px -34px rgba(31, 58, 95, .5); background: var(--npc-ph); color: #fff; }
.npc-tile__img { position: absolute; inset: 0; width: 100%; height: 100% !important; object-fit: cover; }
.npc-tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(31, 58, 95, .85) 100%); }
.npc-tile__txt { position: absolute; left: 26px; right: 26px; bottom: 26px; z-index: 1; display: grid; gap: 6px; }
.npc-tile__name { font: 500 38px/1 var(--npc-serif); color: #fff; }
.npc-tile__tag { font-size: 14px; color: #E6EFF5; }
.npc-tile__row { display: flex; justify-content: space-between; gap: 12px; font: 600 13px var(--npc-sans); color: #fff; margin-top: 8px; }
.npc .npc-tile:hover { color: #fff; }
.npc-more { margin-top: 20px; background: var(--npc-panel); border: 1px solid var(--npc-border); border-radius: 18px; padding: 10px 28px;
	display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); column-gap: 48px; }
.npc .npc-more__row { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 16px 0; border-bottom: 1px solid rgba(31, 58, 95, .12); }
.npc-more__name { font: 500 22px var(--npc-serif); color: var(--npc-deep); }
.npc-more__tag { display: block; font-size: 13px; color: var(--npc-muted); }
.npc-more__price { font: 600 13px var(--npc-sans); color: var(--npc-steel); white-space: nowrap; }

/* About */
.npc-band { background: var(--npc-panel); border-top: 1px solid var(--npc-border); border-bottom: 1px solid var(--npc-border); }
.npc-about { margin-top: var(--npc-section); }
.npc-about__in { padding-block: clamp(64px, 8vw, 104px); display: grid; grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr)); gap: 48px clamp(40px, 7vw, 88px); align-items: center; }


.npc-portrait__img { position: relative; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 20px; box-shadow: 0 30px 60px -36px rgba(31, 58, 95, .5); }
.npc-about__p1 { font-size: 18px; color: var(--npc-text); margin-top: 22px; }
.npc-about__p2 { font-size: 16px; color: var(--npc-muted); margin-top: 16px; }
.npc-about__stats { display: flex; flex-wrap: wrap; gap: 20px 40px; margin-top: 28px; padding-bottom: 24px; border-bottom: 1px solid var(--npc-border); }
.npc-about__v { font: 500 34px/1.1 var(--npc-serif); color: var(--npc-deep); }
.npc-about__c { font-size: 13px; color: var(--npc-muted); }

/* 387 Ocean */
.npc-ocean { position: relative; min-height: 600px; display: flex; align-items: center; background: var(--npc-deep); overflow: hidden; }
.npc-ocean__img { position: absolute; inset: 0; width: 100%; height: 100% !important; object-fit: cover; }
.npc-ocean__scrim { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(31, 58, 95, .72), rgba(31, 58, 95, .5) 55%, rgba(31, 58, 95, .38)); }
.npc-ocean__in { position: relative; width: 100%; padding-block: 64px; }
.npc-ocean__card { max-width: 540px; background: rgba(255, 255, 255, .86); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
	border: 1px solid rgba(255, 255, 255, .7); border-radius: 20px; padding: clamp(28px, 4vw, 44px); box-shadow: 0 30px 70px -40px rgba(0, 0, 0, .5); }
.npc-ocean__card p:not(.npc-eyebrow) { font-size: 15px; margin: 16px 0 24px; }
.npc-ocean__h { font-size: clamp(34px, 3.4vw, 46px); }

/* Testimonial (rotating, photo behind) */
.npc-quote { position: relative; overflow: hidden; text-align: center; background: var(--npc-panel); border-top: 1px solid var(--npc-border); border-bottom: 1px solid var(--npc-border); }
.npc-quote__in { padding-block: clamp(56px, 7vw, 88px) !important; }
.npc-quote__mark { padding-top: 0 !important; }
.npc-quote__img { position: absolute; inset: 0; width: 100%; height: 100% !important; object-fit: cover; }
.npc-quote__veil { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(243, 247, 250, .9), rgba(243, 247, 250, .82)); }
.npc-quote__in { position: relative; max-width: calc(860px + 2 * var(--npc-gutter)); padding-block: clamp(64px, 8vw, 104px); }
.npc-quote__mark { font: 500 80px/.6 var(--npc-serif); color: var(--npc-steel); opacity: .45; margin-bottom: 18px; padding-top: 30px; }
.npc-quote__slides { display: grid; }
.npc-quote__slide { grid-area: 1 / 1; }
.npc-quote__slide p { font: italic 500 clamp(24px, 2.8vw, 34px)/1.35 var(--npc-serif); color: var(--npc-deep); text-wrap: balance; }
.npc-quote__slide footer { margin-top: 24px; font: 600 13px var(--npc-sans); letter-spacing: .14em; text-transform: uppercase; color: var(--npc-steel); }
@media (prefers-reduced-motion: no-preference) { .npc-quote__slide.is-on { animation: npc-fade .6s ease; } @keyframes npc-fade { from { opacity: 0 } to { opacity: 1 } } }
.npc-quote__nav { display: flex; justify-content: center; gap: 4px; margin-top: 28px; }
.npc-quote__dot { width: 28px; height: 28px; border: 0; background: none; cursor: pointer; display: grid; place-items: center; padding: 0; }
.npc-quote__dot::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: #B9CCDC; transition: background-color .15s, transform .15s; }
.npc-quote__dot[aria-current="true"]::before { background: var(--npc-steel); transform: scale(1.15); }

/* Resources */
.npc-res__guides { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr)); gap: 20px; }
.npc .npc-guide { display: grid; gap: 8px; align-content: start; background: #fff; border: 1px solid var(--npc-border); border-radius: 18px; padding: clamp(24px, 3vw, 32px); box-shadow: var(--npc-shadow-card); }
.npc .npc-guide:hover { border-color: var(--npc-btn-border); }
.npc-guide__t { font: 500 32px/1.1 var(--npc-serif); color: var(--npc-deep); }
.npc-guide__p { font-size: 15px; color: var(--npc-muted); max-width: 440px; }
.npc-guide__go { font: 600 14px var(--npc-sans); color: var(--npc-steel); margin-top: 8px; }
.npc-posts { margin-top: 20px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); gap: 20px; }
.npc .npc-post { display: grid; gap: 6px; align-content: start; }
.npc-post__img { display: block; aspect-ratio: 16 / 10; border-radius: 14px; overflow: hidden; background: var(--npc-ph); margin-bottom: 8px; }
.npc-post__img img { width: 100%; height: 100% !important; object-fit: cover; }
.npc-post__date { font-size: 13px; color: var(--npc-muted); }
.npc-post__t { font: 500 22px/1.2 var(--npc-serif); color: var(--npc-deep); }
.npc .npc-post:hover .npc-post__t { color: var(--npc-steel); }

/* Instagram */
.npc-insta__feed #sb_instagram { padding-bottom: 0 !important; }
.npc-insta__feed img { border-radius: 10px; }

/* Valuation */
.npc-val { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(420px, 100%), 1fr)); background: #fff; border: 1px solid var(--npc-border); border-radius: 22px; overflow: hidden; box-shadow: 0 30px 70px -40px rgba(31, 58, 95, .45); }
.npc-val__photo { position: relative; min-height: 320px; background: var(--npc-ph); }
.npc-val__photo img { position: absolute; inset: 0; width: 100%; height: 100% !important; object-fit: cover; }
.npc-val__body { padding: clamp(28px, 4vw, 52px); }
.npc-val__p { font-size: 16px; color: var(--npc-muted); margin-top: 14px; max-width: 460px; }
.npc-val__form { margin-top: 24px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.npc-field { display: grid; gap: 6px; min-width: 0; }
.npc-field--wide, .npc-field--btn, .npc-val__form .npc-eform__msg { grid-column: 1 / -1; }
@media (max-width: 560px) { .npc-val__form { grid-template-columns: 1fr; } }
.npc-field label { font: 600 12px var(--npc-sans); letter-spacing: .08em; text-transform: uppercase; color: var(--npc-muted); }
.npc-field input { height: 50px; border-radius: 10px; border: 1px solid #B9CCDC; background: var(--npc-bg); padding: 0 14px; font: 15px var(--npc-sans); color: var(--npc-text); min-width: 0; }
.npc-field input:focus { border-color: var(--npc-steel); outline: none; box-shadow: 0 0 0 3px rgba(63, 110, 153, .18); }
.npc-field--btn .npc-btn { justify-self: start; }
.npc-eform__msg { font-size: 14px; color: var(--npc-muted); min-height: 1em; flex-basis: 100%; }
.npc-eform__msg.is-err { color: #A3302A; }
.npc-eform__msg.is-ok { color: #23743A; }

/* Contact */
.npc-contact-wrap { padding-top: 0; margin-bottom: -40px; } /* full width, meets the footer */
.npc-contact-wrap .npc-contact { border-radius: 0; border: 0; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12); }
.npc-contact-wrap .npc-contact__in { max-width: calc(1180px + 2 * var(--npc-gutter)); margin: 0 auto; padding: clamp(56px, 7vw, 96px) var(--npc-gutter); }
.npc-contact { position: relative; overflow: hidden; border-radius: 22px; color: #DCE8F0;
	background: radial-gradient(60% 70% at 100% 100%, rgba(63, 110, 153, .75), transparent 70%), radial-gradient(50% 60% at 0 0, rgba(185, 204, 220, .35), transparent 70%), linear-gradient(160deg, #2F5078, #243F62);
	border: 1px solid rgba(255, 255, 255, .08); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12), 0 30px 70px -40px rgba(31, 58, 95, .7); }
.npc-contact__photo { position: absolute; inset: 0; width: 100%; height: 100% !important; object-fit: cover; opacity: .16 !important; mix-blend-mode: luminosity; }
.npc-contact::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(20, 36, 58, .45), transparent 60%); }
.npc-contact__waves { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 60%; z-index: 1; fill: none; stroke: #B9CCDC; stroke-width: 1.2; opacity: .22; }
.npc-contact__in { position: relative; z-index: 2; padding: clamp(32px, 5vw, 64px); display: grid; grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr)); gap: 40px clamp(32px, 6vw, 72px); align-items: center; }
.npc-contact__p { color: #DCE8F0; margin-top: 18px; max-width: 460px; }
.npc-contact__dl { display: grid; gap: 16px; margin-top: 28px; }
.npc-contact__dl dt { font: 600 11px var(--npc-sans); letter-spacing: .14em; text-transform: uppercase; color: #B9CCDC; }
.npc-contact__dl dd, .npc .npc-contact__dl a { color: #fff; }
.npc-offmarket { background: rgba(255, 255, 255, .96); border-radius: 16px; padding: clamp(24px, 3vw, 32px); color: var(--npc-text); }
.npc-offmarket h3 { font: 500 28px/1.15 var(--npc-serif); color: var(--npc-deep); }
.npc-offmarket > p { font-size: 15px; color: var(--npc-muted); margin: 10px 0 20px; }
.npc-offmarket__form { display: flex; flex-wrap: wrap; gap: 10px; }
.npc-offmarket__form input { flex: 1 1 200px; min-width: 0; height: 50px; border-radius: 10px; border: 1px solid #B9CCDC; background: var(--npc-bg); padding: 0 14px; font: 15px var(--npc-sans); color: var(--npc-text); }
.npc-offmarket__form .npc-btn { height: 50px; padding: 0 24px; }
.npc-offmarket__msg { flex-basis: 100%; font-size: 14px; color: var(--npc-muted); min-height: 1em; }
.npc-offmarket__msg.is-err { color: #A3302A; }
.npc-offmarket__msg.is-ok { color: #23743A; }

/* Footer */
.npc-footer { background: var(--npc-panel); color: var(--npc-text); padding: 40px 0 24px; margin-top: 40px; }
.npc-footer__cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); gap: 32px; }
.npc-footer__logo { height: 26px; width: auto; }
.npc-footer__tag { font: 500 22px/1.25 var(--npc-serif); color: var(--npc-deep); margin-top: 14px; max-width: 280px; }
.npc-footer__h { font: 600 12px var(--npc-sans); letter-spacing: .14em; text-transform: uppercase; color: var(--npc-steel); margin-bottom: 14px; }
.npc-footer ul { display: grid; gap: 8px; font-size: 15px; }
.npc-footer__bar { margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--npc-border); display: grid; gap: 8px; font-size: 13px; color: var(--npc-muted); }

/* Town page: split hero */
.npc-split { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(460px, 100%), 1fr)); }
.npc-split__txt { padding-block: clamp(48px, 7vw, 96px); padding-right: var(--npc-gutter);
	padding-left: max(var(--npc-gutter), calc((100vw - 1180px) / 2)); }
.npc-crumbs { font-size: 13px; color: var(--npc-muted); margin-bottom: 26px; }
.npc .npc-crumbs a { color: var(--npc-muted); }
.npc .npc-crumbs a:hover { color: var(--npc-steel); }
.npc-split__h1 { font: 500 clamp(48px, 6vw, 88px)/1 var(--npc-serif); color: var(--npc-deep); letter-spacing: -.015em; }
.npc-split__intro { font-size: 17px; line-height: 1.65; color: var(--npc-text); max-width: 560px; margin-top: 22px; }
.npc-split__photo { position: relative; min-height: min(56vh, 520px); background: var(--npc-ph); }
.npc-split__photo img { position: absolute; inset: 0; width: 100%; height: 100% !important; object-fit: cover; }

.npc-pills { display: flex; flex-wrap: wrap; gap: 8px; padding-top: 28px; }
.npc .npc-pill { padding: 10px 16px; border-radius: 999px; font: 600 13px/1 var(--npc-sans); white-space: nowrap; background: #fff; color: var(--npc-deep); border: 1px solid var(--npc-btn-border); }
.npc .npc-pill:hover { background: var(--npc-bg); color: var(--npc-deep); }
.npc .npc-pill.is-on { background: var(--npc-steel); border-color: var(--npc-steel); color: #fff; }

/* Cards */
.npc-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(420px, 100%), 1fr)); gap: 20px; margin-top: 28px; align-items: start; }
.npc-stack { display: grid; gap: 20px; }
.npc-card { position: relative; background: #fff; border: 1px solid var(--npc-border); border-radius: 18px; padding: clamp(24px, 3vw, 32px); box-shadow: var(--npc-shadow-card); min-width: 0; overflow: hidden; }
.npc-card__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 6px 16px; }
.npc-card__t { font: 500 32px/1.1 var(--npc-serif); color: var(--npc-deep); }
.npc-card__sub { font-size: 14px; color: var(--npc-muted); margin-top: 6px; }
.npc-metrics { margin-top: 18px; }
.npc-metric { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--npc-div); }
.npc-metric dt { font-size: 15px; color: var(--npc-text); }
.npc-metric dt span { display: block; font-size: 13px; color: var(--npc-faint); }
.npc-metric dd { font: 600 26px/1 var(--npc-serif); color: var(--npc-deep); white-space: nowrap; font-variant-numeric: lining-nums tabular-nums; }
.npc-trend { background: var(--npc-panel); border-radius: 12px; padding: 16px 18px 12px; margin-top: 22px; }
.npc-trend__head { display: flex; justify-content: space-between; gap: 12px; font-size: 13px; color: var(--npc-muted); margin-bottom: 8px; }
.npc-trend__head strong { color: var(--npc-steel); font-weight: 600; }
.npc-trend__svg { display: block; width: 100%; height: 72px; }
.npc-read { font-size: 15px; margin-top: 22px; }
.npc-read strong { color: var(--npc-deep); }
.npc-foot { font-size: 12px; color: var(--npc-faint); margin-top: 16px; }
.npc .npc-foot a, .npc .npc-footer__bar a { color: var(--npc-steel); text-decoration: underline; text-underline-offset: 2px; }

.npc-areas { margin-top: 14px; }
.npc-areas li { display: flex; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--npc-div); }
.npc-areas li:last-child { border-bottom: 0; }
.npc-areas__n { font: 500 22px/1.1 var(--npc-serif); color: var(--npc-steel); min-width: 28px; }
.npc-areas strong { display: block; font: 600 16px var(--npc-sans); color: var(--npc-deep); }
.npc-areas li > span:last-child > span { font-size: 14px; color: var(--npc-muted); }

.npc-talk { background: var(--npc-panel); }
.npc-talk__img { position: absolute; top: 0; right: 0; bottom: 0; width: 70%; height: 100% !important; object-fit: cover; opacity: .35 !important;
	-webkit-mask-image: linear-gradient(90deg, transparent, #000 70%); mask-image: linear-gradient(90deg, transparent, #000 70%); }
.npc-talk__in { position: relative; }
.npc-talk__in > p { font-size: 15px; margin-top: 12px; max-width: 420px; }
.npc-talk .npc-actions { margin-top: 20px; }

.npc-sales { margin-top: 20px; }
.npc-sales__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 12px 24px; margin-bottom: 10px; }
.npc-sale { display: grid; grid-template-columns: 96px minmax(0, 1fr) auto; gap: 18px; align-items: center; padding: 16px 0; border-top: 1px solid var(--npc-div); }
.npc-sale__img { width: 96px; height: 72px !important; object-fit: cover; border-radius: 10px; }
.npc-sale__st { font: 600 17px var(--npc-sans); color: var(--npc-deep); }
.npc-sale__meta { font-size: 14px; color: var(--npc-muted); }
.npc-sale__right { text-align: right; }
.npc-sale__price { font: 600 26px/1.1 var(--npc-serif); color: var(--npc-deep); white-space: nowrap; }
.npc-sale__side { font-size: 13px; color: var(--npc-steel); }
.npc-sale__date { font-size: 12px; color: var(--npc-faint); }
@media (max-width: 560px) {
	.npc-sale { grid-template-columns: 72px minmax(0, 1fr); }
	.npc-sale__img { width: 72px; height: 56px !important; }
	.npc-sale__right { grid-column: 2; text-align: left; }
}

.npc-faq { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr)); gap: 32px 64px; padding-bottom: 40px; }
.npc-faq__item { border-bottom: 1px solid var(--npc-border); }
.npc-faq__item:first-child { border-top: 1px solid var(--npc-border); }
.npc-faq__item h3 { margin: 0; }
.npc-faq__item button { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 0; background: none; border: 0; cursor: pointer;
	text-align: left; font: 600 18px/1.35 var(--npc-sans); color: var(--npc-deep); }
.npc-faq__item button:hover { color: var(--npc-steel); }
.npc-faq__sign { font: 400 24px/1 var(--npc-sans); color: var(--npc-steel); }
.npc-faq__a p { font-size: 15px; line-height: 1.65; max-width: 560px; padding-bottom: 22px; }

/* Review hub */
.npc-review { padding-block: clamp(48px, 7vw, 88px) 24px; }
.npc-review__intro { font-size: 17px; max-width: 640px; margin-top: 18px; }
.npc-review__notes { margin-top: 24px; background: var(--npc-panel); border: 1px solid var(--npc-border); border-radius: 14px; padding: 20px 24px; max-width: 760px; display: grid; gap: 8px; font-size: 15px; }
.npc-review__notes li { padding-left: 18px; position: relative; }
.npc-review__notes li::before { content: ""; position: absolute; left: 0; top: .65em; width: 6px; height: 6px; border-radius: 50%; background: var(--npc-steel); }
.npc-review__home { margin-top: 36px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(380px, 100%), 1fr)); gap: 28px; align-items: center; }
.npc .npc-review__shot { display: block; border-radius: 18px; overflow: hidden; aspect-ratio: 16 / 10; box-shadow: var(--npc-shadow-card); border: 1px solid var(--npc-border); }
.npc-review__shot img { width: 100%; height: 100% !important; object-fit: cover; }
.npc-review__h3 { font: 500 30px/1.1 var(--npc-serif); color: var(--npc-deep); }
.npc-review__home p { margin-top: 10px; color: var(--npc-muted); }
.npc-review__towns { margin-top: 48px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr)); gap: 14px; }
.npc .npc-review__town { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 14px; align-items: center; background: #fff; border: 1px solid var(--npc-border); border-radius: 14px; padding: 10px; }
.npc .npc-review__town:hover { border-color: var(--npc-steel); }
.npc-review__town img { width: 64px; height: 64px !important; border-radius: 10px; object-fit: cover; }
.npc-review__town strong { display: block; font: 500 22px/1.1 var(--npc-serif); color: var(--npc-deep); }
.npc-review__town span span { font-size: 13px; color: var(--npc-muted); }
.npc-insta__feed .sb_instagram_header, .npc-insta__feed #sbi_load .sbi_load_btn { display: none !important; }
.npc .npc-insta__feed .sbi_follow_btn a { background: var(--npc-steel) !important; border-radius: 10px !important; font: 600 14px var(--npc-sans) !important; padding: 12px 20px !important; }
.npc .npc-insta__feed .sbi_follow_btn a:hover { background: var(--npc-hover) !important; box-shadow: none !important; }

/* Buyer / Seller Guide */
.npc-guidepage { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(380px, 100%), 1fr)); gap: 48px clamp(40px, 6vw, 80px); align-items: center; }
.npc-guidepage__cover { position: relative; max-width: 400px; width: calc(100% - 28px); justify-self: center; }
.npc-guidepage__plate { position: absolute; inset: 0; transform: translate(28px, 28px); background: var(--npc-plate); border-radius: 22px; }
.npc-guidepage__cover img { position: relative; width: 100%; height: auto; border-radius: 10px; box-shadow: 0 30px 60px -30px rgba(31, 58, 95, .55); }
.npc-guidepage__card { padding: clamp(28px, 4vw, 44px); }
.npc-guidepage__intro { font-size: 16px; color: var(--npc-muted); margin-top: 14px; }
.npc-guidepage__h3 { font: 600 12px var(--npc-sans); letter-spacing: .14em; text-transform: uppercase; color: var(--npc-steel); margin-top: 24px; }
.npc-checks { display: grid; gap: 8px; margin-top: 12px; }
.npc-checks li { position: relative; padding-left: 28px; font-size: 15px; color: var(--npc-text); }
.npc-checks li::before { content: ""; position: absolute; left: 0; top: .2em; width: 18px; height: 18px; border-radius: 50%; background: var(--npc-panel);
	box-shadow: inset 0 0 0 1px var(--npc-btn-border); }
.npc-checks li::after { content: ""; position: absolute; left: 6px; top: calc(.2em + 4px); width: 5px; height: 9px; border: solid var(--npc-steel); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.npc-consent { display: flex; gap: 10px; align-items: flex-start; font-size: 12.5px; line-height: 1.5; color: var(--npc-muted); }
.npc-consent input { margin-top: 3px; width: 16px; height: 16px; accent-color: var(--npc-steel); flex: none; }
.npc .npc-consent a { color: var(--npc-steel); text-decoration: underline; }
.npc-guidecta { padding-bottom: 40px; }

/* Featured sales */
.npc-fs { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); gap: 24px; }
.npc-fs__card { background: #fff; border: 1px solid var(--npc-border); border-radius: 18px; overflow: hidden; box-shadow: var(--npc-shadow-card); display: flex; flex-direction: column; }
.npc-fs__media { position: relative; aspect-ratio: 16 / 10; background: var(--npc-ph); }
.npc-fs__media img, .npc-fs__video { position: absolute; inset: 0; width: 100%; height: 100% !important; object-fit: cover; border: 0; background: #000; }
.npc-fs__media img { background: none; }
.npc-fs__play { position: absolute; inset: 0; border: 0; background: linear-gradient(180deg, transparent 50%, rgba(31, 58, 95, .35)); cursor: pointer; display: grid; place-items: center; }
.npc-fs__play span { width: 64px; height: 64px; border-radius: 50%; background: rgba(255, 255, 255, .92); box-shadow: 0 10px 30px -10px rgba(0, 0, 0, .5); position: relative; transition: transform .15s; }
.npc-fs__play span::after { content: ""; position: absolute; left: 26px; top: 20px; border-style: solid; border-width: 12px 0 12px 19px; border-color: transparent transparent transparent var(--npc-steel); }
.npc-fs__play:hover span { transform: scale(1.06); }
.npc-fs__badge { position: absolute; left: 14px; top: 14px; z-index: 1; padding: 6px 11px; border-radius: 999px; background: rgba(255, 255, 255, .92); font: 600 12px var(--npc-sans); letter-spacing: .06em; text-transform: uppercase; color: var(--npc-deep); pointer-events: none; }
.npc-fs__badge.is-active { background: var(--npc-steel); color: #fff; }
.npc-fs__body { padding: 20px 22px 24px; display: grid; gap: 2px; }
.npc-fs__t { font: 600 18px var(--npc-sans); color: var(--npc-deep); }
.npc-fs__town { font-size: 14px; color: var(--npc-muted); }
.npc-fs__price { font: 600 28px/1.2 var(--npc-serif); color: var(--npc-deep); margin-top: 8px; font-variant-numeric: lining-nums; }

/* Town guide (long-form text carried over from the current town pages) */
.npc-article { max-width: 760px; }
.npc-article__body { font-size: 16px; line-height: 1.7; color: var(--npc-text); }
.npc-article__body h2 { font: 500 clamp(28px, 3vw, 38px)/1.15 var(--npc-serif); color: var(--npc-deep); margin: 44px 0 14px; text-wrap: balance; }
.npc-article__body h2:first-child { margin-top: 0; }
.npc-article__body h3 { font: 600 18px/1.35 var(--npc-sans); color: var(--npc-deep); margin: 26px 0 8px; }
.npc-article__body p { margin: 0 0 14px; }
.npc-article__body ul, .npc-article__body ol { margin: 0 0 16px; padding-left: 22px; list-style: disc; }
.npc-article__body li { margin-bottom: 6px; }
.npc .npc-article__body a { color: var(--npc-steel); text-decoration: underline; text-underline-offset: 2px; }
.npc-article__body ul.npc-stats-list { list-style: none; padding: 0; margin: 4px 0 28px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(160px, 100%), 1fr)); gap: 12px; }
.npc-article__body ul.npc-stats-list li { margin: 0; background: var(--npc-panel); border-radius: 12px; padding: 16px 18px; font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--npc-muted); }
.npc-article__body ul.npc-stats-list strong { display: block; font: 600 26px/1.15 var(--npc-serif); letter-spacing: 0; text-transform: none; color: var(--npc-deep); margin-bottom: 4px; }
/* Form fields: keep typed text and placeholder readable even if other plugins style inputs */
.npc .npc-offmarket__form input, .npc .npc-field input { color: var(--npc-text) !important; -webkit-text-fill-color: var(--npc-text); background-color: var(--npc-bg) !important; }
.npc .npc-offmarket__form input::placeholder, .npc .npc-field input::placeholder { color: var(--npc-faint) !important; -webkit-text-fill-color: var(--npc-faint); opacity: 1; }

/* Valuation sits on its own pale-blue band so it reads as a separate section from Instagram */
.npc-valband { padding-block: clamp(64px, 8vw, 104px); margin-top: var(--npc-section); }
.npc-insta { padding-bottom: 0; }

/* Titles: Manrope (bold modern sans, chosen by the client). Quotes keep the italic serif. */
:root { --npc-serif: "Manrope", "Helvetica Neue", Arial, sans-serif; --npc-quote: "EB Garamond", Garamond, "Times New Roman", serif; }
.npc :is(.npc-hero__h1, .npc-split__h1, .npc-h2, .npc-card__t, .npc-tile__name, .npc-more__name, .npc-guide__t, .npc-post__t, .npc-review__h3, .npc-offmarket h3, .npc-footer__tag, .npc-article__body h2, .npc-stats__v, .npc-about__v, .npc-metric dd, .npc-sale__price, .npc-fs__price, .npc-guidepage__card .npc-h2) { font-stretch: normal; }
.npc-hero__h1 { font-weight: 800 !important; font-size: clamp(34px, 4.4vw, 64px) !important; line-height: 1.05 !important; letter-spacing: -.02em !important; max-width: 1100px !important; }
.npc-split__h1 { font-weight: 800 !important; font-size: clamp(38px, 4.8vw, 68px) !important; line-height: 1.04 !important; letter-spacing: -.02em !important; }
.npc-h2 { font-weight: 700 !important; font-size: clamp(28px, 3.2vw, 42px) !important; line-height: 1.1 !important; letter-spacing: -.015em !important; }
.npc-card__t, .npc-guide__t, .npc-review__h3 { font-weight: 700 !important; font-size: 24px !important; letter-spacing: -.01em; }
.npc-tile__name { font-weight: 700 !important; font-size: 30px !important; letter-spacing: -.01em; }
.npc-more__name, .npc-post__t { font-weight: 700 !important; font-size: 18px !important; }
.npc-offmarket h3 { font-weight: 700 !important; font-size: 22px !important; }
.npc-footer__tag { font-weight: 600 !important; font-size: 18px !important; }
.npc-article__body h2 { font-weight: 700 !important; font-size: clamp(24px, 2.6vw, 32px) !important; letter-spacing: -.01em; }
.npc-stats__v, .npc-about__v { font-weight: 700 !important; font-size: clamp(28px, 2.6vw, 36px) !important; letter-spacing: -.01em; }
.npc-metric dd, .npc-sale__price, .npc-fs__price { font-weight: 700 !important; font-size: 22px !important; }
.npc-areas__n { font-weight: 700 !important; font-size: 18px !important; }
.npc-article__body ul.npc-stats-list strong { font-weight: 700 !important; font-size: 22px !important; }
.npc-quote__slide p, .npc-quote__mark { font-family: var(--npc-quote) !important; }
/* All page buttons match the hero buttons (header call button stays compact) */
.npc .npc-btn:not(.npc-btn--sm) { font-size: 15px; padding: 15px 24px; }
.npc .npc-offmarket__form .npc-btn { padding: 0 24px; }

/* Thin + bold contrast in the big titles: the title is light, the words in <b> are heavy. */
.npc :is(.npc-hero__h1, .npc-split__h1, .npc-h2) { font-weight: 300 !important; }
.npc :is(.npc-hero__h1, .npc-split__h1, .npc-h2) b { font-weight: 800; }
.npc-town .npc-split__h1, body.single-np_town .npc-split__h1 { font-weight: 800 !important; }

/* About portrait: thin offset frame, soft glow, frosted credential badge (replaces the solid offset plate) */
.npc-portrait { position: relative; max-width: 440px; width: calc(100% - 40px); justify-self: center; margin: 20px 20px 40px; }
.npc-portrait__frame { position: absolute; inset: -20px 20px 20px -20px; border: 1px solid rgba(63, 110, 153, .45); border-radius: 28px; }
.npc-portrait__glow { position: absolute; inset: 12% -8% -6% 18%; background: radial-gradient(closest-side, rgba(63, 110, 153, .35), transparent); filter: blur(30px); }
.npc-portrait__photo { position: relative; border-radius: 24px; overflow: hidden; box-shadow: 0 40px 80px -40px rgba(31, 58, 95, .55), 0 0 0 1px rgba(255, 255, 255, .6); }
.npc-portrait__photo::after { content: ""; position: absolute; inset: 55% 0 0; background: linear-gradient(180deg, transparent, rgba(31, 58, 95, .45)); }
.npc .npc-portrait__img { border-radius: 0; box-shadow: none; transition: transform .6s ease; }
.npc-portrait:hover .npc-portrait__img { transform: scale(1.03); }
.npc-portrait__badge { position: absolute; right: -20px; bottom: -28px; z-index: 2; display: grid; gap: 2px; min-width: 230px; padding: 16px 20px;
	background: rgba(255, 255, 255, .82); -webkit-backdrop-filter: blur(18px) saturate(160%); backdrop-filter: blur(18px) saturate(160%);
	border: 1px solid rgba(255, 255, 255, .8); border-radius: 16px; box-shadow: 0 24px 50px -24px rgba(31, 58, 95, .45); }
.npc-portrait__badge-k { font: 600 11px var(--npc-sans); letter-spacing: .16em; text-transform: uppercase; color: var(--npc-steel); }
.npc-portrait__badge-v { font: 700 17px/1.25 var(--npc-serif); color: var(--npc-deep); }
.npc-portrait__badge-row { display: flex; gap: 14px; margin-top: 8px; padding-top: 8px; border-top: 1px solid var(--npc-div); font-size: 12.5px; color: var(--npc-muted); }
.npc-portrait__badge-row b { color: var(--npc-deep); font-weight: 700; }
@media (max-width: 560px) { .npc-portrait__badge { right: 0; left: 0; bottom: -40px; min-width: 0; } }
@media (prefers-reduced-motion: reduce) { .npc .npc-portrait__img { transition: none; } .npc-portrait:hover .npc-portrait__img { transform: none; } }
/* Hero: the bold phrase starts its own line on tablet and desktop */
@media (min-width: 720px) { .npc-hero__h1 b { display: block; } }
/* Reviews: clean upright sans instead of the italic serif */
.npc .npc-quote__slide p { font-family: var(--npc-sans) !important; font-style: normal; font-weight: 400; font-size: clamp(20px, 2.2vw, 27px); line-height: 1.5; letter-spacing: -.005em; color: var(--npc-deep); }
.npc .npc-quote__mark { font-family: var(--npc-serif) !important; font-weight: 800; font-size: 72px; color: var(--npc-steel); opacity: .35; }

/* Centered section headings (Town markets, Resources, Instagram) */
.npc-towns__head { flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 10px; }
.npc-towns__head .npc-towns__note { max-width: 560px; }

/* Contact details: larger, with minimal line icons */
.npc-contact__dl { gap: 22px !important; }
.npc-contact__dl > div { display: flex; align-items: center; gap: 16px; }
.npc-contact__ic { flex: none; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; color: #fff;
	background: rgba(255, 255, 255, .08); border: 1px solid rgba(185, 204, 220, .35); }
.npc-contact__ic .npc-icon { width: 22px; height: 22px; }
.npc-contact__dl dd, .npc .npc-contact__dl a { font-size: 19px; font-weight: 500; }

/* Footer: minimal (logo + one-line nav, contact row, quiet legal line) */
.npc-footer--min { background: #fff; border-top: 1px solid var(--npc-border); padding: 44px 0 28px; }
.npc-fmin__top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 32px; }
.npc-fmin__nav { display: flex; flex-wrap: wrap; gap: 8px 28px; }
.npc .npc-fmin__nav a { font: 500 14px var(--npc-sans); color: var(--npc-deep); }
.npc .npc-fmin__nav a:hover { color: var(--npc-steel); }
.npc-fmin__contact { display: flex; flex-wrap: wrap; gap: 10px 32px; margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--npc-div); font-size: 14px; color: var(--npc-muted); }
.npc .npc-fmin__contact a, .npc-fmin__contact span { display: inline-flex; align-items: center; gap: 8px; color: var(--npc-text); }
.npc-fmin__contact .npc-icon { width: 18px; height: 18px; color: var(--npc-steel); }
.npc-fmin__legal { margin-top: 24px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 32px; font-size: 12px; line-height: 1.6; color: var(--npc-muted); }
.npc-fmin__legal p:first-child { max-width: 760px; }
.npc .npc-fmin__legal a { color: var(--npc-muted); text-decoration: underline; text-underline-offset: 2px; }

/* As seen in (About section) */
.npc-press { margin-top: 32px; padding-top: 22px; border-top: 1px solid var(--npc-border); display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; }
.npc-press__k { font: 600 11px var(--npc-sans); letter-spacing: .16em; text-transform: uppercase; color: var(--npc-muted); }
.npc-press__logos { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 32px; }
.npc-press__logos img { width: auto !important; max-width: 220px; opacity: .8; transition: opacity .15s; }
.npc-press__logos a:hover img { opacity: 1; }

/* Branded placeholder for towns without a photo */
.npc-ph { position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; gap: 6px; padding: clamp(20px, 4vw, 44px);
	background: radial-gradient(70% 80% at 85% 15%, rgba(63, 110, 153, .7), transparent 70%), linear-gradient(160deg, #2F5078, #1F3A5F); color: #fff; }
.npc-ph__waves { position: absolute; inset: 0; width: 100%; height: 100%; fill: none; stroke: #B9CCDC; stroke-width: 1.2; opacity: .25; }
.npc-ph__k { position: relative; font: 600 11px var(--npc-sans); letter-spacing: .16em; text-transform: uppercase; color: #B9CCDC; }
.npc-ph__name { position: relative; font: 300 clamp(32px, 4vw, 56px)/1 var(--npc-serif); letter-spacing: -.02em; color: #fff; }
.npc-split__photo .npc-ph, .npc-tile .npc-ph, .npc-talk .npc-ph { position: absolute; inset: 0; width: 100%; height: 100%; }
.npc-talk .npc-ph { left: 30%; opacity: .5; -webkit-mask-image: linear-gradient(90deg, transparent, #000 70%); mask-image: linear-gradient(90deg, transparent, #000 70%); }
.npc-talk .npc-ph .npc-ph__k, .npc-talk .npc-ph .npc-ph__name { display: none; }
.npc-sale .npc-ph, .npc-review__town .npc-ph { width: 96px; height: 72px; border-radius: 10px; padding: 8px; }
.npc-review__town .npc-ph { width: 64px; height: 64px; }
:is(.npc-sale, .npc-review__town) .npc-ph :is(.npc-ph__k, .npc-ph__name) { display: none; }

/* ===== Content pages, blog and posts ===== */
.npc-pagehero { padding-block: clamp(48px, 7vw, 88px) clamp(28px, 4vw, 40px); }
.npc-pagehero--plain { background: var(--npc-panel); border-bottom: 1px solid var(--npc-border); }
.npc-pagehero .npc-split__intro { max-width: 680px; }
.npc-split--plain { background: var(--npc-panel); border-bottom: 1px solid var(--npc-border); }
.npc-about--page { margin-top: 0; }

.npc-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: clamp(32px, 5vw, 72px); align-items: start; padding-top: clamp(40px, 6vw, 72px); }
@media (max-width: 980px) { .npc-layout { grid-template-columns: 1fr; } }
.npc-article--page, .npc-article--post { max-width: 760px; min-width: 0; }
.npc-aside { position: sticky; top: calc(96px + var(--npc-bar)); display: grid; gap: 16px; }
@media (max-width: 980px) { .npc-aside { position: static; } }
.npc-aside__card { padding: 24px !important; }
.npc-aside__t { font: 700 19px/1.3 var(--npc-serif); color: var(--npc-deep); margin: 4px 0 14px; }
.npc-aside__links { display: grid; gap: 10px; margin-bottom: 18px; font-size: 14px; }
.npc .npc-aside__links a { display: inline-flex; align-items: center; gap: 10px; color: var(--npc-text); word-break: break-word; }
.npc-aside__links .npc-icon { width: 18px; height: 18px; color: var(--npc-steel); flex: none; }
.npc-aside__card .npc-btn { width: 100%; }
.npc-aside__nav { display: grid; gap: 4px; }
.npc .npc-aside__nav a { font: 600 14px var(--npc-sans); color: var(--npc-deep); padding: 8px 0; border-bottom: 1px solid var(--npc-div); }
.npc .npc-aside__nav a:last-child { border-bottom: 0; }
.npc .npc-aside__nav a:hover { color: var(--npc-steel); }

/* Long-form text (pages and posts) */
.npc-article__body > *:first-child { margin-top: 0; }
.npc-article__body h2 { scroll-margin-top: 100px; }
.npc-article__body h3 { font: 700 18px/1.35 var(--npc-serif) !important; color: var(--npc-deep); margin: 26px 0 8px; }
.npc-article__body img { border-radius: 14px; height: auto; margin: 8px 0 18px; }
.npc-article__body figure { margin: 24px 0; }
.npc-article__body figcaption { font-size: 13px; color: var(--npc-muted); margin-top: 6px; }
.npc-article__body hr { border: 0; border-top: 1px solid var(--npc-border); margin: 28px 0; }
.npc-article__body blockquote { margin: 24px 0; padding: 4px 0 4px 20px; border-left: 3px solid var(--npc-steel); color: var(--npc-deep); font-size: 18px; }
.npc-article__body table { width: 100%; border-collapse: collapse; margin: 20px 0 28px; font-size: 14.5px; display: block; overflow-x: auto; }
.npc-article__body th, .npc-article__body td { text-align: left; padding: 10px 14px; border-bottom: 1px solid var(--npc-div); white-space: nowrap; }
.npc-article__body th, .npc-article__body thead td { font-weight: 700; color: var(--npc-deep); background: var(--npc-panel); }
.npc-article__body iframe, .npc-article__body video { max-width: 100%; border-radius: 14px; }
.npc-article__body details { border-bottom: 1px solid var(--npc-border); }
.npc-article__body h2 + details, .npc-article__body details:first-child { border-top: 1px solid var(--npc-border); }
.npc-article__body summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 16px; padding: 18px 0; font: 600 17px/1.4 var(--npc-sans); color: var(--npc-deep); }
.npc-article__body summary::-webkit-details-marker { display: none; }
.npc-article__body summary::after { content: "+"; font: 400 24px/1 var(--npc-sans); color: var(--npc-steel); }
.npc-article__body details[open] summary::after { content: "−"; }
.npc-article__body summary:hover { color: var(--npc-steel); }
.npc-article__body details > p, .npc-article__body details > ul { padding-bottom: 6px; }
.npc-pageform { margin-top: 32px; }

/* Contact page */
.npc-contactpage { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: clamp(28px, 5vw, 64px); align-items: start; padding-block: clamp(40px, 6vw, 72px) 20px; }
@media (max-width: 900px) { .npc-contactpage { grid-template-columns: 1fr; } }
.npc-contactpage__cards { display: grid; gap: 14px; }
.npc-contactpage__cards li { display: flex; align-items: center; gap: 16px; background: #fff; border: 1px solid var(--npc-border); border-radius: 16px; padding: 18px 20px; box-shadow: var(--npc-shadow-card); }
.npc-contactpage__ic { flex: none; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: var(--npc-panel); color: var(--npc-steel); }
.npc-contactpage__ic .npc-icon { width: 22px; height: 22px; }
.npc-contactpage__cards b { display: block; font: 600 11px var(--npc-sans); letter-spacing: .14em; text-transform: uppercase; color: var(--npc-muted); margin-bottom: 2px; }
.npc-contactpage__cards li > span:last-child { font-size: 17px; color: var(--npc-deep); font-weight: 500; word-break: break-word; }
.npc-contactpage__form { padding: clamp(24px, 3vw, 36px) !important; }
.npc-contactpage__form .npc-muted { margin-top: 4px; }
.npc-field textarea { border-radius: 10px; border: 1px solid #B9CCDC; background: var(--npc-bg); padding: 12px 14px; font: 15px var(--npc-sans); color: var(--npc-text); resize: vertical; min-width: 0; }
.npc-field textarea:focus { border-color: var(--npc-steel); outline: none; box-shadow: 0 0 0 3px rgba(63, 110, 153, .18); }
.npc-opt { text-transform: none; letter-spacing: 0; font-weight: 400; color: var(--npc-faint); }

/* Blog index */
.npc-bloggrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; padding-top: clamp(40px, 6vw, 64px); }
@media (max-width: 980px) { .npc-bloggrid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .npc-bloggrid { grid-template-columns: 1fr; } }
.npc .npc-blogcard { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--npc-border); border-radius: 18px; overflow: hidden; box-shadow: var(--npc-shadow-card); transition: transform .2s, box-shadow .2s; }
.npc .npc-blogcard:hover { transform: translateY(-3px); box-shadow: 0 30px 60px -36px rgba(31, 58, 95, .5); }
.npc-blogcard__img { display: block; aspect-ratio: 16 / 10; background: var(--npc-ph); overflow: hidden; }
.npc-blogcard__img img { width: 100%; height: 100% !important; object-fit: cover; }
.npc-blogcard__body { display: grid; gap: 8px; padding: 20px 22px 24px; flex: 1; align-content: start; }
.npc-blogcard__date { font-size: 12.5px; color: var(--npc-muted); }
.npc-blogcard__t { font: 700 18px/1.3 var(--npc-serif); color: var(--npc-deep); }
.npc-blogcard__ex { font-size: 15px; color: var(--npc-muted); }
.npc-blogcard__go { font: 600 13px var(--npc-sans); color: var(--npc-steel); margin-top: 4px; }
.npc .npc-blogcard.is-feature { grid-column: 1 / -1; display: grid; grid-template-columns: 1.3fr 1fr; }
.npc-blogcard.is-feature .npc-blogcard__img { aspect-ratio: auto; min-height: 320px; }
.npc-blogcard.is-feature .npc-blogcard__body { padding: clamp(24px, 4vw, 44px); align-content: center; }
.npc-blogcard.is-feature .npc-blogcard__t { font-size: clamp(22px, 2.4vw, 30px); }
@media (max-width: 760px) { .npc .npc-blogcard.is-feature { grid-template-columns: 1fr; } .npc-blogcard.is-feature .npc-blogcard__img { min-height: 0; aspect-ratio: 16 / 10; } }
.npc-pager { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; padding-top: 40px; }
.npc .npc-pager .page-numbers { min-width: 42px; height: 42px; display: inline-grid; place-items: center; padding: 0 14px; border-radius: 10px; border: 1px solid var(--npc-btn-border); background: #fff; font: 600 14px var(--npc-sans); color: var(--npc-deep); }
.npc .npc-pager .page-numbers.current { background: var(--npc-steel); border-color: var(--npc-steel); color: #fff; }
.npc .npc-pager .page-numbers.dots { border: 0; background: none; }

/* Blog post */
.npc-posthero { padding-bottom: 0; }
.npc-posthero__in { max-width: calc(860px + 2 * var(--npc-gutter)); }
.npc-post__h1 { font: 700 clamp(30px, 3.8vw, 48px)/1.12 var(--npc-serif); letter-spacing: -.015em; color: var(--npc-deep); text-wrap: balance; }
.npc-posthero__by { margin-top: 14px; font-size: 14px; color: var(--npc-muted); }
.npc-posthero__img { margin-top: clamp(28px, 4vw, 40px); border-radius: 22px; overflow: hidden; aspect-ratio: 21 / 9; background: var(--npc-ph); }
.npc-posthero__img img { width: 100%; height: 100% !important; object-fit: cover; }
.npc-article--post .npc-article__body { font-size: 17px; line-height: 1.75; }

/* Seller net sheet */
.npc-net { background: #fff; border: 1px solid var(--npc-border); border-radius: 18px; padding: clamp(20px, 3vw, 32px); box-shadow: var(--npc-shadow-card); margin: 8px 0 32px; }
.npc-net__in { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px 16px; align-items: end; }
.npc-net__in label { font: 600 12px var(--npc-sans); letter-spacing: .08em; text-transform: uppercase; color: var(--npc-muted); grid-row: 1; }
.npc-net__price { display: flex; align-items: center; gap: 6px; height: 52px; border: 1px solid #B9CCDC; border-radius: 10px; background: var(--npc-bg); padding: 0 14px; font: 700 20px var(--npc-serif); color: var(--npc-deep); }
.npc-net__price input { border: 0; background: none; font: inherit; color: inherit; width: 100%; min-width: 0; outline: none; }
.npc-net__rows { margin-top: 18px; }
.npc-net__rows > div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--npc-div); font-size: 15px; }
.npc-net__rows dt span { display: block; font-size: 12.5px; color: var(--npc-faint); }
.npc-net__rows dd { font-weight: 600; color: var(--npc-deep); white-space: nowrap; font-variant-numeric: tabular-nums; }
.npc-net__total { border-bottom: 0 !important; padding-top: 16px !important; }
.npc-net__total dt { font-weight: 700; color: var(--npc-deep); }
.npc-net__total dd { font: 700 26px var(--npc-serif) !important; }
.npc-net__note { font-size: 12.5px; color: var(--npc-faint); margin-top: 8px; }

/* Split hero: contained to the page width, photo as a rounded card (was edge-to-edge) */
.npc-split { max-width: calc(1180px + 2 * var(--npc-gutter)); margin: 0 auto; padding: clamp(28px, 4vw, 48px) var(--npc-gutter) 0; gap: clamp(28px, 4vw, 56px); align-items: center; }
.npc-split__txt { padding: clamp(16px, 3vw, 40px) 0 !important; }
.npc-split__photo { border-radius: 22px; overflow: hidden; min-height: min(52vh, 480px); box-shadow: 0 30px 70px -40px rgba(31, 58, 95, .5); }
.npc-split--plain { max-width: none; padding-bottom: clamp(28px, 4vw, 48px); }
.npc-split--plain .npc-split__txt { max-width: calc(1180px); margin: 0 auto; }

/* Town guide: intro + tabs + cards */
.npc-guide2__head { text-align: center; }
.npc-guide2__intro { max-width: 760px; margin: 18px auto 0; text-align: center; font-size: 17px; line-height: 1.7; color: var(--npc-text); }
.npc-guide2__intro p { margin: 0 0 12px; }
.npc .npc-readmore { background: none; border: 0; padding: 4px 0; cursor: pointer; font: 600 14px var(--npc-sans); color: var(--npc-steel); text-decoration: underline; text-underline-offset: 3px; }
.npc-tabs { margin-top: clamp(28px, 4vw, 40px); background: #fff; border: 1px solid var(--npc-border); border-radius: 22px; box-shadow: var(--npc-shadow-card); overflow: hidden; }
.npc-tabs__list { display: flex; gap: 4px; overflow-x: auto; padding: 10px; background: var(--npc-panel); border-bottom: 1px solid var(--npc-border); scrollbar-width: thin; }
.npc .npc-tabs__list button { flex: none; border: 0; background: none; border-radius: 10px; padding: 11px 18px; font: 600 14px var(--npc-sans); color: var(--npc-deep); cursor: pointer; white-space: nowrap; }
.npc .npc-tabs__list button:hover { background: rgba(255, 255, 255, .7); }
.npc .npc-tabs__list button[aria-selected="true"] { background: #fff; color: var(--npc-steel); box-shadow: 0 6px 16px -10px rgba(31, 58, 95, .5); }
.npc-tabs__panel { padding: clamp(24px, 4vw, 44px); }
.npc-tabs__h { font: 700 clamp(20px, 2.2vw, 26px)/1.25 var(--npc-serif); color: var(--npc-deep); margin: 0 0 14px; }
.npc-tabs__lead { max-width: 820px; font-size: 16px; line-height: 1.7; color: var(--npc-text); }
.npc-tabs__lead p { margin: 0 0 12px; }
.npc-tabs__panel .npc-article__body ul.npc-stats-list { margin-bottom: 22px; }
.npc-gcards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); gap: 14px; margin-top: 22px; }
.npc-gcard { background: var(--npc-bg); border: 1px solid var(--npc-div); border-radius: 14px; padding: 20px; }
.npc-gcard__t { font: 700 16px/1.3 var(--npc-serif); color: var(--npc-deep); margin: 0 0 8px; }
.npc-gcard__b { font-size: 14.5px; line-height: 1.6; color: var(--npc-muted); }
.npc-gcard__b p { margin: 0 0 8px; }
.npc-gcard__b p:last-child { margin-bottom: 0; }
.npc .npc-gcard__b a, .npc .npc-tabs__lead a, .npc .npc-guide2__intro a { color: var(--npc-steel); text-decoration: underline; }

.npc-gcards { grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); align-items: start; }
.npc-gcard__b.is-clamped { display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical; overflow: hidden; }
.npc .npc-gcard__more { margin-top: 8px; background: none; border: 0; padding: 0; cursor: pointer; font: 600 13px var(--npc-sans); color: var(--npc-steel); }
/* Town pills: even, centered rows */
.npc-pills { justify-content: center; }
@media (min-width: 900px) { .npc-pills { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); } .npc .npc-pill { text-align: center; } }
/* 13 towns: 7 on the first row, 6 slightly wider on the second, both rows flush left and right */
@media (min-width: 900px) {
	.npc-pills { grid-template-columns: repeat(42, minmax(0, 1fr)); }
	.npc .npc-pills .npc-pill { grid-column: span 6; }
	.npc .npc-pills .npc-pill:nth-child(n+8) { grid-column: span 7; }
}
