/*
Theme Name: BeeBuzz Hive
Theme URI: https://beebuzzmarketing.com/
Author: OpenAI Codex
Author URI: https://openai.com/
Description: A premium WordPress block theme for BeeBuzz Marketing with refined editorial layout, contemporary typography, and polished page design.
Requires at least: 6.6
Tested up to: 6.8
Requires PHP: 7.4
Version: 1.2.0
Text Domain: beebuzz-hive
Tags: block-theme, full-site-editing, custom-colors, custom-logo, featured-images
*/

:root {
  --bbz-bg: #f6f1e8;
  --bbz-bg-soft: #efe7db;
  --bbz-panel: rgba(255, 255, 255, 0.88);
  --bbz-panel-strong: #ffffff;
  --bbz-line: rgba(23, 24, 28, 0.08);
  --bbz-line-strong: rgba(23, 24, 28, 0.14);
  --bbz-text: #17181c;
  --bbz-text-soft: #69707d;
  --bbz-accent: #c9971d;
  --bbz-accent-soft: #e8cb88;
  --bbz-radius-xl: 40px;
  --bbz-radius-lg: 28px;
  --bbz-radius-md: 20px;
  --bbz-shadow-xl: 0 32px 90px rgba(75, 60, 35, 0.12);
  --bbz-shadow-lg: 0 18px 55px rgba(75, 60, 35, 0.1);
  --bbz-shadow-md: 0 12px 32px rgba(75, 60, 35, 0.08);
  --wp--preset--color--ink: #17181c;
  --wp--preset--color--slate: #69707d;
  --wp--preset--color--honey-cream: #f6f1e8;
  --wp--preset--color--amber: #c9971d;
  --wp--preset--spacing--2-xl: var(--wp--preset--spacing--2xl);
}

html {
  scroll-behavior: smooth;
}

body {
  color: var(--bbz-text);
  background:
    radial-gradient(circle at top left, rgba(201, 151, 29, 0.16), transparent 26%),
    radial-gradient(circle at 86% 8%, rgba(110, 143, 203, 0.1), transparent 20%),
    linear-gradient(180deg, #f8f4ed 0%, #f5f0e7 48%, #efe7db 100%);
}

.wp-site-blocks {
  position: relative;
  overflow-x: clip;
}

.wp-site-blocks::before,
.wp-site-blocks::after {
  content: "";
  position: fixed;
  inset: auto;
  width: 32rem;
  height: 32rem;
  border-radius: 999px;
  filter: blur(64px);
  pointer-events: none;
  opacity: 0.45;
  z-index: 0;
}

.wp-site-blocks::before {
  top: -8rem;
  left: -8rem;
  background: rgba(201, 151, 29, 0.08);
}

.wp-site-blocks::after {
  right: -12rem;
  bottom: 14rem;
  background: rgba(110, 143, 203, 0.08);
}

.has-ink-color {
  color: var(--wp--preset--color--ink) !important;
}

.has-slate-color {
  color: var(--wp--preset--color--slate) !important;
}

.has-honey-cream-color {
  color: var(--wp--preset--color--honey-cream) !important;
}

.has-amber-color {
  color: var(--wp--preset--color--amber) !important;
}

.has-ink-background-color {
  background-color: var(--wp--preset--color--ink) !important;
}

.has-slate-background-color {
  background-color: var(--wp--preset--color--slate) !important;
}

.has-honey-cream-background-color {
  background-color: var(--wp--preset--color--honey-cream) !important;
}

.has-amber-background-color {
  background-color: var(--wp--preset--color--amber) !important;
}

.wp-block-template-part,
main.wp-block-group,
.wp-block-group,
.wp-block-query,
.wp-block-cover,
.wp-block-columns,
.wp-block-column {
  position: relative;
  z-index: 1;
}

.bbz-site-header {
  position: sticky;
  top: 14px;
  z-index: 30;
  margin: 14px auto 0;
  width: min(1240px, calc(100% - 34px));
  padding: 16px 22px;
  border: 1px solid var(--bbz-line);
  border-radius: 999px;
  background:
    linear-gradient(135deg, rgba(255, 254, 250, 0.92), rgba(247, 242, 233, 0.88));
  backdrop-filter: blur(22px);
  box-shadow: 0 24px 56px rgba(90, 70, 35, 0.1);
}

.bbz-header-shell {
  position: sticky;
  top: 14px;
  z-index: 30;
  margin: 14px auto 0;
  width: min(1240px, calc(100% - 34px));
  padding: 16px 22px;
  border: 1px solid var(--bbz-line);
  border-radius: 999px;
  background:
    linear-gradient(135deg, rgba(255, 254, 250, 0.92), rgba(247, 242, 233, 0.88));
  backdrop-filter: blur(22px);
  box-shadow: 0 24px 56px rgba(90, 70, 35, 0.1);
}

.bbz-site-header .wp-block-site-logo img {
  filter: drop-shadow(0 8px 18px rgba(201, 151, 29, 0.14));
}

.bbz-header-bar {
  gap: 1rem;
}

.bbz-brand-lockup {
  gap: 0.8rem;
}

.bbz-brand-stack {
  gap: 0.1rem;
}

.bbz-brand-stack .wp-block-site-title {
  margin: 0;
}

.bbz-brand-stack .wp-block-site-title a {
  font-size: 1.24rem;
  font-weight: 700;
  letter-spacing: -0.05em;
}

.bbz-brand-meta {
  margin: 0;
  opacity: 0.95;
}

.bbz-header-actions {
  gap: 1.2rem;
}

.bbz-site-header .wp-block-site-title a,
.bbz-site-footer .wp-block-site-title a {
  color: var(--bbz-text);
}

.bbz-site-header .wp-block-navigation__container {
  gap: 1.35rem;
}

.bbz-site-header .wp-block-navigation-item__content {
  padding: 0.2rem 0;
}

.bbz-nav a {
  position: relative;
  color: rgba(23, 24, 28, 0.88);
  font-size: 0.9rem;
  font-weight: 500;
}

.bbz-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.bbz-nav a:hover::after,
.bbz-nav a:focus-visible::after {
  transform: scaleX(1);
}

.bbz-site-header .wp-block-button__link {
  padding-inline: 1.2rem;
  min-height: 3rem;
  font-size: 0.92rem;
  box-shadow: 0 12px 28px rgba(23, 24, 28, 0.08);
}

.bbz-site-header .wp-block-navigation__responsive-container,
.bbz-header-shell .wp-block-navigation__responsive-container {
  background: rgba(255, 250, 243, 0.98);
  color: var(--bbz-text);
}

.bbz-site-header .wp-block-navigation__responsive-container-content,
.bbz-header-shell .wp-block-navigation__responsive-container-content {
  padding-top: 2rem;
}

.bbz-home,
.bbz-page-main,
.bbz-archive-main {
  padding-top: clamp(0.25rem, 0.8vw, 0.8rem);
}

.bbz-shell,
.bbz-hero-stage,
.bbz-surface,
.bbz-surface-light,
.bbz-surface-dark,
.bbz-post-card,
.bbz-callout {
  border-radius: var(--bbz-radius-xl);
  box-shadow: var(--bbz-shadow-lg);
}

.bbz-shell,
.bbz-surface,
.bbz-surface-dark,
.bbz-post-card,
.bbz-callout {
  border: 1px solid var(--bbz-line);
  background: var(--bbz-panel);
  backdrop-filter: blur(20px);
}

.bbz-surface-light {
  color: #17181c;
  border: 1px solid rgba(23, 24, 28, 0.08);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(249, 245, 238, 0.96));
}

.bbz-surface-dark {
  background:
    radial-gradient(circle at top right, rgba(201, 151, 29, 0.08), transparent 22%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(246, 241, 232, 0.94));
}

.bbz-hero-stage {
  overflow: hidden;
  background:
    radial-gradient(circle at 82% 18%, rgba(201, 151, 29, 0.12), transparent 18%),
    radial-gradient(circle at 10% 12%, rgba(112, 143, 201, 0.08), transparent 18%),
    linear-gradient(135deg, rgba(255, 253, 248, 0.97), rgba(244, 238, 228, 0.98));
  border: 1px solid var(--bbz-line-strong);
}

.bbz-hero-panel {
  overflow: hidden;
  border-radius: var(--bbz-radius-xl);
  border: 1px solid var(--bbz-line-strong);
  background:
    radial-gradient(circle at 82% 18%, rgba(201, 151, 29, 0.12), transparent 18%),
    radial-gradient(circle at 10% 12%, rgba(112, 143, 201, 0.08), transparent 18%),
    linear-gradient(135deg, rgba(255, 253, 248, 0.97), rgba(244, 238, 228, 0.98));
  box-shadow: var(--bbz-shadow-lg);
}

.bbz-hero-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, transparent 0%, rgba(255, 255, 255, 0.24) 45%, transparent 100%),
    url("assets/images/beebuzz-logo.png") no-repeat calc(100% + 3rem) calc(100% + 4rem) / 24rem;
  opacity: 0.5;
  pointer-events: none;
}

.bbz-hero-panel > * {
  position: relative;
}

.bbz-hero-stage::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, transparent 0%, rgba(255, 255, 255, 0.24) 45%, transparent 100%),
    url("assets/images/beebuzz-logo.png") no-repeat calc(100% + 3rem) calc(100% + 4rem) / 24rem;
  opacity: 0.45;
  pointer-events: none;
}

.bbz-hero-stage > * {
  position: relative;
}

.bbz-hero-stage .wp-block-columns,
.bbz-process-stage > .wp-block-columns,
.bbz-principles-stage > .wp-block-columns,
.bbz-callout > .wp-block-columns {
  max-width: none;
}

.bbz-kicker,
.bbz-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.55rem 0.9rem;
  border: 1px solid rgba(23, 24, 28, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--bbz-text-soft);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.bbz-kicker::before,
.bbz-chip::before {
  content: "";
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 999px;
  background: var(--bbz-accent);
  box-shadow: 0 0 14px rgba(201, 151, 29, 0.24);
}

.bbz-home h1,
.bbz-page-title,
.bbz-display-title {
  letter-spacing: -0.05em;
}

.bbz-display-title {
  max-width: 11.5ch;
  font-size: clamp(2.55rem, 2rem + 2.1vw, 4rem) !important;
  line-height: 0.95 !important;
  text-wrap: balance;
}

.bbz-display-copy {
  max-width: 40rem;
  color: var(--bbz-text-soft);
  line-height: 1.62;
}

.bbz-hero-copy {
  max-width: 29rem;
}

.bbz-hero-actions .wp-block-button__link {
  min-width: 11.5rem;
  justify-content: center;
}

.bbz-metric-card,
.bbz-card,
.bbz-service-card,
.bbz-capability-card,
.bbz-proof-card,
.bbz-insight-card {
  height: 100%;
}

.bbz-metric-card,
.bbz-card {
  padding: 1.4rem;
}

.bbz-metric-card p,
.bbz-card p,
.bbz-service-card p,
.bbz-proof-card p,
.bbz-insight-card p {
  margin-bottom: 0;
}

.bbz-card,
.bbz-content-shell,
.bbz-cta-strip,
.bbz-footer-shell {
  border-radius: var(--bbz-radius-xl);
  border: 1px solid var(--bbz-line);
  background: var(--bbz-panel);
  box-shadow: var(--bbz-shadow-lg);
  backdrop-filter: blur(20px);
}

.bbz-panel-dark {
  border-radius: var(--bbz-radius-xl);
  border: 1px solid var(--bbz-line);
  background:
    radial-gradient(circle at top right, rgba(201, 151, 29, 0.08), transparent 20%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(246, 241, 232, 0.94));
  box-shadow: var(--bbz-shadow-lg);
  backdrop-filter: blur(20px);
}

.bbz-process-band::before,
.bbz-cta-strip::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(201, 151, 29, 0.05), transparent 25%, transparent 70%, rgba(112, 143, 201, 0.05));
  pointer-events: none;
}

.bbz-process-band > *,
.bbz-cta-strip > * {
  position: relative;
}

.bbz-metric-value {
  color: var(--bbz-text);
  font-size: clamp(2rem, 1.6rem + 1.8vw, 3.5rem);
  font-weight: 700;
  line-height: 0.9;
  letter-spacing: -0.06em;
}

.bbz-hero-panel-stack {
  display: grid;
  gap: 1rem;
}

.bbz-orbit-card,
.bbz-hero-aside {
  overflow: hidden;
  min-height: 100%;
  padding: 1.35rem;
  background: rgba(255, 255, 255, 0.9);
}

.bbz-orbit-card::after,
.bbz-hero-aside::after {
  content: "";
  position: absolute;
  inset: auto -2rem -3rem auto;
  width: 14rem;
  height: 14rem;
  background:
    radial-gradient(circle at center, rgba(201, 151, 29, 0.1), transparent 52%);
  pointer-events: none;
}

.bbz-orbit-list,
.bbz-hero-meta-list {
  display: grid;
  gap: 0.8rem;
}

.bbz-orbit-item,
.bbz-hero-meta-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 0.8rem;
  border-bottom: 1px solid rgba(23, 24, 28, 0.08);
  color: var(--bbz-text-soft);
}

.bbz-orbit-item strong,
.bbz-hero-meta-row strong {
  color: var(--bbz-text);
}

.bbz-hero-meta-row {
  align-items: flex-start;
}

.bbz-hero-meta-row p:last-child {
  max-width: 15rem;
  margin-left: auto;
  text-align: right;
}

.bbz-platform-band {
  border-top: 1px solid var(--bbz-line);
}

.bbz-platform-band p {
  margin: 0;
  opacity: 0.82;
}

.bbz-section-intro {
  max-width: 26rem;
  text-wrap: balance;
  line-height: 0.98;
}

.bbz-section-lead {
  max-width: 26rem;
  margin-bottom: 0;
  line-height: 1.65;
}

.bbz-signal-grid .wp-block-column,
.bbz-process-grid .wp-block-column,
.bbz-card-grid .wp-block-column,
.bbz-service-grid .wp-block-column,
.bbz-proof-grid .wp-block-column,
.bbz-blog-grid .wp-block-post-template > li {
  height: 100%;
}

.bbz-signal-card {
  padding: 1.35rem 1.4rem;
}

.bbz-signal-card p {
  margin-bottom: 0;
}

.bbz-signal-value {
  margin: 0;
  color: var(--bbz-text);
  font-family: var(--wp--preset--font-family--display);
  font-size: clamp(2.2rem, 1.9rem + 1vw, 2.9rem);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: -0.06em;
}

.bbz-service-card,
.bbz-capability-card,
.bbz-proof-card,
.bbz-process-card,
.bbz-post-card,
.bbz-callout {
  transition:
    transform 220ms ease,
    border-color 220ms ease,
    box-shadow 220ms ease,
    background 220ms ease;
}

.bbz-service-card:hover,
.bbz-capability-card:hover,
.bbz-proof-card:hover,
.bbz-process-card:hover,
.bbz-post-card:hover,
.bbz-callout:hover {
  transform: translateY(-4px);
  border-color: rgba(201, 151, 29, 0.18);
  box-shadow: var(--bbz-shadow-xl);
}

.bbz-service-card {
  overflow: hidden;
  padding: 1.4rem;
}

.bbz-service-card::before {
  content: attr(data-number);
  position: absolute;
  top: 1rem;
  right: 1.4rem;
  color: rgba(23, 24, 28, 0.05);
  font-size: clamp(3rem, 2.1rem + 2vw, 4.5rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.08em;
}

.bbz-service-card > * {
  position: relative;
}

.bbz-service-card .wp-block-heading,
.bbz-proof-card .wp-block-heading,
.bbz-process-card .wp-block-heading,
.bbz-post-card .wp-block-heading {
  line-height: 1.04;
  text-wrap: balance;
}

.bbz-service-points {
  margin: 0;
  padding-left: 1.1rem;
}

.bbz-service-points li + li {
  margin-top: 0.35rem;
}

.bbz-capability-card {
  padding: 1.4rem;
}

.bbz-capability-card h3,
.bbz-proof-card h3 {
  margin-bottom: 0.5rem;
}

.bbz-proof-strip {
  overflow: hidden;
}

.bbz-proof-strip::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(247, 187, 36, 0.06), transparent 25%, transparent 70%, rgba(96, 121, 255, 0.08));
  pointer-events: none;
}

.bbz-proof-card {
  padding: 1.6rem;
}

.bbz-process-stage {
  overflow: hidden;
}

.bbz-process-card {
  padding: 1.25rem;
}

.bbz-process-card p {
  margin-bottom: 0;
}

.bbz-process-card .wp-block-heading {
  max-width: 13ch;
}

.bbz-principles-stage {
  overflow: hidden;
}

.bbz-principles-list {
  display: grid;
  gap: 0;
}

.bbz-principle-row {
  padding: 1.25rem 0;
  border-top: 1px solid rgba(23, 24, 28, 0.08);
}

.bbz-principle-row:first-child {
  padding-top: 0;
  border-top: 0;
}

.bbz-principle-row:last-child {
  padding-bottom: 0;
}

.bbz-proof-index {
  color: var(--bbz-accent-soft);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.bbz-post-card {
  overflow: hidden;
}

.bbz-post-card .wp-block-post-featured-image img {
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.bbz-post-card .wp-block-post-featured-image {
  margin-bottom: 0;
}

.bbz-post-card .wp-block-group {
  height: 100%;
}

.bbz-post-meta,
.bbz-subtle {
  color: var(--bbz-text-soft);
  opacity: 0.92;
}

.bbz-post-card .wp-block-post-title a,
.bbz-post-card .wp-block-post-excerpt__more-link {
  color: var(--bbz-text);
}

.bbz-journal-hero {
  max-width: 960px;
  margin-inline: auto;
}

.bbz-journal-title {
  max-width: 12ch;
  font-size: clamp(2.2rem, 1.75rem + 2.1vw, 3.9rem) !important;
  line-height: 0.96 !important;
  text-wrap: balance;
}

.bbz-journal-copy {
  max-width: 38rem;
}

.bbz-archive-main .bbz-post-card,
.bbz-home .bbz-post-card {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(249, 245, 238, 0.95));
}

.bbz-blog-grid .wp-block-post-template {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  list-style: none;
  padding-left: 0;
}

.bbz-journal-grid .wp-block-post-template {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}

.bbz-home .bbz-blog-grid .wp-block-post-template {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.15rem;
}

.bbz-blog-grid .wp-block-post-template > li {
  margin: 0;
}

.bbz-journal-card {
  overflow: hidden;
}

.bbz-journal-card .wp-block-post-featured-image img {
  aspect-ratio: 16 / 9;
}

.bbz-journal-card-title {
  font-size: clamp(1.32rem, 1.14rem + 0.55vw, 1.72rem) !important;
  line-height: 1.04 !important;
  text-wrap: balance;
}

.bbz-journal-card .wp-block-post-excerpt {
  color: var(--bbz-text-soft);
  font-size: 0.98rem;
  line-height: 1.62;
}

.bbz-journal-card .wp-block-post-excerpt__more-link {
  display: inline-block;
  margin-top: 0.8rem;
  font-family: var(--wp--preset--font-family--display);
  font-size: 0.95rem;
}

.bbz-page-hero {
  overflow: hidden;
  background:
    radial-gradient(circle at top right, rgba(201, 151, 29, 0.1), transparent 18%),
    linear-gradient(135deg, rgba(255, 253, 248, 0.98), rgba(244, 238, 228, 0.98));
}

.bbz-page-hero::after {
  content: "";
  position: absolute;
  inset: auto -1rem -2rem auto;
  width: 16rem;
  height: 16rem;
  background: url("assets/images/beebuzz-logo.png") center / contain no-repeat;
  opacity: 0.05;
  pointer-events: none;
}

.bbz-page-body {
  color: #17181c;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(248, 244, 236, 0.97));
}

.bbz-page-body .wp-block-post-content > * {
  max-width: 780px;
}

.bbz-page-body .wp-block-post-content > .alignwide {
  max-width: 1100px;
}

.bbz-page-body .wp-block-post-content > .alignfull {
  max-width: none;
}

.bbz-article-hero {
  max-width: 980px;
  margin-inline: auto;
}

.bbz-article-title {
  max-width: 12ch;
  font-size: clamp(2.5rem, 2rem + 2.5vw, 4.4rem) !important;
  line-height: 0.94 !important;
  text-wrap: balance;
}

.bbz-article-body {
  max-width: 980px;
  margin-inline: auto;
}

.bbz-article-body > .wp-block-post-featured-image {
  max-width: 100%;
}

.bbz-article-body > .wp-block-post-featured-image img {
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 22px;
}

.bbz-article-body .wp-block-post-content {
  max-width: 760px;
  margin-inline: auto;
}

.bbz-page-body h2,
.bbz-page-body h3,
.bbz-page-body h4 {
  margin-top: 1.7em;
}

.bbz-page-body ul,
.bbz-page-body ol {
  padding-left: 1.2rem;
}

.bbz-page-body blockquote {
  margin-inline: 0;
  padding: 1.5rem 1.6rem;
  border-left: 3px solid var(--bbz-accent);
  border-radius: 0 var(--bbz-radius-md) var(--bbz-radius-md) 0;
  background: rgba(201, 151, 29, 0.1);
}

.bbz-callout {
  overflow: hidden;
}

.bbz-callout::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 18% 20%, rgba(201, 151, 29, 0.08), transparent 24%),
    linear-gradient(120deg, transparent 0%, rgba(255, 255, 255, 0.16) 100%);
  pointer-events: none;
}

.bbz-callout > * {
  position: relative;
}

.bbz-callout h2 {
  max-width: 14ch;
  text-wrap: balance;
}

.bbz-home > .alignwide + .alignwide,
.bbz-home > .alignwide + .wp-block-columns.alignwide,
.bbz-home > .wp-block-columns.alignwide + .alignwide,
.bbz-home > .wp-block-columns.alignwide + .wp-block-columns.alignwide,
.bbz-home > .wp-block-query.alignwide + .alignwide {
  margin-top: clamp(1.75rem, 3vw, 2.8rem);
}

.bbz-site-footer {
  margin-top: clamp(2.5rem, 5vw, 4rem);
  border-top: 0;
}

.bbz-footer-shell {
  border-radius: var(--bbz-radius-xl);
  border: 1px solid var(--bbz-line);
  background:
    radial-gradient(circle at top left, rgba(201, 151, 29, 0.08), transparent 22%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.97), rgba(245, 239, 230, 0.96));
  box-shadow: 0 24px 64px rgba(90, 70, 35, 0.1);
}

.bbz-site-footer a {
  color: rgba(23, 24, 28, 0.9);
}

.bbz-footer-shell a {
  color: rgba(23, 24, 28, 0.9);
}

.bbz-site-footer p {
  color: var(--bbz-text-soft);
}

.bbz-footer-shell p {
  color: var(--bbz-text-soft);
}

.bbz-site-footer .wp-block-navigation__responsive-container-content,
.bbz-site-footer .wp-block-navigation__container {
  align-items: flex-start;
}

.bbz-footer-copy {
  max-width: 34rem;
  line-height: 1.68;
}

.bbz-footer-title {
  max-width: 12ch;
  margin-bottom: 0;
  letter-spacing: -0.05em;
  line-height: 0.96;
}

.bbz-footer-links p {
  margin: 0;
}

.bbz-footer-links a {
  color: var(--bbz-text);
  font-family: var(--wp--preset--font-family--display);
  font-size: 0.98rem;
  letter-spacing: -0.02em;
}

.bbz-footer-meta {
  padding-top: 1rem;
  border-top: 1px solid rgba(23, 24, 28, 0.08);
}

.wp-element-button,
.wp-block-button__link {
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background-color 180ms ease,
    color 180ms ease,
    border-color 180ms ease;
}

.wp-element-button:hover,
.wp-block-button__link:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(90, 70, 35, 0.12);
}

@media (max-width: 960px) {
  .bbz-blog-grid .wp-block-post-template {
    grid-template-columns: 1fr;
  }

  .bbz-journal-grid .wp-block-post-template {
    grid-template-columns: 1fr;
  }

  .bbz-home .bbz-blog-grid .wp-block-post-template {
    grid-template-columns: 1fr;
  }

  .bbz-site-header {
    border-radius: 28px;
  }

  .bbz-header-shell {
    border-radius: 28px;
  }

  .bbz-footer-title {
    max-width: none;
  }
}

@media (max-width: 781px) {
  .bbz-site-header {
    position: relative;
    top: 0;
    width: min(100% - 16px, 1280px);
    padding: 14px 16px;
    border-radius: 24px;
  }

  .bbz-header-shell {
    position: relative;
    top: 0;
    width: min(100% - 16px, 1280px);
    padding: 14px 16px;
    border-radius: 24px;
  }

  .bbz-shell,
  .bbz-hero-stage,
  .bbz-hero-panel,
  .bbz-surface,
  .bbz-surface-light,
  .bbz-surface-dark,
  .bbz-card,
  .bbz-panel-dark,
  .bbz-content-shell,
  .bbz-footer-shell,
  .bbz-post-card,
  .bbz-callout {
    border-radius: 24px;
  }

  .wp-site-blocks::before,
  .wp-site-blocks::after {
    width: 18rem;
    height: 18rem;
  }

  .bbz-brand-lockup {
    width: 100%;
    justify-content: flex-start;
  }

  .bbz-header-actions {
    width: 100%;
    justify-content: space-between;
  }

  .bbz-hero-meta-row,
  .bbz-orbit-item {
    flex-wrap: wrap;
  }

  .bbz-hero-meta-row p:last-child {
    max-width: none;
    text-align: left;
  }
}

.bbz-tools-hero-wrap {
  overflow: hidden;
  background:
    radial-gradient(circle at top right, rgba(201, 151, 29, 0.12), transparent 26%),
    linear-gradient(180deg, rgba(255,255,255,0.92), rgba(255,250,244,0.88));
}

.bbz-tools-snapshot,
.bbz-tools-hero-aside,
.bbz-tools-support-card {
  height: 100%;
  padding: 1.6rem;
}

.bbz-tools-support-card {
  border: 1px solid rgba(23, 24, 28, 0.08);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 12px 36px rgba(75, 60, 35, 0.08);
  backdrop-filter: none;
}

.bbz-tools-snapshot,
.bbz-tools-mini-card {
  border: 1px solid rgba(23, 24, 28, 0.08);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 12px 36px rgba(75, 60, 35, 0.08);
}

.bbz-tools-snapshot {
  padding: 1.35rem;
}

.bbz-tools-rail {
  position: sticky;
  top: 108px;
  display: grid;
  gap: 1rem;
}

.bbz-tools-rail-cards {
  display: grid;
  gap: 0.85rem;
}

.bbz-tools-mini-card {
  padding: 1.1rem 1.15rem;
}

.bbz-tools-point-list,
.bbz-tools-point-list li,
.bbz-tools-support-card p {
  margin-bottom: 0;
}

.bbz-tools-tool-wrap,
.bbz-tools-product-stage {
  overflow: visible;
}

.bbz-tools-intro > *{
  max-width: 46rem;
}

.bbz-audit-shell {
  display: grid;
  gap: 1.2rem;
  color: var(--bbz-text);
  padding: clamp(1.35rem, 3vw, 1.9rem);
  border: 1px solid rgba(23, 24, 28, 0.08);
  border-radius: 30px;
  background:
    radial-gradient(circle at top right, rgba(201, 151, 29, 0.14), transparent 24%),
    linear-gradient(180deg, rgba(255,255,255,0.96), rgba(248,243,234,0.94));
  box-shadow: 0 24px 60px rgba(75, 60, 35, 0.12);
}

.bbz-audit-form,
.bbz-audit-section {
  display: grid;
  gap: 0.9rem;
}

.bbz-audit-option-group,
.bbz-account-section {
  display: grid;
  gap: 0.75rem;
}

.bbz-audit-label,
.bbz-audit-meta-label,
.bbz-audit-fix-priority,
.bbz-account-label,
.bbz-account-plan-kicker,
.bbz-audit-select-label {
  margin: 0;
  color: var(--bbz-accent);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.bbz-audit-form-row {
  display: flex;
  gap: 0.85rem;
  align-items: center;
}

.bbz-audit-input {
  width: 100%;
  min-height: 3.45rem;
  padding: 0 1rem;
  border: 1px solid rgba(23, 24, 28, 0.1);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.78);
  color: var(--bbz-text);
  font: inherit;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.45);
}

.bbz-audit-input::placeholder {
  color: rgba(23, 24, 28, 0.4);
}

.bbz-audit-input:focus {
  outline: 2px solid rgba(201, 151, 29, 0.28);
  outline-offset: 2px;
}

.bbz-audit-button {
  min-width: 12rem;
  justify-content: center;
  background: var(--wp--preset--color--ink) !important;
  color: #fff !important;
}

.bbz-audit-button:disabled {
  opacity: 0.68;
  cursor: wait;
}

.bbz-audit-helper,
.bbz-audit-score-summary,
.bbz-audit-cache-note,
.bbz-audit-section-head p,
.bbz-audit-check-detail,
.bbz-audit-fix-card p,
.bbz-audit-empty,
.bbz-account-helper {
  margin: 0;
  color: var(--bbz-text-soft);
}

.bbz-audit-choice-row,
.bbz-account-choice-row {
  display: flex;
  gap: 0.85rem;
  flex-wrap: wrap;
}

.bbz-audit-option-grid {
  display: grid;
  gap: 0.9rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  padding: 1rem;
  border: 1px solid rgba(23, 24, 28, 0.08);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.58);
}

.bbz-audit-check,
.bbz-account-check {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--bbz-text);
  font-size: 0.96rem;
}

.bbz-audit-check input,
.bbz-account-check input {
  accent-color: var(--bbz-accent);
}

.bbz-audit-select-wrap {
  display: grid;
  gap: 0.45rem;
}

.bbz-audit-select,
.bbz-account-input {
  width: 100%;
  min-height: 3.15rem;
  padding: 0 1rem;
  border: 1px solid rgba(23, 24, 28, 0.1);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.8);
  color: var(--bbz-text);
  font: inherit;
}

.bbz-audit-status {
  padding: 0.9rem 1rem;
  border-radius: 18px;
  background: rgba(23, 24, 28, 0.04);
  color: var(--bbz-text-soft);
}

.bbz-audit-status[data-state="loading"] {
  color: var(--bbz-accent);
}

.bbz-audit-status[data-state="success"] {
  color: #bfe9bf;
  background: rgba(63, 148, 78, 0.12);
}

.bbz-audit-status[data-state="error"] {
  color: #ffd2d2;
  background: rgba(176, 52, 52, 0.18);
}

.bbz-audit-results {
  display: grid;
  gap: 1.4rem;
}

.bbz-audit-overview {
  display: grid;
  gap: 1rem;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.4fr);
}

.bbz-audit-score-stack {
  display: grid;
  gap: 1rem;
}

.bbz-audit-score-card,
.bbz-audit-meta-card,
.bbz-audit-fix-card,
.bbz-audit-check-card {
  padding: 1.25rem;
  border: 1px solid rgba(23, 24, 28, 0.08);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 10px 30px rgba(75, 60, 35, 0.06);
}

.bbz-audit-score-card-ai {
  background:
    radial-gradient(circle at top right, rgba(112, 143, 201, 0.12), transparent 32%),
    rgba(255, 255, 255, 0.92);
}

.bbz-audit-score-value,
.bbz-audit-meta-value {
  margin: 0;
  font-family: var(--wp--preset--font-family--display);
  font-weight: 700;
  letter-spacing: -0.05em;
}

.bbz-audit-score-value {
  font-size: clamp(3rem, 2.2rem + 3vw, 4.6rem);
  line-height: 0.9;
}

.bbz-audit-score-grade {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 600;
}

.bbz-audit-cache-note {
  padding-top: 0.2rem;
}

.bbz-audit-meta-grid,
.bbz-audit-fix-grid,
.bbz-audit-check-grid {
  display: grid;
  gap: 1rem;
}

.bbz-audit-meta-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.bbz-audit-fix-grid,
.bbz-audit-check-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.bbz-audit-section-head {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: end;
}

.bbz-audit-section-head h2,
.bbz-audit-check-head h3,
.bbz-audit-fix-card h3 {
  margin: 0;
}

.bbz-audit-check-head {
  display: flex;
  justify-content: space-between;
  gap: 0.8rem;
  align-items: start;
}

.bbz-audit-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  background: rgba(23, 24, 28, 0.05);
  color: var(--bbz-accent);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
}

.bbz-audit-check-card[data-status="pass"] .bbz-audit-pill {
  color: #bfe9bf;
  background: rgba(63, 148, 78, 0.14);
}

.bbz-audit-check-card[data-status="fail"] .bbz-audit-pill {
  color: #ffd2d2;
  background: rgba(176, 52, 52, 0.18);
}

.bbz-audit-check-recommendation {
  margin: 0;
  color: var(--bbz-text);
}

.bbz-audit-table-wrap {
  overflow-x: auto;
  border: 1px solid rgba(23, 24, 28, 0.08);
  border-radius: 24px;
  background: rgba(255,255,255,0.82);
}

.bbz-audit-table {
  width: 100%;
  border-collapse: collapse;
}

.bbz-audit-table th,
.bbz-audit-table td {
  padding: 0.95rem 1rem;
  text-align: left;
  border-bottom: 1px solid rgba(23, 24, 28, 0.08);
}

.bbz-audit-table th {
  color: var(--bbz-accent-soft);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.bbz-audit-table td {
  color: var(--bbz-text-soft);
}

.bbz-audit-table tbody tr:last-child td {
  border-bottom: 0;
}

.bbz-account-shell {
  display: grid;
  gap: 1rem;
}

.bbz-account-form {
  display: grid;
  gap: 0.85rem;
  max-width: 42rem;
}

.bbz-account-plan {
  padding: 1rem 1.1rem;
  border: 1px solid rgba(23, 24, 28, 0.08);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.72);
}

.bbz-account-plan-value {
  margin: 0.25rem 0 0;
  color: var(--bbz-text);
  font-family: var(--wp--preset--font-family--display);
  font-size: 1.6rem;
  font-weight: 700;
}

.bbz-account-button {
  width: fit-content;
}

.bbz-account-notice {
  padding: 0.9rem 1rem;
  border-radius: 18px;
}

.bbz-account-notice-success {
  color: #205728;
  background: rgba(91, 168, 100, 0.14);
}

.bbz-account-notice-error {
  color: #8d2424;
  background: rgba(176, 52, 52, 0.12);
}

@media (max-width: 960px) {
  .bbz-tools-rail {
    position: static;
  }

  .bbz-audit-overview,
  .bbz-audit-meta-grid,
  .bbz-audit-fix-grid,
  .bbz-audit-check-grid,
  .bbz-audit-option-grid {
    grid-template-columns: 1fr;
  }

  .bbz-audit-section-head {
    align-items: start;
    flex-direction: column;
  }
}

@media (max-width: 781px) {
  .bbz-audit-form-row {
    flex-direction: column;
    align-items: stretch;
  }

  .bbz-audit-button {
    width: 100%;
  }

  .bbz-account-button {
    width: 100%;
  }
}
