/* JKZ LLP site, Bay Bold design: shared foundation (tokens, type, header, footer, interior
   page shell, prose, buttons). Owned by the integrator; feature CSS lives in its own file
   (see docs/BUILD-SPEC.md). Near-black green, bone and clay; DM Serif Display + DM Sans. */

@font-face { font-family: "DM Serif Display"; font-weight: 400; font-style: normal; font-display: swap; src: url(/assets/site/fonts/dm-serif-display-latin-400-normal.woff2) format("woff2"); }
@font-face { font-family: "DM Serif Display"; font-weight: 400; font-style: italic; font-display: swap; src: url(/assets/site/fonts/dm-serif-display-latin-400-italic.woff2) format("woff2"); }
@font-face { font-family: "DM Sans"; font-weight: 100 1000; font-style: normal; font-display: swap; src: url(/assets/site/fonts/dm-sans-latin-wght-normal.woff2) format("woff2"); }

:root {
  --night: #0f1b18;
  --night-2: #16261f;
  --green: #1d453a;
  --bone: #efe9df;
  --bone-2: #e6ded0;
  --paper: #f8f5ef;
  --ink: #121a17;
  --body: #39423d;
  --muted: #5e655f;
  --muted-dark: #a9b3ad;
  --clay: #cf8a6c;
  --clay-deep: #9c5639;
  --line-dark: rgba(239,233,223,.16);
  --line: #d6cdbd;
  --serif: "DM Serif Display", Georgia, serif;
  --sans: "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --wrap: 1240px;
  --prose: 680px; /* about 75 to 80 characters a line at 18px */
  --radius: 0;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 24px; }
body { margin: 0; background: var(--bone); color: var(--ink); font: 400 17px/1.65 var(--sans); }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
/* Focus ring: clay-deep on light backgrounds, clay on dark ones, ink on the clay band. Each keeps
   at least 3:1 against what it is drawn on (WCAG 1.4.11). */
:root { --focus: var(--clay-deep); }
.c-header, .c-hero, .c-page-hero, .c-aside__card, .c-footer, .bl-related, .bl-cats, .bl-embed, .cv-cm-involve, .cv-consult,
.cv-ctabar, .c-practices, .c-forall, .c-offices, .cv-oband, .cv-opractice, .pg-about-hero, .pg-values, .pg-404__phones,
.pp-hero, .pp-more, .pp-group--attorneys, .pr-hero, .pr-card, .pr-services, .pr-notice, .pr-faqcta, .jkz-consent-banner { --focus: var(--clay); }
.c-mnav > nav, .c-dd__list { --focus: var(--clay-deep); }
.c-cta { --focus: var(--ink); }
/* Home: the header sits on the City Hall photo, where no single colour keeps 3:1 everywhere. A bone band
   inside a night outline does on any background (WCAG 1.4.11, technique C40). */
.c-hero .c-header :is(a, button, summary, [tabindex]):focus-visible { outline: 2px solid var(--night); outline-offset: 3px; box-shadow: 0 0 0 3px var(--bone); }
a:focus-visible, summary:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, [tabindex]:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { margin: 0; font-weight: 400; }
ul, ol { margin: 0; padding: 0; list-style: none; }
address { font-style: normal; }
/* The image pipeline (config/seo.mjs) wraps <img> in <picture> with AVIF/WebP <source>s. display: contents
   keeps the wrapper out of grid and flex layouts; hiding <source> stops it taking grid cells. */
picture { display: contents; }
source { display: none; }

.c-wrap { width: min(var(--wrap), 100% - 32px); margin-inline: auto; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 1000; padding: 12px 18px; background: var(--clay); color: var(--ink); font-weight: 700; text-decoration: none; }
.skip-link:focus { top: 12px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.c-nowrap { white-space: nowrap; }
.logo-mark { display: block; aspect-ratio: 386 / 319; background-color: currentColor; -webkit-mask: url(/assets/site/img/jkz-mark.png) center / contain no-repeat; mask: url(/assets/site/img/jkz-mark.png) center / contain no-repeat; }

/* Type helpers */
.c-h2 { font: 400 clamp(34px, 4.4vw, 64px)/1.02 var(--serif); letter-spacing: -.01em; text-wrap: balance; }
.c-label { font: 600 13px/1.5 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--clay-deep); max-width: 640px; margin-bottom: 28px; }
.c-more { display: inline-block; font: 600 14px/1 var(--sans); letter-spacing: .1em; text-transform: uppercase; text-decoration: none; padding-bottom: 6px; border-bottom: 1px solid currentColor; }
.c-more:hover { color: var(--focus); } /* clay-deep on light backgrounds, clay on dark ones */

/* Buttons */
.c-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 15px 28px; font: 700 14px/1.1 var(--sans); letter-spacing: .1em; text-transform: uppercase; text-decoration: none; text-align: center; border: 1px solid transparent; cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.c-btn--clay { background: var(--clay); color: var(--ink); }
.c-btn--clay:hover { background: #e19d80; }
.c-btn--ink { background: var(--ink); color: var(--bone); }
.c-btn--ink:hover { background: var(--green); }
.c-btn--ghost { color: #fff; border-color: rgba(255,255,255,.55); }
.c-btn--ghost:hover { background: #fff; color: var(--ink); }
.c-btn--line { color: var(--ink); border-color: var(--ink); }
.c-btn--line:hover { background: var(--ink); color: var(--bone); }

/* Header */
.c-header { position: relative; z-index: 20; color: #fff; }
.c-header--solid { background: var(--night); }
.c-header__row { display: flex; align-items: center; gap: 28px; padding: 18px 0; }
.c-logo { color: #fff; flex: none; }
.c-logo .logo-mark { width: 64px; }
.c-nav { margin-left: auto; }
.c-menu { display: flex; align-items: center; gap: 24px; }
.c-menu > li > a, .c-dd > summary { display: block; padding: 10px 0; text-decoration: none; font-weight: 500; font-size: 15px; color: #fff; opacity: .9; cursor: pointer; }
.c-menu > li > a:hover, .c-menu > li > a[aria-current], .c-menu__item.is-active > a, .c-menu__item.is-active .c-dd > summary, .c-dd > summary:hover { opacity: 1; box-shadow: inset 0 -1px 0 var(--clay); }
.c-dd { position: relative; }
.c-dd > summary { list-style: none; }
.c-dd > summary::-webkit-details-marker { display: none; }
.c-dd > summary::after { content: ""; display: inline-block; width: 6px; height: 6px; margin-left: 8px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-3px) rotate(45deg); }
.c-dd[open] > summary::after { transform: translateY(1px) rotate(-135deg); }
.c-dd__list { position: absolute; left: -18px; top: calc(100% + 10px); min-width: 250px; padding: 10px 0; background: var(--bone); color: var(--ink); box-shadow: 0 18px 40px rgba(0,0,0,.35); }
.c-dd__list a { display: block; padding: 11px 18px; text-decoration: none; font-size: 15px; white-space: nowrap; }
.c-dd__list a:hover, .c-dd__list a[aria-current] { background: var(--paper); color: var(--clay-deep); } /* 5.07:1 (on bone-2 it was 4.13) */
.c-call { flex: none; text-decoration: none; font-weight: 700; padding: 10px 16px; border: 1px solid rgba(255,255,255,.4); white-space: nowrap; }
.c-call span { color: var(--clay); font-weight: 500; margin-right: 4px; }
.c-hero .c-call span { color: var(--bone); } /* clay is under 4.5:1 on the home photo (WCAG 1.4.3) */
.c-call:hover { background: #fff; color: var(--ink); }
.c-call-icon { display: none; }
.c-mnav { display: none; position: relative; }
.c-mnav > summary { list-style: none; cursor: pointer; min-height: 44px; display: flex; align-items: center; padding: 0 16px; border: 1px solid rgba(255,255,255,.5); font: 700 13px/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; }
.c-mnav > summary::-webkit-details-marker { display: none; }
.c-mnav > nav { position: absolute; right: 0; top: calc(100% + 8px); width: min(320px, calc(100vw - 32px)); max-height: calc(100vh - 190px); max-height: calc(100dvh - 190px); overflow: auto; overscroll-behavior: contain; background: var(--bone); color: var(--ink); padding: 8px 0 12px; box-shadow: 0 18px 40px rgba(0,0,0,.35); }
.c-mnav a { display: block; padding: 12px 20px; text-decoration: none; }
.c-mnav a[aria-current] { color: var(--clay-deep); font-weight: 700; }
.c-mnav__group > span { display: block; padding: 14px 20px 4px; font: 600 12px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.c-mnav__group a { padding-left: 32px; }
.c-mnav__call { border-top: 1px solid var(--line); }
.c-mnav__call a { font-weight: 700; }

/* Interior page shell */
.c-page-hero { background: var(--night); color: var(--bone); padding: 40px 0 0; overflow: hidden; }
.c-page-hero__grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 56px; align-items: end; }
.c-page-hero__grid--solo { grid-template-columns: 1fr; }
.c-page-hero__text { padding-bottom: 56px; }
.c-page-hero__grid img { width: 100%; aspect-ratio: 5 / 5.4; object-fit: cover; }
.c-page-hero h1 { font: 400 clamp(38px, 5vw, 72px)/1.02 var(--serif); letter-spacing: -.015em; text-wrap: balance; max-width: 980px; }
.c-page-hero__lead { max-width: 720px; margin: 22px 0 0; font-size: 19px; color: #d9ddd9; }
.c-crumbs { margin-bottom: 26px; font: 600 12px/1.6 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--muted-dark); }
.c-crumbs ol { display: flex; flex-wrap: wrap; gap: 4px 0; }
.c-crumbs li + li::before { content: "/"; margin: 0 10px; color: var(--muted-dark); }
.c-crumbs a { color: #fff; text-decoration: none; }
.c-crumbs a:hover { text-decoration: underline; }
/* Phones: a long page title (blog posts) stays on one line in the trail; the h1 below has it in full */
@media (max-width: 560px) {
  .c-crumbs li:last-child { min-width: 0; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
}
.c-crumbs [aria-current] { color: var(--clay); }

.c-page { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 72px; align-items: start; padding: 72px 0 96px; }
.c-page--solo { grid-template-columns: minmax(0, 1fr); }
.c-aside { position: sticky; top: 24px; display: grid; gap: 20px; }
.c-aside__card { padding: 28px; background: var(--night); color: var(--bone); }
.c-aside__card h2 { font: 400 28px/1.1 var(--serif); margin-bottom: 18px; }
.c-aside__card p { display: flex; justify-content: space-between; gap: 12px; margin: 0 0 10px; padding-bottom: 10px; border-bottom: 1px solid var(--line-dark); }
.c-aside__card span { font-size: 13px; letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; color: var(--muted-dark); }
.c-aside__card a[href^="tel"] { font-weight: 700; text-decoration: none; white-space: nowrap; }
.c-cta__side a[href^="tel"], .c-footer a[href^="tel"] { white-space: nowrap; }
.c-aside__card .c-btn { width: 100%; margin-top: 12px; }

/* Prose: converted page and post bodies */
.c-prose { max-width: var(--prose); color: var(--body); overflow-wrap: break-word; }
.c-prose pre { white-space: pre-wrap; } /* migrated posts use <pre> for ordinary paragraphs */
.c-prose > :first-child { margin-top: 0; }
.c-prose h2 { margin: 52px 0 18px; font: 400 clamp(30px, 3vw, 42px)/1.1 var(--serif); color: var(--ink); text-wrap: balance; }
.c-prose h3 { margin: 36px 0 12px; font: 400 clamp(23px, 2.2vw, 28px)/1.2 var(--serif); color: var(--ink); }
.c-prose h4 { margin: 28px 0 10px; font: 700 17px/1.4 var(--sans); color: var(--ink); }
.c-prose p, .c-prose ul, .c-prose ol, .c-prose table, .c-prose blockquote, .c-prose figure { margin: 0 0 1.15em; }
.c-prose ul, .c-prose ol { padding-left: 1.3em; }
.c-prose ul { list-style: disc; }
.c-prose ol { list-style: decimal; }
.c-prose li { margin-bottom: .45em; padding-left: .2em; }
.c-prose li::marker { color: var(--clay-deep); }
.c-prose a { color: var(--green); text-decoration-thickness: 1px; text-underline-offset: 3px; }
.c-prose a:hover { color: var(--clay-deep); }
.c-prose strong { color: var(--ink); }
.c-prose th strong, .c-prose thead strong { color: inherit; }
.c-prose blockquote { padding: 6px 0 6px 24px; border-left: 3px solid var(--clay); font: italic 400 22px/1.4 var(--serif); color: var(--green); }
.c-prose img { margin: 8px 0 1.15em; }
.c-prose figure img { margin: 0; }
.c-prose figcaption { margin-top: 8px; font-size: 14px; color: var(--muted); }
.c-prose table { position: relative; width: 100%; border-collapse: collapse; font-size: 15px; display: block; overflow-x: auto; } /* relative: keeps visually hidden text inside the scroller (320px reflow) */
.c-prose th, .c-prose td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.c-prose th { font-weight: 700; color: var(--ink); }
.c-prose caption { padding: 10px 12px; text-align: left; color: var(--ink); }
.c-prose hr { margin: 40px 0; border: 0; border-top: 1px solid var(--line); }
.c-prose details { margin: 0 0 12px; border-top: 1px solid var(--line); }
.c-prose details:last-of-type { border-bottom: 1px solid var(--line); }
.c-prose summary { padding: 18px 36px 18px 0; position: relative; cursor: pointer; list-style: none; font: 400 22px/1.25 var(--serif); color: var(--ink); }
.c-prose summary::-webkit-details-marker { display: none; }
.c-prose summary::after { content: "+"; position: absolute; right: 4px; top: 16px; font: 400 26px/1 var(--sans); color: var(--clay-deep); }
.c-prose details[open] summary::after { content: "−"; }
.c-prose details > :not(summary) { margin-top: 0; }

/* Footer CTA band */
.c-cta { padding: 88px 0; background: var(--clay); color: var(--ink); }
.c-cta__inner { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 32px 56px; }
.c-cta__main { flex: 1 1 520px; }
.c-cta h2 { font: 400 clamp(48px, 8vw, 120px)/.9 var(--serif); letter-spacing: -.02em; }
.c-cta__lead { max-width: 620px; margin: 20px 0 24px; font-size: 18px; line-height: 1.5; }
.c-cta__side { flex: 0 1 340px; }
.c-cta__side p { display: flex; justify-content: space-between; gap: 24px; margin: 0 0 10px; padding-bottom: 10px; border-bottom: 1px solid rgba(18,26,23,.25); }
.c-cta__side span { font-size: 14px; letter-spacing: .1em; text-transform: uppercase; }
.c-cta__side a[href^="tel"] { font-weight: 700; text-decoration: none; font-size: 19px; }
.c-cta__side .c-btn { margin-top: 14px; width: 100%; }

/* Footer */
.c-footer { background: var(--night); color: var(--muted-dark); font-size: 15px; padding: 64px 0 0; }
.c-footer__grid { display: grid; grid-template-columns: 1fr 2fr 1fr; gap: 40px 56px; padding-bottom: 48px; }
.c-footer .logo-mark { width: 84px; color: var(--bone); margin-bottom: 18px; }
.c-footer__brand p { max-width: 300px; }
.c-footer__brand a { color: var(--bone); }
.c-footer__title { margin: 0 0 16px; font: 600 12px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--clay); }
.c-footer__title + * + .c-footer__title, .c-footer__nav + .c-footer__title { margin-top: 28px; }
.c-footer__offices { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 32px; }
.c-footer__offices li { display: grid; gap: 3px; }
.c-footer__offices li > a { font: 400 22px/1.2 var(--serif); color: var(--bone); text-decoration: none; }
.c-footer__offices a[href^="tel"] { color: var(--bone); text-decoration: underline; text-underline-offset: 3px; }
.c-footer__nav li { margin-bottom: 8px; }
.c-footer__nav a { color: var(--bone); text-decoration: none; }
.c-footer a:hover { color: var(--clay); }
.c-footer__legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; padding: 22px 0 28px; border-top: 1px solid var(--line-dark); font-size: 13px; }
.c-footer__legal p { margin: 0; }
.c-footer__links a { display: inline-block; padding: 6px 0; margin-left: 18px; color: var(--muted-dark); }

/* Draft pages (preview builds only) */
.c-draft { position: sticky; top: 0; z-index: 100; margin: 0; padding: 10px 16px; background: #ffd34d; color: #1a1a1a; text-align: center; font: 700 14px/1.4 var(--sans); }
/* The draft bar sits above the header, so the open mobile menu has less room on draft pages. */
body:has(.c-draft) .c-mnav > nav { max-height: calc(100vh - 270px); max-height: calc(100dvh - 270px); }

/* Consent banner: match the site type */
.jkz-consent-banner, .jkz-consent-modal { font-family: var(--sans) !important; }

/* Responsive */
@media (max-width: 1180px) {
  .c-menu { gap: 16px; }
  .c-menu > li > a, .c-dd > summary { font-size: 14px; }
  .c-header__row { gap: 20px; }
}
@media (max-width: 1040px) {
  .c-nav, .c-call { display: none; }
  .c-mnav { display: block; margin-left: auto; }
  .c-call-icon { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; margin-left: auto; border: 1px solid rgba(255,255,255,.5); color: #fff; }
  .c-call-icon + .c-mnav { margin-left: 0; }
  .c-page { grid-template-columns: 1fr; gap: 48px; padding: 56px 0 72px; }
  .c-aside { position: static; }
}
@media (max-width: 900px) {
  .c-page-hero__grid { grid-template-columns: 1fr; gap: 28px; }
  .c-page-hero__grid img { aspect-ratio: 16 / 9; }
  .c-page-hero__text { padding-bottom: 0; }
  .c-page-hero { padding-bottom: 40px; }
  .c-page-hero__grid img { margin-bottom: -40px; }
  .c-footer__grid { grid-template-columns: 1fr 1fr; }
  .c-footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .c-logo .logo-mark { width: 54px; }
  .c-header__row { gap: 10px; padding: 14px 0; }
  .c-page-hero { padding-top: 28px; }
  .c-page { padding: 44px 0 56px; }
  .c-cta { padding-block: 52px; }
  .c-cta__side { flex-basis: 100%; }
  .c-footer { padding-top: 48px; }
  .c-footer__grid, .c-footer__offices { grid-template-columns: 1fr; }
  .c-footer__links a { margin: 0 14px 0 0; }
  .c-prose summary { font-size: 20px; }
}
/* Visitors who ask their device for less motion get instant hover and focus changes on every page. */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
  }
}
