/*
Theme Name: LCB
Theme URI: https://legalclientboost.com
Author: Legal Client Boost
Description: Block theme for Legal Client Boost, marketing for law firms. Navy and gold.
Version: 3.3.5
Requires at least: 6.5
Requires PHP: 7.4
Text Domain: lcb
*/

:root {
  --ink: #0F2A44;
  --red: #184B79;
  --red-dark: #0F3556;
  --tint: #EEF4FA;
  --soft: #F8FAFC;
  --slate: #475569;
  --line: #E2E8F0;
  --radius: 16px;
  --shadow: 0 18px 40px -18px rgba(15,42,68, .25);
}

html { scroll-behavior: smooth; }
body { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility; }
::selection { background: var(--red); color: #fff; }
a { text-underline-offset: 3px; text-decoration-thickness: 1px; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; border-radius: 4px; }

/* ---------- Layout resets ---------- */
.wp-site-blocks > * { margin-block-start: 0; }
.lcb-main > *, .entry-content > .alignfull { margin-block-start: 0; }
.entry-content > .alignfull + .alignfull { margin-block-start: 0; }

/* ---------- Header ---------- */
.wp-site-blocks > header { position: sticky; top: 0; z-index: 100; }
.lcb-header { background: rgba(255, 255, 255, .88); backdrop-filter: saturate(180%) blur(14px); -webkit-backdrop-filter: saturate(180%) blur(14px); border-bottom: 1px solid var(--line); padding: 14px 24px; }
.lcb-header .wp-block-site-logo img { display: block; height: auto; }
.lcb-header .wp-block-navigation { gap: 6px; }
.lcb-header .wp-block-navigation-item__content { color: var(--ink); padding: 8px 12px !important; border-radius: 8px; transition: color .15s, background .15s; }
.lcb-header .wp-block-navigation-item__content:hover,
.lcb-header .current-menu-item > .wp-block-navigation-item__content { color: var(--red); background: var(--tint); text-decoration: none; }
.lcb-header .wp-block-navigation__submenu-container { border: 1px solid var(--line) !important; border-radius: 14px; box-shadow: var(--shadow); padding: 8px !important; min-width: 290px !important; background: #fff !important; }
.lcb-header .wp-block-navigation__submenu-container .wp-block-navigation-item__content { font-weight: 500; }
.lcb-header .wp-block-button__link { padding: .65rem 1.15rem; white-space: nowrap; }
.wp-block-navigation__responsive-container.is-menu-open { padding: 24px; }
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content { font-size: 1.15rem; }
/* Bigger logo so the tagline under it is readable; hero eyebrow line is larger too. */
.lcb-header .wp-block-site-logo img { width: 260px; max-width: 100%; }
.lcb-dark p[style*="color:#DFB75B"][style*="font-size:21px"] { font-weight: 600; letter-spacing: .14em; }
@media (max-width: 1100px) { .lcb-header .wp-block-site-logo img { width: 220px; } }
@media (max-width: 600px) {
  .lcb-header { padding: 10px 16px; }
  .lcb-header .wp-block-site-logo img { width: 180px; }
  .lcb-dark p[style*="color:#DFB75B"][style*="font-size:21px"] { font-size: 16px !important; letter-spacing: .1em; }
  .lcb-header .wp-block-button__link { padding: .5rem .8rem; font-size: .82rem; }
}

/* ---------- Buttons ---------- */
.wp-block-button__link { transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease, filter .15s ease; box-shadow: 0 8px 20px -10px rgba(24,75,121, .55); }
.wp-block-button__link:hover { transform: translateY(-2px); filter: brightness(.94); box-shadow: 0 14px 26px -12px rgba(24,75,121, .6); }
.wp-block-button__link[style*="background-color:#FFFFFF"] { box-shadow: none; border: 1px solid rgba(255, 255, 255, .0); }

/* ---------- Dark sections / hero ---------- */
.lcb-dark { position: relative; overflow: hidden; background-color: var(--ink) !important;
  background-image:
    radial-gradient(900px 480px at 88% -12%, rgba(24,75,121, .38), transparent 62%),
    radial-gradient(640px 420px at -6% 112%, rgba(24,75,121, .2), transparent 60%),
    linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px) !important;
  background-size: auto, auto, 44px 44px, 44px 44px; }
.lcb-dark h1, .lcb-dark h2, .lcb-dark h3 { color: #fff; }
.lcb-dark a:not(.wp-block-button__link) { color: #DFB75B; }
.lcb-eyebrow { font-family: var(--wp--preset--font-family--heading); font-weight: 700; letter-spacing: .16em; text-transform: uppercase; font-size: .8rem !important; }
.lcb-eyebrow.is-chip { display: inline-block; }

/* ---------- Cards ---------- */
.lcb-card { border: 1px solid var(--line); height: 100%; box-sizing: border-box; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; position: relative; }
.lcb-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #DFB75B; }
.lcb-card h3 { margin-top: 0; }
.lcb-card a { font-weight: 600; text-decoration: none; }
.lcb-card a:hover { text-decoration: underline; }
.wp-block-columns { gap: 24px; }
.wp-block-column > .lcb-card { margin-block-start: 0; }

/* ---------- Lists ---------- */
.entry-content ul.wp-block-list, .lcb-main ul.wp-block-list { list-style: none; padding-left: 0; }
.entry-content ul.wp-block-list > li, .lcb-main ul.wp-block-list > li { position: relative; padding-left: 30px; margin: 10px 0; }
.entry-content ul.wp-block-list > li::before, .lcb-main ul.wp-block-list > li::before { content: ""; position: absolute; left: 0; top: .42em; width: 18px; height: 18px; border-radius: 50%; background: var(--red) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center/12px no-repeat; }

/* ---------- FAQ ---------- */
.wp-block-details { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 18px 22px; margin-block: 12px; transition: border-color .2s, box-shadow .2s; }
.wp-block-details[open] { border-color: #DFB75B; box-shadow: var(--shadow); }
.wp-block-details summary { cursor: pointer; font-family: var(--wp--preset--font-family--heading); font-weight: 700; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.wp-block-details summary::-webkit-details-marker { display: none; }
.wp-block-details summary::after { content: ""; flex: none; width: 28px; height: 28px; border-radius: 50%; background: linear-gradient(var(--red),var(--red)) center/12px 2px no-repeat, linear-gradient(var(--red),var(--red)) center/2px 12px no-repeat, var(--tint); transition: transform .2s; }
.wp-block-details[open] summary::after { transform: rotate(45deg); }
.wp-block-details p { color: var(--slate); margin-bottom: 0; }

/* ---------- Blog index ---------- */
.lcb-bloghead { padding: 88px 24px 76px; }
.lcb-bloghead p { color: #CBD5E1; max-width: 640px; margin-inline: auto; }
.lcb-blogwrap { padding: 64px 24px 96px; background: var(--soft); }
ul.lcb-post-grid { display: grid !important; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)) !important; gap: 28px !important; list-style: none; padding: 0; margin: 0; }
ul.lcb-post-grid > li { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; margin: 0; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
ul.lcb-post-grid > li:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #DFB75B; }
ul.lcb-post-grid .wp-block-post-featured-image { margin: 0; aspect-ratio: 16/9; overflow: hidden; background: linear-gradient(135deg, var(--ink), #0F2A44); }
ul.lcb-post-grid .wp-block-post-featured-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
ul.lcb-post-grid > li:hover .wp-block-post-featured-image img { transform: scale(1.04); }
.lcb-post-body { padding: 24px 26px 26px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.lcb-post-body > * { margin: 0 !important; }
.lcb-post-body .wp-block-post-title { font-size: 1.3rem; line-height: 1.3; }
.lcb-post-body .wp-block-post-title a { color: var(--ink); text-decoration: none; }
.lcb-post-body .wp-block-post-title a:hover { color: var(--red); }
.lcb-post-body .wp-block-post-excerpt { color: var(--slate); font-size: .98rem; }
.lcb-post-body .wp-block-post-excerpt__more-text { margin-top: 8px; }
.lcb-post-body .wp-block-post-excerpt__more-link { font-weight: 600; text-decoration: none; font-size: .95rem; }
.lcb-post-body .wp-block-post-date { color: #64748B; font-size: .85rem; margin-top: auto !important; padding-top: 8px; }
.wp-block-post-terms a, .lcb-chip { display: inline-block; background: var(--tint); color: var(--red-dark) !important; font-family: var(--wp--preset--font-family--heading); font-weight: 700; font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; padding: 5px 10px; border-radius: 999px; text-decoration: none; }
.wp-block-post-terms .wp-block-post-terms__separator { display: none; }
.wp-block-post-terms { display: flex; flex-wrap: wrap; gap: 6px; }
@media (min-width: 960px) {
  ul.lcb-post-grid > li:first-child { grid-column: 1 / -1; flex-direction: row; align-items: stretch; }
  ul.lcb-post-grid > li:first-child .wp-block-post-featured-image { flex: 1.25; aspect-ratio: auto; min-height: 340px; }
  ul.lcb-post-grid > li:first-child .lcb-post-body { flex: 1; padding: 40px; justify-content: center; }
  ul.lcb-post-grid > li:first-child .wp-block-post-title { font-size: 1.9rem; line-height: 1.2; }
  ul.lcb-post-grid > li:first-child .wp-block-post-date { margin-top: 8px !important; }
}
.wp-block-query-pagination { margin-top: 48px; justify-content: center; gap: 8px; font-family: var(--wp--preset--font-family--heading); font-weight: 600; }
.wp-block-query-pagination a, .wp-block-query-pagination .current { padding: 8px 14px; border-radius: 10px; border: 1px solid var(--line); background: #fff; color: var(--ink); text-decoration: none; }
.wp-block-query-pagination .current, .wp-block-query-pagination a:hover { background: var(--red); border-color: var(--red); color: #fff; }
.lcb-empty { background: #fff; border: 1px dashed #CBD5E1; border-radius: var(--radius); padding: 56px 24px; text-align: center; }
.lcb-empty p { color: var(--slate); }

/* ---------- Single post ---------- */
.lcb-posthead { padding: 72px 24px 0; }
.lcb-posthead .wp-block-post-title { font-size: clamp(2rem, 4.4vw, 3.1rem); margin: 16px 0; }
.lcb-postmeta { color: #64748B; font-size: .92rem; gap: 10px; }
.lcb-postmeta .wp-block-post-author-name { font-weight: 600; color: var(--ink); }
.lcb-postimage { padding: 40px 24px 0; }
.lcb-postimage img { border-radius: 20px; box-shadow: var(--shadow); width: 100%; height: auto; }
.lcb-article { padding: 48px 24px 24px; font-size: 1.125rem; line-height: 1.8; color: #17395C; }
.lcb-article h2 { margin-top: 2.2em; font-size: clamp(1.5rem, 2.6vw, 1.9rem); }
.lcb-article h3 { margin-top: 1.8em; font-size: 1.3rem; }
.lcb-article a { font-weight: 500; }
.lcb-article img { border-radius: 14px; }
.lcb-article blockquote { border-left: 4px solid var(--red); background: var(--tint); margin: 2em 0; padding: 20px 26px; border-radius: 0 14px 14px 0; font-size: 1.15rem; color: var(--ink); }
.lcb-article blockquote p { margin: 0; }
.lcb-article code { background: var(--soft); border: 1px solid var(--line); border-radius: 6px; padding: 2px 6px; font-size: .9em; }
.lcb-article table { border-collapse: collapse; width: 100%; font-size: 1rem; }
.lcb-article th, .lcb-article td { border: 1px solid var(--line); padding: 10px 14px; text-align: left; }
.lcb-article th { background: var(--soft); font-family: var(--wp--preset--font-family--heading); }
.lcb-postcta { margin: 40px 24px 0; }
.lcb-postcta__box { border-radius: 20px; padding: 44px 40px; }
.lcb-postcta__box p { color: #CBD5E1; }
.lcb-postnav { padding: 40px 24px 0; font-family: var(--wp--preset--font-family--heading); font-weight: 600; }
.lcb-postnav a { color: var(--ink); text-decoration: none; }
.lcb-postnav a:hover { color: var(--red); }
.lcb-related { padding: 72px 24px 96px; background: var(--soft); margin-top: 72px !important; }
.lcb-related ul.lcb-post-grid > li:first-child { grid-column: auto; flex-direction: column; }
.lcb-related ul.lcb-post-grid > li:first-child .wp-block-post-featured-image { aspect-ratio: 16/9; min-height: 0; flex: none; }
.lcb-related ul.lcb-post-grid > li:first-child .lcb-post-body { padding: 24px 26px 26px; }
.lcb-related ul.lcb-post-grid > li:first-child .wp-block-post-title { font-size: 1.3rem; }

/* ---------- Default page ---------- */
.lcb-pagehead { padding: 80px 24px; text-align: center; }
.lcb-pagebody { padding: 56px 24px 96px; }

/* ---------- Footer ---------- */
.lcb-footer { background: var(--ink); color: #CBD5E1; padding: 72px 24px 28px; font-size: .97rem; }
.lcb-footer__inner { max-width: 1120px; margin: 0 auto; display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 40px; }
.lcb-footer img { max-width: 250px; height: auto; display: block; margin-bottom: 16px; }
.lcb-footer h4 { color: #fff; font-family: var(--wp--preset--font-family--heading); font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; margin: 0 0 16px; }
.lcb-footer a { color: #CBD5E1; text-decoration: none; display: block; padding: 5px 0; transition: color .15s; }
.lcb-footer a:hover { color: #fff; }
.lcb-footer p { margin: 0; max-width: 320px; line-height: 1.65; }
.lcb-footer a.lcb-footer__btn { display: inline-block; margin-top: 14px; background: var(--red); color: #fff; font-family: var(--wp--preset--font-family--heading); font-weight: 700; padding: 11px 18px; border-radius: 10px; }
.lcb-footer a.lcb-footer__btn:hover { background: var(--red-dark); }
.lcb-footer__bottom { max-width: 1120px; margin: 56px auto 0; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .1); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; font-size: .85rem; color: #94A3B8; }
@media (max-width: 900px) { .lcb-footer__inner { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .lcb-footer__inner { grid-template-columns: 1fr; gap: 32px; } }

/* ---------- Motion ---------- */
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; scroll-behavior: auto !important; }
}

/* ---------- Forms ---------- */
.lcb-form { display: grid; gap: 16px; margin-top: 8px; }
.lcb-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .lcb-form__row { grid-template-columns: 1fr; } }
.lcb-form label { display: grid; gap: 6px; font-family: var(--wp--preset--font-family--heading); font-weight: 600; font-size: .88rem; color: var(--ink); }
.lcb-form input, .lcb-form textarea { font: inherit; font-family: var(--wp--preset--font-family--body); font-weight: 400; font-size: 1rem; color: var(--ink); background: #fff; border: 1px solid #CBD5E1; border-radius: 10px; padding: 12px 14px; width: 100%; box-sizing: border-box; transition: border-color .15s, box-shadow .15s; }
.lcb-form input:focus, .lcb-form textarea:focus { outline: none; border-color: var(--red); box-shadow: 0 0 0 4px rgba(24,75,121, .14); }
.lcb-form textarea { resize: vertical; min-height: 120px; }
.lcb-form button { border: 0; cursor: pointer; background: var(--red); color: #fff; border-radius: 10px; padding: .95rem 1.5rem; font-family: var(--wp--preset--font-family--heading); font-weight: 700; font-size: 1rem; justify-self: start; }
.lcb-form button[disabled] { opacity: .65; cursor: wait; transform: none; }
.lcb-form__hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.lcb-form__status { margin: 0; font-size: .95rem; min-height: 1.4em; }
.lcb-form__status.is-ok { color: #15803D; font-weight: 600; }
.lcb-form__status.is-err { color: var(--red-dark); font-weight: 600; }
.lcb-card:has(.lcb-form):hover { transform: none; }
/* cards in a row stretch to the same height */
.wp-block-column:has(> .lcb-card) { display: flex; flex-direction: column; }
.wp-block-column > .lcb-card { height: auto; flex: 1 1 auto; }

/* ---------- Book a Meeting popup ---------- */
.lcb-form select { font: inherit; font-family: var(--wp--preset--font-family--body); font-weight: 400; font-size: 1rem; color: var(--ink); background: #fff; border: 1px solid #CBD5E1; border-radius: 10px; padding: 12px 14px; width: 100%; box-sizing: border-box; }
.lcb-form select:focus { outline: none; border-color: var(--red); box-shadow: 0 0 0 4px rgba(24,75,121, .14); }
.lcb-modal { position: fixed; inset: 0; z-index: 1000; background: rgba(15,42,68, .62); backdrop-filter: blur(4px); display: grid; place-items: center; padding: 16px; overflow-y: auto; }
.lcb-modal[hidden] { display: none; }
.lcb-modal__box { position: relative; background: #fff; border-radius: 20px; width: min(640px, 100%); padding: 36px 36px 28px; box-shadow: 0 40px 80px -30px rgba(15,42,68, .6); border-top: 5px solid var(--red); margin: auto; animation: lcb-pop .18s ease-out; }
.lcb-modal__box h2 { margin: 0 0 6px; font-size: 1.7rem; }
.lcb-modal__lead { margin: 0 0 18px; color: var(--slate); font-size: .98rem; }
.lcb-modal__close { position: absolute; top: 14px; right: 14px; width: 38px; height: 38px; border-radius: 50%; border: 0; background: var(--soft); color: var(--ink); font-size: 1.5rem; line-height: 1; cursor: pointer; }
.lcb-modal__close:hover { background: var(--tint); color: var(--red); }
html.lcb-modal-open { overflow: hidden; }
@keyframes lcb-pop { from { opacity: 0; transform: translateY(12px) scale(.98); } to { opacity: 1; transform: none; } }
@media (max-width: 560px) { .lcb-modal__box { padding: 28px 20px 20px; } }

/* ---------- Motion ---------- */
.lcb-dark > canvas.lcb-tiles { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none !important; margin: 0 !important; z-index: 0; pointer-events: none; }
.lcb-dark > *:not(canvas) { position: relative; z-index: 1; }
.lcb-reveal { opacity: 0; translate: 0 22px; transition: opacity .6s ease, translate .6s cubic-bezier(.2, .7, .2, 1), transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.lcb-reveal.is-in { opacity: 1; translate: 0 0; }
.lcb-progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; background: var(--red); transform: scaleX(0); transform-origin: 0 50%; z-index: 200; }
.lcb-header .wp-block-navigation-item__content { position: relative; }
@media (prefers-reduced-motion: reduce) { .lcb-reveal { opacity: 1; translate: none; } }

.lcb-pkgsum { background: var(--tint); border: 1px solid #BFD3E6; border-left: 4px solid var(--red); border-radius: 12px; padding: 14px 16px; display: grid; gap: 4px; }
.lcb-pkgsum strong { font-family: var(--wp--preset--font-family--heading); font-size: 1.05rem; color: var(--ink); }
.lcb-pkgsum span { color: var(--slate); font-size: .93rem; line-height: 1.5; }

/* Blog posts: description under the header image, table of contents, smooth anchor scrolling */
html { scroll-behavior: smooth; }
.lcb-postlead { padding: 22px 24px 0; }
.lcb-postlead .lcb-lead, .lcb-postlead .lcb-lead p { margin: 0; font-size: 1.2rem; line-height: 1.6; color: var(--slate); }
.lcb-article h2[id] { scroll-margin-top: 110px; }
.lcb-toc { background: #F8FAFC; border: 1px solid #E2E8F0; border-radius: 12px; padding: 18px 24px 8px; margin: 1.6em 0 0; font-size: 1rem; line-height: 1.5; }
.lcb-toc p { margin: 0 0 8px; }
.lcb-toc ol { margin: 0 0 10px; padding-left: 1.3em; }
.lcb-toc li { margin: 6px 0; }
.lcb-toc a { color: var(--ink); text-decoration: none; }
.lcb-toc a:hover { color: var(--red); text-decoration: underline; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

.lcb-footer__bottom a { color: #CBD5E1; text-decoration: none; }
.lcb-footer__bottom a:hover { color: #fff; text-decoration: underline; }

/* Dark sections: paragraphs without their own colour were dark on dark (404 page text was invisible) */
.lcb-dark p:not(.has-text-color), .lcb-dark li:not(.has-text-color) { color: #CBD5E1; }
.lcb-dark.lcb-pagehead p { font-size: 1.1rem; }

/* ---------- Problem to solution rows (homepage) ---------- */
.lcb-solve { display: grid; gap: 14px; max-width: 980px; margin: 0 auto; }
.lcb-solve__row { display: grid; grid-template-columns: 56px 1fr 32px 1.15fr; align-items: center; gap: 18px; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 16px 22px; box-shadow: 0 10px 24px -18px rgba(15,42,68,.35); transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
.lcb-solve__row:hover { transform: translateY(-2px); border-color: #BFD3E6; box-shadow: 0 16px 30px -18px rgba(24,75,121,.35); }
.lcb-solve__ic { width: 52px; height: 52px; border-radius: 14px; background: var(--tint); display: grid; place-items: center; }
.lcb-solve__ic svg { width: 26px; height: 26px; stroke: var(--red); fill: none; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.lcb-solve small { display: block; font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: #64748B; font-weight: 600; margin-bottom: 2px; }
.lcb-solve__txt b { font-family: var(--wp--preset--font-family--heading); font-size: 1.08rem; color: var(--ink); }
.lcb-solve__arrow { color: var(--red); font-size: 1.5rem; font-weight: 700; text-align: center; }
.lcb-solve__fix a { font-weight: 600; font-size: 1.02rem; text-decoration: none; border-bottom: 2px solid #BFD3E6; }
.lcb-solve__fix a:hover { border-bottom-color: var(--red); }
@media (max-width: 720px) {
  .lcb-solve__row { grid-template-columns: 48px 1fr; gap: 6px 14px; padding: 14px 16px; }
  .lcb-solve__arrow { display: none; }
  .lcb-solve__fix { grid-column: 2; }
}

/* ---------- "Most popular" ribbon on the highlighted package card ---------- */
.lcb-card:has(.lcb-ribbon) { border-color: #184B79; box-shadow: 0 24px 44px -26px rgba(24,75,121, .55), 0 0 0 4px rgba(24,75,121, .08); overflow: visible; }
.lcb-ribbon { position: absolute; top: -16px; left: -12px; z-index: 3; background: linear-gradient(135deg, #2F6FA8, #0F3556); color: #fff; font-family: var(--wp--preset--font-family--heading); font-weight: 800; font-size: 12.5px; line-height: 1; letter-spacing: .14em; padding: 10px 20px 10px 16px; border-radius: 0 8px 8px 0; box-shadow: 0 8px 16px -6px rgba(15,53,86, .6); }
.lcb-ribbon::after { content: ""; position: absolute; left: 0; top: 100%; border-top: 8px solid #0F2A44; border-left: 12px solid transparent; }
.lcb-card > .lcb-ribbon + * { margin-block-start: 0 !important; }

/* Mobile menu: backdrop-filter on the header traps the fixed overlay inside it, so drop it while the menu is open */
.lcb-header:has(.wp-block-navigation__responsive-container.is-menu-open),
.wp-site-blocks > header:has(.is-menu-open) { backdrop-filter: none !important; -webkit-backdrop-filter: none !important; background: #fff; }
.wp-block-navigation__responsive-container.is-menu-open { z-index: 100000; }
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__submenu-container { border: 0 !important; box-shadow: none !important; min-width: 0 !important; padding: 0 0 0 12px !important; position: static !important; width: 100% !important; }
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content,
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container,
.wp-block-navigation__responsive-container.is-menu-open .wp-block-page-list { align-items: flex-start !important; justify-content: flex-start !important; text-align: left; width: 100%; }
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item { width: 100%; align-items: flex-start !important; }
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content { white-space: normal; text-align: left; }

/* ---------- Cookie consent ---------- */
.lcb-cc { position: fixed; left: 50%; bottom: 18px; z-index: 9999; width: min(940px, calc(100% - 28px)); transform: translate(-50%, 24px); opacity: 0; transition: transform .35s ease, opacity .35s ease;
  background: #fff; color: var(--ink); border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 30px 60px -24px rgba(15,42,68, .55); padding: 18px 20px; display: flex; gap: 18px; align-items: center; flex-wrap: wrap; }
.lcb-cc.is-open { transform: translate(-50%, 0); opacity: 1; }
.lcb-cc__text { flex: 1 1 380px; font-size: .93rem; line-height: 1.5; }
.lcb-cc__text strong { display: block; font-family: var(--wp--preset--font-family--heading); margin-bottom: 2px; }
.lcb-cc__text p { margin: 0; color: var(--slate); }
.lcb-cc__text a { color: var(--red); font-weight: 600; }
.lcb-cc__actions, .lcb-cc-modal__actions { display: flex; gap: 10px; flex-wrap: wrap; }
.lcb-cc__btn { border: 1px solid transparent; border-radius: 10px; padding: 11px 18px; font: inherit; font-family: var(--wp--preset--font-family--heading); font-weight: 700; font-size: .92rem; cursor: pointer; transition: transform .15s ease, background .2s ease, box-shadow .2s ease; }
.lcb-cc__btn:hover { transform: translateY(-1px); }
.lcb-cc__btn:focus-visible, .lcb-cc-switch input:focus-visible + span { outline: 3px solid #93C5FD; outline-offset: 2px; }
.lcb-cc__btn--primary { background: var(--red); color: #fff; }
.lcb-cc__btn--primary:hover { background: var(--red-dark); }
.lcb-cc__btn--ghost { background: #fff; color: var(--ink); border-color: #CBD5E1; }
.lcb-cc__btn--ghost:hover { border-color: var(--ink); }
.lcb-cc-lock { overflow: hidden; }
.lcb-cc-modal { position: fixed; inset: 0; z-index: 10000; background: rgba(15,42,68, .6); display: grid; place-items: center; padding: 16px; }
.lcb-cc-modal__box { position: relative; background: #fff; border-radius: 16px; width: min(560px, 100%); max-height: calc(100vh - 32px); overflow: auto; padding: 28px 28px 24px; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .6); }
.lcb-cc-modal__box h2 { margin: 0 0 6px; font-size: 1.5rem; }
.lcb-cc-modal__close { position: absolute; right: 14px; top: 10px; border: 0; background: none; font-size: 1.8rem; line-height: 1; cursor: pointer; color: var(--slate); }
.lcb-cc-modal__lead { color: var(--slate); margin: 0 0 14px; font-size: .95rem; }
.lcb-cc-row { display: flex; gap: 16px; justify-content: space-between; align-items: flex-start; padding: 14px 0; border-top: 1px solid var(--line); }
.lcb-cc-row p { margin: 3px 0 0; color: var(--slate); font-size: .88rem; line-height: 1.5; }
.lcb-cc-switch { position: relative; flex: none; width: 46px; height: 26px; margin-top: 2px; }
.lcb-cc-switch input { position: absolute; inset: 0; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.lcb-cc-switch span { position: absolute; inset: 0; border-radius: 99px; background: #CBD5E1; transition: background .2s; pointer-events: none; }
.lcb-cc-switch span::after { content: ""; position: absolute; left: 3px; top: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; transition: transform .2s; box-shadow: 0 1px 3px rgba(0, 0, 0, .3); }
.lcb-cc-switch input:checked + span { background: var(--red); }
.lcb-cc-switch input:checked + span::after { transform: translateX(20px); }
.lcb-cc-switch input:disabled + span { opacity: .55; }
.lcb-cc-modal__actions { margin-top: 18px; justify-content: flex-end; }
@media (max-width: 560px) { .lcb-cc { bottom: 10px; padding: 14px; } .lcb-cc__actions { width: 100%; } .lcb-cc__btn { flex: 1 1 auto; } .lcb-cc-modal__actions .lcb-cc__btn { flex: 1 1 100%; } }
@media (prefers-reduced-motion: reduce) { .lcb-cc, .lcb-cc__btn, .lcb-cc-switch span, .lcb-cc-switch span::after { transition: none; } }

/* Client Login (client portal) next to Book a Meeting */
.lcb-header__cta { gap: 10px; flex-wrap: nowrap; }
.lcb-header__login .wp-block-button__link { background: transparent !important; color: var(--ink) !important; border: 1.5px solid #CBD5E1 !important; box-shadow: none !important; }
.lcb-header__login .wp-block-button__link:hover { border-color: var(--red) !important; color: var(--red) !important; background: transparent !important; }
@media (max-width: 600px) { .lcb-header__cta { gap: 6px; }
  /* phones: Client Login becomes a round account icon so Book a Meeting still fits; the link text stays for screen readers */
  .lcb-header__login .wp-block-button__link, .lcb-header__login .wp-block-button__link:hover { font-size: 0 !important; width: 38px; height: 38px; padding: 0 !important; border-radius: 50% !important; background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230F172A' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='8' r='4'/%3E%3Cpath d='M4 21v-1a6 6 0 0 1 6-6h4a6 6 0 0 1 6 6v1'/%3E%3C/svg%3E") center / 19px no-repeat !important; } }


/* ---------- Legal Client Boost additions: gold accent, logo plate ---------- */
.lcb-header { border-bottom: 3px solid #DFB75B; }
.lcb-footer__plate { display: inline-block; background: #fff; border-radius: 10px; padding: 10px 14px; margin-bottom: 8px; }
.lcb-footer__plate img { display: block; height: 54px; width: auto; }
.lcb-footer p.lcb-footer__legal { max-width: 1120px; margin: 18px auto 0; padding: 0; font-size: 12.5px; color: #94A3B8; line-height: 1.6; }
.lcb-footer__bottom span { white-space: nowrap; }
.wp-block-button__link[style*="transparent"] { border: 2px solid rgba(255,255,255,.55); }
.lcb-footer__btn { background: #DFB75B !important; color: #0F2A44 !important; }
.wp-block-button__link { font-weight: 700; }
.lcb-header .wp-block-site-logo img { width: 196px !important; }
@media (max-width: 560px) { .lcb-header .wp-block-site-logo img { width: 150px !important; } }
.wp-block-columns { flex-wrap: wrap !important; gap: 24px; }
.wp-block-column { flex: 1 1 300px !important; min-width: 0; }
.lcb-card { padding: 28px 30px !important; }
.lcb-card li { margin-bottom: 6px; }

/* ---------- Law feel: courthouse behind the heroes ---------- */
.lcb-dark > * { position: relative; z-index: 1; }
.lcb-dark::after { content: ""; position: absolute; left: 50%; bottom: 0; width: min(1500px, 130%); height: 230px; transform: translateX(-50%); background: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%201200%20230%22%20fill%3D%22none%22%20stroke%3D%22%23DFB75B%22%20stroke-width%3D%222%22%3E%3Cpolygon%20points%3D%22170%2C76%20600%2C10%201030%2C76%22%2F%3E%3Ccircle%20cx%3D%22600%22%20cy%3D%2252%22%20r%3D%2212%22%2F%3E%3Crect%20x%3D%22170%22%20y%3D%2276%22%20width%3D%22860%22%20height%3D%2220%22%2F%3E%3Crect%20x%3D%22205%22%20y%3D%22100%22%20width%3D%2244%22%20height%3D%2296%22%2F%3E%3Cline%20x1%3D%22220%22%20y1%3D%22104%22%20x2%3D%22220%22%20y2%3D%22192%22%2F%3E%3Cline%20x1%3D%22234%22%20y1%3D%22104%22%20x2%3D%22234%22%20y2%3D%22192%22%2F%3E%3Crect%20x%3D%22317%22%20y%3D%22100%22%20width%3D%2244%22%20height%3D%2296%22%2F%3E%3Cline%20x1%3D%22332%22%20y1%3D%22104%22%20x2%3D%22332%22%20y2%3D%22192%22%2F%3E%3Cline%20x1%3D%22346%22%20y1%3D%22104%22%20x2%3D%22346%22%20y2%3D%22192%22%2F%3E%3Crect%20x%3D%22429%22%20y%3D%22100%22%20width%3D%2244%22%20height%3D%2296%22%2F%3E%3Cline%20x1%3D%22444%22%20y1%3D%22104%22%20x2%3D%22444%22%20y2%3D%22192%22%2F%3E%3Cline%20x1%3D%22458%22%20y1%3D%22104%22%20x2%3D%22458%22%20y2%3D%22192%22%2F%3E%3Crect%20x%3D%22541%22%20y%3D%22100%22%20width%3D%2244%22%20height%3D%2296%22%2F%3E%3Cline%20x1%3D%22556%22%20y1%3D%22104%22%20x2%3D%22556%22%20y2%3D%22192%22%2F%3E%3Cline%20x1%3D%22570%22%20y1%3D%22104%22%20x2%3D%22570%22%20y2%3D%22192%22%2F%3E%3Crect%20x%3D%22653%22%20y%3D%22100%22%20width%3D%2244%22%20height%3D%2296%22%2F%3E%3Cline%20x1%3D%22668%22%20y1%3D%22104%22%20x2%3D%22668%22%20y2%3D%22192%22%2F%3E%3Cline%20x1%3D%22682%22%20y1%3D%22104%22%20x2%3D%22682%22%20y2%3D%22192%22%2F%3E%3Crect%20x%3D%22765%22%20y%3D%22100%22%20width%3D%2244%22%20height%3D%2296%22%2F%3E%3Cline%20x1%3D%22780%22%20y1%3D%22104%22%20x2%3D%22780%22%20y2%3D%22192%22%2F%3E%3Cline%20x1%3D%22794%22%20y1%3D%22104%22%20x2%3D%22794%22%20y2%3D%22192%22%2F%3E%3Crect%20x%3D%22877%22%20y%3D%22100%22%20width%3D%2244%22%20height%3D%2296%22%2F%3E%3Cline%20x1%3D%22892%22%20y1%3D%22104%22%20x2%3D%22892%22%20y2%3D%22192%22%2F%3E%3Cline%20x1%3D%22906%22%20y1%3D%22104%22%20x2%3D%22906%22%20y2%3D%22192%22%2F%3E%3Crect%20x%3D%22989%22%20y%3D%22100%22%20width%3D%2244%22%20height%3D%2296%22%2F%3E%3Cline%20x1%3D%221004%22%20y1%3D%22104%22%20x2%3D%221004%22%20y2%3D%22192%22%2F%3E%3Cline%20x1%3D%221018%22%20y1%3D%22104%22%20x2%3D%221018%22%20y2%3D%22192%22%2F%3E%3Cline%20x1%3D%22140%22%20y1%3D%22196%22%20x2%3D%221060%22%20y2%3D%22196%22%2F%3E%3Cline%20x1%3D%22110%22%20y1%3D%22208%22%20x2%3D%221090%22%20y2%3D%22208%22%2F%3E%3Cline%20x1%3D%2280%22%20y1%3D%22220%22%20x2%3D%221120%22%20y2%3D%22220%22%2F%3E%3C%2Fsvg%3E") no-repeat center bottom / contain; opacity: .17; pointer-events: none; z-index: 0; }

/* ---------- Law feel: top bar, framed cards, double rules, scales ornament, roman numerals ---------- */
.lcb-topbar { background: #0B2036; color: #CBD5E1; font-family: 'DM Sans', sans-serif; font-size: .8rem; letter-spacing: .04em; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 8px max(24px, calc((100vw - 1240px) / 2)); border-bottom: 1px solid rgba(223, 183, 91, .3); }
.lcb-topbar a { color: var(--gold); text-decoration: none; font-weight: 600; }
.lcb-topbar span:first-child { color: #94A3B8; text-transform: uppercase; letter-spacing: .14em; font-size: .72rem; }
@media (max-width: 700px) { .lcb-topbar { display: none; } }

/* certificate style: an inner gold line inside every card */
.lcb-card::after { content: ""; position: absolute; inset: 7px; border: 1px solid rgba(223, 183, 91, .55); border-radius: 3px; pointer-events: none; }
.lcb-contact-cols .lcb-card::after { inset: 9px; }

/* ivory sections read like paper, closed by a double rule */
.lcb-main .alignfull[style*="background-color:#FAF6EC"] { border-top: 4px double #E3D6B3; border-bottom: 4px double #E3D6B3; }

/* the three promises under the hero buttons */
.lcb-promises { list-style: none; padding: 0; margin: 34px 0 0; display: grid; gap: 10px; max-width: 520px; }
.lcb-promises li { color: #E8E1CF; font-size: .98rem; padding-left: 30px; position: relative; }
.lcb-promises li::before { content: ""; position: absolute; left: 0; top: .45em; width: 11px; height: 11px; background: var(--gold); transform: rotate(45deg); }
.lcb-promises li::after { content: ""; position: absolute; left: 4px; top: calc(.45em + 4px); width: 3px; height: 3px; background: #0F2A44; transform: rotate(45deg); }

/* ornament: scales of justice between sections */
.lcb-orn { display: flex; align-items: center; justify-content: center; gap: 22px; color: var(--gold-deep); max-width: 560px; margin: 0 auto; }
.lcb-orn span { flex: 1; height: 1px; background: linear-gradient(90deg, transparent, var(--gold-deep)); }
.lcb-orn span:last-child { background: linear-gradient(270deg, transparent, var(--gold-deep)); }
.lcb-orn svg { flex: none; }
.lcb-main .alignfull:has(> .wp-block-html > .lcb-orn), .lcb-main .alignfull:has(.lcb-orn) { padding-top: 14px !important; padding-bottom: 14px !important; }

/* roman numerals */
.lcb-row__n { font-size: 1.25rem; letter-spacing: .06em; min-width: 54px; }
.lcb-problems span { font-size: 3.4rem; letter-spacing: .02em; }
.lcb-steps b { font-size: 1rem; letter-spacing: .04em; }

/* section headings get a small-caps legal kicker feel */
.lcb-main h2.wp-block-heading { font-variant: small-caps; letter-spacing: .01em; font-size: clamp(1.9rem, 3.4vw, 2.7rem); }


/* ---------- Cookie banner, LCB look ---------- */
.lcb-cc { border-radius: 6px; border-top: 3px solid #DFB75B; font-family: 'DM Sans', sans-serif; }
.lcb-cc__text strong, .lcb-cc-modal__box h2 { font-family: 'Fraunces', Georgia, serif; font-weight: 600; }
.lcb-cc__btn, .lcb-cc-modal__box { border-radius: 6px; }
.lcb-cc__btn--primary { color: #fff; }
/* ---------- Frosted grain buttons ---------- */
.lcb-cc__btn--primary, .wp-block-button__link, .lcb-panelbtn, .lcb-footer a.lcb-footer__btn, .lcb-form button[type="submit"] {
  position: relative; isolation: isolate; overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .42) !important;
  background-image:
    linear-gradient(115deg, rgba(255, 255, 255, 0) 38%, rgba(255, 255, 255, .6) 50%, rgba(255, 255, 255, 0) 62%),
    linear-gradient(180deg, rgba(255, 255, 255, .18) 0%, rgba(255, 255, 255, .04) 52%, rgba(0, 0, 0, .12) 100%),
    url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22140%22%20height%3D%22140%22%3E%3Cfilter%20id%3D%22n%22%20x%3D%220%22%20y%3D%220%22%20width%3D%22100%25%22%20height%3D%22100%25%22%3E%3CfeTurbulence%20type%3D%22fractalNoise%22%20baseFrequency%3D%220.85%22%20numOctaves%3D%222%22%20stitchTiles%3D%22stitch%22%2F%3E%3CfeColorMatrix%20values%3D%220%200%200%200%201%200%200%200%200%201%200%200%200%200%201%200%200%200%200.55%200%22%2F%3E%3C%2Ffilter%3E%3Crect%20width%3D%22100%25%22%20height%3D%22100%25%22%20filter%3D%22url(%23n)%22%2F%3E%3C%2Fsvg%3E") !important;
  background-size: 260% 100%, 100% 100%, 140px 140px !important;
  background-position: 135% 0, 0 0, 0 0 !important;
  background-repeat: no-repeat, no-repeat, repeat !important;
  -webkit-backdrop-filter: blur(10px) saturate(150%); backdrop-filter: blur(10px) saturate(150%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .6), inset 0 -12px 20px rgba(0, 0, 0, .10), 0 14px 28px -16px rgba(15, 42, 68, .75) !important;
  transition: background-position .9s cubic-bezier(.2, .7, .2, 1), transform .2s ease, box-shadow .25s ease, filter .25s ease !important;
}
.wp-block-button__link:hover, .lcb-panelbtn:hover, .lcb-footer a.lcb-footer__btn:hover, .lcb-form button[type="submit"]:hover {
  background-position: -45% 0, 0 0, 0 0 !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .75), inset 0 -12px 20px rgba(0, 0, 0, .08), 0 20px 34px -16px rgba(15, 42, 68, .85) !important;
  filter: saturate(1.08);
}
.wp-block-button__link:active, .lcb-panelbtn:active, .lcb-form button[type="submit"]:active { transform: translateY(0) scale(.98); }
/* the see-through button on dark heroes becomes real frosted glass */
.wp-block-button__link[style*="transparent"] { background-color: rgba(255, 255, 255, .10) !important; border-color: rgba(255, 255, 255, .5) !important; color: #fff !important; }
.lcb-panelbtn { background-color: rgba(223, 183, 91, .14); }
.lcb-panelbtn:hover { background-color: #DFB75B; }
@media (prefers-reduced-motion: reduce) { .wp-block-button__link, .lcb-panelbtn, .lcb-form button[type="submit"] { transition: none !important; } }

/* =====================================================================
   LCB design: its own look, not the LCB one.
   Serif headings (Fraunces), DM Sans body, ivory + navy + gold, sharper corners,
   a map-ranking heat map in the hero, a practice-area ticker, and its own motion.
   ===================================================================== */
:root { --line: #E7DFCB; --soft: #FAF6EC; --tint: #EEF4FA; --gold: #DFB75B; --gold-deep: #A9822B; --shadow: 0 22px 44px -28px rgba(15, 42, 68, .5); }
body { background: #fff; font-feature-settings: "ss01"; }
h1, h2, h3, h4, .wp-block-heading { font-family: 'Fraunces', Georgia, serif !important; font-weight: 600; letter-spacing: -.015em; }
h1 { font-weight: 600; }
.lcb-header .wp-block-navigation, .lcb-footer h4, .wp-block-button__link, .lcb-form label, .wp-block-details summary { font-family: 'DM Sans', 'Segoe UI', Arial, sans-serif !important; }

/* ---------- Header: thin, condenses on scroll, gold progress line ---------- */
.lcb-header { background: rgba(255, 255, 255, .94); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 50; transition: padding .3s ease, box-shadow .3s ease; }
.lcb-scrolled .lcb-header { padding-top: 8px; padding-bottom: 8px; box-shadow: 0 10px 30px -22px rgba(15, 42, 68, .6); }
.lcb-header .wp-block-site-logo img { transition: width .3s ease; }
.lcb-scrolled .lcb-header .wp-block-site-logo img { width: 160px !important; }
.lcb-header .wp-block-navigation-item__content { position: relative; font-weight: 500; letter-spacing: .01em; background: none !important; }
.lcb-header .wp-block-navigation-item__content::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 2px; height: 2px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .35s ease; }
.lcb-header .wp-block-navigation-item__content:hover::after, .lcb-header .current-menu-item > .wp-block-navigation-item__content::after { transform: scaleX(1); }
.lcb-progress { position: fixed; left: 0; top: 0; height: 3px; width: 100%; background: linear-gradient(90deg, var(--gold), #F1D58B); transform: scaleX(0); transform-origin: left; z-index: 100; pointer-events: none; }

/* ---------- Buttons: square-ish, gold primary, arrow slides in ---------- */
.wp-block-button__link { border-radius: 6px !important; letter-spacing: .01em; box-shadow: none !important; position: relative; overflow: hidden; }
.wp-block-button__link:hover { transform: translateY(-2px); filter: none; box-shadow: 0 16px 28px -18px rgba(15, 42, 68, .9) !important; }
.wp-block-button__link[href^="#book"]::after, .wp-block-button__link[href^="#package"]::after { content: "\2192"; display: inline-block; margin-left: 0; max-width: 0; opacity: 0; transform: translateX(-6px); transition: max-width .3s ease, margin .3s ease, opacity .3s ease, transform .3s ease; vertical-align: -1px; }
.wp-block-button__link[href^="#book"]:hover::after, .wp-block-button__link[href^="#package"]:hover::after { max-width: 24px; margin-left: 8px; opacity: 1; transform: none; }
.wp-block-button__link[style*="transparent"] { border: 1.5px solid rgba(255, 255, 255, .6); }
.wp-block-button__link[style*="transparent"]:hover { background: rgba(255, 255, 255, .1) !important; }

/* ---------- Dark sections: navy with a gold glow and fine diagonal lines (no grid) ---------- */
.lcb-dark { background-color: #0F2A44 !important;
  background-image:
    radial-gradient(760px 420px at 92% -10%, rgba(223, 183, 91, .20), transparent 62%),
    radial-gradient(620px 420px at -8% 108%, rgba(47, 111, 168, .35), transparent 60%),
    repeating-linear-gradient(135deg, rgba(255, 255, 255, .028) 0 1px, transparent 1px 26px) !important;
  background-size: auto !important; }
.lcb-dark canvas.lcb-tiles { display: none !important; }
.lcb-dark h1, .lcb-dark h2 { color: #fff; }
.lcb-dark h1 { font-size: clamp(2.4rem, 4.6vw, 3.9rem); line-height: 1.08; }
.lcb-dark .wp-block-columns { align-items: center; }
.lcb-dark .wp-block-column:first-child:not(:last-child) { flex: 1.25 1 340px !important; }
.lcb-dark .wp-block-column:last-child:not(:first-child) { flex: 1 1 320px !important; }
.lcb-main > .wp-block-group.alignfull:first-child > p:first-child, .lcb-dark p:first-child { letter-spacing: .22em; text-transform: uppercase; font-size: .78rem !important; font-weight: 600; font-family: 'DM Sans', sans-serif; }
.lcb-dark p:first-child::before { content: ""; display: inline-block; width: 34px; height: 1px; background: var(--gold); vertical-align: middle; margin-right: 12px; }

/* ---------- Headings: gold rule that draws itself ---------- */
.lcb-main h2.wp-block-heading { position: relative; padding-bottom: 18px; }
.lcb-main h2.wp-block-heading::after { content: ""; position: absolute; left: 0; bottom: 0; width: 64px; height: 3px; background: var(--gold); transform: scaleX(1); transform-origin: left; transition: transform .9s cubic-bezier(.2, .7, .2, 1) .15s; }
.lcb-main h2.wp-block-heading.has-text-align-center::after { left: 50%; margin-left: -32px; }
.lcb-js .lcb-rv.lcb-h::after { transform: scaleX(0); }
.lcb-js .lcb-rv.lcb-h.is-in::after { transform: scaleX(1); }

/* ---------- Cards: sharp, ivory border, gold edge sweeps in on hover ---------- */
.lcb-card { border-radius: 6px !important; border: 1px solid var(--line); overflow: hidden; }
.lcb-card::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .5s cubic-bezier(.2, .7, .2, 1); }
.lcb-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: var(--line); }
.lcb-card:hover::before { transform: scaleX(1); }
.lcb-card h3 { font-size: 1.35rem; }
.wp-block-details { border-radius: 6px; border: 1px solid var(--line); }
.wp-block-details[open] { border-color: var(--gold); }
.wp-block-details summary::after { background: linear-gradient(var(--gold-deep), var(--gold-deep)) center/12px 2px no-repeat, linear-gradient(var(--gold-deep), var(--gold-deep)) center/2px 12px no-repeat, #FAF6EC; }
.entry-content ul.wp-block-list > li::before, .lcb-main ul.wp-block-list > li::before { border-radius: 2px; transform: rotate(45deg) scale(.72); background-color: var(--gold-deep); }

/* ---------- Reveal: everything rises the same way, left to right in order ---------- */
.lcb-js .lcb-rv { opacity: 0; transform: translateY(20px); transition: opacity .8s cubic-bezier(.2, .7, .2, 1), transform .8s cubic-bezier(.2, .7, .2, 1); transition-delay: calc(var(--i, 0) * 120ms); }
.lcb-js .lcb-rv.is-in { opacity: 1; transform: none; }
.lcb-js .lcb-card.lcb-rv.is-in:hover { transform: translateY(-5px); transition-delay: 0s; }

/* ---------- Hero: words rise one by one ---------- */
.lcb-w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .12em; margin-bottom: -.12em; }
.lcb-w > span { display: inline-block; transform: translateY(105%); animation: lcbRise .9s cubic-bezier(.2, .8, .2, 1) forwards; animation-delay: calc(var(--i) * 70ms + 120ms); }
@keyframes lcbRise { to { transform: none; } }

/* ---------- Heat map ---------- */
.lcb-heat { background: #0B2036; border: 1px solid rgba(223, 183, 91, .4); border-radius: 10px; padding: 16px 16px 12px; box-shadow: 0 40px 70px -40px rgba(0, 0, 0, .8), 0 0 0 6px rgba(223, 183, 91, .06); max-width: 460px; margin-inline: auto; position: relative; }
.lcb-heat__bar { display: flex; justify-content: space-between; align-items: center; font-family: 'DM Sans', sans-serif; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: #CBD5E1; margin-bottom: 12px; }
.lcb-heat__bar em { font-style: normal; color: #0F2A44; background: var(--gold); border-radius: 3px; padding: 2px 8px; font-weight: 700; letter-spacing: .06em; }
.lcb-heat__grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.lcb-cell { aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center; font-style: normal; position: relative; opacity: 0; transform: scale(.4); animation: lcbPop .55s cubic-bezier(.2, .9, .3, 1.3) forwards, lcbPulse 7s ease-in-out infinite; animation-delay: calc(var(--d) * 110ms + .5s), calc(var(--d) * 260ms + 2.4s); }
.lcb-cell b { font-family: 'DM Sans', sans-serif; font-weight: 700; font-size: clamp(.62rem, 1.5vw, .82rem); color: #0B2036; }
.lcb-cell.g { background: #4CC38A; }
.lcb-cell.a { background: #F1C75A; }
.lcb-cell.r { background: #EF7B66; }
.lcb-cell.me { box-shadow: 0 0 0 3px #0B2036, 0 0 0 5px var(--gold); }
.lcb-cell.me::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid var(--gold); opacity: 0; animation: lcbPing 2.6s ease-out infinite 1.6s; }
@keyframes lcbPop { to { opacity: 1; transform: scale(1); } }
@keyframes lcbPulse { 0%, 82%, 100% { filter: none; } 90% { filter: brightness(1.25) saturate(1.1); } }
@keyframes lcbPing { 0% { opacity: .9; transform: scale(1); } 100% { opacity: 0; transform: scale(2.1); } }
.lcb-heat__legend { display: flex; gap: 14px; flex-wrap: wrap; margin: 12px 0 6px; font-family: 'DM Sans', sans-serif; font-size: .78rem; color: #CBD5E1; }
.lcb-heat__legend i { display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: 6px; vertical-align: -1px; }
.lcb-heat__legend i.g { background: #4CC38A; } .lcb-heat__legend i.a { background: #F1C75A; } .lcb-heat__legend i.r { background: #EF7B66; }
.lcb-dark .lcb-heat p { font-size: .74rem; line-height: 1.5; color: #94A3B8; margin: 6px 0 0; text-transform: none; letter-spacing: 0; }
.lcb-dark .lcb-heat p::before { display: none; }

/* ---------- Practice-area ticker ---------- */
.lcb-marquee { background: #0B2036; border-top: 1px solid rgba(223, 183, 91, .25); border-bottom: 1px solid rgba(223, 183, 91, .25); overflow: hidden; padding: 16px 0; width: 100%; }
.lcb-marquee__track { display: flex; gap: 0; width: max-content; animation: lcbTicker 46s linear infinite; }
.lcb-marquee:hover .lcb-marquee__track { animation-play-state: paused; }
.lcb-marquee span { font-family: 'Fraunces', Georgia, serif; font-size: 1.15rem; color: #E8E1CF; padding: 0 28px; position: relative; white-space: nowrap; }
.lcb-marquee span::after { content: "\2726"; color: var(--gold); position: absolute; right: -6px; font-size: .8rem; top: 50%; transform: translateY(-50%); }
@keyframes lcbTicker { to { transform: translateX(-50%); } }

/* ---------- Footer ---------- */
.lcb-footer { border-top: 4px solid var(--gold); background: #0B2036; }
.lcb-footer a:hover { color: var(--gold); }
.lcb-footer h4 { color: var(--gold); letter-spacing: .18em; }

/* ---------- Forms and misc ---------- */
.lcb-form input, .lcb-form textarea, .lcb-form select { border-radius: 4px !important; background: #FFFDF8; }
.lcb-form input:focus, .lcb-form textarea:focus { border-color: var(--gold-deep); box-shadow: 0 0 0 4px rgba(223, 183, 91, .25); }
.lcb-modal__box { border-radius: 8px; border-top: 4px solid var(--gold); }
a { text-underline-offset: 3px; }

@media (max-width: 781px) { .lcb-dark { padding-left: 20px !important; padding-right: 20px !important; } .lcb-heat { max-width: 380px; } }
@media (prefers-reduced-motion: reduce) {
  .lcb-w > span { transform: none; animation: none; }
  .lcb-cell { opacity: 1; transform: none; animation: none; }
  .lcb-cell.me::after { animation: none; display: none; }
  .lcb-marquee__track { animation: none; flex-wrap: wrap; width: auto; justify-content: center; }
  .lcb-js .lcb-rv, .lcb-js .lcb-rv.lcb-h::after { opacity: 1; transform: none; transition: none; }
  .lcb-progress { display: none; }
}

/* ---------- Full-width ticker ---------- */
.wp-block-group.alignfull > .lcb-marquee { max-width: none !important; margin: 0 !important; width: 100%; }

/* ---------- Contact page ---------- */
.lcb-contact-cols { align-items: stretch; gap: 32px; }
.lcb-contact-cols > .wp-block-column:first-child { flex: 1.35 1 380px !important; }
.lcb-contact-cols > .wp-block-column:last-child { flex: 1 1 320px !important; }
.lcb-contact-cols .lcb-card { padding: 38px 40px !important; box-shadow: var(--shadow); }
.lcb-contact-cols .lcb-card::before { transform: scaleX(1); }
.lcb-contact-cols .lcb-card:hover { transform: none; }
.lcb-contactpanel { height: 100%; box-sizing: border-box; background: #0F2A44; color: #E8E1CF; border-radius: 6px; padding: 38px 36px; border-top: 4px solid var(--gold);
  background-image: radial-gradient(520px 320px at 100% 0%, rgba(223, 183, 91, .18), transparent 60%), repeating-linear-gradient(135deg, rgba(255,255,255,.03) 0 1px, transparent 1px 26px); box-shadow: var(--shadow); }
.lcb-contactpanel h3 { color: #fff; font-size: 1.3rem; margin: 0 0 18px; }
.lcb-contactpanel h3:not(:first-child) { margin-top: 34px; padding-top: 28px; border-top: 1px solid rgba(223, 183, 91, .3); }
.lcb-details, .lcb-next { list-style: none; padding: 0; margin: 0; display: grid; gap: 18px; }
.lcb-details li { display: flex; gap: 16px; align-items: flex-start; }
.lcb-ic { flex: none; width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(223, 183, 91, .6); color: var(--gold); display: grid; place-items: center; transition: background .25s, color .25s; }
.lcb-details li:hover .lcb-ic { background: var(--gold); color: #0F2A44; }
.lcb-details small { display: block; font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: #94A3B8; margin-bottom: 2px; font-family: 'DM Sans', sans-serif; }
.lcb-details a, .lcb-details span:not(.lcb-ic) { color: #fff; text-decoration: none; font-size: 1.02rem; line-height: 1.5; }
.lcb-details a:hover { color: var(--gold); }
.lcb-next { counter-reset: n; }
.lcb-next li { counter-increment: n; position: relative; padding-left: 46px; line-height: 1.55; color: #CBD5E1; }
.lcb-next li::before { content: counter(n); position: absolute; left: 0; top: 0; width: 30px; height: 30px; border-radius: 50%; background: var(--gold); color: #0F2A44; font-family: 'Fraunces', serif; font-weight: 700; display: grid; place-items: center; }
.lcb-next b { color: #fff; font-weight: 600; }
.lcb-panelbtn { display: inline-block; margin-top: 30px; border: 1.5px solid var(--gold); color: var(--gold) !important; padding: 12px 20px; border-radius: 6px; text-decoration: none; font-weight: 600; font-family: 'DM Sans', sans-serif; transition: background .25s, color .25s; }
.lcb-panelbtn:hover { background: var(--gold); color: #0F2A44 !important; }
@media (max-width: 600px) { .lcb-contact-cols .lcb-card, .lcb-contactpanel { padding: 28px 22px !important; } }

/* ---------- Editorial layout: left aligned, not centred ---------- */
.lcb-main .alignfull.is-layout-constrained > :where(p, h1, h2, .wp-block-buttons) { margin-left: 0 !important; margin-right: auto !important; }
.lcb-main .alignfull > .has-text-align-center { text-align: left !important; }
.lcb-main h2.wp-block-heading.has-text-align-center::after { left: 0; margin-left: 0; }
.lcb-main .alignfull .wp-block-buttons.is-content-justification-center { justify-content: flex-start !important; }
.lcb-main .alignfull > p { max-width: 720px; }
.lcb-cta .wp-block-columns { align-items: center; }
.lcb-cta h2.wp-block-heading::after { background: #0F2A44; }
.lcb-cta .wp-block-button__link { border-radius: 6px; }

/* ---------- Home: services as numbered rows ---------- */
.lcb-rows { display: grid; }
.lcb-row { display: grid; grid-template-columns: 54px 1fr 1.5fr 32px; gap: 18px; align-items: center; padding: 26px 8px; border-top: 1px solid var(--line); text-decoration: none; color: inherit; position: relative; transition: background .3s ease, padding .3s ease; }
.lcb-row:last-child { border-bottom: 1px solid var(--line); }
.lcb-row::before { content: ""; position: absolute; left: 0; top: -1px; height: 2px; width: 100%; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .5s ease; }
.lcb-row:hover { background: #FAF6EC; padding-left: 20px; }
.lcb-row:hover::before { transform: scaleX(1); }
.lcb-row__n { font-family: 'Fraunces', serif; font-size: 1.5rem; color: var(--gold-deep); }
.lcb-row__t { font-family: 'Fraunces', serif; font-size: 1.35rem; font-weight: 600; color: #0F2A44; line-height: 1.25; }
.lcb-row__d { color: #475569; font-size: .98rem; line-height: 1.55; }
.lcb-row__go { font-size: 1.4rem; color: var(--gold-deep); transition: transform .3s ease; justify-self: end; }
.lcb-row:hover .lcb-row__go { transform: translateX(6px); }
@media (max-width: 820px) { .lcb-row { grid-template-columns: 40px 1fr; } .lcb-row__d { grid-column: 2; } .lcb-row__go { display: none; } }

/* ---------- Home: problems as big numerals ---------- */
.lcb-problems { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 0; }
.lcb-problems > div { padding: 8px 34px 8px 0; margin-right: 34px; border-right: 1px solid var(--line); position: relative; }
.lcb-problems > div:last-child { border-right: 0; }
.lcb-problems span { display: block; font-family: 'Fraunces', serif; font-size: 4rem; line-height: 1; color: transparent; -webkit-text-stroke: 1.5px var(--gold-deep); margin-bottom: 8px; }
.lcb-problems h3 { margin: 0 0 8px; font-size: 1.35rem; color: #0F2A44; }
.lcb-problems p { margin: 0; color: #475569; }
@media (max-width: 700px) { .lcb-problems > div { border-right: 0; border-bottom: 1px solid var(--line); margin: 0 0 20px; padding: 0 0 20px; } }

/* ---------- Home: how it works as a timeline ---------- */
.lcb-steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 28px; position: relative; counter-reset: s; }
.lcb-steps li { position: relative; padding-top: 58px; }
.lcb-steps li::before { content: ""; position: absolute; left: 0; right: -28px; top: 21px; height: 2px; background: repeating-linear-gradient(90deg, var(--gold) 0 8px, transparent 8px 14px); }
.lcb-steps li:last-child::before { display: none; }
.lcb-steps b { position: absolute; left: 0; top: 0; width: 44px; height: 44px; border-radius: 50%; background: #0F2A44; color: var(--gold); font-family: 'Fraunces', serif; font-size: 1.2rem; display: grid; place-items: center; box-shadow: 0 0 0 6px #fff; z-index: 1; }
.lcb-steps h3 { margin: 0 0 6px; font-size: 1.3rem; color: #0F2A44; }
.lcb-steps p { margin: 0; color: #475569; }

/* ---------- Footer: light, ivory ---------- */
.lcb-footer { background: #FAF6EC !important; color: #2B3F55 !important; border-top: 4px solid var(--gold); }
.lcb-footer a { color: #2B3F55 !important; }
.lcb-footer a:hover { color: var(--gold-deep) !important; }
.lcb-footer h4 { color: var(--gold-deep) !important; }
.lcb-footer p { color: #475569; }
.lcb-footer__plate { background: transparent !important; padding: 0 !important; }
.lcb-footer__bottom { border-top: 1px solid var(--line) !important; color: #64748B !important; }
.lcb-footer__bottom a { color: #2B3F55 !important; }
.lcb-footer p.lcb-footer__legal { color: #64748B; }
.lcb-footer a.lcb-footer__btn { background: #0F2A44 !important; color: #fff !important; }
.lcb-footer a.lcb-footer__btn:hover { background: var(--gold) !important; color: #0F2A44 !important; }
