/* ============================================================
   Chalker Properties — Listings Site
   Shared design system. BLUE AND GOLD.
   Palette set 2026-09-22 per Charisse: "I don't want black
   anymore, I want blue and gold." The prior brand dark ink
   (#0F1B2E) read as near-black on screen, so the dark tone here
   is pulled toward a true blue while gold stays the accent.
   ============================================================ */

:root{
  /* --- BLUE (the dark tone. reads blue, never black) --- */
  --blue-deep:#0D2E57;      /* footer / deepest band */
  --blue:#143C68;           /* primary dark background */
  --blue-mid:#1B4E8A;       /* secondary band, for rhythm */
  --blue-lift:#2463A8;      /* raised surfaces on blue */
  --blue-bright:#4E92D6;    /* links + glow accents on dark */

  /* --- GOLD (the accent) --- */
  --tan:#C6A882; --tan-deep:#7A6446;
  --tan-soft:#DCC6A2;
  --tan-pale:#F0E4CE;
  --line:rgba(198,168,130,.55);
  --line-blue:rgba(78,146,214,.28);

  /* --- NEUTRALS --- */
  --paper:#FAF7F1;
  --paper-warm:#F1EBDF;
  --white:#fff;
  --gray:#3d3d3d;
  --gray-soft:#6b6b6b;

  --serif:"Didot","Bodoni 72","Baskerville","Playfair Display",Georgia,serif;
  --sans:-apple-system,BlinkMacSystemFont,"Helvetica Neue",Helvetica,Arial,sans-serif;
}

*{margin:0;padding:0;box-sizing:border-box}
html{scroll-behavior:smooth}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto} .rise{transition:none!important}}
body{background:var(--paper);color:var(--gray);font-family:var(--sans);font-size:17px;line-height:1.65;-webkit-font-smoothing:antialiased}
img{max-width:100%;display:block}
a{color:inherit}

.wrap{max-width:680px;margin:0 auto;padding:0 24px}
.wide{max-width:1080px;margin:0 auto;padding:0 24px}
.label{font-size:12px;letter-spacing:.22em;text-transform:uppercase;color:var(--tan-deep);font-weight:600}
h1,h2,h3{color:var(--blue);font-family:var(--serif);font-weight:400;text-wrap:balance}
h1{font-size:clamp(31px,7vw,54px);line-height:1.07;letter-spacing:.01em}
h2{font-size:clamp(26px,5vw,38px);line-height:1.15;margin:10px 0 22px}
section{padding:64px 0}

/* ---------- TAB BAR (every page, all listings) ---------- */
.tabbar{position:sticky;top:0;z-index:60;background:var(--blue-deep);border-bottom:2px solid var(--tan)}
.tabbar-inner{max-width:1080px;margin:0 auto;display:flex;align-items:stretch;gap:0;overflow-x:auto;scrollbar-width:none}
.tabbar-inner::-webkit-scrollbar{display:none}
.tabbar .brand{display:flex;align-items:center;gap:10px;padding:0 20px;flex-shrink:0;text-decoration:none;
  border-right:1px solid rgba(255,255,255,.12)}
.tabbar .brand b{font-family:var(--serif);font-size:17px;color:var(--tan-soft);font-weight:400;white-space:nowrap}
.tab{display:flex;flex-direction:column;justify-content:center;padding:11px 18px;text-decoration:none;flex-shrink:0;
  border-bottom:3px solid transparent;transition:background .2s,border-color .2s}
.tab span{font-size:10.5px;letter-spacing:.16em;text-transform:uppercase;color:var(--blue-bright);font-weight:600}
.tab b{font-size:14.5px;font-weight:600;color:#E8EEF6;white-space:nowrap;margin-top:2px}
.tab:hover{background:var(--blue-mid)}
.tab[aria-current="page"]{background:var(--blue-mid);border-bottom-color:var(--tan)}
.tab[aria-current="page"] span{color:var(--tan-soft)}

/* ---------- BUTTONS ---------- */
.cta{display:inline-block;background:var(--tan);color:#0D2E57;text-decoration:none;font-weight:700;font-size:17px;
  padding:15px 34px;border-radius:2px;letter-spacing:.04em;border:none;cursor:pointer;font-family:var(--sans)}
.cta:hover{background:#B99872}
.cta.ghost{background:transparent;color:var(--tan-soft);border:1px solid var(--tan)}
.cta.ghost:hover{background:rgba(198,168,130,.2)}
.cta:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid var(--blue-bright);outline-offset:2px}

/* ---------- FACTS STRIP ---------- */
.facts{border-top:1px solid var(--line);border-bottom:1px solid var(--line);background:var(--paper)}
.facts-row{display:grid;grid-template-columns:repeat(4,1fr);max-width:1080px;margin:0 auto}
.fact{text-align:center;padding:22px 8px;border-left:1px solid var(--line)}
.fact:first-child{border-left:none}
.fact b{display:block;font-family:var(--serif);font-weight:400;font-size:clamp(21px,4vw,30px);color:var(--blue);font-variant-numeric:tabular-nums}
.fact span{font-size:11.5px;letter-spacing:.16em;text-transform:uppercase;color:var(--gray-soft)}

/* ---------- FORM ---------- */
.field{margin-bottom:14px}
.field label{display:block;font-size:13px;letter-spacing:.14em;text-transform:uppercase;color:var(--gray);margin-bottom:6px;font-weight:600}
.field input,.field select,.field textarea{width:100%;padding:13px 14px;font-size:17px;border:1px solid #b9c3d1;
  background:var(--white);font-family:var(--sans);color:var(--gray);border-radius:2px}
.field textarea{min-height:96px;resize:vertical}
.grid2{display:grid;grid-template-columns:1fr;gap:0 14px}
@media(min-width:560px){.grid2{grid-template-columns:1fr 1fr}}
.gate-btn{width:100%;margin-top:6px}
.gate-note{font-size:13px;color:var(--gray-soft);margin-top:12px;text-align:center}

/* ---------- AGENT + FOOTER ---------- */
.agent{background:var(--blue);color:#DDE6F1;text-align:center}
.agent .label{color:var(--tan-soft)}
.agent h2,.agent-names{color:#fff}
.agent-names{font-family:var(--serif);font-size:clamp(26px,5vw,36px);margin:12px 0 4px}
.agent-team{font-family:var(--serif);font-style:italic;font-size:19px;color:#B9CADF}
.agent-meta{margin-top:14px;font-size:15px;color:#9FB3CC;line-height:1.9}
.agent-phone{display:inline-block;margin-top:20px;font-family:var(--serif);font-size:clamp(20px,4vw,24px);
  color:var(--tan-soft);text-decoration:none;border-bottom:1px solid var(--line);padding-bottom:2px}
footer{background:var(--blue-deep);color:#7e93ad;font-size:12.5px;text-align:center;padding:26px 24px 96px;line-height:1.8}
footer a{color:#9FB3CC}

/* ---------- STICKY CONTACT BAR ---------- */
.textbar{position:fixed;left:0;right:0;bottom:0;background:var(--tan);display:flex;z-index:70;
  box-shadow:0 -6px 18px rgba(13,46,87,.3)}
.textbar a{flex:1;text-align:center;padding:16px 10px;color:#0D2E57;text-decoration:none;font-weight:700;font-size:16px;letter-spacing:.03em}
.textbar a+a{border-left:1px solid rgba(13,46,87,.28)}
@media(min-width:760px){.textbar{max-width:430px;left:auto;right:28px;bottom:24px;border-radius:3px}}

/* ---------- SCROLL REVEAL ---------- */
html.js .rise{opacity:0;transform:translateY(14px);transition:opacity .6s ease,transform .6s ease}
html.js .rise.in{opacity:1;transform:none}

/* ---------- AGENT PHOTO ---------- */
.agent-photo{width:116px;height:116px;border-radius:50%;object-fit:cover;margin:14px auto 2px;
  border:2px solid var(--tan);box-shadow:0 8px 24px rgba(0,0,0,.3)}

/* ---------- TAB BAR ON PHONES ----------
   Most of this traffic arrives from Instagram and Facebook on a phone. The
   listing tabs are the point of the bar, so the brand block shrinks and gets
   out of their way instead of pushing them off screen. */
@media(max-width:700px){
  .tabbar .brand{padding:0 12px}
  .tabbar .brand b{font-size:13px}
  .tab{padding:8px 13px}
  .tab b{font-size:13px}
  .tab span{font-size:9.5px;letter-spacing:.12em}
}
@media(max-width:420px){
  .tabbar .brand{display:none}
}
