/* ==========================================================================
   Chance Wade Homes — All American Realty Group
   Design tokens
   ========================================================================== */
:root{
  --navy:        #14213D;
  --navy-deep:   #0B1730;
  --brick:       #B3402D;
  --brick-dark:  #8F2F20;
  --gold:        #C6A15B;
  --gold-light:  #E4CB93;
  --cream:       #F7F2E9;
  --paper:       #FBF8F2;
  --ink:         #1E1F22;
  --slate:       #5B6472;
  --line:        #E4DCC9;
  --white:       #FFFFFF;

  --font-display: 'Fraunces', Georgia, serif;
  --font-body:    'Public Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono:    'IBM Plex Mono', 'Courier New', monospace;

  --max: 1220px;
  --radius: 2px;
}

*,*::before,*::after{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
  margin:0;
  font-family:var(--font-body);
  color:var(--ink);
  background:var(--paper);
  -webkit-font-smoothing:antialiased;
  line-height:1.6;
}
img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }
ul{ list-style:none; margin:0; padding:0; }
h1,h2,h3,h4{ font-family:var(--font-display); margin:0; color:var(--navy); font-weight:600; }
p{ margin:0 0 1em; }
.wrap{ max-width:var(--max); margin:0 auto; padding:0 28px; }

:focus-visible{ outline:2px solid var(--brick); outline-offset:3px; }

@media (prefers-reduced-motion: reduce){
  *{ animation-duration:0.001ms !important; animation-iteration-count:1 !important; transition-duration:0.001ms !important; scroll-behavior:auto !important; }
}

/* ---------- Eyebrow / labels ---------- */
.eyebrow{
  font-family:var(--font-mono);
  font-size:12px;
  letter-spacing:.16em;
  text-transform:uppercase;
  color:var(--brick);
  display:inline-flex;
  align-items:center;
  gap:10px;
  margin-bottom:14px;
}
.eyebrow::before{
  content:"";
  width:22px; height:1px;
  background:var(--brick);
  display:inline-block;
}

/* ---------- Ribbon divider (signature element) ----------
   A quiet nod to Fayetteville's service-ribbon heritage —
   three narrow bands, used to close a section rather than open it. */
.ribbon{
  height:6px;
  width:100%;
  display:flex;
}
.ribbon span{ flex:1; }
.ribbon span:nth-child(1){ background:var(--navy); }
.ribbon span:nth-child(2){ background:var(--gold); }
.ribbon span:nth-child(3){ background:var(--brick); }

.ribbon-tag{
  position:absolute;
  top:16px; left:16px;
  display:flex;
  width:34px;
  height:14px;
  box-shadow:0 2px 6px rgba(11,23,48,.25);
}
.ribbon-tag span{ flex:1; }
.ribbon-tag span:nth-child(1){ background:var(--navy); }
.ribbon-tag span:nth-child(2){ background:var(--gold); }
.ribbon-tag span:nth-child(3){ background:var(--brick); }

/* ---------- Buttons ---------- */
.btn{
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding:14px 26px;
  font-family:var(--font-body);
  font-weight:600;
  font-size:15px;
  letter-spacing:.01em;
  border-radius:var(--radius);
  border:1px solid transparent;
  cursor:pointer;
  transition:transform .15s ease, background .2s ease, color .2s ease, border-color .2s ease;
}
.btn:hover{ transform:translateY(-1px); }
.btn-brick{ background:var(--brick); color:var(--white); }
.btn-brick:hover{ background:var(--brick-dark); }
.btn-gold-outline{ background:transparent; color:var(--gold-light); border-color:rgba(230,205,147,.55); }
.btn-gold-outline:hover{ background:rgba(230,205,147,.1); border-color:var(--gold-light); }
.btn-navy-outline{ background:transparent; color:var(--navy); border-color:var(--navy); }
.btn-navy-outline:hover{ background:var(--navy); color:var(--white); }
.btn-block{ width:100%; justify-content:center; }

/* ---------- Header ---------- */
.site-header{
  position:sticky; top:0; z-index:1000;
  background:var(--navy-deep);
  border-bottom:1px solid rgba(230,205,147,.18);
}
.header-top{
  display:flex; align-items:center; justify-content:space-between;
  padding:16px 28px;
  max-width:var(--max); margin:0 auto;
}
.brand{ display:flex; flex-direction:column; line-height:1.1; }
.brand-name{
  font-family:var(--font-display);
  font-weight:700;
  font-size:22px;
  color:var(--white);
  letter-spacing:.01em;
}
.brand-sub{
  font-family:var(--font-mono);
  font-size:10.5px;
  letter-spacing:.14em;
  text-transform:uppercase;
  color:var(--gold-light);
  margin-top:4px;
}
.main-nav{ display:flex; align-items:center; gap:22px; }
.main-nav ul{ display:flex; gap:19px; }
.main-nav a{
  font-size:13.5px; font-weight:600; color:rgba(255,255,255,.82);
  position:relative; padding:6px 0;
  transition:color .2s ease;
}
.main-nav a:hover, .main-nav a.active{ color:var(--white); }
.main-nav a.active::after{
  content:""; position:absolute; left:0; right:0; bottom:-2px; height:2px; background:var(--gold);
}
.header-cta{ display:flex; align-items:center; gap:18px; }
.header-phone{
  font-family:var(--font-mono);
  font-size:14px;
  color:var(--gold-light);
  white-space:nowrap;
}
.nav-toggle{
  display:none;
  background:none; border:none; color:var(--white);
  font-size:24px; cursor:pointer;
}

@media (max-width: 980px){
  .main-nav{
    position:fixed; inset:0 0 0 auto; width:280px; height:100vh;
    background:var(--navy-deep);
    flex-direction:column; align-items:flex-start;
    padding:90px 28px 28px;
    transform:translateX(100%);
    transition:transform .3s ease;
    border-left:1px solid rgba(230,205,147,.18);
  }
  .main-nav.open{ transform:translateX(0); }
  .main-nav ul{ flex-direction:column; gap:22px; width:100%; }
  .header-cta{ display:none; }
  .nav-toggle{ display:block; }
}

/* ---------- Hero ---------- */
.hero{
  position:relative;
  min-height:88vh;
  display:flex; align-items:flex-end;
  background:var(--navy-deep);
  overflow:hidden;
}
.hero-media{
  position:absolute; inset:0;
  background-size:cover; background-position:center;
}
.hero-media::after{
  content:"";
  position:absolute; inset:0;
  background:linear-gradient(0deg, rgba(11,23,48,.94) 0%, rgba(11,23,48,.62) 45%, rgba(11,23,48,.42) 100%);
}
.hero-content{
  position:relative; z-index:2;
  max-width:var(--max); margin:0 auto; width:100%;
  padding:0 28px 72px;
}
.hero-content .eyebrow{ color:var(--gold-light); }
.hero-content .eyebrow::before{ background:var(--gold-light); }
.hero-title{
  font-size:clamp(40px, 6vw, 76px);
  color:var(--white);
  font-weight:600;
  max-width:820px;
  letter-spacing:-.01em;
}
.hero-title em{ font-style:italic; color:var(--gold-light); }
.hero-sub{
  color:rgba(255,255,255,.78);
  max-width:520px;
  font-size:17px;
  margin-top:18px;
}
.hero-actions{ display:flex; gap:16px; margin-top:32px; flex-wrap:wrap; }

/* small inner-page hero (no big media) */
.page-hero{
  background:var(--navy-deep);
  padding:150px 0 70px;
  position:relative;
}
.page-hero .eyebrow{ color:var(--gold-light); }
.page-hero .eyebrow::before{ background:var(--gold-light); }
.page-hero h1{ color:var(--white); font-size:clamp(34px,4.6vw,54px); max-width:760px; }
.page-hero p{ color:rgba(255,255,255,.72); max-width:560px; font-size:16.5px; margin-top:16px; }

/* ---------- Sections ---------- */
section{ padding:96px 0; }
section.tight{ padding:70px 0; }
.section-head{ max-width:640px; margin-bottom:52px; }
.section-head h2{ font-size:clamp(28px,3.4vw,42px); }
.on-cream{ background:var(--cream); }
.on-navy{ background:var(--navy); color:var(--white); }
.on-navy h2, .on-navy h3{ color:var(--white); }
.on-navy .eyebrow{ color:var(--gold-light); }
.on-navy .eyebrow::before{ background:var(--gold-light); }

/* ---------- Stats ---------- */
.stat-grid{
  display:grid; grid-template-columns:repeat(4,1fr); gap:36px;
  border-top:1px solid rgba(230,205,147,.2);
  padding-top:44px;
}
.stat-figure{ font-family:var(--font-display); font-size:44px; color:var(--gold-light); }
.stat-label{ font-family:var(--font-mono); font-size:12px; letter-spacing:.1em; text-transform:uppercase; color:rgba(255,255,255,.65); margin-top:8px; }
@media (max-width:780px){ .stat-grid{ grid-template-columns:repeat(2,1fr); } }

/* ---------- Service / feature cards ---------- */
.card-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:30px; }
.feature-card{
  background:var(--white);
  border:1px solid var(--line);
  padding:34px 30px 30px;
  position:relative;
}
.feature-card .num{ font-family:var(--font-mono); font-size:12px; color:var(--brick); letter-spacing:.1em; }
.feature-card h3{ font-size:23px; margin:14px 0 12px; }
.feature-card p{ color:var(--slate); font-size:15px; margin-bottom:18px; }
.feature-card a{ font-weight:700; font-size:14px; color:var(--navy); border-bottom:1px solid var(--gold); padding-bottom:2px; }
@media (max-width:900px){ .card-grid{ grid-template-columns:1fr; } }

/* ---------- Photo + text split ---------- */
.split{ display:grid; grid-template-columns:1fr 1fr; gap:64px; align-items:center; }
.split img{ width:100%; height:100%; object-fit:cover; min-height:380px; }
.split-reverse .split{ direction:rtl; }
.split-reverse .split > *{ direction:ltr; }
@media (max-width:900px){ .split{ grid-template-columns:1fr; gap:32px; } }

/* ---------- Communities ---------- */
.community-grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:4px; }
.community-tile{
  position:relative; aspect-ratio:3/4; overflow:hidden;
  background-size:cover; background-position:center;
}
.community-tile::after{
  content:""; position:absolute; inset:0;
  background:linear-gradient(180deg, rgba(11,23,48,0) 40%, rgba(11,23,48,.88) 100%);
}
.community-tile-label{
  position:absolute; left:18px; right:18px; bottom:18px; z-index:2;
  color:var(--white);
}
.community-tile-label .place{ font-family:var(--font-display); font-size:21px; }
.community-tile-label .go{ font-family:var(--font-mono); font-size:11px; letter-spacing:.1em; text-transform:uppercase; color:var(--gold-light); margin-top:4px; display:inline-block; }
@media (max-width:900px){ .community-grid{ grid-template-columns:repeat(2,1fr); } }

/* ---------- Testimonials ---------- */
.testi-grid{ display:grid; grid-template-columns:repeat(2,1fr); gap:28px; }
.testi-card{
  border:1px solid var(--line); background:var(--white);
  padding:32px; position:relative;
}
.testi-card p{ font-family:var(--font-display); font-size:19px; color:var(--navy); font-style:italic; margin-bottom:20px; }
.testi-name{ font-weight:700; font-size:14px; }
.testi-role{ font-family:var(--font-mono); font-size:11.5px; color:var(--slate); text-transform:uppercase; letter-spacing:.08em; }
@media (max-width:820px){ .testi-grid{ grid-template-columns:1fr; } }

/* ---------- Listings ---------- */
.listing-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:30px; }
.listing-card{ background:var(--white); border:1px solid var(--line); }
.listing-photo{ position:relative; aspect-ratio:4/3; background-size:cover; background-position:center; }
.listing-status{
  position:absolute; top:14px; right:14px;
  background:var(--brick); color:var(--white);
  font-family:var(--font-mono); font-size:10.5px; letter-spacing:.08em; text-transform:uppercase;
  padding:6px 10px;
}
.listing-body{ padding:22px; }
.listing-price{ font-family:var(--font-display); font-size:24px; color:var(--navy); }
.listing-addr{ font-size:14.5px; color:var(--slate); margin:6px 0 14px; }
.listing-meta{ display:flex; gap:16px; font-family:var(--font-mono); font-size:12.5px; color:var(--navy); border-top:1px solid var(--line); padding-top:14px; }
@media (max-width:900px){ .listing-grid{ grid-template-columns:1fr; } }

/* ---------- Blog / video ---------- */
.blog-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:34px; }
.post-card{ background:var(--white); border:1px solid var(--line); display:flex; flex-direction:column; }
.video-frame{ position:relative; aspect-ratio:16/9; background:var(--navy-deep); overflow:hidden; cursor:pointer; }
.video-frame img{ width:100%; height:100%; object-fit:cover; opacity:.78; transition:opacity .2s ease; }
.video-frame:hover img{ opacity:.6; }
.video-frame iframe{ width:100%; height:100%; border:0; position:absolute; inset:0; }
.play-btn{
  position:absolute; inset:0; margin:auto; width:62px; height:62px;
  display:flex; align-items:center; justify-content:center;
  background:rgba(179,64,45,.92); border-radius:50%;
  color:var(--white); font-size:0;
  transition:transform .2s ease;
}
.video-frame:hover .play-btn{ transform:scale(1.08); }
.play-btn::after{
  content:""; width:0; height:0;
  border-top:10px solid transparent; border-bottom:10px solid transparent;
  border-left:16px solid var(--white); margin-left:4px;
}
.post-body{ padding:24px; display:flex; flex-direction:column; gap:10px; flex:1; }
.post-meta{ font-family:var(--font-mono); font-size:11px; letter-spacing:.08em; text-transform:uppercase; color:var(--brick); }
.post-body h3{ font-size:20px; line-height:1.3; }
.post-body p{ color:var(--slate); font-size:14.5px; margin-bottom:0; }
.post-link{ margin-top:auto; font-weight:700; font-size:13.5px; color:var(--navy); border-bottom:1px solid var(--gold); padding-bottom:2px; align-self:flex-start; }
@media (max-width:940px){ .blog-grid{ grid-template-columns:1fr 1fr; } }
@media (max-width:660px){ .blog-grid{ grid-template-columns:1fr; } }

.featured-video{ display:grid; grid-template-columns:1.3fr 1fr; gap:44px; align-items:center; background:var(--navy-deep); color:var(--white); padding:44px; }
.featured-video .eyebrow{ color:var(--gold-light); }
.featured-video .eyebrow::before{ background:var(--gold-light); }
.featured-video h3{ color:var(--white); font-size:28px; margin:8px 0 14px; }
.featured-video p{ color:rgba(255,255,255,.72); }
@media (max-width:900px){ .featured-video{ grid-template-columns:1fr; padding:26px; } }

/* ---------- Forms ---------- */
.form-card{ background:var(--white); border:1px solid var(--line); padding:40px; }
.form-row{ display:grid; grid-template-columns:1fr 1fr; gap:18px; margin-bottom:18px; }
.form-row.single{ grid-template-columns:1fr; }
label{ font-family:var(--font-mono); font-size:11px; letter-spacing:.08em; text-transform:uppercase; color:var(--navy); display:block; margin-bottom:8px; }
input, select, textarea{
  width:100%; padding:13px 14px; font-family:var(--font-body); font-size:15px;
  border:1px solid var(--line); background:var(--paper); color:var(--ink);
  border-radius:var(--radius);
}
input:focus, select:focus, textarea:focus{ outline:2px solid var(--brick); outline-offset:1px; border-color:var(--brick); }
textarea{ resize:vertical; min-height:130px; }
@media (max-width:640px){ .form-row{ grid-template-columns:1fr; } }

/* ---------- CTA band ---------- */
.cta-band{
  background:var(--navy-deep);
  color:var(--white);
  padding:80px 0;
  text-align:center;
}
.cta-band h2{ color:var(--white); font-size:clamp(28px,3.6vw,44px); max-width:680px; margin:0 auto 18px; }
.cta-band p{ color:rgba(255,255,255,.72); max-width:520px; margin:0 auto 30px; }
.cta-actions{ display:flex; justify-content:center; gap:16px; flex-wrap:wrap; }

/* ---------- Property type tabs (Properties page) ---------- */
.type-tabs{ display:flex; gap:10px; flex-wrap:wrap; border-bottom:1px solid var(--line); padding-bottom:24px; margin-bottom:8px; }
.type-tab{
  font-family:var(--font-mono); font-size:12px; letter-spacing:.08em; text-transform:uppercase;
  padding:10px 18px; border:1px solid var(--line); background:var(--white); color:var(--navy);
  cursor:pointer; border-radius:var(--radius);
}
.type-tab.active{ background:var(--navy); border-color:var(--navy); color:var(--white); }
.type-tab:hover:not(.active){ border-color:var(--navy); }

/* ---------- Story band ("My First Deal Wasn't a House") ---------- */
.story-band{ background:var(--navy-deep); color:var(--white); }
.story-band .split img{ min-height:340px; }
.story-band blockquote{
  font-family:var(--font-display); font-style:italic; font-size:22px; line-height:1.4;
  color:var(--gold-light); margin:0 0 20px; border-left:2px solid var(--gold); padding-left:20px;
}
.story-band p{ color:rgba(255,255,255,.72); }

/* ---------- Area chips ("Where I Work") ---------- */
.area-chips{ display:flex; flex-wrap:wrap; gap:12px; margin:28px 0 32px; }
.area-chip{
  font-family:var(--font-mono); font-size:12.5px; letter-spacing:.05em;
  padding:9px 16px; border:1px solid var(--line); background:var(--white); color:var(--navy);
}

/* ---------- Footer ---------- */
.site-footer{ background:var(--navy-deep); color:rgba(255,255,255,.72); padding:70px 0 30px; }
.footer-grid{ display:grid; grid-template-columns:1.6fr 1fr 1fr 1.2fr; gap:40px; padding-bottom:50px; }
.footer-brand .brand-name{ font-size:24px; }
.footer-brand p{ margin-top:16px; font-size:14.5px; max-width:280px; color:rgba(255,255,255,.6); }
.footer-col h4{ color:var(--white); font-family:var(--font-mono); font-size:12px; letter-spacing:.1em; text-transform:uppercase; margin-bottom:18px; }
.footer-col ul li{ margin-bottom:11px; }
.footer-col a{ font-size:14.5px; color:rgba(255,255,255,.68); }
.footer-col a:hover{ color:var(--gold-light); }
.footer-contact li{ font-size:14.5px; color:rgba(255,255,255,.68); margin-bottom:14px; }
.footer-contact strong{ display:block; color:var(--white); font-family:var(--font-mono); font-size:10.5px; letter-spacing:.08em; text-transform:uppercase; margin-bottom:5px; }
.footer-bottom{
  border-top:1px solid rgba(230,205,147,.16);
  padding-top:26px;
  display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:12px;
  font-size:12.5px; color:rgba(255,255,255,.5);
}
.social-row{ display:flex; gap:14px; margin-top:18px; }
.social-row a{
  width:34px; height:34px; border:1px solid rgba(230,205,147,.35);
  display:flex; align-items:center; justify-content:center; font-size:13px; color:var(--gold-light);
}
.social-row a:hover{ background:var(--gold-light); color:var(--navy-deep); }
@media (max-width:900px){ .footer-grid{ grid-template-columns:1fr 1fr; } }
@media (max-width:560px){ .footer-grid{ grid-template-columns:1fr; } }

.main-nav a[href="videos.html"] { display: none; }
