/*
Theme Name: Desantis Realty Group
Theme URI: https://mariodesantis.agentspotlight.ai
Author: AgentSpotlight.ai
Description: Chrome-only theme for Desantis Realty Group (Mario Desantis, Coldwell Banker Realty). Built from the client's "DRG Website Homepage Concepts — v2 Combined direction" mockup. Header, footer, CSS and JS live here; every page's copy lives in post_content as native Gutenberg blocks; schema, llms.txt and robots.txt come from the agentspot-* mu-plugins.
Version: 2.2.3
Requires at least: 6.4
Requires PHP: 7.4
License: Proprietary — built for the client by AgentSpotlight.ai
Text Domain: drg
*/

/* ---------- tokens (palette from the intake form + mockup) ---------- */
:root {
  --bg: #141213;            /* mockup base */
  --surface: #231F20;       /* CSV charcoal */
  --surface-2: #1C1A1B;
  --surface-3: #262223;
  --ink: #F2EEE8;
  --ink-2: #D6D0C9;
  --muted: #A8A29B;
  --muted-2: #8A8A8A;       /* CSV grey */
  --line: #2E2A2B;
  --line-2: #3A3536;
  --green: #089247;         /* CSV green */
  --green-light: #6FD69B;
  --green-deep: #067A3B;
  --red: #CE2B36;           /* CSV red */
  --cream: #FFF8E7;         /* CSV cream */
  --mint: #F0F7F3;          /* CSV mint */
  --grey-100: #F7F7F7;      /* CSV */
  --grey-300: #D8D8D8;      /* CSV */
  --on-light: #231F20;
  --on-light-2: #5E5A57;
  --on-light-line: #D3CCC2;
  --serif: 'Cormorant Garamond', 'Times New Roman', serif;
  --sans: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --wrap: 1360px;
  --gutter: 48px;
  --header-h: 96px;
  --util-h: 34px;
}
@media (max-width: 760px) { :root { --gutter: 20px; --header-h: 76px; } }

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--sans); font-weight: 400; font-size: 16px; line-height: 1.7; overflow-x: hidden; }
a { color: var(--ink); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--green-light); }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 400; line-height: 1.06; margin: 0; letter-spacing: -0.01em; }
h1 { font-size: clamp(44px, 7vw, 112px); line-height: .98; }
h2 { font-size: clamp(36px, 4.2vw, 60px); }
h3 { font-size: clamp(26px, 2.6vw, 36px); }
h4 { font-size: 22px; }
p { margin: 0; }
em { font-style: italic; }
.wp-block-group { margin: 0; }
.skip-link { position: absolute; left: -999px; top: 0; background: var(--green); color: #fff; padding: 10px 16px; z-index: 999; }
.skip-link:focus { left: 12px; top: 12px; }
::selection { background: var(--green); color: #fff; }
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--surface-2); }
::-webkit-scrollbar-thumb { background: var(--green); border-radius: 6px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.kicker, .eyebrow { font-size: 11px; letter-spacing: .34em; text-transform: uppercase; color: var(--green-light); font-weight: 500; }
.on-light .kicker, .on-light .eyebrow, .drg-light .kicker { color: var(--green-deep); }
.lead { font-size: 17px; line-height: 1.8; color: var(--ink-2); }
.note { font-size: 15px; line-height: 1.7; color: var(--muted); }
.ul-link, .wp-block-button.ul-link .wp-block-button__link { display: inline-block; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; border-bottom: 1px solid var(--green); padding: 0 0 6px; background: none; color: var(--ink); border-radius: 0; }
.ul-link:hover, .wp-block-button.ul-link .wp-block-button__link:hover { color: var(--green-light); }

/* ---------- buttons (core button blocks + theme buttons) ---------- */
.wp-block-buttons { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.wp-block-buttons.is-layout-flex { gap: 14px; }
.wp-block-button { margin: 0; }
.wp-block-button .wp-block-button__link, .btn { display: inline-block; font-family: var(--sans); font-size: 12px; letter-spacing: .2em; text-transform: uppercase; font-weight: 500; padding: 17px 28px; border-radius: 0; line-height: 1.2; background: var(--ink); color: var(--on-light); border: 1px solid var(--ink); transition: background .25s ease, color .25s ease, border-color .25s ease, transform .25s ease; cursor: pointer; }
.wp-block-button .wp-block-button__link:hover, .btn:hover { background: var(--green); border-color: var(--green); color: #fff; transform: translateY(-1px); }
.wp-block-button.is-style-outline .wp-block-button__link, .wp-block-button.ghost .wp-block-button__link, .btn.ghost { background: transparent; color: var(--ink); border: 1px solid var(--ink); }
.wp-block-button.is-style-outline .wp-block-button__link:hover, .wp-block-button.ghost .wp-block-button__link:hover, .btn.ghost:hover { background: var(--ink); color: var(--on-light); }
.on-light .wp-block-button .wp-block-button__link, .drg-light .wp-block-button .wp-block-button__link { background: var(--on-light); color: var(--cream); border-color: var(--on-light); }
.on-light .wp-block-button .wp-block-button__link:hover, .drg-light .wp-block-button .wp-block-button__link:hover { background: var(--green); border-color: var(--green); color: #fff; }
.on-light .wp-block-button.ghost .wp-block-button__link, .drg-light .wp-block-button.ghost .wp-block-button__link { background: transparent; color: var(--on-light); border-color: var(--on-light); }
.on-light .wp-block-button.ghost .wp-block-button__link:hover, .drg-light .wp-block-button.ghost .wp-block-button__link:hover { background: var(--on-light); color: var(--cream); }
.btn.small, .wp-block-button.small .wp-block-button__link { padding: 12px 20px; font-size: 11px; }

/* ---------- header ---------- */
.site-header { position: absolute; top: 0; left: 0; right: 0; z-index: 50; transition: background .3s ease, box-shadow .3s ease, transform .3s ease; }
.site-header .header-row { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: var(--header-h); }
.site-header.scrolled, .site-header.solid { position: fixed; background: rgba(20, 18, 19, .92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.site-header.scrolled .header-row { height: 72px; }
.site-header.scrolled .utility-bar { display: none; }
.brand { display: flex; align-items: center; flex: 0 0 auto; }
.brand img { height: 44px; width: auto; }
.logo-dark { display: none !important; }
.brand-text { display: flex; flex-direction: column; gap: 3px; }
.brand-text .b1 { font-family: var(--serif); font-size: 26px; letter-spacing: .34em; font-weight: 500; line-height: 1; }
.brand-text .b2 { font-size: 10px; letter-spacing: .44em; color: #BEB7B0; line-height: 1; text-transform: uppercase; }
.nav { display: flex; align-items: center; gap: 30px; list-style: none; margin: 0; padding: 0; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; white-space: nowrap; }
.nav li { position: relative; }
.nav a { position: relative; padding: 6px 0; }
.nav > li > a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 1px; background: var(--green); transition: right .25s ease; }
.nav > li > a:hover::after, .nav > li.current > a::after { right: 0; }
.nav .has-sub > a { padding-right: 14px; }
.nav .has-sub > a::before { content: ""; position: absolute; right: 0; top: 12px; width: 6px; height: 6px; border-right: 1px solid var(--muted); border-bottom: 1px solid var(--muted); transform: rotate(45deg); }
.nav .sub { position: absolute; top: 100%; left: -18px; min-width: 240px; background: var(--surface); border: 1px solid var(--line-2); padding: 10px 0; list-style: none; margin: 8px 0 0; opacity: 0; visibility: hidden; transform: translateY(6px); transition: all .2s ease; text-transform: none; letter-spacing: .04em; font-size: 14px; }
.nav .sub a { display: block; padding: 9px 18px; }
.nav .sub a:hover { background: var(--surface-3); color: var(--green-light); }
.nav .sub a::after { display: none; }
.nav .has-sub:hover .sub, .nav .has-sub.open .sub, .nav .has-sub:focus-within .sub { opacity: 1; visibility: visible; transform: translateY(0); }
.nav .nav-cta a { display: inline-flex; gap: 8px; align-items: center; border: 1px solid var(--line-2); padding: 10px 16px; }
.nav .nav-cta a:hover { border-color: var(--green); color: var(--green-light); }
.nav .nav-cta a::after { display: none; }
.hamburger { display: none; background: none; border: 1px solid var(--line-2); color: var(--ink); width: 44px; height: 44px; cursor: pointer; align-items: center; justify-content: center; }
.hamburger span { display: block; width: 18px; height: 1px; background: var(--ink); position: relative; }
.hamburger span::before, .hamburger span::after { content: ""; position: absolute; left: 0; width: 18px; height: 1px; background: var(--ink); }
.hamburger span::before { top: -6px; } .hamburger span::after { top: 6px; }
@media (max-width: 1180px) { .nav { gap: 20px; font-size: 11px; } .brand img { height: 38px; } }
@media (max-width: 560px) { .brand img { height: 34px; } }
@media (max-width: 980px) {
  .nav { display: none; }
  .hamburger { display: inline-flex; }
}
/* mobile drawer */
.drawer { visibility: hidden; transition: transform .3s ease, visibility 0s linear .3s; position: fixed; inset: 0 0 0 auto; width: min(360px, 92vw); background: var(--surface); border-left: 1px solid var(--line-2); z-index: 60; transform: translateX(100%); transition: transform .3s ease; padding: 28px 28px 40px; overflow-y: auto; display: flex; flex-direction: column; gap: 6px; }
.drawer.open { transform: translateX(0); visibility: visible; transition: transform .3s ease, visibility 0s; }
.drawer-backdrop { position: fixed; inset: 0; background: rgba(0,0,0,.55); z-index: 55; opacity: 0; visibility: hidden; transition: all .3s ease; }
.drawer-backdrop.open { opacity: 1; visibility: visible; }
.drawer a { display: block; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 15px; letter-spacing: .04em; }
.drawer a.sm { font-size: 13px; color: var(--muted); border: 0; padding: 7px 0; }
.drawer .drawer-close { align-self: flex-end; background: none; border: 0; color: var(--ink); font-size: 28px; cursor: pointer; line-height: 1; }
.drawer .drawer-head { font-size: 11px; letter-spacing: .3em; text-transform: uppercase; color: var(--green-light); margin: 18px 0 4px; }
.drawer .social-row { margin-top: 18px; }

/* ---------- sections ---------- */
.drg-section { padding: 120px 0; }
.drg-section.tight { padding: 88px 0; }
.drg-section.rule-top { border-top: 1px solid var(--line); }
.drg-light { background: var(--cream); color: var(--on-light); }
.drg-light a { color: var(--on-light); }
.drg-light a:hover { color: var(--green-deep); }
.drg-light .lead { color: var(--on-light-2); }
.drg-light .note { color: var(--on-light-2); }
.drg-mint { background: var(--mint); color: var(--on-light); }
.drg-dark-2 { background: var(--surface-2); }
.sec-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 56px; }
.sec-head .sec-title-wrap { display: flex; flex-direction: column; gap: 18px; max-width: 760px; }
.sec-head .sec-aside { font-size: 15px; line-height: 1.7; color: var(--muted); max-width: 400px; }
.drg-light .sec-head .sec-aside { color: var(--on-light-2); }
.sec-head.stack { flex-direction: column; align-items: flex-start; }

/* split (two columns: title | body) */
.drg-split { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 460px), 1fr)); gap: 80px; align-items: start; }
.drg-split .col { display: flex; flex-direction: column; gap: 24px; }
.drg-split .col.body { gap: 40px; padding-top: 8px; }
.wp-block-columns.drg-split { gap: 80px; }
.wp-block-columns.drg-split .wp-block-column { display: flex; flex-direction: column; gap: 24px; }
@media (max-width: 781px) { .wp-block-columns.drg-split { gap: 40px; } }

/* stats */
.drg-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 32px; }
.drg-stats .stat { display: flex; flex-direction: column; gap: 8px; border-top: 1px solid var(--green); padding-top: 20px; }
.drg-stats .stat strong, .drg-stats .stat .stat-num { font-family: var(--serif); font-size: clamp(30px, 2.9vw, 42px); font-weight: 400; line-height: 1.1; white-space: nowrap; }
.drg-stats .stat .stat-label, .drg-stats .stat p:last-child { font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }

/* ---------- hero ---------- */
.page-shell { --hero-img: none; }
.drg-hero { position: relative; min-height: 92vh; min-height: 92svh; display: flex; flex-direction: column; justify-content: flex-end; padding: calc(var(--header-h) + var(--util-h) + 80px) 0 88px; background: var(--surface-3); overflow: hidden; isolation: isolate; }
.drg-hero.compact { min-height: 0; padding: calc(var(--header-h) + var(--util-h) + 72px) 0 64px; }
.drg-hero::before { content: ""; position: absolute; inset: 0; background-image: var(--hero-img); background-size: cover; background-position: center; z-index: -2; transform: scale(1.04); animation: drg-drift 18s ease-in-out infinite alternate; }
.drg-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(20,18,19,.66) 0%, rgba(20,18,19,.42) 45%, rgba(20,18,19,.9) 100%), radial-gradient(1200px 600px at 20% 110%, rgba(8,146,71,.14), transparent 60%); }
.drg-hero.no-img::before { background-image: radial-gradient(900px 500px at 75% 20%, #2E2A2B, transparent 60%), linear-gradient(160deg, #262223 0%, #141213 100%); animation: none; }
@keyframes drg-drift { from { transform: scale(1.04) translate3d(0,0,0); } to { transform: scale(1.1) translate3d(-1.5%, -1%, 0); } }
@media (prefers-reduced-motion: reduce) { .drg-hero::before { animation: none; } }
.drg-hero .wrap { display: flex; flex-direction: column; gap: 36px; width: 100%; }
.drg-hero h1 { max-width: 1000px; text-shadow: 0 2px 30px rgba(0,0,0,.35); }
.drg-hero h1 em { font-style: italic; }
.drg-hero .hero-row { display: flex; flex-wrap: wrap; gap: 32px; align-items: center; justify-content: space-between; }
.drg-hero .hero-sub { font-size: 16px; line-height: 1.7; color: var(--ink-2); max-width: 540px; text-shadow: 0 1px 12px rgba(0,0,0,.5); }
.drg-hero .kicker { text-shadow: 0 1px 10px rgba(0,0,0,.7); }
.drg-hero .kicker { margin-bottom: -16px; }
.drg-hero .wp-block-buttons { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.wp-block-buttons.is-layout-flex { gap: 14px; }
.wp-block-button { margin: 0; }
.drg-hero.compact h1 { font-size: clamp(40px, 5.4vw, 80px); }
.hero-scroll-cue { position: absolute; right: var(--gutter); bottom: 32px; width: 1px; height: 56px; background: linear-gradient(var(--green), transparent); opacity: .8; }
.hero-scroll-cue::before { content: ""; position: absolute; top: -6px; left: -3px; width: 7px; height: 7px; border-radius: 50%; background: var(--green-light); animation: drg-cue 2.2s ease-in-out infinite; }
@keyframes drg-cue { 0%, 100% { transform: translateY(0); opacity: 1; } 60% { transform: translateY(44px); opacity: 0; } }

/* county sub-nav (county + town pages) */
.county-subnav { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg); }
.county-subnav .wrap { min-height: 56px; display: flex; align-items: center; }
.county-subnav p { display: flex; flex-wrap: wrap; gap: 12px 28px; align-items: center; font-size: 11px; letter-spacing: .24em; text-transform: uppercase; padding: 14px 0; }
.county-subnav .label { color: var(--muted); }
.county-subnav a.current { color: var(--green-light); }

/* ---------- card grids (groups laid out with CSS grid — core columns forces nowrap ≥782px) ---------- */
.drg-grid { display: grid; gap: 20px; }
.drg-grid.cols-3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); }
.drg-grid.cols-4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 24px 20px; }
.drg-grid.cols-2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr)); gap: 40px; }

/* county cards */
.county-card { display: flex; flex-direction: column; gap: 20px; }
.county-card .wp-block-image { margin: 0; aspect-ratio: 4 / 5; overflow: hidden; background: var(--surface-3); }
.county-card .wp-block-image img { width: 100%; height: 100%; object-fit: cover; object-position: center 35%; transition: transform .8s ease, filter .6s ease; filter: saturate(.9); }
.county-card:hover .wp-block-image img { transform: scale(1.04); filter: saturate(1); }
.county-card h3 { font-size: 36px; }
.county-card .note { font-size: 14px; }
.county-card .ul-link { align-self: flex-start; }

/* town cards */
.town-card { display: flex; flex-direction: column; gap: 14px; }
.town-card .wp-block-image { margin: 0; aspect-ratio: 4 / 3; overflow: hidden; background: var(--surface-3); }
.town-card .wp-block-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s ease; }
.town-card:hover .wp-block-image img { transform: scale(1.04); }
.town-card h3 { font-size: 26px; }
.town-card .note { font-size: 13px; line-height: 1.6; }
.town-card.featured h3::after { content: "Top community"; display: inline-block; margin-left: 10px; font-family: var(--sans); font-size: 9px; letter-spacing: .2em; text-transform: uppercase; color: var(--green-light); vertical-align: middle; border: 1px solid var(--green-deep); padding: 3px 6px; }

/* services rows (light section) */
.svc-rows { display: flex; flex-direction: column; }
.svc-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 20px 48px; padding: 40px 0; border-top: 1px solid var(--on-light-line); align-items: center; }
.svc-rows .svc-row:last-child { border-bottom: 1px solid var(--on-light-line); }
.svc-row h3 { font-size: clamp(32px, 3.2vw, 46px); }
.svc-row .note { font-size: 15px; color: var(--on-light-2); }
.svc-row .wp-block-buttons { justify-content: flex-start; gap: 12px; }
.svc-row .wp-block-button .wp-block-button__link { background: transparent; color: var(--on-light); border: 1px solid var(--on-light); padding: 12px 20px; font-size: 11px; }
.svc-row .wp-block-button .wp-block-button__link:hover { background: var(--on-light); color: var(--cream); }

/* feature (media | text) */
.drg-feature { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 460px), 1fr)); gap: 72px; align-items: center; }
.drg-feature .media { position: relative; background: var(--surface-3); aspect-ratio: 4 / 3; overflow: hidden; }
.drg-feature .media .wp-block-image, .drg-feature .media img { margin: 0; width: 100%; height: 100%; object-fit: cover; }
.drg-feature .media.portrait { aspect-ratio: 4 / 5; }
.drg-feature .media.video { aspect-ratio: 16 / 9; }
.drg-feature .text { display: flex; flex-direction: column; gap: 26px; }
.drg-feature .text h2 { font-size: clamp(38px, 4.2vw, 58px); }
.drg-feature .text .ul-link, .drg-feature .text .wp-block-buttons { align-self: flex-start; }
.drg-feature .media .play { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }
.drg-feature .media .play span { width: 84px; height: 84px; border: 1px solid var(--ink); border-radius: 50%; display: flex; align-items: center; justify-content: center; background: rgba(20,18,19,.3); transition: background .25s ease; }
.drg-feature .media .play:hover span { background: var(--green); border-color: var(--green); }
.video-embed { position: relative; aspect-ratio: 16 / 9; background: #000; }
.video-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* band (booking / portal replacement) */
.drg-band { background: var(--surface-2); }
.drg-band .wrap { display: flex; flex-wrap: wrap; gap: 40px; align-items: center; justify-content: space-between; padding-top: 96px; padding-bottom: 96px; }
.drg-band .band-text { display: flex; flex-direction: column; gap: 14px; max-width: 640px; }
.drg-band .band-text .band-title, .drg-band .band-text h2 { font-family: var(--serif); font-size: clamp(30px, 3vw, 42px); line-height: 1.15; }
.drg-band.green { background: var(--green-deep); }
.drg-band.green .kicker { color: #CDEFD9; }
.drg-band.green .wp-block-button .wp-block-button__link { background: var(--ink); color: var(--on-light); border-color: var(--ink); }
.drg-band.green .wp-block-button .wp-block-button__link:hover { background: var(--surface); color: var(--ink); border-color: var(--surface); }

/* CTA box (county/service pages) */
.drg-cta-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr)); gap: 40px; align-items: center; }
.drg-cta-box { background: var(--surface); border: 1px solid var(--line-2); padding: 48px; display: flex; flex-direction: column; gap: 18px; }
.drg-cta-box h3 { font-size: clamp(28px, 3vw, 40px); }
.drg-cta-box .wp-block-buttons { gap: 12px; }

/* FAQ */
.drg-answers { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); gap: 40px 56px; }
.drg-answers .answer { display: flex; flex-direction: column; gap: 12px; border-top: 1px solid var(--line-2); padding-top: 22px; }
.drg-answers .answer h2, .drg-answers .answer h3 { font-size: 26px; line-height: 1.2; }
.drg-answers .answer p { font-size: 15px; color: var(--ink-2); line-height: 1.75; }
.drg-faq { display: flex; flex-direction: column; border-top: 1px solid var(--line-2); }
.faq-more { margin-top: 64px; }
.faq-more > h3 { margin-bottom: 24px; }
.drg-faq .wp-block-details { border-bottom: 1px solid var(--line-2); padding: 0; margin: 0; }
.drg-faq summary { list-style: none; cursor: pointer; padding: 24px 56px 24px 0; font-family: var(--serif); font-size: 24px; line-height: 1.25; position: relative; }
.drg-faq summary::-webkit-details-marker { display: none; }
.drg-faq summary::after { content: ""; position: absolute; right: 8px; top: 34px; width: 10px; height: 10px; border-right: 1px solid var(--green-light); border-bottom: 1px solid var(--green-light); transform: rotate(45deg); transition: transform .25s ease; }
.drg-faq details[open] summary::after { transform: rotate(-135deg); }
.drg-faq details p { padding: 0 0 26px; max-width: 900px; color: var(--ink-2); font-size: 15px; line-height: 1.8; }
.drg-light .drg-faq, .drg-light .drg-faq .wp-block-details { border-color: var(--on-light-line); }
.drg-light .drg-faq details p { color: var(--on-light-2); }

/* reviews band */
.drg-reviews { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 56px; align-items: center; }
.review-platforms { display: flex; flex-wrap: wrap; gap: 12px; }
.review-platforms a, .platform-pill { display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--line-2); padding: 11px 16px; font-size: 11px; letter-spacing: .18em; text-transform: uppercase; }
.review-platforms a:hover { border-color: var(--green); color: var(--green-light); }
.stars { color: var(--green-light); letter-spacing: .2em; font-size: 18px; }
.big-stat { font-family: var(--serif); font-size: clamp(64px, 8vw, 112px); line-height: 1; }

/* contact */
.drg-contact { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 64px; align-items: start; }
.drg-contact .col { display: flex; flex-direction: column; gap: 22px; }
.nap { display: flex; flex-direction: column; gap: 6px; font-size: 15px; line-height: 1.8; color: var(--ink-2); }
.nap strong { font-family: var(--serif); font-size: 22px; font-weight: 400; color: var(--ink); }
.nap .ul-link { align-self: flex-start; margin-top: 6px; }
.map-embed { aspect-ratio: 16 / 10; background: var(--surface-3); border: 1px solid var(--line-2); }
.map-embed iframe { width: 100%; height: 100%; border: 0; filter: grayscale(.2) contrast(1.05); }

/* lead form (shortcode output) */
.lead-form { background: var(--surface); border: 1px solid var(--line-2); padding: 40px; display: flex; flex-direction: column; gap: 16px; }
.lead-form h3 { font-size: 30px; }
.lead-form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 560px) { .lead-form .row { grid-template-columns: 1fr; } }
.lead-form label { display: flex; flex-direction: column; gap: 6px; font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.lead-form input, .lead-form select, .lead-form textarea { background: var(--bg); border: 1px solid var(--line-2); color: var(--ink); font-family: var(--sans); font-size: 15px; padding: 13px 14px; width: 100%; border-radius: 0; }
.lead-form input:focus, .lead-form select:focus, .lead-form textarea:focus { outline: none; border-color: var(--green); }
.lead-form textarea { min-height: 120px; resize: vertical; }
.lead-form .hp { position: absolute; left: -9999px; opacity: 0; height: 0; }
.lead-form .consent { font-size: 12px; color: var(--muted); line-height: 1.6; }
.lead-form .submit-btn { align-self: flex-start; }
.lead-form .form-note { font-size: 13px; color: var(--muted); }
.drg-light .lead-form { background: #fff; border-color: var(--on-light-line); }
.drg-light .lead-form input, .drg-light .lead-form select, .drg-light .lead-form textarea { background: var(--grey-100); border-color: var(--grey-300); color: var(--on-light); }
.drg-light .lead-form label { color: var(--on-light-2); }

/* team */
.team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 40px 28px; }
.team-card { display: flex; flex-direction: column; gap: 12px; border-top: 1px solid var(--green); padding-top: 22px; }
.team-card .wp-block-image { margin: 0 0 8px; aspect-ratio: 4 / 5; overflow: hidden; background: var(--surface-3); }
.team-card .wp-block-image img { width: 100%; height: 100%; object-fit: cover; }
.team-card h3 { font-size: 28px; }
.team-card .role { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--green-light); }
.team-card .note { font-size: 14px; }
.team-card .silhouette { aspect-ratio: 4 / 5; background: linear-gradient(160deg, #2E2A2B, #1C1A1B); display: flex; align-items: flex-end; justify-content: flex-start; padding: 20px; font-family: var(--serif); font-size: 72px; color: var(--line-2); margin-bottom: 8px; }
.profile-meta { display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 13px; color: var(--muted); letter-spacing: .04em; }

/* expect list (service pages) */
.expect-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.expect-list li { padding: 18px 0 18px 36px; border-top: 1px solid var(--line-2); position: relative; font-size: 16px; color: var(--ink-2); }
.expect-list li:last-child { border-bottom: 1px solid var(--line-2); }
.expect-list li::before { content: ""; position: absolute; left: 4px; top: 29px; width: 14px; height: 1px; background: var(--green); }
.wp-block-list.expect-list { padding-left: 0; }

/* blog module (shortcode) + archive */
.blog-rail { position: relative; }
.blog-viewport { overflow: hidden; }
.blog-track { display: flex; gap: 24px; transition: transform .5s ease; }
.post-card { flex: 0 0 calc((100% - 48px) / 3); display: flex; flex-direction: column; gap: 14px; }
@media (max-width: 980px) { .post-card { flex-basis: calc((100% - 24px) / 2); } }
@media (max-width: 640px) { .post-card { flex-basis: 100%; } }
.post-card .thumb { aspect-ratio: 16 / 10; overflow: hidden; background: var(--surface-3); }
.post-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s ease; }
.post-card:hover .thumb img { transform: scale(1.04); }
.post-card .meta { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.post-card h3 { font-size: 26px; line-height: 1.2; }
.post-card p { font-size: 14px; color: var(--muted); }
.rail-arrows { display: flex; gap: 10px; }
.rail-arrows button { width: 46px; height: 46px; border: 1px solid var(--line-2); background: transparent; color: var(--ink); cursor: pointer; font-size: 18px; transition: all .2s ease; }
.rail-arrows button:hover { border-color: var(--green); color: var(--green-light); }
.blog-empty { border: 1px dashed var(--line-2); padding: 40px; color: var(--muted); font-size: 15px; }
.archive-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 40px 24px; }
.archive-grid .post-card { flex: none; max-width: 440px; background: var(--surface); border: 1px solid var(--line-2); padding: 0 0 24px; }
.archive-grid .post-card .thumb { aspect-ratio: 4 / 3; }
.archive-grid .post-card > :not(.thumb) { margin-left: 22px; margin-right: 22px; }
.archive-grid .post-card h3 { font-size: 28px; }
.post-card .cats { font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--green-light); }
.post-card .byline { font-size: 12px; color: var(--muted); }
.drg-hero, .drg-section, .drg-band { scroll-margin-top: 72px; }
.pagination { display: flex; gap: 8px; margin-top: 48px; font-size: 13px; letter-spacing: .1em; }
.pagination .page-numbers { border: 1px solid var(--line-2); padding: 8px 14px; }
.pagination .page-numbers.current { border-color: var(--green); color: var(--green-light); }

/* single post */
.single-article { max-width: 820px; margin: 0 auto; padding: 72px var(--gutter) 120px; }
.single-article .entry-meta { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); margin-bottom: 20px; }
.single-article .entry-content > * { margin-bottom: 1.4em; }
.single-article .entry-content h2 { font-size: 36px; margin-top: 1.6em; }
.single-article .entry-content h3 { font-size: 28px; margin-top: 1.4em; }
.single-article .entry-content p, .single-article .entry-content li { font-size: 17px; line-height: 1.8; color: var(--ink-2); }
.single-article .entry-content a { color: var(--green-light); text-decoration: underline; text-underline-offset: 3px; }
.single-article .entry-content img { margin: 2em 0; }
.single-article .entry-content blockquote { border-left: 1px solid var(--green); padding-left: 24px; font-family: var(--serif); font-size: 24px; margin: 2em 0; }
.single-article .post-thumb { margin: 0 0 40px; aspect-ratio: 16 / 9; overflow: hidden; }
.single-article .post-thumb img { width: 100%; height: 100%; object-fit: cover; }
.post-nav { display: flex; justify-content: space-between; gap: 24px; margin-top: 64px; padding-top: 24px; border-top: 1px solid var(--line-2); font-size: 13px; letter-spacing: .08em; }
.author-box { display: flex; gap: 24px; align-items: center; margin-top: 56px; padding: 28px; border: 1px solid var(--line-2); background: var(--surface); }
.author-box img { width: 88px; height: 88px; object-fit: cover; object-position: center 15%; border-radius: 50%; flex: 0 0 88px; }
.author-box .note { font-size: 14px; }

/* generic page content (Privacy Policy etc.) */
.page-body { max-width: 860px; margin: 0 auto; padding: 48px var(--gutter) 120px; }
.page-body > * + * { margin-top: 1.3em; }
.page-body h2 { font-size: 34px; margin-top: 1.8em; }
.page-body h3 { font-size: 26px; }
.page-body p, .page-body li { font-size: 16px; color: var(--ink-2); line-height: 1.8; }
.page-body a { color: var(--green-light); text-decoration: underline; text-underline-offset: 3px; }

/* video rail */
.video-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(280px, 1fr); gap: 28px; align-items: start; }
@media (max-width: 900px) { .video-grid { grid-template-columns: 1fr; } }
.video-list { display: flex; flex-direction: column; gap: 10px; max-height: 480px; overflow-y: auto; padding-right: 6px; }
.video-now { font-family: var(--serif); font-size: 24px; line-height: 1.2; margin-bottom: 8px; }
.video-item { display: grid; grid-template-columns: 112px 1fr; gap: 14px; align-items: center; background: var(--surface); border: 1px solid var(--line-2); padding: 8px; color: var(--ink); text-align: left; cursor: pointer; font-family: var(--sans); font-size: 13px; line-height: 1.4; transition: border-color .2s ease, background .2s ease; }
.video-item img { width: 112px; height: 63px; object-fit: cover; }
.video-item small { display: block; color: var(--muted); font-size: 11px; letter-spacing: .08em; margin-top: 4px; }
.video-item:hover, .video-item.active { border-color: var(--green); background: var(--surface-3); }
.video-intro { max-width: 720px; margin: -24px 0 32px; }

/* credits */
.credits-list { list-style: none; padding: 0; margin: 0; }
.credits-list li { padding: 10px 0; border-bottom: 1px solid var(--line-2); font-size: 14px; color: var(--muted); }
.credits-list strong { color: var(--ink); font-weight: 500; }
.footer-legal a { color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }

/* social row */
.social-row { display: flex; gap: 10px; flex-wrap: wrap; }
.social-row a { width: 40px; height: 40px; border: 1px solid var(--line-2); display: inline-flex; align-items: center; justify-content: center; color: var(--ink); transition: all .2s ease; }
.social-row a:hover { border-color: var(--green); color: var(--green-light); transform: translateY(-2px); }
.social-row svg { width: 16px; height: 16px; fill: currentColor; }
.drg-light .social-row a { border-color: var(--on-light-line); color: var(--on-light); }

/* tricolor rule — subtle brand nod */
.tricolor { display: flex; height: 2px; width: 72px; }
.tricolor i { flex: 1; display: block; } .tricolor i:nth-child(1) { background: var(--green); } .tricolor i:nth-child(2) { background: var(--ink); } .tricolor i:nth-child(3) { background: var(--red); }

/* ---------- footer ---------- */
.site-footer { border-top: 1px solid var(--line); background: var(--bg); }
.site-footer .wrap { padding-top: 96px; padding-bottom: 40px; display: flex; flex-direction: column; gap: 56px; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 40px; font-size: 14px; line-height: 1.9; color: var(--muted); }
.footer-grid h4 { font-family: var(--sans); font-size: 11px; letter-spacing: .3em; text-transform: uppercase; color: var(--ink); margin-bottom: 12px; font-weight: 500; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; }
.footer-grid a { color: var(--muted); }
.footer-grid a:hover { color: var(--green-light); }
.footer-brand { display: flex; flex-direction: column; gap: 18px; }
.footer-brand img { height: 46px; width: auto; }
.footer-brand p { font-size: 14px; line-height: 1.8; max-width: 340px; }
.footer-bottom { border-top: 1px solid var(--line); padding-top: 22px; display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; font-size: 12px; color: #8A8380; line-height: 1.7; }
.footer-bottom a { color: #8A8380; }
.footer-bottom a:hover { color: var(--green-light); }
.footer-legal { font-size: 12px; color: #8A8380; line-height: 1.7; max-width: 980px; }
.eho { display: inline-flex; align-items: center; gap: 8px; }
.eho svg { width: 18px; height: 18px; fill: currentColor; }
.to-top { position: fixed; right: 22px; bottom: 22px; width: 44px; height: 44px; border: 1px solid var(--line-2); background: rgba(20,18,19,.85); color: var(--ink); cursor: pointer; opacity: 0; visibility: hidden; transition: all .25s ease; z-index: 40; }
.to-top.show { opacity: 1; visibility: visible; }
.to-top:hover { border-color: var(--green); color: var(--green-light); }

/* ---------- reveal animation ---------- */
html:not(.drg-motion) .drg-reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.drg-reveal.drg-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .drg-reveal { opacity: 1; transform: none; transition: none; } }

/* ---------- responsive ---------- */
@media (max-width: 760px) {
  .drg-section { padding: 80px 0; }
  .drg-section.tight { padding: 64px 0; }
  .drg-hero { min-height: 0; padding-top: calc(var(--header-h) + var(--util-h) + 56px); padding-bottom: 64px; }
  .drg-hero h1 { font-size: clamp(40px, 11vw, 64px); }
  .drg-band .wrap { padding-top: 64px; padding-bottom: 64px; }
  .drg-cta-box { padding: 28px; }
  .lead-form { padding: 24px; }
  .sec-head { margin-bottom: 36px; }
  .county-card h3 { font-size: 30px; }
  .county-card .wp-block-image { aspect-ratio: 4 / 3; }
  .drg-faq summary { font-size: 20px; padding-right: 36px; }
  .site-footer .wrap { padding-top: 64px; }
  .to-top { width: 36px; height: 36px; right: 12px; bottom: 12px; opacity: .7; }
  .to-top.show { opacity: .7; }
}


/* ---------- motion layer (assets/js/motion.js adds .drg-motion to <html>; everything is visible without it) ---------- */
.drg-motion .drg-hero::before { translate: 0 var(--py, 0); }
.drg-motion .drg-hero h1 .w { display: inline-block; opacity: 0; transform: translateY(.55em) rotate(1.5deg); transform-origin: left bottom; transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .9s cubic-bezier(.2,.7,.2,1); will-change: transform; }
.drg-motion .drg-hero.hero-in h1 .w { opacity: 1; transform: none; }
.drg-motion .drg-hero .kicker, .drg-motion .drg-hero .hero-row { opacity: 0; transform: translateY(18px); transition: opacity .8s ease .55s, transform .9s cubic-bezier(.2,.7,.2,1) .55s; }
.drg-motion .drg-hero .kicker { transition-delay: .15s; }
.drg-motion .drg-hero.hero-in .kicker, .drg-motion .drg-hero.hero-in .hero-row { opacity: 1; transform: none; }
.drg-motion .drg-hero.hero-in .hero-scroll-cue { opacity: .8; }
.scroll-progress { position: fixed; top: 0; left: 0; height: 2px; width: 100%; background: var(--green); transform-origin: left; transform: scaleX(0); z-index: 70; pointer-events: none; }
.drg-motion .m-reveal { opacity: 0; transform: translateY(34px); transition: opacity .9s cubic-bezier(.2,.7,.2,1), transform 1s cubic-bezier(.2,.7,.2,1); }
.drg-motion .m-reveal.m-in { opacity: 1; transform: none !important; }
@media (max-width: 760px) { .drg-motion .svc-row.m-reveal:not(.m-in), .drg-motion .drg-feature .text.m-reveal:not(.m-in), .drg-motion .drg-contact > .col:last-child.m-reveal:not(.m-in) { transform: translateY(24px); } }
.drg-motion .svc-row.m-reveal:not(.m-in) { transform: translateX(-28px); }
.drg-motion .drg-feature .text.m-reveal:not(.m-in), .drg-motion .drg-contact > .col:last-child.m-reveal:not(.m-in) { transform: translateX(28px); }
.drg-motion .stat.m-reveal:not(.m-in) { transform: translateY(18px); }
.drg-motion .stat.m-in { animation: drg-rule 1s ease both; }
@keyframes drg-grow { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes drg-rule { from { border-top-color: transparent; } to { border-top-color: var(--green); } }
.drg-motion .m-curtain { position: relative; overflow: hidden; }
.drg-motion .m-curtain::after { content: ""; position: absolute; inset: 0; background: var(--surface-3); transform-origin: top; transform: scaleY(1); transition: transform 1.1s cubic-bezier(.77,0,.18,1) .1s; z-index: 2; pointer-events: none; }
.drg-motion .m-curtain img { transform: scale(1.12); transition: transform 1.4s cubic-bezier(.2,.7,.2,1) .1s, filter .6s ease; }
.drg-motion .m-in .m-curtain::after, .drg-motion .m-curtain.m-in::after { transform: scaleY(0); }
.drg-motion .m-in .m-curtain img, .drg-motion .m-curtain.m-in img { transform: scale(1); }
.drg-motion .county-card:hover .wp-block-image img { transform: scale(1.04); }
.drg-motion .sec-head .kicker { position: relative; padding-left: 0; transition: padding-left .9s cubic-bezier(.2,.7,.2,1) .2s; }
.drg-motion .sec-head.m-in .kicker { padding-left: 36px; }
.drg-motion .sec-head .kicker::before { content: ""; position: absolute; left: 0; top: 50%; height: 1px; width: 0; background: var(--green); transition: width .9s cubic-bezier(.2,.7,.2,1) .2s; }
.drg-motion .sec-head.m-in .kicker::before { width: 24px; }
.drg-motion .drg-hero.compact::before { translate: 0 var(--py, 0); }
.drg-motion .wp-block-button .wp-block-button__link { position: relative; overflow: hidden; }
.drg-motion .wp-block-button .wp-block-button__link::after { content: ""; position: absolute; inset: 0; background: var(--green); transform: translateX(-101%); transition: transform .35s cubic-bezier(.2,.7,.2,1); z-index: -1; }
.drg-motion .wp-block-button .wp-block-button__link:hover { background: var(--ink); color: #fff; border-color: var(--green); }
.drg-motion .wp-block-button .wp-block-button__link:hover::after { transform: none; }
.drg-motion .wp-block-button .wp-block-button__link { z-index: 0; }
.drg-motion .drg-faq summary { transition: padding-left .3s ease, color .2s ease; }
.drg-motion .drg-faq details[open] summary { padding-left: 14px; color: var(--green-light); }
.drg-motion .drg-faq details[open] p { animation: drg-fade .5s ease both; }
@keyframes drg-fade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.drg-motion .to-top.show { animation: drg-fade .4s ease; }
@media (prefers-reduced-motion: reduce) { .drg-motion .m-reveal, .drg-motion .drg-hero h1 .w, .drg-motion .drg-hero .kicker, .drg-motion .drg-hero .hero-row { opacity: 1; transform: none; transition: none; } .drg-motion .m-curtain::after { display: none; } }

/* ---------- v2.0 (Revision 1) ---------- */
/* utility bar: phone, DRE, Client login (top corner) */
.utility-bar { border-bottom: 1px solid rgba(255,255,255,.08); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; }
.utility-bar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: var(--util-h); }
.utility-bar a { color: var(--ink-2); }
.utility-bar a:hover { color: var(--green-light); }
.util-left { display: flex; gap: 22px; align-items: center; color: var(--muted); }
.util-login { display: inline-flex; align-items: center; gap: 7px; }
@media (max-width: 560px) { .util-dre { display: none; } .utility-bar { font-size: 10px; letter-spacing: .1em; } }
.drawer .drawer-book { background: var(--ink); color: var(--on-light); text-align: center; text-transform: uppercase; letter-spacing: .2em; font-size: 12px; border: 0; padding: 14px; margin: 8px 0 10px; }
.drawer .drawer-login { color: var(--green-light); margin-top: 14px; }

/* hero doors: Sell | Buy */
.doors { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 16px; max-width: 920px; width: 100%; }
.door { background: rgba(20,18,19,.62); border: 1px solid rgba(242,238,232,.22); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); padding: 26px 26px 24px; display: flex; flex-direction: column; gap: 10px; cursor: pointer; transition: border-color .25s ease, background .25s ease, transform .25s ease; }
.door:hover { border-color: var(--green); background: rgba(20,18,19,.8); transform: translateY(-2px); }
.door .kicker { margin: 0 !important; }
.door h2 { font-size: clamp(28px, 2.6vw, 38px); }
.door p.note { color: var(--ink-2); font-size: 14px; }
.door .wp-block-buttons { margin-top: 6px; }
.drg-hero.home-hero .hero-sub { max-width: 720px; }

/* proof strip — every number links to its source */
.proof-strip { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 0; border-top: 1px solid var(--line-2); border-bottom: 1px solid var(--line-2); }
.proof-item { padding: 30px 26px; border-left: 1px solid var(--line-2); display: flex; flex-direction: column; gap: 8px; }
.proof-item:first-child { border-left: 0; }
.proof-item .proof-num { font-family: var(--serif); font-size: clamp(34px, 3.4vw, 50px); line-height: 1.05; }
.proof-item .proof-num a { color: var(--ink); }
.proof-item .proof-label { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); line-height: 1.6; }
.proof-item .proof-src a { font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--green-light); border-bottom: 1px solid var(--green-deep); padding-bottom: 3px; }
@media (max-width: 760px) { .proof-item { border-left: 0; border-top: 1px solid var(--line-2); padding: 22px 0; } .proof-item:first-child { border-top: 0; } }
.drg-proof { padding: 56px 0; }
.proof-points { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 28px 40px; }
.proof-point { border-top: 1px solid var(--green); padding-top: 20px; display: flex; flex-direction: column; gap: 10px; }
.proof-point h3 { font-size: 28px; }
.drg-light .proof-point .note { color: var(--on-light-2); }

/* ask: the page's one primary action, directly under its proof */
.drg-ask { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 56px; align-items: start; }
.drg-ask .col { display: flex; flex-direction: column; gap: 20px; }
.drg-ask .idx-embed { grid-column: 1 / -1; }

/* properties */
.prop-card { display: flex; flex-direction: column; gap: 10px; cursor: pointer; }
.prop-card .thumb { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--surface-3); display: block; }
.prop-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s ease; }
.prop-card:hover .thumb img { transform: scale(1.04); }
.prop-card .chip { position: absolute; left: 14px; top: 14px; background: var(--ink); color: var(--on-light); font-size: 10px; letter-spacing: .2em; text-transform: uppercase; padding: 6px 10px; }
.prop-card.status-sold .chip { background: var(--red); color: #fff; }
.prop-card.status-development .chip, .prop-card.status-coming-soon .chip { background: var(--green); color: #fff; }
.prop-card .price { font-family: var(--serif); font-size: 26px; margin-top: 6px; }
.prop-card h3 { font-size: 24px; line-height: 1.2; }
.prop-card .facts { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.films { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 24px; align-items: start; }
.films .film { margin: 0; display: flex; flex-direction: column; gap: 12px; }
.films figcaption { font-size: 14px; color: var(--muted); }
@media (max-width: 900px) { .films { grid-template-columns: 1fr; } }
.listings-wrap { display: flex; flex-direction: column; gap: 48px; }

/* process steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 0 40px; counter-reset: step; }
.step { border-top: 1px solid var(--line-2); padding: 26px 0 30px; display: flex; flex-direction: column; gap: 10px; counter-increment: step; }
.step h3 { font-size: 26px; display: flex; gap: 16px; align-items: baseline; }
.step h3::before { content: counter(step, decimal-leading-zero); font-family: var(--sans); font-size: 12px; letter-spacing: .2em; color: var(--green-light); }
.drg-light .step { border-color: var(--on-light-line); }
.drg-light .step h3::before { color: var(--green-deep); }
.portal-card { background: var(--surface); border: 1px solid var(--line-2); padding: 40px; display: flex; flex-direction: column; gap: 16px; }
.drg-light .portal-card { background: #fff; border-color: var(--on-light-line); }
.team-strip { font-size: 14px; line-height: 1.9; color: var(--muted); letter-spacing: .02em; }
.team-strip strong { color: var(--ink); font-weight: 500; }
.drg-light .team-strip { color: var(--on-light-2); }
.drg-light .team-strip strong { color: var(--on-light); }

/* team page groups */
.team-founder { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr)); gap: 56px; align-items: center; }
.team-founder .wp-block-image { margin: 0; aspect-ratio: 4 / 5; overflow: hidden; max-width: 460px; }
.team-founder .wp-block-image img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; }
.team-group { display: flex; flex-direction: column; gap: 28px; }
.team-group + .team-group { margin-top: 72px; }
.team-group > h2 { font-size: clamp(30px, 3vw, 42px); }
.team-group .team-grid { grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 290px)); }
.team-card .silhouette { font-size: 0; }
.team-card .silhouette::before { content: ""; width: 46%; aspect-ratio: 1; margin: auto; border-radius: 50%; background: radial-gradient(circle at 50% 38%, #3A3536 0 28%, transparent 29%), radial-gradient(ellipse at 50% 100%, #3A3536 0 48%, transparent 49%); opacity: .8; }
.team-card .silhouette { align-items: center; justify-content: center; }

/* videos page */
.series-nav { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 56px; }
.series-nav a { border: 1px solid var(--line-2); padding: 10px 16px; font-size: 11px; letter-spacing: .18em; text-transform: uppercase; }
.series-nav a:hover { border-color: var(--green); color: var(--green-light); }
.series { scroll-margin-top: 90px; }
.series + .series { margin-top: 88px; }
.series > h2 { margin-bottom: 32px; }
.series-item { display: flex; flex-direction: column; gap: 12px; }
.series-item h3 { font-size: 24px; line-height: 1.25; }
.series-item .meta { font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }

/* forms: consent + status */
.lead-form .sms-consent { flex-direction: row; gap: 12px; align-items: flex-start; text-transform: none; letter-spacing: 0; font-size: 12px; line-height: 1.6; color: var(--muted); }
.lead-form .sms-consent input { width: 18px; height: 18px; flex: 0 0 18px; margin-top: 2px; padding: 0; accent-color: var(--green); }
.lead-form .consent a { color: var(--green-light); text-decoration: underline; text-underline-offset: 2px; }
.lead-form .form-status { font-size: 14px; color: var(--green-light); min-height: 1px; }
.lead-form .form-status.bad { color: #FF8A8F; }
.lead-form [aria-invalid="true"] { border-color: #FF8A8F; }
.drg-light .lead-form .form-status { color: var(--green-deep); }
.drg-light .lead-form .form-status.bad { color: #B3202B; }
.drg-light .lead-form .sms-consent, .drg-light .lead-form .consent { color: var(--on-light-2); }
.drg-light .lead-form .consent a { color: var(--green-deep); }

/* booking band with NAP + map (homepage close) */
.drg-book { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 56px; align-items: start; }
.drg-book .col { display: flex; flex-direction: column; gap: 22px; }

/* accessibility: visible keyboard focus everywhere */
:focus-visible { outline: 2px solid var(--green-light); outline-offset: 3px; }
.drg-light :focus-visible { outline-color: var(--green-deep); }
.lead-form input:focus-visible, .lead-form select:focus-visible, .lead-form textarea:focus-visible { outline: 2px solid var(--green-light); outline-offset: 1px; }
.footer-bottom, .footer-bottom a, .footer-legal { color: #A39C97; }

/* single property sites — style presets (wp-admin → Properties → Property details → style) */
.prop-site .drg-hero:not(.compact) { min-height: 86vh; }
.prop-facts { border-bottom: 1px solid var(--line); background: var(--surface-2); }
.prop-facts dl { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 0; margin: 0; }
.prop-facts dl > div { padding: 24px 18px; border-left: 1px solid var(--line); }
.prop-facts dl > div:first-child { border-left: 0; padding-left: 0; }
.prop-facts dt { font-size: 10px; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); }
.prop-facts dd { margin: 6px 0 0; font-family: var(--serif); font-size: 26px; }
.prop-content { max-width: 1000px; }
.prop-content > * + * { margin-top: 1.4em; }
.prop-content p { font-size: 18px; line-height: 1.85; color: var(--ink-2); max-width: 760px; }
.prop-content .wp-block-gallery { margin-top: 48px; gap: 12px; }
.prop-film .video-embed { margin-top: 20px; }
body.prop-style-redwood { --bg: #16130F; --surface: #221C16; --surface-2: #1B1611; --surface-3: #2A221A; --line: #33291F; --line-2: #403427; --green: #4F7A3A; --green-light: #9CC17F; --green-deep: #3D6230; --ink: #F1EADF; }
body.prop-style-beach { --bg: #F6F1E7; --surface: #FFFFFF; --surface-2: #EFE7D8; --surface-3: #E4DACA; --line: #DDD2BF; --line-2: #CFC2AC; --ink: #1F2A30; --ink-2: #33434B; --muted: #5E6B70; --green: #2A7F8E; --green-light: #1F6C7A; --green-deep: #1F6C7A; --on-light: #F6F1E7; }
body.prop-style-beach .site-header:not(.scrolled) a, body.prop-style-beach .drg-hero { color: #F6F1E7; }
body.prop-style-beach .drg-hero h1, body.prop-style-beach .drg-hero .hero-sub { color: #fff; }
body.prop-style-beach .site-header.scrolled { background: rgba(246,241,231,.94); }
body.prop-style-beach .site-header.scrolled .nav a, body.prop-style-beach .site-header.scrolled .utility-bar a { color: #1F2A30; }
body.prop-style-vineyard { --bg: #191314; --surface: #241A1C; --surface-2: #1E1618; --surface-3: #2D2023; --line: #382A2D; --line-2: #463538; --green: #8C2F3F; --green-light: #E0A0AA; --green-deep: #6F2532; }
body.prop-style-urban { --bg: #111315; --surface: #1A1D20; --surface-2: #15181A; --surface-3: #22262A; --line: #2A2F33; --line-2: #363C41; --green: #C9A35B; --green-light: #E6C989; --green-deep: #9E7E3F; }

.idx-slot:not(:has(.idx-embed, .prop-grid)) { display: none; }
.faq-more .faq-all > summary { font-family: var(--sans); font-size: 12px; letter-spacing: .2em; text-transform: uppercase; padding: 22px 40px 22px 0; }
.faq-more .faq-all .drg-faq { border-top: 0; }
.faq-more.drg-faq { border-top: 0; margin-top: 48px; margin-bottom: 32px; }

.footer-disclaimer { font-size: 11px; color: #8A8380; line-height: 1.7; max-width: 1100px; margin-top: -24px; }
.proof-point.proof-stat .proof-big { font-family: var(--serif); font-size: clamp(44px, 4.6vw, 64px); line-height: 1; }
.proof-point.proof-stat h3 { font-size: 20px; font-family: var(--sans); letter-spacing: .02em; }

/* Showcase IDX embeds on phones (2.2.1) */
.idx-embed .sidx-hotsheet form { width: auto !important; display: flex; justify-content: center; }
.idx-embed .sidx-hotsheet-see-all-results { width: auto !important; min-width: 0; white-space: nowrap; padding: 12px 22px !important; }
@media (max-width: 760px) {
  /* homepage teaser: swipeable row instead of a 7,000px stack; county + portfolio keep the full list */
  body.home #listings .idx-embed .sidx-grid { display: flex !important; flex-wrap: nowrap !important; overflow-x: auto; gap: 14px; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; padding: 0 0 12px; margin: 0 calc(-1 * var(--gutter)); padding-left: var(--gutter); padding-right: var(--gutter); scrollbar-width: thin; scrollbar-color: var(--green) transparent; }
  body.home #listings .idx-embed .sidx-grid > * { flex: 0 0 82%; max-width: 82%; scroll-snap-align: start; }
  body.home #listings .idx-embed .sidx-grid .sidx-search-result-grid-item { width: 100% !important; }
}

/* ---------- block editor ---------- */
.editor-styles-wrapper { background: var(--bg); color: var(--ink); font-family: var(--sans); }
.editor-styles-wrapper .drg-hero { min-height: 0; padding: 64px 24px; }
.editor-styles-wrapper .wrap { padding-left: 24px; padding-right: 24px; }
.editor-styles-wrapper .wp-block-group.drg-section { padding: 48px 0; border-top: 1px dashed var(--line-2); }
/* beach preset: light chrome needs the dark wordmark */
body.prop-style-beach .footer-brand .logo-light, body.prop-style-beach .site-header.scrolled .logo-light { display: none !important; }
body.prop-style-beach .footer-brand .logo-dark, body.prop-style-beach .site-header.scrolled .logo-dark { display: block !important; }
