:root {
  --font-sans: "Outfit", "Noto Sans SC", "Noto Sans TC", sans-serif;
  --font-serif: "Cormorant Garamond", "Noto Serif SC", serif;
  --font-mono: "IBM Plex Mono", ui-monospace, monospace;
  --max: 1180px;
  --gutter: 24px;
  --section-y: 4.5rem;
  --stack-xs: 0.5rem;
  --stack-sm: 0.75rem;
  --stack-md: 1.125rem;
  --stack-lg: 1.75rem;
  --mosaic-gap: 10px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--ink, #111);
  background: var(--bg, #fbfaf7);
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 {
  line-height: 1.28;
  font-weight: 600;
  margin: 0 0 var(--stack-sm);
  overflow-wrap: break-word;
  text-wrap: balance;
  hyphens: manual;
}
p { margin: 0 0 var(--stack-md); overflow-wrap: break-word; }
p:last-child { margin-bottom: 0; }
.skip {
  position: absolute; left: -999px;
}
.skip:focus { left: 8px; top: 8px; background: #fff; padding: 8px; z-index: 9; }
.site-head {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(16px);
  background: color-mix(in srgb, var(--bg, #fbfaf7) 88%, transparent);
  border-bottom: 1px solid color-mix(in srgb, var(--line, #1a1814) 10%, transparent);
}
.head-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 16px var(--gutter);
  display: flex;
  align-items: center;
  gap: 24px;
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 600; letter-spacing: .02em; min-width: 0; }
.brand img { height: 44px; width: auto; }
.brand span { font-size: 13px; white-space: nowrap; }
.gnb { display: flex; gap: 16px; margin-left: auto; font-size: 13px; letter-spacing: .04em; text-transform: uppercase; flex-wrap: wrap; justify-content: flex-end; }
.gnb a { white-space: nowrap; }
.head-tools { display: flex; align-items: center; gap: 14px; flex-shrink: 0; }
.tel {
  border: 1px solid currentColor;
  padding: 8px 12px;
  font-size: 12px;
  letter-spacing: .04em;
  white-space: nowrap;
}
.menu-btn { display: none; background: none; border: 0; color: inherit; font-size: 22px; cursor: pointer; }
.mobile-nav {
  display: none;
  flex-direction: column;
  gap: 0;
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  z-index: 51;
  max-height: min(70vh, calc(100dvh - 4.5rem - 108px));
  overflow: auto;
  padding: 4px var(--gutter) 12px;
  background: color-mix(in srgb, var(--bg, #fbfaf7) 96%, transparent);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid color-mix(in srgb, currentColor 16%, transparent);
  box-shadow: 0 18px 40px color-mix(in srgb, #111 16%, transparent);
}
.mobile-nav a {
  padding: 14px 0;
  border-bottom: 1px solid color-mix(in srgb, currentColor 12%, transparent);
  font-size: 16px;
  line-height: 1.4;
}
.mobile-nav a:last-child { border-bottom: 0; }
.mobile-nav.is-open { display: flex; }
body.nav-open::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 45;
  background: rgba(12, 12, 12, .38);
}
.kicker { letter-spacing: .12em; text-transform: uppercase; font-size: 11px; opacity: .7; margin: 0 0 var(--stack-sm); line-height: 1.5; max-width: 48em; overflow-wrap: break-word; }
.lead { font-size: 18px; max-width: 42em; opacity: .86; margin: 0; line-height: 1.55; text-wrap: pretty; }
.cta, button[type="submit"] {
  display: inline-flex; align-items: center; justify-content: center;
  border: 0; cursor: pointer;
  background: var(--accent, #8a6a2f);
  color: #fff;
  padding: 12px 18px;
  font-weight: 600;
}
.page-head, .band, .strip, .crime-sheet, .profile, .case-view, .consult-form, .prose, .about-map, .stats, .empty {
  max-width: var(--max); margin: 0 auto; padding: var(--section-y) var(--gutter);
}
.page-head h1 { max-width: 22em; }
.page-head p { max-width: 42em; line-height: 1.55; }
.photo-hero {
  position: relative;
  min-height: min(78vh, 760px);
  display: grid;
  align-items: end;
  overflow: hidden;
  color: #f4efe6;
}
.photo-hero > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.photo-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8,10,16,.12) 0%, rgba(8,10,16,.78) 72%);
  z-index: 1;
}
.photo-hero-copy {
  position: relative;
  z-index: 2;
  max-width: var(--max);
  margin: 0 auto;
  padding: 80px var(--gutter) 56px;
  width: 100%;
}
.photo-hero h1 { margin: 0 0 var(--stack-md); max-width: min(22em, 100%); line-height: 1.22; text-wrap: balance; }
.photo-hero .lead { margin: 0 0 var(--stack-sm); max-width: 42em; line-height: 1.55; }
.photo-hero .meta-line { margin: 0; letter-spacing: .08em; line-height: 1.5; }
.photo-hero .cta { margin-top: var(--stack-lg); }
.kw-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 10px;
  margin: var(--stack-lg) 0 0;
}
.kw-grid a {
  border: 1px solid color-mix(in srgb, currentColor 35%, transparent);
  padding: 7px 12px;
  font-size: 12px;
  letter-spacing: .02em;
  line-height: 1.35;
  max-width: 100%;
  white-space: nowrap;
}
.kw-grid a.on, .kw-grid a:hover {
  background: var(--accent, #8a6a2f);
  color: #fff;
  border-color: transparent;
}
.kw-index-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px 40px;
}
.kw-index h2 { font-family: var(--font-serif); font-weight: 500; margin: 0 0 var(--stack-lg); }
.kw-index h3 { font-size: 15px; letter-spacing: .08em; text-transform: uppercase; margin: 0 0 12px; }
.kw-index ul { list-style: none; padding: 0; margin: 0; }
.kw-index li { padding: 8px 0; border-top: 1px solid color-mix(in srgb, currentColor 14%, transparent); }
.term-chips { margin-top: 16px; }
.prose-block { max-width: 62ch; }
.strip-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  margin: 0 0 var(--stack-lg);
  flex-wrap: wrap;
}
.strip-head h2 { margin: 0; }
.people-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px 16px;
  align-items: start;
}
.person {
  min-width: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.person img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  background: #222;
}
.person strong {
  display: block;
  margin-top: 10px;
  line-height: 1.3;
  overflow-wrap: anywhere;
}
.person span {
  display: block;
  font-size: 12px;
  opacity: .7;
  margin-top: 4px;
  line-height: 1.35;
  overflow-wrap: anywhere;
}
.file-list a, .case-card, .dui-cards a, .scan-link {
  display: flex; flex-direction: column; align-items: flex-start; gap: 6px;
  padding: 18px 0; border-top: 1px solid color-mix(in srgb, currentColor 16%, transparent);
}
.file-list em, .case-card .tag {
  font-style: normal; font-size: 12px; letter-spacing: .03em; text-transform: none;
  color: var(--accent, #c4a574); line-height: 1.4; max-width: 100%;
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden;
}
.file-list strong, .case-card h2 {
  font-size: 17px; line-height: 1.4; margin: 0;
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden;
  text-wrap: pretty;
}
.case-card small {
  font-size: 12px; opacity: .7; line-height: 1.45;
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden;
}
.case-view h1 { max-width: 28em; line-height: 1.32; text-wrap: pretty; }
.case-view .type { max-width: 62ch; line-height: 1.55; font-size: 14px; opacity: .78; margin: 0 0 1.25rem; }
.case-view .kicker { max-width: 62ch; letter-spacing: .08em; text-transform: none; line-height: 1.45; }
.case-sec { margin: 0 0 2rem; max-width: 68ch; }
.case-sec h2 { margin: 0 0 10px; }
.case-sec p,
.case-sec__body { line-height: 1.7; }
.case-sec__body p { margin: 0 0 0.85em; }
.case-sec__body ul,
.case-sec__body ol { margin: 0 0 0.85em; padding-left: 1.2em; }
.case-sec__body li { margin: 0 0 0.25em; }
.faq details .case-sec__body,
.faq details p { margin: 0.6rem 0 0; }
.meta-table { display: grid; gap: 10px 24px; margin: 0 0 2rem; max-width: 68ch; }
.meta-table div { display: grid; grid-template-columns: minmax(7em, 8.5em) 1fr; gap: 8px 16px; align-items: start; }
.meta-table dt { font-size: 12px; opacity: .65; margin: 0; line-height: 1.4; }
.meta-table dd { margin: 0; line-height: 1.5; overflow-wrap: break-word; }
.lawyer-grid, .case-grid {
  max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter) 1.5rem;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px 18px;
  align-items: start;
}
.lawyer-card {
  min-width: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.lawyer-card .ph { overflow: hidden; background: #151515; }
.lawyer-card .ph img { width: 100%; aspect-ratio: 4/5; object-fit: cover; }
.lawyer-card h2 { font-size: 20px; margin: 10px 0 4px; overflow-wrap: anywhere; line-height: 1.3; }
.pos, .sum { font-size: 13px; opacity: .75; line-height: 1.45; }
.sum { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; }
.profile { display: grid; grid-template-columns: 280px 1fr; gap: 48px; align-items: start; }
.profile-photo img { width: 100%; object-fit: cover; }
.profile h1 small { display: block; font-size: 16px; opacity: .55; font-weight: 400; margin-top: 6px; line-height: 1.4; }
.profile .lead, .profile p { max-width: 48em; }
.profile-cols { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter) 4rem; display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.resume { list-style: none; padding: 0; }
.resume li { padding: 8px 0; border-bottom: 1px solid color-mix(in srgb, currentColor 12%, transparent); font-size: 14px; line-height: 1.5; overflow-wrap: break-word; }
.consult-page {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter) var(--section-y);
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 40px 48px;
  align-items: start;
}
.intake-copy h2 { margin: 0 0 var(--stack-sm); }
.intake-copy h3 { font-size: 15px; margin: 1.1rem 0 .45rem; }
.intake-rules { margin: 0 0 1.15rem; padding: 0 0 0 1.15em; }
.intake-rules li { margin: 0 0 .7rem; line-height: 1.55; }
.intake-tel { font-size: 18px; font-weight: 600; margin: 0; }
.consult-form {
  display: grid;
  gap: 14px;
  max-width: 560px;
  width: 100%;
  background: #fff;
  color: #1a1410;
  border: 1px solid color-mix(in srgb, var(--ink, #1a1410) 12%, transparent);
  padding: 28px 24px;
}
.consult-form label { line-height: 1.45; }
.consult-form input, .consult-form textarea, .consult-form select {
  width: 100%; padding: 10px 12px;
  border: 1px solid rgba(26, 20, 20, .22);
  background: #fff;
  color: #1a1410;
  font: inherit;
  color-scheme: light;
}
.consult-form input[type="checkbox"] { width: auto; padding: 0; }
.consult-form .hint { font-size: 12px; opacity: .75; margin: 0; color: #1a1410; }
select {
  color-scheme: light;
  background-color: #fff;
  color: #1a1410;
}
option {
  color: #1a1410;
  background-color: #fff;
}
.chk { font-size: 13px; display: flex; gap: 8px; align-items: flex-start; }
.flash { max-width: var(--max); margin: 0 auto; padding: 12px var(--gutter); color: var(--accent); }
.site-foot { padding: 0 0 5.5rem; border-top: 0; }
.foot-mast {
  position: relative;
  min-height: 280px;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: var(--ink, #1a1814);
  background: var(--bg, #fbfaf7);
  border-bottom: 1px solid color-mix(in srgb, var(--ink, #1a1814) 10%, transparent);
}
.foot-mast-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 38%;
  filter: saturate(.72) brightness(1.02);
  opacity: .72;
}
.foot-mast::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, color-mix(in srgb, var(--bg, #fbfaf7) 8%, transparent) 0%, color-mix(in srgb, var(--bg, #fbfaf7) 42%, transparent) 48%, var(--bg, #fbfaf7) 100%);
}
.foot-mast-copy {
  position: relative;
  z-index: 2;
  max-width: var(--max);
  margin: 0 auto;
  padding: 52px var(--gutter) 28px;
  width: 100%;
}
.foot-phone {
  font-family: var(--font-serif);
  font-size: clamp(34px, 5vw, 54px);
  font-weight: 500;
  margin: 0;
  letter-spacing: .06em;
  line-height: 1;
}
.foot-hours {
  margin: 10px 0 0;
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  opacity: .82;
}
.theme-portal .foot-phone { color: #8a6a2f; }
.theme-crime .foot-phone { color: #8b6914; }
.theme-dui .foot-phone { color: #b56a00; }
.theme-drug .foot-phone { color: #0d7a6b; }
.theme-sex .foot-phone { color: #7a3b3b; }
.foot-grid {
  max-width: var(--max);
  margin: 0 auto;
  padding: 2.4rem var(--gutter) 1.25rem;
  display: grid;
  grid-template-columns: 1.35fr 1fr 1.15fr;
  gap: 36px 40px;
  align-items: start;
}
.foot-grid h2 { margin: 0 0 12px; font-size: 15px; }
.foot-grid p { margin: 0 0 8px; line-height: 1.55; }
.foot-logo { height: 44px; margin-bottom: 14px; }
.foot-desks {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.foot-desks a {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 10px;
  align-items: center;
  padding: 6px 0;
  font-size: 14px;
  line-height: 1.3;
}
.foot-desks img {
  width: 58px;
  height: 42px;
  object-fit: cover;
  background: #222;
}
.foot-kw {
  max-width: var(--max);
  margin: 0 auto;
  padding: 1.5rem var(--gutter) 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px 28px;
  border-top: 1px solid color-mix(in srgb, currentColor 14%, transparent);
}
.foot-kw h3 {
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin: 0 0 8px;
  opacity: .7;
  font-weight: 600;
}
.foot-kw ul { list-style: none; padding: 0; margin: 0; }
.foot-kw li { padding: 5px 0; font-size: 13px; line-height: 1.4; }
.foot-bot {
  max-width: var(--max);
  margin: 28px auto 0;
  padding: 0 var(--gutter);
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 12px;
  opacity: .7;
  line-height: 1.5;
}
.float-tel {
  position: fixed; right: 16px; bottom: 16px; z-index: 30;
  background: var(--accent, #8a6a2f); color: #fff; padding: 12px 16px; font-weight: 600; font-size: 13px;
}
.pager { display: flex; justify-content: center; gap: 16px; padding: 0 0 64px; }
.list-pager {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 6px 4px;
  max-width: var(--max);
  margin: 0 auto;
  padding: 12px var(--gutter) calc(2.5rem + 120px + env(safe-area-inset-bottom, 0px));
  font-variant-numeric: tabular-nums;
}
.list-pager__nums {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0 2px;
}
.list-pager__btn,
.list-pager__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.4rem;
  height: 2.4rem;
  padding: 0 8px;
  line-height: 1;
  text-align: center;
  box-sizing: border-box;
}
.list-pager__sep {
  min-width: 0.7em;
  text-align: center;
  opacity: .4;
  user-select: none;
  line-height: 1;
}
.list-pager__num.is-on {
  font-weight: 700;
  pointer-events: none;
}
.list-pager__btn.is-edge {
  min-width: 2.8rem;
  letter-spacing: -0.04em;
}
.faq h2 { margin: 0 0 var(--stack-md); }
.faq details { border-top: 1px solid color-mix(in srgb, currentColor 14%, transparent); padding: 16px 0; }
.faq summary { cursor: pointer; font-weight: 600; line-height: 1.45; overflow-wrap: break-word; }
.faq details p { margin: 10px 0 0; max-width: 62ch; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; text-align: center; }
.stats strong { display: block; font-size: 32px; font-family: var(--font-serif); }
.stats span { display: block; margin-top: 6px; font-size: 13px; line-height: 1.4; }
.about-map iframe { width: 100%; height: 280px; border: 0; margin-top: 16px; filter: grayscale(.3); }
.kw { display: flex; flex-wrap: wrap; gap: 8px; padding: 0; list-style: none; }
.kw li { border: 1px solid color-mix(in srgb, currentColor 25%, transparent); padding: 4px 8px; font-size: 12px; line-height: 1.35; }
.center-tel { text-align: center; font-size: 20px; padding-bottom: var(--section-y); }
@media (max-width: 900px) {
  :root { --gutter: 22px; --section-y: 3.75rem; }
  .gnb, .tel { display: none; }
  .menu-btn { display: block; }
  .people-row, .lawyer-grid, .case-grid, .profile, .profile-cols, .stats, .kw-index-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .people-row, .lawyer-grid, .case-grid { gap: 16px 12px; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-kw { grid-template-columns: 1fr 1fr; }
  .consult-page { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  :root { --gutter: 16px; --section-y: 3rem; --mosaic-gap: 8px; }
  .profile, .profile-cols, .foot-grid, .stats, .kw-index-grid, .consult-page, .foot-kw { grid-template-columns: 1fr; }
  .people-row, .lawyer-grid, .case-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px 10px;
  }
  .person strong { margin-top: 8px; font-size: 13px; }
  .person span { font-size: 11px; margin-top: 2px; }
  .lawyer-card h2 { font-size: 14px; margin: 8px 0 2px; }
  .lawyer-card .pos { font-size: 11px; }
  .lawyer-card .sum { display: none; }
  .brand span { display: none; }
  .photo-hero { min-height: 68vh; }
  .photo-hero-copy { padding: 64px var(--gutter) 40px; }
  .kw-grid a { white-space: normal; }
  .meta-table div { grid-template-columns: 1fr; gap: 4px; }
}
