/*
 * Built-up steel member pages (BuiltUpMembers module). Loaded after ms.css and
 * lw.css, whose heading, card, note and table styles the reused blocks keep.
 * Logical properties only (RTL for ar and he). Button labels never wrap.
 * Motion runs only under .bm-motion (set by bm.js when the visitor has not
 * asked for reduced motion); without it every element is in its final state.
 * Section headings follow the site token --fs-h2 (Admin → Appearance →
 * Typography); nothing here sets their size.
 */

.lp-sec.bm-sec .ctas .btn { white-space: nowrap; }
.lp-sec.bm-sec :where(.ms-note, .lw-note) + .ctas { margin-block-start: var(--flow-gap); }

/* ------------------------------------------------------------------ */
/* Ecosystem: shared node                                               */
/* ------------------------------------------------------------------ */
.bm-eco { position: relative; overflow: hidden; }
.bm-eco::before { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at 85% 0%, rgba(165, 0, 0, .22), transparent 55%), radial-gradient(ellipse at 0% 100%, rgba(212, 161, 46, .08), transparent 50%); pointer-events: none; }
.bm-eco > .wrap { position: relative; }
.bm-eco .lp-lede { color: var(--mist); }
.bm-eco-stage { margin-block-start: var(--space-6, 40px); }

.bm-node { position: relative; display: flex; align-items: flex-start; gap: var(--space-2, 12px); color: var(--white); text-decoration: none; }
a.bm-node:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.bm-node-no { flex: none; font-size: 12px; font-weight: 600; letter-spacing: .5px; color: var(--gold); }
.bm-node-ico { display: inline-grid; place-items: center; flex: none; inline-size: 40px; block-size: 40px; background: var(--navy-700); color: #FF8A8A; transition: background .25s ease, color .25s ease; }
.bm-node-ico .ico { inline-size: 22px; block-size: 22px; }
.bm-node-body { display: flex; flex-direction: column; gap: 6px; min-inline-size: 0; }
.bm-node-title { font-family: var(--f-card-title); font-size: var(--fs-card-title-sm, 17px); font-weight: var(--fw-card-title); letter-spacing: var(--tracking-card-title); line-height: 1.15; text-transform: uppercase; color: var(--white); }
.bm-node-text { font-size: 14px; line-height: 1.5; color: var(--mist); }
.bm-node-go { margin-inline-start: auto; flex: none; color: #FF8A8A; transition: transform .2s ease; }
[dir="rtl"] .bm-node-go { transform: scaleX(-1); }
a.bm-node:is(:hover, :focus-visible) .bm-node-ico, .bm-node.is-hot .bm-node-ico { background: var(--red); color: var(--white); }
a.bm-node:is(:hover, :focus-visible) .bm-node-go { transform: translateX(4px); }
[dir="rtl"] a.bm-node:is(:hover, :focus-visible) .bm-node-go { transform: scaleX(-1) translateX(4px); }

/* Numbered list beside a drawing */
.bm-list { display: grid; grid-template-columns: minmax(0, 1fr); margin: 0; padding: 0; list-style: none; border-block-start: 1px solid var(--navy-700); }
.bm-list.is-2col { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--space-4, 24px); }
.bm-list > li { border-block-end: 1px solid var(--navy-700); }
.bm-node.is-row { align-items: center; padding: 14px 10px; transition: background .25s ease; }
.bm-node.is-row .bm-node-ico { inline-size: 36px; block-size: 36px; }
.bm-node.is-row .bm-node-ico .ico { inline-size: 20px; block-size: 20px; }
.bm-node.is-row .bm-node-title { font-size: 15px; }
.bm-node.is-row .bm-node-text { font-size: 13.5px; line-height: 1.45; }
a.bm-node.is-row:is(:hover, :focus-visible), .bm-node.is-row.is-hot { background: var(--navy-800); }
.bm-node.is-row.is-hot .bm-node-no { color: var(--white); }
.bm-motion .bm-list > li { opacity: 0; transform: translateY(10px); transition: opacity .45s ease calc(500ms + var(--i) * 70ms), transform .45s ease calc(500ms + var(--i) * 70ms); }
.bm-motion .is-in .bm-list > li { opacity: 1; transform: none; }


.bm-list.is-4col { grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: var(--space-3, 16px); }
.bm-list.is-4col .bm-node.is-row { flex-wrap: wrap; align-items: flex-start; }
.bm-list.is-4col .bm-node.is-row .bm-node-body { flex: 1 1 120px; }
.bm-caption { margin-block: var(--space-4, 24px) 0 !important; max-inline-size: 72ch; color: var(--mist); font-size: 15px; line-height: 1.6; }

/* Shared drawing panel and numbered marks */
.bm-vis { margin: 0; padding: 16px; background: linear-gradient(rgba(143, 179, 224, .05) 1px, transparent 1px) 0 0 / 40px 40px, linear-gradient(90deg, rgba(143, 179, 224, .05) 1px, transparent 1px) 0 0 / 40px 40px, rgba(6, 17, 31, .8); border: 1px solid #2B4A73; }
.bm-vis svg { display: block; inline-size: 100%; block-size: auto; overflow: visible; direction: ltr; }
.bm-vis-head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 18px; margin-block-end: 8px; font-size: 11px; letter-spacing: 2px; text-transform: uppercase; color: #8FB3E0; direction: ltr; }
.bm-vis-head strong { color: var(--white); letter-spacing: 1px; }
.bm-vis :where(rect, path) { vector-effect: non-scaling-stroke; }
:where(.bm-mk, .bm-dp-d, .bm-ml-st, .bm-or-o, .bm-bn-br) circle { fill: #0B0B0B; stroke: var(--gold); stroke-width: 2; transition: fill .25s ease, stroke .25s ease; }
:where(.bm-mk, .bm-dp-d, .bm-ml-st, .bm-or-o, .bm-bn-br) text { fill: var(--gold); font-family: var(--f-mono, ui-monospace, monospace); font-size: 12px; font-weight: 700; }
:where(.bm-mk, .bm-dp-d, .bm-ml-st, .bm-or-o, .bm-bn-br).is-hot circle { fill: var(--red); stroke: var(--white); }
:where(.bm-mk, .bm-dp-d, .bm-ml-st, .bm-or-o, .bm-bn-br).is-hot text { fill: var(--white); }
.bm-motion .bm-mk { opacity: 0; transition: opacity .35s ease calc(1500ms + var(--i) * 90ms); }
.bm-motion .is-in .bm-mk { opacity: 1; }

/* ------------------------------------------------------------------ */
/* Style 1 · sectionatlas (built-up steel members hub)                  */
/* ------------------------------------------------------------------ */
.bm-at-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 18px; margin-block-end: 12px; padding-block-end: 10px; border-block-end: 2px solid var(--gold); font-size: 12px; letter-spacing: 2px; text-transform: uppercase; color: var(--gold); }
.bm-at-head strong { font-family: var(--f-display); font-size: clamp(20px, 2.2vw, 28px); font-weight: 600; letter-spacing: .5px; color: var(--white); }
.bm-at-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; margin: 0; padding: 0; list-style: none; background: #2B4A73; border: 1px solid #2B4A73; }
.bm-at-grid > li { display: flex; }
.bm-at-plate { position: relative; display: flex; flex-direction: column; gap: 8px; inline-size: 100%; padding: 16px 16px 18px; color: var(--white); text-decoration: none; background: linear-gradient(rgba(143, 179, 224, .05) 1px, transparent 1px) 0 0 / 20px 20px, linear-gradient(90deg, rgba(143, 179, 224, .05) 1px, transparent 1px) 0 0 / 20px 20px, var(--navy-900, #0A1A30); transition: background-color .25s ease; }
.bm-at-plate.is-family { background-color: #0E2440; }
a.bm-at-plate:focus-visible { outline: 2px solid var(--gold); outline-offset: -2px; }
.bm-at-top { display: flex; align-items: center; gap: 8px; font-size: 11px; letter-spacing: 1px; text-transform: uppercase; color: #8FB3E0; }
.bm-at-top > span:first-child { color: var(--gold); font-weight: 700; }
.bm-at-top b { margin-inline-start: auto; padding: 2px 6px; font-weight: 700; color: var(--white); background: var(--navy-700); }
.bm-at-plate.is-family .bm-at-top b { background: var(--red); }
.bm-at-svg { display: block; inline-size: 100%; max-inline-size: 180px; block-size: auto; margin: 4px auto; direction: ltr; }
.bm-at-svg :where(path, circle) { fill: rgba(201, 214, 230, .16); stroke: #C9D6E6; stroke-width: 2; stroke-linejoin: round; transition: fill .25s ease, stroke .25s ease; }
.bm-at-svg .bm-at-open { fill: rgba(201, 214, 230, .06); }
.bm-at-svg :where(.bm-at-thin, .bm-at-arc, .bm-at-arm) { fill: none; }
.bm-at-svg .bm-at-thin { stroke: #8FB3E0; stroke-width: 1.2; stroke-dasharray: 4 4; }
.bm-at-svg .bm-at-arc { stroke-width: 9; stroke-linecap: round; stroke: #C9D6E6; }
.bm-at-svg .bm-at-arm { stroke-width: 5; stroke-linecap: round; }
.bm-at-svg :where(.bm-at-hole, .bm-at-ring) { fill: #0B0B0B; }
.bm-at-svg .bm-at-dot { fill: var(--gold); stroke: none; }
.bm-at-plate.is-family .bm-at-svg :where(path, circle):not(.bm-at-thin, .bm-at-hole, .bm-at-dot) { stroke: var(--gold); }
.bm-at-title { font-family: var(--f-card-title); font-size: var(--fs-card-title-sm, 17px); font-weight: var(--fw-card-title); letter-spacing: var(--tracking-card-title); line-height: 1.15; text-transform: uppercase; }
.bm-at-text { font-size: 13.5px; line-height: 1.45; color: var(--mist); }
.bm-at-go { margin-block-start: auto; color: #FF8A8A; transition: transform .2s ease; }
[dir="rtl"] .bm-at-go { transform: scaleX(-1); }
a.bm-at-plate:is(:hover, :focus-visible), .bm-at-plate.is-hot { background-color: #142F52; }
a.bm-at-plate:is(:hover, :focus-visible) .bm-at-svg :where(path, circle):not(.bm-at-thin, .bm-at-hole, .bm-at-dot) { fill: rgba(165, 0, 0, .45); stroke: #FF8A8A; }
a.bm-at-plate:is(:hover, :focus-visible) .bm-at-go { transform: translateX(4px); }
.bm-motion .bm-at-grid > li { opacity: 0; transform: translateY(12px); transition: opacity .45s ease calc(var(--i) * 70ms), transform .45s ease calc(var(--i) * 70ms); }
.bm-motion .is-in .bm-at-grid > li { opacity: 1; transform: none; }

/* ------------------------------------------------------------------ */
/* Style 2 · diaphragm (box sections)                                   */
/* ------------------------------------------------------------------ */
.bm-dp-vis { margin-block-end: var(--space-5, 32px); }
.bm-dp-skin rect { fill: rgba(201, 214, 230, .14); stroke: #C9D6E6; stroke-width: 2; }
.bm-dp-web { fill: rgba(201, 214, 230, .1); stroke: #C9D6E6; stroke-width: 2; }
.bm-dp-cut { fill: none; stroke: #FF8A8A; stroke-width: 1.5; stroke-dasharray: 5 4; }
.bm-dp-d rect { fill: rgba(212, 161, 46, .22); stroke: var(--gold); stroke-width: 2; transition: fill .25s ease; }
.bm-dp-d.is-hot rect { fill: rgba(165, 0, 0, .7); stroke: #FF8A8A; }
.bm-dp-sec rect { fill: rgba(201, 214, 230, .14); stroke: #C9D6E6; stroke-width: 2; }
.bm-dp-sec .bm-dp-dsec { fill: rgba(212, 161, 46, .14); stroke: var(--gold); stroke-dasharray: 4 4; }
.bm-dp-weld { fill: #FF8A8A; }
.bm-dp-axis { stroke: #8FB3E0; stroke-width: 1.5; stroke-dasharray: 10 4 2 4; }
.bm-motion .bm-dp-skin rect { stroke-dasharray: 100; stroke-dashoffset: 100; transition: stroke-dashoffset 1s ease .2s; }
.bm-motion .bm-dp-web, .bm-motion .bm-dp-cut, .bm-motion .bm-dp-sec { opacity: 0; transition: opacity .5s ease 2.1s; }
.bm-motion .bm-dp-d { opacity: 0; transform: translateY(-40px); transition: opacity .35s ease calc(900ms + var(--i) * 120ms), transform .5s cubic-bezier(.3, 1.4, .5, 1) calc(900ms + var(--i) * 120ms); }
.bm-motion .is-in .bm-dp-skin rect { stroke-dashoffset: 0; }
.bm-motion .is-in :where(.bm-dp-web, .bm-dp-cut, .bm-dp-sec, .bm-dp-d) { opacity: 1; transform: none; }

/* ------------------------------------------------------------------ */
/* Style 3 · flangeweld (heavy I & H sections)                          */
/* ------------------------------------------------------------------ */
.bm-fw { display: grid; grid-template-columns: minmax(280px, 5fr) minmax(0, 7fr); align-items: start; gap: var(--space-5, 32px); }
.bm-fw-axis { stroke: #8FB3E0; stroke-width: 1.2; stroke-dasharray: 10 4 2 4; fill: none; }
:where(.bm-fw-tf, .bm-fw-bf, .bm-fw-web) rect { fill: rgba(201, 214, 230, .16); stroke: #C9D6E6; stroke-width: 2; }
.bm-fw-welds path { fill: var(--gold); }
.bm-fw-stiff { fill: rgba(212, 161, 46, .08); stroke: var(--gold); stroke-width: 1.5; stroke-dasharray: 6 5; }
.bm-fw-before { opacity: .5; text-decoration: line-through; }
.bm-motion :where(.bm-fw-tf, .bm-fw-bf, .bm-fw-web) { transition: transform 1s cubic-bezier(.3, .8, .2, 1) .4s; }
.bm-motion .bm-fw-tf { transform: translateY(-34px); }
.bm-motion .bm-fw-bf { transform: translateY(34px); }
.bm-motion .bm-fw-web { transform: scaleY(.9); transform-origin: 200px 220px; }
.bm-motion :where(.bm-fw-welds, .bm-fw-stiff) { opacity: 0; transition: opacity .45s ease 1.3s; }
.bm-motion .bm-fw-before { opacity: 1; text-decoration: none; transition: opacity .3s ease 1.2s; }
.bm-motion .is-in :where(.bm-fw-tf, .bm-fw-bf, .bm-fw-web) { transform: none; }
.bm-motion .is-in :where(.bm-fw-welds, .bm-fw-stiff) { opacity: 1; }
.bm-motion .is-in .bm-fw-before { opacity: .5; text-decoration: line-through; }

/* ------------------------------------------------------------------ */
/* Style 4 · quadrant (cruciform & compound sections)                   */
/* ------------------------------------------------------------------ */
.bm-qd { display: grid; grid-template-columns: minmax(0, 1fr) minmax(260px, 380px) minmax(0, 1fr); align-items: center; gap: var(--space-5, 32px); }
.bm-qd-caption { grid-column: 1 / -1; }
.bm-qd-grid { stroke: #2B4A73; stroke-width: 1; stroke-dasharray: 6 6; fill: none; }
:where(.bm-qd-i, .bm-qd-t1, .bm-qd-t2) rect { fill: rgba(201, 214, 230, .16); stroke: #C9D6E6; stroke-width: 2; }
:where(.bm-qd-t1, .bm-qd-t2) rect { fill: rgba(212, 161, 46, .16); stroke: var(--gold); }
.bm-motion :where(.bm-qd-t1, .bm-qd-t2) { opacity: 0; transition: opacity .4s ease .9s, transform .8s cubic-bezier(.3, .8, .2, 1) .9s; }
.bm-motion .bm-qd-t1 { transform: translateY(-50px); }
.bm-motion .bm-qd-t2 { transform: translateY(50px); }
.bm-motion .bm-qd-i { opacity: 0; transition: opacity .5s ease .3s; }
.bm-motion .is-in :where(.bm-qd-i, .bm-qd-t1, .bm-qd-t2) { opacity: 1; transform: none; }

/* ------------------------------------------------------------------ */
/* Style 5 · momentline (tapered & variable-depth members)              */
/* ------------------------------------------------------------------ */
.bm-ml-vis { margin-block-end: var(--space-5, 32px); }
.bm-ml-base { stroke: #8FB3E0; stroke-width: 1.2; }
.bm-ml-curve { fill: rgba(165, 0, 0, .18); stroke: #FF8A8A; stroke-width: 2.5; stroke-linejoin: round; }
.bm-ml-member { fill: rgba(201, 214, 230, .16); stroke: #C9D6E6; stroke-width: 2.5; stroke-linejoin: round; }
.bm-ml-st path { stroke: var(--gold); stroke-width: 1.5; stroke-dasharray: 4 4; fill: none; }
.bm-ml-st.is-hot path { stroke: #FF8A8A; stroke-dasharray: none; stroke-width: 2.5; }
.bm-motion :where(.bm-ml-curve, .bm-ml-member) { stroke-dasharray: 100; stroke-dashoffset: 100; fill-opacity: 0; transition: stroke-dashoffset 1.1s ease, fill-opacity .5s ease; }
.bm-motion .bm-ml-curve { transition-delay: .2s, 1.1s; }
.bm-motion .bm-ml-member { transition-delay: 1s, 1.9s; }
.bm-motion .bm-ml-st { opacity: 0; transition: opacity .35s ease calc(2000ms + var(--i) * 100ms); }
.bm-motion .is-in :where(.bm-ml-curve, .bm-ml-member) { stroke-dashoffset: 0; fill-opacity: 1; }
.bm-motion .is-in .bm-ml-st { opacity: 1; }

/* ------------------------------------------------------------------ */
/* Style 6 · ordinate (curved & cambered members)                       */
/* ------------------------------------------------------------------ */
.bm-or-vis { margin-block-end: var(--space-5, 32px); }
.bm-or-chord { stroke: #8FB3E0; stroke-width: 1.5; stroke-dasharray: 12 5; fill: none; }
.bm-or-member { fill: none; stroke: #C9D6E6; stroke-width: 14; stroke-linecap: round; opacity: .9; }
.bm-or-o path { stroke: var(--gold); stroke-width: 1.5; fill: none; }
.bm-or-o .bm-or-y { fill: #8FB3E0; font-size: 12px; font-weight: 600; }
.bm-or-o.is-hot path { stroke: #FF8A8A; stroke-width: 3; }
.bm-or-table { inline-size: 100%; margin-block-start: 12px; border-collapse: collapse; font-size: 12px; color: #8FB3E0; direction: ltr; }
.bm-or-table :where(th, td) { padding: 6px 4px; text-align: center; border: 1px solid #2B4A73; }
.bm-or-table th { inline-size: 40px; color: var(--gold); }
.bm-or-table td.is-hot { background: var(--red); color: var(--white); }
.bm-motion .bm-or-member { stroke-dasharray: 100; stroke-dashoffset: 100; transition: stroke-dashoffset 1.4s cubic-bezier(.3, .6, .2, 1) .3s; }
.bm-motion .bm-or-o { opacity: 0; transition: opacity .35s ease calc(1600ms + var(--i) * 100ms); }
.bm-motion .is-in .bm-or-member { stroke-dashoffset: 0; }
.bm-motion .is-in .bm-or-o { opacity: 1; }

/* ------------------------------------------------------------------ */
/* Style 7 · branchnode (heavy nodes & transfer members)                */
/* ------------------------------------------------------------------ */
.bm-bn { display: grid; grid-template-columns: minmax(280px, 5fr) minmax(0, 7fr); align-items: start; gap: var(--space-5, 32px); }
.bm-bn-node { fill: rgba(212, 161, 46, .22); stroke: var(--gold); stroke-width: 2.5; stroke-linejoin: round; }
.bm-bn-wp { fill: var(--red); }
.bm-bn-br path { stroke: #C9D6E6; stroke-width: 16; stroke-linecap: butt; fill: none; opacity: .75; transition: stroke .25s ease; }
.bm-bn-br.is-hot path { stroke: #FF8A8A; opacity: 1; }
.bm-motion .bm-bn-node { opacity: 0; transform: scale(.6); transform-origin: 220px 220px; transition: opacity .4s ease .2s, transform .6s cubic-bezier(.3, 1.4, .5, 1) .2s; }
.bm-motion .bm-bn-br path { stroke-dasharray: 100; stroke-dashoffset: 100; transition: stroke-dashoffset .6s ease calc(700ms + var(--i) * 110ms); }
.bm-motion .bm-bn-br :where(circle, text) { opacity: 0; transition: opacity .3s ease calc(1100ms + var(--i) * 110ms); }
.bm-motion .is-in .bm-bn-node { opacity: 1; transform: none; }
.bm-motion .is-in .bm-bn-br path { stroke-dashoffset: 0; }
.bm-motion .is-in .bm-bn-br :where(circle, text) { opacity: 1; }

/* ------------------------------------------------------------------ */
/* Style 8 · centroid (asymmetric & special sections)                   */
/* ------------------------------------------------------------------ */
.bm-ct { display: grid; grid-template-columns: minmax(0, 7fr) minmax(280px, 5fr); align-items: start; gap: var(--space-5, 32px); }
.bm-ct-mid { stroke: #2B4A73; stroke-width: 1.5; stroke-dasharray: 6 6; fill: none; }
.bm-ct-sec rect { fill: rgba(201, 214, 230, .16); stroke: #C9D6E6; stroke-width: 2; }
.bm-ct-axes path { stroke: var(--gold); stroke-width: 1.5; stroke-dasharray: 10 4 2 4; fill: none; }
.bm-ct-axes text { fill: var(--gold); font-family: var(--f-mono, ui-monospace, monospace); font-size: 14px; font-weight: 700; }
.bm-ct-g { fill: var(--gold); }
.bm-ct-s { fill: #0B0B0B; stroke: #FF8A8A; stroke-width: 2.5; }
.bm-motion .bm-ct-sec rect { stroke-dasharray: 100; stroke-dashoffset: 100; fill-opacity: 0; transition: stroke-dashoffset .9s ease .2s, fill-opacity .5s ease .9s; }
.bm-motion .bm-ct-axes { opacity: 0; transform: translateY(-58px); transition: opacity .4s ease 1.1s, transform .8s cubic-bezier(.3, .8, .2, 1) 1.1s; }
.bm-motion .is-in .bm-ct-sec rect { stroke-dashoffset: 0; fill-opacity: 1; }
.bm-motion .is-in .bm-ct-axes { opacity: 1; transform: none; }


/* ------------------------------------------------------------------ */
/* Photo record                                                         */
/* ------------------------------------------------------------------ */
.bm-ph-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--space-3, 16px); }
.bm-ph-lead, .bm-ph-strip figure { position: relative; margin: 0; overflow: hidden; background: var(--navy-900); }
.bm-ph-lead img { display: block; inline-size: 100%; block-size: 100%; max-block-size: 640px; object-fit: cover; }
.bm-ph-strip { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-3, 16px); margin: 0; padding: 0; list-style: none; align-content: start; }
.bm-ph-strip img { display: block; inline-size: 100%; aspect-ratio: 3 / 4; object-fit: cover; transition: transform .8s cubic-bezier(.2, .7, .2, 1); }
.bm-ph-strip figure:hover img { transform: scale(1.04); }
.bm-ph-lead figcaption, .bm-ph-strip figcaption { position: absolute; inset-inline: 0; inset-block-end: 0; padding: 26px 12px 10px; font-size: 13px; line-height: 1.35; color: var(--white); background: linear-gradient(180deg, transparent, rgba(6, 17, 31, .9)); }
.bm-ph-source { display: flex; align-items: center; gap: 8px; margin-block-start: var(--space-3, 16px) !important; font-size: 12.5px; letter-spacing: .5px; color: var(--slate, #5A6B80); }
.bm-ph-source .ico { inline-size: 16px; block-size: 16px; flex: none; color: var(--red); }
.bm-motion .bm-ph-lead, .bm-motion .bm-ph-strip > li { opacity: 0; transform: translateY(14px); transition: opacity .5s ease calc(var(--i, 0) * 70ms + 100ms), transform .5s ease calc(var(--i, 0) * 70ms + 100ms); }
.bm-motion .is-in .bm-ph-lead, .bm-motion .is-in .bm-ph-strip > li { opacity: 1; transform: none; }

/* ------------------------------------------------------------------ */
/* Related pages                                                        */
/* ------------------------------------------------------------------ */
.bm-rel-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: var(--space-3, 16px); margin: 0; padding: 0; list-style: none; }
.bm-rel-card { position: relative; display: flex; flex-direction: column; block-size: 100%; min-block-size: 210px; overflow: hidden; background: var(--navy-900); color: var(--white); text-decoration: none; isolation: isolate; }
.bm-rel-img { position: absolute; inset: 0; z-index: -2; }
.bm-rel-img img { inline-size: 100%; block-size: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2, .7, .2, 1); }
.bm-rel-card::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(6, 17, 31, .15) 0%, rgba(6, 17, 31, .92) 75%); transition: background .3s ease; }
.bm-rel-card.no-img { background: repeating-linear-gradient(135deg, rgba(255, 255, 255, .04) 0 2px, transparent 2px 14px), var(--navy-900); }
.bm-rel-card:is(:hover, :focus-visible)::after { background: linear-gradient(180deg, rgba(165, 0, 0, .2) 0%, rgba(6, 17, 31, .95) 70%); }
.bm-rel-card:is(:hover, :focus-visible) .bm-rel-img img { transform: scale(1.06); }
.bm-rel-card:focus-visible { outline: 2px solid var(--red); outline-offset: 2px; }
.bm-rel-body { display: flex; flex-direction: column; gap: 8px; margin-block-start: auto; padding: 18px; }
.bm-rel-ico { display: inline-grid; place-items: center; inline-size: 36px; block-size: 36px; background: var(--red); color: var(--white); }
.bm-rel-ico .ico { inline-size: 20px; block-size: 20px; }
.lp .lp-sec .bm-rel-body h3 { margin: 0; font-family: var(--f-card-title); font-size: var(--fs-card-title-sm, 17px); font-weight: var(--fw-card-title); letter-spacing: var(--tracking-card-title); line-height: 1.15; text-transform: uppercase; color: var(--white); }
.bm-rel-text { font-size: 13.5px; line-height: 1.45; color: var(--mist); }
.bm-rel-go { color: #FF8A8A; }
[dir="rtl"] .bm-rel-go { transform: scaleX(-1); }
.bm-motion .bm-rel-grid > li { opacity: 0; transform: translateY(16px); transition: opacity .5s ease calc(var(--i) * 60ms), transform .5s ease calc(var(--i) * 60ms); }
.bm-motion .is-in.bm-rel-grid > li { opacity: 1; transform: none; }


/* ------------------------------------------------------------------ */
/* Tablets and phones                                                   */
/* ------------------------------------------------------------------ */
@media (max-width: 1099px) {
  .bm-list.is-2col { grid-template-columns: minmax(0, 1fr); }
  .bm-list.is-4col { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bm-at-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .bm-ph-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  /* Quadrant: drawing above both lists */
  .bm-qd { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; }
  .bm-qd-vis { grid-column: 1 / -1; grid-row: 1; max-inline-size: 420px; inline-size: 100%; justify-self: center; }
}
@media (max-width: 899px) {
  /* Flangeweld, branchnode, centroid: drawing above the list */
  .bm-fw, .bm-bn, .bm-ct { grid-template-columns: minmax(0, 1fr); }
  .bm-fw-vis, .bm-bn-vis, .bm-ct-vis { max-inline-size: 440px; inline-size: 100%; justify-self: center; }
  .bm-ct-vis { grid-row: 1; }
  .bm-ph-grid { grid-template-columns: minmax(0, 1fr); }
  .bm-ph-lead img { max-block-size: 460px; }
}
@media (max-width: 719px) {
  .bm-eco-stage { margin-block-start: var(--space-5, 32px); }
  .bm-list.is-4col { grid-template-columns: minmax(0, 1fr); }
  .bm-at-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bm-at-plate { padding: 12px 10px 14px; }
  .bm-at-text { display: none; }
  .bm-at-top > span:nth-child(2) { display: none; }
  .bm-qd { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .bm-qd-vis { margin-block-end: var(--space-4, 24px); }
  .bm-qd-b { border-block-start: 0; }
  /* Diaphragm: elevation only */
  .bm-dp-vis { overflow: hidden; }
  .bm-dp-vis svg { inline-size: 125%; max-inline-size: none; }
  .bm-dp-aa { display: none; }
  .bm-or-table { font-size: 10px; }
  .bm-or-table :where(th, td) { padding: 4px 2px; }
  /* Photo strip: one row that swipes sideways */
  .bm-ph-strip { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding-block-end: 8px; margin-inline: calc(-1 * var(--gutter, 16px)); padding-inline: var(--gutter, 16px); scrollbar-width: thin; }
  .bm-ph-strip > li { flex: 0 0 62%; scroll-snap-align: start; }
  /* Related pages: one row that swipes sideways */
  .bm-rel-grid { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding-block-end: 8px; margin-inline: calc(-1 * var(--gutter, 16px)); padding-inline: var(--gutter, 16px); scrollbar-width: thin; }
  .bm-rel-grid > li { flex: 0 0 72%; scroll-snap-align: start; }
}
@media (prefers-reduced-motion: reduce) {
  .bm-node.is-row, .bm-node-ico, .bm-node-go, .bm-rel-img img, .bm-rel-card::after, .bm-ph-strip img,
  .bm-at-plate, .bm-at-svg :where(path, circle), .bm-at-go, .bm-dp-d rect, .bm-bn-br path,
  :where(.bm-mk, .bm-dp-d, .bm-ml-st, .bm-or-o, .bm-bn-br) circle { transition: none; }
}
