/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: var(--tap-target);
  padding: var(--space-2) var(--space-4);
  font-family: var(--font-body);
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-bold);
  line-height: var(--line-height-tight);
  text-align: center;
  text-decoration: none;
  border-radius: var(--radius);
  box-shadow: none;
  cursor: pointer;
  /* States (link audit fix #11): colors fade, and a pressed button dips slightly. Instant under reduced motion
     (base.css). */
  transition:
    background-color var(--btn-fade) ease-out,
    border-color var(--btn-fade) ease-out,
    color var(--btn-fade) ease-out,
    transform var(--btn-fade) ease-out;
}
.btn:active { transform: scale(var(--btn-press-scale)); }
.btn--primary {
  background: var(--button-bg);
  color: var(--button-text);
  border: var(--border-width) solid var(--button-bg);
}
/* Under the mouse (mouse only, so a tap never leaves a button highlighted) and pressed: maroon */
@media (hover: hover) {
  .btn--primary:hover { background: var(--button-bg-hover); border-color: var(--button-bg-hover); color: var(--button-text); }
}
.btn--primary:active { background: var(--button-bg-hover); border-color: var(--button-bg-hover); color: var(--button-text); }
.btn--primary:focus-visible { outline: var(--focus-width) solid var(--focus-ring); outline-offset: var(--focus-offset); }

/* Red on charcoal is only about 1.9:1, so add a visible edge on dark sections */
.section--dark .btn--primary { border-color: var(--color-blush); }
.section--dark .btn--primary:focus-visible { outline-color: var(--color-white); }

/* Outline buttons: a light blush wash under the mouse and while pressed (red text on it stays over 7:1) */
.btn--secondary { background: transparent; color: var(--link); border: var(--border-width) solid var(--link); }
@media (hover: hover) {
  .btn--secondary:hover { background: var(--button-tint); color: var(--link-hover); border-color: var(--link-hover); }
  .section--dark .btn--secondary:hover { background: var(--hero-about-tint); color: var(--color-blush); border-color: var(--color-blush); }
}
.btn--secondary:active { background: var(--button-tint); }
.section--dark .btn--secondary { color: var(--text-on-dark); border-color: var(--text-on-dark); }
.section--dark .btn--secondary:active { background: var(--hero-about-tint); }

/* Rounded ends for an outline "Call Now!" beside a "Schedule a Consultation" pill, so the pair matches (link
   audit fix #15): the home hero, the row after practice-area copy, attorney profiles, and the closing band */
.btn--pill { border-radius: var(--radius-pill); white-space: nowrap; }

/* Phone numbers inside "Call Now!" labels line up digit for digit */
.btn[href^="tel:"] { font-variant-numeric: tabular-nums; }

@media (min-width: 48em) {
  .btn { width: auto; }
  /* A lone button in a stacked column sizes to its text instead of stretching */
  .stack > .btn { align-self: flex-start; }
}

/* ---------- Header and navigation ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: var(--z-header);
  background: var(--bg);
}
/* Thin brand rule along the top edge (--gradient-rule is allowed on 3px lines) */
.site-header::before {
  content: "";
  display: block;
  height: var(--rule-height);
  background: var(--gradient-rule);
}
.site-header__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-2) var(--header-gap);
  min-height: var(--header-height);
  padding-block: var(--space-2);
}
.site-header__brand {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0; /* never squeeze the logo: img max-width would cap its width and distort it */
  min-height: var(--tap-target);
  margin-inline-start: calc(-1 * var(--logo-overhang)); /* "FOX FIRM" on the shared left edge (tokens.css) */
  margin-right: auto;
  border-radius: var(--radius);
}

.logo {
  width: auto;
  height: var(--logo-height);
}

/* Slimmer bar after scrolling (main.js adds .is-condensed past the top of the page, and removes it near the top
   again): shorter, with the logo at 80%, still on the shared left edge. --header-height is overridden on the
   header itself, so the open phone menu, which hangs from it, follows. It eases between sizes, or switches at
   once under reduced motion. Without JavaScript the header keeps its full size. */
.site-header.is-condensed { --header-height: var(--header-height-condensed); }
.site-header.is-condensed .site-header__inner { padding-block: var(--header-pad-condensed); }
.site-header.is-condensed .logo { height: var(--logo-height-condensed); }
.site-header.is-condensed .site-header__brand { margin-inline-start: calc(-1 * var(--logo-overhang-condensed)); }
@media (prefers-reduced-motion: no-preference) {
  .site-header__inner { transition: min-height var(--nav-fade) var(--nav-ease), padding-block var(--nav-fade) var(--nav-ease); }
  .site-header__brand { transition: margin-inline-start var(--nav-fade) var(--nav-ease); }
  .logo { transition: height var(--nav-fade) var(--nav-ease); }
}

/* Desktop's contact action (hidden on phones and tablets, where the "Call Now!" pill takes its place): the number
   as plain text to read and dial, then the "Schedule a Consultation" pill on the right edge */
.site-header__phone,
.site-header__consult { display: none; }
.site-header__phone {
  align-items: center;
  min-height: var(--tap-target);
  color: var(--text);
  font-size: var(--font-size-nav);
  font-weight: var(--font-weight-bold);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  text-decoration: none;
  border-radius: var(--radius);
}
.site-header__phone:hover { color: var(--link); }

/* Header medallion: the menu button echoes the logo's "FF" medallion. White face, gold outer ring
   (5.3:1 on white, so the edge meets 3:1), a thin light-gold inner ring, and a red icon like the logo's
   letters. Hover fills it red with a white icon; the gold rings stay. */
.nav-toggle {
  position: relative;
  background: var(--bg);
  color: var(--link);
  border: var(--border-width) solid var(--color-gold);
  border-radius: 50%;
}
.nav-toggle::before {
  content: "";
  position: absolute;
  inset: var(--medallion-ring-inset);
  border: var(--border-width) solid var(--color-gold-light);
  border-radius: 50%;
  pointer-events: none;
}
.nav-toggle:hover { background: var(--button-bg); color: var(--button-text); }

/* Icon-only menu button (its name comes from aria-label). The shorter middle bar echoes the hero's
   staggered lockup. */
.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: var(--nav-toggle-size);
  height: var(--nav-toggle-size);
  padding: 0;
  cursor: pointer;
}
.nav-toggle:focus-visible { outline: var(--focus-width) solid var(--focus-ring); outline-offset: var(--focus-offset); }
.nav-toggle__icon { width: var(--nav-toggle-icon-size); height: var(--nav-toggle-icon-size); }
.nav-toggle__icon--close,
.nav-toggle[aria-expanded="true"] .nav-toggle__icon--open { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle__icon--close { display: block; }
.js .nav-toggle { display: inline-flex; }

/* Without JavaScript the nav is a plain visible list of links on its own row */
.site-nav { flex-basis: 100%; order: 1; }
.js .site-nav { order: 0; }
.site-nav__list {
  display: flex;
  flex-wrap: wrap;
  gap: 0 var(--space-4);
  margin: 0;
  padding: 0;
  list-style: none;
}
.site-nav__link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  min-height: var(--tap-target);
  color: var(--text);
  font-weight: var(--font-weight-medium);
  white-space: nowrap;
  text-decoration: none;
  text-decoration-thickness: var(--border-width-strong);
  text-underline-offset: var(--underline-offset);
  border-radius: var(--radius);
}
.site-nav__link[aria-current="page"] { color: var(--link); text-decoration-line: underline; }
.site-nav__caret { flex: none; width: var(--nav-caret-size); height: var(--nav-caret-size); }

/* Dropdowns. Phones and tablets: the open full-screen menu shows only the main tabs. A tab with sub-pages
   gets an arrow button beside it (main.js); pressing it lists that tab's sub-pages under it, indented on a
   stone rule. Without JavaScript they stay hidden on small screens (each tab's own page links to them), so
   the plain nav list stays short. */
.site-nav__panel { display: none; }
.site-nav__expand { display: none; }
.js .site-nav.is-open .site-nav__item--menu.is-expanded > .site-nav__panel { display: block; padding-block-end: var(--space-3); }
.js .site-nav.is-open .site-nav__caret { display: none; }
.site-nav__sheet {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  padding-inline-start: var(--space-3);
  border-inline-start: var(--border-width-strong) solid var(--border-color);
}
.site-nav__groups { display: flex; flex-direction: column; gap: var(--space-3); }
.site-nav__group { display: flex; flex-direction: column; gap: var(--space-2); }
.site-nav__sublist { display: grid; margin: 0; padding: 0; list-style: none; }
/* Gold seam under each practice area heading (requested exception): the same seam as between sections,
   as wide as the heading's wording and centered in the gap between the heading and its services, so each
   area reads as its own section on phones and tablets. The wording's box runs the heading's full height, so
   the seam measures from the heading's bottom edge. It lets taps through. */
.site-nav__group-link > span { position: relative; display: flex; align-items: center; align-self: stretch; }
.site-nav__group-link > span::after {
  content: "";
  position: absolute;
  top: calc(100% + (var(--space-2) - var(--seam-height)) / 2);
  inset-inline: 0;
  height: var(--seam-height);
  background: var(--seam);
  pointer-events: none;
}

/* Group heading: the practice area's own page, in red Cormorant with an arrow, a step larger than the links
   under it so the list scans by area */
.site-nav__group-link {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: var(--space-2);
  min-height: var(--tap-target);
  padding-inline: var(--space-3); /* same inset as the links below, so the text shares their left edge */
  color: var(--link);
  font-family: var(--font-display);
  font-size: var(--font-size-nav-heading);
  font-weight: var(--font-weight-bold);
  line-height: var(--line-height-tight);
  letter-spacing: var(--letter-spacing-heading);
  text-decoration: none;
  border-radius: var(--radius);
}
.site-nav__group-link::after,
.site-nav__all::after { content: "→" / ""; }
/* "All practice areas", "Meet the whole team": the first row of a tab's list in the phone menu, linking to the
   tab's own page (the tab itself opens the list there). Desktop hides it: the tab links to that page. */
.site-nav__sublink.site-nav__all { flex-direction: row; justify-content: flex-start; align-items: center; gap: var(--space-2); }
.site-nav__sublink.site-nav__all--end { display: none; } /* desktop's copy, at the foot of the sheet */
/* A plain group label (no page of its own), on the same inset as the links under it */
.site-nav__group-label { padding-inline: var(--space-3); }

/* Sub-page link: a full-width row with a gold bar on its left edge that grows in while highlighted */
.site-nav__sublink {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: var(--tap-target);
  padding: var(--space-2) var(--space-3);
  color: var(--text);
  font-weight: var(--font-weight-medium);
  line-height: var(--line-height-tight);
  white-space: nowrap;
  text-decoration: none;
  border-radius: var(--radius);
}
.site-nav__sublink::before {
  content: "";
  position: absolute;
  inset-block: var(--space-2);
  inset-inline-start: 0;
  width: var(--nav-accent-width);
  background: var(--color-gold);
  border-radius: var(--radius);
  scale: 1 0;
}
.site-nav__sublink-meta { margin-top: var(--space-1); color: var(--text-muted); font-size: var(--font-size-small); font-weight: var(--font-weight-regular); font-variant-numeric: tabular-nums; }
.site-nav__sublink[aria-current="page"] { color: var(--link); font-weight: var(--font-weight-bold); }
/* A plain row with no page (staff with bio_page: false): no hover or press highlight */
.site-nav__sublink--static { pointer-events: none; }
.site-nav__sublink[aria-current="page"]::before { scale: 1; }
.site-nav__group-link[aria-current="page"] { color: var(--link); }

/* Highlights. Under the mouse: tabs take a light blush wash with red text; dropdown rows a quieter paper
   wash with red text (mouse only, so a tap never leaves them lit). Pressed: the deeper action red with white
   text, on every device. */
@media (hover: hover) and (pointer: fine) {
  .site-nav__link:hover,
  .site-nav__item--menu:hover > .site-nav__link { background: var(--nav-hover-bg); color: var(--link); }
  .site-nav__group-link:hover,
  .site-nav__sublink:hover { background: var(--nav-row-hover-bg); color: var(--link); }
  .site-nav__sublink:hover::before { scale: 1; }
}
.site-nav__link:active,
.site-nav__item--menu > .site-nav__link:active,
.site-nav__group-link:active,
.site-nav__sublink:active { background: var(--nav-press-bg); color: var(--button-text); }
.site-nav__sublink:active::before { scale: 1 0; }
.site-nav__sublink:active .site-nav__sublink-meta { color: var(--color-rose); }
@media (prefers-reduced-motion: no-preference) {
  .site-nav__link,
  .site-nav__group-link,
  .site-nav__sublink {
    transition: background-color var(--nav-tint-fade) var(--nav-ease), color var(--nav-tint-fade) var(--nav-ease);
  }
  .site-nav__sublink::before { transition: scale var(--nav-fade) var(--nav-ease); }
  .site-nav__caret { transition: rotate var(--nav-fade) var(--nav-ease); }
}

/* Mobile and tablet: full-screen menu below the header */
.js .site-nav { display: none; }
.js .site-nav.is-open {
  position: fixed;
  inset: calc(var(--header-height) + var(--rule-height)) 0 0 0;
  z-index: var(--z-menu);
  display: block;
  padding: var(--space-4) var(--gutter);
  overflow-y: auto;
  overflow-x: hidden; /* the pill's pulse rings spread past this padding on phones; the panel scrolled sideways while they played (see layout.css) */
  background: var(--bg);
  box-shadow: var(--shadow-overlay);
}
.js .site-nav.is-open .site-nav__list { flex-direction: column; gap: 0; }
.js .site-nav.is-open .site-nav__item { border-bottom: var(--border-width) solid var(--border-color); }
/* The highlight runs past the text into the gutter, so the text stays on the shared left edge */
.js .site-nav.is-open .site-nav__link {
  display: flex;
  margin-inline: calc(-1 * var(--space-2));
  padding: var(--space-3) var(--space-2);
  font-family: var(--font-display);
  font-size: var(--font-size-h3);
  font-weight: var(--font-weight-bold);
  letter-spacing: var(--letter-spacing-heading);
}
/* A tab with sub-pages: the whole row is a button that opens them (the tab's own link is set aside here, so a
   tap anywhere on the row opens the list instead of leaving the page). Same type, spacing, and highlight as
   the link rows, with the arrow at the right edge. */
.js .site-nav.is-open .site-nav__item--menu > .site-nav__link { display: none; }
.js .site-nav.is-open .site-nav__expand {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  width: calc(100% + 2 * var(--space-2));
  min-height: var(--tap-target);
  margin-inline: calc(-1 * var(--space-2));
  padding: var(--space-3) var(--space-2);
  color: var(--text);
  font-family: var(--font-display);
  font-size: var(--font-size-h3);
  font-weight: var(--font-weight-bold);
  letter-spacing: var(--letter-spacing-heading);
  line-height: inherit;
  text-align: start;
  background: none;
  border: 0;
  border-radius: var(--radius);
  cursor: pointer;
}
.js .site-nav.is-open .site-nav__expand--current { color: var(--link); }
.site-nav__expand--current > span {
  text-decoration: underline;
  text-decoration-thickness: var(--border-width-strong);
  text-underline-offset: var(--underline-offset);
}
.site-nav__expand-icon { width: var(--nav-expand-icon-size); height: var(--nav-expand-icon-size); }
.js .site-nav.is-open .site-nav__expand[aria-expanded="true"] { color: var(--link); }
.site-nav__expand[aria-expanded="true"] .site-nav__expand-icon { rotate: 180deg; }
@media (hover: hover) and (pointer: fine) {
  .js .site-nav.is-open .site-nav__expand:hover { background: var(--nav-hover-bg); color: var(--link); }
}
.js .site-nav.is-open .site-nav__expand:active { background: var(--nav-press-bg); color: var(--button-text); }
@media (prefers-reduced-motion: no-preference) {
  .site-nav__expand { transition: background-color var(--nav-tint-fade) var(--nav-ease), color var(--nav-tint-fade) var(--nav-ease); }
  .site-nav__expand-icon { transition: rotate var(--nav-fade) var(--nav-ease); }
  /* The sub-pages fade in and settle into place as the arrow opens them */
  .js .site-nav.is-open .site-nav__item--menu.is-expanded > .site-nav__panel { animation: nav-reveal var(--nav-fade) var(--nav-ease); }
}
@keyframes nav-reveal { from { opacity: 0; translate: 0 calc(-1 * var(--nav-lift)); } }

/* The open phone and tablet menu ends with the ways to get in touch: the "Schedule a Consultation" pill, both
   offices, and the hours (the "Call Now!" pill stays in view in the header above). Hidden without JavaScript
   (the plain nav list stays short; the footer carries the same details) and on desktop. */
.site-nav__contact { display: none; }
.js .site-nav.is-open .site-nav__contact {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
  padding-block: var(--space-5) var(--space-3);
}
.site-nav__actions { display: flex; flex-direction: column; gap: var(--space-3); }
.site-nav__details { display: grid; gap: var(--space-4); }
.site-nav__detail { display: flex; flex-direction: column; gap: var(--space-2); }
/* Small gold eyebrow labels in the menu: "Offices", "Hours", and the Our Team groups ("Attorneys", "Staff") */
.site-nav__label {
  color: var(--color-gold); /* eyebrow gold on white, 5.3:1 */
  font-family: var(--font-display);
  font-size: var(--font-size-eyebrow);
  font-weight: var(--font-weight-bold);
  letter-spacing: var(--letter-spacing-eyebrow);
  text-transform: uppercase;
}

@media (min-width: 48em) {
  .js .site-nav.is-open { padding-inline: max(var(--gutter), (100% - var(--container-max)) / 2 + var(--gutter)); }
  .site-nav__actions { flex-direction: row; flex-wrap: wrap; }
  .site-nav__details { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 64em) {
  .site-header__inner { flex-wrap: nowrap; }
  .site-nav,
  .js .site-nav,
  .js .site-nav.is-open {
    position: static;
    display: block;
    flex-basis: auto;
    order: 0;
    padding: 0;
    overflow: visible;
    box-shadow: none;
  }
  .js .nav-toggle { display: none; }
  /* The nav fills the header row's height so each tab's hover area reaches the row's bottom edge */
  .site-header__inner { position: relative; }
  .site-nav,
  .js .site-nav,
  .js .site-nav.is-open { align-self: stretch; }
  .site-nav__list,
  .js .site-nav.is-open .site-nav__list { flex-direction: row; flex-wrap: nowrap; gap: 0; height: 100%; }
  .site-nav__item { position: relative; display: flex; align-items: center; }
  /* A tab with menu_only in site.md shows in the phone and tablet menu only (none uses it since 2026-11-23, when
     Contact became a desktop tab again) */
  .site-nav__item--menu-only { display: none; }
  .site-nav__link { position: relative; padding-inline: var(--nav-tab-pad); font-size: var(--font-size-nav); }

  /* Right edge: the number as text, then the "Schedule a Consultation" pill, in place of the "Call Now!" pill */
  .site-header__call { display: none; }
  .site-header__phone { display: inline-flex; }
  .site-header__consult {
    display: inline-flex;
    width: auto;
    min-height: var(--nav-toggle-size); /* the same height as the "Call Now!" pill it replaces */
    padding-inline: var(--header-consult-pad);
    font-size: var(--font-size-nav);
  }

  /* Tabs: a thin gold line, echoing the logo's gold rules, grows from the center under the tab's text while
     the mouse is over the tab or its dropdown is open (no box behind the text). The current section keeps the
     line in red, in place of an underline. */
  .site-nav__link[aria-current="page"] { text-decoration-line: none; }
  .site-nav__link::after {
    content: "";
    position: absolute;
    inset-inline: var(--nav-tab-pad);
    bottom: 0;
    height: var(--nav-tab-line);
    background: var(--color-gold);
    border-radius: var(--radius-pill);
    scale: 0 1;
  }
  .site-nav__link[aria-current="page"]::after { scale: 1; background: var(--link); }
  .site-nav__item:hover > .site-nav__link::after,
  .site-nav__item--menu.is-expanded > .site-nav__link::after,
  :root:not(.js) .site-nav__item--menu:focus-within > .site-nav__link::after { scale: 1; }
  .site-nav__link:active::after { scale: 0 1; } /* pressed: the red fill says it all */

  /* The tab's own page as the last row of its dropdown ("All practice areas", "Meet the whole team"); the
     phone menu's copy at the top is hidden here */
  .site-nav__sublink.site-nav__all--start { display: none; }
  .site-nav__sublink.site-nav__all--end { display: flex; border-top: var(--border-width) solid var(--border-color); }

  /* Keyboard access (W3C disclosure navigation with top-level links): each tab with a dropdown stays a link,
     and a small arrow button beside it opens the list. Tabbing moves tab to tab and never through the lists,
     unless the visitor opens one. The button's text is read by screen readers only ("Practice Areas menu").
     Tab and arrow turn red together. Without JavaScript there is no button: the arrow
     stays inside the link and the list opens with keyboard focus, as before. */
  .js .site-nav__caret { display: none; }
  .js .site-nav__item--menu > .site-nav__link {
    padding-inline-end: 0;
    border-start-end-radius: 0;
    border-end-end-radius: 0;
  }
  .js .site-nav__item--menu > .site-nav__link::after { inset-inline-end: 0; } /* the line ends with the text */
  .js .site-nav__expand {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: var(--tap-target);
    min-height: var(--tap-target);
    padding: 0;
    color: var(--text);
    background: none;
    border: 0;
    border-radius: 0 var(--radius) var(--radius) 0;
    cursor: pointer;
  }
  .js .site-nav__expand--current { color: var(--link); }
  .site-nav__expand-label {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
  }
  .site-nav__expand--current > .site-nav__expand-label { text-decoration: none; }
  .js .site-nav__expand .site-nav__expand-icon { width: var(--nav-caret-size); height: var(--nav-caret-size); }
  .js .site-nav__expand:active { background: var(--nav-press-bg); color: var(--button-text); }

  /* An open tab (mouse over it, its arrow pressed, or, without JavaScript, keyboard focus inside) keeps its
     red text and gold line while its dropdown shows */
  .site-nav__item--menu.is-expanded > :is(.site-nav__link, .site-nav__expand),
  :root:not(.js) .site-nav__item--menu:focus-within > .site-nav__link { color: var(--link); }

  /* Dropdown: a white sheet that floats just below the header on the overlay shadow (allowed for dropdowns),
     capped with the 3px gold rule. It opens while the mouse is over the tab or the sheet, or once the tab's
     arrow button is pressed (without JavaScript, while keyboard focus is inside), and lifts gently into place.
     The panel's transparent top padding bridges the gap from the tab to the sheet, so the mouse never leaves
     the tab on the way down; closing waits a moment so a diagonal path doesn't snap it shut. */
  .site-nav__panel,
  .js .site-nav.is-open .site-nav__panel {
    position: absolute;
    top: 100%;
    /* Shifted so the link text inside lines up with the tab's text: sheet padding + border + link padding,
       less the tab's own padding */
    left: var(--nav-panel-shift);
    z-index: var(--z-menu);
    display: block;
    padding-block: calc(var(--space-2) + var(--nav-panel-gap)) 0; /* tab bottom → header edge (row padding) → gap */
    font-size: var(--font-size-nav-row);
    visibility: hidden;
    opacity: 0;
    translate: 0 var(--nav-lift);
    transition: visibility 0s linear var(--nav-close-delay);
  }
  /* Tabs at the end of the row open toward the left, so the sheet stays on screen */
  .site-nav__item:nth-last-child(-n + 2) > .site-nav__panel { left: auto; right: var(--nav-panel-shift); }
  .site-nav__item--menu:is(:hover, .is-expanded) > .site-nav__panel,
  :root:not(.js) .site-nav__item--menu:focus-within > .site-nav__panel {
    visibility: visible;
    opacity: 1;
    translate: 0;
    transition-delay: 0s;
  }
  /* Hover intent: the mouse rests on the tab for --nav-open-delay first, so a mouse passing over the header
     doesn't flash menus open. The arrow button, keyboard focus, and moving straight from one open dropdown to
     another tab (.is-switching) open at once. */
  .site-nav__item--menu:hover > .site-nav__panel { transition-delay: var(--nav-open-delay); }
  .site-nav__item--menu.is-expanded > .site-nav__panel,
  :root:not(.js) .site-nav__item--menu:focus-within > .site-nav__panel,
  .site-nav__list.is-switching > .site-nav__item--menu:hover > .site-nav__panel { transition-delay: 0s; }
  /* Escape (main.js) dismisses a sheet opened by the mouse until the mouse leaves the tab */
  .site-nav__item--menu.is-dismissed > .site-nav__panel { visibility: hidden; opacity: 0; }
  .site-nav__item--menu:hover > .site-nav__link .site-nav__caret,
  :root:not(.js) .site-nav__item--menu:focus-within > .site-nav__link .site-nav__caret { rotate: 180deg; }
  .site-nav__item--menu.is-dismissed > .site-nav__link .site-nav__caret { rotate: 0deg; }

  /* The sheet: a plain white list under the gold cap, one quiet row per page, rows split by 1px stone lines */
  .site-nav__sheet {
    position: relative;
    gap: 0;
    min-width: var(--nav-panel-min);
    padding: var(--rule-height) 0 0;
    background: var(--bg);
    border: var(--border-width) solid var(--border-color);
    border-radius: var(--radius);
    box-shadow: var(--shadow-overlay);
  }
  .site-nav__sheet::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: var(--rule-height);
    background: var(--gradient-rule);
    border-radius: calc(var(--radius) - var(--border-width)) calc(var(--radius) - var(--border-width)) 0 0;
  }
  .site-nav__sheet .site-nav__sublist { display: block; }
  .site-nav__sheet .site-nav__sublist > li + li,
  .site-nav__group + .site-nav__group { border-top: var(--border-width) solid var(--border-color); }
  .site-nav__sublink,
  .site-nav__group-link {
    min-height: var(--tap-target);
    padding: var(--space-2) var(--space-3);
    font-size: var(--font-size-nav-row);
    font-weight: var(--font-weight-regular);
    border-radius: 0;
  }
  .site-nav__sublink-meta { margin-top: 0; }
  /* Blog: article titles run long, so the sheet keeps to a set width and a title wraps onto a second line
     (2026-11-23: unwrapped, the longest title pushed the sheet off the left of the screen at 1024px) */
  .site-nav__sheet--wrap { width: var(--nav-panel-max); }
  .site-nav__sheet--wrap .site-nav__sublink { white-space: normal; }
  .site-nav__sheet--wrap .site-nav__sublink-meta { white-space: nowrap; }
  /* A row with a detail (a person's role, an article's date): name on the left, detail in small gray on the right */
  .site-nav__sublink:has(.site-nav__sublink-meta) {
    flex-direction: row;
    justify-content: space-between;
    align-items: baseline;
    gap: var(--space-5);
  }

  /* Our Team: groups stacked ("Attorneys", then "Staff"), each under a small gold label */
  .site-nav__groups { gap: 0; }
  .site-nav__group { gap: 0; }
  .site-nav__group-label {
    padding: var(--space-3) var(--space-3) var(--space-2);
    border-bottom: var(--border-width) solid var(--border-color);
  }

  /* Practice Areas: one panel, every service in view at once. Each area is a column side by side, headed by
     the area's own page in red Cormorant with an arrow, its services listed under it, and a stone line between
     the columns. With no second sheet to reach, a slow or diagonal mouse path can't switch or close anything. */
  .site-nav__groups--columns {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(var(--nav-panel-min), auto);
  }
  .site-nav__groups--columns > .site-nav__group + .site-nav__group {
    border-top: 0;
    border-inline-start: var(--border-width) solid var(--border-color);
  }
  .site-nav__group-link {
    align-self: stretch;
    gap: var(--space-2);
    color: var(--link);
    font-size: var(--font-size-nav-heading);
    font-weight: var(--font-weight-bold);
    line-height: var(--line-height-tight);
    letter-spacing: var(--letter-spacing-heading);
    text-transform: none;
    border-bottom: var(--border-width) solid var(--border-color);
  }
  .site-nav__group-link > span::after { content: none; } /* the phone menu's seam; rows have stone lines here */
}
@media (min-width: 64em) and (prefers-reduced-motion: no-preference) {
  .site-nav__panel,
  .js .site-nav.is-open .site-nav__panel {
    transition:
      opacity var(--nav-fade) var(--nav-ease) var(--nav-close-delay),
      translate var(--nav-fade) var(--nav-ease) var(--nav-close-delay),
      visibility 0s linear calc(var(--nav-close-delay) + var(--nav-fade));
  }
  .site-nav__item--menu:hover > .site-nav__panel { transition-delay: var(--nav-open-delay); }
  .site-nav__item--menu.is-expanded > .site-nav__panel,
  :root:not(.js) .site-nav__item--menu:focus-within > .site-nav__panel { transition-delay: 0s; }
  /* Switching tabs (main.js adds .is-switching): the new sheet is already in place and only fades in, so
     the menu reads as one sheet changing its contents rather than a second one rising */
  .site-nav__list.is-switching > .site-nav__item--menu > .site-nav__panel { translate: 0; }
  .site-nav__list.is-switching > .site-nav__item--menu:is(:hover, .is-expanded) > .site-nav__panel {
    transition: opacity var(--nav-switch-fade) var(--nav-ease);
  }
  .site-nav__link::after { transition: scale var(--nav-fade) var(--nav-ease); }
}
/* Under the mouse, desktop tabs take red text and the gold line, with no box behind them (the phone menu's rows
   keep their blush wash) */
@media (min-width: 64em) and (hover: hover) and (pointer: fine) {
  .site-nav__link:hover,
  .site-nav__item--menu:hover > :is(.site-nav__link, .site-nav__expand) { background: none; color: var(--link); }
}
/* Only one dropdown at a time. When the mouse is over a tab with a dropdown, every other dropdown closes at
   once, skipping the close delay (even one opened from the keyboard). Without JavaScript and with no tab
   under the mouse, the same applies to keyboard focus. */
@media (min-width: 64em) {
  .site-nav__list:has(> .site-nav__item--menu:hover) > .site-nav__item--menu:not(:hover) > .site-nav__panel,
  :root:not(.js) .site-nav__list:not(:has(> .site-nav__item--menu:hover)):has(> .site-nav__item--menu:focus-within) > .site-nav__item--menu:not(:focus-within) > .site-nav__panel {
    visibility: hidden;
    opacity: 0;
    transition: none;
  }
  /* ...and its tab lets go of the highlight, so only one tab is lit */
  .site-nav__list:has(> .site-nav__item--menu:hover) > .site-nav__item--menu:not(:hover) > .site-nav__link .site-nav__caret { rotate: 0deg; }
  .site-nav__list:has(> .site-nav__item--menu:hover) > .site-nav__item--menu:not(:hover) > :is(.site-nav__link, .site-nav__expand):not([aria-current], .site-nav__expand--current) { color: var(--text); }
  .site-nav__list:has(> .site-nav__item--menu:hover) > .site-nav__item--menu:not(:hover) > .site-nav__link:not([aria-current])::after { scale: 0 1; }
}

/* Gold seam on the header's bottom edge on every page: the same seam as between sections and above the footer
   (see layout.css), centered on the edge, half in the header and half over the page. It's the only separation
   between the header and the page (no border, no fade), and it lets clicks through. */
.site-header::after {
  content: "";
  position: absolute;
  top: calc(100% - var(--seam-height) / 2);
  inset-inline: 0;
  max-width: var(--seam-width);
  height: var(--seam-height);
  margin-inline: auto;
  background: var(--seam);
  pointer-events: none;
}

/* Header "Call Now!" pill (requested exception), in the same place on every page: on the right edge, after
   the tabs on desktop and left of the menu button on phones and tablets, as tall as the menu medallion so the
   two line up. Phones show "Call Now!" only (the number stays in the accessible name); from tablet up the
   number shows too, so it can be read and dialed by hand. */
.site-header__call {
  gap: var(--space-2);
  width: auto;
  min-height: var(--nav-toggle-size);
  padding-inline: var(--space-3);
  white-space: nowrap;
  border-radius: var(--radius-pill);
}
.site-header__call-number { display: none; }
@media (min-width: 48em) {
  .site-header__call-number { display: inline; }
}

/* ---------- See-through header over the home hero ----------
   On a page with a hero ([data-overlay]) the header is see-through at the top of the page: the hero's dark band
   runs up behind it, with the logo for dark backgrounds, white tabs and number, and no seam under the header
   (the header and hero read as one surface). The moment the header's bottom edge reaches the hero statement,
   "A Safe Place to Land" (.is-solid, main.js), or the phone menu opens, it fades to solid white with the usual logo and colors. It starts see-through in CSS, so
   it never flashes white on load. Without JavaScript the header doesn't stick on these pages (it scrolls away
   with the hero), so it's never see-through over white content. */
/* The dark-background logo sits exactly over the usual one (same size and frame), hidden until see-through; the two
   crossfade as the header switches */
.site-header__brand { position: relative; }
.logo--on-dark {
  position: absolute;
  inset-block: 0;
  inset-inline-start: 0;
  margin-block: auto;
  opacity: 0;
  pointer-events: none;
}
.site-header[data-overlay] + main > .hero:first-child {
  margin-top: calc(-1 * var(--header-overlap));
  padding-top: calc(var(--section-space) + var(--header-overlap));
}
:root:not(.js) .site-header[data-overlay] { position: relative; }
.site-header[data-overlay]:not(.is-solid, :has(.site-nav.is-open)) { background: transparent; }
.site-header[data-overlay]:not(.is-solid, :has(.site-nav.is-open))::after { opacity: 0; }
.site-header[data-overlay]:not(.is-solid, :has(.site-nav.is-open)) .logo { opacity: 0; }
.site-header[data-overlay]:not(.is-solid, :has(.site-nav.is-open)) .logo--on-dark { opacity: 1; }
.site-header[data-overlay]:not(.is-solid, :has(.site-nav.is-open)) :focus-visible { outline-color: var(--color-white); }
/* Red on charcoal is only about 1.9:1: the pills keep a blush edge, as on any dark section */
.site-header[data-overlay]:not(.is-solid, :has(.site-nav.is-open)) .btn--primary { border-color: var(--color-blush); }
.site-header[data-overlay]:not(.is-solid, :has(.site-nav.is-open)) .site-header__phone { color: var(--text-on-dark); }
@media (hover: hover) and (pointer: fine) {
  .site-header[data-overlay]:not(.is-solid, :has(.site-nav.is-open)) .site-header__phone:hover { color: var(--color-gold-light); }
}
/* Over the hero, the desktop "Schedule a Consultation" pill is a blush outline with white text (link audit fix
   #3), so the hero's own pill is the one solid red button on the first screen. It fills red again, in the same
   fade, the moment the header turns white. Its once-per-session pulse waits until then, so it never pulses
   alongside the hero's pill. */
.site-header[data-overlay]:not(.is-solid, :has(.site-nav.is-open)) .site-header__consult {
  background: transparent;
  border-color: var(--color-blush);
  color: var(--text-on-dark);
}
@media (hover: hover) and (pointer: fine) {
  .site-header[data-overlay]:not(.is-solid, :has(.site-nav.is-open)) .site-header__consult:hover { background: var(--color-blush); color: var(--text); }
}
.site-header[data-overlay]:not(.is-solid, :has(.site-nav.is-open)) .site-header__consult:active { background: var(--color-white); border-color: var(--color-white); color: var(--color-maroon); }
.site-header[data-overlay]:not(.is-solid, :has(.site-nav.is-open)) .site-header__consult.is-pulsing,
.site-header[data-overlay]:not(.is-solid, :has(.site-nav.is-open)) .site-header__consult.is-pulsing::before,
.site-header[data-overlay]:not(.is-solid, :has(.site-nav.is-open)) .site-header__consult.is-pulsing::after { animation-name: none; }
/* The switch: background, seam, both logos, and the tab, number, and pill colors all fade together over
   --header-fade on one gentle curve. The text and pill fades apply only while switching (.is-fading, main.js),
   so tab hover stays quick. Instant under reduced motion. */
@media (prefers-reduced-motion: no-preference) {
  .site-header[data-overlay] { transition: background-color var(--header-fade) var(--header-fade-ease); }
  .site-header[data-overlay]::after { transition: opacity var(--header-fade) var(--header-fade-ease); }
  .site-header[data-overlay] .logo {
    transition: opacity var(--header-fade) var(--header-fade-ease), height var(--nav-fade) var(--nav-ease);
  }
  .site-header[data-overlay].is-fading :is(.site-nav__link, .site-nav__expand, .site-header__phone, .btn--primary) {
    transition:
      color var(--header-fade) var(--header-fade-ease),
      border-color var(--header-fade) var(--header-fade-ease),
      background-color var(--header-fade) var(--header-fade-ease);
  }
}
@media (min-width: 64em) {
  .site-header[data-overlay] + main > .hero:first-child { padding-top: calc(var(--space-6) + var(--header-overlap)); }
  /* Tabs: white, turning logo gold-light (with a gold-light line) under the mouse or while open */
  .site-header[data-overlay]:not(.is-solid, :has(.site-nav.is-open)) :is(.site-nav__link, .site-nav__expand),
  .site-header[data-overlay]:not(.is-solid, :has(.site-nav.is-open)) .site-nav__list:has(> .site-nav__item--menu:hover) > .site-nav__item--menu:not(:hover) > :is(.site-nav__link, .site-nav__expand) { color: var(--text-on-dark); }
  .site-header[data-overlay]:not(.is-solid, :has(.site-nav.is-open)) .site-nav__item:hover > :is(.site-nav__link, .site-nav__expand),
  .site-header[data-overlay]:not(.is-solid, :has(.site-nav.is-open)) .site-nav__item--menu.is-expanded > :is(.site-nav__link, .site-nav__expand),
  .site-header[data-overlay]:not(.is-solid, :has(.site-nav.is-open)) :is(.site-nav__link[aria-current="page"], .site-nav__expand--current) { color: var(--color-gold-light); }
  .site-header[data-overlay]:not(.is-solid, :has(.site-nav.is-open)) .site-nav__link::after { background: var(--color-gold-light); }
  /* Pressed: the same red fill with white text as on white */
  .site-header[data-overlay]:not(.is-solid, :has(.site-nav.is-open)) :is(.site-nav__link, .site-nav__expand):active { color: var(--button-text); }
}

/* ---------- Hero and page header ---------- */
.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
  padding-block: var(--section-space);
  overflow: clip; /* keeps the photo glow and statement pool from causing horizontal scroll */
  background: var(--gradient-band);
  color: var(--text-on-dark);
}
/* Centered stack: cutout photo, then the statement rising into the photo's faded base.
   The photo's fade is baked into the WebP alpha, so it blends into the band at any width. */
.hero__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-5);
  text-align: center;
}
/* Warm glow behind the photo gives the cutout depth against the band; it scales with the photo */
.hero__media {
  position: relative;
  isolation: isolate;
  width: 100%;
  max-width: var(--hero-photo-max);
}
.hero__media::before {
  content: "";
  position: absolute;
  inset: -12% -30% 8%;
  z-index: -1;
  background: var(--gradient-hero-glow);
}
.hero__image { display: block; width: 100%; height: auto; }
.hero__inner { position: relative; }
/* Statement and reviews as one column: centered under the photo on phones and tablets */
.hero__text {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-5);
}
/* Skyline (requested exception; engraved night drawing since 2026-11-17): white and gold-light line art standing on
   the band's bottom edge, centered, behind the photo and statement and never a second focal point. Tablets show it
   edge to edge; phones show it wider than the screen, so its towers rise behind the name plate; desktop caps its
   width so it never climbs behind the statement on wide or short screens (--hero-skyline-width). It sits under
   everything in the hero (the later, positioned .hero__inner paints above it), and the hero clips it. */
.hero__backdrop {
  position: absolute;
  left: 50%;
  bottom: 0;
  width: var(--hero-skyline-width);
  translate: -50% 0;
  opacity: var(--hero-skyline-opacity);
  pointer-events: none;
}
.hero__backdrop picture { display: block; }
.hero__backdrop-image { display: block; width: 100%; height: auto; }
/* One lockup: the statement rises into the photo's faded base, and the two lines sit together with no
   rule or gap. A charcoal pool behind the lockup keeps it legible over the fade. */
.hero__title {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: var(--measure);
  text-wrap: balance;
}
.hero__title::before {
  content: "";
  position: absolute;
  inset: -40% -15%;
  z-index: -1;
  background: var(--gradient-hero-scrim);
}
.hero__media + .hero__text { margin-top: calc(-1 * (var(--hero-overlap) + var(--space-5))); }
/* Buttons under the reviews (link audit fix #3): the hero's one solid button, "Schedule a Consultation", and
   "Call Now!" beside it as a rounded white outline. Phones: the consultation pill alone, full width (as wide as
   the reviews slot), since the header pill and the floating button already dial. Tablets: both, centered under
   the reviews. Desktop: both, on the statement's left edge (see the desktop block below). */
.hero__actions { align-self: center; width: 100%; max-width: var(--reviews-widget-max); }
.hero__call { display: none; }
@media (min-width: 48em) {
  .hero__actions { justify-content: center; width: auto; max-width: none; }
  .hero__call { display: inline-flex; }
}
/* What the firm does: the page title as a small light-gold eyebrow over the statement, inside the <h1> so the
   statement's pool covers it too. It follows the main line's stagger so the two read as one block. */
.hero__eyebrow {
  margin-bottom: var(--space-3);
  translate: calc(-1 * var(--hero-stagger-main)) 0;
  color: var(--color-gold-light);
  font-family: var(--font-display);
  font-size: var(--font-size-hero-eyebrow);
  font-weight: var(--font-weight-bold);
  line-height: var(--line-height-tight);
  letter-spacing: var(--letter-spacing-eyebrow);
  text-transform: uppercase;
  text-wrap: balance;
}
/* Authoritative: large, bold, uppercase Cormorant Garamond in white */
.hero__title-main {
  font-family: var(--font-display);
  font-size: var(--font-size-hero);
  font-weight: var(--font-weight-bold);
  line-height: var(--line-height-hero);
  letter-spacing: var(--letter-spacing-display);
  text-transform: uppercase;
  /* Firm-approved exception to DESIGN.md (home hero only): staggered off-center lockup */
  translate: calc(-1 * var(--hero-stagger-main)) 0;
}
/* Comforting: sentence-style Cormorant Garamond italic in warm blush, tucked directly under the statement.
   Firm-approved exception to DESIGN.md (home hero only): italic, nudged right of center */
.hero__title-sub {
  margin-top: var(--space-2);
  translate: var(--hero-stagger-sub) 0;
  color: var(--color-blush);
  font-family: var(--font-display);
  font-size: var(--font-size-hero-sub);
  font-style: italic;
  font-weight: var(--font-weight-semibold);
  line-height: var(--line-height-tight);
  letter-spacing: var(--letter-spacing-hero-sub);
  text-transform: none;
}

/* Name plate: name caption with the "More About Sarah" link below it, as one quiet portrait credit that never
   competes with the statement. Always centered: under the reviews on phones and tablets, under the photo on
   desktop. Positioned so it paints over the photo's faded base where the two overlap on desktop. */
.hero__credit {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-3);
  text-align: center;
}
/* Small, muted rose on the band */
.hero__caption {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
  margin: 0;
  color: var(--color-rose);
  font-size: var(--font-size-small);
  line-height: var(--line-height-tight);
}
.hero__caption-name {
  font-family: var(--font-display);
  font-size: var(--font-size-eyebrow);
  font-weight: var(--font-weight-bold);
  letter-spacing: var(--letter-spacing-eyebrow);
  text-transform: uppercase;
}
.hero__caption-role { font-weight: var(--font-weight-regular); }
/* "More About Sarah": a rounded outline link under the caption (requested exception to the 4px button
   radius). A strong blush edge, a faint blush tint, and bold white text so it stands off the band; it lights
   up blush with charcoal text while a mouse is over it and snaps back the moment the mouse leaves (no
   transition). Pressed, it flashes white with maroon text. Never a second red CTA. */
.hero__about {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: var(--tap-target);
  padding: var(--space-2) var(--space-4);
  color: var(--text-on-dark);
  background: var(--hero-about-tint);
  border: var(--border-width-strong) solid var(--color-blush);
  border-radius: var(--radius-pill);
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-bold);
  letter-spacing: var(--letter-spacing-heading);
  line-height: var(--line-height-tight);
  text-decoration: none;
  white-space: nowrap;
}
/* Mouse only: touch screens don't get a highlight that sticks after a tap */
@media (hover: hover) and (pointer: fine) {
  .hero__about:hover { background: var(--color-blush); color: var(--text); }
}
/* Pressed (mouse, touch, or keyboard Enter): white with maroon text, distinct from the blush hover */
.hero__about:active { background: var(--color-white); border-color: var(--color-white); color: var(--color-maroon); }
.hero__about:focus-visible { outline: var(--focus-width) solid var(--color-white); outline-offset: var(--focus-offset); }
/* Desktop (review fix, 2026-11-13; name plate moved under the photo, 2026-11-14; replaces the staggered lockup
   at this width): two columns on the site grid. The statement and reviews start on the container's left edge
   (the logo's edge), left-aligned with no stagger, in the left six columns. The photo is in the right six with
   the name plate centered under it, so the name sits with the person it names. The name plate rises into the
   photo's faded base, just below her forearms, where the cutout is already transparent. The photo and name
   plate share one box, pushed out by the cutout's transparent side margin so her visible edge, not the image
   box, lines up with the container's right edge (the nav's and the gold rule's), mirroring the text on the left
   edge. The text centers on the height of the photo and name plate together, and the same space (--space-6)
   sits above the columns and between them and the credentials strip, so the text is also centered between the
   header and the strip's gold rule. */
@media (min-width: 64em) {
  .hero { padding-top: var(--space-6); }
  .hero:not(.hero--proof) { padding-bottom: var(--space-6); }
  .hero__inner {
    display: grid;
    grid-template-columns: repeat(var(--grid-columns), minmax(0, 1fr));
    column-gap: var(--space-4);
    row-gap: 0;
    align-items: center;
    text-align: left;
  }
  .hero__media,
  .hero__media ~ .hero__credit {
    grid-column: 7 / -1;
    justify-self: end;
    width: 100%;
    max-width: var(--hero-photo-max-desktop);
    margin-inline-end: calc(-1 * var(--hero-photo-outset));
  }
  .hero__media { grid-row: 1; align-self: end; }
  .hero__media ~ .hero__credit { grid-row: 2; align-self: start; margin-top: calc(-1 * var(--hero-credit-rise)); }
  .hero__text { grid-column: 1 / span 6; grid-row: 1 / span 2; align-items: flex-start; }
  .hero__media + .hero__text { margin-top: 0; }
  .hero__title { align-items: flex-start; }
  .hero__eyebrow,
  .hero__title-main,
  .hero__title-sub { translate: none; }
  /* Jotform centers its badge in the slot; sizing the slot to the badge puts it on the column's left edge */
  .hero__text .reviews-widget { width: fit-content; }
  .hero__actions { align-self: flex-start; justify-content: flex-start; }
}

/* Credentials strip: one line of marks along the hero's bottom edge, at every width, under a fine gold rule on
   desktop only (no gold lines on phones and tablets). Each mark is white artwork on transparent, drawn by height
   so its width follows the artwork. Its shape sets the height so the row reads even: square marks fill the strip
   height, wide ones are a little shorter, banners about half. Marks sit an even gap apart, with no dividers. */
/* With a strip, the band ends a short step below it, so the strip reads as the hero's bottom edge */
.hero--proof { padding-bottom: var(--space-5); }
.hero__proof {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: var(--hero-proof-gap);
  margin: 0;
  padding: 0;
  list-style: none;
}
/* The step above the marks belongs to the gold rule, so it's desktop-only too: the marks sit the same distance
   below the rule as above the band's edge */
@media (min-width: 64em) {
  .hero__proof { padding-top: var(--space-5); border-top: var(--border-width) solid var(--hero-proof-rule); }
}
.hero__proof-item {
  display: flex;
  align-items: center;
}
.hero__proof-logo {
  display: block;
  width: auto;
  height: var(--hero-proof-mark-height);
}
.hero__proof-item--wide .hero__proof-logo { height: var(--hero-proof-mark-height-wide); }
.hero__proof-item--banner .hero__proof-logo { height: var(--hero-proof-mark-height-banner); }
/* Linked marks keep a full tap target even where the artwork is drawn smaller */
.hero__proof-link {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: var(--tap-target);
  min-height: var(--tap-target);
}
.hero__proof-link:focus-visible { outline: var(--focus-width) solid var(--color-white); outline-offset: var(--focus-offset); }

/* Jotform Google reviews widget under the statement. Jotform injects its own markup (a white pill badge that
   opens a slide-out drawer of reviews); its stable jf- classes are restyled here, two classes deep so they
   win over Jotform's single-class rules without !important. The slot reserves the badge's height so the
   hero doesn't jump when the script loads. */
.reviews-widget {
  width: 100%;
  max-width: var(--reviews-widget-max);
  min-height: var(--reviews-widget-height);
}
/* Jotform wraps the badge in a white padded section; drop it so the pill sits directly on the band */
.reviews-widget .jf-reviews-badge-section { padding: 0; background: transparent; }
/* No shadows outside overlays (DESIGN.md); the pill keeps Jotform's look otherwise */
.reviews-widget .jf-reviews-section-badge-card { max-width: 100%; box-shadow: none; }
.reviews-widget .jf-reviews-section-badge-summary:focus-visible { outline: var(--focus-width) solid var(--color-white); outline-offset: var(--focus-offset); }
/* The reviews drawer is a fixed 400px overlay; keep it inside phones narrower than that */
.reviews-widget .jf-google-reviews-container { max-width: 100vw; }

/* Eyebrow line above headings: logo gold on light, light gold on dark */
.eyebrow {
  color: var(--color-gold);
  font-family: var(--font-display);
  font-size: var(--font-size-eyebrow);
  font-weight: var(--font-weight-bold);
  letter-spacing: var(--letter-spacing-eyebrow);
  text-transform: uppercase;
}
.section--dark .eyebrow { color: var(--color-gold-light); }

/* Section heading row: eyebrow + <h2>, optional link at the end */
.section-heading { display: flex; flex-direction: column; gap: var(--space-3); }
@media (min-width: 48em) {
  .section-heading { flex-direction: row; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; }
}

/* ---------- Home section titles (requested, 2026-11-13) ----------
   One lockup for every section under the home hero, centered: a small label between two gold
   hairlines (no number since 2026-11-18), the title with its lead word large in the red italic and the rest in charcoal capitals, and a
   short gold rule with a diamond in the middle, echoing the logo's rules.
   --title-accent is the gold of the hairlines and rule, --title-label the label's color, and --title-key the
   lead word's. Bands where those fail contrast swap them (mist: charcoal label; dark: light gold). */
.section-title {
  --title-accent: var(--color-gold);
  --title-label: var(--title-accent);
  --title-key: var(--link);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-3);
  text-align: center;
}
/* Logo gold is 4.2:1 on the mist band, too low for the small label, so the label is charcoal there */
.why .section-title { --title-label: var(--text); }
.section--dark .section-title {
  --title-accent: var(--color-gold-light);
  --title-key: var(--color-gold-light);
}
/* The hairlines give up their width before the label has to wrap (only they shrink; the text keeps its
   width), so a long label still fits on one line on a 320px phone. The text wraps only once it is wider than
   the space between the two gaps. */
.section-title__label {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-3);
  max-width: 100%;
  color: var(--title-label);
  font-variant-numeric: lining-nums tabular-nums;
}
.section-title__label::before,
.section-title__label::after {
  content: "";
  flex: 0 1 auto;
  width: var(--title-label-line);
  height: var(--border-width);
  background: var(--title-accent);
}
.section-title__label-text { flex: none; max-width: calc(100% - 2 * var(--space-3)); }
.section-title__heading {
  font-size: var(--font-size-section-title);
  letter-spacing: var(--letter-spacing-display);
  text-transform: uppercase;
}
/* Lead word: the hero's 600 italic (the only italic shipped, so the browser never fakes a bold), in mixed
   case as written, sharing the baseline of the capitals after it */
.section-title__key {
  color: var(--title-key);
  font-size: var(--font-size-title-key);
  font-style: italic;
  font-weight: var(--font-weight-semibold);
  line-height: var(--line-height-hero);
  letter-spacing: var(--letter-spacing-heading);
  text-transform: none;
}
/* Rule: two fine gold lines fading outward from a diamond */
.section-title__rule {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  width: var(--title-rule-width);
  max-width: 100%;
}
.section-title__rule::before,
.section-title__rule::after {
  content: "";
  flex: 1;
  height: var(--border-width-strong);
}
.section-title__rule::before { background: linear-gradient(90deg, transparent, var(--title-accent)); transform-origin: right; }
.section-title__rule::after { background: linear-gradient(90deg, var(--title-accent), transparent); transform-origin: left; }
.section-title__gem {
  flex: none;
  width: var(--title-gem-size);
  height: var(--title-gem-size);
  rotate: 45deg;
  background: var(--gradient-rule);
}
/* Reveal (main.js, initReveal): a title still below the screen when the page loads waits hidden (.is-waiting),
   then fades up as it scrolls into view (.is-revealed) while its rule draws out from the diamond. Once only.
   Without JS, in print, and under reduced motion, titles simply show. It never affects scrolling. */
@media screen and (prefers-reduced-motion: no-preference) {
  .section-title.is-waiting { opacity: 0; translate: 0 var(--reveal-rise); }
  .section-title.is-waiting .section-title__rule::before,
  .section-title.is-waiting .section-title__rule::after { scale: 0 1; }
  .section-title.is-revealed {
    transition: opacity var(--reveal-duration) var(--pulse-ease), translate var(--reveal-duration) var(--pulse-ease);
  }
  .section-title.is-revealed .section-title__rule::before,
  .section-title.is-revealed .section-title__rule::after {
    transition: scale var(--reveal-draw) var(--pulse-ease) var(--reveal-draw-delay);
  }
}

/* ---------- Home practice area panels (2026-11-18) ----------
   One white panel per area on the paper band, stacked on phones and side by side, equal height, from tablet up.
   Left-aligned inside: the emblem above the area's name (beside it from desktop up), the area's one-line summary,
   the free consultation line where the area has one (bold, behind the title diamond), then every service as a link
   row (the site's link list: one column on phones and tablets, two from desktop), and "Explore …" pinned to the
   panel's foot. A panel holds many links, so it is not a whole-card link. */
.area-panels { display: grid; gap: var(--space-4); margin: 0; padding: 0; list-style: none; }
.area-panel {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  padding: var(--space-4);
  background: var(--bg);
  border: var(--border-width) solid var(--border-color);
  border-radius: var(--radius);
}
.area-panel__head { display: flex; flex-direction: column; align-items: flex-start; gap: var(--space-3); }
.area-panel__intro { display: flex; flex-direction: column; gap: var(--space-2); min-width: 0; }
.area-panel__name { font-size: var(--font-size-panel-title); }
.area-panel__summary { max-width: var(--measure); }
.area-panel__note { display: flex; align-items: center; gap: var(--space-2); font-weight: var(--font-weight-bold); }
.area-panel__note::before {
  content: "";
  flex: none;
  width: var(--title-gem-size);
  height: var(--title-gem-size);
  rotate: 45deg;
  background: var(--color-gold);
}
/* The service rows: one column until desktop (the shared list goes to two at tablet width, too narrow inside a
   panel), a little tighter than elsewhere so fifteen rows stay a short scroll on a phone; still 44px tall */
.link-list.area-panel__services { grid-template-columns: minmax(0, 1fr); }
.area-panel__services .link-list__item:nth-child(2) { border-top: 0; }
.area-panel__services .link-list__link { padding-block: var(--space-2); }
.area-panel__explore { margin-top: auto; }
@media (min-width: 48em) {
  .area-panels { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
/* Side by side, the two panels share their rows (head, services, link), so the service lists start on one line
   even when one head is taller. Browsers without subgrid keep the plain column above. */
@supports (grid-template-rows: subgrid) {
  .area-panel { display: grid; grid-template-rows: subgrid; grid-row: span 3; row-gap: var(--space-4); }
  .area-panel__services { align-self: start; }
  .area-panel__explore { align-self: end; margin-top: 0; }
}
@media (min-width: 64em) {
  .area-panel { padding: var(--space-5); }
  .area-panel__head { flex-direction: row; align-items: center; gap: var(--space-4); }
  .link-list.area-panel__services { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .area-panel__services .link-list__item:nth-child(2) { border-top: var(--border-width) solid var(--border-color); }
}

/* ---------- Practice area emblem (2026-11-18) ----------
   An engraved line drawing (a lantern for Criminal Law, a live oak for Family Law) inside a double gold ring. The
   ring is drawn here, not in the artwork, so it stays crisp at every size: a 1px gold edge with a second fine
   gold line just outside it, as around the profile's closing portrait. Decorative: the area's name is beside it.
   The margin keeps the outer line clear of what sits next to it. */
.emblem {
  display: block;
  flex: none;
  width: var(--emblem-size);
  margin: calc(var(--emblem-ring-gap) + var(--border-width));
  padding: calc(var(--emblem-size) * var(--emblem-inset));
  border: var(--border-width) solid var(--color-gold);
  border-radius: var(--radius-pill);
  outline: var(--border-width) solid var(--color-gold);
  outline-offset: var(--emblem-ring-gap);
}
.emblem__image { display: block; width: 100%; height: auto; }

/* Plain text link with an arrow, used beside headings and under prose */
.text-link {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: var(--space-2);
  min-height: var(--tap-target);
  font-weight: var(--font-weight-bold);
}
.text-link::after { content: "→" / ""; }

.page-header {
  padding-block: var(--section-space);
  background: var(--bg-alt);
}
.page-header__inner { display: flex; flex-direction: column; gap: var(--space-3); }
.page-header__lead { max-width: var(--measure); color: var(--text-muted); font-size: var(--font-size-lead); }

/* Notice lockup (404, thank-you page): the FF medallion over a short centered message (1–2 lines, so centering
   is allowed) and two links */
.notice__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-4);
  text-align: center;
}
.notice__logo { width: var(--notice-logo-size); height: var(--notice-logo-size); }
.notice__actions { align-self: stretch; }
/* Quick links under the buttons (404): one short centered row of text links split by middle dots, each with a
   full tap target; it wraps on narrow phones */
.notice__more-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0 var(--space-3);
  margin: 0;
  padding: 0;
  list-style: none;
}
.notice__more-list li { display: flex; align-items: center; gap: var(--space-3); }
.notice__more-list li + li::before { content: "·" / ""; color: var(--text-muted); }
.notice__more-list a { display: inline-flex; align-items: center; min-height: var(--tap-target); font-weight: var(--font-weight-medium); }
@media (min-width: 48em) {
  .notice__actions { align-self: center; justify-content: center; }
}

.breadcrumb__list {
  display: flex;
  flex-wrap: wrap;
  gap: 0 var(--space-2);
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: var(--font-size-small);
}
.breadcrumb__item { display: inline-flex; align-items: center; gap: var(--space-2); min-height: var(--tap-target); }
.breadcrumb__item + .breadcrumb__item::before { content: "/"; color: var(--text-muted); }
.breadcrumb__item a { display: inline-flex; align-items: center; min-height: var(--tap-target); }

/* Next step after the copy on practice-area and service pages: a 1px stone line, one short line in the display
   face, then "Schedule a Consultation" and "Call Now!" (full width on phones, side by side from tablet up).
   Left-aligned on the copy's edge. */
.next-step {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  max-width: var(--measure);
  padding-block-start: var(--space-5);
  border-top: var(--border-width) solid var(--border-color);
}
.next-step__lead {
  font-family: var(--font-display);
  font-size: var(--font-size-h3);
  font-weight: var(--font-weight-bold);
  line-height: var(--line-height-tight);
  letter-spacing: var(--letter-spacing-heading);
  text-wrap: balance;
}

/* Compact link list (Related Services): one row per page, the whole row a link, with an arrow at the right.
   Rows split by 1px stone lines; two columns from tablet up. */
.link-list { display: grid; margin: 0; padding: 0; list-style: none; column-gap: var(--space-5); }
.link-list__item { border-bottom: var(--border-width) solid var(--border-color); }
.link-list__item:first-child { border-top: var(--border-width) solid var(--border-color); }
.link-list__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  min-height: var(--tap-target);
  padding-block: var(--space-3);
  color: var(--text);
  font-weight: var(--font-weight-medium);
  text-decoration: none;
}
.link-list__link::after { content: "→" / ""; flex: none; color: var(--link); }
@media (hover: hover) {
  .link-list__link:hover { color: var(--link); }
}
@media (min-width: 48em) {
  .link-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  /* The first row of the second column gets the top line too */
  .link-list__item:nth-child(2) { border-top: var(--border-width) solid var(--border-color); }
}

/* ---------- Cards ---------- */
/* The whole card is one link (link audit fix #6): the action link's ::after stretches over the card, so a tap
   anywhere opens it while screen readers and the keyboard still meet one link per card. Under the mouse the
   card's edge turns red and the link's underline goes; links inside a card (.card__link) sit above the cover. */
.card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  height: 100%;
  padding: var(--space-4);
  background: var(--bg);
  border: var(--border-width) solid var(--border-color);
  border-radius: var(--radius);
}
.card__image { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.card__title { font-size: var(--font-size-h3); }
.card__meta { color: var(--text-muted); font-size: var(--font-size-small); font-variant-numeric: tabular-nums; }
/* Links with a trailing arrow (card links, "Get directions"): only the label (.link-label) is underlined, and the
   arrow is joined to its last word by a no-break space, so it wraps with that word and sits off the underline */
.card__action,
.offices__directions,
.new-tab { text-decoration: none; }
/* Outside links that open a new tab (link audit fix #12: State Bar, Avvo, Facebook, Instagram): the same "↗"
   as "Get directions"; screen readers hear "(opens in a new tab)" from a hidden span */
.new-tab::after { content: "\00a0\2197" / ""; }
.link-label { text-decoration: underline; text-underline-offset: 0.2em; }
/* A block (not flex) so the arrow follows the last word when a long label wraps. ::before is the cover that
   makes the whole card the link. */
.card__action {
  display: block;
  align-self: flex-start;
  min-height: var(--tap-target);
  padding-block: var(--space-2);
  margin-top: auto;
  font-weight: var(--font-weight-bold);
}
.card__action::after { content: "\00a0\2192" / ""; }
.card__action::before { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.card__link { position: relative; z-index: 1; }
@media (hover: hover) {
  .card:has(.card__action:hover) { border-color: var(--link); }
  .card__action:hover { color: var(--link-hover); }
  .card__action:hover .link-label { text-decoration: none; }
}

/* Service links inside a practice area card */
.card__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0 var(--space-4);
  padding: var(--space-3) 0 0;
  list-style: none;
  border-top: var(--border-width) solid var(--border-color);
}
.card__link {
  display: inline-flex;
  align-items: center;
  min-height: var(--tap-target);
  font-size: var(--font-size-small);
  font-weight: var(--font-weight-medium);
}

/* ---------- Feature section: highlights beside a photo ---------- */
.feature { align-items: center; row-gap: var(--space-6); }
.feature__image { width: 100%; aspect-ratio: 2 / 3; object-fit: cover; border-radius: var(--radius); }

/* ---------- Highlights ---------- */
.highlights { display: grid; gap: var(--space-5) var(--space-4); margin: 0; padding: 0; list-style: none; }
.highlight { display: flex; flex-direction: column; gap: var(--space-2); }
.highlight::before {
  content: "";
  display: block;
  width: var(--space-6);
  height: var(--rule-height);
  margin-bottom: var(--space-2);
  background: var(--gradient-rule);
}
.highlight__text { max-width: var(--measure); color: var(--text-muted); }

/* ---------- Why Choose The Fox Firm (home, under the practice areas) ----------
   A light gray band (requested), set apart from the paper band above it and the dark band below. The section
   title (see "Home section titles"), team photo, a red statement, the firm's paragraph, then its facts as a short
   list (2026-11-18; they replaced two titled blocks). */
.why { background: var(--color-mist); }
.why__inner { gap: var(--space-5); }
/* Photo and text: stacked on phones and tablets (photo first); side by side on desktop, photo in the left six
   columns and the statement with its two blocks in the right six, centered on the photo's height so neither
   leaves a long empty run. The team photo is cropped knees-up (4:3) so faces read on phones, with a plain 1px
   gold edge echoing the logo's gold rules: square corners, no mat, no shadow. */
.why__body { row-gap: var(--space-5); }
.why__image {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border: var(--border-width) solid var(--color-gold);
}
.why__text { display: flex; flex-direction: column; gap: var(--space-4); }
.why__paragraph { max-width: var(--measure); }
/* Facts list: one short line each behind the section titles' gold diamond, in body color at medium weight. The
   diamond sits on the first line's middle, so a fact that wraps (the certification's exact wording) stays tidy. */
.fact-list { display: flex; flex-direction: column; gap: var(--space-3); margin: 0; padding: 0; list-style: none; max-width: var(--measure); }
.fact-list__item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: baseline;
  column-gap: var(--space-3);
  font-weight: var(--font-weight-medium);
}
.fact-list__item::before {
  content: "";
  width: var(--title-gem-size);
  height: var(--title-gem-size);
  rotate: 45deg;
  translate: 0 var(--fact-gem-lift);
  background: var(--color-gold);
}
@media (min-width: 64em) {
  .why__body { align-items: center; column-gap: var(--space-6); }
  .why__body > * { grid-column: span 6; }
}
.why__lead {
  max-width: var(--measure);
  color: var(--link);
  font-family: var(--font-display);
  font-size: var(--font-size-h3);
  font-weight: var(--font-weight-bold);
  line-height: var(--line-height-tight);
  letter-spacing: var(--letter-spacing-heading);
  text-wrap: balance;
}
/* The two blocks: side by side on tablets (full width under the photo), stacked again on desktop, where they
   share the right half with the statement */
@media (min-width: 48em) {
  .why__points { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 64em) {
  .why__points { grid-template-columns: minmax(0, 1fr); }
}
/* Team portrait (2026-11-23; DESIGN.md, "Home team portrait"): under the facts, behind a 1px stone line, a centered
   label between two gold hairlines (charcoal: gold small text fails on mist), then the stage: everyone with a team
   cut-out as one waist-up group, the lead at the center and a little larger, neighbors overlapping, higher ranks in
   front (--depth), each figure's base faded in its file onto one line. Behind them, the Cotton Mill drawing, its base
   on that line, the water tower and smokestack rising into the headroom above the heads; the stage clips it at its
   own edges and holds no text. Then the names: on phones a two-column list in rank order, each behind a 2px gold rule;
   from tablet up each centered under its own figure (--slot), as narrow as the gap between neighbors. Each name is a
   link to the person's page; under the mouse it turns red and underlines. No motion. */
.team-portrait {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  padding-top: var(--space-5);
  border-top: var(--border-width) solid var(--border-color);
}
.team-portrait__title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-3);
  margin: 0;
  color: var(--text);
  font-family: var(--font-display);
  font-size: var(--font-size-eyebrow);
  font-weight: var(--font-weight-bold);
  letter-spacing: var(--letter-spacing-eyebrow);
  text-transform: uppercase;
}
.team-portrait__title::before,
.team-portrait__title::after {
  content: "";
  flex: none;
  width: var(--space-5);
  height: var(--border-width);
  background: var(--color-gold);
}
.team-portrait__stage {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  margin-inline: calc(-1 * var(--gutter));
  padding-top: var(--team-stage-headroom);
  overflow: hidden;
}
.team-portrait__backdrop {
  position: absolute;
  inset: 0;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  opacity: var(--why-mill-opacity);
  pointer-events: none;
}
.team-portrait__backdrop-image {
  flex: none;
  display: block;
  width: min(var(--why-mill-width), var(--why-mill-max));
  max-width: none;
  height: auto;
  max-height: 100%;
  object-fit: contain;
  object-position: 50% 100%;
}
.team-portrait__figure,
.team-portrait__item {
  --figure-width: var(--team-figure-width);
  flex: none;
  width: var(--figure-width);
  margin-inline: calc(var(--figure-width) * var(--team-figure-overlap) * -1);
}
.team-portrait__figure--lead,
.team-portrait__item--lead { --figure-width: calc(var(--team-figure-width) * var(--team-figure-lead-scale)); }
.team-portrait__figure { position: relative; z-index: var(--depth); display: block; }
.team-portrait__image { display: block; width: 100%; height: auto; aspect-ratio: var(--team-figure-ratio); }
.team-portrait__names {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-3) var(--space-4);
  margin: 0;
  padding: 0;
  list-style: none;
}
.team-portrait__item { width: auto; margin-inline: 0; }
.team-portrait__person {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 44px;
  padding-left: var(--space-3);
  border-left: var(--shield-edge) solid var(--color-gold);
  color: var(--text);
  text-decoration: none;
}
.team-portrait__name { font-weight: var(--font-weight-bold); }
.team-portrait__role { font-size: var(--font-size-small); }
@media (hover: hover) {
  a.team-portrait__person:hover .team-portrait__name { color: var(--link); text-decoration: underline; }
}
@media (min-width: 48em) {
  .team-portrait__names { display: flex; justify-content: center; align-items: flex-start; gap: 0; }
  .team-portrait__item {
    order: var(--slot);
    display: flex;
    justify-content: center;
    width: var(--figure-width);
    margin-inline: calc(var(--figure-width) * var(--team-figure-overlap) * -1);
    text-align: center;
  }
  .team-portrait__person {
    align-items: center;
    justify-content: flex-start;
    max-width: calc(var(--team-figure-width) * (1 - 2 * var(--team-figure-overlap)) - var(--space-2));
    padding-left: 0;
    border-left: 0;
  }
}

/* "Meet the Team" pill (requested exception): a red outline link with fully rounded ends, centered under the
   two blocks. Full width on phones like every .btn; sized to its text and centered from tablet up. */
.why__team { border-radius: var(--radius-pill); }
@media (min-width: 48em) {
  .why__team-area > .why__team { align-self: center; }
}

/* The team portrait and "Meet the Team" share one box under the photo and facts */
.why__team-area { display: flex; flex-direction: column; gap: var(--space-5); }

/* ---------- Results That Speak for Themselves (home, under "Why") ----------
   Dark band (requested, 2026-11-13): the hero's charcoal-to-maroon band and its faint skyline lines again, so
   the section carrying proof stands out from the pale bands around it. The section title, the Jotform widget
   (requested), and the required "Prior results" line under it in small rose text, centered as a one-line item.
   The widget's own look is set in the Jotform account. */
.results { padding-block-end: calc(var(--section-space) + var(--reviews-strip)); background: var(--gradient-band); }
/* Downtown McKinney on the band's bottom edge (2026-11-18; it replaced the hero's skyline): an engraved night
   street that runs away from the left edge. The band keeps a clear strip under the button for it
   (--reviews-strip), so the street level, the lamps, and the lit windows show below the content; its taller left
   end stands behind the review cards, which are opaque. No text sits over a line: the "Prior results" line is
   above the reviews. Stronger than texture (--reviews-backdrop-opacity), since nothing has to be read through
   it. Phones show it wider than the screen, so the storefronts keep their detail, and the band clips its far end.
   The wrapper keeps it clear of the gold seam on the band's top edge. */
.results__backdrop {
  position: absolute;
  inset: 0;
  overflow: hidden;
  opacity: var(--reviews-backdrop-opacity);
  pointer-events: none;
}
.results__backdrop-image {
  position: absolute;
  left: max(0px, (100% - var(--skyline-max)) / 2);
  bottom: 0;
  width: min(var(--reviews-drawing-width), var(--skyline-max));
  max-width: none;
  height: auto;
}
/* Positioned, so the content paints above the drawing */
.results__inner { position: relative; gap: var(--space-4); }
.results__widget { min-width: 0; max-width: 100%; }
/* Jotform makes the ticker's track its own scroll box (overflow: auto) with overscroll-behavior: contain, so a
   vertical mouse wheel over the reviews scrolled the track instead of the page (DESIGN.md: never hijack
   scrolling). Clip its vertical overflow and let vertical scrolling chain to the page; the horizontal ticker is
   untouched. Two classes outrank Jotform's single generated class, so no !important is needed. */
.results__widget .jf-reviews-ticker-track {
  overflow-y: hidden;
  overscroll-behavior-y: auto;
}
.results__disclaimer {
  color: var(--color-rose);
  font-size: var(--font-size-small);
  text-align: center;
}
/* "Schedule a Consultation" under the widget: full width on phones like every .btn, centered from tablet up */
@media (min-width: 48em) {
  .stack > .results__cta { align-self: center; }
}

/* ---------- Your Case Matters to Us (home, under the results) ----------
   The section title (see "Home section titles"), at the same size as every other, so the red statement under
   it leads. The "you're family" statement set large and centered (a one-line item) under a large gold
   quotation mark; then the Sarah paragraph full width; then the criminal and family paragraphs side by
   side from tablet up, each under a red label; then the closing paragraph (no button: removed at the owner's request, 2026-11-13).
   White band, after the dark results band above. */
.matters { background: var(--bg); }
.matters__inner { gap: var(--space-5); }
.matters__statement,
.pull-quote__text {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
  margin: 0;
  color: var(--link);
  font-family: var(--font-display);
  font-size: var(--font-size-matters-statement);
  font-weight: var(--font-weight-bold);
  line-height: var(--line-height-tight);
  letter-spacing: var(--letter-spacing-heading);
  text-align: center;
  text-wrap: balance;
}
/* Opening quotation mark (requested): large, in logo gold, and decorative (kept from screen readers where the
   browser supports alternative text for generated content). The glyph sits in the top half of its line, so
   the box is trimmed to that half and the statement tucks up under it. */
.matters__statement::before,
.pull-quote__text::before {
  content: "\201C";
  content: "\201C" / "";
  height: 0.5em;
  color: var(--color-gold);
  font-size: var(--font-size-quote-mark);
  line-height: 1;
}
/* Sarah's signature under a quote (requested 2026-11-16): a transparent WebP already in the band's color
   (charcoal ink on light, gold-light on dark), centered, at a hand-signed size */
.matters__quote { display: flex; flex-direction: column; align-items: center; gap: var(--space-3); margin: 0; }
.signature { display: block; width: var(--signature-width); height: auto; margin-inline: auto; }
/* The lead under the signature (2026-11-18): two short sentences, centered as a one-to-two-line item */
.matters__intro { max-width: var(--matters-lead-measure); margin-inline: auto; text-align: center; text-wrap: balance; }
.matters__columns { row-gap: var(--space-5); }
.matters__column { display: flex; flex-direction: column; gap: var(--space-3); }
/* "Criminal Law" / "Family Law" labels (requested): red, with the gold seam under them (the same line and glow
   as between sections), only as wide as the wording and centered in the gap above the paragraph, matching the
   practice area headings in the phone/tablet menu. align-self keeps the label's box to its text. */
.matters__label {
  position: relative;
  align-self: flex-start;
  color: var(--link);
}
.matters__label::after {
  content: "";
  position: absolute;
  top: calc(100% + (var(--space-3) - var(--seam-height)) / 2);
  inset-inline: 0;
  height: var(--seam-height);
  background: var(--seam);
  pointer-events: none;
}
.matters__column p { max-width: var(--measure); }
.matters__closing { max-width: var(--measure); }
@media (min-width: 48em) {
  .matters__columns { column-gap: var(--space-5); }
  .matters__columns > * { grid-column: span 4; }
}
@media (min-width: 64em) {
  .matters__columns > * { grid-column: span 6; }
}

/* ---------- Numbered steps ---------- */
.steps {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
  border-bottom: var(--border-width) solid var(--border-color);
}
.step {
  counter-increment: step;
  align-items: baseline;
  row-gap: var(--space-2);
  padding-block: var(--space-4);
  border-top: var(--border-width) solid var(--border-color);
}
.step::before {
  content: counter(step, decimal-leading-zero);
  grid-column: 1 / -1;
  color: var(--link);
  font-family: var(--font-display);
  font-size: var(--font-size-h2);
  font-weight: var(--font-weight-bold);
  line-height: var(--line-height-tight);
  font-variant-numeric: tabular-nums;
}
.step__text { max-width: var(--measure); color: var(--text-muted); }

/* ---------- FAQ (native details, works without JS) ---------- */
.faq { row-gap: var(--space-5); }
.faq__item { border-bottom: var(--border-width) solid var(--border-color); }
.faq__item:first-child { border-top: var(--border-width) solid var(--border-color); }
.faq__question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  min-height: var(--tap-target);
  padding-block: var(--space-3);
  font-weight: var(--font-weight-bold);
  list-style: none;
  cursor: pointer;
}
.faq__question::-webkit-details-marker { display: none; }
.faq__question::after {
  content: "+" / "";
  flex: none;
  color: var(--link);
  font-family: var(--font-display);
  font-size: var(--font-size-h3);
  line-height: var(--line-height-tight);
}
.faq__item[open] .faq__question::after { content: "−" / ""; }
.faq__question:hover { color: var(--link); }
.faq__answer { max-width: var(--measure); padding-bottom: var(--space-4); color: var(--text-muted); }

/* ---------- Offices and hours section ---------- */
.locations { align-items: start; }
@media (min-width: 48em) {
  .offices.offices--split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-4); }
}

/* ---------- Attorney bio ---------- */
.bio { gap: var(--space-5); }
/* Same plain 1px gold edge as the home team photo (.why__image): square corners, no mat, no shadow */
.bio__photo {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border: var(--border-width) solid var(--color-gold);
}
.bio__header { display: flex; flex-direction: column; gap: var(--space-2); }
.bio__role { color: var(--text-muted); font-weight: var(--font-weight-medium); }
.bio__certification { font-weight: var(--font-weight-bold); }

/* ---------- Attorney profile (layout: "profile") ----------
   The home hero's dark band and type, without its home-only effects: no staggered lockup, no dark pool behind
   the name, no narrow button slot. Phones and tablets: portrait, then the name, centered. Desktop: name on the
   left, portrait on the right (columns in layout.css), the text centered on the portrait's height. */
/* The text column spans the container on phones and tablets, so the buttons run full width on phones however short
   the name is (desktop centers it on the portrait's height instead; layout.css) */
.hero--profile .hero__text { align-self: stretch; gap: var(--space-4); }
.hero--profile .hero__identity { display: flex; flex-direction: column; align-items: center; }
.hero--profile :is(.hero__eyebrow, .hero__title-main, .hero__title-sub) { translate: none; }
.hero--profile .hero__title::before { content: none; }
.hero--profile .hero__actions { max-width: none; }
/* Portrait in an arched window (requested 2026-11-15): 4:5, a semicircular top and a square base, like a boutique
   window. Its edge is a 1px light-gold line, and a second, fainter line follows the same arch offset behind it, down
   and toward the text, echoing the logo's double gold rules. Both lines are SVG paths (the same arch in a 100 x 125
   box, stretched to the portrait, 1px whatever the size) so they can draw themselves: on load each traces up the
   left side, over the arch, and down the right, the back line a beat later, while the photo settles from a slight
   zoom. CSS only, once, from the first paint (no flash); still under reduced motion. */
.hero__portrait {
  position: relative;
  width: 100%;
  max-width: var(--profile-portrait-max);
  aspect-ratio: 4 / 5;
}
.hero__portrait-window {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: var(--hero-arch);
}
.hero__portrait-image { display: block; width: 100%; height: 100%; object-fit: cover; }
.hero__frame { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.hero__frame--back { translate: calc(-1 * var(--profile-frame-offset)) var(--profile-frame-offset); }
.hero__frame-path { fill: none; stroke-width: 1; vector-effect: non-scaling-stroke; }
.hero__frame--edge .hero__frame-path { stroke: var(--color-gold-light); }
.hero__frame--back .hero__frame-path { stroke: var(--hero-proof-rule); }
@media (prefers-reduced-motion: no-preference) {
  .hero__frame-path { stroke-dasharray: 1; animation: hero-frame-draw var(--hero-frame-draw) ease-in-out both; }
  .hero__frame--back .hero__frame-path { animation-delay: var(--hero-frame-stagger); }
  .hero__portrait-image, .hero__cutout { animation: hero-portrait-settle var(--hero-portrait-settle) var(--pulse-ease) both; }
}
@keyframes hero-frame-draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes hero-portrait-settle { from { scale: var(--hero-portrait-zoom); } }
/* No photo: the "FF" monogram centered on a dark arched panel inside the same lines */
.hero__portrait--empty .hero__portrait-window { background: var(--color-charcoal-2); }
.hero__portrait-mark { width: 40%; height: auto; }
/* Cut-out portrait (requested exception, 2026-11-17): no window and no frame. The cut-out photo fills the portrait's
   4:5 box from its base up (settling from its base on load), in front of two layers kept inside the portrait's own
   stack. First, a faint line drawing of the person's hometown courthouse, its base on the photo's base. Phones and
   tablets show the whole building, centered behind the person and as wide as the screen allows. From desktop up
   it is wider than the photo (--profile-backdrop-width) with its wing ends faded (a second file, swapped in by the
   <picture>), its center set --profile-backdrop-shift to the photo's left so the entrance shows beside them. Over
   the drawing, the home hero's warm glow, which lifts a dark outfit off the dark band. The hero clips whatever runs
   past the screen edge, so the page never scrolls sideways. */
.hero__portrait--cutout { isolation: isolate; }
.hero__portrait--cutout::after {
  content: "";
  position: absolute;
  inset: calc(-1 * var(--profile-glow-outset));
  z-index: -1;
  background: var(--gradient-hero-glow);
  pointer-events: none;
}
.hero__cutout {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: bottom;
  transform-origin: bottom;
}
.profile-hero__backdrop {
  position: absolute;
  z-index: -1;
  bottom: 0;
  left: calc(50% - var(--profile-backdrop-shift));
  width: var(--profile-backdrop-width);
  translate: -50% 0;
  opacity: var(--profile-backdrop-opacity);
  pointer-events: none;
}
/* Until the photo comes (staff pages, 2026-11-20): the person's initials in a round medallion where they will stand,
   in front of the same drawing: gold-light letters on the dark band's second surface, inside a double ring (a
   gold-light edge and a fainter line just inside it, as around the profile's closing portrait). Decorative: the name
   follows. The 4:5 box stays, so nothing moves when the photo arrives. */
.hero__initials {
  position: absolute;
  left: 50%;
  bottom: var(--hero-initials-lift);
  translate: -50% 0;
  width: var(--hero-initials-size);
  aspect-ratio: 1;
  padding: var(--space-1);
  border: var(--border-width) solid var(--color-gold-light);
  border-radius: var(--radius-pill);
  container-type: inline-size;
}
.hero__initials-text {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  border: var(--border-width) solid var(--hero-proof-rule);
  border-radius: var(--radius-pill);
  background: var(--color-charcoal-2);
  color: var(--color-gold-light);
  font-family: var(--font-display);
  font-size: var(--font-size-hero-initials-fallback);
  font-size: var(--font-size-hero-initials);
  font-weight: var(--font-weight-bold);
  letter-spacing: var(--letter-spacing-heading);
  line-height: 1;
}
.profile-hero__backdrop picture { display: block; }
.profile-hero__backdrop-image { display: block; width: 100%; height: auto; }
/* Board certification as a plaque: the certifying body's mark between fine light-gold rules (the home credentials
   strip's rule), the rules reaching a step past it. Centered on phones and tablets; on desktop it starts on the
   name's left edge and the rules run on past the mark to the right. Without a mark, the wording takes its place:
   the certification in the display face in light gold, the certifying body under it in small spaced capitals. */
.hero__cert {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: var(--space-3) var(--space-5);
  border-block: var(--border-width) solid var(--hero-proof-rule);
}
.hero__cert-mark { display: block; width: auto; height: var(--profile-cert-mark-height); }
.hero__cert-text { display: flex; flex-direction: column; gap: var(--space-1); }
.hero__cert-lead {
  color: var(--color-gold-light);
  font-family: var(--font-display);
  font-size: var(--font-size-h3);
  font-weight: var(--font-weight-bold);
  line-height: var(--line-height-tight);
  letter-spacing: var(--letter-spacing-heading);
}
.hero__cert-source {
  color: var(--color-rose);
  font-size: var(--font-size-small);
  font-weight: var(--font-weight-medium);
  letter-spacing: var(--letter-spacing-eyebrow);
  line-height: var(--line-height-tight);
  text-transform: uppercase;
}
/* Career timeline (requested 2026-11-15): milestones on a fine light-gold line (the home credentials strip's rule),
   each a hollow gold dot, the year or word in the display face in light gold, and a small rose line under it. The
   last milestone ("now") has a filled dot. Phones and tablets: the line runs down the left edge with the milestones
   beside it. Desktop: the line runs across, the dots on it, the milestones in equal columns under it. Under the
   mouse or keyboard focus a milestone's dot fills and its text brightens. */
.timeline {
  --timeline-gap: var(--space-4);
  --timeline-dot-top: calc((var(--font-size-timeline) * var(--line-height-tight) - var(--timeline-dot)) / 2);
  display: grid;
  gap: var(--timeline-gap);
  margin: 0;
  padding: 0 0 0 var(--space-5);
  list-style: none;
  text-align: left;
}
.timeline__item { position: relative; }
/* The line: a segment from each milestone's dot to the next one's, so it ends at the last ("now") */
.timeline__item:not(:last-child)::after {
  content: "";
  position: absolute;
  top: calc(var(--timeline-dot-top) + var(--timeline-dot) / 2);
  left: calc(-1 * var(--space-5) + (var(--timeline-dot) - var(--border-width)) / 2);
  width: var(--border-width);
  height: calc(100% + var(--timeline-gap));
  background: var(--hero-proof-rule);
  transform-origin: top;
}
/* Order along the line, for the one-time draw below */
.timeline__item:nth-child(2) { --timeline-n: 1; }
.timeline__item:nth-child(3) { --timeline-n: 2; }
.timeline__item:nth-child(4) { --timeline-n: 3; }
.timeline__item:nth-child(5) { --timeline-n: 4; }
.timeline__item:nth-child(n + 6) { --timeline-n: 5; }
.timeline__item,
.timeline__summary { display: flex; flex-direction: column; gap: var(--space-1); }
.timeline__dot {
  position: absolute;
  top: var(--timeline-dot-top);
  left: calc(-1 * var(--space-5));
  width: var(--timeline-dot);
  height: var(--timeline-dot);
  background: var(--color-charcoal);
  border: var(--border-width) solid var(--color-gold-light);
  border-radius: var(--radius-pill);
}
.timeline__item--now .timeline__dot { background: var(--color-gold-light); }
.timeline__when {
  color: var(--color-gold-light);
  font-variant-numeric: lining-nums; /* full-height years: Cormorant's default figures sit low like lowercase */
  font-family: var(--font-display);
  font-size: var(--font-size-timeline);
  font-weight: var(--font-weight-bold);
  line-height: var(--line-height-tight);
  letter-spacing: var(--letter-spacing-heading);
}
.timeline__what {
  color: var(--color-rose);
  font-size: var(--font-size-small);
  line-height: var(--line-height-tight);
  text-wrap: balance;
}
/* "Tap for the story" (requested 2026-11-15): a milestone with a story is a native disclosure. Its year carries a
   small gold "+" (a "−" while open); the whole milestone is the tap target. The story opens under it in white body
   text, ending with an outside link where there is one. Only one is open at a time (shared name). */
.timeline__summary { min-height: var(--tap-target); list-style: none; cursor: pointer; border-radius: var(--radius); }
.timeline__summary::-webkit-details-marker { display: none; }
.timeline__details .timeline__when::after {
  content: "+" / "";
  margin-inline-start: var(--space-2);
  font-family: var(--font-body);
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-regular);
  vertical-align: middle;
}
.timeline__details[open] .timeline__when::after { content: "\2212" / ""; }
.timeline__story {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  max-width: var(--measure);
  padding-block-start: var(--space-3);
  color: var(--text-on-dark);
  font-size: var(--font-size-small);
}
/* The outside link that proves a milestone (the license, to the State Bar): bold, with a "↗" and a full tap target */
.timeline__source { align-self: flex-start; min-height: var(--tap-target); padding-block: var(--space-2); color: var(--text-on-dark); font-weight: var(--font-weight-bold); }
.timeline__source:hover { color: var(--color-gold-light); }
/* Under the mouse, keyboard focus, or open: the dot fills and the line brightens */
.timeline__item:hover .timeline__dot,
.timeline__item:focus-within .timeline__dot,
.timeline__details[open] .timeline__dot { background: var(--color-gold-light); }
.timeline__item:hover .timeline__what,
.timeline__item:focus-within .timeline__what,
.timeline__details[open] .timeline__what { color: var(--text-on-dark); }
@media (prefers-reduced-motion: no-preference) {
  .timeline__dot,
  .timeline__what { transition: background-color var(--btn-fade) ease-out, color var(--btn-fade) ease-out; }
  .timeline__details[open] .timeline__story { animation: nav-reveal var(--nav-fade) var(--nav-ease); }
}
/* "Finish on Today" (requested 2026-11-15): when the line reaches the last milestone, its dot gives one soft gold
   glow (a ring that spreads and fades, no shadow) and settles. Once, with the draw; off under reduced motion. */
.timeline__item--now .timeline__dot::after {
  content: "";
  position: absolute;
  inset: calc(-1 * var(--border-width));
  border: var(--border-width-strong) solid var(--color-gold-light);
  border-radius: inherit;
  opacity: 0;
  pointer-events: none;
}
@media screen and (prefers-reduced-motion: no-preference) {
  .timeline.is-revealed .timeline__item--now .timeline__dot {
    animation: timeline-now-dot var(--timeline-glow) var(--pulse-ease) both;
    animation-delay: calc(var(--timeline-stagger) * var(--timeline-n, 0) + var(--reveal-duration) / 2);
  }
  .timeline.is-revealed .timeline__item--now .timeline__dot::after {
    animation: timeline-now-glow var(--timeline-glow) var(--pulse-ease) both;
    animation-delay: calc(var(--timeline-stagger) * var(--timeline-n, 0) + var(--reveal-duration) / 2);
  }
}
@keyframes timeline-now-dot {
  0%, 100% { scale: 1; }
  30% { scale: var(--timeline-glow-scale); }
}
@keyframes timeline-now-glow {
  0% { opacity: 0; inset: calc(-1 * var(--border-width)); }
  20% { opacity: 0.9; }
  100% { opacity: 0; inset: calc(-1 * var(--timeline-glow-spread)); }
}
/* The one-time draw (main.js, initReveal: data-reveal="draw"): milestone by milestone, each fades up and then its
   segment of line draws on to the next, so the line travels through the career. Without JS, in print, and under
   reduced motion, it simply shows. */
@media screen and (prefers-reduced-motion: no-preference) {
  .timeline.is-waiting .timeline__item { opacity: 0; translate: 0 var(--space-2); }
  .timeline.is-waiting .timeline__item::after { scale: 1 0; }
  .timeline.is-revealed .timeline__item {
    transition: opacity var(--reveal-duration) var(--pulse-ease), translate var(--reveal-duration) var(--pulse-ease);
    transition-delay: calc(var(--timeline-stagger) * var(--timeline-n, 0));
  }
  .timeline.is-revealed .timeline__item::after {
    transition: scale var(--timeline-draw) ease-in-out;
    transition-delay: calc(var(--timeline-stagger) * var(--timeline-n, 0) + var(--timeline-stagger) / 2);
  }
}
@media (min-width: 64em) {
  .timeline {
    grid-auto-flow: column;
    grid-auto-columns: minmax(0, 1fr);
    padding: calc(var(--timeline-dot) + var(--space-3)) 0 0;
  }
  .timeline__dot { top: calc(-1 * (var(--timeline-dot) + var(--space-3))); left: 0; }
  .timeline__item:not(:last-child)::after {
    top: calc(-1 * (var(--timeline-dot) + var(--space-3)) + (var(--timeline-dot) - var(--border-width)) / 2);
    left: calc(var(--timeline-dot) / 2);
    width: calc(100% + var(--timeline-gap));
    height: var(--border-width);
    transform-origin: left;
  }
}
@media screen and (min-width: 64em) and (prefers-reduced-motion: no-preference) {
  .timeline.is-waiting .timeline__item::after { scale: 0 1; }
}
@media (min-width: 64em) {
  .hero--profile .hero__text { align-self: center; } /* centered on the portrait's height */
  .hero--profile .hero__identity { align-items: flex-start; }
  .hero__cert { align-self: flex-start; align-items: flex-start; padding-inline: 0 var(--space-6); text-align: left; }
}

/* Bands below the profile hero alternate white and paper, whichever sections are shown: the hero is the first
   block in <main>, so the first section after it is white, the next paper, and so on */
/* Full service pages share the rule (service-band): bands below their hero alternate the same way */
.profile-band,
.service-band { --band-bg: var(--bg); background: var(--band-bg); }
.profile-band:nth-child(odd),
.service-band:nth-child(odd) { --band-bg: var(--bg-alt); }
/* The profile's closing band also carries cta-band (its padding, and the site's count of closing bands); it keeps
   the profile's alternating band colors rather than the site band's paper (likewise on full service pages) */
.profile-band.cta-band,
.service-band.cta-band { background: var(--bg); }
.profile-band.cta-band:nth-child(odd),
.service-band.cta-band:nth-child(odd) { background: var(--bg-alt); }
/* Practice area pages (2026-11-17, to feel less spread out): a smaller heading and tighter bands */
.service-band .section-title__heading { font-size: var(--font-size-h2); }
.service-band { --section-space: 2rem; }
@media (min-width: 48em) { .service-band { --section-space: 3rem; } }
@media (min-width: 64em) { .service-band { --section-space: 4rem; } }

/* Closing band (requested 2026-11-15): the attorney's round portrait in a double gold ring (logo gold outside, light
   gold inside), one line of text, the two buttons, and the contact card download, on the shared left edge under the
   left-aligned title (2026-11-18, the owner; it was centered). Phones and tablets: the portrait above; the buttons
   full width on phones. Desktop: the portrait beside the text. */
.profile-closing__body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-4);
}
.profile-closing__main { display: flex; flex-direction: column; align-items: flex-start; gap: var(--space-4); }
.profile-closing__actions { align-self: stretch; }
.profile-closing__avatar {
  display: block;
  flex: none;
  padding: var(--space-1);
  border: var(--border-width) solid var(--color-gold);
  border-radius: var(--radius-pill);
}
.profile-closing__photo {
  display: block;
  width: var(--closing-avatar);
  height: var(--closing-avatar);
  object-fit: cover;
  border: var(--border-width) solid var(--color-gold-light);
  border-radius: var(--radius-pill);
}
.profile-closing__text { max-width: 52ch; text-wrap: balance; }
/* "Phones answered 24/7" (site.md hours_note, 2026-11-17): bold, with a small red handset, right under the text */
.profile-closing__note { display: inline-flex; align-items: center; gap: var(--space-2); font-weight: var(--font-weight-bold); }
.profile-closing__note-icon { flex: none; width: var(--icon-size-small); height: var(--icon-size-small); color: var(--link); }
/* "Save <name>'s contact card": one compact line with a contact-card icon and a down arrow, in the link red, a full
   tap target */
.profile-closing__card {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  min-height: var(--tap-target);
  font-size: var(--font-size-small);
  font-weight: var(--font-weight-bold);
  text-decoration: none;
}
.profile-closing__card::after { content: "\2193" / ""; }
.profile-closing__card-icon { flex: none; width: var(--icon-size-small); height: var(--icon-size-small); }
@media (hover: hover) {
  .profile-closing__card:hover .link-label { text-decoration: none; }
}
@media (min-width: 48em) {
  .profile-closing__actions { align-self: flex-start; justify-content: flex-start; }
}
@media (min-width: 64em) {
  .profile-closing__body { flex-direction: row; align-items: center; gap: var(--space-6); }
}

/* Biography (section 01): the lead sentence in the display face, the attorney's pull quote (the home page's "you're
   family" statement: large red display type under the gold quotation mark), then the paragraphs. Phones and tablets:
   lead, quote centered, paragraphs. Desktop: lead and paragraphs on the left, the quote on the right behind a fine
   gold line, centered on the text's height (columns in layout.css). */
/* Phones and tablets: one column; the two wrappers step aside (display: contents) so their parts can interleave:
   lead, promises, quote, paragraphs, photo. Desktop: a grid with the two columns side by side (layout.css). */
.profile-bio { display: flex; flex-direction: column; gap: var(--space-5); }
.profile-bio__main,
.profile-bio__aside { display: contents; }
.profile-bio__lead { order: 1; }
.profile-bio__promises { order: 2; }
.profile-bio__text { order: 4; }
.profile-bio__photo { order: 5; }
@media (min-width: 64em) {
  .profile-bio {
    display: grid;
    grid-template-columns: repeat(var(--grid-columns), minmax(0, 1fr));
    column-gap: var(--space-4);
    align-items: start;
  }
  .profile-bio > * { grid-column: 1 / -1; }
  .profile-bio__main,
  .profile-bio__aside { display: flex; flex-direction: column; gap: var(--space-5); }
  .profile-bio__aside { gap: var(--space-6); }
}
/* Story opening (2026-11-17; requested exception, DESIGN.md "Attorney profile"): with a cut-out photo the biography
   opens on a scene. Phones and tablets: the title, lead, and promises, then the person centered. Desktop: text in
   columns 1-7, the person in 8-12. A decorative line drawing lies along the block's base: all of it behind the
   person, and its grass again in front (the front copy is clipped to its lowest part), so they stand inside it.
   The text ends above the drawing's horizon (worked out from the drawing's proportions), so no line runs behind
   a word. A decorative flowering bough, the nearest plane, hangs from the photo's box so it keeps its place beside
   the person at every width; on desktop it comes down from the section's top edge, where the scene's own clip cuts
   it (the section itself clips nothing: the gold seam sits half above its top edge). A fine gold line closes the
   base. No motion. */
.profile-scene {
  position: relative;
  display: grid;
  gap: var(--profile-scene-gap);
  container-type: inline-size;
  overflow: hidden; /* the drawing is wider than a phone's screen */
}
.profile-scene::after {
  content: "";
  position: absolute;
  z-index: 3;
  inset: auto var(--gutter) 0;
  height: var(--border-width);
  background: var(--color-gold);
}
.profile-scene__text { position: relative; z-index: 1; display: flex; flex-direction: column; gap: var(--space-4); }
.profile-scene__lead {
  max-width: var(--profile-lead-measure);
  font-family: var(--font-display);
  font-size: var(--font-size-profile-lead);
  font-weight: var(--font-weight-bold);
  line-height: var(--line-height-tight);
  letter-spacing: var(--letter-spacing-heading);
  text-wrap: balance;
}
/* The person: at the right on phones (the courthouse shows beside them), centered on tablets, at the right edge on
   every desktop width (2026-11-18: no longer stepping left on wide screens, which put the tower behind their head) */
.profile-scene__figure { position: relative; z-index: 1; justify-self: end; width: min(100%, var(--profile-scene-figure)); }
@media (min-width: 48em) { .profile-scene__figure { justify-self: center; } }
.profile-scene__cutout { width: 100%; }
.profile-scene__lines {
  position: absolute;
  z-index: 0;
  bottom: 0;
  left: calc(var(--gutter) + var(--profile-scene-shift));
  width: var(--profile-scene-width);
  opacity: var(--profile-scene-opacity);
  pointer-events: none;
}
.profile-scene__lines picture { display: block; } /* phones and wider screens show different files (bio_scene_phone) */
.profile-scene__lines-image { width: 100%; max-width: none; }
.profile-scene__lines--front {
  z-index: 2;
  opacity: var(--profile-scene-front-opacity);
  clip-path: inset(var(--profile-scene-front-clip) 0 0 0);
}
.profile-scene__bough {
  position: absolute;
  z-index: 2;
  top: var(--profile-bough-y);
  left: var(--profile-bough-x);
  width: var(--profile-bough-width);
  max-width: none;
  pointer-events: none;
}
@media (min-width: 64em) {
  .profile-scene {
    grid-template-columns: repeat(var(--grid-columns), minmax(0, 1fr));
    column-gap: var(--space-4);
    align-items: end;
    overflow: visible;
    /* the bough rises to the section's top edge and is cut there: the scene's box, opened upward by the section's
       own top padding and left open at the sides */
    clip-path: inset(calc(var(--section-space) * -1) -100vmax 0);
  }
  .profile-scene__text {
    grid-column: 1 / span 7;
    align-self: start;
    padding-bottom: calc(var(--profile-scene-width) * var(--profile-scene-ratio) * (1 - var(--profile-scene-sky)) + var(--space-5));
  }
  .profile-scene__figure { grid-column: 8 / -1; justify-self: end; }
}
/* The story's chapters (2026-11-17): each a small gold label, a title, and a short gold rule, then its text. Stacked
   on phones and tablets; from desktop the head sits in the margin (columns 1-3) and the text beside it (4-10, at
   the reading measure). Fine stone lines separate the chapters. The first chapter opens with a three-line red drop
   cap, set with initial-letter (no floats) and only where the browser supports it, so no browser shows a stray red
   letter at body size. The pull quote sits between chapters on the same lines and spacing. */
.profile-chapters { display: flex; flex-direction: column; }
.chapter,
.profile-chapters .pull-quote {
  padding-block: var(--space-6);
  border-top: var(--border-width) solid var(--border-color);
}
.chapter { display: grid; gap: var(--space-4); }
.profile-chapters > :first-child { padding-top: 0; border-top: 0; }
.profile-chapters > :last-child { padding-bottom: 0; }
.chapter__head { display: flex; flex-direction: column; align-items: flex-start; gap: var(--space-2); }
.chapter__label { color: var(--color-gold); }
.chapter__title { color: var(--link); font-size: var(--font-size-chapter-title); text-wrap: balance; }
.chapter__rule { width: var(--chapter-rule-width); height: var(--border-width-strong); background: var(--color-gold); }
/* A chapter's signature line (2026-11-18; requested, pending the firm's approval): the motif its file names, in the
   plain rule's place and width: a two-lane highway, a colonnade, then (gray) and now (red) either side of the title
   diamond, or a line ending on the timeline's "now" dot. Fine gold lines that keep their weight at any size. No motion. */
.chapter-rule { display: block; width: var(--chapter-rule-width); }
.chapter-rule__svg { display: block; width: 100%; height: auto; overflow: visible; }
.chapter-rule__line { fill: none; stroke: var(--color-gold); stroke-width: var(--border-width); vector-effect: non-scaling-stroke; }
.chapter-rule__line--strong { stroke-width: var(--border-width-strong); }
.chapter-rule__line--then { stroke: var(--text-muted); }
.chapter-rule__line--now { stroke: var(--link); }
.chapter-rule__dash { stroke-dasharray: var(--chapter-rule-dash); }
.chapter-rule__ring { opacity: var(--chapter-rule-ring-opacity); }
.chapter-rule__mark { fill: var(--color-gold); }
.chapter__body { max-width: var(--measure); }
.profile-chapters .pull-quote__text { max-width: var(--pull-quote-measure); }
/* A chapter's backdrop (2026-11-18; requested exception, DESIGN.md "Attorney profile"): a decorative drawing that
   stands on the chapter's bottom line and accents the copy. Phones: the drawing's own phone file in a strip under
   the text. Tablets: the low, wide strip under the text, fading in from the left. Desktop: the text keeps its full
   reading width in front, with a fine gold line down its left edge (as beside the Practice Areas statement); the
   strip lies behind it in columns 6-12, strongest at the right, where no text is, and the text has room under it,
   so only the strip's faded top edge comes near the last line. No motion. */
.chapter--backdrop { padding-bottom: 0; }
.chapter__backdrop { opacity: var(--chapter-backdrop-opacity); pointer-events: none; }
.chapter__backdrop picture { display: block; }
.chapter__backdrop-image { width: 100%; }
/* The pull quote's band (2026-11-18): a decorative drawing along the quote's bottom line, the container's width on
   desktop and wider than the screen below it (its ends clipped) */
.profile-chapters .pull-quote--frieze { padding-bottom: 0; }
.pull-quote__frieze { align-self: stretch; margin-top: var(--space-4); overflow: hidden; opacity: var(--quote-frieze-opacity); pointer-events: none; }
.pull-quote__frieze-image { width: var(--quote-frieze-width); max-width: none; margin-left: var(--quote-frieze-shift); }
@supports (initial-letter: 3) or (-webkit-initial-letter: 3) {
  .chapter--drop .chapter__body > p:first-child::first-letter {
    -webkit-initial-letter: var(--chapter-drop-lines);
    initial-letter: var(--chapter-drop-lines);
    margin-right: var(--space-2);
    color: var(--link);
    font-family: var(--font-display);
    font-weight: var(--font-weight-bold);
  }
}
@media (min-width: 64em) {
  .chapter { grid-template-columns: repeat(var(--grid-columns), minmax(0, 1fr)); column-gap: var(--space-4); }
  .chapter__head { grid-column: 1 / span 3; }
  .chapter__body { grid-column: 4 / span 7; }
  .chapter--backdrop .chapter__head { grid-row: 1; padding-bottom: var(--space-6); }
  .chapter--backdrop .chapter__body { grid-row: 1; position: relative; z-index: 1; padding-bottom: var(--chapter-backdrop-space); }
  .chapter--backdrop .chapter__body > p { padding-left: var(--space-4); border-left: var(--border-width) solid var(--color-gold); }
  .chapter--backdrop .chapter__backdrop { grid-column: 6 / -1; grid-row: 1; align-self: end; z-index: 0; }
}
/* A two-sided chapter (2026-11-17: "Both Sides of the Courtroom"): then and now on a paper panel between fine gold
   lines, stacked on phones and side by side from tablet up, split by a gold line with the section title's diamond
   at its middle. Each side: a small gold label, a large italic heading (gray for then, red for now), and its text.
   The chapter runs from the margin column to the right edge. */
.chapter--wide .chapter__body { max-width: none; }
.sides {
  display: grid;
  gap: var(--space-5);
  padding: var(--space-5);
  background: var(--bg-alt);
  border-block: var(--border-width) solid var(--color-gold);
}
.side { display: flex; flex-direction: column; gap: var(--space-3); }
.side__label { color: var(--color-gold); }
.side__title {
  color: var(--text-muted);
  font-family: var(--font-display);
  font-size: var(--font-size-side-title);
  font-style: italic;
  font-weight: var(--font-weight-semibold);
  line-height: var(--line-height-hero);
  letter-spacing: var(--letter-spacing-heading);
}
.side--now .side__title { color: var(--link); }
.sides__rule { position: relative; height: var(--border-width); background: var(--color-gold); }
.sides__rule::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: var(--title-gem-size);
  height: var(--title-gem-size);
  translate: -50% -50%;
  rotate: 45deg;
  background: var(--gradient-rule);
  outline: var(--space-2) solid var(--bg-alt); /* a gap in the line around the diamond */
}
@media (min-width: 48em) {
  .sides { grid-template-columns: 1fr auto 1fr; column-gap: var(--space-5); padding: var(--space-6) var(--space-5); }
  .sides__rule { width: var(--border-width); height: auto; }
}
@media (min-width: 64em) { .chapter--wide .chapter__body { grid-column: 4 / -1; } }
/* The title lockup, left-aligned (the story opening only): no hairline before the label, and the rule keeps only
   its right-hand line, so its diamond sits on the left edge */
.section-title--start { align-items: flex-start; text-align: left; }
.section-title--start .section-title__label { justify-content: flex-start; }
.section-title--start .section-title__label::before,
.section-title--start .section-title__rule::before { content: none; }
/* Her three promises: gold small capitals with small gold diamonds (the section title's gem). One line, diamonds
   between, wherever it fits: on tablets (the text runs full width) and wide screens. Elsewhere (phones, and
   desktops up to 1440px, where the text column is narrower) stacked, a diamond before each, so a wrapped line never
   starts with a stray diamond. */
.profile-bio__promises {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  margin: 0;
  padding: 0;
  list-style: none;
}
.profile-bio__promise {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  color: var(--color-gold);
  font-family: var(--font-display);
  font-size: var(--font-size-eyebrow);
  font-weight: var(--font-weight-bold);
  letter-spacing: var(--letter-spacing-eyebrow);
  line-height: var(--line-height-tight);
  text-transform: uppercase;
}
.profile-bio__promise::before {
  content: "";
  flex: none;
  width: var(--title-gem-size);
  height: var(--title-gem-size);
  rotate: 45deg;
  background: var(--gradient-rule);
}
@media (min-width: 48em) {
  .profile-bio__promises { flex-direction: row; gap: var(--space-3); }
  .profile-bio__promise:first-child::before { content: none; }
}
@media (min-width: 64em) {
  .profile-bio__promises { flex-direction: column; gap: var(--space-2); }
  .profile-bio__promise:first-child::before { content: ""; }
}
@media (min-width: 90em) {
  .profile-bio__promises { flex-direction: row; gap: var(--space-3); }
  .profile-bio__promise:first-child::before { content: none; }
}
/* Second photo: 4:5 with the plain 1px gold edge of the home team photo; full width on phones, a bit narrower than
   the side column on tablets and desktop */
.profile-bio__photo {
  display: block;
  width: 100%;
  max-width: var(--profile-bio-photo-max);
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border: var(--border-width) solid var(--color-gold);
}
.profile-bio__lead {
  max-width: var(--measure);
  font-family: var(--font-display);
  font-size: var(--font-size-h3);
  font-weight: var(--font-weight-bold);
  line-height: var(--line-height-tight);
  letter-spacing: var(--letter-spacing-heading);
  text-wrap: balance;
}
.pull-quote__text { font-size: var(--font-size-pull-quote); }
.pull-quote { display: flex; flex-direction: column; align-items: center; gap: var(--space-3); margin: 0; text-align: center; }
.pull-quote__cite::before { content: "\2014\00a0" / ""; }
/* The pull quote (2026-11-17: its dark band removed at the owner's request): on the biography's own light band,
   in the home "you're family" statement's red under the gold quotation mark, wrapping at a reading measure */
.profile-quote .pull-quote__text { max-width: var(--pull-quote-measure); }

/* Practice areas (section 02), kept compact (requested 2026-11-15): one white panel per area with a 1px stone edge,
   stacked on phones and side by side, equal height, from tablet up. Each opens with the home page's round emblem
   beside the area's name and the one-line summary in gray; the services follow as small wrapping tags; "Explore
   <area> →" sits at the panel's foot. */
.profile-areas {
  display: grid;
  gap: var(--space-4);
  margin: 0;
  padding: 0;
  list-style: none;
}
@media (min-width: 48em) {
  .profile-areas { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: stretch; }
  /* An attorney with one practice area: its panel spans the row, so the other half isn't left empty */
  .profile-area:only-child { grid-column: 1 / -1; }
}
/* A section built from stacked blocks (biography: title, quote, text; practice areas: title, statement, panels),
   each in its own container, with even gaps */
.profile-split { display: flex; flex-direction: column; gap: var(--space-5); }
/* The Practice Areas statement (areas_intro), the section's lead on its own paper band (2026-11-17; it sat on a dark
   spotlight band that split the title from the panels): the attorney's role in large charcoal display type, its key
   words in red with a gold underline; beside it (under it on phones), what that means for a client behind a fine
   gold line. Left-aligned on the panels' left edge. */
.profile-areas__intro { align-items: center; row-gap: var(--space-4); }
.profile-areas__statement {
  font-family: var(--font-display);
  font-size: var(--font-size-profile-statement);
  font-weight: var(--font-weight-bold);
  line-height: var(--line-height-tight);
  letter-spacing: var(--letter-spacing-heading);
  text-wrap: balance;
}
/* The key words: red, kept on one line, with a gold underline that draws from the left once (below) */
.profile-areas__emphasis {
  position: relative;
  display: inline-block;
  color: var(--link);
  font-weight: inherit;
  white-space: nowrap;
}
.profile-areas__emphasis::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: calc(-1 * var(--space-1));
  height: var(--border-width-strong);
  background: var(--color-gold);
  border-radius: var(--radius-pill);
  transform-origin: left;
}
.profile-areas__text {
  max-width: var(--measure);
  padding-inline-start: var(--space-4);
  border-inline-start: var(--border-width) solid var(--color-gold);
}
/* The underline draws once, the first time the statement is on screen (main.js, initReveal: data-reveal="draw"); it
   simply shows without JS, in print, and under reduced motion */
@media screen and (prefers-reduced-motion: no-preference) {
  .profile-areas__intro.is-waiting .profile-areas__emphasis::after { scale: 0 1; }
  .profile-areas__intro.is-revealed .profile-areas__emphasis::after {
    transition: scale var(--spotlight-draw) var(--pulse-ease) var(--reveal-draw-delay);
  }
}
.profile-area {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  padding: var(--space-4);
  background: var(--bg);
  border: var(--border-width) solid var(--border-color);
  border-radius: var(--radius);
}
.profile-area__name { display: flex; align-items: center; gap: var(--space-3); }
.profile-area__emblem { --emblem-size: var(--profile-area-emblem); --emblem-inset: var(--emblem-inset-small); --emblem-ring-gap: var(--emblem-ring-gap-small); }
.profile-area__text { display: none; max-width: var(--measure); color: var(--text-muted); font-size: var(--font-size-small); }
/* Phones (requested 2026-11-15, to keep the page short): the panel tightens to the emblem, the name, and a "See all 8
   services" toggle (a native disclosure: keyboard and screen-reader friendly) that opens the tags and Explore link in
   place. From tablet up the summary shows, the disclosure stays open (main.js), and the toggle is hidden. */
.profile-area { padding: var(--space-3) var(--space-4); }
.profile-area__toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  min-height: var(--tap-target);
  padding-top: var(--space-2);
  color: var(--link);
  font-size: var(--font-size-small);
  font-weight: var(--font-weight-bold);
  list-style: none;
  cursor: pointer;
  border-top: var(--border-width) solid var(--border-color);
}
.profile-area__toggle::-webkit-details-marker { display: none; }
.profile-area__toggle::after { content: "\25BE" / ""; flex: none; }
.profile-area__more[open] > .profile-area__toggle::after { rotate: 180deg; }
.profile-area__more-body { display: flex; flex-direction: column; gap: var(--space-3); padding-top: var(--space-2); }
@media (prefers-reduced-motion: no-preference) {
  .profile-area__more[open] .profile-area__more-body { animation: nav-reveal var(--nav-fade) var(--nav-ease); }
}
@media (min-width: 48em) {
  .profile-area { padding: var(--space-4); }
  .profile-area__text { display: block; }
  .profile-area__toggle { display: none; }
  .profile-area__more-body { padding-top: 0; animation: none; }
  /* The disclosure, its content box, and its body fill the panel, so "Explore" stays pinned to the foot of each
     equal-height panel (browsers without ::details-content leave it under the tags) */
  .profile-area__more,
  .profile-area__more-body { display: flex; flex: 1; flex-direction: column; }
  .profile-area__more::details-content { display: flex; flex: 1; flex-direction: column; }
  .profile-area__explore { margin-top: auto; }
}
/* Service tags: rounded logo-gold outlines (5.3:1 on white) with charcoal text; red with a blush wash under the mouse.
   Drawn --profile-tag-height tall, rows a small gap apart; each tag's tap area reaches above and below it to the full
   44px target, meeting (never overlapping) the next row's. */
.profile-area__tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--profile-tag-gap) var(--space-2);
  margin: 0;
  padding: var(--space-1) 0;
  list-style: none;
}
.profile-area__tag {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: var(--profile-tag-height);
  padding-inline: var(--space-3);
  color: var(--text);
  font-size: var(--font-size-small);
  font-weight: var(--font-weight-medium);
  line-height: var(--line-height-tight);
  text-decoration: none;
  border: var(--border-width) solid var(--color-gold);
  border-radius: var(--radius-pill);
}
.profile-area__tag::after {
  content: "";
  position: absolute;
  inset: calc((var(--profile-tag-height) - var(--tap-target)) / 2) 0;
}
@media (hover: hover) {
  .profile-area__tag:hover { color: var(--link); background: var(--button-tint); border-color: var(--link); }
}
@media (prefers-reduced-motion: no-preference) {
  .profile-area__tag { transition: color var(--btn-fade) ease-out, background-color var(--btn-fade) ease-out, border-color var(--btn-fade) ease-out; }
}
.profile-area__explore { margin-top: auto; }

/* Representative results (section 03): compact white cards with a 1px stone edge, each opened by the short gold bar
   of the home "Why" blocks: the case type in small gold capitals, the outcome in red display type, one line in gray.
   One column on phones, two on tablets, three on desktop (card-grid). The required "Prior results" line follows. */
.result-list { margin: 0; padding: 0; list-style: none; }
.result {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  height: 100%;
  padding: var(--space-4);
  background: var(--bg);
  border: var(--border-width) solid var(--border-color);
  border-radius: var(--radius);
}
.result::before {
  content: "";
  display: block;
  width: var(--space-6);
  height: var(--rule-height);
  margin-bottom: var(--space-2);
  background: var(--gradient-rule);
}
.result__outcome { color: var(--link); }
.result__summary { color: var(--text-muted); font-size: var(--font-size-small); }
/* Small centered note under a group of cards (one line, so centering is allowed) */
.fine-print { color: var(--text-muted); font-size: var(--font-size-small); text-align: center; }

/* Credentials & recognition, set as a diploma (requested 2026-11-15; centered as a requested exception): parchment
   (paper) inside a double gold frame (logo gold outside, light gold inset, like the hero portrait), small gold
   diamonds at the inner corners. Head: The Fox Firm logo, "presents the credentials of" in small gold capitals, the
   name large, the role, and the section titles' gold rule with its diamond. Two columns from tablet up, split by a
   fine gold line: Education, and Certification & Honors; each entry a red display-serif title over its details. Foot:
   the license date and bar card as signature lines either side of the seals (one centered stack on phones). The
   seals keep their own dark artwork; multiply blending lets the parchment show through their white grounds. */
.diploma {
  --title-accent: var(--color-gold); /* for the borrowed section-title rule */
  position: relative;
  width: 100%;
  max-width: var(--diploma-max);
  margin-inline: auto;
  /* Engraved border (2026-11-17): interlaced waves between two hairlines, a rosette in each corner. One small SVG,
     sliced into corners and sides (40 of its 120 units each) and repeated along each side in whole waves. */
  padding: calc(var(--diploma-pad) * 0.6);
  background: var(--bg-alt);
  border: var(--diploma-border) solid transparent;
  border-image: url("/assets/images/icons/diploma-border.svg") 40 / var(--diploma-border) round;
  text-align: center;
}
.diploma__head { display: flex; flex-direction: column; align-items: center; gap: var(--space-2); }
.diploma__logo { width: auto; height: var(--diploma-logo-height); margin-bottom: var(--space-2); }
.diploma__presents,
.diploma__heading,
.diploma__caption {
  color: var(--color-gold); /* 4.8:1 on paper */
  font-family: var(--font-display);
  font-size: var(--font-size-eyebrow);
  font-weight: var(--font-weight-bold);
  letter-spacing: var(--letter-spacing-eyebrow);
  line-height: var(--line-height-tight);
  text-transform: uppercase;
}
.diploma__name {
  font-family: var(--font-display);
  font-size: var(--font-size-diploma-name);
  font-weight: var(--font-weight-bold);
  line-height: var(--line-height-tight);
  letter-spacing: var(--letter-spacing-heading);
}
.diploma__presents { text-wrap: balance; }
.diploma__role { color: var(--text-muted); font-size: var(--font-size-small); }
.diploma__rule { margin-top: var(--space-2); }
.diploma__columns { display: grid; gap: var(--space-5); margin-block: var(--space-5); }
.diploma__column { display: flex; flex-direction: column; gap: var(--space-4); }
.diploma__list { display: flex; flex-direction: column; gap: var(--space-4); margin: 0; padding: 0; list-style: none; }
.diploma__entry { display: flex; flex-direction: column; align-items: center; gap: var(--space-1); }
/* School logos: fitted into one box so a wide mark (a running horse) and a compact one (a crest) carry similar weight:
   a wide mark meets the box's width and sits a little shorter, a compact one meets its height */
.diploma__school-logo {
  width: auto;
  max-width: var(--diploma-school-logo-width);
  height: auto;
  max-height: var(--diploma-school-logo);
  margin-bottom: var(--space-2);
}
/* A recognition item's certifying mark (the TBLS mark, 2026-11-17), above its title like a school logo above its
   degree, in its own dark artwork blended into the parchment as the seals are */
.diploma__honor-mark {
  width: auto;
  height: var(--diploma-seal);
  margin-bottom: var(--space-2);
  mix-blend-mode: multiply;
}
.diploma__degree {
  color: var(--link);
  font-family: var(--font-display);
  font-size: var(--font-size-h3);
  font-weight: var(--font-weight-bold);
  line-height: var(--line-height-tight);
  letter-spacing: var(--letter-spacing-heading);
  text-wrap: balance;
}
.diploma__school { font-weight: var(--font-weight-medium); text-wrap: balance; }
.diploma__note { color: var(--text-muted); font-size: var(--font-size-small); text-wrap: balance; }
.diploma__foot { display: flex; flex-direction: column; align-items: center; gap: var(--space-5); }
.diploma__signature { display: flex; flex-direction: column; align-items: center; gap: var(--space-2); }
.diploma__signed {
  display: inline-flex;
  justify-content: center;
  align-items: flex-end;
  min-width: var(--diploma-signature);
  min-height: var(--tap-target);
  padding-bottom: var(--space-1);
  font-family: var(--font-display);
  font-size: var(--font-size-h3);
  font-weight: var(--font-weight-bold);
  font-variant-numeric: lining-nums tabular-nums;
  border-bottom: var(--border-width) solid var(--text);
}
.diploma__signed a { text-decoration: none; }
/* Full-height figures (the site-wide rule for dates and numbers sets tabular figures only, which in Cormorant sit low) */
.diploma__signed :is(time, .tabular) { font-variant-numeric: lining-nums tabular-nums; }
.diploma__seals { display: flex; align-items: center; justify-content: center; gap: var(--space-4); margin: 0; padding: 0; list-style: none; }
.diploma__seal { display: block; width: auto; height: var(--diploma-seal); mix-blend-mode: multiply; }
.diploma__seal-link { display: block; border-radius: var(--radius-pill); }
@media (min-width: 48em) {
  .diploma__columns { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-6); }
  /* Only one column (education without honors, or the reverse): it takes the diploma's full width, centered */
  .diploma__columns:has(> .diploma__column:only-child) { grid-template-columns: minmax(0, 1fr); }
  .diploma__column + .diploma__column { position: relative; }
  .diploma__column + .diploma__column::before {
    content: "";
    position: absolute;
    inset-block: 0;
    left: calc(var(--space-6) / -2);
    border-left: var(--border-width) solid var(--color-gold);
  }
  .diploma__foot { display: grid; grid-template-columns: 1fr auto 1fr; align-items: end; gap: var(--space-4); }
  /* Two columns of unequal length (2026-11-17): the shorter list centers in the height the gold line spans, so no
     empty corner is left under it; the headings stay level at the top */
  .diploma__column > .diploma__list { flex: 1; justify-content: center; }
}
/* Outside profiles: the diploma's last line, inside the frame (2026-11-17), a small gray label, then each profile as
   a bold link with "↗" */
.credentials__profiles {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0 var(--space-4);
  margin-top: var(--space-4);
}
.credentials__profiles-label { color: var(--text-muted); font-size: var(--font-size-small); }
.credentials__profile { display: inline-block; min-height: var(--tap-target); padding-block: var(--space-2); font-weight: var(--font-weight-bold); }

/* ---------- Service page (layout: "full") ----------
   The home hero's dark band and type, without a photo or the home-only effects (no staggered lockup, no dark pool
   behind the headline, no narrow button slot). Left-aligned at every width, on the container's left edge:
   breadcrumb, headline, one sentence, both buttons (full width on phones, side by side from tablet up), then the
   proof lines. */
.hero--service .hero__inner { align-items: stretch; text-align: left; }
.hero--service .hero__text { align-items: flex-start; gap: var(--space-4); }
.hero--service .hero__title { align-items: flex-start; }
.hero--service .hero__title-main { translate: none; }
.hero--service .hero__title::before { content: none; }
.hero--service .hero__actions { align-self: stretch; width: auto; max-width: none; }
/* Backdrop (requested exception, 2026-11-17): a faint line drawing in the band's bottom-right corner, as faint as
   the home hero's skyline. Its box runs from under the header to the band's bottom edge and is as wide as
   --service-backdrop-width; the drawing is fitted inside it against the bottom-right corner, so it is never cut
   off on a short band and never sits under the header. Texture only: the text column is drawn over it. */
.service-hero__backdrop {
  position: absolute;
  inset-block: var(--header-overlap) 0;
  inset-inline-end: 0;
  width: var(--service-backdrop-width);
  opacity: var(--hero-backdrop-opacity);
  pointer-events: none;
}
.service-hero__backdrop-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: right bottom;
}
/* Breadcrumb on the dark band: links in blush, the current page in white, separators in rose */
.service-hero__crumbs a { color: var(--color-blush); }
.service-hero__crumbs [aria-current="page"] { color: var(--text-on-dark); }
.service-hero__crumbs .breadcrumb__item + .breadcrumb__item::before { color: var(--color-rose); }
.service-hero__lead { max-width: var(--measure); color: var(--color-rose); font-size: var(--font-size-lead); }
/* Proof lines: one per line on phones, one wrapping row from tablet up, each led by the section titles' gold diamond */
.service-hero__proof {
  display: flex;
  flex-direction: column;
  gap: var(--space-2) var(--space-5);
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: var(--font-size-small);
}
.service-hero__proof-item { display: flex; align-items: baseline; gap: var(--space-2); }
.service-hero__proof-item::before {
  content: "";
  flex: none;
  width: var(--title-gem-size);
  height: var(--title-gem-size);
  rotate: 45deg;
  background: var(--color-gold-light);
}
/* A ladder table under the overview's sub-topics, open (2026-11-18; a closed row for a day): its heading, intro,
   table, and note stacked */
.service-penalties { display: flex; flex-direction: column; gap: var(--space-3); }
.service-penalties__intro { max-width: var(--measure); }
.service-penalties__note { max-width: var(--measure); text-align: left; }
/* Data table (a ladder of penalties): fine stone lines between rows, no outer box, no stripes. Column heads in the
   eyebrow style; row heads bold; figures line up. Phones: the header row is hidden and each row restacks as a block,
   its row head on top in the display face, each value on its own line beside its column's name (data-label). The
   template keeps explicit table roles, so screen readers still announce a table. */
.data-table { width: 100%; border-collapse: collapse; font-variant-numeric: lining-nums tabular-nums; }
.data-table thead,
.charge-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.data-table tr { display: block; padding-block: var(--space-3); border-bottom: var(--border-width) solid var(--border-color); }
.data-table tbody tr:first-child { border-top: var(--border-width) solid var(--border-color); }
.data-table th[scope="row"] {
  display: block;
  margin-bottom: var(--space-2);
  font-family: var(--font-display);
  font-size: var(--font-size-h3);
  font-weight: var(--font-weight-bold);
  line-height: var(--line-height-tight);
  text-align: left;
}
.data-table td,
.charge-table td[data-label] { display: flex; justify-content: space-between; gap: var(--space-3); padding-block: var(--space-1); text-align: right; }
.data-table td::before,
.charge-table td[data-label]::before { content: attr(data-label); color: var(--text-muted); text-align: left; }
@media (min-width: 48em) {
  .data-table thead,
  .charge-table thead { position: static; width: auto; height: auto; overflow: visible; clip-path: none; white-space: normal; }
  .data-table tr { display: table-row; padding: 0; }
  .data-table tbody tr:first-child { border-top: 0; }
  .data-table th,
  .data-table td { display: table-cell; padding: var(--space-3); text-align: left; vertical-align: top; }
  .data-table :is(th, td):first-child { padding-inline-start: 0; }
  .data-table :is(th, td):last-child { padding-inline-end: 0; }
  .data-table td::before,
  .charge-table td[data-label]::before { content: none; }
  .data-table th[scope="row"] { margin: 0; font-family: var(--font-body); font-size: inherit; line-height: inherit; }
  .data-table th[scope="col"],
  .charge-table th[scope="col"] {
    color: var(--color-gold);
    font-family: var(--font-display);
    font-size: var(--font-size-eyebrow);
    font-weight: var(--font-weight-bold);
    letter-spacing: var(--letter-spacing-eyebrow);
    text-align: left;
    text-transform: uppercase;
  }
  .data-table th[scope="col"] { white-space: nowrap; }
  /* The charge column takes the room the figures don't need */
  .data-table th[scope="col"]:first-child,
  .charge-table th[scope="col"]:first-child { width: 40%; }
}
/* The charges with their punishment ranges, as one open table (2026-11-18, at the owner's request: nothing but the
   FAQ expands; each charge was a closed row for a day). A group of rows per charge between fine stone lines: its
   level (felony in red) and name in the display face, its range on the same line, then its one line of explanation
   across the table. A charge with two or more ranges lists them under its name, each named in body text; a charge
   with none is its name and line alone. Column heads as the ladder table's (above), free to wrap. Phones: the head
   row is hidden and each charge restacks as a block, every value beside its column's name (data-label). */
/* The charges as one open grid (2026-11-18, requested by the owner: the group of tall rows per charge took too much
   room). One compact row per range, its background shaded by its offense level (--severity-1 to -5, white to warm
   rose; tier 0, no grade named, stays unshaded with a stone line), rows split by a thin line of the paper band's
   color. The name in bold body text with the charge's one line under it in small text; felony levels in red, so the
   shade is never the only cue. Column heads as the ladder table's (above). Phones: each row a shaded block, every
   value beside its column's name (data-label). */
.charge-table { display: block; width: 100%; border-collapse: collapse; font-variant-numeric: lining-nums tabular-nums; }
.charge-table__charge,
.charge-table tr,
.charge-table th,
.charge-table td { display: block; }
.charge-table__row { padding: var(--space-3); border-bottom: var(--border-width) solid var(--bg-alt); }
.charge-table__row--tier-0 { border-bottom-color: var(--border-color); }
.charge-table__row--tier-1 { background: var(--severity-1); }
.charge-table__row--tier-2 { background: var(--severity-2); }
.charge-table__row--tier-3 { background: var(--severity-3); }
.charge-table__row--tier-4 { background: var(--severity-4); }
.charge-table__row--tier-5 { background: var(--severity-5); }
.charge-table__level { font-weight: var(--font-weight-medium); }
.charge-table__row:is(.charge-table__row--tier-3, .charge-table__row--tier-4, .charge-table__row--tier-5) > .charge-table__level { color: var(--color-red); }
.charge-table th { font-weight: var(--font-weight-regular); text-align: left; }
.charge-table__title { font-weight: var(--font-weight-bold); line-height: var(--line-height-tight); }
.charge-table__about { margin-top: var(--space-1); font-size: var(--font-size-small); }
.charge-table__name { margin-bottom: var(--space-2); }
.charge-table td:empty { display: none; }
/* Gray fails on the warmer shades (about 3.4:1), so the phones' column names are charcoal on every row */
.charge-table td[data-label]::before { color: var(--text); }
@media (min-width: 48em) {
  .charge-table { display: table; }
  .charge-table thead { display: table-header-group; }
  .charge-table__charge { display: table-row-group; }
  .charge-table tr { display: table-row; padding: 0; }
  .charge-table th,
  .charge-table td { display: table-cell; padding: var(--space-2) var(--space-3); text-align: left; vertical-align: top; }
  .charge-table td:empty { display: table-cell; }
  .charge-table td[data-label] { display: table-cell; text-align: left; }
  .charge-table th[scope="col"] { padding-block: var(--space-2); }
  .charge-table__name { margin: 0; }
}

/* Why Work With the firm: the opening line in the display face, the points as highlights in body-color text (as
   section 01), two across from tablet up; the attorney's card at most the profile photo's width, on the left edge.
   Desktop: points in columns 1–7, the card in 9–12 (layout.css). */
.service-why { row-gap: var(--space-5); align-items: start; }
.service-why__lead {
  max-width: var(--measure);
  font-family: var(--font-display);
  font-size: var(--font-size-h3);
  font-weight: var(--font-weight-bold);
  line-height: var(--line-height-tight);
  text-wrap: balance;
}
.service-why__points .highlight__text { color: var(--text); }
/* The attorney's card, compact on phones and tablets (requested 2026-11-16, so the section stays short): one row, a
   round photo cropped to the face beside the name, role, and "Meet" link. Desktop restores the full card, beside the
   points, at most the profile photo's width. Still one link for the whole card. With two or more attorneys
   (--many, 2026-11-20) the compact rows stay on desktop, so the cards don't run far past the points. */
.service-why__people { display: grid; gap: var(--space-3); }
.service-why__people .card {
  display: grid;
  grid-template-columns: var(--why-avatar) minmax(0, 1fr);
  column-gap: var(--space-4);
  row-gap: 0;
  align-items: center;
  padding: var(--space-3);
}
.service-why__people picture { grid-row: 1 / span 3; }
.service-why__people .card__image {
  display: block;
  width: var(--why-avatar);
  height: auto;
  aspect-ratio: 1;
  border-radius: 50%;
  object-position: 50% 15%;
}
.service-why__people .card__action { margin-top: 0; }
@media (min-width: 48em) {
  .service-why__points { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 64em) {
  .service-why__people { max-width: var(--profile-bio-photo-max); }
  .service-why__people:not(.service-why__people--many) .card { display: flex; align-items: stretch; gap: var(--space-3); padding: var(--space-4); }
  .service-why__people:not(.service-why__people--many) .card__image { width: 100%; aspect-ratio: 4 / 5; border-radius: 0; object-position: 50% 50%; }
  .service-why__people:not(.service-why__people--many) .card__action { margin-top: auto; }
}

/* "On this page" (requested 2026-11-16; made subtle, then set on a dark panel the same day to draw the eye): the
   hero's dark gradient on a panel the width of the page content (so on phones it stays right under the notice), 4px
   corners. A small light-gold label, then one wrapping row of small rose links, underlined, turning white under the
   mouse, each with the full tap target height. A requested exception to DESIGN.md's one dark band per page. */
.service-toc {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
  padding: var(--space-4) var(--space-5);
  border-radius: var(--radius);
  background: var(--gradient-band);
  color: var(--text-on-dark);
}
.service-toc :focus-visible { outline-color: var(--color-white); }
.service-toc__title {
  color: var(--color-gold-light);
  font-family: var(--font-display);
  font-size: var(--font-size-eyebrow);
  font-weight: var(--font-weight-bold);
  letter-spacing: var(--letter-spacing-eyebrow);
  text-transform: uppercase;
}
.service-toc__list {
  display: flex;
  flex-wrap: wrap;
  gap: 0 var(--space-4);
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: var(--font-size-small);
}
.service-toc__link {
  display: inline-flex;
  align-items: center;
  min-height: var(--tap-target);
  color: var(--color-rose);
  text-underline-offset: 0.2em;
}
/* Touch browsers keep :hover on a link after it is tapped, and the site's a:hover red is unreadable on this dark panel
   (final review, 2026-11-16): the panel's links keep their rose there, and turn white only under a real pointer */
.service-toc__link:hover { color: var(--color-rose); }
@media (hover: hover) {
  .service-toc__link:hover { color: var(--color-white); }
}
/* Desktop: a full-width bar under the paragraphs and the notice (requested 2026-11-16), the label and the links on
   one line */
@media (min-width: 64em) {
  .service-toc { flex-direction: row; align-items: center; gap: var(--space-5); padding-block: var(--space-2); }
  .service-toc__title { flex: none; }
}


/* Closing band (service pages): centered under its section title lockup, like the title itself; the text at a
   reading width; the buttons full width on phones (as every phone CTA), side by side and centered from tablet up */
.service-closing .cta-band__text { max-width: var(--measure); margin-inline: auto; text-align: center; text-wrap: balance; }
@media (min-width: 48em) {
  .service-closing .btn-row { justify-content: center; }
}

/* FAQ (service pages): the site's FAQ rows, centered under the section title at a reading width, each question an
   <h3> that keeps the row's look; answers in body color (as sections 01 and 04) */
.service-faq { width: 100%; max-width: var(--faq-measure); margin-inline: auto; }
.faq__heading { margin: 0; font: inherit; letter-spacing: inherit; text-transform: none; }
.service-faq .faq__answer { color: var(--text); }
/* The toggle, drawn rather than typed (2026-11-18: the + glyph, larger than its box, sat below the question's line):
   a small ring in the timeline's gold with a red plus inside, centered on the question. Open, it fills gold and the
   plus turns to a white minus, as the timeline's done dot. Under the mouse the ring and question turn red. The bars
   turn over --btn-fade, at once under reduced motion. Decorative: the details element tells screen readers open or
   closed. */
.service-faq .faq__question::after,
.service-faq .faq__item[open] .faq__question::after { content: none; }
.faq__toggle {
  position: relative;
  flex: none;
  box-sizing: border-box;
  width: var(--faq-toggle);
  aspect-ratio: 1;
  border: var(--border-width) solid var(--color-gold);
  border-radius: 50%;
}
.faq__toggle::before,
.faq__toggle::after {
  content: "";
  position: absolute;
  inset: 50% auto auto 50%;
  width: var(--faq-toggle-bar);
  height: var(--faq-toggle-stroke);
  border-radius: var(--faq-toggle-stroke);
  background: var(--link);
  translate: -50% -50%;
}
.faq__toggle::after { rotate: 90deg; }
.faq__item[open] .faq__toggle { border-color: var(--color-gold); background: var(--color-gold); }
.faq__item[open] .faq__toggle::before,
.faq__item[open] .faq__toggle::after { background: var(--color-white); }
.faq__item[open] .faq__toggle::after { rotate: 0deg; }
@media (hover: hover) {
  .faq__question:hover .faq__toggle { border-color: var(--link); }
}
@media (prefers-reduced-motion: no-preference) {
  .faq__toggle,
  .faq__toggle::before,
  .faq__toggle::after { transition: rotate var(--btn-fade), background-color var(--btn-fade), border-color var(--btn-fade); }
}

/* What to Expect as a quiet process line (2026-11-18, requested by the owner: the numbered rings and large titles
   made it crowded; compact since 2026-11-16). Small markers and small type. The done step first (site.md
   steps_done): a filled gold dot with a white check and the label "Done"; the line from it to the next step is solid
   gold, the rest fainter (--process-line-ahead). Each later step: a hollow gold dot filled with its band's color
   (--band-bg, so the line stops at its edge), a small gold label ("Step 2", counting on from the done step), its
   title in bold body text, and its line in small text in body color. Phones and tablets: a rail down the left.
   Desktop: one row of equal columns, the line running across from dot to dot. */
.process {
  display: grid;
  gap: var(--space-4);
  margin: 0;
  padding: 0;
  list-style: none;
}
.process__step {
  position: relative;
  display: grid;
  grid-template-columns: var(--process-marker) minmax(0, 1fr);
  column-gap: var(--space-3);
  row-gap: var(--space-1);
  align-items: center;
}
.process__step > :not(.process__dot) { grid-column: 2; }
.process__step { grid-template-rows: var(--process-dot-done); }
/* Above the line (which runs center to center), filled with the band's own color so the line stops at its edge */
.process__dot {
  position: relative;
  z-index: 1;
  grid-column: 1;
  grid-row: 1;
  justify-self: center;
  box-sizing: border-box;
  width: var(--process-dot);
  aspect-ratio: 1;
  border: var(--border-width) solid var(--color-gold);
  border-radius: 50%;
  background: var(--band-bg, var(--bg));
}
.process__step--done .process__dot {
  display: grid;
  place-items: center;
  width: var(--process-dot-done);
  border: 0;
  background: var(--color-gold);
}
.process__dot svg { width: 75%; height: 75%; fill: none; stroke: var(--color-white); stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
/* The rail: from this dot down to the next (not after the last); solid from the done step, fainter after */
.process__step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: calc(var(--process-dot-done) / 2);
  bottom: calc(-1 * (var(--space-4) + var(--process-dot-done) / 2));
  left: calc(var(--process-marker) / 2);
  width: var(--border-width);
  background: var(--process-line-ahead);
}
.process__step--done:not(:last-child)::after { background: var(--color-gold); }
.process__label {
  color: var(--color-gold);
  font-family: var(--font-display);
  font-size: var(--font-size-eyebrow);
  font-weight: var(--font-weight-bold);
  font-variant-numeric: lining-nums;
  letter-spacing: var(--letter-spacing-eyebrow);
  line-height: var(--line-height-tight);
  text-transform: uppercase;
}
.process__title { font-family: var(--font-body); font-size: var(--font-size-base); font-weight: var(--font-weight-bold); letter-spacing: normal; line-height: var(--line-height-tight); }
.process__text { font-size: var(--font-size-small); }
@media (min-width: 64em) {
  .process { grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); }
  .process__step { grid-template-columns: none; align-content: start; justify-items: start; row-gap: var(--space-2); }
  .process__step > :not(.process__dot) { grid-column: auto; }
  .process__dot { justify-self: start; align-self: center; }
  .process__step:not(.process__step--done) .process__dot { margin-inline-start: calc((var(--process-dot-done) - var(--process-dot)) / 2); }
  /* The line runs across: from this dot's center to the next one's */
  .process__step:not(:last-child)::after {
    top: calc(var(--process-dot-done) / 2);
    bottom: auto;
    left: calc(var(--process-dot-done) / 2);
    right: calc(-1 * (var(--space-4) + var(--process-dot-done) / 2));
    width: auto;
    height: var(--border-width);
  }
}

/* How We Can Help, as a ruled list (requested 2026-11-16, easier on the eyes than the highlights): one row per
   matter between 1px stone lines (as Related Services and the FAQ), each a small charge-level label (eyebrow style:
   gold, red for a felony), the title in the display face, and one line in body text, not muted gray. One column on
   phones, two from tablet up, the second column's first row ruled on top too. The overview's sub-topics
   ("Understanding … in Texas") are the same ruled blocks, open (2026-11-18; closed rows for a day): each a title
   in the display face over its prose. */
.service-matters,
.service-topics {
  display: grid;
  column-gap: var(--space-6);
  margin: 0;
  padding: 0;
  list-style: none;
}
.service-matter,
.service-topic {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
  padding-block: var(--space-4);
  border-bottom: var(--border-width) solid var(--border-color);
}
.service-topic { gap: var(--space-2); }
.service-matter:first-child,
.service-topic:first-child { border-top: var(--border-width) solid var(--border-color); }
.service-matter__level {
  color: var(--color-gold);
  font-family: var(--font-display);
  font-size: var(--font-size-eyebrow);
  font-weight: var(--font-weight-bold);
  letter-spacing: var(--letter-spacing-eyebrow);
  text-transform: uppercase;
}
.service-matter__level--felony { color: var(--color-red); }
.service-matter__title { font-size: var(--font-size-h3); }
.service-matter__text { max-width: var(--measure); }
/* On a charge-by-charge page, the penalties' intro sits centered under the title, like the FAQ, above the charges'
   table (.charge-table, with the data table above) */
.service-matters__intro { max-width: var(--measure); margin-inline: auto; text-align: center; }
/* Panel under the charges (requested 2026-11-17 as a side panel; under them since 2026-11-18, when the charges became
   an open table too wide to share the row): a highlighted matter and the penalties' note, in the time-sensitive
   notice's style (gold border, red top line, paper on white or white on paper); its label red like the notice's.
   Phones: stacked, each item under a fine rule. Tablet: two across (an odd last item takes the whole row). Desktop:
   every item in one row of equal columns. */
.service-matters__aside {
  display: grid;
  gap: var(--space-3);
  padding: var(--space-4);
  border: var(--border-width) solid var(--color-gold);
  border-top: var(--rule-height) solid var(--color-red);
  border-radius: var(--radius);
  background: var(--bg);
}
.service-band:nth-child(even) .service-matters__aside { background: var(--bg-alt); }
.service-matters__aside-item { display: flex; flex-direction: column; gap: var(--space-1); }
.service-matters__aside-item + .service-matters__aside-item { padding-top: var(--space-3); border-top: var(--border-width) solid var(--border-color); }
.service-matters__aside-text { max-width: var(--measure); }
/* The penalties' note was the table's fine print, so it keeps small text here (2026-11-17: a shorter panel) */
.service-matters__aside-item--note .service-matters__aside-text { font-size: var(--font-size-small); }
.service-matters__aside-eyebrow {
  color: var(--color-red);
  font-family: var(--font-display);
  font-size: var(--font-size-eyebrow);
  font-weight: var(--font-weight-bold);
  letter-spacing: var(--letter-spacing-eyebrow);
  text-transform: uppercase;
}
.service-matters__aside-title { font-size: var(--font-size-h3); text-wrap: balance; }
@media (min-width: 48em) {
  .service-matters,
  .service-topics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .service-matter:nth-child(2),
  .service-topic:nth-child(2) { border-top: var(--border-width) solid var(--border-color); }
  /* Side by side, a fine rule stands between two items in place of the one above the second */
  .service-matters__aside { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-4) var(--space-5); }
  .service-matters__aside-item:nth-child(even) { padding-top: 0; padding-inline-start: var(--space-5); border-top: 0; border-inline-start: var(--border-width) solid var(--border-color); }
  .service-matters__aside-item:last-child:nth-child(odd) { grid-column: 1 / -1; }
}
@media (min-width: 64em) {
  .service-matters__aside { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); }
  .service-matters__aside-item + .service-matters__aside-item { padding-top: 0; padding-inline-start: var(--space-5); border-top: 0; border-inline-start: var(--border-width) solid var(--border-color); }
  .service-matters__aside-item:last-child:nth-child(odd) { grid-column: auto; }
}
@media (min-width: 48em) {
  .hero--service .hero__actions { align-self: flex-start; justify-content: flex-start; }
  .service-hero__proof { flex-direction: row; flex-wrap: wrap; }
}
/* Office pages (office.html, 2026-11-17). The badge ("New office", with "Opened November 2026" once the file sets a
   date) above the headline: the eyebrow style in the light gold, which keeps AA contrast on the dark band, behind a thin
   gold rule on its left. */
.office-hero__badge {
  padding-left: var(--space-2);
  border-left: var(--border-width-strong) solid var(--color-gold-light);
  color: var(--color-gold-light);
  font-family: var(--font-display);
  font-size: var(--font-size-eyebrow);
  font-weight: var(--font-weight-bold);
  line-height: var(--line-height-tight);
  letter-spacing: var(--letter-spacing-eyebrow);
  text-transform: uppercase;
}
/* The facts under the buttons: the street with its map link, the Open/Closed tag, and the phones line. One per line on
   phones; from tablet up a single row, a middle dot between the facts. The tag is hidden until main.js fills it, and
   its line goes with it, so no dot or gap is left behind. The tag keeps the footer's look (.open-tag). */
.office-hero__facts {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: var(--font-size-small);
}
.office-hero__fact { display: flex; flex-wrap: wrap; align-items: center; column-gap: var(--space-2); }
.office-hero__fact:has(> [data-open-tag][hidden]) { display: none; }
.office-hero__map {
  display: inline-flex;
  align-items: center;
  min-height: var(--tap-target);
  color: var(--color-blush);
  text-decoration: underline;
}
.office-hero__map:hover { color: var(--color-gold-light); }
@media (min-width: 48em) {
  .office-hero__facts { flex-direction: row; flex-wrap: wrap; align-items: center; column-gap: var(--space-3); }
  .office-hero__fact + .office-hero__fact::before { content: "·" / ""; margin-right: var(--space-3); color: var(--color-rose); }
}
/* 01, Visit (office pages): the address in the body serif, the hours at body size. The footer's Open/Closed tag and
   holiday lines sit on a light band here, so they take the page's own text colors instead of the footer's gold and
   rose (both are for dark backgrounds only). */
.office-visit__address { font-family: var(--font-display); font-size: var(--font-size-h3); font-style: normal; line-height: var(--line-height-tight); }
.office-visit__heading-row { display: flex; flex-wrap: wrap; align-items: baseline; gap: var(--space-1) var(--space-2); }
.office-visit__heading { font-size: var(--font-size-base); }
.office-visit__photo { width: 100%; height: auto; border-radius: var(--radius); }
.office-visit__hours .hours { margin-top: var(--space-2); }
.office-visit__holidays { padding: 0; font-size: var(--font-size-small); list-style: none; }
.office-visit__note { font-weight: var(--font-weight-bold); }
.office-visit__notice { font-size: var(--font-size-small); }
.office-visit__hours .open-tag.is-open { color: var(--color-gold); }
.office-visit__hours .open-tag.is-closed { color: var(--color-red); }
/* Reviewed by: one small rose line under the proof lines; the attorney's name a white link with a full tap target */
.service-hero__reviewed { color: var(--color-rose); font-size: var(--font-size-small); }
.service-hero__reviewed a {
  display: inline-flex;
  align-items: center;
  min-height: var(--tap-target);
  color: var(--text-on-dark);
  text-underline-offset: 0.2em;
}
/* Opening: the notice is a paper panel with a fine gold edge on the white band. Emphasis (requested 2026-11-16): a
   3px red line across its top, a small red label, and a gold day medallion (below). Urgent, not alarming: red
   stays an accent, never the panel. Its "Call Now!" runs full width on phones like every phone CTA. */
.service-opening__inner { row-gap: var(--space-5); }
.service-notice {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-3);
  padding: var(--space-5);
  border: var(--border-width) solid var(--color-gold);
  border-top: var(--rule-height) solid var(--color-red);
  border-radius: var(--radius);
  background: var(--bg-alt);
}
.service-notice__head { display: flex; align-items: center; gap: var(--space-4); }
.service-notice__titles { display: flex; flex-direction: column; gap: var(--space-1); }
.service-notice__eyebrow {
  color: var(--color-red);
  font-family: var(--font-display);
  font-size: var(--font-size-eyebrow);
  font-weight: var(--font-weight-bold);
  letter-spacing: var(--letter-spacing-eyebrow);
  text-transform: uppercase;
}
/* Level figures, so the "15" in the heading matches the badge's instead of dipping below the line */
.service-notice__title { font-size: var(--font-size-h3); font-variant-numeric: lining-nums; text-wrap: balance; }
/* The medallion (requested 2026-11-16, in place of a calendar page): the footer monogram's and the profile portrait
   ring's language, one tick per day. An outer 1px gold ring with the section titles' diamond at its top; one fine
   gold tick per day around the inside (the dashes of one circle, build.js notice_ticks); a faint stone track with a
   red arc over it; the number in red Cormorant and the word in spaced capitals stacked in the middle. */
.service-notice__badge {
  display: grid;
  flex: none;
  place-items: center;
  align-content: center;
  width: var(--notice-badge-size);
  aspect-ratio: 1;
  text-align: center;
}
.service-notice__badge > * { grid-area: 1 / 1; }
.service-notice__dial { width: 100%; height: 100%; overflow: visible; }
/* Circles start at three o'clock; turned a quarter back so the ring, the ticks, and the sweep all start at the top */
.service-notice__dial circle {
  fill: none;
  vector-effect: non-scaling-stroke;
  transform: rotate(-90deg);
  transform-box: view-box;
  transform-origin: center;
}
.service-notice__ring { stroke: var(--color-gold); stroke-width: var(--border-width); }
.service-notice__ticks { stroke: var(--color-gold); stroke-width: var(--notice-badge-tick); stroke-dashoffset: 0.5; }
.service-notice__track { stroke: var(--color-stone); stroke-width: var(--border-width); }
.service-notice__sweep { stroke: var(--color-red); stroke-width: var(--border-width-strong); }
.service-notice__gem { fill: var(--color-gold); }
/* Number and word as one block in the middle of the dial (both in the same grid cell, nudged apart) */
.service-notice__badge-number {
  translate: 0 calc(-1 * var(--space-2));
  color: var(--color-red);
  font-family: var(--font-display);
  font-size: var(--font-size-notice-badge);
  font-weight: var(--font-weight-bold);
  font-variant-numeric: lining-nums tabular-nums;
  line-height: 1;
}
.service-notice__badge-label {
  translate: 0 var(--space-3);
  color: var(--text);
  font-size: var(--font-size-eyebrow-small);
  font-weight: var(--font-weight-bold);
  letter-spacing: var(--letter-spacing-eyebrow);
  text-transform: uppercase;
}
/* Countdown, once (data-reveal="draw", main.js): as the box comes into view the outer ring traces itself from the
   diamond, then the red arc sweeps around the ticks. Without JS or under reduced motion no classes are added, so the
   finished medallion simply shows. */
@media (prefers-reduced-motion: no-preference) {
  .service-notice__ring,
  .service-notice__sweep { stroke-dasharray: 1; }
  .service-notice.is-waiting :is(.service-notice__ring, .service-notice__sweep) { stroke-dashoffset: 1; }
  .service-notice.is-revealed .service-notice__ring { transition: stroke-dashoffset var(--hero-frame-draw) ease-in-out; }
  .service-notice.is-revealed .service-notice__sweep { transition: stroke-dashoffset var(--notice-badge-sweep) ease-in-out var(--reveal-draw-delay); }
}
.service-notice .btn { align-self: stretch; }
@media (min-width: 48em) {
  .service-notice .btn { align-self: flex-start; }
}
@media (min-width: 64em) {
  .hero--service.hero { padding-bottom: var(--section-space); }
  .hero--service .hero__text { grid-column: 1 / span 9; }
}

/* ---------- Blog ---------- */
.post__meta { color: var(--text-muted); font-size: var(--font-size-small); }
.post-sidebar {
  align-self: start;
  padding: var(--space-4);
  border: var(--border-width) solid var(--border-color);
  border-radius: var(--radius);
}
.post-sidebar__title { font-size: var(--font-size-h3); }

.pagination {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
}
.pagination__status { color: var(--text-muted); font-variant-numeric: tabular-nums; }

/* The list under an index page's header, with its pagination. On the blog, search results take its place
   (blog-search.js sets [hidden]), so its display is set here and given back to [hidden] */
.list-browse { display: flex; flex-direction: column; gap: var(--space-6); }
.list-browse[hidden] { display: none; }

/* Blog list (2026-11-23; it replaced 400px-tall cards): one compact row per article, the whole row its link,
   rows split by 1px stone lines like the header dropdown's. Title in medium body text, then the topic and date in
   small gray text: under the title on phones, at the right from tablet up, with the arrow last. */
.post-list { margin: 0; padding: 0; list-style: none; border-top: var(--border-width) solid var(--border-color); }
.post-row {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
  min-height: var(--tap-target);
  padding-block: var(--space-3);
  border-bottom: var(--border-width) solid var(--border-color);
}
.post-row__title {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-medium);
  line-height: var(--line-height-tight);
  letter-spacing: normal;
}
.post-row__link { color: var(--text); text-decoration: none; }
.post-row__link::after { content: ""; position: absolute; inset: 0; } /* the whole row opens the article */
.post-row__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: var(--space-2);
  margin: 0;
  color: var(--text-muted);
  font-size: var(--font-size-small);
}
.post-row__topic:empty { display: none; }
.post-row__topic:not(:empty) + .post-row__date::before { content: "·" / ""; margin-inline-end: var(--space-2); }
.post-row__meta::after { content: "→" / ""; margin-inline-start: auto; color: var(--link); font-size: var(--font-size-base); }
@media (hover: hover) {
  .post-row:hover .post-row__link { color: var(--link); text-decoration: underline; }
}
@media (min-width: 48em) {
  .post-row { flex-direction: row; align-items: baseline; justify-content: space-between; gap: var(--space-5); }
  .post-row__meta { flex: none; flex-wrap: nowrap; }
}

/* The blog's search box: label, hint, field, and the spoken result count, on the list's left edge */
.post-search { display: flex; flex-direction: column; gap: var(--space-2); max-width: var(--post-search-max); }
.post-search[hidden] { display: none; }
.post-search__label { font-weight: var(--font-weight-bold); }
.post-search__hint,
.post-search__status { margin: 0; color: var(--text-muted); font-size: var(--font-size-small); }
/* The status line stays in the page while empty (a live region that was display: none can go unannounced) */

/* ---------- Forms ---------- */
.form { display: flex; flex-direction: column; gap: var(--space-4); }
.form-field { display: flex; flex-direction: column; gap: var(--space-2); }
.form-field__label { font-weight: var(--font-weight-medium); }
.form-field__flag,
.form-field__hint { color: var(--text-muted); font-size: var(--font-size-small); font-weight: var(--font-weight-regular); }
.form-field__input {
  width: 100%;
  min-height: var(--tap-target);
  padding: var(--space-2) var(--space-3);
  background: var(--bg);
  color: var(--text);
  font: inherit;
  border: var(--border-width) solid var(--input-border);
  border-radius: var(--radius);
}
.form-field__input--textarea { min-height: var(--textarea-min-height); resize: vertical; }
.form-field__input[aria-invalid="true"] { border: var(--border-width-strong) solid var(--color-red); }

.form-field--checkbox { flex-direction: row; flex-wrap: wrap; align-items: flex-start; gap: var(--space-3); }
.form-field__check { flex: none; width: var(--icon-size); height: var(--icon-size); margin: 0; accent-color: var(--color-red); }
.form-field--checkbox .form-field__label { flex: 1; min-height: var(--tap-target); }
.form-field--checkbox .form-field__error { flex-basis: 100%; }

.form-field__error { color: var(--color-red); font-size: var(--font-size-small); font-weight: var(--font-weight-medium); }
.form-field__error:empty { display: none; }

.form__hp { position: absolute; left: -100vw; width: 1px; height: 1px; overflow: hidden; }

/* Sending state (main.js adds .is-sending once the form is valid): the submit button turns gray with its
   "Sending…" label and a small ring beside it, and stays that way under the mouse or a press, until the next
   page loads. The ring turns only when motion is allowed; under reduced motion it stays still. */
.btn--primary.is-sending,
.btn--primary.is-sending:hover,
.btn--primary.is-sending:active {
  gap: var(--space-2);
  background: var(--button-bg-sending);
  border-color: var(--button-bg-sending);
  color: var(--button-text);
  cursor: progress;
}
.btn.is-sending::before {
  content: "";
  flex: none;
  width: var(--spinner-size);
  height: var(--spinner-size);
  border: var(--border-width-strong) solid currentColor;
  border-right-color: transparent;
  border-radius: var(--radius-pill);
}
@media (prefers-reduced-motion: no-preference) {
  .btn.is-sending::before { animation: spin var(--spinner-duration) linear infinite; }
}
@keyframes spin { to { transform: rotate(1turn); } }

/* ---------- Disclaimers ---------- */
.disclaimer {
  max-width: var(--measure);
  padding: var(--space-3) var(--space-4);
  background: var(--bg-alt);
  font-size: var(--font-size-small);
  border: var(--border-width) solid var(--border-color);
  border-radius: var(--radius);
}

/* ---------- Contact page (pages/contact.md "contact"; DESIGN.md, "Contact page") ----------
   First screen: the service pages' dark band, holding the request form's card. Phones and tablets: the headline
   and lead, the card, then the proof lines. Desktop: the text in columns 1–7 with the proof lines under it, and
   the card in columns 8–12, their tops aligned. */
.hero--contact .hero__text { gap: var(--space-3); }
/* The line above the headline sits on the shared left edge (it follows the home hero's stagger otherwise) */
.hero--contact .hero__eyebrow { translate: none; }
.contact-hero__after { display: flex; flex-direction: column; gap: var(--space-4); }
/* One proof line per row at every width here: they stand beside the card, not under a row of buttons */
.hero--contact .service-hero__proof { flex-direction: column; }
/* "Rather talk now?" (beside a form only): the call as a quiet line, so the form stays the first screen's one
   button. The number is white and bold, gold-light under the mouse, with a full tap target. */
.contact-hero__call { display: flex; flex-wrap: wrap; align-items: center; gap: 0 var(--space-3); color: var(--color-rose); font-size: var(--font-size-small); }
.contact-hero__call-link { display: inline-flex; align-items: center; min-height: var(--tap-target); color: var(--text-on-dark); font-weight: var(--font-weight-bold); font-variant-numeric: tabular-nums; }
@media (hover: hover) { .contact-hero__call-link:hover { color: var(--color-gold-light); } }
/* Desktop: tops aligned, so the headline stays at the top of the band however tall the form is */
@media (min-width: 64em) {
  .hero--contact .hero__inner { grid-template-rows: auto 1fr; row-gap: var(--space-5); align-items: start; }
  .hero--contact .hero__text { grid-column: 1 / span 7; grid-row: 1; }
  .hero--contact .contact-hero__after { grid-column: 1 / span 7; grid-row: 2; }
  .hero--contact .contact-card { grid-column: 8 / -1; grid-row: 1 / span 2; }
}

/* The form's card (#contact-form): white on the dark band, capped with the 3px gold rule as the header's dropdown
   sheets are. It does not float, so it has no shadow. Inside it the light-background pairings apply again: the
   button loses the dark band's blush edge, and focus rings are charcoal. */
.contact-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  width: 100%;
  padding: var(--space-5) var(--space-4) var(--space-4);
  background: var(--bg);
  color: var(--text);
  text-align: left;
  border-radius: var(--radius);
}
.contact-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: var(--rule-height);
  background: var(--gradient-rule);
  border-radius: var(--radius) var(--radius) 0 0;
}
@media (min-width: 48em) { .contact-card { padding: var(--space-5); } }
.contact-card__title { font-size: var(--font-size-h3); }
.contact-card__note { color: var(--text-muted); font-size: var(--font-size-small); }
/* While the form is off: what to do instead, the 24/7 line beside a small red handset, and the call button */
.contact-card__pending { display: flex; flex-direction: column; align-items: flex-start; gap: var(--space-3); }
.contact-card__phones { display: inline-flex; align-items: center; gap: var(--space-2); font-weight: var(--font-weight-bold); }
.contact-card__phones-icon { flex: none; width: var(--icon-size-small); height: var(--icon-size-small); color: var(--link); }
/* The firm's Lawmatics form (contact.md form.lawmatics; main.js initLawmatics): Lawmatics' script puts its frame in
   .contact-card__frame and sets its height to fit the form. The frame is pulled out by the form's own side padding,
   so the fields line up with the card's title and notice. While it loads, the frame's place keeps the form's height;
   the fallback (what to do instead, the 24/7 line, the call button) shows only without JavaScript or when the
   script fails (.is-failed). */
.contact-card__frame { margin-inline: calc(-1 * var(--lawmatics-form-inset)); margin-block-start: calc(-1 * var(--lawmatics-form-top)); }
.contact-card__frame iframe { display: block; border: 0; }
.js .contact-card__embed:not(.is-ready, .is-failed) .contact-card__frame { min-height: var(--lawmatics-form-reserve); }
.js .contact-card__embed:not(.is-failed) .contact-card__fallback { display: none; }
.contact-card :focus-visible,
.contact-card .btn--primary:focus-visible { outline-color: var(--focus-ring); }
.contact-card .btn--primary:not(.is-sending) { border-color: var(--button-bg); }
@media (hover: hover) { .contact-card .btn--primary:not(.is-sending):hover { border-color: var(--button-bg-hover); } }
.contact-card .btn--primary:not(.is-sending):active { border-color: var(--button-bg-hover); }

/* Our Offices: the two offices (side by side from tablet up), then the hours; one row on desktop (layout.css) */
.contact-visit { row-gap: var(--space-5); }

.offices { display: flex; flex-direction: column; gap: var(--space-3); padding: 0; list-style: none; }
.offices__label { font-weight: var(--font-weight-bold); }
/* "Get directions" under each address: a bold text link with an arrow and a full tap target, red on light
   backgrounds and white (gold under the mouse) in the dark footer, like the footer's other links */
.offices__directions {
  display: inline-block;
  min-height: var(--tap-target);
  padding-block: var(--space-2);
  font-weight: var(--font-weight-bold);
}
.offices__directions::after { content: "\00a0\2197" / ""; }
/* The contact page's link to an office's own page (office pages, 2026-11-17): the office's name, bold, with a full tap target */
.offices__page-link {
  display: inline-block;
  min-height: var(--tap-target);
  padding-block: var(--space-2);
  font-weight: var(--font-weight-bold);
}
/* Google Maps and Apple Maps under an office's address (footer and contact page; footer spec, 2026-11-16): two
   quiet text links side by side, each a small pin and an underlined label, with a full tap target. Not boxed, and
   only --space-2 apart (each link's pin separates it from the last), so the pair fits under an address in the
   footer at 1024px: the two links measure 208px and the block is 222px there, 218px beside a classic scrollbar.
   Red on light backgrounds; white, gold under the mouse, in the dark footer, like the footer's other links. */
.map-links { display: flex; flex-wrap: wrap; gap: 0 var(--space-2); padding: 0; list-style: none; }
.map-links__link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  min-height: var(--tap-target);
  font-size: var(--font-size-small);
  font-weight: var(--font-weight-bold);
  text-decoration: none;
}
.map-links__icon { flex-shrink: 0; }
@media (hover: hover) {
  .map-links__link:hover .link-label { text-decoration: none; }
}

.hours { display: flex; flex-direction: column; gap: var(--space-1); max-width: var(--measure); font-variant-numeric: tabular-nums; }
.hours__row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0 var(--space-3); }
.hours__row > * { white-space: nowrap; }

/* ---------- CTA band ---------- */
.cta-band {
  padding-block: var(--section-space);
  background: var(--bg-alt);
}
.cta-band__inner { display: flex; flex-direction: column; align-items: flex-start; gap: var(--space-3); }
/* Phones: the buttons run full width like every phone CTA (link audit fix #15); from tablet up they size to
   their text, side by side */
.cta-band__inner > .btn-row { align-self: stretch; }
@media (min-width: 48em) {
  .cta-band__inner > .btn-row { align-self: flex-start; }
}
.cta-band__text { max-width: var(--measure); }

/* ---------- Home closing band (2026-11-18) ----------
   The home page's own closing band, on paper: the title lockup, text, the 24/7 line, and both buttons on the shared
   left edge. No drawing since 2026-11-23: the Cotton Mill moved behind the home team portrait (.team-portrait__backdrop). */
.home-closing__inner { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: var(--space-4); }
.home-closing__note { display: inline-flex; align-items: center; gap: var(--space-2); font-weight: var(--font-weight-bold); }
.home-closing__note-icon { flex: none; width: var(--icon-size-small); height: var(--icon-size-small); color: var(--link); }
/* Phones: the buttons run full width like every phone CTA; from tablet up they size to their text */
.home-closing__actions { align-self: stretch; }
@media (min-width: 48em) {
  .home-closing__actions { align-self: flex-start; }
}
@media (min-width: 64em) {
  /* The title stands above the drawing and keeps its full line; everything under it stays in the left half */
  .home-closing__inner > :not(.section-title) { max-width: calc(50% - var(--space-4)); }
}

/* ---------- Footer ---------- */
/* Dark footer (requested): a charcoal surface after the light page, so the visitor knows they've reached the
   end. It steps darker once more at the legal strip, so the page closes on its deepest color. */
.site-footer { padding-block-start: var(--footer-pad); background: var(--footer-panel); color: var(--footer-ink); }
.site-footer :focus-visible { outline-color: var(--footer-focus); }
/* The panel under the painting takes the scene's colours (living footer, 2026-11-19; main.js, setFooterScene, swaps the
   class as the clock changes the scene). Four tokens per scene: the panel, its ink, its small labels (the office and
   Hours headings, holiday lines), and its links; plus the muted text, the link hover, and the focus ring. Day and dawn
   are light panels (charcoal ink and ring); dusk and night are dark (white ink and ring, as on any dark band). The
   page carries the day scene, so without JavaScript the footer is the day panel. */
.site-footer,
.site-footer--day {
  --footer-panel: var(--footer-day-panel);
  --footer-ink: var(--color-charcoal);
  --footer-label: var(--footer-day-label);
  --footer-link: var(--footer-day-link);
  --footer-muted: var(--color-gray);
  --footer-hover: var(--color-red-dark);
  --footer-focus: var(--color-charcoal);
}
.site-footer--dawn {
  --footer-panel: var(--footer-dawn-panel);
  --footer-ink: var(--color-charcoal);
  --footer-label: var(--footer-dawn-label);
  --footer-link: var(--footer-dawn-link);
  --footer-muted: var(--color-gray);
  --footer-hover: var(--color-red-dark);
  --footer-focus: var(--color-charcoal);
}
.site-footer--dusk {
  --footer-panel: var(--footer-dusk-panel);
  --footer-ink: var(--color-white);
  --footer-label: var(--footer-dusk-label);
  --footer-link: var(--footer-dusk-link);
  --footer-muted: var(--color-rose);
  --footer-hover: var(--color-gold-light);
  --footer-focus: var(--color-white);
}
.site-footer--night {
  --footer-panel: var(--footer-night-panel);
  --footer-ink: var(--color-white);
  --footer-label: var(--footer-night-label);
  --footer-link: var(--footer-night-link);
  --footer-muted: var(--color-rose);
  --footer-hover: var(--color-gold-light);
  --footer-focus: var(--color-white);
}
/* The painted scene across the footer's top (living footer, 2026-11-19): a decorative engraving whose bottom melts into
   the panel colour (a requested exception to "no colour bleed", inside the footer only). The gold seam stays on the
   footer's top edge. It sits above the footer's own top padding, so it starts flush with the seam. A second image
   (main.js, setFooterScene) lies on top while the clock changes the scene, then the old one is removed. */
.footer-scene {
  position: relative;
  margin-block-start: calc(-1 * var(--footer-pad));
  background: var(--footer-panel);
}
/* Phones and tablets: the painting stands alone at its full height and the status plate sits below it (see .footer-status), so both
   buildings stay in view. From desktop up the scene is one fixed box and the plate floats at the top of the sky. */
.footer-scene__art {
  position: relative;
  block-size: var(--footer-scene-height);
  overflow: hidden;
}
.footer-scene__img {
  position: absolute;
  inset: 0;
  inline-size: 100%;
  block-size: 100%;
  object-fit: cover;
  object-position: var(--footer-scene-position);
}
.footer-scene__img:not([src]) { visibility: hidden; } /* the image ships empty until main.js gives it a scene: no broken-image icon */
.footer-scene__img--incoming { opacity: 0; transition: opacity var(--footer-scene-fade) ease; }
.footer-scene__img--incoming.is-shown { opacity: 1; }
.footer-scene__art::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  block-size: var(--footer-scene-melt);
  background: linear-gradient(to bottom, transparent, var(--footer-panel));
  pointer-events: none;
}
@media (prefers-reduced-motion: reduce) {
  .footer-scene__img--incoming { transition: none; }
}
/* The status plate in the sky (living footer): what the offices are doing now, in words. 92% opaque, so no text sits
   directly on the painting; its colours follow the scene (set from the clock by main.js); the chip carries the state's
   own colour, and the words carry the meaning. Hidden until main.js fills it, or showing a typed closure notice. */
.footer-status {
  position: relative;
  z-index: var(--footer-status-layer);
  margin: calc(-1 * var(--space-4)) var(--gutter) var(--space-3); /* below the painting, over only its faded edge */
  padding: var(--space-3) var(--space-3);
  border: var(--border-width) solid var(--plate-edge);
  border-radius: var(--radius);
  background: var(--plate-bg);
  color: var(--plate-fg);
  text-align: center;
  transition: background-color var(--footer-plate-fade), color var(--footer-plate-fade);
}
.footer-status--dawn { --plate-bg: var(--plate-dawn-bg); --plate-head: var(--plate-dawn-head); --plate-edge: var(--plate-dawn-edge); }
.footer-status--dusk { --plate-bg: var(--plate-dusk-bg); --plate-fg: var(--plate-dusk-fg); --plate-head: var(--plate-dusk-head); --plate-edge: var(--plate-dusk-edge); }
.footer-status--night { --plate-bg: var(--plate-night-bg); --plate-fg: var(--plate-night-fg); --plate-head: var(--plate-night-head); --plate-edge: var(--plate-night-edge); }
.footer-status__plate {
  margin: 0;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 700;
  font-size: var(--font-size-h3);
  line-height: var(--footer-plate-leading);
  color: var(--plate-head);
}
.footer-status__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: var(--space-2) var(--space-3);
  margin: var(--space-2) 0 0;
  font-size: var(--font-size-small);
  font-weight: 500;
}
.footer-status__plate:empty,
.footer-status__line:empty { display: none; }
.footer-status--notice .footer-status__plate { font-size: var(--font-size-base); font-family: var(--font-body); font-style: normal; color: var(--plate-fg); }
.status-chip {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-1) var(--space-3) var(--space-1) var(--space-2);
  border-radius: var(--radius-pill);
  background: var(--status-bg, var(--status-closed));
  color: var(--color-white);
  font-size: var(--font-size-small);
  font-weight: 700;
  transition: background-color var(--footer-chip-fade);
}
.status-chip__dot {
  flex: none;
  inline-size: var(--status-dot-size);
  block-size: var(--status-dot-size);
  border-radius: 50%;
  background: var(--status-dot, var(--status-closed-dot));
  box-shadow: 0 0 0 var(--status-dot-ring) var(--status-glow, var(--status-closed-glow)); /* a ring around the dot, not a shadow cast on the page */
}
.status-chip--open { --status-bg: var(--status-open); --status-dot: var(--status-open-dot); --status-glow: var(--status-open-glow); }
.status-chip--soon { --status-bg: var(--status-soon); --status-dot: var(--status-soon-dot); --status-glow: var(--status-soon-glow); }
.status-chip--opening { --status-bg: var(--status-opening); --status-dot: var(--status-opening-dot); --status-glow: var(--status-opening-glow); }
.status-chip--closed { --status-bg: var(--status-closed); --status-dot: var(--status-closed-dot); --status-glow: var(--status-closed-glow); }
.status-chip--holiday { --status-bg: var(--status-holiday); --status-dot: var(--status-holiday-dot); --status-glow: var(--status-holiday-glow); }
@media (min-width: 48em) {
  .footer-status {
    margin-inline: auto;
    inline-size: min(var(--footer-status-share), var(--footer-status-width));
    padding: var(--space-3) var(--space-4);
  }
}
@media (min-width: 64em) {
  .footer-scene {
    block-size: var(--footer-scene-height);
    overflow: hidden;
  }
  .footer-scene__art { position: absolute; inset: 0; block-size: auto; }
  .footer-status {
    position: absolute;
    inset-block-start: var(--space-3);
    inset-inline: 0;
    margin-block: 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  .footer-status, .status-chip { transition: none; }
}
/* Legal strip (requested exception): disclaimer and copyright on a full-width band in the darkest charcoal,
   set apart from the footer's links and addresses, with the gold seam on its top edge (layout.css) */
.site-footer__base {
  margin-block-start: var(--footer-pad);
  padding-block: var(--space-5) var(--space-6);
  background: var(--footer-base-bg);
  /* The strip stays the darkest charcoal in every scene: its own ink, links, and ring, whatever the panel above wears */
  color: var(--text-on-dark);
  --footer-ink: var(--color-white);
  --footer-link: var(--color-white);
  --footer-hover: var(--color-gold-light);
  --footer-focus: var(--color-white);
}
.site-footer__base-inner { display: flex; flex-direction: column; gap: var(--space-3); }
.site-footer__inner { display: flex; flex-direction: column; gap: var(--space-5); }
/* The "letterhead" footer (2026-11-16): two tight rows split by one thin gold rule, on the shared left edge.
   Top row: the medallion, the main pages, and the "Schedule a Consultation" pill, in that order on screen and for
   the keyboard at every width. Phones: stacked, the links wrapping as they fit, the pill full width like every
   phone CTA. */
.site-footer__bar { display: flex; flex-direction: column; align-items: flex-start; gap: var(--space-3); }
.site-footer__bar > .site-footer__cta { align-self: stretch; }
.site-footer__brand { position: relative; flex-shrink: 0; border-radius: var(--radius); }
.site-footer__logo { width: var(--footer-logo-size); height: var(--footer-logo-size); transition: opacity var(--footer-plate-fade); }
/* Two logo files in one spot (as the see-through header does): the light artwork for the light panels names the link,
   the dark artwork (alt="") takes over on the dark ones. Both stay in the page, so the link always has its name. */
.site-footer__logo--dark { position: absolute; inset-block: 0; inset-inline-start: 0; margin-block: auto; opacity: 0; pointer-events: none; }
.site-footer--dusk .site-footer__logo,
.site-footer--night .site-footer__logo { opacity: 0; }
.site-footer--dusk .site-footer__logo--dark,
.site-footer--night .site-footer__logo--dark { opacity: 1; }
@media (prefers-reduced-motion: reduce) {
  .site-footer__logo { transition: none; }
}
.site-footer__links { display: flex; flex-wrap: wrap; gap: 0 var(--space-4); padding: 0; list-style: none; }
/* From tablet up: one row. The links take the room between the medallion and the pill, on two lines at tablet
   width and on one from desktop up. */
@media (min-width: 48em) {
  .site-footer__bar { flex-direction: row; align-items: center; gap: var(--space-4); }
  .site-footer__bar > .site-footer__cta { align-self: center; }
  .site-footer__nav { flex: 1; }
}
@media (min-width: 64em) {
  .site-footer__bar { gap: var(--space-5); }
  .site-footer__links { gap: 0 var(--space-5); }
}
/* Row 2: one block per office, the hours, and the social links, under the footer's one thin gold rule */
.site-footer__grid {
  gap: var(--space-5) var(--space-4);
  padding-block-start: var(--space-5);
  border-block-start: var(--border-width) solid var(--footer-rule);
}
.site-footer__block { display: flex; flex-direction: column; gap: var(--space-2); }
/* An office: its label in the small gold capitals (the heading), its name, its address, and its two map links */
.site-footer__office-name { font-weight: var(--font-weight-bold); }
/* Each office opens with its building in a round medallion, cropped from the painting (the Cotton Mill for the principal
   office, the Wood County Courthouse for the other): the address sits under its building. Decorative; the label and name
   say which office it is. --footer-scene-url follows the scene (main.js). */
.footer-medal {
  display: block;
  flex: none;
  inline-size: var(--footer-medal-size);
  block-size: var(--footer-medal-size);
  border: var(--border-width-strong) solid var(--footer-medal-edge-light);
  border-radius: var(--radius-pill);
  background-color: var(--footer-panel);
  background-image: var(--footer-scene-url, none);
  background-repeat: no-repeat;
  background-size: auto var(--footer-medal-zoom);
}
.site-footer--dusk .footer-medal,
.site-footer--night .footer-medal { border-color: var(--footer-medal-edge-dark); }
.footer-medal--mill { background-position: var(--footer-medal-mill-pos); }
.footer-medal--court { background-position: var(--footer-medal-court-pos); }
/* From desktop up the second office sits at the row's right edge, its medallion and lines set flush right */
@media (min-width: 64em) {
  .site-footer__office--end { align-items: flex-end; text-align: end; }
  .site-footer__office--end .map-links { justify-content: flex-end; }
}
/* Hours: "Hours", whose hours they are, and the Open/Closed tag on one line; the list; then a holiday notice when
   one is set (gold, so it is noticed) and the 24/7 line */
.site-footer__heading-row { display: flex; flex-wrap: wrap; align-items: baseline; gap: var(--space-1) var(--space-2); }
/* The small text beside "Hours" keeps a tight line, so it never makes the row taller than the heading alone and
   "Hours" stays level with the office labels beside it */
.site-footer__scope { color: var(--footer-muted); font-size: var(--font-size-small); line-height: var(--line-height-tight); }
.site-footer__note { font-weight: var(--font-weight-bold); }
/* The 24/7 line over it (2026-11-20): "Our offices close. Our phones don't.", in the display italic, as the plate's line */
.site-footer__note-lead {
  color: var(--footer-ink);
  font-family: var(--font-display);
  font-size: var(--font-size-h3);
  font-style: italic;
  font-weight: var(--font-weight-semibold);
  line-height: var(--footer-plate-leading);
}.site-footer__notice { color: var(--footer-label); font-size: var(--font-size-small); }
/* Holiday announcements ("Closed today: Thanksgiving Day"), one line each, in the same gold. In the page hidden
   and empty; main.js fills and shows the list on a holiday and in the days before one. */
.site-footer__holidays { padding: 0; color: var(--footer-label); font-size: var(--font-size-small); list-style: none; }
/* The hours dial and the plain hours share one row at every width: the dial at the left, the list filling the rest */
.footer-hours-row { display: flex; align-items: center; gap: var(--space-3); }
.footer-hours-row > .hours { flex: 1; }
/* The hours dial (2026-11-20; it replaced the colored week): today as a small clock face, noon at the top. Decorative;
   the list beside it says the same in words. An outer ring that never breaks (the phones answered 24/7, in the
   medallions' gold), a faint track for the day, the open hours as gold arcs with a fine green edge, a hand at now, and a
   short word and line in the center. Flat colors only. */
.footer-dial { flex: none; inline-size: var(--footer-dial-size); block-size: var(--footer-dial-size); }
.footer-dial[hidden] { display: none; }
.footer-dial__svg { display: block; inline-size: 100%; block-size: 100%; overflow: visible; }
.footer-dial__ring { fill: none; stroke: var(--footer-medal-edge-light); stroke-width: var(--footer-dial-ring); }
.site-footer--dusk .footer-dial__ring,
.site-footer--night .footer-dial__ring { stroke: var(--footer-medal-edge-dark); }
.footer-dial__track { fill: none; stroke: var(--footer-dial-track); } /* its width and radius: DIAL in open-hours.js */
.site-footer--dusk .footer-dial__track,
.site-footer--night .footer-dial__track { stroke: var(--footer-dial-track-dark); }
/* A firm holiday: no arc, and the track dashed in the holiday color */
.site-footer .footer-dial__track--holiday { stroke: var(--status-holiday); stroke-dasharray: var(--footer-dial-dash); }
.footer-dial__arc { fill: none; stroke: var(--footer-dial-arc); }
.footer-dial__arc-edge { fill: none; stroke: var(--status-open); stroke-width: var(--footer-dial-edge); }
.footer-dial__hand { stroke: var(--footer-ink); stroke-width: var(--footer-dial-hand); stroke-linecap: round; }
.footer-dial__word,
.footer-dial__line { fill: var(--footer-ink); text-anchor: middle; }
.footer-dial__word { font-family: var(--font-display); font-weight: var(--font-weight-bold); font-size: var(--footer-dial-word); }
.footer-dial__line { font-family: var(--font-body); font-size: var(--footer-dial-line); font-variant-numeric: tabular-nums; }
/* While a typed closure notice holds the plate the dial says nothing and lights no hours (dialParts); the hand takes the panel's label color */
.footer-dial--notice .footer-dial__hand { stroke: var(--footer-label); }
/* Open/Closed tag: says its state in words, so the color only supports it. In the page hidden and empty; main.js
   fills and shows it (hidden needs saying here because the tag sets no display of its own to fall back on). */
.open-tag {
  padding-inline: var(--space-2);
  font-size: var(--font-size-small);
  line-height: var(--line-height-tight);
  border: var(--border-width) solid currentColor;
  border-radius: var(--radius);
}
.open-tag[hidden] { display: none; }
.open-tag.is-open { color: var(--color-gold-light); }
.open-tag.is-closed { color: var(--color-rose); }
/* Follow Us: icon-only links, each a full tap target with its outline drawing centered, in the footer's text color
   (gold under the mouse, like its other links), never a brand color. The row is pulled left by the tap target's
   overhang, so the first drawing, not its invisible tap area, sits on the block's left edge. */
.social {
  display: flex;
  flex-wrap: wrap;
  margin-inline-start: calc((var(--tap-target) - var(--social-disc-size)) / -2);
  padding: 0;
  list-style: none;
}
.site-footer a.social__link { justify-content: center; width: var(--tap-target); height: var(--tap-target); border-radius: var(--radius); }
.social__icon { width: var(--icon-size); height: var(--icon-size); }
/* Brand colours for three networks (2026-11-19), drawn by us: a round disc under the same outline drawing. Facebook's
   blue and Instagram's gradient carry a white drawing; Google's is a white disc with a charcoal drawing and a stone edge.
   TikTok stays a plain outline in the panel's ink. The disc is 42px inside the 44px tap target. */
.social__link--facebook .social__icon,
.social__link--instagram .social__icon,
.social__link--google .social__icon {
  box-sizing: content-box;
  padding: var(--space-2);
  border: var(--border-width) solid transparent;
  border-radius: var(--radius-pill);
}
.social__link--facebook .social__icon { background: var(--social-facebook); color: var(--color-white); }
.social__link--instagram .social__icon {
  background: linear-gradient(var(--social-gradient-angle), var(--social-instagram-from), var(--social-instagram-via), var(--social-instagram-to));
  color: var(--color-white);
}
.social__link--google .social__icon { border-color: var(--color-stone); background: var(--color-white); color: var(--color-charcoal); }
.site-footer a.social__link.social__link--tiktok { color: var(--footer-ink); }
@media (hover: hover) {
  .social__link--facebook:hover .social__icon,
  .social__link--instagram:hover .social__icon,
  .social__link--google:hover .social__icon { opacity: var(--social-hover-opacity); }
}
/* "Leave us a Google review": the footer's text-link size steps down here so it fits the narrow block in two lines */
.site-footer a.site-footer__review { font-size: var(--font-size-small); }
/* "Schedule a Consultation" pill (requested exception): every one on the site, footer, home sections, and the
   closing CTA band, looks exactly the same (requested). Fully rounded ends, no wrapping, and a blush edge that
   stays on hover (needed on the dark footer, where red on charcoal is only about 1.9:1; kept everywhere so they
   match). The attention pulse is added in the template with pulse="view" (see the pulse rules below). */
.btn--consult { border-radius: var(--radius-pill); white-space: nowrap; }
.btn--consult.btn--primary { border-color: var(--color-blush); }
.site-footer__heading {
  color: var(--footer-label); /* the panel's own: logo gold on day, plum on dawn, peach on dusk, light gold on night */
  font-family: var(--font-display);
  font-size: var(--font-size-eyebrow);
  font-weight: var(--font-weight-bold);
  letter-spacing: var(--letter-spacing-eyebrow);
  text-transform: uppercase;
}
/* Legal strip: two small paragraphs in the muted rose (who is responsible for the site; the short disclaimer),
   stacked on phones and tablets and side by side from desktop up (layout.css), and the copyright line under both */
.site-footer__legal-grid { gap: var(--space-3) var(--space-4); }
.site-footer__legal { color: var(--color-rose); font-size: var(--font-size-small); }
/* "Full Disclaimer" sits inside its sentence at text height, like any link in running text; the "Disclaimer" link
   on the line below is the full-size tap target for the same page */
.site-footer .site-footer__disclaimer a:not(.btn) { display: inline; min-height: 0; }
/* The copyright line: the firm's legal name and the legal pages, a middle dot between them (decorative, not read
   out). Phones: the name on its own line and the pages on the next, so no line starts with a dot. From tablet up:
   one line. */
.site-footer__fine {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0 var(--space-2);
  padding: 0;
  color: var(--color-rose);
  font-size: var(--font-size-small);
  list-style: none;
}
.site-footer__fine li:first-child { flex-basis: 100%; }
.site-footer__fine li + li + li::before { content: "\00b7" / ""; margin-inline-end: var(--space-2); }
@media (min-width: 48em) {
  .site-footer__fine li:first-child { flex-basis: auto; }
  .site-footer__fine li + li::before { content: "\00b7" / ""; margin-inline-end: var(--space-2); }
}
/* Phones: room under the copyright line so the floating call button never covers it */
.site-footer__base { padding-block-end: calc(var(--call-float-size) + var(--space-3) + var(--space-5)); }
@media (min-width: 48em) {
  .site-footer__base { padding-block-end: var(--space-6); }
}

/* Floating click-to-call (requested exception): phones only. A red circle with the phone icon, fixed at the
   bottom right of the screen, within thumb reach, so callers don't have to stretch to the header pill.
   Its accessible name is the full "Call Now!" label with the number. It floats over every section, so it
   keeps a blush edge (visible on dark) and uses the overlay shadow allowed for floating layers. Hidden while
   the menu is open (html.is-locked) and from tablet up, where the number shows in the header. */
.call-float {
  position: fixed;
  right: max(var(--gutter), env(safe-area-inset-right));
  bottom: max(var(--space-3), env(safe-area-inset-bottom));
  z-index: var(--z-float);
  width: var(--call-float-size);
  height: var(--call-float-size);
  padding: 0;
  border: var(--border-width-strong) solid var(--color-blush);
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-overlay);
  transition:
    opacity var(--call-float-fade) ease-out,
    visibility var(--call-float-fade),
    translate var(--call-float-fade) ease-out,
    background-color var(--btn-fade) ease-out,
    transform var(--btn-fade) ease-out;
}
/* Tucked away while the home hero fills the screen (main.js; the header's "Call Now!" pill is in view there):
   hidden from sight, taps, and the keyboard, then it fades and rises in. Without JavaScript it always shows. */
.call-float.is-tucked { opacity: 0; visibility: hidden; translate: 0 var(--space-3); }
/* It sits over light and dark sections alike: a charcoal ring, and the edge turns white so either shows */
.site-footer .call-float:focus-visible { outline-color: var(--focus-ring); border-color: var(--color-white); }
.call-float__icon { width: var(--call-float-icon-size); height: var(--call-float-icon-size); }

/* Attention pulse, 3 times then stop (all motion ends under 5 seconds, WCAG 2.2.2, so no pause control is
   needed). Each beat, the button is "pressed": it dips, darkens for a moment, and springs back. As it springs
   back it releases a ripple, two red rings, the second trailing the first, that glide outward on a long
   ease-out and fade. Rings spread a fixed distance, so round and pill shapes match. Off under reduced motion.
   Once per browser session, not per page: main.js adds .is-pulsing only if this button hasn't pulsed yet in
   this session (sessionStorage). Without JS, no pulse.
   - [data-pulse="load"] pulses once the page loads (the floating call button; its ringing icon carries the
     cue without it).
   - [data-pulse="view"] pulses the first time it is fully in view (every "Schedule a Consultation" pill). */
.btn--consult { position: relative; } /* anchors its rings; .call-float is already fixed */
[data-pulse]::before,
[data-pulse]::after {
  content: "";
  position: absolute;
  inset: calc(var(--border-width-strong) * -1);
  border: var(--border-width-strong) solid var(--color-red-bright); /* decorative; shows on light and dark */
  border-radius: inherit;
  opacity: 0;
  pointer-events: none;
}
@media (prefers-reduced-motion: no-preference) {
  [data-pulse].is-pulsing {
    animation-name: pulse-press;
    animation-duration: var(--pulse-duration);
    animation-timing-function: var(--pulse-ease);
    animation-iteration-count: 3;
  }
  [data-pulse].is-pulsing::before,
  [data-pulse].is-pulsing::after {
    animation-name: pulse-ring;
    animation-duration: var(--pulse-duration);
    animation-timing-function: var(--pulse-ease);
    animation-iteration-count: 3;
  }
  [data-pulse="load"].is-pulsing,
  [data-pulse="load"].is-pulsing::before { animation-delay: var(--pulse-delay); }
  [data-pulse="view"].is-pulsing,
  [data-pulse="view"].is-pulsing::before { animation-delay: var(--pulse-delay-in-view); }
  /* The trailing ring: same ripple, a beat later */
  [data-pulse="load"].is-pulsing::after { animation-delay: calc(var(--pulse-delay) + var(--pulse-trail)); }
  [data-pulse="view"].is-pulsing::after { animation-delay: calc(var(--pulse-delay-in-view) + var(--pulse-trail)); }
}
/* Press: quick dip and darken, then a soft spring back past rest and settle */
@keyframes pulse-press {
  0%, 100% { transform: scale(1); }
  10% { transform: scale(var(--pulse-press-scale)); background-color: var(--button-bg-hover); }
  24% { transform: scale(var(--pulse-press-rebound)); }
  36% { transform: scale(1); }
}
/* Ripple: hidden during the dip, fades in at the button's edge as it springs back, glides out and fades */
@keyframes pulse-ring {
  0%, 12% { opacity: 0; inset: calc(var(--border-width-strong) * -1); }
  20% { opacity: 0.9; inset: calc(var(--border-width-strong) * -1); }
  100% { opacity: 0; inset: calc(var(--pulse-spread) * -1); }
}

.is-locked .call-float { display: none; }
@media (min-width: 48em) {
  .call-float { display: none; }
}

.site-footer a:not(.btn) { display: inline-flex; align-items: center; min-height: var(--tap-target); color: var(--footer-link); }
.site-footer a:not(.btn):hover { color: var(--footer-hover); }
/* "Get directions" keeps its inline-block (not the footer links' flex), so its arrow stays with the label */
.site-footer a:is(.offices__directions, .new-tab) { display: inline-block; text-decoration: none; }
/* Its line box is shorter than the tap target, so pad it to 44px like the footer's other links */
.site-footer a.new-tab { min-height: var(--tap-target); padding-block: var(--space-2); }

/* ---------- Media ---------- */
.media { display: flex; flex-direction: column; gap: var(--space-2); }
.media__video { width: 100%; }
/* YouTube (partials/youtube.html): the poster as a link with a round play button in the button colors; the player
   main.js swaps in takes the same 16:9 box, so nothing below moves */
.media__embed { position: relative; display: block; border-radius: var(--radius); overflow: hidden; }
.media__poster { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.media__play {
  position: absolute;
  inset: 50% auto auto 50%;
  translate: -50% -50%;
  display: grid;
  place-items: center;
  width: var(--media-play-size);
  height: var(--media-play-size);
  border-radius: 50%;
  background: var(--button-bg);
  color: var(--button-text);
  box-shadow: var(--shadow-overlay);
}
.media__play svg { width: 45%; height: 45%; margin-inline-start: 8%; } /* the triangle's weight sits left of center */
.media__embed:hover .media__play,
.media__embed:focus-visible .media__play { background: var(--button-bg-hover); }
.media__frame { display: block; width: 100%; aspect-ratio: 16 / 9; height: auto; border: 0; border-radius: var(--radius); }
/* A self-hosted video's transcript, under it: closed until asked for, like the FAQ */
.media__transcript > summary { min-height: var(--tap-target); display: flex; align-items: center; color: var(--link); cursor: pointer; }
.media__transcript > p { margin-block-start: var(--space-2); }

/* 02, How we can help (office pages, 2026-11-17): a card per practice area (the card component), the area's services as
   a link list under its summary. The service links sit above the card's cover link (as .card__link does), one column
   in the card until the desktop width, then two. */
.office-help__text { max-width: var(--measure); }
.office-area__services .link-list__link { position: relative; z-index: 1; }
@media (max-width: 63.99em) {
  .office-area__services { grid-template-columns: minmax(0, 1fr); }
  .office-area__services .link-list__item:nth-child(2) { border-top: 0; }
}

/* 03, Communities we serve (office pages, 2026-11-17): the towns and counties as a wrapping list of plain tags (the
   service tags' gold outline, not links, so no hover), the courts as a name and a note. The groups stack on phones and
   sit in three columns from the desktop width. */
.office-served__text { max-width: var(--measure); }
.office-served { gap: var(--space-6); }
.office-served__heading { font-size: var(--font-size-base); }
.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin: 0;
  padding: 0;
  list-style: none;
}
.tag-list__item {
  display: inline-flex;
  align-items: center;
  min-height: var(--profile-tag-height);
  padding-inline: var(--space-3);
  color: var(--text);
  font-size: var(--font-size-small);
  font-weight: var(--font-weight-medium);
  line-height: var(--line-height-tight);
  border: var(--border-width) solid var(--color-gold);
  border-radius: var(--radius-pill);
}
.served-courts { margin: 0; }
.served-courts__name { font-weight: var(--font-weight-semibold); }
.served-courts__note { margin: var(--space-1) 0 var(--space-3); }
@media (min-width: 64em) {
  .office-served { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .office-served > * { grid-column: auto; }
}

/* ---------- Site notice (GTM messages, plan Step 6b, 2026-11-18; pending the firm's approval) ----------
   Shown only when GTM sends show_notice. It hangs below the sticky header, over the page, so it never moves the
   page; a plain white sheet capped with the 3px gold rule and floating on --shadow-overlay, like the dropdowns.
   No motion. The open phone menu (--z-menu) covers it. */
.site-notice {
  position: absolute;
  inset-inline: 0;
  top: 100%;
  background: var(--bg);
  box-shadow: var(--shadow-overlay);
}
.site-notice[hidden] { display: none; }
.site-notice::before {
  content: "";
  display: block;
  height: var(--rule-height);
  background: var(--gradient-rule);
}
.site-notice__inner {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding-block: var(--space-1);
}
.site-notice__text {
  margin: 0;
  max-width: var(--measure);
  padding-block: var(--space-2);
  color: var(--text);
  font-size: var(--font-size-small);
}
/* A link inside the sentence (inline, so the line spacing stays even; WCAG's inline exception to target size) */
.site-notice__link {
  color: var(--link);
  font-weight: 700;
}
@media (hover: hover) { .site-notice__link:hover { color: var(--link-hover); } }
.site-notice__close {
  display: inline-flex;
  flex: none;
  align-items: center;
  justify-content: center;
  min-width: var(--tap-target);
  min-height: var(--tap-target);
  margin-inline: auto calc(-1 * var(--space-2)); /* on the container's right edge; the drawn X, not its tap area, lines up */
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--text);
  cursor: pointer;
}
.site-notice__close:focus-visible,
.site-notice__link:focus-visible { outline: 3px solid var(--focus-ring); outline-offset: 2px; }

/* ---------- Advertising choice (privacy page, plan Step 12a, 2026-11-18; pending the firm's approval) ----------
   The button shows only with JavaScript; the text above it stands alone without. The status line confirms. */
.ads-choice {
  max-width: var(--measure);
  padding-top: var(--space-4);
  border-top: var(--border-width) solid var(--border-color);
}
.ads-choice__title { margin: 0; }
.ads-choice__text { margin: 0; }
.ads-choice__button[hidden] { display: none; }
.ads-choice__status { margin: 0; font-weight: 700; }

/* ---------- Our Team page (team.html) ---------- */
/* The title lockup and the shield wall on white, then each rank's cards on paper (design:
   docs/superpowers/specs/2026-11-18-team-shield-wall-design.md). A person with no photo yet shows their initials
   on a paper panel with a fine gold edge, the same 4:5 as the photos; the lead's card runs the full row from
   tablet up, photo beside the text. */
.team-band { padding-block: var(--section-space); }
.team-band--people { background: var(--bg-alt); }
.team-band--people > .container { gap: var(--space-6); }
.card__initials {
  display: grid;
  place-items: center;
  width: 100%;
  max-width: var(--team-initials-max);
  aspect-ratio: 4 / 5;
  background: var(--bg-alt);
  border: var(--border-width) solid var(--color-gold);
  color: var(--color-gold);
  font-family: var(--font-display);
  font-size: var(--font-size-team-initials);
  font-weight: var(--font-weight-bold);
  letter-spacing: var(--letter-spacing-heading);
}
@media (min-width: 48em) {
  .card-grid > .card--featured {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    /* name, meta, text, and link stack at the top; the last row takes the rest of the photo's height */
    grid-template-rows: repeat(4, auto) 1fr;
    column-gap: var(--space-5);
  }
  /* the photo, or the initials panel when there is no photo yet, fills the first column */
  .card--featured > :is(.card__image, .card__initials) { grid-column: 1; grid-row: 1 / span 5; }
  .card--featured > :not(.card__image, .card__initials) { grid-column: 2; }
}
@media (min-width: 64em) {
  .card-grid > .card--featured { grid-template-columns: 5fr 7fr; }
}

/* The shield wall: one arch of round portrait shields, Sarah largest at the crown, everyone else by rank from the
   crown outward, the firm's monogram (which carries its own gold rings) in any empty place. Higher ranks sit in front
   where shields overlap; a ring in the band's color keeps neighbors apart (a ring, never a shadow). "Your case" sits
   inside the arch, centered over its base. Room above the arch for the crown's half. No motion. */
.team-wall {
  position: relative;
  /* as wide as its places need (--wall-slots, from the build), so neighbors overlap at any count */
  width: min(100%, calc(var(--wall-per-shield) * var(--wall-slots)));
  margin-inline: auto;
  padding-top: calc(var(--shield-lead) / 2);
  container-type: inline-size;
}
.team-wall__arch {
  position: relative;
  aspect-ratio: var(--wall-ratio);
  margin: 0;
  padding: 0;
  list-style: none;
}
.team-wall__shield {
  --shield: var(--shield-staff);
  --shield-fit: var(--shield-staff-fit);
  position: absolute;
  left: calc(50% + var(--wall-rx) * var(--slot-cos));
  top: calc(var(--wall-cy) - var(--wall-ry) * var(--slot-sin));
  translate: -50% -50%;
  /* the shield's size, plus the ring around it */
  width: calc(var(--shield) + 2 * var(--shield-ring));
  width: calc(min(var(--shield), 100cqi / var(--wall-slots) * var(--shield-fit)) + 2 * var(--shield-ring));
  aspect-ratio: 1;
  /* the ring in the band's color that keeps overlapping neighbors apart: padding on a band-colored disc (borders and
     padding stay round in every browser; an outline was square in Safari before 16.4) */
  padding: var(--shield-ring);
  background: var(--bg);
  border-radius: 50%;
  container-type: inline-size;
  z-index: var(--z-shield-staff);
}
.team-wall__shield--lead { --shield: var(--shield-lead); --shield-fit: var(--shield-lead-fit); z-index: var(--z-shield-lead); }
.team-wall__shield--attorney { --shield: var(--shield-attorney); --shield-fit: var(--shield-attorney-fit); z-index: var(--z-shield-attorney); }
.team-wall__shield--paralegal { --shield: var(--shield-paralegal); --shield-fit: var(--shield-paralegal-fit); z-index: var(--z-shield-paralegal); }
/* the gold edge, on the photo or the initials disc; the firm's monogram draws its own rings */
.team-wall__image,
.team-wall__initials {
  width: 100%;
  height: 100%;
  border: var(--shield-edge) solid var(--color-gold);
  border-radius: 50%;
}
.team-wall__image { display: block; object-fit: cover; object-position: top; }
.team-wall__shield--firm .team-wall__image { border-color: transparent; }
/* a fine gold ring just inside a photo's edge */
.team-wall__shield--photo::after {
  content: "";
  position: absolute;
  inset: calc(var(--shield-ring) + var(--shield-edge) + var(--shield-inner));
  border: var(--border-width) solid var(--color-gold);
  border-radius: 50%;
  pointer-events: none;
}
.team-wall__initials {
  display: grid;
  place-items: center;
  background: var(--bg-alt);
  color: var(--color-gold);
  font-family: var(--font-display);
  font-size: var(--font-size-wall-initials-fallback);
  font-size: var(--font-size-wall-initials);
  font-weight: var(--font-weight-bold);
  letter-spacing: var(--letter-spacing-heading);
}
.team-wall__core {
  position: absolute;
  left: 50%;
  bottom: 0;
  translate: -50% 0;
  width: var(--wall-core-width);
  margin: 0;
  text-align: center;
}
.team-wall__core-key {
  display: block;
  color: var(--link);
  font-family: var(--font-display);
  font-size: var(--font-size-h3);
  font-style: italic;
  font-weight: var(--font-weight-semibold);
}
.team-wall__core-line { display: block; font-size: var(--font-size-small); }

/* Staff profile (paralegals and support staff, 2026-11-19; spec 2026-11-19-staff-profile-design). It reuses the attorney
   profile's hero, chapters, and pull quote; only these four parts are its own. */
/* Her own words in the hero: rose text behind a fine gold-light rule on the left */
.staff-hero__quote {
  margin: 0;
  padding-left: var(--space-3);
  border-left: var(--border-width) solid var(--color-gold-light);
  max-width: var(--staff-quote-measure);
  color: var(--color-rose);
}
.staff-hero__quote p { margin: 0; }
/* Facts strip, first in the story band under the hero: two by two on phones, four across from desktop; labels in the small gold capitals */
.staff-facts-group { margin-bottom: var(--space-4); }
.staff-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-4) var(--space-3);
  margin: 0;
  padding-block: var(--space-4);
}
.staff-facts__item { display: flex; flex-direction: column; gap: var(--space-1); min-width: 0; }
.staff-facts__label {
  color: var(--color-gold);
  font-size: var(--font-size-eyebrow-small);
  font-weight: var(--font-weight-bold);
  letter-spacing: var(--letter-spacing-eyebrow);
  text-transform: uppercase;
}
.staff-facts__value { margin: 0; font-size: var(--font-size-small); }
@media (min-width: 64em) {
  .staff-facts { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-3); }
}
/* How she helps: the photo (4:5, a fine gold edge) stacked above the text on phones, beside it from tablet up. Without
   a photo (--photo absent) the text runs alone at the reading width. */
.staff-helps__inner { display: grid; gap: var(--space-5); align-items: start; }
.staff-helps__photo { max-width: var(--staff-helps-photo-max); }
.staff-helps__image {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border: var(--border-width) solid var(--color-gold);
  border-radius: var(--radius);
}
.staff-helps__body { display: flex; flex-direction: column; gap: var(--space-4); min-width: 0; }
.staff-helps__inner:not(.staff-helps__inner--photo) .staff-helps__body { max-width: var(--measure); }
.staff-helps__body .pull-quote { align-items: flex-start; text-align: left; }
.staff-helps__body .pull-quote__text { align-items: flex-start; text-align: left; }
@media (min-width: 48em) {
  .staff-helps__inner--photo { grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: var(--space-6); }
  .staff-helps__photo { max-width: none; }
}
/* The line that says the person is not an attorney: white on the paper helps band, a gold edge on the left */
.staff-note {
  margin: 0;
  padding: var(--space-2) var(--space-3);
  border-left: var(--border-width-strong) solid var(--color-gold);
  background: var(--bg);
  font-size: var(--font-size-small);
}
/* Outside the office: the paragraph keeps the title lockup's gap and a reading width */
.staff-off { margin-top: var(--space-4); max-width: var(--measure); }

