/* Joplin Hendricks — interim static site. Colours follow the 2020 WordPress design. */
:root {
  --ink: #2b2b2b;
  --muted: #666;
  --olive: #66742a;      /* link / accent green from the logo */
  --brown: #544f3c;      /* footer and button brown from the old theme */
  --rule: #e4e4e4;
  --band: #7b7b7b;       /* the grey contact band */
  --paper: #fff;
  --soft: #f7f7f5;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 15px/1.65 "Helvetica Neue", Helvetica, Arial, sans-serif;
}
img { max-width: 100%; height: auto; }
a { color: var(--olive); }
a:hover { color: var(--brown); }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
[id] { scroll-margin-top: 90px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: rgba(255,255,255,.97);
  border-bottom: 1px solid var(--rule);
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; min-height: 76px; flex-wrap: wrap;
}
.logo img { display: block; width: 200px; }
.site-header nav { display: flex; gap: 22px; flex-wrap: wrap; }
.site-header nav a {
  color: var(--ink); text-decoration: none;
  font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
}
.site-header nav a:hover { color: var(--olive); }
.site-header .nav-phone { color: var(--olive); }

/* Hero */
.hero {
  height: clamp(180px, 28vw, 340px);
  background: #ccc url("/assets/img/mckinney-courthouse.jpg") center / cover no-repeat;
}

/* Section scaffolding */
.cols-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.cols-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; }
.section-title {
  font-size: 26px; line-height: 1.25; font-weight: 800;
  letter-spacing: .05em; text-transform: uppercase; margin: 0 0 18px;
}
.section-title::after {
  content: ""; display: block; width: 60px; height: 2px;
  background: var(--olive); margin-top: 14px;
}

/* Practice-area cards */
.intro { padding: 44px 0; border-bottom: 1px solid var(--rule); }
.intro p { margin: 0; font-size: 14px; }
.card-title {
  display: flex; align-items: center; gap: 10px;
  font-size: 15px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
  margin: 0 0 10px;
}
.card-title svg { width: 20px; height: 20px; fill: var(--ink); flex: none; }
.card-title svg path[d*="v14"] { fill: none; stroke: var(--ink); stroke-width: 2; }

/* About */
.about { padding: 64px 0; }
.about-main .section-title { margin-top: 0; }
.about-main .section-title + p { margin-top: 0; }
.about-main h2:not(:first-child) { margin-top: 44px; }
.services { padding-left: 20px; }
.services li { margin-bottom: 12px; }
.services strong { color: var(--olive); }
.value { padding-left: 18px; border-left: 2px solid var(--rule); margin-bottom: 30px; }
.value h3 {
  font-size: 15px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; margin: 0 0 6px;
}
.value p { margin: 0; color: var(--muted); font-size: 14px; }
.cta { margin-top: 40px; }
.cta-title { font-size: 19px; line-height: 1.35; margin: 0 0 10px; }
.cta img { margin-top: 10px; }

/* Contact band */
.contact { background: var(--band); color: #fff; padding: 56px 0; }
.contact .section-title { text-align: center; }
.contact .section-title::after { background: var(--brown); width: 100%; max-width: 520px; margin: 14px auto 0; }
.contact-cols { max-width: 820px; margin: 30px auto 0; gap: 40px; }
.contact h3 { font-size: 17px; margin: 0 0 8px; }
.contact a { color: #fff; }
.contact address { font-style: normal; }
.contact .big { font-size: 28px; font-weight: 800; margin: 0 0 6px; }
.contact .big a { text-decoration: none; }

/* Footer */
.site-footer { font-size: 12px; color: #444; padding-top: 36px; border-top: 1px solid var(--rule); }
.site-footer img { width: 200px; display: block; margin-bottom: 10px; }
.socket { border-top: 1px solid var(--rule); margin-top: 24px; padding: 16px 0; }

@media (max-width: 860px) {
  .cols-3, .cols-2 { grid-template-columns: 1fr; gap: 28px; }
  .about { padding: 44px 0; }
  .site-header .wrap { justify-content: center; padding-top: 10px; padding-bottom: 10px; }
  .site-header nav { justify-content: center; gap: 14px; }
  .section-title { font-size: 22px; }
}
@media (max-width: 480px) {
  .wrap { padding: 0 16px; }
  .site-header { position: static; }
}
