@font-face {
  font-family: "Archivo Variable";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  src: url("../fonts/archivo-variable.woff2") format("woff2-variations");
}
@font-face {
  font-family: "Source Serif 4 Variable";
  font-style: normal;
  font-display: swap;
  font-weight: 200 900;
  src: url("../fonts/source-serif-4-variable.woff2") format("woff2-variations");
}

:root {
  --night: #1B1736;
  --night-2: #262047;
  --night-line: rgba(233, 230, 255, 0.16);
  --lamp: #FFB547;
  --lamp-hover: #FFC66F;
  --lamp-deep: #E58A12;
  --paper: #F4F3F8;
  --white: #FFFFFF;
  --ink: #1B1736;
  --muted: #5D5873;
  --line: #DEDBE8;
  --field: #CFCBDD;
  --on-night: #F4F2FF;
  --on-night-soft: #D6D2EA;
  --on-night-muted: #B6B0D3;
  --error: #B42318;
  --focus: var(--ink);

  --sans: "Archivo Variable", "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
  --serif: "Source Serif 4 Variable", "Source Serif 4", Georgia, serif;
  --wrap: 1200px;
  --gutter: clamp(20px, 4vw, 40px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 88px; }
body {
  margin: 0;
  font-family: var(--serif);
  font-size: 1.125rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3 { margin: 0; font-family: var(--sans); color: inherit; text-wrap: balance; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 6px; }
.site-header, .hero, .process, .final-cta, .site-footer, .callbar { --focus: var(--lamp); }
.eval-card { --focus: var(--ink); }

.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -9999px; top: 12px; z-index: 100; background: var(--lamp); color: var(--ink); padding: 12px 16px; font: 700 1rem var(--sans); border-radius: 8px; }
.skip:focus { left: 12px; }

/* Type */
h2 { font-size: clamp(2.125rem, 1.25rem + 3vw, 3.375rem); font-weight: 800; font-stretch: 80%; line-height: 1.02; letter-spacing: -0.018em; }
h3 { font-size: 1.25rem; font-weight: 700; font-stretch: 92%; line-height: 1.25; }
.lede { font-size: 1.25rem; line-height: 1.55; max-width: 34em; }
.section-intro { font-size: 1.1875rem; color: var(--muted); margin: 18px 0 0; max-width: 36em; }
.text-link {
  font-family: var(--sans); font-weight: 700; font-size: 1.0625rem;
  text-decoration: underline; text-decoration-color: var(--lamp-deep);
  text-decoration-thickness: 2px; text-underline-offset: 5px;
}
.text-link:hover { text-decoration-thickness: 3px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55em;
  font-family: var(--sans); font-weight: 700; font-size: 1.0625rem; line-height: 1;
  padding: 0.95em 1.3em; border-radius: 10px; border: 2px solid transparent;
  text-decoration: none; cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.btn svg { width: 1.1em; height: 1.1em; flex: none; }
.btn-lamp { background: var(--lamp); color: var(--ink); }
.btn-lamp:hover { background: var(--lamp-hover); }
.btn-ghost { border-color: rgba(244, 242, 255, 0.55); color: var(--on-night); background: transparent; }
.btn-ghost:hover { border-color: var(--on-night); background: rgba(255, 255, 255, 0.06); }
.btn-lg { font-size: 1.125rem; padding: 1.05em 1.5em; }
.btn-block { width: 100%; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--night); color: var(--on-night); border-bottom: 1px solid var(--night-line); }
.header-inner { display: flex; align-items: center; gap: 20px; min-height: 76px; }
.brand { display: flex; flex-direction: column; text-decoration: none; line-height: 1; margin-right: auto; }
.brand-name { font-family: var(--sans); font-weight: 800; font-stretch: 84%; font-size: 1.625rem; letter-spacing: -0.01em; }
.brand-sub { font-family: var(--sans); font-weight: 500; font-size: 0.8125rem; color: var(--on-night-muted); margin-top: 5px; }
.nav { display: flex; gap: 2px; }
.nav a { font-family: var(--sans); font-weight: 600; font-size: 0.9375rem; text-decoration: none; padding: 10px 12px; border-radius: 8px; }
.nav a:hover { background: rgba(255, 255, 255, 0.08); }
.header-call { padding: 0.8em 1.1em; font-size: 0.98rem; }
.header-call .short { display: none; }
.menu-toggle {
  display: none; align-items: center; gap: 8px;
  font: 700 1rem var(--sans); color: var(--on-night); background: transparent;
  border: 2px solid rgba(244, 242, 255, 0.4); border-radius: 10px; padding: 0.7em 1em; cursor: pointer;
}
.menu-toggle svg { width: 18px; height: 18px; }

/* Hero */
.hero { background: var(--night); color: var(--on-night); padding: clamp(44px, 7vw, 96px) 0 clamp(56px, 8vw, 104px); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.clock { display: flex; align-items: center; gap: 10px; font-family: var(--sans); font-size: 1rem; color: var(--on-night-muted); margin: 0 0 22px; min-height: 1.6em; }
.clock svg { width: 20px; height: 20px; color: var(--lamp); flex: none; }
.clock strong { color: var(--lamp); font-weight: 700; font-variant-numeric: tabular-nums; }
.clock [hidden] { display: none; }
.hero-title {
  font-size: clamp(2.75rem, 1.3rem + 5.4vw, 5.75rem);
  font-weight: 800; font-stretch: 76%; line-height: 0.97; letter-spacing: -0.022em;
  margin: 0 0 26px;
}
.hero .lede { color: var(--on-night-soft); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 34px 0 44px; }
.creds { list-style: none; margin: 0; padding: 26px 0 0; display: flex; flex-wrap: wrap; row-gap: 18px; border-top: 1px solid var(--night-line); font-family: var(--sans); }
.creds li { font-size: 0.9375rem; line-height: 1.35; color: var(--on-night-muted); padding: 0 22px; border-left: 1px solid var(--night-line); }
.creds li:first-child { padding-left: 0; border-left: 0; }
.creds strong { display: block; color: var(--on-night); font-weight: 700; font-size: 1rem; margin-bottom: 2px; }

/* Case review form */
.eval-card { background: var(--white); color: var(--ink); border-radius: 16px; padding: clamp(24px, 3vw, 34px); box-shadow: 0 34px 70px -28px rgba(6, 4, 22, 0.75); }
.eval-title { font-size: 1.75rem; font-weight: 800; font-stretch: 84%; line-height: 1.1; }
.eval-sub { font-family: var(--sans); color: var(--muted); font-size: 1rem; margin: 6px 0 22px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-family: var(--sans); font-weight: 600; font-size: 0.9375rem; margin-bottom: 6px; }
.opt { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea, .finder input {
  width: 100%; font-family: var(--sans); font-size: 1rem; color: var(--ink);
  background: var(--white); border: 1.5px solid var(--field); border-radius: 8px; padding: 12px 14px;
  transition: border-color 0.15s ease;
}
.field textarea { resize: vertical; min-height: 84px; line-height: 1.45; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%231B1736' stroke-width='2'%3E%3Cpath d='M5 8l5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 18px; padding-right: 40px; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: #A9A3C2; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--ink); }
.hint { font-family: var(--sans); font-size: 0.8125rem; line-height: 1.4; color: var(--muted); margin: 6px 0 0; }
.field-error { font-family: var(--sans); font-size: 0.875rem; color: var(--error); margin: 6px 0 0; }
.field.is-invalid input { border-color: var(--error); }
.fine { font-family: var(--sans); font-size: 0.8125rem; color: var(--muted); margin: 12px 0 0; text-align: center; }
.form-done { padding: 8px 0 4px; }
.form-done h3 { font-size: 1.5rem; font-weight: 800; font-stretch: 84%; margin-bottom: 10px; }
.form-done p { font-family: var(--sans); font-size: 1rem; color: var(--muted); }
.form-done a { font-weight: 700; color: var(--ink); }

/* Sections */
.section { padding: clamp(64px, 9vw, 120px) 0; }
.section-head { margin-bottom: clamp(36px, 5vw, 60px); max-width: 780px; }

/* Charges */
.charges-head { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 40px; align-items: end; max-width: none; }
.finder label { display: block; font-family: var(--sans); font-weight: 700; font-size: 0.9375rem; margin-bottom: 8px; }
.finder-box { position: relative; }
.finder-box svg { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); width: 20px; height: 20px; color: var(--muted); pointer-events: none; }
.finder input { font-size: 1.125rem; padding: 16px 16px 16px 48px; border: 2px solid var(--ink); border-radius: 12px; }
.finder input::placeholder { color: #8A85A0; }
.finder-status { font-family: var(--sans); font-size: 0.875rem; color: var(--muted); margin: 8px 0 0; min-height: 1.4em; }
.charge-groups { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px 40px; }
.charge-group[hidden] { display: none; }
.charge-group h3 { font-size: 1.0625rem; padding-bottom: 12px; border-bottom: 2px solid var(--ink); }
.charge-group ul { list-style: none; margin: 0; padding: 0; }
.charge-group li[hidden] { display: none; }
.charge-group a {
  display: block; font-family: var(--sans); font-size: 1rem; line-height: 1.35;
  padding: 10px 0; border-bottom: 1px solid var(--line); text-decoration: none;
}
.charge-group a:hover { text-decoration: underline; text-decoration-color: var(--lamp-deep); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.no-match { font-family: var(--sans); font-size: 1.125rem; padding: 28px 0; border-top: 2px solid var(--ink); max-width: 40em; }
.no-match a { font-weight: 700; }

/* Results */
.results { background: var(--paper); }
.result-featured {
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: end;
  background: var(--white); border-radius: 20px; padding: clamp(28px, 4.5vw, 56px); margin-bottom: clamp(40px, 6vw, 64px);
}
.result-label { font-family: var(--sans); font-size: 0.9375rem; color: var(--muted); margin: 0 0 14px; }
.charged { list-style: none; margin: 0; padding: 0; }
.exposure { font-family: var(--sans); font-size: 0.9375rem; color: var(--muted); margin: 16px 0 0; }
.outcome { font-family: var(--sans); font-weight: 800; font-stretch: 76%; letter-spacing: -0.02em; margin: 0; }
.result-featured .outcome { font-size: clamp(3.25rem, 1.5rem + 5.6vw, 6.5rem); line-height: 0.92; }
.outcome-note { font-size: 1.1875rem; margin: 14px 0 0; max-width: 22em; }
.result-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 40px; }
.result { padding: 26px 0 36px; border-top: 2px solid var(--ink); }
.result .result-label { font-size: 0.875rem; margin-bottom: 12px; }
.result .charged li { font-family: var(--sans); font-size: 1.0625rem; font-weight: 500; line-height: 1.4; color: var(--muted); margin-bottom: 5px; }
.result .outcome { font-size: 1.75rem; font-stretch: 82%; line-height: 1.08; margin-top: 18px; }
.result .outcome-note { font-family: var(--sans); font-size: 1rem; color: var(--muted); margin-top: 6px; }
.results-foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 16px 40px; margin-top: 28px; }
.disclaimer { font-family: var(--sans); font-size: 0.875rem; line-height: 1.5; color: var(--muted); max-width: 46em; margin: 0; }

/* About */
.about-grid { display: grid; grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.portrait { margin: 0; position: sticky; top: 104px; }
.portrait-art { background: var(--night); border-radius: 20px; overflow: hidden; aspect-ratio: 4 / 5; }
.portrait-art svg { width: 100%; height: 100%; }
.portrait figcaption { font-family: var(--sans); font-size: 0.9375rem; color: var(--muted); margin-top: 14px; }
.about-copy h2 { margin-bottom: 26px; }
.about-copy .lede { margin-bottom: 1em; }
.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 40px; margin: 40px 0 36px; padding: 32px 0 0; border-top: 1px solid var(--line); font-family: var(--sans); }
.facts dt { font-weight: 700; font-size: 0.9375rem; margin-bottom: 6px; }
.facts dd { margin: 0; color: var(--muted); font-size: 1rem; line-height: 1.55; }
.facts dd a { color: var(--ink); text-decoration-color: var(--lamp-deep); text-decoration-thickness: 2px; text-underline-offset: 4px; }

/* Process */
.process { background: var(--night); color: var(--on-night); }
.steps { list-style: none; margin: clamp(40px, 5vw, 60px) 0 clamp(40px, 5vw, 56px); padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 36px 32px; }
.step { border-top: 2px solid var(--night-line); padding-top: 24px; }
.step:first-child { border-top-color: var(--lamp); }
.step-n { display: block; font-family: var(--sans); font-weight: 800; font-stretch: 78%; font-size: 3rem; line-height: 1; color: var(--lamp); margin-bottom: 18px; }
.step h3 { font-size: 1.3125rem; margin-bottom: 10px; }
.step p { color: var(--on-night-soft); font-size: 1.0625rem; margin: 0; }

/* Reviews */
.quotes { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) minmax(0, 1fr); gap: 0 48px; }
.quote { margin: 0; padding: 26px 0 32px; border-top: 1px solid var(--line); display: flex; flex-direction: column; }
.quote-lg { grid-row: span 2; border-top: 2px solid var(--ink); padding-right: 12px; }
.quote blockquote { margin: 0 0 auto; }
.quote blockquote p { font-size: 1.375rem; line-height: 1.38; margin: 0 0 18px; font-weight: 500; }
.quote-lg blockquote p { font-size: clamp(2rem, 1.1rem + 2.6vw, 3.125rem); line-height: 1.12; font-weight: 600; letter-spacing: -0.01em; }
.quote-mark { width: 44px; height: 34px; color: var(--lamp-deep); margin-bottom: 22px; }
.quote figcaption { font-family: var(--sans); font-size: 0.9375rem; color: var(--muted); }
.reviews-foot { display: flex; flex-wrap: wrap; gap: 16px 32px; margin-top: 36px; }

/* FAQ + service area */
.faq { background: var(--paper); }
.faq-grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.faq-side h2 { margin-bottom: 40px; }
.where, .office { font-family: var(--sans); padding-top: 24px; border-top: 1px solid var(--field); margin-bottom: 36px; }
.where h3, .office h3 { font-size: 1.0625rem; margin-bottom: 8px; }
.where p, .office p { font-size: 1rem; color: var(--muted); margin: 0 0 12px; }
.counties { list-style: none; margin: 0; padding: 0; columns: 3; column-gap: 24px; font-size: 0.9375rem; }
.counties li { padding: 3px 0; break-inside: avoid; }
.office address { font-style: normal; font-size: 1rem; line-height: 1.55; margin-bottom: 12px; }
.office a { font-weight: 700; color: var(--ink); }
.faq-list details { border-top: 1px solid var(--field); }
.faq-list details:last-child { border-bottom: 1px solid var(--field); }
.faq-list summary {
  list-style: none; cursor: pointer; position: relative;
  font-family: var(--sans); font-weight: 700; font-size: 1.1875rem; line-height: 1.35;
  padding: 22px 48px 22px 0;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::before, .faq-list summary::after {
  content: ""; position: absolute; right: 8px; top: 50%; width: 16px; height: 2px; background: var(--ink);
  transition: transform 0.2s ease;
}
.faq-list summary::after { transform: rotate(90deg); }
.faq-list details[open] summary::after { transform: rotate(0deg); }
.faq-list summary:hover { text-decoration: underline; text-decoration-color: var(--lamp-deep); text-decoration-thickness: 2px; text-underline-offset: 5px; }
.faq-answer { padding: 0 0 26px; max-width: 36em; }
.faq-answer p:last-child { margin-bottom: 0; }
.faq-answer a { font-weight: 600; }

/* Final call to action */
.final-cta { background: var(--night); color: var(--on-night); padding: clamp(64px, 9vw, 116px) 0; border-bottom: 1px solid var(--night-line); }
.final-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px 64px; align-items: end; }
.final-cta h2 { margin-bottom: 20px; }
.final-cta .lede { color: var(--on-night-soft); margin: 0; }
.big-phone {
  display: inline-block; font-family: var(--sans); font-weight: 800; font-stretch: 76%;
  font-size: clamp(2.75rem, 1.4rem + 3.8vw, 4.5rem); line-height: 1; letter-spacing: -0.015em; white-space: nowrap;
  color: var(--lamp); text-decoration: none; font-variant-numeric: tabular-nums;
}
.big-phone:hover { text-decoration: underline; text-decoration-thickness: 4px; text-underline-offset: 10px; }
.final-sub { font-family: var(--sans); font-size: 1rem; color: var(--on-night-muted); margin: 14px 0 24px; }

/* Footer */
.site-footer { background: var(--night); color: var(--on-night-muted); font-family: var(--sans); font-size: 0.9375rem; padding: 56px 0 40px; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) minmax(0, 1fr); gap: 40px; }
.footer-brand { font-weight: 800; font-stretch: 84%; font-size: 1.375rem; color: var(--on-night); margin-bottom: 12px; line-height: 1.1; }
.site-footer address { font-style: normal; line-height: 1.6; }
.site-footer h3 { font-size: 0.9375rem; color: var(--on-night); margin-bottom: 12px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { padding: 4px 0; }
.site-footer a { color: var(--on-night); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; text-underline-offset: 4px; }
.footer-legal { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--night-line); font-size: 0.8125rem; line-height: 1.6; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 40px; }
.footer-legal p { margin: 0; max-width: 60em; }

/* Mobile call bar */
.callbar { display: none; }

/* Responsive */
@media (max-width: 1100px) {
  .nav a { padding: 10px 9px; }
}
@media (max-width: 1020px) {
  .menu-toggle { display: inline-flex; }
  .header-inner { position: relative; }
  .nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; gap: 0;
    background: var(--night); padding: 4px var(--gutter) 20px; border-bottom: 1px solid var(--night-line);
  }
  .nav.is-open { display: flex; }
  .nav a { font-size: 1.125rem; padding: 15px 2px; border-bottom: 1px solid var(--night-line); border-radius: 0; }
}
@media (max-width: 960px) {
  .hero-grid, .charges-head, .about-grid, .result-featured, .faq-grid, .final-grid { grid-template-columns: minmax(0, 1fr); }
  .eval-card { max-width: 580px; }
  .result-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .quotes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .quote-lg { grid-column: 1 / -1; grid-row: auto; }
  .portrait { position: static; max-width: 460px; }
  .portrait-art { aspect-ratio: 16 / 11; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid > :first-child { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  .header-call { display: none; }
  .callbar {
    display: grid; grid-template-columns: 1.35fr 1fr; gap: 8px;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    background: var(--night); border-top: 1px solid var(--night-line);
  }
  .callbar .btn { padding: 0.95em 0.8em; font-size: 1rem; }
  .site-footer { padding-bottom: calc(40px + 78px + env(safe-area-inset-bottom)); }
  .charge-groups { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px 24px; }
}
@media (max-width: 600px) {
  .header-inner { min-height: 66px; }
  .brand-name { font-size: 1.4375rem; }
  .creds { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 16px; }
  .creds li, .creds li:first-child { padding: 0; border: 0; }
  .hero-actions .btn { width: 100%; }
  .charge-groups, .result-list, .steps, .quotes, .facts, .footer-grid { grid-template-columns: minmax(0, 1fr); }
  .charge-group ul { columns: 2; column-gap: 20px; }
  .charge-group li { break-inside: avoid; }
  .counties { columns: 2; }
  .lede { font-size: 1.1875rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; transition-delay: 0s !important; }
}

/* ---------- Inner pages ---------- */

.nav a[aria-current="page"] { background: rgba(255, 255, 255, 0.1); box-shadow: inset 0 -2px 0 var(--lamp); }

/* Page hero */
.page-hero { background: var(--night); color: var(--on-night); padding: clamp(36px, 5vw, 64px) 0 clamp(48px, 6vw, 80px); }
.crumbs { font-family: var(--sans); font-size: 0.875rem; color: var(--on-night-muted); margin: 0 0 22px; }
.crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: var(--night-line); color: rgba(233, 230, 255, 0.35); }
.crumbs a { text-decoration: none; }
.crumbs a:hover { text-decoration: underline; text-underline-offset: 3px; }
.page-title {
  font-size: clamp(2.5rem, 1.3rem + 4.4vw, 4.75rem);
  font-weight: 800; font-stretch: 76%; line-height: 0.98; letter-spacing: -0.02em;
  margin: 0 0 22px; max-width: 16ch;
}
.page-hero .lede { color: var(--on-night-soft); max-width: 38em; }
.page-hero .hero-actions { margin: 30px 0 0; }
.page-hero .clock { margin-bottom: 18px; }
.hero-split { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: end; }
.hero-note { font-family: var(--sans); font-size: 0.9375rem; color: var(--on-night-muted); border-top: 1px solid var(--night-line); padding-top: 20px; }
.hero-note strong { display: block; color: var(--on-night); font-size: 1.0625rem; margin-bottom: 4px; }

/* Article + sidebar layout */
.with-aside { display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, 380px); gap: clamp(40px, 6vw, 88px); align-items: start; }
.aside { position: sticky; top: 100px; display: grid; gap: 20px; }
.aside .eval-card { box-shadow: none; border: 1.5px solid var(--line); }
.aside-call { background: var(--night); color: var(--on-night); border-radius: 16px; padding: 24px; font-family: var(--sans); }
.aside-call p { margin: 0 0 12px; color: var(--on-night-soft); font-size: 0.9375rem; }
.aside-call .big-phone { font-size: 2.25rem; }
.aside-call .btn { width: 100%; margin-top: 4px; }

/* Prose */
.prose { max-width: 42em; }
.prose > * + * { margin-top: 0; }
.prose h2 { font-size: clamp(1.875rem, 1.3rem + 1.6vw, 2.5rem); margin: 64px 0 18px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 1.3125rem; margin: 32px 0 10px; }
.prose p { margin: 0 0 1em; }
.prose ul { margin: 0 0 1.2em; padding-left: 1.2em; }
.prose li { margin-bottom: 0.45em; padding-left: 0.2em; }
.prose li::marker { color: var(--lamp-deep); }
.prose .charged { padding-left: 0; list-style: none; margin: 0; }
.prose .charged li { padding-left: 0; margin-bottom: 4px; }
.prose a { text-decoration-color: var(--lamp-deep); text-decoration-thickness: 2px; text-underline-offset: 4px; font-weight: 600; }
.prose strong { font-weight: 700; }

.callout { background: var(--paper); border-left: 5px solid var(--lamp-deep); border-radius: 0 12px 12px 0; padding: 22px 24px; margin: 0 0 1.4em; }
.callout-title { font-family: var(--sans); font-weight: 800; font-stretch: 86%; font-size: 1.375rem; line-height: 1.2; margin: 0 0 6px; }
.callout p:last-child { margin-bottom: 0; }

.tick-list { list-style: none; padding: 0 !important; margin: 0 0 1.4em; display: grid; gap: 0; }
.tick-list li { padding: 16px 0 16px 0 !important; border-top: 1px solid var(--line); margin: 0 !important; }
.tick-list li:last-child { border-bottom: 1px solid var(--line); }
.tick-list strong { display: block; font-family: var(--sans); font-size: 1.0625rem; margin-bottom: 2px; }

.table-wrap { overflow-x: auto; margin: 0 0 1.2em; }
.penalties { width: 100%; border-collapse: collapse; font-family: var(--sans); font-size: 0.9375rem; min-width: 520px; }
.penalties th, .penalties td { text-align: left; padding: 12px 14px 12px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.penalties thead th { font-weight: 700; border-bottom: 2px solid var(--ink); font-size: 0.9375rem; }
.penalties tbody th { font-weight: 600; color: var(--ink); width: 28%; }
.penalties td { color: var(--muted); }
.table-note { font-family: var(--sans); font-size: 0.8125rem; color: var(--muted); margin: -0.4em 0 1.4em; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0 !important; margin: 0 0 1.4em; }
.chips li { margin: 0 !important; padding: 0 !important; }
.chips a, .chips span {
  display: inline-block; font-family: var(--sans); font-size: 0.9375rem; font-weight: 600; text-decoration: none;
  padding: 8px 14px; border-radius: 999px; border: 1.5px solid var(--field); color: var(--ink);
}
.chips a:hover { border-color: var(--ink); }
.chips span { color: var(--muted); font-weight: 500; }

/* Compact results (practice pages) */
.results-compact { margin: 8px 0 1.2em; }
.results-compact .result { padding: 22px 0 26px; border-top: 1px solid var(--line); }
.results-compact .result:first-child { border-top: 2px solid var(--ink); }
.results-compact .result .outcome { font-size: 1.5rem; margin-top: 12px; }
.results-compact .result .charged li { font-size: 1.0625rem; }
.results-compact-foot { font-family: var(--sans); font-size: 0.875rem; color: var(--muted); }

.faq-list.compact summary { font-size: 1.125rem; }

/* Band CTA inside articles */
.band { background: var(--night); color: var(--on-night); border-radius: 20px; padding: clamp(28px, 4vw, 44px); margin: 64px 0 0; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px 40px; align-items: center; }
.band h2 { font-size: clamp(1.75rem, 1.2rem + 1.6vw, 2.375rem); margin: 0 0 8px; }
.band p { margin: 0; color: var(--on-night-soft); }
.band .big-phone { font-size: clamp(2rem, 1.4rem + 2vw, 3rem); }

/* Hub */
.charge-group p.group-blurb { font-family: var(--serif); font-size: 1rem; color: var(--muted); margin: 12px 0 4px; line-height: 1.5; }
.stages { list-style: none; margin: 40px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 40px; counter-reset: stage; }
.stage { padding: 24px 0 32px; border-top: 2px solid var(--ink); }
.stage-n { display: block; font-family: var(--sans); font-weight: 800; font-stretch: 78%; font-size: 2.25rem; line-height: 1; color: var(--lamp-deep); margin-bottom: 12px; }
.stage h3 { font-size: 1.25rem; margin-bottom: 8px; }
.stage p { margin: 0; color: var(--muted); font-size: 1.0625rem; }

/* Profile */
.timeline { list-style: none; margin: 0 0 1.4em; padding: 0 !important; }
.timeline li { display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 16px; padding: 14px 0 !important; margin: 0 !important; border-top: 1px solid var(--line); font-family: var(--sans); }
.timeline li:last-child { border-bottom: 1px solid var(--line); }
.timeline .yr { font-weight: 800; font-stretch: 80%; font-size: 1.375rem; line-height: 1.2; color: var(--ink); }
.timeline .what { font-size: 1rem; color: var(--muted); }
.timeline .what strong { display: block; color: var(--ink); font-size: 1.0625rem; }
.pull { font-family: var(--sans); font-weight: 800; font-stretch: 80%; font-size: clamp(1.75rem, 1.1rem + 2vw, 2.625rem); line-height: 1.1; letter-spacing: -0.012em; margin: 48px 0; padding-left: 24px; border-left: 5px solid var(--lamp-deep); max-width: 20ch; }

.quotes.quotes-two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.quotes.quotes-two .quote { border-top: 1px solid var(--line); }

/* Results page */
.filters { display: grid; gap: 14px; margin: 0 0 36px; }
.filter-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.filter-label { font-family: var(--sans); font-weight: 700; font-size: 0.9375rem; margin-right: 8px; min-width: 76px; }
.chip-btn {
  font-family: var(--sans); font-size: 0.9375rem; font-weight: 600; color: var(--ink); cursor: pointer;
  background: var(--white); border: 1.5px solid var(--field); border-radius: 999px; padding: 8px 15px;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.chip-btn:hover { border-color: var(--ink); }
.chip-btn[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--white); }
.results-count { font-family: var(--sans); font-size: 0.9375rem; color: var(--muted); margin: 0 0 18px; }
.result-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 40px; }
.result-grid .result[hidden] { display: none; }
.result-tag { font-family: var(--sans); font-size: 0.8125rem; color: var(--muted); margin: 0 0 10px; }
.result-grid .result .outcome { font-size: 1.5rem; }
.empty-state { font-family: var(--sans); font-size: 1.0625rem; padding: 28px 0; border-top: 2px solid var(--ink); }

/* Reviews page */
.review-wall { columns: 3; column-gap: 48px; }
.review-wall .quote { break-inside: avoid; display: block; padding: 26px 0 30px; }
.review-wall .quote blockquote p { font-size: 1.375rem; }
.review-wall .quote-endorse { border-top: 2px solid var(--lamp-deep); }

/* Contact */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(320px, 460px); gap: clamp(40px, 6vw, 88px); align-items: start; }
.contact-block { font-family: var(--sans); padding: 24px 0; border-top: 1px solid var(--line); }
.contact-block:first-child { border-top: 2px solid var(--ink); }
.contact-block h2 { font-size: 1.125rem; font-stretch: 92%; margin-bottom: 8px; letter-spacing: 0; }
.contact-block p, .contact-block address { font-style: normal; font-size: 1.0625rem; margin: 0 0 6px; color: var(--muted); }
.contact-block .big-phone { color: var(--ink); font-size: clamp(2.25rem, 1.6rem + 2vw, 3.25rem); }
.contact-block a:not(.big-phone):not(.btn) { color: var(--ink); font-weight: 700; }
.map-link { display: block; margin-top: 12px; }
.contact-grid .eval-card { box-shadow: none; border: 1.5px solid var(--line); }

/* Steps under the evaluation form */
.next-steps { list-style: none; margin: 0; padding: 0; counter-reset: ns; font-family: var(--sans); }
.next-steps li { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 12px; padding: 16px 0; border-top: 1px solid var(--line); }
.next-steps li:last-child { border-bottom: 1px solid var(--line); }
.next-steps .n { font-weight: 800; font-stretch: 80%; font-size: 1.5rem; color: var(--lamp-deep); line-height: 1.1; }
.next-steps strong { display: block; font-size: 1.0625rem; }
.next-steps span.d { color: var(--muted); font-size: 1rem; }

.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }

@media (max-width: 1100px) {
  .result-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .review-wall { columns: 2; }
}
@media (max-width: 960px) {
  .with-aside, .contact-grid, .hero-split { grid-template-columns: minmax(0, 1fr); }
  .aside { position: static; }
  .stages { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .band { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 600px) {
  .result-grid, .stages { grid-template-columns: minmax(0, 1fr); }
  .review-wall { columns: 1; }
  .quotes.quotes-two { grid-template-columns: minmax(0, 1fr); }
  .field-row { grid-template-columns: minmax(0, 1fr); }
  .filter-label { width: 100%; }
  .prose h2 { margin-top: 48px; }
}

/* Home hero with skyline photo */
.hero-photo { position: relative; isolation: isolate; overflow: hidden; min-height: calc(100svh - 76px); display: grid; align-items: center; }
.hero-photo > .wrap { width: 100%; }
.hero-bg { position: absolute; inset: 0; z-index: -2; }
/* The image is wider than the hero and shifted so the lit spire (47% across the photo) lands in the gap between the headline and the form. */
.hero-bg img { position: absolute; top: 0; left: min(0px, calc(87px - 8.75%)); display: block; width: 125%; max-width: none; height: 100%; object-fit: cover; object-position: 0 35%; }
.hero-photo::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(27, 23, 54, 0.9) 0%, rgba(27, 23, 54, 0.78) 34%, rgba(27, 23, 54, 0.42) 62%, rgba(27, 23, 54, 0.3) 100%),
    linear-gradient(0deg, rgba(27, 23, 54, 0.7) 0%, rgba(27, 23, 54, 0) 40%);
}
.hero-photo .hero-title { text-shadow: 0 2px 28px rgba(12, 9, 30, 0.45); }
.hero-photo .lede { color: #E6E2F6; }
.hero-photo .creds li { color: #CFCAE6; }
@media (max-width: 960px) {
  .hero-photo { min-height: 0; align-items: start; }
  .hero-bg { bottom: auto; height: 100svh; }
  .hero-bg img { left: 0; width: 100%; object-position: 35% 50%; }
  .hero-photo::before {
    background: linear-gradient(180deg, rgba(27, 23, 54, 0.62) 0, rgba(27, 23, 54, 0.78) 55svh, rgba(27, 23, 54, 1) 100svh);
  }
}

/* ---------- Case path: Charged > Facing > How > Result ---------- */
.result-featured { display: block; }
.path { list-style: none; margin: 0; padding: 0 0 0 30px; }
.path-step { position: relative; padding-bottom: 20px; }
.path-step:last-child { padding-bottom: 0; }
.path-step::before {
  content: ""; position: absolute; left: -30px; top: 3px; width: 16px; height: 16px; box-sizing: border-box;
  border-radius: 50%; background: var(--white); border: 2px solid var(--field);
}
.path-how::before { border-color: var(--lamp-deep); border-radius: 3px; transform: rotate(45deg) scale(0.8); }
.path-end::before { width: 18px; height: 18px; left: -31px; top: 9px; background: var(--lamp); border-color: var(--lamp-deep); }
.path-step:not(:last-child)::after {
  content: ""; position: absolute; left: -23px; top: 20px; bottom: -2px; width: 2px; background: var(--field);
  transform-origin: top; transition: transform 0.45s cubic-bezier(0.65, 0, 0.25, 1);
}
.path-step:nth-last-child(2)::after { bottom: -8px; background: linear-gradient(var(--field), var(--lamp-deep)); }
.path-step:nth-child(2)::after { transition-delay: 0.4s; }
.path-step:nth-child(3)::after { transition-delay: 0.8s; }
.js-path .path-step::after { transform: scaleY(0); }
.js-path .path.is-drawn .path-step::after { transform: scaleY(1); }
.path-k { display: block; font-family: var(--sans); font-size: 0.8125rem; font-weight: 600; line-height: 1.3; color: var(--muted); margin-bottom: 5px; }
.path-charges { list-style: none; margin: 0; padding: 0; }
.path-charges li { font-family: var(--sans); font-size: 1.0625rem; font-weight: 600; line-height: 1.35; color: var(--ink); margin: 0 0 4px; padding: 0; }
.path-v { font-family: var(--sans); font-size: 1rem; font-weight: 500; color: var(--ink); margin: 0; }
.how-chip {
  display: inline-block; font-family: var(--sans); font-size: 0.9375rem; font-weight: 700; line-height: 1.2;
  color: #7A4100; background: #FFF1DC; border: 1px solid #F0BE77; border-radius: 999px; padding: 6px 12px; text-decoration: none;
}
a.how-chip:hover { background: #FFE5BF; border-color: var(--lamp-deep); }
.result .path .outcome { margin-top: 0; }
.path .outcome-note { margin-top: 6px; }
.prose .path { padding-left: 30px; margin: 0; }
.prose .path-charges { padding-left: 0; }
.prose .path-charges li::marker { content: none; }
.prose .path-step { margin: 0; padding-left: 0; }
.prose .path-step:not(:last-child) { padding-bottom: 20px; }
.prose .path p { margin-bottom: 0; }
.prose .path .outcome-note { margin-top: 6px; }

/* Featured result: the same path, laid out left to right */
@media (min-width: 761px) {
  .path-wide { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.8fr) minmax(0, 0.9fr) minmax(0, 1.5fr); gap: 0 32px; padding: 0; }
  .path-wide .path-step { padding: 34px 0 0; }
  .path-wide .path-step::before { left: 0; top: 0; }
  .path-wide .path-how::before { top: 1px; left: 1px; }
  .path-wide .path-end::before { left: 0; top: -1px; }
  .path-wide .path-step:not(:last-child)::after {
    left: 22px; right: -26px; top: 7px; bottom: auto; width: auto; height: 2px; transform-origin: left;
  }
  .path-wide .path-step:nth-last-child(2)::after { bottom: auto; background: linear-gradient(90deg, var(--field), var(--lamp-deep)); }
  .js-path .path-wide .path-step::after { transform: scaleX(0); }
  .js-path .path-wide.is-drawn .path-step::after { transform: scaleX(1); }
  .path-wide .path-end { grid-column: span 1; }
}
.path-wide .path-charges li { font-size: clamp(1.25rem, 0.95rem + 0.9vw, 1.75rem); font-weight: 700; font-stretch: 84%; line-height: 1.15; }
.path-wide .path-v { font-size: clamp(1.125rem, 0.95rem + 0.5vw, 1.375rem); font-weight: 600; }
.path-wide .how-chip { font-size: 1rem; padding: 7px 14px; }
.path-wide .outcome { font-size: clamp(2.5rem, 1.2rem + 3vw, 4.25rem); line-height: 0.95; white-space: nowrap; }

/* Routes: how Judy gets there */
.routes { margin: clamp(56px, 7vw, 88px) 0 0; padding-top: 32px; border-top: 2px solid var(--ink); }
.routes-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 16px 48px; align-items: start; margin-bottom: 24px; }
.routes .routes-title { font-size: clamp(1.75rem, 1.2rem + 1.4vw, 2.375rem); font-weight: 800; font-stretch: 80%; line-height: 1.04; }
.routes-intro { font-size: 1.125rem; color: var(--muted); margin: 0; max-width: 34em; }
.routes-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 40px; }
.routes-list li { padding: 20px 0 26px; border-top: 1px solid var(--field); }
.routes-list h3, .routes-list h4 { font-family: var(--sans); font-size: 1.1875rem; font-weight: 700; font-stretch: 92%; line-height: 1.25; margin: 0 0 6px; }
.routes-list p { font-size: 1rem; line-height: 1.5; color: var(--muted); margin: 0 0 10px; }
.routes-list .text-link { font-size: 0.9375rem; }
.results .routes + .filters { margin-top: 48px; }

@media (max-width: 960px) {
  .routes-head { grid-template-columns: minmax(0, 1fr); }
  .routes-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .routes-list { grid-template-columns: minmax(0, 1fr); }
}

/* "On this page" list for long practice pages */
.toc { margin: 0 0 40px; padding: 20px 22px 8px; background: var(--paper); border-radius: 14px; }
.toc-title { font-family: var(--sans); font-weight: 700; font-size: 0.9375rem; margin: 0 0 12px; }
.toc .chips { margin-bottom: 12px; }
.toc .chips a { background: var(--white); font-size: 0.875rem; padding: 6px 12px; }
.prose h2[id] { scroll-margin-top: 96px; }

/* Home: drug and shoplifting focus */
.focus { background: var(--paper); }
.focus-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.focus-card { background: var(--white); border-radius: 20px; padding: clamp(24px, 3.2vw, 40px); display: flex; flex-direction: column; border-top: 6px solid var(--lamp-deep); }
.focus-card h3 { font-size: clamp(1.625rem, 1.2rem + 1vw, 2.125rem); font-weight: 800; font-stretch: 80%; line-height: 1.05; margin-bottom: 10px; }
.focus-text { font-size: 1.125rem; color: var(--muted); margin: 0 0 18px; }
.focus-routes { list-style: none; margin: 0 0 8px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.focus-results { margin: 8px 0 28px; flex: 1; }
.focus-results .result { border-top: 1px solid var(--line); padding: 22px 0 6px; }
.focus-results .result .outcome { font-size: 1.5rem; }
.focus-card > .btn { align-self: flex-start; }
@media (max-width: 1100px) { .focus-grid { grid-template-columns: minmax(0, 1fr); max-width: 720px; } }
.hero-photo .hero-title { font-size: clamp(2.5rem, 1.2rem + 4vw, 4.5rem); line-height: 1; }

.hero-title .q { white-space: nowrap; }
.hero-title .a { display: block; }
