/*
Theme Name: Hani Solon
Author: Hani Solon
Description: Block theme for an information-only site about Queensland litigation and construction disputes. General information, not legal advice: no contact details, enquiry calls to action or business schema are shown publicly; the firm pages are created as drafts for later. Every page is ordinary blocks — edit text and photos in place. Colours, fonts and spacing live in Appearance → Editor → Styles; header, footer, Insights and article layouts under Appearance → Editor → Templates. Run Appearance → Starter content once after activating.
Version: 1.1.0
Requires at least: 6.6
Tested up to: 6.9
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: hani-solon
Tags: block-patterns, full-site-editing, dark, one-column, custom-colors, editor-style
*/

/* Component styles. Every class is prefixed hs-; add a class to a block under
   Advanced → Additional CSS class(es) to reuse a style. Colours and fonts read
   the theme.json presets, so changing them in Styles updates everything here. */

:root, body {
	--ink: var(--wp--preset--color--ink); --panel: var(--wp--preset--color--panel); --raised: var(--wp--preset--color--raised);
	--line: var(--wp--preset--color--line); --line2: var(--wp--preset--color--line-strong);
	--text: var(--wp--preset--color--text); --soft: var(--wp--preset--color--soft); --dim: var(--wp--preset--color--dim);
	--muted: var(--wp--preset--color--muted); --subtle: var(--wp--preset--color--subtle); --faint: var(--wp--preset--color--faint);
	--gold: var(--wp--preset--color--gold);
	--serif: var(--wp--preset--font-family--serif); --sans: var(--wp--preset--font-family--sans); --mono: var(--wp--preset--font-family--mono);
	--hs-gutter: clamp(18px, 4vw, 32px); --hs-ease: cubic-bezier(.2, .75, .2, 1);
}
:root { --hs-header-h: 72px; }

/* ---------- Base ---------- */
html { scroll-behavior: smooth; }
body { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; overflow-x: clip; }
::selection { background: var(--gold); color: var(--ink); }
[hidden] { display: none !important; }
:where(h1, h2, h3, h4) em { font-style: italic; color: var(--gold); }
:where(p, li, h1, h2, h3) { text-wrap: pretty; }
:focus-visible { outline: 1px solid var(--gold); outline-offset: 3px; }
.wp-site-blocks { padding-block: 0; }
.wp-site-blocks > * + * { margin-block-start: 0; }
body .hs-main > *, body .hs-landing > *, .is-root-container > .alignfull { margin-block-start: 0; margin-block-end: 0; }
.hs-main { min-height: 40vh; }
input, textarea, select, button { font: inherit; color: inherit; }

/* ---------- Type helpers ---------- */
body .hs-eyebrow { margin: 0; font-family: var(--mono); font-size: 10px; line-height: 1.6; letter-spacing: .3em; text-transform: uppercase; color: var(--gold); }
body .hs-eyebrow--rule { display: flex; align-items: center; gap: 14px; }
.hs-eyebrow--rule::before { content: ""; flex: 0 0 44px; height: 1px; background: currentColor; }
body .hs-label, body .hs-note-meta { font-family: var(--mono); font-size: 10px; line-height: 1.7; letter-spacing: .2em; text-transform: uppercase; color: var(--subtle); }
body .hs-note-meta--topic { color: var(--gold); }
body .hs-caption { margin: 0; font-family: var(--mono); font-size: 9px; line-height: 1.6; letter-spacing: .22em; text-transform: uppercase; color: rgba(236, 234, 229, .62); }
body .hs-crumbs { margin: 0 0 40px; font-family: var(--mono); font-size: 10px; letter-spacing: .24em; text-transform: uppercase; color: #8b8f97; }
.hs-crumbs a { color: inherit; }
.hs-crumbs a:hover { color: var(--text); }
.hs-crumbs strong { font-weight: 400; color: var(--gold); }
body .hs-lede { margin: 0; max-width: 46ch; font-size: 18px; line-height: 1.7; color: var(--muted); }
body .hs-copy { max-width: 52ch; font-size: 17px; line-height: 1.75; color: var(--muted); }
body .hs-num { margin: 0; font-family: var(--mono); font-size: 11px; letter-spacing: .18em; color: var(--gold); }
body .hs-more { font-family: var(--mono); font-size: 11px; letter-spacing: .18em; text-transform: uppercase; }
body .hs-note { font-size: 15px; line-height: 1.7; color: var(--subtle); }

/* ---------- Buttons ---------- */
.wp-block-button__link { transition: background-color .22s ease, color .22s ease, border-color .22s ease, transform .22s ease; }
body .wp-block-button:not(.is-style-outline) .wp-block-button__link:hover { transform: translateY(-2px); }
body .wp-block-button.is-style-outline .wp-block-button__link { background: transparent; color: var(--text); border: 1px solid var(--line2); padding: 17px 26px; }
body .wp-block-button.is-style-outline .wp-block-button__link:hover { background: var(--raised); border-color: var(--gold); color: var(--text); }
body .wp-block-buttons { gap: 14px; }

/* ---------- Header ---------- */
.hs-site-header, header.wp-block-template-part:has(.hs-header) {
	position: sticky; top: var(--wp-admin--admin-bar--height, 0px); z-index: 60;
	background: rgba(11, 12, 14, .72); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); border-bottom: 1px solid var(--line);
}
body .hs-header { max-width: 1380px; margin: 0 auto; padding: 15px var(--hs-gutter); gap: 22px; align-items: center; }
body .hs-brand { gap: 12px; flex: 0 0 auto; align-items: baseline; }
.hs-brand .wp-block-site-title { margin: 0; font-family: var(--serif); font-size: clamp(20px, 5.2vw, 27px); line-height: 1; letter-spacing: .13em; text-transform: uppercase; white-space: nowrap; }
.hs-brand .wp-block-site-title a { color: var(--text); }
.hs-brand .wp-block-site-tagline { margin: 0; font-family: var(--mono); font-size: 9px; letter-spacing: .28em; text-transform: uppercase; color: var(--subtle); white-space: nowrap; }
@media (max-width: 879px) { .hs-brand .wp-block-site-tagline { display: none; } }
body .hs-nav { margin-left: auto; gap: 22px; }
.hs-nav .wp-block-navigation-item__content { font-size: 13px; letter-spacing: .04em; color: var(--dim); transition: color .2s ease; }
.hs-nav .wp-block-navigation-item__content:hover, .hs-nav [aria-current="page"] { color: var(--gold); }
.hs-nav .hs-nav-cta .wp-block-navigation-item__content { font-family: var(--mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); border: 1px solid var(--gold); padding: 12px 20px; transition: background-color .22s ease, color .22s ease; }
.hs-nav .hs-nav-cta .wp-block-navigation-item__content:hover { background: var(--gold); color: var(--ink); }
.hs-nav .wp-block-navigation__responsive-container-open { min-height: 44px; padding: 13px 17px; border: 1px solid var(--line2); font-family: var(--mono); font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--text); }
.hs-nav .wp-block-navigation__responsive-container.is-menu-open { background: var(--ink) !important; color: var(--text) !important; padding: 24px var(--hs-gutter) 40px; }
.hs-nav .is-menu-open .wp-block-navigation__responsive-container-content { padding-top: 48px; align-items: stretch !important; }
.hs-nav .is-menu-open .wp-block-navigation__container { width: 100%; gap: 0 !important; align-items: stretch !important; }
.hs-nav .is-menu-open .wp-block-navigation-item { width: 100%; border-bottom: 1px solid var(--line); }
.hs-nav .is-menu-open .wp-block-navigation-item__content { display: flex !important; align-items: center; min-height: 60px; width: 100%; padding: 0 !important; font-family: var(--serif); font-size: 26px; letter-spacing: 0; color: var(--text); }
.hs-nav .is-menu-open .hs-nav-cta { border: 0; margin-top: 28px; }
.hs-nav .is-menu-open .hs-nav-cta .wp-block-navigation-item__content { justify-content: center; min-height: 56px; background: var(--gold); color: var(--ink); font-family: var(--mono); font-size: 11px; letter-spacing: .2em; border: 0; }

/* ---------- Footer & mobile call bar ---------- */
.hs-site-footer, footer.wp-block-template-part:has(.hs-footer) { background: var(--panel); border-top: 1px solid var(--line); }
body .hs-footer { max-width: 1380px; margin: 0 auto; padding: 44px var(--hs-gutter); display: flex; flex-wrap: wrap; gap: 36px; justify-content: space-between; align-items: flex-start; }
body .hs-footer > * { margin: 0; }
body .hs-footer__brand > * { margin: 0; }
.hs-footer__name { font-family: var(--serif); font-size: 24px; letter-spacing: .13em; text-transform: uppercase; white-space: nowrap; margin-bottom: 12px !important; }
body .hs-footer__nav { display: flex; flex-wrap: wrap; gap: 14px 26px; font-size: 14px; }
body .hs-footer__nav > * { margin: 0; }
.hs-footer__nav a { color: var(--dim); }
.hs-footer__nav a:hover, .hs-footer__nav [aria-current="page"] { color: var(--gold); }
.hs-footer__legal { max-width: 32ch; font-size: 13px; line-height: 1.7; color: var(--subtle); }
body .hs-callbar { display: none; }
@media (max-width: 879px) {
	body .hs-callbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 65; display: grid; grid-template-columns: 1fr 1fr; gap: 0; margin: 0; border-top: 1px solid var(--line2); background: rgba(11, 12, 14, .94); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
	.hs-callbar .wp-block-button { width: auto; margin: 0; }
	body .hs-callbar .wp-block-button__link { display: flex; align-items: center; justify-content: center; width: 100%; min-height: 60px; padding: 0; border: 0; font-family: var(--mono); font-size: 11px; letter-spacing: .18em; text-transform: uppercase; transform: none !important; }
	body .hs-callbar .is-style-outline .wp-block-button__link { border: 0; border-right: 1px solid var(--line2); }
	body:has(.hs-callbar) { padding-bottom: 60px; }
}

/* ---------- Sections & layout ---------- */
body .hs-section { padding-block: clamp(64px, 8vw, 120px); padding-inline: var(--hs-gutter); }
body .hs-section--tight { padding-block: clamp(40px, 5vw, 72px); }
body .hs-section--flush { padding-top: 0; }
body .hs-section--rule { border-top: 1px solid var(--line); }
body .hs-panel { background: var(--panel); border-block: 1px solid var(--line); }
body .hs-pagehead { padding: clamp(44px, 6vw, 84px) var(--hs-gutter) clamp(36px, 5vw, 64px); border-bottom: 1px solid var(--line); }
body .hs-pagehead h1, body .hs-pagehead .wp-block-query-title { margin: 0; }
.hs-pagehead .wp-block-post-title, .hs-pagehead .wp-block-query-title { font-size: clamp(40px, 6vw, 84px); line-height: .99; }
body .hs-head, body .hs-split { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 28px clamp(32px, 5vw, 64px); }
body .hs-head { align-items: end; margin-bottom: clamp(36px, 5vw, 56px); }
body .hs-head > *, body .hs-split > * { margin: 0; }
body .hs-head > :last-child:not(:first-child) { justify-self: end; }
body .hs-head--hero { margin-bottom: 0; gap: clamp(28px, 4vw, 56px); }
body .hs-head--hero > :last-child:not(:first-child) { justify-self: start; }
body .hs-head--inline { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 22px; }
body .hs-split--start { align-items: start; }
body .hs-split--center { align-items: center; }
body .hs-split--stretch { align-items: stretch; }
body .hs-split > .wp-block-group > :first-child { margin-top: 0; }

/* ---------- Home hero ---------- */
body .hs-hero { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr)); min-height: min(86vh, 760px); border-bottom: 1px solid var(--line); }
body .hs-hero > * { margin: 0; }
body .hs-hero__copy { display: flex; flex-direction: column; justify-content: center; gap: 30px; width: 100%; max-width: 780px; margin-left: auto; padding: clamp(48px, 7vw, 104px) clamp(24px, 4vw, 64px) 56px; }
body .hs-hero__copy > * { margin: 0; animation: hsRise .9s var(--hs-ease) both; }
.hs-hero__copy > :nth-child(1) { animation-name: hsFade; }
.hs-hero__copy > :nth-child(3) { animation-delay: .12s; }
.hs-hero__copy > :nth-child(4) { animation-delay: .22s; }
body .hs-hero__copy > :nth-child(5) { animation: hsFade 1s ease .4s both; }
body .hs-hero__media { min-height: clamp(260px, 44vh, 520px) !important; padding: 24px !important; border-left: 1px solid var(--line); }
.hs-hero__media .wp-block-cover__image-background { object-position: 50% 30%; filter: grayscale(1) contrast(1.12) brightness(.82); animation: hsDrift 16s ease-in-out infinite alternate; }
.hs-hero__media > .wp-block-cover__background { background: linear-gradient(90deg, var(--ink) 0%, rgba(11, 12, 14, .35) 30%, rgba(11, 12, 14, .08) 60%, rgba(11, 12, 14, .55) 100%) !important; opacity: 1 !important; }
.hs-hero__media::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; opacity: .6; background: repeating-linear-gradient(90deg, rgba(236, 234, 229, .055) 0 1px, transparent 1px 84px); }
body .hs-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(120px, 100%), 1fr)); gap: 22px; padding-top: 30px; border-top: 1px solid var(--line); }
body .hs-stat > * { margin: 0; }
body .hs-stat .hs-stat__n { margin: 0 0 10px; font-family: var(--serif); font-size: 38px; line-height: 1; color: var(--text); }
body .hs-statband { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr)); gap: 28px; }
body .hs-statband .hs-stat__n { font-size: clamp(34px, 3.6vw, 48px); }
body .hs-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); gap: 28px clamp(28px, 4vw, 56px); }
body .hs-fact__label { margin-top: 12px; max-width: 34ch; font-size: 15px; line-height: 1.65; color: var(--muted); }

/* ---------- Strip ---------- */
body .hs-strip { padding: 18px var(--hs-gutter); background: var(--panel); border-bottom: 1px solid var(--line); }
body .hs-strip__row { display: flex; flex-wrap: wrap; gap: 14px 40px; align-items: center; }
body .hs-strip__row > * { margin: 0; font-family: var(--mono); font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: var(--subtle); }
body .hs-strip__row > :first-child { color: var(--gold); }

/* ---------- Practice rows (home) ---------- */
body .hs-prows { border-top: 1px solid var(--line); }
body .hs-prows > * { margin: 0; }
body .hs-prow { position: relative; display: grid; grid-template-columns: 44px minmax(0, 1.1fr) minmax(0, 1.5fr) 130px; gap: 10px 28px; align-items: baseline; padding: 30px 8px; border-bottom: 1px solid var(--line); transition: background-color .26s ease, padding-left .26s ease; }
body .hs-prow > * { margin: 0; }
body .hs-prow:hover { background: #13151a; padding-left: 20px; }
.hs-prow__num { font-family: var(--mono); font-size: 11px; letter-spacing: .18em; color: var(--gold); }
.hs-prow__title { font-family: var(--serif); font-size: clamp(23px, 2.4vw, 34px); line-height: 1.12; }
.hs-prow__title a, .hs-prow:hover .hs-prow__title a { color: var(--text); }
.hs-prow__title a::after { content: ""; position: absolute; inset: 0; }
.hs-prow__body { font-size: 15px; line-height: 1.7; color: var(--muted); }
.hs-prow__tag { font-family: var(--mono); font-size: 11px; letter-spacing: .16em; color: var(--subtle); text-align: right; }
@media (max-width: 860px) { .hs-prow__tag { text-align: left; } }
@media (max-width: 860px) { body .hs-prow { grid-template-columns: 36px minmax(0, 1fr); } .hs-prow__body, .hs-prow__tag { grid-column: 2; } }

/* ---------- Feature (home "The firm") ---------- */
body .hs-feature { background: var(--panel); border-block: 1px solid var(--line); }
body .hs-feature__inner { max-width: 1380px; margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); }
body .hs-feature__inner > * { margin: 0; }
body .hs-feature__media { min-height: clamp(280px, 46vh, 520px) !important; padding: 0 !important; border-right: 1px solid var(--line); }
.hs-feature__media .wp-block-cover__image-background { filter: grayscale(1) contrast(1.08) brightness(.86); }
.hs-feature__media > .wp-block-cover__background { background: linear-gradient(180deg, rgba(11, 12, 14, .25), rgba(11, 12, 14, .7)) !important; opacity: 1 !important; }
body .hs-feature__media .wp-block-cover__inner-container { width: 100%; }
body .hs-feature__copy { padding: clamp(56px, 6vw, 96px) clamp(28px, 4vw, 72px); }
body .hs-feature__copy > :first-child { margin-top: 0; }
body .hs-feature__copy .hs-ledger { margin-top: 38px; }
body .hs-photo-quote { margin: 0; padding: 36px; border: 0; border-top: 1px solid rgba(236, 234, 229, .18); background: rgba(11, 12, 14, .55); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.hs-photo-quote p { margin: 0 0 16px; font-family: var(--serif); font-size: clamp(20px, 2.2vw, 28px); line-height: 1.35; color: var(--text); }
.hs-photo-quote cite { display: block; font-style: normal; font-family: var(--mono); font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); }

/* ---------- Ledger rows ---------- */
body .hs-ledger { display: grid; border-top: 1px solid var(--line); }
body .hs-ledger > *, body .hs-ledger__row > * { margin: 0; }
body .hs-ledger__row { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 20px; align-items: baseline; padding: 20px 0; border-bottom: 1px solid var(--line); }
.hs-ledger__row > :first-child { font-family: var(--mono); font-size: 11px; letter-spacing: .16em; color: var(--gold); }
.hs-ledger__row > :last-child { font-size: 16px; line-height: 1.65; color: var(--soft); }
body .hs-ledger--kv .hs-ledger__row { grid-template-columns: 96px minmax(0, 1fr); padding: 16px 0; }
.hs-ledger--kv .hs-ledger__row > :first-child { font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: var(--subtle); }
.hs-ledger__row a { color: var(--text); }
.hs-ledger__row a:hover { color: var(--gold); }
body .hs-split > .wp-block-group > .hs-ledger { margin-top: 36px; }
body .hs-split > .hs-ledger { margin-top: 0; }

/* ---------- Cards & note lists ---------- */
.hs-cards .wp-block-post-template { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(290px, 100%), 1fr)); gap: 32px; margin: 0; }
body .hs-card { position: relative; height: 100%; display: flex; flex-direction: column; border: 1px solid var(--line); background: var(--panel); transition: border-color .26s ease, transform .26s ease; }
body .hs-card > * { margin: 0; }
body .hs-card:hover { border-color: var(--gold); transform: translateY(-4px); }
.hs-card .wp-block-post-featured-image { height: 190px; overflow: hidden; margin: 0; }
.hs-card .wp-block-post-featured-image a, .hs-card .wp-block-post-featured-image img { display: block; width: 100%; height: 100%; object-fit: cover; }
.hs-card .wp-block-post-featured-image img, .hs-featured__card .wp-block-post-featured-image img { filter: grayscale(1) brightness(.8) contrast(1.1); }
body .hs-card__body { display: flex; flex-direction: column; gap: 14px; padding: 26px 26px 30px; }
body .hs-card__body > * { margin: 0; }
.hs-card .wp-block-post-title { font-size: 26px; line-height: 1.2; }
.hs-card .wp-block-post-title a::after, .hs-note-row .wp-block-post-title a::after, .hs-featured__card .wp-block-post-title a::after { content: ""; position: absolute; inset: 0; }
.wp-block-post-excerpt__excerpt { margin: 0; font-size: 15px; line-height: 1.7; color: var(--muted); }
.wp-block-post-excerpt__more-text { display: none; }
.hs-featured .wp-block-post-template { margin: 0; }
body .hs-featured__card { position: relative; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); border: 1px solid var(--line); background: var(--panel); transition: border-color .26s ease; }
body .hs-featured__card > * { margin: 0; }
body .hs-featured__card:hover { border-color: var(--gold); }
.hs-featured__card .wp-block-post-featured-image { position: relative; min-height: 320px; margin: 0; overflow: hidden; }
.hs-featured__card .wp-block-post-featured-image a, .hs-featured__card .wp-block-post-featured-image img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hs-featured__card .wp-block-post-featured-image::after { content: "Latest"; position: absolute; left: 20px; top: 20px; padding: 7px 11px; background: var(--gold); color: var(--ink); font-family: var(--mono); font-size: 10px; letter-spacing: .2em; text-transform: uppercase; }
body .hs-featured__body { display: flex; flex-direction: column; justify-content: center; gap: 18px; padding: clamp(28px, 4vw, 56px); }
body .hs-featured__body > * { margin: 0; }
.hs-featured__card .wp-block-post-title { font-size: clamp(30px, 3.4vw, 46px); line-height: 1.08; }
.hs-featured__card .wp-block-post-excerpt__excerpt { font-size: 17px; }
.hs-featured__card .wp-block-read-more { font-family: var(--mono); font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); }
body .hs-topics { display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; padding: 18px 0; border-bottom: 1px solid var(--line); }
body .hs-topics > * { margin: 0; font-family: var(--mono); font-size: 10px; letter-spacing: .2em; text-transform: uppercase; }
.hs-topics__label { color: var(--subtle); }
.hs-topics a { color: var(--dim); }
.hs-topics a:hover, .hs-topics .current-cat a, .hs-topics [aria-current="page"] { color: var(--gold); }
.hs-topics__list { display: flex; flex-wrap: wrap; gap: 12px 24px; list-style: none; margin: 0; padding: 0; }
.hs-notes .wp-block-post-template { margin: 0; }
body .hs-note-row { position: relative; display: grid; grid-template-columns: minmax(120px, .6fr) minmax(0, 2fr) minmax(0, 2fr) auto; gap: 8px 28px; align-items: baseline; padding: 26px 0; border-bottom: 1px solid var(--line); transition: background-color .2s ease, padding .2s ease; }
body .hs-note-row > * { margin: 0; }
body .hs-note-row:hover { background: #13151a; padding-inline: 14px; }
.hs-note-row .wp-block-post-title { font-size: clamp(21px, 2.2vw, 27px); line-height: 1.2; }
@media (max-width: 860px) { body .hs-note-row { grid-template-columns: 1fr; } }
.wp-block-query-pagination { margin-top: 40px; gap: 18px; font-family: var(--mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; }
.wp-block-query-pagination .current { color: var(--gold); }

/* ---------- Covers: page heroes, bands, figures ---------- */
body .hs-cover { margin-block: 0; }
.hs-cover .wp-block-cover__inner-container { z-index: 2; color: var(--text); }
body .hs-cover--hero { min-height: 0 !important; padding: clamp(44px, 6vw, 84px) var(--hs-gutter) clamp(44px, 6vw, 76px) !important; border-bottom: 1px solid var(--line); align-items: flex-end; }
.hs-cover--hero .wp-block-cover__image-background { object-position: 50% 45%; filter: grayscale(1) brightness(.34) contrast(1.15); }
.hs-cover--hero > .wp-block-cover__background { background: linear-gradient(180deg, rgba(11, 12, 14, .88), rgba(11, 12, 14, .74) 55%, var(--ink)) !important; opacity: 1 !important; }
.hs-cover--hero h1, .hs-cover--hero .wp-block-post-title { margin: 0; font-size: clamp(40px, 6vw, 84px); }
body .hs-cover--band { min-height: 0 !important; padding: clamp(50px, 7vw, 96px) var(--hs-gutter) !important; border-block: 1px solid var(--line); }
.hs-cover--band .wp-block-cover__image-background { filter: grayscale(1) brightness(.38) contrast(1.15); }
.hs-cover--band > .wp-block-cover__background { background: linear-gradient(90deg, rgba(11, 12, 14, .94), rgba(11, 12, 14, .62)) !important; opacity: 1 !important; }
.hs-cover--band h2 { max-width: 22ch; font-size: clamp(28px, 3.8vw, 52px); margin-top: 0; }
.hs-cover--band .hs-copy { color: var(--dim); }
body .hs-figure { min-height: clamp(300px, 50vh, 560px) !important; padding: 24px !important; margin: 0; }
.hs-figure .wp-block-cover__image-background { filter: grayscale(1) contrast(1.08) brightness(.86); }
.hs-figure > .wp-block-cover__background { background: linear-gradient(180deg, rgba(11, 12, 14, .1), rgba(11, 12, 14, .6)) !important; opacity: 1 !important; }

/* ---------- Practice page ---------- */
body .hs-jump { position: sticky; top: calc(var(--wp-admin--admin-bar--height, 0px) + var(--hs-header-h)); z-index: 50; padding-inline: var(--hs-gutter); background: var(--panel); border-bottom: 1px solid var(--line); }
body .hs-jump__row { display: flex; flex-wrap: nowrap; gap: 24px; align-items: center; overflow-x: auto; padding: 14px 0; scrollbar-width: none; }
.hs-jump__row::-webkit-scrollbar { display: none; }
body .hs-jump__row > * { flex: 0 0 auto; margin: 0; white-space: nowrap; font-family: var(--mono); font-size: 10px; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); }
.hs-jump__row a { color: var(--dim); }
.hs-jump__row a:hover { color: var(--gold); }
body .hs-section--areas { padding-top: 0; }
body .hs-area { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 28px clamp(32px, 5vw, 72px); padding-block: clamp(48px, 6vw, 84px); border-bottom: 1px solid var(--line); scroll-margin-top: calc(var(--hs-header-h) + 64px); }
body .hs-area > * { margin: 0; }
body .hs-area__copy > :first-child { margin-top: 0; }
.hs-area h2 { font-size: clamp(30px, 3.6vw, 48px); }
body .hs-area__facts { font-family: var(--mono); font-size: 10px; line-height: 2; letter-spacing: .18em; text-transform: uppercase; color: var(--subtle); }
.hs-area__facts strong { font-weight: 400; color: var(--gold); }
body .hs-dash { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.hs-dash li { display: grid; grid-template-columns: 28px minmax(0, 1fr); padding: 15px 0; border-bottom: 1px solid var(--line); font-size: 16px; line-height: 1.6; color: var(--soft); }
.hs-dash li::before { content: "—"; font-family: var(--mono); color: var(--subtle); }
body .hs-area__list .hs-more { margin-top: 22px; }

/* ---------- Matter index ---------- */
body .hs-matters { padding-top: 0; }
body .hs-matters__find { display: none; }
body .hs-findbar { position: sticky; top: calc(var(--wp-admin--admin-bar--height, 0px) + var(--hs-header-h)); z-index: 50; width: 100vw; max-width: none !important; margin: 0 0 0 calc(50% - 50vw) !important; background: var(--panel); border-bottom: 1px solid var(--line); }
.hs-findbar__inner { max-width: 1380px; margin: 0 auto; padding-inline: var(--hs-gutter); }
.hs-findbar__search { display: flex; align-items: center; gap: clamp(12px, 2vw, 20px); border-bottom: 1px solid var(--line); }
.hs-findbar__label { flex: 0 0 auto; font-family: var(--mono); font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); }
.hs-findbar__input { flex: 1 1 auto; min-width: 0; min-height: 56px; padding: 0; border: 0; outline: none; background: transparent; color: var(--text); font-family: var(--sans); font-size: clamp(16px, 2.2vw, 20px); -webkit-appearance: none; appearance: none; }
.hs-findbar__input::placeholder { color: var(--faint); }
.hs-findbar__input::-webkit-search-cancel-button { -webkit-appearance: none; display: none; }
.hs-findbar__clear { flex: 0 0 auto; min-height: 40px; padding: 0 14px; background: transparent; border: 1px solid var(--line2); color: var(--dim); font-family: var(--mono); font-size: 10px; letter-spacing: .18em; text-transform: uppercase; cursor: pointer; }
.hs-findbar__clear:hover { border-color: var(--gold); color: var(--text); }
.hs-findbar__chips { display: flex; flex-wrap: nowrap; gap: 22px; align-items: center; overflow-x: auto; padding: 11px 0; scrollbar-width: none; }
.hs-findbar__chips::-webkit-scrollbar { display: none; }
.hs-chip { flex: 0 0 auto; display: flex; align-items: baseline; gap: 8px; min-height: 34px; padding: 0; border: 0; background: transparent; cursor: pointer; white-space: nowrap; font-family: var(--mono); font-size: 10px; letter-spacing: .18em; text-transform: uppercase; color: var(--dim); }
.hs-chip span { font-size: 9px; color: var(--faint); }
.hs-chip.is-zero { color: #4a4e56; }
.hs-chip:hover { color: var(--text); }
.hs-chip[aria-pressed="true"], .hs-chip[aria-pressed="true"] span { color: var(--gold); }
body .hs-findbar__result { margin: clamp(26px, 3vw, 40px) 0 clamp(20px, 3vw, 34px) !important; font-family: var(--mono); font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: var(--subtle); }
body .hs-mgroup { padding-bottom: clamp(30px, 4vw, 52px); }
body .hs-mgroup > * { margin: 0; }
body .hs-mgroup__head { display: flex; flex-wrap: wrap; gap: 10px 20px; align-items: baseline; padding-bottom: 14px; border-bottom: 1px solid var(--gold); }
body .hs-mgroup__head > * { margin: 0; }
.hs-mgroup__head h2 { flex: 1 1 200px; font-size: clamp(26px, 3vw, 38px); line-height: 1.08; }
.hs-mgroup__head .hs-more { font-size: 10px; }
body .hs-mrow { position: relative; display: flex; flex-wrap: wrap; gap: 4px 24px; align-items: baseline; min-height: 56px; padding: 14px 0; border-bottom: 1px solid var(--line); }
body .hs-mrow > * { margin: 0; }
.hs-mrow__name { flex: 1 1 240px; font-family: var(--serif); font-size: clamp(19px, 2vw, 23px); line-height: 1.3; }
.hs-mrow__name a { color: var(--text); transition: color .18s ease; }
.hs-mrow__name a::after { content: ""; position: absolute; inset: 0; }
.hs-mrow:hover .hs-mrow__name a { color: var(--gold); }
.hs-mrow__forum, .hs-mrow__basis { flex: 0 0 auto; font-family: var(--mono); font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: var(--subtle); }
.hs-mrow__basis { color: var(--faint); }
body .hs-matters__empty { display: none; padding: clamp(40px, 6vw, 80px) 0 clamp(20px, 3vw, 40px); border-top: 1px solid var(--line); }
body .hs-matters__empty.is-visible { display: block; }
body .hs-matters__empty > * { max-width: 52ch; }
.hs-matters__empty h2 { font-size: clamp(28px, 3.4vw, 42px); margin-top: 0; }

/* ---------- How a case runs ---------- */
body .hs-stages { counter-reset: stage; margin-top: clamp(32px, 4vw, 48px); border-top: 1px solid var(--line); }
body .hs-stages > * { margin: 0; }
body .hs-stage { counter-increment: stage; display: grid; grid-template-columns: 56px minmax(0, 1fr) minmax(0, 1.5fr); grid-template-areas: "n t b" "n m y"; gap: 6px 28px; align-items: baseline; padding: 28px 0; border-bottom: 1px solid var(--line); }
body .hs-stage > * { margin: 0; }
.hs-stage::before { grid-area: n; content: counter(stage, decimal-leading-zero); font-family: var(--mono); font-size: 11px; letter-spacing: .18em; color: var(--gold); }
.hs-stage__title { grid-area: t; font-family: var(--serif); font-size: clamp(22px, 2.2vw, 30px); line-height: 1.15; }
.hs-stage__time { grid-area: m; font-family: var(--mono); font-size: 10px; letter-spacing: .18em; text-transform: uppercase; color: var(--subtle); }
.hs-stage__body { grid-area: b; font-size: 16px; line-height: 1.7; color: var(--muted); }
.hs-stage__you { grid-area: y; font-family: var(--mono); font-size: 10px; line-height: 1.8; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); }
.hs-stage__you strong { font-weight: 400; color: var(--dim); }
@media (max-width: 760px) { body .hs-stage { grid-template-columns: 40px minmax(0, 1fr); grid-template-areas: "n t" "n m" "n b" "n y"; } body .hs-stage .hs-stage__body { margin-top: 10px; } }
body .hs-fees { margin-top: 32px; border-top: 1px solid var(--line); }
body .hs-fees > * { margin: 0; }
body .hs-fee { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px 20px; align-items: baseline; padding: 22px 0; border-bottom: 1px solid var(--line); }
body .hs-fee > * { margin: 0; }
.hs-fee__title { font-family: var(--serif); font-size: 24px; line-height: 1.2; }
.hs-fee__price { font-family: var(--mono); font-size: 11px; letter-spacing: .14em; color: var(--gold); text-align: right; }
.hs-fee__body { grid-column: 1 / -1; font-size: 15px; line-height: 1.7; color: var(--muted); }
body .hs-faqs { counter-reset: faq; border-top: 1px solid var(--line); }
body .hs-faqs > * { margin: 0; }
.hs-faq { border-bottom: 1px solid var(--line); }
.hs-faq summary { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; gap: 16px; align-items: baseline; padding: 22px 0; list-style: none; cursor: pointer; font-size: 18px; line-height: 1.45; color: var(--text); }
.hs-faq summary::-webkit-details-marker { display: none; }
.hs-faq summary::before { counter-increment: faq; content: counter(faq, decimal-leading-zero); font-family: var(--mono); font-size: 11px; letter-spacing: .16em; color: var(--gold); }
.hs-faq summary::after { content: "+"; font-family: var(--mono); color: var(--gold); }
.hs-faq[open] summary::after { content: "–"; }
.hs-faq summary:hover { color: var(--gold); }
body .hs-faq > :not(summary) { max-width: 60ch; margin: 0 0 24px 56px; font-size: 16px; line-height: 1.7; color: var(--muted); }

/* ---------- Firm ---------- */
body .hs-firmhero { padding-block: clamp(44px, 6vw, 84px); border-bottom: 1px solid var(--line); }
body .hs-firmhero__copy { display: flex; flex-direction: column; justify-content: center; }
body .hs-firmhero__copy > :first-child { margin-top: 0; }
.hs-firmhero h1 { font-size: clamp(40px, 6vw, 84px); }
body .hs-rules { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); gap: clamp(28px, 3vw, 40px); counter-reset: rule; }
body .hs-rules > * { margin: 0; }
body .hs-rule { counter-increment: rule; padding-top: 26px; border-top: 1px solid var(--gold); }
body .hs-rule > * { margin: 0; }
.hs-rule::before { content: counter(rule, upper-roman); display: block; margin-bottom: 18px; font-family: var(--serif); font-size: 34px; line-height: 1; color: var(--gold); }
body .hs-rule .hs-rule__title { margin-bottom: 12px; font-family: var(--serif); font-size: clamp(24px, 2.4vw, 30px); line-height: 1.15; color: var(--text); }
body .hs-person { display: grid; grid-template-columns: auto minmax(0, 1fr) minmax(0, 1.4fr) auto; gap: 16px clamp(20px, 3vw, 40px); align-items: center; padding: 28px 0; border-block: 1px solid var(--line); }
body .hs-person > *, body .hs-person__id > * { margin: 0; }
@media (max-width: 860px) { body .hs-person { grid-template-columns: auto minmax(0, 1fr); } .hs-person__focus, .hs-person > .hs-label { grid-column: 1 / -1; } }
body .hs-person__mark { display: grid; place-items: center; width: 62px; height: 62px; margin: 0; border: 1px solid var(--gold); font-family: var(--serif); font-size: 22px; color: var(--gold); }
body .hs-person__name { margin: 0 0 6px; font-family: var(--serif); font-size: 28px; line-height: 1.1; }
.hs-person__focus { font-size: 15px; line-height: 1.7; color: var(--muted); }

/* ---------- Contact ---------- */
body .hs-callout { margin-top: 36px; padding: 26px; border: 1px solid var(--line); background: var(--panel); }
body .hs-callout > :first-child { margin-top: 0; }
body .hs-qas { border-top: 1px solid var(--line); }
body .hs-qas > *, body .hs-qa > * { margin: 0; }
body .hs-qa { padding: 22px 0; border-bottom: 1px solid var(--line); }
.hs-qa__q { font-size: 18px; line-height: 1.5; color: var(--text); }
body .hs-qa .hs-qa__a { margin-top: 8px; max-width: 60ch; font-size: 16px; line-height: 1.7; color: var(--muted); }

/* ---------- Forms (Contact Form 7 + newsletter) ---------- */
body .hs-form-card { padding: clamp(26px, 3vw, 40px); border: 1px solid var(--line); background: var(--panel); }
body .hs-form-card > :first-child { margin-top: 0; }
.hs-cover--band .hs-form-card { background: rgba(14, 15, 18, .86); }
.hs-form, .hs-signup { display: grid; gap: 20px; }
.hs-form__row { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(180px, 100%), 1fr)); gap: 20px; }
.hs-field, .hs-signup label { display: grid; gap: 10px; }
.hs-field > span:first-child, .hs-signup label > span { font-family: var(--mono); font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: var(--subtle); }
.hs-form input:not([type="submit"]):not([type="checkbox"]):not([type="radio"]), .hs-form select, .hs-form textarea, .hs-signup input[type="email"] {
	width: 100%; padding: 14px 0; border: 0; border-bottom: 1px solid var(--line2); border-radius: 0; background: transparent; color: var(--text); font-size: 16px; outline: none; transition: border-color .2s ease;
}
.hs-form textarea { resize: vertical; }
.hs-form input:focus, .hs-form select:focus, .hs-form textarea:focus, .hs-signup input:focus { border-bottom-color: var(--gold); }
.hs-form select option { background: var(--panel); }
.hs-form ::placeholder, .hs-signup ::placeholder { color: var(--faint); }
.hs-form .wpcf7-submit, .hs-signup button { width: 100%; padding: 17px 20px; border: 0; border-radius: 0; background: var(--gold); color: var(--ink); font-size: 15px; cursor: pointer; transition: background-color .22s ease; }
.hs-form .wpcf7-submit:hover, .hs-signup button:hover { background: #fff; }
.hs-form__note { margin: 0; font-size: 13px; line-height: 1.6; color: var(--subtle); }
.wpcf7-form-control-wrap { display: block; }
.wpcf7-not-valid-tip { margin-top: 6px; font-size: 12px; color: #e8a29a; }
.wpcf7 form .wpcf7-response-output { margin: 18px 0 0; padding: 14px 16px; border: 1px solid var(--line2); font-size: 14px; color: var(--soft); }
.wpcf7 form.sent .wpcf7-response-output { border-color: var(--gold); }
.wpcf7-spinner { margin: 12px auto 0; display: block; }

/* ---------- Articles & generic pages ---------- */
.hs-cover--article .wp-block-post-title { max-width: 20ch; margin: 0; font-size: clamp(36px, 5.4vw, 72px); line-height: 1.02; }
body .hs-crumbs--row { display: flex; flex-wrap: wrap; gap: 8px; align-items: baseline; }
body .hs-crumbs--row > * { margin: 0; }
.hs-crumbs--row .wp-block-post-terms a { color: var(--gold); }
body .hs-article-meta { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 26px; }
body .hs-article-meta > * { margin: 0; font-family: var(--mono); font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: var(--dim); }
.hs-article-meta .wp-block-post-author-name { color: var(--gold); }
body .hs-article { padding: clamp(48px, 6vw, 88px) var(--hs-gutter); }
body .hs-prose > p, body .hs-prose > ul:not(.hs-list), body .hs-prose > ol:not(.hs-list) { font-size: 18px; line-height: 1.8; color: var(--soft); }
body .hs-prose > .hs-article__lede { font-size: 21px; line-height: 1.65; color: var(--text); }
body .hs-prose > h2 { margin-top: 2.2em; font-size: clamp(28px, 3vw, 38px); line-height: 1.12; }
body .hs-prose > h3 { margin-top: 1.8em; }
body .hs-prose .wp-block-quote { margin-block: 48px; padding: 28px 0; border: 0; border-top: 1px solid var(--gold); border-bottom: 1px solid var(--line); }
.hs-prose .wp-block-quote p { font-family: var(--serif); font-size: clamp(24px, 2.6vw, 32px); line-height: 1.3; color: var(--text); }
body .hs-prose .wp-block-image { margin-block: 44px; }
.hs-prose .wp-block-image img { width: 100%; filter: grayscale(1) contrast(1.08); }
.wp-element-caption { margin-top: 12px; text-align: left; }
body .hs-list { list-style: none; margin-block: 32px; padding: 0; counter-reset: li; border-top: 1px solid var(--line); }
.hs-list li { counter-increment: li; display: grid; grid-template-columns: 46px minmax(0, 1fr); padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 17px; line-height: 1.6; color: var(--soft); }
.hs-list li::before { content: counter(li, decimal-leading-zero); padding-top: 4px; font-family: var(--mono); font-size: 11px; letter-spacing: .16em; color: var(--gold); }
body .hs-author { padding: clamp(36px, 5vw, 56px) var(--hs-gutter); background: var(--panel); border-block: 1px solid var(--line); }
body .hs-author__inner { display: grid; grid-template-columns: 62px minmax(0, 1fr); gap: 24px; align-items: start; }
body .hs-author__inner > *, body .hs-author__inner > .wp-block-group > * { margin: 0; }
.hs-author .wp-block-post-author-name { margin-bottom: 6px !important; font-family: var(--serif); font-size: 24px; }
.hs-author .wp-block-post-author-biography { margin: 14px 0 !important; font-size: 16px; line-height: 1.7; color: var(--muted); }
body .hs-pagehead--404 > * + * { margin-top: 28px; }
.hs-search { max-width: 560px; margin-top: 24px; }
.hs-search .wp-block-search__input { background: transparent; border: 0; border-bottom: 1px solid var(--line2); color: var(--text); padding: 14px 0; }

/* ---------- Editor helpers (only inside the block editor) ---------- */
.block-editor-block-list__layout .hs-matters__find { display: block; padding: 16px 0; border-bottom: 1px dashed var(--line2); color: var(--subtle); }
.block-editor-block-list__layout .hs-matters__find::before { content: "Search box placeholder → "; color: var(--gold); }
.block-editor-block-list__layout .hs-matters__empty { display: block; opacity: .75; }
.block-editor-block-list__layout [class*="hs-"] a::after { content: none !important; }
.block-editor-block-list__layout .hs-hero__copy > * { animation: none; }

/* ---------- Motion ---------- */
@keyframes hsRise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes hsFade { from { opacity: 0; } to { opacity: 1; } }
@keyframes hsDrift { from { transform: scale(1.08) translateY(0); } to { transform: scale(1.02) translateY(-8px); } }
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation: none !important; transition: none !important; }
}
