/* ══════════════════════════════════════════════════════════════════════════
   dz-viz.css — shared native infographic/interaction kit + /bim/ pillar styles.
   Brand: Navy/Aqua, existing type system. Technical linework, monospace numerics.
   Every animated block: resting state = final (SSR-safe); motion gated behind
   prefers-reduced-motion: no-preference. Min label size 12px.
   ══════════════════════════════════════════════════════════════════════════ */

.dz-bim {
  --bim-aqua: var(--dz-aqua, #4FC8F4);
  --bim-aqua-soft: rgba(79, 200, 244, 0.14);
  --bim-navy: var(--dz-navy-deep, #0E2030);
  --bim-panel: #12222f;
  --bim-panel-2: #16293a;
  --bim-line: rgba(79, 200, 244, 0.30);
  --bim-hair: rgba(255, 255, 255, 0.10);
  --bim-ink: var(--dz-white, #eaf6ff);
  --bim-muted: rgba(229, 246, 255, 0.74);
  --bim-mono: ui-monospace, "SF Mono", "Roboto Mono", Menlo, Consolas, monospace;
  --bim-ease: cubic-bezier(0.22, 1, 0.36, 1);
  display: block;
  background: var(--bim-navy);
  color: var(--bim-ink);
  font-family: var(--dz-font, "Outfit", system-ui, sans-serif);
  overflow-x: clip;
}

/* ── shared type ───────────────────────────────────────────────────────── */
.dz-bim-eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: var(--dz-tracking-eyebrow, 0.18em);
  text-transform: uppercase;
  color: var(--sec-eyebrow, var(--bim-aqua));
}
.dz-bim-h2 {
  font-size: clamp(28px, 4vw, 46px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 16px 0 0;
  color: var(--sec-ink, var(--bim-ink));
  text-wrap: balance;
}
.dz-bim-h2 em { color: var(--sec-accent, var(--bim-aqua)); font-style: normal; }
.dz-bim-h3 {
  font-size: clamp(17px, 1.6vw, 20px);
  font-weight: 600;
  letter-spacing: -0.01em;
  margin: 0 0 10px;
  color: var(--sec-ink, var(--bim-ink));
}
.dz-bim-lead {
  font-size: clamp(15px, 1.15vw, 18px);
  line-height: 1.62;
  color: var(--sec-muted, var(--bim-muted));
  max-width: 62ch;
  margin: 16px 0 0;
}

/* ═══════════ R1 — ALTERNATING LIGHT/DARK BANDS (reuse /ai/ tokens) ═══════════ */
/* NAVY bands: white ink + aqua accents */
.dz-bim-what, .dz-bim-dims, .dz-bim-lod {
  --sec-ink: var(--dz-white, #FFFFFF);
  --sec-muted: rgba(229, 246, 255, 0.82);
  --sec-eyebrow: var(--dz-aqua, #4FC8F4);
  --sec-accent: var(--dz-aqua, #4FC8F4);
  background:
    radial-gradient(900px 600px at 80% 12%, rgba(79, 200, 244, 0.08), transparent 62%),
    linear-gradient(180deg, var(--dz-navy, #2B3D4F) 0%, var(--dz-navy-deep, #1A2D3E) 100%);
  color: var(--dz-white, #FFFFFF);
}
/* WHITE bands: dark navy ink (>=4.5:1), aqua accent, navy eyebrow */
.dz-bim-hero, .dz-bim-vocab, .dz-bim-feat, .dz-bim-hub {
  --sec-ink: var(--dz-text, #2B3D4F);
  --sec-muted: var(--dz-text-muted, #5A6E81);
  --sec-eyebrow: var(--dz-navy, #2B3D4F);
  --sec-accent: var(--dz-aqua, #4FC8F4);
  background:
    radial-gradient(800px 480px at 88% 20%, rgba(79, 200, 244, 0.10), transparent 65%),
    var(--dz-white, #FFFFFF);
  color: var(--dz-text, #2B3D4F);
}
/* AQUA-WASH bands: same dark ink on the paler aqua wash */
.dz-bim-vs, .dz-bim-thread {
  --sec-ink: var(--dz-text, #2B3D4F);
  --sec-muted: var(--dz-text-muted, #5A6E81);
  --sec-eyebrow: var(--dz-navy, #2B3D4F);
  --sec-accent: var(--dz-aqua, #4FC8F4);
  background: var(--dz-aqua-wash, #E8F5FB);
  color: var(--dz-text, #2B3D4F);
}

.dz-bim section,
.dz-bim > header { padding: clamp(64px, 7vw, 112px) clamp(20px, 5vw, 64px); position: relative; }
/* What-is directly follows the hero — tighten the top so the section doesn't open on a dead navy band */
.dz-bim section.dz-bim-what { padding-top: clamp(48px, 4.5vw, 76px); }

/* ── generic section reveal (resting = visible; motion = fade-up on scroll) ─ */
@media (prefers-reduced-motion: no-preference) {
  .dz-viz-reveal.is-in-view { animation: dz-viz-up 0.7s var(--bim-ease) backwards; }
}
@keyframes dz-viz-up { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }

/* ── shared session chrome — one instrument grammar for every technical panel ── */
.dz-bim-vp { background: #0e1e2b; border: 1px solid var(--bim-line); border-radius: 16px; overflow: hidden; }
.dz-bim-bar {
  display: flex; align-items: center; gap: 9px; padding: 12px 16px;
  background: rgba(79, 200, 244, 0.07); border-bottom: 1px solid var(--bim-hair);
  font-family: var(--bim-mono); font-weight: 700; font-size: 11px; letter-spacing: 0.14em;
  color: var(--dz-aqua, #4FC8F4); white-space: nowrap;
}
.dz-bim-bar__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--dz-aqua, #4FC8F4); box-shadow: 0 0 8px var(--dz-aqua, #4FC8F4); flex: none; }
.dz-bim-bar__crumb { margin-left: auto; color: #9fb6c6; font-size: 10.5px; letter-spacing: 0.1em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dz-bim-foot {
  display: flex; align-items: center; gap: 8px; padding: 12px 16px;
  font-family: var(--bim-mono); font-size: 12px; color: var(--dz-aqua, #4FC8F4);
  background: rgba(79, 200, 244, 0.05); border-top: 1px solid var(--bim-hair);
}
.dz-bim-foot span { font-weight: 700; }
/* boot cascade: rows/values power on in sequence once their section scrolls in */
@media (prefers-reduced-motion: no-preference) {
  .is-in-view .dz-bim-boot { animation: dz-viz-up 0.5s var(--bim-ease) backwards; animation-delay: calc(0.15s + var(--bi, 0) * 60ms); }
}

/* ══════════════════════ HERO ══════════════════════ */
.dz-bim-hero {
  overflow: hidden;
  border-bottom: 1px solid var(--dz-border-light, rgba(43, 61, 79, 0.12));
}
.dz-bim-hero__inner { max-width: 1180px; margin: 0 auto; position: relative; z-index: 2; }
.dz-bim-hero__h1 {
  font-size: clamp(40px, 7vw, 92px);
  font-weight: 300;
  line-height: 1.02;
  letter-spacing: -0.035em;
  margin: 18px 0 0;
  max-width: 16ch;
  color: var(--sec-ink);
}
.dz-bim-hero__lead { color: var(--sec-ink); }
.dz-bim-hero__accent { color: var(--sec-accent); font-style: italic; font-weight: 400; }
.dz-bim-hero__sub { font-size: clamp(16px, 1.4vw, 20px); line-height: 1.6; color: var(--sec-muted); max-width: 58ch; margin: 26px 0 0; }
.dz-bim-hero__stats {
  list-style: none; padding: 0; margin: 34px 0 0;
  display: flex; flex-wrap: wrap; gap: 10px;
}
.dz-bim-hero__stats li {
  font-size: 12.5px; font-weight: 600; letter-spacing: 0.04em;
  color: var(--dz-navy, #2B3D4F);
  padding: 8px 15px; border-radius: 999px;
  background: var(--bim-aqua-soft); border: 1px solid var(--bim-line);
}

/* hero CTA buttons */
.dz-bim-hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin: 30px 0 0; }
.dz-bim-btn {
  display: inline-flex; align-items: center; gap: 9px; text-decoration: none;
  font-size: 15px; font-weight: 600; letter-spacing: 0.01em;
  padding: 13px 24px; border-radius: 10px; transition: transform 0.2s var(--bim-ease), box-shadow 0.2s, background 0.2s, border-color 0.2s;
}
.dz-bim-btn svg { transition: transform 0.2s var(--bim-ease); }
.dz-bim-btn--primary { background: var(--dz-aqua, #4FC8F4); color: var(--dz-navy, #2B3D4F); box-shadow: 0 6px 20px rgba(79, 200, 244, 0.28); }
.dz-bim-btn--primary:hover { transform: translateY(-2px); box-shadow: 0 10px 26px rgba(79, 200, 244, 0.38); }
.dz-bim-btn--primary:hover svg { transform: translateX(3px); }
.dz-bim-btn--ghost { color: var(--dz-navy, #2B3D4F); border: 1px solid var(--dz-border-light, rgba(43, 61, 79, 0.28)); background: transparent; }
.dz-bim-btn--ghost:hover { border-color: var(--dz-aqua, #4FC8F4); color: var(--dz-aqua, #4FC8F4); }
.dz-bim-btn:focus-visible { outline: 2px solid var(--dz-navy, #2B3D4F); outline-offset: 3px; }

/* hero session card — the model this whole page has open */
.dz-bim-hero__grid {
  display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
  gap: clamp(28px, 4vw, 64px); align-items: center;
}
.dz-bim-hero__copy .dz-bim-hero__h1 { font-size: clamp(40px, 4.8vw, 68px); }
.dz-bim-hero__session {
  background: #0e1e2b; border: 1px solid var(--bim-line); border-radius: 16px; overflow: hidden;
  box-shadow: 0 30px 70px rgba(14, 32, 48, 0.22);
}
.dz-bim-hero__session img { display: block; width: 100%; height: auto; }
@media (max-width: 900px) {
  .dz-bim-hero__grid { grid-template-columns: 1fr; gap: 28px; }
  .dz-bim-hero__session { max-width: 560px; }
}
@media (max-width: 560px) {
  /* session crumbs yield to the bar title on phones — one rule for every panel */
  .dz-bim-bar__crumb, .dz-bim-what__panel-head .dz-bim-bar__crumb { display: none; }
}

/* hero "why Design Zone" proof tiles */
.dz-bim-hero__proof {
  list-style: none; padding: 0; margin: 38px 0 0;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  background: rgba(43, 61, 79, 0.16); border: 1px solid rgba(43, 61, 79, 0.14);
  border-radius: 14px; overflow: hidden; max-width: 1000px;
  box-shadow: 0 14px 34px rgba(43, 61, 79, 0.07);
}
.dz-bim-hero__proof li { background: var(--dz-aqua-wash, #E8F5FB); padding: 18px 18px; }
.dz-bim-hero__proof-k { display: block; font-family: var(--bim-mono); font-weight: 700; font-size: 13px; letter-spacing: 0.01em; color: var(--dz-navy, #2B3D4F); }
.dz-bim-hero__proof-v { display: block; font-size: 12.5px; line-height: 1.42; color: var(--dz-text-muted, #5A6E81); margin-top: 6px; }

/* ══════════════════════ WHAT IS BIM ══════════════════════ */
.dz-bim-what__head { max-width: 1180px; margin: 0 auto; }
.dz-bim-what__grid {
  max-width: 1180px; margin: clamp(28px, 4vw, 48px) auto 0;
  display: grid; grid-template-columns: 1.12fr 0.88fr; gap: clamp(28px, 4vw, 60px); align-items: start;
}
.dz-bim-what__body { display: flex; flex-direction: column; gap: 26px; }
.dz-bim-what__def p { font-size: 16px; line-height: 1.66; color: var(--sec-muted); margin: 0; max-width: 56ch; }
.dz-bim-what__def .dz-bim-h3 { margin-bottom: 12px; }
.dz-bim-what__why {
  padding: 20px 24px; border-radius: 12px;
  background: linear-gradient(90deg, rgba(79, 200, 244, 0.08), rgba(79, 200, 244, 0.01));
}
.dz-bim-what__why .dz-bim-h3 { margin-bottom: 8px; }
.dz-bim-what__why p { font-size: 15.5px; line-height: 1.62; color: var(--dz-white, #eaf6ff); opacity: 0.9; margin: 0; }

/* BIM element-properties panel — the "every element carries data" made concrete */
.dz-bim-what__panel {
  margin: 0; font-family: var(--bim-mono);
  border: 1px solid var(--bim-line); border-radius: 14px; overflow: hidden;
  background: linear-gradient(180deg, #17303f, #0d1c28);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}
.dz-bim-what__panel-head {
  display: flex; align-items: center; gap: 9px;
  padding: 13px 18px; border-bottom: 1px solid var(--bim-hair);
  background: rgba(79, 200, 244, 0.07);
  font-size: 11px; font-weight: 700; letter-spacing: 0.16em; color: var(--dz-aqua, #4FC8F4);
}
.dz-bim-what__panel-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--dz-aqua, #4FC8F4); box-shadow: 0 0 8px var(--dz-aqua, #4FC8F4); }
.dz-bim-what__sel {
  display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 10px 18px;
  background: rgba(79, 200, 244, 0.10); border-bottom: 1px solid var(--bim-hair);
  font-size: 11.5px; color: #cdeafb;
}
.dz-bim-what__sel-type { color: #9fb6c6; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dz-bim-what__sel > span:first-child { white-space: nowrap; flex: none; }
.dz-bim-what__guid { padding: 10px 18px; border-top: 1px solid rgba(255, 255, 255, 0.05); font-size: 11px; color: #7f9aac; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dz-bim-what__prop-row {
  display: flex; justify-content: space-between; align-items: baseline; gap: 16px;
  padding: 12px 18px; border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  transition: background 0.2s;
}
.dz-bim-what__prop-row:hover { background: rgba(79, 200, 244, 0.06); }
.dz-bim-what__prop { font-size: 12.5px; color: #9fb6c6; letter-spacing: 0.01em; }
.dz-bim-what__val { font-size: 13px; font-weight: 700; color: #cdeafb; text-align: right; }
.dz-bim-what__panel-foot {
  display: flex; align-items: center; gap: 8px; padding: 13px 18px;
  font-size: 12px; color: var(--dz-aqua, #4FC8F4); background: rgba(79, 200, 244, 0.05);
}
.dz-bim-what__panel-foot span { font-weight: 700; }

/* ══════════════════════ BIM vs CAD (before/after) ══════════════════════ */
.dz-bim-vs { border-top: 1px solid var(--bim-hair); }
/* the slider lives inside the shared viewport chrome — vp provides border/radius */
.dz-bim-vp .dz-viz-ba { border: 0; border-radius: 0; }
.dz-bim-vs__intro { max-width: 1180px; margin: 0 auto; }
.dz-bim-vs__hint { font-size: 13px; color: var(--sec-muted); margin-top: 16px; letter-spacing: 0.02em; }
.dz-bim-vs__stage { max-width: 1180px; margin: clamp(24px, 3vw, 40px) auto 0; }

.dz-viz-ba {
  position: relative; width: 100%; aspect-ratio: 1.7 / 1;
  border: 1px solid var(--bim-line); border-radius: 16px; overflow: hidden;
  background: var(--bim-panel); user-select: none; touch-action: pan-y; cursor: ew-resize;
}
.dz-viz-ba__pane { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }
.dz-viz-ba__pane--before { background: repeating-linear-gradient(90deg, #101f2b 0 22px, #122230 22px 44px); }
.dz-viz-ba__pane--after { background: radial-gradient(120% 120% at 30% 20%, #17324a, #0f2233); clip-path: inset(0 0 0 var(--dz-ba-pos, 50%)); }
/* one door, two skins — SVG carries geometry only (viewBox 680x400 = the
   stage's exact 1.7:1 aspect, edge-to-edge); text is HTML in % coordinates,
   clipped with the pane, so it stays crisp and can never be cropped. */
.dz-bim-cad, .dz-bim-bim { position: relative; width: 100%; height: 100%; }
.dz-bim-cad svg, .dz-bim-bim svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.dz-viz-ba__tag {
  position: absolute; top: 14px; font-size: 12px; font-weight: 700; letter-spacing: 0.14em;
  padding: 5px 12px; border-radius: 6px; font-family: var(--bim-mono);
}
.dz-viz-ba__tag--before { left: 14px; color: #9db4c6; background: rgba(0, 0, 0, 0.32); border: 1px solid var(--bim-hair); }
.dz-viz-ba__tag--after { right: 14px; color: var(--bim-navy); background: var(--bim-aqua); }
.dz-viz-ba__divider { position: absolute; top: 0; bottom: 0; width: 2px; background: var(--bim-aqua); transform: translateX(-1px); pointer-events: none; }
.dz-viz-ba__handle {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 42px; height: 42px; border-radius: 50%;
  display: grid; place-items: center; color: var(--bim-navy);
  background: var(--bim-aqua); box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
}
.dz-viz-ba:focus-within .dz-viz-ba__handle { outline: 3px solid #fff; outline-offset: 2px; }
.dz-viz-ba__range { position: absolute; left: 0; bottom: 0; width: 100%; height: 3px; margin: 0; opacity: 0; cursor: ew-resize; }
.dz-viz-ba__sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
/* HTML annotation layer (inside the aria-hidden panes; sr summary carries content) */
.dz-bim-scene__co { position: absolute; left: 68%; transform: translateY(-50%); }
.dz-bim-bim__k { display: block; font-family: var(--bim-mono); font-size: 12.5px; letter-spacing: 0.04em; color: #9fd8f2; }
.dz-bim-bim__v { display: block; font-family: var(--bim-mono); font-size: 15.5px; font-weight: 700; color: #eaf6ff; margin-top: 2px; }
.dz-bim-scene__dim { position: absolute; transform: translate(-50%, -50%); font-family: var(--bim-mono); font-size: 10.5px; letter-spacing: 0.05em; color: #9db4c6; }
.dz-bim-scene__dim--bim { color: #7FD8F7; opacity: 0.8; }
.dz-bim-scene__cap { position: absolute; bottom: 3.5%; font-family: var(--bim-mono); font-size: 12.5px; letter-spacing: 0.03em; }
.dz-bim-scene__cap--cad { left: 3.5%; color: #9db4c6; }
.dz-bim-scene__cap--bim { right: 3.5%; color: var(--bim-aqua); }
@media (max-width: 560px) {
  .dz-bim-bim__k { font-size: 9.5px; }
  .dz-bim-bim__v { font-size: 11px; margin-top: 1px; }
  /* corner captions collide at the seam on phones — the chrome foot carries the line */
  .dz-bim-scene__cap { display: none; }
  .dz-bim-scene__dim { font-size: 8.5px; }
}

/* ══════════════════════ SIGNATURE — dimensions 3D→10D ══════════════════════ */
.dz-bim-dims { border-top: 1px solid var(--bim-hair); }
.dz-bim-dims__head { max-width: 1180px; margin: 0 auto; }
.dz-bim-dims__grid {
  max-width: 1180px; margin: clamp(20px, 3vw, 40px) auto 0;
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(24px, 4vw, 72px);
  align-items: start;
}
.dz-bim-dims__figure {
  position: sticky; top: 12vh; margin: 0; align-self: start;
  padding: clamp(16px, 2vw, 28px);
  background: radial-gradient(120% 120% at 50% 12%, #14293b, #0c1a27);
  border: 1px solid var(--bim-line); border-radius: 20px;
}
/* real-project stage — Visitors Pavilion (KSP) digital twin + dimension deck */
.dz-bim-dims__photo { position: relative; z-index: 0; }
.dz-bim-dims__photo img { display: block; width: 100%; height: auto; border-radius: 12px; border: 1px solid var(--bim-line); }
/* dimension rail — 3D…10D chips, lit cumulatively by the scroll-story */
.dz-bim-dims__rail { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; margin: 14px 0 0; }
.dz-bim-dims__railchip {
  font-family: var(--bim-mono); font-weight: 700; font-size: 11px; letter-spacing: 0.04em;
  color: var(--bim-aqua); background: var(--bim-aqua-soft); border: 1px solid var(--bim-line);
  padding: 4px 9px; border-radius: 999px;
  transition: background 0.3s, color 0.3s, opacity 0.3s, border-color 0.3s;
}
/* readout — one large dimension infographic at a time (crossfade per step) */
.dz-bim-dims__readout {
  position: relative; height: 158px; margin: 12px 0 0; overflow: hidden;
  background: #0e1e2b; border: 1px solid var(--bim-line); border-radius: 12px;
}
.dz-bim-dims__panel {
  position: absolute; inset: 0; padding: 12px 16px 10px;
  opacity: 0; transform: translateY(8px);
  transition: opacity 0.45s var(--bim-ease), transform 0.45s var(--bim-ease);
}
.dz-bim-dims__panel:last-child { opacity: 1; transform: none; } /* resting = final state */
.dz-bim-dims__panel-t {
  display: flex; align-items: center; gap: 6px;
  font-family: var(--bim-mono); font-weight: 700; font-size: 11px; letter-spacing: 0.05em;
  color: #bfe6fa; margin-bottom: 8px; white-space: nowrap;
}
.dz-bim-dims__panel svg { display: block; width: 100%; height: calc(100% - 26px); }
.dz-bim-dims__panel svg text { font-family: var(--bim-mono); }
.dz-bim-dims__chip-live { width: 6px; height: 6px; border-radius: 50%; background: #57C98C; box-shadow: 0 0 7px #57C98C; flex: none; }
.dz-bim-dims__credit {
  display: flex; align-items: baseline; gap: 10px; justify-content: center;
  margin: 16px 0 0; font-size: 12.5px; color: var(--bim-muted); letter-spacing: 0.02em; text-align: center;
}
.dz-bim-dims__credit-dim { font-family: var(--bim-mono); font-weight: 700; font-size: 13px; color: var(--bim-aqua); letter-spacing: 0.06em; white-space: nowrap; }

.dz-bim-dims__list { list-style: none; padding: 0; margin: 0; counter-reset: dim; }
.dz-bim-dims__step { display: flex; align-items: center; padding: 20px 0; }
.dz-bim-dims__step-inner {
  padding: clamp(20px, 2.2vw, 28px); border-radius: 16px; width: 100%;
  border: 1px solid var(--bim-hair); background: rgba(255, 255, 255, 0.02);
  transition: border-color 0.4s var(--bim-ease), background 0.4s var(--bim-ease), transform 0.4s var(--bim-ease);
}
.dz-bim-dims__step.is-active .dz-bim-dims__step-inner {
  border-color: var(--bim-line); background: rgba(79, 200, 244, 0.06); transform: translateX(4px);
}
.dz-bim-dims__dim { font-family: var(--bim-mono); font-weight: 700; font-size: 22px; color: var(--bim-aqua); letter-spacing: 0.04em; }
.dz-bim-dims__title { font-size: 19px; font-weight: 600; margin: 6px 0 0; color: var(--bim-ink); }
.dz-bim-dims__blurb { font-size: 14.5px; line-height: 1.58; color: var(--bim-muted); margin: 8px 0 0; }
.dz-bim-dims__point {
  display: inline-block; margin-top: 12px; font-family: var(--bim-mono); font-size: 12px;
  letter-spacing: 0.03em; color: #bfe6fa; padding: 5px 11px; border-radius: 6px;
  background: var(--bim-aqua-soft); border: 1px solid var(--bim-line);
}
/* build-up (only once JS activates the scroll-story) */
.dz-bim-dims__step.is-current .dz-bim-dims__step-inner {
  border-color: var(--bim-aqua); background: rgba(79, 200, 244, 0.10);
  transform: translateX(6px); box-shadow: 0 14px 34px rgba(0, 0, 0, 0.28);
}
@media (prefers-reduced-motion: no-preference) {
  .dz-bim-dims__step { min-height: 56vh; }
  .dz-bim-dims.is-scrollstory-active .dz-bim-dims__panel { opacity: 0; transform: translateY(8px); }
  .dz-bim-dims.is-scrollstory-active .dz-bim-dims__panel.is-now { opacity: 1; transform: none; }
  .dz-bim-dims.is-scrollstory-active .dz-bim-dims__railchip { opacity: 0.35; background: transparent; }
  .dz-bim-dims.is-scrollstory-active .dz-bim-dims__railchip.is-lit { opacity: 1; background: var(--bim-aqua-soft); }
  .dz-bim-dims.is-scrollstory-active .dz-bim-dims__railchip.is-now { background: var(--bim-aqua); color: var(--bim-navy); border-color: var(--bim-aqua); }
}

/* ══════════════════════ VOCABULARY ══════════════════════ */
.dz-bim-vocab { border-top: 1px solid var(--bim-hair); }
.dz-bim-vocab :is(.dz-bim-eyebrow, .dz-bim-h2, .dz-bim-lead) { max-width: 1180px; margin-left: auto; margin-right: auto; }
.dz-bim-vocab__list {
  list-style: none; padding: 0; max-width: 1180px; margin: clamp(24px, 3vw, 40px) auto 0;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
}
.dz-bim-vocab__list li {
  padding: 22px; border-radius: 14px; border: 1px solid var(--dz-border-light, rgba(43, 61, 79, 0.12));
  background: var(--dz-aqua-wash, #E8F5FB);
}
.dz-bim-vocab__glyph { display: inline-flex; width: 42px; height: 42px; align-items: center; justify-content: center; border-radius: 11px; background: rgba(79, 200, 244, 0.10); border: 1px solid var(--bim-line); color: var(--dz-aqua, #4FC8F4); margin-bottom: 14px; }
.dz-bim-vocab__glyph svg { width: 22px; height: 22px; }
.dz-bim-vocab__term { display: block; font-family: var(--bim-mono); font-weight: 700; font-size: 13px; letter-spacing: 0.04em; color: var(--dz-navy, #2B3D4F); }
.dz-bim-vocab__strip {
  display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 12px 0 2px;
  font-family: var(--bim-mono); font-size: 11px; letter-spacing: 0.02em;
}
.dz-bim-vocab__strip i {
  font-style: normal; padding: 3px 8px; border-radius: 6px;
  border: 1px solid rgba(43, 61, 79, 0.18); color: var(--dz-text-muted, #5A6E81);
  background: rgba(255, 255, 255, 0.55);
}
.dz-bim-vocab__strip i.is-on { background: var(--dz-navy, #2B3D4F); color: #fff; border-color: var(--dz-navy, #2B3D4F); font-weight: 700; }
.dz-bim-vocab__strip em { font-style: normal; color: #8aa2b5; font-size: 10px; }
.dz-bim-vocab__def { display: block; font-size: 14px; line-height: 1.56; color: var(--sec-muted); margin-top: 8px; }
.dz-bim-vocab__def a { color: var(--dz-navy, #2B3D4F); text-decoration: underline; text-underline-offset: 2px; text-decoration-thickness: 1px; }

/* ══════════════════════ LOD selector ══════════════════════ */
.dz-bim-lod { border-top: 1px solid var(--bim-hair); }
.dz-bim-lod__head { max-width: 1180px; margin: 0 auto; }
.dz-bim-lod__grid { max-width: 1180px; margin: clamp(24px, 3vw, 40px) auto 0; display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(24px, 4vw, 56px); align-items: center; }
.dz-bim-lod__stage {
  --pad: clamp(20px, 2.4vw, 32px);
  padding: var(--pad); border: 1px solid var(--bim-line); border-radius: 18px; overflow: hidden;
  background:
    repeating-linear-gradient(0deg, rgba(79, 200, 244, 0.04) 0 1px, transparent 1px 26px),
    repeating-linear-gradient(90deg, rgba(79, 200, 244, 0.04) 0 1px, transparent 1px 26px),
    radial-gradient(120% 120% at 50% 10%, #14293b, #0c1a27);
  text-align: center;
}
.dz-bim-lod__stage .dz-bim-bar { margin: calc(var(--pad) * -1) calc(var(--pad) * -1) 18px; text-align: left; }
.dz-bim-lod__status { min-height: 18px; margin: -6px 0 14px; font-family: var(--bim-mono); font-weight: 700; font-size: 12px; letter-spacing: 0.1em; color: var(--bim-aqua); }
.dz-bim-lod__svg { display: block; width: 100%; max-width: 320px; height: auto; margin: 0 auto 18px; aspect-ratio: 200 / 150; }
.dz-bim-lod__svg .dz-bim-lod__d300 { opacity: 0; transition: opacity 0.4s var(--bim-ease); }
.dz-bim-lod__svg .dz-bim-lod__d400 { opacity: 0; transition: opacity 0.4s var(--bim-ease); }
.dz-bim-lod__svg[data-level="300"] .dz-bim-lod__d300 { opacity: 1; }
.dz-bim-lod__svg[data-level="400"] .dz-bim-lod__d300 { opacity: 1; }
.dz-bim-lod__svg[data-level="400"] .dz-bim-lod__d400 { opacity: 1; }
.dz-bim-lod__defs { list-style: none; padding: 0; margin: 0; }
.dz-bim-lod__def { padding: 16px 18px; border-radius: 12px; border: 1px solid transparent; transition: border-color 0.3s, background 0.3s; }
.dz-bim-lod__def.is-active { border-color: var(--bim-line); background: rgba(79, 200, 244, 0.06); }
.dz-bim-lod__def + .dz-bim-lod__def { margin-top: 10px; }
.dz-bim-lod__deftag { font-family: var(--bim-mono); font-weight: 700; font-size: 13px; color: var(--bim-aqua); letter-spacing: 0.03em; }
.dz-bim-lod__def p { font-size: 14px; line-height: 1.55; color: var(--bim-muted); margin: 6px 0 0; }

/* segmented control */
.dz-viz-seg { position: relative; display: inline-flex; padding: 4px; border-radius: 999px; background: rgba(0, 0, 0, 0.28); border: 1px solid var(--bim-hair); }
.dz-viz-seg__thumb {
  position: absolute; top: 4px; bottom: 4px; left: 4px;
  width: calc((100% - 8px) / var(--dz-seg-n)); border-radius: 999px; background: var(--bim-aqua);
  transform: translateX(calc(var(--dz-seg-i) * 100%)); transition: transform 0.32s var(--bim-ease); z-index: 0;
}
.dz-viz-seg__opt {
  position: relative; z-index: 1; appearance: none; border: 0; background: transparent; cursor: pointer;
  font-family: var(--bim-mono); font-weight: 700; font-size: 13px; letter-spacing: 0.02em;
  padding: 9px 18px; border-radius: 999px; color: var(--bim-muted); transition: color 0.25s;
}
.dz-viz-seg__opt.is-active { color: var(--bim-navy); }
.dz-viz-seg__opt:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
/* invisible hit-area extension → ~46px effective touch target on the 34px pill */
.dz-viz-seg__opt::before { content: ""; position: absolute; left: 0; right: 0; top: -6px; bottom: -6px; }

/* ══════════════════════ GOLDEN THREAD ══════════════════════ */
.dz-bim-thread { border-top: 1px solid var(--bim-hair); }
.dz-bim-thread__head { max-width: 1180px; margin: 0 auto; }
.dz-bim-thread__viz { position: relative; max-width: 1180px; margin: clamp(36px, 5vw, 64px) auto 0; }
.dz-bim-thread__svg { display: block; width: 100%; height: auto; aspect-ratio: 1000 / 120; }
.dz-bim-thread__line { stroke-dasharray: 1; stroke-dashoffset: 0; }
@media (prefers-reduced-motion: no-preference) {
  .dz-bim-thread.is-in-view .dz-bim-thread__line { animation: dz-thread-draw 1.5s var(--bim-ease) backwards; }
}
@keyframes dz-thread-draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
.dz-bim-thread__nodes {
  list-style: none; padding: 0; margin: -68px 0 0; position: relative;
  display: grid; grid-template-columns: repeat(7, 1fr);
}
.dz-bim-thread__node { display: flex; flex-direction: column; align-items: center; position: relative; }
.dz-bim-thread__btn {
  appearance: none; border: 0; background: transparent; cursor: pointer;
  display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 6px 8px;
  min-width: 44px;
}
.dz-bim-thread__num {
  width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center;
  font-family: var(--bim-mono); font-weight: 700; font-size: 13px;
  color: var(--bim-aqua); background: var(--bim-navy); border: 2px solid var(--bim-aqua);
  transition: transform 0.25s var(--bim-ease), background 0.25s, color 0.25s;
}
.dz-bim-thread__btn:hover .dz-bim-thread__num,
.dz-bim-thread__btn:focus-visible .dz-bim-thread__num,
.dz-bim-thread__btn.is-open .dz-bim-thread__num { background: var(--bim-aqua); color: var(--bim-navy); transform: scale(1.12); }
.dz-bim-thread__btn:focus-visible { outline: 2px solid #fff; outline-offset: 3px; border-radius: 8px; }
.dz-bim-thread__lbl { font-family: var(--bim-mono); font-weight: 700; font-size: 12.5px; letter-spacing: 0.04em; color: var(--sec-ink); }
/* thread sits on the aqua-wash band → navy linework on paper */
.dz-bim-thread__line { stroke: var(--dz-navy, #2B3D4F); }
.dz-bim-thread__dot { fill: var(--dz-white, #FFFFFF); stroke: var(--dz-navy, #2B3D4F); }
.dz-bim-thread__tip {
  position: absolute; top: calc(100% + 12px); left: 50%; transform: translateX(-50%) translateY(6px);
  width: max(180px, 15vw); max-width: 240px; z-index: 5;
  padding: 12px 14px; border-radius: 10px; font-size: 12.5px; line-height: 1.5;
  color: var(--bim-ink); background: #17303f; border: 1px solid var(--bim-line);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5);
  opacity: 0; visibility: hidden; transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
}
.dz-bim-thread__node:nth-child(1) .dz-bim-thread__tip { left: 0; transform: translateX(0) translateY(6px); }
.dz-bim-thread__node:nth-child(7) .dz-bim-thread__tip { left: auto; right: 0; transform: translateX(0) translateY(6px); }
/* JS `is-open` is the single visibility trigger (hover/focus set it, Escape
   clears it) — pure-CSS :hover reveal would defeat WCAG 1.4.13 dismissal. */
.dz-bim-thread__btn.is-open + .dz-bim-thread__tip { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.dz-bim-thread__node:nth-child(1) .dz-bim-thread__btn.is-open + .dz-bim-thread__tip,
.dz-bim-thread__node:nth-child(7) .dz-bim-thread__btn.is-open + .dz-bim-thread__tip { transform: translateX(0) translateY(0); }

/* node ignition — dots pop on as the drawn line reaches them (resting = all lit) */
@media (prefers-reduced-motion: no-preference) {
  .dz-bim-thread.is-in-view .dz-bim-thread__num { animation: dz-node-pop 0.45s var(--bim-ease) backwards; animation-delay: calc(0.25s + var(--ni, 0) * 120ms); }
}
@keyframes dz-node-pop { from { opacity: 0; transform: scale(0.7); } to { opacity: 1; transform: none; } }

/* handover payoff — where the thread ends, a twin begins */
.dz-bim-thread__payoff {
  max-width: 1180px; margin: clamp(28px, 4vw, 44px) auto 0;
  display: flex; align-items: center; gap: 20px; padding: 16px;
  border-radius: 14px; border: 1px solid var(--bim-line);
  background: linear-gradient(180deg, #17303f, #0d1c28);
}
.dz-bim-thread__payoff picture { flex: none; width: 172px; }
.dz-bim-thread__payoff img { display: block; width: 100%; height: auto; border-radius: 8px; }
.dz-bim-thread__payoff p { margin: 0; font-size: 14px; line-height: 1.62; color: rgba(229, 246, 255, 0.85); }
.dz-bim-thread__payoff-k { display: block; font-family: var(--bim-mono); font-weight: 700; font-size: 11px; letter-spacing: 0.14em; color: var(--bim-aqua); margin-bottom: 6px; }
.dz-bim-thread__payoff a { color: var(--bim-aqua); text-decoration: underline; text-underline-offset: 2px; }
@media (max-width: 560px) {
  .dz-bim-thread__payoff { flex-direction: column; align-items: flex-start; }
  .dz-bim-thread__payoff picture { width: 100%; max-width: 320px; }
}

/* ══════════════════════ DISCIPLINES HUB ══════════════════════ */
/* light band — a wide systems-map: content-in-circle nodes ringed around a hub.
   Gentler, top-centred aqua wash than the shared white-band glow, so it reads as
   atmosphere (not an oval spotlight) on the tall mobile grid layout. */
.dz-bim-hub {
  border-top: 1px solid var(--dz-border-light, rgba(43, 61, 79, 0.10));
  background: radial-gradient(1100px 620px at 50% 6%, rgba(79, 200, 244, 0.06), transparent 60%), var(--dz-white, #FFFFFF);
}
.dz-bim-hub__head { max-width: 1180px; margin: 0 auto; text-align: center; }
.dz-bim-hub__head .dz-bim-h2 { margin-left: auto; margin-right: auto; }
.dz-bim-hub__wheel { position: relative; width: min(1040px, 96vw); aspect-ratio: 1.62; margin: clamp(24px, 3vw, 44px) auto 0; }
.dz-bim-hub__lines { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.dz-bim-hub__line { stroke: rgba(43, 61, 79, 0.20); transition: stroke 0.25s, stroke-width 0.25s; }
.dz-bim-hub__line.is-hot { stroke: var(--dz-aqua, #4FC8F4); stroke-width: 1; }

/* central hub — light disc inside an aqua→navy gradient ring, with a dot row */
.dz-bim-hub__core {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 132px; height: 132px; border-radius: 50%; z-index: 4; padding: 4px;
  display: grid; place-items: center; overflow: visible;
  background: linear-gradient(150deg, #4FC8F4, #2B3D4F);
  box-shadow: 0 16px 38px rgba(43, 61, 79, 0.20);
}
.dz-bim-hub__core::before {
  content: ''; position: absolute; inset: 4px; border-radius: 50%;
  background: radial-gradient(circle at 50% 30%, #FFFFFF, #EAF6FE);
}
.dz-bim-hub__core-lbl { position: relative; font-family: var(--bim-mono); font-weight: 700; font-size: 22px; letter-spacing: 0.10em; color: var(--dz-navy, #2B3D4F); }
.dz-bim-hub__core-dots { position: relative; width: 34px; height: 4px; margin-top: 7px; border-radius: 2px; background: repeating-linear-gradient(90deg, var(--dz-aqua, #4FC8F4) 0 4px, transparent 4px 9px); }

.dz-bim-hub__spokes { list-style: none; padding: 0; margin: 0; }
.dz-bim-hub__spoke { position: absolute; top: var(--dz-y); left: var(--dz-x); transform: translate(-50%, -50%); z-index: 3; transition: opacity 0.25s; }
.dz-bim-hub__link { display: flex; flex-direction: column; align-items: center; text-align: center; text-decoration: none; }
/* the node: a ring-circle (even aqua ring, white disc) holding chip + name; the
   description sits BELOW as a caption so it stays legible and never clips the curve */
.dz-bim-hub__disc {
  display: block; position: relative; width: clamp(122px, 12vw, 150px); aspect-ratio: 1; border-radius: 50%; padding: 3px; flex: none;
  background: linear-gradient(180deg, #7FD8F7, #4FC8F4);
  box-shadow: 0 2px 6px rgba(43, 61, 79, 0.07), 0 16px 32px rgba(43, 61, 79, 0.13);
  transition: transform 0.25s var(--bim-ease), box-shadow 0.25s;
}
.dz-bim-hub__disc-in {
  width: 100%; height: 100%; border-radius: 50%;
  background: radial-gradient(circle at 50% 28%, #FFFFFF, #F2FAFE);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 0 clamp(12px, 1.2vw, 16px); gap: 7px;
}
.dz-bim-hub__mark { display: inline-grid; place-items: center; font-family: var(--bim-mono); font-weight: 700; }
/* chip hierarchy: solid = the file format the discipline appends; hollow = a
   concept that is NOT a file (the standard, the lifecycle). */
.dz-bim-hub__mark--chip { min-width: 26px; height: 21px; padding: 0 9px; border-radius: 6px; font-size: 10.5px; letter-spacing: 0.04em; }
.dz-bim-hub__mark--chip.is-file { background: var(--dz-aqua, #4FC8F4); color: var(--dz-navy, #2B3D4F); }
.dz-bim-hub__mark--chip.is-concept { background: transparent; color: var(--dz-navy, #2B3D4F); border: 1px solid rgba(79, 200, 244, 0.6); }
.dz-bim-hub__spoke-lbl {
  font-size: 13px; font-weight: 700; letter-spacing: -0.01em; line-height: 1.16; color: var(--dz-navy, #2B3D4F);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.dz-bim-hub__note {
  margin-top: 11px; max-width: 180px; font-size: 11.5px; line-height: 1.4; color: var(--dz-text-muted, #5A6E81);
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.dz-bim-hub__link:hover .dz-bim-hub__disc, .dz-bim-hub__link:focus-visible .dz-bim-hub__disc {
  transform: translateY(-4px); box-shadow: 0 0 0 4px rgba(79, 200, 244, 0.18), 0 18px 40px rgba(43, 61, 79, 0.24);
}
.dz-bim-hub__link:focus-visible { outline: none; }
.dz-bim-hub__link:focus-visible .dz-bim-hub__disc { box-shadow: 0 0 0 3px var(--dz-aqua, #4FC8F4), 0 18px 40px rgba(43, 61, 79, 0.24); }
.dz-bim-hub__wheel.is-hot .dz-bim-hub__spoke:not(.is-hot) { opacity: 0.5; }
/* federation assembly — lines draw from the core, disciplines land as they connect */
.dz-bim-hub__core { overflow: visible; }
@media (prefers-reduced-motion: no-preference) {
  .dz-bim-hub.is-in-view .dz-bim-hub__line { stroke-dasharray: 1; animation: dz-hub-draw 0.5s var(--bim-ease) backwards; animation-delay: calc(0.2s + var(--hi, 0) * 70ms); }
  .dz-bim-hub.is-in-view .dz-bim-hub__spoke { animation: dz-hub-land 0.45s var(--bim-ease) backwards; animation-delay: calc(0.45s + var(--hi, 0) * 70ms); }
  /* hovered connector: a dash flows toward the core — the discipline feeds the model */
  .dz-bim-hub.is-in-view .dz-bim-hub__line.is-hot { stroke-dasharray: 0.06 0.05; animation: dz-hub-flow 0.7s linear infinite; }
  .dz-bim-hub__core::after {
    content: ''; position: absolute; inset: -20px; border-radius: 50%; z-index: -1;
    background: radial-gradient(circle, rgba(79, 200, 244, 0.30), transparent 68%);
    animation: dz-hub-breathe 4.2s ease-in-out infinite;
  }
}
@keyframes dz-hub-draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes dz-hub-flow { to { stroke-dashoffset: -0.11; } }
@keyframes dz-hub-land { from { opacity: 0; } to { opacity: 1; } }
@keyframes dz-hub-breathe { 0%, 100% { opacity: 0.45; } 50% { opacity: 1; } }

/* ══════════════════════ FEATURED (Vision 2030) ══════════════════════ */
.dz-bim-feat { border-top: 1px solid var(--bim-hair); }
.dz-bim-feat__inner {
  /* navy feature card sitting on the light band → white ink inside */
  --sec-ink: var(--dz-white, #FFFFFF);
  --sec-muted: rgba(229, 246, 255, 0.82);
  --sec-eyebrow: var(--dz-aqua, #4FC8F4);
  --sec-accent: var(--dz-aqua, #4FC8F4);
  color: var(--dz-white, #FFFFFF);
  max-width: 1180px; margin: 0 auto; padding: clamp(30px, 4vw, 56px);
  border-radius: 22px; border: 1px solid var(--bim-line);
  background: radial-gradient(120% 120% at 88% -10%, rgba(79, 200, 244, 0.12), transparent 55%),
    linear-gradient(180deg, var(--dz-navy, #2B3D4F), var(--dz-navy-deep, #1A2D3E));
}
.dz-bim-feat__stats { list-style: none; padding: 0; margin: 30px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.dz-bim-feat__num { display: block; font-family: var(--bim-mono); font-weight: 700; font-size: clamp(20px, 2.4vw, 28px); color: var(--bim-aqua); }
.dz-bim-feat__lbl { display: block; font-size: 12.5px; color: var(--bim-muted); margin-top: 6px; letter-spacing: 0.02em; }
.dz-bim-feat__cta { display: inline-flex; align-items: center; gap: 8px; margin-top: 17px; padding: 13px 2px; font-weight: 600; font-size: 15px; color: var(--bim-aqua); text-decoration: none; }
.dz-bim-feat__cta svg { transition: transform 0.25s var(--bim-ease); }
.dz-bim-feat__cta:hover svg { transform: translateX(4px); }
.dz-bim-feat__cta:focus-visible { outline: 2px solid var(--bim-aqua); outline-offset: 3px; border-radius: 6px; }

/* ══════════════════════ FAQ ══════════════════════ */
/* /bim/ reuses the shared site FAQ (.dz-section.dz-faq from home.css) so it
   matches /ai/, /twinmaq/, About, etc.; this only swaps the aqua-wash band for
   a soft-grey one. dz-viz.css loads after home.css, so this wins on background. */
.dz-faq--grey { background: var(--dz-soft-grey, #F1F1F1); }
/* keep the aqua identity (pill, dot, border, chevron) but make label + body TEXT
   readable on the soft-grey band (aqua-on-light label text fails AA); style the
   answer links (shared component leaves them default-blue). */
.dz-faq--grey .dz-eyebrow { color: var(--dz-navy, #2B3D4F); }
.dz-faq--grey .dz-faq__toggle-label { color: var(--dz-navy, #2B3D4F); }
.dz-faq--grey .dz-faq-item__body { color: rgba(43, 61, 79, 0.82); }
.dz-faq--grey .dz-faq-item__body a { color: var(--dz-navy, #2B3D4F); text-decoration: underline; text-underline-offset: 2px; }

/* ══════════════════════ RESPONSIVE ══════════════════════ */
/* disciplines hub: the wide ellipse needs room — below ~1024px it becomes a
   2-col grid of the same circles with the hub centred above, lines dropped */
@media (max-width: 1024px) {
  .dz-bim-hub__wheel { aspect-ratio: auto; width: 100%; }
  .dz-bim-hub__lines { display: none; }
  .dz-bim-hub__core { position: static; transform: none; margin: 0 auto clamp(22px, 5vw, 34px); width: 120px; height: 120px; }
  .dz-bim-hub__spokes { position: static; display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(22px, 4.5vw, 40px) clamp(16px, 3vw, 32px); justify-items: center; }
  .dz-bim-hub__spoke { position: static; transform: none; width: 100%; }
  .dz-bim-hub__disc { width: min(42vw, 168px); box-shadow: 0 4px 13px rgba(43, 61, 79, 0.08); }
  .dz-bim-hub__note { max-width: 220px; }
}
@media (max-width: 900px) {
  .dz-bim-what__grid, .dz-bim-lod__grid { grid-template-columns: 1fr; }
  .dz-bim-vocab__list { grid-template-columns: 1fr; }
  .dz-bim-feat__stats { grid-template-columns: repeat(2, 1fr); }
  .dz-bim-hero__proof { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .dz-bim-hero__proof { grid-template-columns: 1fr; }
  .dz-bim-hero__cta { flex-direction: column; align-items: stretch; }
  .dz-bim-btn { justify-content: center; }
  .dz-viz-ba__tag { top: 10px; font-size: 10px; padding: 3px 8px; }
}
@media (max-width: 760px) {
  .dz-bim-dims__grid { grid-template-columns: 1fr; }
  /* single column: cards scroll BEHIND the stuck figure (opaque bg) and emerge below */
  .dz-bim-dims__figure { top: 8vh; max-width: 340px; margin: 0 auto; z-index: 2; }
  .dz-bim-dims__figure--twin { max-width: 620px; }
  .dz-bim-dims__list { position: relative; z-index: 1; }
  .dz-bim-dims__step { min-height: unset; padding: 12px 0; }
  .dz-bim-thread__nodes { grid-template-columns: repeat(7, 1fr); }
  .dz-bim-thread__lbl { font-size: 11px; }
  .dz-bim-thread__tip { width: min(70vw, 220px); }
}
@media (max-width: 760px) and (prefers-reduced-motion: no-preference) {
  .dz-bim-dims__step { min-height: 46vh; }
}
@media (max-width: 400px) {
  .dz-bim-lod__stage .dz-bim-bar { font-size: 10px; letter-spacing: 0.06em; }
}
@media (max-width: 480px) {
  .dz-bim-dims__readout { height: 138px; }
  .dz-bim-thread__nodes { margin-top: -60px; }
  .dz-bim-thread__lbl { font-size: 10.5px; letter-spacing: 0; }
  .dz-bim-hub__core { width: 96px; height: 96px; }
  .dz-bim-hub__core-lbl { font-size: 16px; }
}

/* golden thread → vertical accordion on small screens (keeps labels >=14px, tap-to-expand) */
@media (max-width: 560px) {
  .dz-bim-thread__svg { display: none; }
  .dz-bim-thread__nodes { display: block; margin-top: 18px; grid-template-columns: none; }
  .dz-bim-thread__node { display: block; border-bottom: 1px solid var(--bim-hair); }
  .dz-bim-thread__btn { flex-direction: row; justify-content: flex-start; gap: 12px; width: 100%; padding: 15px 4px; }
  .dz-bim-thread__lbl { font-size: 14.5px; }
  .dz-bim-thread__tip {
    position: static; display: none; opacity: 1; visibility: visible; transform: none;
    width: auto; max-width: none; margin: 0 0 14px 42px; padding: 0;
    background: transparent; border: 0; box-shadow: none; color: var(--sec-muted, #5A6E81); font-size: 13.5px;
  }
  .dz-bim-thread__btn.is-open + .dz-bim-thread__tip { display: block; transform: none; }
  /* restore the "unbroken thread" — a vertical connector behind the stacked nodes */
  .dz-bim-thread__node::before {
    content: ''; position: absolute; left: 18px; top: 0; bottom: 0;
    width: 2px; background: var(--dz-navy, #2B3D4F); z-index: 0;
  }
  .dz-bim-thread__node:first-child::before { top: 50%; }
  .dz-bim-thread__node:last-child::before { bottom: 50%; }
  .dz-bim-thread__num { position: relative; z-index: 1; }
}

/* ══════════════════════ REDUCED MOTION — static final state ══════════════════════ */
@media (prefers-reduced-motion: reduce) {
  .dz-bim-dims__figure { position: static; }
  .dz-bim-dims__step { min-height: auto; }
  .dz-bim-dims__panel:last-child { opacity: 1; transform: none; }
  .dz-viz-seg__thumb { transition: none; }
  .dz-bim-thread__line { animation: none; stroke-dashoffset: 0; }
}
