/* Branding Pioneers Portfolio — v2.0 Public CSS */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

.bp-root {
    --lime:       #A4E636;
    --lime-dark:  #7fb82a;
    --lime-dim:   rgba(164,230,54,0.1);
    --lime-border:rgba(164,230,54,0.3);
    --black:      #111111;
    --off:        #f7f7f5;
    --text:       #111111;
    --muted:      #666666;
    --light:      #aaaaaa;
    --border:     #e4e4e0;
    --white:      #ffffff;
    --r:          12px;
    --rsm:        8px;
    font-family: 'Poppins', sans-serif;
    font-size: 15px;
    line-height: 1.6;
    color: var(--text);
    background: var(--white);
    overflow-x: hidden;
}
.bp-root *, .bp-root *::before, .bp-root *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* ── HEADER ── */
.bp-header {
    position: sticky; top: 0; left: 0; right: 0; z-index: 9000;
    background: rgba(255,255,255,0.97);
    border-bottom: 1px solid var(--border);
    backdrop-filter: blur(8px);
}
.bp-header-inner {
    max-width: 1200px; margin: 0 auto;
    padding: 0 40px; height: 70px;
    display: flex; align-items: center; gap: 24px;
}
.bp-logo { display: flex; align-items: center; text-decoration: none; flex-shrink: 0; }
.bp-logo-img { max-height: 46px; width: auto; display: block; object-fit: contain; }
.bp-logo-fallback { font-size: 16px; font-weight: 800; color: var(--black); letter-spacing: -0.01em; }
.bp-logo-fallback span { color: var(--lime-dark); }
.bp-nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.bp-nav-link {
    padding: 8px 15px; font-size: 13px; font-weight: 400; color: var(--muted);
    text-decoration: none; border-radius: 6px; transition: all 0.18s;
    cursor: pointer; white-space: nowrap;
}
.bp-nav-link:hover { color: var(--text); background: var(--off); }
.bp-nav-cta {
    display: inline-block; padding: 9px 22px; font-size: 13px; font-weight: 700;
    background: var(--lime); color: var(--black); border-radius: 7px;
    text-decoration: none; border: none; cursor: pointer;
    transition: background 0.18s; white-space: nowrap; margin-left: 8px;
    font-family: 'Poppins', sans-serif;
}
.bp-nav-cta:hover { background: var(--lime-dark); color: var(--black); text-decoration: none; }
.bp-hamburger {
    display: none; flex-direction: column; gap: 5px; background: none; border: none;
    cursor: pointer; padding: 6px; margin-left: auto;
}
.bp-hamburger span { display: block; width: 22px; height: 2px; background: var(--text); border-radius: 2px; transition: all 0.2s; }
.bp-mobile-nav {
    display: none; flex-direction: column; gap: 4px; padding: 12px 20px 16px;
    background: var(--white); border-bottom: 1px solid var(--border);
}
.bp-mobile-nav.open { display: flex; }
.bp-mobile-nav-link {
    padding: 10px 12px; font-size: 14px; color: var(--muted); text-decoration: none;
    border-radius: 6px; transition: all 0.15s;
}
.bp-mobile-nav-link:hover { background: var(--off); color: var(--text); }

/* ── EYEBROW ── */
.bp-eyebrow {
    display: flex; align-items: center; gap: 10px; margin-bottom: 16px;
    font-size: 11px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--lime-dark);
}
.bp-eyebrow-line { width: 26px; height: 2px; background: var(--lime-dark); border-radius: 2px; flex-shrink: 0; }

/* ── HERO ── */
.bp-hero { background: var(--black); padding: 100px 40px 90px; }
.bp-hero .bp-eyebrow { color: var(--lime); }
.bp-hero .bp-eyebrow-line { background: var(--lime); }
.bp-hero-inner { max-width: 1120px; margin: 0 auto; }
.bp-h1 { font-size: clamp(40px,5.5vw,78px); font-weight: 800; line-height: 1.07; letter-spacing: -0.03em; color: #444; margin-bottom: 26px; }
.bp-h1-lime { color: var(--lime); }
.bp-hero-sub { font-size: 16px; font-weight: 300; color: #999; max-width: 500px; line-height: 1.8; margin-bottom: 38px; }
.bp-hero-btns { display: flex; gap: 12px; flex-wrap: wrap; }
.bp-btn-lime {
    display: inline-block; padding: 13px 30px; font-size: 14px; font-weight: 700;
    background: var(--lime); color: var(--black); border-radius: 8px; border: none;
    text-decoration: none; cursor: pointer; transition: background 0.18s; font-family: 'Poppins', sans-serif;
}
.bp-btn-lime:hover { background: var(--lime-dark); color: var(--black); text-decoration: none; }
.bp-btn-outline {
    display: inline-block; padding: 12px 26px; font-size: 14px; font-weight: 500;
    background: transparent; color: #aaa; border: 1px solid #333; border-radius: 8px;
    text-decoration: none; cursor: pointer; transition: all 0.18s; font-family: 'Poppins', sans-serif;
}
.bp-btn-outline:hover { border-color: var(--lime); color: var(--lime); text-decoration: none; }

/* ── STATS BAR ── */
.bp-statsbar { background: #0d0d0d; border-bottom: 1px solid #1a1a1a; padding: 52px 40px; }
.bp-statsbar-inner { max-width: 1120px; margin: 0 auto; display: grid; grid-template-columns: repeat(5,1fr); }
.bp-sitem { text-align: center; padding: 0 12px; border-right: 1px solid #222; }
.bp-sitem:last-child { border-right: none; }
.bp-snum { font-size: 38px; font-weight: 800; color: var(--lime); letter-spacing: -0.02em; line-height: 1; }
.bp-slbl { font-size: 12px; color: #777; margin-top: 8px; font-weight: 400; }

/* ── PORTFOLIO ── */
.bp-portfolio { padding: 88px 40px 40px; }
.bp-section-hd { max-width: 1120px; margin: 0 auto 36px; }
.bp-section-h2 { font-size: clamp(26px,3vw,44px); font-weight: 800; letter-spacing: -0.02em; line-height: 1.1; margin-bottom: 12px; color: var(--text); }
.bp-section-sub { font-size: 15px; color: var(--muted); line-height: 1.8; max-width: 520px; font-weight: 300; }
.bp-filter-row { max-width: 1120px; margin: 0 auto 28px; display: flex; gap: 8px; flex-wrap: wrap; }
.bp-filter-btn {
    padding: 8px 20px; border-radius: 100px; font-size: 13px; font-weight: 400;
    border: 1px solid var(--border); background: transparent; color: var(--muted);
    cursor: pointer; transition: all 0.18s; font-family: 'Poppins', sans-serif;
}
.bp-filter-btn:hover { border-color: var(--lime-dark); color: var(--text); }
.bp-filter-btn.active { background: var(--lime); color: var(--black); border-color: var(--lime); font-weight: 700; }
.bp-card-grid { max-width: 1120px; margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fill,minmax(300px,1fr)); gap: 16px; padding-bottom: 60px; }
.bp-client-card {
    background: var(--white); border: 1px solid var(--border); border-radius: var(--r);
    padding: 24px; cursor: pointer; transition: all 0.2s; position: relative; overflow: hidden;
}
.bp-client-card::before { content:''; position:absolute; top:0; left:0; right:0; height:3px; background:transparent; transition: background 0.2s; }
.bp-client-card:hover { border-color: var(--lime); box-shadow: 0 6px 24px rgba(164,230,54,0.12); transform: translateY(-2px); }
.bp-client-card:hover::before { background: var(--lime); }
.bp-card-top { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.bp-card-av {
    width: 52px; height: 52px; border-radius: 50%; flex-shrink: 0; overflow: hidden;
    background: var(--lime-dim); border: 2px solid var(--lime-border);
    display: flex; align-items: center; justify-content: center;
    font-size: 16px; font-weight: 700; color: var(--lime-dark);
}
.bp-card-av img { width: 100%; height: 100%; object-fit: cover; display: block; }
.bp-card-name { font-size: 15px; font-weight: 600; color: var(--text); margin-bottom: 2px; }
.bp-card-role { font-size: 12px; color: var(--muted); font-weight: 300; }
.bp-card-tag { display: inline-flex; font-size: 11px; font-weight: 600; padding: 4px 10px; border-radius: 100px; background: var(--lime-dim); border: 1px solid var(--lime-border); color: var(--lime-dark); margin-bottom: 14px; }
.bp-card-stats { display: flex; gap: 20px; }
.bp-csval { font-size: 18px; font-weight: 700; color: var(--text); }
.bp-cslbl { font-size: 10px; color: var(--light); text-transform: uppercase; letter-spacing: 0.08em; margin-top: 2px; }
.bp-card-arrow { position: absolute; top: 22px; right: 20px; font-size: 17px; color: #ccc; transition: all 0.2s; }
.bp-client-card:hover .bp-card-arrow { color: var(--lime-dark); transform: translate(2px,-2px); }
.bp-loading { grid-column: 1/-1; padding: 48px; text-align: center; color: var(--muted); font-size: 14px; }
.bp-empty   { grid-column: 1/-1; padding: 48px; text-align: center; color: #ccc; font-size: 14px; }

/* ── CLIENT DETAIL ── */
.bp-detail { background: var(--white); border-top: 3px solid var(--lime); }
.bp-detail-wrap { max-width: 1120px; margin: 0 auto; padding: 36px 40px 80px; }
.bp-back { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 500; color: var(--muted); background: none; border: none; cursor: pointer; margin-bottom: 28px; font-family: 'Poppins', sans-serif; transition: color 0.18s; padding: 0; }
.bp-back:hover { color: var(--lime-dark); }
.bp-detail-profile { display: flex; gap: 28px; align-items: flex-start; margin-bottom: 36px; padding-bottom: 36px; border-bottom: 1px solid var(--border); }
.bp-det-av {
    width: 80px; height: 80px; border-radius: 50%; flex-shrink: 0; overflow: hidden;
    background: var(--lime-dim); border: 2px solid var(--lime-border);
    display: flex; align-items: center; justify-content: center;
    font-size: 24px; font-weight: 700; color: var(--lime-dark);
}
.bp-det-av img { width: 100%; height: 100%; object-fit: cover; display: block; }
.bp-det-name { font-size: 30px; font-weight: 800; letter-spacing: -0.02em; margin-bottom: 4px; color: var(--text); }
.bp-det-role { font-size: 14px; color: var(--muted); margin-bottom: 10px; font-weight: 300; }
.bp-det-bio  { font-size: 14px; color: var(--muted); line-height: 1.8; max-width: 500px; font-weight: 300; }
.bp-det-kpis { display: flex; gap: 28px; margin-top: 16px; flex-wrap: wrap; }
.bp-dkval { font-size: 22px; font-weight: 800; color: var(--lime-dark); letter-spacing: -0.02em; }
.bp-dklbl { font-size: 10px; color: var(--light); text-transform: uppercase; letter-spacing: 0.1em; margin-top: 2px; }
.bp-det-li { display: inline-flex; align-items: center; gap: 6px; margin-top: 12px; font-size: 12px; font-weight: 600; color: #0a66c2; text-decoration: none; border: 1px solid #c0d8ee; border-radius: 6px; padding: 6px 12px; transition: all 0.18s; }
.bp-det-li:hover { background: #e8f0f8; text-decoration: none; }
.bp-detail-tabrow { display: flex; border-bottom: 1px solid var(--border); margin-bottom: 28px; }
.bp-dtab { padding: 12px 20px; font-size: 13px; font-weight: 400; cursor: pointer; border: none; border-bottom: 2px solid transparent; background: none; color: var(--muted); transition: all 0.18s; margin-bottom: -1px; font-family: 'Poppins', sans-serif; }
.bp-dtab:hover { color: var(--text); }
.bp-dtab.active { color: var(--lime-dark); border-bottom-color: var(--lime); font-weight: 700; }
.bp-tabpane { display: none; }
.bp-tabpane.active { display: block; }

/* Posts grid */
.bp-posts-grid { display: grid; grid-template-columns: repeat(auto-fill,minmax(300px,1fr)); gap: 16px; }
.bp-post-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--r); overflow: hidden; cursor: pointer; transition: all 0.18s; }
.bp-post-card:hover { border-color: var(--lime); transform: translateY(-2px); box-shadow: 0 4px 18px rgba(0,0,0,0.07); }
.bp-post-imgwrap { width: 100%; height: 190px; background: var(--off); overflow: hidden; display: flex; align-items: center; justify-content: center; position: relative; }
.bp-post-imgwrap img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.3s; }
.bp-post-card:hover .bp-post-imgwrap img { transform: scale(1.03); }
.bp-post-imgwrap .bp-post-ph { font-size: 32px; color: #ccc; }
.bp-post-body { padding: 14px 16px; }
.bp-post-ttl { font-size: 13px; font-weight: 500; line-height: 1.5; margin-bottom: 10px; color: var(--text); }
.bp-post-mets { display: flex; gap: 12px; flex-wrap: wrap; }
.bp-pm { font-size: 12px; color: var(--muted); display: flex; align-items: center; gap: 4px; }

/* Comments */
.bp-comments-list { display: flex; flex-direction: column; gap: 12px; }
.bp-comment-card { background: var(--white); border: 1px solid var(--border); border-left: 3px solid var(--lime); border-radius: var(--r); padding: 20px; }
.bp-comment-img { width: 100%; max-height: 220px; object-fit: contain; border-radius: 8px; border: 1px solid var(--border); margin-bottom: 14px; display: block; }
.bp-comment-txt { font-size: 14px; line-height: 1.8; color: var(--text); margin-bottom: 12px; font-weight: 300; }
.bp-comment-mrow { display: flex; gap: 18px; flex-wrap: wrap; }
.bp-cmeta { font-size: 12px; color: var(--muted); display: flex; align-items: center; gap: 5px; }
.bp-comment-ref { font-size: 12px; color: var(--light); margin-top: 8px; font-style: italic; }

/* Stats */
.bp-stats-cards { display: grid; grid-template-columns: repeat(auto-fill,minmax(190px,1fr)); gap: 14px; }
.bp-scard { background: var(--off); border: 1px solid var(--border); border-radius: var(--r); padding: 22px; }
.bp-scval { font-size: 26px; font-weight: 800; color: var(--lime-dark); letter-spacing: -0.02em; margin-bottom: 4px; }
.bp-sclbl { font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.08em; }
.bp-sctrend { font-size: 11px; color: var(--lime-dark); margin-top: 6px; font-weight: 600; }

/* ── SYSTEM ── */
.bp-system { background: var(--off); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 88px 40px; }
.bp-system-wrap { max-width: 1120px; margin: 0 auto; }
.bp-syscols { display: grid; grid-template-columns: repeat(3,1fr); gap: 40px; margin-top: 50px; }
.bp-syscol-bar { width: 36px; height: 3px; background: var(--lime); border-radius: 2px; margin-bottom: 18px; }
.bp-syscol h3 { font-size: 16px; font-weight: 700; margin-bottom: 10px; color: var(--text); }
.bp-syscol p  { font-size: 14px; color: var(--muted); line-height: 1.8; font-weight: 300; }

/* ── CTA ── */
.bp-cta { background: var(--black); padding: 108px 40px; text-align: center; }
.bp-cta-wrap { max-width: 580px; margin: 0 auto; }
.bp-cta-eyebrow { font-size: 11px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--lime); margin-bottom: 22px; }
.bp-cta-h2 { font-size: clamp(30px,4vw,52px); font-weight: 800; letter-spacing: -0.02em; line-height: 1.1; color: #fff; margin-bottom: 18px; }
.bp-cta-sub { font-size: 15px; color: #888; line-height: 1.8; margin-bottom: 38px; font-weight: 300; }

/* ── MODAL ── */
.bp-modal-bg {
    position: fixed; inset: 0; z-index: 99999;
    background: rgba(0,0,0,0.8);
    display: flex; align-items: center; justify-content: center;
    padding: 20px; overflow-y: auto;
}
.bp-modal {
    background: var(--white); border-radius: 16px; width: 100%; max-width: 700px;
    position: relative; box-shadow: 0 24px 60px rgba(0,0,0,0.3);
    max-height: calc(100vh - 40px); overflow-y: auto; margin: auto;
}
.bp-modal-x {
    position: sticky; top: 12px; float: right; margin: 12px 12px 0 0;
    width: 34px; height: 34px; border-radius: 50%; background: rgba(0,0,0,0.08);
    border: none; font-size: 15px; cursor: pointer; display: flex; align-items: center;
    justify-content: center; z-index: 2; transition: background 0.18s; font-family: 'Poppins', sans-serif;
    color: var(--text);
}
.bp-modal-x:hover { background: rgba(0,0,0,0.18); }

/* Image zone — full-width, auto height, no cropping */
.bp-modal-img-zone {
    width: 100%; clear: both;
    background: var(--off);
    border-radius: 16px 16px 0 0;
    overflow: hidden;
    display: flex; align-items: center; justify-content: center;
    min-height: 60px;
}
.bp-modal-img-zone img {
    width: 100%; height: auto;     /* KEY FIX: full width, natural height — no cropping */
    display: block; object-fit: unset;
    border-radius: 0;
}
.bp-modal-img-ph { font-size: 48px; color: #ccc; padding: 48px 0; }

.bp-modal-body { padding: 24px 28px 28px; }
.bp-modal-title  { font-size: 17px; font-weight: 700; margin-bottom: 6px; line-height: 1.5; color: var(--text); }
.bp-modal-author { font-size: 13px; color: var(--muted); margin-bottom: 18px; font-weight: 300; }
.bp-modal-metrics { display: flex; margin-bottom: 20px; border: 1px solid var(--border); border-radius: var(--rsm); overflow: hidden; }
.bp-mmet { flex: 1; padding: 14px 10px; text-align: center; border-right: 1px solid var(--border); }
.bp-mmet:last-child { border-right: none; }
.bp-mmet-val { font-size: 19px; font-weight: 800; color: var(--lime-dark); letter-spacing: -0.01em; }
.bp-mmet-lbl { font-size: 10px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.1em; margin-top: 3px; }
.bp-modal-caption { font-size: 14px; color: var(--muted); line-height: 1.85; white-space: pre-line; font-weight: 300; }
.bp-modal-analytics { margin-top: 18px; }
.bp-analytics-lbl { font-size: 11px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.bp-analytics-img { width: 100%; height: auto; border-radius: 8px; border: 1px solid var(--border); display: block; }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
    .bp-header-inner { padding: 0 20px; }
    .bp-nav, .bp-nav-cta { display: none; }
    .bp-hamburger { display: flex; }
    .bp-hero, .bp-portfolio, .bp-system, .bp-cta { padding-left: 20px; padding-right: 20px; }
    .bp-statsbar { padding: 36px 20px; }
    .bp-statsbar-inner { grid-template-columns: repeat(3,1fr); gap: 16px; }
    .bp-sitem { border-right: none; padding-bottom: 14px; border-bottom: 1px solid #1a1a1a; }
    .bp-sitem:nth-child(3n) { border-bottom: none; }
    .bp-detail-wrap { padding: 24px 20px 60px; }
    .bp-detail-profile { flex-direction: column; }
    .bp-syscols { grid-template-columns: 1fr; gap: 28px; }
    .bp-card-grid, .bp-posts-grid { grid-template-columns: 1fr; }
    .bp-stats-cards { grid-template-columns: 1fr 1fr; }
    .bp-h1 { font-size: 36px; }
    .bp-modal-body { padding: 18px 18px 22px; }
}
