/* James Fox Real Estate | colors pulled from the DRE logo (black, gold, white) */
:root{
  --black:#111111; --ink:#1f1f1f; --charcoal:#2b2b2b;
  --gold:#bd9222;          /* logo gold: use on dark backgrounds / as button fill */
  --gold-dark:#7a5c0e;     /* accessible gold for text on light backgrounds */
  --cream:#faf6ee; --sand:#f1e9d8; --white:#ffffff; --muted:#5b5b5b;
  --radius:14px; --shadow:0 6px 24px rgba(0,0,0,.08);
  --font:"Segoe UI",system-ui,-apple-system,Roboto,Helvetica,Arial,sans-serif;
  --serif:Georgia,"Times New Roman",serif;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth;scroll-padding-top:120px}
body{margin:0;font-family:var(--font);color:var(--ink);background:var(--cream);line-height:1.6;font-size:17px}
img,video{max-width:100%;display:block}
a{color:var(--gold-dark)}
a:hover{text-decoration-thickness:2px}
:focus-visible{outline:3px solid var(--gold);outline-offset:2px}
h1,h2,h3{font-family:var(--serif);line-height:1.2;margin:0 0 .6em;color:var(--black)}
h1{font-size:clamp(2rem,6vw,3.3rem)}
h2{font-size:clamp(1.6rem,4vw,2.3rem)}
h3{font-size:1.2rem}
.container{width:min(1140px,100% - 2.5rem);margin-inline:auto}
.skip-link{position:absolute;left:-999px;top:0;background:var(--gold);color:var(--black);padding:.6rem 1rem;z-index:100}
.skip-link:focus{left:0}

/* Header */
.site-header{background:var(--black);color:var(--white);position:sticky;top:0;z-index:50;border-bottom:3px solid var(--gold)}
.header-inner{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:.5rem 0;flex-wrap:wrap}
.brand{display:flex;align-items:center;gap:.75rem;text-decoration:none;color:var(--white)}
.brand img{width:64px;height:auto}
.brand-text{display:flex;flex-direction:column;line-height:1.15}
.brand-name{font-family:var(--serif);font-size:1.2rem;font-weight:700}
.brand-broker{color:var(--gold);font-weight:600;font-size:.95rem;letter-spacing:.03em}
.nav-toggle{background:none;border:2px solid var(--gold);color:var(--white);padding:.4rem .9rem;border-radius:8px;font:inherit;cursor:pointer}
.site-nav{display:none;width:100%;flex-direction:column;gap:.25rem;padding:.5rem 0 1rem}
.site-nav.open{display:flex}
.site-nav a{color:var(--white);text-decoration:none;padding:.55rem .25rem;font-weight:500}
.site-nav a:hover{color:var(--gold)}
.site-nav .btn{color:var(--black)}
@media (min-width:900px){
  .nav-toggle{display:none}
  .site-nav{display:flex;width:auto;flex-direction:row;align-items:center;gap:1.4rem;padding:0}
  .brand img{width:80px}
}

/* Buttons */
.btn{display:inline-block;background:var(--gold);color:var(--black);font-weight:700;text-decoration:none;padding:.85rem 1.4rem;border-radius:999px;border:2px solid var(--gold);cursor:pointer;font:inherit;font-weight:700}
.btn:hover{background:#d4a52b;border-color:#d4a52b}
.btn-ghost{background:transparent;color:var(--white);border-color:var(--white)}
.btn-ghost:hover{background:var(--white);color:var(--black)}
.btn-small{padding:.45rem 1rem}

/* Hero */
.hero{background:linear-gradient(135deg,rgba(17,17,17,.94),rgba(43,43,43,.9)),repeating-linear-gradient(45deg,#1a1a1a 0 2px,#151515 2px 14px);color:var(--white);padding:4.5rem 0 4rem}
.hero h1{color:var(--white);max-width:16ch}
.eyebrow{color:var(--gold);font-weight:700;text-transform:uppercase;letter-spacing:.12em;font-size:.85rem;margin:0 0 .8rem}
.lead{font-size:1.15rem;max-width:60ch;color:#e9e9e9}
.lead strong{color:var(--gold)}
.hero-actions{display:flex;flex-wrap:wrap;gap:.8rem;margin:1.6rem 0 1.2rem}
.hero-contact{color:#ddd;margin:0}
.hero-contact a{color:var(--white)}

/* Sections */
.section{padding:4rem 0}
.section-alt{background:var(--sand)}
.section-dark{background:var(--charcoal);color:#eee}
.section-dark h2,.section-dark h3{color:var(--white)}
.section-lead{font-size:1.1rem;max-width:65ch;color:var(--muted)}
.section-dark .section-lead{color:#d6d6d6}
.note{font-size:.95rem;color:var(--muted);border-left:4px solid var(--gold);padding-left:1rem;margin-top:2rem;max-width:75ch}
.note-dark{color:#d6d6d6}
.small{font-size:.88rem;color:var(--muted)}
.placeholder,.placeholder-inline{background:#fff3c4;border:2px dashed #b88a00;color:#4a3800;padding:.15rem .4rem;border-radius:6px}
.placeholder{display:block;padding:.8rem 1rem}

/* Cards */
.cards{display:grid;gap:1rem;grid-template-columns:1fr;margin-top:1.5rem}
@media (min-width:640px){.cards{grid-template-columns:repeat(2,1fr)}}
@media (min-width:1000px){.cards{grid-template-columns:repeat(4,1fr)} #invest .cards{grid-template-columns:repeat(3,1fr)}}
.card{background:var(--white);border-radius:var(--radius);padding:1.4rem;box-shadow:var(--shadow);border-top:4px solid var(--gold)}
.card p{margin:0;color:var(--muted)}
.card-dark{background:#1c1c1c;box-shadow:none}
.card-dark p{color:#cfcfcf}

/* About */
.about-grid{display:grid;gap:2rem;align-items:center}
@media (min-width:800px){.about-grid{grid-template-columns:320px 1fr}}
.headshot-placeholder{aspect-ratio:4/5;background:var(--sand);border:2px dashed #b88a00;border-radius:var(--radius);display:grid;place-items:center;text-align:center;color:#4a3800;font-weight:600;padding:1rem;max-width:320px}
.facts{list-style:none;padding:0;margin:1.2rem 0 0}
.facts li{padding:.45rem 0;border-bottom:1px solid #e3dccb}

/* Sell */
.sell-grid,.contact-grid{display:grid;gap:2rem;align-items:start}
@media (min-width:900px){.sell-grid,.contact-grid{grid-template-columns:1fr 1fr}}
.checklist{padding:0;list-style:none}
.checklist li{padding:.5rem 0 .5rem 2rem;position:relative}
.checklist li::before{content:"\2713";position:absolute;left:0;top:.45rem;color:var(--black);background:var(--gold);width:1.4rem;height:1.4rem;border-radius:50%;display:grid;place-items:center;font-size:.8rem;font-weight:700}

/* Forms */
.panel{background:var(--white);border-radius:var(--radius);padding:1.6rem;box-shadow:var(--shadow)}
.panel h3{margin-bottom:.3rem}
label{display:block;font-weight:600;margin:.9rem 0 .3rem}
input,select,textarea{width:100%;padding:.75rem;border:1.5px solid #9a9a9a;border-radius:8px;font:inherit;background:var(--white);color:var(--ink)}
input:focus,select:focus,textarea:focus{border-color:var(--gold-dark)}
.consent{display:flex;gap:.6rem;align-items:flex-start;margin-top:1rem}
.consent input{width:1.15rem;height:1.15rem;margin-top:.25rem;flex:none}
.consent label{font-weight:400;font-size:.85rem;margin:0;color:var(--muted)}
.panel .btn{margin-top:.6rem;width:100%}
.form-status{font-weight:600;color:var(--gold-dark);margin:.6rem 0 0}

/* Listings */
.listing-grid{display:grid;gap:1.2rem;grid-template-columns:1fr}
@media (min-width:700px){.listing-grid{grid-template-columns:repeat(2,1fr)}}
@media (min-width:1050px){.listing-grid{grid-template-columns:repeat(3,1fr)}}
.listing{background:var(--white);border-radius:var(--radius);overflow:hidden;box-shadow:var(--shadow)}
.listing img,.listing video{width:100%;aspect-ratio:4/3;object-fit:cover;background:#222}
.listing-body{padding:1rem 1.2rem 1.3rem}
.listing-body p{margin:.2rem 0}
.listing-status{display:inline-block;background:var(--black);color:var(--gold);font-weight:700;font-size:.8rem;padding:.2rem .6rem;border-radius:6px}
.listing-price{font-size:1.3rem;font-weight:700}
.listing-firm{font-size:.88rem;color:var(--muted)}
.empty-state{background:var(--white);border:2px dashed #c9b98f;border-radius:var(--radius);padding:2rem;text-align:center}

/* Contact */
.contact-list{list-style:none;padding:0}
.contact-list li{padding:.8rem 0;border-bottom:1px solid #e3dccb}
.contact-list span{display:block;font-size:.8rem;text-transform:uppercase;letter-spacing:.08em;color:var(--muted);font-weight:700}

/* Footer */
.site-footer{background:var(--black);color:#ddd;padding:3rem 0 2rem;border-top:3px solid var(--gold);font-size:.95rem}
.site-footer a{color:var(--gold)}
.footer-grid{display:grid;gap:2rem}
@media (min-width:900px){.footer-grid{grid-template-columns:1.2fr .9fr 1.4fr}}
.footer-brokerage{display:flex;gap:1rem;align-items:flex-start;flex-wrap:wrap}
.footer-brokerage img{width:150px;height:auto}
.footer-firm{font-family:var(--serif);font-size:1.35rem;color:var(--white);font-weight:700;margin:0 0 .3rem}
.site-footer p{margin:0 0 .8rem}
.site-footer .small{color:#bdbdbd}
.eho{display:flex;gap:.8rem;align-items:flex-start;font-size:.85rem}
.eho-logo{width:52px;height:52px;flex:none;color:var(--white)}
.site-footer .placeholder-inline{color:#4a3800}

/* Privacy page */
.prose{max-width:780px}
.prose h2{margin-top:2rem}

/* Hero brokerage card */
.hero-grid{display:grid;gap:2.5rem;align-items:center}
@media (min-width:900px){.hero-grid{grid-template-columns:1.5fr 1fr}}
.hero-card{background:var(--black);border:1px solid #3a3a3a;border-radius:var(--radius);padding:1.6rem;text-align:center;color:#ddd;max-width:360px;justify-self:center;width:100%}
.hero-card img{margin:0 auto 1rem;width:220px;height:auto}
.hero-card-firm{font-family:var(--serif);font-size:1.4rem;color:var(--gold);font-weight:700;margin:0 0 .3rem}
.hero-card p{margin:0 0 .3rem}
@media (max-width:799px){.headshot-placeholder{max-width:240px;margin-inline:auto;aspect-ratio:1/1;width:100%}}
@media (max-width:899px){
  .brand img{width:50px}
  .brand-name{font-size:1.05rem}
  .brand-broker{font-size:.85rem}
  .header-inner{gap:.5rem}
}

/* Header tap-to-call */
.header-actions{display:flex;align-items:center;gap:.5rem}
.header-call{display:inline-flex;align-items:center;gap:.35rem;background:var(--gold);color:var(--black);font-weight:700;text-decoration:none;padding:.45rem .8rem;border-radius:999px;white-space:nowrap;font-size:.95rem}
.header-call:hover{background:#d4a52b}
@media (max-width:899px){ .header-actions{width:100%} .header-call{flex:1;justify-content:center;padding:.5rem .8rem} }
@media (min-width:900px){ .header-inner{flex-wrap:nowrap} .header-actions{order:3} }

/* REALTOR® mark: keep ® small and not affecting line height */
sup.reg { font-size: .6em; line-height: 0; vertical-align: super; }

/* Headshot (About) */
.headshot{display:block;max-width:360px;width:100%;margin-inline:auto}
.headshot img{display:block;width:100%;height:auto;aspect-ratio:4/5;object-fit:cover;border-radius:var(--radius);box-shadow:0 10px 30px rgba(0,0,0,.12);border:3px solid #fff;outline:1px solid var(--sand)}
@media (max-width:799px){.headshot{max-width:280px}}
/* Agent row inside hero brokerage card */
.hero-agent{display:flex;align-items:center;justify-content:center;gap:.85rem;margin-top:.75rem;text-align:left}
.hero-card .hero-agent img{display:block;margin:0;flex:none;width:72px;height:72px;border-radius:50%;object-fit:cover;border:2px solid var(--gold)}
.hero-agent p{margin:0}
.hero-agent picture{flex:0 0 72px;display:block}
.hero-card .hero-agent img{max-width:none;aspect-ratio:1/1}
