/*
Theme Name: Lawfirm
Description: Corporate theme for a multilingual law-firm site (Polylang uz/ru/en/zh). Classic PHP theme, no build step, system fonts only, abstract painted SVG artwork in assets/img - see docs/arxitektura-maqolalar.md section 7 and docs/5-7-bosqich-natija.md ("Vizual dizayn"). Every colour, font, size and spacing is a CSS custom property in the :root block below, so a real brand is applied by editing values there (and replacing assets/img/art-*.svg).
Author: inochipartners.uz
Version: 0.2.0
Text Domain: lawfirm
Domain Path: /languages
Requires PHP: 8.0
*/

/* ---------------------------------------------------------------------
   Design tokens - edit these to apply a brand. Nothing below this block
   should need to change to reskin the site. Palette: deep navy + white +
   warm off-white sections + ONE brass accent used sparingly.
   ------------------------------------------------------------------- */
:root {
	/* Palette. */
	--lf-navy: #14263d;
	--lf-navy-deep: #0d1a2b;
	--lf-navy-soft: #1e3854;
	--lf-brass: #b08d57;
	--lf-brass-light: #d6b884;   /* brass on dark backgrounds (8:1 on navy) */
	--lf-brass-text: #7d5f2b;    /* brass on light backgrounds (5.3:1 on ivory) */
	--lf-ivory: #f6f1e7;         /* warm off-white section background */
	--lf-paper: #fcfaf6;
	--lf-ink: #1c2633;
	--lf-ink-muted: #556170;
	--lf-line: #e2dbcc;          /* thin decorative rules */
	--lf-field-border: #7d8794;  /* form control borders (>= 3:1 on white) */

	/* Semantic colours (components use these, not the palette above). */
	--lf-color-bg: #ffffff;
	--lf-color-bg-alt: var(--lf-ivory);
	--lf-color-text: var(--lf-ink);
	--lf-color-text-muted: var(--lf-ink-muted);
	--lf-color-heading: var(--lf-navy);
	--lf-color-primary: var(--lf-navy);
	--lf-color-primary-dark: var(--lf-navy-deep);
	--lf-color-on-primary: #ffffff;
	--lf-color-accent: var(--lf-brass);
	--lf-color-accent-text: var(--lf-brass-text);
	--lf-color-border: var(--lf-line);
	--lf-color-focus: var(--lf-navy);       /* focus ring on light backgrounds */
	--lf-color-focus-on-dark: var(--lf-brass-light);
	--lf-focus: var(--lf-color-focus);      /* switched to the dark variant inside dark bands */

	/* Type - system fonts only (no web fonts, per CLAUDE.md). */
	--lf-font-serif: Georgia, "Times New Roman", "Noto Serif", "Noto Serif SC", "Songti SC", SimSun, serif;
	--lf-font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, "Noto Sans", "Noto Sans SC", "Microsoft YaHei", sans-serif;
	--lf-font-size-base: 1.0625rem;         /* 17px, 18px from 64rem */
	--lf-font-size-sm: 0.9rem;
	--lf-font-size-lg: 1.15rem;
	--lf-line-height-base: 1.6;
	--lf-line-height-tight: 1.15;

	/* Spacing scale. */
	--lf-space-1: 0.25rem;
	--lf-space-2: 0.5rem;
	--lf-space-3: 0.75rem;
	--lf-space-4: 1rem;
	--lf-space-5: 1.5rem;
	--lf-space-6: 2rem;
	--lf-space-7: 3rem;
	--lf-space-8: 4rem;
	--lf-section-y: clamp(3.5rem, 8vw, 6.5rem);

	/* Shape / layout. */
	--lf-radius-sm: 2px;
	--lf-container-max: 75rem;              /* 1200px */
	--lf-gutter: clamp(1rem, 4vw, 2rem);
	--lf-header-h: 4.75rem;
	--lf-focus-width: 3px;
	--lf-shadow-lift: 0 14px 36px rgba(13, 26, 43, 0.12);
	--lf-shadow-float: 0 18px 44px rgba(13, 26, 43, 0.16);
}

/* ---------------------------------------------------------------------
   Base / reset.
   ------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html {
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
	scroll-padding-top: calc(var(--lf-header-h) + 1rem); /* sticky header must not cover anchor/focus targets */
}

body {
	margin: 0;
	background: var(--lf-color-bg);
	color: var(--lf-color-text);
	font-family: var(--lf-font-sans);
	font-size: var(--lf-font-size-base);
	line-height: var(--lf-line-height-base);
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}
@media (min-width: 64rem) { body { --lf-font-size-base: 1.125rem; } }
:lang(zh) body, body:lang(zh) { line-height: 1.75; }

img, svg { max-width: 100%; }
img { height: auto; display: block; }

a { color: var(--lf-color-primary); text-underline-offset: 0.2em; text-decoration-thickness: 1px; }
a:hover { color: var(--lf-brass-text); }

h1, h2, h3, h4 {
	font-family: var(--lf-font-serif);
	font-weight: 400;
	color: var(--lf-color-heading);
	line-height: var(--lf-line-height-tight);
	letter-spacing: -0.01em;
	margin: 0 0 var(--lf-space-4);
	text-wrap: balance;
}
:lang(zh) :is(h1, h2, h3, h4) { letter-spacing: 0; line-height: 1.3; }
h1 { font-size: clamp(2.25rem, 1.4rem + 3vw, 3.5rem); }
h2 { font-size: clamp(1.75rem, 1.3rem + 1.6vw, 2.6rem); }
h3 { font-size: 1.35rem; }

p { margin: 0 0 var(--lf-space-4); }
ul, ol { padding-left: var(--lf-space-5); }

button, input, select, textarea { font-family: inherit; font-size: inherit; }

/* Visible focus (WCAG 2.2 AA) - never removed, only restyled. Dark bands switch the ring colour. */
:focus-visible {
	outline: var(--lf-focus-width) solid var(--lf-focus);
	outline-offset: 3px;
}
.lf-header, .lf-hero, .lf-page-hero, .lf-article-hero, .lf-profile-hero, .lf-contact-band, .lf-footer, .lf-person-cta {
	--lf-focus: var(--lf-color-focus-on-dark);
}

/* Skip link - hidden until focused. */
.lf-skip-link {
	position: absolute;
	left: var(--lf-space-3);
	top: -100px;
	z-index: 1000;
	background: var(--lf-navy-deep);
	color: #fff;
	padding: var(--lf-space-3) var(--lf-space-4);
	border: 2px solid var(--lf-brass-light);
	text-decoration: none;
	transition: top 0.15s ease;
}
.lf-skip-link:focus { top: var(--lf-space-3); color: #fff; }

/* ---------------------------------------------------------------------
   Layout primitives.
   ------------------------------------------------------------------- */
.lf-container {
	max-width: var(--lf-container-max);
	margin-inline: auto;
	padding-inline: var(--lf-gutter);
}

.lf-site { display: flex; flex-direction: column; min-height: 100vh; }
.lf-main { flex: 1 0 auto; }
.lf-main:focus { outline: none; }

.lf-section { padding-block: var(--lf-section-y); }
.lf-section--alt { background: var(--lf-color-bg-alt); }
.lf-section--tight { padding-block: var(--lf-space-7) var(--lf-space-5); }

.lf-section-head { max-width: 46rem; margin-bottom: clamp(2rem, 4vw, 3.25rem); }
.lf-section-head h2 { margin-bottom: 0; }
.lf-section-head--split {
	max-width: none;
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: var(--lf-space-4) var(--lf-space-6);
}

/* Eyebrow: small uppercase letter-spaced label with a thin brass rule. */
.lf-eyebrow {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	margin: 0 0 var(--lf-space-4);
	font-family: var(--lf-font-sans);
	font-size: 0.78rem;
	font-weight: 600;
	line-height: 1.2;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--lf-color-accent-text);
}
.lf-eyebrow::before { content: ""; flex: none; width: 2rem; height: 1px; background: currentColor; }
.lf-eyebrow--light { color: var(--lf-brass-light); }
.lf-eyebrow a { color: inherit; text-decoration: none; }
.lf-eyebrow a:hover { text-decoration: underline; }

/* Buttons. */
.lf-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.6rem;
	padding: 0.95rem 1.75rem;
	background: var(--lf-color-primary);
	color: var(--lf-color-on-primary);
	border: 1px solid var(--lf-color-primary);
	border-radius: var(--lf-radius-sm);
	font-family: var(--lf-font-sans);
	font-size: 0.82rem;
	font-weight: 600;
	line-height: 1.2;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	text-decoration: none;
	cursor: pointer;
	transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
.lf-btn:hover { background: var(--lf-navy-soft); border-color: var(--lf-navy-soft); color: #fff; transform: translateY(-1px); }
.lf-btn--accent { background: var(--lf-brass); border-color: var(--lf-brass); color: var(--lf-navy-deep); }
.lf-btn--accent:hover { background: var(--lf-brass-light); border-color: var(--lf-brass-light); color: var(--lf-navy-deep); }
.lf-btn--ghost { background: transparent; border-color: rgba(255, 255, 255, 0.55); color: #fff; }
.lf-btn--ghost:hover { background: rgba(255, 255, 255, 0.12); border-color: #fff; color: #fff; }
.lf-btn--outline { background: transparent; color: var(--lf-color-primary); }
.lf-btn--outline:hover { background: var(--lf-color-primary); color: #fff; }

/* "Text link + arrow" used for section-level links. */
.lf-link-arrow {
	display: inline-flex;
	align-items: center;
	gap: 0.6rem;
	padding-bottom: 0.35rem;
	border-bottom: 1px solid var(--lf-brass);
	color: var(--lf-color-primary);
	font-size: 0.8rem;
	font-weight: 600;
	line-height: 1;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	text-decoration: none;
}
.lf-link-arrow:hover { color: var(--lf-brass-text); }
.lf-link-arrow .lf-icon, .lf-service-more .lf-icon { width: 1.1em; height: 1.1em; transition: transform 0.25s ease; }
.lf-link-arrow:hover .lf-icon { transform: translateX(4px); }

.lf-icon { flex: none; }

/* ---------------------------------------------------------------------
   Header / navigation (deep navy band, sticky).
   ------------------------------------------------------------------- */
.lf-header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: var(--lf-navy-deep);
	color: #fff;
	border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.lf-header-bar {
	display: flex;
	align-items: center;
	gap: var(--lf-space-6);
	min-height: var(--lf-header-h);
}

.lf-brand { flex: none; }
.lf-wordmark {
	display: inline-flex;
	align-items: center;
	gap: 0.75rem;
	color: #fff;
	font-family: var(--lf-font-serif);
	font-size: 1.05rem;
	letter-spacing: 0.24em;
	text-transform: uppercase;
	text-decoration: none;
	white-space: nowrap;
}
.lf-wordmark:hover { color: #fff; }
.lf-brand-mark { color: var(--lf-brass); flex: none; transition: transform 0.4s ease; }
.lf-wordmark:hover .lf-brand-mark { transform: rotate(90deg); }
.lf-brand .custom-logo { max-height: 3rem; width: auto; }

.lf-header-collapsible {
	display: flex;
	flex: 1;
	align-items: center;
	justify-content: space-between;
	gap: var(--lf-space-6);
}

.lf-primary-nav ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 0.25rem 1.75rem;
}
.lf-primary-nav a {
	position: relative;
	display: inline-block;
	padding: 0.5rem 0;
	color: rgba(255, 255, 255, 0.86);
	font-size: 0.92rem;
	white-space: nowrap;
	letter-spacing: 0.03em;
	text-decoration: none;
	transition: color 0.2s ease;
}
.lf-primary-nav a::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0.1rem;
	height: 1px;
	background: var(--lf-brass);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 0.25s ease;
}
.lf-primary-nav a:hover,
.lf-primary-nav a[aria-current="page"],
.lf-primary-nav .current-menu-item > a { color: #fff; }
.lf-primary-nav a:hover::after,
.lf-primary-nav a[aria-current="page"]::after,
.lf-primary-nav .current-menu-item > a::after { transform: scaleX(1); }

.lf-header-tools { display: flex; align-items: center; gap: var(--lf-space-4); }

.lf-search-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.5rem;
	height: 2.5rem;
	border: 1px solid rgba(255, 255, 255, 0.25);
	border-radius: 50%;
	color: #fff;
	text-decoration: none;
	transition: background-color 0.2s ease, border-color 0.2s ease;
}
.lf-search-link:hover { background: rgba(255, 255, 255, 0.1); border-color: var(--lf-brass-light); color: #fff; }
/* Label is text for screen readers on desktop (icon-only button), visible in the mobile panel. */
.lf-search-link-label {
	border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%); height: 1px; margin: -1px;
	overflow: hidden; padding: 0; position: absolute; width: 1px; white-space: nowrap;
}

/* Language switcher: UZ | RU | EN | ZH. */
.lf-lang-switcher ul { list-style: none; margin: 0; padding: 0; display: flex; }
.lf-lang-switcher li + li { border-left: 1px solid rgba(255, 255, 255, 0.22); }
.lf-lang-switcher a {
	display: inline-block;
	padding: 0.3rem 0.65rem;
	color: rgba(255, 255, 255, 0.75);
	font-size: 0.78rem;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-decoration: none;
	transition: color 0.2s ease;
}
.lf-lang-switcher a:hover { color: #fff; }
.lf-lang-switcher a[aria-current="page"] { color: var(--lf-brass-light); }

/* Mobile menu toggle (hidden on desktop). */
.lf-nav-toggle {
	display: none;
	align-items: center;
	gap: 0.7rem;
	margin-left: auto;
	padding: 0.6rem 0.9rem;
	background: none;
	border: 1px solid rgba(255, 255, 255, 0.3);
	border-radius: var(--lf-radius-sm);
	color: #fff;
	font-size: 0.78rem;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	cursor: pointer;
}
.lf-nav-toggle-icon { display: block; position: relative; width: 1.25rem; height: 2px; background: currentColor; transition: background-color 0.2s ease; }
.lf-nav-toggle-icon::before, .lf-nav-toggle-icon::after {
	content: ""; position: absolute; left: 0; width: 100%; height: 2px; background: currentColor; transition: transform 0.25s ease, top 0.25s ease;
}
.lf-nav-toggle-icon::before { top: -6px; }
.lf-nav-toggle-icon::after { top: 6px; }
.lf-nav-toggle[aria-expanded="true"] .lf-nav-toggle-icon { background: transparent; }
.lf-nav-toggle[aria-expanded="true"] .lf-nav-toggle-icon::before { top: 0; transform: rotate(45deg); }
.lf-nav-toggle[aria-expanded="true"] .lf-nav-toggle-icon::after { top: 0; transform: rotate(-45deg); }

/* Hamburger below the container width (75rem): the full header needs ~1040px in uz/ru, so the
   old 62rem breakpoint let the nav wrap to two lines between ~992px and ~1120px. */
@media (max-width: 74.99rem) {
	:root { --lf-header-h: 4rem; }
	.lf-header-bar { flex-wrap: wrap; gap: 0 var(--lf-space-4); }
	.lf-wordmark { font-size: 0.95rem; letter-spacing: 0.2em; }
	.lf-nav-toggle { display: inline-flex; }
	.lf-header-collapsible {
		display: none;
		flex: 1 0 100%;
		flex-direction: column;
		align-items: stretch;
		gap: var(--lf-space-5);
		padding: 0 0 var(--lf-space-6);
		border-top: 1px solid rgba(255, 255, 255, 0.1);
		max-height: calc(100vh - var(--lf-header-h));
		overflow-y: auto;
	}
	.lf-header-collapsible.is-open { display: flex; }
	.lf-primary-nav ul { flex-direction: column; gap: 0; }
	.lf-primary-nav a {
		display: block;
		padding: 1rem 0;
		border-bottom: 1px solid rgba(255, 255, 255, 0.08);
		font-family: var(--lf-font-serif);
		font-size: 1.3rem;
		letter-spacing: 0;
	}
	.lf-primary-nav a::after { display: none; }
	.lf-primary-nav a[aria-current="page"], .lf-primary-nav .current-menu-item > a { color: var(--lf-brass-light); }
	.lf-header-tools { flex-direction: column; align-items: stretch; gap: var(--lf-space-4); }
	.lf-search-link { width: auto; height: auto; justify-content: flex-start; gap: 0.75rem; padding: 0.85rem 1rem; border-radius: var(--lf-radius-sm); font-size: 0.95rem; }
	.lf-search-link-label { position: static; width: auto; height: auto; margin: 0; clip: auto; clip-path: none; overflow: visible; }
	.lf-lang-switcher a { padding: 0.6rem 1rem; }
	.lf-lang-switcher li:first-child a { padding-left: 0; }
}

/* Logged-in admins: keep the sticky header below the WordPress toolbar. */
.admin-bar .lf-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .lf-header { top: 46px; } }
@media (max-width: 600px) { .admin-bar .lf-header { top: 0; } }
@media (max-width: 29.99rem) {
	.lf-wordmark { font-size: 0.85rem; letter-spacing: 0.16em; gap: 0.55rem; }
	.lf-brand-mark { width: 26px; height: 26px; }
	/* Icon-only toggle on very narrow screens; the text stays as its accessible name. */
	.lf-nav-toggle-label { border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute; width: 1px; white-space: nowrap; }
	.lf-nav-toggle { padding: 0.75rem; }
}

/* ---------------------------------------------------------------------
   Home: hero.
   ------------------------------------------------------------------- */
.lf-hero {
	position: relative;
	isolation: isolate;
	color: #fff;
	background: var(--lf-navy-deep) url("assets/img/art-1.svg") center / cover no-repeat;
}
.lf-hero::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background:
		linear-gradient(90deg, rgba(13, 26, 43, 0.93) 0%, rgba(13, 26, 43, 0.8) 42%, rgba(13, 26, 43, 0.4) 100%),
		linear-gradient(0deg, rgba(13, 26, 43, 0.55), transparent 45%);
}
.lf-hero-inner { padding-block: clamp(4.5rem, 11vw, 8.5rem) clamp(8rem, 14vw, 11rem); }
.lf-hero-title {
	max-width: 15em;
	margin-bottom: var(--lf-space-5);
	color: #fff;
	font-size: clamp(2.4rem, 1.1rem + 4.4vw, 4.4rem);
	line-height: 1.08;
}
.lf-hero-lead { max-width: 38rem; margin-bottom: var(--lf-space-6); color: rgba(255, 255, 255, 0.88); font-size: clamp(1.05rem, 0.95rem + 0.5vw, 1.3rem); }
.lf-hero-actions { display: flex; flex-wrap: wrap; gap: var(--lf-space-4); }

/* Search card overlapping the hero's lower edge. */
.lf-search-band { position: relative; z-index: 3; margin-top: calc(-1 * clamp(3.5rem, 7vw, 5rem)); }
.lf-search-card {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr);
	gap: var(--lf-space-5) var(--lf-space-7);
	align-items: center;
	padding: clamp(1.5rem, 3.5vw, 2.5rem) clamp(1.5rem, 4vw, 3rem);
	background: #fff;
	border-top: 3px solid var(--lf-brass);
	box-shadow: var(--lf-shadow-float);
}
.lf-search-card h2 { margin-bottom: var(--lf-space-2); font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); }
.lf-search-card p { margin: 0; color: var(--lf-color-text-muted); font-size: 0.98rem; }
.lf-search-form { display: flex; gap: var(--lf-space-3); }
.lf-search-form input[type="search"], .lf-filters input, .lf-filters select {
	width: 100%;
	min-height: 3.1rem;
	padding: 0.7rem 0.95rem;
	background: #fff;
	color: var(--lf-color-text);
	border: 1px solid var(--lf-field-border);
	border-radius: var(--lf-radius-sm);
}
.lf-search-form input[type="search"] { flex: 1; min-width: 0; }
.lf-search-form input:focus, .lf-filters input:focus, .lf-filters select:focus { border-color: var(--lf-navy); }
.lf-filters select { padding-inline: 0.7rem; font-size: 0.95rem; }
::placeholder { color: #6b7480; opacity: 1; }

/* ---------------------------------------------------------------------
   Home: services grid (ruled plates).
   ------------------------------------------------------------------- */
.lf-service-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	list-style: none;
	margin: 0;
	padding: 0;
	border-top: 1px solid var(--lf-line);
	border-left: 1px solid var(--lf-line);
}
.lf-service {
	position: relative;
	display: flex;
	flex-direction: column;
	padding: 2.25rem 2rem 2rem;
	background: #fff;
	border-right: 1px solid var(--lf-line);
	border-bottom: 1px solid var(--lf-line);
	transition: background-color 0.25s ease;
}
.lf-service::before {
	content: "";
	position: absolute;
	top: -1px;
	left: -1px;
	width: 0;
	height: 2px;
	background: var(--lf-brass);
	transition: width 0.4s ease;
}
.lf-service:hover { background: var(--lf-paper); }
.lf-service:hover::before { width: calc(100% + 1px); }
.lf-service-num { font-family: var(--lf-font-serif); font-size: 0.95rem; letter-spacing: 0.12em; color: var(--lf-color-accent-text); }
.lf-service-name { margin: 0.9rem 0 0.65rem; font-size: 1.55rem; }
.lf-service-name a { color: inherit; text-decoration: none; }
.lf-service-name a::after { content: ""; position: absolute; inset: 0; }   /* the whole plate is the link target */
.lf-service-desc { margin-bottom: var(--lf-space-5); color: var(--lf-color-text-muted); font-size: 1rem; }
.lf-service-more {
	display: inline-flex;
	align-items: center;
	gap: 0.6rem;
	margin-top: auto;
	color: var(--lf-color-primary);
	font-size: 0.78rem;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}
.lf-service:hover .lf-service-more .lf-icon { transform: translateX(4px); }
.lf-service:has(a:focus-visible) { outline: var(--lf-focus-width) solid var(--lf-focus); outline-offset: -3px; }

/* ---------------------------------------------------------------------
   Lawyers: tiles with monogram avatars.
   ------------------------------------------------------------------- */
.lf-people-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr));
	gap: clamp(1.5rem, 3vw, 2.5rem) var(--lf-space-6);
	list-style: none;
	margin: 0;
	padding: 0;
}
.lf-person-tile-link { display: block; color: inherit; text-decoration: none; }
.lf-portrait {
	--tone-a: #274363;
	--tone-b: #0f1f33;
	position: relative;
	display: grid;
	place-items: center;
	aspect-ratio: 4 / 5;
	overflow: hidden;
	background:
		radial-gradient(circle at 28% 18%, rgba(255, 255, 255, 0.16), transparent 55%),
		linear-gradient(160deg, var(--tone-a), var(--tone-b));
}
.lf-portrait::before {                 /* fine engraved diagonal lines */
	content: "";
	position: absolute;
	inset: 0;
	background: repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0 1px, transparent 1px 9px);
	pointer-events: none;
}
.lf-portrait img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.lf-tone-1 { --tone-a: #274363; --tone-b: #0f1f33; }
.lf-tone-2 { --tone-a: #2a6772; --tone-b: #0e2b35; }
.lf-tone-3 { --tone-a: #6b4c3b; --tone-b: #291b17; }
.lf-monogram {
	position: relative;
	display: grid;
	place-items: center;
	width: 2.5em;
	height: 2.5em;
	border: 1px solid rgba(214, 184, 132, 0.6);
	border-radius: 50%;
	box-shadow: inset 0 0 0 6px rgba(214, 184, 132, 0.08);
	color: #efe4cc;
	font-family: var(--lf-font-serif);
	font-size: clamp(2rem, 3.6vw, 2.9rem);
	letter-spacing: 0.06em;
	text-indent: 0.06em;
	transition: border-color 0.3s ease, transform 0.4s ease;
}
.lf-person-tile-link:hover .lf-monogram { border-color: var(--lf-brass-light); transform: scale(1.05); }
.lf-person-tile-body { display: block; padding-top: var(--lf-space-4); margin-top: var(--lf-space-4); border-top: 1px solid var(--lf-line); }
.lf-person-tile-name { display: block; font-family: var(--lf-font-serif); font-size: 1.35rem; line-height: 1.2; color: var(--lf-color-heading); }
.lf-person-tile-link:hover .lf-person-tile-name { text-decoration: underline; text-decoration-color: var(--lf-brass); text-underline-offset: 0.25em; }
.lf-person-tile-job { display: block; margin-top: 0.3rem; color: var(--lf-color-text-muted); font-size: 0.95rem; }

/* Fourth tile of the home strip: "find the right lawyer". */
.lf-person-cta { list-style: none; }
.lf-person-cta-link {
	position: relative;
	isolation: isolate;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	gap: var(--lf-space-4);
	height: 100%;
	min-height: 18rem;
	padding: 2rem;
	color: #fff;
	background: var(--lf-navy-deep) url("assets/img/art-5.svg") center / cover no-repeat;
	text-decoration: none;
}
.lf-person-cta-link::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(13, 26, 43, 0.92), rgba(13, 26, 43, 0.55)); }
.lf-person-cta-title { font-family: var(--lf-font-serif); font-size: 1.6rem; line-height: 1.2; }
.lf-person-cta-link .lf-link-arrow { color: #fff; align-self: flex-start; border-color: var(--lf-brass-light); }
.lf-person-cta-link:hover .lf-link-arrow .lf-icon { transform: translateX(4px); }

/* ---------------------------------------------------------------------
   Article cards / grid.
   ------------------------------------------------------------------- */
.lf-card-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(19rem, 1fr));
	gap: clamp(1.75rem, 3vw, 2.5rem) var(--lf-space-6);
	list-style: none;
	margin: 0;
	padding: 0;
}
.lf-card {
	position: relative;
	display: flex;
	flex-direction: column;
	background: #fff;
	border: 1px solid var(--lf-line);
	transition: box-shadow 0.3s ease, transform 0.3s ease, border-color 0.3s ease;
}
.lf-card:hover { box-shadow: var(--lf-shadow-lift); transform: translateY(-3px); border-color: #d3c9b3; }
.lf-card-media { display: block; overflow: hidden; aspect-ratio: 16 / 10; background: var(--lf-navy); }
.lf-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s ease; }
.lf-card:hover .lf-card-media img { transform: scale(1.05); }
.lf-card-body { display: flex; flex-direction: column; gap: 0.5rem; flex: 1; padding: 1.5rem 1.5rem 1.75rem; }
.lf-card-type {
	margin: 0;
	color: var(--lf-color-accent-text);
	font-size: 0.74rem;
	font-weight: 600;
	letter-spacing: 0.16em;
	text-transform: uppercase;
}
.lf-card-title { margin: 0; font-size: 1.3rem; line-height: 1.28; }
.lf-card-title a { color: var(--lf-color-heading); text-decoration: none; }
.lf-card-title a::after { content: ""; position: absolute; inset: 0; }   /* whole card is clickable */
.lf-card:hover .lf-card-title a { text-decoration: underline; text-decoration-color: var(--lf-brass); text-underline-offset: 0.2em; }
.lf-card-date { margin: 0; color: var(--lf-color-text-muted); font-size: 0.85rem; font-variant-numeric: tabular-nums; }
.lf-card-excerpt {
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
	margin: 0.25rem 0 0;
	color: var(--lf-color-text-muted);
	font-size: 0.98rem;
}
.lf-card:has(.lf-card-title a:focus-visible) { outline: var(--lf-focus-width) solid var(--lf-focus); outline-offset: 3px; }

/* ---------------------------------------------------------------------
   Home: international (split), careers, contact band.
   ------------------------------------------------------------------- */
.lf-split-grid {
	display: grid;
	grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
	gap: clamp(2.5rem, 7vw, 5.5rem);
	align-items: center;
}
.lf-split-art { position: relative; margin: 0 1.25rem 1.25rem 0; }
.lf-split-art::before { content: ""; position: absolute; inset: 1.25rem -1.25rem -1.25rem 1.25rem; border: 1px solid var(--lf-brass); }
.lf-split-art img { position: relative; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; box-shadow: var(--lf-shadow-lift); }
.lf-split-text p { max-width: 34rem; color: var(--lf-color-text-muted); }
.lf-split-text .lf-btn { margin-top: var(--lf-space-3); }

.lf-careers { border-bottom: 1px solid var(--lf-line); }
.lf-careers-grid { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: var(--lf-space-6) var(--lf-space-7); align-items: center; }
.lf-careers-grid p { max-width: 38rem; margin: 0; color: var(--lf-color-text-muted); }
.lf-careers-grid h2 { margin-bottom: var(--lf-space-3); }

.lf-contact-band {
	position: relative;
	isolation: isolate;
	padding-block: var(--lf-section-y);
	color: #fff;
	background: var(--lf-navy-deep) url("assets/img/art-4.svg") center / cover no-repeat;
}
.lf-contact-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(13, 26, 43, 0.9), rgba(13, 26, 43, 0.62)); }
.lf-contact-intro { max-width: 44rem; }
.lf-contact-intro h2 { color: #fff; }
.lf-contact-intro p { color: rgba(255, 255, 255, 0.85); }
.lf-contact-facts {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: var(--lf-space-6);
	margin: var(--lf-space-7) 0 var(--lf-space-6);
	padding-top: var(--lf-space-6);
	border-top: 1px solid rgba(255, 255, 255, 0.2);
}
.lf-contact-facts dt {
	display: flex;
	align-items: center;
	gap: 0.6rem;
	margin-bottom: 0.6rem;
	color: var(--lf-brass-light);
	font-size: 0.76rem;
	font-weight: 600;
	letter-spacing: 0.16em;
	text-transform: uppercase;
}
.lf-contact-facts dd { margin: 0; font-family: var(--lf-font-serif); font-size: 1.25rem; line-height: 1.35; }
.lf-contact-facts a, .lf-contact-list a { color: #fff; text-decoration: none; }
.lf-contact-facts a:hover, .lf-contact-list a:hover { color: var(--lf-brass-light); text-decoration: underline; }
.lf-contact-cta { display: flex; flex-wrap: wrap; align-items: center; gap: var(--lf-space-4) var(--lf-space-5); margin: 0; }
.lf-contact-demo {
	padding: 0.4rem 0.8rem;
	border: 1px dashed rgba(255, 255, 255, 0.45);
	color: rgba(255, 255, 255, 0.85);
	font-size: 0.74rem;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

/* ---------------------------------------------------------------------
   Footer (deep navy, four columns).
   ------------------------------------------------------------------- */
.lf-footer {
	background: var(--lf-navy-deep);
	border-top: 3px solid var(--lf-brass);
	color: rgba(255, 255, 255, 0.78);
	padding-top: clamp(3.5rem, 7vw, 5rem);
	font-size: 0.95rem;
}
.lf-footer a { color: rgba(255, 255, 255, 0.85); text-decoration: none; }
.lf-footer a:hover { color: #fff; text-decoration: underline; text-decoration-color: var(--lf-brass); }
.lf-footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: var(--lf-space-7) var(--lf-space-6); }
.lf-footer-about { max-width: 22rem; margin: var(--lf-space-4) 0 var(--lf-space-5); }
.lf-footer-heading {
	margin: 0 0 1.25rem;
	color: var(--lf-brass-light);
	font-family: var(--lf-font-sans);
	font-size: 0.78rem;
	font-weight: 600;
	letter-spacing: 0.18em;
	text-transform: uppercase;
}
.lf-footer-links, .lf-contact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.7rem; }
.lf-footer-links--placeholder span { color: rgba(255, 255, 255, 0.6); }
.lf-footer-note { margin: var(--lf-space-4) 0 0; color: rgba(255, 255, 255, 0.6); font-size: 0.85rem; }
.lf-contact-list li { display: flex; align-items: flex-start; gap: 0.7rem; }
.lf-contact-list .lf-icon { margin-top: 0.2rem; width: 1.1em; height: 1.1em; color: var(--lf-brass-light); }
.lf-footer-bar {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: var(--lf-space-4) var(--lf-space-6);
	margin-top: clamp(2.5rem, 5vw, 3.5rem);
	padding-block: var(--lf-space-5);
	border-top: 1px solid rgba(255, 255, 255, 0.12);
	font-size: 0.85rem;
}
.lf-footer-copy { margin: 0; }
.lf-footer-demo { display: block; margin-top: 0.2rem; color: rgba(255, 255, 255, 0.6); }
.lf-footer .lf-wordmark { font-size: 1rem; }

/* ---------------------------------------------------------------------
   Inner pages: page hero.
   ------------------------------------------------------------------- */
.lf-page-hero {
	position: relative;
	isolation: isolate;
	padding-block: clamp(3.5rem, 8vw, 6rem) clamp(5.5rem, 10vw, 8rem);
	color: #fff;
	background: var(--lf-navy-deep) url("assets/img/art-1.svg") center / cover no-repeat;
}
.lf-page-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(13, 26, 43, 0.9), rgba(13, 26, 43, 0.5)); }
.lf-page-hero--art-1 { background-image: url("assets/img/art-1.svg"); }
.lf-page-hero--art-2 { background-image: url("assets/img/art-2.svg"); }
.lf-page-hero--art-3 { background-image: url("assets/img/art-3.svg"); }
.lf-page-hero--art-4 { background-image: url("assets/img/art-4.svg"); }
.lf-page-hero--art-5 { background-image: url("assets/img/art-5.svg"); }
.lf-page-hero--art-6 { background-image: url("assets/img/art-6.svg"); }
.lf-page-title { margin: 0; color: #fff; font-size: clamp(2.2rem, 1.3rem + 3vw, 3.6rem); }
.lf-page-intro { max-width: 40rem; margin: var(--lf-space-4) 0 0; color: rgba(255, 255, 255, 0.86); font-size: var(--lf-font-size-lg); }

/* ---------------------------------------------------------------------
   Article archive: filters, results, pagination.
   ------------------------------------------------------------------- */
.lf-archive { padding-bottom: var(--lf-section-y); }
.lf-filters {
	position: relative;
	z-index: 2;
	margin: calc(-1 * clamp(3rem, 6vw, 4.5rem)) 0 clamp(2rem, 4vw, 3rem);
	padding: clamp(1.25rem, 3vw, 2rem);
	background: #fff;
	border-top: 3px solid var(--lf-brass);
	box-shadow: var(--lf-shadow-float);
}
.lf-filters label {
	display: block;
	margin-bottom: 0.45rem;
	color: var(--lf-color-text-muted);
	font-size: 0.74rem;
	font-weight: 600;
	line-height: 1.2;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}
.lf-filters-search-row { display: flex; gap: var(--lf-space-3); }
.lf-filters-search-row input { flex: 1; min-width: 0; }
.lf-filters-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(9.5rem, 1fr));
	gap: var(--lf-space-4);
	margin-top: var(--lf-space-5);
	padding-top: var(--lf-space-5);
	border-top: 1px solid var(--lf-line);
}
.lf-filters-clear { margin: var(--lf-space-4) 0 0; font-size: 0.9rem; }

.lf-results-count { margin: 0 0 var(--lf-space-5); color: var(--lf-color-text-muted); font-size: 0.95rem; }
.lf-results-count[aria-busy="true"], .lf-results[aria-busy="true"] { opacity: 0.6; }

.lf-empty-state {
	padding: var(--lf-space-7) var(--lf-space-5);
	text-align: center;
	color: var(--lf-color-text-muted);
	border: 1px dashed #c9c1b0;
	background: var(--lf-paper);
}
.lf-empty-actions { margin-top: var(--lf-space-5); text-align: center; }

.lf-pagination, .navigation.pagination .nav-links {
	display: flex;
	flex-wrap: wrap;
	gap: var(--lf-space-2);
	margin: clamp(2rem, 5vw, 3.5rem) 0 0;
	padding: 0;
	list-style: none;
}
.lf-pagination a, .lf-pagination span, .navigation.pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 2.75rem;
	min-height: 2.75rem;
	padding: 0.4rem 0.9rem;
	border: 1px solid var(--lf-line);
	background: #fff;
	color: var(--lf-color-text);
	font-size: 0.92rem;
	text-decoration: none;
	transition: background-color 0.2s ease, border-color 0.2s ease;
}
.lf-pagination a:hover, .navigation.pagination a.page-numbers:hover { border-color: var(--lf-brass); background: var(--lf-paper); color: var(--lf-color-primary); }
.lf-pagination [aria-current="page"], .navigation.pagination .page-numbers.current { background: var(--lf-color-primary); border-color: var(--lf-color-primary); color: #fff; }
.navigation.pagination .screen-reader-text { border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute; width: 1px; }

/* ---------------------------------------------------------------------
   Single article.
   ------------------------------------------------------------------- */
.lf-article-hero { position: relative; isolation: isolate; overflow: hidden; color: #fff; background: var(--lf-navy-deep); }
.lf-hero-media { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.lf-article-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(13, 26, 43, 0.92), rgba(13, 26, 43, 0.62)), linear-gradient(0deg, rgba(13, 26, 43, 0.5), transparent 50%); }
.lf-article-hero-inner { padding-block: clamp(3.5rem, 8vw, 6.5rem); }
.lf-article-title { max-width: 22em; margin: 0; color: #fff; font-size: clamp(2rem, 1.2rem + 2.8vw, 3.3rem); line-height: 1.12; }
.lf-article-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 0.4rem 0.9rem; margin: var(--lf-space-5) 0 0; color: rgba(255, 255, 255, 0.88); font-size: 0.95rem; }
.lf-article-meta time { font-variant-numeric: tabular-nums; }
.lf-article-meta a { color: #fff; text-decoration-color: var(--lf-brass-light); }
.lf-article-meta a:hover { color: var(--lf-brass-light); }
.lf-article-meta-sep { color: var(--lf-brass-light); }

.lf-article-layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--lf-space-7); padding-block: clamp(2.5rem, 6vw, 4.5rem); }
@media (min-width: 62rem) {
	.lf-article-layout--aside { grid-template-columns: minmax(0, 1fr) 19rem; column-gap: clamp(3rem, 7vw, 6rem); }
	.lf-article-aside { position: sticky; top: calc(var(--lf-header-h) + 1.5rem); align-self: start; }
}
.lf-article-body { max-width: 70ch; font-size: 1.125rem; line-height: 1.75; }
.lf-article-body > :first-child { margin-top: 0; }
.lf-article-body h2 { margin: 2.2em 0 0.6em; font-size: 1.75rem; }
.lf-article-body h3 { margin: 1.8em 0 0.5em; }
.lf-article-body ul, .lf-article-body ol { margin: 0 0 var(--lf-space-5); padding-left: 1.3rem; }
.lf-article-body li { margin: 0.45em 0; padding-left: 0.2em; }
.lf-article-body li::marker { color: var(--lf-brass); }
.lf-article-body blockquote { margin: var(--lf-space-6) 0; padding: 0 0 0 var(--lf-space-5); border-left: 3px solid var(--lf-brass); font-family: var(--lf-font-serif); font-size: 1.35rem; line-height: 1.5; color: var(--lf-color-heading); }
.lf-article-body a { color: var(--lf-brass-text); }
.lf-article-body img { height: auto; }

.lf-media-embed { max-width: 70ch; margin: var(--lf-space-6) 0; }
.lf-media-embed iframe { max-width: 100%; }
.lf-media-fallback { max-width: 70ch; margin: var(--lf-space-6) 0; padding: var(--lf-space-4) var(--lf-space-5); background: var(--lf-ivory); border-left: 3px solid var(--lf-brass); }

.lf-tag-list { display: flex; flex-wrap: wrap; gap: var(--lf-space-2); margin: var(--lf-space-6) 0 0; padding: 0; list-style: none; }
.lf-tag-list a {
	display: inline-block;
	padding: 0.45rem 1rem;
	background: #fff;
	border: 1px solid var(--lf-line);
	border-radius: 999px;
	color: var(--lf-color-text);
	font-size: 0.88rem;
	text-decoration: none;
	transition: border-color 0.2s ease, background-color 0.2s ease;
}
.lf-tag-list a:hover { border-color: var(--lf-brass); background: var(--lf-paper); color: var(--lf-color-primary); }

.lf-share { margin-top: var(--lf-space-6); padding-top: var(--lf-space-5); border-top: 1px solid var(--lf-line); }
.lf-share .lf-eyebrow { margin-bottom: var(--lf-space-3); }
.lf-share-links { display: flex; flex-wrap: wrap; gap: var(--lf-space-3); margin: 0; padding: 0; list-style: none; }
.lf-share-links a {
	display: inline-flex;
	align-items: center;
	padding: 0.6rem 1.1rem;
	border: 1px solid var(--lf-color-primary);
	border-radius: var(--lf-radius-sm);
	color: var(--lf-color-primary);
	font-size: 0.85rem;
	text-decoration: none;
	transition: background-color 0.2s ease, color 0.2s ease;
}
.lf-share-links a:hover { background: var(--lf-color-primary); color: #fff; }

/* Author card (aside / footer bio). */
.lf-person-card { padding: var(--lf-space-5); background: var(--lf-paper); border: 1px solid var(--lf-line); border-top: 3px solid var(--lf-brass); }
.lf-person-card-label { margin-bottom: var(--lf-space-4); }
.lf-person-card-head { display: flex; align-items: center; gap: var(--lf-space-4); }
.lf-person-card .lf-portrait { flex: none; width: 4.5rem; aspect-ratio: 1; border-radius: 50%; }
.lf-person-card .lf-monogram { width: auto; height: auto; border: 0; box-shadow: none; font-size: 1.35rem; }
.lf-person-card-name { margin: 0; font-family: var(--lf-font-serif); font-size: 1.3rem; line-height: 1.2; }
.lf-person-card-name a { color: var(--lf-color-heading); text-decoration: none; }
.lf-person-card-name a:hover { text-decoration: underline; text-decoration-color: var(--lf-brass); }
.lf-person-card-job { margin: 0.25rem 0 0; color: var(--lf-color-text-muted); font-size: 0.92rem; }
.lf-person-card-contacts { margin: var(--lf-space-5) 0 0; padding-top: var(--lf-space-4); border-top: 1px solid var(--lf-line); font-size: 0.95rem; }
.lf-person-card-contacts dt { margin-top: var(--lf-space-3); color: var(--lf-color-text-muted); font-size: 0.72rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; }
.lf-person-card-contacts dt:first-child { margin-top: 0; }
.lf-person-card-contacts dd { margin: 0.15rem 0 0; overflow-wrap: anywhere; }
.lf-person-card-more { margin: var(--lf-space-5) 0 0; }
.lf-authors-footer { display: grid; gap: var(--lf-space-4); margin-top: var(--lf-space-6); }

/* ---------------------------------------------------------------------
   Lawyer profile.
   ------------------------------------------------------------------- */
.lf-profile-hero {
	position: relative;
	isolation: isolate;
	padding-block: clamp(3rem, 7vw, 5.5rem);
	color: #fff;
	background: var(--lf-navy-deep) url("assets/img/art-2.svg") center / cover no-repeat;
}
.lf-profile-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(13, 26, 43, 0.95), rgba(13, 26, 43, 0.8)); }
.lf-profile-hero-inner { display: grid; grid-template-columns: 17rem minmax(0, 1fr); gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.lf-profile-portrait { position: relative; margin: 0 1rem 1rem 0; }
.lf-profile-portrait::before { content: ""; position: absolute; inset: 1rem -1rem -1rem 1rem; border: 1px solid rgba(214, 184, 132, 0.55); }
.lf-profile-portrait .lf-portrait { position: relative; z-index: 1; }
.lf-profile-portrait .lf-monogram { font-size: clamp(2.6rem, 5vw, 3.6rem); }
.lf-profile-name { margin: 0; color: #fff; font-size: clamp(2.1rem, 1.3rem + 3vw, 3.5rem); }
.lf-profile-job { margin: var(--lf-space-3) 0 0; color: var(--lf-brass-light); font-family: var(--lf-font-serif); font-size: clamp(1.15rem, 1rem + 0.6vw, 1.5rem); }
.lf-profile-contacts { display: flex; flex-wrap: wrap; gap: var(--lf-space-3) var(--lf-space-6); margin: var(--lf-space-6) 0 0; padding: var(--lf-space-5) 0 0; border-top: 1px solid rgba(255, 255, 255, 0.2); list-style: none; }
.lf-profile-contacts li { display: flex; align-items: center; gap: 0.6rem; }
.lf-profile-contacts .lf-icon { color: var(--lf-brass-light); }
.lf-profile-contacts a { color: #fff; text-decoration: none; }
.lf-profile-contacts a:hover { color: var(--lf-brass-light); text-decoration: underline; }
.lf-profile .lf-tag-list { margin-top: 0; }

/* ---------------------------------------------------------------------
   Utility.
   ------------------------------------------------------------------- */
.lf-screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute;
	width: 1px;
	word-wrap: normal !important;
}

/* ---------------------------------------------------------------------
   Responsive.
   ------------------------------------------------------------------- */
@media (max-width: 70rem) {
	.lf-footer-grid { grid-template-columns: 1fr 1fr; }
	.lf-service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 61.99rem) {
	.lf-search-card { grid-template-columns: minmax(0, 1fr); }
	.lf-split-grid { grid-template-columns: minmax(0, 1fr); }
	.lf-split-art { margin-right: 0.75rem; }
	.lf-contact-facts { grid-template-columns: minmax(0, 1fr); gap: var(--lf-space-5); }
	.lf-careers-grid { grid-template-columns: minmax(0, 1fr); }
	.lf-profile-hero-inner { grid-template-columns: 12rem minmax(0, 1fr); }
	.lf-hero::before { background: linear-gradient(0deg, rgba(13, 26, 43, 0.88), rgba(13, 26, 43, 0.78)); }
	.lf-page-hero::before, .lf-article-hero::before { background: rgba(13, 26, 43, 0.84); }
}
@media (max-width: 40rem) {
	.lf-service-grid { grid-template-columns: minmax(0, 1fr); }
	.lf-footer-grid { grid-template-columns: minmax(0, 1fr); }
	.lf-search-form, .lf-filters-search-row { flex-direction: column; }
	.lf-card-grid { grid-template-columns: minmax(0, 1fr); }
	.lf-filters-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.lf-people-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--lf-space-5) var(--lf-space-4); }
	.lf-profile-hero-inner { grid-template-columns: minmax(0, 1fr); }
	.lf-profile-portrait { max-width: 11rem; }
	.lf-hero-actions .lf-btn { flex: 1 1 100%; }
	.lf-service { padding: 1.75rem 1.5rem; }
	.lf-person-cta-link { min-height: 12rem; padding: 1.25rem; }
	.lf-person-cta-title { font-size: 1.3rem; }
	.lf-person-tile-name { font-size: 1.15rem; }
}

/* Respect reduced-motion preference - no animation/transition beyond this point. */
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
	.lf-card:hover, .lf-btn:hover { transform: none; }
}

/* Windows high-contrast: keep component boundaries visible. */
@media (forced-colors: active) {
	.lf-card, .lf-service, .lf-filters, .lf-search-card { border: 1px solid CanvasText; }
}
