/*
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: 1.0.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;
}
@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%; }
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 .wrap { 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 .wrap { height: 72px; }
.brand { display: flex; align-items: center; flex: 0 0 auto; }
.brand img { height: 38px; width: auto; }
.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: 32px; } }
@media (max-width: 980px) {
  .nav { display: none; }
  .hamburger { display: inline-flex; }
}
/* mobile drawer */
.drawer { 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); }
.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) + 80px) 0 88px; background: var(--surface-3); overflow: hidden; isolation: isolate; }
.drg-hero.compact { min-height: 0; padding: calc(var(--header-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,.55) 0%, rgba(20,18,19,.35) 40%, rgba(20,18,19,.82) 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; }
.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; 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-fit, minmax(min(100%, 320px), 1fr)); gap: 40px 24px; }
.archive-grid .post-card { flex: none; }
.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; border-radius: 50%; }
.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; }

/* 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: 34px; 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 ---------- */
.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) + 64px); 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; }
}

/* ---------- 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); }
