/* leahmooney.com — warm Southern personal brand
   Mobile-first; desktop layout kicks in at 760px. */

:root {
  --cream: #faf3e8;
  --cream-2: #f0e6d4;
  --terra: #b45a3b;
  --terra-dark: #8d4127;
  --sage: #6b7b5a;
  --ink: #2a2522;
  --ink-2: #5a4f44;
  --warm-tan: #7a5a3e;
  --sand: #d8b89e;
  --sand-2: #c8a886;
  --line: rgba(42, 37, 34, 0.1);
  --line-2: rgba(42, 37, 34, 0.06);
  --serif: 'Lora', 'Cormorant Garamond', Georgia, serif;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --radius: 8px;
  --radius-lg: 14px;
  --pad-x: 20px;
}

*,*::before,*::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  padding-bottom: 64px; /* room for sticky call bar */
}
img { max-width: 100%; display: block; }
a { color: var(--terra); text-decoration: none; }
a:hover { text-decoration: underline; }

.skip {
  position: absolute; left: -9999px;
}
.skip:focus { left: 8px; top: 8px; background: var(--ink); color: var(--cream); padding: 8px 12px; z-index: 100; border-radius: 4px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--cream);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px var(--pad-x);
  border-bottom: 1px solid var(--line-2);
}
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); }
.brand:hover { text-decoration: none; }
.brand-mark {
  width: 32px; height: 32px;
  background: var(--terra); color: var(--cream);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--serif); font-size: 16px; font-weight: 500;
}
.brand-word { font-family: var(--serif); font-size: 18px; font-weight: 500; letter-spacing: 0.2px; }
.site-nav { display: none; gap: 26px; }
.site-nav a { color: var(--ink-2); font-size: 14px; }
.site-phone {
  display: none;
  align-items: center; gap: 8px;
  color: var(--sage); font-weight: 500; font-size: 14px;
}
.site-phone:hover { text-decoration: none; color: var(--terra); }
.phone-icon {
  width: 14px; height: 14px;
  background: currentColor;
  mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M6.6 10.8c1.4 2.8 3.8 5.2 6.6 6.6l2.2-2.2c.3-.3.7-.4 1-.2 1.1.4 2.3.6 3.5.6.6 0 1 .4 1 1V20c0 .6-.4 1-1 1A17 17 0 0 1 3 4c0-.6.4-1 1-1h3.5c.6 0 1 .4 1 1 0 1.2.2 2.4.6 3.5.1.3 0 .7-.2 1l-2.3 2.3z'/></svg>") no-repeat center / contain;
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M6.6 10.8c1.4 2.8 3.8 5.2 6.6 6.6l2.2-2.2c.3-.3.7-.4 1-.2 1.1.4 2.3.6 3.5.6.6 0 1 .4 1 1V20c0 .6-.4 1-1 1A17 17 0 0 1 3 4c0-.6.4-1 1-1h3.5c.6 0 1 .4 1 1 0 1.2.2 2.4.6 3.5.1.3 0 .7-.2 1l-2.3 2.3z'/></svg>") no-repeat center / contain;
}

.nav-toggle {
  display: flex; flex-direction: column; justify-content: center; gap: 4px;
  width: 36px; height: 36px;
  background: transparent; border: 0; padding: 0;
  cursor: pointer;
}
.nav-toggle span {
  display: block; width: 22px; height: 2px; background: var(--ink); margin: 0 auto;
  transition: transform .2s, opacity .2s;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.mobile-menu {
  background: var(--cream);
  border-bottom: 1px solid var(--line-2);
  padding: 8px var(--pad-x) 16px;
  display: flex; flex-direction: column; gap: 4px;
  position: sticky; top: 60px; z-index: 49;
}
.mobile-menu[hidden] { display: none; }
.mobile-menu a {
  color: var(--ink); font-size: 16px;
  padding: 10px 0; border-bottom: 1px solid var(--line-2);
}
.mobile-menu a:hover { text-decoration: none; color: var(--terra); }
.mobile-menu .menu-call { color: var(--terra); font-weight: 500; border-bottom: 0; padding-top: 14px; }

/* ---------- Shared section type ---------- */
.eyebrow, .section-eyebrow {
  display: inline-block;
  font-size: 12px; letter-spacing: 1.5px;
  color: var(--warm-tan); margin: 0 0 12px;
}
.eyebrow {
  background: var(--sage); color: var(--cream);
  padding: 4px 12px; border-radius: 20px;
  letter-spacing: 1.2px;
}
.section-head {
  display: flex; align-items: baseline; justify-content: space-between;
  margin-bottom: 16px; gap: 12px; flex-wrap: wrap;
}
h1, h2, h3 { font-family: var(--serif); font-weight: 500; color: var(--ink); margin: 0; line-height: 1.15; }
h1 { font-size: 30px; }
h2 { font-size: 24px; }
h3 { font-size: 18px; }
em { font-style: italic; color: var(--terra); }

/* ---------- Hero ---------- */
section[id] { scroll-margin-top: 80px; }
.hero {
  padding: 24px var(--pad-x) 36px;
  display: grid; gap: 22px;
}
.hero-portrait {
  width: 100%; aspect-ratio: 5 / 4;
  background: var(--sand);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.hero-portrait img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 50% 25%;
  display: block;
}
.hero h1 { margin: 12px 0; }
.lede { font-size: 15px; color: var(--ink-2); margin: 0 0 22px; max-width: 46ch; }
.hero-ctas { display: flex; flex-direction: column; gap: 10px; }

.btn {
  display: inline-block; text-align: center;
  font-size: 14px; font-weight: 500;
  padding: 13px 22px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer; font-family: var(--sans);
  transition: background .15s, border-color .15s;
}
.btn:hover { text-decoration: none; }
.btn-primary { background: var(--terra); color: var(--cream); }
.btn-primary:hover { background: var(--terra-dark); }
.btn-secondary { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-secondary:hover { background: var(--ink); color: var(--cream); }

/* ---------- Service area ---------- */
.areas { background: var(--cream-2); padding: 28px var(--pad-x); }
.areas-grid { display: grid; gap: 18px; }
.area-col h2 {
  display: flex; align-items: center; gap: 10px;
  font-size: 18px; margin-bottom: 6px;
}
.state-pill {
  background: var(--terra); color: var(--cream);
  font-family: var(--sans); font-size: 11px; font-weight: 500;
  letter-spacing: 1px; padding: 3px 8px; border-radius: 3px;
}
.area-col p { color: var(--ink-2); font-size: 14px; margin: 0; line-height: 1.6; }

/* ---------- Quote ---------- */
.quote { padding: 36px var(--pad-x); text-align: center; }
.quote-mark { font-family: var(--serif); font-size: 56px; color: var(--terra); line-height: 0.3; margin: 0; }
.quote blockquote {
  font-family: var(--serif); font-size: 20px; font-style: italic;
  margin: 12px auto 14px; max-width: 52ch; line-height: 1.4; color: var(--ink);
}
.quote .cite { font-size: 12px; letter-spacing: 1px; color: var(--warm-tan); margin: 0; }

/* ---------- Listings ---------- */
.listings { padding: 24px var(--pad-x) 32px; }
.listings .see-all { font-size: 13px; color: var(--terra); letter-spacing: 0.5px; }
.sub-head {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 1.5px;
  color: var(--warm-tan);
  margin: 20px 0 10px;
}
.sub-head:first-of-type { margin-top: 4px; }
.listing-card.sold .listing-photo { position: relative; }
.sold-badge {
  position: absolute; top: 10px; left: 10px;
  background: var(--ink); color: var(--cream);
  font-size: 11px; letter-spacing: 1px;
  padding: 3px 9px; border-radius: 2px;
  font-weight: 500;
}
.listing-scroller {
  display: flex; gap: 12px;
  overflow-x: auto;
  margin: 0 calc(-1 * var(--pad-x));
  padding: 0 var(--pad-x) 8px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}
.listing-card {
  flex: 0 0 240px;
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  scroll-snap-align: start;
}
.listing-photo {
  aspect-ratio: 4 / 3;
  background: linear-gradient(135deg, var(--sand), var(--sand-2));
}
.listing-body { padding: 12px 14px; }
.listing-price { font-family: var(--serif); font-size: 18px; font-weight: 500; margin: 0; }
.listing-addr { font-size: 13px; color: var(--ink-2); margin: 2px 0 6px; }
.listing-meta { font-size: 12px; color: var(--warm-tan); margin: 0; }

/* ---------- About ---------- */
.about {
  padding: 32px var(--pad-x);
  background: var(--cream-2);
  display: grid; gap: 24px;
}
.about-portrait {
  width: 140px; height: 140px;
  border-radius: 50%;
  background: var(--sand);
  overflow: hidden;
  margin: 0 auto;
}
.about-portrait img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 50% 22%;
  display: block;
}
.about h2 { margin: 8px 0 12px; font-size: 24px; }
.about p { color: var(--ink-2); margin: 0 0 14px; font-size: 15px; line-height: 1.7; }
.about p + p { margin-top: 0; }
.credentials { list-style: none; padding: 0; margin: 14px 0 0; }
.credentials li {
  font-size: 13px; color: var(--ink-2);
  padding: 6px 0 6px 22px;
  position: relative;
}
.credentials li::before {
  content: ""; position: absolute; left: 0; top: 13px;
  width: 12px; height: 1px; background: var(--terra);
}

/* ---------- Contact ---------- */
.contact { padding: 36px var(--pad-x); }
.contact h2 { margin: 8px 0 12px; font-size: 26px; }
.contact-copy p { color: var(--ink-2); margin: 0 0 18px; }
.contact-meta { display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; margin: 0 0 24px; font-size: 14px; }
.contact-meta dt { color: var(--warm-tan); letter-spacing: 0.5px; }
.contact-meta dd { margin: 0; color: var(--ink); }
.hp-field {
  position: absolute;
  left: -9999px; top: -9999px;
  height: 0; width: 0;
  overflow: hidden;
}
.contact-form {
  background: #fff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  padding: 20px;
  display: grid; gap: 12px;
}
.contact-form label { display: grid; gap: 6px; }
.contact-form label span { font-size: 12px; letter-spacing: 0.5px; color: var(--warm-tan); }
.contact-form input,
.contact-form select,
.contact-form textarea {
  font-family: var(--sans); font-size: 15px;
  padding: 11px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--cream);
  color: var(--ink);
  outline: none;
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--terra);
  box-shadow: 0 0 0 3px rgba(180, 90, 59, 0.15);
}
.contact-form textarea { resize: vertical; min-height: 80px; }
.contact-form .btn { justify-self: start; padding: 13px 28px; }
.form-status { font-size: 13px; margin: 0; min-height: 1.4em; }
.form-status.ok { color: var(--sage); }
.form-status.err { color: #a32d2d; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink); color: #cbb9a3;
  padding: 32px var(--pad-x);
  font-size: 13px; line-height: 1.65;
}
.footer-cols { display: grid; gap: 22px; margin-bottom: 22px; }
.footer-brand { font-family: var(--serif); font-size: 16px; color: var(--cream); margin: 0 0 6px; }
.footer-label { color: var(--cream); font-size: 12px; letter-spacing: 1.2px; margin: 0 0 6px; }
.footer-fine { color: #9c8b78; font-size: 11px; margin: 8px 0 0; }
.footer-social { margin-top: 12px; font-size: 12px; line-height: 1.8; }
.footer-social a { color: #d4a47e; text-decoration: none; }
.footer-social a:hover { text-decoration: underline; }
.footer-social span { color: #5a4f44; margin: 0 4px; }
.footer-fine.center { text-align: center; padding-top: 16px; border-top: 1px solid #3a322a; margin-top: 22px; }
.site-footer a { color: #d4a47e; }

/* ---------- Sticky mobile call bar ---------- */
.sticky-call {
  position: fixed; bottom: 0; left: 0; right: 0;
  background: var(--ink); color: var(--cream);
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 20px;
  font-size: 13px;
  z-index: 60;
  border-top: 1px solid #3a322a;
}
.sticky-call strong { color: #d4a47e; font-weight: 500; font-size: 15px; }
.sticky-call:hover { text-decoration: none; }

/* ---------- Desktop (760+) ---------- */
@media (min-width: 760px) {
  :root { --pad-x: 48px; }
  body { padding-bottom: 0; }

  .site-header { padding: 18px var(--pad-x); }
  .brand-word { font-size: 19px; }
  .site-nav { display: flex; }
  .site-phone { display: flex; }
  .nav-toggle, .mobile-menu { display: none !important; }

  h1 { font-size: 44px; }
  h2 { font-size: 30px; }

  .hero {
    grid-template-columns: 1.25fr 1fr;
    gap: 44px;
    padding: 48px var(--pad-x) 56px;
    align-items: center;
  }
  .hero-portrait { aspect-ratio: 4 / 5; }
  .hero-ctas { flex-direction: row; gap: 12px; }
  .lede { font-size: 16px; }

  .areas { padding: 32px var(--pad-x); }
  .areas-grid { grid-template-columns: 1fr 1fr; gap: 32px; }

  .quote { padding: 48px var(--pad-x); }
  .quote blockquote { font-size: 24px; }

  .listings { padding: 36px var(--pad-x) 48px; }
  .listing-scroller {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px;
    overflow: visible; margin: 0; padding: 0;
  }
  .listing-card { flex: initial; }

  .about {
    grid-template-columns: 200px 1fr;
    gap: 36px;
    padding: 48px var(--pad-x);
    align-items: center;
  }
  .about-portrait { width: 200px; height: 200px; margin: 0; }

  .contact {
    padding: 56px var(--pad-x);
    display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px;
    align-items: start;
  }
  .contact h2 { font-size: 32px; }

  .site-footer { padding: 40px var(--pad-x); }
  .footer-cols { grid-template-columns: 1.4fr 1.4fr 1fr; gap: 36px; }

  .sticky-call { display: none; }
}

@media (min-width: 1100px) {
  .hero, .areas, .quote, .listings, .about, .contact, .site-header, .site-footer {
    padding-left: max(48px, calc((100% - 1100px) / 2 + 48px));
    padding-right: max(48px, calc((100% - 1100px) / 2 + 48px));
  }
  .site-header { justify-content: space-between; }
}
