/* =========================================================
   Милош Величковиќ — личен сајт
   ========================================================= */
:root {
  --bg: #0E0F0B;
  --bg-2: #16170F;
  --bg-3: #1E2015;
  --cream: #F2F1E8;
  --muted: #9A9A8E;
  --line: rgba(242, 241, 232, .12);
  --lime: #D4FF3A;
  --lime-dk: #A9CC24;
  --red: #E4202A;
  --display: 'Inter Tight', 'Inter', system-ui, sans-serif;
  --body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, monospace;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-io: cubic-bezier(.76, 0, .24, 1);
  --pad: clamp(20px, 4vw, 56px);
  --radius: clamp(18px, 2vw, 28px);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body {
  background: var(--bg);
  color: var(--cream);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.is-loading { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
em { font-style: italic; color: var(--lime); }
::selection { background: var(--lime); color: var(--bg); }

.mono { font-family: var(--mono); font-size: 12px; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
.small { font-size: 11px; }
.eyebrow { display: inline-block; margin-bottom: 18px; color: var(--lime); }

/* зрнест шум преку целиот сајт */
body::after {
  content: ""; position: fixed; inset: -50%; z-index: 300; pointer-events: none; opacity: .05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' 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;
}
@keyframes grain { 0%{transform:translate(0,0)} 25%{transform:translate(-3%,2%)} 50%{transform:translate(2%,-3%)} 75%{transform:translate(-2%,-2%)} 100%{transform:translate(0,0)} }

/* ---------- ПРЕЛОАДЕР ---------- */
.loader {
  position: fixed; inset: 0; z-index: 500; background: var(--lime); color: var(--bg);
  display: flex; flex-direction: column; justify-content: flex-end; padding: var(--pad);
  transition: transform 1s var(--ease-io);
}
.loader.is-done { transform: translateY(-100%); }
.loader__inner { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; }
.loader__name { font-family: var(--display); font-weight: 800; font-size: clamp(22px, 3vw, 40px); letter-spacing: -.03em; text-transform: uppercase; }
.loader__count { font-family: var(--display); font-weight: 900; font-size: clamp(80px, 18vw, 260px); line-height: .8; letter-spacing: -.06em; }
.loader__bar { height: 3px; background: rgba(14,15,11,.15); margin-top: 24px; }
.loader__bar span { display: block; height: 100%; width: 0; background: var(--bg); }

/* ---------- КУРСОР ---------- */
.cursor {
  position: fixed; top: 0; left: 0; z-index: 400; pointer-events: none;
  width: 0; height: 0; margin: 0; border-radius: 50%;
  background: var(--lime); mix-blend-mode: difference;
  display: grid; place-items: center;
  transition: width .45s var(--ease), height .45s var(--ease), margin .45s var(--ease), background .3s;
}
.cursor.is-hover { width: 64px; height: 64px; margin: -32px 0 0 -32px; }
.cursor.is-label { width: 104px; height: 104px; margin: -52px 0 0 -52px; mix-blend-mode: normal; background: var(--lime); }
.cursor__label { font-family: var(--mono); font-size: 11px; text-transform: uppercase; color: var(--bg); opacity: 0; transition: opacity .25s; text-align: center; padding: 0 8px; line-height: 1.2; }
.cursor.is-label .cursor__label { opacity: 1; }
@media (hover: none), (pointer: coarse) { .cursor { display: none; } }

/* ---------- КОПЧИЊА ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px; padding: 15px 26px; border-radius: 100px;
  font-weight: 600; font-size: 15px; white-space: nowrap;
  transition: background .3s, color .3s, border-color .3s, transform .4s var(--ease);
}
.btn--lime { background: var(--lime); color: var(--bg); }
.btn--lime:hover { background: var(--cream); }
.btn--red { background: var(--red); color: #fff; }
.btn--red:hover { background: var(--cream); color: var(--bg); }
.btn--ghost { border: 1px solid var(--line); color: var(--cream); }
.btn--ghost:hover { border-color: var(--lime); color: var(--lime); }
.link { color: var(--lime); font-weight: 600; font-size: 14px; position: relative; }
.link::after { content: ""; position: absolute; left: 0; bottom: -3px; width: 100%; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease); }
.link:hover::after { transform: scaleX(1); transform-origin: left; }

/* ---------- НАВИГАЦИЈА ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 18px var(--pad);
  transition: transform .6s var(--ease), background .4s, backdrop-filter .4s;
}
.nav.is-scrolled { background: rgba(14,15,11,.72); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.nav.is-hidden { transform: translateY(-110%); }
.nav__logo { display: flex; align-items: center; gap: 12px; }
.nav__mono {
  width: 42px; height: 42px; border-radius: 50%; background: var(--lime); color: var(--bg);
  display: grid; place-items: center; font-family: var(--display); font-weight: 900; font-size: 15px; letter-spacing: -.04em;
  transition: transform .6s var(--ease);
}
.nav__logo:hover .nav__mono { transform: rotate(-360deg); }
.nav__txt { font-family: var(--display); font-weight: 700; font-size: 15px; line-height: 1.1; display: flex; flex-direction: column; }
.nav__txt small { font-family: var(--mono); font-weight: 500; font-size: 10px; color: var(--muted); letter-spacing: .06em; margin-top: 3px; }
.nav__links { display: flex; gap: 6px; padding: 6px; border: 1px solid var(--line); border-radius: 100px; background: rgba(14,15,11,.4); }
.nav__links a { padding: 9px 18px; border-radius: 100px; font-size: 14px; font-weight: 500; transition: background .3s, color .3s; }
.nav__links a:hover, .nav__links a.is-active { background: var(--cream); color: var(--bg); }
.nav__cta { padding: 12px 22px; }
.nav__burger { display: none; width: 46px; height: 46px; border-radius: 50%; background: var(--lime); position: relative; z-index: 210; }
.nav__burger span { position: absolute; left: 14px; right: 14px; height: 2px; background: var(--bg); transition: transform .5s var(--ease), top .5s var(--ease); }
.nav__burger span:nth-child(1) { top: 19px; }
.nav__burger span:nth-child(2) { top: 26px; }
.menu-open .nav__burger span:nth-child(1) { top: 22px; transform: rotate(45deg); }
.menu-open .nav__burger span:nth-child(2) { top: 22px; transform: rotate(-45deg); }

/* ---------- МЕНИ ---------- */
.menu {
  position: fixed; inset: 0; z-index: 190; background: var(--lime); color: var(--bg);
  display: flex; flex-direction: column; justify-content: space-between; padding: 110px var(--pad) var(--pad);
  clip-path: circle(0% at calc(100% - 46px) 41px);
  transition: clip-path .9s var(--ease-io);
}
.menu-open .menu { clip-path: circle(150% at calc(100% - 46px) 41px); }
.menu-open { overflow: hidden; }
.menu__list { list-style: none; }
.menu__list li { overflow: hidden; border-bottom: 1px solid rgba(14,15,11,.15); }
.menu__list a {
  display: flex; align-items: baseline; gap: 16px; padding: 10px 0;
  font-family: var(--display); font-weight: 900; font-size: clamp(44px, 12vw, 90px); letter-spacing: -.05em; text-transform: uppercase; line-height: 1;
  transform: translateY(110%); transition: transform .8s var(--ease);
}
.menu__list a span { font-family: var(--mono); font-size: 12px; font-weight: 500; letter-spacing: 0; }
.menu-open .menu__list a { transform: none; }
.menu-open .menu__list li:nth-child(1) a { transition-delay: .25s; }
.menu-open .menu__list li:nth-child(2) a { transition-delay: .32s; }
.menu-open .menu__list li:nth-child(3) a { transition-delay: .39s; }
.menu-open .menu__list li:nth-child(4) a { transition-delay: .46s; }
.menu__foot { display: flex; flex-direction: column; gap: 8px; font-weight: 600; }

/* ---------- ХЕРО ---------- */
.hero {
  min-height: 100vh; min-height: 100svh; padding: 120px var(--pad) 40px;
  display: flex; flex-direction: column; justify-content: space-between; position: relative; overflow: hidden;
}
.hero::before {
  content: ""; position: absolute; width: 70vw; height: 70vw; right: -25vw; top: -20vw; border-radius: 50%;
  background: radial-gradient(circle, rgba(212,255,58,.16), transparent 65%); pointer-events: none;
}
.hero__meta { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; position: relative; z-index: 2; }
.tag { display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px; border: 1px solid var(--line); border-radius: 100px; font-size: 13px; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 0 rgba(212,255,58,.6); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(212,255,58,0); } 100% { box-shadow: 0 0 0 0 rgba(212,255,58,0); } }

.hero__stage { position: relative; margin: 40px 0; cursor: none; }
.hero__title {
  font-family: var(--display); font-weight: 900; text-transform: uppercase;
  font-size: clamp(40px, 11.4vw, 210px); line-height: .84; letter-spacing: -.055em; white-space: nowrap;
}
.hero__title .line { display: block; overflow: hidden; padding-bottom: .04em; }
.hero__title .line:nth-child(2) { padding-left: 4vw; }
.hero__title--base .char { display: inline-block; transform: translateY(105%); }
.is-ready .hero__title--base .char { transform: none; transition: transform 1.1s var(--ease); }
.hero__title--reveal {
  position: absolute; inset: 0; color: var(--bg); background: var(--lime);
  --x: -500px; --y: -500px; --r: 0px;
  clip-path: circle(var(--r) at var(--x) var(--y));
  pointer-events: none;
}
.hero__title--reveal .line { display: block; }
.hero__sign {
  position: absolute; right: 2vw; bottom: -6%; width: clamp(180px, 24vw, 400px); overflow: visible; pointer-events: none;
  transform: rotate(-8deg); z-index: 3;
}
.hero__sign text {
  font-family: 'Caveat', cursive; font-size: 120px; font-weight: 600;
  fill: transparent; stroke: var(--lime); stroke-width: 1.6;
  stroke-dasharray: 900; stroke-dashoffset: 900;
}
.is-ready .hero__sign text { animation: sign 2.6s .9s var(--ease) forwards; }
@keyframes sign { 70% { fill: transparent; } to { stroke-dashoffset: 0; fill: var(--lime); } }

.hero__bottom { display: grid; grid-template-columns: 1fr auto auto; align-items: end; gap: 40px; position: relative; z-index: 2; }
.hero__lead { max-width: 520px; font-size: clamp(16px, 1.3vw, 19px); color: #CFCEC4; }
.hero__badge { width: 150px; height: 150px; position: relative; display: grid; place-items: center; }
.hero__badge-ring { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 16s linear infinite; }
.hero__badge-ring text { font-family: var(--mono); font-size: 13.4px; fill: var(--cream); letter-spacing: .14em; }
.hero__badge-core { width: 64px; height: 64px; border-radius: 50%; background: var(--lime); color: var(--bg); display: grid; place-items: center; font-family: var(--display); font-weight: 900; font-size: 20px; letter-spacing: -.04em; }
@keyframes spin { to { transform: rotate(360deg); } }
.hero__scroll { display: flex; flex-direction: column; align-items: center; gap: 10px; font-family: var(--mono); font-size: 11px; text-transform: uppercase; color: var(--muted); }
.hero__scroll i { width: 1px; height: 60px; background: var(--line); position: relative; overflow: hidden; }
.hero__scroll i::after { content: ""; position: absolute; left: 0; top: -100%; width: 100%; height: 100%; background: var(--lime); animation: drop 1.8s var(--ease-io) infinite; }
@keyframes drop { to { top: 100%; } }

/* ---------- МАРКИЗА ---------- */
.marquee { overflow: hidden; white-space: nowrap; }
.marquee__track { display: inline-flex; align-items: center; gap: 36px; animation: marquee 28s linear infinite; will-change: transform; }
.marquee span { font-family: var(--display); font-weight: 900; text-transform: uppercase; letter-spacing: -.04em; }
.marquee b { font-weight: 400; }
@keyframes marquee { to { transform: translateX(-50%); } }
.marquee--lime { background: var(--lime); color: var(--bg); padding: 18px 0; transform: rotate(-2deg) scale(1.04); margin: 30px 0 0; }
.marquee--lime span { font-size: clamp(28px, 4vw, 56px); }
.marquee--lime .marquee__track { padding-left: 36px; }
.marquee--big { padding: 0 0 40px; }
.marquee--big .marquee__track { animation-duration: 36s; }
.marquee--big span { font-size: clamp(64px, 12vw, 200px); -webkit-text-stroke: 1.5px var(--cream); color: transparent; transition: color .4s; }
.marquee--big:hover span { color: var(--lime); -webkit-text-stroke-color: var(--lime); }
.marquee--big b { color: var(--lime); font-size: clamp(40px, 6vw, 100px); }

/* ---------- СЕКЦИИ ---------- */
.section { padding: clamp(90px, 12vw, 170px) var(--pad); }
.section__head { margin-bottom: clamp(44px, 6vw, 80px); }
.section__head--row { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap; }
.h2 { font-family: var(--display); font-weight: 900; font-size: clamp(44px, 7.4vw, 124px); line-height: .9; letter-spacing: -.05em; text-transform: uppercase; }
.h2 em { font-weight: 800; }
.section__sub { max-width: 380px; color: var(--muted); font-size: 17px; }

/* откривање при скрол */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity 1s var(--ease), transform 1.1s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal-lines .rl { display: block; overflow: hidden; }
.reveal-lines .rl > span { display: block; transform: translateY(105%); transition: transform 1.1s var(--ease); }
.reveal-lines.is-in .rl > span { transform: none; }
.reveal-lines.is-in .rl:nth-child(2) > span { transition-delay: .1s; }
.reveal-lines.is-in .rl:nth-child(3) > span { transition-delay: .2s; }

/* ---------- ПРОЦЕС ---------- */
.process__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.pcard {
  position: relative; overflow: hidden; min-height: 300px; padding: 28px; border-radius: var(--radius);
  background: var(--bg-2); border: 1px solid var(--line);
  display: flex; flex-direction: column; justify-content: space-between;
  transition: transform .6s var(--ease), border-color .4s;
}
.pcard::before { content: ""; position: absolute; inset: 0; background: var(--lime); transform: translateY(101%); transition: transform .6s var(--ease); }
.pcard > * { position: relative; transition: color .4s; }
.pcard:hover { transform: translateY(-8px); }
.pcard:hover::before { transform: none; }
.pcard:hover > * { color: var(--bg); }
.pcard:nth-child(2) { transition-delay: .08s; }
.pcard:nth-child(3) { transition-delay: .16s; }
.pcard:nth-child(4) { transition-delay: .24s; }
.pcard__num { font-family: var(--display); font-weight: 900; font-size: 84px; line-height: 1; letter-spacing: -.06em; color: var(--lime); }
.pcard h3 { font-family: var(--display); font-weight: 800; font-size: 30px; letter-spacing: -.03em; text-transform: uppercase; margin-bottom: 8px; }
.pcard p { color: var(--muted); }

/* ---------- ПРОЕКТИ (магацин од картички) ---------- */
.stack { display: flex; flex-direction: column; gap: 6vh; }
.project {
  position: sticky; top: 96px;
  display: grid; grid-template-columns: minmax(320px, 5fr) 7fr; gap: clamp(24px, 4vw, 64px);
  min-height: calc(100vh - 130px); padding: clamp(26px, 3.4vw, 54px);
  border-radius: calc(var(--radius) + 8px); overflow: hidden;
  transform-origin: center top; will-change: transform;
}
.project--spirix { background: radial-gradient(120% 120% at 90% 10%, #3B2D9E 0%, #1A1347 45%, #0F0B26 100%); }
.project--pitstop { background: #121214; border: 1px solid #26262B; }
.project--ris { background: radial-gradient(120% 120% at 85% 15%, #FF9A3C 0%, #E8661A 35%, #2A1508 100%); }
.project__info { display: flex; flex-direction: column; justify-content: center; gap: 22px; position: relative; z-index: 2; }
.project__top { display: flex; align-items: center; gap: 14px; }
.project__num { font-family: var(--display); font-weight: 900; font-size: 22px; color: rgba(255,255,255,.5); }
.status { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 100px; font-family: var(--mono); font-size: 11px; text-transform: uppercase; background: rgba(255,255,255,.1); backdrop-filter: blur(6px); }
.status i { width: 7px; height: 7px; border-radius: 50%; }
.status--live i { background: #4BFF7A; box-shadow: 0 0 10px #4BFF7A; }
.status--soon i { background: #FFD43A; box-shadow: 0 0 10px #FFD43A; }
.project__logo--spirix { width: min(300px, 78%); }
.project__logo--pitstop { height: 64px; width: auto; align-self: flex-start; }
.project__wordmark { font-family: var(--display); font-weight: 900; font-size: clamp(80px, 10vw, 150px); line-height: .8; letter-spacing: -.07em; }
.project__wordmark span { color: var(--lime); }
.project__desc { font-size: clamp(15px, 1.15vw, 18px); color: rgba(255,255,255,.82); max-width: 520px; }
.specs { display: grid; grid-template-columns: repeat(3, auto); gap: 16px 28px; justify-content: start; padding: 18px 0; border-top: 1px solid rgba(255,255,255,.14); border-bottom: 1px solid rgba(255,255,255,.14); }
.specs dt { font-family: var(--mono); font-size: 10px; text-transform: uppercase; color: rgba(255,255,255,.5); margin-bottom: 4px; letter-spacing: .06em; }
.specs dd { font-weight: 600; font-size: 14px; }
.project__info .btn { align-self: flex-start; }
.progress { position: relative; height: 8px; max-width: 360px; border-radius: 10px; background: rgba(255,255,255,.18); }
.progress span { position: absolute; inset: 0 auto 0 0; width: 0; border-radius: 10px; background: var(--lime); transition: width 1.8s var(--ease); }
.progress em { position: absolute; right: -50px; top: -7px; font-family: var(--mono); font-style: normal; font-size: 12px; color: var(--cream); }

.project__visual { position: relative; display: flex; align-items: center; justify-content: center; min-height: 420px; }
.phones { display: flex; align-items: center; justify-content: center; gap: clamp(10px, 1.6vw, 24px); }
.phone {
  width: clamp(110px, 12vw, 210px); border-radius: clamp(16px, 1.8vw, 30px);
  box-shadow: 0 40px 80px -20px rgba(0,0,0,.6), 0 0 0 1px rgba(255,255,255,.08);
  transition: transform .8s var(--ease);
}
.phone--main { width: clamp(130px, 14vw, 250px); z-index: 2; }
.phones .phone:first-child { transform: rotate(-6deg) translateY(30px); }
.phones .phone:last-child { transform: rotate(6deg) translateY(30px); }
.project__visual:hover .phones .phone:first-child { transform: rotate(-10deg) translate(-16px, 10px); }
.project__visual:hover .phones .phone:last-child { transform: rotate(10deg) translate(16px, 10px); }
.float { position: absolute; z-index: 3; pointer-events: none; filter: drop-shadow(0 30px 40px rgba(0,0,0,.45)); }
.float--mascot { width: clamp(110px, 12vw, 200px); right: 0; top: 0; animation: bob 5s ease-in-out infinite; }
.float--ris { width: clamp(100px, 11vw, 180px); left: 0; bottom: 4%; animation: bob 6s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(-18px) rotate(4deg); } }

.browser { width: 92%; border-radius: 14px; overflow: hidden; background: #19191C; box-shadow: 0 40px 90px -20px rgba(0,0,0,.8); border: 1px solid #2C2C31; }
.browser__bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; border-bottom: 1px solid #2C2C31; }
.browser__bar i { width: 10px; height: 10px; border-radius: 50%; background: #3A3A40; }
.browser__bar i:first-child { background: var(--red); }
.browser__bar span { margin-left: 12px; font-family: var(--mono); font-size: 11px; color: #9B9A96; }
.phone--abs { position: absolute; width: clamp(90px, 9vw, 160px); }
.phone--a { right: -2%; bottom: -4%; transform: rotate(6deg); }
.phone--b { left: -2%; bottom: -10%; transform: rotate(-7deg); }

/* ---------- ПРОТОТИПИ (хоризонтален скрол) ---------- */
.hscroll { position: relative; height: 420vh; background: var(--cream); color: var(--bg); }
.hscroll__sticky { position: sticky; top: 0; height: 100vh; overflow: hidden; display: flex; align-items: center; }
.hscroll__track { display: flex; gap: 24px; padding-left: calc(var(--pad) + 33vw); padding-right: var(--pad); will-change: transform; }
.hscroll__head { position: absolute; left: 0; top: 0; bottom: 0; width: calc(var(--pad) + 30vw); padding: 0 2vw 0 var(--pad); z-index: 2; background: var(--cream); display: flex; flex-direction: column; justify-content: center; box-shadow: 30px 0 40px -10px var(--cream); }
.hscroll__head .eyebrow { color: #5C7A00; }
.hscroll__head .h2 { font-size: clamp(40px, 4.8vw, 84px); margin-bottom: 22px; }
.hscroll__head em { color: var(--bg); background: var(--lime); padding: 0 .12em; font-style: normal; }
.hscroll__head .section__sub { color: #5B5B52; }
.hscroll__progress { margin-top: 32px; height: 3px; background: rgba(14,15,11,.12); width: 200px; border-radius: 3px; overflow: hidden; }
.hscroll__progress span { display: block; height: 100%; width: 0; background: var(--bg); }
.proto {
  flex: 0 0 clamp(300px, 34vw, 520px); height: min(72vh, 640px);
  background: #fff; border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column;
  box-shadow: 0 1px 0 rgba(0,0,0,.05), 0 30px 60px -30px rgba(0,0,0,.25);
  transition: transform .6s var(--ease);
}
.proto:hover { transform: translateY(-10px) rotate(-.6deg); }
.proto__img { flex: 1; overflow: hidden; background: #EDEDE4; display: flex; align-items: center; justify-content: center; position: relative; min-height: 0; }
.proto__img > img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.proto:hover .proto__img > img { transform: scale(1.06); }
.proto__img--duo { gap: 14px; padding: 24px; background: #E8ECF4; }
.proto__img--duo img { width: auto; height: 100%; max-height: 100%; object-fit: contain; border-radius: 16px; box-shadow: 0 20px 40px -14px rgba(0,0,0,.35); }
.proto__img--fit { background: #F3F4EE; }
.proto__img--fit .fit-phone { position: absolute; width: 30%; height: auto; right: 6%; bottom: -12%; border-radius: 16px; box-shadow: 0 20px 40px -10px rgba(0,0,0,.35); object-fit: contain; }
.proto__body { padding: 24px 26px 26px; display: flex; flex-direction: column; gap: 10px; }
.proto__row { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.proto h3 { font-family: var(--display); font-weight: 900; font-size: 30px; letter-spacing: -.04em; text-transform: uppercase; }
.proto p { color: #55554D; font-size: 15px; }
.proto .mono { color: #7A7A70; }
.proto .link { color: var(--bg); }
.proto__foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.chip { font-family: var(--mono); font-size: 10px; text-transform: uppercase; padding: 6px 12px; border-radius: 100px; border: 1px solid rgba(14,15,11,.18); white-space: nowrap; }
.chip--lime { background: var(--lime); border-color: var(--lime); }
.proto--next { background: var(--bg); color: var(--cream); padding: 36px; justify-content: center; gap: 20px; }
.proto--next h3 { font-size: clamp(40px, 4vw, 64px); line-height: .9; }
.proto--next ul { list-style: none; display: flex; flex-direction: column; gap: 14px; }
.proto--next li { display: flex; flex-direction: column; padding: 18px 0; border-top: 1px solid var(--line); }
.proto--next strong { font-family: var(--display); font-size: 24px; letter-spacing: -.02em; }
.proto--next li span { color: var(--muted); }

/* ---------- БРОЈКИ ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; padding-top: clamp(70px, 9vw, 120px); padding-bottom: clamp(70px, 9vw, 120px); border-bottom: 1px solid var(--line); }
.stat { padding: 10px 24px; border-left: 1px solid var(--line); }
.stat:first-child { border-left: 0; padding-left: 0; }
.stat__n { display: block; font-family: var(--display); font-weight: 900; font-size: clamp(72px, 9vw, 150px); line-height: .9; letter-spacing: -.06em; color: var(--lime); }
.stat__l { display: block; margin-top: 10px; color: var(--muted); max-width: 200px; }

/* ---------- ИСКУСТВО ---------- */
.exp__list { border-top: 1px solid var(--line); }
.exp__item {
  position: relative; display: grid; grid-template-columns: 220px 1fr auto; align-items: center; gap: 24px;
  padding: 34px 0; border-bottom: 1px solid var(--line); overflow: hidden;
}
.exp__item::before { content: ""; position: absolute; inset: 0; background: var(--lime); transform: scaleY(0); transform-origin: bottom; transition: transform .6s var(--ease); z-index: -1; }
.exp__item > * { transition: color .4s, transform .6s var(--ease); }
.exp__item:hover::before { transform: scaleY(1); }
.exp__item:hover > * { color: var(--bg); }
.exp__item:hover .exp__main { transform: translateX(20px); }
.exp__item:hover .exp__arrow { transform: rotate(45deg); }
.exp__year { font-family: var(--mono); font-size: 13px; color: var(--lime); text-transform: uppercase; }
.exp__item:hover .exp__year { color: var(--bg); }
.exp__main h3 { font-family: var(--display); font-weight: 800; font-size: clamp(22px, 2.6vw, 40px); letter-spacing: -.03em; line-height: 1.05; }
.exp__main p { color: var(--muted); margin-top: 6px; }
.exp__item:hover .exp__main p { color: rgba(14,15,11,.7); }
.exp__arrow { font-size: 34px; padding-right: 12px; }
.edu { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: clamp(60px, 8vw, 110px); }
.edu__card { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; }
.edu__card h3 { font-family: var(--display); font-weight: 900; font-size: clamp(30px, 3.4vw, 52px); line-height: .95; letter-spacing: -.04em; text-transform: uppercase; margin: 14px 0 10px; }
.edu__card p { color: var(--muted); }
.certs { list-style: none; }
.certs li { display: flex; gap: 18px; align-items: baseline; padding: 16px 0; border-bottom: 1px solid var(--line); font-weight: 500; font-size: 17px; transition: padding .5s var(--ease), color .3s; }
.certs li:first-child { border-top: 1px solid var(--line); }
.certs li:hover { padding-left: 14px; color: var(--lime); }
.certs span { font-family: var(--mono); font-size: 11px; color: var(--muted); }

/* ---------- КОНТАКТ ---------- */
.contact { padding: clamp(80px, 10vw, 140px) 0 clamp(80px, 10vw, 140px); overflow: hidden; }
.contact__inner { padding: 0 var(--pad); text-align: center; display: flex; flex-direction: column; align-items: center; }
.contact__title { font-family: var(--display); font-weight: 900; font-size: clamp(38px, 6vw, 100px); line-height: .92; letter-spacing: -.05em; text-transform: uppercase; }
.contact__mail {
  display: inline-block; margin: 46px 0 30px; padding: 26px 46px; border-radius: 100px;
  background: var(--lime); color: var(--bg); font-family: var(--display); font-weight: 800;
  font-size: clamp(18px, 2.6vw, 40px); letter-spacing: -.03em; transition: background .3s;
  word-break: break-all;
}
.contact__mail:hover { background: var(--cream); }
.contact__links { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }

/* ---------- ФУТЕР ---------- */
.footer { padding: 0 var(--pad) 28px; overflow: hidden; }
.footer__big {
  font-family: var(--display); font-weight: 900; font-size: 27vw; line-height: .78; letter-spacing: -.07em; text-align: center;
  color: var(--lime); margin-bottom: 26px; transform: translateY(var(--fy, 30%)); user-select: none;
}
.footer__row { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 22px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }

/* ---------- РЕСПОНЗИВНО ---------- */
@media (max-width: 1100px) {
  .process__grid { grid-template-columns: repeat(2, 1fr); }
  .project { grid-template-columns: 1fr; position: relative; top: 0; min-height: 0; }
  .project__visual { min-height: 380px; }
  .stats { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
  .stat:nth-child(3) { border-left: 0; padding-left: 0; }
}
@media (max-width: 860px) {
  .nav__links, .nav__cta { display: none; }
  .nav__burger { display: block; }
  .hero__bottom { grid-template-columns: 1fr; }
  .hero__badge { position: absolute; right: 0; top: -180px; width: 120px; height: 120px; }
  .hero__scroll { display: none; }
  .hero__title .line:nth-child(2) { padding-left: 0; }
  .hero__sign { bottom: -95%; right: 4%; width: 150px; }
  .hero__stage { margin-bottom: 70px; }
  .hscroll { height: auto; }
  .hscroll__sticky { position: relative; height: auto; display: block; padding: 90px 0; }
  .hscroll__head { position: static; width: auto; padding: 0 var(--pad); margin-bottom: 40px; box-shadow: none; }
  .hscroll__progress { display: none; }
  .hscroll__track { padding-left: var(--pad); overflow-x: auto; scroll-snap-type: x mandatory; transform: none !important; padding-bottom: 20px; }
  .proto { flex-basis: 82vw; height: 560px; scroll-snap-align: center; }
  .exp__item { grid-template-columns: 1fr auto; gap: 8px 16px; }
  .exp__year { grid-column: 1 / -1; }
  .edu { grid-template-columns: 1fr; }
  .specs { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .process__grid { grid-template-columns: 1fr; }
  .pcard { min-height: 220px; }
  .stats { grid-template-columns: 1fr; }
  .stat { border-left: 0; padding-left: 0; }
  .phones .phone:not(.phone--main) { width: 92px; }
  .phone--main { width: 140px; }
  .contact__mail { padding: 20px 26px; }
  .progress em { right: 0; top: -24px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .reveal, .reveal-lines .rl > span, .hero__title--base .char { opacity: 1 !important; transform: none !important; }
}
