/* ============================================================
   Krumbein Consumer Legal Services
   Styled to match the Hamilton & Merchant design language:
   Hamilton green + mint surfaces, Ubuntu + Cormorant Garamond.
   ============================================================ */

:root {
  --green: #245B47;
  --green-accent: #3A7A62;
  --white: #FFFFFF;
  --black: #1A1A1A;
  --mint: #F4F8F6;
  --ink: var(--black);
  --muted: rgba(26, 26, 26, 0.72);
  --line: rgba(36, 91, 71, 0.18);
  --line-soft: rgba(36, 91, 71, 0.12);

  --radius: 6px;
  --radius-lg: 10px;
  --max-width: 1200px;

  --space-xs: 8px;
  --space-s: 16px;
  --space-m: 24px;
  --space-l: 48px;
  --space-xl: 80px;
  --space-xxl: 120px;

  --shadow-sm: 0 4px 14px -8px rgba(36, 91, 71, 0.30);
  --shadow-md: 0 12px 32px -14px rgba(36, 91, 71, 0.32);
  --shadow-lg: 0 24px 48px -16px rgba(36, 91, 71, 0.34);
  --nav-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);

  --sans: 'Ubuntu', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --serif: 'Cormorant Garamond', Georgia, serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 18px;
  font-weight: 400;
  line-height: 1.6;
  color: var(--black);
  background: var(--white);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--green-accent); text-decoration: underline; text-underline-offset: 2px; }
a:hover { color: var(--green); }

/* ---------- Typography ---------- */
h1, h2, h3, h4 { font-family: var(--sans); color: var(--black); margin: 0 0 var(--space-m); line-height: 1.2; }
h1 { font-size: clamp(36px, 5vw, 54px); font-weight: 700; }
h2 { font-size: clamp(28px, 3.5vw, 40px); font-weight: 700; }
h3 { font-size: clamp(21px, 2.5vw, 27px); font-weight: 500; }
h4 { font-size: 20px; font-weight: 500; }
p { margin: 0 0 var(--space-m); }
.accent { color: var(--green); }

.eyebrow {
  display: inline-block;
  font-family: var(--sans);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--green);
  margin: 0 0 var(--space-s);
}
.eyebrow.on-dark { color: var(--white); opacity: 0.92; }

.lede { font-size: 20px; color: var(--muted); max-width: 62ch; }

/* ---------- Layout ---------- */
.wrap { max-width: var(--max-width); margin: 0 auto; padding: 0 var(--space-m); }
.section { padding: var(--space-xl) 0; }
.bg-paper2 { background: var(--mint); }
.bg-ink { background: var(--green); color: var(--white); }
.bg-ink h2, .bg-ink h3, .bg-ink p { color: var(--white); }
.section-head { max-width: 64ch; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .lede { margin-inline: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  font-family: var(--sans);
  font-weight: 700;
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  text-decoration: none;
  border-radius: var(--radius);
  border: 1.5px solid transparent;
  cursor: pointer;
  line-height: 1.2;
  white-space: nowrap;
  transition: background-color .2s, color .2s, border-color .2s, transform .12s;
}
.btn:active { transform: scale(0.98); }
.btn svg { width: 16px; height: 16px; }
.btn-primary { background: var(--green); color: var(--white); }
.btn-primary:hover { background: var(--green-accent); color: var(--white); }
.btn-ghost { background: var(--white); color: var(--green); border-color: var(--green); }
.btn-ghost:hover { background: var(--mint); color: var(--green); }
.btn-ghost.on-dark { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.7); }
.btn-ghost.on-dark:hover { background: var(--white); color: var(--green); border-color: var(--white); }
.btn-row { display: flex; gap: var(--space-s); flex-wrap: wrap; align-items: center; }

.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 100;
  background: var(--green); color: var(--white); padding: 10px 16px; border-radius: 0 0 6px 0;
}
.skip-link:focus { left: 0; }
.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; }

/* ---------- Header ---------- */
.site-header {
  background: var(--green);
  color: var(--white);
  box-shadow: var(--nav-shadow);
  position: sticky;
  top: 0;
  z-index: 50;
  transition: box-shadow .2s ease;
}
.site-header.condensed { box-shadow: 0 6px 20px rgba(0,0,0,0.18); }
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-m);
  padding: var(--space-s) var(--space-m);
  transition: padding .2s ease;
}
.site-header.condensed .header-inner { padding-top: 10px; padding-bottom: 10px; }
.brand { display: flex; align-items: center; gap: 14px; color: var(--white); text-decoration: none; flex-shrink: 0; }
.brand-mark {
  display: inline-flex; align-items: center; justify-content: center;
  width: 50px; height: 50px; flex: none;
  font-family: var(--serif); font-weight: 500; font-size: 32px; line-height: 1;
  color: var(--white); background: rgba(255,255,255,0.07);
  border: 2px solid rgba(255,255,255,0.85); border-radius: 10px;
  box-shadow: inset 0 0 0 3px rgba(255,255,255,0.06);
  transition: width .28s var(--ease), height .28s var(--ease), font-size .28s var(--ease), border-radius .28s var(--ease);
}
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-name {
  font-family: var(--sans); font-weight: 700; font-size: 24px; letter-spacing: 0.02em; color: var(--white);
  transition: font-size .28s var(--ease);
}
.brand-sub {
  font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 15px; color: rgba(255,255,255,0.85); margin-top: 3px;
  transition: font-size .28s var(--ease);
}

/* Home page: a much larger logo that condenses gracefully on scroll. */
body.home .site-header:not(.condensed) .brand-mark {
  width: 88px; height: 88px; font-size: 56px; border-radius: 16px;
}
body.home .site-header:not(.condensed) .brand-name { font-size: 40px; }
body.home .site-header:not(.condensed) .brand-sub { font-size: 21px; }
@media (max-width: 760px) {
  .brand-mark { width: 44px; height: 44px; font-size: 28px; }
  .brand-name { font-size: 21px; }
  .brand-sub { font-size: 13px; }
  body.home .site-header:not(.condensed) .brand-mark { width: 60px; height: 60px; font-size: 38px; }
  body.home .site-header:not(.condensed) .brand-name { font-size: 28px; }
  body.home .site-header:not(.condensed) .brand-sub { font-size: 15px; }
}

/* Scroll-progress bar */
.scroll-progress {
  position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 60;
  background: linear-gradient(90deg, var(--green-accent), #5da588);
  transform: scaleX(0); transform-origin: 0 50%; will-change: transform;
  pointer-events: none;
}

.main-nav { display: flex; align-items: center; }
.nav-list { display: flex; list-style: none; margin: 0; padding: 0; gap: 4px; align-items: center; }
.nav-list > li > a {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--white); font-weight: 500; font-size: 15px; line-height: 1;
  padding: 10px 14px; border-radius: 4px; text-decoration: none;
  transition: background-color .15s ease;
}
.nav-list > li > a:hover { background: rgba(255,255,255,0.12); color: var(--white); }
.nav-list > li > a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--white); }
.nav-cta-li { margin-left: 6px; }
.btn-phone {
  background: var(--white); color: var(--green) !important;
  padding: 9px 16px; font-size: 14px; border-radius: 4px; border: 0;
}
.btn-phone:hover { background: var(--mint); color: var(--green) !important; }

.nav-toggle {
  display: none; background: transparent; border: 0; cursor: pointer;
  width: 44px; height: 44px; padding: 10px;
}
.nav-toggle .bars, .nav-toggle .bars::before, .nav-toggle .bars::after {
  display: block; width: 22px; height: 2px; background: var(--white); border-radius: 2px;
  transition: transform .25s ease, opacity .2s;
}
.nav-toggle .bars { position: relative; }
.nav-toggle .bars::before, .nav-toggle .bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle .bars::before { top: -7px; }
.nav-toggle .bars::after { top: 7px; }
.nav-toggle[aria-expanded="true"] .bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .bars::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .bars::after { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Full-bleed hero ---------- */
.hero-full {
  position: relative; width: 100%; min-height: 640px;
  display: flex; align-items: center; overflow: hidden;
  color: var(--white); background: var(--green); isolation: isolate;
}
.hero-full__media {
  position: absolute; left: 0; right: 0; top: -18%;
  width: 100%; height: 136%; z-index: 0; will-change: transform; overflow: hidden;
}
.hero-full__image {
  width: 100%; height: 100%; object-fit: cover; object-position: center center;
  transform-origin: 60% 40%;
  animation: heroKen 2.6s var(--ease) both;
}
@keyframes heroKen {
  from { transform: scale(1.14); }
  to   { transform: scale(1); }
}
.hero-full__overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(270deg, rgba(26,26,26,0.82) 0%, rgba(36,91,71,0.60) 45%, rgba(36,91,71,0.12) 75%, rgba(36,91,71,0) 100%);
}
.hero-full__content { position: relative; z-index: 2; width: 100%; padding: var(--space-xxl) 0; }
.hero-full__inner { max-width: 580px; margin-left: auto; }
.hero-full__title { color: var(--white); margin-bottom: var(--space-m); text-shadow: 0 2px 12px rgba(0,0,0,0.25); }
.hero-full__tagline { font-family: var(--serif); font-style: italic; font-size: 26px; color: var(--white); opacity: 0.96; margin-bottom: var(--space-m); }
.hero-full__lead { font-size: 20px; color: var(--white); opacity: 0.95; max-width: 60ch; margin-bottom: var(--space-l); }
.hero-full__note { margin-top: var(--space-m); font-size: 15px; color: var(--white); opacity: 0.92; }
.hero-full__note strong { color: var(--white); }
@media (max-width: 900px) {
  .hero-full__overlay { background: linear-gradient(180deg, rgba(26,26,26,0.55) 0%, rgba(36,91,71,0.82) 100%); }
  .hero-full__inner { max-width: 100%; }
}
@media (max-width: 768px) {
  .hero-full { min-height: 560px; }
  .hero-full__content { padding: var(--space-xl) 0; }
  .hero-full__tagline { font-size: 22px; }
  .hero-full__lead { font-size: 18px; }
}

/* ---------- Trust strip ---------- */
.trust-strip { background: var(--mint); border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); padding: var(--space-m) 0; }
.trust-strip .wrap { display: flex; justify-content: space-around; flex-wrap: wrap; gap: var(--space-m); text-align: center; }
.trust-strip span {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 500; font-size: 14px; color: var(--green);
  text-transform: uppercase; letter-spacing: 0.07em;
}
.trust-strip svg { width: 18px; height: 18px; flex: none; }

/* ---------- Cards ---------- */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: var(--space-m); }
.card {
  background: var(--mint); border: 1px solid var(--green); border-radius: var(--radius);
  padding: 32px; text-decoration: none; color: var(--black); display: block;
  transition: transform .3s var(--ease), box-shadow .3s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); color: var(--black); }
.card-icon {
  width: 52px; height: 52px; border-radius: 10px; background: var(--white);
  color: var(--green); display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: var(--space-s); transition: background-color .2s, color .2s;
}
.card-icon svg { width: 26px; height: 26px; }
.card:hover .card-icon { background: var(--green); color: var(--white); }
.card h3 { margin: 0 0 6px; color: var(--green); }
.card-law { font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--green-accent); margin-bottom: 12px; }
.card p { color: var(--muted); margin-bottom: var(--space-s); }
.card-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: 14px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--green); }
.card-link svg { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.card:hover .card-link svg { transform: translateX(4px); }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: var(--space-m); }
.step { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: var(--space-l) var(--space-m) var(--space-m); position: relative; }
.step-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 50%; background: var(--green); color: var(--white);
  font-family: var(--sans); font-weight: 700; font-size: 20px; margin-bottom: var(--space-s);
}
.step h3 { color: var(--green); margin-bottom: 8px; }
.step p { color: var(--muted); margin: 0; font-size: 16px; }

/* ---------- Attorney spotlight ---------- */
.attorney { background: var(--green); color: var(--white); }
.attorney h2, .attorney .lede { color: var(--white); }
.attorney .lede { opacity: 0.95; }
.split { display: grid; grid-template-columns: 1fr 1.1fr; gap: var(--space-xl); align-items: center; }
.split-media.figure-ink {
  background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.18);
  border-radius: var(--radius-lg); aspect-ratio: 4 / 5; display: flex; align-items: center; justify-content: center; text-align: center;
}
.figure-ink .initials {
  font-family: var(--serif); font-weight: 500; font-size: 96px; color: var(--white);
  line-height: 1; letter-spacing: 0.04em;
}
.figure-ink .figure-cap { margin-top: var(--space-s); font-size: 15px; color: rgba(255,255,255,0.9); }
.split-media.attorney-photo { text-align: center; }
.attorney-photo picture { display: block; }
.attorney-photo img {
  width: 100%; max-width: 280px; aspect-ratio: 3 / 4; object-fit: cover; object-position: top center;
  border-radius: var(--radius-lg); border: 1px solid rgba(255,255,255,0.18);
  background: rgba(255,255,255,0.06); margin: 0 auto; display: block;
}
.attorney-photo .figure-cap { margin-top: var(--space-s); font-size: 15px; color: rgba(255,255,255,0.9); }
.bio-portrait { float: right; width: 200px; margin: 0 0 var(--space-m) var(--space-l); text-align: center; }
.bio-portrait img {
  width: 200px; aspect-ratio: 3 / 4; object-fit: cover; object-position: top center;
  border-radius: var(--radius-lg); border: 1px solid var(--line); display: block;
}
.bio-portrait figcaption { margin-top: 8px; font-size: 14px; color: var(--muted); }
@media (max-width: 640px) { .bio-portrait { float: none; width: 200px; margin: 0 auto var(--space-m); } }
.loc-figure { margin: 0 0 var(--space-l); }
.loc-figure img {
  width: 100%; height: auto; border-radius: var(--radius-lg); border: 1px solid var(--line);
  display: block; aspect-ratio: 16 / 9; object-fit: cover;
}
.loc-figure figcaption { margin-top: 8px; font-size: 12.5px; color: var(--muted); }
.loc-figure figcaption a { color: var(--muted); text-decoration: underline; }
.loc-about { margin-bottom: var(--space-l); }
.loc-source a { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; }
.loc-source svg { width: 16px; height: 16px; }
.cred-list { list-style: none; padding: 0; margin: var(--space-m) 0 0; }
.cred-list li { display: flex; gap: 12px; align-items: flex-start; padding: 9px 0; color: rgba(255,255,255,0.95); font-size: 16px; }
.cred-list svg { width: 20px; height: 20px; color: var(--white); flex: none; margin-top: 3px; }
.attorney .btn-primary { background: var(--white); color: var(--green); }
.attorney .btn-primary:hover { background: var(--mint); color: var(--green); }

/* ---------- Reviews ---------- */
.reviews { background: var(--mint); }
.reviews-head { display: flex; justify-content: space-between; align-items: flex-end; gap: var(--space-m); flex-wrap: wrap; margin-bottom: var(--space-l); }
.grating { display: flex; align-items: center; gap: 14px; }
.grating .num { font-family: var(--sans); font-weight: 700; font-size: 48px; color: var(--green); line-height: 1; }
.gmeta { font-size: 14px; color: var(--muted); }
.stars { color: var(--green-accent); letter-spacing: 2px; }
.review-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: var(--space-m); }
.review { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: var(--space-l) var(--space-m); margin: 0; display: flex; flex-direction: column; }
.review .quote { font-family: var(--serif); font-style: italic; font-size: 19px; line-height: 1.5; color: var(--black); margin: 12px 0 var(--space-m); }
.by { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--green); color: var(--white); display: inline-flex; align-items: center; justify-content: center; font-weight: 700; font-family: var(--sans); flex: none; }
.by-name { font-weight: 700; color: var(--black); }
.by-src { font-size: 13px; color: var(--muted); }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 12px; max-width: 820px; margin-inline: auto; }
.faq-item { background: var(--mint); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.faq-item.open { border-color: var(--green); background: var(--white); }
.faq-q {
  width: 100%; text-align: left; background: transparent; border: 0; cursor: pointer;
  font-family: var(--sans); font-weight: 700; font-size: 17px; color: var(--green);
  padding: 18px 50px 18px 22px; position: relative;
}
.faq-q::after { content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); font-size: 24px; font-weight: 400; color: var(--green); transition: transform .25s ease; }
.faq-item.open .faq-q::after { content: "\2212"; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .35s var(--ease); }
.faq-item.open .faq-a { max-height: 400px; }
.faq-a-inner { padding: 0 22px 20px; color: var(--muted); font-size: 16px; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--green); color: var(--white); text-align: center; position: relative; overflow: hidden; }
.cta-band::before { content: ""; position: absolute; top: -30%; right: -10%; width: 420px; height: 420px; background: radial-gradient(circle at center, rgba(58,122,98,0.55), rgba(36,91,71,0) 70%); pointer-events: none; }
.cta-band .wrap { position: relative; }
.cta-band h2 { color: var(--white); }
.cta-band .lede { color: var(--white); opacity: 0.95; margin-inline: auto; }
.cta-band .btn-primary { background: var(--white); color: var(--green); }
.cta-band .btn-primary:hover { background: var(--mint); color: var(--green); }
.cta-phone { display: inline-block; margin-top: var(--space-m); font-family: var(--serif); font-style: italic; font-size: clamp(26px, 3vw, 34px); color: var(--white); text-decoration: none; }
.cta-phone:hover { color: var(--white); opacity: 0.85; }

/* ---------- Page hero (interior) ---------- */
.page-hero { position: relative; background: var(--green); color: var(--white); padding: var(--space-xl) 0; overflow: hidden; }
.page-hero::before { content: ""; position: absolute; top: -20%; right: -10%; width: 420px; height: 420px; background: radial-gradient(circle at center, rgba(58,122,98,0.55), rgba(36,91,71,0) 70%); pointer-events: none; z-index: 0; }
.page-hero::after { content: ""; position: absolute; bottom: -30%; left: -10%; width: 360px; height: 360px; background: radial-gradient(circle at center, rgba(58,122,98,0.35), rgba(36,91,71,0) 70%); pointer-events: none; z-index: 0; }
.page-hero .wrap { position: relative; z-index: 1; }
.page-hero h1 { color: var(--white); max-width: 22ch; }
.page-hero .lede { color: var(--white); opacity: 0.94; }
.crumbs { font-size: 13px; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: var(--space-s); opacity: 0.85; }
.crumbs a { color: var(--white); }
.crumbs a:hover { color: var(--white); opacity: 0.8; }

/* ---------- Prose / articles ---------- */
.prose { max-width: 760px; }
.prose h2 { margin-top: var(--space-xl); }
.prose h3 { margin-top: var(--space-l); color: var(--green); }
.prose p, .prose li { color: #2a3343; }
.prose ul, .prose ol { padding-left: var(--space-m); margin: 0 0 var(--space-m); }
.prose li { margin-bottom: var(--space-xs); }
.prose strong { color: var(--black); }
.prose .callout { background: var(--mint); border-left: 4px solid var(--green); border-radius: var(--radius); padding: var(--space-m) var(--space-l); margin: var(--space-l) 0; }
.prose .callout p:last-child { margin-bottom: 0; }
.prose .callout.callout-warn { background: #fbf1e8; border-left-color: #b4541f; }
.prose .callout.callout-warn strong { color: #8d3f15; }
.form-note { font-size: 13px; color: var(--muted); margin-top: var(--space-xs); }

/* ---------- Article editorial toolkit (insights) ---------- */
/* Full-width hero image beneath the page hero, above the article body. */
.post-hero-figure { margin: 0; }
.post-hero-figure img {
  width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover;
  border-radius: var(--radius-lg); border: 1px solid var(--line); box-shadow: var(--shadow-md);
  display: block;
}
.post-hero-figure figcaption,
.prose figure.post-figure figcaption {
  margin-top: 10px; font-size: 13px; color: var(--muted); line-height: 1.5;
}
.post-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; align-items: center; margin: var(--space-m) 0 0; font-size: 14px; color: var(--muted); }
.post-meta .byline { font-weight: 600; color: var(--green); }
.post-meta .dot { color: var(--line); }

/* In-body figures. .full breaks slightly wider; .right floats on desktop. */
.prose figure.post-figure { margin: var(--space-l) 0; }
.prose figure.post-figure img {
  width: 100%; height: auto; border-radius: var(--radius-lg); border: 1px solid var(--line);
  box-shadow: var(--shadow-sm); display: block;
}
@media (min-width: 880px) {
  .prose figure.post-figure.right { float: right; width: 46%; margin: 6px 0 var(--space-m) var(--space-l); }
}

/* Horizontal bar chart — static, crawlable; bar width set inline per row. */
.chart-fig { margin: var(--space-l) 0; background: var(--mint); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: var(--space-m) var(--space-l) var(--space-l); }
.chart-fig .chart-title { font-weight: 700; color: var(--green); font-size: 18px; margin: 0 0 4px; font-family: var(--sans); }
.chart-fig .chart-sub { font-size: 14px; color: var(--muted); margin: 0 0 var(--space-m); }
.chart { display: grid; gap: 14px; }
.chart-row { display: grid; grid-template-columns: minmax(110px, 34%) 1fr; gap: 14px; align-items: center; }
.chart-label { font-size: 15px; color: #2a3343; font-weight: 500; }
.chart-track { background: rgba(36,91,71,0.10); border-radius: 999px; height: 26px; position: relative; overflow: hidden; }
.chart-bar { height: 100%; background: linear-gradient(90deg, var(--green), var(--green-accent)); border-radius: 999px; display: flex; align-items: center; justify-content: flex-end; min-width: 38px; transition: width 1s var(--ease); }
.chart-bar.alt { background: linear-gradient(90deg, #b4541f, #d4794a); }
.chart-bar.muted { background: linear-gradient(90deg, #7d8a83, #9aa7a0); }
.chart-val { color: var(--white); font-weight: 700; font-size: 13px; padding-right: 10px; white-space: nowrap; }
.chart-note { font-size: 12.5px; color: var(--muted); margin-top: var(--space-m); }
.chart-note a { color: var(--muted); text-decoration: underline; }

/* Stat grid — oversized figures for the punchy numbers in an article. */
.stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: var(--space-s); margin: var(--space-l) 0; }
.stat-card { background: var(--green); color: var(--white); border-radius: var(--radius-lg); padding: var(--space-m); }
.stat-card.ghost { background: var(--mint); color: var(--black); border: 1px solid var(--line); }
.stat-card .stat-num { font-family: var(--sans); font-weight: 700; font-size: clamp(30px, 4.5vw, 42px); line-height: 1; color: var(--white); }
.stat-card.ghost .stat-num { color: var(--green); }
.stat-card .stat-lbl { font-size: 14px; margin-top: 8px; line-height: 1.45; color: rgba(255,255,255,0.92); }
.stat-card.ghost .stat-lbl { color: var(--muted); }

/* Comparison / data table. */
.data-table-wrap { margin: var(--space-l) 0; overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius-lg); }
table.data-table { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 460px; }
table.data-table caption { caption-side: top; text-align: left; font-weight: 700; color: var(--green); padding: var(--space-m) var(--space-m) 0; font-size: 17px; }
table.data-table th, table.data-table td { padding: 13px var(--space-m); text-align: left; border-bottom: 1px solid var(--line-soft); vertical-align: top; }
table.data-table thead th { background: var(--green); color: var(--white); font-size: 13px; text-transform: uppercase; letter-spacing: 0.06em; border-bottom: 0; }
table.data-table tbody tr:nth-child(even) { background: var(--mint); }
table.data-table tbody tr:last-child td { border-bottom: 0; }
table.data-table td:first-child { font-weight: 600; color: var(--black); }

/* Vertical process timeline. */
.timeline { list-style: none; margin: var(--space-l) 0; padding: 0; position: relative; }
.timeline::before { content: ""; position: absolute; left: 15px; top: 6px; bottom: 6px; width: 2px; background: var(--line); }
.timeline > li { position: relative; padding: 0 0 var(--space-m) 52px; }
.timeline > li:last-child { padding-bottom: 0; }
.timeline .tl-num { position: absolute; left: 0; top: 0; width: 32px; height: 32px; border-radius: 50%; background: var(--green); color: var(--white); display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 15px; z-index: 1; }
.timeline .tl-head { font-weight: 700; color: var(--green); font-size: 18px; margin: 4px 0 4px; }
.timeline .tl-body { color: #2a3343; margin: 0; font-size: 16px; }

/* Key-takeaways summary band. */
.takeaways { background: var(--green); color: var(--white); border-radius: var(--radius-lg); padding: var(--space-l) var(--space-m); margin: var(--space-l) 0; }
.takeaways h3 { color: var(--white); font-size: 20px; margin: 0 0 var(--space-s); }
.takeaways ul { list-style: none; padding: 0; margin: 0; }
.takeaways li { display: flex; gap: 12px; align-items: flex-start; padding: 8px 0; color: rgba(255,255,255,0.95); font-size: 16px; border-bottom: 1px solid rgba(255,255,255,0.14); }
.takeaways li:last-child { border-bottom: 0; }
.takeaways li::before { content: "\2713"; color: var(--white); font-weight: 700; flex: none; }

/* Pull quote. */
.pull-quote { border-left: 4px solid var(--green-accent); margin: var(--space-l) 0; padding: 4px 0 4px var(--space-m); font-family: var(--serif); font-style: italic; font-size: clamp(22px, 3vw, 28px); line-height: 1.4; color: var(--green); }

/* Related-reading list at the article foot. */
.related-reading { margin: var(--space-xl) 0 0; padding-top: var(--space-l); border-top: 1px solid var(--line); }
.related-reading h3 { color: var(--green); font-size: 19px; }
.related-reading ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.related-reading a { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--green); text-decoration: none; }
.related-reading a:hover { text-decoration: underline; }
.related-reading svg { width: 16px; height: 16px; flex: none; }

/* ---------- Layout with sticky aside ---------- */
.layout-aside { display: grid; grid-template-columns: 1fr 320px; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.aside-card { background: var(--mint); border: 1px solid var(--green); border-radius: var(--radius); padding: var(--space-l) var(--space-m); box-shadow: var(--shadow-sm); position: sticky; top: 100px; }
.aside-card h3 { color: var(--green); font-size: 20px; margin-bottom: 10px; }
.aside-card p { font-size: 15px; color: var(--muted); }
.aside-card .btn { width: 100%; justify-content: center; }

/* ---------- Contact ---------- */
.contact-cols { display: grid; grid-template-columns: 1.3fr .7fr; gap: clamp(2rem, 5vw, 3.5rem); align-items: start; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-s); }
.field { display: flex; flex-direction: column; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field label { font-weight: 500; font-size: 15px; color: var(--black); }
.field input, .field select, .field textarea {
  font-family: var(--sans); font-size: 16px; padding: 12px 14px;
  border: 1px solid rgba(36,91,71,0.4); border-radius: var(--radius); background: var(--white); color: var(--black);
}
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--green); outline-offset: 1px; border-color: var(--green); }
.field textarea { resize: vertical; min-height: 140px; }
.contact-info { background: var(--green); color: var(--white); border-radius: var(--radius-lg); padding: var(--space-l) var(--space-m); }
.contact-info h3 { color: var(--white); font-size: 21px; }
.contact-info a { color: var(--white); }
.contact-info .ci-row { display: flex; gap: 14px; padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,0.14); }
.contact-info .ci-row:last-child { border-bottom: 0; }
.contact-info svg { width: 20px; height: 20px; color: var(--white); flex: none; margin-top: 3px; }
.map-embed { border: 0; width: 100%; height: 340px; border-radius: var(--radius-lg); box-shadow: var(--shadow-md); }

/* ---------- Dispute address cards ---------- */
.addr-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: var(--space-s); margin: var(--space-m) 0 var(--space-l); }
.addr-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: var(--space-m); box-shadow: var(--shadow-sm); }
.addr-card h3 { margin: 0 0 10px; font-size: 18px; color: var(--green); }
.addr-card address { font-style: normal; color: #2a3343; line-height: 1.55; font-size: 15px; }
.addr-card .addr-or { display: block; color: var(--muted); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; margin: 8px 0; }
.addr-meta { list-style: none; padding: 14px 0 0; margin: 14px 0 0; border-top: 1px solid var(--line); }
.addr-meta li { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--muted); margin-bottom: 6px; }
.addr-meta li:last-child { margin-bottom: 0; }
.addr-meta svg { width: 16px; height: 16px; color: var(--green-accent); flex: none; }
.addr-meta a { color: var(--green); }

/* ---------- Insights post cards ---------- */
.post-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: var(--space-m); }
.post-card { background: var(--mint); border: 1px solid var(--line); border-radius: var(--radius); padding: var(--space-l) var(--space-m); text-decoration: none; color: var(--black); display: block; transition: transform .3s var(--ease), box-shadow .3s ease, border-color .3s; }
.post-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--green); color: var(--black); }
.post-card { overflow: hidden; }
.post-thumb { margin: calc(-1 * var(--space-l)) calc(-1 * var(--space-m)) var(--space-m); aspect-ratio: 16 / 9; overflow: hidden; background: var(--green); }
.post-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.post-card:hover .post-thumb img { transform: scale(1.04); }
.post-tag { font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--green-accent); margin-bottom: 10px; }
.post-card h2 { margin: 0 0 10px; font-size: 24px; color: var(--green); }
.post-card p { color: var(--muted); margin-bottom: var(--space-s); }
.post-card .card-link { color: var(--green); }

/* ---------- Areas served hub ---------- */
.area-region { padding: var(--space-l) 0; border-bottom: 1px solid var(--line-soft); }
.area-region:first-child { padding-top: 0; }
.area-region:last-of-type { border-bottom: 0; }
.area-region h2 { color: var(--green); margin-bottom: 6px; }
.area-blurb { color: var(--muted); max-width: 70ch; margin-bottom: var(--space-m); }
.area-sub { font-size: 13px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--green-accent); margin: var(--space-m) 0 10px; }
.chip-list { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 0 0 var(--space-s); }
.chip-list a {
  display: inline-block; padding: 7px 14px; border-radius: 999px;
  background: var(--mint); border: 1px solid var(--line); color: var(--green);
  font-size: 14px; font-weight: 500; text-decoration: none; transition: background-color .15s, color .15s, border-color .15s;
}
.chip-list a:hover { background: var(--green); border-color: var(--green); color: var(--white); }

/* ---------- Footer ---------- */
.site-footer { background: var(--green); color: var(--white); padding: var(--space-xl) 0 var(--space-m); }
.site-footer a { color: var(--white); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; color: var(--white); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr 1.1fr; gap: var(--space-l); margin-bottom: var(--space-l); }
.site-footer h3 { color: var(--white); text-transform: uppercase; letter-spacing: 0.1em; font-size: 14px; margin-bottom: var(--space-s); }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 8px; font-size: 15px; }
.footer-name { display: block; font-family: var(--sans); font-weight: 700; font-size: 19px; margin-bottom: 10px; color: var(--white); }
.footer-blurb { font-size: 15px; color: rgba(255,255,255,0.85); max-width: 38ch; }
.footer-fee { font-family: var(--serif); font-style: italic; font-size: 18px; color: var(--white); }
.footer-contact address { font-style: normal; line-height: 1.7; font-size: 15px; color: rgba(255,255,255,0.9); }
.footer-phone { font-weight: 700; }
.footer-hours { color: rgba(255,255,255,0.75); }
.footer-social { display: flex; gap: 12px; margin-top: var(--space-m); padding: 0; list-style: none; }
.footer-social li { margin: 0; }
.footer-social a { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,0.12); transition: background .25s var(--ease), transform .25s var(--ease); }
.footer-social a:hover { background: rgba(255,255,255,0.28); transform: translateY(-2px); text-decoration: none; }
.footer-social svg { width: 18px; height: 18px; }
/* Credentials / bar-admissions strip — adds the heft of an established firm. */
.footer-creds { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-l); padding: var(--space-m) 0; margin-bottom: var(--space-s); border-top: 1px solid rgba(255,255,255,0.2); border-bottom: 1px solid rgba(255,255,255,0.2); }
.footer-cred { font-size: 13.5px; color: rgba(255,255,255,0.8); line-height: 1.55; }
.footer-cred-label { display: block; font-family: var(--sans); font-weight: 700; font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--white); margin-bottom: 5px; }

.footer-legal { padding-top: var(--space-m); font-size: 13px; color: rgba(255,255,255,0.75); }
.footer-legal-links { display: flex; flex-wrap: wrap; gap: 10px 22px; list-style: none; margin: 0 0 var(--space-s); padding: 0; }
.footer-legal-links li { margin: 0; font-size: 13.5px; }
.footer-legal-links a { color: rgba(255,255,255,0.9); }
.footer-legal .disclaimer { max-width: none; margin-top: 8px; }

/* ---------- Legal pages (Privacy, Terms, Disclaimer, Accessibility) ---------- */
.legal-page { max-width: 760px; }
.legal-page .legal-updated { font-size: 13.5px; color: var(--muted); letter-spacing: 0.02em; margin-bottom: var(--space-m); padding-bottom: var(--space-m); border-bottom: 1px solid var(--line); }
.legal-page h2 { font-size: clamp(20px, 2.4vw, 25px); margin-top: var(--space-l); }
.legal-page address.legal-contact { font-style: normal; line-height: 1.7; background: var(--mint); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: var(--space-m); margin: var(--space-m) 0; }

/* ---------- HTML site map ---------- */
.sitemap-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-xl); align-items: start; }
.sitemap-col h2 { font-size: 19px; color: var(--green); text-transform: uppercase; letter-spacing: 0.08em; margin: 0 0 var(--space-s); padding-bottom: 8px; border-bottom: 2px solid var(--green); }
.sitemap-col h2:not(:first-child) { margin-top: var(--space-l); }
.sitemap-col h3 { font-size: 15px; color: var(--black); margin: var(--space-m) 0 6px; }
.sitemap-col ul { list-style: none; margin: 0 0 var(--space-s); padding: 0; }
.sitemap-col li { margin-bottom: 7px; font-size: 15px; }
.sitemap-col a { color: #2a3343; text-decoration: none; }
.sitemap-col a:hover { color: var(--green); text-decoration: underline; }
.sitemap-areas-list { columns: 2; column-gap: var(--space-l); }
.sitemap-areas-list li { break-inside: avoid; }

/* ---------- Scroll reveal ---------- */
.reveal, .js [data-reveal] {
  opacity: 0; transform: translate3d(0, 34px, 0) scale(0.985);
  transition: opacity .8s var(--ease), transform .9s var(--ease);
  will-change: opacity, transform;
}
.reveal.in, .js [data-reveal].is-visible { opacity: 1; transform: none; }
[data-reveal-delay="1"] { transition-delay: 90ms; }
[data-reveal-delay="2"] { transition-delay: 180ms; }
[data-reveal-delay="3"] { transition-delay: 270ms; }
[data-reveal-delay="4"] { transition-delay: 360ms; }
[data-reveal-delay="5"] { transition-delay: 450ms; }
/* Staggered children inside a revealed grid feel more alive than one block. */
.cards .card.reveal:nth-child(2) { transition-delay: 90ms; }
.cards .card.reveal:nth-child(3) { transition-delay: 180ms; }
.cards .card.reveal:nth-child(4) { transition-delay: 270ms; }
.steps .step.reveal:nth-child(2) { transition-delay: 110ms; }
.steps .step.reveal:nth-child(3) { transition-delay: 220ms; }
.review-grid .review.reveal:nth-child(2) { transition-delay: 90ms; }
.review-grid .review.reveal:nth-child(3) { transition-delay: 180ms; }
.review-grid .review.reveal:nth-child(4) { transition-delay: 270ms; }
/* NOTE: the cinematic hero zoom, scroll parallax, and reveals intentionally
   play for all visitors (including prefers-reduced-motion), by request. The
   motion is deliberately gentle — a slow one-time zoom and a shallow parallax. */

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .split { grid-template-columns: 1fr; gap: var(--space-l); }
  .layout-aside { grid-template-columns: 1fr; }
  .aside-card { position: static; }
  .contact-cols { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: var(--space-l); }
  .footer-creds { grid-template-columns: 1fr; gap: var(--space-m); }
  .sitemap-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .chart-row { grid-template-columns: 1fr; gap: 4px; }
  .prose figure.post-figure.right { float: none; width: 100%; margin: var(--space-l) 0; }
  .nav-toggle { display: inline-flex; }
  .main-nav .nav-list {
    display: none; position: fixed; inset: 0 0 0 auto; width: min(82vw, 340px);
    flex-direction: column; align-items: stretch; gap: 2px; background: var(--green);
    padding: 78px 16px 24px; box-shadow: var(--shadow-lg); overflow-y: auto;
  }
  .main-nav .nav-list.open { display: flex; }
  .nav-list > li > a { display: block; padding: 14px 12px; font-size: 17px; }
  .nav-cta-li { margin: 8px 0 0; }
  .btn-phone { width: 100%; justify-content: center; }
  .footer-grid { grid-template-columns: 1fr; }
  .sitemap-grid { grid-template-columns: 1fr; }
  .reviews-head { align-items: flex-start; }
  .form-grid { grid-template-columns: 1fr; }
}
