/* ============================================================
   Vista Criminal Defense Law — Verdict Ledger design system
   Plum burgundy · slate blue · cream docket paper · humanist serif
   Static site — zero JavaScript, zero external fonts
   ============================================================ */

:root {
  --plum: #5C2B4D;
  --plum-deep: #3B1A30;
  --plum-bright: #7C3A63;
  --plum-tint: #F3E6EC;
  --plum-line: #DCC0CE;
  --slate: #3D5572;
  --slate-deep: #26374C;
  --slate-bright: #5A769A;
  --slate-tint: #E7ECF2;
  --slate-line: #C5D0DE;
  --paper: #F6F0E2;
  --paper-bright: #FBF7EC;
  --paper-deep: #ECE2CB;
  --paper-line: #D9CCAE;
  --ink: #2B2430;
  --ink-soft: #5C5463;
  --cream: #FBF7EC;
  --serif: 'Constantia', 'Charter', 'Bitstream Charter', Cambria, Georgia, 'Times New Roman', serif;
  --sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --rule: 1px solid var(--paper-line);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.7;
  font-size: 1rem;
  -webkit-font-smoothing: antialiased;
}
::selection { background: var(--plum); color: var(--cream); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--plum); }
a:focus-visible, button:focus-visible {
  outline: 3px solid var(--plum-bright);
  outline-offset: 2px;
  border-radius: 2px;
}
.wrap { max-width: 1140px; margin: 0 auto; padding: 0 26px; }
.serif { font-family: var(--serif); }

.skip-link {
  position: absolute; left: -999px; top: 0;
  background: var(--plum-deep); color: var(--cream);
  padding: 10px 18px; z-index: 100;
}
.skip-link:focus { left: 0; }

/* ---------- kicker (pilcrow signature) ---------- */
.kick {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .72rem; font-weight: 700;
  letter-spacing: .22em; text-transform: uppercase;
  color: var(--slate);
}
.kick svg { width: 11px; height: 11px; color: var(--plum); flex: none; }

/* ---------- topbar ---------- */
.topbar { background: var(--plum-deep); color: var(--paper-deep); font-size: .76rem; letter-spacing: .08em; }
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; gap: 14px; padding-top: 7px; padding-bottom: 7px; flex-wrap: wrap; }
.topbar a { color: var(--cream); text-decoration: none; font-weight: 600; }
.topbar a:hover { text-decoration: underline; }

/* ---------- header ---------- */
.site-head { background: var(--paper-bright); border-bottom: 3px solid var(--plum); position: sticky; top: 0; z-index: 50; }
.head-inner { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding-top: 16px; padding-bottom: 16px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-logo { width: 46px; height: 46px; flex: none; }
.brand-name {
  display: block; font-family: var(--serif);
  font-size: 1.28rem; color: var(--plum-deep); line-height: 1.2;
}
.brand-sub { display: block; font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-soft); margin-top: 3px; }
.head-right { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.head-phone { font-family: var(--serif); font-size: 1.22rem; font-weight: 700; color: var(--slate-deep); text-decoration: none; }
.head-phone:hover { color: var(--plum); }

.btn {
  display: inline-block; padding: 13px 26px;
  font-weight: 700; font-size: .88rem; letter-spacing: .06em;
  text-decoration: none; border-radius: 3px;
  border: 2px solid transparent; cursor: pointer;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
  font-family: var(--sans);
}
.btn-plum { background: var(--plum); color: var(--cream); }
.btn-plum:hover { background: var(--plum-bright); }
.btn-slate { background: var(--slate); color: var(--cream); }
.btn-slate:hover { background: var(--slate-bright); }
.btn-ghost { border-color: var(--plum); color: var(--plum); background: transparent; }
.btn-ghost:hover { background: var(--plum); color: var(--cream); }
.btn-ghost-cream { border-color: var(--cream); color: var(--cream); background: transparent; }
.btn-ghost-cream:hover { background: var(--cream); color: var(--plum-deep); }

/* ---------- nav ---------- */
.mainnav { background: var(--slate-deep); }
.nav-inner { display: flex; flex-wrap: wrap; gap: 2px; }
.nav-inner a {
  color: var(--slate-tint); text-decoration: none;
  font-size: .84rem; font-weight: 600; letter-spacing: .06em;
  padding: 13px 16px; border-bottom: 3px solid transparent;
  transition: background .2s ease, border-color .2s ease, color .2s ease;
}
.nav-inner a:hover { background: var(--slate); color: var(--cream); }
.nav-inner a[aria-current="page"] {
  color: var(--cream);
  border-bottom-color: var(--plum-bright);
  background: var(--plum-deep);
}

/* ---------- breadcrumb ---------- */
.crumbs { font-size: .8rem; color: var(--ink-soft); padding: 18px 0 0; }
.crumbs a { color: var(--slate); text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.crumbs .sep { margin: 0 8px; color: var(--paper-line); }

/* ---------- page hero ---------- */
.page-hero { padding: 56px 0 40px; border-bottom: 1px solid var(--paper-line); background:
  linear-gradient(180deg, var(--paper-bright) 0%, var(--paper) 100%); }
.page-hero .docket-line { margin-top: 18px; font-size: .78rem; color: var(--ink-soft); font-style: italic; font-family: var(--serif); }
.page-hero h1 {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(2rem, 4.2vw, 3rem); line-height: 1.15;
  color: var(--plum-deep); margin: 12px 0 16px; max-width: 20em;
}
.page-hero .lede { font-size: 1.1rem; color: var(--ink-soft); max-width: 44rem; }

/* ---------- home hero ---------- */
.hero { padding: 72px 0 64px; background: var(--paper-bright); border-bottom: 1px solid var(--paper-line); }
.hero-grid { display: grid; grid-template-columns: 1.12fr .88fr; gap: 48px; align-items: center; }
.hero h1 {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(2.2rem, 4.6vw, 3.3rem); line-height: 1.12;
  color: var(--plum-deep); margin: 14px 0 20px;
}
.hero h1 em { font-style: italic; color: var(--slate); }
.hero .sub { font-size: 1.08rem; color: var(--ink-soft); max-width: 34rem; }
.hero .sub strong { color: var(--plum-deep); }
.hero .ctas { display: flex; gap: 14px; margin-top: 30px; flex-wrap: wrap; }
.hero .fine { margin-top: 22px; font-size: .82rem; color: var(--ink-soft); display: flex; gap: 20px; flex-wrap: wrap; }
.hero .fine span::before { content: "\00B6"; color: var(--plum); margin-right: 7px; }

/* minute-order docket card */
.docket-card {
  background: var(--paper-bright);
  border: 1px solid var(--paper-line);
  border-top: 3px solid var(--plum);
  box-shadow: 10px 10px 0 var(--plum-tint), 0 14px 30px rgba(59,26,48,.08);
  position: relative;
}
.docket-head {
  background: var(--plum-deep); color: var(--cream);
  font-size: .72rem; font-weight: 700; letter-spacing: .18em;
  padding: 11px 20px;
  display: flex; justify-content: space-between; align-items: center; gap: 10px;
}
.docket-head .chip {
  background: var(--plum-bright); color: var(--cream);
  font-size: .66rem; letter-spacing: .16em; padding: 4px 10px; border-radius: 2px;
}
.docket-rows { padding: 8px 20px 4px; }
.docket-rows > div {
  display: grid; grid-template-columns: 112px 1fr; gap: 14px;
  padding: 12px 0; border-bottom: 1px dashed var(--paper-line);
}
.docket-rows > div:last-child { border-bottom: none; }
.docket-rows dt {
  font-size: .68rem; font-weight: 700; letter-spacing: .18em;
  text-transform: uppercase; color: var(--slate); padding-top: 2px;
}
.docket-rows dd { font-family: var(--serif); font-size: .95rem; color: var(--ink); }
.docket-foot {
  border-top: 1px solid var(--paper-line);
  padding: 10px 20px; font-size: .74rem; color: var(--ink-soft);
  font-family: var(--serif); font-style: italic;
  display: flex; justify-content: space-between; align-items: center;
}

/* ---------- verdict band ---------- */
.verdict-band { background: var(--slate-deep); color: var(--slate-tint); padding: 58px 0; }
.verdict-band .kick { color: var(--slate-line); }
.verdict-band h2 { font-family: var(--serif); font-weight: 400; color: var(--cream); font-size: clamp(1.7rem, 3.2vw, 2.4rem); margin: 10px 0 8px; }
.verdict-band .sub { color: var(--slate-line); max-width: 40rem; margin-bottom: 34px; }
.verdict-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid rgba(231,236,242,.25); }
.verdict {
  padding: 26px 30px 22px 0;
  border-right: 1px solid rgba(231,236,242,.25);
}
.verdict:last-child { border-right: none; }
.verdict:not(:first-child) { padding-left: 30px; }
.verdict .v-head { font-family: var(--serif); font-size: 1.35rem; color: var(--cream); }
.verdict .v-rule { width: 44px; height: 3px; background: var(--plum-bright); margin: 10px 0 12px; }
.verdict p { font-size: .92rem; color: var(--slate-line); }
.verdict-band .fineprint { margin-top: 26px; font-size: .8rem; color: var(--slate-bright); border-top: 1px solid rgba(231,236,242,.25); padding-top: 16px; }

/* ---------- sections ---------- */
.sec { padding: 76px 0; }
.sec-alt { background: var(--paper-bright); border-top: 1px solid var(--paper-line); border-bottom: 1px solid var(--paper-line); }
.sec h2 {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(1.7rem, 3.2vw, 2.4rem); line-height: 1.18;
  color: var(--plum-deep); margin: 12px 0 16px;
}
.sec .sec-sub { color: var(--ink-soft); max-width: 42rem; margin-bottom: 40px; font-size: 1.04rem; }

/* vista angle two-col */
.angle-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 52px; align-items: start; }
.angle-grid h3 { font-family: var(--serif); font-size: 1.35rem; color: var(--slate-deep); margin: 26px 0 8px; }
.angle-grid h3:first-child { margin-top: 0; }
.angle-grid p { color: var(--ink-soft); font-size: .98rem; }

/* courthouse path */
.path { border: 1px solid var(--paper-line); background: var(--paper-bright); }
.path .path-head {
  background: var(--slate); color: var(--cream);
  font-size: .72rem; font-weight: 700; letter-spacing: .18em;
  padding: 10px 18px;
}
.path ol { list-style: none; padding: 10px 18px 14px; }
.path li {
  display: grid; grid-template-columns: 34px 1fr; gap: 12px;
  padding: 12px 0; position: relative;
}
.path li:not(:last-child)::after {
  content: ""; position: absolute; left: 16px; top: 42px; bottom: -6px;
  width: 1px; background: var(--plum-line);
}
.path .step-no {
  width: 32px; height: 32px; border: 1px solid var(--plum-line);
  color: var(--plum); font-family: var(--serif); font-size: .95rem;
  display: flex; align-items: center; justify-content: center;
  background: var(--paper-bright); position: relative; z-index: 1;
}
.path .step-name { font-weight: 700; font-size: .92rem; color: var(--plum-deep); }
.path .step-desc { font-size: .82rem; color: var(--ink-soft); margin-top: 2px; }
.path .step-cite { font-size: .76rem; color: var(--slate); font-style: italic; font-family: var(--serif); }

/* callout */
.callout {
  background: var(--plum-tint); border-left: 4px solid var(--plum);
  padding: 20px 24px; margin: 26px 0; border-radius: 0 3px 3px 0;
}
.callout .kick { margin-bottom: 6px; }
.callout p { color: var(--plum-deep); font-size: .95rem; }
.callout .cite { font-family: var(--serif); font-style: italic; color: var(--plum-bright); }

/* practice cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.pcard {
  background: var(--paper-bright);
  border: 1px solid var(--paper-line);
  border-top: 3px solid var(--slate);
  padding: 26px 24px 22px;
  display: flex; flex-direction: column;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
  text-decoration: none; color: inherit;
}
.pcard:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 34px rgba(59,26,48,.1);
  border-top-color: var(--plum);
}
.pcard .pc-icon {
  width: 58px; height: 58px;
  background: var(--paper-deep);
  border: 1px solid var(--plum-line);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--plum); margin-bottom: 16px;
}
.pcard .pc-icon svg { width: 34px; height: 34px; }
.pcard .pc-stat { font-size: .7rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--slate); }
.pcard h3 { font-family: var(--serif); font-size: 1.32rem; color: var(--plum-deep); margin: 8px 0 8px; font-weight: 400; }
.pcard p { font-size: .92rem; color: var(--ink-soft); flex: 1; }
.pcard .pc-link { margin-top: 14px; font-size: .84rem; font-weight: 700; color: var(--plum); letter-spacing: .04em; }

/* mention strips */
.strips { display: grid; gap: 12px; margin-top: 34px; }
.strip {
  display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap;
  border: 1px dashed var(--slate-line); background: var(--slate-tint);
  padding: 14px 18px; border-radius: 3px;
}
.strip p { font-size: .9rem; color: var(--slate-deep); }
.strip a { font-weight: 700; color: var(--slate); text-decoration: none; white-space: nowrap; }
.strip a:hover { text-decoration: underline; }

/* firm section */
.firm-grid { display: grid; grid-template-columns: .78fr 1.22fr; gap: 52px; align-items: center; }
.portrait-frame { position: relative; justify-self: center; }
.portrait-frame .offset {
  position: absolute; inset: 0; transform: translate(14px, 14px);
  background: var(--plum); z-index: 0;
}
.portrait-frame img {
  position: relative; z-index: 1; max-width: 300px; width: 100%;
  border: 1px solid var(--paper-line);
}
.portrait-frame .caption {
  position: absolute; z-index: 2; left: 0; bottom: -30px;
  font-family: var(--serif); font-style: italic; font-size: .84rem; color: var(--ink-soft);
}
.pillars { margin-top: 30px; border-top: 1px solid var(--paper-line); }
.pillar {
  display: grid; grid-template-columns: 30px 1fr; gap: 14px;
  padding: 16px 4px; border-bottom: 1px solid var(--paper-line);
}
.pillar .p-mark { color: var(--plum); font-family: var(--serif); font-size: 1.1rem; padding-top: 2px; }
.pillar h3 { font-family: var(--serif); font-size: 1.12rem; color: var(--slate-deep); font-weight: 400; }
.pillar p { font-size: .9rem; color: var(--ink-soft); }

/* statute ledger table */
.ledger-wrap { border: 1px solid var(--paper-line); background: var(--paper-bright); margin: 28px 0; }
.ledger-wrap .ledger-head {
  background: var(--slate); color: var(--cream);
  font-size: .72rem; font-weight: 700; letter-spacing: .16em;
  padding: 10px 18px;
}
table.ledger { width: 100%; border-collapse: collapse; font-size: .93rem; }
table.ledger th {
  text-align: left; font-size: .68rem; letter-spacing: .16em; text-transform: uppercase;
  color: var(--slate); padding: 12px 18px 8px; border-bottom: 2px solid var(--slate-line);
}
table.ledger td { padding: 13px 18px; border-bottom: 1px solid var(--paper-line); vertical-align: top; }
table.ledger tr:last-child td { border-bottom: none; }
table.ledger tbody tr:hover { background: var(--plum-tint); }
table.ledger td.code { font-family: var(--serif); font-style: italic; color: var(--plum); white-space: nowrap; font-size: .95rem; }
table.ledger td.charge { font-weight: 700; color: var(--ink); }
table.ledger td.cls { color: var(--ink-soft); }

/* article prose */
.article { max-width: 780px; }
.article h2 {
  font-family: var(--serif); font-weight: 400; font-size: 1.65rem;
  color: var(--plum-deep); margin: 40px 0 12px; line-height: 1.2;
}
.article h3 { font-family: var(--serif); font-weight: 400; font-size: 1.2rem; color: var(--slate-deep); margin: 26px 0 8px; }
.article p { color: var(--ink-soft); margin-bottom: 14px; font-size: .99rem; }
.article p strong { color: var(--ink); }
.article ul { margin: 0 0 16px 22px; color: var(--ink-soft); font-size: .97rem; }
.article ul li { margin-bottom: 8px; }
.article .stat { font-family: var(--serif); font-style: italic; color: var(--plum); }

/* FAQ */
.faq-list { max-width: 780px; }
.faq-item { border: 1px solid var(--paper-line); background: var(--paper-bright); margin-bottom: 14px; }
.faq-item summary {
  cursor: pointer; list-style: none; padding: 18px 22px;
  font-family: var(--serif); font-size: 1.12rem; color: var(--plum-deep);
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; font-family: var(--sans); font-size: 1.3rem;
  color: var(--plum); transition: transform .2s ease; flex: none;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item[open] summary { border-bottom: 1px dashed var(--paper-line); }
.faq-item .faq-a { padding: 16px 22px 20px; color: var(--ink-soft); font-size: .95rem; }
.faq-item .faq-a p { margin-bottom: 10px; }
.faq-item .faq-a p:last-child { margin-bottom: 0; }
.faq-item .faq-a .stat { font-family: var(--serif); font-style: italic; color: var(--plum); }

/* contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 46px; align-items: start; }
.office-card {
  background: var(--paper-bright); border: 1px solid var(--paper-line);
  border-top: 3px solid var(--slate); padding: 24px 26px; margin-bottom: 18px;
}
.office-card .city { font-family: var(--serif); font-size: 1.45rem; color: var(--plum-deep); }
.office-card .addr { color: var(--ink-soft); margin-top: 6px; font-size: .96rem; }
.contact-phone { margin: 26px 0; }
.contact-phone .big {
  font-family: var(--serif); font-size: clamp(1.7rem, 3.6vw, 2.4rem);
  color: var(--plum); text-decoration: none; font-weight: 700;
}
.contact-phone .big:hover { text-decoration: underline; }
.contact-phone p { color: var(--ink-soft); font-size: .92rem; margin-top: 4px; }

.form-card {
  background: var(--paper-bright); border: 1px solid var(--paper-line);
  border-top: 3px solid var(--plum); padding: 26px;
}
.form-card label {
  display: block; font-size: .76rem; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: var(--slate); margin: 16px 0 6px;
}
.form-card label:first-child { margin-top: 0; }
.form-card input, .form-card textarea {
  width: 100%; padding: 12px 14px; font-size: .95rem; font-family: var(--sans);
  border: 1px solid var(--paper-line); background: var(--paper);
  color: var(--ink); border-radius: 3px;
}
.form-card input:focus, .form-card textarea:focus {
  outline: 2px solid var(--plum-bright); outline-offset: 1px; border-color: var(--plum);
}
.form-card .btn { margin-top: 20px; width: 100%; text-align: center; }
.form-note { font-size: .82rem; color: var(--ink-soft); margin-top: 14px; text-align: center; }

/* CTA band */
.cta-band { background: var(--plum-deep); color: var(--paper-deep); padding: 64px 0; }
.cta-band h2 { font-family: var(--serif); font-weight: 400; color: var(--cream); font-size: clamp(1.7rem, 3.4vw, 2.5rem); margin: 10px 0 12px; }
.cta-band p { color: var(--plum-line); max-width: 40rem; font-size: 1rem; }
.cta-band .ctas { display: flex; gap: 14px; margin-top: 26px; flex-wrap: wrap; }
.cta-band .fine { margin-top: 20px; font-size: .8rem; color: var(--plum-line); }

/* footer */
.site-foot { background: var(--slate-deep); color: var(--slate-line); padding: 58px 0 40px; font-size: .9rem; }
.foot-grid { display: grid; grid-template-columns: 1.25fr 1fr 1.35fr 1fr; gap: 38px; }
.site-foot h3 {
  font-family: var(--serif); font-weight: 400; font-size: 1.05rem;
  color: var(--cream); margin-bottom: 14px; letter-spacing: .02em;
}
.site-foot .foot-brand { font-family: var(--serif); font-size: 1.25rem; color: var(--cream); }
.site-foot .foot-firm { font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: var(--slate-bright); margin: 6px 0 16px; }
.site-foot .foot-addr { margin-bottom: 10px; line-height: 1.6; }
.site-foot a { color: var(--slate-line); text-decoration: none; }
.site-foot a:hover { color: var(--cream); text-decoration: underline; }
.foot-links { list-style: none; }
.foot-links li { margin-bottom: 8px; }
.foot-links li.self { color: var(--plum-line); font-style: italic; }
.foot-bottom {
  border-top: 1px solid rgba(231,236,242,.2); margin-top: 42px; padding-top: 20px;
  display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap;
  font-size: .78rem; color: var(--slate-bright);
}
.foot-bottom a { color: var(--slate-line); }

/* 404 */
.notfound { text-align: center; padding: 110px 0; }
.notfound .big { font-family: var(--serif); font-size: clamp(3rem, 8vw, 5rem); color: var(--plum-deep); }
.notfound h1 { font-family: var(--serif); font-weight: 400; font-size: 1.6rem; color: var(--plum-deep); margin: 10px 0 14px; }
.notfound p { color: var(--ink-soft); max-width: 34rem; margin: 0 auto 26px; }

/* ---------- responsive ---------- */
@media (max-width: 920px) {
  .hero-grid, .angle-grid, .firm-grid, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .cards { grid-template-columns: 1fr 1fr; }
  .verdict-cols { grid-template-columns: 1fr; }
  .verdict { border-right: none; border-bottom: 1px solid rgba(231,236,242,.25); padding: 22px 0; }
  .verdict:not(:first-child) { padding-left: 0; }
  .verdict:last-child { border-bottom: none; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .head-inner { justify-content: center; text-align: center; }
  .head-right { justify-content: center; }
  .nav-inner { justify-content: center; }
  table.ledger { font-size: .86rem; }
}
@media (max-width: 560px) {
  .cards, .foot-grid { grid-template-columns: 1fr; }
  .wrap { padding: 0 18px; }
  .docket-rows > div { grid-template-columns: 1fr; gap: 2px; }
  .brand-name { font-size: 1.1rem; }
  .ledger-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .pcard, .btn, .faq-item summary::after { transition: none; }
  .pcard:hover { transform: none; }
}
