/* =====================================================================
   The Lackey Law Firm — site stylesheet
   Replaces the Elementor / Royal Addons / theme CSS with one file.
   Depends on tokens.css (load it first). Reference: /style/

   Layers, lowest to highest priority. A later layer always wins, so
   components never need !important to beat the reset.
   ===================================================================== */
@layer reset, base, layout, components, utilities;

/* ------------------------------------------------------------- reset */
@layer reset {
  *, *::before, *::after { box-sizing: border-box; }
  * { margin: 0; }
  html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
  img, picture, svg, video, iframe { display: block; max-width: 100%; }
  img { height: auto; }
  input, button, textarea, select { font: inherit; color: inherit; }
  button { cursor: pointer; background: none; border: 0; padding: 0; }
  ul[class], ol[class] { list-style: none; padding: 0; }
  p, h1, h2, h3, h4, h5, h6 { overflow-wrap: break-word; }
  table { border-collapse: collapse; }
}

/* -------------------------------------------------------------- base */
@layer base {
  html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
  @media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: 1ms !important; transition-duration: 1ms !important; }
  }
  body {
    font-family: var(--font-body);
    font-size: var(--fs-body);
    line-height: var(--lh-body);
    color: var(--color-text);
    background: var(--color-bg);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
  }
  h1, h2, h3, h4 {
    font-family: var(--font-heading);
    color: var(--color-heading);
    line-height: var(--lh-tight);
    font-weight: var(--fw-bold);
    letter-spacing: -0.01em;
    text-wrap: balance;
  }
  h1 { font-size: var(--fs-h1); font-weight: var(--fw-black); }
  h2 { font-size: var(--fs-h2); }
  h3 { font-size: var(--fs-h3); line-height: var(--lh-snug); }
  h4 { font-size: var(--fs-h4); line-height: var(--lh-snug); }
  p { text-wrap: pretty; }
  a { color: var(--color-link); text-decoration-thickness: 1px; text-underline-offset: 3px; transition: color var(--dur-fast); }
  a:hover { color: var(--color-link-hover); }
  :focus-visible { outline: 3px solid var(--c-focus); outline-offset: 2px; border-radius: 2px; }
  strong, b { font-weight: var(--fw-bold); color: var(--c-ink); }
  hr { border: 0; border-top: 1px solid var(--color-border); margin-block: var(--sp-6); }
  ::selection { background: var(--c-gold-100); color: var(--c-ink); }
}

/* ------------------------------------------------------------ layout */
@layer layout {
  .container { width: 100%; max-width: calc(var(--w-page) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
  .container--wide { max-width: calc(var(--w-wide) + 2 * var(--gutter)); }
  .container--read { max-width: calc(var(--w-read) + 2 * var(--gutter)); }

  .section { padding-block: var(--section-pad); }
  .section--tight { padding-block: var(--sp-7); }
  .section--alt { background: var(--color-bg-alt); }
  .section--dark { background: var(--color-bg-dark); color: rgb(255 255 255 / .82); }
  .section--dark :is(h1, h2, h3, h4, strong) { color: var(--c-white); }
  .section--dark a:not(.btn) { color: var(--c-gold-400); }

  .section-head { margin-bottom: var(--sp-7); }
  .section-head--center { margin-inline: auto; text-align: center; }
  .section-head > * + * { margin-top: var(--sp-4); }

  .grid { display: grid; gap: var(--sp-5); }
  .grid--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); }
  .grid--3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
  .grid--4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); }

  .split { display: grid; gap: var(--sp-7); align-items: center; }
  @media (min-width: 1025px) { .split { grid-template-columns: 1.1fr .9fr; } .split--rev > :first-child { order: 2; } }
  /* Text + photo: stay side by side on tablets too (from 768px), instead of stacking a full-width photo */
  @media (min-width: 768px) and (max-width: 1024px) { .split:has(> .flow > .media) { grid-template-columns: 1.1fr .9fr; gap: var(--sp-6); } }
  @media (min-width: 768px) and (max-width: 899px) { .split:has(> .flow.hide-below-desktop > .media):not(:has(> .flow:not(.hide-below-desktop) > .media)) { grid-template-columns: 1fr; } }  /* photo hidden here: let the text use the full width */
  /* Phones, where the photo stacks under the text: keep it from getting taller than the screen needs */
  @media (max-width: 767px) { .split > .flow > .media img { max-height: 340px; object-fit: cover; } }

  .stack > * + * { margin-top: var(--sp-4); }
  .stack-lg > * + * { margin-top: var(--sp-6); }
  .cluster { display: flex; flex-wrap: wrap; gap: var(--sp-3); align-items: center; }
}

/* -------------------------------------------------------- components */
@layer components {

  /* ---- Skip link ---------------------------------------------------- */
  .skip-link { position: absolute; left: var(--sp-4); top: -100px; z-index: 100; background: var(--c-white); color: var(--c-maroon-700); padding: var(--sp-3) var(--sp-4); border-radius: var(--r-md); font-weight: var(--fw-bold); }
  .skip-link:focus { top: var(--sp-4); }

  /* ---- Lead -------------------------------------------------------- */
  .lead { font-size: var(--fs-lead); line-height: 1.6; color: var(--color-muted); }
  .section--dark .lead, .hero .lead { color: rgb(255 255 255 / .82); }

  /* ---- Buttons ------------------------------------------------------ */
  .btn {
    --btn-bg: var(--c-maroon-700); --btn-fg: var(--c-white); --btn-bd: var(--btn-bg);
    display: inline-flex; align-items: center; justify-content: center; gap: var(--sp-2);
    min-height: 48px; padding: 0 var(--sp-5);
    font-family: var(--font-heading); font-size: 0.9375rem; font-weight: var(--fw-bold); letter-spacing: .02em; line-height: 1;
    color: var(--btn-fg); background: var(--btn-bg); border: 2px solid var(--btn-bd); border-radius: var(--r-pill);
    text-decoration: none; white-space: nowrap; cursor: pointer;
    transition: background var(--dur-fast), color var(--dur-fast), border-color var(--dur-fast), transform var(--dur-fast), box-shadow var(--dur-fast);
  }
  .btn:hover { color: var(--btn-fg); transform: translateY(-1px); box-shadow: var(--shadow-md); }
  .btn:active { transform: none; box-shadow: none; }
  .btn svg { width: 18px; height: 18px; flex: none; }
  .btn--primary:hover { --btn-bg: var(--c-maroon-500); }
  .btn--gold { --btn-bg: var(--c-gold-400); --btn-fg: var(--c-maroon-900); }
  .btn--gold:hover { --btn-bg: #f2b52b; }
  .btn--outline { --btn-bg: transparent; --btn-fg: var(--c-maroon-700); --btn-bd: var(--c-maroon-700); }
  .btn--outline:hover { --btn-bg: var(--c-maroon-700); --btn-fg: var(--c-white); }
  .btn--light { --btn-bg: transparent; --btn-fg: var(--c-white); --btn-bd: rgb(255 255 255 / .55); }
  .btn--light:hover { --btn-bg: var(--c-white); --btn-fg: var(--c-maroon-900); --btn-bd: var(--c-white); }
  .btn--sm { min-height: 38px; padding: 0 var(--sp-4); font-size: 0.8125rem; }
  .btn--lg { min-height: 56px; padding: 0 var(--sp-6); font-size: 1rem; }
  .btn--block { width: 100%; }
  @media (max-width: 767px) { .btn { white-space: normal; text-align: center; line-height: 1.25; padding-block: var(--sp-2); } }
  .btn-link { display: inline-flex; align-items: center; gap: var(--sp-2); font-family: var(--font-heading); font-weight: var(--fw-bold); font-size: 0.9375rem; text-decoration: none; color: var(--c-maroon-700); }
  .btn-link::after { content: "→"; transition: transform var(--dur-fast) var(--ease); }
  .btn-link:hover::after { transform: translateX(4px); }

  /* ---- Top bar ------------------------------------------------------ */
  .topbar { background: var(--c-ink); color: rgb(255 255 255 / .75); font-size: 0.8125rem; }
  .topbar .container { display: flex; justify-content: space-between; align-items: center; gap: var(--sp-4); min-height: 38px; }
  .topbar a { color: var(--c-white); text-decoration: none; font-weight: var(--fw-semi); }
  .topbar a:hover { color: var(--c-gold-400); }
  .topbar__offices { display: flex; gap: var(--sp-5); }
  @media (max-width: 767px) { .topbar__offices span:not(:first-child), .topbar__note { display: none; } }

  /* ---- Header & navigation ----------------------------------------- */
  .site-header { position: sticky; top: 0; z-index: 50; background: var(--c-maroon-900); transition: box-shadow var(--dur); }
  .site-header.is-scrolled { box-shadow: 0 6px 24px rgb(0 0 0 / .25); }
  .site-header .container { display: flex; align-items: center; gap: var(--sp-5); min-height: var(--header-h); }
  .brand { display: flex; align-items: center; gap: var(--sp-3); text-decoration: none; color: var(--c-white); flex: none; }
  .brand img { height: 64px; width: auto; }
  @media (max-width: 767px) { .brand img { height: 52px; } }

  .nav { margin-left: auto; }
  .nav__list { display: flex; align-items: center; gap: var(--sp-1); }
  .nav__link { display: block; padding: var(--sp-2) var(--sp-3); font-family: var(--font-heading); font-size: 0.875rem; font-weight: var(--fw-semi); color: rgb(255 255 255 / .88); text-decoration: none; border-radius: var(--r-sm); }
  .nav__link:hover, .nav__link[aria-current="page"] { color: var(--c-gold-400); }
  .nav__cta { margin-left: var(--sp-3); }
  .nav-toggle { display: none; margin-left: auto; width: 44px; height: 44px; align-items: center; justify-content: center; color: var(--c-white); border-radius: var(--r-md); }
  .nav-toggle svg { width: 26px; height: 26px; }
  .nav-toggle .icon-close { display: none; }
  .nav-toggle[aria-expanded="true"] .icon-open { display: none; }
  .nav-toggle[aria-expanded="true"] .icon-close { display: block; }

  @media (max-width: 1024px) {
    .nav-toggle { display: inline-flex; }
    .nav { position: absolute; inset: 100% 0 auto; background: var(--c-maroon-900); border-top: 1px solid rgb(255 255 255 / .1); max-height: 0; overflow: hidden; visibility: hidden; transition: max-height var(--dur) var(--ease), visibility var(--dur); }
    .nav.is-open { max-height: calc(100vh - var(--header-h)); overflow-y: auto; visibility: visible; }
    .nav__list { flex-direction: column; align-items: stretch; gap: 0; padding: var(--sp-3) var(--gutter) var(--sp-5); }
    .nav__link { padding: var(--sp-3) 0; font-size: 1rem; border-bottom: 1px solid rgb(255 255 255 / .08); border-radius: 0; }
    .nav__cta { margin: var(--sp-4) 0 0; }
    .nav__cta .btn { width: 100%; }
  }

  /* ---- Hero --------------------------------------------------------- */
  .hero { position: relative; isolation: isolate; color: var(--c-white); background: var(--c-maroon-900); overflow: hidden; }
  .hero__bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; opacity: .28; filter: grayscale(.4); }
  .hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(105deg, var(--c-maroon-900) 30%, rgb(58 11 1 / .75) 60%, rgb(111 20 0 / .45)); }
  .hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: linear-gradient(90deg, var(--c-gold-400), var(--c-gold-500) 40%, transparent); }
  .hero .container { display: grid; gap: var(--sp-7); align-items: center; padding-block: clamp(4rem, 3rem + 6vw, 7.5rem); }
  @media (min-width: 1025px) { .hero .container { grid-template-columns: 1.25fr .75fr; } }
  .hero h1 { font-size: var(--fs-display); color: var(--c-white); margin-block: var(--sp-5); }
  .hero h1 em { font-style: normal; color: var(--c-gold-400); }
  .hero .lead { max-width: 560px; }
  .hero__actions { margin-top: var(--sp-6); }
  .hero__trust { display: flex; flex-wrap: wrap; gap: var(--sp-5); margin-top: var(--sp-7); padding-top: var(--sp-5); border-top: 1px solid rgb(255 255 255 / .14); font-size: var(--fs-small); color: rgb(255 255 255 / .75); }
  .hero__trust span { display: inline-flex; align-items: center; gap: var(--sp-2); }
  .hero__trust svg { width: 18px; height: 18px; color: var(--c-gold-400); }

  /* ---- Panel (hero form card, sidebars) ----------------------------- */
  .panel { background: var(--c-white); color: var(--color-text); border-radius: var(--r-lg); padding: var(--sp-6); box-shadow: var(--shadow-lg); border-top: 4px solid var(--c-gold-400); }
  .panel h2, .panel h3 { color: var(--c-ink); }
  .panel__note { font-size: 0.8125rem; color: var(--color-muted); margin-top: var(--sp-3); }

  /* ---- Stats band --------------------------------------------------- */
  .stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: var(--sp-5); }
  .stat { padding-left: var(--sp-5); border-left: 3px solid var(--c-gold-400); }
  .stat__value { display: block; font-family: var(--font-heading); font-weight: var(--fw-black); font-size: clamp(2rem, 1.6rem + 1.6vw, 2.75rem); line-height: 1.05; color: var(--c-maroon-700); }
  .section--dark .stat__value { color: var(--c-gold-400); }
  .stat__label { display: block; margin-top: var(--sp-2); font-size: var(--fs-small); color: var(--color-muted); }
  .section--dark .stat__label { color: rgb(255 255 255 / .75); }

  /* ---- Cards -------------------------------------------------------- */
  .card { position: relative; display: flex; flex-direction: column; gap: var(--sp-3); padding: var(--sp-6); background: var(--c-white); border: 1px solid var(--color-border); border-radius: var(--r-lg); transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), border-color var(--dur); }
  .card h3 { font-size: 1.2rem; }
  .card p { color: var(--color-muted); font-size: var(--fs-small); }
  .card--link:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: transparent; }
  .card--link a.card__cover { position: absolute; inset: 0; border-radius: inherit; }  /* whole-card click target */
  .card__icon { width: 52px; height: 52px; display: grid; place-items: center; border-radius: var(--r-md); background: var(--c-maroon-100); color: var(--c-maroon-700); transition: background var(--dur), color var(--dur); }
  .card__icon svg { width: 26px; height: 26px; }
  .card--link:hover .card__icon { background: var(--c-maroon-700); color: var(--c-gold-400); }
  .card__more { margin-top: auto; padding-top: var(--sp-2); }

  /* ---- Attorney card ------------------------------------------------ */
  .person { display: flex; flex-direction: column; background: var(--c-white); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-sm); transition: box-shadow var(--dur), transform var(--dur) var(--ease); }
  .person:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
  .person__photo { aspect-ratio: 1 / 1; overflow: hidden; background: var(--c-cream); }
  .person__photo img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform var(--dur-slow) var(--ease); }
  .person:hover .person__photo img { transform: scale(1.04); }
  .person__body { padding: var(--sp-5); border-top: 3px solid var(--c-gold-400); }
  .person__role { font-size: var(--fs-label); font-weight: var(--fw-bold); letter-spacing: var(--tracking-label); text-transform: uppercase; color: var(--c-gold-700); }
  .person h3 { margin-block: var(--sp-1) var(--sp-3); }
  .person h3 a { color: inherit; text-decoration: none; }
  .person h3 a::after { content: ""; position: absolute; inset: 0; }
  .person { position: relative; }

  /* ---- Result card -------------------------------------------------- */
  .result { padding: var(--sp-6); border-radius: var(--r-lg); background: var(--c-white); border: 1px solid var(--color-border); }
  .result__amount { font-family: var(--font-heading); font-weight: var(--fw-black); font-size: clamp(1.8rem, 1.5rem + 1.2vw, 2.4rem); color: var(--c-maroon-700); line-height: 1; }
  .result__type { margin-top: var(--sp-3); font-family: var(--font-heading); font-weight: var(--fw-bold); color: var(--c-ink); }
  .result p { margin-top: var(--sp-2); font-size: var(--fs-small); color: var(--color-muted); }
  .disclaimer { font-size: 0.8125rem; color: var(--color-muted); font-style: italic; }
  .section--dark .disclaimer { color: rgb(255 255 255 / .6); }

  /* ---- Review / quote ---------------------------------------------- */
  .review { display: flex; flex-direction: column; gap: var(--sp-4); padding: var(--sp-6); background: var(--c-white); border-radius: var(--r-lg); box-shadow: var(--shadow-sm); }
  .stars { display: flex; gap: 2px; color: var(--c-gold-500); }
  .stars svg { width: 18px; height: 18px; }
  .review blockquote { font-size: 1.0625rem; color: var(--c-text); }
  .review figcaption { margin-top: auto; display: flex; align-items: center; gap: var(--sp-3); font-size: var(--fs-small); color: var(--color-muted); }
  .review figcaption strong { display: block; color: var(--c-ink); }
  .avatar { width: 40px; height: 40px; flex: none; display: grid; place-items: center; border-radius: 50%; background: var(--c-maroon-700); color: var(--c-gold-400); font-family: var(--font-heading); font-weight: var(--fw-bold); }

  /* ---- Blog / news card -------------------------------------------- */
  .post-card { position: relative; display: flex; flex-direction: column; background: var(--c-white); border: 1px solid var(--color-border); border-radius: var(--r-lg); overflow: hidden; transition: transform var(--dur) var(--ease), box-shadow var(--dur); }
  .post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
  .post-card__img { aspect-ratio: 16 / 9; overflow: hidden; background: var(--c-cream); }
  .post-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--dur-slow) var(--ease); }
  .post-card:hover .post-card__img img { transform: scale(1.05); }
  .post-card__body { display: flex; flex-direction: column; gap: var(--sp-3); padding: var(--sp-5); flex: 1; }
  .post-card time { font-size: var(--fs-label); font-weight: var(--fw-bold); letter-spacing: var(--tracking-label); text-transform: uppercase; color: var(--c-gold-700); }
  .post-card :is(h2, h3) { font-size: 1.125rem; }
  .post-card :is(h2, h3) a { color: var(--c-ink); text-decoration: none; }
  .post-card :is(h2, h3) a::after { content: ""; position: absolute; inset: 0; }
  .post-card:hover :is(h2, h3) a { color: var(--c-maroon-700); }
  .post-card p { font-size: var(--fs-small); color: var(--color-muted); }
  .post-card .btn-link { margin-top: auto; }
  /* Home page Latest News: same responsive layout as the Meet the Lackey Law Family cards */
  .latest-news .post-card__body { border-top: 3px solid var(--c-gold-400); }
  @media (min-width: 900px) { .latest-news .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
  @media (max-width: 899px) { .latest-news .grid { gap: var(--sp-4); } }
  /* Tablets: one card per row, image beside the text. Phones keep the regular card (image on top). */
  @media (min-width: 560px) and (max-width: 899px) {
    .latest-news .grid { grid-template-columns: 1fr; }
    .latest-news .post-card { flex-direction: row; }
    .latest-news .post-card__img { flex: 0 0 clamp(108px, 30%, 220px); aspect-ratio: auto; }
    .latest-news .post-card__body { border-top: 0; border-left: 3px solid var(--c-gold-400); padding: var(--sp-4); gap: var(--sp-2); }
  }

  /* ---- Awards strip ------------------------------------------------- */
  .awards { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: var(--sp-6) var(--sp-7); }
  .awards img { height: 72px; width: auto; filter: grayscale(1); opacity: .75; transition: filter var(--dur), opacity var(--dur); }
  .awards img:hover { filter: none; opacity: 1; }

  /* ---- Steps -------------------------------------------------------- */
  .steps { counter-reset: step; display: grid; gap: var(--sp-5); }
  .step { counter-increment: step; display: grid; grid-template-columns: auto 1fr; gap: var(--sp-4); align-items: start; }
  .step::before { content: counter(step, decimal-leading-zero); display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; border: 2px solid var(--c-gold-400); font-family: var(--font-heading); font-weight: var(--fw-black); color: var(--c-maroon-700); }
  .section--dark .step::before { color: var(--c-gold-400); }
  .step h3 { font-size: 1.125rem; margin-bottom: var(--sp-1); }
  .step p { color: var(--color-muted); font-size: var(--fs-small); }
  .section--dark .step p { color: rgb(255 255 255 / .72); }

  /* ---- Accordion (native <details>; site.js adds one-open-at-a-time and a smooth open/close) ---- */
  .accordion { border-top: 1px solid var(--color-border); }
  .accordion details { border-bottom: 1px solid var(--color-border); }
  .accordion summary { display: flex; justify-content: space-between; align-items: center; gap: var(--sp-4); padding: var(--sp-5) 0; cursor: pointer; list-style: none; font-family: var(--font-heading); font-weight: var(--fw-bold); font-size: 1.0625rem; color: var(--c-ink); }
  .accordion summary::-webkit-details-marker { display: none; }
  .accordion summary::after { content: "+"; flex: none; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--c-maroon-100); color: var(--c-maroon-700); font-size: 1.25rem; font-weight: var(--fw-semi); transition: transform var(--dur) var(--ease), background var(--dur); }
  .accordion details[open]:not(.is-closing) summary::after { transform: rotate(45deg); background: var(--c-maroon-700); color: var(--c-gold-400); }
  .accordion summary:hover { color: var(--c-maroon-700); }
  .accordion__body { padding: 0 0 var(--sp-5); color: var(--color-muted); }
  .accordion__body > * + * { margin-top: var(--sp-3); }

  /* ---- Badges / tags ----------------------------------------------- */
  .badge { display: inline-flex; align-items: center; gap: var(--sp-1); padding: 4px 12px; border-radius: var(--r-pill); font-family: var(--font-heading); font-size: 0.75rem; font-weight: var(--fw-bold); letter-spacing: .04em; background: var(--c-maroon-100); color: var(--c-maroon-700); }
  .badge--gold { background: var(--c-gold-100); color: var(--c-gold-700); }
  .badge--dark { background: var(--c-maroon-900); color: var(--c-gold-400); }
  .badge--outline { background: transparent; border: 1px solid var(--color-border); color: var(--color-muted); }

  /* ---- Notice ------------------------------------------------------- */
  .notice { display: flex; gap: var(--sp-4); padding: var(--sp-5); border-radius: var(--r-md); background: var(--c-gold-100); border-left: 4px solid var(--c-gold-500); color: var(--c-text); }
  .notice svg { flex: none; width: 22px; height: 22px; color: var(--c-gold-700); margin-top: 2px; }
  .notice--maroon { background: var(--c-maroon-100); border-color: var(--c-maroon-700); }
  .notice--maroon svg { color: var(--c-maroon-700); }

  /* ---- Breadcrumb --------------------------------------------------- */
  .breadcrumb ol { display: flex; flex-wrap: wrap; gap: var(--sp-2); font-size: var(--fs-small); color: var(--color-muted); }
  .breadcrumb li + li::before { content: "/"; margin-right: var(--sp-2); color: var(--c-gold-500); }
  .breadcrumb a { color: inherit; text-decoration: none; }
  .breadcrumb a:hover { color: var(--c-maroon-700); }
  .breadcrumb [aria-current] { color: var(--c-ink); font-weight: var(--fw-semi); }

  /* ---- Forms -------------------------------------------------------- */
  .field { display: grid; gap: var(--sp-2); }
  .field label { font-family: var(--font-heading); font-size: 0.8125rem; font-weight: var(--fw-bold); color: var(--c-ink); }
  .input { width: 100%; min-height: 48px; padding: var(--sp-3) var(--sp-4); background: var(--c-white); border: 1.5px solid var(--color-border); border-radius: var(--r-md); transition: border-color var(--dur-fast), box-shadow var(--dur-fast); }
  textarea.input { min-height: 120px; resize: vertical; }
  .input::placeholder { color: #8a8a8a; }
  .input:hover { border-color: #cfc6b4; }
  .input:focus { outline: none; border-color: var(--c-maroon-700); box-shadow: 0 0 0 3px rgb(111 20 0 / .15); }
  .form { display: grid; gap: var(--sp-4); }
  .form__row { display: grid; gap: var(--sp-4); grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr)); }

  /* ---- Table -------------------------------------------------------- */
  .table-wrap { overflow-x: auto; border: 1px solid var(--color-border); border-radius: var(--r-md); }
  .table { width: 100%; font-size: var(--fs-small); }
  .table th { text-align: left; font-family: var(--font-heading); font-size: 0.8125rem; letter-spacing: .04em; text-transform: uppercase; color: var(--c-white); background: var(--c-maroon-700); padding: var(--sp-3) var(--sp-4); }
  .table td { padding: var(--sp-3) var(--sp-4); border-top: 1px solid var(--color-border); }
  .table tbody tr:nth-child(even) { background: var(--c-cream); }

  /* ---- Prose (blog posts, practice-area body copy) ----------------- */
  .prose { max-width: none; }
  .prose > * + * { margin-top: 1.3em; }
  .prose h2 { margin-top: 2.4em; }
  .prose > :first-child { margin-top: 0; }
  .prose .card > * { margin: 0; }  /* a card inside long-form text keeps the card's own spacing */
  .prose .check-list { padding-left: 0; }
  .prose h3 { margin-top: 1.9em; color: var(--c-maroon-700); }
  .prose :is(h2, h3) + * { margin-top: .6em; }
  .prose ul, .prose ol { padding-left: 1.3em; }
  .prose li + li { margin-top: .4em; }
  .prose li::marker { color: var(--c-gold-500); }
  .prose a { text-decoration: none; font-weight: var(--fw-semi); }
  .prose blockquote { padding: var(--sp-2) 0 var(--sp-2) var(--sp-5); border-left: 3px solid var(--c-gold-400); font-size: 1.15rem; font-style: italic; color: var(--c-ink); }

  /* ---- CTA band ----------------------------------------------------- */
  .cta-band { position: relative; overflow: hidden; border-radius: var(--r-lg); padding: clamp(2rem, 1.5rem + 3vw, 3.5rem); background: radial-gradient(120% 140% at 100% 0%, var(--c-maroon-500), var(--c-maroon-900) 60%); color: rgb(255 255 255 / .85); display: grid; gap: var(--sp-5); align-items: center; }
  @media (min-width: 1025px) { .cta-band { grid-template-columns: 1fr auto; } }
  .cta-band h2 { color: var(--c-white); margin-top: var(--sp-4); }
  .cta-band::after { content: ""; position: absolute; right: -60px; bottom: -60px; width: 220px; height: 220px; border: 28px solid rgb(232 167 19 / .14); border-radius: 50%; }
  /* Light variant: for a call-out inside a section, so it doesn't repeat the dark band that closes the page */
  .cta-band--light { background: var(--c-white); color: var(--color-muted); border: 1px solid var(--color-border); border-left: 6px solid var(--c-gold-400); box-shadow: var(--shadow-sm); padding: clamp(1.75rem, 1.25rem + 2vw, 2.75rem); }
  .cta-band--light h2 { color: var(--c-ink); margin-top: 0; }
  .cta-band--light::after { display: none; }
  .flow > * + .cta-band { margin-top: var(--sp-8); }
  /* Inside a split column: one column, heading above the button */
  .split .cta-band { grid-template-columns: 1fr; }
  .split .flow > * + .cta-band { margin-top: var(--sp-6); }
  /* Text + box beside a form: both columns end on the same line. The box sits under the text and grows to meet the form's bottom (or the form card grows, if the form is shorter) */
  @media (min-width: 1025px) {
    .split.split--form { align-items: stretch; }
    .split--form > .flow { display: flex; flex-direction: column; }
    .split--form > .flow > .cta-band { flex: 1; }
    .split--form > .flow > .form-embed { flex: 1; }
  }
  /* Box inside a column: heading + line, divider, checklist, button; content centred in whatever height the column gives it */
  .split .cta-band { display: flex; flex-direction: column; justify-content: center; align-items: stretch; gap: var(--sp-6); padding: clamp(1.75rem, 1.25rem + 1.5vw, 2.5rem); }
  .split .cta-band::after { display: none; }
  .split .cta-band h2 { font-size: var(--fs-h2); margin-top: 0; }
  .split .cta-band h2 + p { margin-top: var(--sp-2); }
  .split .cta-band .check-list { margin-top: var(--sp-5); padding-top: var(--sp-5); border-top: 1px solid rgb(255 255 255 / .18); gap: var(--sp-3); }
  .split .cta-band .cluster { justify-content: flex-start; }
  .cta-band .check-list { color: rgb(255 255 255 / .9); }
  .cta-band .check-list li::before { border-color: var(--c-gold-400); }

  /* ---- Footer ------------------------------------------------------- */
  .site-footer { background: var(--c-ink); color: rgb(255 255 255 / .68); font-size: var(--fs-small); padding-top: var(--sp-8); }
  .site-footer h2 { font-size: 0.8125rem; letter-spacing: var(--tracking-label); text-transform: uppercase; color: var(--c-gold-400); margin-bottom: var(--sp-4); }
  .site-footer a { color: rgb(255 255 255 / .85); text-decoration: none; }
  .site-footer a:hover { color: var(--c-gold-400); }
  .footer__grid { display: grid; gap: var(--sp-6); grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); }
  .footer__grid ul > li + li { margin-top: var(--sp-2); }
  .footer__bottom { margin-top: var(--sp-7); padding-block: var(--sp-5); border-top: 1px solid rgb(255 255 255 / .1); display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--sp-3); font-size: 0.8125rem; }
  .social { display: flex; gap: var(--sp-2); }
  .social a { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: rgb(255 255 255 / .08); }
  .social a:hover { background: var(--c-gold-400); color: var(--c-maroon-900); }
  .social svg { width: 18px; height: 18px; }

  /* ---- Mobile call bar --------------------------------------------- */
  .callbar { display: none; }
  @media (max-width: 767px) {
    /* Only the call button, on the right, leaving the bottom-left corner
       free for the chat widget */
    .callbar { position: fixed; right: var(--sp-3); bottom: calc(var(--sp-3) + env(safe-area-inset-bottom)); z-index: 60; display: block; }
    .callbar .btn { min-height: 48px; border-radius: 999px; box-shadow: 0 6px 20px rgb(0 0 0 / .3); }
    .callbar .btn:not(.btn--gold) { display: none; }
    body:has(.callbar) { padding-bottom: 76px; }
  }


  /* ==================================================================
     Site-wide components added when the pages moved off Elementor.
     ================================================================== */

  /* ---- Navigation dropdowns ---------------------------------------- */
  .nav__item { position: relative; }
  .nav__trigger { display: inline-flex; align-items: center; gap: 4px; background: none; border: 0; cursor: pointer; }
  .nav__trigger svg { width: 14px; height: 14px; transition: transform var(--dur-fast); }
  /* With JS, aria-expanded alone opens a menu (and flips its arrow): site.js sets it
     on hover, click, tap and keyboard, so the arrow and the menu always agree.
     Without JS, hover and keyboard focus still open the menus on desktop. */
  .nav__trigger[aria-expanded="true"] svg { transform: rotate(180deg); }
  .nav__menu { display: none; }
  .nav__menu a { display: block; text-decoration: none; }
  .nav__sublink, .nav__grouplink { padding: var(--sp-2) var(--sp-3); border-radius: var(--r-sm); font-size: 0.875rem; color: var(--c-text); }
  .nav__grouplink { font-family: var(--font-heading); font-weight: var(--fw-bold); color: var(--c-maroon-700); }
  .nav__sublink:hover, .nav__grouplink:hover, .nav__menu [aria-current="page"] { background: var(--c-maroon-100); color: var(--c-maroon-700); }
  .nav__group ul { list-style: none; padding-left: var(--sp-3); border-left: 2px solid var(--c-gold-100); margin-left: var(--sp-3); }
  @media (min-width: 1025px) {
    .nav__menu { position: absolute; top: 100%; left: 0; z-index: 10; min-width: 240px; padding: var(--sp-3); background: var(--c-white); border-radius: var(--r-md); box-shadow: var(--shadow-lg); border-top: 3px solid var(--c-gold-400); }
    .nav__menu--wide { display: none; grid-template-columns: repeat(2, minmax(250px, 1fr)); gap: var(--sp-4); left: 50%; transform: translateX(-50%); }
    html:not(.js) .nav__item:is(:hover, :focus-within) > .nav__menu, .nav__trigger[aria-expanded="true"] + .nav__menu { display: block; }
    html:not(.js) .nav__item:is(:hover, :focus-within) > .nav__menu--wide, .nav__trigger[aria-expanded="true"] + .nav__menu--wide { display: grid; }
    html:not(.js) .nav__item:is(:hover, :focus-within) > .nav__trigger svg { transform: rotate(180deg); }
    .nav__item:last-of-type .nav__menu { left: auto; right: 0; }
  }
  @media (max-width: 1024px) {
    .nav__trigger { width: 100%; justify-content: space-between; text-align: left; }
    .nav__trigger[aria-expanded="true"] + .nav__menu { display: block; padding: var(--sp-2) 0 var(--sp-3); }
    .nav__sublink, .nav__grouplink { color: rgb(255 255 255 / .85); padding-inline: var(--sp-3); }
    .nav__grouplink { color: var(--c-gold-400); }
    .nav__sublink:hover, .nav__grouplink:hover, .nav__menu [aria-current="page"] { background: rgb(255 255 255 / .08); color: var(--c-gold-400); }
    .nav__group ul { border-left-color: rgb(255 255 255 / .15); }
  }

  /* ---- Page title band (every inner page) -------------------------- */
  .page-hero { position: relative; isolation: isolate; overflow: hidden; color: rgb(255 255 255 / .85); background: var(--c-maroon-900); }
  .page-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(105deg, var(--c-maroon-900) 35%, rgb(58 11 1 / .82) 70%, rgb(111 20 0 / .6)), url("../../images/u-hero-background.jpg") center / cover; }
  .page-hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: linear-gradient(90deg, var(--c-gold-400), var(--c-gold-500) 40%, transparent); }
  .page-hero .container { padding-block: clamp(3rem, 2rem + 4vw, 5.5rem); }
  .page-hero :is(h1, h2) { font-size: var(--fs-h1); font-weight: var(--fw-black); color: var(--c-white); max-width: 22ch; }
  .page-hero h1 em, .page-hero h2 em { font-style: normal; color: var(--c-gold-400); }
  .page-hero .lead, .page-hero p { max-width: 640px; color: rgb(255 255 255 / .85); }
  .page-hero .lead--wide { max-width: 980px; }  /* a longer intro that should run wider than the usual blurb (Results) */
  .page-hero a:not(.btn) { color: var(--c-gold-400); }
  .page-hero .btn { margin-right: var(--sp-2); }
  .page-hero .flow > * + * { margin-top: var(--sp-4); }
  .page-hero strong { color: var(--c-white); }
  .page-hero .stats { margin-top: var(--sp-6); }
  .page-hero .stat__value { color: var(--c-gold-400); }
  .page-hero .stat__label { color: rgb(255 255 255 / .75); }

  /* ---- Home hero ----------------------------------------------------
     Full-screen photo of the three lawyers. Their faces sit in the middle
     band of the photo (roughly 40-65% down, 25-73% across), so the headline
     sits above their heads and the buttons sit below their faces, each over
     its own dark gradient. Narrow / portrait screens stack the text above a
     cropped photo instead, so no text ever covers a face. */
  .hero--home { display: flex; flex-direction: column; }
  .hero--home::before { display: none; }
  .hero--home .hero__img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: 49% 100%; order: 2; }
  .hero--home .container { display: flex; flex-direction: column; gap: var(--sp-5); padding-block: var(--sp-7) var(--sp-6); text-align: center; align-items: center; }
  .hero--home .hero__text { max-width: 900px; }
  .hero--home h1 { font-size: var(--fs-display); margin: var(--sp-4) 0 var(--sp-2); text-wrap: balance; }
  .hero--home h2 { color: var(--c-gold-400); font-size: var(--fs-h2); }
  .hero--home h3 { color: rgb(255 255 255 / .9); font-family: var(--font-body); font-weight: var(--fw-semi); font-size: var(--fs-lead); margin-top: var(--sp-2); text-wrap: balance; }
  .hero--home .hero__actions { margin-top: 0; justify-content: center; }
  @media (min-width: 768px) and (min-aspect-ratio: 13 / 10) {
    .hero--home { display: block; height: max(560px, calc(100svh - 126px)); }
    .hero--home .hero__img { position: absolute; inset: 0; z-index: -2; height: 100%; aspect-ratio: auto; }
    .hero--home::before { display: block; background:
      linear-gradient(180deg, rgb(58 11 1 / .92) 0%, rgb(58 11 1 / .7) 24%, rgb(58 11 1 / 0) 42%),
      linear-gradient(0deg, rgb(58 11 1 / .85) 0%, rgb(58 11 1 / .35) 18%, rgb(58 11 1 / 0) 30%); }
    .hero--home .container { height: 100%; justify-content: space-between; padding-block: clamp(1.25rem, 3.5vh, 2.5rem) clamp(1.5rem, 5vh, 3rem); }
    .hero--home h1 { font-size: min(var(--fs-display), 6.4vh); margin: var(--sp-2) 0 var(--sp-1); text-shadow: 0 2px 18px rgb(0 0 0 / .45); }
    .hero--home h2 { font-size: min(var(--fs-h2), 4vh); text-shadow: 0 2px 14px rgb(0 0 0 / .45); }
    .hero--home h3 { font-size: min(var(--fs-lead), 2.6vh); margin-top: var(--sp-1); text-shadow: 0 1px 10px rgb(0 0 0 / .5); }
  }
  @media (max-width: 767px), (max-aspect-ratio: 13 / 10) {
    /* stacked: no gold rule across the photo */
    .hero--home::after { display: none; }
    .hero--home .container { padding-bottom: var(--sp-4); }
  }

  /* ---- Content flow -------------------------------------------------
     .flow spaces whatever converted content sits in a section; text
     runs the full container width, in line with images and maps. */
  .flow > * + * { margin-top: var(--sp-4); }
  .flow > :is(h2, .section-head, .section-row) { margin-top: 0; }
  .flow > * + :is(h2, .section-head, .section-row, .split, .grid, .stats, .accordion, .tabs, .scroller, .map) { margin-top: var(--sp-6); }
  .flow > :is(.grid, .stats, .split, .accordion, .tabs, .scroller, .map) + :is(h2, h3) { margin-top: var(--sp-8); }  /* a heading after a block of cards starts a new group */
  .text-center { text-align: center; }
  @media (max-width: 899px) { .hide-below-desktop { display: none !important; } }  /* extras that only work beside text, e.g. a photo next to a short paragraph */
  .section .prose { margin-inline: 0; }
  :is(.page, .single-post, .page-results, .page-blog) .section { padding-block: clamp(2.5rem, 1.8rem + 2.5vw, 4.25rem); }
  .split > .flow > * + * { margin-top: var(--sp-4); }
  .split > .flow > * + :is(h2, h3) { margin-top: var(--sp-6); }
  .split { align-items: start; }
  .split:has(> .flow > .media:only-child) { align-items: center; }
  .split.split--top, .split.split--top:has(> .flow > .media:only-child) { align-items: start; }  /* e.g. a lawyer's photo beside a long bio */
  .grid > .flow > * + * { margin-top: var(--sp-3); }
  .section-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: var(--sp-4); margin-bottom: var(--sp-6); }
  .section-row .section-head { margin-bottom: 0; }

  /* ---- Media -------------------------------------------------------- */
  .media { margin: 0; }
  .media img { width: 100%; border-radius: var(--r-lg); box-shadow: var(--shadow-md); }
  .map { border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-sm); border: 1px solid var(--color-border); }
  .map iframe { width: 100%; height: auto; aspect-ratio: 16 / 9; min-height: 320px; border: 0; }
  /* Map beside text: stretch to the text's height on wide screens */
  .split--map { align-items: stretch; }
  .split--map address > strong:first-child { display: block; }  /* firm name on its own line above the street address */
  @media (min-width: 1025px) { .split--map .map iframe { height: 100%; aspect-ratio: auto; } }
  .form-embed { background: var(--c-white); border-radius: var(--r-lg); padding: var(--sp-4); box-shadow: var(--shadow-md); border-top: 4px solid var(--c-gold-400); }
  .form-embed iframe { display: block; width: 100%; min-height: 540px; border: 0; }

  /* ---- Lists -------------------------------------------------------- */
  .check-list { list-style: none; padding: 0; display: grid; gap: var(--sp-2); }
  .check-list li { position: relative; padding-left: 1.75em; }
  .check-list li::before { content: ""; position: absolute; left: .25em; top: .45em; width: .45em; height: .8em; border: solid var(--c-gold-500); border-width: 0 2.5px 2.5px 0; transform: rotate(45deg); }
  .check-list li > h3:first-child { display: block; }
  .check-list li:has(> .badge:first-child) { padding-left: 0; }
  .check-list li:has(> .badge:first-child)::before { display: none; }
  .check-list .badge { margin-right: var(--sp-2); }
  .card .check-list, .notice .check-list { font-size: var(--fs-small); }
  /* Practice-area tiles (location pages): icon + name, every name on one line.
     Two per row; one per row on phones, where two would force the longer names to wrap. */
  .tiles { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--sp-3); }
  .tiles a { display: flex; align-items: center; gap: var(--sp-3); height: 100%; padding: var(--sp-3) var(--sp-4); background: var(--c-white); border: 1px solid var(--color-border); border-radius: var(--r-lg); color: var(--c-ink); font-family: var(--font-heading); font-weight: var(--fw-bold); font-size: clamp(.9375rem, .85rem + .35vw, 1.0625rem); text-decoration: none; white-space: nowrap; transition: transform var(--dur) var(--ease), box-shadow var(--dur), border-color var(--dur); }
  .tiles a:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); border-color: transparent; }
  .tiles .card__icon { width: 44px; height: 44px; flex: none; }
  .tiles .card__icon svg { width: 22px; height: 22px; }
  .tiles a:hover .card__icon { background: var(--c-maroon-700); color: var(--c-gold-400); }
  @media (max-width: 899px) { .tiles { grid-template-columns: 1fr; } }
  .link-list { list-style: none; padding: 0; display: grid; gap: var(--sp-2); }
  .link-list a { display: flex; align-items: center; gap: var(--sp-2); padding: var(--sp-3) var(--sp-4); border: 1px solid var(--color-border); border-radius: var(--r-md); background: var(--c-white); font-family: var(--font-heading); font-weight: var(--fw-semi); font-size: var(--fs-small); text-decoration: none; }
  .link-list a:hover { border-color: var(--c-maroon-700); }
  .link-list a::after { content: "→"; margin-left: auto; color: var(--c-gold-500); }

  /* ---- Cards built from converted content ------------------------- */
  .card > * { margin: 0; }
  .card > .badge { align-self: flex-start; }
  .card :is(h3, h4) { font-size: 1.125rem; color: var(--c-ink); }
  .card ul:not([class]) { padding-left: 1.2em; font-size: var(--fs-small); color: var(--color-muted); }
  .card ul:not([class]) li + li { margin-top: var(--sp-1); }
  .card .stat__value { font-size: clamp(1.6rem, 1.4rem + 1vw, 2.2rem); }
  .card img { border-radius: var(--r-md); }
  .card__label { font-size: var(--fs-label); font-weight: var(--fw-bold); letter-spacing: var(--tracking-label); text-transform: uppercase; color: var(--c-gold-700); }
  .section--alt .card, .section--alt .result { border-color: transparent; box-shadow: var(--shadow-sm); }
  .stats > .stat > * { margin: 0; }
  .notice { display: block; }
  .notice > * + * { margin-top: var(--sp-3); }
  .notice > :is(h3, strong):first-child { display: block; font-family: var(--font-heading); }
  .person h2 { font-size: 1.35rem; margin-block: var(--sp-1) var(--sp-3); }
  .person h2 a { color: inherit; text-decoration: none; }
  .person h2 a::after { content: ""; position: absolute; inset: 0; }
  .person__body > p { font-size: var(--fs-small); color: var(--color-muted); }
  .person__body .btn-link { margin-top: var(--sp-4); }
  @media (min-width: 900px) { .grid:has(> .person) { grid-template-columns: repeat(3, minmax(0, 1fr)); } .person__photo { aspect-ratio: 4 / 3; } }  /* three across: a shorter photo keeps the cards compact */
  /* Tablets and phones: one card per row, photo beside the text instead of a full-width photo above it */
  @media (max-width: 899px) {
    .grid:has(> .person) { grid-template-columns: 1fr; gap: var(--sp-4); }
    .person { flex-direction: row; }
    .person__photo { flex: 0 0 clamp(108px, 30%, 220px); aspect-ratio: auto; }
    .person__body { border-top: 0; border-left: 3px solid var(--c-gold-400); padding: var(--sp-4); }
    .person h2 { font-size: 1.2rem; margin-block: var(--sp-1) var(--sp-2); }
    .person__body .btn-link { margin-top: var(--sp-2); }
  }
  /* Phones: small square headshot beside the role and name, bio full width below */
  @media (max-width: 559px) {
    .person { display: grid; grid-template-columns: 88px 1fr; column-gap: var(--sp-4); align-items: center; padding: var(--sp-4); border-top: 3px solid var(--c-gold-400); }
    .person__photo { grid-row: 1 / span 2; width: 88px; height: 88px; border-radius: var(--r-md); align-self: center; }
    .person__body { display: contents; }
    .person__role { grid-column: 2; align-self: end; line-height: 1.4; }
    .person h2 { grid-column: 2; align-self: start; margin: var(--sp-1) 0 0; }
    .person__body > p, .person__body .btn-link { grid-column: 1 / -1; }
    .person__body > p { margin-top: var(--sp-3); }
  }

  /* Attorney headshots are small originals (300-675px wide), so show them near their native size instead of stretching them across the card */
  @media (min-width: 900px) {
    .person__photo { width: min(220px, calc(100% - 2 * var(--sp-5))); aspect-ratio: 4 / 3; margin: var(--sp-5) auto var(--sp-4); border-radius: var(--r-md); }
  }
  @media (min-width: 560px) and (max-width: 899px) {
    .person { align-items: flex-start; }
    .person__photo { flex: 0 0 140px; height: 140px; margin: var(--sp-4) 0 var(--sp-4) var(--sp-4); border-radius: var(--r-md); }
  }

  /* Lawyer bio pages: cap the portrait at about its native 400px source width */
  .split--top .media { max-width: 320px; }
  @media (min-width: 768px) { .split.split--top:has(> .flow > .media) { grid-template-columns: 320px 1fr; } }
  @media (max-width: 767px) { .split--top .media { max-width: 280px; margin-inline: auto; } .split--top > .flow > .media img { max-height: none; } }

  /* ---- Contact page: call info + office cards beside the (long) contact form ---- */
  .contact-info .offices { display: grid; gap: var(--sp-4); }
  .office { padding: var(--sp-5); }
  .office p { font-size: 1rem; color: var(--color-text); }
  .office__links { display: flex; flex-wrap: wrap; gap: var(--sp-2) var(--sp-5); }
  .office .map { margin-top: var(--sp-2); }
  .office .map iframe { min-height: 240px; }
  @media (min-width: 1025px) { .split.contact-split { align-items: start; } }
  /* On screens tall enough to show the whole column (about 865px plus the header), it stays in view while visitors scroll the taller form */
  @media (min-width: 1025px) and (min-height: 1000px) { .contact-info { position: sticky; top: calc(var(--header-h) + var(--sp-5)); } }

  /* ---- Logo wall (e.g. "As Featured Locally On") ------------------- */
  .logo-wall { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--sp-4); }
  .logo-wall > a, .logo-wall > div { flex: 0 1 270px; display: grid; place-items: center; height: 104px; padding: var(--sp-4); background: var(--c-white); border: 1px solid var(--color-border); border-radius: var(--r-lg); box-shadow: var(--shadow-sm); transition: transform var(--dur) var(--ease), box-shadow var(--dur); }
  .logo-wall > a:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
  .logo-wall img { max-width: 100%; max-height: 56px; width: auto; height: auto; object-fit: contain; border-radius: 0; }
  @media (max-width: 560px) { .logo-wall > a, .logo-wall > div { flex-basis: calc(50% - var(--sp-4) / 2); height: 84px; padding: var(--sp-3); } .logo-wall img { max-height: 44px; } }

  /* ---- Horizontal scroller (awards) -------------------------------- */
  .scroller { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(250px, 280px); gap: var(--sp-5); overflow-x: auto; scroll-snap-type: x mandatory; padding: var(--sp-2) var(--sp-1) var(--sp-5); scrollbar-width: thin; scrollbar-color: var(--c-gold-500) transparent; }
  .scroller > * { scroll-snap-align: start; }
  .scroller img { height: 96px; width: auto; max-width: 100%; object-fit: contain; margin-inline: auto; border-radius: 0; }
  .scroller .card { text-align: center; align-items: center; }
  .scroller .award-icon { display: grid; place-items: center; height: 96px; font-size: 3.5rem; color: var(--c-maroon-700); margin-inline: auto; }
  .scroller.is-auto { scroll-snap-type: none; scrollbar-width: none; }
  .scroller.is-auto::-webkit-scrollbar { display: none; }

  /* ---- Tabs (progressive: stacked panels without JS) --------------- */
  .tabs__list { display: none; }
  .js .tabs__list { display: flex; gap: var(--sp-2); overflow-x: auto; padding-bottom: var(--sp-2); margin-bottom: var(--sp-5); border-bottom: 1px solid var(--color-border); scrollbar-width: none; }
  .tabs__tab { flex: none; padding: var(--sp-3) var(--sp-4); border-radius: var(--r-pill); font-family: var(--font-heading); font-weight: var(--fw-bold); font-size: 0.875rem; color: var(--color-muted); white-space: nowrap; }
  .tabs__tab:hover { color: var(--c-maroon-700); background: var(--c-maroon-100); }
  .tabs__tab[aria-selected="true"] { background: var(--c-maroon-700); color: var(--c-white); }
  .tabs__panel > * + * { margin-top: var(--sp-4); }
  .tabs__panel + .tabs__panel { margin-top: var(--sp-7); }
  .js .tabs__panel + .tabs__panel { margin-top: 0; }
  .js .tabs__panel[hidden] { display: none; }

  .hours { list-style: none; padding: 0; font-size: var(--fs-small); }
  .hours li { display: flex; justify-content: space-between; gap: var(--sp-4); padding: var(--sp-1) 0; border-bottom: 1px dashed var(--color-border); }

  /* ---- Reviews (Trustindex widget) ---------------------------------- */
  .reviews-widget { min-height: 200px; max-width: 100%; overflow: hidden; }
  .reviews-widget pre { margin: 0; white-space: normal; font: inherit; }

  /* ---- Results ------------------------------------------------------ */
  .result { display: flex; flex-direction: column; }
  .result > * { margin: 0; }
  .result .result__amount { font-size: clamp(1.35rem, 1.2rem + .6vw, 1.6rem); white-space: nowrap; color: var(--c-maroon-700); font-family: var(--font-heading); font-weight: var(--fw-black); line-height: 1.05; }
  .result .result__type { font-size: 1.05rem; text-transform: capitalize; margin-top: var(--sp-3); }
  /* Results note: sits beside the last result card when there is room */
  .result-note { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: var(--sp-3); padding: var(--sp-2) var(--sp-4); }
  .result-note > * { margin: 0; }
  @media (min-width: 720px) { .result-note { grid-column: span 2; } }


  /* ---- Blog post ---------------------------------------------------- */
  .post { padding-block: var(--sp-7) var(--sp-9); }
  .post__head, .post__body { width: min(var(--w-read), 100% - 2 * var(--gutter)); margin-inline: auto; }
  .post__hero { width: min(1120px, 100vw - 2 * var(--gutter)); margin: 0 0 var(--sp-6) 50%; transform: translateX(-50%); }
  .post__hero img { width: 100%; aspect-ratio: 21 / 9; object-fit: cover; object-position: center 40%; border-radius: var(--r-lg); box-shadow: var(--shadow-lg); }
  @media (max-width: 767px) { .post { padding-top: 0; } .post__hero { width: 100vw; } .post__hero img { border-radius: 0; aspect-ratio: 16 / 9; } }
  .post__back { margin-bottom: var(--sp-5); }
  .post__date { display: block; font-size: var(--fs-label); font-weight: var(--fw-bold); letter-spacing: var(--tracking-label); text-transform: uppercase; color: var(--c-gold-700); }
  .post__title { margin-top: var(--sp-3); padding-bottom: var(--sp-5); border-bottom: 1px solid var(--color-border); font-size: clamp(1.75rem, 1.4rem + 1.6vw, 2.5rem); }
  .post__body { margin-top: var(--sp-6); }
  .prose h2 { font-size: var(--fs-h2); }
  .prose h4 { color: var(--c-ink); }
  .prose img { width: 100%; border-radius: var(--r-lg); margin-inline: auto; }
  .prose img.img-native { width: auto; }
  .prose table { width: 100%; font-size: var(--fs-small); border: 1px solid var(--color-border); }
  .prose th { text-align: left; background: var(--c-maroon-700); color: var(--c-white); font-family: var(--font-heading); padding: var(--sp-3) var(--sp-4); }
  .prose td { padding: var(--sp-3) var(--sp-4); border-top: 1px solid var(--color-border); vertical-align: top; }
  .prose tr:nth-child(even) td { background: var(--c-cream); }
  .prose figure { margin-inline: 0; }
  .prose hr { margin-block: var(--sp-7); }

  /* ---- Pagination --------------------------------------------------- */
  .pagination { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--sp-2); margin-top: var(--sp-7); }
  .pagination a, .pagination span { display: grid; place-items: center; min-width: 44px; height: 44px; padding: 0 var(--sp-3); border-radius: var(--r-pill); border: 1px solid var(--color-border); font-family: var(--font-heading); font-weight: var(--fw-bold); text-decoration: none; }
  .pagination a:hover { border-color: var(--c-maroon-700); }
  .pagination [aria-current] { background: var(--c-maroon-700); border-color: var(--c-maroon-700); color: var(--c-white); }

  /* ---- Footer extras ----------------------------------------------- */
  .footer__contact li { display: flex; gap: var(--sp-3); }
  .footer__contact li + li { margin-top: var(--sp-3); }
  .footer__contact svg { flex: none; width: 18px; height: 18px; margin-top: 3px; color: var(--c-gold-400); }
  .footer__links li + li { margin-top: var(--sp-2); }
  .site-footer .stack h2 { margin: var(--sp-5) 0 var(--sp-3); }
  .footer__bottom p + p { white-space: nowrap; }

  /* ---- Reveal on scroll (enabled by site.js) ------------------------ */
  .js .reveal { opacity: 0; transform: translateY(18px); transition: opacity var(--dur-slow) var(--ease), transform var(--dur-slow) var(--ease); }
  .js .reveal.is-visible { opacity: 1; transform: none; }
}

/* --------------------------------------------------------- utilities */
@layer utilities {
  .sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
  .text-center { text-align: center; }
  .text-muted { color: var(--color-muted); }
  .text-gold { color: var(--c-gold-700); }
  .mt-0 { margin-top: 0; } .mt-4 { margin-top: var(--sp-4); } .mt-6 { margin-top: var(--sp-6); } .mt-7 { margin-top: var(--sp-7); }
  .mx-auto { margin-inline: auto; }
}
