/* ==========================================================================
   Paul DeMarco Real Estate — main stylesheet (v2, redesigned)
   ========================================================================== */

:root {
	--color-ink: #012169;
	--color-ink-deep: #010F3D;
	--color-paper: #DAE1E8;
	--color-paper-alt: #C9D3DE;
	--color-white: #FFFFFF;
	--color-accent: #012169;
	--color-slate: #45527A;
	--color-line: #BFCAD6;

	--font-serif: 'Newsreader', Georgia, 'Times New Roman', serif;
	--font-sans: 'Public Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

	--header-h: 68px;
	--radius-sm: 2px;
	--speed: 220ms;
}

*, *::before, *::after { box-sizing: border-box; }
html {
	scroll-behavior: smooth;
	height: auto;
	overflow-y: visible;
}
body {
	margin: 0;
	background: var(--color-paper);
	color: var(--color-ink);
	font-family: var(--font-sans);
	font-size: 1rem;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	height: auto;
	min-height: 100vh;
	overflow-y: visible;
}
/* The page has exactly one scroll container: the browser viewport itself.
   Nothing below should ever set its own overflow-y/height in a way that
   creates a second, nested scrollbar — the hero included. !important here
   is deliberate: this is a guarantee, not a default to be overridden. */
.site-main-col, .hero-full, #main, main {
	overflow-y: visible !important;
	height: auto !important;
	max-height: none !important;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; cursor: pointer; }
h1, h2, h3, h4 {
	font-family: var(--font-serif);
	font-weight: 500;
	line-height: 1.15;
	margin: 0 0 0.5em;
	color: var(--color-ink);
}
p { margin: 0 0 1em; }
em { font-style: italic; }

.skip-link {
	position: absolute; left: -999px; top: 0;
	background: var(--color-ink); color: #fff; padding: 0.75rem 1.25rem; z-index: 1000;
}
.skip-link:focus { left: 1rem; top: 1rem; }
:focus-visible { outline: 3px solid var(--color-accent); outline-offset: 2px; }
.screen-reader-text {
	position: absolute; width: 1px; height: 1px; overflow: hidden;
	clip: rect(1px,1px,1px,1px); white-space: nowrap;
}

/* Buttons */
.btn {
	display: inline-block;
	font-weight: 600;
	font-size: 0.95rem;
	padding: 0.85rem 1.6rem;
	border-radius: var(--radius-sm);
	transition: background-color var(--speed) ease, color var(--speed) ease, border-color var(--speed) ease;
	border: 1px solid transparent;
}
.btn--accent { background: var(--color-accent); color: #fff; }
.btn--accent:hover { background: var(--color-ink-deep); }
.btn--invert { background: var(--color-paper); color: var(--color-ink); }
.btn--invert:hover { background: #fff; }
.btn--ghost { background: transparent; color: currentColor; border-color: currentColor; opacity: 0.85; }
.btn--ghost:hover { opacity: 1; background: rgba(255,255,255,0.1); }
.btn--full { display: block; width: 100%; text-align: center; }

/* Header / top nav — centered layout, light bar over the dark hero */
.site-header {
	position: sticky; top: 0; z-index: 200;
	background: var(--color-paper); color: var(--color-ink);
	border-bottom: 1px solid var(--color-line);
}
.site-header__bar {
	display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
	gap: 1.5rem; padding: 0 2.5rem; height: var(--header-h);
}
.site-header__brand { display: flex; align-items: center; gap: 0.6rem; }
.site-header__cbr-logo { height: 36px; width: auto; flex: 0 0 auto; }
.site-header__name { font-family: var(--font-serif); font-size: 1.2rem; color: var(--color-ink); }
.site-header .custom-logo { max-height: 40px; width: auto; }

.site-nav__list {
	display: flex; align-items: center; gap: 2rem; justify-content: center;
}
.site-nav__list li { position: relative; }
.site-nav__list a {
	font-size: 0.9rem; font-weight: 500; letter-spacing: 0.01em; color: var(--color-slate);
	position: relative; padding: 0.25rem 0;
	display: inline-flex; align-items: center; gap: 0.35em;
}
.site-nav__list a::before {
	content: ''; position: absolute; left: 50%; right: 50%; bottom: -3px; height: 1px;
	background: var(--color-ink); transition: left var(--speed) ease, right var(--speed) ease;
}
.site-nav__list a:hover,
.site-nav__list li.current-menu-item > a { color: var(--color-ink); }
.site-nav__list a:hover::before,
.site-nav__list li.current-menu-item > a::before { left: 0; right: 0; }
.site-nav__list li.menu-item-has-children > a::after {
	content: '▾'; font-size: 0.65em; line-height: 1; opacity: 0.7; transition: transform var(--speed) ease;
}
.site-nav__list li.menu-item-has-children:hover > a::after,
.site-nav__list li.menu-item-has-children:focus-within > a::after { transform: rotate(180deg); }

/* Desktop: hover/focus dropdown panel */
.site-nav__list li.menu-item-has-children {
	/* Invisible bridge spanning the link-to-dropdown gap, so the mouse
	   never leaves a hoverable area while moving down into the menu. */
	padding-bottom: 14px; margin-bottom: -14px;
}
.site-nav__list .sub-menu {
	display: block;
	position: absolute; top: 100%; left: 50%; transform: translateX(-50%);
	min-width: 200px; padding: 0.6rem 0;
	background: var(--color-ink);
	border-radius: var(--radius-sm);
	box-shadow: 0 16px 32px rgba(1,15,61,0.22);
	opacity: 0; pointer-events: none;
	transition: opacity var(--speed) ease;
	z-index: 210;
}
.site-nav__list li.menu-item-has-children:hover > .sub-menu,
.site-nav__list li.menu-item-has-children:focus-within > .sub-menu {
	opacity: 1; pointer-events: auto;
}
.site-nav__list .sub-menu li { width: 100%; }
.site-nav__list .sub-menu a {
	display: block; width: 100%; padding: 0.55rem 1.25rem;
	color: rgba(255,255,255,0.82); font-size: 0.85rem; white-space: nowrap;
}
.site-nav__list .sub-menu a::before { display: none; }
.site-nav__list .sub-menu a:hover { color: #fff; background: rgba(255,255,255,0.07); }
/* The current-page highlight above turns text navy — invisible on the
   dropdown's own navy background. Override it back to white in here. */
.site-nav__list .sub-menu li.current-menu-item a {
	color: #fff; font-weight: 600; background: rgba(255,255,255,0.06);
}

.site-nav__mobile-extra { display: none; }

.site-header__actions { display: flex; align-items: center; justify-content: flex-end; gap: 0.75rem; }

.site-main-col { min-width: 0; overflow-x: hidden; }

.nav-toggle {
	display: none; flex-direction: column; justify-content: center; gap: 5px;
	width: 42px; height: 42px; background: transparent; border: 1px solid var(--color-line);
	border-radius: var(--radius-sm);
}
.nav-toggle__bar { display: block; width: 20px; height: 2px; background: var(--color-ink); margin: 0 auto; transition: transform var(--speed) ease, opacity var(--speed) ease; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 900px) {
	.site-header__bar { grid-template-columns: auto 1fr auto; padding: 0 1.25rem; }
	.site-header__cbr-logo { height: 28px; }
	.nav-toggle { display: flex; }
	.site-header__actions .btn--sm { display: none; }

	.site-nav {
		position: fixed; inset: var(--header-h) 0 0 0; z-index: 190;
		background: var(--color-ink);
		display: flex; flex-direction: column; justify-content: space-between;
		padding: 2rem 1.5rem 2.5rem;
		transform: translateY(-12px); opacity: 0; pointer-events: none;
		transition: opacity var(--speed) ease, transform var(--speed) ease;
		overflow-y: auto;
	}
	.site-nav.is-open { transform: translateY(0); opacity: 1; pointer-events: auto; }
	.site-nav__list { flex-direction: column; align-items: flex-start; justify-content: flex-start; gap: 1.5rem; }
	.site-nav__list a { color: rgba(255,255,255,0.75); font-size: 1.15rem; }
	.site-nav__list a::before { background: var(--color-paper); }
	.site-nav__list a:hover,
	.site-nav__list li.current-menu-item > a { color: #fff; }
	.site-nav__list li.menu-item-has-children > a::after { display: none; }

	/* Mobile: submenu is always expanded inline (no hover available), indented */
	.site-nav__list .sub-menu {
		display: flex; flex-direction: column; gap: 0.85rem;
		position: static; transform: none; opacity: 1; pointer-events: auto;
		background: none; box-shadow: none; padding: 0.85rem 0 0 1.1rem; margin-top: 0.85rem;
		border-left: 1px solid rgba(255,255,255,0.15);
	}
	.site-nav__list .sub-menu a { padding: 0; font-size: 0.98rem; color: rgba(255,255,255,0.7); }
	.site-nav__list .sub-menu a:hover { background: none; color: #fff; }

	.site-nav__mobile-extra { display: block; padding-top: 2rem; border-top: 1px solid rgba(255,255,255,0.15); margin-top: 2rem; }
	.site-nav__contact-list { display: flex; flex-direction: column; gap: 0.6rem; margin-bottom: 1.25rem; }
	.site-nav__contact-list a { color: rgba(255,255,255,0.8); font-size: 0.95rem; }
	.site-nav__social { display: flex; gap: 1.25rem; }
	.site-nav__social a { color: rgba(255,255,255,0.6); font-size: 0.85rem; font-weight: 600; }
}

/* Hero — NJ photo background with a navy scrim for legibility, centered
   layout. Completely static: no parallax, no scroll-linked motion. */
.hero-full {
	position: relative;
	background: var(--color-ink);
	padding: 6rem 2rem;
	text-align: center;
	overflow: hidden;
}
.hero-full__bg {
	position: absolute; inset: 0; z-index: 0;
	width: 100%; height: 100%;
	object-fit: cover; object-position: center 38%;
}

/* Homepage hero slideshow — 4 images crossfading in place. Purely
   opacity-based (no sliding/motion), and the interval + transition are
   both skipped under prefers-reduced-motion: the first image just stays
   put, same as any other static hero. */
.hero-slideshow { position: absolute; inset: 0; z-index: 0; }
.hero-slideshow__slide {
	position: absolute; inset: 0;
	width: 100%; height: 100%;
	object-fit: cover; object-position: center 38%;
	opacity: 0;
	transition: opacity 1400ms ease;
}
.hero-slideshow__slide.is-active { opacity: 1; }

.hero-full::before {
	content: '';
	position: absolute; inset: 0; z-index: 1;
	background: linear-gradient(180deg, rgba(1,15,61,0.72) 0%, rgba(1,33,105,0.58) 55%, rgba(1,15,61,0.78) 100%);
}

.hero-full__content { position: relative; z-index: 2; max-width: 640px; margin: 0 auto; color: #fff; }
.hero__eyebrow {
	display: inline-block;
	font-size: 0.76rem; letter-spacing: 0.05em; text-transform: uppercase; font-weight: 600;
	color: var(--color-paper);
	border: 1px solid rgba(218,225,232,0.35);
	border-radius: 999px;
	padding: 0.4rem 1rem;
	margin-bottom: 1.5rem;
}
.hero-full__title { color: #fff; font-size: clamp(2.2rem, 4.2vw, 3.4rem); font-weight: 400; margin-bottom: 0.55em; }
.hero-full__title em { font-style: italic; color: var(--color-paper); }
.hero-full__subtitle { font-size: 1.05rem; color: rgba(255,255,255,0.78); max-width: 46ch; margin: 0 auto 1.75rem; }
.hero__actions { display: flex; gap: 1rem; flex-wrap: wrap; justify-content: center; }

@media (max-width: 700px) {
	.hero-full { padding: 4.5rem 1.5rem; }
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	.hero-slideshow__slide { transition: none; }
}
body.reduced-motion .hero-slideshow__slide { transition: none; }
body.reduced-motion .hero__layer { transform: none !important; }

/* Section rhythm */
.wrap { max-width: 700px; padding: 0 1.75rem; margin: 0 auto; }
.wrap--wide { max-width: 900px; }

.section { padding: 5.5rem 0; }
.section--alt { background: var(--color-paper-alt); }
.section__eyebrow { font-size: 0.78rem; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--color-slate); margin-bottom: 0.75rem; text-align: center; }
.section__title { font-size: clamp(1.8rem, 3.2vw, 2.4rem); font-weight: 400; text-align: center; }
.section__lede { font-size: 1.1rem; color: var(--color-slate); max-width: 56ch; margin: 0 auto; text-align: center; }

/* Scroll fade-in reveal: JS (parallax.js) continuously sets opacity/transform
   on these every frame based on scroll position, so no CSS transition here —
   a transition would lag behind and fight the per-frame updates instead of
   tracking the scroll directly. Reduced motion: always fully visible. */
[data-reveal] {
	opacity: 0;
}
@media (prefers-reduced-motion: reduce) {
	[data-reveal] { opacity: 1 !important; }
}
body.reduced-motion [data-reveal] { opacity: 1 !important; }

/* Intro lead (centered lead line + supporting paragraph) */
.intro-split { max-width: 640px; margin: 0 auto; padding: 0 1.75rem; text-align: center; }
.intro-split__lead { font-family: var(--font-serif); font-style: italic; font-size: clamp(1.4rem, 2.4vw, 1.85rem); line-height: 1.4; color: var(--color-ink); margin-bottom: 1.5rem; }
.intro-split__body { color: var(--color-slate); font-size: 1.05rem; }

/* Stacked breakout media band + centered copy (About / Municipality pages) */
.split { display: block; }
.split__media { position: relative; height: 56vh; overflow: hidden; background: var(--color-ink); }
.split__media img,
.split__media .split__media-bg { position: absolute; inset: -4%; width: 108%; height: 108%; object-fit: cover; }
.split__copy { max-width: 1100px; margin: 0 auto; padding: 4rem 1.75rem; text-align: center; }
.split__copy .prose { max-width: 100%; margin: 0 auto; text-align: left; }
@media (max-width: 700px) { .split__media { height: 42vh; } .split__copy { padding: 3rem 1.5rem; } }

/* Portrait variant — for headshots, framed at their natural aspect ratio
   instead of stretched to a full-width landscape band. */
.split--portrait .split__media {
	height: auto; background: var(--color-paper-alt);
	display: flex; flex-direction: column; align-items: center; justify-content: center;
	padding: 3rem 1.5rem 2rem;
	overflow: visible;
}
.split--portrait .split__media img,
.split--portrait .split__media .split__media-bg {
	position: relative; inset: auto; width: 150px; height: 198px;
	object-fit: cover; object-position: top center;
}
.split__caption { margin-top: 1rem; text-align: center; }
.split__caption-name { display: block; font-family: var(--font-serif); font-size: 1.15rem; color: var(--color-ink); }
.split__caption-title { display: block; font-size: 0.85rem; color: var(--color-slate); margin-top: 0.15rem; }
@media (max-width: 700px) {
	.split--portrait .split__media { padding: 2.25rem 1.5rem 1.5rem; }
	.split--portrait .split__media img,
	.split--portrait .split__media .split__media-bg { width: 130px; height: 172px; }
}

/* Feature list */
.feature-list { max-width: 760px; margin: 0 auto; padding: 0 1.75rem; }
.feature-row {
	display: grid; grid-template-columns: 220px 1fr; gap: 2rem;
	padding: 1.75rem 0; border-top: 1px solid var(--color-line);
}
.feature-list .feature-row:last-child { border-bottom: 1px solid var(--color-line); }
.feature-row__title { font-size: 1.15rem; margin: 0; }
.feature-row__desc { color: var(--color-slate); margin: 0; }
@media (max-width: 700px) { .feature-row { grid-template-columns: 1fr; gap: 0.5rem; } }

/* Timeline (centered column, line + dot on the left of the measure) */
.timeline { position: relative; max-width: 620px; margin: 0 auto; padding: 0 1.75rem; }
.timeline::before {
	content: ''; position: absolute; left: calc(1.75rem + 5px); top: 0.6rem; bottom: 0.6rem; width: 1px;
	background: var(--color-line);
}
.timeline__item { position: relative; padding: 0 0 2.5rem 2.5rem; }
.timeline__item:last-child { padding-bottom: 0; }
.timeline__dot {
	position: absolute; left: 0; top: 0.35rem; width: 11px; height: 11px; border-radius: 50%;
	background: var(--color-paper); border: 2px solid var(--color-ink);
}
.timeline__label { font-size: 0.76rem; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--color-slate); margin-bottom: 0.35rem; }
.timeline__item h3 { font-size: 1.1rem; margin-bottom: 0.3em; }
.timeline__item p { color: var(--color-slate); margin: 0; }

/* Tag list (centered, wraps) */
.tag-list { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.6rem; max-width: 720px; margin: 0 auto; padding: 0 1.75rem; }
.tag-list li {
	border: 1px solid var(--color-line); border-radius: 999px;
	padding: 0.5rem 1.1rem; font-size: 0.88rem; color: var(--color-ink);
	background: var(--color-white);
}

/* Town index — full-width directory rows, not boxed cards, no scroll gesture */
.town-index { max-width: 900px; margin: 0 auto; padding: 0 1.75rem; border-top: 1px solid var(--color-line); }
.town-index__row {
	display: flex; align-items: center; gap: 1.5rem;
	padding: 1.1rem 0.25rem;
	border-bottom: 1px solid var(--color-line);
	text-decoration: none;
	transition: background-color 220ms ease;
}
.town-index__row:hover,
.town-index__row:focus-visible { background: var(--color-paper-alt); }
.town-index__thumb {
	flex: 0 0 auto; width: 92px; height: 68px; overflow: hidden;
	border-radius: var(--radius-sm); background: var(--color-paper-alt);
}
.town-index__thumb img {
	width: 100%; height: 100%; object-fit: cover; display: block;
	transition: transform 380ms ease;
}
.town-index__row:hover .town-index__thumb img { transform: scale(1.08); }
.town-index__info { flex: 1 1 auto; min-width: 0; }
.town-index__name { display: block; font-family: var(--font-serif); font-size: 1.25rem; color: var(--color-ink); }
.town-index__desc {
	display: block; font-size: 0.88rem; color: var(--color-slate); margin-top: 0.2rem;
	overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.town-index__arrow {
	flex: 0 0 auto; font-size: 1.2rem; color: var(--color-slate);
	transition: transform 220ms ease, color 220ms ease;
}
.town-index__row:hover .town-index__arrow { transform: translateX(4px); color: var(--color-ink); }
@media (max-width: 620px) {
	.town-index { padding: 0 1.25rem; }
	.town-index__row { gap: 1rem; }
	.town-index__thumb { width: 68px; height: 52px; }
	.town-index__name { font-size: 1.1rem; }
	.town-index__desc { display: none; }
}

/* Town carousel — homepage only. Click-to-navigate arrows, scroll-snap
   track underneath so touch/trackpad swipe also works as a bonus. */
.town-carousel { position: relative; max-width: 1140px; margin: 0 auto; padding: 0 3.5rem; }
.town-carousel__track {
	display: flex; gap: 1.5rem; overflow-x: auto;
	scroll-snap-type: x mandatory;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: none;
}
.town-carousel__track::-webkit-scrollbar { display: none; }
.town-carousel__card { flex: 0 0 auto; width: calc(33.333% - 1rem); scroll-snap-align: start; display: block; }
.town-carousel__img {
	width: 100%; aspect-ratio: 4/3; object-fit: cover; display: block;
	background-color: var(--color-paper-alt); filter: saturate(0.9) brightness(0.9);
	transition: transform 380ms ease, filter 380ms ease;
}
.town-carousel__card:hover .town-carousel__img { transform: scale(1.03); filter: saturate(1) brightness(1); }
.town-carousel__name { display: block; margin-top: 0.75rem; font-family: var(--font-serif); font-size: 1.1rem; color: var(--color-ink); text-align: center; }
.town-carousel__btn {
	position: absolute; top: 40%; transform: translateY(-50%);
	width: 44px; height: 44px; border-radius: 50%;
	background: var(--color-white); border: 1px solid var(--color-line);
	font-size: 1.1rem; color: var(--color-ink);
	display: flex; align-items: center; justify-content: center;
	transition: background-color 220ms ease, transform 220ms ease;
	z-index: 2;
}
.town-carousel__btn:hover { background: var(--color-ink); color: #fff; }
.town-carousel__btn--prev { left: 0; }
.town-carousel__btn--next { right: 0; }
@media (max-width: 900px) {
	.town-carousel { padding: 0 1.5rem; }
	.town-carousel__card { width: calc(60% - 0.75rem); }
	.town-carousel__btn { display: none; }
}
@media (max-width: 560px) {
	.town-carousel__card { width: 78%; }
}

/* Service cards (Buy/Sell/Lease) — bold card treatment for the first
   section after the About split, so the page has an early visual punch. */
.service-cards {
	display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem;
	max-width: 1100px; margin: 0 auto; padding: 0 1.75rem;
}
.service-card {
	display: block; text-decoration: none;
	background: var(--color-white);
	border: 1px solid var(--color-line);
	border-top: 3px solid var(--color-ink);
	padding: 2rem 1.75rem;
	transition: transform 220ms ease, box-shadow 220ms ease;
}
.service-card:hover { transform: translateY(-4px); box-shadow: 0 16px 32px rgba(1,33,105,0.1); }
.service-card__num { font-family: var(--font-serif); font-style: italic; font-size: 1.6rem; color: var(--color-accent); display: block; margin-bottom: 0.75rem; }
.service-card__title { font-size: 1.2rem; margin-bottom: 0.6rem; }
.service-card__desc { color: var(--color-slate); margin: 0; font-size: 0.95rem; }
@media (max-width: 780px) { .service-cards { grid-template-columns: 1fr; } }

/* FAQ accordion — native <details>/<summary>, no JS required. Visually
   and functionally distinct from the two list-style sections above it. */
.faq-accordion { max-width: 760px; margin: 0 auto; padding: 0 1.75rem; }
.faq-item { border-bottom: 1px solid var(--color-line); }
.faq-item:first-child { border-top: 1px solid var(--color-line); }
.faq-item summary {
	list-style: none; cursor: pointer;
	display: flex; align-items: center; justify-content: space-between; gap: 1rem;
	padding: 1.25rem 0.25rem; font-family: var(--font-serif); font-size: 1.1rem; color: var(--color-ink);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
	content: '+'; flex: 0 0 auto; font-size: 1.4rem; line-height: 1; color: var(--color-accent);
	transition: transform 220ms ease;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item__answer { padding: 0 0.25rem 1.25rem; color: var(--color-slate); max-width: 65ch; }

/* CTA band */
.cta-band { background: var(--color-ink); color: #fff; position: relative; overflow: hidden; padding: 5rem 0; text-align: center; }
.cta-band__mark { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 70px; opacity: 0.15; fill: var(--color-paper); }
.cta-band__inner { position: relative; z-index: 2; max-width: 600px; margin: 0 auto; padding: 0 1.5rem; }
.cta-band .section__title { color: #fff; }
.cta-band p { color: rgba(255,255,255,0.78); }
.cta-band .hero__actions { justify-content: center; margin-top: 1.5rem; }

/* Quote block */
.quote-block { max-width: 640px; margin: 0 auto; padding: 0 1.75rem; text-align: center; }
.quote-block blockquote {
	font-family: var(--font-serif); font-style: italic; font-size: clamp(1.4rem, 2.4vw, 1.9rem);
	line-height: 1.4; margin: 0 0 1.5rem; color: var(--color-ink);
}
.quote-block .prose { max-width: 60ch; margin: 0 auto 1.5rem; color: var(--color-slate); text-align: left; }

/* Municipality aside card */
.town-aside { max-width: 500px; margin: 0 auto; padding: 2.5rem; background: var(--color-paper-alt); text-align: center; }
.town-aside__title { font-size: 1.25rem; }
.town-aside__links { display: flex; flex-direction: column; gap: 0.5rem; margin-top: 1.25rem; padding-top: 1.25rem; border-top: 1px solid var(--color-line); }
.town-aside__links a { font-weight: 600; font-size: 0.92rem; }
.town-aside__links a:hover { color: var(--color-slate); }
.town-aside .btn { margin-bottom: 0.6rem; }

/* Contact form */
.contact-layout { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 3rem; max-width: 980px; margin: 0 auto; padding: 0 1.75rem; align-items: start; }
.contact-quicklist { display: flex; flex-direction: column; gap: 0.6rem; margin: 1.25rem 0; }
.contact-quicklist a { font-weight: 600; color: var(--color-ink); border-bottom: 1px solid var(--color-line); }
.contact-quicklist__hint { color: var(--color-slate); font-weight: 400; font-size: 0.85rem; }
.office-card { margin-top: 1.5rem; padding-top: 1.5rem; border-top: 1px solid var(--color-line); }
.office-card__name { font-weight: 600; }

.pdre-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.form-notice { padding: 1rem 1.25rem; margin-bottom: 1.5rem; border-radius: var(--radius-sm); font-size: 0.95rem; }
.form-notice--success { background: #DEEAE0; color: #1F4A2A; }
.form-notice--error { background: #F1E1D8; color: #7A3B20; }

.form-row { margin-bottom: 1.25rem; }
.form-row--split { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.form-field label { display: block; font-size: 0.85rem; font-weight: 600; margin-bottom: 0.4rem; }
.form-field input, .form-field select, .form-field textarea {
	width: 100%; padding: 0.75rem 0.9rem; font: inherit;
	border: 1px solid var(--color-line); border-radius: var(--radius-sm);
	background: #fff; color: var(--color-ink);
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { border-color: var(--color-accent); }
.form-checkbox { display: flex; align-items: flex-start; gap: 0.6rem; font-size: 0.85rem; color: var(--color-slate); }
.form-checkbox input { margin-top: 0.2rem; }

@media (max-width: 900px) { .contact-layout { grid-template-columns: 1fr; padding: 0 1.5rem; } }
@media (max-width: 560px) { .form-row--split { grid-template-columns: 1fr; } }

/* Footer */
.site-footer { background: var(--color-ink-deep); color: rgba(255,255,255,0.85); padding: 4rem 3rem 1.5rem; }
.site-footer__inner { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.5rem; max-width: 980px; }
.site-footer__heading { color: #fff; font-size: 1.05rem; margin-bottom: 0.75rem; }
.site-footer__badge { max-width: 140px; height: auto; margin-bottom: 0.75rem; }
.site-footer__list { display: flex; flex-direction: column; gap: 0.5rem; }
.site-footer__social { display: flex; flex-direction: row; gap: 1rem; }
.site-footer__social a,
.site-nav__social a { display: inline-flex; align-items: center; gap: 0.5rem; }
.social-icon { width: 18px; height: 18px; flex: 0 0 auto; }
.site-footer a:hover { color: var(--color-paper); }
.site-footer__brokerage { font-size: 1.15rem; font-weight: 600; }
.site-footer__broker-line { font-size: 1.1rem; }
.site-footer__address { color: inherit; border-bottom: 1px solid rgba(255,255,255,0.3); font-size: 1.1rem; }
.site-footer__bottom { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,0.15); font-size: 0.85rem; color: rgba(255,255,255,0.55); max-width: 980px; }
@media (max-width: 700px) {
	.site-footer { padding: 3rem 1.5rem 1.5rem; }
	.site-footer__inner { grid-template-columns: 1fr; gap: 2rem; }
}

/* Prose / generic fallback */
.prose { max-width: 62ch; }
.prose p { margin-bottom: 1.1em; color: var(--color-slate); line-height: 1.7; }
/* First paragraph reads as a lead-in, larger and darker, so long-form
   content (like municipality page copy) has a designed hierarchy even
   when it's just plain paragraphs pasted into the editor. */
.prose > p:first-of-type { font-size: 1.12rem; color: var(--color-ink); }
.prose h2, .prose h3 { margin-top: 1.6em; }
.prose ul, .prose ol { margin: 0 0 1.1em 1.3em; color: var(--color-slate); list-style: disc; }
.prose li { margin-bottom: 0.4em; }

/* If old content gets copy-pasted into the WordPress editor, it can carry
   inline gradient-text styling from the previous site (background-clip:
   text, etc). Strip that out unconditionally inside editable content areas
   so text always renders in the theme's own colors, not leftover styling. */
.prose *, .entry-content * {
	background-image: none !important;
	-webkit-background-clip: initial !important;
	background-clip: initial !important;
	-webkit-text-fill-color: initial !important;
}
.simple-article { padding: 4rem 3rem; }

/* 404 */
.section--404 { text-align: center; padding: 8rem 3rem; }

/* ==========================================================================
   FINAL OVERRIDE — deliberately placed last in this file. If a nested
   scrollbar ever shows up anywhere between the header and footer, this is
   the guaranteed fix: every layout wrapper on the page is forced to have
   no scroll/height constraint of its own, full stop. Nothing after this
   in the stylesheet can undo it, because nothing comes after this.
   ========================================================================== */
html, body,
.site-main-col, .hero-full, .hero-full__content,
#main, main, .site-header, .site-footer {
	overflow-y: visible !important;
	overflow: visible !important;
	height: auto !important;
	max-height: none !important;
}
