:root {
  --bni-red: #b5121b;
  --bni-red-dark: #8e0e16;
  --bni-charcoal: #1f2933;
  --bni-deep: #101828;
  --bni-muted: #667085;
  --bni-bg: #f8f9fb;
  --bni-border: #e5e7eb;
  --bni-gold: #d4a017;
  --bni-white: #ffffff;
}

* { box-sizing: border-box; }
body { margin: 0; font-family: Inter, Roboto, Arial, sans-serif; color: var(--bni-charcoal); background: #fff; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }

.bni-container { width: min(100% - 40px, 1280px); margin: 0 auto; }
.bni-container.narrow { width: min(100% - 40px, 800px); }
.centered { text-align: center; }

.bni-site-header { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.96); border-bottom: 1px solid #f1f2f4; backdrop-filter: blur(14px); }
.bni-header-inner { min-height: 80px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.bni-brand, .bni-footer-brand { display: inline-flex; align-items: center; gap: 12px; }
.bni-brand strong, .bni-footer-brand strong { display: block; font-weight: 900; font-size: 18px; line-height: 1; }
.bni-brand small, .bni-footer-brand small { display: block; margin-top: 6px; color: var(--bni-muted); font-size: 12px; text-transform: uppercase; letter-spacing: .12em; font-weight: 700; }
.bni-logo-mark { width: 44px; height: 44px; border-radius: 12px; background: var(--bni-red); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-weight: 900; font-size: 20px; }
.bni-menu { list-style: none; display: flex; gap: 28px; align-items: center; padding: 0; margin: 0; }
.bni-menu a { font-size: 14px; font-weight: 800; color: #344054; }
.bni-menu a:hover { color: var(--bni-red); }
.bni-header-cta { background: var(--bni-red); color: #fff; font-weight: 800; font-size: 14px; padding: 13px 20px; border-radius: 12px; }
.bni-header-cta:hover { background: var(--bni-red-dark); }
.bni-menu-toggle { display: none; border: 0; background: transparent; font-size: 28px; cursor: pointer; }

.bni-notice { background: #fff8e1; border: 1px solid #f0d98c; padding: 14px 18px; margin: 18px auto 0; border-radius: 12px; width: min(100% - 40px, 1280px); }

.bni-hero, .bni-page-hero, .bni-profile-hero { position: relative; overflow: hidden; background: linear-gradient(#fff, var(--bni-bg)); padding: 72px 0; }
.bni-bg-orb { position: absolute; right: -80px; top: -80px; width: 300px; height: 300px; border-radius: 999px; background: rgba(181, 18, 27, .10); filter: blur(45px); }
.bni-hero-grid { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.bni-eyebrow, .bni-section-header span, .bni-panel span, .bni-dark-cta span { display: inline-flex; align-items: center; gap: 8px; color: var(--bni-red); font-size: 13px; font-weight: 900; text-transform: uppercase; letter-spacing: .16em; }
.bni-hero h1, .bni-page-hero h1 { font-size: clamp(42px, 5vw, 64px); line-height: 1.02; letter-spacing: -.04em; margin: 18px 0 0; font-weight: 950; color: var(--bni-charcoal); }
.bni-page-hero h1 span, .bni-hero h1 span { color: var(--bni-red); }
.bni-hero p, .bni-page-hero p { color: var(--bni-muted); font-size: 18px; line-height: 1.8; max-width: 720px; }
.bni-actions { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; margin-top: 30px; }
.centered-actions { justify-content: center; }
.wrap { flex-wrap: wrap; }
.bni-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border-radius: 13px; padding: 13px 20px; font-weight: 900; font-size: 14px; border: 1px solid transparent; cursor: pointer; transition: .2s ease; }
.bni-btn-primary { background: var(--bni-red); color: #fff; }
.bni-btn-primary:hover { background: var(--bni-red-dark); transform: translateY(-1px); }
.bni-btn-outline { border-color: var(--bni-red); color: var(--bni-red); background: #fff; }
.bni-btn-outline:hover { background: #fff3f4; transform: translateY(-1px); }
.bni-btn-light { background: #fff; color: var(--bni-charcoal); }
.bni-btn-dark-outline { border-color: rgba(255,255,255,.4); color: #fff; background: transparent; }
.bni-btn.full, .full { width: 100%; }

.bni-meeting-strip { margin-top: 30px; background: #fff; border: 1px solid #f0f1f3; box-shadow: 0 10px 25px rgba(16,24,40,.06); border-radius: 18px; padding: 14px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.bni-meeting-strip span { background: #fff7f7; border-radius: 12px; padding: 12px; font-weight: 800; font-size: 13px; color: #344054; }
.bni-hero-card { position: relative; }
.bni-floating-stat { position: absolute; left: -24px; bottom: -24px; z-index: 2; background: #fff; box-shadow: 0 18px 40px rgba(16,24,40,.14); padding: 20px; border-radius: 18px; }
.bni-floating-stat strong { display: block; color: var(--bni-red); font-size: 34px; line-height: 1; }
.bni-floating-stat span { color: var(--bni-muted); font-weight: 800; font-size: 13px; }
.bni-photo-placeholder { aspect-ratio: 4/3; border-radius: 32px; overflow: hidden; background: radial-gradient(circle at top left, var(--bni-red), var(--bni-charcoal) 44%, var(--bni-deep)); color: #fff; display: flex; align-items: center; justify-content: center; text-align: center; box-shadow: 0 24px 70px rgba(16,24,40,.20); }
.bni-photo-placeholder > div { padding: 34px; }
.bni-photo-placeholder strong { display: block; font-size: 26px; font-weight: 950; }
.bni-photo-placeholder small { display: block; color: rgba(255,255,255,.75); line-height: 1.7; max-width: 400px; margin-top: 12px; }
.bni-large-icon { display: block; font-size: 64px; margin-bottom: 16px; }

.bni-snapshot { background: var(--bni-bg); padding: 0 0 64px; }
.bni-stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.bni-stat { background: #fff; border: 1px solid #f0f1f3; border-radius: 22px; padding: 26px; text-align: center; box-shadow: 0 8px 24px rgba(16,24,40,.05); }
.bni-stat strong { display: block; color: var(--bni-red); font-size: 40px; font-weight: 950; }
.bni-stat span { color: var(--bni-muted); font-size: 14px; font-weight: 800; }

.bni-section { padding: 88px 0; }
.bni-white { background: #fff; }
.bni-muted { background: var(--bni-bg); }
.bni-section-header { max-width: 780px; margin-bottom: 44px; }
.bni-section-header.centered { margin-left: auto; margin-right: auto; }
.bni-section-header.split { max-width: none; display: flex; justify-content: space-between; gap: 24px; align-items: end; }
.bni-section-header h2, .bni-section h2, .bni-panel h2 { color: var(--bni-charcoal); font-size: clamp(30px, 3vw, 42px); line-height: 1.1; letter-spacing: -.03em; margin: 12px 0 0; font-weight: 950; }
.bni-section-header p, .bni-section p, .bni-panel p { color: var(--bni-muted); line-height: 1.75; font-size: 16px; }
.bni-card-grid { display: grid; gap: 24px; }
.bni-card-grid.four { grid-template-columns: repeat(4, 1fr); }
.bni-card-grid.three { grid-template-columns: repeat(3, 1fr); }
.bni-info-card, .bni-profile-mini, .bni-testimonial, .bni-member-card, .bni-panel { background: #fff; border: 1px solid #f0f1f3; border-radius: 24px; padding: 26px; box-shadow: 0 8px 24px rgba(16,24,40,.05); }
.bni-info-card:hover, .bni-profile-mini:hover, .bni-member-card:hover { transform: translateY(-3px); box-shadow: 0 18px 40px rgba(16,24,40,.08); transition: .2s ease; }
.bni-icon-bubble { width: 52px; height: 52px; border-radius: 16px; background: #fff0f1; display: flex; align-items: center; justify-content: center; font-size: 24px; margin-bottom: 18px; }
.bni-info-card h3, .bni-profile-mini h3, .bni-member-card h3 { margin: 0; font-size: 19px; font-weight: 950; color: var(--bni-charcoal); }
.bni-info-card p { font-size: 14px; }
.bni-two-col { display: grid; grid-template-columns: .8fr 1.2fr; gap: 48px; align-items: center; }
.bni-chip-wrap { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 28px; }
.bni-chip-wrap.compact { gap: 8px; margin-bottom: 0; }
.bni-chip { display: inline-flex; background: #fff; border: 1px solid #ffe0e2; border-radius: 999px; padding: 9px 14px; font-weight: 900; color: #344054; font-size: 13px; }
.bni-avatar { width: 96px; height: 96px; border-radius: 999px; margin: 0 auto 18px; background: var(--bni-charcoal); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 22px; font-weight: 950; overflow: hidden; }
.bni-avatar.square { border-radius: 18px; margin: 0; width: 80px; height: 80px; flex: 0 0 80px; }
.bni-profile-mini { text-align: center; }
.bni-profile-mini span { display: inline-flex; background: #fff0f1; color: var(--bni-red); border-radius: 999px; padding: 6px 12px; font-size: 12px; font-weight: 900; text-transform: uppercase; letter-spacing: .08em; }
.bni-profile-mini h3 { margin-top: 16px; }
.bni-profile-mini p { margin: 6px 0 0; font-size: 14px; }
.bni-cta-section { background: #fff; padding: 32px 0; }
.bni-dark-cta { background: var(--bni-charcoal); color: #fff; border-radius: 32px; padding: 58px; box-shadow: 0 20px 55px rgba(16,24,40,.18); }
.bni-dark-cta.centered { text-align: center; }
.bni-dark-cta.split-cta { display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: center; }
.bni-dark-cta span { color: var(--bni-gold); }
.bni-dark-cta h2 { color: #fff; font-size: clamp(30px, 3vw, 42px); margin: 14px 0; line-height: 1.1; }
.bni-dark-cta p { color: rgba(255,255,255,.75); max-width: 760px; margin-left: auto; margin-right: auto; }
.vertical-actions { flex-direction: column; margin-top: 0; }
.bni-testimonial div { color: #ffe0e2; font-size: 62px; line-height: .6; font-weight: 950; }
.bni-testimonial strong { display: block; margin-top: 18px; }
.bni-gallery-preview { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 180px; gap: 16px; }
.bni-gallery-box { border-radius: 22px; border: 1px solid #f0f1f3; background: linear-gradient(135deg, #f2f4f7, #fff); display: flex; flex-direction: column; align-items: center; justify-content: center; color: var(--bni-red); font-size: 34px; font-weight: 900; overflow: hidden; }
.bni-gallery-box.large { grid-column: span 2; grid-row: span 2; }
.bni-gallery-box span { color: #344054; font-size: 13px; margin-top: 10px; }

.bni-page-hero-grid { position: relative; display: grid; grid-template-columns: .95fr 1.05fr; gap: 48px; align-items: end; }
.bni-page-hero.simple { padding: 86px 0; }
.bni-roster-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; background: #fff; border: 1px solid #f0f1f3; border-radius: 32px; padding: 20px; box-shadow: 0 18px 42px rgba(16,24,40,.10); }
.bni-roster-stats div { background: #fff6f7; border-radius: 18px; padding: 22px; }
.bni-roster-stats div.dark { background: var(--bni-charcoal); color: #fff; }
.bni-roster-stats strong { display: block; font-size: 32px; font-weight: 950; }
.bni-roster-stats span { color: var(--bni-muted); font-size: 13px; font-weight: 900; }
.bni-roster-stats .dark span { color: rgba(255,255,255,.72); }
.bni-roster-filter-wrap { position: sticky; top: 80px; z-index: 50; background: rgba(255,255,255,.96); border-bottom: 1px solid #f0f1f3; padding: 18px 0; backdrop-filter: blur(12px); }
.bni-filter-bar { background: #fff; border: 1px solid #f0f1f3; border-radius: 20px; padding: 14px; box-shadow: 0 8px 24px rgba(16,24,40,.05); display: grid; grid-template-columns: 1.4fr .8fr .7fr auto; gap: 12px; }
.bni-filter-bar input, .bni-filter-bar select { height: 48px; border: 1px solid #d9dde5; border-radius: 12px; padding: 0 14px; font-size: 14px; font-weight: 700; background: var(--bni-bg); color: var(--bni-charcoal); }
.bni-roster-section { padding-top: 56px; }
.bni-member-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.bni-member-card-top { display: flex; gap: 16px; align-items: flex-start; }
.bni-card-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.bni-card-badges span { background: #fff0f1; color: var(--bni-red); border-radius: 999px; padding: 6px 10px; font-size: 11px; font-weight: 950; text-transform: uppercase; letter-spacing: .07em; }
.bni-card-badges span.gold { background: #fff7dc; color: #936200; }
.bni-card-badges span.neutral { background: var(--bni-bg); color: #344054; }
.bni-member-card h3 { margin-top: 0; }
.bni-member-card-top p { margin: 6px 0 0; font-size: 13px; font-weight: 800; color: var(--bni-muted); }
.bni-card-intro { min-height: 72px; font-size: 14px; color: #475467; }
.bni-referral-box { background: var(--bni-bg); border-radius: 18px; padding: 16px; margin: 18px 0; }
.bni-referral-box strong { color: var(--bni-red); text-transform: uppercase; letter-spacing: .12em; font-size: 11px; }
.bni-referral-box p { margin: 8px 0 0; font-size: 14px; color: #344054; }
.small-actions { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 18px; }
.small-actions a { background: #fff0f1; color: var(--bni-red); border-radius: 10px; padding: 8px 10px; font-size: 12px; font-weight: 900; }
.bni-empty-state { background: #fff; border: 1px solid #f0f1f3; border-radius: 24px; padding: 44px; text-align: center; }

.bni-profile-hero { padding: 44px 0 72px; }
.bni-back-link { display: inline-flex; color: var(--bni-red); font-weight: 900; margin-bottom: 28px; }
.bni-profile-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 32px; align-items: stretch; }
.bni-profile-photo-card, .bni-profile-summary { background: #fff; border: 1px solid #f0f1f3; border-radius: 32px; padding: 26px; box-shadow: 0 18px 45px rgba(16,24,40,.10); }
.bni-profile-photo { aspect-ratio: 1; border-radius: 24px; overflow: hidden; background: radial-gradient(circle at top left, var(--bni-red), var(--bni-charcoal) 45%, var(--bni-deep)); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 64px; font-weight: 950; }
.bni-profile-quick-actions { margin-top: 18px; display: grid; gap: 12px; }
.bni-profile-summary h1 { font-size: clamp(40px, 4vw, 58px); line-height: 1; letter-spacing: -.04em; margin: 18px 0 0; }
.bni-profile-summary h2 { color: var(--bni-muted); font-size: 22px; margin: 10px 0 0; }
.bni-profile-summary > p { font-size: 18px; line-height: 1.75; color: #475467; }
.bni-profile-facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin: 28px 0; }
.bni-profile-facts div { background: var(--bni-bg); border-radius: 18px; padding: 16px; }
.bni-profile-facts strong { display: block; color: var(--bni-muted); text-transform: uppercase; letter-spacing: .08em; font-size: 11px; }
.bni-profile-facts span { display: block; margin-top: 6px; font-weight: 900; }
.bni-content-sidebar { display: grid; grid-template-columns: 1fr 360px; gap: 30px; align-items: start; }
.bni-profile-content { display: grid; gap: 28px; }
.bni-sidebar { position: sticky; top: 110px; display: grid; gap: 22px; }
.bni-panel span { color: var(--bni-red); }
.bni-panel p { color: #475467; }
.bni-service-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 22px; }
.bni-service-grid div { background: var(--bni-bg); border: 1px solid #f0f1f3; border-radius: 16px; padding: 14px; font-weight: 900; }
.bni-two-card-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.red-panel { background: #fff5f6; border-color: #ffd8dc; }
.bni-mini-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 22px; }
.bni-mini-gallery div { min-height: 140px; background: var(--bni-bg); border-radius: 18px; display: flex; flex-direction: column; align-items: center; justify-content: center; font-size: 34px; color: var(--bni-red); }
.bni-mini-gallery small { color: var(--bni-muted); font-weight: 900; font-size: 12px; }
.bni-sidebar-links { display: grid; gap: 10px; margin-top: 16px; }
.bni-sidebar-links a { background: var(--bni-bg); border-radius: 14px; padding: 13px; color: #344054; font-weight: 900; overflow-wrap: anywhere; }
.bni-check-list { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 12px; }
.bni-check-list li { position: relative; padding-left: 28px; color: #475467; line-height: 1.6; }
.bni-check-list li:before { content: '✓'; position: absolute; left: 0; top: 0; color: var(--bni-red); font-weight: 950; }

.bni-footer { background: var(--bni-deep); color: #fff; padding: 56px 0 0; }
.bni-footer-grid { display: grid; grid-template-columns: 1.2fr .8fr .8fr 1fr; gap: 42px; }
.bni-footer p, .bni-footer-links, .bni-footer-links a { color: rgba(255,255,255,.62); line-height: 1.7; font-size: 14px; }
.bni-footer h4 { margin: 0 0 16px; }
.bni-footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.bni-footer .bni-logo-mark { background: var(--bni-red); }
.bni-footer-brand small { color: rgba(255,255,255,.48); }
.bni-footer-bottom { border-top: 1px solid rgba(255,255,255,.10); margin-top: 48px; padding: 22px 0; color: rgba(255,255,255,.45); font-size: 13px; }

@media (max-width: 1000px) {
  .bni-menu-toggle { display: block; }
  .bni-primary-nav { display: none; position: absolute; top: 80px; left: 0; right: 0; background: #fff; padding: 18px 20px; border-bottom: 1px solid #f0f1f3; }
  .bni-primary-nav.is-open { display: block; }
  .bni-menu { display: grid; gap: 12px; }
  .bni-header-cta { display: none; }
  .bni-hero-grid, .bni-page-hero-grid, .bni-two-col, .bni-profile-grid, .bni-content-sidebar, .bni-dark-cta.split-cta { grid-template-columns: 1fr; }
  .bni-card-grid.four, .bni-card-grid.three, .bni-member-grid, .bni-footer-grid { grid-template-columns: repeat(2, 1fr); }
  .bni-meeting-strip, .bni-stat-grid, .bni-filter-bar { grid-template-columns: repeat(2, 1fr); }
  .bni-sidebar { position: static; }
}

@media (max-width: 680px) {
  .bni-container { width: min(100% - 28px, 1280px); }
  .bni-hero, .bni-page-hero { padding: 52px 0; }
  .bni-section { padding: 62px 0; }
  .bni-card-grid.four, .bni-card-grid.three, .bni-member-grid, .bni-footer-grid, .bni-meeting-strip, .bni-stat-grid, .bni-filter-bar, .bni-profile-facts, .bni-service-grid, .bni-two-card-row, .bni-mini-gallery, .bni-roster-stats { grid-template-columns: 1fr; }
  .bni-section-header.split { display: block; }
  .bni-gallery-preview { grid-template-columns: 1fr; grid-auto-rows: 170px; }
  .bni-gallery-box.large { grid-column: auto; grid-row: auto; }
  .bni-dark-cta { padding: 34px 22px; border-radius: 24px; }
  .bni-floating-stat { display: none; }
  .bni-member-card-top { align-items: center; }
}
