:root{
  --ink:#1B1B1A; --ink-deep:#141413; --stone:#F3F1EC; --sand:#E9E5DC; --photo:#E4DED3; --photo-dark:#2C2B29;
  --text:#3A3834; --muted:#5C564C; --on-dark-muted:#CFC8BA;
  --accent:#7A5C32; --accent-dark:#C9A978;
  --display:'Lexend Giga','Lexend',system-ui,sans-serif;
  --body:'Lexend',system-ui,sans-serif;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:var(--stone);color:var(--ink);font-family:var(--body);font-weight:400;font-size:16px;line-height:1.75}
a{color:inherit;text-decoration:none}
a:hover{opacity:.75}
.wrap{max-width:1200px;margin:0 auto;padding:0 24px}
h1,h2{font-family:var(--display);font-weight:300;text-transform:uppercase;letter-spacing:.02em;margin:0}
h3{font-family:var(--body);font-weight:300;text-transform:uppercase;letter-spacing:.06em;margin:0;font-size:22px;line-height:1.3}
h1{font-size:clamp(30px,3.8vw,52px);line-height:1.18}
h2{font-size:clamp(24px,2.8vw,38px);line-height:1.2}
p{margin:0}
.eyebrow{font-size:12px;letter-spacing:.2em;text-transform:uppercase;color:var(--accent);font-weight:400}
.eyebrow.on-dark{color:var(--accent-dark)}
.btn{display:inline-block;padding:16px 30px;font-size:13px;font-weight:500;letter-spacing:.14em;text-transform:uppercase}
.btn-gold{background:var(--accent-dark);color:var(--ink)}
.btn-line{border:1px solid #6F695E;color:var(--stone)}
.btn-ink{background:var(--ink);color:var(--stone)}
section{padding:104px 0}
.dark{background:var(--ink);color:var(--stone)}
.sand{background:var(--sand)}
.row{display:flex;flex-wrap:wrap;gap:24px}
.ph{background:var(--photo);color:var(--muted);display:flex;align-items:center;justify-content:center;text-align:center;padding:24px;font-size:12px;letter-spacing:.14em;text-transform:uppercase}

/* header */
header{background:var(--stone);color:var(--ink);border-bottom:1px solid #DCD5C8}
header .wrap{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:16px 32px;padding-top:20px;padding-bottom:20px}
.logo{display:flex;flex-direction:column;gap:2px;font-family:var(--display);font-size:16px;font-weight:300;letter-spacing:.14em;text-transform:uppercase;line-height:1.3}
.logo small{font-family:var(--body);font-size:11px;letter-spacing:.16em;color:var(--muted)}
nav{display:flex;flex-wrap:wrap;align-items:center;gap:8px 28px;font-size:12px;letter-spacing:.14em;text-transform:uppercase}
nav a{padding:10px 0}
nav a.cta{padding:12px 22px;border:1px solid var(--accent);color:var(--accent)}

/* hero */
.hero{padding:72px 0 0;background:var(--sand)}
.hero-grid{display:flex;flex-wrap:wrap;align-items:center;gap:56px;padding-bottom:88px}
.hero-text{flex:1 1 460px;min-width:0;display:flex;flex-direction:column;gap:28px}
.hero-text p.lead{font-size:17px;color:var(--text);max-width:580px}
.btn-outline{border:1px solid var(--ink);color:var(--ink)}
.hero-photo{flex:1 1 380px;min-width:0;width:100%;height:600px;object-fit:cover;object-position:50% 40%;display:block}
.stats{border-top:1px solid #D3CCBF;padding:32px 0}
.stats .wrap{display:flex;flex-wrap:wrap;gap:24px 48px}
.stat{flex:1 1 220px;display:flex;flex-direction:column;gap:4px}
.stat b{font-family:var(--body);font-size:26px;font-weight:300;color:var(--accent)}
.stat span{font-size:13px;color:var(--muted)}

/* about */
.about{display:flex;flex-wrap:wrap;align-items:center;gap:64px}
.about-photo{flex:1 1 360px;min-width:0;width:100%;height:680px;object-fit:cover;object-position:50% 50%;display:block}
.about-text{flex:1 1 460px;min-width:0;display:flex;flex-direction:column;gap:22px}
.about-text p{color:var(--text)}
.about-text p.standout{color:var(--ink);font-size:18px;border-left:2px solid var(--ink);padding-left:18px}

/* credentials */
.cred{display:flex;flex-wrap:wrap;gap:40px 32px}
.cred>div{flex:1 1 240px;min-width:0}
.cred h3{font-size:16px;margin-bottom:16px;color:var(--accent);letter-spacing:.14em}
.cred ul{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:12px;font-size:15px;color:var(--text)}
.cred li small{display:block;font-size:13px;color:var(--muted)}

/* sections */
.head{display:flex;flex-direction:column;gap:16px;max-width:760px;margin-bottom:48px}
.head p{color:var(--text)}
.card{flex:1 1 460px;min-width:0;background:#FBFAF7;border:1px solid var(--photo);display:flex;flex-direction:column}
.card-photo{position:relative;height:300px;overflow:hidden;background:var(--photo)}
.card-photo img{display:block;width:100%;height:100%;object-fit:cover}
.card-photo::after{content:"";position:absolute;inset:0;background:linear-gradient(to top,rgba(20,20,19,.62) 0%,rgba(20,20,19,0) 55%)}
.card-photo h3{position:absolute;left:32px;right:32px;bottom:24px;z-index:1;color:#FFFFFF;font-size:24px;letter-spacing:.08em}
.card-body{flex:1;padding:32px;display:flex;flex-direction:column;gap:20px}
.card p{font-size:15px;color:var(--text)}
.card .more{font-size:12px;letter-spacing:.14em;text-transform:uppercase;color:var(--accent);margin-top:auto}
.card:hover{opacity:1}.card:hover .card-photo img{transform:scale(1.02)}
.card-photo img{transition:transform .5s ease}
@media (prefers-reduced-motion:reduce){.card-photo img{transition:none}}
.all-link{margin-top:40px;text-align:center}
.listing{flex:1 1 440px;min-width:0;display:flex;flex-direction:column;gap:16px}
.listing .ph{height:340px;background:#DAD3C6}
.listing img{display:block;width:100%;height:340px;object-fit:cover}
.listing .meta{display:flex;flex-direction:column;gap:4px}
.listing .tag{font-size:12px;letter-spacing:.16em;text-transform:uppercase;color:var(--accent)}
.listing p{font-size:15px;color:var(--text)}
.svc{flex:1 1 420px;min-width:0;padding:40px;background:#FBFAF7;border:1px solid var(--photo);border-top:2px solid var(--ink);display:flex;flex-direction:column;gap:16px}
.svc h3{color:var(--ink)}
.svc p{font-size:15px;color:var(--text)}
.svc a{font-size:12px;letter-spacing:.14em;text-transform:uppercase;padding:12px 0;color:var(--accent);margin-top:auto}
.testimonial{padding:72px 0}
.quote{max-width:960px;margin:0 auto;display:flex;flex-wrap:wrap;align-items:center;gap:32px 48px}
.quote img{flex:0 0 220px;width:220px;height:280px;object-fit:cover;object-position:50% 25%;display:block}
.quote-text{flex:1 1 360px;min-width:0;display:flex;flex-direction:column;gap:16px}
.quote blockquote{margin:0;font-family:var(--body);font-size:clamp(18px,1.7vw,21px);line-height:1.6;font-weight:300;color:var(--ink)}
.quote cite{font-style:normal;font-size:12px;letter-spacing:.14em;text-transform:uppercase;color:var(--muted)}
.band{padding:88px 0}
.band .wrap{display:flex;flex-wrap:wrap;align-items:center;gap:32px 64px}
.band img{display:block;width:100%;max-width:360px;height:auto}
.band .about-mp{flex:1 1 400px;min-width:0;display:flex;flex-direction:column;gap:12px}
.band .about-mp h3{font-size:clamp(20px,2.2vw,28px);letter-spacing:.08em;color:var(--ink)}
.band .about-mp p{color:var(--text);font-size:15px}
.affil{flex:1 1 100%;display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:32px 72px;border-top:1px solid #D3CCBF;padding-top:48px;margin-top:8px}
.affil span{flex:1 1 100%;text-align:center;font-size:12px;letter-spacing:.16em;text-transform:uppercase;color:var(--muted)}
.affil img{width:auto;max-width:100%;opacity:.85}
.affil .fgp{height:76px}.affil .lpi{height:60px}.affil .lre{height:54px}

/* contact */
.contact{display:flex;flex-wrap:wrap;gap:64px}
.contact-info{flex:1 1 340px;min-width:0;display:flex;flex-direction:column;gap:24px}
.contact-info p{color:var(--text)}
.contact-info a{padding:6px 0;display:block}
form{flex:1 1 400px;min-width:0;display:flex;flex-direction:column;gap:20px}
.field{display:flex;flex-direction:column;gap:8px}
label{font-size:13px;color:var(--muted)}
input,select,textarea{background:#FBFAF7;border:1px solid #CFC7B8;color:var(--ink);font-family:inherit;font-size:16px;padding:0 16px;height:52px;width:100%}
textarea{padding:14px 16px;height:auto;resize:vertical}
select{padding:0 12px}
input:focus,select:focus,textarea:focus{outline:2px solid var(--accent);outline-offset:2px}
button{min-height:52px;padding:0 34px;background:var(--ink);color:var(--stone);border:0;font-family:inherit;font-size:13px;font-weight:500;letter-spacing:.14em;text-transform:uppercase;cursor:pointer}
.hp{position:absolute;left:-9999px}

footer{background:var(--stone);color:var(--muted);border-top:1px solid #D3CCBF;padding:56px 0;font-size:13px}
footer .cols{display:flex;flex-wrap:wrap;gap:24px 64px;margin-bottom:24px}
footer .cols>div{flex:1 1 320px;display:flex;flex-direction:column;gap:4px}
footer .name{font-family:var(--display);font-weight:300;font-size:16px;letter-spacing:.14em;text-transform:uppercase;color:var(--ink)}
footer img{width:220px;height:auto;margin-bottom:12px;display:block}
footer a{padding:6px 0}
footer small{font-size:12px;display:block}
footer .compliance{display:flex;align-items:center;gap:20px;margin-top:20px}
footer .compliance img{width:auto;height:52px;margin:0}

@media (max-width:640px){.quote img{flex-basis:100%;width:100%;height:360px}section{padding:72px 0}.hero-photo{height:460px}.about-photo{height:520px}.card{padding:28px}}

/* sold map */
#sold-map{height:540px;border:1px solid #D3CCBF;background:var(--photo);z-index:0}
.gray-tiles{filter:grayscale(1) contrast(.85) brightness(1.08)}
.leaflet-popup-content{font-family:var(--body);font-size:14px}
.pin{filter:drop-shadow(0 1px 2px rgba(0,0,0,.35))}
.legend{list-style:none;margin:20px 0 0;padding:0;display:flex;flex-wrap:wrap;justify-content:center;gap:12px 40px;font-size:15px;color:var(--ink)}
.legend li{display:flex;align-items:center;gap:10px}
.key{width:16px;height:16px;border-radius:50%;display:inline-block;box-sizing:border-box}
.key-forsale{background:#A8834F}
.key-forlease{background:#FFFFFF;border:3px solid #A8834F}
.key-sold{background:#1B1B1A}
.key-leased{background:#FFFFFF;border:3px solid #1B1B1A}
.leaflet-container a.leaflet-popup-close-button{color:var(--muted)}
@media (max-width:640px){#sold-map{height:420px}}

/* testimonial slider */
.slides{display:grid}
.slide{grid-area:1/1;margin:0;display:flex;flex-direction:column;gap:14px}
.slide[hidden]{display:flex;visibility:hidden}
.slide figcaption,.tt-quotes figcaption{font-size:12px;letter-spacing:.14em;text-transform:uppercase;color:var(--muted)}
.slide-nav{display:flex;align-items:center;gap:16px;margin-top:8px}
.slide-nav button{min-height:40px;width:40px;padding:0;background:transparent;color:var(--ink);border:1px solid var(--ink);font-size:20px;line-height:1}
.slide-nav button:hover{background:var(--ink);color:var(--stone)}
.slide-nav button:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
.slide-nav .count{font-size:13px;color:var(--muted);min-width:40px;text-align:center}
/* Tarrytown quotes */
.tt-quotes{display:flex;flex-wrap:wrap;gap:24px;margin-top:48px}
.tt-quotes figure{flex:1 1 380px;min-width:0;margin:0;background:#FBFAF7;border:1px solid var(--photo);border-top:2px solid var(--ink);padding:32px;display:flex;flex-direction:column;gap:14px}
.tt-quotes blockquote{margin:0;font-size:17px;font-weight:300;line-height:1.6;color:var(--ink)}
/* footer social */

/* direct contact */
.reach{text-align:center;display:flex;flex-direction:column;align-items:center;gap:20px}
.reach p{color:var(--text);max-width:600px}
.reach-links{display:flex;flex-wrap:wrap;justify-content:center;gap:12px 48px;margin-top:4px}
.reach-links a{font-family:var(--body);font-weight:300;font-size:clamp(20px,2.2vw,28px);letter-spacing:.02em;color:var(--ink);border-bottom:1px solid var(--ink);padding:4px 0}
.reach .office,.cta-band .office{font-style:normal;font-size:15px;color:var(--text);line-height:1.7;margin-top:4px}

/* three-up neighborhood cards on the home page */
.row.three .card{flex:1 1 300px}
.row.three .card-photo{height:260px}
/* sold listings toggle */
.btn-toggle{min-height:52px;padding:0 30px;background:transparent;color:var(--ink);border:1px solid var(--ink);font-family:var(--body);font-size:13px;font-weight:500;letter-spacing:.14em;text-transform:uppercase;cursor:pointer}
.btn-toggle:hover{background:var(--ink);color:var(--stone)}
.btn-toggle:focus-visible{outline:2px solid var(--accent);outline-offset:3px}
#sold-listings{margin-top:32px}
#sold-listings[hidden]{display:none}
/* Moreland stats */
.mp-stats{display:flex;flex-wrap:wrap;gap:16px 40px;margin-top:8px}
.mp-stats div{display:flex;flex-direction:column}
.mp-stats b{font-family:var(--body);font-weight:300;font-size:30px;line-height:1.2;color:var(--ink)}
.mp-stats span{font-size:13px;color:var(--muted)}
.mp-note{font-size:11px;color:var(--muted);line-height:1.5}


/* social icons in contact sections */
.follow{margin-top:16px;padding-top:24px;border-top:1px solid #D3CCBF;display:flex;flex-direction:column;align-items:center;gap:10px;min-width:min(420px,100%)}
.follow ul{list-style:none;margin:0;padding:0;display:flex;gap:14px}
.follow a{width:48px;height:48px;border:1px solid var(--ink);border-radius:50%;display:flex;align-items:center;justify-content:center;color:var(--ink);font-size:19px;transition:background .2s,color .2s}
.follow a:hover{opacity:1;background:var(--ink);color:var(--stone)}
.follow a:focus-visible{outline:2px solid var(--accent);outline-offset:3px}
.follow span{font-size:13px;letter-spacing:.06em;color:var(--muted)}

/* optical alignment: large display letters carry built-in left space, so nudge
   left-aligned headings so they line up with the labels and text beneath them */
h1{margin-left:-0.04em}
h2{margin-left:-0.08em}
.reach h2,.cta-band h2,.quote h2{margin-left:0}

/* compact menu on phones, tablets, and small laptops */
.menu-btn{display:none}
@media (max-width:1120px){
  header .wrap{flex-wrap:wrap;padding-top:16px;padding-bottom:16px}
  .menu-btn{display:inline-flex;align-items:center;min-height:44px;padding:0 18px;background:transparent;color:var(--ink);border:1px solid var(--ink);font-family:var(--body);font-size:12px;font-weight:500;letter-spacing:.16em;text-transform:uppercase;cursor:pointer}
  .menu-btn:focus-visible{outline:2px solid var(--accent);outline-offset:3px}
  header nav{display:none;flex:1 1 100%;flex-direction:column;align-items:flex-start;gap:0;padding:8px 0 4px;border-top:1px solid #DCD5C8}
  header.open nav{display:flex}
  header nav a{width:100%;padding:14px 0;font-size:13px;border-bottom:1px solid #E4DED3}
  header nav a.cta{margin-top:14px;width:auto;border:1px solid var(--accent)}
}

/* headings: room to breathe on wide screens; even line breaks when they must wrap */
.head{max-width:1000px}
.head p{max-width:760px}
h1,h2{text-wrap:balance}

/* testimonial photo: fill the full height of the quote area */
.quote{align-items:stretch}
.quote img{flex:0 0 300px;width:300px;height:auto;min-height:340px;object-fit:cover;object-position:50% 22%}
.quote-text{justify-content:center}
@media (max-width:760px){.quote img{flex:1 1 100%;width:100%;height:420px;min-height:0;object-position:50% 20%}}
@media (max-width:760px){.slide[hidden]{display:none}.slide-nav{margin-top:20px}}
