/* Best Friend Productions case studies (/best-friend-productions/work).
   BFP's own brand inside the Saha shell: black, acid #BADA55, Anton headlines.
   Text sitting on acid is always black (white on acid fails contrast). No crimson next to the acid. */

.bfp-work {
  --b-ink: #0B0B0B; --b-ink-2: #121212; --b-ink-3: #191919;
  --b-acid: #BADA55; --b-paper: #F2F1EA; --b-mute: #9a9a92; --b-line: #262626;
  --b-display: "Anton", Impact, "Arial Narrow", sans-serif;
  background: var(--b-ink);
  color: var(--b-paper);
}
/* Neutralise the Saha type defaults inside the BFP section. */
.bfp-work h1, .bfp-work h2, .bfp-work h3, .bfp-work h4 { font-family: var(--b-display); font-weight: 400; letter-spacing: 0.005em; color: inherit; margin: 0; text-transform: uppercase; }
.bfp-work p { color: inherit; }
.bfp-work p + p { margin-top: 0; }
.bfp-work .b-proves p.big { color: #0B0B0B; }
.bfp-work .b-brief p + p { margin-top: 0; }
.bfp-work .b-wrap { max-width: 1180px; margin: 0 auto; padding: 0 var(--gutter); }
.bfp-work .b-display { font-family: var(--b-display); font-weight: 400; text-transform: uppercase; line-height: 0.95; letter-spacing: 0.005em; }
.bfp-work .acid { color: var(--b-acid); }
.bfp-work .b-eyebrow { font-size: 11px; font-weight: 600; letter-spacing: 0.24em; text-transform: uppercase; color: var(--b-acid); margin-bottom: 16px; }
.bfp-work .b-lede { font-size: 1.15rem; color: #cfcec6; max-width: 62ch; }
.bfp-work a { color: inherit; }
.bfp-work .b-btn { display: inline-block; background: var(--b-acid); color: #0B0B0B; font-weight: 700; font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase; padding: 14px 22px; border-radius: 2px; text-decoration: none; }
.bfp-work .b-btn:hover { background: #cbe968; color: #0B0B0B; }
.bfp-work .b-btn.ghost { background: transparent; color: var(--b-paper); border: 1px solid #3a3a3a; }
.bfp-work .b-btn.ghost:hover { border-color: var(--b-acid); color: var(--b-acid); }
.bfp-work :focus-visible { outline-color: var(--b-acid); }

/* intro */
.b-intro { padding: clamp(72px, 10vw, 128px) 0 clamp(56px, 7vw, 88px); border-bottom: 1px solid var(--b-line); }
.b-intro .b-logo { width: 200px; height: auto; margin-bottom: 36px; }
.b-intro h1 { font-size: clamp(46px, 8vw, 108px); max-width: 15ch; margin-bottom: 24px; }
.b-jump { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 44px; }
.b-jump a { display: block; text-decoration: none; background: var(--b-ink-2); border: 1px solid var(--b-line); border-radius: 4px; padding: 20px 20px 18px; transition: border-color .2s; }
.b-jump a:hover { border-color: var(--b-acid); color: var(--b-paper); }
.b-jump .n { font-family: var(--b-display); color: var(--b-acid); letter-spacing: 0.18em; font-size: 14px; display: block; margin-bottom: 6px; }
.b-jump b { font-family: var(--b-display); font-weight: 400; text-transform: uppercase; font-size: 24px; line-height: 1; display: block; }
@media (max-width: 760px) { .b-jump { grid-template-columns: 1fr; } }

/* case header */
.b-case { border-bottom: 1px solid var(--b-line); scroll-margin-top: 80px; }
.b-case-head { padding: clamp(64px, 8vw, 104px) 0 0; }
.b-case-top { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: end; margin-bottom: 40px; }
.b-case-top h2 { font-size: clamp(42px, 6.4vw, 88px); margin-bottom: 20px; }
.b-case-num { font-family: var(--b-display); font-size: 15px; color: var(--b-acid); letter-spacing: 0.18em; display: block; margin-bottom: 10px; }
@media (max-width: 880px) { .b-case-top { grid-template-columns: 1fr; gap: 28px; } }

.b-media { position: relative; border-radius: 4px; overflow: hidden; background: var(--b-ink-3); aspect-ratio: 16 / 9; }
.b-media video, .b-media img { width: 100%; height: 100%; object-fit: cover; }
.b-media.typed { display: flex; flex-direction: column; justify-content: center; padding: 0 7%;
  background: linear-gradient(90deg, rgba(186,218,85,.07) 1px, transparent 1px) 0 0 / 48px 48px,
              linear-gradient(0deg, rgba(186,218,85,.07) 1px, transparent 1px) 0 0 / 48px 48px, var(--b-ink-3); }
.b-media.typed span { font-family: var(--b-display); text-transform: uppercase; font-size: clamp(32px, 5vw, 64px); line-height: 0.98; color: var(--b-paper); }
.b-media.typed span:last-child { color: var(--b-acid); }

/* stats */
.b-stats { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--b-line); border-bottom: 1px solid var(--b-line); margin-top: 40px; background: var(--b-ink-2); }
.b-stat { padding: 28px 22px; border-right: 1px solid var(--b-line); }
.b-stat:last-child { border-right: none; }
.b-stat b { display: block; font-family: var(--b-display); font-weight: 400; font-size: clamp(32px, 3.8vw, 48px); color: var(--b-acid); line-height: 1; margin-bottom: 10px; white-space: nowrap; }
.b-stat span { font-size: 13px; color: var(--b-mute); line-height: 1.45; display: block; }
@media (max-width: 820px) { .b-stats { grid-template-columns: repeat(2, 1fr); } .b-stat { border-bottom: 1px solid var(--b-line); } .b-stat:nth-child(2n) { border-right: none; } }

/* body */
.b-body { padding: clamp(56px, 7vw, 88px) 0; }
.b-label { display: flex; align-items: baseline; gap: 14px; margin-bottom: 14px; }
.b-label .n { font-family: var(--b-display); font-size: 14px; color: var(--b-acid); letter-spacing: 0.18em; }
.b-label .b-eyebrow { margin: 0; }
.b-sb { display: grid; grid-template-columns: 1.3fr 1fr; gap: 52px; align-items: start; }
.b-sb p.b-text { color: #c9c8c0; font-size: 1.08rem; }
.b-brief { border: 1px solid var(--b-acid); background: #141709; border-radius: 4px; padding: 28px 26px; }
.b-brief .b-eyebrow { margin-bottom: 10px; }
.b-brief p { color: var(--b-paper); }
@media (max-width: 880px) { .b-sb { grid-template-columns: 1fr; gap: 30px; } }

.b-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.b-chip { font-size: 12px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; padding: 9px 14px 9px 28px; border: 1px solid #333; border-radius: 2px; position: relative; color: #dcdbd3; }
.b-chip::before { content: ""; position: absolute; left: 12px; top: 50%; width: 8px; height: 8px; margin-top: -4px; background: var(--b-acid); }

.b-beats { display: grid; grid-template-columns: 1fr 1fr; gap: 40px 48px; margin-top: 8px; }
.b-beat { border-top: 2px solid var(--b-acid); padding-top: 18px; }
.b-beat .n { font-family: var(--b-display); font-size: 14px; color: var(--b-acid); letter-spacing: 0.18em; display: block; margin-bottom: 6px; }
.b-beat h4 { font-family: var(--b-display); font-weight: 400; text-transform: uppercase; font-size: clamp(22px, 2.4vw, 30px); line-height: 1.04; margin-bottom: 10px; }
.b-beat p { color: #c4c3bb; font-size: 1rem; }
@media (max-width: 820px) { .b-beats { grid-template-columns: 1fr; } }

.b-gallery { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 14px; }
.b-gallery figure { position: relative; border-radius: 4px; overflow: hidden; background: var(--b-ink-3); aspect-ratio: 9 / 16; }
.b-gallery figure.wide { aspect-ratio: auto; }
.b-gallery video, .b-gallery img { width: 100%; height: 100%; object-fit: cover; }
.b-gallery figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 32px 12px 11px; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: #e6e5dd; background: linear-gradient(180deg, rgba(0,0,0,0), rgba(0,0,0,.82) 70%); }
.b-gallery figcaption b { color: var(--b-acid); font-weight: 700; }
@media (max-width: 820px) { .b-gallery { grid-template-columns: 1fr 1fr; } .b-gallery figure.wide { grid-column: 1 / -1; aspect-ratio: 16 / 9; } }

.b-section-gap { margin-top: clamp(52px, 6vw, 76px); }

.b-proves { background: var(--b-acid); color: #0B0B0B; padding: clamp(56px, 7vw, 84px) 0; }
.b-proves .b-eyebrow { color: #0B0B0B; }
.b-proves p.big { font-family: var(--b-display); text-transform: uppercase; font-size: clamp(26px, 3.5vw, 44px); line-height: 1.05; max-width: 28ch; }

.b-cta { padding: clamp(72px, 9vw, 112px) 0; text-align: center; }
.b-cta h2 { font-size: clamp(36px, 5.6vw, 72px); max-width: 18ch; margin: 0 auto 20px; }
.b-cta p { max-width: 54ch; margin: 0 auto 30px; color: #c4c3bb; }
.b-cta .b-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

@media (prefers-reduced-motion: reduce) { .bfp-work * { transition: none !important; } }
