/* SITE-8: "See it work" strip (template-parts/see-it-work.php). The markup is the
   final state; .is-anim (set by see-it-work.js) hides each step until it plays. */
.br-siw { padding-top: 56px; padding-bottom: 56px; }
.br-siw__head { min-height: 44px; display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.br-siw__head h2 { font-size: 1.5rem; margin: 0; }
.br-siw__replay { font: 600 0.9rem/1 Inter, system-ui, sans-serif; color: var(--br-teal); background: transparent; border: 2px solid var(--br-teal); border-radius: 999px; padding: 0.6em 1.1em; min-height: 44px; cursor: pointer; }
.br-siw__replay:hover { background: var(--br-teal); color: #fff; }
.br-siw__panels { display: grid; grid-template-columns: 320px 1fr 1fr; gap: 24px; align-items: start; }
.br-siw__label { font: 700 0.8rem/1.3 Inter, system-ui, sans-serif; text-transform: uppercase; letter-spacing: 0.06em; color: var(--br-teal-d); margin: 0 0 10px; }
.br-siw__note { font-size: 0.9rem; opacity: 0.75; margin: 20px 0 0; }

/* Phone */
.br-siw__phone { background: var(--br-ink); border-radius: 28px; padding: 10px; box-shadow: var(--br-shadow); }
.br-siw__bar { display: flex; align-items: center; gap: 8px; height: 44px; padding: 0 10px; color: #fff; font-weight: 600; font-size: 0.9rem; }
.br-siw__avatar { width: 28px; height: 28px; border-radius: 50%; background: var(--br-teal); flex: none; }
.br-siw__screen { position: relative; height: 470px; overflow: hidden; border-radius: 0 0 20px 20px; background: #EFEAE2; }
.br-siw__chat { position: absolute; inset: 0 0 52px; display: flex; flex-direction: column; justify-content: flex-end; gap: 6px; padding: 10px; transition: transform 0.35s ease; }
.br-siw__msg { flex: none; max-width: 86%; margin: 0; padding: 7px 10px; border-radius: 10px; background: #fff; font-size: 0.82rem; line-height: 1.4; box-shadow: 0 1px 1px rgba(20, 33, 61, 0.1); align-self: flex-start; }
.br-siw__msg--me { background: #D9FDD3; align-self: flex-end; }
.br-siw__act { display: block; margin: 6px -10px 0; padding: 6px 10px 0; border-top: 1px solid #E6E6E6; text-align: center; color: #027EB5; font-weight: 600; border-radius: 6px; }
.br-siw__input { position: absolute; left: 8px; right: 8px; bottom: 8px; height: 36px; border-radius: 18px; background: #fff; display: flex; align-items: center; padding: 0 14px; font-size: 0.85rem; }
.br-siw__ph { color: #8A8A8A; }
.br-siw__typed { display: none; padding-right: 1px; border-right: 1px solid var(--br-ink); }
.is-anim .br-siw__typed.on { display: inline; }
.is-anim .br-siw__typed.on + .br-siw__ph { display: none; }
/* Dims the chat behind the open list, as WhatsApp does. Opacity only. */
.br-siw__scrim { position: absolute; inset: 0; background: rgba(11, 20, 26, 0.4); opacity: 0; visibility: hidden; transition: opacity 0.35s, visibility 0.35s; }
.is-anim .br-siw__scrim.on { opacity: 1; visibility: visible; }
.br-siw__sheet { position: absolute; left: 0; right: 0; bottom: 0; background: #fff; border-radius: 16px 16px 0 0; padding: 12px 16px 16px; box-shadow: 0 -8px 24px rgba(20, 33, 61, 0.18); visibility: hidden; transform: translateY(100%); transition: transform 0.35s ease, visibility 0.35s; }
.is-anim .br-siw__sheet.on { visibility: visible; transform: none; }
.br-siw__sheet-h { margin: 0 0 8px; text-align: center; font-weight: 700; font-size: 0.9rem; }
.br-siw__sheet-t { margin: 0 0 4px; color: var(--br-teal-d); font-size: 0.78rem; font-weight: 600; }
.br-siw__row { display: flex; justify-content: space-between; align-items: center; padding: 9px 4px; font-size: 0.85rem; border-bottom: 1px solid #EEE; border-radius: 6px; }
.br-siw__row::after { content: ""; width: 14px; height: 14px; border: 2px solid #9AA0A6; border-radius: 50%; box-sizing: border-box; }
.br-siw__row.tap::after { border: 4px solid var(--br-teal); }

/* Team and Pipeline */
.br-siw__box { background: var(--br-mist); border-radius: var(--br-radius); padding: 16px; }
.br-siw__box-h { margin: 0 0 12px; font-weight: 700; }
.br-siw__lead, .br-siw__ghost { background: var(--br-paper); border-radius: 10px; padding: 12px; margin-bottom: 10px; box-shadow: 0 1px 3px rgba(20, 33, 61, 0.08); }
.br-siw__lead strong { display: block; margin-bottom: 8px; }
.br-siw__chips { display: flex; flex-wrap: wrap; gap: 6px; }
.br-siw__chip { font-size: 0.75rem; font-weight: 600; padding: 3px 9px; border-radius: 999px; background: var(--br-mist); }
.br-siw__chip--high { background: transparent; color: #B42318; box-shadow: inset 0 0 0 1.5px #B42318; }
.br-siw__chip--med { background: #FDF0D5; color: #8A5A00; }
.br-siw__ghost { height: 58px; opacity: 0.5; }
.br-siw__pipe { --lane: 50px; position: relative; }
.br-siw__lanes { list-style: none; margin: 0; padding: 0; }
.br-siw__lanes li { height: var(--lane); box-sizing: border-box; display: flex; align-items: center; font-size: 0.85rem; font-weight: 600; border-bottom: 1px solid rgba(20, 33, 61, 0.1); }
.br-siw__lanes li:last-child { border-bottom: 0; }
.br-siw__deal { position: absolute; top: 4px; left: 44%; right: 0; height: calc(var(--lane) - 8px); box-sizing: border-box; padding: 4px 10px; display: flex; flex-direction: column; justify-content: center; background: var(--br-paper); border-left: 3px solid var(--br-teal); border-radius: 8px; box-shadow: 0 1px 3px rgba(20, 33, 61, 0.12); font-size: 0.8rem; line-height: 1.3; transform: translateY(calc(var(--pos) * var(--lane))); transition: transform 0.6s ease, opacity 0.4s, visibility 0.4s; }
.br-siw__paid { color: var(--br-teal-d); font-weight: 600; }

/* Steps not yet played */
.is-anim .br-siw__msg:not(.on) { visibility: hidden; }
.is-anim .br-siw__msg.on { animation: br-siw-in 0.3s ease; }
.br-siw__lead, .br-siw__chips, .br-siw__paid { transition: opacity 0.4s, transform 0.4s, visibility 0.4s; }
.is-anim .br-siw__lead:not(.on), .is-anim .br-siw__chips:not(.on), .is-anim .br-siw__deal:not(.on), .is-anim .br-siw__paid:not(.on) { visibility: hidden; opacity: 0; }
.is-anim .br-siw__lead:not(.on) { transform: translateY(-14px); }
.br-siw .tap { animation: br-siw-tap 0.6s ease; background: rgba(14, 124, 123, 0.14); }
@keyframes br-siw-in { from { opacity: 0; transform: translateY(8px); } }
@keyframes br-siw-tap { from { box-shadow: 0 0 0 0 rgba(14, 124, 123, 0.5); } to { box-shadow: 0 0 0 12px rgba(14, 124, 123, 0); } }

@media (max-width: 899px) {
	.br-siw__panels { grid-template-columns: 1fr; }
	.br-siw__panel:first-child { width: 100%; max-width: 320px; margin: 0 auto; }
	.br-siw__pipe { --lane: 60px; }
}
@media (prefers-reduced-motion: reduce) {
	.br-siw * { animation: none !important; transition: none !important; }
}
