/* Homepage hero: the living stage (20 Oct 2026). Replaces the Before AI / After AI panels.
   A gradient canvas that shifts colour with the practice; one buyer moment plays per practice,
   with the services behind it listed beside it. Markup and script live in index.html. */

.lv { position: relative; margin-top: 72px; border-radius: 28px; overflow: hidden; padding: 44px; transition: background-color .9s ease;
  background:
    radial-gradient(60% 90% at 0% 0%, var(--g1), transparent 70%),
    radial-gradient(55% 80% at 100% 0%, var(--g2), transparent 70%),
    radial-gradient(70% 90% at 90% 100%, var(--g3), transparent 70%),
    radial-gradient(60% 80% at 10% 100%, var(--g4), transparent 70%),
    var(--g0); }
.lv[data-on="find"] { --g0: #dfe9f3; --g1: #f5f0ff; --g2: #bcd3ea; --g3: #9fc0dd; --g4: #e9f0f7; --c: var(--find); --cd: var(--find-deep); }
.lv[data-on="convert"] { --g0: #f6dccb; --g1: #ffe9cf; --g2: #f3c7b5; --g3: #e9b39b; --g4: #fbe7da; --c: var(--convert); --cd: var(--convert-deep); }
.lv[data-on="operate"] { --g0: #dcebd9; --g1: #f1f7e6; --g2: #c4e0c4; --g3: #a9cfaa; --g4: #eaf3e6; --c: var(--operate); --cd: var(--operate-deep); }
.lv__grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 56px; align-items: center; min-height: 460px; }

/* Tabs */
.lv__tabs { display: inline-flex; gap: 4px; padding: 4px; border-radius: 999px; background: rgba(255,255,255,.55); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.lv__tabs button { position: relative; overflow: hidden; font: inherit; font-size: 15px; border: 0; background: transparent; color: var(--ink-2); padding: 9px 18px; border-radius: 999px; cursor: pointer; }
.lv__tabs button[aria-selected="true"] { background: #fff; color: var(--c); box-shadow: 0 1px 2px rgba(28,26,23,.06); }
.lv__tabs button[aria-selected="true"]::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 3px; height: 2px; border-radius: 2px; background: var(--c); opacity: .35; }
.lv.is-auto .lv__tabs button[aria-selected="true"]::after { opacity: 1; transform-origin: left; animation: lv-fill 7s linear forwards; }
@keyframes lv-fill { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.lv__tabs button:focus-visible { outline: 2px solid var(--c); outline-offset: 2px; }

/* What we say */
.lv__say { margin-top: 36px; animation: lv-rise .6s cubic-bezier(.16,1,.3,1); }
@keyframes lv-rise { from { opacity: 0; transform: translateY(10px); } }
.lv__h { font-size: clamp(32px, 3.6vw, 50px); line-height: 1.02; letter-spacing: -.045em; font-weight: 500; color: var(--cd); text-wrap: balance; }
.lv__p { margin-top: 12px; font-size: 17px; line-height: 1.5; color: var(--ink-2); max-width: 38ch; }
.lv__k { margin-top: 22px; font-family: var(--mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--cd); opacity: .75; }
.lv__gets { margin-top: 8px; display: flex; flex-wrap: wrap; gap: 6px; max-width: 460px; }
.lv__gets li { list-style: none; font-size: 14px; padding: 6px 12px; border-radius: 999px; background: rgba(255,255,255,.72); border: 1px solid rgba(255,255,255,.9); color: var(--cd); }
.lv__more { display: inline-block; margin-top: 18px; font-size: 15px; color: var(--cd); text-decoration: underline; text-decoration-color: color-mix(in srgb, var(--cd) 35%, transparent); text-underline-offset: 4px; }
.lv__more:hover { text-decoration-color: var(--cd); }

/* The screen that plays */
.lv__screen { background: rgba(255,255,255,.92); border-radius: 20px; padding: 18px; box-shadow: 0 30px 60px -30px rgba(28,26,23,.35), 0 0 0 1px rgba(255,255,255,.6); min-height: 380px; }
.lv__scene { display: none; }
.lv[data-on="find"] [data-s="find"], .lv[data-on="convert"] [data-s="convert"], .lv[data-on="operate"] [data-s="operate"] { display: block; }
.lv-s { transition: opacity .5s cubic-bezier(.16,1,.3,1), transform .5s cubic-bezier(.16,1,.3,1); transition-delay: var(--d, 0s); }
.lv.is-anim:not(.is-play) .lv-s { opacity: 0; transform: translateY(8px); transition: none; }
.lv__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-bottom: 12px; margin-bottom: 14px; border-bottom: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.lv__top b { display: flex; align-items: center; gap: 8px; font-weight: 500; color: var(--ink); }
.lv__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--c); }
.lv__eng { display: flex; gap: 6px; }
.lv__eng span { font-size: 11px; padding: 3px 8px; border-radius: 999px; background: var(--find-tint); color: var(--find); }

/* Find: an AI answer that now names you */
.lv__q { margin-left: auto; width: fit-content; max-width: 85%; padding: 10px 14px; border-radius: 16px 16px 4px 16px; background: var(--find-deep); color: #fff; font-size: 15px; }
.lv__ans { margin-top: 14px; font-size: 14.5px; color: var(--ink-2); }
.lv__list { margin-top: 10px; display: grid; gap: 8px; }
.lv__list li { list-style: none; display: flex; align-items: center; gap: 12px; padding: 11px 14px; border-radius: 12px; border: 1px solid var(--line); background: #fff; font-size: 15px; color: var(--ink); }
.lv__list em { width: 14px; font-style: normal; font-family: var(--mono); font-size: 12px; color: var(--muted); }
.lv__list small { margin-left: auto; font-size: 12px; color: var(--muted); }
.lv__list .lv__you { border: 1.5px solid var(--find); background: var(--find-tint); box-shadow: 0 0 0 6px rgba(59,91,120,.1); font-weight: 500; }
.lv__list .lv__you small { color: var(--find); }
.lv__cite { margin-top: 12px; display: flex; flex-wrap: wrap; gap: 6px; }
.lv__cite span { font-size: 11.5px; padding: 4px 9px; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--ink-2); }

/* Convert: one buyer, from ad to booked visit */
.lv__fun { position: relative; display: grid; gap: 12px; }
.lv__fun::before { content: ""; position: absolute; left: 7px; top: 10px; bottom: 18px; width: 2px; background: linear-gradient(var(--convert-tint), var(--convert)); }
.lv__fun li { list-style: none; position: relative; display: grid; grid-template-columns: 16px minmax(0, 1fr); gap: 12px; }
.lv__n { width: 16px; height: 16px; margin-top: 1px; border-radius: 50%; border: 2px solid var(--convert); background: #fff; }
.lv__fun li:last-child .lv__n { background: var(--convert); }
.lv__fk { margin-bottom: 6px; font-size: 12px; color: var(--muted); }
.lv__ad { padding: 10px 12px; border-radius: 12px; border: 1px solid var(--line); background: #fff; }
.lv__ad small { display: block; font-size: 11px; color: var(--muted); }
.lv__ad b { font-weight: 500; font-size: 14px; color: #1a4fb8; }
.lv__lp { display: flex; flex-wrap: wrap; gap: 6px; }
.lv__lp span { font-size: 12.5px; padding: 6px 10px; border-radius: 8px; border: 1px solid var(--line); background: #fff; }
.lv__lp .lv__go { border-color: var(--convert); background: var(--convert); color: #fff; }
.lv__bub { position: relative; padding: 9px 12px 20px; border-radius: 12px; background: #e7f6dd; font-size: 14.5px; line-height: 1.4; color: var(--ink); }
.lv__bub time { position: absolute; right: 10px; bottom: 4px; font-family: var(--mono); font-size: 10.5px; color: var(--muted); }
.lv__won { padding: 12px 14px; border-radius: 12px; background: var(--convert-tint); color: var(--convert-deep); font-size: 14px; font-weight: 500; }

/* Operate: Monday morning, already done */
.lv__feed { display: grid; gap: 8px; }
.lv__row { display: flex; align-items: center; gap: 12px; padding: 11px 14px; border-radius: 12px; border: 1px solid var(--line); background: #fff; font-size: 14.5px; color: var(--ink); }
.lv__ok { flex: none; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--operate-tint); color: var(--operate); font-size: 12px; }
.lv__row small { margin-left: auto; font-size: 12px; color: var(--muted); white-space: nowrap; }
.lv__decide { margin-top: 6px; padding: 14px; border-radius: 14px; background: var(--operate-deep); color: #fff; }
.lv__decide p { margin-bottom: 10px; font-size: 14.5px; }
.lv__decide div { display: flex; flex-wrap: wrap; gap: 6px; }
.lv__decide span { font-size: 12.5px; padding: 6px 11px; border-radius: 999px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.2); }
.lv__decide .lv__y { background: #fff; color: var(--operate-deep); }

@media (max-width: 1000px) {
  .lv { padding: 32px; }
  .lv__grid { grid-template-columns: minmax(0, 1fr); gap: 28px; min-height: 0; }
}
@media (max-width: 760px) {
  .lv { margin-top: 36px; padding: 14px 12px 12px; border-radius: 20px; }
  .lv__grid { gap: 16px; }
  .lv__tabs { display: flex; }
  .lv__tabs button { flex: 1; padding: 8px 6px; font-size: 14px; }
  .lv__say { margin-top: 16px; padding-inline: 4px; }
  .lv__h { font-size: 28px; }
  .lv__p { margin-top: 8px; font-size: 15px; }
  .lv__k { margin-top: 14px; }
  .lv__gets li { font-size: 12.5px; padding: 5px 10px; }
  .lv__more { margin-top: 12px; font-size: 14px; }
  .lv__screen { padding: 14px; border-radius: 16px; min-height: 0; }
  .lv__eng, .lv__list small, .lv__row small { display: none; }
  .lv__q { font-size: 14px; }
  .lv__list li, .lv__row, .lv__bub { font-size: 13.5px; }
}
@media (prefers-reduced-motion: reduce) {
  .lv, .lv-s { transition: none; }
  .lv__say { animation: none; }
}

/* ===== Below the hero: where revenue leaks, and who we fixed it for (20 Oct 2026) =====
   Replaces the three practice panels. One buyer's path with the leak at each handoff;
   client stories sit under the leaks they fixed. Without script it rests in the finished state. */
.cj__h { max-width: 18ch; font-size: clamp(34px, 4.4vw, 60px); line-height: 1.02; letter-spacing: -.045em; font-weight: 500; text-wrap: balance; }
.cj__sub { margin-top: 16px; max-width: 58ch; font-size: 18px; line-height: 1.5; color: var(--ink-2); }
.cj { margin-top: 56px; }
.cj--f { --c: var(--find); --cd: var(--find-deep); --t: var(--find-tint); }
.cj--c { --c: var(--convert); --cd: var(--convert-deep); --t: var(--convert-tint); }
.cj--o { --c: var(--operate); --cd: var(--operate-deep); --t: var(--operate-tint); }

.cj__track { position: relative; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); }
.cj__track::before, .cj__track::after { content: ""; position: absolute; left: 10%; top: 21px; height: 3px; border-radius: 3px; }
.cj__track::before { right: 10%; background: var(--line); }
.cj__track::after { right: 10%; background: linear-gradient(90deg, var(--find) 0 12%, var(--convert) 38% 62%, var(--operate) 88%); clip-path: inset(0 calc((1 - var(--p, 1)) * 100%) 0 0); transition: clip-path .9s cubic-bezier(.45,0,.55,1); }
.cj__st { position: relative; padding: 0 8px; text-align: center; }
.cj__dot { position: relative; z-index: 1; display: grid; place-items: center; width: 45px; height: 45px; margin: 0 auto; border-radius: 50%; border: 2px solid var(--c); background: var(--c); color: #fff; font-size: 18px; transition: background .4s ease, color .4s ease, transform .4s ease; }
.cj__tag { display: block; margin-top: 12px; font-family: var(--mono); font-size: 11px; letter-spacing: .05em; text-transform: uppercase; color: var(--c); }
.cj__name { margin-top: 4px; font-size: 19px; letter-spacing: -.02em; font-weight: 500; color: var(--ink); }
.cj__q { margin-top: 6px; font-size: 14px; line-height: 1.4; color: var(--ink-2); }
.cj__leak { display: inline-flex; align-items: center; gap: 6px; margin-top: 12px; padding: 5px 10px; border-radius: 999px; background: var(--ember-tint, #fdf0ea); color: var(--ember); font-size: 12.5px; line-height: 1.3; transition: background .4s ease, color .4s ease; }
.cj__leak::before { content: ""; flex: none; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.cj__fx { display: none; }
.is-fixed .cj__leak { background: var(--operate-tint); color: var(--operate); }
.is-fixed .cj__lk { display: none; }
.is-fixed .cj__fx { display: inline; }
/* While it plays, stops wait unlit and leaks show until the path reaches them */
.cj.is-anim .cj__st:not(.on) .cj__dot { background: #fff; color: var(--c); }
.cj.is-anim .cj__st.on .cj__dot { transform: scale(1.06); }
.cj.is-anim .is-fixed:not(.on) .cj__leak { background: var(--ember-tint, #fdf0ea); color: var(--ember); }
.cj.is-anim .is-fixed:not(.on) .cj__lk { display: inline; }
.cj.is-anim .is-fixed:not(.on) .cj__fx { display: none; }

.cj__stories { margin-top: 36px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.cj__story { display: flex; flex-direction: column; gap: 12px; padding: 22px; border-radius: 20px; background: var(--t); color: var(--cd); text-decoration: none; transition: transform .5s cubic-bezier(.16,1,.3,1), box-shadow .5s ease, opacity .5s ease; }
.cj.is-anim .cj__story { opacity: .75; }
.cj.is-anim .cj__story.is-lit, .cj__story:hover, .cj__story:focus-visible { opacity: 1; transform: translateY(-4px); box-shadow: 0 24px 48px -28px rgba(28,26,23,.45), 0 0 0 2px var(--c); }
.cj__fix { display: flex; flex-wrap: wrap; gap: 6px; font-size: 12px; }
.cj__fix s { padding: 3px 8px; border-radius: 999px; background: var(--ember-tint, #fdf0ea); color: var(--ember); }
.cj__fix span { padding: 3px 8px; border-radius: 999px; background: #fff; color: var(--operate); }
.cj__who { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 13px; }
.cj__pr { font-family: var(--mono); font-size: 10.5px; letter-spacing: .05em; text-transform: uppercase; padding: 3px 8px; border-radius: 999px; background: #fff; color: var(--c); }
.cj__sh { font-size: clamp(21px, 1.9vw, 26px); line-height: 1.12; letter-spacing: -.03em; font-weight: 500; color: var(--cd); text-wrap: balance; }
.cj__out { margin-top: auto; padding-top: 14px; border-top: 1px solid rgba(28,26,23,.1); font-size: 14.5px; }
.cj__out b { font-weight: 500; }
.cj__foot { margin-top: 24px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.cj__foot p { font-size: 16px; color: var(--ink-2); }
.cj__foot p b { font-weight: 500; color: var(--ink); }
.cj__foot a { font-size: 15px; color: var(--ink); border-bottom: 1px solid var(--rule); }

@media (max-width: 900px) { .cj__name { font-size: 16px; } .cj__q { font-size: 13px; } }
@media (max-width: 640px) {
  .cj__h { font-size: 32px; }
  .cj__sub { font-size: 16px; }
  .cj { margin-top: 32px; }
  .cj__track { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .cj__track::before, .cj__track::after { left: 21px; top: 22px; width: 3px; height: auto; }
  .cj__track::before, .cj__track::after { right: auto; bottom: 22px; }
  .cj__track::after { background: linear-gradient(180deg, var(--find) 0 12%, var(--convert) 38% 62%, var(--operate) 88%); clip-path: inset(0 0 calc((1 - var(--p, 1)) * 100%) 0); }
  .cj__st { display: grid; grid-template-columns: 45px minmax(0, 1fr); column-gap: 14px; padding: 0; text-align: left; }
  .cj__dot { grid-row: span 4; margin: 0; }
  .cj__tag { margin-top: 2px; }
  .cj__name { font-size: 17px; }
  .cj__leak { justify-self: start; margin-top: 8px; }
  .cj__stories { margin-top: 28px; }
  .cj__stories.m-rail > .cj__story { flex-basis: 84%; }
}
@media (prefers-reduced-motion: reduce) { .cj__track::after, .cj__dot, .cj__story { transition: none; } }
