/* ==========================================================================
   NEXGEN — Oleh Ivanytskyi · portfolio styles
   ========================================================================== */

:root {
  --bg: #07070a;
  --bg2: #0c0c11;
  --bg3: #13131a;
  --ink: #ededf2;
  --dim: #a3a3b3;
  --mute: #8b8b9a;
  --line: rgba(255, 255, 255, .08);
  --line2: rgba(255, 255, 255, .16);
  --paper: #f3f2ee;
  --paper-ink: #0b0b0f;
  --o: #ff7a1a;
  --p: #ff2e7e;
  --v: #8b5cff;
  --c: #3ee0ff;
  --g: #3ddc84;
  --grad: linear-gradient(120deg, #ff7a1a 0%, #ff2e7e 48%, #8b5cff 100%);
  --silver: linear-gradient(180deg, #646973 0%, #bccbd6 70%, #e3ecf2 100%);
  --fd: "Unbounded", system-ui, sans-serif;
  --fb: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --fm: "JetBrains Mono", ui-monospace, Consolas, monospace;
  --pad: clamp(16px, 4vw, 56px);
  --nav: 76px;
  --e: cubic-bezier(.16, 1, .3, 1);
  --e2: cubic-bezier(.65, 0, .35, 1);
  --rad: clamp(28px, 4vw, 60px);
}
@media (max-width: 760px) { :root { --nav: 64px; } }

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  background: var(--bg);
  color: var(--ink);
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  color-scheme: dark;
}
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
html.is-locked { overflow: hidden; }
body {
  font-family: var(--fb);
  font-size: 16px;
  line-height: 1.6;
  background: var(--bg);
  min-height: 100vh;
  overflow-x: hidden;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul, ol { list-style: none; }
fieldset { border: 0; min-width: 0; }
::selection { background: var(--p); color: #fff; }
:focus-visible { outline: 2px solid var(--o); outline-offset: 3px; border-radius: 6px; }
.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.mono { font-family: var(--fm); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.ico { width: 1.15em; height: 1.15em; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ico--fill { fill: currentColor; stroke: none; }

.skip {
  position: fixed; left: 16px; top: -80px; z-index: 300;
  background: #fff; color: #000; padding: 12px 18px; border-radius: 12px; font-weight: 700;
  transition: top .3s var(--e);
}
.skip:focus { top: 16px; }

/* ---------- global layers ---------- */
.grain {
  position: fixed; inset: -50%; z-index: 95; pointer-events: none; opacity: .07;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1s steps(4) infinite;
}
@media (max-width: 760px) { .grain { animation: none; opacity: .05; } }
@keyframes grain {
  0% { transform: translate(0, 0); } 25% { transform: translate(-3%, 2%); }
  50% { transform: translate(2%, -3%); } 75% { transform: translate(-2%, -1%); } 100% { transform: translate(0, 0); }
}

.progress { position: fixed; inset: 0 0 auto 0; height: 2px; z-index: 120; pointer-events: none; }
.progress i { display: block; height: 100%; background: var(--grad); transform-origin: left; transform: scaleX(0); }

/* ---------- loader ---------- */
.loader {
  position: fixed; inset: 0; z-index: 200; background: var(--bg);
  display: grid; place-items: center; overflow: hidden;
  transition: transform 1.05s var(--e2), border-radius 1.05s var(--e2);
  animation: loaderSafety 0s 5s forwards;
}
html:not(.js) .loader { display: none; }
.loader.is-done { transform: translateY(-100%); border-radius: 0 0 50% 50% / 0 0 18% 18%; }
@keyframes loaderSafety { to { visibility: hidden; opacity: 0; pointer-events: none; } }
.loader__word { display: flex; font-family: var(--fd); font-weight: 900; font-size: clamp(48px, 12vw, 170px); line-height: 1; letter-spacing: -.02em; }
.loader__word span {
  display: inline-block; background: var(--silver); -webkit-background-clip: text; background-clip: text; color: transparent;
  opacity: 0; transform: translateY(40%) rotate(6deg); filter: blur(8px);
  animation: loaderIn .9s var(--e) forwards;
}
.loader__word span:nth-child(1) { animation-delay: .05s; } .loader__word span:nth-child(2) { animation-delay: .1s; }
.loader__word span:nth-child(3) { animation-delay: .15s; } .loader__word span:nth-child(4) { animation-delay: .2s; }
.loader__word span:nth-child(5) { animation-delay: .25s; } .loader__word span:nth-child(6) { animation-delay: .3s; }
@keyframes loaderIn { to { opacity: 1; transform: none; filter: none; } }
.loader__meta {
  position: absolute; left: var(--pad); right: var(--pad); bottom: calc(var(--pad) + 14px);
  display: flex; justify-content: space-between; align-items: flex-end; color: var(--dim);
}
.loader__count { font-family: var(--fd); font-weight: 800; font-size: clamp(36px, 6vw, 80px); line-height: .9; color: var(--ink); letter-spacing: -.03em; }
.loader__bar { position: absolute; left: var(--pad); right: var(--pad); bottom: var(--pad); height: 2px; background: var(--line); overflow: hidden; border-radius: 2px; }
.loader__bar i { display: block; height: 100%; background: var(--grad); transform-origin: left; transform: scaleX(0); }

/* ---------- buttons ---------- */
.btn {
  --h: 52px;
  position: relative; display: inline-flex; align-items: center; justify-content: center;
  height: var(--h); padding: 0 1.75em; border-radius: 999px;
  font-family: var(--fb); font-weight: 800; font-size: 13px; letter-spacing: .14em; text-transform: uppercase;
  white-space: nowrap; isolation: isolate; overflow: hidden; -webkit-tap-highlight-color: transparent;
  transition: transform .6s var(--e), background-color .3s, color .3s, border-color .3s, box-shadow .4s;
}
.btn__in { display: inline-flex; align-items: center; gap: .7em; transition: transform .6s var(--e); pointer-events: none; }
.btn .ico { width: 18px; height: 18px; transition: transform .5s var(--e); }
.btn:hover .ico { transform: rotate(45deg); }
.btn--sm { --h: 42px; font-size: 11.5px; padding: 0 1.4em; }
.btn--lg { --h: 60px; font-size: 13.5px; padding: 0 2em; }
.btn--grad {
  color: #fff;
  background: linear-gradient(123deg, #18011f 7%, #b600a8 37%, #7621b0 72%, #be4c00 100%);
  background-size: 160% 160%;
  box-shadow: 0 10px 34px -12px rgba(182, 0, 168, .7), inset 4px 4px 12px #7721b1;
  outline: 2px solid rgba(255, 255, 255, .9); outline-offset: -3px;
  animation: gradShift 6s ease-in-out infinite;
}
.btn--grad::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .45) 50%, transparent 70%);
  transform: translateX(-120%); transition: transform .9s var(--e);
}
.btn--grad:hover::after { transform: translateX(120%); }
.btn--grad:hover { box-shadow: 0 16px 50px -12px rgba(255, 46, 126, .85), inset 4px 4px 12px #7721b1; }
@keyframes gradShift { 0%, 100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }
/* messenger & social buttons — one animated style, each in its own brand colours */
.btn--brand {
  color: #fff;
  background: linear-gradient(123deg, var(--b1) 7%, var(--b2) 37%, var(--b3) 72%, var(--b4) 100%);
  background-size: 160% 160%;
  box-shadow: 0 8px 24px -16px var(--bglow), inset 3px 3px 10px rgba(255, 255, 255, .08);
  outline: 1.5px solid rgba(255, 255, 255, .5); outline-offset: -3px;
  filter: saturate(.86) brightness(.95);  /* calm at rest, full colour on hover / tap */
  animation: gradShift 6s ease-in-out infinite; animation-delay: var(--bd, 0s);
  transition: transform .6s var(--e), box-shadow .4s, filter .4s, outline-color .4s;
}
.btn--brand::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .45) 50%, transparent 70%);
  transform: translateX(-120%); transition: transform .9s var(--e);
}
.btn--brand:hover::after { transform: translateX(120%); }
.btn--brand:hover, .btn--brand:active, .btn--brand:focus-visible { filter: none; outline-color: rgba(255, 255, 255, .85); box-shadow: 0 14px 40px -12px var(--bglow), inset 3px 3px 10px rgba(255, 255, 255, .12); }
.btn--wa { --b1: #04392f; --b2: #0d8a63; --b3: #25d366; --b4: #8ff0b1; --bglow: rgba(37, 211, 102, .75); --bd: 0s; }
.btn--tg { --b1: #04213d; --b2: #0b6fc2; --b3: #229ed9; --b4: #5fd0ff; --bglow: rgba(34, 158, 217, .8); --bd: -1s; }
.btn--vb { --b1: #1d0b4a; --b2: #5a3fd6; --b3: #7360f2; --b4: #b9a6ff; --bglow: rgba(115, 96, 242, .85); --bd: -2s; }
.btn--li { --b1: #00203f; --b2: #004182; --b3: #0a66c2; --b4: #5aa9f5; --bglow: rgba(10, 102, 194, .85); --bd: -3s; }
.btn--ig { --b1: #4f5bd5; --b2: #962fbf; --b3: #d62976; --b4: #fa7e1e; --bglow: rgba(214, 41, 118, .85); --bd: -4s; }
.btn--fb { --b1: #062a66; --b2: #0b5bd3; --b3: #1877f2; --b4: #6aa7ff; --bglow: rgba(24, 119, 242, .85); --bd: -5s; }
.btn--wa .ico--fill { animation: vbRing 3.2s var(--e) infinite; animation-delay: 2.2s; }
.btn--tg .ico--fill { animation: tgFly 3.2s var(--e) infinite; }
.btn--vb .ico--fill { animation: vbRing 3.2s var(--e) infinite; animation-delay: 1.2s; }
@keyframes vbRing { 0%, 72%, 100% { transform: none; } 78% { transform: rotate(-12deg); } 84% { transform: rotate(10deg); } 90% { transform: rotate(-6deg); } }
@keyframes tgFly { 0%, 70%, 100% { transform: none; } 80% { transform: translate(3px, -3px) rotate(-8deg); } 90% { transform: translate(-1px, 1px); } }
.btn--ghost { color: var(--ink); border: 1.5px solid rgba(215, 226, 234, .55); background: rgba(255, 255, 255, .02); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.btn--ghost:hover { background: rgba(215, 226, 234, .1); border-color: #d7e2ea; }
.ripple { position: absolute; border-radius: 50%; background: rgba(255, 255, 255, .35); transform: scale(0); pointer-events: none; animation: ripple .7s var(--e) forwards; z-index: -1; }
@keyframes ripple { to { transform: scale(1); opacity: 0; } }

/* text roll hover */
.roll { display: inline-block; overflow: hidden; vertical-align: top; height: 1.3em; line-height: 1.3; }
.roll > span { display: block; transition: transform .55s var(--e); }
.roll > span::after { content: attr(data-t); display: block; }
@media (hover: hover) { a:hover .roll > span { transform: translateY(-1.3em); } }

/* ---------- nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 90; height: var(--nav);
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding-inline: var(--pad); transition: transform .7s var(--e);
}
.nav::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0;
  background: rgba(7, 7, 10, .62); backdrop-filter: blur(18px) saturate(1.5); -webkit-backdrop-filter: blur(18px) saturate(1.5);
  border-bottom: 1px solid var(--line); transition: opacity .4s;
}
.nav.is-scrolled::before { opacity: 1; }
.nav.is-hidden { transform: translateY(-110%); }
.nav__logo { font-family: var(--fd); font-weight: 800; font-size: 19px; letter-spacing: .02em; display: inline-flex; align-items: baseline; }
.blink { color: var(--o); animation: blink 1.1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.nav__links { display: flex; gap: clamp(18px, 2.4vw, 40px); font-size: 12.5px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.nav__links a { position: relative; color: var(--dim); padding: 8px 0; transition: color .3s; }
.nav__links a:hover, .nav__links a.is-active { color: var(--ink); }
.nav__links a::after {
  content: ""; position: absolute; left: 50%; bottom: 0; width: 5px; height: 5px; margin-left: -2.5px; border-radius: 50%;
  background: var(--o); transform: scale(0); transition: transform .4s var(--e);
}
.nav__links a.is-active::after { transform: scale(1); }
.nav__right { display: flex; align-items: center; gap: 12px; }
.lang { display: flex; gap: 2px; padding: 4px; border: 1px solid var(--line2); border-radius: 99px; font-family: var(--fm); font-size: 11px; font-weight: 700; letter-spacing: .06em; background: rgba(7, 7, 10, .35); }
.lang a { padding: 6px 10px; border-radius: 99px; color: var(--dim); transition: color .3s, background-color .3s; }
.lang a:hover { color: var(--ink); }
.lang a[aria-current="page"] { background: var(--ink); color: var(--bg); }
.burger { display: none; position: relative; width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line2); background: rgba(7, 7, 10, .4); -webkit-tap-highlight-color: transparent; }
.burger span { position: absolute; left: 14px; right: 14px; height: 2px; border-radius: 2px; background: var(--ink); transition: transform .55s var(--e), top .55s var(--e); }
.burger span:nth-child(1) { top: 19px; }
.burger span:nth-child(2) { top: 27px; }
.menu-open .burger span:nth-child(1) { top: 23px; transform: rotate(45deg); }
.menu-open .burger span:nth-child(2) { top: 23px; transform: rotate(-45deg); }
.lang-dd { position: relative; }
.lang-dd summary { list-style: none; display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 14px; border: 1px solid var(--line2); border-radius: 99px; background: rgba(7, 7, 10, .35); font-family: var(--fm); font-size: 11.5px; font-weight: 700; letter-spacing: .06em; cursor: pointer; transition: border-color .3s, background-color .3s; }
.lang-dd summary::-webkit-details-marker { display: none; }
.lang-dd summary:hover, .lang-dd[open] summary { border-color: rgba(255, 255, 255, .45); background: rgba(255, 255, 255, .06); }
.lang-dd summary i { width: 6px; height: 6px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; rotate: 45deg; translate: 0 -2px; transition: rotate .3s var(--e); }
.lang-dd[open] summary i { rotate: 225deg; translate: 0 2px; }
.lang--dd { position: absolute; top: calc(100% + 8px); right: 0; z-index: 5; display: grid; grid-template-columns: repeat(2, 1fr); gap: 2px; padding: 6px; border-radius: 16px; background: rgba(12, 12, 17, .96); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); box-shadow: 0 20px 50px -16px rgba(0, 0, 0, .9); }
.lang--dd a { padding: 8px 14px; text-align: center; }
.menu__foot .lang { flex-wrap: wrap; }
@media (max-width: 1080px) {
  .nav__links { display: none; }
  .burger { display: block; }
}
@media (max-width: 560px) {
  .nav__right > .btn, .nav__right > .lang-dd { display: none; }
}

/* ---------- mobile menu ---------- */
.menu {
  position: fixed; inset: 0; z-index: 85; background: var(--bg2); overflow: auto;
  display: flex; flex-direction: column; justify-content: space-between; gap: 32px;
  padding: calc(var(--nav) + 20px) var(--pad) calc(28px + env(safe-area-inset-bottom));
  clip-path: circle(0px at calc(100% - var(--pad) - 24px) calc(var(--nav) / 2));
  visibility: hidden;
  transition: clip-path .9s var(--e2), visibility 0s linear .9s;
}
.menu-open .menu { clip-path: circle(160vmax at calc(100% - var(--pad) - 24px) calc(var(--nav) / 2)); visibility: visible; transition: clip-path .9s var(--e2), visibility 0s; }
.menu__glow { position: absolute; inset: auto -20% -30% -20%; height: 70%; background: radial-gradient(closest-side, rgba(139, 92, 255, .35), transparent), radial-gradient(closest-side at 70% 60%, rgba(255, 46, 126, .3), transparent); filter: blur(40px); pointer-events: none; }
.menu__links { position: relative; display: flex; flex-direction: column; }
.menu__links a {
  display: flex; align-items: baseline; gap: 14px; padding: 10px 0; border-bottom: 1px solid var(--line);
  font-family: var(--fd); font-weight: 700; font-size: clamp(30px, 9vw, 64px); line-height: 1.1; text-transform: uppercase; letter-spacing: -.01em;
  opacity: 0; transform: translateY(50px); transition: transform .9s var(--e), opacity .9s var(--e);
}
.menu-open .menu__links a { opacity: 1; transform: none; transition-delay: calc(.18s + var(--i) * .06s); }
.menu__links small { font-family: var(--fm); font-size: 12px; font-weight: 500; color: var(--o); }
.menu__foot { position: relative; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; opacity: 0; transition: opacity .6s; }
.menu-open .menu__foot { opacity: 1; transition-delay: .55s; }
.menu__soc { display: flex; gap: 8px; flex-wrap: wrap; }
.menu__soc a { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line2); }
.menu__soc svg { width: 19px; height: 19px; }

/* ---------- reveal system ---------- */
html.js [data-reveal] { opacity: 0; transform: translate3d(0, 44px, 0); transition: opacity 1s var(--e), transform 1.2s var(--e); transition-delay: var(--d, 0s); }
html.js [data-reveal="fade"] { transform: none; }
html.js [data-reveal="left"] { transform: translate3d(-90px, 0, 0); }
html.js [data-reveal="right"] { transform: translate3d(90px, 0, 0); }
html.js [data-reveal="scale"] { transform: scale(.9); }
html.js [data-reveal].in { opacity: 1; transform: none; }

.wd { display: inline-block; white-space: nowrap; }
.sw { display: inline-block; overflow: hidden; vertical-align: top; padding: .06em 0 .1em; margin: -.06em 0 -.1em; }
.si { display: inline-block; transform: translate3d(0, 112%, 0); transition: transform 1.1s var(--e); transition-delay: calc(var(--d, 0s) + var(--i) * .03s); }
[data-split="words"] .si { transition-delay: calc(var(--d, 0s) + var(--i) * .06s); }
.in .si { transform: none; }

/* ---------- headings ---------- */
.h-giant {
  font-family: var(--fd); font-weight: 900; text-transform: uppercase; letter-spacing: -.025em; line-height: .92;
  font-size: clamp(44px, 11.5vw, 170px);
  background: var(--silver); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.h-giant.is-split { background: none; }
.h-giant .ch { background: var(--silver); -webkit-background-clip: text; background-clip: text; color: transparent; }
.h-giant--ink, .h-giant--ink.is-split { background: none; color: var(--paper-ink); }
.h-giant--ink .ch { background: none; color: var(--paper-ink); }
.section-sub { font-size: clamp(15px, 1.35vw, 19px); line-height: 1.55; color: var(--dim); max-width: 38ch; }

/* ---------- tags ---------- */
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tags li { font-size: 10.5px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; padding: 6px 12px; border-radius: 99px; border: 1px solid currentColor; opacity: .7; }
.tags--dark li { border-color: var(--line2); color: var(--dim); opacity: 1; }

/* ==========================================================================
   HERO
   ========================================================================== */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: 100vh; min-height: 100svh;
  display: flex; flex-direction: column;
  padding: calc(var(--nav) + 10px) var(--pad) clamp(22px, 4vh, 44px);
}
.hero__aurora { position: absolute; inset: -10%; z-index: -2; filter: blur(70px); opacity: .5; pointer-events: none; }
.hero__aurora i { position: absolute; border-radius: 50%; mix-blend-mode: screen; animation: aurora 22s ease-in-out infinite; }
.hero__aurora i:nth-child(1) { width: 55vmax; height: 55vmax; left: -10%; top: 25%; background: radial-gradient(closest-side, rgba(139, 92, 255, .8), transparent); }
.hero__aurora i:nth-child(2) { width: 45vmax; height: 45vmax; right: -12%; top: -10%; background: radial-gradient(closest-side, rgba(255, 122, 26, .55), transparent); animation-delay: -7s; animation-duration: 26s; }
.hero__aurora i:nth-child(3) { width: 40vmax; height: 40vmax; left: 35%; bottom: -25%; background: radial-gradient(closest-side, rgba(255, 46, 126, .55), transparent); animation-delay: -13s; animation-duration: 30s; }
@keyframes aurora { 0%, 100% { transform: translate(0, 0) scale(1); } 33% { transform: translate(8%, -6%) scale(1.1); } 66% { transform: translate(-6%, 8%) scale(.92); } }
.hero__grid {
  position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .55;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 72px 72px; background-position: center;
  -webkit-mask-image: radial-gradient(ellipse 75% 65% at 50% 45%, #000 15%, transparent 75%);
  mask-image: radial-gradient(ellipse 75% 65% at 50% 45%, #000 15%, transparent 75%);
}
.hero__top { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.badge {
  display: inline-flex; align-items: center; gap: 10px; padding: 8px 14px 8px 12px;
  border: 1px solid var(--line2); border-radius: 99px; background: rgba(255, 255, 255, .03);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  font-size: 12.5px; font-weight: 700; letter-spacing: .04em;
}
.pulse { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--g); }
.pulse::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--g); animation: ping 1.8s var(--e) infinite; }
@keyframes ping { 0% { transform: scale(1); opacity: .8; } 100% { transform: scale(3.2); opacity: 0; } }
.hero__meta { display: flex; gap: 10px; color: var(--dim); }
.hero__meta .sep { opacity: .4; }

.hero__title { position: relative; z-index: 1; margin-top: clamp(26px, 7vh, 80px); display: block; font-weight: inherit; }
.hero__kicker {
  display: block; max-width: 40ch; margin-bottom: clamp(10px, 1.8vh, 22px);
  font-family: var(--fb); font-size: clamp(12px, 1.05vw, 15px); font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--dim); line-height: 1.5;
}
.hero__giant {
  display: inline-block; white-space: nowrap;
  font-family: var(--fd); font-weight: 900; text-transform: uppercase;
  font-size: 17.2vw; line-height: .84; letter-spacing: -.03em;
  background: var(--silver); -webkit-background-clip: text; background-clip: text; color: transparent;
}
html.js .hero__giant { visibility: hidden; }
html.js .hero__giant.is-split { visibility: visible; background: none; }
.hero__giant .ch { background: var(--silver); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero__giant .sw { padding: .04em 0 .06em; margin: -.04em 0 -.06em; }
.hero__giant .si { transition: transform 1.4s var(--e); transition-delay: calc(.1s + var(--i) * .07s); }
html.js .hero__kicker, html.js .hero__top, html.js .hero__bottom > *, html.js .scroll-cue { opacity: 0; transform: translateY(24px); transition: opacity 1s var(--e), transform 1.2s var(--e); }
html.is-ready .hero__giant .si { transform: none; }
html.is-ready .hero__kicker, html.is-ready .hero__top, html.is-ready .hero__bottom > *, html.is-ready .scroll-cue { opacity: 1; transform: none; }
html.is-ready .hero__top { transition-delay: .05s; }
html.is-ready .hero__kicker { transition-delay: .25s; }
html.is-ready .hero__bottom > :nth-child(1) { transition-delay: .55s; }
html.is-ready .hero__bottom > :nth-child(2) { transition-delay: .7s; }
html.is-ready .scroll-cue { transition-delay: .9s; }

.hero__globe {
  position: absolute; left: 50%; top: 56%; z-index: 2; pointer-events: none;
  width: min(60vw, 100svh, 920px); aspect-ratio: 1; translate: -50% -50%;
}
html.js .hero__globe { pointer-events: auto; -webkit-tap-highlight-color: transparent; -webkit-user-select: none; user-select: none; }
@media (prefers-reduced-motion: reduce) { html.js .hero__globe { pointer-events: none; } }
.hero__globe.is-drag { cursor: grabbing; }
.hero__globe::before {
  content: ""; position: absolute; inset: 16%; border-radius: 50%; z-index: -1;
  background: radial-gradient(closest-side, rgba(139, 92, 255, .42), rgba(255, 46, 126, .22) 60%, transparent);
  filter: blur(40px); animation: glow 6s ease-in-out infinite;
}
@keyframes glow { 50% { transform: scale(1.12); opacity: .75; } }
.globe-mag { position: absolute; inset: 0; }
.globe-mag canvas { position: absolute; inset: 0; width: 100%; height: 100%; -webkit-mask-image: radial-gradient(closest-side, #000 88%, transparent 100%); mask-image: radial-gradient(closest-side, #000 88%, transparent 100%); }
html.js .globe-mag { opacity: 0; transform: scale(.6); transition: opacity 1.4s var(--e) .35s, transform 1.8s var(--e) .35s; }
html.is-ready .globe-mag { opacity: 1; transform: none; transition-delay: .35s; }
html.is-ready .globe-mag.is-live { transition: none; }
.hero__globe.is-fallback .globe-mag::after {
  content: ""; position: absolute; inset: 18%; border-radius: 50%;
  background:
    radial-gradient(circle at 32% 28%, rgba(255, 255, 255, .22), transparent 38%),
    radial-gradient(circle, rgba(255, 122, 26, .75) 0 1.2px, transparent 1.8px) 0 0 / 9px 9px,
    radial-gradient(circle at 50% 50%, #1d0f38 0%, #0b0716 75%);
  box-shadow: inset -18px -26px 50px rgba(0, 0, 0, .55), inset 10px 10px 30px rgba(139, 92, 255, .35), 0 0 60px rgba(255, 46, 126, .35);
}
.hero__globe.is-fallback canvas { display: none; }

.hero__bottom { position: relative; z-index: 3; margin-top: auto; display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; }
.hero__lead { max-width: 25ch; font-size: clamp(16px, 1.55vw, 23px); font-weight: 600; line-height: 1.4; text-wrap: balance; }
.rotator { display: inline-block; vertical-align: bottom; }
.hero__lead { text-shadow: 0 2px 14px rgba(7, 7, 10, .75); }
/* the rotating word glows like neon so it stays readable over the globe */
.rotator__word {
  --glow: drop-shadow(0 0 1.5px rgba(7, 7, 10, .95)) drop-shadow(0 0 7px rgba(255, 46, 126, .85)) drop-shadow(0 0 18px rgba(139, 92, 255, .7));
  display: inline-block; font-weight: 800;
  background: linear-gradient(120deg, #ffc27a 0%, #ff5fa8 48%, #c39bff 100%); background-size: 200% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent; text-shadow: none;
  filter: var(--glow); animation: neon 3.4s ease-in-out infinite;
  transition: transform .5s var(--e), opacity .5s var(--e), filter .5s;
}
@keyframes neon { 0%, 100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }
.rotator__word.is-out { transform: translateY(-70%); opacity: 0; filter: var(--glow) blur(4px); }
.rotator__word.is-in { transform: translateY(70%); opacity: 0; filter: var(--glow) blur(4px); transition: none; }
.hero__cta { display: flex; gap: 12px; flex-wrap: wrap; justify-content: flex-end; }
.scroll-cue { position: absolute; left: 50%; bottom: clamp(22px, 4vh, 44px); z-index: 3; translate: -50% 0; display: flex; flex-direction: column; align-items: center; gap: 10px; color: var(--dim); }
.scroll-cue i { width: 1px; height: 48px; background: linear-gradient(var(--ink), transparent); position: relative; overflow: hidden; }
.scroll-cue i::after { content: ""; position: absolute; left: 0; top: -50%; width: 1px; height: 50%; background: var(--o); animation: drip 2s var(--e2) infinite; }
@keyframes drip { to { top: 110%; } }
@media (max-width: 1180px) { .scroll-cue { display: none; } }
@media (max-width: 760px) {
  .hero__meta { display: none; }
  .hero__globe { top: 53%; width: min(104vw, 58svh); }
  .hero__bottom { flex-direction: column; align-items: stretch; gap: 18px; }
  .hero__lead { max-width: 30ch; font-size: 17px; }
  .hero__title { margin-top: clamp(4px, 2vh, 18px); }
  .hero__kicker { margin-bottom: 8px; }
  .hero__cta { justify-content: stretch; }
  .hero__cta .btn { flex: 1 1 100%; }
}
@media (max-width: 760px) and (max-height: 700px) {
  .hero__globe { width: min(96vw, 48svh); top: 51%; }
  .hero__cta .btn--ghost { display: none; }
}

/* ==========================================================================
   REEL (scroll-driven site concepts)
   ========================================================================== */
.reel { position: relative; padding: clamp(80px, 14vh, 170px) 0 clamp(40px, 7vh, 90px); overflow: hidden; }
html:not(.js) .reel { display: none; }
.reel__cap { display: flex; align-items: center; gap: 10px; padding-inline: var(--pad); margin-bottom: 22px; color: var(--dim); }
.reel__cap .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--o); box-shadow: 0 0 12px var(--o); }
.reel__rows { display: grid; gap: 14px; }
.reel__row { display: flex; gap: 14px; width: max-content; will-change: transform; }

.reel__cap { flex-wrap: wrap; }
.reel__cap > span:nth-child(2) { flex: 1 1 0; min-width: 0; }
.reel__hint { margin-left: auto; display: inline-flex; align-items: center; gap: 8px; color: var(--ink); }
.reel__hint::before { content: "↗"; color: var(--o); font-size: 14px; }
@media (max-width: 760px) { .reel__hint { flex-basis: 100%; margin-left: 16px; } }

/* concept site — a real page in miniature (tile), full-size in the viewer, mobile layout in the phones */
.site {
  --fs: 10px; font-size: var(--fs); flex: none; position: relative; container-type: inline-size;
  width: 42em; height: 27em; border-radius: 1.8em; overflow: hidden;
  display: flex; flex-direction: column; background: var(--bg); color: var(--fg); text-align: left;
  border: 1px solid rgba(255, 255, 255, .1); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .9);
  font-family: var(--fb); line-height: 1.25; cursor: pointer; -webkit-tap-highlight-color: transparent;
  transition: transform .6s var(--e);
}
@media (hover: hover) { .reel .site:hover { transform: translateY(-6px) scale(1.02); } }
@media (max-width: 760px) { .site { --fs: 6.4px; } .reel__row, .reel__rows { gap: 10px; } }
.ts-bar { height: 2.6em; flex: none; display: flex; align-items: center; gap: .5em; padding: 0 1.2em; background: color-mix(in srgb, var(--fg) 9%, var(--bg)); }
.ts-bar i { width: .75em; height: .75em; border-radius: 50%; background: color-mix(in srgb, var(--fg) 35%, transparent); }
.ts-bar span { margin-left: 1em; flex: 1; max-width: 22em; height: 1.6em; border-radius: .8em; background: color-mix(in srgb, var(--fg) 10%, transparent); font: 600 .9em/1.8em var(--fm); padding-left: 1em; opacity: .8; overflow: hidden; white-space: nowrap; }
.ts-view { position: relative; flex: 1; min-height: 0; overflow: hidden; }
.ts-page { transition: transform 1.4s var(--e); }
@media (hover: hover) { .reel .site:hover .ts-page { transform: translateY(calc(-100% + 24.4em)); transition: transform 7s cubic-bezier(.45, .05, .35, 1) .2s; } }
.site img { display: block; width: 100%; height: 100%; object-fit: cover; background: color-mix(in srgb, var(--fg) 8%, var(--bg)); }

.sp-nav { display: flex; align-items: center; gap: 1.6em; padding: 1.2em 1.8em; }
.sp-logo { margin-right: auto; font-family: var(--ff); font-weight: 800; font-size: 1.2em; letter-spacing: -.01em; white-space: nowrap; }
.sp-nav nav { display: flex; gap: 1.6em; }
.sp-nav a { font-size: .68em; font-weight: 700; opacity: .72; white-space: nowrap; }
.sp-btn { display: inline-flex; align-items: center; justify-content: center; font-style: normal; font-family: var(--fb); font-size: .68em; font-weight: 800; line-height: 1; padding: .85em 1.5em; border-radius: 3em; background: var(--ac); color: var(--bt); white-space: nowrap; }
.sp-btn--ghost { background: transparent; color: inherit; box-shadow: inset 0 0 0 1.5px currentColor; }
.sp-burger { display: none; width: 1.7em; height: 1em; border-block: 2px solid currentColor; }

.sp-hero { position: relative; margin: 0 1.8em; }
.sp-hero--split { display: grid; grid-template-columns: 1.05fr .95fr; gap: 2em; align-items: center; height: 19em; }
.sp-hero--full { height: 19.6em; margin: 0 1em; padding: 2.2em; border-radius: 1.4em; overflow: hidden; isolation: isolate; display: flex; align-items: flex-end; }
.sp-hero--full > img { position: absolute; inset: 0; z-index: -2; }
.sp-hero--full::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, color-mix(in srgb, var(--bg) 90%, transparent) 0%, color-mix(in srgb, var(--bg) 58%, transparent) 46%, transparent 78%); }
.sp-copy { position: relative; max-width: 25em; }
.sp-kick { display: inline-flex; align-items: center; gap: .7em; font-size: .6em; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; opacity: .85; }
.sp-kick::before { content: ""; flex: none; width: .8em; height: .8em; border-radius: 50%; background: var(--ac); }
.sp-copy h4 { margin-top: .4em; font-family: var(--ff); font-size: 3em; font-weight: 800; line-height: .98; letter-spacing: -.025em; text-wrap: balance; }
.sp-copy p { margin-top: .9em; max-width: 32em; font-size: .8em; line-height: 1.5; opacity: .8; }
.sp-actions { display: flex; flex-wrap: wrap; gap: .6em; margin-top: 1.5em; }
.sp-media { height: 100%; margin: 0; border-radius: 1.4em; overflow: hidden; }
.sp-search { display: flex; align-items: center; gap: .3em; margin-top: 1.5em; padding: .35em .35em .35em 1.1em; border-radius: 3em; background: color-mix(in srgb, var(--fg) 7%, var(--bg)); box-shadow: 0 .8em 1.8em -1.2em rgba(0, 0, 0, .45); }
.sp-search span { flex: 1; padding-right: .7em; font-size: .62em; font-weight: 700; white-space: nowrap; opacity: .8; border-right: 1px solid color-mix(in srgb, var(--fg) 18%, transparent); }
.sp-search span:nth-child(3) { border: 0; }

.sp-stats { display: grid; grid-template-columns: repeat(3, 1fr); margin: 1.6em 1.8em 0; border-block: 1px solid color-mix(in srgb, var(--fg) 14%, transparent); }
.sp-stats li { padding: 1.1em 0 1.1em 1.2em; border-left: 1px solid color-mix(in srgb, var(--fg) 14%, transparent); }
.sp-stats li:first-child { padding-left: 0; border: 0; }
.sp-stats b { display: block; font-family: var(--ff); font-size: 1.55em; font-weight: 800; letter-spacing: -.02em; white-space: nowrap; }
.sp-stats span { font-size: .6em; font-weight: 600; opacity: .68; }
.sp-sec { padding: 2.6em 1.8em 0; }
.sp-sec__h { display: flex; justify-content: space-between; align-items: baseline; gap: 1em; margin-bottom: 1.2em; }
.sp-sec__h span { font-size: .64em; font-weight: 800; color: var(--ac); white-space: nowrap; }
.sp-sec h5, .sp-about h5, .sp-band h5 { font-family: var(--ff); font-size: 1.8em; font-weight: 800; line-height: 1.05; letter-spacing: -.02em; text-wrap: balance; }
.sp-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1em; }
.sp-cards article { border-radius: 1.1em; overflow: hidden; background: color-mix(in srgb, var(--fg) 6%, var(--bg)); }
.sp-cards img { height: auto; aspect-ratio: 4 / 3; }
.sp-cards--prod img { aspect-ratio: 4 / 5; }
.sp-cards--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ts-bar span b { font-weight: 800; }
.sv__url b { color: #fff; font-weight: 800; letter-spacing: .02em; }
.vis--demos .phone { cursor: pointer; }
.sp-cards div { display: grid; gap: .3em; padding: .9em 1em 1.1em; }
.sp-cards b { font-size: .84em; font-weight: 800; }
.sp-cards span { font-size: .62em; font-weight: 600; opacity: .68; }
.sp-cards em { margin-top: .25em; font-style: normal; font-size: .74em; font-weight: 800; color: var(--ac); }
.sp-about { display: grid; grid-template-columns: 1fr 1fr; gap: 2.2em; align-items: center; padding: 2.8em 1.8em 0; }
.sp-about img { height: auto; aspect-ratio: 4 / 3; border-radius: 1.3em; }
.sp-about p { margin-top: .8em; font-size: .78em; line-height: 1.55; opacity: .78; }
.sp-about ul { display: grid; gap: .6em; margin-top: 1.2em; }
.sp-about li { display: flex; align-items: center; gap: .7em; font-size: .7em; font-weight: 700; }
.sp-about li::before { content: "✓"; flex: none; display: grid; place-items: center; width: 1.6em; height: 1.6em; border-radius: 50%; background: var(--ac); color: var(--bt); font-size: .85em; }
.sp-band { display: flex; justify-content: space-between; align-items: center; gap: 1.5em; margin: 2.8em 1.8em 0; padding: 2em 2.2em; border-radius: 1.4em; background: var(--ac); color: var(--bt); }
.sp-band .sp-btn { background: var(--bt); color: var(--ac); }
.sp-foot { display: flex; justify-content: space-between; align-items: center; gap: 1em; margin-top: 2.4em; padding: 1.3em 1.8em 1.5em; border-top: 1px solid color-mix(in srgb, var(--fg) 12%, transparent); }
.sp-foot b { font-family: var(--ff); font-size: .9em; }
.sp-foot span { font-size: .62em; opacity: .62; }

/* dashboard app */
.sp-app { display: grid; grid-template-columns: 10em minmax(0, 1fr); min-height: 24.4em; }
.sp-app aside { display: flex; flex-direction: column; gap: .2em; padding: 1.4em 1em; background: color-mix(in srgb, var(--fg) 5%, var(--bg)); border-right: 1px solid color-mix(in srgb, var(--fg) 10%, transparent); }
.sp-app aside b { margin: 0 .4em 1em; font-family: var(--ff); font-size: 1em; color: var(--ac); }
.sp-app aside a { padding: .6em .8em; border-radius: .6em; font-size: .64em; font-weight: 700; opacity: .65; }
.sp-app aside a.on { background: color-mix(in srgb, var(--ac) 18%, transparent); color: var(--ac); opacity: 1; }
.sp-app aside small { margin-top: auto; padding: 1em .8em 0; font: 500 .55em var(--fm); opacity: .55; }
.sp-app__main { display: flex; flex-direction: column; gap: 1.1em; min-width: 0; padding: 1.4em 1.6em 1.8em; }
.sp-app__top { display: flex; justify-content: space-between; align-items: center; }
.sp-app__top h4 { font-family: var(--ff); font-size: 1.4em; }
.sp-app__top span { display: inline-flex; align-items: center; gap: .6em; font-size: .6em; font-weight: 700; opacity: .85; }
.sp-app__top i { width: .8em; height: .8em; border-radius: 50%; background: var(--ac); box-shadow: 0 0 .8em var(--ac); }
.sp-kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .9em; }
.sp-kpis div { display: grid; gap: .25em; padding: 1em; border-radius: 1em; background: color-mix(in srgb, var(--fg) 6%, var(--bg)); }
.sp-kpis span { font-size: .58em; font-weight: 700; opacity: .68; }
.sp-kpis b { font-family: var(--ff); font-size: 1.45em; letter-spacing: -.02em; white-space: nowrap; }
.sp-kpis em { font-style: normal; font-size: .58em; font-weight: 800; color: var(--ac); }
.sp-chart { padding: 1em 1.1em; border-radius: 1em; background: color-mix(in srgb, var(--fg) 6%, var(--bg)); }
.sp-chart__h { display: flex; justify-content: space-between; margin-bottom: .8em; font-size: .6em; }
.sp-chart__h span { opacity: .6; }
.sp-chart__bars { display: flex; align-items: flex-end; gap: .45em; height: 7em; }
.sp-chart__bars i { flex: 1; height: var(--h); border-radius: .35em .35em .1em .1em; background: linear-gradient(180deg, var(--ac), color-mix(in srgb, var(--ac) 10%, transparent)); }
.sp-table { width: 100%; border-collapse: collapse; font-size: .6em; }
.sp-table th { padding: .6em .5em; text-align: left; font-weight: 700; opacity: .6; border-bottom: 1px solid color-mix(in srgb, var(--fg) 14%, transparent); }
.sp-table td { padding: .75em .5em; font-family: var(--fm); border-bottom: 1px solid color-mix(in srgb, var(--fg) 8%, transparent); }
.st { padding: .25em .7em; border-radius: 2em; font-family: var(--fb); font-weight: 800; white-space: nowrap; }
.st--ok { background: color-mix(in srgb, var(--ac) 18%, transparent); color: var(--ac); }
.st--mid { background: rgba(255, 178, 58, .16); color: #ffb23a; }
.st--bad { background: rgba(255, 110, 110, .16); color: #ff8a8a; }

/* narrow screens inside the mockup (phones, viewer on mobile) */
@container (max-width: 34em) {
  .sp-nav { gap: 1em; padding: 1.1em 1.3em; }
  .sp-nav nav, .sp-nav > .sp-btn { display: none; }
  .sp-burger { display: block; }
  .sp-hero { margin: 0 1em; }
  .sp-hero--split { grid-template-columns: 1fr; gap: 1.4em; height: auto; }
  .sp-hero--split .sp-media { order: -1; height: 13em; }
  .sp-hero--full { height: auto; min-height: 25em; margin: 0 .8em; padding: 1.6em; }
  .sp-hero--full::before { background: linear-gradient(0deg, color-mix(in srgb, var(--bg) 94%, transparent) 0%, color-mix(in srgb, var(--bg) 62%, transparent) 52%, transparent 88%); }
  .sp-copy h4 { font-size: 2.3em; }
  .sp-copy p { font-size: .86em; }
  .sp-kick { font-size: .64em; }
  .sp-btn { font-size: .76em; }
  .sp-search span:not(:first-child) { display: none; }
  .sp-stats { margin: 1.4em 1em 0; }
  .sp-stats li { padding-left: .8em; }
  .sp-stats b { font-size: 1.2em; }
  .sp-stats span { font-size: .66em; }
  .sp-sec { padding: 2em 1em 0; }
  .sp-cards { grid-template-columns: minmax(0, 1fr); }
  .sp-cards--prod { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sp-cards b { font-size: .95em; }
  .sp-cards span { font-size: .74em; }
  .sp-cards em { font-size: .84em; }
  .sp-about { grid-template-columns: 1fr; gap: 1.2em; padding: 2em 1em 0; }
  .sp-about p { font-size: .86em; }
  .sp-about li { font-size: .8em; }
  .sp-band { flex-direction: column; align-items: flex-start; margin: 2em 1em 0; padding: 1.6em; }
  .sp-foot { flex-direction: column; align-items: flex-start; gap: .5em; padding: 1.4em 1em 1.8em; }
  .sp-foot span { font-size: .72em; }
}

/* viewer */
.sv {
  position: fixed; inset: 0; z-index: 140; display: flex; align-items: center; justify-content: center;
  padding: clamp(10px, 3vh, 36px) clamp(10px, 3vw, 40px) calc(clamp(10px, 3vh, 36px) + env(safe-area-inset-bottom));
  opacity: 0; visibility: hidden; transition: opacity .45s var(--e), visibility 0s linear .45s;
}
.sv.is-open { opacity: 1; visibility: visible; transition: opacity .45s var(--e); }
.sv__back { position: absolute; inset: 0; background: rgba(5, 5, 8, .84); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.sv__box { position: relative; display: flex; flex-direction: column; gap: 12px; width: min(1180px, 100%); height: 100%; max-height: 940px; transform: translateY(40px) scale(.96); transition: transform .7s var(--e); }
.sv.is-open .sv__box { transform: none; }
.sv__win { flex: 1; min-height: 0; display: flex; flex-direction: column; overflow: hidden; border-radius: 22px; border: 1px solid var(--line2); background: #0d0d13; box-shadow: 0 40px 120px -30px rgba(0, 0, 0, .9); }
.sv__bar { flex: none; display: flex; align-items: center; gap: 8px; height: 48px; padding: 0 6px 0 16px; background: #15151d; border-bottom: 1px solid var(--line); }
.sv__bar > i { width: 11px; height: 11px; border-radius: 50%; background: #ff5f57; }
.sv__bar > i:nth-child(2) { background: #febc2e; } .sv__bar > i:nth-child(3) { background: #28c840; }
.sv__url { flex: 1; min-width: 0; max-width: 420px; height: 30px; margin-left: 10px; padding: 0 14px; border-radius: 15px; background: rgba(255, 255, 255, .06); color: var(--dim); font: 600 12.5px/30px var(--fm); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sv__tag { margin-left: auto; padding: 5px 10px; border-radius: 99px; border: 1px solid var(--line2); color: var(--dim); font-size: 10.5px; }
.sv__x { position: relative; flex: none; width: 42px; height: 42px; border-radius: 50%; transition: background-color .3s; }
.sv__x:hover { background: rgba(255, 255, 255, .08); }
.sv__x span { position: absolute; left: 12px; right: 12px; top: 20px; height: 2px; border-radius: 2px; background: var(--ink); transform: rotate(45deg); }
.sv__x span + span { transform: rotate(-45deg); }
.sv__scroll { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; container-type: inline-size; -webkit-overflow-scrolling: touch; touch-action: pan-y; }
.sv__scroll[data-dir="next"] > .site { animation: svNext .45s var(--e); }
.sv__scroll[data-dir="prev"] > .site { animation: svPrev .45s var(--e); }
@keyframes svNext { from { opacity: 0; transform: translateX(60px); } }
@keyframes svPrev { from { opacity: 0; transform: translateX(-60px); } }
.sv__scroll:focus { outline: none; }
.sv__scroll:focus-visible { outline: 2px solid var(--o); outline-offset: -2px; }
.site--full { --fs: clamp(12.5px, 2.15cqw, 23px); width: 100%; height: auto; border: 0; border-radius: 0; box-shadow: none; cursor: auto; }
@container (min-width: 34em) {
  .site--full .sp-hero--split { height: 23em; }
  .site--full .sp-hero--full { height: 25em; }
  .site--full .sp-app { min-height: 30em; }
}
html.sv-open .fab { transform: translateY(160%); }
.sv__foot { flex: none; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.sv__nav { display: flex; align-items: center; gap: 8px; }
.sv__arr { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line2); background: rgba(255, 255, 255, .04); color: var(--ink); font-size: 18px; transition: background-color .3s, border-color .3s; }
.sv__arr:hover { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .4); }
.sv__count { min-width: 66px; text-align: center; color: var(--dim); }
@media (max-width: 560px) { .sv__tag, .sv__count { display: none; } .sv__url { margin-left: 4px; } .sv__bar > i { display: none; } }

/* ==========================================================================
   ABOUT
   ========================================================================== */
.about {
  position: relative; overflow: hidden; isolation: isolate;
  min-height: 100vh; min-height: 100svh;
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
  gap: clamp(36px, 6vh, 64px); padding: clamp(90px, 14vh, 170px) var(--pad) clamp(140px, 20vh, 220px);
}
.about__text { max-width: 640px; font-size: clamp(19px, 2.15vw, 27px); font-weight: 600; line-height: 1.5; text-wrap: pretty; }
.about__text .c { opacity: .16; transition: opacity .15s linear; }
.about__text .hl, .about__text .hl .c { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(10px, 1.6vw, 20px); width: min(100%, 1080px); }
.stat {
  position: relative; text-align: left; padding: clamp(18px, 2.4vw, 30px); border-radius: 26px; overflow: hidden;
  border: 1px solid var(--line); background: linear-gradient(170deg, rgba(255, 255, 255, .055), rgba(255, 255, 255, .01));
}
.stat::after { content: ""; position: absolute; inset: auto -30% -60% auto; width: 80%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(closest-side, rgba(255, 46, 126, .22), transparent); }
.stat { container-type: inline-size; }
.stat strong { display: block; white-space: nowrap; font-family: var(--fd); font-weight: 800; font-size: min(clamp(34px, 4.6vw, 66px), 25cqw); line-height: 1; letter-spacing: -.04em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat > span { display: block; margin-top: 12px; font-size: 13.5px; font-weight: 600; color: var(--dim); line-height: 1.4; }
@media (max-width: 860px) { .stats { grid-template-columns: 1fr 1fr; } }

.shape { position: absolute; z-index: -1; pointer-events: none; will-change: transform; }
.shape > * { animation: bob 7s ease-in-out infinite; }
@keyframes bob { 0%, 100% { transform: translateY(0) rotate(0deg); } 50% { transform: translateY(-18px) rotate(6deg); } }
.shape--sphere { top: 7%; left: 4%; width: clamp(80px, 13vw, 200px); aspect-ratio: 1; }
.shape--sphere i { display: block; width: 100%; height: 100%; border-radius: 50%;
  background: radial-gradient(circle at 32% 28%, #fff 0%, #ffd9bf 5%, #ff8a3d 18%, #ff2e7e 46%, #6d28d9 78%, #1a0b2e 100%);
  box-shadow: inset -14px -22px 40px rgba(0, 0, 0, .45), 0 30px 60px -20px rgba(255, 46, 126, .5); }
.shape--ring { top: 6%; right: 4%; width: clamp(100px, 15vw, 230px); aspect-ratio: 1; perspective: 600px; }
.shape--ring i { display: block; width: 100%; height: 100%; border-radius: 50%;
  background: conic-gradient(from 200deg, #3ee0ff, #8b5cff, #ff2e7e, #ff7a1a, #ffd36b, #3ee0ff);
  -webkit-mask: radial-gradient(closest-side, transparent 58%, #000 60%, #000 98%, transparent 100%);
  mask: radial-gradient(closest-side, transparent 58%, #000 60%, #000 98%, transparent 100%);
  animation: ringSpin 14s linear infinite; filter: drop-shadow(0 20px 40px rgba(139, 92, 255, .45)); }
@keyframes ringSpin { from { transform: rotateX(62deg) rotateZ(0deg); } to { transform: rotateX(62deg) rotateZ(360deg); } }
.shape--cube { --cs: clamp(64px, 9vw, 130px); --s: calc(var(--cs) / 2); bottom: 6%; left: 7%; width: var(--cs); aspect-ratio: 1; perspective: 700px; }
.cube { position: relative; width: 100%; height: 100%; transform-style: preserve-3d; animation: cubeSpin 16s linear infinite; }
.cube b { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--fm); font-size: clamp(14px, 2vw, 26px); color: #fff;
  border: 1px solid rgba(255, 255, 255, .35); border-radius: 14%;
  background: linear-gradient(135deg, rgba(139, 92, 255, .55), rgba(62, 224, 255, .25)); backdrop-filter: blur(2px); }
.cube b:nth-child(1) { transform: translateZ(calc(var(--s, 65px))); }
.cube b:nth-child(2) { transform: rotateY(180deg) translateZ(var(--s, 65px)); }
.cube b:nth-child(3) { transform: rotateY(90deg) translateZ(var(--s, 65px)); }
.cube b:nth-child(4) { transform: rotateY(-90deg) translateZ(var(--s, 65px)); }
.cube b:nth-child(5) { transform: rotateX(90deg) translateZ(var(--s, 65px)); }
.cube b:nth-child(6) { transform: rotateX(-90deg) translateZ(var(--s, 65px)); }
@keyframes cubeSpin { from { transform: rotateX(-24deg) rotateY(0deg); } to { transform: rotateX(-24deg) rotateY(360deg); } }
.shape--pill { bottom: 7%; right: 8%; width: clamp(110px, 15vw, 230px); aspect-ratio: 2.4; rotate: -28deg; }
.shape--pill i { display: block; width: 100%; height: 100%; border-radius: 999px;
  background: linear-gradient(180deg, #ffe0c2 0%, #ff7a1a 30%, #e2005f 75%, #6a0636 100%);
  box-shadow: inset 0 -12px 24px rgba(0, 0, 0, .35), inset 0 8px 16px rgba(255, 255, 255, .45), 0 30px 50px -20px rgba(255, 122, 26, .55); }
@media (max-width: 760px) {
  .shape { opacity: .85; }
  .shape--sphere { top: 4%; left: -4%; } .shape--ring { top: 3%; right: -6%; }
  .shape--cube { bottom: 4%; left: 4%; } .shape--pill { bottom: 5%; right: -4%; }
}

/* ==========================================================================
   SERVICES (light)
   ========================================================================== */
.services {
  position: relative; z-index: 2; background: var(--paper); color: var(--paper-ink);
  border-radius: var(--rad) var(--rad) 0 0;
  padding: clamp(80px, 12vh, 150px) var(--pad) clamp(140px, 20vh, 220px);
}
.services ::selection { background: var(--paper-ink); color: var(--paper); }
.services__head { max-width: 1320px; margin: 0 auto clamp(44px, 9vh, 110px); display: flex; justify-content: space-between; align-items: flex-end; gap: 24px 48px; flex-wrap: wrap; }
.services__head p { max-width: 36ch; font-size: clamp(15px, 1.3vw, 18px); line-height: 1.55; color: rgba(11, 11, 15, .62); font-weight: 600; }
.svc { max-width: 1320px; margin: 0 auto; border-top: 1px solid rgba(11, 11, 15, .15); }
.svc__item {
  position: relative; isolation: isolate; overflow: hidden;
  display: grid; grid-template-columns: clamp(84px, 16vw, 230px) minmax(0, 1fr) auto; align-items: center;
  gap: clamp(14px, 3vw, 48px); padding: clamp(24px, 4.2vh, 46px) clamp(10px, 1.8vw, 28px);
  border-bottom: 1px solid rgba(11, 11, 15, .15);
  transition: color .55s var(--e);
}
.svc__item::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--paper-ink); transform: scaleY(0); transform-origin: bottom; transition: transform .7s var(--e); }
.svc__link { position: absolute; inset: 0; z-index: 2; }
.svc__num {
  font-family: var(--fd); font-weight: 900; font-size: clamp(46px, 8vw, 128px); line-height: .9; letter-spacing: -.04em;
  color: transparent; -webkit-text-stroke: 1.5px var(--paper-ink); transition: -webkit-text-stroke-color .5s;
}
.svc__body h3 { font-family: var(--fd); font-weight: 700; font-size: clamp(18px, 2.25vw, 34px); line-height: 1.12; text-transform: uppercase; letter-spacing: -.01em; }
.svc__body p { margin-top: 10px; max-width: 62ch; font-size: clamp(14px, 1.22vw, 17.5px); line-height: 1.6; opacity: .68; font-weight: 500; }
.svc__body .tags { margin-top: 16px; }
.svc__arrow {
  width: clamp(46px, 5vw, 76px); aspect-ratio: 1; border-radius: 50%; border: 1.5px solid currentColor;
  display: grid; place-items: center; transition: transform .7s var(--e), background-color .4s, border-color .4s, color .4s;
}
.svc__arrow .ico { width: 42%; height: 42%; }
.svc__item.is-on, .svc__item:focus-within { color: var(--paper); }
.svc__item.is-on::before, .svc__item:focus-within::before { transform: scaleY(1); }
.svc__item.is-on .svc__num { -webkit-text-stroke-color: transparent; background: var(--grad); -webkit-background-clip: text; background-clip: text; }
.svc__item.is-on .svc__arrow { transform: rotate(45deg); background: var(--grad); border-color: transparent; color: #fff; }
@media (hover: hover) {
  .svc__item:hover { color: var(--paper); }
  .svc__item:hover::before { transform: scaleY(1); }
  .svc__item:hover .svc__num { -webkit-text-stroke-color: transparent; background: var(--grad); -webkit-background-clip: text; background-clip: text; }
  .svc__item:hover .svc__arrow { transform: rotate(45deg); background: var(--grad); border-color: transparent; color: #fff; }
}
@media (max-width: 760px) {
  .svc__item { grid-template-columns: 1fr; gap: 8px; padding-right: 64px; }
  .svc__arrow { position: absolute; top: 24px; right: 10px; width: 44px; }
  .svc__num { font-size: 54px; }
}

/* ==========================================================================
   WORK (stacking cards)
   ========================================================================== */
.work {
  position: relative; z-index: 3; background: var(--bg);
  border-radius: var(--rad) var(--rad) 0 0; margin-top: calc(var(--rad) * -1.1);
  padding: clamp(80px, 12vh, 150px) var(--pad) clamp(40px, 6vh, 80px);
}
.work__head { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 22px; }
.work__head .section-sub { text-align: center; }
.stack { position: relative; margin-top: clamp(20px, 5vh, 60px); }
.stack__item {
  position: sticky; top: 0; height: 100vh; height: 100svh;
  display: flex; justify-content: center; align-items: flex-start;
  padding-top: calc(var(--nav) + 14px + var(--i) * 24px);
}
.card {
  --shade: 0;
  position: relative; width: min(100%, 1420px);
  height: min(calc(100svh - var(--nav) - 120px), 800px); min-height: 480px;
  display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); grid-template-rows: auto minmax(0, 1fr);
  gap: clamp(14px, 2vw, 28px); padding: clamp(16px, 2.3vw, 32px);
  border-radius: var(--rad); border: 2px solid rgba(215, 226, 234, .55);
  background: linear-gradient(160deg, #101018 0%, #09090d 60%);
  transform-origin: 50% 0; will-change: transform; box-shadow: 0 -30px 80px -40px rgba(0, 0, 0, .9);
}
.card::after { content: ""; position: absolute; inset: -2px; border-radius: inherit; background: #000; opacity: var(--shade); pointer-events: none; z-index: 5; }
.card__top { grid-column: 1 / -1; display: flex; align-items: center; gap: clamp(14px, 2.2vw, 32px); }
.card__num { font-family: var(--fd); font-weight: 900; font-size: clamp(48px, 7.5vw, 116px); line-height: .85; letter-spacing: -.04em; background: var(--silver); -webkit-background-clip: text; background-clip: text; color: transparent; }
.card__meta { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.card__cat { color: var(--o); }
.card__title { font-family: var(--fd); font-weight: 700; font-size: clamp(20px, 2.7vw, 42px); line-height: 1.05; text-transform: uppercase; letter-spacing: -.02em; }
.card__info { display: flex; flex-direction: column; justify-content: flex-end; gap: 20px; padding: 0 0 clamp(4px, 1vw, 12px) clamp(4px, .6vw, 10px); }
.card__info p { font-size: clamp(14.5px, 1.25vw, 18px); line-height: 1.6; color: var(--dim); font-weight: 500; }
.card__vis { min-height: 0; position: relative; container-type: size; }
@media (max-width: 900px) {
  .stack__item { padding-top: calc(var(--nav) + 10px + var(--i) * 14px); }
  .card { grid-template-columns: 1fr; grid-template-rows: auto auto minmax(0, 1fr); height: calc(100svh - var(--nav) - 76px); min-height: 0; max-height: 760px; gap: 14px; }
  .card__top { gap: 12px; }
  .card__cta { display: none; }
  .card__info { gap: 12px; padding: 0 2px; justify-content: flex-start; }
  .card__info p { font-size: 14px; line-height: 1.55; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
}
@media (max-width: 900px) and (max-height: 720px) { .card__info .tags { display: none; } }

/* shared visual frame */
.vis {
  position: absolute; inset: 0; overflow: hidden; border-radius: calc(var(--rad) * .7);
  border: 1px solid var(--line); background: radial-gradient(120% 100% at 0% 0%, #1d1233 0%, #0b0b12 58%);
  transition: transform .6s var(--e);
}
html.js .vis[data-reveal] { transform: none; }

/* v1 — lead engine */
.vis--leads { display: grid; grid-template-rows: minmax(0, 1fr) auto; }
/* satellite map (rendered from open elevation data) with Google-style labels and markers */
.vl-map { position: relative; overflow: hidden; container-type: size; border-bottom: 1px solid var(--line); background: #0b1c36; }
.vl-geo { position: absolute; left: 50%; top: 52%; translate: -50% -50%; width: max(min(100cqw, 196cqh), 100cqw - 26cqh); aspect-ratio: 1600 / 871; container-type: inline-size; }
.vl-sat { position: absolute; inset: 0; width: 100%; height: 100%; -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); }
.vl-t { position: absolute; left: var(--x); top: var(--y); translate: -50% 7px; white-space: nowrap; pointer-events: none; color: #fff; font: 600 clamp(8px, 1.3cqw, 11.5px)/1.1 var(--fb); text-shadow: 0 0 3px rgba(0, 0, 0, .95), 0 1px 2px rgba(0, 0, 0, .9); }
.vl-t--big { font-size: clamp(11px, 2cqw, 17px); font-weight: 800; }
.vl-t--isl { font-style: italic; font-weight: 700; letter-spacing: .08em; opacity: .9; translate: -50% -50%; }
@container (max-width: 520px) { .vl-t:nth-of-type(2),.vl-t:nth-of-type(4),.vl-t:nth-of-type(5),.vl-t:nth-of-type(7),.vl-t:nth-of-type(8),.vl-t:nth-of-type(10),.vl-t:nth-of-type(11),.vl-t:nth-of-type(12),.vl-t:nth-of-type(13),.vl-t:nth-of-type(15),.vl-t:nth-of-type(16),.vl-t:nth-of-type(18),.vl-t:nth-of-type(19),.vl-t:nth-of-type(21) { display: none; } }
.poi { position: absolute; left: var(--x); top: var(--y); z-index: 1; width: 15px; height: 15px; margin: -7.5px 0 0 -7.5px; display: grid; place-items: center; border-radius: 50%; border: 1.5px solid #fff; color: #fff; font-size: 8.5px; line-height: 1; box-shadow: 0 1px 4px rgba(0, 0, 0, .55); transform: scale(0); }
.poi--star { background: #f9ab00; } .poi--star::before { content: "★"; }
.poi--heart { background: #e8487d; } .poi--heart::before { content: "♥"; font-size: 9px; }
.in .poi { transform: scale(1); transition: transform .6s var(--e) calc(.4s + var(--d)); }
.pin { position: absolute; left: var(--x); top: var(--y); z-index: 2; width: 16px; height: 16px; margin: -18px 0 0 -8px; border-radius: 50% 50% 50% 0; rotate: -45deg; background: #ea4335; border: 1.5px solid #fff; box-shadow: -1px 2px 5px rgba(0, 0, 0, .5); transform: scale(0); transform-origin: 0 100%; }
.pin::before { content: ""; position: absolute; inset: 4px; border-radius: 50%; background: #fff; }
.pin::after { content: ""; position: absolute; left: -7px; bottom: -7px; width: 14px; height: 14px; border-radius: 50%; border: 2px solid #ea4335; animation: ping 2.2s var(--e) infinite; animation-delay: var(--d); }
.pin--o { background: #fb8c00; } .pin--o::after { border-color: #fb8c00; }
.pin--v { background: #34a853; } .pin--v::after { border-color: #34a853; }
.in .pin { transform: scale(1); transition: transform .7s var(--e) calc(.3s + var(--d)); }
.vl-scan { position: absolute; top: 0; bottom: 0; left: -35%; width: 35%; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .1), transparent); animation: scan 5s linear infinite; }
@keyframes scan { to { left: 100%; } }
.vl-search { position: absolute; left: 12px; top: 12px; right: 12px; max-width: 290px; display: flex; align-items: center; gap: 9px; padding: 9px 14px; border-radius: 99px; background: #fff; color: #3c4043; font-size: 12px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; box-shadow: 0 2px 6px rgba(0, 0, 0, .45); }
.vl-search i { position: relative; flex: none; width: 10px; height: 10px; border: 2px solid #5f6368; border-radius: 50%; }
.vl-search i::after { content: ""; position: absolute; right: -5px; bottom: -4px; width: 5px; height: 2px; background: #5f6368; rotate: 45deg; }
.vl-zoom { position: absolute; right: 12px; bottom: 12px; display: grid; border-radius: 8px; background: #fff; box-shadow: 0 2px 6px rgba(0, 0, 0, .45); overflow: hidden; }
.vl-zoom b { width: 28px; height: 26px; display: grid; place-items: center; color: #5f6368; font-size: 17px; font-weight: 600; line-height: 1; }
.vl-zoom b + b { border-top: 1px solid #e8eaed; }
.vl-label { position: absolute; left: 12px; bottom: 12px; padding: 4px 9px; border-radius: 6px; background: rgba(7, 7, 10, .65); color: #fff; font-size: 10.5px; }
.vl-panel { padding: clamp(12px, 1.6vw, 18px) clamp(14px, 2vw, 22px); display: flex; flex-direction: column; justify-content: center; gap: 10px; min-width: 0; }
.vl-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 8px; color: var(--dim); font-size: 10.5px; margin-bottom: 4px; }
.vl-head span { display: inline-flex; align-items: center; gap: 8px; }
.live { width: 7px; height: 7px; border-radius: 50%; background: var(--g); box-shadow: 0 0 10px var(--g); animation: blink 1.2s steps(1) infinite; }
.vl-head b { font-family: var(--fd); font-size: clamp(24px, 2.4vw, 34px); line-height: .9; color: var(--ink); letter-spacing: -.03em; }
.vl-head small { display: block; text-align: right; font-size: 9.5px; margin-top: 6px; }
.vl-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.vl-list li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 7px 10px; align-items: center; padding: 10px 12px; border-radius: 14px; background: rgba(255, 255, 255, .035); border: 1px solid var(--line); font-size: 13px; font-weight: 700; }
.vl-list li span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.vl-list li b { font-family: var(--fm); font-size: 12px; color: var(--g); }
.vl-list li i { grid-column: 1 / -1; height: 4px; border-radius: 4px; background: rgba(255, 255, 255, .08); overflow: hidden; }
.vl-list li i::after { content: ""; display: block; height: 100%; background: var(--grad); transform-origin: left; transform: scaleX(0); }
.in .vl-list li i::after { transform: scaleX(var(--w)); transition: transform 1.8s var(--e) var(--d); }
@media (max-width: 900px) {
  .vl-panel { padding: 12px; gap: 7px; }
  .vl-list { grid-template-columns: 1fr 1fr; gap: 6px; }
  .vl-list li { padding: 8px 10px; font-size: 11.5px; }
  .vl-head b { font-size: 26px; }
}

/* v2 — demo sites */
.vis--demos { display: flex; align-items: center; justify-content: center; gap: 4%; perspective: 1400px; padding: 4% 6% 12%; background: radial-gradient(90% 90% at 50% 100%, #2a0f2a 0%, #0b0b12 60%); }
.phone {
  position: relative; flex: none; width: min(28%, 36cqh, 210px); aspect-ratio: 9 / 18.5; container-type: inline-size;
  border-radius: clamp(14px, 3.4cqw, 30px); padding: 4px; background: #050507; border: 2px solid #2b2b36;
  box-shadow: 0 40px 70px -30px rgba(0, 0, 0, .95), inset 0 0 0 1px rgba(255, 255, 255, .06);
  transform: rotateY(var(--ry, 0deg)) translateY(var(--ty, 0px)) scale(var(--sc, 1));
  animation: phoneFloat 6s ease-in-out infinite; animation-delay: var(--fd2, 0s);
}
.ph1 { --ry: 22deg; --ty: 16px; --fd2: -2s; }
.ph2 { --sc: 1.1; z-index: 2; --fd2: -1s; }
.ph3 { --ry: -22deg; --ty: 16px; --fd2: -3s; }
@keyframes phoneFloat { 50% { translate: 0 -10px; } }
.ph__scr { position: relative; width: 100%; height: 100%; overflow: hidden; border-radius: clamp(10px, 2.8cqw, 26px); background: #0b0b12; display: flex; flex-direction: column; }
.ph__scr::after { content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none; background: linear-gradient(115deg, transparent 35%, rgba(255, 255, 255, .22) 50%, transparent 65%); transform: translateX(-120%); animation: sheen 5s var(--e2) infinite; animation-delay: var(--fd2, 0s); }
@keyframes sheen { 0%, 55% { transform: translateX(-120%); } 85%, 100% { transform: translateX(120%); } }
.site--phone { --fs: 4.5cqw; width: 100%; height: 100%; border: 0; border-radius: 0; box-shadow: none; cursor: default; }
.site--phone .ts-page { animation: phScroll 18s ease-in-out infinite alternate; animation-delay: var(--fd2, 0s); }
@keyframes phScroll { 0%, 14% { transform: none; } 86%, 100% { transform: translateY(-50%); } }
.ph__tag { position: absolute; top: -14px; left: 50%; translate: -50% 0; padding: 4px 10px; border-radius: 99px; background: var(--ink); color: var(--bg); font-size: 10px; font-weight: 700; z-index: 3; }
@media (max-width: 900px) {
  .vis--demos { gap: 0; padding: 6% 2% 14%; }
  .phone { width: min(37%, 44cqh, 210px); }
  .ph1 { margin-right: -7%; } .ph3 { margin-left: -7%; }
}
.phone .ph__scr { transition: transform .38s var(--e2), filter .38s; }
.phone.is-flip .ph__scr { transform: rotateY(90deg); filter: brightness(.6); }
.vd-langs { flex-basis: 100%; text-align: center; color: var(--ink); letter-spacing: .14em; }
.vd-meta { position: absolute; left: 0; right: 0; bottom: 4%; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px clamp(14px, 3vw, 36px); color: var(--dim); font-size: 10.5px; }
.vd-meta b { font-family: var(--fd); font-size: clamp(16px, 2vw, 24px); color: var(--ink); margin-right: 6px; letter-spacing: -.02em; }

/* v3 — cloud */
.vis--cloud { background: radial-gradient(70% 60% at 100% 0%, rgba(255, 122, 26, .22), transparent 70%), radial-gradient(90% 80% at 45% 40%, #2b2752 0%, #1a1b35 48%, #121424 100%); }
.vc-svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.vc-grid { stroke: rgba(255, 255, 255, .07); stroke-width: 1; }
.vc-cloud { fill: rgba(255, 255, 255, .035); stroke: rgba(255, 153, 0, .55); stroke-width: 1.2; stroke-dasharray: 6 5; }
.vc-tag { font-family: var(--fm); font-size: 10px; font-weight: 700; letter-spacing: .1em; fill: #ffad4d; }
.vc-panel { fill: rgba(255, 255, 255, .04); stroke: rgba(255, 255, 255, .08); }
.vc-line { fill: none; stroke: rgba(255, 255, 255, .3); stroke-width: 1.5; stroke-dasharray: 5 6; animation: dash 1.4s linear infinite; }
@keyframes dash { to { stroke-dashoffset: -22; } }
.vc-node rect { fill: #23264a; stroke: rgba(255, 255, 255, .32); stroke-width: 1.2; filter: drop-shadow(0 6px 12px rgba(0, 0, 0, .35)); }
.vc-node text { font-family: var(--fm); font-size: 12px; font-weight: 700; letter-spacing: .04em; fill: #f1f1f7; text-anchor: middle; }
.vc-node .big { font-family: var(--fd); font-size: 15px; font-weight: 700; fill: var(--ink); letter-spacing: 0; }
.vc-node--hot rect { stroke: url(#vc-g); stroke-width: 2; }
.vc-node--hot .halo { fill: none; stroke: #ff2e7e; stroke-width: 1.5; opacity: .6; transform-box: fill-box; transform-origin: center; animation: halo 2.4s var(--e) infinite; }
@keyframes halo { from { transform: scale(1); opacity: .7; } to { transform: scale(1.5); opacity: 0; } }
.vc-ec2 rect { fill: #262a50; stroke: rgba(255, 255, 255, .38); transition: opacity .6s; }
.vc-ec2 .idle { animation: idle 4s ease-in-out infinite; }
@keyframes idle { 0%, 40% { opacity: 1; } 55%, 85% { opacity: .15; } 100% { opacity: 1; } }
.vc-pkt { fill: #fff; filter: drop-shadow(0 0 4px #ff2e7e); }
.vc-area { fill: url(#vc-a); }
.vc-cost { fill: none; stroke: url(#vc-g); stroke-width: 2.5; stroke-linecap: round; stroke-dasharray: 600; stroke-dashoffset: 600; }
.in .vc-cost { stroke-dashoffset: 0; transition: stroke-dashoffset 2.4s var(--e) .3s; }
.vc-lbl { font-family: var(--fm); font-size: 12px; font-weight: 700; letter-spacing: .08em; fill: #c3c3d4; }
.vc-down { font-family: var(--fd); font-weight: 800; font-size: 20px; fill: var(--g); }

/* v4 — stream */
.vis--stream { display: grid; grid-template-rows: minmax(0, 1fr) auto; gap: 12px; padding: clamp(12px, 1.8vw, 22px); background: radial-gradient(100% 100% at 0% 100%, #062a22 0%, #0b0b12 60%); }
.term { min-height: 0; display: flex; flex-direction: column; border-radius: 18px; background: rgba(3, 3, 6, .85); border: 1px solid var(--line); overflow: hidden; }
.term__bar { display: flex; align-items: center; gap: 7px; padding: 11px 14px; border-bottom: 1px solid var(--line); }
.term__bar i { width: 11px; height: 11px; border-radius: 50%; background: #ff5f57; }
.term__bar i:nth-child(2) { background: #febc2e; } .term__bar i:nth-child(3) { background: #28c840; }
.term__bar span { margin-left: 8px; color: var(--mute); font-size: 10.5px; text-transform: none; letter-spacing: .02em; }
.term__body { flex: 1; min-height: 0; display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; padding: 12px 14px; font-family: var(--fm); font-size: clamp(10px, 1vw, 12.5px); line-height: 1.75; color: #b9f5cf; white-space: nowrap; }
.term__body div { animation: lineIn .4s var(--e); }
@keyframes lineIn { from { opacity: 0; transform: translateY(8px); } }
.term__body .t { color: var(--mute); } .term__body .k { color: var(--o); } .term__body .s { color: var(--c); } .term__body .ok { color: var(--g); }
.vs-meter { border-radius: 18px; border: 1px solid var(--line); background: rgba(255, 255, 255, .03); padding: 12px 16px 8px; }
.vs-top { display: flex; justify-content: space-between; align-items: baseline; color: var(--dim); font-size: 10.5px; }
.vs-top b { font-family: var(--fd); font-size: 18px; color: var(--ink); margin-right: 4px; letter-spacing: -.02em; }
.vs-spark { width: 100%; height: 46px; margin-top: 6px; }
.vs-spark path { fill: none; stroke: url(#vs-g); stroke-width: 2; vector-effect: non-scaling-stroke; }
.vs-spark .area { fill: url(#vs-a); stroke: none; }

/* ==========================================================================
   PROCESS (horizontal on desktop)
   ========================================================================== */
.process { position: relative; }
.process__pin { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; display: flex; flex-direction: column; justify-content: center; gap: clamp(28px, 6vh, 64px); }
.process__head { padding-inline: var(--pad); display: flex; justify-content: space-between; align-items: flex-end; gap: 16px 40px; flex-wrap: wrap; }
.process__head .mono { color: var(--dim); }
.process__track { display: flex; gap: 20px; width: max-content; padding-inline: var(--pad); will-change: transform; }
.step {
  position: relative; flex: none; overflow: hidden; width: clamp(300px, 30vw, 460px); min-height: clamp(320px, 50vh, 470px);
  display: flex; flex-direction: column; padding: clamp(24px, 2.4vw, 36px); border-radius: 34px;
  border: 1px solid var(--line); background: linear-gradient(160deg, #14141c 0%, #0a0a0f 70%);
}
.step::before { content: ""; position: absolute; inset: auto -20% -40% auto; width: 70%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(closest-side, rgba(139, 92, 255, .18), transparent); }
.step__num { font-family: var(--fd); font-weight: 900; font-size: clamp(80px, 9vw, 140px); line-height: .8; letter-spacing: -.05em; color: transparent; -webkit-text-stroke: 1.5px rgba(255, 255, 255, .2); }
.step__ico { position: absolute; top: clamp(24px, 2.4vw, 36px); right: clamp(24px, 2.4vw, 36px); width: 58px; height: 58px; border-radius: 18px; display: grid; place-items: center; background: var(--grad); color: #fff; box-shadow: 0 14px 30px -10px rgba(255, 46, 126, .6); }
.step__ico .ico { width: 26px; height: 26px; }
.step h3 { margin-top: auto; font-family: var(--fd); font-weight: 700; font-size: clamp(20px, 1.9vw, 28px); line-height: 1.1; text-transform: uppercase; letter-spacing: -.01em; }
.step p { margin-top: 12px; color: var(--dim); font-size: 15px; line-height: 1.6; max-width: 34ch; }
.step--cta { padding: 0; border: 0; background: var(--grad); }
.step--cta a { position: relative; z-index: 1; flex: 1; display: flex; flex-direction: column; justify-content: space-between; padding: clamp(24px, 2.4vw, 36px); color: #fff; }
.step--cta strong { font-family: var(--fd); font-weight: 900; font-size: clamp(34px, 3.6vw, 56px); line-height: .95; text-transform: uppercase; letter-spacing: -.03em; }
.step--cta .ico { width: 64px; height: 64px; align-self: flex-end; transition: transform .7s var(--e); }
.step--cta:hover .ico { transform: rotate(45deg) scale(1.1); }
.process__bar { margin-inline: var(--pad); height: 2px; border-radius: 2px; background: var(--line); overflow: hidden; }
.process__bar i { display: block; height: 100%; background: var(--grad); transform-origin: left; transform: scaleX(var(--p, 0)); }
@media (max-width: 900px), (prefers-reduced-motion: reduce) {
  .process { height: auto !important; }
  .process__pin { position: relative; height: auto; overflow: visible; padding-block: clamp(80px, 12vh, 130px); }
  .process__track { position: relative; flex-direction: column; width: auto; transform: none !important; padding-left: calc(var(--pad) + 30px); }
  .process__track::before { content: ""; position: absolute; left: calc(var(--pad) + 8px); top: 10px; bottom: 10px; width: 2px; background: var(--line); border-radius: 2px; }
  .process__track::after { content: ""; position: absolute; left: calc(var(--pad) + 8px); top: 10px; bottom: 10px; width: 2px; background: var(--grad); border-radius: 2px; transform-origin: top; transform: scaleY(var(--p, 0)); }
  .step { width: auto; min-height: 0; }
  .step h3 { margin-top: 28px; }
  .step__num { font-size: 72px; }
  .step::after { content: ""; position: absolute; }
  .step--cta { min-height: 200px; }
  .process__bar { display: none; }
}

/* ==========================================================================
   WHY (bento)
   ========================================================================== */
.why { padding: clamp(90px, 13vh, 160px) var(--pad); }
.why__head { max-width: 1400px; margin: 0 auto clamp(40px, 7vh, 80px); display: flex; justify-content: space-between; align-items: flex-end; gap: 20px 48px; flex-wrap: wrap; }
.bento { max-width: 1400px; margin: 0 auto; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); grid-auto-rows: minmax(300px, auto); gap: 16px; }
.tile {
  --mx: 50%; --my: 50%;
  position: relative; isolation: isolate; overflow: hidden; grid-column: span 2;
  display: flex; flex-direction: column; padding: clamp(20px, 2vw, 28px); border-radius: 30px;
  border: 1px solid var(--line); background: linear-gradient(170deg, #111118 0%, #0a0a0f 80%);
}
.tile::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .5s; background: radial-gradient(500px circle at var(--mx) var(--my), rgba(255, 122, 26, .14), transparent 40%); }
.tile::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none; opacity: 0; transition: opacity .5s;
  background: radial-gradient(360px circle at var(--mx) var(--my), rgba(255, 255, 255, .55), transparent 45%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
}
.bento:hover .tile::before, .bento:hover .tile::after { opacity: 1; }
.tile--geo, .tile--data { grid-column: span 4; }
.tile h3 { font-family: var(--fd); font-weight: 700; font-size: clamp(17px, 1.5vw, 21px); line-height: 1.15; text-transform: uppercase; letter-spacing: -.01em; }
.tile > p { margin-top: 8px; color: var(--dim); font-size: 14.5px; line-height: 1.55; max-width: 42ch; }
.tile__vis { position: relative; flex: 1; min-height: 150px; margin-bottom: 20px; display: grid; place-items: center; }
@media (max-width: 1000px) { .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); } .tile, .tile--geo, .tile--data { grid-column: span 1; } .tile--geo { grid-column: 1 / -1; } }
@media (max-width: 640px) { .bento { grid-template-columns: 1fr; grid-auto-rows: auto; } .tile, .tile--geo { grid-column: auto; } .tile__vis { min-height: 170px; } }

/* speed gauge */
.gauge { width: min(100%, 240px); overflow: visible; }
.gauge .g-track { fill: none; stroke: rgba(255, 255, 255, .08); stroke-width: 14; stroke-linecap: round; }
.gauge .g-val { fill: none; stroke: url(#g-grad); stroke-width: 14; stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: 100; }
.in .gauge .g-val { stroke-dashoffset: 6; transition: stroke-dashoffset 2s var(--e) .2s; }
.gauge .g-needle { stroke: var(--ink); stroke-width: 3; stroke-linecap: round; transform-origin: 100px 110px; transform: rotate(-90deg); }
.in .gauge .g-needle { transform: rotate(78deg); transition: transform 2s var(--e) .2s; }
.gauge circle { fill: var(--ink); }
.cwv { display: flex; gap: 8px; justify-content: center; margin-top: 14px; flex-wrap: wrap; }
.cwv span { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 99px; border: 1px solid var(--line2); font-size: 10.5px; color: var(--dim); }
.cwv i { width: 7px; height: 7px; border-radius: 50%; background: var(--g); box-shadow: 0 0 8px var(--g); }
.tile--speed .tile__vis { display: flex; flex-direction: column; justify-content: center; align-items: center; }

/* geo chat */
.chat { width: min(100%, 560px); display: flex; flex-direction: column; gap: 10px; }
.chat__head { display: flex; align-items: center; gap: 8px; color: var(--dim); font-size: 10.5px; margin-bottom: 4px; }
.ai-dot { width: 18px; height: 18px; border-radius: 50%; background: conic-gradient(from 0deg, #ff7a1a, #ff2e7e, #8b5cff, #3ee0ff, #ff7a1a); animation: spin 3s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.bub { max-width: 88%; padding: 12px 16px; border-radius: 20px; font-size: 14.5px; line-height: 1.5; font-weight: 600; }
.bub--q { align-self: flex-end; background: var(--ink); color: var(--bg); border-bottom-right-radius: 6px; }
.bub--a { align-self: flex-start; min-height: 46px; background: rgba(255, 255, 255, .06); border: 1px solid var(--line2); border-bottom-left-radius: 6px; }
.bub--a b { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.typing { display: none; gap: 4px; padding: 6px 0; }
.typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--dim); animation: typing 1s ease-in-out infinite; }
.typing i:nth-child(2) { animation-delay: .15s; } .typing i:nth-child(3) { animation-delay: .3s; }
@keyframes typing { 50% { transform: translateY(-5px); opacity: .4; } }
.bub--a.is-typing .typing { display: inline-flex; }
.bub--a .caret::after { content: ""; display: inline-block; width: 2px; height: 1em; margin-left: 2px; vertical-align: -2px; background: var(--o); animation: blink .8s steps(1) infinite; }

/* mobile phone */
.mini-phone { width: 118px; height: 200px; border-radius: 24px; border: 2px solid #2b2b36; background: #050507; padding: 5px; position: relative; box-shadow: 0 30px 50px -20px rgba(0, 0, 0, .9); animation: tiltPhone 5s ease-in-out infinite; }
@keyframes tiltPhone { 0%, 100% { transform: rotate(-6deg); } 50% { transform: rotate(6deg) translateY(-6px); } }
.mini-phone__scr { width: 100%; height: 100%; border-radius: 19px; overflow: hidden; background: #101018; position: relative; }
.mini-phone__feed { position: absolute; inset: 0 8px; display: flex; flex-direction: column; gap: 7px; padding-top: 10px; animation: feed 7s linear infinite; }
.mini-phone__feed i { flex: none; height: 46px; border-radius: 10px; background: linear-gradient(135deg, rgba(139, 92, 255, .5), rgba(255, 46, 126, .35)); }
.mini-phone__feed i:nth-child(even) { height: 20px; background: rgba(255, 255, 255, .1); }
.mini-phone__feed i:nth-child(3n) { background: linear-gradient(135deg, rgba(255, 122, 26, .55), rgba(255, 46, 126, .3)); }
@keyframes feed { to { transform: translateY(-50%); } }
.tap { position: absolute; width: 26px; height: 26px; border-radius: 50%; left: 50%; top: 58%; margin: -13px; background: rgba(255, 255, 255, .5); animation: tap 2.6s ease-out infinite; }
@keyframes tap { 0%, 60% { transform: scale(.3); opacity: 0; } 70% { opacity: .9; transform: scale(.6); } 100% { transform: scale(1.6); opacity: 0; } }

/* languages */
.hello { position: relative; height: 1.3em; overflow: hidden; font-family: var(--fd); font-weight: 900; font-size: clamp(44px, 5vw, 70px); line-height: 1.3; letter-spacing: -.03em; text-align: center; }
.hello span { display: block; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; transition: transform .6s var(--e), opacity .6s; }
.hello span.is-out { transform: translateY(-100%); opacity: 0; }
.hello span.is-in { transform: translateY(100%); opacity: 0; transition: none; }
.flags { display: flex; gap: 6px; justify-content: center; margin-top: 16px; flex-wrap: wrap; }
.flags span { font-family: var(--fm); font-size: 11px; font-weight: 700; padding: 5px 10px; border-radius: 99px; border: 1px solid var(--line2); color: var(--dim); transition: background-color .3s, color .3s; }
.flags span.is-on { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.tile--lang .tile__vis { display: flex; flex-direction: column; justify-content: center; }

/* maps */
.map {
  position: relative; width: 100%; height: 100%; min-height: 150px; border-radius: 20px; overflow: hidden;
  background:
    linear-gradient(90deg, transparent 47%, rgba(255, 255, 255, .09) 47% 53%, transparent 53%) 0 0 / 90px 90px,
    linear-gradient(0deg, transparent 47%, rgba(255, 255, 255, .09) 47% 53%, transparent 53%) 0 0 / 90px 90px,
    linear-gradient(32deg, transparent 48%, rgba(255, 122, 26, .25) 48% 52%, transparent 52%),
    radial-gradient(circle at 75% 80%, rgba(62, 224, 255, .18), transparent 40%), #0f0f16;
}
.map__pin { position: absolute; left: 50%; top: 42%; width: 34px; height: 34px; margin: -34px 0 0 -17px; border-radius: 50% 50% 50% 0; rotate: -45deg; background: var(--grad); box-shadow: 0 10px 20px -6px rgba(255, 46, 126, .8); animation: drop 3.2s var(--e) infinite; }
.map__pin::after { content: ""; position: absolute; inset: 10px; border-radius: 50%; background: #fff; }
@keyframes drop { 0% { transform: translate(30px, -60px); opacity: 0; } 18%, 80% { transform: none; opacity: 1; } 100% { transform: none; opacity: 1; } }
.map__shadow { position: absolute; left: 50%; top: 42%; width: 20px; height: 6px; margin: 2px 0 0 -10px; border-radius: 50%; background: rgba(0, 0, 0, .6); filter: blur(2px); }
.map__card { position: absolute; left: 12px; bottom: 12px; display: flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 14px; background: rgba(7, 7, 10, .85); border: 1px solid var(--line2); font-size: 12px; font-weight: 700; backdrop-filter: blur(6px); }
.stars { color: #ffc531; letter-spacing: 1px; }

/* data bars */
.bars { width: 100%; height: 100%; min-height: 160px; display: flex; align-items: flex-end; gap: clamp(6px, 1.2vw, 14px); padding: 10px 4px 0; position: relative; }
.bars i { flex: 1; height: var(--h); border-radius: 10px 10px 4px 4px; background: linear-gradient(180deg, var(--o), rgba(255, 46, 126, .15)); transform-origin: bottom; transform: scaleY(0); }
.bars i:nth-child(n+7) { background: linear-gradient(180deg, var(--v), rgba(139, 92, 255, .12)); }
.in .bars i { transform: scaleY(1); transition: transform 1.4s var(--e); transition-delay: calc(var(--k) * .07s); }
.bars svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.bars path { fill: none; stroke: var(--ink); stroke-width: 2; stroke-dasharray: 1000; stroke-dashoffset: 1000; vector-effect: non-scaling-stroke; }
.in .bars path { stroke-dashoffset: 0; transition: stroke-dashoffset 2.6s var(--e) .6s; }
.bars__lbl { position: absolute; top: 0; right: 4px; font-family: var(--fd); font-weight: 800; font-size: clamp(22px, 2.6vw, 34px); color: var(--g); letter-spacing: -.02em; }

/* support chat */
.wa { width: 100%; display: flex; flex-direction: column; gap: 8px; }
.wa p { max-width: 86%; padding: 10px 14px; border-radius: 16px; font-size: 13.5px; font-weight: 600; line-height: 1.45; }
.wa .me { align-self: flex-end; background: #005c4b; border-bottom-right-radius: 4px; }
.wa .them { align-self: flex-start; background: rgba(255, 255, 255, .07); border-bottom-left-radius: 4px; }
.wa small { display: block; text-align: right; font-size: 10px; opacity: .6; margin-top: 2px; }
html.js .wa p { opacity: 0; transform: translateY(12px) scale(.96); }
html.js .in .wa p { opacity: 1; transform: none; transition: opacity .6s var(--e), transform .7s var(--e); }
html.js .in .wa p:nth-child(2) { transition-delay: 1.1s; }

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq { max-width: 1400px; margin: 0 auto; padding: clamp(80px, 12vh, 150px) var(--pad); display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(32px, 6vw, 100px); align-items: start; }
.faq__head { position: sticky; top: calc(var(--nav) + 30px); display: flex; flex-direction: column; gap: 20px; }
.qa { border-bottom: 1px solid var(--line); }
.qa:first-child { border-top: 1px solid var(--line); }
.qa summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: clamp(20px, 3vh, 30px) 0; cursor: pointer; font-family: var(--fd); font-weight: 600; font-size: clamp(16px, 1.55vw, 22px); line-height: 1.35; transition: color .3s; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary:hover { color: #fff; }
.qa__icon { position: relative; flex: none; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line2); transition: transform .6s var(--e), background-color .3s, border-color .3s; }
.qa__icon::before, .qa__icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 2px; margin: -1px 0 0 -7px; border-radius: 2px; background: currentColor; }
.qa__icon::after { transform: rotate(90deg); }
.qa[open]:not(.is-closing) .qa__icon { transform: rotate(135deg); background: var(--grad); border-color: transparent; color: #fff; }
.qa__a { overflow: hidden; }
.qa__a p { padding-bottom: clamp(20px, 3vh, 30px); max-width: 62ch; color: var(--dim); font-size: 16px; line-height: 1.75; }
@media (max-width: 900px) { .faq { grid-template-columns: 1fr; } .faq__head { position: static; } }

/* ==========================================================================
   CONTACT
   ========================================================================== */
.contact { position: relative; isolation: isolate; overflow: hidden; padding: clamp(40px, 8vh, 100px) 0 clamp(80px, 12vh, 140px); }
.contact__glow { position: absolute; inset: 10% -20% -10%; z-index: -1; pointer-events: none; filter: blur(90px); opacity: .45;
  background: radial-gradient(closest-side at 30% 60%, rgba(139, 92, 255, .6), transparent), radial-gradient(closest-side at 75% 40%, rgba(255, 46, 126, .5), transparent), radial-gradient(closest-side at 55% 90%, rgba(255, 122, 26, .4), transparent); }
.contact__marquee { display: flex; overflow: hidden; user-select: none; -webkit-user-select: none; }
.cm__track { display: flex; align-items: center; gap: .3em; flex: none; padding-right: .3em; font-family: var(--fd); font-weight: 900; font-size: clamp(60px, 12vw, 210px); line-height: 1.05; text-transform: uppercase; letter-spacing: -.03em; white-space: nowrap; animation: marquee 26s linear infinite; }
.cm__track span { color: transparent; -webkit-text-stroke: 1.5px rgba(255, 255, 255, .22); }
.cm__track span.fill { -webkit-text-stroke: 0; background: var(--grad); -webkit-background-clip: text; background-clip: text; }
.cm__track b { font-size: .45em; color: var(--o); }
@keyframes marquee { to { transform: translateX(-100%); } }
.contact__inner { max-width: 900px; margin: clamp(30px, 6vh, 70px) auto 0; padding-inline: var(--pad); text-align: center; }
.contact__title { min-width: 0; font-family: var(--fd); font-weight: 800; font-size: clamp(30px, 4.2vw, 70px); line-height: 1; text-transform: uppercase; letter-spacing: -.03em; }
.contact__text { margin: 20px auto 0; font-size: clamp(15px, 1.35vw, 19px); color: var(--dim); max-width: 46ch; line-height: 1.6; }
.contact .brief { text-align: left; }
.contact .place { max-width: 560px; margin: 18px auto 0; text-align: left; }
.brief { margin-top: clamp(24px, 4vh, 40px); padding: clamp(20px, 2.6vw, 36px); border-radius: 32px; border: 1px solid var(--line2); background: linear-gradient(160deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .015)); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.brief legend, .field > span { display: block; margin-bottom: 12px; font-size: 11.5px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--dim); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chip span { display: inline-flex; align-items: center; padding: 10px 16px; border-radius: 99px; border: 1px solid var(--line2); font-size: 14px; font-weight: 700; transition: background-color .3s, border-color .3s, color .3s, transform .4s var(--e); user-select: none; }
.chip:hover span { border-color: rgba(255, 255, 255, .45); }
.chip input:checked + span { background: var(--grad); border-color: transparent; color: #fff; transform: scale(1.04); }
.chip input:focus-visible + span { outline: 2px solid var(--o); outline-offset: 3px; }
.field { display: block; margin-top: 22px; }
.field input, .field textarea { display: block; width: 100%; padding: 15px 18px; border-radius: 18px; border: 1px solid var(--line2); background: rgba(0, 0, 0, .35); color: var(--ink); font: 500 16px/1.5 var(--fb); resize: vertical; transition: border-color .3s, box-shadow .3s; }
.field input::placeholder, .field textarea::placeholder { color: var(--mute); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--p); box-shadow: 0 0 0 4px rgba(255, 46, 126, .16); }
/* six contact buttons: messengers on the left, socials on the right */
.brief__actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: repeat(3, auto); grid-auto-flow: column; gap: 12px; margin-top: 26px; }
.brief__actions .btn { width: 100%; padding: 0 1em; }
.brief__actions .btn__in { gap: .6em; }
.brief__actions .ico { width: 20px; height: 20px; }
.brief__note { margin-top: 16px; font-size: 12.5px; color: var(--mute); }
.contact__sub { color: var(--dim); margin-bottom: 14px; }
.socials { display: grid; gap: 10px; }
.soc {
  --b: #fff; display: grid; grid-template-columns: 46px minmax(0, 1fr) auto; align-items: center; gap: 14px; padding: 12px 16px 12px 12px;
  border-radius: 22px; border: 1px solid var(--line); background: rgba(255, 255, 255, .025);
  transition: transform .6s var(--e), border-color .3s, background-color .3s, box-shadow .4s;
}
.soc__ico { width: 46px; height: 46px; border-radius: 15px; display: grid; place-items: center; background: rgba(255, 255, 255, .06); transition: background-color .3s, color .3s; }
.soc__ico svg { width: 21px; height: 21px; }
.soc b { display: block; font-weight: 800; font-size: 15px; }
.soc small { display: block; color: var(--dim); font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.soc > .ico { color: var(--mute); transition: transform .6s var(--e), color .3s; }
.soc:hover { transform: translateX(6px); border-color: var(--b); background: rgba(255, 255, 255, .05); box-shadow: 0 10px 40px -18px var(--b); }
.soc:hover .soc__ico { background: var(--b); color: #fff; }
.soc:hover > .ico { transform: rotate(45deg); color: var(--ink); }
.place { margin-top: 14px; padding: 20px; border-radius: 24px; border: 1px solid var(--line); background: rgba(255, 255, 255, .025); display: flex; gap: 16px; align-items: center; }
.place__clock { flex: none; width: 64px; height: 64px; border-radius: 50%; border: 1px solid var(--line2); position: relative; background: radial-gradient(circle, rgba(255, 255, 255, .05), transparent 70%); }
.place__clock i { position: absolute; left: 50%; bottom: 50%; width: 2px; margin-left: -1px; border-radius: 2px; background: var(--ink); transform-origin: bottom center; }
.place__clock .hh { height: 17px; } .place__clock .mm { height: 25px; background: var(--dim); } .place__clock .ss { height: 27px; width: 1px; background: var(--o); }
.place__clock::after { content: ""; position: absolute; left: 50%; top: 50%; width: 6px; height: 6px; margin: -3px; border-radius: 50%; background: var(--o); }
.place b { display: block; font-family: var(--fd); font-size: 16px; font-weight: 700; text-transform: uppercase; }
.place p { color: var(--dim); font-size: 13.5px; line-height: 1.5; margin-top: 4px; }
.place time { color: var(--ink); font-family: var(--fm); }
@media (max-width: 560px) { .brief__actions { gap: 10px; } .brief__actions .btn { --h: 54px; font-size: 12px; letter-spacing: .08em; padding: 0 .6em; } .brief__actions .ico { width: 18px; height: 18px; } }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer { position: relative; overflow: hidden; padding: clamp(60px, 10vh, 110px) var(--pad) calc(20px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: linear-gradient(180deg, var(--bg) 0%, #050507 100%); }
.footer__cols { max-width: 1600px; margin: 0 auto; display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 32px; }
.footer__brand p { margin-top: 14px; color: var(--dim); max-width: 32ch; font-size: 15px; }
.footer h3 { color: var(--mute); margin-bottom: 14px; font-weight: 500; }
.footer ul { display: grid; gap: 8px; }
.footer ul a, .footer__cols p { color: var(--dim); font-size: 15px; transition: color .3s; }
.footer ul a:hover { color: var(--ink); }
.footer__cols time { color: var(--ink); }
.footer__giant { margin-top: clamp(40px, 8vh, 90px); text-align: center; line-height: .8; user-select: none; -webkit-user-select: none; }
.footer__giant span {
  position: relative; display: inline-block; white-space: nowrap; font-family: var(--fd); font-weight: 900; font-size: 21vw; letter-spacing: -.04em;
  color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, .16);
}
.footer__giant span::after {
  content: attr(data-t); position: absolute; inset: 0; -webkit-text-stroke: 0;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
  clip-path: inset(calc(100% - var(--fill, 0%)) 0 0 0);
}
.footer__bottom { max-width: 1600px; margin: 18px auto 0; display: flex; justify-content: space-between; gap: 12px 20px; flex-wrap: wrap; color: var(--mute); font-size: 13px; }
.footer__bottom a:hover { color: var(--ink); }
@media (max-width: 900px) { .footer__cols { grid-template-columns: 1fr 1fr; } .footer__brand { grid-column: 1 / -1; } }

/* ---------- floating WhatsApp ---------- */
.fab {
  position: fixed; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); z-index: 80;
  display: inline-flex; align-items: center; gap: 10px; height: 58px; padding: 0 22px 0 8px; border-radius: 99px;
  background: linear-gradient(123deg, #18011f 7%, #b600a8 37%, #7621b0 72%, #be4c00 100%); color: #fff;
  outline: 2px solid rgba(255, 255, 255, .9); outline-offset: -3px; box-shadow: 0 16px 40px -10px rgba(182, 0, 168, .8);
  font-weight: 800; font-size: 13px; letter-spacing: .12em; text-transform: uppercase;
  transform: translateY(160%); transition: transform .7s var(--e);
}
.fab.is-on { transform: none; }
.fab__label { display: inline-block; max-width: 14em; overflow: hidden; white-space: nowrap; transition: max-width .6s var(--e), opacity .4s; }
@media (max-width: 760px) {
  .fab { transition: transform .7s var(--e), padding .6s var(--e), gap .6s var(--e); }
  .fab.is-mini { gap: 0; padding: 0 8px; }
  .fab.is-mini .fab__label { max-width: 0; opacity: 0; }
}
.fab__ico { position: relative; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: conic-gradient(from 210deg, #25d366, #229ed9, #7360f2, #25d366); box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .35); }
.fab__ico::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .55); animation: ping 2.4s var(--e) infinite; }
.fab__ico svg { width: 22px; height: 22px; }
@media (min-width: 1081px) { .fab { right: 28px; bottom: 28px; } }

/* ---------- toast ---------- */
.toast { position: fixed; left: 50%; bottom: calc(90px + env(safe-area-inset-bottom)); z-index: 150; translate: -50% 0; max-width: calc(100% - 32px); padding: 14px 20px; border-radius: 16px; background: var(--ink); color: var(--bg); font-weight: 700; font-size: 14px; box-shadow: 0 20px 40px -10px rgba(0, 0, 0, .6); opacity: 0; transform: translateY(20px); pointer-events: none; transition: opacity .4s, transform .5s var(--e); }
.toast.is-on { opacity: 1; transform: none; }

/* ---------- custom cursor ---------- */
.cursor { display: none; }
html.has-cursor .cursor { display: block; }
html.has-cursor, html.has-cursor a, html.has-cursor button, html.has-cursor summary, html.has-cursor label { cursor: none; }
html.has-cursor input, html.has-cursor textarea { cursor: text; }
.cursor__dot, .cursor__ring { position: fixed; left: 0; top: 0; z-index: 250; pointer-events: none; border-radius: 50%; opacity: 0; transition: opacity .3s; }
.cursor.is-on .cursor__dot, .cursor.is-on .cursor__ring { opacity: 1; }
.cursor__dot { width: 6px; height: 6px; margin: -3px 0 0 -3px; background: #fff; mix-blend-mode: difference; }
.cursor__ring {
  width: 40px; height: 40px; margin: -20px 0 0 -20px; border: 1px solid rgba(255, 255, 255, .55); mix-blend-mode: difference;
  display: grid; place-items: center;
  transition: opacity .3s, width .45s var(--e), height .45s var(--e), margin .45s var(--e), background-color .3s, border-color .3s;
}
.cursor.is-link .cursor__ring { width: 74px; height: 74px; margin: -37px 0 0 -37px; background: rgba(255, 255, 255, .12); border-color: transparent; }
.cursor.is-text .cursor__ring { width: 8px; height: 30px; margin: -15px 0 0 -4px; border-radius: 4px; }
.cursor.is-down .cursor__ring { width: 30px; height: 30px; margin: -15px 0 0 -15px; }
.cursor__label { font-family: var(--fm); font-size: 10.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #000; opacity: 0; transition: opacity .3s; white-space: nowrap; }
.cursor.is-label .cursor__ring { width: 96px; height: 96px; margin: -48px 0 0 -48px; background: #fff; mix-blend-mode: normal; border-color: transparent; }
.cursor.is-label .cursor__label { opacity: 1; }
.cursor.is-label .cursor__dot { opacity: 0; }

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: 0s !important; transition-delay: 0s !important; scroll-behavior: auto !important; }
  html.js [data-reveal] { opacity: 1; transform: none; }
  .si, .hero__giant .si { transform: none !important; }
  .about__text .c { opacity: 1 !important; }
  .grain { display: none; }
}
