/* Britt Brock Real Estate — site redesign */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,500;0,600;0,700;1,500&family=Inter:wght@400;500;600;700&display=swap');

:root {
  /* Neutral base so the Clark mark (black + #84ba3f) is the color, not cream/gold. */
  --ink: #111111;
  --ink-soft: #3a3a3a;
  --muted: #6b6b6b;
  --cream: #f4f4f4;
  --cream-2: #ececec;
  --paper: #ffffff;
  --gold: #84ba3f;       /* Clark lime — accent only */
  --gold-deep: #5f8a28;
  --line: #e2e2e2;
  --shadow: 0 16px 40px rgba(0, 0, 0, 0.07);
  --radius: 14px;
  --max: 1120px;
  --nav-h: 78px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
h1, h2, h3, .serif {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: 0.01em;
}

.container { width: min(var(--max), calc(100% - 48px)); margin-inline: auto; }
.eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 0.75rem;
}
.lead { font-size: 1.125rem; color: var(--ink-soft); max-width: 40rem; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9rem 1.35rem;
  border-radius: 8px;
  border: 1px solid transparent;
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: 0.18s ease;
  cursor: pointer;
}
.btn-primary { background: var(--ink); color: #fff; }
.btn-primary:hover { background: #000; color: #fff; }
.btn-gold { background: var(--gold); color: #111; }
.btn-gold:hover { background: #9dcc55; color: #111; }
.btn-ghost {
  background: transparent;
  color: var(--cream);
  border-color: rgba(255,255,255,0.35);
}
.btn-ghost:hover { background: rgba(255,255,255,0.1); }
.btn-outline {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}
.btn-outline:hover { background: var(--ink); color: var(--cream); }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.75rem; }

/* Nav */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(224, 216, 204, 0.8);
}
.nav {
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.brand {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
}
.brand-logo {
  height: 28px;
  width: auto;
  max-height: 28px;
  max-width: 80px;
  display: block;
  flex-shrink: 0;
  object-fit: contain;
}
.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.brand strong {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.55rem;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: 0.01em;
  text-transform: none;
}
.brand span {
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink-soft);
}
.nav-links a:hover,
.nav-links a[aria-current="page"] { color: var(--ink); }
/* Nav CTA: gold pill, dark bold text — high contrast on cream header */
.nav-links a.btn,
.nav-links a.btn-primary,
.nav-links a.btn-primary:hover,
.nav-links a.btn-primary:focus,
.nav-links a.btn-primary:visited {
  background: var(--gold) !important;
  color: #111 !important;
  border: none;
  font-weight: 800;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  padding: 0.75rem 1.15rem;
  box-shadow: 0 1px 2px rgba(28, 26, 23, 0.12);
}
.nav-links a.btn-primary:hover {
  background: #9dcc55 !important;
  color: #111 !important;
}
.nav-cta { display: none; }
.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0.55rem 0.7rem;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--ink);
  margin: 4px 0;
}

/* Hero */
.hero {
  position: relative;
  min-height: clamp(560px, 84vh, 780px);
  display: grid;
  align-items: end;
  color: #fff;
  overflow: hidden;
}
.hero-media {
  position: absolute;
  inset: 0;
}
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 28%;
}
.hero-scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0,0,0,0.35) 0%, rgba(0,0,0,0.15) 35%, rgba(0,0,0,0.78) 100%),
    linear-gradient(90deg, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.1) 70%);
}
.hero-content {
  position: relative;
  z-index: 1;
  padding: 4.5rem 0 4rem;
  max-width: 42rem;
}
.hero h1 {
  font-size: clamp(2.8rem, 6vw, 4.4rem);
  margin: 0 0 1rem;
  color: #fff;
}
.hero p {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.9);
  max-width: 34rem;
  margin: 0 0 1.75rem;
}
.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
  margin-top: 2rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255,255,255,0.2);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.82);
}
.hero-meta strong { color: var(--gold); font-weight: 700; }

/* Sections */
section { padding: 5rem 0; }
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 1.5rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}
.section-head h2 {
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  margin: 0;
}
.section-head p { margin: 0.4rem 0 0; color: var(--muted); max-width: 32rem; }

/* Markets */
.markets { background: var(--paper); }
.market-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}
.market-card {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow);
}
.market-card h3 {
  font-size: 1.85rem;
  margin: 0 0 0.5rem;
}
.market-card p { color: var(--ink-soft); margin: 0 0 1rem; }
.market-card ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.market-card li {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.4rem 0.75rem;
  color: var(--ink-soft);
}

/* Services */
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.service-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.75rem;
  height: 100%;
}
.service-card .num {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 2rem;
  color: var(--gold-deep);
  margin-bottom: 0.75rem;
}
.service-card h3 { font-size: 1.55rem; margin: 0 0 0.5rem; }
.service-card p { color: var(--ink-soft); margin: 0; }

/* Featured */
.featured { background: var(--ink); color: #fff; }
.featured .eyebrow { color: var(--gold); }
.featured .section-head p { color: rgba(255,255,255,0.7); }
.featured-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.listing-card {
  background: #1a1a1a;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.08);
}
.listing-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}
.listing-body { padding: 1.25rem 1.35rem 1.5rem; }
.listing-body .tag {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
}
.listing-body h3 {
  font-size: 1.55rem;
  margin: 0.35rem 0 0.25rem;
  color: #fff;
}
.listing-body p {
  margin: 0;
  color: rgba(255,255,255,0.7);
  font-size: 0.95rem;
}
.listing-stats {
  display: flex;
  gap: 0.85rem;
  margin-top: 0.9rem;
  padding-top: 0.9rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 0.82rem;
  color: rgba(255,255,255,0.75);
  font-weight: 600;
  flex-wrap: wrap;
}
.listing-credit {
  margin: 0.85rem 0 0;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(255,255,255,0.08);
  font-size: 0.72rem;
  line-height: 1.45;
  color: rgba(255,255,255,0.5);
  font-weight: 500;
}
.listing-card-cta {
  background: linear-gradient(160deg, #2a2a2a 0%, #111111 100%);
  border: 1px solid rgba(132,186,63,0.35);
  display: flex;
  flex-direction: column;
}
.listing-body-cta {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 1.75rem 1.5rem !important;
}
.listing-body-cta h3 {
  font-size: 1.65rem !important;
}
.listing-body-cta .btn {
  align-self: flex-start;
  margin-top: 0.5rem;
}
.idx-points {
  margin: 0.75rem 0 1.1rem;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.4rem;
}
.idx-points li {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.78);
  font-weight: 500;
  padding-left: 1.1rem;
  position: relative;
}
.idx-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5rem;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
}
.featured-legal {
  margin: 1.75rem 0 0;
  font-size: 0.75rem;
  line-height: 1.5;
  color: rgba(255,255,255,0.45);
  max-width: 52rem;
}

/* About teaser */
.about-split {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 3rem;
  align-items: center;
}
.about-photo {
  border-radius: calc(var(--radius) + 4px);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
}
.about-photo img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
  object-position: center top;
}
.about-copy h2 {
  font-size: clamp(2rem, 3.5vw, 2.85rem);
  margin: 0 0 1rem;
}
.about-copy p { color: var(--ink-soft); margin: 0 0 1rem; }
.about-points {
  display: grid;
  gap: 0.75rem;
  margin: 1.5rem 0 1.75rem;
}
.about-points div {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  font-weight: 500;
  color: var(--ink);
}
.about-points .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
  margin-top: 0.55rem;
  flex-shrink: 0;
}

/* CTA band */
.cta-band {
  background:
    linear-gradient(120deg, rgba(0,0,0,0.88), rgba(0,0,0,0.72)),
    url("../assets/hero-squarespace.jpg") center/cover;
  color: #fff;
  padding: 4.5rem 0;
}
.cta-band .inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}
.cta-band h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin: 0 0 0.5rem;
  color: #fff;
}
.cta-band p { margin: 0; color: rgba(255,255,255,0.85); max-width: 34rem; }

/* Page hero (inner pages) */
.page-hero {
  padding: 4rem 0 2.5rem;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.page-hero h1 {
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  margin: 0 0 0.75rem;
}
.page-hero p { margin: 0; color: var(--muted); max-width: 40rem; font-size: 1.1rem; }

/* Content */
.prose {
  max-width: 42rem;
}
.prose p { color: var(--ink-soft); margin: 0 0 1rem; }
.prose h2 {
  font-size: 1.85rem;
  margin: 2rem 0 0.75rem;
}
.two-col {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2.5rem;
  align-items: start;
}
.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow);
}
.card h3 { margin: 0 0 0.5rem; font-size: 1.45rem; }
.card p, .card li { color: var(--ink-soft); }
.card ul { margin: 0.5rem 0 0; padding-left: 1.1rem; }
.contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.contact-list li {
  padding: 0.9rem 0;
  border-bottom: 1px solid var(--line);
}
.contact-list li:last-child { border-bottom: 0; }
.contact-list .label {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 0.25rem;
}
.contact-list a { font-weight: 600; }
.contact-list a:hover { color: var(--gold-deep); }

/* Form */
.form-grid { display: grid; gap: 0.9rem; }
.form-grid label {
  display: grid;
  gap: 0.35rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink-soft);
}
.form-grid input,
.form-grid select,
.form-grid textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0.8rem 0.9rem;
  background: var(--cream);
  color: var(--ink);
}
.form-grid textarea { min-height: 120px; resize: vertical; }
.form-grid input:focus,
.form-grid select:focus,
.form-grid textarea:focus {
  outline: 2px solid rgba(196, 165, 116, 0.45);
  border-color: var(--gold);
}
.form-note {
  font-size: 0.8rem;
  color: var(--muted);
  margin-top: 0.75rem;
}
.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.9rem;
}

/* Footer */
.site-footer {
  background: var(--ink);
  color: rgba(255,255,255,0.78);
  padding: 3.5rem 0 2rem;
  font-size: 0.92rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2.5rem;
}
.site-footer h3 {
  color: #fff;
  font-size: 1.5rem;
  margin: 0 0 0.75rem;
}
.site-footer a { color: rgba(255,255,255,0.85); }
.site-footer a:hover { color: var(--gold); }
.site-footer .brand-foot strong {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.7rem;
  color: #fff;
  display: block;
  margin-bottom: 0.5rem;
}
.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.45rem;
}
.footer-legal {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 1.25rem;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.55;
}
.footer-legal a { color: rgba(255,255,255,0.7); text-decoration: underline; text-underline-offset: 2px; }
.eho {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.75rem;
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.65);
}

/* Steps */
.steps {
  display: grid;
  gap: 1rem;
  counter-reset: step;
}
.step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  padding: 1.25rem 1.4rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.step::before {
  counter-increment: step;
  content: counter(step);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.75rem;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--cream-2);
  color: var(--gold-deep);
  display: grid;
  place-items: center;
  font-weight: 700;
}
.step h3 { margin: 0 0 0.25rem; font-size: 1.35rem; }
.step p { margin: 0; color: var(--ink-soft); }

/* Utility */
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0);
  border: 0;
}

@media (max-width: 900px) {
  .brand-logo { height: 24px; max-height: 24px; max-width: 68px; }
  .market-grid,
  .service-grid,
  .featured-grid { grid-template-columns: 1fr; }
  .about-split,
  .two-col,
  .footer-grid { grid-template-columns: 1fr; }
  .nav-links {
    display: none;
    position: absolute;
    top: var(--nav-h);
    left: 0; right: 0;
    background: var(--cream);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: stretch;
    padding: 1rem 1.5rem 1.25rem;
    gap: 0.25rem;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 0.75rem 0.25rem; }
  .nav-links .btn { width: 100%; margin-top: 0.5rem; }
  .nav-toggle { display: inline-block; }
  .form-row-2 { grid-template-columns: 1fr; }
  .hero-content { padding: 5rem 0 3rem; }
}
