/* Kovalev theme — strict, architectural: navy ink, brass hairlines, square corners. */

:root {
	--ink: #0f2433;
	--navy: #143247;
	--navy-2: #1c4560;
	--night: #0b1b27;
	--paper: #f3f4f1;
	--white: #fff;
	--line: #d9ddda;
	--line-dark: rgba(255, 255, 255, .14);
	--muted: #56656f;
	--muted-light: #a7b6c1;
	--brass: #b48f57;
	--brass-light: #d8bc8c;
	--brass-dark: #85632f;
	--danger: #a3322a;
	--ok: #2f6b4c;

	--f-head: "Manrope", "Segoe UI", system-ui, sans-serif;
	--f-body: "Golos Text", "Segoe UI", system-ui, sans-serif;

	--wrap: 1200px;
	--gutter: clamp(16px, 4vw, 40px);
	--section: clamp(64px, 9vw, 128px);
	--header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body {
	margin: 0;
	font-family: var(--f-body);
	font-size: 17px;
	line-height: 1.65;
	color: var(--ink);
	background: var(--paper);
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}
img, svg, video, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--navy-2); text-decoration-thickness: 1px; text-underline-offset: .2em; }
a:hover { color: var(--brass-dark); }
:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; }
h1, h2, h3, h4 { font-family: var(--f-head); font-weight: 700; line-height: 1.12; letter-spacing: -.02em; margin: 0 0 .6em; text-wrap: balance; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
address { font-style: normal; }
figure { margin: 0; }
button, input, textarea, select { font: inherit; color: inherit; }

.icon { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex: none; }

.emblem { width: 40px; height: 40px; flex: none; }
.emblem__laurel { fill: var(--brass); }
.emblem__scales { stroke: currentColor; stroke-width: 1.8; }

.screen-reader-text, .hp {
	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: -60px; z-index: 100; padding: 10px 16px; background: var(--ink); color: var(--white); }
.skip-link:focus { top: 12px; }
.site-main:focus { outline: none; }

.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.wrap--text { max-width: calc(760px + 2 * var(--gutter)); }
.wrap--wide { max-width: calc(1040px + 2 * var(--gutter)); }

.section { padding: var(--section) 0; }

/* Labels: small caps line with an index number and a brass rule. */
.label {
	display: flex; align-items: center; gap: 12px;
	margin: 0 0 20px;
	font-family: var(--f-head); font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
	color: var(--brass-dark);
}
.label::after { content: ""; width: 48px; height: 1px; background: currentColor; opacity: .6; }
.label__index { color: var(--ink); font-variant-numeric: tabular-nums; }
.label__index::after { content: "—"; margin-left: 10px; color: var(--brass); }
.label a { color: inherit; text-decoration: none; }
.label a:hover { color: var(--ink); }
.label--light { color: var(--brass-light); }
.label--light .label__index { color: var(--white); }

.section-title { font-size: clamp(30px, 4vw, 46px); max-width: 18em; margin-bottom: 0; }
.section-title--small { font-size: clamp(24px, 2.6vw, 30px); margin-bottom: 28px; }
.section-head { margin-bottom: clamp(36px, 5vw, 56px); }
.section-head--split { display: grid; gap: 20px 48px; align-items: end; }
.section-head__aside { margin: 0; max-width: 34em; color: var(--muted); }
@media (min-width: 900px) {
	.section-head--split { grid-template-columns: 1.3fr 1fr; }
	.section-head--split > :last-child { justify-self: end; }
}

/* Buttons and links */
.button {
	display: inline-flex; align-items: center; justify-content: center; gap: 12px;
	min-height: 54px; padding: 14px 26px;
	border: 1px solid var(--ink); border-radius: 0;
	background: var(--ink); color: var(--white);
	font-family: var(--f-head); font-size: 15px; font-weight: 700; letter-spacing: .02em;
	text-decoration: none; cursor: pointer;
	transition: background-color .2s, color .2s, border-color .2s;
}
.button:hover { background: var(--navy-2); border-color: var(--navy-2); color: var(--white); }
.button .icon { transition: transform .2s; }
.button:hover .icon { transform: translateX(4px); }
.button--brass { background: var(--brass); border-color: var(--brass); color: var(--night); }
.button--brass:hover { background: var(--brass-light); border-color: var(--brass-light); color: var(--night); }
.button--small { min-height: 42px; padding: 8px 18px; font-size: 14px; }

.link-arrow {
	display: inline-flex; align-items: center; gap: 10px;
	font-family: var(--f-head); font-size: 15px; font-weight: 700;
	color: var(--ink); text-decoration: none;
	border-bottom: 1px solid var(--brass); padding-bottom: 4px;
}
.link-arrow::after { content: "→"; transition: transform .2s; }
.link-arrow:hover { color: var(--brass-dark); }
.link-arrow:hover::after { transform: translateX(4px); }

/* Header */
.site-header {
	position: sticky; top: 0; z-index: 50;
	border-bottom: 1px solid transparent;
	transition: border-color .2s;
}
/* The blur lives on a pseudo-element: backdrop-filter on the header itself would
   become the containing block of the fixed mobile menu and clip it. */
.site-header::before {
	content: ""; position: absolute; inset: 0; z-index: -1;
	background: rgba(243, 244, 241, .94);
	-webkit-backdrop-filter: saturate(1.2) blur(10px); backdrop-filter: saturate(1.2) blur(10px);
}
.site-header.is-scrolled { border-bottom-color: var(--line); }
.site-header__inner { display: flex; align-items: center; gap: 24px; min-height: var(--header-h); }
.brand { display: flex; align-items: center; gap: 12px; color: var(--ink); text-decoration: none; margin-right: auto; }
.brand:hover { color: var(--ink); }
.brand__text { display: flex; flex-direction: column; line-height: 1.1; }
.brand__name { font-family: var(--f-head); font-size: 18px; font-weight: 800; letter-spacing: -.01em; }
.brand__role { margin-top: 3px; font-size: 12px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--brass-dark); }
.brand--light, .brand--light:hover { color: var(--white); }
.brand--light .brand__role { color: var(--brass-light); }

.site-nav__list { display: flex; gap: 32px; list-style: none; }
.site-nav__list a { position: relative; display: block; padding: 8px 0; font-family: var(--f-head); font-size: 15px; font-weight: 600; color: var(--ink); text-decoration: none; }
.site-nav__list a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 1px; background: var(--brass); transform: scaleX(0); transform-origin: left; transition: transform .25s; }
.site-nav__list a:hover::after, .site-nav__list a[aria-current="page"]::after, .site-nav__list .current-menu-item > a::after { transform: scaleX(1); }
.site-nav__extra { display: none; }

.site-header__actions { display: flex; align-items: center; gap: 20px; }
.header-phone { display: inline-flex; align-items: center; gap: 8px; font-family: var(--f-head); font-weight: 700; font-size: 15px; color: var(--ink); text-decoration: none; white-space: nowrap; }
.header-phone .icon { color: var(--brass-dark); }
.header-phone:hover { color: var(--brass-dark); }
.nav-toggle { display: none; width: 44px; height: 44px; padding: 0; border: 1px solid var(--line); background: transparent; cursor: pointer; align-items: center; justify-content: center; }

@media (max-width: 1099px) {
	.header-phone span { display: none; }
	.header-phone { width: 44px; height: 44px; justify-content: center; border: 1px solid var(--line); }
	.site-header__actions { gap: 10px; }
	.nav-toggle { display: inline-flex; }
	.nav-toggle .icon--close, .nav-toggle[aria-expanded="true"] .icon--menu { display: none; }
	.nav-toggle[aria-expanded="true"] .icon--close { display: block; }
	.site-nav {
		position: fixed; inset: var(--header-h) 0 0; z-index: 40;
		display: flex; flex-direction: column; gap: 32px;
		padding: 24px var(--gutter) 40px; overflow-y: auto;
		background: var(--paper);
		visibility: hidden; opacity: 0; transform: translateY(-8px);
		transition: opacity .2s, transform .2s, visibility 0s .2s;
	}
	.site-nav.is-open { visibility: visible; opacity: 1; transform: none; transition: opacity .2s, transform .2s; }
	.site-nav__list { flex-direction: column; gap: 0; }
	.site-nav__list li { border-bottom: 1px solid var(--line); }
	.site-nav__list a { padding: 16px 0; font-size: 22px; }
	.site-nav__list a::after { display: none; }
	.site-nav__list a[aria-current="page"] { color: var(--brass-dark); }
	.site-nav__extra { display: flex; flex-direction: column; gap: 20px; }
	body.nav-open { overflow: hidden; }
}
@media (max-width: 560px) {
	.header-cta { display: none; }
	.brand__name { font-size: 16px; }
	.brand .emblem { width: 34px; height: 34px; }
}

/* Hero */
.hero {
	position: relative; overflow: hidden;
	background:
		linear-gradient(90deg, rgba(255, 255, 255, .06) 1px, transparent 1px) 0 0 / calc(100% / 6) 100%,
		radial-gradient(120% 90% at 85% 10%, var(--navy-2) 0%, var(--navy) 45%, var(--night) 100%);
	color: var(--white);
}
.hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11, 27, 39, 0) 60%, rgba(11, 27, 39, .55) 100%); pointer-events: none; }
.hero > .wrap { position: relative; }
.hero__grid { display: grid; gap: 56px; padding-top: clamp(48px, 8vw, 112px); padding-bottom: clamp(48px, 7vw, 96px); align-items: center; }
.hero__title { font-size: clamp(40px, 6.2vw, 80px); font-weight: 800; line-height: 1.02; letter-spacing: -.035em; margin-bottom: 28px; }
.hero__lead { max-width: 32em; font-size: clamp(17px, 1.5vw, 19px); color: var(--muted-light); margin-bottom: 40px; }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 32px; }
.hero__phone { display: inline-flex; align-items: center; gap: 10px; font-family: var(--f-head); font-size: 18px; font-weight: 700; color: var(--white); text-decoration: none; }
.hero__phone .icon { color: var(--brass-light); }
.hero__phone:hover { color: var(--brass-light); }
.hero :focus-visible { outline-color: var(--brass-light); }

.hero__media { position: relative; max-width: 440px; width: 100%; justify-self: center; padding: 0 0 48px 0; }
.hero__portrait { position: relative; aspect-ratio: 4 / 5; }
.hero__portrait::before { content: ""; position: absolute; inset: -14px 14px 14px -14px; border: 1px solid var(--brass); pointer-events: none; }
.hero__portrait img, .hero__portrait .portrait-placeholder { position: relative; width: 100%; height: 100%; object-fit: cover; }

.portrait-placeholder {
	display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 28px;
	background:
		repeating-linear-gradient(135deg, rgba(255, 255, 255, .025) 0 1px, transparent 1px 14px),
		linear-gradient(160deg, #21506f 0%, #163a52 55%, #0f2a3c 100%);
	color: rgba(255, 255, 255, .82);
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08);
}
.portrait-placeholder__emblem { width: 42%; height: auto; }
.portrait-placeholder__emblem .emblem__scales { stroke-width: 1.2; }
.portrait-placeholder__name { display: flex; flex-direction: column; align-items: center; gap: 4px; font-family: var(--f-head); font-size: 15px; font-weight: 800; letter-spacing: .32em; text-transform: uppercase; padding-left: .32em; }
.portrait-placeholder__name span { font-size: 12px; font-weight: 500; letter-spacing: .18em; color: var(--brass-light); padding-left: .18em; }

.plate {
	position: absolute; right: -12px; bottom: 0; left: 40px;
	display: grid; grid-template-columns: 1fr 1fr; gap: 10px 20px;
	padding: 20px 22px;
	background: var(--white); color: var(--ink);
	box-shadow: 0 24px 48px -24px rgba(0, 0, 0, .55);
	border-top: 3px solid var(--brass);
}
.plate__row { display: flex; flex-direction: column; gap: 2px; }
.plate__row--wide { grid-column: 1 / -1; }
.plate__key { font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.plate__val { font-family: var(--f-head); font-size: 16px; font-weight: 700; font-variant-numeric: tabular-nums; }
.plate__row--wide .plate__val { font-size: 14px; font-weight: 600; }
.plate__link { grid-column: 1 / -1; display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; color: var(--navy-2); }
.plate__link .icon { width: 14px; height: 14px; }
.hero .plate :focus-visible { outline-color: var(--brass); }

@media (min-width: 960px) {
	.hero__grid { grid-template-columns: 1.35fr 1fr; gap: 72px; }
	.hero__media { justify-self: end; }
}
@media (max-width: 480px) {
	.plate { left: 16px; right: -4px; padding: 16px; }
	.hero__portrait::before { inset: -10px 10px 10px -10px; }
}

.facts { position: relative; display: grid; list-style: none; border-top: 1px solid var(--line-dark); }
.facts li { display: flex; flex-direction: column; gap: 6px; padding: 28px 0; }
.facts li + li { border-top: 1px solid var(--line-dark); }
.facts strong { font-family: var(--f-head); font-size: 22px; font-weight: 800; color: var(--brass-light); letter-spacing: -.01em; }
.facts span { font-size: 14px; color: var(--muted-light); max-width: 22em; }
@media (min-width: 700px) {
	.facts { grid-template-columns: repeat(2, 1fr); }
	.facts li { padding: 32px 28px 32px 0; }
	.facts li + li { border-top: 0; }
	.facts li:nth-child(even) { padding-left: 28px; border-left: 1px solid var(--line-dark); }
	.facts li:nth-child(n+3) { border-top: 1px solid var(--line-dark); }
}
@media (min-width: 1100px) {
	.facts { grid-template-columns: repeat(4, 1fr); }
	.facts li, .facts li:nth-child(even) { padding: 36px 28px; border-left: 1px solid var(--line-dark); }
	.facts li:first-child { padding-left: 0; border-left: 0; }
	.facts li:nth-child(n+3) { border-top: 0; }
}

/* Practice areas */
.practice-grid { display: grid; gap: 1px; list-style: none; background: var(--line); border: 1px solid var(--line); }
.practice-card { position: relative; display: flex; flex-direction: column; padding: 36px 32px 32px; background: var(--white); transition: background-color .25s; }
.practice-card::before { content: ""; position: absolute; left: 0; top: 0; width: 100%; height: 3px; background: var(--brass); transform: scaleX(0); transform-origin: left; transition: transform .3s; }
.practice-card:hover::before, .practice-card:focus-within::before { transform: scaleX(1); }
.practice-card__num { font-family: var(--f-head); font-size: 14px; font-weight: 700; color: var(--brass-dark); margin-bottom: 28px; font-variant-numeric: tabular-nums; }
.practice-card__title { font-size: 24px; margin-bottom: 12px; }
.practice-card__title a { color: var(--ink); text-decoration: none; }
.practice-card__title a::after { content: ""; position: absolute; inset: 0; }
.practice-card__title a:focus-visible { outline: none; }
.practice-card:focus-within { outline: 2px solid var(--brass); outline-offset: -2px; }
.practice-card__text { color: var(--muted); font-size: 16px; }
.practice-card__points { list-style: none; margin: 4px 0 28px; border-top: 1px solid var(--line); }
.practice-card__points li { padding: 9px 0 9px 18px; border-bottom: 1px solid var(--line); font-size: 15px; position: relative; }
.practice-card__points li::before { content: ""; position: absolute; left: 0; top: calc(9px + .8em); width: 7px; height: 1px; background: var(--brass); }
.practice-card__more { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; font-family: var(--f-head); font-size: 14px; font-weight: 700; color: var(--navy-2); }
.practice-card__more .icon { width: 18px; height: 18px; transition: transform .2s; }
.practice-card:hover .practice-card__more .icon { transform: translateX(4px); }
.practice-card--cta { justify-content: center; background: var(--navy); color: var(--white); }
.practice-card--cta::before { content: none; }
.practice-card--cta .practice-card__title { color: var(--white); }
.practice-card--cta .practice-card__text { color: rgba(255, 255, 255, .72); max-width: 560px; margin-bottom: 28px; }
.practice-card__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; }
/* The CTA card fills whatever is left of the last row. */
@media (min-width: 700px) {
	.practice-grid { grid-template-columns: repeat(2, 1fr); }
	.practice-card--cta:nth-child(2n+1) { grid-column: 1 / -1; }
}
@media (min-width: 1100px) {
	.practice-grid { grid-template-columns: repeat(3, 1fr); }
	.practice-card--cta:nth-child(2n+1) { grid-column: auto; }
	.practice-card--cta:nth-child(3n+1) { grid-column: 1 / -1; }
	.practice-card--cta:nth-child(3n+2) { grid-column: span 2; }
}

/* About */
.about { background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.about__grid { display: grid; gap: 48px; }
.about__text .section-title { margin-bottom: 28px; }
.about__text > p { max-width: 36em; color: #2b3d4a; }
.about__text .link-arrow { margin-top: 12px; }
.principles { list-style: none; counter-reset: pr; align-self: center; }
.principles li { counter-increment: pr; display: grid; grid-template-columns: 56px 1fr; padding: 26px 0; border-top: 1px solid var(--line); }
.principles li:last-child { border-bottom: 1px solid var(--line); }
.principles li::before { content: counter(pr, upper-roman); grid-row: span 2; font-family: var(--f-head); font-size: 15px; font-weight: 800; color: var(--brass-dark); padding-top: 4px; }
.principles h3 { font-size: 20px; margin-bottom: 6px; }
.principles p { margin: 0; color: var(--muted); font-size: 16px; }
@media (min-width: 960px) { .about__grid { grid-template-columns: 1.1fr 1fr; gap: 96px; } }

/* Steps */
.steps-section { background: var(--ink); color: var(--white); }
.steps-section .label { color: var(--brass-light); }
.steps-section .label__index { color: var(--white); }
.steps-section .section-title { margin-bottom: clamp(40px, 5vw, 64px); }
.steps { list-style: none; counter-reset: st; display: grid; gap: 0; border-top: 1px solid var(--line-dark); }
.steps__item { counter-increment: st; padding: 32px 0; border-bottom: 1px solid var(--line-dark); }
.steps__item::before { content: counter(st, decimal-leading-zero); display: block; font-family: var(--f-head); font-size: 56px; font-weight: 800; line-height: 1; letter-spacing: -.04em; color: transparent; -webkit-text-stroke: 1px var(--brass); margin-bottom: 24px; }
.steps__item h3 { font-size: 21px; margin-bottom: 10px; }
.steps__item p { margin: 0; color: var(--muted-light); font-size: 16px; }
@media (min-width: 760px) {
	.steps { grid-template-columns: repeat(2, 1fr); border-top: 0; }
	.steps__item { padding: 36px 32px 36px 0; border-bottom: 0; border-top: 1px solid var(--line-dark); }
	.steps__item:nth-child(even) { padding-left: 32px; border-left: 1px solid var(--line-dark); }
}
@media (min-width: 1100px) {
	.steps { grid-template-columns: repeat(4, 1fr); }
	.steps__item, .steps__item:nth-child(even) { padding: 40px 28px 8px; border-left: 1px solid var(--line-dark); }
	.steps__item:first-child { padding-left: 0; border-left: 0; }
}
.steps-section :focus-visible { outline-color: var(--brass-light); }

/* Pricing */
.pricing__grid { display: grid; gap: 24px; list-style: none; }
.price-card { display: flex; flex-direction: column; padding: 32px; background: var(--white); border: 1px solid var(--line); }
.price-card__title { font-size: 22px; margin-bottom: 8px; }
.price-card__price { font-family: var(--f-head); font-size: 15px; font-weight: 700; color: var(--brass-dark); padding-bottom: 20px; margin-bottom: 20px; border-bottom: 1px solid var(--line); }
.price-card__text { margin: 0; color: var(--muted); font-size: 16px; }
@media (min-width: 900px) { .pricing__grid { grid-template-columns: repeat(3, 1fr); } }

/* FAQ */
.faq { border-top: 1px solid var(--line); }
.faq__grid { display: grid; gap: 40px; }
.faq__list { border-top: 1px solid var(--ink); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item summary {
	position: relative; display: block; padding: 24px 48px 24px 0; cursor: pointer; list-style: none;
	font-family: var(--f-head); font-size: 19px; font-weight: 700; line-height: 1.35;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::before, .faq__item summary::after { content: ""; position: absolute; right: 8px; top: 50%; width: 16px; height: 1.5px; background: var(--brass-dark); transition: transform .25s; }
.faq__item summary::after { transform: rotate(90deg); }
.faq__item[open] summary::after { transform: rotate(0); }
.faq__item summary:hover { color: var(--navy-2); }
.faq__answer { padding: 0 48px 24px 0; color: #2b3d4a; }
.faq__answer p:last-child { margin-bottom: 0; }
@media (min-width: 960px) { .faq__grid { grid-template-columns: 1fr 1.6fr; gap: 96px; } }

/* Closing CTA */
.cta { padding: var(--section) 0; background: var(--navy); color: var(--white); position: relative; overflow: hidden; }
.cta::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--line-dark) 1px, transparent 1px) 0 0 / calc(100% / 6) 100%; opacity: .6; pointer-events: none; }
.cta__grid { position: relative; display: grid; gap: 48px; align-items: start; }
.cta__title { font-size: clamp(32px, 4.4vw, 52px); font-weight: 800; letter-spacing: -.03em; margin-bottom: 20px; }
.cta__lead { max-width: 30em; color: var(--muted-light); margin-bottom: 36px; }
.cta__address { display: flex; gap: 12px; align-items: flex-start; margin: 28px 0 0; color: var(--muted-light); font-size: 15px; }
.cta__address .icon { color: var(--brass-light); margin-top: 3px; }
.cta :focus-visible { outline-color: var(--brass-light); }
@media (min-width: 960px) { .cta__grid { grid-template-columns: 1fr 1fr; gap: 96px; } }

/* Contact channels */
.channels { list-style: none; display: grid; gap: 0; }
.channels a { display: flex; align-items: center; gap: 16px; padding: 14px 0; text-decoration: none; color: inherit; }
.channels .icon { width: 22px; height: 22px; color: var(--brass-dark); }
.channels__text { display: flex; flex-direction: column; line-height: 1.25; }
.channels__label { font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.channels__value { font-family: var(--f-head); font-size: 18px; font-weight: 700; word-break: break-word; }
.channels a:hover .channels__value { color: var(--brass-dark); }
.channels--cta { border-top: 1px solid var(--line-dark); }
.channels--cta li { border-bottom: 1px solid var(--line-dark); }
.channels--cta a { padding: 18px 0; }
.channels--cta .icon { color: var(--brass-light); }
.channels--cta .channels__label { color: var(--muted-light); }
.channels--cta .channels__value { font-size: 22px; }
.channels--cta a:hover .channels__value { color: var(--brass-light); }
.channels--large { border-top: 1px solid var(--line); }
.channels--large li { border-bottom: 1px solid var(--line); }
.channels--large a { padding: 18px 0; }
.channels--large .channels__value { font-size: 24px; }
.channels--nav .channels__value { font-size: 18px; }
.channels--footer a { padding: 6px 0; gap: 12px; }
.channels--footer .icon { width: 18px; height: 18px; color: var(--brass-light); }
.channels--footer .channels__label { display: none; }
.channels--footer .channels__value { font-family: var(--f-body); font-size: 15px; font-weight: 500; }

/* Footer */
.site-footer { background: var(--night); color: var(--muted-light); padding: 72px 0 32px; font-size: 15px; }
.site-footer a { color: var(--white); text-decoration: none; }
.site-footer a:hover, .site-footer a:hover .channels__value { color: var(--brass-light); }
.site-footer :focus-visible { outline-color: var(--brass-light); }
.site-footer__grid { display: grid; gap: 40px; padding-bottom: 48px; }
.site-footer__title { font-family: var(--f-head); font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--brass-light); margin-bottom: 16px; }
.site-footer__note { margin: 20px 0 0; max-width: 18em; }
.site-footer address { margin-bottom: 12px; }
.site-footer .link-arrow { font-size: 14px; color: var(--white); }
.footer-nav { list-style: none; display: grid; gap: 8px; }
.site-footer__license { display: flex; gap: 14px; align-items: flex-start; padding-top: 28px; padding-bottom: 28px; border-top: 1px solid var(--line-dark); font-size: 14px; }
.site-footer__license .icon { color: var(--brass-light); margin-top: 2px; }
.site-footer__license p { margin: 0; max-width: 60em; }
.site-footer__license a { margin-left: 6px; text-decoration: underline; text-decoration-color: var(--brass); }
.site-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px; padding-top: 24px; border-top: 1px solid var(--line-dark); font-size: 13px; }
.site-footer__bottom p { margin: 0; }
.site-credit a { display: inline-flex; align-items: center; gap: 8px; color: var(--muted-light); }
.site-credit strong { font-family: var(--f-head); font-weight: 700; letter-spacing: -.01em; color: var(--white); }
.site-credit strong span { font-weight: 400; color: var(--muted-light); transition: color .2s; }
.site-credit a:hover strong span { color: #c9f24d; }
/* Pressmith layer glyph: the top sheet lifts and presses down onto the stack. */
.site-credit__glyph { flex: none; overflow: visible; }
.site-credit__layer { fill: none; stroke: var(--white); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.site-credit__layer--mid { opacity: .55; animation: credit-mid 2.8s ease-in-out infinite; }
.site-credit__layer--base { animation: credit-base 2.8s ease-in-out infinite; }
.site-credit__top { fill: #c9f24d; animation: credit-press 2.8s cubic-bezier(.55, 0, .45, 1) infinite; }
.site-credit a:hover .site-credit__glyph * { animation-duration: 1.1s; }
@keyframes credit-press { 0%, 20% { transform: translateY(0); } 42% { transform: translateY(-3px); } 56% { transform: translateY(2.5px); } 66%, 100% { transform: translateY(0); } }
@keyframes credit-mid { 0%, 52% { transform: translateY(0); } 58% { transform: translateY(1.5px); } 70%, 100% { transform: translateY(0); } }
@keyframes credit-base { 0%, 54% { transform: translateY(0); } 61% { transform: translateY(.8px); } 74%, 100% { transform: translateY(0); } }
@media (min-width: 760px) { .site-footer__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .site-footer__grid { grid-template-columns: 1.3fr 1.2fr 1fr .8fr; } }

/* Inner pages */
.page-hero { padding: clamp(48px, 7vw, 96px) 0 clamp(36px, 5vw, 64px); border-bottom: 1px solid var(--line); background: linear-gradient(90deg, rgba(15, 36, 51, .05) 1px, transparent 1px) 0 0 / calc(100% / 6) 100%; }
.page-hero__title { font-size: clamp(36px, 5.4vw, 64px); font-weight: 800; letter-spacing: -.035em; max-width: 16em; margin-bottom: 0; }
.page-hero__lead { max-width: 38em; margin: 24px 0 0; font-size: 19px; color: var(--muted); }
.page-hero--post .page-hero__title { font-size: clamp(32px, 4.4vw, 52px); }
.post-meta { margin: 20px 0 0; color: var(--muted); font-size: 15px; }

.entry-content { padding-top: clamp(40px, 6vw, 72px); padding-bottom: clamp(48px, 7vw, 96px); }
.entry-content > * { max-width: 760px; }
.entry-content > .alignwide, .entry-content > .wp-block-columns { max-width: 1040px; }
.entry-content h2 { font-size: clamp(26px, 3vw, 34px); margin-top: 1.8em; }
.entry-content h3 { font-size: 22px; margin-top: 1.6em; }
.entry-content > :first-child { margin-top: 0; }
.entry-content ul, .entry-content ol { padding-left: 1.3em; margin-bottom: 1.2em; }
.entry-content li { margin-bottom: .4em; }
.entry-content li::marker { color: var(--brass-dark); }
.entry-content img { margin: 0 auto; }
.entry-content figcaption, .entry-content .wp-element-caption { margin-top: 10px; font-size: 14px; color: var(--muted); }
.entry-content figure { margin: 2em 0; }
.entry-content blockquote { margin: 2em 0; padding: 4px 0 4px 28px; border-left: 3px solid var(--brass); font-family: var(--f-head); font-size: 21px; font-weight: 600; line-height: 1.45; }
.entry-content hr { border: 0; border-top: 1px solid var(--line); margin: 3em 0; }
.entry-content .lead { font-size: 20px; color: #2b3d4a; }
.entry-content table { width: 100%; border-collapse: collapse; margin: 1.5em 0; font-size: 16px; }
.entry-content th, .entry-content td { padding: 12px 16px 12px 0; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.entry-content .wp-block-table table, .entry-content .wp-block-table thead { border: 0; }
.entry-content .wp-block-table th, .entry-content .wp-block-table td { border: 0; border-bottom: 1px solid var(--line); }
.entry-content .wp-block-table thead th { border-bottom: 1px solid var(--ink); }
.entry-content th { font-family: var(--f-head); font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.entry-content .note { padding: 20px 24px; background: var(--white); border: 1px solid var(--line); border-left: 3px solid var(--brass); }

/* Practice page */
.practice-index { padding-top: 32px; padding-bottom: 8px; }
.practice-index ol { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; }
.practice-index a { display: block; padding: 8px 16px; border: 1px solid var(--line); background: var(--white); font-family: var(--f-head); font-size: 14px; font-weight: 600; color: var(--ink); text-decoration: none; }
.practice-index a:hover { border-color: var(--brass); color: var(--brass-dark); }
.practice-list { padding-top: 24px; padding-bottom: var(--section); }
.practice-item { display: grid; gap: 24px 64px; padding: clamp(40px, 5vw, 64px) 0; border-bottom: 1px solid var(--line); }
.practice-item__num { display: block; font-family: var(--f-head); font-size: 14px; font-weight: 700; color: var(--brass-dark); margin-bottom: 16px; }
.practice-item__title { font-size: clamp(28px, 3.2vw, 38px); margin-bottom: 16px; }
.practice-item__lead { color: var(--muted); max-width: 30em; margin: 0; }
.practice-item__body .entry-content { padding: 24px 0 8px; }
.practice-item__body .entry-content:empty { display: none; }
@media (min-width: 960px) { .practice-item { grid-template-columns: 1fr 1.25fr; } .practice-item__head { position: sticky; top: calc(var(--header-h) + 32px); align-self: start; } }

.checklist { list-style: none; border-top: 1px solid var(--line); }
.checklist li { display: flex; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.checklist .icon { color: var(--brass-dark); margin-top: 3px; }

/* Contact page */
.contact { display: grid; gap: 56px; padding-top: clamp(40px, 6vw, 72px); padding-bottom: var(--section); }
.contact__details { display: grid; gap: 48px; align-content: start; }
.contact__label { font-family: var(--f-head); font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--brass-dark); margin-bottom: 16px; }
.contact__address { font-size: 20px; line-height: 1.5; margin-bottom: 16px; }
.contact__license { max-width: 30em; color: #2b3d4a; }
.contact__details .entry-content { padding: 0; }
.contact__card { padding: 32px; background: var(--white); border: 1px solid var(--line); border-top: 3px solid var(--brass); }
.contact__card-title { font-family: var(--f-head); font-size: 22px; font-weight: 700; }
@media (min-width: 960px) { .contact { grid-template-columns: 1fr 1fr; gap: 96px; } }

/* Form */
.callback { padding: clamp(28px, 4vw, 40px); background: var(--white); color: var(--ink); border-top: 3px solid var(--brass); }
.cta .callback { box-shadow: 0 32px 64px -32px rgba(0, 0, 0, .6); }
.cta .callback :focus-visible { outline-color: var(--brass); }
.callback__title { font-size: 26px; margin-bottom: 24px; }
.field { margin-bottom: 20px; }
.field label { display: block; margin-bottom: 8px; font-size: 14px; font-weight: 600; }
.field input[type="text"], .field input[type="tel"], .field textarea {
	width: 100%; min-height: 52px; padding: 13px 16px;
	border: 1px solid #c4cbcc; border-radius: 0; background: var(--paper);
	font-size: 16px; transition: border-color .2s, background-color .2s;
}
.field textarea { resize: vertical; min-height: 110px; }
.field input:hover, .field textarea:hover { border-color: var(--muted); }
.field input:focus-visible, .field textarea:focus-visible { outline: 2px solid var(--brass); outline-offset: 0; border-color: var(--ink); background: var(--white); }
.field [aria-invalid="true"] { border-color: var(--danger); }
.field__error { margin: 6px 0 0; font-size: 14px; color: var(--danger); }
.field__hint { margin: 6px 0 0; font-size: 13px; color: var(--muted); }
.field--check { display: grid; grid-template-columns: 20px 1fr; gap: 12px; align-items: start; }
.field--check input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--ink); }
.field--check label { margin: 0; font-size: 14px; font-weight: 400; color: var(--muted); }
.field--check .field__error { grid-column: 2; }
.callback .button { width: 100%; }
.notice { padding: 14px 18px; margin-bottom: 20px; font-size: 15px; border-left: 3px solid; }
.notice--ok { background: #eaf3ee; border-color: var(--ok); }
.notice--error { background: #f8ebe9; border-color: var(--danger); }

/* Blog */
.post-list { display: grid; gap: 40px 32px; padding-top: clamp(40px, 6vw, 72px); padding-bottom: 48px; }
.post-card { display: flex; flex-direction: column; border-top: 1px solid var(--ink); padding-top: 20px; }
.post-card__media { display: block; margin-bottom: 20px; aspect-ratio: 3 / 2; overflow: hidden; background: var(--line); }
.post-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.post-card:hover .post-card__media img { transform: scale(1.03); }
.post-card__meta { margin: 0 0 10px; font-size: 13px; color: var(--muted); }
.post-card__title { font-size: 22px; margin-bottom: 10px; }
.post-card__title a { color: var(--ink); text-decoration: none; }
.post-card__title a:hover { color: var(--brass-dark); }
.post-card__excerpt { margin: 0; color: var(--muted); font-size: 16px; }
@media (min-width: 700px) { .post-list { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .post-list { grid-template-columns: repeat(3, 1fr); } }
.single-post__media { margin-top: 40px; }
.post-note { padding-bottom: 48px; }
.post-note p { margin: 0; padding: 20px 24px; border: 1px solid var(--line); border-left: 3px solid var(--brass); background: var(--white); font-size: 15px; color: var(--muted); }
.more-posts { padding-top: 24px; padding-bottom: var(--section); }
.more-posts .post-list { padding-top: 0; }
.pagination { padding-bottom: 64px; }
.pagination .nav-links { display: flex; flex-wrap: wrap; gap: 8px; }
.pagination .page-numbers { display: inline-flex; min-width: 44px; height: 44px; align-items: center; justify-content: center; padding: 0 14px; border: 1px solid var(--line); background: var(--white); color: var(--ink); text-decoration: none; font-weight: 600; }
.pagination .page-numbers.current { background: var(--ink); border-color: var(--ink); color: var(--white); }
.pagination a.page-numbers:hover { border-color: var(--brass); }
