/* bijles-header-shell 1.0.0 · block-port van ReactBitsPro Blocks/navigation-10 (licht, met statuspil).
   Tailwind-klassen vertaald naar gescopete CSS; kleuren via --m-*-tokens. */
.msm-bijles-header-shell {
  --bn-line: color-mix(in srgb, var(--m-ink, #14213d) 22%, transparent);
  --bn-soft: color-mix(in srgb, var(--m-ink, #14213d) 12%, transparent);
  --bn-panel-line: color-mix(in srgb, var(--m-surface, #ffffff) 13%, var(--m-ink, #14213d));
  --bn-panel-dash: color-mix(in srgb, var(--m-surface, #ffffff) 24%, var(--m-ink, #14213d));
  --bn-panel-label: color-mix(in srgb, var(--m-surface, #ffffff) 58%, var(--m-ink, #14213d));
  --bn-panel-text: color-mix(in srgb, var(--m-surface, #ffffff) 88%, var(--m-ink, #14213d));
  --bn-panel-hover: color-mix(in srgb, var(--m-surface, #ffffff) 8%, var(--m-ink, #14213d));
  position: sticky;
  top: 0;
  z-index: 50;
  display: block;
  width: 100%;
  background: var(--m-surface, #ffffff);
  color: var(--m-ink, #14213d);
  font-family: var(--m-font-body, 'Public Sans', ui-sans-serif, system-ui, sans-serif);
}
.msm-bijles-header-shell,
.msm-bijles-header-shell *,
.msm-bijles-header-shell *::before,
.msm-bijles-header-shell *::after { box-sizing: border-box; }
.msm-bijles-header-shell svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.msm-bijles-header-shell a { color: inherit; text-decoration: none; }
.msm-bijles-header-shell a:focus-visible,
.msm-bijles-header-shell button:focus-visible { outline: 2px solid var(--m-primary, #2445a8); outline-offset: 3px; }

/* Balk: grid-cols-[1fr_auto_1fr], gap-3 sm:gap-4, px-4 sm:px-8, py-5, gestippelde onderrand */
.msm-bijles-header-shell .bn-bar {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 12px;
  padding: 20px 16px;
  border-bottom: 1px dashed var(--bn-line);
}
.msm-bijles-header-shell .bn-brand {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  gap: 8px;
  min-height: 36px;
  font-family: var(--m-font-display, 'Sora', ui-sans-serif, system-ui, sans-serif);
  font-size: 14px;
  line-height: 20px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  white-space: nowrap;
}
.msm-bijles-header-shell .bn-status {
  display: none;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 999px;
  background: var(--m-surface, #ffffff);
  border: 1px solid var(--bn-soft);
  font-size: 14px;
  line-height: 20px;
  color: var(--m-ink, #14213d);
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  transition: box-shadow 150ms cubic-bezier(0.4, 0, 0.2, 1);
}
.msm-bijles-header-shell .bn-status:hover { box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px -1px rgba(0, 0, 0, 0.1); }
.msm-bijles-header-shell .bn-status svg { width: 14px; height: 14px; color: var(--m-primary, #2445a8); }
.msm-bijles-header-shell .bn-chev { color: var(--m-muted, #566079); }
.msm-bijles-header-shell .bn-end {
  grid-column-start: 3;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}
.msm-bijles-header-shell .bn-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 36px;
  margin-right: 6px;
  padding: 8px 12px;
  border-radius: 999px;
  background: var(--m-ink, #14213d);
  color: var(--m-surface, #ffffff);
  font-size: 12px;
  line-height: 16px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: background-color 150ms cubic-bezier(0.4, 0, 0.2, 1);
}
.msm-bijles-header-shell .bn-cta:hover { background: var(--m-primary, #2445a8); }
.msm-bijles-header-shell .bn-cta svg { stroke-width: 2.2; }
.msm-bijles-header-shell .bn-cta-text {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.msm-bijles-header-shell .bn-spacer { width: 36px; height: 36px; flex: none; }

/* Menuknop: fixed top-5 right-4 sm:right-8, 36 px, witte cirkel met rand; icoon met mix-blend difference */
.msm-bijles-header-shell .bn-toggle-wrap {
  position: fixed;
  top: 20px;
  right: 16px;
  z-index: 50;
  width: 36px;
  height: 36px;
  pointer-events: none;
}
.msm-bijles-header-shell .bn-toggle-bg {
  position: absolute;
  inset: 0;
  border-radius: 999px;
  background: var(--m-surface, #ffffff);
  border: 1px solid var(--bn-soft);
}
.msm-bijles-header-shell .bn-toggle {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--m-surface, #ffffff);
  cursor: pointer;
  pointer-events: auto;
  -webkit-tap-highlight-color: transparent;
}
.msm-bijles-header-shell .bn-toggle::after { content: ''; position: absolute; inset: -4px; border-radius: 999px; }
.msm-bijles-header-shell .bn-icon { display: grid; place-items: center; mix-blend-mode: difference; }
.msm-bijles-header-shell .bn-icon svg { grid-area: 1 / 1; }
.msm-bijles-header-shell .bn-i-x { opacity: 0; }
.msm-bijles-header-shell.is-open .bn-i-menu { opacity: 0; }
.msm-bijles-header-shell.is-open .bn-i-x { opacity: 1; }
.msm-bijles-header-shell.is-open .bn-toggle-bg { opacity: 0; }
.msm-bijles-header-shell.is-open .bn-toggle { transform: translateX(-1px); }
.msm-bijles-header-shell .bn-toggle:focus-visible { outline-color: var(--m-accent2, #ffd34d); outline-offset: 2px; }

/* Achtergrond: fixed inset-0 bg-black/40 z-40 */
.msm-bijles-header-shell .bn-overlay {
  position: fixed;
  inset: 0;
  z-index: 40;
  background: rgba(0, 0, 0, 0.4);
  opacity: 0;
}
.msm-bijles-header-shell.is-open .bn-overlay { opacity: 1; }
.msm-bijles-header-shell .bn-overlay[hidden],
.msm-bijles-header-shell .bn-panel[hidden] { display: none; }

/* Paneel: fixed top-[18px] right-4 sm:right-8, min(92vw,420px) bij min(85vh,640px), rounded-2xl, clip-path-cirkel */
.msm-bijles-header-shell .bn-panel {
  position: fixed;
  top: 18px;
  right: 16px;
  z-index: 40;
  width: min(92vw, 420px);
  height: min(85vh, 640px);
  border-radius: 16px;
  background: var(--m-ink, #14213d);
  color: var(--m-surface, #ffffff);
  border: 1px solid var(--bn-panel-line);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  clip-path: circle(0% at calc(100% - 18px) 18px);
}
.msm-bijles-header-shell.is-open .bn-panel { clip-path: circle(150% at calc(100% - 18px) 18px); }
.msm-bijles-header-shell .bn-panel-inner {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  padding: 56px 24px 24px;
  overflow-y: auto;
  overscroll-behavior: contain;
  opacity: 0;
  transform: translateY(8px);
}
.msm-bijles-header-shell.is-open .bn-panel-inner { opacity: 1; transform: none; }
.msm-bijles-header-shell .bn-panel a:focus-visible { outline-color: var(--m-accent2, #ffd34d); }
.msm-bijles-header-shell .bn-links { display: flex; flex-direction: column; gap: 8px; }
.msm-bijles-header-shell .bn-links a {
  font-family: var(--m-font-display, 'Sora', ui-sans-serif, system-ui, sans-serif);
  font-size: 1.875rem;
  line-height: 1.1;
  font-weight: 600;
  letter-spacing: -0.025em;
  color: var(--m-surface, #ffffff);
  transition: color 150ms cubic-bezier(0.4, 0, 0.2, 1);
}
.msm-bijles-header-shell .bn-links a:hover { color: var(--bn-panel-text); }
.msm-bijles-header-shell .bn-links a[aria-current] {
  color: var(--m-accent2, #ffd34d);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 6px;
}
.msm-bijles-header-shell .bn-group { margin-top: 40px; padding-top: 24px; border-top: 1px dashed var(--bn-panel-dash); }
.msm-bijles-header-shell .bn-label {
  margin: 0;
  font-size: 11px;
  line-height: 16px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--bn-panel-label);
}
.msm-bijles-header-shell .bn-sub { margin-top: 16px; display: flex; flex-direction: column; gap: 12px; }
.msm-bijles-header-shell .bn-sub a { font-size: 16px; line-height: 24px; color: var(--bn-panel-text); }
.msm-bijles-header-shell .bn-sub a:hover { color: var(--m-surface, #ffffff); text-decoration: underline; text-underline-offset: 4px; }
.msm-bijles-header-shell .bn-rule { height: 1px; width: 100%; border-top: 1px dashed var(--bn-panel-line); }
.msm-bijles-header-shell .bn-foot { margin-top: auto; padding-top: 32px; }
.msm-bijles-header-shell .bn-wide {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 20px;
  border-radius: 999px;
  border: 1px solid var(--bn-panel-dash);
  color: var(--m-surface, #ffffff);
  font-size: 12px;
  line-height: 16px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  transition: background-color 150ms cubic-bezier(0.4, 0, 0.2, 1);
}
.msm-bijles-header-shell .bn-wide:hover { background: var(--bn-panel-hover); }
.msm-bijles-header-shell .bn-wide svg { stroke-width: 2.2; }

/* Reduced motion: het paneel verschijnt alleen met dekking, zonder cirkel en verschuiving */
.msm-bijles-header-shell.is-reduced .bn-panel,
.msm-bijles-header-shell.is-reduced.is-open .bn-panel { clip-path: none; }
.msm-bijles-header-shell.is-reduced .bn-panel-inner { opacity: 1; transform: none; }

@media (min-width: 640px) {
  .msm-bijles-header-shell .bn-bar { gap: 16px; padding: 20px 32px; }
  .msm-bijles-header-shell .bn-cta { padding: 8px 16px; }
  .msm-bijles-header-shell .bn-cta-text { position: static; width: auto; height: auto; margin: 0; overflow: visible; clip: auto; }
  .msm-bijles-header-shell .bn-toggle-wrap,
  .msm-bijles-header-shell .bn-panel { right: 32px; }
  .msm-bijles-header-shell .bn-panel-inner { padding: 56px 28px 28px; }
  .msm-bijles-header-shell .bn-links a { font-size: 2.25rem; }
}
@media (min-width: 1024px) {
  .msm-bijles-header-shell .bn-status { display: inline-flex; }
  .msm-bijles-header-shell .bn-links a { font-size: 2.5rem; }
}
@media (prefers-reduced-motion: reduce) {
  .msm-bijles-header-shell .bn-status,
  .msm-bijles-header-shell .bn-cta,
  .msm-bijles-header-shell .bn-links a,
  .msm-bijles-header-shell .bn-wide { transition: none; }
}
