/* ---------- Prompt 07: new page system (additive — does not touch site.css) ---------- */

.glass-nav { transition: background-color .3s ease, border-color .3s ease, backdrop-filter .3s ease; }
.nav-scrolled { background: rgba(11,11,13,0.92); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom-color: rgba(255,255,255,0.1); }

/* section rhythm */
.bc-section { padding-top: 96px; padding-bottom: 96px; }
@media (max-width: 767px) { .bc-section { padding-top: 64px; padding-bottom: 64px; } }
.bc-container { max-width: 1320px; margin-left: auto; margin-right: auto; padding-left: 1.5rem; padding-right: 1.5rem; }
@media (min-width: 768px) { .bc-container { padding-left: 2.5rem; padding-right: 2.5rem; } }

.bc-eyebrow { font-size: 11.5px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: #5AA8FF; display: inline-flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; max-width: 100%; }

/* Grid items default to min-width:auto, which lets long unbreakable content
   (like the eyebrow above) force the whole grid track wider than the
   viewport instead of wrapping — this was cutting off hero text on mobile.
   Resetting min-width on all direct grid children fixes it site-wide. */
.grid > * { min-width: 0; }
.bc-eyebrow::before { content: ""; width: 14px; height: 1px; background: #5AA8FF; display: inline-block; }

/* problem / trust / outcome cards */
.bc-card { background: #1C1F24; border: 1px solid rgba(255,255,255,0.08); border-radius: 14px; padding: 1.75rem; transition: border-color .35s ease, transform .35s ease; }
.bc-card:hover { border-color: rgba(90,168,255,0.4); transform: translateY(-3px); }

.bc-trust-strip { display: flex; flex-wrap: wrap; gap: 0; border-top: 1px solid rgba(255,255,255,0.08); border-bottom: 1px solid rgba(255,255,255,0.08); }
.bc-trust-item { flex: 1 1 auto; padding: 1.1rem 1.4rem; font-size: 12.5px; letter-spacing: .02em; color: rgba(244,245,247,0.6); border-right: 1px solid rgba(255,255,255,0.08); white-space: nowrap; }
.bc-trust-item:last-child { border-right: none; }

/* connected system diagram */
.bc-flow { display: flex; align-items: center; gap: 0; overflow-x: auto; padding-bottom: 8px; }
.bc-flow-node { flex: 0 0 auto; display: flex; flex-direction: column; align-items: center; gap: 10px; min-width: 108px; }
.bc-flow-node .dot { width: 52px; height: 52px; border-radius: 50%; background: #1C1F24; border: 1px solid rgba(192,195,199,0.3); display: flex; align-items: center; justify-content: center; color: #C0C3C7; font-size: 16px; }
.bc-flow-node .lbl { font-size: 11.5px; text-align: center; color: rgba(244,245,247,0.65); max-width: 100px; }
.bc-flow-line { flex: 1 1 40px; height: 1px; background: linear-gradient(90deg, rgba(192,195,199,0.35), rgba(192,195,199,0.1)); min-width: 24px; }

/* process steps */
.bc-process { display: grid; grid-template-columns: repeat(7,1fr); gap: 0; }
@media (max-width: 900px) { .bc-process { grid-template-columns: 1fr; gap: 1.75rem; } }
.bc-process-step { padding: 0 1rem; border-left: 1px solid rgba(255,255,255,0.1); }
.bc-process-step:first-child { border-left: none; }
@media (max-width: 900px) { .bc-process-step { border-left: none; padding-left: 1.25rem; border-left: 1px solid rgba(255,255,255,0.1); } }
.bc-process-num { font-family: 'Playfair Display', serif; font-size: 22px; color: #5AA8FF; margin-bottom: .5rem; }

/* FAQ accordion */
.bc-faq-item { border-bottom: 1px solid rgba(255,255,255,0.08); }
.bc-faq-q { width: 100%; text-align: left; padding: 1.4rem 0; display: flex; justify-content: space-between; align-items: center; gap: 1rem; font-size: 15px; color: #F4F5F7; }
.bc-faq-q i { transition: transform .3s ease; color: #C0C3C7; flex-shrink: 0; }
.bc-faq-item.open .bc-faq-q i { transform: rotate(45deg); }
.bc-faq-a { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.bc-faq-item.open .bc-faq-a { max-height: 400px; }
.bc-faq-a p { padding-bottom: 1.4rem; font-size: 14px; color: rgba(244,245,247,0.6); line-height: 1.75; max-width: 62ch; }

.btn-secondary { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; border-radius: 9999px; border: 1px solid rgba(192,195,199,0.4); color: #F4F5F7; background: transparent; padding: .75rem 1.5rem; font-size: 13px; transition: border-color .3s ease, background-color .3s ease; }
.btn-secondary:hover { border-color: #F4F5F7; background: rgba(255,255,255,0.04); }

.bc-badge { display: inline-flex; align-items: center; gap: 6px; font-size: 10.5px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; border: 1px solid rgba(90,168,255,0.35); color: #5AA8FF; background: rgba(90,168,255,0.08); }

/* Website V2 Phase 1 — shared component layer.
   Concept Demo badge deliberately looks NOTHING like .bc-badge (solid blue,
   used for real projects on the live Demos grid): dashed border + neutral
   chrome tone signals "illustrative", never confusable with a real result. */
.bc-concept-badge { display: inline-flex; align-items: center; gap: 6px; font-size: 10.5px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; border: 1px dashed rgba(192,195,199,0.5); color: #C0C3C7; background: rgba(192,195,199,0.06); }

/* Before/With comparison — left column intentionally has no connectors
   (visually "scattered"), right column reuses .bc-flow's connected language. */
.bc-compare-grid { display: grid; gap: 2.5rem; }
.bc-compare-grid > * { min-width: 0; }
@media (min-width: 900px) { .bc-compare-grid { grid-template-columns: 1fr 1fr; gap: 3rem; } }
.bc-compare-before { display: flex; flex-wrap: wrap; gap: 10px; align-content: flex-start; }
.bc-compare-chip { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 10px; background: #1C1F24; border: 1px solid rgba(255,255,255,0.06); color: rgba(244,245,247,0.45); font-size: 13px; }
.bc-compare-label { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 1.25rem; }
.bc-compare-label.is-before { color: rgba(244,245,247,0.35); }
.bc-compare-label.is-after { color: #5AA8FF; }

/* AI + Human split */
.bc-split-grid { display: grid; gap: 1.5rem; }
.bc-split-grid > * { min-width: 0; }
@media (min-width: 768px) { .bc-split-grid { grid-template-columns: 1fr 1fr; gap: 2rem; } }
.bc-split-col { border-radius: 14px; padding: 1.75rem; border: 1px solid rgba(255,255,255,0.08); }
.bc-split-col.is-ai { background: rgba(90,168,255,0.05); border-color: rgba(90,168,255,0.2); }
.bc-split-col.is-human { background: #1C1F24; }
.bc-split-item { display: flex; align-items: center; gap: 10px; padding: 8px 0; font-size: 13.5px; color: rgba(244,245,247,0.75); }

/* Industry cards */
.bc-industry-card { display: flex; flex-direction: column; gap: 1rem; }
.bc-industry-journey { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 12px; color: rgba(244,245,247,0.5); }
.bc-industry-journey .step { white-space: nowrap; }
.bc-industry-journey .sep { color: rgba(90,168,255,0.5); }
.bc-coming-soon-tag { display: inline-flex; align-items: center; font-size: 10.5px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; border: 1px solid rgba(255,255,255,0.12); color: rgba(244,245,247,0.4); }

/* Capability matrix (What We Actually Connect) */
.bc-capability-group { border-top: 1px solid rgba(255,255,255,0.08); padding-top: 1.5rem; }
.bc-capability-list { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 1rem; }
.bc-capability-list li { font-size: 12.5px; color: rgba(244,245,247,0.55); background: rgba(255,255,255,0.04); border-radius: 8px; padding: 6px 12px; }

/* mobile-only auto-scrolling marquee — used for the trust strip and the
   connected-system flow diagrams, which otherwise either wrap into an
   uneven grid (trust strip) or get clipped by a manual horizontal scroll
   with no visible affordance (flow diagrams) on narrow phones. Content is
   duplicated once by the caller so the -50% loop point is seamless. */
.bc-marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 28px, #000 calc(100% - 28px), transparent); mask-image: linear-gradient(90deg, transparent, #000 28px, #000 calc(100% - 28px), transparent); }
/* same edge fade as .bc-marquee, but for content that stays still and is
   swiped manually rather than auto-scrolling (no track/animation). */
.bc-scroll-fade { -webkit-mask-image: linear-gradient(90deg, transparent, #000 20px, #000 calc(100% - 20px), transparent); mask-image: linear-gradient(90deg, transparent, #000 20px, #000 calc(100% - 20px), transparent); }
.bc-marquee-track { display: flex; width: max-content; will-change: transform; animation: bc-marquee-scroll linear infinite; }
.bc-marquee-track.speed-slow { animation-duration: 26s; }
.bc-marquee-track.speed-med { animation-duration: 18s; }
@keyframes bc-marquee-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .bc-marquee-track { animation: none; } }

/* Before/Connected VISUAL REWORK (v2) — the v1 symmetrical-card-grid
   treatment was rejected: it read as "organized" on both sides instead of
   chaos-vs-order. This version is intentionally asymmetric end to end —
   BEFORE is an absolute-positioned editorial collage (more objects,
   different sizes/rotations/depths, no connectors); CONNECTED is one large
   system anchor with entry nodes feeding in and a single vertical flow
   threading out (fewer, integrated objects). Everything is still real HTML
   text over CSS/inline-SVG — no raster asset, nothing essential lives only
   in a decorative shape. */
.bc-vs-wrap { position: relative; }
.bc-vs-grid { display: grid; grid-template-columns: 48fr 4fr 48fr; align-items: start; gap: 0 18px; }
@media (max-width: 900px) { .bc-vs-grid { grid-template-columns: 1fr; gap: 0; } }
.bc-vs-panel { background: #141619; border: 1px solid rgba(255,255,255,0.08); border-radius: 20px; padding: 30px 26px; }
.bc-vs-head { margin-bottom: 26px; }
.bc-vs-head h3 { font-family: 'Playfair Display', serif; font-size: 22px; margin-bottom: 6px; }
.bc-vs-head p { font-size: 12px; color: rgba(244,245,247,0.4); letter-spacing: .02em; }

.bc-vs-divider { display: flex; align-items: center; justify-content: center; padding-top: 90px; }
.bc-vs-divider .badge { width: 44px; height: 44px; border-radius: 50%; background: #0B0B0D; border: 1px solid rgba(255,255,255,0.14); display: flex; align-items: center; justify-content: center; font-size: 10.5px; font-weight: 700; letter-spacing: .04em; color: #F4F5F7; box-shadow: 0 8px 28px rgba(0,0,0,0.45); }
@media (max-width: 900px) { .bc-vs-divider { display: none; } }
.bc-vs-mobile-arrow { display: none; text-align: center; color: rgba(244,245,247,0.3); padding: 18px 0; }
@media (max-width: 900px) { .bc-vs-mobile-arrow { display: block; } .bc-vs-panel { margin-bottom: 0; } }

/* BEFORE — editorial collage. Desktop/tablet: absolute positioning inside
   a proportional (aspect-ratio) canvas, so % coordinates scale cleanly at
   any width instead of needing per-breakpoint tuning. Depth is carried by
   box-shadow + z-index, not by making anything literally out of place. */
.bc-collage { position: relative; aspect-ratio: 1 / 0.98; }
.bc-collage-item { position: absolute; background: #1C1F24; border: 1px solid rgba(255,255,255,0.07); border-radius: 10px; padding: 10px 12px 11px; }
.bc-collage-item .icn { color: rgba(192,195,199,0.6); display: block; margin-bottom: 7px; }
.bc-collage-item .lbl { font-size: 11.5px; font-weight: 500; color: rgba(244,245,247,0.78); line-height: 1.3; }
.bc-collage-item.depth-near { box-shadow: 0 14px 30px -8px rgba(0,0,0,0.55); }
.bc-collage-item.depth-mid { box-shadow: 0 8px 18px -6px rgba(0,0,0,0.4); }
.bc-collage-item.depth-far { box-shadow: 0 4px 10px -4px rgba(0,0,0,0.3); opacity: .88; }
.bc-collage-item.icon-only { display: flex; align-items: center; gap: 8px; padding: 10px 13px; }
.bc-collage-item.icon-only .icn { margin-bottom: 0; }
.bc-collage-mock { height: 30px; border-radius: 6px; background: #16181C; border: 1px solid rgba(255,255,255,0.05); padding: 6px 7px; margin-bottom: 7px; overflow: hidden; }
.bc-collage-mock.rows { display: flex; flex-direction: column; gap: 3px; justify-content: center; }
.bc-collage-mock.rows span { display: block; height: 3px; border-radius: 2px; background: rgba(255,255,255,0.09); }
.bc-collage-mock.rows span:nth-child(1) { width: 85%; } .bc-collage-mock.rows span:nth-child(2) { width: 58%; }
.bc-collage-mock.chat { display: flex; flex-direction: column; gap: 3px; justify-content: center; }
.bc-collage-mock.chat .bub { height: 6px; border-radius: 5px; background: rgba(255,255,255,0.08); }
.bc-collage-mock.chat .bub.l { width: 62%; }
.bc-collage-mock.chat .bub.r { width: 42%; align-self: flex-end; background: rgba(90,168,255,0.16); }
.bc-collage-mock.grid5 { display: grid; grid-template-columns: repeat(6,1fr); gap: 2px; align-content: center; }
.bc-collage-mock.grid5 span { height: 4px; border-radius: 1px; background: rgba(255,255,255,0.07); }
.bc-collage-mock.grid5 span.on { background: rgba(90,168,255,0.4); }
.bc-collage-mock.chips { display: flex; gap: 5px; align-items: center; }
.bc-collage-mock.chips .chip-ic { width: 18px; height: 18px; border-radius: 5px; background: rgba(255,255,255,0.06); display: flex; align-items: center; justify-content: center; color: rgba(192,195,199,0.6); font-size: 9px; }
/* mobile: the true collage doesn't stay legible under ~700px, so it
   simplifies to a stacked list — still short-label-only, rotation kept
   for texture, full-width per §16 of the brief. */
@media (max-width: 700px) {
  .bc-collage { aspect-ratio: auto; display: flex; flex-direction: column; gap: 10px; }
  .bc-collage-item { position: static !important; width: 100% !important; }
}

.bc-vs-summary { display: flex; align-items: flex-start; gap: 12px; margin-top: 22px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,0.08); }
.bc-vs-summary .ic { width: 30px; height: 30px; border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: 13px; }
.bc-vs-summary.is-before .ic { border: 1px solid rgba(248,113,113,0.3); color: #F87171; }
.bc-vs-summary.is-connected .ic { border: 1px solid rgba(90,168,255,0.4); color: #5AA8FF; }
.bc-vs-summary .t { font-size: 12.5px; font-weight: 600; }
.bc-vs-summary.is-before .t { color: rgba(244,245,247,0.7); }
.bc-vs-summary.is-connected .t { color: #F4F5F7; }

/* CONNECTED — one central system anchor, not another card grid. Channel
   nodes feed straight down into the anchor's top edge; a single vertical
   flow (thin line + small nodes) threads down out the bottom. Fewer,
   integrated objects — the opposite visual weight of the collage. */
.bc-central-channels { display: flex; justify-content: center; gap: 22px; margin-bottom: 0; position: relative; z-index: 1; }
.bc-central-channels .ch { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.bc-central-channels .ch .dot { width: 30px; height: 30px; border-radius: 50%; background: #1C1F24; border: 1px solid rgba(255,255,255,0.1); display: flex; align-items: center; justify-content: center; color: rgba(192,195,199,0.75); }
.bc-central-channels .ch .stem { width: 1px; height: 16px; background: linear-gradient(180deg, rgba(90,168,255,0.4), rgba(90,168,255,0.05)); margin-top: 2px; }

.bc-central-screen { background: #16181C; border: 1px solid rgba(255,255,255,0.1); border-radius: 14px; overflow: hidden; margin-top: -2px; box-shadow: 0 20px 45px -14px rgba(0,0,0,0.55); }
.bc-central-screen .bar { display: flex; gap: 5px; padding: 10px 14px; border-bottom: 1px solid rgba(255,255,255,0.06); }
.bc-central-screen .bar span { width: 6px; height: 6px; border-radius: 50%; background: rgba(255,255,255,0.14); }
.bc-central-screen .body { padding: 20px 18px; }
.bc-central-screen .wordmark { font-size: 9px; letter-spacing: .12em; text-transform: uppercase; color: rgba(244,245,247,0.35); margin-bottom: 10px; }
.bc-central-screen .mini-h { font-family: 'Playfair Display', serif; font-size: 17px; line-height: 1.3; }

.bc-central-flow { display: flex; flex-direction: column; align-items: center; margin-top: 4px; }
.bc-central-flow .line { width: 1px; height: 16px; background: rgba(90,168,255,0.3); }
.bc-central-node { width: 100%; display: flex; align-items: center; gap: 12px; background: #1C1F24; border: 1px solid rgba(255,255,255,0.06); border-radius: 10px; padding: 10px 14px; }
.bc-central-node .dot { width: 30px; height: 30px; border-radius: 50%; background: rgba(90,168,255,0.1); border: 1px solid rgba(90,168,255,0.3); color: #5AA8FF; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.bc-central-node .t { font-size: 12.5px; font-weight: 600; }
.bc-central-node .s { font-size: 10.5px; color: rgba(244,245,247,0.4); }

/* Simplified "What We Connect" cards — title + one sentence, icon-led. */
.bc-capability-card { display: flex; gap: 14px; align-items: flex-start; }
.bc-capability-card .icn-wrap { width: 40px; height: 40px; border-radius: 10px; background: rgba(90,168,255,0.08); border: 1px solid rgba(90,168,255,0.18); display: flex; align-items: center; justify-content: center; color: #5AA8FF; flex-shrink: 0; }
.bc-capability-card h3 { font-size: 14.5px; font-weight: 600; margin-bottom: 5px; }
.bc-capability-card p { font-size: 13px; color: rgba(244,245,247,0.55); line-height: 1.65; }

/* reveal on scroll — progressive enhancement only.
   Content is fully visible by default (no-JS / reduced-motion safe);
   the .js-reveal class is added by script.js only after JS confirms it can run the IntersectionObserver. */
@media (prefers-reduced-motion: no-preference) {
  .js-reveal .bc-reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s cubic-bezier(.19,1,.22,1), transform .8s cubic-bezier(.19,1,.22,1); }
  .js-reveal .bc-reveal.bc-revealed { opacity: 1; transform: translateY(0); }
}
