/* Better Community Lawyers — public site
   Tokens measured from https://bettercommunitylawyers.com on 25 Nov 2026.
   Fonts are self-hosted. No third-party scripts. */

@font-face {
  font-family: "Fraunces";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/fraunces-400.woff2") format("woff2");
}
@font-face {
  font-family: "Fraunces";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/fraunces-400-italic.woff2") format("woff2");
}
@font-face {
  font-family: "Fraunces";
  font-style: italic;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/fraunces-500-italic.woff2") format("woff2");
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/inter-400.woff2") format("woff2");
}
@font-face {
  font-family: "Inter";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/inter-400-italic.woff2") format("woff2");
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/inter-500.woff2") format("woff2");
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/inter-600.woff2") format("woff2");
}

:root {
  --bg: #f8f6f1;
  --ink: #1a1a1a;
  --muted: #4b5853;
  --green: #2d433a;
  --on-green: #f8f6f1;
  --accent: #d95f3a;
  --line: #ddd8d0;
  --card: #fbf9f4;
  --shadow: 0 1px 0 rgba(26, 26, 26, 0.04);
  --serif: "Fraunces", "Iowan Old Style", Georgia, "Times New Roman", serif;
  --sans: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  --pad: clamp(20px, 5vw, 72px);
  --max: 1296px;
  --header-offset: 0px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.7;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, p { margin: 0; }

.skip {
  position: absolute;
  left: 16px;
  top: -40px;
  background: var(--green);
  color: var(--on-green);
  padding: 10px 14px;
  z-index: 80;
}
.skip:focus { top: 12px; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0);
  white-space: nowrap; border: 0;
}

.construction {
  background: var(--accent);
  color: #fffaf7;
  text-align: center;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 10px 16px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}

.utility {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  height: 36px;
  padding: 0 72px;
  background: var(--green);
  color: var(--on-green);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}
.utility p { margin: 0; }
.utility a { color: var(--on-green); text-decoration: none; white-space: nowrap; }
.utility a:hover { text-decoration: underline; text-underline-offset: 3px; }
.utility-right { display: none; }

.nav-row {
  display: flex;
  align-items: center;
  gap: 18px;
  height: 80px;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 72px;
}

.logo { display: flex; flex-direction: column; align-items: flex-start; gap: 1px; flex: 0 0 auto; text-decoration: none; }
.logo-slogan {
  font-size: 7.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green);
  line-height: 1;
}
.logo img { width: 168px; height: 55px; object-fit: contain; object-position: left center; }

.primary-nav { display: none; align-items: center; gap: 4px; flex: 1; }
.primary-nav a,
.menu-summary {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 8px;
  color: rgba(26, 26, 26, 0.75);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  background: none;
  border: 0;
  cursor: pointer;
}
.primary-nav a[aria-current="page"],
.primary-nav a:hover,
.menu-summary:hover { color: var(--ink); }

.practice-menu { position: relative; }
.practice-menu ul {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 280px;
  margin: 0;
  padding: 8px;
  list-style: none;
  background: var(--bg);
  border: 1px solid var(--line);
  z-index: 30;
}
.practice-menu:hover ul,
.practice-menu:focus-within ul,
.practice-menu.open ul { display: block; }
.practice-menu li a {
  display: flex;
  width: 100%;
  letter-spacing: 0.08em;
  font-size: 12px;
  text-transform: none;
  min-height: 40px;
}

.nav-actions { display: none; gap: 8px; margin-left: auto; }
.nav-actions .btn { min-height: 42px; padding: 14px 16px; }
.nav-actions .btn-solid::after { content: none; }

.menu-btn {
  margin-left: auto;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--green);
  cursor: pointer;
}

.mobile-nav {
  display: none;
  border-top: 1px solid var(--line);
  padding: 8px var(--pad) 20px;
  background: var(--bg);
}
.mobile-nav.open { display: block; }
.mobile-nav a {
  display: flex;
  align-items: center;
  min-height: 44px;
  text-decoration: none;
  font-size: 14px;
  border-bottom: 1px solid var(--line);
}
.mobile-nav .sub { padding-left: 12px; color: var(--muted); font-size: 14px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 16px 24px;
  border-radius: 2px;
  border: 1px solid var(--green);
  background: var(--green);
  color: var(--on-green);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  line-height: 1;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
}
.btn-solid::after { content: "→"; font-size: 14px; letter-spacing: 0; }
.btn-ghost {
  background: transparent;
  color: var(--green);
  border-color: var(--line);
}
.btn-light {
  background: var(--on-green);
  color: var(--green);
  border-color: var(--on-green);
}
.btn-line {
  background: transparent;
  color: var(--on-green);
  border-color: rgba(248, 246, 241, 0.35);
}
.btn[disabled], .btn.is-disabled {
  opacity: 0.55;
  cursor: not-allowed;
  pointer-events: none;
}
.btn:focus-visible, a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.wrap {
  width: min(1280px, 100%);
  margin: 0 auto;
  padding-left: 64px;
  padding-right: 64px;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--green);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--green);
}

.display {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.028em;
  line-height: 0.98;
}

.hero {
  display: grid;
  grid-template-columns: 1fr;
  min-height: 0;
  align-items: stretch;
  position: relative;
}
.hero-copy { padding: 72px 24px 36px; }
.hero h1 {
  margin-top: 18px;
  font-size: 82.24px;
  line-height: 77.3px;
  letter-spacing: -2.47px;
  max-width: 640px;
  font-weight: 400;
}
.hero-line { white-space: nowrap; }
.hero h1 em {
  font-style: italic;
  font-weight: 500;
  color: var(--green);
}
.lede {
  color: var(--muted);
  font-size: 18.8px;
  line-height: 1.65;
  max-width: 38rem;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero-note {
  margin-top: 22px;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.hero-stage {
  position: relative;
  min-height: 420px;
  background-color: #24382f;
  background-image: url("../images/hero-blinds.png");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: 72% center;
}
.hero-card {
  position: absolute;
  right: 28px;
  bottom: 18px;
  width: min(300px, 52%);
  background: #fff;
  padding: 8px 8px 10px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.16);
}
.hero-card img { width: 100%; height: 230px; object-fit: cover; object-position: 70% center; }
.hero-card figcaption {
  margin-top: 8px;
  text-align: center;
  font-size: 9px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  line-height: 1.45;
}

.stat-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.stat {
  padding: 22px 8px 22px 0;
  border-bottom: 1px solid var(--line);
}
.stat strong {
  display: block;
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 400;
  letter-spacing: -0.02em;
}
.stat span {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.section { padding: 80px 0; }
@media (min-width: 1100px) { .section { padding: 112px 0; } }
.section-head {
  display: grid;
  gap: 18px;
  margin-bottom: 28px;
}
.section h2 { font-size: clamp(36px, 4.2vw, 60px); max-width: 16ch; }

.pillar {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px 28px;
  padding: 22px 4px;
  border-top: 1px solid var(--line);
  text-decoration: none;
}
.pillar:last-child { border-bottom: 1px solid var(--line); }
.pillar .num {
  font-family: var(--mono);
  color: var(--accent);
  font-size: 12px;
  letter-spacing: 0.18em;
}
.pillar h3 {
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 400;
  letter-spacing: -0.02em;
}
.pillar p { color: var(--muted); margin-top: 4px; }
.pillar:hover h3 { color: var(--accent); }

.link-row {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 28px;
  align-items: baseline;
  margin-top: 22px;
}
.text-link {
  color: var(--green);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  border-bottom: 1px solid var(--green);
  padding-bottom: 3px;
}
.quiet { color: var(--muted); font-size: 14px; }

.split {
  display: grid;
  gap: 28px;
}
.panel {
  background: var(--card);
  border: 1px solid var(--line);
  padding: 28px;
}
.panel h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 28px;
  letter-spacing: -0.02em;
}
.ticks { margin: 16px 0 0; padding: 0; list-style: none; }
.ticks li {
  padding: 10px 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
}
.ticks li strong { color: var(--ink); font-weight: 500; }

.band {
  background: var(--green);
  color: var(--on-green);
}
.band .eyebrow { color: rgba(248, 246, 241, 0.8); }
.band .eyebrow::before { background: rgba(248, 246, 241, 0.5); }
.band .lede, .band p { color: rgba(248, 246, 241, 0.86); }
.callout {
  border-left: 2px solid var(--accent);
  padding-left: 16px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
  max-width: 36rem;
}

.steps {
  display: grid;
  gap: 18px;
}
.step {
  border-top: 1px solid var(--line);
  padding-top: 18px;
}
.step .num {
  font-family: var(--mono);
  color: var(--accent);
  letter-spacing: 0.22em;
  font-size: 12px;
}
.step h3 {
  margin-top: 10px;
  font-family: var(--serif);
  font-weight: 400;
  font-size: 24px;
  letter-spacing: -0.02em;
}
.step p { margin-top: 10px; color: var(--muted); font-size: 14px; line-height: 1.6; }

.people {
  display: grid;
  gap: 18px;
}
.person {
  border: 1px solid var(--line);
  padding: 28px;
  background: var(--card);
}
.avatar {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  background: var(--green);
  color: var(--on-green);
  font-family: var(--serif);
  letter-spacing: 0.04em;
}
.person h3 {
  margin-top: 18px;
  font-family: var(--serif);
  font-size: 30px;
  font-weight: 400;
}
.role {
  margin-top: 4px;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.person p { margin-top: 14px; color: var(--muted); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; padding: 0; list-style: none; }
.chips li {
  border: 1px solid var(--line);
  padding: 6px 8px;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.page-hero { padding: 48px 0 36px; border-bottom: 1px solid var(--line); }
.page-hero h1 {
  margin-top: 24px;
  font-size: clamp(40px, 4.7vw, 68px);
  line-height: 0.98;
  letter-spacing: -0.028em;
  max-width: 18ch;
  font-weight: 400;
}

.prose { max-width: 42rem; }
.prose p { margin: 14px 0; color: var(--muted); }
.prose h2 {
  margin-top: 32px;
  font-size: clamp(28px, 3vw, 40px);
}
.draft-flag {
  display: inline-block;
  margin-bottom: 12px;
  background: var(--accent);
  color: white;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 6px 8px;
}

.fee-table { width: 100%; border-collapse: collapse; margin-top: 12px; }
.fee-table th, .fee-table td {
  text-align: left;
  vertical-align: top;
  padding: 14px 10px;
  border-bottom: 1px solid var(--line);
}
.fee-table th {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--muted);
}
.fee-amount {
  font-family: var(--serif);
  font-size: 18px;
  white-space: normal;
}
.svc-group {
  margin: 36px 0 8px;
  font-family: var(--serif);
  font-weight: 400;
  font-size: 28px;
  letter-spacing: -0.02em;
}
.disclosure {
  margin-top: 18px;
  padding: 16px;
  border: 1px solid var(--line);
  background: var(--card);
  color: var(--muted);
  font-size: 14px;
}
.pay-note { font-size: 13px; color: var(--muted); margin-top: 8px; }

.form {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}
label { display: grid; gap: 6px; font-size: 14px; font-weight: 500; }
input, select, textarea {
  width: 100%;
  background: white;
  border: 1px solid var(--line);
  border-radius: 2px;
  padding: 12px;
  min-height: 46px;
}
textarea { min-height: 120px; resize: vertical; }
.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; color: var(--muted); }
.check input { width: 20px; height: 20px; margin-top: 2px; }
.form-error { color: #8d2b16; font-size: 14px; }
.form-status {
  padding: 12px 14px;
  background: var(--card);
  border: 1px solid var(--line);
}
.hp { position: absolute; left: -9999px; }

.area-grid { display: grid; gap: 16px; }
.area-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 220px;
  padding: 28px;
  border: 1px solid var(--line);
  text-decoration: none;
  background: var(--card);
}
.area-card h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(28px, 3vw, 36px); letter-spacing: -0.02em; }
.area-card p { color: var(--muted); }
.area-card .text-link { margin-top: auto; }
@media (min-width: 800px) { .area-grid { grid-template-columns: 1fr 1fr; } }

.handle-grid { display: grid; grid-template-columns: 1fr; gap: 0; margin: 8px 0 0; padding: 0; list-style: none; }
.handle-grid li { display: flex; justify-content: space-between; gap: 16px; align-items: baseline; border-top: 1px solid var(--line); padding: 14px 0; color: var(--muted); }
.handle-grid li::before { content: "✓"; color: var(--green); margin-right: 10px; }
.svc-name { flex: 1; }
.svc-price { flex: 0 1 46%; text-align: right; color: var(--green); font-weight: 500; }
.matter-layout { display: grid; gap: 28px; }
.page-intro { display: grid; gap: 18px; align-items: end; padding-bottom: 28px; border-bottom: 1px solid var(--line); }
.back-link { color: var(--muted); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; text-decoration: none; }

@media (min-width: 800px) {
  .matter-layout { grid-template-columns: 1.4fr 0.8fr; align-items: start; }
  .page-intro { grid-template-columns: 1fr 1fr; }
}

.faq details {
  border-top: 1px solid var(--line);
  padding: 14px 0;
}
.faq summary { cursor: pointer; font-weight: 600; }
.faq p { margin-top: 8px; }

.news-list { display: grid; gap: 0; }
.news-item {
  display: grid;
  gap: 6px;
  padding: 22px 0;
  border-top: 1px solid var(--line);
  text-decoration: none;
}
.news-item time, .kicker {
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.news-item h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 28px;
  letter-spacing: -0.02em;
}

.site-footer {
  background: var(--green);
  color: var(--on-green);
  padding: 56px 0 28px;
}
.footer-grid {
  display: grid;
  gap: 28px;
}
.site-footer h2 {
  margin-top: 16px;
  font-family: var(--serif);
  font-weight: 400;
  font-size: 24px;
  line-height: 1.15;
  max-width: 16rem;
}
.footer-kicker {
  margin-top: 16px;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  opacity: 0.75;
}
.site-footer h3 {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  opacity: 0.65;
  margin-bottom: 12px;
}
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-footer a { color: var(--on-green); text-decoration: none; opacity: 0.88; font-size: 14px; }
.site-footer a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 3px; }
.fine {
  display: grid;
  gap: 12px;
  margin-top: 36px;
  padding-top: 18px;
  border-top: 1px solid rgba(248, 246, 241, 0.2);
  font-size: 11px;
  line-height: 1.6;
  opacity: 0.8;
}
.addr { font-style: normal; font-size: 14px; line-height: 1.5; opacity: 0.9; }

@media (min-width: 720px) {
  .utility-right { display: block; }
  .stat-row { grid-template-columns: repeat(4, 1fr); }
  .stat { border-bottom: 0; padding-right: 18px; }
  .people, .steps, .split { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1.2fr 1fr 1fr 1fr; }
  .fine { grid-template-columns: 1.4fr 1fr; }
}

@media (min-width: 1100px) {
  .primary-nav, .nav-actions { display: flex; }
  .menu-btn { display: none; }
  .hero { grid-template-columns: minmax(0, 1fr) 724px; min-height: 680px; align-items: stretch; }
  .hero-copy { padding: 90px 40px 48px 72px; display: flex; flex-direction: column; justify-content: center; }
  .hero-stage { min-height: 698px; margin-top: -10px; }
  .section-head { grid-template-columns: 0.9fr 1.1fr; align-items: end; }
  .pillar { grid-template-columns: 52px minmax(200px, 280px) 1fr; align-items: center; padding: 22px 12px; }
  .pillar-copy { display: contents; }
  .pillar p { margin-top: 0; }
}

body.design-compare .construction,
body.design-compare .added { display: none !important; }

.finder-steps { display: flex; gap: 16px; margin: 0 0 16px; padding: 0; list-style: none; font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.finder-steps .is-on { color: var(--green); font-weight: 600; }
.finder-q { font-family: var(--serif); font-size: clamp(28px, 3vw, 40px); font-weight: 400; letter-spacing: -0.02em; margin: 8px 0 16px; }
.finder-choices { display: grid; gap: 10px; }
@media (min-width: 800px) { .finder-choices { grid-template-columns: 1fr 1fr; } }
.finder-choice { text-align: left; background: var(--card); border: 1px solid var(--line); border-radius: 2px; padding: 14px 16px; min-height: 48px; cursor: pointer; }
.finder-choice:hover { border-color: var(--green); }
.finder-price { font-family: var(--serif); font-size: 28px; color: var(--green); margin: 0 0 12px; }
.finder-back { margin-bottom: 8px; background: none; border: 0; cursor: pointer; }
.booking-modal { position: fixed; inset: 0; background: rgba(26, 26, 26, 0.45); z-index: 70; display: grid; place-items: center; padding: 20px; }
.booking-modal[hidden] { display: none; }
.booking-card { width: min(560px, 100%); background: var(--bg); padding: 28px; border: 1px solid var(--line); }
.draft-pill { display: inline-block; background: var(--accent); color: white; font-size: 11px; font-weight: 700; letter-spacing: 0.14em; padding: 4px 8px; }
.reception-open { position: fixed; right: 16px; bottom: 16px; z-index: 60; background: var(--green); color: var(--on-green); border: 0; border-radius: 2px; min-height: 48px; padding: 12px 16px; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 600; cursor: pointer; }
.reception { position: fixed; right: 16px; bottom: 72px; z-index: 60; width: min(380px, calc(100% - 32px)); }
.reception[hidden] { display: none; }
.reception-card { background: var(--bg); border: 1px solid var(--line); padding: 20px; box-shadow: 0 12px 30px rgba(0,0,0,0.12); }
.reception-card h2, .reception-card h3 { font-family: var(--serif); font-weight: 400; }

@media (max-width: 800px) {
  .utility, .nav-row { padding-left: 20px; padding-right: 20px; height: auto; min-height: 36px; }
  .nav-row { min-height: 72px; }
  .wrap { padding-left: 20px; padding-right: 20px; }
  .hero-copy { padding: 36px 20px 28px; }
  .hero h1 { font-size: 46px; line-height: 48px; letter-spacing: -1.2px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
