/* ==== assets/css/accessibility.css ==== */
/* v4.9.30, Accessibility suite. Self-contained; no external calls. */

/* ---- header control (sits beside .bd-translate in .site-navigation) ---- */
.bd-a11y{position:relative;display:inline-flex;align-items:center;flex-shrink:0;margin-right:.15rem}
.bd-a11y__btn-main{
	display:inline-flex;align-items:center;gap:.45em;
	padding:.38em .95em;font:inherit;font-weight:600;line-height:1.2;font-size:.85rem;
	color:var(--gold-deep,#104532);background:#fff;border:1px solid var(--gold-line,#96794A);
	border-radius:999px;cursor:pointer;white-space:nowrap;
}
.bd-a11y__btn-main:hover{background:#fff;border-color:var(--gold-deep,#104532)}
.bd-a11y__btn-main:focus-visible{outline:2px solid var(--gold-deep,#104532);outline-offset:2px}
.bd-a11y__glyph{font-size:1rem;line-height:1}

.bd-a11y__panel{
	position:absolute;top:calc(100% + .55rem);right:0;z-index:99990;
	width:min(92vw,330px);max-height:min(72vh,560px);overflow-y:auto;overscroll-behavior:contain;
	background:var(--paper,#FAFAF7);color:var(--ink,#12161A);
	border:1px solid var(--line-dark,#D9D4C4);border-radius:14px;padding:1rem;
	box-shadow:0 24px 60px -24px rgba(16,69,50,.45);text-align:left;
}
.bd-a11y__panel[hidden]{display:none}
.bd-a11y__title{margin:0 0 .7rem;font-weight:700;font-size:.95rem;letter-spacing:.02em}
.bd-a11y__row{margin:0 0 .85rem}
.bd-a11y__rowlabel{display:block;font-size:.72rem;text-transform:uppercase;letter-spacing:.09em;color:var(--muted,#454D48);margin-bottom:.35rem}
.bd-a11y__seg{display:flex;gap:.35rem;flex-wrap:wrap}
.bd-a11y__opt{
	display:inline-flex;align-items:center;gap:.4rem;padding:.45rem .7rem;border-radius:9px;
	border:1px solid var(--line-dark,#D9D4C4);background:#fff;color:var(--ink,#12161A);
	font:600 .8rem/1 inherit;cursor:pointer;
}
.bd-a11y__opt:hover{border-color:var(--gold,#145A43)}
.bd-a11y__opt[aria-pressed="true"],.bd-a11y__opt.is-on{background:var(--gold,#145A43);border-color:var(--gold,#145A43);color:#fff}
.bd-a11y__opt--go{background:var(--gold,#145A43);border-color:var(--gold,#145A43);color:#fff}
.bd-a11y__opt--reset{margin-top:.2rem;width:100%;justify-content:center}
.bd-a11y__speed{display:flex;align-items:center;gap:.5rem;margin-top:.5rem;font-size:.78rem;color:var(--muted,#454D48)}
.bd-a11y__speed input{flex:1}
.bd-a11y__status{margin:.45rem 0 0;font-size:.75rem;color:var(--muted,#454D48);min-height:1em}
.bd-a11y__opt[disabled]{opacity:.55;cursor:default}
.bd-a11y__opt[disabled]:hover{border-color:var(--line-dark,#D9D4C4)}

@media (max-width:782px){
	.bd-a11y__label{display:none}
	.bd-a11y__btn-main{padding:.34em .6em}
	.bd-a11y__panel{right:auto;left:0}
}

/* ---- text size (theme is rem-based, so everything scales) ---- */
html[data-bd-text="sm"]{font-size:93.75%}
html[data-bd-text="lg"]{font-size:112.5%}
html[data-bd-text="xl"]{font-size:125%}

/* ---- dark mode: chrome only ---- */
html[data-bd-theme="dark"]{
	--paper:#14171A; --ivory:#191D20; --warm-ivory:#191D20; --cream:#1E2327; --champagne:#232A2E;
	--charcoal:#EDF1EF; --ink:#EDF1EF; --body:#DCE3DF; --muted:#A9B4AE;
	--line:#2C3438; --line-dark:#39434A;
	--gold:#3FA57E; --gold-deep:#6FD3AC; --gold-soft:#8FBFA6; --gold-faint:#1B2A25;
	--accent:#3FA57E; --accent-dark:#6FD3AC;
	/* v4.9.383: the emerald family was missing from this block, so anything using
	   it stayed dark green on a dark background. That is what made the Legal
	   Domains / Legal Services tabs and the service card links vanish in dark mode
	   the first time it was switched on. Defined here so every component that
	   reaches for these names gets a readable colour, including ones added later. */
	--emerald:#3FA57E; --emerald-deep:#6FD3AC; --emerald-bright:#6FD3AC;
	--emerald-light:#8FBFA6; --emerald-shadow:#0B1F18;
	--white:#14171A; --text-muted:#A9B4AE; --border-gold:#3A4A43; --champagne-light:#1B2320;
	background:#14171A;color:#DCE3DF;
}
html[data-bd-theme="dark"] body{background:#14171A;color:#DCE3DF}
html[data-bd-theme="dark"] .site-header,
html[data-bd-theme="dark"] .site-footer,
html[data-bd-theme="dark"] .card,
html[data-bd-theme="dark"] .page-banner{background:#191D20;border-color:#2C3438}
html[data-bd-theme="dark"] img{filter:brightness(.94)}

/* the header control itself in dark mode */
html[data-bd-theme="dark"] .bd-a11y__panel{background:#191D20;color:#EDF1EF;border-color:#39434A}
html[data-bd-theme="dark"] .bd-a11y__opt{background:#232A2E;color:#EDF1EF;border-color:#39434A}
html[data-bd-theme="dark"] .bd-a11y__opt[aria-pressed="true"],
html[data-bd-theme="dark"] .bd-a11y__opt--go{background:#3FA57E;border-color:#3FA57E;color:#08110D}
html[data-bd-theme="dark"] .bd-a11y__btn-main{background:#232A2E;color:#EDF1EF;border-color:var(--gold-line,#8FBFA6)}

/* ---- high contrast ---- */
html[data-bd-contrast="high"]{--body:#111;--muted:#333;--line:#000;--line-dark:#000;--ink:#000;--charcoal:#000}
html[data-bd-contrast="high"] a{text-decoration:underline !important;text-underline-offset:3px}
html[data-bd-contrast="high"] .bd-a11y__opt,
html[data-bd-contrast="high"] .bd-a11y__btn-main,
html[data-bd-contrast="high"] .bd-translate__btn,
html[data-bd-contrast="high"] .card,
html[data-bd-contrast="high"] input,
html[data-bd-contrast="high"] select{border-width:2px !important;border-color:#000 !important}
html[data-bd-contrast="high"][data-bd-theme="dark"]{--body:#fff;--muted:#E6E6E6;--line:#fff;--line-dark:#fff;--ink:#fff;--charcoal:#fff}
html[data-bd-contrast="high"][data-bd-theme="dark"] .bd-a11y__opt,
html[data-bd-contrast="high"][data-bd-theme="dark"] .bd-a11y__btn-main,
html[data-bd-contrast="high"][data-bd-theme="dark"] .bd-translate__btn,
html[data-bd-contrast="high"][data-bd-theme="dark"] .card,
html[data-bd-contrast="high"][data-bd-theme="dark"] input,
html[data-bd-contrast="high"][data-bd-theme="dark"] select{border-color:#fff !important}

/* ---- focus visibility ---- */
:focus-visible{outline:3px solid var(--gold,#145A43);outline-offset:2px}

.bd-a11y__field{display:block;margin:.1rem 0 .5rem}
.bd-a11y__fieldlabel{display:block;font-size:.72rem;color:var(--muted,#454D48);margin-bottom:.25rem}
.bd-a11y__select{
	width:100%;padding:.42rem .55rem;font:inherit;font-size:.82rem;line-height:1.3;
	color:var(--ink,#12161A);background:#fff;border:1px solid var(--line-dark,#D9D4C4);border-radius:8px;
}
.bd-a11y__select:focus-visible{outline:2px solid var(--gold,#145A43);outline-offset:1px}
.bd-a11y__hint{margin:.35rem 0 0;font-size:.72rem;line-height:1.4;color:var(--muted,#454D48)}
html[data-bd-theme="dark"] .bd-a11y__select{background:#232A2E;color:#EDF1EF;border-color:#39434A}

/* small speaker button injected before each heading in the article */
.bd-a11y-sect-btn{
	display:inline-flex;align-items:center;justify-content:center;
	width:1.5em;height:1.5em;margin-right:.35em;padding:0;vertical-align:middle;
	font-size:.72em;line-height:1;cursor:pointer;
	color:var(--gold-deep,#104532);background:transparent;
	border:1px solid var(--line-dark,#D9D4C4);border-radius:6px;opacity:.55;
	transition:opacity .15s ease,background .15s ease;
}
.bd-a11y-sect-btn:hover,.bd-a11y-sect-btn:focus-visible{opacity:1;background:var(--gold-faint,#EAF0EC)}

.bd-a11y-sect-head{display:flex;align-items:center;gap:.35em}
.bd-a11y-sect-head > .bd-a11y-sect-btn{flex:0 0 auto;align-self:center;margin-right:0;font-size:1.05rem}
.bd-a11y-sect-head > .bd-a11y-sect-btn svg{width:1em;height:1em;display:block}
.bd-a11y-sect-head > h1,.bd-a11y-sect-head > h2,.bd-a11y-sect-head > h3,
.bd-a11y-sect-head > h4,.bd-a11y-sect-head > h5,.bd-a11y-sect-head > h6{flex:1 1 auto;min-width:0}
.bd-a11y-sect-btn.is-playing{opacity:1;background:var(--gold,#145A43);color:#fff;border-color:var(--gold,#145A43)}
@media (hover:none){ .bd-a11y-sect-btn{opacity:.8} }

#bd-a11y-voice-search{margin-bottom:.35rem}
#bd-a11y-voice{max-height:11rem}

body.single-bd_tool .entry-content .bd-byline,
body.single-bd_tool .bd-tool .bd-byline { display: none !important; }

/* ---- 1. legible reading font (Atkinson Hyperlegible, SIL OFL) ----
   Self-hosted, so it works offline and leaks nothing to a third party.
   The files sit in assets/fonts/; this stylesheet is one level down. */
@font-face{font-family:"Atkinson Hyperlegible";src:url("../fonts/AtkinsonHyperlegible-Regular.woff2") format("woff2");font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:"Atkinson Hyperlegible";src:url("../fonts/AtkinsonHyperlegible-Bold.woff2") format("woff2");font-weight:700;font-style:normal;font-display:swap}
@font-face{font-family:"Atkinson Hyperlegible";src:url("../fonts/AtkinsonHyperlegible-Italic.woff2") format("woff2");font-weight:400;font-style:italic;font-display:swap}
@font-face{font-family:"Atkinson Hyperlegible";src:url("../fonts/AtkinsonHyperlegible-BoldItalic.woff2") format("woff2");font-weight:700;font-style:italic;font-display:swap}

html[data-bd-font="legible"]{
	--font-sans:"Atkinson Hyperlegible",Verdana,Tahoma,"DejaVu Sans",sans-serif !important;
	--font-serif:"Atkinson Hyperlegible",Verdana,Tahoma,"DejaVu Sans",sans-serif !important;
}
html[data-bd-font="legible"] body,
html[data-bd-font="legible"] button,
html[data-bd-font="legible"] input,
html[data-bd-font="legible"] select,
html[data-bd-font="legible"] textarea,
html[data-bd-font="legible"] .bd-a11y__opt{
	font-family:"Atkinson Hyperlegible",Verdana,Tahoma,"DejaVu Sans",sans-serif;
}

/* ---- 2. comfortable text spacing ---- */
html[data-bd-spacing="comfortable"] body{letter-spacing:.055em;word-spacing:.17em}
html[data-bd-spacing="comfortable"] p,
html[data-bd-spacing="comfortable"] li,
html[data-bd-spacing="comfortable"] dd,
html[data-bd-spacing="comfortable"] blockquote,
html[data-bd-spacing="comfortable"] .entry-content{
	line-height:1.85 !important;
}
html[data-bd-spacing="comfortable"] p,
html[data-bd-spacing="comfortable"] blockquote{margin-bottom:1.5em !important}

/* ---- 3. left-align reading text ---- */
html[data-bd-align="left"] p,
html[data-bd-align="left"] li,
html[data-bd-align="left"] dd,
html[data-bd-align="left"] dt,
html[data-bd-align="left"] blockquote,
html[data-bd-align="left"] figcaption,
html[data-bd-align="left"] td,
html[data-bd-align="left"] th,
html[data-bd-align="left"] h1,
html[data-bd-align="left"] h2,
html[data-bd-align="left"] h3,
html[data-bd-align="left"] h4,
html[data-bd-align="left"] h5,
html[data-bd-align="left"] h6{text-align:left !important}

/* ---- 4. highlight links ---- */
html[data-bd-links="on"] a{
	background:rgba(255,209,0,.42) !important;
	text-decoration:underline !important;
	text-underline-offset:.18em;
	border-radius:2px;
}
html[data-bd-theme="dark"][data-bd-links="on"] a{background:rgba(255,209,0,.26) !important}

/* ---- 5. highlight headings ---- */
html[data-bd-headings="on"] h1,
html[data-bd-headings="on"] h2,
html[data-bd-headings="on"] h3,
html[data-bd-headings="on"] h4,
html[data-bd-headings="on"] h5,
html[data-bd-headings="on"] h6{
	background:rgba(20,90,67,.11) !important;
	box-shadow:inset 4px 0 0 var(--gold,#145A43);
	padding-left:.5em;
}
html[data-bd-theme="dark"][data-bd-headings="on"] h1,
html[data-bd-theme="dark"][data-bd-headings="on"] h2,
html[data-bd-theme="dark"][data-bd-headings="on"] h3,
html[data-bd-theme="dark"][data-bd-headings="on"] h4,
html[data-bd-theme="dark"][data-bd-headings="on"] h5,
html[data-bd-theme="dark"][data-bd-headings="on"] h6{background:rgba(63,165,126,.18) !important}

/* ---- 6. greyscale ---- */
html[data-bd-grey="on"]{filter:grayscale(1)}

/* ---- 7. colour-vision correction (daltonisation) ----
   Not a simulation: it works out the colour error a red-green viewer
   cannot see and pushes it into the blue channel, which they can. */
html[data-bd-cvd="deuter"]{filter:url(#bd-cvd-deuter)}
html[data-bd-cvd="protan"]{filter:url(#bd-cvd-protan)}
html[data-bd-cvd="tritan"]{filter:url(#bd-cvd-tritan)}

/* ---- 8. reduce motion ---- */
html[data-bd-motion="reduce"] *,
html[data-bd-motion="reduce"] *::before,
html[data-bd-motion="reduce"] *::after{
	animation-duration:.001ms !important;
	animation-iteration-count:1 !important;
	transition-duration:.001ms !important;
	scroll-behavior:auto !important;
}

/* ---- 9. bigger cursor ---- */
html[data-bd-cursor="big"],
html[data-bd-cursor="big"] *{cursor:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAYAAABXAvmHAAAEG0lEQVR4nNSaX0hUWRzHvzPMLrqrsLssLLov677tsr4I7hIoOC/6sJCUbyGC2Evm3yQQDfJFo7L8C2URFpIPghb4kEqCFVJG9lYIkpWCIiJiBSUK9v3d5k7H4d5p/pwzjh/4cc7v3HPH33fOub/7u3f04oDjdRrc3d09TDuGA4AndICBl7G5FXAf0/73eDwbSFKcVuBPpX+I9oyispCkeCOYI4JExCEkIZEIEH6hTVHEESQZYQXMzs6q7ve0EYpoRBLhJGDX7oyOjiIvLw+bm5vq8XMUcYsW6eoZ5ZtBTE9PIzc3F4uLi+qwZKr7FPEj9hknAcHUyvRptfPz88jJycHMzIw6z097ShGZ2Eci3gbr6+vIz8/HyMiIOvw37TlFZGOfiGofb29vo6SkBG1tberwb7QnFFGIfSCmC7G5uRllZWWWoAA/0O5RxHEkmJgzycDAAPx+v5qh5LOuU8QFJJC4UqFLhjpNEcO075AA4s7lLhnqKO0RRfwEw2i5GblkqP9os6YLQW13U5cMJYWgiPgXhtBeDjhkqJ/xZTsZKQSN1DMOGUoKQbmwm6AZYwWZQ4aSuqRVdyFotKJ0yVBaC0HjJbFLhtJWCCakpnfJUFoKwYQ+lDhkqLgLQR8MUFBQ4HpsaWkJra2taGlpsYekEByniBN8/riKKNEuQFJoaWkpYuAKRSxQxEQ0J2kXkJ6ejjj4A1ES8zXQ1NRk5fjq6uo944ODg6FT5e3egwjsNm0UURLTCnR2dqK2ttbqd3d3Y3h4GMvLy5Y/NDSEjo4OZGYGM+Q1boubMETUK6AGb1NTU7PH7+npUd0GGCQqARJYaPBCZWUlUlJSgn5fXx+2trZs9x9enH4YImIBsi2qqqrUIfman0hHLtyKiorggY2NDfT396tza2CIiATIN19XV6cO9XJfS1Dn7YGGhr07paurS3WLTT3YhH21yD9qBR/yzUvwVuphe5fNa+lnZWWhuLg4OGlubg4TE8GULpVoHQzg9ANHC5uz0l9ZWUFGRoZ6uINBnwqZf5JNr/Snpqas5wCboqIijI2N2e4H2u88/x00EnYLhQTfGxp8gBu099KREiI7+2ttNj4+joWFBdtNo1VAM5FexMFtEwrHP7G5YvuNjXvfvre3t6vuKa6YBxoJu4UCuAavnCN3rbc0387OjnUTW1tbs46lpqZidXVVLTGO8vPuQBNOKzCn9C9/K3iBc+Q2PCR9n8+H+vr6r3/A68Xk5KQ6/SQ04rQCUt5KOfkmmsqQ5+WwsX7SkftAYWEhysvLrfo/LS1NnbrOz/0VmtC6HyniIZv8MFM+0mop4Do0ofuJ7JLL+CrtDC1DZ/CC1hUQuAov2fwVcF/RLjLoPhjChAB5nSj/pvBCZ7ZxQ7uARJMUP5XGw4EX8BkAAP//FMRwXgAAAAZJREFUAwDqXafHj4IK7AAAAABJRU5ErkJggg==") 6 3,auto !important}
html[data-bd-cursor="big"] a,
html[data-bd-cursor="big"] button,
html[data-bd-cursor="big"] label,
html[data-bd-cursor="big"] summary,
html[data-bd-cursor="big"] [role="button"],
html[data-bd-cursor="big"] input[type="submit"],
html[data-bd-cursor="big"] input[type="button"],
html[data-bd-cursor="big"] .bd-a11y__opt{cursor:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAYAAABXAvmHAAAEUElEQVR4nOxZXUgcVxT+1GqrRVrrT7vWKkXFoiLalkKfaosFIa0PSovFB22LCGKhYOmDIH2pD9v6Yq0IImH1IRCjISoEQTAakDxEkxBEEVSChjUk/sH6EyPBfHfcWWbX3N0ZZ8ZF2A8+zj13zr1zzv2fO9G44IjGBccbOEccHx9/SPER+TQqKmoFFuBcekA4Tj5g8jF5h1ym7iY/hUlEwWbQyQyK+2SKxOQr9sZt2r3L9Lfkx6SHfMj8aYSAZQHQgUKKL8g0co2cogOPmX+L6VLVbn5+Hvn5+dqiold+IK+SmQHVdrGOJgSBJQHQyT8pnAHZO+TvpEvNEI4vLCwgJSUFMzMzyMrKgg5cZhC/yh6angN0XrSQ8zWPxJBwqcrExITivMDGxgaGhoZOFdjZ2UFvby+mpqa02b/wHd9AAlMBsGIHRaeqr6ysoKurC2tra6dsd3d3/XSPx3PKpqysDPX19SgtLYXL5dI++hoSmO2BL9XE3NwciouL0dTUhIKCglOGDDZoRVtbW5idnfXpY2Nj2sefyMqZDcBX8cjIiK9VhZycnPR/UXTwVx0eHvrpe3t7WvVNWTmzG1mcmjg6OkIQB8CJCCMIsJcWvvBHiUgA4UYkgHAj8j2gF6E2shD20sLnFsCF2wcWFxdN6XphWw+0t7djdXUVSUlJ2N7exsDAgN/z4eFhNDQ0ID09HQcHBxgdHfV7HjCEXsreYzgAVvwWxfekOMz/pOYvLy/72a2vr6Ojo0Naz/7+Pnp6emAWhgLwfsNex4nzPohz/ODgIGyEdA7oDoDOv08xTr4X+Ky/v18ZBuGAkUlcDa/z4uze3d2tSMHOzk5Yjfj4eK26J7MzEsAHakK0eGNjI7KzsxUuLS3BaqSlpWnVpzI7IwHcUxOVlZWIiYlRxr6gHUhNTdWqz2R2ugPgxnKNwi3SmZmZqKmpgZ1ITk7Wqk9kdkY3Mt/tQ2trq+Hd1QgChpD5HvBCLNwbIpGTk4Pq6mrYhaKiIq0qnQOGm5DL6R8U/4q0mLy5ubmwGg6HA263W1VfkO+wt5+/zvYsZ6H/cXLrpvRCVVUVrEZFRYVWnZA5L2A4AG9l/6i6mAtWo7y8XKveCGZ7plnIYfQ2Ti5lxfWhciiz4lwjIO6PxL1SQkKCmuVgo1m2CilghWJn/EvVnU5n4LJ3ZjQ3N2udnwnmvOILTIA9cZfic5Hu6+tDXV0dzKCwsFC5XoyL892XXWIAN4OVMftB8zO8Z/Xa2lq0tLTgrIiNjVVOtBrnB0I5L2AqAL5gjuI/VW9ra1OuxxMTE2EEYviNj48jLy9Pzdomf9NT1qofHOLvyo+qLu7/xeo0PT2trOebm5vSsiUlJcrFcEZGhja7ho1zBTpg5S8m0RO6Wi0EGui87iXN0sMMgxAL+N/kZzCOR2Qlnb9vpJAtpzEG8h3FJTLPy/QQRcRnah2d98AgbP/Najcid6PhRiSAcOMVAAAA//+H5tB6AAAABklEQVQDAKkJaunPFN+fAAAAAElFTkSuQmCC") 20 7,pointer !important}
html[data-bd-cursor="big"] input:not([type="submit"]):not([type="button"]),
html[data-bd-cursor="big"] select,
html[data-bd-cursor="big"] textarea{cursor:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAYAAABXAvmHAAAEG0lEQVR4nNSaX0hUWRzHvzPMLrqrsLssLLov677tsr4I7hIoOC/6sJCUbyGC2Evm3yQQDfJFo7L8C2URFpIPghb4kEqCFVJG9lYIkpWCIiJiBSUK9v3d5k7H4d5p/pwzjh/4cc7v3HPH33fOub/7u3f04oDjdRrc3d09TDuGA4AndICBl7G5FXAf0/73eDwbSFKcVuBPpX+I9oyispCkeCOYI4JExCEkIZEIEH6hTVHEESQZYQXMzs6q7ve0EYpoRBLhJGDX7oyOjiIvLw+bm5vq8XMUcYsW6eoZ5ZtBTE9PIzc3F4uLi+qwZKr7FPEj9hknAcHUyvRptfPz88jJycHMzIw6z097ShGZ2Eci3gbr6+vIz8/HyMiIOvw37TlFZGOfiGofb29vo6SkBG1tberwb7QnFFGIfSCmC7G5uRllZWWWoAA/0O5RxHEkmJgzycDAAPx+v5qh5LOuU8QFJJC4UqFLhjpNEcO075AA4s7lLhnqKO0RRfwEw2i5GblkqP9os6YLQW13U5cMJYWgiPgXhtBeDjhkqJ/xZTsZKQSN1DMOGUoKQbmwm6AZYwWZQ4aSuqRVdyFotKJ0yVBaC0HjJbFLhtJWCCakpnfJUFoKwYQ+lDhkqLgLQR8MUFBQ4HpsaWkJra2taGlpsYekEByniBN8/riKKNEuQFJoaWkpYuAKRSxQxEQ0J2kXkJ6ejjj4A1ES8zXQ1NRk5fjq6uo944ODg6FT5e3egwjsNm0UURLTCnR2dqK2ttbqd3d3Y3h4GMvLy5Y/NDSEjo4OZGYGM+Q1boubMETUK6AGb1NTU7PH7+npUd0GGCQqARJYaPBCZWUlUlJSgn5fXx+2trZs9x9enH4YImIBsi2qqqrUIfman0hHLtyKiorggY2NDfT396tza2CIiATIN19XV6cO9XJfS1Dn7YGGhr07paurS3WLTT3YhH21yD9qBR/yzUvwVuphe5fNa+lnZWWhuLg4OGlubg4TE8GULpVoHQzg9ANHC5uz0l9ZWUFGRoZ6uINBnwqZf5JNr/Snpqas5wCboqIijI2N2e4H2u88/x00EnYLhQTfGxp8gBu099KREiI7+2ttNj4+joWFBdtNo1VAM5FexMFtEwrHP7G5YvuNjXvfvre3t6vuKa6YBxoJu4UCuAavnCN3rbc0387OjnUTW1tbs46lpqZidXVVLTGO8vPuQBNOKzCn9C9/K3iBc+Q2PCR9n8+H+vr6r3/A68Xk5KQ6/SQ04rQCUt5KOfkmmsqQ5+WwsX7SkftAYWEhysvLrfo/LS1NnbrOz/0VmtC6HyniIZv8MFM+0mop4Do0ofuJ7JLL+CrtDC1DZ/CC1hUQuAov2fwVcF/RLjLoPhjChAB5nSj/pvBCZ7ZxQ7uARJMUP5XGw4EX8BkAAP//FMRwXgAAAAZJREFUAwDqXafHj4IK7AAAAABJRU5ErkJggg==") 6 3,text !important}

/* ---- 10. reading ruler / mask ----
   A clear band that follows the pointer, with the rest dimmed. Sits
   BELOW the panel (z-index) so the panel is never dimmed. */
.bd-a11y-ruler{
	position:fixed;left:0;right:0;height:2.6em;
	pointer-events:none;z-index:99980;display:none;
	border-top:1px solid rgba(0,0,0,.35);
	border-bottom:1px solid rgba(0,0,0,.35);
	box-shadow:0 0 0 100vmax rgba(0,0,0,.42);
}
html[data-bd-ruler="on"] .bd-a11y-ruler{display:block}

/* ---- panel tidy-up: the nine new options sit in two columns, and the
   panel is a little wider, so it stays compact instead of one button
   per line. ---- */
.bd-a11y__panel{width:min(92vw,352px)}
.bd-a11y__grid{display:grid;grid-template-columns:1fr 1fr;gap:.35rem}
.bd-a11y__grid .bd-a11y__opt{justify-content:center;padding:.45rem .5rem;font-size:.78rem;text-align:center}
@media (max-width:400px){.bd-a11y__grid{grid-template-columns:1fr}}

.bd-a11y [hidden] { display: none; }

.bd-a11y-sect-btn.is-playing { background: var(--gold, #145A43); border-color: var(--gold, #145A43); color: #FAFAF7; }
.bd-a11y-sect-btn.is-playing svg { animation: none; }
html[data-bd-theme="dark"] .bd-a11y-sect-btn.is-playing { background: var(--emerald, #3FA57E); border-color: var(--emerald, #3FA57E); color: #14171A; }

/* bold text */
html[data-bd-bold="on"] body p,
html[data-bd-bold="on"] body li,
html[data-bd-bold="on"] body blockquote,
html[data-bd-bold="on"] body dd,
html[data-bd-bold="on"] body td,
html[data-bd-bold="on"] body th,
html[data-bd-bold="on"] body .entry-content { font-weight: 600 !important; }
html[data-bd-bold="on"] body h1,
html[data-bd-bold="on"] body h2,
html[data-bd-bold="on"] body h3 { font-weight: 800 !important; }

/* sepia reading ground - flips with the theme */
html[data-bd-paper="on"] {
    --paper: #F4ECD8; --ivory: #EFE6CE; --warm-ivory: #EFE6CE;
    --white: #F4ECD8; --cream: #EADFC4; --champagne: #E4D8BB;
    --charcoal: #3A3229; --ink: #3A3229; --body: #4A4034; --muted: #6B5D4B;
    --line: #D8CBAA; --line-dark: #C9B993;
}
html[data-bd-theme="dark"][data-bd-paper="on"] {
    --paper: #241F1A; --ivory: #2A241E; --warm-ivory: #2A241E;
    --white: #241F1A; --cream: #302A22; --champagne: #2A241E;
    --charcoal: #EFE6CE; --ink: #EFE6CE; --body: #E2D8C2; --muted: #B3A78E;
    --line: #3D352B; --line-dark: #4A4034;
}
html[data-bd-paper="on"] body { background: var(--paper) !important; }

/* focus mode */
html[data-bd-focus="on"] .is-bd-dim { opacity: .26 !important; transition: opacity .18s ease; }
html[data-bd-focus="on"] .is-bd-dim:hover,
html[data-bd-focus="on"] .is-bd-dim:focus-within { opacity: 1 !important; }

/* bigger click targets - WCAG 2.5.8 */
html[data-bd-targets="on"] .btn,
html[data-bd-targets="on"] button,
html[data-bd-targets="on"] input[type="submit"],
html[data-bd-targets="on"] .bd-a11y__opt {
    min-height: 44px !important;
    padding: .7em 1.15em !important;
}
html[data-bd-targets="on"] nav a,
html[data-bd-targets="on"] .footer-col a,
html[data-bd-targets="on"] .breadcrumbs a { display: inline-block !important; padding: .5em .35em !important; }

/* hide the fixed bars - WCAG 2.2.2 */
html[data-bd-nofix="on"] .site-header,
html[data-bd-nofix="on"] .site-header.is-stuck { position: static !important; }
html[data-bd-nofix="on"] .float-rail,
html[data-bd-nofix="on"] .bd-top,
html[data-bd-nofix="on"] .bd-progress { display: none !important; }

/* reading mask */
.bd-mask {
    position: fixed; left: 0; right: 0; top: 0; height: 180px;
    pointer-events: none; z-index: 9998; opacity: 0;
    transition: opacity .2s ease;
    box-shadow: 0 0 0 9999px rgba(14,18,20,.74);
}
html[data-bd-mask="on"] .bd-mask { opacity: 1; }

/* shortcuts dialog */
.bd-keys { position: fixed; inset: 0; z-index: 10000; background: rgba(12,16,18,.66);
    display: flex; align-items: center; justify-content: center; padding: 1.2rem; }
.bd-keys[hidden] { display: none; }
.bd-keys__box { background: var(--white); color: var(--ink); border: 1px solid var(--line);
    border-radius: var(--radius); padding: 1.6rem 1.8rem; max-width: 460px; width: 100%;
    box-shadow: 0 24px 60px rgba(0,0,0,.34); }
.bd-keys__box h2 { margin: 0 0 1rem; }
.bd-keys__box dl { display: grid; grid-template-columns: auto 1fr; gap: .5rem 1.2rem; margin: 0 0 1.2rem; }
.bd-keys__box dt { font-weight: 700; color: var(--gold-deep); white-space: nowrap; }
.bd-keys__box dd { margin: 0; color: var(--body); }
.bd-keys__close { width: 100%; }

/* reduced motion */
@media (prefers-reduced-motion: reduce) {
    .bd-mask, html[data-bd-focus="on"] .is-bd-dim { transition: none !important; }
}
html[data-bd-motion="reduce"] .bd-mask,
html[data-bd-motion="reduce"] html[data-bd-focus="on"] .is-bd-dim { transition: none !important; }

@media (max-width: 782px) {
	.bd-a11y { position: static; }
	.bd-a11y__panel {
		left: auto;
		right: 0.75rem;
		max-width: calc(100vw - 1.5rem);
	}
}


/* ==== assets/fonts/fonts.css ==== */
/* Locally hosted variable fonts, zero external requests.
   Fetched from Google Fonts (OFL licensed) as latin-subset variable files. */

@font-face {
	font-family: "Cormorant Garamond";
	font-style: normal;
	font-weight: 300 700;
	font-display: swap;
	src: url("CormorantGaramond-var.woff2") format("woff2");
}

@font-face {
	font-family: "Cormorant Garamond";
	font-style: italic;
	font-weight: 300 700;
	font-display: swap;
	src: url("CormorantGaramond-Italic-var.woff2") format("woff2");
}

@font-face {
	font-family: "Inter";
	font-style: normal;
	font-weight: 100 900;
	font-display: swap;
	src: url("Inter-var.woff2") format("woff2");
}


/* ==== style.css ==== */
/*
Theme Name: Bismay Dash and Associates
Theme URI: https://bismaydash.com/
Author: Bismay Dash and Associates
Description: Emerald Ivory, Modern Legal Elegance. SEO-preserving WordPress theme for Bismay Dash and Associates. Lightweight, accessible, Rank Math-compatible, locally hosted Cormorant Garamond + Inter, no jQuery or framework dependencies. Preserves all content types, URLs and customizer data., v4.8.0: CWV polish (LCP fetchpriority, emoji cleanup), WCAG upgrades (dialog semantics, focus trap, form validation), AEO (Person/speakable schema, llms.txt), CRO micro-interactions.
Version: 4.9.445
Requires at least: 5.4
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: bismay-dash
Tags: custom-logo, custom-menu, featured-images, threaded-comments, translation-ready, blog

The full historical changelog, and every inline comment removed from this
stylesheet by the v4.9.276 comment-strip, live in CHANGELOG.md beside this
theme. They are kept out of this file deliberately: comments are inert at
runtime but they are not free - they were 45% of the bytes of this file.
*/

/* ==========================================================================
   MOTION POLICY - v4.9.276 (item 2). ONE policy, obeyed everywhere.
   --------------------------------------------------------------------------
   This theme carried two motion layers that disagreed: premium.css strips card
   boxes and hover-lifts, while the "Twenty effects" layer below added a button
   sheen, a 3-D card lift, a count-up and a carousel that auto-advanced every
   five seconds. The policy is now this, and it is not to be re-litigated:

   * Durations: feedback 80-150ms, component 150-250ms, entrances <= 400ms.
     (Tokens: --dur-fast, --dur, --dur-slow; one entrance curve --ease-out.)
   * NOTHING INFINITE, except a genuine loading state. The ONE deliberate
     exception is the emerald calculator glow (body.single-bd_tool .calc-box,
     accident; it stops under reduced motion, both the operating-system
     preference and the accessibility panel's own "Reduce motion" toggle
     (html[data-bd-motion="reduce"]).
   * REMOVED in v4.9.276, and never to be re-added: the carousel auto-advance
     (main.js no longer runs a timer; the arrows, dots and drag remain), the
     button sheen (.btn::after), the 3-D card lift (.card--practice::before),
     the card gold underline (.card::after) and the calculator 3-D tilt. The
     count-up ([data-count-to]) stays unused.
   * Animate ONLY transform, opacity and background-color.
   * One entrance per section, never per element.

   The full rationale for every change in this release is in CHANGELOG.md,
   beside this theme.
   ========================================================================== */

:root {

    --paper:        #FAFAF7;
    --ivory:        #F3EFE3;
    --warm-ivory:   #F3EFE3;
    --cream:        #EDE7D7;
    --champagne:    #E3DECE;

    --gold:         #145A43;
    --gold-deep:    #104532;
    --gold-soft:    #C2A56B;
    --gold-line:    #96794A;
    --gold-faint:   #EAF0EC;

    --charcoal: #12161A;
    --ink: #12161A;
    --body: #12161A;
    --muted: #454D48;
    --line:         #E5E1D5;
    --line-dark:    #D9D4C4;

    --accent:       #145A43;
    --accent-dark:  #104532;

    --emerald-light:  #58A889;
    --emerald-bright: #23845F;
    --emerald:        #145A43;
    --emerald-deep:   #104532;
    --emerald-shadow: #082D23;
    --pastel-blue:    #DCEAF2;
    --light-yellow:   #F8F1C9;

    --ok:            #2e6b3f;
    --error:         #9c2b2b;

    --font-serif: "Cormorant Garamond", "EB Garamond", Georgia, "Times New Roman", serif;
    --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;

    --fs-xs:   0.78rem;
    --fs-sm:   0.875rem;
    --fs-base: 1.0625rem;
    --fs-md:   1.1875rem;
    --fs-lg:   clamp(1.35rem, 1.1rem + 1vw, 1.6rem);
    --fs-xl:   clamp(1.8rem, 1.35rem + 1.8vw, 2.65rem);
    --fs-hero: clamp(2.4rem, 1.62rem + 3.7vw, 4.45rem);

    --space-1: 0.5rem;
    --space-2: 1rem;
    --space-3: 1.5rem;
    --space-4: 2.25rem;
    --space-5: 3.5rem;
    --space-6: 5rem;
    --space-7: clamp(4rem, 8vw, 7.5rem);

    --container: 1200px;
    --measure:  41rem;
    --radius:   5px;
    --shadow:   0 1px 2px rgba(32, 29, 23, 0.05), 0 10px 30px -18px rgba(32, 29, 23, 0.25);

    --radius-card: 8px;
    --radius-pill: 999px;

    --elev-rest:   var(--shadow);
    --elev-raised: 0 10px 22px -10px rgba(32, 29, 23, 0.45);

    --section-pad:       var(--space-7);
    --section-pad-tight: var(--space-6);

    --dur:  0.2s;
    --ease: ease;

    --dur-fast: 120ms;
    --dur-slow: 320ms;
    --ease-out: cubic-bezier(.22,.61,.36,1);
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
    margin: 0;
    font-family: var(--font-sans);
    font-size: var(--fs-base);
    line-height: 1.75;
    color: var(--body);
    background: var(--ivory);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

img, svg, video { max-width: 100%; height: auto; }
img { display: block; }

figure { margin: 0 0 var(--space-3); }

hr {
    border: 0;
    height: 1px;
    background: var(--line);
    margin: var(--space-5) 0;
}
hr.rule-gold { background: var(--gold-soft); height: 2px; width: 64px; }

ul, ol { padding-left: 1.35em; }
li + li { margin-top: 0.35em; }

input, button, textarea, select { font: inherit; color: inherit; }

.skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    background: var(--charcoal);
    color: var(--ivory);
    padding: 0.7em 1.2em;
    z-index: 2000;
    border-radius: 0 0 var(--radius) 0;
}
.skip-link:focus { left: 0; }

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
[tabindex]:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 2px;
}

.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    width: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
}
.screen-reader-text:focus {
    background-color: var(--paper);
    clip: auto;
    clip-path: none;
    height: auto;
    width: auto;
    position: static;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-serif);
    color: var(--charcoal);
    line-height: 1.18;
    font-weight: 500;
    margin: 0 0 0.55em;
    letter-spacing: -0.005em;
}
h1 { font-size: var(--fs-hero); font-weight: 500; }
h2 { font-size: var(--fs-xl); }
h3 { font-size: var(--fs-lg); }
h4 { font-size: var(--fs-md); }
h5, h6 { font-size: var(--fs-base); }

p { margin: 0 0 var(--space-3); }
p:last-child { margin-bottom: 0; }

a { color: var(--gold-deep); text-decoration-color: var(--gold-soft); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--accent); }

strong, b { color: var(--ink); }

.eyebrow {
    font-family: var(--font-sans);
    font-size: var(--fs-xs);
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--gold-deep);
    display: block;
    margin-bottom: var(--space-2);
}
.eyebrow::before {
    content: "";
    display: inline-block;
    width: 26px;
    height: 1px;
    background: var(--gold);
    vertical-align: middle;
    margin-right: 0.7em;
}

.section-head { max-width: 46rem; margin-bottom: var(--space-5); }
.section-head h2 { margin-bottom: 0.35em; }
.section-head p { color: var(--muted); font-size: var(--fs-md); }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head--center .eyebrow::before { display: none; }

blockquote {
    margin: var(--space-4) 0;
    padding: var(--space-3) 0 var(--space-3) var(--space-4);
    border-left: 2px solid var(--gold);
    font-family: var(--font-serif);
    font-size: var(--fs-md);
    font-style: italic;
    color: var(--ink);
}
blockquote p:last-child { margin-bottom: 0; }
blockquote cite {
    display: block;
    margin-top: 0.6em;
    font-family: var(--font-sans);
    font-size: var(--fs-sm);
    font-style: normal;
    color: var(--muted);
}

code, kbd, pre, samp { font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace; font-size: 0.92em; }
:not(pre) > code { background: var(--warm-ivory); padding: 0.15em 0.4em; border-radius: 5px; color: var(--ink); }
pre { background: var(--warm-ivory); padding: var(--space-3); border: 1px solid var(--line); overflow: auto; border-radius: var(--radius); }

small, .text-sm { font-size: var(--fs-sm); }

.container {
    width: 100%;
    max-width: var(--container);
    margin-inline: auto;
    padding-inline: clamp(1.1rem, 4vw, 2rem);
}
.container--narrow { max-width: 52rem; }

.section { padding-block: var(--section-pad); }
.section--tight { padding-block: var(--section-pad-tight); }
.section--paper { background: var(--paper); }
.section--ivory { background: var(--ivory); }
.section--cream { background: var(--warm-ivory); }
.section--dark { background: var(--charcoal); color: #d8d2c4; }
.section--dark h2, .section--dark h3 { color: var(--ivory); }

.grid { display: grid; gap: var(--space-3); }
.card { min-width: 0; overflow-wrap: break-word; }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.text-center { text-align: center; }

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.6em;
    font-family: var(--font-sans);
    font-size: var(--fs-sm);
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 0.9em 1.9em;
    border-radius: var(--radius);
    border: 1px solid transparent;
    text-decoration: none;
    cursor: pointer;
    transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.btn--primary { background: var(--charcoal); color: var(--ivory); }
.btn--primary:hover { background: var(--gold-deep); color: #fff; }
.btn--gold { background: var(--gold); color: #fff; }
.btn--gold:hover { background: var(--gold-deep); }
.btn--outline { border-color: var(--gold); color: var(--gold-deep); background: transparent; }
.btn--outline:hover { background: var(--gold); color: #fff; }
.btn--ghost-light { border-color: rgba(250, 248, 242, 0.55); color: var(--ivory); background: transparent; }
.btn--ghost-light:hover { border-color: var(--gold-soft); color: var(--gold-soft); }
.btn--sm { padding: 0.6em 1.2em; font-size: var(--fs-xs); }

.text-link {
    font-weight: 600;
    color: var(--gold-deep);
    text-decoration: none;
    border-bottom: 1px solid var(--gold-soft);
}
.text-link:hover { color: var(--accent); border-bottom-color: var(--accent); }

.chips a, .chip {
    display: inline-block;
    font-size: var(--fs-xs);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--muted);
    border: 1px solid var(--line-dark);
    padding: 0.28em 0.8em;
    border-radius: var(--radius-pill);
    text-decoration: none;
}
.chips a:hover, .chip:hover { border-color: var(--gold); color: var(--gold-deep); }
.chips a { font-size: var(--fs-xs); letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); border: 1px solid var(--line-dark); padding: 0.25em 0.75em; border-radius: var(--radius-pill); text-decoration: none; }

.grid .chips a { white-space: nowrap; max-width: 100%; overflow: hidden; text-overflow: ellipsis; vertical-align: bottom; }

.site-header {
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    position: relative;
    z-index: 900;
}

.site-header-stack {
    position: sticky;
    position: -webkit-sticky;
    top: 0;
    z-index: 900;
}

/* v4.9.345 - THE NOTCH.
 *
 * The owner reported that on an iPhone the cut-out covered the text at the top
 * of the page. The theme already asked for the bottom and side insets for the
 * floating rail, but nothing claimed the TOP inset, and the sticky header sat
 * at top: 0 with no allowance for it.
 *
 * viewport-fit=cover is now set in header.php, which is what makes env() return
 * a real number rather than zero on a notched device. With it, the header pads
 * itself below the notch instead of sliding under it, and the hero - which sits
 * directly beneath the header - starts below the cut-out too.
 *
 * On a device with no notch every inset is zero, so nothing moves.
 */
.site-header-stack {
    padding-top: env(safe-area-inset-top, 0px);
    padding-left: env(safe-area-inset-left, 0px);
    padding-right: env(safe-area-inset-right, 0px);
}

/* The hero follows the header, so it inherits the clearance above; this only
   guards the case where a page prints the hero without the sticky stack. */
.hero {
    padding-left: env(safe-area-inset-left, 0px);
    padding-right: env(safe-area-inset-right, 0px);
}
body.admin-bar .site-header-stack { top: 32px; }
@media screen and (max-width: 782px) {
    body.admin-bar .site-header-stack { top: 46px; }
}
.site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-3);
    min-height: 84px;
}
.site-header--shaded { box-shadow: var(--shadow); }

.custom-logo-link { display: inline-flex; }
.custom-logo { max-height: 72px; width: auto; }
/* v4.9.373: never upscale the header logo and never crop it. A logo whose own
   file is smaller than its slot is displayed at its own size rather than being
   stretched, because stretching is what produced the blurred, cropped look. */
.custom-logo.bd-logo {
    display: block;
    height: auto;
    width: auto;
    max-width: 100%;
    max-height: 56px;
    object-fit: contain;
}
@media (min-width: 900px) {
    .custom-logo.bd-logo { max-height: 64px; }
}

.site-branding__fallback { text-decoration: none; display: inline-block; }
.site-branding__fallback .site-name {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    color: var(--charcoal);
    line-height: 1.15;
    display: block;
}
.site-branding__fallback .site-tagline {
    display: block;
    font-size: var(--fs-xs);
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--gold-deep);
    margin-top: 0.25em;
}

.nav-toggle {
    display: none;
    align-items: center;
    gap: 0.55em;
    background: none;
    border: 1px solid var(--line-dark);
    border-radius: var(--radius);
    padding: 0.55em 0.9em;
    font-size: var(--fs-sm);
    font-weight: 600;
    color: var(--charcoal);
    cursor: pointer;
}
.nav-toggle__bars { display: inline-grid; gap: 4px; }
.nav-toggle__bars span { width: 20px; height: 2px; background: var(--charcoal); transition: transform var(--dur) var(--ease), opacity var(--dur) var(--ease); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.primary-menu { display: flex; align-items: center; gap: clamp(0.9rem, 2vw, 1.9rem); margin: 0; padding: 0; list-style: none; }
.primary-menu li { margin: 0; }
.primary-menu > li { position: relative; }
.primary-menu a {
    font-size: 0.94rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    color: var(--ink);
    text-decoration: none;
    padding: 0.35em 0;
    border-bottom: 2px solid transparent;
    display: inline-block;
}
.primary-menu a:hover,
.primary-menu .current-menu-item > a,
.primary-menu .current_page_item > a,
.primary-menu .current-post-ancestor > a,
.primary-menu .current-page-ancestor > a { color: var(--gold-deep); border-bottom-color: var(--gold); }

.primary-menu .menu-item-has-children > a::after {
    content: "▾";
    font-size: 0.7em;
    margin-left: 0.35em;
    color: var(--gold);
}
.primary-menu .sub-menu {
    position: absolute;
    top: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%);
    background: var(--paper);
    border: 1px solid var(--line);
    border-top: 2px solid var(--gold);
    min-width: 240px;
    padding: 0.6rem 0;
    margin: 0;
    list-style: none;
    box-shadow: var(--shadow);
    border-radius: 0 0 var(--radius) var(--radius);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.18s var(--ease), transform 0.18s var(--ease);
}
.primary-menu .menu-item-has-children:hover > .sub-menu,
.primary-menu .menu-item-has-children:focus-within > .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}
.primary-menu .sub-menu a { display: block; padding: 0.55em 1.3rem; border-bottom: 0; color: var(--body); }
.primary-menu .sub-menu a:hover { background: var(--ivory); color: var(--gold-deep); }

.header-cta { white-space: nowrap; }

.hero {
    position: relative;
    background: var(--paper);
    border-bottom: 1px solid var(--champagne);
    overflow: hidden;
}
.hero__eyebrow {
    font-size: var(--fs-xs);
    font-weight: 600;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--gold-deep);
    display: flex;
    align-items: center;
    gap: 0.8em;
    margin-bottom: var(--space-3);
}
.hero__eyebrow::after { content: ""; height: 1px; width: 56px; background: var(--gold); }
.hero h1 {
    color: var(--charcoal);
    font-size: var(--fs-hero);
    text-wrap: balance;
    margin-bottom: 0.4em;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: var(--space-2); }
.hero--no-photo .hero__inner { grid-template-columns: 1fr; max-width: 52rem; }

.page-banner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 40%;
    column-gap: 5%;
    align-items: stretch;
    min-height: clamp(300px, 25.5vw, 400px);
    background: linear-gradient(120deg, var(--warm-ivory) 0%, var(--ivory) 100%);
    color: var(--ink);
    border-bottom: 1px solid var(--champagne);
    box-shadow: inset 0 -4px 0 var(--gold-soft);
    overflow: hidden;
}

.page-banner > .container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    max-width: none;
    width: auto;
    margin: 0;
    min-width: 0;
    padding-block: clamp(1.6rem, 3.4vw, 2.8rem);
    padding-left: clamp(1.25rem, 3vw, 2.75rem);
    padding-right: 0;
}

.page-banner::after {
    content: "";
    display: block;
    background-image: url("assets/img/kc-banner-portrait.webp");

    background-size: cover;
    background-repeat: no-repeat;
    background-position: 50% 0;
    min-height: clamp(240px, 24vw, 360px);
}
.page-banner h1 {
    color: var(--charcoal);
    font-size: clamp(1.7rem, 1.2rem + 1.9vw, 2.9rem);
    line-height: 1.16;
    letter-spacing: -0.01em;
    margin: 0 0 0.35em;
    text-wrap: balance;
}
.page-banner .page-banner__intro { max-width: 42rem; color: var(--muted); font-size: var(--fs-md); margin: 0; }

.breadcrumbs {
    font-size: var(--fs-sm);
    color: var(--muted);
    margin-bottom: var(--space-2);
    padding-top: var(--space-3);
}
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 0.35em; padding: 0; margin: 0 0 0.4em; }
.breadcrumbs li { margin: 0; }
.breadcrumbs li + li::before { content: "›"; margin-right: 0.35em; color: var(--gold); }
.breadcrumbs a { color: var(--muted); text-decoration: none; }
.breadcrumbs a:hover { color: var(--gold-deep); }
.breadcrumbs [aria-current="page"] { color: var(--ink); }
.page-banner .breadcrumbs,
.page-banner .breadcrumbs a { color: var(--muted); }
.page-banner .breadcrumbs a:hover { color: var(--gold-deep); }
.page-banner .breadcrumbs [aria-current="page"] { color: var(--ink); }

.card {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: var(--space-4);
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: border-color var(--dur) var(--ease), box-shadow 0.25s var(--ease), transform 0.25s var(--ease);
    text-decoration: none;
    color: inherit;
}
.card:hover { border-color: var(--gold-soft); box-shadow: var(--shadow); transform: translateY(-3px); }
.card__icon {
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    border: 1px solid var(--gold-soft);
    color: var(--gold-deep);
    border-radius: 50%;
    margin-bottom: var(--space-3);
    flex: none;
}
.card__icon svg { width: 22px; height: 22px; }
.card h3 { margin-bottom: 0.4em; }
.card h3 a { text-decoration: none; color: inherit; }
.card h3 a:hover { color: var(--gold-deep); }
.card p { color: var(--muted); font-size: 0.98rem; flex-grow: 1; }
.card__foot {
    margin-top: var(--space-3);
    font-size: var(--fs-xs);
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--gold-deep);
    display: flex;
    align-items: center;
    gap: 0.5em;
}
.card__foot::after { content: "→"; transition: transform var(--dur) var(--ease); }
.card:hover .card__foot::after { transform: translateX(4px); }

.card--practice { position: relative; border-top: 3px solid var(--gold-soft); }
.card--practice .card__link::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.card--practice:hover { border-top-color: var(--gold); }

.card--post { position: relative; }
.card--post .card__link::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.card--post .card__thumb { margin: calc(-1 * var(--space-4)) calc(-1 * var(--space-4)) var(--space-3); border-radius: var(--radius) var(--radius) 0 0; overflow: hidden; aspect-ratio: 16 / 10; background: var(--cream); }

.card--post .card__thumb img { width: 100%; height: 100%; object-fit: contain; }
.card--post .card__meta { font-size: var(--fs-xs); letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin-bottom: 0.55em; }

.intro-band { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: var(--space-5); align-items: start; }
.intro-band__aside {
    border-left: 1px solid var(--gold-soft);
    padding-left: var(--space-4);
    font-family: var(--font-serif);
    font-size: 1.25rem;
    line-height: 1.55;
    color: var(--ink);
    font-style: italic;
}
.signature {
    font-family: var(--font-serif);
    font-size: 1.4rem;
    color: var(--gold-deep);
    font-style: italic;
}

.feature-list { list-style: none; padding: 0; margin: var(--space-3) 0 0; }
.feature-list li {
    position: relative;
    padding-left: 2em;
    margin-bottom: 0.7em;
}
.feature-list li::before {
    content: ",";
    position: absolute;
    left: 0;
    color: var(--gold);
}

.stat-band { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: var(--space-3); }
.stat { text-align: center; padding: var(--space-3) var(--space-2); }
.stat__value { font-family: var(--font-serif); font-size: clamp(2.2rem, 2rem + 1.6vw, 3.2rem); color: var(--gold); line-height: 1; }
.stat__label { font-size: var(--fs-xs); letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); margin-top: 0.5em; }

.cta-band {
    background: linear-gradient(120deg, var(--champagne) 0%, var(--gold-soft) 100%);
    color: var(--charcoal);
    border-top: 3px solid var(--gold);
}
.cta-band__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-3); }
.cta-band p { margin: 0; color: var(--ink); max-width: 34rem; }
.cta-band h2 { margin: 0 0 0.3em; color: var(--charcoal); }

.team-card { text-align: center; }
.team-card__photo-link { display: block; text-decoration: none; }
.team-card__photo {
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    border-radius: var(--radius);
    background: var(--cream);
    margin-bottom: var(--space-2);
}
.team-card__photo--fallback {
    width: 100%;
    aspect-ratio: 4 / 5;
    border-radius: var(--radius);
    background: var(--warm-ivory);
    border: 1px solid var(--line);
    display: grid;
    place-items: center;
    margin-bottom: var(--space-2);
    color: var(--gold-soft);
    font-family: var(--font-serif);
    font-size: 3rem;
}
.team-card h3 { font-size: var(--fs-md); margin-bottom: 0.15em; }
.team-card h3 a { text-decoration: none; color: inherit; }
.team-card h3 a:hover { color: var(--gold-deep); }
.team-card__role {
    font-size: var(--fs-sm);
    letter-spacing: 0.10em;
    text-transform: uppercase;
    color: var(--gold-deep);
    margin-bottom: var(--space-2);
}
.team-card__socials { display: flex; justify-content: center; gap: 0.6rem; }
.team-card__socials a {
    display: inline-grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border: 1px solid var(--line-dark);
    border-radius: 50%;
    color: var(--muted);
}
.team-card__socials a:hover { border-color: var(--gold); color: var(--gold-deep); }
.team-card__socials svg { width: 16px; height: 16px; }

.profile { display: grid; grid-template-columns: minmax(0, 340px) 1fr; gap: var(--space-5); align-items: start; }
.profile__photo { width: 100%; border-radius: var(--radius); background: var(--cream); }
.profile__details dt {
    font-size: var(--fs-xs);
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--gold-deep);
    margin-top: var(--space-3);
    margin-bottom: 0.15em;
}
.profile__details dd { margin: 0; }

.article { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.5rem, 4vw, 3.25rem); }
.article__header { border-bottom: 1px solid var(--line); padding-bottom: var(--space-4); margin-bottom: var(--space-4); }
.article__header .entry-title { font-size: clamp(1.8rem, 1.4rem + 1.8vw, 2.7rem); }
.entry-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4em 1.4em;
    font-size: var(--fs-sm);
    color: var(--muted);
    margin-top: 0.8em;
}
.entry-meta a { color: var(--muted); text-decoration: none; }
.entry-meta a:hover { color: var(--gold-deep); }
.entry-meta .entry-meta__separator { color: var(--gold); }
.entry-thumbnail { margin: 0 0 var(--space-4); }
.entry-thumbnail img { width: 100%; border-radius: var(--radius); }

.entry-content { max-width: min(66ch, var(--measure)); margin-inline: auto; font-size: var(--fs-base); }

.article--embedded { background: transparent; border: 0; border-radius: 0; padding: clamp(0.5rem, 1.5vw, 1rem); }
.article--embedded .entry-content { max-width: none; font-size: var(--fs-base); }
.entry-content > * + * { margin-top: var(--space-3); }
.entry-content h2, .entry-content h3, .entry-content h4 { margin-top: var(--space-5); }
.entry-content img { border-radius: var(--radius); }
.alignwide { max-width: min(1100px, 92vw); margin-inline: auto; }
.alignfull { max-width: none; width: calc(100% + 2 * clamp(1.5rem, 4vw, 3.25rem)); margin-inline: calc(-1 * clamp(1.5rem, 4vw, 3.25rem)); }

.article__footer { border-top: 1px solid var(--line); margin-top: var(--space-5); padding-top: var(--space-4); display: flex; flex-wrap: wrap; gap: var(--space-3); justify-content: space-between; align-items: center; }

.author-box {
    display: flex;
    gap: var(--space-3);
    background: var(--ivory);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: var(--space-3);
    margin-top: var(--space-4);
}
.author-box img { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; }
.author-box .author-box__name { font-family: var(--font-serif); font-size: var(--fs-md); color: var(--charcoal); margin-bottom: 0.2em; }
.author-box p { font-size: 0.95rem; color: var(--muted); }

.bd-toc {
    background: var(--ivory);
    border: 1px solid var(--line);
    border-left: 3px solid var(--gold);
    border-radius: var(--radius);
    padding: var(--space-3) var(--space-4);
    margin: var(--space-4) 0;
}
.bd-toc > summary {
    cursor: pointer;
    list-style: none;
    font-size: var(--fs-xs);
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--gold-deep);
    font-family: var(--font-sans);
    font-weight: 600;
}
.bd-toc > summary::-webkit-details-marker { display: none; }
.bd-toc > summary::after { content: "+"; float: right; color: var(--gold); }
.bd-toc[open] > summary::after { content: "–"; }
.bd-toc ol, .bd-toc li { list-style: none; }
.bd-toc ol { list-style: none; counter-reset: toc; padding: 0; margin: 0.7em 0 0; }
.bd-toc li::marker { content: none; }
.bd-toc li { margin: 0 0 0.45em; counter-increment: toc; break-inside: avoid; }
.bd-toc > ol > li::before { content: none; }
.bd-toc a { text-decoration: none; color: var(--body); font-size: 0.95rem; }
.bd-toc a:hover { color: var(--gold-deep); }
.bd-toc .bd-toc__sub { margin: 0.35em 0 0; padding-left: 1.4em; }
.bd-toc .bd-toc__sub li { counter-increment: none; font-size: 0.9em; }
.bd-toc .bd-toc__sub li::before { content: "–"; color: var(--gold); margin-right: 0.6em; }

.related { margin-top: var(--space-6); }

.share {
    display: flex;
    gap: 0.6rem;
    align-items: center;
    flex-wrap: wrap;
}
.share__label { font-size: var(--fs-xs); letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.share a {
    display: inline-grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border: 1px solid var(--line-dark);
    border-radius: 50%;
    color: var(--muted);
    text-decoration: none;
}
.share a:hover { border-color: var(--gold); color: var(--gold-deep); }
.share svg { width: 17px; height: 17px; }

.cred-band {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-3);
}
.cred {
    text-align: center;
    padding: var(--space-3) var(--space-2);
    border-left: 1px solid var(--line);
}
.cred:first-child { border-left: 0; }
.cred__icon {
    display: inline-grid;
    place-items: center;
    width: 46px;
    height: 46px;
    border: 1px solid var(--gold-soft);
    border-radius: 50%;
    color: var(--gold-deep);
    margin-bottom: var(--space-2);
}
.cred__title {
    font-family: var(--font-serif);
    font-size: var(--fs-md);
    color: var(--charcoal);
    margin: 0 0 0.15em;
}
.cred__subtitle {
    font-size: var(--fs-xs);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--muted);
    margin: 0;
}

.about-home { display: grid; grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr); gap: var(--space-5); align-items: center; }
.about-home__main h2 { max-width: 30rem; }
.about-home__desc { max-width: 38rem; color: var(--body); font-size: var(--fs-md); }
.about-home__more { margin-top: var(--space-3); }
.about-home__cards { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-3); margin-top: var(--space-3); }
.about-home__cards .card { padding: var(--space-3); }

.about-home__approach { grid-column: 1 / -1; margin-top: var(--space-4); }

.about-home__approach .feature-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    grid-auto-rows: 1fr;
    align-items: start;
    gap: var(--space-2) var(--space-3);
    margin-top: var(--space-2);
}
.about-home__approach .feature-list li { margin-bottom: 0; }

.choose { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: var(--space-5); align-items: start; }
.choose__desc { max-width: 36rem; font-size: var(--fs-md); }
.choose__list-title {
    font-family: var(--font-sans);
    font-size: var(--fs-xs);
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--gold-deep);
    margin-bottom: var(--space-2);
}
.choose__list { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: var(--space-4); }
.feature-list--check li { padding-left: 2.2em; }
.feature-list--check li::before { content: "✓"; color: var(--gold-deep); font-weight: 600; }

.partner-strip {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-3) var(--space-4);
    justify-content: center;
    align-items: center;
}
.partner-strip__item { display: flex; align-items: center; opacity: 0.85; }
.partner-strip__item:hover { opacity: 1; }

.section-actions { margin-top: 2.5rem; margin-bottom: 0; }

.reviews-wrap { max-width: 52rem; margin-inline: auto; min-height: 300px; }

@media (max-width: 1024px) {
    .cred-band { grid-template-columns: repeat(2, 1fr); }
    .cred:nth-child(3) { border-left: 0; }
    .about-home, .choose { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
    .cred-band { grid-template-columns: 1fr; }
    .cred { border-left: 0; border-top: 1px solid var(--line); padding: var(--space-3) 0; }
    .cred:first-child { border-top: 0; }
}

.focus-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: var(--space-5);
}
.focus-list__item { border-bottom: 1px solid var(--line-dark); }
.focus-list__link {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    padding: var(--space-3) 0;
    text-decoration: none;
    color: inherit;
    transition: background-color var(--dur) var(--ease);
}
.focus-list__icon { color: var(--gold-deep); flex: none; margin-top: 0.2em; }
.focus-list__name {
    display: block;
    font-family: var(--font-serif);
    font-size: var(--fs-md);
    color: var(--charcoal);
    line-height: 1.3;
}
.focus-list__desc { display: block; font-size: var(--fs-sm); color: var(--muted); margin-top: 0.15em; }
.focus-list__link:hover .focus-list__name { color: var(--gold-deep); }

@media (max-width: 780px) {
    .focus-list { grid-template-columns: 1fr; }
}

.topbar {
    background: var(--gold-faint);
    color: var(--ink);
    font-size: 0.8rem;
    border-bottom: 1px solid var(--champagne);
}
.topbar__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-2);
    padding-block: 0.45rem;
}
.topbar a { color: var(--ink); text-decoration: none; }
.topbar a:hover { color: var(--gold-deep); }
.topbar__contact { display: flex; flex-wrap: wrap; gap: 1.4em; align-items: center; }
.topbar__contact span { display: inline-flex; align-items: center; gap: 0.5em; }
.topbar__contact svg { width: 13px; height: 13px; color: var(--gold-deep); }
.topbar__socials { display: flex; gap: 0.9em; align-items: center; }
.topbar__socials svg { width: 13px; height: 13px; }
@media (max-width: 680px) {

    .topbar__inner { justify-content: center; }
    .topbar__socials { display: none; }
}

.about-home__photo { margin: 0; }
.about-home__photo img {
    width: 100%;
    border-radius: var(--radius);
    border: 1px solid var(--champagne);
    box-shadow: 0 20px 50px -30px rgba(138, 109, 51, 0.4);
}
.about-home__content { display: contents; }

.team-rows { display: grid; gap: var(--space-3); max-width: 60rem; margin-inline: auto; }
.team-row {
    display: grid;
    grid-template-columns: 128px 1fr auto;
    gap: var(--space-3);
    align-items: center;
    background: var(--paper);
    border: 1px solid var(--line);
    border-left: 3px solid var(--gold-soft);
    border-radius: var(--radius);
    padding: var(--space-3) var(--space-4);
    transition: border-color var(--dur) var(--ease), box-shadow 0.25s var(--ease);
}
.team-row:hover { border-left-color: var(--gold); box-shadow: var(--shadow); }
.team-row h3 { font-size: var(--fs-md); margin: 0 0 0.1em; }
.team-row h3 a { text-decoration: none; color: inherit; }
.team-row h3 a:hover { color: var(--gold-deep); }
.team-row__photo {
    width: 128px;
    height: 128px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--gold-soft);
    display: block;
}
.team-row__photo--fallback {
    width: 128px;
    height: 128px;
    border-radius: 50%;
    background: var(--warm-ivory);
    border: 3px solid var(--gold-soft);
    display: grid;
    place-items: center;
    color: var(--gold-soft);
}
.team-row__role {
    font-size: var(--fs-xs);
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--gold-deep);
}
.team-row__socials { display: flex; gap: 0.6rem; }
.team-row__socials a {
    display: inline-grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border: 1px solid var(--line-dark);
    border-radius: 50%;
    color: var(--muted);
}
.team-row__socials a:hover { border-color: var(--gold); color: var(--gold-deep); }
.team-row__socials svg { width: 15px; height: 15px; }
@media (max-width: 680px) {
    .team-row { grid-template-columns: 88px 1fr; }
    .team-row__photo, .team-row__photo--fallback { width: 88px; height: 88px; }
    .team-row__socials { grid-column: 1 / -1; justify-content: flex-start; }
}

.callout {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--ivory);
    padding: var(--space-3) var(--space-4);
    margin: var(--space-4) 0;
    position: relative;
}
.callout > :first-child { margin-top: 0; }
.callout > :last-child { margin-bottom: 0; }
.callout__title {
    font-family: var(--font-sans);
    font-size: var(--fs-xs);
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    margin-bottom: 0.6em;
    display: flex;
    gap: 0.6em;
    align-items: center;
    color: var(--gold-deep);
}
.callout--note .callout__title::before { content: "✦"; color: var(--gold); }
.callout--warning { background: color-mix(in srgb, var(--error) 6%, transparent); border-color: color-mix(in srgb, var(--error) 35%, transparent); }
.callout--warning .callout__title { color: var(--error); }
.callout--warning .callout__title::before { content: "⚠"; }
.callout--statute { background: var(--warm-ivory); border-color: var(--champagne); }
.callout--definition { border-style: dashed; }

.faq-item {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--paper);
    margin-bottom: 0.75rem;
}
.faq-item summary {
    cursor: pointer;
    list-style: none;
    padding: var(--space-3) var(--space-4);
    font-family: var(--font-serif);
    font-size: var(--fs-md);
    font-weight: 500;
    color: var(--charcoal);
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 1em;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
    content: "+";
    font-family: var(--font-sans);
    font-size: 1.25em;
    color: var(--gold);
    transition: transform var(--dur) var(--ease);
}
.faq-item[open] summary::after { content: "–"; }
.faq-item[open] summary { border-bottom: 1px solid var(--line); }
.faq-item .faq-item__body { padding: var(--space-3) var(--space-4); color: var(--body); }
.faq-item .faq-item__body > :last-child { margin-bottom: 0; }

.quote-card {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: var(--space-4);
}
.quote-card blockquote { margin: 0 0 var(--space-3); border-left: 2px solid var(--gold); }

.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: var(--space-3) 0; }

table {
    border-collapse: collapse;
    width: 100%;
    min-width: min(34rem, 100%);
    font-size: 0.95rem;
    border: 1px solid var(--line);
}
th, td { padding: 0.75em 1em; text-align: left; border-bottom: 1px solid var(--line); }
thead th {
    background: var(--warm-ivory);
    font-family: var(--font-sans);
    font-size: var(--fs-xs);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--gold-deep);
    border-bottom: 2px solid var(--gold-soft);
}
tbody tr:last-child td { border-bottom: 0; }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-3); }
.form-grid__full { grid-column: 1 / -1; }

.field label { display: block; font-size: var(--fs-sm); font-weight: 600; color: var(--ink); margin-bottom: 0.35em; }
.field .required { color: var(--accent); }
.field input[type="text"],
.field input[type="email"],
.field input[type="tel"],
.field input[type="url"],
.field input[type="search"],
.field input[type="date"],
.field input[type="file"],
.field select,
.field textarea {
    width: 100%;
    padding: 0.75em 1em;
    border: 1px solid var(--line-dark);
    border-radius: var(--radius);
    background: var(--paper);
    transition: border-color var(--dur) var(--ease);
}
.field textarea { min-height: 150px; resize: vertical; }
.field input[type="file"] { padding: 0.6em 0.8em; cursor: pointer; }
.field input[type="file"]::file-selector-button {
    margin-right: 0.8em;
    padding: 0.5em 1em;
    border: 1px solid var(--gold);
    border-radius: var(--radius);
    background: var(--gold-faint);
    color: var(--gold-deep);
    font: inherit;
    font-weight: 600;
    cursor: pointer;
}
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--gold); outline: none; }
.field .field__hint { font-size: var(--fs-xs); color: var(--muted); margin-top: 0.35em; }

.form-status {
    border-radius: var(--radius);
    padding: var(--space-2) var(--space-3);
    margin-bottom: var(--space-3);
    font-size: var(--fs-sm);
    border: 1px solid;
}
.form-status--success { background: #f0f7f1; border-color: #bcd7c0; color: var(--ok); }
.form-status--error { background: #fbf1f1; border-color: #e3b6b6; color: var(--error); }

.honeypot-field { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }

.search-form { display: flex; gap: 0.6rem; max-width: 520px; }
.search-form input[type="search"] {
    flex: 1;
    padding: 0.8em 1em;
    border: 1px solid var(--line-dark);
    border-radius: var(--radius);
    background: var(--paper);
}
.search-form button { padding: 0.8em 1.5em; }

.site-footer {
    background: var(--ivory);
    color: var(--body);
    font-size: 0.95rem;
    margin-top: var(--space-7);
    border-top: 3px solid var(--gold-soft);
}
.site-footer a { color: var(--ink); text-decoration: none; }
.site-footer a:hover { color: var(--gold-deep); }

.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-4);
    padding-block: var(--space-6);
}
.footer-brand .site-name {
    font-family: var(--font-serif);
    font-size: 1.35rem;
    color: var(--charcoal);
    display: block;
    margin-bottom: 0.5em;
}
.footer-brand p { color: var(--muted); }
.footer-col h3 {
    font-family: var(--font-sans);
    font-size: var(--fs-xs);
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold-soft);
    margin-bottom: var(--space-3);
}
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin: 0 0 0.55em; }
.footer-col .footer-contact li { display: flex; gap: 0.7em; align-items: flex-start; }
.footer-col .footer-contact svg { width: 15px; height: 15px; color: var(--gold); flex: none; margin-top: 0.3em; }
.footer-contact a { word-break: break-word; }

.bd-offices { display: grid; grid-template-columns: 1fr; row-gap: 0.9em; }
.bd-office { min-width: 0; }
.bd-office strong { font-weight: 600; }
.footer-contact .footer-offices { min-width: 0; }
@media (min-width: 641px) {
	.bd-offices { grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 1.5em; row-gap: 0; align-items: start; }
}

.kc-hub { padding-block: var(--space-4) var(--space-2); }
.kc-hub__card { position: relative; z-index: 5; }
.kc-hub__card .card__link::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.kc-hub__card h3 { margin: 1rem 0 0.4rem; }
.kc-hub__card p { color: var(--muted); font-size: var(--fs-sm); margin-bottom: 0.75rem; }
.kc-hub__count { font-size: var(--fs-xs); font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gold-deep); margin-top: auto; }

.article__hero { margin: 0 0 var(--space-3); }
.article__hero img { display: block; width: 100%; height: auto; border: 1px solid var(--line); border-radius: var(--radius); }

.news-item__thumb { display: block; max-width: 380px; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: var(--space-2); }
.news-item__thumb img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: contain; background: var(--ivory); }

.grid .news-item__thumb { max-width: none; }

.card__thumb { display: block; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 0.9rem; }
.card__thumb img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: contain; background: var(--ivory); }

.kc-home { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-3); }
.kc-home__group { display: flex; flex-direction: column; gap: var(--space-2); }
.kc-home__head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; border-bottom: 2px solid var(--gold-soft); padding-bottom: 0.5rem; }
.kc-home__head h3 { font-size: var(--fs-md); margin: 0; }
.kc-home__head .text-link { white-space: nowrap; font-size: var(--fs-sm); }

.kc-home__card { display: flex; flex-direction: column; }
.kc-home__card h4 { font-size: var(--fs-base); line-height: 1.45; margin: 0.3rem 0 0; }
.kc-home__card h4 a { text-decoration: none; }

.kc-home__thumb { display: block; margin: 0; }
.kc-home__thumb img { display: block; width: 100%; height: auto; }
.kc-home__meta { font-size: var(--fs-xs); color: var(--muted); margin: 0; }
.kc-home__empty { color: var(--muted); font-size: var(--fs-sm); background: var(--ivory); border: 1px dashed var(--line-dark); border-radius: var(--radius); padding: var(--space-2); }
@media (max-width: 960px) { .kc-home { grid-template-columns: 1fr; } }

.page-banner__actions { margin-top: 1.5rem; display: flex; gap: 0.75rem; flex-wrap: wrap; }
.practice-aside { position: sticky; top: 1.75rem; display: flex; flex-direction: column; gap: var(--space-3); align-self: start; }
.practice-aside__title { font-size: var(--fs-md); margin: 0 0 0.75rem; }
.practice-cta p { font-size: var(--fs-sm); color: var(--muted); }
.practice-cta__contact { font-size: var(--fs-sm); color: var(--body); }
.practice-cta__contact a { word-break: break-word; }
.practice-nav ul { list-style: none; padding: 0; margin: 0; }
.practice-nav li + li { margin-top: 0.5rem; }
.practice-nav a { display: flex; gap: 0.6rem; align-items: center; text-decoration: none; color: var(--ink); font-size: var(--fs-sm); line-height: 1.4; }
.practice-nav a:hover { color: var(--gold-deep); }
.practice-nav__icon { color: var(--gold-deep); flex: 0 0 auto; display: inline-flex; }
.article__footer--split { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-top: var(--space-3); }
.article__footer__note { font-size: var(--fs-sm); color: var(--muted); }
@media (max-width: 960px) { .practice-aside { position: static; } }

.news-list { display: grid; gap: var(--space-2); }
.news-item { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: var(--space-3); }
.news-item__meta { font-size: var(--fs-xs); color: var(--muted); text-transform: uppercase; letter-spacing: 0.06em; margin: 0 0 0.35rem; }
.news-item__meta a { color: var(--gold-deep); }
.news-item__title { font-size: var(--fs-md); margin: 0 0 0.4rem; }
.news-item__title a { text-decoration: none; color: var(--charcoal); }
.news-item__title a:hover { color: var(--accent); }
.news-item__excerpt { color: var(--body); font-size: var(--fs-sm); margin-bottom: 0; }
.bd-source-box { border: 1px solid var(--line); border-left: 3px solid var(--gold); background: var(--ivory); padding: var(--space-2) var(--space-3); font-size: var(--fs-sm); margin-top: var(--space-3); }
.topic-section { margin-bottom: var(--space-4); }
.bd-back-link { margin-top: var(--space-3); }

.footer-subnav { list-style: none; padding-left: 0.9rem; margin: 0.35em 0 0.55em; }
.footer-subnav li { margin: 0 0 0.3em; }
.footer-subnav a { font-size: var(--fs-sm); color: var(--muted); text-decoration: none; }
.footer-subnav a:hover { color: var(--gold-deep); }

.footer-nav-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 var(--space-3); align-items: start; }
.footer-col .footer-nav-cols ul { margin: 0; }

.footer-col .footer-subnav { border-left: 1px solid rgba(194, 165, 107, 0.55); margin: 0.35em 0 0.55em 0.15rem; padding-left: 1.15rem; }
.footer-col .footer-subnav li { position: relative; }
.footer-col .footer-subnav li::before {
    content: "\2192";
    position: absolute;
    left: -1.1rem;
    top: 0;
    color: var(--gold-soft);
    font-size: var(--fs-sm);
    line-height: 1.45;
}
.footer-col h3 { text-align: left; }

.footer-col.footer-col--contact,
.footer-col.footer-col--contact p,
.footer-col.footer-col--contact .footer-contact,
.footer-col.footer-col--contact .footer-contact li,
.footer-col.footer-col--contact .bd-offices { text-align: left; }
.footer-col.footer-col--contact .footer-contact li { justify-content: flex-start; }
@media (max-width: 520px) { .footer-nav-cols { grid-template-columns: 1fr; } }
.kc-latest { margin-bottom: var(--space-4); }
.kc-latest .kc-view-all { margin-top: var(--space-2); }

.footer-disclaimer {
    border-top: 1px solid var(--line);
    padding-block: var(--space-4);
    font-size: 0.8rem;
    line-height: 1.8;
    color: var(--muted);
}
.footer-disclaimer strong { color: var(--ink); }
/* v4.9.310: the grievance line now sits below the disclaimer, so it takes the
   same block padding the disclaimer uses and keeps its own hairline, which
   reads as a continuation of the legal notice rather than a stray line. */
.footer-grievance {
    border-top: 1px solid var(--line);
    padding-block: var(--space-3);
}
.footer-bottom {
    border-top: 1px solid var(--line);
    padding-block: var(--space-3);
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-2);
    justify-content: space-between;
    font-size: var(--fs-xs);
    color: var(--muted);
}
.footer-bottom ul { list-style: none; display: flex; gap: var(--space-2); padding: 0; margin: 0; }
.footer-bottom li + li::before { content: "·"; margin-right: var(--space-2); color: var(--gold); }

.archive-head { padding-block: var(--space-5) var(--space-4); }
.archive-head h1 { font-size: clamp(1.9rem, 1.4rem + 2vw, 2.9rem); margin-bottom: 0.2em; }
.archive-head .archive-description { max-width: 44rem; color: var(--muted); font-size: var(--fs-md); margin: 0; }

.pagination { display: flex; gap: 0.5rem; justify-content: center; margin-top: var(--space-5); flex-wrap: wrap; }
.pagination .page-numbers {
    display: inline-grid;
    place-items: center;
    min-width: 42px;
    height: 42px;
    padding-inline: 0.8em;
    border: 1px solid var(--line-dark);
    border-radius: var(--radius);
    color: var(--ink);
    text-decoration: none;
    font-size: var(--fs-sm);
    font-weight: 500;
}
.pagination .page-numbers:hover { border-color: var(--gold); color: var(--gold-deep); }
.pagination .page-numbers.current { background: var(--charcoal); border-color: var(--charcoal); color: var(--ivory); }
.pagination .page-numbers.dots { border: 0; }

.search-result { border-bottom: 1px solid var(--line); padding-block: var(--space-3); }
.search-result .search-result__type { font-size: var(--fs-xs); letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold-deep); display: block; margin-bottom: 0.3em; }
.search-result h2 { font-size: var(--fs-lg); margin-bottom: 0.3em; }
.search-result h2 a { text-decoration: none; color: inherit; }
.search-result h2 a:hover { color: var(--gold-deep); }
.search-result .search-result__meta { font-size: var(--fs-sm); color: var(--muted); }

.comments-area { margin-top: var(--space-5); }
.comment-list { list-style: none; padding: 0; }
.comment-list ol.children { list-style: none; padding-left: var(--space-4); }
.comment-body { border: 1px solid var(--line); border-radius: var(--radius); padding: var(--space-3); background: var(--paper); margin-bottom: var(--space-2); }
.comment-meta { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 0.5em; font-size: var(--fs-sm); color: var(--muted); margin-bottom: 0.6em; }
.comment-author img { border-radius: 50%; margin-right: 0.5em; vertical-align: middle; }
.reply a { font-size: var(--fs-xs); letter-spacing: 0.1em; text-transform: uppercase; font-weight: 600; }

.error-404 { text-align: center; padding-block: var(--space-7); }
.error-404 .error-404__code {
    font-family: var(--font-serif);
    font-size: clamp(5rem, 14vw, 9rem);
    color: var(--gold-soft);
    line-height: 1;
}
.error-404 .search-form { margin-inline: auto; }
.error-404__links { display: flex; gap: 0.75rem; justify-content: center; flex-wrap: wrap; list-style: none; padding: 0; margin: var(--space-4) 0 0; }

.go-top {
    position: fixed;
    right: 1.25rem;
    bottom: 1.25rem;
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    background: var(--charcoal);
    color: var(--gold-soft);
    border-radius: 50%;
    border: 1px solid rgba(201, 179, 132, 0.4);
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity 0.25s var(--ease), transform 0.25s var(--ease), visibility 0.25s;
    z-index: 800;
    text-decoration: none;
}
.go-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.go-top:hover { background: var(--gold-deep); color: #fff; }

.page-content { padding-block: var(--space-5); }
.page-content .entry-content { max-width: none; }
.page-content .wp-block-image img { border-radius: var(--radius); }

.alignleft { float: left; margin: 0.4em 1.4em 0.8em 0; }
.alignright { float: right; margin: 0.4em 0 0.8em 1.4em; }
.aligncenter { display: block; margin-inline: auto; }
.wp-caption-text, figcaption { font-size: var(--fs-sm); color: var(--muted); text-align: center; margin-top: 0.5em; }
.sticky { border-left: 3px solid var(--gold); padding-left: var(--space-3); }

.entry-content iframe, .entry-content video { max-width: 100%; border-radius: var(--radius); }

.bci-popup {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 950;
    background: var(--paper);
    border-top: 3px solid var(--gold);
    box-shadow: 0 -10px 40px -18px rgba(32, 29, 23, 0.35);
    max-height: 65vh;
    overflow-y: auto;
    display: none;
}
.bci-popup.is-open { display: block; }
.bci-popup__inner {
    max-width: var(--container);
    margin-inline: auto;
    padding: var(--space-3) clamp(1.1rem, 4vw, 2rem) var(--space-4);
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: var(--space-3);
}
.bci-popup__text { flex: 1 1 34rem; }
.bci-popup__title {
    font-family: var(--font-sans);
    font-size: var(--fs-sm);
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--gold-deep);
    margin-bottom: 0.7em;
}
.bci-popup__text p { font-size: 0.9rem; line-height: 1.7; color: var(--body); margin-bottom: 0.6em; }
.bci-popup__text ul { margin: 0 0 0.6em; padding-left: 1.2em; font-size: 0.9rem; color: var(--body); }
.bci-popup__text li + li { margin-top: 0.3em; }
.bci-popup__note { color: var(--muted); margin-bottom: 0; }
.bci-popup__actions {
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
    margin-top: 0.3rem;
}
.bci-popup__decline { border-color: var(--line-dark); color: var(--muted); }
.bci-popup__decline:hover { border-color: var(--accent); color: var(--accent); }

@media (max-width: 640px) {
    .bci-popup { max-height: 92vh; max-height: 92svh; }
    .bci-popup__inner {
        padding-top: var(--space-2);
        padding-bottom: var(--space-3);
        gap: var(--space-2);
    }
    .bci-popup__title { margin-bottom: 0.55em; }
    .bci-popup__text p,
    .bci-popup__text ul { font-size: 0.86rem; line-height: 1.55; }
    .bci-popup__text p { margin-bottom: 0.5em; }
    .bci-popup__actions {
        flex-direction: row;
        flex-wrap: nowrap;
        width: 100%;
        gap: 0.6rem;
        margin-top: 0;
    }
    .bci-popup__actions .btn { flex: 1 1 0; min-width: 0; }
}
@media (prefers-reduced-motion: reduce) {
    .bci-popup { transition: none; }
}

.reveal {
    opacity: 0;
    transform: translateY(14px);
    transition: opacity 0.55s var(--ease), transform 0.55s var(--ease);
}
.reveal.is-revealed { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
    .reveal { opacity: 1; transform: none; transition: none; }
    *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}

.primary-menu .sub-toggle { display: none; }

.practice-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 3rem; align-items: start; }
.contact-layout { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 3rem; align-items: start; }
.with-sidebar { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 2.5rem; align-items: start; }

@media (max-width: 1024px) {
    
    .practice-layout, .contact-layout, .with-sidebar { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 860px) {
    .primary-menu .sub-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        margin-left: auto;
        flex: none;
        background: none;
        border: 0;
        color: var(--gold-deep);
        font-size: 1rem;
        cursor: pointer;
    }
    .primary-menu > .menu-item-has-children { display: block; position: relative; }
    .primary-menu > .menu-item-has-children > a { display: block; padding-right: 52px; }
    .primary-menu .sub-toggle { position: absolute; top: 2px; right: 0; }
    .primary-menu .sub-menu { width: 100%; max-width: 100%; }
}

@media (max-width: 1024px) {
    .grid--3, .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .intro-band { grid-template-columns: 1fr; }
    .intro-band__aside { border-left: 0; border-top: 1px solid var(--gold-soft); padding: var(--space-3) 0 0; }
}

@media (max-width: 860px) {
    .nav-toggle { display: inline-flex; }
    .primary-menu {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--paper);
        border-bottom: 1px solid var(--line);
        border-top: 2px solid var(--gold);
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: var(--space-2) clamp(1.1rem, 4vw, 2rem) var(--space-3);
        box-shadow: var(--shadow);
        display: none;
    }
    .primary-menu.is-open { display: flex; }
    .primary-menu a { display: block; padding: 0.75em 0; border-bottom: 1px solid var(--line); font-size: 1rem; }
    .primary-menu li:last-child a { border-bottom: 0; }
    .primary-menu .menu-item-has-children .sub-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        border: 0;
        border-left: 2px solid var(--gold-soft);
        box-shadow: none;
        border-radius: 0;
        min-width: 0;
        padding: 0 0 0 1rem;
        margin: 0.2em 0 0.4em;
        display: none;
    }
    .primary-menu .menu-item-has-children.is-open > .sub-menu { display: block; }
    .primary-menu .menu-item-has-children > a::after { content: ""; }
    .header-cta { display: none; }
    .site-header__inner { min-height: 72px; }
    .profile { grid-template-columns: 1fr; }
    .profile__photo { max-width: 380px; }
}

@media (max-width: 680px) {
    .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
    .form-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .site-footer { margin-top: var(--space-6); }
}\n

::selection { background: var(--gold-soft); color: var(--charcoal); }

.btn { box-shadow: 0 1px 2px rgba(32, 29, 23, 0.08); }
.btn--primary:hover { transform: translateY(-1px); box-shadow: 0 6px 18px -8px rgba(32, 29, 23, 0.45); }
.btn--gold:hover   { transform: translateY(-1px); box-shadow: 0 6px 18px -8px rgba(138, 109, 51, 0.55); }

.article .entry-content > p:first-of-type:not(.no-dropcap)::first-letter {
    font-family: var(--font-serif);
    font-size: 3.4em;
    line-height: 0.82;
    font-weight: 500;
    color: var(--gold-deep);
    float: left;
    padding: 0.06em 0.14em 0 0;
}

.section-head h2 { letter-spacing: -0.012em; }

.card { position: relative; overflow: hidden; }

.team-row { justify-items: start; }
.team-row__photo, .team-row__photo--fallback {
    width: 132px;
    height: 132px;
    object-fit: cover;
    object-position: center top;
}

.bci-popup { transform: translateY(100%); transition: transform 0.35s var(--ease); }
.bci-popup.is-open { transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
    .bci-popup { transform: none; transition: none; }
    .btn--primary:hover, .btn--gold:hover { transform: none; }
}

a.text-link { border-bottom-width: 1.5px; }
.entry-content a { text-underline-offset: 4px; }

.float-rail {
    position: fixed;
    right: 1.1rem;
    top: 50%;
    transform: translateY(-50%);
    z-index: 900;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}
.float-rail__btn {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: #ffffff;
    border: 1px solid var(--line);
    color: var(--charcoal);
    box-shadow: 0 6px 16px -8px rgba(32, 29, 23, 0.35);
    transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.float-rail__btn:hover { transform: scale(1.1); box-shadow: 0 10px 22px -10px rgba(32, 29, 23, 0.45); }
.float-rail__btn--call      { background: var(--social-fb); border-color: var(--social-fb); color: #ffffff; }
.float-rail__btn--whatsapp  { color: #1faf54; border-color: #d3eedd; }
.float-rail__btn--linkedin  { color: #0a66c2; border-color: #d4e2f3; }
.float-rail__btn--instagram { color: #c13584; border-color: #f0d5e7; }
.float-rail__btn--email     { color: var(--gold-deep); border-color: #d6e7e0; }
/* v4.9.294 - the mobile bottom stack: the rail row keeps the baseline and gives
   up the bottom-right corner to the back-to-top control, which now shares that
   baseline. Numbers and reasoning in CHANGELOG.md.

   v4.9.305 - THE ROW DOES NOT WRAP ANY MORE. v4.9.294 sized this row for a
   phone at least 373px wide and left it free to wrap. Six 42px buttons with
   five 8px gaps need 292px, and the row had only 100vw - 80.8px to spend once
   the back-to-top's 44px and the two 0.9rem margins were taken out, so:
     - at 373px and above, one row (two pixels of slack at 375px);
     - at 322px to 372px, five buttons on the first row and one orphaned on a
       second row;
     - at 321px and below, four and two.
   The container is pinned to the bottom edge, so a second row did not grow
   downward: it grew the dock UPWARD, over whatever the page was showing, and
   the right end of the first row then ran under the chat launcher. That is the
   two-row dock in the owner's phone screenshots. The row is now a single
   nowrap line whose buttons share the width equally, capped at 42px and free
   to shrink, so it is one row at every width from 320px down to about 250px,
   and it never wraps at any width. Measured widths are in CHANGELOG.md. */
@media (max-width: 720px) {

    .float-rail {
        top: auto;
        bottom: calc(0.75rem + env(safe-area-inset-bottom, 0px));
        left: 0.9rem;
        right: calc(0.9rem + 44px + 0.5rem + env(safe-area-inset-right, 0px));
        transform: none;
        flex-direction: row;
        flex-wrap: nowrap;
        justify-content: flex-start;
        align-items: flex-end;
        gap: clamp(0.25rem, 1.1vw, 0.5rem);
        /* the row is now a box wider than its buttons, so the empty ends of
           that box must not swallow taps meant for the page underneath. */
        pointer-events: none;
    }
    .float-rail > * { pointer-events: auto; min-width: 0; box-sizing: border-box; }
    /* The buttons divide the row instead of claiming a fixed 42px each, which
       is what forced the wrap. max-width keeps them at the old size wherever
       there is room; aspect-ratio keeps them circular once they shrink. */
    .float-rail__btn {
        width: auto;
        height: auto;
        flex: 1 1 0;
        min-width: 0;
        max-width: 42px;
        aspect-ratio: 1 / 1;
    }
    /* The share control is a wrapper, not a button, so it takes the same share
       of the row and its own button is stretched to fill it. */
    /* The share control is a wrapper around its button, so it is given the same
       share of the row as a button. The transparent 1px border makes its flex
       base size equal to a button's (a flex base of 0 is a content-box figure,
       so a bordered item comes out 2px wider than an unbordered one), and the
       button inside is grown by the same 2px so the circle is the same size as
       its neighbours instead of 2px smaller. */
    .bd-share-wrap {
        flex: 1 1 0;
        min-width: 0;
        max-width: 42px;
        aspect-ratio: 1 / 1;
        border: 1px solid transparent;
    }
    .bd-share-wrap > .bd-share-toggle {
        width: calc(100% + 2px);
        height: calc(100% + 2px);
        margin: -1px;
    }

    /* The dock is fixed, so the last lines of a page would otherwise sit under
       it for good. This is empty space at the foot of the content: no text is
       moved, no element is hidden, and nothing above it changes. */
    .site-main { padding-bottom: 4.5rem; }
}
@media print { .float-rail { display: none; } }

.page-banner--photo {
    background-image: url("assets/img/page-banner-bg.webp");
    background-size: cover;
    background-position: center;
    color: #ffffff;
}
.page-banner--photo h1 {
    color: #ffffff;
    font-size: 36px;
    line-height: 1.25;
    letter-spacing: 0.01em;
    text-shadow: 0 2px 14px rgba(15, 18, 24, 0.55), 0 1px 3px rgba(15, 18, 24, 0.45);
}
.page-banner--photo .hero__eyebrow { color: #ffffff; text-shadow: 0 1px 8px rgba(15, 18, 24, 0.5); }
.page-banner--photo .hero__eyebrow a { color: inherit; }
.page-banner--photo .breadcrumbs { color: rgba(255, 255, 255, 0.86); text-shadow: 0 1px 6px rgba(15, 18, 24, 0.5); }
.page-banner--photo .breadcrumbs a { color: #ffffff; text-shadow: 0 1px 6px rgba(15, 18, 24, 0.5); }
.page-banner--photo .entry-meta { color: rgba(255, 255, 255, 0.84); text-shadow: 0 1px 6px rgba(15, 18, 24, 0.5); }
.page-banner--photo .entry-meta a { color: #ffffff; }
.page-banner--photo .entry-meta a:hover { color: var(--gold); }

@media (max-width: 900px) {
    .about-home__cards { grid-template-columns: 1fr; }
}

@media (max-width: 680px) {
    .topbar__inner {
        flex-direction: column;
        gap: 0.25rem;
        padding-block: 0.5rem;
    }
    .topbar__contact { justify-content: center; gap: 0.9em; }
    .topbar__socials { display: none; }
}

@media (max-width: 560px) {
    .team-row { grid-template-columns: 1fr; }
    .team-row__photo,
    .team-row__photo--fallback { width: 104px; height: 104px; }
}

@media (max-width: 680px) {
    .page-banner--photo h1 { font-size: 27px; }
}

.map-embed {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 18px 44px -28px rgba(32, 29, 23, 0.4);
    background: var(--warm-ivory);
}
.map-embed iframe { display: block; width: 100%; height: 420px; border: 0; }
@media (max-width: 680px) {
    .map-embed iframe { height: 300px; }
}

body::before {
    content: "";
    display: block;
    height: 3px;
    background: linear-gradient(90deg, transparent 0%, var(--gold-deep) 15%, var(--gold) 50%, var(--gold-deep) 85%, transparent 100%);
}

.section-head h2 {
    font-size: clamp(1.85rem, 1.42rem + 1.5vw, 2.55rem);
    line-height: 1.12;
    letter-spacing: -0.012em;
}
.section-head p {
    font-size: var(--fs-md);
    color: var(--muted);
    max-width: 40rem;
}
.section-head { margin-bottom: var(--space-5); }

.eyebrow {
    font-size: var(--fs-xs);
    font-weight: 600;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: var(--gold-deep);
    display: inline-flex;
    align-items: center;
    gap: 0.8em;
    margin-bottom: var(--space-2);
}
.eyebrow::after { content: ""; height: 1px; width: 44px; background: var(--gold-soft); }

.hero h1 { letter-spacing: -0.018em; line-height: 1.05; }

.primary-menu a { font-size: 0.92rem; letter-spacing: 0.035em; }

.btn { padding: 1em 2.1em; letter-spacing: 0.09em; }

.card:hover {
    transform: translateY(-3px);
    transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color var(--dur) var(--ease);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
summary:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 2px;
}

:where(.entry-content) .card {
    background: none;
    border: 0;
    border-radius: 0;
    padding: 0;
    display: block;
    height: auto;
    transition: none;
    position: static;
    overflow: visible;
    box-shadow: none;
}
:where(.entry-content) .card:hover { box-shadow: none; transform: none; border-color: transparent; }
:where(.entry-content) .card::after,
:where(.entry-content) .card:hover::after { content: none; }
:where(.entry-content) .card p { color: inherit; font-size: inherit; }
:where(.entry-content) .card { display: block; height: auto; }

:where(.entry-content) .callout {
    background: none;
    border: 0;
    border-radius: 0;
    padding: 0;
    margin: 0;
}

:where(.kc-scope .entry-content) .faq-item {
    border: 0;
    border-radius: 0;
    background: none;
    margin-bottom: 0;
}
:where(.kc-scope .entry-content) .faq-item summary {
    padding: 0;
    font-family: inherit;
    font-size: inherit;
    font-weight: inherit;
    color: inherit;
    display: block;
    gap: normal;
}
:where(.kc-scope .entry-content) .faq-item summary::after { content: none; }
:where(.kc-scope .entry-content) .faq-item[open] summary { border-bottom: 0; }

.site-main p,
.site-main li,
section p,
section li {
	text-align: left;
	hyphens: manual;
	-webkit-hyphens: manual;
}
.single .entry-content p,
.single .entry-content li,
.single-bd_news .entry-content p,
.single-bd_news .entry-content li,
.single-bd_statute .entry-content p,
.single-bd_statute .entry-content li {
	text-align: left;
	hyphens: auto;
	-webkit-hyphens: auto;
}.hero h1 {font-weight: 600;}
.hero__tagline {
	font-family: var(--font-sans);
	font-size: 0.85rem;
	font-weight: 600;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: var(--gold);
	margin: 0 0 var(--space-3);
}
.hero--no-photo .hero__inner { max-width: 52rem; }

.btn { border-radius: var(--radius); }
.btn--primary {
	background: linear-gradient(180deg, var(--emerald-bright) 0%, var(--emerald) 52%, var(--emerald-deep) 100%);
	color: #FAFAF7;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.10), 0 1px 2px rgba(8, 45, 35, 0.18);
}
.btn--primary:hover {
	background: linear-gradient(180deg, var(--emerald-bright) 0%, var(--emerald) 52%, var(--emerald-deep) 100%);
	color: #FAFAF7;
	box-shadow: 0 6px 18px -8px rgba(8, 45, 35, 0.5);
}
.btn--gold {
	background: linear-gradient(180deg, var(--emerald-bright) 0%, var(--emerald) 52%, var(--emerald-deep) 100%);
	color: #FAFAF7;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.10), 0 1px 2px rgba(8, 45, 35, 0.18);
}
.btn--gold:hover {
	background: linear-gradient(180deg, var(--emerald-bright) 0%, var(--emerald) 52%, var(--emerald-deep) 100%);
	color: #FAFAF7;
	box-shadow: 0 6px 18px -8px rgba(8, 45, 35, 0.5);
}

.topbar { background: var(--ivory); border-bottom: 1px solid var(--line); }
.topbar a { color: var(--gold-deep); }
.topbar a:hover { color: var(--gold); }
.topbar__contact svg, .topbar__socials svg { color: var(--gold); }
.site-header { background: var(--paper); }
.site-navigation a { color: var(--gold); }
.header-cta .btn--primary { white-space: nowrap; }

.home-practice .card--practice { border-radius: var(--radius-card); }
.card__icon { background: var(--pastel-blue); color: var(--gold); border-radius: var(--radius-card); }

.team-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: var(--space-3);
	max-width: 880px;
	margin-inline: auto;
}
.team-card {
	background: var(--paper);
	border: 1px solid var(--line);
	border-radius: var(--radius-card);
	padding: var(--space-3) var(--space-2);
	text-align: center;
}
.team-card__photo-link { display: block; }
.team-card__photo,
.team-card__photo-link img {
	width: 150px;
	height: 150px;
	max-width: 100%;
	border-radius: 50%;
	object-fit: cover;
	margin-inline: auto;
	display: block;
}
.team-card__photo--fallback {
	width: 150px;
	height: 150px;
	border-radius: 50%;
	background: var(--pastel-blue);
	color: var(--gold);
	display: inline-flex;
	align-items: center;
	justify-content: center;
}
.team-card__bio {
	font-size: var(--fs-sm);
	color: var(--muted);
	line-height: 1.6;
	margin: 0.5em 0 0;
}

.kc-home {
	display: block;
	max-width: 880px;
	margin-inline: auto;
}
.kc-home__group {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: var(--space-3);
}

/* v4.9.436 - rows: heading, then the rail, then the button. The rail takes the
 * spare height so the button always sits at the bottom of the section. */
.kc-home__group {
	grid-template-rows: auto 1fr auto;
	align-content: stretch;
}
.kc-home__group + .kc-home__group { margin-top: var(--space-5); }
.kc-home__head {
	grid-column: 1 / -1;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--space-2);
	border-bottom: 1px solid rgba(20, 90, 67, 0.22);
	padding-bottom: 0.6rem;
}
.kc-home__head h3 { color: var(--gold-deep); }
.kc-home__empty { grid-column: 1 / -1; }

.section--kc {
	background: var(--gold-faint);
	border-top: 2px solid var(--gold-soft);
}
.kc-home__title { color: inherit; text-decoration: none; }
.kc-home__title:hover,
.kc-home__title:focus-visible { color: var(--gold-deep); text-decoration: underline; text-underline-offset: 0.12em; }
.kc-home__head { border-bottom: 2px solid var(--gold-soft); padding-bottom: 0.7rem; }
.kc-home__head h3 {
	font-size: clamp(1.45rem, 1.25rem + 0.7vw, 1.8rem);
	font-weight: 700;
	letter-spacing: -0.01em;
	line-height: 1.15;
}
.kc-home__foot { grid-column: 1 / -1; margin-top: 0.35rem; display: flex; }
.kc-home__more { flex: 1 1 auto; justify-content: center; }

.site-footer {
	background: #104532;
	color: #D7E0D9;
	border-top: 3px solid var(--gold-soft);
}
.site-footer a { color: #DCE6DE; }
.site-footer a:hover { color: #FAFAF7; }
.footer-brand .site-name { color: #FAFAF7; }
.footer-brand .site-name::after { background: var(--gold-soft); }
.footer-brand p { color: #B9C7BD; }
.footer-col h3 { color: #FAFAF7; }
.footer-col .footer-contact svg { color: var(--gold-soft); }
.footer-subnav a { color: #B9C7BD; }
.footer-subnav a:hover { color: #FAFAF7; }
.footer-disclaimer { color: #A8B8AC; border-top: 1px solid rgba(194, 165, 107, 0.35); }
.footer-disclaimer strong { color: #FAFAF7; }
.footer-bottom { color: #9FB1A3; border-top: 1px solid rgba(194, 165, 107, 0.25); }
.footer-bottom li + li::before { color: var(--gold-soft); }

.footer-grid {
	grid-template-columns: 1fr 1fr;
}
.footer-grid > .footer-brand { grid-column: 1 / -1; }
.footer-col--contact { grid-row: auto; }
.footer-socials {
	display: flex;
	flex-wrap: wrap;
	gap: 0.6rem;
	margin-top: var(--space-3);
}
.footer-socials a {
	width: 38px;
	height: 38px;
	border-radius: 50%;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: rgba(250, 250, 247, 0.08);
	border: 1px solid var(--gold-soft);
	color: #FAFAF7;
	transition: background 0.18s var(--ease), transform 0.18s var(--ease);
}
.footer-socials a:hover {
	background: linear-gradient(180deg, var(--emerald-bright), var(--emerald-deep));
	color: #FAFAF7;
	transform: translateY(-2px);
}
.footer-socials a svg { width: 16px; height: 16px; }
.footer-map {
	grid-column: 1 / -1;
	align-self: stretch;
	display: flex;
	min-height: 220px;
	border-radius: var(--radius-card);
	overflow: hidden;
	border: 1px solid rgba(194, 165, 107, 0.45);
	margin-top: 0;
}
.footer-map iframe {
	flex: 1;
	width: 100%;
	height: 100%;
	min-height: 220px;
	border: 0;
	display: block;
}

.float-rail__btn {
	background: var(--emerald);
	color: #FAFAF7;
	border: 1px solid var(--gold-soft);
}
.float-rail__btn:hover,
.go-top:hover {
	background: linear-gradient(180deg, var(--emerald-bright), var(--emerald-deep));
	color: #FAFAF7;
}
.go-top {
	background: var(--emerald);
	color: #FAFAF7;
	border: 1px solid var(--gold-soft);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
.nav-toggle:focus-visible,
.float-rail__btn:focus-visible,
.go-top:focus-visible {
	outline: 2px solid var(--emerald-bright);
	outline-offset: 2px;
}

.cred__icon { background: var(--pastel-blue); color: var(--gold); border-radius: var(--radius-card); }
.cta-band { background: var(--ivory); border-block: 1px solid var(--line); }
.feature-list--check li::before { color: var(--gold); }

@media (min-width: 1021px) {
	.footer-map,
	.footer-map iframe { min-height: 300px; }
}
@media (max-width: 1020px) {
	.footer-grid { grid-template-columns: 1fr 1fr; }
	.footer-grid > .footer-brand { grid-column: 1 / -1; }
	.footer-col--contact { grid-row: auto; }
	.footer-map { grid-column: 1 / -1; min-height: 200px; }
	.footer-map iframe { min-height: 200px; }
}
@media (max-width: 640px) {
	.hero h1 { font-size: clamp(1.9rem, 8vw, 2.6rem); }
	.home-practice { grid-template-columns: 1fr; }
	.team-grid { grid-template-columns: 1fr; }
	.kc-home__group { grid-template-columns: 1fr; }
	.kc-home__head { justify-content: center; text-align: center; }
	.footer-grid { grid-template-columns: 1fr; }
	.footer-grid > .footer-brand { grid-column: auto; }
	.footer-map { min-height: 180px; }
	.footer-map iframe { min-height: 180px; }
}

.nav-toggle { display: inline-flex; }
.primary-menu {
	position: absolute;
	top: 100%;
	left: 0;
	right: 0;
	z-index: 60;
	background: var(--paper);
	border-bottom: 1px solid var(--line);
	border-top: 2px solid var(--gold);
	flex-direction: column;
	align-items: stretch;
	gap: 0;
	padding: var(--space-2) clamp(1.1rem, 4vw, 2rem) var(--space-3);
	box-shadow: var(--shadow);
	display: none;
}
.primary-menu.is-open { display: flex; }
.primary-menu a { display: block; padding: 0.75em 0; border-bottom: 1px solid var(--line); font-size: 1rem; }
.primary-menu li:last-child a { border-bottom: 0; }
.primary-menu .sub-toggle {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	margin-left: auto;
	flex: none;
	background: none;
	border: 0;
	color: var(--gold-deep);
	font-size: 1rem;
	cursor: pointer;
}

.primary-menu > .menu-item-has-children { display: block; position: relative; }
.primary-menu > .menu-item-has-children > a { display: block; padding-right: 52px; }
.primary-menu .sub-toggle { position: absolute; top: 2px; right: 0; }
.primary-menu .sub-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    border: 0;
    border-left: 2px solid var(--gold-soft);
    box-shadow: none;
    border-radius: 0;
    min-width: 0;
    width: 100%;
    max-height: none;
    overflow: visible;
    padding: 0 0 0 1rem;
    margin: 0.2em 0 0.4em;
    display: none;
}
.primary-menu .menu-item-has-children.is-open > .sub-menu { display: block; }
.primary-menu .sub-menu li { display: block; width: 100%; }
.primary-menu .sub-menu a { display: block; width: 100%; white-space: normal; }
.primary-menu .menu-item-has-children > a::after { content: ""; }

.site-footer strong { color: #FAFAF7; }

.site-navigation { margin-left: auto; }

.site-main p,
.site-main li,
section p,
section li,
.card p,
.footer-col p {
	text-align: left;
	hyphens: auto;
	-webkit-hyphens: auto;
	overflow-wrap: break-word;
}

@media (max-width: 680px) {
	.kc-hub .grid--2 { grid-template-columns: 1fr; }
}

.article--embedded .entry-content table:not(#law-index-table):not(.matrix-table) { min-width: 0; }

.article--embedded .law-table-wrap { overflow: auto; -webkit-overflow-scrolling: touch; }

@media (max-width: 768px) {

	.article--embedded .calc-box .btn-primary,
	.article--embedded .calc-box .btn-secondary { width: 100%; margin-top: 0.35rem; }

	.article--embedded .hero-actions .btn-primary,
	.article--embedded .hero-actions .btn-secondary { width: 100%; max-width: 320px; margin-inline: auto; }

	.article--embedded .tool-btn { font-size: 0.75rem; padding: 0.35rem 0.6rem; }
	.article--embedded .dd-na-btn { font-size: 0.72rem; padding: 0.3rem 0.65rem; }

	.article--embedded .entry-content input,
	.article--embedded .entry-content select,
	.article--embedded .entry-content textarea { font-size: 16px; }

	.article--embedded .entry-content { overflow-wrap: break-word; }
}

.bd-share-wrap { position: relative; }
.bd-share-toggle { color: #FAFAF7; }
.bd-share-pop {
    position: absolute;
    display: none;
    flex-direction: column;
    gap: 0.6rem;
}
.bd-share-pop.is-open { display: flex; }
.bd-share-btn {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    padding: 0;
    background: #ffffff;
    border: 1px solid var(--line);
    color: var(--charcoal);
    box-shadow: 0 6px 16px -8px rgba(32, 29, 23, 0.35);
    cursor: pointer;
    transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.bd-share-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 10px 22px -10px rgba(32, 29, 23, 0.45);
    border-color: var(--gold);
}
.bd-share-btn--whatsapp { color: #1faf54; }
.bd-share-btn--telegram { color: #229ed9; }
.bd-share-btn--facebook { color: var(--social-fb); }
.bd-share-btn--x        { color: #12161A; }
.bd-share-btn--linkedin { color: #0a66c2; }
.bd-share-btn--email    { color: var(--gold-deep); }
.bd-share-btn--copy     { color: var(--gold-deep); }
.bd-share-tip {
    position: absolute;
    left: -3.4rem;
    bottom: 8px;
    white-space: nowrap;
    background: var(--charcoal);
    color: #fffdf7;
    font-family: var(--font-sans);
    font-size: 0.72rem;
    letter-spacing: 0.06em;
    padding: 0.3rem 0.6rem;
    border-radius: var(--radius-pill);
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--dur) var(--ease);
}
.bd-share-tip.is-visible { opacity: 1; }

@media (min-width: 721px) {
    .bd-share-pop {
        right: 3.4rem;
        top: 50%;
        transform: translateY(-50%);
    }
}

@media (max-width: 720px) {
    .bd-share-pop { bottom: 3.2rem; right: 0; }
    .bd-share-btn { width: 42px; height: 42px; }
    .bd-share-tip { left: -3rem; bottom: 6px; }
}
@media print { .bd-share-wrap { display: none; } }

.form-status {
    min-height: 1.4em;
    color: var(--muted);
    font-size: 0.9rem;
}
.form-status:empty {
    min-height: 0;
    margin: 0;
    padding: 0;
    border: 0;
}
.form-status ul {
    margin: 0;
    padding-left: 1.2em;
}
.form-status .is-error {
    color: var(--error);
}

input.is-invalid,
textarea.is-invalid {
    border-color: var(--error);
    box-shadow: 0 0 0 1px rgba(166, 61, 47, 0.18);
}

.btn.is-submitting {
    opacity: 0.7;
    pointer-events: none;
}

@media (prefers-reduced-motion: no-preference) {
    .btn {
        transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease),
            border-color 0.2s ease, transform 0.18s ease, box-shadow 0.18s ease;
    }
    .btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 10px 22px -10px rgba(32, 29, 23, 0.42);
    }
    .btn:active {
        transform: translateY(0);
        box-shadow: 0 1px 2px rgba(32, 29, 23, 0.08);
    }

    .card {
        transition: transform 0.18s var(--ease), box-shadow 0.18s var(--ease);
    }
    .card:hover {
        transform: translateY(-3px);
        box-shadow: var(--shadow);
    }
}

.kc-cards {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--space-3);
}
.kc-card {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    background: var(--paper);
    border: 1px solid var(--line);
    border-left: 3px solid var(--gold-soft);
    border-radius: var(--radius-card);
    padding: var(--space-3);
    text-decoration: none;
    transition: border-color 0.15s var(--ease), box-shadow 0.15s var(--ease), transform 0.15s var(--ease);
}
.kc-card:hover {
    border-color: var(--gold-soft);
    box-shadow: var(--shadow);
    transform: translateY(-3px);
}
.kc-card__title {
    font-size: var(--fs-md, 1.25rem);
    margin: 0;
    color: var(--ink, #12161A);
}
.kc-card__desc {
    color: var(--muted);
    margin: 0;
    font-size: var(--fs-sm);
    line-height: 1.6;
}
.kc-card__count {
    margin: 0.4rem 0 0;
    font-size: var(--fs-sm);
    font-weight: 600;
    color: var(--gold-deep);
}
@media (max-width: 720px) {
    .kc-cards { grid-template-columns: 1fr; }
}

.bd-sec{border:1px solid color-mix(in srgb, var(--gold-soft) 28%, transparent);border-radius: 8px;background:var(--paper);margin:1.1rem 0;box-shadow:0 1px 3px color-mix(in srgb, var(--ink) 5%, transparent);overflow:hidden}
.bd-sec>summary{cursor:pointer;padding:.95rem 1.3rem;list-style:none;display:flex;align-items:center;gap:.6rem;background:linear-gradient(180deg,var(--paper),var(--paper));transition:background .2s var(--ease)}
.bd-sec>summary::-webkit-details-marker{display:none}
.bd-sec>summary::after{content:"";width:9px;height:9px;border-right:2.5px solid var(--gold-deep);border-bottom:2.5px solid var(--gold-deep);transform:rotate(-45deg);flex:0 0 9px;margin-left:auto;transition:transform .2s var(--ease)}
.bd-sec[open]>summary::after{transform:rotate(45deg)}
.bd-sec>summary h2{margin:0;font-size:1.2rem !important;line-height:1.35}
.bd-sec>summary:hover{background:var(--paper)}
.bd-sec[open]>summary{border-bottom:1px solid color-mix(in srgb, var(--gold-soft) 25%, transparent)}
.bd-sec>*:not(summary){margin-left:1.3rem;margin-right:1.3rem}
.bd-sec>*:last-child{margin-bottom:1.2rem}

body.single-bd_tool .bd-tool .calc-box{position:relative;border-radius: 8px;padding:1.9rem 1.7rem 1.7rem;background:linear-gradient(165deg,var(--paper) 0%,var(--paper) 55%,var(--ivory) 100%);border:1px solid color-mix(in srgb, var(--emerald) 22%, transparent);box-shadow:inset 0 1px 0 rgba(255,255,255,.95),inset 0 -2px 6px color-mix(in srgb, var(--emerald) 14%, transparent),0 34px 70px -30px color-mix(in srgb, var(--ink) 55%, transparent),0 18px 40px -20px color-mix(in srgb, var(--emerald-deep) 42%, transparent);transform:none;transition:box-shadow .45s var(--ease)}
body.single-bd_tool .bd-tool .calc-box>h3{font-family:'Cormorant Garamond',Georgia,'Times New Roman',serif;font-weight:700;letter-spacing:.05em;border-bottom:2px solid color-mix(in srgb, var(--emerald) 35%, transparent);padding-bottom:.55rem;margin-bottom:1.1rem}
body.single-bd_tool .bd-tool .calc-box .calc-input input,body.single-bd_tool .bd-tool .calc-box .calc-input select{background:var(--paper);border:1px solid color-mix(in srgb, var(--emerald) 45%, transparent);border-radius:var(--radius-card);box-shadow:inset 0 2px 5px color-mix(in srgb, var(--ink) 12%, transparent),0 1px 0 var(--paper)}
body.single-bd_tool .bd-tool .calc-box .calc-input input:focus-visible,body.single-bd_tool .bd-tool .calc-box .calc-input select:focus-visible{outline:none;border-color:var(--emerald-deep);box-shadow:0 0 0 3px color-mix(in srgb, var(--emerald) 22%, transparent),inset 0 2px 5px color-mix(in srgb, var(--ink) 12%, transparent)}
body.single-bd_tool .bd-tool .calc-box .btn-primary{background:linear-gradient(180deg,var(--emerald) 0%,var(--emerald) 60%,var(--emerald-bright) 100%);border:1px solid var(--emerald-deep);border-bottom-width:4px;border-radius: 8px;box-shadow:0 8px 16px -6px color-mix(in srgb, var(--emerald-deep) 55%, transparent),inset 0 1px 0 rgba(255,255,255,.55);text-shadow:0 1px 1px color-mix(in srgb, var(--emerald-deep) 45%, transparent);letter-spacing:.04em;transition:transform .08s var(--ease),border-bottom-width .08s var(--ease),box-shadow .08s var(--ease),filter .15s var(--ease)}
body.single-bd_tool .bd-tool .calc-box .btn-primary:hover{filter:brightness(1.04);transform:translateY(-1px)}
body.single-bd_tool .bd-tool .calc-box .btn-primary:active{transform:translateY(2px);border-bottom-width:1px;box-shadow:0 2px 6px -3px color-mix(in srgb, var(--emerald-deep) 50%, transparent),inset 0 2px 6px color-mix(in srgb, var(--ink) 25%, transparent)}
@media (max-width:768px){body.single-bd_tool .bd-tool .calc-box{transform:none;border-radius: 8px;box-shadow:0 18px 40px -22px color-mix(in srgb, var(--ink) 45%, transparent);animation:none;padding:1.4rem 1.1rem 1.2rem}}
@media (prefers-reduced-motion:reduce){body.single-bd_tool .bd-tool .calc-box{animation:none;transition:none}}

html[data-bd-motion="reduce"] body.single-bd_tool .bd-tool .calc-box{animation:none;transition:none}

.bd-translate { position: relative; display: inline-flex; align-items: center; flex-shrink: 0; }
.bd-translate__btn {
    display: inline-flex; align-items: center; gap: 0.45em;
    padding: 0.38em 0.95em;
    font: inherit; font-weight: 600; line-height: 1.2; font-size: 0.85rem;
    color: var(--gold-deep);
    background: var(--paper);
    border: 1px solid var(--gold-line, #96794A);
    border-radius: var(--radius-pill);
    cursor: pointer;
    transition: background 0.15s var(--ease), border-color 0.15s var(--ease);
}
.bd-translate__btn:hover { background: #fff; border-color: var(--gold-deep); }
.bd-translate__btn:focus-visible { outline: 2px solid var(--gold-deep); outline-offset: 2px; }
.bd-translate__btn svg { width: 14px; height: 14px; color: var(--gold-deep); }

.bd-translate__menu {
    position: absolute; top: calc(100% + 0.55rem); right: 0; z-index: 99990;
    min-width: 220px; max-width: min(280px, 86vw);
    padding: 0.65rem 0.75rem;
    background: var(--paper);
    border: 1px solid var(--line-dark);
    border-radius: 8px;
    box-shadow: 0 18px 45px rgba(48, 53, 50, 0.18);
}
.bd-translate__note {
    margin: 0 0 0.5rem; padding: 0 0.25rem 0.5rem;
    font-size: 0.72rem; line-height: 1.4; color: var(--muted);
    border-bottom: 1px solid var(--line);
}
.bd-translate__langs { list-style: none; margin: 0; padding: 0; }
.bd-translate__langs button {
    display: block; width: 100%;
    padding: 0.42rem 0.55rem;
    font: inherit; font-size: 0.85rem; text-align: left;
    color: var(--ink); background: none; border: 0; border-radius: 8px;
    cursor: pointer;
}
.bd-translate__langs button:hover { background: var(--gold-faint); color: var(--gold-deep); }
.bd-translate__langs button:focus-visible { outline: 2px solid var(--gold-deep); outline-offset: -2px; }

@media (max-width: 680px) {
    .bd-translate__btn { padding: 0.34em 0.75em; font-size: 0.76rem; }
    .bd-translate__btn svg { width: 12px; height: 12px; }
    .bd-translate__menu { right: 0; left: auto; }
    .site-header__inner { gap: var(--space-2); }
}

.goog-te-banner-frame.skiptranslate { display: none !important; }
body { top: 0 !important; }
#bd_google_translate_element { display: none; }

.site-navigation { display: flex; align-items: center; gap: 0.85rem; }
.bd-translate { margin-right: 0.15rem; }

.bd-translate__heading {
    margin: 0.6rem 0.25rem 0.35rem;
    font-size: 0.68rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
    color: var(--muted);
}
.bd-translate__heading:first-of-type { margin-top: 0; }
.bd-translate__langs--all { max-height: 300px; overflow-y: auto; overscroll-behavior: contain; }
.bd-translate__langs--all::-webkit-scrollbar { width: 6px; }
.bd-translate__langs--all::-webkit-scrollbar-thumb { background: var(--line-dark); border-radius: 5px; }
.bd-translate__menu { min-width: 250px; }

.bd-translate__langs--scroll { max-height: 320px; overflow-y: auto; overscroll-behavior: contain; }
.bd-translate__langs--scroll::-webkit-scrollbar { width: 6px; }
.bd-translate__langs--scroll::-webkit-scrollbar-thumb { background: var(--line-dark); border-radius: 5px; }

.hero {
    border-bottom: 0;
    background:
        radial-gradient(130% 108% at 76% 42%, rgba(201,171,105,0.17) 0%, rgba(201,171,105,0.075) 36%, rgba(201,171,105,0.00) 66%),
        linear-gradient(180deg, var(--warm-ivory) 0%, var(--paper) 58%);
}
@media (max-width: 860px) {
}

.bd-translate__search { margin: 0 0 0.5rem; }
.bd-translate__input {
    width: 100%;
    padding: 0.45rem 0.6rem;
    font-family: var(--font-sans);
    font-size: 0.86rem;
    line-height: 1.3;
    color: var(--ink);
    background: #fff;
    border: 1px solid var(--line-dark);
    border-radius: 8px;
    -webkit-appearance: none;
    appearance: none;
}
.bd-translate__input::placeholder { color: #8a8478; }
.bd-translate__input:focus-visible {
    outline: 2px solid var(--gold-deep);
    outline-offset: 1px;
    border-color: var(--gold-deep);
}
.bd-translate__langs li.is-hidden { display: none; }
.bd-translate__empty {
    padding: 0.55rem 0.2rem;
    font-size: 0.82rem;
    color: #6b6559;
}

:root {

    --paper:#FFFFFF !important; --ivory:#FFFFFF !important; --warm-ivory:#FFFFFF !important;
    --cream:#F5F8F6 !important; --champagne:#D8E8E1 !important;
    --gold:#0E7A56 !important; --gold-deep:#0A5C42 !important; --gold-soft:#9CCBB8 !important; --gold-faint:#E8F4EF !important; --gold-line:#4E9B7E !important;
    --charcoal:#12161A !important; --ink:#12161A !important; --body: #12161A !important; --muted:#454D48 !important;
    --line:#E2E8E5 !important; --line-dark:#CBD8D2 !important;
    --accent:#145A43 !important; --accent-dark:#104532 !important;
    --emerald-light:#58A889 !important; --emerald-bright:#23845F !important; --emerald:#145A43 !important;
    --emerald-deep:#104532 !important; --emerald-shadow:#082D23 !important;
    --pastel-blue:#DCEAF2 !important; --light-yellow:#F8F1C9 !important;
    --ok:#2e6b3f !important; --error:#9c2b2b !important;

    --white:#ffffff !important; --text-muted:#454D48 !important;
    --border-gold:#E5E1D5 !important; --border-soft:#E5E1D5 !important;
    --champagne-light:var(--paper) !important; --warm-yellow:#EAF0EC !important; --gold-bright:#145A43 !important;
    --charcoal-soft:#12161A !important; --navy:#12161A !important; --bright:#EAF0EC !important; --border:#E5E1D5 !important;
}
html[data-bd-theme="dark"] {
    --paper:#14171A !important; --ivory:#191D20 !important; --warm-ivory:#191D20 !important;
    --cream:#1E2327 !important; --champagne:#232A2E !important;
    --gold:#3FA57E !important; --gold-deep:#6FD3AC !important; --gold-soft:var(--emerald-light) !important; --gold-faint:#1B2A25 !important; --gold-line:var(--emerald-light) !important;
    --charcoal:#EDF1EF !important; --ink:#EDF1EF !important; --body:#DCE3DF !important; --muted:#A9B4AE !important;
    --line:#2C3438 !important; --line-dark:#39434A !important;
    --accent:#3FA57E !important; --accent-dark:#6FD3AC !important;
    --emerald-light:#7FD8B4 !important; --emerald-bright:#3FA57E !important; --emerald:#3FA57E !important;
    --emerald-deep:#6FD3AC !important; --emerald-shadow:#0A1F18 !important;
    --pastel-blue:#1B2A33 !important; --light-yellow:#2A2A1E !important;
    --ok:#6FCF97 !important; --error:#F08A8A !important;
    --white:#14171A !important; --text-muted:#A9B4AE !important;
    --border-gold:#3A4A43 !important; --border-soft:#2C3438 !important;
    --champagne-light:#1B2320 !important; --warm-yellow:#1B2A25 !important; --gold-bright:#3FA57E !important;
    --charcoal-soft:#DCE3DF !important; --navy:#EDF1EF !important; --bright:#1B2A25 !important; --border:#2C3438 !important;
}

.btn-primary, .chip.active, .flow-node.start, .flow-node.end,
.entry-content .btn-primary, .bd-tool .btn-primary { color:#fff !important; }
html[data-bd-theme="dark"] .btn-primary, html[data-bd-theme="dark"] .chip.active,
html[data-bd-theme="dark"] .flow-node.start, html[data-bd-theme="dark"] .flow-node.end,
html[data-bd-theme="dark"] .entry-content .btn-primary,
html[data-bd-theme="dark"] .bd-tool .btn-primary { background:var(--accent) !important; color:var(--emerald-shadow) !important; }
.btn-secondary, .entry-content .btn-secondary, .bd-tool .btn-secondary {
    background:transparent !important; color:var(--accent-dark) !important; border-color:var(--accent) !important;
}

html[data-bd-theme="dark"] .entry-content, html[data-bd-theme="dark"] .bd-tool,
html[data-bd-theme="dark"] .bd-kc-article { color-scheme:dark; }
html[data-bd-theme="dark"] .entry-content table, html[data-bd-theme="dark"] .bd-tool table { background:#1B2320 !important; }
html[data-bd-theme="dark"] .entry-content th, html[data-bd-theme="dark"] .bd-tool th { background:#232A2E !important; color:var(--ink) !important; }
html[data-bd-theme="dark"] .entry-content td, html[data-bd-theme="dark"] .entry-content th,
html[data-bd-theme="dark"] .bd-tool td, html[data-bd-theme="dark"] .bd-tool th { border-color:#2C3438 !important; }

html[data-bd-theme="dark"] #orera-root .linkbtn,
html[data-bd-theme="dark"] #orera-root .pname { color:var(--emerald-light) !important; }
html[data-bd-theme="dark"] #orera-root .linkbtn { border-bottom-color:var(--emerald-light) !important; }
html[data-bd-theme="dark"] .entry-content [style*="#fef2f2"], html[data-bd-theme="dark"] .entry-content [style*="#dcfce7"],
html[data-bd-theme="dark"] .entry-content [style*="#fef3c7"], html[data-bd-theme="dark"] .entry-content [style*="#dbeafe"],
html[data-bd-theme="dark"] .entry-content [style*="#f1f5f9"], html[data-bd-theme="dark"] .entry-content [style*="#faf3e0"],
html[data-bd-theme="dark"] .entry-content [style*="#f4faee"], html[data-bd-theme="dark"] .entry-content [style*="#fdf2f0"],
html[data-bd-theme="dark"] .entry-content [style*="#fff8e7"], html[data-bd-theme="dark"] .entry-content [style*="#fff7da"],
html[data-bd-theme="dark"] .entry-content [style*="var(--paper)"], html[data-bd-theme="dark"] .entry-content [style*="#f6efdd"],
html[data-bd-theme="dark"] .bd-tool [style*="#fef2f2"], html[data-bd-theme="dark"] .bd-tool [style*="#dcfce7"],
html[data-bd-theme="dark"] .bd-tool [style*="#fef3c7"], html[data-bd-theme="dark"] .bd-tool [style*="#dbeafe"],
html[data-bd-theme="dark"] .bd-tool [style*="#f4faee"], html[data-bd-theme="dark"] .bd-tool [style*="var(--paper)"] {
    background:var(--cream) !important;
}
html[data-bd-theme="dark"] .entry-content [style*="background:#ffffff"], html[data-bd-theme="dark"] .entry-content [style*="background: #ffffff"],
html[data-bd-theme="dark"] .entry-content [style*="background:#fff"], html[data-bd-theme="dark"] .entry-content [style*="background: #fff"],
html[data-bd-theme="dark"] .bd-tool [style*="background:#ffffff"], html[data-bd-theme="dark"] .bd-tool [style*="background:#fff"] {
    background:#1B2320 !important;
}

html[data-bd-theme="dark"] .entry-content [style*="color:#2b2620"], html[data-bd-theme="dark"] .entry-content [style*="color:#2a2420"],
html[data-bd-theme="dark"] .entry-content [style*="color:#26313f"], html[data-bd-theme="dark"] .entry-content [style*="color:#1a232f"],
html[data-bd-theme="dark"] .entry-content [style*="color:#333"], html[data-bd-theme="dark"] .entry-content [style*="color: #333"],
html[data-bd-theme="dark"] .bd-tool [style*="color:#2b2620"], html[data-bd-theme="dark"] .bd-tool [style*="color:#26313f"] {
    color:var(--ink) !important;
}

html[data-bd-theme="dark"] body{background:var(--paper) !important;color:var(--body) !important}
html[data-bd-theme="dark"] #law-index-table .law-group-header td{background:var(--gold-deep) !important}
html[data-bd-theme="dark"] #law-index-table tbody tr:nth-child(even){background:var(--gold-deep) !important}
html[data-bd-theme="dark"] #law-index-table tbody tr:nth-child(even) td:first-child{background:var(--gold-deep) !important}
html[data-bd-theme="dark"] #law-index-table tbody tr:nth-child(even) td:nth-child(2){background:var(--gold-deep) !important}
html[data-bd-theme="dark"] #law-index-table td:nth-child(2){background:var(--charcoal) !important}
html[data-bd-theme="dark"] #law-index-table th:first-child{background:var(--gold-deep) !important}

html[data-bd-theme="dark"] #law-index-table th:first-child,
html[data-bd-theme="dark"] #law-index-table td:first-child{background:var(--charcoal) !important}
html[data-bd-theme="dark"] #law-index-table th:nth-child(2){background:var(--gold-deep) !important}

html[data-bd-theme="dark"] #law-index-table td,
html[data-bd-theme="dark"] #law-index-table th{color:#f2ead6 !important}
html[data-bd-theme="dark"] .callout-advocate{background:#152337 !important}
html[data-bd-theme="dark"] .callout-buyer{background:#153615 !important}
html[data-bd-theme="dark"] .callout-draft{background:#261537 !important}
html[data-bd-theme="dark"] .callout-historical{background:var(--gold-deep) !important}
html[data-bd-theme="dark"] .callout-legal{background:#152337 !important}
html[data-bd-theme="dark"] .callout-mistake{background:#371515 !important}
html[data-bd-theme="dark"] .callout-practical{background:#153615 !important}
html[data-bd-theme="dark"] .callout-professional{background:#372915 !important}
html[data-bd-theme="dark"] .callout-redflag{background:#371515 !important}
html[data-bd-theme="dark"] .callout-warning{background:#372815 !important}
html[data-bd-theme="dark"] .danger{background:#371a15 !important}
html[data-bd-theme="dark"] .dd-cond-flag{background:#372f15 !important}
html[data-bd-theme="dark"] .dd-item.cond .dd-na-btn{background:#372f15 !important}
html[data-bd-theme="dark"] .dd-na-btn.active{background:#312a1a !important}
html[data-bd-theme="dark"] .fab-label{background:var(--charcoal) !important}
html[data-bd-theme="dark"] .form-chk-done{background:#263715 !important}
html[data-bd-theme="dark"] .layer-legal{background:#152637 !important}
html[data-bd-theme="dark"] .layer-practical{background:#372f15 !important}
html[data-bd-theme="dark"] .layer-professional{background:#2d271e !important}
html[data-bd-theme="dark"] .layer-redflags{background:#371515 !important}
html[data-bd-theme="dark"] .layer-simple{background:#153722 !important}
html[data-bd-theme="dark"] .matrix-depends{background:#162635 !important}
html[data-bd-theme="dark"] .matrix-no{background:#371515 !important}
html[data-bd-theme="dark"] .matrix-permit{background:#152337 !important}
html[data-bd-theme="dark"] .matrix-restricted{background:#373015 !important}
html[data-bd-theme="dark"] .matrix-table tbody tr:nth-child(even) td:first-child{background:#372a15 !important}
html[data-bd-theme="dark"] .matrix-yes{background:#153720 !important}
html[data-bd-theme="dark"] .risk-critical{background:#371515 !important}
html[data-bd-theme="dark"] .risk-high{background:#372715 !important}
html[data-bd-theme="dark"] .risk-low{background:#153720 !important}
html[data-bd-theme="dark"] .risk-moderate{background:#373015 !important}
html[data-bd-theme="dark"] .risk-unknown{background:#162635 !important}
html[data-bd-theme="dark"] .status-C{background:#153720 !important}
html[data-bd-theme="dark"] .status-CONST{background:#152337 !important}
html[data-bd-theme="dark"] .status-D{background:#251537 !important}
html[data-bd-theme="dark"] .status-DOC{background:#282824 !important}
html[data-bd-theme="dark"] .status-H{background:#373015 !important}
html[data-bd-theme="dark"] .status-J{background:#371528 !important}
html[data-bd-theme="dark"] .status-M{background:#162635 !important}
html[data-bd-theme="dark"] .status-N{background:#372815 !important}
html[data-bd-theme="dark"] .status-P{background:#15371f !important}
html[data-bd-theme="dark"] .status-PORTAL{background:#152937 !important}
html[data-bd-theme="dark"] .status-R{background:#152337 !important}
html[data-bd-theme="dark"] .status-S{background:#152337 !important}
html[data-bd-theme="dark"] .tip{background:#263715 !important}
html[data-bd-theme="dark"] .verify-box{background:#352b17 !important}
html[data-bd-theme="dark"]   .warn{background:#372d15 !important}
html[data-bd-theme="dark"] .danger b{color:#eaa099 !important}
html[data-bd-theme="dark"] .dd-na-btn.active{color:#d3c9b0 !important}
html[data-bd-theme="dark"] .fab-label{color:#c1c1c1 !important}
html[data-bd-theme="dark"] .form-chk-done b{color:#c9e49f !important}
html[data-bd-theme="dark"] .layer-legal .layer-title{color:#96abec !important}
html[data-bd-theme="dark"] .layer-practical .layer-title{color:var(--gold-soft) !important}
html[data-bd-theme="dark"] .layer-professional .layer-title{color:#bebec5 !important}
html[data-bd-theme="dark"] .layer-redflags .layer-title{color:#ec9696 !important}
html[data-bd-theme="dark"] .layer-simple .layer-title{color:#9ae9b8 !important}
html[data-bd-theme="dark"] .matrix-no{color:#ec9696 !important}
html[data-bd-theme="dark"] .matrix-permit{color:#96abec !important}
html[data-bd-theme="dark"] .matrix-restricted{color:var(--gold-soft) !important}
html[data-bd-theme="dark"] .matrix-yes{color:#9ae9b8 !important}
html[data-bd-theme="dark"] .risk-critical{color:#ec9696 !important}
html[data-bd-theme="dark"] .risk-high{color:#ecac96 !important}
html[data-bd-theme="dark"] .risk-low{color:#9ae9b8 !important}
html[data-bd-theme="dark"] .risk-moderate{color:var(--gold-soft) !important}
html[data-bd-theme="dark"] .status-C{color:#9ae9b8 !important}
html[data-bd-theme="dark"] .status-CONST{color:#a1bde1 !important}
html[data-bd-theme="dark"] .status-D{color:#c598ea !important}
html[data-bd-theme="dark"] .status-DOC{color:#c5c2be !important}
html[data-bd-theme="dark"] .status-H{color:var(--gold-soft) !important}
html[data-bd-theme="dark"] .status-J{color:#ec96ae !important}
html[data-bd-theme="dark"] .status-M{color:#b5bfcd !important}
html[data-bd-theme="dark"] .status-N{color:#ecac96 !important}
html[data-bd-theme="dark"] .status-P{color:#9ae9b8 !important}
html[data-bd-theme="dark"] .status-PORTAL{color:#96ceec !important}
html[data-bd-theme="dark"] .status-R{color:#96abec !important}
html[data-bd-theme="dark"] .status-S{color:#96abec !important}
html[data-bd-theme="dark"] .tip b{color:#c9e49f !important}
html[data-bd-theme="dark"] a[href]:after{color:#c1c1c1 !important}

html[data-bd-theme="dark"] .entry-content table,
html[data-bd-theme="dark"] .bd-tool table { background:#1B2320 !important; }
html[data-bd-theme="dark"] .entry-content table tr,
html[data-bd-theme="dark"] .bd-tool table tr { background:#1B2320 !important; }
html[data-bd-theme="dark"] .entry-content table td,
html[data-bd-theme="dark"] .entry-content table th,
html[data-bd-theme="dark"] .bd-tool table td,
html[data-bd-theme="dark"] .bd-tool table th {
    background:#1B2320 !important; color:var(--ink) !important;
}

html[data-bd-theme="dark"] .entry-content table tr:nth-child(even) td,
html[data-bd-theme="dark"] .entry-content table tr:nth-child(even) th,
html[data-bd-theme="dark"] .bd-tool table tr:nth-child(even) td,
html[data-bd-theme="dark"] .bd-tool table tr:nth-child(even) th { background:#222C27 !important; }
html[data-bd-theme="dark"] .entry-content table thead th,
html[data-bd-theme="dark"] .bd-tool table thead th { background:#232A2E !important; color:var(--ink) !important; }

html[data-bd-theme="dark"] .entry-content table td > span,
html[data-bd-theme="dark"] .entry-content table td > a,
html[data-bd-theme="dark"] .bd-tool table td > span,
html[data-bd-theme="dark"] .bd-tool table td > a { color:inherit; }

html[data-bd-theme="dark"] [data-bd-fix="bg"] { background-color:var(--cream) !important; }
html[data-bd-theme="dark"] [data-bd-fix="bgi"] { background-image:none !important; background-color:var(--cream) !important; }
html[data-bd-theme="dark"] [data-bd-fix="fg"] { color:#E4EAE6 !important; }
html[data-bd-theme="dark"] [data-bd-fix="fg-light"] { color:#E4EAE6 !important; }
html[data-bd-theme="dark"] [data-bd-fix="fg-dark"] { color:#12161A !important; }
html[data-bd-theme="dark"] [data-bd-fix="both"] { background-color:var(--cream) !important; color:#E4EAE6 !important; }

.kc-banner {
    display: grid;

    grid-template-columns: minmax(0, 1fr) 40%;
    column-gap: 5%;
    align-items: stretch;

    min-height: clamp(300px, 25.5vw, 400px);
    background: linear-gradient(120deg, var(--warm-ivory) 0%, var(--ivory) 100%);
    border-bottom: 1px solid var(--champagne);
    box-shadow: inset 0 -4px 0 var(--gold-soft);
    overflow: hidden;
}
.kc-banner__photo {

    background-image: url("assets/img/kc-banner-portrait.webp");

    background-size: cover;
    background-repeat: no-repeat;
    background-position: 50% 0;
    min-height: clamp(240px, 24vw, 360px);
}
.kc-banner__body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-block: clamp(1.6rem, 3.4vw, 2.8rem);
    padding-left: clamp(1.25rem, 3vw, 2.75rem);
    padding-right: 0;
    min-width: 0;
}
.kc-banner__body h1 {
    color: var(--charcoal);
    font-size: clamp(1.7rem, 1.2rem + 1.9vw, 2.9rem);
    line-height: 1.16;
    letter-spacing: -0.01em;
    margin: 0 0 0.35em;
    text-wrap: balance;
}
.kc-banner__body .hero__eyebrow { margin: 0 0 0.7rem; font-size: var(--fs-sm); letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.kc-banner__body .hero__eyebrow a { color: inherit; text-decoration: none; }
.kc-banner__body .hero__eyebrow a:hover { color: var(--gold-deep); }
.kc-banner__body .breadcrumbs { margin: 0 0 0.6rem; }
.kc-banner__body .entry-meta { margin-top: 0.2rem; }

@media (max-width: 860px) {
    .kc-banner { grid-template-columns: 1fr; }

    .page-banner { grid-template-columns: 1fr; }
    .page-banner > .container { order: -1; padding-right: clamp(1.25rem, 3vw, 2.75rem); }
    .page-banner::after { min-height: 210px; }
    .kc-banner__photo { min-height: 210px; background-position: 50% 0; }
    .kc-banner__body { order: -1; padding-right: clamp(1.25rem, 3vw, 2.75rem); }
}

@media (max-width: 1020px) {
    .primary-menu .menu-item-has-children > .sub-menu {
        position: static !important;
        left: auto !important;
        top: auto !important;
        transform: none !important;
        min-width: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
        opacity: 1 !important;
        visibility: visible !important;
        overflow: visible !important;
        max-height: none !important;
        flex-basis: auto !important;
        box-shadow: none !important;
        border: 0 !important;
        border-left: 2px solid var(--gold-soft) !important;
        border-radius: 0 !important;
        padding: 0 0 0 1rem !important;
        margin: 0.2em 0 0.4em !important;
        display: none;
    }
    .primary-menu .menu-item-has-children.is-open > .sub-menu { display: block !important; }
    .primary-menu .sub-menu li { display: block !important; width: 100% !important; }
    .primary-menu .sub-menu a {
        display: block !important;
        width: 100% !important;
        white-space: normal !important;
        overflow-wrap: break-word !important;
    }
}

.careers .page-banner__lede,
.careers-apply .page-banner__lede { max-width: 60ch; }

.career-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-4);
    margin: var(--space-5) 0;
}

.career-card {
    display: flex;
    flex-direction: column;
    background: var(--paper);
    border: 1px solid var(--line);
    border-top: 3px solid var(--gold);
    border-radius: var(--radius);
    padding: var(--space-4);
    box-shadow: var(--shadow);
}

.career-card__title {
    margin: 0 0 0.25rem;
    font-size: 1.22rem;
    line-height: 1.25;
}

.career-card__strap {
    margin: 0 0 0.85rem;
    font-size: var(--fs-sm);
    color: var(--gold-deep);
    font-weight: 600;
    letter-spacing: 0.01em;
}

.career-card__summary {
    margin: 0 0 1rem;
    color: var(--body);
}

.career-card__meta,
.career-meta {
    font-size: var(--fs-sm);
    color: var(--muted);
    margin: 0 0 1.1rem;
}

.career-card__label {
    text-transform: uppercase;
    letter-spacing: 0.13em;
    font-size: var(--fs-xs);
    color: var(--gold-deep);
    font-weight: 700;
    margin-right: 0.4em;
}

.career-card__cta { margin: auto 0 0; }
.career-card__cta .btn { display: block; width: 100%; text-align: center; }
.bd-file-list { display: flex; flex-direction: column; gap: 0.5rem; }
.bd-add-file { margin-top: 0.6rem; }
.field__note { font-size: var(--fs-xs); font-weight: 600; color: var(--accent); margin: 0.35em 0 0; }
.field__count { font-size: var(--fs-xs); color: var(--muted); margin: 0.35em 0 0; }
.field__count.is-met { color: var(--ok); }
.careers h2, .careers-apply h2 { font-weight: 700; }
.career-role { margin-top: 0; text-align: center; }
.entry-content .career-role__strap { color: var(--muted); margin: 0 0 var(--space-3); text-align: center; }

.career-list { margin: 0 0 var(--space-4); padding-left: 1.15rem; }
.career-list li { margin: 0 0 0.5rem; }

.apply-intro p { margin-top: 0; }

.careers-apply .callout { margin: var(--space-4) 0; }

.careers-apply form {
    background: var(--warm-ivory);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: var(--space-4);
    margin: var(--space-4) 0 var(--space-3);
}

.careers-apply .field__check {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    font-size: var(--fs-sm);
    line-height: 1.6;
}

.careers-apply .field__check input { margin-top: 0.3rem; flex: none; }

.careers-apply .required { color: #b3261e; font-weight: 700; }

.careers-apply .form-status {
    border-radius: var(--radius);
    padding: var(--space-3);
    margin: var(--space-3) 0;
    border: 1px solid var(--line);
    font-size: var(--fs-sm);
}

.careers-apply .form-status--ok { background: #f0f7ee; border-color: #bfd8b5; }
.careers-apply .form-status--err { background: #fdf3f2; border-color: #e5bcb8; }

.career-back { margin-top: var(--space-4); font-size: var(--fs-sm); }

@media (max-width: 680px) {
    .career-grid { grid-template-columns: 1fr; }
    .careers-apply form { padding: var(--space-3); }
}

.team-grid,
.kc-home,
.reviews-wrap,
.partner-strip {
    content-visibility: auto;
    contain-intrinsic-size: auto 600px;
}
.team-grid { contain-intrinsic-size: auto 1200px; }

html body {
    background: #FFFFFF;
    color: var(--body);
    font-size: var(--fs-base);
    line-height: 1.75;
}
.site-header { padding: 0; text-align: left; }

.site-header-stack,
.site-footer,
.float-rail,
.bd-toc {
    --paper: #FAFAF7;
    --ivory: #F3EFE3;
    --gold: #145A43;
    --gold-deep: #104532;
    --gold-soft: #C2A56B;
    --gold-faint: #EAF0EC;
    --charcoal: #12161A;
    --ink: #12161A;
    --body: #12161A;
    --muted: #454D48;
    --line: #E5E1D5;
    --line-dark: #D9D4C4;
    --accent: #145A43;
    --radius: 5px;
    --font-serif: "Cormorant Garamond", "EB Garamond", Georgia, "Times New Roman", serif;
    --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}

.site-navigation,
.breadcrumbs,
.bd-toc,
.entry-content nav {
    position: static;
    top: auto;
}
.site-navigation,
.breadcrumbs {
    background: none;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    border-bottom: 0;
}
.site-navigation a,
.breadcrumbs a {
    padding: 0;
    border-radius: 0;
}

.container > .related {
    width: 100%;
    max-width: none;
    flex: 1 0 100%;
    grid-column: 1 / -1;
}
.related { display: block; }
.related .grid { display: grid; gap: var(--space-3); }
.related .grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.related .card { min-width: 0; max-width: none; }
@media (max-width: 1024px) { .related .grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 680px)  { .related .grid--3 { grid-template-columns: 1fr; } }

body .container { width: 100%; max-width: var(--container); }
.article--embedded { max-width: none; }
.bd-toc, .bd-toc ol { width: 100%; max-width: none; }

.bd-toc a,
.bd-toc li {
    white-space: normal;
    overflow-wrap: break-word;
}
.bd-toc a {
    padding: 0;
    border-radius: 0;
    font-weight: inherit;
}
.float-rail a {
    padding: 0;
    white-space: normal;
}

html[data-bd-theme="dark"] .site-header-stack,
html[data-bd-theme="dark"] .site-footer,
html[data-bd-theme="dark"] .float-rail,
html[data-bd-theme="dark"] .bd-toc {
    --paper:#14171A; --ivory:#191D20; --warm-ivory:#191D20;
    --cream:#1E2327; --champagne:#232A2E;
    --gold:#3FA57E; --gold-deep:#6FD3AC; --gold-soft:var(--emerald-light); --gold-faint:#1B2A25;
    --charcoal:#EDF1EF; --ink:#EDF1EF; --body:#DCE3DF; --muted:#A9B4AE;
    --line:#2C3438; --line-dark:#39434A;
    --accent:#3FA57E; --accent-dark:#6FD3AC;
    --emerald-light:#7FD8B4; --emerald-bright:#3FA57E; --emerald:#3FA57E;
    --emerald-deep:#6FD3AC; --emerald-shadow:#0A1F18;
    --pastel-blue:#1B2A33; --light-yellow:#2A2A1E;
    --ok:#6FCF97; --error:#F08A8A;
    --white:#14171A; --text-muted:#A9B4AE;
    --border-gold:#3A4A43; --border-soft:#2C3438;
    --champagne-light:#1B2320; --warm-yellow:#1B2A25; --gold-bright:#3FA57E;
    --charcoal-soft:#DCE3DF; --navy:#EDF1EF; --bright:#1B2A25; --border:#2C3438;
}

html[data-bd-theme="dark"] .btn--primary,
html[data-bd-theme="dark"] .btn--gold {
    background: var(--accent) !important;
    background-image: none !important;
    color: var(--emerald-shadow) !important;
    border-color: var(--accent) !important;
}
html[data-bd-theme="dark"] .btn--outline {
    background: transparent !important;
    color: var(--gold-deep) !important;
    border-color: var(--gold-soft) !important;
}

html[data-bd-theme="dark"] .pagination .page-numbers.current {
    background: var(--accent) !important;
    border-color: var(--accent) !important;
    color: var(--emerald-shadow) !important;
}

html[data-bd-theme="dark"] .btn--ghost-light {
    color: #F3EFE3 !important;
    border-color: rgba(250, 248, 242, 0.55) !important;
    background: transparent !important;
}
html[data-bd-theme="dark"] .btn--ghost-light:hover {
    color: var(--gold-soft) !important;
    border-color: var(--gold-soft) !important;
}

html[data-bd-theme="dark"] input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not([type="button"]):not([type="reset"]),
html[data-bd-theme="dark"] textarea,
html[data-bd-theme="dark"] select {
    background-color: var(--paper) !important;
    color: var(--ink) !important;
    border-color: var(--line-dark) !important;
}

html[data-bd-theme="dark"] .article--embedded nav {
    background: var(--paper) !important;
    border-bottom-color: var(--line) !important;
    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;
}
html[data-bd-theme="dark"] .article--embedded nav a {
    color: var(--body) !important;
}
html[data-bd-theme="dark"] .article--embedded nav a:hover {
    background: var(--ivory) !important;
    color: var(--gold-deep) !important;
}
html[data-bd-theme="dark"] .article--embedded .btn.dark,
html[data-bd-theme="dark"] .article--embedded .btn.gold {
    background: var(--accent) !important;
    background-image: none !important;
    color: var(--emerald-shadow) !important;
    border-color: var(--accent) !important;
}

.float-rail {
    background: none;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    border: 0;
}
.btn.btn--primary,
.btn.btn--gold {
    background: linear-gradient(180deg, var(--emerald-bright) 0%, var(--emerald) 52%, var(--emerald-deep) 100%);
    color: #FAFAF7;
}
.btn.btn--primary:hover,
.btn.btn--gold:hover {
    background: linear-gradient(180deg, var(--emerald-bright) 0%, var(--emerald) 52%, var(--emerald-deep) 100%);
    color: #FAFAF7;
}
.btn.btn--outline { border-color: var(--gold); color: var(--gold-deep); background: transparent; }
.btn.btn--outline:hover { background: var(--gold); color: #fff; }
.btn.btn--ghost-light { border-color: rgba(250, 248, 242, 0.55); color: var(--ivory); background: transparent; }
.btn.btn--ghost-light:hover { border-color: var(--gold-soft); color: var(--gold-soft); }

html[data-bd-theme="dark"] .entry-content [style*="color:#4a4038"],
html[data-bd-theme="dark"] .entry-content [style*="color: #4a4038"],
html[data-bd-theme="dark"] .entry-content [style*="color:#6b5d50"],
html[data-bd-theme="dark"] .entry-content [style*="color: #6b5d50"],
html[data-bd-theme="dark"] .bd-tool [style*="color:#4a4038"],
html[data-bd-theme="dark"] .bd-tool [style*="color: #4a4038"],
html[data-bd-theme="dark"] .bd-tool [style*="color:#6b5d50"],
html[data-bd-theme="dark"] .bd-tool [style*="color: #6b5d50"] {
    color: var(--ink) !important;
}

.phone-row { display: flex; gap: 0.5rem; align-items: stretch; flex-wrap: wrap; }
.phone-row select { flex: 0 0 auto; width: auto; min-width: 8.5rem; max-width: 13rem; }
.phone-row input[type="tel"] { flex: 1 1 11rem; min-width: 0; }
.field .required { color: var(--error); margin-left: 0.15em; }

.bd-translate__btn.bd-icononly,
.bd-a11y__btn-main.bd-icononly {
    width: 2.15rem; height: 2.15rem; padding: 0; gap: 0; justify-content: center;
}
.bd-translate__btn.bd-icononly .bd-ui-icon,
.bd-a11y__btn-main.bd-icononly .bd-ui-icon { width: 18px; height: 18px; display: block; }

.hero__inner {
    display: grid;
    gap: clamp(1.5rem, 4vw, 3.5rem);
    align-items: start;
    padding-block: clamp(3rem, 7vw, 5.5rem);
}
.hero .hero__copy { text-align: left; }
.hero h1 { max-width: none; margin-inline: 0; text-align: left; }
.hero .hero__tagline { text-align: left; }
.hero__lede {
    font-size: 1.26rem;
    line-height: 1.7;
    color: var(--body);
    max-width: 34rem;
    margin-inline: 0;
    margin-bottom: var(--space-4);
    text-align: left;
    text-justify: inter-word;
    hyphens: auto;
    -webkit-hyphens: auto;
}
.hero .hero__actions { justify-content: flex-start; }

.hero .hero__photo {
    position: relative;
    order: 0;
    align-self: center;
    margin: 0;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    overflow: visible;
    aspect-ratio: auto;
    transform: none;
}
.hero .hero__photo img {
    position: relative;
    z-index: 1;
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
    border-radius: 0;
    box-shadow: none;
    filter: drop-shadow(0 18px 26px rgba(58, 48, 34, 0.10));
}

.hero .hero__photo::before {
    content: "";
    display: block;
    position: absolute;
    inset: -5% -13% -3% -13%;
    border: 0;
    border-radius: 50%;
    background: radial-gradient(closest-side, rgba(214, 186, 126, 0.36) 0%, rgba(214, 186, 126, 0.15) 50%, rgba(214, 186, 126, 0.00) 78%);
}

.hero .hero__photo::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 1.5%;
    width: 58%;
    height: 30px;
    transform: translateX(-50%);
    background: radial-gradient(closest-side, rgba(58, 48, 34, 0.30) 0%, rgba(58, 48, 34, 0.12) 58%, rgba(58, 48, 34, 0.00) 80%);
    filter: blur(6px);
}

@media (min-width: 861px) {
    .hero__inner { grid-template-columns: minmax(0, 55fr) minmax(0, 45fr); }
    .hero .hero__copy { margin-top: clamp(0.25rem, 1.5vh, 1rem); }
    .hero .hero__photo {
        width: min(100%, 460px);
        margin-left: auto;
        margin-right: 0;
        transform: translateX(5%);
    }
}

@media (max-width: 860px) {

    .hero__inner {
        display: flex;
        flex-direction: column;
        gap: 0.75rem;
        min-height: calc(100vh - 100px);
        min-height: calc(100svh - 100px);
        padding-block: 0.9rem 1.25rem;
    }
    .hero__copy { flex: 0 0 auto; }

    .hero h1 { font-size: clamp(1.5rem, 6.4vw, 1.95rem); line-height: 1.1; }
    .hero__tagline { font-size: 0.66rem; letter-spacing: 0.13em; margin-bottom: 0.55rem; }
    .hero__lede {
        font-size: 0.98rem;
        line-height: 1.5;
        max-width: none;
        margin-bottom: 0.8rem;
    }
    .hero__actions { gap: 0.45rem; }
    .hero__actions .btn { padding: 0.58rem 0.85rem; font-size: 0.76rem; }

    /* v4.9.346 - THE PORTRAIT CAN NO LONGER SIT ON THE TEXT.
     *
     * The owner's iPhone showed the cut-out photograph lying across the heading
     * and the lede. The cause: the image was sized with `height: 100%`, and when
     * that percentage does not resolve against the flex item the browser falls
     * back to the image's own size - 552px tall at 358px wide. With
     * `align-items: flex-end` the overflow went UPWARDS, out of the photo's box
     * and over the copy above it.
     *
     * Three changes, so the failure cannot recur on any device:
     *   1. the image is sized by WIDTH, never by a percentage height;
     *   2. its height is capped against the viewport, so a tall portrait can
     *      never dominate the screen;
     *   3. the photo box no longer aligns its content to the bottom, which was
     *      the mechanism that pushed the overflow up instead of down.
     *
     * The hero also stops forcing itself to a full screen height on phones. That
     * rule was what made the photo grow to fill the leftover space; without it
     * the section is as tall as its content and the image sits plainly beneath
     * the copy.
     */
    .hero__inner {
        min-height: 0;
        padding-block: 1.1rem 1.5rem;
    }
    .hero .hero__photo {
        order: 0;
        flex: 0 0 auto;
        min-height: 0;
        width: 100%;
        margin: 0;
        transform: none;
        display: block;
        overflow: hidden;
    }
    .hero .hero__photo img {
        width: 100%;
        height: auto;
        max-width: 100%;
        max-height: 46svh;
        object-fit: contain;
        object-position: center bottom;
    }
}

.page-banner__label {
    color: var(--charcoal);
    font-family: var(--font-serif);
    font-size: clamp(1.7rem, 1.2rem + 1.9vw, 2.9rem);
    line-height: 1.16;
    letter-spacing: -0.01em;
    margin: 0;
    text-wrap: balance;
}
.page-banner--photo .page-banner__label { color: #ffffff; text-shadow: 0 2px 14px rgba(15, 18, 24, 0.55); }
.profile__name {
    font-family: var(--font-serif);
    font-size: clamp(1.35rem, 1rem + 1.1vw, 1.9rem);
    line-height: 1.15;
    letter-spacing: -0.01em;
    color: var(--charcoal);
    margin: 0.9rem 0 0.1em;
}
.profile__quals {
    font-size: var(--fs-sm);
    letter-spacing: 0.03em;
    color: var(--gold-deep);
    margin: 0 0 0.35em;
}
.profile__role {
    font-size: var(--fs-xs);
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--muted);
    margin: 0;
}
.profile__about { margin: 0 0 var(--space-4); }
.profile__about p { margin-bottom: 0.8em; }
.profile__about p:last-child { margin-bottom: 0; }
.team-row__bio {
    font-size: var(--fs-sm);
    color: var(--muted);
    line-height: 1.6;
    margin: 0.45em 0 0;
    max-width: 60ch;
}

.profile-page { max-width: 46rem; margin-left: auto; margin-right: auto; }
.profile-page__card { text-align: center; }
.profile-page__photo { width: min(100%, 300px); margin: 0 auto 1.15rem; }
.profile-page__photo img {
    width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
    border-radius: var(--radius);
    background: var(--cream);
}
.profile-page__card .profile__name { margin: 0 0 .45rem; text-align: center; }
.profile-page__card .profile__quals { margin: 0 0 .3rem; text-align: center; }
.profile-page__card .profile__role { margin: 0; text-align: center; }
.profile-page__card .team-card__socials { justify-content: center; margin-top: 1.2rem; }
.profile-page__bio {
    margin-top: var(--space-5);
    padding-top: var(--space-5);
    border-top: 1px solid var(--line-dark);
    text-align: left;
}
.profile-page__bio > p,
.profile-page__bio > .wp-block-paragraph { text-align: left; }
.profile-page__bio > p:last-child { margin-bottom: 0; }

.team-card__quals {
    font-size: var(--fs-sm);
    color: var(--body);
    letter-spacing: 0.02em;
    line-height: 1.5;
    margin: -0.15em 0 0.45em;
}
.team-row__quals {
    font-size: var(--fs-xs);
    color: var(--muted);
    letter-spacing: 0.02em;
    line-height: 1.5;
    margin: 0.15em 0 0.25em;
}

.kc-home__foot { justify-content: center; }
.kc-home__more {
    flex: 0 0 auto;
    align-self: center;
    justify-content: center;
    padding: 0.6em 1.2em;
    font-size: var(--fs-xs);
    letter-spacing: 0.07em;
}

.about-home { grid-template-columns: minmax(0, 1fr); align-items: start; }
.about-home__photo { grid-column: 1 / -1; }
.about-home__photo img { width: 100%; height: auto; }
.about-home__main { grid-column: 1 / -1; }
.about-home__main h2 { max-width: none; }
.about-home__desc { max-width: none; }

.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity .72s cubic-bezier(.22,.61,.36,1), transform .72s cubic-bezier(.22,.61,.36,1);
}
.reveal.is-revealed { opacity: 1; transform: none; }

.reveal[data-stagger] { transition-delay: var(--stagger, 0ms); }

.section-head { position: relative; }
.section-head::after {
    content: ""; position: absolute; left: 0; bottom: -0.9rem;
    width: min(340px, 100%); height: 2px; background: var(--gold-soft);
    transform: scaleX(0); transform-origin: left;
    transition: transform 1.05s cubic-bezier(.65,.05,.36,1) .12s;
}
.section-head.is-revealed::after { transform: scaleX(1); }
.section-head { padding-bottom: 1.2rem; }

.card__icon { transition: transform .38s cubic-bezier(.22,.61,.36,1), color .38s ease; }
.card--practice:hover .card__icon, .card--post:hover .card__icon { transform: translateY(-3px) scale(1.08); color: var(--gold); }

[data-count-to] { font-variant-numeric: tabular-nums; }

.reveal img { transform: scale(1.04); transition: transform 1.5s cubic-bezier(.22,.61,.36,1); }
.reveal.is-revealed img { transform: scale(1); }

.ab-tabs__panel[hidden] { display: none; }

.site-header-stack { transition: box-shadow .35s ease; }
.site-header-stack.is-condensed { box-shadow: 0 10px 26px -20px rgba(0,0,0,.45); }
.site-header { transition: padding .3s ease; }
.site-header-stack.is-condensed .site-header { padding-top: .35rem; padding-bottom: .35rem; }

.text-link { position: relative; }
.text-link::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 1px;
    background: var(--gold-soft); transform: scaleX(1); transform-origin: left;
    transition: transform .34s cubic-bezier(.22,.61,.36,1);
}
.text-link:hover::after { transform: scaleX(0); transform-origin: right; }

.bd-progress {
    position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 940;
    background: linear-gradient(90deg, var(--emerald-bright), var(--emerald-deep));
    transform: scaleX(0); transform-origin: left; will-change: transform;
}

.bd-toc li, .bd-toc a { transition: color .35s ease, padding-left .35s cubic-bezier(.22,.61,.36,1); }
.bd-toc .is-current > a, .bd-toc a.is-current { color: var(--gold-deep); font-weight: 600; }

.bd-tool details, .bd-tool .collapsible, .tool-focus details { }
.bd-tool details > summary { transition: color .3s ease; }
.bd-tool details[open] > summary { color: var(--gold-deep); }
.bd-tool details > *:not(summary) { animation: bdAccordion .42s cubic-bezier(.22,.61,.36,1); }
@keyframes bdAccordion { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

.bd-bar__fill, .calc-box .bar > span { transform: scaleX(0); transform-origin: left;
    transition: transform 1.4s cubic-bezier(.22,.61,.36,1); }
.is-revealed .bd-bar__fill, .calc-box.is-revealed .bar > span { transform: scaleX(1); }

.is-loading { position: relative; overflow: hidden; color: transparent !important; }
.is-loading::after {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(90deg, var(--ivory) 0%, var(--cream) 40%, var(--ivory) 80%);
    background-size: 220% 100%; animation: bdShimmer 1.5s linear infinite;
}
@keyframes bdShimmer { 0% { background-position: 120% 0; } 100% { background-position: -120% 0; } }

.field input, .field textarea, .field select {
    transition: border-color .3s ease, box-shadow .3s ease, background-color .3s ease;
}
.field input:focus-visible, .field textarea:focus-visible, .field select:focus-visible {
    border-color: var(--emerald); box-shadow: 0 0 0 4px rgba(20,90,67,.14);
}
.bd-tick { display: flex; align-items: center; gap: .5rem; color: var(--gold-deep); font-weight: 600; }

.bd-tick svg { width: 20px; height: 20px; }
.bd-tick svg path { fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round;
    stroke-linejoin: round; stroke-dasharray: 30; stroke-dashoffset: 30;
    transition: stroke-dashoffset .55s cubic-bezier(.5,.1,.3,1) .1s; }
.is-revealed .bd-tick svg path, .bd-tick.is-drawn svg path { stroke-dashoffset: 0; }

html[data-bd-theme="dark"] .card,
html[data-bd-theme="dark"] .card h3,
html[data-bd-theme="dark"] .card h3 a,
html[data-bd-theme="dark"] .card p,
html[data-bd-theme="dark"] .card .card__link { color: var(--ink) !important; }
html[data-bd-theme="dark"] .card p { color: var(--body) !important; }
html[data-bd-theme="dark"] .card .card__foot { color: var(--gold-deep) !important; }
html[data-bd-theme="dark"] .card--practice { background: var(--paper) !important; }

.bd-top {
    position: fixed; right: 1.2rem; bottom: 1.2rem; z-index: 930;
    width: 44px; height: 44px; border-radius: 50%; border: 0; padding: 0;
    display: inline-flex; align-items: center; justify-content: center; cursor: pointer;
    background: linear-gradient(180deg, var(--emerald-bright) 0%, var(--emerald) 52%, var(--emerald-deep) 100%);
    color: #FAFAF7; box-shadow: 0 8px 22px -12px rgba(8,45,35,.5);
    opacity: 0; transform: translateY(14px) scale(.94); pointer-events: none;
    transition: opacity .4s ease, transform .4s cubic-bezier(.22,.61,.36,1);
}
.bd-top.is-shown { opacity: 1; transform: none; pointer-events: auto; }

/* v4.9.294 - on mobile the back-to-top shares the contact rail's baseline
   instead of sitting above it. The 1px trim levels the 44px control's centre
   with the 42px rail buttons, whose bottom edge is the baseline. */
@media (max-width: 720px) {
    .bd-top {
        right: calc(0.9rem + env(safe-area-inset-right, 0px));
        bottom: calc(0.75rem - 1px + env(safe-area-inset-bottom, 0px));
    }
}

.bd-carousel { overflow: hidden; grid-column: 1 / -1; touch-action: pan-y; }

.bd-carousel__track { -webkit-user-select: none; user-select: none; }
.bd-carousel__track {
    display: flex; gap: var(--space-3);
    transition: transform .62s cubic-bezier(.22,.61,.36,1);
    will-change: transform;
}
.bd-carousel__track > * { flex: 0 0 calc((100% - var(--space-3)) / 2); min-width: 0; }

.bd-carousel__track > .reveal,
.bd-carousel__track > .reveal.is-revealed { opacity: 1; transform: none; }
.bd-carousel__track > .reveal img { transform: none; }
.bd-carousel__dots { grid-column: 1 / -1; display: flex; justify-content: center; gap: .45rem; margin-top: .1rem; }
.bd-carousel__dot {
    width: 7px; height: 7px; padding: 0; border: 0; border-radius: 50%;
    background: var(--line-dark); opacity: .5; cursor: pointer;
    transition: opacity .3s ease, background-color .3s ease, transform .3s ease;
}
.bd-carousel__dot.is-on { background: var(--gold); opacity: 1; transform: scale(1.3); }

.bd-carousel__nav { grid-column: 1 / -1; display: flex; justify-content: center; gap: .5rem; margin-top: 1.1rem; }
.bd-carousel__arrow {
    width: 2.4rem; height: 2.4rem; padding: 0; border-radius: 50%;
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 1.35rem; line-height: 1; cursor: pointer;
    color: var(--ink); background: transparent;
    border: 1px solid var(--line-dark);
    transition: background-color .3s ease, color .3s ease, border-color .3s ease;
}
.bd-carousel__arrow:hover { background: var(--gold); color: #fff; border-color: var(--gold); }
.bd-carousel__arrow:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.home-team { max-width: 880px; margin-inline: auto; }
@media (max-width: 640px) { .bd-carousel__track > * { flex: 0 0 100%; } }

@media (prefers-reduced-motion: reduce) {
    .reveal { opacity: 1 !important; transform: none !important; }
    .bd-carousel__track > .reveal { opacity: 1 !important; transform: none !important; }
    .reveal img { transform: none !important; }
    .section-head::after { transform: scaleX(1) !important; }

    .ab-tabs__panel { opacity: 1 !important; transform: none !important; }
    .text-link::after { transform: scaleX(1) !important; }
    .bd-progress { transform: scaleX(1) !important; }
    .bd-bar__fill, .calc-box .bar > span { transform: scaleX(1) !important; }
    .is-loading::after { animation: none; }
    .bd-tick svg path { stroke-dashoffset: 0 !important; }
    .bd-top { opacity: 1 !important; transform: none !important; pointer-events: auto; }
    .bd-carousel__track { transition: none !important; }
}

html[data-bd-theme="dark"] .bd-sec { background: #1B2320; border-color: #2C3438; }
html[data-bd-theme="dark"] .bd-sec > summary { background: linear-gradient(180deg, #202925, #1B2320); }
html[data-bd-theme="dark"] .bd-sec > summary:hover { background: linear-gradient(180deg, #25302B, #202925); }

html[data-bd-theme="dark"] .bd-share-btn { background: #1B2320; border-color: #2C3438; color: var(--ink); }
html[data-bd-theme="dark"] .bd-share-btn:hover { background: var(--gold-faint); }

html[data-bd-theme="dark"] .bd-share-tip { background: #0E1512; color: #EDF1EF; }

html[data-bd-theme="dark"] .bd-translate__btn:hover { background: #1B2320; border-color: var(--gold-line); color: var(--ink); }

html[data-bd-theme="dark"] .form-status--success { background: #16241B; border-color: #2C523A; color: #9FE0B4; }
html[data-bd-theme="dark"] .form-status--error { background: #2A1717; border-color: #5C2E2E; color: #F0A9A9; }
html[data-bd-theme="dark"] .careers-apply .form-status--ok { background: #16241B; border-color: #2C523A; }
html[data-bd-theme="dark"] .careers-apply .form-status--err { background: #2A1717; border-color: #5C2E2E; }

html[data-bd-theme="dark"] .float-rail__btn--whatsapp { border-color: #2C523A; }
html[data-bd-theme="dark"] .float-rail__btn--linkedin,
html[data-bd-theme="dark"] .float-rail__btn--instagram,
html[data-bd-theme="dark"] .float-rail__btn--email { border-color: #33403B; }
html[data-bd-theme="dark"] .go-top:hover { color: #0E1512; }

html[data-bd-theme="dark"] .btn--outline:hover,
html[data-bd-theme="dark"] .btn.btn--outline:hover {
    background: var(--emerald) !important; color: #FAFAF7 !important; border-color: var(--emerald) !important;
}

#orera-root #cmpbar .chip { color: #F3EFE3 !important; }
#orera-root #cmpbar .chip { border: 1px solid rgba(255,255,255,.30); }
#orera-root #cmpbar .chip:hover { background: rgba(255,255,255,.28); }

#orera-root .btn-line { background: var(--paper) !important; color: var(--ink) !important; border-color: var(--gold-line) !important; }
#orera-root .btn-line:hover { background: rgba(255,255,255,.12) !important; }

#orera-root #cmpdlg .btn-line,
#orera-root #dlg .btn-line { background: var(--paper) !important; color: var(--ink) !important; border-color: var(--gold-line) !important; }

#orera-root .btn-gold { color: #12161A !important; }

#orera-root #dlgCmp,
#orera-root #cmpdlgCmp,
#orera-root #dlg .modal-head button:not(.btn-gold):not(#dlgClose):not(#cmpdlgClose),
#orera-root #cmpdlg .modal-head button:not(.btn-gold):not(#dlgClose):not(#cmpdlgClose) {
    background: var(--paper) !important;
    color: var(--ink) !important;
    border-color: var(--gold-line) !important;
}
#orera-root #dlgCmp:hover,
#orera-root #cmpdlgCmp:hover { background: rgba(255,255,255,.12) !important; }

body.single-bd_tool .entry-content #orera-root { margin-top: 0 !important; }

body.single-bd_tool .bd-tool-banner,
body.single-bd_tool .bd-tool .bd-tool-banner,
body.single-bd_tool .heroimg,
body.single-bd_tool #orera-root .heroimg,
body.single-bd_tool .bd-tool .heroimg { display: none !important; }

body.single-bd_tool #orera-root header.hero {
    background: linear-gradient(115deg, var(--paper) 0%, var(--ivory) 52%, var(--cream) 100%) !important;
    border-bottom-color: var(--line) !important;
    box-shadow: inset 0 -4px 0 var(--gold-soft) !important;
}
body.single-bd_tool #orera-root header.hero,
body.single-bd_tool #orera-root header.hero h1,
body.single-bd_tool #orera-root header.hero h2,
body.single-bd_tool #orera-root header.hero h3,
body.single-bd_tool #orera-root header.hero p,
body.single-bd_tool #orera-root header.hero span,
body.single-bd_tool #orera-root header.hero .brandline,
body.single-bd_tool #orera-root header.hero .kicker,
body.single-bd_tool #orera-root header.hero .sub { color: var(--ink) !important; }

body.single-bd_tool #orera-root .bd-a11y-sect-btn,
body.single-bd_tool .bd-tool .bd-a11y-sect-btn {
    width: 1.5em !important; height: 1.5em !important;
    padding: 0 !important; margin-right: .35em !important;
    font-size: 1.05rem !important; line-height: 1 !important;
    background: transparent !important;
    color: var(--gold-deep, #104532) !important;
    border: 1px solid var(--line-dark, #D9D4C4) !important;
    border-radius: 8px !important;
    opacity: .55;
}
body.single-bd_tool #orera-root .bd-a11y-sect-btn:hover,
body.single-bd_tool #orera-root .bd-a11y-sect-btn:focus-visible,
body.single-bd_tool .bd-tool .bd-a11y-sect-btn:hover,
body.single-bd_tool .bd-tool .bd-a11y-sect-btn:focus-visible {
    opacity: 1; background: var(--gold-faint, #EAF0EC) !important;
}
body.single-bd_tool #orera-root .bd-a11y-sect-btn svg,
body.single-bd_tool .bd-tool .bd-a11y-sect-btn svg {
    width: 1em !important; height: 1em !important; display: block !important;
    fill: currentColor !important;
}

body.single-bd_tool #orera-root .bd-a11y-sect-btn.is-playing,
body.single-bd_tool .bd-tool .bd-a11y-sect-btn.is-playing {
    opacity: 1;
    background: var(--gold, #145A43) !important;
    border-color: var(--gold, #145A43) !important;
    color: #FAFAF7 !important;
}
html[data-bd-theme="dark"] body.single-bd_tool #orera-root .bd-a11y-sect-btn.is-playing,
html[data-bd-theme="dark"] body.single-bd_tool .bd-tool .bd-a11y-sect-btn.is-playing {
    background: var(--emerald, #3FA57E) !important;
    border-color: var(--emerald, #3FA57E) !important;
    color: #14171A !important;
}

body.single-bd_tool .bd-tool .slider-range,
body.single-bd_tool #orera-root .slider-range,
body.single-bd_tool .calc-slider-row .slider-range { display: none !important; }
body.single-bd_tool .bd-tool .calc-slider-row .slider-input,
body.single-bd_tool #orera-root .calc-slider-row .slider-input { flex: 1 1 auto !important; }

body.single-bd_tool .bd-tool .calc-box .btn-primary,
body.single-bd_tool .bd-tool .btn-primary,
body.single-bd_tool .entry-content .bd-tool .btn-primary { color: #FFFFFF !important; }

html[data-bd-theme="dark"] body.single-bd_tool #orera-root {
    --bg: #14171A;
    --surface: #1B1F23;
    --surface2: #1E2327;
    --cream: #1E2327;
    --champagne: #2C3438;
    --gold-faint: #232A2E;
    --border: #2C3438;
    --line-dark: #39434A;
    --text: #EDF1EF;
    --text-dim: #A9B4AE;
}
html[data-bd-theme="dark"] body.single-bd_tool #orera-root,
html[data-bd-theme="dark"] body.single-bd_tool #orera-root .guide h2,
html[data-bd-theme="dark"] body.single-bd_tool #orera-root .guide h3,
html[data-bd-theme="dark"] body.single-bd_tool #orera-root .guide summary,
html[data-bd-theme="dark"] body.single-bd_tool #orera-root .brandline,
html[data-bd-theme="dark"] body.single-bd_tool #orera-root h1,
html[data-bd-theme="dark"] body.single-bd_tool #orera-root h2,
html[data-bd-theme="dark"] body.single-bd_tool #orera-root h3,
html[data-bd-theme="dark"] body.single-bd_tool #orera-root .stat b,
html[data-bd-theme="dark"] body.single-bd_tool #orera-root .metabar b { color: var(--ink) !important; }
html[data-bd-theme="dark"] body.single-bd_tool #orera-root .guide p,
html[data-bd-theme="dark"] body.single-bd_tool #orera-root .guide ul,
html[data-bd-theme="dark"] body.single-bd_tool #orera-root .guide li,
html[data-bd-theme="dark"] body.single-bd_tool #orera-root .guide .faq-body p,
html[data-bd-theme="dark"] body.single-bd_tool #orera-root .cta p,
html[data-bd-theme="dark"] body.single-bd_tool #orera-root .related li,
html[data-bd-theme="dark"] body.single-bd_tool #orera-root .sub { color: var(--body) !important; }
html[data-bd-theme="dark"] body.single-bd_tool #orera-root .guide { border-top-color: var(--line) !important; }
html[data-bd-theme="dark"] body.single-bd_tool #orera-root .guide details { background: var(--paper) !important; border-color: var(--line) !important; }
html[data-bd-theme="dark"] body.single-bd_tool #orera-root .guide details[open] { border-color: var(--gold-soft) !important; }
html[data-bd-theme="dark"] body.single-bd_tool #orera-root .guide summary:hover { background: var(--ivory) !important; }
html[data-bd-theme="dark"] body.single-bd_tool #orera-root .guide summary::before { color: var(--gold) !important; }
html[data-bd-theme="dark"] body.single-bd_tool #orera-root .cta,
html[data-bd-theme="dark"] body.single-bd_tool #orera-root .related { background: var(--paper) !important; }
html[data-bd-theme="dark"] body.single-bd_tool #orera-root .related-title { color: var(--emerald, #3FA57E) !important; }

html[data-bd-theme="dark"] .kc-banner {
    border-bottom-color: var(--emerald-light) !important;
}

html body.single-bd_tool .bd-tool .kc-banner,
html body.single-bd_tool .bd-tool .page-banner,
.kc-banner,
.page-banner {
    background:
        radial-gradient(130% 108% at 76% 42%,
            rgba(201,171,105,0.17) 0%,
            rgba(201,171,105,0.075) 36%,
            rgba(201,171,105,0.00) 66%),
        linear-gradient(180deg, var(--warm-ivory) 0%, var(--paper) 58%) !important;
}

html body.single-bd_tool .bd-tool .kc-banner__photo,
.kc-banner__photo {
    background-color: transparent;
    background-image:
        url("assets/img/kc-banner-portrait.webp"),
        radial-gradient(ellipse 63% 54% at 50% 49%,
            rgba(214,186,126,0.36) 0%,
            rgba(214,186,126,0.15) 50%,
            rgba(214,186,126,0.00) 78%);
    background-size: cover, 100% 100%;
    background-repeat: no-repeat, no-repeat;
    background-position: 50% 0, 0 0;
}

html[data-bd-theme="dark"] .kc-banner__photo,
html[data-bd-theme="dark"] .kc-banner__photo[data-bd-fix],
html[data-bd-theme="dark"] .kc-banner__photo[data-bd-fix="bgi"] {
    background-color: transparent !important;
    background-image:
        url("assets/img/kc-banner-portrait.webp"),
        radial-gradient(ellipse 63% 54% at 50% 49%,
            rgba(214,186,126,0.36) 0%,
            rgba(214,186,126,0.15) 50%,
            rgba(214,186,126,0.00) 78%) !important;
    background-size: cover, 100% 100% !important;
    background-repeat: no-repeat, no-repeat !important;
    background-position: 50% 0, 0 0 !important;
}

.btn-primary,
.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5em;
    font-family: var(--font-sans);
    font-size: var(--fs-sm);
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: .01em;
    text-decoration: none;
    border-radius: var(--radius);
    padding: .8em 1.5em;
    border: 1px solid transparent;
    cursor: pointer;
    transition: background var(--dur) var(--ease), color var(--dur) var(--ease),
                border-color var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.btn-primary {
    background: var(--emerald);
    color: #FFFFFF;
    border-color: var(--emerald);
}
.btn-primary:hover { background: var(--emerald-deep); border-color: var(--emerald-deep); color: #FFFFFF; }
.btn-secondary {
    background: transparent;
    color: var(--gold-deep);
    border-color: var(--gold-line);
}
.btn-secondary:hover { background: var(--gold-faint); border-color: var(--gold); }

.btn-gold {
    background: var(--emerald);
    color: #FFFFFF;
    border: 1px solid var(--emerald);
    border-radius: var(--radius);
    padding: .8em 1.5em;
    font-weight: 600;
    cursor: pointer;
}
.btn-gold:hover { background: var(--emerald-deep); }
.btn-line {
    background: transparent;
    color: var(--gold-deep);
    border: 1px solid var(--gold-line);
    border-radius: var(--radius);
    padding: .8em 1.5em;
    font-weight: 600;
    cursor: pointer;
}
.btn-line:hover { background: var(--gold-faint); border-color: var(--gold); }

:root {
    --gold-legacy: var(--gold-soft);
    --gold-legacy-deep: var(--gold-deep);
}

.bd-tool .btn-primary,
.bd-tool .btn-gold,
.calc-box .btn-primary {
    background: var(--emerald) !important;
    color: #FFFFFF !important;
    border: 1px solid var(--emerald) !important;
    border-radius: var(--radius) !important;
    box-shadow: none !important;
    text-shadow: none !important;
    transform: none !important;
    filter: none !important;
}

.card,
.card--post,
.card--practice,
.kc-card,
.kc-hub__card,
.career-card,
.team-card,
.team-row,
.news-item,
.quote-card,
.profile-page__card {
    border: 1px solid var(--line);
    border-radius: var(--radius-card);
    background: var(--white);
    box-shadow: var(--elev-rest);
}

.card,
.kc-card,
.kc-hub__card,
.kc-home__card,
.career-card,
.news-item,
.quote-card,
.profile-page__card {
    display: flex;
    flex-direction: column;
}

.card > :last-child,
.kc-card > :last-child,
.kc-hub__card > :last-child,
.career-card > :last-child,
.news-item > :last-child,
.quote-card > :last-child,
.profile-page__card > :last-child {
    margin-top: auto;
}

.card:hover,
.card--post:hover,
.card--practice:hover,
.kc-card:hover,
.kc-hub__card:hover,
.career-card:hover,
.news-item:hover,
.quote-card:hover,
.profile-page__card:hover {
    box-shadow: var(--elev-raised);
    transform: translateY(-2px);
}

.team-card:hover,
.team-row:hover {
    box-shadow: var(--elev-rest);
    transform: none;
}

@media (prefers-reduced-motion: reduce) {
    .card, .card--post, .card--practice, .kc-card, .kc-hub__card,
    .kc-home__card, .career-card, .news-item, .quote-card, .profile-page__card {
        transition: none !important;
        transform: none !important;
    }
}

.entry-content p,
.entry-content li,
.entry-content dd,
.article p,
.article li,
.bd-kc-article p,
.bd-kc-article li,
.page-content p,
.profile-page__bio p,
.profile-page__bio > .wp-block-paragraph,
article p,
main p {
    text-align: justify;
    text-justify: inter-word;
    -webkit-hyphens: auto;
    hyphens: auto;
    text-align-last: left;
    overflow-wrap: break-word;
}

h1, h2, h3, h4, h5, h6,
.entry-content h1, .entry-content h2, .entry-content h3, .entry-content h4,
.article h1, .article h2, .article h3, .article h4,
figcaption, .caption, .wp-caption-text,
.hero h1, .hero__tagline, .page-banner h1, .page-banner__intro,
.eyebrow, .hero__eyebrow, .breadcrumbs, .entry-meta,
.btn, button, input, textarea, select, label,
nav, .site-nav, .footer-col h3, th, td,

.card h3, .kc-card h3 {
    text-align: left;
    text-justify: auto;
    text-align-last: auto;
}

.entry-content p,
.article p,
.bd-kc-article p {
    max-width: 100%;
}
@media (max-width: 560px) {
    .entry-content p, .entry-content li,
    .article p, .article li,
    .bd-kc-article p, .bd-kc-article li,
    main p, article p {
        text-align: left;
        -webkit-hyphens: none;
        hyphens: none;
    }
}

:root {
    --ink-02: rgba(48, 53, 50, 0.02);
    --ink-04: rgba(48, 53, 50, 0.04);
    --ink-06: rgba(48, 53, 50, 0.06);
    --ink-08: rgba(48, 53, 50, 0.08);
    --ink-12: rgba(48, 53, 50, 0.12);
    --ink-20: rgba(48, 53, 50, 0.20);
    --ink-45: rgba(48, 53, 50, 0.45);
    --gold-15: rgba(214, 186, 126, 0.15);
    --gold-36: rgba(214, 186, 126, 0.36);
    --gold-00: rgba(214, 186, 126, 0.00);
    --shadow-05: rgba(32, 29, 23, 0.05);
    --shadow-25: rgba(32, 29, 23, 0.25);
    --shadow-45: rgba(32, 29, 23, 0.45);
}

:root {
    --fs-lg: clamp(1.3rem, 1.08rem + 1vw, 1.5rem);
    --fs-xl: clamp(1.85rem, 1.35rem + 2vw, 2.85rem);
}
h1, h2, h3, h4 { color: var(--charcoal); }
h1, h2 { font-weight: 600; }
h2 { letter-spacing: -0.008em; }
h3 { font-weight: 600; }
.entry-content h2, .article h2, .bd-kc-article h2 { margin-top: 1.9em; }
.entry-content h3, .article h3, .bd-kc-article h3 { margin-top: 1.5em; }

.section { padding-block: var(--section-pad); }
.section--tight { padding-block: var(--section-pad-tight); }
.entry-content > * + *, .article > * + * { margin-top: 1.1em; }
.entry-content h2 + p, .article h2 + p { margin-top: 0.5em; }

.callout { border-left: 3px solid var(--line-dark); padding: 1rem 1.15rem; background: none; }
.callout--definition { border-left-color: var(--gold-soft); }
.callout--note       { border-left-color: var(--emerald); }
.callout--statute    { border-left-color: var(--gold-deep); }
.callout--warning    { border-left-color: var(--error); }
.callout__label { font-size: var(--fs-xs); font-weight: 700; letter-spacing: .04em;
                  text-transform: uppercase; color: var(--muted); }

.chip {
    display: inline-flex; align-items: center; gap: .4em;
    background: var(--gold-faint); border: 1px solid var(--line);
    border-radius: var(--radius-pill); padding: .3em .8em;
    font-size: var(--fs-xs); color: var(--gold-deep);
}
a.chip:hover { border-color: var(--gold-line); }

textarea { min-height: 6.5rem; }
.form-note, .form-help, .field-hint { font-size: var(--fs-xs); color: var(--muted); margin-top: .35rem; }

.form-note--paste { font-style: italic; color: var(--gold); }
input, textarea, select { border-radius: var(--radius); }

p, li, dd, blockquote,
.hero__lede, .about-home__desc, .section-head p, .section p, .section li,
.entry-content p, .entry-content li, .page-content p,
.bd-kc-article p, .bd-kc-article li, blockquote p,
.card p, .card li, .team-card p, .team-card li, .kc-home p, .kc-home li,
.bd-carousel p, .bd-carousel li {
    text-align: justify;
    text-justify: inter-word;
    -webkit-hyphens: auto;
    hyphens: auto;
    text-align-last: start;
    overflow-wrap: break-word;
}

h1, h2, h3, h4, h5, h6,
.eyebrow, .badge, .btn, button, input, select, textarea,
nav, .nav, .pager, .linkbtn, .post-meta, .entry-meta, .breadcrumbs, .tag-list,
figcaption, .screen-reader-text, .section-actions, .hero__actions, .hero__tagline,
.site-footer p, .bci-popup p, .bd-a11y__hint, .bd-translate__note,
th, td, .bd-tool, .bd-tool * {
    text-align: start;
}

.flow-branches {
    max-width: 100% !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch;
}
.comment-form textarea,
.comment-form input,
.comment-respond textarea,
.comment-respond input,
.entry-content textarea,
.entry-content input,
.entry-content select {
    max-width: 100% !important;
    box-sizing: border-box;
}
.entry-content img,
.entry-content table,
.entry-content pre,
.entry-content iframe {
    max-width: 100% !important;
}
html,
body {
    overflow-x: clip;
}

@media (max-width: 1024px) {
    .container.layout > * {
        min-width: 0 !important;
    }
}
.entry-content,
.entry-content * {
    overflow-wrap: break-word;
}

.site-footer {
    --paper: #08513B;
    --warm-ivory: #08513B;
    --cream: #08513B;
    --ivory: #FFFFFF !important;
    --gold: #A9DCC6;
    --gold-deep: #C6EEDD;
    --gold-soft: #A9DCC6;
    --gold-faint: rgba(255, 255, 255, 0.10);
    --charcoal: #FFFFFF;
    --ink: #FFFFFF;
    --body: #E8F1EC;
    --muted: #C3D3CA;
    --line: rgba(169, 220, 198, 0.28);
    --line-dark: rgba(169, 220, 198, 0.28);
    --accent: #A9DCC6;
}

.site-header-stack,
.float-rail,
.bd-toc {
    --paper: #FFFFFF;
    --ivory: #FFFFFF;
    --warm-ivory: #FFFFFF;
    --cream: #F5F8F6;
    --gold: #0E7A56;
    --gold-deep: #0A5C42;
    --gold-soft: #9CCBB8;
    --gold-faint: #E8F4EF;
    --charcoal: #12161A;
    --ink: #12161A;
    --body: #12161A;
    --muted: #454D48;
    --line: #E2E8E5;
    --line-dark: #CBD8D2;
    --accent: #0E7A56;
}

.site-footer {
    background: linear-gradient(180deg, #0A6349 0%, #08513B 46%, #063A2A 100%);
    border-top-color: rgba(255, 255, 255, 0.18);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14);
    color: #E8F1EC;
}

.site-footer p,
.site-footer li,
.site-footer .footer-col p,
.site-footer .footer-brand p,
.site-footer .bd-office { color: #E8F1EC; }

.site-footer a,
.site-footer a:visited { color: #FFFFFF; }
.site-footer a:hover,
.site-footer a:focus-visible { color: #FFFFFF; text-decoration: underline; text-underline-offset: 0.2em; }

.site-footer strong,
.site-footer .footer-brand .site-name,
.site-footer .footer-col h3 { color: #FFFFFF; }

.site-footer .footer-subnav a { color: #D6E4DC; }

.site-footer .footer-disclaimer,
.site-footer .footer-disclaimer p {
    color: #C3D3CA;
    font-size: 0.86rem;
    line-height: 1.85;
}
.site-footer .footer-disclaimer strong { color: #FFFFFF; }

.site-footer .footer-bottom,
.site-footer .footer-bottom p { color: #C3D3CA; font-size: 0.875rem; }
.site-footer .footer-bottom a { color: #FFFFFF; }

.site-footer .footer-contact svg,
.site-footer .footer-col .footer-contact svg { color: #A9DCC6; }

.site-footer .footer-disclaimer,
.site-footer .footer-bottom { border-top-color: rgba(169, 220, 198, 0.28); }
.site-footer .footer-subnav { border-left-color: rgba(169, 220, 198, 0.35); }
.site-footer .footer-map { border-color: rgba(169, 220, 198, 0.30); }
.site-footer .footer-brand .site-name::after { background: #A9DCC6; }

.site-footer .footer-socials a {
    border-color: rgba(169, 220, 198, 0.55);
    background: rgba(255, 255, 255, 0.10);
    color: #FFFFFF;
}

.btn--ghost-light,
.btn.btn--ghost-light,
a.btn--ghost-light,
a.btn.btn--ghost-light,
.site-footer .btn--ghost-light,
.site-footer .btn.btn--ghost-light,
.site-footer a.btn--ghost-light,
.site-footer a.btn.btn--ghost-light {
    color: #FFFFFF !important;
    border-color: rgba(255, 255, 255, 0.70) !important;
    background: transparent !important;
}

.btn--ghost-light:hover,
.btn.btn--ghost-light:hover,
a.btn--ghost-light:hover,
.site-footer .btn--ghost-light:hover,
.site-footer .btn.btn--ghost-light:hover,
.site-footer a.btn.btn--ghost-light:hover {
    background: #FFFFFF !important;
    color: #0A5C42 !important;
    border-color: #FFFFFF !important;
}

html:not([data-bd-theme="dark"]) .entry-content [style*="color:#2b2620"],
html:not([data-bd-theme="dark"]) .entry-content [style*="color:#2a2420"],
html:not([data-bd-theme="dark"]) .entry-content [style*="color:#26313f"],
html:not([data-bd-theme="dark"]) .entry-content [style*="color:#1a232f"],
html:not([data-bd-theme="dark"]) .entry-content [style*="color:#333"],
html:not([data-bd-theme="dark"]) .entry-content [style*="color: #333"],
html:not([data-bd-theme="dark"]) .entry-content [style*="color:#4a4038"],
html:not([data-bd-theme="dark"]) .entry-content [style*="color: #4a4038"],
html:not([data-bd-theme="dark"]) .entry-content [style*="color:#6b5d50"],
html:not([data-bd-theme="dark"]) .entry-content [style*="color: #6b5d50"],
html:not([data-bd-theme="dark"]) .bd-tool [style*="color:#2b2620"],
html:not([data-bd-theme="dark"]) .bd-tool [style*="color:#26313f"],
html:not([data-bd-theme="dark"]) .bd-tool [style*="color:#4a4038"],
html:not([data-bd-theme="dark"]) .bd-tool [style*="color: #4a4038"],
html:not([data-bd-theme="dark"]) .bd-tool [style*="color:#6b5d50"],
html:not([data-bd-theme="dark"]) .bd-tool [style*="color: #6b5d50"] {
    color: #12161A !important;
}

.bdka__send {
    width: 2.6rem !important;
    height: 2.6rem !important;
    min-width: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 50% !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 0 !important;
    line-height: 0 !important;
    overflow: hidden !important;
    cursor: pointer !important;
    flex: none !important;
    box-shadow: none !important;
    background-color: transparent !important;
    background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2024%2024%27%20fill%3D%27none%27%20stroke%3D%27%23FFFFFF%27%20stroke-width%3D%272.4%27%20stroke-linecap%3D%27round%27%20stroke-linejoin%3D%27round%27%3E%3Cpath%20d%3D%27M5%2012h13%27%2F%3E%3Cpath%20d%3D%27M12%205l7%207-7%207%27%2F%3E%3C%2Fsvg%3E"), linear-gradient(180deg, var(--emerald-bright) 0%, var(--emerald) 52%, var(--emerald-deep) 100%) !important;
    background-repeat: no-repeat, no-repeat !important;
    background-position: center, center !important;
    background-size: 1.15rem 1.15rem, 100% 100% !important;
}
.bdka__send > * { display: none !important; }
.bdka__send:hover,
.bdka__send:focus-visible {
    background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2024%2024%27%20fill%3D%27none%27%20stroke%3D%27%23FFFFFF%27%20stroke-width%3D%272.4%27%20stroke-linecap%3D%27round%27%20stroke-linejoin%3D%27round%27%3E%3Cpath%20d%3D%27M5%2012h13%27%2F%3E%3Cpath%20d%3D%27M12%205l7%207-7%207%27%2F%3E%3C%2Fsvg%3E"),
        linear-gradient(180deg, var(--emerald) 0%, var(--emerald-deep) 100%) !important;
}
.bdka__send:disabled { opacity: 0.55 !important; cursor: default !important; }
html[data-bd-theme="dark"] .bdka__send {
    background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2024%2024%27%20fill%3D%27none%27%20stroke%3D%27%2312161A%27%20stroke-width%3D%272.4%27%20stroke-linecap%3D%27round%27%20stroke-linejoin%3D%27round%27%3E%3Cpath%20d%3D%27M5%2012h13%27%2F%3E%3Cpath%20d%3D%27M12%205l7%207-7%207%27%2F%3E%3C%2Fsvg%3E"), linear-gradient(180deg, var(--emerald-bright) 0%, var(--emerald) 52%, var(--emerald-deep) 100%) !important;
}

.entry-content p > a[href*="/knowledge-centre/legal-tools/"] {
    display: inline-flex;
    align-items: center;
    gap: 0.6em;
    font-family: var(--font-sans);
    font-size: var(--fs-sm);
    font-weight: 600;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    padding: 1em 2.1em;
    border: 1px solid transparent;
    border-radius: var(--radius);
    text-decoration: none;
    cursor: pointer;
    background: linear-gradient(180deg, var(--emerald-bright) 0%, var(--emerald) 52%, var(--emerald-deep) 100%);
    color: #FAFAF7;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.10), 0 1px 2px rgba(8, 45, 35, 0.18);
    transition: color var(--dur) var(--ease), border-color var(--dur) var(--ease),
                box-shadow var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.entry-content p > a[href*="/knowledge-centre/legal-tools/"]:hover {
    color: #FAFAF7;
    box-shadow: 0 6px 18px -8px rgba(8, 45, 35, 0.5);
    transform: translateY(-1px);
}
.entry-content p > a[href*="/knowledge-centre/legal-tools/"]:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 2px;
}

html[data-bd-theme="dark"] .entry-content p > a[href*="/knowledge-centre/legal-tools/"] {
    background: var(--accent) !important;
    background-image: none !important;
    color: var(--emerald-shadow) !important;
    border-color: var(--accent) !important;
}
html[data-bd-theme="dark"] .entry-content p > a[href*="/knowledge-centre/legal-tools/"]:hover {
    background: var(--accent) !important;
    color: var(--emerald-shadow) !important;
}

@media (prefers-reduced-motion: reduce) {
    .entry-content p > a[href*="/knowledge-centre/legal-tools/"] { transition: none; }
    .entry-content p > a[href*="/knowledge-centre/legal-tools/"]:hover { transform: none; }
}

.nav-toggle {
    gap: 0;
    width: 2.15rem;
    height: 2.15rem;
    padding: 0;
    justify-content: center;
}

.site-footer .footer-bottom .site-footer__made {
    flex-basis: 100%;
    margin: 0;

    text-align: center;
    text-align-last: auto;
}

p,
li,
dd,
blockquote,
.entry-content p,
.entry-content li {
    text-wrap: pretty;
}

h1, h2, h3, h4,
.entry-content h2,
.entry-content h3,
.entry-content h4,
.faq-item summary,
.bd-case h3,
.card h3,
.card--practice h3,
.bd-facts__lab {
    text-wrap: balance;
}

table,
.entry-content table,
.bd-facts__num,
.bd-facts__item,
.bd-chart__val,
.bd-chart__bars li,
.bd-dash,
.bd-compare,
.bd-compare td,
.bd-bar__num,
.calc-box,
.calc-box input,
.calc-box select,
.calc-box output,
.bd-tool input,
.bd-tool output,
.bd-tool .result,
time,
.entry-meta time {
    font-variant-numeric: tabular-nums;
}

.home-practice { align-items: stretch; }
.home-practice .card--practice { height: 100%; }

.home-team-static {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
    gap: var(--space-3);
    max-width: 1000px;
    margin-inline: auto;
}

.kc-home__cards {
    display: flex;
    flex-wrap: nowrap;
    align-items: stretch;
    gap: var(--space-2);
}

.home-practice > .reveal,
.home-team-static > .reveal,
.kc-home__cards > .reveal {
    opacity: 1;
    transform: none;
}
.home-practice > .reveal img,
.home-team-static > .reveal img,
.kc-home__cards > .reveal img {
    transform: none;
}

/* CHANGE 1 - Knowledge Centre rail ---------------------------------------- */

.kc-home__viewport {
    grid-column: 1 / -1;
    min-width: 0;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: var(--line-dark) transparent;
    padding-bottom: 0.4rem;
}
/* Added by main.js only once the drag layer is running, so that with
   JavaScript off a touch visitor still pans the row natively. */
.kc-home__viewport.is-drag-ready { touch-action: pan-y; cursor: grab; }
.kc-home__viewport.is-dragging { cursor: grabbing; }
.kc-home__viewport:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

.kc-home__cards > .kc-home__card {
    flex: 0 0 calc((100% - var(--space-2)) / 2);
    min-width: 0;
    scroll-snap-align: start;
}

.kc-home__nav { display: flex; flex: 0 0 auto; gap: 0.5rem; }
.kc-home__nav-btn {
    width: 2.4rem;
    height: 2.4rem;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-sans);
    font-size: 1.35rem;
    line-height: 1;
    color: var(--ink);
    background: var(--paper);
    border: 1px solid var(--line-dark);
    border-radius: var(--radius);
    cursor: pointer;
    transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.kc-home__nav-btn:hover { background: var(--gold); color: #fff; border-color: var(--gold); }
.kc-home__nav-btn:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.kc-home__nav-btn[disabled] { opacity: 0.4; cursor: default; }
.kc-home__nav-btn[disabled]:hover { background: var(--paper); color: var(--ink); border-color: var(--line-dark); }

/* CHANGE 2 - the practice-area reveal ------------------------------------- */

/* CHANGE 3 - the About button pair ---------------------------------------- */

.about-home__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: var(--space-3);
}

/* Small screens: one card per view on the rail, and the group head keeps the
   title and its buttons apart rather than centring them together. */
@media (max-width: 640px) {
    .kc-home__cards > .kc-home__card { flex-basis: 100%; }
    .kc-home__head { justify-content: space-between; text-align: left; }
    /* the About pair still sits side by side on a phone: the labels are
       shortened to the theme's own --fs-xs and the padding to suit. */
    .about-home__actions { gap: 0.4rem; }
    .about-home__actions .btn {
        padding: 0.8em 0.95em;
        letter-spacing: 0.03em;
        font-size: var(--fs-xs);
    }
}

/* CHANGE 3 - the featured picture is framed by nothing and the caption sits
   directly below it; the image keeps its own aspect ratio at the card width. */
.kc-home__card > .kc-home__thumb { flex: 0 0 auto; margin-bottom: 0.5rem; }

/* CHANGE 3 - the fallback for a card with no featured image: same width, a
   plain token-styled panel so the row still reads evenly. */
.kc-home__thumb--empty {
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 16 / 10;
    background: var(--pastel-blue);
    color: var(--gold);
    border-radius: var(--radius-card);
}
.kc-home__thumb--empty svg { width: 2.5rem; height: 2.5rem; }

/* CHANGE 1 - the single "Explore All" control under the four practice cards
   is horizontally centred. Scoped modifier (specificity 0,2,0) so it wins
   over the .section-actions text-align: start reset and the .section p
   rule (text-align: justify; text-align-last: start) that otherwise applies
   to this paragraph. text-align-last is set explicitly too: the button is
   the paragraph's only (and therefore last) line, so a text-align-last of
   "start" would otherwise pin it to the left however text-align reads. */
.section-actions.section-actions--center { text-align: center; text-align-last: center; }

/* (1) Every child of a layout grid may shrink below its own content, so a
   wide child can never widen the track again. */
.practice-layout > *,
.contact-layout > *,
.with-sidebar > *,
.container.section > *,
.entry-content > * { min-width: 0; }

/* (2) Nothing embedded in the content column may be wider than the column. */
.entry-content img,
.entry-content svg,
.entry-content video,
.entry-content iframe,
.entry-content embed,
.entry-content object,
.entry-content pre,
.entry-content table,
.entry-content .wp-block-table,
.entry-content .table-scroll,
.entry-content figure { max-width: 100%; }
.entry-content img,
.entry-content svg,
.entry-content video { height: auto; }

/* (3) A long unbreakable token - a URL, an email, a phone number, a case
   citation - wraps, and because `anywhere` also shrinks the intrinsic
   minimum size it can no longer force the column wide. */
.entry-content,
.entry-content * { overflow-wrap: anywhere; }

/* (4) A table wider than the column scrolls inside its own wrapper instead of
   widening the page (main.js adds .table-scroll as a progressive
   enhancement; this also covers any table it did not wrap). */
.entry-content .table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }

/* (5) The aside's flex rows and their children are free to shrink below
   their content, so a long practice-area name cannot widen the aside.
   No flex-wrap is forced: the labels already wrap inside the flex item, and
   forcing the items to wrap changed the desktop aside height, which the
   brief forbids. */
.practice-nav a,
.practice-nav a > *,
.practice-cta__contact a { min-width: 0; }

/* (6) Last resort only. html/body already carry overflow-x: clip (above);
   this is the explicit statement of intent that the page itself must never
   scroll sideways, kept beside the fix so the two are read together. It is a
   clip, NOT the fix - the fix is (1)-(5) and the table rule above. */
html,
body { max-width: 100%; overflow-x: clip; }

:root {
    /* The article type scale. ONE place. */
    --bd-h1-size: clamp(2.05rem, 1.45rem + 2.1vw, 3.05rem);
    --bd-h2-size: clamp(1.65rem, 1.28rem + 1.4vw, 2.3rem);
    --bd-h3-size: clamp(1.4rem, 1.2rem + 0.66vw, 1.62rem);
    --bd-h4-size: clamp(1.2rem, 1.05rem + 0.42vw, 1.36rem);
    --bd-h1-weight: 600;
    --bd-h2-weight: 600;
    --bd-h3-weight: 550;
    --bd-h4-weight: 500;
    --bd-h1-leading: 1.14;
    --bd-h2-leading: 1.16;
    --bd-h3-leading: 1.22;
    --bd-h4-leading: 1.30;
    /* Space above, descending: h2 > h3 > h4. */
    --bd-h2-space: clamp(2.75rem, 1.9rem + 2.4vw, 4rem);
    --bd-h3-space: clamp(2rem, 1.5rem + 1.5vw, 2.6rem);
    --bd-h4-space: clamp(1.5rem, 1.2rem + 0.75vw, 1.85rem);
    /* Space below, descending. */
    --bd-h2-space-after: 0.45em;
    --bd-h3-space-after: 0.40em;
    --bd-h4-space-after: 0.35em;
    /* The furniture ground used by the preliminaries. */
    --bd-furniture-ground: var(--gold-faint);
    --bd-furniture-line: var(--line-dark);
    --bd-furniture-size: 0.95rem;
}

/* ---- The page H1. It must sit ABOVE the article H2 at every width. ------ */
:is(.single-post, .single-bd_statute, .single-bd_tool, .single-bd_news) .kc-banner__body h1,
:is(.single-post, .single-bd_statute, .single-bd_tool, .single-bd_news) .article .entry-content > h1 {
    font-size: var(--bd-h1-size);
    font-weight: var(--bd-h1-weight);
    line-height: var(--bd-h1-leading);
    letter-spacing: -0.012em;
}

/* ---- The article heading ladder: h2 > h3 > h4, size, weight and space. -- */
:is(.single-post, .single-bd_statute, .single-bd_tool, .single-bd_news) .article .entry-content > h2 {
    font-family: var(--font-serif);
    color: var(--charcoal);
    font-size: var(--bd-h2-size);
    font-weight: var(--bd-h2-weight);
    line-height: var(--bd-h2-leading);
    letter-spacing: -0.008em;
    margin-top: var(--bd-h2-space);
    margin-bottom: var(--bd-h2-space-after);
}
:is(.single-post, .single-bd_statute, .single-bd_tool, .single-bd_news) .article .entry-content > h3 {
    font-family: var(--font-serif);
    color: var(--charcoal);
    font-size: var(--bd-h3-size);
    font-weight: var(--bd-h3-weight);
    line-height: var(--bd-h3-leading);
    letter-spacing: 0;
    margin-top: var(--bd-h3-space);
    margin-bottom: var(--bd-h3-space-after);
}
:is(.single-post, .single-bd_statute, .single-bd_tool, .single-bd_news) .article .entry-content > h4 {
    font-family: var(--font-serif);
    color: var(--charcoal);
    font-size: var(--bd-h4-size);
    font-weight: var(--bd-h4-weight);
    line-height: var(--bd-h4-leading);
    letter-spacing: 0.005em;
    margin-top: var(--bd-h4-space);
    margin-bottom: var(--bd-h4-space-after);
}

/* ---- The section marker: a short emerald rule above every article H2
   except the first, which carries the article-start boundary instead. ----- */
:is(.single-post, .single-bd_statute, .single-bd_tool, .single-bd_news) .article .entry-content > h2:not(:first-of-type)::before {
    content: "";
    display: block;
    width: 2.5rem;
    height: 3px;
    border-radius: 2px;
    background: var(--gold);
    margin: 0 0 0.6em;
}

/* ---- The h4 level marker. The h4 is the smallest step and sits closest to
   the body, so it also carries a short emerald dash - the same rule language
   as the h2's bar and the article-start rule - so the smallest heading is
   never mistaken for a paragraph. ---------------------------------------- */
:is(.single-post, .single-bd_statute, .single-bd_tool, .single-bd_news) .article .entry-content > h4::before {
    content: "";
    display: inline-block;
    width: 0.9rem;
    height: 2px;
    border-radius: 1px;
    background: var(--gold);
    vertical-align: 0.3em;
    margin-right: 0.55rem;
}

/* ---- THE ARTICLE-START BOUNDARY. A labelled hairline rule above the first
   <h2>, with an extra space break above it, so the reader can see exactly
   where the preliminaries end and the article begins. aria-hidden because
   the word is decorative: the <h2> below it is the real landmark. --------- */
:is(.single-post, .single-bd_statute, .single-bd_tool, .single-bd_news) .article .entry-content > h2:first-of-type {
    margin-top: calc(var(--bd-h2-space) + 1.25rem);
}
:is(.single-post, .single-bd_statute, .single-bd_tool, .single-bd_news) .article .entry-content > h2:first-of-type::before {
    content: "Article";
    display: block;
    padding-top: 1.15rem;
    border-top: 1px solid var(--bd-furniture-line);
    margin: 0 0 1.1rem;
    font-family: var(--font-sans);
    font-size: var(--fs-xs);
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--muted);
}

.single-bd_statute .article .entry-content > h2:first-of-type::before {
    content: "Statute";
}
.single-bd_news .article .entry-content > h2:first-of-type::before {
    content: "News";
}
.single-bd_tool .article .entry-content > h2:first-of-type::before {
    content: "Tool";
}

/* ---- THE PRELIMINARIES read as furniture, not as article prose. --------- */
/* The table of contents: the panel it already had, tightened to the same
   furniture ground and label voice. */
:is(.single-post, .single-bd_statute, .single-bd_tool, .single-bd_news) .bd-toc {
    background: var(--bd-furniture-ground);
    border-color: var(--bd-furniture-line);
    border-left: 3px solid var(--gold);
}
:is(.single-post, .single-bd_statute, .single-bd_tool, .single-bd_news) .bd-toc > summary {
    font-family: var(--font-mono, ui-monospace, SFMono-Regular, Menlo, Consolas, monospace);
    font-size: var(--fs-xs);
    letter-spacing: 0.14em;
    font-weight: 600;
}
:is(.single-post, .single-bd_statute, .single-bd_tool, .single-bd_news) .bd-toc a { font-size: 0.94rem; }

/* The editorial callout, the key-facts band, the smart summary and the
   key-facts dashboard: one shared furniture treatment. */
:is(.single-post, .single-bd_statute, .single-bd_tool, .single-bd_news) .entry-content > .callout,
:is(.single-post, .single-bd_statute, .single-bd_tool, .single-bd_news) .entry-content > .bd-takeaways,
:is(.single-post, .single-bd_statute, .single-bd_tool, .single-bd_news) .entry-content > .bd-facts,
:is(.single-post, .single-bd_statute, .single-bd_tool, .single-bd_news) .entry-content > .bd-dash {
    background: var(--bd-furniture-ground);
    border: 1px solid var(--bd-furniture-line);
    border-left: 3px solid var(--gold);
    border-radius: var(--radius-card);
    padding: 1.15rem 1.35rem;
    margin-block: 1.5rem;
}
/* The band's own grid already pads its cells, so the container does not. */
:is(.single-post, .single-bd_statute, .single-bd_tool, .single-bd_news) .entry-content > .bd-facts { padding: 0.4rem 0.6rem; }
:is(.single-post, .single-bd_statute, .single-bd_tool, .single-bd_news) .entry-content > .bd-facts .bd-facts__grid { border-radius: inherit; }

/* Smaller, differently-weighted type inside the furniture. */
:is(.single-post, .single-bd_statute, .single-bd_tool, .single-bd_news) .entry-content > .callout p,
:is(.single-post, .single-bd_statute, .single-bd_tool, .single-bd_news) .entry-content > .bd-takeaways li {
    font-size: var(--bd-furniture-size);
}
/* The furniture heading voice: the monospace small label. */
:is(.single-post, .single-bd_statute, .single-bd_tool, .single-bd_news) .entry-content > .callout .callout__label,
:is(.single-post, .single-bd_statute, .single-bd_tool, .single-bd_news) .entry-content > .callout .callout__title,
:is(.single-post, .single-bd_statute, .single-bd_tool, .single-bd_news) .entry-content > .bd-takeaways h2 {
    font-family: var(--font-mono, ui-monospace, SFMono-Regular, Menlo, Consolas, monospace);
    font-size: var(--fs-xs);
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--gold-deep);
}
/* The smart summary's label is a furniture label, not a section heading;
   it must never inherit the article h2 scale. (It is nested, so the
   child-combinator rules above already exclude it - this makes it explicit.) */
:is(.single-post, .single-bd_statute, .single-bd_tool, .single-bd_news) .entry-content .bd-takeaways h2 { font-size: var(--fs-xs); }


/* v4.9.293 - pointer feedback only; the focus ring is for the keyboard.
   The blue box that appeared on click was the browser's own tap highlight
   (-webkit-tap-highlight-color), which this theme never set, so the platform
   default showed on every tap. A ring a click could also leave was the
   user-agent :focus outline. Both are suppressed for a pointer below; the
   visible ring for a keyboard reader is drawn on :focus-visible and stays. */
html { -webkit-tap-highlight-color: transparent; }
:focus:not(:focus-visible) { outline: none; }


/* ==========================================================================
   v4.9.295 - THE ARTICLE CLOSING BLOCK AND THE PRACTICE-AREA KNOWLEDGE
   CENTRE BLOCK.
   --------------------------------------------------------------------------
   Two blocks added by this release, and nothing else in this file changed.

   1. .bd-close, the closing block that single.php prints on every Knowledge
      Centre article, after the key takeaways and before the sources box. It is
      furniture, not a promotion: the same quiet treatment as the key-facts
      band, one short paragraph, two links. It carries no urgency, no outcome
      language and no superlative, which is what keeps it inside Bar Council of
      India Rule 36.

   2. .bd-kc-links, the Knowledge Centre block that single-practice_area.php
      prints with two to four related articles. A plain heading, one line of
      context and a list of links.

   Both use the live tokens, so a change to the palette or the type scale
   reaches them without an edit here. Both are inside .entry-content on the
   article (the closing block) and inside the article on a practice area, so
   neither introduces a new layout container.
   ========================================================================== */

/* --- 1. The article closing block ---------------------------------------- */

.bd-close {
    margin-block: var(--space-3);
    padding: 1.05rem 1.3rem;
    background: var(--paper);
    border: 1px solid var(--line);
    border-left: 3px solid var(--gold-soft);
    border-radius: var(--radius-card);
}

.bd-close__text {
    margin: 0;
    font-size: var(--fs-sm);
    line-height: 1.6;
    color: var(--ink);
    max-width: 62ch;
}

.bd-close__text a {
    color: var(--gold-deep);
    text-decoration-color: var(--gold-soft);
}

.bd-close__text a:hover,
.bd-close__text a:focus-visible {
    text-decoration-thickness: 2px;
}

/* --- 2. The practice-area Knowledge Centre block ------------------------- */

.bd-kc-links {
    margin-top: var(--space-4);
    padding-top: var(--space-3);
    border-top: 1px solid var(--line-dark);
}

.bd-kc-links__title {
    font-family: var(--font-mono, ui-monospace, SFMono-Regular, Menlo, Consolas, monospace);
    font-size: var(--fs-xs);
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--gold-deep);
    margin: 0 0 var(--space-1);
}

.bd-kc-links__intro {
    margin: 0 0 var(--space-2);
    font-size: var(--fs-sm);
    color: var(--ink);
    max-width: 62ch;
}

.bd-kc-links__list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.bd-kc-links__item {
    margin: 0 0 0.5rem;
    padding: 0;
}

.bd-kc-links__item::before {
    content: "";
    display: inline-block;
    width: 5px;
    height: 5px;
    margin-right: 0.6rem;
    border-radius: 50%;
    background: var(--gold-soft);
    vertical-align: middle;
}

.bd-kc-links__link {
    font-size: var(--fs-base);
    color: var(--gold-deep);
    text-decoration-color: var(--gold-soft);
    text-underline-offset: 3px;
}

.bd-kc-links__link:hover,
.bd-kc-links__link:focus-visible {
    text-decoration-thickness: 2px;
}

@media (max-width: 640px) {
    .bd-close { padding: 0.9rem 1rem; }
    .bd-close__text { font-size: var(--fs-base); }
}

/* ==========================================================================
   v4.9.307, THE DPDP LAYER.
   --------------------------------------------------------------------------
   Three small pieces of markup, appended to the stylesheet every page already
   loads, so the notice at a point of collection and the review widget's control
   cost no new request and no new render-blocking resource. Every value is a
   theme token, so the dark theme follows with no second colour set to keep in
   step. Nothing here animates, nothing here changes height after paint, and
   nothing here is applied by a script: the blocks are in the served HTML with
   their height already in it.
   ========================================================================== */

.bd-privacy-note {
    font-size: var(--fs-xs);
    line-height: 1.55;
    color: var(--muted);
    margin: var(--space-2) 0 0;
    padding-left: 0.75em;
    border-left: 2px solid var(--gold-line);
    max-width: 46em;
}

.bd-privacy-note a {
    color: var(--gold-deep);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.bd-grievance {
    margin: var(--space-2) 0;
}

.bd-grievance__line {
    font-size: var(--fs-sm);
    line-height: 1.6;
    color: var(--body);
    margin: 0;
    padding-left: 0.75em;
    border-left: 2px solid var(--gold-line);
}

.bd-grievance__label {
    font-weight: 600;
}

.bd-grievance a {
    color: var(--gold-deep);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.site-footer .bd-grievance__line {
    color: #C3CCC7;
    border-left-color: var(--gold-soft);
}

.site-footer .bd-grievance a {
    color: #FAFAF7;
}

.bd-reviews-gate {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-2) 0 var(--space-3);
    text-align: center;
}

.bd-reviews-gate[hidden] {
    display: none;
}

.bd-reviews-gate__line {
    font-size: var(--fs-sm);
    color: var(--muted);
    margin: 0;
    max-width: 44em;
}

.bd-reviews-gate__line a {
    color: var(--gold-deep);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.bd-consent-choice {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--space-2);
    margin: var(--space-2) 0;
}

.bd-consent-choice__state {
    font-size: var(--fs-sm);
    color: var(--muted);
    min-height: 1.6em;
    min-width: 18em;
}

html[data-bd-theme="dark"] .bd-privacy-note,
html[data-bd-theme="dark"] .bd-reviews-gate__line,
html[data-bd-theme="dark"] .bd-consent-choice__state {
    color: #C3CCC7;
}

html[data-bd-theme="dark"] .bd-privacy-note,
html[data-bd-theme="dark"] .bd-grievance__line {
    border-left-color: var(--emerald-light);
}

html[data-bd-theme="dark"] .bd-privacy-note a,
html[data-bd-theme="dark"] .bd-reviews-gate__line a,
html[data-bd-theme="dark"] .bd-grievance a {
    color: var(--emerald-light);
}

html[data-bd-theme="dark"] .bd-grievance__line {
    color: #C3CCC7;
}

/* =====================================================================
   v4.9.333 — THE MOBILE UTILITY BAR FITS ON ONE LINE

   Below 680px the top bar stacked the phone and the email onto two lines.
   Together they are wider than a 360px screen at the inherited size, so
   flex-wrap pushed the email down and the header grew by a whole row before
   the logo had even been reached.

   The fix is to make the pair narrower rather than to hide either of them:
   the type drops from .8rem to .72rem, the icons from 13px to 11px, the gap
   between the two from 1.4em to .55em, and the vertical padding comes in.
   flex-wrap stays as it is, so on a device narrower than about 310px the pair
   wraps again instead of overflowing — a graceful failure rather than a
   clipped address.
   ===================================================================== */
@media (max-width: 680px) {
    .topbar__inner {
        flex-direction: row;
        padding-block: 0.3rem;
    }
    .topbar__contact {
        justify-content: center;
        gap: 0.55em;
        font-size: 0.72rem;
        line-height: 1.25;
    }
    .topbar__contact span { gap: 0.35em; }
    .topbar__contact svg { width: 11px; height: 11px; }
    .topbar a { white-space: nowrap; }
}

/* v4.9.347: keep floating controls out of the disclaimer reading area. */
html.bd-disclaimer-open [data-bdka-launch],
html.bd-disclaimer-open .float-rail { visibility: hidden !important; pointer-events: none !important; }
.bd-summary-sources { font-size: .875em; margin: .5em 0; }
.bd-map:focus-visible, .bd-flow:focus-visible, .table-scroll:focus-visible,
.bd-table-scroll:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }

/* v4.9.347: narrow-screen touch targets and a compact contact rail. */
.topbar a[href^="tel:"], .topbar a[href^="mailto:"] { display: inline-flex; align-items: center; min-height: 24px; }
.float-rail__toggle { display: none; }
@media (max-width: 768px) {
 .float-rail.bd-contact-enhanced { left: 16px; right: auto; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); width: auto; max-width: calc(100vw - 96px); transform: none; justify-content: flex-start; }
 /* v4.9.349 - THE CONTACT BUTTON HAS TO BE FOUND.
  *
  * The owner said it gets lost on the page. It was a pale pill on a pale page:
  * paper background, hairline border, dark text. That is a control designed to
  * be quiet, and the one control on a phone that opens every way of reaching
  * the firm should not be quiet.
  *
  * It now carries the firm's own emerald, the same gradient the back-to-top
  * uses, with white text and a soft halo that breathes on a slow 3.2s cycle.
  * The halo is a shadow, not a separate element, so it costs no layout and
  * cannot be clipped by the rail.
  *
  * The pulse is decoration, so it is switched off for anyone who has asked for
  * reduced motion; the button keeps its colour and its halo, it simply stops
  * moving. Nothing about the control depends on the animation.
  */
 .float-rail.bd-contact-enhanced .float-rail__toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    min-width: 92px;
    padding: 8px 18px;
    border: 1px solid var(--emerald-deep);
    border-radius: 24px;
    background: linear-gradient(180deg, var(--emerald-bright) 0%, var(--emerald) 55%, var(--emerald-deep) 100%);
    color: #FAFAF7;
    font: inherit;
    font-size: .875rem;
    font-weight: 600;
    letter-spacing: .01em;
    cursor: pointer;
    box-shadow: 0 6px 18px -6px rgba(8,45,35,.45), 0 0 0 0 rgba(35,132,95,.45);
    animation: bd-contact-breathe 3.2s ease-in-out infinite;
 }
 .float-rail.bd-contact-enhanced .float-rail__toggle:hover,
 .float-rail.bd-contact-enhanced .float-rail__toggle:focus-visible {
    box-shadow: 0 8px 22px -6px rgba(8,45,35,.55), 0 0 0 4px rgba(35,132,95,.30);
 }
 /* once open, the button is the close control and should stop calling out */
 .float-rail.bd-contact-enhanced.is-expanded .float-rail__toggle {
    animation: none;
    box-shadow: 0 4px 12px -6px rgba(8,45,35,.40);
 }
 @keyframes bd-contact-breathe {
    0%, 100% { box-shadow: 0 6px 18px -6px rgba(8,45,35,.45), 0 0 0 0 rgba(35,132,95,.42); }
    50%      { box-shadow: 0 8px 22px -6px rgba(8,45,35,.50), 0 0 0 7px rgba(35,132,95,0); }
 }
 @media (prefers-reduced-motion: reduce) {
    .float-rail.bd-contact-enhanced .float-rail__toggle {
        animation: none;
        box-shadow: 0 6px 18px -6px rgba(8,45,35,.45), 0 0 0 3px rgba(35,132,95,.22);
    }
 }
 .float-rail.bd-contact-enhanced:not(.is-expanded) > :not(.float-rail__toggle) { display: none; }
 /* v4.9.348 - THE EXPANDED RAIL, REBUILT.
  *
  * The owner reported three faults with the expanded rail on his phone:
  *   1. it ran into the back-to-top control;
  *   2. a solid panel appeared behind it, and because the row overflowed its
  *      max-width the panel was cut in half and looked broken;
  *   3. the Contact button kept its place in the row while expanded, spending
  *      88px of width on nothing.
  *
  * All three came from expanding a fixed ROW sideways. The rail is now a
  * column that grows UPWARD from the toggle:
  *   - the toggle stays at the bottom-left, so nothing is spent on it;
  *   - the six buttons stack above it at 44px each, so the row can never
  *     reach the back-to-top at the bottom-right;
  *   - the background, padding, radius and shadow are gone. Each button
  *     already carries its own white circle and shadow; the panel behind them
  *     was the thing being clipped.
  */
 .float-rail.bd-contact-enhanced.is-expanded {
    display: flex;
    flex-direction: column-reverse;
    align-items: flex-start;
    flex-wrap: nowrap;
    gap: 10px;
    padding: 0;
    background: none;
    box-shadow: none;
    border-radius: 0;
    max-width: none;
    width: auto;
 }
 .float-rail.bd-contact-enhanced.is-expanded .float-rail__toggle {
    order: -1;
 }
 .float-rail.bd-contact-enhanced.is-expanded .float-rail__btn {
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
    min-width: 44px;
    max-width: 44px;
    aspect-ratio: 1 / 1;
 }
}

/* Keep the contact dock clear of the assistant on wider screens. */
/* v4.9.351 - THE DESKTOP RAIL GOES BACK TO THE RIGHT.
 *
 * 4.9.350 moved it to the left edge because the assistant mascot covered part
 * of the Share button on a scrolled desktop page. The owner wants it on the
 * right, which is where it has always been, so it moves back - and the
 * collision is dealt with rather than avoided by relocation.
 *
 * The mascot is fixed at the bottom-right, sitting above the back-to-top, and
 * is 160px tall on desktop. The rail is vertically centred and about 380px
 * tall, so on a tall screen the two never meet; on a short one they can. The
 * rail therefore lifts on short viewports, and its share panel opens toward
 * the page so it cannot run off the right edge.
 */
@media (min-width: 721px) {
 .float-rail { left: auto; right: 1.1rem; }
 .bd-share-pop { right: 3.4rem; left: auto; }
}
/* 160px mascot + 44px back-to-top + margins = about 230px of occupied corner.
   Below this height the centred rail would reach into it, so it sits higher. */
@media (min-width: 721px) and (max-height: 820px) {
 .float-rail { top: 44%; }
}
@media (min-width: 721px) and (max-height: 700px) {
 .float-rail { top: 40%; }
}
@media (max-width: 720px) {
 .bd-rail { bottom: calc(76px + env(safe-area-inset-bottom, 0px)); }
 body:has(.float-rail.is-expanded) .bd-rail { visibility: hidden; }
}

/* Reserve the actual launcher, portrait and hover space, keeping the dock right. */
@media (min-width: 901px) {
 .float-rail { top: auto; bottom: 320px; transform: none; }
 .bd-share-pop { top: auto; bottom: 0; transform: none; max-height: calc(100vh - 460px); overflow-y: auto; width: 76px; padding: 4px; scrollbar-width: thin; }
 .bd-share-pop .bd-share-btn { flex: 0 0 46px; }
}
@media (min-width: 901px) and (max-height: 820px) {
 .float-rail { display: grid; grid-template-columns: repeat(2, 46px); }
}
@media (min-width: 901px) and (max-height: 680px) {
 .float-rail { bottom: 280px; }
 .bd-share-pop { max-height: calc(100vh - 420px); }
}
@media (min-width: 901px) and (max-height: 600px) {
 .float-rail { grid-template-columns: repeat(3, 46px); }
}

/* =====================================================================
 * v4.9.363 - the tool router [bd_tool_router]
 *
 * A visitor describes what they are trying to work out and is pointed at the
 * calculator that does it. No model, no tracking, no outbound request: the
 * matching runs in the browser over a fixed word list, so the answer is the
 * same every time and can be reviewed in the source.
 * ===================================================================== */
.bd-tool-router {
    border: 0;
    border-left: 3px solid var(--emerald, #145A43);
    border-radius: 0;
    background: var(--gold-faint, #EAF0EC);
    padding: 0.85rem 1rem;
    margin: 1.5rem 0;
}
.bd-tool-router__label {
    display: block;
    font-family: var(--font-sans);
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--ink);
    margin-bottom: 0.45rem;
}
.bd-tool-router__input {
    width: 100%;
    min-height: 44px;
    padding: 0.5rem 0.75rem;
    border: 1px solid var(--line-dark);
    border-radius: 8px;
    background: var(--page, #fff);
    color: var(--ink);
    font: inherit;
    font-size: 1rem;
}
.bd-tool-router__input:focus-visible {
    outline: 2px solid var(--emerald, #145A43);
    outline-offset: 2px;
}
.bd-tool-router__hint {
    margin: 0.4rem 0 0;
    font-size: 0.8rem;
    color: var(--muted, #5A5A5A);
}
.bd-tool-router__list {
    list-style: none;
    margin: 0.75rem 0 0;
    padding: 0;
    display: grid;
    gap: 0.4rem;
    max-height: 60vh;
    overflow: auto;
}
.bd-tool-router__list[hidden] {
    display: none;
}
.bd-tool-router__item {
    padding: 0.55rem 0.7rem;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--page, #fff);
}
.bd-tool-router__item a {
    text-decoration: none;
}
.bd-tool-router__item a strong {
    color: var(--emerald-deep, #104532);
    font-size: 0.98rem;
}
.bd-tool-router__item a:hover strong,
.bd-tool-router__item a:focus-visible strong {
    text-decoration: underline;
}
.bd-tool-router__what {
    display: block;
    margin-top: 0.15rem;
    font-size: 0.85rem;
    color: var(--body, #333);
}
.bd-tool-router__none {
    margin: 0.75rem 0 0;
    font-size: 0.9rem;
    color: var(--muted, #5A5A5A);
}

/* =====================================================================
 * v4.9.370 - the two branches under Practice Areas
 *
 * Legal Domains and Legal Services are two pages of equal weight, so they get
 * one strip at the top of each rather than a menu item and a submenu item.
 * Same shape as the Knowledge Centre cards: a name and a line of what it holds.
 * ===================================================================== */
.bd-branch {
    display: grid;
    gap: 0.75rem;
    grid-template-columns: 1fr;
    margin: 0 0 2rem;
}
@media (min-width: 640px) {
    .bd-branch { grid-template-columns: 1fr 1fr; }
}
.bd-branch__tab {
    display: block;
    padding: 0.9rem 1.1rem;
    border: 1px solid var(--line-dark);
    border-radius: var(--radius-card);
    background: var(--paper);
    text-decoration: none;
    color: var(--ink);
    transition: border-color var(--dur) var(--ease), background-color var(--dur) var(--ease);
}
.bd-branch__tab:hover,
.bd-branch__tab:focus-visible {
    border-color: var(--emerald, #145A43);
    background: var(--gold-faint, #EAF0EC);
}
.bd-branch__tab strong {
    display: block;
    font-family: var(--font-serif);
    font-size: 1.1rem;
    color: var(--emerald-deep, #104532);
}
.bd-branch__tab span {
    display: block;
    margin-top: 0.15rem;
    font-size: 0.875rem;
    color: var(--muted, #5A5A5A);
}
.bd-branch__tab.is-current {
    border-color: var(--emerald, #145A43);
    border-left-width: 4px;
    background: var(--gold-faint, #EAF0EC);
}

/* The services listing */
.bd-svc-group { margin: 0 0 2.5rem; }
.bd-svc-group__title {
    font-family: var(--font-serif);
    font-size: 1.3rem;
    margin: 0 0 0.25rem;
    color: var(--ink);
}
.bd-svc-group__lead {
    margin: 0 0 1.1rem;
    font-size: 0.925rem;
    color: var(--muted, #5A5A5A);
}
.bd-svc-card__title { font-size: 1.02rem; margin: 0.4rem 0 0.3rem; }
.bd-svc-card__what { font-size: 0.9rem; color: var(--body); margin: 0 0 0.5rem; }
.bd-svc-card__domain { font-size: 0.8rem; color: var(--muted, #5A5A5A); margin: 0; }
.bd-svc-card__domain a { color: var(--emerald-deep, #104532); }

/* One service */
.bd-svc-back { margin: 0 0 1rem; }
.bd-svc__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1.25rem;
    margin: 0 0 1.25rem;
    font-size: 0.85rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--muted, #5A5A5A);
}
.bd-svc__meta a { color: var(--emerald-deep, #104532); }
.bd-svc-more { margin: 2.5rem 0 0; }
.bd-svc-more h2 { font-size: 1.15rem; margin: 0 0 0.6rem; }
.bd-svc-more__list { margin: 0; padding-left: 1.1rem; }
.bd-svc-more__list li { margin: 0 0 0.35rem; }
.bd-svc-declaration {
    margin: 2.5rem 0 0;
    padding: 1.1rem 1.25rem;
    border-top: 1px solid var(--line-dark);
    background: var(--paper);
}
.bd-svc-declaration p {
    margin: 0 0 0.75rem;
    font-size: 0.8rem;
    line-height: 1.6;
    color: var(--muted, #5A5A5A);
}
.bd-svc-declaration__sign {
    margin: 0;
    font-size: 0.85rem;
    color: var(--ink);
}
.bd-svc-declaration__sign span { color: var(--muted, #5A5A5A); font-size: 0.78rem; }
}
.bd-svc-spokes h2 { font-size: 1.2rem; margin: 0 0 0.75rem; }
.bd-svc-spokes__list { margin: 0; padding: 0; list-style: none; display: grid; gap: 0.6rem; }
.bd-svc-spokes__list li {
    padding: 0.7rem 0.9rem;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--paper);
}
.bd-svc-spokes__list a { font-weight: 600; color: var(--emerald-deep, #104532); }
.bd-svc-spokes__list span { display: block; font-size: 0.875rem; color: var(--muted, #5A5A5A); margin-top: 0.15rem; }

/* =====================================================================
 * v4.9.383 - the branch strip and the service cards in dark mode
 *
 * These were built with --emerald-deep, which the dark palette did not define,
 * so their headings rendered dark green on a dark background and disappeared the
 * first time dark mode was switched on. The variable is now defined in the dark
 * block as well; these rules make the two components explicit so they cannot
 * depend on a palette name existing.
 * ===================================================================== */
html[data-bd-theme="dark"] .bd-branch__tab {
    background: #1B2320;
    border-color: #39434A;
}
html[data-bd-theme="dark"] .bd-branch__tab strong { color: #8FE0C0; }
html[data-bd-theme="dark"] .bd-branch__tab span { color: #A9B4AE; }
html[data-bd-theme="dark"] .bd-branch__tab.is-current {
    background: #1B2A25;
    border-color: #3FA57E;
}
html[data-bd-theme="dark"] .bd-svc-group__title { color: #EDF1EF; }
html[data-bd-theme="dark"] .bd-svc-group__lead { color: #A9B4AE; }
html[data-bd-theme="dark"] .bd-svc-card__title,
html[data-bd-theme="dark"] .bd-svc-card__title a { color: #EDF1EF; }
html[data-bd-theme="dark"] .bd-svc-card__what { color: #DCE3DF; }
html[data-bd-theme="dark"] .bd-svc-card__domain a { color: #8FE0C0; }
html[data-bd-theme="dark"] .bd-svc-card { background: #191D20; border-color: #2C3438; }

/* =====================================================================
 * v4.9.388 - the service catalogue on each practice-area page
 *
 * Every engagement the firm handles is named, one card each, with a single
 * sentence saying what the work involves. Cards, not pages: two hundred short
 * pages would compete with each other and with the thirteen that are properly
 * written. A card is promoted to a page by publishing a service post.
 * ===================================================================== */
.bd-cat { margin: 3rem 0 0; }
.bd-cat h2 { font-family: var(--font-serif); font-size: 1.5rem; margin: 0 0 0.3rem; }
.bd-cat__lead { margin: 0 0 1.4rem; font-size: 0.9rem; color: var(--muted, #5A5A5A); }
.bd-cat__grid { display: grid; gap: 0.9rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .bd-cat__grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .bd-cat__grid { grid-template-columns: 1fr 1fr 1fr; } }
.bd-cat__card {
    border: 1px solid var(--line-dark);
    border-radius: var(--radius-card);
    background: var(--paper);
    padding: 0.95rem 1rem;
}
.bd-cat__name {
    font-family: var(--font-serif);
    font-size: 1rem;
    line-height: 1.3;
    margin: 0 0 0.35rem;
    color: var(--emerald-deep, #104532);
}
.bd-cat__about { margin: 0; font-size: 0.875rem; line-height: 1.5; color: var(--body); }

html[data-bd-theme="dark"] .bd-cat__card { background: #191D20; border-color: #2C3438; }
html[data-bd-theme="dark"] .bd-cat h2 { color: #EDF1EF; }
html[data-bd-theme="dark"] .bd-cat__lead { color: #A9B4AE; }
html[data-bd-theme="dark"] .bd-cat__name { color: #8FE0C0; }
html[data-bd-theme="dark"] .bd-cat__about { color: #DCE3DF; }

/* v4.9.389 - catalogue grouped by subject, inside each practice area */
.bd-cat__group { margin: 0 0 1.6rem; }
.bd-cat__group-title {
    font-family: var(--font-serif);
    font-size: 1.05rem;
    margin: 0 0 0.6rem;
    padding-bottom: 0.35rem;
    border-bottom: 1px solid var(--line-dark);
    color: var(--emerald-deep, #104532);
}
.bd-cat__name { font-size: 0.95rem; font-weight: 600; line-height: 1.35; margin: 0 0 0.3rem; color: var(--emerald-deep, #104532); }
.bd-cat__card { padding: 0.8rem 0.9rem; }
html[data-bd-theme="dark"] .bd-cat__group-title,
html[data-bd-theme="dark"] .bd-cat__name { color: #8FE0C0; border-color: #2C3438; }

/* v4.9.390 - the archive shows the whole portfolio, six cards per area */
.bd-cat--archive { margin-top: 3.5rem; }
.bd-cat__count {
    font-family: var(--font-sans, inherit);
    font-size: 0.78rem;
    font-weight: 400;
    color: var(--muted, #5A5A5A);
    margin-left: 0.5rem;
}
.bd-cat__more { margin: 0.5rem 0 0; font-size: 0.875rem; }
.bd-cat__more a { color: var(--emerald-deep, #104532); text-decoration: underline; text-underline-offset: 3px; }
html[data-bd-theme="dark"] .bd-cat__more a { color: #8FE0C0; }
html[data-bd-theme="dark"] .bd-cat__count { color: #A9B4AE; }

/* v4.9.391 - the primary sectors on the Legal Services page */
.bd-sectors { margin: 0 0 2.5rem; }
.bd-sector { padding: 1.1rem 1.2rem; display: flex; flex-direction: column; }
.bd-sector__title { font-family: var(--font-serif); font-size: 1.15rem; margin: 0 0 0.35rem; color: var(--emerald-deep, #104532); }
.bd-sector__lead { margin: 0 0 0.6rem; font-size: 0.9rem; color: var(--body); flex: 1; }
.bd-sector__count { margin: 0 0 0.5rem; font-size: 0.8rem; color: var(--muted, #5A5A5A); }
.bd-sector__more { margin: 0; font-size: 0.875rem; }
.bd-sector__more a { color: var(--emerald-deep, #104532); text-decoration: underline; text-underline-offset: 3px; }
.bd-crumbs { margin: 0 0 1.6rem; font-size: 0.82rem; color: var(--muted, #5A5A5A); display: flex; gap: 0.4rem; flex-wrap: wrap; }
.bd-crumbs a { color: var(--emerald-deep, #104532); text-decoration: none; }
html[data-bd-theme="dark"] .bd-sector__title,
html[data-bd-theme="dark"] .bd-sector__more a,
html[data-bd-theme="dark"] .bd-crumbs a { color: #8FE0C0; }
html[data-bd-theme="dark"] .bd-sector__lead { color: #DCE3DF; }

/* ==========================================================================
   v4.9.393 - THE SERVICES BRANCH, BROWSABLE WITHOUT A REWRITE RULE
   ==========================================================================

   The sector cards at the top of /practice-area/services/ and the sections they
   point at. Every address on this page is an in-page anchor: no new URL space,
   no taxonomy rewrite, nothing that can capture a URL belonging to another
   page. That is the rule v4.9.391 broke and this release exists to keep.

   THE WEIGHT QUESTION. The page prints all 1,137 engagements. The markup is
   deliberately thin - a list item holding one link, with a description only
   where the firm has written one - and the sectors carry content-visibility so
   the browser does not lay out or paint a sector that is off screen. That keeps
   a long page cheap without moving a byte of it out of the HTML, which a script
   would have done at the cost of the crawler seeing it. */

.bd-sector-index { margin: 0 0 3rem; }

.bd-sector-index h2 {
	font-family: var(--font-serif);
	font-size: 1.5rem;
	margin: 0 0 0.3rem;
}

.bd-sector-index__lead {
	margin: 0 0 1.4rem;
	font-size: 0.9rem;
	color: var(--muted, #5A5A5A);
}

.bd-sector-index__grid {
	margin: 0;
	padding: 0;
	list-style: none;
	display: grid;
	gap: 0.9rem;
	grid-template-columns: 1fr;
}

@media (min-width: 640px)  { .bd-sector-index__grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .bd-sector-index__grid { grid-template-columns: 1fr 1fr 1fr; } }

.bd-sector-card { margin: 0; }

.bd-sector-card__link {
	display: flex;
	flex-direction: column;
	gap: 0.35rem;
	height: 100%;
	padding: 1.1rem 1.15rem;
	background: #fff;
	border: 1px solid var(--line, #E4E0D4);
	border-radius: 12px;
	text-decoration: none;
	color: inherit;
	transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.bd-sector-card__link:hover {
	border-color: var(--emerald-deep, #104532);
	box-shadow: 0 14px 34px -22px rgba(16, 69, 50, 0.45);
	transform: translateY(-2px);
}

.bd-sector-card__link:focus-visible {
	outline: 2px solid var(--emerald-deep, #104532);
	outline-offset: 2px;
}

.bd-sector-card__count {
	font-size: 0.72rem;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: var(--muted, #5A5A5A);
}

.bd-sector-card__name {
	font-family: var(--font-serif);
	font-size: 1.15rem;
	line-height: 1.25;
	color: var(--emerald-deep, #104532);
}

.bd-sector-card__lead {
	font-size: 0.875rem;
	line-height: 1.55;
	color: var(--body, #2A2F2C);
}

.bd-sector-card__areas {
	margin-top: auto;
	font-size: 0.78rem;
	color: var(--muted, #5A5A5A);
}

/* --- one sector ------------------------------------------------------- */

.bd-sector {
	margin: 0 0 3.5rem;
	padding: 0 0 1.5rem;
	border-bottom: 1px solid var(--line, #E4E0D4);
	content-visibility: auto;
	contain-intrinsic-size: auto 2400px;
	scroll-margin-top: 6.5rem;
}

.bd-sector:last-of-type { border-bottom: 0; }

.bd-sector__head { margin: 0 0 1.6rem; }

.bd-sector__title {
	font-family: var(--font-serif);
	font-size: 1.7rem;
	margin: 0 0 0.35rem;
	scroll-margin-top: 6.5rem;
}

.bd-sector__lead {
	margin: 0 0 0.5rem;
	max-width: 62ch;
	font-size: 0.95rem;
	line-height: 1.6;
	color: var(--body, #2A2F2C);
}

.bd-sector__count {
	margin: 0;
	font-size: 0.8rem;
	text-transform: uppercase;
	letter-spacing: 0.07em;
	color: var(--muted, #5A5A5A);
}

.bd-sector__area { margin: 0 0 2rem; }

.bd-sector__back { margin: 0.5rem 0 0; font-size: 0.85rem; }

.bd-sector-note {
	margin: 0 0 2rem;
	font-size: 0.875rem;
	color: var(--muted, #5A5A5A);
}

.bd-sector-declaration { margin-top: 2.5rem; }

/* --- the engagement cards, now links ---------------------------------- */

.bd-cat__sub-group { margin: 0 0 1.1rem; }

.bd-cat__sub-title {
	margin: 0 0 0.55rem;
	font-size: 0.8rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.07em;
	color: var(--muted, #5A5A5A);
}

/* The grid was a div and is now a ul, so the list furniture comes off. */
ul.bd-cat__grid {
	margin: 0;
	padding: 0;
	list-style: none;
}

.bd-cat__card { margin: 0; }

.bd-cat__link {
	display: flex;
	flex-direction: column;
	gap: 0.25rem;
	height: 100%;
	color: inherit;
	text-decoration: none;
}

.bd-cat__link:hover .bd-cat__name { text-decoration: underline; text-underline-offset: 3px; }

.bd-cat__link:focus-visible {
	outline: 2px solid var(--emerald-deep, #104532);
	outline-offset: 3px;
	border-radius: 6px;
}

/* These were an h4 and a p; they are spans now, so they need their own box. */
.bd-cat__name,
.bd-cat__about,
.bd-cat__flag,
.bd-cat__also { display: block; }

.bd-cat__flag {
	margin-top: 0.15rem;
	font-size: 0.68rem;
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--emerald-deep, #104532);
}

.bd-cat__also {
	margin-top: 0.15rem;
	font-size: 0.72rem;
	color: var(--muted, #5A5A5A);
}

/* An anchored card must not land under the sticky header when it is linked to. */
.bd-cat__card[id] { scroll-margin-top: 6.5rem; }

/* --- dark palette ------------------------------------------------------ */

html[data-bd-theme="dark"] .bd-sector-card__link {
	background: #191D20;
	border-color: #2C3438;
}

html[data-bd-theme="dark"] .bd-sector-card__name,
html[data-bd-theme="dark"] .bd-sector__title,
html[data-bd-theme="dark"] .bd-sector-index h2,
html[data-bd-theme="dark"] .bd-cat__flag { color: #8FE0C0; }

html[data-bd-theme="dark"] .bd-sector-card__lead,
html[data-bd-theme="dark"] .bd-sector__lead { color: #DCE3DF; }

html[data-bd-theme="dark"] .bd-sector-card__count,
html[data-bd-theme="dark"] .bd-sector-card__areas,
html[data-bd-theme="dark"] .bd-sector__count,
html[data-bd-theme="dark"] .bd-sector-index__lead,
html[data-bd-theme="dark"] .bd-sector-note,
html[data-bd-theme="dark"] .bd-cat__also,
html[data-bd-theme="dark"] .bd-cat__sub-title { color: #A9B4AE; }

html[data-bd-theme="dark"] .bd-sector { border-color: #2C3438; }

@media (prefers-reduced-motion: reduce) {
	.bd-sector-card__link { transition: none; }
	.bd-sector-card__link:hover { transform: none; }
}

/* ==========================================================================
 CLIENTELE - v4.9.399
 The homepage clientele list: fifteen client categories as bordered tiles.
 Three columns on desktop, two on tablet, one on a phone. Deliberately quiet:
 a hairline border, no shadow, a tick in the accent colour, so fifteen items
 read as one considered block rather than fifteen competing cards.
 ========================================================================== */
.clientele{list-style:none;margin:1.6rem 0 0;padding:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.6rem;text-align:left}
.clientele__item{display:flex;align-items:flex-start;gap:.55rem;padding:.75rem .9rem;background:var(--paper);border:1px solid var(--line);border-radius:var(--radius);font-size:.94rem;line-height:1.45;color:var(--body);text-align:left}
.clientele__item>span{flex:1 1 auto;text-align:left}
.clientele__item svg{flex:0 0 auto;margin-top:.18rem;color:var(--accent)}
@media (max-width:900px){.clientele{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:600px){.clientele{grid-template-columns:1fr;gap:.5rem}}

/* ==========================================================================
 SECTOR CARDS - v4.9.404
 The services hub is six cards and nothing else. Each card is one sector: the
 name, one line about the kind of matter, and how much work sits inside it.
 Two columns on desktop, one on a phone.
 ========================================================================== */
.bd-sector-card{list-style:none;margin:0}
.bd-sector-card__link{display:flex;flex-direction:column;gap:.45rem;height:100%;padding:1.15rem 1.25rem;background:var(--paper);border:1px solid var(--line);border-radius:var(--radius-card);text-decoration:none;transition:border-color .15s ease,transform .15s ease}
.bd-sector-card__link:hover{border-color:var(--accent);transform:translateY(-2px)}
.bd-sector-card__name{font-family:var(--font-serif);font-size:1.28rem;font-weight:600;line-height:1.25;color:var(--emerald-deep,#104532)}
.bd-sector-card__lead{font-size:.94rem;line-height:1.55;color:var(--body)}
.bd-sector-card__meta{margin-top:auto;padding-top:.55rem;font-size:.76rem;font-weight:600;letter-spacing:.06em;text-transform:uppercase;color:var(--muted)}
/* v4.9.422. Twenty practice areas. Every breakpoint below divides 20 exactly,
   so the block is always a full rectangle and never ends on a ragged row:
   5 across = 4 rows, 4 across = 5 rows, 2 across = 10 rows, 1 across = 20. */
.bd-cat__grid--areas{grid-template-columns:repeat(5,minmax(0,1fr))}
@media (max-width:1100px){.bd-cat__grid--areas{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media (max-width:760px){.bd-cat__grid--areas{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:480px){.bd-cat__grid--areas{grid-template-columns:1fr}}
.bd-cat__grid--areas .bd-cat__card{height:100%}
.bd-cat__grid--areas .bd-cat__link{height:100%;display:flex;flex-direction:column;gap:.25rem}
.bd-cat__grid--areas .bd-cat__name{font-size:.95rem;line-height:1.3}
.bd-cat__grid--areas .bd-cat__about{margin-top:auto;font-size:.74rem;letter-spacing:.05em;text-transform:uppercase;color:var(--muted)}

/* ==========================================================================
 BOOKING AND PAYMENT - v4.9.405
 A private page: never indexed, never linked. Two panels, form on the left and
 payment on the right, stacking on a phone.
 ========================================================================== */
.bd-book__grid{display:grid;grid-template-columns:1.25fr .85fr;gap:1.5rem;margin-top:1.5rem;align-items:start}
.bd-book__panel{background:var(--paper);border:1px solid var(--line);border-radius:var(--radius-card);padding:1.35rem 1.4rem}
.bd-book__panel h2{margin-top:0;font-size:1.25rem}
.bd-book__panel h3{font-size:1rem;margin:1.2rem 0 .4rem}
.bd-book__form p{margin:0 0 .9rem}
.bd-book__form label{display:block;font-size:.9rem;font-weight:600;margin-bottom:.25rem}
.bd-book__form input[type=text],.bd-book__form input[type=tel],.bd-book__form input[type=email],.bd-book__form input[type=date],.bd-book__form input[type=number],.bd-book__form select,.bd-book__form textarea{width:100%;padding:.55rem .7rem;border:1px solid var(--line-dark);border-radius:var(--radius);background:var(--paper);color:var(--body);font:inherit}
.bd-book__hint{display:block;margin-top:.3rem;font-size:.8rem;line-height:1.45;color:var(--muted)}
.bd-book__consent label{font-weight:400;font-size:.88rem;display:flex;gap:.5rem;align-items:flex-start}
.bd-book__amount{font-weight:600;color:var(--emerald-deep,#104532);margin:.2rem 0 .8rem}
.bd-book__upiid{display:flex;gap:.6rem;align-items:baseline;font-size:.95rem}
.bd-book__upiid span{font-size:.76rem;letter-spacing:.06em;text-transform:uppercase;color:var(--muted)}
.bd-book__bank{margin:0;padding:.7rem .8rem;background:var(--paper);color:var(--body);border:1px solid var(--line);border-radius:var(--radius);font-family:var(--font-sans);font-size:.86rem;line-height:1.6;white-space:pre-wrap;overflow-wrap:anywhere}
.bd-book__steps{margin:.3rem 0 1rem;padding-left:1.15rem;font-size:.92rem;line-height:1.6}
.bd-book__note{padding:.9rem 1.1rem;border-radius:var(--radius);margin-bottom:1.2rem;border:1px solid var(--line)}
.bd-book__note--ok{background:#EAF5EE;border-color:#BEDFC8}
.bd-book__note--err{background:#FCEFEF;border-color:#E8C4C4}
.bd-book__note h2{margin:0 0 .4rem;font-size:1.1rem}
.bd-book__note p{margin:0;font-size:.93rem}
@media (max-width:900px){.bd-book__grid{grid-template-columns:1fr}}

/* v4.9.411 - the standing notice at the head of the booking page */
.bd-book__notice{margin:0 0 1.4rem;padding:1rem 1.15rem;background:var(--ivory);border:1px solid var(--line-dark);border-left:4px solid var(--accent);border-radius:var(--radius)}
.bd-book__notice p{margin:0 0 .5rem;font-size:.93rem;line-height:1.6}
.bd-book__notice p:last-child{margin-bottom:0}

/* v4.9.413 - the booking type and amount now sit at the head of the payment
   panel, so they need the same field styling the form fields have. */
.bd-book__pick{margin-bottom:1rem;padding-bottom:1rem;border-bottom:1px solid var(--line)}
.bd-book__pick p{margin:0 0 .8rem}
.bd-book__pick label{display:block;font-size:.9rem;font-weight:600;margin-bottom:.25rem}
.bd-book__pick select,.bd-book__pick input[type=number]{width:100%;padding:.55rem .7rem;border:1px solid var(--line-dark);border-radius:var(--radius);background:var(--paper);color:var(--body);font:inherit}
.bd-book__pick p:last-child{margin-bottom:0}

/* ==========================================================================
 BOOKING PAGE - MOBILE OVERFLOW FIX - v4.9.414
 The page was cropped on a phone: the two-column grid stayed wider than the
 viewport and everything to the right of it was cut off.
 Cause: a grid child defaults to min-width:auto, so it refuses to shrink below
 its content. The booking dropdown's longest option ("Other amount, as discussed
 mutually with the firm") therefore set the column width, the column pushed the
 grid past the screen, and the page overflowed sideways.
 Fix: every grid child and every control may shrink, and long words may break.
 ========================================================================== */
.bd-book__grid > *{min-width:0}
.bd-book__panel{min-width:0;max-width:100%}
.bd-book__form,
.bd-book__pick,
.bd-book__form p,
.bd-book__pick p,
.bd-book__note,
.bd-book__intro{max-width:100%;min-width:0}
.bd-book__form select,
.bd-book__form input,
.bd-book__form textarea,
.bd-book__pick select,
.bd-book__pick input{max-width:100%;min-width:0}
.bd-book__form label,
.bd-book__form .bd-book__hint,
.bd-book__pick label,
.bd-book__pick .bd-book__hint,
.bd-book__steps li,
.bd-book__note p{overflow-wrap:anywhere;word-break:break-word}
.bd-book__upiid{flex-wrap:wrap;overflow-wrap:anywhere}
@media (max-width:900px){
	.bd-book__grid{grid-template-columns:1fr}
	.bd-book__panel{padding:1.1rem 1rem}
}
@media (max-width:420px){
	.bd-book__panel{padding:1rem .85rem}
	.bd-book__form input[type=text],.bd-book__form input[type=tel],.bd-book__form input[type=email],
	.bd-book__form input[type=date],.bd-book__form input[type=number],.bd-book__form select,
	.bd-book__form textarea,.bd-book__pick select,.bd-book__pick input[type=number]{font-size:16px}
}

/* v4.9.416 - the UPI QR on the booking page. White plate behind it so the code
   keeps its contrast on the ivory panel, and a quiet border so it reads as a
   thing to scan rather than decoration. */
.bd-book__qr{margin:1rem 0 1.2rem;text-align:center}
.bd-book__qr img{display:inline-block;width:220px;max-width:70%;height:auto;padding:8px;background:#fff;border:1px solid var(--line-dark);border-radius:var(--radius)}
.bd-book__qr .bd-book__hint{margin-top:.5rem}

/* ==========================================================================
 BOOKING PAGE - DARK MODE - v4.9.417
 The bank details were near invisible in dark mode: the block had a hard white
 background and inherited the dark theme's light text. Every surface on this page
 now takes its colour from the theme variables, which the dark theme flips, and
 the two tinted notes get their own dark versions because a pale green plate
 under light text reads just as badly.
 The QR keeps its white plate on purpose - a QR needs white behind it to scan.
 ========================================================================== */
html[data-bd-theme="dark"] .bd-book__panel{background:var(--paper);border-color:var(--line)}
html[data-bd-theme="dark"] .bd-book__bank{background:#0F1315;border-color:var(--line-dark);color:var(--body)}
html[data-bd-theme="dark"] .bd-book__note--ok{background:#16241C;border-color:#2B4636}
html[data-bd-theme="dark"] .bd-book__note--err{background:#2A1A1A;border-color:#5A3333}
html[data-bd-theme="dark"] .bd-book__note--ok h2,
html[data-bd-theme="dark"] .bd-book__note--err h2{color:var(--ink)}
html[data-bd-theme="dark"] .bd-book__notice{background:var(--ivory);border-color:var(--line-dark)}
html[data-bd-theme="dark"] .bd-book__qr img{background:#fff;border-color:var(--line-dark)}
html[data-bd-theme="dark"] .bd-book__upiid strong{color:var(--gold-deep)}
html[data-bd-theme="dark"] .bd-book__amount{color:var(--gold-deep)}

/* ==========================================================================
 CATALOGUE SEARCH - v4.9.421 (sorting removed)
 One toolbar above the cards on the services hub, the sector pages and every
 practice area page. Sticky on a phone so the box stays reachable while the list
 is scrolled, because a sector page can be 357 cards long.
 ========================================================================== */
.bd-cat-tools{display:flex;flex-wrap:wrap;gap:.6rem;align-items:center;margin:0 0 1.1rem;padding:.8rem .9rem;background:var(--paper);border:1px solid var(--line);border-radius:var(--radius-card)}
.bd-cat-tools__field{flex:1 1 16rem;min-width:0;margin:0}
.bd-cat-tools input[type=search],.bd-cat-tools select{width:100%;min-width:0;padding:.55rem .7rem;border:1px solid var(--line-dark);border-radius:var(--radius);background:var(--paper);color:var(--body);font:inherit;font-size:.95rem}
.bd-cat-tools input[type=search]{-webkit-appearance:none;appearance:none}
.bd-cat-tools__count{flex:1 0 100%;margin:0;font-size:.78rem;letter-spacing:.04em;text-transform:uppercase;color:var(--muted)}
.bd-cat__card[hidden],.bd-cat__group[hidden],.bd-cat__sub-group[hidden],.bd-sector__area[hidden]{display:none !important}
.bd-cat--empty::after{content:"No engagement matches that search. Try a shorter word, or the name of the court or the document.";
display:block;padding:1rem 1.1rem;margin:.5rem 0 1rem;background:var(--ivory);border:1px solid var(--line-dark);border-radius:var(--radius);font-size:.92rem}
@media (max-width:700px){
	.bd-cat-tools{position:sticky;top:0;z-index:20;box-shadow:0 6px 16px -12px rgba(0,0,0,.35)}
	.bd-cat-tools__field{flex:1 1 100%}
}
html[data-bd-theme="dark"] .bd-cat-tools{background:var(--paper);border-color:var(--line)}
html[data-bd-theme="dark"] .bd-cat-tools input[type=search],html[data-bd-theme="dark"] .bd-cat-tools select{background:#0F1315;border-color:var(--line-dark);color:var(--body)}
html[data-bd-theme="dark"] .bd-cat--empty::after{background:var(--ivory);border-color:var(--line-dark)}

/* v4.9.427 - Legal Updates: the spoke links inside an article */
.bd-lu-more{margin:2rem 0 1rem;padding:1.1rem 1.2rem;background:var(--paper);border:1px solid var(--line);border-radius:var(--radius-card)}
.bd-lu-more h2{margin:0 0 .6rem;font-size:1.05rem}
.bd-lu-more ul{margin:0;padding-left:1.1rem}
.bd-lu-more li{margin:.35rem 0;line-height:1.5}
.bd-lu-hub{margin:1rem 0 2rem;font-size:.9rem}

/* v4.9.428 - components: trail, up-links, sibling cards */
.bd-trail{margin:0 0 1rem;font-size:.82rem}
.bd-trail ol{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:.35rem}
.bd-trail li+li::before{content:"›";margin-right:.35rem;color:var(--muted)}
.bd-trail a{color:var(--muted);text-decoration:none}
.bd-trail a:hover{color:var(--accent);text-decoration:underline}
.bd-trail [aria-current]{color:var(--body);font-weight:600}
.bd-uplinks{margin:2rem 0 1rem;padding:1rem 1.15rem;background:var(--paper);border:1px solid var(--line);border-radius:var(--radius-card)}
.bd-uplinks__title{margin:0 0 .5rem;font-size:.78rem;letter-spacing:.06em;text-transform:uppercase;color:var(--muted)}
.bd-uplinks ul{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:.5rem}
.bd-uplinks a{display:inline-block;padding:.35rem .75rem;border:1px solid var(--line-dark);border-radius:var(--radius-pill);font-size:.88rem;text-decoration:none}
.bd-uplinks a:hover{border-color:var(--accent);color:var(--accent)}
.bd-siblings{margin:2rem 0}
.bd-siblings h2{font-size:1.15rem;margin:0 0 .9rem}
.bd-siblings__grid{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.9rem}
.bd-siblings__card a{display:flex;flex-direction:column;gap:.3rem;height:100%;padding:.9rem 1rem;background:var(--paper);border:1px solid var(--line);border-radius:var(--radius-card);text-decoration:none}
.bd-siblings__card a:hover{border-color:var(--accent)}
.bd-siblings__name{font-weight:600;font-size:.95rem;line-height:1.3}
.bd-siblings__desc{font-size:.82rem;line-height:1.45;color:var(--muted)}
@media (max-width:900px){.bd-siblings__grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:600px){.bd-siblings__grid{grid-template-columns:1fr}}
html[data-bd-theme="dark"] .bd-uplinks,html[data-bd-theme="dark"] .bd-siblings__card a{background:var(--paper);border-color:var(--line)}

/* ==========================================================================
 v4.9.434 - KNOWLEDGE CENTRE ON THE HOMEPAGE: A 2 x 2 BLOCK, ONE CARD EACH
 --------------------------------------------------------------------------
 What it was: four sections stacked one below another down the page, each
 showing two cards side by side in a horizontal rail.

 What the owner asked for: two sections on the left, two on the right, and
 one card visible in each section.

 So the container becomes a two-column grid above 960px (four sections fill
 it as 2 left + 2 right), and each rail card now takes the full width of its
 viewport instead of half, so exactly one card is in view. The rail itself is
 unchanged: the left and right buttons, the drag and the scroll-snap all still
 step through the rest of that section's articles, so no content is lost - it
 is one card in view, not one card in the section.
 ========================================================================== */
@media (min-width: 961px) {
	.kc-home {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: var(--space-4) var(--space-4);
		max-width: 1200px;
		/* v4.9.436 - was "start", which made each section only as tall as its own
		 * content, so the two Explore All buttons in a row landed at different
		 * heights whenever one card's heading wrapped to two lines and the other
		 * did not. Stretch makes both sections share the row's height, and the
		 * group/foot rules below then push each button to the same baseline. */
		align-items: stretch;
	}
	/* the old stacked spacing would knock the grid rows out of line */
	.kc-home__group + .kc-home__group { margin-top: 0; }
}

/* one card per view, in every section, at every width */
.kc-home__cards > .kc-home__card { flex: 0 0 100%; }

/* v4.9.436 - the Explore All button sits on the same line in every section. */
.kc-home__foot {
	grid-column: 1 / -1;
	margin-top: auto;
	padding-top: 0.35rem;
	display: flex;
}


/* ==== assets/css/premium.css ==== */
/*
   PREMIUM LAYER - v4.9.276
   --------------------------------------------------------------------------
   The design-language override sheet. Every comment this file used to carry -
   the owner's brief, the rationale for each decision, and the record of what
   was tried and reverted - has been moved to CHANGELOG.md beside the theme, in
   the v4.9.276 performance pass, so that the shipped file is CSS only. Nothing
   about the cascade or the rules changed except the four v4.9.276 edits
   (measure, body size, section rhythm, surface grain).
*/
body,
body.theme-emerald-ivory {
    background: linear-gradient(
        180deg,
        var(--ivory) 0%,
        #F7F4EC 12%,
        var(--paper) 30%,
        #FBFBF9 46%,
        var(--paper) 54%,
        #F6F3EB 72%,
        var(--ivory) 88%,
        var(--ivory) 100%
    );
    background-attachment: scroll;
}

.section--paper,
.section--ivory {
    background: transparent;
}

.section {
    padding-block: var(--section-pad);
}

.section + .section {
    border-top: 0;
}

.hero,
.page-banner,
.page-banner--photo {
    background: transparent;
    border-bottom: 0;
    box-shadow: none;
}

.section,
.section--paper,
.section--ivory,
.section--tight {
    border-top: 0;
    border-bottom: 0;
}

.eyebrow::before,
.eyebrow::after,
.hero__eyebrow::before,
.hero__eyebrow::after,
.section__eyebrow::before,
.section__eyebrow::after {
    content: none;
    display: none;
}

.card,
.card--post,
.card--practice,
.kc-card,
.quote-card,
.team-card,
.career-card {
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    padding: 0;
    overflow: visible;
}

.card:hover,
.card--post:hover,
.card--practice:hover,
.kc-card:hover,
.quote-card:hover,
.team-card:hover,
.career-card:hover {
    border-color: transparent;
    box-shadow: none;
    transform: none;
}

.card__icon,
.card__icon svg {
    background: transparent;
    border: 0;
    box-shadow: none;
}

.card__foot,
.card__foot::after {
    background: transparent;
    border: 0;
    box-shadow: none;
    content: none;
}

.bd-carousel__track > * {
    margin: 0;
    padding-top: 0;
    border-top: 0;
}

.bd-carousel__track > *,
.bd-carousel__track > * + *,
.bd-carousel__track .card + .card,
.bd-carousel__track .card + .card--post,
.bd-carousel__track .card + .card--practice,
.bd-carousel__track .team-card + .team-card,
.bd-carousel__track .kc-card + .kc-card,
.bd-carousel__track article + article {
    margin-top: 0;
}

h1, .h1, .page-banner h1, .hero h1 {
    font-size: clamp(2.6rem, 6vw, 4.25rem);
    line-height: 1.04;
    letter-spacing: -0.015em;
    font-weight: 500;
}

h2, .h2 {
    font-size: clamp(1.9rem, 3.6vw, 2.75rem);
    line-height: 1.12;
    letter-spacing: -0.01em;
    font-weight: 500;
}

h3, .h3, .card h3 {
    font-size: clamp(1.3rem, 2vw, 1.6rem);
    line-height: 1.24;
    font-weight: 500;
}

body,
p, li, .card p {
    line-height: 1.78;
}

p, .card p {

    font-size: var(--fs-base);
    color: var(--muted);
}

.eyebrow, .section__eyebrow, .ab-eyebrow, .kicker, .overline,
[class*="eyebrow"], [class*="overline"] {
    letter-spacing: 0.16em;
    text-transform: uppercase;
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--muted);
}

.entry-content a,
.article a {
    text-underline-offset: 0.2em;
    text-decoration-thickness: 1px;
}

.btn, .button, .wp-block-button__link, input[type="submit"], button[type="submit"] {
    border-radius: var(--radius);
    letter-spacing: 0.02em;
    padding: 0.85rem 1.6rem;
    box-shadow: none;
    transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

.btn:hover, .button:hover, input[type="submit"]:hover, button[type="submit"]:hover {
    transform: none;
    box-shadow: none;
}

hr, .rule, .divider {
    border: 0;
    border-top: 0;
    background: none;
    height: 0;
    margin-block: 3rem;
}

.site-header-stack {
    background: rgba(250, 250, 247, 0.72);
    -webkit-backdrop-filter: saturate(140%) blur(14px);
    backdrop-filter: saturate(140%) blur(14px);
    border-bottom: 1px solid rgba(48, 53, 50, 0.06);
}

.topbar,
.site-header {
    background: transparent;
    border-bottom: 0;
}

html[data-bd-theme="dark"] .site-header-stack {
    background: rgba(20, 23, 26, 0.72);
    border-bottom-color: rgba(237, 241, 239, 0.08);
}

@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
    .site-header-stack {
        background: var(--paper);
    }
    html[data-bd-theme="dark"] .site-header-stack {
        background: var(--paper);
    }
}

@media (prefers-reduced-motion: no-preference) {
    .card, .kc-card, .team-card, .career-card, .quote-card {
        transition: none;
    }
    a, button {
        transition: color 0.18s ease, border-color 0.18s ease, background-color 0.18s ease;
    }
}

.site-footer,
.site-footer * {

}

html,
body {
    -webkit-font-smoothing: auto;
    -moz-osx-font-smoothing: auto;
}

.article--embedded .entry-content,
.entry-content,
.prose {

    max-width: min(66ch, var(--measure));
    margin-inline: auto;
}

:root {
    --fs-xs: 0.82rem;
}

.page-banner--photo {
    background-image:
        linear-gradient(180deg, rgba(15, 18, 24, 0.52) 0%, rgba(15, 18, 24, 0.38) 55%, rgba(15, 18, 24, 0.58) 100%),
        url("assets/img/page-banner-bg.webp");
    background-size: cover, cover;
    background-position: center, center;
}

.entry-content p,
.article p,
.prose p {
    line-height: 1.8;
}

.entry-content > * + *,
.article p + p {
    margin-top: 1.15em;
}

:root {
    --font-mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas,
                 "Liberation Mono", "Courier New", monospace;
}

.eyebrow,
.section__eyebrow,
.ab-eyebrow,
.kicker,
.overline,
[class*="eyebrow"],
[class*="overline"] {
    font-family: var(--font-mono);
    letter-spacing: 0.14em;
    text-transform: uppercase;
    font-size: 0.72rem;
    font-weight: 500;
}

.entry-meta,
.breadcrumbs,
.topbar,
.card__foot,
.pill,
.tag {
    letter-spacing: 0.06em;
}

:root {
    --radius: 12px;
    --radius-card: 18px;
    --shadow: 0 1px 2px rgba(48, 53, 50, 0.04),
              0 14px 34px -22px rgba(48, 53, 50, 0.22);
}

.btn,
.button,
.wp-block-button__link,
input[type="submit"],
button[type="submit"],
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="url"],
textarea,
select {
    border-radius: 999px;
}

textarea {
    border-radius: var(--radius);
}

[class*="icon-wrap"],
[class*="icon-badge"] {
    border-radius: 999px;
    background: rgba(20, 90, 67, 0.08);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.6rem;
}

html[data-bd-theme="dark"] .card__icon,
html[data-bd-theme="dark"] [class*="__icon"] {
    background: rgba(63, 165, 126, 0.14);
}

.quote-card,
.career-card,
.kc-card {
    background: transparent;
    border: 1px solid rgba(20, 90, 67, 0.16);
    border-radius: var(--radius-card);
    padding: 1.75rem 1.5rem;
    box-shadow: none;
}

html[data-bd-theme="dark"] .quote-card,
html[data-bd-theme="dark"] .career-card,
html[data-bd-theme="dark"] .kc-card {
    border-color: rgba(63, 165, 126, 0.24);
}

.card__foot a,
.card__foot {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    text-decoration: none;
    color: var(--gold);
}

.card__foot a:hover {
    color: var(--gold-deep);
}

html,
body,
body.theme-emerald-ivory {
    background: #FFFFFF;
    background-image: none;
}

.section,
.section--paper,
.section--ivory,
.section--tight,
.hero,
.page-banner,
.page-banner--photo {
    background: transparent;
    background-image: none;
    border-top: 0;
    border-bottom: 0;
}

.site-header-stack {
    background: rgba(255, 255, 255, 0.82);
    border-bottom: 1px solid rgba(20, 90, 67, 0.10);
}

html[data-bd-theme="dark"] .site-header-stack {
    background: rgba(20, 23, 26, 0.82);
}

.card,
.card--post,
.card--practice,
.kc-card,
.quote-card,
.team-card,
.career-card,
.ab-tabs__panel {
    background: #FFFFFF;
    border: 1px solid rgba(20, 90, 67, 0.16);
    border-radius: var(--radius-card);
    padding: 1.85rem 1.6rem;
    box-shadow: 0 1px 2px rgba(20, 90, 67, 0.03);
}

html[data-bd-theme="dark"] .card,
html[data-bd-theme="dark"] .card--post,
html[data-bd-theme="dark"] .card--practice,
html[data-bd-theme="dark"] .kc-card,
html[data-bd-theme="dark"] .quote-card,
html[data-bd-theme="dark"] .team-card,
html[data-bd-theme="dark"] .career-card {
    background: transparent;
    border-color: rgba(63, 165, 126, 0.24);
}

.card:hover,
.card--post:hover,
.card--practice:hover,
.kc-card:hover,
.career-card:hover {
    border-color: rgba(20, 90, 67, 0.32);
    box-shadow: 0 2px 6px rgba(20, 90, 67, 0.06);
    transform: none;
}

.card__icon {
    width: auto;
    height: auto;
    border: 0;
    border-radius: 0;
    background: none;
    box-shadow: none;
    color: var(--gold-deep);
    margin-bottom: var(--space-3);
}

.card__icon svg {
    width: 36px;
    height: 36px;
}

.card__icon {
    justify-items: start;
}

.team-card {
    text-align: center;
}

.team-card__photo,
.team-card__photo-link img,
.team-card__photo--fallback {
    width: 150px;
    height: 150px;
    max-width: 100%;
    border-radius: 50%;
    object-fit: cover;
    object-position: center top;
    margin-inline: auto;
    display: block;
}

.team-card h3,
.team-card p,
.team-card .team-card__designation,
.team-card .team-card__socials {
    text-align: center;
    margin-inline: auto;
}

.bd-a11y-sect-btn {
    width: 34px;
    height: 34px;
    font-size: 34px;
    opacity: 0.85;
    border-radius: 9px;
    margin-right: 0.45em;
}

.bd-a11y-sect-btn svg {
    width: 18px;
    height: 18px;
}

.bd-a11y-sect-btn:hover,
.bd-a11y-sect-btn:focus-visible {
    opacity: 1;
}

.bdka__bubble--note {
    font-size: 0.84rem;
    line-height: 1.6;
}

.site-footer {
    background: linear-gradient(180deg, #0A6349 0%, #08513B 46%, #063A2A 100%);
    border-top-color: rgba(255, 255, 255, 0.18);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14);
    color: #E8F1EC;
}

.site-footer p,
.site-footer li,
.site-footer .footer-col p,
.site-footer .footer-brand p,
.site-footer .bd-office {
    color: #E8F1EC;
}

.site-footer a,
.site-footer a:visited {
    color: #FFFFFF;
}

.site-footer a:hover,
.site-footer a:focus-visible {
    color: #FFFFFF;
    text-decoration: underline;
    text-underline-offset: 0.2em;
}

.site-footer strong,
.site-footer .footer-brand .site-name,
.site-footer .footer-col h3 {
    color: #FFFFFF;
}

.site-footer .footer-subnav a {
    color: #D6E4DC;
}

.site-footer .footer-disclaimer,
.site-footer .footer-disclaimer p {
    color: #C3D3CA;
    font-size: 0.86rem;
    line-height: 1.85;
}

.site-footer .footer-disclaimer strong {
    color: #FFFFFF;
}

.site-footer .footer-bottom,
.site-footer .footer-bottom p,
.site-footer .footer-bottom a {
    color: #C3D3CA;
    font-size: 0.875rem;
}

.site-footer .footer-bottom a {
    color: #FFFFFF;
}

.site-footer .footer-contact svg,
.site-footer .footer-col .footer-contact svg {
    color: #A9DCC6;
}

.site-footer .footer-disclaimer,
.site-footer .footer-bottom {
    border-top-color: rgba(169, 220, 198, 0.28);
}

.site-footer .footer-subnav {
    border-left-color: rgba(169, 220, 198, 0.35);
}

.site-footer .footer-map {
    border-color: rgba(169, 220, 198, 0.30);
}

.site-footer .footer-socials a {
    border-color: rgba(169, 220, 198, 0.55);
    background: rgba(255, 255, 255, 0.10);
    color: #FFFFFF;
}

.site-footer .footer-brand .site-name::after {
    background: #A9DCC6;
}

.site-footer .btn--ghost-light {
    color: #FFFFFF;
    border-color: rgba(255, 255, 255, 0.65);
}

.site-footer .btn--ghost-light:hover {
    background: #FFFFFF;
    color: #063A2A;
}

.btn--primary,
.btn--gold,
.bdka__send,
input[type="submit"],
button[type="submit"] {
    background: linear-gradient(180deg, var(--emerald-bright) 0%, var(--emerald) 52%, var(--emerald-deep) 100%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14), 0 1px 2px rgba(8, 45, 35, 0.20);
}

.page-banner {
    background: transparent;
    border-bottom: 0;
}

.callout {
    background: #FFFFFF;
    border: 1px solid rgba(14, 122, 86, 0.18);
    border-radius: var(--radius-card);
}

.btn:active,
.button:active,
button:active,
input[type="submit"]:active,
.wp-block-button__link:active {
    transform: translateY(1px);
    box-shadow: inset 0 3px 7px rgba(4, 32, 24, 0.34),
                inset 0 1px 0 rgba(0, 0, 0, 0.16);
    transition-duration: 0.04s;
}

.btn--outline:active,
.btn--ghost-light:active {
    box-shadow: inset 0 2px 5px rgba(4, 32, 24, 0.18);
}

.profile-page__card,
.profile-page__card p,
.profile-page__card h1,
.team-card,
.team-card p,
.team-card h3,
.section-head--center,
.section-head--center p,
.hero p,
.hero h1,
.page-banner p,
.page-banner h1,
.card__foot,
.pagination,
.pager,
[class*="center"],
[class*="centre"],
.has-text-align-center {
    text-align-last: auto;
}

.profile-page__card,
.profile__name,
.profile__quals,
.profile__role,
.profile-page__card .team-card__socials {
    text-align: center;
}

.profile__quals,
.profile__role {
    margin-inline: auto;
}

.footer-disclaimer {
    color: #DCE9E3;
}

.footer-disclaimer strong {
    color: #FFFFFF;
}

.footer-disclaimer a {
    color: #FFFFFF;
    text-decoration: underline;
    text-underline-offset: 0.18em;
}

html[data-bd-theme="dark"] .footer-disclaimer {
    color: #C9D6D0;
}

.site-footer {
    --paper: #08513B;
    --warm-ivory: #08513B;
    --cream: #08513B;
    --ivory: #FFFFFF;
    --gold: #A9DCC6;
    --gold-deep: #C6EEDD;
    --gold-soft: #A9DCC6;
    --gold-faint: rgba(255, 255, 255, 0.10);
    --charcoal: #FFFFFF;
    --ink: #FFFFFF;
    --body: #E8F1EC;
    --muted: #C3D3CA;
    --line: rgba(169, 220, 198, 0.28);
    --line-dark: rgba(169, 220, 198, 0.28);
    --accent: #A9DCC6;
    --radius: 12px;
    --radius-card: 18px;
}

.site-header-stack,
.float-rail,
.bd-toc {
    --paper: #FFFFFF;
    --ivory: #FFFFFF;
    --warm-ivory: #FFFFFF;
    --cream: #F5F8F6;
    --gold: #0E7A56;
    --gold-deep: #0A5C42;
    --gold-soft: #9CCBB8;
    --gold-faint: #E8F4EF;
    --charcoal: #12161A;
    --ink: #12161A;
    --body: #12161A;
    --muted: #454D48;
    --line: #E2E8E5;
    --line-dark: #CBD8D2;
    --accent: #0E7A56;
    --radius: 12px;
    --radius-card: 18px;
}

.site-footer .btn.btn--ghost-light,
.site-footer a.btn.btn--ghost-light {
    color: #FFFFFF;
    border-color: rgba(255, 255, 255, 0.70);
}

.site-footer .btn.btn--ghost-light:hover,
.site-footer a.btn.btn--ghost-light:hover {
    background: #FFFFFF;
    color: #063A2A;
    border-color: #FFFFFF;
}

.site-footer {
    --ivory: #FFFFFF !important;
}

.site-footer .btn--ghost-light,
.site-footer .btn.btn--ghost-light,
.site-footer a.btn--ghost-light,
.site-footer a.btn.btn--ghost-light {
    color: #FFFFFF !important;
    border-color: rgba(255, 255, 255, 0.70) !important;
    background: transparent !important;
}

.site-footer .btn--ghost-light:hover,
.site-footer .btn.btn--ghost-light:hover,
.site-footer a.btn--ghost-light:hover,
.site-footer a.btn.btn--ghost-light:hover {
    color: #063A2A !important;
    background: #FFFFFF !important;
    border-color: #FFFFFF !important;
}

.btn--ghost-light,
.btn.btn--ghost-light,
a.btn--ghost-light,
a.btn.btn--ghost-light,
.site-footer .btn--ghost-light,
.site-footer .btn.btn--ghost-light,
.site-footer a.btn--ghost-light,
.site-footer a.btn.btn--ghost-light {
    color: #FFFFFF !important;
    border-color: rgba(255, 255, 255, 0.70) !important;
    background: transparent !important;
}

.btn--ghost-light:hover,
.btn.btn--ghost-light:hover,
a.btn--ghost-light:hover,
.site-footer .btn--ghost-light:hover,
.site-footer .btn.btn--ghost-light:hover,
.site-footer a.btn.btn--ghost-light:hover {
    background: #FFFFFF !important;
    color: #0A5C42 !important;
    border-color: #FFFFFF !important;
}

.section--cream,
.section--paper,
.section--ivory {
    background: transparent;
}

:root {
    --surface-grain:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='256' height='256'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)' opacity='0.025'/%3E%3C/svg%3E");
}
html[data-bd-theme="dark"] {
    --surface-grain:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='256' height='256'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)' opacity='0.04'/%3E%3C/svg%3E");
}

html body {
    background-image: var(--surface-grain);
    background-repeat: repeat;
    background-size: 256px 256px;
    background-position: 0 0;
}

.site-footer {
    background-image: var(--surface-grain),
        linear-gradient(180deg, #0A6349 0%, #08513B 46%, #063A2A 100%);
    background-repeat: repeat, no-repeat;
    background-size: 256px 256px, auto;
}

html[data-bd-theme="dark"] body {
    background-image: var(--surface-grain) !important;
    background-repeat: repeat !important;
    background-size: 256px 256px !important;
    background-position: 0 0 !important;
}

html[data-bd-theme="dark"] .site-footer {
    background-image: var(--surface-grain) !important;
    background-repeat: repeat !important;
    background-size: 256px 256px !important;
}


/* ==== assets/css/offices-map.css ==== */
/* v4.9.282 — the three-office map (Leaflet + OpenStreetMap).
   Scoped to .bd-offices-map so nothing else in the theme is touched.
   The map itself is a tile image (light), so only the frame, the labels
   and the list around it follow the theme tokens and need to read in both
   light and dark mode.
   v4.9.282: the Leaflet controls (the zoom "+"/"-" anchors, the
   attribution link, the popup close button and the popup's Directions
   link) now carry their own explicit colours and font metrics, because
   the theme's own anchor rules — which force anchors to white inside
   `.site-footer` — were rendering the zoom glyphs white on Leaflet's
   white control ground. See the block at the foot of this file. */

.bd-offices-map {
	position: relative;
	width: 100%;
	border-radius: inherit;
}

/* The map canvas. Hidden by the markup until Leaflet has drawn the map,
   so the list below shows instead when JavaScript is off. */
.bd-offices-map__canvas {
	width: 100%;
	height: 420px;
	background: var(--warm-ivory, #F3EFE3);
	border-radius: inherit;
	z-index: 0;
}

@media (max-width: 680px) {
	.bd-offices-map__canvas { height: 300px; }
}

/* In the footer the map fills the cell the iframe used to fill. */
.footer-map > .bd-offices-map {
	flex: 1;
	display: flex;
	min-height: 220px;
}
.footer-map .bd-offices-map__canvas {
	flex: 1;
	height: 100%;
	min-height: 220px;
}
@media (min-width: 1021px) {
	.footer-map > .bd-offices-map { min-height: 300px; }
	.footer-map .bd-offices-map__canvas { min-height: 300px; }
}
@media (max-width: 1020px) {
	.footer-map > .bd-offices-map,
	.footer-map .bd-offices-map__canvas { min-height: 200px; }
}

/* On the contact page the map sits inside the existing .map-embed frame. */
.map-embed .bd-offices-map__canvas { height: 420px; }
@media (max-width: 680px) {
	.map-embed .bd-offices-map__canvas { height: 300px; }
}

/* The no-JavaScript fallback list. */
.bd-offices-map__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 0.75rem;
}
.bd-offices-map__list[hidden] { display: none; }

.bd-offices-map__item {
	display: grid;
	grid-template-columns: minmax(8rem, auto) 1fr;
	gap: 0.15rem 1rem;
	align-items: baseline;
	padding: 0.7rem 0.9rem;
	border: 1px solid var(--line, #E5E1D5);
	border-radius: var(--radius-card, 8px);
	background: var(--paper, #FFFFFF);
}
.bd-offices-map__label {
	font-weight: 600;
	color: var(--ink, #12161A);
}
.bd-offices-map__addr {
	color: var(--body, #12161A);
}
.bd-offices-map__links {
	grid-column: 2;
	display: flex;
	gap: 1rem;
	flex-wrap: wrap;
}
@media (max-width: 560px) {
	.bd-offices-map__item { grid-template-columns: 1fr; }
	.bd-offices-map__links { grid-column: 1; }
}

/* ------------------------------------------------------------------
   Leaflet's own control furniture (v4.9.282).

   WHY EVERYTHING HERE IS PINNED AND NOT INHERITED
   Leaflet's zoom control is two plain <a> elements whose "+" and "-" are
   CSS-drawn text, and its attribution strip is a plain <a> too. The theme
   styles anchors globally and, inside the footer, forces them to white:
   style.css's `a { color: var(--gold-deep) }` and, more importantly,
   `.site-footer a { color: var(--ink) }` (with `--ink` redefined to
   `#FFFFFF` inside `.site-footer` by premium.css) plus premium.css's
   `.site-footer a, .site-footer a:visited { color: #FFFFFF }`.
   Those rules sit at the SAME specificity as Leaflet's own
   `.leaflet-bar a { color: black }` and `.leaflet-container a`, so which
   one wins is decided by stylesheet order alone. When the theme's rule
   wins (as it does in the live cascade, where the map is inside
   `.site-footer`), the glyph renders #FFFFFF on Leaflet's own #FFFFFF
   control ground — contrast 1:1, i.e. an empty white box with only the
   divider visible, exactly the defect the owner photographed.
   The controls therefore carry their own explicit colours and font
   metrics below, at a specificity no theme anchor rule can tie.
   ------------------------------------------------------------------ */

.bd-offices-map .leaflet-container {
	background: var(--warm-ivory, #F3EFE3);
	font-family: inherit;
	border-radius: inherit;
}

/* The zoom control's two anchors. Colour, ground and the font metrics the
   glyph needs, given explicitly so nothing is inherited from the theme. */
.bd-offices-map .leaflet-bar a,
.bd-offices-map .leaflet-bar a:link,
.bd-offices-map .leaflet-bar a:visited,
.bd-offices-map .leaflet-bar a:active,
.bd-offices-map .leaflet-bar a:hover,
.bd-offices-map .leaflet-bar a:focus {
	color: #12161A;
	background: #FFFFFF;
	font-family: "Lucida Console", Monaco, monospace;
	font-size: 18px;
	font-weight: 700;
	line-height: 26px;
	text-align: center;
	text-indent: 0;
	text-decoration: none;
}
.bd-offices-map .leaflet-touch .leaflet-bar a,
.bd-offices-map .leaflet-touch .leaflet-bar a:link,
.bd-offices-map .leaflet-touch .leaflet-bar a:visited,
.bd-offices-map .leaflet-touch .leaflet-bar a:active {
	font-size: 22px;
	line-height: 30px;
}
.bd-offices-map .leaflet-bar a:hover,
.bd-offices-map .leaflet-bar a:focus {
	background: #F1F4F2;
}
/* Keep Leaflet's "this end is reached" affordance: the glyph stays legible
   but is visibly muted, rather than falling back to Leaflet's #bbb. */
.bd-offices-map .leaflet-bar a.leaflet-disabled,
.bd-offices-map .leaflet-bar a.leaflet-disabled:hover,
.bd-offices-map .leaflet-bar a.leaflet-disabled:focus {
	color: #767C79;
	background: #F1F4F2;
}

/* The attribution strip and its link. The link is a plain anchor, so it
   collides with the theme's anchor rules in exactly the same way. */
.bd-offices-map .leaflet-control-attribution {
	background: rgba(255, 255, 255, 0.85);
	color: #333333;
}
.bd-offices-map .leaflet-control-attribution a,
.bd-offices-map .leaflet-control-attribution a:link,
.bd-offices-map .leaflet-control-attribution a:visited,
.bd-offices-map .leaflet-control-attribution a:hover,
.bd-offices-map .leaflet-control-attribution a:focus {
	color: #0B5C3F;
	text-decoration: none;
}
.bd-offices-map .leaflet-control-attribution a:hover,
.bd-offices-map .leaflet-control-attribution a:focus {
	text-decoration: underline;
}

/* The popup. Leaflet's popup is a white bubble in both themes, so its text
   is pinned dark rather than following --ink (which is light in dark mode
   and would vanish on the white bubble) — and the Directions link is pinned
   too, because as a bare anchor it otherwise loses to `.site-footer a`. */
.bd-offices-map .leaflet-popup-content { margin: 0.7rem 0.9rem; line-height: 1.45; }
.bd-offices-map .leaflet-popup-content-wrapper,
.bd-offices-map .leaflet-popup-tip { background: #FFFFFF; color: #1A1E1C; }
.bd-offices-map .leaflet-container a.leaflet-popup-close-button,
.bd-offices-map .leaflet-container a.leaflet-popup-close-button:hover,
.bd-offices-map .leaflet-container a.leaflet-popup-close-button:focus {
	color: #5A605D;
	text-decoration: none;
}
.bd-offices-map .bd-office-pop { display: flex; flex-direction: column; gap: 0.25rem; min-width: 11rem; color: #1A1E1C; }
.bd-offices-map .bd-office-pop strong { font-size: var(--fs-sm, 0.95rem); color: #12161A; }
.bd-offices-map .bd-office-pop__addr { color: #454D48; font-size: var(--fs-sm, 0.95rem); }
.bd-offices-map .bd-office-pop__note { color: #6B7570; font-size: 0.8rem; font-style: italic; }
.bd-offices-map .bd-office-pop__dir,
.bd-offices-map .bd-office-pop__dir:link,
.bd-offices-map .bd-office-pop__dir:visited,
.bd-offices-map .bd-office-pop__dir:hover,
.bd-offices-map .bd-office-pop__dir:focus { font-weight: 600; color: #0E7A56; }

/* Dark mode: the frame, the list and the popup text follow the tokens;
   the tile image stays a light image, which is expected of a map.
   The zoom control is themed to the dark palette with light glyphs
   (#EDF1EF on #1B2320) rather than left as a white box on the dark
   footer; the attribution strip goes dark with a mint link. */
html[data-bd-theme="dark"] .bd-offices-map__item {
	background: var(--paper, #14171A);
	border-color: var(--line, #2C3438);
}
html[data-bd-theme="dark"] .bd-offices-map__label { color: var(--ink, #EDF1EF); }
html[data-bd-theme="dark"] .bd-offices-map__addr { color: var(--body, #DCE3DF); }
html[data-bd-theme="dark"] .bd-offices-map .leaflet-container { background: var(--warm-ivory, #191D20); }
html[data-bd-theme="dark"] .bd-offices-map .leaflet-bar a {
	background: #1B2320;
	color: #EDF1EF;
	border-bottom-color: #2C3438;
}
html[data-bd-theme="dark"] .bd-offices-map .leaflet-bar a:hover,
html[data-bd-theme="dark"] .bd-offices-map .leaflet-bar a:focus { background: #232A2E; }
html[data-bd-theme="dark"] .bd-offices-map .leaflet-bar a.leaflet-disabled,
html[data-bd-theme="dark"] .bd-offices-map .leaflet-bar a.leaflet-disabled:hover {
	background: #1B2320;
	color: #6E7A74;
}
html[data-bd-theme="dark"] .bd-offices-map .leaflet-control-attribution {
	background: rgba(20, 23, 26, 0.82);
	color: #C9D2CD;
}
html[data-bd-theme="dark"] .bd-offices-map .leaflet-control-attribution a {
	color: #6FD3AC;
}


/* ==== assets/css/site-search.css ==== */
/* =====================================================================
   BISMAY DASH & ASSOCIATES - WHOLE-SITE SEARCH
   assets/css/site-search.css - v4.9.268

   Styles for the site-wide search bar (header + results page) and for the
   result list. Namespaced .bd-search / .bd-search-result so nothing here can
   collide with the theme, with the per-article "Search this article" bar
   (assets/css/article-search.css, .bd-afind) or with imported article markup.

   Colours, type, radius, spacing and motion are the theme's own tokens only
   - --paper, --ivory, --gold, --gold-deep, --gold-faint, --gold-line, --ink,
   --body, --muted, --line, --line-dark, --radius, --radius-pill, --shadow,
   --dur, --ease - so the bar follows the site (and its dark mode) with no
   new palette and no warm or champagne tones.
   ===================================================================== */

.bd-search-toggle-wrap {
	display: inline-flex;
	align-items: center;
	flex-shrink: 0;
	margin-right: 0.15rem;
}

.site-navigation .bd-search-toggle {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.15rem;
	height: 2.15rem;
	padding: 0;
	gap: 0;
	color: var(--gold-deep);
	background: var(--paper);
	border: 1px solid var(--gold-line);
	border-radius: var(--radius-pill);
	cursor: pointer;
	text-decoration: none;
	transition: border-color var(--dur) var(--ease), background var(--dur) var(--ease);
}

.site-navigation .bd-search-toggle:hover {
	border-color: var(--gold-deep);
}

.site-navigation .bd-search-toggle:focus-visible {
	outline: 2px solid var(--gold-deep);
	outline-offset: 2px;
}

.site-navigation .bd-search-toggle svg {
	display: block;
}

.site-navigation .bd-search-toggle[aria-expanded="true"] {
	background: var(--gold-faint);
	border-color: var(--gold);
}

/* The revealed panel. Absolutely positioned under the header so it never
   contributes to the header's height while it is closed. */
.bd-search-drop {
	position: absolute;
	top: 100%;
	left: 0;
	right: 0;
	z-index: 1200;
	background: var(--paper);
	border-top: 1px solid var(--line);
	border-bottom: 1px solid var(--line);
	box-shadow: var(--shadow);
	padding-block: 0.7rem;
}

.bd-search-drop[hidden] {
	display: none;
}

.bd-search-drop__inner {
	display: flex;
	align-items: flex-start;
	gap: 0.6rem;
}

.bd-search-drop__inner .bd-search {
	flex: 1 1 auto;
	min-width: 0;
}

.bd-search-drop__close {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
	width: 2.15rem;
	height: 2.15rem;
	padding: 0;
	color: var(--gold-deep);
	background: var(--paper);
	border: 1px solid var(--gold-line);
	border-radius: var(--radius-pill);
	cursor: pointer;
	transition: border-color var(--dur) var(--ease), background var(--dur) var(--ease);
}

.bd-search-drop__close:hover {
	border-color: var(--gold-deep);
}

.bd-search-drop__close:focus-visible {
	outline: 2px solid var(--gold-deep);
	outline-offset: 2px;
}

.bd-search-drop__close svg {
	display: block;
}

/* Dark mode: the same adaptation the accessibility control makes. */
html[data-bd-theme="dark"] .site-navigation .bd-search-toggle,
html[data-bd-theme="dark"] .bd-search-drop__close {
	background: var(--ivory);
	color: var(--gold-deep);
	border-color: var(--gold-line);
}

html[data-bd-theme="dark"] .bd-search-drop {
	background: var(--paper);
	border-color: var(--line);
}

/* ---------------------------------------------------------
   The bar
   --------------------------------------------------------- */
.bd-search {
	position: relative;
}

.bd-search__form {
	position: relative;
	margin: 0;
}

.bd-search--header .bd-search__form {
	max-width: 640px;
}

.bd-search--results {
	margin-bottom: var(--space-4);
}

.bd-search--results .bd-search__form {
	max-width: 640px;
}

.bd-search__field {
	display: flex;
	align-items: center;
	gap: 0.25rem;
	background: var(--paper);
	border: 1px solid var(--line-dark);
	border-radius: var(--radius-pill);
	padding: 0.2rem 0.2rem 0.2rem 0.9rem;
	transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}

.bd-search__field:focus-within {
	border-color: var(--gold);
	box-shadow: 0 0 0 3px var(--gold-faint);
}

.bd-search__icon {
	display: inline-flex;
	align-items: center;
	color: var(--gold-deep);
	flex: 0 0 auto;
}

.bd-search__icon svg {
	display: block;
}

.bd-search__input {
	flex: 1 1 auto;
	min-width: 0;
	margin: 0;
	padding: 0.55rem 0.4rem;
	font-family: var(--font-sans);
	font-size: var(--fs-sm);
	line-height: 1.4;
	color: var(--body);
	background: transparent;
	border: 0;
	-webkit-appearance: none;
	appearance: none;
}

.bd-search__input:focus {
	outline: none;
}

.bd-search__input::placeholder {
	color: var(--muted);
	opacity: 1;
}

/* Do not let the native clear affordance double the visible controls. */
.bd-search__input::-webkit-search-cancel-button {
	-webkit-appearance: none;
	appearance: none;
}

.bd-search__submit {
	flex: 0 0 auto;
	margin: 0;
	padding: 0.5rem 1.1rem;
	font-family: var(--font-sans);
	font-size: var(--fs-sm);
	font-weight: 600;
	letter-spacing: 0.02em;
	color: var(--paper);
	background: var(--gold);
	border: 1px solid var(--gold);
	border-radius: var(--radius-pill);
	cursor: pointer;
	transition: background var(--dur) var(--ease), color var(--dur) var(--ease);
}

.bd-search__submit:hover {
	background: var(--gold-deep);
	border-color: var(--gold-deep);
}

.bd-search__submit:focus-visible {
	outline: 2px solid var(--gold-deep);
	outline-offset: 2px;
}

/* ---------------------------------------------------------
   The live suggestion panel
   --------------------------------------------------------- */
.bd-search__panel {
	position: absolute;
	z-index: 1200;
	top: calc(100% + 6px);
	left: 0;
	right: 0;
	background: var(--paper);
	border: 1px solid var(--line);
	border-top: 2px solid var(--gold);
	border-radius: var(--radius);
	box-shadow: var(--shadow);
	padding: 0.4rem;
	max-height: 62vh;
	overflow-y: auto;
	overscroll-behavior: contain;
}

.bd-search__panel[hidden],
.bd-search__all[hidden],
.bd-search__list[hidden] {
	display: none;
}

.bd-search__status {
	margin: 0;
	padding: 0.5rem 0.7rem;
	font-size: var(--fs-xs);
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--muted);
}

.bd-search__status:empty {
	display: none;
}

.bd-search__list {
	margin: 0;
	padding: 0;
	list-style: none;
}

.bd-search__option {
	margin: 0;
}

.bd-search__option-link {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 0.75rem;
	padding: 0.55rem 0.7rem;
	border-radius: var(--radius);
	color: var(--body);
	text-decoration: none;
}

.bd-search__option-link.is-active,
.bd-search__option-link:hover,
.bd-search__option-link:focus-visible {
	background: var(--gold-faint);
	color: var(--gold-deep);
	outline: none;
}

.bd-search__option-title {
	font-size: var(--fs-sm);
	font-weight: 500;
}

.bd-search__option-type {
	flex: 0 0 auto;
	font-size: var(--fs-xs);
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--gold-deep);
	white-space: nowrap;
}

.bd-search__all {
	margin: 0;
	padding: 0.5rem 0.7rem 0.35rem;
	border-top: 1px solid var(--line);
}

.bd-search__all-link {
	font-size: var(--fs-sm);
	font-weight: 600;
	color: var(--gold-deep);
	text-decoration: none;
}

.bd-search__all-link:hover,
.bd-search__all-link:focus-visible {
	text-decoration: underline;
}

/* ---------------------------------------------------------
   The results page
   --------------------------------------------------------- */
.bd-search-results {
	margin: 0;
	padding: 0;
}

.bd-search-results__count {
	margin: 0 0 var(--space-3);
	color: var(--muted);
}

.bd-search-result {
	display: block;
}

.bd-search-result__title {
	font-size: var(--fs-lg);
	margin-bottom: 0.3em;
}

.bd-search-result__title a {
	text-decoration: none;
	color: inherit;
}

.bd-search-result__title a:hover,
.bd-search-result__title a:focus-visible {
	color: var(--gold-deep);
}

.bd-search-result__excerpt {
	margin: 0.2em 0 0.4em;
	color: var(--muted);
}

.bd-search-mark {
	background: var(--gold-faint);
	color: inherit;
	padding: 0 0.12em;
	border-radius: 2px;
}

/* Tighter on small screens so the field keeps as much room as possible. */
@media (max-width: 560px) {
	.bd-search__field {
		padding-left: 0.7rem;
	}

	.bd-search__submit {
		padding: 0.5rem 0.85rem;
	}
}

/* =====================================================================
   v4.9.334 — THE SEARCH CONTROL OWNS ITS COLOURS

   The control was reported as failing to follow the theme until a refresh:
   switching to dark left it nearly invisible. Every colour it used was a
   variable (--paper, --gold-deep, --gold-line), and those variables are
   pinned twice: once on <html> for the page, and again inside
   .site-header-stack by the premium layer, which exists so the header keeps
   its own light palette. Which of the two a descendant resolves is not
   something a reader should have to reason about, and the accessibility
   button next to it — whose dark rule uses literal colours — never had the
   problem.

   So this control now states its colours outright in both modes, exactly as
   the accessibility button does. No variable chain, no inheritance from the
   header's pinned palette, nothing to go stale. The values are the same ones
   the variables resolve to, so nothing looks different; the difference is
   that there is now one place to look when it is wrong.
   ===================================================================== */

.site-navigation .bd-search-toggle {
	background: #FAFAF7;
	color: #104532;
	border-color: #D9D4C4;
}

.site-navigation .bd-search-toggle:hover {
	background: #FFFFFF;
	border-color: #104532;
}

.site-navigation .bd-search-toggle[aria-expanded="true"] {
	background: #EAF0EC;
	border-color: #145A43;
}

html[data-bd-theme="dark"] .site-navigation .bd-search-toggle {
	background: #232A2E;
	color: #EDF1EF;
	border-color: #3A4A43;
}

html[data-bd-theme="dark"] .site-navigation .bd-search-toggle:hover {
	background: #2A3338;
	border-color: #7FD8B4;
}

html[data-bd-theme="dark"] .site-navigation .bd-search-toggle[aria-expanded="true"] {
	background: #1B2A25;
	border-color: #7FD8B4;
}

/* The revealed panel and its close control carry the same dependency. */
.bd-search-drop {
	background: #FAFAF7;
	border-color: #E5E1D5;
	color: #12161A;
}

html[data-bd-theme="dark"] .bd-search-drop {
	background: #14171A;
	border-color: #2C3438;
	color: #EDF1EF;
}

.bd-search-drop__close {
	background: #FAFAF7;
	color: #104532;
	border-color: #D9D4C4;
}

html[data-bd-theme="dark"] .bd-search-drop__close {
	background: #232A2E;
	color: #EDF1EF;
	border-color: #3A4A43;
}

/* =====================================================================
   v4.9.335 — THE ICON STOPS DEPENDING ON INHERITANCE

   The magnifier was drawn with stroke="currentColor", so its colour was
   inherited from the anchor's `color`. On the reporter's device it painted one
   theme behind: near-black on the dark pill, white on the white pill, in both
   directions, while the pill itself changed correctly. Two fixes had already
   failed because both kept the icon's colour inherited.

   Three changes, each removing a way for that to happen:

   1. The stroke is set on the SVG itself, per theme, so the icon no longer
      depends on inheriting a colour from a parent that may repaint late.
   2. The fade is removed. A control whose colours flip wholesale has no reason
      to animate, and a 0.2 s transition is a window in which a screenshot, or
      a slow device, sees a half-applied state.
   3. The script forces a repaint of the header after a theme change (see
      accessibility.js), because a paint layer that is not invalidated is the
      one cause neither of the above can reach.
   ===================================================================== */

.site-navigation .bd-search-toggle {
	transition: none;
}

.site-navigation .bd-search-toggle svg {
	stroke: #104532;
	transition: none;
}

html[data-bd-theme="dark"] .site-navigation .bd-search-toggle svg {
	stroke: #EDF1EF;
}

.site-navigation .bd-search-toggle:hover svg {
	stroke: #104532;
}

html[data-bd-theme="dark"] .site-navigation .bd-search-toggle:hover svg {
	stroke: #FFFFFF;
}

/* v4.9.361: titles remain readable in narrow search panels. */
.bd-search__option-link { text-align: left; min-height: 44px; }
.bd-search__option-title { min-width: 0; overflow-wrap: anywhere; }
@media (max-width: 600px) {
    .bd-search__option-link { flex-direction: column; align-items: flex-start; gap: .15rem; }
    .bd-search__option-type { white-space: normal; }
}
/* Keep the assistant from covering suggestions; its own state is preserved. */
html.bd-header-search-open [data-bdka-launch] { visibility: hidden !important; pointer-events: none !important; }


/* ==== assets/css/reading.css ==== */
/* =====================================================================
   reading.css — how a long article reads (v4.9.330)

   Three changes, all presentation, none of them touching a word of content:

   1. THE CALLOUTS ARE QUIETER. The Land and Property article carries sixty
      callout boxes across ten different labels, each with the same visual
      weight as the last. A coloured panel every nine paragraphs is why a
      36,000-word guide reads as a form. They keep their words and their
      order; they lose the box. A rule down the left, a small label, and
      the page breathes. The warning treatment stays strong, because a
      warning is the one callout that should stop the eye.

   2. THE SECTIONS BREATHE. Forty-six sections running on with uniform
      spacing read as one column. A hairline and more room before each h2
      makes them read as chapters.

   3. THE READING RAIL. A slim fixed line at the top of the viewport and
      the current section at the bottom left, so a reader knows where they
      are in a document this long. Hidden until the script claims it.

   Nothing here is scoped to a template except where it has to be: the
   callout and heading rules apply only inside an article's content, so a
   callout in a page or a tool is unaffected.
   ===================================================================== */

/* ---------------------------------------------------------------
   1. The callouts
   --------------------------------------------------------------- */

.single-post .entry-content .callout {
    background: none;
    border: 0;
    border-left: 2px solid var(--line-dark);
    border-radius: 0;
    padding: .1rem 0 .1rem 1.05rem;
    margin: 1.75rem 0;
}

.single-post .entry-content .callout > :first-child { margin-top: 0; }
.single-post .entry-content .callout > :last-child { margin-bottom: 0; }

/* One label treatment for all ten labels. The label identifies the box; it
   does not need a colour of its own to do that. */
.single-post .entry-content .callout__label,
.single-post .entry-content .callout__title {
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .09em;
    text-transform: uppercase;
    color: var(--ink-soft, #5A5A5A);
    margin: 0 0 .3rem;
}

/* The icon prefixes go. Ten labels with ten symbols is decoration, and at
   sixty callouts it is the decoration a reader notices first. */
.single-post .entry-content .callout__title::before,
.single-post .entry-content .callout__label::before { content: none; }

/* A warning keeps its weight, and only a warning does. */
.single-post .entry-content .callout--warning {
    border-left-color: var(--error);
    background: color-mix(in srgb, var(--error) 4%, transparent);
    padding: .8rem 1rem .8rem 1.05rem;
}

.single-post .entry-content .callout--warning .callout__label,
.single-post .entry-content .callout--warning .callout__title {
    color: var(--error);
}

/* ---------------------------------------------------------------
   2. The sections
   --------------------------------------------------------------- */

.single-post .entry-content > h2 {
    margin-top: 3.4rem;
    padding-top: 1.7rem;
    border-top: 1px solid var(--line, rgba(0,0,0,.12));
}

/* The first heading after the opener does not need a rule above it: the
   article has already been separated from the header. */
.single-post .entry-content > h2:first-of-type {
    margin-top: 2.2rem;
    padding-top: 0;
    border-top: 0;
}

.single-post .entry-content > h3 {
    margin-top: 2.1rem;
}

/* A heading is followed by its text, not by a gap the same size as the one
   before the heading. */
.single-post .entry-content > h2 + p,
.single-post .entry-content > h3 + p {
    margin-top: .55rem;
}

/* ---------------------------------------------------------------
   3. The reading rail
   --------------------------------------------------------------- */

.bd-rail {
    position: fixed;
    left: 1rem;
    bottom: 1rem;
    z-index: 40;
    display: flex;
    align-items: center;
    gap: .6rem;
    max-width: min(22rem, calc(100vw - 6rem));
    padding: .45rem .8rem .45rem .7rem;
    border-radius: 999px;
    background: color-mix(in srgb, var(--paper, #fff) 92%, transparent);
    border: 1px solid var(--line, rgba(0,0,0,.12));
    backdrop-filter: blur(6px);
    font-size: .78rem;
    line-height: 1.2;
    color: var(--ink-soft, #5A5A5A);
    box-shadow: 0 2px 10px rgba(0,0,0,.06);
}

.bd-rail[hidden] { display: none; }

.bd-rail__progress {
    position: relative;
    display: block;
    width: 2.6rem;
    height: 3px;
    border-radius: 2px;
    background: var(--line, rgba(0,0,0,.12));
    overflow: hidden;
    flex: none;
}

.bd-rail__bar {
    position: absolute;
    inset: 0 auto 0 0;
    width: 0;
    background: var(--emerald, #0F6B4F);
    transition: width .12s linear;
}

.bd-rail__now {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 13rem;
}

.bd-rail__count {
    flex: none;
    font-variant-numeric: tabular-nums;
    opacity: 1;
    color: var(--ink, #12161A);
}

/* On a phone the rail would sit under the reader's thumb and over the text.
   The progress line is the useful half, so the label goes and the line stays. */
@media (max-width: 640px) {
    .bd-rail {
        left: .6rem;
        bottom: .6rem;
        padding: .35rem .6rem;
        gap: .45rem;
    }
    .bd-rail__now { display: none; }
    .bd-rail__progress { width: 2.2rem; }
}

@media (prefers-reduced-motion: reduce) {
    .bd-rail__bar { transition: none; }
}

/* ---------------------------------------------------------------
   4. The table of contents is obviously openable  (v4.9.332)

   Until now the only affordance was a bare "+" glyph floated right, in
   small gold type, with no size, no border and no weight. On a cream
   panel it reads as punctuation rather than as a control, and a reader
   who does not already know the box opens never finds out.

   The marker becomes a control: a bordered disc the size of a thumb,
   dark green on white, with the plus centred in it. It turns to a minus
   when the panel is open, the whole summary row takes a hover and focus
   state so it reads as clickable, and the target is the full width of
   the row rather than the glyph.
   --------------------------------------------------------------- */

.single-post .bd-toc > summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
    padding: .5rem .55rem .5rem .1rem;
    border-radius: 4px;
    cursor: pointer;
}

.single-post .bd-toc > summary:hover,
.single-post .bd-toc > summary:focus-visible {
    background: rgba(20, 90, 67, .06);
}

.single-post .bd-toc > summary::after {
    content: "+";
    float: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: none;
    width: 1.6rem;
    height: 1.6rem;
    border: 1px solid var(--line-dark, #D9D4C4);
    border-radius: 50%;
    background: #fff;
    color: var(--gold-deep, #104532);
    font-size: 1.15rem;
    font-weight: 600;
    line-height: 1;
    padding-bottom: .1rem;
}

.single-post .bd-toc[open] > summary::after {
    content: "\2212"; /* a true minus, not an en dash */
}

/* The summary is a control, so it should not look like a label that happens
   to be bold. Uppercase small caps stay, the tracking comes down slightly so
   it reads as a button caption rather than a heading. */
.single-post .bd-toc > summary {
    letter-spacing: .12em;
}

