/* Behvandi design tokens ? docs/25. No scattered HEX in Razor. */
@font-face {
  font-family: Vazirmatn;
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/lib/vazirmatn/Vazirmatn-Regular.woff2") format("woff2");
}

@font-face {
  font-family: Vazirmatn;
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/lib/vazirmatn/Vazirmatn-Medium.woff2") format("woff2");
}

@font-face {
  font-family: Vazirmatn;
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/lib/vazirmatn/Vazirmatn-SemiBold.woff2") format("woff2");
}

@font-face {
  font-family: Vazirmatn;
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/lib/vazirmatn/Vazirmatn-Bold.woff2") format("woff2");
}

:root {
  --bh-gold: #E8C547;
  --bh-gold-bright: #F5D76A;
  --bh-gold-deep: #C9A227;
  --bh-magenta: #C2186B;
  --bh-magenta-bright: #E91E8C;
  --bh-purple: #8E24A8;
  --bh-canvas: #0B0714;
  --bh-surface: #16111F;
  --bh-surface-raised: #1E1729;
  --bh-text: #F4F1F8;
  --bh-text-muted: #B5A9C4;
  --bh-on-gold: #1A1408;
  --bh-on-magenta: #FFFFFF;
  --bh-border: #2E2740;
  --bh-success: #2EBD6B;
  --bh-warning: #E6A817;
  --bh-danger: #E23D4D;
  --bh-info: #4C8DDE;
  --bh-focus: var(--bh-gold-bright);
  --bh-canvas-light: #F7F4FB;
  --bh-surface-light: #FFFFFF;
  --bh-text-on-light: #1A1408;
  --bh-muted-on-light: #5C5268;
  --bh-border-on-light: #E4DDEE;
  --bh-radius-vitrine: 2px;
  --bh-radius-panel: 6px;
  --bh-radius-full: 999px;
  --bh-font: Vazirmatn, "Segoe UI", Tahoma, sans-serif;
  --bh-space-1: 4px;
  --bh-space-2: 8px;
  --bh-space-3: 12px;
  --bh-space-4: 16px;
  --bh-space-5: 20px;
  --bh-space-6: 24px;
  --bh-space-8: 32px;
  --bh-space-10: 40px;
  --bh-space-12: 48px;
  --bh-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --bh-fast: 140ms;
  --bh-normal: 220ms;
  --bh-slow: 360ms;
  --bh-max: 72rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  font-family: var(--bh-font);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

img {
  max-width: 100%;
  height: auto;
}

:focus-visible {
  outline: 2px solid var(--bh-focus);
  outline-offset: 2px;
}

/* ??? Surfaces ??? */
body.bh-vitrine {
  background:
    radial-gradient(ellipse 80% 50% at 100% 0%, color-mix(in srgb, var(--bh-magenta) 18%, transparent), transparent 55%),
    radial-gradient(ellipse 60% 40% at 0% 100%, color-mix(in srgb, var(--bh-gold) 12%, transparent), transparent 50%),
    linear-gradient(165deg, #120a1c 0%, var(--bh-canvas) 45%, #080510 100%);
  background-attachment: fixed;
  color: var(--bh-text);
}

body.bh-panel {
  background: var(--bh-canvas-light);
  color: var(--bh-text-on-light);
}

#bh-app.is-busy {
  opacity: 0.88;
  pointer-events: none;
}

/* ??? Ajax progress ??? */
#bh-ajax-progress {
  position: fixed;
  inset-block-start: 0;
  inset-inline: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--bh-magenta), var(--bh-gold));
  transform-origin: inline-start;
  z-index: 50;
}

#bh-ajax-progress.is-on {
  animation: bh-progress 0.8s ease-in-out infinite;
}

@keyframes bh-progress {
  0% { opacity: 0.35; }
  50% { opacity: 1; }
  100% { opacity: 0.35; }
}

/* ??? Reveal ??? */
[data-reveal] {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity var(--bh-slow) var(--bh-ease), transform var(--bh-slow) var(--bh-ease);
}

[data-reveal].is-in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  #bh-ajax-progress.is-on {
    animation: none;
    opacity: 1;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ??? Layout chrome ??? */
.bh-site-header,
.bh-site-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--bh-space-4);
  padding: var(--bh-space-4) clamp(1rem, 3vw, 2rem);
  border-block-end: 1px solid var(--bh-border);
  background: color-mix(in srgb, var(--bh-surface) 88%, transparent);
  backdrop-filter: blur(10px);
}

.bh-vitrine .bh-site-header {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  flex-wrap: unset;
}

.bh-nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border: 1px solid var(--bh-border);
  border-radius: var(--bh-radius-vitrine);
  background: transparent;
  color: var(--bh-text);
  cursor: pointer;
}

.bh-nav-toggle:hover {
  border-color: var(--bh-gold);
  color: var(--bh-gold-bright);
}

.bh-nav-toggle .bh-icon {
  width: 1.25rem;
  height: 1.25rem;
}

.bh-site-footer {
  border-block-end: 0;
  border-block-start: 1px solid var(--bh-border);
  color: var(--bh-text-muted);
  margin-block-start: auto;
}

.bh-brand {
  display: inline-flex;
  align-items: center;
  gap: var(--bh-space-3);
  color: var(--bh-gold);
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.01em;
  min-width: 0;
  transition: color var(--bh-fast) var(--bh-ease);
}

.bh-brand:hover {
  color: var(--bh-gold-bright);
}

.bh-brand-lockup {
  display: grid;
  gap: 0.12rem;
  min-width: 0;
  line-height: 1.15;
}

.bh-brand-name {
  color: var(--bh-gold);
  font-weight: 700;
  letter-spacing: 0.01em;
}

.bh-brand:hover .bh-brand-name {
  color: var(--bh-gold-bright);
}

.bh-brand-slogan {
  color: var(--bh-magenta-bright);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  line-height: 1.3;
  max-width: none;
  white-space: nowrap;
}

.bh-brand:hover .bh-brand-slogan {
  color: var(--bh-magenta);
}

.bh-brand-mark {
  width: 1.75rem;
  height: 1.75rem;
  flex-shrink: 0;
  background:
    linear-gradient(135deg, transparent 48%, var(--bh-gold) 48%, var(--bh-gold) 52%, transparent 52%),
    linear-gradient(225deg, transparent 48%, var(--bh-magenta) 48%, var(--bh-magenta) 52%, transparent 52%),
    linear-gradient(45deg, var(--bh-purple) 0 35%, transparent 35%);
  clip-path: polygon(50% 0%, 100% 100%, 0% 100%);
}

.bh-brand-logo {
  width: 2.25rem;
  height: 2.25rem;
  flex-shrink: 0;
  object-fit: contain;
  display: block;
}

/* Header identity: slightly larger mark, one-shot enter + light sweep, hairline on hover. */
@keyframes bh-header-brand-in {
  from {
    opacity: 0;
    transform: translateY(6px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

.bh-vitrine .bh-site-header > .bh-brand {
  position: relative;
}

.bh-vitrine .bh-site-header > .bh-brand .bh-brand-logo,
.bh-vitrine .bh-site-header > .bh-brand .bh-brand-mark {
  width: 2.75rem;
  height: 2.75rem;
  animation: bh-header-brand-in 280ms var(--bh-ease) both;
  transition: filter var(--bh-fast) var(--bh-ease);
}

.bh-vitrine .bh-site-header > .bh-brand .bh-brand-glyph {
  position: relative;
  display: block;
  flex-shrink: 0;
  overflow: hidden;
  width: 2.75rem;
  height: 2.75rem;
  animation: bh-header-brand-in 280ms var(--bh-ease) both;
}

.bh-vitrine .bh-site-header > .bh-brand .bh-brand-glyph .bh-brand-logo,
.bh-vitrine .bh-site-header > .bh-brand .bh-brand-glyph .bh-brand-mark {
  width: 100%;
  height: 100%;
  animation: none;
}

.bh-vitrine .bh-site-header > .bh-brand::after,
.bh-vitrine .bh-site-header > .bh-brand .bh-brand-glyph::after {
  content: "";
  position: absolute;
  inset-block-start: 50%;
  inset-inline-start: 0;
  width: 2.75rem;
  height: 2.75rem;
  margin-block-start: -1.375rem;
  pointer-events: none;
  background-image: linear-gradient(
    to inline-end,
    transparent 0%,
    color-mix(in srgb, var(--bh-gold-bright) 58%, transparent) 44%,
    color-mix(in srgb, var(--bh-magenta-bright) 42%, transparent) 58%,
    transparent 100%
  );
  background-repeat: no-repeat;
  background-size: 42% 140%;
  background-position: 160% 50%;
  mix-blend-mode: screen;
  animation: bh-header-brand-shine 1s var(--bh-ease) 280ms both;
}

@keyframes bh-header-brand-shine {
  from {
    background-position: -45% 50%;
  }

  to {
    background-position: 145% 50%;
  }
}

@keyframes bh-header-brand-shine-rtl {
  from {
    background-position: 145% 50%;
  }

  to {
    background-position: -45% 50%;
  }
}

[dir="rtl"] .bh-vitrine .bh-site-header > .bh-brand::after,
[dir="rtl"] .bh-vitrine .bh-site-header > .bh-brand .bh-brand-glyph::after {
  animation-name: bh-header-brand-shine-rtl;
}

.bh-vitrine .bh-site-header > .bh-brand:has(.bh-brand-glyph)::after {
  content: none;
  animation: none;
}

.bh-vitrine .bh-site-header > .bh-brand .bh-brand-glyph::after {
  inset-block: 0;
  inset-inline-start: 0;
  height: auto;
  margin-block-start: 0;
  width: 100%;
}

.bh-vitrine .bh-site-header > .bh-brand .bh-brand-name {
  animation: bh-header-brand-in 280ms var(--bh-ease) 70ms both;
}

.bh-vitrine .bh-site-header > .bh-brand .bh-brand-slogan {
  position: relative;
  width: max-content;
  max-width: 100%;
  padding-block-end: 2px;
  animation: bh-header-brand-in 280ms var(--bh-ease) 140ms both;
}

.bh-vitrine .bh-site-header > .bh-brand .bh-brand-slogan::after {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  inset-block-end: 0;
  width: 0;
  height: 1px;
  background: var(--bh-gold);
  transition: width var(--bh-normal) var(--bh-ease);
}

.bh-vitrine .bh-site-header > .bh-brand:hover .bh-brand-logo,
.bh-vitrine .bh-site-header > .bh-brand:hover .bh-brand-mark,
.bh-vitrine .bh-site-header > .bh-brand:focus-visible .bh-brand-logo,
.bh-vitrine .bh-site-header > .bh-brand:focus-visible .bh-brand-mark {
  filter: brightness(1.14);
}

.bh-vitrine .bh-site-header > .bh-brand:hover .bh-brand-slogan::after,
.bh-vitrine .bh-site-header > .bh-brand:focus-visible .bh-brand-slogan::after {
  width: 100%;
}

@media (prefers-reduced-motion: reduce) {
  .bh-vitrine .bh-site-header > .bh-brand .bh-brand-glyph,
  .bh-vitrine .bh-site-header > .bh-brand .bh-brand-logo,
  .bh-vitrine .bh-site-header > .bh-brand .bh-brand-mark,
  .bh-vitrine .bh-site-header > .bh-brand .bh-brand-name,
  .bh-vitrine .bh-site-header > .bh-brand .bh-brand-slogan {
    animation: none;
  }

  .bh-vitrine .bh-site-header > .bh-brand::after,
  .bh-vitrine .bh-site-header > .bh-brand .bh-brand-glyph::after {
    content: none;
    animation: none;
  }

  .bh-vitrine .bh-site-header > .bh-brand .bh-brand-slogan::after {
    transition: none;
  }
}

.bh-lang {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.15rem;
  border: 1px solid color-mix(in srgb, var(--bh-border) 80%, transparent);
  border-radius: var(--bh-radius-vitrine);
  background: color-mix(in srgb, var(--bh-surface) 55%, transparent);
}

.bh-lang-globe {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--bh-text-muted);
  padding-inline-start: 0.35rem;
  opacity: 0.85;
}

.bh-lang-globe .bh-icon {
  width: 0.95rem;
  height: 0.95rem;
}

.bh-lang-seg {
  display: inline-flex;
  align-items: stretch;
  gap: 0;
}

.bh-lang-code {
  color: var(--bh-text-muted);
  text-decoration: none;
  font-size: 0.72rem;
  font-weight: 650;
  letter-spacing: 0.04em;
  line-height: 1;
  min-width: 1.85rem;
  min-height: 1.7rem;
  padding: 0.35rem 0.4rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--bh-radius-vitrine);
  transition: color var(--bh-fast), background var(--bh-fast);
}

.bh-lang-code.is-current,
.bh-lang-code:hover {
  color: var(--bh-gold-bright);
  background: color-mix(in srgb, var(--bh-gold) 12%, transparent);
}

.bh-lang-code.is-current {
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--bh-gold) 35%, transparent);
}

.bh-header-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--bh-space-3);
}

@media (min-width: 80rem) {
  .bh-vitrine .bh-site-header {
    align-items: center;
  }

  .bh-vitrine .bh-primary-nav {
    flex-wrap: nowrap;
    justify-content: center;
    gap: var(--bh-space-1) var(--bh-space-3);
  }

  .bh-vitrine .bh-primary-nav a {
    font-size: 0.88rem;
    min-height: 2.5rem;
    padding-inline: var(--bh-space-1);
  }

  .bh-vitrine .bh-header-actions {
    flex-wrap: nowrap;
    gap: var(--bh-space-2);
  }
}

@media (max-width: 79.99rem) {
  .bh-vitrine .bh-site-header {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .bh-vitrine .bh-nav-toggle {
    display: inline-flex;
    grid-column: 2;
    grid-row: 1;
  }

  .bh-vitrine .bh-site-header > .bh-brand {
    grid-column: 1;
    grid-row: 1;
  }

  .bh-vitrine .bh-site-header.is-chrome-ready:not(.is-nav-open) > .bh-primary-nav,
  .bh-vitrine .bh-site-header.is-chrome-ready:not(.is-nav-open) > .bh-header-actions {
    display: none;
  }

  .bh-vitrine .bh-site-header.is-nav-open > .bh-primary-nav,
  .bh-vitrine .bh-site-header.is-nav-open > .bh-header-actions {
    grid-column: 1 / -1;
    width: 100%;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: stretch;
  }

  .bh-vitrine .bh-site-header.is-nav-open > .bh-primary-nav a,
  .bh-vitrine .bh-site-header.is-nav-open > .bh-header-actions .bh-btn {
    justify-content: flex-start;
  }
}

.bh-inline-form {
  margin: 0;
}

.bh-main {
  width: min(100% - 2rem, var(--bh-max));
  margin-inline: auto;
  padding: clamp(2rem, 5vw, 3.5rem) 0 clamp(3rem, 6vw, 5rem);
}

.bh-main:has(.bh-home) {
  padding-block: var(--bh-space-6) var(--bh-space-8);
}

.bh-home [id^="bh-home-"],
.bh-home section,
.bh-home-engineering {
  scroll-margin-block-start: var(--bh-space-8);
}

.bh-panel .bh-main {
  width: min(100% - 2rem, 64rem);
}

/* ??? Primary nav ??? */
.bh-primary-nav,
.bh-admin-nav {
  display: flex;
  flex-wrap: wrap;
  gap: var(--bh-space-2) var(--bh-space-4);
  align-items: center;
}

.bh-primary-nav a,
.bh-admin-nav a,
.bh-nav-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--bh-text-muted);
  text-decoration: none;
  font-size: 0.95rem;
  min-height: 44px;
  padding: var(--bh-space-1) var(--bh-space-2);
  border-radius: var(--bh-radius-vitrine);
  transition: color var(--bh-fast), background var(--bh-fast);
}

.bh-primary-nav .bh-icon {
  width: 1.05rem;
  height: 1.05rem;
  opacity: 0.9;
}

.bh-primary-nav a:hover,
.bh-admin-nav a:hover,
.bh-nav-link:hover {
  color: var(--bh-gold-bright);
  background: color-mix(in srgb, var(--bh-gold) 8%, transparent);
}

.bh-footer-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.2rem 0;
  max-width: min(100%, 42rem);
}

.bh-footer-nav a {
  color: color-mix(in srgb, var(--bh-text-muted) 92%, var(--bh-text));
  text-decoration: none;
  font-size: 0.78rem;
  font-weight: 450;
  letter-spacing: 0.01em;
  line-height: 1.45;
  padding: 0.2rem 0.7rem;
  white-space: nowrap;
  transition: color var(--bh-fast);
}

.bh-footer-nav a + a {
  border-inline-start: 1px solid color-mix(in srgb, var(--bh-gold) 32%, var(--bh-border));
}

.bh-footer-nav a:hover {
  color: var(--bh-gold-bright);
}

.bh-site-footer .bh-brand {
  font-size: 0.92rem;
  font-weight: 650;
  gap: var(--bh-space-2);
}

.bh-site-footer .bh-brand-logo {
  width: 1.85rem;
  height: 1.85rem;
}

.bh-site-footer .bh-brand-mark {
  width: 1.35rem;
  height: 1.35rem;
}

.bh-site-footer .bh-brand-slogan {
  font-size: 0.72rem;
  max-width: none;
  color: var(--bh-magenta-bright);
}

.bh-vitrine .bh-site-footer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  column-gap: var(--bh-space-6);
  row-gap: var(--bh-space-4);
  padding-block: var(--bh-space-6);
  padding-inline: clamp(1rem, 3vw, 2rem);
  padding-block-end: calc(var(--bh-space-6) + 4.25rem);
}

.bh-vitrine .bh-site-footer .bh-trust {
  grid-column: 1 / -1;
  grid-row: 1;
  justify-self: stretch;
  width: auto;
  margin-inline: calc(-1 * clamp(1rem, 3vw, 2rem));
  margin-block: calc(-1 * var(--bh-space-6)) 0;
  padding-block: var(--bh-space-10) var(--bh-space-12);
  padding-inline: clamp(2.25rem, 7vw, 5.5rem);
  border: 0;
}

.bh-vitrine .bh-site-footer .bh-trust-item {
  text-align: center;
}

.bh-footer-brand {
  grid-column: 1;
  grid-row: 2;
  min-width: 0;
}

.bh-footer-cluster {
  grid-column: 2;
  grid-row: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.4rem;
  min-width: 0;
}

.bh-footer-cluster-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.55rem 0.75rem;
}

.bh-footer-lang {
  padding: 0.08rem;
}

.bh-footer-copy {
  margin: 0;
  color: var(--bh-text-muted);
  font-size: 0.68rem;
  letter-spacing: 0.02em;
  line-height: 1.4;
  text-align: end;
}

.bh-vitrine .bh-footer-nav {
  grid-column: 1 / -1;
  grid-row: 3;
  justify-content: center;
  max-width: none;
}

@media (min-width: 64rem) {
  .bh-vitrine .bh-site-footer {
    padding-block-end: var(--bh-space-6);
  }

  .bh-vitrine .bh-footer-cluster {
    /* Physical left: the chat launcher is `left`, not inline-start. */
    margin-left: 11.25rem;
  }
}

@media (max-width: 47.99rem) {
  .bh-vitrine .bh-site-footer {
    grid-template-columns: 1fr;
    justify-items: start;
  }

  .bh-footer-brand,
  .bh-footer-cluster {
    grid-column: 1;
    justify-self: start;
    width: 100%;
  }

  .bh-vitrine .bh-site-footer .bh-trust { grid-row: 1; }
  .bh-footer-brand { grid-row: 2; }
  .bh-footer-cluster { grid-row: 3; }

  .bh-site-footer .bh-brand-slogan {
    max-width: none;
  }

  .bh-footer-cluster {
    align-items: flex-start;
  }

  .bh-footer-cluster-row {
    justify-content: flex-start;
  }

  .bh-footer-copy {
    text-align: start;
  }

  .bh-vitrine .bh-footer-nav {
    grid-column: 1;
    grid-row: 4;
    justify-content: flex-start;
  }
}

/* ??? Icons ??? */
.bh-icon {
  width: 1.15rem;
  height: 1.15rem;
  flex-shrink: 0;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.bh-icon.is-lg {
  width: 1.5rem;
  height: 1.5rem;
}

.bh-icon.is-xl {
  width: 2rem;
  height: 2rem;
}

[dir="rtl"] .bh-icon.is-flip {
  transform: scaleX(-1);
}

/* ??? Buttons ??? */
.bh-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--bh-space-2);
  min-height: 44px;
  padding: 0.55rem 1.1rem;
  border: 1px solid var(--bh-border);
  border-radius: var(--bh-radius-vitrine);
  background: transparent;
  color: var(--bh-text);
  text-decoration: none;
  cursor: pointer;
  font: inherit;
  font-weight: 500;
  transition:
    background var(--bh-fast) var(--bh-ease),
    border-color var(--bh-fast) var(--bh-ease),
    color var(--bh-fast) var(--bh-ease),
    transform var(--bh-fast) var(--bh-ease);
}

.bh-btn:hover:not(:disabled) {
  border-color: var(--bh-gold);
  color: var(--bh-gold-bright);
}

.bh-btn:active:not(:disabled) {
  transform: translateY(1px);
}

.bh-btn:disabled,
.bh-btn.is-loading {
  opacity: 0.55;
  cursor: not-allowed;
}

.bh-btn-primary {
  background: var(--bh-gold);
  border-color: var(--bh-gold-deep);
  color: var(--bh-on-gold);
}

.bh-btn-primary:hover:not(:disabled) {
  background: var(--bh-gold-bright);
  border-color: var(--bh-gold);
  color: var(--bh-on-gold);
}

.bh-btn-magenta {
  background: var(--bh-magenta);
  border-color: var(--bh-magenta);
  color: var(--bh-on-magenta);
}

.bh-btn-magenta:hover:not(:disabled) {
  background: var(--bh-magenta-bright);
  color: var(--bh-on-magenta);
  border-color: var(--bh-magenta-bright);
}

.bh-btn-ghost {
  background: transparent;
}

.bh-btn-danger {
  border-color: color-mix(in srgb, var(--bh-danger) 55%, var(--bh-border));
  color: var(--bh-danger);
}

.bh-btn-danger:hover:not(:disabled) {
  background: color-mix(in srgb, var(--bh-danger) 12%, transparent);
  border-color: var(--bh-danger);
  color: var(--bh-danger);
}

.bh-panel .bh-btn {
  color: var(--bh-text-on-light);
  border-color: var(--bh-border-on-light);
}

.bh-panel .bh-btn-primary {
  color: var(--bh-on-gold);
}

.bh-panel .bh-btn-ghost:hover:not(:disabled) {
  color: var(--bh-magenta);
  border-color: var(--bh-magenta);
}

/* ??? Cards ??? */
.bh-card {
  background: var(--bh-surface);
  border: 1px solid var(--bh-border);
  border-radius: var(--bh-radius-vitrine);
  padding: var(--bh-space-6);
}

.bh-card-interactive {
  transition: border-color var(--bh-normal) var(--bh-ease), background var(--bh-normal) var(--bh-ease);
}

.bh-card-interactive:hover {
  border-color: color-mix(in srgb, var(--bh-gold) 45%, var(--bh-border));
  background: var(--bh-surface-raised);
}

.bh-panel .bh-card {
  background: var(--bh-surface-light);
  border-color: var(--bh-border-on-light);
  border-radius: var(--bh-radius-panel);
  box-shadow: 0 1px 0 color-mix(in srgb, var(--bh-purple) 6%, transparent);
}

.bh-card-grid {
  display: grid;
  gap: var(--bh-space-4);
  grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr));
}

.bh-card-link {
  display: grid;
  gap: var(--bh-space-2);
  text-decoration: none;
  color: inherit;
  height: 100%;
}

.bh-card-link .bh-card-icon {
  color: var(--bh-gold);
}

.bh-card-title {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 600;
}

.bh-card-meta {
  margin: 0;
  color: var(--bh-text-muted);
  font-size: 0.9rem;
}

.bh-panel .bh-card-meta {
  color: var(--bh-muted-on-light);
}

/* ??? Typography blocks ??? */
.bh-page-head {
  display: grid;
  gap: var(--bh-space-3);
  margin-block-end: var(--bh-space-8);
}

.bh-page-head h1 {
  margin: 0;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.bh-page-lead {
  margin: 0;
  max-width: 40rem;
  color: var(--bh-text-muted);
}

.bh-panel .bh-page-lead {
  color: var(--bh-muted-on-light);
}

.bh-kicker {
  margin: 0;
  color: var(--bh-magenta-bright);
  letter-spacing: 0.06em;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: none;
}

.bh-muted {
  color: var(--bh-text-muted);
}

.bh-panel .bh-muted {
  color: var(--bh-muted-on-light);
}

/* ??? Hero (vitrine) ??? */
.bh-hero {
  position: relative;
  padding: clamp(2.5rem, 8vw, 5rem) 0 clamp(2rem, 4vw, 3rem);
  overflow: hidden;
}

.bh-hero::before {
  content: "";
  position: absolute;
  inset-block: 10% 20%;
  inset-inline-end: -8%;
  width: min(42vw, 22rem);
  background: linear-gradient(135deg, color-mix(in srgb, var(--bh-magenta) 35%, transparent), transparent 70%);
  clip-path: polygon(30% 0, 100% 0, 70% 100%, 0 100%);
  pointer-events: none;
  opacity: 0.85;
}

.bh-hero::after {
  content: "";
  position: absolute;
  inset-block-end: 0;
  inset-inline: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--bh-gold), var(--bh-magenta), transparent);
}

.bh-hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  gap: var(--bh-space-5);
  max-width: 36rem;
}

.bh-hero h1 {
  margin: 0;
  font-size: clamp(1.85rem, 5vw, 2.85rem);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.03em;
}

.bh-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--bh-space-3);
  margin-block-start: var(--bh-space-2);
}

.bh-hero-studio {
  font-size: clamp(1.1rem, 2.5vw, 1.35rem);
  color: var(--bh-magenta-bright);
  font-weight: 700;
  margin: 0;
}

.bh-hero-slider {
  display: grid;
  gap: var(--bh-space-6);
}

.bh-hero-slide {
  display: grid;
  gap: var(--bh-space-6);
  align-items: center;
}

@media (min-width: 48rem) {
  .bh-hero-slide {
    grid-template-columns: minmax(0, 1fr) minmax(12rem, 22rem);
  }
}

.bh-hero-visual {
  position: relative;
  min-height: 10rem;
}

.bh-hero-image {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  border: 1px solid var(--bh-border);
}

.bh-hero-overlay {
  position: absolute;
  inset-block-end: 8%;
  inset-inline-end: 8%;
  width: min(42%, 8.5rem);
  height: auto;
  pointer-events: none;
}

.bh-hero-long {
  color: var(--bh-text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

.bh-hero-long p {
  margin: 0 0 var(--bh-space-3);
}

.bh-hero-nav {
  display: flex;
  align-items: center;
  gap: var(--bh-space-3);
  justify-content: flex-start;
}

.bh-hero-dots {
  display: flex;
  gap: var(--bh-space-2);
}

.bh-hero-dot {
  width: 0.55rem;
  height: 0.55rem;
  padding: 0;
  border: 1px solid var(--bh-gold);
  background: transparent;
  cursor: pointer;
}

.bh-hero-dot.is-active {
  background: var(--bh-gold);
}

@media (prefers-reduced-motion: reduce) {
  .bh-hero-slide {
    transition: none;
  }
}

.bh-hero-button-card {
  margin-block-end: var(--bh-space-5);
}

/* Home vitrine hero (wireframe) */
.bh-home-hero {
  position: relative;
  display: grid;
  grid-template-rows: 1fr auto;
  padding-block-end: var(--bh-space-6);
}

.bh-home-hero::before {
  content: "";
  position: absolute;
  pointer-events: none;
  inset-block-start: 8%;
  inset-inline-end: -6%;
  width: min(38vw, 18rem);
  height: min(38vw, 18rem);
  background: linear-gradient(145deg, color-mix(in srgb, var(--bh-magenta) 28%, transparent), transparent 70%);
  clip-path: polygon(22% 0, 100% 18%, 78% 100%, 0 72%);
  opacity: 0.9;
}

.bh-home-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: var(--bh-space-8);
  align-items: center;
}

.bh-home-hero-copy {
  display: grid;
  align-content: start;
  gap: var(--bh-space-5);
  max-width: 36rem;
}

.bh-home-hero-count {
  display: flex;
  align-items: center;
  gap: var(--bh-space-3);
  margin: 0;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.08em;
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--bh-gold-bright);
}

.bh-home-hero-count-sep {
  width: 2.75rem;
  height: 1px;
  background: var(--bh-gold);
}

.bh-home-hero-count-nav {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.75rem;
  height: 1.75rem;
  padding: 0;
  border: 1px solid color-mix(in srgb, var(--bh-gold) 45%, var(--bh-border));
  background: transparent;
  color: var(--bh-gold-bright);
  cursor: pointer;
}

.bh-home-hero-count-nav:hover {
  border-color: var(--bh-gold);
  background: color-mix(in srgb, var(--bh-gold) 12%, transparent);
}

.bh-home-hero-count-nav .bh-icon {
  width: 1rem;
  height: 1rem;
}

.bh-home-hero-kicker {
  margin: 0;
  color: var(--bh-magenta-bright);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.bh-home-hero-title {
  margin: 0;
  font-size: clamp(1.85rem, 5vw, 3.15rem);
  font-weight: 700;
  line-height: 1.22;
  letter-spacing: -0.03em;
  color: var(--bh-text);
}

.bh-home-hero-axis {
  display: inline;
}

.bh-home-hero-axis:last-of-type {
  color: var(--bh-gold-bright);
}

.bh-home-hero-times {
  display: inline;
  margin-inline: 0.12em;
  color: var(--bh-magenta-bright);
  font-weight: 650;
}

.bh-home-hero-lead,
.bh-home-hero-long {
  margin: 0.35rem 0 0;
  color: var(--bh-text-muted);
  font-size: 1rem;
  line-height: 1.75;
  max-width: 32rem;
}

.bh-home-hero-long p {
  margin: 0 0 var(--bh-space-3);
}

.bh-home-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--bh-space-3);
  margin-block-start: var(--bh-space-3);
}

.bh-home-hero-visual {
  position: relative;
  min-height: 14rem;
  display: grid;
  place-items: center;
  padding-block: var(--bh-space-6);
}

.bh-home-hero-orbit-lines {
  display: none;
}

.bh-home-hero-visual-slide {
  position: relative;
  z-index: 1;
  width: min(100%, 22rem);
}

.bh-home-hero-image {
  display: block;
  width: min(100%, 22rem);
  aspect-ratio: 1;
  object-fit: contain;
  object-position: center;
  border: 0;
  border-radius: 0;
  background: transparent;
  filter:
    drop-shadow(0 0 18px color-mix(in srgb, var(--bh-gold) 32%, transparent))
    drop-shadow(0 0 56px color-mix(in srgb, var(--bh-magenta) 20%, transparent));
}

.bh-home-hero-image-fallback {
  background:
    linear-gradient(145deg, color-mix(in srgb, var(--bh-gold) 28%, transparent), transparent 42%),
    linear-gradient(210deg, color-mix(in srgb, var(--bh-magenta) 32%, transparent), transparent 50%),
    var(--bh-surface-raised);
}

.bh-home-hero-overlay {
  position: absolute;
  inset-block-end: 6%;
  inset-inline-end: 4%;
  width: min(42%, 7.5rem);
  height: auto;
  pointer-events: none;
}

.bh-home-hero-orbit {
  list-style: none;
  margin: var(--bh-space-4) 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.45rem;
  z-index: 2;
}

.bh-home-hero-orbit a {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.28rem 0.65rem;
  border: 1px solid var(--bh-border);
  border-radius: var(--bh-radius-vitrine);
  background: color-mix(in srgb, var(--bh-surface) 78%, transparent);
  color: var(--bh-text-muted);
  font-size: 0.8rem;
  letter-spacing: 0.02em;
  text-decoration: none;
}

.bh-home-hero-orbit a:hover {
  color: var(--bh-gold-bright);
  border-color: color-mix(in srgb, var(--bh-gold) 48%, var(--bh-border));
}

.bh-home-hero-orbit-icon {
  display: inline-flex;
  color: var(--bh-gold);
}

.bh-home-hero-orbit-icon .bh-icon {
  width: 0.95rem;
  height: 0.95rem;
}

.bh-home-hero-scroll {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--bh-space-2);
  justify-self: center;
  margin-block-start: var(--bh-space-6);
  color: var(--bh-text-muted);
  font-size: 0.85rem;
  text-decoration: none;
}

.bh-home-hero-scroll:hover {
  color: var(--bh-gold-bright);
}

.bh-home-hero-scroll .bh-icon {
  width: 1rem;
  height: 1rem;
  color: var(--bh-gold);
}

@media (min-width: 48rem) {
  .bh-home-hero-grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(16rem, 0.95fr);
    gap: var(--bh-space-12);
  }

  .bh-home-hero-visual {
    min-height: 22rem;
    padding-block: var(--bh-space-10);
  }

  .bh-home-hero-orbit-lines {
    display: block;
    position: absolute;
    inset: 4% 2%;
    width: auto;
    height: auto;
    pointer-events: none;
    z-index: 0;
  }

  .bh-home-hero-orbit-lines line {
    stroke: color-mix(in srgb, var(--bh-gold) 68%, transparent);
    stroke-width: 0.65;
    stroke-dasharray: 1.4 1.5;
    stroke-linecap: square;
  }

  .bh-home-hero-orbit-lines line:nth-child(2) {
    stroke: color-mix(in srgb, var(--bh-magenta) 62%, transparent);
  }

  [dir="rtl"] .bh-home-hero-orbit-lines {
    transform: scaleX(-1);
  }

  .bh-home-hero-orbit {
    display: block;
    position: absolute;
    inset: 0;
    margin: 0;
    pointer-events: none;
  }

  .bh-home-hero-orbit li {
    position: absolute;
    pointer-events: auto;
    max-width: 10.5rem;
  }

  .bh-home-hero-orbit a {
    padding: 0;
    border: 0;
    background: transparent;
  }

  .bh-home-hero-orbit li:nth-child(1) {
    top: 0;
    left: 50%;
    transform: translateX(-50%);
  }

  .bh-home-hero-orbit li:nth-child(2) {
    inset-block-end: 0;
    inset-inline-start: -4%;
  }

  .bh-home-hero-orbit li:nth-child(3) {
    inset-block-end: 0;
    inset-inline-end: -2%;
  }
}

@media (min-width: 64rem) {
  .bh-home-hero {
    min-height: calc(100svh - 8rem);
    padding-block: var(--bh-space-8) var(--bh-space-4);
  }

  .bh-home-hero-visual {
    min-height: 26rem;
  }

  .bh-home-hero-image,
  .bh-home-hero-visual-slide {
    width: min(100%, 26rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  .bh-home-hero-slide-copy,
  .bh-home-hero-visual-slide {
    transition: none;
  }
}

/* Home pillars */
.bh-home-pillars {
  position: relative;
  padding-block: var(--bh-space-12);
}

.bh-home-pillars::before {
  content: "";
  position: absolute;
  inset-block-start: 0;
  inset-inline: 0;
  height: 1px;
  background: linear-gradient(90deg, var(--bh-gold), transparent 55%);
  pointer-events: none;
}

.bh-home-pillars-layout {
  display: grid;
  gap: var(--bh-space-8);
}

.bh-home-pillars-intro {
  display: grid;
  gap: var(--bh-space-4);
  max-width: 22rem;
  align-content: start;
}

.bh-home-pillars-kicker {
  margin: 0;
  color: var(--bh-magenta-bright);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.bh-home-pillars-title {
  margin: 0;
  font-size: clamp(1.75rem, 4vw, 2.6rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.03em;
  background: linear-gradient(115deg, var(--bh-text) 0%, var(--bh-gold-bright) 72%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.bh-home-pillars-lead {
  margin: 0;
  color: var(--bh-text-muted);
  line-height: 1.75;
  font-size: 0.95rem;
}

.bh-home-pillars-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--bh-space-3);
  margin-block-start: var(--bh-space-1);
}

.bh-home-pillars-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--bh-space-3);
}

.bh-home-pillars-grid > li:first-child {
  min-height: 16rem;
}

.bh-home-pillars-card {
  position: relative;
  display: block;
  height: 100%;
  min-height: 12rem;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  border: 1px solid var(--bh-border);
  border-radius: var(--bh-radius-vitrine);
  background: var(--bh-surface);
  transition: border-color var(--bh-normal);
}

.bh-home-pillars-card:hover {
  border-color: color-mix(in srgb, var(--bh-gold) 55%, var(--bh-border));
}

.bh-home-pillars-card-index {
  display: block;
  position: absolute;
  inset-block-start: var(--bh-space-3);
  inset-inline-start: var(--bh-space-3);
  z-index: 3;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.08em;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--bh-gold-bright);
}

.bh-home-pillars-card-media {
  position: absolute;
  inset: 0;
  display: block;
  overflow: hidden;
  background: var(--bh-surface-raised);
}

.bh-home-pillars-card-media img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform var(--bh-slow);
}

.bh-home-pillars-card:hover .bh-home-pillars-card-media img {
  transform: scale(1.04);
}

.bh-home-pillars-card-media img[hidden] {
  display: none;
}

.bh-home-pillars-card-fallback {
  display: grid;
  place-items: center;
  position: absolute;
  inset: 0;
  color: var(--bh-gold-bright);
  background:
    linear-gradient(145deg, color-mix(in srgb, var(--bh-magenta) 18%, transparent), transparent 60%),
    var(--bh-surface-raised);
}

.bh-home-pillars-grid > li:nth-child(2) .bh-home-pillars-card-fallback {
  background:
    linear-gradient(160deg, color-mix(in srgb, var(--bh-gold) 22%, transparent), transparent 55%),
    var(--bh-surface-raised);
}

.bh-home-pillars-grid > li:nth-child(3) .bh-home-pillars-card-fallback {
  background:
    linear-gradient(200deg, color-mix(in srgb, var(--bh-purple) 28%, transparent), transparent 58%),
    var(--bh-surface-raised);
}

.bh-home-pillars-card-fallback .bh-icon {
  width: 2.25rem;
  height: 2.25rem;
}

.bh-home-pillars-card-copy {
  position: absolute;
  z-index: 2;
  inset-inline: 0;
  inset-block-end: 0;
  display: grid;
  gap: var(--bh-space-1);
  min-width: 0;
  padding: var(--bh-space-5) var(--bh-space-4) var(--bh-space-4);
  background: linear-gradient(
    to top,
    color-mix(in srgb, var(--bh-canvas) 92%, transparent) 0%,
    color-mix(in srgb, var(--bh-canvas) 55%, transparent) 55%,
    transparent 100%
  );
}

.bh-home-pillars-card-copy strong {
  font-size: 0.98rem;
  font-weight: 600;
  line-height: 1.3;
}

.bh-home-pillars-card-copy .bh-muted {
  font-size: 0.8rem;
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.bh-home-pillars-grid > li:first-child .bh-home-pillars-card-copy .bh-muted {
  -webkit-line-clamp: 3;
}

.bh-home-pillars-card-go {
  display: none;
}

@media (min-width: 40rem) {
  .bh-home-pillars-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--bh-space-4);
  }

  .bh-home-pillars-grid > li:first-child {
    grid-column: 1 / -1;
    min-height: 18rem;
  }
}

@media (min-width: 64rem) {
  .bh-home-pillars-layout {
    grid-template-columns: minmax(14rem, 18rem) minmax(0, 1fr);
    gap: var(--bh-space-10);
    align-items: start;
  }

  .bh-home-pillars-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    grid-auto-rows: minmax(9.5rem, auto);
    gap: var(--bh-space-4);
  }

  .bh-home-pillars-grid > li {
    min-width: 0;
  }

  .bh-home-pillars-grid > li:nth-child(1) {
    grid-column: span 4;
    grid-row: span 2;
    min-height: 22rem;
  }

  .bh-home-pillars-grid > li:nth-child(2),
  .bh-home-pillars-grid > li:nth-child(3) {
    grid-column: span 2;
    min-height: 10.5rem;
  }

  .bh-home-pillars-grid > li:nth-child(4) {
    grid-column: span 6;
    min-height: 9.5rem;
  }

  .bh-home-pillars-grid > li:nth-child(1) .bh-home-pillars-card-copy strong {
    font-size: 1.15rem;
  }

  .bh-home-pillars-grid > li:nth-child(2) .bh-home-pillars-card-copy strong,
  .bh-home-pillars-grid > li:nth-child(3) .bh-home-pillars-card-copy strong {
    font-size: 0.88rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .bh-home-pillars-card {
    transition: none;
  }

  .bh-home-pillars-card-media img,
  .bh-home-pillars-card:hover .bh-home-pillars-card-media img {
    transition: none;
    transform: none;
  }
}

/* Home selected projects */
.bh-home-projects {
  position: relative;
  padding-block: var(--bh-space-12);
}

.bh-home-projects::before {
  content: "";
  position: absolute;
  inset-block-start: 0;
  inset-inline: 0;
  height: 1px;
  background: linear-gradient(90deg, var(--bh-gold), transparent 55%);
  pointer-events: none;
}

.bh-home-projects-layout {
  display: grid;
  gap: var(--bh-space-8);
}

.bh-home-projects-intro {
  display: grid;
  gap: var(--bh-space-4);
  max-width: 22rem;
  align-content: start;
}

.bh-home-projects-kicker {
  margin: 0;
  color: var(--bh-magenta-bright);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.bh-home-projects-title {
  margin: 0;
  font-size: clamp(1.75rem, 4vw, 2.6rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.03em;
  background: linear-gradient(115deg, var(--bh-text) 0%, var(--bh-gold-bright) 72%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.bh-home-projects-lead {
  margin: 0;
  color: var(--bh-text-muted);
  line-height: 1.75;
  font-size: 0.95rem;
}

.bh-home-projects-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--bh-space-3);
}

.bh-home-projects-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--bh-space-3);
}

.bh-home-projects-card {
  position: relative;
  display: block;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  border: 1px solid var(--bh-border);
  border-radius: var(--bh-radius-vitrine);
  background: var(--bh-surface);
  transition: border-color var(--bh-normal);
}

.bh-home-projects-card:hover {
  border-color: color-mix(in srgb, var(--bh-gold) 55%, var(--bh-border));
}

.bh-home-projects-card-media {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--bh-surface-raised);
}

.bh-home-projects-card-media img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform var(--bh-slow);
}

.bh-home-projects-card:hover .bh-home-projects-card-media img {
  transform: scale(1.04);
}

.bh-home-projects-card-media img[hidden] {
  display: none;
}

.bh-home-projects-card-fallback {
  display: grid;
  place-items: center;
  position: absolute;
  inset: 0;
  color: var(--bh-gold-bright);
  background:
    linear-gradient(145deg, color-mix(in srgb, var(--bh-magenta) 16%, transparent), transparent 58%),
    var(--bh-surface-raised);
}

.bh-home-projects-card-fallback .bh-icon {
  width: 1.75rem;
  height: 1.75rem;
}

.bh-home-projects-card-copy {
  position: absolute;
  z-index: 2;
  inset-inline: 0;
  inset-block-end: 0;
  display: grid;
  gap: var(--bh-space-1);
  min-width: 0;
  padding: var(--bh-space-5) var(--bh-space-4) var(--bh-space-4);
  background: linear-gradient(
    to top,
    color-mix(in srgb, var(--bh-canvas) 92%, transparent) 0%,
    color-mix(in srgb, var(--bh-canvas) 55%, transparent) 55%,
    transparent 100%
  );
}

.bh-home-projects-card-copy strong {
  font-size: 0.98rem;
  font-weight: 600;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.bh-home-projects-card-tag {
  color: var(--bh-gold-bright);
  font-size: 0.75rem;
  letter-spacing: 0.04em;
}

.bh-home-projects-card-go {
  display: none;
}

@media (min-width: 40rem) {
  .bh-home-projects-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--bh-space-4);
  }
}

@media (min-width: 64rem) {
  .bh-home-projects-layout {
    grid-template-columns: minmax(14rem, 18rem) minmax(0, 1fr);
    gap: var(--bh-space-10);
    align-items: start;
  }

  .bh-home-projects-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }

  .bh-home-projects-grid > * {
    min-width: 0;
    grid-column: span 2;
  }

  .bh-home-projects-grid > :nth-child(4):nth-last-child(2),
  .bh-home-projects-grid > :nth-child(5):last-child {
    grid-column: span 3;
  }
}

@media (prefers-reduced-motion: reduce) {
  .bh-home-projects-card {
    transition: none;
  }

  .bh-home-projects-card-media img,
  .bh-home-projects-card:hover .bh-home-projects-card-media img {
    transition: none;
    transform: none;
  }
}

/* Home architecture */
.bh-home-architecture {
  position: relative;
  padding-block: var(--bh-space-12);
}

.bh-home-architecture::before {
  content: "";
  position: absolute;
  inset-block-start: 0;
  inset-inline: 0;
  height: 1px;
  background: linear-gradient(90deg, var(--bh-gold), transparent 55%);
  pointer-events: none;
}

.bh-home-architecture-layout {
  display: grid;
  gap: var(--bh-space-8);
}

.bh-home-architecture-intro {
  display: grid;
  gap: var(--bh-space-4);
  max-width: 22rem;
  align-content: start;
}

.bh-home-architecture-kicker {
  margin: 0;
  color: var(--bh-magenta-bright);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.bh-home-architecture-title {
  margin: 0;
  font-size: clamp(1.75rem, 4vw, 2.6rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.03em;
  background: linear-gradient(115deg, var(--bh-text) 0%, var(--bh-gold-bright) 72%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.bh-home-architecture-lead {
  margin: 0;
  color: var(--bh-text-muted);
  line-height: 1.75;
  font-size: 0.95rem;
}

.bh-home-architecture-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--bh-space-3);
}

.bh-home-architecture-visual {
  display: none;
  position: relative;
  min-height: 12rem;
  align-self: center;
}

.bh-home-architecture-visual img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.bh-home-architecture-visual img[hidden] {
  display: none;
}

.bh-home-architecture-layers {
  position: absolute;
  inset: 12% 8%;
  display: grid;
  place-items: center;
}

.bh-home-architecture-layers span {
  position: absolute;
  width: 72%;
  aspect-ratio: 16 / 7;
  border: 1px solid color-mix(in srgb, var(--bh-gold) 55%, var(--bh-border));
  background:
    linear-gradient(145deg, color-mix(in srgb, var(--bh-magenta) 18%, transparent), transparent 62%),
    color-mix(in srgb, var(--bh-surface-raised) 82%, transparent);
  clip-path: polygon(18% 0, 100% 0, 82% 100%, 0 100%);
}

.bh-home-architecture-layers span:nth-child(1) {
  transform: translateY(-2.4rem) scale(0.72);
  opacity: 0.4;
}

.bh-home-architecture-layers span:nth-child(2) {
  transform: translateY(-0.9rem) scale(0.86);
  opacity: 0.65;
}

.bh-home-architecture-layers span:nth-child(3) {
  transform: translateY(0.5rem);
  opacity: 0.9;
}

.bh-home-architecture-layers span:nth-child(4) {
  transform: translateY(1.9rem) scale(1.08);
  border-color: var(--bh-gold-bright);
}

.bh-home-architecture-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: var(--bh-space-3);
}

.bh-home-architecture-list li {
  position: relative;
  padding-inline-start: 1.15rem;
  color: var(--bh-text);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1.4;
}

.bh-home-architecture-list li::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  inset-block-start: 0.55rem;
  width: 0.45rem;
  height: 0.45rem;
  border: 1px solid var(--bh-gold);
  background: color-mix(in srgb, var(--bh-gold) 35%, transparent);
}

.bh-home-architecture-quote {
  margin: var(--bh-space-6) 0 0;
  padding-inline-start: var(--bh-space-4);
  border-inline-start: 2px solid var(--bh-gold);
  color: var(--bh-text-muted);
  font-size: 0.92rem;
  line-height: 1.6;
}

.bh-home-architecture-quote p {
  margin: 0;
}

@media (min-width: 48rem) {
  .bh-home-architecture-visual {
    display: block;
    min-height: 14rem;
  }

  .bh-home-architecture-layout {
    grid-template-columns: minmax(0, 1fr) minmax(10rem, 16rem);
    align-items: center;
  }

  .bh-home-architecture-intro {
    grid-column: 1 / -1;
  }
}

@media (min-width: 64rem) {
  .bh-home-architecture-layout {
    grid-template-columns: minmax(14rem, 18rem) minmax(11rem, 16rem) minmax(0, 1fr);
    gap: var(--bh-space-10);
    align-items: center;
  }

  .bh-home-architecture-intro {
    grid-column: auto;
  }

  .bh-home-architecture-visual {
    min-height: 16rem;
  }
}

/* Architecture + tech stack share one desktop band (wireframe). */
.bh-home-engineering {
  position: relative;
  padding-block: var(--bh-space-12);
  display: grid;
  gap: var(--bh-space-10);
}

.bh-home-engineering::before {
  content: "";
  position: absolute;
  inset-block-start: 0;
  inset-inline: 0;
  height: 1px;
  background: linear-gradient(90deg, var(--bh-gold), transparent 55%);
  pointer-events: none;
}

.bh-home-engineering .bh-home-architecture,
.bh-home-engineering .bh-home-stack {
  padding-block: 0;
}

.bh-home-engineering .bh-home-architecture::before,
.bh-home-engineering .bh-home-stack::before {
  display: none;
}

@media (min-width: 64rem) {
  .bh-home-engineering {
    grid-template-columns: minmax(0, 1.2fr) minmax(16rem, 0.85fr);
    gap: var(--bh-space-10);
    align-items: start;
  }

  .bh-home-engineering .bh-home-architecture-layout {
    grid-template-columns: minmax(9rem, 1fr) minmax(7rem, 10rem) minmax(8rem, 1fr);
    gap: var(--bh-space-5);
    align-items: start;
  }

  .bh-home-engineering .bh-home-architecture-intro {
    max-width: none;
  }

  .bh-home-engineering .bh-home-architecture-title {
    font-size: clamp(1.5rem, 2.6vw, 2.1rem);
  }

  .bh-home-engineering .bh-home-architecture-visual {
    min-height: 10rem;
    align-self: start;
  }

  .bh-home-engineering .bh-home-stack {
    align-self: start;
  }
}

/* Home tech stack */
.bh-home-stack {
  position: relative;
  padding-block: var(--bh-space-12);
}

.bh-home-stack::before {
  content: "";
  position: absolute;
  inset-block-start: 0;
  inset-inline: 0;
  height: 1px;
  background: linear-gradient(90deg, var(--bh-gold), transparent 55%);
  pointer-events: none;
}

.bh-home-stack-layout {
  display: grid;
  gap: var(--bh-space-6);
}

.bh-home-stack-layout > .bh-home-stack-intro {
  margin-block-end: 0;
}

.bh-home-stack-intro {
  display: grid;
  gap: var(--bh-space-3);
  align-content: start;
  margin-block-end: var(--bh-space-5);
}

.bh-home-stack-kicker {
  margin: 0;
  color: var(--bh-magenta-bright);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.bh-home-stack-title {
  margin: 0;
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.03em;
  background: linear-gradient(115deg, var(--bh-text) 0%, var(--bh-gold-bright) 72%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.bh-home-stack-lead {
  margin: 0;
  color: var(--bh-text-muted);
  line-height: 1.7;
  font-size: 0.9rem;
  max-width: 28rem;
}

.bh-home-stack-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--bh-space-3);
}

.bh-home-stack-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: var(--bh-space-4);
}

.bh-home-stack-group {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: var(--bh-space-3);
  align-items: stretch;
  min-width: 0;
  padding: var(--bh-space-4);
  border: 1px solid var(--bh-border);
  border-block-start: 2px solid var(--bh-gold);
  border-radius: var(--bh-radius-vitrine);
  background:
    linear-gradient(155deg, color-mix(in srgb, var(--bh-gold) 8%, transparent), transparent 46%),
    color-mix(in srgb, var(--bh-surface) 92%, transparent);
  transition: border-color var(--bh-fast) var(--bh-ease);
}

.bh-home-stack-head {
  display: grid;
  grid-template-columns: auto auto minmax(0, 1fr);
  align-items: center;
  gap: var(--bh-space-2);
  padding-block-end: var(--bh-space-2);
  border-block-end: 1px solid color-mix(in srgb, var(--bh-border) 85%, transparent);
}

.bh-home-stack-group > .bh-home-stack-label {
  order: -1;
  padding-block-end: var(--bh-space-2);
  border-block-end: 1px solid color-mix(in srgb, var(--bh-border) 85%, transparent);
}

.bh-home-stack-group:hover {
  border-color: color-mix(in srgb, var(--bh-gold) 55%, var(--bh-border));
  border-block-start-color: var(--bh-gold);
}

.bh-home-stack-index {
  color: var(--bh-gold);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1;
}

.bh-home-stack-mark {
  display: inline-flex;
  color: var(--bh-magenta-bright);
}

.bh-home-stack-mark .bh-icon {
  width: 1rem;
  height: 1rem;
}

.bh-home-stack-label {
  margin: 0;
  color: var(--bh-text);
  font-size: 0.86rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.3;
}

.bh-home-stack-tools {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.bh-home-stack-tools li {
  flex: 1 1 auto;
  min-width: 4.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 2.15rem;
  padding: 0.32rem 0.65rem;
  white-space: nowrap;
  border: 1px solid color-mix(in srgb, var(--bh-border) 75%, var(--bh-gold));
  border-radius: var(--bh-radius-vitrine);
  background: color-mix(in srgb, var(--bh-surface-raised) 78%, transparent);
  color: var(--bh-text);
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: 0.02em;
  text-align: center;
}

@media (min-width: 40rem) {
  .bh-home-stack-grid {
    grid-template-columns: 1fr 1fr;
  }

  .bh-home-stack-group:first-child {
    grid-column: 1 / -1;
  }
}

@media (min-width: 64rem) {
  .bh-home-stack-layout {
    grid-template-columns: minmax(13rem, 18rem) minmax(0, 1fr);
    gap: var(--bh-space-8);
    align-items: start;
  }
}

.bh-home-engineering .bh-home-stack-layout {
  grid-template-columns: 1fr;
  gap: var(--bh-space-5);
}

.bh-home-engineering .bh-home-stack-grid {
  grid-template-columns: 1fr;
}

@media (min-width: 40rem) {
  .bh-home-engineering .bh-home-stack-grid {
    grid-template-columns: 1fr 1fr;
  }

  .bh-home-engineering .bh-home-stack-group:first-child {
    grid-column: 1 / -1;
  }
}

.bh-home-engineering .bh-home-stack-title {
  font-size: clamp(1.35rem, 2.2vw, 1.85rem);
}

.bh-home-engineering .bh-home-stack-lead {
  font-size: 0.84rem;
}

@media (prefers-reduced-motion: reduce) {
  .bh-home-stack-group {
    transition: none;
  }
}

/* Home partner program */
.bh-home-partner {
  position: relative;
  margin-block: 0;
  padding: var(--bh-space-10) var(--bh-space-6);
  overflow: hidden;
  border: 1px solid var(--bh-border);
  background: var(--bh-surface);
}

.bh-home-partner-media {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.bh-home-partner-media img {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.42;
}

.bh-home-partner-media img[hidden] {
  display: none;
}

.bh-home-partner-media::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(to left, transparent 18%, color-mix(in srgb, var(--bh-bg) 78%, transparent) 58%, var(--bh-bg) 100%),
    linear-gradient(to top, var(--bh-bg) 0%, transparent 38%);
  pointer-events: none;
}

[dir="ltr"] .bh-home-partner-media::after {
  background:
    linear-gradient(to right, transparent 18%, color-mix(in srgb, var(--bh-bg) 78%, transparent) 58%, var(--bh-bg) 100%),
    linear-gradient(to top, var(--bh-bg) 0%, transparent 38%);
}

.bh-home-partner-glow {
  position: absolute;
  inset-inline-end: 22%;
  inset-block-start: 8%;
  width: min(46%, 16rem);
  aspect-ratio: 1;
  background:
    radial-gradient(circle, color-mix(in srgb, var(--bh-gold) 38%, transparent) 0%, transparent 68%);
  clip-path: polygon(50% 0, 100% 38%, 82% 100%, 18% 100%, 0 38%);
}

.bh-home-partner-peak {
  position: absolute;
  inset-inline-end: 8%;
  inset-block-end: 0;
  width: min(58%, 22rem);
  height: 62%;
  border: 1px solid color-mix(in srgb, var(--bh-gold) 35%, transparent);
  background:
    linear-gradient(165deg, color-mix(in srgb, var(--bh-magenta) 16%, transparent), transparent 55%),
    color-mix(in srgb, var(--bh-surface-raised) 55%, transparent);
  clip-path: polygon(50% 8%, 100% 100%, 0 100%);
}

.bh-home-partner-layout {
  position: relative;
  z-index: 3;
  display: grid;
  gap: var(--bh-space-8);
}

.bh-home-partner-copy {
  display: grid;
  gap: var(--bh-space-4);
  max-width: 28rem;
  align-content: start;
}

.bh-home-partner-kicker {
  margin: 0;
  color: var(--bh-gold-bright);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
}

.bh-home-partner-title {
  margin: 0;
  font-size: clamp(1.7rem, 3.6vw, 2.55rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.03em;
  color: var(--bh-text);
}

.bh-home-partner-lead {
  margin: 0;
  color: var(--bh-text-muted);
  line-height: 1.75;
  font-size: 0.95rem;
}

.bh-home-partner-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--bh-space-3);
}

.bh-home-partner-aside {
  display: grid;
  gap: var(--bh-space-6);
}

.bh-home-partner-panel-kicker {
  margin: 0 0 var(--bh-space-3);
  color: var(--bh-magenta-bright);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.bh-home-partner-steps,
.bh-home-partner-audience {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.45rem;
}

.bh-home-partner-steps li {
  display: grid;
  grid-template-columns: 2rem minmax(0, 1fr);
  gap: var(--bh-space-2);
  align-items: baseline;
  color: var(--bh-text);
  font-size: 0.88rem;
  line-height: 1.4;
}

.bh-home-partner-audience li {
  position: relative;
  padding-inline-start: 1rem;
  color: var(--bh-text);
  font-size: 0.88rem;
  line-height: 1.4;
}

.bh-home-partner-steps li span:first-child {
  color: var(--bh-gold);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.bh-home-partner-audience li::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  inset-block-start: 0.45rem;
  width: 0.35rem;
  height: 0.35rem;
  border: 1px solid var(--bh-gold);
  background: color-mix(in srgb, var(--bh-gold) 30%, transparent);
}

@media (min-width: 48rem) {
  .bh-home-partner {
    padding: var(--bh-space-12);
  }

  .bh-home-partner-aside {
    grid-template-columns: 1fr 1fr;
    gap: var(--bh-space-8);
  }
}

@media (min-width: 64rem) {
  .bh-home-partner {
    min-height: 22rem;
  }

  .bh-home-partner-layout {
    grid-template-columns: minmax(16rem, 22rem) minmax(0, 1fr) minmax(18rem, 24rem);
    align-items: center;
    gap: var(--bh-space-8);
  }

  .bh-home-partner-aside {
    grid-column: 3;
    grid-template-columns: 1fr;
    gap: var(--bh-space-6);
  }
}

/* Home vision */
.bh-home-vision {
  position: relative;
  padding-block: var(--bh-space-12);
}

.bh-home-vision::before {
  content: "";
  position: absolute;
  inset-block-start: 0;
  inset-inline: 0;
  height: 1px;
  background: linear-gradient(90deg, var(--bh-gold), transparent 55%);
  pointer-events: none;
}

.bh-home-vision-layout {
  display: grid;
  gap: var(--bh-space-8);
}

.bh-home-vision-copy {
  display: grid;
  gap: var(--bh-space-4);
  max-width: 40rem;
  min-width: 0;
  align-content: start;
}

.bh-home-vision-kicker {
  margin: 0;
  color: var(--bh-magenta-bright);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
}

.bh-home-vision-title {
  margin: 0;
  overflow: visible;
  padding-inline-start: 0.28em;
  padding-inline-end: 0.08em;
  font-size: clamp(1.55rem, 3.4vw, 2.35rem);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.03em;
  text-wrap: balance;
  background: linear-gradient(115deg, var(--bh-text) 0%, var(--bh-gold-bright) 72%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.bh-home-vision-lead {
  margin: 0;
  color: var(--bh-text-muted);
  line-height: 1.85;
  font-size: 0.98rem;
}

.bh-home-vision-steps {
  list-style: none;
  margin: 0.25rem 0 0;
  padding: 0;
  display: grid;
  gap: var(--bh-space-3);
}

.bh-home-vision-steps li {
  display: grid;
  grid-template-columns: 2.25rem minmax(0, 1fr);
  gap: var(--bh-space-3);
  align-items: start;
  padding-block: 0.35rem;
  border-block-end: 1px solid color-mix(in srgb, var(--bh-gold) 18%, var(--bh-border));
}

.bh-home-vision-steps li:last-child {
  border-block-end: 0;
  padding-block-end: 0;
}

.bh-home-vision-step-index {
  color: var(--bh-gold);
  font-size: 0.75rem;
  font-weight: 650;
  letter-spacing: 0.08em;
  line-height: 1.6;
}

.bh-home-vision-step-body {
  display: grid;
  gap: 0.15rem;
  min-width: 0;
}

.bh-home-vision-step-verb {
  color: var(--bh-gold-bright);
  font-size: 0.92rem;
  font-weight: 650;
  letter-spacing: 0.04em;
  justify-self: start;
  width: max-content;
}

.bh-home-vision-step-note {
  color: var(--bh-text-muted);
  font-size: 0.88rem;
  line-height: 1.55;
  text-align: start;
}

.bh-home-vision-qualities {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.bh-home-vision-qualities li {
  padding: 0.22rem 0.55rem;
  border: 1px solid color-mix(in srgb, var(--bh-gold) 32%, var(--bh-border));
  color: var(--bh-gold-bright);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  line-height: 1.3;
}

.bh-home-vision-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--bh-space-3);
}

.bh-home-vision-visual {
  position: relative;
  isolation: isolate;
  min-height: 16rem;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--bh-gold) 28%, var(--bh-border));
  background: var(--bh-canvas);
}

.bh-home-vision-visual img {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.bh-home-vision-visual img[hidden] {
  display: none;
}

.bh-home-vision-sky {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(ellipse at 50% 18%, color-mix(in srgb, var(--bh-gold) 18%, transparent), transparent 46%),
    radial-gradient(ellipse at 78% 8%, color-mix(in srgb, var(--bh-magenta) 16%, transparent), transparent 38%),
    var(--bh-canvas);
}

.bh-home-vision-veil {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    color-mix(in srgb, var(--bh-canvas) 2%, transparent) 0%,
    color-mix(in srgb, var(--bh-canvas) 6%, transparent) 58%,
    color-mix(in srgb, var(--bh-canvas) 18%, transparent) 100%
  );
}

.bh-home-vision-overlay {
  position: relative;
  z-index: 3;
  display: grid;
  gap: 0.12em;
  margin: 0;
  padding: var(--bh-space-6) var(--bh-space-5) var(--bh-space-5);
  color: var(--bh-text);
  font-size: clamp(1.15rem, 2.4vw, 1.7rem);
  font-weight: 650;
  line-height: 1.12;
  letter-spacing: -0.035em;
  direction: ltr;
  unicode-bidi: isolate;
  text-align: start;
}

.bh-home-vision-overlay span {
  display: block;
}

.bh-home-vision-overlay span:last-child {
  color: var(--bh-gold-bright);
}

.bh-home-vision-overlay::after {
  content: "";
  display: block;
  width: 2.75rem;
  height: 1px;
  margin-block-start: 0.85em;
  background: linear-gradient(90deg, var(--bh-gold), transparent);
}

@media (min-width: 64rem) {
  .bh-home-vision-layout {
    grid-template-columns: minmax(22rem, 0.95fr) minmax(20rem, 1.05fr);
    gap: var(--bh-space-10);
    align-items: center;
  }

  .bh-home-vision-visual {
    min-height: 26rem;
    aspect-ratio: 16 / 10;
  }

  .bh-home-vision-overlay {
    position: absolute;
    inset-inline-start: var(--bh-space-8);
    inset-block-end: var(--bh-space-8);
    max-width: 13.5rem;
    padding: 0;
  }
}

/* Vision + final CTA share one desktop band (wireframe). */
.bh-home-closing {
  position: relative;
  padding-block: var(--bh-space-12);
  display: grid;
  gap: var(--bh-space-8);
}

.bh-home-closing::before {
  content: "";
  position: absolute;
  inset-block-start: 0;
  inset-inline: 0;
  height: 1px;
  background: linear-gradient(90deg, var(--bh-gold), transparent 55%);
  pointer-events: none;
}

.bh-home-closing .bh-home-vision,
.bh-home-closing .bh-home-final-cta {
  padding-block: 0;
}

.bh-home-closing .bh-home-vision::before,
.bh-home-closing .bh-home-final-cta::before {
  display: none;
}

@media (min-width: 64rem) {
  .bh-home-closing {
    grid-template-columns: minmax(0, 1.45fr) minmax(18rem, 22rem);
    gap: var(--bh-space-10);
    align-items: center;
  }

  .bh-home-closing .bh-home-vision-layout {
    grid-template-columns: minmax(14rem, 18rem) minmax(0, 1fr);
    gap: var(--bh-space-6);
  }

  .bh-home-closing .bh-home-vision-visual {
    min-height: 22rem;
    min-width: 0;
  }

  .bh-home-closing .bh-home-vision-overlay {
    font-size: clamp(1.05rem, 1.8vw, 1.4rem);
    max-width: 12.5rem;
  }

  .bh-home-closing .bh-home-final-cta-card {
    min-height: 18rem;
  }
}

/* Home final CTA */
.bh-home-final-cta {
  position: relative;
  padding-block: var(--bh-space-12);
}

.bh-home-final-cta::before {
  content: "";
  position: absolute;
  inset-block-start: 0;
  inset-inline: 0;
  height: 1px;
  background: linear-gradient(90deg, var(--bh-gold), transparent 55%);
  pointer-events: none;
}

.bh-home-final-cta-card {
  position: relative;
  overflow: hidden;
  display: grid;
  align-content: start;
  gap: var(--bh-space-5);
  padding: var(--bh-space-8);
  border: 1px solid color-mix(in srgb, var(--bh-gold) 38%, var(--bh-border));
  background:
    linear-gradient(165deg, color-mix(in srgb, var(--bh-gold) 10%, transparent), transparent 42%),
    var(--bh-surface);
}

.bh-home-final-cta-card::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  inset-block: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--bh-gold), transparent 78%);
  pointer-events: none;
}

.bh-home-final-cta-glow {
  position: absolute;
  inset-inline-end: -12%;
  inset-block-start: -18%;
  width: 10rem;
  height: 10rem;
  background: radial-gradient(circle, color-mix(in srgb, var(--bh-gold) 28%, transparent), transparent 70%);
  clip-path: polygon(50% 0, 100% 40%, 80% 100%, 20% 100%, 0 40%);
  pointer-events: none;
}

.bh-home-final-cta-poly {
  position: absolute;
  inset-inline-end: 0;
  inset-block-end: 0;
  width: 42%;
  height: 38%;
  border-inline-start: 1px solid color-mix(in srgb, var(--bh-gold) 28%, transparent);
  background: linear-gradient(155deg, color-mix(in srgb, var(--bh-magenta) 12%, transparent), transparent 70%);
  clip-path: polygon(100% 0, 100% 100%, 0 100%);
  pointer-events: none;
}

.bh-home-final-cta-image {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.18;
  pointer-events: none;
}

.bh-home-final-cta-image[hidden] {
  display: none;
}

.bh-home-final-cta-kicker,
.bh-home-final-cta-title,
.bh-home-final-cta-lead,
.bh-home-final-cta-actions {
  position: relative;
  z-index: 1;
}

.bh-home-final-cta-kicker {
  margin: 0;
  color: var(--bh-gold-bright);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
}

.bh-home-final-cta-title {
  margin: 0;
  font-size: clamp(1.45rem, 3vw, 2rem);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.03em;
  background: linear-gradient(115deg, var(--bh-text) 0%, var(--bh-gold-bright) 78%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.bh-home-final-cta-lead {
  margin: 0;
  color: var(--bh-text-muted);
  line-height: 1.75;
  font-size: 0.95rem;
}

.bh-home-final-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--bh-space-3);
  margin-block-start: var(--bh-space-2);
}

@media (max-width: 63.99rem) {
  .bh-home-closing {
    padding-block-end: calc(var(--bh-space-12) + 4.5rem);
  }

  .bh-home-final-cta-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .bh-home-final-cta-actions .bh-btn {
    justify-content: center;
  }
}

@media (min-width: 64rem) {
  .bh-home-final-cta .bh-home-final-cta-card {
    max-width: 36rem;
    margin-inline: auto;
  }

  .bh-home-closing .bh-home-final-cta-card {
    max-width: none;
    margin-inline-start: 0;
  }

  .bh-home-final-cta-actions {
    flex-wrap: nowrap;
  }

  .bh-home-final-cta-actions .bh-btn {
    flex: 1 1 auto;
    white-space: nowrap;
    padding-inline: var(--bh-space-4);
  }
}

/* Trust strip */
.bh-trust {
  --bh-trust-line: color-mix(in srgb, var(--bh-gold) 42%, transparent);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--bh-space-8);
  margin: 0;
  padding: var(--bh-space-10) clamp(1.75rem, 5vw, 4.5rem) var(--bh-space-12);
  border: 0;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(ellipse 28% 70% at 0% 50%, color-mix(in srgb, var(--bh-magenta) 14%, transparent), transparent 70%),
    radial-gradient(ellipse 28% 70% at 100% 50%, color-mix(in srgb, var(--bh-purple) 12%, transparent), transparent 70%),
    linear-gradient(180deg, color-mix(in srgb, var(--bh-canvas) 88%, #140a22), var(--bh-canvas));
}

.bh-trust::before,
.bh-trust::after {
  content: "";
  position: absolute;
  inset-inline: 10%;
  height: 1px;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    90deg,
    transparent,
    color-mix(in srgb, var(--bh-gold) 38%, transparent) 18%,
    color-mix(in srgb, var(--bh-gold) 38%, transparent) 82%,
    transparent
  );
}

.bh-trust::before { inset-block-start: 0; }
.bh-trust::after { inset-block-end: 0; }

.bh-trust-geo {
  position: absolute;
  inset-block: 12%;
  width: min(6.75rem, 14vw);
  pointer-events: none;
  z-index: 0;
}

.bh-trust-geo-left { left: 0; }
.bh-trust-geo-right { right: 0; }

.bh-trust-geo-svg {
  width: 100%;
  height: 100%;
  display: block;
}

.bh-trust-geo-rule {
  stroke: color-mix(in srgb, var(--bh-gold) 38%, transparent);
  stroke-width: 1;
  vector-effect: non-scaling-stroke;
}

.bh-trust-geo-stroke {
  fill: none;
  stroke: var(--bh-gold);
  stroke-width: 1.15;
  stroke-linejoin: miter;
  stroke-linecap: square;
  vector-effect: non-scaling-stroke;
  opacity: 0.9;
}

.bh-trust-geo-accent {
  fill: none;
  stroke: color-mix(in srgb, var(--bh-magenta-bright) 55%, var(--bh-gold));
  stroke-width: 0.9;
  stroke-linejoin: miter;
  stroke-linecap: square;
  vector-effect: non-scaling-stroke;
  opacity: 0.7;
}

.bh-trust-head {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 36rem;
}

.bh-trust-kicker {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--bh-space-3);
  margin: 0;
  color: var(--bh-gold);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  font-family: inherit;
}

.bh-trust-kicker::before,
.bh-trust-kicker::after {
  content: "";
  width: 2.6rem;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--bh-magenta-bright), var(--bh-gold), transparent);
}

.bh-trust-title {
  margin: var(--bh-space-4) 0 0;
  color: var(--bh-text);
  font-size: clamp(1.12rem, 2.1vw, 1.45rem);
  font-weight: 700;
  line-height: 1.55;
}

.bh-trust-row {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  width: 100%;
  max-width: 74rem;
  row-gap: var(--bh-space-6);
}

.bh-trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  flex: 1 1 9.5rem;
  min-width: 0;
  padding-inline: var(--bh-space-6);
  padding-block: var(--bh-space-4);
  position: relative;
}

.bh-trust-item + .bh-trust-item::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  inset-block: 16% 18%;
  width: 1px;
  background: linear-gradient(180deg, transparent, var(--bh-trust-line), transparent);
}

.bh-trust-icon {
  display: grid;
  place-items: center;
  color: var(--bh-gold);
  margin-bottom: var(--bh-space-3);
}

.bh-trust-icon .bh-icon {
  width: 1.7rem;
  height: 1.7rem;
  stroke-width: 1.55;
  overflow: visible;
}

.bh-trust-value {
  margin: 0;
  font-size: clamp(1.35rem, 2.4vw, 1.7rem);
  font-weight: 700;
  color: var(--bh-gold-bright);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.01em;
}

.bh-trust-label {
  margin: var(--bh-space-1) 0 0;
  color: var(--bh-text-muted);
  font-size: 0.82rem;
  line-height: 1.4;
}

@media (max-width: 47.99rem) {
  .bh-trust-geo {
    width: min(3.75rem, 18vw);
    opacity: 0.65;
    inset-block: 18%;
  }

  .bh-trust-item {
    flex: 1 1 42%;
    padding-inline: var(--bh-space-3);
  }

  .bh-trust-item + .bh-trust-item::before {
    display: none;
  }

  .bh-trust-kicker {
    letter-spacing: 0.18em;
  }
}

@media (prefers-reduced-motion: reduce) {
  .bh-trust-geo {
    opacity: 0.85;
  }
}

/* ??? Alerts / status / toast ??? */
.bh-alert,
.bh-status {
  display: flex;
  align-items: flex-start;
  gap: var(--bh-space-3);
  padding: var(--bh-space-3) var(--bh-space-4);
  border: 1px solid var(--bh-border);
  background: var(--bh-surface);
  border-radius: var(--bh-radius-vitrine);
  margin: 0 0 var(--bh-space-4);
}

.bh-alert-ok,
.bh-status.is-ok {
  border-color: color-mix(in srgb, var(--bh-success) 55%, var(--bh-border));
  background: color-mix(in srgb, var(--bh-success) 10%, var(--bh-surface));
}

.bh-alert-warn,
.bh-status.is-warn {
  border-color: color-mix(in srgb, var(--bh-warning) 55%, var(--bh-border));
  background: color-mix(in srgb, var(--bh-warning) 10%, var(--bh-surface));
}

.bh-alert-err {
  border-color: color-mix(in srgb, var(--bh-danger) 55%, var(--bh-border));
  background: color-mix(in srgb, var(--bh-danger) 10%, var(--bh-surface));
}

.bh-alert-info {
  border-color: color-mix(in srgb, var(--bh-info) 55%, var(--bh-border));
  background: color-mix(in srgb, var(--bh-info) 10%, var(--bh-surface));
}

.bh-panel .bh-alert,
.bh-panel .bh-status {
  background: var(--bh-surface-light);
  border-radius: var(--bh-radius-panel);
}

.bh-notice-host {
  position: fixed;
  inset-block-start: var(--bh-space-4);
  inset-inline-end: var(--bh-space-4);
  z-index: 40;
  display: grid;
  gap: var(--bh-space-2);
  max-width: min(22rem, calc(100vw - 1.5rem));
  pointer-events: none;
}

.bh-toast {
  pointer-events: auto;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--bh-space-3);
  padding: var(--bh-space-3) var(--bh-space-4);
  border: 1px solid var(--bh-border);
  border-radius: var(--bh-radius-vitrine);
  background: var(--bh-surface-raised);
  color: var(--bh-text);
  box-shadow: 0 8px 28px color-mix(in srgb, #000 45%, transparent);
  animation: bh-toast-in var(--bh-normal) var(--bh-ease);
}

.bh-toast.is-ok {
  border-color: color-mix(in srgb, var(--bh-success) 50%, var(--bh-border));
}

.bh-toast.is-error,
.bh-toast.is-warn {
  border-color: color-mix(in srgb, var(--bh-warning) 50%, var(--bh-border));
}

.bh-toast-close {
  border: 0;
  background: transparent;
  color: var(--bh-text-muted);
  cursor: pointer;
  font: inherit;
  padding: 0;
  line-height: 1;
}

@keyframes bh-toast-in {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .bh-toast {
    animation: none;
  }
}

/* ??? Badge ??? */
.bh-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--bh-space-1);
  padding: 0.15rem 0.5rem;
  border: 1px solid var(--bh-border);
  border-radius: var(--bh-radius-vitrine);
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1.4;
  color: var(--bh-text-muted);
  background: color-mix(in srgb, var(--bh-surface-raised) 80%, transparent);
  white-space: nowrap;
}

.bh-badge-ok {
  color: var(--bh-success);
  border-color: color-mix(in srgb, var(--bh-success) 40%, var(--bh-border));
}

.bh-badge-warn {
  color: var(--bh-warning);
  border-color: color-mix(in srgb, var(--bh-warning) 40%, var(--bh-border));
}

.bh-badge-err {
  color: var(--bh-danger);
  border-color: color-mix(in srgb, var(--bh-danger) 40%, var(--bh-border));
}

.bh-badge-info {
  color: var(--bh-info);
  border-color: color-mix(in srgb, var(--bh-info) 40%, var(--bh-border));
}

.bh-badge-gold {
  color: var(--bh-gold-bright);
  border-color: color-mix(in srgb, var(--bh-gold) 40%, var(--bh-border));
}

.bh-panel .bh-badge {
  background: var(--bh-canvas-light);
}

/* ??? Empty ??? */
.bh-empty {
  display: grid;
  gap: var(--bh-space-4);
  justify-items: start;
  padding: var(--bh-space-8) var(--bh-space-6);
  border: 1px dashed var(--bh-border);
  border-radius: var(--bh-radius-vitrine);
  background: color-mix(in srgb, var(--bh-surface) 70%, transparent);
}

.bh-empty-icon {
  color: var(--bh-gold);
}

.bh-empty h2,
.bh-empty-title {
  margin: 0;
  font-size: 1.1rem;
}

.bh-empty p,
.bh-empty-body {
  margin: 0;
  color: var(--bh-text-muted);
  max-width: 28rem;
}

.bh-panel .bh-empty {
  background: var(--bh-surface-light);
  border-color: var(--bh-border-on-light);
  border-radius: var(--bh-radius-panel);
}

.bh-panel .bh-empty-body {
  color: var(--bh-muted-on-light);
}

/* ??? Forms ??? */
.bh-form {
  display: grid;
  gap: var(--bh-space-4);
}

.bh-field {
  display: grid;
  gap: var(--bh-space-2);
  color: var(--bh-text-muted);
}

.bh-label {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--bh-text);
}

.bh-hint {
  font-size: 0.8rem;
  color: var(--bh-text-muted);
}

.bh-field-msg,
.bh-field-error {
  display: block;
  margin-block-start: 0.4rem;
  color: var(--bh-danger);
  font-size: 0.82rem;
  line-height: 1.45;
}

.bh-field-msg[hidden] {
  display: none;
}

.bh-field.is-invalid input,
.bh-field.is-invalid select,
.bh-field.is-invalid textarea,
.bh-field input.is-invalid,
.bh-field select.is-invalid,
.bh-field textarea.is-invalid {
  border-color: var(--bh-danger);
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--bh-danger) 35%, transparent);
}

.bh-field.is-valid input,
.bh-field.is-valid select,
.bh-field.is-valid textarea,
.bh-field input.is-valid,
.bh-field select.is-valid,
.bh-field textarea.is-valid {
  border-color: color-mix(in srgb, var(--bh-success) 55%, var(--bh-border));
}

.bh-field.is-invalid .bh-field-hint {
  color: var(--bh-danger);
}

.bh-field-hint {
  display: block;
  margin-block-start: 0.35rem;
  font-size: 0.78rem;
  color: var(--bh-text-muted);
  line-height: 1.4;
}

.bh-field input,
.bh-field select,
.bh-field textarea {
  width: 100%;
  min-height: 44px;
  padding: 0.65rem 0.75rem;
  border: 1px solid var(--bh-border);
  border-radius: var(--bh-radius-vitrine);
  background: var(--bh-surface);
  color: var(--bh-text);
  font: inherit;
  transition: border-color var(--bh-fast);
}

.bh-field textarea {
  min-height: 7rem;
  resize: vertical;
}

.bh-field input:focus,
.bh-field select:focus,
.bh-field textarea:focus {
  outline: 2px solid var(--bh-focus);
  outline-offset: 1px;
  border-color: var(--bh-gold-deep);
}

.bh-field[data-dir="ltr"] input,
.bh-field input[dir="ltr"],
.bh-field select[dir="ltr"],
input[data-bh-ltr],
.bh-ltr {
  direction: ltr;
  text-align: start;
  unicode-bidi: isolate;
}

.bh-check {
  display: flex;
  align-items: center;
  gap: var(--bh-space-2);
  min-height: 44px;
}

.bh-panel .bh-field {
  color: var(--bh-muted-on-light);
}

.bh-panel .bh-label {
  color: var(--bh-text-on-light);
}

.bh-panel .bh-field input,
.bh-panel .bh-field select,
.bh-panel .bh-field textarea {
  background: var(--bh-surface-light);
  color: var(--bh-text-on-light);
  border-color: var(--bh-border-on-light);
  border-radius: var(--bh-radius-panel);
}

/* ??? Table ??? */
.bh-table-wrap {
  width: 100%;
  overflow-x: auto;
  border: 1px solid var(--bh-border);
  border-radius: var(--bh-radius-vitrine);
}

.bh-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--bh-surface);
  font-size: 0.95rem;
}

.bh-table th,
.bh-table td {
  border-block-end: 1px solid var(--bh-border);
  padding: 0.7rem 0.85rem;
  text-align: start;
  vertical-align: top;
}

.bh-table th {
  font-weight: 600;
  color: var(--bh-text-muted);
  background: var(--bh-surface-raised);
  white-space: nowrap;
}

.bh-table tr:last-child td {
  border-block-end: 0;
}

.bh-panel .bh-table-wrap {
  border-color: var(--bh-border-on-light);
  border-radius: var(--bh-radius-panel);
}

.bh-panel .bh-table {
  background: var(--bh-surface-light);
}

.bh-panel .bh-table th,
.bh-panel .bh-table td {
  border-color: var(--bh-border-on-light);
}

.bh-panel .bh-table th {
  background: var(--bh-canvas-light);
  color: var(--bh-muted-on-light);
}

/* ??? Pager ??? */
.bh-pager {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--bh-space-4);
  margin-block-start: var(--bh-space-6);
  padding: var(--bh-space-3) var(--bh-space-4);
  border: 1px solid color-mix(in srgb, var(--bh-gold) 22%, var(--bh-border));
  border-radius: var(--bh-radius-vitrine);
  background:
    linear-gradient(
      120deg,
      color-mix(in srgb, var(--bh-magenta) 8%, transparent),
      transparent 42%
    ),
    color-mix(in srgb, var(--bh-surface) 78%, transparent);
  direction: ltr;
}

.bh-pager.is-single {
  justify-content: flex-start;
}

.bh-pager-meta {
  display: grid;
  gap: 0.15rem;
  min-width: 0;
}

.bh-pager-summary {
  margin: 0;
  color: var(--bh-text);
  font-size: 0.9rem;
  font-weight: 550;
  letter-spacing: 0.01em;
}

.bh-pager-pageof {
  margin: 0;
  color: var(--bh-text-muted);
  font-size: 0.78rem;
}

.bh-pager-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  align-items: center;
  justify-content: flex-end;
}

.bh-pager-pages {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  margin-inline: 0.25rem;
  padding: 0.2rem;
  border: 1px solid color-mix(in srgb, var(--bh-border) 90%, var(--bh-gold));
  border-radius: var(--bh-radius-vitrine);
  background: color-mix(in srgb, var(--bh-canvas) 55%, transparent);
}

.bh-pager-btn,
.bh-pager-page {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
  min-width: 2.35rem;
  min-height: 2.35rem;
  padding: 0 0.55rem;
  border: 1px solid transparent;
  border-radius: calc(var(--bh-radius-vitrine) - 1px);
  text-decoration: none;
  color: var(--bh-text-muted);
  font-size: 0.88rem;
  font-weight: 550;
  line-height: 1;
  transition:
    color var(--bh-fast),
    background-color var(--bh-fast),
    border-color var(--bh-fast);
}

.bh-pager-btn {
  border-color: color-mix(in srgb, var(--bh-border) 85%, var(--bh-gold));
  background: color-mix(in srgb, var(--bh-surface-raised) 70%, transparent);
  color: var(--bh-text);
}

.bh-pager-btn .bh-icon {
  width: 1rem;
  height: 1rem;
}

/* Pager nav is always LTR — do not mirror chevrons under RTL document. */
.bh-pager .bh-icon.is-flip {
  transform: none;
}

.bh-pager-btn-label {
  font-size: 0.8rem;
  font-weight: 600;
}

.bh-pager-edge {
  min-width: 2.35rem;
  padding-inline: 0.45rem;
}

.bh-pager-page:hover,
.bh-pager-btn:hover {
  color: var(--bh-gold-bright);
  border-color: color-mix(in srgb, var(--bh-gold) 55%, var(--bh-border));
  background: color-mix(in srgb, var(--bh-gold) 12%, transparent);
}

.bh-pager-page.is-current {
  background: var(--bh-gold);
  border-color: var(--bh-gold-deep);
  color: var(--bh-on-gold);
  font-weight: 700;
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--bh-gold-bright) 35%, transparent);
}

.bh-pager-ellipsis {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.5rem;
  color: var(--bh-text-muted);
  letter-spacing: 0.08em;
  user-select: none;
}

.bh-pager-btn.is-disabled,
.bh-pager-page.is-disabled {
  opacity: 0.38;
  pointer-events: none;
  cursor: default;
}

@media (max-width: 640px) {
  .bh-pager {
    flex-direction: column;
    align-items: stretch;
    gap: var(--bh-space-3);
  }

  .bh-pager-nav {
    justify-content: space-between;
  }

  .bh-pager-btn-label {
    display: none;
  }

  .bh-pager-pages {
    margin-inline: 0;
    flex: 1;
    justify-content: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .bh-pager-btn,
  .bh-pager-page {
    transition: none;
  }
}

.bh-panel .bh-pager {
  border-color: var(--bh-border-on-light);
  background:
    linear-gradient(
      120deg,
      color-mix(in srgb, var(--bh-magenta) 5%, transparent),
      transparent 45%
    ),
    var(--bh-surface-light);
}

.bh-panel .bh-pager-summary {
  color: var(--bh-text-on-light);
}

.bh-panel .bh-pager-pageof,
.bh-panel .bh-pager-ellipsis {
  color: var(--bh-muted-on-light);
}

.bh-panel .bh-pager-pages {
  border-color: var(--bh-border-on-light);
  background: color-mix(in srgb, var(--bh-canvas-light) 80%, #fff);
}

.bh-panel .bh-pager-btn {
  border-color: var(--bh-border-on-light);
  background: var(--bh-surface-light);
  color: var(--bh-text-on-light);
  border-radius: var(--bh-radius-panel);
}

.bh-panel .bh-pager-page {
  color: var(--bh-muted-on-light);
  border-radius: var(--bh-radius-panel);
}

.bh-panel .bh-pager-page:hover,
.bh-panel .bh-pager-btn:hover {
  color: var(--bh-magenta);
  border-color: color-mix(in srgb, var(--bh-magenta) 35%, var(--bh-border-on-light));
  background: color-mix(in srgb, var(--bh-magenta) 6%, #fff);
}

.bh-panel .bh-pager-page.is-current {
  background: var(--bh-magenta);
  border-color: var(--bh-magenta);
  color: var(--bh-on-magenta);
  box-shadow: none;
}

/* ??? Auth / order / contact ??? */
.bh-auth {
  max-width: 26rem;
  margin-inline: auto;
}

.bh-auth .bh-card {
  padding: var(--bh-space-8);
}

.bh-captcha {
  display: grid;
  gap: var(--bh-space-2);
  margin-block: var(--bh-space-2) var(--bh-space-4);
  padding: var(--bh-space-3);
  border: 1px solid var(--bh-border);
  background: color-mix(in srgb, var(--bh-surface) 70%, transparent);
}

.bh-captcha .bh-label {
  margin: 0;
}

.bh-captcha-hint {
  margin: 0;
  font-size: 0.8rem;
  line-height: 1.45;
  color: var(--bh-text-muted);
}

.bh-captcha-row {
  display: flex;
  align-items: stretch;
  gap: var(--bh-space-2);
}

.bh-captcha-visual {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid color-mix(in srgb, var(--bh-gold) 35%, var(--bh-border));
  background: #120c1c;
  min-height: 60px;
}

.bh-captcha-img {
  display: block;
  width: 180px;
  max-width: 100%;
  height: 60px;
  object-fit: contain;
}

.bh-captcha-refresh {
  flex: 0 0 auto;
  align-self: stretch;
  min-height: 60px;
}

.bh-captcha-refresh[aria-busy="true"] {
  opacity: 0.55;
}

.bh-captcha-field {
  margin: 0;
}

.bh-captcha-field input {
  letter-spacing: 0.12em;
  font-variant-numeric: tabular-nums;
  text-transform: uppercase;
}

.bh-auth-switch {
  margin: var(--bh-space-5) 0 0;
  font-size: 0.9rem;
  color: var(--bh-text-muted);
  text-align: center;
}

.bh-auth-switch a {
  color: var(--bh-gold-bright);
  text-decoration: none;
  margin-inline-start: 0.35rem;
}

.bh-auth-switch a:hover {
  text-decoration: underline;
}

.bh-password-meter {
  margin-block-start: var(--bh-space-2);
  display: grid;
  gap: 0.35rem;
}

.bh-password-meter-track {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.3rem;
  height: 0.35rem;
}

.bh-password-meter-seg {
  border-radius: var(--bh-radius-vitrine);
  background: color-mix(in srgb, var(--bh-border) 80%, transparent);
  transition: background var(--bh-fast);
}

.bh-password-meter[data-level="1"] .bh-password-meter-seg[data-seg="1"] {
  background: var(--bh-danger, #c62828);
}

.bh-password-meter[data-level="2"] .bh-password-meter-seg[data-seg="1"],
.bh-password-meter[data-level="2"] .bh-password-meter-seg[data-seg="2"] {
  background: #d4a017;
}

.bh-password-meter[data-level="3"] .bh-password-meter-seg[data-seg="1"],
.bh-password-meter[data-level="3"] .bh-password-meter-seg[data-seg="2"],
.bh-password-meter[data-level="3"] .bh-password-meter-seg[data-seg="3"] {
  background: var(--bh-gold, #e8c547);
}

.bh-password-meter[data-level="4"] .bh-password-meter-seg {
  background: color-mix(in srgb, #2e7d32 70%, var(--bh-gold));
}

.bh-password-meter-label {
  margin: 0;
  font-size: 0.78rem;
  color: var(--bh-text-muted);
  min-height: 1.1em;
}

.bh-contact {
  max-width: 68rem;
  margin-inline: auto;
  position: relative;
}

.bh-contact-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(8rem, 0.6fr);
  gap: var(--bh-space-6);
  align-items: end;
  margin-block-end: var(--bh-space-8);
  padding-block-end: var(--bh-space-6);
  border-block-end: 1px solid color-mix(in srgb, var(--bh-gold) 28%, var(--bh-border));
}

.bh-contact-hero-copy {
  display: grid;
  gap: var(--bh-space-3);
}

.bh-contact-hero-copy h1 {
  margin: 0;
  font-size: clamp(1.75rem, 4vw, 2.45rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--bh-text);
}

.bh-contact-hero-mark {
  position: relative;
  min-height: 6.5rem;
  justify-self: end;
  width: min(100%, 11rem);
}

.bh-contact-poly {
  position: absolute;
  inset-inline-end: 0;
  width: 4.5rem;
  height: 4.5rem;
  border: 1px solid color-mix(in srgb, var(--bh-gold) 55%, transparent);
  clip-path: polygon(50% 0, 100% 100%, 0 100%);
  transform: rotate(180deg);
}

.bh-contact-poly-a {
  inset-block-start: 0.4rem;
  border-color: color-mix(in srgb, var(--bh-magenta) 65%, transparent);
  opacity: 0.9;
}

.bh-contact-poly-b {
  inset-block-start: 1.8rem;
  inset-inline-end: 1.6rem;
  width: 3.4rem;
  height: 3.4rem;
  border-color: var(--bh-gold);
  opacity: 0.75;
}

.bh-contact-line {
  position: absolute;
  inset-inline-end: 0.2rem;
  inset-block-end: 0.6rem;
  width: 72%;
  height: 1px;
  background: linear-gradient(
    to left,
    color-mix(in srgb, var(--bh-gold) 80%, transparent),
    transparent
  );
}

[dir="ltr"] .bh-contact-line {
  background: linear-gradient(
    to right,
    color-mix(in srgb, var(--bh-gold) 80%, transparent),
    transparent
  );
}

.bh-contact-layout {
  display: grid;
  grid-template-columns: minmax(15rem, 0.9fr) minmax(0, 1.35fr);
  gap: clamp(1.25rem, 3vw, 2.25rem);
  align-items: start;
}

.bh-contact-aside {
  display: grid;
  gap: var(--bh-space-4);
  padding: var(--bh-space-5);
  border: 1px solid var(--bh-border);
  border-radius: var(--bh-radius-vitrine);
  background:
    linear-gradient(
      160deg,
      color-mix(in srgb, var(--bh-magenta) 10%, transparent),
      transparent 42%
    ),
    color-mix(in srgb, var(--bh-surface) 88%, transparent);
}

.bh-contact-aside h2 {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--bh-gold-bright);
}

.bh-contact-aside-lead {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--bh-text-muted);
}

.bh-contact-promise {
  display: flex;
  align-items: flex-start;
  gap: var(--bh-space-3);
  margin: 0;
  padding: var(--bh-space-3);
  border-inline-start: 2px solid var(--bh-gold);
  background: color-mix(in srgb, var(--bh-gold) 8%, transparent);
  color: var(--bh-text);
  font-size: 0.9rem;
  line-height: 1.5;
}

.bh-contact-promise .bh-icon {
  color: var(--bh-gold);
  margin-block-start: 0.15rem;
}

.bh-contact-promise strong {
  display: block;
  margin-block-end: 0.2rem;
  font-size: 0.78rem;
  font-weight: 650;
  color: var(--bh-gold-bright);
}

.bh-contact-channels {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: var(--bh-space-2);
}

.bh-contact-channel {
  display: flex;
  align-items: flex-start;
  gap: var(--bh-space-3);
  padding: 0.7rem 0.55rem;
  border-radius: var(--bh-radius-vitrine);
  color: inherit;
  text-decoration: none;
  transition: background var(--bh-fast), color var(--bh-fast);
}

a.bh-contact-channel:hover {
  background: color-mix(in srgb, var(--bh-gold) 10%, transparent);
  color: var(--bh-gold-bright);
}

.bh-contact-channel .bh-icon {
  color: var(--bh-magenta-bright);
  margin-block-start: 0.15rem;
}

.bh-contact-channel-label {
  display: block;
  font-size: 0.75rem;
  color: var(--bh-text-muted);
  margin-block-end: 0.15rem;
}

.bh-contact-channel-value {
  display: block;
  font-size: 0.95rem;
  font-weight: 550;
  color: var(--bh-text);
  line-height: 1.4;
  word-break: break-word;
}

.bh-contact-social {
  display: grid;
  gap: var(--bh-space-2);
  padding-block-start: var(--bh-space-2);
  border-block-start: 1px solid var(--bh-border);
}

.bh-contact-social-label {
  margin: 0;
  font-size: 0.8rem;
  color: var(--bh-text-muted);
}

.bh-contact-order {
  justify-self: start;
  margin-block-start: var(--bh-space-1);
}

.bh-contact-form {
  padding: clamp(1.1rem, 2.5vw, 1.75rem);
  border: 1px solid var(--bh-border);
  border-radius: var(--bh-radius-vitrine);
  background: color-mix(in srgb, var(--bh-surface-raised) 72%, transparent);
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--bh-magenta) 8%, transparent);
}

.bh-contact-form-head {
  display: grid;
  gap: var(--bh-space-2);
  margin-block-end: var(--bh-space-2);
}

.bh-contact-form-head h2 {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--bh-text);
}

.bh-contact-form-head p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--bh-text-muted);
}

.bh-contact-fields {
  display: grid;
  gap: var(--bh-space-4);
}

.bh-contact-field-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--bh-space-4);
}

.bh-contact-form .bh-field label {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.35rem 0.75rem;
  font-size: 0.9rem;
  font-weight: 550;
  color: var(--bh-text);
}

.bh-contact-form .bh-req,
.bh-contact-form .bh-opt {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.bh-contact-form .bh-req {
  color: var(--bh-magenta-bright);
}

.bh-contact-form .bh-opt {
  color: var(--bh-text-muted);
}

.bh-contact-channel-hint {
  margin: calc(var(--bh-space-2) * -1) 0 0;
}

.bh-contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--bh-space-3);
  margin-block-start: var(--bh-space-2);
}

.bh-contact-done {
  max-width: 36rem;
}

.bh-contact-done-card {
  display: grid;
  gap: var(--bh-space-5);
  padding: clamp(1.25rem, 3vw, 2rem);
  border: 1px solid var(--bh-border);
  border-radius: var(--bh-radius-vitrine);
  background:
    linear-gradient(
      165deg,
      color-mix(in srgb, var(--bh-gold) 12%, transparent),
      transparent 38%
    ),
    color-mix(in srgb, var(--bh-surface) 90%, transparent);
  text-align: center;
}

.bh-contact-done-icon {
  display: inline-grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  margin-inline: auto;
  border: 1px solid color-mix(in srgb, var(--bh-gold) 55%, var(--bh-border));
  border-radius: var(--bh-radius-vitrine);
  color: var(--bh-gold-bright);
}

.bh-contact-done-icon .bh-icon {
  width: 1.35rem;
  height: 1.35rem;
}

.bh-contact-done .bh-page-head {
  margin-block-end: 0;
  justify-items: center;
}

.bh-contact-done .bh-page-lead {
  max-width: 28rem;
}

.bh-contact-ref {
  margin: 0;
  padding: var(--bh-space-4);
  border: 1px dashed color-mix(in srgb, var(--bh-gold) 40%, var(--bh-border));
  border-radius: var(--bh-radius-vitrine);
  background: color-mix(in srgb, var(--bh-canvas) 55%, transparent);
}

.bh-contact-ref dt {
  margin: 0 0 0.35rem;
  font-size: 0.8rem;
  color: var(--bh-text-muted);
}

.bh-contact-ref dd {
  margin: 0;
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--bh-gold-bright);
}

.bh-contact-done-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--bh-space-3);
}

@media (max-width: 860px) {
  .bh-contact-hero {
    grid-template-columns: 1fr;
  }

  .bh-contact-hero-mark {
    display: none;
  }

  .bh-contact-layout {
    grid-template-columns: 1fr;
  }

  .bh-contact-aside {
    order: 2;
  }

  .bh-contact-form {
    order: 1;
  }
}

@media (max-width: 560px) {
  .bh-contact-field-pair {
    grid-template-columns: 1fr;
  }
}

.bh-order {
  --bh-order-max: 52rem;
  max-width: var(--bh-order-max);
  margin-inline: auto;
  padding-block-end: var(--bh-space-12);
}

.bh-order-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(5rem, 8rem);
  gap: var(--bh-space-6);
  align-items: end;
  margin-block-end: var(--bh-space-8);
  padding-block-end: var(--bh-space-6);
  border-block-end: 1px solid color-mix(in srgb, var(--bh-gold) 22%, var(--bh-border));
}

.bh-order-hero-copy {
  min-width: 0;
}

.bh-order-hero-copy h1 {
  margin: 0.15rem 0 0.65rem;
  font-size: clamp(1.65rem, 3.2vw, 2.25rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.bh-order-hero-mark {
  position: relative;
  height: 5.5rem;
  margin-block-end: 0.35rem;
}

.bh-order-poly {
  position: absolute;
  border: 1px solid color-mix(in srgb, var(--bh-gold) 45%, transparent);
  background: color-mix(in srgb, var(--bh-magenta) 10%, transparent);
  clip-path: polygon(50% 0%, 100% 100%, 0% 100%);
}

.bh-order-poly-a {
  inset-inline-end: 0.4rem;
  top: 0.2rem;
  width: 2.8rem;
  height: 2.4rem;
  opacity: 0.9;
}

.bh-order-poly-b {
  inset-inline-end: 1.6rem;
  top: 1.6rem;
  width: 2rem;
  height: 1.7rem;
  border-color: color-mix(in srgb, var(--bh-magenta) 50%, transparent);
  background: color-mix(in srgb, var(--bh-gold) 8%, transparent);
  opacity: 0.75;
}

.bh-order-line {
  position: absolute;
  inset-inline-end: 0;
  bottom: 0.4rem;
  width: 4.5rem;
  height: 1px;
  background: linear-gradient(
    to left,
    color-mix(in srgb, var(--bh-gold) 70%, transparent),
    transparent
  );
}

[dir="ltr"] .bh-order-line {
  background: linear-gradient(
    to right,
    color-mix(in srgb, var(--bh-gold) 70%, transparent),
    transparent
  );
}

.bh-order-progress {
  margin-block-end: var(--bh-space-6);
}

.bh-order-progress-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--bh-space-2);
  margin-block-end: var(--bh-space-3);
  font-size: 0.88rem;
}

.bh-order-progress-label {
  color: var(--bh-text-muted);
}

.bh-order-progress-stepname {
  color: var(--bh-gold-bright);
  font-weight: 600;
}

.bh-order-progress-track {
  height: 3px;
  margin-block-end: var(--bh-space-4);
  background: color-mix(in srgb, var(--bh-border) 80%, transparent);
  border-radius: var(--bh-radius-vitrine);
  overflow: hidden;
}

.bh-order-progress-fill {
  display: block;
  height: 100%;
  background: linear-gradient(
    90deg,
    var(--bh-gold-deep),
    var(--bh-gold-bright)
  );
  transition: width var(--bh-normal) var(--bh-ease);
}

.bh-wizard-steps {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: var(--bh-space-2);
  list-style: none;
  padding: 0;
  margin: 0;
}

.bh-wizard-steps li {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  text-align: center;
  color: var(--bh-text-muted);
  font-size: 0.72rem;
  line-height: 1.3;
}

.bh-wizard-steps li.is-current {
  color: var(--bh-gold-bright);
}

.bh-wizard-steps li.is-done {
  color: var(--bh-text);
}

.bh-wizard-step-num {
  display: inline-grid;
  place-items: center;
  width: 1.85rem;
  height: 1.85rem;
  border: 1px solid currentColor;
  border-radius: var(--bh-radius-vitrine);
  font-size: 0.78rem;
  font-weight: 650;
  font-variant-numeric: tabular-nums;
}

.bh-wizard-steps li.is-current .bh-wizard-step-num {
  background: color-mix(in srgb, var(--bh-gold) 18%, transparent);
  border-color: var(--bh-gold);
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--bh-gold) 25%, transparent);
}

.bh-wizard-steps li.is-done .bh-wizard-step-num {
  background: color-mix(in srgb, var(--bh-success) 18%, transparent);
  border-color: color-mix(in srgb, var(--bh-success) 55%, var(--bh-border));
  color: var(--bh-success);
}

.bh-wizard-step-num .bh-icon {
  width: 0.85rem;
  height: 0.85rem;
}

.bh-wizard-step-label {
  max-width: 6.5rem;
}

.bh-order-panel {
  padding: clamp(1.1rem, 2.5vw, 1.75rem);
  border: 1px solid var(--bh-border);
  border-radius: var(--bh-radius-vitrine);
  background:
    linear-gradient(
      165deg,
      color-mix(in srgb, var(--bh-gold) 8%, transparent),
      transparent 42%
    ),
    color-mix(in srgb, var(--bh-surface) 92%, transparent);
}

.bh-order-panel-head {
  margin-block-end: var(--bh-space-5);
  padding-block-end: var(--bh-space-4);
  border-block-end: 1px solid color-mix(in srgb, var(--bh-border) 85%, transparent);
}

.bh-order-panel-head h2 {
  margin: 0 0 0.35rem;
  font-size: 1.2rem;
  font-weight: 650;
  letter-spacing: -0.01em;
}

.bh-order-panel-head p {
  margin: 0;
  color: var(--bh-text-muted);
  font-size: 0.92rem;
}

.bh-order-form .bh-req,
.bh-order-form .bh-opt {
  margin-inline-start: 0.35rem;
  font-size: 0.75rem;
  font-weight: 500;
}

.bh-order-form .bh-req {
  color: var(--bh-gold-bright);
}

.bh-order-form .bh-opt {
  color: var(--bh-text-muted);
}

.bh-order-fields {
  display: grid;
  gap: var(--bh-space-4);
}

.bh-order-field-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--bh-space-4);
}

.bh-order-package-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--bh-space-3);
  margin-block-end: var(--bh-space-4);
  padding: 0.75rem 1rem;
  border: 1px solid color-mix(in srgb, var(--bh-gold) 30%, var(--bh-border));
  border-radius: var(--bh-radius-vitrine);
  background: color-mix(in srgb, var(--bh-gold) 8%, var(--bh-surface));
  font-size: 0.9rem;
}

.bh-order-package-count {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.bh-order-package-count .bh-icon {
  width: 1.05rem;
  height: 1.05rem;
  color: var(--bh-gold-bright);
}

.bh-order-package-count strong {
  font-variant-numeric: tabular-nums;
  color: var(--bh-gold-bright);
}

.bh-order-groups {
  display: grid;
  gap: var(--bh-space-4);
}

.bh-order-group {
  margin: 0;
  padding: var(--bh-space-4);
  border: 1px solid var(--bh-border);
  border-radius: var(--bh-radius-vitrine);
  background: color-mix(in srgb, var(--bh-canvas) 35%, var(--bh-surface));
}

.bh-order-group legend {
  padding-inline: 0.4rem;
  font-size: 0.92rem;
  font-weight: 650;
  color: var(--bh-text);
}

.bh-order-group.is-scope {
  border-color: color-mix(in srgb, var(--bh-gold) 42%, var(--bh-border));
  background: color-mix(in srgb, var(--bh-gold) 8%, var(--bh-surface));
}

.bh-order-group[hidden] {
  display: none !important;
}

.bh-order-tiles {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(11.5rem, 1fr));
  gap: 0.65rem;
  margin-block-start: var(--bh-space-3);
}

.bh-order-tile {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  min-height: 3.1rem;
  margin: 0;
  padding: 0.7rem 0.75rem;
  border: 1px solid var(--bh-border);
  border-radius: var(--bh-radius-vitrine);
  background: color-mix(in srgb, var(--bh-surface-raised) 70%, transparent);
  cursor: pointer;
  transition: border-color var(--bh-fast) var(--bh-ease), background var(--bh-fast) var(--bh-ease);
}

.bh-order-tile:hover {
  border-color: color-mix(in srgb, var(--bh-gold) 40%, var(--bh-border));
}

.bh-order-tile:has(input:checked) {
  border-color: color-mix(in srgb, var(--bh-gold) 65%, var(--bh-border));
  background: color-mix(in srgb, var(--bh-gold) 12%, var(--bh-surface));
}

.bh-order-tile:has(input:focus-visible) {
  outline: 2px solid var(--bh-focus);
  outline-offset: 2px;
}

.bh-order-tile input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.bh-order-tile-check {
  display: inline-grid;
  place-items: center;
  flex-shrink: 0;
  width: 1.15rem;
  height: 1.15rem;
  margin-block-start: 0.1rem;
  border: 1px solid color-mix(in srgb, var(--bh-text-muted) 55%, var(--bh-border));
  border-radius: var(--bh-radius-vitrine);
  color: transparent;
  background: transparent;
}

.bh-order-tile:has(input:checked) .bh-order-tile-check {
  border-color: var(--bh-gold);
  background: color-mix(in srgb, var(--bh-gold) 25%, transparent);
  color: var(--bh-gold-bright);
}

.bh-order-tile-check .bh-icon {
  width: 0.75rem;
  height: 0.75rem;
}

.bh-order-tile-title {
  font-size: 0.9rem;
  line-height: 1.45;
  color: var(--bh-text);
}

.bh-order-optional-note {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.45rem 0.75rem;
  margin-block-end: var(--bh-space-4);
  font-size: 0.9rem;
  color: var(--bh-text-muted);
}

.bh-order-style-field {
  margin-block-start: var(--bh-space-6);
}

.bh-order-style-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-block-start: 0.65rem;
}

.bh-order-style-chip {
  margin: 0;
  cursor: pointer;
}

.bh-order-style-chip input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.bh-order-style-chip span {
  display: inline-flex;
  align-items: center;
  min-height: 2.15rem;
  padding: 0.35rem 0.75rem;
  border: 1px solid var(--bh-border);
  border-radius: var(--bh-radius-vitrine);
  background: color-mix(in srgb, var(--bh-surface-raised) 65%, transparent);
  font-size: 0.86rem;
  transition: border-color var(--bh-fast), background var(--bh-fast), color var(--bh-fast);
}

.bh-order-style-chip:hover span {
  border-color: color-mix(in srgb, var(--bh-gold) 40%, var(--bh-border));
}

.bh-order-style-chip:has(input:checked) span {
  border-color: var(--bh-gold);
  background: color-mix(in srgb, var(--bh-gold) 14%, transparent);
  color: var(--bh-gold-bright);
}

.bh-order-style-chip:has(input:focus-visible) span {
  outline: 2px solid var(--bh-focus);
  outline-offset: 2px;
}

.bh-order-review {
  display: grid;
  gap: var(--bh-space-4);
}

.bh-order-review-card {
  padding: var(--bh-space-4);
  border: 1px solid var(--bh-border);
  border-radius: var(--bh-radius-vitrine);
  background: color-mix(in srgb, var(--bh-canvas) 30%, var(--bh-surface));
}

.bh-order-review-card h3 {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0 0 var(--bh-space-3);
  font-size: 0.95rem;
  font-weight: 650;
}

.bh-order-review-card h3 .bh-icon {
  width: 1rem;
  height: 1rem;
  color: var(--bh-gold-bright);
}

.bh-order-review-dl {
  display: grid;
  gap: 0.65rem;
  margin: 0;
}

.bh-order-review-dl > div {
  display: grid;
  gap: 0.15rem;
}

.bh-order-review-dl dt {
  margin: 0;
  font-size: 0.78rem;
  color: var(--bh-text-muted);
}

.bh-order-review-dl dd {
  margin: 0;
  font-size: 0.95rem;
}

.bh-order-review-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.bh-order-review-tags li {
  padding: 0.28rem 0.6rem;
  border: 1px solid color-mix(in srgb, var(--bh-gold) 28%, var(--bh-border));
  border-radius: var(--bh-radius-vitrine);
  background: color-mix(in srgb, var(--bh-gold) 8%, transparent);
  font-size: 0.82rem;
}

.bh-order-confirm {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  margin: 0;
  padding: 0.9rem 1rem;
  border: 1px solid color-mix(in srgb, var(--bh-magenta) 35%, var(--bh-border));
  border-radius: var(--bh-radius-vitrine);
  background: color-mix(in srgb, var(--bh-magenta) 8%, var(--bh-surface));
  cursor: pointer;
  font-size: 0.92rem;
  line-height: 1.55;
}

.bh-order-confirm input {
  width: 1.1rem;
  height: 1.1rem;
  margin-block-start: 0.15rem;
  flex-shrink: 0;
  accent-color: var(--bh-gold);
}

.bh-order-actions {
  position: sticky;
  bottom: 0;
  z-index: 3;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--bh-space-3);
  margin-block-start: var(--bh-space-5);
  padding: var(--bh-space-4);
  border: 1px solid var(--bh-border);
  border-radius: var(--bh-radius-vitrine);
  background: color-mix(in srgb, var(--bh-canvas) 72%, var(--bh-surface));
  backdrop-filter: blur(8px);
}

.bh-order-actions-spacer {
  flex: 1;
}

.bh-order-actions .bh-btn {
  min-width: 8.5rem;
}

.bh-order-done {
  display: grid;
  place-items: center;
  min-height: min(70vh, 32rem);
}

.bh-order-done-card {
  width: min(100%, 28rem);
  display: grid;
  gap: var(--bh-space-5);
  padding: clamp(1.35rem, 3vw, 2rem);
  border: 1px solid var(--bh-border);
  border-radius: var(--bh-radius-vitrine);
  background:
    linear-gradient(
      165deg,
      color-mix(in srgb, var(--bh-gold) 12%, transparent),
      transparent 40%
    ),
    color-mix(in srgb, var(--bh-surface) 92%, transparent);
  text-align: center;
}

.bh-order-done-icon {
  display: inline-grid;
  place-items: center;
  width: 3.1rem;
  height: 3.1rem;
  margin-inline: auto;
  border: 1px solid color-mix(in srgb, var(--bh-gold) 55%, var(--bh-border));
  border-radius: var(--bh-radius-vitrine);
  color: var(--bh-gold-bright);
  background: color-mix(in srgb, var(--bh-gold) 12%, transparent);
}

.bh-order-done-icon .bh-icon {
  width: 1.4rem;
  height: 1.4rem;
}

.bh-order-done .bh-page-head {
  margin: 0;
  justify-items: center;
}

.bh-order-done .bh-page-lead {
  max-width: 24rem;
}

.bh-order-done-ref {
  margin: 0;
  padding: var(--bh-space-4);
  border: 1px dashed color-mix(in srgb, var(--bh-gold) 40%, var(--bh-border));
  border-radius: var(--bh-radius-vitrine);
  background: color-mix(in srgb, var(--bh-canvas) 55%, transparent);
}

.bh-order-done-ref dt {
  margin: 0 0 0.35rem;
  font-size: 0.8rem;
  color: var(--bh-text-muted);
}

.bh-order-done-ref dd {
  margin: 0;
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--bh-gold-bright);
}

.bh-order-done-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--bh-space-3);
}

@media (max-width: 720px) {
  .bh-order-hero {
    grid-template-columns: 1fr;
  }

  .bh-order-hero-mark {
    display: none;
  }

  .bh-wizard-step-label {
    display: none;
  }

  .bh-wizard-steps {
    gap: 0.35rem;
  }

  .bh-order-field-pair {
    grid-template-columns: 1fr;
  }

  .bh-order-tiles {
    grid-template-columns: 1fr;
  }

  .bh-order-actions {
    position: static;
  }

  .bh-order-actions .bh-btn {
    flex: 1 1 auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  .bh-order-progress-fill,
  .bh-order-tile,
  .bh-order-style-chip span {
    transition: none;
  }
}

/* ??? Lists (services / portfolio) ??? */
.bh-service-list,
.bh-stack-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: var(--bh-space-3);
}

.bh-service-list a,
.bh-stack-list > li > a {
  display: grid;
  gap: var(--bh-space-1);
  text-decoration: none;
  color: inherit;
  padding: var(--bh-space-4);
  border: 1px solid var(--bh-border);
  border-radius: var(--bh-radius-vitrine);
  background: var(--bh-surface);
  transition: border-color var(--bh-normal), background var(--bh-normal);
}

.bh-service-list a:hover,
.bh-stack-list > li > a:hover {
  border-color: color-mix(in srgb, var(--bh-gold) 40%, var(--bh-border));
  background: var(--bh-surface-raised);
}

.bh-service-list a:hover strong {
  color: var(--bh-gold-bright);
}

.bh-filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: var(--bh-space-2);
  margin-block-end: var(--bh-space-6);
}

/* ??? Panel chrome ??? */
.bh-panel .bh-site-header,
.bh-panel-header {
  background: var(--bh-surface-light);
  border-color: var(--bh-border-on-light);
  backdrop-filter: none;
}

.bh-panel .bh-brand {
  color: var(--bh-magenta);
}

.bh-panel .bh-admin-nav a {
  color: var(--bh-muted-on-light);
}

.bh-panel .bh-admin-nav a:hover {
  color: var(--bh-magenta);
  background: color-mix(in srgb, var(--bh-magenta) 6%, transparent);
}

.bh-admin-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--bh-space-4);
  margin-bottom: var(--bh-space-5);
}

/* ??? Admin app shell (sidebar) ??? */
.bh-admin-shell {
  display: grid;
  grid-template-columns: 16.5rem minmax(0, 1fr);
  min-height: 100vh;
  background: var(--bh-canvas-light);
}

.bh-admin-sidebar {
  display: flex;
  flex-direction: column;
  gap: var(--bh-space-2);
  background: var(--bh-surface-light);
  border-inline-end: 1px solid var(--bh-border-on-light);
  padding: var(--bh-space-4) var(--bh-space-3);
  position: sticky;
  inset-block-start: 0;
  height: 100vh;
  overflow: auto;
  z-index: 20;
}

.bh-admin-sidebar-brand {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--bh-space-2);
  padding: var(--bh-space-2) var(--bh-space-2) var(--bh-space-4);
  border-block-end: 1px solid var(--bh-border-on-light);
  margin-block-end: var(--bh-space-2);
}

.bh-admin-sidebar-brand .bh-brand {
  gap: var(--bh-space-3);
  color: var(--bh-text-on-light);
  min-width: 0;
}

.bh-admin-sidebar-brand .bh-brand-logo {
  width: 2.25rem;
  height: 2.25rem;
}

.bh-admin-brand-text {
  display: grid;
  line-height: 1.25;
  min-width: 0;
}

.bh-admin-brand-text strong {
  font-size: 0.95rem;
  color: var(--bh-magenta);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.bh-admin-brand-text span {
  font-size: 0.75rem;
  color: var(--bh-muted-on-light);
  font-weight: 500;
}

.bh-admin-topbar-brand {
  display: flex;
  align-items: center;
  gap: var(--bh-space-3);
  min-width: 0;
}

.bh-admin-topbar-logo {
  width: 1.75rem;
  height: 1.75rem;
  flex-shrink: 0;
  object-fit: contain;
  display: block;
}

.bh-admin-side-nav {
  display: grid;
  gap: 2px;
  flex: 1;
  align-content: start;
}

.bh-side-group-label {
  margin: var(--bh-space-4) 0 var(--bh-space-2);
  padding-inline: var(--bh-space-3);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--bh-muted-on-light);
  text-transform: none;
}

.bh-side-group-label:first-child {
  margin-block-start: var(--bh-space-1);
}

.bh-side-link {
  display: flex;
  align-items: center;
  gap: var(--bh-space-3);
  min-height: 2.5rem;
  padding: 0.45rem var(--bh-space-3);
  border-radius: var(--bh-radius-panel);
  text-decoration: none;
  color: var(--bh-muted-on-light);
  font-size: 0.92rem;
  font-weight: 500;
  border: 1px solid transparent;
  transition: background var(--bh-fast), color var(--bh-fast), border-color var(--bh-fast);
}

.bh-side-link .bh-icon {
  width: 1.05rem;
  height: 1.05rem;
  opacity: 0.85;
}

.bh-side-link:hover {
  color: var(--bh-text-on-light);
  background: color-mix(in srgb, var(--bh-magenta) 6%, var(--bh-canvas-light));
}

.bh-side-link.is-active {
  color: var(--bh-magenta);
  background: color-mix(in srgb, var(--bh-magenta) 10%, var(--bh-surface-light));
  border-color: color-mix(in srgb, var(--bh-magenta) 18%, var(--bh-border-on-light));
  font-weight: 600;
}

.bh-side-link.is-active .bh-icon {
  opacity: 1;
  color: var(--bh-magenta);
}

.bh-admin-sidebar-foot {
  margin-block-start: auto;
  padding-block-start: var(--bh-space-3);
  border-block-start: 1px solid var(--bh-border-on-light);
}

.bh-admin-workspace {
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 100vh;
}

.bh-admin-topbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--bh-space-4);
  padding: var(--bh-space-4) clamp(1rem, 2.5vw, 1.75rem);
  background: color-mix(in srgb, var(--bh-surface-light) 92%, transparent);
  border-block-end: 1px solid var(--bh-border-on-light);
  position: sticky;
  inset-block-start: 0;
  z-index: 10;
  backdrop-filter: blur(8px);
}

.bh-admin-topbar-start {
  display: flex;
  align-items: center;
  gap: var(--bh-space-3);
  min-width: 0;
}

.bh-admin-topbar-title h1 {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--bh-text-on-light);
  letter-spacing: -0.02em;
}

.bh-admin-eyebrow {
  margin: 0 0 0.1rem;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--bh-muted-on-light);
}

.bh-admin-topbar-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--bh-space-2);
}

/* ?? In-app notification bell ?? */
.bh-notify {
  position: relative;
}

.bh-notify-trigger {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  border: 1px solid var(--bh-border-on-light);
  border-radius: var(--bh-radius-panel, 2px);
  background: var(--bh-surface-light);
  color: var(--bh-text-on-light);
  cursor: pointer;
  transition: border-color 0.15s ease, color 0.15s ease, background 0.15s ease;
}

.bh-notify-trigger:hover {
  border-color: color-mix(in srgb, var(--bh-magenta) 40%, var(--bh-border-on-light));
  color: var(--bh-magenta);
}

.bh-notify-trigger .bh-icon {
  width: 1.15rem;
  height: 1.15rem;
}

.bh-notify-badge {
  position: absolute;
  inset-block-start: -0.2rem;
  inset-inline-end: -0.2rem;
  min-width: 1.15rem;
  height: 1.15rem;
  padding: 0 0.3rem;
  border-radius: var(--bh-radius-panel, 2px);
  background: var(--bh-magenta);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  line-height: 1.15rem;
  text-align: center;
  font-variant-numeric: tabular-nums;
  direction: ltr;
}

.bh-notify-panel {
  position: absolute;
  inset-block-start: calc(100% + 0.45rem);
  inset-inline-end: 0;
  width: min(22rem, calc(100vw - 1.5rem));
  max-height: min(28rem, 70vh);
  display: flex;
  flex-direction: column;
  background: var(--bh-surface-light);
  border: 1px solid var(--bh-border-on-light);
  border-radius: var(--bh-radius-panel, 2px);
  box-shadow: 0 12px 32px color-mix(in srgb, var(--bh-canvas, #111) 18%, transparent);
  z-index: 40;
  overflow: hidden;
}

.bh-notify-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--bh-space-3);
  padding: var(--bh-space-3) var(--bh-space-4);
  border-block-end: 1px solid var(--bh-border-on-light);
  background: color-mix(in srgb, var(--bh-gold, #d4af37) 6%, var(--bh-surface-light));
}

.bh-notify-head strong {
  display: block;
  font-size: 0.95rem;
}

.bh-notify-head .bh-muted {
  margin: 0.15rem 0 0;
  font-size: 0.75rem;
}

.bh-notify-read-all {
  font-size: 0.78rem;
  flex-shrink: 0;
}

.bh-notify-body {
  overflow: auto;
  flex: 1;
}

.bh-notify-empty {
  display: grid;
  justify-items: center;
  gap: 0.35rem;
  padding: var(--bh-space-8) var(--bh-space-4);
  text-align: center;
  color: var(--bh-muted-on-light);
}

.bh-notify-empty .bh-icon {
  width: 1.75rem;
  height: 1.75rem;
  opacity: 0.55;
}

.bh-notify-empty strong {
  color: var(--bh-text-on-light);
  font-size: 0.92rem;
}

.bh-notify-empty p {
  margin: 0;
  font-size: 0.8rem;
}

.bh-notify-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.bh-notify-list li {
  border-block-end: 1px solid color-mix(in srgb, var(--bh-border-on-light) 80%, transparent);
}

.bh-notify-item {
  display: grid;
  grid-template-columns: 0.55rem 1fr;
  gap: 0.65rem;
  align-items: start;
  padding: 0.75rem var(--bh-space-4);
  text-decoration: none;
  color: inherit;
  transition: background 0.15s ease;
}

.bh-notify-item:hover {
  background: color-mix(in srgb, var(--bh-magenta) 5%, transparent);
}

.bh-notify-dot {
  width: 0.45rem;
  height: 0.45rem;
  margin-block-start: 0.45rem;
  border-radius: 1px;
  background: transparent;
}

.bh-notify-list li.is-unread .bh-notify-dot {
  background: var(--bh-magenta);
}

.bh-notify-list li.is-unread .bh-notify-item {
  background: color-mix(in srgb, var(--bh-gold, #d4af37) 5%, transparent);
}

.bh-notify-copy {
  display: grid;
  gap: 0.2rem;
  min-width: 0;
}

.bh-notify-copy strong {
  font-size: 0.88rem;
  font-weight: 650;
  color: var(--bh-text-on-light);
}

.bh-notify-copy > span {
  font-size: 0.8rem;
  color: var(--bh-muted-on-light);
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.bh-notify-copy time {
  font-size: 0.72rem;
}

.bh-account-header-actions {
  display: flex;
  align-items: center;
  gap: var(--bh-space-2);
  margin-inline-start: auto;
}

@media (prefers-reduced-motion: reduce) {
  .bh-notify-trigger,
  .bh-notify-item {
    transition: none;
  }
}

.bh-online-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.4rem 0.75rem;
  border: 1px solid var(--bh-border-on-light);
  border-radius: var(--bh-radius-panel);
  background: var(--bh-surface-light);
  color: var(--bh-text-on-light);
  text-decoration: none;
  font-size: 0.85rem;
  line-height: 1;
}

.bh-online-pill:hover {
  border-color: color-mix(in srgb, var(--bh-gold) 45%, var(--bh-border-on-light));
}

.bh-online-pill.is-active {
  border-color: color-mix(in srgb, #2E7D32 40%, var(--bh-border-on-light));
}

.bh-online-dot {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: #9E9E9E;
  flex-shrink: 0;
}

.bh-online-pill.is-active .bh-online-dot,
.bh-online-dot.is-lg {
  background: #2E7D32;
  box-shadow: 0 0 0 0 color-mix(in srgb, #2E7D32 45%, transparent);
  animation: bh-online-pulse 1.8s var(--bh-ease) infinite;
}

.bh-online-dot.is-lg {
  width: 0.85rem;
  height: 0.85rem;
}

.bh-online-label {
  color: var(--bh-muted-on-light);
}

.bh-online-count {
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  min-width: 1.25ch;
}

.bh-online-hero {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--bh-space-4);
  padding: var(--bh-space-5);
  margin-block-end: var(--bh-space-5);
  background: var(--bh-surface-light);
  border: 1px solid var(--bh-border-on-light);
  border-radius: var(--bh-radius-panel);
}

.bh-online-hero-main {
  display: flex;
  align-items: center;
  gap: var(--bh-space-3);
}

.bh-online-hero-label {
  margin: 0;
  font-size: 0.85rem;
  color: var(--bh-muted-on-light);
}

.bh-online-hero-count {
  margin: 0.15rem 0 0;
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  color: var(--bh-text-on-light);
}

@keyframes bh-online-pulse {
  0% { box-shadow: 0 0 0 0 color-mix(in srgb, #2E7D32 40%, transparent); }
  70% { box-shadow: 0 0 0 0.45rem transparent; }
  100% { box-shadow: 0 0 0 0 transparent; }
}

@media (prefers-reduced-motion: reduce) {
  .bh-online-pill.is-active .bh-online-dot,
  .bh-online-dot.is-lg {
    animation: none;
  }
}


.bh-admin-menu-btn,
.bh-admin-sidebar-close {
  display: none;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid var(--bh-border-on-light);
  border-radius: var(--bh-radius-panel);
  background: var(--bh-surface-light);
  color: var(--bh-text-on-light);
  cursor: pointer;
}

.bh-admin-main {
  width: min(100% - 2rem, 68rem);
  margin-inline: auto;
  padding: clamp(1.25rem, 3vw, 2rem) 0 clamp(2.5rem, 5vw, 3.5rem);
}

.bh-panel .bh-admin-main .bh-page-head h1 {
  /* Topbar already shows page title; keep in-page H1 quieter for scanability */
  font-size: 1.35rem;
}

.bh-admin-backdrop {
  display: none;
}

.bh-admin-welcome {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--bh-space-6);
  padding: var(--bh-space-6);
  margin-block-end: var(--bh-space-8);
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--bh-magenta) 8%, var(--bh-surface-light)), var(--bh-surface-light) 55%),
    var(--bh-surface-light);
  border: 1px solid var(--bh-border-on-light);
  border-radius: var(--bh-radius-panel);
  position: relative;
  overflow: hidden;
}

.bh-admin-welcome::after {
  content: "";
  position: absolute;
  inset-block: 0;
  inset-inline-start: 0;
  width: 4px;
  background: linear-gradient(180deg, var(--bh-magenta), var(--bh-gold));
}

.bh-admin-welcome-kicker {
  margin: 0 0 var(--bh-space-2);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--bh-magenta);
}

.bh-admin-welcome-title {
  margin: 0 0 var(--bh-space-2);
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--bh-text-on-light);
}

.bh-admin-welcome .bh-page-lead {
  margin: 0;
  max-width: 36rem;
}

.bh-admin-welcome-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--bh-space-3);
}

.bh-admin-section {
  margin-block-end: var(--bh-space-8);
}

.bh-admin-section-head {
  margin-block-end: var(--bh-space-4);
}

.bh-admin-section-head h2 {
  margin: 0 0 var(--bh-space-1);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--bh-text-on-light);
}

.bh-admin-section-head p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--bh-muted-on-light);
}

.bh-admin-home .bh-card-grid {
  margin-block-start: var(--bh-space-6);
}

.bh-dash-tiles {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(12.5rem, 1fr));
  gap: var(--bh-space-3);
  margin-block: 0;
}

.bh-dash-tile {
  display: grid;
  gap: var(--bh-space-2);
  padding: var(--bh-space-5);
  text-decoration: none;
  color: inherit;
  border: 1px solid var(--bh-border-on-light);
  border-radius: var(--bh-radius-panel);
  background: var(--bh-surface-light);
  transition:
    border-color var(--bh-normal) var(--bh-ease),
    box-shadow var(--bh-normal) var(--bh-ease),
    transform var(--bh-fast) var(--bh-ease);
  min-height: 7rem;
  align-content: start;
}

.bh-dash-tile strong {
  font-size: 0.98rem;
  color: var(--bh-text-on-light);
}

.bh-dash-tile:hover {
  border-color: color-mix(in srgb, var(--bh-magenta) 35%, var(--bh-border-on-light));
  box-shadow: 0 8px 24px color-mix(in srgb, var(--bh-purple) 6%, transparent);
  transform: translateY(-2px);
}

.bh-dash-tile .bh-icon {
  color: var(--bh-magenta);
}

.bh-dash-tile.is-emphasis {
  background: linear-gradient(160deg, color-mix(in srgb, var(--bh-magenta) 5%, #fff), #fff);
  border-color: color-mix(in srgb, var(--bh-magenta) 16%, var(--bh-border-on-light));
}

.bh-dash-tiles-primary {
  grid-template-columns: repeat(auto-fill, minmax(13.5rem, 1fr));
}

[x-cloak] {
  display: none !important;
}

/* HTML hidden must win over component display:flex/grid utilities */
[hidden] {
  display: none !important;
}

@media (max-width: 1023px) {
  .bh-admin-shell {
    grid-template-columns: 1fr;
  }

  .bh-admin-menu-btn,
  .bh-admin-sidebar-close {
    display: inline-flex;
  }

  .bh-admin-sidebar {
    position: fixed;
    inset-block: 0;
    inset-inline-start: 0;
    width: min(18rem, 88vw);
    transform: translateX(-110%);
    transition: transform var(--bh-normal) var(--bh-ease);
    box-shadow: 12px 0 40px color-mix(in srgb, #000 12%, transparent);
  }

  html[dir="rtl"] .bh-admin-sidebar {
    transform: translateX(110%);
    box-shadow: -12px 0 40px color-mix(in srgb, #000 12%, transparent);
  }

  .bh-admin-sidebar.is-open,
  html[dir="rtl"] .bh-admin-sidebar.is-open {
    transform: translateX(0);
  }

  .bh-admin-backdrop {
    display: block;
    position: fixed;
    inset: 0;
    background: color-mix(in srgb, #000 35%, transparent);
    z-index: 15;
  }
}

.bh-dl {
  display: grid;
  grid-template-columns: 8rem 1fr;
  gap: var(--bh-space-2) var(--bh-space-4);
}

.bh-dl dt {
  color: var(--bh-muted-on-light);
}

.bh-ua {
  word-break: break-all;
  font-size: 0.85rem;
}

.bh-path {
  padding-inline-start: 1.25rem;
}

.bh-article h1 {
  margin-top: 0;
}

.bh-prose :deep(p),
.bh-prose p {
  margin: 0 0 1rem;
}

.bh-portfolio-cover {
  margin: 0 0 var(--bh-space-6);
  overflow: hidden;
  border: 1px solid var(--bh-border);
  background: var(--bh-surface);
}

.bh-portfolio-cover img {
  display: block;
  width: 100%;
  max-height: 28rem;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

/* Public portfolio listing + detail */
.bh-portfolio {
  padding-block-end: var(--bh-space-10);
}

.bh-portfolio-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(5rem, 8.5rem);
  gap: var(--bh-space-6);
  align-items: end;
  margin-block-end: var(--bh-space-6);
  padding-block-end: var(--bh-space-6);
  border-block-end: 1px solid color-mix(in srgb, var(--bh-gold) 22%, var(--bh-border));
}

.bh-portfolio-hero-copy h1 {
  margin: 0.2rem 0 0.7rem;
  font-size: clamp(1.7rem, 3.2vw, 2.35rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.2;
}

.bh-portfolio-hero-mark {
  position: relative;
  height: 5.4rem;
}

.bh-portfolio-poly {
  position: absolute;
  border: 1px solid color-mix(in srgb, var(--bh-gold) 45%, transparent);
  background: color-mix(in srgb, var(--bh-magenta) 10%, transparent);
  clip-path: polygon(50% 0%, 100% 100%, 0% 100%);
}

.bh-portfolio-poly-a {
  inset-inline-end: 0.35rem;
  top: 0.15rem;
  width: 2.9rem;
  height: 2.5rem;
}

.bh-portfolio-poly-b {
  inset-inline-end: 1.55rem;
  top: 1.55rem;
  width: 2rem;
  height: 1.7rem;
  border-color: color-mix(in srgb, var(--bh-magenta) 50%, transparent);
  background: color-mix(in srgb, var(--bh-gold) 8%, transparent);
}

.bh-portfolio-line {
  position: absolute;
  inset-inline-end: 0;
  bottom: 0.35rem;
  width: 4.6rem;
  height: 1px;
  background: linear-gradient(
    to left,
    color-mix(in srgb, var(--bh-gold) 70%, transparent),
    transparent
  );
}

[dir="ltr"] .bh-portfolio-line {
  background: linear-gradient(
    to right,
    color-mix(in srgb, var(--bh-gold) 70%, transparent),
    transparent
  );
}

.bh-portfolio-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-block-end: var(--bh-space-7);
}

.bh-portfolio-filter {
  display: inline-flex;
  align-items: center;
  min-height: 2.15rem;
  padding: 0.3rem 0.85rem;
  border: 1px solid var(--bh-border);
  border-radius: var(--bh-radius-vitrine);
  background: color-mix(in srgb, var(--bh-surface-raised) 65%, transparent);
  color: var(--bh-text);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 600;
}

.bh-portfolio-filter:hover {
  border-color: color-mix(in srgb, var(--bh-gold) 45%, var(--bh-border));
}

.bh-portfolio-filter.is-on {
  border-color: color-mix(in srgb, var(--bh-gold) 70%, var(--bh-border));
  background: color-mix(in srgb, var(--bh-gold) 14%, var(--bh-surface));
  color: var(--bh-gold-bright);
}

.bh-portfolio-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--bh-space-5);
}

.bh-portfolio-card {
  min-width: 0;
}

.bh-portfolio-card.is-feature {
  grid-column: 1 / -1;
}

.bh-portfolio-card a {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  border: 1px solid var(--bh-border);
  border-radius: var(--bh-radius-vitrine);
  background: color-mix(in srgb, var(--bh-surface) 88%, transparent);
  transition: border-color var(--bh-fast) var(--bh-ease), background var(--bh-fast) var(--bh-ease);
}

.bh-portfolio-card a:hover {
  border-color: color-mix(in srgb, var(--bh-gold) 48%, var(--bh-border));
  background: var(--bh-surface-raised);
}

.bh-portfolio-card a:focus-visible {
  outline: 2px solid var(--bh-focus);
  outline-offset: 2px;
}

.bh-portfolio-card.is-feature a {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(16rem, 1fr);
  min-height: 17.5rem;
}

.bh-portfolio-cover-frame {
  position: relative;
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--bh-surface-raised);
}

.bh-portfolio-card.is-feature .bh-portfolio-cover-frame {
  aspect-ratio: auto;
  min-height: 100%;
}

.bh-portfolio-cover-frame img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bh-portfolio-cover-frame img[hidden] {
  display: none;
}

.bh-portfolio-cover-fallback {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      145deg,
      color-mix(in srgb, var(--bh-magenta) 16%, transparent),
      transparent 58%
    );
  clip-path: polygon(58% 0, 100% 38%, 72% 100%, 0 78%, 12% 18%);
}

.bh-portfolio-card-copy {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 1rem 1.1rem 1.1rem;
  min-width: 0;
}

.bh-portfolio-card.is-feature .bh-portfolio-card-copy {
  justify-content: center;
  padding: 1.35rem 1.4rem 1.5rem;
  gap: 0.7rem;
}

.bh-portfolio-card-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem 0.7rem;
}

.bh-portfolio-card-tag {
  font-size: 0.78rem;
  color: var(--bh-gold-bright);
  letter-spacing: 0.03em;
}

.bh-portfolio-card-title {
  font-size: 1.05rem;
  font-weight: 650;
  line-height: 1.45;
  letter-spacing: -0.015em;
}

.bh-portfolio-card.is-feature .bh-portfolio-card-title {
  font-size: clamp(1.25rem, 2.2vw, 1.7rem);
  line-height: 1.35;
}

.bh-portfolio-card a:hover .bh-portfolio-card-title {
  color: var(--bh-gold-bright);
}

.bh-portfolio-card-excerpt {
  color: var(--bh-text-muted);
  font-size: 0.92rem;
  line-height: 1.65;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.bh-portfolio-card.is-feature .bh-portfolio-card-excerpt {
  -webkit-line-clamp: 4;
  font-size: 0.98rem;
}

.bh-portfolio-card-more {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-block-start: auto;
  padding-block-start: 0.4rem;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--bh-gold-bright);
}

.bh-portfolio-card-more .bh-icon {
  width: 0.95rem;
  height: 0.95rem;
}

.bh-portfolio-detail {
  max-width: 48rem;
  margin-inline: auto;
  padding-block-end: var(--bh-space-10);
}

.bh-portfolio-detail-head {
  display: grid;
  gap: 0.7rem;
  margin-block-end: var(--bh-space-6);
}

.bh-portfolio-detail-head h1 {
  margin: 0;
  font-size: clamp(1.55rem, 3vw, 2.15rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.3;
}

.bh-portfolio-detail-dek {
  margin: 0;
  color: var(--bh-text-muted);
  font-size: 1.05rem;
  line-height: 1.75;
}

.bh-portfolio-detail-meta {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem 0.85rem;
  font-size: 0.86rem;
  color: var(--bh-text-muted);
}

.bh-portfolio-prose {
  font-size: 1.05rem;
  line-height: 1.9;
}

.bh-portfolio-prose h2 {
  margin: 1.75rem 0 0.7rem;
  font-size: 1.22rem;
  font-weight: 700;
}

.bh-portfolio-prose img {
  max-width: 100%;
  height: auto;
}

.bh-portfolio-detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--bh-space-3);
  margin-block-start: var(--bh-space-8);
  padding-block-start: var(--bh-space-5);
  border-block-start: 1px solid var(--bh-border);
}

.bh-portfolio .bh-service-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--bh-space-4);
}

.bh-portfolio .bh-service-list a {
  height: 100%;
}

@media (max-width: 800px) {
  .bh-portfolio-hero {
    grid-template-columns: 1fr;
  }

  .bh-portfolio-hero-mark {
    display: none;
  }

  .bh-portfolio-grid,
  .bh-portfolio .bh-service-list {
    grid-template-columns: 1fr;
  }

  .bh-portfolio-card.is-feature a {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .bh-portfolio-card.is-feature .bh-portfolio-cover-frame {
    aspect-ratio: 16 / 10;
    min-height: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .bh-portfolio-card a {
    transition: none;
  }
}

/* ??? Confirm dialog ??? */
.bh-confirm[hidden] {
  display: none !important;
}

.bh-confirm {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: grid;
  place-items: center;
  padding: var(--bh-space-4);
  background: color-mix(in srgb, #0B0714 62%, transparent);
  backdrop-filter: blur(4px);
  animation: bh-confirm-fade 0.18s var(--bh-ease);
}

.bh-confirm-panel {
  width: min(100%, 26rem);
  background: var(--bh-surface-raised);
  border: 1px solid var(--bh-border);
  border-radius: var(--bh-radius-vitrine);
  padding: var(--bh-space-6);
  color: var(--bh-text);
  display: grid;
  gap: var(--bh-space-4);
  box-shadow: 0 24px 64px color-mix(in srgb, #000 35%, transparent);
  animation: bh-confirm-rise 0.2s var(--bh-ease);
}

.bh-panel .bh-confirm-panel {
  background: var(--bh-surface-light);
  color: var(--bh-text-on-light);
  border-color: var(--bh-border-on-light);
  border-radius: var(--bh-radius-panel);
  box-shadow: 0 20px 48px color-mix(in srgb, #000 14%, transparent);
}

.bh-confirm-panel.is-danger {
  border-block-start: 3px solid #C62828;
}

.bh-confirm-icon {
  width: 2.75rem;
  height: 2.75rem;
  display: grid;
  place-items: center;
  border-radius: var(--bh-radius-panel);
  background: color-mix(in srgb, #C62828 12%, transparent);
  color: #C62828;
}

.bh-confirm-icon .bh-icon {
  width: 1.35rem;
  height: 1.35rem;
}

.bh-confirm-copy h2 {
  margin: 0 0 var(--bh-space-2);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.bh-confirm-copy p {
  margin: 0;
  color: var(--bh-text-muted);
  line-height: 1.55;
  font-size: 0.95rem;
}

.bh-panel .bh-confirm-copy p {
  color: var(--bh-muted-on-light);
}

.bh-confirm-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--bh-space-3);
  justify-content: flex-end;
  margin-block-start: var(--bh-space-2);
}

.bh-btn-delete {
  color: #C62828;
}

.bh-btn-delete:hover:not(:disabled) {
  background: color-mix(in srgb, #C62828 10%, transparent);
  color: #B71C1C;
}

.bh-btn-edit {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: color-mix(in srgb, var(--bh-gold) 85%, #5D4037);
  border: 1px solid color-mix(in srgb, var(--bh-gold) 28%, transparent);
  border-radius: var(--bh-radius-vitrine, 2px);
  padding: 0.35rem 0.7rem;
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.bh-btn-edit:hover:not(:disabled) {
  background: color-mix(in srgb, var(--bh-gold) 14%, transparent);
  border-color: color-mix(in srgb, var(--bh-gold) 55%, transparent);
  color: color-mix(in srgb, var(--bh-gold) 55%, #3E2723);
}

.bh-btn-edit .bh-icon,
.bh-btn-delete .bh-icon {
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
}

.bh-row-actions {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem;
  justify-content: flex-end;
}

.bh-item-audit {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.15rem 0;
  margin: 0.4rem 0 0;
  font-size: 0.72rem;
  color: var(--bh-muted-on-light);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.01em;
  line-height: 1.45;
}

.bh-item-audit-chip {
  display: inline-flex;
  align-items: baseline;
  gap: 0.3rem;
}

.bh-item-audit-label {
  font-size: 0.65rem;
  text-transform: none;
  opacity: 0.75;
  letter-spacing: 0;
}

.bh-item-audit-sep {
  margin-inline: 0.45rem;
  opacity: 0.4;
}

.bh-form-editing {
  outline: 1px solid color-mix(in srgb, var(--bh-gold) 35%, transparent);
  outline-offset: 0.5rem;
}

h2[data-edit-hint]::after {
  content: " ? " attr(data-edit-hint);
  font-size: 0.85rem;
  font-weight: 500;
  color: color-mix(in srgb, var(--bh-gold) 70%, var(--bh-muted-on-light));
}

@keyframes bh-confirm-fade {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes bh-confirm-rise {
  from { opacity: 0; transform: translateY(0.5rem) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@media (prefers-reduced-motion: reduce) {
  .bh-confirm,
  .bh-confirm-panel {
    animation: none;
  }
}

.bh-password-field {
  position: relative;
  display: block;
}

.bh-password-field input {
  padding-inline-end: 2.75rem;
}

.bh-password-toggle {
  position: absolute;
  inset-inline-end: 0.35rem;
  inset-block-start: 50%;
  transform: translateY(-50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border: 0;
  background: transparent;
  color: var(--bh-text-muted);
  cursor: pointer;
  padding: 0;
}

.bh-password-toggle:hover {
  color: var(--bh-gold-bright);
}

.bh-panel .bh-password-toggle:hover {
  color: var(--bh-magenta);
}

/* ??? Misc ??? */
.bh-section {
  margin-block: var(--bh-space-10);
}

.bh-section-title {
  margin: 0 0 var(--bh-space-4);
  font-size: 1.25rem;
}

@media (max-width: 639px) {
  .bh-site-header {
    flex-direction: column;
    align-items: stretch;
  }

  .bh-header-actions,
  .bh-admin-nav,
  .bh-primary-nav {
    width: 100%;
  }

  .bh-vitrine .bh-site-header {
    flex-direction: unset;
    align-items: center;
  }

  .bh-dl {
    grid-template-columns: 1fr;
  }
}

/* ??? Shared image / file upload (doc 25) ??? */
.bh-upload {
  display: flex;
  flex-direction: column;
  gap: var(--bh-space-3);
  margin-block-end: var(--bh-space-4);
}

.bh-upload-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--bh-space-2);
}

.bh-upload-hint {
  font-size: 0.8rem;
  color: var(--bh-muted-on-light);
}

.bh-upload-drop {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 8.5rem;
  border: 1px dashed color-mix(in srgb, var(--bh-magenta) 35%, var(--bh-border-on-light));
  border-radius: var(--bh-radius-panel);
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--bh-magenta) 4%, var(--bh-surface-light)), var(--bh-surface-light));
  cursor: pointer;
  overflow: hidden;
  transition: border-color var(--bh-fast) var(--bh-ease), background var(--bh-fast) var(--bh-ease);
}

.bh-upload-drop:hover,
.bh-upload-drop.is-dragover {
  border-color: var(--bh-magenta);
  background: color-mix(in srgb, var(--bh-magenta) 8%, var(--bh-surface-light));
}

.bh-upload-drop.is-busy {
  pointer-events: none;
  opacity: 0.85;
}

.bh-upload--logo .bh-upload-drop {
  min-height: 7rem;
  max-width: 16rem;
}

.bh-upload--banner .bh-upload-drop {
  min-height: 9rem;
  aspect-ratio: 21 / 7;
}

.bh-upload--background .bh-upload-drop {
  min-height: 10rem;
  aspect-ratio: 16 / 9;
}

.bh-upload-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--bh-space-2);
  padding: var(--bh-space-4);
  text-align: center;
  color: var(--bh-text-on-light);
}

.bh-upload-empty .bh-icon {
  width: 1.75rem;
  height: 1.75rem;
  color: var(--bh-magenta);
}

.bh-upload-empty strong {
  font-size: 0.95rem;
  font-weight: 600;
}

.bh-upload-preview {
  inset: 0;
  width: 100%;
  height: 100%;
  min-height: inherit;
}

.bh-upload-preview img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: color-mix(in srgb, #000 4%, transparent);
}

.bh-upload--banner .bh-upload-preview img,
.bh-upload--background .bh-upload-preview img {
  object-fit: cover;
}

.bh-upload-busy {
  position: absolute;
  inset: 0;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--bh-space-2);
  background: color-mix(in srgb, var(--bh-surface-light) 88%, transparent);
  font-size: 0.9rem;
  font-weight: 600;
}

.bh-upload-drop.is-busy .bh-upload-busy,
.bh-upload-busy:not([hidden]) {
  display: flex;
}

.bh-upload-spinner {
  width: 1.5rem;
  height: 1.5rem;
  border: 2px solid var(--bh-border-on-light);
  border-block-start-color: var(--bh-magenta);
  border-radius: 50%;
  animation: bh-spin 0.7s linear infinite;
}

@keyframes bh-spin {
  to { transform: rotate(360deg); }
}

@media (prefers-reduced-motion: reduce) {
  .bh-upload-spinner { animation: none; }
}

.bh-upload-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--bh-space-2);
}

.bh-upload-pick {
  cursor: pointer;
}

.bh-upload-name {
  font-size: 0.75rem;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.bh-upload-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
  gap: var(--bh-space-5);
}

.bh-brand-form .bh-card-section {
  margin-block-end: var(--bh-space-6);
  padding: var(--bh-space-5);
  background: var(--bh-surface-light);
  border: 1px solid var(--bh-border-on-light);
  border-radius: var(--bh-radius-panel);
}

.bh-brand-video-upload {
  margin-block-start: var(--bh-space-4);
  display: grid;
  gap: var(--bh-space-3);
}

.bh-brand-video-preview {
  max-width: 36rem;
  border: 1px solid var(--bh-border-on-light);
  border-radius: var(--bh-radius-panel, 2px);
  background: var(--bh-canvas-light);
  overflow: hidden;
}

.bh-brand-video-preview video {
  display: block;
  width: 100%;
  max-height: 16rem;
  background: #0b0714;
}

.bh-brand-form .bh-card-section > h2 {
  margin: 0 0 var(--bh-space-4);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--bh-text-on-light);
}

.bh-brand-form .bh-field-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr));
  gap: var(--bh-space-4);
}

.bh-lang-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: var(--bh-space-2);
  margin-block-end: var(--bh-space-4);
  padding: 0.25rem;
  background: color-mix(in srgb, var(--bh-magenta) 6%, var(--bh-surface-light));
  border: 1px solid var(--bh-border-on-light);
  border-radius: var(--bh-radius-panel);
}

.bh-lang-tab {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--bh-muted-on-light);
  font: inherit;
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.55rem 1rem;
  border-radius: calc(var(--bh-radius-panel) - 2px);
  cursor: pointer;
}

.bh-lang-tab.is-active {
  background: var(--bh-surface-light);
  color: var(--bh-magenta);
  box-shadow: 0 1px 0 color-mix(in srgb, #000 6%, transparent);
}

.bh-lang-panel[hidden] {
  display: none !important;
}

.bh-brand-form-actions {
  position: sticky;
  inset-block-end: 0;
  display: flex;
  flex-wrap: wrap;
  gap: var(--bh-space-3);
  padding: var(--bh-space-4) 0;
  margin-block-start: var(--bh-space-4);
  background: linear-gradient(180deg, transparent, var(--bh-canvas-light) 35%);
  z-index: 5;
}

.bh-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.bh-upload--file .bh-upload-drop {
  min-height: 6.5rem;
}

.bh-upload-file-card {
  display: flex;
  align-items: center;
  gap: var(--bh-space-3);
  padding: var(--bh-space-4);
  width: 100%;
}

.bh-upload-file-card .bh-icon {
  width: 1.75rem;
  height: 1.75rem;
  color: var(--bh-magenta);
  flex-shrink: 0;
}

.bh-upload-file-card strong {
  display: block;
  font-size: 0.95rem;
}

.bh-upload-file-card .bh-muted {
  display: block;
  font-size: 0.75rem;
  margin-block-start: 0.15rem;
}

.bh-content-admin-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--bh-space-4);
}

.bh-content-filters {
  margin-block-end: var(--bh-space-6);
}

.bh-topic-chips {
  display: flex;
  flex-wrap: wrap;
  gap: var(--bh-space-2);
  margin-block-end: var(--bh-space-4);
}

.bh-topic-chip {
  display: inline-flex;
  align-items: center;
  padding: 0.38rem 0.75rem;
  border: 1px solid var(--bh-border-on-light);
  border-radius: var(--bh-radius-panel);
  background: var(--bh-surface-light);
  color: var(--bh-text-on-light);
  font-size: 0.8rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}

.bh-topic-chip:hover {
  border-color: var(--bh-magenta);
  color: var(--bh-magenta);
}

.bh-topic-chip.is-active {
  background: color-mix(in srgb, var(--bh-magenta) 12%, var(--bh-surface-light));
  border-color: var(--bh-magenta);
  color: var(--bh-magenta);
}

.bh-content-search-form {
  display: flex;
  flex-wrap: wrap;
  gap: var(--bh-space-3);
  align-items: flex-end;
}

.bh-content-search-field {
  flex: 1 1 14rem;
  min-width: 12rem;
}

.bh-content-count {
  margin: var(--bh-space-3) 0 0;
  font-size: 0.85rem;
}

.bh-content-subnav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.15rem 0.35rem;
  margin-block-end: var(--bh-space-4);
  padding-block-end: 0.15rem;
  border-block-end: 1px solid var(--bh-border-on-light);
}

.bh-content-subnav .bh-topic-chip {
  border: 0;
  border-radius: 0;
  background: transparent;
  padding: 0.4rem 0.75rem 0.55rem;
  border-block-end: 2px solid transparent;
  margin-block-end: -1px;
}

.bh-content-subnav .bh-topic-chip:hover {
  background: color-mix(in srgb, var(--bh-magenta) 8%, transparent);
}

.bh-content-subnav .bh-topic-chip.is-active {
  background: transparent;
  border-block-end-color: var(--bh-magenta);
}

.bh-chip-note {
  margin-inline-start: 0.35rem;
  font-size: 0.72rem;
  font-weight: 500;
  opacity: 0.8;
}

.bh-chip-note.is-pub {
  color: var(--bh-gold);
  opacity: 1;
}

.bh-chip-note.is-draft,
.bh-chip-note.is-empty {
  opacity: 0.65;
}

.bh-field-stack {
  margin-block-start: 1rem;
}

.bh-seo-lead {
  margin-top: 0;
}

.bh-seo-checklist {
  margin: 0 0 var(--bh-space-4);
  padding-inline-start: 1.1rem;
  color: var(--bh-muted-on-light);
  font-size: 0.85rem;
  line-height: 1.55;
}

.bh-seo-checklist .is-ok {
  color: var(--bh-text-on-light);
}

.bh-seo-checklist .is-gap {
  color: var(--bh-magenta);
}

.bh-check-stack {
  display: grid;
  gap: 0.65rem;
}

.bh-content-row-title a {
  color: inherit;
  text-decoration: none;
}

.bh-content-row-title a:hover {
  color: var(--bh-magenta);
}

.bh-comment-admin-list {
  display: flex;
  flex-direction: column;
  gap: var(--bh-space-3);
}

.bh-comment-admin-card {
  padding: var(--bh-space-4);
  background: var(--bh-surface-light);
  border: 1px solid var(--bh-border-on-light);
  border-radius: var(--bh-radius-panel);
}

.bh-comment-admin-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--bh-space-3);
  margin-block-end: 0.65rem;
}

.bh-comment-admin-item {
  display: inline-block;
  font-weight: 650;
  color: var(--bh-text-on-light);
  text-decoration: none;
}

.bh-comment-admin-item:hover {
  color: var(--bh-magenta);
}

.bh-comment-admin-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.75rem;
  margin-block-start: 0.3rem;
  font-size: 0.8rem;
  color: var(--bh-muted-on-light);
}

.bh-comment-admin-body {
  margin: 0;
  line-height: 1.6;
  color: var(--bh-text-on-light);
}

.bh-comment-admin-reply-text {
  margin: 0.65rem 0 0;
  padding: 0.55rem 0.75rem;
  background: color-mix(in srgb, var(--bh-gold) 10%, var(--bh-surface-light));
  border-inline-start: 3px solid var(--bh-gold);
  color: var(--bh-muted-on-light);
}

.bh-comment-admin-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--bh-space-2);
  margin-block-start: 0.75rem;
}

.bh-comment-admin-reply {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.55rem;
  align-items: end;
  margin-block-start: 0.85rem;
}

@media (max-width: 719px) {
  .bh-comment-admin-reply {
    grid-template-columns: 1fr;
  }
}

.bh-content-list {
  display: flex;
  flex-direction: column;
  gap: var(--bh-space-3);
}

.bh-content-row {
  display: grid;
  grid-template-columns: 4.5rem minmax(0, 1fr);
  grid-template-areas:
    "thumb body"
    ". actions";
  gap: var(--bh-space-3) var(--bh-space-4);
  align-items: start;
  padding: var(--bh-space-4);
  background: var(--bh-surface-light);
  border: 1px solid var(--bh-border-on-light);
  border-radius: var(--bh-radius-panel);
}

.bh-content-thumb {
  grid-area: thumb;
  width: 4.5rem;
  height: 4.5rem;
  border-radius: var(--bh-radius-panel);
  overflow: hidden;
  background: color-mix(in srgb, var(--bh-magenta) 6%, var(--bh-canvas-light));
  border: 1px solid var(--bh-border-on-light);
}

.bh-content-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.bh-content-thumb-empty {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  color: var(--bh-muted-on-light);
}

.bh-content-row-body {
  grid-area: body;
  min-width: 0;
}

.bh-content-row-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--bh-space-2);
  margin-block-end: 0.35rem;
}

.bh-content-row-title {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
  color: var(--bh-text-on-light);
}

.bh-content-row-excerpt {
  margin: 0.4rem 0 0;
  color: var(--bh-muted-on-light);
  font-size: 0.9rem;
  line-height: 1.55;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  overflow: hidden;
}

.bh-content-row-slug {
  margin: 0.35rem 0 0;
  font-size: 0.8rem;
}

.bh-content-row-actions {
  grid-area: actions;
  display: flex;
  flex-wrap: wrap;
  gap: var(--bh-space-2);
  justify-content: flex-start;
  align-self: start;
  width: 100%;
  padding-block-start: 0.65rem;
  border-block-start: 1px solid var(--bh-border-on-light);
}

.bh-input-readonly {
  width: 100%;
  padding: 0.55rem 0.75rem;
  border: 1px solid var(--bh-border-on-light);
  border-radius: var(--bh-radius-panel);
  background: color-mix(in srgb, #000 3%, var(--bh-surface-light));
  color: var(--bh-muted-on-light);
}

@media (max-width: 719px) {
  .bh-content-row {
    grid-template-columns: 3.5rem minmax(0, 1fr);
    grid-template-areas:
      "thumb body"
      "actions actions";
  }

  .bh-content-row-actions {
    justify-content: stretch;
  }

  .bh-content-row-actions .bh-btn {
    flex: 1;
  }
}

/* ?? Content category tree admin ?? */
.bh-cat-admin-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  align-items: center;
}

.bh-cat-admin-kicker {
  margin: 0 0 0.35rem;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--bh-muted-on-light);
}

.bh-cat-admin-toolbar {
  margin-block-end: var(--bh-space-4);
}

.bh-cat-quick {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(12rem, 22rem) auto;
  gap: 0.85rem 1rem;
  align-items: end;
  margin-block-end: var(--bh-space-4);
}

.bh-cat-quick-copy {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  min-width: 0;
}

.bh-cat-quick-copy strong {
  font-size: 0.95rem;
  font-weight: 650;
}

.bh-cat-quick-field {
  margin: 0;
}

.bh-cat-quick-field input {
  width: 100%;
}

.bh-cat-quick-hint {
  margin: 0 0 var(--bh-space-4);
}

.bh-cat-quick-child {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem;
  margin-block-start: 0.55rem;
  margin-inline-start: calc((var(--bh-cat-depth) * 1.15rem) + 2.25rem);
  padding: 0.65rem 0.85rem;
  background: color-mix(in srgb, var(--bh-gold, #d4af37) 8%, var(--bh-surface-light));
  border: 1px dashed color-mix(in srgb, var(--bh-gold, #d4af37) 35%, var(--bh-border-on-light));
  border-radius: var(--bh-radius-panel, 2px);
}

.bh-cat-quick-child .bh-cat-quick-field {
  flex: 1 1 12rem;
  min-width: 10rem;
}

@media (max-width: 900px) {
  .bh-cat-quick {
    grid-template-columns: 1fr;
    align-items: stretch;
  }

  .bh-cat-quick-child {
    margin-inline-start: calc(var(--bh-cat-depth) * 0.75rem);
  }
}

.bh-cat-tree {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.bh-cat-node {
  --bh-cat-depth: 0;
}

.bh-cat-node-row {
  display: grid;
  grid-template-columns: 2.25rem minmax(0, 1fr) auto;
  gap: 0.65rem;
  align-items: center;
  padding: 0.85rem 1rem;
  margin-inline-start: calc(var(--bh-cat-depth) * 1.15rem);
  background: var(--bh-surface-light);
  border: 1px solid var(--bh-border-on-light);
  border-radius: var(--bh-radius-panel, 2px);
  border-inline-start: 3px solid color-mix(in srgb, var(--bh-gold, #d4af37) 55%, var(--bh-border-on-light));
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.bh-cat-node-row:hover {
  border-color: color-mix(in srgb, var(--bh-gold, #d4af37) 35%, var(--bh-border-on-light));
  box-shadow: 0 1px 0 color-mix(in srgb, var(--bh-canvas, #111) 4%, transparent);
}

.bh-cat-node.is-disabled .bh-cat-node-row {
  opacity: 0.68;
}

.bh-cat-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  padding: 0;
  border: 1px solid var(--bh-border-on-light);
  background: color-mix(in srgb, var(--bh-canvas, #111) 3%, var(--bh-surface-light));
  border-radius: var(--bh-radius-panel, 2px);
  color: var(--bh-text-on-light);
  cursor: pointer;
}

.bh-cat-toggle.is-leaf {
  border-color: transparent;
  background: transparent;
  cursor: default;
}

.bh-cat-toggle-icon {
  display: inline-flex;
  transition: transform 0.18s ease;
}

.bh-cat-toggle-icon.is-open {
  transform: rotate(180deg);
}

.bh-cat-toggle-dot {
  width: 0.35rem;
  height: 0.35rem;
  border-radius: 999px;
  background: color-mix(in srgb, var(--bh-text-on-light) 35%, transparent);
}

.bh-cat-node-main {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  min-width: 0;
}

.bh-cat-node-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.35rem;
  height: 2.35rem;
  flex-shrink: 0;
  color: var(--bh-gold, #d4af37);
  background: color-mix(in srgb, var(--bh-gold, #d4af37) 12%, var(--bh-surface-light));
  border: 1px solid color-mix(in srgb, var(--bh-gold, #d4af37) 22%, var(--bh-border-on-light));
  border-radius: var(--bh-radius-panel, 2px);
}

.bh-cat-node-copy {
  min-width: 0;
}

.bh-cat-node-title-row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.45rem 0.75rem;
}

.bh-cat-node-title-row h3 {
  margin: 0;
  font-size: 1.02rem;
  font-weight: 650;
  letter-spacing: -0.01em;
}

.bh-cat-depth-pill {
  font-size: 0.72rem;
  padding: 0.12rem 0.45rem;
  border: 1px solid var(--bh-border-on-light);
  color: var(--bh-muted-on-light);
  border-radius: var(--bh-radius-panel, 2px);
  font-variant-numeric: tabular-nums;
}

.bh-cat-node-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem 0.75rem;
  margin-block-start: 0.35rem;
  font-size: 0.85rem;
}

.bh-cat-node-actions {
  justify-content: flex-end;
}

.bh-cat-children {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  margin-block-start: 0.55rem;
}

.bh-field-check {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin-block-start: 1.55rem;
}

.bh-field-check input[type="checkbox"] {
  width: 1.05rem;
  height: 1.05rem;
}

@media (max-width: 900px) {
  .bh-cat-node-row {
    grid-template-columns: 2rem minmax(0, 1fr);
  }

  .bh-cat-node-actions {
    grid-column: 1 / -1;
    justify-content: flex-start;
  }
}

/* ?? Catalog admin (products / services / portfolio) ?? */
.bh-catalog-admin-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--bh-space-4);
}

.bh-catalog-count {
  margin: 0 0 var(--bh-space-3);
  font-size: 0.85rem;
}

.bh-catalog-list {
  display: flex;
  flex-direction: column;
  gap: var(--bh-space-3);
}

.bh-catalog-card {
  display: grid;
  grid-template-columns: 5.5rem 1fr auto;
  gap: var(--bh-space-4);
  align-items: start;
  padding: var(--bh-space-4);
  background: var(--bh-surface-light);
  border: 1px solid var(--bh-border-on-light);
  border-radius: var(--bh-radius-panel, 2px);
}

.bh-catalog-card.is-vitrine-hidden,
.bh-content-row.is-vitrine-hidden {
  opacity: 0.72;
}

.bh-catalog-card-media {
  width: 5.5rem;
  height: 5.5rem;
  overflow: hidden;
  border: 1px solid var(--bh-border-on-light);
  background: color-mix(in srgb, var(--bh-canvas, #111) 4%, var(--bh-surface-light));
}

.bh-catalog-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.bh-catalog-card-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  color: var(--bh-muted-on-light);
  opacity: 0.55;
}

.bh-catalog-card-placeholder .bh-icon {
  width: 1.75rem;
  height: 1.75rem;
}

.bh-catalog-card-body {
  min-width: 0;
}

.bh-catalog-card-title-row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.5rem 0.85rem;
  margin: 0 0 0.25rem;
}

.bh-catalog-card-title-row h2 {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 650;
  letter-spacing: -0.01em;
}

.bh-catalog-card-name {
  margin: 0 0 0.35rem;
  font-size: 0.92rem;
  color: var(--bh-text-on-light);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.bh-catalog-card-tagline {
  margin: 0 0 0.35rem;
  font-size: 0.85rem;
}

.bh-catalog-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.85rem;
  align-items: center;
  margin: 0.35rem 0;
  font-size: 0.8rem;
  color: var(--bh-muted-on-light);
}

.bh-catalog-langs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin: 0.35rem 0;
}

.bh-catalog-card-actions {
  align-self: center;
}

.bh-catalog-editor-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--bh-space-3);
  margin-block-end: var(--bh-space-4);
  padding: var(--bh-space-3) var(--bh-space-4);
  background: var(--bh-surface-light);
  border: 1px solid var(--bh-border-on-light);
}

@media (max-width: 720px) {
  .bh-catalog-card {
    grid-template-columns: 4.25rem 1fr;
  }

  .bh-catalog-card-media {
    width: 4.25rem;
    height: 4.25rem;
  }

  .bh-catalog-card-actions {
    grid-column: 1 / -1;
    justify-content: flex-start;
  }
}

/* ?? SiteSettings Nav admin ?? */
.bh-nav-admin-filters {
  margin-block-end: var(--bh-space-4);
}

.bh-nav-admin-group {
  margin-block-end: var(--bh-space-5);
}

.bh-nav-admin-group-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.5rem 0.85rem;
  margin: 0 0 var(--bh-space-3);
  padding-block-end: 0.35rem;
  border-block-end: 1px solid var(--bh-border-on-light);
}

.bh-nav-admin-group-head h2 {
  margin: 0;
  font-size: 1rem;
  font-weight: 650;
  letter-spacing: -0.01em;
}

.bh-nav-admin-card h3 {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 650;
  letter-spacing: -0.01em;
}

.bh-nav-admin-card-icon .bh-catalog-card-placeholder {
  background: color-mix(in srgb, var(--bh-gold, #d4af37) 12%, var(--bh-surface-light));
  color: var(--bh-gold, #d4af37);
}

.bh-nav-admin-card.is-disabled {
  opacity: 0.62;
}

.bh-nav-admin-card.is-disabled .bh-catalog-card-title-row h3 {
  text-decoration: line-through;
  text-decoration-thickness: 1px;
  text-decoration-color: color-mix(in srgb, var(--bh-text-on-light) 35%, transparent);
}

.bh-btn-icon {
  min-width: 2.5rem;
  padding-inline: 0.55rem;
  justify-content: center;
}

.bh-btn-icon .bh-icon {
  margin: 0;
}

.bh-visibility-toggle.is-hidden {
  color: var(--bh-muted-on-light);
  opacity: 0.72;
}

.bh-visibility-toggle.is-visible {
  color: var(--bh-gold, #d4af37);
}

.bh-field-hint {
  display: block;
  margin-block-start: 0.35rem;
  font-size: 0.8rem;
  color: var(--bh-muted-on-light);
  line-height: 1.45;
}

.bh-nav-editor-lead {
  margin: 0 0 var(--bh-space-3);
  font-size: 0.9rem;
}

.bh-nav-lang-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--bh-space-3);
}

.bh-nav-lang-card {
  padding: var(--bh-space-4);
  background: color-mix(in srgb, var(--bh-canvas, #111) 3%, var(--bh-surface-light));
  border: 1px solid var(--bh-border-on-light);
  border-radius: var(--bh-radius-panel, 2px);
}

.bh-nav-lang-card > header {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.35rem;
  margin-block-end: var(--bh-space-3);
}

.bh-nav-lang-card > header strong {
  font-size: 0.95rem;
}

.bh-nav-lang-card .bh-field {
  margin-block-end: var(--bh-space-3);
}

@media (max-width: 960px) {
  .bh-nav-lang-grid {
    grid-template-columns: 1fr;
  }
}

/* ?? SiteSettings Trust admin ?? */
.bh-trust-admin-filters {
  margin-block-end: var(--bh-space-4);
}

.bh-trust-admin-card-value {
  display: flex;
  align-items: center;
  justify-content: center;
  background: color-mix(in srgb, var(--bh-magenta, #c82878) 10%, var(--bh-surface-light));
  border-color: color-mix(in srgb, var(--bh-magenta, #c82878) 22%, var(--bh-border-on-light));
}

.bh-trust-admin-card-value span {
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--bh-text-on-light);
  line-height: 1.2;
  text-align: center;
  padding: 0.35rem;
  word-break: break-word;
}

/* ?? Analytics admin ?? */
.bh-analytics-overview {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
  gap: var(--bh-space-4);
  margin-block-end: var(--bh-space-5);
}

.bh-analytics-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
  gap: var(--bh-space-4);
  margin-block-end: var(--bh-space-4);
}

.bh-analytics-stat-card,
.bh-analytics-total-card {
  padding: var(--bh-space-4) var(--bh-space-5);
  background: var(--bh-surface-light);
  border: 1px solid var(--bh-border-on-light);
  border-radius: var(--bh-radius-panel, 2px);
}

.bh-analytics-total-card.is-primary {
  border-color: color-mix(in srgb, var(--bh-magenta) 35%, var(--bh-border-on-light));
  background:
    linear-gradient(
      145deg,
      color-mix(in srgb, var(--bh-magenta) 8%, var(--bh-surface-light)),
      var(--bh-surface-light) 55%
    );
}

.bh-analytics-kicker {
  margin: 0;
  font-size: 0.75rem;
  font-weight: 650;
  letter-spacing: 0.02em;
  color: var(--bh-muted-on-light);
}

.bh-analytics-total-value,
.bh-analytics-stat-value {
  margin: 0.25rem 0 0.1rem;
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}

.bh-analytics-total-label {
  margin: 0;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--bh-text-on-light);
}

.bh-analytics-total-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.85rem;
  margin-block-start: var(--bh-space-3);
  font-size: 0.8rem;
  color: var(--bh-muted-on-light);
}

.bh-analytics-asof {
  margin: var(--bh-space-3) 0 0;
  font-size: 0.78rem;
}

.bh-analytics-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--bh-space-3) var(--bh-space-4);
  margin-block-end: var(--bh-space-4);
}

.bh-analytics-tabs {
  margin-block-start: var(--bh-space-3);
  width: 100%;
}

.bh-analytics-range-form {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--bh-space-2) var(--bh-space-3);
}

.bh-analytics-range-form input[type="date"] {
  min-inline-size: 10rem;
  direction: ltr;
}

.bh-analytics-sessions-head .bh-analytics-range-form {
  flex: 1 1 100%;
}

.bh-analytics-range-form .bh-field {
  margin: 0;
  min-inline-size: 8.5rem;
}

.bh-analytics-range-form input[dir="ltr"]:not([type="date"]) {
  min-inline-size: 9rem;
  direction: ltr;
}

.bh-analytics-total-value-sm {
  font-size: 1.35rem;
}

.bh-analytics-insight-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
  gap: var(--bh-space-4);
  margin-block-end: var(--bh-space-5);
}

.bh-analytics-insight-grid .bh-card-section > h2 {
  margin: 0 0 var(--bh-space-3);
  font-size: 1rem;
  font-weight: 650;
}

.bh-analytics-rank {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: var(--bh-space-3);
}

.bh-analytics-rank-copy {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.bh-analytics-rank-copy code,
.bh-analytics-table code {
  font-size: 0.75rem;
  color: var(--bh-muted-on-light);
}

.bh-analytics-rank-meta,
.bh-analytics-flow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.75rem;
  margin: 0.2rem 0;
}

.bh-analytics-lang-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.bh-analytics-lang-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.bh-path-step-aside {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.25rem;
  text-align: end;
}

.bh-analytics-history {
  margin-block-end: var(--bh-space-6);
  padding: var(--bh-space-4) var(--bh-space-5);
  background: var(--bh-surface-light);
  border: 1px solid var(--bh-border-on-light);
  border-radius: var(--bh-radius-panel, 2px);
}

.bh-analytics-history-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--bh-space-3);
  margin-block-end: var(--bh-space-4);
}

.bh-analytics-history-head h2 {
  margin: 0 0 0.2rem;
  font-size: 1.05rem;
  font-weight: 700;
}

.bh-analytics-history-head .bh-muted {
  margin: 0;
  font-size: 0.85rem;
}

.bh-analytics-period-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(11.5rem, 1fr));
  gap: var(--bh-space-3);
}

.bh-analytics-period-card {
  display: grid;
  gap: var(--bh-space-2);
  padding: var(--bh-space-3) var(--bh-space-4);
  background: var(--bh-canvas-light);
  border: 1px solid var(--bh-border-on-light);
  border-radius: var(--bh-radius-panel, 2px);
  transition: border-color 0.15s ease, transform 0.15s ease;
}

.bh-analytics-period-card:hover {
  border-color: color-mix(in srgb, var(--bh-gold, #d4af37) 45%, var(--bh-border-on-light));
  transform: translateY(-1px);
}

@media (prefers-reduced-motion: reduce) {
  .bh-analytics-period-card:hover {
    transform: none;
  }
}

.bh-analytics-period-top {
  display: grid;
  gap: 0.15rem;
}

.bh-analytics-period-top h3 {
  margin: 0;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--bh-text-on-light);
}

.bh-analytics-period-hint {
  font-size: 0.72rem;
  color: var(--bh-muted-on-light);
}

.bh-analytics-period-sessions {
  display: flex;
  align-items: baseline;
  gap: 0.4rem;
  margin: 0;
}

.bh-analytics-period-sessions strong {
  font-size: 1.55rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
  line-height: 1;
}

.bh-analytics-period-sessions span {
  font-size: 0.78rem;
  color: var(--bh-muted-on-light);
  font-weight: 600;
}

.bh-analytics-period-bar {
  height: 0.35rem;
  border-radius: 999px;
  background: color-mix(in srgb, var(--bh-border-on-light) 80%, transparent);
  overflow: hidden;
}

.bh-analytics-period-bar > span {
  display: block;
  height: 100%;
  width: var(--bh-bar, 0%);
  border-radius: inherit;
  background: linear-gradient(
    90deg,
    color-mix(in srgb, var(--bh-magenta) 75%, var(--bh-gold, #d4af37)),
    var(--bh-gold, #d4af37)
  );
}

.bh-analytics-period-facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--bh-space-2);
  margin: 0;
}

.bh-analytics-period-facts > div {
  display: grid;
  gap: 0.1rem;
}

.bh-analytics-period-facts dt {
  margin: 0;
  font-size: 0.68rem;
  color: var(--bh-muted-on-light);
  font-weight: 600;
}

.bh-analytics-period-facts dd {
  margin: 0;
  font-size: 0.9rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.bh-analytics-sessions-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--bh-space-3);
  margin-block-end: var(--bh-space-3);
}

.bh-analytics-sessions-head h2 {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
}

.bh-analytics-filters {
  margin-block-end: 0;
}

.bh-analytics-card-pages {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.15rem;
  background: color-mix(in srgb, var(--bh-gold, #d4af37) 10%, var(--bh-surface-light));
}

.bh-analytics-card-pages span {
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1;
}

.bh-analytics-card-pages small {
  font-size: 0.7rem;
  color: var(--bh-muted-on-light);
}

.bh-analytics-exit {
  margin: 0.35rem 0 0;
  font-size: 0.82rem;
}

.bh-analytics-meta-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
  gap: var(--bh-space-4);
  margin-block-end: var(--bh-space-4);
}

.bh-analytics-meta-card {
  margin: 0;
}

.bh-analytics-session .bh-card-section {
  margin-block-end: var(--bh-space-4);
  padding: var(--bh-space-4) var(--bh-space-5);
  background: var(--bh-surface-light);
  border: 1px solid var(--bh-border-on-light);
  border-radius: var(--bh-radius-panel, 2px);
}

.bh-analytics-session .bh-card-section > h2 {
  margin: 0 0 var(--bh-space-3);
  font-size: 1rem;
  font-weight: 650;
}

.bh-path-timeline {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
  border-inline-start: 2px solid color-mix(in srgb, var(--bh-gold, #d4af37) 35%, var(--bh-border-on-light));
  margin-inline-start: 0.35rem;
}

.bh-path-timeline li {
  position: relative;
  display: grid;
  grid-template-columns: 10rem 1fr auto;
  gap: 0.75rem 1rem;
  align-items: start;
  padding: 0.65rem 0 0.65rem 1.1rem;
  font-size: 0.9rem;
}

.bh-path-timeline li::before {
  content: "";
  position: absolute;
  inset-inline-start: -0.4rem;
  top: 1rem;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: var(--bh-radius-vitrine, 0);
  background: var(--bh-gold, #d4af37);
}

.bh-path-timeline li.is-action::before {
  background: var(--bh-magenta);
}

.bh-path-timeline li.is-action strong {
  color: var(--bh-text);
}

.bh-path-timeline code {
  font-size: 0.85rem;
  word-break: break-all;
}

.bh-ua {
  margin: 0;
  font-size: 0.8rem;
  line-height: 1.5;
  word-break: break-word;
  color: var(--bh-muted-on-light);
}

@media (max-width: 720px) {
  .bh-path-timeline li {
    grid-template-columns: 1fr;
    gap: 0.25rem;
  }
}

/* ?? Messaging admin ?? */
.bh-messaging-section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-block-end: var(--bh-space-3);
}

.bh-messaging-section-head h2 {
  margin: 0;
}

.bh-field-grid.is-dimmed {
  opacity: 0.55;
  pointer-events: none;
}

.bh-messaging-test-status {
  margin: var(--bh-space-3) 0 0;
  font-size: 0.85rem;
  color: var(--bh-muted-on-light);
}

.bh-messaging-tests {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
  gap: var(--bh-space-4);
  margin-block-start: var(--bh-space-5);
}

.bh-messaging-tests .bh-card-section {
  margin: 0;
  padding: var(--bh-space-5);
  background: var(--bh-surface-light);
  border: 1px solid var(--bh-border-on-light);
  border-radius: var(--bh-radius-panel, 2px);
}

.bh-messaging-tests .bh-card-section > h2 {
  margin: 0 0 var(--bh-space-2);
  font-size: 1rem;
  font-weight: 650;
}

.bh-messaging-test-form {
  display: flex;
  flex-direction: column;
  gap: var(--bh-space-3);
  align-items: stretch;
}

/* ?? Brand polish ?? */
.bh-brand-jump {
  margin-block-end: var(--bh-space-4);
}

.bh-brand-colors {
  margin-block-start: var(--bh-space-4);
}

.bh-section-lead {
  margin: calc(var(--bh-space-2) * -1) 0 var(--bh-space-4);
  font-size: 0.88rem;
  line-height: 1.5;
  color: var(--bh-muted-on-light);
}

.bh-social-fields {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(15.5rem, 1fr));
  gap: var(--bh-space-4);
}

.bh-social-field {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  padding: var(--bh-space-3);
  border: 1px solid var(--bh-border-on-light);
  border-radius: var(--bh-radius-panel);
  background: color-mix(in srgb, var(--bh-magenta) 3%, var(--bh-surface-light));
}

.bh-social-field-head {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-weight: 650;
  font-size: 0.9rem;
  color: var(--bh-text-on-light);
}

.bh-social-field-head .bh-icon {
  color: var(--bh-magenta);
}

.bh-social-field input {
  width: 100%;
}

.bh-footer-brand-block {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--bh-space-3);
}

.bh-social-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
}

.bh-social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.15rem;
  height: 2.15rem;
  border: 1px solid color-mix(in srgb, var(--bh-gold) 35%, var(--bh-border));
  border-radius: var(--bh-radius-vitrine);
  color: color-mix(in srgb, var(--bh-text-muted) 88%, var(--bh-gold));
  text-decoration: none;
  transition: color var(--bh-fast), border-color var(--bh-fast), background-color var(--bh-fast);
}

.bh-social-link:hover {
  color: var(--bh-gold-bright);
  border-color: var(--bh-gold);
  background: color-mix(in srgb, var(--bh-gold) 10%, transparent);
}

.bh-social-link .bh-icon {
  width: 1.05rem;
  height: 1.05rem;
}

.bh-color-field {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.bh-color-field input[type="color"] {
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  border: 1px solid var(--bh-border-on-light);
  background: transparent;
  cursor: pointer;
  flex-shrink: 0;
}

.bh-color-field input[type="text"],
.bh-color-field input:not([type="color"]) {
  flex: 1;
  min-width: 0;
}

.bh-color-swatch {
  width: 1.25rem;
  height: 1.25rem;
  border: 1px solid var(--bh-border-on-light);
  flex-shrink: 0;
}

.bh-field-block {
  display: block;
  margin-block-start: var(--bh-space-4);
}

/* ?? Inbox admin ?? */
.bh-inbox-toolbar {
  margin-block-end: var(--bh-space-5);
  padding: var(--bh-space-4) var(--bh-space-5);
  background: var(--bh-surface-light);
  border: 1px solid var(--bh-border-on-light);
  border-radius: var(--bh-radius-panel, 2px);
  display: grid;
  gap: var(--bh-space-4);
}

.bh-inbox-search-form {
  margin: 0;
}

.bh-inbox-search-row {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: var(--bh-space-3);
}

.bh-inbox-search-field {
  position: relative;
  flex: 1 1 18rem;
  min-width: min(100%, 14rem);
  margin: 0;
  display: flex;
  align-items: center;
}

.bh-inbox-search-icon {
  position: absolute;
  inset-inline-start: 0.85rem;
  display: inline-flex;
  color: var(--bh-muted-on-light);
  pointer-events: none;
  z-index: 1;
}

.bh-inbox-search-icon .bh-icon {
  width: 1.1rem;
  height: 1.1rem;
}

.bh-inbox-search-field input[type="search"] {
  width: 100%;
  margin: 0;
  padding-block: 0.72rem;
  padding-inline-start: 2.55rem;
  padding-inline-end: 2.4rem;
  border: 1px solid var(--bh-border-on-light);
  border-radius: var(--bh-radius-panel, 2px);
  background: var(--bh-canvas-light);
  color: var(--bh-text-on-light);
  font: inherit;
  line-height: 1.4;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.bh-inbox-search-field input[type="search"]::placeholder {
  color: var(--bh-muted-on-light);
  opacity: 0.9;
}

.bh-inbox-search-field input[type="search"]:hover {
  border-color: color-mix(in srgb, var(--bh-magenta) 35%, var(--bh-border-on-light));
}

.bh-inbox-search-field input[type="search"]:focus {
  outline: none;
  border-color: var(--bh-magenta);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--bh-magenta) 16%, transparent);
}

.bh-inbox-search-field input[type="search"]::-webkit-search-cancel-button {
  -webkit-appearance: none;
  appearance: none;
}

.bh-inbox-search-clear {
  position: absolute;
  inset-inline-end: 0.45rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.85rem;
  height: 1.85rem;
  padding: 0;
  border: 0;
  border-radius: var(--bh-radius-panel, 2px);
  background: transparent;
  color: var(--bh-muted-on-light);
  cursor: pointer;
}

.bh-inbox-search-clear:hover {
  color: var(--bh-magenta);
  background: color-mix(in srgb, var(--bh-magenta) 8%, transparent);
}

.bh-inbox-search-clear .bh-icon {
  width: 0.95rem;
  height: 0.95rem;
}

.bh-inbox-search-submit {
  flex: 0 0 auto;
  align-self: stretch;
  min-height: 2.75rem;
}

.bh-inbox-filter-groups {
  display: grid;
  gap: var(--bh-space-3);
  padding-block-start: var(--bh-space-1);
  border-block-start: 1px solid color-mix(in srgb, var(--bh-border-on-light) 80%, transparent);
}

.bh-inbox-filter-group {
  display: grid;
  gap: var(--bh-space-2);
}

.bh-inbox-filter-label {
  font-size: 0.75rem;
  font-weight: 650;
  letter-spacing: 0.02em;
  color: var(--bh-muted-on-light);
}

.bh-inbox-filters {
  margin-block-end: 0;
}

.bh-inbox-active {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--bh-space-2) var(--bh-space-3);
  padding: var(--bh-space-3);
  background: color-mix(in srgb, var(--bh-gold, #d4af37) 8%, var(--bh-canvas-light));
  border: 1px solid color-mix(in srgb, var(--bh-gold, #d4af37) 28%, var(--bh-border-on-light));
  border-radius: var(--bh-radius-panel, 2px);
}

.bh-inbox-active-title {
  font-size: 0.78rem;
  font-weight: 650;
  color: var(--bh-muted-on-light);
}

.bh-inbox-active-chips {
  display: flex;
  flex-wrap: wrap;
  gap: var(--bh-space-2);
  flex: 1 1 auto;
}

.bh-inbox-active-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.65rem;
  border: 1px solid var(--bh-border-on-light);
  border-radius: var(--bh-radius-panel, 2px);
  background: var(--bh-surface-light);
  color: var(--bh-text-on-light);
  font-size: 0.82rem;
  text-decoration: none;
  transition: border-color 0.15s ease, color 0.15s ease;
}

.bh-inbox-active-chip:hover {
  border-color: var(--bh-magenta);
  color: var(--bh-magenta);
}

.bh-inbox-active-chip .bh-icon {
  width: 0.85rem;
  height: 0.85rem;
  flex-shrink: 0;
  opacity: 0.7;
}

.bh-inbox-active-chip:hover .bh-icon {
  opacity: 1;
}

.bh-inbox-clear-all {
  margin-inline-start: auto;
  font-size: 0.82rem;
}

.bh-inbox-results-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--bh-space-2);
  margin-block-end: var(--bh-space-3);
}

.bh-inbox-results-meta .bh-catalog-count {
  margin: 0;
}

.bh-inbox-results-meta strong {
  font-weight: 650;
  color: var(--bh-text-on-light);
}

.bh-inbox-card-count {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.15rem;
  background: color-mix(in srgb, var(--bh-gold, #d4af37) 10%, var(--bh-surface-light));
  color: var(--bh-text-on-light);
}

.bh-inbox-card-count span {
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1;
}

.bh-inbox-card-count small {
  font-size: 0.7rem;
  color: var(--bh-muted-on-light);
}

.bh-inbox-detail-top {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
  gap: var(--bh-space-4);
  margin-block-end: var(--bh-space-4);
}

.bh-inbox-detail .bh-card-section {
  margin-block-end: var(--bh-space-4);
  padding: var(--bh-space-4) var(--bh-space-5);
  background: var(--bh-surface-light);
  border: 1px solid var(--bh-border-on-light);
  border-radius: var(--bh-radius-panel, 2px);
}

.bh-inbox-detail .bh-card-section > h2 {
  margin: 0 0 var(--bh-space-3);
  font-size: 1rem;
  font-weight: 650;
}

.bh-inbox-status-form {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: var(--bh-space-3);
  margin-block-start: var(--bh-space-4);
}

.bh-inbox-status-form .bh-field {
  flex: 1 1 12rem;
  margin: 0;
}

.bh-inbox-thread {
  display: flex;
  flex-direction: column;
  gap: var(--bh-space-3);
  max-height: min(36rem, 70vh);
  overflow: auto;
  padding: var(--bh-space-2);
}

.bh-inbox-bubble {
  max-width: min(42rem, 92%);
  padding: var(--bh-space-3) var(--bh-space-4);
  border: 1px solid var(--bh-border-on-light);
  border-radius: var(--bh-radius-panel, 2px);
  background: var(--bh-canvas-light);
}

.bh-inbox-bubble header {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.35rem 1rem;
  margin-block-end: 0.45rem;
  font-size: 0.82rem;
}

.bh-inbox-bubble header time {
  color: var(--bh-muted-on-light);
}

.bh-inbox-bubble-body {
  white-space: pre-wrap;
  word-break: break-word;
  line-height: 1.65;
  font-size: 0.95rem;
}

.bh-inbox-attachment {
  display: grid;
  gap: var(--bh-space-2);
  margin-block-start: var(--bh-space-3);
  padding-block-start: var(--bh-space-3);
  border-block-start: 1px dashed color-mix(in srgb, var(--bh-border-on-light) 80%, transparent);
}

.bh-inbox-attachment-preview {
  display: block;
  max-width: min(18rem, 100%);
  border: 1px solid var(--bh-border-on-light);
  border-radius: var(--bh-radius-panel, 2px);
  overflow: hidden;
  background: var(--bh-surface-light);
}

.bh-inbox-attachment-preview img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 14rem;
  object-fit: contain;
}

.bh-inbox-attachment-link {
  justify-self: start;
  min-height: 2.4rem;
  font-size: 0.88rem;
}

.bh-inbox-bubble.is-admin {
  align-self: flex-start;
  border-color: color-mix(in srgb, var(--bh-gold, #d4af37) 45%, var(--bh-border-on-light));
  background: color-mix(in srgb, var(--bh-gold, #d4af37) 8%, var(--bh-surface-light));
}

.bh-inbox-bubble.is-member,
.bh-inbox-bubble.is-visitor {
  align-self: flex-end;
}

.bh-inbox-bubble.is-member {
  border-color: color-mix(in srgb, var(--bh-info, #3b82f6) 35%, var(--bh-border-on-light));
  background: color-mix(in srgb, var(--bh-info, #3b82f6) 6%, var(--bh-surface-light));
}

/* ?? Members admin ?? */
.bh-members-toolbar {
  margin-block-end: var(--bh-space-5);
  padding: var(--bh-space-4) var(--bh-space-5);
  background: var(--bh-surface-light);
  border: 1px solid var(--bh-border-on-light);
  border-radius: var(--bh-radius-panel, 2px);
  display: grid;
  gap: var(--bh-space-4);
}

.bh-members-search-form {
  margin: 0;
}

.bh-members-search-row {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: var(--bh-space-3);
}

.bh-members-search-field {
  position: relative;
  flex: 1 1 18rem;
  min-width: min(100%, 14rem);
  margin: 0;
  display: flex;
  align-items: center;
}

.bh-members-search-icon {
  position: absolute;
  inset-inline-start: 0.85rem;
  display: inline-flex;
  color: var(--bh-muted-on-light);
  pointer-events: none;
  z-index: 1;
}

.bh-members-search-icon .bh-icon {
  width: 1.1rem;
  height: 1.1rem;
}

.bh-members-search-field input[type="search"] {
  width: 100%;
  margin: 0;
  padding-block: 0.72rem;
  padding-inline-start: 2.55rem;
  padding-inline-end: 2.4rem;
  border: 1px solid var(--bh-border-on-light);
  border-radius: var(--bh-radius-panel, 2px);
  background: var(--bh-canvas-light);
  color: var(--bh-text-on-light);
  font: inherit;
  line-height: 1.4;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.bh-members-search-field input[type="search"]::placeholder {
  color: var(--bh-muted-on-light);
  opacity: 0.9;
}

.bh-members-search-field input[type="search"]:hover {
  border-color: color-mix(in srgb, var(--bh-magenta) 35%, var(--bh-border-on-light));
}

.bh-members-search-field input[type="search"]:focus {
  outline: none;
  border-color: var(--bh-magenta);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--bh-magenta) 16%, transparent);
}

.bh-members-search-field input[type="search"]::-webkit-search-cancel-button {
  -webkit-appearance: none;
  appearance: none;
}

.bh-members-search-clear {
  position: absolute;
  inset-inline-end: 0.45rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.85rem;
  height: 1.85rem;
  padding: 0;
  border: 0;
  border-radius: var(--bh-radius-panel, 2px);
  background: transparent;
  color: var(--bh-muted-on-light);
  cursor: pointer;
}

.bh-members-search-clear:hover {
  color: var(--bh-magenta);
  background: color-mix(in srgb, var(--bh-magenta) 8%, transparent);
}

.bh-members-search-clear .bh-icon {
  width: 0.95rem;
  height: 0.95rem;
}

.bh-members-search-submit {
  flex: 0 0 auto;
  align-self: stretch;
  min-height: 2.75rem;
}

.bh-members-filter-groups {
  display: grid;
  gap: var(--bh-space-3);
  padding-block-start: var(--bh-space-1);
  border-block-start: 1px solid color-mix(in srgb, var(--bh-border-on-light) 80%, transparent);
}

.bh-members-filter-group {
  display: grid;
  gap: var(--bh-space-2);
}

.bh-members-filter-label {
  font-size: 0.75rem;
  font-weight: 650;
  letter-spacing: 0.02em;
  color: var(--bh-muted-on-light);
}

.bh-members-filters {
  margin-block-end: 0;
}

.bh-members-active {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--bh-space-2) var(--bh-space-3);
  padding: var(--bh-space-3);
  background: color-mix(in srgb, var(--bh-gold, #d4af37) 8%, var(--bh-canvas-light));
  border: 1px solid color-mix(in srgb, var(--bh-gold, #d4af37) 28%, var(--bh-border-on-light));
  border-radius: var(--bh-radius-panel, 2px);
}

.bh-members-active-title {
  font-size: 0.78rem;
  font-weight: 650;
  color: var(--bh-muted-on-light);
}

.bh-members-active-chips {
  display: flex;
  flex-wrap: wrap;
  gap: var(--bh-space-2);
  flex: 1 1 auto;
}

.bh-members-active-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.65rem;
  border: 1px solid var(--bh-border-on-light);
  border-radius: var(--bh-radius-panel, 2px);
  background: var(--bh-surface-light);
  color: var(--bh-text-on-light);
  font-size: 0.82rem;
  text-decoration: none;
  transition: border-color 0.15s ease, color 0.15s ease;
}

.bh-members-active-chip:hover {
  border-color: var(--bh-magenta);
  color: var(--bh-magenta);
}

.bh-members-active-chip .bh-icon {
  width: 0.85rem;
  height: 0.85rem;
  flex-shrink: 0;
  opacity: 0.7;
}

.bh-members-active-chip:hover .bh-icon {
  opacity: 1;
}

.bh-members-clear-all {
  margin-inline-start: auto;
  font-size: 0.82rem;
}

.bh-members-results-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--bh-space-2);
  margin-block-end: var(--bh-space-3);
}

.bh-members-results-meta .bh-catalog-count {
  margin: 0;
}

.bh-members-results-meta strong {
  font-weight: 650;
  color: var(--bh-text-on-light);
}

.bh-members-card .bh-catalog-card-body {
  min-width: 0;
}

.bh-members-email,
.bh-members-phone {
  margin: 0.15rem 0 0;
  font-size: 0.88rem;
}

.bh-members-last-login {
  font-size: 0.78rem;
  white-space: nowrap;
}

.bh-members-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  list-style: none;
  margin: var(--bh-space-3) 0 0;
  padding: 0;
}

.bh-members-stats li {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 3.4rem;
  padding: 0.4rem 0.55rem;
  border: 1px solid var(--bh-border-on-light);
  border-radius: var(--bh-radius-panel, 2px);
  background: color-mix(in srgb, var(--bh-canvas-light) 70%, var(--bh-surface-light));
}

.bh-members-stat-value {
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
  direction: ltr;
}

.bh-members-stat-label {
  margin-block-start: 0.15rem;
  font-size: 0.68rem;
  color: var(--bh-muted-on-light);
  font-weight: 600;
}

.bh-members-meta {
  margin-block-start: var(--bh-space-2);
}

.bh-members-card-actions {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: var(--bh-space-2);
}

.bh-members-card-actions form {
  margin: 0;
}

.bh-members-status-panel {
  display: grid;
  gap: var(--bh-space-4);
}

.bh-members-status-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: var(--bh-space-3);
}

.bh-members-suspend-form {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: var(--bh-space-3);
  margin: 0;
}

.bh-members-suspend-days {
  margin: 0;
  min-width: 8rem;
}

.bh-members-avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: color-mix(in srgb, var(--bh-magenta, #c026a8) 12%, var(--bh-surface-light));
  color: var(--bh-text-on-light);
  font-size: 1.35rem;
  font-weight: 700;
}

.bh-members-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bh-members-lockout {
  margin: 0.35rem 0 0;
  font-size: 0.82rem;
  color: color-mix(in srgb, var(--bh-warn, #c45c26) 85%, var(--bh-text-on-light));
}

.bh-members-stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(9.5rem, 1fr));
  gap: var(--bh-space-3);
  margin-block-end: var(--bh-space-4);
}

.bh-members-stat-card {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: var(--bh-space-3) var(--bh-space-4);
  background: var(--bh-surface-light);
  border: 1px solid var(--bh-border-on-light);
  border-radius: var(--bh-radius-panel, 2px);
  min-height: 5rem;
}

.bh-members-stat-card-label {
  font-size: 0.75rem;
  font-weight: 650;
  color: var(--bh-muted-on-light);
}

.bh-members-stat-card-value {
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.2;
  font-variant-numeric: tabular-nums;
  color: var(--bh-text-on-light);
}

.bh-members-stat-card-hint {
  font-size: 0.75rem;
  color: var(--bh-muted-on-light);
}

.bh-members-detail .bh-card-section {
  margin-block-end: var(--bh-space-4);
  padding: var(--bh-space-4) var(--bh-space-5);
  background: var(--bh-surface-light);
  border: 1px solid var(--bh-border-on-light);
  border-radius: var(--bh-radius-panel, 2px);
}

.bh-members-detail .bh-card-section > h2 {
  margin: 0 0 var(--bh-space-3);
  font-size: 1rem;
  font-weight: 650;
}

.bh-members-detail-hero {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--bh-space-4);
  margin-block-end: var(--bh-space-4);
}

.bh-members-avatar-lg {
  width: 4.5rem;
  height: 4.5rem;
  border-radius: var(--bh-radius-panel, 2px);
  font-size: 1.75rem;
}

.bh-panel-users-list {
  display: flex;
  flex-direction: column;
  gap: var(--bh-space-3);
}

.bh-panel-user-card {
  align-items: center;
}

.bh-panel-user-avatar {
  width: 100%;
  height: 100%;
  min-height: 4.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: color-mix(in srgb, var(--bh-gold, #d4af37) 14%, var(--bh-surface-light));
  font-weight: 700;
  font-size: 1.35rem;
  color: var(--bh-text-on-light);
}

.bh-panel-user-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.bh-panel-user-login {
  font-size: 0.78rem;
  white-space: nowrap;
}

.bh-panel-user-perms {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-block-start: var(--bh-space-2);
}

.bh-panel-perm-chip {
  display: inline-flex;
  padding: 0.2rem 0.5rem;
  border: 1px solid var(--bh-border-on-light);
  border-radius: var(--bh-radius-panel, 2px);
  background: var(--bh-canvas-light);
  font-size: 0.72rem;
  font-weight: 650;
  color: var(--bh-muted-on-light);
}

.bh-panel-user-noperm {
  margin: var(--bh-space-2) 0 0;
  font-size: 0.82rem;
}

.bh-panel-user-roles {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-block-start: 0.45rem;
}

.bh-panel-user-form .bh-card-section {
  margin-block-end: var(--bh-space-4);
  padding: var(--bh-space-4) var(--bh-space-5);
  background: var(--bh-surface-light);
  border: 1px solid var(--bh-border-on-light);
  border-radius: var(--bh-radius-panel, 2px);
}

.bh-panel-user-form .bh-card-section > h2 {
  margin: 0 0 var(--bh-space-3);
  font-size: 1rem;
  font-weight: 650;
}

.bh-panel-user-stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(9.5rem, 1fr));
  gap: var(--bh-space-3);
  margin-block-end: var(--bh-space-4);
}

.bh-panel-perm-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
  gap: var(--bh-space-2);
}

.bh-panel-perm-item {
  align-items: flex-start;
  gap: 0.65rem;
  padding: var(--bh-space-3);
  border: 1px solid var(--bh-border-on-light);
  border-radius: var(--bh-radius-panel, 2px);
  background: var(--bh-canvas-light);
  margin: 0;
}

.bh-panel-perm-item span {
  display: grid;
  gap: 0.15rem;
}

.bh-panel-perm-item strong {
  font-size: 0.9rem;
  font-weight: 650;
}

.bh-panel-perm-item small {
  font-size: 0.72rem;
  color: var(--bh-muted-on-light);
}

.bh-panel-user-flags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--bh-space-3) var(--bh-space-5);
  margin-block-start: var(--bh-space-4);
}

/* ?? Orders admin ?? */
.bh-orders-toolbar {
  margin-block-end: var(--bh-space-5);
  padding: var(--bh-space-4) var(--bh-space-5);
  background: var(--bh-surface-light);
  border: 1px solid var(--bh-border-on-light);
  border-radius: var(--bh-radius-panel, 2px);
  display: grid;
  gap: var(--bh-space-4);
}

.bh-orders-search-form {
  margin: 0;
}

.bh-orders-search-row {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: var(--bh-space-3);
}

.bh-orders-search-field {
  position: relative;
  flex: 1 1 18rem;
  min-width: min(100%, 14rem);
  margin: 0;
  display: flex;
  align-items: center;
}

.bh-orders-search-icon {
  position: absolute;
  inset-inline-start: 0.85rem;
  display: inline-flex;
  color: var(--bh-muted-on-light);
  pointer-events: none;
  z-index: 1;
}

.bh-orders-search-icon .bh-icon {
  width: 1.1rem;
  height: 1.1rem;
}

.bh-orders-search-field input[type="search"] {
  width: 100%;
  margin: 0;
  padding-block: 0.72rem;
  padding-inline-start: 2.55rem;
  padding-inline-end: 2.4rem;
  border: 1px solid var(--bh-border-on-light);
  border-radius: var(--bh-radius-panel, 2px);
  background: var(--bh-canvas-light);
  color: var(--bh-text-on-light);
  font: inherit;
  line-height: 1.4;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.bh-orders-search-field input[type="search"]::placeholder {
  color: var(--bh-muted-on-light);
  opacity: 0.9;
}

.bh-orders-search-field input[type="search"]:hover {
  border-color: color-mix(in srgb, var(--bh-magenta) 35%, var(--bh-border-on-light));
}

.bh-orders-search-field input[type="search"]:focus {
  outline: none;
  border-color: var(--bh-magenta);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--bh-magenta) 16%, transparent);
}

.bh-orders-search-field input[type="search"]::-webkit-search-cancel-button {
  -webkit-appearance: none;
  appearance: none;
}

.bh-orders-search-clear {
  position: absolute;
  inset-inline-end: 0.45rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.85rem;
  height: 1.85rem;
  padding: 0;
  border: 0;
  border-radius: var(--bh-radius-panel, 2px);
  background: transparent;
  color: var(--bh-muted-on-light);
  cursor: pointer;
}

.bh-orders-search-clear:hover {
  color: var(--bh-magenta);
  background: color-mix(in srgb, var(--bh-magenta) 8%, transparent);
}

.bh-orders-search-clear .bh-icon {
  width: 0.95rem;
  height: 0.95rem;
}

.bh-orders-search-submit {
  flex: 0 0 auto;
  align-self: stretch;
  min-height: 2.75rem;
}

.bh-orders-filter-group {
  display: grid;
  gap: var(--bh-space-2);
  padding-block-start: var(--bh-space-1);
  border-block-start: 1px solid color-mix(in srgb, var(--bh-border-on-light) 80%, transparent);
}

.bh-orders-filter-label {
  font-size: 0.75rem;
  font-weight: 650;
  letter-spacing: 0.02em;
  color: var(--bh-muted-on-light);
}

.bh-orders-filters {
  margin-block-end: 0;
}

.bh-orders-active {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--bh-space-2) var(--bh-space-3);
  padding: var(--bh-space-3);
  background: color-mix(in srgb, var(--bh-gold, #d4af37) 8%, var(--bh-canvas-light));
  border: 1px solid color-mix(in srgb, var(--bh-gold, #d4af37) 28%, var(--bh-border-on-light));
  border-radius: var(--bh-radius-panel, 2px);
}

.bh-orders-active-title {
  font-size: 0.78rem;
  font-weight: 650;
  color: var(--bh-muted-on-light);
}

.bh-orders-active-chips {
  display: flex;
  flex-wrap: wrap;
  gap: var(--bh-space-2);
  flex: 1 1 auto;
}

.bh-orders-active-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.65rem;
  border: 1px solid var(--bh-border-on-light);
  border-radius: var(--bh-radius-panel, 2px);
  background: var(--bh-surface-light);
  color: var(--bh-text-on-light);
  font-size: 0.82rem;
  text-decoration: none;
  transition: border-color 0.15s ease, color 0.15s ease;
}

.bh-orders-active-chip:hover {
  border-color: var(--bh-magenta);
  color: var(--bh-magenta);
}

.bh-orders-active-chip .bh-icon {
  width: 0.85rem;
  height: 0.85rem;
  flex-shrink: 0;
  opacity: 0.7;
}

.bh-orders-active-chip:hover .bh-icon {
  opacity: 1;
}

.bh-orders-clear-all {
  margin-inline-start: auto;
  font-size: 0.82rem;
}

.bh-orders-results-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--bh-space-2);
  margin-block-end: var(--bh-space-3);
}

.bh-orders-results-meta .bh-catalog-count {
  margin: 0;
}

.bh-orders-results-meta strong {
  font-weight: 650;
  color: var(--bh-text-on-light);
}

.bh-orders-card-count {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.15rem;
  background:
    linear-gradient(
      145deg,
      color-mix(in srgb, var(--bh-gold, #d4af37) 14%, var(--bh-surface-light)),
      color-mix(in srgb, var(--bh-magenta) 8%, var(--bh-canvas-light))
    );
  color: var(--bh-text-on-light);
}

.bh-orders-card-count span {
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  direction: ltr;
}

.bh-orders-card-count small {
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--bh-muted-on-light);
}

.bh-orders-card-name {
  margin: 0.2rem 0 0.45rem;
  font-size: 0.95rem;
  font-weight: 650;
  color: var(--bh-text-on-light);
}

.bh-orders-card .bh-catalog-card-meta {
  margin-block-start: var(--bh-space-2);
  gap: var(--bh-space-2) var(--bh-space-4);
  font-size: 0.82rem;
  color: var(--bh-muted-on-light);
}

.bh-orders-card .bh-catalog-card-actions {
  align-self: center;
}

.bh-orders-detail-top {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(14rem, 0.85fr);
  gap: var(--bh-space-4);
  margin-block-end: var(--bh-space-5);
  align-items: stretch;
}

.bh-orders-hero-card {
  padding: var(--bh-space-5);
  background:
    linear-gradient(
      135deg,
      color-mix(in srgb, var(--bh-gold, #d4af37) 10%, var(--bh-surface-light)),
      var(--bh-surface-light) 55%,
      color-mix(in srgb, var(--bh-magenta) 6%, var(--bh-surface-light))
    );
  border: 1px solid var(--bh-border-on-light);
  border-radius: var(--bh-radius-panel, 2px);
}

.bh-orders-hero-card h2 {
  margin: var(--bh-space-3) 0 0.35rem;
  font-size: clamp(1.25rem, 2.2vw, 1.55rem);
  font-weight: 700;
  letter-spacing: -0.01em;
}

.bh-orders-contact-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--bh-space-2);
  margin-block-start: var(--bh-space-4);
}

.bh-orders-contact-chip {
  display: inline-flex;
  align-items: center;
  padding: 0.4rem 0.75rem;
  border: 1px solid var(--bh-border-on-light);
  border-radius: var(--bh-radius-panel, 2px);
  background: color-mix(in srgb, var(--bh-canvas-light) 80%, var(--bh-surface-light));
  color: var(--bh-text-on-light);
  font-size: 0.86rem;
  text-decoration: none;
  transition: border-color 0.15s ease, color 0.15s ease;
}

a.bh-orders-contact-chip:hover {
  border-color: var(--bh-magenta);
  color: var(--bh-magenta);
}

.bh-orders-status-card h2 {
  margin: 0 0 var(--bh-space-3);
  font-size: 1rem;
  font-weight: 650;
}

.bh-orders-status-form {
  display: grid;
  gap: var(--bh-space-3);
  margin: 0;
}

.bh-orders-status-form .bh-field {
  margin: 0;
}

.bh-orders-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--bh-space-4);
  margin-block-end: var(--bh-space-5);
}

.bh-orders-detail .bh-card-section > h2 {
  margin: 0 0 var(--bh-space-3);
  font-size: 1rem;
  font-weight: 650;
}

.bh-orders-detail .bh-dl {
  margin: 0;
}

.bh-orders-notes {
  white-space: pre-wrap;
  word-break: break-word;
  line-height: 1.55;
}

.bh-orders-color-dd {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.bh-orders-color-swatch {
  width: 1.15rem;
  height: 1.15rem;
  border-radius: var(--bh-radius-panel, 2px);
  border: 1px solid var(--bh-border-on-light);
  background: var(--bh-swatch, transparent);
  flex-shrink: 0;
}

.bh-orders-feature-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: var(--bh-space-4);
}

.bh-orders-feature-group h3 {
  margin: 0 0 var(--bh-space-2);
  font-size: 0.78rem;
  font-weight: 650;
  letter-spacing: 0.02em;
  color: var(--bh-muted-on-light);
  text-transform: none;
}

.bh-orders-feature-group ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.45rem;
}

.bh-orders-feature-group li {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem 1rem;
  padding: 0.55rem 0.75rem;
  border: 1px solid var(--bh-border-on-light);
  border-radius: var(--bh-radius-panel, 2px);
  background: color-mix(in srgb, var(--bh-canvas-light) 55%, var(--bh-surface-light));
  font-size: 0.9rem;
}

.bh-orders-feature-group code {
  font-size: 0.75rem;
  color: var(--bh-muted-on-light);
  background: transparent;
  padding: 0;
}

.bh-orders-quality-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: var(--bh-space-2);
}

.bh-orders-quality-list li {
  padding: 0.4rem 0.7rem;
  border: 1px solid var(--bh-border-on-light);
  border-radius: var(--bh-radius-panel, 2px);
  background: color-mix(in srgb, var(--bh-gold, #d4af37) 8%, var(--bh-canvas-light));
  font-size: 0.86rem;
}

@media (max-width: 52rem) {
  .bh-orders-detail-top,
  .bh-orders-detail-grid {
    grid-template-columns: 1fr;
  }

  .bh-orders-card {
    grid-template-columns: 4.5rem 1fr;
  }

  .bh-orders-card .bh-catalog-card-actions {
    grid-column: 1 / -1;
    justify-self: stretch;
  }

  .bh-orders-card .bh-catalog-card-actions .bh-btn {
    width: 100%;
    justify-content: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .bh-orders-search-field input[type="search"],
  .bh-orders-active-chip,
  .bh-orders-contact-chip {
    transition: none;
  }
}

/* ?? Member profile / avatar ?? */
.bh-upload--avatar .bh-upload-drop {
  width: 8.5rem;
  height: 8.5rem;
  margin-inline: auto;
  border-radius: var(--bh-radius-full);
  overflow: hidden;
}

.bh-upload--avatar .bh-upload-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--bh-radius-full);
}

.bh-members-avatar {
  overflow: hidden;
  border-radius: var(--bh-radius-full);
}

.bh-members-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.bh-members-avatar-lg {
  width: 5.5rem;
  height: 5.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: color-mix(in srgb, var(--bh-magenta, #c026a8) 12%, var(--bh-surface-light));
  font-size: 1.75rem;
  font-weight: 700;
  flex-shrink: 0;
}

.bh-members-detail-hero {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--bh-space-4);
  margin-block-end: var(--bh-space-4);
}

.bh-account-profile .bh-card-section {
  padding: var(--bh-space-5);
  background: var(--bh-surface-light);
  border: 1px solid var(--bh-border-on-light);
  border-radius: var(--bh-radius-panel, 2px);
}

.bh-account-profile .bh-card-section > h2 {
  margin: 0 0 var(--bh-space-4);
  font-size: 1rem;
  font-weight: 650;
}

/* ?? Account dashboard ?? */
.bh-panel .bh-admin-nav a.bh-nav-link.is-active {
  color: var(--bh-gold-bright, #f5d76a);
  border-color: color-mix(in srgb, var(--bh-gold, #d4af37) 45%, var(--bh-border));
  background: color-mix(in srgb, var(--bh-gold, #d4af37) 10%, transparent);
}

.bh-account-home-intro {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--bh-space-4);
}

.bh-account-home-intro h1 {
  margin: 0;
}

.bh-account-stats {
  margin-block-end: var(--bh-space-5);
}

.bh-dash-tile-meta {
  display: block;
  margin-block-start: 0.25rem;
  font-size: 0.8rem;
  color: var(--bh-muted-on-light);
  font-weight: 500;
}

.bh-account-section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-block-end: var(--bh-space-3);
}

.bh-account-section-head .bh-section-title {
  margin: 0;
}

.bh-account-head-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.bh-account-card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  background: color-mix(in srgb, var(--bh-gold, #d4af37) 10%, var(--bh-surface-light));
  color: var(--bh-text-on-light);
}

.bh-account-card-icon .bh-icon {
  width: 1.5rem;
  height: 1.5rem;
}

.bh-account-detail .bh-card-section,
.bh-project-detail .bh-card-section,
.bh-account-list .bh-card-section {
  margin-block-end: var(--bh-space-4);
  padding: var(--bh-space-4) var(--bh-space-5);
  background: var(--bh-surface-light);
  border: 1px solid var(--bh-border-on-light);
  border-radius: var(--bh-radius-panel, 2px);
}

.bh-account-detail .bh-card-section > h2,
.bh-project-detail .bh-card-section > h2 {
  margin: 0 0 var(--bh-space-3);
  font-size: 1rem;
  font-weight: 650;
}

.bh-project-note {
  margin: 0;
  line-height: 1.7;
  white-space: pre-wrap;
}

.bh-stage-timeline {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
  border-inline-start: 2px solid color-mix(in srgb, var(--bh-gold, #d4af37) 35%, var(--bh-border-on-light));
  margin-inline-start: 0.35rem;
}

.bh-stage-timeline-item {
  position: relative;
  padding: 0.65rem 0 0.65rem 1.1rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.75rem;
}

.bh-stage-timeline-dot {
  position: absolute;
  inset-inline-start: -0.4rem;
  top: 1rem;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--bh-border-on-light);
}

.bh-stage-timeline-item.is-current .bh-stage-timeline-dot {
  background: var(--bh-gold, #d4af37);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--bh-gold, #d4af37) 25%, transparent);
}

.bh-stage-timeline-item.is-done .bh-stage-timeline-dot {
  background: var(--bh-success, #22c55e);
}

.bh-feature-chips {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.bh-doc-card h2 {
  font-size: 0.95rem;
  word-break: break-word;
}

/* ?? Public articles / blog ?? */
.bh-articles-search {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: var(--bh-space-3);
  margin-block-end: var(--bh-space-4);
}

.bh-articles-search-field {
  flex: 1 1 16rem;
  margin: 0;
}

.bh-articles-list .bh-article-thumb {
  display: block;
  width: 4.5rem;
  height: 4.5rem;
  flex-shrink: 0;
  overflow: hidden;
  border: 1px solid var(--bh-border);
  background: var(--bh-surface-raised);
}

.bh-articles-list .bh-article-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.bh-articles-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--bh-space-4);
}

.bh-articles-list a {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  height: 100%;
}

.bh-articles-list .bh-article-thumb {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
}

.bh-articles-list strong {
  font-size: 1.02rem;
  line-height: 1.45;
  letter-spacing: -0.015em;
}

.bh-articles-list .bh-muted {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.65;
}

@media (max-width: 800px) {
  .bh-articles-list {
    grid-template-columns: 1fr;
  }
}

/* Public blog listing + article reading */
.bh-blog {
  padding-block-end: var(--bh-space-10);
}

.bh-blog-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(5rem, 8.5rem);
  gap: var(--bh-space-6);
  align-items: end;
  margin-block-end: var(--bh-space-7);
  padding-block-end: var(--bh-space-6);
  border-block-end: 1px solid color-mix(in srgb, var(--bh-gold) 22%, var(--bh-border));
}

.bh-blog-hero-copy h1 {
  margin: 0.2rem 0 0.7rem;
  font-size: clamp(1.7rem, 3.2vw, 2.35rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.2;
}

.bh-blog-hero-copy .bh-page-lead {
  max-width: 38rem;
}

.bh-blog-hero-mark {
  position: relative;
  height: 5.4rem;
}

.bh-blog-poly {
  position: absolute;
  border: 1px solid color-mix(in srgb, var(--bh-gold) 45%, transparent);
  background: color-mix(in srgb, var(--bh-magenta) 10%, transparent);
  clip-path: polygon(50% 0%, 100% 100%, 0% 100%);
}

.bh-blog-poly-a {
  inset-inline-end: 0.35rem;
  top: 0.15rem;
  width: 2.9rem;
  height: 2.5rem;
}

.bh-blog-poly-b {
  inset-inline-end: 1.55rem;
  top: 1.55rem;
  width: 2rem;
  height: 1.7rem;
  border-color: color-mix(in srgb, var(--bh-magenta) 50%, transparent);
  background: color-mix(in srgb, var(--bh-gold) 8%, transparent);
}

.bh-blog-line {
  position: absolute;
  inset-inline-end: 0;
  bottom: 0.35rem;
  width: 4.6rem;
  height: 1px;
  background: linear-gradient(
    to left,
    color-mix(in srgb, var(--bh-gold) 70%, transparent),
    transparent
  );
}

[dir="ltr"] .bh-blog-line {
  background: linear-gradient(
    to right,
    color-mix(in srgb, var(--bh-gold) 70%, transparent),
    transparent
  );
}

.bh-blog-search {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: var(--bh-space-3);
  margin-block-end: var(--bh-space-7);
}

.bh-blog-search-field {
  position: relative;
  flex: 1 1 16rem;
  margin: 0;
}

.bh-blog-search-icon {
  position: absolute;
  inset-inline-start: 0.85rem;
  inset-block-start: 50%;
  transform: translateY(-50%);
  display: grid;
  place-items: center;
  color: var(--bh-text-muted);
  pointer-events: none;
}

.bh-blog-search-icon .bh-icon {
  width: 1.05rem;
  height: 1.05rem;
}

.bh-blog-search-field input {
  width: 100%;
  padding-inline-start: 2.55rem;
}

.bh-blog-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--bh-space-5);
}

.bh-blog-card {
  min-width: 0;
}

.bh-blog-card.is-feature {
  grid-column: 1 / -1;
}

.bh-blog-card a {
  display: flex;
  flex-direction: column;
  height: 100%;
  text-decoration: none;
  color: inherit;
  overflow: hidden;
  border: 1px solid var(--bh-border);
  border-radius: var(--bh-radius-vitrine);
  background: color-mix(in srgb, var(--bh-surface) 88%, transparent);
  transition: border-color var(--bh-fast) var(--bh-ease), background var(--bh-fast) var(--bh-ease);
}

.bh-blog-card a:hover {
  border-color: color-mix(in srgb, var(--bh-gold) 48%, var(--bh-border));
  background: var(--bh-surface-raised);
}

.bh-blog-card a:focus-visible {
  outline: 2px solid var(--bh-focus);
  outline-offset: 2px;
}

.bh-blog-card.is-feature a {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(16rem, 1fr);
  min-height: 17.5rem;
}

.bh-blog-cover {
  display: block;
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background:
    linear-gradient(
      155deg,
      color-mix(in srgb, var(--bh-magenta) 18%, transparent),
      color-mix(in srgb, var(--bh-gold) 8%, transparent) 55%,
      transparent
    ),
    var(--bh-surface-raised);
}

.bh-blog-card.is-feature .bh-blog-cover {
  aspect-ratio: auto;
  min-height: 100%;
}

.bh-blog-cover img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bh-blog-cover-fallback {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      145deg,
      color-mix(in srgb, var(--bh-magenta) 16%, transparent),
      transparent 58%
    );
  clip-path: polygon(58% 0, 100% 38%, 72% 100%, 0 78%, 12% 18%);
}

.bh-blog-card-copy {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  padding: 1rem 1.1rem 1.1rem;
  min-width: 0;
}

.bh-blog-card.is-feature .bh-blog-card-copy {
  justify-content: center;
  padding: 1.35rem 1.4rem 1.5rem;
  gap: 0.65rem;
}

.bh-blog-card-copy time {
  font-size: 0.78rem;
  color: var(--bh-gold-bright);
  letter-spacing: 0.02em;
}

.bh-blog-card-title {
  font-size: 1.05rem;
  font-weight: 650;
  line-height: 1.45;
  letter-spacing: -0.015em;
}

.bh-blog-card.is-feature .bh-blog-card-title {
  font-size: clamp(1.25rem, 2.2vw, 1.7rem);
  line-height: 1.35;
}

.bh-blog-card a:hover .bh-blog-card-title {
  color: var(--bh-gold-bright);
}

.bh-blog-card-excerpt {
  color: var(--bh-text-muted);
  font-size: 0.92rem;
  line-height: 1.65;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.bh-blog-card.is-feature .bh-blog-card-excerpt {
  -webkit-line-clamp: 4;
  font-size: 0.98rem;
}

.bh-blog-card-more {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-block-start: auto;
  padding-block-start: 0.45rem;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--bh-gold-bright);
}

.bh-blog-card-more .bh-icon {
  width: 0.95rem;
  height: 0.95rem;
}

.bh-blog-pager {
  margin-block-start: var(--bh-space-8);
}

.bh-blog-back {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-block-end: var(--bh-space-5);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--bh-text-muted);
  text-decoration: none;
}

.bh-blog-back:hover {
  color: var(--bh-gold-bright);
}

.bh-blog-back .bh-icon {
  width: 1rem;
  height: 1rem;
}

.bh-article {
  max-width: 44rem;
  margin-inline: auto;
  padding-block-end: var(--bh-space-10);
}

.bh-article-head {
  display: grid;
  gap: 0.7rem;
  margin-block-end: var(--bh-space-6);
}

.bh-article-head h1 {
  margin: 0;
  font-size: clamp(1.55rem, 3vw, 2.15rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.3;
}

.bh-article-dek {
  margin: 0;
  color: var(--bh-text-muted);
  font-size: 1.05rem;
  line-height: 1.75;
}

.bh-article-date {
  font-size: 0.86rem;
  color: var(--bh-gold-bright);
}

.bh-article-cover {
  margin: 0 0 var(--bh-space-7);
  overflow: hidden;
  border: 1px solid var(--bh-border);
  background: var(--bh-surface);
}

.bh-article-cover img {
  display: block;
  width: 100%;
  max-height: 24rem;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.bh-article-prose {
  font-size: 1.05rem;
  line-height: 1.9;
}

.bh-article-prose h2 {
  margin: 1.75rem 0 0.7rem;
  font-size: 1.22rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.4;
}

.bh-article-prose h3 {
  margin: 1.4rem 0 0.55rem;
  font-size: 1.05rem;
}

.bh-article-prose ul,
.bh-article-prose ol {
  margin: 0 0 1.1rem;
  padding-inline-start: 1.25rem;
}

.bh-article-prose li + li {
  margin-block-start: 0.4rem;
}

.bh-article-engage {
  margin-block-start: var(--bh-space-8);
  padding: var(--bh-space-4);
  border: 1px solid var(--bh-border);
  background: color-mix(in srgb, var(--bh-surface) 80%, transparent);
}

.bh-article-comments {
  margin-block-start: var(--bh-space-8);
  padding-block-start: var(--bh-space-6);
  border-block-start: 1px solid var(--bh-border);
}

@media (max-width: 800px) {
  .bh-blog-hero {
    grid-template-columns: 1fr;
  }

  .bh-blog-hero-mark {
    display: none;
  }

  .bh-blog-grid {
    grid-template-columns: 1fr;
  }

  .bh-blog-card.is-feature a {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .bh-blog-card.is-feature .bh-blog-cover {
    aspect-ratio: 16 / 10;
    min-height: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .bh-blog-card a {
    transition: none;
  }
}

.bh-article-votes {
  display: flex;
  flex-wrap: wrap;
  gap: var(--bh-space-3);
}

.bh-article-votes .bh-btn.is-on {
  border-color: var(--bh-gold);
  color: var(--bh-gold);
}

.bh-article-comments h2 {
  font-size: 1.15rem;
  margin-block-end: var(--bh-space-3);
}

.bh-comment-list {
  list-style: none;
  margin: 0 0 var(--bh-space-5);
  padding: 0;
  display: grid;
  gap: var(--bh-space-4);
}

.bh-comment {
  border: 1px solid var(--bh-border);
  padding: var(--bh-space-4);
  background: var(--bh-surface-raised);
}

.bh-comment-head {
  display: flex;
  justify-content: space-between;
  gap: var(--bh-space-3);
  margin-block-end: var(--bh-space-2);
}

.bh-comment-reply {
  margin-block-start: var(--bh-space-3);
  padding: var(--bh-space-3);
  border-inline-start: 2px solid var(--bh-gold);
}

.bh-comment-reply-label {
  display: block;
  font-size: 0.8rem;
  color: var(--bh-gold);
  margin-block-end: 0.25rem;
}

.bh-comment-form {
  display: grid;
  gap: var(--bh-space-3);
}

.bh-captcha-row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: var(--bh-space-3);
}

/* ——— AI assistant widget (public vitrine) ——— */
.bh-visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.bh-agent {
  position: fixed;
  bottom: var(--bh-space-5);
  left: var(--bh-space-5);
  z-index: 45;
  width: max-content;
  max-width: calc(100vw - 2 * var(--bh-space-5));
  pointer-events: none;
  font-family: var(--bh-font);
}

.bh-agent-mark {
  width: 1.35rem;
  height: 1.35rem;
  flex-shrink: 0;
  background:
    linear-gradient(135deg, transparent 48%, var(--bh-gold) 48%, var(--bh-gold) 52%, transparent 52%),
    linear-gradient(225deg, transparent 48%, var(--bh-magenta) 48%, var(--bh-magenta) 52%, transparent 52%),
    linear-gradient(45deg, var(--bh-purple) 0 35%, transparent 35%);
  clip-path: polygon(50% 0%, 100% 100%, 0% 100%);
}

.bh-agent-avatar {
  position: relative;
  width: 2.45rem;
  height: 2.45rem;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  border: 1px solid color-mix(in srgb, var(--bh-gold) 55%, var(--bh-border));
  border-radius: var(--bh-radius-vitrine);
  background:
    linear-gradient(160deg, color-mix(in srgb, var(--bh-gold) 16%, transparent), transparent 55%),
    var(--bh-canvas);
  overflow: visible;
}

.bh-agent-avatar.is-head {
  width: 2.2rem;
  height: 2.2rem;
  margin-block-start: 0.1rem;
}

.bh-agent-avatar-logo {
  width: 1.65rem;
  height: 1.65rem;
  object-fit: contain;
  display: block;
  position: relative;
  z-index: 1;
}

.bh-agent-avatar-glow {
  position: absolute;
  inset: -2px;
  background: color-mix(in srgb, var(--bh-gold) 28%, transparent);
  filter: blur(7px);
  opacity: 0.7;
  animation: bh-agent-glow 2.4s ease-in-out infinite;
  pointer-events: none;
}

.bh-agent-live {
  position: absolute;
  inset-block-end: 0.12rem;
  inset-inline-end: 0.12rem;
  z-index: 2;
  width: 0.42rem;
  height: 0.42rem;
  background: var(--bh-gold-bright);
  box-shadow: 0 0 0 2px var(--bh-surface);
  animation: bh-agent-live 1.7s ease-in-out infinite;
}

.bh-agent-launcher {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: var(--bh-space-3);
  min-height: 3.35rem;
  padding-block: 0.45rem;
  padding-inline: 0.5rem 0.8rem;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--bh-gold) 58%, var(--bh-border));
  border-radius: var(--bh-radius-vitrine);
  background: color-mix(in srgb, var(--bh-surface) 92%, transparent);
  color: var(--bh-gold-bright);
  /* UA `button { font: 13.33px Arial }` otherwise replaces Vazirmatn for Persian copy. */
  font: inherit;
  cursor: pointer;
  pointer-events: auto;
  box-shadow:
    0 10px 32px rgb(0 0 0 / 0.42),
    0 0 18px color-mix(in srgb, var(--bh-gold) 18%, transparent);
  backdrop-filter: blur(12px);
  animation: bh-agent-breathe 3.4s ease-in-out infinite;
  transition:
    border-color var(--bh-fast) var(--bh-ease),
    background var(--bh-fast) var(--bh-ease),
    transform var(--bh-fast) var(--bh-ease),
    opacity var(--bh-fast) var(--bh-ease);
}

.bh-agent-launcher::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    115deg,
    transparent 32%,
    color-mix(in srgb, var(--bh-gold) 22%, transparent) 50%,
    transparent 68%
  );
  transform: translateX(-130%);
  animation: bh-agent-sheen 4.8s ease-in-out infinite;
  pointer-events: none;
}

.bh-agent-launcher:hover {
  border-color: var(--bh-gold);
  background: var(--bh-surface-raised);
  transform: translateY(-2px);
}

.bh-agent-launcher:focus-visible {
  outline: 2px solid var(--bh-focus);
  outline-offset: 2px;
}

.bh-agent-launcher-copy {
  display: grid;
  gap: 0.15rem;
  text-align: start;
  line-height: 1.55;
  position: relative;
  z-index: 1;
}

.bh-agent-launcher-label {
  font-weight: 600;
  font-size: 0.92rem;
  letter-spacing: 0;
  color: var(--bh-text);
}

.bh-agent-launcher-hint {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.78rem;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0;
  color: var(--bh-gold-bright);
}

.bh-agent-launcher-hint .bh-agent-status-dot {
  animation: bh-agent-live 1.7s ease-in-out infinite;
}

.bh-agent-launcher > .bh-icon {
  width: 1.1rem;
  height: 1.1rem;
  color: var(--bh-gold);
  margin-inline-start: auto;
  position: relative;
  z-index: 1;
}

.bh-agent.is-open .bh-agent-launcher {
  display: none;
}

@keyframes bh-agent-breathe {
  0%,
  100% {
    box-shadow:
      0 10px 32px rgb(0 0 0 / 0.42),
      0 0 12px color-mix(in srgb, var(--bh-gold) 14%, transparent);
  }
  50% {
    box-shadow:
      0 14px 38px rgb(0 0 0 / 0.48),
      0 0 26px color-mix(in srgb, var(--bh-gold) 32%, transparent),
      0 0 18px color-mix(in srgb, var(--bh-magenta) 16%, transparent);
  }
}

@keyframes bh-agent-glow {
  0%,
  100% { opacity: 0.35; }
  50% { opacity: 0.85; }
}

@keyframes bh-agent-live {
  0%,
  100% { opacity: 1; }
  50% { opacity: 0.45; }
}

@keyframes bh-agent-sheen {
  0%,
  58% { transform: translateX(-130%); }
  78% { transform: translateX(130%); }
  100% { transform: translateX(130%); }
}

.bh-agent-panel {
  position: absolute;
  left: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  width: min(22.5rem, calc(100vw - 1.75rem));
  height: min(36rem, calc(100dvh - 5.5rem));
  border: 1px solid color-mix(in srgb, var(--bh-gold) 28%, var(--bh-border));
  border-radius: var(--bh-radius-vitrine);
  background: var(--bh-surface);
  color: var(--bh-text);
  box-shadow: 0 22px 56px rgb(0 0 0 / 0.55);
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(10px);
  transition:
    opacity var(--bh-normal) var(--bh-ease),
    transform var(--bh-normal) var(--bh-ease),
    visibility var(--bh-normal);
}

.bh-agent.is-open .bh-agent-panel {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: none;
}

.bh-agent-panel-accent {
  height: 2px;
  flex-shrink: 0;
  background: linear-gradient(to left, var(--bh-magenta) 0%, var(--bh-gold) 42%, transparent 100%);
}

[dir="ltr"] .bh-agent-panel-accent {
  background: linear-gradient(to right, var(--bh-magenta) 0%, var(--bh-gold) 42%, transparent 100%);
}

.bh-agent-head {
  display: flex;
  align-items: flex-start;
  gap: var(--bh-space-3);
  padding: var(--bh-space-4);
  border-block-end: 1px solid var(--bh-border);
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--bh-gold) 7%, transparent), transparent 70%),
    var(--bh-surface-raised);
}

.bh-agent-head > .bh-agent-avatar {
  margin-block-start: 0.1rem;
}

.bh-agent-head-title {
  display: grid;
  gap: 0.2rem;
  min-width: 0;
  flex: 1;
}

.bh-agent-head-title strong {
  font-size: 0.98rem;
  font-weight: 700;
  letter-spacing: 0;
}

.bh-agent-status {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--bh-gold-bright);
}

.bh-agent-status-dot {
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 1px;
  background: var(--bh-gold);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--bh-gold) 22%, transparent);
}

.bh-agent-disclosure {
  font-size: 0.68rem;
  line-height: 1.45;
  color: var(--bh-text-muted);
}

.bh-agent-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.1rem;
  height: 2.1rem;
  flex-shrink: 0;
  border: 1px solid var(--bh-border);
  border-radius: var(--bh-radius-vitrine);
  background: transparent;
  color: var(--bh-text-muted);
  font: inherit;
  cursor: pointer;
  transition: color var(--bh-fast) var(--bh-ease), border-color var(--bh-fast) var(--bh-ease);
}

.bh-agent-close:hover {
  color: var(--bh-text);
  border-color: var(--bh-gold-deep);
}

.bh-agent-close:focus-visible {
  outline: 2px solid var(--bh-focus);
  outline-offset: 1px;
}

.bh-agent-close svg {
  width: 0.95rem;
  height: 0.95rem;
}

.bh-agent-messages {
  flex: 1;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: var(--bh-space-3);
  padding: var(--bh-space-4);
  background:
    linear-gradient(180deg, transparent, color-mix(in srgb, var(--bh-canvas) 55%, transparent) 40%),
    var(--bh-canvas);
  scrollbar-width: thin;
  scrollbar-color: var(--bh-border) transparent;
}

.bh-agent-msg {
  max-width: 88%;
  padding: 0.7rem 0.9rem;
  border-radius: var(--bh-radius-vitrine);
  font-size: 0.875rem;
  line-height: 1.75;
  white-space: pre-wrap;
  overflow-wrap: break-word;
}

.bh-agent-msg.is-user {
  align-self: flex-end;
  background: color-mix(in srgb, var(--bh-gold) 16%, var(--bh-surface-raised));
  border: 1px solid color-mix(in srgb, var(--bh-gold) 38%, var(--bh-border));
  color: var(--bh-text);
}

.bh-agent-msg.is-assistant {
  align-self: flex-start;
  background: var(--bh-surface-raised);
  border: 1px solid var(--bh-border);
  border-inline-start: 2px solid var(--bh-magenta);
}

.bh-agent-msg.is-error {
  border-inline-start-color: var(--bh-danger);
}

.bh-agent-msg.is-typing {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 2.4rem;
  color: var(--bh-text-muted);
}

.bh-agent-dots {
  display: inline-flex;
  align-items: center;
  gap: 0.28rem;
}

.bh-agent-dots i {
  width: 0.35rem;
  height: 0.35rem;
  border-radius: 1px;
  background: var(--bh-gold);
  opacity: 0.35;
  animation: bh-agent-dot 1.1s var(--bh-ease) infinite;
}

.bh-agent-dots i:nth-child(2) { animation-delay: 0.14s; }
.bh-agent-dots i:nth-child(3) { animation-delay: 0.28s; }

@keyframes bh-agent-dot {
  0%, 80%, 100% { opacity: 0.3; transform: translateY(0); }
  40% { opacity: 1; transform: translateY(-2px); }
}

.bh-agent-links {
  display: flex;
  flex-wrap: wrap;
  gap: var(--bh-space-2);
  align-self: flex-start;
  margin-block-start: calc(var(--bh-space-2) * -1);
}

.bh-agent-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.7rem;
  border: 1px solid color-mix(in srgb, var(--bh-gold) 40%, var(--bh-border));
  border-radius: var(--bh-radius-vitrine);
  color: var(--bh-gold-bright);
  font-size: 0.78rem;
  text-decoration: none;
  background: color-mix(in srgb, var(--bh-gold) 8%, transparent);
  transition: background var(--bh-fast) var(--bh-ease), border-color var(--bh-fast) var(--bh-ease);
}

.bh-agent-link::after {
  content: "";
  width: 0.35rem;
  height: 0.35rem;
  border-block-start: 1px solid currentColor;
  border-inline-end: 1px solid currentColor;
  transform: rotate(45deg);
}

[dir="rtl"] .bh-agent-link::after {
  transform: rotate(-135deg);
}

.bh-agent-link:hover {
  background: color-mix(in srgb, var(--bh-gold) 16%, transparent);
  border-color: var(--bh-gold);
}

.bh-agent-ended {
  display: grid;
  gap: var(--bh-space-3);
  justify-items: start;
  padding: var(--bh-space-4);
  border-block-start: 1px solid var(--bh-border);
  font-size: 0.85rem;
  color: var(--bh-text-muted);
  background: var(--bh-surface-raised);
}

.bh-agent-ended p {
  margin: 0;
}

.bh-agent-composer {
  display: flex;
  align-items: flex-end;
  gap: var(--bh-space-2);
  padding: var(--bh-space-3);
  border-block-start: 1px solid var(--bh-border);
  background: var(--bh-surface-raised);
}

.bh-agent-composer textarea {
  flex: 1;
  min-height: 44px;
  max-height: 8rem;
  resize: none;
  padding: 0.65rem 0.8rem;
  border: 1px solid var(--bh-border);
  border-radius: var(--bh-radius-vitrine);
  background: var(--bh-canvas);
  color: var(--bh-text);
  font-family: var(--bh-font);
  font-size: 0.875rem;
  line-height: 1.55;
}

.bh-agent-composer textarea::placeholder {
  color: var(--bh-text-muted);
  opacity: 0.85;
}

.bh-agent-composer textarea:focus {
  outline: 2px solid var(--bh-focus);
  outline-offset: 1px;
  border-color: var(--bh-gold-deep);
}

.bh-agent-send {
  min-height: 44px;
  padding-inline: 0.85rem;
  gap: var(--bh-space-2);
}

.bh-agent-send .bh-icon {
  width: 1rem;
  height: 1rem;
}

@media (max-width: 480px) {
  .bh-agent {
    left: var(--bh-space-3);
    bottom: var(--bh-space-3);
    max-width: calc(100vw - 2 * var(--bh-space-3));
  }

  .bh-agent-panel {
    width: min(22.5rem, calc(100vw - 1.5rem));
    height: min(32rem, calc(100dvh - 5rem));
  }
}

@media (prefers-reduced-motion: reduce) {
  .bh-agent-launcher,
  .bh-agent-panel,
  .bh-agent-link,
  .bh-agent-close {
    transition: none;
    animation: none;
  }

  .bh-agent-launcher::before,
  .bh-agent-avatar-glow,
  .bh-agent-live,
  .bh-agent-launcher-hint .bh-agent-status-dot {
    animation: none;
  }

  .bh-agent-launcher:hover,
  .bh-agent.is-open .bh-agent-launcher,
  .bh-agent-panel {
    transform: none;
  }

  .bh-agent-dots i {
    animation: none;
    opacity: 0.8;
  }
}

/* ---- AI assistant: admin review screens ---- */

.bh-agent-filter-row {
  margin-block-end: var(--bh-space-4);
  flex-wrap: wrap;
}

.bh-agent-first-message {
  max-width: 22rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.bh-agent-test-output {
  margin: 0;
  padding: var(--bh-space-3) var(--bh-space-4);
  border: 1px solid var(--bh-border-on-light);
  border-radius: var(--bh-radius-panel);
  background: var(--bh-surface-light);
  color: var(--bh-text-on-light);
  font-family: var(--bh-font);
  font-size: 0.875rem;
  line-height: 1.9;
  white-space: pre-wrap;
  word-break: break-word;
}

.bh-agent-admin-thread {
  display: flex;
  flex-direction: column;
  gap: var(--bh-space-3);
  margin-block-start: var(--bh-space-4);
  max-height: min(40rem, 70vh);
  overflow: auto;
  padding: var(--bh-space-2);
}

.bh-agent-admin-msg {
  padding: var(--bh-space-3) var(--bh-space-4);
  border: 1px solid var(--bh-border-on-light);
  border-radius: var(--bh-radius-panel);
  background: var(--bh-surface-light);
  color: var(--bh-text-on-light);
  max-width: min(46rem, 92%);
}

.bh-agent-admin-msg.is-user {
  align-self: flex-start;
  border-color: color-mix(in srgb, var(--bh-gold) 45%, var(--bh-border-on-light));
  background: color-mix(in srgb, var(--bh-gold) 10%, var(--bh-surface-light));
}

.bh-agent-admin-msg.is-assistant {
  align-self: flex-end;
  border-color: color-mix(in srgb, var(--bh-magenta) 35%, var(--bh-border-on-light));
  background: color-mix(in srgb, var(--bh-magenta) 6%, var(--bh-surface-light));
}

.bh-agent-admin-msg.is-error {
  border-color: color-mix(in srgb, var(--bh-danger) 50%, var(--bh-border-on-light));
  background: color-mix(in srgb, var(--bh-danger) 8%, var(--bh-surface-light));
}

.bh-agent-admin-msg-head {
  display: flex;
  align-items: center;
  gap: var(--bh-space-2);
  flex-wrap: wrap;
  margin-block-end: var(--bh-space-2);
  font-size: 0.8125rem;
  color: var(--bh-muted-on-light);
}

.bh-agent-admin-msg-head strong {
  color: var(--bh-text-on-light);
}

.bh-agent-admin-msg-body {
  margin: 0;
  color: var(--bh-text-on-light);
  white-space: pre-wrap;
  word-break: break-word;
  line-height: 1.9;
}

.bh-agent-admin-msg footer {
  margin-block-start: var(--bh-space-2);
  font-size: 0.75rem;
  color: var(--bh-muted-on-light);
}

/* Partner Program (public vitrine) */
.bh-partner {
  --bh-partner-max: 68rem;
  display: grid;
  gap: clamp(2rem, 4vw, 3.25rem);
  max-width: var(--bh-partner-max);
  margin-inline: auto;
  position: relative;
}

.bh-partner-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(9rem, 0.65fr);
  gap: var(--bh-space-8);
  align-items: end;
  padding-block: clamp(0.5rem, 2vw, 1.25rem) var(--bh-space-8);
  border-block-end: 1px solid color-mix(in srgb, var(--bh-gold) 28%, var(--bh-border));
  position: relative;
}

.bh-partner-hero::before {
  content: "";
  position: absolute;
  inset-inline-end: -6%;
  inset-block-start: -10%;
  width: min(18rem, 42%);
  height: 70%;
  background:
    linear-gradient(
      155deg,
      color-mix(in srgb, var(--bh-magenta) 16%, transparent),
      transparent 58%
    );
  clip-path: polygon(50% 0, 100% 100%, 0 100%);
  pointer-events: none;
}

.bh-partner-hero-copy {
  display: grid;
  gap: var(--bh-space-4);
  justify-items: start;
  position: relative;
  z-index: 1;
}

.bh-partner-hero-copy .bh-kicker {
  color: var(--bh-gold-bright);
  letter-spacing: 0.12em;
  font-size: 0.78rem;
  text-transform: uppercase;
}

.bh-partner-hero-copy h1 {
  margin: 0;
  font-size: clamp(1.75rem, 3.8vw, 2.55rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.25;
  max-width: 22ch;
}

.bh-partner-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--bh-space-3);
  margin-block-start: var(--bh-space-2);
}

.bh-partner-hero-mark {
  position: relative;
  min-height: 11.5rem;
  z-index: 1;
}

.bh-partner-poly {
  position: absolute;
  border: 1px solid color-mix(in srgb, var(--bh-gold) 70%, var(--bh-border));
  background: color-mix(in srgb, var(--bh-gold) 8%, transparent);
}

.bh-partner-poly-a {
  inset-inline-end: 10%;
  inset-block-start: 8%;
  width: 46%;
  height: 62%;
  clip-path: polygon(50% 0, 100% 100%, 0 100%);
}

.bh-partner-poly-b {
  inset-inline-start: 14%;
  inset-block-end: 6%;
  width: 50%;
  height: 52%;
  border-color: color-mix(in srgb, var(--bh-magenta) 60%, var(--bh-border));
  background: color-mix(in srgb, var(--bh-magenta) 10%, transparent);
  clip-path: polygon(0 0, 100% 35%, 70% 100%, 0 80%);
}

.bh-partner-poly-c {
  inset-inline-end: 28%;
  inset-block-start: 28%;
  width: 22%;
  height: 28%;
  border-color: color-mix(in srgb, var(--bh-gold-bright) 45%, transparent);
  clip-path: polygon(50% 0, 100% 100%, 0 100%);
}

.bh-partner-line {
  position: absolute;
  inset-inline-start: 0;
  inset-block-end: 26%;
  width: 82%;
  height: 1px;
  background: linear-gradient(
    to left,
    color-mix(in srgb, var(--bh-gold) 80%, transparent),
    transparent
  );
}

[dir="ltr"] .bh-partner-line {
  background: linear-gradient(
    to right,
    color-mix(in srgb, var(--bh-gold) 80%, transparent),
    transparent
  );
}

.bh-partner-toc {
  display: grid;
  gap: var(--bh-space-3);
}

.bh-partner-toc-label {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--bh-text-muted);
}

.bh-partner-toc ol {
  display: flex;
  flex-wrap: wrap;
  gap: var(--bh-space-2);
  list-style: none;
  margin: 0;
  padding: 0;
}

.bh-partner-toc a {
  display: inline-flex;
  align-items: center;
  min-height: 2.15rem;
  padding: 0.35rem 0.8rem;
  border: 1px solid var(--bh-border);
  border-radius: var(--bh-radius-vitrine);
  background: color-mix(in srgb, var(--bh-surface) 80%, transparent);
  color: var(--bh-text);
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 550;
  transition:
    border-color var(--bh-fast) var(--bh-ease),
    color var(--bh-fast) var(--bh-ease),
    background var(--bh-fast) var(--bh-ease);
}

.bh-partner-toc a:hover,
.bh-partner-toc a:focus-visible {
  border-color: var(--bh-gold);
  color: var(--bh-gold-bright);
  background: color-mix(in srgb, var(--bh-gold) 8%, var(--bh-surface));
}

.bh-partner-block {
  display: grid;
  gap: var(--bh-space-5);
  scroll-margin-block-start: 5.5rem;
}

.bh-partner-block-head {
  display: grid;
  gap: var(--bh-space-2);
  justify-items: start;
}

.bh-partner-block-index {
  font-size: 0.72rem;
  font-weight: 650;
  letter-spacing: 0.14em;
  color: var(--bh-gold);
}

.bh-partner-block-head h2 {
  margin: 0;
  font-size: clamp(1.28rem, 2.4vw, 1.7rem);
  letter-spacing: -0.02em;
}

.bh-partner-cms {
  max-width: none;
}

.bh-partner-cms > p:first-child {
  font-size: 1.05rem;
  color: var(--bh-text-muted);
  line-height: 1.85;
  max-width: 48rem;
}

.bh-partner-cms h3 {
  margin: var(--bh-space-6) 0 var(--bh-space-2);
  font-size: 1.05rem;
  color: var(--bh-gold-bright);
}

.bh-partner-cms ul,
.bh-partner-cms ol {
  margin: 0 0 var(--bh-space-4);
  padding-inline-start: 1.25rem;
  display: grid;
  gap: var(--bh-space-2);
  color: var(--bh-text-muted);
  line-height: 1.8;
}

.bh-partner-cms li strong {
  color: var(--bh-text);
}

.is-model .bh-partner-cms {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: var(--bh-space-4);
  row-gap: 0;
}

.is-model .bh-partner-cms > p:first-child,
.is-model .bh-partner-cms > p:last-child {
  grid-column: 1 / -1;
}

.is-model .bh-partner-cms h3:nth-of-type(1) {
  grid-column: 1;
  grid-row: 2;
}

.is-model .bh-partner-cms h3:nth-of-type(1) + p {
  grid-column: 1;
  grid-row: 3;
}

.is-model .bh-partner-cms h3:nth-of-type(2) {
  grid-column: 2;
  grid-row: 2;
}

.is-model .bh-partner-cms h3:nth-of-type(2) + p {
  grid-column: 2;
  grid-row: 3;
}

.is-model .bh-partner-cms h3 {
  margin: var(--bh-space-5) 0 0;
  padding: var(--bh-space-4) var(--bh-space-5) 0;
  border: 1px solid var(--bh-border);
  border-block-end: 0;
  background: var(--bh-surface);
  border-start-start-radius: var(--bh-radius-vitrine);
  border-start-end-radius: var(--bh-radius-vitrine);
}

.is-model .bh-partner-cms h3 + p {
  margin: 0 0 var(--bh-space-4);
  padding: var(--bh-space-3) var(--bh-space-5) var(--bh-space-5);
  border: 1px solid var(--bh-border);
  border-block-start: 0;
  background: var(--bh-surface);
  border-end-start-radius: var(--bh-radius-vitrine);
  border-end-end-radius: var(--bh-radius-vitrine);
}

.is-model .bh-partner-cms > p:last-child {
  margin-block-start: var(--bh-space-2);
  padding: var(--bh-space-5);
  border-inline-start: 2px solid var(--bh-gold);
  background: color-mix(in srgb, var(--bh-gold) 6%, transparent);
  color: var(--bh-text);
  max-width: none;
}

.is-who .bh-partner-cms ul {
  list-style: none;
  padding: 0;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--bh-space-3);
}

.is-who .bh-partner-cms li {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: var(--bh-space-3);
  align-items: start;
  margin: 0;
  padding: var(--bh-space-4);
  border: 1px solid var(--bh-border);
  background: var(--bh-surface);
  color: var(--bh-text);
  line-height: 1.55;
}

.is-who .bh-partner-cms li::before {
  content: "";
  width: 0.55rem;
  height: 0.55rem;
  margin-block-start: 0.45rem;
  background: var(--bh-gold);
  clip-path: polygon(50% 0, 100% 100%, 0 100%);
  flex-shrink: 0;
}

.is-flow .bh-partner-cms ol {
  list-style: none;
  padding: 0;
  counter-reset: bh-partner-step;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--bh-space-3);
}

.is-flow .bh-partner-cms li {
  counter-increment: bh-partner-step;
  display: grid;
  gap: var(--bh-space-2);
  align-content: start;
  margin: 0;
  padding: var(--bh-space-4);
  border: 1px solid var(--bh-border);
  background: var(--bh-surface);
  position: relative;
  color: var(--bh-text-muted);
  font-size: 0.9rem;
  line-height: 1.65;
}

.is-flow .bh-partner-cms li::before {
  content: counter(bh-partner-step, decimal-leading-zero);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--bh-gold);
}

.is-flow .bh-partner-cms li strong {
  display: block;
  color: var(--bh-text);
  font-size: 0.98rem;
}

.is-share .bh-partner-cms {
  padding: clamp(1.25rem, 3vw, 2rem);
  border: 1px solid color-mix(in srgb, var(--bh-gold) 38%, var(--bh-border));
  background:
    linear-gradient(
      155deg,
      color-mix(in srgb, var(--bh-gold) 10%, transparent),
      transparent 48%
    ),
    var(--bh-surface);
}

.is-share .bh-partner-cms > p:first-child {
  color: var(--bh-text);
  font-size: 1.08rem;
}

.bh-partner-faq {
  display: grid;
  gap: var(--bh-space-2);
}

.bh-partner-faq-item {
  border: 1px solid var(--bh-border);
  background: var(--bh-surface);
  padding: 0;
  border-radius: var(--bh-radius-vitrine);
}

.bh-partner-faq-item summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--bh-space-4);
  padding: var(--bh-space-4) var(--bh-space-5);
  font-weight: 600;
  line-height: 1.45;
  transition: background var(--bh-fast) var(--bh-ease);
}

.bh-partner-faq-item summary::-webkit-details-marker {
  display: none;
}

.bh-partner-faq-item summary::after {
  content: "+";
  color: var(--bh-gold);
  font-weight: 400;
  font-size: 1.2rem;
  line-height: 1;
  flex-shrink: 0;
}

.bh-partner-faq-item[open] {
  border-color: color-mix(in srgb, var(--bh-gold) 42%, var(--bh-border));
}

.bh-partner-faq-item[open] summary {
  color: var(--bh-gold-bright);
}

.bh-partner-faq-item[open] summary::after {
  content: "–";
}

.bh-partner-faq-item summary:hover,
.bh-partner-faq-item summary:focus-visible {
  background: color-mix(in srgb, var(--bh-gold) 6%, transparent);
}

.bh-partner-faq-item p {
  margin: 0;
  padding: 0 var(--bh-space-5) var(--bh-space-4);
  color: var(--bh-text-muted);
  line-height: 1.8;
}

.bh-partner-faq-body {
  padding: 0 var(--bh-space-5) var(--bh-space-5);
  color: var(--bh-text-muted);
}

.bh-partner-faq-body p:last-child {
  margin-bottom: 0;
}

.bh-partner-apply {
  scroll-margin-block-start: 5rem;
}

.bh-partner-form {
  max-width: none;
  position: relative;
  overflow: hidden;
}

.bh-partner-form::before {
  content: "";
  position: absolute;
  inset-inline: 0;
  inset-block-start: 0;
  height: 2px;
  background: linear-gradient(
    to left,
    var(--bh-gold),
    var(--bh-magenta)
  );
}

[dir="ltr"] .bh-partner-form::before {
  background: linear-gradient(to right, var(--bh-gold), var(--bh-magenta));
}

.bh-partner-fieldset {
  margin: 0;
  padding: var(--bh-space-5) 0 0;
  border: 0;
  border-block-start: 1px solid var(--bh-border);
  display: grid;
  gap: var(--bh-space-4);
}

.bh-partner-fieldset:first-of-type {
  border-block-start: 0;
  padding-block-start: 0;
}

.bh-partner-fieldset > legend {
  padding: 0;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--bh-gold);
}

.bh-partner-opp {
  border: 0;
  margin: 0;
  padding: 0;
  display: grid;
  gap: var(--bh-space-3);
}

.bh-partner-opp legend {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  align-items: baseline;
  font-weight: 600;
  margin-block-end: var(--bh-space-2);
}

.bh-partner-radios {
  display: flex;
  flex-wrap: wrap;
  gap: var(--bh-space-3);
}

.bh-partner-choice {
  min-height: 2.5rem;
  padding: 0.45rem 0.9rem;
  border: 1px solid var(--bh-border);
  background: var(--bh-surface);
  cursor: pointer;
  transition:
    border-color var(--bh-fast) var(--bh-ease),
    background var(--bh-fast) var(--bh-ease);
}

.bh-partner-choice:hover {
  border-color: color-mix(in srgb, var(--bh-gold) 45%, var(--bh-border));
}

.bh-partner-choice input {
  accent-color: var(--bh-gold);
  flex-shrink: 0;
}

.bh-partner-choice:has(input:checked) {
  border-color: var(--bh-gold);
  background: color-mix(in srgb, var(--bh-gold) 12%, var(--bh-surface));
}

.bh-partner-terms {
  align-items: flex-start;
  margin-block-start: var(--bh-space-2);
}

.bh-partner-cta {
  display: grid;
  gap: var(--bh-space-3);
  justify-items: start;
  margin-block-start: var(--bh-space-8);
  padding: var(--bh-space-6);
}

.bh-partner-cta h2 {
  margin: 0;
  font-size: 1.15rem;
}

.bh-partner-cta p {
  margin: 0;
  color: var(--bh-text-muted);
}

@media (max-width: 960px) {
  .bh-partner-hero {
    grid-template-columns: 1fr;
  }

  .bh-partner-hero-copy h1 {
    max-width: none;
  }

  .bh-partner-hero-mark {
    display: none;
  }

  .is-model .bh-partner-cms,
  .is-flow .bh-partner-cms ol,
  .is-who .bh-partner-cms ul {
    grid-template-columns: 1fr;
  }

  .is-model .bh-partner-cms h3:nth-of-type(1),
  .is-model .bh-partner-cms h3:nth-of-type(1) + p,
  .is-model .bh-partner-cms h3:nth-of-type(2),
  .is-model .bh-partner-cms h3:nth-of-type(2) + p {
    grid-column: 1;
    grid-row: auto;
  }
}

@media (max-width: 640px) {
  .bh-partner .bh-contact-field-pair {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .bh-partner-toc a,
  .bh-partner-faq-item summary,
  .bh-partner-choice {
    transition: none;
  }
}

/* Public About — identity shell, not a Home clone */
.bh-main:has(.bh-about) {
  padding-block: var(--bh-space-6) var(--bh-space-10);
}

.bh-about {
  display: grid;
  gap: var(--bh-space-10);
  padding-block-end: var(--bh-space-8);
}

.bh-about-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(5.5rem, 9rem);
  gap: var(--bh-space-6);
  align-items: end;
  padding-block-end: var(--bh-space-6);
  border-block-end: 1px solid color-mix(in srgb, var(--bh-gold) 22%, var(--bh-border));
}

.bh-about-hero-copy h1 {
  margin: 0.2rem 0 0.7rem;
  font-size: clamp(1.85rem, 3.6vw, 2.55rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.bh-about-quote {
  margin: 1rem 0 0;
  max-width: 38rem;
  padding: 0;
  border: 0;
  color: var(--bh-gold-bright);
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.65;
}

.bh-about-axis,
.bh-about-since {
  margin: 0.55rem 0 0;
  color: var(--bh-text-muted);
  font-size: 0.9rem;
  text-align: start;
  direction: inherit;
}

.bh-about-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-block-start: var(--bh-space-6);
}

.bh-about-hero-mark {
  position: relative;
  height: 7.5rem;
}

.bh-about-poly {
  position: absolute;
  border: 1px solid color-mix(in srgb, var(--bh-gold) 45%, transparent);
  background: color-mix(in srgb, var(--bh-magenta) 10%, transparent);
  clip-path: polygon(50% 0%, 100% 100%, 0% 100%);
}

.bh-about-poly-a {
  inset-inline-end: 0.2rem;
  top: 0;
  width: 3.4rem;
  height: 2.95rem;
}

.bh-about-poly-b {
  inset-inline-end: 1.85rem;
  top: 1.85rem;
  width: 2.2rem;
  height: 1.9rem;
  border-color: color-mix(in srgb, var(--bh-magenta) 50%, transparent);
  background: color-mix(in srgb, var(--bh-gold) 8%, transparent);
}

.bh-about-poly-c {
  inset-inline-end: 0.85rem;
  top: 3.7rem;
  width: 1.45rem;
  height: 1.25rem;
  opacity: 0.7;
}

.bh-about-line {
  position: absolute;
  inset-inline-end: 0;
  bottom: 0.2rem;
  width: 5.2rem;
  height: 1px;
  background: linear-gradient(
    to left,
    color-mix(in srgb, var(--bh-gold) 70%, transparent),
    transparent
  );
}

[dir="ltr"] .bh-about-line {
  background: linear-gradient(
    to right,
    color-mix(in srgb, var(--bh-gold) 70%, transparent),
    transparent
  );
}

.bh-about-sec-kicker {
  margin: 0 0 0.45rem;
  color: var(--bh-magenta-bright);
  letter-spacing: 0.06em;
  font-size: 0.82rem;
  font-weight: 600;
}

.bh-about h2 {
  margin: 0;
  font-size: clamp(1.2rem, 2.2vw, 1.55rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.bh-about-trust {
  padding: var(--bh-space-5) 0;
  border-block: 1px solid color-mix(in srgb, var(--bh-gold) 16%, var(--bh-border));
}

.bh-about-trust-row {
  list-style: none;
  margin: var(--bh-space-4) 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(8.5rem, 1fr));
  gap: var(--bh-space-4);
}

.bh-about-trust-row li {
  display: grid;
  gap: 0.15rem;
  justify-items: start;
}

.bh-about-trust-icon {
  color: var(--bh-gold);
}

.bh-about-trust-icon .bh-icon {
  width: 1.15rem;
  height: 1.15rem;
}

.bh-about-trust-value {
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--bh-gold-bright);
  line-height: 1.2;
}

.bh-about-trust-label {
  color: var(--bh-text-muted);
  font-size: 0.82rem;
}

.bh-about-narrative h2 {
  margin-block-end: var(--bh-space-5);
}

.bh-about-prose {
  max-width: 44rem;
}

.bh-about-prose p {
  color: var(--bh-text);
}

.bh-about-prose strong {
  color: var(--bh-gold-bright);
  font-weight: 650;
}

.bh-about-block-head {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: var(--bh-space-3);
  margin-block-end: var(--bh-space-5);
}

.bh-about-block-head .bh-muted {
  margin: 0.4rem 0 0;
  max-width: 36rem;
}

.bh-about-more {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  color: var(--bh-gold-bright);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
}

.bh-about-more:hover {
  color: var(--bh-gold);
}

.bh-about-more .bh-icon {
  width: 1rem;
  height: 1rem;
}

.bh-about-card-icon {
  display: inline-flex;
  color: var(--bh-gold);
}

.bh-about-card-icon .bh-icon {
  width: 1.25rem;
  height: 1.25rem;
}

.bh-about-card-icon.is-sm .bh-icon {
  width: 1.05rem;
  height: 1.05rem;
}

.bh-about-service-grid,
.bh-about-product-grid,
.bh-about-project-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: var(--bh-space-4);
}

.bh-about-service-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.bh-about-service-card,
.bh-about-product-card,
.bh-about-project-card {
  display: grid;
  gap: 0.45rem;
  min-height: 100%;
  padding: var(--bh-space-5);
  border: 1px solid var(--bh-border);
  border-radius: var(--bh-radius-vitrine);
  background: color-mix(in srgb, var(--bh-surface) 88%, transparent);
  color: inherit;
  text-decoration: none;
  transition: border-color var(--bh-fast) var(--bh-ease), background var(--bh-fast) var(--bh-ease);
}

.bh-about-service-card:hover,
.bh-about-project-card:hover {
  border-color: color-mix(in srgb, var(--bh-gold) 48%, var(--bh-border));
  background: var(--bh-surface-raised);
}

.bh-about-service-card strong,
.bh-about-product-card strong,
.bh-about-project-copy strong {
  font-size: 1.02rem;
  font-weight: 650;
}

.bh-about-product-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.bh-about-product-code {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--bh-magenta-bright);
}

.bh-about-product-tagline {
  font-weight: 600;
  color: var(--bh-gold-bright);
}

.bh-about-project-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.bh-about-project-card {
  padding: 0;
  overflow: hidden;
}

.bh-about-project-cover {
  position: relative;
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--bh-surface-raised);
}

.bh-about-project-cover img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bh-about-project-fallback {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: color-mix(in srgb, var(--bh-gold) 45%, transparent);
}

.bh-about-project-copy {
  display: grid;
  gap: 0.25rem;
  padding: var(--bh-space-4);
}

.bh-about-project-tag {
  font-size: 0.78rem;
  color: var(--bh-text-muted);
}

.bh-about-craft-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--bh-space-6);
  margin-block-start: var(--bh-space-4);
}

.bh-about-craft-col {
  display: grid;
  gap: var(--bh-space-4);
  align-content: start;
  padding: var(--bh-space-5);
  border: 1px solid var(--bh-border);
  border-radius: var(--bh-radius-vitrine);
  background: color-mix(in srgb, var(--bh-surface) 70%, transparent);
}

.bh-about-craft-quote {
  margin: 0;
  padding: 0;
  border: 0;
  color: var(--bh-gold-bright);
  font-size: 0.95rem;
}

.bh-about-chip-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.bh-about-chip-list li {
  padding: 0.2rem 0.55rem;
  border: 1px solid var(--bh-border);
  border-radius: var(--bh-radius-vitrine);
  background: color-mix(in srgb, var(--bh-surface-raised) 80%, transparent);
  font-size: 0.8rem;
  font-weight: 600;
}

.bh-about-chip-list.is-dense li {
  font-size: 0.74rem;
  font-weight: 500;
}

.bh-about-stack {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: var(--bh-space-4);
}

.bh-about-stack-head {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin-block-end: 0.35rem;
}

.bh-about-vision {
  padding: var(--bh-space-6);
  border: 1px solid color-mix(in srgb, var(--bh-magenta) 28%, var(--bh-border));
  border-radius: var(--bh-radius-vitrine);
  background:
    radial-gradient(ellipse 70% 80% at 100% 0%, color-mix(in srgb, var(--bh-magenta) 16%, transparent), transparent 55%),
    color-mix(in srgb, var(--bh-surface) 88%, transparent);
}

.bh-about-vision-lead {
  margin: var(--bh-space-4) 0;
  max-width: 40rem;
  color: var(--bh-text-muted);
}

.bh-about-invite {
  padding: var(--bh-space-6);
  border: 1px solid color-mix(in srgb, var(--bh-gold) 32%, var(--bh-border));
  border-radius: var(--bh-radius-vitrine);
  background:
    radial-gradient(ellipse 60% 70% at 0% 100%, color-mix(in srgb, var(--bh-gold) 12%, transparent), transparent 55%),
    var(--bh-surface-raised);
}

.bh-about-invite .bh-muted {
  margin: 0.55rem 0 0;
  max-width: 36rem;
}

.bh-about-partner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--bh-space-4);
  padding-block-start: var(--bh-space-2);
}

.bh-about-partner h2 {
  font-size: 1.05rem;
}

.bh-about-partner p {
  margin: 0.35rem 0 0;
  max-width: 32rem;
  color: var(--bh-text-muted);
}

@media (max-width: 900px) {
  .bh-about-service-grid,
  .bh-about-project-grid,
  .bh-about-craft-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 720px) {
  .bh-about-hero {
    grid-template-columns: 1fr;
  }

  .bh-about-hero-mark {
    display: none;
  }

  .bh-about-service-grid,
  .bh-about-product-grid,
  .bh-about-project-grid,
  .bh-about-craft-grid {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .bh-about-service-card,
  .bh-about-project-card,
  .bh-about-more {
    transition: none;
  }
}
