/* ============================================================
 * Brainy Neurals — Foundations
 * Color + type tokens, plus semantic styles.
 *
 * Pair with `brainyneurals.css` for the full component layer.
 * If you only need the foundations (e.g. for a slide deck), this
 * file alone gets you fonts, colors, and the editorial type stack.
 * ============================================================ */

/* Web fonts — IBM Plex family (Sans / Mono / Serif italic) */
@import url("https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:wght@300;400;500;600;700&family=IBM+Plex+Mono:wght@400;500;600&family=IBM+Plex+Serif:ital@0;1&display=swap");

:root {
  /* --- COLOR --- */
  /* Ink — primary text on light; dark-band background */
  --ink:        #0A0A0B;
  --ink-2:      #1A1A1D;   /* hover for dark surfaces */
  --ink-3:      #2A2A2E;   /* borders inside dark surfaces */

  /* Paper — light backgrounds + neutrals */
  --paper:      #FFFFFF;   /* page background */
  --paper-2:    #F4F4F2;   /* card neutral */
  --paper-3:    #E8E8E4;   /* deeper neutral */
  --bone:       #FAFAF8;   /* lightest off-white — most cards */

  /* Lines */
  --line:       rgba(10,10,11,0.14);   /* hairlines on light */
  --line-soft:  rgba(10,10,11,0.08);   /* subtle hairlines */
  --line-dark:  rgba(244,239,230,0.14);/* hairlines on dark */

  /* Text on top of fields */
  --muted:      rgba(10,10,11,0.58);   /* secondary on light */
  --muted-dark: rgba(244,239,230,0.62);/* secondary on dark */

  /* Brand accents */
  --blue:       #0655FF;   /* anchor — accents, primary CTA */
  --blue-2:     #0444CC;   /* primary CTA hover */
  --blue-tint:  #DCE5FF;   /* pale blue text on dark */
  --blue-deep:  #03257A;   /* deepest blue in gradients */

  /* Sparing accents */
  --signal:     #B5FF3C;   /* live-status / "now" — use 1-2x per page */
  --rust:       #C2410C;   /* used once for variation; otherwise reserved */

  /* --- TYPE — families --- */
  --font-sans:    "IBM Plex Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono:    "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --font-serif:   "IBM Plex Serif", "Times New Roman", serif;
  /* `--font-display` is the italic-serif phrase accent. Same family as
     serif, but always italic 400; used INSIDE headlines via <em>. */
  --font-display: "IBM Plex Serif", "Times New Roman", serif;

  /* --- TYPE — semantic styles ---
     Reference these with `font: var(--type-h1)` or use the
     `.h-display` / `.h-section` / `.h-card` classes from
     `brainyneurals.css`. */
  --type-h1:        500 clamp(40px, 6.4vw, 96px)/0.96 var(--font-sans);
  --type-h2:        500 clamp(34px, 4.4vw, 64px)/1.02 var(--font-sans);
  --type-h3:        500 22px/1.25 var(--font-sans);
  --type-body:      400 17px/1.5  var(--font-sans);
  --type-lede:      400 clamp(18px, 1.4vw, 22px)/1.45 var(--font-sans);
  --type-small:     400 14.5px/1.55 var(--font-sans);
  --type-mono:      500 12px/1.4 var(--font-mono);
  --type-microcopy: 500 11px/1.3 var(--font-mono); /* + uppercase, +0.08em tracking */

  /* Tracking values to apply alongside the fonts above */
  --tr-h1: -0.035em;
  --tr-h2: -0.030em;
  --tr-h3: -0.015em;
  --tr-micro: 0.08em;

  /* --- RADII / SPACING --- */
  --r-sm: 4px;
  --r:    8px;
  --r-lg: 14px;
  --r-xl: 22px;

  --container: 1320px;
  --gutter: 32px;

  /* --- MOTION --- */
  --t1: cubic-bezier(.2,.7,.2,1);  /* default — most transitions */
  --t2: cubic-bezier(.7,0,.3,1);   /* entries / exits */
}

/* ============================================================
 * Base type — opt-in. Drop on body to inherit the system.
 * ============================================================ */

.bn-type, body.bn-type {
  font: var(--type-body);
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "ss01", "cv11";
}

/* Headline scale — italic <em> automatically swaps to serif italic */
.bn-h1, h1.bn { font: var(--type-h1); letter-spacing: var(--tr-h1); margin: 0; }
.bn-h2, h2.bn { font: var(--type-h2); letter-spacing: var(--tr-h2); margin: 0 0 24px; text-wrap: balance; }
.bn-h3, h3.bn { font: var(--type-h3); letter-spacing: var(--tr-h3); margin: 0 0 10px; }
.bn-h1 em, .bn-h2 em, .bn-h3 em, h1.bn em, h2.bn em, h3.bn em {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.02em;
}

/* Lede / muted */
.bn-lede { font: var(--type-lede); max-width: 820px; text-wrap: pretty; }
.bn-muted { color: var(--muted); }

/* Microcopy — section markers, "engineering voice" */
.bn-micro {
  font: var(--type-microcopy);
  text-transform: uppercase;
  letter-spacing: var(--tr-micro);
  color: var(--muted);
}

/* Numeric / mono utility */
.bn-mono  { font-family: var(--font-mono); font-feature-settings: "tnum"; }
.bn-serif { font-family: var(--font-serif); font-weight: 400; }
.bn-italic-accent { font-family: var(--font-display); font-style: italic; font-weight: 400; color: var(--blue); }

/* ============================================================
 * Brainy Neurals — Global Header & Mega Menu
 * Layered on top of colors_and_type.css (tokens + fonts).
 * 8px spacing grid · light theme · inline SVG only.
 * ============================================================ */

:root {
  --bnh-container: 1280px;
  --bnh-gutter: 24px;
  --bnh-h: 72px;          /* default bar */
  --bnh-h-sticky: 60px;   /* condensed bar */
  --bnh-rail: 320px;
  --bnh-col-gap: 32px;
  --h-ink: #0f172a;       /* headings / emphasis — brief override */
  --bnh-hover: var(--blue);   /* hover text accent (brand blue) */
  --bnh-shadow: 0 18px 50px -30px rgba(10,10,11,0.22), 0 1px 3px rgba(10,10,11,0.04);
  --bnh-panel-shadow: 0 40px 80px -44px rgba(10,10,11,0.28), 0 2px 8px rgba(10,10,11,0.05);
  --bnh-ease: cubic-bezier(.2,.7,.2,1);
}

/* ---- reset within header scope ---- */
.bnh, .bnh * { box-sizing: border-box; margin: 0; }
.bnh {
  font-family: var(--font-sans);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "ss01","cv11";
}
.bnh a { text-decoration: none; }
:where(.bnh) a { color: inherit; }
.bnh button { font-family: inherit; font-size: inherit; line-height: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
.bnh ul { list-style: none; padding: 0; margin: 0; }

.bnh-container {
  max-width: var(--bnh-container);
  margin: 0 auto;
  padding: 0 var(--bnh-gutter);
}

/* mono microcopy */
.bnh-mono {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ============================================================
 * TOP BAR
 * ============================================================ */
.bnh-bar {
  position: relative;
  background: #fff;
  border-bottom: 1px solid var(--line);
  z-index: 50;
}
.bnh-bar-inner {
  height: var(--bnh-h);
  display: flex;
  align-items: center;
  gap: 24px;
  transition: height .2s var(--bnh-ease);
}
.bnh-bar.is-sticky { box-shadow: var(--bnh-shadow); border-bottom-color: transparent; }
.bnh-bar.is-sticky .bnh-bar-inner { height: var(--bnh-h-sticky); }

/* brand */
.bnh-brand { display: inline-flex; align-items: center; height: 100%; padding-right: 4px; }
.bnh-brand img { height: 30px; width: auto; display: block; }
.bnh-bar.is-sticky .bnh-brand img { height: 27px; }
.bnh-brand:focus-visible { outline: 2px solid var(--blue); outline-offset: 4px; border-radius: 4px; }

/* primary nav */
.bnh-nav { display: flex; align-items: center; gap: 2px; margin-left: 8px; }
.bnh-trigger {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 40px;
  padding: 0 14px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.006em;
  color: var(--ink);
  white-space: nowrap;
  transition: background .16s var(--bnh-ease), color .16s var(--bnh-ease);
}
.bnh-trigger .bnh-caret {
  width: 14px; height: 14px;
  transition: transform .2s var(--bnh-ease), color .16s var(--bnh-ease);
  color: rgba(10,10,11,0.45);
}
.bnh-trigger:hover { background: var(--paper-2); color: var(--bnh-hover); }
.bnh-trigger:hover .bnh-caret { color: var(--bnh-hover); }
.bnh-trigger.is-active { background: var(--paper-2); color: var(--bnh-hover); }
.bnh-trigger.is-active .bnh-caret { transform: rotate(180deg); color: var(--bnh-hover); }
/* active underline tick aligned to bar bottom */
.bnh-trigger.is-active::after {
  content: "";
  position: absolute;
  left: 14px; right: 14px; bottom: -8px;
  height: 2px;
  background: var(--bnh-hover);
  border-radius: 2px;
}
.bnh-trigger:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }

/* spacer pushes CTA right */
.bnh-spacer { flex: 1 1 auto; }

/* CTA */
.bnh-cta {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  height: 44px;
  padding: 0 24px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--bone);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.006em;
  white-space: nowrap;
  transition: background .16s var(--bnh-ease);
}
.bnh-cta .bnh-arr { transition: transform .18s var(--bnh-ease); }
.bnh-cta:hover { background: var(--ink-2); }
.bnh-cta:hover .bnh-arr { transform: translateX(4px); }
.bnh-cta:active { background: #000; }
.bnh-cta:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
.bnh-bar.is-sticky .bnh-cta { height: 40px; }

/* ============================================================
 * EDITORIAL VARIANT — refined masthead + ink feature card
 * Quiet luxury: light hairline strip, no shouting, deep-ink card.
 * ============================================================ */
.bnh-prebar {
  background: #fff;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  transition: height .22s var(--bnh-ease), opacity .18s var(--bnh-ease);
}
.bnh-prebar-inner {
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.bnh-bar.is-sticky .bnh-prebar { height: 0; opacity: 0; }
.bnh-pre-creds {
  display: flex; align-items: center; gap: 18px;
  font-family: var(--font-mono);
  font-size: 11.5px; letter-spacing: 0.01em;
  color: var(--muted);
  min-width: 0;
}
.bnh-pre-creds > span { white-space: nowrap; flex: 0 0 auto; }
.bnh-pre-creds b { color: var(--ink); font-weight: 500; }
.bnh-pre-sep { width: 4px; height: 4px; border-radius: 50%; background: rgba(10,10,11,0.25); flex: 0 0 auto; }
.bnh-pre-live {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--font-mono);
  font-size: 11.5px; letter-spacing: 0.01em;
  color: var(--muted);
  white-space: nowrap;
}
.bnh-pre-live b { color: var(--ink); font-weight: 500; }
.bnh-pre-dot {
  width: 6px; height: 6px; border-radius: 50%; background: var(--blue);
}

/* refined deep-ink feature card (replaces the loud blue block) */
.bnh-feature.bnh-feature--blue {
  border: 1px solid var(--ink);
  color: var(--bone);
  padding: 26px 24px 22px;
  background: var(--ink);
}
.bnh-feature.bnh-feature--blue:hover { background: var(--ink-2); border-color: var(--ink-2); }
.bnh-feat-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(244,239,230,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(244,239,230,0.05) 1px, transparent 1px);
  background-size: 30px 30px;
  -webkit-mask: radial-gradient(130% 120% at 88% 0%, #000 0%, transparent 62%);
  mask: radial-gradient(130% 120% at 88% 0%, #000 0%, transparent 62%);
  pointer-events: none;
}
.bnh-feat-dot { display: none; }
.bnh-feature--blue .bnh-feature-tag {
  color: var(--muted-dark); margin-bottom: 18px; position: relative;
  letter-spacing: 0.04em;
}
.bnh-feature--blue .bnh-feature-tag::before { background: var(--blue); }
.bnh-feat-metric {
  position: relative;
  display: flex; align-items: baseline; gap: 9px;
  margin-bottom: 6px;
}
.bnh-feat-metric em {
  font-family: var(--font-serif); font-style: italic; font-weight: 400;
  font-size: 56px; line-height: 0.85; letter-spacing: -0.02em; color: var(--bone);
}
.bnh-feat-metric span {
  font-family: var(--font-serif); font-style: italic;
  font-size: 19px; color: rgba(244,239,230,0.62);
}
.bnh-feat-line {
  position: relative;
  font-size: 15px; line-height: 1.35; color: rgba(244,239,230,0.82);
  letter-spacing: -0.01em; margin-bottom: 20px; text-wrap: balance;
}
.bnh-feature--blue .bnh-feature-link { color: var(--bone); position: relative; }
.bnh-feature--blue .bnh-feature-link .bnh-arr { color: var(--blue); }

/* ============================================================
 * PANEL SHELL
 * ============================================================ */
.bnh-panel-layer {
  position: absolute;
  left: 0; right: 0;
  top: 100%;
  z-index: 40;
  pointer-events: none;
}
.bnh-panel-track { position: relative; }
/* positioned wrapper — its 8px top padding IS the hover bridge
   (transparent, pointer-active), so trigger→panel has no dead-zone */
.bnh-panel-pos {
  position: absolute;
  top: 0;
  padding-top: 8px;
  pointer-events: auto;
}
.bnh-panel-pos--mega { left: 0; right: 0; }
.bnh-panel {
  background: #fff;
  border: 1px solid var(--line);
  border-top: 0;
  border-radius: 0 0 14px 14px;
  overflow: hidden;
  box-shadow: var(--bnh-panel-shadow);
  animation: bnh-pop .18s var(--bnh-ease) both;
}
@keyframes bnh-pop {
  from { opacity: 0; transform: translateY(4px); }
  to   { opacity: 1; transform: translateY(0); }
}
/* static (canvas) renders skip the entrance animation so panels paint fully */
.bnh-static .bnh-panel { animation: none; opacity: 1; transform: none; }
/* mega = full container width */
.bnh-panel--mega { padding: 36px 40px 40px; }
/* dropdown = narrow, anchored under trigger */
.bnh-panel--menu {
  display: inline-block;
  min-width: 320px;
  border-radius: 14px;
  border-top: 1px solid var(--line);
  padding: 14px;
}

/* ============================================================
 * ZONE 1 — INTENT ROUTER
 * ============================================================ */
.bnh-router {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 18px 20px;
  margin-bottom: 30px;
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: 12px;
}
.bnh-router-label {
  flex: 0 0 auto;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.02em;
  color: var(--muted);
}
.bnh-router-cards {
  flex: 1 1 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.bnh-route {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  transition: background .16s var(--bnh-ease), border-color .16s var(--bnh-ease), transform .16s var(--bnh-ease);
}
.bnh-route-intent { font-size: 15px; font-weight: 500; color: var(--h-ink); letter-spacing: -0.01em; }
.bnh-route-dest {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-mono);
  font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--muted);
}
.bnh-route-dest .bnh-arr { transition: transform .18s var(--bnh-ease); }
.bnh-route:hover { background: var(--bone); border-color: rgba(10,10,11,0.28); }
.bnh-route:hover .bnh-route-dest { color: var(--bnh-hover); }
.bnh-route:hover .bnh-route-dest .bnh-arr { transform: translateX(3px); }
.bnh-route:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }

/* ============================================================
 * ZONE 2 + ZONE 3 — columns + rail
 * ============================================================ */
.bnh-lower {
  display: grid;
  grid-template-columns: 1fr var(--bnh-rail);
  gap: 40px;
}
.bnh-cols {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  align-items: stretch;
}
.bnh-col { padding: 2px 28px; min-width: 0; }
.bnh-col:first-child { padding-left: 0; }
.bnh-col:last-child { padding-right: 0; }
.bnh-col + .bnh-col { border-left: 1px solid var(--line); }
.bnh-col-head {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  min-height: 86px;
  margin-bottom: 16px;
}
.bnh-col-icon { color: var(--h-ink); flex: 0 0 auto; margin-top: 0; }
.bnh-col-title {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--h-ink);
  line-height: 1.3;
  padding-top: 0;
  text-wrap: balance;
}

/* refined icon chip — used across columns, industries, dropdowns, mobile */
.bnh-ico {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; flex: 0 0 auto;
  border-radius: 10px;
  background: linear-gradient(180deg, #2A6BFF 0%, #0655FF 100%);
  border: 1px solid rgba(3,52,184,0.55);
  color: #FFFFFF;
  box-shadow: 0 2px 6px -2px rgba(6,85,255,0.45), inset 0 1px 0 rgba(255,255,255,0.28);
  transition: border-color .18s var(--bnh-ease), color .18s var(--bnh-ease),
              background .18s var(--bnh-ease), box-shadow .18s var(--bnh-ease),
              transform .18s var(--bnh-ease);
}
.bnh-ico-sm { width: 32px; height: 32px; border-radius: 9px; }
/* hover — deepen the blue and lift */
.bnh-ind-row:hover .bnh-ico,
.bnh-menu-row:hover .bnh-ico,
.bnh-m-sublink:hover .bnh-ico,
.bnh-m-group.is-open .bnh-m-grphead .bnh-ico {
  background: linear-gradient(180deg, #0655FF 0%, #0334B8 100%);
  border-color: rgba(3,52,184,0.8);
  color: #FFFFFF;
  box-shadow: 0 8px 18px -6px rgba(6,85,255,0.55), inset 0 1px 0 rgba(255,255,255,0.32);
  transform: translateY(-1px);
}
.bnh-links { display: flex; flex-direction: column; gap: 2px; }
.bnh-link {
  display: block;
  padding: 9px 10px;
  margin: 0 -10px;
  border-radius: 8px;
  font-size: 14.5px;
  font-weight: 400;
  line-height: 1.35;
  color: rgba(10,10,11,0.82);
  letter-spacing: -0.006em;
  transition: background .15s var(--bnh-ease), color .15s var(--bnh-ease);
}
.bnh-link:hover { background: var(--paper-2); color: var(--bnh-hover); }
.bnh-link:focus-visible { outline: 2px solid var(--blue); outline-offset: -2px; }

/* rail — tinted credibility channel, bleeds to panel right + bottom edge */
.bnh-rail {
  border-left: 1px solid var(--line);
  background: var(--bone);
  margin: 0 -40px -40px 0;
  padding: 0 36px 36px 36px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.bnh-feature {
  position: relative;
  display: block;
  padding: 20px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid var(--line);
  overflow: hidden;
  transition: background .16s var(--bnh-ease), border-color .16s var(--bnh-ease), box-shadow .16s var(--bnh-ease);
}
.bnh-feature:hover { border-color: rgba(10,10,11,0.20); box-shadow: 0 10px 26px -16px rgba(10,10,11,0.28); }

/* ---- atmospheric-blue credibility channel (§14 treatment) ---- */
.bnh-rail--blue {
  border-left: 0;
  background: linear-gradient(118deg, #0858FF 0%, #0A48E0 52%, #0334B8 100%);
  color: var(--bone);
  position: relative;
  overflow: hidden;
  padding: 30px 34px 34px;
  gap: 20px;
}
/* masked white grid */
.bnh-rail--blue::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,0.11) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.11) 1px, transparent 1px);
  background-size: 30px 30px;
  -webkit-mask: radial-gradient(135% 95% at 82% 2%, #000 0%, transparent 72%);
  mask: radial-gradient(135% 95% at 82% 2%, #000 0%, transparent 72%);
}
/* faint concentric arc, upper-right */
.bnh-rail--blue::after {
  content: ""; position: absolute; right: -150px; top: -130px;
  width: 440px; height: 440px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.16);
  box-shadow: 0 0 0 40px rgba(255,255,255,0.05);
  pointer-events: none;
}
.bnh-rail--blue > * { position: relative; z-index: 1; }

/* case-study content sits directly on the blue (no inner card) */
.bnh-rail--blue .bnh-feature.bnh-feature--blue,
.bnh-rail--blue .bnh-feature.bnh-feature--blue:hover {
  background: transparent; border: 0; padding: 0; box-shadow: none;
}
.bnh-rail--blue .bnh-feat-grid { display: none; }
.bnh-rail--blue .bnh-feature-tag { color: rgba(255,255,255,0.80); margin-bottom: 16px; }
.bnh-rail--blue .bnh-feature-tag::before { background: var(--signal); }
.bnh-rail--blue .bnh-feat-metric em { color: #fff; }
.bnh-rail--blue .bnh-feat-metric span { color: rgba(255,255,255,0.68); }
.bnh-rail--blue .bnh-feat-line { color: rgba(255,255,255,0.90); margin-bottom: 18px; }
.bnh-rail--blue .bnh-feature-link { color: #fff; }
.bnh-rail--blue .bnh-feature-link .bnh-arr { color: var(--signal); }

/* credentials on blue */
.bnh-rail--blue .bnh-creds { border-color: rgba(255,255,255,0.18); }
.bnh-rail--blue .bnh-cred { color: rgba(255,255,255,0.82); }
.bnh-rail--blue .bnh-cred-tick { background: rgba(255,255,255,0.88); }
.bnh-rail--blue .bnh-cred-tick.is-blue { background: var(--signal); }

/* readiness CTA as a glass card on blue */
.bnh-rail--blue .bnh-soft {
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.26);
  color: rgba(255,255,255,0.82);
}
.bnh-rail--blue .bnh-soft:hover { background: rgba(255,255,255,0.16); border-color: rgba(255,255,255,0.42); box-shadow: none; }
.bnh-rail--blue .bnh-soft strong { color: #fff; }
.bnh-rail--blue .bnh-soft .bnh-arr { color: var(--signal); }
.bnh-rail--blue .bnh-soft-q { color: rgba(255,255,255,0.72); }
.bnh-rail--blue .bnh-soft-cta { color: #fff; }
.bnh-feature:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
.bnh-feature-accent {
  position: absolute; top: 0; left: 0;
  width: 4px; height: 100%;
  background: var(--blue);
}
.bnh-feature-tag {
  display: inline-flex; align-items: center; gap: 7px;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--muted);
  margin-bottom: 12px;
}
.bnh-feature-tag::before {
  content: ""; width: 6px; height: 6px; background: var(--blue);
}
.bnh-feature-head {
  font-size: 18px; font-weight: 500; line-height: 1.25;
  letter-spacing: -0.015em; color: var(--h-ink);
  text-wrap: balance; margin-bottom: 14px;
}
.bnh-feature-head em { font-family: var(--font-serif); font-style: italic; font-weight: 400; }
.bnh-feature-link {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 13.5px; font-weight: 500; color: var(--blue);
}
.bnh-feature-link .bnh-arr { transition: transform .18s var(--bnh-ease); }
.bnh-feature:hover .bnh-feature-link .bnh-arr { transform: translateX(3px); }

/* credential strip */
.bnh-creds {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 16px 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* credential LOGO badges — white cards, brand cert-badge pattern */
.bnh-colzone { display: flex; flex-direction: column; }
.bnh-badges-wrap { border-top: 1px solid var(--line); padding-top: 20px; }
.bnh-badges-wrap.is-row { margin-top: 32px; }
.bnh-badges-label { display: block; margin-bottom: 14px; letter-spacing: 0.02em; color: var(--muted); }
.bnh-badges { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; align-items: stretch; }
.bnh-badges.is-row { grid-template-columns: repeat(4, 1fr); gap: 12px; }
.bnh-badge {
  display: flex; align-items: center; justify-content: center;
  height: 64px; padding: 6px 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  transition: border-color .16s var(--bnh-ease), box-shadow .16s var(--bnh-ease), transform .16s var(--bnh-ease);
}
.bnh-badge:hover {
  border-color: rgba(10,10,11,0.20);
  transform: translateY(-2px);
  box-shadow: 0 12px 26px -14px rgba(10,10,11,0.30), 0 1px 3px rgba(10,10,11,0.05);
}
.bnh-badge img {
  max-height: 50px; max-width: 100%; width: auto; object-fit: contain; display: block;
}
.bnh-cred {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-mono);
  font-size: 11.5px; letter-spacing: 0.01em;
  color: rgba(10,10,11,0.66);
}
.bnh-cred-tick { width: 5px; height: 5px; background: var(--ink); flex: 0 0 auto; transform: rotate(45deg); }
.bnh-cred-tick.is-blue { background: var(--blue); }

/* soft CTA card */
.bnh-soft {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 18px 20px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid var(--line);
  font-size: 14px; line-height: 1.45; color: var(--muted);
  transition: border-color .16s var(--bnh-ease), box-shadow .16s var(--bnh-ease);
}
.bnh-soft:hover { border-color: rgba(10,10,11,0.22); box-shadow: 0 8px 20px -14px rgba(10,10,11,0.25); }
.bnh-soft:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
.bnh-soft strong { color: var(--blue); font-weight: 500; }
.bnh-soft .bnh-arr { color: var(--blue); }
.bnh-soft-q { font-size: 12.5px; line-height: 1.3; color: var(--muted); }
.bnh-soft-cta {
  font-size: 14.5px; font-weight: 500; line-height: 1.4;
  letter-spacing: -0.01em; color: var(--h-ink);
  display: block;
}
.bnh-soft-cta .bnh-arr { margin-left: 4px; }

/* ============================================================
 * INDUSTRIES — two-column row list
 * ============================================================ */
.bnh-ind-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 0 16px; margin-bottom: 16px;
  border-bottom: 1px solid var(--line);
}
.bnh-ind-head .bnh-mono { letter-spacing: 0.08em; }
.bnh-viewall {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 13.5px; font-weight: 500; color: var(--blue);
}
.bnh-viewall .bnh-arr { transition: transform .18s var(--bnh-ease); }
.bnh-viewall:hover .bnh-arr { transform: translateX(3px); }
.bnh-ind-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px 40px;
}
.bnh-ind-row {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 12px 12px;
  margin: 0 -12px;
  border-radius: 10px;
  transition: background .15s var(--bnh-ease);
}
.bnh-ind-row:hover { background: var(--paper-2); }
.bnh-ind-row:focus-visible { outline: 2px solid var(--blue); outline-offset: -2px; }
.bnh-ind-icon {
  flex: 0 0 auto; color: var(--h-ink);
  margin-top: 1px;
  transition: color .15s var(--bnh-ease);
}
.bnh-ind-row:hover .bnh-ind-name { color: var(--bnh-hover); }
.bnh-ind-name {
  display: block;
  font-size: 15px; font-weight: 500; color: var(--h-ink);
  letter-spacing: -0.01em; margin-bottom: 3px;
  transition: color .15s var(--bnh-ease);
}
.bnh-ind-proof { display: block; font-size: 12.5px; line-height: 1.4; color: var(--muted); }

/* ============================================================
 * MENU PANELS (Company / Resources)
 * ============================================================ */
.bnh-menu-list { display: flex; flex-direction: column; }
.bnh-menu-row {
  display: flex; align-items: center; gap: 14px;
  min-height: 48px;
  padding: 8px 14px;
  border-radius: 10px;
  transition: background .15s var(--bnh-ease);
}
.bnh-menu-row:hover { background: var(--paper-2); }
.bnh-menu-row:focus-visible { outline: 2px solid var(--blue); outline-offset: -2px; }
.bnh-menu-icon { flex: 0 0 auto; color: var(--h-ink); }
.bnh-menu-name {
  display: block;
  white-space: nowrap;
  font-size: 14.5px; font-weight: 500; color: var(--h-ink);
  letter-spacing: -0.01em;
  transition: color .15s var(--bnh-ease);
}
.bnh-menu-row:hover .bnh-menu-name { color: var(--bnh-hover); }
.bnh-menu-sub { display: block; white-space: nowrap; font-size: 12px; color: var(--muted); margin-top: 1px; }
.bnh-menu-foot {
  margin: 10px 6px 4px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 11px; letter-spacing: 0.04em; line-height: 1.5;
  color: var(--muted);
}
.bnh-menu-foot b { color: var(--h-ink); font-weight: 600; }

/* ============================================================
 * INTERACTION-STATE SPECIMEN BOARD
 * ============================================================ */
.bnh-spec { display: flex; flex-direction: column; gap: 28px; }
.bnh-spec-group { }
.bnh-spec-row {
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
}
.bnh-spec-cell {
  display: flex; flex-direction: column; align-items: flex-start; gap: 10px;
}
.bnh-spec-lab {
  font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--muted);
}
.bnh-spec-stage {
  padding: 14px 16px; background: #fff; border: 1px solid var(--line-soft);
  border-radius: 12px;
}

/* static state echoes (force visual without :hover) */
.bnh-trigger.demo-hover, .bnh-trigger.demo-active { background: var(--paper-2); color: var(--bnh-hover); }
.bnh-trigger.demo-active .bnh-caret { transform: rotate(180deg); color: var(--bnh-hover); }
.bnh-trigger.demo-focus { outline: 2px solid var(--blue); outline-offset: 2px; }
.bnh-cta.demo-hover { background: var(--ink-2); }
.bnh-cta.demo-hover .bnh-arr { transform: translateX(4px); }
.bnh-cta.demo-focus { outline: 2px solid var(--blue); outline-offset: 2px; }
.bnh-link.demo-hover { background: var(--paper-2); color: var(--bnh-hover); }

/* ============================================================
 * MOBILE
 * ============================================================ */
.bnh-m { position: relative; background: #fff; height: 100%; display: flex; flex-direction: column; overflow: hidden; }
.bnh-m-bar {
  height: 56px; flex: 0 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 16px;
  border-bottom: 1px solid var(--line);
  background: #fff;
}
.bnh-m-bar img { height: 26px; width: auto; display: block; }
.bnh-m-burger {
  width: 44px; height: 44px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 8px; color: var(--ink);
}
.bnh-m-burger:hover { background: var(--paper-2); }

.bnh-m-drawer {
  flex: 1 1 auto;
  display: flex; flex-direction: column;
  overflow: hidden;
}
.bnh-m-scroll { flex: 1 1 auto; overflow-y: auto; }
.bnh-m-acc { border-bottom: 1px solid var(--line); }
.bnh-m-accbtn {
  width: 100%;
  display: flex; align-items: center; justify-content: space-between;
  min-height: 56px; padding: 0 16px;
  text-align: left;
  font-size: 16px; font-weight: 500; color: var(--h-ink);
  letter-spacing: -0.01em;
}
.bnh-m-accbtn:hover { background: var(--paper-2); }
.bnh-m-chev { width: 18px; height: 18px; color: rgba(10,10,11,0.45); transition: transform .22s var(--bnh-ease); }
.bnh-m-acc.is-open .bnh-m-chev { transform: rotate(180deg); }
.bnh-m-group.is-open > .bnh-m-grpbtn .bnh-m-chev { transform: rotate(180deg); }
.bnh-m-acc.is-open > .bnh-m-accbtn { color: var(--blue); }
.bnh-m-panel { padding: 4px 16px 18px; background: var(--bone); }

.bnh-m-routers { display: flex; flex-direction: column; gap: 8px; padding: 12px 0 6px; }
.bnh-m-route {
  display: flex; flex-direction: column; gap: 4px;
  padding: 12px 14px; background: #fff; border: 1px solid var(--line); border-radius: 10px;
}
.bnh-m-route-intent { font-size: 14.5px; font-weight: 500; color: var(--h-ink); }
.bnh-m-route-dest {
  font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--blue);
}
.bnh-m-group { border-top: 1px solid var(--line); }
.bnh-m-grpbtn {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  min-height: 48px; gap: 10px; text-align: left;
}
.bnh-m-grphead { flex: 1 1 auto; min-width: 0; display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 600; color: var(--h-ink); }
.bnh-ico svg { color: #FFFFFF; }
.bnh-m-chev { flex: 0 0 auto; }
.bnh-m-sublink {
  display: flex; align-items: center; min-height: 48px; padding: 0 8px 0 30px;
  font-size: 14.5px; color: rgba(10,10,11,0.82);
}
.bnh-m-sublink--ico { gap: 12px; padding: 6px 8px; }
.bnh-m-sublink:hover { color: var(--bnh-hover); }
.bnh-m-simple {
  display: flex; align-items: center; min-height: 56px; padding: 0 16px;
  font-size: 16px; font-weight: 500; color: var(--h-ink); letter-spacing: -0.01em;
  border-bottom: 1px solid var(--line);
}
.bnh-m-simple:hover { background: var(--paper-2); color: var(--bnh-hover); }

.bnh-m-feature { margin: 14px 0 6px; }
/* mobile blue case card — reuse §14 channel, sized for a small card */
.bnh-m-feature.bnh-rail--blue {
  margin: 14px 0 6px;
  padding: 22px;
  border-radius: 14px;
  gap: 14px;
}
.bnh-m-feature.bnh-rail--blue::after { display: none; }
.bnh-m-cta-wrap { flex: 0 0 auto; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: #fff; }
.bnh-m-cta {
  display: flex; align-items: center; justify-content: center; gap: 9px;
  height: 52px; width: 100%; border-radius: 999px;
  background: var(--ink); color: var(--bone); font-size: 15px; font-weight: 500;
}
.bnh-m-cta:active { background: #000; }


/* ============================================================
 * FINAL PAGE — responsive show/hide, sticky, drawer overlay, page body
 * ============================================================ */
html, body { margin: 0; background: var(--paper); }
body.bn-type { font: var(--type-body); color: var(--ink); }
.bnh-brand svg { height: 30px; width: auto; display: block; }
.bnh-m-bar .bnh-brand svg { height: 26px; }

.bnh-bar { position: sticky; top: 0; }
.bnh-m { display: none; }
@media (max-width: 960px) {
  .bnh-bar { display: none; }
  .bnh-m { display: block; position: sticky; top: 0; z-index: 50; background: #fff; height: auto; }
}
.bnh-m-drawer {
  position: fixed; top: 56px; left: 0; right: 0; bottom: 0; z-index: 60;
  display: flex; flex-direction: column; background: #fff;
}
.bnh-m-drawer[hidden] { display: none; }
/* panels appear instantly on show — no dependency on a replayed entrance animation */
.bnh-panel { animation: none !important; opacity: 1 !important; transform: none !important; }
.bnh-m .mclose { display: none; }
.bnh-m.is-open .mopen { display: none; }
.bnh-m.is-open .mclose { display: inline-flex; }
.bnh-m-burger .mopen, .bnh-m-burger .mclose { align-items: center; justify-content: center; }

/* page body (demo content so the header has context + scroll room) */
.page { }
.page-hero { padding: 96px 24px 80px; max-width: 1280px; margin: 0 auto; }
.page-hero .eyebrow { color: var(--blue); margin: 0 0 20px; }
.page-hero h1 {
  font: 500 clamp(40px, 6vw, 84px)/0.98 var(--font-sans);
  letter-spacing: -0.035em; margin: 0 0 24px; max-width: 16ch; text-wrap: balance;
}
.page-hero h1 em { font-family: var(--font-serif); font-style: italic; font-weight: 400; letter-spacing: -0.02em; }
.page-hero p.lede { font: 400 clamp(18px,1.4vw,21px)/1.5 var(--font-sans); color: var(--muted); max-width: 60ch; margin: 0 0 36px; text-wrap: pretty; }
.page-hero .actions { display: flex; gap: 14px; flex-wrap: wrap; }
.page-cta-primary {
  display: inline-flex; align-items: center; gap: 9px; height: 52px; padding: 0 28px;
  border-radius: 999px; background: var(--ink); color: var(--bone); font-size: 16px; font-weight: 500;
  text-decoration: none; transition: background .16s var(--t1);
}
.page-cta-primary:hover { background: var(--ink-2); }
.page-cta-ghost {
  display: inline-flex; align-items: center; gap: 9px; height: 52px; padding: 0 26px;
  border-radius: 999px; background: #fff; color: var(--ink); border: 1px solid var(--line);
  font-size: 16px; font-weight: 500; text-decoration: none; transition: border-color .16s var(--t1);
}
.page-cta-ghost:hover { border-color: rgba(10,10,11,0.3); }
.page-band {
  background: var(--ink); color: var(--bone);
  padding: 100px 24px; text-align: center;
}
.page-band p { font-family: var(--font-mono); font-size: 13px; letter-spacing: 0.06em; color: var(--muted-dark); text-transform: uppercase; }
.page-fill { height: 600px; }