:root {
  --bnx-ink: #10221f;
  --bnx-ink-2: #19342e;
  --bnx-paper: #f4f1e8;
  --bnx-paper-2: #fbfaf6;
  --bnx-mist: #e4ebe6;
  --bnx-sage: #6f9788;
  --bnx-sage-dark: #456c5f;
  --bnx-amber: #c79a4a;
  --bnx-line: rgba(16, 34, 31, 0.16);
  --bnx-muted: #52625d;
  --bnx-white: #fff;
  --bnx-shadow: 0 24px 70px rgba(16, 34, 31, 0.10);
  --bnx-radius: 28px;
  --bnx-content: 1180px;
  --bnx-gutter: clamp(20px, 4vw, 64px);
  --bnx-section: clamp(76px, 10vw, 148px);
  --bnx-display: clamp(3rem, 7.4vw, 7rem);
  --bnx-h2: clamp(2.1rem, 4.4vw, 4.4rem);
  --bnx-h3: clamp(1.35rem, 2.2vw, 2rem);
  --bnx-body: clamp(1rem, 1vw, 1.14rem);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--bnx-paper);
  color: var(--bnx-ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: var(--bnx-body);
  line-height: 1.62;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
body.bnx-menu-open { overflow: hidden; }
a { color: inherit; text-decoration-thickness: .08em; text-underline-offset: .18em; }
img { max-width: 100%; height: auto; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid var(--bnx-amber); outline-offset: 4px; }
.screen-reader-text {
  border: 0; clip: rect(1px,1px,1px,1px); clip-path: inset(50%); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute; width: 1px; word-wrap: normal !important;
}

.bnx-skip-link {
  position: fixed; z-index: 9999; top: 12px; left: 12px; transform: translateY(-150%);
  background: var(--bnx-ink); color: #fff; padding: 10px 14px; border-radius: 999px;
}
.bnx-skip-link:focus { transform: translateY(0); }

.bnx-site-header {
  position: sticky; top: 0; z-index: 90; border-bottom: 1px solid transparent;
  background: rgba(244, 241, 232, .92); backdrop-filter: blur(18px);
  transition: border-color .2s ease, box-shadow .2s ease;
}
.bnx-site-header.is-scrolled { border-bottom-color: var(--bnx-line); box-shadow: 0 10px 40px rgba(16,34,31,.05); }
.bnx-header-inner {
  width: min(calc(100% - (var(--bnx-gutter) * 2)), var(--bnx-content)); margin: 0 auto;
  min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 32px;
}
.bnx-brand { display: inline-flex; align-items: baseline; gap: 8px; text-decoration: none; line-height: 1; letter-spacing: -.035em; }
.bnx-brand-word { font-weight: 840; font-size: 1.05rem; }
.bnx-brand-sub { font-size: .67rem; letter-spacing: .18em; font-weight: 700; color: var(--bnx-sage-dark); }
.bnx-brand-logo img { max-height: 52px; width: auto; display: block; }
.bnx-brand-logo .custom-logo-link { display: block; }
.bnx-primary-nav { display: flex; align-items: center; gap: 22px; }
.bnx-menu { display: flex; list-style: none; align-items: center; gap: 28px; padding: 0; margin: 0; }
.bnx-menu a { text-decoration: none; font-size: .91rem; font-weight: 650; color: #31433e; }
.bnx-menu a:hover { color: var(--bnx-ink); }
.bnx-header-cta, .bnx-button, .wp-block-button__link {
  display: inline-flex; align-items: center; justify-content: center; min-height: 48px;
  border: 1px solid var(--bnx-ink); border-radius: 999px; padding: 0 22px;
  background: var(--bnx-ink); color: var(--bnx-white) !important; text-decoration: none !important;
  font-weight: 760; font-size: .93rem; transition: transform .18s ease, background .18s ease, color .18s ease;
}
.bnx-header-cta:hover, .bnx-button:hover, .wp-block-button__link:hover { transform: translateY(-2px); background: var(--bnx-ink-2); }
.bnx-button.is-secondary, .bnx-hero .wp-block-button.is-style-outline .wp-block-button__link {
  background: transparent; color: var(--bnx-ink) !important; border-color: var(--bnx-line);
}
.bnx-button.is-secondary:hover, .bnx-hero .wp-block-button.is-style-outline .wp-block-button__link:hover { border-color: var(--bnx-ink); }
.bnx-menu-toggle { display: none; width: 48px; height: 48px; border: 1px solid var(--bnx-line); border-radius: 999px; background: transparent; position: relative; }
.bnx-menu-toggle span:not(.screen-reader-text) { position: absolute; left: 14px; width: 18px; height: 2px; background: var(--bnx-ink); transition: .2s ease; }
.bnx-menu-toggle span:nth-child(2) { top: 19px; }
.bnx-menu-toggle span:nth-child(3) { top: 26px; }
.bnx-menu-toggle[aria-expanded="true"] span:nth-child(2) { transform: translateY(3.5px) rotate(45deg); }
.bnx-menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-3.5px) rotate(-45deg); }

.bnx-main { overflow: hidden; }
.bnx-section { position: relative; padding: var(--bnx-section) var(--bnx-gutter); }
.bnx-section > .wp-block-group__inner-container,
.bnx-section .bnx-shell,
.bnx-section > :where(.wp-block-columns,.wp-block-group,.wp-block-heading,.wp-block-paragraph,.wp-block-buttons,.wp-block-shortcode,.wp-block-html) {
  max-width: var(--bnx-content); margin-left: auto; margin-right: auto;
}
.bnx-section .alignwide { max-width: var(--bnx-content); }
.bnx-eyebrow {
  display: inline-flex; align-items: center; gap: 10px; margin: 0 0 22px;
  text-transform: uppercase; letter-spacing: .16em; font-weight: 780; font-size: .72rem; color: var(--bnx-sage-dark);
}
.bnx-eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.bnx-section h1, .bnx-section h2, .bnx-section h3, .bnx-document h1, .bnx-error-page h1 { margin-top: 0; line-height: .98; letter-spacing: -.055em; text-wrap: balance; }
.bnx-section h2 { font-size: var(--bnx-h2); margin-bottom: 28px; }
.bnx-section h3 { font-size: var(--bnx-h3); line-height: 1.08; letter-spacing: -.035em; }
.bnx-lede { font-size: clamp(1.1rem, 1.5vw, 1.34rem); color: var(--bnx-muted); max-width: 760px; }
.bnx-kicker { font-weight: 760; letter-spacing: -.01em; }

.bnx-hero { min-height: min(820px, calc(100vh - 82px)); padding-top: clamp(70px, 8vw, 118px); padding-bottom: clamp(74px, 8vw, 120px); display: flex; align-items: center; }
.bnx-hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .55;
  background-image: linear-gradient(var(--bnx-line) 1px, transparent 1px), linear-gradient(90deg, var(--bnx-line) 1px, transparent 1px);
  background-size: 72px 72px; mask-image: linear-gradient(to bottom, rgba(0,0,0,.9), transparent 85%);
}
.bnx-hero .wp-block-group__inner-container { width: min(100%, var(--bnx-content)); position: relative; z-index: 1; }
.bnx-hero-grid { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(300px, .75fr); align-items: end; gap: clamp(38px, 7vw, 100px); }
.bnx-hero h1 { font-size: var(--bnx-display); max-width: 980px; margin: 0 0 34px; }
.bnx-hero .bnx-lede { max-width: 720px; }
.bnx-hero .wp-block-buttons { margin-top: 34px; gap: 12px; }
.bnx-hero-note { margin-top: 28px; max-width: 630px; font-size: .9rem; color: var(--bnx-muted); }
.bnx-system-map { position: relative; min-height: 430px; border-left: 1px solid var(--bnx-line); padding-left: 46px; display: flex; flex-direction: column; justify-content: space-between; }
.bnx-system-map::before { content: ""; position: absolute; left: -5px; top: 12%; bottom: 12%; width: 9px; border-radius: 99px; background: var(--bnx-sage); opacity: .7; }
.bnx-system-node { display: grid; grid-template-columns: 44px 1fr; gap: 18px; align-items: center; }
.bnx-system-node span:first-child { width: 44px; height: 44px; border: 1px solid var(--bnx-line); border-radius: 50%; display: grid; place-items: center; font-size: .74rem; font-weight: 800; background: var(--bnx-paper-2); }
.bnx-system-node strong { display: block; line-height: 1.05; font-size: 1rem; }
.bnx-system-node small { color: var(--bnx-muted); font-size: .78rem; }
.bnx-system-node.is-final span:first-child { background: var(--bnx-ink); color: #fff; border-color: var(--bnx-ink); }

.bnx-diagnostic { background: var(--bnx-ink); color: var(--bnx-paper); }
.bnx-diagnostic .bnx-eyebrow { color: #98beaf; }
.bnx-diagnostic .bnx-lede { color: #c7d1cd; }
.bnx-situations { margin-top: clamp(46px, 6vw, 80px); border-top: 1px solid rgba(255,255,255,.16); }
.bnx-situation { display: grid; grid-template-columns: minmax(100px, .3fr) 1fr minmax(180px,.45fr); gap: 28px; padding: 28px 0; border-bottom: 1px solid rgba(255,255,255,.16); align-items: start; }
.bnx-situation-index { color: #93a8a1; font-size: .78rem; letter-spacing: .12em; }
.bnx-situation strong { font-size: clamp(1.15rem, 2vw, 1.65rem); line-height: 1.15; letter-spacing: -.025em; }
.bnx-situation p { margin: 0; color: #c7d1cd; font-size: .95rem; }

.bnx-solutions { background: var(--bnx-paper-2); }
.bnx-section-head { display: grid; grid-template-columns: minmax(0,.8fr) minmax(0,1.2fr); gap: 60px; align-items: end; margin-bottom: 64px; }
.bnx-section-head h2 { margin-bottom: 0; }
.bnx-solution-list { border-top: 1px solid var(--bnx-line); }
.bnx-solution-row { display: grid; grid-template-columns: 90px minmax(220px,.8fr) minmax(0,1.2fr); gap: clamp(20px,4vw,60px); padding: 34px 0; border-bottom: 1px solid var(--bnx-line); align-items: start; }
.bnx-solution-row .bnx-number { font-size: .78rem; letter-spacing: .15em; color: var(--bnx-sage-dark); padding-top: 5px; }
.bnx-solution-row h3 { margin: 0; }
.bnx-solution-row p { margin: 0; color: var(--bnx-muted); }

.bnx-method { background: #e9eee8; }
.bnx-method-grid { display: grid; grid-template-columns: minmax(0,.72fr) minmax(0,1.28fr); gap: clamp(48px,7vw,110px); }
.bnx-method-intro { position: sticky; top: 120px; align-self: start; }
.bnx-method-steps { border-left: 1px solid rgba(16,34,31,.22); }
.bnx-method-step { position: relative; padding: 0 0 52px 56px; }
.bnx-method-step:last-child { padding-bottom: 0; }
.bnx-method-step::before { content: ""; position: absolute; left: -7px; top: 3px; width: 13px; height: 13px; border-radius: 50%; background: var(--bnx-paper-2); border: 3px solid var(--bnx-sage-dark); }
.bnx-method-step .bnx-number { font-size: .72rem; letter-spacing: .14em; color: var(--bnx-sage-dark); font-weight: 800; }
.bnx-method-step h3 { margin: 8px 0 12px; }
.bnx-method-step p { margin: 0; color: var(--bnx-muted); }

.bnx-firm { background: var(--bnx-paper); }
.bnx-firm-grid { display: grid; grid-template-columns: minmax(0,1.1fr) minmax(300px,.9fr); gap: clamp(40px,8vw,120px); align-items: center; }
.bnx-capability-board { border: 1px solid var(--bnx-line); border-radius: var(--bnx-radius); padding: 12px; background: var(--bnx-paper-2); box-shadow: var(--bnx-shadow); }
.bnx-capability-item { display: grid; grid-template-columns: 56px 1fr; gap: 16px; padding: 20px; border-bottom: 1px solid var(--bnx-line); align-items: center; }
.bnx-capability-item:last-child { border-bottom: 0; }
.bnx-capability-item .bnx-dot { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--bnx-line); display: grid; place-items: center; font-size: .78rem; font-weight: 800; color: var(--bnx-sage-dark); }
.bnx-capability-item strong { display: block; line-height: 1.2; }
.bnx-capability-item span { color: var(--bnx-muted); font-size: .88rem; }

.bnx-alonso { background: var(--bnx-ink-2); color: var(--bnx-paper); overflow: hidden; }
.bnx-alonso::after { content: "A"; position: absolute; right: -2vw; bottom: -18vw; font-family: Georgia,serif; font-size: min(50vw, 650px); line-height: 1; color: rgba(255,255,255,.028); pointer-events: none; }
.bnx-alonso .bnx-eyebrow { color: #9ec1b4; }
.bnx-alonso-grid { display: grid; grid-template-columns: minmax(0,.85fr) minmax(0,1.15fr); gap: clamp(40px,8vw,120px); position: relative; z-index: 1; }
.bnx-alonso-role { color: #b5c8c0; }
.bnx-alonso h2 { color: #fff; }
.bnx-alonso .bnx-lede { color: #cbd7d2; }
.bnx-authority-principle { margin-top: 44px; padding: 26px 0 0; border-top: 1px solid rgba(255,255,255,.16); display: grid; grid-template-columns: 120px 1fr; gap: 24px; color: #d8e1dd; }
.bnx-authority-principle strong { color: #92b7a9; text-transform: uppercase; letter-spacing: .14em; font-size: .7rem; }

.bnx-values { background: var(--bnx-paper-2); }
.bnx-value-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--bnx-line); border-bottom: 1px solid var(--bnx-line); margin-top: 56px; }
.bnx-value { padding: 32px clamp(20px,3vw,46px); border-right: 1px solid var(--bnx-line); }
.bnx-value:first-child { padding-left: 0; }
.bnx-value:last-child { border-right: 0; padding-right: 0; }
.bnx-value h3 { margin-bottom: 14px; }
.bnx-value p { color: var(--bnx-muted); margin-bottom: 0; }

.bnx-faq { background: var(--bnx-paper); }
.bnx-faq-grid { display: grid; grid-template-columns: minmax(0,.65fr) minmax(0,1.35fr); gap: clamp(40px,8vw,120px); }
.bnx-faq-list { border-top: 1px solid var(--bnx-line); }
.bnx-faq details { border-bottom: 1px solid var(--bnx-line); padding: 0; }
.bnx-faq summary { cursor: pointer; list-style: none; padding: 24px 44px 24px 0; font-weight: 760; font-size: 1.06rem; position: relative; }
.bnx-faq summary::-webkit-details-marker { display: none; }
.bnx-faq summary::after { content: "+"; position: absolute; right: 4px; top: 22px; font-size: 1.4rem; font-weight: 400; }
.bnx-faq details[open] summary::after { content: "–"; }
.bnx-faq details p { margin: 0; padding: 0 44px 24px 0; color: var(--bnx-muted); }

.bnx-contact { background: var(--bnx-ink); color: #fff; }
.bnx-contact .bnx-eyebrow { color: #98beaf; }
.bnx-contact-grid { display: grid; grid-template-columns: minmax(0,.75fr) minmax(360px,1.05fr); gap: clamp(44px,8vw,120px); align-items: start; }
.bnx-contact h2 { color: #fff; }
.bnx-contact .bnx-lede { color: #c7d1cd; }
.bnx-contact-note { margin-top: 34px; color: #93aaa1; font-size: .9rem; }

.bnx-lead-form { background: var(--bnx-paper-2); color: var(--bnx-ink); padding: clamp(26px,4vw,46px); border-radius: var(--bnx-radius); box-shadow: 0 28px 80px rgba(0,0,0,.12); }
.bnx-lead-form h3 { margin-top: 0; font-size: 1.5rem; }
.bnx-form-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 20px; }
.bnx-field { display: flex; flex-direction: column; gap: 7px; }
.bnx-field.is-wide { grid-column: 1 / -1; }
.bnx-field label { font-size: .78rem; font-weight: 780; letter-spacing: .02em; }
.bnx-field input, .bnx-field select, .bnx-field textarea {
  width: 100%; border: 1px solid #bcc8c2; background: #fff; color: var(--bnx-ink); border-radius: 14px; padding: 12px 14px; min-height: 48px;
}
.bnx-field textarea { min-height: 126px; resize: vertical; }
.bnx-field input:focus, .bnx-field select:focus, .bnx-field textarea:focus { border-color: var(--bnx-sage-dark); outline: 3px solid rgba(111,151,136,.22); outline-offset: 1px; }
.bnx-consent { display: grid; grid-template-columns: 20px 1fr; gap: 10px; align-items: start; margin: 22px 0; font-size: .86rem; color: var(--bnx-muted); }
.bnx-consent input { margin-top: 5px; }
.bnx-form-submit { border: 0; cursor: pointer; width: 100%; min-height: 54px; }
.bnx-form-meta { margin-top: 14px; color: #687772; font-size: .78rem; }
.bnx-hp { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.bnx-form-message { margin-bottom: 18px; padding: 12px 14px; border-radius: 12px; font-size: .9rem; }
.bnx-form-message.is-error { background: #f5dddd; color: #6c2727; }
.bnx-form-message.is-success { background: #dfeee7; color: #244d40; }

.bnx-cta-band { background: var(--bnx-sage-dark); color: #fff; border-radius: var(--bnx-radius); margin-top: 32px; margin-bottom: 32px; }

.bnx-document-shell { width: min(calc(100% - (var(--bnx-gutter) * 2)), 920px); margin: 0 auto; padding: clamp(72px,9vw,130px) 0; overflow: visible; }
.bnx-document-header { margin-bottom: 48px; }
.bnx-document-header h1, .bnx-error-page h1 { font-size: clamp(2.4rem,5vw,5rem); }
.bnx-document-content h2 { margin-top: 48px; }
.bnx-document-content p, .bnx-document-content li { color: #344943; }
.bnx-error-page { width: min(calc(100% - (var(--bnx-gutter) * 2)), 900px); margin: 0 auto; padding: 14vw 0; min-height: 70vh; }
.bnx-error-page p { max-width: 620px; color: var(--bnx-muted); }

.bnx-site-footer { background: #0b1815; color: #c9d4cf; padding: 70px var(--bnx-gutter) 28px; }
.bnx-footer-grid { max-width: var(--bnx-content); margin: 0 auto; display: grid; grid-template-columns: 1.5fr .8fr .7fr; gap: 52px; }
.bnx-footer-mark { color: #fff; font-weight: 850; letter-spacing: -.03em; margin-bottom: 16px; }
.bnx-footer-mark span { color: #8ba99e; font-size: .65em; letter-spacing: .14em; margin-left: 5px; }
.bnx-footer-brand p { max-width: 520px; color: #8da098; }
.bnx-footer-label { color: #82958e; text-transform: uppercase; letter-spacing: .13em; font-size: .68rem; font-weight: 760; margin: 0 0 14px; }
.bnx-site-footer a { color: #d9e2de; text-decoration: none; line-height: 2; }
.bnx-site-footer a:hover { color: #fff; }
.bnx-footer-bottom { max-width: var(--bnx-content); margin: 58px auto 0; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.1); display: flex; justify-content: space-between; gap: 24px; color: #73857e; font-size: .75rem; }

.bnx-reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: no-preference) {
  .js .bnx-reveal { opacity: 0; transform: translateY(18px); transition: opacity .55s ease, transform .55s ease; }
  .js .bnx-reveal.is-visible { opacity: 1; transform: none; }
}

@media (max-width: 980px) {
  .bnx-header-inner { min-height: 72px; }
  .bnx-menu-toggle { display: inline-block; }
  .bnx-primary-nav { position: fixed; inset: 72px 0 auto 0; min-height: calc(100vh - 72px); background: var(--bnx-paper); padding: 28px var(--bnx-gutter) 50px; display: flex; flex-direction: column; align-items: stretch; transform: translateY(-120%); visibility: hidden; transition: transform .25s ease, visibility .25s ease; }
  .bnx-primary-nav.is-open { transform: translateY(0); visibility: visible; }
  .bnx-menu { flex-direction: column; align-items: stretch; gap: 0; }
  .bnx-menu li { border-bottom: 1px solid var(--bnx-line); }
  .bnx-menu a { display: block; padding: 18px 0; font-size: 1.2rem; }
  .bnx-header-cta { margin-top: 24px; }
  .bnx-hero { min-height: auto; }
  .bnx-hero-grid, .bnx-section-head, .bnx-method-grid, .bnx-firm-grid, .bnx-alonso-grid, .bnx-faq-grid, .bnx-contact-grid { grid-template-columns: 1fr; }
  .bnx-system-map { min-height: 330px; max-width: 620px; }
  .bnx-method-intro { position: static; }
  .bnx-value-grid { grid-template-columns: 1fr; }
  .bnx-value { border-right: 0; border-bottom: 1px solid var(--bnx-line); padding: 26px 0; }
  .bnx-value:last-child { border-bottom: 0; }
  .bnx-footer-grid { grid-template-columns: 1fr 1fr; }
  .bnx-footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 700px) {
  :root { --bnx-section: 72px; }
  .bnx-hero { padding-top: 62px; }
  .bnx-hero h1 { font-size: clamp(2.75rem, 14vw, 4.6rem); }
  .bnx-system-map { min-height: 310px; padding-left: 30px; }
  .bnx-system-node { grid-template-columns: 38px 1fr; gap: 14px; }
  .bnx-system-node span:first-child { width: 38px; height: 38px; }
  .bnx-situation { grid-template-columns: 48px 1fr; gap: 16px; }
  .bnx-situation p { grid-column: 2; }
  .bnx-solution-row { grid-template-columns: 42px 1fr; gap: 14px 18px; }
  .bnx-solution-row p { grid-column: 2; }
  .bnx-method-step { padding-left: 34px; }
  .bnx-authority-principle { grid-template-columns: 1fr; }
  .bnx-form-grid { grid-template-columns: 1fr; }
  .bnx-field.is-wide { grid-column: auto; }
  .bnx-lead-form { padding: 24px 18px; border-radius: 22px; }
  .bnx-footer-grid { grid-template-columns: 1fr; }
  .bnx-footer-brand { grid-column: auto; }
  .bnx-footer-bottom { flex-direction: column; }
}

@media (max-width: 420px) {
  .bnx-header-inner { width: calc(100% - 32px); }
  .bnx-section { padding-left: 18px; padding-right: 18px; }
  .bnx-hero .wp-block-buttons { display: grid; }
  .bnx-hero .wp-block-button { width: 100%; }
  .bnx-hero .wp-block-button__link { width: 100%; }
}
