/* =====================================================================
   Don't Blink – stilovi
   Boje i fontovi su na jednom mjestu (:root) – mijenjajte ih ovdje.
   ===================================================================== */
:root {
  --bg: #0a0a0b;
  --bg-2: #111113;
  --surface: #151518;
  --line: rgba(255, 255, 255, .09);
  --line-2: rgba(255, 255, 255, .16);
  --text: #f2f2f0;
  --muted: #8e8e93;
  --rec: #ff2d2d;           /* jedina akcentna boja – crvena "REC" lampica */
  --rec-glow: rgba(255, 45, 45, .45);

  --f-display: 'Syne', 'Helvetica Neue', Arial, sans-serif;
  --f-body: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --f-mono: 'JetBrains Mono', ui-monospace, 'SFMono-Regular', Consolas, monospace;

  --pad: clamp(20px, 5vw, 64px);
  --max: 1320px;
  --radius: 18px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --nav-h: 72px;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: auto; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 clamp(15px, 1.05vw, 17px)/1.65 var(--f-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
::selection { background: var(--rec); color: #fff; }
:focus-visible { outline: 2px solid var(--rec); outline-offset: 3px; border-radius: 4px; }
[hidden] { display: none !important; }

.skip-link { position: fixed; left: 12px; top: -60px; z-index: 1000; background: var(--text); color: var(--bg); padding: 10px 16px; border-radius: 8px; transition: top .2s; }
.skip-link:focus { top: 12px; }
.container { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--pad); }
.mono { font-family: var(--f-mono); font-size: .78em; letter-spacing: .06em; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; opacity: 0; }

/* REC tačka */
.rec-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--rec); box-shadow: 0 0 0 0 var(--rec-glow); flex: none; animation: rec 1.6s ease-in-out infinite; }
@keyframes rec { 0%, 100% { opacity: 1; box-shadow: 0 0 0 0 var(--rec-glow); } 50% { opacity: .35; box-shadow: 0 0 0 6px transparent; } }

/* ---------- Tipografija ---------- */
.h2 {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: clamp(2.1rem, 5.6vw, 4.6rem);
  line-height: 1.02;
  letter-spacing: -.035em;
  margin: 0;
}
.h2 em { font-style: normal; color: var(--muted); }
.mask { display: block; overflow: hidden; padding-bottom: .08em; }
.mask > span { display: block; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--f-mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--muted); margin: 0 0 22px;
}
.lead { font-size: clamp(1.05rem, 1.5vw, 1.3rem); line-height: 1.55; color: var(--text); }
p { margin: 0 0 1em; color: #c9c9cc; }

/* ---------- Dugmad ---------- */
.btn {
  --h: 52px;
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: var(--h); padding: 0 26px; border-radius: 999px;
  font-family: var(--f-mono); font-size: 13px; letter-spacing: .1em; text-transform: uppercase;
  overflow: hidden; isolation: isolate; white-space: nowrap;
  transition: transform .4s var(--ease), border-color .3s, color .3s, background .3s;
}
.btn::after { content: ''; position: absolute; inset: 0; z-index: -1; border-radius: inherit; transform: translateY(101%); transition: transform .5s var(--ease); }
.btn:hover::after { transform: translateY(0); }
.btn--rec { background: var(--text); color: var(--bg); }
.btn--rec::after { background: var(--rec); }
.btn--rec:hover { color: #fff; }
.btn--rec:hover .rec-dot { background: #fff; }
.btn--ghost { border: 1px solid var(--line-2); color: var(--text); }
.btn--ghost::after { background: var(--text); }
.btn--ghost:hover { color: var(--bg); border-color: var(--text); }
.btn--sm { --h: 40px; padding: 0 18px; font-size: 11px; }
.btn--lg { --h: 60px; padding: 0 34px; }
.btn .ico { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.btn svg { flex: none; }
.btn:active { transform: scale(.97); }

.round-btn {
  width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid var(--line-2); transition: background .3s, border-color .3s, transform .3s var(--ease);
}
.round-btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.round-btn:hover { background: var(--text); color: var(--bg); border-color: var(--text); }
.round-btn:active { transform: scale(.92); }

.link-u { background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .5s var(--ease); }
.link-u:hover { background-size: 100% 1px; }

/* ---------- Intro (treptaj) ---------- */
.intro { position: fixed; inset: 0; z-index: 900; pointer-events: none; display: none; }
.js .intro { display: block; }
.lid { position: absolute; left: 0; right: 0; height: 50.5%; background: #050506; will-change: transform; }
.lid--top { top: 0; transform-origin: top; }
.lid--bot { bottom: 0; transform-origin: bottom; }
.lid--top::after, .lid--bot::before { content: ''; position: absolute; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, transparent, var(--rec), transparent); opacity: .0; }
.lid--top::after { bottom: 0; }
.lid--bot::before { top: 0; }
.intro.is-closing .lid--top::after, .intro.is-closing .lid--bot::before { opacity: .8; }
.intro__center { position: absolute; inset: 0; display: grid; place-items: center; align-content: center; gap: 18px; }
.intro__shutter { width: 88px; height: 88px; will-change: transform; }
.intro__rec { display: inline-flex; align-items: center; gap: 8px; font: 500 11px var(--f-mono); letter-spacing: .3em; color: var(--muted); }
.intro.is-done { display: none; }
/* sigurnosna mreža: ako se skripta ne učita, intro nestaje sam */
.js .intro:not(.is-closing) { animation: intro-fail 0s 5s forwards; }
@keyframes intro-fail { to { visibility: hidden; } }


/* ---------- Kursor ---------- */
.cursor { display: none; }
@media (hover: hover) and (pointer: fine) {
  .has-cursor, .has-cursor a, .has-cursor button, .has-cursor .reel, .has-cursor .gallery__item { cursor: none; }
  .has-cursor input, .has-cursor textarea, .has-cursor select { cursor: text; }
  .has-cursor .cursor { display: block; }
  .cursor { position: fixed; inset: 0 auto auto 0; z-index: 950; pointer-events: none; mix-blend-mode: difference; }
  .cursor__dot, .cursor__ring { position: fixed; left: 0; top: 0; border-radius: 50%; will-change: transform; }
  .cursor__dot { width: 6px; height: 6px; margin: -3px 0 0 -3px; background: #fff; }
  .cursor__ring {
    width: 38px; height: 38px; margin: -19px 0 0 -19px; border: 1px solid rgba(255, 255, 255, .7);
    display: grid; place-items: center; transition: width .35s var(--ease), height .35s var(--ease), margin .35s var(--ease), background .35s, border-color .35s;
  }
  .cursor__label { font: 500 10px var(--f-mono); letter-spacing: .14em; color: #000; opacity: 0; transition: opacity .2s; }
  .cursor.is-link .cursor__ring { width: 58px; height: 58px; margin: -29px 0 0 -29px; background: rgba(255, 255, 255, .12); }
  .cursor.is-label { mix-blend-mode: normal; }
  .cursor.is-label .cursor__ring { width: 84px; height: 84px; margin: -42px 0 0 -42px; background: var(--rec); border-color: var(--rec); }
  .cursor.is-label .cursor__label { opacity: 1; color: #fff; }
  .cursor.is-label .cursor__dot { opacity: 0; }
  .cursor.is-hidden { opacity: 0; }
}

/* ---------- Navigacija ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 500; height: var(--nav-h);
  padding-top: env(safe-area-inset-top, 0px);
  transition: transform .5s var(--ease), background .4s, border-color .4s;
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled { background: rgba(10, 10, 11, .72); backdrop-filter: blur(16px) saturate(140%); -webkit-backdrop-filter: blur(16px) saturate(140%); border-color: var(--line); }
.nav.is-hidden { transform: translateY(-100%); }
.nav__inner { height: var(--nav-h); max-width: calc(var(--max) + 2 * var(--pad)); margin: 0 auto; padding-inline: var(--pad); display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.nav__logo img { height: 34px; width: auto; }
.nav__links { display: none; gap: 30px; }
.nav__links a { position: relative; font-size: 13px; letter-spacing: .02em; color: #cfcfd2; transition: color .3s; }
.nav__links a::after { content: ''; position: absolute; left: 50%; bottom: -8px; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: var(--rec); transform: scale(0); transition: transform .35s var(--ease); }
.nav__links a:hover, .nav__links a.is-active { color: #fff; }
.nav__links a.is-active::after { transform: scale(1); }
.nav__right { display: flex; align-items: center; gap: 12px; }
.nav__cta { display: none; }

.lang { display: inline-flex; padding: 3px; border: 1px solid var(--line-2); border-radius: 999px; position: relative; }
.lang__btn { position: relative; z-index: 1; min-width: 40px; height: 34px; padding: 0 10px; border-radius: 999px; font: 500 11px var(--f-mono); letter-spacing: .12em; color: var(--muted); transition: color .3s, background .3s; }
.lang__btn[aria-pressed="true"] { background: var(--text); color: var(--bg); }

.burger { width: 44px; height: 44px; display: grid; place-content: center; gap: 7px; border-radius: 50%; border: 1px solid var(--line-2); }
.burger span { display: block; width: 18px; height: 1.5px; background: var(--text); transition: transform .45s var(--ease); }
.burger[aria-expanded="true"] span:first-child { transform: translateY(4.25px) rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { transform: translateY(-4.25px) rotate(-45deg); }

@media (min-width: 1024px) {
  .nav__links { display: flex; }
  .nav__cta { display: inline-flex; }
  .burger { display: none; }
  .nav__logo img { height: 40px; }
}

/* Mobilni meni */
.menu {
  position: fixed; inset: 0; z-index: 400; background: var(--bg);
  padding: calc(var(--nav-h) + 30px + env(safe-area-inset-top, 0px)) var(--pad) calc(30px + env(safe-area-inset-bottom, 0px));
  display: flex; flex-direction: column; justify-content: space-between;
  clip-path: inset(0 0 100% 0); visibility: hidden;
  transition: clip-path .7s var(--ease), visibility 0s .7s;
}
.menu.is-open { clip-path: inset(0 0 0 0); visibility: visible; transition: clip-path .7s var(--ease); }
.menu__links { display: flex; flex-direction: column; }
.menu__links a { display: flex; align-items: baseline; gap: 14px; padding: 9px 0; font: 700 clamp(2rem, 9vw, 3.2rem)/1.05 var(--f-display); letter-spacing: -.03em; border-bottom: 1px solid var(--line); overflow: hidden; }
.menu__links a small { font: 400 11px var(--f-mono); color: var(--rec); letter-spacing: .1em; }
.menu__links a span { display: inline-block; transform: translateY(110%); transition: transform .7s var(--ease); }
.menu.is-open .menu__links a span { transform: none; }
.menu.is-open .menu__links a:nth-child(2) span { transition-delay: .04s; }
.menu.is-open .menu__links a:nth-child(3) span { transition-delay: .08s; }
.menu.is-open .menu__links a:nth-child(4) span { transition-delay: .12s; }
.menu.is-open .menu__links a:nth-child(5) span { transition-delay: .16s; }
.menu.is-open .menu__links a:nth-child(6) span { transition-delay: .2s; }
.menu.is-open .menu__links a:nth-child(7) span { transition-delay: .24s; }
.menu__foot { display: flex; flex-direction: column; gap: 16px; color: var(--muted); font-size: 14px; }
@media (min-width: 1024px) { .menu { display: none; } }

/* Društvene mreže */
.socials { display: flex; gap: 10px; }
.socials a { width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; transition: background .3s, border-color .3s, color .3s, transform .4s var(--ease); }
.socials a:hover { background: var(--rec); border-color: var(--rec); color: #fff; transform: translateY(-3px); }
.socials svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.5; }

/* ---------- HERO ---------- */
.hero { position: relative; height: 100vh; height: 100svh; min-height: 560px; overflow: hidden; display: grid; place-items: center; isolation: isolate; }
.hero__media { position: absolute; inset: 0; z-index: -3; background: #000; }
.hero__slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.4s ease; }
.hero__slide.is-active { opacity: 1; }
.hero__slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); will-change: transform; }
.hero__slide.is-active img { animation: kenburns 9s linear forwards; }
.hero__slide:nth-child(even).is-active img { animation-name: kenburns2; }
@keyframes kenburns { from { transform: scale(1.14) translate3d(0, 0, 0); } to { transform: scale(1.02) translate3d(-1.5%, -1%, 0); } }
@keyframes kenburns2 { from { transform: scale(1.02) translate3d(1%, 0, 0); } to { transform: scale(1.14) translate3d(-.5%, 1%, 0); } }
.hero__blink { position: absolute; inset: 0; background: #000; opacity: 0; pointer-events: none; }
.hero__shade { position: absolute; inset: 0; z-index: -2; background:
  radial-gradient(ellipse at center, rgba(0,0,0,.25) 0%, rgba(0,0,0,.65) 70%, rgba(0,0,0,.85) 100%),
  linear-gradient(180deg, rgba(10,10,11,.55) 0%, rgba(10,10,11,.15) 35%, rgba(10,10,11,.35) 70%, var(--bg) 100%); }
.grain { position: absolute; inset: -50%; z-index: -1; pointer-events: none; opacity: .09;
  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='2' 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(-1%, 3%); } 100% { transform: translate(0, 0); } }

/* Tražilo kamere */
.hud { position: absolute; inset: calc(var(--nav-h) + 12px) clamp(14px, 3vw, 40px) clamp(18px, 3vw, 40px); pointer-events: none; text-shadow: 0 1px 6px rgba(0,0,0,.7); font: 500 10.5px var(--f-mono); letter-spacing: .14em; color: rgba(255,255,255,.75); }
.hud__corner { position: absolute; width: 22px; height: 22px; border: 0 solid rgba(255,255,255,.55); }
.hud__corner--tl { top: 0; left: 0; border-top-width: 1.5px; border-left-width: 1.5px; }
.hud__corner--tr { top: 0; right: 0; border-top-width: 1.5px; border-right-width: 1.5px; }
.hud__corner--bl { bottom: 0; left: 0; border-bottom-width: 1.5px; border-left-width: 1.5px; }
.hud__corner--br { bottom: 0; right: 0; border-bottom-width: 1.5px; border-right-width: 1.5px; }
.hud__tl, .hud__tr, .hud__bl, .hud__br { position: absolute; display: flex; align-items: center; gap: 8px; }
.hud__tl { top: 14px; left: 32px; }
.hud__tr { top: 14px; right: 32px; }
.hud__bl { bottom: 14px; left: 32px; }
.hud__br { bottom: 14px; right: 32px; }
.hud__tc { font-variant-numeric: tabular-nums; }
.hud__bat { display: inline-block; width: 22px; height: 10px; border: 1px solid rgba(255,255,255,.7); border-radius: 2px; padding: 1px; position: relative; }
.hud__bat::after { content: ''; position: absolute; right: -3px; top: 2px; width: 2px; height: 4px; background: rgba(255,255,255,.7); }
.hud__bat i { display: block; height: 100%; width: 70%; background: rgba(255,255,255,.8); }
.hud__focus { position: absolute; left: 50%; top: 50%; width: 64px; height: 64px; margin: -32px 0 0 -32px; opacity: .0;
  background:
    linear-gradient(rgba(255,255,255,.6), rgba(255,255,255,.6)) left top / 12px 1px no-repeat,
    linear-gradient(rgba(255,255,255,.6), rgba(255,255,255,.6)) left top / 1px 12px no-repeat,
    linear-gradient(rgba(255,255,255,.6), rgba(255,255,255,.6)) right top / 12px 1px no-repeat,
    linear-gradient(rgba(255,255,255,.6), rgba(255,255,255,.6)) right top / 1px 12px no-repeat,
    linear-gradient(rgba(255,255,255,.6), rgba(255,255,255,.6)) left bottom / 12px 1px no-repeat,
    linear-gradient(rgba(255,255,255,.6), rgba(255,255,255,.6)) left bottom / 1px 12px no-repeat,
    linear-gradient(rgba(255,255,255,.6), rgba(255,255,255,.6)) right bottom / 12px 1px no-repeat,
    linear-gradient(rgba(255,255,255,.6), rgba(255,255,255,.6)) right bottom / 1px 12px no-repeat; }
.hud__tr, .hud__bl { display: none; }
@media (min-width: 768px) { .hud__tr, .hud__bl { display: flex; } }

.hero__content { position: relative; text-align: center; padding: calc(var(--nav-h) + 10px) var(--pad) 110px; display: flex; flex-direction: column; align-items: center; }
.hero__kicker {
  display: inline-flex; align-items: center; gap: 10px; margin: 0 0 26px; padding: 9px 16px 9px 14px; border-radius: 999px;
  font: 500 11px var(--f-mono); letter-spacing: .24em; text-transform: uppercase; color: #fff;
  background: rgba(10, 10, 11, .5); border: 1px solid rgba(255, 255, 255, .14);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); text-shadow: 0 1px 8px rgba(0, 0, 0, .6);
}
@media (max-width: 600px) {
  .hero__kicker { font-size: 10px; letter-spacing: .16em; padding: 8px 13px 8px 11px; gap: 8px; }
  .hud__tl { font-size: 9.5px; }
  .hud__tc { display: none; } /* na telefonu samo "● REC", da se ne preklapa s natpisom */
}
.hero__logo { margin: 0; }
.hero__logo img { width: clamp(200px, min(46vw, 62svh), 520px); height: auto; filter: drop-shadow(0 10px 40px rgba(0,0,0,.4)); }
@media (max-width: 600px) { .hero__logo img { width: min(68vw, 300px); } }
.hero__title { margin: clamp(22px, 3.5vw, 36px) 0 clamp(28px, 4vw, 44px); font: 500 clamp(1.05rem, 2.1vw, 1.55rem)/1.3 var(--f-display); letter-spacing: -.01em; color: #fff; }
.hero__title .line { display: block; overflow: hidden; }
.hero__title .line > span { display: inline-block; }
.hero__title .line--accent { color: rgba(255,255,255,.62); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.scroll-cue { position: absolute; left: 50%; bottom: clamp(26px, 4vh, 48px); transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 10px; font: 500 10px var(--f-mono); letter-spacing: .3em; text-transform: uppercase; color: rgba(255,255,255,.7); }
.scroll-cue svg { animation: cue 2s var(--ease) infinite; }
@keyframes cue { 0% { transform: translateY(-4px); opacity: 0; } 40% { opacity: 1; } 100% { transform: translateY(8px); opacity: 0; } }
@media (max-height: 760px) { .scroll-cue span { display: none; } .hero__title { margin-block: 18px 24px; } .hero__kicker { margin-bottom: 16px; } }

/* ---------- Sekcije ---------- */
.section { position: relative; padding-block: clamp(90px, 13vw, 180px); }
.section__head { margin-bottom: clamp(44px, 6vw, 80px); max-width: 900px; }
.section__head--row { max-width: none; display: flex; flex-direction: column; gap: 28px; }
.section__lead { max-width: 380px; color: var(--muted); margin: 0; }
@media (min-width: 900px) {
  .section__head--row { flex-direction: row; justify-content: space-between; align-items: flex-end; }
}
.section + .section::before { content: ''; position: absolute; top: 0; left: var(--pad); right: var(--pad); height: 1px; background: linear-gradient(90deg, transparent, var(--line-2), transparent); }

/* ---------- Usluge ---------- */
.services__grid { display: grid; gap: 14px; grid-template-columns: 1fr; perspective: 1200px; }
@media (min-width: 640px) { .services__grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .services__grid { grid-template-columns: repeat(4, 1fr); } }
.service {
  position: relative; padding: 30px 26px 28px; border-radius: var(--radius);
  background: linear-gradient(180deg, var(--surface), var(--bg-2)); border: 1px solid var(--line);
  display: flex; flex-direction: column; min-height: 320px; overflow: hidden;
  transition: border-color .4s;
}
.service::before { content: ''; position: absolute; inset: 0; background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 0%), rgba(255, 255, 255, .07), transparent 45%); opacity: 0; transition: opacity .4s; pointer-events: none; }
.service::after { content: ''; position: absolute; left: 26px; right: 26px; bottom: 0; height: 2px; background: var(--rec); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease); }
.service:hover { border-color: var(--line-2); }
.service:hover::before { opacity: 1; }
.service:hover::after { transform: scaleX(1); }
.service__top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: auto; padding-bottom: 40px; }
.service__icon { width: 48px; height: 48px; fill: none; stroke: var(--text); stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round; transition: stroke .4s, transform .6s var(--ease); }
.service:hover .service__icon { stroke: var(--rec); transform: rotate(-6deg) scale(1.06); }
.service__num { font: 400 11px var(--f-mono); color: var(--muted); letter-spacing: .12em; }
.service h3 { font: 600 1.45rem/1.15 var(--f-display); letter-spacing: -.02em; margin: 0 0 12px; }
.service p { font-size: .95rem; color: var(--muted); margin: 0 0 18px; }
.service__tags { font: 400 10.5px var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: #77777c; }

/* ---------- Portfolio ---------- */
.filters { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin-inline: calc(var(--pad) * -1); padding: 4px var(--pad); -webkit-mask: linear-gradient(90deg, transparent, #000 var(--pad), #000 calc(100% - var(--pad)), transparent); mask: linear-gradient(90deg, transparent, #000 var(--pad), #000 calc(100% - var(--pad)), transparent); }
.filters::-webkit-scrollbar { display: none; }
@media (min-width: 900px) { .filters { flex-wrap: wrap; justify-content: flex-end; max-width: 620px; margin: 0; padding: 0; -webkit-mask: none; mask: none; overflow: visible; } }
.filter { flex: none; height: 42px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--line-2); font-size: 13px; color: #cfcfd2; transition: background .3s, color .3s, border-color .3s; white-space: nowrap; }
.filter:hover { border-color: var(--text); color: #fff; }
.filter.is-active { background: var(--text); color: var(--bg); border-color: var(--text); }

.gallery { display: flex; gap: clamp(8px, 1.2vw, 16px); align-items: flex-start; min-height: 300px; }
.gallery__col { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: clamp(8px, 1.2vw, 16px); }
.gallery__item {
  position: relative; display: block; width: 100%; overflow: hidden; border-radius: 12px; background: var(--surface);
  transform: translateZ(0);
}
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease), filter .6s, opacity .6s; opacity: 0; }
.gallery__item img.is-loaded { opacity: 1; }
.gallery__item::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(0,0,0,.55)); opacity: 0; transition: opacity .5s; }
.gallery__item .gallery__meta { position: absolute; left: 14px; right: 14px; bottom: 12px; z-index: 1; display: flex; justify-content: space-between; align-items: center; font: 400 10.5px var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: #fff; opacity: 0; transform: translateY(8px); transition: opacity .4s, transform .5s var(--ease); }
.gallery__meta i { width: 26px; height: 26px; border-radius: 50%; border: 1px solid rgba(255,255,255,.7); display: grid; place-items: center; font-style: normal; font-size: 14px; }
@media (hover: hover) {
  .gallery__item:hover img { transform: scale(1.06); }
  .gallery__item:hover::after, .gallery__item:hover .gallery__meta { opacity: 1; transform: none; }
}
.gallery__item:focus-visible { outline-offset: 2px; }
.gallery__more { display: flex; flex-direction: column; align-items: center; gap: 16px; margin-top: clamp(36px, 5vw, 60px); }
.gallery__more svg { transition: transform .4s var(--ease); }
.gallery__more.is-less svg { transform: rotate(45deg); }
.gallery__count { color: var(--muted); }

/* ---------- Lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 800; background: rgba(5, 5, 6, .985); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); display: grid; grid-template-rows: 1fr auto; touch-action: pan-y; }
.lightbox__stage { position: relative; display: grid; place-items: center; padding: calc(70px + env(safe-area-inset-top, 0px)) 12px 10px; overflow: hidden; }
.lightbox__stage img { max-width: 100%; max-height: calc(100svh - 150px); width: auto; height: auto; object-fit: contain; border-radius: 6px; user-select: none; -webkit-user-drag: none; will-change: transform, opacity; }
.lightbox__bar { display: flex; gap: 18px; align-items: center; justify-content: center; padding: 14px var(--pad) calc(20px + env(safe-area-inset-bottom, 0px)); color: var(--muted); font-size: 13px; text-align: center; }
.lightbox__close { position: absolute; top: calc(14px + env(safe-area-inset-top, 0px)); right: 14px; }
.lightbox__prev, .lightbox__next { position: absolute; top: 50%; margin-top: -26px; display: none; }
.lightbox__prev { left: 20px; } .lightbox__next { right: 20px; }
@media (min-width: 768px) { .lightbox__prev, .lightbox__next { display: grid; } .lightbox__stage { padding-inline: 96px; } }

/* ---------- Reels ---------- */
.reels__track {
  display: grid; grid-auto-flow: column; grid-auto-columns: min(68vw, 300px); gap: 14px;
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
  padding: 6px var(--pad) 20px; scroll-padding-inline: var(--pad);
}
.reels__track::-webkit-scrollbar { display: none; }
@media (min-width: 1024px) {
  .reels__track { grid-auto-flow: row; grid-template-columns: repeat(4, 1fr); grid-auto-columns: auto; max-width: var(--max); margin-inline: auto; overflow: visible; gap: 18px; }
  .reel:nth-child(even) { margin-top: 60px; }
}
.reel { position: relative; margin: 0; aspect-ratio: 9 / 16; border-radius: var(--radius); overflow: hidden; background: var(--surface); scroll-snap-align: start; border: 1px solid var(--line); transform: translateZ(0); }
.reel video { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.reel::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.35) 0%, transparent 25%, transparent 65%, rgba(0,0,0,.7) 100%); pointer-events: none; }
.reel figcaption { position: absolute; left: 16px; right: 16px; bottom: 14px; z-index: 1; display: flex; gap: 10px; align-items: baseline; font-size: 13px; color: #fff; }
.reel figcaption .mono { color: var(--rec); }
.reel__state { position: absolute; top: 14px; left: 14px; z-index: 1; display: inline-flex; align-items: center; gap: 6px; font: 500 10px var(--f-mono); letter-spacing: .16em; color: #fff; opacity: .9; }
.reel__state::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: rgba(255,255,255,.6); }
.reel.is-playing .reel__state::before { background: var(--rec); animation: rec 1.6s infinite; }
.reel__state::after { content: 'PAUSE'; }
.reel.is-playing .reel__state::after { content: 'REC'; }
@media (hover: hover) { .reel:hover video { transform: scale(1.04); } }
.reels__actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: clamp(40px, 5vw, 64px); }
@media (max-width: 520px) { .reels__actions .btn { width: 100%; } }

/* ---------- O nama ---------- */
.about__grid { display: grid; gap: 64px; }
@media (min-width: 1000px) { .about__grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 80px; align-items: center; } }
.about__text .h2 { margin-bottom: 34px; }
.about__text p:not(.lead):not(.eyebrow):not(.about__sign) { color: var(--muted); max-width: 560px; }
.about__sign { font: 400 13px var(--f-mono); letter-spacing: .08em; color: var(--text); margin-top: 28px; }
.about__visual { position: relative; display: flex; flex-direction: column; gap: 28px; }
.duo { position: relative; display: flex; align-items: center; justify-content: center; gap: .1em; font: 800 clamp(3.6rem, min(15vw, 8.2vw + 1rem), 7.5rem)/.9 var(--f-display); letter-spacing: -.05em; padding: 30px 0; }
.duo__word--b { color: transparent; -webkit-text-stroke: 1.5px var(--text); }
.duo__amp { color: var(--rec); font-weight: 500; font-size: .7em; display: inline-block; }
.duo__rings { position: absolute; inset: 0; width: 100%; height: 100%; fill: none; stroke: var(--line-2); stroke-width: 1; z-index: -1; }
.stats { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stats li { padding: 20px 6px; text-align: center; }
.stats li + li { border-left: 1px solid var(--line); }
.stats b { display: block; font: 700 2rem/1 var(--f-display); margin-bottom: 6px; }
.stats span { font: 400 10.5px var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }

/* Easter egg (UGC) */
.egg { align-self: flex-end; width: 210px; height: 128px; perspective: 900px; text-align: left; }
.egg__inner { position: relative; display: block; width: 100%; height: 100%; transform-style: preserve-3d; transition: transform .9s var(--ease); }
.egg.is-open .egg__inner { transform: rotateY(180deg); }
.egg__front, .egg__back { position: absolute; inset: 0; border-radius: 14px; backface-visibility: hidden; -webkit-backface-visibility: hidden; border: 1px dashed var(--line-2); overflow: hidden; }
.egg__front { display: flex; flex-direction: column; justify-content: flex-end; gap: 4px; padding: 16px; background: transparent; transition: border-color .3s; }
.egg__front .rec-dot { position: absolute; top: 16px; right: 16px; width: 7px; height: 7px; }
.egg__front b { font: 700 1.4rem var(--f-display); }
.egg__front small { font: 400 10.5px/1.4 var(--f-mono); color: var(--muted); letter-spacing: .04em; }
.egg:hover .egg__front { border-color: var(--rec); }
.egg__back { transform: rotateY(180deg); border-style: solid; background: var(--surface); display: flex; }
.egg__back video { width: 72px; height: 100%; object-fit: cover; flex: none; }
.egg__copy { padding: 12px 14px; display: flex; flex-direction: column; gap: 4px; }
.egg__copy b { font: 600 .92rem/1.2 var(--f-display); }
.egg__copy small { font-size: 11px; line-height: 1.4; color: var(--muted); }
.egg__tag { color: var(--rec); font-size: 10px; }
.egg.is-open { width: 300px; }
.egg { transition: width .6s var(--ease); }
@media (max-width: 520px) { .egg.is-open { width: 100%; } .egg { align-self: flex-start; } }

/* ---------- Kako radimo ---------- */
.steps { list-style: none; margin: 0; padding: 0; position: relative; display: grid; gap: 44px; padding-left: 34px; }
.steps__line { position: absolute; left: 5px; top: 8px; bottom: 8px; width: 1px; background: var(--line); }
.steps__line span { position: absolute; inset: 0; background: var(--rec); transform-origin: top; transform: scaleY(0); }
.step { position: relative; }
.step__dot { position: absolute; left: -34px; top: 6px; width: 11px; height: 11px; border-radius: 50%; background: var(--bg); border: 1px solid var(--line-2); transition: background .4s, border-color .4s, box-shadow .4s; }
.step.is-on .step__dot { background: var(--rec); border-color: var(--rec); box-shadow: 0 0 0 6px rgba(255,45,45,.15); }
.step__num { display: block; color: var(--muted); margin-bottom: 8px; }
.step h3 { font: 600 clamp(1.5rem, 2.4vw, 2rem)/1.1 var(--f-display); letter-spacing: -.02em; margin: 0 0 10px; }
.step p { color: var(--muted); margin: 0; max-width: 340px; }
@media (min-width: 900px) {
  .steps { grid-template-columns: repeat(4, 1fr); gap: 32px; padding-left: 0; padding-top: 44px; }
  .steps__line { left: 0; right: 0; top: 5px; bottom: auto; width: auto; height: 1px; }
  .steps__line span { transform-origin: left; transform: scaleX(0); }
  .step__dot { left: 0; top: -44px; }
}

/* ---------- Recenzije ---------- */
.slider-ctrl { display: flex; gap: 10px; }
.reviews__track {
  display: grid; grid-auto-flow: column; grid-auto-columns: min(86vw, 460px); gap: 16px;
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; scroll-behavior: smooth;
  padding: 10px var(--pad) 10px; scroll-padding-inline: var(--pad); perspective: 1400px; outline: none;
}
@media (min-width: 1320px) { .reviews__track { padding-inline: max(var(--pad), calc((100vw - var(--max)) / 2 + var(--pad))); scroll-padding-inline: max(var(--pad), calc((100vw - var(--max)) / 2 + var(--pad))); } }
.reviews__track::-webkit-scrollbar { display: none; }
.review {
  scroll-snap-align: start; margin: 0; padding: 34px 30px 28px; border-radius: var(--radius);
  background: linear-gradient(160deg, var(--surface), var(--bg-2)); border: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 24px; min-height: 300px; position: relative; overflow: hidden;
  transition: border-color .4s, opacity .5s, transform .6s var(--ease);
}
.review:hover { border-color: var(--line-2); }
.review__q { font: 800 4.4rem/.6 var(--f-display); color: var(--rec); height: 30px; }
.review blockquote { margin: 0; font: 400 clamp(1.02rem, 1.4vw, 1.15rem)/1.6 var(--f-body); color: var(--text); flex: 1; }
.review footer { display: flex; justify-content: space-between; align-items: center; font: 400 11px var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); padding-top: 18px; border-top: 1px solid var(--line); }
.review__stars { color: var(--text); letter-spacing: .2em; }
.reviews__dots { display: flex; gap: 8px; justify-content: center; margin-top: 30px; }
.reviews__dots span { width: 22px; height: 2px; background: var(--line-2); transition: background .3s, width .4s var(--ease); }
.reviews__dots span.is-active { background: var(--rec); width: 40px; }

/* ---------- Kontakt ---------- */
.contact__grid { display: grid; gap: 56px; }
@media (min-width: 1000px) { .contact__grid { grid-template-columns: .9fr 1.1fr; gap: 90px; } }
.contact__info .h2 { margin-bottom: 26px; }
.contact__mail { display: flex; flex-direction: column; gap: 6px; margin: 36px 0 26px; }
.contact__mail small { font: 400 11px var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.contact__mail a { font: 600 clamp(1.2rem, 2.2vw, 1.6rem) var(--f-display); color: #fff; word-break: break-all; }
.form { display: grid; gap: 14px; padding: clamp(22px, 3.5vw, 40px); border-radius: calc(var(--radius) + 6px); background: var(--bg-2); border: 1px solid var(--line); }
.form__row { display: grid; gap: 14px; }
@media (min-width: 640px) { .form__row { grid-template-columns: 1fr 1fr; } }
.field { position: relative; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 60px; padding: 26px 16px 10px; border-radius: 12px;
  background: var(--surface); border: 1px solid var(--line); color: var(--text);
  font: 400 16px var(--f-body); outline: none; appearance: none; -webkit-appearance: none;
  transition: border-color .3s, background .3s, box-shadow .3s;
}
.field textarea { resize: vertical; min-height: 140px; line-height: 1.5; }
.field label { position: absolute; left: 17px; top: 20px; font-size: 15px; color: var(--muted); pointer-events: none; transform-origin: left top; transition: transform .3s var(--ease), color .3s; }
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label,
.field--select label, .field--date label { transform: translateY(-11px) scale(.74); color: #b5b5ba; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--text); background: #18181c; box-shadow: 0 0 0 4px rgba(255,255,255,.04); }
.field.is-invalid input, .field.is-invalid textarea { border-color: var(--rec); }
.field--select select { padding-right: 44px; cursor: pointer; }
.field--select::after { content: ''; position: absolute; right: 20px; top: 50%; width: 8px; height: 8px; margin-top: -2px; border-right: 1.5px solid var(--muted); border-bottom: 1.5px solid var(--muted); transform: translateY(-50%) rotate(45deg); pointer-events: none; }
.field--select select option { background: var(--surface); color: var(--text); }
.field--date input::-webkit-calendar-picker-indicator { filter: invert(1); opacity: .6; cursor: pointer; }
.form__foot { display: flex; flex-direction: column; gap: 16px; align-items: stretch; margin-top: 8px; }
@media (min-width: 640px) { .form__foot { flex-direction: row; align-items: center; } }
.form__status { margin: 0; font-size: 14px; color: var(--muted); }
.form__status.is-ok { color: #fff; }
.form__status.is-ok::before { content: '● '; color: var(--rec); }
.form__status.is-err { color: #ff8a8a; }
.form.is-sending button[type=submit] { opacity: .6; pointer-events: none; }

/* ---------- Footer ---------- */
.footer { position: relative; padding: clamp(60px, 8vw, 110px) 0 calc(30px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--line); overflow: hidden; }
.footer__big { display: flex; flex-direction: column; font: 800 clamp(3.2rem, 14.5vw, 14rem)/.88 var(--f-display); letter-spacing: -.06em; color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.14); user-select: none; margin-bottom: clamp(40px, 6vw, 80px); }
.footer__big span:last-child { align-self: flex-end; }
.footer__big span { display: inline-block; background: linear-gradient(90deg, #fff, #fff) 0 0 / var(--fill, 0%) 100% no-repeat; -webkit-background-clip: text; background-clip: text; }
.footer__row { display: flex; flex-direction: column; gap: 26px; align-items: flex-start; padding-bottom: 36px; border-bottom: 1px solid var(--line); }
@media (min-width: 900px) { .footer__row { flex-direction: row; align-items: center; justify-content: space-between; } }
.footer__logo img { height: 52px; width: auto; }
.footer__tag { margin: 0; color: var(--muted); max-width: 340px; }
.footer__bottom { display: flex; flex-wrap: wrap; gap: 14px 30px; justify-content: space-between; padding-top: 26px; font-size: 13px; color: var(--muted); }
.footer__top { color: var(--text); }

/* ---------- Početna stanja animacija (samo kad JS radi) ---------- */
.js.anim [data-reveal="fade"], .js.anim [data-reveal="up"] { opacity: 0; }
.js.anim [data-reveal="mask"] .mask > span { transform: translateY(105%); }
.js.anim .hero__content > *, .js.anim .hud, .js.anim .scroll-cue { opacity: 0; }


/* ---------- Filter koji vodi na odjeljak Proslave ---------- */
.filter--jump { display: inline-flex; align-items: center; gap: 6px; border-style: dashed; color: var(--muted); }
.filter--jump:hover { border-color: var(--rec); color: #fff; }

/* ---------- Rođendani i proslave ---------- */
.notice { display: flex; gap: 16px; align-items: flex-start; max-width: 440px; padding: 20px 22px; border-radius: 16px; border: 1px solid var(--line-2); background: linear-gradient(160deg, var(--surface), var(--bg-2)); }
.notice__icon { width: 28px; height: 28px; flex: none; fill: none; stroke: var(--rec); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.notice b { display: block; font: 600 1.05rem var(--f-display); margin-bottom: 4px; }
.notice p { margin: 0; font-size: .92rem; color: var(--muted); }
.party__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(8px, 1.2vw, 16px); }
@media (min-width: 900px) { .party__grid { grid-template-columns: repeat(4, 1fr); } }
.party__grid .gallery__item { aspect-ratio: 4 / 5 !important; }
.party__grid .gallery__item:nth-child(4n+2), .party__grid .gallery__item:nth-child(4n+4) { transform: translateY(26px); }
.party .section__head { margin-bottom: clamp(44px, 5vw, 70px); }
.party { padding-bottom: clamp(120px, 15vw, 200px); }
.badge { position: absolute; top: 12px; left: 12px; z-index: 2; display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; border-radius: 999px; background: rgba(10,10,11,.7); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); font: 500 10px var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: #fff; }
.badge svg { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 2; }

/* ---------- Zaštita fotografija (otežava preuzimanje) ---------- */
.gallery__item img, .lightbox__stage img, .hero__slide img, .reel video, .egg video {
  -webkit-user-select: none; user-select: none; -webkit-user-drag: none; -webkit-touch-callout: none; pointer-events: none;
}
.gallery__item::before { content: ''; position: absolute; inset: 0; z-index: 1; } /* providni sloj iznad slike */
.lightbox__stage { -webkit-touch-callout: none; user-select: none; -webkit-user-select: none; }
.lightbox__shield { position: absolute; inset: 0; z-index: 1; }

/* ---------- Kalendar (dd/mm/yyyy) ---------- */
.field--date input { padding-right: 52px; }
.date-btn { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; color: var(--muted); transition: color .3s, background .3s; }
.date-btn:hover, .date-btn[aria-expanded="true"] { color: #fff; background: rgba(255,255,255,.06); }
.date-btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.field--date label { transform: none; color: var(--muted); }
.field--date input:focus + label, .field--date input:not(:placeholder-shown) + label { transform: translateY(-11px) scale(.74); color: #b5b5ba; }
.cal { position: absolute; z-index: 20; top: calc(100% + 8px); right: 0; width: min(310px, calc(100vw - 2 * var(--pad))); padding: 14px; border-radius: 16px; background: #17171b; border: 1px solid var(--line-2); box-shadow: 0 24px 60px rgba(0,0,0,.55); }
.cal__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.cal__title { font: 600 .95rem var(--f-display); text-transform: capitalize; }
.cal__nav { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; color: var(--text); }
.cal__nav:hover { background: rgba(255,255,255,.08); }
.cal__nav:disabled { opacity: .25; pointer-events: none; }
.cal__nav svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.cal__grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; text-align: center; }
.cal__dow { font: 500 10px var(--f-mono); letter-spacing: .08em; color: var(--muted); padding: 6px 0; text-transform: uppercase; }
.cal__day { height: 38px; border-radius: 10px; font-size: 14px; color: var(--text); transition: background .2s, color .2s; }
.cal__day:hover { background: rgba(255,255,255,.08); }
.cal__day.is-today { box-shadow: inset 0 0 0 1px var(--line-2); }
.cal__day.is-sel { background: var(--rec); color: #fff; }
.cal__day:disabled { color: #4a4a50; pointer-events: none; }
