/* Chambers (law firms): Garamond on bond paper, oxblood and gilt, double rules, a sealed certificate. */
.p-chambers {
  --fs-base: 1rem;
  --fs-hero: clamp(2.7rem, 1.3rem + 5vw, 5.6rem);
  --rule: 3px double var(--ink);
}
.p-chambers :is(.hero__title, .page-title, .article-title, .biz-id__name, .owners__title) { font-weight: 500; }
.p-chambers :is(.section-title, .cat-index__name, .district__name, .acard__title, .lcard__title, .prose h2, .biz-sec__title, .empty__title) { font-weight: 520; }

/* Wordmark: small capitals and an italic oxblood suffix */
.p-chambers .wm-a { font-family: var(--font-display); font-variant: small-caps; font-weight: 600; letter-spacing: .05em; font-size: 1.12em; }
.p-chambers .wm-b { font-family: var(--font-display); font-style: italic; font-weight: 500; color: var(--accent); margin-left: .12em; font-size: 1.04em; }
.p-chambers .site-footer .wm-b { color: #CBA96E; }

.p-chambers .site-header, .p-chambers .site-header.is-scrolled { border-bottom: var(--rule); background: var(--bg); backdrop-filter: none; -webkit-backdrop-filter: none; }

.p-chambers .btn { font-weight: 600; letter-spacing: .01em; }
.p-chambers .btn--line { --b: var(--ink); }
.p-chambers .chip { border-radius: 2px; }
.p-chambers .stars { --accent-2: #9C7A40; }
.p-chambers .kicker, .p-chambers .hero__kicker, .p-chambers .lcard__kicker { font-family: var(--font-display); font-style: italic; font-weight: 500; font-size: 1.02rem; letter-spacing: 0; }

/* Section marks: the "§" names a section, as it would in a statute */
.p-chambers .section-head { border-top: var(--rule); padding-top: 18px; }
.p-chambers .section--index .section-title::before, .p-chambers .section--featured .section-title::before, .p-chambers .section--news .section-title::before { content: "§\00a0"; color: var(--accent); font-weight: 400; }

/* Hero: a matted, double-ruled certificate with a wax seal */
.p-chambers .hero__title { max-width: 13ch; line-height: 1; }
.p-chambers .hero__frame { padding: 12px; background: var(--surface); box-shadow: 0 0 0 1px var(--ink), 0 30px 50px -36px rgba(23, 25, 30, .55); outline: var(--rule); outline-offset: 8px; }
.p-chambers .hero__frame img { box-shadow: 0 0 0 1px var(--line); }
.p-chambers .hero__media::after {
  content: "§"; position: absolute; z-index: 3; right: -26px; top: 46%;
  display: grid; place-items: center; width: 84px; height: 84px; border-radius: 47% 53% 50% 50% / 52% 48% 52% 48%;
  background: radial-gradient(circle at 38% 32%, #9A2C3A, var(--accent) 62%, #5A1520);
  color: #E6CB9A; font-family: var(--font-display); font-size: 2.6rem; line-height: 1; padding-bottom: 6px;
  box-shadow: inset 0 0 0 7px rgba(0, 0, 0, .14), inset 0 0 0 8px rgba(230, 203, 154, .35), 0 10px 18px -8px rgba(40, 8, 12, .6);
  transform: rotate(-8deg);
}
.p-chambers .hero__spot { border-radius: 2px; box-shadow: 0 0 0 1px var(--ink), 0 18px 34px -20px rgba(23, 25, 30, .5); }
.p-chambers .ai-search__box { border: 1px solid var(--ink); border-radius: 2px; box-shadow: none; }
.p-chambers .ai-search__box:focus-within { box-shadow: 0 0 0 3px color-mix(in oklab, var(--accent) 18%, transparent); border-color: var(--accent); }
@media (max-width: 900px) {
  .p-chambers .hero__frame { aspect-ratio: 4 / 3.6; padding: 8px; outline-offset: 5px; }
  .p-chambers .hero__media::after { width: 64px; height: 64px; font-size: 2rem; right: -6px; top: auto; bottom: -24px; }
  .p-chambers .hero__spot { bottom: -36px; }
}

/* Practice areas, set like an index */
.p-chambers .cat-index__item { border-top-color: var(--line); }
.p-chambers .cat-index__name { font-size: clamp(1.45rem, 1.2rem + .8vw, 1.85rem); }
.p-chambers .cat-index__link:hover .cat-index__name { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .15em; }
.p-chambers .cat-index__count { font-style: italic; font-family: var(--font-display); font-size: 1rem; }

.p-chambers .section--areas { background: var(--surface-2); }
.p-chambers .district { border-top-color: color-mix(in oklab, var(--ink) 22%, transparent); }

/* Cards: flat paper with a double rule on top */
.p-chambers .lcard { border-top: var(--rule); border-radius: 0 0 2px 2px; }
.p-chambers .lcard:has(.lcard__link:hover) { transform: none; box-shadow: 0 0 0 1px var(--ink); }
.p-chambers .lcard__title { font-size: 1.4rem; line-height: 1.12; }
.p-chambers .logo-tile { border-radius: 2px; }
.p-chambers .logo-tile--mono { border-radius: 50%; background: radial-gradient(circle at 38% 32%, #9A2C3A, var(--accent) 64%); color: #EBD3A6; font-style: italic; box-shadow: 0 0 0 3px var(--surface), inset 0 0 0 4px rgba(0, 0, 0, .14), inset 0 0 0 5px rgba(235, 211, 166, .45); }
.p-chambers .acard__media { border-radius: 0; }
.p-chambers .acard__title { line-height: 1.08; }
.p-chambers .badge { border-radius: 2px; }

.p-chambers .owners { border-radius: 2px; background: var(--ink); outline: var(--rule); outline-color: var(--ink); outline-offset: 6px; }
.p-chambers .owners .btn--on-accent { background: #F2F1EC; color: var(--ink); --b: #F2F1EC; }
.p-chambers .owners__steps li::before { border-color: #CBA96E; color: #CBA96E; font-style: italic; font-size: 1.2rem; }

/* Business page */
.p-chambers .biz-cover { border-radius: 0; box-shadow: 0 0 0 1px var(--ink); }
.p-chambers .standfirst { font-style: italic; font-weight: 400; font-size: clamp(1.4rem, 1.2rem + .8vw, 1.75rem); }
.p-chambers .panel, .p-chambers .review-source, .p-chambers .branch { border-radius: 2px; }
.p-chambers .biz-sec { border-bottom: var(--rule); }

/* Articles: set the body in Garamond with an oxblood initial */
.p-chambers .article-title { font-size: clamp(2.4rem, 1.4rem + 3.6vw, 4.25rem); line-height: 1.02; }
.p-chambers .article-dek { font-family: var(--font-display); font-style: italic; font-size: var(--fs-lg); line-height: 1.35; color: var(--ink); }
.p-chambers .byline { border-top: var(--rule); }
.p-chambers .byline__avatar { background: var(--accent); border-radius: 50%; font-family: var(--font-display); font-style: italic; font-size: 1.05rem; }
.p-chambers .article-hero__img { border-radius: 0; }
.p-chambers .prose--article { font-family: var(--font-display); font-size: 1.28rem; line-height: 1.6; }
.p-chambers .prose--article > p:first-of-type::first-letter { float: left; font-size: 4.1em; line-height: .82; margin: .06em .08em 0 0; color: var(--accent); font-weight: 500; }
.p-chambers .prose--article li::marker { color: var(--accent); }
.p-chambers .editor-note { font-family: var(--font-body); font-size: var(--fs-sm); border-radius: 0; border-top: var(--rule); background: transparent; padding-inline: 0; }
.p-chambers .toc a[aria-current] { border-left-color: var(--accent); }
.p-chambers .map-pin span { background: var(--accent); }
