/* Vellionix home. The service cards show the real demo sites, and "how we work" is a dark island. Loaded after
   the page's own styles, so these win. Behaviour is in home.js. */

/* ---------- services: the previews of the first two cards are the real sites ---------- */
.pk-card[data-svc="store"] .pk-media, .pk-card[data-svc="launch"] .pk-media { display: none; }
.pk-card[data-svc="store"] .pk-vis, .pk-card[data-svc="launch"] .pk-vis { background: var(--bg-2); }
.pkx { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.pkx-s { position: absolute; inset: 0; opacity: 0; transition: opacity 0.5s ease; }
.pkx-s.is-on { opacity: 1; }
.pkx-win, .pkx-ph { position: absolute; display: block; transition: transform 1.1s var(--ease-out, cubic-bezier(0.16, 1, 0.3, 1)); }
.pkx-win { left: 7%; top: 19%; width: 70%; border-radius: 9px 9px 0 0; overflow: hidden; background: var(--chrome); box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.08), 0 30px 50px -26px rgba(0, 0, 0, 0.45); transform: translate3d(0, 26px, 0); }
.pkx-bar { display: flex; align-items: center; gap: 4px; height: 18px; padding: 0 9px; }
.pkx-bar i { width: 6px; height: 6px; border-radius: 50%; background: #ff5f57; }
.pkx-bar i:nth-child(2) { background: #febc2e; }
.pkx-bar i:nth-child(3) { background: #28c840; }
.pkx-win img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; object-position: 0 0; }
.pkx-ph { right: 7%; top: 9%; width: 17.5%; border-radius: 18px; border: 4px solid #131313; background: #131313; overflow: hidden; box-shadow: 0 24px 44px -20px rgba(0, 0, 0, 0.55); transform: translate3d(0, 46px, 0); transition-delay: 0.07s; }
.pkx-ph img { display: block; width: 100%; height: auto; aspect-ratio: 600 / 1298; object-fit: cover; border-radius: 13px; }
.pkx-s.is-on .pkx-win, .pkx-s.is-on .pkx-ph { transform: none; }
.pkx-tag { position: absolute; left: 7%; top: 7%; z-index: 2; display: inline-flex; align-items: center; gap: 8px; color: var(--ink); font-size: 13px; font-weight: 600; white-space: nowrap; }
.pkx-tag small { font-weight: 500; font-size: 12.5px; color: var(--muted); }
.pkx-tag i { width: 6px; height: 6px; border-radius: 50%; background: #1faa59; }

/* ---------- how we work: a dark island. The headline stays put while the four steps scroll past ---------- */
.process {
  --p-soft: color-mix(in srgb, var(--btn-fg) 60%, transparent); --p-hair: color-mix(in srgb, var(--btn-fg) 15%, transparent); --p-card: color-mix(in srgb, var(--btn-fg) 7%, transparent);
  margin: clamp(30px, 6vh, 70px) clamp(8px, 1vw, 16px) 0; padding-left: calc(var(--pad-l) - clamp(8px, 1vw, 16px)); padding-right: calc(var(--pad-r) - clamp(8px, 1vw, 16px));
  border-top: 0; border-radius: clamp(26px, 3vw, 48px); background: var(--btn); color: var(--btn-fg);
}
.process .eyebrow, .process .pr-n, .process .pr-step p, .process .ox-pr-lead, .process .pr-title em { color: var(--p-soft); }
.process .ox-pr-lead em { color: var(--btn-fg); }
.process .pr-card { background: var(--p-card); box-shadow: inset 0 0 0 1px var(--p-hair); }
.process .pr-time { background: var(--p-hair); color: var(--btn-fg); }
.process .pr-rail { background: var(--p-hair); }
.process .pr-fill { background: var(--btn-fg); }
.process .pr-dot { background: var(--btn); box-shadow: inset 0 0 0 2px var(--p-soft); }
.process .pr-step.is-on .pr-dot { background: var(--btn-fg); box-shadow: inset 0 0 0 2px var(--btn-fg), 0 0 0 5px var(--p-hair); }
.process .pr-step:hover .ox-vis { box-shadow: none; }
.process + .contact, .view-home + .view-svc + .contact { border-top: 0; }
@media (min-width: 1100px) {
  .process { display: grid; grid-template-columns: minmax(0, 0.94fr) minmax(0, 1.06fr); grid-template-rows: auto 1fr; column-gap: clamp(36px, 4.4vw, 88px); }
  .process > .eyebrow { grid-column: 1; grid-row: 1; }
  .process > .ox-pr-head { grid-column: 1; grid-row: 2; display: block; position: sticky; top: 124px; align-self: start; }
  .process .pr-title { font-size: clamp(34px, 3.85vw, 70px); line-height: 0.98; }
  .process .ox-pr-lead { margin-top: 26px; max-width: 34ch; padding-bottom: 0; }
  .process > .pr-track { grid-column: 2; grid-row: 1 / span 2; margin-top: 0; }
  .process .pr-rail { left: 7px; right: auto; top: 0; bottom: 0; width: 2px; height: auto; }
  .process .pr-fill { transform-origin: 50% 0; transform: scaleY(var(--p, 0)); }
  .process .pr-steps { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .process .pr-step { padding: 0 0 0 42px; }
  .process .pr-dot { top: 44px; }
  .process .pr-card { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); grid-template-rows: auto 1fr auto; column-gap: 14px; padding: 12px; border-radius: 32px; }
  .process .pr-card > .ox-vis { grid-column: 1; grid-row: 1 / span 3; border-radius: 22px; }
  .process .pr-card > .pr-top { grid-column: 2; grid-row: 1; margin: 14px 12px 0 14px; }
  .process .pr-card > h3 { grid-column: 2; grid-row: 2; align-self: end; margin: 0 12px 0 14px; font-size: clamp(34px, 3.3vw, 56px); letter-spacing: -0.045em; }
  .process .pr-card > p { grid-column: 2; grid-row: 3; margin: 10px 12px 16px 14px; font-size: 16.5px; max-width: 32ch; }
  .process .pr-n { font-size: 13px; }
  .process .pr-time { height: 30px; padding: 0 13px; font-size: 13px; }
}
