/* ============================================================
   EHRLICH LAW, LLC — design system
   Palette: brand navy (from logo) · warm ivory · muted brass
   Type: Bodoni Moda (display) · Source Serif 4 (body) · Archivo (utility)
   Signature: dual-path "Resolve / Retain" system + docket rules
   ============================================================ */

:root {
  --navy-950: #0A1420;
  --navy-900: #0F1F2E;
  --navy-800: #16293C;
  --navy-700: #223A52;
  --paper: #FBF9F3;
  --ivory: #F5F1E8;
  --bone: #EAE4D6;
  --line: #D9D2C0;
  --line-dark: rgba(245, 241, 232, 0.16);
  --brass: #A8874F;
  --brass-deep: #83653A;
  --brass-bright: #C9A96A;
  --ink: #101C28;
  --ink-soft: #45566B;
  --ivory-soft: rgba(245, 241, 232, 0.78);

  --font-display: "Bodoni Moda", "Didot", "Playfair Display", serif;
  --font-body: "Source Serif 4", Georgia, serif;
  --font-utility: "Archivo", "Helvetica Neue", Arial, sans-serif;

  --fs-hero: clamp(2.7rem, 6.2vw, 4.9rem);
  --fs-h2: clamp(1.9rem, 3.8vw, 2.85rem);
  --fs-h3: clamp(1.3rem, 2vw, 1.6rem);
  --fs-body: 1.0625rem;
  --fs-small: 0.9rem;
  --fs-eyebrow: 0.76rem;

  --space-section: clamp(4.5rem, 9vw, 8rem);
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --measure: 62ch;

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}
img, svg { display: block; max-width: 100%; }
button { font: inherit; background: none; border: none; cursor: pointer; }
a { color: inherit; }

body {
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.72;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

::selection { background: var(--navy-900); color: var(--ivory); }

/* ---------- focus ---------- */
:focus-visible {
  outline: 2px solid var(--brass);
  outline-offset: 3px;
}
.on-dark :focus-visible, .site-footer :focus-visible { outline-color: var(--brass-bright); }

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--navy-900); color: var(--ivory);
  padding: 0.75rem 1.25rem; z-index: 200;
  font-family: var(--font-utility); font-size: var(--fs-small);
}
.skip-link:focus { left: 0; }

/* ---------- typography ---------- */
h1, h2, h3 { font-family: var(--font-display); font-weight: 500; line-height: 1.12; letter-spacing: 0.005em; text-wrap: balance; }
h1 { font-size: var(--fs-hero); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); line-height: 1.3; }

.eyebrow {
  font-family: var(--font-utility);
  font-size: var(--fs-eyebrow);
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--brass-deep);
  display: block;
  margin-bottom: 1.1rem;
}
.on-dark .eyebrow { color: var(--brass-bright); }

.lede { font-size: clamp(1.13rem, 1.7vw, 1.3rem); line-height: 1.65; color: var(--ink-soft); max-width: var(--measure); }
.on-dark .lede { color: var(--ivory-soft); }

.prose { max-width: var(--measure); }
.prose p + p { margin-top: 1.15em; }
.prose a { color: var(--brass-deep); text-decoration-color: rgba(131, 101, 58, 0.4); text-underline-offset: 3px; transition: text-decoration-color 200ms var(--ease); }
.prose a:hover { text-decoration-color: var(--brass-deep); }

/* ---------- docket rule (signature divider) ---------- */
.rule {
  border: 0; height: 5px; position: relative; background: none; margin: 0;
}
.rule::before, .rule::after {
  content: ""; position: absolute; left: 0; right: 0; height: 1px; background: var(--line);
  transform-origin: left center;
}
.rule::before { top: 0; }
.rule::after { top: 4px; }
.on-dark .rule::before, .on-dark .rule::after { background: var(--line-dark); }
.reveal-rules .rule::before, .reveal-rules .rule::after { transform: scaleX(0); transition: transform 900ms var(--ease); }
.reveal-rules.is-visible .rule::before { transform: scaleX(1); }
.reveal-rules.is-visible .rule::after { transform: scaleX(1); transition-delay: 120ms; }

/* ---------- layout ---------- */
.container { max-width: 76rem; margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: 62rem; }
.section { padding-block: var(--space-section); }
.section--dark { background: var(--navy-950); color: var(--ivory); }
.section--tint { background: var(--ivory); }

.section-head { margin-bottom: clamp(2.25rem, 5vw, 3.75rem); }
.section-head .rule { margin-top: 1.75rem; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(251, 249, 243, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 250ms var(--ease);
}
.site-header.is-scrolled { box-shadow: 0 1px 24px rgba(16, 28, 40, 0.09); }
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.5rem; padding-block: 0.85rem;
}
.brand { display: flex; align-items: center; gap: 0.8rem; text-decoration: none; color: var(--navy-900); }
.brand-mark { width: 2.7rem; height: auto; color: var(--navy-900); flex-shrink: 0; }
.brand-name {
  font-family: var(--font-display); font-weight: 500; font-size: 1.12rem;
  letter-spacing: 0.14em; white-space: nowrap;
}
.brand-name span { color: var(--brass-deep); }
/* on navy, the deep brass fails contrast (3.1:1); the bright brass passes (7.5:1) */
.footer-brand .brand-name span, .mobile-nav-head .brand-name span { color: var(--brass-bright); }

.site-nav { display: flex; align-items: center; gap: 1.9rem; }
.site-nav a {
  font-family: var(--font-utility); font-size: 0.82rem; font-weight: 500;
  letter-spacing: 0.08em; text-transform: uppercase; text-decoration: none;
  color: var(--ink-soft); padding-block: 0.4rem; position: relative;
  transition: color 200ms var(--ease);
}
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--navy-900); }
.site-nav a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: 0;
  height: 1px; background: var(--brass); transition: right 250ms var(--ease);
}
.site-nav a:hover::after, .site-nav a[aria-current="page"]::after { right: 0; }

/* the .site-nav a rule outranks .btn--primary — restate button colors explicitly */
.site-nav a.nav-cta { margin-left: 0.4rem; color: var(--ivory); padding: 1.02rem 1.9rem; }
.site-nav a.nav-cta:hover { color: var(--ivory); background: var(--navy-700); }
.site-nav a.nav-cta::after { display: none; }

/* dropdown */
.nav-group { position: relative; }
.nav-group > button {
  font-family: var(--font-utility); font-size: 0.82rem; font-weight: 500;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-soft);
  display: inline-flex; align-items: center; gap: 0.4rem; padding-block: 0.4rem;
  transition: color 200ms var(--ease);
}
.nav-group > button:hover, .nav-group.is-open > button { color: var(--navy-900); }
.nav-group svg { width: 0.6rem; height: 0.6rem; transition: transform 200ms var(--ease); }
.nav-group.is-open svg { transform: rotate(180deg); }
.nav-menu {
  position: absolute; top: calc(100% + 0.9rem); left: 50%; transform: translateX(-50%);
  background: var(--paper); border: 1px solid var(--line);
  min-width: 15.5rem; padding: 0.6rem 0;
  box-shadow: 0 18px 44px rgba(16, 28, 40, 0.13);
  opacity: 0; visibility: hidden; translate: 0 6px;
  transition: opacity 200ms var(--ease), translate 200ms var(--ease), visibility 200ms;
}
.nav-group.is-open .nav-menu { opacity: 1; visibility: visible; translate: 0 0; }
.nav-menu a {
  display: block; padding: 0.55rem 1.4rem; text-transform: none; letter-spacing: 0.02em;
  font-size: 0.92rem; font-family: var(--font-body); color: var(--ink);
}
.nav-menu a::after { display: none; }
.nav-menu a:hover { background: var(--ivory); color: var(--navy-900); }

/* mobile nav */
.nav-toggle { display: none; }
@media (max-width: 66em) {
  .site-nav { display: none; }
  .nav-toggle {
    display: grid; place-items: center; width: 2.75rem; height: 2.75rem;
    color: var(--navy-900);
  }
  .nav-toggle svg { width: 1.5rem; height: 1.5rem; }
}
.mobile-nav {
  position: fixed; inset: 0; z-index: 150; background: var(--navy-950); color: var(--ivory);
  display: flex; flex-direction: column; padding: 1.25rem var(--gutter) 3rem;
  opacity: 0; visibility: hidden; transition: opacity 300ms var(--ease), visibility 300ms;
  overflow-y: auto;
}
.mobile-nav.is-open { opacity: 1; visibility: visible; }
.mobile-nav-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 2.5rem; }
.mobile-nav-head .brand { color: var(--ivory); }
.mobile-nav-head .brand-mark { color: var(--ivory); }
.mobile-nav-close { color: var(--ivory); width: 2.75rem; height: 2.75rem; display: grid; place-items: center; }
.mobile-nav-close svg { width: 1.4rem; height: 1.4rem; }
.mobile-nav nav { display: flex; flex-direction: column; gap: 0.1rem; }
.mobile-nav nav > a, .mobile-nav-sub summary {
  font-family: var(--font-display); font-size: 1.7rem; text-decoration: none;
  padding: 0.65rem 0; border-bottom: 1px solid var(--line-dark);
  opacity: 0; translate: 0 14px;
}
.mobile-nav.is-open nav > a, .mobile-nav.is-open .mobile-nav-sub summary {
  opacity: 1; translate: 0 0;
  transition: opacity 450ms var(--ease), translate 450ms var(--ease);
}
.mobile-nav-sub summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; }
.mobile-nav-sub summary::-webkit-details-marker { display: none; }
.mobile-nav-sub summary svg { width: 0.85rem; height: 0.85rem; transition: transform 250ms var(--ease); }
.mobile-nav-sub[open] summary svg { transform: rotate(180deg); }
.mobile-nav-sub div { display: flex; flex-direction: column; padding: 0.5rem 0 0.75rem 1rem; }
.mobile-nav-sub div a {
  font-family: var(--font-body); font-size: 1.05rem; text-decoration: none;
  padding: 0.45rem 0; color: var(--ivory-soft);
}
.mobile-nav .mobile-nav-cta { margin-top: 2rem; opacity: 0; }
.mobile-nav.is-open .mobile-nav-cta { opacity: 1; transition: opacity 500ms var(--ease) 250ms; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem;
  font-family: var(--font-utility); font-size: 0.82rem; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase; text-decoration: none;
  padding: 1.02rem 1.9rem; border: 1px solid transparent;
  transition: background-color 220ms var(--ease), color 220ms var(--ease), border-color 220ms var(--ease);
  cursor: pointer; text-align: center;
}
.btn svg { width: 0.95rem; height: 0.95rem; flex-shrink: 0; }
.btn--primary { background: var(--navy-900); color: var(--ivory); }
.btn--primary:hover { background: var(--navy-700); }
.btn--outline { border-color: var(--navy-900); color: var(--navy-900); }
.btn--outline:hover { background: var(--navy-900); color: var(--ivory); }
.btn--brass { background: var(--brass-deep); color: var(--ivory); }
.btn--brass:hover { background: #6E5430; color: var(--ivory); }
.on-dark .btn--outline { border-color: var(--ivory); color: var(--ivory); }
.on-dark .btn--outline:hover { background: var(--ivory); color: var(--navy-950); }

/* ---------- hero (dual path) ---------- */
.hero { position: relative; overflow: hidden; }
.hero .container { position: relative; z-index: 2; }
/* light-ground ghost monogram fills the hero's right side */
.hero > .page-hero-mark {
  color: var(--bone); opacity: 0.55;
  right: -3%; top: 42%; bottom: auto; translate: 0 -50%;
  width: clamp(18rem, 30vw, 30rem);
}
@media (max-width: 56em) { .hero > .page-hero-mark { display: none; } }
.hero-intro { padding-block: clamp(2rem, 3.5vw, 3rem) clamp(2rem, 3.5vw, 3rem); }
.hero-intro h1 { max-width: 21ch; }
.hero-intro h1 em { font-style: italic; color: var(--brass-deep); }
.hero-intro .lede { margin-top: 1.6rem; }

/* shared hero split (used on interior heroes with photography) */
.hero-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.hero-figure { position: relative; margin: 0; max-width: 24rem; justify-self: end; }
.hero-figure img {
  width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover;
  border: 1px solid var(--line-dark); display: block;
}
.hero-figure::after {
  content: ""; position: absolute; inset: 0.9rem -0.9rem -0.9rem 0.9rem;
  border: 1px solid var(--brass); z-index: 0; pointer-events: none;
}
.hero-figure--light img { border-color: var(--line); }
.hero-figure img { position: relative; z-index: 1; }
@media (max-width: 56em) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-figure { margin-top: 1.5rem; max-width: 17rem; justify-self: start; }
}

.dual-path { display: grid; grid-template-columns: 1fr 1fr; position: relative; }
.path {
  padding: clamp(2.25rem, 4.5vw, 3.75rem);
  display: flex; flex-direction: column; align-items: flex-start; gap: 1.1rem;
  text-decoration: none; position: relative; overflow: hidden;
  transition: background-color 350ms var(--ease);
  min-height: 21rem;
}
.path .eyebrow { margin-bottom: 0; }
.path h2 { font-size: clamp(1.7rem, 2.8vw, 2.4rem); max-width: 14ch; }
.path p { max-width: 34ch; }
.path-go {
  margin-top: auto; display: inline-flex; align-items: center; gap: 0.65rem;
  font-family: var(--font-utility); font-size: 0.8rem; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase;
}
.path-go svg { width: 1.05rem; height: 1.05rem; transition: translate 250ms var(--ease); }
.path:hover .path-go svg { translate: 5px 0; }
.path--dark { background: var(--navy-950); color: var(--ivory); }
.path--dark:hover { background: var(--navy-900); }
.path--dark .path-go { color: var(--brass-bright); }
.path--light { background: var(--ivory); color: var(--ink); border: 1px solid var(--line); border-left: 0; }
.path--light:hover { background: var(--bone); }
.path--light .path-go { color: var(--brass-deep); }
.path--light p { color: var(--ink-soft); }
.path--dark p { color: var(--ivory-soft); }

.dual-divider {
  position: absolute; left: 50%; top: 50%; translate: -50% -50%; z-index: 5;
  width: clamp(4rem, 7vw, 5.5rem); height: clamp(4rem, 7vw, 5.5rem);
  background: var(--paper); border: 1px solid var(--line); border-radius: 50%;
  display: grid; place-items: center; pointer-events: none;
}
.dual-divider svg { width: 55%; color: var(--navy-900); }

.path--counsel { background: var(--navy-800); color: var(--ivory); }
.path--counsel:hover { background: var(--navy-700); }
.path--counsel p { color: var(--ivory-soft); }
.path--counsel .path-go { color: var(--brass-bright); }

.dual-path--triple { grid-template-columns: 1fr 1fr 1fr; }
.dual-path--triple .path h2 { font-size: clamp(1.45rem, 2.1vw, 1.9rem); }
.dual-path--triple .path { min-height: 19rem; padding: clamp(1.9rem, 3vw, 2.75rem); }

@media (max-width: 62em) {
  .dual-path--triple { grid-template-columns: 1fr; }
  .dual-path--triple .path--light { border-left: 1px solid var(--line); border-top: 0; }
}
@media (max-width: 50em) {
  .dual-path { grid-template-columns: 1fr; }
  .path--light { border-left: 1px solid var(--line); border-top: 0; }
  .path { min-height: 0; padding-block: 2.5rem; }
  .dual-divider { display: none; }
}

.h2--compact { font-size: clamp(1.75rem, 2.9vw, 2.45rem); }
.dual-path--triple .path h2 { max-width: 16ch; }

/* ---------- credential ledger ---------- */
.ledger { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.ledger-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
}
.ledger-item {
  padding: 1.9rem 1.6rem;
  border-left: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 0.35rem;
}
.ledger-item:first-child { border-left: 0; }
.ledger-num {
  font-family: var(--font-display); font-size: clamp(1.35rem, 1.9vw, 1.7rem);
  font-weight: 500; color: var(--navy-900); line-height: 1;
}
.ledger-label {
  font-family: var(--font-utility); font-size: 0.78rem; font-weight: 500;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-soft);
  line-height: 1.45;
}
@media (max-width: 50em) {
  .ledger-grid { grid-template-columns: 1fr; }
  .ledger-item { padding: 1.4rem 0.25rem; border-left: 0; }
  .ledger-item + .ledger-item { border-top: 1px solid var(--line); }
}

/* ---------- practice grid ---------- */
.practice-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px;
  background: var(--line); border: 1px solid var(--line);
}
.practice-card {
  background: var(--paper); padding: 2.1rem 1.9rem 1.9rem;
  text-decoration: none; color: var(--ink); display: flex; flex-direction: column; gap: 0.8rem;
  transition: background-color 250ms var(--ease); position: relative;
}
.practice-card:hover { background: var(--ivory); }
.practice-card h3 { transition: color 250ms var(--ease); }
.practice-card:hover h3 { color: var(--brass-deep); }
.practice-card p { font-size: 0.98rem; color: var(--ink-soft); line-height: 1.6; }
.practice-index {
  font-family: var(--font-utility); font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.18em; color: var(--brass-deep);
}
.practice-card .path-go { color: var(--navy-900); font-size: 0.74rem; margin-top: auto; padding-top: 0.9rem; }
@media (max-width: 62em) { .practice-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 40em) { .practice-grid { grid-template-columns: 1fr; } }

/* ---------- attorney cards ---------- */
.attorneys { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 3vw, 2.5rem); }
.attorney-card {
  border: 1px solid var(--line); background: var(--paper);
  padding: clamp(1.9rem, 3.5vw, 2.75rem);
  display: flex; flex-direction: column; gap: 1rem;
}
.attorney-head { display: flex; align-items: center; gap: 1.4rem; }
.attorney-portrait {
  width: 7rem; height: 7rem; border-radius: 50%; overflow: hidden; flex-shrink: 0;
  border: 1px solid var(--line); background: var(--navy-900);
}
@media (max-width: 36em) { .attorney-portrait { width: 5.5rem; height: 5.5rem; } }
.attorney-portrait picture, .attorney-photo picture { display: contents; }
.attorney-portrait img { width: 100%; height: 100%; object-fit: cover; }

/* full attorney portrait (About page) — real photography, 4:5 */
.attorney-photo { position: relative; margin: 0 0 1.6rem; max-width: 15rem; }
.attorney-photo img {
  width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover;
  border: 1px solid var(--line); display: block; position: relative; z-index: 1;
}
.attorney-photo::after {
  content: ""; position: absolute; inset: 0.7rem -0.7rem -0.7rem 0.7rem;
  border: 1px solid var(--brass); z-index: 0;
}
.attorney-portrait--initials {
  display: grid; place-items: center; color: var(--ivory);
  font-family: var(--font-display); font-size: 1.6rem; letter-spacing: 0.05em;
}
.attorney-role {
  font-family: var(--font-utility); font-size: 0.78rem; font-weight: 500;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--brass-deep);
  margin-top: 0.3rem; display: block;
}
.attorney-card p { color: var(--ink-soft); font-size: 0.99rem; }
.attorney-card .path-go { color: var(--navy-900); margin-top: 0.4rem; }
@media (max-width: 50em) { .attorneys { grid-template-columns: 1fr; } }

/* ---------- in-progress placeholder note ---------- */
.prose-placeholder {
  margin-top: 1.5rem; padding: 1.3rem 1.5rem;
  border: 1px dashed var(--brass); background: var(--ivory);
}
.prose-placeholder p { color: var(--ink-soft); font-size: 0.97rem; }

/* ---------- case citation list (attorney sidebars) ---------- */
.cite-list { list-style: none; margin-top: 0.3rem; display: flex; flex-direction: column; gap: 0.45rem; }
.info-list .cite-list li, .cite-list li { display: block; padding: 0; border: 0; font-size: 0.86rem; line-height: 1.5; color: var(--ink-soft); }
.cite-list em { color: var(--ink); }

/* ---------- pull quote ---------- */
.pullquote { text-align: center; max-width: 46rem; margin-inline: auto; }
.pullquote blockquote {
  font-family: var(--font-display); font-style: italic; font-weight: 400;
  font-size: clamp(1.45rem, 2.8vw, 2.1rem); line-height: 1.42; color: var(--ivory);
}
.pullquote figcaption {
  margin-top: 1.6rem; font-family: var(--font-utility); font-size: 0.8rem;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--brass-bright);
}
.pullquote--light blockquote { color: var(--navy-900); }
.pullquote--light figcaption { color: var(--brass-deep); }
.pullquote .quote-mark {
  font-family: var(--font-display); font-size: 3.2rem; line-height: 0.5;
  color: var(--brass); display: block; margin-bottom: 1.4rem;
}

/* ---------- page hero (interior) ---------- */
.page-hero { background: var(--navy-950); color: var(--ivory); position: relative; overflow: hidden; }
.page-hero .container { position: relative; z-index: 2; padding-block: clamp(4rem, 9vw, 7rem); }
.page-hero h1 { max-width: 18ch; }
.page-hero .lede { margin-top: 1.5rem; }
.page-hero-mark {
  position: absolute; right: -2%; top: 50%; translate: 0 -50%;
  width: clamp(14rem, 26vw, 24rem);
  color: var(--navy-800); opacity: 0.55; z-index: 1; pointer-events: none;
}
.breadcrumb {
  font-family: var(--font-utility); font-size: 0.76rem; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--ivory-soft); margin-bottom: 2.2rem;
  display: flex; gap: 0.7rem; align-items: center; flex-wrap: wrap;
}
.breadcrumb a { text-decoration: none; color: var(--brass-bright); }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb span[aria-hidden] { color: var(--line-dark); }

/* ---------- feature rows / lists ---------- */
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2.5rem, 6vw, 5rem); align-items: start; }
.split--even { grid-template-columns: 1fr 1fr; }
@media (max-width: 56em) { .split, .split--even { grid-template-columns: 1fr; } }
.split-sticky { position: sticky; top: 6.5rem; }
@media (max-width: 56em) { .split-sticky { position: static; } }

.matter-list { list-style: none; }
.matter-list li {
  padding: 1.05rem 0 1.05rem 1.9rem; border-bottom: 1px solid var(--line); position: relative;
}
.matter-list li::before {
  content: ""; position: absolute; left: 0; top: 1.78rem; width: 0.85rem; height: 1px;
  background: var(--brass);
}
.matter-list li strong { font-family: var(--font-utility); font-weight: 600; font-size: 0.98rem; letter-spacing: 0.01em; display: block; color: var(--navy-900); }
.matter-list li span { color: var(--ink-soft); font-size: 0.97rem; }
.on-dark .matter-list li { border-color: var(--line-dark); }
.on-dark .matter-list li strong { color: var(--ivory); }
.on-dark .matter-list li span { color: var(--ivory-soft); }

/* ---------- process steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line-dark); border: 1px solid var(--line-dark); counter-reset: step; }
.step { background: var(--navy-950); padding: 2rem 1.8rem; counter-increment: step; }
.step::before {
  content: counter(step, decimal-leading-zero);
  font-family: var(--font-display); font-size: 2rem; color: var(--brass-bright);
  display: block; margin-bottom: 0.9rem;
}
.step h3 { font-size: 1.15rem; margin-bottom: 0.5rem; color: var(--ivory); }
.step p { font-size: 0.95rem; color: var(--ivory-soft); line-height: 1.6; }
@media (max-width: 50em) { .steps { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between;
  align-items: baseline; gap: 1.5rem; padding: 1.35rem 0.25rem;
  font-family: var(--font-utility); font-weight: 600; font-size: 1.02rem; color: var(--navy-900);
  transition: color 200ms var(--ease);
}
.faq summary:hover { color: var(--brass-deep); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; font-family: var(--font-display); font-size: 1.5rem; line-height: 1;
  color: var(--brass-deep); flex-shrink: 0; transition: transform 250ms var(--ease);
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details > div { padding: 0 0.25rem 1.5rem; max-width: var(--measure); color: var(--ink-soft); }

/* ---------- cross-sell band (dual-path echo) ---------- */
.crossband { border: 1px solid var(--line); display: grid; grid-template-columns: 1fr 1fr; }
.crossband > div, .crossband > a { padding: clamp(1.75rem, 3.5vw, 2.6rem); }
.crossband-info h2 { font-size: clamp(1.5rem, 2.4vw, 2rem); max-width: 16ch; }
.crossband-info p { color: var(--ink-soft); margin-top: 0.8rem; max-width: 38ch; }
.crossband-action {
  background: var(--navy-950); color: var(--ivory); text-decoration: none;
  display: flex; flex-direction: column; justify-content: center; gap: 0.9rem;
  transition: background-color 300ms var(--ease);
}
.crossband-action:hover { background: var(--navy-900); }
.crossband-action .eyebrow { color: var(--brass-bright); margin-bottom: 0; }
.crossband-action strong { font-family: var(--font-display); font-weight: 500; font-size: clamp(1.3rem, 2vw, 1.7rem); line-height: 1.25; }
.crossband-action .path-go { color: var(--brass-bright); margin-top: 0.4rem; }
@media (max-width: 50em) { .crossband { grid-template-columns: 1fr; } }

/* ---------- contact / forms ---------- */
.contact-band { background: var(--navy-950); color: var(--ivory); }
.section--dark + .contact-band { border-top: 1px solid var(--line-dark); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem; }
.form-grid .form-field--full { grid-column: 1 / -1; }
@media (max-width: 40em) { .form-grid { grid-template-columns: 1fr; } }
.form-field { display: flex; flex-direction: column; gap: 0.5rem; }
.form-field label {
  font-family: var(--font-utility); font-size: 0.8rem; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--ivory);
}
.form-field input, .form-field textarea, .form-field select {
  font-family: var(--font-body); font-size: 1.05rem; color: var(--ivory);
  background: rgba(245, 241, 232, 0.1); border: 1px solid rgba(245, 241, 232, 0.32);
  padding: 0.9rem 1rem; transition: border-color 200ms var(--ease), background-color 200ms var(--ease);
  border-radius: 0; width: 100%;
}
.form-field input::placeholder, .form-field textarea::placeholder { color: rgba(245, 241, 232, 0.55); }
.form-field input:focus, .form-field textarea:focus, .form-field select:focus {
  outline: none; border-color: var(--brass-bright); background: rgba(245, 241, 232, 0.14);
}
.form-note { font-size: 0.85rem; color: rgba(245, 241, 232, 0.88); max-width: 52ch; }
.form-status { font-family: var(--font-utility); font-size: 0.9rem; padding: 0.9rem 1.1rem; border: 1px solid var(--brass); color: var(--brass-bright); display: none; }
.form-status.is-visible { display: block; }
.form-status.is-error { border-left-width: 3px; }
.form-status a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.form--light .form-status { color: var(--brass-deep); border-color: var(--brass-deep); }
form[aria-busy="true"] button[type="submit"] { opacity: 0.7; cursor: progress; }

/* light-surface form variant */
.form--light .form-field label { color: var(--ink); }
.form--light .form-field input, .form--light .form-field textarea, .form--light .form-field select {
  color: var(--ink); background: var(--paper); border-color: var(--line);
}
.form--light .form-field input:focus, .form--light .form-field textarea:focus { border-color: var(--brass-deep); background: #fff; }

/* ---------- info / NAP card ---------- */
.info-list { list-style: none; display: flex; flex-direction: column; }
.info-list li { padding: 1.1rem 0; border-bottom: 1px solid var(--line-dark); display: flex; flex-direction: column; gap: 0.2rem; }
.info-list .info-label {
  font-family: var(--font-utility); font-size: 0.74rem; font-weight: 600;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--brass-bright);
}
.info-list a { text-decoration: none; }
.info-list a:hover { text-decoration: underline; text-underline-offset: 3px; }
.section--light .info-list li { border-color: var(--line); }
.section--light .info-list .info-label { color: var(--brass-deep); }

/* ---------- footer ---------- */
.site-footer { background: var(--navy-950); color: var(--ivory-soft); position: relative; overflow: hidden; }
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1.4fr; gap: clamp(2rem, 5vw, 4rem);
  padding-block: clamp(3rem, 6vw, 4.5rem) 2.5rem; position: relative; z-index: 2;
}
.footer-brand .brand { color: var(--ivory); margin-bottom: 1.2rem; }
.footer-brand .brand-mark { color: var(--ivory); }
.footer-brand p { font-size: 0.94rem; max-width: 30ch; }
.footer-col h2 {
  font-family: var(--font-utility); font-size: 0.76rem; font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--brass-bright);
  margin-bottom: 1.1rem;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 0.55rem; }
.footer-col a { text-decoration: none; font-size: 0.95rem; transition: color 200ms var(--ease); }
.footer-col a:hover { color: var(--ivory); }
.footer-legal {
  border-top: 1px solid var(--line-dark); padding-block: 1.6rem 2rem;
  font-size: 0.8rem; line-height: 1.65; color: rgba(245, 241, 232, 0.5);
  position: relative; z-index: 2;
}
.footer-legal p + p { margin-top: 0.5rem; }
.footer-watermark {
  position: absolute; right: -2%; top: 50%; translate: 0 -50%; width: clamp(16rem, 26vw, 24rem);
  color: var(--navy-900); opacity: 0.5; z-index: 1; pointer-events: none;
}
@media (max-width: 56em) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 36em) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- live mediation calendar (NADN data, site design) ---------- */
.cal { border: 1px solid var(--line); background: #fff; }
.cal-bar {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1rem clamp(0.75rem, 2vw, 1.25rem); border-bottom: 1px solid var(--line);
  background: var(--navy-900); color: var(--ivory);
}
.cal-title {
  font-family: var(--font-display); font-weight: 400; font-size: clamp(1.35rem, 2.6vw, 1.75rem);
  letter-spacing: 0.01em; text-align: center; flex: 1; color: var(--ivory);
}
.cal.is-loading .cal-title { color: var(--ivory-soft); }
.cal-nav {
  width: 2.75rem; height: 2.75rem; display: grid; place-items: center; flex-shrink: 0;
  border: 1px solid var(--line-dark); color: var(--brass-bright);
  transition: background-color 200ms var(--ease), border-color 200ms var(--ease);
}
.cal-nav svg { width: 1rem; height: 1rem; }
.cal-nav:hover:not(:disabled) { background: var(--navy-700); border-color: var(--brass); }
.cal-nav:focus-visible { outline: 2px solid var(--brass-bright); outline-offset: 2px; }
.cal-nav:disabled { opacity: 0.3; cursor: default; }

.cal-body { padding: clamp(0.75rem, 2.5vw, 1.75rem); min-height: 31rem; }
.cal-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; }
.cal-head {
  font-family: var(--font-utility); font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-soft);
  padding: 0.4rem 0.2rem 0.65rem; text-align: center;
}
.cal-cell {
  min-height: 5.4rem; padding: 0.6rem 0.7rem; display: flex; flex-direction: column;
  align-items: flex-start; gap: 0.3rem; border: 1px solid var(--line); background: var(--paper);
  text-align: left; color: var(--ink);
}
.cal-day { font-family: var(--font-display); font-size: 1.2rem; line-height: 1; }
.cal-status {
  font-family: var(--font-utility); font-size: 0.66rem; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase; line-height: 1.35;
}
.cal-sub { font-family: var(--font-utility); font-size: 0.68rem; color: var(--ink-soft); letter-spacing: 0.02em; line-height: 1.35; margin-top: auto; }
.cal-cell--blank { border-color: transparent; background: transparent; }
.cal-cell--past { background: transparent; border-color: transparent; }
.cal-cell--past .cal-day { color: rgba(16, 28, 40, 0.25); }
.cal-cell--off { background: var(--ivory); }
.cal-cell--off .cal-day { color: rgba(16, 28, 40, 0.4); }
.cal-cell--off .cal-status { color: rgba(16, 28, 40, 0.45); }
.cal-cell--hold { background: var(--bone); }
.cal-cell--hold .cal-status { color: var(--ink-soft); }
.cal-cell--open {
  cursor: pointer; background: #fff; border-left: 3px solid var(--brass);
  transition: background-color 200ms var(--ease), border-color 200ms var(--ease), translate 200ms var(--ease), box-shadow 200ms var(--ease);
}
.cal-cell--open .cal-day { color: var(--navy-900); }
.cal-cell--open .cal-status { color: var(--brass-deep); }
.cal-cell--open:hover { background: var(--ivory); border-color: var(--brass); translate: 0 -2px; box-shadow: 0 6px 18px -10px rgba(15, 31, 46, 0.35); }
.cal-cell--open:focus-visible { outline: 2px solid var(--navy-900); outline-offset: 2px; }
.cal-cell--skel {
  background: linear-gradient(100deg, var(--ivory) 30%, var(--paper) 50%, var(--ivory) 70%);
  background-size: 300% 100%; animation: cal-shimmer 1.6s ease-in-out infinite; border-color: transparent;
}
@keyframes cal-shimmer { from { background-position: 100% 0; } to { background-position: 0 0; } }

.cal-agenda { display: none; flex-direction: column; }
.cal-row {
  display: flex; align-items: center; gap: 0.8rem; width: 100%; padding: 0.95rem 0.35rem;
  border-bottom: 1px solid var(--line); text-align: left; color: var(--ink);
}
.cal-row:last-child { border-bottom: 0; }
.cal-row:hover .cal-row-date { color: var(--brass-deep); }
.cal-row:focus-visible { outline: 2px solid var(--navy-900); outline-offset: 2px; }
.cal-row svg { width: 0.95rem; height: 0.95rem; color: var(--brass-deep); margin-left: auto; flex-shrink: 0; }
.cal-row-main { display: flex; flex-direction: column; gap: 0.2rem; }
.cal-row-date {
  font-family: var(--font-display); font-size: 1.2rem; line-height: 1.2;
  color: var(--navy-900); transition: color 200ms var(--ease);
}
.cal-row-status { font-family: var(--font-utility); font-size: 0.7rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--brass-deep); line-height: 1.4; }
.cal-row-note { color: var(--ink-soft); font-weight: 400; }
.cal-empty, .cal-error p { font-size: 1rem; color: var(--ink-soft); }
.cal-empty a, .cal-error a:not(.btn) { color: var(--brass-deep); white-space: nowrap; }
.cal-error { display: grid; gap: 1rem; justify-items: center; text-align: center; padding: 4rem 1rem; }

.cal-foot {
  display: flex; align-items: center; justify-content: space-between; gap: 0.75rem 1.5rem; flex-wrap: wrap;
  padding: 0.9rem 1.25rem; border-top: 1px solid var(--line);
  font-family: var(--font-utility); font-size: 0.74rem; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--ink-soft);
}
.cal-legend { display: flex; gap: 1.6rem; flex-wrap: wrap; }
.cal-legend span { display: inline-flex; align-items: center; gap: 0.5rem; }
.cal-key { width: 0.85rem; height: 0.85rem; display: inline-block; border: 1px solid var(--line); }
.cal-key--open { background: #fff; border-left: 3px solid var(--brass); }
.cal-key--hold { background: var(--bone); }
.cal-key--off { background: var(--ivory); }
.cal-stamp { display: inline-flex; align-items: center; gap: 0.5rem; }
.cal-stamp:not(:empty)::before {
  content: ""; width: 0.45rem; height: 0.45rem; border-radius: 50%; background: var(--brass);
  box-shadow: 0 0 0 3px rgba(168, 135, 79, 0.2);
}

@media (max-width: 44em) {
  .cal-body { min-height: 20rem; }
  .cal.is-ready .cal-grid { display: none; }
  .cal.is-ready .cal-agenda { display: flex; }
  .cal.is-loading .cal-cell { min-height: 3.2rem; }
  .cal-legend { display: none; }
}

/* booking hand-off panel */
.cal-dialog {
  margin: auto; width: min(32rem, calc(100% - 2rem)); max-height: calc(100% - 2rem);
  padding: clamp(1.75rem, 4vw, 2.5rem); border: 0; border-top: 3px solid var(--brass);
  background: var(--paper); color: var(--ink); box-shadow: 0 30px 80px -20px rgba(10, 20, 32, 0.55);
}
.cal-dialog::backdrop { background: rgba(10, 20, 32, 0.62); }
.cal-dialog[open] { animation: cal-rise 260ms var(--ease); }
@keyframes cal-rise { from { opacity: 0; translate: 0 12px; } to { opacity: 1; translate: 0 0; } }
.cal-dialog-close {
  position: absolute; top: 0.75rem; right: 0.75rem; width: 2.5rem; height: 2.5rem;
  display: grid; place-items: center; color: var(--ink-soft);
}
.cal-dialog-close svg { width: 1rem; height: 1rem; }
.cal-dialog-close:hover { color: var(--navy-900); }
.cal-dialog-date { font-family: var(--font-display); font-weight: 400; font-size: clamp(1.55rem, 4vw, 2rem); line-height: 1.2; margin-top: 0.6rem; color: var(--navy-900); }
.cal-dialog-meta {
  font-family: var(--font-utility); font-size: 0.78rem; font-weight: 600; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--brass-deep); margin-top: 0.6rem;
}
.cal-dialog .rule { margin: 1.4rem 0; }
.cal-dialog p:not(.cal-dialog-meta) { font-size: 1rem; color: var(--ink-soft); }
.cal-dialog-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.6rem; }
.cal-dialog-actions .btn { flex: 1 1 auto; justify-content: center; }

.cal-footnote { color: var(--ink-soft); font-size: 0.95rem; max-width: 70ch; }
.cal-footnote a { color: var(--brass-deep); }

/* ---------- representative cases (attorney bios) ---------- */
.case-list { list-style: none; margin-top: 1.25rem; display: flex; flex-direction: column; gap: 1.6rem; }
.case-list li { border-top: 1px solid var(--line); padding-top: 1.4rem; }
.case-cite { font-family: var(--font-utility); font-size: 0.86rem; line-height: 1.55; color: var(--navy-900); margin-bottom: 0.6rem; }
.case-cite em { font-family: var(--font-body); font-size: 1rem; }
.prose h3.case-head { margin-top: 2.5rem; }

/* ---------- scroll reveal ---------- */
.reveal { opacity: 0; translate: 0 18px; transition: opacity 700ms var(--ease), translate 700ms var(--ease); }
.reveal.is-visible { opacity: 1; translate: 0 0; }
.reveal-stagger > * { opacity: 0; translate: 0 18px; transition: opacity 650ms var(--ease), translate 650ms var(--ease); }
.reveal-stagger.is-visible > * { opacity: 1; translate: 0 0; }
.reveal-stagger.is-visible > *:nth-child(2) { transition-delay: 90ms; }
.reveal-stagger.is-visible > *:nth-child(3) { transition-delay: 180ms; }
.reveal-stagger.is-visible > *:nth-child(4) { transition-delay: 270ms; }
.reveal-stagger.is-visible > *:nth-child(5) { transition-delay: 360ms; }
.reveal-stagger.is-visible > *:nth-child(6) { transition-delay: 450ms; }
@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal-stagger > * { opacity: 1; translate: 0 0; }
}

/* ---------- mobile sticky action bar ---------- */
.action-bar {
  display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
  background: var(--navy-950); border-top: 1px solid var(--brass);
  padding-bottom: env(safe-area-inset-bottom, 0);
}
.action-bar a {
  flex: 1; display: flex; align-items: center; justify-content: center; gap: 0.5rem;
  padding: 0.95rem 0.5rem; text-decoration: none;
  font-family: var(--font-utility); font-size: 0.76rem; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--ivory);
}
.action-bar a + a { border-left: 1px solid var(--line-dark); color: var(--brass-bright); }
.action-bar svg { width: 0.9rem; height: 0.9rem; flex-shrink: 0; }
@media (max-width: 50em) {
  .action-bar { display: flex; }
  body { padding-bottom: 3.2rem; }
  .mobile-nav { padding-bottom: 5rem; }
}

/* ---------- utilities ---------- */
.mt-1 { margin-top: 1rem; } .mt-2 { margin-top: 2rem; } .mt-3 { margin-top: 3rem; }
.actions { display: flex; gap: 1rem; flex-wrap: wrap; align-items: center; }
.text-center { text-align: center; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
