/* ==========================================================================
   Kendall Law Group LLC
   Design system + components. Built from the approved homepage design.
   Sections: 1 tokens · 2 base · 3 layout · 4 type · 5 buttons · 6 header
   7 hero · 8 homepage sections · 9 inner pages · 10 blog · 11 forms
   12 footer · 13 mobile action bar · 14 responsive
   ========================================================================== */

/* 1. Tokens ---------------------------------------------------------------- */
:root {
  --ink: #0E1013;
  --ink-2: #15181C;
  --ink-3: #1E2227;
  --text: #16191D;
  --body: #3A4047;
  --muted: #5E656D;
  --paper: #FFFFFF;
  --stone: #F5F5F3;
  --line: #E6E6E3;
  --line-2: #E3E3DF;
  --field: #8A9097;
  --red: #BE202E;
  --red-dark: #A01B27;
  --gold: #E3A935;

  --on-dark: rgba(255, 255, 255, .80);
  --on-dark-soft: rgba(255, 255, 255, .66);
  --on-dark-line: rgba(255, 255, 255, .14);

  --serif-display: "Libre Caslon Display", "Libre Caslon Text", Georgia, "Times New Roman", serif;
  --serif: "Libre Caslon Text", Georgia, "Times New Roman", serif;
  --sans: "Libre Franklin", "Franklin Gothic Book", "Segoe UI", "Helvetica Neue", Arial, sans-serif;

  --wrap: 1240px;
  --gutter: 24px;
  --section: 96px;
  --radius: 2px;
  --shell-pad: clamp(20px, 5vw, 100px);
}

/* 2. Base ------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
h1, h2, h3, h4, h5 { margin: 0; font-weight: 400; }
p, ul, ol, figure, blockquote, dl, dd { margin: 0; }
a { color: inherit; }

::selection { background: var(--red); color: #fff; }

:focus-visible {
  outline: 2px solid var(--text);
  outline-offset: 3px;
  border-radius: var(--radius);
}
.on-dark :focus-visible, .hero :focus-visible, .site-footer :focus-visible { outline-color: #fff; }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--red); color: #fff; padding: 14px 20px;
  font-size: 14px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
}
.skip-link:focus { left: 0; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px;
  margin: -1px; padding: 0; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}

/* 3. Layout ---------------------------------------------------------------- */
.wrap {
  width: 100%;
  max-width: calc(var(--wrap) + var(--shell-pad) * 2);
  margin-inline: auto;
  padding-inline: var(--shell-pad);
}

.section { padding-block: var(--section); }
.section--tight { padding-block: calc(var(--section) * .7); }
.section--stone { background: var(--stone); }
.section--ink { background: var(--ink-2); color: #fff; }
.section--line { border-top: 1px solid var(--line); }

.grid { display: grid; gap: var(--gutter); }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
  gap: var(--gutter);
  align-items: end;
  margin-bottom: 56px;
}
.section-head__actions { display: flex; justify-content: flex-end; }
.section-head > div:first-child { display: flex; flex-direction: column; gap: 24px; align-items: flex-start; }

/* 4. Type ------------------------------------------------------------------ */
.eyebrow {
  display: flex; align-items: center; gap: 14px;
  font-size: 13px; line-height: 1.25; font-weight: 600;
  letter-spacing: .16em; text-transform: uppercase; color: var(--muted);
}
.eyebrow::before {
  content: ""; width: 40px; height: 2px; flex: none; background: var(--red);
}
.on-dark .eyebrow, .section--ink .eyebrow, .hero .eyebrow { color: rgba(255, 255, 255, .78); }

.display {
  font-family: var(--serif-display);
  font-size: clamp(42px, 6vw, 88px);
  line-height: 1.02;
  letter-spacing: -.01em;
  text-wrap: balance;
}
.h1, .h2 {
  font-family: var(--serif-display);
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.12;
  text-wrap: balance;
}
.h3 { font-family: var(--serif); font-size: clamp(22px, 2.4vw, 30px); line-height: 1.25; }
.h4 { font-family: var(--serif); font-size: 21px; line-height: 1.35; }

.lead { font-size: clamp(18px, 1.6vw, 19px); line-height: 1.65; color: var(--body); text-wrap: pretty; }
.section--ink .lead, .hero .lead, .page-hero .lead, .cta-band .lead, .on-dark .lead { color: var(--on-dark); }
.small { font-size: 15px; line-height: 1.5; color: var(--muted); }
.fine { font-size: 13px; line-height: 1.6; color: var(--muted); }
.section--ink .fine { color: var(--on-dark-soft); }

.label {
  font-size: 13px; line-height: 1.25; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase; color: var(--muted);
}

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--red); text-decoration: none;
}
.link-arrow svg { flex: none; transition: transform 160ms ease; }
.link-arrow:hover svg { transform: translateX(3px); }
.on-dark .link-arrow, .section--ink .link-arrow { color: #fff; }

.stars { display: inline-flex; gap: 3px; color: var(--gold); }
.stars svg { display: block; }

/* 5. Buttons --------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 54px; padding-inline: 28px;
  font-family: var(--sans); font-size: 13px; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase; text-decoration: none;
  border: 0; border-radius: var(--radius); cursor: pointer;
  transition: background-color 160ms ease, color 160ms ease, border-color 160ms ease;
}
.btn svg { flex: none; }
.btn--primary { background: var(--red); color: #fff; }
.btn--primary:hover { background: var(--red-dark); color: #fff; }
.btn--dark { background: var(--text); color: #fff; }
.btn--dark:hover { background: #2F343B; color: #fff; }
.btn--outline { border: 1.5px solid var(--text); color: var(--text); background: transparent; }
.btn--outline:hover { background: var(--text); color: #fff; }
.btn--light { border: 1.5px solid rgba(255, 255, 255, .72); color: #fff; background: transparent; }
.btn--light:hover { background: #fff; color: var(--text); }
.btn--lg { height: 58px; padding-inline: 34px; font-size: 14px; }
.btn--sm { height: 48px; padding-inline: 22px; }
.btn--block { width: 100%; }

.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

/* 6. Header ---------------------------------------------------------------- */
.topbar {
  background: var(--ink);
  color: var(--on-dark);
  border-bottom: 1px solid var(--on-dark-line);
  font-size: 13px;
  line-height: 1.25;
}
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 32px; height: 40px; }
.topbar__right { display: flex; align-items: center; gap: 28px; }
.topbar__item { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }
.topbar a { color: #fff; font-weight: 600; text-decoration: none; }
.topbar a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }

.masthead {
  background: var(--ink);
  color: #fff;
  position: relative;
  z-index: 60;
}
.masthead .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 92px; }

.brand { display: inline-flex; align-items: center; gap: 16px; text-decoration: none; color: #fff; flex: none; }
.brand img { height: 46px; width: auto; }
.brand__rule { width: 1px; height: 38px; background: rgba(255, 255, 255, .34); flex: none; }
.brand__name {
  font-family: var(--serif); font-size: 15px; line-height: 1.2;
  letter-spacing: .1em; text-transform: uppercase; white-space: nowrap;
}

.nav { display: flex; align-items: center; justify-content: center; gap: 26px; flex: 1 1 auto; }
.nav__item { position: relative; }
.nav__link {
  display: inline-flex; align-items: center; gap: 6px;
  padding-block: 8px;
  font-size: 13px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  color: rgba(255, 255, 255, .92); text-decoration: none; white-space: nowrap;
  background: none; border: 0; font-family: var(--sans); cursor: pointer;
}
.nav__link:hover, .nav__item[data-open="true"] .nav__link { color: #fff; }
.nav__link svg { transition: transform 160ms ease; }
.nav__item[data-open="true"] .nav__link svg { transform: rotate(180deg); }

.nav__panel {
  position: absolute; top: calc(100% + 18px); left: -24px;
  min-width: 300px; padding: 10px;
  background: #fff; border: 1px solid var(--line);
  box-shadow: 0 18px 40px rgba(14, 16, 19, .16);
  display: none; z-index: 70;
}
/* Invisible bridge across the 18px gap, so the pointer never leaves the item
   on its way down to the panel. Only exists while the panel is open. */
.nav__panel::before {
  content: ""; position: absolute; left: 0; right: 0; top: -19px; height: 19px;
}
.nav__item[data-open="true"] .nav__panel { display: block; }
.nav__panel a {
  display: block; padding: 11px 14px;
  font-size: 15px; color: var(--text); text-decoration: none;
  border-bottom: 1px solid var(--line);
}
.nav__panel a:last-child { border-bottom: 0; }
.nav__panel a:hover { background: var(--stone); color: var(--red); }

.masthead__cta { display: flex; align-items: center; gap: 20px; flex: none; }
.masthead__phone { display: inline-flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; white-space: nowrap; }
.masthead__phone span { display: block; }
.masthead__phone .k { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--on-dark-soft); }
.masthead__phone .n { font-size: 16px; font-weight: 600; font-variant-numeric: tabular-nums; }

.burger {
  display: none; width: 46px; height: 46px; align-items: center; justify-content: center;
  background: transparent; border: 1px solid rgba(255, 255, 255, .28); border-radius: var(--radius);
  color: #fff; cursor: pointer;
}
.burger span { display: block; width: 20px; height: 2px; background: currentColor; position: relative; }
.burger span::before, .burger span::after {
  content: ""; position: absolute; left: 0; width: 20px; height: 2px; background: currentColor;
}
.burger span::before { top: -6px; }
.burger span::after { top: 6px; }

.drawer {
  position: fixed; inset: 0; z-index: 120;
  background: var(--ink); color: #fff;
  padding: 24px var(--shell-pad) 40px;
  overflow-y: auto;
  display: none;
}
.drawer[data-open="true"] { display: block; }
.drawer__top { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.drawer__close {
  width: 46px; height: 46px; display: inline-flex; align-items: center; justify-content: center;
  background: transparent; border: 1px solid rgba(255, 255, 255, .28); color: #fff;
  border-radius: var(--radius); font-size: 22px; line-height: 1; cursor: pointer;
}
.drawer nav { margin-top: 24px; display: flex; flex-direction: column; }
.drawer nav > a, .drawer details > summary {
  padding: 18px 0; border-bottom: 1px solid var(--on-dark-line);
  font-size: 15px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  color: #fff; text-decoration: none; list-style: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
}
.drawer details > summary::-webkit-details-marker { display: none; }
.drawer details[open] > summary { color: #fff; }
.drawer details ul { list-style: none; padding: 6px 0 14px; margin: 0; }
.drawer details ul a {
  display: block; padding: 10px 0; font-size: 15px;
  color: var(--on-dark); text-decoration: none; text-transform: none; letter-spacing: 0;
}
.drawer__foot { margin-top: 28px; display: flex; flex-direction: column; gap: 12px; }

/* 7. Hero ------------------------------------------------------------------ */
.hero { position: relative; overflow: hidden; background: var(--ink); color: #fff; isolation: isolate; }
.hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.hero__scrim { position: absolute; inset: 0; z-index: -1; }
.hero--home .hero__bg { object-position: 62% 50%; }
.hero--home .hero__scrim {
  background:
    linear-gradient(180deg, rgba(14, 16, 19, .74) 0, rgba(14, 16, 19, 0) 240px),
    linear-gradient(90deg, rgba(14, 16, 19, .95) 0%, rgba(14, 16, 19, .88) 30%, rgba(14, 16, 19, .5) 58%, rgba(14, 16, 19, .14) 100%);
}
.hero__body { padding-block: clamp(64px, 9vw, 132px); max-width: 720px; display: flex; flex-direction: column; gap: 32px; }
.hero--home .hero__body { max-width: 760px; }
.hero--home .display {
  font-size: clamp(32px, 3.6vw, 52px);
  line-height: 1.14;
  letter-spacing: -0.015em;
}
.hero h1 { display: flex; flex-direction: column; gap: 26px; }
.hero .lead { max-width: 560px; }
.hero__rating { display: flex; align-items: center; gap: 12px; font-size: 15px; color: var(--on-dark); }
.hero__rating b { color: #fff; font-weight: 600; }

.hero__stats { background: rgba(14, 16, 19, .82); border-top: 1px solid var(--on-dark-line); }
.hero__stats .wrap { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.stat { padding: 26px 32px 26px 0; display: flex; flex-direction: column; gap: 6px; }
.stat + .stat { padding-left: 32px; border-left: 1px solid var(--on-dark-line); }
.stat__n { font-family: var(--serif-display); font-size: clamp(26px, 2.6vw, 36px); line-height: 1.1; color: #fff; }
.stat__k { font-size: 14px; line-height: 1.45; color: var(--on-dark); }

/* 8. Homepage sections ----------------------------------------------------- */
.awards { border-bottom: 1px solid var(--line); padding-block: 40px; }
.awards .wrap { display: flex; align-items: center; gap: 48px; }
.awards__label { flex: none; width: 150px; }
.awards__list {
  list-style: none; padding: 0; margin: 0; flex: 1 1 auto;
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
}
/* --h is each badge's design height (set inline). Scaled with the viewport so all nine
   stay on one row beside the label down to 1025px, capped at 90% on wide screens. */
.awards__list img { width: auto; height: min(calc(var(--h) * .9px), calc(var(--h) * .063vw)); }

.about-grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.about-copy { display: flex; flex-direction: column; gap: 28px; align-items: flex-start; }
.about-copy .prose { display: flex; flex-direction: column; gap: 18px; font-size: 18px; line-height: 1.67; color: var(--body); }

.quote-card { background: var(--stone); padding: clamp(32px, 4vw, 52px) clamp(24px, 3vw, 48px) 44px; display: flex; flex-direction: column; gap: 26px; }
.quote-card__mark { font-family: var(--serif-display); font-size: 104px; line-height: .55; height: 44px; color: var(--red); }
.quote-card blockquote p { font-family: var(--serif); font-style: italic; font-size: clamp(21px, 2.2vw, 27px); line-height: 1.48; text-wrap: pretty; }
.quote-card figcaption { display: flex; align-items: center; gap: 22px; }
.quote-card img { flex: none; width: 216px; height: 216px; border-radius: 50%; object-fit: cover; }
.quote-card cite { font-style: normal; display: flex; flex-direction: column; gap: 2px; }
.quote-card cite b { font-size: 16px; font-weight: 600; }
.quote-card cite span { font-size: 14px; color: var(--muted); }

.values { margin-top: 72px; padding-top: 48px; border-top: 1px solid var(--line); display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 9fr); gap: var(--gutter); }
.values__title { font-family: var(--serif-display); font-size: clamp(24px, 2.4vw, 30px); line-height: 1.27; }
.values__title span { display: block; }
.values__list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.value { display: flex; flex-direction: column; gap: 12px; }
.value p { font-size: 16px; line-height: 1.63; color: var(--muted); text-wrap: pretty; }

.tiles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.tile {
  height: 100%; padding: 28px 28px 24px;
  display: flex; flex-direction: column; gap: 12px;
  background: var(--paper); border: 1px solid var(--line-2); border-radius: var(--radius);
  color: var(--text); text-decoration: none;
  transition: border-color 160ms ease, transform 160ms ease;
}
.tile:hover { border-color: var(--text); }
.tile__name { font-family: var(--serif); font-size: 19px; line-height: 1.37; }
.tile p { font-size: 15px; line-height: 1.53; color: var(--muted); }
.tile .link-arrow { margin-top: auto; padding-top: 8px; }

.results-section { position: relative; overflow: hidden; background: var(--ink); color: #fff; isolation: isolate; }
.results-section__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; opacity: .36; z-index: -2; }
.results-section__scrim { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(14, 16, 19, .5) 0%, rgba(14, 16, 19, .86) 100%); }

.results { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.result {
  padding: 32px 28px; display: flex; flex-direction: column; gap: 14px;
  background: rgba(21, 24, 28, .8); border: 1px solid var(--on-dark-line); border-radius: var(--radius);
}
.result::before { content: ""; width: 36px; height: 2px; background: var(--red); }
.result__n { font-family: var(--serif-display); font-size: clamp(30px, 3vw, 40px); line-height: 1.1; color: #fff; white-space: nowrap; }
.result__type { font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--on-dark); }
.result p { font-size: 16px; line-height: 1.56; color: rgba(255, 255, 255, .82); text-wrap: pretty; }

.results-foot { margin-top: 56px; padding-top: 28px; border-top: 1px solid var(--on-dark-line); display: flex; align-items: baseline; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.results-foot p:first-child { font-size: 17px; line-height: 1.6; color: #fff; }

.rating-block { display: flex; align-items: center; justify-content: flex-end; gap: 20px; }
.rating-block__n { font-family: var(--serif-display); font-size: clamp(44px, 5vw, 64px); line-height: 1; }
.rating-block__meta { display: flex; flex-direction: column; gap: 6px; }

.reviews { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gutter); }
.review {
  padding: 36px; border: 1px solid var(--line); border-radius: var(--radius);
  display: flex; flex-direction: column; gap: 20px;
}
.review blockquote p { font-family: var(--serif); font-size: 18px; line-height: 1.67; text-wrap: pretty; }
.review figcaption { margin-top: auto; display: flex; flex-direction: column; gap: 2px; }
.review figcaption b { font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.review figcaption span { font-size: 14px; color: var(--muted); }

.team-intro { display: flex; flex-direction: column; gap: 24px; align-items: flex-start; }
.team { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gutter); }
.team-card {
  background: var(--paper); border: 1px solid var(--line-2); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column;
}
.team-card img { width: 100%; height: 310px; object-fit: cover; object-position: 50% 20%; }
.team-card__body { padding: 24px 24px 26px; display: flex; flex-direction: column; gap: 10px; flex: 1 1 auto; }
.team-card__body h3 { font-family: var(--serif); font-size: 23px; line-height: 1.3; }
.team-card__body p { font-size: 15px; line-height: 1.6; color: var(--body); text-wrap: pretty; }
.team-card .link-arrow { margin-top: auto; padding-top: 6px; }

.videos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gutter); }
.video-card { display: flex; flex-direction: column; gap: 18px; color: #fff; text-decoration: none; }
.video-card__media { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; border-radius: var(--radius); background: var(--ink); }
.video-card__media img { width: 100%; height: 100%; object-fit: cover; }
.video-card__play {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 64px; height: 64px; border-radius: 50%;
  background: rgba(190, 32, 46, .94); display: flex; align-items: center; justify-content: center;
  transition: background-color 160ms ease, transform 160ms ease;
}
.video-card:hover .video-card__play { background: var(--red-dark); transform: translate(-50%, -50%) scale(1.06); }
.video-card__meta { font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--on-dark-soft); }
.video-card__title { font-family: var(--serif); font-size: 20px; line-height: 1.4; }

/* 9. Inner pages ----------------------------------------------------------- */
.page-hero { position: relative; overflow: hidden; background: var(--ink); color: #fff; isolation: isolate; }
.page-hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 55%; opacity: .5; z-index: -2; }
.page-hero__scrim { position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(14, 16, 19, .94) 0%, rgba(14, 16, 19, .82) 45%, rgba(14, 16, 19, .55) 100%); }
.page-hero__body { padding-block: clamp(48px, 6vw, 84px); max-width: 860px; display: flex; flex-direction: column; gap: 24px; align-items: flex-start; }
.page-hero h1 { font-family: var(--serif-display); font-size: clamp(32px, 4.4vw, 56px); line-height: 1.1; text-wrap: balance; }
.page-hero .btn-row { margin-top: 8px; }
.page-hero__badges { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; margin-top: 8px; }
.page-hero__badges img { height: 78px; width: auto; }

/* Attorney bio hero: copy beside the portrait */
.attorney-hero__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
.attorney-hero__photo { margin: 0; justify-self: end; }
.attorney-hero__photo img { width: 100%; max-width: 330px; height: auto; border-radius: var(--radius); }
.attorney-hero__quote { margin: 0; }
.attorney-hero__quote p { font-family: var(--serif); font-style: italic; font-size: clamp(19px, 2vw, 24px); line-height: 1.5; color: #fff; text-wrap: pretty; }
.credentials { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.credentials li { padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 15px; line-height: 1.5; }
.credentials li:last-child { border-bottom: 0; padding-bottom: 0; }
.team--wide { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.team--wide .team-card img { height: 420px; }
.team--wide .team-card__body h2 { font-family: var(--serif); font-size: 26px; line-height: 1.25; }

.breadcrumb { font-size: 13px; color: var(--on-dark-soft); display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.breadcrumb a { color: var(--on-dark); text-decoration: none; }
.breadcrumb a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.breadcrumb span[aria-hidden] { opacity: .5; }

.layout { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.layout--narrow { grid-template-columns: minmax(0, 3fr) minmax(0, 9fr); }
.layout--form { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); }
.layout--half { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.prose { color: var(--body); font-size: 17px; line-height: 1.7; }
.prose > * + * { margin-top: 20px; }
.prose h2 { font-family: var(--serif-display); font-size: clamp(26px, 2.8vw, 34px); line-height: 1.2; color: var(--text); margin-top: 48px; }
.prose h3 { font-family: var(--serif); font-size: clamp(20px, 2vw, 24px); line-height: 1.3; color: var(--text); margin-top: 36px; }
.prose h4 { font-family: var(--serif); font-size: 19px; line-height: 1.35; color: var(--text); margin-top: 28px; }
.prose ul, .prose ol { padding-left: 22px; display: flex; flex-direction: column; gap: 10px; }
.prose li::marker { color: var(--red); }
.prose a { color: var(--text); text-underline-offset: 3px; }
.prose a:hover { color: var(--red); }
.prose strong { color: var(--text); }
/* Further reading: the run of article links that closes a practice-area page.
   Two columns on desktop so a list of 16 does not become a wall of lines. */
.prose .resource-list {
  padding: 0; list-style: none;
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 32px;
  border-top: 1px solid var(--line);
  margin-top: 22px;
}
.prose .resource-list li { padding: 0; }
.prose .resource-list li::marker { content: none; }
.prose .resource-list a {
  display: block; padding: 13px 0;
  border-bottom: 1px solid var(--line);
  font-size: 16px; line-height: 1.45;
  text-decoration: none; color: var(--text);
}
.prose .resource-list a:hover { color: var(--red); }
@media (max-width: 860px) { .prose .resource-list { grid-template-columns: 1fr; } }

.prose blockquote {
  border-left: 2px solid var(--red); padding: 4px 0 4px 24px;
  font-family: var(--serif); font-style: italic; font-size: 21px; line-height: 1.5; color: var(--text);
}
.prose figure img { border-radius: var(--radius); }
.prose figcaption { font-size: 14px; color: var(--muted); margin-top: 10px; }

.sidebar { position: sticky; top: 24px; display: flex; flex-direction: column; gap: var(--gutter); }
.sidebar-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; gap: 16px; }
.sidebar-card--ink { background: var(--ink-2); border-color: var(--ink-2); color: #fff; }
.sidebar-card--ink .small, .sidebar-card--ink .fine { color: var(--on-dark); }
.sidebar-card h2, .sidebar-card h3 { font-family: var(--serif); font-size: 21px; line-height: 1.3; }
.sidebar-card__phone { font-family: var(--serif-display); font-size: 30px; line-height: 1.2; color: inherit; text-decoration: none; font-variant-numeric: tabular-nums; }
.sidebar-list { list-style: none; margin: 0; padding: 0; }
.sidebar-list li + li { border-top: 1px solid var(--line); }
.sidebar-card--ink .sidebar-list li + li { border-color: var(--on-dark-line); }
.sidebar-list a { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 0; font-size: 16px; color: inherit; text-decoration: none; }
.sidebar-list a:hover { color: var(--red); }
.sidebar-card--ink .sidebar-list a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.sidebar-list a[aria-current="page"] { color: var(--red); font-weight: 600; }

.contact-list { list-style: none; margin: 8px 0 0; padding: 0; border-top: 1px solid var(--line); width: 100%; }
.contact-list li { border-bottom: 1px solid var(--line); }
.contact-list__row { display: grid; grid-template-columns: 32px minmax(0, 1fr); gap: 12px; padding: 18px 0; align-items: start; }
.contact-list__row > svg { color: var(--red); margin-top: 3px; }
.contact-list__row .label { display: block; }
.contact-list__row address, .contact-list__row p { margin-top: 4px; font-style: normal; }
.contact-list__phone {
  display: inline-block; margin-top: 4px; text-decoration: none;
  font-family: var(--serif-display); font-size: clamp(26px, 3vw, 32px); line-height: 1.2;
  font-variant-numeric: tabular-nums;
}
.contact-list__phone:hover { color: var(--red); }
.contact-list .link-arrow { margin-top: 10px; }

.mini-results { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 18px; }
.mini-result { display: flex; flex-direction: column; gap: 4px; padding-bottom: 18px; border-bottom: 1px solid var(--on-dark-line); }
.mini-result:last-child { border-bottom: 0; padding-bottom: 0; }
.mini-result b { font-family: var(--serif-display); font-size: 26px; font-weight: 400; line-height: 1.15; }
.mini-result span { font-size: 14px; line-height: 1.5; color: var(--on-dark); }

.result-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.result-list li { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 2fr) minmax(0, 6fr); gap: var(--gutter); padding: 26px 0; border-bottom: 1px solid var(--line); align-items: start; }
.result-list .n { font-family: var(--serif-display); font-size: clamp(28px, 3vw, 38px); line-height: 1.1; font-variant-numeric: lining-nums; }
.result-list .t { font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); padding-top: 10px; }
.result-list p { color: var(--body); padding-top: 6px; text-wrap: pretty; }

.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item > summary {
  list-style: none; cursor: pointer; padding: 24px 0;
  display: flex; align-items: flex-start; justify-content: space-between; gap: 24px;
  font-family: var(--serif); font-size: clamp(19px, 2vw, 22px); line-height: 1.4; color: var(--text);
}
.faq-item > summary::-webkit-details-marker { display: none; }
.faq-item > summary::after {
  content: "+"; flex: none; font-family: var(--sans); font-size: 26px; line-height: 1; color: var(--red);
}
.faq-item[open] > summary::after { content: "–"; }
.faq-item__body { padding-bottom: 26px; max-width: 76ch; }

.cta-band { background: var(--ink); color: #fff; }
.cta-band .wrap { padding-block: clamp(56px, 7vw, 88px); display: flex; align-items: center; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.cta-band h2 { font-family: var(--serif-display); font-size: clamp(28px, 3.4vw, 44px); line-height: 1.15; max-width: 22ch; }
.cta-band p { color: var(--on-dark); margin-top: 12px; }

.info-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gutter); }
.info-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 32px 28px; display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.info-card__icon { color: var(--red); display: inline-flex; }
.info-card address { font-style: normal; }

.tiles--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

/* Testimonials page: quotes vary in length, so flow them in columns */
.reviews--masonry { display: block; columns: 3; column-gap: var(--gutter); }
.reviews--masonry .review { break-inside: avoid; margin-bottom: var(--gutter); display: block; }
.reviews--masonry .review .stars { margin-bottom: 20px; }
.reviews--masonry .review blockquote { margin-bottom: 20px; }

/* Sitemap and city indexes */
.city-index { list-style: none; margin: 0; padding: 0; columns: 4; column-gap: var(--gutter); font-size: 15px; }
.city-index li { break-inside: avoid; padding: 7px 0; }
.city-index a { color: var(--text); text-decoration: none; }
.city-index a:hover { color: var(--red); text-decoration: underline; text-underline-offset: 3px; }

/* 10. Blog ----------------------------------------------------------------- */
.post-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gutter); }
.post-card { display: flex; flex-direction: column; gap: 16px; text-decoration: none; color: inherit; border-bottom: 1px solid var(--line); padding-bottom: 24px; }
.post-card__media { aspect-ratio: 3 / 2; overflow: hidden; border-radius: var(--radius); background: var(--stone); }
.post-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 300ms ease; }
.post-card:hover .post-card__media img { transform: scale(1.03); }
.post-card__meta { font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.post-card h3 { font-family: var(--serif); font-size: 21px; line-height: 1.35; }
.post-card p { font-size: 15px; line-height: 1.6; color: var(--muted); }

.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 40px; }
.chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 16px; border: 1px solid var(--line); border-radius: var(--radius);
  font-size: 14px; color: var(--text); text-decoration: none;
  transition: border-color 160ms ease, background-color 160ms ease, color 160ms ease;
}
.chip span { font-size: 12px; color: var(--muted); }
.chip:hover { border-color: var(--text); color: var(--text); }
.chip--on { background: var(--text); border-color: var(--text); color: #fff; }
.chip--on span { color: rgba(255, 255, 255, .7); }

.post-header { max-width: 800px; display: flex; flex-direction: column; gap: 20px; }
.page-hero--post .post-meta { color: var(--on-dark); }
.page-hero--post .post-meta a { color: #fff; }
.post-body > figure:first-child img { width: 100%; border-radius: var(--radius); }
.post-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 14px; color: var(--muted); }
.post-body { max-width: 72ch; }
.post-share { display: flex; align-items: center; gap: 16px; margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line); }

.pagination { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px; margin-top: 56px; }
.pagination a, .pagination span {
  min-width: 46px; height: 46px; padding-inline: 14px;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--line); border-radius: var(--radius);
  font-size: 15px; text-decoration: none; color: var(--text);
}
.pagination a:hover { border-color: var(--text); }
.pagination [aria-current="page"] { background: var(--text); border-color: var(--text); color: #fff; }

/* 11. Forms ---------------------------------------------------------------- */
.form { display: flex; flex-direction: column; gap: 20px; }
.form--card { background: var(--stone); border-radius: var(--radius); padding: clamp(24px, 3vw, 44px); }
.form__head { display: flex; flex-direction: column; gap: 6px; }
.form__head h2, .form__head h3 { font-family: var(--serif); font-size: clamp(22px, 2.2vw, 27px); line-height: 1.26; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field > label { font-size: 14px; font-weight: 600; color: var(--text); }
.field input, .field textarea, .field select {
  width: 100%; height: 52px; padding: 0 16px;
  background: #fff; color: var(--text);
  border: 1px solid var(--field); border-radius: var(--radius);
  font-family: inherit; font-size: 16px;
}
.field textarea { height: auto; min-height: 136px; padding: 14px 16px; line-height: 1.55; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--text); outline-offset: 1px; }
.field--row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.form__note { font-size: 14px; line-height: 1.5; color: var(--muted); }
.form__hp { position: absolute; left: -9999px; }

.form-status { padding: 16px 20px; border-radius: var(--radius); font-size: 15px; line-height: 1.5; }
.form-status--ok { background: #E8F1EA; border: 1px solid #A9C9B3; color: #1B4429; }
.form-status--error { background: #FBEAEC; border: 1px solid #E0A9B0; color: #7A1722; }
.field--invalid input, .field--invalid textarea { border-color: var(--red); }
.field__error { font-size: 13px; color: var(--red); }

/* 12. Footer --------------------------------------------------------------- */
.site-footer { background: var(--ink); color: #fff; padding-block: 88px 36px; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 2.4fr) minmax(0, 2.4fr) minmax(0, 3.2fr); gap: var(--gutter); align-items: start; }
.footer-brand { display: flex; flex-direction: column; gap: 22px; align-items: flex-start; }
.footer-brand img { height: 92px; width: auto; }
.footer-brand address, .footer-brand .lines { font-style: normal; font-size: 16px; line-height: 1.63; color: var(--on-dark); display: flex; flex-direction: column; gap: 4px; }
.footer-brand a { color: #fff; text-decoration: none; }
.footer-brand a:hover { text-decoration: underline; text-underline-offset: 3px; }
.footer-social { display: flex; flex-wrap: wrap; gap: 20px; font-size: 14px; }
.footer-social a { color: var(--on-dark); text-decoration: none; }
.footer-social a:hover { color: #fff; }

.footer-nav h2 { font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #fff; margin-bottom: 18px; }
.footer-nav h2 + h2, .footer-nav ul + h2 { margin-top: 28px; }
.footer-nav ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; font-size: 15px; }
.footer-nav a { color: rgba(255, 255, 255, .76); text-decoration: none; }
.footer-nav a:hover { color: #fff; }

.footer-legal { margin-top: 56px; padding-top: 28px; border-top: 1px solid rgba(255, 255, 255, .12); display: flex; flex-direction: column; gap: 20px; }
.footer-legal p { font-size: 13px; line-height: 1.62; color: rgba(255, 255, 255, .62); max-width: 980px; }
.footer-legal__row { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; font-size: 13px; color: rgba(255, 255, 255, .62); }
.footer-legal__row a { color: rgba(255, 255, 255, .76); text-decoration: none; }
.footer-legal__row a:hover { color: #fff; }
.footer-legal__links { display: flex; gap: 20px; flex-wrap: wrap; }

/* 13. Mobile action bar ---------------------------------------------------- */
.actionbar { display: none; }

/* 14. Responsive ----------------------------------------------------------- */
@media (max-width: 1240px) {
  /* Collapse to the drawer before the wordmark and the nav can collide */
  .nav { display: none; }
  .burger { display: inline-flex; }
  .masthead__phone .k { display: none; }
  .awards .wrap { gap: 28px; }
  .awards__list { gap: 14px; }
}

@media (max-width: 1024px) {
  :root { --section: 72px; }
  .layout { grid-template-columns: minmax(0, 1fr); }
  .sidebar { position: static; }
  .tiles, .tiles--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .results { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .reviews--masonry { columns: 2; }
  .city-index { columns: 3; }
  .reviews, .team, .videos, .post-grid, .info-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .about-grid { grid-template-columns: minmax(0, 1fr); }
  .values { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .values__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px var(--gutter); }
  .section-head { grid-template-columns: minmax(0, 1fr); align-items: start; }
  .section-head__actions { justify-content: flex-start; }
  .awards .wrap { flex-direction: column; align-items: flex-start; gap: 24px; }
  .awards__label { width: auto; }
  .awards__list { justify-content: flex-start; gap: 24px 32px; }
  .awards__list img { height: 76px; }
  .awards__list img[data-wide] { height: 44px; }
}

@media (max-width: 860px) {
  .topbar { display: none; }
  .masthead .wrap { height: 68px; }
  .masthead__cta { gap: 12px; }
  .masthead__cta .btn { display: none; }
  .brand img { height: 36px; }
  .brand__name { font-size: 14px; letter-spacing: .12em; }
  .brand__rule { height: 30px; }
  .attorney-hero__grid { grid-template-columns: minmax(0, 1fr); }
  .attorney-hero__photo { justify-self: start; order: -1; }
  .attorney-hero__photo img { max-width: 240px; }
  .team--wide .team-card img { height: 340px; }
  .hero__stats .wrap { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat { padding: 20px 20px 20px 0; }
  .stat + .stat { padding-left: 20px; }
  .stat:nth-child(3) { padding-left: 0; border-left: 0; }
  .stat:nth-child(odd) { border-left: 0; padding-left: 0; }
  .stat:nth-child(1), .stat:nth-child(2) { border-bottom: 1px solid var(--on-dark-line); }
  .tiles, .tiles--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .city-index { columns: 2; }
  .result-list li { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .result-list .t, .result-list p { padding-top: 0; }
  .actionbar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
    display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
    padding: 10px 14px calc(10px + env(safe-area-inset-bottom, 0px));
    background: rgba(14, 16, 19, .97); border-top: 1px solid var(--on-dark-line);
  }
  .actionbar .btn { height: 50px; padding-inline: 12px; font-size: 12px; }
  body { padding-bottom: 82px; }
}

@media (max-width: 640px) {
  :root { --section: 56px; --gutter: 16px; }
  body { font-size: 16px; }
  /* Header collapses to: brand · call · menu */
  .masthead__phone {
    width: 46px; height: 46px; justify-content: center; flex: none;
    border: 1px solid rgba(255, 255, 255, .28); border-radius: var(--radius);
  }
  .masthead__phone .n, .masthead__phone .k { display: none; }
  .brand__name { font-size: 13px; letter-spacing: .08em; }
  .brand { gap: 12px; }
  .masthead .wrap { gap: 16px; }
}

@media (max-width: 560px) {
  /* Mark only: the wordmark has no room left beside the two buttons */
  .brand__rule, .brand__name { display: none; }
  .hero__body { gap: 24px; }
  .hero h1 { gap: 18px; }
  .btn-row .btn { width: 100%; }
  .reviews, .team, .videos, .post-grid, .info-cards, .results, .tiles, .tiles--3, .values__list, .grid--2, .grid--3, .grid--4 { grid-template-columns: minmax(0, 1fr); }
  .reviews--masonry, .city-index { columns: 1; }
  .field--row { grid-template-columns: minmax(0, 1fr); }
  .footer-grid { grid-template-columns: minmax(0, 1fr); }
  .quote-card { padding: 28px 24px 32px; }
  .quote-card img { width: 152px; height: 152px; }
  .review, .info-card { padding: 26px 22px; }
  .page-hero__badges img { height: 62px; }
  .cta-band .wrap { flex-direction: column; align-items: flex-start; gap: 24px; }
}

@media print {
  .topbar, .masthead, .drawer, .actionbar, .cta-band, .video-card__play { display: none !important; }
  body { color: #000; font-size: 12pt; }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 10pt; }
}
