/* Worlds by Vonera: extra life on scroll. Flat colour only. Everything here is an enhancement:
   with reduced motion or no JS, content shows in its final state. */

/* ---------- Screenshot gallery strip (two rows moving opposite ways) ---------- */
.gallery { overflow: hidden; padding: clamp(56px, 8vw, 120px) 0; background: var(--white); }
.gallery__row { display: flex; gap: var(--gap); width: max-content; will-change: transform; }
.gallery__row + .gallery__row { margin-top: var(--gap); }
.gallery__item { flex: none; width: clamp(240px, 26vw, 420px); border-radius: var(--r); overflow: hidden; background: var(--ink); padding: 18px 4px 4px; position: relative; }
.gallery__item::before { content: ""; position: absolute; left: 10px; top: 6px; width: 6px; height: 6px; border-radius: 50%; background: var(--purple); box-shadow: 10px 0 0 #fff, 20px 0 0 #fff; }
.gallery__item img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; border-radius: calc(var(--r) - 6px); }
.gallery__item span { position: absolute; right: 10px; top: 3px; font-family: var(--f-mono); font-size: .58rem; color: #a59fb3; letter-spacing: .03em; }
.gallery__cap { display: flex; justify-content: space-between; gap: 16px; padding: 0 var(--gut); margin-bottom: clamp(24px, 3vw, 40px); }

/* ---------- Pricing: counters, slide-ins, hover world ---------- */
.prow__price strong { font-variant-numeric: tabular-nums; }
.prow__world { position: absolute; right: calc(25% + 12px); top: 50%; width: 54px; aspect-ratio: 1; margin-top: -27px; pointer-events: none; opacity: 0; transform: scale(.4) rotate(-40deg); transition: opacity .35s, transform .6s var(--ease); }
.prow__world i { position: absolute; inset: 18%; border-radius: 50%; background: var(--purple); }
.prow__world b { position: absolute; inset: 0; border-radius: 50%; border: 1.5px solid var(--ink); transform: rotateX(70deg); }
.prow:hover .prow__world { opacity: 1; transform: scale(1) rotate(0); }
@media (max-width: 860px) { .prow__world { display: none; } }
.price-scale { display: flex; align-items: flex-end; gap: clamp(16px, 4vw, 64px); padding: clamp(32px, 4vw, 56px) 0 0; }
.price-scale__w { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.price-scale__w i { display: block; border-radius: 50%; background: var(--purple); transform-origin: bottom center; }
.price-scale__w:nth-child(1) i { width: clamp(34px, 4vw, 56px); aspect-ratio: 1; background: var(--lilac-2); }
.price-scale__w:nth-child(2) i { width: clamp(60px, 7vw, 104px); aspect-ratio: 1; }
.price-scale__w:nth-child(3) i { width: clamp(90px, 11vw, 168px); aspect-ratio: 1; background: var(--deep); }
.price-scale__w:nth-child(4) i { width: clamp(44px, 5vw, 76px); aspect-ratio: 1; background: #fff; border: 2px solid var(--ink); }

/* ---------- Big type that skews with scroll speed ---------- */
.skewable { display: inline-block; will-change: transform; }
.bigline { overflow: hidden; padding: clamp(24px, 3vw, 48px) 0; border-block: 1px solid var(--line); white-space: nowrap; }
.bigline__t { display: inline-flex; gap: .4em; font-size: clamp(3.2rem, 11vw, 12rem); font-weight: 600; letter-spacing: -0.06em; line-height: .9; font-variation-settings: "opsz" 96; will-change: transform; }
.bigline__t span:nth-child(even) { color: transparent; -webkit-text-stroke: 1.5px var(--ink); }
.bigline__t em { font-style: normal; color: var(--purple); }

/* ---------- Process: travelling planet on the progress bar ---------- */
.ptrack-bar b { position: absolute; top: 50%; left: 0; width: 16px; height: 16px; margin: -8px 0 0 -8px; border-radius: 50%; background: var(--purple); border: 3px solid var(--paper); }
.pstep { transform-origin: left center; }

/* ---------- FAQ: sticky spinning world ---------- */
.faq__head { position: relative; }
.faq__orb { width: clamp(120px, 16vw, 230px); margin-top: clamp(28px, 4vw, 56px); }
@media (min-width: 861px) { .faq__head { position: sticky; top: 100px; align-self: start; } }
@media (max-width: 860px) { .faq__orb { display: none; } }
.faq summary { transition: color .25s, padding-left .45s var(--ease); }
.faq summary:hover { color: var(--purple); padding-left: 10px; }
.faq__a { overflow: hidden; }

/* ---------- Industries: screenshot follows the cursor ---------- */
.ind-peek { position: fixed; left: 0; top: 0; z-index: 60; width: clamp(220px, 22vw, 340px); border-radius: var(--r); overflow: hidden; background: var(--ink); padding: 16px 4px 4px; pointer-events: none; opacity: 0; transform: translate(-50%, -50%) scale(.6) rotate(-6deg); transition: opacity .25s, transform .45s var(--ease); }
.ind-peek.is-on { opacity: 1; transform: translate(-50%, -50%) scale(1) rotate(-3deg); }
.ind-peek img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; border-radius: calc(var(--r) - 6px); }
@media (hover: none) { .ind-peek { display: none; } }

/* ---------- Founders ---------- */
.founders { background: var(--paper); }
.fgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); }
@media (max-width: 860px) { .fgrid { grid-template-columns: 1fr; } }
.founder { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(20px, 2.4vw, 32px); display: flex; flex-direction: column; gap: 22px; perspective: 800px; }
.founder__world { position: relative; width: clamp(130px, 13vw, 190px); aspect-ratio: 1; transform-style: preserve-3d; }
.founder__planet { position: absolute; inset: 14%; border-radius: 50%; background: var(--fp, var(--purple)); overflow: hidden; display: grid; place-items: center; }
.founder__planet::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--fs, #3e17d6); transform: translate(36%, 24%); }
.founder__planet b { position: relative; z-index: 1; color: var(--ft, #fff); font-size: clamp(1.8rem, 3vw, 2.8rem); font-weight: 600; letter-spacing: -0.05em; font-variation-settings: "opsz" 96; }
.founder__ring { position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--ink); transform: rotateX(72deg) rotateY(-12deg); animation: f-ring 9s linear infinite; }
.founder__moon { position: absolute; width: 11%; aspect-ratio: 1; border-radius: 50%; background: var(--ink); left: 50%; top: 50%; margin: -5.5% 0 0 -5.5%; animation: f-moon 6s linear infinite; }
@keyframes f-ring { to { transform: rotateX(72deg) rotateY(-12deg) rotateZ(360deg); } }
@keyframes f-moon { from { transform: rotate(0deg) translateX(clamp(70px, 7.4vw, 104px)) rotate(0deg); } to { transform: rotate(360deg) translateX(clamp(70px, 7.4vw, 104px)) rotate(-360deg); } }
.founder--2 { --fp: var(--ink); --fs: #2c2340; }
.founder--3 { --fp: var(--lilac-2); --fs: #ae98fa; --ft: var(--ink); }
.founder h3 { font-size: var(--t-h4); font-weight: 500; letter-spacing: -0.03em; line-height: 1.1; }
.founder p { color: var(--ink-2); }
@media (prefers-reduced-motion: reduce) { .founder__ring, .founder__moon { animation: none; } }

/* ---------- Image reveals ---------- */
.js-reveal-img { clip-path: inset(0 0 0 0); }
