/* Benson Marine website. Colours, fonts and radii come from Project 024 (tokens/benson-brand.css).
   External/web mode: Montserrat headings and actions, Source Sans 3 body.
   base.css: fonts, tokens, type, buttons, the three section types (chapter, evidence, statement)
   and any class used by more than one area (for example .service-grid, .stat-row, .kind).
   build.mjs joins base, chrome, home, equipment, pages, reveal (in that order) into dist/assets/css/site.css.
   v3 (P1, 2026-11-02): self-hosted fonts, the catalogue's weights (700 at most, 600 for labels), review B's size scale. */

/* Fonts: the OFL files the 2026 product catalogue uses, self-hosted in assets/fonts/ (licences beside them).
   No Montserrat 800: anything still asking for 800 renders at 700. */
@font-face { font-family: Montserrat; font-style: normal; font-weight: 500; font-display: swap; src: url(../fonts/montserrat-latin-500-normal.woff2) format('woff2'); }
@font-face { font-family: Montserrat; font-style: normal; font-weight: 600; font-display: swap; src: url(../fonts/montserrat-latin-600-normal.woff2) format('woff2'); }
@font-face { font-family: Montserrat; font-style: normal; font-weight: 700; font-display: swap; src: url(../fonts/montserrat-latin-700-normal.woff2) format('woff2'); }
@font-face { font-family: 'Source Sans 3'; font-style: normal; font-weight: 400; font-display: swap; src: url(../fonts/source-sans-3-latin-400-normal.woff2) format('woff2'); }
@font-face { font-family: 'Source Sans 3'; font-style: italic; font-weight: 400; font-display: swap; src: url(../fonts/source-sans-3-latin-400-italic.woff2) format('woff2'); }
@font-face { font-family: 'Source Sans 3'; font-style: normal; font-weight: 600; font-display: swap; src: url(../fonts/source-sans-3-latin-600-normal.woff2) format('woff2'); }
@font-face { font-family: 'Source Sans 3'; font-style: normal; font-weight: 700; font-display: swap; src: url(../fonts/source-sans-3-latin-700-normal.woff2) format('woff2'); }

:root {
  --bm-blue: #0d47a1;
  --bm-navy: #10233f;
  --bm-navy-raised: #17345a;
  --bm-ink: #1a1a1a;
  --bm-body-web: #212121;
  --bm-muted: #5f6b7a;
  --bm-surface: #ffffff;
  --bm-surface-soft: #f5f7fa;
  --bm-blue-soft: #eaf1fb;
  --bm-border: #d8e0ea;
  --bm-border-strong: #9aa8b8;
  --bm-success: #16815a;
  --bm-warning: #b66a00;
  --bm-danger: #b42318;
  --font-head: Montserrat, Arial, sans-serif;
  --font-body: "Source Sans 3", "Source Sans Pro", Arial, sans-serif;
  --radius-s: 4px;
  --radius: 8px;

  /* Derived for dark surfaces: Benson tokens at reduced opacity, no new hues.
     --on-dark-faint is 0.56 (was 0.46) so small text on navy reaches 4.5:1 (review C: #8a98ab). */
  --on-dark: #ffffff;
  --on-dark-muted: rgba(234, 241, 251, 0.74);
  --on-dark-faint: rgba(234, 241, 251, 0.56);
  --line-dark: rgba(234, 241, 251, 0.14);
  --line-dark-strong: rgba(234, 241, 251, 0.3);
  --blue-hover: #0a3880;

  /* Type scale (review B §4). h1 and big figures at 700; 600 for eyebrows, labels and buttons. */
  --fs-h1: clamp(2.3rem, 4.4vw, 3.6rem);
  --fs-h2: clamp(1.75rem, 2.8vw, 2.5rem);
  --fs-h2-evidence: clamp(1.75rem, 2.6vw, 2.25rem);
  --fs-statement: clamp(1.6rem, 2.8vw, 2.4rem);
  --fs-h3: 1.25rem;
  --fs-lede: clamp(1.125rem, 1.5vw, 1.3rem);
  --fs-small: 0.9375rem;
  --fs-label: 0.75rem;

  --wrap: 1240px;
  --gutter: clamp(16px, 4vw, 48px);
  --header-h: 76px;
  --header-h-slim: 62px;
  --svc-bar-h: 60px;
  --ease: cubic-bezier(0.2, 0.7, 0.1, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  background: var(--bm-surface);
  color: var(--bm-body-web);
  font: 400 1.0625rem/1.6 var(--font-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg, canvas, video { display: block; max-width: 100%; }
/* pic() emits width and height attributes; height: auto keeps the ratio when max-width or a CSS width shrinks the image. */
img, video { height: auto; }
a { color: var(--bm-blue); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--bm-ink); font-weight: 700; line-height: 1.12; margin: 0 0 0.5em; letter-spacing: 0; }
h1 { font-size: var(--fs-h1); line-height: 1.06; }
h2 { font-size: var(--fs-h2); line-height: 1.1; }
h3 { font-size: var(--fs-h3); line-height: 1.25; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; }
b, strong { font-weight: 600; }
.num, .stat-row b, time { font-variant-numeric: tabular-nums; }
:focus-visible { outline: 3px solid var(--bm-blue); outline-offset: 3px; }
.s-dark :focus-visible, .chapter :focus-visible, .closing :focus-visible, .site-footer :focus-visible, .svc-bar :focus-visible, .mobile-nav :focus-visible,
.site-header.on-dark:not(.is-solid) :focus-visible { outline-color: var(--bm-blue-soft); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--bm-blue); color: #fff; padding: 10px 16px; border-radius: var(--radius); }
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(72px, 10vw, 140px) 0; position: relative; }
.section-tight { padding: clamp(48px, 7vw, 96px) 0; }
.s-dark { background: var(--bm-navy); color: var(--on-dark-muted); }
.s-dark h1, .s-dark h2, .s-dark h3, .s-dark h4 { color: var(--on-dark); }
.s-dark a { color: var(--on-dark); }
.s-soft { background: var(--bm-surface-soft); }

/* Eyebrow: Montserrat 600 small caps label, as in the catalogue. Use only where it adds information
   (a place, a year, a maker), not as a generic section name. */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font: 600 var(--fs-label)/1.2 var(--font-head); letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--bm-blue); margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 24px; height: 2px; background: currentColor; flex: none; }
.s-dark .eyebrow, .hero .eyebrow, .page-hero .eyebrow, .chapter .eyebrow, .closing .eyebrow { color: var(--bm-blue-soft); }
.lede { font-size: var(--fs-lede); line-height: 1.55; max-width: 62ch; }
.muted { color: var(--bm-muted); }
.source { font-size: 0.8125rem; line-height: 1.4; color: var(--bm-muted); }
.s-dark .source { color: var(--on-dark-faint); }
.section-head { display: grid; gap: 24px; grid-template-columns: 1fr; margin-bottom: clamp(36px, 5vw, 64px); }
.section-head > :last-child { margin-bottom: 0; }
@media (min-width: 900px) { .section-head.split { grid-template-columns: 1.1fr 1fr; align-items: end; } .section-head.split p { margin: 0; } }

/* Kind label (catalogue .card .kind): small muted caps above a model name. */
.kind { display: block; font: 600 0.72rem/1.3 var(--font-head); letter-spacing: 0.14em; text-transform: uppercase; color: var(--bm-muted); }
.s-dark .kind { color: var(--on-dark-faint); }

/* ---------- Section types (consolidated #7). Pick one per section, on purpose. */

/* Evidence: a dense block. Smaller, left-aligned H2; no split paragraph beside it. */
.evidence h2, h2.evidence { font-size: var(--fs-h2-evidence); max-width: 26ch; }
.evidence .section-head { margin-bottom: clamp(28px, 4vw, 48px); }

/* Statement: one sentence, centred, weight 500, no eyebrow. */
.statement { text-align: center; }
.statement p, .statement h2 { font: 500 var(--fs-statement)/1.25 var(--font-head); color: var(--bm-ink); max-width: 28ch; margin: 0 auto; }
.s-dark.statement p, .s-dark .statement p, .s-dark.statement h2 { color: var(--on-dark); }

/* Chapter: a full-bleed graded photograph, 60-70vh, with one line of type on a navy fade.
   Markup comes from chapterBand() in src/components.mjs. */
.chapter {
  position: relative; isolation: isolate; overflow: hidden; background: var(--bm-navy); color: var(--on-dark);
  min-height: clamp(340px, 66vh, 760px); display: flex; align-items: flex-end;
}
.chapter-img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, center); }
/* Feedback 04: the fade eases in and is solid navy before the bottom edge, so the photo runs into the navy section
   below with no seam (it used to stop at 92%, which left a visible line). */
.chapter::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(16, 35, 63, 0) 28%, rgba(16, 35, 63, 0.2) 42%, rgba(16, 35, 63, 0.5) 58%,
    rgba(16, 35, 63, 0.78) 74%, rgba(16, 35, 63, 0.94) 86%, var(--bm-navy) 95%);
}
.chapter .wrap { padding-top: 96px; padding-bottom: clamp(32px, 5vw, 64px); display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 32px; }
.chapter-line { font: 600 clamp(1.5rem, 3vw, 2.4rem)/1.18 var(--font-head); color: #fff; max-width: 24ch; margin: 0; }
.chapter-cap { margin: 0; font-size: 0.8125rem; line-height: 1.3; color: #fff; background: rgba(16, 35, 63, 0.78); padding: 6px 10px; border-radius: var(--radius-s); }

/* Ruled stats row (catalogue .stats): 3px Benson-blue rule on top, hairlines between, a source line under each figure. */
.stat-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 3px solid var(--bm-blue); list-style: none; margin: 0; padding: 0; }
.stat-row > * { padding: 20px 20px 4px 0; }
.stat-row > * + * { padding-left: 20px; border-left: 1px solid var(--bm-border); }
.stat-row > :nth-child(odd) { padding-left: 0; border-left: 0; }
@media (min-width: 900px) {
  .stat-row { grid-template-columns: repeat(var(--cols, 4), minmax(0, 1fr)); }
  .stat-row > :nth-child(odd) { padding-left: 20px; border-left: 1px solid var(--bm-border); }
  .stat-row > :first-child { padding-left: 0; border-left: 0; }
}
.stat-row b { display: block; font: 700 clamp(2rem, 3.6vw, 3rem)/1 var(--font-head); color: var(--bm-blue); margin-bottom: 10px; }
.stat-row span { display: block; line-height: 1.35; }
.stat-row .source { margin-top: 6px; }
.s-dark .stat-row { border-top-color: var(--bm-blue-soft); }
.s-dark .stat-row > * + * { border-left-color: var(--line-dark); }
.s-dark .stat-row b { color: #fff; }

/* ---------- Buttons. Blue is for action; no lift on hover, only colour and the arrow nudge. */
.btn {
  --b: var(--bm-blue);
  display: inline-flex; align-items: center; gap: 10px; justify-content: center;
  min-height: 48px; padding: 12px 22px; border-radius: var(--radius);
  font: 600 0.95rem/1.1 var(--font-head); letter-spacing: 0.02em; text-decoration: none;
  background: var(--b); color: #fff; border: 2px solid var(--b);
  transition: background 0.2s, color 0.2s, border-color 0.2s;
  cursor: pointer;
}
.btn:hover { background: var(--blue-hover); border-color: var(--blue-hover); }
.btn svg { width: 18px; height: 18px; flex: none; transition: transform 0.25s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn:hover .icon-phone, .btn:hover .no-nudge { transform: none; }
.btn-ghost { background: transparent; color: var(--on-dark); border-color: var(--line-dark-strong); }
.btn-ghost:hover { background: rgba(234, 241, 251, 0.08); border-color: var(--on-dark); }
.btn-outline { background: transparent; color: var(--bm-blue); }
.btn-outline:hover { background: var(--bm-blue-soft); border-color: var(--bm-blue); }
.btn.btn-light, .s-dark .btn.btn-light { background: #fff; color: var(--bm-navy); border-color: #fff; }
.btn.btn-light:hover { background: var(--bm-blue-soft); border-color: var(--bm-blue-soft); }
.btn-sm { min-height: 40px; padding: 8px 16px; font-size: 0.875rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.text-link { font: 600 0.95rem/1.2 var(--font-head); text-decoration: none; display: inline-flex; gap: 8px; align-items: center; }
.text-link svg { width: 16px; height: 16px; transition: transform 0.25s var(--ease); }
.text-link:hover svg { transform: translateX(4px); }

/* Spec lines (catalogue): hairlines and a 12 x 2 px blue dash. */
.spec-list { list-style: none; border-top: 1px solid var(--bm-border); margin: 24px 0; }
.spec-list li { padding: 12px 0 12px 28px; border-bottom: 1px solid var(--bm-border); position: relative; }
.spec-list li::before { content: ""; position: absolute; left: 2px; top: 1.3em; width: 12px; height: 2px; background: var(--bm-blue); }

.svc-num { font: 700 0.85rem/1 var(--font-head); color: var(--bm-blue); letter-spacing: 0.12em; margin-bottom: 14px; display: block; font-variant-numeric: tabular-nums; }

/* Services row */
.service-grid { display: grid; gap: 1px; background: var(--bm-border); border: 1px solid var(--bm-border); border-radius: var(--radius); overflow: hidden; }
@media (min-width: 700px) { .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .service-grid.four { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.service-cell { background: #fff; padding: 28px; display: flex; flex-direction: column; gap: 12px; text-decoration: none; color: inherit; transition: background 0.2s; }
.service-cell:hover { background: var(--bm-surface-soft); }
.service-cell .icon { width: 44px; height: 44px; color: var(--bm-blue); }
.service-cell h3 { margin: 6px 0 0; font-size: 1.15rem; }
.service-cell p { margin: 0; color: var(--bm-muted); font-size: 0.98rem; }

@media (min-width: 1200px) { .service-grid.five { grid-template-columns: repeat(5, minmax(0, 1fr)); } }

.service-cell .svc-num { margin: 0; }

/* chrome.css: header, mobile menu, phone service bar, footer, page hero and bezel, crumbs, and the shared components
   (four-things card, closing band, customer grid, logo wall). Owner: P1. */

/* ---------- Header
   Light by default (colour logo, ink links). Over a dark first section (home hero, navy page hero) it starts
   transparent with white type: main.js sets .on-dark, and the :has() rule gives the same before scripts run.
   Desktop: always visible, slimmer once scrolled. Phone (<768): may hide while scrolling down; the bar carries the actions. */
.site-header {
  --hdr-fg: var(--bm-ink); --hdr-muted: var(--bm-muted); --hdr-hover: var(--bm-surface-soft); --hdr-line: var(--bm-border);
  --hdr-cur: var(--bm-blue); --hdr-cur-bg: var(--bm-blue-soft); --logo-white: none; --logo-color: block;
  position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--header-h);
  display: flex; align-items: center;
  transition: background 0.3s, box-shadow 0.3s, height 0.3s var(--ease), transform 0.35s var(--ease);
}
.site-header.on-dark:not(.is-solid) {
  --hdr-fg: #fff; --hdr-muted: var(--on-dark-muted); --hdr-hover: rgba(234, 241, 251, 0.1); --hdr-line: var(--line-dark-strong);
  --hdr-cur: #fff; --hdr-cur-bg: rgba(234, 241, 251, 0.12); --logo-white: block; --logo-color: none;
}
body:has(> main > :is(.hero, .page-hero, .s-dark, .chapter):first-child) .site-header:not(.is-solid) {
  --hdr-fg: #fff; --hdr-muted: var(--on-dark-muted); --hdr-hover: rgba(234, 241, 251, 0.1); --hdr-line: var(--line-dark-strong);
  --hdr-cur: #fff; --hdr-cur-bg: rgba(234, 241, 251, 0.12); --logo-white: block; --logo-color: none;
}
.site-header .wrap { display: flex; align-items: center; gap: 16px; }
.site-header.is-solid { background: rgba(255, 255, 255, 0.97); backdrop-filter: saturate(1.4) blur(10px); box-shadow: 0 1px 0 var(--bm-border); }
.site-header.is-hidden { transform: translateY(-100%); }
@media (min-width: 1040px) { .site-header.is-solid { height: var(--header-h-slim); } }

.brand { display: block; width: 168px; flex: none; margin-right: auto; }
.brand img { width: 100%; height: auto; }
.brand .logo-white { display: var(--logo-white); }
.brand .logo-color { display: var(--logo-color); }

.nav { display: none; }
.nav > ul { display: flex; gap: 2px; list-style: none; align-items: center; }
.nav a {
  display: block; padding: 10px 12px; border-radius: var(--radius);
  font: 600 0.875rem/1 var(--font-head); color: var(--hdr-fg); text-decoration: none; white-space: nowrap;
}
.nav a:hover { background: var(--hdr-hover); }
.nav a[aria-current="page"] { color: var(--hdr-cur); background: var(--hdr-cur-bg); }

.header-actions { display: flex; align-items: center; gap: 10px; flex: none; }
.header-phone {
  display: none; align-items: center; gap: 8px; padding: 10px 6px; color: var(--hdr-fg); text-decoration: none;
  font: 600 0.875rem/1 var(--font-head); font-variant-numeric: tabular-nums; white-space: nowrap;
}
.header-phone svg { width: 16px; height: 16px; color: var(--hdr-muted); }
.header-phone:hover span { text-decoration: underline; text-underline-offset: 4px; }
.header-cta { display: none; white-space: nowrap; }
.site-header.on-dark:not(.is-solid) .header-cta { background: #fff; color: var(--bm-navy); border-color: #fff; }
body:has(> main > :is(.hero, .page-hero, .s-dark, .chapter):first-child) .site-header:not(.is-solid) .header-cta { background: #fff; color: var(--bm-navy); border-color: #fff; }
.site-header:not(.is-solid) .header-cta:hover { background: var(--bm-blue-soft); border-color: var(--bm-blue-soft); }
/* Feedback 04: no visual current-page mark on the CTA. It is already a solid button, so the nav items' tinted pill
   can't apply, and the old 3px underline read as a stray white line on the rounded corners. aria-current stays. */

.header-call, .menu-btn {
  width: 48px; height: 48px; border-radius: var(--radius); border: 1px solid var(--hdr-line);
  background: transparent; color: var(--hdr-fg); display: grid; place-items: center; cursor: pointer; flex: none;
}
.header-call svg { width: 20px; height: 20px; }
.menu-btn span:not(.visually-hidden), .menu-btn span:not(.visually-hidden)::before, .menu-btn span:not(.visually-hidden)::after {
  display: block; width: 20px; height: 2px; background: currentColor; position: relative; transition: transform 0.3s var(--ease), background 0.2s;
}
.menu-btn span:not(.visually-hidden)::before, .menu-btn span:not(.visually-hidden)::after { content: ""; position: absolute; left: 0; }
.menu-btn span:not(.visually-hidden)::before { top: -6px; } .menu-btn span:not(.visually-hidden)::after { top: 6px; }
.menu-open .menu-btn span:not(.visually-hidden) { background: transparent; }
.menu-open .menu-btn span:not(.visually-hidden)::before { transform: translateY(6px) rotate(45deg); }
.menu-open .menu-btn span:not(.visually-hidden)::after { transform: translateY(-6px) rotate(-45deg); }

@media (min-width: 1040px) {
  .nav { display: block; }
  .header-cta { display: inline-flex; }
  .header-call, .menu-btn { display: none; }
}
@media (min-width: 1240px) { .header-phone { display: inline-flex; } }

/* ---------- Mobile menu: navy sheet under the header. The service actions sit at the top, above the links. */
.mobile-nav {
  position: fixed; inset: 0; z-index: 45; background: var(--bm-navy); color: var(--on-dark);
  padding: calc(var(--header-h) + 8px) var(--gutter) calc(24px + env(safe-area-inset-bottom));
  display: flex; flex-direction: column; gap: 20px; overflow-y: auto; overscroll-behavior: contain;
  opacity: 0; visibility: hidden; transition: opacity 0.3s, visibility 0.3s;
}
.menu-open .mobile-nav { opacity: 1; visibility: visible; }
.menu-open .site-header {
  background: transparent; box-shadow: none; transform: none; backdrop-filter: none;
  --hdr-fg: #fff; --hdr-line: var(--line-dark-strong); --logo-white: block; --logo-color: none;
}
@media (min-width: 1040px) { .mobile-nav { display: none; } }
.mobile-service { padding: 18px 0 22px; border-bottom: 1px solid var(--line-dark); display: grid; gap: 12px; justify-items: start; }
.mobile-service p { margin: 0; font: 600 var(--fs-label)/1.3 var(--font-head); letter-spacing: 0.14em; text-transform: uppercase; color: var(--on-dark-muted); }
.mobile-phone { display: inline-flex; align-items: center; gap: 12px; color: #fff; text-decoration: none; font: 700 1.6rem/1.2 var(--font-head); font-variant-numeric: tabular-nums; }
.mobile-phone svg { width: 24px; height: 24px; color: var(--bm-blue-soft); }
.mobile-nav ul { list-style: none; }
.mobile-nav li { border-bottom: 1px solid var(--line-dark); }
.mobile-nav ul a {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 0;
  color: var(--on-dark); text-decoration: none; font: 600 1.3rem/1.2 var(--font-head);
}
.mobile-nav ul a svg { width: 20px; height: 20px; flex: none; color: var(--on-dark-faint); }
.mobile-nav ul a[aria-current="page"] { color: var(--bm-blue-soft); }
.mobile-contact { font-size: 0.95rem; display: grid; gap: 2px; margin-top: auto; }
.mobile-contact a { color: var(--on-dark-muted); text-decoration: none; padding: 6px 0; font-variant-numeric: tabular-nums; }
body.menu-open { overflow: hidden; }

/* ---------- Phone service bar (<768 px): Call and Request service, fixed to the bottom with safe-area padding. */
.svc-bar { display: none; }
@media (max-width: 767px) {
  .svc-bar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: flex; gap: 8px;
    padding: 8px var(--gutter) calc(8px + env(safe-area-inset-bottom));
    background: rgba(16, 35, 63, 0.97); backdrop-filter: blur(8px); box-shadow: 0 -1px 0 var(--line-dark);
    transform: none; transition: transform 0.3s var(--ease), visibility 0.3s;
  }
  .svc-bar.is-away { transform: translateY(110%); visibility: hidden; }
  .svc-bar a {
    flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; border-radius: var(--radius);
    font: 600 0.95rem/1 var(--font-head); text-decoration: none; letter-spacing: 0.02em;
  }
  .svc-call { color: #fff; border: 1px solid var(--line-dark-strong); }
  .svc-call svg { width: 18px; height: 18px; }
  .svc-request { background: #fff; color: var(--bm-navy); }
  .site-footer { padding-bottom: calc(28px + var(--svc-bar-h) + env(safe-area-inset-bottom)); }
}

/* ---------- Four things: the service-request card. Light (soft card) and dark (navy-raised tiles). */
.four-things { border-radius: var(--radius); }
.four-head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; padding-bottom: 14px; font: 600 var(--fs-label)/1.2 var(--font-head); letter-spacing: 0.14em; text-transform: uppercase; }
.four-things ol { list-style: none; margin: 0 0 26px; padding: 0; }
.four-things li { display: grid; grid-template-columns: 44px 1fr; gap: 12px; }
.four-things .n { font: 700 0.9rem/1.5 var(--font-head); font-variant-numeric: tabular-nums; }
.four-things b { display: block; font: 700 1.1rem/1.3 var(--font-head); }
.four-form { margin: 18px 0 0; font-size: var(--fs-small); }

.four-things.is-light { background: var(--bm-surface-soft); border: 1px solid var(--bm-border); padding: clamp(22px, 3vw, 36px); }
.is-light .four-head { border-bottom: 2px solid var(--bm-ink); color: var(--bm-muted); }
.is-light li { padding: 16px 0; border-bottom: 1px dashed var(--bm-border-strong); }
.is-light .n { color: var(--bm-blue); }
.is-light b { color: var(--bm-ink); }
.is-light li div span { color: var(--bm-muted); }

.four-things.is-dark { color: var(--on-dark-muted); }
.is-dark .four-head { color: var(--on-dark-faint); border-bottom: 1px solid var(--line-dark); margin-bottom: 16px; }
.is-dark ol { display: grid; gap: 8px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .is-dark ol { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .is-dark ol { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.is-dark li { display: block; background: var(--bm-navy-raised); border-radius: var(--radius); padding: 18px 18px 20px; }
.is-dark .n { display: block; color: var(--bm-blue-soft); margin-bottom: 8px; }
.is-dark b { color: #fff; margin-bottom: 4px; }
.is-dark li div span { color: var(--on-dark-muted); font-size: var(--fs-small); line-height: 1.4; display: block; }
.is-dark .four-form a { color: var(--on-dark); }

/* ---------- Closing band (inner pages): navy, two halves, then a compass-at-sea strip fading up into the navy. */
.closing { position: relative; background: var(--bm-navy); color: var(--on-dark-muted); padding-top: clamp(64px, 9vw, 120px); overflow: hidden; }
.closing-grid { display: grid; gap: 48px; position: relative; z-index: 1; }
@media (min-width: 900px) { .closing-grid { grid-template-columns: 1.25fr 1fr; gap: 0; } .closing-buy { padding-left: clamp(32px, 5vw, 72px); border-left: 1px solid var(--line-dark); } }
.closing h2 { color: #fff; font-size: var(--fs-h2-evidence); margin-bottom: 18px; }
.closing p { max-width: 44ch; }
.closing-down { padding-right: clamp(0px, 4vw, 56px); }
.closing-buy { padding-top: 48px; border-top: 1px solid var(--line-dark); }
@media (min-width: 900px) { .closing-buy { padding-top: 0; border-top: 0; } }
/* v3 fixes (F3): the buying half alone, on pages that already show the four-things block. */
.closing-buy-only .closing-buy { padding: 0; border: 0; }
@media (min-width: 900px) { .closing-buy-only .closing-grid { grid-template-columns: 1fr; } .closing-buy-only .closing-buy { padding-left: 0; border-left: 0; } }
.closing-phone {
  display: inline-flex; align-items: center; gap: 14px; margin: 0 0 14px; color: #fff; text-decoration: none;
  font: 700 clamp(1.6rem, 3vw, 2.2rem)/1.1 var(--font-head); font-variant-numeric: tabular-nums;
}
.closing-phone svg { width: 26px; height: 26px; color: var(--bm-blue-soft); }
.closing-phone:hover span { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; }
.closing-after { color: var(--on-dark); }
.closing .btn-row { margin-top: 24px; }
.closing-photo { position: relative; height: clamp(180px, 30vh, 340px); margin-top: clamp(56px, 8vw, 96px); }
.closing-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 60%; opacity: 0.85; }
/* Feedback 04: eased, and solid navy well before the bottom edge (it used to reach navy only at the last pixel), so the
   footer's hairline below reads as a divider, not as the photo's edge. */
.closing-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, var(--bm-navy) 0%, rgba(16, 35, 63, 0.3) 38%, rgba(16, 35, 63, 0.45) 54%, rgba(16, 35, 63, 0.75) 70%, rgba(16, 35, 63, 0.94) 80%, var(--bm-navy) 88%); }

/* ---------- Customer grid: hairline boxes, full-colour logos at 80%. 4 across on phones, 7 on desktop. */
.cust-wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.wrap .cust-wrap { padding: 0; }
.customer-grid {
  list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px;
  background: var(--bm-border); border: 1px solid var(--bm-border); border-radius: var(--radius); overflow: hidden;
}
@media (min-width: 1000px) { .customer-grid { grid-template-columns: repeat(7, minmax(0, 1fr)); } }
.customer-grid li { background: #fff; position: relative; aspect-ratio: 3 / 2; min-width: 0; overflow: hidden; }
.customer-grid img { position: absolute; left: 16%; top: 18%; width: 68%; height: 64%; object-fit: contain; opacity: 0.8; transition: opacity 0.3s; }
.customer-grid li:hover img { opacity: 1; }
@media (max-width: 999px) { .customer-grid li { aspect-ratio: 4 / 3; } .customer-grid img { left: 12%; width: 76%; } }
/* Home on phones (review #10): 12 logos, 3 across so they can be read, and "Show N more" for the rest. Opened, the
   grid stays 3 across with the 12 first in the same order; blank tiles fill the last row. */
.cust-more { display: none; background: none; border: 0; color: var(--bm-blue); cursor: pointer; }
.cust-pad { display: none; }
@media (max-width: 759px) {
  .cust-few .customer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .cust-few .customer-grid li { order: var(--o, 99); }
  .cust-few .customer-grid .cust-pad { order: 100; }
  .js .cust-few:not(.is-open) .cust-extra { display: none; }
  .js .cust-few:not(.is-open) .cust-more { display: inline-flex; margin-top: 18px; padding: 10px 0; }
  .js .cust-few.is-open .cust-pad, html:not(.js) .cust-few .cust-pad { display: block; }
}

/* ---------- Logo wall (manufacturers): white tiles in hairline boxes, country on hover. */
/* Tiles carry their own right and bottom hairlines, so a short last row (11 makers) leaves white space, not grey cells. */
.logo-wall { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); background: #fff; border-top: 1px solid var(--bm-border); border-left: 1px solid var(--bm-border); border-radius: var(--radius); overflow: hidden; }
@media (min-width: 700px) { .logo-wall { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .logo-wall { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.logo-wall a, .logo-wall div {
  background: #fff; display: grid; place-items: center; padding: 28px 24px; aspect-ratio: 16 / 9; position: relative; text-decoration: none;
  border-right: 1px solid var(--bm-border); border-bottom: 1px solid var(--bm-border);
}
.logo-wall img { max-height: 64px; width: auto; height: auto; max-width: 74%; object-fit: contain; transition: transform 0.4s var(--ease); }
.logo-wall a::after {
  content: attr(data-country); position: absolute; left: 14px; bottom: 10px; font: 600 0.68rem/1 var(--font-head); letter-spacing: 0.14em; text-transform: uppercase; color: var(--bm-muted);
  opacity: 0; transform: translateY(4px); transition: opacity 0.3s, transform 0.3s var(--ease);
}
.logo-wall a:hover, .logo-wall a:focus-visible { background: var(--bm-surface-soft); }
.logo-wall a:hover img { transform: scale(1.04); }
.logo-wall a:hover::after, .logo-wall a:focus-visible::after { opacity: 1; transform: none; }
.logo-wall a:focus-visible { outline-offset: -3px; }
/* The twelfth tile: 11 makers leave one empty cell at 2, 3 and 4 columns, and 12 fills all three. It links to the catalogue. */
.logo-wall .wall-more { align-content: center; justify-items: center; gap: 4px; background: var(--bm-surface-soft); color: var(--bm-navy); text-align: center; }
.logo-wall .wall-more::after { display: none; }
.logo-wall .wall-more svg { width: 26px; height: 26px; fill: none; stroke: var(--bm-blue); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 6px; }
.logo-wall .wall-more b { font: 700 0.95rem/1.2 var(--font-head); }
.logo-wall .wall-more span { font-size: 0.85rem; color: var(--bm-muted); }
.logo-wall .wall-more:hover, .logo-wall .wall-more:focus-visible { background: #e8eef7; }

/* ---------- Footer */
.site-footer { background: var(--bm-navy); color: var(--on-dark-muted); padding: clamp(56px, 8vw, 96px) 0 28px; font-size: 0.98rem; }
/* Feedback 04: no hairline between the closing band and the footer. closingBand() always ends in the photo strip,
   which fades into solid navy, so the line read as a seam; the footer's own padding separates them. */
.site-footer a { color: var(--on-dark-muted); text-decoration: none; display: inline-block; padding: 3px 0; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-grid { display: grid; gap: 36px 32px; grid-template-columns: 1fr 1fr; padding-bottom: 40px; }
.footer-brand { grid-column: 1 / -1; }
@media (min-width: 900px) { .footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1.1fr; } .footer-brand { grid-column: auto; } }
.footer-h { color: #fff; font: 600 var(--fs-label)/1.2 var(--font-head); letter-spacing: 0.16em; text-transform: uppercase; margin: 0 0 14px; }
.footer-grid ul { list-style: none; display: grid; gap: 4px; }
.footer-grid li { font-variant-numeric: tabular-nums; }
.footer-hours { color: var(--on-dark-muted); padding: 3px 0; } /* Q4 office hours, plain text among the links */
.footer-brand img { width: 190px; height: auto; margin-bottom: 20px; }
.footer-brand p { max-width: 36ch; margin: 0; }
.footer-ports { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--line-dark); border-bottom: 1px solid var(--line-dark); }
@media (min-width: 900px) { .footer-ports { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.footer-ports li { padding: 18px 16px 18px 0; display: grid; gap: 2px; align-content: start; font-size: 0.875rem; line-height: 1.35; }
.footer-ports b { color: #fff; font: 600 0.95rem/1.3 var(--font-head); }
.footer-ports span { color: var(--on-dark-faint); }
.footer-base { display: flex; flex-wrap: wrap; gap: 12px 28px; justify-content: space-between; padding-top: 24px; font-size: 0.875rem; color: var(--on-dark-faint); }
.footer-base nav { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-base a { color: var(--on-dark-faint); }

/* ---------- Inner page hero: navy, the photo at 0.55 with the gradient on the left only, and the bezel. */
.page-hero { position: relative; background: var(--bm-navy); color: var(--on-dark-muted); padding: calc(var(--header-h) + clamp(48px, 7vw, 96px)) 0 clamp(56px, 7vw, 96px); overflow: hidden; isolation: isolate; }
.page-hero:not(.has-photo)::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(50% 80% at 85% 30%, rgba(13, 71, 161, 0.4), transparent 70%);
}
.page-hero .bg { position: absolute; inset: 0; z-index: -2; }
.page-hero .bg img { width: 100%; height: 100%; object-fit: cover; opacity: 0.55; }
.page-hero .bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(16, 35, 63, 0.35) 0%, rgba(16, 35, 63, 0.85) 60%, var(--bm-navy) 100%); }
@media (min-width: 900px) {
  .page-hero .bg::after {
    background: linear-gradient(180deg, rgba(16, 35, 63, 0.55) 0%, rgba(16, 35, 63, 0) 24%),
      linear-gradient(90deg, var(--bm-navy) 0%, rgba(16, 35, 63, 0.9) 30%, rgba(16, 35, 63, 0) 58%);
  }
}
.page-hero .wrap { position: relative; }
.page-hero h1 { color: #fff; max-width: 18ch; }
.page-hero .lede { color: var(--on-dark-muted); }
.page-hero .hero-actions { margin-top: 28px; } /* v3 E fixes (#5) */
.page-hero.has-photo .lede { color: rgba(234, 241, 251, 0.86); }
.bezel {
  position: absolute; right: -10vw; top: 50%; width: min(64vw, 760px); aspect-ratio: 1; transform: translateY(-50%); z-index: -1;
  color: #fff; opacity: 0.2; pointer-events: none;
}
.page-hero.has-photo .bezel { opacity: 0.16; }
.bezel-num { font: 600 15px/1 var(--font-head); letter-spacing: 0.06em; }
@media (max-width: 899px) { .bezel { right: -38vw; width: 110vw; top: 40%; opacity: 0.14; } }

/* Breadcrumbs: links underlined so they don't rely on colour alone (review C). */
.crumbs { font-size: 0.875rem; color: var(--on-dark-faint); margin-bottom: 22px; }
.crumbs a { color: var(--on-dark-muted); text-decoration: underline; text-decoration-color: var(--line-dark-strong); text-underline-offset: 3px; }
.crumbs a:hover { color: #fff; text-decoration-color: currentColor; }
.crumbs [aria-current] { color: var(--on-dark-muted); }
@media (max-width: 699px) {
  .logo-wall .wall-more { padding: 12px; aspect-ratio: auto; }
  .logo-wall .wall-more span { display: none; }
}

/* home.css: home page only (hero story, record, chapter bands, equipment, wiper, services, coverage map,
   request block, manufacturers, customers, news). Project 024 tokens only; blue for action and figures. */

/* ---------- Hero with the gyrocompass ----------
   With JS the hero is three screens tall and its inner frame sticks, so scrolling plays the story
   (assets/js/story.js). Without WebGL, on a weak device, with reduced motion or if three.js fails, .no-webgl makes
   it one screen with the still of the assembled compass, and the story steps sit below the headline, with the
   opened-up compass at step 1 and the engineer at step 3. .no-webgl is set before first paint (home page <head>). */
.hero { position: relative; background: var(--bm-navy); color: var(--on-dark-muted); --end: 0; }
.js .hero { height: 300svh; }
.hero-sticky { position: relative; min-height: 100svh; display: flex; flex-direction: column; overflow: hidden; isolation: isolate; }
.js .hero-sticky { position: sticky; top: 0; height: 100svh; min-height: 0; }
.hero-sticky::before {
  content: ""; position: absolute; inset: 0; z-index: -3;
  background:
    radial-gradient(60% 70% at 72% 55%, rgba(13, 71, 161, 0.5), transparent 70%),
    radial-gradient(40% 40% at 10% 0%, rgba(23, 52, 90, 0.9), transparent 70%),
    var(--bm-navy);
}
.hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; touch-action: pan-y; opacity: 0; transition: opacity 1s var(--ease); }
.hero-canvas.is-live { opacity: calc(1 - var(--end)); transition: opacity 0.2s linear; }
.no-webgl .hero-canvas { display: none; }

/* The last step: the photograph of the real thing fades in over the right of the frame. */
.hero-photo { position: absolute; top: 0; right: 0; bottom: 0; width: 55%; z-index: -1; opacity: var(--end); pointer-events: none; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 45% 35%; }
.hero-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--bm-navy) 0%, rgba(16, 35, 63, 0.55) 30%, rgba(16, 35, 63, 0.1) 65%), linear-gradient(0deg, rgba(16, 35, 63, 0.7), transparent 30%); }
.hero-photo img:not([src]) { visibility: hidden; }
.no-webgl .hero-photo, html:not(.js) .hero-photo { display: none; }

/* The poster: the assembled compass (assets/img/gyro/assembled.webp, mobile round 2026-11-04). On phones it stands
   in the canvas's place until the 3D is live and then cross-fades to it (gyro.js draws the closed compass exactly
   over it); on the still path, and without JS, it is the hero picture. The desktop 3D path never shows it, so its
   lazy image is never fetched there. */
.hero-poster { position: absolute; z-index: -2; margin: 0; right: 0; top: var(--header-h); width: min(60%, 960px); aspect-ratio: 3 / 2; pointer-events: none; transition: opacity 1s var(--ease); }
.hero-poster img { width: 100%; height: 100%; }
.hero-canvas.is-live ~ .hero-poster { opacity: 0; }
@media (min-width: 900px) { .js:not(.no-webgl):not(.gyro-lite) .hero-poster { display: none; } }

/* .gyro-lite (review #6 watchdog, 2026-11-04): the 3D was too slow and handed back to the poster. The scroll story
   carries on with pictures: the assembled compass, the opened-up still at steps 1 and 2, and the photo at step 3. */
.hero-poster-open { display: none; opacity: 0; }
.gyro-lite .hero-poster-open { display: block; }
.gyro-lite .hero[data-step="1"] .hero-poster-open, .gyro-lite .hero[data-step="2"] .hero-poster-open { opacity: 1; }
.gyro-lite .hero[data-step="1"] [data-poster], .gyro-lite .hero[data-step="2"] [data-poster] { opacity: 0; }
.gyro-lite .hero[data-step="3"] [data-poster] { opacity: calc(1 - var(--end)); }
/* No live heading or roll without the 3D: their cells go, as on the still path (re-check 2 item 5). */
.gyro-lite .gyro-labels { visibility: hidden; }
.gyro-lite .hud-live:not(.hint) { display: none; }
.gyro-lite .hud-desk { padding-left: 0; }
/* ?3d=debug readout */
.hero-debug { position: fixed; left: 8px; bottom: 8px; z-index: 90; max-width: calc(100vw - 16px); padding: 8px 10px; border-radius: 6px; background: rgba(0, 0, 0, 0.82); color: #fff; font: 12px/1.4 ui-monospace, Consolas, monospace; white-space: pre-wrap; pointer-events: none; }

/* Step pictures on the still path: the opened-up compass (labels placed on the 3:2 image) and the engineer. */
.hero-fig { display: none; margin: 0 0 20px; }
.no-webgl .hero-fig, html:not(.js) .hero-fig { display: block; }
.hero-fig img { display: block; width: 100%; height: auto; }
.hero-fig-photo img { aspect-ratio: 3 / 2; object-fit: cover; object-position: 32% 50%; border-radius: var(--radius-s); }
/* The parts sit in the middle of the picture: shift it left so the labels have room on the right. */
.hero-exploded { position: relative; margin-left: -16%; }
.hero-exploded span, .hero-poster-open span { position: absolute; translate: 8px -50%; font: 600 0.72rem/1 var(--font-body); letter-spacing: 0.1em; text-transform: uppercase; color: var(--on-dark-muted); white-space: nowrap; padding-left: 12px; }
.hero-exploded span::before, .hero-poster-open span::before { content: ""; position: absolute; left: 0; top: 50%; width: 6px; height: 6px; margin-top: -3px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 3px rgba(13, 71, 161, 0.55); }

.hero-inner { flex: 1; display: flex; flex-direction: column; justify-content: center; padding-top: calc(var(--header-h) + 24px); padding-bottom: 24px; position: relative; z-index: 1; min-height: 0; }
.hero-steps { display: grid; max-width: 640px; }
.hero-step + .hero-step { margin-top: 56px; }
.js .hero-step { grid-area: 1 / 1; margin: 0; align-self: center; opacity: 0; transform: translateY(20px); transition: opacity 0.5s var(--ease), transform 0.7s var(--ease); pointer-events: none; }
.js .hero-step.is-active { opacity: 1; transform: none; pointer-events: auto; transition-delay: 0.1s; }
.hero h1 { color: #fff; font-weight: 700; font-size: clamp(2.4rem, 4.4vw, 4rem); line-height: 1.04; max-width: 15ch; margin-bottom: 22px; }
.hero-step h2 { color: #fff; font-weight: 700; font-size: clamp(1.9rem, 3.6vw, 3.2rem); line-height: 1.06; max-width: 15ch; margin-bottom: 18px; }
.hero .lede { color: var(--on-dark-muted); max-width: 46ch; margin-bottom: 28px; }
.hero-step .lede { margin-bottom: 22px; }
.hero-big { display: block; font: 700 clamp(4.5rem, 10vw, 8.5rem)/0.86 var(--font-head); color: #fff; font-variant-numeric: tabular-nums; margin: 4px 0 14px; }
.hero-big + h2 { font-size: clamp(1.4rem, 2.4vw, 2rem); max-width: 20ch; }
.hero-note { font-size: 0.85rem; color: var(--on-dark-faint); margin: -10px 0 18px; }
.step-actions { display: flex; flex-wrap: wrap; gap: 10px 28px; margin: 0; }
.step-actions .text-link { color: #fff; padding: 6px 0; border-bottom: 1px solid var(--line-dark-strong); }
.step-actions .text-link:hover { border-bottom-color: #fff; }
.hero .btn svg { flex: none; }

/* Part labels that follow the opened-up compass */
.gyro-labels { position: absolute; inset: 0; pointer-events: none; opacity: 0; z-index: 2; }
.no-webgl .gyro-labels { display: none; }
.gyro-labels { visibility: hidden; }
.gyro-labels.is-on { visibility: visible; }
.gyro-labels [data-part] {
  position: absolute; left: 0; top: 0; margin-top: -0.5em; padding-left: 58px; white-space: nowrap;
  font: 600 0.78rem/1 var(--font-body); letter-spacing: 0.12em; text-transform: uppercase; color: var(--on-dark-muted);
  transition: color 0.3s;
  /* Round 5: the labels are buttons. The hit area reaches 14 px above and below the text (44 px tall in all). */
  appearance: none; background: none; border: 0; border-radius: 0; cursor: pointer; pointer-events: auto; text-align: left;
  -webkit-tap-highlight-color: transparent;
}
.gyro-labels [data-part] { padding-top: 16px; padding-bottom: 16px; margin-top: calc(-0.5em - 16px); }
.gyro-labels [data-part]::before { margin-top: 16px; }
.gyro-labels [data-part]::after { margin-top: 16px; }
.gyro-labels [data-part]:hover, .gyro-labels [data-part]:focus-visible { color: #fff; }
.gyro-labels [data-part]:focus-visible { outline: 2px solid #fff; outline-offset: -8px; }

/* The note for a part: a small card beside its label (story.js places it). */
.part-note {
  position: absolute; left: 0; top: 0; width: min(300px, calc(100% - 24px)); padding: 16px 40px 16px 18px; pointer-events: auto;
  background: #0d1b31; border: 1px solid var(--line-dark-strong); border-left: 3px solid var(--bm-blue); border-radius: var(--radius-s);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35); color: var(--on-dark-muted); z-index: 2;
}
.part-note[hidden] { display: none; }
.part-note b { display: block; font: 700 0.95rem/1.2 var(--font-head); color: #fff; margin-bottom: 6px; }
.part-note p { margin: 0; font-size: 0.92rem; line-height: 1.5; }
.part-note .text-link { display: inline-block; margin-top: 10px; color: #fff; border-bottom: 1px solid var(--line-dark-strong); padding: 2px 0; }
.part-note .text-link[hidden] { display: none; }
.part-note-close { position: absolute; top: 4px; right: 4px; width: 36px; height: 36px; display: grid; place-items: center; background: none; border: 0; color: var(--on-dark-faint); cursor: pointer; border-radius: 50%; }
.part-note-close:hover, .part-note-close:focus-visible { color: #fff; }
.part-note-close svg { width: 16px; height: 16px; }

/* The cue under the closed compass: it can be turned (home.js places and retires it). */
.hero-sticky { touch-action: pan-y pinch-zoom; }
.hero-sticky.can-grab { cursor: grab; }
.hero-sticky.is-grabbing, .hero-sticky.is-grabbing * { cursor: grabbing; user-select: none; -webkit-user-select: none; }
.gyro-hint {
  position: absolute; left: 0; top: 0; z-index: 0; pointer-events: none; white-space: nowrap; opacity: 0; transition: opacity 0.6s var(--ease);
  padding: 7px 12px; border-radius: 999px; background: rgba(13, 27, 49, 0.72); border: 1px solid var(--line-dark-strong);
  font: 600 0.72rem/1 var(--font-body); letter-spacing: 0.1em; text-transform: uppercase; color: var(--on-dark-muted);
}
.gyro-hint.is-on { opacity: 1; }
.hero:not([data-step="0"]) .gyro-hint, .no-webgl .gyro-hint, .gyro-lite .gyro-hint { opacity: 0; }
.gyro-labels [data-part]::before { content: ""; position: absolute; left: -4px; top: calc(0.5em - 4px); width: 8px; height: 8px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 4px rgba(13, 71, 161, 0.55); transition: box-shadow 0.3s; }
.gyro-labels [data-part]::after { content: ""; position: absolute; left: 10px; top: 0.5em; width: 40px; height: 1px; background: var(--line-dark-strong); }
.gyro-labels [data-part].is-left { padding-left: 0; padding-right: 58px; translate: -100% 0; }
.gyro-labels [data-part].is-left::before { left: auto; right: -4px; }
.gyro-labels [data-part].is-left::after { left: auto; right: 10px; }
.gyro-labels [data-part].is-hot { color: #fff; }
.gyro-labels [data-part].is-hot::before { box-shadow: 0 0 0 5px rgba(234, 241, 251, 0.35), 0 0 18px 6px rgba(13, 71, 161, 0.9); }

/* Status strip under the hero: live heading and roll, the service desk, story progress, skip link */
.hud {
  border-top: 1px solid var(--line-dark); display: flex; position: relative; z-index: 1;
  font: 600 0.75rem/1.2 var(--font-body); letter-spacing: 0.12em; text-transform: uppercase; color: var(--on-dark-faint);
}
.hud > * { flex: 1 1 0; min-width: 0; padding: 14px 16px 16px; border-right: 1px solid var(--line-dark); }
.hud > :first-child { padding-left: 0; }
.hud > :last-child { border-right: 0; }
.hud b { display: block; margin-top: 6px; font: 700 1.2rem/1 var(--font-head); color: #fff; letter-spacing: 0; font-variant-numeric: tabular-nums; text-transform: none; white-space: nowrap; }
.hud b small { font-size: 0.65em; color: var(--on-dark-faint); font-weight: 600; margin-left: 2px; }
.hud a { text-decoration: none; color: var(--on-dark-faint); transition: color 0.2s; }
.hud a:hover, .hud a:hover b { color: #fff; }
.hud a:hover b { text-decoration: underline; text-underline-offset: 4px; }
.hud .hint b { font-size: 0.95rem; font-weight: 600; display: flex; align-items: center; gap: 10px; }
.hud-steps { display: inline-flex; gap: 4px; }
.hud-steps i { width: 16px; height: 3px; border-radius: 2px; background: var(--line-dark-strong); transition: background 0.3s, width 0.3s var(--ease); }
.hud-steps i.is-on { background: #fff; width: 26px; }
.hud-skip { text-align: right; }
.hud-skip b { display: inline-flex; margin-left: auto; }
.hud-skip svg { width: 18px; height: 18px; transform: rotate(90deg); }
.hud-skip b, .hud-skip { display: flex; flex-direction: column; align-items: flex-end; }
.hud-desk b { font-size: 1.05rem; }
.no-webgl .hud-live, .no-webgl .hud-skip { display: none; }
.no-webgl .hud-desk { padding-left: 0; }
html:not(.js) .hud-live, html:not(.js) .hud-skip { display: none; }

@media (max-width: 899px) {
  .js .hero { height: 300svh; }
  .hero-sticky::after { content: ""; position: absolute; inset: 34% 0 0; z-index: 0; background: linear-gradient(transparent, rgba(16, 35, 63, 0.9) 34%); pointer-events: none; }
  .hero-inner { justify-content: flex-end; padding-top: calc(var(--header-h) + 34vw); padding-bottom: 8px; }
  .js .hero-step { align-self: end; }
  .hero h1 { font-size: clamp(2rem, 8.6vw, 2.8rem); margin-bottom: 12px; max-width: 13ch; }
  .hero .lede { font-size: 1rem; line-height: 1.5; margin-bottom: 18px; }
  .hero-step h2 { font-size: clamp(1.7rem, 7.4vw, 2.4rem); }
  .hero-big { font-size: clamp(4rem, 20vw, 5.6rem); }
  .hero .btn-row .btn { flex: 1 1 auto; }
  /* Mobile round (review #7): labels 11.8 px, and above the text gradient so the lower ones stay readable. */
  .gyro-labels [data-part] { font-size: 0.74rem; letter-spacing: 0.1em; padding-left: 30px; }
  .gyro-labels [data-part]::after { width: 16px; }
  .gyro-labels [data-part].is-left { padding-left: 0; padding-right: 30px; }
  /* Mobile round (review #8): below the header, framed on the open gyro and his hands, not the wall. */
  .hero-photo { width: 100%; top: var(--header-h); bottom: 40%; }
  .hero-photo img { object-position: 32% 50%; }
  .hero-photo::after { background: linear-gradient(0deg, var(--bm-navy) 0%, rgba(16, 35, 63, 0.4) 40%, rgba(16, 35, 63, 0.15) 100%); }
  .hud > .hud-live { display: none; }
  .hud-desk { padding-left: 0; }
  /* Phones: the poster is drawn wider than the screen (the picture's sides are empty floor), compass centred, and
     no wider than leaves room under it for the headline block (about 470 px; the compass ends at 53 % of the width). */
  .hero { --poster-w: clamp(100vw, (100svh - var(--header-h) - 470px) * 1.875, 130vw); --poster-top: var(--header-h); }
  .hero-poster { width: var(--poster-w); top: var(--poster-top); left: 50%; right: auto; translate: -50% 0; }
  /* .gyro-lite's opened-up still: screen width, shifted left so its labels fit on the right. */
  .hero-poster-open { width: 100vw; left: 0; translate: -12% 0; }
}
/* Portrait phones, 3D path: the strip is pinned to the bottom with its 70 px kept free above, so the text doesn't move up when
   it arrives (a slow phone paints the hero before the strip is parsed: a 0.04 layout shift). */
@media (max-width: 899px) and (max-aspect-ratio: 11/10) {
  .hero-inner { padding-bottom: 78px; }
  .hero-sticky > .hud-wrap { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; }
  /* The same for the steps: they fill the space above the strip, so the block doesn't grow (and its top move) as the
     later, taller steps arrive; the text stays at the bottom. */
  .js:not(.no-webgl) .hero-steps { flex: 1 1 auto; min-height: 0; grid-template-rows: minmax(0, 1fr); }
}
/* Landscape phones: the 3D uses its wide framing (compass on the right), so the poster goes there too. */
@media (max-width: 899px) and (min-aspect-ratio: 11/10) { .hero-poster { width: 55%; left: auto; right: 0; translate: none; } }
/* Phones under 800 px tall (review #5): a smaller poster, a little higher (the 3D follows it), so the compass clears
   the headline; and the step 2 eyebrow gives way, so the "346" and the opened parts don't collide. */
@media (max-width: 899px) and (max-height: 799px) and (max-aspect-ratio: 11/10) {
  .hero { --poster-w: 112vw; --poster-top: calc(var(--header-h) - 4vw); }
  .js:not(.no-webgl) .hero-step[data-step="2"] .eyebrow { display: none; }
}
/* Re-check fix 3: big landscape phones (900 px and wider, under 500 px tall, such as 915 × 412 and 932 × 430) keep the
   desktop layout, compass on the right, but compressed so the story text fits between the header and the strip:
   no ledes or source note, smaller type, no live heading, roll or progress (the service desk and skip link stay). */
@media (min-width: 900px) and (max-height: 500px) {
  .js:not(.no-webgl) .hero-inner { padding-top: calc(var(--header-h) + 8px); padding-bottom: 8px; }
  .js:not(.no-webgl) .hero .lede, .js:not(.no-webgl) .hero-note { display: none; }
  .js:not(.no-webgl) .hero h1 { font-size: 2rem; margin-bottom: 14px; }
  .js:not(.no-webgl) .hero .eyebrow { margin-bottom: 10px; }
  .js:not(.no-webgl) .hero-step h2 { font-size: 1.6rem; margin-bottom: 12px; }
  .js:not(.no-webgl) .hero-big { font-size: 3.4rem; margin: 0 0 8px; }
  .js:not(.no-webgl) .hud > .hud-live { display: none; }
  .js:not(.no-webgl) .hud > * { padding-top: 8px; padding-bottom: 10px; }
  .js:not(.no-webgl) .hud-desk { padding-left: 0; }
}
/* Short phones: the headline and the service action come first; the lede gives way. */
@media (max-width: 899px) and (max-height: 760px) { .hero-step[data-step="0"] .lede { display: none; } }
@media (max-width: 899px) and (max-height: 640px) { .hero-step:not([data-step="0"]) .lede { display: none; } }

/* One-screen hero (no WebGL, weak device, no JS): headline, then the three story steps as a quiet row. */
.no-webgl .hero, html:not(.js) .hero { height: auto; }
.no-webgl .hero-sticky { position: relative; height: auto; min-height: 100svh; }
.no-webgl .hero-steps { max-width: none; display: grid; gap: 40px 48px; }
.no-webgl .hero-step { grid-area: auto; align-self: start; opacity: 1; transform: none; pointer-events: auto; margin: 0; }
.no-webgl .hero-step[data-step="0"] { max-width: 640px; min-height: calc(100svh - var(--header-h) - 160px); display: flex; flex-direction: column; justify-content: center; }
.no-webgl .hero-step:not([data-step="0"]) { border-top: 1px solid var(--line-dark); padding-top: 24px; }
.no-webgl .hero-step:not([data-step="0"]) h2 { font-size: clamp(1.3rem, 2vw, 1.6rem); }
.no-webgl .hero-step .hero-big { font-size: clamp(3rem, 6vw, 4.5rem); }
.no-webgl .hero-step:not([data-step="0"]) .lede { font-size: 1rem; }
@media (min-width: 900px) {
  .no-webgl .hero-steps { grid-template-columns: repeat(3, 1fr); }
  .no-webgl .hero-step[data-step="0"] { grid-column: 1 / -1; }
  /* Re-check fix 2: steps 1 and 3 open with a 3:2 picture, so step 2 gets an empty slot of the same height and the
     three eyebrows line up. */
  .no-webgl .hero-step[data-step="2"]::before { content: ""; display: block; aspect-ratio: 3 / 2; margin-bottom: 20px; }
  .no-webgl .hero-exploded { width: 100%; } /* its left shift would otherwise widen it, and so make it taller */
}
@media (max-width: 899px) {
  .no-webgl .hero-inner, html:not(.js) .hero-inner { padding-top: calc(var(--poster-top) + var(--poster-w) * 0.54); }
  .no-webgl .hero-step[data-step="0"] { min-height: 0; }
  /* The text gradient starts at a fixed depth, not 34 % of the (tall) one-screen hero: on a slow connection the
     page paints before the steps arrive, and a gradient tied to the hero's height moved as it grew (CLS). */
  .no-webgl .hero-sticky::after, html:not(.js) .hero-sticky::after { inset: calc(var(--poster-top) + var(--poster-w) * 0.38) 0 0; }
}
/* Landscape phones: headline on the left beside the poster, and the step pictures kept to a readable size. */
@media (max-width: 899px) and (min-aspect-ratio: 11/10) {
  .no-webgl .hero-inner, html:not(.js) .hero-inner { padding-top: calc(var(--header-h) + 24px); }
  .no-webgl .hero-step[data-step="0"] { max-width: 48%; }
  .hero-fig { max-width: 420px; }
}

/* ---------- The record: a ruled stats row, the Tokyo Keiki chart and one figure tile ---------- */
.h-evidence { font-size: clamp(1.75rem, 2.6vw, 2.25rem); margin-bottom: clamp(24px, 3vw, 40px); }
/* The stats row itself is P1's shared .stat-row (base.css); home only sets the label weight. */
.h-record .stat-row .l { font: 600 1rem/1.3 var(--font-body); color: var(--bm-ink); }

.record-grid { display: grid; gap: 32px; margin-top: clamp(40px, 5vw, 72px); }
@media (min-width: 1000px) { .record-grid { grid-template-columns: 1fr 300px; gap: 56px; align-items: end; } }
.chart { margin: 0; display: flex; flex-direction: column; }
.chart figcaption { font: 600 1rem/1.35 var(--font-head); color: var(--bm-ink); max-width: 40ch; }
.bars { display: grid; grid-template-columns: repeat(var(--n, 14), 1fr); gap: clamp(3px, 0.8vw, 10px); height: clamp(170px, 20vw, 240px); align-items: end; margin: 40px 0 36px; border-bottom: 1px solid var(--bm-border-strong); }
.bar { position: relative; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; }
.bar i { display: block; width: 100%; height: calc(var(--v) * 100%); background: rgba(13, 71, 161, 0.28); border-radius: 3px 3px 0 0; transform-origin: bottom; transition: transform 0.9s var(--ease) calc(var(--i) * 40ms); }
.bar.is-last i { background: var(--bm-blue); }
.js .chart:not(.is-in) .bar i { transform: scaleY(0); }
.bar .val { position: absolute; left: 50%; bottom: calc(var(--v) * 100% + 6px); translate: -50% 0; font: 700 0.82rem/1 var(--font-head); color: var(--bm-muted); opacity: 0; transition: opacity 0.4s 0.8s; white-space: nowrap; }
.bar.is-last .val { color: var(--bm-blue); font-size: 0.95rem; }
.bar.is-first .val, .bar.is-last .val, .bar:hover .val { opacity: 1; }
.js .chart:not(.is-in) .bar .val { opacity: 0; }
.bar .yr { position: absolute; top: 100%; left: 50%; translate: -50% 0; margin-top: 8px; font-size: 0.75rem; color: var(--bm-muted); white-space: nowrap; }
@media (max-width: 640px) { .bar .yr.short { display: none; } }
/* R6 (2026-11-18): a part year (e.g. "2026 to Oct") is an outlined bar, its label right-aligned under it. */
.bar.is-part i { background: var(--bm-blue-soft); outline: 1.5px dashed var(--bm-blue); outline-offset: -1.5px; }
.bar.is-part .val { color: var(--bm-blue); opacity: 1; }
@media (max-width: 640px) { .bar.is-part .val { left: auto; right: 0; translate: none; } }
.bar .yr.part .narrow { display: none; }
@media (max-width: 640px) {
  .bar .yr.short.keep { display: block; }
  .bar .yr.part .wide { display: none; }
  .bar .yr.part .narrow { display: inline; }
}
.bar .yr.part { left: auto; right: 0; translate: none; text-align: right; color: var(--bm-blue); line-height: 1.25; }
.bar .yr.part small { display: block; font-size: 1em; }
.bars:has(.is-part) { margin-bottom: 54px; }
.chart-note { margin: 0; font-size: 0.88rem; color: var(--bm-muted); }
.fig-tile { background: var(--bm-blue); color: #fff; border-radius: var(--radius); padding: 28px 28px 26px; display: flex; flex-direction: column; gap: 8px; }
.fig-tile b { font: 700 clamp(3.4rem, 6vw, 4.8rem)/0.9 var(--font-head); font-variant-numeric: tabular-nums; margin-bottom: 8px; }
.fig-tile .l { font: 600 1.05rem/1.3 var(--font-head); }
.fig-tile .s { font-size: 0.88rem; line-height: 1.4; color: rgba(255, 255, 255, 0.82); }

/* Evidence-style section heads on home: a left-aligned H2 and the lede under it */
.h-head { max-width: 760px; margin-bottom: clamp(32px, 4vw, 56px); }
.h-head h2 { font-size: clamp(1.75rem, 2.6vw, 2.25rem); }
.h-head .lede { margin: 0; }
.s-dark .h-head .lede { color: var(--on-dark-muted); }
.h-more { margin-top: 36px; }

/* ---------- Equipment: numbered rows beside a light product tile ---------- */
.supply { display: grid; gap: 40px; }
@media (min-width: 1000px) { .supply { grid-template-columns: 1.05fr 1fr; gap: 72px; } }
.supply-list { list-style: none; border-top: 1px solid var(--line-dark); counter-reset: s; }
.supply-list li { border-bottom: 1px solid var(--line-dark); }
.supply-list a {
  display: grid; grid-template-columns: 44px 1fr auto; gap: 16px; align-items: center; padding: 20px 0;
  text-decoration: none; color: var(--on-dark-muted); transition: color 0.2s, padding 0.35s var(--ease);
}
.supply-list a::before { counter-increment: s; content: counter(s, decimal-leading-zero); font: 600 0.85rem/1 var(--font-head); color: var(--on-dark-faint); align-self: baseline; padding-top: 0.5em; }
.supply-list h3 { color: var(--on-dark); font-size: clamp(1.15rem, 1.9vw, 1.5rem); margin: 0 0 4px; transition: color 0.2s; }
.supply-list p { margin: 0; font-size: 0.98rem; max-width: 52ch; }
.supply-list .arrow { width: 22px; height: 22px; color: var(--on-dark-faint); transition: transform 0.3s var(--ease), color 0.2s; }
.supply-list a:hover, .supply-list a.is-active { padding-left: 10px; }
.supply-list a:hover .arrow, .supply-list a.is-active .arrow { color: #fff; transform: translateX(4px); }
.supply-list a.is-active::before { color: var(--bm-blue-soft); }
.supply-thumb { display: none; }
@media (max-width: 999px) {
  .supply-list a { grid-template-columns: 30px 1fr 56px; gap: 12px; }
  .supply-list .arrow { display: none; }
  .supply-list a:hover, .supply-list a.is-active { padding-left: 0; }
  .supply-thumb { display: block; width: 56px; height: 56px; border-radius: var(--radius-s); background: var(--bm-surface-soft); overflow: hidden; }
  .supply-thumb img { width: 100%; height: 100%; object-fit: contain; padding: 6px; }
  .supply-thumb.is-photo img { object-fit: cover; padding: 0; }
}
.supply-stage { position: sticky; top: calc(var(--header-h) + 24px); aspect-ratio: 4 / 5; max-height: calc(100vh - var(--header-h) - 48px); border-radius: var(--radius); overflow: hidden; background: var(--bm-surface-soft); display: none; }
@media (min-width: 1000px) { .supply-stage { display: block; } }
.supply-stage figure { position: absolute; inset: 0; margin: 0; opacity: 0; transform: scale(1.03); transition: opacity 0.6s var(--ease), transform 1s var(--ease); }
.supply-stage figure.is-active { opacity: 1; transform: none; }
.supply-stage img { position: absolute; inset: 9% 15% 22%; width: 70%; height: 69%; object-fit: contain; }
.supply-stage figcaption { position: absolute; left: 28px; right: 28px; bottom: 26px; padding-top: 16px; border-top: 1px solid var(--bm-border); font: 700 1.05rem/1.3 var(--font-head); color: var(--bm-ink); }
.supply-stage figcaption span { display: block; margin-bottom: 6px; font: 600 0.72rem/1 var(--font-head); letter-spacing: 0.14em; text-transform: uppercase; color: var(--bm-muted); }
.supply-stage figure.is-photo img { inset: 0; width: 100%; height: 100%; object-fit: cover; }
.supply-stage figure.is-photo figcaption { left: 0; right: 0; bottom: 0; padding: 70px 28px 26px; border: 0; color: #fff; background: linear-gradient(transparent, rgba(16, 35, 63, 0.9)); }
.supply-stage figure.is-photo figcaption span { color: var(--on-dark-muted); }

/* ---------- Visibility: rain and wiper ---------- */
.wiper-wrap { display: grid; gap: 24px; }
@media (min-width: 1000px) { .wiper-wrap { grid-template-columns: 1fr 300px; align-items: start; } }
.wiper-glass { position: relative; border-radius: var(--radius); overflow: hidden; background: var(--bm-navy); aspect-ratio: 16 / 8; width: 100%; box-shadow: inset 0 0 0 10px #1b2433; }
.wiper-glass canvas { width: 100%; height: 100%; cursor: grab; touch-action: pan-y; }
.wiper-glass canvas:focus-visible { outline-offset: -6px; }
.wiper-wrap.is-dragging canvas { cursor: grabbing; }
.wiper-glass .drag-hint { position: absolute; right: 18px; bottom: 16px; font-size: 0.82rem; color: #fff; background: rgba(16, 35, 63, 0.78); padding: 6px 10px; border-radius: var(--radius-s); pointer-events: none; display: inline-flex; gap: 6px; align-items: center; transition: opacity 0.4s; }
.wiper-glass .drag-hint svg { width: 14px; height: 14px; }
.wiper-wrap.was-dragged .drag-hint { opacity: 0; }
.wiper-credit { margin: 10px 0 0; font-size: 0.82rem; color: var(--bm-muted); }
@media (max-width: 640px) { .wiper-glass { aspect-ratio: 4 / 3; } }
.panel {
  background: #1b2433; border-radius: var(--radius); padding: 22px; color: var(--on-dark-muted);
  display: flex; flex-direction: column; gap: 16px; box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}
.panel-head { display: flex; justify-content: space-between; align-items: center; font: 600 0.75rem/1 var(--font-body); letter-spacing: 0.14em; text-transform: uppercase; }
.panel-led { width: 8px; height: 8px; border-radius: 50%; background: var(--bm-success); box-shadow: 0 0 10px var(--bm-success); }
.panel-keys { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.panel-keys button {
  min-height: 56px; border-radius: var(--radius-s); border: 1px solid rgba(255, 255, 255, 0.12);
  background: linear-gradient(#273246, #1a2232); color: var(--on-dark-muted); cursor: pointer;
  font: 700 0.8rem/1 var(--font-head); letter-spacing: 0.06em; display: grid; gap: 7px; place-items: center; padding: 8px 2px;
  transition: background 0.2s, color 0.2s, transform 0.1s;
}
.panel-keys button::before { content: ""; width: 18px; height: 3px; border-radius: 2px; background: rgba(255, 255, 255, 0.15); transition: background 0.2s, box-shadow 0.2s; }
.panel-keys button[aria-pressed="true"] { color: #fff; background: linear-gradient(#1f3b66, #17345a); }
.panel-keys button[aria-pressed="true"]::before { background: var(--bm-blue-soft); box-shadow: 0 0 8px rgba(234, 241, 251, 0.7); }
.panel-keys button:active { transform: translateY(1px); }
.panel-keys button:focus-visible { outline-color: var(--bm-blue-soft); }
.panel p { margin: 0; font-size: 0.95rem; }
.panel .text-link { color: #fff; }
.panel .text-link:focus-visible { outline-color: var(--bm-blue-soft); }

/* ---------- Services (compact) ---------- */
@media (min-width: 1000px) { .h-service-grid { grid-template-columns: repeat(3, 1fr); } }
.h-service-grid .service-cell { padding: 24px; }

/* ---------- Coverage map ---------- */
.coverage { display: grid; gap: 40px; align-items: center; }
@media (min-width: 1000px) { .coverage { grid-template-columns: 1fr 1.15fr; gap: 64px; } }
.map { position: relative; }
.map svg { width: 100%; height: auto; overflow: visible; }
.map .coast { fill: none; stroke: var(--bm-blue-soft); stroke-width: 1.4; stroke-linejoin: round; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.map .coast-glow { fill: none; stroke: var(--bm-blue); stroke-width: 7; opacity: 0.55; filter: blur(6px); vector-effect: non-scaling-stroke; }
.map .grid line { stroke: var(--line-dark); stroke-width: 1; vector-effect: non-scaling-stroke; }
.map .grid text { fill: var(--on-dark-faint); font: 600 18px var(--font-body); letter-spacing: 0.1em; }
.map .port-dot { fill: #fff; }
.map .port-ring { fill: none; stroke: var(--bm-blue-soft); stroke-width: 1.5; vector-effect: non-scaling-stroke; transform-box: fill-box; transform-origin: center; animation: ping 3.2s var(--ease) infinite; }
.map .port-ring.r2 { animation-delay: 1.6s; }
.map .range { fill: rgba(13, 71, 161, 0.18); stroke: rgba(234, 241, 251, 0.25); stroke-dasharray: 3 5; vector-effect: non-scaling-stroke; }
.map .port-label { fill: #fff; font: 700 30px var(--font-head); }
.map .port-sub { fill: var(--on-dark-muted); font: 400 21px var(--font-body); }
.map .vessel { fill: var(--bm-blue-soft); }
.map .att circle { fill: var(--bm-navy); stroke: var(--bm-blue-soft); stroke-width: 1.5; vector-effect: non-scaling-stroke; }
.map .att line { stroke: var(--line-dark-strong); stroke-width: 1; vector-effect: non-scaling-stroke; }
.map .att text { fill: var(--on-dark-muted); font: 600 19px var(--font-body); }
.js .map .attended { opacity: 0; transition: opacity 0.8s 2.6s; }
.js .map.is-drawn .attended { opacity: 1; }
/* v3 fixes (P5): on phones the map labels are about 9 px; the port list beside the map carries the names. */
/* Phones, landscape phones and anything under 1000 px, where the map spans the full column (mobile round 2026-11-04,
   re-check 2 item 2): the desktop labels give way to names placed for small maps (coastMap's phoneLabels and
   phoneAtt), sized to read about 12–14 px at 360–430 and 20–26 px wider. Their notes would run off the left edge. */
.map .port-label-m, .map .att-m, .map .lead-m { display: none; }
.map .port-label-m { fill: #fff; font: 700 28px var(--font-head); }
.map .att .att-m { fill: var(--on-dark-muted); font: 600 24px var(--font-body); }
.map .lead-m { stroke: var(--line-dark-strong); stroke-width: 1; vector-effect: non-scaling-stroke; }
@media (max-width: 999px) {
  .map .port-label, .map .port-sub, .map .att-label, .map .att .lead { display: none; }
  .map .port-label-m, .map .att-m, .map .lead-m { display: inline; }
}
@media (max-width: 599px) { .map .port-label-m { font-size: 42px; } .map .att .att-m { font-size: 36px; } }
@keyframes ping { 0% { transform: scale(0.4); opacity: 0.9; } 100% { transform: scale(3.2); opacity: 0; } }
.js .map .coast { stroke-dasharray: 1; stroke-dashoffset: 1; }
.js .map.is-drawn .coast { transition: stroke-dashoffset 3.2s var(--ease); stroke-dashoffset: 0; }
.js .map .port { opacity: 0; transition: opacity 0.6s; }
.js .map.is-drawn .port { opacity: 1; }
.js .map.is-drawn .port:nth-of-type(2) { transition-delay: 0.6s; }
.js .map.is-drawn .port:nth-of-type(3) { transition-delay: 1.2s; }
.js .map.is-drawn .port:nth-of-type(4) { transition-delay: 1.8s; }
.port-list { list-style: none; display: grid; gap: 1px; background: var(--line-dark); border: 1px solid var(--line-dark); border-radius: var(--radius); overflow: hidden; margin: 28px 0 20px; }
.port-list li { background: var(--bm-navy); padding: 14px 18px; display: flex; justify-content: space-between; gap: 12px; align-items: baseline; }
.port-list b { color: #fff; font: 700 1rem/1.2 var(--font-head); }
.port-list span { font-size: 0.9rem; color: var(--on-dark-muted); text-align: right; }
.map-legend { display: flex; flex-wrap: wrap; gap: 8px 24px; margin: 0; font-size: 0.85rem; color: var(--on-dark-muted); }
.map-legend span { display: inline-flex; align-items: center; gap: 8px; }
.map-legend i { width: 10px; height: 10px; border-radius: 50%; flex: none; }
.lg-base { background: #fff; box-shadow: 0 0 0 3px rgba(13, 71, 161, 0.6); }
.lg-att { border: 1.5px solid var(--bm-blue-soft); }

/* ---------- Request block ---------- */
.request-grid { display: grid; gap: 40px; }
@media (min-width: 1000px) { .request-grid { grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; } }
.request-phone { display: inline-flex; gap: 14px; align-items: center; margin: 4px 0 14px; font: 700 clamp(1.7rem, 3.2vw, 2.5rem)/1.1 var(--font-head); color: var(--bm-ink); text-decoration: none; font-variant-numeric: tabular-nums; }
.request-phone svg { width: 0.8em; height: 0.8em; color: var(--bm-blue); flex: none; }
.request-phone:hover { color: var(--bm-blue); }
.request-mail { display: flex; gap: 10px; align-items: center; font: 600 1.1rem/1.3 var(--font-head); text-decoration: none; overflow-wrap: anywhere; min-height: 32px; }
.request-mail svg { width: 20px; height: 20px; flex: none; }
.request-go { margin-top: 28px; }

/* ---------- News ---------- */
.news-grid { display: grid; gap: 20px; }
@media (min-width: 760px) { .news-grid { grid-template-columns: repeat(3, 1fr); } }
/* Phones (review #10, Rolando 2026-11-04): the newest item only; the page was about 19 screens long. */
@media (max-width: 759px) { .h-news .news-card:nth-child(n + 2) { display: none; } }
.news-card {
  display: flex; flex-direction: column; background: #fff; border: 1px solid var(--bm-border); border-radius: var(--radius);
  overflow: hidden; text-decoration: none; color: inherit; transition: box-shadow 0.35s, border-color 0.2s;
}
.news-card:hover { box-shadow: 0 18px 40px -26px rgba(16, 35, 63, 0.45); border-color: var(--bm-border-strong); }
.news-card .media { aspect-ratio: 3 / 2; background: #fff; display: grid; place-items: center; overflow: hidden; border-bottom: 1px solid var(--bm-border); }
.news-card .media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.news-card .media.contain img { object-fit: contain; padding: 14% 16%; }
.news-card:hover .media img { transform: scale(1.03); }
.news-card .body { padding: 22px 22px 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.news-card .tag { font: 600 0.75rem/1 var(--font-head); letter-spacing: 0.12em; text-transform: uppercase; color: var(--bm-blue); }
.news-card .tag time { color: var(--bm-muted); }
.news-card h3 { margin: 0; font-size: 1.2rem; }
.news-card p { margin: 0; color: var(--bm-muted); font-size: 0.98rem; }
.news-card .text-link { margin-top: auto; padding-top: 8px; color: var(--bm-blue); }
.supply-stage figure:not(.is-photo) img, .supply-thumb:not(.is-photo) img { mix-blend-mode: multiply; }

/* equipment.css: manufacturers index, maker pages, equipment finder and product pages.
   The catalogue's print system on screen: white masthead with a 3px Benson-blue rule, white product tiles,
   "kind" labels, hairline spec lists, a navy "With Benson" strip. Project 024 tokens only. */

/* ---------- Breadcrumb (top of the masthead; the site header is light by default over white) */
.eq-crumbs { margin-bottom: clamp(28px, 4vw, 48px); }
.eq-crumbs ol { list-style: none; display: flex; flex-wrap: wrap; margin: 0; padding: 0; font-size: 0.92rem; line-height: 1.5; color: var(--bm-muted); }
.eq-crumbs li + li::before { content: "/"; margin: 0 10px; color: var(--bm-border-strong); }
.eq-crumbs a { color: var(--bm-ink); text-decoration: underline; text-decoration-color: var(--bm-border-strong); text-underline-offset: 3px; }
.eq-crumbs a:hover { color: var(--bm-blue); text-decoration-color: currentColor; }
.eq-support :focus-visible, .mk-partners :focus-visible { outline-color: var(--bm-blue-soft); }

/* ---------- Masthead */
.eq-mast { background: #fff; padding-top: calc(var(--header-h) + clamp(16px, 2.5vw, 32px)); }
.eq-mast-grid { display: grid; grid-template-columns: 1fr auto; gap: 16px 40px; align-items: end; padding-bottom: 22px; border-bottom: 3px solid var(--bm-blue); }
.eq-eyebrow { font: 600 0.78rem/1.2 var(--font-head); letter-spacing: 0.16em; text-transform: uppercase; color: var(--bm-blue); margin: 0 0 14px; }
.eq-mast h1 { font-weight: 700; font-size: clamp(2.1rem, 4vw, 3.4rem); line-height: 1.06; margin: 0; max-width: 22ch; }
.eq-new { display: inline-block; vertical-align: middle; position: relative; top: -0.2em; margin-left: 8px; padding: 6px 9px; border-radius: var(--radius-s); background: var(--bm-blue); color: #fff; font: 600 0.68rem/1 var(--font-head); letter-spacing: 0.14em; text-transform: uppercase; }
.eq-new.sm { top: 0; margin-left: 2px; padding: 3px 6px; font-size: 0.62rem; }
.eq-origin { margin: 12px 0 0; color: var(--bm-muted); font-size: 1rem; }
.eq-origin b { color: var(--bm-blue); font-weight: 600; }
.eq-mast-logo img { height: 56px; width: auto; max-width: 240px; object-fit: contain; }
.eq-mast-logo a { display: block; border-radius: var(--radius-s); }
.eq-lede { font-size: clamp(1.125rem, 1.5vw, 1.3rem); line-height: 1.55; max-width: 62ch; margin: 24px 0 0; color: var(--bm-body-web); }
.eq-actions { display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: center; margin-top: 28px; }
.eq-actions .btn svg, .eq-cat .btn svg { width: 18px; height: 18px; }
.eq-links { display: flex; flex-wrap: wrap; gap: 12px 28px; margin: 22px 0 0; }
.eq-links .text-link svg, .eq-actions .text-link svg { width: 16px; height: 16px; }
@media (max-width: 640px) {
  .eq-mast-grid { grid-template-columns: 1fr; }
  .eq-mast-logo { order: -1; }
  .eq-mast-logo img { height: 40px; max-width: 200px; }
}

/* ---------- Shared type and blocks */
.eq-section { padding: clamp(48px, 7vw, 96px) 0; }
.eq-soft { background: var(--bm-surface-soft); }
.eq-h2 { font-weight: 700; font-size: clamp(1.5rem, 2.4vw, 2rem); margin: 0 0 28px; }
.eq-h3 { font: 600 0.78rem/1.2 var(--font-head); letter-spacing: 0.16em; text-transform: uppercase; color: var(--bm-blue); margin: 36px 0 12px; }
.eq-kind { font: 600 0.72rem/1.3 var(--font-head); letter-spacing: 0.14em; text-transform: uppercase; color: var(--bm-muted); margin: 0; }
.eq-sec-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 8px 24px; margin-bottom: 28px; }
.eq-sec-head .eq-h2 { margin: 0; }
.eq-sec-head p { margin: 0; color: var(--bm-muted); }
.eq-page { padding: clamp(32px, 4vw, 56px) 0 clamp(56px, 7vw, 96px); }

/* ---------- Manufacturers index */
.mk-grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.mk-card {
  position: relative; display: flex; flex-direction: column; padding: 22px 22px 20px; background: #fff;
  border: 1px solid var(--bm-border); border-radius: var(--radius); scroll-margin-top: 16px;
  transition: border-color 0.2s, box-shadow 0.3s;
}
.mk-card:hover { border-color: var(--bm-blue); box-shadow: 0 18px 36px -30px rgba(16, 35, 63, 0.7); }
.mk-card:target { border-color: var(--bm-blue); box-shadow: 0 0 0 2px var(--bm-blue); }
.mk-card:focus-within { outline: 3px solid var(--bm-blue); outline-offset: 3px; }
.mk-card h2 a:focus-visible { outline: none; }
.mk-logo { height: 56px; display: flex; align-items: center; margin-bottom: 20px; }
.mk-logo img { max-height: 46px; max-width: 190px; width: auto; height: auto; object-fit: contain; }
.mk-card h2 { font-size: 1.2rem; line-height: 1.25; margin: 8px 0 4px; }
.mk-card h2 a { color: var(--bm-ink); text-decoration: none; }
.mk-card h2 a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.mk-origin { color: var(--bm-muted); font-size: 0.92rem; margin: 0; }
.mk-what { margin: 12px 0 0; font-size: 0.98rem; line-height: 1.5; }
.mk-go { margin-top: auto; padding-top: 16px; color: var(--bm-blue); }
.mk-go svg { width: 20px; height: 20px; transition: transform 0.25s var(--ease); }
.mk-card:hover .mk-go svg { transform: translateX(4px); }
.mk-partners { background: var(--bm-navy); border-color: var(--bm-navy); color: var(--on-dark-muted); }
.mk-partners:hover { border-color: var(--bm-navy-raised); background: var(--bm-navy-raised); }
.mk-partners:focus-within { outline-color: var(--bm-blue); }
.mk-partners .eq-kind { color: var(--on-dark-muted); }
.mk-partners h2 { margin-top: 10px; font-size: 1.35rem; }
.mk-partners h2 a { color: #fff; }
.mk-partners .mk-what { color: var(--on-dark-muted); }
.mk-link { margin-top: auto; padding-top: 16px; display: inline-flex; gap: 8px; align-items: center; color: #fff; font: 600 0.95rem/1.2 var(--font-head); }
.mk-link svg { width: 16px; height: 16px; }

/* ---------- Maker page */
.eq-intro { display: grid; gap: 36px; }
@media (min-width: 900px) { .eq-intro { grid-template-columns: 1.35fr 1fr; gap: 64px; } }
.eq-lede-body { font-size: clamp(1.1rem, 1.4vw, 1.25rem); line-height: 1.6; color: var(--bm-ink); max-width: 60ch; margin: 0; }
.eq-range h2 { font: 600 0.75rem/1.2 var(--font-head); letter-spacing: 0.16em; text-transform: uppercase; color: var(--bm-blue); margin: 0 0 10px; }
.eq-range ul + h2 { margin-top: 26px; }
.eq-range ul { list-style: none; border-top: 1px solid var(--bm-border); }
.eq-range li { position: relative; padding: 8px 0 8px 18px; border-bottom: 1px solid var(--bm-border); font-size: 1rem; line-height: 1.4; break-inside: avoid; }
.eq-range li::before { content: ""; position: absolute; left: 0; top: 16px; width: 6px; height: 6px; border-radius: 50%; background: var(--bm-blue); }
@media (min-width: 600px) { .eq-range.two ul { columns: 2; column-gap: 28px; } }

/* Full-bleed photo band with a navy caption chip (catalogue .band) */
.eq-band { position: relative; margin: clamp(40px, 5vw, 72px) 0 0; height: clamp(260px, 52vh, 560px); overflow: hidden; background: var(--bm-navy); }
.eq-band img { width: 100%; height: 100%; object-fit: cover; }
.eq-band figcaption {
  position: absolute; bottom: 18px; left: max(var(--gutter), calc((100% - var(--wrap)) / 2));
  max-width: calc(100% - 2 * var(--gutter)); padding: 6px 12px; border-radius: var(--radius-s);
  background: rgba(16, 35, 63, 0.78); color: #fff; font-size: 0.92rem; line-height: 1.35;
}
.eq-band.inset { border-radius: var(--radius); height: clamp(240px, 42vw, 500px); }
.eq-band.inset figcaption { left: 16px; bottom: 16px; }

/* Model cards (catalogue .card) */
.eq-models { margin-top: clamp(48px, 6vw, 88px); }
.eq-cards { display: grid; gap: 40px 24px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .eq-cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .eq-cards.c3 { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1180px) { .eq-cards.c4 { grid-template-columns: repeat(4, 1fr); } }
.eq-card { display: flex; flex-direction: column; }
.eq-tile { display: flex; align-items: center; justify-content: center; height: 240px; padding: 24px; overflow: hidden; background: #fff; border: 1px solid var(--bm-border); border-radius: var(--radius); }
.eq-tile img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
.eq-tile.tall { height: 300px; }
.eq-tile.small { height: 160px; padding: 14px; }
.eq-tile.square { height: auto; aspect-ratio: 1; padding: 8%; }
.eq-tile.photo { padding: 0; }
.eq-tile.photo img { width: 100%; height: 100%; max-width: none; max-height: none; object-fit: cover; }
.eq-card .eq-kind { margin: 18px 0 6px; }
.eq-card h3 { font-size: 1.2rem; line-height: 1.25; margin: 0; }
.eq-card h3 a { color: inherit; text-decoration: none; }
.eq-card h3 a:hover { color: var(--bm-blue); text-decoration: underline; }
.eq-text { margin: 8px 0 0; font-size: 1rem; line-height: 1.5; }
/* v3 fixes (re-check R-7): what Benson does for this model, where it is less than supply and service. */
.eq-scope { margin: 10px 0 0; font: 600 0.72rem/1.3 var(--font-head); letter-spacing: 0.14em; text-transform: uppercase; color: var(--bm-blue); }
.eq-specs { list-style: none; margin: 14px 0 0; border-top: 1px solid var(--bm-border); }
.eq-specs li { position: relative; padding: 8px 0 8px 22px; border-bottom: 1px solid var(--bm-border); font-size: 0.95rem; line-height: 1.45; }
.eq-specs li::before { content: ""; position: absolute; left: 0; top: 17px; width: 12px; height: 2px; background: var(--bm-blue); }
.eq-more { margin-top: 16px; }

/* Tokyo Keiki record: chart without a box, last year in full blue, and the figure tile */
.eq-record { display: grid; gap: 24px; margin-top: clamp(48px, 6vw, 88px); padding-top: 28px; border-top: 1px solid var(--bm-border); }
@media (min-width: 900px) { .eq-record { grid-template-columns: 1fr 300px; gap: 48px; align-items: stretch; } }
.eq-chart h2 { font-size: 1.15rem; margin: 0; }
.eq-note { color: var(--bm-muted); font-size: 0.95rem; margin: 6px 0 16px; }
.eq-chart svg { width: 100%; height: auto; overflow: visible; }
.eq-chart line { stroke: var(--bm-border); stroke-width: 1; }
.eq-chart rect { fill: rgba(13, 71, 161, 0.28); }
.eq-chart rect.last { fill: var(--bm-blue); }
.eq-chart text { font: 400 13px var(--font-body); fill: var(--bm-muted); }
.eq-chart text.v.last { fill: var(--bm-blue); font-weight: 700; }
/* R6 (2026-11-18): a part year (e.g. "2026 to Oct") is an outlined bar, so it never reads as a full year. */
.eq-chart rect.part { fill: var(--bm-blue-soft); stroke: var(--bm-blue); stroke-width: 1.5; stroke-dasharray: 4 3; }
.eq-chart text.v.part, .eq-chart text.y.part { fill: var(--bm-blue); }
.eq-chart text.y.part.narrow { display: none; }
@media (max-width: 599px) {
  .eq-chart text { font-size: 20px; }
  .eq-chart text.y.part.wide { display: none; }
  .eq-chart text.y.part.narrow { display: inline; }
  .eq-chart text.v:not(.last):not(.part), .eq-chart text.y.odd { display: none; }
}
.eq-fig { display: flex; flex-direction: column; justify-content: space-between; gap: 20px; padding: 28px; border-radius: var(--radius); background: var(--bm-blue); color: #fff; }
.eq-fig .n { font: 700 clamp(3rem, 6vw, 4.5rem)/1 var(--font-head); margin: 0; }
.eq-fig .l { margin: 10px 0 0; font-size: 1.05rem; line-height: 1.4; }
.eq-fig .s { margin: 0; font-size: 0.88rem; line-height: 1.45; color: rgba(255, 255, 255, 0.8); }

/* Gallery */
.eq-gallery { margin-top: clamp(48px, 6vw, 80px); }
.eq-gallery .eq-h2 { font-size: 1.25rem; margin-bottom: 18px; }
.eq-gallery-grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
.eq-gallery figure, .prod-thumbs figure { margin: 0; }
.eq-gallery figcaption, .prod-thumbs figcaption { margin-top: 8px; font-size: 0.9rem; color: var(--bm-muted); }

/* Note block (Tokimec) */
.eq-noteblock { display: grid; gap: 28px; align-items: center; margin-top: clamp(56px, 7vw, 96px); }
@media (min-width: 900px) { .eq-noteblock { grid-template-columns: 1fr 1fr; gap: 56px; } }
.eq-noteblock figure { position: relative; margin: 0; aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--radius); background: var(--bm-navy); }
.eq-noteblock figure img { width: 100%; height: 100%; object-fit: cover; }
.eq-noteblock figcaption { position: absolute; left: 14px; right: 14px; bottom: 14px; width: max-content; max-width: calc(100% - 28px); padding: 6px 10px; border-radius: var(--radius-s); background: rgba(16, 35, 63, 0.78); color: #fff; font-size: 0.88rem; line-height: 1.35; }
.eq-noteblock .eq-h2 { margin-bottom: 14px; }
.eq-noteblock p { font-size: 1.1rem; max-width: 52ch; }

/* "With Benson" strip (catalogue .support) */
.eq-support { display: grid; gap: 16px 40px; margin-top: clamp(48px, 6vw, 80px); padding: 28px 32px; border-radius: var(--radius); background: var(--bm-navy); color: var(--on-dark-muted); }
@media (min-width: 1000px) { .eq-support { grid-template-columns: 220px 1fr auto; align-items: center; } }
.eq-support-k span { display: block; margin-bottom: 8px; font: 600 0.72rem/1 var(--font-head); letter-spacing: 0.16em; text-transform: uppercase; color: var(--on-dark-muted); }
.eq-support-k h2 { margin: 0; color: #fff; font-size: 1.2rem; line-height: 1.25; }
.eq-support p { margin: 0; color: rgba(234, 241, 251, 0.9); font-size: 1.05rem; line-height: 1.55; max-width: 62ch; }
.eq-support p b { color: #fff; font-weight: 600; }
.eq-support-act { display: flex; flex-wrap: wrap; gap: 12px; }

/* Second part of a maker page (Hepworth Rail) */
.eq-part { margin-top: clamp(72px, 9vw, 128px); scroll-margin-top: 8px; }
.eq-part-head { display: grid; grid-template-columns: 1fr auto; gap: 16px 40px; align-items: end; padding-bottom: 20px; margin-bottom: 32px; border-bottom: 3px solid var(--bm-blue); }
.eq-part-head h2 { font-size: clamp(1.8rem, 3vw, 2.6rem); margin: 0; }
.eq-part-head .eq-origin { margin-top: 10px; }
@media (max-width: 640px) { .eq-part-head { grid-template-columns: 1fr; } .eq-part-head .eq-mast-logo { order: -1; } .eq-part-head .eq-mast-logo img { height: 44px; } }

.eq-others { border-top: 1px solid var(--bm-border); }
.eq-others .eq-h2 { font-size: 1.35rem; }

/* ---------- Equipment finder */
.finder-filter { max-width: 640px; margin-bottom: 32px; }
.finder-filter[hidden] { display: none; }
.finder-filter label { display: block; margin-bottom: 12px; font: 700 1.25rem/1.2 var(--font-head); color: var(--bm-ink); }
.finder-input input {
  width: 100%; min-height: 52px; padding: 12px 16px 12px 46px; border: 1px solid var(--bm-border-strong); border-radius: var(--radius);
  font: 400 1.05rem/1.4 var(--font-body); color: var(--bm-ink);
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235f6b7a' stroke-width='1.75' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='6.5'/%3E%3Cpath d='m16 16 4.5 4.5'/%3E%3C/svg%3E") no-repeat 14px 50% / 20px 20px;
}
.finder-input input:focus-visible { outline: 3px solid var(--bm-blue); outline-offset: 2px; border-color: var(--bm-blue); }
.finder-hint { margin: 10px 0 0; color: var(--bm-muted); font-size: 0.95rem; }
.finder-count { margin: 4px 0 0; min-height: 1.5em; color: var(--bm-muted); font-size: 0.95rem; }
.finder { width: 100%; border-collapse: collapse; font-size: 1rem; line-height: 1.45; }
.finder [hidden] { display: none !important; }
.finder thead th { text-align: left; padding: 14px 16px; background: var(--bm-blue); color: #fff; font: 600 0.75rem/1 var(--font-head); letter-spacing: 0.12em; text-transform: uppercase; }
.finder .grp th { text-align: left; padding: 30px 16px 10px; background: #fff; border-bottom: 2px solid var(--bm-blue); color: var(--bm-blue); font: 600 0.75rem/1.2 var(--font-head); letter-spacing: 0.14em; text-transform: uppercase; }
.finder tbody tr:not(.grp) > * { text-align: left; vertical-align: top; padding: 13px 16px; border-bottom: 1px solid var(--bm-border); }
.finder tbody tr:not(.grp) > th { width: 38%; font-weight: 600; color: var(--bm-ink); }
.finder tbody tr:not(.grp):nth-child(odd) > * { background: var(--bm-surface-soft); }
.finder td a { font-weight: 600; text-underline-offset: 3px; }
.finder td.models { color: var(--bm-muted); font-size: 0.95rem; }
.finder-empty { padding: 28px 0; border-bottom: 1px solid var(--bm-border); }
.finder-empty p { max-width: 60ch; }
@media (max-width: 719px) {
  .finder thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .finder, .finder tbody, .finder tr, .finder th, .finder td { display: block; width: auto !important; }
  .finder .grp th { padding: 30px 0 10px; }
  .finder tbody tr:not(.grp) { padding: 12px 0; border-bottom: 1px solid var(--bm-border); }
  .finder tbody tr:not(.grp) > * { padding: 0; border: 0; background: none !important; }
  .finder td { margin-top: 3px; }
}

/* Product cards (finder and "More equipment") */
.pc-grid { display: grid; gap: 28px 20px; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
@media (min-width: 1000px) { .pc-grid { grid-template-columns: repeat(4, 1fr); } }
.pc { display: flex; flex-direction: column; color: inherit; text-decoration: none; }
.pc .eq-tile { height: 220px; transition: border-color 0.2s, box-shadow 0.3s; }
.pc:hover .eq-tile { border-color: var(--bm-blue); box-shadow: 0 18px 36px -30px rgba(16, 35, 63, 0.7); }
.pc .eq-kind { margin: 14px 0 4px; }
.pc h3 { margin: 0; font-size: 1.05rem; line-height: 1.3; color: var(--bm-ink); }
.pc:hover h3 { color: var(--bm-blue); }
@media (max-width: 520px) { .pc-grid { grid-template-columns: repeat(2, 1fr); gap: 22px 12px; } .pc .eq-tile { height: 150px; padding: 12px; } .pc h3 { font-size: 0.98rem; } }

/* Catalogue download strip */
.eq-cat { display: grid; gap: 20px 40px; align-items: center; padding-top: 28px; border-top: 3px solid var(--bm-blue); }
@media (min-width: 800px) { .eq-cat { grid-template-columns: 1fr auto; } }
.eq-cat .eq-h2 { margin-bottom: 10px; }
.eq-cat p { margin: 0; max-width: 60ch; }

/* ---------- Product page */
.prod { display: grid; gap: 40px; align-items: start; }
@media (min-width: 900px) { .prod { grid-template-columns: 1fr 1fr; gap: 72px; } }
.prod-media { position: sticky; top: calc(var(--header-h) + 24px); }
@media (max-width: 899px) { .prod-media { position: static; } }
.prod-thumbs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 12px; }
.prod-proof { margin: 20px 0 0; padding: 4px 0 4px 16px; border-left: 3px solid var(--bm-blue); font-weight: 600; color: var(--bm-ink); }
.prod-body .eq-h3:first-of-type { margin-top: 32px; }
.spec-table { width: 100%; border-collapse: collapse; border-top: 1px solid var(--bm-border); margin: 0 0 8px; }
.spec-table caption { caption-side: top; text-align: left; padding: 18px 0 8px; font: 700 1rem/1.3 var(--font-head); color: var(--bm-ink); }
.spec-table th { width: 36%; padding: 11px 16px 11px 0; text-align: left; vertical-align: top; font-weight: 600; color: var(--bm-ink); border-bottom: 1px solid var(--bm-border); font-size: 0.98rem; }
.spec-table td { padding: 11px 0; border-bottom: 1px solid var(--bm-border); font-size: 0.98rem; }
.prod-note { margin: 20px 0 0; padding: 14px 18px; border-radius: var(--radius); background: var(--bm-surface-soft); font-size: 0.98rem; }
.prod-links { list-style: none; display: grid; gap: 10px; }
.prod-links .text-link svg { width: 16px; height: 16px; }
.prod-maker { display: grid; grid-template-columns: auto 1fr auto; gap: 18px; align-items: center; margin-top: 32px; padding: 16px 20px; border: 1px solid var(--bm-border); border-radius: var(--radius); color: inherit; text-decoration: none; }
.prod-maker:hover { border-color: var(--bm-blue); }
.prod-maker .mk-logo { width: 120px; height: 44px; margin: 0; }
.prod-maker .mk-logo img { max-height: 40px; max-width: 120px; }
.prod-maker .eq-kind { display: block; margin-bottom: 2px; }
.prod-maker b { display: block; font-family: var(--font-head); color: var(--bm-ink); }
.prod-maker .mk-origin { display: block; }
.prod-maker > svg { width: 20px; height: 20px; color: var(--bm-blue); }
.eq-page .eq-band.inset { margin-top: clamp(48px, 6vw, 80px); }
@media (max-width: 520px) {
  .prod-maker { grid-template-columns: 1fr auto; }
  .prod-maker .mk-logo { display: none; }
}

/* pages.css: Services, About, Careers, Contact, Service request, Partners, forms, prose and dialogs.
   Catalogue print system (v3): hairlines, a 3px Benson-blue rule over figures, Montserrat 700 at most, white tiles. */

/* Prose */
.prose { max-width: 70ch; }
.prose h2 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); margin-top: 1.6em; }
.prose h3 { margin-top: 1.4em; }
.prose ul { padding-left: 1.2em; margin: 0 0 1em; }
.prose li { margin-bottom: 0.4em; }
.prose li::marker { color: var(--bm-blue); }

/* Proof row: ruled figures with a source line (Services, Partners) */
.proof-row { display: grid; margin: 0; border-top: 3px solid var(--bm-blue); }
.proof-row > div { display: flex; flex-direction: column; padding: 22px 0 6px; border-bottom: 1px solid var(--bm-border); }
.proof-row dt { order: 2; font: 600 1rem/1.35 var(--font-head); color: var(--bm-ink); margin-top: 6px; }
.proof-row .fig { order: 1; margin: 0; font: 700 clamp(2rem, 3.4vw, 2.75rem)/1 var(--font-head); color: var(--bm-blue); }
.proof-row .src { order: 3; margin: 6px 0 0; font-size: 0.9rem; color: var(--bm-muted); max-width: 40ch; }
@media (min-width: 800px) {
  .proof-row { grid-template-columns: repeat(3, 1fr); }
  .proof-row.four { grid-template-columns: repeat(4, 1fr); }
  .proof-row > div { padding: 26px 28px 8px; border-bottom: 0; border-left: 1px solid var(--bm-border); }
  .proof-row > div:first-child { padding-left: 0; border-left: 0; }
}

/* Services page */
.svc-proof .svc-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.svc-layout { display: grid; gap: 8px; }
@media (min-width: 1100px) { .svc-layout { grid-template-columns: 220px 1fr; gap: 56px; } }
/* v3 E fixes (#4): on phones and tablets, a compact list of the six services in normal flow (the sticky index is desktop only). */
.svc-jump { padding: 0 0 8px; }
.svc-jump ul { list-style: none; margin: 10px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.svc-jump a { display: inline-block; padding: 7px 12px; border: 1px solid var(--bm-border); border-radius: var(--radius-s); text-decoration: none; color: var(--bm-ink); font: 600 0.88rem/1.2 var(--font-head); }
.svc-jump a:hover { border-color: var(--bm-blue); color: var(--bm-blue); }
@media (min-width: 1100px) { .svc-jump { display: none; } }
.svc-index { display: none; }
@media (min-width: 1100px) {
  .svc-index { display: block; position: sticky; top: calc(var(--header-h) + 32px); align-self: start; padding-top: clamp(48px, 7vw, 96px); }
  .svc-index ol { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--bm-border); }
  .svc-index li { border-bottom: 1px solid var(--bm-border); }
  .svc-index a { display: flex; gap: 12px; padding: 12px 0; text-decoration: none; color: var(--bm-ink); font: 600 0.95rem/1.3 var(--font-head); }
  .svc-index a span { color: var(--bm-blue); font-size: 0.8rem; padding-top: 2px; }
  .svc-index a:hover { color: var(--bm-blue); }
}
.svc { display: grid; gap: 32px; padding: clamp(48px, 7vw, 96px) 0; border-top: 1px solid var(--bm-border); align-items: center; scroll-margin-top: var(--header-h); }
.svc:first-child { border-top: 0; }
.svc h2 { font-size: clamp(1.7rem, 2.8vw, 2.4rem); }
@media (min-width: 900px) { .svc { grid-template-columns: 1fr 1fr; gap: 64px; } .svc:nth-child(even) .svc-media { order: -1; } }
.svc-media { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; position: relative; background: var(--bm-surface-soft); }
.svc-media img { width: 100%; height: 100%; object-fit: cover; }
.svc-sub { margin-top: 8px; padding: 18px 22px; border-left: 3px solid var(--bm-blue); background: var(--bm-surface-soft); border-radius: 0 var(--radius) var(--radius) 0; scroll-margin-top: var(--header-h); }
.svc-sub h3 { font-size: 1.1rem; margin: 0 0 6px; }
.svc-sub p { margin: 0; }

.job-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; border-top: 3px solid var(--bm-blue); counter-reset: step; }
.job-steps li { display: grid; grid-template-columns: 48px 1fr; gap: 4px 12px; padding: 20px 0; border-bottom: 1px solid var(--bm-border); }
.job-steps .step-n { grid-row: span 2; font: 700 1.6rem/1 var(--font-head); color: var(--bm-blue); }
.job-steps b { font: 700 1.1rem/1.3 var(--font-head); color: var(--bm-ink); }
.job-steps li > span:last-child { color: var(--bm-muted); }
@media (min-width: 900px) {
  .job-steps { grid-template-columns: repeat(4, 1fr); }
  .job-steps li { grid-template-columns: 1fr; padding: 24px 24px 8px; border-bottom: 0; border-left: 1px solid var(--bm-border); position: relative; }
  .job-steps li:first-child { padding-left: 0; border-left: 0; }
  .job-steps .step-n { grid-row: auto; margin-bottom: 8px; }
}

.request-split { display: grid; gap: clamp(32px, 5vw, 72px); align-items: start; }
@media (min-width: 900px) { .request-split { grid-template-columns: 1fr 1fr; } }

/* About */
.about-intro { display: grid; gap: clamp(32px, 5vw, 72px); align-items: start; }
@media (min-width: 900px) { .about-intro { grid-template-columns: 7fr 5fr; } }
.history-photo { margin: 0; }
.history-photo img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }
.history-photo figcaption { margin-top: 10px; font-size: 0.92rem; color: var(--bm-muted); }

.timeline { list-style: none; margin: 0; padding: 0; border-top: 3px solid var(--bm-blue); }
.timeline li { display: grid; gap: 8px 32px; padding: 24px 0; border-bottom: 1px solid var(--bm-border); }
@media (min-width: 800px) { .timeline li { grid-template-columns: 180px 1fr; padding: 28px 0; } }
.timeline .yr { font: 700 clamp(1.8rem, 3vw, 2.25rem)/1 var(--font-head); color: var(--bm-ink); }
.tl-body { display: grid; gap: 16px; align-items: start; }
@media (min-width: 800px) { .tl-body { grid-template-columns: minmax(0, 1fr) 280px; } }
.tl-body p { margin: 0; max-width: 56ch; font-size: 1.08rem; }
.tl-photo { margin: 0; border-radius: var(--radius-s); overflow: hidden; aspect-ratio: 3 / 2; background: #fff; }
.tl-photo img { width: 100%; height: 100%; object-fit: cover; }
.about-more { max-width: 72ch; }
@media (min-width: 1000px) { .about-more { max-width: none; columns: 2; column-gap: 64px; } .about-more p { break-inside: avoid; } }


.gallery { display: grid; gap: 10px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 900px) { .gallery { grid-template-columns: repeat(3, 1fr); grid-auto-rows: 260px; } }
.gallery figure { margin: 0; border-radius: var(--radius-s); overflow: hidden; }
.gallery img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; transition: transform 0.6s var(--ease); }
@media (min-width: 900px) { .gallery img { aspect-ratio: auto; } }
.gallery figure:hover img { transform: scale(1.03); }

/* Careers */
.perks-band { display: grid; gap: clamp(28px, 4vw, 64px); align-items: center; }
@media (min-width: 900px) { .perks-band { grid-template-columns: 5fr 7fr; } }
.perks-photo { margin: 0; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; }
.perks-photo img { width: 100%; height: 100%; object-fit: cover; }
.perks-text { font: 600 clamp(1.25rem, 2vw, 1.6rem)/1.4 var(--font-head); color: var(--bm-ink); max-width: 34ch; margin: 0; }
.jobs { display: grid; gap: 20px; }
.job { border: 1px solid var(--bm-border); border-radius: var(--radius); background: #fff; }
.job summary { list-style: none; cursor: pointer; padding: 26px 28px; display: flex; justify-content: space-between; gap: 20px; align-items: center; border-radius: var(--radius); }
.job summary::-webkit-details-marker { display: none; }
.job summary h3 { margin: 0 0 6px; font-size: 1.35rem; }
.job summary .meta { color: var(--bm-muted); font-size: 0.95rem; }
.job summary .plus { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--bm-border); display: grid; place-items: center; flex: none; transition: transform 0.3s var(--ease), background 0.2s; color: var(--bm-blue); }
.job summary .plus svg { width: 20px; height: 20px; }
.job[open] summary .plus { transform: rotate(45deg); background: var(--bm-blue-soft); }
.job .job-body { padding: 0 28px 28px; display: grid; gap: 8px; }
.job .job-body h4 { font-size: 1rem; margin: 12px 0 6px; color: var(--bm-blue); }
.job .job-body ul { padding-left: 1.2em; }
.job .job-body li { margin-bottom: 6px; }

/* Forms */
.form { display: grid; gap: 18px; }
.form .row { display: grid; gap: 18px; }
@media (min-width: 700px) { .form .row { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: 6px; align-content: start; min-width: 0; }
fieldset.field { border: 0; padding: 0; margin: 0; }
.field label, .field legend { font-weight: 600; font-size: 0.95rem; color: var(--bm-ink); }
.field legend { padding: 0; margin-bottom: 8px; }
.field .req { color: var(--bm-danger); }
.field .opt { font-weight: 400; color: var(--bm-muted); font-size: 0.88rem; }
.field input, .field select, .field textarea {
  font: inherit; font-size: 1rem; padding: 12px 14px; border: 1px solid var(--bm-border-strong); border-radius: var(--radius); background: #fff; color: var(--bm-ink); width: 100%; min-height: 48px;
}
.field textarea { min-height: 140px; resize: vertical; }
.field textarea[rows="3"], .field textarea[rows="4"] { min-height: 104px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--bm-blue); outline-offset: 1px; border-color: var(--bm-blue); }
.field input[type="file"] { padding: 10px; background: var(--bm-surface-soft); }
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: var(--bm-danger); }
.field .help { font-size: 0.88rem; color: var(--bm-muted); }
.field-error { font-size: 0.9rem; font-weight: 600; color: var(--bm-danger); }
.field-error:empty { display: none; }
.choice-row { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.choice-row label { display: inline-flex; gap: 8px; align-items: center; font-weight: 400; min-height: 32px; cursor: pointer; }
.form-note-top { margin-bottom: 4px; } /* v3 E fixes (#1) */
.form-note { font-size: 0.9rem; color: var(--bm-muted); padding: 12px 14px; border-left: 3px solid var(--bm-warning); background: var(--bm-surface-soft); border-radius: 0 var(--radius-s) var(--radius-s) 0; margin: 0; }
.form-hint { font-size: 0.92rem; color: var(--bm-muted); margin: 0; }
.form-status { display: none; padding: 14px 16px; border-radius: var(--radius); background: var(--bm-blue-soft); color: var(--bm-navy); line-height: 1.55; }
.form-status.is-shown { display: block; }
.form-status a { color: var(--bm-blue); font-weight: 600; }
/* Forms integration (2026-11-02): real answers from the forms Worker. NEW (v3). */
.form-status.is-error { border-left: 4px solid var(--bm-danger); border-radius: 0 var(--radius) var(--radius) 0; }
.form-status.is-success { border-left: 4px solid var(--bm-success); border-radius: 0 var(--radius) var(--radius) 0; }
.form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; } /* honeypot: off screen, not display:none */
/* Turnstile shows itself only when it needs the visitor; until then its empty box must not add a row gap. */
.form .cf-turnstile { margin-top: -18px; }
.sr-form .cf-turnstile { margin-top: -28px; }
.form .cf-turnstile:empty { display: none; }
.form-ref { font-size: 1.05rem; }
.text-btn { font: 600 0.95rem/1.2 var(--font-head); color: var(--bm-blue); background: none; border: 0; padding: 8px 0 0; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.btn:disabled { opacity: 0.6; cursor: progress; transform: none; }

.checks { display: flex; flex-wrap: wrap; gap: 8px; }
.checks label { display: inline-flex; gap: 8px; align-items: center; padding: 8px 12px; min-height: 40px; border: 1px solid var(--bm-border); border-radius: var(--radius); font-weight: 400; font-size: 0.95rem; cursor: pointer; background: #fff; }
.checks label:has(input:checked) { border-color: var(--bm-blue); background: var(--bm-blue-soft); }
.checks label:has(input:focus-visible) { outline: 2px solid var(--bm-blue); outline-offset: 2px; }
.checks input, .field input[type="radio"], .field input[type="checkbox"] { width: 18px; height: 18px; min-height: 0; margin: 0; accent-color: var(--bm-blue); }

dialog.apply { width: min(760px, calc(100vw - 24px)); max-height: calc(100svh - 24px); border: 0; border-radius: var(--radius); padding: clamp(20px, 4vw, 40px); box-shadow: 0 30px 80px -20px rgba(16, 35, 63, 0.6); }
dialog.apply::backdrop { background: rgba(16, 35, 63, 0.7); backdrop-filter: blur(3px); }
.dialog-head { display: flex; justify-content: space-between; gap: 16px; align-items: start; }
.dialog-head h2 { font-size: 1.5rem; margin: 0; }
.dialog-head .eyebrow { margin-bottom: 10px; }
.dialog-close { flex: none; width: 44px; height: 44px; display: grid; place-items: center; border-radius: var(--radius); border: 1px solid var(--bm-border); background: #fff; color: var(--bm-ink); cursor: pointer; }
.dialog-close:hover { background: var(--bm-surface-soft); }
.dialog-close svg { transform: rotate(45deg); width: 22px; height: 22px; }

/* Contact */
.contact-routes { display: grid; gap: 24px; align-items: stretch; }
@media (min-width: 900px) { .contact-routes { grid-template-columns: 1.2fr 1fr; gap: 32px; } }
.route-urgent { background: var(--bm-navy); color: var(--on-dark-muted); border-radius: var(--radius); padding: clamp(24px, 4vw, 40px); display: grid; gap: 14px; align-content: center; }
.route-urgent .eyebrow { color: var(--bm-blue-soft); margin-bottom: 0; }
.route-urgent p { margin: 0; max-width: 46ch; }
.route-urgent .btn-outline { color: #fff; border-color: var(--line-dark-strong); }
.route-urgent .btn-outline:hover { background: rgba(234, 241, 251, 0.08); border-color: #fff; }
.route-urgent a:not(.btn) { color: #fff; }
.big-tel { font: 700 clamp(1.8rem, 3.6vw, 2.6rem)/1.1 var(--font-head); text-decoration: none; color: inherit; letter-spacing: 0.01em; }
.route-urgent .big-tel { color: #fff; }
.desk-hours { margin: 0; font-size: 0.95rem; }
.desk-hours b { font-weight: 600; margin-right: 6px; }
.vcard-link { font-size: 0.92rem; }
.vcard-link svg { width: 16px; height: 16px; }
.contact-card { border: 1px solid var(--bm-border); border-top: 3px solid var(--bm-blue); border-radius: var(--radius); padding: 28px; display: grid; gap: 22px; background: #fff; margin: 0; align-content: start; }
.contact-card dt { font: 600 0.78rem/1 var(--font-body); letter-spacing: 0.14em; text-transform: uppercase; color: var(--bm-muted); margin-bottom: 6px; }
.contact-card dd { margin: 0; font-size: 1.05rem; color: var(--bm-ink); }
.contact-card dd a { font-weight: 600; }
.contact-card .text-link { margin-top: 10px; font-size: 0.92rem; }
.contact-grid { display: grid; gap: 48px; }
@media (min-width: 1000px) { .contact-grid { grid-template-columns: 1.3fr 1fr; gap: 64px; align-items: start; } .contact-aside { position: sticky; top: calc(var(--header-h) + 24px); } }
.contact-grid h2 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); }

/* Service request */
.sr-grid { display: grid; gap: 40px; }
@media (min-width: 1000px) {
  .sr-grid { grid-template-columns: minmax(0, 1.6fr) minmax(300px, 1fr); grid-template-rows: auto 1fr; gap: 24px 56px; align-items: start; }
  .sr-grid .sr-form { grid-column: 1; grid-row: 1 / span 2; }
  .sr-grid .desk-card { grid-column: 2; grid-row: 1; }
  .sr-grid .next-card { grid-column: 2; grid-row: 2; }
}
.sr-form { gap: 28px; }
.sr-part { border: 0; margin: 0; padding: 0 0 4px; border-top: 3px solid var(--bm-blue); display: grid; gap: 16px; min-width: 0; }
.sr-part + .sr-part { border-top: 1px solid var(--bm-border); }
.sr-part legend { float: left; width: 100%; padding: 18px 0 2px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; font: 700 1.2rem/1.2 var(--font-head); color: var(--bm-ink); }
.sr-part legend + * { clear: both; }
.sr-part .n { font-size: 0.9rem; color: var(--bm-blue); width: 28px; }
.sr-part .hint { flex-basis: 100%; padding-left: 40px; font: 400 0.95rem/1.4 var(--font-body); color: var(--bm-muted); }
.desk-card { background: var(--bm-navy); color: var(--on-dark-muted); border-radius: var(--radius); padding: 28px; display: grid; gap: 12px; }
.desk-card .eyebrow { color: var(--bm-blue-soft); margin-bottom: 0; }
.desk-card .big-tel { color: #fff; }
.desk-card p { margin: 0; }
.desk-card a:not(.big-tel) { color: #fff; font-weight: 600; }
.next-card { border: 1px solid var(--bm-border); border-radius: var(--radius); padding: 24px 28px; background: #fff; }
.next-card h2 { font-size: 1.15rem; margin: 0 0 12px; }
.next-card ol { margin: 0; padding-left: 1.2em; display: grid; gap: 8px; }
.next-card li::marker { color: var(--bm-blue); font-weight: 700; }

/* Partners */
.gets { list-style: none; margin: 0; padding: 0; display: grid; gap: 1px; background: var(--bm-border); border: 1px solid var(--bm-border); border-radius: var(--radius); overflow: hidden; }
@media (min-width: 800px) { .gets { grid-template-columns: repeat(2, 1fr); } }
.gets li { background: #fff; padding: 26px 28px; display: grid; gap: 6px; }
.gets b { font: 700 1.15rem/1.3 var(--font-head); color: var(--bm-ink); }
.gets span { color: var(--bm-muted); }
.partners-pdf { margin: 24px 0 0; }
.partner-contact { display: grid; gap: 28px; border-top: 3px solid var(--bm-blue); padding-top: 36px; }
@media (min-width: 900px) { .partner-contact { grid-template-columns: 1.2fr 1fr; align-items: start; } }
.partner-contact h2 { margin-bottom: 12px; }
.partner-person { display: grid; gap: 4px; padding: 24px 28px; border: 1px solid var(--bm-border); border-radius: var(--radius); }
.partner-person b { font: 700 1.3rem/1.2 var(--font-head); color: var(--bm-ink); }
.partner-person > span { color: var(--bm-muted); }
.partner-person > a { font-weight: 600; font-size: 1.1rem; margin-top: 6px; }
.partner-person .or { font-size: 0.95rem; margin-top: 8px; }

/* reveal.css: scroll-reveal states and the reduced-motion overrides. Joined LAST on purpose: these rules tie on specificity with hover rules
   (.news-card:hover, .product-card:hover) and must keep winning over them, as they did when this was one file. Owner: P1.
   v3 (review B §11, consolidated #7): motion is quiet. Put .reveal on section heads only: a 12 px rise over 600 ms.
   .reveal-stagger is kept for old markup but its children only fade, with a short stagger and no movement. */

.js .reveal { opacity: 0; transform: translateY(12px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .reveal-stagger > * { opacity: 0; transition: opacity 0.6s var(--ease); }
.js .reveal-stagger.is-in > * { opacity: 1; }
.js .reveal-stagger.is-in > *:nth-child(2) { transition-delay: 0.05s; }
.js .reveal-stagger.is-in > *:nth-child(3) { transition-delay: 0.1s; }
.js .reveal-stagger.is-in > *:nth-child(4) { transition-delay: 0.15s; }
.js .reveal-stagger.is-in > *:nth-child(n+5) { transition-delay: 0.2s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001s !important; animation-iteration-count: 1 !important; transition-duration: 0.001s !important; scroll-behavior: auto !important; }
  .js .reveal, .js .reveal-stagger > * { opacity: 1; transform: none; }
  .marquee-track { animation: none; }
  .site-header.is-hidden { transform: none; }
}
