/* Bryan & Jetter theme components.
   Colours and fonts come from theme.json presets (--wp--preset--*). */
:root {
  --bj-green: var(--wp--preset--color--green);
  --bj-deep: var(--wp--preset--color--deep);
  --bj-stone: var(--wp--preset--color--stone);
  --bj-paper: var(--wp--preset--color--paper);
  --bj-ink: var(--wp--preset--color--ink);
  --bj-slate: var(--wp--preset--color--slate);
  --bj-muted: var(--wp--preset--color--muted);
  --bj-line: var(--wp--preset--color--line);
  --bj-gold: var(--wp--preset--color--gold);
  --bj-gold-deep: var(--wp--preset--color--gold-deep);
  --bj-gold-ink: var(--wp--preset--color--gold-ink);
  --bj-gold-light: var(--wp--preset--color--gold-light);
  --bj-sage: var(--wp--preset--color--sage);
  --bj-serif: var(--wp--preset--font-family--display);
  --bj-sans: var(--wp--preset--font-family--body);
  --bj-gutter: clamp(16px, 4vw, 40px);
  --bj-max: 1180px;
  --bj-edge: max(var(--bj-gutter), calc((100vw - var(--bj-max)) / 2 + var(--bj-gutter)));
  --bj-section: clamp(64px, 8vw, 112px);
  --bj-green-bg: repeating-linear-gradient(0deg, rgba(233,229,222,.035) 0 1px, transparent 1px 64px), repeating-linear-gradient(90deg, rgba(233,229,222,.035) 0 1px, transparent 1px 64px), radial-gradient(ellipse 70% 110% at 18% 0%, #2E4F47 0%, rgba(33,59,53,0) 65%), radial-gradient(ellipse 60% 90% at 100% 100%, #1B322C 0%, rgba(33,59,53,0) 70%), #213B35;
}
body { -webkit-font-smoothing: antialiased; }
:where(.wp-site-blocks) > * { margin-block-start: 0; }
.wp-site-blocks > main, .bj-main { margin-block-start: 0; }
a { text-underline-offset: 3px; }
:focus-visible { outline: 2px solid var(--bj-gold); outline-offset: 2px; }
img { max-width: 100%; height: auto; }
.screen-reader-text:focus { background: #fff; padding: 8px 12px; }

/* Reset WordPress flow spacing inside our designed components */
.bj-reset > *, .bj-grid > *, .bj-cards > *, .bj-glance__grid > *, .bj-stats > *, .bj-people > *, .bj-linkcards > *,
.bj-imgcards > *, .bj-paths > *, .bj-team-grid > *, .bj-statstrip > *, .bj-hero > *, .bj-split > *, .bj-band__inner > *,
.bj-consult__grid > *, .bj-contact > *, .bj-person > *, .bj-values > *, .bj-reviews-grid > *, .bj-article-grid > *,
.bj-talk > *, .bj-path__quote > *, .bj-related > * { margin-block: 0 !important; }

/* ---------- Type helpers ---------- */
.bj-eyebrow {
  display: flex; align-items: center; gap: 12px; margin: 0 0 14px;
  font-family: var(--bj-sans); font-size: 12.5px !important; font-weight: 600; line-height: 1.4;
  letter-spacing: .16em; text-transform: uppercase; color: var(--bj-gold-ink);
}
.bj-eyebrow::before { content: ""; width: 28px; height: 1.5px; background: var(--bj-gold); flex: none; }
h1.bj-eyebrow { font-family: var(--bj-sans); }
.bj-dark .bj-eyebrow, .bj-hero .bj-eyebrow, .bj-team .bj-eyebrow, .bj-quote-sec .bj-eyebrow, .bj-statstrip .bj-eyebrow { color: var(--bj-gold-light); }
.bj-h2, .bj-sec h2.wp-block-heading:not(.bj-plain) {
  font-family: var(--bj-serif); font-weight: 400; font-size: clamp(30px, 3.6vw, 44px); line-height: 1.15;
  letter-spacing: -.005em; text-wrap: balance; color: var(--bj-ink); margin: 0;
}
h2 em, h1 em, .bj-display em { font-style: italic; color: var(--bj-gold-deep); }
.bj-hero h1 em, .bj-hero .bj-display em, .bj-team h2 em, .bj-dark h2 em { color: var(--bj-gold); }
.bj-display {
  font-family: var(--bj-serif) !important; font-weight: 400; font-size: clamp(34px, 4.4vw, 56px) !important;
  line-height: 1.14; letter-spacing: -.015em; text-wrap: balance; color: #fff; margin: 0;
}
.bj-lead { font-size: 18px; max-width: 46ch; }
.bj-note { font-size: 14px; line-height: 1.55; color: var(--bj-muted); max-width: 80ch; }
.bj-more a, a.bj-more, .bj-more { font-weight: 600; color: var(--bj-gold-ink); text-decoration: none; font-size: 15px; }
.bj-more a:hover { color: var(--bj-green); }

/* ---------- Buttons ---------- */
.bj-btns { gap: 12px; margin-top: 4px; }
.wp-block-button .wp-block-button__link { display: inline-flex; align-items: center; justify-content: center; min-width: min(260px, 100%); min-height: 52px; padding: 0 22px; border-radius: 4px; font: 600 15px/1.2 var(--bj-sans); text-decoration: none; transition: background-color .15s ease, color .15s ease, border-color .15s ease; }
.wp-block-button:not([class*="is-style-bj-"]) .wp-block-button__link { background: var(--bj-gold); color: var(--bj-deep); }
.wp-block-button:not([class*="is-style-bj-"]) .wp-block-button__link:hover { background: #DDA04A; color: var(--bj-deep); }
.wp-block-button.is-style-bj-outline-light .wp-block-button__link { background: transparent; color: #fff; border: 1.5px solid var(--bj-gold); }
.wp-block-button.is-style-bj-outline-light .wp-block-button__link:hover { background: rgba(205,142,51,.14); color: #fff; }
.wp-block-button.is-style-bj-outline .wp-block-button__link { background: transparent; color: var(--bj-green); border: 1.5px solid var(--bj-green); }
.wp-block-button.is-style-bj-outline .wp-block-button__link:hover { background: var(--bj-green); color: #fff; }
.wp-block-button.is-style-bj-dark .wp-block-button__link { background: var(--bj-green); color: #fff; }
.wp-block-button.is-style-bj-dark .wp-block-button__link:hover { background: #2C4B44; }

/* ---------- Header ---------- */
.bj-site-header { position: sticky; top: 0; z-index: 50; }
.admin-bar .bj-site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .bj-site-header { top: 46px; } }
.bj-header { background: var(--bj-paper); border-bottom: 1px solid var(--bj-line); }
.bj-header__inner { max-width: var(--bj-max); margin: 0 auto; padding: 0 var(--bj-gutter); min-height: 78px; display: flex; align-items: center; gap: clamp(10px, 2vw, 24px); }
.bj-brand { display: flex; align-items: center; gap: 10px; margin: 0 auto 0 0 !important; text-decoration: none; min-width: 0; }
.bj-brand img { width: clamp(36px, 4vw, 46px); height: auto; display: block; }
.bj-brand__name { font-family: var(--bj-serif); font-size: clamp(16px, 1.8vw, 19px); line-height: 1.1; color: var(--bj-green); white-space: nowrap; }
.bj-brand__name small { display: block; font-family: var(--bj-sans); font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--bj-muted); margin-top: 3px; }
.bj-header .wp-block-navigation { font-size: 15px; font-weight: 500; gap: 20px; margin: 0 !important; }
.bj-header .wp-block-navigation a { text-decoration: none; }
.bj-header .wp-block-navigation > .wp-block-navigation__container > .wp-block-navigation-item > .wp-block-navigation-item__content { white-space: nowrap; }
.bj-header .wp-block-navigation .wp-block-navigation-item__content:hover { color: var(--bj-gold-ink); }
.bj-header .wp-block-navigation .wp-block-navigation__submenu-container {
  min-width: 320px !important; padding: 8px; background: #fff !important; border: 1px solid var(--bj-line) !important;
  border-top: 3px solid var(--bj-gold) !important; border-radius: 4px; box-shadow: 0 14px 32px rgba(23,43,38,.16); top: calc(100% + 14px) !important;
}
.bj-header .wp-block-navigation .wp-block-navigation__submenu-container::before { content: ""; position: absolute; left: 0; right: 0; top: -18px; height: 18px; }
.bj-header .wp-block-navigation .wp-block-navigation__submenu-container .wp-block-navigation-item__content { display: grid; gap: 2px; padding: 10px 12px !important; border-radius: 3px; white-space: normal; }
.bj-header .wp-block-navigation .wp-block-navigation__submenu-container .wp-block-navigation-item__content:hover { background: var(--bj-paper); color: var(--bj-green); }
.bj-header .wp-block-navigation .wp-block-navigation__submenu-container .wp-block-navigation-item__label { font-weight: 600; color: var(--bj-green); }
.bj-header .wp-block-navigation-item__description { display: block; font-size: 13.5px; line-height: 1.4; font-weight: 400; color: var(--bj-muted); }
.bj-header .wp-block-navigation__responsive-container.is-menu-open { padding: 24px var(--bj-gutter); background: var(--bj-paper) !important; }
.bj-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content { gap: 4px; font-size: 18px; }
.bj-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__submenu-container { border: 0 !important; box-shadow: none; padding: 0 0 0 16px; min-width: 0 !important; }
.bj-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__description { display: none; }
.bj-header .wp-block-navigation__responsive-container-open, .bj-header .wp-block-navigation__responsive-container-close { width: 44px; height: 44px; align-items: center; justify-content: center; border: 1px solid var(--bj-line); border-radius: 4px; color: var(--bj-green); }
.bj-header__phone { margin: 0 !important; white-space: nowrap; }
.bj-header__phone a { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 15px; color: var(--bj-gold-ink); text-decoration: none; }
.bj-header__phone a:hover { color: var(--bj-green); }
.bj-header .bj-header__cta { margin: 0 !important; }
.bj-header .bj-header__cta .wp-block-button__link { min-width: 0; min-height: 44px; padding: 0 18px; font-size: 14px; }

@media (max-width: 520px) { .bj-header .bj-header__cta .wp-block-button__link { padding: 0 12px; } .bj-header .bj-header__cta .bj-cta-long { display: none; } }
@media (min-width: 521px) { .bj-header .bj-header__cta .bj-cta-short { display: none; } }

/* ---------- Footer ---------- */
.bj-footer { background: var(--bj-deep); color: var(--bj-sage); font-size: 15px; }
.bj-footer a { color: var(--bj-sage); text-decoration: none; }
.bj-footer a:hover { color: var(--bj-gold-light); }
.bj-footer__top { max-width: var(--bj-max); margin: 0 auto; padding: 36px var(--bj-gutter); display: flex; flex-wrap: wrap; gap: 20px 40px; justify-content: space-between; align-items: center; }
.bj-footer .bj-brand__name { color: #fff; }
.bj-footer .bj-brand__name small { color: #AEB8B2; }
.bj-footer__nav { display: flex; flex-wrap: wrap; gap: 12px 18px; margin: 0 !important; }
.bj-footer__bottom { border-top: 1px solid rgba(233,229,222,.14); }
.bj-footer__bottom-inner { max-width: var(--bj-max); margin: 0 auto; padding: 18px var(--bj-gutter); font-size: 14px; display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; }
.bj-footer__bottom-inner > * { margin: 0 !important; }
.bj-footer__legal { flex: 1 1 100%; font-size: 13px; line-height: 1.55; color: #AEB8B2; max-width: 110ch; }

/* ---------- Sections ---------- */
.bj-sec { padding-block: var(--bj-section) !important; }
.bj-sec--white { background: #fff; border-top: 1px solid var(--bj-line); }
.bj-sec--stone { background: var(--bj-stone); }
.bj-sec--tight { padding-block: clamp(56px, 7vw, 88px) !important; }
.bj-sec > .bj-eyebrow + h2 { margin-top: 0; }
.bj-sec > h2 + * { margin-top: clamp(28px, 3vw, 40px); }
.bj-sec__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 16px 40px; }
.bj-sec__head > * { margin: 0 !important; }
.bj-sec__head + * { margin-top: clamp(28px, 3vw, 40px) !important; }

/* ---------- Heroes ---------- */
.bj-hero { background: var(--bj-green-bg); color: #E9E5DE; }
.bj-hero a { color: inherit; }
.bj-hero--split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); min-height: clamp(0px, 44vw, 560px); }
.bj-hero__text { padding: clamp(40px, 6vw, 80px) clamp(16px, 4vw, 56px) clamp(40px, 6vw, 72px) var(--bj-edge); display: flex; flex-direction: column; justify-content: center; gap: 22px; }
.bj-hero__text > * { margin: 0 !important; }
.bj-hero__media { margin: 0 !important; position: relative; min-height: 320px; }
.bj-hero__media img { position: absolute; inset: 0; width: 100%; height: 100% !important; object-fit: cover; }
.bj-hero__note { font-size: 15px; color: var(--bj-sage); }
.bj-hero--simple { padding-block: clamp(48px, 7vw, 96px) clamp(48px, 7vw, 88px) !important; }
.bj-hero--simple > * { margin-block: 0 !important; }
.bj-hero--simple > * + * { margin-top: 22px !important; }
.bj-hero--simple .bj-lead { max-width: 62ch; }
.bj-hero h1.bj-display, .bj-hero--simple h1 { max-width: 24ch; }
.bj-crumbs { font-size: 14px; color: #AEB8B2; display: flex; flex-wrap: wrap; gap: 8px; }
.bj-crumbs a { color: var(--bj-sage) !important; text-decoration: none; }
.bj-crumbs a:hover { color: #fff !important; }
.bj-crumbs [aria-current], .bj-crumbs .bj-current { color: #fff; }
@media (max-width: 860px) {
  .bj-hero--split { grid-template-columns: 1fr; }
  .bj-hero__text { padding: 40px var(--bj-gutter); }
  .bj-hero__media { min-height: 280px; }
}

/* Home hero */
.bj-hero--home { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(32px, 5vw, 64px); align-items: center; padding: clamp(56px, 7vw, 96px) var(--bj-edge) !important; }
.bj-hero--home .bj-hero__text { padding: 0; }
.bj-home-h1 { font-family: var(--bj-serif); font-weight: 400; font-size: clamp(34px, 4.6vw, 62px); line-height: 1.12; letter-spacing: -.015em; color: #fff; margin: 0; }
.bj-home-h1 em { color: var(--bj-gold); }
.bj-typing::after { content: ""; display: inline-block; width: 2px; height: .85em; background: var(--bj-gold); vertical-align: -.06em; margin-left: 2px; margin-right: -4px; animation: bj-caret 1s steps(1) infinite; }
@keyframes bj-caret { 50% { opacity: 0; } }
.bj-talk { display: flex; align-items: center; gap: 14px; }
.bj-talk .wp-block-image img { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; object-position: 50% 20%; border: 2px solid var(--bj-green); }
.bj-talk .wp-block-image { margin: 0; flex: none; }
.bj-talk p { margin: 0; font-size: 16.5px; line-height: 1.4; }
.bj-talk p + p { font-size: 15.5px; color: var(--bj-sage); margin-top: 3px; }
.bj-talk strong, .bj-talk a { color: #fff; font-weight: 600; text-decoration: none; }
.bj-intake { background: #fff; color: var(--bj-ink); border-radius: 4px; padding: clamp(24px, 3vw, 32px); box-shadow: 0 20px 48px rgba(10,22,18,.28); display: grid; gap: 14px; }
.bj-intake > * { margin: 0 !important; }
.bj-intake .bj-eyebrow { color: var(--bj-gold-ink); margin: 0; }
.bj-intake .bj-eyebrow::before { display: none; }
.bj-intake h2 { font-family: var(--bj-serif); font-weight: 400; font-size: clamp(24px, 2.4vw, 30px); line-height: 1.2; color: var(--bj-green); }
.bj-intake__choices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.bj-intake__choices a { display: grid; gap: 2px; padding: 14px; border: 1px solid var(--bj-line); border-radius: 4px; background: var(--bj-paper); text-decoration: none; font-weight: 600; font-size: 15.5px; color: var(--bj-ink); line-height: 1.3; transition: border-color .15s ease, background-color .15s ease; }
.bj-intake__choices a span { font-weight: 500; font-size: 14px; color: var(--bj-muted); }
.bj-intake__choices a:hover { border-color: var(--bj-gold); background: #fff; }
.bj-intake__small { font-size: 15px; color: var(--bj-muted); }
@media (max-width: 960px) { .bj-hero--home { grid-template-columns: 1fr; } }
@media (max-width: 420px) { .bj-intake__choices { grid-template-columns: 1fr; } }

/* Team photo + stats strip */
.bj-photo { margin-block: 0 !important; position: relative; background: var(--bj-deep); }
.bj-photo img { width: 100%; height: clamp(260px, 50vw, 720px) !important; object-fit: cover; object-position: 50% 30%; display: block; }
.bj-photo figcaption { position: absolute; left: var(--bj-edge); bottom: clamp(56px, 7vw, 88px); margin: 0; padding: 4px 10px; background: rgba(23,43,38,.72); color: #E9E5DE; font-size: 13px; letter-spacing: .04em; }
.bj-statstrip-wrap { position: relative; z-index: 2; margin-top: calc(-1 * clamp(40px, 5vw, 64px)) !important; }
.bj-statstrip { background: radial-gradient(ellipse 75% 160% at 50% 0%, #2E4F47 0%, rgba(33,59,53,0) 75%), #213B35; border-top: 3px solid var(--bj-gold); border-radius: 4px; box-shadow: 0 12px 32px rgba(23,43,38,.18); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); row-gap: 28px; padding: clamp(26px, 3.2vw, 36px) clamp(8px, 1.6vw, 20px); }
.bj-statstrip__item { display: flex; flex-direction: column; align-items: center; justify-content: flex-start; text-align: center; gap: 10px; padding: 0 16px; }
.bj-statstrip__item + .bj-statstrip__item { border-left: 1px solid rgba(233,229,222,.16); }
.bj-statstrip__item > * { margin: 0 !important; }
.bj-statstrip__num { font-family: var(--bj-serif); font-size: clamp(28px, 3.2vw, 40px) !important; line-height: 1; color: #fff; }
.bj-statstrip__label { font-size: 14.5px; line-height: 1.4; color: #AEB8B2; }
.bj-statstrip__item .wp-block-image img { height: clamp(56px, 5.6vw, 72px); width: auto; border-radius: 2px; }
.bj-statstrip-wrap .bj-note { text-align: center; margin: 14px auto 0 !important; font-size: 13px; }
@media (max-width: 760px) { .bj-statstrip { grid-template-columns: repeat(2, minmax(0, 1fr)); } .bj-statstrip__item:nth-child(3) { border-left: 0; } }

/* ---------- Glance strip ---------- */
.bj-glance { background: #fff; border-bottom: 1px solid var(--bj-line); padding-block: 28px !important; }
.bj-glance__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px 0; }
.bj-glance__grid > * { padding: 0 24px; }
.bj-glance__grid > * + * { border-left: 1px solid var(--bj-line); }
.bj-glance__grid > :first-child { padding-left: 0; }
.bj-glance__grid p { margin: 0; font-size: 15px; line-height: 1.5; color: var(--bj-muted); }
.bj-glance__grid p.bj-glance__title { font-weight: 600; font-size: 16.5px; color: var(--bj-green); margin-bottom: 4px; }
@media (max-width: 719px) { .bj-glance__grid { grid-template-columns: 1fr; } .bj-glance__grid > * { padding: 0; } .bj-glance__grid > * + * { border-left: 0; } }

/* ---------- Split + cards ---------- */
.bj-split { display: flex; flex-wrap: wrap; gap: clamp(32px, 5vw, 64px); align-items: flex-start; }
.bj-split__intro { flex: 1 1 340px; min-width: 0; display: grid; gap: 18px; }
.bj-split__intro > * { margin: 0 !important; }
.bj-split__intro p { max-width: 52ch; }
.bj-split__intro .bj-eyebrow { margin-bottom: -4px !important; }
.bj-cards { flex: 1.4 1 480px; min-width: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.bj-card { background: #fff; border: 1px solid var(--bj-line); border-radius: 4px; padding: 22px 22px 24px; display: flex; flex-direction: column; gap: 8px; }
.bj-card::before { content: ""; width: 22px; height: 1.5px; background: var(--bj-gold); }
.bj-card > * { margin: 0 !important; }
.bj-card h3 { font-family: var(--bj-sans); font-size: 18px; font-weight: 600; line-height: 1.3; color: var(--bj-green); }
.bj-card p { font-size: 15.5px; line-height: 1.55; color: var(--bj-slate); }
@media (max-width: 639px) { .bj-cards { grid-template-columns: 1fr; } }

/* ---------- Band ---------- */
.bj-band { background: var(--bj-stone); border-top: 1px solid var(--bj-line); border-bottom: 1px solid var(--bj-line); padding-block: clamp(40px, 5vw, 56px) !important; scroll-margin-top: 100px; }
.bj-band__inner { display: flex; flex-wrap: wrap; gap: 20px 48px; align-items: center; justify-content: space-between; }
.bj-band__text { flex: 1 1 460px; min-width: 0; display: grid; gap: 10px; }
.bj-band__text > * { margin: 0 !important; }
.bj-band__text h2 { font-family: var(--bj-serif); font-weight: 400; font-size: clamp(24px, 2.6vw, 30px); line-height: 1.25; color: var(--bj-green); }
.bj-band__text p:not(.bj-eyebrow) { max-width: 60ch; }
.bj-band__text .bj-eyebrow { margin: 0 !important; }

/* ---------- Steps ---------- */
ol.bj-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; counter-reset: bj-step; }
ol.bj-steps > li { counter-increment: bj-step; display: flex; flex-direction: column; gap: 10px; padding-top: 18px; border-top: 1px solid var(--bj-line); font-size: 15.5px; line-height: 1.55; color: var(--bj-slate); margin: 0; }
ol.bj-steps > li::before { content: counter(bj-step, decimal-leading-zero); font-family: var(--bj-serif); font-size: 30px; line-height: 1; color: var(--bj-gold-deep); }
ol.bj-steps > li strong { display: block; font-size: 18px; font-weight: 600; color: var(--bj-green); margin-bottom: 2px; }
@media (max-width: 999px) { ol.bj-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 559px) { ol.bj-steps { grid-template-columns: 1fr; } }

/* ---------- Stats ---------- */
.bj-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); gap: 20px; }
.bj-stat { border: 1px solid var(--bj-line); border-radius: 4px; padding: 24px; display: grid; gap: 8px; align-content: start; background: var(--bj-paper); }
.bj-stat > * { margin: 0 !important; }
.bj-stat__num { font-family: var(--bj-serif); font-size: clamp(30px, 3.4vw, 40px) !important; line-height: 1.1; color: var(--bj-green); }
.bj-stat__label { font-size: 15px; line-height: 1.5; color: var(--bj-slate); }
.bj-stats + .bj-note { margin-top: 20px !important; }

/* ---------- People ---------- */
.bj-people { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(440px, 100%), 1fr)); gap: 28px; }
.bj-person { display: flex; flex-wrap: wrap; gap: 22px; align-items: flex-start; padding: 24px; border: 1px solid var(--bj-line); border-radius: 4px; background: var(--bj-paper); }
.bj-person .wp-block-image { margin: 0; flex: none; }
.bj-person .wp-block-image img { width: 132px; aspect-ratio: 4/5; object-fit: cover; border-radius: 4px; }
.bj-person__body { flex: 1 1 220px; min-width: 0; display: grid; gap: 8px; align-content: start; }
.bj-person__body > * { margin: 0 !important; }
.bj-person__body h3 { font-family: var(--bj-serif); font-weight: 400; font-size: 24px; line-height: 1.2; color: var(--bj-green); }
.bj-role { font-size: 12.5px !important; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--bj-gold-ink); }
.bj-person__body p:not(.bj-role) { font-size: 15.5px; line-height: 1.6; color: var(--bj-slate); margin-top: 4px !important; }

/* ---------- Testimonial ---------- */
.bj-quote-sec { background: var(--bj-green-bg); color: #E9E5DE; padding-block: clamp(64px, 8vw, 104px) !important; }
.bj-quote-sec > * { max-width: 980px !important; }
.bj-stars { color: var(--bj-gold); letter-spacing: 4px; font-size: 18px; margin-block: 0 20px !important; }
.bj-quote { border: 0 !important; padding: 0 !important; margin-block: 0 !important; }
.bj-quote p { font-family: var(--bj-serif); font-size: clamp(22px, 2.6vw, 30px); line-height: 1.45; color: #fff; margin: 0; }
.bj-quote cite { display: block; margin-top: 20px; font-style: normal; font-weight: 600; font-size: 17px; color: var(--bj-gold-light); }

/* ---------- Link cards ---------- */
.bj-linkcards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.bj-linkcard { position: relative; display: flex; flex-direction: column; gap: 8px; padding: 24px; background: #fff; border: 1px solid var(--bj-line); border-radius: 4px; transition: border-color .15s ease; }
.bj-linkcard:hover { border-color: var(--bj-gold); }
.bj-linkcard > * { margin: 0 !important; }
.bj-linkcard h3 { font-family: var(--bj-serif); font-weight: 400; font-size: 21px; color: var(--bj-green); }
.bj-linkcard h3 a { color: inherit; text-decoration: none; }
.bj-linkcard h3 a::after { content: ""; position: absolute; inset: 0; }
.bj-linkcard p { font-size: 15.5px; line-height: 1.5; color: var(--bj-muted); }
.bj-linkcard .bj-more { margin-top: auto !important; padding-top: 6px; }
@media (max-width: 759px) { .bj-linkcards { grid-template-columns: 1fr; } }

/* Image cards (Practice Areas) */
.bj-imgcards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(420px, 100%), 1fr)); gap: 24px; }
.bj-imgcard { position: relative; display: grid; gap: 0; background: #fff; border: 1px solid var(--bj-line); border-radius: 4px; overflow: hidden; transition: border-color .15s ease; }
.bj-imgcard:hover { border-color: var(--bj-gold); }
.bj-imgcard > * { margin: 0 !important; }
.bj-imgcard .wp-block-image img { width: 100%; aspect-ratio: 16/9; object-fit: cover; display: block; }
.bj-imgcard__body { padding: 24px 26px 28px; display: grid; gap: 10px; }
.bj-imgcard__body > * { margin: 0 !important; }
.bj-imgcard h3 { font-family: var(--bj-serif); font-weight: 400; font-size: 24px; color: var(--bj-green); }
.bj-imgcard h3 a { color: inherit; text-decoration: none; }
.bj-imgcard h3 a::after { content: ""; position: absolute; inset: 0; }
.bj-imgcard p { color: var(--bj-slate); }

/* ---------- Home: paths ---------- */
.bj-paths { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(440px, 100%), 1fr)); gap: 32px; }
.bj-path { background: #fff; border: 1px solid var(--bj-line); border-top: 3px solid var(--bj-gold); border-radius: 4px; display: flex; flex-direction: column; }
.bj-path > * { margin: 0 !important; }
.bj-path__head { padding: clamp(22px, 3vw, 36px) clamp(20px, 3vw, 36px) 8px; }
.bj-path__head > * { margin: 0 !important; }
.bj-path__head .bj-eyebrow { margin-bottom: 10px !important; }
.bj-path__head .bj-eyebrow::before { display: none; }
.bj-path__head h3 { font-family: var(--bj-serif); font-weight: 400; font-size: clamp(24px, 2.4vw, 30px); line-height: 1.2; color: var(--bj-green); }
.bj-path__item { margin: 0 clamp(20px, 3vw, 36px) !important; padding: 30px 0 34px; display: flex; flex-direction: column; gap: 12px; }
.bj-path__item + .bj-path__item { border-top: 1px solid var(--bj-line); }
.bj-path__item > * { margin: 0 !important; }
.bj-path__item h4 { font-family: var(--bj-sans); font-size: 18px; font-weight: 600; color: var(--bj-ink); }
.bj-path__item p { font-size: 15.5px; line-height: 1.55; }
.bj-ticks { list-style: none; margin: 2px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px 20px; font-size: 16px; line-height: 1.45; color: var(--bj-slate); }
.bj-ticks li { position: relative; padding-left: 18px; margin: 0; }
.bj-ticks li::before { content: ""; position: absolute; left: 0; top: .72em; width: 9px; height: 1.5px; background: var(--bj-gold); }
.bj-ticks a { color: inherit; text-decoration-color: var(--bj-gold); }
.bj-path__links { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: auto !important; padding-top: 6px; font-size: 15px; font-weight: 600; }
.bj-path__links a { text-decoration: none; color: var(--bj-green); }
.bj-path__links a + a { color: var(--bj-gold-ink); }
.bj-path__quote { margin-top: auto !important; display: flex; gap: 16px; align-items: flex-start; background: var(--bj-paper); border-top: 1px solid var(--bj-line); padding: 22px clamp(20px, 3vw, 36px); }
.bj-path__quote .wp-block-image { margin: 0; flex: none; }
.bj-path__quote img { width: 56px; height: 70px; object-fit: cover; border-radius: 4px; }
.bj-path__quote p { margin: 0; font-family: var(--bj-serif); font-style: italic; font-size: 15.5px; line-height: 1.5; }
.bj-path__quote p + p { font-family: var(--bj-sans); font-style: normal; font-size: 14.5px; color: var(--bj-muted); margin-top: 6px; }
@media (max-width: 560px) { .bj-ticks { grid-template-columns: 1fr; } }

/* ---------- Home: team ---------- */
.bj-team { background: var(--bj-green-bg); color: #E9E5DE; }
.bj-team h2 { color: #fff !important; }
.bj-team .bj-sec__head p { max-width: 54ch; color: #E9E5DE; }
.bj-team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: clamp(14px, 2vw, 24px); }
.bj-team-member { display: grid; gap: 12px; align-content: start; }
.bj-team-member > * { margin: 0 !important; }
.bj-team-member .wp-block-image img { width: 100%; aspect-ratio: 4/5; object-fit: cover; border-radius: 4px; }
.bj-team-member h3 { font-family: var(--bj-serif); font-weight: 400; font-size: clamp(17px, 1.9vw, 22px); color: #fff; }
.bj-team-member .bj-role { color: var(--bj-gold-light); margin-top: -8px !important; }
.bj-team-member a { color: #E9E5DE; font-weight: 600; font-size: 14.5px; text-decoration: none; }
.bj-team-member a:hover { color: var(--bj-gold-light); }
.bj-team .bj-btns { margin-top: 44px !important; }

/* ---------- Home: review + latest posts ---------- */
.bj-feature { display: flex; flex-wrap: wrap; gap: clamp(32px, 5vw, 72px); align-items: flex-start; }
.bj-feature > * { margin: 0 !important; }
.bj-feature__intro { flex: 1 1 300px; min-width: 0; display: grid; gap: 18px; }
.bj-feature__intro > * { margin: 0 !important; }
.bj-feature__quote { flex: 1.6 1 420px; min-width: 0; }
.bj-feature__quote .bj-quote p { color: var(--bj-ink); font-size: clamp(21px, 2.3vw, 27px); }
.bj-feature__quote .bj-quote cite { color: var(--bj-gold-ink); }
.bj-feature__quote .bj-stars { color: var(--bj-gold-deep); }
.bj-postcards .wp-block-post-template { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 32px 28px; margin: 0; padding: 0; list-style: none; }
.bj-postcards .wp-block-post { display: grid; gap: 12px; align-content: start; margin: 0; }
.bj-postcards .wp-block-post > * { margin: 0 !important; }
.bj-postcards .wp-block-post-featured-image img { aspect-ratio: 3/2; object-fit: cover; border-radius: 4px; }
.bj-postcards .wp-block-post-date { font-size: 14px; color: var(--bj-muted); }
.bj-postcards .wp-block-post-title { font-family: var(--bj-serif); font-weight: 400; font-size: 20px; line-height: 1.35; }
.bj-postcards .wp-block-post-title a { color: var(--bj-ink); text-decoration: none; }
.bj-postcards .wp-block-post-title a:hover { color: var(--bj-gold-ink); }

/* ---------- Consultation ---------- */
.bj-consult { background: #fff; border-top: 1px solid var(--bj-line); padding-block: clamp(64px, 8vw, 104px) !important; scroll-margin-top: 90px; }
.bj-consult__grid { display: flex; flex-wrap: wrap; gap: clamp(32px, 5vw, 72px); align-items: flex-start; }
.bj-consult__info { flex: 1 1 320px; min-width: 0; }
.bj-consult__info > * { margin: 0 !important; }
.bj-consult__info h2 { margin-bottom: 14px !important; }
.bj-consult__info > p:not(.bj-eyebrow) { max-width: 46ch; }
.bj-contact { display: grid; gap: 18px; margin-top: 28px !important; }
.bj-contact > * { display: grid; gap: 2px; }
.bj-contact p { margin: 0; }
.bj-contact__label { font-size: 12.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--bj-gold-ink); }
.bj-contact a { font-weight: 600; color: var(--bj-green); text-decoration: none; }
.bj-contact a:hover { color: var(--bj-gold-ink); }
.bj-consult__form { flex: 1.2 1 420px; min-width: 0; background: var(--bj-paper); border: 1px solid var(--bj-line); border-top: 3px solid var(--bj-gold); border-radius: 4px; padding: clamp(22px, 3vw, 36px); }
.bj-consult__form > * { margin-block: 0 !important; }
.bj-consult__form > * + * { margin-top: 16px !important; }
.bj-consult__form label, .bj-consult__form .grunion-field-label { font-size: 14px; font-weight: 500; color: var(--bj-ink); }
.bj-consult__form input[type="text"], .bj-consult__form input[type="email"], .bj-consult__form input[type="tel"], .bj-consult__form select, .bj-consult__form textarea {
  width: 100%; font: inherit; font-size: 16px; padding: 12px 14px; border: 1px solid var(--bj-line); border-radius: 4px; background: #fff; color: var(--bj-ink);
}
.bj-consult__form textarea { min-height: 110px; }
.bj-consult__form button, .bj-consult__form .wp-block-button__link { background: var(--bj-green) !important; color: #fff !important; border: 0; border-radius: 4px; min-height: 52px; padding: 0 22px; font: 600 15px/1 var(--bj-sans); cursor: pointer; }
.bj-consult__form button:hover { background: #2C4B44 !important; }
.bj-consult__small { font-size: 13.5px; line-height: 1.5; color: var(--bj-muted); }
.bj-form-fallback { display: grid; gap: 10px; }

/* ---------- Pages: about / team / reviews / faq ---------- */
.bj-media-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 64px); align-items: center; }
.bj-media-split > * { margin: 0 !important; }
.bj-media-split .wp-block-image img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 4px; }
.bj-media-split__text { display: grid; gap: 18px; }
.bj-media-split__text > * { margin: 0 !important; }
.bj-media-split__text p:not(.bj-eyebrow) { max-width: 56ch; }
@media (max-width: 820px) { .bj-media-split { grid-template-columns: 1fr; } }
.bj-values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.bj-values > * { padding-top: 18px; border-top: 1px solid var(--bj-line); display: grid; gap: 8px; align-content: start; }
.bj-values > * > * { margin: 0 !important; }
.bj-values h3 { font-family: var(--bj-sans); font-size: 18px; font-weight: 600; color: var(--bj-green); }
.bj-values p { font-size: 16px; line-height: 1.55; color: var(--bj-slate); }
@media (max-width: 759px) { .bj-values { grid-template-columns: 1fr; } }
.bj-jump { background: #fff; border-bottom: 1px solid var(--bj-line); padding-block: 20px !important; }
.bj-jump p { display: flex; flex-wrap: wrap; gap: 10px 28px; margin: 0; font-weight: 600; font-size: 15px; }
.bj-jump a { color: var(--bj-green); text-decoration: none; }
.bj-jump a:hover { color: var(--bj-gold-ink); }
.bj-bio { scroll-margin-top: 90px; padding-block: clamp(56px, 7vw, 88px) !important; border-bottom: 1px solid var(--bj-line); }
.bj-bio:nth-of-type(even) { background: #fff; }
.bj-bio .wp-block-columns { gap: clamp(28px, 5vw, 64px); margin: 0; }
.bj-bio .wp-block-column > * { margin-block: 0 !important; }
.bj-bio .wp-block-column > * + * { margin-top: 14px !important; }
.bj-bio .wp-block-image img { width: 100%; aspect-ratio: 4/5; object-fit: cover; border-radius: 4px; }
.bj-bio__contact { font-size: 15px; display: grid; gap: 4px; }
.bj-bio__contact a { color: var(--bj-green); text-decoration: none; }
.bj-bio h2 { font-family: var(--bj-serif); font-weight: 400; font-size: clamp(30px, 3.4vw, 42px); line-height: 1.15; color: var(--bj-ink); }
.bj-bio .bj-role { margin-bottom: -6px !important; }
.bj-bio p { max-width: 64ch; }
.bj-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.bj-chips a { display: inline-flex; align-items: center; min-height: 36px; padding: 0 14px; border: 1px solid var(--bj-line); border-radius: 2px; background: #fff; font-size: 14.5px; font-weight: 600; color: var(--bj-green); text-decoration: none; }
.bj-chips a:hover { border-color: var(--bj-gold); }
.bj-reviews-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(420px, 100%), 1fr)); gap: 24px; }
.bj-review { background: #fff; border: 1px solid var(--bj-line); border-radius: 4px; padding: clamp(24px, 3vw, 36px) !important; margin: 0 !important; display: flex; flex-direction: column; gap: 16px; }
.bj-review::before { content: "★★★★★"; color: var(--bj-gold-deep); letter-spacing: 4px; font-size: 16px; }
.bj-review p { font-family: var(--bj-serif); font-size: 19px; line-height: 1.55; color: var(--bj-ink); margin: 0; }
.bj-review cite { font-style: normal; font-weight: 600; color: var(--bj-gold-ink); font-size: 16px; }
.bj-faq { display: grid; gap: 56px; max-width: 900px; }
.bj-faq__group > * { margin: 0 !important; }
.bj-faq__group > .bj-eyebrow { margin-bottom: 0 !important; }
.bj-faq__group .wp-block-details { border-bottom: 1px solid var(--bj-line); margin: 0 !important; }
.bj-faq__group .bj-eyebrow + .wp-block-details { border-top: 1px solid var(--bj-line); margin-top: 14px !important; }
.bj-faq__group summary { list-style: none; display: flex; justify-content: space-between; gap: 20px; align-items: center; padding: 20px 0; cursor: pointer; font-family: var(--bj-serif); font-size: clamp(18px, 1.8vw, 20px); line-height: 1.4; color: var(--bj-ink); }
.bj-faq__group summary::-webkit-details-marker { display: none; }
.bj-faq__group summary::after { content: "+"; flex: none; font-family: var(--bj-sans); font-size: 22px; color: var(--bj-gold-deep); transition: transform .2s ease; }
.bj-faq__group details[open] summary::after { transform: rotate(45deg); }
.bj-faq__group details p { margin: 0 0 22px; max-width: 64ch; color: var(--bj-slate); }

/* ---------- Article (single post) ---------- */
.bj-hero--article h1 { max-width: 24ch; font-size: clamp(30px, 3.9vw, 48px) !important; line-height: 1.18; }
.bj-hero--article .wp-block-post-terms { margin: 0; }
.bj-hero--article .wp-block-post-terms a { color: var(--bj-gold-light) !important; text-decoration: none; }
.bj-byline { font-size: 15px; color: var(--bj-sage); display: flex; flex-wrap: wrap; gap: 6px 18px; }
.bj-byline a { color: #fff !important; font-weight: 600; text-decoration: none; }
.bj-article-grid { display: flex; flex-wrap: wrap; gap: clamp(32px, 5vw, 72px); align-items: flex-start; padding-block: clamp(40px, 6vw, 72px) clamp(56px, 7vw, 96px) !important; }
.bj-article-main { flex: 1 1 560px; min-width: 0; max-width: 720px; }
.bj-article-main > * { margin-block: 0 !important; }
.bj-article-main .wp-block-post-featured-image { margin-bottom: 36px !important; }
.bj-article-main .wp-block-post-featured-image img { width: 100%; aspect-ratio: 16/9; object-fit: cover; border-radius: 4px; }
.bj-prose { font-size: 18px; line-height: 1.72; color: var(--bj-ink); }
.bj-prose > * { margin-block: 0 0 1.1em !important; max-width: none !important; }
.bj-prose h2 { font-family: var(--bj-serif); font-weight: 400; font-size: clamp(24px, 2.6vw, 30px); line-height: 1.25; color: var(--bj-green); margin: 1.6em 0 .6em !important; text-wrap: balance; }
.bj-prose h3 { font-family: var(--bj-sans); font-size: 19px; font-weight: 600; line-height: 1.35; color: var(--bj-green); margin: 1.4em 0 .4em !important; }
.bj-prose ul, .bj-prose ol { padding-left: 1.3em; }
.bj-prose li { margin: 0 0 .5em; padding-left: .2em; }
.bj-prose li::marker { color: var(--bj-gold-deep); }
.bj-prose a { color: var(--bj-green); text-decoration-color: var(--bj-gold); text-decoration-thickness: 1.5px; }
.bj-prose a:hover { color: var(--bj-gold-ink); }
.bj-article-aside { flex: 0 1 300px; min-width: 0; display: grid; gap: 20px; position: sticky; top: 110px; }
.bj-article-aside > * { margin: 0 !important; }
.bj-aside-cta { background: var(--bj-green); color: #E9E5DE; border-radius: 4px; border-top: 3px solid var(--bj-gold); padding: 26px; display: grid; gap: 12px; }
.bj-aside-cta > * { margin: 0 !important; }
.bj-aside-cta .bj-aside-cta__title { font-family: var(--bj-serif); font-size: 21px; line-height: 1.3; color: #fff; }
.bj-aside-cta .wp-block-button, .bj-aside-cta .wp-block-button__link { width: 100%; }
.bj-aside-cta .bj-aside-cta__call { text-align: center; }
.bj-aside-cta .bj-aside-cta__call a { color: #fff; font-weight: 600; text-decoration: none; }
.bj-aside-link { display: grid; gap: 6px; padding: 22px; background: #fff; border: 1px solid var(--bj-line); border-radius: 4px; text-decoration: none; color: var(--bj-ink); }
.bj-aside-link:hover { border-color: var(--bj-gold); color: var(--bj-ink); }
.bj-aside-link span:first-child { font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--bj-gold-ink); }
.bj-aside-link span:nth-child(2) { font-family: var(--bj-serif); font-size: 19px; color: var(--bj-green); }
.bj-aside-link span:last-child { font-size: 15px; font-weight: 600; color: var(--bj-gold-ink); }
@media (max-width: 900px) { .bj-article-aside { position: static; } }
.bj-related { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); gap: 16px; }
.bj-related a { display: grid; gap: 8px; align-content: start; padding: 22px; background: #fff; border: 1px solid var(--bj-line); border-radius: 4px; text-decoration: none; color: var(--bj-ink); }
.bj-related a:hover { border-color: var(--bj-gold); }
.bj-related .bj-related__cat { font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--bj-gold-ink); }
.bj-related .bj-related__title { font-family: var(--bj-serif); font-size: 18px; line-height: 1.4; color: var(--bj-green); }
.bj-related .bj-related__date { font-size: 14px; color: var(--bj-muted); }

/* ---------- Resources library ---------- */
.bj-lib-wrap { display: grid; gap: 26px; }
.bj-lib-wrap > * { margin: 0 !important; }
.bj-lib-toolbar { display: flex; flex-wrap: wrap; gap: 14px 24px; align-items: center; justify-content: space-between; }
.bj-lib-search { position: relative; flex: 1 1 300px; max-width: 480px; display: block; }
.bj-lib-search input { width: 100%; height: 50px; padding: 0 16px 0 46px; border: 1px solid var(--bj-line); border-radius: 4px; background: #fff; font: inherit; font-size: 16px; color: var(--bj-ink); }
.bj-lib-search svg { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: var(--bj-muted); pointer-events: none; }
.bj-lib-tools { display: flex; flex-wrap: wrap; gap: 12px 16px; align-items: center; }
.bj-seg { display: inline-flex; border: 1px solid var(--bj-line); border-radius: 4px; overflow: hidden; background: #fff; }
.bj-seg button { height: 44px; padding: 0 14px; border: 0; background: transparent; font: 600 14px/1 var(--bj-sans); color: var(--bj-slate); display: inline-flex; gap: 8px; align-items: center; cursor: pointer; }
.bj-seg button + button { border-left: 1px solid var(--bj-line); }
.bj-seg button[aria-pressed="true"] { background: var(--bj-green); color: #fff; }
.bj-per-wrap { display: inline-flex; align-items: center; gap: 8px; font-size: 14.5px; color: var(--bj-muted); }
.bj-per-wrap select { height: 44px; padding: 0 12px; border: 1px solid var(--bj-line); border-radius: 4px; background: #fff; font: inherit; font-size: 15px; color: var(--bj-ink); cursor: pointer; }
.bj-chipbar { display: flex; flex-wrap: wrap; gap: 8px; }
.bj-chipbar button { height: 40px; padding: 0 16px; border: 1px solid var(--bj-line); border-radius: 999px; background: #fff; font: 500 14.5px/1 var(--bj-sans); color: var(--bj-green); cursor: pointer; display: inline-flex; align-items: center; gap: 8px; }
.bj-chipbar button small { font-size: 12.5px; color: #6B7268; }
.bj-chipbar button[aria-pressed="true"] { background: var(--bj-green); border-color: var(--bj-green); color: #fff; }
.bj-chipbar button[aria-pressed="true"] small { color: var(--bj-sage); }
.bj-lib-count { margin: 0; font-size: 14.5px; color: var(--bj-muted); font-variant-numeric: tabular-nums; }
.bj-lib-reset { padding: 0; border: 0; background: none; font: 600 14.5px var(--bj-sans); color: var(--bj-gold-ink); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.bj-lib .wp-block-post-template { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr)); gap: 40px 28px; margin: 0; padding: 0; list-style: none; }
.bj-lib .wp-block-post { display: grid; gap: 14px; align-content: start; margin: 0; }
.bj-lib .wp-block-post[hidden] { display: none !important; }
.bj-lib .wp-block-post > * { margin: 0 !important; }
.bj-lib .wp-block-post-featured-image img { aspect-ratio: 3/2; object-fit: cover; border-radius: 4px; width: 100%; transition: opacity .2s ease; }
.bj-lib .wp-block-post:hover .wp-block-post-featured-image img { opacity: .88; }
.bj-lib-body { display: grid; gap: 8px; min-width: 0; }
.bj-lib-body > * { margin: 0 !important; }
.bj-lib-meta { display: flex; flex-wrap: wrap; gap: 4px 12px; font-size: 13.5px; color: var(--bj-muted); }
.bj-lib-meta > * { margin: 0 !important; }
.bj-lib-meta .wp-block-post-terms a { font-weight: 600; color: var(--bj-gold-ink); text-decoration: none; }
.bj-lib .wp-block-post-title { font-family: var(--bj-serif); font-weight: 400; font-size: 20px; line-height: 1.35; text-wrap: balance; }
.bj-lib .wp-block-post-title a { color: var(--bj-green); text-decoration: none; }
.bj-lib .wp-block-post-title a:hover { color: var(--bj-gold-ink); }
.bj-lib .wp-block-post-excerpt { font-size: 15.5px; line-height: 1.55; color: var(--bj-slate); }
.bj-lib .wp-block-post-excerpt__excerpt { margin: 0; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.bj-lib .wp-block-post-excerpt__more-text { display: none; }
.bj-lib.is-list .wp-block-post-template { grid-template-columns: 1fr; gap: 0; border-top: 1px solid var(--bj-line); }
.bj-lib.is-list .wp-block-post { grid-template-columns: 176px minmax(0, 1fr); gap: 26px; padding: 22px 0; border-bottom: 1px solid var(--bj-line); align-items: center; }
.bj-lib.is-list .wp-block-post-excerpt__excerpt { -webkit-line-clamp: 2; }
.bj-lib-empty { padding: 44px 24px; border: 1px dashed var(--bj-line); border-radius: 4px; text-align: center; display: grid; gap: 14px; justify-items: center; }
.bj-lib-empty p { margin: 0; }
.bj-lib-empty button { height: 44px; padding: 0 18px; border: 1.5px solid var(--bj-green); border-radius: 4px; background: transparent; font: 600 15px/1 var(--bj-sans); color: var(--bj-green); cursor: pointer; }
.bj-pager { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; padding-top: 6px; }
.bj-pager button { min-width: 44px; height: 44px; padding: 0 14px; border: 1px solid var(--bj-line); border-radius: 4px; background: #fff; font: 600 15px/1 var(--bj-sans); color: var(--bj-green); cursor: pointer; }
.bj-pager button[aria-current="page"] { background: var(--bj-green); border-color: var(--bj-green); color: #fff; }
.bj-pager button:disabled { opacity: .4; cursor: default; }
.bj-lib-wrap [hidden] { display: none !important; }
.wp-block-query-pagination { margin-top: 40px; gap: 10px; font-weight: 600; }
@media (max-width: 600px) {
  .bj-lib.is-list .wp-block-post { grid-template-columns: 96px minmax(0, 1fr); gap: 16px; padding: 18px 0; }
  .bj-lib.is-list .wp-block-post-excerpt { display: none; }
  .bj-lib.is-list .wp-block-post-title { font-size: 17px; }
  .bj-seg button span { display: none; }
}

/* ---------- Generic page content (pages edited without the designed sections) ---------- */
.bj-main .wp-block-post-content > p, .bj-main .wp-block-post-content > ul, .bj-main .wp-block-post-content > ol { max-width: 720px; }

/* ---------- Page fade between pages ---------- */
/* Page changes: the browser cross-fades from one page to the next (Chrome, Edge, Safari). No delay, no loading screen. */
@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .22s; animation-timing-function: ease; }
@media (prefers-reduced-motion: reduce) {
  ::view-transition-old(root), ::view-transition-new(root) { animation: none; }
  body, .bj-lib .wp-block-post-featured-image img { transition: none; }
  .bj-typing::after { animation: none; }
}

/* ---------- Header navigation: use the menu button below 1100px (core switches at 600px) ---------- */
@media (max-width: 1199px) {
  .bj-header .wp-block-navigation__responsive-container-open:not(.always-shown) { display: flex !important; }
  .bj-header .wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open) { display: none !important; }
  .bj-header .wp-block-navigation__responsive-container.is-menu-open { display: flex !important; flex-direction: column; position: fixed; inset: 0; z-index: 100000; }
  .bj-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-close { display: flex; }
  .bj-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-dialog,
  .bj-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content { display: flex; flex-direction: column; align-items: flex-start; }
  .bj-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
  .bj-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__submenu-container { position: static; opacity: 1; visibility: visible; height: auto; width: auto; display: flex; flex-direction: column; }
  .bj-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__submenu-icon { display: none; }
}
.bj-header .wp-block-navigation__submenu-container .bj-nav-all .wp-block-navigation-item__label { color: var(--bj-gold-ink); }

/* Plain pages, 404 and search */
.bj-plain-page { padding-block: clamp(48px, 7vw, 88px) !important; }
.bj-plain-page h1 { font-family: var(--bj-serif); font-weight: 400; font-size: clamp(32px, 4vw, 48px); line-height: 1.15; color: var(--bj-green); }
.bj-search-results .wp-block-post { padding: 20px 0; border-bottom: 1px solid var(--bj-line); }
.bj-search-results .wp-block-post-title { font-family: var(--bj-serif); font-weight: 400; font-size: 22px; }
.bj-search-results .wp-block-post-title a { color: var(--bj-green); text-decoration: none; }

/* Narrow text in heroes and sections lines up with the content edge instead of centring */
.bj-hero--simple.is-layout-constrained > *,
.bj-sec.is-layout-constrained > .bj-lead,
.bj-sec.is-layout-constrained > .bj-note:not(.bj-center) {
  margin-left: max(0px, calc((100% - var(--wp--style--global--content-size)) / 2)) !important;
  margin-right: auto !important;
}

/* Dropdown: label above its description */
.bj-header .wp-block-navigation .wp-block-navigation__submenu-container .wp-block-navigation-item__content { display: flex !important; flex-direction: column; align-items: flex-start; }
/* Open mobile menu: everything left-aligned */
.bj-header .wp-block-navigation__responsive-container.is-menu-open { --navigation-layout-justification-setting: flex-start; --navigation-layout-justify: flex-start; }
.bj-header .is-menu-open .wp-block-navigation__container,
.bj-header .is-menu-open .wp-block-navigation-item,
.bj-header .is-menu-open .wp-block-navigation__submenu-container { align-items: flex-start !important; text-align: left; }
.bj-header .is-menu-open .wp-block-navigation__submenu-container { padding: 4px 0 8px 16px !important; gap: 2px; }
.bj-header .is-menu-open .wp-block-navigation__submenu-container .wp-block-navigation-item__content { padding: 6px 0 !important; font-size: 17px; }
.bj-consult__form textarea { height: 130px; }

/* The results footnote under the stat strip shouldn't push the next section down */
.bj-statstrip-wrap + .bj-sec { padding-top: clamp(40px, 4.5vw, 60px) !important; }

/* ---------- QA round 2 ---------- */
/* Home headline on three lines, as designed */
.bj-home-h1 em { display: block; }
/* Hero headings on practice pages: a little smaller, two lines on desktop */
.bj-hero--split .bj-display { font-size: clamp(32px, 3.7vw, 48px) !important; }
/* Header phone icon */
.bj-header__phone svg { flex: none; }
/* Section intros: short paragraph under the heading; team intro beside its heading */
.bj-sec__head > p:not(.bj-more) { max-width: 52ch; }
.bj-sec__head:has(> p:not(.bj-more)) { flex-direction: column; align-items: flex-start; justify-content: flex-start; }
.bj-team .bj-sec__head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px clamp(32px, 5vw, 72px); align-items: end; }
.bj-team .bj-sec__head h2 { max-width: 17ch; }
.bj-team .bj-sec__head > p { font-size: 16px; }
@media (max-width: 860px) { .bj-team .bj-sec__head { grid-template-columns: 1fr; } .bj-team .bj-sec__head h2 { max-width: none; } }
/* Review carousel */
.bj-carousel .bj-quote[hidden] { display: none !important; }
.bj-carousel__nav { display: flex; align-items: center; gap: 12px; margin-top: 22px !important; font-size: 14px; color: var(--bj-muted); }
.bj-carousel__nav button { width: 40px; height: 40px; border: 1px solid var(--bj-line); border-radius: 50%; background: #fff; color: var(--bj-green); font-size: 16px; cursor: pointer; }
.bj-carousel__nav button:hover { border-color: var(--bj-green); }
/* Resources: read link and blog card meta */
.bj-lib .wp-block-read-more, .bj-readmore { font-size: 14px; font-weight: 600; color: var(--bj-gold-ink); text-decoration: none; margin-top: 4px; display: inline-block; }
/* Article disclaimer */
.bj-article-disclaimer { margin-top: 32px !important; font-size: 15px; color: var(--bj-muted); }
/* Consultation section: stone background, white form card, larger phone */
.bj-consult { background: var(--bj-stone) !important; border-top: 0; }
.bj-consult__form { background: #fff; border: 1px solid var(--bj-line); border-top: 1px solid var(--bj-line); }
.bj-contact > :first-child a { font-family: var(--bj-serif); font-weight: 400; font-size: 24px; color: var(--bj-green); }
.bj-consult__form input[type="text"], .bj-consult__form input[type="email"], .bj-consult__form input[type="tel"], .bj-consult__form select, .bj-consult__form textarea { background: var(--bj-paper) !important; }
/* Mobile: menu button after the consult button, and a call bar at the bottom */

.bj-mobilebar { display: none; }
@media (max-width: 781px) {
  .bj-mobilebar { display: grid; grid-template-columns: 1fr 2.2fr; gap: 10px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; padding: 10px var(--bj-gutter) calc(10px + env(safe-area-inset-bottom)); background: var(--bj-deep); box-shadow: 0 -6px 20px rgba(0,0,0,.18); }
  .bj-mobilebar a { display: flex; align-items: center; justify-content: center; min-height: 48px; border-radius: 4px; font-weight: 600; font-size: 15px; text-decoration: none !important; }
  .bj-mobilebar__call { border: 1.5px solid rgba(233,229,222,.5); color: #fff !important; }
  .bj-mobilebar__cta { background: var(--bj-gold); color: var(--bj-deep) !important; }
  body { padding-bottom: 72px; }
}
.bj-with-extras .bj-read { margin-left: 10px; }
.bj-postcards .bj-with-extras .bj-read { margin-left: 0; }
.bj-postcards .bj-with-extras .bj-read::before { content: " · "; }
.bj-team .bj-sec__head { align-items: end !important; }
/* No stray gaps between full-width sections */
.bj-main > *, .bj-main > .wp-block-post-content > .alignfull { margin-block: 0 !important; }
.bj-article-disclaimer { font-size: 16px; }
/* Intake choices stay two across on phones, like the design */
@media (max-width: 700px) { .bj-intake__choices { grid-template-columns: 1fr 1fr !important; } .bj-intake__choices a { padding: 12px 14px; font-size: 15px; } }

/* ---------- Button groups: equal widths side by side; full width and stacked on phones ---------- */
.wp-block-buttons.bj-btns { display: grid !important; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 12px; width: max-content; max-width: 100%; }
.wp-block-buttons.bj-btns > .wp-block-button { width: 100%; margin: 0; }
.wp-block-buttons.bj-btns > .wp-block-button > .wp-block-button__link { width: 100%; min-width: 0; padding-inline: 26px; text-align: center; }
@media (max-width: 600px) {
  .wp-block-buttons.bj-btns { display: grid !important; grid-auto-flow: row; grid-auto-columns: auto; grid-template-columns: 1fr; width: 100%; }
  .bj-mobilebar { grid-template-columns: 1fr 1fr; }
}
.wp-block-buttons.bj-btns > .wp-block-button > .wp-block-button__link { white-space: nowrap; }
/* Narrow hero columns: stack the two buttons, still equal width */
.bj-hero--split .wp-block-buttons.bj-btns { grid-auto-flow: row; }
@media (max-width: 600px) { .wp-block-buttons.bj-btns > .wp-block-button > .wp-block-button__link { white-space: normal; } }

/* ---------- Header balance: logo and the phone/button group take equal space, menu sits in the middle ---------- */

/* ---------- Home practice cards: sections line up across both cards ---------- */
@supports (grid-template-rows: subgrid) {
  .bj-paths { grid-auto-rows: auto; }
  .bj-path { display: grid !important; grid-row: span 4; grid-template-rows: subgrid; row-gap: 0; }
  .bj-path__quote { margin-top: 0 !important; }
}

/* ---------- Header: full width, three columns (logo left · menu centre · phone + button right) ---------- */
.bj-header__inner {
  max-width: none; margin: 0; padding: 0 clamp(16px, 3vw, 48px);
  display: grid !important; grid-template-columns: minmax(max-content, 1fr) auto minmax(max-content, 1fr);
  align-items: center; column-gap: clamp(16px, 2vw, 32px);
}
.bj-header__inner > * { margin: 0 !important; }
.bj-header .bj-brand { grid-column: 1; justify-self: start; margin: 0 !important; }
.bj-header .wp-block-navigation { grid-column: 2; justify-self: center; }
.bj-header__actions { grid-column: 3; justify-self: end; display: flex; align-items: center; gap: clamp(14px, 1.6vw, 24px); }
.bj-header__actions > * { margin: 0 !important; }
.bj-header .bj-header__phone { display: block; }
.bj-header__phone a { white-space: nowrap; }
/* Medium desktops: phone shows as an icon so the menu keeps its room */
@media (max-width: 1199px) {
  .bj-header__phone-num { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .bj-header__phone a { width: 44px; height: 44px; justify-content: center; border: 1px solid var(--bj-line); border-radius: 4px; }
  .bj-header__phone svg { width: 18px; height: 18px; }
}
/* Tablets and phones: menu button on the far right */
@media (max-width: 1199px) {
  .bj-header__inner { grid-template-columns: 1fr auto auto; }
  .bj-header .bj-brand { grid-column: 1; }
  .bj-header__actions { grid-column: 2; }
  .bj-header .wp-block-navigation { grid-column: 3; justify-self: end; }
}
@media (max-width: 781px) { .bj-header .bj-header__phone { display: none; } }
@media (max-width: 380px) { .bj-header .bj-brand img { width: 30px; } .bj-header .bj-brand__name { font-size: 15px; } .bj-header .bj-brand__name small { font-size: 9.5px; letter-spacing: .14em; } .bj-header__inner { column-gap: 10px; } .bj-header .bj-header__cta .wp-block-button__link { padding: 0 10px; } }
.bj-header .bj-brand, .bj-header .wp-block-navigation, .bj-header__actions { grid-row: 1; }
@media (max-width: 360px) { .bj-header .bj-brand { gap: 6px; } .bj-header .bj-brand img { width: 26px; } .bj-header .bj-brand__name { font-size: 14px; } .bj-header .bj-header__cta .wp-block-button__link { padding: 0 9px; font-size: 13px; min-height: 40px; } .bj-header .wp-block-navigation__responsive-container-open { width: 40px; height: 40px; } }
html.has-modal-open .bj-mobilebar { display: none !important; }

/* ---------- Header container: centred, max 1280px, three groups ---------- */
.bj-header__inner { max-width: 1280px; margin: 0 auto; padding: 0 clamp(32px, 3vw, 40px); min-height: 80px; column-gap: 32px; }
.bj-header .wp-block-navigation { gap: 22px; }
.bj-header .wp-block-navigation .wp-block-navigation__container { gap: 22px; justify-content: center; }
.bj-header__actions { gap: 20px; }
@media (max-width: 600px) { .bj-header__inner { padding: 0 16px; column-gap: 12px; } }
.bj-main [id] { scroll-margin-top: 100px; } .admin-bar .bj-main [id] { scroll-margin-top: 132px; }
.bj-bio__contact a:first-child { font-weight: 600; color: var(--bj-gold-ink) !important; }

/* ---------- Booking calendar (Free Consultation page, when a booking link is set) ---------- */
.bj-booking { background: #fff; border-top: 1px solid var(--bj-line); }
.bj-booking__inner > * { margin-block: 0 !important; }
.bj-booking__inner > * + * { margin-top: 14px !important; }
.bj-booking h2 { font-family: var(--bj-serif); font-weight: 400; color: var(--bj-green); }
.bj-booking .bj-lead-dark { max-width: 60ch; color: var(--bj-slate); }
.bj-booking__embed { display: block; width: 100%; min-width: 280px; height: 720px; border: 1px solid var(--bj-line); border-radius: 4px; margin-top: 28px !important; background: var(--bj-paper); }
@media (max-width: 600px) { .bj-booking__embed { height: 1000px; } }
.bj-booking { padding-inline: var(--wp--style--root--padding-left, 40px) !important; } .bj-booking__inner { max-width: 1100px; margin: 0 auto; }

/* Free Consultation: booking first, inquiry form behind "Send an inquiry" */
.bj-booking { padding-bottom: 24px !important; }
.bj-inquiry { margin-block: 0 !important; }
.bj-inquiry > summary { list-style: none; cursor: pointer; background: #fff; padding: 8px max(var(--wp--style--root--padding-left, 40px), calc((100% - 1100px) / 2)) 56px; font-size: 1.05rem; color: var(--bj-slate); }
.bj-inquiry > summary::-webkit-details-marker { display: none; }
.bj-inquiry__link { color: var(--bj-green); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.bj-inquiry__link::after { content: " \2193"; text-decoration: none; display: inline-block; margin-left: 2px; transition: transform .2s; }
.bj-inquiry[open] .bj-inquiry__link::after { transform: rotate(180deg); }
.bj-inquiry > summary:hover .bj-inquiry__link, .bj-inquiry > summary:focus-visible .bj-inquiry__link { color: var(--bj-gold-deep); }
.bj-inquiry > summary:focus-visible { outline: 2px solid var(--bj-green); outline-offset: -4px; }
.bj-booking__tel { color: var(--bj-green); font-weight: 600; white-space: nowrap; }

/* Two booking calendars: pick one first */
.bj-booking__choose { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 14px; margin-top: 24px !important; }
.bj-booking__choice { display: block; padding: 18px 20px; border: 1px solid var(--bj-line); border-radius: 6px; background: var(--bj-paper); color: var(--bj-ink, inherit); text-decoration: none; transition: border-color .15s, box-shadow .15s; }
.bj-booking__choice strong { display: block; font-size: 1.05rem; color: var(--bj-green); }
.bj-booking__choice span { display: block; margin-top: 4px; font-size: .92rem; color: var(--bj-slate); }
.bj-booking__choice:hover, .bj-booking__choice:focus-visible { border-color: var(--bj-gold); }
.bj-booking__choice[aria-pressed="true"] { border-color: var(--bj-gold); box-shadow: inset 0 0 0 1px var(--bj-gold); background: #fff; }
.bj-booking__other { font-size: .9rem; color: var(--bj-slate); }
.bj-booking__other a { color: var(--bj-green); font-weight: 600; }
.bj-booking__who { margin-top: 28px !important; font-weight: 600; color: var(--bj-green); }
.bj-booking--multi .bj-booking__panel .bj-booking__embed { margin-top: 12px !important; }
.bj-booking:not(.bj-booking--multi) .bj-booking__who { display: none; }
.bj-booking__embed iframe { display: block; width: 100%; height: 100%; border: 0; }
/* "Rather pick a time?" line above the inquiry form on practice-area pages */
.bj-bookprompt { margin: 0 !important; padding: 18px var(--wp--style--root--padding-left, 40px); text-align: center; background: #fff; border-top: 1px solid var(--bj-line); font-size: 1.02rem; color: var(--bj-slate); }
.bj-bookprompt a { color: var(--bj-green); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
