/* ==========================================================================
   Prime Horse Property: main stylesheet
   Colors and sizes match the live site (Nov 2026); fonts are free
   replacements (Nunito Sans for Avenir, Playfair Display kept).
   ========================================================================== */

/* ---------- Fonts (self-hosted, SIL Open Font License) ---------- */
@font-face { font-family: "Nunito Sans"; src: url(../fonts/nunito-sans-latin-400-normal.woff2) format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Nunito Sans"; src: url(../fonts/nunito-sans-latin-400-italic.woff2) format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Nunito Sans"; src: url(../fonts/nunito-sans-latin-600-normal.woff2) format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Nunito Sans"; src: url(../fonts/nunito-sans-latin-700-normal.woff2) format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Nunito Sans"; src: url(../fonts/nunito-sans-latin-800-normal.woff2) format("woff2"); font-weight: 800; font-style: normal; font-display: swap; }
@font-face { font-family: "Playfair Display"; src: url(../fonts/playfair-display-latin-400-normal.woff2) format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Playfair Display"; src: url(../fonts/playfair-display-latin-400-italic.woff2) format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Playfair Display"; src: url(../fonts/playfair-display-latin-700-italic.woff2) format("woff2"); font-weight: 700; font-style: italic; font-display: swap; }

/* ---------- Design tokens ---------- */
:root {
	--olive: #4c4736;          /* brand dark olive-brown */
	--olive-2: #605b4c;        /* footer contact band */
	--olive-line: #746f5e;     /* outline text on olive */
	--ink: #3a3a3a;            /* body text */
	--ink-2: #433838;
	--muted: #676767;
	--gray: #c2c1c1;           /* hover / lines */
	--gray-2: #a2a19e;
	--wm: #e4e4e4;             /* outline text on white */
	--sky: #a1d7f3;            /* titles on olive */
	--blue: #4f93ca;           /* small labels, links */
	--night: #131008;
	--white: #fff;
	--sans: "Nunito Sans", "Avenir Next", Avenir, "Segoe UI", Helvetica, Arial, sans-serif;
	--serif: "Playfair Display", Georgia, "Times New Roman", serif;
	--container: 1140px;
	--gutter: 20px;
	--header-h: 110px;
	--ease: .3s ease-in-out;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 90px; }
html { overflow-x: hidden; }
@supports (overflow: clip) { html { overflow-x: clip; } }
body { margin: 0; font-family: var(--sans); font-size: 16px; line-height: 1.7; color: var(--ink); background: var(--white); }
.phpt-main, .phpt-footer { overflow-x: clip; }
img, video, svg { max-width: 100%; height: auto; }
img { vertical-align: middle; }
a { color: var(--blue); text-decoration: none; transition: color var(--ease), background-color var(--ease), border-color var(--ease), opacity var(--ease); }
a:hover { color: var(--olive); }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }
h1, h2, h3, h4, h5, h6 { font-family: var(--sans); font-weight: 800; color: var(--ink); line-height: 1.2; margin: 1.4em 0 .6em; }
h1 { font-size: clamp(28px, 3.4vw, 42px); }
h2 { font-size: clamp(24px, 2.6vw, 32px); }
h3 { font-size: clamp(20px, 2vw, 24px); }
h4 { font-size: 18px; }
p, ul, ol, blockquote, table, figure { margin: 0 0 1.2em; }
blockquote { border-left: 3px solid var(--olive); padding: .2em 0 .2em 1.2em; font-family: var(--serif); font-style: italic; font-size: 1.15em; }
table { border-collapse: collapse; width: 100%; }
th, td { border-bottom: 1px solid #e6e6e6; padding: .6em .8em; text-align: left; vertical-align: top; }
hr { border: 0; border-top: 1px solid #e6e6e6; margin: 2em 0; }
iframe { max-width: 100%; }

.screen-reader-text { border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute !important; width: 1px; word-wrap: normal !important; }
.skip-link:focus { clip: auto; clip-path: none; height: auto; width: auto; left: 10px; top: 10px; z-index: 100000; background: var(--white); color: var(--ink); padding: 12px 18px; font-weight: 700; }

.phpt-container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.phpt-icon { width: 1em; height: 1em; display: inline-block; vertical-align: -.125em; }

/* Buttons: thin outlined rectangles, like the live site */
.phpt-btn, .wpcf7-submit, .phpt-searchform button {
	display: inline-flex; align-items: center; justify-content: center; gap: .5em;
	min-width: 156px; min-height: 40px; padding: 8px 22px;
	font-family: var(--sans); font-weight: 800; font-size: 14px; letter-spacing: .02em;
	color: var(--olive); background: transparent; border: 1px solid var(--olive); border-radius: 0; cursor: pointer;
	transition: color var(--ease), border-color var(--ease), background-color var(--ease);
}
.phpt-btn:hover, .phpt-btn:focus-visible, .wpcf7-submit:hover, .phpt-searchform button:hover { color: var(--white); background: var(--olive); border-color: var(--olive); }
.phpt-btn--light { color: var(--white); border-color: var(--white); }
.phpt-btn--light:hover { color: var(--olive); background: var(--white); border-color: var(--white); }
.phpt-btn--small { min-width: 0; min-height: 34px; padding: 6px 16px; font-size: 13px; }

/* Section titles with large outline "watermark" words behind them */
.phpt-title { position: relative; margin: 0 0 clamp(30px, 4vw, 55px); }
.phpt-title__text { position: relative; z-index: 1; margin: 0; font-weight: 800; font-size: clamp(32px, 4.6vw, 58px); line-height: 1.1; text-transform: uppercase; color: var(--ink); }
.phpt-light { font-weight: 400; }
.phpt-title__watermark {
	position: absolute; z-index: 0; left: -0.06em; bottom: -0.12em;
	font-weight: 800; font-size: clamp(56px, 11vw, 150px); line-height: 1; text-transform: uppercase; white-space: nowrap;
	color: transparent; -webkit-text-stroke: 1px var(--wm); pointer-events: none; user-select: none;
}
.phpt-title--center { text-align: center; }
.phpt-title--center .phpt-title__watermark { left: 50%; transform: translateX(-50%); }
.phpt-title--on-dark .phpt-title__text { color: var(--sky); }
.phpt-title--on-dark .phpt-title__watermark { -webkit-text-stroke-color: var(--olive-line); }
.phpt-kicker { display: block; font-weight: 800; font-size: 14px; letter-spacing: .04em; color: var(--blue); text-transform: uppercase; margin-bottom: 2px; position: relative; z-index: 1; }

/* Scroll-in animation (only when JS is on and motion is OK) */
.phpt-js .phpt-reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .8s ease; }
.phpt-js .phpt-reveal.is-visible { opacity: 1; transform: none; }
.phpt-js .phpt-reveal { transition-delay: var(--phpt-delay, 0s); }
.phpt-js .phpt-reveal--from-left { transform: translateX(-90px); transition-duration: 1.1s; }
.phpt-js .phpt-reveal--from-right { transform: translateX(90px); transition-duration: 1.1s; }
.phpt-js .phpt-reveal--up { transform: translateY(60px); transition-duration: .9s; }
.phpt-js .phpt-reveal--fade { transform: none; transition-duration: 1.2s; }
@media (prefers-reduced-motion: reduce) {
	.phpt-js .phpt-reveal { opacity: 1; transform: none; transition: none; }
	*, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* ==========================================================================
   Header
   ========================================================================== */
.phpt-header { position: relative; z-index: 1000; width: 100%; color: var(--white); background: var(--olive); }
.phpt-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 64px; }
.phpt-header__brand { flex: 0 0 auto; display: flex; align-items: center; }
.phpt-logo img { display: block; height: auto; }
.phpt-logo--main img { width: 269px; max-width: 46vw; }
.phpt-logo--small img { width: 174px; max-width: 42vw; }
.phpt-logo--small { display: none; }
.phpt-header__tools { display: none; align-items: center; gap: 6px; }
.phpt-header__icon { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; color: var(--white); font-size: 20px; }
.phpt-header__icon:hover { color: var(--gray); }

/* Desktop menu */
.phpt-menu, .phpt-menu ul { list-style: none; margin: 0; padding: 0; }
.phpt-menu { display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; }
.phpt-menu > li { position: relative; padding: 0 19px; display: flex; align-items: center; }
.phpt-menu > li:last-child { padding-right: 0; }
.phpt-menu a { display: block; color: var(--white); font-weight: 700; font-size: 12.5px; letter-spacing: .03em; text-transform: uppercase; }
.phpt-menu > li > a { padding: 10px 0; }
.phpt-menu > li:hover > a, .phpt-menu > li:focus-within > a, .phpt-menu > li.current-menu-item > a, .phpt-menu > li.current-menu-ancestor > a { color: var(--gray); }
.phpt-sub-toggle { display: inline-flex; align-items: center; justify-content: center; background: none; border: 0; color: inherit; padding: 4px; margin-left: 2px; cursor: pointer; font-size: 14px; line-height: 1; }
.phpt-sub-toggle .phpt-icon { transition: transform var(--ease); }
.phpt-sub-toggle[aria-expanded="true"] .phpt-icon { transform: rotate(180deg); }
.phpt-menu .sub-menu {
	position: absolute; top: 100%; left: 50%; width: 240px; margin-left: -120px; padding-top: 18px; text-align: center;
	opacity: 0; visibility: hidden; transform: translateY(14px); transition: opacity var(--ease), transform var(--ease), visibility var(--ease); z-index: 10;
}
.phpt-menu .sub-menu .sub-menu { top: 0; left: 100%; margin-left: 0; padding-top: 0; }
.phpt-menu li:hover > .sub-menu, .phpt-menu li:focus-within > .sub-menu, .phpt-menu li.is-open > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.phpt-menu .sub-menu li { display: block; margin-top: 1px; position: relative; }
.phpt-menu .sub-menu a { background: rgba(255, 255, 255, .92); color: #1d272e; padding: 12px 14px; text-transform: none; font-size: 14px; font-weight: 600; letter-spacing: 0; }
.phpt-menu .sub-menu li:hover > a, .phpt-menu .sub-menu a:focus-visible, .phpt-menu .sub-menu .current-menu-item > a { background: var(--ink); color: var(--white); }
.phpt-menu .sub-menu .phpt-sub-toggle { display: none; }
.phpt-menu-toggle { display: none; }
.phpt-menu-missing a { color: var(--white); text-decoration: underline; }

/* Over a photo (homepage + pages with a banner): header floats on top */
@media (min-width: 992px) {
	.phpt-overlay-header .phpt-header { position: absolute; top: 0; left: 0; right: 0; background: transparent; padding: 28px 0; }
	.admin-bar.phpt-overlay-header .phpt-header { top: 32px; }
	.phpt-solid-header .phpt-header { position: sticky; top: 0; padding: 10px 0; }
	.admin-bar.phpt-solid-header .phpt-header { top: 32px; }
	.phpt-solid-header .phpt-logo--main { display: none; }
	.phpt-solid-header .phpt-logo--small { display: block; }

	/* After scrolling down: slim olive bar with the small logo */
	.phpt-header.is-stuck { position: fixed !important; top: 0; left: 0; right: 0; background: var(--olive) !important; padding: 10px 0 !important; box-shadow: 0 2px 2px rgba(0, 0, 0, .15); animation: phpt-slide .3s ease-out; }
	.admin-bar .phpt-header.is-stuck { top: 32px; }
	.phpt-header.is-stuck .phpt-logo--main { display: none; }
	.phpt-header.is-stuck .phpt-logo--small { display: block; }
	.phpt-header__inner { flex-wrap: nowrap; }
	.phpt-nav { flex: 1 1 auto; }
}
@keyframes phpt-slide { from { transform: translateY(-100%); } to { transform: none; } }

/* Phones and tablets: olive bar, small logo, Menu button */
@media (max-width: 991.98px) {
	.phpt-header { position: sticky; top: 0; padding: 6px 0; }
	.admin-bar .phpt-header { top: 46px; }
	.phpt-logo--main { display: none; }
	.phpt-logo--small { display: block; }
	.phpt-header__tools { display: flex; margin-left: auto; }
	.phpt-header__icon { width: 40px; height: 40px; font-size: 19px; }
	.phpt-logo--small img { max-width: 38vw; }
	.phpt-header__inner { flex-wrap: wrap; gap: 0; }
	.phpt-menu-toggle { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 6px 10px; margin-left: 4px; color: var(--white); background: transparent; border: 1px solid rgba(255, 255, 255, .5); font-family: var(--sans); font-weight: 800; font-size: 13px; text-transform: uppercase; letter-spacing: .04em; cursor: pointer; }
	.phpt-menu-toggle .phpt-icon { font-size: 20px; }
	.phpt-menu-toggle__close, .phpt-menu-open .phpt-menu-toggle__open { display: none; }
	.phpt-menu-open .phpt-menu-toggle__close { display: inline-flex; }
	.phpt-nav { display: none; flex: 1 1 100%; max-height: calc(100vh - 70px); overflow-y: auto; border-top: 1px solid rgba(255, 255, 255, .15); margin-top: 6px; }
	.phpt-menu-open .phpt-nav { display: block; }
	.phpt-menu { display: block; padding: 6px 0 14px; }
	.phpt-menu > li { display: flex; flex-wrap: wrap; padding: 0; border-bottom: 1px solid rgba(255, 255, 255, .08); }
	.phpt-menu > li > a { flex: 1 1 auto; padding: 13px 0; font-size: 14px; }
	.phpt-sub-toggle { width: 44px; height: 44px; font-size: 18px; }
	.phpt-menu .sub-menu { position: static; width: 100%; margin: 0; padding: 0 0 8px 14px; text-align: left; opacity: 1; visibility: visible; transform: none; display: none; }
	.phpt-menu li.is-open > .sub-menu { display: block; }
	.phpt-menu li:hover > .sub-menu, .phpt-menu li:focus-within > .sub-menu { display: none; }
	.phpt-menu li.is-open:hover > .sub-menu, .phpt-menu li.is-open:focus-within > .sub-menu { display: block; }
	.phpt-menu .sub-menu a { background: transparent; color: #e9e7e1; padding: 10px 0; font-size: 15px; }
	.phpt-menu .sub-menu li:hover > a, .phpt-menu .sub-menu a:focus-visible { background: transparent; color: var(--white); }
}
@media (max-width: 782px) { .admin-bar .phpt-header { top: 46px; } }
@media (max-width: 359.98px) { .phpt-menu-toggle__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); } }
@media (max-width: 600px) { .admin-bar .phpt-header { top: 0; } }

/* ==========================================================================
   Inner-page banner + breadcrumbs
   ========================================================================== */
.phpt-banner {
	position: relative;
	min-height: clamp(200px, 22vw, 360px);
	background-color: #5d5849; background-image: var(--phpt-banner); background-size: cover; background-position: center;
}
/* Photo only: no text and no dark tint. A soft shade at the very top keeps the
   white menu readable where the header sits over the photo (desktop). */
@media (min-width: 992px) {
	.phpt-overlay-header .phpt-banner { min-height: calc(clamp(200px, 22vw, 360px) + var(--header-h)); }
	.phpt-overlay-header .phpt-banner::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: calc(var(--header-h) + 40px); background: linear-gradient(to bottom, rgba(0, 0, 0, .45), rgba(0, 0, 0, 0)); }
}
.phpt-page-head { padding-top: clamp(28px, 4vw, 48px); }
.phpt-page-title { margin: 0; color: var(--olive); font-weight: 800; font-size: clamp(24px, 3vw, 34px); line-height: 1.3; letter-spacing: .04em; text-transform: uppercase; }
.phpt-page-title__sub { display: block; font-weight: 400; font-size: .62em; letter-spacing: .01em; text-transform: none; margin-top: .35em; color: var(--ink); }
.phpt-page-head + .phpt-content, .phpt-page-head + * .phpt-content { padding-top: 22px; }
.phpt-breadcrumbs { background: #f6f5f2; border-bottom: 1px solid #ecebe6; font-size: 13px; color: var(--muted); padding: 10px 0; }
.phpt-breadcrumbs a { color: var(--olive); }

/* ==========================================================================
   Page content
   ========================================================================== */
.phpt-content { padding-top: clamp(36px, 5vw, 60px); padding-bottom: clamp(50px, 6vw, 80px); }
.phpt-entry__content > :first-child { margin-top: 0; }
.phpt-entry__content a { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 2px; }
.phpt-entry__content a.phpt-btn, .phpt-entry__content .phpt-roadmap a { text-decoration: none; }
.phpt-entry__content h2 { color: var(--olive); }
.phpt-entry__content img { height: auto; }
.phpt-entry__meta { color: var(--muted); font-size: 14px; }
.phpt-lead { font-size: 1.15em; }
.phpt-content--listing { padding-top: 30px; }
.aligncenter { display: block; margin-left: auto; margin-right: auto; }
.alignleft { float: left; margin: .3em 1.5em 1em 0; }
.alignright { float: right; margin: .3em 0 1em 1.5em; }
.wp-caption { max-width: 100%; }
.wp-caption-text, figcaption { font-size: 13px; color: var(--muted); margin-top: .4em; }
.text-center { text-align: center; }
.phpt-entry__content iframe[src*="youtube"], .phpt-entry__content iframe[src*="vimeo"] { aspect-ratio: 16 / 9; width: 100%; height: auto; max-width: 760px; }

/* Grid classes used inside existing page content (city link lists etc.) */
.phpt-entry__content .row { display: flex; flex-wrap: wrap; margin: 0 -12px 1.2em; }
.phpt-entry__content .row > [class*="col-"] { width: 100%; padding: 0 12px; }
@media (min-width: 576px) { .phpt-entry__content .row > .col-sm-6, .phpt-entry__content .row > .col-md-4, .phpt-entry__content .row > .col-md-3 { width: 50%; } }
@media (min-width: 768px) {
	.phpt-entry__content .row > .col-md-3 { width: 25%; }
	.phpt-entry__content .row > .col-md-4 { width: 33.333%; }
	.phpt-entry__content .row > .col-md-5 { width: 41.666%; }
	.phpt-entry__content .row > .col-md-6 { width: 50%; }
	.phpt-entry__content .row > .col-md-7 { width: 58.333%; }
	.phpt-entry__content .row > .col-md-8 { width: 66.666%; }
}
.phpt-entry__content .row > [class*="col-"] > a { display: block; padding: 4px 0; }

/* Guide step navigation ([Buyer] [Seller] [Financing]) */
.phpt-roadmap { background: #f6f5f2; border-left: 3px solid var(--olive); padding: 18px 22px; margin: 0 0 2em; }
.phpt-roadmap__title { margin: 0 0 .5em; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; font-size: 14px; }
.phpt-roadmap__title a { color: var(--olive); }
.phpt-roadmap__steps { margin: 0; padding-left: 1.4em; columns: 2 240px; column-gap: 30px; }
.phpt-roadmap__step { break-inside: avoid; padding: 2px 0; }
.phpt-roadmap__step a { color: var(--ink); }
.phpt-roadmap__step a:hover { color: var(--blue); }
.phpt-roadmap__step.is-current a { color: var(--olive); font-weight: 800; }

/* Testimonials */
.phpt-testimonials { display: grid; gap: 28px; }
.phpt-testimonial { display: grid; grid-template-columns: auto 1fr; gap: 0 22px; padding: 26px 28px; background: #f6f5f2; border-left: 3px solid var(--olive); }
.phpt-testimonial__photo img { width: 90px; height: 90px; object-fit: cover; border-radius: 50%; }
.phpt-testimonial__title, .phpt-testimonial__text { grid-column: 2; }
.phpt-testimonial:not(:has(.phpt-testimonial__photo)) .phpt-testimonial__title, .phpt-testimonial:not(:has(.phpt-testimonial__photo)) .phpt-testimonial__text { grid-column: 1 / -1; }
.phpt-testimonial__title { margin: 0 0 .5em; font-size: 18px; color: var(--olive); }
.phpt-testimonial__text { margin: 0; border: 0; padding: 0; font-family: var(--sans); font-style: normal; font-size: 16px; }
.phpt-testimonial__text p:last-child { margin-bottom: 0; }

/* Lists of items (archives, search): H2 per item */
.phpt-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 30px; }
.phpt-card { display: flex; flex-direction: column; border: 1px solid #ecebe6; background: var(--white); }
.phpt-card__photo img { display: block; width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.phpt-card__body { padding: 20px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.phpt-card__title { margin: 0 0 .4em; font-size: 22px; }
.phpt-card__title a { color: var(--ink); }
.phpt-card__title a:hover { color: var(--olive); }
.phpt-card__excerpt { color: var(--muted); flex: 1; }
.phpt-card .phpt-btn { align-self: flex-start; }
.phpt-archive-intro { margin-bottom: 2em; }
.nav-links { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 40px; }
.page-numbers { display: inline-flex; min-width: 40px; height: 40px; align-items: center; justify-content: center; border: 1px solid var(--gray); color: var(--olive); padding: 0 10px; }
.page-numbers.current, .page-numbers:hover { background: var(--olive); border-color: var(--olive); color: var(--white); }
.phpt-sitemap ul { columns: 2 260px; }
.phpt-link-list { columns: 2 220px; }
.phpt-searchform { display: flex; gap: 8px; max-width: 560px; margin: 0 0 1.5em; }
.phpt-searchform input[type="search"] { flex: 1; min-height: 40px; padding: 6px 12px; border: 1px solid var(--gray); font: inherit; }
.phpt-idx-fallback { margin: 1.5em 0; }

/* ==========================================================================
   Homepage: hero
   ========================================================================== */
.phpt-hero { position: relative; overflow: hidden; color: var(--white); background: #2b2820; min-height: 480px; aspect-ratio: 1920 / 872; max-height: 100vh; display: flex; align-items: center; }
.phpt-hero__media { position: absolute; inset: 0; }
.phpt-hero__video, .phpt-hero__image { width: 100%; height: 100%; object-fit: cover; display: block; }
.phpt-hero::before { content: ""; position: absolute; inset: 0; z-index: 1; background: var(--phpt-img-hero-overlay) top center / cover no-repeat, linear-gradient(to bottom, rgba(0, 0, 0, .15), rgba(0, 0, 0, .35)); }
.phpt-hero__content { position: relative; z-index: 2; display: flex; align-items: center; justify-content: center; gap: 30px; padding-top: var(--header-h); padding-bottom: 40px; }
.phpt-hero__text { flex: 1; text-align: center; max-width: 900px; margin: 0 auto; }
.phpt-hero__slogan { margin: 0 0 .1em; font-family: var(--serif); font-style: italic; font-weight: 400; font-size: clamp(38px, 6.4vw, 96px); line-height: 1.1; text-shadow: 0 2px 20px rgba(0, 0, 0, .3); }
.phpt-hero__title { margin: 0; color: var(--white); font-weight: 800; font-size: clamp(20px, 2.6vw, 38px); line-height: 1.25; letter-spacing: .06em; text-transform: uppercase; text-shadow: 0 2px 16px rgba(0, 0, 0, .35); }
.phpt-hero__sub { margin: 1em auto 0; max-width: 640px; font-size: clamp(16px, 1.4vw, 19px); text-shadow: 0 1px 10px rgba(0, 0, 0, .4); }
.phpt-social { list-style: none; margin: 0; padding: 0; display: flex; gap: 30px; }
.phpt-social a { display: inline-flex; color: var(--white); font-size: 24px; }
.phpt-social a:hover { color: var(--gray); }
.phpt-social--hero { position: absolute; right: var(--gutter); top: 50%; transform: translateY(-50%); flex-direction: column; gap: 17px; padding-top: calc(var(--header-h) / 2); }
.phpt-hero__pause { position: absolute; z-index: 3; right: 18px; bottom: 18px; width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .6); background: rgba(0, 0, 0, .25); cursor: pointer; }
.phpt-hero__pause::before, .phpt-hero__pause::after { content: ""; position: absolute; top: 12px; width: 4px; height: 14px; background: var(--white); }
.phpt-hero__pause::before { left: 13px; }
.phpt-hero__pause::after { right: 13px; }
.phpt-hero__pause[aria-pressed="true"]::before { left: 14px; width: 0; height: 0; background: none; border-style: solid; border-width: 7px 0 7px 12px; border-color: transparent transparent transparent var(--white); }
.phpt-hero__pause[aria-pressed="true"]::after { display: none; }
@media (max-width: 991.98px) {
	.phpt-hero { aspect-ratio: auto; min-height: 62vh; }
	.phpt-hero__content { padding-top: 40px; }
	.phpt-social--hero { position: static; transform: none; flex-direction: row; justify-content: center; padding-top: 0; }
	.phpt-hero__content { flex-direction: column; }
}

/* Keyword heading band just below the video (default) */
.phpt-intro { padding: clamp(40px, 5vw, 64px) 0 0; text-align: center; }
.phpt-intro__slogan { margin: 0 0 .15em; font-family: var(--serif); font-style: italic; font-size: clamp(26px, 3vw, 40px); color: var(--olive); line-height: 1.2; }
.phpt-intro__title { margin: 0; font-weight: 800; font-size: clamp(20px, 2.3vw, 30px); letter-spacing: .06em; text-transform: uppercase; color: var(--ink); line-height: 1.3; }
.phpt-intro__sub { margin: .8em auto 0; max-width: 680px; color: var(--muted); }
.phpt-intro + .phpt-about { padding-top: clamp(40px, 6vw, 90px); }
.phpt-hero--clean::before { background: var(--phpt-img-hero-overlay) top center / cover no-repeat; opacity: .6; }

/* ==========================================================================
   Homepage: about
   ========================================================================== */
.phpt-about { position: relative; padding: clamp(70px, 10vw, 142px) 0; }
.phpt-about__heading { position: relative; padding-left: clamp(0px, 6vw, 67px); }
.phpt-about__heading .phpt-title__watermark { left: calc(-1 * clamp(0px, 6vw, 67px)); }
.phpt-about__grid { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(30px, 5vw, 60px); align-items: start; }
.phpt-about__photo { position: relative; padding: clamp(40px, 7vw, 83px) 0 0 clamp(0px, 6vw, 67px); }
.phpt-about__photo::before { /* faded ranch landscape behind */
	content: ""; position: absolute; top: 0; right: 0; left: calc(-1 * (100vw - min(100vw, var(--container))) / 2 - var(--gutter)); height: min(622px, 100%);
	background: var(--phpt-img-about-bg) center / cover no-repeat; filter: grayscale(1); opacity: .1;
}
.phpt-about__photo::after { /* wood-grain lines */
	content: ""; position: absolute; left: 0; top: clamp(120px, 14vw, 240px); width: min(604px, 100%); aspect-ratio: 1; background: var(--phpt-img-wood) center / cover no-repeat; filter: brightness(.86); z-index: 0;
}
.phpt-about__photo img { position: relative; z-index: 1; display: block; width: 100%; max-width: 486px; height: auto; box-shadow: 0 10px 30px rgba(0, 0, 0, .12); }
.phpt-about__text { position: relative; padding-top: clamp(40px, 6vw, 67px); }
.phpt-about__text::before { content: ""; position: absolute; top: -15px; left: 0; width: 73px; height: 61px; background: var(--phpt-img-quote) center / contain no-repeat; }
.phpt-about__quote { font-family: var(--serif); font-style: italic; font-size: clamp(22px, 2.2vw, 28px); line-height: 1.36; color: var(--ink); margin-bottom: 1.4em; }
.phpt-about__text p:not(.phpt-about__quote) { font-size: clamp(17px, 1.5vw, 21px); line-height: 1.9; color: var(--muted); }
.phpt-about__text .phpt-btn { margin-top: 10px; }
@media (max-width: 767.98px) {
	.phpt-about__grid { grid-template-columns: 1fr; }
	.phpt-about__photo { padding: 20px 0 0; max-width: 420px; }
	.phpt-about__photo::after { top: 60px; }
}

/* ==========================================================================
   Homepage: featured properties
   ========================================================================== */
.phpt-featured { position: relative; padding: clamp(60px, 9vw, 120px) 0; }
.phpt-featured::before { content: ""; position: absolute; inset: 0; background: var(--phpt-img-wood) top left / auto repeat-x; opacity: .9; }
.phpt-featured__panel { position: relative; background: var(--olive); color: #e9e7e1; padding: clamp(50px, 7vw, 100px) 0; margin-left: clamp(0px, 5vw, 70px); }
.phpt-featured__panel::after { content: ""; position: absolute; inset: 0; background: var(--phpt-img-wood-wide) top center / cover no-repeat; opacity: .05; pointer-events: none; }
.phpt-featured__listings { position: relative; z-index: 1; }
.phpt-featured__more { position: relative; z-index: 1; margin: 30px 0 0; }

/* ==========================================================================
   Homepage: search
   ========================================================================== */
.phpt-search { padding: clamp(60px, 9vw, 120px) 0; }
.phpt-search__adv { text-align: center; margin-top: 16px; }
.phpt-search__adv a { color: var(--olive); font-weight: 800; font-size: 14px; }

/* ==========================================================================
   Homepage: explore the area (map)
   ========================================================================== */
.phpt-explore { position: relative; padding: clamp(120px, 16vw, 233px) 0 clamp(80px, 12vw, 160px); }
.phpt-explore::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: clamp(360px, 40vw, 581px); background: var(--phpt-img-explore-bg) bottom center / cover no-repeat; }
.phpt-explore__panel { position: relative; padding: clamp(50px, 7vw, 102px) clamp(16px, 3vw, 30px) clamp(30px, 4vw, 40px); }
.phpt-explore__panel::before { content: ""; position: absolute; inset: 0; background: var(--olive); opacity: .93; }
.phpt-explore__panel::after { content: ""; position: absolute; left: -61px; right: -61px; bottom: -65px; height: 100%; max-height: 510px; background: var(--phpt-img-wood-wide) top center / auto no-repeat; z-index: -1; filter: brightness(.86); }
.phpt-explore .phpt-title { z-index: 1; }
.phpt-explore__panel { overflow: hidden; }
.phpt-explore .phpt-title__watermark { font-size: clamp(40px, 7.6vw, 108px); bottom: .1em; }
.phpt-map { position: relative; z-index: 1; margin: 0 auto; max-width: 1085px; }
.phpt-map__svg { display: block; width: 100%; height: auto; }
.phpt-map__area polygon { fill: rgba(161, 215, 243, 0); stroke: rgba(255, 255, 255, 0); stroke-width: 2; transition: fill var(--ease), stroke var(--ease); }
.phpt-map__area:hover polygon, .phpt-map__area:focus polygon { fill: rgba(161, 215, 243, .55); stroke: #fff; }
.phpt-map__area:focus { outline: none; }
.phpt-map__area:focus-visible polygon { stroke: #fff; stroke-width: 4; }
.phpt-map__area text { fill: #fff; font-family: var(--sans); font-size: 12px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; paint-order: stroke; stroke: rgba(40, 36, 26, .55); stroke-width: 3px; pointer-events: none; }
.phpt-explore__list { position: relative; z-index: 1; list-style: none; margin: 28px 0 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 26px; }
.phpt-explore__list a { color: var(--white); font-weight: 700; font-size: 13px; letter-spacing: .05em; text-transform: uppercase; border-bottom: 1px solid transparent; padding: 4px 0; }
.phpt-explore__list a:hover, .phpt-explore__list a:focus-visible { color: var(--sky); border-bottom-color: var(--sky); }
@media (max-width: 599.98px) {
	.phpt-map__area text { display: none; } /* too small to read; the list below has the names */
	.phpt-explore__list { display: grid; grid-template-columns: 1fr 1fr; text-align: left; gap: 4px 16px; }
}

/* ==========================================================================
   Homepage: photo tiles
   ========================================================================== */
.phpt-tiles { padding: clamp(70px, 10vw, 177px) 0 clamp(70px, 10vw, 184px); }
.phpt-tiles__grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.phpt-tile a { position: relative; display: block; color: var(--ink); }
.phpt-tile a::before { content: ""; position: absolute; top: 16px; left: 10px; width: calc(100% - 20px); height: calc(100% + 10px); border: 10px solid #5192ca; z-index: 1; opacity: 0; transform: scale(0); transition: all var(--ease); pointer-events: none; }
.phpt-tile__photo { position: relative; display: block; margin-bottom: 33px; }
.phpt-tile__photo::after { content: ""; position: absolute; inset: 0; background: #000; opacity: .2; transition: opacity var(--ease); }
.phpt-tile__photo img { display: block; width: 100%; aspect-ratio: 261 / 363; object-fit: cover; }
.phpt-tile__title { position: relative; display: block; min-height: 123px; padding: 2px 0 3px 20px; transition: padding var(--ease); }
.phpt-tile__title::before { content: ""; position: absolute; top: 0; left: 0; width: 2px; height: 123px; background: var(--olive); transition: all var(--ease); }
.phpt-tile__small { display: block; font-family: var(--serif); font-style: italic; font-size: clamp(22px, 2.2vw, 28px); color: var(--olive); line-height: 1.5; }
.phpt-tile__big { display: block; font-weight: 800; font-size: clamp(22px, 2.4vw, 30px); line-height: 1.08; text-transform: uppercase; color: var(--ink); }
.phpt-tile a:hover::before, .phpt-tile a:focus-visible::before { opacity: 1; transform: scale(1); }
.phpt-tile a:hover .phpt-tile__photo::after, .phpt-tile a:focus-visible .phpt-tile__photo::after { opacity: 0; }
.phpt-tile a:hover .phpt-tile__title, .phpt-tile a:focus-visible .phpt-tile__title { padding-left: 30px; }
.phpt-tile a:hover .phpt-tile__title::before, .phpt-tile a:focus-visible .phpt-tile__title::before { opacity: 0; transform: scale(0); }
@media (max-width: 991.98px) { .phpt-tiles__grid { grid-template-columns: repeat(2, 1fr); gap: 40px 24px; } }
@media (max-width: 479.98px) { .phpt-tile__title { min-height: 0; } .phpt-tile__title::before { height: 100%; } }

/* ==========================================================================
   Get In Touch (every page)
   ========================================================================== */
.phpt-git { position: relative; padding: clamp(70px, 9vw, 132px) 0 80px; }
.phpt-git::before { content: ""; position: absolute; inset: 0; background: var(--phpt-img-git-bg) center / cover no-repeat; filter: grayscale(1); opacity: .2; }
.phpt-git__box { position: relative; padding: clamp(20px, 3vw, 46px) clamp(16px, 3vw, 36px) clamp(20px, 3vw, 40px); background: var(--phpt-img-git-bg) center / cover no-repeat; }
.phpt-git__form { position: relative; padding: clamp(40px, 5vw, 73px) clamp(20px, 3vw, 30px) clamp(36px, 5vw, 62px) clamp(20px, 22vw, 260px); }
.phpt-git__form::before { content: ""; position: absolute; inset: 0; background: rgba(255, 255, 255, .88); }
.phpt-git__form > * { position: relative; z-index: 1; }
.phpt-git__title { margin: 0 0 clamp(30px, 4vw, 52px); font-weight: 800; font-size: clamp(26px, 3vw, 36px); text-transform: uppercase; text-align: center; color: var(--ink); }
.phpt-git__photo { position: absolute; z-index: 2; left: clamp(-90px, -5vw, 0px); bottom: -80px; width: clamp(160px, 24vw, 388px); pointer-events: none; }
.phpt-git__photo img { display: block; width: 100%; height: auto; }
@media (max-width: 767.98px) {
	.phpt-git__photo { display: none; }
	.phpt-git__form { padding-left: 20px; }
}

/* Contact Form 7: underlined fields like the live site.
   The old form markup uses .footer-git-form-* classes; supported here. */
.wpcf7 form { margin: 0; }
.wpcf7 input[type="text"], .wpcf7 input[type="email"], .wpcf7 input[type="tel"], .wpcf7 input[type="url"], .wpcf7 input[type="number"], .wpcf7 input[type="date"], .wpcf7 select, .wpcf7 textarea {
	display: block; width: 100%; min-height: 40px; padding: 6px 0; border: 0; border-bottom: 3px solid var(--olive); border-radius: 0;
	background: transparent; font-family: var(--sans); font-size: 15px; color: var(--ink-2);
}
.wpcf7 textarea { min-height: 80px; resize: vertical; }
.wpcf7 input:focus, .wpcf7 textarea:focus, .wpcf7 select:focus { outline: none; border-bottom-color: var(--blue); }
.wpcf7 ::placeholder { color: #6f6a62; opacity: 1; }
.wpcf7 label { font-weight: 700; font-size: 14px; }
.wpcf7-submit { margin: 10px auto 0; display: flex; }
.wpcf7-not-valid-tip { color: #c0392b; font-size: 13px; }
.wpcf7 form .wpcf7-response-output { margin: 20px 0 0; padding: 10px 14px; border-width: 2px; font-size: 14px; }
.wpcf7-spinner { margin: 10px auto 0; display: block; }
.footer-git-form-row { margin-bottom: 30px; }
.footer-git-form-row:last-child { margin-bottom: 0; margin-top: 40px; }
.footer-git-form-row.col-3 { display: flex; gap: 20px; }
.footer-git-form-row.col-3 .footer-git-form-col { flex: 1; }
.footer-git-form-col { position: relative; }
@media (max-width: 767.98px) { .footer-git-form-row.col-3 { flex-direction: column; gap: 24px; } }

/* ==========================================================================
   Footer
   ========================================================================== */
.phpt-footer__contact { position: relative; background: var(--olive-2); color: var(--white); padding: 75px 0 50px; }
.phpt-footer__contact::before { content: ""; position: absolute; inset: 0; background: var(--phpt-img-wood) center / auto repeat-x; opacity: .04; }
.phpt-footer__contact-inner { position: relative; display: grid; grid-template-columns: 5fr 2fr 5fr; align-items: center; gap: 24px; text-align: center; }
.phpt-footer__label { display: block; font-weight: 800; font-size: 18px; margin-bottom: 10px; }
.phpt-footer__contact-item a { color: var(--white); font-size: clamp(20px, 2.4vw, 30px); word-break: break-word; }
.phpt-footer__contact-item a:hover { color: var(--gray); }
.phpt-footer__logo img { width: 157px; max-width: 100%; height: auto; }
@media (max-width: 767.98px) {
	.phpt-footer__contact-inner { grid-template-columns: 1fr; gap: 34px; }
	.phpt-footer__logo { order: -1; }
}
.phpt-footer__social, .phpt-footer__bottom { position: relative; background: #2a2720; border-bottom: 1px solid #2f2e29; }
.phpt-footer__social { padding: 36px 0; }
.phpt-social--footer { justify-content: center; gap: 36px; }
.phpt-footer__bottom { padding: 30px 0 34px; text-align: center; color: var(--gray-2); font-size: 13px; }
.phpt-footer__bottom p { margin: 0 0 .6em; }
.phpt-footer__bottom a { color: #d9d7d2; }
.phpt-footer__bottom a:hover { color: var(--white); }
.phpt-license { color: #dad8d2; font-size: 13.5px; }
.phpt-license__eho { font-size: 18px; vertical-align: -4px; margin-right: 4px; }
.phpt-mls-disclaimer { max-width: 900px; margin: 0 auto .8em; font-size: 12px; line-height: 1.6; }
.phpt-footer__menu ul { list-style: none; margin: 0 0 14px; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 22px; }
.phpt-footer__menu a { color: #d9d7d2; font-weight: 700; font-size: 13px; }

/* Google reCAPTCHA badge sits above the sticky bar */
.grecaptcha-badge { z-index: 1000; }

/* Print */
@media print {
	.phpt-header, .phpt-git, .phpt-footer__social, .phpt-hero__media, .phpt-hero__pause { display: none !important; }
	.phpt-banner { display: none; }
	.phpt-page-title { color: #000; }
}

/* Follow icons below page content (Facebook, Instagram, Email) */
.phpt-follow { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-top: 40px; padding-top: 22px; border-top: 1px solid rgba(76, 71, 54, .2); }
.phpt-follow__label { font-weight: 700; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--olive); }
.phpt-social--follow { gap: 18px; }
.phpt-social--follow a { color: var(--olive); font-size: 22px; }
.phpt-social--follow a:hover { color: var(--ink); }

/* Contact block above contact forms (Contact page and form pages) */
.phpt-contact-block__intro { font-size: 18px; line-height: 1.5; margin: 0 0 14px; }
.phpt-contact-block__intro strong { display: block; font-family: var(--serif); font-style: italic; font-weight: 700; font-size: 26px; color: var(--olive); margin-bottom: 4px; }
.phpt-contact-block__details { display: flex; flex-wrap: wrap; gap: 8px 28px; align-items: center; margin: 0 0 28px; }
.phpt-contact-block__details a { display: inline-flex; align-items: center; gap: 8px; color: var(--olive); font-weight: 600; }
.phpt-contact-block__details .phpt-icon { width: 18px; height: 18px; }
.phpt-contact-block__name { font-weight: 800; color: var(--ink); }
.phpt-social--follow .phpt-icon, .phpt-social--follow svg { width: 22px; height: 22px; }

/* ---------- MLS Import blocks: match the site palette (1.0.6) ---------- */
.mlsimport-listings, .mlsimport-page-block, .wp-block-mlsimport-half-map, .wp-block-mlsimport-listings, .wp-block-mlsimport-search-form {
	--mli-accent: var(--olive);
	--mli-text: var(--ink);
	--mli-muted: var(--muted);
	font-family: var(--sans);
}
.mlsimport-search__submit, .mlsimport-search__submit:hover, .mlsimport-search__submit:focus,
.mlsimport-range__done, .mlsimport-bedsbaths__done, .mlsimport-half-map__tab.is-active {
	background: var(--olive) !important;
	border-color: var(--olive) !important;
	color: var(--white) !important;
}
.mlsimport-search__submit:hover, .mlsimport-range__done:hover, .mlsimport-bedsbaths__done:hover { background: var(--olive-2) !important; }
.mlsimport-search__submit { text-transform: uppercase; letter-spacing: .06em; font-weight: 700; }
.mlsimport-listings a:hover, .mlsimport-page-block a:hover { color: var(--blue); }

/* ---------- CRMLS display rules (1.0.9) ---------- */
/* Listing credit beside the price: same size and colour as the description. */
.phpt-listed-by { margin: .4em 0 0; font-size: 1rem; color: var(--ink); font-weight: 600; flex-basis: 100%; }
.mlsimport-property-attribution__courtesy { color: var(--ink); font-weight: 600; }
/* Search cards: label the brokerage line. */
.mlsimport-listing-card__office { color: var(--ink) !important; font-size: inherit; }
.mlsimport-listing-card__office::before { content: "Listing courtesy of "; }
/* Who answers the listing forms. */
.phpt-cta-note { margin: 0 0 .75em; font-size: .95rem; color: var(--ink); }
/* Source and consumer-use notice. */
.phpt-mls-notice { margin: 1.5em 0; padding: 1em 1.2em; border-top: 1px solid var(--gray); font-size: .85rem; color: var(--muted); }
.phpt-mls-notice p { margin: 0 0 .5em; }

/* MLS listing category labels */
.mlsimport-listing-card__badge.phpt-type-badge { background: #fff; color: #4a4a3a; border: 1px solid #d8d3c4; }
.mlsimport-listing-card__badge.phpt-type-residential-lease { background: #5b6b3a; color: #fff; border-color: #5b6b3a; }
.mlsimport-listing-card__badge.phpt-type-land { background: #8a6d3b; color: #fff; border-color: #8a6d3b; }
.phpt-per-mo { font-size: .7em; font-weight: 400; margin-left: 2px; }
.phpt-type-line { margin: 6px 0 0; }
.phpt-type-tag { display: inline-block; font-size: 12px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; padding: 3px 10px; border-radius: 999px; border: 1px solid #d8d3c4; color: #4a4a3a; background: #fff; }
.phpt-type-tag.phpt-type-residential-lease { background: #5b6b3a; border-color: #5b6b3a; color: #fff; }
.phpt-type-tag.phpt-type-land { background: #8a6d3b; border-color: #8a6d3b; color: #fff; }
