/* ============================================================
   live.css — the moving hero scenes on the six service landing pages (2026-10-09).
   Steve: "it doesn't have to be such a boring diagram … something interactive with motion
   that pertains to the idea." Each scene is the page's idea, playing: the map pack you climb,
   the review that gets answered, the before/after you drag, the AI answer that names you,
   the texts that send themselves, the five vendors that become one partner.
   Rules kept from the diagram system: grey bars stand in for text (never fake names/numbers),
   olive marks the change, every scene is a white card on the dark hero, and it all works
   with reduced motion (it just shows the end state and the controls still switch).
   ============================================================ */

.mech--live { container-type: inline-size; }
.lv {
  position: relative;
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: 20px;
  padding: 18px;
  box-shadow: 0 2px 6px rgba(28,46,31,.06), 0 24px 54px -26px rgba(28,46,31,.4);
  color: var(--ink);
  overflow: hidden;
  -webkit-tap-highlight-color: transparent;
}
.lv * { box-sizing: border-box; }
.lv .m-bar { background: color-mix(in srgb, var(--ink) 10%, transparent); }

/* the segmented switch every scene uses */
.lv-seg {
  display: inline-flex; gap: 2px; padding: 3px;
  background: #f1eee4; border: 1px solid var(--line-soft); border-radius: 999px;
  max-width: 100%;
}
.lv-seg button {
  appearance: none; border: 0; background: transparent; cursor: pointer;
  font: 600 12.5px/1 'Inter', system-ui, sans-serif; color: var(--muted);
  padding: 8px 13px; border-radius: 999px; white-space: nowrap;
  transition: background .25s, color .25s, box-shadow .25s;
}
.lv-seg button:hover { color: var(--ink); }
.lv-seg button[aria-pressed="true"] {
  background: #fff; color: var(--accent-dark);
  box-shadow: 0 1px 2px rgba(28,46,31,.08), 0 2px 8px rgba(28,46,31,.08);
}
.lv-seg button:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }
.lv__ctrl { display: flex; justify-content: center; margin-top: 14px; }

.lv-stars { display: inline-flex; gap: 2px; }
.lv-stars i {
  width: 11px; height: 11px; display: block;
  background: color-mix(in srgb, var(--ink) 14%, transparent);
  clip-path: polygon(50% 0,61% 35%,98% 35%,68% 57%,79% 91%,50% 70%,21% 91%,32% 57%,2% 35%,39% 35%);
  transition: background .3s;
}
.lv-stars i.on { background: #e0a526; }

.lv-you {
  display: inline-flex; align-items: center; padding: 2px 8px; border-radius: 6px;
  background: var(--accent); color: #fff; font-size: 11px; font-weight: 800; letter-spacing: .02em;
}

/* ============ 1. The map pack (Google Business Profile) ============ */
.pk-search {
  display: flex; align-items: center; gap: 8px;
  border: 1px solid var(--line-soft); border-radius: 999px; padding: 8px 14px;
  font-size: 13px; color: var(--ink-soft); background: #fff;
}
.pk-search svg { width: 15px; height: 15px; flex: 0 0 auto; stroke: var(--muted); fill: none; stroke-width: 2; }
.pk-search .m-chip { padding: 1px 8px; font-size: 12px; }
.pk-map {
  position: relative; height: 112px; margin: 12px 0; border-radius: 12px; overflow: hidden;
  background: #eef0e4;
}
.pk-map svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.pk-map .rd { fill: none; stroke: #fff; stroke-width: 7; stroke-linecap: round; }
.pk-map .rd2 { fill: none; stroke: #fff; stroke-width: 3.5; }
.pk-map .wt { fill: #d5e2e4; }
.pk-map .pk { fill: #dde6cc; }
.pk-pin {
  position: absolute; left: var(--x); top: var(--y);
  width: 22px; height: 22px; margin: -22px 0 0 -11px;
  border-radius: 50% 50% 50% 0; transform: rotate(-45deg);
  background: #9aa39b; border: 2px solid #fff; box-shadow: 0 2px 5px rgba(0,0,0,.2);
  transition: background .4s, transform .5s cubic-bezier(.3,1.6,.5,1), width .4s, height .4s;
}
.pk-pin--you { background: #b9bdb0; z-index: 2; }
.lv--pack.is-on .pk-pin--you {
  background: var(--accent); width: 30px; height: 30px; margin: -30px 0 0 -15px;
  animation: pkBounce .7s .55s cubic-bezier(.3,1.6,.5,1) both;
}
.pk-pin--you::after {
  content: ''; position: absolute; inset: -9px; border-radius: 50%;
  border: 2px solid var(--accent); opacity: 0; transform: rotate(45deg);
}
.lv--pack.is-on .pk-pin--you::after { animation: pkRing 2.2s 1s ease-out infinite; }
@keyframes pkBounce { 0% { transform: rotate(-45deg) translate(6px,-6px); } 45% { transform: rotate(-45deg) translate(-4px,4px); } 100% { transform: rotate(-45deg); } }
@keyframes pkRing { 0% { opacity: .7; transform: rotate(45deg) scale(.6); } 100% { opacity: 0; transform: rotate(45deg) scale(1.8); } }

.pk-list { --rh: 64px; position: relative; height: calc(var(--rh) * 3); margin: 0; padding: 0; list-style: none; }
.pk-row {
  position: absolute; left: 0; right: 0; top: 0; height: calc(var(--rh) - 8px);
  display: grid; grid-template-columns: 44px 1fr auto; gap: 11px; align-items: center;
  padding: 0 10px; border: 1px solid var(--line-soft); border-radius: 12px; background: #fff;
  transform: translateY(calc(var(--pos) * var(--rh)));
  transition: transform .85s cubic-bezier(.2,.8,.2,1), border-color .4s, box-shadow .4s;
}
.pk-row[data-who="a"] { --pos: 0; } .pk-row[data-who="b"] { --pos: 1; } .pk-row--you { --pos: 2; }
.lv--pack.is-on .pk-row[data-who="a"] { --pos: 1; }
.lv--pack.is-on .pk-row[data-who="b"] { --pos: 2; }
.lv--pack.is-on .pk-row--you {
  --pos: 0; z-index: 2;
  border-color: color-mix(in srgb, var(--accent) 55%, transparent);
  box-shadow: 0 6px 20px -8px rgba(74,102,24,.45);
}
.pk-thumb { width: 44px; height: 44px; border-radius: 9px; background: linear-gradient(135deg,#cfd5c6,#aeb7a6); position: relative; overflow: hidden; }
.pk-row--you .pk-thumb { background: #fff; border: 1.5px dashed #c5c9bd; transition: background .5s, border-color .5s; }
.lv--pack.is-on .pk-row--you .pk-thumb {
  border-color: transparent;
  background: linear-gradient(180deg, transparent 55%, #8a6b4a 55% 100%), linear-gradient(160deg,#c9dba0,#6b8e23);
}
.pk-body { min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.pk-name { display: flex; align-items: center; gap: 7px; }
.pk-name .m-bar { flex: 0 1 auto; }
.pk-chips { display: flex; gap: 4px; }
.pk-chips b {
  display: block; height: 14px; width: 30px; border-radius: 5px;
  background: color-mix(in srgb, var(--ink) 8%, transparent);
}
.pk-row--you .pk-chips b { background: transparent; border: 1.2px dashed #c9ccc2; transition: background .4s, border-color .4s; }
.lv--pack.is-on .pk-row--you .pk-chips b { background: color-mix(in srgb, var(--accent) 22%, #fff); border-color: transparent; }
.lv--pack.is-on .pk-row--you .pk-chips b:nth-child(2) { transition-delay: .12s; }
.lv--pack.is-on .pk-row--you .pk-chips b:nth-child(3) { transition-delay: .24s; }
.pk-meter { width: 52px; text-align: right; font-size: 10.5px; font-weight: 700; color: var(--muted); }
.pk-meter > span:last-child { display: block; height: 5px; border-radius: 3px; background: #eceae1; margin-top: 4px; overflow: hidden; }
.pk-meter > span:last-child i { display: block; height: 100%; width: 38%; background: #c8b26a; border-radius: 3px; transition: width .9s .2s ease, background .5s; }
.lv--pack.is-on .pk-meter > span:last-child i { width: 100%; background: var(--accent); }
.pk-meter .pk-done { display: none; color: var(--accent-dark); }
.lv--pack.is-on .pk-meter .pk-done { display: inline; }
.lv--pack.is-on .pk-meter .pk-half { display: none; }
.pk-row:not(.pk-row--you) .pk-meter { visibility: hidden; }

/* ============ 2. Reviews coming in and getting answered ============ */
.rv-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-bottom: 12px; border-bottom: 1px solid var(--line-soft); }
.rv-head b { font-size: 14px; }
.rv-head small { display: block; font-size: 12px; color: var(--muted); margin-top: 2px; }
.rv-pop {
  font-size: 11.5px; font-weight: 800; color: var(--accent-dark);
  background: color-mix(in srgb, var(--accent) 14%, #fff); border-radius: 999px; padding: 4px 10px;
  opacity: 0; transform: translateY(6px); transition: opacity .3s, transform .3s;
}
.rv-pop.on { opacity: 1; transform: none; }
.rv-ask {
  display: flex; align-items: center; gap: 8px; margin: 12px 0 4px; font-size: 12.5px; color: var(--ink-soft);
  opacity: .35; transition: opacity .4s;
}
.rv-ask.on { opacity: 1; }
.rv-ask svg { width: 18px; height: 18px; fill: var(--accent); flex: 0 0 auto; }
.rv-ask.on svg { animation: rvFly .9s ease; }
@keyframes rvFly { 0% { transform: translate(-8px,6px) rotate(-10deg); opacity: 0; } 60% { opacity: 1; } 100% { transform: none; } }
.rv-feed { position: relative; height: 252px; overflow: hidden; margin-top: 8px; }
.rv-feed::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 40px; background: linear-gradient(transparent, #fff); pointer-events: none; }
.rv-card {
  border: 1px solid var(--line-soft); border-radius: 12px; padding: 11px 12px; margin-bottom: 9px; background: #fff;
  animation: rvIn .6s cubic-bezier(.2,.8,.2,1) both;
}
@keyframes rvIn { from { opacity: 0; transform: translateY(-16px) scale(.98); } to { opacity: 1; transform: none; } }
.rv-top { display: flex; align-items: center; gap: 9px; }
.rv-av { width: 26px; height: 26px; border-radius: 50%; background: var(--c, #cdd3c4); flex: 0 0 auto; }
.rv-top .m-bar { width: 70px; }
.rv-top .lv-stars { margin-left: auto; }
.rv-body { display: flex; flex-direction: column; gap: 5px; margin: 9px 0 0 35px; }
.rv-body .m-bar, .rv-reply .m-bar { width: 0; transition: width .7s ease; }
.rv-reply {
  margin: 10px 0 0 35px; padding: 9px 10px; border-radius: 9px;
  background: color-mix(in srgb, var(--accent) 7%, #fff); border-left: 3px solid var(--accent);
  display: none; flex-direction: column; gap: 5px;
}
.rv-reply.on { display: flex; animation: rvIn .5s ease both; }
.rv-reply header { display: flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 700; color: var(--accent-dark); }
.rv-ok {
  margin-left: auto; font-size: 10.5px; font-weight: 700; color: var(--ink-soft);
  background: #fff; border: 1px solid var(--line-soft); border-radius: 999px; padding: 2px 7px;
  opacity: 0; transform: scale(.8); transition: opacity .3s, transform .3s cubic-bezier(.3,1.6,.5,1);
}
.rv-ok.on { opacity: 1; transform: none; }
.rv-ans {
  display: inline-flex; align-items: center; gap: 5px; margin: 8px 0 0 35px;
  font-size: 11px; font-weight: 800; color: var(--accent-dark); letter-spacing: .02em;
  opacity: 0; transform: scale(1.3); transition: opacity .3s, transform .35s cubic-bezier(.3,1.6,.5,1);
}
.rv-ans.on { opacity: 1; transform: none; }
.rv-ans::before { content: '\2713'; display: grid; place-items: center; width: 15px; height: 15px; border-radius: 50%; background: var(--accent); color: #fff; font-size: 9px; }

/* ============ 3. Before / after you can drag (website redesign) ============ */
.ba-chrome { display: flex; align-items: center; gap: 5px; padding: 0 2px 10px; }
.ba-chrome i { width: 8px; height: 8px; border-radius: 50%; background: #dcd8cb; }
.ba-chrome span { flex: 1; height: 18px; margin-left: 8px; border-radius: 6px; background: #f1eee6; }
.ba-stage {
  --x: 50%;
  position: relative; height: 262px; border-radius: 12px; overflow: hidden;
  border: 1px solid var(--line-soft); cursor: ew-resize; touch-action: pan-y; user-select: none;
}
.ba-old, .ba-new { position: absolute; inset: 0; }
/* the old site: a fixed-width page from years ago, tiny type, blue links, an image that never loads */
.ba-old { background: #d9d5ca; display: flex; justify-content: center; font-size: 0; }
.ba-old .o-wrap { width: 74%; background: #f7f6f2; border-left: 1px solid #bdb8ab; border-right: 1px solid #bdb8ab; padding: 0 0 10px; }
.ba-old .o-banner {
  height: 50px; display: flex; align-items: center; gap: 8px; padding: 0 10px;
  background: linear-gradient(180deg, #5f7fa8, #34507a); border-bottom: 3px solid #1f3352;
}
.ba-old .o-banner b { width: 26px; height: 26px; border-radius: 50%; background: #c9d4e3; border: 2px solid #fff; flex: 0 0 auto; }
.ba-old .o-banner span { height: 8px; width: 46%; background: #eef2f7; }
.ba-old .o-nav { display: flex; flex-wrap: wrap; gap: 6px; padding: 6px 10px; background: #e6e2d7; border-bottom: 1px solid #c9c4b7; }
.ba-old .o-nav i { width: 22px; height: 4px; background: #2f5bb7; box-shadow: 0 2px 0 -1px #2f5bb7; }
.ba-old .o-cols { display: grid; grid-template-columns: 1.4fr 1fr; gap: 8px; padding: 8px 10px 0; }
.ba-old .o-txt { display: flex; flex-direction: column; gap: 3px; }
.ba-old .o-txt i { height: 3px; background: #9e998c; }
.ba-old .o-txt i:nth-child(4n) { width: 76%; }
.ba-old .o-txt i.l { background: #2f5bb7; width: 40%; }
.ba-old .o-img { height: 64px; background: #e3e0d8; border: 1px solid #bdb8ad; display: grid; place-items: center; }
.ba-old .o-img::before {
  content: ''; width: 16px; height: 16px; border-radius: 50%;
  border: 2px solid #a19c90; border-top-color: transparent; animation: baSpin 1s linear infinite;
}
@keyframes baSpin { to { transform: rotate(360deg); } }
.ba-old .o-side { display: flex; flex-direction: column; gap: 6px; }
.ba-old .o-count { height: 14px; width: 60px; background: #111; border: 2px inset #888; }
.ba-old .o-tel { height: 4px; width: 70px; background: #8c8679; }
.ba-old .o-foot { margin: 12px 10px 0; padding-top: 6px; border-top: 1px solid #ccc7ba; display: flex; gap: 5px; }
.ba-old .o-foot i { height: 3px; width: 26px; background: #b3ad9f; }
/* the new site: the photo, a headline, one button that calls */
.ba-new { clip-path: inset(0 0 0 var(--x)); background: #fff; }
.ba-new .n-top { display: flex; align-items: center; gap: 8px; padding: 9px 12px; }
.ba-new .n-top b { width: 22px; height: 22px; border-radius: 7px; background: var(--accent); }
.ba-new .n-top i { width: 30px; height: 6px; border-radius: 3px; background: #e2e0d6; }
.ba-new .n-top em { margin-left: auto; height: 22px; width: 52px; border-radius: 999px; background: var(--accent); }
.ba-new .n-hero {
  margin: 0 10px; height: 128px; border-radius: 11px; padding: 16px 14px;
  background: linear-gradient(90deg, rgba(14,24,15,.82), rgba(14,24,15,.15)), var(--img, #6b7d5b) center/cover;
  display: flex; flex-direction: column; justify-content: flex-end; gap: 6px;
}
.ba-new .n-hero span { height: 11px; border-radius: 4px; background: #fff; width: 62%; }
.ba-new .n-hero span + span { width: 44%; opacity: .7; height: 7px; }
.ba-new .n-hero em { margin-top: 6px; width: 92px; height: 24px; border-radius: 999px; background: var(--accent); }
.ba-new .n-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 10px 10px 0; }
.ba-new .n-cards div { border: 1px solid var(--line-soft); border-radius: 9px; padding: 9px 8px; display: flex; flex-direction: column; gap: 5px; }
.ba-new .n-cards b { width: 20px; height: 20px; border-radius: 6px; background: color-mix(in srgb, var(--accent) 18%, #fff); }
.ba-new .n-cards i { height: 5px; border-radius: 3px; background: #e6e3da; }
.ba-new .n-cards i + i { width: 70%; }
.ba-new .n-stars { margin: 10px 12px 0; display: flex; align-items: center; gap: 8px; }
.ba-new .n-stars .m-bar { width: 80px; }
.ba-handle {
  position: absolute; top: 0; bottom: 0; left: var(--x); width: 2px; margin-left: -1px;
  background: #fff; box-shadow: 0 0 0 1px rgba(28,46,31,.15); pointer-events: none;
}
.ba-knob {
  position: absolute; top: 50%; left: 50%; width: 38px; height: 38px; margin: -19px 0 0 -19px;
  border-radius: 50%; background: #fff; box-shadow: 0 2px 10px rgba(28,46,31,.3);
  display: grid; place-items: center;
}
.ba-knob svg { width: 20px; height: 20px; fill: none; stroke: var(--ink-soft); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.ba-tag {
  position: absolute; top: 10px; font-size: 11px; font-weight: 800; letter-spacing: .02em;
  padding: 4px 9px; border-radius: 999px; pointer-events: none; transition: opacity .3s;
}
.ba-tag--l { left: 10px; background: rgba(60,58,52,.78); color: #fff; }
.ba-tag--r { right: 10px; background: var(--accent); color: #fff; }
.ba-range {
  position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize;
  -webkit-appearance: none; appearance: none;
}
.ba-hint { text-align: center; font-size: 12px; color: var(--muted); margin-top: 10px; }

/* ============ 4. The AI answer that names you ============ */
.ai-log { margin-top: 14px; min-height: 236px; display: flex; flex-direction: column; gap: 12px; }
.ai-q {
  align-self: flex-end; max-width: 88%;
  background: var(--ink); color: #fff; border-radius: 16px 16px 4px 16px;
  padding: 10px 13px; font-size: 13.5px; line-height: 1.4;
  animation: rvIn .5s ease both;
}
.ai-q .m-chip { background: rgba(255,255,255,.14); border-color: rgba(255,255,255,.25); color: #fff; padding: 0 7px; }
.ai-q .ai-wave { display: none; gap: 2px; align-items: center; height: 14px; margin-right: 6px; vertical-align: -2px; }
.lv--ai[data-tab="2"] .ai-q .ai-wave { display: inline-flex; }
.ai-wave i { width: 2px; background: #fff; border-radius: 2px; animation: aiWave .9s ease-in-out infinite; }
.ai-wave i:nth-child(1) { height: 6px; } .ai-wave i:nth-child(2) { height: 13px; animation-delay: .15s; }
.ai-wave i:nth-child(3) { height: 9px; animation-delay: .3s; } .ai-wave i:nth-child(4) { height: 12px; animation-delay: .45s; }
@keyframes aiWave { 50% { transform: scaleY(.4); } }
.ai-a { display: flex; gap: 10px; align-items: flex-start; }
.ai-bot {
  width: 28px; height: 28px; flex: 0 0 auto; border-radius: 9px;
  background: conic-gradient(from var(--r, 0deg), #6b8e23, #c8b26a, #8fb3b8, #6b8e23);
  animation: aiSpin 4s linear infinite;
}
@property --r { syntax: '<angle>'; inherits: false; initial-value: 0deg; }
@keyframes aiSpin { to { --r: 360deg; } }
.ai-dots { display: inline-flex; gap: 4px; padding: 10px 0; }
.ai-dots i { width: 6px; height: 6px; border-radius: 50%; background: #c3c6bb; animation: typingDot 1s infinite; }
.ai-dots i:nth-child(2) { animation-delay: .15s; } .ai-dots i:nth-child(3) { animation-delay: .3s; }
.ai-ans { flex: 1; min-width: 0; display: none; flex-direction: column; gap: 8px; padding-top: 4px; }
.lv--ai.is-ans .ai-dots { display: none; }
.lv--ai.is-ans .ai-ans { display: flex; }
.ai-ans > * { opacity: 0; transform: translateY(5px); transition: opacity .4s, transform .4s; }
.ai-ans > .on { opacity: 1; transform: none; }
.ai-ans ol { list-style: none; counter-reset: ai; margin: 2px 0 0; padding: 0; display: flex; flex-direction: column; gap: 7px; }
.ai-ans li { display: flex; align-items: center; gap: 8px; counter-increment: ai; }
.ai-ans li::before {
  content: counter(ai); display: grid; place-items: center; flex: 0 0 auto;
  width: 18px; height: 18px; border-radius: 50%; background: #eceae1; font-size: 10.5px; font-weight: 800; color: var(--muted);
}
.ai-ans li.ai-you {
  padding: 8px 9px; margin-left: -9px; border-radius: 10px;
  background: color-mix(in srgb, var(--accent) 10%, #fff);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--accent) 35%, transparent);
}
.ai-ans li.ai-you::before { background: var(--accent); color: #fff; }
.ai-ans li.ai-you b { font-size: 13.5px; }
.ai-why { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 6px; }
.ai-why span {
  font-size: 10.5px; font-weight: 700; color: var(--accent-dark);
  background: #fff; border: 1px solid color-mix(in srgb, var(--accent) 28%, transparent);
  border-radius: 999px; padding: 2px 7px;
}
.ai-you > div { min-width: 0; }

/* ============ 5. The texts that send themselves ============ */
.tx-grid { display: grid; grid-template-columns: minmax(0, 1fr) 128px; gap: 16px; align-items: stretch; }
.tx-phone {
  position: relative; border-radius: 26px; padding: 30px 10px 34px; min-height: 318px;
  background: linear-gradient(170deg, #34452f, #1d2a1d 60%, #2b3826);
  box-shadow: inset 0 0 0 5px #11180f, 0 10px 24px -10px rgba(0,0,0,.4);
  overflow: hidden;
}
.tx-phone::before { content: ''; position: absolute; top: 9px; left: 50%; width: 54px; height: 11px; margin-left: -27px; border-radius: 8px; background: #11180f; }
.tx-time { text-align: center; color: #fff; font: 600 30px/1 'Inter', system-ui, sans-serif; letter-spacing: -.02em; margin: 4px 0 14px; opacity: .92; }
.tx-stack { display: flex; flex-direction: column-reverse; gap: 7px; }
.tx-n {
  display: none; background: rgba(255,255,255,.9); border-radius: 13px; padding: 8px 10px;
  font-size: 11.5px; line-height: 1.35; color: var(--ink);
}
.tx-n.on { display: block; animation: txIn .55s cubic-bezier(.2,.9,.3,1.2) both; }
.tx-n.old { opacity: .62; }
@keyframes txIn { from { opacity: 0; transform: translateY(-14px) scale(.96); } to { opacity: 1; transform: none; } }
.tx-n header { display: flex; align-items: center; gap: 6px; font-size: 10.5px; font-weight: 700; color: var(--muted); margin-bottom: 3px; white-space: nowrap; min-width: 0; }
.tx-n header b { width: 14px; height: 14px; border-radius: 4px; background: var(--accent); }
.tx-n header em { margin-left: auto; font-style: normal; font-weight: 600; overflow: hidden; text-overflow: ellipsis; }
.tx-n header b { flex: 0 0 auto; }
.tx-opt { position: absolute; left: 0; right: 0; bottom: 10px; text-align: center; font-size: 10px; color: rgba(255,255,255,.6); }
.tx-line { position: relative; display: flex; flex-direction: column; justify-content: space-between; padding: 6px 0; }
.tx-line::before { content: ''; position: absolute; left: 7px; top: 14px; bottom: 14px; width: 2px; background: #e6e3d9; }
.tx-line::after {
  content: ''; position: absolute; left: 7px; top: 14px; width: 2px; height: var(--p, 0%);
  max-height: calc(100% - 28px); background: var(--accent); transition: height .6s ease;
}
.tx-stop {
  appearance: none; border: 0; background: none; cursor: pointer; text-align: left;
  display: flex; align-items: center; gap: 10px; padding: 4px 0; position: relative; z-index: 1;
  font: 600 12.5px/1.25 'Inter', system-ui, sans-serif; color: var(--muted);
}
.tx-stop::before {
  content: ''; width: 12px; height: 12px; flex: 0 0 auto; margin-left: 2px; border-radius: 50%;
  background: #fff; border: 2px solid #d2cec1; transition: background .3s, border-color .3s, transform .3s;
}
.tx-stop.done { color: var(--ink); }
.tx-stop.done::before { background: var(--accent); border-color: var(--accent); }
.tx-stop.now::before { transform: scale(1.35); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 22%, transparent); }
.tx-stop:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 6px; }

/* ============ 6. Five vendors -> one partner (digital marketing) ============ */
.hub-stage { position: relative; height: 300px; }
.hub-wires { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.hub-wires path { fill: none; stroke-linecap: round; }
.hub-wires .w-mess { stroke: #c9a76a; stroke-width: 1.4; stroke-dasharray: 4 4; opacity: .9; }
.hub-wires .w-spoke { stroke: color-mix(in srgb, var(--accent) 55%, #fff); stroke-width: 1.6; }
.hub-wires .w-flow { stroke: var(--accent); stroke-width: 3; stroke-dasharray: 2 26; animation: hubFlow 1.4s linear infinite; }
.hub-wires .w-you { stroke: var(--accent-dark); stroke-width: 2.4; }
@keyframes hubFlow { to { stroke-dashoffset: -28; } }
.hub-node {
  position: absolute; left: 0; top: 0; transform: translate(-50%, -50%);
  display: flex; align-items: center; gap: 6px; white-space: nowrap;
  background: #fff; border: 1px solid var(--line-soft); border-radius: 11px;
  padding: 6px 9px 6px 6px; font-size: 12px; font-weight: 700; color: var(--ink-soft);
  box-shadow: 0 2px 8px rgba(28,46,31,.08); will-change: left, top;
}
.hub-node .ic { width: 24px; height: 24px; border-radius: 7px; display: grid; place-items: center; background: color-mix(in srgb, var(--accent) 13%, #fff); }
.hub-node .ic svg { width: 15px; height: 15px; fill: none; stroke: var(--accent-dark); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.hub-node .bill {
  position: absolute; top: -7px; right: -7px; width: 16px; height: 16px; border-radius: 50%;
  background: #c98f3c; color: #fff; font-size: 9.5px; font-weight: 800; display: grid; place-items: center;
  transition: transform .4s cubic-bezier(.3,1.6,.5,1), opacity .3s;
}
.lv--hub.is-on .hub-node .bill { transform: scale(0); opacity: 0; }
.hub-core, .hub-you {
  position: absolute; transform: translate(-50%, -50%);
  display: grid; place-items: center; text-align: center; border-radius: 50%;
  font-weight: 800; line-height: 1.15;
}
.hub-core {
  left: 50%; top: 50%; width: 88px; height: 88px; font-size: 12.5px; color: #fff; padding: 8px;
  background: radial-gradient(circle at 35% 30%, #8fb33d, var(--accent-dark));
  box-shadow: 0 0 0 8px color-mix(in srgb, var(--accent) 14%, transparent), 0 10px 26px -8px rgba(74,102,24,.6);
  opacity: 0; transform: translate(-50%, -50%) scale(.4); transition: opacity .5s, transform .7s cubic-bezier(.3,1.5,.5,1);
}
.lv--hub.is-on .hub-core { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.hub-you {
  width: 46px; height: 46px; font-size: 12px; color: var(--ink);
  background: #fff; border: 2px solid var(--ink); left: 0; top: 0;
}
.hub-you.juggle { animation: hubJuggle .5s ease-in-out infinite alternate; }
@keyframes hubJuggle { from { margin-top: -2px; } to { margin-top: 2px; } }

/* ---------- narrow columns (phones): tighten, never overflow ---------- */
@container (max-width: 420px) {
  .lv { padding: 14px; }
  .lv-seg button { padding: 7px 10px; font-size: 12px; }
  .pk-list { --rh: 60px; }
  .pk-row { grid-template-columns: 38px 1fr auto; gap: 9px; padding: 0 8px; }
  .pk-thumb { width: 38px; height: 38px; }
  .pk-meter { width: 44px; }
  .tx-grid { grid-template-columns: 1fr; gap: 12px; }
  .tx-phone { min-height: 270px; }
  .tx-line { flex-direction: row; padding: 0; }
  .tx-line::before { left: 8px; right: 8px; top: 7px; bottom: auto; width: auto; height: 2px; }
  .tx-line::after { left: 8px; top: 7px; height: 2px; width: var(--p, 0%); max-height: none; max-width: calc(100% - 16px); transition: width .6s ease; }
  .tx-stop { flex-direction: column; align-items: flex-start; gap: 6px; font-size: 11px; width: 25%; }
  .tx-stop:last-child { align-items: flex-end; text-align: right; }
  .tx-stop:nth-child(2), .tx-stop:nth-child(3) { align-items: center; text-align: center; }
  .hub-stage { height: 280px; }
  .hub-node { font-size: 11px; padding: 5px 7px 5px 5px; }
  .hub-node .ic { width: 20px; height: 20px; }
  .hub-core { width: 74px; height: 74px; font-size: 11px; }
  .ba-stage { height: 240px; }
}

@media (prefers-reduced-motion: reduce) {
  .lv *, .lv *::before, .lv *::after { animation: none !important; transition: none !important; }
}
.lv--pack.is-on .pk-s { background: #e0a526; }
.lv--pack.is-on .pk-s:nth-child(4) { transition-delay: .15s; }
.lv--pack.is-on .pk-s:nth-child(5) { transition-delay: .3s; }
