@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600&family=Cormorant+Garamond:wght@500;600;700&family=IBM+Plex+Mono:wght@500;600&display=swap');

:root{
  --green: #172E24;
  --green-deep: #0D1B15;
  --sand: #E7DCC0;
  --sand-light: #FAF6EC;
  --coral: #B3542C;
  --clay: #7F4432;
  --gold: #AC8A4E;
  --ink: #191712;
  --line: rgba(23,22,15,0.13);
  --max: 1180px;
}

*{box-sizing:border-box;}
html{scroll-behavior:smooth;}
body{
  margin:0;
  background:var(--sand-light);
  color:var(--ink);
  font-family:'Inter', sans-serif;
  font-size:16px;
  line-height:1.55;
}
img{max-width:100%;display:block;}
a{color:inherit;text-decoration:none;}
h1,h2,h3{
  font-family:'Cormorant Garamond', serif;
  font-weight:700;
  line-height:1.2;
  margin:0 0 .4em;
  letter-spacing:0;
}
h1{font-size:clamp(1.9rem, 3.4vw, 2.9rem);}
h2{font-size:1.6rem;}
h3{font-size:1.05rem; font-weight:700;}
.mono{
  font-family:'IBM Plex Mono', monospace;
  font-weight:500;
  letter-spacing:.02em;
}
.wrap{max-width:var(--max);margin:0 auto;padding:0 28px;}
.eyebrow{
  font-family:'IBM Plex Mono', monospace;
  font-size:0.8rem;
  letter-spacing:.14em;
  text-transform:uppercase;
  color:var(--clay);
  display:block;
  margin-bottom:14px;
}

/* focus visibility */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible{
  outline:2px solid var(--coral);
  outline-offset:3px;
}

@media (prefers-reduced-motion: reduce){
  *{animation:none !important; transition:none !important;}
}

/* ---------- Header ---------- */
.site-header{
  position:sticky; top:0; z-index:50;
  background:var(--sand-light);
  border-bottom:1px solid var(--line);
}
.site-header .wrap{
  display:flex; align-items:center; justify-content:space-between;
  height:78px;
}
.brand{
  font-family:'Cormorant Garamond', serif;
  font-size:1.55rem;
  font-weight:700;
  color:var(--green);
  display:flex; flex-direction:column; line-height:1.1;
}
.brand small{
  font-family:'IBM Plex Mono', monospace;
  font-size:11.5px;
  letter-spacing:.16em;
  text-transform:uppercase;
  color:var(--clay);
  font-weight:500;
  margin-top:3px;
}
nav.primary-nav{display:flex; align-items:center; gap:32px;}
nav.primary-nav a{
  font-size:12.5px; font-weight:600; color:var(--ink);
  padding:6px 0; border-bottom:2px solid transparent;
  text-transform:uppercase; letter-spacing:.09em;
}
nav.primary-nav a:hover, nav.primary-nav a[aria-current="page"]{
  border-bottom-color:var(--coral); color:var(--green);
}
.header-cta{
  background:var(--green); color:var(--sand-light) !important;
  padding:11px 20px; border-radius:3px; font-size:14px; font-weight:600;
  border-bottom:none !important;
}
.header-cta:hover{background:var(--green-deep);}
.menu-toggle{display:none;}

@media (max-width:820px){
  nav.primary-nav{
    position:fixed; inset:78px 0 0 0; background:var(--sand-light);
    flex-direction:column; align-items:flex-start; gap:0; padding:10px 28px 28px;
    transform:translateY(-8px); opacity:0; pointer-events:none; transition:.18s ease;
    border-top:1px solid var(--line);
  }
  nav.primary-nav.open{opacity:1; transform:translateY(0); pointer-events:auto;}
  nav.primary-nav a{width:100%; padding:14px 0; border-bottom:1px solid var(--line);}
  .header-cta{margin-top:10px; text-align:center;}
  .menu-toggle{
    display:block; background:none; border:1px solid var(--line); border-radius:3px;
    width:42px; height:38px; font-size:18px; color:var(--green); cursor:pointer;
  }
}

/* ---------- Hero (animated, home page only) ---------- */
.hero{
  position:relative; color:var(--sand-light);
  min-height:92vh; display:flex; align-items:flex-end;
  overflow:hidden; isolation:isolate;
}
.hero-slideshow{position:absolute; inset:-8%; z-index:0; overflow:hidden;}
.hero-slide{
  position:absolute; inset:0;
  background-size:cover; background-repeat:no-repeat; background-position:center;
  background-color:var(--green-deep);
  opacity:0; transform:scale(1.02);
  animation:heroCrossfade 30s infinite;
  will-change:opacity, transform;
}
.hero-slide:nth-child(1){animation-delay:0s;}
.hero-slide:nth-child(2){animation-delay:6s;}
.hero-slide:nth-child(3){animation-delay:12s;}
.hero-slide:nth-child(4){animation-delay:18s;}
.hero-slide:nth-child(5){animation-delay:24s;}
.hero-sheen{
  position:absolute; top:-60%; left:-25%; width:45%; height:220%;
  background:linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,.16) 50%, rgba(255,255,255,0) 100%);
  transform:rotate(10deg); animation:heroSheen 9s ease-in-out infinite;
  pointer-events:none; z-index:1;
}
.hero::after{
  content:""; position:absolute; inset:0; z-index:1;
  background:linear-gradient(180deg, rgba(9,18,14,.32) 0%, rgba(9,18,14,.5) 45%, rgba(9,18,14,.95) 100%);
}
/* 5 slides over a 30s loop = 6s per photo, with a 3s dissolve. The out-fade of one
   slide lands on exactly the same window as the in-fade of the next (both at the
   shared 10% / 30% marks), so opacity always sums to 1 — no gap, no flash. */
@keyframes heroCrossfade{
  0%{opacity:0; transform:scale(1.02);}
  10%{opacity:1;}
  20%{opacity:1; transform:scale(1.04);}
  30%{opacity:0; transform:scale(1.05);}
  100%{opacity:0; transform:scale(1.05);}
}
@keyframes heroSheen{
  0%{transform:translateX(0) rotate(10deg);}
  100%{transform:translateX(340%) rotate(10deg);}
}
.hero-inner{position:relative; z-index:2; padding-bottom:72px; width:100%;}
.eyebrow-light{color:var(--sand); opacity:.92;}
.hero-rule{
  display:block; width:52px; height:2px; background:var(--gold);
  margin:2px 0 22px;
}
.hero h1{font-size:clamp(1.9rem,4vw,3rem); color:#fff; max-width:640px;}
.hero p.lede{font-size:1.05rem; font-weight:400; max-width:500px; color:var(--sand); margin:16px 0 28px; line-height:1.6;}
.hero-actions{display:flex; gap:16px; flex-wrap:wrap;}

@media (prefers-reduced-motion: reduce){
  .hero-slide, .hero-sheen, .hero::after{animation:none !important;}
  .hero-slide:nth-child(1){opacity:1;}
  .hero-slide:nth-child(n+2){opacity:0;}
}

.btn{
  display:inline-block; padding:13px 26px; border-radius:3px;
  font-weight:600; font-size:14.5px; border:1px solid transparent; cursor:pointer;
}
.btn-primary{background:var(--coral); color:#fff;}
.btn-primary:hover{background:#d14a30;}
.btn-outline{border-color:rgba(255,255,255,.55); color:#fff;}
.btn-outline:hover{background:rgba(255,255,255,.12);}
.btn-solid-green{background:var(--green); color:var(--sand-light);}
.btn-solid-green:hover{background:var(--green-deep);}

/* ---------- Neighborhood chips (hero signature) ---------- */
.hood-strip{
  position:relative; z-index:1; margin-top:36px;
  display:flex; gap:10px; flex-wrap:wrap;
}
.hood-chip{
  font-family:'IBM Plex Mono', monospace; font-size:12.5px;
  border:1px solid rgba(255,255,255,.4); padding:7px 14px; border-radius:999px;
  color:#fff; background:rgba(0,0,0,.12);
}

/* ---------- Sections ---------- */
section{padding:88px 0;}
.section-head{max-width:640px; margin-bottom:44px;}
.section-head h2{font-size:1.6rem; color:var(--green);}
.section-head p{color:#4a4a42; font-size:16.5px;}

.band-green{background:var(--green); color:var(--sand-light);}
.band-green .section-head h2{color:#fff;}
.band-green .section-head p{color:rgba(232,220,196,.85);}

/* ---------- Trust strip ---------- */
.trust-strip{
  display:grid; grid-template-columns:repeat(4,1fr); gap:0;
  border:1px solid var(--line); border-radius:4px; overflow:hidden;
  background:#fff;
}
.trust-item{
  padding:26px 22px; border-right:1px solid var(--line);
}
.trust-item:last-child{border-right:none;}
.trust-item .num{font-family:'Cormorant Garamond', serif; font-size:1.7rem; color:var(--coral); font-weight:700;}
.trust-item .label{font-size:13.5px; color:#4a4a42; margin-top:4px;}
@media (max-width:760px){
  .trust-strip{grid-template-columns:repeat(2,1fr);}
  .trust-item{border-bottom:1px solid var(--line);}
}

/* ---------- Listing / property cards ---------- */
.card-grid{display:grid; grid-template-columns:repeat(3,1fr); gap:26px;}
@media (max-width:920px){.card-grid{grid-template-columns:repeat(2,1fr);}}
@media (max-width:620px){.card-grid{grid-template-columns:1fr;}}

.property-card{
  background:#fff; border:1px solid var(--line); border-radius:4px; overflow:hidden;
  transition:transform .15s ease, box-shadow .15s ease;
}
.property-card:hover{transform:translateY(-3px); box-shadow:0 14px 30px rgba(26,26,23,.12);}
.property-photo{aspect-ratio:4/3; overflow:hidden; position:relative;}
.property-photo img{width:100%; height:100%; object-fit:cover;}
.status-tag{
  position:absolute; top:14px; left:14px;
  font-family:'IBM Plex Mono', monospace; font-size:11px; letter-spacing:.08em;
  text-transform:uppercase; background:var(--green); color:#fff;
  padding:5px 10px; border-radius:2px;
}
.status-tag.sold{background:var(--clay);}
.property-body{padding:20px 20px 22px;}
.property-price{font-family:'IBM Plex Mono', monospace; font-size:21px; font-weight:600; color:var(--green);}
.property-addr{font-weight:600; margin:6px 0 2px; font-size:16.5px;}
.property-hood{color:#6b6a5f; font-size:13.5px; margin-bottom:12px;}
.property-specs{
  display:flex; gap:14px; font-family:'IBM Plex Mono', monospace; font-size:12.5px;
  color:#4a4a42; border-top:1px solid var(--line); padding-top:12px;
}

/* ---------- Citrus-crate "Recently Sold" strip (signature element) ---------- */
.crate-strip{
  background:var(--coral); color:#fff; overflow:hidden; padding:0;
}
.crate-strip .wrap{padding-top:54px; padding-bottom:54px;}
.crate-label{
  display:inline-block; border:3px solid #fff; padding:6px 16px; border-radius:2px;
  font-family:'IBM Plex Mono', monospace; font-size:12.5px; letter-spacing:.16em;
  text-transform:uppercase; margin-bottom:22px; transform:rotate(-1.2deg);
}
.crate-row{
  display:grid; grid-template-columns:repeat(4,1fr); gap:22px;
}
@media (max-width:920px){.crate-row{grid-template-columns:repeat(2,1fr);}}
@media (max-width:560px){.crate-row{grid-template-columns:1fr;}}
.crate-item{
  border:1px dashed rgba(255,255,255,.5); border-radius:3px; padding:18px;
}
.crate-item .sold-price{font-family:'IBM Plex Mono', monospace; font-size:22px; font-weight:600;}
.crate-item .sold-addr{font-weight:600; margin:6px 0 2px;}
.crate-item .sold-meta{font-size:12.5px; color:rgba(255,255,255,.85);}

/* ---------- Testimonials ---------- */
.testi-grid{display:grid; grid-template-columns:repeat(3,1fr); gap:24px;}
@media (max-width:900px){.testi-grid{grid-template-columns:1fr;}}
.testi-card{background:#fff; border:1px solid var(--line); border-radius:4px; padding:26px;}
.testi-quote{font-family:'Cormorant Garamond', serif; font-style:italic; font-weight:500; font-size:1.2rem; color:var(--green); margin-bottom:16px;}
.testi-who{font-family:'IBM Plex Mono', monospace; font-size:12.5px; color:var(--clay);}

/* ---------- Footer ---------- */
footer{background:var(--green-deep); color:rgba(232,220,196,.85); padding:56px 0 26px;}
.footer-grid{display:grid; grid-template-columns:1.4fr 1fr 1fr; gap:40px; margin-bottom:40px;}
@media (max-width:760px){.footer-grid{grid-template-columns:1fr; gap:28px;}}
footer h3{color:#fff; font-size:16px; margin-bottom:14px;}
footer a:hover{color:#fff;}
.footer-links a{display:block; padding:5px 0; font-size:14.5px;}
.eho{
  display:flex; align-items:center; gap:10px; margin-top:16px; font-size:12.5px;
}
.eho .glyph{
  width:26px; height:26px; border:1.5px solid rgba(232,220,196,.8); border-radius:2px;
  display:flex; align-items:center; justify-content:center; font-size:13px; font-weight:700;
  flex-shrink:0;
}
.legal-bar{
  border-top:1px solid rgba(232,220,196,.18); padding-top:22px;
  display:flex; justify-content:space-between; flex-wrap:wrap; gap:10px;
  font-size:12.5px; color:rgba(232,220,196,.6);
}

/* ---------- Generic content page bits ---------- */
.page-hero{
  background:var(--green); color:#fff; padding:64px 0 48px;
}
.page-hero .eyebrow{color:var(--sand);}
.page-hero h1{color:#fff; font-size:2rem;}
.about-hero h1{font-size:2.2rem;}
.page-hero p{color:rgba(232,220,196,.85); max-width:560px; font-size:16.5px;}

.two-col{display:grid; grid-template-columns:1fr 1fr; gap:56px; align-items:center;}
@media (max-width:820px){.two-col{grid-template-columns:1fr;}}

.filter-bar{
  display:flex; gap:10px; flex-wrap:wrap; margin-bottom:36px;
}
.filter-chip{
  font-family:'IBM Plex Mono', monospace; font-size:12.5px; padding:9px 16px;
  border:1px solid var(--line); border-radius:999px; background:#fff; cursor:pointer;
}
.filter-chip[aria-pressed="true"]{background:var(--green); color:#fff; border-color:var(--green);}

.credential-list{list-style:none; margin:0; padding:0;}
.credential-list li{
  display:flex; gap:12px; padding:12px 0; border-bottom:1px solid var(--line); font-size:15px;
}
.credential-list li .mark{color:var(--coral); font-weight:700;}

.contact-grid{display:grid; grid-template-columns:1fr 1fr; gap:48px;}
@media (max-width:820px){.contact-grid{grid-template-columns:1fr;}}
.field{margin-bottom:18px;}
.field label{display:block; font-size:13px; font-weight:600; margin-bottom:6px; color:var(--green);}
.field input, .field select, .field textarea{
  width:100%; padding:12px 14px; border:1px solid var(--line); border-radius:3px;
  font-family:'Inter', sans-serif; font-size:15px; background:#fff; color:var(--ink);
}
.field textarea{resize:vertical; min-height:110px;}
.response-note{
  display:flex; gap:12px; align-items:flex-start; background:var(--sand); border-radius:4px;
  padding:16px 18px; font-size:14px; margin-top:22px;
}

.info-row{display:flex; gap:16px; padding:16px 0; border-bottom:1px solid var(--line);}
.info-row .k{font-family:'IBM Plex Mono', monospace; font-size:12px; color:var(--clay); width:110px; flex-shrink:0; text-transform:uppercase; letter-spacing:.06em; padding-top:2px;}
.info-row .v{font-size:15.5px; display:flex; align-items:center; gap:12px; flex-wrap:wrap;}
.icon-badge{
  display:inline-flex; align-items:center; justify-content:center;
  width:32px; height:32px; border-radius:50%; background:var(--green);
  color:var(--sand-light); flex-shrink:0;
}
.icon-badge svg{width:17px; height:17px;}

.mini-map{
  border:1px solid var(--line); border-radius:4px; overflow:hidden; aspect-ratio:16/10;
}
.mini-map iframe{width:100%; height:100%; border:0;}
