/* ==========================================================================
   PRIME Marketing — portfolio
   Palette comes straight from the logo: teal #38cdb9 and red #ff3131.
   ========================================================================== */

@property --ang {
  syntax: '<angle>';
  inherits: false;
  initial-value: 0deg;
}

:root {
  --bg: #05070a;
  --bg-2: #080b10;
  --panel: #0b1016;
  --panel-2: #10161e;
  --line: rgba(255, 255, 255, .08);
  --line-2: rgba(255, 255, 255, .14);
  --text: #eef4f3;
  --text-2: #b4c2c0;
  --muted: #7d8e8c;

  --teal: #38cdb9;
  --teal-rgb: 56, 205, 185;
  --teal-hi: #72f2dd;
  --red: #ff3131;
  --red-rgb: 255, 49, 49;
  --red-hi: #ff6a6a;
  --grad: linear-gradient(100deg, var(--red) 0%, #ff6a4d 28%, var(--teal) 100%);

  --font-display: "Oxanium", "Segoe UI", system-ui, sans-serif;
  --font-body: "Manrope", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "Cascadia Mono", Consolas, monospace;

  --ease: cubic-bezier(.2, .75, .1, 1);
  --ease-io: cubic-bezier(.7, 0, .3, 1);
  --container: 1320px;
  --gutter: clamp(16px, 4vw, 48px);
  --nav-h: 76px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 70px;
  background: var(--bg);
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
body.is-locked { overflow: hidden; }

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
p { margin: 0 0 1em; }
h1, h2, h3 { margin: 0; font-weight: 700; }
ul, ol { margin: 0; }

::selection { background: var(--teal); color: #03110f; }
:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; border-radius: 6px; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.board__sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; margin: -1px; }

.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.container--wide { max-width: calc(1640px + var(--gutter) * 2); }

.skip {
  position: fixed;
  left: 16px;
  top: -80px;
  z-index: 1000;
  padding: 12px 18px;
  border-radius: 12px;
  background: var(--teal);
  color: #03110f;
  font-weight: 700;
  transition: top .25s var(--ease);
}
.skip:focus { top: 16px; }

.grad {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.grain {
  position: fixed;
  inset: -50%;
  z-index: 95;
  pointer-events: none;
  opacity: .055;
  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 1.4s steps(6) infinite;
}
@keyframes grain {
  0%, 100% { transform: translate(0, 0); }
  20% { transform: translate(-3%, 2%); }
  40% { transform: translate(2%, -3%); }
  60% { transform: translate(-2%, -1%); }
  80% { transform: translate(3%, 3%); }
}

/* ---------- Glitch utilities ---------- */
@keyframes titleGlitch {
  0% { text-shadow: -5px 0 rgba(var(--teal-rgb), .9), 5px 0 rgba(var(--red-rgb), .9); transform: translateX(-3px) skewX(-6deg); }
  10% { text-shadow: 4px 0 rgba(var(--teal-rgb), .9), -4px 0 rgba(var(--red-rgb), .9); transform: translateX(3px); }
  20% { text-shadow: none; transform: none; }
  32% { text-shadow: -2px 0 rgba(var(--teal-rgb), .8), 2px 0 rgba(var(--red-rgb), .8); transform: translateX(-1px) skewX(3deg); }
  44%, 100% { text-shadow: none; transform: none; }
}
@keyframes textGlitch {
  0% { text-shadow: -2px 0 rgba(var(--teal-rgb), .9), 2px 0 rgba(var(--red-rgb), .9); }
  50% { text-shadow: 2px 0 rgba(var(--teal-rgb), .9), -2px 0 rgba(var(--red-rgb), .9); }
  100% { text-shadow: none; }
}
.sec-title.is-in, .contact__title.is-in { animation: titleGlitch .8s steps(1) .55s; }
.glitch-now { animation: titleGlitch .7s steps(1) !important; }
.is-switching :is(h1, h2, h3, p, a, button, li, strong, legend, figcaption) { animation: textGlitch .45s steps(2); }

/* ---------- Buttons ---------- */
.btn {
  --h: 56px;
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  height: var(--h);
  padding: 0 26px;
  border-radius: 999px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: .06em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: transform .35s var(--ease), color .3s, background-color .3s, border-color .3s, box-shadow .3s;
}
.btn:hover { animation: textGlitch .35s steps(2); }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn--sm { --h: 44px; padding: 0 20px; font-size: 13px; }

.btn--primary {
  color: #03110f;
  background: var(--teal);
  box-shadow: 0 0 0 1px rgba(var(--teal-rgb), .5), 0 12px 40px -12px rgba(var(--teal-rgb), .7);
}
.btn--primary::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  background: var(--grad);
  opacity: 0;
  transition: opacity .4s;
}
.btn--primary:hover::before { opacity: 1; }
.btn--primary:hover { box-shadow: 0 0 0 1px rgba(var(--red-rgb), .45), 0 16px 50px -14px rgba(var(--red-rgb), .7); }

.btn--ghost {
  border: 1px solid var(--line-2);
  background: rgba(255, 255, 255, .025);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  text-transform: none;
  letter-spacing: .01em;
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 14px;
}
.btn--ghost:hover { border-color: rgba(var(--teal-rgb), .7); color: var(--teal-hi); }

/* ---------- Preloader ---------- */
.loader {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: grid;
  place-items: center;
  background: var(--bg);
  clip-path: inset(0 0 0 0);
  transition: clip-path 1s var(--ease-io), visibility 0s linear 1s;
}
html:not(.js) .loader, .is-loaded .loader { clip-path: inset(0 0 100% 0); visibility: hidden; }
.loader__inner { display: grid; justify-items: center; }
.loader__mark { width: min(210px, 46vw); height: auto; animation: markIn 1.3s var(--ease) both, glitchImg 2.2s steps(1) 1.3s infinite; }
.loader__meta {
  display: flex;
  justify-content: space-between;
  width: min(260px, 64vw);
  margin-top: 34px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted);
}
.loader__pct { color: var(--text); font-variant-numeric: tabular-nums; }
.loader__bar { width: min(260px, 64vw); height: 2px; margin-top: 10px; background: var(--line); overflow: hidden; }
.loader__bar i { display: block; height: 100%; background: var(--grad); transform-origin: 0 50%; transform: scaleX(var(--p, 0)); }

@keyframes markIn {
  0% { clip-path: inset(100% 0 0 0); filter: blur(10px) brightness(2); }
  55% { filter: blur(0) brightness(1.4); }
  100% { clip-path: inset(0 0 0 0); filter: none; }
}
@keyframes glitchImg {
  0%, 100% { transform: none; filter: none; }
  8% { transform: translateX(-5px) skewX(10deg); filter: drop-shadow(-5px 0 rgba(var(--teal-rgb), .9)) drop-shadow(5px 0 rgba(var(--red-rgb), .9)); }
  10% { transform: translateX(4px); filter: drop-shadow(4px 0 rgba(var(--teal-rgb), .9)) drop-shadow(-4px 0 rgba(var(--red-rgb), .9)); }
  12% { transform: none; filter: none; }
  54% { transform: translateY(-2px); filter: drop-shadow(-3px 0 rgba(var(--teal-rgb), .8)) drop-shadow(3px 0 rgba(var(--red-rgb), .8)); }
  56% { transform: none; filter: none; }
}

/* ---------- Custom cursor ---------- */
.cursor { display: none; }
.has-cursor .cursor { display: block; }
.has-cursor, .has-cursor a, .has-cursor button, .has-cursor label { cursor: none; }
.has-cursor input, .has-cursor textarea { cursor: text; }
.cursor__dot, .cursor__ring { position: fixed; left: 0; top: 0; z-index: 400; pointer-events: none; border-radius: 50%; }
.cursor__dot { width: 6px; height: 6px; margin: -3px 0 0 -3px; background: var(--teal); box-shadow: 0 0 10px rgba(var(--teal-rgb), .9); }
.cursor__ring {
  width: 38px;
  height: 38px;
  margin: -19px 0 0 -19px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(var(--teal-rgb), .55);
  transition: width .4s var(--ease), height .4s var(--ease), margin .4s var(--ease), background-color .3s, border-color .3s, opacity .3s;
}
.cursor__text {
  padding: 0 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: .06em;
  text-align: center;
  text-transform: uppercase;
  color: #03110f;
  opacity: 0;
  transition: opacity .2s;
  word-break: break-word;
}
.cursor.is-link .cursor__ring { width: 62px; height: 62px; margin: -31px 0 0 -31px; background: rgba(var(--teal-rgb), .12); border-color: rgba(var(--teal-rgb), .9); }
.cursor.is-label .cursor__ring { width: 104px; height: 104px; margin: -52px 0 0 -52px; background: var(--teal); border-color: transparent; }
.cursor.is-label .cursor__text { opacity: 1; }
.cursor.is-label .cursor__dot { opacity: 0; }
.cursor.is-down .cursor__ring { width: 30px; height: 30px; margin: -15px 0 0 -15px; }
.cursor.is-hidden .cursor__dot, .cursor.is-hidden .cursor__ring { opacity: 0; }

/* ---------- Navigation ---------- */
.nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 80;
  height: var(--nav-h);
  border-bottom: 1px solid transparent;
  transition: transform .55s var(--ease), background-color .4s, border-color .4s;
}
.nav.is-scrolled {
  background: rgba(5, 7, 10, .72);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border-color: var(--line);
}
.nav.is-hidden { transform: translateY(-101%); }
.nav__inner { height: 100%; display: flex; align-items: center; gap: 30px; }

.brand { display: flex; align-items: center; gap: 14px; margin-right: auto; }
.brand__mark { height: 34px; width: auto; transition: transform .5s var(--ease); }
.brand__word { height: 23px; width: auto; filter: drop-shadow(0 0 5px rgba(var(--red-rgb), .7)) drop-shadow(0 0 16px rgba(var(--red-rgb), .35)); animation: neon 5s 1.8s infinite; }
.brand:hover .brand__mark { animation: glitchImg .9s steps(1); }
@keyframes neon {
  0%, 18%, 22%, 25%, 53%, 57%, 100% { opacity: 1; }
  20%, 24%, 55% { opacity: .55; }
}

.nav__links { display: flex; gap: 28px; }
.nav__links a, .nav__back {
  position: relative;
  padding: 6px 0;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--text-2);
  transition: color .3s;
}
.nav__links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: var(--grad);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .5s var(--ease);
}
.nav__links a:hover, .nav__links a.is-active, .nav__back:hover { color: var(--text); }
.nav__links a:hover::after, .nav__links a.is-active::after { transform: scaleX(1); transform-origin: left; }
.nav__back { display: inline-flex; align-items: center; gap: 8px; margin-left: auto; }
.nav__back svg { width: 16px; height: 16px; }
.page .brand { margin-right: 0; }

/* language toggle */
.lang {
  position: relative;
  display: inline-grid;
  grid-template-columns: 1fr 1fr;
  height: 38px;
  padding: 3px;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  background: rgba(255, 255, 255, .03);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .08em;
  isolation: isolate;
}
.lang::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: 3px;
  bottom: 3px;
  left: 3px;
  width: calc(50% - 3px);
  border-radius: 999px;
  background: var(--teal);
  box-shadow: 0 0 18px rgba(var(--teal-rgb), .55);
  transition: transform .45s var(--ease);
}
.lang span { display: grid; place-items: center; min-width: 38px; padding: 0 8px; color: var(--text-2); transition: color .3s; }
html[lang="sk"] .lang span[data-l="sk"], html[lang="en"] .lang span[data-l="en"] { color: #03110f; }
html[lang="en"] .lang::before { transform: translateX(100%); }
.lang:hover { border-color: rgba(var(--teal-rgb), .6); }

.nav__progress { position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; pointer-events: none; }
.nav__progress i { display: block; height: 100%; background: var(--grad); transform-origin: 0 50%; transform: scaleX(var(--progress, 0)); }

.nav__burger { display: none; position: relative; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line-2); flex: none; }
.nav__burger span { position: absolute; left: 13px; right: 13px; height: 2px; border-radius: 2px; background: var(--text); transition: transform .5s var(--ease), top .5s var(--ease); }
.nav__burger span:first-child { top: 18px; }
.nav__burger span:last-child { top: 26px; }
.nav__burger[aria-expanded="true"] span:first-child { top: 22px; transform: rotate(45deg); }
.nav__burger[aria-expanded="true"] span:last-child { top: 22px; transform: rotate(-45deg); }

.menu {
  position: fixed;
  inset: 0;
  z-index: 70;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: calc(var(--nav-h) + 20px) var(--gutter) 40px;
  background: rgba(5, 7, 10, .97);
  clip-path: circle(0 at calc(100% - 44px) 38px);
  visibility: hidden;
  transition: clip-path .75s var(--ease-io), visibility 0s linear .75s;
}
.menu.is-open { clip-path: circle(150% at calc(100% - 44px) 38px); visibility: visible; transition-delay: 0s; }
.menu__nav { display: grid; }
.menu__nav a {
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(32px, 9.5vw, 58px);
  line-height: 1.15;
  letter-spacing: -.02em;
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .5s, transform .7s var(--ease);
}
.menu__nav a b { font-weight: inherit; }
.menu__nav a span { font-family: var(--font-mono); font-size: 13px; font-weight: 500; letter-spacing: 0; color: var(--teal); }
.menu.is-open .menu__nav a { opacity: 1; transform: none; transition-delay: calc(.2s + var(--i, 0) * .06s); }
.menu__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-top: 32px; }
.menu__mail { font-family: var(--font-mono); font-size: 15px; color: var(--text-2); }

/* ---------- Shared section heads & reveals ---------- */
.section { position: relative; padding: clamp(90px, 11vw, 160px) 0; }

.sec-head {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: 22px 60px;
  align-items: end;
  margin-bottom: clamp(40px, 5vw, 72px);
}
.sec-head--solo { grid-template-columns: 1fr; }
.sec-label {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
}
.sec-label b { font-weight: 400; }
.sec-head .sec-label { grid-column: 1 / -1; }
.sec-label span { color: var(--teal); }
.sec-label span::before { content: "["; margin-right: 4px; color: var(--muted); }
.sec-label span::after { content: "]"; margin-left: 4px; color: var(--muted); }
.sec-label::after { content: ""; flex: 0 0 60px; height: 1px; background: var(--line-2); }

.mono-label {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 26px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted);
}
.mono-label i { width: 8px; height: 8px; border-radius: 2px; background: var(--red); box-shadow: 0 0 10px var(--red); animation: pulse 1.6s infinite; }

.sec-title { font-family: var(--font-display); font-weight: 700; font-size: clamp(38px, 5.4vw, 84px); line-height: 1.02; letter-spacing: -.028em; }
.sec-title em, .contact__title em { font-style: normal; }
.sec-lead { justify-self: end; max-width: 500px; margin: 0; color: var(--text-2); font-size: clamp(16px, 1.25vw, 19px); }
.sec-head__cta { justify-self: end; }

.w { display: inline-block; overflow: hidden; vertical-align: top; padding: .16em .03em .1em; margin: -.16em -.03em -.1em; }
.wi { display: inline-block; }
.js [data-split] .wi { transform: translateY(112%); transition: transform 1.1s var(--ease); transition-delay: calc(var(--wi, 0) * 45ms + var(--d, 0s)); }
.js [data-split].is-in .wi { transform: none; }
.sec-title em .wi, .contact__title em .wi, .sec-title em:not(:has(.wi)), .contact__title em:not(:has(.wi)) {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.js [data-reveal] { opacity: 0; transform: translateY(36px); transition: opacity 1s var(--ease), transform 1.2s var(--ease); transition-delay: var(--d, 0s); }
.js [data-reveal="scale"] { transform: scale(.94); }
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* ---------- Hero ---------- */
.hero { position: relative; isolation: isolate; min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; padding: calc(var(--nav-h) + 5vh) 0 26px; overflow: hidden; }
.hero__canvas { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; pointer-events: none; }
.hero__fallback { position: absolute; z-index: -1; right: 8%; top: 22%; width: min(36vw, 560px); opacity: .9; }
.js .hero__fallback { display: none; }
.js.no-particles .hero__fallback { display: block; }
.hero__grid {
  position: absolute;
  inset: 0;
  z-index: -3;
  opacity: .5;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 64px 64px;
  background-position: -1px -1px;
  -webkit-mask-image: radial-gradient(ellipse 75% 65% at 70% 42%, #000 15%, transparent 72%);
  mask-image: radial-gradient(ellipse 75% 65% at 70% 42%, #000 15%, transparent 72%);
}
.hero__glow { position: absolute; z-index: -4; border-radius: 50%; filter: blur(30px); pointer-events: none; }
.hero__glow--teal { width: 62vw; height: 62vw; right: -16vw; top: -24vw; background: radial-gradient(circle, rgba(var(--teal-rgb), .16), transparent 62%); }
.hero__glow--red { width: 50vw; height: 50vw; left: -18vw; bottom: -26vw; background: radial-gradient(circle, rgba(var(--red-rgb), .14), transparent 62%); }

.hero__side { position: absolute; top: 50%; z-index: 2; display: flex; align-items: center; gap: 14px; font-family: var(--font-mono); font-size: 11px; letter-spacing: .24em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
.hero__side--left { left: 18px; transform: translateY(-50%) rotate(-90deg) translateX(-50%); transform-origin: 0 0; }
.hero__side--right { right: 18px; transform: translateY(-50%) rotate(90deg) translateX(50%); transform-origin: 100% 0; }
.hero__side i { position: relative; width: 64px; height: 1px; background: var(--line-2); overflow: hidden; }
.hero__side i::after { content: ""; position: absolute; inset: 0; background: var(--teal); animation: scrollCue 2.2s var(--ease-io) infinite; }
@keyframes scrollCue { 0% { transform: translateX(-100%); } 55%, 100% { transform: translateX(100%); } }

.hero__inner { flex: 1; display: flex; flex-direction: column; justify-content: center; }
.kicker {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  padding: 8px 15px;
  border: 1px solid rgba(var(--teal-rgb), .3);
  border-radius: 999px;
  background: rgba(var(--teal-rgb), .06);
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--teal);
}
.kicker__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 12px var(--teal); animation: pulse 2s infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: .35; transform: scale(.7); } }

.hero__title { margin: 26px 0 24px; font-family: var(--font-display); font-weight: 700; font-size: clamp(44px, min(6.6vw, 12vh), 116px); line-height: .98; letter-spacing: -.03em; }
.hero__title:hover .line > span { animation: textGlitch .4s steps(2); }
.hero__title .line { display: block; overflow: hidden; padding: .1em 0 .06em; margin: -.1em 0 -.06em; }
.hero__title .line > span { display: inline-block; }
.js .hero__title .line > span { transform: translateY(115%); transition: transform 1.3s var(--ease); transition-delay: calc(var(--i) * .12s + .1s); }
.is-ready .hero__title .line > span { transform: none; }

.glitch { position: relative; display: inline-block; }
.glitch::before, .glitch::after { content: attr(data-text); position: absolute; inset: 0; opacity: 0; pointer-events: none; background: none; }
.glitch::before { color: var(--teal); animation: glitchA 3.2s steps(1) 2.2s infinite; }
.glitch::after { color: var(--red); animation: glitchB 3.2s steps(1) 2.2s infinite; }
@keyframes glitchA {
  0%, 100% { opacity: 0; transform: none; }
  2% { opacity: .95; transform: translate(-7px, -2px); clip-path: inset(10% 0 55% 0); }
  4% { opacity: .95; transform: translate(6px, 1px); clip-path: inset(62% 0 8% 0); }
  6% { opacity: .9; transform: translate(-3px, 0); clip-path: inset(35% 0 35% 0); }
  8% { opacity: 0; }
  46% { opacity: .85; transform: translate(-4px, 0); clip-path: inset(30% 0 40% 0); }
  48% { opacity: .85; transform: translate(5px, 0); clip-path: inset(70% 0 5% 0); }
  50% { opacity: 0; }
}
@keyframes glitchB {
  0%, 100% { opacity: 0; transform: none; }
  2% { opacity: .95; transform: translate(7px, 2px); clip-path: inset(48% 0 20% 0); }
  4% { opacity: .95; transform: translate(-6px, -1px); clip-path: inset(5% 0 70% 0); }
  6% { opacity: .9; transform: translate(3px, 0); clip-path: inset(20% 0 50% 0); }
  8% { opacity: 0; }
  46% { opacity: .85; transform: translate(4px, 0); clip-path: inset(55% 0 15% 0); }
  48% { opacity: .85; transform: translate(-5px, 0); clip-path: inset(10% 0 60% 0); }
  50% { opacity: 0; }
}

.hero__lead { max-width: 520px; margin: 0; font-size: clamp(17px, 1.3vw, 20px); color: var(--text-2); }
.hero__lead strong { color: var(--text); font-weight: 600; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }

.js [data-intro] { opacity: 0; transform: translateY(24px); transition: opacity 1s var(--ease), transform 1.2s var(--ease); transition-delay: var(--d, 0s); }
.is-ready [data-intro] { opacity: 1; transform: none; }

/* stats — each one reacts on hover / tap */
.stats {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: .72fr .78fr 1.45fr 1fr 1.05fr;
  margin: clamp(32px, 5.5vh, 64px) 0 0;
  border-top: 1px solid var(--line);
}
.stat { position: relative; isolation: isolate; padding: 20px 20px 10px 0; overflow: hidden; cursor: default; transition: background-color .4s; }
.stat + .stat { padding-left: 22px; border-left: 1px solid var(--line); }
.stat::before { content: ""; position: absolute; left: 0; top: -1px; width: 36px; height: 1px; background: var(--teal); transition: width .6s var(--ease); }
.stat + .stat::before { left: 22px; }
.stat.is-active { background: linear-gradient(180deg, rgba(var(--teal-rgb), .07), transparent 85%); }
.stat.is-active::before { width: calc(100% - 44px); }
.stat__num { position: relative; display: flex; align-items: baseline; gap: 4px; font-family: var(--font-display); font-weight: 700; font-size: clamp(28px, 2.9vw, 48px); line-height: 1; letter-spacing: -.02em; white-space: nowrap; }
.stat__num em { font-style: normal; font-size: .58em; color: var(--teal); }
.stat__num em:empty { display: none; }
.stat.is-active .stat__num { animation: titleGlitch .6s steps(1); }
.stat--event .stat__num { text-transform: uppercase; }
.stat__label { position: relative; display: block; margin-top: 10px; font-size: 13.5px; line-height: 1.45; color: var(--muted); max-width: 210px; transition: color .3s; }
.stat.is-active .stat__label { color: var(--text-2); }
.stat__fx { position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: 0; transition: opacity .4s; }
.stat.is-active .stat__fx { opacity: 1; }

.fx-bars { position: absolute; right: 12px; bottom: 12px; top: 22px; display: flex; align-items: flex-end; gap: 5px; }
.fx-bars i { width: 6px; height: calc(18% + var(--k) * 10%); border-radius: 2px; background: linear-gradient(0deg, rgba(var(--red-rgb), .7), rgba(var(--teal-rgb), .9)); transform: scaleY(0); transform-origin: bottom; transition: transform .5s var(--ease); transition-delay: calc(var(--k) * 55ms); }
.stat.is-active .fx-bars i { transform: scaleY(1); }
.fx-dots { position: absolute; right: 12px; top: 50%; display: grid; grid-template-columns: repeat(10, 5px); gap: 4px; transform: translateY(-50%); }
.fx-dots i { width: 5px; height: 5px; border-radius: 50%; background: rgba(255, 255, 255, .1); transition: background-color .25s, box-shadow .25s; transition-delay: calc(var(--k) * 12ms); }
.stat.is-active .fx-dots i { background: var(--teal); box-shadow: 0 0 6px var(--teal); }
.fx-line { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 70%; overflow: visible; }
.fx-line path:nth-of-type(1) { fill: rgba(var(--teal-rgb), .1); opacity: 0; transition: opacity .6s .3s; }
.fx-line path:nth-of-type(2) { fill: none; stroke: url(#fxLineGrad); stroke-width: 2; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.1s var(--ease); }
.stat.is-active .fx-line path:nth-of-type(1) { opacity: 1; }
.stat.is-active .fx-line path:nth-of-type(2) { stroke-dashoffset: 0; }
.fx-grid { position: absolute; right: 12px; top: 50%; display: grid; grid-template-columns: repeat(8, 7px); gap: 4px; transform: translateY(-50%); }
.fx-grid i { width: 7px; height: 7px; border-radius: 2px; background: rgba(255, 255, 255, .08); }
.stat.is-active .fx-grid i { animation: launch 1.4s var(--dl) infinite; }
@keyframes launch { 0%, 100% { background: rgba(255, 255, 255, .08); box-shadow: none; } 12% { background: var(--red); box-shadow: 0 0 8px var(--red); } 30% { background: var(--teal); box-shadow: 0 0 8px var(--teal); } 60% { background: rgba(var(--teal-rgb), .25); box-shadow: none; } }
.fx-beams { position: absolute; inset: -40% -20% auto; height: 180%; background: conic-gradient(from 200deg at 50% 0%, transparent 0 40deg, rgba(var(--teal-rgb), .22) 50deg, transparent 60deg 100deg, rgba(var(--red-rgb), .2) 110deg, transparent 120deg); animation: beams 3s ease-in-out infinite alternate; }
@keyframes beams { from { transform: rotate(-14deg); } to { transform: rotate(14deg); } }

/* ---------- Client logos ---------- */
.clients { position: relative; padding: clamp(46px, 6vw, 76px) 0 clamp(40px, 5vw, 64px); border-block: 1px solid var(--line); background: linear-gradient(180deg, rgba(255, 255, 255, .02), transparent); }
.clients__marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
}
.clients__track { display: flex; align-items: center; width: max-content; animation: marquee var(--dur, 45s) linear infinite; }
.clients__marquee:hover .clients__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translate3d(-50%, 0, 0); } }
.client { flex: none; display: flex; align-items: center; justify-content: center; height: 96px; margin-right: clamp(54px, 7vw, 112px); }
.client img { height: var(--h, 48px); width: auto; max-width: none; filter: grayscale(1) brightness(1.75); opacity: .55; transition: filter .45s, opacity .45s, transform .6s var(--ease); }
a.client:hover img, a.client:focus-visible img { filter: none; opacity: 1; transform: scale(1.1); animation: logoGlitch .5s steps(2); }
@keyframes logoGlitch {
  0% { filter: drop-shadow(-5px 0 rgba(var(--teal-rgb), .9)) drop-shadow(5px 0 rgba(var(--red-rgb), .9)); }
  50% { filter: drop-shadow(4px 0 rgba(var(--teal-rgb), .9)) drop-shadow(-4px 0 rgba(var(--red-rgb), .9)); }
  100% { filter: none; }
}

/* ---------- Top references ---------- */
.refs { padding-top: clamp(80px, 9vw, 130px); }
.refs__stack { position: relative; display: grid; gap: clamp(24px, 4vw, 44px); }

.ref {
  --accent: 56, 205, 185;
  --accent-2: 255, 49, 49;
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(250px, 3fr) minmax(0, 9fr);
  gap: clamp(22px, 3vw, 48px);
  padding: clamp(20px, 2.6vw, 40px);
  border: 1px solid var(--line);
  border-radius: 30px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .035), rgba(255, 255, 255, .008)), var(--panel);
  overflow: hidden;
  transform-origin: 50% 0;
}
.ref::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(46% 60% at 82% 30%, rgba(var(--accent), .22), transparent 70%),
    radial-gradient(40% 50% at 4% 100%, rgba(var(--accent-2), .14), transparent 70%),
    linear-gradient(var(--line) 1px, transparent 1px) 0 0 / 56px 56px,
    linear-gradient(90deg, var(--line) 1px, transparent 1px) 0 0 / 56px 56px;
  -webkit-mask-image: linear-gradient(180deg, #000, rgba(0, 0, 0, .55));
  mask-image: linear-gradient(180deg, #000, rgba(0, 0, 0, .55));
}
.ref::after { content: ""; position: absolute; inset: 0; z-index: 20; border-radius: inherit; background: #020304; opacity: calc(var(--stack, 0) * .7); pointer-events: none; }
.ref__bgword {
  position: absolute;
  left: -1%;
  bottom: -6%;
  z-index: -1;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(90px, 15vw, 260px);
  line-height: .8;
  letter-spacing: -.045em;
  white-space: nowrap;
  color: transparent;
  -webkit-text-stroke: 1px rgba(var(--accent), .2);
  pointer-events: none;
  user-select: none;
}

.ref__info { display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.ref__top { display: flex; align-items: center; gap: 14px; font-family: var(--font-mono); font-size: 12.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.ref__num { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; border: 1px solid rgba(var(--accent), .45); color: rgb(var(--accent)); font-weight: 600; letter-spacing: 0; }
.ref__main { margin-top: auto; display: grid; gap: 12px; }
.ref__title { font-family: var(--font-display); font-weight: 700; font-size: clamp(30px, 2.7vw, 50px); line-height: 1; letter-spacing: -.03em; }
.ref__sub { margin: 0; font-family: var(--font-display); font-weight: 500; font-size: clamp(15px, 1.2vw, 18px); color: rgb(var(--accent)); }
.ref__tags { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin-top: 4px; }
.ref__tags li { padding: 6px 12px; border-radius: 8px; border: 1px solid var(--line-2); font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--text-2); }
.ref__links { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.ref__link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 48px;
  padding: 0 18px 0 20px;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  background: rgba(255, 255, 255, .04);
  font-weight: 600;
  font-size: 15px;
  transition: background-color .3s, color .3s, border-color .3s, box-shadow .3s;
}
.ref__link svg { width: 16px; height: 16px; transition: transform .45s var(--ease); }
.ref__link.is-active { border-color: rgba(var(--accent), .75); box-shadow: inset 0 0 0 1px rgba(var(--accent), .35), 0 10px 30px -14px rgba(var(--accent), .8); }
.ref__link:hover { background: rgb(var(--accent)); border-color: transparent; color: #05070a; }
.ref__link:hover svg { transform: translate(3px, -3px); }

.ref__preview { position: relative; min-width: 0; display: flex; flex-direction: column; perspective: 1800px; }
.ref__device { position: relative; flex: 1 1 auto; min-height: 0; display: flex; flex-direction: column; margin: 0 4% 0 0; transform-style: preserve-3d; will-change: transform; }
.browser {
  position: relative;
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
  border-radius: 16px;
  overflow: hidden;
  background: #0b0e12;
  border: 1px solid rgba(255, 255, 255, .13);
  box-shadow: 0 50px 90px -40px rgba(0, 0, 0, .9), 0 0 0 1px rgba(0, 0, 0, .4), 0 40px 140px -50px rgba(var(--accent), .6);
}
.browser__bar { flex: none; display: flex; align-items: center; gap: 8px; height: 42px; padding: 0 14px; background: linear-gradient(#171c23, #11151b); border-bottom: 1px solid rgba(255, 255, 255, .06); }
.browser__bar > i { width: 11px; height: 11px; border-radius: 50%; background: #2c323a; flex: none; }
.browser__bar > i:nth-child(1) { background: var(--red); }
.browser__bar > i:nth-child(2) { background: #f2b544; }
.browser__bar > i:nth-child(3) { background: var(--teal); }
.browser__url { flex: 1; max-width: 460px; height: 27px; margin: 0 auto; display: flex; align-items: center; justify-content: center; gap: 8px; border-radius: 8px; background: rgba(255, 255, 255, .05); font-family: var(--font-mono); font-size: 12.5px; color: var(--text-2); overflow: hidden; white-space: nowrap; }
.browser__url svg { width: 12px; height: 12px; color: var(--teal); flex: none; }
.browser__reload { width: 14px; height: 14px; color: var(--muted); flex: none; }
.browser__screen { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; background: #0d1117; }
.browser__screen::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: repeating-linear-gradient(180deg, rgba(255, 255, 255, .025) 0 1px, transparent 1px 3px); opacity: 0; transition: opacity .4s; }
.ref__preview.is-hover .browser__screen::after { opacity: 1; }
.shot { width: 100%; height: auto; will-change: transform; }

.phone {
  position: absolute;
  right: -4%;
  bottom: -5%;
  width: 21%;
  aspect-ratio: 390 / 844;
  padding: clamp(3px, .45vw, 7px);
  border-radius: clamp(16px, 2.3vw, 34px);
  background: #07090c;
  border: 1px solid rgba(255, 255, 255, .16);
  box-shadow: 0 34px 60px -24px rgba(0, 0, 0, .95), 0 0 0 1px rgba(0, 0, 0, .6);
  transform: translateZ(80px);
}
.phone::before { content: ""; position: absolute; z-index: 2; top: calc(2.4% + 3px); left: 50%; width: 30%; height: 3%; border-radius: 99px; background: #000; transform: translateX(-50%); }
.phone__screen { position: relative; width: 100%; height: 100%; overflow: hidden; border-radius: clamp(12px, 1.9vw, 28px); background: #0d1117; }

.ref__glare { position: absolute; inset: 0; z-index: 3; border-radius: 16px; pointer-events: none; background: radial-gradient(circle at var(--gx, 50%) var(--gy, 0%), rgba(255, 255, 255, .16), transparent 42%); opacity: 0; transition: opacity .4s; }
.ref__preview.is-hover .ref__glare { opacity: 1; }
.ref__hint { flex: none; margin: 16px 0 0; font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.hint-touch { display: none; }
@media (hover: none) { .hint-fine { display: none; } .hint-touch { display: inline; } }

/* stacked, near full-height cards on large screens: the preview dominates */
@media (min-width: 1024px) and (min-height: 700px) {
  .refs__stack { gap: 0; }
  .ref {
    position: sticky;
    top: calc(var(--nav-h) + 12px + var(--i, 0) * 14px);
    height: min(calc(100vh - var(--nav-h) - 70px), 940px);
    grid-template-rows: minmax(0, 1fr); /* the tall screenshot must not stretch the row */
    margin-bottom: 14vh;
    transform: scale(calc(1 - var(--stack, 0) * .06)) translateZ(0);
  }
  .ref__info, .ref__preview { min-height: 0; }
  .ref:last-child { margin-bottom: 0; }
  .browser__screen { aspect-ratio: auto; flex: 1 1 auto; min-height: 0; }
  .phone { width: auto; height: 74%; }
}

/* ---------- More websites (3D wall) ---------- */
.work { overflow: hidden; }
.wall { perspective: 1600px; }
.wall__plane {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  transform-origin: 50% 0;
  transform: rotateX(calc((1 - var(--p, 1)) * 26deg)) scale(calc(.86 + var(--p, 1) * .14));
}
.wall__item {
  position: relative;
  display: block;
  aspect-ratio: 1;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--line-2);
  background: var(--panel);
  transform: translateY(calc((1 - var(--p, 1)) * var(--off, 0px)));
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .9);
}
.wall__item:nth-child(4n + 2), .wall__item:nth-child(4n + 4) { --off: 90px; }
.wall__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease), filter .5s; }
.wall__item:hover img { transform: scale(1.07); }
.wall__item > span {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 12px;
  background: rgba(5, 7, 10, .8);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--line);
  transform: translateY(130%);
  transition: transform .55s var(--ease);
}
.wall__item:hover > span, .wall__item:focus-visible > span { transform: none; }
.wall__item b { font-family: var(--font-display); font-weight: 600; font-size: 16px; }
.wall__item em { font-style: normal; font-family: var(--font-mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--teal); text-align: right; }

/* ---------- Events ---------- */
.events { position: relative; padding: clamp(80px, 10vw, 140px) 0 clamp(60px, 8vw, 110px); }
.kinetic { margin-bottom: clamp(46px, 6vw, 90px); overflow: hidden; pointer-events: none; user-select: none; }
.kinetic__row { display: flex; width: max-content; font-family: var(--font-display); font-weight: 800; font-size: clamp(56px, 11.5vw, 196px); line-height: .95; letter-spacing: -.035em; text-transform: uppercase; white-space: nowrap; will-change: transform; }
.kinetic__row span { padding-right: .45em; color: transparent; -webkit-text-stroke: 1.5px rgba(255, 255, 255, .26); }
.kinetic__row span:nth-child(2) { -webkit-text-stroke: 0; background: var(--grad); -webkit-background-clip: text; background-clip: text; }

/* split-flap board with rotating cities */
.board { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 30px; margin-bottom: clamp(26px, 3.5vw, 44px); }
.board__label { display: inline-flex; align-items: center; gap: 12px; font-family: var(--font-mono); font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.board__label i { width: 10px; height: 10px; border-radius: 50%; background: var(--red); box-shadow: 0 0 12px var(--red); animation: pulse 1.2s infinite; }
.board__cells { display: flex; gap: clamp(3px, .45vw, 6px); }
.flap {
  position: relative;
  width: clamp(27px, 4.3vw, 64px);
  height: clamp(40px, 6.1vw, 90px);
  display: grid;
  place-items: center;
  border-radius: clamp(5px, .6vw, 9px);
  background: linear-gradient(180deg, #161c24 0 49.6%, #0e1318 50.4% 100%);
  border: 1px solid var(--line-2);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06), 0 12px 22px -12px rgba(0, 0, 0, .9);
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: clamp(21px, 3.5vw, 54px);
  line-height: 1;
  color: var(--text);
  perspective: 240px;
  overflow: hidden;
}
.flap::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 2px; margin-top: -1px; background: rgba(0, 0, 0, .7); box-shadow: 0 1px 0 rgba(255, 255, 255, .05); }
.flap b { display: block; font-weight: inherit; }
.flap.is-flip b { animation: flap .12s ease-in-out; }
.flap.is-set { color: var(--teal-hi); text-shadow: 0 0 16px rgba(var(--teal-rgb), .55); }
@keyframes flap { 0% { transform: rotateX(0); } 50% { transform: rotateX(90deg); opacity: .35; } 100% { transform: rotateX(0); } }

/* photo accordion */
.gallery { position: relative; display: flex; gap: 10px; height: clamp(440px, 68vh, 700px); }
.panel { position: relative; isolation: isolate; flex: 1 1 0; min-width: 0; margin: 0; border-radius: 22px; overflow: hidden; background: #0b0f14; cursor: pointer; transition: flex-grow .9s var(--ease); }
.panel.is-active { flex-grow: 5.2; cursor: default; }
.panel img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.1); filter: grayscale(.9) brightness(.5); transition: transform 1.4s var(--ease), filter .9s; }
.panel.is-active img { transform: scale(1); filter: none; }
.panel:not(.is-active):hover img { filter: grayscale(.4) brightness(.75); }
.panel::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, transparent 45%, rgba(5, 7, 10, .88)); pointer-events: none; }
.panel figcaption { position: absolute; left: 26px; right: 26px; bottom: 24px; z-index: 3; display: grid; gap: 6px; opacity: 0; transform: translateY(20px); transition: opacity .5s, transform .7s var(--ease); }
.panel.is-active figcaption { opacity: 1; transform: none; transition-delay: .25s; }
.panel figcaption strong { font-family: var(--font-display); font-weight: 700; font-size: clamp(26px, 3.2vw, 52px); line-height: 1; letter-spacing: -.02em; }
.panel__type { font-family: var(--font-mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--teal-hi); }
.panel__meta { font-family: var(--font-mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--text-2); }
.panel__vert { position: absolute; left: 50%; bottom: 26px; z-index: 3; writing-mode: vertical-rl; transform: translateX(-50%) rotate(180deg); font-family: var(--font-mono); font-size: 12px; letter-spacing: .22em; color: rgba(255, 255, 255, .75); white-space: nowrap; transition: opacity .4s; pointer-events: none; }
.panel.is-active .panel__vert { opacity: 0; }
.panel__g { position: absolute; inset: 0; z-index: 2; background: var(--img) center / cover no-repeat; mix-blend-mode: screen; opacity: 0; pointer-events: none; }
.panel__g--r { filter: url(#fx-red); }
.panel__g--c { filter: url(#fx-cyan); }
.panel.is-glitch img { animation: gBase .55s steps(1); }
.panel.is-glitch .panel__g--r { animation: gR .55s steps(1); }
.panel.is-glitch .panel__g--c { animation: gC .55s steps(1); }
@keyframes gBase { 0%, 82% { opacity: 0; } 100% { opacity: 1; } }
@keyframes gR {
  0% { opacity: 1; transform: translate(-16px, 0); clip-path: inset(0 0 58% 0); }
  18% { transform: translate(10px, 0); clip-path: inset(28% 0 22% 0); }
  36% { transform: translate(-7px, 2px); clip-path: inset(0 0 0 0); }
  54% { transform: translate(5px, 0); clip-path: inset(60% 0 0 0); }
  72% { transform: translate(-3px, 0); clip-path: inset(0 0 0 0); }
  82% { opacity: 1; transform: none; }
  100% { opacity: 0; }
}
@keyframes gC {
  0% { opacity: 1; transform: translate(16px, 0); clip-path: inset(40% 0 0 0); }
  18% { transform: translate(-10px, 0); clip-path: inset(0 0 45% 0); }
  36% { transform: translate(7px, -2px); clip-path: inset(0 0 0 0); }
  54% { transform: translate(-5px, 0); clip-path: inset(0 0 55% 0); }
  72% { transform: translate(3px, 0); clip-path: inset(0 0 0 0); }
  82% { opacity: 1; transform: none; }
  100% { opacity: 0; }
}

/* rotating "events • concerts • festivals • theatre" badge */
.spin { position: absolute; right: -26px; top: -60px; z-index: 5; display: grid; place-items: center; width: clamp(124px, 12vw, 180px); aspect-ratio: 1; pointer-events: none; }
.spin::before { content: ""; position: absolute; inset: 15%; border-radius: 50%; background: rgba(5, 7, 10, .88); border: 1px solid rgba(var(--teal-rgb), .45); box-shadow: 0 0 44px -8px rgba(var(--teal-rgb), .6); }
.spin svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.spin text { font-family: var(--font-mono); font-size: 14px; font-weight: 600; letter-spacing: 2px; fill: var(--text); }
.spin img { position: relative; width: 34%; height: auto; }

/* campaign timeline */
.timeline { position: relative; height: 300vh; margin-top: clamp(40px, 6vw, 90px); }
.timeline__stage { position: sticky; top: 0; height: 100vh; height: 100svh; display: flex; align-items: center; }
.timeline__inner { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(28px, 5vw, 80px); align-items: center; padding-top: calc(var(--nav-h) * .5); }
.meter { position: relative; padding: clamp(22px, 3vw, 38px); border-radius: 28px; border: 1px solid var(--line-2); background: linear-gradient(180deg, rgba(255, 255, 255, .035), rgba(255, 255, 255, .008)), var(--panel); overflow: hidden; box-shadow: 0 50px 100px -50px rgba(0, 0, 0, .9); }
.meter__head { display: flex; justify-content: space-between; font-family: var(--font-mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.meter__live { display: inline-flex; align-items: center; gap: 8px; color: var(--red-hi); }
.meter__live i { width: 8px; height: 8px; border-radius: 50%; background: var(--red); box-shadow: 0 0 10px var(--red); animation: pulse 1.4s infinite; }
.meter__value { display: flex; align-items: baseline; gap: 6px; margin: 10px 0 16px; font-family: var(--font-display); font-weight: 700; font-size: clamp(64px, 8.5vw, 136px); line-height: 1; letter-spacing: -.045em; font-variant-numeric: tabular-nums; }
.meter__value small { font-size: .36em; letter-spacing: 0; color: var(--teal); }
.meter__bar { height: 8px; border-radius: 99px; background: rgba(255, 255, 255, .06); overflow: hidden; }
.meter__bar i { display: block; height: 100%; border-radius: inherit; background: var(--grad); transform-origin: 0 50%; transform: scaleX(var(--p, 0)); }
.meter__stage-label { position: relative; margin: 26px auto 12px; width: 62%; height: 26px; display: grid; place-items: center; border-radius: 0 0 60% 60% / 0 0 100% 100%; background: linear-gradient(90deg, rgba(var(--red-rgb), .25), rgba(var(--teal-rgb), .25)); border: 1px solid var(--line-2); border-top: 0; font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .3em; text-transform: uppercase; color: var(--text-2); }
.seats { display: grid; grid-template-columns: repeat(16, minmax(0, 1fr)); gap: clamp(4px, .55vw, 8px); }
.seat { aspect-ratio: 1 / .9; border-radius: 3px 3px 6px 6px; background: rgba(255, 255, 255, .07); transition: background-color .4s, box-shadow .4s, transform .4s var(--ease); }
.seat.is-on { background: rgb(var(--c, var(--teal-rgb))); box-shadow: 0 0 10px rgba(var(--c, var(--teal-rgb)), .55); transform: translateY(-1px); }
.meter__stamp { position: absolute; left: 50%; top: 58%; padding: 10px 26px; border: 4px solid var(--red); border-radius: 12px; background: rgba(5, 7, 10, .78); color: var(--red); font-family: var(--font-display); font-weight: 800; font-size: clamp(32px, 4.6vw, 64px); letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; box-shadow: 0 0 50px rgba(var(--red-rgb), .35), inset 0 0 20px rgba(var(--red-rgb), .2); transform: translate(-50%, -50%) rotate(-12deg) scale(2.3); opacity: 0; pointer-events: none; transition: transform .5s cubic-bezier(.3, 1.7, .5, 1), opacity .25s; }
.timeline.is-sold .meter__stamp { opacity: 1; transform: translate(-50%, -50%) rotate(-12deg) scale(1); }
.steps { list-style: none; padding: 0; display: grid; gap: 12px; }
.step { position: relative; padding: 20px 22px 20px 74px; border-radius: 18px; border: 1px solid var(--line); background: rgba(255, 255, 255, .015); opacity: .38; transition: opacity .5s, border-color .5s, background-color .5s, transform .6s var(--ease); }
.step h3 { margin: 0 0 4px; font-family: var(--font-display); font-weight: 600; font-size: clamp(20px, 1.8vw, 26px); letter-spacing: -.01em; }
.step p { margin: 0; color: var(--text-2); font-size: 15px; line-height: 1.55; }
.step__num { position: absolute; left: 22px; top: 21px; width: 36px; height: 36px; display: grid; place-items: center; border-radius: 11px; border: 1px solid var(--line-2); font-family: var(--font-mono); font-size: 13px; color: var(--muted); transition: background-color .4s, color .4s, border-color .4s, box-shadow .4s; }
.step.is-done { opacity: .75; }
.step.is-done .step__num { background: rgba(var(--teal-rgb), .14); border-color: rgba(var(--teal-rgb), .4); color: var(--teal); }
.step.is-active { opacity: 1; border-color: rgba(var(--teal-rgb), .55); background: rgba(var(--teal-rgb), .06); transform: translateX(-10px); }
.step.is-active .step__num { background: var(--teal); border-color: transparent; color: #03110f; box-shadow: 0 0 22px rgba(var(--teal-rgb), .6); }

/* ---------- Services (bento) ---------- */
.bento { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 16px; }
.tile { --mx: 50%; --my: 50%; position: relative; isolation: isolate; grid-column: span 6; display: flex; flex-direction: column; min-height: 400px; padding: 28px; border: 1px solid var(--line); border-radius: 26px; background: linear-gradient(180deg, rgba(255, 255, 255, .03), rgba(255, 255, 255, .005)), var(--panel); overflow: hidden; }
.tile--web { grid-column: span 7; grid-row: span 2; }
.tile--ads, .tile--event { grid-column: span 5; }
.tile::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(520px circle at var(--mx) var(--my), rgba(var(--teal-rgb), .11), transparent 42%); opacity: 0; transition: opacity .4s; }
.tile::after {
  content: "";
  position: absolute;
  inset: 0;
  padding: 1px;
  border-radius: inherit;
  background: radial-gradient(300px circle at var(--mx) var(--my), rgba(var(--teal-rgb), .85), rgba(var(--red-rgb), .35) 40%, transparent 60%);
  -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);
  opacity: 0;
  transition: opacity .4s;
  pointer-events: none;
}
.tile:hover::before, .tile:hover::after { opacity: 1; }
.tile__visual { position: relative; flex: 1 1 auto; min-height: 220px; margin-bottom: 22px; pointer-events: none; }
.tile__body { position: relative; }
.tile__num { font-family: var(--font-mono); font-size: 12px; color: var(--teal); letter-spacing: .1em; }
.tile h3 { margin: 8px 0 10px; font-family: var(--font-display); font-weight: 600; font-size: clamp(24px, 2.1vw, 32px); line-height: 1.08; letter-spacing: -.015em; }
.tile p { margin: 0; max-width: 440px; color: var(--text-2); font-size: 15.5px; line-height: 1.6; }
.tile__list { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 18px 0 0; }
.tile__list li { padding: 6px 12px; border-radius: 99px; border: 1px solid var(--line-2); font-size: 13px; color: var(--text-2); }

.v-web__win { position: absolute; left: 0; top: 0; width: 80%; max-height: 100%; border-radius: 14px; background: #0d1319; border: 1px solid var(--line-2); overflow: hidden; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .9); }
.v-web__bar { display: flex; align-items: center; gap: 6px; height: 28px; padding: 0 12px; border-bottom: 1px solid var(--line); }
.v-web__bar i { width: 7px; height: 7px; border-radius: 50%; background: rgba(255, 255, 255, .18); }
.v-web__bar span { width: 38%; height: 10px; margin-left: 12px; border-radius: 4px; background: rgba(255, 255, 255, .06); }
.v-web__body { display: grid; gap: 14px; padding: 16px 18px; }
.v-web__nav { display: flex; align-items: center; gap: 8px; }
.v-web__nav b { width: 20px; height: 20px; margin-right: auto; border-radius: 6px; background: var(--grad); }
.v-web__nav span { width: 34px; height: 7px; border-radius: 4px; background: rgba(255, 255, 255, .14); }
.v-web__hero { display: grid; gap: 8px; }
.v-web__h1 { width: 72%; height: 16px; border-radius: 5px; background: var(--text); }
.v-web__h2 { width: 56%; height: 16px; border-radius: 5px; background: var(--grad); }
.v-web__h3 { width: 44%; height: 7px; margin-top: 4px; border-radius: 4px; background: rgba(255, 255, 255, .18); }
.v-web__btn { width: 90px; height: 24px; margin-top: 6px; border-radius: 99px; background: var(--teal); }
.v-web__img { height: 70px; border-radius: 10px; background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .18) 50%, transparent 70%) 0 0 / 250% 100%, linear-gradient(120deg, rgba(var(--red-rgb), .5), rgba(var(--teal-rgb), .5)); }
.v-web__cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.v-web__cards i { height: 64px; border-radius: 8px; border: 1px solid var(--line-2); background: rgba(255, 255, 255, .03); }
.v-web__rows { display: grid; gap: 8px; padding-top: 4px; }
.v-web__rows i { height: 7px; border-radius: 4px; background: rgba(255, 255, 255, .1); }
.v-web__rows i:nth-child(1) { width: 92%; }
.v-web__rows i:nth-child(2) { width: 84%; }
.v-web__rows i:nth-child(3) { width: 58%; }
.v-web__split { display: grid; grid-template-columns: 1.3fr 1fr; gap: 10px; }
.v-web__split i { height: 86px; border-radius: 10px; border: 1px solid var(--line-2); background: linear-gradient(160deg, rgba(var(--teal-rgb), .12), transparent 70%); }
.v-web__split i:last-child { background: linear-gradient(160deg, rgba(var(--red-rgb), .14), transparent 70%); }
.v-web__body > * > *, .v-web__img { transform-origin: 0 50%; animation: build 9s var(--ease) infinite; }
.v-web__nav span:nth-child(2) { animation-delay: .1s; }
.v-web__nav span:nth-child(3) { animation-delay: .2s; }
.v-web__nav span:nth-child(4) { animation-delay: .3s; }
.v-web__h1 { animation-delay: .5s !important; }
.v-web__h2 { animation-delay: .7s !important; }
.v-web__h3 { animation-delay: .9s !important; }
.v-web__btn { animation-delay: 1.1s !important; }
.v-web__img { animation: build 9s var(--ease) 1.3s infinite, shimmer 3s linear infinite; }
.v-web__cards i:nth-child(1) { animation-delay: 1.6s; }
.v-web__cards i:nth-child(2) { animation-delay: 1.75s; }
.v-web__cards i:nth-child(3) { animation-delay: 1.9s; }
.v-web__rows i:nth-child(1) { animation-delay: 2.1s; }
.v-web__rows i:nth-child(2) { animation-delay: 2.2s; }
.v-web__rows i:nth-child(3) { animation-delay: 2.3s; }
.v-web__split i:nth-child(1) { animation-delay: 2.5s; }
.v-web__split i:nth-child(2) { animation-delay: 2.65s; }
@keyframes build { 0%, 4% { transform: scaleX(0); opacity: 0; } 10%, 88% { transform: scaleX(1); opacity: 1; } 95%, 100% { transform: scaleX(1); opacity: 0; } }
@keyframes shimmer { to { background-position: -250% 0, 0 0; } }
.v-web__code { position: absolute; right: 0; top: 46%; width: 46%; display: grid; gap: 4px; padding: 14px 16px; border-radius: 12px; border: 1px solid rgba(var(--teal-rgb), .35); background: rgba(7, 11, 15, .92); box-shadow: 0 20px 50px -20px rgba(0, 0, 0, .9), 0 0 40px -20px rgba(var(--teal-rgb), .6); font-family: var(--font-mono); font-size: 11.5px; color: var(--teal-hi); }
.v-web__code span { display: block; overflow: hidden; white-space: nowrap; width: 0; animation: type 9s steps(24) infinite; }
.v-web__code span:nth-child(2) { animation-delay: .6s; color: var(--text); }
.v-web__code span:nth-child(3) { animation-delay: 1.2s; color: var(--red-hi); }
.v-web__code span:nth-child(4) { animation-delay: 1.8s; }
@keyframes type { 0% { width: 0; } 12%, 90% { width: 100%; } 100% { width: 0; } }
.v-web__cursor { position: absolute; left: 0; top: 0; width: 18px; height: 18px; background: var(--text); clip-path: polygon(0 0, 100% 55%, 55% 62%, 38% 100%); filter: drop-shadow(0 2px 6px rgba(0, 0, 0, .6)); animation: pointer 9s var(--ease-io) infinite; }
@keyframes pointer { 0%, 10% { transform: translate(340px, 250px); } 22% { transform: translate(92px, 168px); } 24% { transform: translate(92px, 168px) scale(.8); } 27%, 60% { transform: translate(92px, 168px) scale(1); } 75%, 100% { transform: translate(300px, 60px); } }

.v-radar { display: grid; place-items: center; }
.v-radar__rings i { position: absolute; left: 50%; top: 50%; aspect-ratio: 1; border-radius: 50%; border: 1px solid rgba(var(--teal-rgb), .2); transform: translate(-50%, -50%); }
.v-radar__rings i:nth-child(1) { height: 32%; }
.v-radar__rings i:nth-child(2) { height: 60%; }
.v-radar__rings i:nth-child(3) { height: 88%; }
.v-radar__rings i:nth-child(4) { height: 20%; border-color: rgba(var(--teal-rgb), .7); animation: ripple 3.2s var(--ease) infinite; }
@keyframes ripple { 0% { height: 16%; opacity: 1; } 100% { height: 120%; opacity: 0; } }
.v-radar__sweep { position: absolute; left: 50%; top: 50%; height: 88%; aspect-ratio: 1; border-radius: 50%; transform: translate(-50%, -50%); background: conic-gradient(from 0deg, rgba(var(--teal-rgb), .38), rgba(var(--teal-rgb), 0) 22%, transparent); animation: sweep 4s linear infinite; }
@keyframes sweep { to { transform: translate(-50%, -50%) rotate(360deg); } }
.v-radar__dots i { position: absolute; left: var(--x); top: var(--y); width: 8px; height: 8px; border-radius: 50%; background: var(--red); box-shadow: 0 0 14px var(--red); opacity: 0; animation: blip 4s var(--t, 0s) infinite; }
@keyframes blip { 0%, 100% { opacity: 0; transform: scale(.4); } 6% { opacity: 1; transform: scale(1.3); } 30% { opacity: .75; transform: scale(1); } 60% { opacity: 0; } }
.v-radar__core { position: relative; display: grid; justify-items: center; padding: 14px 18px; border-radius: 16px; background: rgba(5, 7, 10, .75); border: 1px solid rgba(var(--teal-rgb), .35); backdrop-filter: blur(4px); }
.v-radar__core strong { font-family: var(--font-display); font-size: clamp(30px, 3vw, 42px); line-height: 1; letter-spacing: -.02em; }
.v-radar__core span { margin-top: 6px; font-family: var(--font-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--teal); }

.v-ticket { display: grid; place-items: center; perspective: 900px; }
.v-ticket__card { position: relative; display: flex; width: min(100%, 360px); height: 150px; transform: rotate(-7deg); animation: floaty 6s ease-in-out infinite; filter: drop-shadow(0 24px 30px rgba(0, 0, 0, .55)); }
@keyframes floaty { 0%, 100% { translate: 0 0; } 50% { translate: 0 -10px; } }
.v-ticket__main { flex: 1; display: flex; flex-direction: column; justify-content: space-between; padding: 16px 20px; border-radius: 14px; background: linear-gradient(135deg, #ff3131, #ff7446); color: #230506; }
.v-ticket__kicker { font-family: var(--font-mono); font-size: 10px; letter-spacing: .16em; text-transform: uppercase; opacity: .8; }
.v-ticket__main strong { font-family: var(--font-display); font-weight: 800; font-size: 46px; line-height: 1; letter-spacing: -.02em; }
.v-ticket__meta { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; }
.v-ticket__stub { width: 98px; margin-left: -1px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; border-radius: 14px; border-left: 2px dashed rgba(0, 0, 0, .35); background: var(--teal); color: #03110f; font-family: var(--font-mono); font-size: 10px; }
.v-ticket__code { width: 58px; height: 62px; background: repeating-linear-gradient(90deg, #03110f 0 2px, transparent 2px 4px, #03110f 4px 5px, transparent 5px 8px, #03110f 8px 11px, transparent 11px 13px); }
.v-ticket__stamp { position: absolute; left: 38%; top: 50%; padding: 6px 14px; border: 3px solid #fff; border-radius: 8px; color: #fff; font-family: var(--font-display); font-weight: 800; font-size: 26px; letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; background: rgba(20, 3, 4, .25); transform: translate(-50%, -50%) rotate(-14deg) scale(2.4); opacity: 0; transition: transform .45s cubic-bezier(.3, 1.6, .5, 1), opacity .25s; }
.tile--event:hover .v-ticket__stamp, .tile--event.is-stamped .v-ticket__stamp { opacity: 1; transform: translate(-50%, -50%) rotate(-14deg) scale(1); }

.v-orbit { display: grid; place-items: center; }
.v-orbit__ring { position: absolute; left: 50%; top: 50%; border-radius: 50%; border: 1px dashed rgba(255, 255, 255, .15); translate: -50% -50%; animation: spin 24s linear infinite; }
.v-orbit__ring--1 { --r: 78px; width: 156px; height: 156px; }
.v-orbit__ring--2 { --r: 132px; width: 264px; height: 264px; animation-duration: 36s; animation-direction: reverse; }
@keyframes spin { to { transform: rotate(360deg); } }
.v-orbit__node { position: absolute; left: 50%; top: 50%; width: 40px; height: 40px; margin: -20px 0 0 -20px; display: grid; place-items: center; border-radius: 12px; border: 1px solid var(--line-2); background: var(--panel-2); color: var(--teal); transform: rotate(var(--a)) translateX(var(--r)) rotate(calc(var(--a) * -1)); }
.v-orbit__node svg { width: 20px; height: 20px; animation: spin 24s linear infinite reverse; }
.v-orbit__ring--2 .v-orbit__node svg { animation-duration: 36s; animation-direction: normal; color: var(--red-hi); }
.v-orbit__core { position: relative; display: grid; place-items: center; width: 84px; height: 84px; border-radius: 24px; border: 1px solid rgba(var(--teal-rgb), .4); background: rgba(5, 7, 10, .85); box-shadow: 0 0 50px -10px rgba(var(--teal-rgb), .5); }
.v-orbit__core img { width: 58px; height: auto; }

.v-data__chart { position: absolute; inset: 20% 0 0; width: 100%; height: 80%; overflow: visible; }
.v-data__grid path { fill: none; stroke: rgba(255, 255, 255, .07); stroke-width: 1; stroke-dasharray: 4 6; }
.v-data__line { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 6s var(--ease) infinite; }
.v-data__area { opacity: 0; animation: area 6s var(--ease) infinite; }
@keyframes draw { 0%, 5% { stroke-dashoffset: 1; opacity: 1; } 45%, 86% { stroke-dashoffset: 0; opacity: 1; } 100% { stroke-dashoffset: 0; opacity: 0; } }
@keyframes area { 0%, 25% { opacity: 0; } 50%, 86% { opacity: 1; } 100% { opacity: 0; } }
.v-data__chip { position: absolute; left: var(--x); top: var(--y); padding: 6px 12px; border-radius: 99px; border: 1px solid var(--line-2); background: rgba(10, 14, 19, .85); font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .08em; color: var(--text-2); animation: floaty 5s ease-in-out infinite; }
.v-data__chip:nth-of-type(2) { animation-delay: -1.6s; }
.v-data__chip--hot { border-color: rgba(var(--teal-rgb), .6); color: var(--teal-hi); box-shadow: 0 0 24px -6px rgba(var(--teal-rgb), .7); animation-delay: -3s; }

/* ---------- Pricing ---------- */
.pricing { overflow: hidden; }
.pricing__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(32px, 6vw, 100px); align-items: center; }
.pricing__intro .sec-title { margin: 16px 0 22px; }
.pricing__intro .sec-lead { justify-self: start; }
.pricing__note { max-width: 420px; margin: 22px 0 0; padding-left: 16px; border-left: 2px solid rgba(var(--teal-rgb), .5); font-size: 14.5px; color: var(--muted); }
.plan { position: relative; isolation: isolate; padding: clamp(26px, 3.4vw, 46px); border-radius: 30px; box-shadow: 0 40px 120px -40px rgba(var(--teal-rgb), .5), 0 40px 90px -60px rgba(var(--red-rgb), .6); }
.plan::before { content: ""; position: absolute; inset: 0; z-index: -2; border-radius: inherit; background: conic-gradient(from var(--ang), var(--red), #ff7a45, var(--teal), #6ff5df, var(--red)); animation: ang 5s linear infinite; }
.plan::after { content: ""; position: absolute; inset: 1.5px; z-index: -1; border-radius: 28.5px; background: radial-gradient(120% 80% at 100% 0%, rgba(var(--teal-rgb), .1), transparent 55%), linear-gradient(180deg, #10161d, #0a0e13); }
@keyframes ang { to { --ang: 360deg; } }
.plan__stamp { position: absolute; top: -28px; right: 30px; display: grid; grid-auto-flow: column; place-content: center; align-items: baseline; width: 80px; height: 80px; border-radius: 50%; background: var(--red); color: #fff; font-family: var(--font-display); font-weight: 800; font-size: 30px; line-height: 1; box-shadow: 0 0 0 6px var(--bg), 0 14px 40px -10px rgba(var(--red-rgb), .9); transform: rotate(-10deg); animation: stampPulse 2.4s ease-in-out infinite; }
.plan__stamp small { font-size: .5em; margin-top: -2px; }
@keyframes stampPulse { 0%, 100% { transform: rotate(-10deg) scale(1); } 50% { transform: rotate(-6deg) scale(1.06); } }
.plan__name { font-family: var(--font-display); font-weight: 700; font-size: clamp(34px, 3.4vw, 54px); line-height: 1; letter-spacing: -.02em; }
.plan__tag { margin: 10px 0 0; font-family: var(--font-mono); font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--teal); }
.plan__price { display: flex; align-items: baseline; gap: 12px; margin: 24px 0 24px; padding: 18px 0; border-block: 1px solid var(--line); }
.plan__price span { font-family: var(--font-mono); font-size: 14px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.plan__price strong { font-family: var(--font-display); font-weight: 800; font-size: clamp(52px, 5.4vw, 84px); line-height: 1; letter-spacing: -.035em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.plan__list { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px 24px; margin: 0 0 30px; }
.plan__list li { display: flex; align-items: flex-start; gap: 10px; font-size: 15px; line-height: 1.45; color: var(--text-2); }
.plan__list svg { width: 18px; height: 18px; flex: none; margin-top: 1px; padding: 2px; border-radius: 50%; color: #03110f; background: var(--teal); }
.plan__cta { width: 100%; }

/* ---------- About ---------- */
.about__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(36px, 6vw, 100px); align-items: center; }
.term { border-radius: 20px; border: 1px solid var(--line-2); background: #070a0e; overflow: hidden; box-shadow: 0 40px 90px -40px rgba(0, 0, 0, .9), 0 0 90px -40px rgba(var(--teal-rgb), .45); }
.term__bar { display: flex; align-items: center; gap: 8px; height: 42px; padding: 0 16px; border-bottom: 1px solid var(--line); background: #0c1015; }
.term__bar i { width: 11px; height: 11px; border-radius: 50%; background: #2c323a; }
.term__bar i:nth-child(1) { background: var(--red); }
.term__bar i:nth-child(3) { background: var(--teal); }
.term__bar span { margin-left: auto; margin-right: auto; font-family: var(--font-mono); font-size: 12px; color: var(--muted); }
.term__body { margin: 0; min-height: 400px; padding: 24px 24px 30px; font-family: var(--font-mono); font-size: clamp(12.5px, 1.05vw, 14.5px); line-height: 1.85; color: var(--text-2); white-space: pre-wrap; overflow-wrap: anywhere; }
.term__body code { font: inherit; }
.c-prompt { color: var(--teal); }
.c-cmd { color: var(--text); }
.c-val { color: var(--red-hi); }
.c-dim { color: var(--muted); }
.c-link { color: var(--teal-hi); }
.term__caret { display: inline-block; width: .6em; height: 1.1em; vertical-align: -.2em; background: var(--teal); animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.term.is-typing .tl { display: block; }
.term.is-typing .tl:not(.is-shown) { display: none; }
.about__text .sec-title { margin: 16px 0 26px; }
.about__p { max-width: 580px; color: var(--text-2); font-size: clamp(16px, 1.2vw, 18px); }
.process { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 32px; }
.process li { display: grid; gap: 2px; padding: 18px 20px; border-radius: 16px; border: 1px solid var(--line); background: rgba(255, 255, 255, .015); transition: border-color .3s, transform .45s var(--ease), background-color .3s; }
.process li.is-in:hover { border-color: rgba(var(--teal-rgb), .5); background: rgba(var(--teal-rgb), .04); transform: translateY(-4px); }
.process b { font-family: var(--font-mono); font-size: 12px; font-weight: 500; color: var(--teal); }
.process strong { font-family: var(--font-display); font-size: 20px; font-weight: 600; }
.process span { color: var(--muted); font-size: 14px; }

/* ---------- Contact ---------- */
.contact { position: relative; isolation: isolate; padding: clamp(100px, 13vw, 190px) 0 clamp(80px, 10vw, 140px); overflow: hidden; border-top: 1px solid var(--line); }
.contact__glow { position: absolute; z-index: -1; left: 62%; top: 42%; width: min(1100px, 130vw); aspect-ratio: 1; border-radius: 50%; background: conic-gradient(from 0deg, rgba(var(--red-rgb), 0), rgba(var(--red-rgb), .4), rgba(var(--teal-rgb), .4), rgba(var(--teal-rgb), 0) 70%, rgba(var(--red-rgb), 0)); filter: blur(100px); opacity: .45; transform: translate(-50%, -50%); animation: glowSpin 22s linear infinite; }
@keyframes glowSpin { to { transform: translate(-50%, -50%) rotate(360deg); } }
.contact__title { max-width: 13ch; margin: 20px 0 40px; font-family: var(--font-display); font-weight: 700; font-size: clamp(44px, 7vw, 124px); line-height: .98; letter-spacing: -.035em; }
.contact__row { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 28px; }
.contact__mail { position: relative; display: inline-block; padding-bottom: 6px; font-family: var(--font-display); font-weight: 600; font-size: clamp(24px, 4.4vw, 70px); line-height: 1.1; letter-spacing: -.02em; overflow-wrap: anywhere; }
.contact__mail::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--grad); transform-origin: 0 50%; transition: transform .6s var(--ease); }
.contact__mail:hover::after { transform: scaleX(.12); }
.contact__mail .ch { display: inline-block; transition: transform .45s var(--ease), color .3s; transition-delay: calc(var(--ci) * 14ms); }
.contact__mail:hover .ch { transform: translateY(-.12em); color: var(--teal-hi); }
.brief { max-width: 820px; margin-top: clamp(48px, 6vw, 72px); padding: clamp(22px, 3vw, 34px); border-radius: 26px; border: 1px solid var(--line-2); background: rgba(8, 11, 16, .72); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.brief__needs { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; border: 0; }
.brief__needs legend { width: 100%; margin-bottom: 16px; padding: 0; font-family: var(--font-display); font-weight: 600; font-size: clamp(20px, 1.8vw, 24px); }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span { display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--line-2); font-weight: 600; font-size: 15px; cursor: pointer; transition: background-color .3s, color .3s, border-color .3s; }
.chip span::before { content: "+"; font-family: var(--font-mono); color: var(--teal); }
.chip:hover span { border-color: rgba(var(--teal-rgb), .6); }
.chip input:checked + span { background: var(--teal); border-color: transparent; color: #03110f; }
.chip input:checked + span::before { content: "✓"; color: #03110f; }
.chip input:focus-visible + span { outline: 2px solid var(--teal); outline-offset: 3px; }
.field { display: grid; gap: 10px; margin-top: 24px; }
.field span { font-size: 14px; color: var(--text-2); }
.field em { font-style: normal; color: var(--muted); }
.field textarea { width: 100%; resize: vertical; min-height: 96px; padding: 14px 16px; border-radius: 14px; border: 1px solid var(--line-2); background: rgba(255, 255, 255, .03); color: var(--text); font: inherit; font-size: 16px; transition: border-color .3s, background-color .3s; }
.field textarea::placeholder { color: #5f6f6d; }
.field textarea:focus { outline: none; border-color: var(--teal); background: rgba(var(--teal-rgb), .04); }
.brief__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin-top: 22px; }
.brief__note { margin: 0; font-size: 13.5px; color: var(--muted); }

/* ---------- Footer ---------- */
.footer { position: relative; padding-top: 64px; border-top: 1px solid var(--line); overflow: hidden; }
.footer__top { display: grid; grid-template-columns: auto 1fr auto; gap: 40px; align-items: start; }
.footer__logo img { width: 132px; height: auto; }
.footer__nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 28px; padding-top: 18px; font-family: var(--font-mono); font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--text-2); }
.footer__nav a:hover { color: var(--teal-hi); }
.footer__contact { display: grid; gap: 6px; justify-items: end; padding-top: 14px; }
.footer__contact span { font-family: var(--font-mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.footer__contact a { font-family: var(--font-display); font-weight: 600; font-size: 20px; transition: color .3s; }
.footer__contact a:hover { color: var(--teal-hi); }
.footer__giant { margin-top: 20px; padding-top: .12em; font-family: var(--font-display); font-weight: 800; font-size: clamp(110px, 29vw, 470px); line-height: .74; letter-spacing: -.05em; text-align: center; color: transparent; -webkit-text-stroke: 1px rgba(var(--red-rgb), .4); background: linear-gradient(180deg, rgba(var(--red-rgb), .16), transparent 75%); -webkit-background-clip: text; background-clip: text; user-select: none; transform: translateY(10%); }
.footer__bottom { position: relative; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 20px; padding: 20px var(--gutter); border-top: 1px solid var(--line); background: var(--bg); font-family: var(--font-mono); font-size: 12.5px; color: var(--muted); }
.footer--page { padding-top: 0; }
.to-top { display: inline-flex; align-items: center; gap: 8px; color: var(--text-2); transition: color .3s; }
.to-top svg { width: 14px; height: 14px; transform: rotate(-45deg); transition: transform .4s var(--ease); }
.to-top:hover { color: var(--teal-hi); }
.to-top:hover svg { transform: rotate(-45deg) translate(2px, -2px); }

/* ---------- Portfolio page ---------- */
.page-hero { position: relative; isolation: isolate; padding: calc(var(--nav-h) + clamp(60px, 9vw, 120px)) 0 clamp(36px, 5vw, 60px); overflow: hidden; }
.page-hero .hero__grid { -webkit-mask-image: radial-gradient(ellipse 70% 80% at 30% 20%, #000 10%, transparent 70%); mask-image: radial-gradient(ellipse 70% 80% at 30% 20%, #000 10%, transparent 70%); }
.page-hero__title { margin: 18px 0 20px; font-size: clamp(50px, 8vw, 128px); }
.page-hero .sec-lead { justify-self: start; }
.cards-wrap { padding: 10px 0 clamp(80px, 10vw, 140px); }
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.card { position: relative; display: block; aspect-ratio: 1; padding: 0; border-radius: 22px; overflow: hidden; border: 1px solid var(--line-2); background: var(--panel); text-align: left; box-shadow: 0 30px 60px -34px rgba(0, 0, 0, .9); transition: border-color .4s, box-shadow .4s; }
.card img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease), filter .5s; }
.card:hover img { transform: scale(1.05); }
.card:hover { border-color: rgba(var(--teal-rgb), .55); box-shadow: 0 30px 80px -30px rgba(var(--teal-rgb), .45); }
.card:hover .card__meta b { animation: textGlitch .4s steps(2); }
.card__meta { position: absolute; left: 14px; right: 14px; bottom: 14px; display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 12px 16px; border-radius: 14px; border: 1px solid var(--line); background: rgba(5, 7, 10, .82); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.card__meta b { font-family: var(--font-display); font-weight: 600; font-size: 18px; line-height: 1.2; }
.card__meta em { font-style: normal; font-family: var(--font-mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--teal); text-align: right; }
.card__num { position: absolute; top: 14px; left: 14px; padding: 5px 10px; border-radius: 99px; border: 1px solid var(--line-2); background: rgba(5, 7, 10, .75); font-family: var(--font-mono); font-size: 11.5px; color: var(--text-2); }
.card.is-target { border-color: var(--teal); box-shadow: 0 0 0 2px var(--teal), 0 30px 90px -30px rgba(var(--teal-rgb), .7); }
.page-cta { position: relative; isolation: isolate; padding: clamp(80px, 12vw, 170px) 0; overflow: hidden; border-top: 1px solid var(--line); }
.page-cta__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px; }
.page-cta .contact__title { margin: 0; max-width: 14ch; }

.lightbox { position: fixed; inset: 0; z-index: 260; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 16px; padding: clamp(14px, 3vw, 40px); background: rgba(3, 4, 6, .93); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); opacity: 0; transition: opacity .35s; }
.lightbox[hidden] { display: none; }
.lightbox.is-open { opacity: 1; }
.lightbox__fig { margin: 0; display: grid; justify-items: center; gap: 16px; min-width: 0; }
.lightbox__fig img { width: auto; max-width: 100%; max-height: 80vh; border-radius: 18px; box-shadow: 0 40px 120px -30px rgba(0, 0, 0, .9); transform: scale(.95); transition: transform .45s var(--ease), opacity .25s; }
.lightbox.is-open .lightbox__fig img { transform: none; }
.lightbox__fig img.is-swap { opacity: 0; }
.lightbox__fig figcaption { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: center; gap: 8px 16px; text-align: center; }
.lightbox__fig b { font-family: var(--font-display); font-weight: 600; font-size: 22px; }
.lightbox__fig em { font-style: normal; font-family: var(--font-mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--teal); }
.lightbox__count { font-family: var(--font-mono); font-size: 12px; color: var(--muted); }
.lightbox__btn { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; border: 1px solid var(--line-2); background: rgba(255, 255, 255, .04); transition: border-color .3s, background-color .3s, color .3s; }
.lightbox__btn:hover { border-color: var(--teal); color: var(--teal-hi); background: rgba(var(--teal-rgb), .08); }
.lightbox__btn svg { width: 22px; height: 22px; }
.lightbox__close { position: absolute; top: 18px; right: 18px; }

/* ---------- Toast ---------- */
.toast { position: fixed; left: 50%; bottom: 28px; z-index: 270; max-width: calc(100vw - 32px); padding: 12px 18px; border-radius: 12px; border: 1px solid rgba(var(--teal-rgb), .5); background: #0f151c; color: var(--text); font-size: 14px; box-shadow: 0 20px 50px -20px rgba(0, 0, 0, .9); opacity: 0; pointer-events: none; transform: translate(-50%, 20px); transition: opacity .3s, transform .45s var(--ease); }
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }

/* ==========================================================================
   Responsive
   ========================================================================== */
/* 3 + 2 stats */
@media (max-width: 1240px) and (min-width: 641px) {
  .stats { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .stat { grid-column: span 2; }
  .stat:nth-child(4), .stat:nth-child(5) { grid-column: span 3; border-top: 1px solid var(--line); }
  .stat:nth-child(4) { padding-left: 0; border-left: 0; }
  .stat:nth-child(4)::before { left: 0; }
}
@media (max-width: 1240px) { .hero__side { display: none; } }

@media (max-width: 1100px) {
  .nav__links, .nav__cta:not(.nav__cta--page) { display: none; }
  .nav__burger { display: block; }
  .nav__inner { gap: 16px; }
}

@media (max-width: 1023px) {
  .ref { grid-template-columns: 1fr; }
  .ref__main { margin-top: 4px; }
  .ref__links { flex-direction: row; flex-wrap: wrap; }
  .ref__device { margin: 0 6% 9% 0; }
  .wall__plane { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .wall__item:nth-child(n + 7) { display: none; }
  .wall__item:nth-child(4n + 2), .wall__item:nth-child(4n + 4) { --off: 0px; }
  .wall__item:nth-child(3n + 2) { --off: 80px; }
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tile, .tile--web, .tile--ads, .tile--event, .tile--presence, .tile--data { grid-column: span 1; grid-row: auto; }
  .tile--web { grid-column: 1 / -1; min-height: 520px; }
  .timeline__inner { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px; }
  .pricing__grid { grid-template-columns: 1fr; }
  .about__grid { grid-template-columns: 1fr; }
  .term { order: 2; }
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  :root { --nav-h: 68px; }
  .brand__mark { height: 30px; }
  .brand__word { height: 20px; }
  .lang { height: 36px; }

  .hero { padding-top: calc(var(--nav-h) + 29vh); padding-top: calc(var(--nav-h) + 29svh); }
  .hero__inner { justify-content: flex-start; }
  .hero__grid { -webkit-mask-image: radial-gradient(ellipse 90% 45% at 50% 22%, #000 20%, transparent 75%); mask-image: radial-gradient(ellipse 90% 45% at 50% 22%, #000 20%, transparent 75%); }
  .hero__fallback { left: 50%; right: auto; top: calc(var(--nav-h) + 3vh); width: min(60vw, 300px); transform: translateX(-50%); }
  .hero__title { font-size: clamp(40px, 11vw, 64px); margin: 20px 0; }

  .sec-head { grid-template-columns: 1fr; }
  .sec-lead, .sec-head__cta { justify-self: start; }

  .gallery { height: auto; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; margin: 0 calc(var(--gutter) * -1); padding-inline: var(--gutter); scrollbar-width: none; }
  .gallery::-webkit-scrollbar { display: none; }
  .panel, .panel.is-active { flex: 0 0 82%; height: min(62vh, 480px); scroll-snap-align: center; }
  .panel img { transform: none; filter: none; }
  .panel figcaption { opacity: 1; transform: none; }
  .panel__vert { display: none; }
  .spin { right: 8px; top: -64px; width: 120px; }

  .timeline { height: 260vh; }
  .timeline__inner { grid-template-columns: 1fr; gap: 14px; padding-top: calc(var(--nav-h) * .6); }
  .meter { padding: 18px 18px 20px; border-radius: 22px; }
  .meter__value { font-size: clamp(48px, 15vw, 72px); margin: 4px 0 10px; }
  .meter__stage-label { margin: 16px auto 8px; height: 20px; }
  .seats { gap: 3px; }
  .meter__stamp { font-size: 30px; border-width: 3px; }
  .steps { gap: 8px; }
  .step { padding: 12px 14px 12px 56px; border-radius: 14px; }
  .step h3 { font-size: 18px; margin: 0; }
  .step p { display: none; font-size: 14px; margin-top: 4px; }
  .step.is-active p { display: block; }
  .step__num { left: 14px; top: 11px; width: 28px; height: 28px; font-size: 11px; border-radius: 8px; }
  .step.is-active { transform: none; }

  .footer__top { grid-template-columns: 1fr; justify-items: start; gap: 28px; }
  .footer__nav { justify-content: flex-start; padding-top: 0; }
  .footer__contact { justify-items: start; padding-top: 0; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .btn { --h: 52px; padding: 0 22px; font-size: 14px; }
  .btn--ghost { font-size: 13px; }
  .hero__cta .btn { flex: 1 1 auto; }
  /* 2 + 2 + 1 stats */
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat { padding-right: 10px; }
  .stat:nth-child(5) { grid-column: 1 / -1; }
  .stat + .stat { padding-left: 16px; }
  .stat + .stat::before { left: 16px; }
  .stat:nth-child(3), .stat:nth-child(5) { padding-left: 0; border-left: 0; }
  .stat:nth-child(3)::before, .stat:nth-child(5)::before { left: 0; }
  .stat:nth-child(n + 3) { border-top: 1px solid var(--line); }
  .stat__num { font-size: clamp(26px, 8vw, 38px); }
  .stat--wide .stat__num { font-size: clamp(22px, 6.4vw, 32px); }
  .stat__label { font-size: 12.5px; }
  .client { height: 72px; margin-right: 48px; }
  .client img { height: calc(var(--h, 48px) * .8); }
  .ref { border-radius: 24px; gap: 22px; }
  .ref__top { flex-wrap: wrap; }
  .ref__link { height: 46px; font-size: 14px; }
  .wall__plane { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .wall__item:nth-child(n + 7) { display: none; }
  .wall__item, .wall__item:nth-child(3n + 2) { --off: 0px; }
  .wall__item > span { transform: none; left: 8px; right: 8px; bottom: 8px; padding: 7px 10px; }
  .wall__item em { display: none; }
  .board { gap: 12px; }
  .bento { grid-template-columns: 1fr; }
  .tile { min-height: 0; padding: 22px; }
  .tile--web { min-height: 0; }
  .tile--web .tile__visual { min-height: 330px; }
  .tile__visual { min-height: 220px; }
  .v-web__cursor { display: none; }
  .v-web__win { width: 88%; }
  .v-web__code { width: 66%; padding: 12px 14px; font-size: 10.5px; }
  .plan__list { grid-template-columns: 1fr; }
  .plan__stamp { width: 66px; height: 66px; font-size: 24px; right: 18px; top: -24px; }
  .process { grid-template-columns: 1fr; }
  .term__body { min-height: 0; padding: 18px; }
  .contact__row { gap: 14px; }
  .brief__foot .btn { width: 100%; }
  .cards { grid-template-columns: 1fr; }
  .lightbox { grid-template-columns: 1fr 1fr; grid-template-rows: 1fr auto; }
  .lightbox__fig { grid-column: 1 / -1; grid-row: 1; }
  .lightbox__prev { grid-row: 2; justify-self: end; }
  .lightbox__next { grid-row: 2; justify-self: start; }
}

@media (max-height: 620px) and (max-width: 900px), (max-height: 560px) {
  .timeline { height: auto; }
  .timeline__stage { position: relative; height: auto; padding: 20px 0; }
  .step p { display: block; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
  .grain { display: none; }
  .js [data-reveal], .js [data-intro], .js [data-split] .wi, .js .hero__title .line > span { opacity: 1 !important; transform: none !important; }
  .v-web__code span { width: 100%; }
  .v-data__line { stroke-dashoffset: 0; }
  .v-data__area { opacity: 1; }
  .clients__track { animation: none; flex-wrap: wrap; justify-content: center; width: auto; }
  .wall__plane, .wall__item { transform: none !important; }
}
