/* Personal Injury Lawyers Greenville — original site styles, no external fonts or trackers */
:root {
  --ink: #1c2a38;
  --ink-soft: #314155;
  --muted: #5c6b78;
  --paper: #f6f3ec;
  --card: #fffdf8;
  --line: #d8d0c4;
  --accent: #8a5a2b;
  --link: #1b4f73;
  --link-hover: #123952;
  --ok-bg: #e8f3eb;
  --ok-ink: #1a4d32;
  --err-bg: #f8eaea;
  --err-ink: #7a2424;
  --focus: #c4a574;
  --max: 68rem;
  --prose: 44rem;
  --header-h: 4.25rem;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Segoe UI", system-ui, -apple-system, Roboto, Helvetica, Arial, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
}
img, svg { max-width: 100%; height: auto; }
a { color: var(--link); text-underline-offset: 0.15em; }
a:hover { color: var(--link-hover); }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible, summary:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
}
.skip {
  position: absolute;
  left: 0.75rem;
  top: -3rem;
  background: var(--ink);
  color: #fff;
  padding: 0.5rem 0.85rem;
  z-index: 100;
}
.skip:focus { top: 0.5rem; }
.disclaimer-bar {
  background: var(--ink);
  color: #efece6;
  font-size: 0.8125rem;
  line-height: 1.45;
  padding: 0.45rem 1rem;
  text-align: center;
}
.disclaimer-bar a { color: #f0d9a8; }
.wrap {
  width: min(var(--max), calc(100% - 2rem));
  margin-inline: auto;
}
.site-header {
  background: var(--card);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 20;
}
.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header-h);
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: var(--ink);
  min-width: 0;
}
.brand-mark {
  flex: none;
  width: 2rem;
  height: 2rem;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-kicker {
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 650;
}
.brand-name {
  font-family: Georgia, "Palatino Linotype", Palatino, "Times New Roman", serif;
  font-size: 1.05rem;
  font-weight: 600;
}
/* Desktop: hide the Menu summary, keep the nav visible. */
.menu-toggle { display: block; }
.menu-toggle > summary { display: none; }
.menu-toggle > .nav { display: flex; }
.nav {
  display: flex;
  align-items: center;
  gap: 0.15rem 1rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.nav a, .nav summary {
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 550;
  cursor: pointer;
  list-style: none;
}
.nav a:hover, .nav summary:hover { color: var(--ink); text-decoration: underline; }
.nav details { position: relative; }
.nav details ul {
  position: absolute;
  right: 0;
  top: calc(100% + 0.35rem);
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 0.4rem;
  box-shadow: 0 8px 24px rgba(28,42,56,0.12);
  min-width: 17rem;
  padding: 0.45rem 0;
  margin: 0;
  list-style: none;
  z-index: 25;
}
.nav details ul a {
  display: block;
  padding: 0.4rem 0.9rem;
  font-weight: 450;
}
.nav .cta {
  background: var(--ink);
  color: #fff !important;
  text-decoration: none !important;
  padding: 0.45rem 0.85rem;
  border-radius: 0.3rem;
}
.nav .cta:hover { background: var(--ink-soft); }
.hero, .page-hero {
  padding: 2.4rem 0 1.6rem;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(180deg, #efe9dc 0%, var(--paper) 100%);
}
.hero h1, .page-hero h1, h1, h2, h3 {
  font-family: Georgia, "Palatino Linotype", Palatino, "Times New Roman", serif;
  font-weight: 600;
  line-height: 1.2;
  color: var(--ink);
}
h1 { font-size: clamp(1.7rem, 3.4vw, 2.35rem); margin: 0 0 0.85rem; }
h2 { font-size: 1.45rem; margin: 2rem 0 0.7rem; }
h3 { font-size: 1.15rem; margin: 1.4rem 0 0.45rem; }
.lede { font-size: 1.15rem; max-width: 46rem; color: var(--ink-soft); margin: 0 0 1.2rem; }
.actions { display: flex; flex-wrap: wrap; gap: 0.7rem; margin: 1.1rem 0 0; }
.btn {
  display: inline-block;
  background: var(--ink);
  color: #fff;
  text-decoration: none;
  padding: 0.65rem 1.05rem;
  border-radius: 0.3rem;
  font-weight: 600;
  border: 1px solid var(--ink);
}
.btn:hover { background: var(--ink-soft); color: #fff; }
.btn-secondary {
  background: transparent;
  color: var(--ink);
}
.btn-secondary:hover { background: #efe9dc; color: var(--ink); }
.main { padding: 1.8rem 0 3rem; }
.prose { max-width: var(--prose); }
.prose p, .prose li { color: var(--ink-soft); }
.prose ul, .prose ol { padding-left: 1.2rem; }
.grid-intro { margin: 0.4rem 0 0; max-width: 46rem; color: var(--ink-soft); }
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 16.5rem), 1fr));
  gap: 0.85rem;
  margin: 1.2rem 0 0.4rem;
  width: 100%;
  align-items: stretch;
}
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 0.4rem;
  padding: 1rem 1.05rem 1.05rem;
  text-decoration: none;
  color: inherit;
  display: block;
  min-width: 0;
  height: 100%;
}
a.card:hover { border-color: var(--accent); }
.card h2, .card h3 { margin: 0 0 0.35rem; font-size: 1.12rem; }
.card p { margin: 0; color: var(--muted); font-size: 0.95rem; }
.resource {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 0.4rem;
  padding: 1rem 1.1rem;
  margin: 0 0 0.8rem;
}
.resource h3 { margin-top: 0; }
.resource address { font-style: normal; }
.note, .callout {
  border-left: 3px solid var(--accent);
  background: #f1ebe0;
  padding: 0.8rem 1rem;
  margin: 1.2rem 0;
}
form.lead-form {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 0.45rem;
  padding: 1.2rem;
  max-width: 36rem;
}
.field { margin: 0 0 1rem; }
.field label, .check label { display: block; font-weight: 600; margin: 0 0 0.3rem; }
.hint { display: block; font-weight: 400; color: var(--muted); font-size: 0.9rem; margin-top: 0.15rem; }
input[type="text"], input[type="email"], input[type="tel"], input[type="date"], textarea {
  width: 100%;
  font: inherit;
  color: var(--ink);
  background: #fff;
  border: 1px solid #c9c1b5;
  border-radius: 0.3rem;
  padding: 0.55rem 0.65rem;
}
textarea { min-height: 8rem; resize: vertical; }
.check { display: flex; gap: 0.6rem; align-items: flex-start; margin: 0 0 1rem; }
.check input { margin-top: 0.35rem; flex: none; }
.check label { font-weight: 450; }
.hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
button[type="submit"] {
  font: inherit;
  font-weight: 650;
  background: var(--ink);
  color: #fff;
  border: 0;
  border-radius: 0.3rem;
  padding: 0.7rem 1.15rem;
  cursor: pointer;
}
button[type="submit"]:hover { background: var(--ink-soft); }
.alert {
  border-radius: 0.35rem;
  padding: 0.85rem 1rem;
  margin: 0 0 1.2rem;
}
.alert-ok { background: var(--ok-bg); color: var(--ok-ink); }
.alert-err { background: var(--err-bg); color: var(--err-ink); }
.faq details {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 0.35rem;
  padding: 0.7rem 1rem;
  margin: 0 0 0.55rem;
}
.faq summary { font-weight: 650; cursor: pointer; }
.faq details p { margin: 0.6rem 0 0.2rem; }
.site-footer {
  background: var(--ink);
  color: #e6e1d8;
  padding: 2rem 0 1.6rem;
  font-size: 0.92rem;
}
.site-footer a { color: #f0d9a8; }
.footer-links { display: flex; flex-wrap: wrap; gap: 0.75rem 1.1rem; margin: 0 0 1rem; }
.footer-disclaimer { margin: 0; color: #c9c3b8; max-width: 52rem; }
@media (max-width: 820px) {
  .menu-toggle { display: block; width: 100%; }
  .menu-toggle > summary {
    display: block;
    list-style: none;
    font-weight: 650;
    cursor: pointer;
    padding: 0.4rem 0.2rem;
  }
  .menu-toggle > .nav { display: none; }
  .menu-toggle summary::-webkit-details-marker { display: none; }
  .nav {
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 0 0 1rem;
    gap: 0.35rem;
  }
  .menu-toggle[open] .nav { display: flex; }
  .nav details ul {
    position: static;
    box-shadow: none;
    border: 0;
    padding: 0.2rem 0 0.2rem 0.8rem;
  }
  .nav .cta { text-align: center; }
  .header-row { flex-wrap: wrap; }
  .brand { padding: 0.6rem 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
