/*
 * OUTSPACE STUDIOS — Animated page hero (v2): a different scene on every page.
 * Loaded after page-hero-v1.css. Base state of every element is its FINAL, visible state;
 * animations only describe the way in, so reduced-motion / no-JS shows a finished picture.
 */

.ph-scene .sc { position: absolute; inset: 0; transform: translate3d(var(--tx, 0px), var(--ty, 0px), 0); }
.ph-scene { --vio: #7855ff; --lav: #b6a5ff; --org: #ff4a0d; }
.inner-hero.is-paused .ph-scene *, .inner-hero.is-paused .ph-scene *:before, .inner-hero.is-paused .ph-scene *:after { animation-play-state: paused !important; }

/* sequenced scenes: JS restarts them every --P seconds; the root fades in/out around each run */
.sc.seq { animation: sc-cycle var(--P, 10s) linear; }
@keyframes sc-cycle { 0% { opacity: 0; } 5% { opacity: 1; } 93% { opacity: 1; } 100% { opacity: 0; } }

/* shared "draw a line" and "pop in" */
.dr { stroke-dasharray: 1; stroke-dashoffset: 0; animation: sc-draw 1.5s cubic-bezier(.5,0,.2,1) backwards; animation-delay: var(--d, 0s); }
@keyframes sc-draw { from { stroke-dashoffset: 1; } }
.pop { transform-box: fill-box; transform-origin: center; animation: sc-pop .55s cubic-bezier(.2,1.4,.4,1) backwards; animation-delay: var(--d, 0s); }
@keyframes sc-pop { from { transform: scale(0); opacity: 0; } }
.fadein { animation: sc-fade .8s ease backwards; animation-delay: var(--d, 0s); }
@keyframes sc-fade { from { opacity: 0; } }

/* ═════════ SERVICES — five dimensions: stacked planes that fan apart ═════════ */
.sc-layers { perspective: 1100px; display: grid; place-items: center; }
.lay-stack { position: relative; width: 50%; aspect-ratio: 1; transform-style: preserve-3d; transform: rotateX(60deg) rotateZ(-30deg); animation: lay-spin 24s linear infinite; }
@keyframes lay-spin { to { transform: rotateX(60deg) rotateZ(330deg); } }
.lay {
  position: absolute; inset: 0; border-radius: 7%;
  border: 1px solid hsla(var(--h), 90%, 80%, .75);
  background: linear-gradient(135deg, hsla(var(--h), 90%, 68%, .32), hsla(var(--h), 90%, 60%, .06));
  box-shadow: 0 0 36px hsla(var(--h), 90%, 66%, .22);
  transform: translateZ(calc(var(--i) * 40px));
  animation: lay-fan 6s ease-in-out infinite; animation-delay: calc(var(--i) * -.14s);
}
.lay b { position: absolute; left: 7%; bottom: 6%; font-size: clamp(11px, 1.5vw, 19px); font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: #fff; text-shadow: 0 0 14px hsla(var(--h), 90%, 70%, .9); }
.lay:after { content: ""; position: absolute; right: 7%; top: 7%; width: 9%; aspect-ratio: 1; border-radius: 50%; background: hsl(var(--h), 95%, 78%); box-shadow: 0 0 14px hsl(var(--h), 95%, 70%); }
@keyframes lay-fan { 0%, 100% { transform: translateZ(calc(var(--i) * 14px)); } 50% { transform: translateZ(calc(var(--i) * 64px)); } }

/* ═════════ STUDIO — living constellation (canvas) ═════════ */
.sc-net { width: 100%; height: 100%; }

/* ═════════ WORK — tilted gallery wall, columns scroll in opposite directions ═════════ */
.sc-gal { overflow: hidden; -webkit-mask-image: radial-gradient(closest-side at 50% 50%, #000 52%, transparent 100%); mask-image: radial-gradient(closest-side at 50% 50%, #000 52%, transparent 100%); }
.gal-tilt { position: absolute; inset: -22% 6%; display: flex; gap: 4%; justify-content: center; transform: rotate(-13deg); }
.gal-col { width: 30%; overflow: hidden; }
.gal-col.c1 { margin-top: -14%; }
.gal-track { display: flex; flex-direction: column; animation: gal-up 26s linear infinite; }
.gal-col.c1 .gal-track { animation-name: gal-down; animation-duration: 32s; }
.gal-col.c2 .gal-track { animation-duration: 22s; }
.gal-track img { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 10px; margin-bottom: 12px; background: #2b2734; box-shadow: 0 14px 34px rgba(0,0,0,.5); border: 1px solid rgba(255,255,255,.1); }
@keyframes gal-up   { to { transform: translateY(-50%); } }
@keyframes gal-down { from { transform: translateY(-50%); } to { transform: translateY(0); } }

/* ═════════ PACKAGES — three tiers rise; an orb climbs them; ₹ and $ float up ═════════ */
.sc-pk .pk-base { position: absolute; left: 8%; right: 8%; bottom: 17%; height: 1px; background: linear-gradient(90deg, transparent, rgba(182,165,255,.7), transparent); }
.pk-bar { position: absolute; bottom: 17%; width: 18%; transform-origin: 50% 100%; border-radius: 8px 8px 0 0; background: linear-gradient(180deg, rgba(150,120,255,.85), rgba(120,85,255,.12)); border: 1px solid rgba(182,165,255,.55); border-bottom: 0; box-shadow: 0 0 40px rgba(120,85,255,.35); animation: pk-rise 1.1s cubic-bezier(.2,.8,.2,1) backwards; }
.pk-bar.b0 { left: 18%; height: 28%; animation-delay: .3s; }
.pk-bar.b1 { left: 42%; height: 48%; animation-delay: .7s; }
.pk-bar.b2 { left: 66%; height: 70%; animation-delay: 1.1s; }
.pk-bar i { position: absolute; left: -1px; right: -1px; top: -1px; height: 4px; border-radius: 8px 8px 0 0; background: #fff; box-shadow: 0 0 18px #fff; }
.pk-bar span { position: absolute; left: 50%; top: 100%; transform: translateX(-50%); margin-top: 10px; font-size: clamp(9px, 1vw, 12px); letter-spacing: .14em; text-transform: uppercase; color: #cfc7ff; white-space: nowrap; }
@keyframes pk-rise { from { transform: scaleY(0); opacity: 0; } }
.pk-orb { position: absolute; width: 15px; height: 15px; margin: -7px 0 0 -7px; border-radius: 50%; background: var(--org); box-shadow: 0 0 20px 5px rgba(255,74,13,.6); left: 76%; bottom: calc(17% + 70%); animation: pk-hop 3.2s cubic-bezier(.4,0,.2,1) 1.6s backwards; }
@keyframes pk-hop {
  0%   { left: 24%; bottom: calc(17% + 28%); opacity: 0; }
  8%   { opacity: 1; }
  34%  { left: 50%; bottom: calc(17% + 48%); }
  67%  { left: 76%; bottom: calc(17% + 70%); }
  100% { left: 76%; bottom: calc(17% + 70%); }
}
.pk-sym { position: absolute; bottom: 28%; left: calc(var(--x) * 1%); font-size: clamp(16px, 2.4vw, 30px); font-weight: 600; color: rgba(215,205,255,.8); text-shadow: 0 0 16px rgba(150,120,255,.8); animation: pk-float 5s ease-in infinite; animation-delay: calc(var(--d) * 1s); opacity: 0; }
@keyframes pk-float { 0% { transform: translateY(0) scale(.7); opacity: 0; } 15% { opacity: .95; } 100% { transform: translateY(-170px) scale(1.15) rotate(12deg); opacity: 0; } }

/* ═════════ CONTACT — a conversation writes itself ═════════ */
.cb { position: absolute; max-width: 62%; padding: 13px 18px; border-radius: 20px; font-size: clamp(11px, 1.35vw, 17px); line-height: 1.35; letter-spacing: -.01em; color: #f7f6fa; box-shadow: 0 14px 40px rgba(0,0,0,.4); }
.cb.in  { left: 4%;  border-bottom-left-radius: 5px;  background: rgba(34,30,46,.9); border: 1px solid rgba(182,165,255,.28); }
.cb.out { right: 4%; border-bottom-right-radius: 5px; background: linear-gradient(135deg, #7855ff, #5a3de0); }
.cb.b1 { top: 9%;  animation: cb-1 12s linear; }
.cb.b2 { top: 29%; animation: cb-2 12s linear; }
.cb.b3 { top: 49%; animation: cb-3 12s linear; }
.cb.b4 { top: 69%; animation: cb-4 12s linear; }
@keyframes cb-1 { 0%, 4%  { opacity: 0; transform: translateY(16px) scale(.92); } 9%  { opacity: 1; transform: none; } }
@keyframes cb-2 { 0%, 28% { opacity: 0; transform: translateY(16px) scale(.92); } 33% { opacity: 1; transform: none; } }
@keyframes cb-3 { 0%, 52% { opacity: 0; transform: translateY(16px) scale(.92); } 57% { opacity: 1; transform: none; } }
@keyframes cb-4 { 0%, 75% { opacity: 0; transform: translateY(16px) scale(.92); } 80% { opacity: 1; transform: none; } }
.cb.typing { display: flex; gap: 5px; padding: 15px 18px; opacity: 0; }
.cb.typing i { width: 7px; height: 7px; border-radius: 50%; background: #cfc7ff; animation: cb-dot 1s ease-in-out infinite; }
.cb.typing i:nth-child(2) { animation-delay: .15s; } .cb.typing i:nth-child(3) { animation-delay: .3s; }
@keyframes cb-dot { 0%, 100% { transform: translateY(0); opacity: .5; } 50% { transform: translateY(-5px); opacity: 1; } }
.cb.typing.t1 { top: 29%; animation: ty-1 12s linear; }
.cb.typing.t2 { top: 49%; animation: ty-2 12s linear; }
.cb.typing.t3 { top: 69%; animation: ty-3 12s linear; }
@keyframes ty-1 { 0%, 11% { opacity: 0; } 13%, 25% { opacity: 1; } 27%, 100% { opacity: 0; } }
@keyframes ty-2 { 0%, 35% { opacity: 0; } 37%, 49% { opacity: 1; } 51%, 100% { opacity: 0; } }
@keyframes ty-3 { 0%, 58% { opacity: 0; } 60%, 72% { opacity: 1; } 74%, 100% { opacity: 0; } }
.ct-send { position: absolute; right: 7%; bottom: 2%; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: #17151d; font-size: 18px; }
.ct-ring { position: absolute; right: 7%; bottom: 2%; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(182,165,255,.7); animation: ct-ring 2.6s ease-out infinite; }
.ct-ring:nth-of-type(2) { animation-delay: 1.3s; }
@keyframes ct-ring { from { transform: scale(1); opacity: .8; } to { transform: scale(3.6); opacity: 0; } }

/* ═════════ SVG scenes (branding · digital · privacy · logo) ═════════ */
.sc svg { width: 100%; height: 100%; overflow: visible; }
.sc svg.wb-cursor { width: 22px; height: 22px; }

/* branding — a logo is constructed: guides, mark, handles, swatches, type */
.br-fill { animation: sc-fade 1s ease backwards 2.6s; }
.br-hd { animation: sc-fade .6s ease backwards 2s; }
.br-dot { animation: br-orbit 4s linear infinite 3s; transform-origin: 200px 140px; transform-box: view-box; }
@keyframes br-orbit { to { transform: rotate(360deg); } }

/* digital marketing */
.dm-area { animation: sc-fade 1.2s ease backwards 1.6s; }
.dm-ping { transform-box: fill-box; transform-origin: center; animation: dm-ping 2s ease-out infinite 3s; }
@keyframes dm-ping { from { transform: scale(1); opacity: .9; } to { transform: scale(4); opacity: 0; } }

/* privacy */
.pv-ring { transform-box: fill-box; transform-origin: center; animation: pv-ring 4.5s ease-out infinite; animation-delay: calc(var(--d) * 1s); }
@keyframes pv-ring { from { transform: scale(.5); opacity: .7; } to { transform: scale(1.6); opacity: 0; } }
.pv-scan { animation: pv-scan 3.6s ease-in-out infinite alternate; }
@keyframes pv-scan { from { transform: translateY(-120px); } to { transform: translateY(120px); } }
.pv-bit { fill: #b6a5ff; animation: pv-bit 3.2s ease-in infinite; animation-delay: calc(var(--d) * 1s); opacity: 0; }
@keyframes pv-bit { 0% { transform: translate(var(--dx), var(--dy)); opacity: 0; } 15% { opacity: 1; } 78% { opacity: 1; } 100% { transform: translate(0, 0); opacity: 0; } }
.pv-lock { animation: pv-lock 4s ease-in-out infinite; transform-box: fill-box; transform-origin: 50% 100%; }
@keyframes pv-lock { 0%, 70%, 100% { transform: scale(1); } 80% { transform: scale(1.12); } }

/* logo design — path is morphed in JS */
.lg-ring { transform-box: view-box; transform-origin: 200px 165px; animation: lg-spin 30s linear infinite; }
.lg-ring.rev { animation-duration: 44s; animation-direction: reverse; }
@keyframes lg-spin { to { transform: rotate(360deg); } }
.lg-tag { font-size: 13px; letter-spacing: .24em; text-transform: uppercase; fill: #cfc7ff; text-anchor: middle; }

/* ═════════ WEBSITE — a browser builds a site, cursor clicks through ═════════ */
.sc-web { display: grid; place-items: center; }
.wb { position: relative; width: 88%; aspect-ratio: 1.34; border-radius: 14px; background: #14121b; border: 1px solid rgba(182,165,255,.3); box-shadow: 0 30px 80px rgba(0,0,0,.6), 0 0 60px rgba(120,85,255,.25); overflow: hidden; transform: perspective(1200px) rotateY(-9deg) rotateX(3deg); }
.wb-bar { height: 9%; display: flex; align-items: center; gap: 6px; padding: 0 4%; background: #1d1a27; border-bottom: 1px solid rgba(255,255,255,.08); }
.wb-bar i { width: 8px; height: 8px; border-radius: 50%; background: #3b3650; } .wb-bar i:first-child { background: var(--org); }
.wb-url { margin-left: 4%; flex: 1; max-width: 50%; height: 62%; border-radius: 99px; background: #0f0d15; font-size: 9px; color: #8e88a3; display: flex; align-items: center; padding-left: 10px; letter-spacing: .04em; }
.wb-body { position: relative; padding: 4% 5%; display: grid; gap: 5%; }
.wb-nav { display: flex; align-items: center; gap: 4%; animation: wb-in .6s ease backwards .3s; }
.wb-nav b { width: 18%; height: 9px; border-radius: 3px; background: #fff; } .wb-nav u { width: 11%; height: 6px; border-radius: 3px; background: #3b3650; } .wb-nav u:first-of-type { margin-left: auto; }
.wb-hero { display: grid; grid-template-columns: 1.15fr 1fr; gap: 5%; align-items: center; }
.wb-h s { display: block; height: 15px; border-radius: 4px; background: linear-gradient(90deg, #fff, #b6a5ff); margin-bottom: 8px; animation: wb-in .7s ease backwards .6s; } .wb-h s + s { width: 68%; animation-delay: .8s; }
.wb-hero p { height: 6px; width: 82%; border-radius: 3px; background: #4a4560; margin: 12px 0 14px; animation: wb-in .6s ease backwards 1s; }
.wb-btn { display: block; width: 36%; height: 20px; border-radius: 99px; background: var(--vio); animation: wb-in .6s ease backwards 1.2s, wb-press 6s ease-in-out 2s backwards; }
.wb-img { aspect-ratio: 1.2; border-radius: 10px; background: radial-gradient(circle at 30% 30%, #b6a5ff, #5a3de0 60%, #1f1640); animation: wb-in .8s ease backwards 1s; }
.wb-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 5%; }
.wb-cards div { aspect-ratio: 1.3; border-radius: 8px; background: #231f31; border: 1px solid rgba(255,255,255,.07); animation: wb-in .6s ease backwards; }
.wb-cards div:nth-child(1) { animation-delay: 1.6s; } .wb-cards div:nth-child(2) { animation-delay: 1.8s; } .wb-cards div:nth-child(3) { animation-delay: 2s; background: linear-gradient(135deg, #7855ff, #3c279a); animation-name: wb-in, wb-glow; animation-duration: .6s, 6s; animation-delay: 2s, 2s; animation-fill-mode: backwards; }
@keyframes wb-in { from { opacity: 0; transform: translateY(14px); } }
@keyframes wb-press { 0%, 36%, 48%, 100% { transform: scale(1); } 42% { transform: scale(.88); } }
@keyframes wb-glow { 0%, 60% { box-shadow: none; } 75%, 100% { box-shadow: 0 0 30px rgba(120,85,255,.7); } }
.wb-cursor { position: absolute; width: 22px; height: 22px; left: 74%; top: 72%; filter: drop-shadow(0 4px 8px rgba(0,0,0,.6)); animation: wb-cur 6s cubic-bezier(.5,0,.3,1) 2s backwards; }
@keyframes wb-cur { 0% { left: 86%; top: 92%; } 38% { left: 22%; top: 49%; } 52% { left: 22%; top: 49%; } 100% { left: 74%; top: 72%; } }
.wb-click { position: absolute; left: calc(22% + 3px); top: calc(49% + 3px); width: 26px; height: 26px; margin: -13px; border-radius: 50%; border: 2px solid #fff; opacity: 0; animation: wb-clk 6s ease-out 2s backwards; }
@keyframes wb-clk { 0%, 40% { transform: scale(.2); opacity: 0; } 42% { opacity: .9; } 56%, 100% { transform: scale(2.6); opacity: 0; } }

/* ═════════ PACKAGING — a pack spins above its dieline ═════════ */
.sc-pack { perspective: 1000px; display: grid; place-items: center; }
.pk-net { position: absolute; inset: 0; opacity: .55; }
.pk-net path { fill: none; stroke: #b6a5ff; stroke-width: 1.2; stroke-dasharray: 5 6; animation: pk-march 1.4s linear infinite; }
@keyframes pk-march { to { stroke-dashoffset: -22; } }
.cube-wrap { position: relative; width: 0; height: 0; animation: cube-float 6s ease-in-out infinite; }
@keyframes cube-float { 0%, 100% { transform: translateY(-6px); } 50% { transform: translateY(8px); } }
.cube { --s: clamp(120px, 15vw, 200px); position: absolute; left: calc(var(--s) / -2); top: calc(var(--s) / -2); width: var(--s); height: var(--s); transform-style: preserve-3d; animation: cube-spin 15s linear infinite; }
@keyframes cube-spin { from { transform: rotateX(-24deg) rotateY(0deg); } to { transform: rotateX(-24deg) rotateY(360deg); } }
.face { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 8px; border: 1px solid rgba(255,255,255,.25); backface-visibility: hidden; color: #fff; text-align: center; }
.face b { font-size: calc(var(--s) * .13); letter-spacing: .2em; font-weight: 600; } .face small { font-size: calc(var(--s) * .065); letter-spacing: .16em; opacity: .8; text-transform: uppercase; }
.f-front  { transform: translateZ(calc(var(--s) / 2)); background: linear-gradient(145deg, #8a6bff, #4429b8); }
.f-back   { transform: rotateY(180deg) translateZ(calc(var(--s) / 2)); background: linear-gradient(145deg, #5a3de0, #2a1a78); }
.f-right  { transform: rotateY(90deg) translateZ(calc(var(--s) / 2)); background: linear-gradient(145deg, #ff6a33, #d9360a); }
.f-left   { transform: rotateY(-90deg) translateZ(calc(var(--s) / 2)); background: linear-gradient(145deg, #3a2a8f, #1a1040); }
.f-top    { transform: rotateX(90deg) translateZ(calc(var(--s) / 2)); background: #cfc7ff; color: #2a1a78; }
.f-bottom { transform: rotateX(-90deg) translateZ(calc(var(--s) / 2)); background: #1a1040; }
.cf-ring { width: calc(var(--s) * .34); aspect-ratio: 1; border-radius: 50%; border: calc(var(--s) * .05) solid #ff4a0d; box-shadow: 0 0 18px rgba(255,74,13,.6); position: relative; }
.cf-ring:after { content: ""; position: absolute; right: -22%; top: -6%; width: 26%; aspect-ratio: 1; border-radius: 50%; background: #ff4a0d; }
.f-right .cf-ring { border-color: #fff; } .f-right .cf-ring:after { background: #fff; }
.cf-bar { width: 60%; height: calc(var(--s) * .16); background: repeating-linear-gradient(90deg, #2a1a78 0 2px, transparent 2px 5px, #2a1a78 5px 6px, transparent 6px 10px); }
.cube-shadow { position: absolute; left: -90px; top: 120px; width: 180px; height: 34px; border-radius: 50%; background: radial-gradient(closest-side, rgba(0,0,0,.55), transparent); animation: cube-shadow 6s ease-in-out infinite; }
@keyframes cube-shadow { 0%, 100% { transform: scale(1); opacity: .9; } 50% { transform: scale(.85); opacity: .6; } }

/* ═════════ SOCIAL — phone feed scrolls, likes float up ═════════ */
.sc-soc { display: grid; place-items: center; }
.phone { position: relative; width: 34%; aspect-ratio: 9 / 18; border-radius: 9% / 4.5%; background: #0f0d15; border: 3px solid #3b3650; box-shadow: 0 30px 70px rgba(0,0,0,.6), 0 0 60px rgba(120,85,255,.3); overflow: hidden; transform: rotate(-7deg); }
.phone:before { content: ""; position: absolute; left: 50%; top: 2%; width: 30%; height: 3%; transform: translateX(-50%); border-radius: 99px; background: #000; z-index: 3; }
.stories { display: flex; gap: 7%; padding: 11% 6% 4%; }
.stories i { flex: 1; aspect-ratio: 1; border-radius: 50%; background: conic-gradient(#7855ff, #ff4a0d, #b6a5ff, #7855ff); position: relative; animation: lay-spin 6s linear infinite; }
.stories i:after { content: ""; position: absolute; inset: 9%; border-radius: 50%; background: #1d1a27; }
.feed { height: 74%; overflow: hidden; }
.feed-track { animation: gal-up 14s linear infinite; }
.post { padding: 0 6% 8%; }
.post-h { display: flex; align-items: center; gap: 6%; margin-bottom: 6%; }
.post-h i { width: 14%; aspect-ratio: 1; border-radius: 50%; background: linear-gradient(135deg, #b6a5ff, #7855ff); } .post-h u { height: 6px; width: 38%; border-radius: 3px; background: #4a4560; }
.post-img { aspect-ratio: 1; border-radius: 8px; background: var(--g); }
.post-f { display: flex; gap: 6%; margin-top: 6%; } .post-f i { width: 12%; height: 8px; border-radius: 4px; background: #3b3650; } .post-f i:first-child { background: var(--org); }
.heart { position: absolute; bottom: 14%; left: calc(var(--x) * 1%); width: clamp(14px, 2vw, 26px); color: var(--org); filter: drop-shadow(0 0 10px rgba(255,74,13,.7)); animation: heart-up 4.4s ease-in infinite; animation-delay: calc(var(--d) * 1s); opacity: 0; }
@keyframes heart-up { 0% { transform: translate(0, 0) scale(.5); opacity: 0; } 12% { opacity: 1; } 50% { transform: translate(14px, -120px) scale(1); } 100% { transform: translate(-10px, -250px) scale(1.2); opacity: 0; } }
.chip { position: absolute; padding: 9px 14px; border-radius: 99px; font-size: clamp(10px, 1.1vw, 13px); font-weight: 600; background: rgba(22,20,29,.8); border: 1px solid rgba(182,165,255,.3); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); animation: chip-pop 6s ease-in-out infinite; animation-delay: calc(var(--d) * 1s); opacity: 0; white-space: nowrap; }
@keyframes chip-pop { 0% { transform: translateY(14px) scale(.8); opacity: 0; } 8%, 40% { transform: none; opacity: 1; } 52%, 100% { transform: translateY(-10px); opacity: 0; } }

/* ═════════ 404 — a satellite slips its orbit ═════════ */
.lost-sat { position: absolute; left: 50%; top: 50%; width: 14px; height: 14px; margin: -7px; border-radius: 50%; background: var(--org); box-shadow: 0 0 20px 5px rgba(255,74,13,.6); z-index: 9; }
.lost-sat:after { content: ""; position: absolute; left: 50%; top: 50%; width: 46px; height: 1px; background: linear-gradient(90deg, var(--org), transparent); transform-origin: 0 50%; transform: rotate(var(--ang, 0deg)); }
.lost-lbl { position: absolute; left: 50%; bottom: 3%; transform: translateX(-50%); font-size: clamp(10px, 1.1vw, 13px); letter-spacing: .3em; color: #ff8a5c; animation: lost-blink 1.4s steps(2, end) infinite; white-space: nowrap; }
@keyframes lost-blink { 50% { opacity: .15; } }
.sc-lost .ph-planet { width: calc(var(--ph-unit) * 1.1); }

/* ═════════ ARTICLE 1 — a logo grows into a whole identity ═════════ */
.id-mark { position: absolute; left: 50%; top: 50%; width: 22%; aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; border: clamp(7px, 1vw, 13px) solid var(--org); box-shadow: 0 0 40px rgba(255,74,13,.5); z-index: 3; animation: id-pulse 3s ease-in-out infinite; }
.id-mark:after { content: ""; position: absolute; right: -24%; top: -4%; width: 28%; aspect-ratio: 1; border-radius: 50%; background: var(--org); }
@keyframes id-pulse { 0%, 100% { box-shadow: 0 0 30px rgba(255,74,13,.4); } 50% { box-shadow: 0 0 60px rgba(255,74,13,.7); } }
.id-lbl { position: absolute; left: 50%; top: calc(50% + 15%); transform: translateX(-50%); font-size: clamp(10px, 1.1vw, 13px); letter-spacing: .24em; text-transform: uppercase; color: #cfc7ff; white-space: nowrap; animation: sc-fade .6s ease backwards .3s; }
.id-lbl.sys { top: calc(50% + 21%); color: #fff; animation-delay: 2.4s; }
.id-lines { position: absolute; inset: 0; }
.id-app { position: absolute; left: calc(var(--x) * 1%); top: calc(var(--y) * 1%); transform: translate(-50%, -50%); animation: id-fly 1s cubic-bezier(.2,1.1,.3,1) backwards; animation-delay: var(--d); display: grid; place-items: center; border: 1px solid rgba(255,255,255,.22); box-shadow: 0 18px 40px rgba(0,0,0,.5); }
@keyframes id-fly { from { left: 50%; top: 50%; transform: translate(-50%, -50%) scale(.2); opacity: 0; } }
.id-app i { width: 26%; aspect-ratio: 1; border-radius: 50%; border: 3px solid #ff4a0d; display: block; }
.id-card { width: 25%; aspect-ratio: 1.6; border-radius: 6px; background: linear-gradient(135deg, #f3f1ed, #cfc7ff); } .id-card i { border-color: #5a3de0; }
.id-box { width: 19%; aspect-ratio: 1; border-radius: 6px; background: linear-gradient(145deg, #8a6bff, #4429b8); } .id-box i { border-color: #fff; }
.id-sign { width: 30%; aspect-ratio: 3.4; border-radius: 8px; background: #17151d; border-color: rgba(255,74,13,.5); box-shadow: 0 0 30px rgba(255,74,13,.35); }
.id-av { width: 15%; aspect-ratio: 1; border-radius: 50%; background: linear-gradient(135deg, #ff6a33, #d9360a); } .id-av i { border-color: #fff; }

/* ═════════ ARTICLE 2 — checklist ticks itself ═════════ */
.sc-chk { display: grid; place-items: center; }
.ck { width: 78%; border-radius: 18px; padding: 6% 7% 7%; background: rgba(24,21,34,.88); border: 1px solid rgba(182,165,255,.3); box-shadow: 0 30px 80px rgba(0,0,0,.55), 0 0 50px rgba(120,85,255,.2); transform: rotate(-3deg); }
.ck h4 { margin: 0 0 4%; font-size: clamp(11px, 1.3vw, 16px); letter-spacing: .2em; text-transform: uppercase; color: #cfc7ff; font-weight: 600; }
.ck-row { display: flex; align-items: center; gap: 4%; padding: 2.4% 0; border-bottom: 1px solid rgba(255,255,255,.07); font-size: clamp(11px, 1.35vw, 17px); color: #f1eefa; animation: sc-fade .5s ease backwards; animation-delay: calc(var(--i) * .9s + .3s); }
.ck-box { width: 22px; height: 22px; flex: none; border-radius: 6px; border: 1.5px solid #8e88a3; display: grid; place-items: center; animation: ck-flash .5s ease backwards; animation-delay: calc(var(--i) * .9s + .8s); background: rgba(120,85,255,.4); border-color: #b6a5ff; }
.ck-box svg { width: 14px; height: 14px; fill: none; stroke: #fff; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.ck-box path { stroke-dasharray: 1; animation: sc-draw .45s ease backwards; animation-delay: calc(var(--i) * .9s + .85s); }
@keyframes ck-flash { from { background: transparent; border-color: #8e88a3; } }
.ck-prog { height: 5px; border-radius: 99px; background: rgba(255,255,255,.1); margin-top: 6%; overflow: hidden; }
.ck-prog i { display: block; height: 100%; border-radius: 99px; background: linear-gradient(90deg, #7855ff, #ff4a0d); animation: ck-fill 7s linear backwards .8s; }
@keyframes ck-fill { from { width: 0; } }

/* ═════════ ARTICLE 3 — before / after wipe ═════════ */
.sc-rd { display: grid; place-items: center; }
.rd-frame { position: relative; width: 88%; aspect-ratio: 1.3; border-radius: 14px; overflow: hidden; border: 1px solid rgba(182,165,255,.3); box-shadow: 0 30px 80px rgba(0,0,0,.6); transform: perspective(1200px) rotateY(-8deg); }
.rd-layer { position: absolute; inset: 0; padding: 5%; display: grid; align-content: start; gap: 5%; }
.rd-old { background: #cfcac2; }
.rd-old b { height: 8px; background: #8b857a; border-radius: 2px; display: block; } .rd-old .rd-row { display: grid; grid-template-columns: repeat(5, 1fr); gap: 3%; } .rd-old .rd-row i { height: 28px; background: #a8a299; display: block; } .rd-old .rd-row i:nth-child(odd) { background: #b9a79a; }
.rd-old .rd-bnr { height: 38px; background: repeating-linear-gradient(45deg, #c48a6a 0 8px, #a76f52 8px 16px); }
.rd-old .rd-txt { display: grid; gap: 5px; } .rd-old .rd-txt u { height: 4px; background: #8b857a; display: block; } .rd-old .rd-txt u:nth-child(2) { width: 90%; } .rd-old .rd-txt u:nth-child(3) { width: 70%; }
.rd-new { background: #0d0b14; clip-path: inset(0 0 0 100%); animation: rd-wipe 6s cubic-bezier(.6,0,.3,1) infinite alternate; }
.rd-new .n-nav { display: flex; gap: 6%; align-items: center; } .rd-new .n-nav b { width: 18%; height: 8px; border-radius: 3px; background: #fff; } .rd-new .n-nav u { width: 10%; height: 5px; border-radius: 3px; background: #4a4560; } .rd-new .n-nav u:first-of-type { margin-left: auto; }
.rd-new .n-h { display: grid; gap: 8px; margin-top: 4%; } .rd-new .n-h s { height: 20px; border-radius: 5px; background: linear-gradient(90deg, #fff, #b6a5ff); display: block; } .rd-new .n-h s + s { width: 62%; }
.rd-new .n-btn { width: 30%; height: 22px; border-radius: 99px; background: var(--vio); margin-top: 3%; }
.rd-new .n-img { height: 38%; border-radius: 12px; background: radial-gradient(circle at 70% 30%, #b6a5ff, #5a3de0 55%, #1f1640); }
.rd-div { position: absolute; top: 0; bottom: 0; width: 3px; margin-left: -1.5px; left: 0; background: #fff; box-shadow: 0 0 20px #fff, 0 0 40px var(--vio); z-index: 4; animation: rd-line 6s cubic-bezier(.6,0,.3,1) infinite alternate; }
.rd-div:after { content: "↔"; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 34px; height: 34px; border-radius: 50%; background: #fff; color: #17151d; display: grid; place-items: center; font-size: 15px; }
@keyframes rd-wipe { from { clip-path: inset(0 0 0 100%); } to { clip-path: inset(0 0 0 0%); } }
@keyframes rd-line { from { left: 100%; } to { left: 0%; } }
.rd-tag { position: absolute; bottom: 4%; z-index: 5; font-size: 10px; letter-spacing: .2em; text-transform: uppercase; padding: 5px 10px; border-radius: 99px; background: rgba(0,0,0,.55); color: #fff; }
.rd-tag.l { left: 4%; } .rd-tag.r { right: 4%; background: var(--vio); }

/* reduced motion: show the settled picture */
@media (prefers-reduced-motion: reduce) {
  .ph-scene *, .ph-scene *:before, .ph-scene *:after { animation: none !important; }
  .rd-new { clip-path: inset(0 0 0 50%); } .rd-div { left: 50%; }
  .pk-orb { left: 76%; bottom: calc(17% + 70%); }
  .cb.typing { display: none; }
}
@media (max-width: 760px) { .ph-scene { --ph-unit: 64px; } }

/* long single-line headlines (no <br>) stay clear of the scene on desktop */
@media (min-width: 1101px) { .inner-hero.ph-long h1 { max-width: min(54vw, 720px); font-size: clamp(48px, 5.6vw, 84px); line-height: .95; } }
