/* ==========================================================================
   Superior Management - main stylesheet
   1. Tokens  2. Base  3. Utilities & buttons  4. Header  5. Hero  6. Sections
   7. Listings & cards  8. Carousel  9. Single property  10. Forms & WPForms
   11. Pages & prose  12. Footer  13. Responsive
   ========================================================================== */

/* 1. Tokens ---------------------------------------------------------------- */
:root {
	--color-brand: #013161;
	--color-brand-deep: #082B4D;
	--color-heading: #0D1B2B;
	--color-body: #536070;
	--color-surface: #FFFFFF;
	--color-surface-soft: #F6FBFE;
	--color-divider: #D7DEE4;
	--overlay-hero: linear-gradient(90deg, rgba(1, 49, 97, 0.86) 0%, rgba(1, 49, 97, 0.58) 48%, rgba(1, 49, 97, 0.05) 100%);

	--radius-card: 0px;
	--radius-button: 0px;
	--radius-input: 2px;

	--font-display: "Montserrat", "Helvetica Neue", Arial, sans-serif;
	--font-body: "Open Sans", "Helvetica Neue", Arial, sans-serif;

	--text-hero: clamp(2.25rem, 3.6vw, 3.5rem);
	--text-section: clamp(1.85rem, 2.6vw, 2.625rem);
	--text-price: clamp(1.65rem, 2.1vw, 2.25rem);
	--text-card-title: clamp(1.2rem, 1.45vw, 1.45rem);
	--text-body: 1rem;
	--text-small: 0.875rem;
	--text-tiny: 0.8125rem;

	--container-max: 82.5rem;
	--page-gutter: clamp(1.25rem, 4.5vw, 4.5rem);
	--section-space: clamp(3.5rem, 6vw, 6.5rem);
	--grid-gap: 2.25rem;
	--card-pad: 1.5rem;
	--button-height: 3.125rem;
}

/* 2. Base ------------------------------------------------------------------ */
*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
}

body {
	margin: 0;
	background: var(--color-surface);
	color: var(--color-body);
	font-family: var(--font-body);
	font-size: var(--text-body);
	font-weight: 400;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
}

img,
svg,
video,
iframe {
	display: block;
	max-width: 100%;
}

img {
	height: auto;
}

h1,
h2,
h3,
h4 {
	margin: 0 0 0.6em;
	color: var(--color-heading);
	font-family: var(--font-display);
	font-weight: 400;
	line-height: 1.22;
	text-wrap: balance;
}

p {
	margin: 0 0 1em;
}

a {
	color: var(--color-brand);
	text-decoration-thickness: 1px;
	text-underline-offset: 0.18em;
}

a:hover {
	color: var(--color-brand-deep);
}

ul,
ol,
dl,
dd {
	margin: 0;
	padding: 0;
}

button,
input,
select,
textarea {
	font: inherit;
	color: inherit;
}

:focus-visible {
	outline: 2px solid var(--color-brand);
	outline-offset: 3px;
}

.sm-utility :focus-visible,
.sm-cta :focus-visible,
.sm-hero :focus-visible,
.site-footer :focus-visible {
	outline-color: var(--color-surface);
}

/* 3. Utilities & buttons --------------------------------------------------- */
.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.skip-link:focus {
	position: fixed !important;
	top: 0.5rem;
	left: 0.5rem;
	z-index: 1000;
	width: auto;
	height: auto;
	margin: 0;
	padding: 0.75rem 1rem;
	clip: auto;
	background: var(--color-surface);
	color: var(--color-brand);
}

.sm-container {
	width: 100%;
	max-width: calc(var(--container-max) + 2 * var(--page-gutter));
	margin-inline: auto;
	padding-inline: var(--page-gutter);
}

.sm-container--narrow {
	max-width: calc(54rem + 2 * var(--page-gutter));
}

.sm-section {
	padding-block: var(--section-space);
}

.sm-section--flush-top {
	padding-top: 0;
}

.sm-heading {
	font-size: var(--text-section);
	font-weight: 400;
	line-height: 1.22;
}

.sm-heading--center {
	text-align: center;
}

.sm-heading--spaced {
	margin-top: 1.25em;
}

.sm-subheading {
	margin-bottom: 1rem;
	font-size: 1.375rem;
	font-weight: 500;
	line-height: 1.3;
}

.sm-icon {
	flex: none;
	color: var(--color-brand);
}

.sm-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: var(--button-height);
	padding: 0.5rem 1.75rem;
	border: 1px solid var(--color-brand);
	border-radius: var(--radius-button);
	background: var(--color-brand);
	box-shadow: none;
	color: var(--color-surface);
	font-family: var(--font-display);
	font-size: var(--text-small);
	font-weight: 600;
	line-height: 1.2;
	text-align: center;
	text-decoration: none;
	cursor: pointer;
	transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.sm-button:hover,
.sm-button:focus-visible {
	border-color: var(--color-brand-deep);
	background: var(--color-brand-deep);
	color: var(--color-surface);
}

.sm-button--block {
	width: 100%;
}

.sm-button--outline {
	background: transparent;
	color: var(--color-brand);
}

.sm-button--inverse {
	border-color: var(--color-surface);
	background: var(--color-surface);
	color: var(--color-heading);
}

.sm-button--inverse:hover,
.sm-button--inverse:focus-visible {
	border-color: var(--color-surface);
	background: var(--color-brand-deep);
	color: var(--color-surface);
}

.sm-button--outline-inverse {
	border-color: var(--color-surface);
	background: transparent;
	color: var(--color-surface);
}

.sm-button--outline-inverse:hover,
.sm-button--outline-inverse:focus-visible {
	border-color: var(--color-surface);
	background: var(--color-surface);
	color: var(--color-heading);
}

.sm-tag {
	display: inline-block;
	padding: 0.2rem 0.55rem;
	border: 1px solid var(--color-divider);
	color: var(--color-body);
	font-family: var(--font-display);
	font-size: 0.6875rem;
	font-weight: 600;
	letter-spacing: 0.08em;
	line-height: 1.4;
	text-transform: uppercase;
	white-space: nowrap;
}

.sm-tag--solid {
	border-color: var(--color-brand);
	background: var(--color-brand);
	color: var(--color-surface);
}

.sm-notice {
	margin: 0 0 1rem;
	padding: 0.75rem 1rem;
	border: 1px solid var(--color-divider);
	background: var(--color-surface);
	color: var(--color-heading);
	font-size: var(--text-small);
}

.sm-notice--success {
	border-color: var(--color-brand);
	border-left-width: 4px;
}

.sm-notice--error {
	border-color: #A12B2B;
	border-left-width: 4px;
}

.sm-notice--inverse {
	border-color: rgba(255, 255, 255, 0.5);
	background: transparent;
	color: var(--color-surface);
}

.sm-empty {
	max-width: 36rem;
	margin: 0 auto;
	padding: 2rem 0;
	text-align: center;
}

.sm-toast {
	position: fixed;
	left: 50%;
	bottom: 1.5rem;
	z-index: 900;
	max-width: calc(100vw - 2rem);
	padding: 0.8rem 1.25rem;
	background: var(--color-heading);
	color: var(--color-surface);
	font-size: var(--text-small);
	opacity: 0;
	transform: translate(-50%, 0.5rem);
	transition: opacity 0.2s ease, transform 0.2s ease;
	pointer-events: none;
}

.sm-toast.is-visible {
	opacity: 1;
	transform: translate(-50%, 0);
}

/* 4. Header ---------------------------------------------------------------- */
.site-header {
	position: relative;
	z-index: 100;
}

.sm-utility {
	background: var(--color-brand);
	color: var(--color-surface);
	font-size: var(--text-tiny);
	font-weight: 500;
}

.sm-utility__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	min-height: 2.75rem;
	padding-block: 0.4rem;
}

.sm-utility__text {
	margin: 0;
}

.sm-utility a {
	color: var(--color-surface);
	font-weight: 600;
}

.sm-social {
	display: flex;
	gap: 0.6rem;
	list-style: none;
}

.sm-social__link {
	display: grid;
	place-items: center;
	width: 1.5rem;
	height: 1.5rem;
	border-radius: 50%;
	background: var(--color-surface);
}

.sm-social__link .sm-icon {
	color: var(--color-brand);
}

.sm-social__link:hover {
	background: var(--color-surface-soft);
}

.sm-mainbar {
	background: var(--color-surface);
	border-bottom: 1px solid var(--color-divider);
}

.sm-mainbar__inner {
	display: grid;
	grid-template-columns: auto 1fr auto;
	align-items: center;
	gap: 1.5rem;
	min-height: 5.75rem;
}

.sm-brand__link,
.custom-logo-link {
	display: inline-flex;
	flex-direction: column;
	align-items: center;
	gap: 0.2rem;
	color: var(--color-brand);
	text-decoration: none;
}

.sm-brand__name {
	font-family: var(--font-display);
	font-size: 0.75rem;
	font-weight: 600;
	line-height: 1.2;
	white-space: nowrap;
}

.custom-logo {
	width: auto;
	max-height: 4rem;
}

.sm-nav {
	justify-self: center;
}

.sm-nav__head,
.sm-nav__cta,
.sm-nav-toggle,
.sm-nav-backdrop {
	display: none;
}

.sm-menu {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 0.25rem 0.5rem;
	list-style: none;
}

.sm-menu li {
	position: relative;
}

.sm-menu a {
	display: block;
	padding: 0.7rem 1.1rem;
	color: var(--color-body);
	font-family: var(--font-display);
	font-size: var(--text-tiny);
	font-weight: 600;
	letter-spacing: 0.04em;
	line-height: 1.2;
	text-decoration: none;
	text-transform: uppercase;
	transition: color 0.15s ease, background-color 0.15s ease;
}

.sm-menu a:hover {
	color: var(--color-brand);
}

.sm-menu > .current-menu-item > a,
.sm-menu > .current-menu-ancestor > a,
.sm-menu > .current-menu-parent > a,
.sm-menu > .current_page_item > a {
	background: var(--color-brand);
	color: var(--color-surface);
}

.sm-menu .sub-menu {
	position: absolute;
	top: 100%;
	left: 0;
	z-index: 10;
	display: none;
	min-width: 13rem;
	padding: 0.4rem 0;
	border: 1px solid var(--color-divider);
	background: var(--color-surface);
	list-style: none;
}

.sm-menu li:hover > .sub-menu,
.sm-menu li:focus-within > .sub-menu {
	display: block;
}

.sm-menu .sub-menu a {
	text-transform: none;
	letter-spacing: 0;
	font-weight: 500;
}

.sm-menu .sub-menu .current-menu-item > a {
	color: var(--color-brand);
}

/* 5. Hero ------------------------------------------------------------------ */
.sm-hero {
	position: relative;
	display: flex;
	align-items: center;
	min-height: clamp(26rem, 43vw, 36rem);
	background: var(--color-brand);
	color: var(--color-surface);
	overflow: hidden;
}

.sm-hero__media,
.sm-hero__overlay {
	position: absolute;
	inset: 0;
}

.sm-hero__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.sm-hero__overlay {
	background: var(--overlay-hero);
}

.sm-hero__inner {
	position: relative;
	padding-block: clamp(3rem, 6vw, 5rem);
}

.sm-hero__title {
	max-width: 11.5em;
	margin-bottom: 0.5em;
	color: var(--color-surface);
	font-size: var(--text-hero);
	font-weight: 400;
	line-height: 1.18;
}

.sm-hero__text {
	max-width: 34rem;
	margin: 0;
	color: var(--color-surface);
	font-weight: 500;
}

.sm-hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.875rem;
	margin-top: 2rem;
}

/* 6. Sections: split, framed photos, why, stats, CTA ---------------------- */
.sm-split__inner {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	align-items: center;
	gap: clamp(2.5rem, 6vw, 6rem);
}

.sm-split--stats .sm-split__inner {
	grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
}

/* Solid navy offset corner accents behind selected photos. */
.sm-framed {
	position: relative;
	isolation: isolate;
	margin: 0.75rem;
}

.sm-framed::before,
.sm-framed::after {
	content: "";
	position: absolute;
	z-index: -1;
	width: 58%;
	height: 58%;
	background: var(--color-brand);
}

.sm-framed::before {
	top: -0.75rem;
	left: -0.75rem;
}

.sm-framed::after {
	right: -0.75rem;
	bottom: -0.75rem;
}

.sm-framed img {
	width: 100%;
	aspect-ratio: 3 / 2;
	object-fit: cover;
	border: 0.375rem solid var(--color-surface);
}

.sm-framed--tall img {
	aspect-ratio: 1 / 1;
}

.sm-checklist {
	display: grid;
	gap: 0.7rem;
	list-style: none;
}

.sm-checklist li {
	display: flex;
	align-items: flex-start;
	gap: 0.65rem;
}

.sm-checklist .sm-icon {
	margin-top: 0.15rem;
}

.sm-why .sm-heading {
	margin-bottom: clamp(2.5rem, 4vw, 3.75rem);
}

.sm-why__grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: var(--grid-gap);
	list-style: none;
}

.sm-why__item .sm-icon {
	margin-bottom: 1.25rem;
	stroke-width: 1;
}

.sm-why__title {
	margin-bottom: 0.6rem;
	font-size: 1.3125rem;
	font-weight: 500;
}

.sm-why__item p {
	margin: 0;
	font-size: var(--text-small);
}

.sm-stats {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1.75rem 2rem;
	margin-top: 2rem;
}

.sm-stats__item {
	display: flex;
	flex-direction: column-reverse;
	gap: 0.35rem;
}

.sm-stats__figure {
	color: var(--color-brand);
	font-family: var(--font-display);
	font-size: clamp(2.25rem, 3.4vw, 3.125rem);
	font-weight: 400;
	line-height: 1.1;
}

.sm-stats__label {
	color: var(--color-brand);
	font-size: var(--text-small);
	font-weight: 500;
}

.sm-cta {
	background: var(--color-brand);
	color: var(--color-surface);
	text-align: center;
}

.sm-cta__inner {
	max-width: calc(44rem + 2 * var(--page-gutter));
	margin-inline: auto;
	padding: clamp(2.75rem, 5vw, 4.25rem) var(--page-gutter);
}

.sm-cta--boxed {
	width: calc(100% - 2 * var(--page-gutter));
	max-width: var(--container-max);
	margin: 0 auto var(--section-space);
}

.sm-cta__title {
	margin: 0 0 0.6em;
	color: var(--color-surface);
	font-family: var(--font-display);
	font-size: var(--text-section);
	font-weight: 400;
	line-height: 1.22;
	text-wrap: balance;
}

.sm-cta__text {
	margin: 0 auto 1.75rem;
	max-width: 38rem;
	font-weight: 500;
}

/* 7. Listings & cards ------------------------------------------------------ */
.sm-listings__header {
	margin-bottom: clamp(2.5rem, 4vw, 3.5rem);
}

.sm-listings__header .sm-heading {
	margin-bottom: 1.5rem;
}

.sm-listings__more {
	margin: clamp(2.5rem, 4vw, 3.5rem) 0 0;
	text-align: center;
}

.sm-listings.is-loading .sm-grid {
	opacity: 0.45;
	transition: opacity 0.15s ease;
}

.sm-tabs__list {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.25rem 0.5rem;
	list-style: none;
}

.sm-tabs__link {
	display: block;
	padding: 0.7rem 1.25rem;
	border-bottom: 2px solid transparent;
	color: var(--color-body);
	font-family: var(--font-display);
	font-size: var(--text-small);
	font-weight: 600;
	text-decoration: none;
	transition: color 0.15s ease, border-color 0.15s ease;
}

.sm-tabs__link:hover {
	color: var(--color-brand);
}

.sm-tabs__link.is-active {
	border-bottom-color: var(--color-brand);
	color: var(--color-brand);
}

.sm-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: var(--grid-gap);
}

.sm-card {
	display: flex;
	flex-direction: column;
	min-width: 0;
	border-radius: var(--radius-card);
	background: var(--color-surface-soft);
	box-shadow: none;
}

.sm-card__body {
	display: flex;
	flex: 1;
	flex-direction: column;
	padding: var(--card-pad);
}

.sm-card__price-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem;
	margin-bottom: 1rem;
}

.sm-price {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 0 0.4rem;
	margin: 0;
}

.sm-price__amount {
	color: var(--color-heading);
	font-family: var(--font-display);
	font-size: var(--text-price);
	font-weight: 400;
	line-height: 1.1;
}

.sm-price__amount--text {
	font-size: 1.25rem;
}

.sm-price__period {
	color: var(--color-body);
	font-family: var(--font-display);
	font-size: var(--text-tiny);
	font-weight: 500;
	text-transform: uppercase;
}

.sm-address {
	display: flex;
	align-items: flex-start;
	gap: 0.4rem;
	margin: 0 0 0.5rem;
	color: var(--color-body);
	font-size: var(--text-small);
	line-height: 1.4;
}

.sm-address .sm-icon {
	margin-top: 0.1rem;
}

.sm-card__title {
	display: -webkit-box;
	margin: 0 0 0.75rem;
	overflow: hidden;
	font-size: var(--text-card-title);
	font-weight: 500;
	line-height: 1.3;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	line-clamp: 2;
}

.sm-card__title a {
	color: var(--color-heading);
	text-decoration: none;
}

.sm-card__title a:hover {
	color: var(--color-brand);
}

.sm-card__excerpt {
	display: -webkit-box;
	margin: 0 0 1.25rem;
	overflow: hidden;
	font-size: var(--text-small);
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	line-clamp: 2;
}

.sm-card__meta {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 0.5rem;
	margin-top: auto;
	list-style: none;
	color: var(--color-heading);
	font-family: var(--font-display);
	font-size: var(--text-small);
	font-weight: 500;
}

.sm-card__meta li {
	display: flex;
	align-items: center;
	gap: 0.45rem;
	min-width: 0;
	line-height: 1.25;
}

.sm-pagination {
	margin-top: clamp(2.5rem, 4vw, 3.5rem);
}

.sm-pagination .nav-links {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.4rem;
}

.sm-pagination .page-numbers {
	display: grid;
	place-items: center;
	min-width: 2.75rem;
	min-height: 2.75rem;
	padding: 0 0.85rem;
	border: 1px solid var(--color-divider);
	color: var(--color-heading);
	font-family: var(--font-display);
	font-size: var(--text-small);
	font-weight: 600;
	text-decoration: none;
}

.sm-pagination .page-numbers.current,
.sm-pagination a.page-numbers:hover {
	border-color: var(--color-brand);
	background: var(--color-brand);
	color: var(--color-surface);
}

/* 8. Carousel -------------------------------------------------------------- */
.sm-carousel {
	position: relative;
	background: var(--color-divider);
}

.sm-carousel__viewport {
	overflow: hidden;
	aspect-ratio: 3 / 2;
}

.sm-carousel__track {
	display: flex;
	height: 100%;
	list-style: none;
	transition: transform 0.35s ease;
}

.sm-carousel__slide {
	flex: 0 0 100%;
	min-width: 0;
	height: 100%;
}

.sm-carousel__slide img {
	width: 100%;
	height: 100%;
	aspect-ratio: 3 / 2;
	object-fit: cover;
}

.sm-carousel__arrow,
.sm-carousel__dots {
	display: none;
}

.js .sm-carousel__arrow {
	position: absolute;
	top: 50%;
	display: grid;
	place-items: center;
	width: 2.75rem;
	height: 2.75rem;
	padding: 0;
	border: 0;
	background: transparent;
	transform: translateY(-50%);
	cursor: pointer;
}

.sm-carousel__arrow .sm-icon {
	color: var(--color-brand);
	stroke-width: 2.25;
}

.sm-carousel__arrow:hover .sm-icon,
.sm-carousel__arrow:focus-visible .sm-icon {
	color: var(--color-brand-deep);
}

.sm-carousel__arrow:focus-visible {
	outline-offset: -4px;
	background: rgba(255, 255, 255, 0.9);
}

.sm-carousel__arrow--prev {
	left: 0.25rem;
}

.sm-carousel__arrow--next {
	right: 0.25rem;
}

.js .sm-carousel__dots {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0.25rem;
	display: flex;
	justify-content: center;
}

.sm-carousel__dot {
	display: grid;
	place-items: center;
	width: 1.5rem;
	height: 1.5rem;
	padding: 0;
	border: 0;
	background: transparent;
	cursor: pointer;
}

.sm-carousel__dot::before {
	content: "";
	width: 0.625rem;
	height: 0.625rem;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.9);
}

.sm-carousel__dot[aria-current="true"]::before {
	background: var(--color-brand);
}

.sm-carousel__dot:focus-visible {
	outline-offset: -3px;
	outline-color: var(--color-surface);
	background: var(--color-brand);
}

/* 9. Single property ------------------------------------------------------- */
.sm-property {
	padding-top: clamp(2rem, 4vw, 3.25rem);
}

.sm-property__header {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: 1rem 2rem;
	margin-bottom: 1.5rem;
}

.sm-property__title {
	margin-bottom: 0.4rem;
}

.sm-address--lg {
	margin: 0;
	color: var(--color-brand);
	font-size: 1rem;
	font-weight: 500;
}

.sm-property__aside {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 0.6rem;
}

.sm-price--lg .sm-price__label,
.sm-price--lg .sm-price__amount {
	color: var(--color-heading);
	font-family: var(--font-display);
	font-size: var(--text-section);
	font-weight: 400;
	line-height: 1.22;
}

.sm-property__actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: flex-end;
	gap: 0.6rem;
}

.sm-share {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	min-height: 2.75rem;
	padding: 0 0.5rem;
	border: 0;
	background: transparent;
	color: var(--color-brand);
	font-family: var(--font-display);
	font-size: var(--text-small);
	font-weight: 500;
	cursor: pointer;
}

.sm-share:hover {
	color: var(--color-brand-deep);
	text-decoration: underline;
}

.sm-property__gallery .sm-carousel__viewport,
.sm-property__gallery .sm-carousel__slide img {
	aspect-ratio: 16 / 9;
}

.sm-property__gallery .sm-carousel__arrow {
	width: 3.5rem;
	height: 3.5rem;
}

.sm-property__gallery .sm-carousel__arrow--prev {
	left: 0.5rem;
}

.sm-property__gallery .sm-carousel__arrow--next {
	right: 0.5rem;
}

.sm-property__gallery .sm-carousel__dots {
	bottom: 0.6rem;
}

.sm-property__layout {
	display: grid;
	grid-template-columns: minmax(0, 66fr) minmax(0, 34fr);
	align-items: start;
	gap: clamp(2rem, 5vw, 4.5rem);
	padding-block: clamp(2.5rem, 4vw, 3.5rem) 0;
}

.sm-property__sidebar {
	position: sticky;
	top: 1.5rem;
	display: grid;
	gap: 1.25rem;
}

.admin-bar .sm-property__sidebar {
	top: 3.5rem;
}

.sm-block {
	margin-bottom: 2.5rem;
}

.sm-spec-columns {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0 2.5rem;
}

.sm-specs--two {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0 2.5rem;
}

.sm-specs__row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	min-height: 3.25rem;
	padding: 0.7rem 0;
	border-bottom: 1px solid var(--color-divider);
	font-size: var(--text-small);
}

.sm-specs__row dt {
	display: flex;
	align-items: center;
	gap: 0.85rem;
	color: var(--color-body);
	font-weight: 500;
}

.sm-specs__row dd {
	color: var(--color-heading);
	font-weight: 500;
	text-align: right;
}

.sm-embed {
	position: relative;
	aspect-ratio: 16 / 9;
	background: var(--color-surface-soft);
}

.sm-embed--map {
	aspect-ratio: 16 / 7;
}

.sm-embed iframe,
.sm-embed video {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
}

.sm-panel {
	padding: 1.75rem;
	background: var(--color-surface-soft);
}

.sm-panel--center {
	text-align: center;
}

.sm-panel__title {
	margin: 0 0 0.25rem;
	font-size: 1.5rem;
	font-weight: 500;
}

.sm-panel__phone {
	color: var(--color-heading);
	font-family: var(--font-display);
	font-size: clamp(1.5rem, 2vw, 1.75rem);
	font-weight: 600;
	line-height: 1.25;
	text-decoration: none;
}

.sm-panel__phone:hover {
	color: var(--color-brand);
	text-decoration: underline;
}

.sm-similar .sm-heading {
	margin-bottom: clamp(2rem, 3.5vw, 3rem);
}

/* 10. Forms & WPForms ------------------------------------------------------ */
.sm-form__row {
	margin: 0 0 0.875rem;
}

.sm-form__label {
	display: block;
	margin-bottom: 0.3rem;
	color: var(--color-body);
	font-size: var(--text-tiny);
	font-weight: 500;
}

.sm-form__hp {
	position: absolute !important;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.sm-form input:not([type="hidden"]):not([type="submit"]):not([type="checkbox"]):not([type="radio"]),
.sm-form select,
.sm-form textarea,
.sm-prose input[type="text"],
.sm-prose input[type="email"],
.sm-prose input[type="tel"],
.sm-prose input[type="url"],
.sm-prose input[type="number"],
.sm-prose input[type="date"],
.sm-prose input[type="time"],
.sm-prose input[type="search"],
.sm-prose select,
.sm-prose textarea,
div.wpforms-container-full .wpforms-form input[type="text"],
div.wpforms-container-full .wpforms-form input[type="email"],
div.wpforms-container-full .wpforms-form input[type="tel"],
div.wpforms-container-full .wpforms-form input[type="url"],
div.wpforms-container-full .wpforms-form input[type="number"],
div.wpforms-container-full .wpforms-form input[type="date"],
div.wpforms-container-full .wpforms-form input[type="time"],
div.wpforms-container-full .wpforms-form input[type="password"],
div.wpforms-container-full .wpforms-form select,
div.wpforms-container-full .wpforms-form textarea,
.wpforms-container .wpforms-form input:not([type="submit"]):not([type="checkbox"]):not([type="radio"]):not([type="hidden"]),
.wpforms-container .wpforms-form select,
.wpforms-container .wpforms-form textarea {
	display: block;
	width: 100%;
	max-width: 100%;
	min-height: 3rem;
	padding: 0.65rem 0.9rem;
	border: 1px solid var(--color-divider);
	border-radius: var(--radius-input);
	background: var(--color-surface);
	box-shadow: none;
	color: var(--color-heading);
	font-family: var(--font-body);
	font-size: var(--text-small);
	line-height: 1.4;
}

.sm-form input:focus,
.sm-form select:focus,
.sm-form textarea:focus,
.sm-prose input:focus,
.sm-prose select:focus,
.sm-prose textarea:focus,
div.wpforms-container-full .wpforms-form input:focus,
div.wpforms-container-full .wpforms-form select:focus,
div.wpforms-container-full .wpforms-form textarea:focus {
	border-color: var(--color-brand);
	box-shadow: none;
	outline: 2px solid var(--color-brand);
	outline-offset: 1px;
}

.sm-form ::placeholder,
.wpforms-container ::placeholder,
.sm-newsletter ::placeholder {
	color: #7C8794;
	opacity: 1;
}

.sm-prose textarea,
.wpforms-container .wpforms-form textarea {
	min-height: 8rem;
}

div.wpforms-container-full,
.wpforms-container {
	margin: 1.5rem 0;
}

.wpforms-container .wpforms-field {
	padding: 0 0 1rem;
}

.wpforms-container .wpforms-field-label,
div.wpforms-container-full .wpforms-form .wpforms-field-label {
	display: block;
	margin: 0 0 0.35rem;
	color: var(--color-heading);
	font-family: var(--font-display);
	font-size: var(--text-small);
	font-weight: 600;
}

.wpforms-container .wpforms-field-sublabel,
.wpforms-container .wpforms-field-description,
div.wpforms-container-full .wpforms-form .wpforms-field-sublabel,
div.wpforms-container-full .wpforms-form .wpforms-field-description {
	color: var(--color-body);
	font-size: var(--text-tiny);
}

.wpforms-container .wpforms-required-label {
	color: #A12B2B;
}

.wpforms-container .wpforms-form button[type="submit"],
.wpforms-container .wpforms-form .wpforms-page-button,
div.wpforms-container-full .wpforms-form button[type="submit"],
div.wpforms-container-full .wpforms-form .wpforms-page-button,
.sm-prose input[type="submit"],
.sm-prose button[type="submit"] {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: var(--button-height);
	padding: 0.5rem 1.75rem;
	border: 1px solid var(--color-brand);
	border-radius: var(--radius-button);
	background: var(--color-brand);
	box-shadow: none;
	color: var(--color-surface);
	font-family: var(--font-display);
	font-size: var(--text-small);
	font-weight: 600;
	cursor: pointer;
}

.wpforms-container .wpforms-form button[type="submit"]:hover,
.wpforms-container .wpforms-form button[type="submit"]:focus-visible,
.wpforms-container .wpforms-form .wpforms-page-button:hover,
div.wpforms-container-full .wpforms-form button[type="submit"]:hover,
div.wpforms-container-full .wpforms-form button[type="submit"]:focus-visible,
.sm-prose input[type="submit"]:hover,
.sm-prose button[type="submit"]:hover {
	border-color: var(--color-brand-deep);
	background: var(--color-brand-deep);
	color: var(--color-surface);
}

/* WPForms inside the sticky tour panel: full-width submit. */
.sm-panel .wpforms-container .wpforms-form button[type="submit"] {
	width: 100%;
}

.wpforms-container label.wpforms-error,
div.wpforms-container-full .wpforms-form label.wpforms-error {
	color: #A12B2B;
	font-size: var(--text-tiny);
}

.wpforms-confirmation-container-full,
div[submit-success] > .wpforms-confirmation-container-full {
	padding: 1rem 1.25rem;
	border: 1px solid var(--color-brand);
	border-left-width: 4px;
	border-radius: 0;
	background: var(--color-surface-soft);
	color: var(--color-heading);
}

/* 11. Pages & prose -------------------------------------------------------- */
.sm-page {
	padding-bottom: var(--section-space);
}

.sm-page__header {
	margin-bottom: clamp(2rem, 4vw, 3rem);
	padding-block: clamp(2.5rem, 5vw, 4rem);
	background: var(--color-surface-soft);
}

.sm-page__header .sm-heading {
	margin: 0;
}

.sm-page--center {
	padding-top: var(--section-space);
	text-align: center;
}

.sm-page__actions {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.875rem;
	margin-top: 2rem;
}

.sm-page__thumb {
	margin-bottom: 2rem;
}

.sm-prose > *:last-child {
	margin-bottom: 0;
}

.sm-prose h2 {
	margin-top: 1.6em;
	font-size: 1.625rem;
}

.sm-prose h3 {
	margin-top: 1.4em;
	font-size: 1.3125rem;
	font-weight: 500;
}

.sm-prose ul,
.sm-prose ol {
	margin: 0 0 1em;
	padding-left: 1.4rem;
}

.sm-prose li {
	margin-bottom: 0.35em;
}

.sm-prose blockquote {
	margin: 1.5em 0;
	padding: 0.25rem 0 0.25rem 1.25rem;
	border-left: 4px solid var(--color-brand);
	color: var(--color-heading);
}

.sm-prose table {
	width: 100%;
	margin-bottom: 1.5em;
	border-collapse: collapse;
}

.sm-prose th,
.sm-prose td {
	padding: 0.7rem 0.5rem;
	border-bottom: 1px solid var(--color-divider);
	text-align: left;
}

.sm-prose th {
	color: var(--color-heading);
	font-weight: 600;
}

.sm-prose .wp-block-button__link,
.sm-prose .wp-element-button {
	border-radius: var(--radius-button);
	background: var(--color-brand);
	color: var(--color-surface);
	font-family: var(--font-display);
	font-size: var(--text-small);
	font-weight: 600;
}

.sm-prose .wp-block-button__link:hover {
	background: var(--color-brand-deep);
}

.alignwide,
.alignfull {
	max-width: 100%;
}

.aligncenter {
	margin-inline: auto;
}

.wp-caption-text,
figcaption {
	margin-top: 0.5rem;
	font-size: var(--text-tiny);
}

.sm-entry {
	padding-bottom: 2rem;
	margin-bottom: 2rem;
	border-bottom: 1px solid var(--color-divider);
}

.sm-entry__title {
	margin-bottom: 0.3rem;
	font-size: 1.625rem;
}

.sm-entry__title a {
	color: var(--color-heading);
	text-decoration: none;
}

.sm-entry__meta {
	font-size: var(--text-tiny);
}

/* 12. Footer --------------------------------------------------------------- */
.site-footer {
	background: var(--color-brand);
	color: var(--color-surface);
	font-size: var(--text-small);
	font-weight: 500;
}

.site-footer a {
	color: var(--color-surface);
	text-decoration: none;
}

.site-footer a:hover {
	text-decoration: underline;
}

.sm-footer__grid {
	display: grid;
	grid-template-columns: minmax(0, 2.4fr) minmax(0, 0.9fr) minmax(0, 1.1fr) minmax(0, 1.7fr);
	gap: 2.5rem clamp(2rem, 4vw, 4rem);
	padding-block: clamp(3rem, 5vw, 4.5rem) 2.5rem;
}

.sm-footer__logo {
	display: inline-block;
	margin-bottom: 1.5rem;
	padding: 0.85rem 1.1rem;
	background: var(--color-surface);
}

.site-footer .sm-footer__logo a {
	color: var(--color-brand);
	text-decoration: none;
}

.sm-footer__desc {
	max-width: 26rem;
	margin-bottom: 2rem;
}

.sm-footer__heading {
	margin: 0 0 1.1rem;
	color: var(--color-surface);
	font-size: 1rem;
	font-weight: 500;
}

.sm-footer__heading--newsletter {
	margin-bottom: 0.85rem;
}

.sm-footer__menu {
	display: grid;
	gap: 0.7rem;
	list-style: none;
}

.sm-newsletter {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	max-width: 27rem;
	position: relative;
}

.sm-newsletter input[type="email"] {
	flex: 1 1 12rem;
	min-width: 0;
	min-height: var(--button-height);
	padding: 0.65rem 0.9rem;
	border: 1px solid var(--color-surface);
	border-radius: var(--radius-input);
	background: var(--color-surface);
	color: var(--color-heading);
	font-size: var(--text-small);
}

.sm-hours {
	display: grid;
	gap: 0.7rem;
}

.sm-hours__row {
	display: flex;
	justify-content: space-between;
	gap: 1rem;
}

.sm-hours__row dd {
	text-align: right;
	white-space: nowrap;
}

.sm-footer__bottom {
	padding-block: 1.25rem;
	border-top: 1px solid rgba(255, 255, 255, 0.18);
	font-size: var(--text-tiny);
	font-weight: 400;
}

.sm-footer__bottom p {
	margin: 0;
}

/* 13. Responsive ----------------------------------------------------------- */
@media (max-width: 1024px) {
	:root {
		--grid-gap: 1.5rem;
	}

	.sm-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.sm-why__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 2.5rem var(--grid-gap);
	}

	.sm-split__inner,
	.sm-split--stats .sm-split__inner {
		grid-template-columns: minmax(0, 1fr);
	}

	.sm-split--stats .sm-split__media {
		order: -1;
	}

	.sm-split__media {
		width: 100%;
		max-width: 40rem;
	}

	/* The headline spans more of the photo on narrow screens, so the overlay stays denser. */
	.sm-hero__overlay {
		background: linear-gradient(90deg, rgba(1, 49, 97, 0.86) 0%, rgba(1, 49, 97, 0.7) 100%);
	}

	.sm-property__layout {
		grid-template-columns: minmax(0, 1fr);
	}

	.sm-property__sidebar {
		position: static;
	}

	.sm-footer__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	/* Mobile navigation drawer */
	.sm-mainbar__inner {
		grid-template-columns: 1fr auto auto;
		min-height: 4.75rem;
	}

	.sm-mainbar__cta {
		order: 2;
	}

	.sm-nav-toggle {
		order: 3;
		display: grid;
		place-items: center;
		width: 3rem;
		height: 3rem;
		padding: 0;
		border: 1px solid var(--color-divider);
		background: var(--color-surface);
		cursor: pointer;
	}

	.js .sm-nav {
		position: fixed;
		top: 0;
		right: 0;
		bottom: 0;
		z-index: 200;
		display: flex;
		flex-direction: column;
		width: min(22rem, 88vw);
		padding: 1.25rem;
		background: var(--color-surface);
		overflow-y: auto;
		visibility: hidden;
		transform: translateX(100%);
		transition: transform 0.25s ease, visibility 0s linear 0.25s;
	}

	.js .sm-nav-open .sm-nav {
		visibility: visible;
		transform: translateX(0);
		transition: transform 0.25s ease;
	}

	.js .sm-nav__head {
		display: flex;
		align-items: center;
		justify-content: space-between;
		margin-bottom: 1rem;
	}

	.sm-nav__title {
		color: var(--color-heading);
		font-family: var(--font-display);
		font-weight: 600;
	}

	.sm-nav__close {
		display: grid;
		place-items: center;
		width: 3rem;
		height: 3rem;
		padding: 0;
		border: 0;
		background: transparent;
		cursor: pointer;
	}

	.js .sm-nav__cta {
		display: inline-flex;
		margin-top: 1.25rem;
	}

	.js .sm-nav-open .sm-nav-backdrop {
		position: fixed;
		inset: 0;
		z-index: 150;
		display: block;
		background: rgba(13, 27, 43, 0.5);
	}

	.sm-menu {
		flex-direction: column;
		align-items: stretch;
		gap: 0.25rem;
	}

	.sm-menu a {
		padding: 0.95rem 1rem;
	}

	.sm-menu .sub-menu {
		position: static;
		display: block;
		min-width: 0;
		padding: 0 0 0 1rem;
		border: 0;
	}

	/* Without JavaScript the menu simply stacks under the header bar. */
	html:not(.js) .sm-mainbar__inner {
		grid-template-columns: 1fr auto;
	}

	html:not(.js) .sm-nav-toggle {
		display: none;
	}

	html:not(.js) .sm-nav {
		grid-column: 1 / -1;
		justify-self: stretch;
		padding-bottom: 1rem;
	}
}

@media (max-width: 640px) {
	.sm-grid,
	.sm-why__grid,
	.sm-footer__grid,
	.sm-spec-columns,
	.sm-specs--two {
		grid-template-columns: minmax(0, 1fr);
	}

	.sm-utility__inner {
		flex-direction: column;
		align-items: flex-start;
		gap: 0.4rem;
		padding-block: 0.6rem;
	}

	.sm-mainbar__cta {
		display: none;
	}

	.sm-mainbar__inner {
		grid-template-columns: 1fr auto;
	}

	.sm-hero__actions .sm-button {
		width: 100%;
	}

	.sm-property__aside {
		align-items: flex-start;
	}

	.sm-property__actions {
		justify-content: flex-start;
	}

	.sm-panel {
		padding: 1.25rem;
	}

	.sm-embed--map {
		aspect-ratio: 4 / 3;
	}

	.sm-newsletter .sm-button {
		flex: 1 1 100%;
	}
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	*,
	*::before,
	*::after {
		transition-duration: 0.01ms !important;
		animation-duration: 0.01ms !important;
	}
}
