:root {
  --primary: #1e3a3f;
  --primary-dark: #152b2f;
  --primary-deep: #0f2023;
  --accent: #a6865e;
  --accent-dark: #8a6e4a;
  --cream: #faf6ef;
  --cream-2: #fcf9f4;
  --cream-3: #f2ebde;
  --white: #ffffff;
  --text: #1a2428;
  --text-muted: #5a656b;
  --border: #e6ddd1;
  --border-strong: #d6c9b4;
  --shadow-sm: 0 1px 2px rgba(21, 43, 47, 0.06);
  --shadow-md: 0 6px 24px rgba(21, 43, 47, 0.08);
  --shadow-lg: 0 18px 48px rgba(21, 43, 47, 0.12);
  --font-serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --wrap: 1160px;
  --radius: 4px;
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, svg { max-width: 100%; display: block; }

a {
  color: var(--primary);
  text-decoration: none;
  transition: color 0.2s var(--ease);
}
a:hover { color: var(--accent-dark); }

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 600;
  color: var(--primary-dark);
  line-height: 1.2;
  margin: 0 0 0.5em;
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2rem, 4.2vw, 3.25rem); }
h2 { font-size: clamp(1.6rem, 2.8vw, 2.25rem); }
h3 { font-size: 1.25rem; font-weight: 600; }
p { margin: 0 0 1em; }

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

.skip {
  position: absolute; left: -9999px; top: 0;
  background: var(--primary-dark); color: var(--white);
  padding: 12px 18px; z-index: 100;
}
.skip:focus { left: 12px; top: 12px; }

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 24px;
}

/* ============ Top Bar ============ */

.top-bar {
  background: var(--primary-deep);
  color: rgba(255, 255, 255, 0.8);
  font-size: 13px;
  letter-spacing: 0.02em;
}
.top-bar__row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  padding: 10px 24px;
}
.top-bar__item { white-space: nowrap; }
.top-bar__item--accent {
  color: var(--accent);
  font-weight: 500;
}
.top-bar__sep { color: rgba(255, 255, 255, 0.3); }

/* ============ Header / Nav ============ */

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250, 246, 239, 0.96);
  backdrop-filter: saturate(1.2) blur(8px);
  border-bottom: 1px solid var(--border);
}
.site-header__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 24px;
}

.brand {
  display: flex; align-items: center; gap: 14px;
  color: var(--primary-dark);
}
.brand:hover { color: var(--primary-dark); }
.brand__mark {
  display: inline-flex;
  align-items: center; justify-content: center;
  width: 46px; height: 46px;
  border: 1.5px solid var(--primary-dark);
  color: var(--primary-dark);
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.08em;
  border-radius: var(--radius);
  background: var(--cream-2);
}
.brand__text { display: flex; flex-direction: column; line-height: 1.15; }
.brand__name {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 17px;
  color: var(--primary-dark);
}
.brand__tag {
  font-size: 12px;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.primary-nav { display: flex; align-items: center; gap: 28px; }
.primary-nav ul {
  list-style: none; margin: 0; padding: 0;
  display: flex; gap: 28px;
}
.primary-nav a {
  color: var(--primary-dark);
  font-weight: 500;
  font-size: 15px;
  padding: 6px 2px;
  border-bottom: 1.5px solid transparent;
  transition: border-color 0.2s var(--ease), color 0.2s var(--ease);
}
.primary-nav a:hover,
.primary-nav a.is-active {
  color: var(--accent-dark);
  border-bottom-color: var(--accent);
}

.phone-cta {
  font-variant-numeric: tabular-nums;
}

.nav-toggle {
  display: none;
  background: transparent; border: 0; cursor: pointer;
  padding: 10px; gap: 5px;
  flex-direction: column;
}
.nav-toggle__bar {
  width: 26px; height: 2px;
  background: var(--primary-dark);
  transition: transform 0.25s var(--ease), opacity 0.25s var(--ease);
}

/* ============ Buttons ============ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 15px;
  letter-spacing: 0.01em;
  padding: 12px 22px;
  border-radius: var(--radius);
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 0.15s var(--ease), background 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
  text-align: center;
  line-height: 1.2;
}
.btn:hover { transform: translateY(-1px); }

.btn--primary {
  background: var(--primary-dark);
  color: var(--white);
  border-color: var(--primary-dark);
  box-shadow: var(--shadow-sm);
}
.btn--primary:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
  color: var(--white);
  box-shadow: var(--shadow-md);
}

.btn--ghost {
  background: transparent;
  border-color: var(--primary-dark);
  color: var(--primary-dark);
}
.btn--ghost:hover {
  background: var(--primary-dark);
  color: var(--white);
}

.btn--ghost-dark {
  background: transparent;
  border-color: var(--primary-dark);
  color: var(--primary-dark);
}
.btn--ghost-dark:hover {
  background: var(--primary-dark);
  color: var(--white);
}

.btn--ghost-light {
  background: transparent;
  border-color: var(--cream-3);
  color: var(--cream);
}
.btn--ghost-light:hover {
  background: var(--cream-3);
  color: var(--primary-dark);
}

.btn--block { width: 100%; }

/* ============ Hero ============ */

.hero {
  background: linear-gradient(180deg, var(--cream) 0%, var(--cream-2) 100%);
  padding: 72px 0 88px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  top: -40%; right: -10%;
  width: 640px; height: 640px;
  background: radial-gradient(circle, rgba(166, 134, 94, 0.10) 0%, rgba(166, 134, 94, 0) 70%);
  pointer-events: none;
}
.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  gap: 56px;
  align-items: center;
  position: relative;
}
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 12px;
  font-weight: 600;
  color: var(--accent-dark);
  margin: 0 0 16px;
}
.eyebrow--light { color: var(--accent); }

.hero__copy h1 { margin-bottom: 20px; }
.lede {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 56ch;
  margin-bottom: 32px;
}

.hero__ctas {
  display: flex; flex-wrap: wrap; gap: 12px;
  margin-bottom: 36px;
}
.hero__pills {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-wrap: wrap; gap: 8px;
}
.hero__pills li {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  background: var(--cream-3);
  color: var(--primary-dark);
  font-size: 13px;
  font-weight: 500;
  border-radius: 999px;
  border: 1px solid var(--border);
}

.hero__card {
  background: var(--white);
  border: 1px solid var(--border);
  border-top: 3px solid var(--accent);
  padding: 32px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
}
.hero__card-title {
  font-size: 1.05rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 20px;
  color: var(--primary-dark);
}
.facts {
  margin: 0;
  display: grid;
  gap: 16px;
}
.facts > div {
  display: grid;
  gap: 2px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
}
.facts > div:last-child { border-bottom: 0; padding-bottom: 0; }
.facts dt {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  font-weight: 600;
}
.facts dd {
  margin: 0;
  font-size: 15px;
  color: var(--primary-dark);
  font-weight: 500;
}

/* ============ Page Hero (interior pages) ============ */

.page-hero {
  background: linear-gradient(180deg, var(--primary-dark) 0%, var(--primary) 100%);
  color: var(--cream);
  padding: 72px 0 64px;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 90% 0%, rgba(166, 134, 94, 0.18) 0%, transparent 50%),
    radial-gradient(circle at 0% 100%, rgba(166, 134, 94, 0.08) 0%, transparent 50%);
  pointer-events: none;
}
.page-hero .wrap { position: relative; }
.page-hero h1 { color: var(--white); margin-bottom: 12px; }
.page-hero .eyebrow { color: var(--accent); }
.page-hero .lede {
  color: rgba(250, 246, 239, 0.85);
  max-width: 60ch;
  margin-bottom: 0;
}

.pa-jump {
  margin-top: 28px;
  display: flex; flex-wrap: wrap; gap: 10px;
}
.pa-jump a {
  padding: 8px 16px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: var(--cream);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  transition: background 0.2s var(--ease), border-color 0.2s var(--ease);
}
.pa-jump a:hover {
  background: rgba(166, 134, 94, 0.25);
  border-color: var(--accent);
  color: var(--white);
}

/* ============ Sections ============ */

.section { padding: 88px 0; }
.section--light { background: var(--cream); }
.section--cream { background: var(--cream-2); }
.section--dark { background: var(--primary-dark); color: var(--cream); }
.section--dark h2, .section--dark h3 { color: var(--white); }

.section__head {
  max-width: 620px;
  margin: 0 auto 56px;
  text-align: center;
}
.section__intro {
  color: var(--text-muted);
  font-size: 1.05rem;
}
.section--dark .section__intro { color: rgba(250, 246, 239, 0.8); }

/* ============ Cards ============ */

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}
.card {
  background: var(--white);
  border: 1px solid var(--border);
  padding: 32px 28px;
  border-radius: var(--radius);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s var(--ease);
  position: relative;
}
.card::before {
  content: "";
  position: absolute; top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--accent);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.3s var(--ease);
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--border-strong);
}
.card:hover::before { transform: scaleX(1); }
.card h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
}
.card p { color: var(--text-muted); margin-bottom: 18px; }
.card__link {
  font-weight: 500;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent-dark);
}
.card__link:hover { color: var(--primary-dark); }

/* ============ About Preview ============ */

.about-preview {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 64px;
  align-items: center;
}
.about-preview__copy p { color: rgba(250, 246, 239, 0.85); }
.about-preview__stats {
  display: grid;
  gap: 20px;
}
.stat {
  display: flex;
  flex-direction: column;
  padding: 24px 28px;
  background: rgba(255, 255, 255, 0.04);
  border-left: 3px solid var(--accent);
}
.stat__num {
  font-family: var(--font-serif);
  font-size: 2.25rem;
  font-weight: 600;
  color: var(--white);
  line-height: 1;
}
.stat__label {
  margin-top: 6px;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(250, 246, 239, 0.75);
}

/* ============ CTA Band ============ */

.cta-band {
  background: var(--cream-3);
  padding: 48px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.cta-band__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.cta-band h2 { margin-bottom: 4px; font-size: 1.55rem; }
.cta-band p { margin: 0; color: var(--text-muted); }
.cta-band__actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ============ Bio (About page) ============ */

.bio-grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 56px;
  align-items: start;
}
.bio-portrait { text-align: center; position: sticky; top: 110px; }
.bio-portrait__frame {
  aspect-ratio: 4 / 5;
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 60%, var(--accent-dark) 160%);
  display: flex; align-items: center; justify-content: center;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  margin-bottom: 16px;
}
.bio-portrait__mono {
  font-family: var(--font-serif);
  font-size: 4rem;
  font-weight: 600;
  color: var(--cream);
  letter-spacing: 0.05em;
}
.bio-portrait__caption {
  font-family: var(--font-serif);
  color: var(--primary-dark);
  font-size: 1.1rem;
  margin: 0;
}

.bio-body h2 { margin-bottom: 20px; }
.bio-body h3 { margin-top: 32px; margin-bottom: 12px; }
.bio-body p { color: var(--text-muted); font-size: 1.02rem; }

.tick-list { list-style: none; padding: 0; margin: 0; }
.tick-list li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 10px;
  color: var(--text-muted);
}
.tick-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 10px;
  width: 14px; height: 8px;
  border-left: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: rotate(-45deg);
}

/* ============ Credentials Grid ============ */

.creds-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}
.creds-card {
  background: var(--white);
  border: 1px solid var(--border);
  padding: 28px;
  border-radius: var(--radius);
}
.creds-card h3 {
  font-size: 1.1rem;
  color: var(--accent-dark);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border-bottom: 1px solid var(--border);
  padding-bottom: 12px;
  margin-bottom: 16px;
}
.creds-list { list-style: none; padding: 0; margin: 0; }
.creds-list li {
  padding: 10px 0;
  border-bottom: 1px dashed var(--border);
  color: var(--text);
}
.creds-list li:last-child { border-bottom: 0; }
.creds-list strong {
  color: var(--primary-dark);
  font-family: var(--font-serif);
  font-weight: 600;
}

/* ============ Practice Areas Blocks ============ */

.pa-block {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 56px;
  align-items: start;
}
.pa-block__head {
  position: sticky; top: 110px;
}
.pa-block__head h2 { margin-bottom: 18px; }
.pa-block__head p { color: var(--text-muted); }

.pa-block__list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.pa-item {
  padding: 22px 24px;
  background: var(--white);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius);
}
.pa-item h3 {
  font-size: 1.05rem;
  margin-bottom: 6px;
}
.pa-item p {
  color: var(--text-muted);
  font-size: 0.97rem;
  margin: 0;
}

/* ============ Contact ============ */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 56px;
  align-items: start;
}
.contact-address {
  font-style: normal;
  font-size: 1.05rem;
  line-height: 1.55;
  padding: 20px 24px;
  background: var(--cream-2);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius);
  margin-bottom: 24px;
}
.contact-address strong {
  font-family: var(--font-serif);
  color: var(--primary-dark);
  font-weight: 600;
  display: block; margin-bottom: 4px;
}
.contact-dl { margin: 0 0 24px; display: grid; gap: 14px; }
.contact-dl > div {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
}
.contact-dl > div:last-child { border-bottom: 0; }
.contact-dl dt {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  font-weight: 600;
  padding-top: 3px;
}
.contact-dl dd { margin: 0; color: var(--primary-dark); font-weight: 500; }

.directions h3 {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent-dark);
  margin-bottom: 8px;
}
.directions p { color: var(--text-muted); font-size: 0.95rem; }

.map-link {
  display: inline-block;
  margin-top: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--accent-dark);
}
.map-link:hover { color: var(--primary-dark); }

.contact-form {
  background: var(--white);
  border: 1px solid var(--border);
  border-top: 3px solid var(--accent);
  padding: 36px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  display: grid; gap: 18px;
}
.contact-form h2 { margin-bottom: 4px; }
.form-note {
  background: var(--cream-3);
  color: var(--primary-dark);
  padding: 12px 14px;
  border-radius: var(--radius);
  font-size: 13px;
  margin: 0 0 6px;
}
/* The inline phone link needs a 44px hit area; the negative margin cancels the
   padding's effect on the line box so the sentence still reads normally. */
.form-note a {
  display: inline-block;
  padding: 14px 4px;
  margin: -14px 0;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.contact-form label {
  display: grid; gap: 6px;
  font-size: 14px;
  font-weight: 500;
  color: var(--primary-dark);
}
.req { color: var(--accent-dark); }
.contact-form input,
.contact-form select,
.contact-form textarea {
  font-family: var(--font-sans);
  /* 16px prevents iOS Safari from zooming the viewport on focus; the vertical
     padding takes the control to a 44px+ touch target. */
  font-size: 16px;
  padding: 12px 14px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  background: var(--cream-2);
  color: var(--text);
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease), background 0.2s var(--ease);
  width: 100%;
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(166, 134, 94, 0.18);
}
.contact-form textarea { resize: vertical; min-height: 140px; }
.form-fine {
  font-size: 12px;
  color: var(--text-muted);
  margin: 4px 0 0;
  line-height: 1.55;
}

/* Honeypot. Must stay in the DOM and submittable — display:none would stop
   some bots filling it, which defeats the point — so it is moved offscreen. */
.form-hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* ============ Footer ============ */

.site-footer {
  background: var(--primary-deep);
  color: rgba(250, 246, 239, 0.75);
  padding: 56px 0 28px;
  font-size: 14px;
}
.site-footer a { color: rgba(250, 246, 239, 0.85); }
.site-footer a:hover { color: var(--accent); }
.site-footer__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.footer-brand {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  color: var(--white);
  margin-bottom: 12px;
}
.site-footer address { font-style: normal; margin-bottom: 12px; line-height: 1.7; }
.footer-head {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--accent);
  margin-bottom: 14px;
  font-family: var(--font-sans);
  font-weight: 600;
}
.footer-list { list-style: none; padding: 0; margin: 0; }
.footer-list li { margin-bottom: 8px; }

.site-footer__legal {
  padding-top: 22px;
  display: grid; gap: 10px;
}
.site-footer__legal p { margin: 0; }
.disclaimer {
  font-size: 12px;
  line-height: 1.6;
  color: rgba(250, 246, 239, 0.55);
  max-width: 900px;
}

/* ============ Responsive ============ */

@media (max-width: 980px) {
  .hero__grid { grid-template-columns: 1fr; gap: 40px; }
  .about-preview { grid-template-columns: 1fr; gap: 40px; }
  .bio-grid { grid-template-columns: 1fr; gap: 32px; }
  .bio-portrait { position: static; max-width: 280px; margin: 0 auto; }
  .pa-block { grid-template-columns: 1fr; gap: 32px; }
  .pa-block__head { position: static; }
  .pa-block__list { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 780px) {
  .section { padding: 64px 0; }
  .hero { padding: 56px 0 64px; }

  .nav-toggle { display: inline-flex; }
  .primary-nav {
    position: absolute;
    top: 100%; left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--cream);
    border-bottom: 1px solid var(--border);
    padding: 8px 24px 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s var(--ease);
  }
  .primary-nav.is-open { max-height: 420px; }
  .primary-nav ul {
    flex-direction: column;
    gap: 0;
    width: 100%;
  }
  .primary-nav li {
    border-bottom: 1px solid var(--border);
  }
  .primary-nav a {
    display: block;
    padding: 14px 4px;
    font-size: 16px;
  }
  .phone-cta { margin-top: 14px; width: 100%; justify-content: center; }

  .top-bar__row { font-size: 12px; gap: 8px; }

  .cta-band__row { flex-direction: column; align-items: flex-start; }

  .hero__card { padding: 24px; }
  .contact-form { padding: 24px; }
}

@media (max-width: 520px) {
  .brand__name { font-size: 15px; }
  .brand__tag { font-size: 11px; }
  .brand__mark { width: 40px; height: 40px; font-size: 13px; }
  h1 { font-size: 1.9rem; }
  .pa-jump { gap: 8px; }
  .pa-jump a { font-size: 13px; padding: 6px 12px; }
  .contact-dl > div { grid-template-columns: 1fr; gap: 2px; }
}

/* ============ Accessibility polish ============ */

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
  border-radius: 2px;
}
:focus:not(:focus-visible) { outline: none; }

.btn:focus-visible { outline-offset: 3px; }

.skip:focus {
  left: 12px; top: 12px;
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}

[id] { scroll-margin-top: 110px; }

@media (max-width: 780px) {
  /* 44px is the minimum comfortable touch target. Anything a thumb is meant
     to hit needs it — inline text links default to ~17px line-height. */
  .primary-nav a,
  .pa-jump a,
  .footer-list a,
  .breadcrumb a,
  .card__link,
  .map-link,
  .contact-dl dd a,
  .site-footer p a {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
  }
  .nav-toggle {
    min-width: 44px;
    min-height: 44px;
    align-items: center;
    justify-content: center;
  }
  .brand { min-height: 44px; }
  /* The taller breadcrumb links already supply the gap below. */
  .breadcrumb { margin-bottom: 6px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
}

.bio-body p a,
.pa-item p a,
.section__intro a,
.disclaimer a,
.faq-body a {
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}
.bio-body p a:hover,
.pa-item p a:hover,
.section__intro a:hover,
.faq-body a:hover {
  text-decoration-thickness: 2px;
}

/* ============ Breadcrumbs ============ */

.breadcrumb { margin-bottom: 20px; }
.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
  margin: 0;
  gap: 8px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(250, 246, 239, 0.7);
}
.breadcrumb li + li::before {
  content: "\203A";
  margin-right: 8px;
  opacity: 0.6;
}
.breadcrumb a {
  color: rgba(250, 246, 239, 0.85);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s var(--ease), color 0.2s var(--ease);
}
.breadcrumb a:hover {
  color: var(--accent);
  border-bottom-color: var(--accent);
}
.breadcrumb [aria-current="page"] {
  color: var(--accent);
  font-weight: 500;
}

/* ============ FAQ ============ */

.faq {
  display: grid;
  gap: 12px;
  max-width: 860px;
  margin: 0 auto;
}
.faq details {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
  overflow: hidden;
}
.faq details[open] {
  border-color: var(--border-strong);
  box-shadow: var(--shadow-sm);
}
.faq summary {
  cursor: pointer;
  padding: 20px 60px 20px 24px;
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 1.08rem;
  color: var(--primary-dark);
  list-style: none;
  position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.6rem;
  line-height: 1;
  color: var(--accent);
  font-weight: 400;
  font-family: var(--font-sans);
}
.faq details[open] summary::after { content: "\2212"; }
.faq summary:hover { color: var(--accent-dark); }
.faq summary:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: -3px;
}
.faq-body {
  padding: 0 24px 22px;
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.65;
}
.faq-body p:last-child { margin-bottom: 0; }

/* ============ Served communities chip list ============ */

.served-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
  padding: 0;
  margin: 14px 0 0;
}
.served-list li {
  font-size: 14px;
  padding: 6px 14px;
  background: var(--cream-2);
  border: 1px solid var(--border);
  color: var(--primary-dark);
  border-radius: 999px;
}

/* ============ Tap-to-open-Maps on contact address ============ */

.contact-address__map {
  display: inline-block;
  color: var(--primary-dark);
  text-decoration: none;
  border-bottom: 1px solid var(--border-strong);
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.contact-address__map:hover {
  color: var(--accent-dark);
  border-bottom-color: var(--accent);
}

/* ============ Mobile sticky call bar ============ */

.mobile-cta { display: none; }

/* ============ Mobile nav backdrop ============ */

.nav-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 32, 35, 0.45);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s var(--ease);
  z-index: 30;
}
.nav-backdrop.is-visible {
  opacity: 1;
  pointer-events: auto;
}
@media (min-width: 781px) {
  .nav-backdrop { display: none; }
}

/* ============ Mobile optimization layer (overrides) ============ */

@media (max-width: 780px) {
  /* Tighter top bar to save vertical space */
  .top-bar { font-size: 11px; }
  .top-bar__row { padding: 6px 14px; gap: 4px; }

  /* Slightly tighter hero */
  .hero { padding: 36px 0 52px; }
  .hero__copy h1 { margin-bottom: 14px; }
  .lede { font-size: 1.05rem; margin-bottom: 24px; }

  /* Full-width stacked CTAs on mobile for thumb-friendliness */
  .hero__ctas {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }
  .hero__ctas .btn { width: 100%; }

  .cta-band__actions {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }
  .cta-band__actions .btn { width: 100%; }

  /* Prevent body scroll when hamburger nav is open */
  body.is-nav-open { overflow: hidden; }

  /* Leave space for the fixed call bar */
  body { padding-bottom: 86px; }

  /* Sticky call-to-call bar */
  .mobile-cta {
    display: flex;
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: 12px;
    padding: 12px 18px;
    background: var(--primary-dark);
    color: var(--cream);
    border: 1px solid rgba(166, 134, 94, 0.35);
    border-radius: 10px;
    box-shadow: 0 10px 28px rgba(15, 32, 35, 0.45);
    z-index: 45;
    align-items: center;
    justify-content: center;
    gap: 14px;
    font-family: var(--font-sans);
    text-decoration: none;
    min-height: 58px;
    transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
  }
  .mobile-cta:hover,
  .mobile-cta:focus-visible {
    color: var(--cream);
    background: #0e252a;
  }
  .mobile-cta.is-hidden {
    transform: translateY(130%);
    opacity: 0;
    pointer-events: none;
  }
  .mobile-cta__icon {
    flex: none;
    width: 22px;
    height: 22px;
    color: var(--accent);
  }
  .mobile-cta__body {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
  }
  .mobile-cta__body strong {
    font-size: 16px;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
    letter-spacing: 0.01em;
  }
  .mobile-cta__body span {
    font-size: 11px;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-top: 3px;
  }
}

@media (max-width: 420px) {
  /* Tight ultra-small viewports */
  .brand__tag { display: none; }
  .hero__copy h1 { font-size: 1.75rem; }
  .page-hero { padding: 48px 0 44px; }
  .page-hero h1 { font-size: 1.9rem; }
  .mobile-cta { padding: 11px 14px; min-height: 54px; }
  .mobile-cta__body strong { font-size: 15px; }
}

/* ============ Practice-area landing pages ============ */

/* CTA pair inside the dark interior-page hero. */
.hero__ctas--onDark {
  margin-top: 28px;
  margin-bottom: 0;
}

/* Running prose in the right-hand column of a .pa-block. */
.pa-block__prose p {
  color: var(--text-muted);
  font-size: 1.02rem;
}
.pa-block__prose p:last-child { margin-bottom: 0; }

/* Both modifiers are declared after the responsive block above so they win on
   source order — .pa-block__list is forced to one column under 980px, which
   would otherwise flatten the auto-fit variant on tablets. */
.pa-block__list--single { grid-template-columns: 1fr; }
.pa-block__list--wide {
  grid-template-columns: repeat(auto-fit, minmax(258px, 1fr));
}

/* Numbered process list ("what to do after an accident", "how a divorce works") */
.steps {
  counter-reset: step;
  list-style: none;
  padding: 0;
  margin: 0 auto;
  max-width: 880px;
  display: grid;
  gap: 16px;
}
.steps > li {
  counter-increment: step;
  position: relative;
  padding: 24px 28px 24px 78px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.steps > li::before {
  content: counter(step);
  position: absolute;
  left: 26px;
  top: 24px;
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-dark);
  color: var(--cream);
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 15px;
  border-radius: 50%;
}
.steps h3 {
  font-size: 1.08rem;
  margin-bottom: 6px;
}
.steps p {
  color: var(--text-muted);
  font-size: 0.98rem;
  margin: 0;
}

@media (max-width: 560px) {
  /* Stack the marker above the text rather than squeezing a 78px gutter. */
  .steps > li { padding: 20px 20px 22px; }
  .steps > li::before {
    position: static;
    margin-bottom: 12px;
  }
}

/* Cards sitting on a .section--dark background */
.card--dark {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.12);
}
.card--dark p { color: rgba(250, 246, 239, 0.78); }
.card--dark .card__link { color: var(--accent); }
.card--dark .card__link:hover { color: var(--white); }
.card--dark:hover {
  border-color: rgba(166, 134, 94, 0.5);
  box-shadow: none;
}
