/* /built-at-bkup — Brooklyn Uprising case study and coming-soon pipeline. Builds on landing.css tokens. */

.tp-shell { --bb-night: #0B1120; --bb-night-2: #111A2E; --bb-mint: #34D399; --bb-line: #E7DFD2; }

.bb-eyebrow { font: 12.5px var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); display: flex; align-items: center; gap: 10px; margin: 0; }
.bb-eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #10B981; box-shadow: 0 0 0 4px rgba(16,185,129,.18); }
.bb-dark .bb-eyebrow { color: rgba(255,255,255,.58); }
.tp-shell .bb-h2 { font-size: clamp(34px, 4.6vw, 58px); font-weight: 700; letter-spacing: -.035em; line-height: 1.03; margin: 18px 0 0; }
.tp-shell .bb-h3 { font-size: clamp(26px, 3vw, 36px); font-weight: 700; letter-spacing: -.03em; line-height: 1.08; margin: 18px 0 16px; }
.bb-dark .tp-accent, .bb-hero .tp-accent { color: var(--bb-mint); }
.bb-hero .bb-eyebrow { color: rgba(255,255,255,.6); }
.bb-hero .tp-lede { color: rgba(255,255,255,.74); }
.bb-dark { background: var(--bb-night); color: #fff; }
.bb-dark .tp-lede { color: rgba(255,255,255,.72); }

/* Hero */
.bb-hero { background: radial-gradient(1200px 600px at 80% -10%, rgba(16,185,129,.18), transparent 60%), var(--bb-night); color: #fff; padding: 88px 0 0; overflow: hidden; }
.bb-hero-copy { max-width: 920px; padding-bottom: 56px; }
.tp-shell .bb-hero h1 { font-size: clamp(44px, 7vw, 88px); font-weight: 700; letter-spacing: -.04em; line-height: 1.0; margin: 22px 0 26px; }
.bb-hero .tp-lede { max-width: 700px; }
.bb-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.bb-btn-light { background: #fff; color: var(--ink); }
.bb-btn-light:hover { background: var(--paper-2); }
.bb-btn-outline { color: #fff; border-color: rgba(255,255,255,.24); }
.bb-btn-outline:hover { border-color: #fff; }
.bb-collage { position: relative; height: 500px; }
.bb-collage-site { position: absolute; left: 0; top: 40px; width: 68%; border-radius: 14px 14px 0 0; overflow: hidden; box-shadow: 0 30px 80px rgba(0,0,0,.5); background: #fff; }
.bb-collage-app { position: absolute; right: 0; top: 0; width: 40%; border-radius: 22px 22px 0 0; overflow: hidden; box-shadow: 0 30px 80px rgba(0,0,0,.5); border: 1px solid rgba(255,255,255,.08); }
.bb-collage img { width: 100%; display: block; }

/* How it gets built */
.bb-split { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: end; }
.bb-steps { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin: 56px 0 0; }
.bb-steps li { background: var(--white); border: 1px solid var(--bb-line); border-radius: var(--radius-lg); padding: 26px 24px 28px; }
.bb-steps small { font: 12px var(--f-mono); color: var(--accent); letter-spacing: .12em; }
.bb-steps b { display: block; margin: 12px 0 8px; font-size: 21px; font-weight: 600; letter-spacing: -.02em; line-height: 1.15; }
.bb-steps p { margin: 0; color: var(--ink-3); font-size: 15px; }
.bb-steps li.bb-step-topo { background: var(--ink); color: #fff; border-color: var(--ink); }
.bb-steps li.bb-step-topo p { color: rgba(255,255,255,.72); }
.bb-steps li.bb-step-topo small { color: var(--bb-mint); }

/* Already in Topo */
.bb-shipped { background: var(--paper-2); border-top: 1px solid var(--bb-line); border-bottom: 1px solid var(--bb-line); }
.bb-cards { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; margin-top: 48px; }
.bb-card { background: var(--white); border: 1px solid var(--bb-line); border-radius: var(--radius-lg); overflow: hidden; display: flex; flex-direction: column; grid-column: span 2; }
.bb-card-wide { grid-column: span 3; }
.bb-card-shot { background: #F1F5F9; aspect-ratio: 16 / 10; overflow: hidden; }
.bb-card-shot img { width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; }
.bb-card-body { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.bb-card h3 { margin: 0; font-size: 20px; font-weight: 600; letter-spacing: -.02em; }
.bb-card p { margin: 0; color: var(--ink-3); font-size: 15px; flex: 1; }
.bb-live { font: 13px var(--f-mono); color: var(--accent); text-decoration: none; margin-top: 6px; }
.bb-live:hover { text-decoration: underline; }

.bb-badge { display: inline-flex; align-items: center; gap: 6px; font: 11.5px var(--f-mono); letter-spacing: .08em; text-transform: uppercase; padding: 5px 10px; border-radius: 999px; width: max-content; }
.bb-badge-topo { background: #D1FAE5; color: #065F46; }
.bb-badge-running, .bb-badge-testing { background: rgba(52,211,153,.14); color: var(--bb-mint); border: 1px solid rgba(52,211,153,.35); }
.bb-badge-running::before, .bb-badge-testing::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; animation: bb-pulse 2s infinite; }
.bb-favorite { display: inline-block; font: 11.5px var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--bb-night); background: var(--bb-mint); padding: 4px 10px; border-radius: 6px; margin-left: 8px; vertical-align: middle; }
@keyframes bb-pulse { 50% { opacity: .35; } }
@media (prefers-reduced-motion: reduce) { .bb-badge-running::before, .bb-badge-testing::before { animation: none; } }

/* Coming soon */
.bb-lab { padding: 110px 0 60px; }
.bb-index { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.bb-index a { font: 13px var(--f-mono); color: rgba(255,255,255,.8); text-decoration: none; border: 1px solid rgba(255,255,255,.14); border-radius: 999px; padding: 7px 14px; }
.bb-index a:hover { border-color: var(--bb-mint); color: var(--bb-mint); }
.bb-feature { display: grid; grid-template-columns: 5fr 7fr; gap: 56px; align-items: center; padding: 80px 0; border-top: 1px solid rgba(255,255,255,.08); scroll-margin-top: 64px; }
.bb-feature:first-of-type { margin-top: 40px; }
.bb-feature-flip { grid-template-columns: 7fr 5fr; }
.bb-feature-flip .bb-copy { order: 2; }
.bb-copy p { color: rgba(255,255,255,.72); margin: 0 0 18px; }
.bb-bullets { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.bb-bullets li { display: flex; gap: 12px; color: rgba(255,255,255,.86); font-size: 15.5px; }
.bb-bullets li::before { content: ""; flex: none; width: 18px; height: 18px; margin-top: 3px; border-radius: 50%; background: rgba(52,211,153,.16) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2334D399' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / 11px no-repeat; }
.bb-replaces { font: 12.5px var(--f-mono); color: rgba(255,255,255,.5); margin-top: 18px; }
.bb-replaces s { color: rgba(255,255,255,.62); }
.bb-visual { position: relative; min-width: 0; }
.bb-window { border-radius: 14px; overflow: hidden; box-shadow: 0 30px 80px rgba(0,0,0,.55); border: 1px solid rgba(255,255,255,.1); background: var(--bb-night-2); }
.bb-window::before { content: ""; display: block; height: 28px; background: #1E293B radial-gradient(circle at 16px 14px, #475569 4px, transparent 5px) , radial-gradient(circle at 32px 14px, #475569 4px, transparent 5px), radial-gradient(circle at 48px 14px, #475569 4px, transparent 5px); background-color: #1E293B; }
.bb-window img { display: block; width: 100%; }
.bb-window-over { position: absolute; width: 56%; right: -4%; bottom: -12%; }
.bb-stack { display: grid; gap: 14px; }
.bb-stack .bb-window:nth-child(2) { width: 88%; margin-left: auto; }
.bb-phones { display: flex; gap: 18px; justify-content: center; align-items: flex-start; }
.bb-phone { flex: 0 1 250px; border-radius: 34px; padding: 8px; background: #000; box-shadow: 0 30px 70px rgba(0,0,0,.55); border: 1px solid rgba(255,255,255,.12); overflow: hidden; }
.bb-phone img { display: block; width: 100%; border-radius: 27px; aspect-ratio: 390 / 820; object-fit: cover; object-position: top; }
.bb-phones .bb-phone:nth-child(2) { margin-top: 44px; }
.bb-combo { display: grid; grid-template-columns: 1fr 210px; gap: 20px; align-items: end; }

/* Close */
.bb-close-box { background: var(--ink) radial-gradient(600px 300px at 100% 0, rgba(16,185,129,.25), transparent 70%); color: #fff; border-radius: 28px; padding: 64px; display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: center; }
.bb-close-box .tp-accent { color: var(--bb-mint); }
.bb-close-box p { color: rgba(255,255,255,.72); margin: 18px 0 0; }
.bb-close-box .bb-cta { justify-content: flex-end; margin: 0; }

@media (max-width: 980px) {
  .bb-split, .bb-feature, .bb-feature-flip, .bb-close-box { grid-template-columns: 1fr; gap: 32px; }
  .bb-feature-flip .bb-copy { order: 0; }
  .bb-steps { grid-template-columns: 1fr 1fr; }
  .bb-cards { grid-template-columns: 1fr 1fr; }
  .bb-card, .bb-card-wide { grid-column: span 1; }
  .bb-collage { height: auto; display: grid; grid-template-columns: 1.6fr 1fr; gap: 14px; align-items: start; }
  .bb-collage-site, .bb-collage-app { position: static; width: auto; }
  .bb-window-over { display: none; }
  .bb-close-box { padding: 44px 32px; }
  .bb-close-box .bb-cta { justify-content: flex-start; }
}
@media (max-width: 640px) {
  .bb-hero { padding-top: 56px; }
  .bb-hero-copy { padding-bottom: 36px; }
  .bb-steps, .bb-cards { grid-template-columns: 1fr; }
  .bb-collage { grid-template-columns: 1fr; }
  .bb-collage-app { display: none; }
  .bb-feature { padding: 56px 0; }
  .bb-phones { gap: 10px; }
  .bb-phones .bb-phone:nth-child(3) { display: none; }
  .bb-phones .bb-phone:nth-child(2) { margin-top: 28px; }
  .bb-combo { grid-template-columns: 1fr 120px; gap: 10px; }
  .bb-phone { border-radius: 24px; padding: 5px; }
  .bb-phone img { border-radius: 20px; }
  .bb-stack .bb-window:nth-child(2) { width: 100%; }
}
