/*
 * Bully Blast theme - the base every public page shares (Build 298).
 * Tokens, type and colours are the approved Build 263 prototype's (its public views' :root and body rules). Each page's
 * own layout lives in assets/css/pages/<page>.css, ported from that page's prototype stylesheet and scoped to its
 * <main class="bb-p-<page>">. The header and footer come from the plugin's frame.css (one source for the storefront,
 * WooCommerce's pages and this theme).
 */
@font-face { font-family: 'Anton'; src: url('../fonts/anton-latin.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Inter'; src: url('../fonts/inter-latin-var.woff2') format('woff2'); font-weight: 100 900; font-style: normal; font-display: swap; }

body.bb-site {
  --char: #1c1c1e; --char-deep: #141416; --char-raise: #242427;
  --paper: #f4f3ee; --paper-dim: #a7a7a3; --yellow: #f3ea22; --yellow-hot: #f8f26b; --ink: #0c0c0d;
  --line: rgba(244,243,238,.14);
  margin: 0; background: var(--char); color: var(--paper);
  font-family: 'Inter', system-ui, sans-serif; -webkit-font-smoothing: antialiased;
  overflow-x: clip;   /* on the body, never on a page wrapper: a clipping ancestor would stop the pages' sticky stages */
}
body.bb-site *, body.bb-site *::before, body.bb-site *::after { box-sizing: border-box; }
body.bb-site img { max-width: 100%; }
body.bb-site :focus-visible { outline: 2px solid var(--yellow); outline-offset: 2px; }
.bb-site .bb-pubshell { display: flex; flex-direction: column; min-height: 100vh; }
.bb-site .bb-pubshell > main { flex: 1 0 auto; }
.bb-site main[class^="bb-p-"] { overflow: visible; }
@media (prefers-reduced-motion: reduce) { .bb-site *, .bb-site *::before, .bb-site *::after { scroll-behavior: auto !important; } }
.bb-site .visually-hidden, .bb-site .screen-reader-text { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* shared pieces */
.bb-site .bb-kick { color: var(--yellow); font-size: .72rem; letter-spacing: .34em; text-transform: uppercase; font-weight: 800; }
.bb-site .bb-display { font-family: 'Anton', sans-serif; text-transform: uppercase; line-height: .92; letter-spacing: .01em; font-weight: 400; }
.bb-site .yel { color: var(--yellow); }
.bb-site .bb-lead { color: #d7d7d2; font-size: 1.05rem; line-height: 1.65; max-width: 60ch; }
.bb-site .bb-cta-row { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.bb-site .bb-btn { display: inline-flex; align-items: center; justify-content: center; background: var(--yellow); color: var(--ink); border: 1.5px solid var(--yellow); padding: 14px 26px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; font-size: .78rem; text-decoration: none; }
.bb-site .bb-btn:hover { background: var(--yellow-hot); }
.bb-site .bb-btn--ghost { background: transparent; color: var(--paper); border-color: var(--line); }
.bb-site .bb-btn--ghost:hover { background: rgba(244,243,238,.06); border-color: var(--paper); }

/* an honest "not available yet" panel (submissions, dealer applications) - never a form that looks operational */
.bb-site .bb-unavail { border: 1px solid var(--line); border-left: 3px solid var(--yellow); background: rgba(15,15,17,.6); padding: 22px 24px; }
.bb-site .bb-unavail h3 { font-family: 'Anton', sans-serif; text-transform: uppercase; font-weight: 400; font-size: 1.35rem; letter-spacing: .02em; margin: 0 0 8px; color: var(--paper); }
.bb-site .bb-unavail p { margin: 0; color: var(--paper-dim); line-height: 1.6; }
.bb-site .bb-unavail .bb-cta-row { margin-top: 18px; }
.bb-site .bb-notice-bar { background: var(--yellow); color: var(--ink); text-align: center; font-weight: 700; font-size: .9rem; padding: 12px 18px; }
.bb-site .bb-notice-bar b { font-weight: 800; }

/* WordPress's own content (pages, posts, search) in the same design */
.bb-site .bb-p-wp { background: var(--char); }
.bb-site .bb-wp-wrap { max-width: 860px; margin: 0 auto; padding: 72px 6vw 96px; }
.bb-site .bb-wp-title { font-family: 'Anton', sans-serif; text-transform: uppercase; font-weight: 400; font-size: clamp(2rem, 5vw, 3.4rem); line-height: .95; margin: 0 0 22px; }
.bb-site .bb-wp-title a { color: inherit; text-decoration: none; }
.bb-site .bb-wp-entry + .bb-wp-entry { margin-top: 48px; padding-top: 32px; border-top: 1px solid var(--line); }
.bb-site .bb-wp-content { color: #d7d7d2; line-height: 1.7; }
.bb-site .bb-wp-content a { color: var(--yellow); }
.bb-site .bb-notfound .bb-display { font-size: clamp(2.6rem, 8vw, 5.2rem); margin: 12px 0 18px; }
