/*
Theme Name: BillHaven
Author: BillHaven
Description: A lightweight block theme for a modern invoicing and business-finance website.
Requires at least: 6.6
Requires PHP: 7.4
Version: 1.2.2
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: billhaven
Tags: block-patterns, full-site-editing, custom-colors, custom-logo, featured-images
*/

:root {
  --bh-ink: #10101c;
  --bh-ink-soft: #626174;
  --bh-night: #080815;
  --bh-night-2: #111126;
  --bh-paper: #f7f6f2;
  --bh-white: #ffffff;
  --bh-violet: #7658ff;
  --bh-violet-light: #a89cff;
  --bh-coral: #ff6b5f;
  --bh-lime: #d9ff72;
  --bh-line: rgba(16, 16, 28, 0.12);
  --bh-radius: 24px;
  --bh-shadow: 0 24px 70px rgba(20, 14, 59, 0.16);
}

html {
  scroll-behavior: smooth;
}

body {
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img,
video,
iframe {
  max-width: 100%;
}

iframe {
  border: 0;
}

[id] {
  scroll-margin-top: 96px;
}

:where(a, button, input, select, textarea, summary):focus-visible {
  outline: 3px solid var(--bh-violet);
  outline-offset: 3px;
}

body.admin-bar .bh-site-header {
  top: 32px;
}

.wp-site-blocks {
  overflow: hidden;
}

.bh-section {
  position: relative;
  padding: clamp(88px, 9vw, 128px) max(20px, env(safe-area-inset-left));
}

.bh-section-title {
  max-width: 760px;
  margin: 0;
  font-size: clamp(2.6rem, 5vw, 4.25rem) !important;
  font-weight: 650 !important;
  letter-spacing: -0.055em;
  line-height: 0.98 !important;
}

.bh-section-copy {
  max-width: 620px;
  margin-top: 24px !important;
  color: var(--bh-ink-soft);
  font-size: 1.125rem;
  line-height: 1.65;
}

.bh-eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px !important;
  color: var(--bh-violet);
  font-size: 0.75rem !important;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.bh-eyebrow::before {
  width: 7px;
  height: 7px;
  flex: 0 0 7px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 0 5px color-mix(in srgb, currentColor 14%, transparent);
  content: "";
}

.bh-button .wp-block-button__link,
.wp-element-button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 13px;
  box-shadow: none;
  font-size: 0.9375rem;
  font-weight: 760;
  transition: transform 0.25s ease, background-color 0.25s ease, border-color 0.25s ease;
}

.bh-button .wp-block-button__link:hover,
.wp-element-button:hover {
  transform: translateY(-2px);
}

.bh-button--primary .wp-block-button__link {
  color: var(--bh-night) !important;
  background: var(--bh-lime) !important;
}

.bh-button--primary .wp-block-button__link:hover {
  background: #e5ff9d !important;
}

.bh-button--ghost .wp-block-button__link {
  border-color: rgba(255, 255, 255, 0.18);
  color: #fff !important;
  background: rgba(255, 255, 255, 0.07) !important;
}

.bh-button--ghost .wp-block-button__link:hover {
  border-color: rgba(255, 255, 255, 0.38);
  background: rgba(255, 255, 255, 0.12) !important;
}

.bh-button--dark .wp-block-button__link {
  color: #fff !important;
  background: var(--bh-night) !important;
}

.bh-button--dark .wp-block-button__link:hover {
  background: var(--bh-violet) !important;
}

/* Header */
.bh-site-header {
  position: absolute;
  z-index: 50;
  top: 0;
  right: 0;
  left: 0;
  min-height: 88px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  color: #fff;
  background: rgba(8, 8, 21, 0.62);
  backdrop-filter: blur(16px);
}

.bh-nav {
  min-height: 88px;
  padding-inline: 20px;
}

.bh-brand {
  position: relative;
  margin: 0 !important;
  padding-left: 40px;
  font-size: 1.5rem !important;
  font-weight: 800 !important;
  letter-spacing: -0.045em;
}

.bh-brand a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  color: #fff !important;
  text-decoration: none;
}

.bh-brand::before {
  position: absolute;
  top: 50%;
  left: 2px;
  width: 29px;
  height: 29px;
  transform: translateY(-50%) rotate(45deg);
  border-radius: 9px;
  background: linear-gradient(135deg, var(--bh-lime), #fff);
  box-shadow: 0 0 30px rgba(217, 255, 114, 0.24);
  content: "";
}

.bh-brand::after {
  position: absolute;
  top: 50%;
  left: 10px;
  width: 13px;
  height: 13px;
  transform: translateY(-50%) rotate(45deg);
  border-radius: 3px;
  background: var(--bh-night);
  content: "";
}

.bh-primary-nav {
  margin-left: auto;
}

.bh-primary-nav .wp-block-navigation-item__content {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.875rem;
  font-weight: 650;
}

.bh-primary-nav .wp-block-navigation-item__content:hover {
  color: #fff;
}

.bh-mobile-cta {
  display: none !important;
}

.bh-header-actions {
  margin-left: 14px;
}

.wp-block-navigation__responsive-container-open,
.wp-block-navigation__responsive-container-close {
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
}

.wp-block-navigation__responsive-container-open:hover,
.wp-block-navigation__responsive-container-close:hover {
  background: rgba(255, 255, 255, 0.08);
}

.bh-header-login .wp-block-button__link {
  min-height: 46px;
  padding-inline: 10px;
  color: #fff !important;
  background: transparent !important;
}

.bh-header-cta .wp-block-button__link {
  min-height: 46px;
  padding-inline: 18px;
}

/* Hero */
.bh-hero {
  position: relative;
  min-height: 820px;
  overflow: hidden;
  color: #fff;
  background: var(--bh-night);
}

.bh-hero .wp-block-cover__video-background {
  object-position: 57% center;
}

.bh-hero::after {
  position: absolute;
  z-index: 1;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(8, 8, 21, 0.98) 0%, rgba(8, 8, 21, 0.87) 28%, rgba(8, 8, 21, 0.19) 62%, rgba(8, 8, 21, 0.12) 100%),
    linear-gradient(180deg, rgba(8, 8, 21, 0.18) 0%, transparent 62%, rgba(8, 8, 21, 0.72) 100%);
  content: "";
  pointer-events: none;
}

.bh-hero .wp-block-cover__inner-container {
  position: relative;
  z-index: 2;
  width: 100%;
}

.bh-hero__content {
  position: relative;
  display: flex;
  width: calc(100% - 40px);
  max-width: var(--wp--style--global--wide-size, 1180px);
  min-height: 820px;
  align-items: flex-start;
  justify-content: center;
  margin-right: auto !important;
  margin-left: auto !important;
  padding: 145px 0 150px;
  flex-direction: column;
}

.bh-hero__copy {
  width: min(640px, 100%);
}

.bh-hero__content > .bh-hero__copy {
  max-width: 640px;
  margin-right: auto !important;
  margin-left: 0 !important;
}

.bh-hero-kicker {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px !important;
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.76);
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(10px);
  font-size: 0.8125rem !important;
  font-weight: 650;
}

.bh-hero-kicker strong {
  padding: 5px 8px;
  border-radius: 999px;
  color: var(--bh-night);
  background: var(--bh-lime);
  font-size: 0.625rem;
  font-weight: 850;
  letter-spacing: 0.08em;
}

.bh-hero-title {
  max-width: 620px;
  margin: 0 !important;
  font-size: clamp(3.6rem, 7vw, 6rem) !important;
  font-weight: 630 !important;
  letter-spacing: -0.065em;
  line-height: 0.91 !important;
  text-wrap: balance;
}

.bh-hero-title mark {
  color: var(--bh-violet-light);
  background: transparent;
}

.bh-hero-lede {
  max-width: 540px;
  margin-top: 28px !important;
  color: rgba(255, 255, 255, 0.66);
  font-size: clamp(1.0625rem, 2vw, 1.25rem) !important;
  line-height: 1.55;
}

.bh-hero-actions {
  margin-top: 36px !important;
}

.bh-hero-note {
  margin-top: 16px !important;
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.75rem !important;
}

.bh-proof {
  position: absolute;
  right: 0;
  bottom: 34px;
  left: 0;
  gap: 0 !important;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  background: rgba(12, 12, 27, 0.67);
  backdrop-filter: blur(15px);
}

.bh-hero__content > .bh-proof {
  width: auto !important;
  max-width: none !important;
  margin: 0 !important;
}

.bh-proof .wp-block-column {
  padding: 22px 24px;
  border-right: 1px solid rgba(255, 255, 255, 0.09);
}

.bh-proof .wp-block-column:last-child {
  border-right: 0;
}

.bh-proof-value {
  margin: 0 !important;
  color: #fff;
  font-size: 1.3125rem !important;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.bh-proof-label {
  margin-top: 5px !important;
  color: rgba(255, 255, 255, 0.46);
  font-size: 0.75rem !important;
}

/* Trust strip */
.bh-trust {
  padding: 30px 20px;
  border-bottom: 1px solid var(--bh-line);
  background: #fff;
}

.bh-trust__row {
  gap: 28px;
}

.bh-trust-label {
  flex: 0 0 auto;
  margin: 0 !important;
  color: #7d7b88;
  font-size: 0.75rem !important;
  font-weight: 750;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.bh-logo-cloud {
  gap: clamp(22px, 4vw, 48px) !important;
}

.bh-logo-cloud p {
  margin: 0 !important;
  color: #32313f;
  font-size: 0.9375rem !important;
  font-weight: 800;
  letter-spacing: -0.02em;
}

/* Feature grid */
.bh-features {
  background: var(--bh-paper);
}

.bh-section-head {
  align-items: flex-end !important;
  gap: 30px;
}

.bh-section-head > .wp-block-column:last-child .bh-section-copy {
  max-width: 430px;
  margin: 0 !important;
}

.bh-feature-grid {
  margin-top: 64px !important;
  gap: 18px !important;
}

.bh-feature-card {
  position: relative;
  min-height: 365px;
  overflow: hidden;
  padding: 34px;
  border: 1px solid rgba(16, 16, 28, 0.09);
  border-radius: var(--bh-radius);
  background: #fff;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.bh-feature-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--bh-shadow);
}

.bh-card-invoice {
  color: #fff;
  background: var(--bh-night-2);
}

.bh-card-payment {
  background: #e8e2ff;
}

.bh-card-expenses {
  background: #ffded8;
}

.bh-card-portal {
  background: #fff;
}

.bh-card-icon {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  margin: 0 !important;
  border: 1px solid rgba(16, 16, 28, 0.1);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.58);
  font-size: 1.1875rem !important;
}

.bh-card-invoice .bh-card-icon {
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.09);
}

.bh-feature-card h3 {
  margin: 28px 0 10px !important;
  font-size: 1.6875rem !important;
  letter-spacing: -0.04em;
}

.bh-feature-card > p:not(.bh-card-icon) {
  width: 100%;
  max-width: 440px;
  margin-right: 0 !important;
  margin-left: 0 !important;
  color: #666477;
  font-size: 0.9375rem !important;
  line-height: 1.65;
}

.bh-card-invoice > p:not(.bh-card-icon) {
  color: rgba(255, 255, 255, 0.56);
}

.bh-invoice-mini {
  position: absolute;
  right: 24px;
  bottom: 22px;
  left: 34px;
  display: grid;
  max-width: none;
  grid-template-columns: 1fr auto;
  gap: 18px;
  margin: 0 !important;
  padding: 19px;
  transform: rotate(-2deg);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 15px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.05));
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.24);
}

.bh-mini-id,
.bh-mini-service,
.bh-mini-total {
  margin: 0 !important;
}

.bh-mini-id {
  color: var(--bh-violet-light);
  font-size: 0.75rem !important;
  font-weight: 800;
}

.bh-mini-service {
  margin-top: 8px !important;
  color: rgba(255, 255, 255, 0.54);
  font-size: 0.75rem !important;
}

.bh-mini-total {
  align-self: end;
  color: var(--bh-lime);
  font-size: 1.5rem !important;
  font-weight: 800;
}

.bh-payment-art {
  position: absolute;
  right: 34px;
  bottom: 30px;
  left: 34px;
  min-height: 105px;
  margin: 0 !important;
  border: 1px solid rgba(81, 53, 204, 0.25);
  border-radius: 50%;
  color: var(--bh-violet);
  font-size: clamp(2.6rem, 5vw, 4.2rem) !important;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-align: center;
  transform: rotate(-7deg);
}

.bh-payment-art strong {
  color: var(--bh-coral);
}

.bh-card-expenses::after {
  position: absolute;
  right: 30px;
  bottom: 28px;
  left: 30px;
  height: 112px;
  border-radius: 8px;
  background:
    linear-gradient(to top, var(--bh-coral) 0 78%, transparent 78%) 72% 100% / 13% 100% no-repeat,
    linear-gradient(to top, var(--bh-violet) 0 96%, transparent 96%) 90% 100% / 13% 100% no-repeat,
    linear-gradient(to top, rgba(255, 107, 95, 0.42) 0 35%, transparent 35%) 0 100% / 13% 100% no-repeat,
    linear-gradient(to top, rgba(255, 107, 95, 0.42) 0 58%, transparent 58%) 18% 100% / 13% 100% no-repeat,
    linear-gradient(to top, rgba(255, 107, 95, 0.42) 0 49%, transparent 49%) 36% 100% / 13% 100% no-repeat,
    linear-gradient(to top, rgba(255, 107, 95, 0.42) 0 69%, transparent 69%) 54% 100% / 13% 100% no-repeat;
  content: "";
}

.bh-portal-list {
  position: absolute;
  right: 34px;
  bottom: 18px;
  left: 34px;
  display: grid;
  max-width: none;
  gap: 9px !important;
  margin: 0 !important;
}

.bh-portal-list > .bh-portal-row {
  margin: 0 !important;
}

.bh-portal-row {
  padding: 12px 14px;
  border-radius: 10px;
  background: #f3f2f7;
}

.bh-portal-row p {
  margin: 0 !important;
  color: #3b3948;
  font-size: 0.75rem !important;
  font-weight: 750;
}

.bh-portal-row p:first-child::before {
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 10px;
  border-radius: 50%;
  background: var(--bh-violet);
  content: "";
}

/* Workspace */
.bh-workspace {
  color: #fff;
  background: var(--bh-night);
}

.bh-workspace .bh-eyebrow {
  color: var(--bh-lime);
}

.bh-workspace .bh-section-copy {
  color: rgba(255, 255, 255, 0.56);
}

.bh-workspace-stage {
  min-height: 590px;
  margin-top: 62px !important;
  gap: 0 !important;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 28px;
  background: #111124;
  box-shadow: 0 50px 100px rgba(0, 0, 0, 0.28);
}

.bh-workspace-tabs {
  flex-basis: 250px !important;
  padding: 22px;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.bh-workspace-label {
  margin: 8px 10px 18px !important;
  color: rgba(255, 255, 255, 0.34);
  font-size: 0.6875rem !important;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.bh-tab-list {
  align-items: stretch !important;
  gap: 6px !important;
}

.bh-tab {
  width: 100%;
}

.bh-tab .wp-block-button__link {
  width: 100%;
  min-height: 48px;
  justify-content: flex-start;
  padding: 0 14px;
  border-radius: 11px;
  color: rgba(255, 255, 255, 0.6) !important;
  background: transparent !important;
  font-size: 0.875rem;
  text-align: left;
}

.bh-tab .wp-block-button__link:hover {
  transform: none;
  color: #fff !important;
  background: rgba(255, 255, 255, 0.05) !important;
}

.bh-tab.is-active .wp-block-button__link {
  color: #fff !important;
  background: rgba(118, 88, 255, 0.22) !important;
}

.bh-workspace-screen {
  padding: 34px;
  background: linear-gradient(150deg, #18172d, #0c0c1a);
}

.bh-screen-top {
  gap: 20px;
}

.bh-screen-date {
  margin: 0 !important;
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.6875rem !important;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.bh-screen-heading {
  margin-top: 7px !important;
  font-size: 1.5625rem !important;
  letter-spacing: -0.03em;
}

.bh-screen-filter {
  margin: 0 !important;
  padding: 10px 13px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 9px;
  color: rgba(255, 255, 255, 0.56);
  font-size: 0.75rem !important;
}

.bh-metrics {
  margin-top: 28px !important;
  gap: 13px !important;
}

.bh-metric {
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.045);
}

.bh-metric-label {
  margin: 0 !important;
  color: rgba(255, 255, 255, 0.42);
  font-size: 0.75rem !important;
}

.bh-metric-value {
  margin-top: 12px !important;
  color: #fff;
  font-size: 1.75rem !important;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.bh-metric-note {
  margin-top: 9px !important;
  color: var(--bh-lime);
  font-size: 0.6875rem !important;
}

.bh-screen-chart {
  position: relative;
  height: 260px;
  margin-top: 16px !important;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  background:
    repeating-linear-gradient(0deg, transparent 0 51px, rgba(255, 255, 255, 0.05) 52px),
    rgba(255, 255, 255, 0.03);
}

.bh-chart-path {
  position: absolute;
  inset: 22px 20px 18px;
  clip-path: polygon(0 84%, 12% 68%, 25% 75%, 38% 48%, 50% 56%, 63% 31%, 74% 42%, 87% 18%, 100% 4%, 100% 100%, 0 100%);
  background: linear-gradient(180deg, rgba(118, 88, 255, 0.72), rgba(118, 88, 255, 0));
  transition: clip-path 0.45s ease;
}

.bh-chart-path::before {
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: var(--bh-violet-light);
  box-shadow: 0 0 20px rgba(168, 156, 255, 0.7);
  content: "";
}

.bh-activity {
  margin-top: 13px !important;
  gap: 13px !important;
}

.bh-activity-item {
  padding: 16px 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.035);
}

.bh-activity-item p {
  margin: 0 !important;
  color: rgba(255, 255, 255, 0.56);
  font-size: 0.75rem !important;
}

.bh-activity-item p:last-child {
  color: #fff;
  font-weight: 800;
}

/* Connected */
.bh-connected {
  background: #fff;
}

.bh-connected-grid {
  align-items: center !important;
  gap: clamp(48px, 7vw, 82px) !important;
}

.bh-connected-visual {
  position: relative;
  min-height: 610px;
  overflow: hidden;
  border-radius: 30px;
  background: #eee9ff;
  box-shadow: var(--bh-shadow);
}

.bh-connected-image {
  width: 100%;
  height: 610px;
  margin: 0 !important;
}

.bh-connected-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.bh-connected-visual:hover img {
  transform: scale(1.045);
}

.bh-float-note {
  position: absolute;
  right: 24px;
  bottom: 24px;
  width: min(280px, calc(100% - 48px));
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.8);
  box-shadow: 0 18px 40px rgba(34, 22, 82, 0.16);
  backdrop-filter: blur(12px);
}

.bh-float-label,
.bh-float-value,
.bh-float-note-text {
  margin: 0 !important;
}

.bh-float-label {
  color: #777384;
  font-size: 0.6875rem !important;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.bh-float-value {
  margin-top: 7px !important;
  font-size: 1.25rem !important;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.bh-float-note-text {
  margin-top: 7px !important;
  color: #19835a;
  font-size: 0.75rem !important;
  font-weight: 750;
}

.bh-benefits {
  margin-top: 38px !important;
  border-top: 1px solid var(--bh-line);
}

.bh-benefit {
  display: grid !important;
  grid-template-columns: 40px 1fr;
  gap: 16px !important;
  padding: 20px 0;
  border-bottom: 1px solid var(--bh-line);
}

.bh-benefit-num {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  margin: 0 !important;
  border-radius: 50%;
  color: #fff;
  background: var(--bh-violet);
  font-size: 0.6875rem !important;
  font-weight: 800;
}

.bh-benefit h3 {
  margin: 0 !important;
  font-size: 1.0625rem !important;
  letter-spacing: -0.02em;
}

.bh-benefit p {
  margin-top: 7px !important;
  color: var(--bh-ink-soft);
  font-size: 0.875rem !important;
  line-height: 1.55;
}

/* Steps */
.bh-steps {
  border-top: 1px solid var(--bh-line);
  background: var(--bh-paper);
}

.bh-step-grid {
  margin-top: 62px !important;
  gap: 16px !important;
}

.bh-step-card {
  position: relative;
  min-height: 300px;
  padding: 30px;
  border: 1px solid var(--bh-line);
  border-radius: 20px;
  background: #fff;
}

.bh-step-card::after {
  position: absolute;
  z-index: 2;
  top: 44px;
  right: -17px;
  width: 18px;
  height: 1px;
  background: var(--bh-line);
  content: "";
}

.bh-step-grid > .wp-block-column:last-child .bh-step-card::after {
  display: none;
}

.bh-step-number {
  margin: 0 !important;
  color: var(--bh-violet);
  font-size: 0.75rem !important;
  font-weight: 850;
  letter-spacing: 0.1em;
}

.bh-step-card h3 {
  margin: 74px 0 12px !important;
  font-size: 1.625rem !important;
  letter-spacing: -0.04em;
}

.bh-step-card p:last-child {
  color: var(--bh-ink-soft);
  font-size: 0.9375rem !important;
  line-height: 1.65;
}

/* Pricing */
.bh-pricing {
  color: #fff;
  background: #0c0c19;
}

.bh-pricing .bh-section-copy {
  color: rgba(255, 255, 255, 0.55);
}

.bh-pricing-grid {
  margin-top: 62px !important;
  gap: 16px !important;
}

.bh-price-card {
  position: relative;
  padding: 30px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.045);
}

.bh-price-card.is-featured {
  border-color: var(--bh-violet-light);
  background: linear-gradient(150deg, rgba(118, 88, 255, 0.34), rgba(255, 255, 255, 0.055));
}

.bh-popular {
  position: absolute;
  top: 20px;
  right: 20px;
  margin: 0 !important;
  padding: 6px 9px;
  border-radius: 999px;
  color: var(--bh-night);
  background: var(--bh-lime);
  font-size: 0.5625rem !important;
  font-weight: 900;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.bh-price-card h3 {
  margin: 0 !important;
  font-size: 1.25rem !important;
}

.bh-price {
  margin: 26px 0 8px !important;
  font-size: 3rem !important;
  font-weight: 700;
  letter-spacing: -0.06em;
}

.bh-price small {
  color: rgba(255, 255, 255, 0.42);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0;
}

.bh-price-sub {
  margin: 0 !important;
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.8125rem !important;
}

.bh-price-card ul {
  display: grid;
  gap: 12px;
  margin: 28px 0 30px;
  padding: 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.8125rem;
  list-style: none;
}

.bh-price-card li::before {
  margin-right: 9px;
  color: var(--bh-lime);
  content: "✓";
}

.bh-price-card .wp-block-buttons,
.bh-price-card .wp-block-button,
.bh-price-card .wp-block-button__link {
  width: 100%;
}

/* FAQ */
.bh-faq {
  background: #fff;
}

.bh-faq-grid {
  gap: clamp(48px, 7vw, 80px) !important;
}

.bh-faq .bh-section-title {
  font-size: clamp(2.4rem, 4vw, 3.5rem) !important;
}

.bh-accordion {
  border-top: 1px solid var(--bh-line);
}

.bh-accordion .wp-block-details {
  margin: 0;
  padding: 0;
  border-bottom: 1px solid var(--bh-line);
}

.bh-accordion summary {
  position: relative;
  min-height: 68px;
  padding: 25px 42px 25px 0;
  cursor: pointer;
  font-size: 1.0625rem;
  font-weight: 750;
  list-style: none;
}

.bh-accordion summary::-webkit-details-marker {
  display: none;
}

.bh-accordion summary::after {
  position: absolute;
  top: 22px;
  right: 0;
  color: var(--bh-violet);
  font-size: 1.375rem;
  content: "+";
  transition: transform 0.25s ease;
}

.bh-accordion details[open] summary::after {
  transform: rotate(45deg);
}

.bh-accordion details p {
  max-width: 650px;
  margin: -6px 0 24px !important;
  color: var(--bh-ink-soft);
  line-height: 1.65;
}

/* Final CTA */
.bh-cta-wrap {
  padding: 0 20px 26px;
  background: #fff;
}

.bh-cta {
  position: relative;
  display: grid;
  min-height: 440px;
  place-items: center;
  overflow: hidden;
  padding: 70px 30px;
  border-radius: 30px;
  color: #fff;
  text-align: center;
  background:
    radial-gradient(circle at 80% 20%, rgba(255, 107, 95, 0.34), transparent 25%),
    radial-gradient(circle at 12% 88%, rgba(118, 88, 255, 0.55), transparent 28%),
    #0b0b19;
}

.bh-cta::before,
.bh-cta::after {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  content: "";
}

.bh-cta::before {
  right: -240px;
  bottom: -230px;
  width: 480px;
  height: 480px;
}

.bh-cta::after {
  top: -200px;
  left: -140px;
  width: 330px;
  height: 330px;
}

.bh-cta__copy {
  position: relative;
  z-index: 1;
  max-width: 770px;
}

.bh-cta h2 {
  margin: 0 !important;
  font-size: clamp(3rem, 7vw, 5.125rem) !important;
  font-weight: 640 !important;
  letter-spacing: -0.06em;
  line-height: 0.95 !important;
}

.bh-cta p {
  max-width: 540px;
  margin: 24px auto 32px !important;
  color: rgba(255, 255, 255, 0.58);
  font-size: 1.0625rem !important;
  line-height: 1.6;
}

.bh-cta .wp-block-buttons {
  justify-content: center;
}

/* Footer */
.bh-footer {
  padding: 64px 20px 30px;
  color: #fff;
  background: var(--bh-night);
}

.bh-footer-grid {
  gap: 40px !important;
}

.bh-footer-brand-copy {
  max-width: 300px;
  margin-top: 18px !important;
  color: rgba(255, 255, 255, 0.42);
  font-size: 0.8125rem !important;
  line-height: 1.65;
}

.bh-footer-title {
  margin: 3px 0 18px !important;
  color: rgba(255, 255, 255, 0.37);
  font-size: 0.6875rem !important;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.bh-footer-links {
  gap: 12px !important;
}

.bh-footer-links a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.8125rem;
  text-decoration: none;
}

.bh-footer-links a:hover {
  color: #fff;
}

.bh-footer-bottom {
  margin-top: 56px !important;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.bh-footer-bottom p {
  margin: 0 !important;
  color: rgba(255, 255, 255, 0.32);
  font-size: 0.6875rem !important;
}

/* Editorial templates */
.wp-site-blocks > .bh-inner-main,
.wp-site-blocks > footer {
  margin-block-start: 0 !important;
}

.bh-inner-main {
  min-height: 65vh;
  padding: 0;
  background: var(--bh-paper);
}

.bh-editorial-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  box-sizing: border-box;
  padding: clamp(168px, 17vw, 220px) 20px clamp(86px, 9vw, 118px);
  color: #fff;
  background:
    radial-gradient(circle at 82% 18%, rgba(118, 88, 255, 0.34), transparent 30%),
    radial-gradient(circle at 12% 115%, rgba(217, 255, 114, 0.12), transparent 31%),
    linear-gradient(135deg, #080815 0%, #111126 58%, #171339 100%);
}

.bh-editorial-hero::before {
  position: absolute;
  z-index: -1;
  top: 18%;
  right: clamp(-120px, -5vw, -40px);
  width: clamp(240px, 34vw, 520px);
  aspect-ratio: 1;
  transform: rotate(18deg);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 34%;
  box-shadow:
    inset 0 0 80px rgba(168, 156, 255, 0.06),
    0 0 120px rgba(118, 88, 255, 0.1);
  content: "";
}

.bh-editorial-hero::after {
  position: absolute;
  z-index: -2;
  inset: 0;
  opacity: 0.2;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(90deg, transparent, #000 35%, #000);
  content: "";
}

.bh-editorial-hero__inner {
  position: relative;
  z-index: 1;
  width: 100%;
  margin-right: auto !important;
  margin-left: auto !important;
}

.bh-editorial-hero__inner > * {
  max-width: 920px !important;
  margin-right: 0 !important;
  margin-left: 0 !important;
}

.bh-editorial-eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 24px !important;
  color: var(--bh-lime);
  font-size: 0.75rem !important;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.bh-editorial-eyebrow::before {
  width: 8px;
  height: 8px;
  flex: 0 0 8px;
  transform: rotate(45deg);
  border-radius: 2px;
  background: currentColor;
  box-shadow: 0 0 0 5px rgba(217, 255, 114, 0.1);
  content: "";
}

.bh-editorial-title {
  margin: 0 !important;
  color: #fff;
  font-size: clamp(3.25rem, 7.2vw, 6.65rem) !important;
  font-weight: 650 !important;
  letter-spacing: -0.066em;
  line-height: 0.91 !important;
  overflow-wrap: anywhere;
  text-wrap: balance;
}

.bh-editorial-intro,
.bh-article-deck .wp-block-post-excerpt__excerpt {
  max-width: 680px !important;
  margin: 32px 0 0 !important;
  color: rgba(255, 255, 255, 0.68);
  font-size: clamp(1.08rem, 1.7vw, 1.3rem);
  line-height: 1.62;
}

.bh-article-deck {
  margin: 0 !important;
}

.bh-article-deck .wp-block-post-excerpt__more-text {
  display: none;
}

.bh-posts-section {
  box-sizing: border-box;
  width: 100%;
  max-width: calc(var(--wp--style--global--wide-size) + 40px) !important;
  margin: 0 auto !important;
  padding: clamp(72px, 8vw, 112px) 20px clamp(88px, 10vw, 136px);
}

.bh-posts-section > * {
  width: 100%;
  max-width: var(--wp--style--global--wide-size) !important;
  margin-right: auto !important;
  margin-left: auto !important;
}

.bh-posts-heading {
  align-items: flex-end !important;
  gap: 18px 32px !important;
  margin-bottom: 38px !important;
}

.bh-posts-heading h2 {
  font-size: clamp(2.2rem, 4vw, 3.5rem) !important;
  letter-spacing: -0.05em;
}

.bh-posts-heading p {
  color: var(--bh-ink-soft);
  font-size: 0.95rem;
}

.bh-post-grid {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px !important;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none;
}

.bh-post-grid > li {
  min-width: 0;
  margin: 0 !important;
}

.bh-post-grid > li:first-child {
  grid-column: 1 / -1;
}

.bh-post-card {
  position: relative;
  height: 100%;
  overflow: hidden;
  box-sizing: border-box;
  border: 1px solid var(--bh-line);
  border-radius: 26px;
  background: #fff;
  box-shadow: 0 14px 38px rgba(16, 16, 28, 0.045);
  transition: transform 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease;
}

.bh-post-card::before {
  display: block;
  height: 8px;
  background: linear-gradient(90deg, var(--bh-violet), var(--bh-violet-light) 48%, var(--bh-lime));
  content: "";
}

.bh-post-card:hover {
  transform: translateY(-5px);
  border-color: rgba(118, 88, 255, 0.24);
  box-shadow: 0 24px 60px rgba(20, 14, 59, 0.11);
}

.bh-post-card__image {
  margin: -8px 0 0 !important;
  overflow: hidden;
  background: var(--bh-night-2);
}

.bh-post-card__image img {
  width: 100%;
  transition: transform 0.5s ease;
}

.bh-post-card:hover .bh-post-card__image img {
  transform: scale(1.025);
}

.bh-post-card__body {
  box-sizing: border-box;
  padding: 32px 34px 36px;
}

.bh-post-grid > li:first-child .bh-post-card__body {
  padding: clamp(34px, 5vw, 52px);
}

.bh-post-card__meta {
  gap: 10px 18px !important;
  margin: 0 0 20px !important;
  color: var(--bh-ink-soft);
  font-size: 0.76rem;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.bh-post-card__meta a {
  color: var(--bh-violet);
}

.bh-post-card .wp-block-post-title {
  margin: 0 !important;
  font-size: clamp(1.65rem, 3vw, 2.45rem) !important;
  letter-spacing: -0.045em;
  line-height: 1.06;
}

.bh-post-grid > li:first-child .wp-block-post-title {
  max-width: 800px;
  font-size: clamp(2.2rem, 5vw, 4rem) !important;
}

.bh-post-card .wp-block-post-title a {
  color: var(--bh-ink);
}

.bh-post-card__excerpt {
  max-width: 760px;
  margin-top: 20px !important;
  color: var(--bh-ink-soft);
  line-height: 1.7;
}

.bh-post-card__excerpt .wp-block-post-excerpt__excerpt {
  margin: 0 !important;
}

.bh-post-card__excerpt .wp-block-post-excerpt__more-text {
  margin: 24px 0 0 !important;
}

.bh-post-card__excerpt .wp-block-post-excerpt__more-link {
  color: var(--bh-ink);
  font-size: 0.9rem;
  font-weight: 800;
}

.bh-post-card__excerpt .wp-block-post-excerpt__more-link:hover {
  color: var(--bh-violet);
}

.bh-pagination {
  gap: 8px !important;
  margin-top: 52px !important;
}

.bh-pagination :where(a, span.page-numbers) {
  display: inline-flex;
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  border: 1px solid var(--bh-line);
  border-radius: 12px;
  padding: 8px 13px;
  color: var(--bh-ink);
  background: #fff;
  font-size: 0.875rem;
  font-weight: 750;
}

.bh-pagination span.current,
.bh-pagination a:hover {
  border-color: var(--bh-night);
  color: #fff;
  background: var(--bh-night);
}

.bh-empty-state {
  box-sizing: border-box;
  padding: 64px 28px;
  border: 1px dashed rgba(16, 16, 28, 0.2);
  border-radius: 24px;
  text-align: center;
}

.bh-empty-state h2 {
  font-size: clamp(2rem, 4vw, 3rem) !important;
  letter-spacing: -0.045em;
}

.bh-empty-state p {
  margin-top: 12px !important;
  color: var(--bh-ink-soft);
}

/* Single posts */
.bh-article-hero {
  padding-bottom: clamp(100px, 11vw, 152px);
}

.bh-article-hero__inner > * {
  max-width: 980px !important;
}

.bh-article-title {
  font-size: clamp(3.35rem, 7.5vw, 6.9rem) !important;
}

.bh-article-meta {
  gap: 10px !important;
  margin: 34px 0 0 !important;
  color: rgba(255, 255, 255, 0.76);
}

.bh-article-meta > * {
  margin: 0 !important;
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.055);
  font-size: 0.78rem;
}

.bh-article-meta a {
  color: inherit;
}

.bh-article-stage,
.bh-page-stage {
  box-sizing: border-box;
  width: 100%;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 20px clamp(88px, 10vw, 136px);
}

.bh-article-featured {
  width: 100%;
  max-width: var(--wp--style--global--wide-size) !important;
  margin: -58px auto 64px !important;
}

.bh-article-featured:empty {
  display: none;
}

.bh-article-featured img {
  width: 100%;
  max-height: 660px;
  object-fit: cover;
  border: 8px solid #fff;
  border-radius: 28px;
  box-shadow: var(--bh-shadow);
}

.bh-article-content,
.bh-page-content {
  width: 100%;
  max-width: 820px !important;
  box-sizing: border-box;
  margin: 64px auto 0 !important;
  padding: clamp(34px, 6vw, 70px);
  border: 1px solid var(--bh-line);
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 20px 55px rgba(16, 16, 28, 0.055);
  font-size: clamp(1.03rem, 1.3vw, 1.14rem);
  line-height: 1.8;
}

.bh-article-stage:not(:has(.bh-article-featured img)) .bh-article-content,
.bh-page-content {
  margin-top: -58px !important;
}

.bh-article-content > :where(:not(.alignleft):not(.alignright):not(.alignfull):not(.alignwide)),
.bh-page-content > :where(:not(.alignleft):not(.alignright):not(.alignfull):not(.alignwide)) {
  max-width: none !important;
  margin-right: 0 !important;
  margin-left: 0 !important;
}

:where(.bh-article-content, .bh-page-content) > :first-child {
  margin-top: 0 !important;
}

:where(.bh-article-content, .bh-page-content) > :last-child {
  margin-bottom: 0 !important;
}

:where(.bh-article-content, .bh-page-content) :where(p, ul, ol) {
  margin-top: 0;
  margin-bottom: 1.45em;
}

:where(.bh-article-content, .bh-page-content) :where(h2, h3, h4) {
  margin: 1.75em 0 0.55em !important;
  letter-spacing: -0.04em;
  line-height: 1.08;
}

:where(.bh-article-content, .bh-page-content) h2 {
  font-size: clamp(1.9rem, 3.6vw, 2.8rem) !important;
}

:where(.bh-article-content, .bh-page-content) h3 {
  font-size: clamp(1.5rem, 2.7vw, 2rem) !important;
}

:where(.bh-article-content, .bh-page-content) a {
  color: var(--bh-violet);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

:where(.bh-article-content, .bh-page-content) :where(ul, ol) {
  padding-left: 1.3em;
}

:where(.bh-article-content, .bh-page-content) li + li {
  margin-top: 0.5em;
}

:where(.bh-article-content, .bh-page-content) blockquote {
  margin: 2em 0;
  padding: 4px 0 4px 24px;
  border-left: 4px solid var(--bh-violet);
  color: #343246;
  font-size: 1.12em;
}

:where(.bh-article-content, .bh-page-content) :where(pre, table) {
  overflow-x: auto;
  max-width: 100%;
}

:where(.bh-article-content, .bh-page-content) :where(img, video) {
  height: auto;
  border-radius: 16px;
}

.bh-article-taxonomy {
  width: 100%;
  max-width: 820px !important;
  gap: 10px !important;
  margin: 26px auto 0 !important;
  color: var(--bh-ink-soft);
  font-size: 0.82rem;
}

.bh-article-taxonomy > * {
  margin: 0 !important;
}

.bh-article-taxonomy .wp-block-post-terms a {
  display: inline-block;
  margin: 2px 5px 2px 0;
  padding: 7px 11px;
  border: 1px solid var(--bh-line);
  border-radius: 999px;
  color: var(--bh-ink);
  background: #fff;
  font-weight: 700;
}

.bh-article-taxonomy:not(:has(.wp-block-post-terms a)) {
  display: none !important;
}

.bh-article-navigation {
  width: 100%;
  max-width: 820px !important;
  gap: 16px !important;
  margin: 52px auto 0 !important;
}

.bh-article-navigation > .wp-block-post-navigation-link {
  min-width: 0;
  flex: 1 1 280px;
}

.bh-article-navigation a {
  display: flex;
  min-height: 100px;
  flex-direction: column;
  justify-content: center;
  box-sizing: border-box;
  padding: 20px 22px;
  border: 1px solid var(--bh-line);
  border-radius: 18px;
  color: var(--bh-ink);
  background: #fff;
  font-weight: 780;
  line-height: 1.4;
}

.bh-article-navigation a:hover {
  border-color: rgba(118, 88, 255, 0.28);
  color: var(--bh-violet);
}

.bh-article-navigation:not(:has(> .wp-block-post-navigation-link:not(:empty))) {
  display: none !important;
}

/* Comments */
.bh-comments {
  width: 100%;
  max-width: 820px !important;
  margin: 76px auto 0 !important;
  padding-top: 52px;
  border-top: 1px solid var(--bh-line);
}

.bh-comments .wp-block-comments-title,
.bh-comments .comment-reply-title {
  margin: 0 0 28px !important;
  font-size: clamp(2rem, 4.2vw, 3.1rem) !important;
  letter-spacing: -0.05em;
  line-height: 1.05;
}

.bh-comment-card {
  margin-bottom: 16px !important;
  padding: 26px;
  border: 1px solid var(--bh-line);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 12px 35px rgba(16, 16, 28, 0.035);
}

.bh-comment-meta {
  gap: 12px !important;
  margin-bottom: 18px !important;
}

.bh-comment-byline {
  align-items: flex-start !important;
  flex-direction: column !important;
  gap: 2px !important;
}

.bh-comment-byline > * {
  margin: 0 !important;
}

.bh-comment-meta .wp-block-comment-author-name {
  font-weight: 800;
}

.bh-comment-meta .wp-block-comment-date {
  color: var(--bh-ink-soft);
}

.bh-comment-card .wp-block-comment-content {
  line-height: 1.7;
}

.bh-comment-card .wp-block-comment-content p {
  margin: 0 0 0.6em;
}

.bh-comment-card .wp-block-comment-reply-link {
  margin-top: 14px !important;
}

.bh-comment-card .wp-block-comment-reply-link a {
  color: var(--bh-violet);
  font-weight: 750;
}

.bh-comments .wp-block-comments-pagination {
  gap: 16px;
  margin: 32px 0 !important;
}

.bh-comments .comment-respond {
  margin-top: 48px;
  padding: clamp(24px, 5vw, 38px);
  border: 1px solid var(--bh-line);
  border-radius: 22px;
  background: #fff;
}

.bh-comments .comment-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.bh-comments .comment-form > p {
  margin: 0;
}

.bh-comments .comment-form-comment,
.bh-comments .comment-notes,
.bh-comments .comment-form-cookies-consent,
.bh-comments .form-submit {
  grid-column: 1 / -1;
}

.bh-comments .comment-form-url {
  grid-column: 1 / -1;
}

.bh-comments .comment-form label {
  display: block;
  margin-bottom: 8px;
  color: var(--bh-ink);
  font-size: 0.875rem;
  font-weight: 750;
}

.bh-comments .comment-form :where(input[type="text"], input[type="email"], input[type="url"], textarea) {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid var(--bh-line);
  border-radius: 12px;
  padding: 13px 14px;
  color: var(--bh-ink);
  background: var(--bh-paper);
  font: inherit;
}

.bh-comments .comment-form textarea {
  min-height: 170px;
  resize: vertical;
}

.bh-comments .comment-form :where(input, textarea):focus-visible {
  outline: 3px solid rgba(118, 88, 255, 0.22);
  outline-offset: 2px;
  border-color: var(--bh-violet);
}

.bh-comments .form-submit .submit {
  min-height: 52px;
  border: 0;
  border-radius: 13px;
  padding: 12px 24px;
  color: var(--bh-night);
  background: var(--bh-lime);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.bh-comments .form-submit .submit:hover {
  filter: brightness(0.96);
}

/* Standard pages, archives, search, and errors */
.bh-page-hero {
  padding-bottom: clamp(100px, 11vw, 150px);
}

.bh-page-hero__inner > * {
  max-width: 980px !important;
}

.bh-page-title {
  font-size: clamp(3.4rem, 7.5vw, 6.8rem) !important;
}

.bh-page-content {
  max-width: 900px !important;
}

.bh-archive-description > * {
  margin: 0 !important;
}

.bh-search-form {
  max-width: 680px !important;
  margin: 34px 0 0 !important;
}

.bh-search-form .wp-block-search__inside-wrapper {
  gap: 10px;
  padding: 7px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.08);
}

.bh-search-form .wp-block-search__input {
  min-width: 0;
  border: 0;
  border-radius: 11px;
  padding: 12px 14px;
  color: #fff;
  background: transparent;
  font: inherit;
}

.bh-search-form .wp-block-search__input::placeholder {
  color: rgba(255, 255, 255, 0.55);
}

.bh-search-form .wp-block-search__button {
  min-width: 50px;
  min-height: 50px;
  margin: 0;
  border: 0;
  border-radius: 11px;
  color: var(--bh-night);
  background: var(--bh-lime);
  font-weight: 800;
}

.bh-search-result-date {
  margin: 0 0 18px !important;
  color: var(--bh-violet);
  font-size: 0.76rem;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.bh-error-hero {
  display: flex;
  min-height: 780px;
  align-items: center;
  padding-bottom: 100px;
  text-align: center;
}

.bh-error-card {
  width: 100%;
  max-width: 780px !important;
}

.bh-error-card > * {
  margin-right: auto !important;
  margin-left: auto !important;
}

.bh-error-code {
  margin: 0 0 18px !important;
  color: var(--bh-lime);
  font-size: 0.78rem !important;
  font-weight: 850;
  letter-spacing: 0.18em;
}

.bh-error-card .bh-editorial-title {
  font-size: clamp(3.2rem, 7vw, 6rem) !important;
}

.bh-error-card .bh-editorial-intro {
  max-width: 610px !important;
}

.bh-error-card .bh-search-form {
  margin-right: auto !important;
  margin-left: auto !important;
}

.bh-error-card .wp-block-buttons {
  margin-top: 24px !important;
}

/* Progressive motion */
.js .bh-reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.js .bh-reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (max-width: 980px) {
  body.admin-bar .bh-site-header {
    top: 32px;
  }

  .bh-primary-nav {
    order: 3;
    margin-left: 0;
  }

  .bh-header-actions {
    display: none !important;
  }

  .bh-mobile-cta {
    display: none !important;
  }

  .bh-primary-nav .wp-block-navigation__responsive-container.is-menu-open {
    position: fixed;
    inset: 0;
    z-index: 100000;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    min-height: 100vh;
    min-height: 100dvh;
    overflow-y: auto;
    box-sizing: border-box;
    padding: 92px 28px 28px !important;
    color: #fff !important;
    background-color: var(--bh-night) !important;
  }

  .bh-primary-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content {
    width: 100%;
    color: #fff !important;
    background: transparent !important;
  }

  .bh-primary-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container {
    width: 100%;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 4px !important;
    color: #fff !important;
  }

  .bh-primary-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item {
    width: 100%;
    color: #fff !important;
  }

  .bh-primary-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content {
    display: flex;
    width: 100%;
    min-height: 54px;
    align-items: center;
    justify-content: flex-start;
    box-sizing: border-box;
    padding: 12px 14px;
    border-radius: 12px;
    color: #fff !important;
    background: transparent !important;
    font-size: 1.2rem;
  }

  .bh-primary-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content:hover,
  .bh-primary-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content:focus-visible {
    background: rgba(255, 255, 255, 0.08) !important;
  }

  .bh-primary-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-close {
    position: absolute;
    top: 14px;
    right: 18px;
    color: #fff !important;
    background: rgba(255, 255, 255, 0.06) !important;
  }

  .bh-primary-nav .wp-block-navigation__responsive-container.is-menu-open .bh-mobile-cta .wp-block-navigation-item__content {
    justify-content: center;
    margin-top: 12px;
    border-radius: 13px;
    color: var(--bh-night) !important;
    background: var(--bh-lime) !important;
    font-size: 1rem;
    font-weight: 800;
  }

  .bh-hero .wp-block-cover__video-background {
    object-position: 64% center;
    opacity: 0.64;
  }

  .bh-hero::after {
    background:
      linear-gradient(90deg, rgba(8, 8, 21, 0.96) 0%, rgba(8, 8, 21, 0.78) 68%, rgba(8, 8, 21, 0.35) 100%),
      linear-gradient(180deg, transparent 55%, rgba(8, 8, 21, 0.92));
  }

  .bh-section-head {
    align-items: flex-start !important;
  }

  .bh-section-head > .wp-block-column:last-child .bh-section-copy {
    max-width: 620px;
    margin-top: 20px !important;
  }

  .bh-workspace-stage {
    flex-wrap: wrap !important;
  }

  .bh-workspace-tabs {
    flex-basis: 100% !important;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .bh-workspace-label {
    display: none;
  }

  .bh-tab-list {
    flex-direction: row !important;
    overflow-x: auto;
  }

  .bh-tab {
    width: auto;
    min-width: max-content;
  }

  .bh-workspace-screen {
    flex-basis: 100% !important;
  }

  .bh-connected-grid,
  .bh-faq-grid {
    flex-wrap: wrap !important;
  }

  .bh-connected-grid > .wp-block-column,
  .bh-faq-grid > .wp-block-column {
    flex-basis: 100% !important;
  }

  .bh-step-card::after {
    display: none;
  }

  .bh-footer-grid {
    flex-wrap: wrap !important;
  }

  .bh-footer-grid > .wp-block-column:first-child {
    flex-basis: 100% !important;
  }
}

@media (max-width: 782px) {
  body.admin-bar .bh-site-header {
    top: 46px;
  }

  .bh-nav,
  .bh-site-header {
    min-height: 76px;
  }

  .bh-hero,
  .bh-hero__content {
    min-height: 820px;
  }

  .bh-hero__content {
    justify-content: flex-start;
    padding-top: 150px;
  }

  .bh-hero-title {
    font-size: clamp(3.1rem, 13vw, 4.5rem) !important;
  }

  .bh-proof .wp-block-column:nth-child(n + 3) {
    display: none;
  }

  .bh-proof .wp-block-column:nth-child(2) {
    border-right: 0;
  }

  .bh-feature-grid,
  .bh-step-grid,
  .bh-pricing-grid,
  .bh-metrics,
  .bh-activity {
    flex-wrap: wrap !important;
  }

  .bh-feature-grid > .wp-block-column,
  .bh-step-grid > .wp-block-column,
  .bh-pricing-grid > .wp-block-column,
  .bh-metrics > .wp-block-column,
  .bh-activity > .wp-block-column {
    flex-basis: 100% !important;
  }

  .bh-feature-card {
    min-height: 340px;
    padding: 26px;
  }

  .bh-workspace-screen {
    padding: 20px;
  }

  .bh-metrics > .wp-block-column:nth-child(3) {
    display: none;
  }

  .bh-screen-filter {
    display: none;
  }

  .bh-screen-chart {
    height: 210px;
  }

  .bh-connected-visual,
  .bh-connected-image {
    min-height: 460px;
    height: 460px;
  }

  .bh-connected-image img {
    object-position: 58% center;
  }

  .bh-step-card {
    min-height: 240px;
  }

  .bh-step-card h3 {
    margin-top: 50px !important;
  }

  .bh-footer-grid > .wp-block-column {
    flex-basis: calc(50% - 20px) !important;
  }

  .bh-footer-grid > .wp-block-column:first-child {
    flex-basis: 100% !important;
  }
}

@media (max-width: 600px) {
  .bh-section {
    padding-top: 72px;
    padding-bottom: 72px;
  }

  .bh-brand {
    font-size: 1.3125rem !important;
  }

  .bh-brand::before {
    width: 26px;
    height: 26px;
  }

  .bh-brand::after {
    left: 9px;
    width: 12px;
    height: 12px;
  }

  .bh-hero .wp-block-cover__video-background {
    object-position: 70% center;
    opacity: 0.5;
  }

  .bh-hero,
  .bh-hero__content {
    min-height: auto;
  }

  .bh-hero__content {
    width: calc(100% - 40px);
    justify-content: flex-start;
    padding: 132px 0 30px;
  }

  .bh-hero__content > .bh-hero__copy {
    width: 100%;
    max-width: none;
  }

  .bh-hero-title {
    overflow-wrap: anywhere;
    font-size: clamp(2.75rem, 13vw, 3.35rem) !important;
  }

  .bh-hero-lede {
    font-size: 1rem !important;
    line-height: 1.6;
  }

  .bh-hero-actions,
  .bh-hero-actions .wp-block-button,
  .bh-hero-actions .wp-block-button__link {
    width: 100%;
  }

  .bh-hero__content > .bh-proof {
    position: static;
    display: grid !important;
    width: 100% !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 36px !important;
  }

  .bh-proof .wp-block-column {
    min-width: 0;
    padding: 16px;
  }

  .bh-proof-value {
    font-size: 1.125rem !important;
  }

  .bh-proof-label {
    line-height: 1.4;
  }

  .bh-trust__row {
    align-items: flex-start !important;
    flex-direction: column !important;
  }

  .bh-logo-cloud {
    justify-content: flex-start !important;
  }

  .bh-section-title {
    overflow-wrap: anywhere;
    font-size: clamp(2.35rem, 11vw, 2.75rem) !important;
  }

  .bh-section-copy {
    font-size: 1rem;
  }

  .bh-feature-card {
    min-height: 320px;
    padding: 24px;
  }

  .bh-invoice-mini {
    right: 18px;
    left: 24px;
  }

  .bh-card-portal {
    min-height: 0;
  }

  .bh-card-portal > .bh-portal-list {
    position: static;
    right: auto;
    bottom: auto;
    left: auto;
    width: 100%;
    box-sizing: border-box;
    margin: 22px 0 0 !important;
  }

  .bh-card-portal .bh-portal-row {
    align-items: center !important;
    gap: 12px !important;
  }

  .bh-card-portal .bh-portal-row p:first-child {
    min-width: 0;
    flex: 1 1 auto;
  }

  .bh-card-portal .bh-portal-row p:last-child {
    flex: 0 0 auto;
    text-align: right;
  }

  .bh-payment-art {
    right: 24px;
    left: 24px;
  }

  .bh-tab-list {
    padding-bottom: 4px;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
  }

  .bh-tab-list::-webkit-scrollbar {
    display: none;
  }

  .bh-tab {
    scroll-snap-align: start;
  }

  .bh-tab .wp-block-button__link {
    min-height: 46px;
  }

  .bh-metrics {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .bh-metrics > .wp-block-column {
    min-width: 0;
  }

  .bh-workspace-screen {
    padding: 18px;
  }

  .bh-connected-visual {
    border-radius: 22px;
  }

  .bh-connected-visual,
  .bh-connected-image {
    min-height: 360px;
    height: 360px;
  }

  .bh-cta-wrap {
    padding-inline: 12px;
  }

  .bh-cta {
    min-height: 400px;
    border-radius: 22px;
  }

  .bh-cta h2 {
    overflow-wrap: anywhere;
    font-size: clamp(2.5rem, 12vw, 3rem) !important;
  }

  .bh-cta .wp-block-buttons,
  .bh-cta .wp-block-button,
  .bh-cta .wp-block-button__link {
    width: 100%;
  }

  .bh-inner-main {
    padding: 0;
  }

  .bh-article-meta {
    margin: 28px 0 0 !important;
  }

  .bh-article-featured {
    margin-bottom: 34px !important;
  }

  .bh-article-navigation {
    align-items: flex-start !important;
    flex-direction: column !important;
    margin-top: 48px !important;
  }

  .bh-comments {
    margin-top: 52px !important;
    padding-top: 36px;
  }

  .bh-comments .comment-respond {
    margin-top: 36px;
    padding: 22px 18px;
  }

  .bh-page-title {
    margin: 0 !important;
  }

  .bh-footer-bottom {
    align-items: flex-start !important;
    flex-direction: column !important;
  }
}

@media (max-width: 480px) {
  .bh-footer-grid > .wp-block-column,
  .bh-footer-grid > .wp-block-column:first-child {
    flex-basis: 100% !important;
  }

  .bh-footer-grid {
    gap: 26px !important;
  }

  .bh-footer-title {
    margin-bottom: 8px !important;
  }

  .bh-footer-links {
    gap: 2px !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .js .bh-reveal {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 782px) and (orientation: landscape) {
  .bh-hero__content {
    padding-top: 120px;
  }
}

@media (max-width: 782px) {
  .bh-editorial-hero {
    padding: 138px 20px 82px;
  }

  .bh-editorial-hero::before {
    top: 36%;
    right: -150px;
    width: 330px;
  }

  .bh-editorial-hero::after {
    background-size: 52px 52px;
  }

  .bh-editorial-title,
  .bh-article-title,
  .bh-page-title {
    font-size: clamp(2.8rem, 13vw, 4.35rem) !important;
    line-height: 0.94 !important;
  }

  .bh-editorial-intro,
  .bh-article-deck .wp-block-post-excerpt__excerpt {
    margin-top: 24px !important;
    font-size: 1.02rem;
  }

  .bh-posts-section {
    padding: 64px 20px 84px;
  }

  .bh-posts-heading {
    align-items: flex-start !important;
    margin-bottom: 28px !important;
  }

  .bh-posts-heading h2 {
    font-size: 2.25rem !important;
  }

  .bh-post-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px !important;
  }

  .bh-post-grid > li:first-child {
    grid-column: auto;
  }

  .bh-post-card {
    border-radius: 20px;
  }

  .bh-post-card__body,
  .bh-post-grid > li:first-child .bh-post-card__body {
    padding: 26px 24px 28px;
  }

  .bh-post-card .wp-block-post-title,
  .bh-post-grid > li:first-child .wp-block-post-title {
    font-size: clamp(1.65rem, 8vw, 2.35rem) !important;
  }

  .bh-article-hero,
  .bh-page-hero {
    padding-bottom: 92px;
  }

  .bh-article-meta {
    gap: 8px !important;
    margin-top: 26px !important;
  }

  .bh-article-meta > * {
    padding: 7px 10px;
  }

  .bh-article-stage,
  .bh-page-stage {
    padding-right: 14px;
    padding-bottom: 84px;
    padding-left: 14px;
  }

  .bh-article-featured {
    margin-top: -38px !important;
    margin-bottom: 42px !important;
  }

  .bh-article-featured img {
    border-width: 4px;
    border-radius: 20px;
  }

  .bh-article-content,
  .bh-page-content {
    margin-top: 42px !important;
    padding: 28px 24px;
    border-radius: 20px;
    font-size: 1rem;
    line-height: 1.75;
  }

  .bh-article-stage:not(:has(.bh-article-featured img)) .bh-article-content,
  .bh-page-content {
    margin-top: -38px !important;
  }

  .bh-article-navigation {
    align-items: stretch !important;
    flex-direction: column !important;
    margin-top: 40px !important;
  }

  .bh-article-navigation > .wp-block-post-navigation-link {
    width: 100%;
  }

  .bh-comments {
    margin-top: 52px !important;
    padding-top: 38px;
  }

  .bh-comments .comment-respond {
    margin-top: 36px;
    padding: 24px 20px;
  }

  .bh-comments .comment-form {
    grid-template-columns: minmax(0, 1fr);
  }

  .bh-comments .comment-form > p {
    grid-column: 1;
  }

  .bh-comment-card {
    padding: 22px 20px;
  }

  .bh-search-form .wp-block-search__inside-wrapper {
    gap: 6px;
  }

  .bh-error-hero {
    min-height: 700px;
  }
}

@media (max-width: 480px) {
  .bh-editorial-eyebrow {
    margin-bottom: 20px !important;
  }

  .bh-editorial-title,
  .bh-article-title,
  .bh-page-title {
    font-size: clamp(2.65rem, 13.5vw, 3.55rem) !important;
  }

  .bh-posts-heading p {
    width: 100%;
  }

  .bh-post-card__excerpt {
    margin-top: 16px !important;
  }

  .bh-article-content,
  .bh-page-content {
    padding: 25px 20px;
  }

  .bh-comment-card {
    padding: 20px 18px;
  }

  .bh-search-form .wp-block-search__inside-wrapper {
    flex-wrap: nowrap;
  }

  .bh-search-form .wp-block-search__button {
    min-width: 48px;
    padding: 0 13px;
  }
}
