/*
Theme Name: BardBox Digi Growth
Theme URI: https://www.thebardbox.com/
Author: BardBox Digi Growth LLP
Description: Story-led website for BardBox, the digital growth partner. Includes the home page, about, case studies, journal and five market landing pages, with built-in spam protection and security hardening.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
License: Proprietary
Text Domain: bardbox
*/

/* ---------- Base ---------- */
*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%}
body{margin:0;background:#F6F0E4;color:#1A1714;font-family:'Bricolage Grotesque',system-ui,sans-serif;font-size:17px;line-height:1.55}
img{max-width:100%;height:auto}
a{color:#1A1714}a:hover{color:#D9452F}
:focus-visible{outline:3px solid #8EA2FF;outline-offset:3px}
.bb-wrap{max-width:1320px;margin:0 auto;padding:0 40px}
.bb-skip{position:absolute;left:-9999px;top:8px;z-index:100;background:#1A1714;color:#FFF8EC;padding:10px 16px;border-radius:8px}
.bb-skip:focus{left:8px}
main{display:block;overflow:hidden}
@media (max-width:640px){.bb-wrap{padding:0 20px}}

/* Copy deterrent: text cannot be selected outside forms */
body.bb-protect{-webkit-user-select:none;user-select:none;-webkit-touch-callout:none}
body.bb-protect input,body.bb-protect textarea,body.bb-protect select,body.bb-protect a[href^="mailto:"],body.bb-protect .bb-allow-copy{-webkit-user-select:text;user-select:text}
body.bb-protect img{-webkit-user-drag:none;user-drag:none}

/* ---------- Header ---------- */
.bb-ticker{background:#1A1714;color:#FFDA7A;font-family:'Space Mono',monospace;font-size:13px;letter-spacing:.12em;padding:11px 0;white-space:nowrap;overflow:hidden}
.bb-ticker .bb-marq{display:inline-flex;gap:40px;padding-right:40px}
.bb-header{max-width:1320px;margin:0 auto;padding:20px 40px;display:flex;flex-wrap:wrap;gap:20px;align-items:center;justify-content:space-between}
.bb-brand img{display:block;height:50px;width:auto}
.bb-nav{display:flex;flex-wrap:wrap;gap:30px;font-family:'Space Mono',monospace;font-size:13px;letter-spacing:.06em;text-transform:uppercase}
.bb-nav a{text-decoration:none;padding:12px 0}
.bb-btn{display:inline-flex;align-items:center;gap:8px;min-height:44px;padding:12px 24px;border:2px solid #1A1714;border-radius:999px;text-decoration:none;font-weight:700;font-size:15px;box-shadow:4px 4px 0 #1A1714;cursor:pointer;font-family:inherit;transition:transform .2s,box-shadow .2s}
.bb-btn:hover{transform:translate(-2px,-2px);box-shadow:6px 6px 0 #1A1714;color:inherit}
.bb-btn-yellow{background:#FFDA7A;color:#1A1714}
.bb-btn-ink{background:#1A1714;color:#FFF8EC;box-shadow:4px 4px 0 #FFA06E}
.bb-btn-ink:hover{color:#FFF8EC;box-shadow:6px 6px 0 #FFA06E}
.bb-btn-cream{background:#FFF8EC;color:#1A1714}

/* ---------- Footer ---------- */
.bb-footer{background:#1A1714;color:#FFF8EC;margin-top:0}
.bb-footer .bb-wrap{padding-top:72px;padding-bottom:32px}
.bb-footer-top{display:flex;flex-wrap:wrap;gap:48px;justify-content:space-between}
.bb-footer-about{flex:1 1 280px;max-width:360px}
.bb-footer-about img{height:68px;width:auto}
.bb-footer-about p{color:#D9D1C4;font-size:15px;line-height:1.6}
.bb-footer-mail{color:#FFDA7A;font-weight:700}
.bb-footer-nav{display:flex;flex-wrap:wrap;gap:56px;font-family:'Space Mono',monospace;font-size:13px;line-height:2.3}
.bb-footer-nav div{display:flex;flex-direction:column}
.bb-footer-nav span{color:#FFDA7A;text-transform:uppercase}
.bb-footer-nav a{color:#FFF8EC;text-decoration:none}
.bb-footer-nav a:hover{color:#FFA06E}
.bb-footer-word{margin:56px 0 0;font-weight:800;font-size:clamp(80px,17vw,260px);line-height:.8;letter-spacing:-.06em}
.bb-footer-word span{color:#FFA06E}
.bb-footer-small{margin:32px 0 0;font-family:'Space Mono',monospace;font-size:12px;color:#BDB4A6;text-transform:uppercase}

/* ---------- Forms ---------- */
.bb-form{text-align:left;max-width:760px;margin:40px auto 0;background:#FFF8EC;border:2px solid #1A1714;border-radius:28px;box-shadow:8px 8px 0 #1A1714;padding:32px}
.bb-form-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:4px 20px}
.bb-form p{margin:0 0 14px}
.bb-form .bb-full{grid-column:1/-1}
.bb-form label{display:block;font-family:'Space Mono',monospace;font-size:12px;letter-spacing:.06em;text-transform:uppercase;margin-bottom:6px}
.bb-form input,.bb-form select,.bb-form textarea{width:100%;min-height:48px;padding:12px 14px;border:2px solid #1A1714;border-radius:14px;background:#fff;font:inherit;font-size:16px;color:#1A1714}
.bb-form textarea{min-height:120px;resize:vertical}
.bb-form-note{margin:14px 0 0!important;font-size:13px;color:#4A433C}
.bb-form-msg{padding:14px 16px;border-radius:14px;border:2px solid #1A1714;font-weight:600}
.bb-ok{background:#BFDDBF}.bb-err{background:#FF9A8F}
.bb-hp{position:absolute!important;left:-10000px!important;width:1px;height:1px;overflow:hidden}

/* ---------- Rewind rail (slim, sits in the page margin) + box widget ---------- */
.bb-rail{position:fixed;left:14px;top:50%;z-index:60;transform:translate(-160%,-50%);transition:transform .5s cubic-bezier(.2,.8,.2,1.25);display:flex;align-items:center;gap:6px;padding:10px 6px;background:rgba(255,248,236,.92);border:1.5px solid #1A1714;border-radius:999px}
.bb-rail p{margin:0;writing-mode:vertical-rl;text-orientation:upright;font-family:'Space Mono',monospace;font-weight:700;font-size:9px;line-height:1;letter-spacing:-1px;white-space:nowrap}
.bb-rail-dots{position:relative;display:flex;flex-direction:column;align-items:center;gap:2px}
.bb-rail-dots::before{content:"";position:absolute;left:50%;top:26px;bottom:10px;width:1.5px;margin-left:-.75px;background:repeating-linear-gradient(#1A1714 0 3px,transparent 3px 6px)}
.bb-rail a{position:relative;display:flex;align-items:center;justify-content:center;width:24px;height:24px;text-decoration:none;border-radius:50%}
.bb-rail-top{font-weight:800;font-size:12px;background:#FFDA7A;border:1.5px solid #1A1714;margin-bottom:4px}
.bb-rail a i{width:11px;height:11px;border-radius:50%;border:1.5px solid #1A1714;background:#FFF8EC;transition:background .3s,transform .35s cubic-bezier(.2,.8,.2,1.6)}
.bb-rail a:hover i,.bb-rail a:focus-visible i{transform:scale(1.35)}
.bb-rail a.is-seen i{background:#FFDA7A}
.bb-rail a.is-on i{background:#FFA06E;transform:scale(1.4)}
body.bb-up .bb-rail,.bb-rail:hover,.bb-rail:focus-within{transform:translate(0,-50%)}
@media (max-width:1400px){.bb-rail{display:none}}
.bb-boxw .bb-rew{display:none}
body.bb-up .bb-boxw .bb-fwd{display:none}
body.bb-up .bb-boxw .bb-rew{display:inline}
body.bb-up .bb-boxw{background:#FFDA7A}

/* ---------- Chapter-to-chapter clue ---------- */
.bb-chapnext{max-width:1320px;margin:0 auto;padding:56px 40px 16px;text-align:center}
.bb-chapnext span{display:inline-block;border:2px solid #1A1714;border-radius:999px;padding:8px 16px;font-family:'Space Mono',monospace;font-size:13px;box-shadow:3px 3px 0 #1A1714}

/* ---------- Welcome back (returning visitors) ---------- */
.bb-welcome{position:fixed;left:22px;bottom:22px;z-index:61;max-width:420px;display:flex;flex-wrap:wrap;align-items:center;gap:12px 14px;background:#FFF8EC;border:2px solid #1A1714;border-radius:20px;box-shadow:5px 5px 0 #1A1714;padding:16px 46px 16px 18px;animation:bbwin .6s cubic-bezier(.2,.8,.2,1.3) both}
.bb-welcome[hidden]{display:none}
.bb-welcome p{margin:0;flex:1 1 100%;font-size:15px;line-height:1.45}
.bb-welcome .bb-btn{min-height:40px;padding:8px 18px;font-size:14px}
.bb-welcome-x{position:absolute;right:8px;top:8px;width:32px;height:32px;border:0;background:transparent;font-size:22px;line-height:1;cursor:pointer;color:#1A1714}
@keyframes bbwin{from{opacity:0;transform:translateY(24px)}to{opacity:1;transform:none}}
@media (prefers-reduced-motion:reduce){.bb-welcome{animation:none}}

/* ---------- Mid-page CTA bands ---------- */
.bb-cta-band{max-width:1320px;margin:40px auto 0;padding:0 40px}
.bb-cta-band>div{display:flex;flex-wrap:wrap;gap:20px 32px;align-items:center;justify-content:space-between;background:#FFF8EC;border:2px dashed #1A1714;border-radius:28px;padding:28px 32px}
.bb-cta-band h2{margin:0;font-weight:800;font-size:clamp(26px,2.6vw,36px);line-height:1.05;letter-spacing:-.03em;flex:1 1 420px}
.bb-cta-band .bb-cta-btns{display:flex;flex-wrap:wrap;gap:14px}
.bb-mini{display:inline-flex;align-items:center;gap:8px;margin-top:22px;font-family:'Space Mono',monospace;font-size:13px;letter-spacing:.04em;text-decoration:none;border-bottom:2px solid #1A1714;padding:6px 0}
.bb-mini:hover{color:#D9452F;border-color:#D9452F}

/* JS reveal fallback (browsers without CSS scroll timelines) */
.bb-js-reveal .bb-rise{opacity:0;transform:translateY(50px);transition:opacity .8s,transform .8s cubic-bezier(.2,.8,.2,1)}
.bb-js-reveal .bb-pop{opacity:0;transform:scale(.5);transition:opacity .5s,transform .6s cubic-bezier(.2,.8,.2,1.4)}
.bb-js-reveal .is-in{opacity:1!important;transform:none!important}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}.bb-js-reveal .bb-rise,.bb-js-reveal .bb-pop{opacity:1;transform:none;transition:none}.bb-rail{transition:none}}
/* ---------- Showreel, testimonials, Google rating (hidden until filled in inc/config.php) ---------- */
.bb-reel{padding:100px 0;border-top:2px solid #1A1714;background:#FFF8EC}
.bb-reel-head{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:flex-end;gap:20px;margin-bottom:34px}
.bb-reel-head h2{margin:0;font-weight:800;font-size:clamp(40px,5vw,76px);line-height:.95;letter-spacing:-.045em}
.bb-reel-frame{position:relative;aspect-ratio:16/9;border:2px solid #1A1714;border-radius:28px;overflow:hidden;background:#1A1714;box-shadow:5px 5px 0 #1A1714}
.bb-reel-frame iframe,.bb-reel-frame video{position:absolute;inset:0;width:100%;height:100%;border:0;object-fit:cover}
.bb-quotes{padding:100px 0;border-top:2px solid #1A1714}
.bb-quote-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(320px,1fr));gap:24px}
.bb-quote{margin:0;background:#fff;border:1.5px solid #1A1714;border-radius:24px;padding:30px;display:flex;flex-direction:column;gap:20px}
.bb-quote blockquote{margin:0;font-family:'Instrument Serif',serif;font-size:27px;line-height:1.25}
.bb-quote figcaption b{display:block}.bb-quote figcaption span{font-family:'Space Mono',monospace;font-size:12px;color:#6B6157}
.bb-rating{margin:-36px 0 48px;font-size:16px}
.bb-stars{color:#E0912F;letter-spacing:2px}
/* ---------- Home: scroll story ---------- */
@keyframes bbmarq{to{transform:translateX(-50%)}}
@keyframes bbspin{to{transform:rotate(360deg)}}
@keyframes bbbob{0%,100%{transform:translateY(0) rotate(var(--r,0deg))}50%{transform:translateY(-10px) rotate(var(--r,0deg))}}
@keyframes bbtw{0%,100%{transform:scale(.7);opacity:.5}50%{transform:scale(1.1);opacity:1}}
.bb-marq{animation:bbmarq 32s linear infinite}
.bb-spin{animation:bbspin 22s linear infinite}
.bb-bob{animation:bbbob 5s ease-in-out infinite}
.bb-tw{animation:bbtw 2.8s ease-in-out infinite}
.bb-card{transition:transform .35s cubic-bezier(.2,.8,.2,1.2)}
.bb-card:hover{transform:rotate(0deg) translateY(-8px)!important}
.bb-btn{transition:transform .2s,box-shadow .2s}
.bb-btn:hover{transform:translate(-2px,-2px);box-shadow:6px 6px 0 #1A1714!important;color:inherit}
@media (prefers-reduced-motion:reduce){.bb-marq,.bb-spin,.bb-bob,.bb-tw{animation:none}}
@keyframes bbprog{from{transform:scaleX(0)}to{transform:scaleX(1)}}
@keyframes bbrise{from{opacity:0;transform:translateY(70px) scale(.96)}to{opacity:1;transform:none}}
@keyframes bbdraw{from{stroke-dashoffset:1}to{stroke-dashoffset:0}}
@keyframes bbpop{0%{opacity:0;transform:scale(.3) rotate(-14deg)}70%{opacity:1;transform:scale(1.1) rotate(4deg)}100%{opacity:1;transform:scale(1) rotate(var(--r,0deg))}}
@keyframes bbfill{from{color:transparent}to{color:var(--fill,#FFF8EC)}}
@keyframes bblid{0%,90%{transform:none}100%{transform:translate(-4px,-12px) rotate(-24deg)}}
.bb-prog{display:none}
@supports (animation-timeline:view()){.bb-prog{display:block;animation:bbprog linear both;animation-timeline:scroll(root)}.bb-lid{animation:bblid linear both;animation-timeline:scroll(root)}.bb-rise{animation:bbrise linear both;animation-timeline:view();animation-range:entry 0% cover 28%}.bb-draw path{animation:bbdraw linear both;animation-timeline:view();animation-range:entry 15% cover 60%}.bb-pop{animation:bbpop linear both;animation-timeline:view();animation-range:entry 55% cover 40%}.bb-num{animation:bbfill linear both;animation-timeline:view();animation-range:entry 30% cover 50%}}
.bb-clue{cursor:help}.bb-clue .bb-secret{display:none}.bb-clue:hover .bb-secret,.bb-clue:focus .bb-secret{display:inline}.bb-clue:hover .bb-hint,.bb-clue:focus .bb-hint{display:none}
@media (prefers-reduced-motion:reduce){.bb-prog,.bb-rise,.bb-draw path,.bb-pop,.bb-num,.bb-lid,.bb-boxw{animation:none!important}}
/* ---------- Case studies (premium) ---------- */
.bb-kicker{display:block;margin:0 0 18px;font-family:'Space Mono',monospace;font-size:12.5px;letter-spacing:.12em;text-transform:uppercase;color:#6B6157}
.bb-hl{font-family:'Instrument Serif',serif;font-weight:400;font-style:italic;letter-spacing:-.02em}
.bb-cs-hero{padding-top:56px;padding-bottom:40px}
.bb-cs-head{display:flex;flex-wrap:wrap;gap:28px;justify-content:space-between;align-items:flex-end}
.bb-cs-head h1{margin:0;font-weight:800;font-size:clamp(56px,7.6vw,116px);line-height:.9;letter-spacing:-.05em}
.bb-cs-head h1 .bb-hl{color:#C4552B}
.bb-cs-head p{margin:0;max-width:460px;font-size:18px;color:#4A433C}
.bb-cs-feature{display:flex;flex-wrap:wrap;background:#fff;border:1.5px solid #1A1714;border-radius:28px;overflow:hidden;text-decoration:none;box-shadow:5px 5px 0 #1A1714;transition:transform .3s,box-shadow .3s}
.bb-cs-feature:hover{transform:translate(-2px,-2px);box-shadow:8px 8px 0 #1A1714;color:#1A1714}
.bb-cs-feature-logo{flex:1 1 380px;min-height:320px;background:#FFF8EC;border-right:1.5px solid #1A1714;display:flex;align-items:center;justify-content:center;padding:40px}
.bb-cs-feature-logo img{max-width:62%;max-height:180px}
.bb-cs-feature-text{flex:1 1 520px;padding:44px;display:flex;flex-direction:column;gap:14px}
.bb-cs-feature-title{font-weight:800;font-size:clamp(30px,3vw,44px);line-height:1.02;letter-spacing:-.04em}
.bb-cs-feature-did{font-family:'Space Mono',monospace;font-size:13px;color:#4A433C}
.bb-impact{display:grid;grid-template-columns:repeat(auto-fit,minmax(130px,1fr));gap:12px;margin-top:6px}
.bb-impact>span,.bb-impact>div{display:block;border-top:1.5px solid #1A1714;padding-top:12px}
.bb-impact b{display:block;font-weight:800;font-size:30px;line-height:1;letter-spacing:-.04em}
.bb-impact i{display:block;font-style:normal;margin-top:6px;font-size:13.5px;color:#4A433C;line-height:1.35}
.bb-cc-go{margin-top:auto;font-family:'Space Mono',monospace;font-size:13px;text-decoration:underline;text-underline-offset:5px}
.bb-filters{margin:56px 0 28px;display:flex;flex-wrap:wrap;gap:10px}
.bb-filters button{min-height:44px;padding:10px 20px;border:1.5px solid #1A1714;border-radius:999px;background:transparent;color:#1A1714;font-family:'Space Mono',monospace;font-size:13px;letter-spacing:.04em;cursor:pointer}
.bb-filters button[aria-pressed="true"]{background:#1A1714;color:#FFF8EC}
.bb-cc-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(340px,1fr));gap:26px;padding-bottom:110px}
.bb-cc{display:flex;flex-direction:column;background:#fff;border:1.5px solid #1A1714;border-radius:24px;overflow:hidden;text-decoration:none;transition:transform .3s,box-shadow .3s}
.bb-cc:hover{transform:translate(-2px,-2px);box-shadow:5px 5px 0 #1A1714;color:#1A1714}
.bb-cc[hidden]{display:none}
.bb-cc-logo{height:180px;background:#FFF8EC;border-bottom:1.5px solid #1A1714;display:flex;align-items:center;justify-content:center;padding:28px}
.bb-cc-logo img{max-width:60%;max-height:110px}
.bb-cc-name{font-weight:800;font-size:28px;letter-spacing:-.03em;text-align:center}
.bb-cc-body{padding:24px 26px 26px;display:flex;flex-direction:column;gap:10px;flex:1}
.bb-cc-ind{font-family:'Space Mono',monospace;font-size:12px;color:#6B6157}
.bb-cc-title{font-weight:800;font-size:23px;line-height:1.12;letter-spacing:-.025em}
.bb-cc-metric{font-size:15px;color:#4A433C}
.bb-cc-metric b{font-size:20px;color:#1A1714}
.bb-logos-band{border-top:1.5px solid #1A1714;border-bottom:1.5px solid #1A1714;background:#FFF8EC;padding:70px 0 50px}
.bb-logos-band h2{margin:0 0 26px;font-weight:800;font-size:clamp(32px,3.6vw,52px);letter-spacing:-.04em;line-height:1}
.bb-cs-cta{padding:110px 0}
.bb-cs-cta h2{margin:0;font-weight:800;font-size:clamp(48px,6.4vw,96px);line-height:.92;letter-spacing:-.05em}
.bb-cs-cta>div>p{margin:20px auto 0;max-width:520px;font-size:19px;color:#4A433C}
/* single case study page */
.bb-case-hero{padding-top:40px;padding-bottom:50px}
.bb-back{font-family:'Space Mono',monospace;font-size:13px}
.bb-case-top{display:flex;flex-wrap:wrap;gap:48px;align-items:center;margin-top:34px}
.bb-case-top>div:first-child{flex:1 1 560px;min-width:0}
.bb-case-top h1{margin:0;font-weight:800;font-size:clamp(40px,5vw,76px);line-height:.95;letter-spacing:-.045em}
.bb-case-logo{flex:0 1 380px;aspect-ratio:4/3;background:#fff;border:1.5px solid #1A1714;border-radius:24px;display:flex;align-items:center;justify-content:center;padding:30px;box-shadow:5px 5px 0 #1A1714}
.bb-case-logo img{max-width:72%;max-height:70%}
.bb-case-logo span{font-weight:800;font-size:32px;letter-spacing:-.03em;text-align:center}
.bb-case-meta{display:flex;flex-wrap:wrap;gap:8px;margin-top:24px}
.bb-chip{padding:6px 14px;border:1.5px solid #1A1714;border-radius:999px;font-size:13.5px;font-weight:600;background:#fff}
.bb-case-body{padding-top:20px;padding-bottom:30px}
.bb-case-body>*{max-width:780px}
.bb-case-body p{font-size:19px;line-height:1.7;color:#2E2824;margin:0 0 22px}
.bb-case-impact{padding-bottom:80px}
.bb-case-impact h2,.bb-case-more h2{margin:0 0 26px;font-weight:800;font-size:clamp(30px,3.4vw,48px);letter-spacing:-.04em}
.bb-case-more{border-top:1.5px solid #1A1714;padding-top:80px;padding-bottom:100px}
/* ---------- Market pages ---------- */
.bb-mk-hero{padding-top:40px;padding-bottom:90px;display:flex;flex-wrap:wrap;gap:48px;align-items:center}
.bb-mk-hero-text{flex:1 1 640px;min-width:0}
.bb-mk-hero h1{margin:0;font-weight:800;font-size:clamp(46px,6.2vw,96px);line-height:.93;letter-spacing:-.05em}
.bb-mk-lead{margin:30px 0 0;max-width:640px;font-size:19px;color:#4A433C}
.bb-mk-lead2{margin:14px 0 0;max-width:640px;font-size:19px;font-weight:600}
.bb-cta-btns{display:flex;flex-wrap:wrap;gap:14px;margin:34px 0 0}
.bb-mk-badge{flex:0 1 440px;display:flex;justify-content:center}
.bb-mk-why{background:#FFF8EC;border-top:2px solid #1A1714;border-bottom:2px solid #1A1714;padding:96px 0}
.bb-mk-why h2,.bb-mk-serv h2,.bb-mk-how h2,.bb-mk-faq h2{margin:0 0 40px;font-weight:800;font-size:clamp(36px,4.4vw,64px);line-height:.98;letter-spacing:-.045em}
.bb-why-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:20px}
.bb-why-card{background:#fff;border:1.5px solid #1A1714;border-radius:24px;padding:26px}
.bb-why-card h3{margin:0;font-weight:800;font-size:22px;line-height:1.15;letter-spacing:-.02em}
.bb-why-card p{margin:10px 0 0;font-size:16px;line-height:1.5}
.bb-mk-serv{padding-top:110px;padding-bottom:90px}
.bb-svc-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(270px,1fr));gap:16px}
.bb-svc-card{display:flex;flex-direction:column;gap:8px;padding:22px 24px;background:#FFF8EC;border:2px solid #1A1714;border-radius:22px;text-decoration:none;transition:transform .25s,box-shadow .25s}
.bb-svc-card:hover{transform:translate(-2px,-2px);box-shadow:5px 5px 0 #1A1714;color:#1A1714}
.bb-svc-card span{font-family:'Space Mono',monospace;font-size:12px;color:#6B6157}
.bb-svc-card strong{font-weight:800;font-size:21px;line-height:1.15;letter-spacing:-.02em}
.bb-svc-card em{font-style:normal;font-size:15px;color:#4A433C;line-height:1.5}
.bb-proof{background:#FFEFE3;border-top:2px solid #1A1714;border-bottom:2px solid #1A1714;padding:100px 0}
.bb-proof-text{max-width:860px}
.bb-proof h2{margin:0;font-weight:800;font-size:clamp(32px,3.6vw,52px);line-height:1;letter-spacing:-.04em}
.bb-proof-text>p{margin:18px 0 0;font-size:17.5px;color:#4A433C}
.bb-mk-how{padding-top:110px;padding-bottom:40px}
.bb-steps{margin:0;padding:0;list-style:none;display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:18px;counter-reset:st}
.bb-steps li{counter-increment:st;border-top:2px solid #1A1714;padding-top:18px}
.bb-steps li::before{content:"0" counter(st);display:block;font-family:'Space Mono',monospace;font-size:13px;margin-bottom:8px}
.bb-steps b{display:block;font-weight:800;font-size:21px;letter-spacing:-.02em}
.bb-steps span{display:block;margin-top:8px;color:#4A433C;font-size:16px}
.bb-mk-faq{padding-top:90px;padding-bottom:110px;max-width:980px}
.bb-faq{background:#FFF8EC;border:2px solid #1A1714;border-radius:18px;padding:18px 22px;margin-bottom:12px}
.bb-faq summary{font-weight:700;font-size:19px;cursor:pointer;min-height:28px}
.bb-faq p{margin:12px 0 0;font-size:17px;color:#4A433C;line-height:1.6}
.bb-other-markets{margin:30px 0 0;font-family:'Space Mono',monospace;font-size:14px}
.bb-other-markets a{margin:0 8px}
/* ---------- Location stickers (in-flow, one per section) ---------- */
.bb-stk-in{display:inline-block;flex:0 0 auto;vertical-align:middle;filter:drop-shadow(5px 6px 0 rgba(26,23,20,.85));transform:rotate(var(--r,0deg));transition:transform .35s cubic-bezier(.2,.8,.2,1.6)}
.bb-stk-in:hover{transform:rotate(0deg) scale(1.08)!important}
.bb-stk-in svg{display:block;width:var(--s,150px);height:var(--s,150px)}
.bb-stk-in.bb-stk-wordy svg{width:auto;height:calc(var(--s,150px) * .42)}
.bb-sec-head{display:flex;flex-wrap:wrap;align-items:flex-end;justify-content:space-between;gap:16px 32px;margin-bottom:40px}
.bb-sec-head h2{margin:0!important}
.bb-stk-hero{display:flex;flex-direction:column;align-items:center;gap:10px}
.bb-proof-in{display:flex;flex-wrap:wrap;gap:40px;align-items:center;justify-content:space-between}
.bb-proof-text{flex:1 1 560px}
.bb-cta-stk{display:flex;justify-content:center;margin-bottom:22px}
@media (max-width:640px){.bb-stk-in svg{width:calc(var(--s,150px) * .72);height:calc(var(--s,150px) * .72)}.bb-stk-in.bb-stk-wordy svg{height:calc(var(--s,150px) * .32)}}
/* ---------- Journal ---------- */
.bb-jr-hero{padding-top:40px;padding-bottom:40px;text-align:center}
.bb-jr-hero h1{margin:0;font-weight:800;font-size:clamp(60px,9vw,140px);line-height:.88;letter-spacing:-.055em}
.bb-jr-hero>p{margin:24px auto 0;max-width:560px;font-size:19px;color:#4A433C}
.bb-jr-hero .bb-filters{justify-content:center}
.bb-post-feat{display:flex;flex-wrap:wrap;background:#FFF8EC;border:1.5px solid #1A1714;border-radius:28px;box-shadow:5px 5px 0 #1A1714;text-decoration:none;overflow:hidden;margin-top:30px}
.bb-post-feat[hidden]{display:none}
.bb-post-feat-art{flex:1 1 380px;min-height:300px;background:#E6F0E4;border-right:1.5px solid #1A1714;display:flex;flex-direction:column;align-items:center;justify-content:center;position:relative}
.bb-post-feat-art span{position:absolute;left:22px;top:22px;background:#1A1714;color:#FFDA7A;border-radius:8px;padding:6px 10px;font-family:'Space Mono',monospace;font-size:12px}
.bb-post-feat-art b{font-weight:800;font-size:72px;line-height:.9;letter-spacing:-.05em;text-align:center}
.bb-post-feat-text{flex:1 1 480px;padding:40px;display:flex;flex-direction:column;gap:14px;justify-content:center}
.bb-post-feat-text h2{margin:0;font-weight:800;font-size:clamp(30px,3vw,46px);line-height:1.02;letter-spacing:-.04em}
.bb-post-feat-text p{margin:0}
.bb-post-meta{font-family:'Space Mono',monospace;font-size:12px;letter-spacing:.06em;color:#5C534A}
.bb-post-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:28px 22px;padding:56px 0 110px}
.bb-post-card{background:#fff;border:1.5px solid #1A1714;border-radius:24px;text-decoration:none;transition:transform .3s,box-shadow .3s;overflow:hidden;display:flex;flex-direction:column}
.bb-post-card[hidden]{display:none}
.bb-post-card:hover{transform:translate(-2px,-2px);box-shadow:5px 5px 0 #1A1714;color:#1A1714}
.bb-post-top{height:110px;border-bottom:1.5px solid #1A1714;position:relative}
.bb-post-top span{position:absolute;left:18px;bottom:14px;background:#fff;border:1.5px solid #1A1714;border-radius:999px;padding:4px 12px;font-family:'Space Mono',monospace;font-size:11.5px}
.bb-post-body{padding:22px 24px 24px;display:flex;flex-direction:column;gap:10px;flex:1}
.bb-post-body h3{margin:0;font-weight:800;font-size:21px;line-height:1.15;letter-spacing:-.02em}
.bb-post-body p{margin:0;font-size:15px;color:#4A433C}
.bb-post-body .bb-post-meta{margin-top:auto;padding-top:6px}
.bb-newsletter{background:#FFEFE3;border-top:2px solid #1A1714;padding:100px 0}
.bb-newsletter h2{margin:0;font-weight:800;font-size:clamp(48px,6.4vw,96px);line-height:.92;letter-spacing:-.05em}
.bb-newsletter>div>p{margin:20px auto 0;max-width:480px;font-size:18px}
.bb-nl{display:flex;flex-wrap:wrap;gap:12px;justify-content:center;max-width:560px;margin:34px auto 0}
.bb-nl input[type=email]{flex:1 1 260px;min-height:52px;padding:0 20px;border:2px solid #1A1714;border-radius:999px;font:inherit;font-size:16px}
/* ---------- Journal articles ---------- */
.bb-ph{padding-top:50px;padding-bottom:30px}
.bb-ph h1,.bb-ph-dek{max-width:900px}
.bb-ph h1{margin:0;font-weight:800;font-size:clamp(40px,5.2vw,74px);line-height:.98;letter-spacing:-.045em}
.bb-ph-dek{margin:24px 0 0;font-size:21px;color:#4A433C;max-width:760px}
.bb-byline{margin-top:30px;display:flex;align-items:center;gap:14px}
.bb-byline img{width:52px;height:52px;border-radius:50%;object-fit:cover;object-position:top;background:#FFE1CC;border:1.5px solid #1A1714}
.bb-byline b{display:block}.bb-byline span{font-family:'Space Mono',monospace;font-size:12px;color:#6B6157}
.bb-pbody{display:flex;flex-wrap:wrap;gap:56px;align-items:flex-start;padding-top:20px;padding-bottom:110px}
.bb-art2{flex:999 1 560px;min-width:0;max-width:740px;font-size:18.5px;line-height:1.72}
.bb-art2 h2{margin:50px 0 12px;font-weight:800;font-size:clamp(26px,2.6vw,34px);line-height:1.1;letter-spacing:-.03em;scroll-margin-top:100px}
.bb-art2 p{margin:0 0 18px;color:#2E2824}
.bb-takeaways{background:#fff;border:1.5px solid #1A1714;border-radius:22px;padding:24px 28px}
.bb-takeaways ul{margin:0;padding-left:20px;font-size:17px}
.bb-faq{border-top:1.5px solid #1A1714;padding:16px 0}
.bb-faq summary{cursor:pointer;font-weight:700;font-size:19px}
.bb-faq p{margin:12px 0 0}
.bb-ptoc{flex:1 1 260px;position:sticky;top:100px}
.bb-ptoc ol{margin:0;padding-left:0;list-style:none;font-size:15px;line-height:1.5}
.bb-ptoc li{margin-bottom:8px}
.bb-ptoc-cta{margin-top:28px;background:#FFF8EC;border:1.5px solid #1A1714;border-radius:20px;padding:22px}
.bb-ptoc-cta p{margin:8px 0 14px;font-size:15px;color:#4A433C}
/* ---------- Client logo marquee ---------- */
@keyframes bblogos{to{transform:translateX(-50%)}}
.bb-logo-marq{overflow:hidden;padding:10px 0;-webkit-mask-image:linear-gradient(90deg,transparent,#000 6%,#000 94%,transparent);mask-image:linear-gradient(90deg,transparent,#000 6%,#000 94%,transparent)}
.bb-logo-track{display:inline-flex;gap:18px;padding-right:18px;white-space:nowrap;animation:bblogos 70s linear infinite}
.bb-logo-marq:hover .bb-logo-track{animation-play-state:paused}
.bb-logo-chip{flex:0 0 auto;display:flex;align-items:center;justify-content:center;width:170px;height:86px;padding:12px 18px;background:#fff;border:2px solid #1A1714;border-radius:18px;box-shadow:3px 3px 0 #1A1714}
.bb-logo-chip img{max-width:100%;max-height:100%;width:auto;height:auto;object-fit:contain}
@media (prefers-reduced-motion:reduce){.bb-logo-track{animation:none;flex-wrap:wrap;white-space:normal;justify-content:center}.bb-logo-chip[aria-hidden]{display:none}}
