/* PROLIX TECHNIKOS — home page only */
/* ---------- WebGL + floating tech chips ---------- */
#prolix-home .px-webgl { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; display: block; }
#prolix-home .px-chips { position: fixed; inset: 0; z-index: 1; pointer-events: none; overflow: hidden; }
#prolix-home .px-chip {
  position: absolute; left: 0; top: 0; display: flex; flex-direction: column; align-items: center; gap: 8px;
  opacity: 0; will-change: transform, opacity;
}
#prolix-home .px-chip__ico {
  width: clamp(48px, 5.2vw, 76px); height: clamp(48px, 5.2vw, 76px); border-radius: 22px;
  display: grid; place-items: center;
  background: rgba(20,20,22,.72); border: 1px solid rgba(255,255,255,.12);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 10px 40px rgba(0,0,0,.45), inset 0 0 0 1px rgba(243,112,33,.08);
}
#prolix-home .px-chip__ico img { width: 56%; height: 56%; object-fit: contain; }
#prolix-home .px-chip__ico b { font-family: var(--px-display); font-size: 18px; color: var(--px-orange); }
#prolix-home .px-chip__label { font-size: 12px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--px-ink); white-space: nowrap; }

/* ---------- Hero ---------- */
#prolix-home .px-hero { height: 100vh; height: 100svh; min-height: 560px; }
#prolix-home .px-hero__inner { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; padding: 0 var(--px-gutter) clamp(28px, 6vh, 64px); }
#prolix-home .px-hero__brand { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 0 var(--px-gutter) 8vh; pointer-events: none; }
#prolix-home .px-hero__brand { --u: calc(min(84vw, 1300px) / 208); }
@media (max-width: 700px) { #prolix-home .px-hero__brand { --u: calc(88vw / 208); } }
#prolix-home .px-hero__logo { display: flex; align-items: flex-start; justify-content: center; }
#prolix-home .px-hero__l, #prolix-home .px-hero__in { display: block; will-change: transform; }
#prolix-home .px-hero__slot svg { opacity: 0; }
#prolix-home.no-webgl .px-hero__slot svg { opacity: 1; }
#prolix-home .px-hero__row { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
#prolix-home .px-hero__sub { max-width: 440px; color: var(--px-muted); font-size: clamp(15px, 1.2vw, 18px); }
#prolix-home .px-scrollhint { display: flex; align-items: center; gap: 14px; font-size: 12px; letter-spacing: .25em; text-transform: uppercase; color: var(--px-muted); }
#prolix-home .px-scrollhint i { position: relative; width: 1px; height: 54px; background: var(--px-line); overflow: hidden; }
#prolix-home .px-scrollhint i::after { content: ""; position: absolute; left: 0; top: -50%; width: 100%; height: 50%; background: var(--px-orange); animation: pxDrip 1.8s cubic-bezier(.7,0,.3,1) infinite; }
@keyframes pxDrip { to { top: 100%; } }
#prolix-home .px-hero__tech { position: absolute; left: 0; right: 0; bottom: clamp(28px, 7vh, 72px); text-align: center; padding: 0 var(--px-gutter); pointer-events: none; }
#prolix-home .px-hero__tech h2 { font-family: var(--px-display); font-weight: 700; font-size: clamp(28px, 4.4vw, 72px); line-height: 1; letter-spacing: -.03em; }
#prolix-home .px-hero__tech p { color: var(--px-muted); margin-top: 14px; font-size: 16px; }
#prolix-home .px-hero__count { position: absolute; top: 50%; right: var(--px-gutter); transform: translateY(-50%); writing-mode: vertical-rl; font-size: 12px; letter-spacing: .3em; text-transform: uppercase; color: var(--px-muted); }
#prolix-home .px-hero__count b { color: var(--px-orange); font-weight: 600; }
@media (max-width: 700px) { #prolix-home .px-hero__count { display: none; } }

/* ---------- Marquee ---------- */
#prolix-home .px-marquee { padding: clamp(80px, 14vh, 160px) 0; overflow: hidden; }
#prolix-home .px-marquee__row { display: flex; white-space: nowrap; gap: 4vw; font-family: var(--px-display); font-weight: 800; font-size: clamp(56px, 11vw, 200px); line-height: 1; letter-spacing: -.04em; will-change: transform; }
#prolix-home .px-marquee__row span { display: inline-flex; align-items: center; gap: 4vw; }
#prolix-home .px-marquee__row--outline { -webkit-text-stroke: 1.5px rgba(244,241,236,.35); color: transparent; }
#prolix-home .px-marquee__row svg { width: .6em; height: .6em; flex: none; }

/* ---------- Services (horizontal) ---------- */
#prolix-home .px-services { overflow: hidden; }
#prolix-home .px-services__pin { height: 100vh; height: 100svh; display: flex; flex-direction: column; justify-content: center; }
#prolix-home .px-services__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; padding: 0 var(--px-gutter); margin-bottom: clamp(28px, 5vh, 56px); }
#prolix-home .px-services__progress { width: 180px; height: 2px; background: var(--px-line); position: relative; flex: none; }
#prolix-home .px-services__progress i { position: absolute; inset: 0; background: var(--px-orange); transform-origin: left; transform: scaleX(0); }
#prolix-home .px-track { display: flex; gap: clamp(16px, 2vw, 32px); padding: 0 var(--px-gutter); width: max-content; will-change: transform; }
#prolix-home .px-card {
  position: relative; flex: none; width: clamp(290px, 34vw, 520px); height: clamp(380px, 58vh, 560px);
  border-radius: 28px; padding: clamp(24px, 2.4vw, 40px); overflow: hidden;
  background: linear-gradient(160deg, rgba(255,255,255,.06), rgba(255,255,255,.015));
  border: 1px solid var(--px-line); display: flex; flex-direction: column;
  transition: border-color .4s;
}
#prolix-home .px-card::before { content: ""; position: absolute; width: 360px; height: 360px; right: -140px; top: -140px; border-radius: 50%; background: radial-gradient(circle, rgba(243,112,33,.35), transparent 65%); opacity: .35; transition: opacity .5s, transform .8s; }
#prolix-home .px-card:hover { border-color: rgba(243,112,33,.5); }
#prolix-home .px-card:hover::before { opacity: 1; transform: scale(1.3); }
#prolix-home .px-card__num { font-family: var(--px-display); font-size: 14px; color: var(--px-orange); letter-spacing: .1em; }
#prolix-home .px-card__icon { width: 64px; height: 64px; margin: auto 0 28px; color: var(--px-orange); }
#prolix-home .px-card h3 { font-family: var(--px-display); font-weight: 700; font-size: clamp(26px, 2.4vw, 40px); line-height: 1.02; letter-spacing: -.02em; }
#prolix-home .px-card p { color: var(--px-muted); margin-top: 14px; font-size: 16px; }
#prolix-home .px-card--intro { background: var(--px-orange); color: #0a0a0b; border-color: var(--px-orange); justify-content: space-between; }
#prolix-home .px-card--intro::before { display: none; }
#prolix-home .px-card--intro h3 { font-size: clamp(34px, 3.6vw, 60px); }
#prolix-home .px-card--intro p { color: rgba(0,0,0,.7); }

/* ---------- Stack (was Work) ---------- */
#prolix-home .px-work { padding: clamp(60px, 10vh, 120px) 0 clamp(100px, 18vh, 200px); }
#prolix-home .px-work__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: clamp(48px, 8vh, 96px); flex-wrap: wrap; }

/* ---------- Home extras ---------- */
#prolix-home .px-hero__sub strong { display: block; color: var(--px-ink); font-family: var(--px-display); font-weight: 600; font-size: 1.25em; margin-bottom: 6px; }
#prolix-home .px-card__more { margin-top: 22px; font-size: 13px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--px-orange); display: inline-flex; gap: 8px; transition: gap .4s; }
#prolix-home .px-card:hover .px-card__more { gap: 14px; }
#prolix-home .px-features { padding-top: 0; }
