/* Pick & Zabicki LLP — 2026 refresh.
   Palette carried over from the original site so the firm still looks like itself. */

:root {
  --navy: #0d223d;
  --blue: #102d8c;
  --blue-mid: #4057a3;
  --blue-light: #6282ea;
  --body: #444;
  --muted: #6b7280;
  --rule: #e3e6ec;
  --tint: #f5f7fa;
  --white: #fff;

  --sans: "Source Sans 3", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --serif: "Source Serif 4", Georgia, "Times New Roman", serif;

  --wrap: 1140px;
  --gap: clamp(1.25rem, 3vw, 2.5rem);
  --radius: 4px;
  --shadow: 0 1px 3px rgba(13, 34, 61, .08), 0 8px 24px rgba(13, 34, 61, .06);
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

body {
  margin: 0;
  font-family: var(--sans);
  font-size: clamp(1rem, .97rem + .15vw, 1.0625rem);
  line-height: 1.65;
  color: var(--body);
  background: var(--white);
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--blue); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: var(--blue-light); }

:focus-visible { outline: 3px solid var(--blue-light); outline-offset: 2px; border-radius: 2px; }

h1, h2, h3, h4 {
  font-family: var(--serif);
  color: var(--navy);
  line-height: 1.2;
  margin: 0 0 .5em;
  font-weight: 700;
}

.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }
.muted { color: var(--muted); }

.skip-link {
  position: absolute; left: -9999px;
  background: var(--navy); color: var(--white);
  padding: .75rem 1.25rem; z-index: 100;
}
.skip-link:focus { left: 1rem; top: 1rem; }

.ico { width: 1em; height: 1em; flex: none; opacity: .75; }

/* ---------- Masthead + nav ---------- */

.masthead {
  background: var(--white);
  border-bottom: 1px solid var(--rule);
  position: sticky; top: 0; z-index: 50;
}
.masthead-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.5rem; padding: 1rem 0;
}
.brand img { width: clamp(190px, 22vw, 260px); }

.nav-toggle {
  display: none; align-items: center; gap: .5rem;
  background: none; border: 1px solid var(--rule); border-radius: var(--radius);
  padding: .55rem .85rem;
  font: 600 .95rem var(--sans); color: var(--navy);
  cursor: pointer;
}
.nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after {
  display: block; width: 18px; height: 2px; background: var(--navy);
}
.nav-toggle-bars { position: relative; }
.nav-toggle-bars::before, .nav-toggle-bars::after { content: ""; position: absolute; }
.nav-toggle-bars::before { top: -6px; }
.nav-toggle-bars::after { top: 6px; }

.nav-list { display: flex; align-items: center; gap: .25rem; list-style: none; margin: 0; padding: 0; }
.nav-list > li { position: relative; }
.nav-list > li > a {
  display: block; padding: .6rem .85rem;
  font-weight: 600; font-size: .95rem;
  color: var(--navy); text-decoration: none;
  border-radius: var(--radius);
}
.nav-list > li > a:hover { background: var(--tint); color: var(--blue); }
.nav-list > li > a[aria-current="page"] {
  color: var(--blue); box-shadow: inset 0 -2px 0 var(--blue); border-radius: 0;
}

.sub-toggle {
  position: absolute; right: -.15rem; top: 50%; transform: translateY(-50%);
  width: 1.75rem; height: 1.75rem;
  background: none; border: 0; cursor: pointer; padding: 0;
}
.sub-toggle::after {
  content: ""; display: block; margin: 0 auto;
  width: 6px; height: 6px;
  border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted);
  transform: rotate(45deg) translate(-2px, -2px);
}
.has-sub > a { padding-right: 1.9rem; }

.subnav {
  position: absolute; left: 0; top: 100%;
  min-width: 17rem;
  list-style: none; margin: 0; padding: .4rem;
  background: var(--white);
  border: 1px solid var(--rule); border-radius: var(--radius);
  box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transform: translateY(-4px);
  transition: opacity .15s ease, transform .15s ease, visibility .15s;
}
.has-sub:hover .subnav,
.has-sub:focus-within .subnav,
.has-sub.is-open .subnav { opacity: 1; visibility: visible; transform: translateY(0); }
.subnav a {
  display: block; padding: .5rem .7rem;
  font-size: .925rem; color: var(--body); text-decoration: none;
  border-radius: var(--radius);
}
.subnav a:hover { background: var(--tint); color: var(--blue); }

/* ---------- Hero ---------- */

.hero {
  background:
    linear-gradient(105deg, rgba(13,34,61,.93) 0%, rgba(16,45,140,.82) 55%, rgba(16,45,140,.55) 100%),
    url("/assets/images/bg-banner.jpg") center / cover no-repeat;
  color: var(--white);
}
.hero-inner { padding: clamp(3rem, 8vw, 5.5rem) 0; max-width: 46rem; }
.hero-eyebrow {
  margin: 0 0 .75rem;
  font-size: .8125rem; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase;
  color: rgba(255,255,255,.75);
}
.hero h1 { color: var(--white); font-size: clamp(1.9rem, 1.2rem + 2.6vw, 3rem); margin-bottom: .5rem; }
.hero-sub {
  font-size: clamp(1.05rem, 1rem + .3vw, 1.25rem);
  color: rgba(255,255,255,.9);
  max-width: 38rem; margin: 0 0 1.75rem;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin: 0; }

@media (max-width: 640px) {
  .hero { background-image:
    linear-gradient(105deg, rgba(13,34,61,.93) 0%, rgba(16,45,140,.82) 55%, rgba(16,45,140,.6) 100%),
    url("/assets/images/bg-banner-mobi.jpg"); }
}

.btn {
  display: inline-block; padding: .8rem 1.5rem;
  font-weight: 700; font-size: 1rem;
  text-decoration: none; border-radius: var(--radius);
  border: 2px solid transparent;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}
.btn-primary { background: var(--white); color: var(--blue); border-color: var(--white); }
.btn-primary:hover { background: transparent; color: var(--white); }
.btn-ghost { color: var(--white); border-color: rgba(255,255,255,.55); }
.btn-ghost:hover { background: var(--white); color: var(--blue); border-color: var(--white); }

/* ---------- Practice-area cards ---------- */

.areas { background: var(--tint); border-bottom: 1px solid var(--rule); }
.areas-inner {
  display: grid; gap: var(--gap);
  grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr));
  padding: clamp(2rem, 5vw, 3rem) 0;
}
.area-card {
  display: block; padding: 1.75rem;
  background: var(--white);
  border: 1px solid var(--rule); border-top: 3px solid var(--blue);
  border-radius: var(--radius);
  text-decoration: none; color: var(--body);
  transition: transform .15s ease, box-shadow .15s ease;
}
.area-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); color: var(--body); }
.area-card h2 { font-size: 1.375rem; margin-bottom: .4rem; }
.area-card p { margin: 0 0 1rem; }
.area-more { font-weight: 700; font-size: .9rem; color: var(--blue); }

/* ---------- Page header ---------- */

.pagehead { background: var(--navy); color: var(--white); padding: clamp(1.75rem, 4vw, 2.75rem) 0; }
.pagehead h1 {
  color: var(--white); margin: 0; max-width: 34ch;
  font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.4rem);
}
.crumbs { font-size: .85rem; color: rgba(255,255,255,.7); margin-bottom: .6rem; }
.crumbs a { color: rgba(255,255,255,.85); text-decoration: none; }
.crumbs a:hover { color: var(--white); text-decoration: underline; }
.crumbs span { margin: 0 .35rem; }

/* ---------- Layout ---------- */

.layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 19rem;
  gap: var(--gap);
  padding: clamp(2rem, 5vw, 3.5rem) 0;
  align-items: start;
}

/* ---------- Prose ---------- */

.prose { max-width: 68ch; }
.prose > :first-child { margin-top: 0; }
.prose p { margin: 0 0 1.15em; }
.prose h2 {
  font-size: clamp(1.3rem, 1.15rem + .6vw, 1.6rem);
  margin: 2em 0 .5em; padding-top: .9em;
  border-top: 1px solid var(--rule);
}
.prose h2:first-child { border-top: 0; padding-top: 0; margin-top: 0; }
.prose h3 { font-size: 1.2rem; margin: 1.75em 0 .4em; }
.prose ul, .prose ol { margin: 0 0 1.25em; padding-left: 1.25rem; }
.prose li { margin-bottom: .45em; }
.prose li::marker { color: var(--blue-mid); }

.prose .callOut {
  margin: 1.75em 0; padding: 1.15rem 1.4rem;
  background: var(--tint);
  border-left: 4px solid var(--blue);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-family: var(--serif); font-size: 1.1rem; font-style: italic;
  color: var(--navy);
}

/* ---------- CTA band ---------- */

.cta-band {
  margin-top: 2.5rem; padding: 1.5rem 1.75rem;
  background: var(--tint);
  border: 1px solid var(--rule); border-left: 4px solid var(--blue);
  border-radius: 0 var(--radius) var(--radius) 0;
}
.cta-band h2 { font-size: 1.2rem; margin-bottom: .35rem; }
.cta-band p { margin: 0; }

/* ---------- Sidebar ---------- */

.col-side { position: sticky; top: 6.5rem; }
.card {
  padding: 1.5rem; background: var(--white);
  border: 1px solid var(--rule); border-top: 3px solid var(--blue);
  border-radius: var(--radius); box-shadow: var(--shadow);
}
.card-title {
  font-size: .8125rem; font-family: var(--sans); font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--blue); margin-bottom: .9rem;
}
.office p { margin: 0 0 .85rem; }
.office-name { font-weight: 700; color: var(--navy); font-size: 1.05rem; }
.office-phone a { font-weight: 700; font-size: 1.1rem; text-decoration: none; }
.office-phone a:hover { text-decoration: underline; }

/* Sidebar email block. Addresses are shown in full rather than hidden behind a
   name, because finding an address is the most common reason people visit. */
.office-emails { margin: 1.1rem 0 .85rem; padding-top: 1.1rem; border-top: 1px solid var(--rule); }
.card-subtitle {
  font-size: .8125rem; font-family: var(--sans); font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--blue); margin: 0 0 .7rem;
}
.email-list { list-style: none; margin: 0; padding: 0; }
.email-list li + li { margin-top: .6rem; }
.email-who { display: block; font-size: .8125rem; color: var(--muted); }
.email-list a {
  font-weight: 600; text-decoration: none;
  overflow-wrap: anywhere;
}
.email-list a:hover { text-decoration: underline; }
.maplink { font-weight: 600; font-size: .925rem; }
.map-thumb {
  display: block; margin-top: 1rem;
  border: 1px solid var(--rule); border-radius: var(--radius);
  overflow: hidden;
}
.map-thumb img { width: 100%; }

/* ---------- Accomplishments ---------- */

.accomplishments {
  background: var(--navy); color: rgba(255,255,255,.85);
  padding: clamp(2.5rem, 6vw, 4rem) 0;
}
.accomplishments > .wrap > h2 {
  color: var(--white); margin-bottom: 1.75rem;
  font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2rem);
}
.accomplishments-grid {
  display: grid; gap: var(--gap);
  grid-template-columns: repeat(auto-fit, minmax(18rem, 1fr));
}
.accomplishment h3 { color: var(--white); font-size: 1.25rem; margin-bottom: .6rem; }
.accomplishment h3 a { color: var(--white); text-decoration: none; }
.accomplishment h3 a:hover { color: var(--blue-light); text-decoration: underline; }
.accomplishment ul { margin: 0; padding-left: 1.1rem; }
.accomplishment li { margin-bottom: .45em; font-size: .95rem; }
.accomplishment li::marker { color: var(--blue-light); }

/* ---------- Attorney bio ---------- */

.bio-head {
  display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; align-items: baseline;
  padding-bottom: 1.1rem; margin-bottom: 1.75rem;
  border-bottom: 1px solid var(--rule);
}
.bio-role {
  font-size: .8125rem; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase; color: var(--blue);
}
.bio-contact { font-size: .95rem; }
.credentials {
  display: grid; gap: 1.5rem var(--gap);
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
  margin: 2rem 0 0; padding: 1.75rem;
  background: var(--tint); border: 1px solid var(--rule);
  border-radius: var(--radius);
}
.credentials h2 {
  font-size: .8125rem; font-family: var(--sans); font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase; color: var(--blue);
  margin: 0 0 .6rem; padding: 0; border: 0;
}
.credentials ul { margin: 0; padding-left: 1.1rem; font-size: .95rem; }
.credentials li { margin-bottom: .35em; }

.assignee-list { columns: 2; column-gap: var(--gap); font-size: .95rem; }
.assignee-list li { break-inside: avoid; }
@media (max-width: 640px) { .assignee-list { columns: 1; } }

/* ---------- Site map ---------- */

.sitemap-grid {
  display: grid; gap: var(--gap);
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
}
.sitemap-grid h2 { font-size: 1.15rem; margin-bottom: .5rem; padding: 0; border: 0; }
.sitemap-grid ul { list-style: none; padding: 0; margin: 0; }
.sitemap-grid li { margin-bottom: .4em; }

/* ---------- Footer ---------- */

.footer {
  background: var(--navy); color: rgba(255,255,255,.75);
  font-size: .925rem; border-top: 4px solid var(--blue);
}
.footer-inner {
  display: grid; gap: var(--gap);
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
  padding: clamp(2rem, 5vw, 3rem) 0;
}
.footer-name {
  font-family: var(--serif); font-size: 1.2rem; font-weight: 700;
  color: var(--white); margin: 0 0 .5rem;
}
.footer-geo { margin: 0; max-width: 46ch; }
.footer-contact p { margin: 0 0 .85rem; }
.footer-contact a { color: var(--white); font-weight: 700; text-decoration: none; }
.footer-contact a:hover { color: var(--blue-light); text-decoration: underline; }

.fineprint { border-top: 1px solid rgba(255,255,255,.14); font-size: .85rem; }
.fineprint-inner {
  display: flex; flex-wrap: wrap; gap: .25rem 1.5rem;
  align-items: center; justify-content: space-between;
  padding: 1.1rem 0;
}
.fineprint p { margin: 0; }
.fineprint a { color: rgba(255,255,255,.85); }
.fineprint a:hover { color: var(--white); }

/* ---------- Responsive ---------- */

@media (max-width: 960px) {
  .layout { grid-template-columns: 1fr; }
  .col-side { position: static; }
  .footer-inner { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
  .masthead { position: static; }
  .nav-toggle { display: inline-flex; }
  .nav {
    display: none; flex-basis: 100%; order: 3;
    padding-top: .75rem; margin-top: 1rem;
    border-top: 1px solid var(--rule);
  }
  .nav.is-open { display: block; }
  .masthead-inner { flex-wrap: wrap; }
  .nav-list { display: block; }
  .nav-list > li > a { padding: .7rem .25rem; }
  .nav-list > li > a[aria-current="page"] { box-shadow: none; }
  .has-sub > a { padding-right: 3rem; }
  .sub-toggle { right: .25rem; width: 2.75rem; height: 2.75rem; }
  .subnav {
    position: static; min-width: 0;
    opacity: 1; visibility: visible; transform: none;
    display: none;
    border: 0; box-shadow: none;
    padding: 0 0 .5rem 1rem; margin-left: .25rem;
    border-left: 2px solid var(--rule);
  }
  .has-sub.is-open .subnav { display: block; }
  .has-sub.is-open > .sub-toggle::after { transform: rotate(225deg) translate(-2px, -2px); }
}

/* ---------- Contact page email cards ---------- */

.contact-cards {
  list-style: none; margin: 1.25rem 0 2rem; padding: 0;
  display: grid; gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}
.contact-card {
  padding: 1.25rem 1.35rem; background: var(--white);
  border: 1px solid var(--rule); border-left: 4px solid var(--blue);
  border-radius: var(--radius); box-shadow: var(--shadow);
}
.contact-card-name { margin: 0 0 .75rem; font-weight: 700; font-size: 1.0625rem; }
.contact-card-name a { color: var(--navy); text-decoration: none; }
.contact-card-name a:hover { color: var(--blue); text-decoration: underline; }
.contact-card-email {
  display: inline-flex; align-items: center; gap: .5rem;
  font-weight: 700; font-size: 1.0625rem; text-decoration: none;
  overflow-wrap: anywhere;
}
.contact-card-email:hover { text-decoration: underline; }

.note {
  margin-top: 2rem; padding-top: 1.25rem;
  border-top: 1px solid var(--rule);
  font-size: .875rem; color: var(--muted);
}

.footer-emails a { overflow-wrap: anywhere; }


/* ---------- Print ---------- */

@media print {
  .nav, .nav-toggle, .cta-band, .map-thumb, .hero-actions { display: none; }
  body { font-size: 11pt; color: #000; }
  .pagehead, .accomplishments, .footer { background: none; color: #000; }
  .pagehead h1, .accomplishment h3, .footer-name { color: #000; }
  a { color: #000; }
}

/* ---------- Office / map embed ---------- */

.office-block {
  padding: 1.25rem 1.5rem;
  background: var(--tint);
  border-left: 4px solid var(--blue);
  border-radius: 0 var(--radius) var(--radius) 0;
}
.map-embed {
  position: relative;
  aspect-ratio: 16 / 10;
  margin: 1.75rem 0 1rem;
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  overflow: hidden;
}
.map-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
