/* ============================================================
   Parkhurst Law — design system
   Palette: ink (near-black), warm paper, logo-blue accent
   Type: Fraunces (display) + Inter (text), self-hosted
   ============================================================ */

/* ---------- Fonts ---------- */
@font-face {
  font-family: 'Fraunces';
  src: url('../assets/fonts/fraunces.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Fraunces';
  src: url('../assets/fonts/fraunces-italic.woff2') format('woff2');
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('../assets/fonts/inter.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
  --ink: #0b0e13;
  --ink-2: #11151d;
  --ink-3: #171c26;
  --paper: #f3efe7;
  --paper-2: #eae5d9;
  --accent: #3f9cd8;
  --accent-bright: #63b3e4;
  --accent-deep: #0f4c73;
  --text-dark: #1a1d23;          /* text on paper */
  --text-dark-muted: #565a63;
  --text-light: #ece8df;         /* text on ink */
  --text-light-muted: #a3a49e;
  --line-dark: rgba(26, 29, 35, 0.14);
  --line-light: rgba(236, 232, 223, 0.14);

  --font-display: 'Fraunces', Georgia, serif;
  --font-text: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);

  --container: 1200px;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --header-h: 76px;
}

/* ---------- Reset-ish ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
[id] { scroll-margin-top: calc(var(--header-h) + 12px); }
body {
  font-family: var(--font-text);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-light);
  background: var(--ink);
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
em { font-style: italic; }

::selection { background: var(--accent); color: var(--ink); }

.container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--accent); color: var(--ink);
  padding: 0.6rem 1rem; z-index: 200; font-weight: 600;
}
.skip-link:focus { left: 0; }

.hidden-field { position: absolute; left: -9999px; }

/* ---------- Type ---------- */
h1, h2, h3 { font-family: var(--font-display); font-weight: 560; line-height: 1.05; letter-spacing: -0.01em; }
h2 { font-size: clamp(2rem, 4.6vw, 3.4rem); }
h2 em, h1 em { color: var(--accent); font-style: italic; font-weight: 480; }
.section-light h2 em { color: var(--accent-deep); }

.eyebrow {
  display: flex; align-items: center; gap: 0.75rem;
  font-size: 0.78rem; font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--accent-deep);
  margin-bottom: 1.25rem;
}
.section-dark .eyebrow, .hero .eyebrow { color: var(--accent); }

.section-head { margin-bottom: clamp(2.5rem, 6vw, 4.5rem); }

/* centered section headings (full-width sections) */
.practice .section-head, .areas .section-head,
.attorneys .section-head, .testimonials .section-head {
  text-align: center;
}
.practice .section-head .eyebrow, .areas .section-head .eyebrow,
.attorneys .section-head .eyebrow, .testimonials .section-head .eyebrow {
  justify-content: center;
}

/* ---------- Sections ---------- */
section { position: relative; }
.section-light { background: var(--paper); color: var(--text-dark); }
.section-light + .section-light { border-top: 1px solid var(--line-dark); }
.section-dark { background: var(--ink); color: var(--text-light); }
.practice {
  padding-block: clamp(3.25rem, 7vw, 5.5rem);
}
.practice .section-head { margin-bottom: 1.75rem; }
.attorneys {
  padding-block: clamp(3.25rem, 7vw, 5.5rem);
  overflow: hidden;
  background:
    radial-gradient(52% 58% at 20% 32%, rgba(63, 156, 216, 0.08), transparent 65%),
    radial-gradient(40% 45% at 82% 85%, rgba(63, 156, 216, 0.05), transparent 70%),
    linear-gradient(180deg, var(--ink) 0%, #0e131c 52%, var(--ink) 100%);
}
.attorneys::before {
  content: ''; position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 240 240' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
  background-size: 240px;
  opacity: 0.3; mix-blend-mode: overlay;
  pointer-events: none;
}
.attorneys::after {
  content: 'Est. 1999';
  position: absolute; right: -0.5rem; bottom: -2.5rem;
  font-family: var(--font-display); font-style: italic; font-weight: 500;
  font-size: clamp(6rem, 15vw, 12rem); line-height: 1;
  color: rgba(236, 232, 223, 0.04);
  pointer-events: none;
  white-space: nowrap;
}
.attorneys > .container { position: relative; z-index: 1; }
.attorneys .section-head { margin-bottom: 1.75rem; }
.testimonials { padding-block: clamp(3.25rem, 7vw, 5.5rem); }
.testimonials .section-head { margin-bottom: 1.75rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-family: var(--font-text); font-weight: 600; font-size: 0.95rem;
  padding: 0.95rem 1.75rem;
  border-radius: 2px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.45s var(--ease-out), background-color 0.3s, border-color 0.3s, color 0.3s, box-shadow 0.45s var(--ease-out);
  will-change: transform;
}
.btn-accent {
  background: var(--accent); color: var(--ink);
}
.btn-accent:hover { background: var(--accent-bright); box-shadow: 0 12px 32px -12px rgba(63, 156, 216, 0.45); }
.btn-ghost {
  border-color: var(--line-light); color: var(--text-light);
}
.btn-ghost:hover { border-color: var(--accent); color: var(--accent-bright); }
.btn-arrow { display: inline-block; transition: transform 0.4s var(--ease-out); }
.btn:hover .btn-arrow { transform: translateX(4px); }
.btn:focus-visible, a:focus-visible, button:focus-visible {
  outline: 2px solid var(--accent); outline-offset: 3px;
}

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  transition: background-color 0.4s, box-shadow 0.4s, border-color 0.4s;
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled {
  background: rgba(11, 14, 19, 0.85);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom-color: var(--line-light);
}
.header-inner {
  max-width: var(--container); margin-inline: auto;
  padding-inline: var(--gutter);
  height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
}
.wordmark { display: flex; align-items: center; }
.wordmark-img { height: 58px; width: auto; }

.site-nav { display: flex; align-items: center; gap: 2rem; }
.site-nav a {
  font-size: 0.9rem; font-weight: 500; color: var(--text-light-muted);
  transition: color 0.3s;
  position: relative;
}
.site-nav a::after {
  content: ''; position: absolute; left: 0; bottom: -6px;
  width: 100%; height: 1px; background: var(--accent);
  transform: scaleX(0); transform-origin: right;
  transition: transform 0.45s var(--ease-out);
}
.site-nav a:hover { color: var(--text-light); }
.site-nav a:hover::after { transform: scaleX(1); transform-origin: left; }

.nav-drop { position: relative; display: flex; align-items: center; }
.nav-drop-btn {
  display: inline-flex; align-items: center; gap: 0.4rem;
  background: none; border: none; cursor: pointer;
  font-family: var(--font-text); font-size: 0.9rem; font-weight: 500;
  line-height: 1.6;
  color: var(--text-light-muted);
  transition: color 0.3s;
  padding: 0;
}
.nav-drop-btn:hover { color: var(--text-light); }
.site-nav .nav-drop-btn::after { content: none; }
.nav-caret { transition: transform 0.35s var(--ease-out); }
.nav-drop:hover .nav-caret, .nav-drop.is-open .nav-caret { transform: rotate(180deg); }
.nav-drop-panel {
  position: absolute; left: -1.25rem; top: calc(100% + 14px);
  min-width: 190px;
  background: var(--ink-2);
  border: 1px solid var(--line-light);
  padding: 0.5rem 0;
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity 0.3s var(--ease-out), transform 0.3s var(--ease-out), visibility 0s linear 0.3s;
}
.nav-drop-panel::before {
  content: ''; position: absolute; top: -14px; left: 0; right: 0; height: 14px;
}
.nav-drop:hover .nav-drop-panel,
.nav-drop:focus-within .nav-drop-panel,
.nav-drop.is-open .nav-drop-panel {
  opacity: 1; visibility: visible; transform: none;
  transition: opacity 0.3s var(--ease-out), transform 0.3s var(--ease-out);
}
.nav-drop-panel a {
  display: block;
  padding: 0.55rem 1.25rem;
  white-space: nowrap;
  font-size: 0.88rem; font-weight: 500;
  color: var(--text-light-muted);
  transition: color 0.25s, background-color 0.25s;
}
.nav-drop-panel a::before {
  content: "\2192"; display: inline-block; margin-right: 0.6rem;
  color: var(--accent); font-size: 0.9em; line-height: 1;
  opacity: 0.55; transform: translateX(-2px);
  transition: opacity 0.25s, transform 0.25s, color 0.25s;
}
.nav-drop-panel a:hover::before { opacity: 1; transform: translateX(2px); color: var(--accent-bright); }
.nav-drop-panel a:hover {
  color: var(--text-light);
  background: rgba(63, 156, 216, 0.10);
}

.header-cta { display: flex; align-items: center; gap: 1.25rem; }
.header-phone {
  display: none;
  align-items: center; gap: 0.5rem;
  font-weight: 600; font-size: 0.95rem; color: var(--text-light);
  transition: color 0.3s;
}
.header-phone:hover { color: var(--accent-bright); }
.header-phone svg { color: var(--accent); }
.btn-header { padding: 0.7rem 1.3rem; font-size: 0.88rem; background: var(--accent); color: var(--ink); }
.btn-header:hover { background: var(--accent-bright); }

/* ---------- Menu toggle (mobile) ---------- */
.menu-toggle {
  display: none;
  flex-direction: column; justify-content: center; align-items: center;
  gap: 7px;
  width: 44px; height: 44px;
  margin-right: -8px;
  background: none; border: none; cursor: pointer;
}
.menu-toggle-bar {
  display: block; width: 24px; height: 2px;
  background: var(--text-light);
  transition: transform 0.4s var(--ease-out), background-color 0.3s;
}
.menu-toggle.is-open .menu-toggle-bar:first-child { transform: translateY(4.5px) rotate(45deg); }
.menu-toggle.is-open .menu-toggle-bar:last-child { transform: translateY(-4.5px) rotate(-45deg); }

/* ---------- Mobile menu overlay ---------- */
.mobile-menu {
  position: fixed; inset: 0; z-index: 95;
  background: linear-gradient(180deg, #0c0f15 0%, #10151f 100%);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  display: flex; flex-direction: column;
  padding: calc(var(--header-h) + 1rem) var(--gutter) 2rem;
  overflow-y: auto;
  opacity: 0; visibility: hidden;
  transition: opacity 0.45s var(--ease-out), visibility 0s linear 0.45s;
}
.mobile-menu.is-open {
  opacity: 1; visibility: visible;
  transition: opacity 0.45s var(--ease-out);
}
.mobile-menu-nav { display: flex; flex-direction: column; margin-top: auto; }
.mobile-menu-nav > a, .mm-drop {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 6.2vw, 2.2rem);
  font-weight: 520; line-height: 1;
  padding: 0.55em 0;
  display: flex; align-items: center; gap: 0.75rem;
  transition: color 0.3s;
  color: var(--text-light);
}
.mobile-menu-nav > a { border-bottom: 1px solid var(--line-light); }
.mobile-menu-nav > a:hover, .mm-drop:hover { color: var(--accent-bright); }
.mm-group { border-bottom: 1px solid var(--line-light); }
.mm-drop {
  width: 100%;
  background: none; border: none; cursor: pointer;
  text-align: left;
}
.mm-drop .nav-caret { color: var(--accent); }
.mm-group.is-open .mm-drop .nav-caret { transform: rotate(180deg); }
.mm-sub {
  max-height: 0; overflow: hidden;
  transition: max-height 0.5s var(--ease-out);
}
.mm-group.is-open .mm-sub { max-height: 680px; }
.mm-sub a {
  display: block;
  font-size: 1rem; font-weight: 500;
  color: var(--text-light-muted);
  padding: 0.5rem 0 0.5rem 1.1rem;
  border-left: 1px solid rgba(63, 156, 216, 0.35);
  margin-left: 0.2rem;
  transition: color 0.25s;
}
.mm-sub a:hover { color: var(--accent-bright); }
.mm-sub a:last-child { margin-bottom: 0.9rem; }
.mobile-menu-cta {
  display: flex; flex-direction: column; gap: 0.75rem;
  margin-top: 2.25rem;
  margin-bottom: auto;
}
.mobile-menu-cta .btn { justify-content: center; }

/* staggered entrance */
.mobile-menu-nav > a, .mm-group, .mobile-menu-cta {
  opacity: 0; transform: translateY(16px);
  transition: opacity 0.5s var(--ease-out), transform 0.5s var(--ease-out), color 0.3s;
}
.mobile-menu.is-open .mobile-menu-nav > a,
.mobile-menu.is-open .mm-group,
.mobile-menu.is-open .mobile-menu-cta {
  opacity: 1; transform: none;
  transition-delay: calc(0.08s + var(--i, 0) * 45ms);
}

html.menu-locked, html.menu-locked body { overflow: hidden; }
html.menu-locked .callbar { display: none; }

/* ---------- Hero ---------- */
.hero {
  min-height: min(100vh, 1000px);   /* fallback for older Safari without svh */
  min-height: min(100svh, 1000px);
  display: flex; flex-direction: column;
  padding-top: var(--header-h);
  overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.hero-grad {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(11, 14, 19, 0.92) 0%, rgba(11, 14, 19, 0.72) 38%, rgba(11, 14, 19, 0.28) 66%, rgba(11, 14, 19, 0.12) 100%),
    linear-gradient(0deg, rgba(11, 14, 19, 0.85) 0%, transparent 32%);
}
.hero-cols {
  position: absolute; inset: 0;
  opacity: 0;
  transition: opacity 1.6s ease 0.3s;
}
.hero-cols.is-loaded { opacity: 0.85; }
.hero-cols img { width: 100%; height: 100%; object-fit: cover; object-position: 70% center; transform: scale(1.06); }
.hero-grain {
  position: absolute; inset: 0; opacity: 0.35; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 240 240' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
  background-size: 240px;
}

.hero-portrait {
  position: absolute;
  /* hug the viewport edge on laptops, but never drift past the layout column */
  right: calc(max((100vw - var(--container)) / 2, clamp(1rem, 5vw, 6rem)) - 44px);
  bottom: 1.5rem;
  width: min(56vw, 820px);
  height: min(56vw, 820px);
  pointer-events: none;
  opacity: 0;
  transition: opacity 1.4s ease 0.4s;
  -webkit-mask-image: linear-gradient(to top, transparent 2%, #000 30%);
  mask-image: linear-gradient(to top, transparent 2%, #000 30%);
}
.hero-portrait::before {
  content: '';
  position: absolute; inset: 6% -8% -12% -8%;
  background: radial-gradient(50% 46% at 52% 40%, rgba(63, 156, 216, 0.13), transparent 70%);
}
.hero-portrait.is-loaded { opacity: 1; }
.hero-portrait img {
  position: relative;
  width: 100%; height: 100%;
  object-fit: contain; object-position: bottom;
}

.hero-inner {
  position: relative;
  max-width: var(--container); width: 100%;
  margin-block: auto;
  margin-inline: auto; padding-inline: var(--gutter);
  padding-block: clamp(2rem, 5vh, 3.5rem);
}
.hero-title {
  font-size: clamp(2.2rem, 6.6vw, 5rem);
  margin-bottom: clamp(1.5rem, 3.5vh, 2.5rem);
  max-width: 20ch;
}
.line-mask { display: block; overflow: hidden; padding-bottom: 0.08em; margin-bottom: -0.08em; }
.hero-title .line-sm {
  display: inline-flex; align-items: center; gap: 0.8rem;
  font-family: var(--font-text); font-weight: 600;
  font-size: clamp(0.82rem, 1vw, 0.98rem); letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--accent-bright); margin-top: 0.35rem;
}
.hero-title .line-sm::before { content: ""; width: 2.4rem; height: 2px; border-radius: 2px; background: var(--accent); }
.hero-sub {
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
  line-height: 1.7;
  color: var(--text-light-muted);
  max-width: 34rem;
  margin-bottom: clamp(1.75rem, 4vh, 2.75rem);
}
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; margin-bottom: clamp(1.75rem, 4vh, 2.75rem); }
.cta-alt {
  font-size: 0.92rem; font-weight: 500;
  color: var(--text-light-muted);
  transition: color 0.3s;
}
.cta-alt span {
  color: var(--accent);
  border-bottom: 1px solid rgba(63, 156, 216, 0.45);
  transition: color 0.3s, border-color 0.3s;
}
.cta-alt:hover span { color: var(--accent-bright); border-color: var(--accent-bright); }
.hero-trust {
  display: flex; flex-wrap: wrap; gap: 0.8rem 2rem;
  align-items: center;
}
.hero-trust li {
  display: flex; align-items: center; gap: 0.55rem;
  font-size: 0.95rem; font-weight: 600;
  color: var(--text-light);
}
.hero-trust .ticon { display: block; flex-shrink: 0; }
.hero-trust .stars { display: block; margin-left: 0.15rem; }
.ticon-avvo {
  width: 18px; height: 18px;
  display: grid; place-items: center;
  background: #fff; color: #14345b;
  border-radius: 4px;
  font-size: 12px; font-weight: 800; line-height: 1;
}
.trust-top {
  color: #e8a33d;
  font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  margin-left: 0.15rem;
}

.hero-foot {
  position: relative;
  border-top: 1px solid var(--line-light);
}
.hero-foot-label {
  position: absolute; top: -0.6em; left: var(--gutter);
  background: var(--ink); padding-inline: 0.75rem; margin-left: -0.75rem;
  font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--text-light-muted);
}
.hero-areas {
  display: flex; overflow: hidden;
  padding-block: 1.3rem;
  user-select: none;
}
.hero-areas:hover .ticker-track { animation-play-state: paused; }
.ticker-track {
  display: flex; align-items: center; gap: 2.25rem;
  flex-shrink: 0; min-width: max-content;
  padding-right: 2.25rem;
  animation: ticker 70s linear infinite;
}
.ticker-track span {
  font-size: 0.92rem; font-weight: 500;
  color: var(--text-light-muted);
  white-space: nowrap;
}
.ticker-track .dot {
  width: 4px; height: 4px; border-radius: 50%;
  background: var(--accent); opacity: 0.6; flex-shrink: 0;
}
@keyframes ticker {
  from { transform: translateX(0); }
  to { transform: translateX(-100%); }
}

/* ---------- Practice areas ---------- */
.practice-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line-dark);
  border-left: 1px solid var(--line-dark);
}
.pa-card {
  position: relative;
  border-right: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line-dark);
  padding: clamp(1.75rem, 3vw, 2.5rem);
  display: flex; flex-direction: column; gap: 0.9rem;
  transition: background-color 0.5s var(--ease-out), box-shadow 0.5s var(--ease-out);
  overflow: hidden;
}
.pa-card h2, .pa-card h3 { transition: transform 0.5s var(--ease-out); }
.pa-card:hover h2, .pa-card:hover h3 { transform: translateX(4px); }
.pa-card::before {
  content: ''; position: absolute; inset: auto 0 0 0; height: 2px;
  background: var(--accent);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.55s var(--ease-out);
}
.pa-card:hover {
  background: #fff;
  box-shadow: 0 24px 48px -28px rgba(26, 29, 35, 0.25);
  z-index: 1;
}
.pa-card:hover::before { transform: scaleX(1); }
.pa-icon { color: var(--accent-deep); }
.pa-icon svg { display: block; }
.pa-card h2, .pa-card h3 { font-size: 1.45rem; font-family: var(--font-display); font-weight: 600; line-height: 1.15; }
.pa-card p { font-size: 0.94rem; color: var(--text-dark-muted); flex-grow: 1; }
.pa-link {
  font-size: 0.88rem; font-weight: 600; color: var(--text-dark);
  display: inline-flex; gap: 0.4rem; align-items: center;
}
.pa-card:hover .pa-link { color: var(--accent-deep); }
.pa-card:hover .btn-arrow { transform: translateX(4px); }

/* ---------- Urgency callout ---------- */
.urgency {
  margin-top: clamp(2rem, 4vw, 3rem);
  background: var(--ink);
  color: var(--text-light);
  padding: clamp(1.75rem, 4vw, 2.75rem);
  display: flex; align-items: center; gap: clamp(1.25rem, 3vw, 2.25rem);
}
.urgency-badge {
  color: var(--accent); flex-shrink: 0;
  position: relative;
  display: grid; place-items: center;
  width: 56px; height: 56px;
  border: 1px solid rgba(63, 156, 216, 0.35);
  border-radius: 50%;
}
.urgency-badge::after {
  content: ''; position: absolute; inset: -1px;
  border: 1px solid var(--accent);
  border-radius: 50%;
  animation: ring 3.2s cubic-bezier(0.16, 1, 0.3, 1) infinite;
}
@keyframes ring {
  0% { transform: scale(1); opacity: 0.7; }
  70%, 100% { transform: scale(1.55); opacity: 0; }
}
.urgency-body { flex-grow: 1; }
.urgency-body h3, .urgency-body .urgency-title { font-size: clamp(1.3rem, 2.4vw, 1.7rem); margin-bottom: 0.5rem; }
.urgency-body p { font-size: 0.95rem; color: var(--text-light-muted); max-width: 46rem; }
.urgency-body strong { color: var(--text-light); }
.urgency .btn { flex-shrink: 0; }

/* ---------- Service areas ---------- */
.areas { padding-block: clamp(3.25rem, 7vw, 5.5rem); }
.areas .section-head { margin-bottom: 1.75rem; }
.areas-grid { grid-template-columns: repeat(4, 1fr); }
.pa-area-head { display: flex; align-items: center; gap: 0.6rem; }
.pa-area-head h3 { font-size: 1.15rem; }
.pa-area-head h3 a { color: inherit; text-decoration: none; transition: color 0.2s; }
.pa-area-head h3 a:hover { color: var(--accent-deep); }

/* County page — cities we serve (reuses locations county-row / county-card / city-chip) */
.cty-cities { padding-block: clamp(3rem, 6vw, 5rem); }
.county-card-static { cursor: default; }
.county-card-static:hover { transform: none; border-color: rgba(120, 180, 225, 0.16); box-shadow: none; }
.county-card-static:hover .county-card-map img { transform: none; }
.pa-cities {
  display: flex; flex-direction: column; gap: 0.3rem;
  flex-grow: 1;
}
.pa-cities a {
  font-size: 0.88rem; color: var(--text-dark-muted);
  transition: color 0.25s;
  display: inline-flex; align-items: center; gap: 0.45rem;
}
.pa-cities a svg { color: var(--accent-deep); opacity: 0.75; flex-shrink: 0; }
.pa-cities a:hover { color: var(--accent-deep); }
.pa-card-area .pa-link { color: var(--text-dark); }
.pa-card-area:hover .pa-link .btn-arrow { transform: translateX(4px); }
.pa-card-area { padding: clamp(1.5rem, 2.2vw, 1.9rem); gap: 0.6rem; }
.pa-card-area h3 { font-size: 1.3rem; }
.pa-card-area p { font-size: 0.86rem; }
.pa-card-cta { background: var(--ink); color: var(--text-light); }
@media (min-width: 1025px) {
  .areas-grid .pa-card-cta {
    grid-column: span 3;
    flex-direction: row; align-items: center;
    gap: 1.25rem 1.75rem; flex-wrap: wrap;
  }
  .areas-grid .pa-card-cta p { flex-grow: 1; margin: 0; }
}
.pa-card-cta p { color: var(--text-light-muted); }
.pa-card-cta .pa-icon { color: var(--accent); }
.pa-card-cta .pa-link { color: var(--accent); }
.pa-card-cta:hover { background: var(--ink-2); }
.pa-card-cta:hover .pa-link { color: var(--accent-bright); }

/* ---------- Attorneys ---------- */
.attorney-feature {
  display: grid; grid-template-columns: minmax(280px, 420px) 1fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: start;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}
.attorney-photo { position: relative; }
.attorney-photo > img {
  width: 100%;
  filter: saturate(0.88);
  border: 1px solid var(--line-light);
}
.attorney-badge {
  position: absolute; right: -1rem; bottom: -1.25rem;
  background: var(--paper); padding: 0.5rem;
  box-shadow: 0 20px 50px -20px rgba(0, 0, 0, 0.6);
}
.attorney-badge img { width: 110px; height: auto; }
.attorney-bio h3 { font-size: clamp(1.8rem, 3vw, 2.4rem); margin-bottom: 0.35rem; }
.attorney-role {
  font-size: 0.85rem; font-weight: 600; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--accent);
  margin-bottom: 1.5rem;
}
.attorney-bio > p { color: var(--text-light-muted); margin-bottom: 1.1rem; max-width: 54ch; }

.attorney-bio .btn { margin-top: 1.75rem; }
.cred-list {
  margin-top: 1.75rem;
  display: grid; grid-template-columns: repeat(2, auto); gap: 0.7rem 2rem;
  justify-content: start;
  font-size: 0.88rem; color: var(--text-light-muted);
}
.cred-list li { display: flex; align-items: center; gap: 0.6rem; }
.cred-list li::before {
  content: ''; width: 1rem; height: 1px; background: var(--accent); flex-shrink: 0;
}

/* ---------- Review cards & marquee ---------- */
.testimonials .container { max-width: none; padding-inline: 0; }
.testimonials .section-head { max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.rev-marquee { display: flex; overflow: hidden; user-select: none; }
.rev-marquee:hover .rev-track { animation-play-state: paused; }
.rev-track {
  display: flex; align-items: stretch; gap: clamp(1.25rem, 2vw, 1.75rem);
  flex-shrink: 0; min-width: max-content;
  padding-right: clamp(1.25rem, 2vw, 1.75rem);
  animation: ticker 90s linear infinite;
}
.rev-track .rev-card { width: min(380px, 82vw); }
.rev-all { max-width: var(--container); margin: 2.25rem auto 0; padding-inline: var(--gutter); }
.rev-all a {
  font-weight: 600; color: var(--accent-deep);
  display: inline-flex; gap: 0.4rem; align-items: center;
}
.rev-all a:hover .btn-arrow { transform: translateX(4px); }

.rev-card {
  background: #fff;
  border: 1px solid var(--line-dark);
  padding: 1.5rem 1.5rem 1.25rem;
  display: flex; flex-direction: column; gap: 0.9rem;
  color: var(--text-dark);
}
.rev-top { display: flex; justify-content: space-between; align-items: center; }
.rev-loc {
  font-size: 0.68rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--accent-deep);
  border: 1px solid rgba(15, 76, 115, 0.3);
  padding: 0.2em 0.6em; border-radius: 2px;
}
.rev-text {
  font-size: 0.94rem; line-height: 1.6; color: var(--text-dark);
  flex-grow: 1;
  white-space: normal;
}
.rev-clamp {
  display: -webkit-box; -webkit-line-clamp: 6; -webkit-box-orient: vertical;
  overflow: hidden;
}
.rev-noText { color: var(--text-dark-muted); font-style: italic; }
.rev-foot { display: flex; align-items: center; gap: 0.7rem; }
.rev-avatar {
  width: 36px; height: 36px; flex-shrink: 0;
  display: grid; place-items: center;
  background: var(--accent-deep); color: #fff;
  border-radius: 50%;
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.02em;
}
.rev-who { display: flex; flex-direction: column; line-height: 1.3; flex-grow: 1; min-width: 0; }
.rev-who strong { font-size: 0.9rem; }
.rev-who span { font-size: 0.76rem; color: var(--text-dark-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rev-link { flex-shrink: 0; opacity: 0.8; transition: opacity 0.25s, transform 0.25s; }
.rev-link:hover { opacity: 1; transform: scale(1.1); }
/* Review source badges + footer icons */
.rev-src-yelp { color: #d32323; border-color: rgba(211, 35, 35, 0.35); }
.rev-src-avvo { color: #0b6ab0; border-color: rgba(11, 106, 176, 0.35); }
.rev-ic-avvo { display: inline-flex; align-items: center; justify-content: center; width: 16px; height: 16px; border-radius: 3px; background: #0b6ab0; color: #fff; font-size: 10px; font-weight: 800; line-height: 1; }
.rev-ic-yelp { display: inline-flex; align-items: center; justify-content: center; width: 16px; height: 16px; border-radius: 3px; background: #d32323; color: #fff; font-size: 10px; font-weight: 800; line-height: 1; }

/* Section "see all" CTA */
.section-cta { text-align: center; margin-top: clamp(2rem, 4vw, 3rem); }
.btn-line {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-family: var(--font-text); font-weight: 600; font-size: 0.95rem; color: var(--text-dark);
  border: 1px solid var(--line-dark); border-radius: 999px; padding: 0.8rem 1.65rem;
  transition: border-color 0.25s, color 0.25s, background-color 0.25s, transform 0.25s;
}
.btn-line:hover { border-color: var(--accent); color: var(--accent-deep); transform: translateY(-2px); }
.btn-line:hover .btn-arrow { transform: translateX(4px); }

/* ---------- Attorney profiles (attorneys page) ---------- */
.attorney-profile { padding-block: clamp(3.5rem, 7vw, 6rem); background: var(--ink); }
.attorney-profile-alt { background: var(--ink-2); }
.attorney-profile .attorney-feature { align-items: center; margin-bottom: 0; }
.attorney-profile-alt .attorney-feature { grid-template-columns: 1fr minmax(280px, 420px); }
.attorney-profile-alt .attorney-photo { order: 2; }
.attorney-profile .attorney-bio h2 { font-size: clamp(1.9rem, 3.2vw, 2.6rem); margin: 0.15rem 0 0.35rem; }
.attorney-profile .attorney-bio .eyebrow { margin-bottom: 0.5rem; }
.attorney-profile .attorney-bio .btn { margin-top: 1.75rem; }
.attorney-monogram {
  display: grid; place-items: center;
  aspect-ratio: 1; width: 100%;
  background: linear-gradient(150deg, var(--accent-deep), var(--ink-3));
  border: 1px solid var(--line-light);
  font-family: var(--font-display); font-weight: 560;
  font-size: clamp(4rem, 10vw, 7rem);
  color: rgba(236, 232, 223, 0.92);
}
.attorneys-cta { padding-block: clamp(2.5rem, 5vw, 4rem); background: var(--ink-2); }
.attorney-team { padding-block: clamp(3rem, 6vw, 5rem); background: var(--ink-2); }
.attorney-team .section-head { text-align: center; margin-bottom: 2rem; }
.attorney-team .section-head .eyebrow { justify-content: center; }
.attorney-team-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.25rem, 3vw, 2rem); max-width: 780px; margin-inline: auto; }

/* ---------- Locations directory ---------- */
.locations-dir { padding-block: clamp(2.5rem, 5vw, 3.5rem) clamp(3.25rem, 7vw, 5.5rem); }
.loc-dir-head { text-align: center; margin-bottom: clamp(1.5rem, 3vw, 2rem); }
.loc-dir-head .eyebrow { justify-content: center; }
.loc-dir-note { margin-top: 0.9rem; color: var(--text-dark-muted); font-size: 0.98rem; }
/* County quick-jump nav */
.county-jump {
  display: flex; flex-wrap: wrap; gap: 0.55rem; justify-content: center;
  margin-bottom: clamp(2.25rem, 4.5vw, 3.5rem);
}
.county-jump a {
  font-family: var(--font-text); font-size: 0.85rem; font-weight: 600;
  color: var(--text-dark-muted); background: transparent;
  border: 1px solid var(--line-dark); border-radius: 999px;
  padding: 0.45rem 1.05rem;
  transition: color 0.25s, background-color 0.25s, border-color 0.25s;
}
.county-jump a:hover { border-color: var(--accent-deep); color: var(--text-dark); }

/* County list: county card (left) + cities box (right) */
.county-list { display: flex; flex-direction: column; gap: clamp(1rem, 2vw, 1.4rem); }
.county-row {
  display: grid; grid-template-columns: 300px 1fr; gap: clamp(0.9rem, 1.6vw, 1.25rem);
  scroll-margin-top: calc(var(--header-h) + 2rem);
}

.county-card {
  position: relative; overflow: hidden;
  display: flex; flex-direction: column; justify-content: space-between;
  min-height: 172px; padding: 1.5rem 1.6rem;
  background:
    radial-gradient(120% 135% at 86% 12%, rgba(99, 179, 228, 0.30) 0%, rgba(63, 156, 216, 0.06) 40%, transparent 64%),
    linear-gradient(158deg, #1c2431 0%, #10141c 100%);
  border: 1px solid rgba(120, 180, 225, 0.16); color: var(--text-light);
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s, border-color 0.3s;
}
.county-card::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background: radial-gradient(80% 120% at 100% 100%, rgba(15, 76, 115, 0.28) 0%, transparent 55%);
}
.county-card:hover {
  transform: translateY(-3px); border-color: rgba(99, 179, 228, 0.55);
  box-shadow: 0 26px 46px -22px rgba(0, 0, 0, 0.7);
}
.county-card-map {
  position: absolute; right: -30px; top: 50%; transform: translateY(-50%);
  width: 205px; height: 205px; pointer-events: none; z-index: 0;
}
.county-card-map img { width: 100%; height: 100%; object-fit: contain; opacity: 0.85; transition: transform 0.4s var(--ease-out); }
.county-card:hover .county-card-map img { transform: scale(1.05); }
.county-card-top { position: relative; z-index: 1; display: flex; flex-direction: column; }
.county-card-eyebrow { font-size: 0.68rem; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 700; color: var(--accent-bright); }
.county-card-name { font-family: var(--font-display); font-size: 1.6rem; line-height: 1.08; margin: 0.2rem 0 0.35rem; }
.county-card-meta { font-size: 0.82rem; color: var(--text-light-muted); }
.county-card-cta { position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 0.4rem; margin-top: 1.1rem; font-weight: 600; font-size: 0.9rem; color: var(--accent-bright); }
.county-card:hover .county-card-cta .btn-arrow { transform: translateX(4px); }

.county-cities {
  display: flex; flex-direction: column; justify-content: center; gap: 0.85rem;
  padding: 1.35rem 1.5rem; background: #fff; border: 1px solid var(--line-dark);
}
.county-cities-label { font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 700; color: var(--text-dark-muted); }
.city-row { display: flex; flex-wrap: wrap; gap: 0.55rem; }
.city-chip {
  display: inline-flex; align-items: center; gap: 0.4rem;
  font-size: 0.88rem; font-weight: 600; color: var(--text-dark);
  background: var(--paper); border: 1px solid var(--line-dark); border-radius: 999px;
  padding: 0.5rem 1rem;
  transition: color 0.2s, border-color 0.2s, background-color 0.2s, transform 0.2s;
}
.city-chip:hover { background: #fff; border-color: var(--accent); color: var(--accent-deep); transform: translateY(-1px); }
.city-chip-pin { display: flex; color: var(--accent-deep); }

@media (max-width: 720px) {
  .county-row { grid-template-columns: 1fr; }
  .county-card { min-height: 0; flex-direction: row; align-items: center; flex-wrap: wrap; gap: 0.5rem 1.25rem; padding: 1.15rem 1.35rem; }
  .county-card-top { margin-right: auto; }
  .county-card-cta { margin-top: 0; }
  .county-card-map { width: 158px; height: 158px; right: -38px; }
  .county-card-map img { opacity: 0.45; }
}

/* ---------- Attorneys hero atmosphere ---------- */
.attorney-hero, .practice-lp-hero {
  background:
    radial-gradient(52% 58% at 22% 30%, rgba(63, 156, 216, 0.11), transparent 62%),
    radial-gradient(46% 52% at 86% 82%, rgba(63, 156, 216, 0.06), transparent 68%),
    var(--ink);
}
.attorney-hero::after, .practice-lp-hero::after {
  content: ''; position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 240 240' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
  background-size: 240px;
  opacity: 0.28; mix-blend-mode: overlay; pointer-events: none;
}

/* ---------- Blog ---------- */
.blog-section { padding-block: clamp(2.5rem, 5vw, 4rem) clamp(3.25rem, 7vw, 5.5rem); }
.blog-list { display: grid; gap: clamp(1rem, 2vw, 1.4rem); max-width: 820px; margin-inline: auto; }
/* Blog layout with practice-area sidebar */
.blog-layout { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: clamp(1.75rem, 3.5vw, 3rem); align-items: start; max-width: var(--container); }
.blog-layout .blog-list { max-width: none; margin: 0; }
.blog-side { position: sticky; top: calc(var(--header-h) + 1.25rem); }
.blog-side-title { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent-deep); margin-bottom: 0.9rem; }
.blog-side-nav { display: flex; flex-direction: column; gap: 0.1rem; border-left: 1px solid var(--line-dark); }
.blog-cat { display: flex; justify-content: space-between; align-items: center; gap: 0.6rem; padding: 0.5rem 0.85rem; margin-left: -1px; font-size: 0.9rem; font-weight: 500; color: var(--text-dark-muted); border-left: 2px solid transparent; transition: color 0.2s, border-color 0.2s, background-color 0.2s; }
.blog-cat > span { font-size: 0.72rem; font-weight: 600; color: var(--text-dark-muted); background: var(--paper-2); border-radius: 999px; padding: 0.05rem 0.5rem; min-width: 1.4rem; text-align: center; }
.blog-cat:hover { color: var(--text-dark); }
.blog-cat.is-active { color: var(--accent-deep); border-left-color: var(--accent-deep); font-weight: 600; }
.blog-cat.is-active > span { background: var(--accent-deep); color: #fff; }
.blog-cat.is-empty { opacity: 0.48; }
.blog-empty { text-align: center; padding: clamp(2.5rem, 6vw, 4rem) 1rem; color: var(--text-dark-muted); font-size: 1rem; }
.blog-empty a { color: var(--accent-deep); font-weight: 600; }
@media (max-width: 860px) {
  .blog-layout { grid-template-columns: 1fr; gap: 1.5rem; }
  .blog-side { position: static; }
  .blog-side-nav { flex-flow: row wrap; gap: 0.5rem; border-left: none; }
  .blog-cat { margin-left: 0; padding: 0.4rem 0.85rem; border: 1px solid var(--line-dark); border-radius: 999px; }
  .blog-cat.is-active { border-color: var(--accent-deep); background: rgba(63, 156, 216, 0.06); }
  .blog-cat.is-empty { display: none; }
}
.post-card {
  border: 1px solid var(--line-dark); background: #fff;
  padding: clamp(1.4rem, 3vw, 2rem);
  transition: border-color 0.25s, transform 0.25s, box-shadow 0.25s;
}
.post-card:hover { border-color: var(--accent); transform: translateY(-2px); box-shadow: 0 16px 30px -18px rgba(26,29,35,0.25); }
.post-card-img {
  display: block; overflow: hidden;
  margin: calc(-1 * clamp(1.4rem, 3vw, 2rem)) calc(-1 * clamp(1.4rem, 3vw, 2rem)) clamp(1.15rem, 2.5vw, 1.5rem);
  border-bottom: 1px solid var(--line-dark); background: var(--ink-2);
}
.post-card-img img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; display: block; transition: transform 0.5s var(--ease-out); }
.post-card:hover .post-card-img img { transform: scale(1.04); }
/* In-article lead image */
.post-figure { margin: 0 0 clamp(1.5rem, 3vw, 2.25rem); }
.post-figure img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; display: block; border: 1px solid var(--line-dark); background: var(--ink-2); }
.post-date { font-size: 0.76rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent-deep); }
.post-card h2 { font-size: clamp(1.3rem, 2.2vw, 1.65rem); margin: 0.5rem 0 0.6rem; line-height: 1.15; }
.post-card h2 a { color: var(--text-dark); transition: color 0.25s; }
.post-card:hover h2 a { color: var(--accent-deep); }
.post-card > p { color: var(--text-dark-muted); font-size: 0.95rem; margin-bottom: 0.9rem; }
/* byline + card foot */
.post-byline { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 0.7rem; margin-top: 1.4rem; font-size: 0.85rem; color: var(--text-light-muted); }
.post-author { display: inline-flex; align-items: center; gap: 0.55rem; color: var(--text-light); font-weight: 600; transition: color 0.25s; }
.post-author img { width: 30px; height: 30px; border-radius: 50%; border: 1px solid rgba(63,156,216,0.5); }
.post-author:hover { color: var(--accent-bright); }
.post-dot { opacity: 0.55; }
.post-card-foot { display: flex; align-items: center; justify-content: space-between; gap: 0.75rem 1rem; flex-wrap: wrap; border-top: 1px solid var(--line-dark); padding-top: 0.9rem; margin-top: 1rem; }
.post-card-by { display: flex; align-items: center; gap: 0.5rem 0.6rem; flex-wrap: wrap; }
.post-card-meta { font-size: 0.8rem; color: var(--text-dark-muted); }
.post-card-meta::before { content: '\00b7'; margin-right: 0.6rem; opacity: 0.6; }
.post-author-mini { display: inline-flex; align-items: center; gap: 0.5rem; font-size: 0.82rem; font-weight: 600; color: var(--text-dark-muted); }
.post-author-mini img { width: 26px; height: 26px; border-radius: 50%; }
.post-card .pa-link { color: var(--text-dark); font-weight: 600; font-size: 0.9rem; }
.post-card:hover .pa-link .btn-arrow { transform: translateX(4px); }
.post-card:hover .pa-link { color: var(--accent-deep); }
.post-card:hover .pa-link .btn-arrow { transform: translateX(4px); }

/* article + table of contents */
.post-hero { padding-bottom: clamp(1.75rem, 3.5vh, 2.75rem); position: relative; overflow: hidden; }
.post-hero-media { position: absolute; inset: 0; z-index: 0; background-size: cover; background-position: center; }
.post-hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(155deg, rgba(11,14,19,0.66) 0%, rgba(11,14,19,0.8) 55%, rgba(11,14,19,0.95) 100%); }
.post-hero > .container { position: relative; z-index: 2; }
.post-title { font-size: clamp(1.8rem, 3.6vw, 2.9rem); max-width: 24ch; }
.post-body-section { padding-block: clamp(2.75rem, 6vw, 5rem); }
.post-layout {
  display: grid; grid-template-columns: 210px minmax(0, 68ch);
  gap: clamp(2rem, 4vw, 4rem); justify-content: center; align-items: start;
}
.post-layout-solo { display: block; }
.post-layout-solo .post-article { max-width: 68ch; margin-inline: auto; }

.post-toc { position: sticky; top: calc(var(--header-h) + 1.25rem); }
.post-toc-title { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent-deep); margin-bottom: 0.85rem; }
.post-toc ul { border-left: 1px solid var(--line-dark); }
.post-toc a { display: block; padding: 0.35rem 0 0.35rem 0.9rem; margin-left: -1px; border-left: 2px solid transparent; font-size: 0.85rem; line-height: 1.35; color: var(--text-dark-muted); transition: color 0.2s, border-color 0.2s; }
.post-toc a:hover { color: var(--text-dark); }
.post-toc a.is-current { color: var(--accent-deep); border-left-color: var(--accent-deep); font-weight: 600; }
.post-toc .toc-sub a { padding-left: 1.75rem; font-size: 0.8rem; color: var(--text-dark-muted); }

.post-article > *:first-child { margin-top: 0; }
.post-article h2 { font-size: clamp(1.35rem, 2.3vw, 1.8rem); margin: 2rem 0 0.8rem; scroll-margin-top: calc(var(--header-h) + 1rem); }
.post-article h3, .post-article h4 { font-size: 1.2rem; margin: 1.6rem 0 0.5rem; }
.post-article p { color: var(--text-dark-muted); margin-bottom: 1.15rem; line-height: 1.75; }
.post-article strong { color: var(--text-dark); }
.post-article a { color: var(--accent-deep); text-decoration: underline; text-underline-offset: 2px; }
.post-article a:hover { color: var(--accent); }
.post-article ul, .post-article ol { margin: 0 0 1.15rem 1.3rem; color: var(--text-dark-muted); }
.post-article ul { list-style: disc; } .post-article ol { list-style: decimal; }
.post-article li { margin-bottom: 0.4rem; line-height: 1.7; }
.post-author-box {
  display: flex; gap: 1.25rem; align-items: flex-start;
  border: 1px solid var(--line-dark); background: var(--paper-2);
  padding: clamp(1.25rem, 3vw, 1.75rem);
  margin-top: clamp(2rem, 4vw, 3rem);
}
.post-author-box img { width: 72px; height: 72px; border-radius: 50%; border: 1px solid rgba(15,76,115,0.3); flex-shrink: 0; }
.post-author-box-label { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent-deep); }
.post-author-box h3, .post-author-box .post-author-box-name { font-size: 1.3rem; margin: 0.15rem 0 0.1rem; }
.post-author-box h3 a, .post-author-box .post-author-box-name a { color: var(--text-dark); transition: color 0.25s; }
.post-author-box h3 a:hover, .post-author-box .post-author-box-name a:hover { color: var(--accent-deep); }
.post-author-box-role { font-size: 0.82rem; font-weight: 600; color: var(--accent-deep); margin-bottom: 0.6rem; }
.post-author-box-bio { color: var(--text-dark-muted); font-size: 0.92rem; margin-bottom: 0.7rem; line-height: 1.6; }
.post-author-box .pa-link { color: var(--accent-deep); font-weight: 600; font-size: 0.9rem; }
.post-author-box .pa-link:hover { color: var(--accent); }
.post-author-box:hover .pa-link .btn-arrow { transform: translateX(4px); }
@media (max-width: 520px) { .post-author-box { flex-direction: column; gap: 0.9rem; } }
.post-back { margin-top: clamp(1.5rem, 3vw, 2rem); }
.post-back a { color: var(--accent-deep); font-weight: 600; }
.post-back a:hover { color: var(--accent); }

@media (max-width: 880px) {
  .post-layout { grid-template-columns: 1fr; gap: 1.5rem; }
  .post-toc { position: static; border: 1px solid var(--line-dark); padding: 1.1rem 1.25rem; }
  .post-toc ul { border-left: none; }
  .post-toc a { padding: 0.3rem 0; margin-left: 0; border-left: none; }
  .post-toc .toc-sub a { padding-left: 0.9rem; }
  .post-layout .post-article { max-width: none; }
}

/* ---------- Attorney bio page ---------- */
.bio-section .attorney-feature { margin-bottom: clamp(2rem, 4vw, 3rem); }
.bio-mono {
  display: grid; place-items: center; aspect-ratio: 1; width: 100%;
  background: linear-gradient(150deg, var(--accent-deep), var(--ink-3));
  border: 1px solid var(--line-light);
  font-family: var(--font-display); font-weight: 560;
  font-size: clamp(4rem, 10vw, 7rem); color: rgba(236, 232, 223, 0.92);
}
.bio-facts {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  border-top: 1px solid var(--line-light);
  padding-top: clamp(1.75rem, 3vw, 2.5rem);
}
.bio-fact h3 { font-size: 1.15rem; margin-bottom: 0.9rem; color: var(--text-light); }
.bio-personal {
  margin-top: clamp(1.75rem, 3vw, 2.5rem);
  color: var(--text-light-muted); max-width: 60ch; font-size: 0.97rem;
}
.bio-title { font-size: clamp(1.9rem, 4vw, 3.1rem); }
.eyebrow .crumb { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }
.eyebrow .crumb:hover { color: var(--accent-bright); }

/* ---------- Attorney roster (attorneys page) ---------- */
.attorney-roster { padding: clamp(2.5rem, 5vw, 3.5rem) 0 clamp(3.25rem, 7vw, 5.5rem); background: var(--ink); }
.roster-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.5rem, 3vw, 2.5rem); }
.roster-link { display: block; }
.roster-media {
  display: block; position: relative; overflow: hidden;
  aspect-ratio: 4 / 5;
  border: 1px solid var(--line-light);
  margin-bottom: 1.1rem;
}
.roster-media img {
  width: 100%; height: 100%; object-fit: cover; object-position: top center;
  filter: saturate(0.9);
  transition: transform 0.6s var(--ease-out), filter 0.4s;
}
.roster-media::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(11,14,19,0.55));
  opacity: 0; transition: opacity 0.4s;
}
.roster-media-mono {
  display: grid; place-items: center;
  background: linear-gradient(150deg, var(--accent-deep), var(--ink-3));
  font-family: var(--font-display); font-weight: 560;
  font-size: clamp(3.5rem, 8vw, 5.5rem);
  color: rgba(236, 232, 223, 0.9);
}
.roster-card:hover .roster-media img { transform: scale(1.05); filter: saturate(1); }
.roster-card:hover .roster-media::after { opacity: 1; }
.roster-card h2 { font-size: clamp(1.4rem, 2.2vw, 1.8rem); margin-bottom: 0.2rem; }
.roster-role {
  font-size: 0.8rem; font-weight: 600; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--accent); margin-bottom: 0.75rem;
}
.roster-cta {
  display: inline-flex; align-items: center; gap: 0.4rem;
  font-size: 0.9rem; font-weight: 600; color: var(--text-light);
  transition: color 0.3s;
}
.roster-card:hover .roster-cta { color: var(--accent-bright); }
.roster-card:hover .roster-cta .btn-arrow { transform: translateX(4px); }

/* ---------- Content pages (location / practice) ---------- */
.content-section { padding-block: clamp(3.25rem, 7vw, 5.5rem); }
.content-lead { max-width: 60ch; }
.content-lead p { font-size: 1.05rem; color: var(--text-dark-muted); margin-bottom: 1.1rem; }
.content-lead p:last-child { margin-bottom: 0; }
.content-two {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4.5rem); align-items: start;
}
.content-two .prose p { color: var(--text-dark-muted); margin-bottom: 1.1rem; }
.content-two .prose p:last-child { margin-bottom: 0; }
.loc-map { border: 1px solid var(--line-dark); background: var(--ink); }
.loc-map iframe { display: block; width: 100%; }
.loc-map-nap { padding: 1.25rem 1.4rem 1.4rem; color: var(--text-dark); }
.loc-map-nap h3 { font-size: 1.15rem; margin-bottom: 0.35rem; }
.loc-map-nap p { color: var(--text-dark-muted); font-size: 0.95rem; margin-bottom: 0.9rem; }
.loc-map-nap .floc-links a { color: var(--accent-deep); font-weight: 600; display: inline-flex; gap: 0.35rem; align-items: center; }
.loc-map-nap .floc-links { display: flex; gap: 1.5rem; flex-wrap: wrap; }

/* ---------- About page ---------- */
.about-approach { padding-block: clamp(3.25rem, 7vw, 5.5rem); }
.about-approach-head { text-align: center; margin-bottom: clamp(2rem, 4vw, 3rem); }
.about-approach-head .eyebrow { justify-content: center; }
.about-prose { max-width: 60ch; margin-inline: auto; }
.about-prose p { color: var(--text-dark-muted); margin-bottom: 1.2rem; line-height: 1.7; }
.about-prose p:last-child { margin-bottom: 0; }
.about-prose .lead {
  font-size: clamp(1.15rem, 1.9vw, 1.35rem);
  line-height: 1.55; color: var(--text-dark);
  font-family: var(--font-display); font-weight: 420;
}
.about-approach + .about-principles { border-top: none; }
.about-principles { padding-block: clamp(1.5rem, 3vw, 2.5rem) clamp(3.25rem, 7vw, 5.5rem); }
.about-principles .section-head { margin-bottom: 1.75rem; }
.abt-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: clamp(1.5rem, 3vw, 2.5rem) clamp(2rem, 5vw, 4rem);
}
.abt-item { border-top: 1px solid var(--line-dark); padding-top: 1.25rem; }
.abt-item h3 { font-size: 1.3rem; margin-bottom: 0.5rem; }
.abt-item p { color: var(--text-dark-muted); font-size: 0.95rem; }
.atty-mini-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.5rem, 3vw, 2.5rem);
  margin-bottom: clamp(2rem, 4vw, 3rem);
}
.atty-mini {
  display: flex; align-items: center; gap: 1.25rem;
  border: 1px solid var(--line-light);
  background: rgba(17, 21, 29, 0.6);
  padding: 1.25rem 1.5rem;
}
.atty-mini img, .atty-mini-avatar {
  width: 76px; height: 76px; flex-shrink: 0;
  border-radius: 4px;
  border: 1px solid rgba(63, 156, 216, 0.45);
}
.atty-mini-avatar {
  display: grid; place-items: center;
  background: var(--accent-deep); color: #fff;
  font-family: var(--font-display); font-weight: 560; font-size: 1.5rem;
}
.atty-mini h3 { font-size: 1.35rem; margin-bottom: 0.15rem; white-space: nowrap; }
.atty-mini p { font-size: 0.85rem; color: var(--text-light-muted); margin-bottom: 0.5rem; }
.atty-mini .pa-link { color: var(--accent); font-size: 0.88rem; }
.atty-mini .pa-link:hover { color: var(--accent-bright); }

.about-hero-rating {
  display: inline-flex; align-items: center; gap: 0.75rem;
  margin-top: 1.75rem;
  font-size: 0.9rem; color: var(--text-light-muted);
  transition: color 0.25s;
}
.about-hero-rating strong { color: var(--text-light); font-weight: 600; }
.about-hero-rating:hover { color: var(--text-light); }
.about-hero-rating .stars { display: block; flex-shrink: 0; }

/* ---------- Testimonials page ---------- */
.page-hero {
  padding: calc(var(--header-h) + clamp(2.5rem, 7vh, 4.5rem)) 0 clamp(2.5rem, 6vh, 4rem);
  background: var(--ink);
  overflow: hidden;
  position: relative;
}
.page-hero::before {
  content: ''; position: absolute; inset: 0;
  background: url('../assets/img/hero-wide.webp') center 25% / cover no-repeat;
  opacity: 0.16;
  -webkit-mask-image: linear-gradient(to bottom, #000 30%, transparent);
  mask-image: linear-gradient(to bottom, #000 30%, transparent);
}
.page-hero .container { position: relative; }
.attorney-hero, .practice-lp-hero { padding-bottom: clamp(2rem, 4vh, 3rem); }
.about-hero { min-height: min(82vh, 760px); display: flex; flex-direction: column; padding-block: calc(var(--header-h) + 1.5rem) 0; overflow: hidden; }
.about-hero .container { width: 100%; margin-block: auto; }
.about-hero .page-sub, .about-hero .page-title { max-width: 32rem; }
@media (min-width: 1024px) {
  .about-hero .hero-portrait { width: min(48vw, 620px); height: min(48vw, 620px); bottom: 0; }
}
.page-title { font-size: clamp(2.4rem, 6.5vw, 4.5rem); margin-block: 1rem 1.25rem; }
.page-sub { color: var(--text-light-muted); max-width: 34rem; margin-bottom: 1.5rem; }
.page-hero-rating {
  display: flex; align-items: center; gap: 0.8rem;
  font-size: 0.9rem; font-weight: 600; color: var(--text-light);
}
.reviews-wall { padding-block: clamp(3rem, 7vw, 5.5rem); }
.rev-wall { columns: 3; column-gap: clamp(1.25rem, 2vw, 1.75rem); }
.rev-wall .rev-card { break-inside: avoid; margin-bottom: clamp(1.25rem, 2vw, 1.75rem); }
.urgency-link { color: var(--accent); text-decoration: underline; }
.urgency-link:hover { color: var(--accent-bright); }

.quote {
  background: #fff;
  border: 1px solid var(--line-dark);
  padding: clamp(1.75rem, 3vw, 2.25rem);
  display: flex; flex-direction: column; gap: 1.5rem;
  position: relative;
}
.quote::before {
  content: '\201C';
  font-family: var(--font-display); font-style: italic;
  font-size: 3.5rem; line-height: 0.6;
  color: var(--accent-deep);
  display: block;
}
.quote p {
  font-family: var(--font-display); font-style: italic; font-weight: 420;
  font-size: 1.12rem; line-height: 1.55;
  color: var(--text-dark);
  flex-grow: 1;
}
.quote footer { display: flex; flex-direction: column; gap: 0.1rem; }
.quote cite { font-style: normal; font-weight: 600; font-size: 0.92rem; }
.quote footer span { font-size: 0.82rem; color: var(--text-dark-muted); }

/* ---------- Contact ---------- */
.contact {
  background: var(--ink);
  padding-block: clamp(3.25rem, 7vw, 5.5rem);
  overflow: hidden;
}
.contact::before {
  content: ''; position: absolute; inset: 0;
  background: url('../assets/img/hero-wide.webp') center 30% / cover no-repeat;
  opacity: 0.12;
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 32%, #000 72%, transparent);
  mask-image: linear-gradient(to bottom, transparent, #000 32%, #000 72%, transparent);
  pointer-events: none;
}
.contact::after {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(42% 55% at 72% 46%, rgba(63, 156, 216, 0.10), transparent 70%);
  pointer-events: none;
}
.contact > .container { position: relative; z-index: 1; }
.contact .section-head { margin-bottom: 1.5rem; }
.contact-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: center;
}
.contact-lede { color: var(--text-light-muted); max-width: 26rem; margin-bottom: 1.25rem; }
.contact-phone {
  display: inline-block;
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  color: var(--accent);
  margin-bottom: 1.5rem;
  text-shadow: 0 0 44px rgba(63, 156, 216, 0.35);
  transition: color 0.3s;
}
.contact-phone:hover { color: var(--accent-bright); }
.contact-person {
  display: flex; align-items: center; gap: 1rem;
  border: 1px solid var(--line-light);
  background: rgba(17, 21, 29, 0.85);
  padding: 1rem 1.25rem;
  max-width: 26rem;
}
.contact-person img {
  width: 64px; height: 64px; flex-shrink: 0;
  border-radius: 4px;
  border: 1px solid rgba(63, 156, 216, 0.45);
}
.contact-person p { display: flex; flex-direction: column; gap: 0.15rem; }
.contact-person strong { font-family: var(--font-display); font-weight: 520; font-size: 1.05rem; }
.contact-person span { font-size: 0.85rem; color: var(--text-light-muted); }


.contact-form {
  background: var(--ink-3);
  border: 1px solid rgba(236, 232, 223, 0.22);
  box-shadow: 0 40px 90px -48px rgba(0, 0, 0, 0.9), 0 0 0 1px rgba(63, 156, 216, 0.08);
  padding: clamp(1.75rem, 4vw, 2.5rem);
  display: flex; flex-direction: column; gap: 1.4rem;
}
.form-head { display: flex; flex-direction: column; gap: 0.35rem; }
.form-title { font-size: 1.5rem; }
.form-intro { font-size: 0.9rem; color: var(--text-light-muted); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem; }
.field { display: flex; flex-direction: column; gap: 0.45rem; }
.field label {
  font-size: 0.8rem; font-weight: 600; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--text-light-muted);
}
.field input, .field select, .field textarea {
  font-family: var(--font-text); font-size: 1rem;
  color: var(--text-light);
  background: var(--ink);
  border: 1px solid rgba(236, 232, 223, 0.24);
  border-radius: 2px;
  padding: 0.8rem 0.9rem;
  transition: border-color 0.3s;
  width: 100%;
}
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%233f9cd8' fill='none' stroke-width='1.5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 0.9rem center; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(63, 156, 216, 0.20);
}
.field textarea { resize: vertical; min-height: 96px; }
.btn-submit { justify-content: center; }
.form-note {
  text-align: center; font-size: 0.8rem; color: var(--text-light-muted);
}

/* ---------- Footer ---------- */
.site-footer {
  position: relative;
  background:
    radial-gradient(55% 42% at 50% 0%, rgba(63, 156, 216, 0.07), transparent 72%),
    linear-gradient(180deg, #11151d 0%, #0c1017 100%);
  border-top: 1px solid var(--line-light);
  padding-block: clamp(2rem, 4vw, 2.75rem) 1.25rem;
  color: var(--text-light-muted);
  overflow: hidden;
}
.site-footer::before {
  content: ''; position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 240 240' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
  background-size: 240px;
  opacity: 0.22; mix-blend-mode: overlay;
  pointer-events: none;
}
.site-footer > .container { position: relative; z-index: 1; }
.footer-nav {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: clamp(1.5rem, 3vw, 2.5rem);
  border: 1px solid var(--line-light);
  padding-block: 1.75rem 2rem;
  margin-bottom: clamp(1.5rem, 3vw, 2.5rem);
}
.fnav-col { display: flex; flex-direction: column; gap: 0.6rem; align-items: flex-start; }
.fnav-col h4 {
  font-size: 0.78rem; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.35rem;
}
.fnav-col a {
  font-size: 0.9rem; color: var(--text-light-muted);
  transition: color 0.25s;
  display: inline-flex; align-items: center; gap: 0.55rem;
}
.fnav-col a::before {
  content: ''; width: 4px; height: 4px; border-radius: 50%;
  background: var(--accent); opacity: 0.65; flex-shrink: 0;
  transition: opacity 0.25s;
}
.fnav-col a:hover::before { opacity: 1; }
.fnav-col a:hover { color: var(--text-light); }
.fnav-col .fnav-more {
  margin-top: 0.35rem;
  font-weight: 600; color: var(--accent);
}
.fnav-col .fnav-more::before {
  content: '\2192';
  width: auto; height: auto; border-radius: 0; background: none;
  opacity: 1;
  transition: transform 0.3s var(--ease-out);
}
.fnav-col .fnav-more:hover { color: var(--accent-bright); }
.fnav-col .fnav-more:hover::before { transform: translateX(3px); }

.footer-locations {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(1.5rem, 3vw, 2.5rem);
  padding-bottom: clamp(1.5rem, 3vw, 2.25rem);
}
.floc {
  border: 1px solid var(--line-light);
  background: var(--ink);
}
.floc iframe { display: block; width: 100%; }
.floc-nap { padding: 1.25rem 1.4rem 1.4rem; }
.floc-nap h4 {
  font-size: 0.78rem; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.5rem;
}
.floc-name { font-weight: 600; color: var(--text-light); font-size: 0.95rem; margin-bottom: 0.25rem; }
.floc-addr { font-size: 0.9rem; color: var(--text-light-muted); margin-bottom: 0.9rem; }
.floc-links { display: flex; gap: 1.75rem; flex-wrap: wrap; font-size: 0.9rem; font-weight: 600; }
.floc-links a { color: var(--accent); transition: color 0.25s; display: inline-flex; gap: 0.35rem; align-items: center; }
.floc-links a:hover { color: var(--accent-bright); }
.floc-links a:hover .btn-arrow { transform: translateX(4px); }

.footer-legal {
  border-top: 1px solid var(--line-light);
  padding-top: 1.25rem;
  font-size: 0.78rem;
  display: flex; justify-content: space-between; align-items: center;
  gap: 1.5rem; flex-wrap: wrap;
}
.footer-social { display: flex; align-items: center; gap: 1.1rem; }
.footer-social a { color: var(--text-light-muted); transition: color 0.25s, transform 0.25s; display: block; }
.footer-social a:hover { color: var(--accent-bright); transform: translateY(-2px); }
.refine-badge { flex-shrink: 0; display: inline-flex; align-items: center; gap: 0.6rem; }
.refine-label { font-size: 0.75rem; color: var(--text-light-muted); }
.refine-pill {
  display: inline-flex; align-items: center; gap: 2px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  padding: 2px 10px;
  font-size: 12px;
  color: #8fb3cf;
  transition: border-color 0.25s;
}
.refine-badge:hover .refine-pill { border-color: rgba(255, 255, 255, 0.4); }
.refine-pill-word {
  font-weight: 900; letter-spacing: -0.02em; line-height: 1.6;
  color: #fff;
}
.refine-pill-word i {
  font-style: normal; color: rgba(255, 255, 255, 0.4);
  position: relative; top: -0.5px;
}
.refine-pill-word em { font-style: normal; color: #8fb3cf; }
.refine-pill svg { display: block; }

/* ---------- Mobile call bar ---------- */
.callbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
  display: none;
  grid-template-columns: 1fr 1fr;
  background: rgba(11, 14, 19, 0.92);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-top: 1px solid var(--line-light);
  padding: 0.6rem 0.75rem calc(0.6rem + env(safe-area-inset-bottom));
  gap: 0.6rem;
}
.callbar a {
  display: flex; align-items: center; justify-content: center; gap: 0.5rem;
  font-weight: 600; font-size: 0.95rem;
  padding: 0.85rem 0.5rem;
  border-radius: 2px;
  transition: transform 0.15s ease;
}
.callbar a:active { transform: scale(0.97); }
.callbar-phone { background: var(--accent); color: var(--ink); }
.callbar-cta { border: 1px solid var(--line-light); color: var(--text-light); }

/* ============================================================
   Motion
   ============================================================ */

/* Load-in (hero) */
.reveal-load {
  opacity: 0;
  transform: translateY(28px);
  animation: rise 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  animation-delay: var(--d, 0s);
}
.line-mask .reveal-load {
  transform: translateY(110%);
  animation-name: rise-line;
  animation-duration: 1.1s;
}
@keyframes rise { to { opacity: 1; transform: translateY(0); } }
@keyframes rise-line { to { opacity: 1; transform: translateY(0); } }

/* Scroll reveals */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
  transition-delay: calc(var(--i, 0) * 90ms);
}
.reveal.is-in { opacity: 1; transform: none; }

/* ============================================================
   Responsive
   ============================================================ */
/* Below 1024px the portrait stays visible, TP-style: large, right-anchored, dimmed under text */
@media (max-width: 1023px) {
  .hero-portrait {
    right: max(-14vw, -70px);
    bottom: 4.4rem;
    width: clamp(300px, 96vw, 560px);
    height: clamp(300px, 96vw, 560px);
  }
  .hero-portrait img { filter: saturate(0.82) brightness(0.5); }
  .hero-portrait::before { display: none; }
  .hero-sig-photo { display: none; }
}

/* ---------- Hero signature bar (mobile / tablet) ---------- */
.hero-sig { display: none; }
@media (max-width: 1023px) {
  .hero-sig {
    display: flex; align-items: center; gap: 1rem;
    margin-bottom: clamp(1.5rem, 3.5vh, 2.25rem);
  }
  .hero-sig-photo {
    width: 62px; height: 62px; flex-shrink: 0;
    border-radius: 4px; overflow: hidden;
    border: 1px solid rgba(63, 156, 216, 0.45);
    box-shadow: 0 12px 28px -12px rgba(0, 0, 0, 0.65);
  }
  .hero-sig-photo img { width: 100%; height: 100%; object-fit: cover; }
  .hero-sig-text { display: flex; flex-direction: column; gap: 0.1rem; }
  .hero-sig-text strong {
    font-family: var(--font-display); font-weight: 520;
    font-size: 1.1rem; line-height: 1.2;
  }
  .hero-sig-text span { font-size: 0.82rem; color: var(--text-light-muted); }
  .hero-sig-badges { display: none; }
}

/* On phones the signature bar absorbs the trust chips */
@media (max-width: 720px) {
  .hero-trust { display: none; }
  .hero-sig { margin-bottom: 0; }
  .hero-sig-badges { display: block; color: var(--accent); font-size: 0.74rem; letter-spacing: 0.02em; }
}

@media (min-width: 1025px) {
  .mobile-menu { display: none; }
}

@media (max-width: 1024px) {
  .practice-grid { grid-template-columns: repeat(2, 1fr); }
  .rev-wall { columns: 2; }
  .roster-grid { grid-template-columns: repeat(3, 1fr); }
  .areas-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-nav { grid-template-columns: repeat(2, 1fr); }
  .site-nav { display: none; }
  .menu-toggle { display: flex; }
  .header-phone { display: flex; }
  .header-inner { gap: 0.75rem; }
  .header-cta { margin-left: auto; }
  .header-cta .btn-header { display: none; }
  .attorney-feature { grid-template-columns: 1fr; }
  .attorney-photo { max-width: 420px; }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  :root { --header-h: 64px; }
  .wordmark-img { height: 44px; }
  .hero { min-height: calc(100vh - 68px); min-height: calc(100svh - 68px); }
  .hero-cols img { object-position: 74% center; }
  .hero-cols.is-loaded { opacity: 0.6; }
  .hero-title { max-width: none; }
  .hero-sub { font-size: 1rem; margin-bottom: 1.5rem; }
  .hero-actions { margin-bottom: 1.5rem; }
  .hero-trust { gap: 0.5rem 1.25rem; font-size: 0.78rem; }
  .hero-areas { padding-block: 1.05rem; }
  .ticker-track span { font-size: 0.85rem; }
  .practice-grid { grid-template-columns: 1fr; }
  .areas-grid { grid-template-columns: repeat(2, 1fr); }
  .rev-wall { columns: 1; }
  .abt-grid { grid-template-columns: 1fr; }
  .atty-mini-grid { grid-template-columns: 1fr; }
  .attorney-profile-alt .attorney-feature { grid-template-columns: 1fr; }
  .attorney-profile-alt .attorney-photo { order: 0; }
  .content-two { grid-template-columns: 1fr; }
  .roster-grid { grid-template-columns: 1fr; }
  .bio-facts { grid-template-columns: 1fr; }
  .attorney-team-grid { grid-template-columns: 1fr; }
  .pa-card-area { padding: 1.1rem 1rem; }
  .pa-card-area h3 { font-size: 1.1rem; }
  .pa-card-area p { font-size: 0.78rem; }
  .urgency { flex-direction: column; align-items: flex-start; }
  .cred-list { grid-template-columns: 1fr; }
  .footer-nav { grid-template-columns: repeat(2, 1fr); gap: 2rem 1.25rem; }
  .footer-locations { grid-template-columns: 1fr; }
  .callbar { display: grid; }
  body { padding-bottom: 68px; }
  .field-row { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .footer-nav { grid-template-columns: 1fr; }
}

@media (max-width: 400px) {
  .hero-inner { padding-block: 1.25rem; }
  .hero-title { font-size: clamp(1.9rem, 8.8vw, 2.3rem); margin-bottom: 1.1rem; }
  .hero-sub { font-size: 0.95rem; margin-bottom: 1.25rem; }
  .hero-actions { margin-bottom: 1.25rem; gap: 0.6rem; }
  .hero-actions .btn { padding: 0.85rem 1.4rem; }
  .hero-sig-photo { width: 54px; height: 54px; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal-load, .line-mask .reveal-load {
    animation: none; opacity: 1; transform: none;
  }
  .reveal { opacity: 1; transform: none; transition: none; }
  .ticker-track { animation: none; flex-wrap: wrap; min-width: 0; }
  .ticker-track[aria-hidden] { display: none; }
  .rev-track { animation: none; flex-wrap: wrap; min-width: 0; }
  .rev-track[aria-hidden] { display: none; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}

/* legal disclaimer — footer */
.footer-legal .footer-disclaimer {
  /* text-align alone was imperceptible: at max-width none the paragraph filled
     the footer, so only the last line ever moved. Constraining the measure and
     centring the block is what actually reads as centred. 2026-07-29 */
  order: 99; flex-basis: 100%;
  max-width: 78ch; margin-inline: auto;
  margin-top: .85rem; text-align: center;
  font-size: .62rem; line-height: 1.5;
  color: var(--text-light-muted); opacity: .5;
}

.urgency-body .urgency-title { font-family: var(--font-display); font-weight: 400; line-height: 1.2; color: var(--text-light); }

.post-author-box .post-author-box-name { font-family: var(--font-display); font-weight: 400; }

/* ---------- Locations mega-menu ---------- */
.nav-mega {
  left: -460px; right: auto;
  width: min(840px, calc(100vw - 2rem));
  padding: 1.75rem 1.9rem 1rem;
  columns: 3; column-gap: 2.1rem;
  background:
    radial-gradient(130% 120% at 100% 100%, rgba(63, 156, 216, 0.12), transparent 52%),
    radial-gradient(90% 100% at 0% 0%, rgba(63, 156, 216, 0.06), transparent 45%),
    linear-gradient(158deg, var(--ink-2) 0%, #0c0f16 100%);
  box-shadow: 0 26px 60px -24px rgba(0, 0, 0, 0.7);
}
.nav-mega .nav-mega-col { break-inside: avoid; display: block; margin-bottom: 1.5rem; }
.nav-mega a { white-space: normal; }
.nav-mega .nav-mega-county {
  font-family: var(--font-display); font-weight: 600; font-size: 1.02rem;
  color: var(--text-light); padding: 0 0 0.5rem; margin-bottom: 0.55rem;
  border-bottom: 1px solid rgba(63, 156, 216, 0.3); letter-spacing: 0.005em;
}
.nav-mega .nav-mega-county::before { content: none; }
.nav-mega .nav-mega-county:hover { color: var(--accent-bright); background: none; }
.nav-mega a:not(.nav-mega-county) {
  position: relative; padding: 0.26rem 0 0.26rem 0.95rem;
  font-size: 0.85rem; color: var(--text-light-muted);
}
.nav-mega a:not(.nav-mega-county)::before {
  content: ''; position: absolute; left: 0; top: 0.72em;
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--accent); opacity: 0.55;
  transition: opacity 0.2s, transform 0.2s, background-color 0.2s;
}
.nav-mega a:not(.nav-mega-county):hover { color: var(--accent-bright); background: none; }
.nav-mega a:not(.nav-mega-county):hover::before { opacity: 1; transform: scale(1.4); background: var(--accent-bright); }
@media (max-width: 1120px) { .nav-mega { left: -430px; width: min(760px, calc(100vw - 1.5rem)); } }
/* mobile: cities nested under counties, with bullets */
.mm-group.is-open .mm-sub-wide { max-height: 2600px; }
.mm-sub .mm-county { font-weight: 600; color: var(--text-light); margin-top: 0.6rem; }
.mm-sub .mm-county:first-child { margin-top: 0; }
.mm-sub .mm-city { position: relative; padding-left: 1.5rem; font-size: 0.92em; color: var(--text-light-muted); }
.mm-sub .mm-city::before { content: ''; position: absolute; left: 0.55rem; top: 0.95em; width: 5px; height: 5px; border-radius: 50%; background: var(--accent); opacity: 0.5; }

/* Last updated stamp — end of page content, 2026-07-29 */
.page-updated {
  margin: 2.6rem 0 0; padding-top: 1.1rem;
  border-top: 1px solid var(--line-dark);
  font-size: .78rem; letter-spacing: .06em; text-transform: uppercase;
  color: var(--text-dark-muted); text-align: right;
}
.page-updated time { letter-spacing: .02em; text-transform: none; color: var(--text-dark); }
.section-dark .page-updated, .post-article .page-updated { border-top-color: var(--line-dark); }

/* Footer blog links — single line, truncated. Long headlines were wrapping to
   two and three lines and breaking the column rhythm. The anchor has to be a
   block rather than the inline-flex the other footer links use, because
   text-overflow does not apply to a bare text node inside a flex container;
   the bullet becomes an inline-block instead of a flex item. 2026-07-29 */
.fnav-col a[href^="/blog/"] {
  display: block; width: 100%; max-width: 100%;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.fnav-col a[href^="/blog/"]::before {
  display: inline-block; vertical-align: middle;
  margin-right: 0.55rem; position: relative; top: -1px;
}

/* Editorial exit seam on blog posts — LINK::WeaveSeam, 2026-07-29 */
.np-seam { margin: 2.2rem 0 0; padding: 1rem 1.15rem; border-left: 3px solid var(--accent-deep);
           background: rgba(63,156,216,.06); font-size: .95rem; line-height: 1.6; }

/* ---------- Free Case Evaluation modal ---------- */
.lead-modal { position: fixed; inset: 0; z-index: 1000; display: none; }
.lead-modal.is-open { display: block; }
.lead-modal-backdrop { position: absolute; inset: 0; background: rgba(8,10,14,0.9); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); animation: leadFade 0.3s ease; }
.lead-modal-scroll { position: absolute; inset: 0; overflow-y: auto; display: flex; align-items: flex-start; justify-content: center; padding: clamp(1rem,4vh,3rem) clamp(1rem,4vw,2rem); }
.lead-modal-dialog { position: relative; width: min(560px,100%); margin: auto; background: var(--ink-2); border: 1px solid rgba(236,232,223,0.16); box-shadow: 0 40px 100px -30px rgba(0,0,0,0.85); padding: clamp(1.75rem,4vw,2.75rem); animation: leadPop 0.35s var(--ease-out); }
.lead-modal-close { position: absolute; top: 0.45rem; right: 0.6rem; width: 44px; height: 44px; display: grid; place-items: center; background: none; border: 0; color: var(--text-light-muted); font-size: 2rem; line-height: 1; cursor: pointer; transition: color 0.2s; }
.lead-modal-close:hover { color: var(--text-light); }
.lead-modal .contact-form { background: none; border: 0; box-shadow: none; padding: 0; }
body.lead-open { overflow: hidden; }
@keyframes leadFade { from { opacity: 0 } to { opacity: 1 } }
@keyframes leadPop { from { opacity: 0; transform: translateY(16px) } to { opacity: 1; transform: none } }
@media (prefers-reduced-motion: reduce) { .lead-modal-backdrop, .lead-modal-dialog { animation: none } }

/* attorney profile — position subheader under the name */
.attorney-hero .bio-role { font-family: var(--font-text); font-size: 1.1rem; font-weight: 600; letter-spacing: 0.01em; color: var(--accent-bright); margin: -0.4rem 0 1.3rem; }
