/* ── Hero ── */
.hero-module {
  overflow: hidden;
  position: relative;
}
.shapegrid-wrap {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: auto;
}
.shapegrid-canvas {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}
.hero-module .site-shell {
  position: relative;
  z-index: 1;
}
.hero-module .hero-split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(20px, 3vw, 40px);
  align-items: center;
}
.hero-module .hero-copy { width: min(100%, 680px); }
.hero-module .hero-eyebrow {
  display: inline-block;
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--site-primary);
  margin-bottom: 12px;
}
.hero-module .hero-title {
  font-size: clamp(2rem, 5.8vw, 4rem);
  line-height: 1.03;
  max-width: 16ch;
  margin-bottom: 14px;
}
.hero-module .hero-subtitle {
  color: var(--site-muted);
  max-width: 58ch;
  font-size: 1.08rem;
  line-height: 1.6;
  margin-bottom: 20px;
}
.hero-module .hero-subtitle p { margin: 0; }
.hero-module .hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-module .hero-media-wrap {
  position: relative;
  /* Padding creates room for the gold offset accent behind the image */
  padding: 0 20px 20px 0;
}
/* Gold parallelogram accent — same shape, offset down-right */
.hero-module .hero-media-wrap::before {
  content: '';
  position: absolute;
  top: 20px;
  left: 20px;
  right: 0;
  bottom: 0;
  clip-path: polygon(12% 0%, 100% 0%, 88% 100%, 0% 100%);
  background: rgba(229, 163, 0, 0.28);
  z-index: 0;
}
.hero-module .hero-media {
  min-height: 380px;
  border-radius: 0;
  border: none;
  overflow: hidden;
  position: relative;
  z-index: 1;
  /* Sharp parallelogram — left and right edges both diagonal, same lean */
  clip-path: polygon(12% 0%, 100% 0%, 88% 100%, 0% 100%);
  background:
    radial-gradient(680px 260px at 75% 25%, rgba(59, 130, 246, 0.22), rgba(59, 130, 246, 0) 65%),
    linear-gradient(145deg, #ffffff 0%, #f2f7ff 100%);
}
.hero-module .hero-media img,
.hero-module .hero-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}
.hero-module .hero-metric-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}
.hero-module .hero-metric-card {
  border: var(--site-divider);
  border-radius: calc(var(--site-radius) - 8px);
  padding: 14px;
  background: rgba(255, 255, 255, 0.76);
  backdrop-filter: blur(4px);
}
.hero-module .hero-metric-card strong {
  display: block;
  font-size: 1.1rem;
  margin-bottom: 3px;
}
.hero-module .hero-metric-card span { font-size: 0.85rem; color: var(--site-muted); }

/* ── Dark hero ── */
.hero-module.hero-dark {
  background: linear-gradient(135deg, #0f1b2e 0%, #142744 50%, #1a3158 100%);
  border-color: rgba(255, 255, 255, 0.06);
}
.hero-module.hero-dark .hero-eyebrow { color: #e5a300; }
.hero-module.hero-dark .hero-title { color: #ffffff; }
.hero-module.hero-dark .hero-subtitle,
.hero-module.hero-dark .hero-subtitle p { color: rgba(255, 255, 255, 0.75); }
.hero-module.hero-dark .hero-metric-card {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  color: #ffffff;
}
.hero-module.hero-dark .hero-metric-card span { color: rgba(255, 255, 255, 0.6); }
.hero-module.hero-dark .hero-media {
  background: linear-gradient(145deg, #1a3158 0%, #234879 100%);
  border-color: rgba(255, 255, 255, 0.08);
}
.hero-module.hero-dark .site-btn {
  background: #e5a300;
  color: #0f1b2e;
}
.hero-module.hero-dark .site-btn:hover {
  box-shadow: 0 10px 22px rgba(229, 163, 0, 0.3);
  color: #0f1b2e;
}
.hero-module.hero-dark .site-btn--secondary {
  background: transparent;
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.3);
}
.hero-module.hero-dark .site-btn--secondary:hover { color: #ffffff; }

/* ── Feature grid ── */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.feature-card {
  border: var(--site-divider);
  border-radius: calc(var(--site-radius) - 8px);
  padding: 16px;
  background: #fff;
  display: block;
  text-decoration: none;
  color: inherit;
  transition: box-shadow 0.18s, transform 0.18s, border-color 0.18s;
}
a.feature-card:hover {
  box-shadow: 0 6px 24px rgba(15,27,46,0.10);
  transform: translateY(-2px);
  border-color: rgba(31,94,168,0.25);
}
.feature-card h3 { font-size: 1.06rem; margin-bottom: 8px; color: var(--site-text); }
.feature-card p { margin: 0; color: var(--site-muted); font-size: 0.95rem; }

/* ── Practice Areas — Two-column layout ── */
.practice-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(24px, 4vw, 60px);
  align-items: start;
}
.practice-copy {
  position: sticky;
  top: 100px;
  align-self: start;
}
.practice-cards {
  position: relative;
  overflow: visible;
}

/* ── Card stack — JS makes inner sticky + cards absolute (physical deck effect) ── */
.card-stack-inner {
  /* JS sets: position:sticky, top, height. Cards are position:absolute inside. */
  position: relative; /* fallback before JS runs */
}
.feature-card-stack {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 28px 32px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 2px 20px rgba(15, 27, 46, 0.08);
  text-decoration: none;
  color: inherit;
  width: 100%;
  box-sizing: border-box;
  transition: box-shadow 0.2s, border-color 0.2s;
}
a.feature-card-stack:hover {
  box-shadow: 0 8px 32px rgba(15, 27, 46, 0.14);
  border-color: rgba(31, 94, 168, 0.25);
}
.feature-card-stack-icon {
  font-size: 1.8rem;
  line-height: 1;
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(229, 163, 0, 0.1);
  border-radius: 10px;
  color: #e5a300;
}
.feature-card-stack h3 {
  font-size: 1.1rem;
  margin: 0 0 6px;
  color: var(--site-text);
}
.feature-card-stack p {
  margin: 0;
  color: var(--site-muted);
  font-size: 0.95rem;
  line-height: 1.5;
}

/* ── Why Us ── */
.why-us-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: start;
}
.why-us-copy p {
  color: var(--site-muted);
  line-height: 1.75;
  margin-top: 14px;
  max-width: 520px;
}
.why-us-points {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.why-us-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 22px 20px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 2px 12px rgba(15, 27, 46, 0.06);
}
.why-us-card-icon {
  font-size: 1.5rem;
  line-height: 1;
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(229, 163, 0, 0.1);
  border-radius: 10px;
  color: #e5a300;
}
.why-us-card h3 {
  font-size: 0.98rem;
  margin: 0 0 4px;
  color: var(--site-text);
}
.why-us-card p {
  margin: 0;
  color: var(--site-muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

/* ── Section heading ── */
.section-heading-eyebrow {
  display: inline-block;
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--site-primary);
  margin-bottom: 12px;
}
.section-heading-title { font-size: clamp(1.6rem, 3.5vw, 2.4rem); line-height: 1.15; }
.section-heading-subtitle { color: var(--site-muted); max-width: 64ch; }
.section-heading-subtitle p { margin: 0; }

/* ── Service Areas (borough section) ── */
.service-areas {
  position: relative;
  overflow: hidden;
  border-radius: var(--site-radius);
  padding: 56px 0;
}
.service-areas-inner {
  position: relative;
  z-index: 1;
}

/* Header */
.service-areas-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 36px;
}
.service-areas-eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #e5a300;
  margin-bottom: 10px;
}
.service-areas-title {
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  line-height: 1.15;
  color: #fff;
  margin: 0 0 12px;
}
.service-areas-subtitle {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.05rem;
  line-height: 1.6;
  margin: 0;
}
.service-areas-subtitle a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.service-areas-subtitle a:hover { color: #fff; }

/* Grid */
.service-areas-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  padding: 0 24px;
}

/* Individual card */
.area-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 24px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  text-decoration: none;
  color: #fff;
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
}
.area-card:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(229, 163, 0, 0.4);
  transform: translateY(-2px);
}

/* Icon */
.area-card-icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: rgba(229, 163, 0, 0.15);
  color: #e5a300;
  font-size: 0.9rem;
}

/* Body */
.area-card-body { flex: 1; min-width: 0; }
.area-card-body h3 {
  font-size: 1.1rem;
  margin: 0 0 6px;
  color: #fff;
  font-weight: 700;
}
.area-card-body p {
  margin: 0 0 12px;
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.9rem;
  line-height: 1.55;
}

/* Tags */
.area-card-tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.area-card-tags span {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 4px;
  background: rgba(229, 163, 0, 0.12);
  color: #e5a300;
  letter-spacing: 0.02em;
}

/* Arrow */
.area-card-arrow {
  flex-shrink: 0;
  color: rgba(255, 255, 255, 0.3);
  font-size: 1.2rem;
  margin-top: 2px;
  transition: color 0.2s, transform 0.2s;
}
.area-card:hover .area-card-arrow {
  color: #e5a300;
  transform: translateX(3px);
}

/* Responsive */
@media (max-width: 760px) {
  .service-areas-grid { grid-template-columns: 1fr; padding: 0 16px; }
  .service-areas { padding: 40px 0; }
}

/* ── Court Callout ── */
.court-callout {
  display: grid;
  grid-template-columns: 1fr 200px;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
  background: #0d1b2e;
  border-radius: 20px;
  padding: clamp(32px, 5vw, 52px);
}
.court-callout-eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--site-accent);
  margin: 0 0 14px;
}
.court-callout h3 {
  font-family: var(--site-heading-font);
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  color: #fff;
  margin: 0 0 16px;
  line-height: 1.25;
}
.court-callout p {
  margin: 0;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.8;
  font-size: 0.97rem;
}
.court-callout-stats {
  display: flex;
  flex-direction: column;
  gap: 28px;
  border-left: 1px solid rgba(255, 255, 255, 0.12);
  padding-left: clamp(24px, 4vw, 40px);
}
.court-callout-stat strong {
  display: block;
  font-family: var(--site-heading-font);
  font-size: 2.4rem;
  color: var(--site-accent);
  line-height: 1;
  margin-bottom: 5px;
}
.court-callout-stat span {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.45);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* ── CTA banner ── */
.cta-banner {
  text-align: center;
  max-width: 680px;
  margin: 0 auto;
  padding: clamp(8px, 2vw, 16px) 0;
}
.cta-banner-eyebrow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--site-accent);
  margin: 0 0 20px;
}
.cta-banner-eyebrow::before,
.cta-banner-eyebrow::after {
  content: '';
  display: block;
  height: 1px;
  width: 36px;
  background: var(--site-accent);
  opacity: 0.5;
}
.cta-banner h2 {
  font-family: var(--site-heading-font);
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  color: var(--site-text);
  margin: 0 0 16px;
  line-height: 1.15;
}
.cta-banner p {
  margin: 0 0 36px;
  color: var(--site-muted);
  font-size: 1.05rem;
  line-height: 1.7;
}
.cta-banner-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ── FAQ ── */
.faq-list { display: grid; gap: 12px; }
.faq-item {
  border: var(--site-divider);
  border-radius: calc(var(--site-radius) - 8px);
  background: #fff;
  overflow: hidden;
}
.faq-toggle {
  width: 100%;
  border: 0;
  border-radius: 0;
  background: transparent;
  text-align: left;
  padding: 16px;
  color: var(--site-text);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 1rem;
}
.faq-toggle:hover { background: rgba(59, 130, 246, 0.06); }
.faq-toggle-icon { width: 1.2em; text-align: center; flex-shrink: 0; }
.faq-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 300ms ease;
}
.faq-panel-inner {
  padding: 0 16px 16px;
  color: var(--site-muted);
  line-height: 1.7;
}
.faq-item.is-open .faq-toggle { background: rgba(59, 130, 246, 0.08); }

/* ── Forms panel ── */
.forms-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}
.forms-panel-copy .forms-panel-eyebrow {
  display: inline-block;
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--site-primary);
  margin-bottom: 12px;
}
.forms-panel-copy h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin-bottom: 14px; }
.forms-panel-copy p { color: var(--site-muted); line-height: 1.7; }
.forms-panel-form { background: var(--site-bg); border: var(--site-divider); border-radius: var(--site-radius); padding: 28px; }

/* Basic WP form styling */
.forms-panel-form label { display: block; font-weight: 600; font-size: 0.9rem; margin-bottom: 6px; }
.forms-panel-form input,
.forms-panel-form textarea,
.forms-panel-form select {
  width: 100%;
  padding: 10px 14px;
  border: var(--site-divider);
  border-radius: 8px;
  font: inherit;
  font-size: 0.95rem;
  background: #fff;
  color: var(--site-text);
  margin-bottom: 16px;
}
.forms-panel-form input:focus,
.forms-panel-form textarea:focus {
  outline: 2px solid rgba(31, 94, 168, 0.4);
  border-color: var(--site-primary);
}
.forms-panel-form textarea { min-height: 120px; resize: vertical; }
.forms-panel-form .site-btn { width: 100%; justify-content: center; }

/* ── Consultation Panel (Form + Info) ── */
.consultation-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto clamp(32px, 5vw, 52px);
}
.consultation-header-desc {
  color: var(--site-muted);
  line-height: 1.7;
  margin: 14px 0 0;
  font-size: 1.05rem;
}
.consultation-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(24px, 4vw, 48px);
  align-items: start;
}

/* Left: form card */
.consultation-form {
  background: #fff;
  border: var(--site-divider);
  border-radius: var(--site-radius);
  padding: clamp(28px, 4vw, 44px);
  box-shadow: 0 4px 24px rgba(15, 27, 46, 0.06);
}
.consultation-eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--site-primary);
  margin: 0 0 12px;
}
.consultation-form h2 {
  font-family: var(--site-heading-font);
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  color: var(--site-text);
  margin: 0 0 12px;
  line-height: 1.25;
}
.consultation-desc {
  color: var(--site-muted);
  line-height: 1.7;
  font-size: 0.95rem;
  margin: 0 0 24px;
}

/* Right: info panel */
.consultation-info {
  background:
    radial-gradient(ellipse 70% 45% at 100% 0%, rgba(229, 163, 0, 0.18) 0%, transparent 65%),
    radial-gradient(ellipse 50% 40% at 0% 100%, rgba(31, 94, 168, 0.25) 0%, transparent 60%),
    linear-gradient(160deg, #0f2035 0%, #0d1b2e 60%, #0a1520 100%);
  border-radius: var(--site-radius);
  padding: clamp(28px, 4vw, 44px);
  position: sticky;
  top: 110px;
  overflow: hidden;
}
/* Subtle grid texture overlay */
.consultation-info::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
  border-radius: inherit;
}
.consultation-info > * { position: relative; }
.consultation-info-eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--site-accent);
  margin: 0 0 12px;
}
.consultation-info h3 {
  font-family: var(--site-heading-font);
  font-size: clamp(1.3rem, 2.5vw, 1.75rem);
  color: #fff;
  margin: 0 0 14px;
  line-height: 1.3;
}
.consultation-info > p {
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.8;
  font-size: 0.95rem;
  margin: 0 0 28px;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.consultation-contacts {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 28px;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.consultation-contact-link {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  text-decoration: none;
  font-size: 0.97rem;
  font-weight: 500;
  transition: color 180ms;
}
.consultation-contact-link:hover { color: var(--site-accent); }
.consultation-contact-icon {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(229, 163, 0, 0.12);
  border-radius: 8px;
  color: var(--site-accent);
  font-size: 1rem;
  flex-shrink: 0;
}
.consultation-locations {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.consultation-location {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.consultation-location-pin {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(229, 163, 0, 0.08);
  border-radius: 6px;
  color: var(--site-accent);
  font-size: 0.75rem;
  flex-shrink: 0;
  margin-top: 1px;
}
.consultation-location strong {
  display: block;
  color: #fff;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 2px;
}
.consultation-location span {
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.82rem;
  line-height: 1.4;
}

/* ── Testimonials ── */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.testimonial-card {
  border: var(--site-divider);
  border-radius: calc(var(--site-radius) - 8px);
  padding: 18px;
  background: #fff;
}
.testimonial-quote { color: var(--site-text); margin: 0 0 12px; font-style: italic; line-height: 1.65; }
.testimonial-meta { font-size: 0.92rem; color: var(--site-muted); }
.testimonial-meta strong { color: var(--site-text); }

/* ── Blog ── */
.post-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.post-card {
  border: var(--site-divider);
  border-radius: calc(var(--site-radius) - 8px);
  background: #fff;
  overflow: hidden;
}
.post-card__body { padding: 14px; }
.post-card__image { width: 100%; height: 180px; object-fit: cover; display: block; }
.post-card h3 { font-size: 1.02rem; margin-bottom: 8px; }
.post-card p { margin: 0; color: var(--site-muted); font-size: 0.9rem; }
.post-card__meta { font-size: 0.82rem; color: var(--site-muted); margin-bottom: 8px; }

.blog-post-title { max-width: 20ch; }
.blog-post-image {
  width: 100%;
  height: auto;
  border-radius: 16px;
  border: var(--site-divider);
  margin: 10px 0 18px;
  display: block;
}
.blog-post-content { max-width: 72ch; }
.blog-post-content p { line-height: 1.8; margin-bottom: 1.4em; }
.blog-post-content h2,
.blog-post-content h3 { margin-top: 2em; }

/* ── Responsive ── */
@media (max-width: 980px) {
  .hero-module .hero-split { grid-template-columns: 1fr; }
  .hero-module .hero-copy { width: 100%; }
  .hero-module .hero-metric-grid { grid-template-columns: 1fr 1fr; }
  .feature-grid,
  .post-grid,
  .testimonial-grid { grid-template-columns: 1fr 1fr; }
  .service-areas-grid { grid-template-columns: 1fr 1fr; }
  .forms-panel { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .hero-module .hero-metric-grid,
  .feature-grid,
  .post-grid,
  .testimonial-grid,
  .service-areas-grid { grid-template-columns: 1fr; }
  .court-callout { grid-template-columns: 1fr; }
  .court-callout-stats {
    flex-direction: row;
    border-left: none;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    padding-left: 0;
    padding-top: 24px;
    justify-content: space-around;
  }
  .cta-banner-actions { flex-direction: column; align-items: center; }
  .consultation-panel { grid-template-columns: 1fr; }
  .consultation-info { position: static; }
  .feature-card-stack { padding: 20px; gap: 14px; }
  .feature-card-stack-icon { width: 36px; height: 36px; font-size: 1.4rem; }
  .practice-split { grid-template-columns: 1fr; }
  .practice-copy { position: static; }
  /* Card stack: plain flex list on mobile — JS animation is skipped */
  .card-stack-inner {
    display: flex;
    flex-direction: column;
    gap: 16px;
  }
  .card-stack-inner .scroll-stack-card {
    position: relative !important;
    transform: none !important;
    opacity: 1 !important;
    filter: none !important;
    will-change: auto !important;
  }
  .why-us-split { grid-template-columns: 1fr; }
  .why-us-points { grid-template-columns: 1fr; }
}

/* ══════════════════════════════════════════
   PAGE-SPECIFIC COMPONENTS
   ══════════════════════════════════════════ */

/* ── Page hero (light variant) ── */
.page-hero {
  padding: clamp(48px, 6vw, 80px) clamp(20px, 4vw, 48px);
  border-radius: var(--site-radius);
  border: var(--site-divider);
  background: linear-gradient(135deg, #f7f9fc 0%, #eef3fb 100%);
  box-shadow: 0 24px 48px rgba(31,94,168,0.08), 0 4px 12px rgba(31,94,168,0.04);
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  right: -80px;
  top: -80px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(31,94,168,0.1) 0%, transparent 65%);
  pointer-events: none;
}
.page-hero--dark {
  background: linear-gradient(to bottom right, #0f1b2e, #1a3158);
  border-color: transparent;
  box-shadow: none;
}
.page-hero--dark::before {
  background: radial-gradient(circle, rgba(229,163,0,0.08) 0%, transparent 65%);
}
.page-hero--dark .hero-eyebrow { color: #e5a300; }
.page-hero--dark h1 { color: #fff; }
.page-hero--dark .hero-subtitle { color: rgba(255,255,255,0.72); }
.page-hero .hero-eyebrow { color: var(--site-primary); }
.page-hero h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  line-height: 1.1;
  max-width: 18ch;
  margin-bottom: 16px;
}
.page-hero .hero-subtitle { color: var(--site-muted); max-width: 60ch; margin-bottom: 24px; }
.page-hero .hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.page-hero .court-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(229,163,0,0.12);
  border: 1px solid rgba(229,163,0,0.3);
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 0.82rem;
  font-weight: 600;
  color: #a37100;
  margin-bottom: 16px;
}

/* ── Service list ── */
.service-list { display: grid; gap: 16px; }
.service-item {
  display: flex;
  gap: 20px;
  padding: 20px 24px;
  border: var(--site-divider);
  border-left: 4px solid var(--site-accent);
  border-radius: calc(var(--site-radius) - 6px);
  background: #fff;
  box-shadow: 0 4px 16px rgba(17,24,39,0.05);
  transition: box-shadow 220ms ease, transform 220ms ease;
}
.service-item:hover {
  box-shadow: 0 12px 28px rgba(31,94,168,0.1);
  transform: translateY(-2px);
}
.service-item-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(31,94,168,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
}
.service-item-body h3 { font-size: 1.05rem; margin-bottom: 6px; }
.service-item-body p { margin: 0; color: var(--site-muted); font-size: 0.93rem; line-height: 1.6; }

/* ── Law cards (dark bg) ── */
.law-cards-section {
  background: linear-gradient(135deg, #0f1b2e 0%, #1a3158 100%);
  border-radius: var(--site-radius);
  padding: clamp(28px, 4vw, 44px);
  border: none;
}
.law-cards-section h2 { color: #fff; }
.law-cards-section .section-heading-subtitle { color: rgba(255,255,255,0.65); }
.law-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 24px;
}
.law-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: calc(var(--site-radius) - 8px);
  padding: 20px;
  backdrop-filter: blur(4px);
  transition: background 220ms ease;
}
.law-card:hover { background: rgba(255,255,255,0.1); }
.law-card h4 {
  color: #e5a300;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  margin-bottom: 8px;
  font-family: var(--site-body-font);
}
.law-card p { color: rgba(255,255,255,0.7); margin: 0; font-size: 0.9rem; line-height: 1.6; }

/* ── Rights cards ── */
.rights-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.rights-card {
  border: var(--site-divider);
  border-radius: calc(var(--site-radius) - 8px);
  padding: 20px;
  background: #fff;
  box-shadow: 0 4px 16px rgba(17,24,39,0.05);
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.rights-card-icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(31,94,168,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}
.rights-card h3 { font-size: 1rem; margin-bottom: 6px; }
.rights-card p { margin: 0; color: var(--site-muted); font-size: 0.9rem; }

/* ── Why choose us ── */
.why-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.why-card {
  border: var(--site-divider);
  border-radius: calc(var(--site-radius) - 8px);
  padding: 22px;
  background: #fff;
  box-shadow: 0 4px 16px rgba(17,24,39,0.05);
  transition: box-shadow 220ms ease;
}
.why-card:hover { box-shadow: 0 12px 28px rgba(31,94,168,0.1); }
.why-card h3 { font-size: 1rem; margin-bottom: 8px; }
.why-card p { margin: 0; color: var(--site-muted); font-size: 0.9rem; line-height: 1.6; }

/* ── Borough link cards ── */
.borough-link-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}
.borough-link-card {
  border: var(--site-divider);
  border-radius: calc(var(--site-radius) - 8px);
  padding: 20px;
  background: #fff;
  text-align: center;
  text-decoration: none;
  color: var(--site-text);
  border-top: 3px solid var(--site-accent);
  box-shadow: 0 4px 16px rgba(17,24,39,0.05);
  transition: box-shadow 220ms ease, transform 220ms ease;
  display: block;
}
.borough-link-card:hover {
  box-shadow: 0 12px 28px rgba(31,94,168,0.12);
  transform: translateY(-2px);
  text-decoration: none;
  color: var(--site-primary);
}
.borough-link-card h3 { font-size: 1rem; margin-bottom: 4px; }
.borough-link-card p { font-size: 0.82rem; color: var(--site-muted); margin: 0; }

/* ── Tabs (resource pages) ── */
.tab-nav {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 24px;
  border-bottom: var(--site-divider);
  padding-bottom: 0;
}
.tab-btn {
  padding: 10px 20px;
  border: none;
  background: transparent;
  font: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--site-muted);
  cursor: pointer;
  border-bottom: 3px solid transparent;
  margin-bottom: -1px;
  transition: color 180ms ease, border-color 180ms ease;
  border-radius: 4px 4px 0 0;
}
.tab-btn:hover { color: var(--site-primary); }
.tab-btn.is-active { color: var(--site-primary); border-bottom-color: var(--site-primary); }
.tab-panel { display: none; }
.tab-panel.is-active { display: block; }

/* Resource rows */
.resource-group { margin-bottom: 28px; }
.resource-group h4 {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--site-muted);
  margin-bottom: 10px;
  font-family: var(--site-body-font);
}
.resource-row {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 12px;
  padding: 14px 16px;
  border: var(--site-divider);
  border-radius: 8px;
  background: #fff;
  margin-bottom: 8px;
  align-items: center;
  font-size: 0.9rem;
}
.resource-row strong { font-weight: 600; }
.resource-row a { color: var(--site-primary); }
.resource-row a:hover { text-decoration: underline; }
.resource-row span { color: var(--site-muted); font-size: 0.85rem; }

/* Checklist */
.checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.checklist li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 12px 16px;
  border: var(--site-divider);
  border-radius: 8px;
  background: #fff;
  font-size: 0.93rem;
}
.checklist li::before {
  content: '✓';
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  background: rgba(31,94,168,0.1);
  color: var(--site-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  margin-top: 1px;
}

/* ── About page bio ── */
.bio-split {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 40px;
  align-items: start;
}
.bio-photo {
  border-radius: var(--site-radius);
  overflow: hidden;
  border: var(--site-divider);
  background: linear-gradient(145deg, #eef3fb 0%, #dde8f5 100%);
  min-height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--site-muted);
  font-size: 0.85rem;
}
.bio-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.bio-copy h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: 14px; }
.bio-copy p { color: var(--site-muted); line-height: 1.75; margin-bottom: 1em; }

/* Service split (about page) */
.service-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.service-split-col {
  border: var(--site-divider);
  border-radius: calc(var(--site-radius) - 6px);
  padding: 24px;
  background: #fff;
}
.service-split-col h3 {
  font-size: 1.05rem;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: var(--site-divider);
}
.service-split-col ul { list-style: none; padding: 0; margin: 0; }
.service-split-col li {
  padding: 8px 0;
  font-size: 0.9rem;
  color: var(--site-muted);
  border-bottom: var(--site-divider);
  display: flex;
  gap: 8px;
  align-items: center;
}
.service-split-col li:last-child { border-bottom: none; }
.service-split-col li::before { content: '→'; color: var(--site-primary); font-weight: 700; flex-shrink: 0; }

/* ── Contact page ── */
.contact-split {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 40px;
  align-items: start;
}
.contact-info h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: 8px; }
.contact-info .contact-lead { color: var(--site-muted); margin-bottom: 28px; line-height: 1.7; }
.contact-detail {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 20px;
}
.contact-detail-icon {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: rgba(31,94,168,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}
.contact-detail-body label {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--site-muted);
  margin-bottom: 3px;
}
.contact-detail-body a {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--site-text);
}
.contact-detail-body a:hover { color: var(--site-primary); }
.contact-boroughs { margin-top: 28px; }
.contact-boroughs h4 {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--site-muted);
  margin-bottom: 10px;
  font-family: var(--site-body-font);
}
.contact-borough-tags { display: flex; gap: 8px; flex-wrap: wrap; }
.contact-borough-tag {
  padding: 6px 14px;
  border: var(--site-divider);
  border-radius: 999px;
  font-size: 0.85rem;
  color: var(--site-text);
  text-decoration: none;
  transition: background 180ms ease, border-color 180ms ease;
}
.contact-borough-tag:hover {
  background: rgba(31,94,168,0.06);
  border-color: var(--site-primary);
  color: var(--site-primary);
  text-decoration: none;
}

/* ── Hub pages (Services, Resources, Service Areas parent pages) ── */
.hub-intro { max-width: 64ch; color: var(--site-muted); line-height: 1.7; }
.hub-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.hub-cards.cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.hub-card {
  display: block;
  text-decoration: none;
  border: var(--site-divider);
  border-radius: var(--site-radius);
  padding: 28px;
  background: #fff;
  box-shadow: 0 4px 16px rgba(17,24,39,0.06);
  color: var(--site-text);
  transition: box-shadow 220ms ease, transform 220ms ease;
  border-top: 4px solid var(--site-primary);
}
.hub-card:hover {
  box-shadow: 0 16px 36px rgba(31,94,168,0.14);
  transform: translateY(-3px);
  text-decoration: none;
  color: var(--site-text);
}
.hub-card h3 { font-size: 1.15rem; margin-bottom: 8px; }
.hub-card p { color: var(--site-muted); font-size: 0.9rem; margin: 0 0 16px; line-height: 1.6; }
.hub-card .hub-card-link {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--site-primary);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

/* ── Legal pages (privacy / terms) ── */
.legal-content {
  max-width: 72ch;
  margin: 0 auto;
  line-height: 1.8;
  color: var(--site-text);
}
.legal-content h2 { font-size: 1.3rem; margin-top: 2.5em; margin-bottom: .6em; }
.legal-content h3 { font-size: 1.1rem; margin-top: 1.8em; margin-bottom: .5em; }
.legal-content p { margin-bottom: 1.2em; color: var(--site-muted); }
.legal-content ul { padding-left: 1.4em; margin-bottom: 1.2em; color: var(--site-muted); }
.legal-content li { margin-bottom: .5em; }
.legal-updated {
  display: inline-block;
  font-size: 0.82rem;
  color: var(--site-muted);
  border: var(--site-divider);
  border-radius: 999px;
  padding: 4px 12px;
  margin-bottom: 28px;
}

/* ── Disputes list (borough pages) ── */
.disputes-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.disputes-list li {
  display: flex;
  gap: 12px;
  padding: 14px 18px;
  border: var(--site-divider);
  border-radius: 8px;
  background: #fff;
  align-items: center;
  font-size: 0.93rem;
}
.disputes-list li::before {
  content: '';
  flex-shrink: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--site-accent);
}

/* ── Legal updates callout ── */
.updates-callout {
  background: rgba(229,163,0,0.06);
  border: 1px solid rgba(229,163,0,0.25);
  border-radius: calc(var(--site-radius) - 6px);
  padding: 22px 24px;
}
.updates-callout h3 { font-size: 1rem; margin-bottom: 10px; }
.updates-callout ul { list-style: none; padding: 0; margin: 0; }
.updates-callout li {
  padding: 6px 0;
  font-size: 0.9rem;
  color: var(--site-muted);
  border-bottom: 1px solid rgba(229,163,0,0.15);
  padding-left: 14px;
  position: relative;
}
.updates-callout li::before {
  content: '›';
  position: absolute;
  left: 0;
  color: var(--site-accent);
  font-weight: 700;
}
.updates-callout li:last-child { border-bottom: none; }

/* ── Social links (footer) ── */
.site-footer-social { display: flex; gap: 10px; margin-top: 16px; }
.site-footer-social a {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.65);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 700;
  transition: background 180ms ease, color 180ms ease;
}
.site-footer-social a:hover {
  background: rgba(255,255,255,0.15);
  color: #fff;
  text-decoration: none;
}

/* ── Mobile hamburger ── */
.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 6px;
  padding: 8px 10px;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
}
.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform 220ms ease, opacity 220ms ease;
}
.nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── HubSpot form wrapper ── */
.hs-form-wrap { min-height: 200px; }

/* ══ Responsive additions ══ */
@media (max-width: 980px) {
  .bio-split { grid-template-columns: 1fr; }
  .contact-split { grid-template-columns: 1fr; }
  .law-cards { grid-template-columns: 1fr; }
  .rights-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr 1fr; }
  .borough-link-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .hub-cards.cols-4 { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .resource-row { grid-template-columns: 1fr; gap: 4px; }
}
@media (max-width: 760px) {
  .nav-toggle { display: flex; }
  .site-nav { position: relative; }
  .site-nav > ul {
    display: none;
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    min-width: 240px;
    background: #0f1b2e;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 12px;
    padding: 10px 0;
    flex-direction: column;
    gap: 0;
    box-shadow: 0 16px 36px rgba(0,0,0,0.3);
    z-index: 100;
  }
  .site-nav > ul.is-open { display: flex; }
  .site-nav > ul > li > a { display: block; padding: 10px 20px; }
  .site-nav ul ul { position: static; box-shadow: none; border: none; background: rgba(255,255,255,0.04); border-radius: 0; }
  .service-split { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .borough-link-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .hub-cards { grid-template-columns: 1fr; }
  .hub-cards.cols-4 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .borough-link-grid { grid-template-columns: 1fr 1fr; }
  .hub-cards.cols-4 { grid-template-columns: 1fr; }
  .articles-grid { grid-template-columns: 1fr; }
  .topic-grid { grid-template-columns: 1fr; }
}

/* ── Articles Page ── */
.articles-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  margin-top: 4px;
}
.article-card {
  background: var(--site-surface);
  border-radius: var(--site-radius);
  box-shadow: 0 2px 12px rgba(15,27,46,0.07);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.2s, transform 0.2s;
}
.article-card:hover {
  box-shadow: 0 8px 32px rgba(15,27,46,0.13);
  transform: translateY(-3px);
}
.article-card-thumb {
  display: block;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--site-bg);
}
.article-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s;
}
.article-card:hover .article-card-thumb img { transform: scale(1.04); }
.article-card-thumb--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #e8f0fb 0%, #d6e6f7 100%);
}
.article-card-thumb--placeholder span {
  font-size: 0.78rem;
  color: var(--site-muted);
  font-style: italic;
}
.article-card-body {
  padding: 22px 24px 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.article-card-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.78rem;
  color: var(--site-muted);
  margin-bottom: 10px;
}
.article-card-cat {
  background: rgba(31,94,168,0.08);
  color: var(--site-primary);
  padding: 2px 8px;
  border-radius: 20px;
  font-weight: 600;
  text-decoration: none;
  font-size: 0.75rem;
  letter-spacing: 0.02em;
}
.article-card-title {
  font-family: var(--site-heading-font);
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.35;
  margin: 0 0 10px;
}
.article-card-title a {
  color: var(--site-text);
  text-decoration: none;
}
.article-card-title a:hover { color: var(--site-primary); }
.article-card-excerpt {
  font-size: 0.88rem;
  color: var(--site-muted);
  line-height: 1.65;
  margin: 0 0 16px;
  flex: 1;
}
.article-card-link {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--site-primary);
  text-decoration: none;
  letter-spacing: 0.01em;
}
.article-card-link:hover { text-decoration: underline; }
.articles-pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 48px;
  flex-wrap: wrap;
}
.articles-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  border: 1.5px solid rgba(31,94,168,0.2);
  color: var(--site-primary);
  background: var(--site-surface);
  transition: background 0.15s, color 0.15s;
}
.articles-pagination .page-numbers.current,
.articles-pagination .page-numbers:hover {
  background: var(--site-primary);
  color: #fff;
  border-color: var(--site-primary);
}
.articles-empty {
  text-align: center;
  max-width: 560px;
  margin: 0 auto;
  padding: 60px 20px;
}
.articles-empty h2 {
  font-family: var(--site-heading-font);
  font-size: 1.9rem;
  margin: 0 0 16px;
}
.articles-empty p {
  color: var(--site-muted);
  line-height: 1.7;
  margin-bottom: 0;
}
/* Topics grid */
.topic-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 20px;
}
.topic-card {
  display: block;
  background: var(--site-surface);
  border-radius: var(--site-radius);
  padding: 24px;
  border-top: 3px solid var(--site-accent);
  box-shadow: 0 2px 10px rgba(15,27,46,0.06);
  text-decoration: none;
  transition: box-shadow 0.2s, transform 0.2s;
}
.topic-card:hover {
  box-shadow: 0 8px 28px rgba(15,27,46,0.13);
  transform: translateY(-3px);
}
.topic-card h3 {
  font-family: var(--site-heading-font);
  font-size: 1.05rem;
  margin: 0 0 8px;
  color: var(--site-text);
}
.topic-card p {
  font-size: 0.88rem;
  color: var(--site-muted);
  margin: 0;
  line-height: 1.65;
}

/* ── Legal Pages (Privacy Policy, Terms of Service) ── */
.legal-header {
  margin-bottom: 40px;
  padding-bottom: 28px;
  border-bottom: 1.5px solid rgba(31,94,168,0.1);
}
.legal-header h1 {
  font-family: var(--site-heading-font);
  font-size: clamp(2rem, 4vw, 2.8rem);
  margin: 8px 0 12px;
}
.legal-meta {
  font-size: 0.82rem;
  color: var(--site-muted);
}
.legal-content {
  max-width: 780px;
}
.legal-content h2 {
  font-family: var(--site-heading-font);
  font-size: 1.35rem;
  margin: 40px 0 12px;
  color: var(--site-text);
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(31,94,168,0.08);
}
.legal-content h3 {
  font-size: 1rem;
  font-weight: 700;
  margin: 24px 0 8px;
  color: var(--site-text);
}
.legal-content p {
  font-size: 0.94rem;
  line-height: 1.8;
  color: var(--site-text);
  margin: 0 0 16px;
}
.legal-content ul {
  padding-left: 22px;
  margin: 0 0 20px;
}
.legal-content ul li {
  font-size: 0.94rem;
  line-height: 1.75;
  color: var(--site-text);
  margin-bottom: 6px;
}
.legal-content a {
  color: var(--site-primary);
}
.legal-content strong {
  color: var(--site-text);
}

/* Responsive — articles and topics */
@media (max-width: 900px) {
  .articles-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .topic-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 600px) {
  .articles-grid { grid-template-columns: 1fr; }
  .topic-grid { grid-template-columns: 1fr; }
  .legal-content { max-width: 100%; }
}

/* ════════════════════════════════════════════════════
   NEW DESIGN COMPONENTS
   ════════════════════════════════════════════════════ */

/* ── Inner page hero (reuses .hero-module.hero-dark) ── */
.inner-hero {
  padding: clamp(48px, 7vw, 96px) 0;
}
.inner-hero .hero-copy { width: min(100%, 620px); }
.inner-hero .hero-title {
  font-size: clamp(1.8rem, 4.5vw, 3.2rem);
}
.inner-hero .court-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 40px;
  padding: 6px 14px;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.75);
  margin-bottom: 16px;
}

/* ── Numbered editorial list (replaces "Why Choose Us" cards) ── */
.numbered-list { display: grid; gap: 0; margin-top: 24px; }
.numbered-item {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 28px;
  align-items: start;
  padding: 28px 0;
  border-bottom: var(--site-divider);
}
.numbered-item:last-child { border-bottom: none; }
.numbered-item-num {
  font-size: 2.2rem;
  font-weight: 700;
  font-family: var(--site-heading-font);
  color: var(--site-accent);
  line-height: 1;
  padding-top: 4px;
}
.numbered-item-body h3 { margin: 0 0 8px; font-size: 1.1rem; }
.numbered-item-body p  { margin: 0; color: var(--site-muted); line-height: 1.75; }

/* ── Split rows (alternating text + visual) ── */
.split-rows { display: grid; gap: 48px; margin-top: 28px; }
.split-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}
.split-row.reverse .split-row-visual { order: -1; }
.split-row-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--site-bg);
  border: var(--site-divider);
  border-radius: var(--site-radius);
  padding: 36px 24px;
  min-height: 170px;
  text-align: center;
}
.split-row-visual .split-icon { font-size: 2.8rem; line-height: 1; margin-bottom: 10px; }
.split-row-visual .split-stat-num {
  font-size: 2.6rem;
  font-weight: 700;
  font-family: var(--site-heading-font);
  color: var(--site-primary);
  display: block;
  margin-bottom: 4px;
}
.split-row-visual .split-stat-label { font-size: 0.85rem; color: var(--site-muted); }
.split-row-text h3 { margin: 0 0 10px; font-size: 1.2rem; }
.split-row-text p  { margin: 0; color: var(--site-muted); line-height: 1.75; }

/* ── Borough strip (replaces borough link cards) ── */
.borough-strip {
  display: flex;
  flex-wrap: wrap;
  border: var(--site-divider);
  border-radius: var(--site-radius);
  overflow: hidden;
  margin-top: 24px;
}
.borough-strip-item {
  flex: 1;
  min-width: 140px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 20px 22px;
  text-decoration: none;
  color: var(--site-text);
  border-right: var(--site-divider);
  transition: background 0.15s, color 0.15s;
}
.borough-strip-item:last-child { border-right: none; }
.borough-strip-item:hover { background: #eef3ff; text-decoration: none; }
.borough-strip-item:hover .borough-strip-arrow { transform: translateX(4px); }
.borough-strip-item-text h3 { margin: 0 0 3px; font-size: 1rem; }
.borough-strip-item-text span { font-size: 0.78rem; color: var(--site-muted); }
.borough-strip-arrow {
  font-size: 1.1rem;
  color: var(--site-accent);
  flex-shrink: 0;
  transition: transform 0.15s;
}

/* ── Stat strip (horizontal 3–4 stats in a row) ── */
.stat-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 0;
  border: var(--site-divider);
  border-radius: var(--site-radius);
  overflow: hidden;
  margin-top: 28px;
}
.stat-strip-item {
  padding: 28px 24px;
  border-right: var(--site-divider);
  text-align: center;
}
.stat-strip-item:last-child { border-right: none; }
.stat-strip-num {
  display: block;
  font-size: 2.2rem;
  font-weight: 700;
  font-family: var(--site-heading-font);
  color: var(--site-primary);
  line-height: 1;
  margin-bottom: 6px;
}
.stat-strip-label { font-size: 0.85rem; color: var(--site-muted); }

/* ── Responsive ── */
@media (max-width: 800px) {
  .split-row {
    grid-template-columns: 1fr;
  }
  .split-row.reverse .split-row-visual { order: 0; }
  .inner-hero .hero-split { grid-template-columns: 1fr; }
  .inner-hero .hero-media-wrap { display: none; }
}
@media (max-width: 600px) {
  .borough-strip { flex-direction: column; }
  .borough-strip-item { border-right: none; border-bottom: var(--site-divider); }
  .borough-strip-item:last-child { border-bottom: none; }
  .numbered-item { grid-template-columns: 44px 1fr; gap: 16px; }
  .stat-strip { grid-template-columns: 1fr 1fr; }
  .stat-strip-item:nth-child(2n) { border-right: none; }
  .stat-strip-item { border-bottom: var(--site-divider); }
  .stat-strip-item:nth-last-child(-n+2) { border-bottom: none; }
}

/* ── Breadcrumbs ── */
.em-breadcrumbs {
  background: rgba(13, 17, 26, 0.96);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  padding: 9px 0;
}
.em-breadcrumbs .rank-math-breadcrumb,
.em-breadcrumbs .rank-math-breadcrumb p {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.45);
  margin: 0;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 2px;
}
.em-breadcrumbs .rank-math-breadcrumb a {
  color: rgba(255, 255, 255, 0.45);
  text-decoration: none;
  transition: color 160ms ease;
}
.em-breadcrumbs .rank-math-breadcrumb a:hover {
  color: var(--site-accent);
}
.em-breadcrumbs .rank-math-breadcrumb .separator {
  margin: 0 4px;
  opacity: 0.4;
}
.em-breadcrumbs .rank-math-breadcrumb .last {
  color: rgba(255, 255, 255, 0.7);
}
