/* ==================================================================
   REVOCH public V111 — ABOUT PAGE UPGRADE
   1. "THE CRM TODAY" stats band: 6 count-up stats linking to the
      capability catalog pages
   2. "THE JOURNEY SO FAR" release timeline: line draws on scroll,
      items stagger, the newest entry glows
   3. Founder + principle cards spotlight
   Progressive: reduced motion / Motion pause show the static page.
   ================================================================== */

/* ---------- 1. stats band ---------- */
.v111-stats-section { position: relative; }
.v111-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.v111-stat { display: flex; flex-direction: column; gap: 3px; padding: 20px 18px 16px; border: 1px solid rgba(203,214,240,.9); border-radius: 18px; background: linear-gradient(165deg, #fff, #f7f9ff); text-decoration: none; position: relative; overflow: hidden; transition: transform .3s cubic-bezier(.2,.7,.2,1), box-shadow .3s ease, border-color .3s ease; }
.v111-stat:hover { transform: translateY(-4px); border-color: rgba(99,102,241,.4); box-shadow: 0 20px 44px rgba(30,41,90,.13); }
.v111-stat::before { content: ""; position: absolute; left: 0; top: 0; height: 2.5px; width: 0; border-radius: 0 0 4px 4px; background: linear-gradient(90deg, #2563eb, #7c3aed); transition: width .45s cubic-bezier(.2,.7,.2,1); }
.v111-stat:hover::before { width: 56px; }
.v111-stat b { font-size: 34px; line-height: 1; color: #131c44; font-variant-numeric: tabular-nums; }
.v111-stat b .v111-num { background: var(--grad, linear-gradient(135deg,#2563eb,#7c3aed)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.v111-stat > span { font-size: 12px; font-weight: 750; color: #26334d; }
.v111-stat small { font-size: 9px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; color: #8a99b5; margin-top: 3px; }

/* ---------- 2. journey timeline ---------- */
.v111-journey-section { position: relative; }
.v111-timeline { position: relative; display: grid; gap: 12px; max-width: 780px; padding-left: 26px; }
.v111-timeline::before { content: ""; position: absolute; left: 9px; top: 8px; bottom: 8px; width: 2px; border-radius: 2px; background: rgba(120,135,190,.25); overflow: hidden; }
.v111-timeline::after { content: ""; position: absolute; left: 9px; top: 8px; width: 2px; height: calc(var(--v111tl, 0) * 1%); border-radius: 2px; background: linear-gradient(180deg, #2563eb, #7c3aed); transition: height .2s linear; }
.v111-tl-item { position: relative; display: flex; align-items: flex-start; gap: 14px; padding: 13px 16px; border: 1px solid rgba(203,214,240,.9); border-radius: 14px; background: #fff; box-shadow: 0 8px 22px rgba(30,41,90,.05); transition: transform .3s cubic-bezier(.2,.7,.2,1), box-shadow .3s ease; }
.v111-tl-item:hover { transform: translateX(4px); box-shadow: 0 14px 32px rgba(30,41,90,.11); }
.v111-tl-badge { flex: none; display: grid; place-items: center; min-width: 52px; height: 30px; padding: 0 8px; border-radius: 9px; background: #eef2ff; color: #4f46e5; font-size: 10.5px; font-weight: 900; position: relative; }
.v111-tl-badge::before { content: ""; position: absolute; left: -21px; top: 50%; width: 9px; height: 9px; border-radius: 50%; background: #fff; border: 2px solid rgba(120,135,190,.45); transform: translateY(-50%); transition: background .3s ease, border-color .3s ease; }
.v111-tl-item.v111-lit .v111-tl-badge::before { background: #4f46e5; border-color: #4f46e5; box-shadow: 0 0 0 4px rgba(99,102,241,.15); }
.v111-tl-item div b { display: block; font-size: 13px; color: #131c44; }
.v111-tl-item div small { display: block; font-size: 10px; color: #8a99b5; margin-top: 2px; }
.v111-tl-item.is-new { border-color: rgba(99,102,241,.45); background: linear-gradient(165deg, #fff, #f3f5ff); }
.v111-tl-item.is-new .v111-tl-badge { background: var(--grad, linear-gradient(135deg,#2563eb,#7c3aed)); color: #fff; }
.v111-tl-item.is-new small { color: #4f46e5; font-weight: 800; }

/* ---------- 3. founder/principle spotlight ---------- */
.page-about .v111-spot { position: relative; overflow: hidden; transition: transform .3s cubic-bezier(.2,.7,.2,1), box-shadow .3s ease, border-color .3s ease; }
.page-about .v111-spot:hover { transform: translateY(-3px); box-shadow: 0 18px 40px rgba(30,41,90,.13); }

/* stagger (JS-gated) */
.page-about.v111-ready .v111-stats .v111-stat { opacity: 0; transform: translateY(22px); animation: v111-stat-in .5s cubic-bezier(.2,.7,.2,1) forwards; animation-delay: calc(var(--v111d, 0) * 80ms); }
@keyframes v111-stat-in { to { opacity: 1; transform: none; } }
.page-about.v111-ready .v111-tl-item { opacity: 0; transform: translateX(-18px); animation: v111-tl-in .5s cubic-bezier(.2,.7,.2,1) forwards; animation-delay: calc(var(--v111t, 0) * 110ms); }
@keyframes v111-tl-in { to { opacity: 1; transform: none; } }

@media (max-width: 1000px) { .v111-stats { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .v111-stats { grid-template-columns: 1fr; } }

/* ---------- guards ---------- */
@media (prefers-reduced-motion: reduce) {
  .page-about.v111-ready .v111-stats .v111-stat, .page-about.v111-ready .v111-tl-item { animation: none !important; opacity: 1 !important; transform: none !important; }
  .v111-timeline::after { transition: none !important; }
  .v111-stat, .v111-tl-item, .v111-spot { transform: none !important; transition: none !important; }
}
.page-about.v77-paused .v111-stats .v111-stat, .page-about.v77-paused .v111-tl-item { animation: none !important; opacity: 1 !important; transform: none !important; }
