/* =====================================================================
   Mwirigi, Nzomo & Company Advocates
   Layout: "chambers and court". Left-aligned editorial columns on cool white paper,
   periwinkle bands taken from the studio backdrop, navy ink from the suits,
   and oxblood (the ties) kept for actions and the firm's seal.
   ===================================================================== */

@font-face {
	font-family: "EB Garamond";
	src: url("../fonts/eb-garamond-latin-wght-normal.woff2") format("woff2");
	font-weight: 400 800;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: "EB Garamond";
	src: url("../fonts/eb-garamond-latin-wght-italic.woff2") format("woff2");
	font-weight: 400 800;
	font-style: italic;
	font-display: swap;
}
:root {
	/* Colour */
	--paper: #FBFBFE;
	--surface: #FFFFFF;
	--mist: #ECEBF6;
	--mist-deep: #D9D7EE;
	--ink: #161B2E;
	--navy: #22386A;
	--on-navy: #FFFFFF;
	--muted: #535970;
	--line: #D7D6E7;
	--line-strong: #A9A7C8;
	--seal: #8C1D2E;
	--seal-strong: #6F1422;
	--seal-tint: #F7EAED;
	--on-seal: #FFFFFF;
	--band-ink: #19213F;
	--on-band: #EEF0FA;
	--on-band-muted: #B9BFDA;
	--band-line: rgba(238, 240, 250, 0.16);
	--focus: #3D63C9;
	--open: #2E9A66;
	--ok: #1D6B45;
	--ok-bg: #E5F3EB;
	--err: #9B1C2C;
	--err-bg: #FBEAEC;
	--shadow: 0 18px 40px -18px rgba(22, 27, 46, 0.35);

	/* Type */
	--font-display: "EB Garamond", Garamond, "Cormorant Garamond", Georgia, "Times New Roman", serif;
	--font-body: "EB Garamond", Garamond, Georgia, "Times New Roman", serif;
	--fs-xs: 0.9375rem;
	--fs-sm: 1.0625rem;
	--fs-base: 1.25rem;
	--fs-md: 1.5rem;
	--fs-lg: 1.75rem;
	--fs-xl: clamp(1.9rem, 3vw, 2.25rem);
	--fs-2xl: clamp(2.2rem, 4vw, 3rem);
	--fs-hero: clamp(2.7rem, 6.4vw, 5.25rem);

	/* Space */
	--wrap: 1200px;
	--gutter: clamp(16px, 4vw, 40px);
	--space-section: clamp(3.5rem, 7vw, 6rem);
	--radius: 3px;
	--header-h: 76px;
}

@media (prefers-color-scheme: dark) {
	:root:not([data-theme="light"]) {
		--paper: #0F1324;
		--surface: #161B30;
		--mist: #1A2039;
		--mist-deep: #262D4D;
		--ink: #E7E8F2;
		--navy: #B3C3F0;
		--on-navy: #0F1324;
		--muted: #A5ABC4;
		--line: #2B3254;
		--line-strong: #47507A;
		--seal: #C64B60;
		--seal-strong: #D96477;
		--seal-tint: #2C1620;
		--on-seal: #FFFFFF;
		--band-ink: #0A0D1B;
		--on-band: #E7E8F2;
		--on-band-muted: #A5ABC4;
		--band-line: rgba(231, 232, 242, 0.14);
		--focus: #8FB0FF;
		--open: #5FD39A;
		--ok: #8FDCB2;
		--ok-bg: #12291F;
		--err: #F3A3AE;
		--err-bg: #2E1419;
		--shadow: 0 18px 40px -18px rgba(0, 0, 0, 0.7);
		color-scheme: dark;
	}
}
:root[data-theme="dark"] {
	--paper: #0F1324;
	--surface: #161B30;
	--mist: #1A2039;
	--mist-deep: #262D4D;
	--ink: #E7E8F2;
	--navy: #B3C3F0;
	--on-navy: #0F1324;
	--muted: #A5ABC4;
	--line: #2B3254;
	--line-strong: #47507A;
	--seal: #C64B60;
	--seal-strong: #D96477;
	--seal-tint: #2C1620;
	--on-seal: #FFFFFF;
	--band-ink: #0A0D1B;
	--on-band: #E7E8F2;
	--on-band-muted: #A5ABC4;
	--band-line: rgba(231, 232, 242, 0.14);
	--focus: #8FB0FF;
	--open: #5FD39A;
	--ok: #8FDCB2;
	--ok-bg: #12291F;
	--err: #F3A3AE;
	--err-bg: #2E1419;
	--shadow: 0 18px 40px -18px rgba(0, 0, 0, 0.7);
	color-scheme: dark;
}

/* ---------- Base ---------- */

*, *::before, *::after { box-sizing: border-box; }

html {
	-webkit-text-size-adjust: 100%;
	scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
	margin: 0;
	background: var(--paper);
	color: var(--ink);
	font-family: var(--font-body);
	font-size: var(--fs-base);
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
	overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
svg { flex-shrink: 0; }

h1, h2, h3, h4 {
	font-family: var(--font-display);
	font-weight: 500;
	color: var(--navy);
	line-height: 1.15;
	margin: 0;
	text-wrap: balance;
	font-variant-numeric: lining-nums;
}

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

a { color: var(--navy); text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { color: var(--seal); text-decoration-thickness: 2px; }

:focus-visible {
	outline: 3px solid var(--focus);
	outline-offset: 2px;
	border-radius: 2px;
}

address { font-style: normal; }

[hidden] { display: none !important; }

.screen-reader-text {
	position: absolute !important;
	width: 1px; height: 1px;
	padding: 0; margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.skip-link {
	position: absolute;
	left: 16px;
	top: -100px;
	z-index: 100;
	background: var(--navy);
	color: var(--on-navy);
	padding: 0.75rem 1rem;
	border-radius: var(--radius);
	font-weight: 600;
}
.skip-link:focus { top: 16px; color: var(--on-navy); }

.wrap {
	width: 100%;
	max-width: calc(var(--wrap) + 2 * var(--gutter));
	margin-inline: auto;
	padding-left: max(var(--gutter), env(safe-area-inset-left, 0px));
	padding-right: max(var(--gutter), env(safe-area-inset-right, 0px));
}
.wrap--text { max-width: calc(46rem + 2 * var(--gutter)); }

.muted { color: var(--muted); }

/* ---------- Buttons and links ---------- */

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	min-height: 48px;
	padding: 0.75rem 1.25rem;
	font-family: var(--font-body);
	font-size: var(--fs-sm);
	font-weight: 650;
	line-height: 1.2;
	text-decoration: none;
	border: 1.5px solid transparent;
	border-radius: var(--radius);
	cursor: pointer;
	transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.btn--seal { background: var(--seal); color: var(--on-seal); }
.btn--seal:hover { background: var(--seal-strong); color: var(--on-seal); }
.btn--line { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn--line:hover { background: var(--navy); color: var(--on-navy); }
.btn--lg { min-height: 54px; padding: 0.9rem 1.5rem; font-size: 1.0625rem; }
.btn--block { width: 100%; }

.text-link {
	color: var(--navy);
	font-weight: 650;
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 0.22em;
}
.text-link:hover { color: var(--seal); text-decoration-thickness: 2px; }

/* ---------- Top bar ---------- */

.topbar {
	background: var(--band-ink);
	color: var(--on-band);
	font-size: var(--fs-xs);
	line-height: 1.4;
}
.topbar__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	padding-block: 0.5rem;
}
.topbar__hours { display: flex; align-items: center; gap: 0.5rem; margin: 0; }
.topbar__links { display: flex; gap: 1.25rem; list-style: none; margin: 0; padding: 0; }
.topbar a { color: var(--on-band); text-decoration: none; display: inline-flex; align-items: center; gap: 0.4rem; }
.topbar a:hover { color: var(--on-band); text-decoration: underline; }
.topbar .icon { width: 15px; height: 15px; opacity: 0.8; }
.tb-short { display: none; }

.status-dot {
	width: 8px; height: 8px;
	border-radius: 50%;
	background: var(--on-band-muted);
	flex: none;
}
.is-open .status-dot { background: var(--open); box-shadow: 0 0 0 3px rgba(46, 154, 102, 0.25); }

/* ---------- Header and navigation ---------- */

body::before {
	content: "";
	position: fixed;
	inset: 0 0 auto;
	height: env(safe-area-inset-top, 0px);
	z-index: 60;
	background: var(--paper);
}

.site-header {
	position: sticky;
	top: env(safe-area-inset-top, 0px);
	z-index: 50;
	background: var(--paper);
	border-bottom: 1px solid var(--line);
}
.site-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1.5rem;
	min-height: var(--header-h);
}

.brand {
	display: inline-flex;
	align-items: center;
	gap: 0.75rem;
	color: var(--navy);
	text-decoration: none;
}
.brand:hover { color: var(--navy); }
.brand__mark { width: 50px; height: 36px; }
.brand__name { display: flex; flex-direction: column; }
.brand__line1 {
	font-family: var(--font-display);
	font-size: 1.45rem;
	font-weight: 600;
	line-height: 1;
	letter-spacing: 0.005em;
}
.brand__line2 {
	font-size: 0.8125rem;
	color: var(--muted);
	letter-spacing: 0.02em;
	margin-top: 0.2rem;
}

.site-nav { display: flex; align-items: center; gap: 1.75rem; }
.nav-list { display: flex; align-items: center; gap: 0.25rem; list-style: none; margin: 0; padding: 0; }
.nav-list > li { position: relative; display: flex; align-items: center; }
.nav-list > li > a {
	display: block;
	padding: 0.6rem 0.7rem;
	color: var(--ink);
	font-size: var(--fs-sm);
	font-weight: 550;
	text-decoration: none;
	border-bottom: 2px solid transparent;
}
.nav-list > li > a:hover { color: var(--navy); border-bottom-color: var(--line-strong); }
.nav-list > li > a[aria-current="page"] { color: var(--navy); border-bottom-color: var(--seal); }

.sub-toggle {
	display: inline-grid;
	place-items: center;
	width: 28px; height: 32px;
	margin-left: -0.45rem;
	padding: 0;
	background: none;
	border: 0;
	color: var(--muted);
	cursor: pointer;
}
.sub-toggle svg { transition: transform 0.2s ease; }
.has-sub.is-open .sub-toggle svg { transform: rotate(180deg); }

.team-menu {
	position: absolute;
	top: calc(100% + 0.75rem);
	left: -1rem;
	width: 380px;
	padding: 0.75rem;
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	box-shadow: var(--shadow);
	visibility: hidden;
	opacity: 0;
	transform: translateY(-4px);
	transition: opacity 0.15s ease, transform 0.15s ease, visibility 0.15s;
}
.team-menu::before { content: ""; position: absolute; inset: -0.9rem 0 auto; height: 0.9rem; }
.has-sub:hover .team-menu,
.has-sub:focus-within .team-menu,
.has-sub.is-open .team-menu { visibility: visible; opacity: 1; transform: none; }
.team-menu ul { list-style: none; margin: 0; padding: 0; }
.team-menu__item {
	display: grid;
	grid-template-columns: 64px 1fr;
	gap: 0.9rem;
	align-items: center;
	padding: 0.6rem;
	border-radius: var(--radius);
	color: var(--ink);
	text-decoration: none;
}
.team-menu__item:hover { background: var(--mist); color: var(--ink); }
.team-menu__photo, .team-menu__initials {
	width: 64px; height: 64px;
	border-radius: 2px;
	object-fit: cover;
	background: var(--mist-deep);
}
.team-menu__initials {
	display: grid;
	place-items: center;
	font-family: var(--font-display);
	font-size: 1.5rem;
	color: var(--navy);
}
.team-menu__text { display: flex; flex-direction: column; line-height: 1.3; }
.team-menu__name { font-family: var(--font-display); font-size: 1.3rem; color: var(--navy); }
.team-menu__role { font-size: 0.9375rem; font-weight: 600; }
.team-menu__quals { font-size: 0.8125rem; color: var(--muted); letter-spacing: 0.02em; }
.team-menu__all {
	display: block;
	margin-top: 0.5rem;
	padding: 0.75rem 0.6rem 0.25rem;
	border-top: 1px solid var(--line);
	font-weight: 650;
	font-size: 0.9375rem;
}

.nav-toggle {
	display: none;
	align-items: center;
	gap: 0.6rem;
	min-height: 44px;
	padding: 0.5rem 0.75rem;
	background: none;
	border: 1.5px solid var(--line-strong);
	border-radius: var(--radius);
	color: var(--ink);
	font: 600 var(--fs-sm) / 1 var(--font-body);
	cursor: pointer;
}
.nav-toggle__bars, .nav-toggle__bars::before, .nav-toggle__bars::after {
	display: block;
	width: 18px; height: 2px;
	background: currentColor;
	position: relative;
	transition: transform 0.2s ease, background-color 0.2s ease;
}
.nav-toggle__bars::before, .nav-toggle__bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle__bars::before { top: -6px; }
.nav-toggle__bars::after { top: 6px; }
.nav-open .nav-toggle__bars { background: transparent; }
.nav-open .nav-toggle__bars::before { transform: translateY(6px) rotate(45deg); }
.nav-open .nav-toggle__bars::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 1080px) {
	.nav-toggle { display: inline-flex; }
	.site-nav {
		display: none;
		position: absolute;
		top: 100%;
		left: 0; right: 0;
		flex-direction: column;
		align-items: stretch;
		gap: 1rem;
		padding: 1rem max(var(--gutter), env(safe-area-inset-right, 0px)) 1.5rem max(var(--gutter), env(safe-area-inset-left, 0px));
		background: var(--paper);
		border-bottom: 1px solid var(--line);
		box-shadow: var(--shadow);
		max-height: calc(100vh - var(--header-h));
		overflow-y: auto;
	}
	.nav-open .site-nav { display: flex; }
	.nav-list { flex-direction: column; align-items: stretch; gap: 0; }
	.nav-list > li { flex-wrap: wrap; border-bottom: 1px solid var(--line); }
	.nav-list > li > a {
		flex: 1;
		padding: 0.95rem 0;
		font-family: var(--font-display);
		font-size: 1.5rem;
		font-weight: 500;
		color: var(--navy);
		border-bottom: 0;
	}
	.nav-list > li > a[aria-current="page"] { color: var(--seal); }
	.sub-toggle { width: 48px; height: 48px; margin: 0; }
	.team-menu {
		position: static;
		width: 100%;
		display: none;
		padding: 0 0 0.75rem;
		border: 0;
		box-shadow: none;
		background: transparent;
		visibility: visible;
		opacity: 1;
		transform: none;
	}
	.team-menu::before { display: none; }
	.has-sub.is-open .team-menu { display: block; }
	.has-sub:hover .team-menu, .has-sub:focus-within .team-menu { visibility: visible; }
	.nav-cta { width: 100%; }
}

@media (max-width: 640px) {
	.hide-sm { display: none; }
	.tb-full { display: none; }
	.tb-short { display: inline; font-weight: 650; }
	.topbar__hours { min-width: 0; }
	.topbar__hours span:last-child { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
	.brand__line1 { font-size: 1.25rem; }
	.brand__line2 { font-size: 0.75rem; }
	.brand__mark { width: 42px; height: 30px; }
	}

/* ---------- Sections ---------- */

.section { padding-block: var(--space-section); }
.section--tight { padding-block: clamp(2rem, 4vw, 3rem) var(--space-section); }
.section--rule { border-top: 1px solid var(--line); }
.band { padding-block: var(--space-section); }
.band--mist { background: var(--mist); }
.band--ink { background: var(--band-ink); color: var(--on-band); }

.section-head { max-width: 46rem; margin-bottom: clamp(2rem, 4vw, 3rem); }
.section-head p { color: var(--muted); font-size: 1.1875rem; margin-top: 0.75rem; }
.section-head--split {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: 1rem 3rem;
	max-width: none;
}
.section-head--split p { max-width: 36rem; margin: 0; }
.section-head--quiet { margin-bottom: 1.5rem; align-items: center; }
.section-title { font-size: var(--fs-2xl); letter-spacing: -0.01em; }
.section-title--sm { font-size: var(--fs-xl); margin-bottom: 1.25rem; }
.section-more { margin-top: 2rem; }

/* ---------- Hero ---------- */

.hero { padding-block: clamp(2.5rem, 6vw, 5.5rem) clamp(3.5rem, 7vw, 6.5rem); overflow: hidden; }
.hero__grid {
	display: grid;
	grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
	gap: clamp(2.5rem, 6vw, 5.5rem);
	align-items: center;
}
.hero__title {
	font-size: var(--fs-hero);
	font-weight: 500;
	line-height: 1.02;
	letter-spacing: -0.018em;
	color: var(--ink);
	max-width: 13ch;
}
.hero__intro {
	margin-top: clamp(1.25rem, 2.5vw, 2rem);
	font-size: clamp(1.1875rem, 1.6vw, 1.3125rem);
	line-height: 1.6;
	color: var(--muted);
	max-width: 36rem;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 2rem; }
.hero__call {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 0.25rem 1.25rem;
	margin-top: 1.75rem;
	font-family: var(--font-display);
	font-size: 1.5rem;
	font-variant-numeric: lining-nums tabular-nums;
}
.hero__call-label { font-family: var(--font-body); font-size: var(--fs-xs); font-weight: 600; color: var(--muted); }
.hero__call a { color: var(--navy); text-decoration: none; }
.hero__call a:hover { color: var(--seal); text-decoration: underline; }

.hero__figure { position: relative; margin: 0; justify-self: end; width: 100%; max-width: 470px; }
.hero__photo { position: relative; }
.hero__photo::before {
	content: "";
	position: absolute;
	inset: 1.75rem -1.75rem -1.75rem 1.75rem;
	background: var(--mist-deep);
	z-index: -1;
}
.hero__photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 2px; }
.hero__seal {
	position: absolute;
	width: clamp(104px, 11vw, 138px);
	left: clamp(-56px, -4vw, -24px);
	bottom: 3.25rem;
	transform: rotate(-9deg);
	color: var(--seal);
	filter: drop-shadow(0 6px 14px rgba(22, 27, 46, 0.25));
}
.hero__figure figcaption {
	margin-top: 2.5rem;
	font-size: var(--fs-xs);
	color: var(--muted);
	text-align: right;
}
.hero__sealpanel {
	display: grid;
	place-items: center;
	aspect-ratio: 4 / 5;
	background: var(--mist);
	border: 1px solid var(--line);
}
.hero__seal-large { width: 72%; color: var(--seal); }

.seal__ground { fill: var(--surface); }
.seal__text text { font-family: var(--font-display); font-weight: 600; }
.seal { display: block; }

@media (max-width: 900px) {
	.hero__grid { grid-template-columns: 1fr; }
	.hero__figure { justify-self: start; max-width: 420px; margin-inline: auto 1.75rem; }
	.hero__title { max-width: 16ch; }
}

/* ---------- Pathfinder ---------- */

.pathfinder__chips { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.chip {
	min-height: 44px;
	padding: 0.6rem 1.05rem;
	font: 550 var(--fs-sm) / 1.3 var(--font-body);
	text-align: left;
	color: var(--ink);
	background: var(--surface);
	border: 1.5px solid var(--line-strong);
	border-radius: 999px;
	cursor: pointer;
	transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.chip:hover { border-color: var(--navy); }
.chip[aria-selected="true"] { background: var(--navy); border-color: var(--navy); color: var(--on-navy); }

.pathfinder__panel {
	display: grid;
	grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
	gap: clamp(1.5rem, 4vw, 3.5rem);
	margin-top: 2rem;
	padding: clamp(1.5rem, 3.5vw, 2.75rem);
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: var(--radius);
}
.js .pathfinder__panel:not(.is-active) { display: none; }
.pathfinder__panel.is-urgent { border-left: 5px solid var(--seal); }
.pf__label { font-size: var(--fs-xs); font-weight: 650; color: var(--muted); margin-bottom: 0.35rem; }
.pf__title { font-size: clamp(1.75rem, 3vw, 2.25rem); margin-bottom: 0.75rem; }
.pf__title a { color: var(--navy); text-decoration: none; }
.pf__title a:hover { text-decoration: underline; }
.pf__forum { margin-top: 1.25rem; }
.pf__forum .pf__label { display: block; }
.pf__urgent {
	margin-top: 1.5rem;
	padding: 1rem 1.25rem;
	background: var(--seal-tint);
	border-radius: var(--radius);
}
.pf__urgent p:first-child { font-weight: 650; }
.pf__phones { display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; margin-top: 0.35rem; }
.pf__phones a {
	display: inline-flex;
	align-items: center;
	gap: 0.45rem;
	font-family: var(--font-display);
	font-size: 1.625rem;
	font-variant-numeric: lining-nums tabular-nums;
	color: var(--seal);
	text-decoration: none;
}
.pf__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; margin-top: 1.75rem; }
.pf__bring { border-left: 1px solid var(--line); padding-left: clamp(1.5rem, 3vw, 2.5rem); }
.pf__bring-title { font-size: 1.375rem; margin-bottom: 1rem; }

.checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.7rem; }
.checklist li { display: grid; grid-template-columns: 22px 1fr; gap: 0.6rem; align-items: start; line-height: 1.45; }
.checklist .icon { color: var(--seal); width: 20px; height: 20px; margin-top: 0.1rem; }

@media (max-width: 800px) {
	.pathfinder__panel { grid-template-columns: 1fr; }
	.pf__bring { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); padding-top: 1.5rem; }
}

/* ---------- Practice areas on the homepage ---------- */

.practice-columns { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(2rem, 4vw, 3.5rem); }
.practice-col__title {
	font-family: var(--font-body);
	font-size: var(--fs-sm);
	font-weight: 650;
	color: var(--muted);
	padding-bottom: 0.75rem;
	border-bottom: 1px solid var(--ink);
	margin-bottom: 0.5rem;
}
.practice-col__list { list-style: none; margin: 0; padding: 0; }
.practice-col__list li { border-bottom: 1px solid var(--line); }
.practice-col__list a {
	display: block;
	padding: 0.7rem 0;
	font-family: var(--font-display);
	font-size: 1.3125rem;
	line-height: 1.25;
	color: var(--navy);
	text-decoration: none;
}
.practice-col__list a:hover { color: var(--seal); }

@media (max-width: 900px) {
	.practice-columns { grid-template-columns: 1fr; }
}

/* ---------- Vision, mission and values ---------- */

.principles__grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(2.5rem, 6vw, 6rem); }
.statement + .statement { margin-top: 2.5rem; }
.statement__label { font-size: var(--fs-xs); font-weight: 650; color: var(--on-band-muted); margin-bottom: 0.6rem; }
.statement__text {
	font-family: var(--font-display);
	font-style: italic;
	font-size: clamp(1.6rem, 2.7vw, 2.2rem);
	line-height: 1.28;
	color: var(--on-band);
}
.values__title { color: var(--on-band); font-size: 1.5rem; margin-bottom: 0.75rem; }
.values { margin: 0; }
.values__item { padding-block: 1.1rem; border-bottom: 1px solid var(--band-line); }
.values__item:first-child { border-top: 1px solid var(--band-line); }
.values dt { font-family: var(--font-display); font-size: 1.5rem; color: var(--on-band); }
.values dd { margin: 0.2rem 0 0; color: var(--on-band-muted); font-size: 1.0625rem; }
.values__more { margin-top: 1.5rem; }
.band--ink .text-link { color: var(--on-band); }
.band--ink .text-link:hover { color: var(--on-band); }

@media (max-width: 900px) {
	.principles__grid { grid-template-columns: 1fr; }
}

/* ---------- People ---------- */

.people { display: grid; gap: clamp(2rem, 4vw, 3.5rem); }
.people--two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.people--many { grid-template-columns: repeat(auto-fill, minmax(min(100%, 480px), 1fr)); }

.person {
	display: grid;
	grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
	gap: clamp(1.25rem, 2.5vw, 2rem);
	align-items: start;
}
.person__photo {
	position: relative;
	display: block;
	aspect-ratio: 4 / 5;
	overflow: hidden;
	background: var(--mist-deep);
	border-radius: 2px;
}
.portrait { position: absolute; inset: 0; transition: opacity 0.35s ease; }
.portrait img { width: 100%; height: 100%; object-fit: cover; }
.portrait--court { opacity: 0; }
[data-portraits="court"] .portrait--court { opacity: 1; }
[data-portraits="court"] .portrait--chambers { opacity: 0; }
.portrait--initials { display: grid; place-items: center; background: var(--mist-deep); }
.portrait--initials span { font-family: var(--font-display); font-size: clamp(3rem, 6vw, 4.5rem); color: var(--navy); }
.person__name { font-size: clamp(1.6rem, 2.5vw, 2rem); }
.person__name a { color: var(--navy); text-decoration: none; }
.person__name a:hover { text-decoration: underline; }
.person__role { margin-top: 0.35rem; font-weight: 650; }
.person__quals { display: block; font-weight: 400; color: var(--muted); font-size: var(--fs-sm); letter-spacing: 0.02em; }
.person__summary { color: var(--muted); }

.view-switch {
	display: inline-flex;
	border: 1.5px solid var(--line-strong);
	border-radius: var(--radius);
	padding: 3px;
	background: var(--surface);
}
.view-switch__btn {
	min-height: 40px;
	padding: 0.45rem 0.95rem;
	font: 600 0.9375rem / 1.2 var(--font-body);
	color: var(--ink);
	background: none;
	border: 0;
	border-radius: 2px;
	cursor: pointer;
}
.view-switch__btn[aria-pressed="true"] { background: var(--navy); color: var(--on-navy); }

@media (max-width: 900px) {
	.people--two { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
	.person { grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: 1rem; }
	.person__summary { display: none; }
}

/* ---------- Insights lists ---------- */

.insights { border-bottom: 1px solid var(--line); }
.insight {
	display: grid;
	grid-template-columns: 7.5rem minmax(0, 1fr);
	gap: 1.5rem;
	padding-block: 1.75rem;
	border-top: 1px solid var(--line);
}
.insight__date { margin: 0; font-size: var(--fs-xs); color: var(--muted); line-height: 1.3; }
.insight__day {
	display: block;
	font-family: var(--font-display);
	font-size: 2.75rem;
	line-height: 1;
	color: var(--navy);
	font-variant-numeric: lining-nums;
}
.insight__cat { margin-bottom: 0.35rem; font-size: var(--fs-xs); font-weight: 650; }
.insight__cat a { color: var(--seal); text-decoration: none; }
.insight__cat a:hover { text-decoration: underline; }
.insight__title { font-size: clamp(1.45rem, 2.3vw, 1.8rem); line-height: 1.2; }
.insight__title a { color: var(--navy); text-decoration: none; }
.insight__title a:hover { text-decoration: underline; }
.insight__excerpt { margin-top: 0.6rem; color: var(--muted); max-width: 44rem; }
.insight__meta { margin-top: 0.6rem; font-size: var(--fs-xs); color: var(--muted); }

@media (max-width: 560px) {
	.insight { grid-template-columns: 1fr; gap: 0.5rem; }
	.insight__day { display: inline; font-size: inherit; font-family: inherit; color: inherit; }
}

/* ---------- Offices ---------- */

.offices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1rem, 3vw, 2rem); }
.office {
	padding: clamp(1.5rem, 3vw, 2.25rem);
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: var(--radius);
}
.office__name { font-size: 1.75rem; margin-bottom: 0.75rem; }
.office__address { font-size: 1.1875rem; line-height: 1.5; }
.office__po { color: var(--muted); font-size: var(--fs-sm); }
.office__facts { list-style: none; margin: 1.25rem 0 0; padding: 1.25rem 0 0; border-top: 1px solid var(--line); display: grid; gap: 0.75rem; }
.office__facts li { display: grid; grid-template-columns: 22px 1fr; gap: 0.6rem; align-items: start; font-size: var(--fs-sm); }
.office__facts .icon { color: var(--navy); margin-top: 0.2rem; }
.open-status { font-weight: 650; }
.open-status.is-open { color: var(--ok); }
.contact-offices .office + .office { margin-top: 1.5rem; }

.map { margin-top: 1.25rem; padding: 1rem; border: 1px dashed var(--line-strong); border-radius: var(--radius); }
.map__note { margin-top: 0.5rem; font-size: var(--fs-xs); color: var(--muted); }
.map iframe { display: block; width: 100%; aspect-ratio: 4 / 3; border: 0; border-radius: 2px; }
.map.is-loaded { padding: 0; border: 0; }

@media (max-width: 760px) {
	.offices { grid-template-columns: 1fr; }
}

/* ---------- Closing call to action ---------- */

.cta { border-top: 1px solid var(--line); padding-block: clamp(2.5rem, 5vw, 4rem); }
.cta__inner { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: clamp(1.25rem, 3vw, 2.5rem); }
.cta__seal { width: 92px; color: var(--seal); }
.cta__title { font-size: var(--fs-xl); color: var(--ink); }
.cta__text p { margin-top: 0.4rem; color: var(--muted); }
.cta__actions { display: flex; flex-direction: column; align-items: flex-start; gap: 0.6rem; }
.cta__phone { font-size: var(--fs-sm); color: var(--muted); }

@media (max-width: 760px) {
	.cta__inner { grid-template-columns: auto 1fr; }
	.cta__seal { width: 72px; }
	.cta__actions { grid-column: 1 / -1; }
}

/* ---------- Footer ---------- */

.site-footer {
	background: var(--band-ink);
	color: var(--on-band);
	padding-block: clamp(3rem, 6vw, 4.5rem) 2rem;
	padding-bottom: max(2rem, env(safe-area-inset-bottom, 0px));
	font-size: var(--fs-sm);
}
.site-footer a { color: var(--on-band); }
.site-footer a:hover { color: var(--on-band); text-decoration-thickness: 2px; }
.footer-grid {
	display: grid;
	grid-template-columns: minmax(0, 1.4fr) repeat(4, minmax(0, 1fr));
	gap: 2rem;
}
.footer-brand__mark { width: 56px; height: 40px; color: var(--on-band); }
.footer-brand__name { font-family: var(--font-display); font-size: 1.375rem; line-height: 1.25; margin: 0.75rem 0 0.5rem; }
.footer-brand p { color: var(--on-band-muted); }
.footer-social { display: inline-flex; align-items: center; gap: 0.5rem; }
.footer-h { font-family: var(--font-body); font-size: var(--fs-xs); font-weight: 650; color: var(--on-band-muted); margin-bottom: 0.75rem; }
.footer-col address { line-height: 1.55; margin-bottom: 0.75rem; }
.footer-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.4rem; }
.footer-hours { color: var(--on-band-muted); margin-top: 0.4rem; }
.footer-legal {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 0.75rem 2rem;
	margin-top: 3rem;
	padding-top: 1.5rem;
	border-top: 1px solid var(--band-line);
	color: var(--on-band-muted);
	font-size: var(--fs-xs);
}
.footer-legal p { margin: 0; max-width: 46rem; }

@media (max-width: 1000px) {
	.footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 520px) {
	.footer-grid { grid-template-columns: 1fr; }
}

/* ---------- Inner page heading ---------- */

.page-head { background: var(--mist); padding-block: clamp(2.25rem, 5vw, 4rem) clamp(2rem, 4vw, 3rem); }
.page-title { font-size: clamp(2.5rem, 5.5vw, 4rem); line-height: 1.05; letter-spacing: -0.015em; color: var(--ink); max-width: 20ch; }
.page-intro { margin-top: 1rem; max-width: 44rem; font-size: 1.25rem; color: var(--muted); }
.page-intro p { margin: 0; }

.crumbs { margin-bottom: 1.25rem; font-size: var(--fs-xs); }
.crumbs ol { display: flex; flex-wrap: wrap; list-style: none; margin: 0; padding: 0; }
.crumbs li { display: inline-flex; align-items: center; color: var(--muted); }
.crumbs li + li::before { content: "/"; margin: 0 0.55rem; color: var(--line-strong); }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--navy); text-decoration: underline; }

/* ---------- Long-form text ---------- */

.prose { max-width: 44rem; }
.prose > * + * { margin-top: 1.1em; }
.prose p { margin: 0; }
.prose > p + p { margin-top: 1.1em; }
.prose h2 { font-size: clamp(1.7rem, 2.6vw, 2.1rem); margin-top: 1.7em; }
.prose h3 { font-size: 1.5rem; margin-top: 1.8em; }
.prose h2 + *, .prose h3 + * { margin-top: 0.6em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: 0.45em; }
.prose li::marker { color: var(--seal); }
.prose blockquote {
	margin-inline: 0;
	padding-left: 1.25rem;
	border-left: 3px solid var(--seal);
	font-family: var(--font-display);
	font-size: 1.4rem;
	font-style: italic;
}
.prose img { border-radius: 2px; }
.prose figcaption { font-size: var(--fs-xs); color: var(--muted); margin-top: 0.5rem; }
.prose--lead > p:first-child { font-size: 1.3125rem; line-height: 1.55; color: var(--ink); }

/* ---------- About ---------- */

.about-grid { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: clamp(2.5rem, 6vw, 6rem); align-items: start; }
.about-aside__seal { width: 150px; color: var(--seal); margin-bottom: 1.75rem; }
.facts { margin: 0; border-top: 1px solid var(--line); }
.facts div { padding-block: 0.8rem; border-bottom: 1px solid var(--line); }
.facts dt { font-size: var(--fs-xs); font-weight: 650; color: var(--muted); }
.facts dd { margin: 0.15rem 0 0; font-family: var(--font-display); font-size: 1.3rem; color: var(--navy); line-height: 1.3; }

.steps { list-style: none; margin: 0; padding: 0; counter-reset: step; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(1.5rem, 3vw, 2.5rem); }
.steps__item { counter-increment: step; border-top: 2px solid var(--ink); padding-top: 1rem; }
.steps__item::before {
	content: counter(step);
	display: block;
	font-family: var(--font-display);
	font-size: 2.5rem;
	line-height: 1;
	color: var(--seal);
	font-variant-numeric: lining-nums;
	margin-bottom: 0.75rem;
}
.steps__title { font-size: 1.4rem; margin-bottom: 0.4rem; }
.steps__item p { color: var(--muted); }
.steps--compact { grid-template-columns: 1fr; gap: 1.25rem; }
.steps--compact .steps__item { border-top-width: 1px; display: grid; grid-template-columns: 2.25rem 1fr; column-gap: 0.75rem; }
.steps--compact .steps__item::before { grid-row: span 2; font-size: 1.75rem; margin: 0; }
.steps--compact .steps__title { font-size: 1.25rem; }

@media (max-width: 900px) {
	.about-grid { grid-template-columns: 1fr; }
	.steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 520px) {
	.steps { grid-template-columns: 1fr; }
}

/* ---------- Practice areas page: cause list ---------- */

.filter { margin-bottom: 1rem; }
.filter__label { display: block; font-weight: 650; margin-bottom: 0.4rem; }
.filter__input {
	width: min(100%, 34rem);
	min-height: 52px;
	padding: 0.8rem 1rem;
	font: inherit;
	color: var(--ink);
	background: var(--surface);
	border: 1.5px solid var(--line-strong);
	border-radius: var(--radius);
}
.filter__input:focus { border-color: var(--navy); }
.filter__empty { margin-top: 1rem; padding: 1rem 1.25rem; background: var(--mist); border-radius: var(--radius); }

.causelist { margin-top: clamp(2.5rem, 5vw, 3.5rem); }
.causelist__title { font-size: var(--fs-xl); margin-bottom: 1rem; }
.causelist__head,
.causelist__row { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 2rem; }
.causelist__head {
	padding-bottom: 0.6rem;
	border-bottom: 2px solid var(--ink);
	font-size: var(--fs-xs);
	font-weight: 650;
	color: var(--muted);
}
.causelist__rows { list-style: none; margin: 0; padding: 0; }
.causelist__row { padding-block: 1.35rem; border-bottom: 1px solid var(--line); }
.causelist__name { font-size: 1.5rem; line-height: 1.2; }
.causelist__name a { color: var(--navy); text-decoration: none; }
.causelist__name a:hover { color: var(--seal); text-decoration: underline; }
.causelist__matter p { margin-top: 0.35rem; color: var(--muted); }
.causelist__forum { margin: 0; font-size: var(--fs-sm); line-height: 1.5; }
.causelist__forum-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); }

@media (max-width: 720px) {
	.causelist__head { display: none; }
	.causelist__row { grid-template-columns: 1fr; gap: 0.6rem; }
	.causelist__forum-label { position: static; width: auto; height: auto; clip: auto; display: block; font-size: var(--fs-xs); font-weight: 650; color: var(--muted); }
}

/* ---------- Practice area page ---------- */

.practice-grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: clamp(2.5rem, 6vw, 5rem); align-items: start; }
.practice-main .section-title--sm { margin-top: 2.75rem; }
.service-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 2rem; }
.service-list li {
	position: relative;
	padding: 0.8rem 0 0.8rem 1.4rem;
	border-bottom: 1px solid var(--line);
	line-height: 1.45;
}
.service-list li::before {
	content: "";
	position: absolute;
	left: 0; top: 1.3rem;
	width: 7px; height: 7px;
	background: var(--seal);
}
.docket { padding: 1.25rem 1.5rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.docket__label { margin: 0; font-size: var(--fs-xs); font-weight: 650; color: var(--muted); }
.docket__value { margin: 0.2rem 0 0; font-family: var(--font-display); font-size: 1.3rem; line-height: 1.35; color: var(--navy); }
.docket__value + .docket__label { margin-top: 1rem; }
.bring { margin-top: 1.5rem; padding: 1.5rem; background: var(--mist); border-radius: var(--radius); }
.bring__title { font-size: 1.5rem; margin-bottom: 1rem; }
.bring .btn { margin-top: 1.5rem; }
.urgent-box { margin-bottom: 2rem; padding: 1.25rem 1.5rem; background: var(--seal-tint); border-left: 5px solid var(--seal); border-radius: var(--radius); }
.urgent-box__phones { display: flex; flex-wrap: wrap; gap: 0.5rem 1.75rem; margin-top: 0.4rem; }
.urgent-box__phones a {
	display: inline-flex; align-items: center; gap: 0.5rem;
	font-family: var(--font-display);
	font-size: 1.75rem;
	color: var(--seal);
	text-decoration: none;
	font-variant-numeric: lining-nums tabular-nums;
}
.related-areas { display: flex; flex-wrap: wrap; gap: 0.6rem; list-style: none; margin: 0; padding: 0; }
.related-areas a {
	display: inline-block;
	padding: 0.6rem 1rem;
	border: 1.5px solid var(--line-strong);
	border-radius: 999px;
	color: var(--navy);
	text-decoration: none;
	font-weight: 550;
}
.related-areas a:hover { border-color: var(--navy); background: var(--mist); color: var(--navy); }

@media (max-width: 960px) {
	.practice-grid { grid-template-columns: 1fr; }
	.service-list { grid-template-columns: 1fr; }
}

/* ---------- Team profile ---------- */

.profile { padding-block: clamp(2rem, 5vw, 4rem) var(--space-section); }
.profile__grid { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.3fr); gap: clamp(2rem, 6vw, 5.5rem); align-items: start; }
.profile__media { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 1rem; justify-items: start; }
.profile__portrait { position: relative; width: 100%; aspect-ratio: 4 / 5; overflow: hidden; background: var(--mist-deep); border-radius: 2px; }
.profile__name { font-size: clamp(2.6rem, 5.5vw, 4.25rem); line-height: 1.02; letter-spacing: -0.015em; color: var(--ink); }
.profile__role { margin-top: 0.6rem; font-size: 1.3125rem; font-weight: 650; color: var(--navy); }
.profile__quals { margin-top: 0.15rem; color: var(--muted); letter-spacing: 0.02em; }
.profile__bio { margin-top: 2rem; }
.profile__lists { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem; margin-top: 2.75rem; }
.profile__list-title { font-family: var(--font-body); font-size: var(--fs-xs); font-weight: 650; color: var(--muted); padding-bottom: 0.5rem; border-bottom: 1px solid var(--ink); margin-bottom: 0.6rem; }
.profile__list ul { list-style: none; margin: 0; padding: 0; }
.profile__list li { padding-block: 0.45rem; border-bottom: 1px solid var(--line); line-height: 1.45; font-size: var(--fs-sm); }
.profile__contact { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; margin-top: 2.5rem; }

@media (max-width: 860px) {
	.profile__grid { grid-template-columns: 1fr; }
	.profile__media { position: static; max-width: 420px; }
	.profile__lists { grid-template-columns: 1fr; }
}

/* ---------- Articles ---------- */

.insights-layout { display: grid; grid-template-columns: minmax(0, 1fr) 290px; gap: clamp(2.5rem, 6vw, 5rem); align-items: start; }
.filter--inline { margin-bottom: 2rem; }
.aside-title { font-size: 1.5rem; margin-bottom: 0.75rem; }
.topic-list { list-style: none; margin: 0 0 2rem; padding: 0; border-top: 1px solid var(--line); }
.topic-list li { border-bottom: 1px solid var(--line); }
.topic-list a { display: flex; justify-content: space-between; padding: 0.7rem 0 0.7rem 0.75rem; color: var(--ink); text-decoration: none; border-left: 3px solid transparent; }
.topic-list a:hover { color: var(--navy); background: var(--mist); }
.topic-list a[aria-current="page"] { border-left-color: var(--seal); font-weight: 650; color: var(--navy); }
.topic-list .count { color: var(--muted); font-variant-numeric: tabular-nums; padding-right: 0.5rem; }
.empty { padding: 2rem; background: var(--mist); border-radius: var(--radius); }

.nav-links { display: flex; justify-content: space-between; gap: 1rem; margin-top: 2rem; }
.nav-links .page-numbers { padding: 0.5rem 0.75rem; }

.article-head { background: var(--mist); padding-block: clamp(2rem, 5vw, 3.75rem); }
.article-title { font-size: clamp(2.25rem, 5vw, 3.5rem); line-height: 1.08; letter-spacing: -0.012em; color: var(--ink); }
.article-standfirst { margin-top: 1rem; font-size: 1.3125rem; line-height: 1.5; color: var(--muted); }
.byline { display: flex; align-items: center; gap: 0.9rem; margin-top: 1.75rem; }
.byline p { margin: 0; display: flex; flex-direction: column; line-height: 1.4; }
.byline__photo, .byline__mark { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; flex: none; }
.byline__mark { display: grid; place-items: center; background: var(--navy); color: var(--on-navy); font-family: var(--font-display); font-size: 1.3rem; }
.byline__mono { width: 34px; height: 24px; }
.byline__name { font-weight: 650; }
.byline__meta { font-size: var(--fs-xs); color: var(--muted); }
.article-image { margin-top: 2rem; }
.article-image img { width: 100%; border-radius: 2px; }
.article-body { margin-block: 1rem; max-width: none; }

.disclaimer {
	margin-block: 2rem;
	padding: 1rem 1.25rem;
	background: var(--surface);
	border: 1px solid var(--line);
	border-left: 4px solid var(--seal);
	border-radius: var(--radius);
	font-size: 0.9375rem;
	line-height: 1.55;
	color: var(--muted);
}
.disclaimer strong { color: var(--ink); }
.disclaimer--aside { margin: 0; }

.share { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem 1.5rem; padding-block: 1.5rem; border-top: 1px solid var(--line); }
.share__label { margin: 0; font-weight: 650; }
.share__list { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 1.25rem; list-style: none; margin: 0; padding: 0; }
.share__list a { font-weight: 600; }

.author-box { display: grid; grid-template-columns: 88px minmax(0, 1fr); gap: 1.25rem; padding-block: 2rem 0.5rem; border-top: 1px solid var(--line); }
.author-box__photo { width: 88px; height: 88px; object-fit: cover; border-radius: 2px; }
.author-box__name { margin: 0; font-family: var(--font-display); font-size: 1.5rem; }
.author-box__name a { text-decoration: none; }
.author-box__role { margin: 0 0 0.5rem; font-weight: 650; font-size: var(--fs-sm); }
.author-box p:last-child { color: var(--muted); font-size: var(--fs-sm); }

@media (max-width: 900px) {
	.insights-layout { grid-template-columns: 1fr; }
}

/* ---------- Contact and booking ---------- */

.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2.5rem, 6vw, 5rem); align-items: start; }
.direct-list { list-style: none; margin: 0 0 1.25rem; padding: 0; border-top: 1px solid var(--line); }
.direct-list li { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.5rem 1rem; padding-block: 0.85rem; border-bottom: 1px solid var(--line); }
.direct-list__link {
	display: inline-flex; align-items: center; gap: 0.6rem;
	font-family: var(--font-display);
	font-size: 1.5rem;
	color: var(--navy);
	text-decoration: none;
	font-variant-numeric: lining-nums tabular-nums;
	min-width: 0;
	overflow-wrap: anywhere;
}
.direct-list__link:hover { color: var(--seal); text-decoration: underline; }
.contact-form-title { margin-top: 3rem; }

.copy-btn {
	display: inline-flex; align-items: center; gap: 0.4rem;
	min-height: 36px;
	padding: 0.35rem 0.7rem;
	font: 600 0.875rem / 1 var(--font-body);
	color: var(--navy);
	background: none;
	border: 1px solid var(--line-strong);
	border-radius: var(--radius);
	cursor: pointer;
}
.copy-btn:hover { background: var(--mist); }
.copy-btn .icon { width: 15px; height: 15px; }

.book-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(2.5rem, 6vw, 5rem); align-items: start; }
.book-aside { position: sticky; top: calc(var(--header-h) + 24px); padding: clamp(1.5rem, 3vw, 2rem); background: var(--mist); border-radius: var(--radius); }
.book-aside__call { margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid var(--line-strong); }
.big-phone {
	display: block;
	font-family: var(--font-display);
	font-size: 1.75rem;
	line-height: 1.35;
	color: var(--navy);
	text-decoration: none;
	font-variant-numeric: lining-nums tabular-nums;
}
.big-phone:hover { color: var(--seal); }

@media (max-width: 900px) {
	.contact-grid, .book-grid { grid-template-columns: 1fr; }
	.book-aside { position: static; }
}

/* ---------- Forms ---------- */

.request-form { max-width: 44rem; }
.form-group { margin: 0 0 2rem; padding: 0; border: 0; min-width: 0; }
.form-group legend { padding: 0; margin-bottom: 1rem; font-family: var(--font-display); font-size: 1.6rem; color: var(--navy); }
.field { display: grid; gap: 0.4rem; margin-bottom: 1.25rem; min-width: 0; }
.field label, .field-label { font-weight: 650; font-size: var(--fs-sm); }
.optional { font-weight: 400; color: var(--muted); }
.field input[type="text"], .field input[type="email"], .field input[type="tel"], .field input[type="date"], .field select, .field textarea {
	width: 100%;
	min-height: 50px;
	padding: 0.75rem 0.9rem;
	font: inherit;
	font-size: 1.0625rem;
	color: var(--ink);
	background: var(--surface);
	border: 1.5px solid var(--line-strong);
	border-radius: var(--radius);
}
.field textarea { min-height: 140px; resize: vertical; line-height: 1.5; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--navy); }
.field-help { margin: 0; font-size: 0.9375rem; color: var(--muted); }
.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 1.25rem; }
.choices { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.choice {
	display: inline-flex;
	align-items: center;
	gap: 0.55rem;
	min-height: 48px;
	padding: 0.55rem 0.95rem;
	border: 1.5px solid var(--line-strong);
	border-radius: var(--radius);
	background: var(--surface);
	cursor: pointer;
	font-weight: 500;
}
.choice:has(input:checked) { border-color: var(--navy); background: var(--mist); }
.choice input { accent-color: var(--navy); width: 18px; height: 18px; margin: 0; }
.choice--consent { align-items: flex-start; border: 0; padding: 0; background: none; min-height: 0; line-height: 1.5; }
.choice--consent:has(input:checked) { background: none; }
.choice--consent input { margin-top: 0.2rem; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-submit { display: grid; gap: 0.75rem; justify-items: start; margin-top: 1.5rem; }
.form-note { margin: 0; font-size: 0.9375rem; color: var(--muted); }
.form-notice { margin-bottom: 1.75rem; padding: 1rem 1.25rem; border-radius: var(--radius); border-left: 4px solid; }
.form-notice--ok { background: var(--ok-bg); border-color: var(--ok); color: var(--ink); }
.form-notice--error { background: var(--err-bg); border-color: var(--err); color: var(--ink); }

@media (max-width: 560px) {
	.field-row { grid-template-columns: 1fr; }
}

/* ---------- Search results ---------- */

.search-results { list-style: none; margin: 0; padding: 0; }
.search-results li { padding-block: 1.25rem; border-bottom: 1px solid var(--line); }
.search-results__title { font-size: 1.6rem; }

/* ---------- WordPress content classes ---------- */

.alignleft { float: left; margin: 0.4rem 1.5rem 1rem 0; }
.alignright { float: right; margin: 0.4rem 0 1rem 1.5rem; }
.aligncenter { margin-inline: auto; }
.wp-caption-text { font-size: var(--fs-xs); color: var(--muted); }

/* ---------- Small-screen refinements (kept last so they win over the base rules) ---------- */

@media (max-width: 640px) {
	.pathfinder__chips {
		display: grid;
		grid-auto-flow: column;
		grid-template-rows: repeat(3, auto);
		justify-content: start;
		gap: 0.5rem;
		overflow-x: auto;
		scroll-snap-type: x proximity;
		scroll-padding-inline: max(var(--gutter), env(safe-area-inset-left, 0px));
		margin-inline: calc(-1 * max(var(--gutter), env(safe-area-inset-left, 0px)));
		padding: 0.25rem max(var(--gutter), env(safe-area-inset-left, 0px)) 0.75rem;
		scrollbar-width: thin;
	}
	.chip { flex: none; white-space: nowrap; scroll-snap-align: start; }
	.hero__seal { left: -6px; width: 92px; bottom: 2.25rem; }
}

/* ---------- Motion preferences ---------- */

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}

/* ---------- Print ---------- */

@media print {
	.topbar, .site-header, .cta, .site-footer, .share, .pathfinder, .hero__actions { display: none !important; }
	body { background: #fff; color: #000; }
	a { color: #000; }
}

/* ---------- EB Garamond throughout ----------
   EB Garamond is smaller on the page than a sans-serif at the same size,
   so body copy and small labels are set one step larger to stay readable. */
body { line-height: 1.6; font-variant-numeric: lining-nums; }
.brand__line2 { font-size: 0.875rem; }
.team-menu__role { font-size: 1.0625rem; }
.team-menu__quals { font-size: 0.9375rem; }
.team-menu__all { font-size: 1.0625rem; }
.section-head p { font-size: 1.3125rem; }
.hero__intro { font-size: clamp(1.3125rem, 1.8vw, 1.4375rem); }
.values dd { font-size: 1.1875rem; }
.view-switch__btn { font-size: 1.0625rem; }
.office__address { font-size: 1.3125rem; }
.page-intro { font-size: 1.375rem; }
.prose--lead > p:first-child { font-size: 1.4375rem; }
.profile__role { font-size: 1.4375rem; font-weight: 600; }
.article-standfirst { font-size: 1.4375rem; }
.disclaimer { font-size: 1.0625rem; }
.copy-btn { font-size: 1rem; }
.btn--lg { font-size: 1.1875rem; }
@media (max-width: 640px) {
	.brand__line2 { font-size: 0.8125rem; }
}
