/* buzzzcraft geometric layer (navy design).
   Circles, quarter-arcs, triangles, diamonds, dot grids and fine line grids on
   sections and cards. Decoration only: it sits behind content (z-index -1),
   uses navy/stone/soft-yellow tones on light backgrounds and faint white/yellow
   lines on navy. Loaded after site.css; delete the enqueue in inc/assets.php to switch it off. */
:root {
  --geo-soft: #fbedb8;
  --geo-dots: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18'%3E%3Ccircle cx='2' cy='2' r='1.4' fill='%23141b2d' fill-opacity='.2'/%3E%3C/svg%3E");
  --geo-grid: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='56'%3E%3Cpath d='M56 0H0v56' fill='none' stroke='%23141b2d' stroke-opacity='.06'/%3E%3C/svg%3E");
  --geo-grid-dark: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='64' height='64'%3E%3Cpath d='M64 0H0v64' fill='none' stroke='%23fff' stroke-opacity='.05'/%3E%3C/svg%3E");
  --geo-tri: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='35'%3E%3Cpath d='M0 35L20 0l20 35' fill='none' stroke='%23141b2d' stroke-opacity='.05'/%3E%3C/svg%3E");
  --geo-rings-gold: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='320' height='320' fill='none' stroke='%23ffd23f' stroke-width='1.5'%3E%3Ccircle cx='160' cy='160' r='158' stroke-opacity='.28'/%3E%3Ccircle cx='160' cy='160' r='118' stroke-opacity='.2'/%3E%3Ccircle cx='160' cy='160' r='78' stroke-opacity='.14'/%3E%3C/svg%3E");
  --geo-rings-ink: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='320' height='320' fill='none' stroke='%23141b2d' stroke-width='1'%3E%3Ccircle cx='160' cy='160' r='158' stroke-opacity='.12'/%3E%3Ccircle cx='160' cy='160' r='118' stroke-opacity='.1'/%3E%3Ccircle cx='160' cy='160' r='78' stroke-opacity='.08'/%3E%3C/svg%3E");
  --geo-dot-ink: radial-gradient(circle at 32% 68%, var(--ink) 0 5px, rgba(20, 27, 45, 0) 5.5px);
  --geo-dot-gold: radial-gradient(circle at 32% 68%, var(--yellow) 0 5px, rgba(255, 210, 63, 0) 5.5px);
}

/* ---------- Section fields ---------- */
.bz-ink, .bz-paper, .bz-white, .bz-stone { overflow: clip; isolation: isolate; }
.bz-ink { background-image: var(--geo-grid-dark); background-position: -1px -1px; }
.bz-paper { background-image: var(--geo-tri); background-position: center top; }
.bz-ink:not(.bz-hero)::after { content: ""; position: absolute; z-index: -1; pointer-events: none; width: clamp(260px, 34vw, 520px); aspect-ratio: 1; right: -8%; bottom: -18%; background: var(--geo-rings-gold) center / contain no-repeat; }
.bz-white::before { content: ""; position: absolute; z-index: -1; pointer-events: none; left: max(16px, 3vw); top: 40px; width: 180px; height: 126px; background: var(--geo-dots); opacity: .7; }
.bz-stone::before { content: ""; position: absolute; z-index: -1; pointer-events: none; right: -60px; top: -60px; width: 240px; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle at 30% 70%, var(--ink) 0 7px, rgba(20, 27, 45, 0) 7.5px), var(--geo-soft); }

/* ---------- Cards: a corner shape each, rotating circle / diamond / triangle / quarter-arc ---------- */
.bz-card, .wp-block-quote.bz-voice, .bz-journey-step { isolation: isolate; overflow: hidden; }
.bz-card::after, .wp-block-quote.bz-voice::after, .bz-journey-step::after {
  content: ""; position: absolute; z-index: -1; pointer-events: none; right: -34px; top: -34px; width: 110px; height: 110px;
  border-radius: 50%; background: var(--geo-dot-ink), var(--geo-soft); border: 1px solid rgba(20, 27, 45, 0.06);
}
.bz-grid > .bz-card:nth-child(4n+2)::after, .bz-proof > .bz-card:nth-child(4n+2)::after { border-radius: 0; transform: rotate(45deg); right: -46px; top: -46px; background: var(--geo-soft); }
.bz-grid > .bz-card:nth-child(4n+3)::after, .bz-proof > .bz-card:nth-child(4n+3)::after {
  border: 0; border-radius: 0; background: none; width: 0; height: 0; right: 0; top: 0;
  border-top: 92px solid var(--geo-soft); border-left: 92px solid transparent;
}
.bz-grid > .bz-card:nth-child(4n)::after, .bz-proof > .bz-card:nth-child(4n)::after { border-radius: 0 0 0 100%; border: 0; right: 0; top: 0; width: 96px; height: 96px; background: radial-gradient(circle at 62% 38%, var(--ink) 0 5px, rgba(20, 27, 45, 0) 5.5px), var(--geo-soft); }
/* Navy cards and navy-section journey steps: faint gold shapes, gold dot */
.bz-card-ink::after, .bz-ink .bz-journey-step::after { background: var(--geo-dot-gold), rgba(255, 210, 63, 0.14) !important; border-color: rgba(255, 210, 63, 0.18) !important; }
.bz-grid > .bz-card-ink:nth-child(4n+3)::after, .bz-proof > .bz-card-ink:nth-child(4n+3)::after { background: none !important; border-top-color: rgba(255, 210, 63, 0.14) !important; }
/* Yellow and stone cards: white shapes */
.bz-card-yellow::after, .bz-card-stone::after, .bz-steps .bz-step:first-child::after, .bz-path-step:last-child::after { background: var(--geo-dot-ink), rgba(255, 255, 255, 0.5) !important; border-color: rgba(255, 255, 255, 0.6) !important; }
.bz-grid > .bz-card-yellow:nth-child(4n+3)::after, .bz-proof > .bz-card-yellow:nth-child(4n+3)::after,
.bz-grid > .bz-card-stone:nth-child(4n+3)::after, .bz-proof > .bz-card-stone:nth-child(4n+3)::after { background: none !important; border-top-color: rgba(255, 255, 255, 0.5) !important; }

/* Stat cards: faint rings behind the numbers */
.bz-stat:not(.bz-card-ink) { background-image: var(--geo-rings-ink), var(--grain); background-repeat: no-repeat, repeat; background-size: 220px, auto; background-position: right -70px bottom -70px, 0 0; }
.bz-stat.bz-card-ink { background-image: var(--geo-rings-gold), var(--grain); background-repeat: no-repeat, repeat; background-size: 220px, auto; background-position: right -70px bottom -70px, 0 0; }

/* ---------- Service stack: one large shape per card ---------- */
.bz-svc { isolation: isolate; overflow: hidden; }
.bz-svc::after { content: ""; position: absolute; z-index: -1; pointer-events: none; width: 340px; aspect-ratio: 1; right: -120px; bottom: -160px; border-radius: 50%; border: 56px solid rgba(255, 210, 63, 0.22); }
.bz-svc:nth-child(2)::after { border: 0; border-radius: 0; width: 0; height: 0; right: -10px; bottom: -10px; border-bottom: 260px solid rgba(255, 255, 255, 0.55); border-left: 260px solid transparent; }
.bz-svc:nth-child(3)::after { border-radius: 0; border: 2px solid rgba(20, 27, 45, 0.18); transform: rotate(45deg); width: 260px; right: -110px; bottom: -110px; background: var(--geo-dots); }
.bz-svc::before { content: ""; position: absolute; z-index: -1; pointer-events: none; inset: 0; background: var(--geo-grid); opacity: .7; -webkit-mask: linear-gradient(115deg, #000 0 20%, transparent 55%); mask: linear-gradient(115deg, #000 0 20%, transparent 55%); }

/* ---------- Call to action: concentric arcs + dot field ---------- */
.bz-cta { isolation: isolate; }
.bz-cta::before { content: ""; position: absolute; z-index: -1; pointer-events: none; width: 420px; aspect-ratio: 1; right: -150px; top: -170px; background: var(--geo-rings-ink) center / contain no-repeat; }
.bz-cta::after { content: ""; position: absolute; z-index: -1; pointer-events: none; width: 160px; height: 90px; left: 32px; bottom: 26px; background: var(--geo-dots); opacity: .6; }

/* ---------- Testimonial, dashboard, estimator, FAQ, CTA tile ---------- */
.wp-block-quote.bz-voice-main { isolation: isolate; overflow: hidden; }
.wp-block-quote.bz-voice-main::after { content: ""; position: absolute; z-index: -1; right: -90px; bottom: -90px; width: 320px; aspect-ratio: 1; background: var(--geo-rings-gold) center / contain no-repeat; }
.bz-dash { background-image: var(--geo-grid-dark), var(--grain); }
.bz-est-result { background-image: var(--geo-rings-gold); background-repeat: no-repeat; background-size: 240px; background-position: right -80px bottom -80px; }
.wp-block-details.bz-faq[open] { background-image: var(--geo-dots), var(--grain); background-repeat: no-repeat, repeat; background-size: 90px 54px, auto; background-position: right 14px bottom 14px, 0 0; }
.bz-tile-cta { background-image: var(--geo-tri), var(--grain) !important; }

/* ---------- Footer: fine grid fading out behind the wordmark ---------- */
.bz-footer { position: relative; isolation: isolate; }
.bz-footer::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: var(--geo-grid-dark); -webkit-mask: linear-gradient(to bottom, transparent, #000 55%, transparent); mask: linear-gradient(to bottom, transparent, #000 55%, transparent); }

/* ---------- Alignment fixes ---------- */
/* Hero strip and estimator stay on the content grid; case-study headline never wider than the column */
.bz-hero-strip { margin-left: auto !important; margin-right: auto !important; width: 100%; box-sizing: border-box; }
.bz-estimator { box-sizing: border-box; }
.bz-case-hero .bz-hero-title { max-width: min(15em, var(--wp--style--global--content-size, 1240px)) !important; }
