/* ==========================================================================
   Pogrebno preduzeće Brajkovski — glavni stil
   Mobile-first. Paleta izvedena iz logotipa (strogo crno-belo: #000 / #F8F8F8 / #A8A8A8).
   ========================================================================== */

/* ---------- Fontovi (lokalno) ---------- */
@font-face { font-family: "Cormorant Garamond"; font-style: normal; font-weight: 300; font-display: swap;
  src: url("../assets/fonts/cormorant-garamond-latin-ext-300-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Cormorant Garamond"; font-style: normal; font-weight: 300; font-display: swap;
  src: url("../assets/fonts/cormorant-garamond-latin-300-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Cormorant Garamond"; font-style: italic; font-weight: 300; font-display: swap;
  src: url("../assets/fonts/cormorant-garamond-latin-ext-300-italic.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Cormorant Garamond"; font-style: italic; font-weight: 300; font-display: swap;
  src: url("../assets/fonts/cormorant-garamond-latin-300-italic.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Cormorant Garamond"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("../assets/fonts/cormorant-garamond-latin-ext-400-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Cormorant Garamond"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("../assets/fonts/cormorant-garamond-latin-400-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Cormorant Garamond"; font-style: normal; font-weight: 500; font-display: swap;
  src: url("../assets/fonts/cormorant-garamond-latin-ext-500-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Cormorant Garamond"; font-style: normal; font-weight: 500; font-display: swap;
  src: url("../assets/fonts/cormorant-garamond-latin-500-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Bebas Neue"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("../assets/fonts/bebas-neue-latin-ext-400-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Bebas Neue"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("../assets/fonts/bebas-neue-latin-400-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Jost"; font-style: normal; font-weight: 300; font-display: swap;
  src: url("../assets/fonts/jost-latin-ext-300-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Jost"; font-style: normal; font-weight: 300; font-display: swap;
  src: url("../assets/fonts/jost-latin-300-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Jost"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("../assets/fonts/jost-latin-ext-400-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Jost"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("../assets/fonts/jost-latin-400-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Jost"; font-style: normal; font-weight: 500; font-display: swap;
  src: url("../assets/fonts/jost-latin-ext-500-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Jost"; font-style: normal; font-weight: 500; font-display: swap;
  src: url("../assets/fonts/jost-latin-500-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* ---------- Tokeni ---------- */
:root {
  /* Logo: crna, bela, srebrnasta siva */
  --brand-black: #000000;
  --brand-white: #f8f8f8;
  --brand-silver: #a8a8a8;

  --c-bg: #0a0a0a;
  --c-bg-raised: #111111;
  --c-charcoal: #171716;
  --c-charcoal-2: #1f1e1d;
  --c-text: #ebe9e5;
  --c-text-soft: #c9c6c0;
  --c-muted: #8f8c87;
  --c-line: rgba(248, 248, 248, 0.12);
  --c-line-strong: rgba(248, 248, 248, 0.28);

  --c-accent: var(--brand-white);
  --c-accent-ink: #0a0a0a;
  --c-accent-soft: var(--brand-silver);
  --c-focus: var(--brand-white);

  --f-display: "Bebas Neue", "Arial Narrow", "Roboto Condensed", Impact, sans-serif;
  --f-serif: "Cormorant Garamond", "Cormorant", Garamond, "Times New Roman", Georgia, serif;
  --f-sans: "Jost", "Segoe UI", "Helvetica Neue", Arial, system-ui, sans-serif;

  --fs-micro: 0.6875rem;
  --fs-small: 0.875rem;
  --fs-body: 1rem;
  --fs-lead: clamp(1.125rem, 1rem + 0.5vw, 1.375rem);
  --fs-h3: clamp(1.5rem, 1.2rem + 1vw, 2rem);
  --fs-h2: clamp(2.125rem, 1.4rem + 3vw, 4rem);
  --fs-h1: clamp(2.5rem, 1.6rem + 4vw, 5.25rem);
  --fs-hero: clamp(1.875rem, 1.2rem + 2.6vw, 3.5rem);

  --tracking-micro: 0.22em;
  --gutter: clamp(16px, 4vw, 64px);
  --container: 1440px;
  --section-y: clamp(80px, 11vw, 168px);
  --header-h: 76px;
  --radius-pill: 999px;
  --radius: 4px;

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-inout: cubic-bezier(0.65, 0, 0.35, 1);
  --dur: 0.45s;
}

@media (min-width: 1024px) {
  :root { --header-h: 96px; }
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--c-bg);
  color: var(--c-text);
  font-family: var(--f-sans);
  font-weight: 300;
  font-size: var(--fs-body);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, svg, video, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4, p, ul, ol, figure, blockquote { margin: 0; }
ul[role="list"], ol[role="list"] { list-style: none; padding: 0; }
::selection { background: var(--c-accent); color: var(--c-accent-ink); }

:focus { outline: none; }
body:focus, body:focus-visible { outline: none; }
:focus-visible {
  outline: 1px solid var(--c-focus);
  outline-offset: 4px;
  border-radius: 2px;
}

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; left: 16px; top: 12px; z-index: 1000;
  padding: 10px 18px; background: var(--c-accent); color: var(--c-accent-ink);
  font-size: var(--fs-small); border-radius: var(--radius-pill);
  transform: translateY(-160%); transition: transform 0.3s var(--ease-out);
}
.skip-link:focus { transform: none; }

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.section { position: relative; padding-block: var(--section-y); }
.section--tight { padding-block: calc(var(--section-y) * 0.6); }
.section--raised { background: var(--c-bg-raised); }
.section + .section--raised, .section--raised + .section { border-top: 1px solid var(--c-line); }

/* ---------- Tipografija ---------- */
.micro {
  display: inline-flex; align-items: center; gap: 0.9em;
  font-family: var(--f-sans);
  font-size: var(--fs-micro);
  font-weight: 400;
  letter-spacing: var(--tracking-micro);
  text-transform: uppercase;
  color: var(--c-text-soft);
  line-height: 1.4;
}
.micro--line::before {
  content: ""; width: 36px; height: 1px; background: var(--c-accent-soft); flex: none;
}
.serif { font-family: var(--f-serif); font-weight: 300; }
.h1, .h2, .h3 {
  font-family: var(--f-serif);
  font-weight: 300;
  line-height: 1.04;
  letter-spacing: -0.005em;
  color: var(--c-text);
}
.h1 { font-size: var(--fs-h1); text-transform: uppercase; letter-spacing: 0.01em; }
.h2 { font-size: var(--fs-h2); }
.h3 { font-size: var(--fs-h3); line-height: 1.15; }
.h2 em, .h1 em { font-style: italic; color: var(--c-text-soft); }
.lead { font-size: var(--fs-lead); line-height: 1.6; color: var(--c-text-soft); font-weight: 300; }
.prose p { color: var(--c-text-soft); }
.prose p + p { margin-top: 1.25em; }
.text-muted { color: var(--c-muted); }

.section-head { display: grid; gap: 20px; margin-bottom: clamp(40px, 6vw, 80px); max-width: 880px; }
.section-head--split { max-width: none; }
@media (min-width: 1024px) {
  .section-head--split { grid-template-columns: 1fr auto; align-items: end; gap: 48px; }
}

.divider { height: 1px; background: var(--c-line); border: 0; margin: 0; }

/* ---------- Ikonica strelice ---------- */
.icon-arrow { width: 14px; height: 14px; flex: none; transition: transform var(--dur) var(--ease-out); }
.icon { width: 20px; height: 20px; flex: none; }

/* ---------- Dugmad ---------- */
.btn {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 14px;
  min-height: 48px;
  padding: 14px 26px;
  font-family: var(--f-sans);
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  line-height: 1;
  border-radius: var(--radius-pill);
  transition: background-color var(--dur) var(--ease-out), color var(--dur) var(--ease-out),
              border-color var(--dur) var(--ease-out), transform var(--dur) var(--ease-out);
  will-change: transform;
}
.btn:hover .icon-arrow, .btn:focus-visible .icon-arrow, .link-arrow:hover .icon-arrow, .link-arrow:focus-visible .icon-arrow {
  transform: translate(3px, -3px);
}
.btn--primary { background: var(--c-accent); color: var(--c-accent-ink); border: 1px solid var(--c-accent); }
.btn--primary:hover { background: transparent; color: var(--c-accent); }
.btn--outline { border: 1px solid var(--c-line-strong); color: var(--c-text); background: rgba(10, 10, 10, 0.2); }
.btn--outline:hover { border-color: var(--c-accent); background: var(--c-accent); color: var(--c-accent-ink); }
.btn--block { width: 100%; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 12px;
  min-height: 44px;
  font-size: 0.75rem; font-weight: 400; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--c-text);
  background-image: linear-gradient(currentColor, currentColor);
  background-size: 0% 1px; background-repeat: no-repeat; background-position: 0 calc(100% - 10px);
  transition: background-size var(--dur) var(--ease-out), color var(--dur);
}
.link-arrow:hover { background-size: calc(100% - 26px) 1px; }

.btn-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--header-h);
  transition: background-color 0.5s var(--ease-out), height 0.5s var(--ease-out), border-color 0.5s;
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled {
  background: rgba(10, 10, 10, 0.62);
  -webkit-backdrop-filter: blur(14px) saturate(120%);
  backdrop-filter: blur(14px) saturate(120%);
  border-bottom-color: var(--c-line);
  height: calc(var(--header-h) - 16px);
}
.site-header__inner {
  height: 100%;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.site-header__logo { display: block; flex: none; position: relative; z-index: 2; }
.site-header__logo img { width: 150px; height: auto; }
@media (min-width: 1024px) { .site-header__logo img { width: 178px; } }

.site-nav { display: none; }
.site-nav ul { display: flex; gap: clamp(20px, 2.6vw, 44px); list-style: none; margin: 0; padding: 0; }
.site-nav a {
  position: relative; display: inline-block; padding: 8px 0;
  font-size: 0.75rem; font-weight: 400; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--c-text-soft);
  transition: color var(--dur);
}
.site-nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 1px;
  background: var(--c-accent); transform: scaleX(0); transform-origin: right;
  transition: transform var(--dur) var(--ease-out);
}
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--c-text); }
.site-nav a:hover::after, .site-nav a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }

.site-header__cta { display: none; min-height: 44px; padding: 12px 22px; }
@media (min-width: 768px) { .site-header__cta { display: inline-flex; margin-left: auto; } }
@media (min-width: 1100px) {
  .site-nav { display: block; position: absolute; left: 50%; transform: translateX(-50%); }
  .site-header__inner { position: relative; }
}

.menu-toggle {
  position: relative; z-index: 2;
  width: 48px; height: 48px; border-radius: 50%;
  border: 1px solid var(--c-line-strong);
  display: inline-flex; align-items: center; justify-content: center; flex-direction: column; gap: 6px;
  transition: border-color var(--dur);
}
.menu-toggle:hover { border-color: var(--c-accent); }
.menu-toggle span { display: block; width: 18px; height: 1px; background: var(--c-text); transition: transform 0.45s var(--ease-out); }
.menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
@media (min-width: 1100px) { .menu-toggle { display: none; } }

/* ---------- Mobilni meni ---------- */
.mobile-menu {
  position: fixed; inset: 0; z-index: 99;
  background: rgba(8, 8, 8, 0.97);
  display: flex; flex-direction: column;
  padding: calc(var(--header-h) + 24px) var(--gutter) 32px;
  overflow-y: auto;
  opacity: 0; visibility: hidden;
  transition: opacity 0.5s var(--ease-out), visibility 0s linear 0.5s;
}
.mobile-menu.is-open { opacity: 1; visibility: visible; transition: opacity 0.5s var(--ease-out); }
.mobile-menu .fx-smoke { opacity: 0.6; }
.mobile-menu__list { position: relative; list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.mobile-menu__list a {
  display: flex; align-items: baseline; gap: 16px; padding: 6px 0;
  font-family: var(--f-serif); font-weight: 300;
  font-size: clamp(2.25rem, 9vw, 3.5rem); line-height: 1.1; color: var(--c-text);
}
.mobile-menu__list a[aria-current="page"] { font-style: italic; color: var(--c-text-soft); }
.mobile-menu__list .micro { min-width: 2em; }
.mobile-menu__item { opacity: 0; transform: translateY(24px); transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out); }
.mobile-menu.is-open .mobile-menu__item { opacity: 1; transform: none; }
.mobile-menu.is-open .mobile-menu__item:nth-child(1) { transition-delay: 0.08s; }
.mobile-menu.is-open .mobile-menu__item:nth-child(2) { transition-delay: 0.14s; }
.mobile-menu.is-open .mobile-menu__item:nth-child(3) { transition-delay: 0.2s; }
.mobile-menu.is-open .mobile-menu__item:nth-child(4) { transition-delay: 0.26s; }
.mobile-menu.is-open .mobile-menu__item:nth-child(5) { transition-delay: 0.32s; }
.mobile-menu.is-open .mobile-menu__item:nth-child(6) { transition-delay: 0.38s; }
.mobile-menu.is-open .mobile-menu__item:nth-child(7) { transition-delay: 0.44s; }
.mobile-menu__foot { position: relative; margin-top: auto; padding-top: 40px; display: grid; gap: 14px; }
.mobile-menu__foot a { color: var(--c-text-soft); }
html.menu-open, html.menu-open body { overflow: hidden; }

/* ---------- Dim (smoke) ---------- */
.fx-smoke { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.fx-smoke__layer {
  position: absolute; top: -10%; left: 0;
  width: calc(100% + 1024px); height: 120%;
  background-repeat: repeat;
  background-size: 1024px 1024px;
  mix-blend-mode: screen;
  will-change: transform;
}
.fx-smoke__layer--1 {
  background-image: url("../assets/img/fx/dim-1.webp");
  opacity: 0.22;
  animation: smoke-drift 140s linear infinite;
}
.fx-smoke__layer--2 {
  background-image: url("../assets/img/fx/dim-2.webp");
  opacity: 0.3;
  animation: smoke-drift-rev 95s linear infinite;
}
.fx-smoke__layer--3 {
  background-image: url("../assets/img/fx/dim-1.webp");
  background-size: 1024px 1024px;
  opacity: 0.16;
  animation: smoke-drift 70s linear infinite, smoke-breathe 18s ease-in-out infinite alternate;
}
.fx-smoke__mask {
  position: absolute; inset: 0;
  -webkit-mask-image: radial-gradient(ellipse 70% 75% at 62% 48%, #000 25%, transparent 78%);
  mask-image: radial-gradient(ellipse 70% 75% at 62% 48%, #000 25%, transparent 78%);
}
.fx-vignette {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 85% 80% at 55% 45%, transparent 35%, rgba(0, 0, 0, 0.72) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.55) 0%, transparent 18%, transparent 70%, rgba(10, 10, 10, 0.95) 100%);
}
@keyframes smoke-drift { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(-1024px, 0, 0); } }
@keyframes smoke-drift-rev { from { transform: translate3d(-1024px, 0, 0); } to { transform: translate3d(0, 0, 0); } }
@keyframes smoke-breathe { from { opacity: 0.08; } to { opacity: 0.22; } }

/* ---------- Gigantska pozadinska reč ---------- */
.wordmark {
  position: absolute; left: 0; right: 0;
  display: flex; justify-content: center;
  pointer-events: none; user-select: none;
  z-index: 1;
}
.wordmark__text {
  display: block;
  font-family: var(--f-display);
  font-weight: 400;
  line-height: 0.8;
  letter-spacing: 0.005em;
  white-space: nowrap;
  font-size: var(--wm-size, 22vw);
  transform: scaleY(var(--wm-stretch, 1.32));
  transform-origin: 50% 0;
  background: linear-gradient(180deg,
    rgba(236, 234, 230, 0.92) 0%,
    rgba(214, 212, 208, 0.72) 30%,
    rgba(170, 168, 164, 0.34) 62%,
    rgba(120, 118, 114, 0) 96%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

/* ---------- HERO (naslovna) ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  overflow: hidden;
  isolation: isolate;
  background: var(--c-bg);
  touch-action: pan-y;
}
.hero .wordmark { top: calc(var(--header-h) + 3vh); }
.hero .wordmark__text { --wm-stretch: 1.22; }
.hero__stage { position: absolute; inset: 0; z-index: 2; }
.hero__slide { position: absolute; inset: 0; visibility: hidden; }
.hero__slide.is-active { visibility: visible; }
.hero__media {
  position: absolute;
  left: 50%; top: calc(var(--header-h) + 2vh);
  width: min(118vw, 640px);
  height: 47vh;
  transform: translateX(-50%);
  display: flex; align-items: center; justify-content: center;
}
.hero__media img {
  width: 100%; height: 100%;
  object-fit: contain; object-position: 50% 50%;
  opacity: 0.92;
}
.hero__media--emblem img { width: 70%; height: 70%; opacity: 0.88; filter: drop-shadow(0 0 40px rgba(0, 0, 0, 0.9)); }
.hero__media--emblem { align-items: flex-start; }
.hero__front-smoke { position: absolute; inset: 0; z-index: 3; pointer-events: none; }
.hero__front-smoke .fx-smoke__layer--2 { opacity: 0.18; }
.hero .fx-vignette { z-index: 3; }
.hero__content-wrap {
  position: absolute; inset: auto 0 0 0; z-index: 4;
  padding-bottom: clamp(28px, 6vh, 72px);
  pointer-events: none;
}
.hero__content-wrap::before {
  content: ""; position: absolute; inset: -80px 0 0 0; z-index: -1;
  background: linear-gradient(180deg, transparent 0%, rgba(10, 10, 10, 0.78) 38%, rgba(10, 10, 10, 0.96) 100%);
}
.hero__content-inner { position: relative; pointer-events: auto; }
.hero__texts { position: relative; display: grid; }
.hero__text { grid-area: 1 / 1; visibility: hidden; }
.hero__text.is-active { visibility: visible; }
.hero__eyebrow { margin-bottom: 18px; }
.hero__title {
  font-family: var(--f-serif);
  font-weight: 300;
  font-size: var(--fs-hero);
  line-height: 1.1;
  text-transform: uppercase;
  letter-spacing: 0.012em;
  color: var(--c-text);
}
.hero__title .line { display: block; overflow: hidden; padding-bottom: 0.04em; }
.hero__title .line > span { display: inline-block; }
.hero__lede { margin-top: 20px; max-width: 30em; font-size: 0.9375rem; line-height: 1.65; color: var(--c-text-soft); }
.hero__ctas { margin-top: 28px; }

.hero__rail {
  position: absolute; z-index: 5;
  right: var(--gutter); top: auto; bottom: auto;
  display: none;
}
.hero__counter { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.hero__counter .micro { color: var(--c-text); letter-spacing: 0.12em; }
.hero__progress { position: relative; width: 1px; height: 56px; background: var(--c-line-strong); overflow: hidden; }
.hero__progress-bar { position: absolute; inset: 0; background: var(--c-accent); transform-origin: 50% 0; transform: scaleY(0); }
.hero__arrows { display: flex; flex-direction: column; gap: 6px; margin-top: 18px; }
.hero__arrow {
  width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--c-line);
  display: inline-flex; align-items: center; justify-content: center; color: var(--c-text-soft);
  transition: border-color var(--dur), color var(--dur);
}
.hero__arrow:hover { border-color: var(--c-accent); color: var(--c-text); }
.hero__arrow svg { width: 12px; height: 12px; }
.hero__scroll {
  position: absolute; z-index: 5; right: var(--gutter); bottom: clamp(28px, 6vh, 72px);
  display: none;
  writing-mode: vertical-rl;
  font-size: var(--fs-micro); letter-spacing: var(--tracking-micro); text-transform: uppercase;
  color: var(--c-text-soft);
}
.hero__scroll::after {
  content: ""; display: block; width: 1px; height: 48px; margin: 14px auto 0; background: linear-gradient(var(--c-accent-soft), transparent);
}
/* mobilni brojač */
.hero__mini-counter { display: flex; align-items: center; gap: 12px; margin-top: 26px; }
.hero__mini-track { position: relative; width: 72px; height: 1px; background: var(--c-line-strong); overflow: hidden; }
.hero__mini-track .hero__progress-bar { transform-origin: 0 50%; transform: scaleX(0); }

@media (min-width: 768px) {
  .hero__media { width: 78vw; height: 62vh; }
  .hero__title { font-size: clamp(2.25rem, 1.4rem + 2.4vw, 3.5rem); }
}
@media (min-width: 1024px) {
  .hero .wordmark { top: calc(var(--header-h) + 4vh); }
  .hero__media {
    left: auto; right: 11%;
    top: calc(var(--header-h) + 4vh);
    bottom: 5vh; height: auto;
    width: 52vw; transform: none;
  }
  .hero__media img { object-position: 50% 55%; }
  .hero__media--emblem { align-items: center; }
  .hero__media--emblem img { width: 74%; height: 70%; }
  .hero__content-wrap { padding-bottom: clamp(56px, 10vh, 120px); }
  .hero__content-wrap::before {
    inset: -40% 40% 0 0;
    background: radial-gradient(ellipse 80% 70% at 15% 80%, rgba(10, 10, 10, 0.85) 0%, rgba(10, 10, 10, 0.5) 50%, transparent 75%);
  }
  .hero__content-inner { max-width: min(640px, 48vw); margin-left: 0; }
  .hero__rail { display: block; top: 46%; transform: translateY(-50%); }
  .hero__scroll { display: block; }
  .hero__mini-counter { display: none; }
}
@media (min-width: 1440px) {
  .hero__media { right: 13%; width: 48vw; }
}
@media (max-width: 1023px) {
  .hero__content-wrap { padding-bottom: 92px; }
}
@media (min-width: 768px) and (max-width: 1023px) {
  .hero__content-wrap { padding-bottom: 108px; }
}
@media (max-height: 640px) and (max-width: 1023px) {
  .hero__media { height: 46vh; }
}

/* ---------- Kompaktni hero (unutrašnje stranice) ---------- */
.page-hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: clamp(440px, 70vh, 680px);
  display: flex; align-items: flex-end;
  padding-top: var(--header-h);
  background: var(--c-bg);
}
.page-hero .wordmark { top: calc(var(--header-h) + 3vh); }
.page-hero .fx-vignette { z-index: 2; }
.page-hero__inner { position: relative; z-index: 3; padding-bottom: clamp(40px, 8vh, 96px); width: 100%; }
.page-hero__title { margin-top: 18px; }
.page-hero__lede { margin-top: 20px; max-width: 36em; }
.breadcrumbs { margin-top: 28px; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 6px 10px; list-style: none; margin: 0; padding: 0; }
.breadcrumbs li { font-size: var(--fs-micro); letter-spacing: var(--tracking-micro); text-transform: uppercase; color: var(--c-muted); }
.breadcrumbs li + li::before { content: "/"; margin-right: 10px; color: var(--c-line-strong); }
.breadcrumbs a { color: var(--c-text-soft); transition: color var(--dur); }
.breadcrumbs a:hover { color: var(--c-text); }

/* ---------- Mediji / reveal ---------- */
.media-frame {
  position: relative; overflow: hidden;
  background: var(--c-charcoal);
  border-radius: var(--radius);
}
.media-frame img { width: 100%; height: 100%; object-fit: cover; filter: saturate(0.6) brightness(0.92); }
.media-frame--tall { aspect-ratio: 4 / 5; }
.media-frame--wide { aspect-ratio: 3 / 2; }
.media-frame [data-parallax] { height: 116%; margin-top: -8%; }
.media-frame__img--mono img { filter: grayscale(1) contrast(1.05) brightness(0.9); }

/* ---------- Split sekcija ---------- */
.split { display: grid; gap: clamp(40px, 6vw, 96px); align-items: center; }
@media (min-width: 1024px) {
  .split { grid-template-columns: 1fr 1fr; }
  .split--reverse > :first-child { order: 2; }
}
.split__text { display: grid; gap: 24px; align-content: start; }
.split__text .btn-row { margin-top: 12px; }

/* ---------- Kartice usluga ---------- */
.services-grid { display: grid; gap: 16px; }
@media (min-width: 768px) { .services-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; } }
@media (min-width: 1200px) { .services-grid { grid-template-columns: repeat(3, 1fr); } }
.service-card {
  position: relative; display: flex; flex-direction: column;
  background: var(--c-bg-raised);
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color var(--dur) var(--ease-out), transform var(--dur) var(--ease-out);
}
.service-card:hover, .service-card:focus-within { border-color: var(--c-accent-soft); }
.service-card__media { aspect-ratio: 16 / 10; overflow: hidden; background: var(--c-charcoal); }
.service-card__media img {
  width: 100%; height: 100%; object-fit: cover;
  filter: grayscale(1) brightness(0.78) contrast(1.05);
  transform: scale(1.02);
  transition: filter 0.8s var(--ease-out), transform 1.2s var(--ease-out);
}
.service-card:hover .service-card__media img, .service-card:focus-within .service-card__media img {
  filter: grayscale(0.35) brightness(0.9); transform: scale(1.07);
}
.service-card__body { display: grid; gap: 12px; padding: 26px 24px 28px; flex: 1; align-content: start; }
.service-card__title { font-family: var(--f-serif); font-weight: 400; font-size: 1.625rem; line-height: 1.15; }
.service-card__title a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.service-card__text { font-size: 0.9375rem; color: var(--c-text-soft); }
.service-card__arrow {
  position: absolute; top: 18px; right: 18px; z-index: 2;
  width: 44px; height: 44px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(10, 10, 10, 0.55);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  border: 1px solid var(--c-line-strong);
  color: var(--c-text);
  transition: background-color var(--dur), color var(--dur), border-color var(--dur);
  pointer-events: none;
}
.service-card:hover .service-card__arrow { background: var(--c-accent); color: var(--c-accent-ink); border-color: var(--c-accent); }
.service-card:hover .service-card__arrow .icon-arrow { transform: translate(2px, -2px); }

/* ---------- Vrednosti / brojke ---------- */
.values { display: grid; gap: 0; border-top: 1px solid var(--c-line); }
@media (min-width: 768px) { .values { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1200px) { .values { grid-template-columns: repeat(4, 1fr); } }
.value {
  display: grid; gap: 14px; align-content: start;
  padding: 36px 0;
  border-bottom: 1px solid var(--c-line);
}
@media (min-width: 768px) {
  .value { padding: 44px 32px 44px 0; }
  .value:nth-child(2n) { padding-left: 32px; border-left: 1px solid var(--c-line); }
}
@media (min-width: 1200px) {
  .value { padding: 52px 32px; border-left: 1px solid var(--c-line); }
  .value:first-child { padding-left: 0; border-left: 0; }
  .value:nth-child(2n) { padding-left: 32px; }
}
.value__num {
  font-family: var(--f-serif); font-weight: 300;
  font-size: clamp(3.5rem, 2.4rem + 4vw, 6rem);
  line-height: 0.9; color: var(--c-text);
  font-variant-numeric: lining-nums;
}
.value__num sup { font-size: 0.45em; vertical-align: top; margin-left: 0.06em; color: var(--c-accent-soft); }
.value__text { font-size: 0.9375rem; color: var(--c-text-soft); max-width: 28em; }

/* ---------- Galerija (traka i mreža) ---------- */
.strip {
  display: grid; grid-auto-flow: column;
  grid-auto-columns: min(78vw, 420px);
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-inline: var(--gutter);
  padding-bottom: 18px;
  scrollbar-width: thin;
  scrollbar-color: var(--c-line-strong) transparent;
  overscroll-behavior-x: contain;
}
.strip::-webkit-scrollbar { height: 4px; }
.strip::-webkit-scrollbar-thumb { background: var(--c-line-strong); border-radius: 4px; }
.strip > * { scroll-snap-align: start; }
@media (min-width: 1024px) { .strip { grid-auto-columns: 30vw; padding-inline: max(var(--gutter), calc((100vw - var(--container)) / 2 + var(--gutter))); } }

.thumb {
  position: relative; display: block; overflow: hidden;
  border-radius: var(--radius);
  background: var(--c-charcoal);
  aspect-ratio: 4 / 3;
}
.thumb img {
  width: 100%; height: 100%; object-fit: cover;
  filter: grayscale(0.85) brightness(0.82);
  transition: filter 0.7s var(--ease-out), transform 1.1s var(--ease-out);
}
.thumb::after {
  content: ""; position: absolute; inset: 0; border: 1px solid transparent; border-radius: inherit;
  transition: border-color var(--dur);
}
.thumb:hover img, .thumb:focus-visible img { filter: grayscale(0) brightness(1); transform: scale(1.05); }
.thumb:hover::after, .thumb:focus-visible::after { border-color: var(--c-accent-soft); }
.thumb__zoom {
  position: absolute; right: 14px; bottom: 14px; z-index: 1;
  width: 40px; height: 40px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(10, 10, 10, 0.6); border: 1px solid var(--c-line-strong);
  opacity: 0; transform: translateY(6px);
  transition: opacity var(--dur), transform var(--dur) var(--ease-out);
}
.thumb:hover .thumb__zoom, .thumb:focus-visible .thumb__zoom { opacity: 1; transform: none; }
.thumb__zoom svg { width: 16px; height: 16px; }

.gallery-grid { display: grid; gap: 12px; grid-template-columns: 1fr; }
@media (min-width: 600px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; } }
@media (min-width: 1024px) {
  .gallery-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; }
  .gallery-grid .thumb--feature { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }
}

/* ---------- Kontakt traka ---------- */
.contact-band { position: relative; overflow: hidden; isolation: isolate; }
.contact-band .fx-smoke { opacity: 0.7; }
.contact-band__grid { position: relative; z-index: 1; display: grid; gap: 40px; }
@media (min-width: 1024px) { .contact-band__grid { grid-template-columns: 1.1fr 1fr; align-items: end; gap: 80px; } }
.contact-band__phone {
  display: inline-block;
  font-family: var(--f-serif); font-weight: 300;
  font-size: clamp(2.5rem, 1.2rem + 5.4vw, 5.75rem);
  line-height: 1; letter-spacing: -0.01em;
  color: var(--c-text);
  transition: color var(--dur);
  word-break: keep-all;
}
.contact-band__phone:hover { color: var(--c-accent-soft); }
.contact-list { display: grid; gap: 0; border-top: 1px solid var(--c-line); }
.contact-list__row {
  display: grid; gap: 6px; padding: 20px 0; border-bottom: 1px solid var(--c-line);
}
@media (min-width: 600px) { .contact-list__row { grid-template-columns: 170px 1fr; gap: 24px; align-items: baseline; } }
.contact-list__value { font-size: 1.125rem; color: var(--c-text); font-weight: 400; }
.contact-list__value a { transition: color var(--dur); }
.contact-list__value a:hover { color: var(--c-accent-soft); }

/* ---------- Detalj usluge ---------- */
.detail { display: grid; gap: clamp(48px, 6vw, 96px); }
@media (min-width: 1024px) { .detail { grid-template-columns: minmax(0, 1fr) 360px; align-items: start; } }
.detail__body { display: grid; gap: 40px; }
.detail__body .prose p { font-size: 1.0625rem; }
.detail__body .prose p:first-child { font-family: var(--f-serif); font-size: clamp(1.375rem, 1.1rem + 1vw, 1.875rem); line-height: 1.4; color: var(--c-text); font-weight: 300; }
.aside { display: grid; gap: 20px; }
@media (min-width: 1024px) { .aside { position: sticky; top: calc(var(--header-h) + 24px); } }
.aside-card { border: 1px solid var(--c-line); border-radius: var(--radius); padding: 28px 24px; background: var(--c-bg-raised); display: grid; gap: 16px; }
.aside-list { list-style: none; margin: 0; padding: 0; }
.aside-list a {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 13px 0; border-bottom: 1px solid var(--c-line);
  color: var(--c-text-soft); font-size: 0.9375rem; transition: color var(--dur);
}
.aside-list li:last-child a { border-bottom: 0; }
.aside-list a:hover, .aside-list a[aria-current="page"] { color: var(--c-text); }
.aside-list a[aria-current="page"] { font-style: italic; font-family: var(--f-serif); font-size: 1.125rem; }
.aside-card__phone { font-family: var(--f-serif); font-size: 1.875rem; font-weight: 300; line-height: 1.1; }

/* ---------- Lista usluga (usluge.html) ---------- */
.service-rows { display: grid; gap: clamp(72px, 10vw, 140px); }
.service-row__num { font-family: var(--f-serif); font-weight: 300; font-size: 1.125rem; color: var(--c-muted); }

/* ---------- Citat ---------- */
.quote {
  font-family: var(--f-serif); font-weight: 300; font-style: italic;
  font-size: clamp(1.75rem, 1.2rem + 2.2vw, 3.25rem);
  line-height: 1.25; color: var(--c-text);
  max-width: 22em;
}
.columns-2 { display: grid; gap: 24px 64px; }
@media (min-width: 1024px) { .columns-2 { grid-template-columns: 1fr 1fr; } }

/* ---------- Forma ---------- */
.form { display: grid; gap: 22px; }
.field { display: grid; gap: 10px; }
.field label { font-size: var(--fs-micro); letter-spacing: var(--tracking-micro); text-transform: uppercase; color: var(--c-text-soft); }
.field input, .field select, .field textarea {
  width: 100%;
  background: transparent;
  border: 0; border-bottom: 1px solid var(--c-line-strong);
  border-radius: 0;
  padding: 12px 0;
  font-size: 1.0625rem; font-weight: 300; color: var(--c-text);
  transition: border-color var(--dur);
}
.field select { appearance: none; -webkit-appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--c-text-soft) 50%), linear-gradient(135deg, var(--c-text-soft) 50%, transparent 50%); background-position: calc(100% - 12px) 55%, calc(100% - 6px) 55%; background-size: 6px 6px; background-repeat: no-repeat; }
.field select option { background: var(--c-bg-raised); color: var(--c-text); }
.field textarea { min-height: 150px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: var(--c-muted); }
.field input:focus, .field select:focus, .field textarea:focus { border-bottom-color: var(--c-accent); outline: none; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: 1px solid var(--c-focus); outline-offset: 4px; }
.field [aria-invalid="true"] { border-bottom-color: #d9a3a3; }
.field__error { font-size: 0.8125rem; color: #e1b4b4; min-height: 0; }
.form__status { font-size: 0.9375rem; color: var(--c-text-soft); min-height: 1.5em; }
.form__status.is-success { color: var(--c-text); }
.form__status.is-error { color: #e1b4b4; }
.form__honey { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.map-frame { border: 1px solid var(--c-line); border-radius: var(--radius); overflow: hidden; background: var(--c-charcoal); aspect-ratio: 4 / 3.4; }
.map-frame iframe { width: 100%; height: 100%; border: 0; filter: grayscale(1) invert(0.92) contrast(0.9); }

.info-grid { display: grid; gap: 1px; background: var(--c-line); border: 1px solid var(--c-line); border-radius: var(--radius); overflow: hidden; }
@media (min-width: 768px) { .info-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1200px) { .info-grid { grid-template-columns: repeat(3, 1fr); } }
.info-cell { background: var(--c-bg); padding: 32px 28px; display: grid; gap: 12px; align-content: start; }
.info-cell__value { font-family: var(--f-serif); font-weight: 300; font-size: clamp(1.5rem, 1.2rem + 1vw, 2.125rem); line-height: 1.15; color: var(--c-text); overflow-wrap: anywhere; }
.info-cell__value a { transition: color var(--dur); }
.info-cell__value a:hover { color: var(--c-accent-soft); }
.info-cell__note { font-size: 0.875rem; color: var(--c-muted); }

/* ---------- Footer ---------- */
.site-footer {
  position: relative; border-top: 1px solid var(--c-line);
  background: #070707;
  padding-top: clamp(64px, 8vw, 112px);
  padding-bottom: 104px;
}
@media (min-width: 768px) { .site-footer { padding-bottom: 40px; } }
.site-footer__grid { display: grid; gap: 48px; }
@media (min-width: 768px) { .site-footer__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1200px) { .site-footer__grid { grid-template-columns: 1.4fr 0.8fr 1fr 1.1fr; gap: 56px; } }
.site-footer__brand img { width: 140px; height: auto; }
.site-footer__brand p { margin-top: 24px; font-size: 0.9375rem; color: var(--c-text-soft); max-width: 30em; }
.site-footer h2 { margin-bottom: 20px; }
.footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.footer-links a, .footer-links span {
  display: inline-block; padding: 5px 0; font-size: 0.9375rem; color: var(--c-text-soft);
  transition: color var(--dur);
}
.footer-links a:hover { color: var(--c-text); }
.socials { display: flex; gap: 10px; margin-top: 20px; }
.socials a {
  width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--c-line-strong);
  display: inline-flex; align-items: center; justify-content: center; color: var(--c-text-soft);
  transition: border-color var(--dur), color var(--dur), background-color var(--dur);
}
.socials a:hover { border-color: var(--c-accent); background: var(--c-accent); color: var(--c-accent-ink); }
.socials svg { width: 18px; height: 18px; }
.site-footer__bottom {
  margin-top: clamp(56px, 7vw, 96px); padding-top: 28px; border-top: 1px solid var(--c-line);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px;
  font-size: 0.8125rem; color: var(--c-muted);
}

/* ---------- Plutajući widgeti ---------- */
.to-top {
  position: fixed; right: 16px; bottom: 16px; z-index: 90;
  width: 56px; height: 56px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(17, 17, 17, 0.82);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  color: var(--c-text);
  opacity: 0; visibility: hidden; transform: translateY(12px);
  transition: opacity 0.45s var(--ease-out), transform 0.45s var(--ease-out), visibility 0s linear 0.45s, background-color var(--dur);
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; transition: opacity 0.45s var(--ease-out), transform 0.45s var(--ease-out), background-color var(--dur); }
.to-top:hover { background: rgba(30, 30, 30, 0.95); }
.to-top__ring { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.to-top__ring circle { fill: none; stroke-width: 1.5; }
.to-top__ring-bg { stroke: var(--c-line-strong); }
.to-top__ring-fg { stroke: var(--c-accent); stroke-linecap: round; transition: stroke-dashoffset 0.1s linear; }
.to-top svg.to-top__icon { width: 16px; height: 16px; position: relative; }
@media (min-width: 768px) { .to-top { right: 24px; bottom: 24px; } }

/* AI asistent */
.assistant { position: fixed; left: 16px; bottom: 16px; z-index: 95; }
@media (min-width: 768px) { .assistant { left: 24px; bottom: 24px; } }
.assistant__toggle {
  position: relative;
  width: 56px; height: 56px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--c-accent); color: var(--c-accent-ink);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  transition: transform var(--dur) var(--ease-out), background-color var(--dur);
}
.assistant__toggle:hover { transform: scale(1.05); }
.assistant__toggle::before {
  content: ""; position: absolute; inset: -5px; border-radius: 50%;
  border: 1px solid rgba(248, 248, 248, 0.35);
  animation: assistant-pulse 3.6s var(--ease-out) infinite;
}
.assistant__toggle svg { width: 24px; height: 24px; }
.assistant__toggle .assistant__icon-close { display: none; }
.assistant.is-open .assistant__toggle .assistant__icon-open { display: none; }
.assistant.is-open .assistant__toggle .assistant__icon-close { display: block; }
.assistant.is-open .assistant__toggle::before { animation: none; opacity: 0; }
@keyframes assistant-pulse { 0% { transform: scale(0.92); opacity: 0.9; } 70%, 100% { transform: scale(1.25); opacity: 0; } }

.assistant__panel {
  position: fixed; left: 16px; right: 16px; bottom: 84px;
  max-height: min(620px, calc(100vh - 110px));
  max-height: min(620px, calc(100dvh - 110px));
  display: flex; flex-direction: column;
  background: rgba(16, 16, 16, 0.86);
  -webkit-backdrop-filter: blur(18px) saturate(120%); backdrop-filter: blur(18px) saturate(120%);
  border: 1px solid var(--c-line-strong);
  border-radius: 18px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.65);
  overflow: hidden;
  opacity: 0; visibility: hidden; transform: translateY(16px) scale(0.98); transform-origin: 0 100%;
  transition: opacity 0.4s var(--ease-out), transform 0.4s var(--ease-out), visibility 0s linear 0.4s;
}
.assistant.is-open .assistant__panel { opacity: 1; visibility: visible; transform: none; transition: opacity 0.4s var(--ease-out), transform 0.4s var(--ease-out); }
@media (min-width: 768px) { .assistant__panel { left: 24px; right: auto; width: 400px; bottom: 96px; } }
.assistant__head { display: flex; align-items: center; gap: 14px; padding: 18px 18px 16px; border-bottom: 1px solid var(--c-line); }
.assistant__avatar { width: 40px; height: 40px; border-radius: 50%; background: #050505; border: 1px solid var(--c-line-strong); display: inline-flex; align-items: center; justify-content: center; flex: none; overflow: hidden; }
.assistant__avatar img { width: 30px; height: auto; }
.assistant__title { font-family: var(--f-serif); font-size: 1.25rem; font-weight: 400; line-height: 1.1; }
.assistant__status { font-size: 0.75rem; color: var(--c-muted); display: flex; align-items: center; gap: 6px; }
.assistant__status::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--c-accent-soft); }
.assistant__close { margin-left: auto; width: 40px; height: 40px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; color: var(--c-text-soft); transition: background-color var(--dur), color var(--dur); }
.assistant__close:hover { background: rgba(248, 248, 248, 0.08); color: var(--c-text); }
.assistant__close svg { width: 16px; height: 16px; }
.assistant__log { flex: 1; min-height: 200px; overflow-y: auto; padding: 18px; display: flex; flex-direction: column; gap: 12px; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: var(--c-line-strong) transparent; }
.msg { max-width: 88%; padding: 11px 15px; border-radius: 14px; font-size: 0.9375rem; line-height: 1.55; white-space: pre-line; }
.msg a { text-decoration: underline; text-underline-offset: 3px; }
.msg--bot { align-self: flex-start; background: rgba(248, 248, 248, 0.06); border: 1px solid var(--c-line); border-bottom-left-radius: 4px; color: var(--c-text); }
.msg--user { align-self: flex-end; background: var(--c-accent); color: var(--c-accent-ink); border-bottom-right-radius: 4px; font-weight: 400; }
.msg--typing { display: inline-flex; gap: 5px; align-items: center; padding: 14px 16px; }
.msg--typing span { width: 6px; height: 6px; border-radius: 50%; background: var(--c-text-soft); animation: typing 1.2s infinite ease-in-out; }
.msg--typing span:nth-child(2) { animation-delay: 0.15s; }
.msg--typing span:nth-child(3) { animation-delay: 0.3s; }
@keyframes typing { 0%, 60%, 100% { transform: translateY(0); opacity: 0.4; } 30% { transform: translateY(-4px); opacity: 1; } }
.assistant__chips { display: flex; gap: 8px; padding: 0 18px 14px; overflow-x: auto; scrollbar-width: none; flex: none; }
.assistant__chips::-webkit-scrollbar { display: none; }
.chip {
  flex: none; padding: 9px 14px; min-height: 36px; border-radius: var(--radius-pill);
  border: 1px solid var(--c-line-strong);
  font-size: 0.8125rem; color: var(--c-text-soft); white-space: nowrap;
  transition: border-color var(--dur), color var(--dur), background-color var(--dur);
}
.chip:hover { border-color: var(--c-accent); color: var(--c-text); background: rgba(248, 248, 248, 0.05); }
.assistant__form { display: flex; gap: 8px; padding: 12px 14px 14px; border-top: 1px solid var(--c-line); flex: none; }
.assistant__input {
  flex: 1; min-width: 0;
  background: rgba(248, 248, 248, 0.05); border: 1px solid var(--c-line); border-radius: var(--radius-pill);
  padding: 11px 16px; font-size: 0.9375rem; color: var(--c-text);
}
.assistant__input::placeholder { color: var(--c-muted); }
.assistant__input:focus { border-color: var(--c-line-strong); }
.assistant__send { width: 44px; height: 44px; border-radius: 50%; background: var(--c-accent); color: var(--c-accent-ink); display: inline-flex; align-items: center; justify-content: center; flex: none; }
.assistant__send svg { width: 16px; height: 16px; }

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(5, 5, 5, 0.96);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden;
  transition: opacity 0.4s var(--ease-out), visibility 0s linear 0.4s;
}
.lightbox.is-open { opacity: 1; visibility: visible; transition: opacity 0.4s var(--ease-out); }
.lightbox__figure { position: relative; margin: 0; width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 72px 16px 88px; }
.lightbox__img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 2px; transition: opacity 0.35s var(--ease-out), transform 0.5s var(--ease-out); }
.lightbox__img.is-loading { opacity: 0; transform: scale(0.98); }
.lightbox__caption { position: absolute; left: 16px; right: 16px; bottom: 28px; text-align: center; font-size: 0.875rem; color: var(--c-text-soft); }
.lightbox__count { position: absolute; left: 20px; top: 26px; }
.lightbox__btn {
  position: absolute; z-index: 2;
  width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--c-line-strong);
  display: inline-flex; align-items: center; justify-content: center; color: var(--c-text);
  background: rgba(10, 10, 10, 0.5);
  transition: background-color var(--dur), color var(--dur), border-color var(--dur);
}
.lightbox__btn:hover { background: var(--c-accent); color: var(--c-accent-ink); border-color: var(--c-accent); }
.lightbox__btn svg { width: 18px; height: 18px; }
.lightbox__close { top: 14px; right: 14px; }
.lightbox__prev { left: 14px; bottom: 16px; }
.lightbox__next { right: 14px; bottom: 16px; }
@media (min-width: 768px) {
  .lightbox__figure { padding: 80px 96px; }
  .lightbox__prev, .lightbox__next { top: 50%; bottom: auto; transform: translateY(-50%); }
  .lightbox__prev { left: 24px; } .lightbox__next { right: 24px; }
  .lightbox__close { top: 20px; right: 24px; }
}

/* ---------- Preloader i prelaz stranica ---------- */
.preloader, .page-transition { display: none; }
.js .preloader {
  position: fixed; inset: 0; z-index: 500;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 28px;
  background: var(--c-bg);
  transition: opacity 0.7s var(--ease-out), visibility 0s linear 0.7s;
}
.js .preloader.is-done { opacity: 0; visibility: hidden; }
.preloader__logo { width: 120px; height: auto; opacity: 0.92; animation: preloader-in 1s var(--ease-out) both; }
.preloader__line { width: 160px; height: 1px; background: var(--c-line); overflow: hidden; }
.preloader__bar { display: block; height: 100%; background: var(--c-accent); transform-origin: 0 50%; transform: scaleX(0); transition: transform 0.4s var(--ease-out); }
@keyframes preloader-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 0.92; transform: none; } }
.js .page-transition {
  position: fixed; inset: 0; z-index: 400; display: block;
  background: var(--c-bg);
  pointer-events: none;
  opacity: 1;
  transition: opacity 0.6s var(--ease-out);
}
.js .page-transition.is-hidden { opacity: 0; }
.js .page-transition.is-leaving { opacity: 1; pointer-events: auto; transition-duration: 0.45s; }

/* ---------- Kursor ---------- */
.cursor { display: none; }
.has-cursor .cursor { display: block; }
.has-cursor, .has-cursor a, .has-cursor button, .has-cursor [role="button"] { cursor: none; }
.has-cursor input, .has-cursor textarea, .has-cursor select { cursor: auto; }
.cursor__dot, .cursor__ring {
  position: fixed; top: 0; left: 0; z-index: 600; pointer-events: none;
  border-radius: 50%;
  will-change: transform;
}
.cursor__dot { width: 6px; height: 6px; margin: -3px 0 0 -3px; background: var(--c-accent); }
.cursor__ring {
  width: 38px; height: 38px; margin: -19px 0 0 -19px;
  border: 1px solid rgba(248, 248, 248, 0.45);
  transition: width 0.35s var(--ease-out), height 0.35s var(--ease-out), margin 0.35s var(--ease-out), border-color 0.35s, background-color 0.35s, opacity 0.3s;
}
.cursor.is-hover .cursor__ring { width: 68px; height: 68px; margin: -34px 0 0 -34px; border-color: var(--c-accent); background: rgba(248, 248, 248, 0.06); }
.cursor.is-hidden .cursor__ring, .cursor.is-hidden .cursor__dot { opacity: 0; }

/* ---------- Animacijska početna stanja (samo kad JS animira) ---------- */
.motion [data-reveal] { opacity: 0; }
.motion [data-reveal="clip"] { opacity: 1; clip-path: inset(100% 0 0 0); }
.motion .hero [data-hero-intro],
.motion .page-hero [data-hero-intro],
.motion .hero .wordmark,
.motion .page-hero .wordmark { opacity: 0; }

/* ---------- Smanjeno kretanje ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .fx-smoke__layer { animation: none !important; }
  .assistant__toggle::before { display: none; }
}


/* ==========================================================================
   UPGRADE — dizajn i pokret (premium sloj)
   Sve dodato ispod; postojeći sistem iznad ostaje. Paleta nepromenjena,
   novi tokeni su samo za tempo pokreta i topli ton pri hover-u (stavka 15).
   ========================================================================== */
:root {
  --motion-slow: 1.4s;
  --motion-ambient: 10s;
  --ease-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --c-tint: #b8a07a; /* topli ton (5–8 %) preko crno-belih slika na hover */
  /* maske za rastapanje slajda — ugrađene (data URI), jer se CSS maske preko file:// blokiraju (CORS) */
  --mask-dissolve-out: url("data:image/webp;base64,UklGRkoWAABXRUJQVlA4WAoAAAAQAAAAvwAAPwIAQUxQSDYVAAAVDLVt20jU/mvf2941ETEBvs0aVUttktJNTFgyzHDk6DnyzvuWbVtuY9m2qo1mAz6CCHDSnCGPPFaev6///4k8X8tnohUy+WIIBnmfo1vDSkjRlYWe1jJGxATglgA2juRICCEoo0RTZiUnNapKZ0bW1HZHe2ruve992sf94H26r7mnHR3u7d5051SuXLJkVtGimQ2LAT3uN0RE/hcX/1/8f/H/xf8X/1/8f/H/xf8X/1/8f/H/xf//l7j1ZjNrtXhNjV4967x773hVTagKDAiwXjvyrjXQedbLMekMdurrJlXB4jW2zotaswoLjABnw+iZeC1rPWc56IA2200kzY21vE5Y1kNLbOtC0xFei/Ba1nKO593jGWURx9bR4Wbzcfnj2nYEuWEt4rXiwXTejc3LlmaxxNCKLK+UMzB6tHRFnOP5UP+1/oqarQ59gFcLDDq6bbm01kCACVCNplDl2OLYOsvooUAVsB5g/ny/rFf57r6OTV1VPKr1ijh0yNI0AfJa844RS3DCWQUYWedEk3UCyMppC5NWevlU4yetea5NVdYXeKWs9RXIyrGVnayqsAgWgCyY32vMMsmCJDYCsoAeymVipZ4yIAuAWGUSYOzjJJdz65iyKBgdg1HRA9mFG3p5DxrIUFFWwQpCMIsXWpQaG4DXWH4C2YGhHAkc8lCQhREYAWTBAjiV85iCs3ldKoUpaDct847pyDLRmPu2noj24rxCUFg/Z1Zhp2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8X/F/9f/H/x/8X/F/9f/H/x/8X//xc4AFZQOCDuAAAAcBoAnQEqwABAAj5tNplJpCMioSAoAIANiWlu4XdhG0AJ7APfbJyHvtk5D32ych77ZOQ99snIe+2TkPfbJyHvtk5D32ych77ZOQ99snIe+2TkPfbJyHvtk5D32ych77ZOQ99snIe+2TkPfbJyHvtk5D32ych77ZOQ99snIe+2TkPfbJyHvtk5D32ych77ZOQ99snIe+2TkPfbJyHvtk5D32ych77ZOQ99snIe+2TkPfbJyHvtk5D32ych77ZOQ99snIe+2TkPfbJyHvtk5D32ych77ZOQ99snIe+sAAD+/+jQAAAAAAAAAAAAAAAAAA==");
}

/* ---------- [20] Globalna atmosfera: zrno, vinjeta, linija napretka, žar ---------- */
.scroll-progress { position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 120; pointer-events: none; }
.scroll-progress span { display: block; height: 100%; background: var(--c-accent); opacity: 0.85; transform-origin: 0 50%; transform: scaleX(0); }
.fx-page-vignette {
  position: fixed; inset: 0; z-index: 60; pointer-events: none;
  background: radial-gradient(ellipse 130% 110% at 50% 45%, transparent 58%, rgba(0, 0, 0, 0.42) 100%);
}
.fx-grain { position: fixed; left: 0; top: 0; width: calc(100% + 128px); height: calc(100% + 128px); z-index: 450; pointer-events: none; opacity: 0.035; }
/* zrno: platno se crta jednom, a "treperi" skokovima pomeraja (steps) ~12 fps — samo transform, na kompozitoru */
.fx-grain.is-animated { animation: grain-shift 0.667s steps(1, end) infinite; }
.fx-grain.is-paused { animation-play-state: paused; }
@keyframes grain-shift {
  0% { transform: translate3d(0, 0, 0); }
  12.5% { transform: translate3d(-71px, -23px, 0); }
  25% { transform: translate3d(-19px, -97px, 0); }
  37.5% { transform: translate3d(-113px, -54px, 0); }
  50% { transform: translate3d(-42px, -11px, 0); }
  62.5% { transform: translate3d(-88px, -120px, 0); }
  75% { transform: translate3d(-7px, -66px, 0); }
  87.5% { transform: translate3d(-101px, -35px, 0); }
  100% { transform: translate3d(0, 0, 0); }
}
.fx-embers { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }

/* ---------- [2] Zrno i metalni odsjaj na velikoj reči ---------- */
.wordmark__text, .section-word__text {
  background-image:
    url("../assets/img/fx/grain.png"),
    linear-gradient(180deg, rgba(236, 234, 230, 0.92) 0%, rgba(214, 212, 208, 0.72) 30%, rgba(170, 168, 164, 0.34) 62%, rgba(120, 118, 114, 0) 96%);
  background-size: 160px 160px, 100% 100%;
  background-repeat: repeat, no-repeat;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}
.wordmark__breath { position: relative; transform-origin: 50% 35%; }
.wordmark__shine { position: absolute; inset: 0; pointer-events: none; }
.wordmark__shine-win {
  position: absolute; left: 0; top: -0.3em; height: 2em; width: 34%;
  font-size: var(--wm-size, 22vw);
  overflow: hidden; visibility: hidden;
  -webkit-mask-image: linear-gradient(100deg, transparent 0%, #000 42%, #000 58%, transparent 100%);
  mask-image: linear-gradient(100deg, transparent 0%, #000 42%, #000 58%, transparent 100%);
}
.wordmark__shine-win.is-sweeping { visibility: visible; }
.wordmark__text.wordmark__text--shine {
  position: absolute; left: 0; top: 0.3em;
  background-image: linear-gradient(180deg, rgba(255, 255, 255, 0.17) 0%, rgba(255, 255, 255, 0.11) 45%, rgba(255, 255, 255, 0) 92%);
  background-size: 100% 100%;
}

/* ---------- [5] Disanje velike reči (samo dok korisnik miruje) ---------- */
.hero.is-breathing .wordmark__breath { animation: wm-breathe 5s ease-in-out infinite alternate; } /* ciklus 10 s */
.hero.is-still .wordmark__breath,
.hero.is-offscreen .wordmark__breath { animation-play-state: paused; }
@keyframes wm-breathe { from { transform: scale(1); opacity: 0.9; } to { transform: scale(1.015); opacity: 1; } }

/* ---------- [1] Interaktivni dim (canvas) + pauza CSS dima van ekrana ---------- */
.fx-smoke-canvas { position: absolute; left: -24px; top: -24px; width: calc(100% + 48px); height: calc(100% + 48px); pointer-events: none; }
.fx-smoke.is-paused .fx-smoke__layer { animation-play-state: paused; }
/* teksture dima su sada bele sa alfa kanalom = osvetljenost: isti izgled kao "screen", bez skupog blend režima */
.fx-smoke__layer { mix-blend-mode: normal; }

/* ---------- [4] Zraci svetla iza kipa ---------- */
.hero__rays {
  position: absolute; pointer-events: none;
  left: 50%; top: calc(var(--header-h) + 2vh);
  width: min(118vw, 640px); height: 47vh;
  transform: translateX(-50%);
  -webkit-mask-image: radial-gradient(closest-side, #000 20%, transparent 100%);
  mask-image: radial-gradient(closest-side, #000 20%, transparent 100%);
}
.hero__ray {
  position: absolute; left: -25%; top: 50%;
  width: 150%; aspect-ratio: 1; margin-top: -75%;
  border-radius: 50%;
}
.hero__ray--1 {
  background: conic-gradient(from 8deg, transparent 0deg, rgba(248, 248, 248, 0.045) 9deg, transparent 21deg, transparent 96deg,
    rgba(248, 248, 248, 0.035) 108deg, transparent 121deg, transparent 198deg, rgba(248, 248, 248, 0.04) 211deg, transparent 226deg,
    transparent 290deg, rgba(248, 248, 248, 0.03) 300deg, transparent 312deg, transparent 360deg);
  animation: ray-turn 240s linear infinite;
}
.hero__ray--2 {
  background: conic-gradient(from 52deg, transparent 0deg, rgba(248, 248, 248, 0.035) 12deg, transparent 27deg, transparent 140deg,
    rgba(248, 248, 248, 0.04) 151deg, transparent 166deg, transparent 250deg, rgba(248, 248, 248, 0.03) 262deg, transparent 278deg, transparent 360deg);
  animation: ray-turn 320s linear infinite reverse;
}
.hero__ray--3 {
  background: conic-gradient(from 120deg, transparent 0deg, rgba(248, 248, 248, 0.03) 18deg, transparent 40deg, transparent 180deg,
    rgba(248, 248, 248, 0.025) 198deg, transparent 220deg, transparent 360deg);
  animation: ray-turn 190s linear infinite;
}
.hero.is-offscreen .hero__ray { animation-play-state: paused; }
@keyframes ray-turn { to { transform: rotate(360deg); } }
@media (min-width: 768px) { .hero__rays { width: 78vw; height: 62vh; } }
@media (min-width: 1024px) {
  .hero__rays { left: auto; right: 11%; top: calc(var(--header-h) + 4vh); bottom: 5vh; height: auto; width: 52vw; transform: none; }
}
@media (min-width: 1440px) { .hero__rays { right: 13%; width: 48vw; } }
@media (max-height: 640px) and (max-width: 1023px) { .hero__rays { height: 46vh; } }

/* ---------- [6] Prelaz slajdova: rastapanje kroz dim (maska od šuma) ---------- */
.hero__media.is-dissolve-out, .hero__text.is-dissolve-out {
  -webkit-mask-image: var(--mask-dissolve-out);
  mask-image: var(--mask-dissolve-out);
}
.hero__media.is-dissolve-in {
  -webkit-mask-image: var(--mask-dissolve-in);
  mask-image: var(--mask-dissolve-in);
}
.is-dissolve-out, .is-dissolve-in {
  -webkit-mask-size: 100% 300%; mask-size: 100% 300%;
  -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
  -webkit-mask-position: 50% calc(var(--dissolve, 0) * 1%);
  mask-position: 50% calc(var(--dissolve, 0) * 1%);
}

/* ---------- [7] Akcenat u naslovu (serif italik) ---------- */
.hero__accent {
  display: inline-block;
  font-family: var(--f-serif); font-style: italic; font-weight: 300;
  color: var(--c-accent); opacity: 0.82;
  letter-spacing: 0;
  padding-right: 0.04em;
}

/* ---------- [8] Šina poglavlja (naslovna, desktop) ---------- */
.chapter-rail { display: none; }
@media (min-width: 1024px) {
  .chapter-rail {
    position: fixed; right: clamp(14px, 1.4vw, 24px); top: 50%; z-index: 70;
    display: flex; align-items: stretch; gap: 12px;
    transform: translateY(-50%);
    pointer-events: none;
    opacity: 0; visibility: hidden;
    transition: opacity 1s var(--ease-out), visibility 0s linear 1s;
  }
  .chapter-rail.is-visible { opacity: 1; visibility: visible; transition: opacity 1s var(--ease-out); }
}
.chapter-rail ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.chapter-rail__item {
  font-size: var(--fs-micro); letter-spacing: 0.12em; line-height: 1; text-align: right;
  color: var(--c-muted);
  transition: color 0.9s var(--ease-out), transform 0.9s var(--ease-expo);
}
.chapter-rail__item.is-current { color: var(--c-accent); transform: translateX(-4px); }
.chapter-rail__line { position: relative; width: 1px; background: var(--c-line-strong); overflow: hidden; }
.chapter-rail__line span { position: absolute; inset: 0; background: var(--c-accent); transform-origin: 50% 0; transform: scaleY(0); }

/* ---------- [9] Velike izbledele reči u pozadini sekcija ---------- */
.section-word {
  position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none;
  display: flex; justify-content: center; align-items: flex-start;
}
.section-word__text {
  display: block;
  font-family: var(--f-display); font-weight: 400;
  line-height: 0.8; letter-spacing: 0.005em; white-space: nowrap;
  font-size: clamp(6.5rem, 19vw, 21rem);
  margin-top: clamp(28px, 5vw, 72px);
  transform: scaleY(1.22); transform-origin: 50% 0;
  opacity: 0.08;
  user-select: none;
}
.section-word ~ * { position: relative; z-index: 1; }

/* ---------- [10] Usluge: pin + horizontalne kartice (desktop) ---------- */
.services-pin__viewport { position: relative; }
.services-pin__progress { display: none; }
.services-pin__progress span { display: block; height: 100%; background: var(--c-accent); transform-origin: 0 50%; transform: scaleX(0); }
@media (min-width: 1024px) {
  .services-pin.is-pinning { padding-block: 0; }
  .services-pin.is-pinning .services-pin__inner {
    min-height: 100vh; min-height: 100svh;
    display: grid; grid-template-columns: minmax(280px, 0.36fr) minmax(0, 1fr);
    gap: clamp(40px, 4vw, 80px); align-items: center;
    padding-top: calc(var(--header-h) - 8px); padding-bottom: 32px;
  }
  .services-pin.is-pinning .services-pin__head { grid-template-columns: 1fr; align-items: start; gap: 32px; margin: 0; max-width: 440px; }
  .services-pin.is-pinning .services-pin__viewport {
    overflow: hidden; padding-top: 36px;
    margin-right: calc(var(--gutter) * -1 - max(0px, (100vw - var(--container)) / 2));
  }
  .services-pin.is-pinning .services-pin__progress { display: block; position: absolute; top: 0; left: 0; right: var(--gutter); height: 1px; background: var(--c-line); }
  .services-pin.is-pinning .services-grid { display: flex; gap: 20px; width: max-content; padding-right: var(--gutter); grid-template-columns: none; }
  .services-pin.is-pinning .service-card { flex: none; width: clamp(300px, 24vw, 380px); }
}

/* ---------- [11] Žive kartice usluga ---------- */
.service-card { transition: border-color var(--dur) var(--ease-out); }
.service-card__media { position: relative; }
.service-card__media img,
.service-card:hover .service-card__media img,
.service-card:focus-within .service-card__media img { transform: none; transform-origin: 60% 40%; transition: filter 0.9s var(--ease-out); }
.service-card__media img { filter: grayscale(1) brightness(0.78) contrast(1.05); }
.service-card:hover .service-card__media img, .service-card:focus-within .service-card__media img { filter: grayscale(1) brightness(0.92) contrast(1.05); }
.service-card.is-inview .service-card__media img { animation: ken-burns 12s ease-in-out infinite alternate; }
@keyframes ken-burns { from { transform: scale(1); } to { transform: scale(1.08) translate3d(-1.2%, -0.8%, 0); } }
.service-card__frame { position: absolute; left: 10px; top: 10px; width: calc(100% - 20px); height: calc(100% - 20px); z-index: 2; pointer-events: none; overflow: visible; }
.service-card__frame rect {
  fill: none; stroke: var(--c-accent); stroke-width: 1;
  stroke-dasharray: var(--len, 2400); stroke-dashoffset: var(--len, 2400);
  opacity: 0.2;
  transition: stroke-dashoffset 2.4s var(--ease-expo), opacity 0.9s var(--ease-out);
}
.service-card.is-drawn .service-card__frame rect { stroke-dashoffset: 0; }
.service-card:hover .service-card__frame rect, .service-card:focus-within .service-card__frame rect { opacity: 0.6; }

/* ---------- [12] Spore trake sa vrednostima ---------- */
.marquee {
  position: relative; overflow: hidden;
  padding: 22px 0;
  border-top: 1px solid var(--c-line); border-bottom: 1px solid var(--c-line);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 14%, #000 86%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 14%, #000 86%, transparent 100%);
}
.marquee__track { display: flex; width: max-content; animation: marquee 72s linear infinite; }
.marquee:hover .marquee__track, .marquee.is-paused .marquee__track { animation-play-state: paused; }
.marquee__run {
  display: flex; align-items: center; gap: 2.4em; padding-right: 2.4em; flex: none;
  font-size: 0.6875rem; font-weight: 400; letter-spacing: 0.48em; text-transform: uppercase;
  color: var(--c-text-soft); white-space: nowrap;
}
.marquee__dot { color: var(--c-accent-soft); letter-spacing: 0; }
@keyframes marquee { to { transform: translate3d(-50%, 0, 0); } }

/* ---------- [14] Filmski lightbox ---------- */
.lightbox { background: transparent; opacity: 1; visibility: visible; transition: none; }
.lightbox[hidden] { display: none; }
.lightbox__backdrop { position: absolute; inset: 0; background: #000; opacity: 0; transition: opacity 0.7s var(--ease-out); }
.lightbox__backdrop .fx-smoke { opacity: 0.35; }
.lightbox.is-open .lightbox__backdrop { opacity: 1; }
.lightbox__figure { z-index: 1; padding: 64px 16px 136px; }
.lightbox__img { transition: opacity 0.45s var(--ease-out); }
.lightbox__img.is-loading { opacity: 0; transform: none; }
.lightbox__btn, .lightbox__meta { opacity: 0; transition: opacity 0.6s var(--ease-out), background-color var(--dur), color var(--dur), border-color var(--dur); }
.lightbox.is-open .lightbox__btn, .lightbox.is-open .lightbox__meta { opacity: 1; transition-delay: 0.25s, 0s, 0s, 0s; }
.lightbox__meta {
  position: absolute; left: 72px; right: 72px; bottom: 24px; z-index: 2;
  display: grid; justify-items: center; gap: 4px; text-align: center; pointer-events: none;
}
.lightbox__count { position: static; font-family: var(--f-serif); font-weight: 300; font-size: 1.25rem; letter-spacing: 0.14em; color: var(--c-text); font-variant-numeric: lining-nums; }
.lightbox__caption { position: static; font-family: var(--f-serif); font-style: italic; font-weight: 300; font-size: 1.0625rem; line-height: 1.4; color: var(--c-text-soft); }
@media (min-width: 768px) { .lightbox__figure { padding: 72px 96px 120px; } .lightbox__meta { bottom: 32px; } }

/* ---------- [15] Slike: crno-bele, topli ton na hover, linije koje se iscrtavaju ---------- */
.media-frame img { filter: grayscale(1) brightness(0.88) contrast(1.04); transition: filter 1s var(--ease-out); }
.media-frame:hover img { filter: grayscale(1) brightness(0.96) contrast(1.04); }
.thumb img { filter: grayscale(1) brightness(0.8) contrast(1.04); }
.thumb:hover img, .thumb:focus-visible img { filter: grayscale(1) brightness(0.95) contrast(1.04); transform: scale(1.04); }
.media-frame::after, .thumb::before, .service-card__media::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: var(--c-tint); mix-blend-mode: color;
  opacity: 0; transition: opacity 1.1s var(--ease-out);
}
.media-frame:hover::after, a.media-frame:focus-visible::after,
.thumb:hover::before, .thumb:focus-visible::before,
.service-card:hover .service-card__media::after, .service-card:focus-within .service-card__media::after { opacity: 0.07; }
.media-wrap { position: relative; }
.draw-line { position: absolute; z-index: 0; pointer-events: none; background: var(--c-line-strong); }
.draw-line--h { left: -12px; bottom: -12px; width: 46%; height: 1px; transform-origin: 0 50%; }
.draw-line--v { left: -12px; bottom: -12px; width: 1px; height: 38%; transform-origin: 50% 100%; }
.motion .draw-line--h { transform: scaleX(0); }
.motion .draw-line--v { transform: scaleY(0); }
.motion [data-reveal="clip"][data-reveal-dir="left"] { clip-path: inset(0 100% 0 0); }
.motion [data-reveal="clip"][data-reveal-dir="right"] { clip-path: inset(0 0 0 100%); }

/* ---------- [16] Kursor: oznake, strelica, trag sjaja ---------- */
.cursor__ring { display: flex; align-items: center; justify-content: center; }
.cursor__label {
  font-size: 9px; font-weight: 400; letter-spacing: 0.3em; padding-left: 0.3em;
  text-transform: uppercase; white-space: nowrap; color: var(--c-text);
  opacity: 0; transition: opacity 0.35s var(--ease-out);
}
.cursor__arrow { position: absolute; width: 14px; height: 14px; color: var(--c-text); opacity: 0; transition: opacity 0.35s var(--ease-out); }
.cursor.is-view .cursor__ring { width: 96px; height: 96px; margin: -48px 0 0 -48px; border-color: rgba(248, 248, 248, 0.55); background: rgba(10, 10, 10, 0.3); }
.cursor.is-call .cursor__ring { width: 84px; height: 84px; margin: -42px 0 0 -42px; border-color: rgba(248, 248, 248, 0.55); background: rgba(10, 10, 10, 0.3); }
.cursor.is-link .cursor__ring { width: 50px; height: 50px; margin: -25px 0 0 -25px; border-color: var(--c-accent); }
.cursor.is-view .cursor__label, .cursor.is-call .cursor__label, .cursor.is-link .cursor__arrow { opacity: 1; }
.cursor.is-view .cursor__dot, .cursor.is-call .cursor__dot, .cursor.is-link .cursor__dot { opacity: 0; }
.cursor__glow {
  position: fixed; top: 0; left: 0; z-index: 55; pointer-events: none;
  width: 240px; height: 240px; margin: -120px 0 0 -120px; border-radius: 50%;
  background: radial-gradient(circle, rgba(248, 248, 248, 0.55) 0%, rgba(248, 248, 248, 0.16) 38%, rgba(248, 248, 248, 0) 70%);
  opacity: 0.2; transition: opacity 0.5s var(--ease-out);
}
.cursor.is-hidden .cursor__glow { opacity: 0; }

/* ---------- [17] Preloader sa brojačem i dimni prelaz stranica ---------- */
.js .preloader { gap: 26px; transition: opacity 1s var(--ease-out), visibility 0s linear 1s; }
.preloader__word {
  display: flex;
  font-family: var(--f-display); font-weight: 400;
  font-size: clamp(3.25rem, 13vw, 8.5rem); line-height: 0.8; letter-spacing: 0.02em;
  color: var(--c-text);
  transform: scaleY(1.22);
  transition: opacity 0.8s var(--ease-out);
}
.preloader__word span { display: inline-block; opacity: 0.1; transition: opacity 1.1s var(--ease-out); }
.preloader__word span.is-on { opacity: 0.9; }
.preloader__line { width: min(280px, 64vw); transition: transform 1.2s var(--ease-expo), opacity 1.1s var(--ease-out); }
.preloader__bar { transition: none; }
.preloader__count {
  font-family: var(--f-serif); font-weight: 300; font-size: 1.375rem; letter-spacing: 0.12em;
  color: var(--c-text-soft); font-variant-numeric: tabular-nums lining-nums;
  min-width: 3ch; text-align: center;
  transition: opacity 0.8s var(--ease-out);
}
.preloader.is-expanding .preloader__line { transform: scaleX(7); opacity: 0; }
.preloader.is-expanding .preloader__word, .preloader.is-expanding .preloader__count { opacity: 0; }

.js .page-transition { background: none; opacity: 1; overflow: hidden; transition: none; }
.js .page-transition.is-hidden { opacity: 1; visibility: hidden; }
.js .page-transition.is-leaving { opacity: 1; pointer-events: auto; }
.page-transition__veil {
  position: absolute; top: 0; bottom: 0; left: 0; width: 220vw;
  transform: translate3d(-60vw, 0, 0);
  background: linear-gradient(90deg, rgba(10, 10, 10, 0) 0%, rgba(10, 10, 10, 0.72) 12%, #0a0a0a 27%, #0a0a0a 73%, rgba(10, 10, 10, 0.72) 88%, rgba(10, 10, 10, 0) 100%);
}
.page-transition__veil .fx-smoke { opacity: 0.6; }
.page-transition__veil .fx-smoke__mask { -webkit-mask-image: none; mask-image: none; }
.page-transition__veil .fx-smoke__layer--3 { display: none; }
.page-transition.is-hidden .fx-smoke__layer { animation: none; }

/* ---------- [18] Footer kao ogledalo hero-a ---------- */
.site-footer { overflow: hidden; isolation: isolate; border-top: 0; }
.site-footer > .container { position: relative; z-index: 2; }
.site-footer__divider {
  position: absolute; left: 0; right: 0; top: 0; height: 1px; z-index: 2;
  background: linear-gradient(90deg, transparent 0%, rgba(248, 248, 248, 0.5) 50%, transparent 100%);
}
.motion .site-footer__divider { transform: scaleX(0); }
.site-footer .fx-smoke--low { top: 30%; opacity: 0.45; }
.site-footer .fx-smoke--low .fx-smoke__mask {
  -webkit-mask-image: radial-gradient(ellipse 85% 90% at 50% 100%, #000 15%, transparent 72%);
  mask-image: radial-gradient(ellipse 85% 90% at 50% 100%, #000 15%, transparent 72%);
}
.site-footer__wordmark { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; display: flex; justify-content: center; pointer-events: none; }
.site-footer__wordmark .section-word__text {
  font-size: clamp(5.5rem, 23vw, 25rem);
  margin: 0 0 -0.3em;
  transform-origin: 50% 100%;
  opacity: 0.07;
}
.motion .site-footer__wordmark .section-word__text, .motion .site-footer__label { opacity: 0; }
.site-footer__label { display: none; }
@media (min-width: 1024px) {
  .site-footer__label {
    display: block; position: absolute; top: 50%; z-index: 2;
    writing-mode: vertical-rl;
    font-size: var(--fs-micro); letter-spacing: var(--tracking-micro); text-transform: uppercase;
    color: var(--c-muted);
  }
  .site-footer__label--left { left: calc(var(--gutter) * 0.3); transform: translateY(-50%) rotate(180deg); }
  .site-footer__label--right { right: calc(var(--gutter) * 0.3); transform: translateY(-50%); }
}

/* ---------- [19] Mikro-interakcije ---------- */
/* dugmad: pozadina ulazi odozdo, strelica izlazi desno i vraća se sleva */
.btn { overflow: hidden; isolation: isolate; transition: color 0.5s var(--ease-out) 0.08s, border-color var(--dur) var(--ease-out), transform var(--dur) var(--ease-out); }
.btn::before {
  content: ""; position: absolute; inset: -1px; z-index: -1; border-radius: inherit;
  transform: scaleY(0); transform-origin: 50% 100%;
  transition: transform 0.75s var(--ease-expo);
}
.btn--primary::before { background: var(--c-bg); }
.btn--outline::before { background: var(--c-accent); }
.btn--primary:hover, .btn--primary:focus-visible { background: var(--c-accent); color: var(--c-accent); }
.btn--outline:hover, .btn--outline:focus-visible { background: rgba(10, 10, 10, 0.2); color: var(--c-accent-ink); border-color: var(--c-accent); }
.btn:hover::before, .btn:focus-visible::before { transform: scaleY(1); }
.btn .icon-arrow { overflow: hidden; }
.btn:hover .icon-arrow, .btn:focus-visible .icon-arrow { transform: none; }
.btn:hover .icon-arrow path, .btn:focus-visible .icon-arrow path { animation: arrow-loop 0.9s var(--ease-expo) both; }
@keyframes arrow-loop {
  0% { transform: translate(0, 0); }
  42% { transform: translate(14px, -14px); }
  42.01% { transform: translate(-14px, 14px); }
  100% { transform: translate(0, 0); }
}

/* tekstualni linkovi: podvlaka se crta od sredine ka krajevima */
.link-arrow { position: relative; background-image: none; }
.link-arrow::after,
.footer-links a::after, .breadcrumbs a::after, .contact-list__value a::after, a.info-cell__value::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 1px;
  background: currentColor; opacity: 0.8;
  transform: scaleX(0); transform-origin: 50% 50%;
  transition: transform 0.7s var(--ease-expo);
  pointer-events: none;
}
.link-arrow::after { bottom: 10px; }
.footer-links a, .breadcrumbs a, .contact-list__value a, a.info-cell__value { position: relative; }
.breadcrumbs a, .contact-list__value a { display: inline-block; }
a.info-cell__value { justify-self: start; }
.link-arrow:hover::after, .link-arrow:focus-visible::after,
.footer-links a:hover::after, .footer-links a:focus-visible::after,
.breadcrumbs a:hover::after, .breadcrumbs a:focus-visible::after,
.contact-list__value a:hover::after, .contact-list__value a:focus-visible::after,
a.info-cell__value:hover::after, a.info-cell__value:focus-visible::after { transform: scaleX(1); }

/* navigacija: jedan klizni indikator umesto podvlake po linku */
.site-nav__indicator {
  position: absolute; left: 0; bottom: 2px; width: 100px; height: 1px;
  background: var(--c-accent); transform-origin: 0 50%; transform: scaleX(0);
  opacity: 0; pointer-events: none;
  transition: transform 0.75s var(--ease-expo), opacity 0.5s var(--ease-out);
}
.site-nav__indicator.no-anim { transition: none; }
.site-nav.has-indicator a::after { display: none; }

/* forma: labela pluta nagore, tanka linija se crta ispod polja */
.js .form .field--float { position: relative; gap: 0; padding-top: 20px; }
.js .form .field--float > label {
  position: absolute; left: 0; top: 0; pointer-events: none;
  transform-origin: 0 0; transform: translateY(36px) scale(1.2);
  color: var(--c-muted);
  transition: transform 0.7s var(--ease-expo), color 0.5s var(--ease-out);
}
.js .form .field--float:focus-within > label, .js .form .field--float.is-filled > label { transform: none; color: var(--c-text-soft); }
.js .form .field--float input::placeholder, .js .form .field--float textarea::placeholder { opacity: 0; transition: opacity 0.4s var(--ease-out); }
.js .form .field--float:focus-within input::placeholder, .js .form .field--float:focus-within textarea::placeholder { opacity: 1; }
.js .form .field--float input:focus, .js .form .field--float select:focus, .js .form .field--float textarea:focus { border-bottom-color: var(--c-line-strong); }
.field__line {
  position: relative; display: block; height: 1px; margin-top: -1px;
  background: var(--c-accent); transform: scaleX(0); transform-origin: 50% 50%;
  transition: transform 0.9s var(--ease-expo);
}
.field--float:focus-within .field__line { transform: scaleX(1); }
.field--float .field__error:not(:empty) { margin-top: 8px; }

/* nazad na vrh: prsten se puni glatko (JS), strelica se pomera nagore */
.to-top__ring-fg { transition: none; }
.to-top svg.to-top__icon { transition: transform 0.7s var(--ease-expo); }
.to-top:hover svg.to-top__icon, .to-top:focus-visible svg.to-top__icon { transform: translateY(-4px); }

/* ---------- Smanjeno kretanje: bez ambijentalnih petlji, reveal = kratak fade ---------- */
.motion-reduce [data-reveal], .motion-reduce [data-reveal-group] > * { opacity: 0; }
.motion-reduce [data-reveal].is-revealed, .motion-reduce [data-reveal-group] > .is-revealed { opacity: 1; }
@media (prefers-reduced-motion: reduce) {
  .hero__ray, .marquee__track, .wordmark__breath, .service-card__media img, .fx-grain,
  .page-transition__veil .fx-smoke__layer, .lightbox .fx-smoke__layer { animation: none !important; }
  .motion-reduce .rm-reveal { transition-property: opacity !important; transition-duration: 0.8s !important; transition-timing-function: ease !important; }
}
