/* ==========================================================================
   Escondido Criminal Defense Law — "High-Desert Night"
   Deep indigo, mesquite brown, moonlit sage · editorial serif.
   Zero external fonts · zero JavaScript (one year stamp excepted).
   ========================================================================== */

:root {
  --night: #171130;
  --night-2: #1F173C;
  --indigo: #2A1E4F;
  --indigo-deep: #120C24;
  --paper: #F2EFE7;
  --paper-2: #FAF8F2;
  --moon: #F4F1E9;
  --ink: #292236;
  --ink-soft: #4E4659;
  --mesquite: #7A4E2D;
  --mesquite-deep: #5E3B21;
  --mesquite-soft: #A07145;
  --sage: #8FA987;
  --sage-deep: #4F6147;
  --sage-dim: #6E7F67;
  --hairline: rgba(122, 78, 45, .28);
  --hairline-night: rgba(143, 169, 135, .24);
  --serif-display: "Cochin", "Iowan Old Style", Georgia, "Times New Roman", serif;
  --serif-body: Georgia, "Iowan Old Style", "Times New Roman", serif;
  --sans: "Optima", "Avenir Next", "Segoe UI", -apple-system, sans-serif;
  --maxw: 1140px;
  --radius: 3px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--serif-body);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.72;
  font-size: 1.02rem;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--mesquite-deep); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--sage-deep); }
::selection { background: var(--indigo); color: var(--moon); }
:focus-visible { outline: 2px solid var(--sage-deep); outline-offset: 3px; border-radius: 2px; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }
.serif { font-family: var(--serif-display); font-weight: 400; }
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--sage); color: var(--indigo-deep); padding: 10px 18px;
  border-radius: var(--radius); transition: top .2s ease;
}
.skip-link:focus { top: 12px; }

.overline {
  font-family: var(--sans);
  font-size: .72rem; font-weight: 700; letter-spacing: .24em;
  text-transform: uppercase; color: var(--mesquite);
}
.overline.sage { color: var(--sage); }
.overline.moon { color: var(--mesquite-soft); }

/* --------------------------------------------------------------------------
   Header — the night sky band
   -------------------------------------------------------------------------- */
.site-header {
  background: var(--night);
  color: var(--moon);
  position: sticky; top: 0; z-index: 60;
  border-bottom: 1px solid var(--hairline-night);
}
.brand-row {
  display: flex; align-items: center; justify-content: space-between;
  gap: 18px; padding-top: 16px; padding-bottom: 14px;
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--moon); }
.brand:hover { color: var(--moon); }
.brand-logo { width: 46px; height: 46px; flex: none; border-radius: 6px; }
.brand-text .brand-name {
  font-family: var(--serif-display);
  font-size: 1.18rem; line-height: 1.2; color: var(--moon); letter-spacing: .01em;
}
.brand-text .brand-firm {
  font-family: var(--sans);
  font-size: .68rem; letter-spacing: .2em; text-transform: uppercase;
  color: var(--sage); margin-top: 2px;
}
.header-cta { display: flex; align-items: center; gap: 18px; }
.header-phone {
  font-family: var(--sans); font-weight: 700; font-size: 1rem;
  letter-spacing: .03em; color: var(--moon); text-decoration: none; white-space: nowrap;
}
.header-phone:hover { color: var(--sage); text-decoration: underline; }

.btn {
  display: inline-block; font-family: var(--sans);
  font-weight: 700; font-size: .86rem; letter-spacing: .08em;
  padding: 13px 26px; border-radius: var(--radius);
  border: 1px solid transparent; text-decoration: none;
  transition: background .22s ease, color .22s ease, border-color .22s ease, transform .22s ease;
  cursor: pointer;
}
.btn-sage { background: var(--sage); color: var(--indigo-deep); }
.btn-sage:hover { background: #A7BCA0; color: var(--indigo-deep); transform: translateY(-1px); }
.btn-indigo { background: var(--indigo); color: var(--moon); }
.btn-indigo:hover { background: var(--night-2); color: var(--moon); transform: translateY(-1px); }
.btn-outline { border-color: var(--sage); color: var(--sage); background: transparent; }
.btn-outline:hover { background: rgba(143, 169, 135, .12); color: var(--moon); }
.btn-mesquite { background: var(--mesquite); color: var(--moon); }
.btn-mesquite:hover { background: var(--mesquite-deep); color: var(--moon); }

/* Nav — responsive without JavaScript (details/summary) */
.nav-bar { border-top: 1px solid var(--hairline-night); }
.nav-inner { padding-top: 0; padding-bottom: 0; }
.nav-bar details > summary {
  list-style: none; cursor: pointer;
  font-family: var(--sans); font-weight: 700; font-size: .8rem;
  letter-spacing: .2em; text-transform: uppercase; color: var(--sage);
  padding: 13px 0; display: flex; align-items: center; gap: 10px;
}
.nav-bar details > summary::-webkit-details-marker { display: none; }
.nav-bar details > summary .nav-glyph {
  display: inline-block; width: 14px; height: 2px; background: var(--sage);
  box-shadow: 0 -5px 0 var(--sage), 0 5px 0 var(--sage); border-radius: 1px;
}
.nav-bar details > ul {
  list-style: none; display: flex; flex-wrap: wrap; gap: 4px 26px;
  padding: 12px 0 14px;
}
.nav-bar details > ul a {
  font-family: var(--sans); font-weight: 700; font-size: .8rem;
  letter-spacing: .14em; text-transform: uppercase; text-decoration: none;
  color: var(--sage); padding: 6px 0; border-bottom: 2px solid transparent;
  display: inline-block;
}
.nav-bar details > ul a:hover { color: var(--moon); }
.nav-bar details > ul a[aria-current="page"] {
  color: var(--moon); border-bottom-color: var(--mesquite-soft);
}

@media (min-width: 900px) {
  .nav-bar details > summary { display: none; }
  .nav-bar details:not([open]) > ul { display: flex; }
  .nav-bar details > ul { padding: 12px 0 14px; }
}

/* --------------------------------------------------------------------------
   Hero — night over the Inland Route 15 corridor
   -------------------------------------------------------------------------- */
.hero {
  background: var(--night);
  color: var(--moon);
  padding: 84px 0 92px;
  position: relative;
  overflow: hidden;
}
.hero .wrap { display: grid; grid-template-columns: 1.08fr .92fr; gap: 56px; align-items: center; }
.hero h1 {
  font-family: var(--serif-display); font-weight: 400;
  font-size: clamp(2.25rem, 4.6vw, 3.6rem); line-height: 1.1;
  letter-spacing: -.01em; margin: 16px 0 22px; color: var(--moon);
}
.hero h1 em { font-style: italic; color: var(--sage); }
.hero .sub { font-size: 1.06rem; max-width: 33rem; color: #C9C2D4; }
.hero .sub strong { color: var(--moon); font-weight: 700; }
.hero .ctas { display: flex; gap: 14px; margin-top: 34px; flex-wrap: wrap; }
.hero .fine {
  margin-top: 26px; font-family: var(--sans); font-size: .8rem;
  letter-spacing: .06em; color: var(--sage); display: flex; gap: 8px 20px; flex-wrap: wrap;
}
.hero .fine span::before { content: "·"; margin-right: 8px; color: var(--mesquite-soft); }
.hero-figure { position: relative; }
.hero-figure svg { width: 100%; height: auto; display: block; }
.corridor-route { stroke-dasharray: 7 9; animation: route-travel 9s linear infinite; }
@keyframes route-travel { to { stroke-dashoffset: -160; } }

/* Desert ridgeline divider between night and paper */
.desert-edge { background: var(--night); line-height: 0; }
.desert-edge svg { width: 100%; height: 52px; display: block; }
.desert-edge.flip svg { transform: scaleY(-1); }

/* --------------------------------------------------------------------------
   Page hero (inner pages)
   -------------------------------------------------------------------------- */
.page-hero {
  background: var(--night); color: var(--moon);
  padding: 64px 0 70px; border-bottom: 1px solid var(--hairline-night);
}
.page-hero h1 {
  font-family: var(--serif-display); font-weight: 400;
  font-size: clamp(1.9rem, 4vw, 3rem); line-height: 1.14;
  margin: 14px 0 16px; max-width: 46rem; color: var(--moon);
}
.page-hero .sub { max-width: 40rem; color: #C9C2D4; font-size: 1.02rem; }
.page-hero .crumbs {
  font-family: var(--sans); font-size: .76rem; letter-spacing: .12em;
  text-transform: uppercase; color: var(--sage); display: flex; gap: 10px; flex-wrap: wrap;
}
.page-hero .crumbs a { color: var(--sage); text-decoration: none; }
.page-hero .crumbs a:hover { color: var(--moon); text-decoration: underline; }

/* --------------------------------------------------------------------------
   Sections
   -------------------------------------------------------------------------- */
.section { padding: 84px 0; }
.section.tight { padding: 60px 0; }
.section.paper { background: var(--paper); }
.section.paper-2 { background: var(--paper-2); }
.section.night { background: var(--night); color: var(--moon); }
.section.night-2 { background: var(--night-2); color: var(--moon); }

.sec-head { max-width: 44rem; margin-bottom: 44px; }
.sec-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.sec-head h2 {
  font-family: var(--serif-display); font-weight: 400;
  font-size: clamp(1.75rem, 3.2vw, 2.5rem); line-height: 1.16;
  margin: 12px 0 14px; color: var(--ink);
}
.night .sec-head h2, .night-2 .sec-head h2 { color: var(--moon); }
.sec-head p { color: var(--ink-soft); font-size: 1rem; }
.night .sec-head p, .night-2 .sec-head p { color: #B9B2C8; }
.sec-head .rule { width: 56px; height: 3px; background: var(--mesquite); margin-top: 18px; border-radius: 2px; }

/* Angle section — editorial two-column with marginal note */
.angle-grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: 60px; align-items: start; }
.angle-blocks { display: grid; gap: 0; border-top: 1px solid var(--hairline); }
.angle-block { padding: 26px 4px; border-bottom: 1px solid var(--hairline); display: grid; grid-template-columns: 88px 1fr; gap: 22px; }
.angle-block .no {
  font-family: var(--serif-display); font-size: 1.05rem; color: var(--mesquite); letter-spacing: .08em;
}
.angle-block h3 { font-family: var(--serif-display); font-weight: 400; font-size: 1.28rem; margin-bottom: 8px; color: var(--ink); }
.angle-block p { color: var(--ink-soft); font-size: .97rem; }
.angle-note {
  background: var(--paper-2); border: 1px solid var(--hairline);
  border-radius: var(--radius); padding: 30px 28px;
}
.angle-note .title {
  font-family: var(--sans); font-size: .72rem; font-weight: 700;
  letter-spacing: .22em; text-transform: uppercase; color: var(--mesquite); margin-bottom: 12px;
}
.angle-note p { font-size: .93rem; color: var(--ink-soft); margin-bottom: 12px; }
.angle-note p:last-child { margin-bottom: 0; }
.angle-note ul { list-style: none; }
.angle-note li {
  font-size: .93rem; color: var(--ink-soft); padding: 9px 0 9px 22px;
  position: relative; border-bottom: 1px dashed var(--hairline);
}
.angle-note li:last-child { border-bottom: none; }
.angle-note li::before {
  content: ""; position: absolute; left: 2px; top: 16px;
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--sage); opacity: .85;
}

/* Practice cards */
.practice-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 26px; }
.pcard {
  background: var(--paper-2); border: 1px solid var(--hairline);
  border-radius: var(--radius); padding: 30px 26px 28px;
  display: flex; flex-direction: column; gap: 14px;
  text-decoration: none; color: var(--ink);
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
  position: relative;
}
.pcard:hover { transform: translateY(-4px); border-color: var(--sage-dim); box-shadow: 0 16px 34px rgba(23, 17, 48, .1); }
.pcard .icon { width: 44px; height: 44px; color: var(--sage-deep); }
.pcard .icon svg { width: 44px; height: 44px; display: block; }
.pcard h3 { font-family: var(--serif-display); font-weight: 400; font-size: 1.32rem; color: var(--ink); }
.pcard p { font-size: .94rem; color: var(--ink-soft); }
.pcard .stat {
  font-family: var(--sans); font-size: .72rem; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase; color: var(--mesquite);
}
.pcard .go {
  margin-top: auto; font-family: var(--sans); font-weight: 700;
  font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: var(--sage-deep);
}
.pcard .go::after { content: " →"; }

.adjacent-strip {
  margin-top: 30px; border: 1px solid var(--hairline); border-radius: var(--radius);
  background: var(--paper); padding: 22px 26px;
  display: flex; align-items: center; gap: 22px; flex-wrap: wrap;
}
.adjacent-strip .icon { width: 34px; height: 34px; color: var(--mesquite); flex: none; }
.adjacent-strip .icon svg { width: 34px; height: 34px; }
.adjacent-strip p { font-size: .95rem; color: var(--ink-soft); max-width: 56rem; }
.adjacent-strip a { font-weight: 700; }

/* Firm section — moon phases */
.firm-grid { display: grid; grid-template-columns: 1fr 360px; gap: 56px; align-items: center; }
.pillars { display: grid; gap: 0; }
.pillar {
  display: grid; grid-template-columns: 64px 1fr; gap: 20px;
  padding: 22px 0; border-bottom: 1px solid var(--hairline-night);
}
.pillar:first-child { padding-top: 0; }
.pillar:last-child { border-bottom: none; padding-bottom: 0; }
.pillar .phase { width: 44px; height: 44px; color: var(--sage); }
.pillar .phase svg { width: 44px; height: 44px; }
.pillar h3 { font-family: var(--serif-display); font-weight: 400; font-size: 1.3rem; color: var(--moon); margin-bottom: 6px; }
.pillar p { color: #B9B2C8; font-size: .95rem; }
.portrait-frame { position: relative; }
.portrait-frame .offset {
  position: absolute; inset: 0; transform: translate(14px, 14px);
  background: var(--indigo); border: 1px solid var(--hairline-night); border-radius: var(--radius);
}
.portrait-frame img {
  position: relative; z-index: 1; border-radius: var(--radius);
  border: 1px solid var(--hairline-night); width: 100%;
}
.portrait-frame .caption {
  position: absolute; z-index: 2; left: 0; bottom: -30px;
  font-family: var(--serif-display); font-size: .86rem;
  color: var(--sage); letter-spacing: .04em;
}

/* CTA band */
.cta-band { position: relative; text-align: center; padding: 72px 0; overflow: hidden; }
.cta-band .stars { position: absolute; inset: 0; pointer-events: none; }
.cta-band .inner { position: relative; }
.cta-band h2 {
  font-family: var(--serif-display); font-weight: 400;
  font-size: clamp(1.8rem, 3.6vw, 2.7rem); color: var(--moon); margin: 12px 0 10px;
}
.cta-band p { color: #B9B2C8; max-width: 34rem; margin: 0 auto 26px; }
.cta-band .phone-big {
  display: inline-block; font-family: var(--serif-display); font-weight: 400;
  font-size: clamp(1.7rem, 4vw, 2.5rem); color: var(--sage); text-decoration: none;
  border-bottom: 2px solid var(--mesquite-soft); padding-bottom: 4px; margin-bottom: 26px;
}
.cta-band .phone-big:hover { color: var(--moon); border-color: var(--moon); }
.cta-band .fine { margin-top: 18px; font-family: var(--sans); font-size: .78rem; letter-spacing: .08em; color: var(--mesquite-soft); }

/* --------------------------------------------------------------------------
   Prose (inner pages)
   -------------------------------------------------------------------------- */
.content-grid { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 56px; align-items: start; }
.prose h2 {
  font-family: var(--serif-display); font-weight: 400;
  font-size: clamp(1.45rem, 2.6vw, 1.95rem); line-height: 1.2;
  margin: 44px 0 14px; color: var(--ink);
}
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-family: var(--serif-display); font-weight: 400; font-size: 1.22rem; margin: 30px 0 10px; color: var(--ink); }
.prose p { margin-bottom: 16px; color: var(--ink-soft); }
.prose p.lead { font-size: 1.1rem; color: var(--ink); }
.prose ul, .prose ol { margin: 0 0 18px 22px; color: var(--ink-soft); }
.prose li { margin-bottom: 8px; }
.prose strong { color: var(--ink); }
.stat-tag {
  display: inline-block; font-family: var(--sans); font-weight: 700;
  font-size: .74rem; letter-spacing: .1em; text-transform: uppercase;
  color: var(--mesquite-deep); border: 1px solid var(--mesquite);
  border-radius: 2px; padding: 4px 10px; margin: 2px 6px 2px 0;
  background: rgba(122, 78, 45, .06); white-space: nowrap;
}
.stat-line {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 16px;
  border-top: 1px solid var(--hairline); padding: 14px 2px;
}
.stat-line:last-child { border-bottom: 1px solid var(--hairline); }
.stat-line .code { font-family: var(--sans); font-weight: 700; font-size: .92rem; color: var(--mesquite-deep); min-width: 110px; }
.stat-line .what { font-size: .97rem; color: var(--ink-soft); }

/* Path steps (arrest → courthouse) */
.path { list-style: none; counter-reset: path; display: grid; gap: 18px; margin: 0 0 24px; }
.path li {
  counter-increment: path; position: relative;
  background: var(--paper-2); border: 1px solid var(--hairline);
  border-radius: var(--radius); padding: 22px 24px 22px 76px;
}
.path li::before {
  content: counter(path, decimal-leading-zero);
  position: absolute; left: 20px; top: 20px;
  font-family: var(--serif-display); font-size: 1.5rem; color: var(--sage-deep);
}
.path li h3 { font-family: var(--serif-display); font-weight: 400; font-size: 1.18rem; margin: 0 0 6px; color: var(--ink); }
.path li p { margin: 0; font-size: .94rem; color: var(--ink-soft); }
.path li:not(:last-child)::after {
  content: ""; position: absolute; left: 37px; bottom: -19px; width: 2px; height: 18px;
  background: var(--mesquite); opacity: .5;
}

/* Sidebar card */
.side-card {
  background: var(--paper-2); border: 1px solid var(--hairline);
  border-radius: var(--radius); padding: 26px 24px; margin-bottom: 22px;
}
.side-card .title {
  font-family: var(--sans); font-size: .72rem; font-weight: 700;
  letter-spacing: .22em; text-transform: uppercase; color: var(--mesquite); margin-bottom: 12px;
}
.side-card p { font-size: .92rem; color: var(--ink-soft); margin-bottom: 10px; }
.side-card ul { list-style: none; }
.side-card li { font-size: .92rem; color: var(--ink-soft); padding: 8px 0 8px 20px; position: relative; border-bottom: 1px dashed var(--hairline); }
.side-card li:last-child { border-bottom: none; }
.side-card li::before {
  content: ""; position: absolute; left: 2px; top: 15px; width: 7px; height: 7px;
  border-radius: 50%; background: var(--sage); opacity: .9;
}
.side-card.night { background: var(--night-2); border-color: var(--hairline-night); }
.side-card.night .title { color: var(--sage); }
.side-card.night p, .side-card.night li { color: #B9B2C8; }
.side-card .phone-row {
  font-family: var(--serif-display); font-size: 1.22rem; color: var(--sage);
  text-decoration: none; display: inline-block; margin-top: 4px;
}
.side-card .phone-row:hover { color: var(--moon); }

/* FAQ */
.faq { border-top: 1px solid var(--hairline); }
.faq details { border-bottom: 1px solid var(--hairline); }
.faq summary {
  cursor: pointer; list-style: none; padding: 22px 44px 22px 4px; position: relative;
  font-family: var(--serif-display); font-size: 1.18rem; color: var(--ink);
  display: flex; gap: 18px; align-items: baseline;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .q {
  font-family: var(--sans); font-weight: 700; font-size: .78rem;
  letter-spacing: .16em; color: var(--mesquite); flex: none; padding-top: 5px;
}
.faq summary::after {
  content: "+"; position: absolute; right: 14px; top: 50%; transform: translateY(-50%);
  font-family: var(--sans); font-size: 1.3rem; color: var(--sage-deep); transition: transform .2s ease;
}
.faq details[open] summary::after { content: "–"; }
.faq details[open] summary { color: var(--sage-deep); }
.faq .faq-body { padding: 0 4px 24px 46px; max-width: 52rem; color: var(--ink-soft); font-size: .98rem; }
.faq .faq-body p { margin-bottom: 12px; }
.faq .faq-body p:last-child { margin-bottom: 0; }

/* --------------------------------------------------------------------------
   Contact
   -------------------------------------------------------------------------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.office {
  border-top: 3px solid var(--mesquite); background: var(--paper-2);
  border-radius: var(--radius); padding: 28px 26px;
}
.office + .office { margin-top: 22px; }
.office .city { font-family: var(--serif-display); font-size: 1.45rem; color: var(--ink); }
.office .addr { margin-top: 8px; font-size: .97rem; color: var(--ink-soft); line-height: 1.7; }
.office .dir {
  margin-top: 12px; font-family: var(--sans); font-weight: 700; font-size: .82rem;
  letter-spacing: .1em; text-transform: uppercase; color: var(--sage-deep); text-decoration: none;
}
.office .dir:hover { color: var(--mesquite); text-decoration: underline; }

.form-card { background: var(--paper-2); border: 1px solid var(--hairline); border-radius: var(--radius); padding: 30px 28px; }
.form-card h2 { font-family: var(--serif-display); font-weight: 400; font-size: 1.5rem; margin-bottom: 6px; color: var(--ink); }
.form-card .hint { font-size: .9rem; color: var(--ink-soft); margin-bottom: 20px; }
.field { margin-bottom: 16px; }
.field label {
  display: block; font-family: var(--sans); font-weight: 700;
  font-size: .76rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--mesquite-deep); margin-bottom: 6px;
}
.field input, .field textarea, .field select {
  width: 100%; font-family: var(--serif-body); font-size: .98rem;
  color: var(--ink); background: var(--paper); border: 1px solid var(--hairline);
  border-radius: var(--radius); padding: 12px 14px;
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--sage-deep); box-shadow: 0 0 0 3px rgba(79, 97, 71, .15);
}
.form-card button[type="submit"] { width: 100%; margin-top: 6px; }
.form-note { margin-top: 14px; font-size: .84rem; color: var(--ink-soft); }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.site-footer { background: var(--indigo-deep); color: #B9B2C8; padding: 64px 0 0; }
.footer-grid {
  display: grid; grid-template-columns: 1.1fr 1fr 1.3fr; gap: 48px;
  padding-bottom: 44px; border-bottom: 1px solid var(--hairline-night);
}
.footer-brand .brand { margin-bottom: 14px; }
.footer-brand p { font-size: .9rem; max-width: 30rem; color: #9A92B0; }
.footer-col h3 {
  font-family: var(--sans); font-size: .74rem; font-weight: 700;
  letter-spacing: .22em; text-transform: uppercase; color: var(--sage); margin-bottom: 14px;
}
.footer-col p { font-size: .9rem; margin-bottom: 8px; color: #9A92B0; }
.footer-col ul { list-style: none; columns: 2; column-gap: 26px; }
.footer-col li { margin-bottom: 8px; break-inside: avoid; }
.footer-col a { color: #B9B2C8; text-decoration: none; font-size: .88rem; }
.footer-col a:hover { color: var(--sage); text-decoration: underline; }
.footer-col a.self { color: var(--mesquite-soft); cursor: default; text-decoration: none; }
.footer-legal {
  display: flex; justify-content: space-between; align-items: center; gap: 18px;
  flex-wrap: wrap; padding: 20px 0 26px; font-size: .8rem; color: #8B84A3;
}

/* --------------------------------------------------------------------------
   404
   -------------------------------------------------------------------------- */
.notfound { text-align: center; padding: 96px 0 110px; }
.notfound .moon-big { width: 84px; height: 84px; color: var(--sage-deep); margin: 0 auto 22px; }
.notfound .moon-big svg { width: 84px; height: 84px; }
.notfound h1 { font-family: var(--serif-display); font-weight: 400; font-size: clamp(1.9rem, 4vw, 2.8rem); margin-bottom: 14px; color: var(--ink); }
.notfound p { color: var(--ink-soft); max-width: 30rem; margin: 0 auto 28px; }
.notfound .ctas { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* --------------------------------------------------------------------------
   Page-building helpers (solo statute cards, offices, checklist, div-based path)
   -------------------------------------------------------------------------- */
.practice-grid.solo { grid-template-columns: 1fr; max-width: 860px; }
.pcard.static:hover { transform: none; box-shadow: none; border-color: var(--hairline); cursor: default; }

.offices { display: grid; gap: 22px; align-content: start; }
.office-note {
  background: var(--paper-2); border: 1px solid var(--hairline);
  border-radius: var(--radius); padding: 26px 24px;
}
.office-note .title {
  font-family: var(--sans); font-size: .72rem; font-weight: 700;
  letter-spacing: .22em; text-transform: uppercase; color: var(--mesquite); margin-bottom: 12px;
}
.office-note p { font-size: .95rem; color: var(--ink-soft); margin-bottom: 10px; }
.office-note p:last-child { margin-bottom: 0; }
.office p { font-size: .97rem; color: var(--ink-soft); margin-bottom: 6px; }
.text-link {
  font-family: var(--sans); font-weight: 700; color: var(--sage-deep);
  text-decoration: none; border-bottom: 1px solid var(--mesquite);
}
.text-link:hover { color: var(--mesquite); }

.checklist { list-style: none; margin: 0 0 18px; display: grid; gap: 14px; }
.checklist li {
  position: relative; padding-left: 26px;
  font-size: .97rem; color: var(--ink-soft);
}
.checklist li::before {
  content: ""; position: absolute; left: 2px; top: .62em;
  width: 12px; height: 2px; background: var(--sage-deep);
}
.night .checklist li, .night-2 .checklist li { color: #C6C0D6; }
.night .checklist li strong, .night-2 .checklist li strong { color: var(--moon); }

.faq-foot { margin-top: 22px; }

.path .step {
  position: relative; background: var(--paper-2); border: 1px solid var(--hairline);
  border-radius: var(--radius); padding: 22px 24px 22px 76px;
}
.path .step-no {
  position: absolute; left: 20px; top: 20px;
  font-family: var(--serif-display); font-size: 1.5rem; color: var(--sage-deep);
}
.path .step h3 { font-family: var(--serif-display); font-weight: 400; font-size: 1.18rem; margin: 0 0 6px; color: var(--ink); }
.path .step p { margin: 0; font-size: .94rem; color: var(--ink-soft); }
.path .step:not(:last-child)::after {
  content: ""; position: absolute; left: 37px; bottom: -19px; width: 2px; height: 18px;
  background: var(--mesquite); opacity: .5;
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1020px) {
  .hero .wrap { grid-template-columns: 1fr; gap: 44px; }
  .hero-figure { max-width: 560px; }
  .firm-grid { grid-template-columns: 1fr; gap: 48px; }
  .portrait-frame { max-width: 320px; }
  .content-grid, .angle-grid { grid-template-columns: 1fr; gap: 36px; }
  .angle-note { order: 2; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  .wrap { padding: 0 20px; }
  .header-cta .btn { display: none; }
  .header-phone { font-size: .92rem; }
  .section { padding: 64px 0; }
  .hero { padding: 56px 0 64px; }
  .angle-block { grid-template-columns: 1fr; gap: 8px; }
  .contact-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-col ul { columns: 1; }
  .footer-legal { flex-direction: column; align-items: flex-start; }
  .faq summary { font-size: 1.06rem; padding-right: 34px; }
  .faq .faq-body { padding-left: 4px; }
  .path li { padding: 18px 16px 18px 56px; }
  .path li::before { left: 14px; top: 18px; }
  .path li:not(:last-child)::after { left: 30px; }
  .path .step { padding: 18px 16px 18px 56px; }
  .path .step-no { left: 14px; top: 18px; }
  .path .step:not(:last-child)::after { left: 30px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .corridor-route { animation: none; }
  .btn, .pcard { transition: none; }
}
