:root {
	--lre-red: #e40011;
	--lre-red-dark: #bb000e;
	--lre-ink: #1a1a1a;
	--lre-charcoal: #24292c;
	--lre-text: #3d3d3d;
	--lre-muted: #727272;
	--lre-line: #e1e1e1;
	--lre-surface: #f5f5f5;
	--lre-white: #ffffff;
	--lre-shell: 1240px;
	--lre-content: 820px;
	--lre-shadow: 0 18px 50px rgba(10, 16, 20, 0.1);
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	background: var(--lre-white);
	color: var(--lre-text);
	font-family: "Century Gothic", "Avenir Next", Avenir, "Helvetica Neue", Arial, sans-serif;
	font-size: 16px;
	line-height: 1.7;
	-webkit-font-smoothing: antialiased;
}

body.menu-is-open {
	overflow: hidden;
}

img {
	display: block;
	max-width: 100%;
	height: auto;
}

a {
	color: var(--lre-red);
	text-decoration-thickness: 1px;
	text-underline-offset: 0.2em;
}

a:hover {
	color: var(--lre-red-dark);
}

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

button,
input[type="button"],
input[type="submit"] {
	cursor: pointer;
}

:focus-visible {
	outline: 3px solid rgba(228, 0, 17, 0.42);
	outline-offset: 3px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	margin: 0 0 0.55em;
	color: var(--lre-ink);
	font-weight: 500;
	line-height: 1.15;
	letter-spacing: -0.025em;
}

h1 {
	font-size: clamp(2.6rem, 6vw, 5.4rem);
}

h2 {
	font-size: clamp(2rem, 4vw, 3.35rem);
}

h3 {
	font-size: clamp(1.3rem, 2vw, 1.7rem);
}

p {
	margin: 0 0 1.25em;
}

.shell {
	width: min(calc(100% - 48px), var(--lre-shell));
	margin-inline: auto;
}

.content-width {
	max-width: var(--lre-content);
}

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

.screen-reader-text:focus {
	top: 8px;
	left: 8px;
	z-index: 99999;
	display: block;
	width: auto;
	height: auto;
	clip: auto;
	padding: 12px 18px;
	background: var(--lre-white);
	color: var(--lre-ink);
	font-weight: 700;
}

.button,
.wp-block-button__link,
button[type="submit"],
input[type="submit"] {
	display: inline-flex;
	min-height: 52px;
	align-items: center;
	justify-content: center;
	padding: 0.8rem 1.5rem;
	border: 1px solid var(--lre-red);
	border-radius: 0;
	background: var(--lre-red);
	color: var(--lre-white);
	font-size: 0.82rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	line-height: 1.2;
	text-align: center;
	text-decoration: none;
	text-transform: uppercase;
	transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease;
}

.button:hover,
.wp-block-button__link:hover,
button[type="submit"]:hover,
input[type="submit"]:hover {
	border-color: var(--lre-red-dark);
	background: var(--lre-red-dark);
	color: var(--lre-white);
}

.button--small {
	min-height: 44px;
	padding-inline: 1.1rem;
	font-size: 0.72rem;
}

.button--light {
	border-color: var(--lre-white);
	background: var(--lre-white);
	color: var(--lre-ink);
}

.button--light:hover {
	border-color: var(--lre-ink);
	background: var(--lre-ink);
}

.button--outline-light {
	border-color: rgba(255, 255, 255, 0.72);
	background: transparent;
	color: var(--lre-white);
}

.button--outline-light:hover {
	border-color: var(--lre-white);
	background: var(--lre-white);
	color: var(--lre-ink);
}

.text-link {
	display: inline-flex;
	align-items: center;
	gap: 0.55rem;
	color: var(--lre-red);
	font-size: 0.82rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-decoration: none;
	text-transform: uppercase;
}

.text-link span {
	transition: transform 180ms ease;
}

.text-link:hover span {
	transform: translateX(4px);
}

.text-link--light {
	color: var(--lre-white);
}

.eyebrow {
	margin-bottom: 1rem;
	color: var(--lre-red);
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.16em;
	line-height: 1.4;
	text-transform: uppercase;
}

.eyebrow--light {
	color: var(--lre-white);
}

/* Header */
.site-header {
	position: relative;
	z-index: 100;
	border-bottom: 1px solid rgba(225, 225, 225, 0.72);
	background: rgba(255, 255, 255, 0.98);
}

.site-header__inner {
	display: flex;
	min-height: 86px;
	align-items: center;
	gap: 2rem;
}

.site-brand {
	flex: 0 0 auto;
}

.site-brand__logo {
	display: inline-flex;
	align-items: center;
	text-decoration: none;
}

.site-brand__logo img {
	display: block;
	width: auto;
	max-width: 215px;
	height: auto;
	max-height: 58px;
}

.site-brand__logo--footer img {
	max-width: 190px;
}

.site-brand__text {
	display: inline-flex;
	align-items: center;
	gap: 0.7rem;
	color: var(--lre-ink);
	font-size: 1rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-decoration: none;
	text-transform: uppercase;
}

.site-brand__mark {
	display: inline-grid;
	width: 42px;
	height: 42px;
	place-items: center;
	background: var(--lre-red);
	color: var(--lre-white);
	font-size: 1.45rem;
	font-weight: 500;
}

.custom-logo {
	width: auto;
	max-width: 220px;
	max-height: 64px;
}

.primary-navigation {
	margin-left: auto;
}

.primary-menu,
.primary-menu ul,
.footer-menu {
	margin: 0;
	padding: 0;
	list-style: none;
}

.primary-menu {
	display: flex;
	align-items: center;
	gap: clamp(0.8rem, 1.8vw, 1.65rem);
}

.primary-menu > li {
	position: relative;
}

.primary-menu a {
	display: block;
	padding-block: 1.9rem;
	color: var(--lre-ink);
	font-size: 0.79rem;
	font-weight: 600;
	letter-spacing: 0.035em;
	text-decoration: none;
}

.primary-menu > li > a::after {
	position: absolute;
	right: 0;
	bottom: 1.35rem;
	left: 0;
	height: 2px;
	background: var(--lre-red);
	content: "";
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 180ms ease;
}

.primary-menu > li:hover > a::after,
.primary-menu > li:focus-within > a::after,
.primary-menu > .current-menu-item > a::after,
.primary-menu > .current-menu-ancestor > a::after {
	transform: scaleX(1);
}

.primary-menu .sub-menu {
	position: absolute;
	top: calc(100% - 1px);
	left: -1rem;
	visibility: hidden;
	min-width: 230px;
	padding: 0.65rem 0;
	background: var(--lre-white);
	box-shadow: var(--lre-shadow);
	opacity: 0;
	transform: translateY(6px);
	transition: opacity 160ms ease, transform 160ms ease, visibility 160ms;
}

.primary-menu .sub-menu a {
	padding: 0.65rem 1.15rem;
}

.primary-menu li:hover > .sub-menu,
.primary-menu li:focus-within > .sub-menu {
	visibility: visible;
	opacity: 1;
	transform: translateY(0);
}

.menu-toggle {
	display: none;
	width: 46px;
	height: 42px;
	align-items: center;
	justify-content: center;
	flex-direction: column;
	gap: 5px;
	border: 0;
	background: transparent;
}

.menu-toggle > span:not(.screen-reader-text) {
	display: block;
	width: 24px;
	height: 2px;
	background: var(--lre-ink);
	transition: transform 180ms ease, opacity 180ms ease;
}

/* Hero */
.hero {
	position: relative;
	display: grid;
	min-height: min(720px, calc(100vh - 86px));
	align-items: center;
	overflow: hidden;
	background:
		linear-gradient(90deg, rgba(11, 17, 20, 0.78) 0%, rgba(11, 17, 20, 0.55) 45%, rgba(11, 17, 20, 0.08) 100%),
		url("../images/hero.webp") center / cover no-repeat;
	color: var(--lre-white);
}

.hero::after {
	position: absolute;
	right: -8vw;
	bottom: -24vw;
	width: min(52vw, 700px);
	height: min(52vw, 700px);
	border: 1px solid rgba(255, 255, 255, 0.2);
	border-radius: 50%;
	box-shadow: 0 0 0 72px rgba(255, 255, 255, 0.025), 0 0 0 144px rgba(255, 255, 255, 0.018);
	content: "";
}

.hero__content {
	position: relative;
	z-index: 1;
	padding-block: 7rem;
}

.hero h1 {
	max-width: 870px;
	color: var(--lre-white);
}

.hero__lead {
	max-width: 680px;
	margin-top: 1.5rem;
	color: rgba(255, 255, 255, 0.82);
	font-size: clamp(1.05rem, 1.8vw, 1.3rem);
}

.hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.85rem;
	margin-top: 2.2rem;
}

.property-search {
	position: relative;
	z-index: 2;
	margin-top: -42px;
}

.property-search__form {
	display: grid;
	grid-template-columns: 1fr auto;
	gap: 0;
	padding: 22px;
	background: var(--lre-white);
	box-shadow: var(--lre-shadow);
}

.property-search input[type="search"] {
	min-width: 0;
	min-height: 56px;
	padding: 0.75rem 1rem;
	border: 1px solid var(--lre-line);
	border-right: 0;
	border-radius: 0;
	background: var(--lre-white);
	color: var(--lre-ink);
}

/* Sections and cards */
.section {
	padding-block: clamp(4.5rem, 8vw, 7.5rem);
}

.section--muted {
	background: var(--lre-surface);
}

.section--dark {
	background: var(--lre-charcoal);
	color: rgba(255, 255, 255, 0.76);
}

.section--dark h2,
.section--dark h3 {
	color: var(--lre-white);
}

.split-intro {
	display: grid;
	grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
	gap: clamp(2rem, 7vw, 7rem);
	align-items: start;
}

.prose {
	font-size: 1.08rem;
}

.section-heading {
	display: flex;
	align-items: end;
	justify-content: space-between;
	gap: 2rem;
	margin-bottom: 2.5rem;
}

.section-heading h2 {
	margin-bottom: 0;
}

.section-heading--center {
	justify-content: center;
	text-align: center;
}

.card-grid {
	display: grid;
	gap: 1.5rem;
}

.card-grid--three {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.content-card {
	min-width: 0;
	background: var(--lre-white);
	box-shadow: 0 8px 30px rgba(10, 16, 20, 0.06);
	transition: box-shadow 200ms ease, transform 200ms ease;
}

.content-card:hover {
	box-shadow: var(--lre-shadow);
	transform: translateY(-4px);
}

.content-card__image {
	display: block;
	overflow: hidden;
	background: #d9dddf;
	aspect-ratio: 4 / 3;
}

.content-card__image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 450ms ease;
}

.content-card:hover .content-card__image img {
	transform: scale(1.035);
}

.content-card__placeholder {
	display: grid;
	width: 100%;
	height: 100%;
	place-items: center;
	background: linear-gradient(135deg, #29373d, #151a1d);
	color: rgba(255, 255, 255, 0.2);
	font-size: 5rem;
}

.content-card__body {
	padding: 1.55rem;
}

.content-card__meta {
	margin-bottom: 0.65rem;
	color: var(--lre-red);
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.11em;
	text-transform: uppercase;
}

.content-card__title {
	margin-bottom: 0.75rem;
	font-size: 1.22rem;
}

.content-card__title a {
	color: inherit;
	text-decoration: none;
}

.content-card__excerpt {
	color: var(--lre-muted);
	font-size: 0.92rem;
}

.content-card__excerpt p {
	margin-bottom: 1rem;
}

.property-features {
	display: flex;
	flex-wrap: wrap;
	gap: 0.45rem 1rem;
	margin: 0 0 1rem;
	padding: 0;
	color: var(--lre-muted);
	font-size: 0.84rem;
	list-style: none;
}

.card-grid--dark .content-card {
	background: #30373b;
	box-shadow: none;
}

.card-grid--dark .content-card__title,
.card-grid--dark .content-card__title a {
	color: var(--lre-white);
}

.card-grid--dark .content-card__excerpt {
	color: rgba(255, 255, 255, 0.66);
}

.service-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	border-top: 1px solid var(--lre-line);
	border-left: 1px solid var(--lre-line);
}

.service-card {
	position: relative;
	min-height: 330px;
	padding: clamp(1.5rem, 4vw, 3rem);
	border-right: 1px solid var(--lre-line);
	border-bottom: 1px solid var(--lre-line);
}

.service-card__number {
	display: block;
	margin-bottom: 3.5rem;
	color: var(--lre-red);
	font-size: 0.76rem;
	font-weight: 700;
	letter-spacing: 0.12em;
}

.service-card p {
	color: var(--lre-muted);
}

.feed-preview__card p:last-child {
	margin-bottom: 0;
	color: var(--lre-muted);
	font-size: 0.9rem;
}

.value-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	border-top: 1px solid rgba(255, 255, 255, 0.14);
	border-left: 1px solid rgba(255, 255, 255, 0.14);
}

.value-grid article {
	min-height: 260px;
	padding: clamp(1.4rem, 3vw, 2.4rem);
	border-right: 1px solid rgba(255, 255, 255, 0.14);
	border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.value-grid article > span {
	display: block;
	margin-bottom: 3.2rem;
	color: var(--lre-red);
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.12em;
}

.value-grid p {
	margin-bottom: 0;
	color: rgba(255, 255, 255, 0.68);
}

.feature-split__grid {
	display: grid;
	grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
	align-items: stretch;
	min-height: 500px;
}

.feature-split__image {
	min-height: 420px;
	overflow: hidden;
}

.feature-split__image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.feature-split__content {
	display: flex;
	align-items: flex-start;
	justify-content: center;
	flex-direction: column;
	padding: clamp(2rem, 6vw, 5.5rem);
	background: var(--lre-white);
}

.feature-split--reverse .feature-split__image {
	order: 2;
}

.feature-split--reverse .feature-split__content {
	order: 1;
}

.feature-split__content .button {
	margin-top: 0.75rem;
}

.appraisal-layout,
.contact-layout {
	display: grid;
	grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
	gap: clamp(2.5rem, 7vw, 7rem);
	align-items: start;
}

.appraisal-layout__intro,
.contact-card {
	position: sticky;
	top: 2rem;
}

.appraisal-layout__intro h2,
.contact-card h2 {
	font-size: clamp(2rem, 3.2vw, 3rem);
}

.tick-list {
	display: grid;
	gap: 0.7rem;
	margin: 2rem 0 0;
	padding: 0;
	list-style: none;
}

.tick-list li {
	position: relative;
	padding-left: 1.65rem;
}

.tick-list li::before {
	position: absolute;
	top: 0.48em;
	left: 0;
	width: 0.65rem;
	height: 0.65rem;
	background: var(--lre-red);
	content: "";
}

.contact-card {
	padding: clamp(1.5rem, 4vw, 3rem);
	background: var(--lre-charcoal);
	color: rgba(255, 255, 255, 0.74);
}

.contact-card h2,
.contact-card a {
	color: var(--lre-white);
}

.contact-card address {
	font-style: normal;
}

.appraisal-layout__form .lre-form,
.contact-layout__form .lre-form {
	margin-top: 0;
}

/* Inner pages */
.page-hero {
	display: grid;
	min-height: 390px;
	align-items: end;
	background: linear-gradient(115deg, #171e21, #303a3f);
	color: var(--lre-white);
	background-position: center;
	background-size: cover;
}

.page-hero__inner {
	padding-block: 5rem;
}

.page-hero h1 {
	max-width: 950px;
	margin: 0;
	color: var(--lre-white);
}

.archive-description {
	max-width: 700px;
	margin-top: 1.2rem;
	color: rgba(255, 255, 255, 0.76);
}

.single-header {
	padding: clamp(4.5rem, 8vw, 7rem) 0 2.5rem;
}

.single-header h1 {
	font-size: clamp(2.4rem, 5vw, 4.5rem);
}

.entry-meta {
	color: var(--lre-muted);
}

.single-featured-image {
	max-width: 1180px;
}

.single-featured-image img {
	width: 100%;
	max-height: 720px;
	object-fit: cover;
}

.section--single {
	padding-top: 3.5rem;
}

.entry-content > *:first-child {
	margin-top: 0;
}

.entry-content > *:last-child {
	margin-bottom: 0;
}

.entry-content h2,
.entry-content h3,
.entry-content h4 {
	margin-top: 1.6em;
}

.entry-content blockquote {
	margin: 2rem 0;
	padding: 1.5rem 2rem;
	border-left: 4px solid var(--lre-red);
	background: var(--lre-surface);
	color: var(--lre-ink);
	font-size: 1.15rem;
}

.entry-content img,
.entry-content .wp-block-image {
	max-width: 100%;
}

.lre-contact-details {
	margin-block: 2.5rem;
}

.lre-contact-map {
	margin-top: 1.5rem;
	overflow: hidden;
	border-radius: 8px;
	background: var(--lre-surface);
}

.lre-contact-map iframe {
	display: block;
	width: 100%;
	height: clamp(320px, 48vw, 480px);
	border: 0;
}

.alignwide {
	width: min(1100px, calc(100vw - 48px));
	max-width: none;
	margin-left: 50%;
	transform: translateX(-50%);
}

.alignfull {
	width: 100vw;
	max-width: none;
	margin-left: 50%;
	transform: translateX(-50%);
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="url"],
input[type="search"],
input[type="number"],
select,
textarea {
	width: 100%;
	min-height: 50px;
	padding: 0.7rem 0.85rem;
	border: 1px solid #cdd1d3;
	border-radius: 0;
	background: var(--lre-white);
	color: var(--lre-ink);
}

textarea {
	min-height: 150px;
	resize: vertical;
}

/* First-party forms supplied by the LRE site-core plugin. */
.lre-form {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1.15rem 1.4rem;
	margin-top: 2rem;
	padding: clamp(1.4rem, 4vw, 3rem);
	background: var(--lre-surface);
}

.lre-form__field {
	min-width: 0;
}

.lre-form__field--full,
.lre-form__actions,
.lre-form__notice,
.lre-form__consent {
	grid-column: 1 / -1;
}

.lre-form label {
	display: block;
	margin-bottom: 0.35rem;
	color: var(--lre-ink);
	font-size: 0.82rem;
	font-weight: 700;
}

.lre-form .required {
	color: var(--lre-red);
}

.lre-form__consent label {
	display: flex;
	align-items: flex-start;
	gap: 0.6rem;
	font-weight: 400;
}

.lre-form__consent input {
	margin-top: 0.38rem;
}

.lre-form__notice {
	padding: 0.9rem 1rem;
	border-left: 4px solid var(--lre-red);
	background: var(--lre-white);
}

.lre-form__notice--success {
	border-left-color: #17834b;
}

.lre-faq-list {
	display: grid;
	gap: 0.75rem;
	margin-top: 2rem;
}

.lre-faq-list details {
	border: 1px solid var(--lre-line);
	background: var(--lre-white);
}

.lre-faq-list summary {
	padding: 1.1rem 3rem 1.1rem 1.2rem;
	color: var(--lre-ink);
	font-weight: 700;
	cursor: pointer;
}

.lre-faq-list__answer {
	padding: 0 1.2rem 1.2rem;
}

.search-form {
	display: flex;
	max-width: 720px;
	margin-bottom: 2.5rem;
}

.search-form label {
	flex: 1;
}

.search-results-grid {
	margin-top: 2rem;
}

.navigation.pagination {
	margin-top: 3rem;
}

.nav-links {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	align-items: center;
}

.page-numbers {
	display: inline-grid;
	min-width: 42px;
	height: 42px;
	place-items: center;
	padding-inline: 0.6rem;
	border: 1px solid var(--lre-line);
	background: var(--lre-white);
	color: var(--lre-ink);
	text-decoration: none;
}

.page-numbers.current,
.page-numbers:hover {
	border-color: var(--lre-red);
	background: var(--lre-red);
	color: var(--lre-white);
}

.post-navigation {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 2rem;
	padding-bottom: 5rem;
	border-top: 1px solid var(--lre-line);
	padding-top: 2rem;
}

.post-navigation > div:last-child {
	text-align: right;
}

.not-found {
	min-height: 70vh;
	padding-block: clamp(6rem, 12vw, 10rem);
	text-align: center;
}

.not-found .search-form {
	margin-inline: auto;
}

.no-results {
	padding: 2rem;
	background: var(--lre-white);
}

/* Footer */
.footer-cta {
	padding-block: 3.5rem;
	background: var(--lre-red);
	color: var(--lre-white);
}

.footer-cta__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 2rem;
}

.footer-cta h2,
.footer-cta .eyebrow {
	margin-bottom: 0;
	color: var(--lre-white);
}

.site-footer {
	padding-top: 5rem;
	background: #13181b;
	color: rgba(255, 255, 255, 0.68);
}

.site-footer a {
	color: var(--lre-white);
}

.site-footer__grid {
	display: grid;
	grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.7fr) minmax(0, 1fr);
	gap: clamp(2rem, 7vw, 7rem);
}

.site-brand__text--footer {
	margin-bottom: 1.5rem;
	color: var(--lre-white);
}

.site-footer__heading {
	margin-bottom: 1.25rem;
	color: var(--lre-white);
	font-size: 1rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.footer-menu li + li {
	margin-top: 0.5rem;
}

.footer-menu a {
	text-decoration: none;
}

.site-footer address {
	font-style: normal;
}

.site-footer__legal {
	display: flex;
	justify-content: space-between;
	gap: 2rem;
	margin-top: 4rem;
	padding-block: 1.4rem;
	border-top: 1px solid rgba(255, 255, 255, 0.11);
	font-size: 0.78rem;
}

.site-footer__legal p {
	margin: 0;
}

@media (max-width: 1100px) {
	.site-header__cta {
		display: none;
	}

	.primary-menu {
		gap: 1rem;
	}
}

@media (max-width: 920px) {
	.site-header__inner {
		min-height: 76px;
	}

	.menu-toggle {
		display: flex;
		margin-left: auto;
	}

	.menu-toggle[aria-expanded="true"] > span:nth-of-type(2) {
		transform: translateY(7px) rotate(45deg);
	}

	.menu-toggle[aria-expanded="true"] > span:nth-of-type(3) {
		opacity: 0;
	}

	.menu-toggle[aria-expanded="true"] > span:nth-of-type(4) {
		transform: translateY(-7px) rotate(-45deg);
	}

	.primary-navigation {
		position: fixed;
		top: 76px;
		right: 0;
		bottom: 0;
		left: 0;
		display: none;
		overflow-y: auto;
		padding: 1.5rem 24px 3rem;
		background: var(--lre-white);
	}

	.primary-navigation.is-open {
		display: block;
	}

	.primary-menu {
		display: block;
	}

	.primary-menu a {
		padding: 0.8rem 0;
		border-bottom: 1px solid var(--lre-line);
		font-size: 1rem;
	}

	.primary-menu > li > a::after {
		display: none;
	}

	.primary-menu .sub-menu {
		position: static;
		visibility: visible;
		padding: 0 0 0 1.25rem;
		box-shadow: none;
		opacity: 1;
		transform: none;
	}

	.primary-menu .sub-menu a {
		padding: 0.65rem 0;
		font-size: 0.9rem;
	}

	.hero {
		min-height: 620px;
	}

	.split-intro,
	.site-footer__grid {
		grid-template-columns: 1fr;
		gap: 2rem;
	}

	.card-grid--three,
	.service-grid,
	.value-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.feature-split__grid {
		grid-template-columns: 1fr;
	}

	.appraisal-layout,
	.contact-layout {
		grid-template-columns: 1fr;
	}

	.appraisal-layout__intro,
	.contact-card {
		position: static;
	}

	.feature-split--reverse .feature-split__image,
	.feature-split--reverse .feature-split__content {
		order: initial;
	}

	.footer-cta__inner {
		align-items: flex-start;
		flex-direction: column;
	}
}

@media (max-width: 640px) {
	.shell {
		width: min(calc(100% - 32px), var(--lre-shell));
	}

	h1 {
		font-size: clamp(2.35rem, 12vw, 3.5rem);
	}

	h2 {
		font-size: clamp(1.85rem, 9vw, 2.5rem);
	}

	.site-brand__text > span:last-child {
		display: none;
	}

	.custom-logo {
		max-width: 165px;
		max-height: 54px;
	}

	.hero__content {
		padding-block: 5rem 7rem;
	}

	.hero::after {
		display: none;
	}

	.property-search {
		margin-top: -28px;
	}

	.property-search__form {
		grid-template-columns: 1fr;
		padding: 14px;
	}

	.property-search input[type="search"] {
		border-right: 1px solid var(--lre-line);
		border-bottom: 0;
	}

	.section-heading {
		align-items: flex-start;
		flex-direction: column;
	}

	.card-grid--three,
	.service-grid,
	.value-grid,
	.lre-form {
		grid-template-columns: 1fr;
	}

	.lre-form__field--full,
	.lre-form__actions,
	.lre-form__notice,
	.lre-form__consent {
		grid-column: auto;
	}

	.service-card {
		min-height: auto;
	}

	.service-card__number {
		margin-bottom: 2rem;
	}

	.page-hero {
		min-height: 320px;
	}

	.search-form {
		flex-direction: column;
	}

	.post-navigation,
	.site-footer__legal {
		grid-template-columns: 1fr;
		flex-direction: column;
	}

	.post-navigation > div:last-child {
		text-align: left;
	}
}

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

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