/* ============================================================
   A&A MUŠKA ODELA — base.css
   Dizajn tokeni, reset, modularna tipografska skala, dugmad,
   forme, materijal (zrno, vinjeta, zlatne vlasi), utilities.
   ============================================================ */

/* ============================================================
   1. DIZAJN TOKENI — jedino mesto za boje, razmake, kretanje
   ============================================================ */
:root {
  /* ---- Pozadine (naizmenične za slojevitost) ---- */
  --bg:            #0b0b0c;
  --bg-alt:        #121110;   /* topliji sloj za naizmenične sekcije */
  --bg-deep:       #080809;
  --surface:       #151517;
  --surface-2:     #1b1b1e;
  --surface-3:     #232327;
  --surface-hi:    #2b2b30;

  /* ---- Linije: zlatne vlasi umesto sivih ivica ---- */
  --line:          rgba(212, 169, 92, 0.13);
  --line-2:        rgba(212, 169, 92, 0.22);
  --line-strong:   rgba(212, 169, 92, 0.34);
  --line-cool:     rgba(255, 255, 255, 0.07);

  /* ---- Zlatni akcenat ---- */
  --gold:          #d4a95c;   /* 9.0:1 na --bg — prolazi AA i za mali tekst */
  --gold-2:        #e0b46c;
  --gold-3:        #f0cd90;
  --gold-deep:     #a97f3a;
  --gold-soft:     rgba(212, 169, 92, 0.12);
  --gold-soft-2:   rgba(212, 169, 92, 0.26);
  --gold-glow:     rgba(212, 169, 92, 0.05);
  --champagne:     #e9d9be;

  /* ---- Tekst ---- */
  --text:          #f3f0ea;
  --text-2:        rgba(243, 240, 234, 0.72);  /* 8.8:1 */
  --text-3:        rgba(243, 240, 234, 0.52);  /* 5.2:1 */
  --text-4:        rgba(243, 240, 234, 0.40);
  --on-gold:       #17130b;

  /* ---- Statusi ---- */
  --ok:            #6fdc9b;
  --warn:          #e5a33c;
  --danger:        #e88178;

  /* ---- Pisma ---- */
  --f-serif: "Playfair Display", Georgia, "Times New Roman", "DejaVu Serif", serif;
  --f-sans:  "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  /* ---- Modularna skala 1.25 (osnova 16px) ---- */
  --fs-100: 0.64rem;    /* 10.2 — mikro-oznake */
  --fs-200: 0.8rem;     /* 12.8 — sitno */
  --fs-300: 0.9rem;     /* 14.4 — pomoćni tekst */
  --fs-400: 1rem;       /* 16   — osnovni tekst */
  --fs-500: 1.25rem;    /* 20   */
  --fs-600: 1.5625rem;  /* 25   */
  --fs-700: 1.953rem;   /* 31.2 */
  --fs-800: 2.441rem;   /* 39   */
  --fs-900: 3.052rem;   /* 48.8 */
  --fs-1000: 3.815rem;  /* 61   */
  --fs-1100: 4.768rem;  /* 76.3 */

  /* ---- Radijusi ---- */
  --r-xs:   8px;
  --r-sm:   12px;
  --r:      16px;
  --r-lg:   22px;
  --r-xl:   28px;
  --r-pill: 999px;

  /* ---- Senke ---- */
  --sh-sm:   0 2px 10px rgba(0, 0, 0, 0.35);
  --sh:      0 10px 34px rgba(0, 0, 0, 0.45);
  --sh-lg:   0 26px 70px rgba(0, 0, 0, 0.58);
  --sh-gold: 0 12px 38px rgba(212, 169, 92, 0.22);

  /* ---- Razmaci (4pt skala) ---- */
  --s-1: 4px;   --s-2: 8px;   --s-3: 12px;  --s-4: 16px;
  --s-5: 24px;  --s-6: 32px;  --s-7: 48px;  --s-8: 64px;
  --s-9: 96px;  --s-10: 128px;

  /* ---- Layout ---- */
  --wrap:     1280px;
  --wrap-nar: 1080px;
  --nav-h:    78px;

  /* ---- KRETANJE: jedna porodica ublažavanja, tri trajanja ---- */
  --e-out:    cubic-bezier(0.22, 1, 0.36, 1);      /* ulazak — glavno */
  --e-in:     cubic-bezier(0.64, 0, 0.78, 0);      /* izlazak */
  --e-soft:   cubic-bezier(0.4, 0, 0.2, 1);        /* neutralno */
  --e-spring: cubic-bezier(0.34, 1.56, 0.64, 1);   /* blagi odskok */

  --d-fast: 200ms;
  --d-base: 400ms;
  --d-slow: 800ms;

  --t-fast: var(--d-fast) var(--e-out);
  --t:      var(--d-base) var(--e-out);
  --t-slow: var(--d-slow) var(--e-out);

  /* ---- Slojevi ---- */
  --z-base: 1;
  --z-sticky: 40;
  --z-nav: 60;
  --z-panel: 80;
  --z-float: 90;
  --z-modal: 120;
  --z-toast: 140;
  --z-veil: 160;
  --z-preload: 200;
}

/* ============================================================
   2. RESET
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 16px);
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--f-sans);
  font-size: var(--fs-400);
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  min-height: 100vh;
}

body.no-scroll { overflow: hidden; }

img, picture, svg, video { display: block; max-width: 100%; }
img { height: auto; }
/* <picture> ne sme da uvede dodatni okvir oko <img> */
picture { display: contents; }

h1, h2, h3, h4, h5, h6 { margin: 0; font-weight: 500; line-height: 1.14; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
figure { margin: 0; }

a { color: inherit; text-decoration: none; transition: color var(--t-fast); }

button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
input, textarea, select { font: inherit; color: inherit; }
table { border-collapse: collapse; width: 100%; }

/* Izbor teksta — zlatna podloga, crn tekst */
::selection { background: var(--gold); color: var(--on-gold); text-shadow: none; }
::-moz-selection { background: var(--gold); color: var(--on-gold); }

/* Fokus — uvek vidljiv, zlatan, sa odmakom */
:focus-visible {
  outline: 2px solid var(--gold-2);
  outline-offset: 3px;
  border-radius: 4px;
}
:focus:not(:focus-visible) { outline: none; }

/* Skrol traka — tanka, tamna staza, zlatkast klizač */
* { scrollbar-width: thin; scrollbar-color: var(--gold-deep) var(--bg-deep); }
::-webkit-scrollbar { width: 9px; height: 9px; }
::-webkit-scrollbar-track { background: var(--bg-deep); }
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--gold-deep), #6f5326);
  border-radius: var(--r-pill);
  border: 2px solid var(--bg-deep);
}
::-webkit-scrollbar-thumb:hover { background: var(--gold); }

/* ============================================================
   3. TIPOGRAFIJA
   ============================================================ */
/* Kurzivni serifni akcenat — jedna reč po naslovu (modni editorijal) */
h1 em, h2 em, h3 em, .h1 em, .h2 em, .h3 em,
.hero__title em, .pd-info__title em, .lookbook__line em,
.modal__title em, .empty__t em, .footer__line em {
  font-style: italic;
  font-weight: 400;
  color: var(--gold-2);
  font-family: var(--f-serif);
}

.h1 {
  font-family: var(--f-serif);
  font-size: clamp(var(--fs-800), 4.4vw, var(--fs-1000));
  line-height: 1.06;
  letter-spacing: -0.018em;
}

.h2 {
  font-family: var(--f-serif);
  font-size: clamp(var(--fs-700), 3.4vw, var(--fs-900));
  line-height: 1.1;
  letter-spacing: -0.014em;
}

.h3 {
  font-family: var(--f-serif);
  font-size: clamp(var(--fs-600), 2.2vw, var(--fs-700));
  line-height: 1.18;
  letter-spacing: -0.008em;
}

.h4 {
  font-family: var(--f-serif);
  font-size: var(--fs-500);
  line-height: 1.28;
}

/* Mikro-oznaka: VELIKA SLOVA, razmaknuto, zlatna vlas ispred */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: var(--fs-100);
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  line-height: 1;
}
.eyebrow::before {
  content: "";
  width: 24px;
  height: 1px;
  background: currentColor;
  opacity: 0.8;
  flex: none;
}
.eyebrow.no-rule::before { display: none; }

.lead {
  font-size: clamp(var(--fs-300), 1.1vw, 1.06rem);
  color: var(--text-2);
  line-height: 1.78;
  max-width: 65ch;
}

.muted-2{ color: var(--text-3); }
.gold   { color: var(--gold); }

.price {
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum" 1;
}

/* Veliki broj sekcije u margini — editorijalni potpis */
.section-num {
  position: absolute;
  top: -0.22em;
  left: calc(-1 * clamp(8px, 3.6vw, 78px));
  font-family: var(--f-serif);
  font-size: clamp(4rem, 11vw, 9.5rem);
  font-weight: 400;
  line-height: 1;
  color: var(--gold);
  opacity: 0.075;
  pointer-events: none;
  user-select: none;
  z-index: 0;
  letter-spacing: -0.04em;
}
@media (max-width: 1100px) {
  .section-num { left: 0; opacity: 0.055; }
}

/* ============================================================
   4. LAYOUT POMOĆNICI
   ============================================================ */
.wrap {
  position: relative;
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: clamp(18px, 4vw, 40px);
}
.wrap-narrow { max-width: var(--wrap-nar); }

.section { position: relative; padding-block: clamp(60px, 8.5vw, 124px); }
.section-sm { position: relative; padding-block: clamp(40px, 5vw, 68px); }

/* Naizmenični slojevi pozadine + jedva vidljiv zlatni sjaj */
.section--alt { background: var(--bg-alt); }
.section--glow::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(760px 420px at 18% 12%, var(--gold-glow), transparent 68%);
  z-index: 0;
}
.section--glow > * { position: relative; z-index: 1; }

/* Zlatna vlas kao razdelnik sekcija */
.section--hairline { border-top: 1px solid var(--line); }

.section-head {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--s-5);
  flex-wrap: wrap;
  margin-bottom: clamp(30px, 4vw, 56px);
}
.section-head__text { max-width: 62ch; }
.section-head__text .h2 { margin-top: 16px; }

.grid { display: grid; gap: clamp(16px, 2vw, 26px); }
.center { display: flex; align-items: center; justify-content: center; }

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -80px;
  z-index: calc(var(--z-preload) + 1);
  background: var(--gold);
  color: var(--on-gold);
  padding: 12px 20px;
  border-radius: var(--r-pill);
  font-weight: 600;
  font-size: var(--fs-200);
  transition: top var(--t);
}
.skip-link:focus { top: 16px; }

/* ============================================================
   5. DUGMAD
   ============================================================ */
.btn {
  --btn-h: 52px;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: var(--btn-h);
  padding: 0 28px;
  border-radius: var(--r-pill);
  font-size: var(--fs-200);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  white-space: nowrap;
  cursor: pointer;
  border: 1px solid transparent;
  overflow: hidden;
  isolation: isolate;
  transition: transform var(--d-base) var(--e-spring),
              background var(--t-fast),
              border-color var(--t-fast),
              color var(--t-fast),
              box-shadow var(--t);
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}
.btn > * { position: relative; z-index: 2; }
.btn .ico { width: 17px; height: 17px; flex: none; }

/* Zlatno dugme sa dijagonalnim preletom svetla */
.btn-gold {
  background: linear-gradient(135deg, var(--gold-2) 0%, var(--gold) 46%, var(--gold-deep) 100%);
  color: var(--on-gold);
  box-shadow: 0 6px 22px rgba(212, 169, 92, 0.2);
}
.btn-gold::after {
  content: "";
  position: absolute;
  top: -60%;
  left: -70%;
  width: 45%;
  height: 220%;
  z-index: 1;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.55), transparent);
  transform: rotate(18deg) translateX(0);
  opacity: 0;
  pointer-events: none;
}
.btn-gold:hover {
  box-shadow: var(--sh-gold);
  transform: translateY(-2px);
  filter: brightness(1.05);
}
.btn-gold:hover::after { animation: btn-sheen 800ms var(--e-soft); }
@keyframes btn-sheen {
  0%   { opacity: 0;    transform: rotate(18deg) translateX(0); }
  16%  { opacity: 0.85; }
  100% { opacity: 0;    transform: rotate(18deg) translateX(420%); }
}
.btn-gold:active { transform: translateY(0); }

/* Sekundarno dugme — podloga uklizava sleva */
.btn-ghost {
  background: transparent;
  border-color: var(--line-2);
  color: var(--text);
}
.btn-ghost::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: var(--gold-soft);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--d-base) var(--e-out);
}
.btn-ghost:hover {
  border-color: var(--gold);
  color: var(--gold-2);
  transform: translateY(-2px);
  box-shadow: 0 8px 26px rgba(0, 0, 0, 0.35);
}
.btn-ghost:hover::before { transform: scaleX(1); }

.btn-light { background: var(--champagne); color: #16130e; }
.btn-light::after {
  content: "";
  position: absolute;
  top: -60%; left: -70%;
  width: 45%; height: 220%;
  z-index: 1;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.85), transparent);
  transform: rotate(18deg);
  opacity: 0;
  pointer-events: none;
}
.btn-light:hover { background: #fff; transform: translateY(-2px); box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4); }
.btn-light:hover::after { animation: btn-sheen 800ms var(--e-soft); }

.btn-outline-light {
  border-color: rgba(255, 255, 255, 0.3);
  color: #fff;
  backdrop-filter: blur(8px);
  background: rgba(255, 255, 255, 0.05);
}
.btn-outline-light::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(255, 255, 255, 0.12);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--d-base) var(--e-out);
}
.btn-outline-light:hover { border-color: #fff; transform: translateY(-2px); }
.btn-outline-light:hover::before { transform: scaleX(1); }

.btn-sm { --btn-h: 44px; padding: 0 20px; font-size: var(--fs-100); letter-spacing: 0.13em; }
.btn-lg { --btn-h: 58px; padding: 0 34px; }
.btn-block { width: 100%; }

.btn[disabled] { opacity: 0.45; pointer-events: none; cursor: not-allowed; }

.btn.is-loading { color: transparent; pointer-events: none; }
.btn.is-loading::before { display: none; }
.btn.is-loading .ico { opacity: 0; }
.btn.is-loading::after {
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  width: 18px; height: 18px;
  border: 2px solid rgba(0, 0, 0, 0.25);
  border-top-color: var(--on-gold);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
  opacity: 1;
  transform: none;
  background: none;
  z-index: 3;
}
.btn-ghost.is-loading::after,
.btn-outline-light.is-loading::after { border-color: var(--line-2); border-top-color: var(--gold); }

/* Trenutak uspeha — dugme se nakratko pretvori u potvrdu */
.btn.is-done {
  background: var(--gold-3) !important;
  color: var(--on-gold) !important;
  animation: btn-pulse 700ms var(--e-out);
}
@keyframes btn-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(212, 169, 92, 0.55); }
  70%  { box-shadow: 0 0 0 16px rgba(212, 169, 92, 0); }
  100% { box-shadow: 0 0 0 0 rgba(212, 169, 92, 0); }
}

@keyframes spin { to { transform: rotate(360deg); } }

/* Ikonično dugme */
.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px; height: 46px;
  border-radius: 50%;
  border: 1px solid var(--line-2);
  background: var(--surface-2);
  color: var(--text-2);
  cursor: pointer;
  transition: color var(--t-fast), border-color var(--t-fast),
              background var(--t-fast), transform var(--d-base) var(--e-spring);
  flex: none;
  -webkit-tap-highlight-color: transparent;
}
.icon-btn:hover {
  color: var(--gold-2);
  border-color: var(--gold);
  background: var(--gold-soft);
  transform: translateY(-2px);
}
.icon-btn .ico { width: 19px; height: 19px; }

/* Tanki ševron u krugu */
.round-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px; height: 56px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  color: #fff;
  transition: background var(--t), border-color var(--t), color var(--t),
              transform var(--d-base) var(--e-spring);
  flex: none;
}
.round-arrow:hover { background: var(--gold); border-color: var(--gold); color: var(--on-gold); }
.round-arrow .ico { width: 20px; height: 20px; stroke-width: 1.3; }

/* ============================================================
   6. IKONE
   ============================================================ */
.ico {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: none;
}

/* ============================================================
   7. FORME — sa plutajućim oznakama
   ============================================================ */
.field { display: block; margin-bottom: var(--s-5); }

.field__label {
  display: block;
  font-size: var(--fs-100);
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 9px;
}

.input, .textarea, .select {
  width: 100%;
  min-height: 54px;
  padding: 15px 18px;
  background: var(--surface-2);
  border: 1px solid var(--line-cool);
  border-radius: var(--r-sm);
  color: var(--text);
  font-size: var(--fs-300);
  transition: border-color var(--t-fast), background var(--t-fast), box-shadow var(--t-fast);
  -webkit-appearance: none;
  appearance: none;
}
.textarea { min-height: 136px; resize: vertical; line-height: 1.7; }

.input::placeholder, .textarea::placeholder { color: var(--text-4); }
.input:hover, .textarea:hover, .select:hover { border-color: var(--line-2); }

.input:focus, .textarea:focus, .select:focus {
  outline: none;
  border-color: var(--gold);
  background: var(--surface-3);
  box-shadow: 0 0 0 3px var(--gold-soft);
}

.select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23d4a95c' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 44px;
  cursor: pointer;
}
.select option { background: var(--surface-2); color: var(--text); }

/* --- Plutajuća oznaka --- */
.field--float { position: relative; }
.field--float .field__label {
  position: absolute;
  left: 18px;
  top: 17px;
  margin: 0;
  padding: 0 6px;
  font-size: var(--fs-300);
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  color: var(--text-3);
  pointer-events: none;
  transform-origin: left top;
  transition: transform var(--d-base) var(--e-out), color var(--t-fast);
  background: linear-gradient(180deg, transparent 42%, var(--surface-2) 42%);
  border-radius: 3px;
}
.field--float .input,
.field--float .textarea { padding-top: 22px; padding-bottom: 10px; }
.field--float .textarea { padding-top: 26px; }

.field--float .input:focus ~ .field__label,
.field--float .textarea:focus ~ .field__label,
.field--float .input:not(:placeholder-shown) ~ .field__label,
.field--float .textarea:not(:placeholder-shown) ~ .field__label {
  transform: translateY(-11px) scale(0.76);
  color: var(--gold);
}
.field--float .input:focus ~ .field__label { color: var(--gold-2); }
.field--float .input::placeholder,
.field--float .textarea::placeholder { color: transparent; }
.field--float .input:focus::placeholder,
.field--float .textarea:focus::placeholder { color: var(--text-4); }

.field__help {
  display: block;
  font-size: var(--fs-200);
  color: var(--text-3);
  margin-top: 8px;
  line-height: 1.5;
}

.field__error {
  display: none;
  font-size: var(--fs-200);
  color: var(--danger);
  margin-top: 8px;
  align-items: center;
  gap: 7px;
  animation: err-in 320ms var(--e-out);
}
@keyframes err-in { from { opacity: 0; transform: translateY(-4px); } }
.field__error .ico { width: 14px; height: 14px; }

.field.has-error .input,
.field.has-error .textarea,
.field.has-error .select {
  border-color: var(--danger);
  box-shadow: 0 0 0 3px rgba(232, 129, 120, 0.12);
}
.field.has-error .field__error { display: flex; }
.field.has-error.field--float .field__label { color: var(--danger); }

/* ============================================================
   8. ZNAČKE / STANJA
   ============================================================ */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 13px;
  border-radius: var(--r-pill);
  font-size: var(--fs-100);
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  line-height: 1;
}
.badge-gold  { background: var(--gold); color: var(--on-gold); }
.badge-new   { background: var(--champagne); color: #16130e; }

.stock-dot {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: var(--fs-300);
  color: var(--text-2);
}
.stock-dot::before {
  content: "";
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--ok);
  box-shadow: 0 0 0 4px rgba(111, 220, 155, 0.15);
  flex: none;
}
.stock-dot.is-out::before { background: var(--warn); box-shadow: 0 0 0 4px rgba(229, 163, 60, 0.15); }

/* ============================================================
   9. PANELI
   ============================================================ */
.panel {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
}

/* ============================================================
   10. OTKRIVANJE PRI SKROLU
   ============================================================ */
[data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity var(--d-slow) var(--e-out), transform var(--d-slow) var(--e-out);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}
[data-reveal="left"]  { transform: translateX(-30px); }
[data-reveal="right"] { transform: translateX(30px); }
[data-reveal="zoom"]  { transform: scale(0.94); }
[data-reveal="fade"]  { transform: none; }
[data-reveal].is-in { opacity: 1; transform: none; }

/* Maskirano podizanje redova naslova (line-by-line) */
.line-mask {
  display: block;
  overflow: hidden;
  padding-bottom: 0.06em;
  margin-bottom: -0.06em;
}
.line-mask > span {
  display: block;
  transform: translateY(105%);
  transition: transform 900ms var(--e-out);
  transition-delay: var(--line-delay, 0ms);
  will-change: transform;
}
.is-in .line-mask > span,
.line-mask.is-in > span { transform: translateY(0); }

/* Otkrivanje slike „zavesom" */
.img-reveal { overflow: hidden; }
.img-reveal > img,
.img-reveal > picture > img {
  transform: scale(1.09);
  clip-path: inset(0 0 100% 0);
  transition: transform 1200ms var(--e-out), clip-path 1000ms var(--e-out);
  transition-delay: var(--reveal-delay, 0ms);
}
.img-reveal.is-in > img,
.img-reveal.is-in > picture > img { transform: scale(1); clip-path: inset(0 0 0 0); }

/* ============================================================
   11. MATERIJAL — zrno, vinjeta, sjaj
   ============================================================ */

/* Filmsko zrno preko celog sajta — ubija „ravni digitalni" utisak */
.film-grain {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.028;
  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='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 160px 160px;
  mix-blend-mode: overlay;
}

/* Lokalno zrno unutar elementa */
.grain::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.3;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='0.42'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
}

/* ============================================================
   12. UTILITIES
   ============================================================ */
.rel { position: relative; }
.tc { text-align: center; }
.mt-4 { margin-top: var(--s-4); }
.mt-5 { margin-top: var(--s-5); }
.mt-6 { margin-top: var(--s-6); }
.mb-5 { margin-bottom: var(--s-5); }
.hide { display: none !important; }

/* ============================================================
   13. SMANJENO KRETANJE — sadržaj uvek ostaje vidljiv
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  [data-reveal] { opacity: 1 !important; transform: none !important; }
  .line-mask > span { transform: none !important; }
  .img-reveal > img,
  .img-reveal > picture > img { transform: none !important; clip-path: none !important; }
  .film-grain { display: none; }
  .btn-gold::after, .btn-light::after { display: none; }
}
