/* ==========================================================================
   Dispute Resolution Group of Texas — shared stylesheet
   Mobile-first. Breakpoints: 600px (small tablet), 768px (tablet), 1024px (desktop).
   Tokens and components follow design-spec.md.
   ========================================================================== */

/* ---------- Fonts (self-hosted, latin subset) ---------- */
@font-face {
  font-family: "Hanken Grotesk";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("/assets/fonts/hanken-grotesk-latin.woff2") format("woff2");
}
@font-face {
  font-family: "Instrument Serif";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/instrument-serif-italic-latin.woff2") format("woff2");
}

/* ---------- Tokens ---------- */
:root {
  /* Palette (2026-10-27): matched to the Dispute Resolution Group of Texas logo: deep navy
     (wordmark), steel navy (Texas mark), bronze gold (rules and mark), and charcoal grey
     ("Group of Texas"). Token names kept from the original build: --azure is the steel-navy
     accent, --amber is the bronze gold, --muted / --text-2 are the charcoal greys. */
  --bg: #FFFFFF;
  --ink: #0B2A47;
  --muted: #4A4F57;
  --text-2: #33383F;          /* logo charcoal; one step darker than --muted */
  --hairline: #E3E6EA;
  --hairline-strong: #C8D3DE; /* dividers on pale backgrounds and tiles */
  --pale: #ECF1F6;
  --sky: #DCE5EE;
  --azure: #1A4670;
  --azure-hover: #123657;      /* darker on hover so white text keeps AA contrast */
  --azure-label: #1A4670;
  --azure-on-dark: #AFC6DC;
  --on-dark-muted: #D6DEE7;
  --ink-line: #21405F;
  --amber: #A9815F;           /* logo bronze */
  --white: #FFFFFF;
  --azure-line: #21405F;       /* row dividers inside the Mediation column */

  --font-sans: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-serif: "Instrument Serif", Georgia, "Times New Roman", serif;

  --max: 1240px;
  --gutter: 20px;
  --section: clamp(64px, 9vw, 120px);

  --r-tile: 24px;
  --r-panel: 28px;
  --r-panel-lg: 32px;
  --r-card: 20px;
  --r-pill: 999px;

  --ease: 180ms ease;
}
@media (min-width: 768px) {
  :root { --gutter: 40px; }
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
h1, h2, h3 { margin: 0; font-weight: 600; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }

:focus-visible {
  outline: 3px solid var(--azure);
  outline-offset: 3px;
  border-radius: 4px;
}
.on-dark :focus-visible { outline-color: var(--azure-on-dark); }

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

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

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

.skip-link {
  position: absolute;
  left: 12px; top: -100px;
  z-index: 100;
  background: var(--ink);
  color: var(--white);
  padding: 12px 18px;
  border-radius: var(--r-pill);
  font-weight: 600;
  text-decoration: none;
  min-height: 44px;
}
.skip-link:focus { top: 12px; }

/* Inline text links inside body copy */
.prose a, .text-link {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  font-weight: 500;
}

/* ---------- Typography helpers ---------- */
.eyebrow {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--azure-label);
}
.lead {
  font-size: clamp(18px, 2vw, 21px);
  line-height: 1.5;
  color: var(--muted);
}
.muted { color: var(--muted); }

.h1-home {
  font-size: clamp(42px, 6vw, 68px);
  line-height: 1.0;
  letter-spacing: -0.035em;
}
.h1-page {
  font-size: clamp(44px, 7vw, 72px);
  line-height: 1.0;
  letter-spacing: -0.035em;
}
.h2-section {
  font-size: clamp(34px, 5vw, 52px);
  line-height: 1.05;
  letter-spacing: -0.03em;
}
.h2-medium {
  font-size: clamp(30px, 4.2vw, 44px);
  line-height: 1.05;
  letter-spacing: -0.03em;
}
.h2-small {
  font-size: clamp(28px, 3.5vw, 38px);
  line-height: 1.08;
  letter-spacing: -0.03em;
}
.accent {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  font-size: 1.1em;
  color: var(--azure);
  letter-spacing: -0.01em;
}

/* ---------- Buttons and links ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 15px 26px;
  border-radius: var(--r-pill);
  font-size: 17px;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  border: 0;
  cursor: pointer;
  transition: background-color var(--ease), color var(--ease), filter var(--ease);
}
@media (min-width: 600px) { .btn { padding: 17px 30px; } }
.btn-primary { background: var(--azure); color: var(--white); }
.btn-primary:hover { background: var(--azure-hover); }
.btn-outline {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--ink);
  padding: 10px 20px;
  font-size: 15px;
  font-weight: 500;
}
.btn-outline:hover { background: var(--ink); color: var(--white); }
.btn-light { background: var(--sky); color: var(--ink); }
.btn-light:hover { filter: brightness(1.04); }

.arrow-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: inherit;
  font-weight: 500;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
}
.arrow-link:hover { text-decoration-thickness: 2px; }

/* ---------- Pills and chips ---------- */
.pill-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--white);
  border: 1px solid var(--hairline);
  border-radius: var(--r-pill);
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-2);
}
.dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--azure);
  flex: none;
}
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  background: var(--white);
  border: 1px solid var(--hairline);
  border-radius: var(--r-pill);
  padding: 6px 14px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-2);
}
.tag {
  display: inline-block;
  background: var(--pale);
  color: var(--azure-label);
  border-radius: var(--r-pill);
  padding: 4px 12px;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.5;
}

/* ==========================================================================
   Header
   ========================================================================== */
.site-header { position: relative; z-index: 10; }
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-block: 16px;
}
@media (min-width: 768px) { .header-inner { padding-block: 24px; } }

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  color: var(--ink);
  text-decoration: none;
}
/* Logo: Texas mark + wordmark; the short "DRG of Texas" logo replaces the wordmark on phones */
.brand img { flex: none; width: auto; }
.brand-mark { height: 40px; }
.brand-name { height: 31px; }
.brand-short { height: 34px; display: none; }
@media (max-width: 599px) {
  .brand-name { display: none; }
  .brand-short { display: block; }
}
@media (min-width: 1024px) {
  .brand-mark { height: 56px; }
  .brand-name { height: 44px; }
}

.nav-toggle {
  display: none;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  min-width: 44px;
  padding: 10px 18px;
  background: transparent;
  border: 1.5px solid var(--ink);
  border-radius: var(--r-pill);
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
}
.nav-toggle-icon,
.nav-toggle-icon::before,
.nav-toggle-icon::after {
  display: block;
  width: 16px;
  height: 1.5px;
  background: currentColor;
  transition: transform var(--ease), opacity var(--ease);
}
.nav-toggle-icon { position: relative; }
.nav-toggle-icon::before,
.nav-toggle-icon::after { content: ""; position: absolute; left: 0; }
.nav-toggle-icon::before { top: -5px; }
.nav-toggle-icon::after { top: 5px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-icon { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-icon::before { transform: translateY(5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-icon::after { transform: translateY(-5px) rotate(-45deg); }

.site-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-list {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-list a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 15px;
  font-weight: 500;
  color: var(--muted);
  text-decoration: none;
  transition: color var(--ease);
}
.nav-list a:hover { color: var(--ink); }
.nav-list a[aria-current="page"],
.nav-list a[aria-current="true"] {  /* "true" = inside that section, e.g. a mediator profile */
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--azure);
  text-decoration-thickness: 2px;
  text-underline-offset: 8px;
}

/* Phones, tablets, and small laptops (under 1180px): collapse nav behind the menu button (JS only). */
@media (max-width: 1179px) {
  .js .nav-toggle { display: inline-flex; }
  .js .site-nav {
    display: none;
    position: absolute;
    left: var(--gutter);
    right: var(--gutter);
    top: calc(100% - 4px);
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    padding: 12px 20px 20px;
    background: var(--white);
    border: 1px solid var(--hairline);
    border-radius: var(--r-card);
  }
  .js .site-header.nav-open .site-nav { display: flex; }
  .js .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
  .js .nav-list li + li { border-top: 1px solid var(--hairline); }
  .js .nav-list a { display: flex; min-height: 52px; font-size: 17px; }
  .js .site-nav .btn-outline { margin-top: 8px; min-height: 48px; font-size: 17px; }

  /* Without JS, let the nav wrap under the logo instead. */
  html:not(.js) .header-inner { flex-wrap: wrap; }
  html:not(.js) .site-nav,
  html:not(.js) .nav-list { flex-wrap: wrap; gap: 4px 20px; }
}

/* ==========================================================================
   Page intro (H1 + lead on inner pages)
   ========================================================================== */
.page-intro {
  padding-top: clamp(32px, 5vw, 56px);
  padding-bottom: clamp(48px, 6vw, 72px);
}
.page-intro .h1-page { margin-bottom: clamp(20px, 3vw, 28px); }
.page-intro .lead { max-width: 760px; }

.section { padding-bottom: var(--section); }
.section-cta { padding-bottom: clamp(56px, 7vw, 96px); }
.section-title { margin-bottom: clamp(28px, 4vw, 40px); }

/* ==========================================================================
   Home hero
   ========================================================================== */
.hero {
  display: grid;
  gap: 48px;
  align-items: center;
  padding-top: clamp(24px, 4vw, 56px);
  padding-bottom: clamp(64px, 8vw, 104px);
}
@media (min-width: 1024px) {
  .hero { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 64px; }
}
.hero .pill-eyebrow { margin-bottom: 28px; }
/* Phones show the short "DRG" logo, so the full wordmark sits above the home headline there */
.hero .hero-firm { margin-bottom: 28px; }
.hero .hero-firm img { display: block; width: 100%; max-width: 340px; height: auto; margin-inline: auto; }
@media (min-width: 600px) { .hero .hero-firm { display: none; } }
.hero h1 { margin-bottom: 28px; }
.hero .lead { max-width: 560px; margin-bottom: 20px; }
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 24px;
  margin-bottom: 32px;
}

.hero-copy > :last-child { margin-bottom: 0; }

/* Right column: mediator headshot (or placeholder tile) with name and role */
.hero-person { margin: 0; width: 100%; max-width: 460px; }
@media (min-width: 1024px) { .hero-person { justify-self: end; } }
.hero-person-name { margin-top: 18px; font-size: 20px; font-weight: 600; letter-spacing: -0.01em; line-height: 1.3; color: var(--ink); }
.hero-person-role { margin-top: 2px; font-size: 16px; color: var(--muted); }

/* ==========================================================================
   Section heading row (H2 left, intro right)
   ========================================================================== */
.section-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px 24px;
  margin-bottom: clamp(28px, 4vw, 40px);
}
.section-head p { color: var(--muted); max-width: 420px; }

/* ==========================================================================
   Comparison table
   ========================================================================== */
.compare {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
}
.compare-wrap {
  border: 1px solid var(--hairline);
  border-radius: var(--r-panel);
  overflow: hidden;
}
.compare caption { text-align: left; }
.compare th, .compare td {
  padding: 24px 28px;
  text-align: left;
  vertical-align: middle;
  font-weight: inherit;
}
.compare thead th {
  padding-block: 20px;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.3;
}
.compare .col-label {
  background: var(--white);
  width: 200px;
}
.compare tbody th {
  background: var(--white);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--azure-label);
}
.compare .lit {
  background: var(--pale);
  color: var(--text-2);
  font-size: 18px;
}
.compare .med {
  background: var(--ink);
  color: var(--white);
  font-size: 18px;
  font-weight: 500;
}
.compare thead .lit, .compare thead .med { font-size: 22px; font-weight: 600; }
.compare thead th { border-bottom: 1px solid var(--hairline); }
.compare thead .med { border-bottom-color: var(--azure-line); }
.compare tbody tr:not(:last-child) > * { border-bottom: 1px solid var(--hairline); }
.compare tbody tr:not(:last-child) > .med { border-bottom-color: var(--azure-line); }
.med-head { display: inline-flex; align-items: center; gap: 10px; }
.amber-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--amber);
  flex: none;
}

/* Phones: each row becomes a small card with both values */
@media (max-width: 767px) {
  .compare-wrap { border: 0; border-radius: 0; overflow: visible; }
  .compare, .compare tbody, .compare tr, .compare th, .compare td { display: block; width: auto; }
  .compare thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .compare tbody { display: grid; gap: 12px; }
  .compare tbody tr {
    border: 1px solid var(--hairline);
    border-radius: var(--r-card);
    overflow: hidden;
    background: var(--white);
  }
  .compare tbody tr > * { border-bottom: 0 !important; }
  .compare tbody th { padding: 16px 20px 12px; font-size: 13px; }
  .compare td { padding: 14px 20px; font-size: 17px; }
  .compare td::before {
    content: attr(data-label);
    display: block;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 2px;
  }
  .compare td.lit::before { color: var(--azure-label); }
  .compare td.med::before { color: var(--white); }
}

/* ==========================================================================
   Two-column split (H2 column left, content right)
   ========================================================================== */
.split {
  display: grid;
  gap: 32px;
}
@media (min-width: 1024px) {
  .split { grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 56px 64px; }
  .split--stepper { grid-template-columns: minmax(0, 420px) minmax(0, 1fr); }
}
.split-aside > * + * { margin-top: 20px; }
.split-aside p { color: var(--muted); }

/* ==========================================================================
   Process stepper
   ========================================================================== */
.stepper-title {
  font-size: clamp(36px, 5.5vw, 56px);
  line-height: 1.02;
  letter-spacing: -0.035em;
}
.steps { counter-reset: none; }
.step {
  display: flex;
  gap: clamp(16px, 3vw, 28px);
}
.step-rail {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: none;
}
.step-num {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--azure);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 18px;
}
.step-line {
  flex: 1;
  width: 2px;
  min-height: 32px;
  margin-top: 8px;
  background: var(--hairline);
}
.step:last-child .step-line { display: none; }
.step-body { padding-bottom: 40px; min-width: 0; padding-top: 6px; }
.step:last-child .step-body { padding-bottom: 0; }
.step-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  margin-bottom: 10px;
}
.step-head h3 {
  font-size: clamp(22px, 2.6vw, 28px);
  letter-spacing: -0.02em;
  line-height: 1.15;
}
.step-body p { color: var(--muted); max-width: 600px; }

/* ==========================================================================
   Home: "Why Hire Michael" icon columns
   ========================================================================== */
.why-grid { display: grid; gap: 40px 32px; }
@media (min-width: 900px) { .why-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.why-icon {
  display: grid;
  place-items: center;
  width: 80px;
  height: 80px;
  border-radius: 22px;
  background: var(--sky);
  color: var(--azure);
  margin-bottom: 24px;
}
.why-icon svg { stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.why-grid h3 { font-size: clamp(22px, 2.4vw, 26px); line-height: 1.2; letter-spacing: -0.02em; margin-bottom: 10px; }
.why-grid p { font-size: clamp(17px, 1.6vw, 18px); color: var(--muted); max-width: 360px; }

/* ==========================================================================
   Home: titled row lists ("What We Mediate", "You Don't Need An Attorney to Mediate"),
   using the .split layout. .pale-band wraps one of them in a full-bleed pale band.
   ========================================================================== */
/* Full-bleed pale band; its outer gap matches the normal section spacing below it
   (the section above already ends with that spacing). */
.pale-band {
  background: var(--pale);
  padding-block: clamp(56px, 8vw, 96px);
  margin-bottom: var(--section);
}
.pale-band .rows-list li,
.pale-band .rows-list li:last-child { border-color: var(--hairline-strong); }
/* "What We Mediate": photo on the left, heading above the rows on the right */
.band-photo {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: var(--r-panel);
  background: var(--sky);
  overflow: hidden;
  margin: 0;
}
@media (min-width: 1024px) { .band-photo { aspect-ratio: 4 / 5; align-self: start; } }
.band-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.rows-head { margin-bottom: 28px; }
.rows-head > * + * { margin-top: 16px; }
.rows-head .rows-intro { color: var(--muted); }
.rows-title {
  font-size: clamp(30px, 4.2vw, 44px);
  line-height: 1.08;
  letter-spacing: -0.03em;
}
.rows-aside .rows-intro {
  font-size: clamp(17px, 1.6vw, 18px);
  max-width: 400px;
}
.rows-aside .rows-link {
  margin-top: 28px;
  font-size: clamp(17px, 1.6vw, 18px);
  font-weight: 600;
  text-decoration-thickness: 1px;
}
.rows-list li {
  border-top: 1px solid var(--hairline);
  padding-block: 28px;
}
.rows-list li:last-child { border-bottom: 1px solid var(--hairline); }
.rows-list h3 {
  font-size: clamp(21px, 2.2vw, 24px);
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}
.rows-list p {
  font-size: clamp(17px, 1.6vw, 18px);
  color: var(--muted);
  max-width: 680px;
}
.rows-note {
  margin-top: 28px;
  font-size: 17px;
  color: var(--muted);
  max-width: 680px;
}

/* ==========================================================================
   Home process rows: big numeral | rule + step text | converging-lines art
   ========================================================================== */
.process-head {
  display: grid;
  gap: 16px 64px;
  align-items: end;
  margin-bottom: clamp(32px, 5vw, 56px);
}
@media (min-width: 1024px) {
  .process-head { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
}
.process-head p { color: var(--muted); max-width: 520px; margin-bottom: 8px; }

.phase {
  display: grid;
  gap: 16px 40px;
  padding-block: clamp(28px, 4vw, 44px);
  border-top: 1px solid var(--hairline);
}
.phase:last-child { border-bottom: 1px solid var(--hairline); }
.phase-num { display: flex; align-items: baseline; gap: 16px; }
.phase-digits {
  font-size: clamp(56px, 8vw, 104px);
  font-weight: 500;
  line-height: 0.9;
  letter-spacing: -0.05em;
  color: var(--azure-label);
}
.phase-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-2);
}
.phase-body h3 {
  font-size: clamp(22px, 2.6vw, 28px);
  letter-spacing: -0.02em;
  line-height: 1.15;
}
.phase-body p { color: var(--muted); max-width: 560px; }
.phase-art {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 120px;
  height: 120px;
  background: var(--sky);
  border-radius: var(--r-card);
  color: var(--azure-label);
}
@media (min-width: 768px) { .phase-art { justify-self: end; } }
@media (min-width: 768px) {
  .phase {
    grid-template-columns: 170px minmax(0, 1fr) minmax(0, 240px);
    align-items: center;
  }
  .phase-num { flex-direction: column; gap: 10px; align-self: start; }
  .phase-body { border-left: 1px solid var(--hairline); padding-left: 40px; }
}

/* ==========================================================================
   How It Works page: pinned intro (desktop) + step cards on a vertical line
   ========================================================================== */
.process { display: grid; gap: 40px; }
@media (min-width: 1024px) {
  .process { grid-template-columns: minmax(0, 400px) minmax(0, 1fr); gap: 64px; align-items: start; }
  .process-aside { position: sticky; top: 32px; }
}
.process-aside > * + * { margin-top: 20px; }
.process-aside p { color: var(--muted); }

.process-steps { position: relative; }
.process-steps::before {
  content: "";
  position: absolute;
  left: 21px;
  top: 22px;
  bottom: 22px;
  width: 2px;
  background: var(--hairline);
}
.process-step {
  position: relative;
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 16px;
  padding-bottom: 24px;
}
.process-step:last-child { padding-bottom: 0; }
@media (min-width: 768px) { .process-step { gap: 28px; } }
.process-marker {
  position: relative;
  width: 44px; height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg);
  border: 1.5px solid var(--ink);
  border-radius: 10px;
  font-size: 15px;
  font-weight: 600;
}
.process-card {
  background: var(--white);
  border: 1px solid var(--hairline);
  border-radius: var(--r-card);
  padding: 24px;
}
@media (min-width: 768px) { .process-card { padding: 32px; } }
.process-icon {
  width: 44px; height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: var(--pale);
  color: var(--azure-label);
  margin-bottom: 16px;
}
.process-card h3 {
  font-size: clamp(22px, 2.4vw, 26px);
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 10px;
}
.process-card p { color: var(--muted); }
.process-card .tag { margin-top: 18px; }

/* ==========================================================================
   FAQ accordion
   ========================================================================== */
.faq-title { font-size: clamp(32px, 4.5vw, 46px); line-height: 1.05; letter-spacing: -0.03em; }
.faq-list { border-top: 1px solid var(--hairline); }
.faq-item { border-bottom: 1px solid var(--hairline); }
.faq-item h2, .faq-item h3 { font-size: inherit; font-weight: inherit; }
.faq-list--page { max-width: 900px; }
.faq-button {
  display: flex;
  width: 100%;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  min-height: 44px;
  padding: 22px 0;
  background: transparent;
  border: 0;
  text-align: left;
  cursor: pointer;
  color: var(--ink);
}
@media (min-width: 768px) { .faq-button { padding: 26px 0; } }
.faq-q {
  font-size: clamp(19px, 2.2vw, 22px);
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.3;
}
.faq-icon {
  position: relative;
  width: 18px; height: 18px;
  flex: none;
  color: var(--azure);
}
.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  left: 0; top: 50%;
  width: 18px; height: 2px;
  margin-top: -1px;
  background: currentColor;
  transition: transform var(--ease);
}
.faq-icon::after { transform: rotate(90deg); }
.faq-button[aria-expanded="true"] .faq-icon::after { transform: rotate(0deg); }
/* Answers slide open/closed by animating the grid row from 0fr to 1fr.
   visibility:hidden (after the close animation) keeps closed answers out of
   the tab order and screen readers. Without JS, every answer stays open. */
.faq-answer {
  display: grid;
  grid-template-rows: 1fr;
  overflow: hidden;
  color: var(--muted);
  max-width: 680px;
}
.faq-answer > * {
  min-height: 0;
  overflow: hidden;
  padding-right: clamp(0px, 4vw, 48px);
}
/* Bottom spacing lives inside the clipped item so a closed answer collapses to 0. */
.faq-answer > *::after { content: ""; display: block; height: 28px; }
.js .faq-answer {
  grid-template-rows: 0fr;
  visibility: hidden;
  transition: grid-template-rows 280ms ease, visibility 0s linear 280ms;
}
.js .faq-answer.is-open {
  grid-template-rows: 1fr;
  visibility: visible;
  transition: grid-template-rows 280ms ease, visibility 0s linear 0s;
}

/* ==========================================================================
   CTA panel
   ========================================================================== */
.cta {
  background: var(--ink);
  color: var(--white);
  border-radius: var(--r-panel-lg);
  padding: 48px 28px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 32px 40px;
}
@media (min-width: 768px) { .cta { padding: 72px 64px; } }
.cta-text { flex: 1 1 420px; min-width: 0; }
.cta h2 {
  font-size: clamp(38px, 6vw, 60px);
  line-height: 1.02;
  letter-spacing: -0.035em;
  margin-bottom: 16px;
}
.cta p { color: var(--on-dark-muted); max-width: 520px; }

/* ==========================================================================
   Services rows
   ========================================================================== */
.service-row {
  border-top: 1px solid var(--hairline);
  padding-block: clamp(36px, 5vw, 56px);
  display: grid;
  gap: 20px 64px;
}
.service-row:last-child { border-bottom: 1px solid var(--hairline); }
@media (min-width: 1024px) {
  .service-row { grid-template-columns: minmax(0, 360px) minmax(0, 1fr); }
}
.numeral {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--azure-label);
  margin-bottom: 12px;
}
.service-row p { color: var(--muted); max-width: 640px; }
.mini-tiles {
  display: grid;
  gap: 16px;
  margin-top: 28px;
}
@media (min-width: 600px) { .mini-tiles { grid-template-columns: 1fr 1fr; } }
.mini-tile {
  border-radius: var(--r-card);
  padding: 24px;
  background: var(--pale);
}
.mini-tile--sky { background: var(--sky); }
.mini-tile h3 {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--azure-label);
  margin-bottom: 10px;
  line-height: 1.4;
}
.mini-tile p { color: var(--text-2); font-size: 16px; }

/* "Where Mediation Fits" timeline.
   Phones: vertical list, each stage lists its phase and services as text.
   768px+: horizontal track with phase bands above and service bars below
   (bands and bars are aria-hidden; the per-stage text stays for screen readers). */
.fit {
  background: var(--white);
  border: 1px solid var(--hairline);
  border-radius: var(--r-panel);
  padding: 28px 22px;
}
.fit-bands, .fit-services { display: none; }
.fit-stage {
  position: relative;
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  column-gap: 16px;
  padding-bottom: 22px;
}
.fit-stage:last-child { padding-bottom: 0; }
.fit-stage::before {
  content: "";
  position: absolute;
  left: 10px;
  top: 22px;
  bottom: -2px;
  width: 2px;
  background: var(--hairline);
}
.fit-stage:last-child::before { display: none; }
.fit-node {
  grid-row: 1 / span 2;
  width: 22px; height: 22px;
  margin-top: 2px;
  border-radius: 50%;
  background: var(--azure);
  border: 4px solid var(--sky);
}
.fit-stage--end .fit-node { background: var(--ink); border-color: var(--hairline); }
.fit-name { font-weight: 600; font-size: 18px; line-height: 1.4; }
.fit-meta { color: var(--text-2); font-size: 15px; }
.fit-caption {
  margin-top: 20px;
  font-size: clamp(18px, 2vw, 21px);
  line-height: 1.5;
  color: var(--ink);
  max-width: 760px;
}

@media (min-width: 768px) {
  .fit { padding: 36px 32px; }
  .fit-bands, .fit-stages, .fit-services {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    column-gap: 12px;
  }
  .fit-band {
    border-radius: var(--r-pill);
    padding: 6px 14px;
    text-align: center;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--azure-label);
  }
  .fit-band--before { grid-column: 1 / 3; background: var(--pale); }
  .fit-band--after { grid-column: 3 / 5; background: var(--sky); }
  .fit-stages { position: relative; margin: 0 0 24px; }
  .fit-stages::before {
    content: "";
    position: absolute;
    left: 10%; right: 10%;
    top: 10px;
    height: 2px;
    background: var(--hairline);
  }
  .fit-stage {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 12px;
    padding: 0;
  }
  .fit-stage::before { display: none; }
  .fit-node { position: relative; margin: 0; }
  .fit-name { font-size: 17px; }
  .fit-meta {
    position: absolute; width: 1px; height: 1px; overflow: hidden;
    clip: rect(0 0 0 0); white-space: nowrap;
  }
  .fit-service {
    border-radius: var(--r-card);
    padding: 16px 18px;
    text-align: center;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.35;
  }
  .fit-service--all { grid-column: 1 / 5; background: var(--azure); color: var(--white); }
  .fit-bands { margin-bottom: 24px; }
}

.service-chips { margin-top: 20px; }

/* Services jump links: chip look, 44px tap targets */
.jump-links { margin-top: 28px; }
.jump-links ul { display: flex; flex-wrap: wrap; gap: 8px 10px; }
.jump-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 8px 16px;
  background: var(--white);
  border: 1px solid var(--hairline);
  border-radius: var(--r-pill);
  font-size: 15px;
  font-weight: 500;
  color: var(--text-2);
  text-decoration: none;
  transition: border-color var(--ease), color var(--ease);
}
.jump-links a:hover { border-color: var(--ink); color: var(--ink); }

.service-compact {
  margin-top: clamp(36px, 5vw, 56px);
  background: var(--pale);
  border-radius: var(--r-tile);
  padding: 28px 24px;
  display: grid;
  gap: 12px 64px;
  align-items: center;
}
@media (min-width: 768px) { .service-compact { padding: 32px 36px; } }
@media (min-width: 1024px) {
  .service-compact { grid-template-columns: minmax(0, 360px) minmax(0, 1fr); }
}
.service-compact h2 {
  font-size: clamp(22px, 2.6vw, 26px);
  letter-spacing: -0.02em;
  line-height: 1.2;
}
.service-compact .numeral { margin-bottom: 6px; }
.service-compact p:not(.numeral) { color: var(--text-2); max-width: 640px; }
.service-book { margin-top: 24px; }

/* ==========================================================================
   Resources: index cards and article pages (built from existing tokens)
   ========================================================================== */
.resource-card {
  height: 100%;
  background: var(--white);
  border: 1px solid var(--hairline);
  border-radius: var(--r-tile);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.resource-thumb { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; background: var(--sky); }
.resource-body { padding: 24px 28px 28px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.resource-title { font-size: clamp(21px, 2.2vw, 24px); letter-spacing: -0.02em; line-height: 1.2; }
.resource-card p { color: var(--muted); }
.resource-body .arrow-link { margin-top: auto; align-self: flex-start; }

.breadcrumb ol { display: flex; flex-wrap: wrap; align-items: center; gap: 0 10px; font-size: 14px; color: var(--text-2); }
.breadcrumb li + li::before { content: "›"; margin-right: 10px; color: var(--muted); }
.breadcrumb a { display: inline-flex; align-items: center; min-height: 44px; color: var(--text-2); text-underline-offset: 3px; }
.breadcrumb a:hover { color: var(--ink); }
.breadcrumb [aria-current] { color: var(--ink); }

.h1-article {
  font-size: clamp(34px, 5vw, 56px);
  line-height: 1.05;
  letter-spacing: -0.03em;
  max-width: 22ch;
  margin-top: 8px;
}
.byline { color: var(--text-2); font-size: 15px; margin-top: 18px; }
.article-image { margin: 28px 0 0; max-width: 900px; }
.article-image img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: var(--r-panel);
  background: var(--sky);
}
.short-answer {
  max-width: 70ch;
  margin-top: 28px;
  background: var(--pale);
  border-radius: var(--r-card);
  padding: 24px 28px;
}
.short-answer .eyebrow { margin-bottom: 8px; }
.short-answer p:last-child { font-size: clamp(17px, 1.8vw, 19px); line-height: 1.55; color: var(--ink); }

.article-body { max-width: 70ch; }
.article-body > h2,
.article-faq h2,
.article-related h2 {
  font-size: clamp(26px, 3vw, 32px);
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin: 48px 0 14px;
}
.article-body > h2:first-child { margin-top: 0; }
.article-body > h3 { font-size: 21px; letter-spacing: -0.01em; line-height: 1.3; margin: 28px 0 8px; }
.article-body > p, .article-body li { color: var(--muted); }
.article-body > p + p { margin-top: 16px; }
.article-body > ul, .article-body > ol { margin: 16px 0; padding-left: 1.3em; }
.article-body > ul { list-style: disc; }
.article-body > ol { list-style: decimal; }
.article-body > ul li + li, .article-body > ol li + li { margin-top: 8px; }
.article-body strong { color: var(--ink); font-weight: 600; }
.article-faq .faq-list { margin-top: 8px; }
.article-related .jump-links { margin-top: 0; }

.verify {
  font-size: 13px;
  font-weight: 600;
  color: var(--azure-label);
  background: var(--pale);
  border-radius: 6px;
  padding: 1px 6px;
}

.article-table-wrap { overflow-x: auto; margin: 20px 0; border: 1px solid var(--hairline); border-radius: var(--r-card); background: var(--white); }
.article-table { width: 100%; min-width: 620px; border-collapse: collapse; font-size: 15px; }
.article-table th, .article-table td { padding: 14px 16px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--hairline); }
.article-table tbody tr:last-child > * { border-bottom: 0; }
.article-table thead th { background: var(--pale); color: var(--ink); font-weight: 600; }
.article-table tbody th { color: var(--azure-label); font-weight: 600; font-size: 14px; letter-spacing: 0.04em; text-transform: uppercase; }
.article-table td { color: var(--text-2); }

.article-note { max-width: 70ch; font-size: 14px; color: var(--muted); padding-bottom: clamp(40px, 6vw, 72px); }

.read-more { margin-top: 12px; }

/* ==========================================================================
   Callout band
   ========================================================================== */
.callout {
  background: var(--pale);
  border-radius: var(--r-panel);
  padding: 36px 24px;
  display: grid;
  gap: 20px 64px;
  align-items: start;
}
@media (min-width: 768px) { .callout { padding: 64px; } }
@media (min-width: 1024px) {
  .callout { grid-template-columns: minmax(0, 360px) minmax(0, 1fr); }
}
.callout-text {
  font-size: clamp(19px, 2.2vw, 22px);
  line-height: 1.5;
  color: var(--ink);
  max-width: 640px;
}
.callout-note { color: var(--muted); font-size: 16px; margin-top: 16px; }
.callout-note .arrow-link { color: var(--ink); }

/* ==========================================================================
   Fees
   ========================================================================== */
.fee-tiles {
  display: grid;
  gap: 20px;
}
@media (min-width: 1024px) { .fee-tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.fee-tile {
  border-radius: var(--r-tile);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 32px;
  background: var(--pale);
  color: var(--ink);
}
@media (min-width: 768px) { .fee-tile { padding: 36px; } }
@media (min-width: 1024px) { .fee-tile { min-height: 340px; } }
.fee-tile--sky { background: var(--sky); }
.fee-tile--ink { background: var(--ink); color: var(--white); }
.fee-tile h2 {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--azure-label);
  margin-bottom: 10px;
  line-height: 1.4;
}
.fee-hours, .fee-per, .fee-blurb { color: var(--text-2); }
.fee-hours { font-size: 17px; }
.fee-price-row {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 4px 10px;
  margin-bottom: 14px;
}
.fee-price {
  font-weight: 600;
  font-size: clamp(56px, 6vw, 72px);
  line-height: 1;
  letter-spacing: -0.04em;
}
.fee-per { font-size: 16px; }
.fee-blurb { font-size: 16px; max-width: 300px; }
.fee-extra {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--hairline-strong);
  font-size: 15px;
  font-weight: 600;
  color: var(--azure-label);
}
.fee-tile--sky .fee-extra { border-top-color: var(--hairline-strong); }
.fee-tile--ink h2,
.fee-tile--ink .fee-extra { color: var(--azure-on-dark); }
.fee-tile--ink .fee-hours,
.fee-tile--ink .fee-per,
.fee-tile--ink .fee-blurb { color: var(--on-dark-muted); }
.fee-tile--ink .fee-extra { border-top-color: var(--ink-line); }
.fee-notes {
  margin-top: 20px;
  background: var(--white);
  border: 1px solid var(--hairline);
  border-radius: var(--r-card);
  padding: 24px 28px;
  color: var(--text-2);
  font-size: 17px;
}
.fee-notes p { max-width: 900px; }
.fee-notes p + p { margin-top: 12px; }
.fee-book { margin-top: 28px; }

.hairline-list li {
  padding: 22px 0;
  border-top: 1px solid var(--hairline);
  font-size: clamp(17px, 1.8vw, 19px);
  line-height: 1.5;
}
.hairline-list li:last-child { border-bottom: 1px solid var(--hairline); }
.numbered-list li { display: flex; gap: 24px; align-items: baseline; }
.numbered-list .num {
  font-weight: 600;
  font-size: 20px;
  color: var(--azure-label);
  width: 28px;
  flex: none;
}
.list-footnote { color: var(--muted); font-size: 16px; padding-top: 24px; }

.term-cards {
  display: grid;
  gap: 20px;
}
@media (min-width: 768px) { .term-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .term-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.term-card {
  background: var(--white);
  border: 1px solid var(--hairline);
  border-radius: var(--r-card);
  padding: 28px;
}
.term-card h3 {
  font-size: 20px;
  letter-spacing: -0.01em;
  margin-bottom: 8px;
  line-height: 1.3;
}
.term-card p { color: var(--muted); font-size: 16px; }

/* ==========================================================================
   About
   ========================================================================== */
.about-main {
  display: grid;
  gap: 40px 64px;
  align-items: start;
  padding-top: clamp(24px, 4vw, 56px);
  padding-bottom: var(--section);
}
@media (min-width: 1024px) {
  .about-main { grid-template-columns: minmax(0, 460px) minmax(0, 1fr); }
}
.headshot {
  width: 100%;
  max-width: 460px;
  aspect-ratio: 4 / 5;
  border-radius: var(--r-panel);
  background: var(--sky);
  overflow: hidden;
  display: flex;
  align-items: flex-end;
}
.headshot img { width: 100%; height: 100%; object-fit: cover; }
.headshot--placeholder { padding: 28px; }
.headshot--placeholder span {
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-2);
  font-weight: 600;
}
.about-main .eyebrow { margin-bottom: 20px; }
.about-main h1 {
  font-size: clamp(40px, 6vw, 64px);
  line-height: 1.02;
  letter-spacing: -0.035em;
  margin-bottom: 32px;
}
.about-lead { font-size: clamp(18px, 2vw, 21px); line-height: 1.5; margin-bottom: 22px; }
.about-body p { color: var(--muted); }
.about-body p + p { margin-top: 18px; }


/* ==========================================================================
   Firm page intro, mediator cards, mediator profile
   ========================================================================== */
.page-intro .intro-text { color: var(--muted); max-width: 760px; margin-top: 20px; }
.page-intro .intro-link { margin-top: 12px; }

/* Cards fill a responsive grid; adding a card needs no layout change. */
.mediator-grid,
.resource-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
}
.mediator-card {
  height: 100%;
  background: var(--white);
  border: 1px solid var(--hairline);
  border-radius: var(--r-tile);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.mediator-photo { max-width: none; border-radius: 0; padding: 20px; }
.mediator-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}
.mediator-name { font-size: 26px; letter-spacing: -0.02em; line-height: 1.15; }
.mediator-body .eyebrow { margin-top: -4px; }
.mediator-status { color: var(--text-2); font-size: 15px; }
.mediator-body .arrow-link { margin-top: auto; align-self: flex-start; }

.about-main .profile-role { margin: -16px 0 24px; }

/* ==========================================================================
   How It Works topic rows, legal pages
   ========================================================================== */
.topic-row {
  border-top: 1px solid var(--hairline);
  padding-block: clamp(32px, 4.5vw, 48px);
  display: grid;
  gap: 16px 64px;
}
.topic-row:last-child { border-bottom: 1px solid var(--hairline); }
@media (min-width: 1024px) {
  .topic-row { grid-template-columns: minmax(0, 360px) minmax(0, 1fr); }
}
.topic-row p { color: var(--muted); max-width: 680px; }

.prose { max-width: 760px; }
.prose p { color: var(--muted); }
.prose p + p { margin-top: 18px; }
.prose h2 {
  font-size: clamp(24px, 3vw, 30px);
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin: 40px 0 12px;
}
.prose h2:first-child { margin-top: 0; }

/* ==========================================================================
   Contact
   ========================================================================== */
.contact-grid {
  display: grid;
  gap: 32px;
  align-items: start;
}
@media (min-width: 1024px) {
  .contact-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 48px; }
}
.panel {
  background: var(--white);
  border: 1px solid var(--hairline);
  border-radius: var(--r-panel);
  padding: 28px 22px;
}
@media (min-width: 768px) { .panel { padding: 40px; } }
.panel h2 {
  font-size: clamp(26px, 3vw, 32px);
  letter-spacing: -0.025em;
  line-height: 1.15;
  margin-bottom: 16px;
}
.panel--sky { background: var(--sky); border-color: var(--sky); }
/* Free consultation picker (/contact/, assets/js/consult.js) */
.consult { margin-top: 24px; }
.consult-status { color: var(--text-2); font-weight: 500; }
.consult-status[hidden], .consult-step[hidden], .consult-details[hidden] { display: none; }
.consult .choice label { background: var(--white); }
.consult-picked {
  margin-bottom: 20px;
  padding: 12px 16px;
  border-radius: 12px;
  background: var(--white);
  font-weight: 600;
  color: var(--ink);
}
.consult .form-status { background: var(--white); }
.contact-direct { margin-top: 24px; }
.contact-direct li + li { margin-top: 4px; }
.contact-direct a { display: inline-flex; align-items: center; min-height: 44px; }

.warning {
  display: flex;
  gap: 12px;
  background: var(--pale);
  border-left: 4px solid var(--azure);
  border-radius: 12px;
  padding: 16px 18px;
  color: var(--text-2);
  font-size: 16px;
  font-weight: 500;
  margin-bottom: 28px;
}

.form-field { margin-bottom: 22px; }
.form-field label,
.form-field legend {
  display: block;
  font-weight: 600;
  font-size: 16px;
  margin-bottom: 8px;
  padding: 0;
}
.form-field fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.field-hint { font-weight: 400; color: var(--muted); }
.form-field input[type="text"],
.form-field input[type="email"],
.form-field input[type="tel"],
.form-field textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  background: var(--white);
  border: 1.5px solid #8B929B;
  border-radius: 12px;
  font-size: 17px;
}
.form-field textarea { min-height: 140px; resize: vertical; }
.form-field input:focus-visible,
.form-field textarea:focus-visible { border-color: var(--azure); outline-offset: 1px; }
.choices { display: flex; flex-wrap: wrap; gap: 8px; }
.choice { position: relative; }
.choice input {
  position: absolute;
  opacity: 0;
  width: 1px; height: 1px;
}
.choice label {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 8px 16px;
  margin: 0;
  border: 1.5px solid #8B929B;
  border-radius: var(--r-pill);
  font-weight: 500;
  font-size: 15px;
  background: var(--white);
  cursor: pointer;
  transition: background-color var(--ease), border-color var(--ease), color var(--ease);
}
.choice input:checked + label {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--white);
}
.choice input:focus-visible + label {
  outline: 3px solid var(--azure);
  outline-offset: 3px;
}
.form-status {
  margin-top: 20px;
  padding: 16px 18px;
  border-radius: 12px;
  background: var(--pale);
  color: var(--ink);
  font-weight: 500;
}
.form-status[hidden] { display: none; }
.form-dev-note {
  margin-top: 16px;
  font-size: 13px;
  color: var(--muted);
}

/* ==========================================================================
   404
   ========================================================================== */
.notfound-actions { display: flex; flex-wrap: wrap; gap: 12px 20px; margin-top: 32px; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { border-top: 1px solid var(--hairline); }
.footer-inner { padding-top: 48px; padding-bottom: 56px; }
.footer-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 24px 32px;
  margin-bottom: 24px;
}
/* Footer logo: reversed "DRG of Texas" (white letters, copper star) */
.footer-logo { margin-bottom: 14px; }
.footer-logo img { width: auto; height: 64px; }
.footer-id p { font-size: 15px; color: var(--muted); }
.footer-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0 24px;
  max-width: 420px;
}
.footer-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 15px;
  font-weight: 500;
  color: var(--muted);
  text-decoration: none;
  transition: color var(--ease);
}
.footer-nav a:hover { color: var(--ink); text-decoration: underline; }
.footer-disclaimer {
  font-size: 14px;
  line-height: 1.6;
  color: var(--muted);
  max-width: 820px;
}

/* ==========================================================================
   Phase 1 redesign: header button + light hero band (Home, Book)
   ========================================================================== */
.btn-book { background: var(--azure); border-color: var(--azure); color: var(--white); font-weight: 600; }
.btn-book:hover { background: var(--azure-hover); border-color: var(--azure-hover); color: var(--white); }

.hero-band { background: var(--bg); border-bottom: 1px solid var(--hairline); margin-bottom: var(--section); }
.hero-band .hero { padding-bottom: clamp(48px, 6vw, 72px); }

/* Light row: "Talk It Through." on every page (was the Book row until 2026-10-26 (e)) */
.book-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 24px 40px;
  border-top: 2px solid var(--ink);
  padding-top: clamp(28px, 4vw, 40px);
}
.book-row p { margin-top: 12px; font-size: clamp(17px, 1.8vw, 19px); color: var(--muted); max-width: 640px; }

/* Line under the closing "Talk It Through." row */
.cta-after { margin-top: 24px; color: var(--muted); }

/* ==========================================================================
   Booking page (/book/)
   ========================================================================== */
.book-hero .page-intro { padding-bottom: clamp(48px, 6vw, 80px); }
.book-hero .eyebrow { margin-bottom: 16px; }

.book-layout { display: grid; gap: 32px; align-items: start; }
@media (min-width: 1024px) {
  .book-layout { grid-template-columns: minmax(0, 1fr) 360px; gap: 40px; }
  .book-side { position: sticky; top: 24px; }
}
.book-flow {
  background: var(--white);
  border: 1px solid var(--hairline);
  border-radius: var(--r-panel);
  padding: 24px 20px 32px;
}
@media (min-width: 768px) { .book-flow { padding: 36px 40px 44px; } }

.book-progress { display: flex; flex-wrap: wrap; gap: 8px 20px; counter-reset: bookstep; }
.book-progress li {
  counter-increment: bookstep;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.book-progress li::before {
  content: counter(bookstep);
  width: 28px; height: 28px;
  border-radius: 50%;
  border: 1.5px solid var(--hairline-strong);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  letter-spacing: 0;
  color: var(--text-2);
  background: var(--white);
}
.book-progress li.is-done::before { content: "✓"; background: var(--azure); border-color: var(--azure); color: var(--white); }
.book-progress li[aria-current="step"] { color: var(--ink); }
.book-progress li[aria-current="step"]::before { border-color: var(--ink); color: var(--ink); }

.book-step { border: 0; margin: 28px 0 0; padding: 28px 0 0; border-top: 1px solid var(--hairline); min-width: 0; }
.book-step legend { padding: 0; float: left; width: 100%; margin-bottom: 16px; }
.book-step legend + * { clear: both; }
.book-step-label { font-size: 13px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--azure-label); }

.option-grid { display: grid; gap: 12px; }
@media (min-width: 600px) {
  .option-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .option-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.option { position: relative; display: block; }
.option input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.option label {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-height: 44px;
  height: 100%;
  padding: 18px 20px;
  border: 1.5px solid var(--hairline-strong);
  border-radius: 14px;
  background: var(--white);
  cursor: pointer;
  transition: background-color var(--ease), border-color var(--ease), color var(--ease);
}
.option label strong { font-size: 17px; font-weight: 600; color: var(--ink); }
.option label span { font-size: 14px; color: var(--muted); }
.option label:hover { border-color: var(--ink); }
.option input:checked + label { background: var(--ink); border-color: var(--ink); }
.option input:checked + label strong { color: var(--white); }
.option input:checked + label span { color: var(--on-dark-muted); }
.option input:focus-visible + label { outline: 3px solid var(--azure); outline-offset: 3px; }

.book-note { margin-top: 12px; font-size: 15px; color: var(--muted); }

.stepper { display: inline-flex; align-items: center; gap: 8px; }
.stepper-btn {
  width: 44px; height: 44px;
  border: 1.5px solid var(--hairline-strong);
  border-radius: 12px;
  background: var(--white);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}
.stepper-btn:hover { border-color: var(--ink); }
.stepper input {
  width: 72px; height: 44px;
  text-align: center;
  font-size: 18px;
  font-weight: 600;
  border: 1.5px solid #8B929B;
  border-radius: 12px;
  background: var(--white);
  -moz-appearance: textfield;
}
.stepper input::-webkit-outer-spin-button,
.stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.book-step .warning { margin-bottom: 16px; }
.calendar-slot {
  min-height: 260px;
  border: 1.5px dashed var(--azure-label);
  border-radius: var(--r-card);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  overflow: hidden;
}
.calendar-empty {
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-2);
  max-width: 320px;
}

/* Availability calendar (step 4). Cells: available = pale fill + ink border; selected = ink;
   booked or closed = white, light border, struck through; unavailable = white, faint. */
.calendar-slot.is-live { display: block; min-height: 0; border: 0; padding: 0; overflow: visible; }
.cal-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.cal-title { font-size: 20px; font-weight: 600; letter-spacing: -0.01em; }
.cal-nav { display: flex; gap: 8px; }
.cal-nav button {
  width: 40px; height: 40px;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1.5px solid var(--hairline-strong);
  border-radius: 10px;
  background: var(--white);
  color: var(--ink);
  cursor: pointer;
  transition: border-color var(--ease);
}
.cal-nav button:hover:not(:disabled) { border-color: var(--ink); }
.cal-nav button:disabled { opacity: 0.35; cursor: default; }
.cal-grid {
  width: calc(100% + 6px);
  margin: 0 -3px;
  border-collapse: separate;
  border-spacing: 3px;
  table-layout: fixed;
}
.cal-grid th {
  padding: 0 0 4px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--muted);
  text-align: center;
}
.cal-grid td { padding: 0; }
.cal-day {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  aspect-ratio: 1 / 1;
  min-height: 36px;
  padding: 0;
  border: 1px solid var(--hairline-strong);
  border-radius: 6px;
  background: var(--white);
  font-size: 16px;
  font-variant-numeric: tabular-nums;
  line-height: 1;
  color: #8B929B;
  cursor: default;
  transition: background-color var(--ease), border-color var(--ease), color var(--ease);
}
.cal-day:focus-visible { outline: 3px solid var(--azure); outline-offset: 2px; position: relative; z-index: 1; }
.cal-day.is-open { background: var(--pale); border-color: var(--ink); color: var(--ink); font-weight: 700; cursor: pointer; }
.cal-day.is-open:hover { background: var(--sky); }
.cal-day.is-selected { background: var(--ink); border-color: var(--ink); color: var(--white); font-weight: 700; cursor: pointer; }
.cal-day.is-booked { color: var(--muted); text-decoration: line-through; text-decoration-thickness: 1.5px; }
@media (min-width: 600px) {
  .cal-grid { width: calc(100% + 12px); margin: 0 -6px; border-spacing: 6px; }
  .cal-grid th { font-size: 12px; }
  .cal-day { font-size: 17px; }
}
.cal-legend { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 14px; font-size: 14px; color: var(--muted); }
.cal-legend li { display: inline-flex; align-items: center; gap: 8px; }
.cal-swatch { width: 18px; height: 18px; border: 1px solid var(--hairline-strong); border-radius: 4px; background: var(--white); }
.cal-swatch.is-open { background: var(--pale); border-color: var(--ink); }
.cal-swatch.is-selected { background: var(--ink); border-color: var(--ink); }
.cal-swatch.is-booked { background: linear-gradient(to top right, transparent calc(50% - 0.75px), var(--muted) calc(50% - 0.75px), var(--muted) calc(50% + 0.75px), transparent calc(50% + 0.75px)), var(--white); }
.cal-status { margin-top: 12px; font-size: 15px; color: var(--muted); }
.cal-status:empty { display: none; }
.cal-status.is-error { padding: 16px 18px; border-radius: 12px; background: var(--pale); color: var(--ink); font-weight: 500; }

.cal-times { border: 0; margin: 24px 0 0; padding: 0; min-width: 0; }
.cal-times legend { padding: 0; margin-bottom: 12px; font-weight: 600; font-size: 16px; }
.cal-times .option[hidden] { display: none; }
.book-contact { margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--hairline); }
.book-contact[hidden], .cal-times[hidden], .book-done[hidden], .calendar-slot[hidden] { display: none; }
.cal-picked { margin-bottom: 20px; font-weight: 600; }
.book-contact input[aria-invalid="true"] { border-width: 2px; border-color: var(--ink); }
.book-turnstile { margin-bottom: 20px; min-height: 65px; }
.book-done { padding: 24px; border-radius: var(--r-card); background: var(--pale); }
.book-done h3 { font-size: 22px; margin-bottom: 10px; }
.book-done p + p { margin-top: 10px; }
.book-done:focus { outline: none; }

/* Booking details (/book/details/): parties, attorneys, and case status */
.details-warning { margin-top: 28px; }
.details-missing .form-status { margin-top: 28px; }
.details-intro { margin: 0 0 20px; }
.form-field input[type="date"] {
  min-height: 48px;
  padding: 12px 14px;
  background: var(--white);
  border: 1.5px solid #8B929B;
  border-radius: 12px;
  font-size: 17px;
}
.form-field input[type="date"]:focus-visible { border-color: var(--azure); outline-offset: 1px; }
.details-sub { padding-left: 16px; border-left: 2px solid var(--hairline-strong); margin-bottom: 22px; }
.details-sub[hidden], .details-missing[hidden], #details-body[hidden], .party-add[hidden] { display: none; }
.party-list { display: grid; gap: 16px; margin-bottom: 16px; }
.party-card { padding: 20px; border: 1.5px solid var(--hairline-strong); border-radius: var(--r-card); background: var(--white); }
@media (min-width: 768px) { .party-card { padding: 24px 28px; } }
.party-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.party-title { font-size: 18px; }
.party-remove {
  min-height: 44px;
  padding: 0 4px;
  border: 0;
  background: none;
  color: var(--azure);
  font-size: 15px;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}
.party-mine { padding-top: 4px; }
.party-add { width: 100%; }
@media (min-width: 600px) { .party-add { width: auto; } }
.form-field.is-invalid input[type="text"],
.form-field.is-invalid input[type="email"],
.form-field.is-invalid input[type="tel"],
.form-field.is-invalid input[type="date"] { border-width: 2px; border-color: var(--ink); }
.form-field.is-invalid .choice label, .party-mine.is-invalid .choice label { border-color: var(--ink); border-width: 2px; }
.field-error { margin-top: 6px; font-size: 14px; font-weight: 600; color: var(--ink); }
.field-error::before { content: "! "; }
.details-send .form-status { margin-top: 16px; }

.book-summary {
  background: var(--white);
  border: 1px solid var(--hairline);
  border-radius: var(--r-card);
  padding: 28px;
}
.book-summary h2, .book-next h2 { font-size: 22px; letter-spacing: -0.02em; line-height: 1.2; margin-bottom: 14px; }
.book-summary dl div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 0;
  border-bottom: 1px solid var(--hairline);
}
.book-summary dt { color: var(--muted); font-size: 15px; }
.book-summary dd { margin: 0; font-weight: 600; text-align: right; }
.book-summary .sum-total { border-bottom: 0; padding-top: 14px; }
.book-summary .sum-total dd { font-size: 26px; letter-spacing: -0.02em; line-height: 1.1; }
.book-next { margin-top: 20px; background: var(--pale); border-radius: var(--r-card); padding: 28px; }
.book-next ol { list-style: decimal; padding-left: 1.2em; }
.book-next li { color: var(--text-2); }
.book-next li + li { margin-top: 10px; }
.book-questions { margin-top: 16px; color: var(--muted); }

/* ==========================================================================
   Scroll reveal: blocks fade and slide up as they enter the viewport.
   main.js adds .reveal-ready to <html> when it starts watching, then
   .is-visible per block (its selector list must match this one). If the
   script never runs, nothing is hidden. Off under prefers-reduced-motion.
   ========================================================================== */
.reveal-ready :is(.hero-copy > *, .hero-person, .page-intro > *, .section-head, .split-aside, .compare-wrap,
  .step, .phase, .rows-list li, .rows-note, .why-grid li, .book-row, .book-flow, .book-side > *, .process-head > *, .process-aside, .process-step, .faq-item, .fit, .service-row, .service-compact, .callout, .cta,
  .fee-tile, .fee-notes, .fee-book, .band-photo, .rows-head, .hairline-list li, .list-footnote, .term-card,
  .about-main > *, .mediator-card, .resource-card, .short-answer, .topic-row, .panel, .prose > *) {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 750ms cubic-bezier(.2, .7, .2, 1), transform 750ms cubic-bezier(.2, .7, .2, 1);
}
.reveal-ready :is(.hero-copy > *, .hero-person, .page-intro > *, .section-head, .split-aside, .compare-wrap,
  .step, .phase, .rows-list li, .rows-note, .why-grid li, .book-row, .book-flow, .book-side > *, .process-head > *, .process-aside, .process-step, .faq-item, .fit, .service-row, .service-compact, .callout, .cta,
  .fee-tile, .fee-notes, .fee-book, .band-photo, .rows-head, .hairline-list li, .list-footnote, .term-card,
  .about-main > *, .mediator-card, .resource-card, .short-answer, .topic-row, .panel, .prose > *).is-visible {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  .reveal-ready :is(.hero-copy > *, .hero-person, .page-intro > *, .section-head, .split-aside, .compare-wrap,
  .step, .phase, .rows-list li, .rows-note, .why-grid li, .book-row, .book-flow, .book-side > *, .process-head > *, .process-aside, .process-step, .faq-item, .fit, .service-row, .service-compact, .callout, .cta,
  .fee-tile, .fee-notes, .fee-book, .band-photo, .rows-head, .hairline-list li, .list-footnote, .term-card,
  .about-main > *, .mediator-card, .resource-card, .short-answer, .topic-row, .panel, .prose > *) { opacity: 1; transform: none; transition: none; }
}

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

/* ==========================================================================
   Color pass (owner, 2026-10-26): fewer plain-white areas. Styling only; no content changes.
   ========================================================================== */
/* Soft blue wash behind the header and the top of every page (hero / page intro) */
body { background: linear-gradient(180deg, #DCE5EE 0, #EEF2F6 380px, var(--bg) 720px) no-repeat; }
.hero-band { background: transparent; border-bottom-color: var(--hairline-strong); }

/* Chips pick up the accent */
.chip { background: var(--pale); border-color: #CFDAE5; color: var(--azure); }

/* "Why Hire Michael" icons: solid navy tiles */
.why-icon { background: var(--azure); color: var(--white); }

/* Light row: blue panel */
.book-row {
  background: var(--sky);
  border-top: 0;
  border-left: 6px solid var(--amber);
  border-radius: var(--r-panel);
  padding: clamp(28px, 4vw, 44px) clamp(24px, 4vw, 48px);
}
.book-row p { color: var(--text-2); }

/* Dark panel ("Book Online In Minutes" on Home, Disputes, and the bio): navy-to-accent gradient with an amber edge */
.cta { background: linear-gradient(120deg, var(--ink) 0%, #123A5E 60%, var(--azure) 100%); box-shadow: inset 0 6px 0 var(--amber); }

/* Navy footer */
.site-footer { background: var(--ink); border-top: 0; color: var(--on-dark-muted); }
.site-footer .footer-id p,
.site-footer .footer-disclaimer { color: var(--on-dark-muted); }
.site-footer .footer-nav a { color: var(--on-dark-muted); }
.site-footer .footer-nav a:hover { color: var(--white); }
.site-footer :focus-visible { outline-color: var(--azure-on-dark); }
.footer-disclaimer { border-top: 1px solid var(--ink-line); padding-top: 24px; }

/* Fees: tinted note box and term cards (were white with a hairline) */
.fee-notes { background: var(--pale); border-color: var(--pale); border-left: 6px solid var(--amber); }
.term-card { background: var(--pale); border-color: var(--pale); }

/* ==========================================================================
   2026-10-26 (c): Disputes page (jump links, How It Works band, wide photo) and Fees & Booking tiles
   ========================================================================== */
.jump-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.jump-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: var(--r-pill);
  background: var(--white);
  border: 1px solid #CFDAE5;
  color: var(--azure);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: background var(--ease), color var(--ease);
}
.jump-links a:hover { background: var(--azure); border-color: var(--azure); color: var(--white); }
.pale-band + .process { margin-top: var(--section); }
.hiw-head { align-self: center; margin-bottom: 0; }
.hiw-head .rows-intro { font-size: clamp(18px, 1.9vw, 21px); line-height: 1.55; color: var(--text-2); }
.wide-photo { margin-block: 0; }
.wide-photo img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: var(--r-panel);
}
@media (min-width: 1024px) { .wide-photo img { aspect-ratio: 21 / 8; } }
.fee-cta { margin-top: 24px; }
.fee-cta .btn { width: 100%; justify-content: center; }

/* 2026-10-26 (d): photo bands and larger fee tiles */
/* Home "What We Mediate": text runs the full column; the photo matches the text height. */
.split--photo .rows-intro,
.split--photo .rows-list p { max-width: none; }
@media (min-width: 1024px) {
  .split--photo .band-photo { aspect-ratio: auto; align-self: stretch; position: relative; min-height: 420px; }
  .split--photo .band-photo img { position: absolute; inset: 0; }
  /* /disputes/ "How It Works": photo and text share the width evenly */
  .split--even { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: center; }
  .split--even .band-photo { aspect-ratio: 4 / 3; }
}
.split--even .rows-intro { max-width: 560px; }

/* Fee tiles: taller, portrait cards that read as the main choice on /book/ */
.fee-tile { box-shadow: 0 18px 40px -24px rgba(11, 42, 71, 0.45); }
.fee-tile:not(.fee-tile--sky):not(.fee-tile--ink) { background: var(--white); border: 1px solid var(--hairline-strong); }
.fee-tile h2 { font-size: clamp(22px, 2.2vw, 26px); letter-spacing: 0.04em; color: var(--azure); }
.fee-tile--ink h2 { color: var(--azure-on-dark); }
.fee-hours { font-size: 18px; font-weight: 600; }
.fee-cta .btn { min-height: 56px; font-size: 18px; }
@media (min-width: 1024px) {
  .fee-tiles { gap: 28px; }
  .fee-tile { min-height: 560px; padding: 48px 40px; }
}
