/* Service pages (Help, Ordering & shipping, Warranty, Returns, Install & care, Contact, the Transducer Shield & Saver pages), About, 404.
   Markup comes from post content built by tools/service-pages: this file draws it. Blocks run the full container width on desktop. */

/* ===== Frame ===== */
.bm-svc { color: var(--ink); font-size: 16px; line-height: 1.6; }
.bm-svc-top-in, .bm-svc-grid { width: 100%; max-width: 1480px; margin: 0 auto; padding-left: max(16px, env(safe-area-inset-left)); padding-right: max(16px, env(safe-area-inset-right)); }
.bm-svc-top { background: var(--cream); border-bottom: 1px solid var(--rule); }
.bm-svc-top-in { padding-top: 16px; padding-bottom: 24px; }
.bm-svc-grid { padding-top: 24px; padding-bottom: 56px; }

/* ===== Page head ===== */
.bm-svc-crumbs { margin-bottom: 20px; font-family: 'JetBrains Mono', 'JetBrains Mono Fallback', monospace; font-size: 10px; line-height: 16px; letter-spacing: .15em; text-transform: uppercase; font-weight: 500; color: var(--ink-soft); }
.bm-svc-crumbs a:hover { color: var(--red); }
.bm-svc-crumbs span { margin: 0 8px; color: var(--ink-faint); }
.bm-svc-crumbs em { font-style: normal; color: var(--ink); }
.bm-svc h1 { font-family: 'Funnel Display', 'Funnel Display Fallback', system-ui, sans-serif; font-weight: 700; font-size: 36px; line-height: 1; letter-spacing: -0.04em; margin-bottom: 12px; }
.bm-svc-lead { font-size: 17px; line-height: 1.5; color: rgba(10,14,20,.75); margin-bottom: 20px; }
.bm-svc-top-in > *:last-child { margin-bottom: 0; }

/* Key facts: a nameplate, not cards */
.bm-svc-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: var(--rule); border: 1px solid var(--rule); margin-bottom: 0; }
.bm-svc-fact { background: #fff; padding: 12px 14px; }
.bm-svc-fact b { display: block; font-family: 'Funnel Display', 'Funnel Display Fallback', sans-serif; font-weight: 600; font-size: 18px; line-height: 1.2; letter-spacing: -0.02em; overflow-wrap: anywhere; }
.bm-svc-fact span { display: block; margin-top: 4px; font-size: 13px; line-height: 18px; color: var(--ink-soft); }
/* A long email does not fit half a phone screen: phone and email each take a full row */
.bm-svc-contact .bm-svc-fact:nth-child(-n+2) { grid-column: 1 / -1; }

/* Section menu of the Transducer Shield & Saver pages */
.bm-svc-sub { display: flex; flex-wrap: wrap; gap: 8px; }
.bm-svc-sub a { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 16px; border: 1px solid var(--rule); background: #fff; font-size: 14px; font-weight: 500; transition: border-color .2s, color .2s; }
.bm-svc-sub a:hover { border-color: var(--ink); }
.bm-svc-sub a[aria-current] { background: var(--ink); border-color: var(--ink); color: #fff; }
.bm-svc-sub a.bm-svc-sub-shop { background: var(--red); border-color: var(--red); color: #fff; font-family: 'Funnel Display', 'Funnel Display Fallback', sans-serif; font-weight: 600; }
.bm-svc-sub a.bm-svc-sub-shop:hover { background: var(--red-dark); border-color: var(--red-dark); }

/* ===== On this page: chips on a phone, a sticky column on desktop ===== */
.bm-svc-toc { margin-bottom: 28px; }
.bm-svc-toc-l { display: none; }
.bm-svc-toc ul { display: flex; flex-wrap: wrap; gap: 8px; }
.bm-svc-toc a { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 14px; border: 1px solid var(--rule); font-size: 14px; line-height: 1.2; transition: border-color .2s, color .2s; }
.bm-svc-toc a:hover { border-color: var(--ink); }

/* ===== Sections ===== */
.bm-svc-sec { scroll-margin-top: 96px; }
.bm-svc-sec + .bm-svc-sec { margin-top: 36px; padding-top: 36px; border-top: 1px solid var(--rule); }
/* #payment is also the checkout box in site.css */
.bm-svc-sec#payment { padding-left: 0; padding-right: 0; padding-bottom: 0; background: none; border-left: 0; border-right: 0; border-bottom: 0; }
.bm-svc-sec > h2 { font-family: 'Funnel Display', 'Funnel Display Fallback', sans-serif; font-weight: 600; font-size: 24px; line-height: 1.15; letter-spacing: -0.02em; margin-bottom: 14px; }
.bm-svc-sec h3 { font-family: 'Funnel Display', 'Funnel Display Fallback', sans-serif; font-weight: 600; font-size: 18px; line-height: 1.25; letter-spacing: -0.01em; margin: 20px 0 8px; }
.bm-svc p { margin-bottom: 14px; }
.bm-svc-sec > p:last-child, .bm-qa-a > *:last-child { margin-bottom: 0; }
.bm-svc-sec > ul:not([class]), .bm-svc-sec > ol:not([class]), .bm-qa-a ul, .bm-qa-a ol { margin: 0 0 14px; padding-left: 22px; }
.bm-svc-sec > ul:not([class]), .bm-qa-a ul { list-style: disc; }
.bm-svc-sec > ol:not([class]), .bm-qa-a ol { list-style: decimal; }
.bm-svc-sec > ul:not([class]) li, .bm-svc-sec > ol:not([class]) li, .bm-qa-a li { margin-bottom: 6px; }
.bm-svc-sec > p a, .bm-svc-sec > ul:not([class]) a, .bm-svc-sec > ol:not([class]) a, .bm-qa-a a, .bm-svc-note a, .bm-svc-ask-h a, .bm-svc-story-t a, .bm-svc-fig figcaption a { text-decoration: underline; text-underline-offset: 2px; }
.bm-svc-sec > p a:hover, .bm-svc-sec > ul:not([class]) a:hover, .bm-svc-sec > ol:not([class]) a:hover, .bm-qa-a a:hover, .bm-svc-note a:hover, .bm-svc-story-t a:hover { color: var(--red); }
.bm-svc-note { margin: 14px 0; padding: 12px 14px; background: var(--cream); border-left: 3px solid var(--red); font-size: 15px; line-height: 1.5; }

/* Tables scroll sideways on a phone when they have more than two columns */
.bm-svc-scroll { overflow-x: auto; margin-bottom: 14px; }
.bm-svc-table { width: 100%; min-width: 480px; border-collapse: collapse; font-size: 15px; line-height: 1.45; }
.bm-svc-table th, .bm-svc-table td { padding: 10px 12px; border: 1px solid var(--rule); text-align: left; vertical-align: top; }
.bm-svc-table thead th { background: var(--cream); font-family: 'JetBrains Mono', 'JetBrains Mono Fallback', monospace; font-size: 10px; line-height: 16px; letter-spacing: .15em; text-transform: uppercase; font-weight: 500; color: var(--ink-soft); }
.bm-svc-table tbody th { font-weight: 500; }

/* Questions: the answer stays in the HTML for search and opens on a link to it */
.bm-qa { border-bottom: 1px solid var(--rule); scroll-margin-top: 96px; }
:is(p, ul, ol, div, table) + .bm-qa { margin-top: 16px; border-top: 1px solid var(--rule); }
.bm-qa-q { display: flex; align-items: center; gap: 12px; min-height: 48px; padding: 10px 0; cursor: pointer; list-style: none; }
.bm-qa-q::-webkit-details-marker { display: none; }
.bm-qa-q h3 { flex: 1; margin: 0; font-size: 16px; line-height: 1.35; font-weight: 600; letter-spacing: -0.01em; }
.bm-qa-q:hover h3 { color: var(--red); }
.bm-qa-i { flex: none; width: 8px; height: 8px; margin-right: 4px; border: solid var(--ink-soft); border-width: 0 2px 2px 0; transform: rotate(45deg) translate(-1px, -1px); transition: transform .15s; }
.bm-qa[open] .bm-qa-i { transform: rotate(-135deg) translate(-1px, -1px); }
.bm-qa-a { padding: 0 0 16px; }
.bm-qa-a p { margin-bottom: 10px; }
.bm-qa--hit { background: var(--cream); }

/* ===== Still have a question? ===== */
.bm-svc-ask { margin-top: 48px; padding: 24px 20px; background: var(--ink); color: #fff; }
.bm-svc-ask h2 { font-family: 'Funnel Display', 'Funnel Display Fallback', sans-serif; font-weight: 600; font-size: 24px; line-height: 1.15; letter-spacing: -0.02em; margin-bottom: 8px; }
.bm-svc-ask p { color: rgba(255,255,255,.75); font-size: 15px; }
.bm-svc-ask-row { display: flex; flex-wrap: wrap; gap: 10px; }
.bm-svc-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 12px 24px; background: var(--red); border: 1px solid var(--red); color: #fff; font-family: 'Funnel Display', 'Funnel Display Fallback', sans-serif; font-weight: 600; font-size: 15px; letter-spacing: -0.01em; transition: background-color .2s, border-color .2s; }
.bm-svc-btn:hover { background: var(--red-dark); border-color: var(--red-dark); color: #fff; }
.bm-svc-btn--ghost { background: transparent; border-color: rgba(255,255,255,.3); font-family: 'Funnel Sans', 'Funnel Sans Fallback', sans-serif; font-weight: 500; font-size: 14px; }
.bm-svc-btn--ghost:hover { background: transparent; border-color: #fff; }
.bm-svc-ask .bm-svc-ask-h { margin: 16px 0 0; font-size: 14px; }
.bm-svc-ask-h a:hover { color: #fff; }

/* ===== Help ===== */
.bm-svc-topics { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; }
.bm-svc-topic { display: flex; flex-direction: column; padding: 20px; border: 1px solid var(--rule); background: #fff; transition: border-color .2s, box-shadow .3s; }
.bm-svc-topic:hover { border-color: var(--ink); box-shadow: 0 12px 28px -10px rgba(10,14,20,.18); }
.bm-svc-topic-h { display: flex; align-items: center; gap: 10px; min-height: 44px; font-family: 'Funnel Display', 'Funnel Display Fallback', sans-serif; font-weight: 600; font-size: 20px; letter-spacing: -0.02em; line-height: 1.15; }
.bm-svc-topic-h:hover { color: var(--red); }
.bm-svc-topic-h svg { flex: none; width: 24px; height: 24px; stroke: var(--red); fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.bm-svc-topic p { margin: 6px 0 12px; font-size: 14px; line-height: 20px; color: var(--ink-soft); }
.bm-svc-topic ul { margin-top: auto; border-top: 1px solid var(--rule-light); }
.bm-svc-topic li a { display: flex; align-items: center; min-height: 44px; padding: 10px 0; border-bottom: 1px solid var(--rule-light); font-size: 15px; line-height: 1.3; transition: color .15s; }
.bm-svc-topic li:last-child a { border-bottom: 0; padding-bottom: 0; }
.bm-svc-topic li a:hover, .bm-svc-more a:hover, .bm-svc-top-q a:hover, .bm-svc-files a:hover { color: var(--red); }
.bm-svc-top-q { border-top: 1px solid var(--rule); }
.bm-svc-top-q a { display: block; min-height: 48px; padding: 12px 0; border-bottom: 1px solid var(--rule); line-height: 1.35; font-weight: 500; transition: color .15s; }
.bm-svc-top-q small { display: block; margin-top: 2px; font-size: 13px; font-weight: 400; color: var(--ink-soft); }
.bm-svc-more { display: grid; grid-template-columns: minmax(0, 1fr); column-gap: 24px; border-top: 1px solid var(--rule); }
.bm-svc-more a { display: flex; align-items: center; min-height: 48px; padding: 10px 0; border-bottom: 1px solid var(--rule); line-height: 1.35; transition: color .15s; }

/* ===== Files and videos ===== */
.bm-svc-files { border-top: 1px solid var(--rule); margin-bottom: 14px; }
.bm-svc-files a { display: flex; align-items: center; gap: 10px; min-height: 48px; padding: 12px 0; border-bottom: 1px solid var(--rule); line-height: 1.35; transition: color .15s; }
.bm-svc-files svg { flex: none; width: 20px; height: 20px; stroke: var(--ink-soft); fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.bm-svc-files em { margin-left: 6px; font-style: normal; font-family: 'JetBrains Mono', 'JetBrains Mono Fallback', monospace; font-size: 10px; letter-spacing: .15em; text-transform: uppercase; color: var(--ink-soft); }
.bm-svc-videos { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; }
.bm-svc-play { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; padding: 0; border: 0; background: var(--ink); overflow: hidden; cursor: pointer; }
.bm-svc-play img { width: 100%; height: 100%; object-fit: cover; }
.bm-svc-play-i { position: absolute; left: 50%; top: 50%; width: 60px; height: 42px; transform: translate(-50%, -50%); background: rgba(10,14,20,.78); transition: background-color .2s; }
.bm-svc-play-i::after { content: ''; position: absolute; left: 24px; top: 11px; border: solid transparent; border-width: 10px 0 10px 16px; border-left-color: #fff; }
.bm-svc-play:hover .bm-svc-play-i { background: var(--red); }
.bm-svc-video iframe { display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; }
.bm-svc-video-t { margin: 10px 0 0; font-size: 15px; line-height: 1.4; }

/* ===== Contact ===== */
.bm-svc-cards { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1px; background: var(--rule); border: 1px solid var(--rule); margin-bottom: 14px; }
.bm-svc-card { display: flex; flex-direction: column; padding: 14px 16px; background: #fff; }
.bm-svc-card b { font-family: 'JetBrains Mono', 'JetBrains Mono Fallback', monospace; font-size: 10px; line-height: 16px; letter-spacing: .15em; text-transform: uppercase; font-weight: 500; color: var(--red); }
.bm-svc-card span { margin-top: 4px; font-size: 14px; line-height: 20px; color: var(--ink-soft); }
.bm-svc-card a { margin-top: auto; padding-top: 8px; font-family: 'Funnel Display', 'Funnel Display Fallback', sans-serif; font-weight: 600; font-size: 16px; letter-spacing: -0.01em; overflow-wrap: anywhere; }
.bm-svc-card a:hover { color: var(--red); }
.bm-svc-map { position: relative; aspect-ratio: 4 / 3; margin-bottom: 14px; background: var(--cream); border: 1px solid var(--rule); overflow: hidden; }
.bm-svc-map iframe { position: absolute; inset: 0; display: block; width: 100%; height: 100%; border: 0; }
.bm-svc-map-ph { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; padding: 20px; text-align: center; }
.bm-svc-map-ph b { font-family: 'Funnel Display', 'Funnel Display Fallback', sans-serif; font-weight: 600; font-size: 18px; letter-spacing: -0.02em; }
.bm-svc-map-ph span { font-size: 14px; color: var(--ink-soft); }
.bm-svc .bm-form-title { display: none; }
.bm-svc .cf-turnstile { display: block; }
.bm-svc .cf-turnstile.is-shown { min-height: 65px; }
#message .bm-form input[type=submit] { width: 100%; }
#message.bm-svc-sec { background: var(--cream); padding: 20px 16px; border: 1px solid var(--rule); }

/* ===== Photos, people, quotes ===== */
.bm-svc-fig { margin-bottom: 14px; }
.bm-svc-fig img { width: 100%; height: auto; }
.bm-svc-fig figcaption { margin-top: 8px; font-size: 13px; line-height: 18px; color: var(--ink-soft); }
.bm-svc-story { display: grid; gap: 20px; }
.bm-svc-story-t > *:last-child { margin-bottom: 0; }
.bm-svc-staff { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 12px; }
.bm-svc-person .bm-svc-fig { margin-bottom: 10px; background: var(--cream); }
.bm-svc-person h3 { margin: 0 0 4px; font-size: 18px; }
.bm-svc-person h3 a:hover { color: var(--red); }
.bm-svc-person p { margin: 0; font-size: 14px; line-height: 20px; color: var(--ink-soft); }
.bm-svc-quote { display: flex; gap: 16px; align-items: flex-start; margin: 14px 0; padding: 16px; background: var(--cream); border-left: 3px solid var(--red); }
.bm-svc-quote .bm-svc-fig { flex: 0 0 88px; margin: 0; }
.bm-svc-quote p { margin-bottom: 8px; font-size: 16px; line-height: 1.5; }
.bm-svc-quote cite { font-family: 'JetBrains Mono', 'JetBrains Mono Fallback', monospace; font-size: 10px; line-height: 16px; letter-spacing: .15em; text-transform: uppercase; font-style: normal; font-weight: 500; color: var(--ink-soft); }

/* ===== Terms of Service: the legal fine print in one cream frame, capitals as the law has them (gallery-tos-build, Egor 10.11) ===== */
.bm-svc-legal { margin-top: 4px; padding: 16px 18px; background: var(--cream); border: 1px solid var(--rule); }
.bm-svc-legal p { margin: 0 0 12px; font-size: 14px; line-height: 1.55; }
.bm-svc-legal p:last-child { margin-bottom: 0; }
.bm-svc-caps { font-weight: 600; letter-spacing: .01em; }
.bm-svc-caps-s { font-size: 15px; line-height: 1.5; margin-bottom: 12px; }
.bm-svc-caps-s a { text-decoration: underline; text-underline-offset: 2px; }
.bm-svc-tos .bm-svc-table th[scope="row"] { width: 55%; }
.bm-svc-tos .bm-svc-body a[href^="tel:"] { white-space: nowrap; }

/* ===== About ===== */
.about-hero { position: relative; display: flex; align-items: flex-end; min-height: 420px; background: var(--ink); color: #fff; overflow: hidden; }
.about-hero picture { position: absolute; inset: 0; }
.about-hero img { width: 100%; height: 100%; object-fit: cover; }
.about-hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,14,20,.25) 0%, rgba(10,14,20,.8) 100%); }
.about-hero-in { position: relative; z-index: 1; padding-top: 48px; padding-bottom: 32px; }
.about-eyebrow { color: var(--red-on-dark); margin-bottom: 12px; }
.about-hero h1 { font-size: 48px; line-height: 1; margin-bottom: 14px; }
.about-lead { font-size: 18px; line-height: 28px; color: rgba(255,255,255,.82); }
.about-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 16px; padding-top: 24px; padding-bottom: 24px; border-bottom: 1px solid var(--rule); }
.about-facts b { display: block; font-size: 24px; line-height: 1.1; }
.about-facts span { display: block; margin-top: 6px; font-size: 13px; line-height: 18px; color: var(--ink-soft); }
.about-row { display: grid; gap: 20px; padding-top: 40px; padding-bottom: 8px; }
.about-text .mono { margin-bottom: 10px; }
.about-text h2 { font-size: 28px; line-height: 1.1; margin-bottom: 14px; }
.about-text p:not(.mono) { margin-bottom: 14px; line-height: 1.625; }
.about-photo img { width: 100%; height: auto; }
.about-story { margin-top: 40px; padding: 40px 0; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.about-story-body p { margin-top: 14px; line-height: 1.625; }
.about-claims { margin-top: 40px; padding: 40px 0; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.about-claims .mono { margin-bottom: 10px; }
.about-claims h2 { font-size: 28px; line-height: 1.1; margin-bottom: 20px; }
.about-claim-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1px; background: var(--rule); border: 1px solid var(--rule); }
.about-claim-grid a { display: flex; flex-direction: column; height: 100%; padding: 16px; background: #fff; transition: color .15s; }
.about-claim-grid a:hover b { color: var(--red); }
.about-claim-grid b { font-size: 18px; line-height: 1.2; }
.about-claim-grid span { margin-top: 6px; font-size: 14px; line-height: 20px; color: var(--ink-soft); }
/* Transducer Shield & Saver: a black section of its own. Red only as a fill: as text on this black it fails contrast. */
.about-tss { margin-top: 48px; background: var(--tss-black); color: #fff; border-top: 4px solid var(--red); scroll-margin-top: 80px; }
.about-tss-in { padding-top: 40px; padding-bottom: 40px; }
.about-tss-head { display: grid; gap: 16px; justify-items: start; padding-bottom: 24px; border-bottom: 1px solid rgba(255,255,255,.14); }
.about-tss-brand { display: flex; align-items: center; gap: 16px; }
.about-tss-logo { flex: none; width: 84px; height: 84px; }
.about-tss-tag { display: inline-block; padding: 4px 8px; margin-bottom: 10px; background: var(--red); color: #fff; }
.about-tss h2 { font-size: 34px; line-height: 1; color: #fff; }
.about-tss-body { display: grid; gap: 24px; padding-top: 24px; }
.about-tss-fig { margin-bottom: 16px; }
.about-tss-fig img { width: 100%; height: auto; }
.about-tss-fig figcaption { margin-top: 8px; font-size: 13px; line-height: 18px; color: rgba(255,255,255,.65); }
.about-tss-text p { margin-bottom: 14px; line-height: 1.625; color: rgba(255,255,255,.85); }
.about-tss-text strong { color: #fff; }
.about-tss-text > p a { text-decoration: underline; text-underline-offset: 2px; color: #fff; }
.about-tss-quote { display: flex; gap: 16px; align-items: flex-start; margin: 8px 0 24px; padding: 16px 0 16px 16px; border-left: 3px solid var(--red); }
.about-tss-quote img { flex: none; width: 72px; height: 91px; object-fit: cover; }
.about-tss-quote p { margin-bottom: 8px; font-size: 17px; line-height: 1.5; color: #fff; }
.about-tss-quote cite { font-style: normal; color: rgba(255,255,255,.7); }
.about-tss .bm-qa { border-color: rgba(255,255,255,.18); scroll-margin-top: 96px; }
.about-tss .bm-qa-q { min-height: 52px; }
.about-tss .bm-qa-q h3 { font-family: 'Funnel Display', 'Funnel Display Fallback', sans-serif; font-weight: 600; font-size: 18px; letter-spacing: -0.01em; color: #fff; }
.about-tss .bm-qa-q:hover h3 { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.about-tss .bm-qa-i { border-color: rgba(255,255,255,.75); }
.about-tss .bm-qa-a p { margin-bottom: 10px; line-height: 1.625; color: rgba(255,255,255,.85); }
.about-tss-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.about-end { background: #fff; color: var(--ink); }
.about-end-in { display: grid; gap: 20px; padding-top: 32px; padding-bottom: 32px; }
.about-end h2 { font-size: 30px; line-height: 1.05; margin-bottom: 8px; }
.about-end p { color: var(--ink-soft); font-size: 15px; }
.about-end .cta-line { align-items: center; }

/* ===== 404 ===== */
.p404-top { padding: 12px 0 28px; }
.p404-top .mono { margin-bottom: 12px; }
.p404-top h1 { font-size: 40px; line-height: 1; margin-bottom: 14px; }
.p404-lead { font-size: 17px; line-height: 1.5; margin-bottom: 20px; }
.p404-search { display: flex; gap: 8px; }
.p404-search .search-input { flex: 1 1 auto; min-width: 0; min-height: 48px; }
.p404-search .cta-primary { flex: none; padding: 12px 22px; }
.p404-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1px; background: var(--rule); border: 1px solid var(--rule); }
.p404-grid a { display: flex; flex-direction: column; height: 100%; min-height: 44px; padding: 16px; background: #fff; }
.p404-grid a:hover b { color: var(--red); }
.p404-grid b { font-size: 18px; line-height: 1.2; }
.p404-grid span { margin-top: 6px; font-size: 14px; line-height: 20px; color: var(--ink-soft); }
.p404-call { margin-top: 20px; font-size: 15px; }

@media (min-width: 600px) {
  .bm-svc-topics, .bm-svc-more, .bm-svc-cards, .about-claim-grid, .p404-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bm-svc-topic:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .bm-svc-staff { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px 16px; }
}

@media (min-width: 768px) {
  .bm-svc h1 { font-size: 48px; }
  .bm-svc-facts { grid-template-columns: repeat(var(--svc-facts, 4), minmax(0, 1fr)); }
  .bm-svc-contact .bm-svc-fact:nth-child(-n+2) { grid-column: auto; }
  .bm-svc-map { aspect-ratio: 16 / 9; }
  .bm-svc-videos { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 20px; }
  .bm-svc-story { grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 32px; }
  .about-facts { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .about-row { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 48px; align-items: start; padding-top: 56px; }
  .about-row-flip .about-text { order: 2; }
  .about-row-flip { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
  .about-hero { min-height: 480px; }
  .about-hero h1 { font-size: 72px; }
  .p404-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .p404-top h1 { font-size: 60px; }
}

@media (min-width: 1024px) {
  .bm-svc-top-in, .bm-svc-grid { padding-left: 40px; padding-right: 40px; }
  .bm-svc-top-in { padding-top: 20px; padding-bottom: 32px; }
  .bm-svc h1 { font-size: 60px; margin-bottom: 14px; }
  .bm-svc-lead { font-size: 18px; line-height: 28px; margin-bottom: 24px; }
  .bm-svc-fact { padding: 16px 18px; }
  .bm-svc-fact b { font-size: 22px; }
  .bm-svc-grid { display: grid; grid-template-columns: 216px minmax(0, 1fr); gap: 56px; align-items: start; padding-top: 40px; padding-bottom: 72px; }
  .bm-svc-grid--solo { grid-template-columns: minmax(0, 1fr); }
  .bm-svc-toc { position: sticky; top: calc(104px + var(--bm-adminbar, 0px)); margin: 0; }
  .bm-svc-toc-l { display: block; margin-bottom: 12px; font-family: 'JetBrains Mono', 'JetBrains Mono Fallback', monospace; font-size: 10px; line-height: 16px; letter-spacing: .15em; text-transform: uppercase; font-weight: 500; color: var(--ink-soft); }
  .bm-svc-toc ul { display: block; }
  .bm-svc-toc li + li { margin-top: 0; }
  .bm-svc-toc a { display: block; min-height: 0; padding: 8px 12px; border: 0; border-left: 2px solid var(--rule); font-size: 14px; line-height: 1.35; color: var(--ink-soft); }
  .bm-svc-toc a:hover { border-left-color: var(--ink); color: var(--ink); }
  .bm-svc-toc a.is-on { border-left-color: var(--red); color: var(--ink); font-weight: 600; }
  .bm-svc-sec + .bm-svc-sec { margin-top: 48px; padding-top: 48px; }
  .bm-svc-sec > h2 { font-size: 30px; margin-bottom: 18px; }
  .bm-svc-ask { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px 32px; align-items: center; padding: 28px 32px; margin-top: 56px; }
  .bm-svc-ask h2 { grid-column: 1; margin: 0; font-size: 28px; }
  .bm-svc-ask > p { grid-column: 1; margin: 0; }
  .bm-svc-ask-row { grid-column: 2; grid-row: 1 / span 3; }
  /* Five topics: three and two, no hole in the row */
  .bm-svc-topics { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; }
  .bm-svc-topic { grid-column: span 2; }
  .bm-svc-topic:last-child:nth-child(odd), .bm-svc-topic:nth-child(4) { grid-column: span 3; }
  .bm-svc-top-q { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 40px; }
  .bm-svc-more { grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 40px; }
  .bm-svc-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bm-svc-videos { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .bm-svc-staff { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px 20px; }
  .bm-svc-quote { padding: 20px 24px; }
  .bm-svc-quote p { font-size: 17px; }

  /* Contact: who to ask next to the form, the map under them, as in the concept */
  .bm-svc-contact .bm-svc-grid { display: block; }
  .bm-svc-contact .bm-svc-toc { display: none; }
  .bm-svc-contact .bm-svc-body { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px 56px; align-items: start; }
  .bm-svc-contact #contacts { grid-column: 1; grid-row: 1; }
  .bm-svc-contact #message { grid-column: 2; grid-row: 1; padding: 28px; }
  .bm-svc-contact #visit { grid-column: 1 / -1; grid-row: 2; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: 56px; align-content: start; }
  .bm-svc-contact #visit > * { grid-column: 1; }
  .bm-svc-contact #visit > .bm-svc-map { grid-column: 2; grid-row: 1 / span 5; margin: 0; }
  .bm-svc-contact #topics { grid-column: 1 / -1; grid-row: 3; }
  .bm-svc-contact .bm-svc-sec { margin-top: 0; border-top: 0; padding-top: 0; }
  .bm-svc-contact #message.bm-svc-sec { padding-top: 28px; }
  .bm-svc-contact #visit, .bm-svc-contact #topics { border-top: 1px solid var(--rule); padding-top: 48px; }
  .bm-svc-contact #topics > ul { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 40px; padding: 0; list-style: none; border-top: 1px solid var(--rule); }
  .bm-svc-contact #topics > ul li { margin: 0; }
  .bm-svc-contact #topics > ul a { display: flex; align-items: center; min-height: 48px; padding: 10px 0; border-bottom: 1px solid var(--rule); text-decoration: none; }
  .bm-svc-contact #message form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 16px; }
  .bm-svc-contact #message form > * { grid-column: 1 / -1; }
  .bm-svc-contact #message form > p.form-row:nth-of-type(-n+4) { grid-column: auto; }

  .about-hero { min-height: 560px; }
  .about-hero-in { padding-bottom: 48px; }
  .about-hero h1 { font-size: 96px; margin-bottom: 18px; }
  .about-lead { font-size: 20px; line-height: 30px; }
  .about-facts { padding-top: 32px; padding-bottom: 32px; }
  .about-facts b { font-size: 30px; }
  .about-row { gap: 72px; padding-top: 72px; }
  .about-text h2, .about-claims h2 { font-size: 40px; line-height: 1.05; margin-bottom: 18px; }
  .about-claim-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .about-claims { margin-top: 72px; padding: 64px 0; }
  .about-story { margin-top: 72px; padding: 64px 0; }
  .about-tss { margin-top: 72px; scroll-margin-top: 90px; }
  .about-tss-in { padding-top: 64px; padding-bottom: 64px; }
  .about-tss-head { grid-template-columns: minmax(0, 1fr) auto; align-items: end; padding-bottom: 32px; }
  .about-tss-logo { width: 112px; height: 112px; }
  .about-tss h2 { font-size: 60px; }
  .about-tss-body { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; padding-top: 40px; }
  .about-tss-quote { margin-top: 16px; }
  .about-tss .bm-qa-q h3 { font-size: 20px; }
  .about-end-in { grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 40px; padding-top: 48px; padding-bottom: 48px; }
  .about-end h2 { font-size: 40px; }
}

@media (min-width: 1280px) {
  /* The heading sits in its own column: text reads at a comfortable length and the block still fills the container */
  .bm-svc-body .bm-svc-sec { display: grid; grid-template-columns: 248px minmax(0, 1fr); column-gap: 40px; }
  .bm-svc-body .bm-svc-sec > * { grid-column: 2; min-width: 0; }
  .bm-svc-body .bm-svc-sec > h2 { grid-column: 1; grid-row: 1 / span 40; align-self: start; position: sticky; top: calc(104px + var(--bm-adminbar, 0px)); font-size: 26px; }
  .bm-svc-grid--solo .bm-svc-sec, .bm-svc-contact .bm-svc-sec, .bm-svc-tss-videos .bm-svc-sec, .bm-svc-install #videos { display: block; }
  .bm-svc-grid--solo .bm-svc-sec > h2, .bm-svc-contact .bm-svc-sec > h2, .bm-svc-tss-videos .bm-svc-sec > h2, .bm-svc-install #videos > h2 { position: static; font-size: 30px; }
  .bm-svc-topics { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .bm-svc-topic, .bm-svc-topic:last-child:nth-child(odd), .bm-svc-topic:nth-child(4) { grid-column: auto; }
  .bm-svc-contact #visit { display: grid; }
  .bm-svc-contact #visit > h2 { grid-row: auto; }
}

@media (prefers-reduced-motion: reduce) {
  .bm-qa-i, .bm-svc-topic, .bm-svc-toc a { transition: none; }
}
