/* «Про компанію» SEO block. */
.bm-b-about__grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: 56px; align-items: start; }
.bm-b-about--text .bm-b-about__grid { grid-template-columns: minmax(0, 860px); }
.bm-b-about__rich h2 { margin: 0 0 18px; font: 800 26px/1.2 var(--bm-fd); color: var(--bm-strong); text-wrap: balance; }
.bm-b-about__rich h3 { margin: 26px 0 12px; font: 700 19px/1.3 var(--bm-fd); color: var(--bm-strong); }
.bm-b-about__rich a { color: var(--bm-orange-text); text-decoration: underline; text-underline-offset: 2px; }
.bm-b-about .bm-b-about__head { margin-bottom: 22px; }
.bm-b-about .bm-h2 { font-size: 30px; line-height: 1.15; }
.bm-b-about__rich p { margin: 0 0 14px; font-size: 15px; line-height: 1.65; text-wrap: pretty; }
.bm-b-about__rich > :last-child { margin-bottom: 0; }

.bm-b-about__more { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 550ms cubic-bezier(.4, 0, .2, 1); }
.bm-b-about__more > div { min-height: 0; overflow: hidden; }
.bm-b-about__more .bm-b-about__rich { padding-top: 14px; }
.bm-b-about__more.is-open { grid-template-rows: 1fr; }

.bm-b-about__toggle {
	margin-top: 20px;
	padding: 0;
	border: 0;
	background: none;
	font-size: 13.5px;
	font-weight: 700;
	color: var(--bm-orange-text);
	cursor: pointer;
}
.bm-b-about__toggle:hover { color: var(--bm-link-hover); }

.bm-b-about__fig {
	position: relative;
	align-self: stretch;
	min-height: 380px;
	margin: 0;
	overflow: hidden;
	border-radius: var(--bm-r);
}
.bm-b-about__fig img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
/* The home photo (owner 2026-10-17, data steps 83 / 84; since 2026-10-18 «на замену» the crop of his full frame,
   site/media/home-about/modulna-budivlia-derevo-sklo-v2.jpg: 899 x 545, the building at x 83-542, y 202-427 of the
   file). Measured in headless Chrome at every width 1920-320, UA + RU (scratchpad queue2/build/abox2.py): the whole
   building stays in the box with 16 % across / 64 % down — the building sits left of the frame's centre (trees on
   its left, lawn and young trees on its right). Another photo in this block: re-check the crop. */
.bm-b-about__fig img { object-position: 16% 64%; }
@media (min-width: 1101px) {
	/* two columns: the photo column is (min(100vw, container) - 2 gutters - the 56 px gap) / 2.25 wide (1.25fr 1fr)
	   and the figure stretches to the text column. The RU text makes it 537 px tall at 1101-1170 px (436-467 px wide):
	   a box taller than about 1.1 x its width shows less of the 545 px tall photo's width than the building needs
	   (459 px of the file). So the figure is never taller than 1.1 x its width — it acts only there (RU 436 x 480 ...
	   467 x 513, the photo then ends a little above the text); every other box is shorter anyway (UA 436 x 478 at
	   1101 px, 516 x 429 from 1280 px). 100vw counts a desktop scrollbar: the cap is then a few px taller. */
	.bm-b-about__fig { max-height: calc((min(100vw, var(--bm-container)) - 2 * var(--bm-pad) - 56px) / 2.25 * 1.1); }
}
.bm-b-about__fig figcaption {
	position: absolute;
	inset: auto 0 0 0;
	padding: 60px 24px 22px;
	background: linear-gradient(0deg, rgba(23, 26, 43, .78) 0%, rgba(23, 26, 43, 0) 100%);
}
.bm-b-about__fig strong {
	display: block;
	font: 800 17px/1.2 var(--bm-fd);
	letter-spacing: .02em;
	text-transform: uppercase;
	color: #fff;
}
.bm-b-about__fig span { display: block; margin-top: 5px; font-size: 13px; color: rgba(255, 255, 255, .8); }

@media (max-width: 1100px) {
	.bm-b-about__grid { grid-template-columns: 1fr; gap: 32px; }
	.bm-b-about .bm-h2 { font-size: 25px; }
	.bm-b-about__fig { min-height: 320px; }
}
@media (max-width: 767px) {
	.bm-b-about .bm-h2 { font-size: 22px; }
	.bm-b-about__fig { min-height: 260px; }
}
@media (max-width: 400px) {
	/* the narrowest phones (owner «да» 2026-10-05, the RU home at 320 px): a long word of a text heading widened the
	   page — «… из металлоконструкций.» is 319 px at 26 px against a 292 px column (13 px of sideways scroll). The
	   headings scale down with the section's width so that an 18-letter word (≈ 12.26 × the font size) fits between
	   the gutters: 23.5 px at 320, 26 px again from ≈ 351 px up (nothing changes at 360 and wider). */
	.bm-b-about { container-type: inline-size; }
	.bm-b-about__rich h2 { font-size: min(26px, calc((100cqi - 2 * var(--bm-pad)) / 12.4)); }
}

/* The owner's design «Блок на главной» (Claude Design, 2026-11-08; round o81, step 133 ownerhomeseoblock): the home block «Чому з нами варто
   працювати?» / «Почему с нами стоит работать?» with the field layout = «editorial» (editorial.php). Desktop (≥ 961 px): each part a 5fr / 7fr grid,
   its left column sticky below the site header (84 + 24 = 108 px as the design; 72 + 24 at 961-1100 px); ≤ 960 px one column, nothing sticky,
   no photos (hidden here, not fetched: editorial.php's <picture>). Sizes as the design; its tokens are the theme's: accent --bm-orange (text
   --bm-orange-text), text-strong --bm-strong, text-body --bm-text, border-default --bm-g300, border-subtle --bm-g200, gray-50 --bm-g50, radius 4 / 6 px
   --bm-r / --bm-r-md; fonts --bm-fd / --bm-fb. Headings on smaller screens as the design system's responsive.css: 32 → 26 (≤ 1100) → 22 px (≤ 767),
   the statement 26 → 20 px, the leads 17 → 15.5 px (≤ 767), the grid of part 2 one column (≤ 1100, as its «1fr 1fr» rule there). The section keeps the site's .bm-sec padding. */
.bm-b-about--editorial .bm-b-about__part,
.bm-b-about--editorial .bm-b-about__outro { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 72px; align-items: start; }
.bm-b-about--editorial .bm-b-about__part + .bm-b-about__part { margin-top: 104px; }
.bm-b-about--editorial .bm-b-about__outro { gap: 32px 72px; margin-top: 96px; padding-top: 56px; border-top: 1px solid var(--bm-g300); }
.bm-b-about--editorial .bm-b-about__aside { position: sticky; top: calc(var(--bm-hdr-h) + 24px); display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.bm-b-about--editorial .bm-b-about__h2 { display: flex; flex-direction: column; gap: 18px; margin: 0; }
.bm-b-about--editorial .bm-b-about__kicker {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	margin: 0;
	font: 700 12px/1.65 var(--bm-fb);
	letter-spacing: .1em; /* the design's 0.16em, lower for the long kicker of part 1 (brief: 0.08-0.12em) */
	text-transform: uppercase;
	color: var(--bm-orange-text);
}
.bm-b-about--editorial p.bm-b-about__kicker { letter-spacing: .16em; } /* the short line of part 2 as the design */
.bm-b-about--editorial .bm-b-about__kicker::before { content: ""; flex: none; width: 28px; height: 2px; margin-top: calc(.825em - 1px); background: var(--bm-orange); } /* centred on the first line */
.bm-b-about--editorial .bm-b-about__title { display: block; font: 800 32px/1.12 var(--bm-fd); letter-spacing: -.01em; text-transform: uppercase; color: var(--bm-strong); text-wrap: balance; }
.bm-b-about--editorial .bm-b-about__lead { max-width: 440px; font-size: 17px; line-height: 1.6; color: var(--bm-text); text-wrap: pretty; }
.bm-b-about--editorial .bm-b-about__part--plus .bm-b-about__lead { max-width: 460px; }
.bm-b-about--editorial .bm-b-about__lead > *,
.bm-b-about--editorial .bm-b-about__body > *,
.bm-b-about--editorial .bm-b-about__note > *,
.bm-b-about--editorial .bm-b-about__card > * { margin: 0; }
.bm-b-about--editorial .bm-b-about__lead > * + *,
.bm-b-about--editorial .bm-b-about__body > * + *,
.bm-b-about--editorial .bm-b-about__note > * + *,
.bm-b-about--editorial .bm-b-about__card > * + * { margin-top: .8em; }
.bm-b-about--editorial .bm-b-about__pic { display: block; }
.bm-b-about--editorial .bm-b-about__photo { display: block; width: 100%; height: auto; margin-top: 10px; }
.bm-b-about--editorial .bm-b-about__photo--cover { aspect-ratio: 4 / 3; margin-top: 14px; object-fit: cover; border-radius: var(--bm-r); }
.bm-b-about--editorial .bm-b-about__h3 { margin: 0 0 10px; font: 700 20px/1.3 var(--bm-fd); letter-spacing: -.005em; color: var(--bm-strong); }
.bm-b-about--editorial .bm-b-about__body { font-size: 15.5px; line-height: 1.7; color: var(--bm-text); text-wrap: pretty; }
.bm-b-about--editorial .bm-b-about__body strong { font-weight: 700; color: var(--bm-strong); }
.bm-b-about--editorial .bm-b-about__body a { color: var(--bm-orange-text); text-decoration: underline; text-underline-offset: 2px; }
.bm-b-about--editorial .bm-b-about__body a:hover { color: var(--bm-link-hover); }
/* part 1: the numbered list (the numbers 01-07 by CSS, the list stays an <ol>) */
.bm-b-about--editorial .bm-b-about__list { counter-reset: bm-about; border-top: 1px solid var(--bm-g300); }
.bm-b-about--editorial .bm-b-about__list > .bm-b-about__item { display: flex; align-items: baseline; gap: 24px; padding: 28px 0 30px; border-bottom: 1px solid var(--bm-g200); counter-increment: bm-about; }
.bm-b-about--editorial .bm-b-about__list > .bm-b-about__item::before {
	content: counter(bm-about, decimal-leading-zero);
	content: counter(bm-about, decimal-leading-zero) / "";
	flex: none;
	width: 36px;
	font: 800 15px/1 var(--bm-fd);
	color: var(--bm-orange-text);
}
.bm-b-about--editorial .bm-b-about__in { flex: 1 1 auto; min-width: 0; }
/* part 2: two columns, a top border with the short accent line */
.bm-b-about--editorial .bm-b-about__plus { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 44px 48px; }
.bm-b-about--editorial .bm-b-about__plus > .bm-b-about__item { position: relative; padding-top: 22px; border-top: 1px solid var(--bm-g300); }
.bm-b-about--editorial .bm-b-about__plus > .bm-b-about__item::before { content: ""; position: absolute; top: -1px; left: 0; width: 28px; height: 2px; background: var(--bm-orange); }
.bm-b-about--editorial .bm-b-about__plus .bm-b-about__h3 { font: 800 16px/1.3 var(--bm-fd); letter-spacing: .06em; text-transform: uppercase; }
.bm-b-about--editorial .bm-b-about__plus .bm-b-about__body { font-size: 15px; }
/* part 3: the statement, the text and the grey card */
.bm-b-about--editorial .bm-b-about__statement { margin: 0; font: 700 26px/1.3 var(--bm-fd); letter-spacing: -.01em; color: var(--bm-strong); text-wrap: balance; }
.bm-b-about--editorial .bm-b-about__accent { color: var(--bm-orange-text); }
.bm-b-about--editorial .bm-b-about__side { display: flex; flex-direction: column; gap: 44px; min-width: 0; } /* the design's gap 28 px + its paragraph's 1em (16 px) bottom margin */
.bm-b-about--editorial .bm-b-about__note { font-size: 16px; line-height: 1.7; color: var(--bm-text); text-wrap: pretty; }
.bm-b-about--editorial .bm-b-about__card { padding: 28px 32px 30px; background: var(--bm-g50); border: 1px solid var(--bm-g200); border-radius: var(--bm-r-md); font-size: 15px; line-height: 1.65; color: var(--bm-text); text-wrap: pretty; }
@media (max-width: 1100px) {
	.bm-b-about--editorial .bm-b-about__title { font-size: 26px; }
	.bm-b-about--editorial .bm-b-about__plus { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 960px) {
	.bm-b-about--editorial .bm-b-about__part,
	.bm-b-about--editorial .bm-b-about__outro { grid-template-columns: minmax(0, 1fr); gap: 28px; }
	.bm-b-about--editorial .bm-b-about__aside { position: static; }
	.bm-b-about--editorial .bm-b-about__pic { display: none; }
}
@media (max-width: 767px) {
	.bm-b-about--editorial .bm-b-about__title { font-size: 22px; }
	.bm-b-about--editorial .bm-b-about__statement { font-size: 20px; }
	.bm-b-about--editorial .bm-b-about__lead { font-size: 15.5px; }
}
