/* Law Office of Jason Skala LLC. One stylesheet for index.html and privacy.html. */

@font-face {
  font-family: "Newsreader";
  src: url("/assets/newsreader-var.woff2") format("woff2");
  font-weight: 400 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Instrument Sans";
  src: url("/assets/instrument-sans-latin-var.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --white: #FFFFFF;
  --ink: #17282F;
  --slate: #59676D;
  --brand: #581A14;       /* burgundy from the firm's original site: brand, buttons, display headings, links */
  --brand-dark: #3E110D;  /* hover state for the burgundy */
  --gold: #B1A15E;        /* muted gold: short rules only, never text (2.6:1 on white) */
  --rule: #DBE2E4;
  --serif: "Newsreader", Georgia, "Times New Roman", serif;
  --sans: "Instrument Sans", system-ui, -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
  --maxw: 1200px;
  --pad: clamp(20px, 5vw, 48px);
  --section: clamp(56px, 8vw, 104px);
  --bar-height: 72px;
}

/* Base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font: 400 17px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3, p, ul, figure, address { margin: 0; }
ul { padding: 0; list-style: none; }
a {
  color: var(--brand); text-decoration-thickness: 1px; text-underline-offset: 0.15em;
  transition: color 0.15s ease, text-underline-offset 0.15s ease;
}
a:hover { color: var(--brand-dark); text-underline-offset: calc(0.15em + 2px); }
button { font: inherit; color: inherit; background: none; border: 0; margin: 0; padding: 0; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; }
[hidden] { display: none !important; }
#main:focus, #consultation:focus { outline: none; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding-left: var(--pad); padding-right: var(--pad); }

.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; border: 0;
}
.skip-link {
  position: absolute; left: var(--pad); top: -100px; z-index: 100;
  padding: 10px 14px; background: var(--ink); color: var(--white);
  border-radius: 4px; text-decoration: none; font-weight: 600;
}
.skip-link:focus { top: 12px; }

/* Type */
h1, h2 { font-family: var(--serif); font-weight: 400; letter-spacing: -0.015em; color: var(--brand); }
h1 { font-size: 43px; line-height: 1.05; }
h2 { font-size: 30px; line-height: 1.15; }
@media (min-width: 720px) {
  h1 { font-size: 56px; }
  h2 { font-size: 34px; }
}
@media (min-width: 1024px) {
  h1 { font-size: 72px; }
  h2 { font-size: 38px; }
}

/* Buttons */
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 22px; border-radius: 6px;
  font-weight: 600; font-size: 16px; line-height: 1.2;
  text-decoration: none; cursor: pointer;
  border: 1px solid transparent;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.button-primary { background: var(--brand); color: var(--white); border-color: var(--brand); }
.button-primary:hover { background: var(--brand-dark); border-color: var(--brand-dark); color: var(--white); }
.button-secondary { background: var(--white); color: var(--ink); border-color: var(--slate); }
.button-secondary:hover { border-color: var(--ink); color: var(--ink); }
.button[disabled] { opacity: 0.6; cursor: progress; }
.button-tel { font-variant-numeric: tabular-nums; }

/* Header */
.site-header { border-bottom: 1px solid var(--rule); }
.site-header .wrap {
  display: flex; align-items: center; gap: 24px;
  min-height: 76px; padding-top: 14px; padding-bottom: 14px;
}
.brand { display: flex; flex-direction: column; margin-right: auto; color: var(--ink); text-decoration: none; }
.brand:hover { color: var(--ink); }
.brand-name { font-family: var(--serif); font-size: 26px; line-height: 1.1; letter-spacing: -0.01em; color: var(--brand); }
.brand-tagline { font-size: 13px; line-height: 1.3; color: var(--slate); margin-top: 3px; }
.site-nav ul { display: flex; gap: 28px; }
.site-nav a {
  display: inline-flex; align-items: center; min-height: 44px;
  color: var(--ink); text-decoration: none; font-size: 16px; font-weight: 500;
}
.site-nav a:hover { color: var(--brand); text-decoration: underline; text-underline-offset: 0.3em; }
.header-phone {
  display: inline-flex; align-items: center; min-height: 44px;
  color: var(--ink); text-decoration: none; font-weight: 600;
  font-variant-numeric: tabular-nums; white-space: nowrap;
}
.header-phone:hover { color: var(--brand); }
@media (max-width: 719px) {
  .site-nav { display: none; }
}

/* Hero: full-viewport photograph, header and copy sit on the image. Homepage only (body.home). */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; align-items: flex-end;
  min-height: 100vh; min-height: 100svh;
  padding: max(76px, 44svh) 0 calc(var(--bar-height) + env(safe-area-inset-bottom) + 20px);
  background: #2B2C2E;
  color: var(--white);
}
.hero-image {
  position: absolute; inset: 0; z-index: -2;
  width: 100%; height: 100%; max-width: none;
  object-fit: cover; object-position: 84% 15%;
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(to bottom, rgba(10, 11, 13, 0.6) 0, rgba(10, 11, 13, 0) 190px),
    linear-gradient(to top, rgba(10, 11, 13, 0.94) 0, rgba(10, 11, 13, 0.86) 40%, rgba(10, 11, 13, 0) 78%);
}
.hero .wrap { width: 100%; }
.hero-copy { max-width: 600px; }
.hero h1 {
  font-size: clamp(44px, 12vw, 52px); line-height: 1.04; color: var(--white);
  margin-bottom: 16px; text-wrap: balance; text-shadow: 0 1px 24px rgba(0, 0, 0, 0.35);
}
.hero-lede { font-size: 16px; line-height: 1.5; color: var(--white); max-width: 34ch; margin-bottom: 22px; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 24px; margin-bottom: 8px; }
.hero .button-primary { border-color: rgba(255, 255, 255, 0.3); min-height: 52px; font-size: 17px; padding: 0 28px; }
.hero .button-primary:hover { background: var(--brand-dark); border-color: var(--gold); }
.hero-phone {
  display: inline-flex; align-items: center; min-height: 44px;
  color: var(--ink); font-weight: 600; text-decoration: underline;
  text-underline-offset: 0.2em; font-variant-numeric: tabular-nums;
}
.hero-phone:hover { color: var(--brand); text-underline-offset: calc(0.2em + 2px); }
.hero .hero-phone { color: var(--white); }
.hero .hero-phone:hover { color: var(--gold); }
.hero-fine { font-size: 14px; line-height: 1.45; color: rgba(255, 255, 255, 0.88); }
.hero :focus-visible, .home .site-header :focus-visible { outline-color: var(--gold); }
.hero-scroll, .hero-caption { display: none; }
@media (max-width: 599px) {
  .hero-actions .button-primary { width: 100%; }
}
@media (max-width: 759px) and (max-height: 700px) {
  .hero { padding-top: max(76px, 54svh); }
}
@media (min-width: 760px) {
  .hero { align-items: center; padding: 96px 0 72px; }
  .hero-image { object-position: 78% 18%; }
  .hero::before {
    background:
      linear-gradient(to bottom, rgba(10, 11, 13, 0.6) 0, rgba(10, 11, 13, 0) 200px),
      linear-gradient(to top, rgba(10, 11, 13, 0.5) 0, rgba(10, 11, 13, 0) 160px),
      linear-gradient(to right, rgba(10, 11, 13, 0.8) 0, rgba(10, 11, 13, 0.66) 38%, rgba(10, 11, 13, 0) 66%);
  }
  .hero .wrap { max-width: none; padding-left: 7%; padding-right: 7%; }
  .hero h1 { font-size: clamp(56px, 5.6vw, 88px); margin-bottom: 22px; }
  .hero-lede { font-size: 19px; margin-bottom: 28px; }
  .hero-actions { margin-bottom: 14px; }
  .hero-fine { font-size: 14px; }
  .hero-scroll {
    position: absolute; left: 7%; bottom: 28px; display: inline-flex; align-items: center; gap: 8px;
    min-height: 44px; color: rgba(255, 255, 255, 0.9); font-size: 14px; text-decoration: none; letter-spacing: 0.02em;
  }
  .hero-scroll:hover { color: var(--gold); }
  .hero-caption { position: absolute; right: 4%; bottom: 112px; display: block; text-align: right; color: var(--white); }
  .portrait-name { display: block; font-weight: 600; font-size: 15px; }
  .portrait-role { display: block; font-size: 14px; margin-top: 2px; color: rgba(255, 255, 255, 0.9); }
}

/* Homepage header sits transparently over the photograph */
.home .site-header { position: absolute; top: 0; left: 0; right: 0; z-index: 20; background: transparent; border-bottom: 0; }
.home .site-header .wrap { max-width: none; gap: 12px; }
.home .brand, .home .brand:hover { color: var(--white); }
.home .brand-name { color: var(--white); font-size: 24px; text-shadow: 0 1px 12px rgba(0, 0, 0, 0.35); }
.home .brand-tagline { color: rgba(255, 255, 255, 0.9); }
.home .site-nav a, .home .header-phone { color: var(--white); text-shadow: 0 1px 12px rgba(0, 0, 0, 0.35); }
.home .site-nav a:hover, .home .header-phone:hover { color: var(--gold); }
@media (max-width: 359px) {
  .home .header-phone { font-size: 15px; }
  .home .brand-name { font-size: 22px; }
  .home .brand-tagline { font-size: 12px; }
}
.home .brand-tagline, .home .site-nav a { white-space: nowrap; }
@media (min-width: 760px) {
  .home .site-header .wrap { gap: 24px; padding-left: 7%; padding-right: 7%; }
  .home .brand-name { font-size: 26px; }
}
/* Medium widths: keep brand and phone, drop the nav until it fits on one line */
@media (min-width: 720px) and (max-width: 859px) {
  .home .site-nav { display: none; }
}
@media (min-width: 860px) and (max-width: 1139px) {
  .home .site-header .wrap { gap: 16px; padding-left: 4%; padding-right: 4%; }
  .home .site-nav ul { gap: 18px; }
  .home .site-nav a { font-size: 15px; }
}

/* Sections */
.section { border-top: 1px solid var(--rule); padding-top: var(--section); padding-bottom: var(--section); }
.split { display: grid; grid-template-columns: 1fr; gap: 32px; }
.split > h2 { max-width: 18ch; }
.split-head h2 { max-width: 18ch; }
/* The only use of the gold: a short rule above section and page headings. */
.split > h2::before, .split-head h2::before, .service h1::before, .article h1::before, .blog h1::before, .prose h1::before {
  content: ""; display: block; width: 40px; height: 2px; margin-bottom: 18px; background: var(--gold);
}
.section-intro { color: var(--slate); margin-top: 14px; max-width: 36ch; }
@media (min-width: 900px) {
  .split { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(40px, 6vw, 96px); }
  .split-5-7 { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
}

/* Cases we handle */
.cases { border-bottom: 1px solid var(--rule); display: grid; grid-template-columns: 1fr; column-gap: 40px; }
@media (min-width: 600px) {
  .cases { grid-template-columns: 1fr 1fr; }
}
.cases li { border-top: 1px solid var(--rule); padding: 20px 0; }
.cases .case-name { display: block; text-decoration: none; font-weight: 400; }
.cases .case-name::after { content: none; }
.case-resources { display: flex; flex-wrap: wrap; gap: 0 18px; margin-top: 10px; }
.case-resources a, .case-request { display: inline-flex; align-items: center; min-height: 44px; font-size: 14px; }
.case-resources a { color: var(--slate); }
.case-request { font-weight: 600; gap: 8px; }
.next-steps { counter-reset: next-step; list-style: none; margin: 0; padding: 0; }
.next-steps li { position: relative; padding: 20px 0 24px 48px; border-top: 1px solid var(--rule); }
.next-steps li::before { counter-increment: next-step; content: counter(next-step, decimal-leading-zero); position: absolute; left: 0; top: 22px; color: var(--slate); font-size: 14px; }
.next-steps h3 { font-family: var(--serif); font-size: 24px; font-weight: 400; margin-bottom: 8px; }
.next-steps p { max-width: 52ch; color: var(--slate); }
.home #results { padding-top: clamp(40px, 5vw, 64px); padding-bottom: clamp(40px, 5vw, 64px); }
.case-link { display: block; padding: 18px 0 20px; color: var(--ink); text-decoration: none; }
.case-name {
  display: flex; align-items: baseline; justify-content: space-between; gap: 12px;
  font-family: var(--serif); font-size: 24px; line-height: 1.2;
  text-decoration: underline; text-decoration-color: var(--rule); text-decoration-thickness: 1px; text-underline-offset: 0.16em;
  transition: color 0.15s ease, text-underline-offset 0.15s ease;
}
.case-name::after {
  content: "\2192"; flex: none; font-family: var(--sans); font-size: 18px; color: var(--slate);
  transition: color 0.15s ease, transform 0.15s ease;
}
.case-desc { display: block; font-size: 15px; color: var(--slate); margin-top: 4px; }
.case-link:hover .case-name, .case-link:focus-visible .case-name {
  color: var(--brand); text-decoration-color: currentColor; text-underline-offset: calc(0.16em + 2px);
}
.case-link:hover .case-name::after, .case-link:focus-visible .case-name::after { color: var(--brand); transform: translateX(2px); }

/* About */
.about-name { font-weight: 600; font-size: 18px; }
.about-firm { color: var(--slate); font-size: 15px; margin-top: 2px; margin-bottom: 18px; }
.about-bio { max-width: 58ch; }
.about-more { margin-top: 18px; font-size: 15px; }

/* Selected case results. Static form (no script, or reduced motion): four rows that wrap in one or two columns.
   With script and motion allowed, app.js adds .ribbon-live and one aria-hidden copy of the list, and the rows
   become an unboxed ribbon drifting left at about 20px per second. No cards, borders, tints, or imagery. */
.ribbon {
  --ribbon-gap: clamp(40px, 6vw, 88px);
  /* Static form shares the page column; the live ribbon drops the column so items can run edge to edge. */
  max-width: var(--maxw); margin: 24px auto 0; padding: 0 var(--pad);
}
/* Compact head: heading and intro on the left, the motion control on the right from 760px; stacks on phones. */
.ribbon-head { display: grid; grid-template-columns: minmax(0, 1fr); column-gap: 32px; }
.ribbon-head .section-intro { margin-top: 8px; }
@media (min-width: 760px) {
  .ribbon-head { grid-template-columns: minmax(0, 1fr) auto; align-items: end; }
  .ribbon-head h2, .ribbon-head .section-intro { grid-column: 1; }
  .ribbon-head .ribbon-toggle { grid-column: 2; grid-row: 1 / span 2; align-self: end; margin-top: 0; }
}
.ribbon-head .ribbon-toggle {
  display: inline-flex; align-items: center; min-height: 44px; margin-top: 6px; padding: 0;
  border: 0; background: none; font: inherit; font-size: 15px; color: var(--brand); cursor: pointer;
  text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.15em;
}
.ribbon-head .ribbon-toggle:hover { color: var(--brand-dark); text-underline-offset: calc(0.15em + 2px); }
.ribbon-head .ribbon-toggle[hidden] { display: none; }
.results { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr; gap: 28px 40px; }
@media (min-width: 600px) {
  .results { grid-template-columns: 1fr 1fr; }
}
.results li > span { display: block; }
.result-meta { font-size: 15px; color: var(--slate); }
/* Only the dollar figure is large: Newsreader, about 42px on phones and 56px on desktop, never broken across
   lines, so the full figure reads at 390px. Outcome and case name sit below in dark 15 to 16px Instrument Sans. */
.result-value { margin-top: 8px; }
.result-amount {
  display: block; font-family: var(--serif); font-size: clamp(42px, 3.2vw + 30px, 56px); line-height: 1.02;
  color: var(--brand); font-variant-numeric: tabular-nums; letter-spacing: -0.015em; white-space: nowrap;
}
.result-outcome { display: block; font-family: var(--sans); font-size: 16px; line-height: 1.4; margin-top: 6px; color: var(--ink); }
.result-detail { font-size: 15px; line-height: 1.45; margin-top: 8px; color: var(--ink); }
.result-case { font-size: 15px; line-height: 1.45; color: var(--ink); margin-top: 4px; }
.results-note { margin-top: 28px; font-size: 14px; color: var(--slate); }

/* Live ribbon: one viewport that clips, one track holding the list and its copy, translated by half its width
   so the loop is seamless. Each list carries the gap as right padding so the two halves measure the same. */
.ribbon-live {
  overflow: hidden; max-width: none;
  /* Starts aligned with the page column, then runs to the viewport edge; the clip is at the padding edge. */
  padding: 4px 0 4px max(var(--pad), calc((100vw - var(--maxw)) / 2 + var(--pad)));
  /* Soft 20px mask at both edges so moving figures fade rather than cut; no colour is painted. */
  -webkit-mask-image: linear-gradient(to right, transparent, #000 20px, #000 calc(100% - 20px), transparent);
  mask-image: linear-gradient(to right, transparent, #000 20px, #000 calc(100% - 20px), transparent);
}
.ribbon-live:focus-visible { outline-offset: -3px; }
/* Reserve two lines for the year and claim so every dollar figure sits on the same baseline across the ribbon. */
.ribbon-live .result-meta { line-height: 1.45; min-height: 2.9em; }
.ribbon-live .ribbon-track {
  display: flex; width: max-content;
  animation: ribbon-drift var(--ribbon-duration, 90s) linear infinite;
}
.ribbon-live .results {
  display: flex; flex-wrap: nowrap; gap: 0 var(--ribbon-gap); padding-right: var(--ribbon-gap); margin: 0;
}
.ribbon-live .results li { flex: 0 0 auto; width: clamp(272px, 30vw, 380px); }
.ribbon-live:hover .ribbon-track, .ribbon-live:focus-within .ribbon-track, .ribbon-live.is-paused .ribbon-track {
  animation-play-state: paused;
}
@keyframes ribbon-drift {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  /* app.js does not start the ribbon under reduced motion; these rules cover a preference change after load. */
  .ribbon-live { overflow: visible; max-width: var(--maxw); padding: 0 var(--pad); }
  .ribbon-live .ribbon-track { display: block; width: auto; animation: none; }
  .ribbon-live .results { display: grid; padding-right: 0; }
  .ribbon-live .results li { width: auto; }
  .ribbon-live .results[aria-hidden="true"], .ribbon-head .ribbon-toggle { display: none; }
}

/* Consultation */
.consult-lede { color: var(--slate); margin-top: 14px; max-width: 36ch; }
.consult-phone {
  display: inline-block; margin-top: 22px;
  font-weight: 600; font-size: 22px; color: var(--ink);
  text-decoration: none; font-variant-numeric: tabular-nums;
}
.consult-phone:hover { color: var(--brand); text-decoration: underline; }
.consult-hours { color: var(--slate); margin-top: 4px; }

.form { max-width: 600px; }
.field { margin-bottom: 20px; }
@media (min-width: 640px) {
  .form { display: grid; grid-template-columns: 1fr 1fr; column-gap: 20px; }
  .form > * { grid-column: 1 / -1; }
  .form > .field-half { grid-column: auto; min-width: 0; }
}
.field label { display: block; font-weight: 500; font-size: 15px; margin-bottom: 6px; }
.optional { font-weight: 400; color: var(--slate); }
.input {
  width: 100%; min-height: 48px;
  font: 400 17px/1.4 var(--sans); color: var(--ink);
  background: var(--white); border: 1px solid var(--slate); border-radius: 4px;
  padding: 12px 14px;
}
.input:focus { border-color: var(--brand); }
textarea.input { min-height: 140px; resize: vertical; }
.field.is-invalid .input { border: 2px solid var(--ink); }
.field-error { margin-top: 6px; font-size: 14px; font-weight: 600; }
.field-check { display: flex; align-items: center; gap: 12px; min-height: 44px; }
.field-check input { width: 22px; height: 22px; margin: 0; flex: none; accent-color: var(--brand); cursor: pointer; }
.field-check label { font-weight: 400; font-size: 16px; margin: 0; cursor: pointer; }
.receipt-choice { border: 0; padding: 0; margin: 0; min-width: 0; }
.receipt-choice legend { padding: 0; font-weight: 600; }
/* Optional SMS opt-in under the phone number (short form and guided intake), only with the disclosure enabled. */
.sms-consent { min-width: 0; }
.form > .sms-consent { margin: -10px 0 20px; }
.sms-consent-help { margin: 0; max-width: 52ch; font-size: 13px; line-height: 1.5; color: var(--slate); }
.field.is-invalid .field-check input { outline: 2px solid var(--ink); outline-offset: 2px; }
.choice-group { border: 0; padding: 0; min-width: 0; }
.choice-group legend { padding: 0; margin-bottom: 4px; font-weight: 500; font-size: 15px; }
.choice-row { display: flex; flex-wrap: wrap; column-gap: 24px; }
.intake-method { border: 0; padding: 0; margin: 0; min-width: 0; display: flex; flex-wrap: wrap; column-gap: 24px; }
.notice { font-size: 14px; color: var(--slate); max-width: 52ch; margin-bottom: 10px; }
.bot-check:not(:empty) { margin: 8px 0 16px; }
.fallback { color: var(--ink); }
.link-button {
  display: inline; color: var(--brand); text-decoration: underline; text-underline-offset: 0.15em;
  cursor: pointer; font: inherit; padding: 10px 0; margin: -10px 0;
}
.link-button:hover { color: var(--brand-dark); }
.input[disabled], .field-check input[disabled] { opacity: 0.7; cursor: progress; }
.form-actions { margin-top: 20px; }
.form-status { margin-top: 12px; font-size: 15px; color: var(--slate); }
.form-status:empty { display: none; }
.form-errors, .form-alert { border-left: 3px solid var(--ink); padding: 12px 16px; margin-bottom: 24px; }
.form-errors h3 { font: 600 16px/1.4 var(--sans); margin-bottom: 6px; }
.form-errors ul { list-style: disc; padding-left: 20px; }
.form-errors a { color: var(--ink); }
.form-alert p { margin: 0; }
.form-alert strong { display: block; margin-bottom: 4px; }
.form-success h2 { margin-bottom: 14px; }
.form-success p { max-width: 58ch; margin-bottom: 12px; }
.menu-toggle { display: none; border: 0; padding: 12px; background: transparent; color: var(--ink); font: inherit; cursor: pointer; }
.home .menu-toggle { color: white; }
@media (max-width: 1199px) {
  .site-header .wrap { position: relative; }
  .site-nav { display: none; }
  .menu-toggle { display: block; margin-left: auto; }
  .site-nav[data-open="true"], .home .site-nav[data-open="true"] { display: block; position: absolute; top: 100%; left: 0; right: 0; background: white; z-index: 30; padding: 16px 24px; border-bottom: 1px solid var(--rule); }
  .site-nav[data-open="true"] ul { flex-wrap: wrap; gap: 8px 24px; }
  .home .site-nav[data-open="true"] a { color: var(--ink); text-shadow: none; }
  .site-nav[data-open="true"] a { display: inline-block; padding: 12px 0; }
}
.content-lede { max-width: 64ch; font-size: clamp(19px, 2vw, 23px); line-height: 1.6; color: var(--slate); }
.content-image { margin: 2rem 0 3rem; }
.content-image img { display: block; width: 100%; height: auto; }
.content-image figcaption { margin-top: .6rem; color: var(--slate); font-size: 14px; }
.content-section { margin-top: 48px; max-width: 70ch; }
.content-section h2 { margin-bottom: 18px; }
.content-section p + p { margin-top: 18px; }
.content-links { padding-left: 0; list-style: none; display: grid; gap: 14px; }
.content-links a { display: inline-block; padding: 8px 0; text-underline-offset: .25em; }
.page-toc { margin: 32px 0 40px; }
.page-toc ul { display: flex; flex-wrap: wrap; list-style: none; gap: 12px 24px; padding-left: 0; }
.page-toc a { display: inline-block; padding: 10px 0; }
.profile-layout { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 64px; align-items: start; }
.profile-photo img { width: 100%; height: auto; }
.profile-layout img { max-width: 100%; height: auto; }
@media(max-width: 700px) { .profile-layout { grid-template-columns: 1fr; gap: 32px; } }
.intake-launcher {
  position: fixed; right: 28px; bottom: 28px; z-index: 40;
  min-height: 48px; padding: 12px 20px; border: 0; border-radius: 28px;
  background: var(--brand); color: var(--white); font: inherit; font-weight: 600;
  cursor: pointer; box-shadow: 0 4px 18px rgba(0,0,0,.14);
}
.intake-launcher:hover { background: var(--brand-dark); }
.intake-dialog {
  position: fixed; inset: auto 24px 24px auto; margin: 0;
  display: none; flex-direction: column; overflow: hidden;
  width: min(460px, calc(100vw - 32px)); height: auto; max-height: min(700px, calc(100dvh - 32px));
  padding: 0; color: var(--ink); border: 1px solid var(--rule); border-radius: 14px;
  box-shadow: 0 12px 44px rgba(0,0,0,.2); background: var(--white);
}
.intake-dialog[open] { display: flex; }
.intake-dialog::backdrop { background: rgba(18,20,24,.38); }
.intake-header {
  flex: none; display: flex; justify-content: space-between; align-items: center; gap: 14px;
  padding: 12px 18px; background: var(--white); border-bottom: 1px solid var(--rule);
}
.intake-header h2 { flex: 1; min-width: 0; font-size: 20px; line-height: 1.2; margin: 0; }
.intake-header-phone, .intake-close {
  display: inline-flex; align-items: center; justify-content: center; flex: none;
  min-height: 44px; color: var(--brand); font: inherit; font-size: 14px; font-weight: 600;
}
.intake-header-phone { text-decoration: none; }
.intake-header-phone:hover { text-decoration: underline; text-underline-offset: .2em; }
.intake-close { padding: 0 0 0 6px; background: transparent; border: 0; cursor: pointer; }
.intake-close:hover { text-decoration: underline; text-underline-offset: .2em; }
.intake-body { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 15px 20px max(16px, env(safe-area-inset-bottom)); scroll-padding-bottom: 16px; }
.intake-intro, .intake-footer { color: var(--slate); font-size: 12px; line-height: 1.55; }
.intake-intro { margin: 0 0 14px; max-width: 48ch; }
.intake-progress { min-height: 18px; margin: 0 0 12px; color: var(--slate); font-size: 12px; line-height: 1.5; }
.intake-transcript { display: flex; flex-direction: column; gap: 12px; margin: 0 0 12px; padding: 0; list-style: none; }
.intake-message { display: flex; flex-direction: column; max-width: 100%; font-size: 15px; line-height: 1.5; }
.intake-message p { margin: 0; overflow-wrap: anywhere; }
.intake-user p { white-space: pre-wrap; }
.intake-assistant { align-self: flex-start; color: var(--ink); font-weight: 500; }
.intake-user { align-self: flex-end; max-width: 88%; padding: 9px 13px; border-radius: 12px 12px 3px 12px; background: #F2F1EF; color: var(--ink); font-weight: 400; }
.intake-prompt { position: sticky; bottom: -1px; z-index: 1; margin: 0 -1px; padding: 12px 1px 8px; background: var(--white); }
.intake-prompt.is-complete { position: static; }
.intake-prompt .intake-current-question { margin: 0 0 12px; color: var(--ink); font-size: 17px; line-height: 1.4; font-weight: 500; }
.intake-choices { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.intake-choice {
  display: inline-flex; align-items: center; justify-content: center; min-height: 44px; max-width: 100%;
  padding: 9px 13px; border: 1px solid #A7AFB2; border-radius: 24px;
  background: var(--white); color: var(--ink); font: inherit; font-size: 14px; line-height: 1.3; text-align: left;
  cursor: pointer; transition: border-color .15s ease, color .15s ease, background-color .15s ease;
}
.intake-choice:hover { border-color: var(--brand); color: var(--brand); background: #FBF9F8; }
.intake-answer-form { display: grid; gap: 9px; }
.intake-input {
  display: block; width: 100%; min-height: 48px; padding: 11px 12px;
  border: 1px solid #929B9F; border-radius: 6px; background: var(--white); color: var(--ink);
  font: 400 16px/1.45 var(--sans); appearance: none;
}
textarea.intake-input { min-height: 88px; resize: vertical; }
select.intake-input { appearance: auto; cursor: pointer; }
select.intake-input:hover { border-color: var(--brand); }
.intake-input::placeholder { color: #707C81; opacity: 1; }
.intake-input:focus { border-color: var(--brand); outline: 2px solid rgba(88,26,20,.18); outline-offset: 1px; }
.intake-input[aria-invalid="true"] { border-color: #8B1414; }
.intake-field-error, .intake-status.is-error { color: #8B1414; font-size: 13px; line-height: 1.5; }
.intake-field-error:empty { display: none; }
.intake-note-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; }
.intake-next, .intake-retry {
  display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 10px 18px;
  border: 1px solid var(--brand); border-radius: 5px; background: var(--brand); color: var(--white);
  font: inherit; font-size: 15px; font-weight: 600; cursor: pointer;
}
.intake-next:hover, .intake-retry:hover { background: var(--brand-dark); border-color: var(--brand-dark); }
.intake-skip { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 8px 2px; border: 0; background: transparent; color: var(--brand); font: inherit; font-size: 14px; font-weight: 500; text-decoration: underline; text-underline-offset: .2em; cursor: pointer; }
.intake-skip:hover { color: var(--brand-dark); }
.intake-dialog button:disabled { opacity: .6; cursor: wait; }
.intake-dialog :focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; }
.intake-status { min-height: 0; margin: 8px 0 0; color: var(--slate); font-size: 12px; line-height: 1.5; }
.intake-status:empty { display: none; }
.intake-footer { margin: 18px 0 0; padding-top: 12px; border-top: 1px solid var(--rule); }
.intake-footer a { color: var(--brand); text-decoration: underline; text-decoration-skip-ink: auto; text-underline-offset: .2em; white-space: nowrap; }
.intake-honeypot { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.intake-security:not(:empty) { margin-top: 14px; }
@media(max-width: 640px) {
  .intake-launcher { right: 16px; bottom: 84px; font-size: 13px; padding: 10px 16px; }
  .intake-dialog { inset: auto 0 0 0; width: 100%; max-width: none; height: auto; max-height: min(760px, calc(100dvh - 8px)); border-radius: 14px 14px 0 0; }
  .intake-header { gap: 8px; padding: 8px 14px; }
  .intake-header h2 { font-size: 18px; }
  .intake-header-phone, .intake-close { min-height: 44px; font-size: 13px; }
  .intake-header-phone { padding: 0 2px; }
  .intake-body { padding: 12px 16px max(14px, env(safe-area-inset-bottom)); }
  .intake-message { font-size: 14px; }
  .intake-prompt { padding-top: 10px; }
  .intake-prompt .intake-current-question { font-size: 16px; margin-bottom: 10px; }
  .intake-choice { padding: 9px 12px; font-size: 14px; }
}
.honeypot { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }

/* Common questions */
.faq details { border-top: 1px solid var(--rule); }
.faq details:last-child { border-bottom: 1px solid var(--rule); }
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 18px 0; cursor: pointer; list-style: none;
  font-family: var(--serif); font-size: 22px; line-height: 1.25;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--sans); font-size: 24px; line-height: 1; color: var(--slate); flex: none; }
.faq details[open] summary::after { content: "\2212"; }
.faq summary:hover { color: var(--brand); }
.faq details p { color: var(--slate); padding-bottom: 20px; max-width: 60ch; }

/* Footer */
.site-footer { border-top: 1px solid var(--rule); padding-top: 48px; padding-bottom: 48px; font-size: 15px; color: var(--slate); }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 28px; }
@media (min-width: 720px) {
  .footer-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 48px; }
}
.footer-firm { font-weight: 600; color: var(--ink); font-size: 16px; }
.site-footer address { font-style: normal; margin-top: 6px; line-height: 1.6; }
.site-footer a { color: var(--ink); }
.site-footer a:hover { color: var(--brand); }
.footer-links { display: flex; gap: 20px; margin-bottom: 10px; }
.footer-links a { display: inline-flex; align-items: center; min-height: 44px; }
.footer-disclaimer { max-width: 62ch; font-size: 14px; }
.footer-copy { margin-top: 28px; padding-top: 18px; border-top: 1px solid var(--rule); font-size: 14px; }

/* Mobile consultation and call bar */
.mobile-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
  display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
  padding: 10px var(--pad) calc(10px + env(safe-area-inset-bottom));
  background: var(--white); border-top: 1px solid var(--rule);
}
.mobile-bar .button { min-height: 48px; padding: 0 12px; font-size: 15px; }
@media (max-width: 759px) {
  body { padding-bottom: calc(var(--bar-height) + env(safe-area-inset-bottom)); }
  body:has(.form input:focus, .form textarea:focus, .form select:focus) .mobile-bar { display: none; }
  .intake-launcher { display: none; }
  .home .brand-tagline { white-space: normal; }
}
@media (min-width: 760px) {
  .mobile-bar { display: none; }
}

/* Privacy page */
.page { padding-top: clamp(40px, 6vw, 80px); padding-bottom: clamp(40px, 6vw, 80px); }
.prose { max-width: 66ch; }
.prose h1 { margin-bottom: 16px; font-size: 38px; }
.prose h2 { font-size: 24px; margin-top: 36px; margin-bottom: 10px; }
.prose p { margin-bottom: 14px; }
.prose .meta { color: var(--slate); font-size: 15px; }
.prose .fine { color: var(--slate); font-size: 14px; margin-top: 32px; }

/* Content pages: practice landings, about, contact, articles, resources index */
.narrow { max-width: calc(760px + 2 * var(--pad)); }
.kicker { font-size: 15px; margin-bottom: 14px; }
.kicker a { color: var(--slate); }
.kicker a:hover { color: var(--brand); }
.service, .article, .blog { padding-top: 56px; padding-bottom: 56px; }
.service h1, .article h1, .blog h1, .prose h1 { font-size: 38px; line-height: 1.1; margin-bottom: 20px; }
@media (min-width: 720px) {
  .service h1, .article h1, .blog h1, .prose h1 { font-size: 48px; }
}
.service p { max-width: 62ch; margin-bottom: 16px; }
.service .cta-actions { margin-top: 24px; }
.cta-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 24px; }
.contact-address { font-style: normal; line-height: 1.7; margin-top: 8px; }
.contact-address a { color: var(--ink); }
.contact-address a:hover { color: var(--brand); }

.article-meta { color: var(--slate); font-size: 15px; margin-bottom: 32px; }
.article-body { font-size: 18px; line-height: 1.75; }
.article-body p, .article-body ul, .article-body ol, .article-body blockquote, .article-body pre, .article-body dl { margin-bottom: 1.2em; }
.article-body h2 { font-size: 28px; line-height: 1.2; margin: 1.6em 0 0.6em; }
.article-body h3, .article-body h4, .article-body h5, .article-body h6 { font-family: var(--sans); font-weight: 600; margin: 1.4em 0 0.5em; }
.article-body h3 { font-size: 21px; }
.article-body h4, .article-body h5, .article-body h6 { font-size: 18px; }
.article-body ul { list-style: disc; padding-left: 1.4em; }
.article-body ol { list-style: decimal; padding-left: 1.6em; }
.article-body li { margin-bottom: 0.4em; }
.article-body a { color: var(--brand); }
.article-body blockquote { border-left: 3px solid var(--rule); padding-left: 20px; color: var(--slate); }
.article-body hr { border: 0; border-top: 1px solid var(--rule); margin: 2em 0; }
.article-body img { height: auto; margin: 1.2em 0; }
.article-body .caption { font-size: 15px; color: var(--slate); }
.article-body code, .article-body pre { font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: 15px; }
.article-body pre { overflow-x: auto; padding: 12px 16px; border: 1px solid var(--rule); }
.article-body dt { font-weight: 600; }
.article-body dd { margin: 0 0 0.6em 1.4em; }
.table-wrap { overflow-x: auto; margin-bottom: 1.2em; }
.article-body table { border-collapse: collapse; width: 100%; font-size: 16px; line-height: 1.5; }
.article-body th, .article-body td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--rule); }
.article-body th { font-weight: 600; }
.article-body caption { text-align: left; font-weight: 600; padding-bottom: 8px; }
.article-cta { margin-top: 48px; padding-top: 28px; border-top: 1px solid var(--rule); }
.article-cta p { margin-bottom: 16px; max-width: 58ch; }
.article-cta .cta-actions { margin-bottom: 0; }

.post-list { list-style: none; padding: 0; border-top: 1px solid var(--rule); margin-top: 32px; }
.post-list li { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 24px; padding: 14px 0; border-bottom: 1px solid var(--rule); }
.post-list a { color: var(--ink); text-decoration-color: var(--rule); text-underline-offset: 0.16em; }
.post-list a:hover { color: var(--brand); text-decoration-color: currentColor; text-underline-offset: calc(0.16em + 2px); }
.post-list time { color: var(--slate); font-size: 15px; white-space: nowrap; }

/* Case results index: four stories, then the published results list */
.blog h2 { font-size: 26px; margin-top: 44px; margin-bottom: 8px; }
.case-summaries { list-style: none; padding: 0; border-top: 1px solid var(--rule); margin-top: 20px; }
.case-summaries li { display: grid; grid-template-columns: 1fr; gap: 2px 24px; padding: 18px 0 22px; border-bottom: 1px solid var(--rule); }
@media (min-width: 600px) {
  .case-summaries li { grid-template-columns: 64px minmax(0, 1fr); }
  .case-summaries .summary-year { grid-row: 1 / span 3; }
}
.summary-year { font-size: 15px; color: var(--slate); font-variant-numeric: tabular-nums; }
.summary-case { font-family: var(--serif); font-size: 21px; line-height: 1.25; }
.summary-docket { font-family: var(--sans); font-size: 15px; color: var(--slate); white-space: nowrap; }
.summary-claim { font-size: 15px; color: var(--slate); }
/* Outcome sentence stays body size; only the dollar figures inside it are set large in Newsreader.
   Figures never break across lines, so they read in full at 390px. */
.summary-result { font-size: 16px; line-height: 1.5; margin-top: 4px; }
.summary-amount {
  font-family: var(--serif); font-size: clamp(24px, 1vw + 18px, 30px); line-height: 1; color: var(--brand);
  font-variant-numeric: tabular-nums; letter-spacing: -0.01em; white-space: nowrap; vertical-align: -0.04em;
}
.pagination { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 32px; font-size: 15px; }
.pagination a { display: inline-flex; align-items: center; min-height: 44px; }
.page-count { color: var(--slate); }

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .case-link:hover .case-name::after, .case-link:focus-visible .case-name::after { transform: none; }
}
