/* ==========================================================================
   JA ROCKY — stil
   Tamni filmski sustav: crna, prljavo bijela, jedna boja ere (--era).
   ========================================================================== */

/* ---------- Fontovi (lokalno, bez trećih strana) ---------- */
@font-face { font-family: 'Clash Display'; src: url('../fonts/clash-display-500.woff2') format('woff2'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'Clash Display'; src: url('../fonts/clash-display-600.woff2') format('woff2'); font-weight: 600; font-display: swap; }
@font-face { font-family: 'Satoshi'; src: url('../fonts/satoshi-400.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Satoshi'; src: url('../fonts/satoshi-500.woff2') format('woff2'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'Satoshi'; src: url('../fonts/satoshi-700.woff2') format('woff2'); font-weight: 700; font-display: swap; }
@font-face {
  font-family: 'JetBrains Mono'; src: url('../fonts/jetbrains-mono-latin.woff2') format('woff2');
  font-weight: 100 800; font-display: swap;
  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: 'JetBrains Mono'; src: url('../fonts/jetbrains-mono-latin-ext.woff2') format('woff2');
  font-weight: 100 800; font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ---------- Tokeni ---------- */
:root {
  --bg: #0a0a0a;
  --bg-2: #131312;
  --fg: #edede6;
  --fg-2: rgb(237 237 230 / .64);
  --fg-3: rgb(237 237 230 / .4);
  --line: rgb(237 237 230 / .14);
  --era: #b3122a;

  --font-display: 'Clash Display', 'Helvetica Neue', Arial, sans-serif;
  --font-text: 'Satoshi', 'Helvetica Neue', Arial, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, Menlo, monospace;

  --gutter: clamp(16px, 4vw, 56px);
  --header-h: 72px;
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-in-out: cubic-bezier(.77, 0, .175, 1);

  color-scheme: dark;
}

/* ---------- Osnova ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { background: var(--bg); scrollbar-gutter: stable; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: var(--header-h); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }

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

img, video, iframe { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
ul, ol { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, p, figure { margin: 0; }
::selection { background: var(--era); color: var(--fg); }
:focus-visible { outline: 1px solid var(--fg); outline-offset: 4px; }

.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; }
.hp { position: absolute; left: -9999px; opacity: 0; pointer-events: none; }
.skip {
  position: fixed; left: var(--gutter); top: 12px; z-index: 300;
  padding: 10px 14px; background: var(--fg); color: var(--bg);
  font-family: var(--font-mono); font-size: 12px;
  transform: translateY(-200%);
}
.skip:focus { transform: none; }

.mono { font-family: var(--font-mono); font-size: 11px; font-weight: 400; letter-spacing: .08em; text-transform: uppercase; line-height: 1.4; }
.display { font-family: var(--font-display); font-weight: 600; text-transform: uppercase; letter-spacing: -.025em; line-height: .9; overflow-wrap: normal; word-break: normal; hyphens: manual; text-wrap: balance; }

/* ---------- Stanja animacija (bez skripte sve je vidljivo) ---------- */
.js .page { opacity: 0; transition: opacity .9s var(--ease-out); }
.js .header { opacity: 0; }
.is-ready .page, .is-ready .header { opacity: 1; }
.motion [data-reveal],
.motion [data-hero-in],
.motion [data-split]:not([data-scrub]) { visibility: hidden; }

.char { display: inline-block; will-change: transform; }
/* razmak gore/dolje da kvačice (Š, Č, Ć, Ž) i repovi slova ne budu odrezani */
.w { display: inline-block; overflow: hidden; vertical-align: top; padding: .16em 0 .08em; margin: -.16em 0 -.08em; }
.w__i { display: inline-block; will-change: transform; }

/* Maska: zavjesa se povlači, slika se smiruje (samo transform) */
.mask { position: relative; overflow: hidden; }
.mask::after {
  content: ''; position: absolute; inset: -1px; z-index: 2;
  background: var(--bg); transform-origin: top; transform: scaleY(0);
  transition: transform 1.4s var(--ease-in-out);
}
.mask > * { transition: transform 1.8s var(--ease-out); }
.motion .mask:not(.is-in)::after { transform: scaleY(1); }
.motion .mask:not(.is-in) > * { transform: scale(1.25); }

/* ---------- Filmsko zrno ---------- */
.grain {
  position: fixed; inset: -25%; z-index: 250; pointer-events: none; opacity: .07;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 200px;
  animation: grain 1.1s steps(6) infinite;
  will-change: transform;
}
@keyframes grain {
  0%, 100% { transform: translate(0, 0); }
  17% { transform: translate(-6%, 4%); }
  33% { transform: translate(4%, -8%); }
  50% { transform: translate(-9%, -3%); }
  67% { transform: translate(7%, 6%); }
  83% { transform: translate(-3%, 9%); }
}

/* ---------- Gumbi ---------- */
.btn {
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 48px; padding: 0 24px; border-radius: 999px;
  font-family: var(--font-mono); font-size: 12px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase;
  white-space: nowrap;
  transition: color .5s var(--ease-out), border-color .5s var(--ease-out);
}
.btn::before {
  content: ''; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
  background: var(--era); transform: translateY(101%);
  transition: transform .6s var(--ease-out);
}
.btn--solid { background: var(--fg); color: var(--bg); }
.btn--ghost { border: 1px solid var(--line); }
.btn--sm { height: 38px; padding: 0 16px; font-size: 11px; }
.btn--lg { height: 58px; padding: 0 32px; }
.btn__arrow { display: inline-block; transition: transform .6s var(--ease-out); }
@media (hover: hover) {
  .btn:hover::before, .release-chip:hover .btn::before { transform: none; }
  .btn--solid:hover, .release-chip:hover .btn--solid { color: var(--fg); }
  .btn--ghost:hover { border-color: var(--era); }
  .btn:hover .btn__arrow, .release-chip:hover .btn__arrow { transform: translate(3px, -2px); }
}

/* ---------- Liste linkova (mreže) ---------- */
.links { display: flex; flex-wrap: wrap; gap: 2px 22px; }
.links a {
  position: relative; display: inline-flex; gap: 6px; padding: 8px 0;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase;
  color: var(--fg-2); transition: color .4s;
}
.links a::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 5px; height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: right; transition: transform .6s var(--ease-out);
}
@media (hover: hover) {
  .links a:hover { color: var(--fg); }
  .links a:hover::after { transform: scaleX(1); transform-origin: left; }
}

.lang { display: flex; align-items: center; gap: 6px; color: var(--fg-3); }
.lang a { padding: 8px 2px; color: var(--fg-3); transition: color .3s; }
.lang a[aria-current="true"], .lang a:hover { color: var(--fg); }

/* ---------- Header ---------- */
.header {
  position: fixed; inset: 0 0 auto; z-index: 120; height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between; padding: 0 var(--gutter);
  transition: transform .7s var(--ease-out), opacity .9s var(--ease-out);
}
.header::before {
  content: ''; position: absolute; inset: 0 0 -24px; z-index: -1; pointer-events: none;
  background: linear-gradient(to bottom, rgb(10 10 10 / .9), rgb(10 10 10 / 0));
  opacity: 0; transition: opacity .5s;
}
.header.is-scrolled::before { opacity: 1; }
.header.is-hidden { transform: translateY(-100%); }
.menu-open .header { transform: none; }
.menu-open .header::before { opacity: 0; }
/* Logo: JR monogram, crna podloga, bijela slova */
.logo {
  display: grid; place-items: center; width: 42px; height: 42px;
  background: #000; color: #fff; border: 1px solid rgb(237 237 230 / .22);
  font-family: var(--font-display); font-weight: 600; font-size: 16px; letter-spacing: .02em; line-height: 1;
  transition: border-color .4s, transform .6s var(--ease-out);
}
.logo span { transform: translateY(.04em); }
@media (hover: hover) { .logo:hover { border-color: var(--fg); } }
.header--static { position: absolute; }
.header__actions { display: flex; align-items: center; gap: clamp(12px, 2vw, 22px); }

/* Izbornik jezika u headeru */
.lang-pick { position: relative; }
.lang-pick__btn { display: flex; align-items: center; gap: 7px; height: 38px; padding: 0 2px; color: var(--fg); }
.lang-pick__btn i {
  width: 6px; height: 6px; border-right: 1px solid currentColor; border-bottom: 1px solid currentColor;
  transform: translateY(-2px) rotate(45deg); transition: transform .45s var(--ease-out);
}
.lang-pick.is-open .lang-pick__btn i { transform: translateY(1px) rotate(-135deg); }
.lang-pick__menu {
  position: absolute; top: calc(100% + 10px); right: -14px; min-width: 176px; padding: 6px;
  background: rgb(19 19 18 / .97); border: 1px solid var(--line);
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .35s var(--ease-out), transform .45s var(--ease-out), visibility 0s .45s;
}
.lang-pick.is-open .lang-pick__menu { opacity: 1; visibility: visible; transform: none; transition: opacity .35s var(--ease-out), transform .45s var(--ease-out); }
.lang-pick__menu a {
  display: flex; align-items: baseline; justify-content: space-between; gap: 18px; padding: 11px 12px;
  color: var(--fg-2); font-size: 15px; transition: background-color .3s, color .3s;
}
.lang-pick__menu a .mono { color: var(--fg-3); }
.lang-pick__menu a:hover, .lang-pick__menu a[aria-current="true"] { color: var(--fg); background: rgb(237 237 230 / .06); }

.menu-btn { display: flex; align-items: center; gap: 12px; height: 40px; }
.menu-btn__label {
  display: grid; height: 1.4em; overflow: hidden;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; line-height: 1.4;
}
.menu-btn__label span { grid-area: 1 / 1; transition: transform .6s var(--ease-out); }
.menu-btn__label span:last-child { transform: translateY(110%); }
.menu-open .menu-btn__label span:first-child { transform: translateY(-110%); }
.menu-open .menu-btn__label span:last-child { transform: none; }
.menu-btn__lines { position: relative; width: 26px; height: 10px; }
.menu-btn__lines i { position: absolute; left: 0; width: 100%; height: 1.5px; background: currentColor; transition: transform .6s var(--ease-out); }
.menu-btn__lines i:first-child { top: 0; }
.menu-btn__lines i:last-child { bottom: 0; }
.menu-open .menu-btn__lines i:first-child { transform: translateY(4.25px) rotate(45deg); }
.menu-open .menu-btn__lines i:last-child { transform: translateY(-4.25px) rotate(-45deg); }

/* ---------- Meni ---------- */
.menu {
  position: fixed; inset: 0; z-index: 110;
  display: flex; flex-direction: column; justify-content: space-between; gap: 40px;
  padding: calc(var(--header-h) + 24px) var(--gutter) calc(var(--gutter) + env(safe-area-inset-bottom));
  background: var(--bg);
  transform: translateY(-101%); visibility: hidden;
  transition: transform .9s var(--ease-in-out), visibility 0s .9s;
}
.menu-open .menu { transform: none; visibility: visible; transition: transform .9s var(--ease-in-out); }
.menu__nav { display: flex; flex-direction: column; }
.menu__nav a { display: flex; align-items: baseline; gap: 16px; padding: 3px 0; overflow: hidden; }
.menu__nav .mono { color: var(--fg-3); }
.menu__word {
  display: block; font-family: var(--font-display); font-weight: 600; text-transform: uppercase;
  font-size: clamp(36px, min(10.5vw, 9.5vh), 120px); line-height: .95; letter-spacing: -.03em;
  transition: color .4s;
}
.menu__nav .mono, .menu__word { transform: translateY(110%); transition: transform .9s var(--ease-out), color .4s; }
.menu-open .menu__nav .mono, .menu-open .menu__word { transform: none; transition-delay: calc(.3s + var(--i) * .06s), 0s; }
@media (hover: hover) { .menu__nav a:hover .menu__word { color: var(--era); } }
.menu__foot { display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 20px; opacity: 0; transition: opacity .5s; }
.menu-open .menu__foot { opacity: 1; transition-delay: .7s; }

/* ---------- Intro ---------- */
.intro { display: none; }
.is-intro .intro {
  position: fixed; inset: 0; z-index: 200;
  display: flex; align-items: center; justify-content: center;
  padding: var(--gutter); background: var(--bg);
}
.intro__word {
  overflow: hidden; padding-top: .06em;
  font-family: var(--font-display); font-weight: 600; text-transform: uppercase;
  font-size: clamp(56px, 14vw, 200px); line-height: .85; letter-spacing: -.03em;
}
.intro__meta {
  position: absolute; left: var(--gutter); right: var(--gutter); bottom: calc(var(--gutter) + env(safe-area-inset-bottom));
  display: flex; justify-content: space-between; gap: 16px; color: var(--fg-3);
}

/* ---------- Hero ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: 100vh; min-height: 100svh;
  display: flex; flex-direction: column; justify-content: space-between; gap: 48px;
  padding: calc(var(--header-h) + 8px) var(--gutter) clamp(10px, 1.6vw, 24px);
}
/* Topli sjaj ere iza imena, pretapa se u crnu prema dnu (bez ruba prema sljedećoj sekciji) */
.hero::after {
  content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    linear-gradient(to bottom, transparent 70%, var(--bg) 100%),
    radial-gradient(60% 45% at 50% 82%, color-mix(in srgb, var(--era) 20%, transparent), transparent 75%);
}
.hero__bg { position: absolute; inset: 0; z-index: -2; overflow: hidden; background: var(--bg); }
/* Fotka u hero ekranu: rasteže se preko cijelog ekrana i stapa s pozadinom.
   - "lighten": crna u fotki postaje boja pozadine, pa nema ruba ni tamnog pravokutnika
   - mutna kopija iza (ambient) daje meki prijelaz svjetla u okolinu
   - sjena gore i dolje pretapa fotku u header i sljedeću sekciju */
.hero__media { position: absolute; inset: 0; }
.hero__ambient {
  position: absolute; inset: -10%; width: 120%; height: 120%;
  object-fit: cover; object-position: var(--pos, 50% 30%);
  filter: blur(48px) saturate(1.15); opacity: .55; mix-blend-mode: screen;
}
.hero__photo {
  position: absolute; left: 0; top: 9%; width: 100%; height: 62%;
  object-fit: cover; object-position: var(--pos, 50% 30%);
  mix-blend-mode: lighten; filter: contrast(1.08);
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 20%, #000 66%, transparent), linear-gradient(to right, transparent, #000 14%, #000 86%, transparent);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(to bottom, transparent, #000 20%, #000 66%, transparent), linear-gradient(to right, transparent, #000 14%, #000 86%, transparent);
  mask-composite: intersect;
  transform-origin: 50% 30%;
  animation: drift 26s ease-in-out infinite alternate;
}
.hero__shade {
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(to bottom, rgb(10 10 10 / .65) 0%, transparent 16%, transparent 52%, rgb(10 10 10 / .7) 80%, var(--bg) 100%);
}
@keyframes drift { from { transform: scale(1); } to { transform: scale(1.07); } }
@media (max-width: 899px) {
  .hero__ambient, .hero__photo { object-position: var(--pos-m, var(--pos, 50% 30%)); }
}
@media (min-width: 900px) {
  .hero__photo {
    top: 7%; height: min(44vw, 80%);
    -webkit-mask-image: linear-gradient(to bottom, transparent, #000 10%, #000 64%, transparent), linear-gradient(to right, transparent, #000 14%, #000 86%, transparent);
    mask-image: linear-gradient(to bottom, transparent, #000 10%, #000 64%, transparent), linear-gradient(to right, transparent, #000 14%, #000 86%, transparent);
  }
}
/* Uspravna fotka: na mobitelu ide preko cijele širine, na desktopu stoji kao stupac u sredini
   i rubovima se stapa s pozadinom (mutna kopija iza popunjava ostatak ekrana) */
.hero--portrait .hero__ambient { opacity: .32; }
.hero--portrait .hero__photo {
  top: 3%; height: 78%;
  filter: contrast(1.08) brightness(.86);
  -webkit-mask-image: linear-gradient(to bottom, transparent 4%, #000 24%, #000 60%, transparent), linear-gradient(to right, transparent, #000 10%, #000 90%, transparent);
  mask-image: linear-gradient(to bottom, transparent 4%, #000 24%, #000 60%, transparent), linear-gradient(to right, transparent, #000 10%, #000 90%, transparent);
}
@media (min-width: 900px) {
  .hero--portrait .hero__photo {
    top: 0; height: 100%; left: 0; right: 0; width: auto; margin-inline: auto;
    -webkit-mask-image: linear-gradient(to bottom, transparent, #000 12%, #000 62%, transparent 96%), linear-gradient(to right, transparent, #000 22%, #000 78%, transparent);
    mask-image: linear-gradient(to bottom, transparent, #000 12%, #000 62%, transparent 96%), linear-gradient(to right, transparent, #000 22%, #000 78%, transparent);
  }
  /* Oznaka "skrolaj" bi pala preko fotke u sredini (animacija joj inline postavlja vidljivost, pa ide display) */
  .hero--portrait .hero__scroll { display: none; }
}

.hero__beam {
  position: absolute; left: 50%; top: -12%; width: 160vmax; height: 140%; margin-left: -80vmax;
  background: conic-gradient(at 50% 0%,
    transparent 0deg 164deg,
    rgb(237 237 230 / .05) 172deg,
    rgb(237 237 230 / .13) 180deg,
    rgb(237 237 230 / .05) 188deg,
    transparent 196deg 360deg);
  -webkit-mask-image: linear-gradient(to bottom, #000 20%, transparent 85%);
  mask-image: linear-gradient(to bottom, #000 20%, transparent 85%);
  transform-origin: 50% 0;
  animation: sway 16s ease-in-out infinite alternate;
}
@keyframes sway { from { transform: rotate(-5deg); } to { transform: rotate(5deg); } }
.hero__light {
  position: absolute; left: 0; top: 0; width: 80vmax; height: 80vmax; margin: -40vmax 0 0 -40vmax;
  border-radius: 50%; opacity: .45; will-change: transform; mix-blend-mode: screen;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--era) 60%, transparent), transparent);
  transform: translate(50vw, 55vh);
}

.hero__top { display: flex; flex-direction: column; gap: 4px; color: var(--fg-2); text-wrap: balance; }
.hero__bottom { display: flex; flex-direction: column; gap: clamp(28px, 5vh, 48px); }
.hero__row { display: flex; flex-direction: column; align-items: flex-start; gap: 22px; }
.hero__scroll { display: none; }

.release-chip { display: inline-flex; align-items: center; gap: 14px; }
.release-chip__cover { width: 56px; height: 56px; flex: none; overflow: hidden; background: var(--bg-2); }
.release-chip__cover img, .sheet__cover img { width: 100%; height: 100%; object-fit: cover; }
.release-chip__text { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.release-chip__text .mono { color: var(--fg-2); }
.release-chip__text strong {
  font-family: var(--font-display); font-weight: 600; font-size: 19px; line-height: 1;
  text-transform: uppercase; letter-spacing: -.01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

.wordmark {
  font-family: var(--font-display); font-weight: 600; text-transform: uppercase;
  font-size: 19vw; line-height: .8; letter-spacing: -.035em; white-space: nowrap;
  margin: 0 0 0 -.03em;
}
.wordmark__line { display: block; overflow: hidden; padding-top: .06em; }

@media (min-width: 700px) {
  .hero__top { flex-direction: row; justify-content: space-between; }
}
@media (min-width: 900px) {
  .hero__row { flex-direction: row; align-items: flex-end; justify-content: space-between; }
  .hero__row > :last-child { justify-content: flex-end; max-width: 40%; }
  .hero__scroll { display: flex; flex-direction: column; align-items: center; gap: 10px; color: var(--fg-3); }
  .hero__scroll i { position: relative; display: block; width: 1px; height: 40px; overflow: hidden; background: var(--line); }
  .hero__scroll i::after {
    content: ''; position: absolute; inset: 0; background: var(--fg);
    animation: scrollLine 2.4s var(--ease-in-out) infinite;
  }
}
@keyframes scrollLine {
  0% { transform: translateY(-100%); }
  50% { transform: translateY(0); }
  100% { transform: translateY(100%); }
}

/* ---------- Sekcije ---------- */
.section { position: relative; padding: clamp(96px, 13vw, 180px) var(--gutter) 0; }
.section__head {
  position: relative; display: flex; justify-content: space-between; gap: 16px;
  padding-top: 14px; margin-bottom: clamp(40px, 7vw, 96px); color: var(--fg-2);
}
.section__head::before {
  content: ''; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: var(--line);
  transform-origin: left; transition: transform 1.6s var(--ease-out);
}
.motion .section__head:not(.is-in)::before { transform: scaleX(0); }
.section__title { font-size: clamp(34px, 11.5vw, 180px); margin-bottom: clamp(40px, 6vw, 80px); }

/* ---------- Generirani cover (dok nema prave slike) ---------- */
.gen-cover {
  --c: var(--era);
  position: relative; display: block; width: 100%; height: 100%; aspect-ratio: 1; overflow: hidden;
  container-type: inline-size;
  background:
    radial-gradient(65% 65% at 72% 26%, var(--c), transparent 70%),
    radial-gradient(55% 60% at 12% 100%, color-mix(in srgb, var(--c) 45%, #000), transparent 72%),
    #0c0c0c;
}
.gen-cover::after {
  content: ''; position: absolute; inset: 0; opacity: .35; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.gen-cover > span { position: absolute; z-index: 1; }
.gen-cover__top { left: 7cqw; top: 6cqw; font-family: var(--font-display); font-weight: 600; font-size: 5.5cqw; letter-spacing: .14em; }
.gen-cover__no { right: 7cqw; top: 6.4cqw; font-family: var(--font-mono); font-size: 3.4cqw; color: rgb(237 237 230 / .7); }
.gen-cover__title {
  left: 7cqw; right: 7cqw; bottom: 6cqw;
  font-family: var(--font-display); font-weight: 600; font-size: 11cqw; line-height: .88;
  text-transform: uppercase; letter-spacing: -.02em;
}
.release-chip__cover .gen-cover > span, .sheet__cover .gen-cover > span { display: none; }
.cover-img { width: 100%; height: 100%; aspect-ratio: 1; object-fit: cover; }

/* ---------- Era ---------- */
.era__grid { display: grid; gap: 56px; }
.era__visual { position: relative; perspective: 1200px; max-width: 620px; }
.era__tilt { position: relative; transform-style: preserve-3d; will-change: transform; }
.era__cover { display: block; aspect-ratio: 1; background: var(--bg-2); box-shadow: 0 40px 80px -40px rgb(0 0 0 / .9); }
.era__cover img { width: 100%; height: 100%; object-fit: cover; }
.era__glow {
  position: absolute; inset: 14%; z-index: -1; border-radius: 50%;
  background: var(--era); filter: blur(90px); opacity: .32; pointer-events: none;
}
.era__meta { color: var(--fg-2); margin-bottom: 20px; }
.era__title { font-size: clamp(56px, 9vw, 150px); margin-bottom: 36px; }
.era__cta { margin-bottom: 56px; }
.era__on { color: var(--fg-3); margin-bottom: 10px; }

.platforms { border-top: 1px solid var(--line); }
.platforms a {
  position: relative; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 18px 0; border-bottom: 1px solid var(--line);
  font-family: var(--font-display); font-weight: 500; font-size: clamp(20px, 2vw, 26px);
  text-transform: uppercase; letter-spacing: -.005em; line-height: 1.1;
}
.platforms a::before {
  content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; background: var(--era);
  transform: scaleX(0); transform-origin: right; transition: transform .7s var(--ease-out);
}
.p-name { transition: transform .6s var(--ease-out); }
.p-arrow { font-family: var(--font-mono); font-size: 14px; color: var(--fg-3); transition: transform .6s var(--ease-out), color .4s; }
@media (hover: hover) {
  .platforms a:hover::before { transform: scaleX(1); transform-origin: left; }
  .platforms a:hover .p-name { transform: translateX(14px); }
  .platforms a:hover .p-arrow { color: var(--fg); transform: translate(-2px, -2px); }
}

.countdown { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; max-width: 480px; margin-bottom: 36px; }
.countdown[hidden] { display: none; }
.countdown > div { display: flex; flex-direction: column; gap: 6px; padding-top: 12px; border-top: 1px solid var(--line); }
.countdown__num { font-family: var(--font-display); font-weight: 500; font-size: clamp(34px, 4.5vw, 56px); line-height: 1; font-variant-numeric: tabular-nums; }
.countdown .mono { color: var(--fg-3); }

@media (min-width: 900px) {
  .era__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(48px, 7vw, 120px); align-items: center; }
}

/* ---------- Glazba (diskografija) ---------- */
.music__viewport {
  margin: 0 calc(-1 * var(--gutter)); padding: 0 var(--gutter);
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 var(--gutter);
  scrollbar-width: none; overscroll-behavior-x: contain;
}
.music__viewport::-webkit-scrollbar { display: none; }
.music__track { display: flex; gap: 16px; width: max-content; }
.release { width: min(72vw, 340px); scroll-snap-align: start; }
.release__btn { display: block; width: 100%; text-align: left; }
.release__cover { display: block; aspect-ratio: 1; overflow: hidden; margin-bottom: 16px; background: var(--bg-2); }
.release__cover > * { transition: transform 1.2s var(--ease-out); }
.release__cover img { width: 100%; height: 100%; object-fit: cover; }
.release__title { display: block; font-family: var(--font-display); font-weight: 600; font-size: 22px; line-height: 1; text-transform: uppercase; letter-spacing: -.01em; }
.release__meta { display: flex; justify-content: space-between; gap: 12px; margin-top: 10px; color: var(--fg-3); }
@media (hover: hover) { .release__btn:hover .release__cover > * { transform: scale(1.06); } }
.music__progress { display: none; }

@media (min-width: 900px) {
  .music--grid .music__viewport { margin: 0; padding: 0; overflow: visible; }
  .music--grid .music__track { display: grid; grid-template-columns: repeat(var(--n), minmax(0, 1fr)); gap: clamp(20px, 2vw, 32px); width: auto; }
  .music--grid .release { width: auto; }
}
@media (min-width: 900px) and (hover: hover) and (pointer: fine) {
  .music:not(.music--grid) { min-height: 100vh; display: flex; flex-direction: column; justify-content: center; padding-top: calc(var(--header-h) + 32px); padding-bottom: 48px; }
  .music:not(.music--grid) .section__head { margin-bottom: 32px; }
  .music:not(.music--grid) .section__title { font-size: clamp(52px, 8vw, 128px); margin-bottom: 40px; }
  .music:not(.music--grid) .music__viewport { overflow: hidden; scroll-snap-type: none; }
  .music:not(.music--grid) .music__track { gap: clamp(20px, 2vw, 32px); will-change: transform; }
  .music:not(.music--grid) .release { width: min(23vw, 40vh); }
  .music:not(.music--grid) .music__progress { display: block; position: relative; height: 1px; margin-top: 40px; background: var(--line); }
  .music__progress i { position: absolute; inset: 0; background: var(--fg); transform: scaleX(0); transform-origin: left; }
}

/* ---------- Spotovi ---------- */
.visuals__grid { display: grid; gap: clamp(16px, 2vw, 28px); }
.video__btn { position: relative; display: block; width: 100%; text-align: left; }
.video__frame { position: relative; display: block; aspect-ratio: 16 / 9; background: var(--bg-2); }
.video__frame img { width: 100%; height: 100%; object-fit: cover; opacity: .82; transition: transform 1.4s var(--ease-out), opacity .6s; }
.video__frame::before {
  content: ''; position: absolute; inset: 0; z-index: 3; pointer-events: none;
  background: linear-gradient(to top, rgb(10 10 10 / .85), transparent 55%);
}
.gen-frame {
  --c: var(--era);
  display: block; width: 100%; height: 100%;
  background:
    radial-gradient(45% 70% at 50% 105%, color-mix(in srgb, var(--c) 75%, transparent), transparent 72%),
    radial-gradient(30% 50% at 50% 50%, rgb(237 237 230 / .05), transparent 70%),
    linear-gradient(180deg, #0e0e0e, #151514);
}
.video__play {
  position: absolute; left: 50%; top: 50%; z-index: 4;
  width: 84px; height: 84px; margin: -42px 0 0 -42px; border-radius: 50%;
  display: grid; place-items: center; border: 1px solid rgb(237 237 230 / .5);
  background: rgb(10 10 10 / .2); color: var(--fg);
  transition: transform .8s var(--ease-out), background-color .4s, color .4s;
}
.video__info { position: absolute; left: 20px; right: 20px; bottom: 18px; z-index: 4; display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; }
.video__title { font-family: var(--font-display); font-weight: 600; font-size: clamp(22px, 3vw, 44px); line-height: .95; text-transform: uppercase; letter-spacing: -.015em; }
.video__label { color: var(--fg-2); text-align: right; }
.video.is-soon .video__btn { cursor: default; }
.video.is-soon .video__play { width: auto; height: auto; margin: 0; transform: translate(-50%, -50%); border: 0; background: none; color: var(--fg-2); }
@media (hover: hover) {
  .video:not(.is-soon) .video__btn:hover img { transform: scale(1.05); opacity: 1; }
  .video:not(.is-soon) .video__btn:hover .video__play { transform: scale(1.12); background: var(--fg); color: var(--bg); }
}
@media (min-width: 900px) {
  .visuals__grid { grid-template-columns: 1fr 1fr; }
  .visuals__grid > :first-child { grid-column: 1 / -1; }
  .video__info { left: 28px; right: 28px; bottom: 24px; }
}

/* ---------- Manifest ---------- */
.about__media {
  position: relative; height: clamp(180px, 34vw, 520px); margin: 0 calc(-1 * var(--gutter)) calc(-1 * clamp(40px, 8vw, 120px));
  overflow: hidden; opacity: .9;
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 25%, #000 55%, transparent);
  mask-image: linear-gradient(to bottom, transparent, #000 25%, #000 55%, transparent);
}
.about__media img { width: 100%; height: 114%; margin-top: -7%; object-fit: cover; object-position: 50% 40%; }
.about__text {
  position: relative; max-width: 17em;
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(30px, 5.4vw, 88px); line-height: 1.04; letter-spacing: -.025em;
}
.about__text .sw { transition: none; }
.about__roles { display: grid; margin-top: clamp(64px, 10vw, 140px); border-top: 1px solid var(--line); }
.about__roles li { display: flex; align-items: baseline; gap: 18px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.about__roles .mono { color: var(--fg-3); }
.about__roles .display { min-width: 0; font-size: clamp(28px, 3.4vw, 52px); }
@media (min-width: 640px) {
  .about__roles { grid-template-columns: repeat(3, minmax(0, 1fr)); border-bottom: 1px solid var(--line); }
  .about__roles li { border-bottom: 0; padding: 28px 0 32px; }
  .about__roles li + li { border-left: 1px solid var(--line); padding-left: 28px; }
}

/* ---------- Inner Circle ---------- */
.circle__inner { position: relative; isolation: isolate; max-width: 1040px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; text-align: center; }
.circle__media {
  position: absolute; z-index: -1; left: 50%; top: -12%; width: 100vw; height: clamp(260px, 42vw, 620px);
  transform: translateX(-50%); overflow: hidden; opacity: .42; pointer-events: none;
  -webkit-mask-image: radial-gradient(ellipse 58% 52% at 50% 36%, #000 30%, transparent 100%);
  mask-image: radial-gradient(ellipse 58% 52% at 50% 36%, #000 30%, transparent 100%);
}
.circle__media img { width: 100%; height: 114%; margin-top: -7%; object-fit: cover; object-position: 46% 30%; }
.circle__title { width: 100%; font-size: clamp(30px, 10vw, 160px); }
.circle__text { max-width: 30em; margin: 28px auto 44px; color: var(--fg-2); font-size: clamp(16px, 1.4vw, 19px); text-shadow: 0 1px 18px rgb(0 0 0 / .9); text-wrap: balance; }
.circle__form {
  display: flex; align-items: center; gap: 12px; width: 100%; max-width: 560px;
  padding-bottom: 10px; border-bottom: 1px solid var(--line); transition: border-color .4s;
}
.circle__form:focus-within { border-color: var(--fg); }
.circle__input {
  flex: 1; min-width: 0; padding: 12px 0; border: 0; outline: none; background: none;
  color: var(--fg); font: inherit; font-size: clamp(18px, 1.8vw, 22px); text-align: left;
}
.circle__input::placeholder { color: var(--fg-3); }
.circle__consent { margin-top: 14px; color: var(--fg-3); font-size: 13px; }
.circle__consent a { text-decoration: underline; text-underline-offset: 3px; }

.form__status { min-height: 1.4em; margin-top: 16px; color: var(--fg-2); }
.form__status.is-error { color: #ff7a7a; }
.form__status a { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Suradnja ---------- */
.collab__grid { display: grid; gap: 64px; }
.collab__title { font-size: clamp(34px, 11vw, 124px); margin-bottom: 28px; }
.collab__text { max-width: 26em; margin-bottom: 44px; color: var(--fg-2); font-size: clamp(16px, 1.4vw, 19px); }
.collab__direct { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.collab__direct .mono { color: var(--fg-3); }
.collab__mail {
  position: relative; font-family: var(--font-display); font-weight: 500;
  font-size: clamp(20px, 2.6vw, 38px); letter-spacing: -.01em; white-space: nowrap;
}
.collab__mail::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -2px; height: 1px; background: var(--era);
  transform-origin: left; transition: transform .7s var(--ease-out);
}
@media (hover: hover) { .collab__mail:hover::after { transform: scaleX(0); transform-origin: right; } }

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 24px; padding: 0; border: 0; }
.chips legend { float: left; width: 100%; margin-bottom: 14px; padding: 0; color: var(--fg-3); }
.chips label { position: relative; cursor: pointer; }
.chips input { position: absolute; inset: 0; margin: 0; opacity: 0; cursor: pointer; }
.chips span {
  display: inline-flex; align-items: center; height: 38px; padding: 0 16px;
  border: 1px solid var(--line); border-radius: 999px;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase;
  color: var(--fg-2); transition: background-color .4s var(--ease-out), border-color .4s, color .4s;
}
.chips input:checked + span { background: var(--fg); border-color: var(--fg); color: var(--bg); }
.chips input:focus-visible + span { outline: 1px solid var(--fg); outline-offset: 3px; }
@media (hover: hover) { .chips label:hover input:not(:checked) + span { border-color: var(--fg-2); color: var(--fg); } }

.field { position: relative; }
.field input, .field textarea {
  display: block; width: 100%; padding: 30px 0 12px;
  border: 0; border-bottom: 1px solid var(--line); border-radius: 0; outline: none; background: none;
  color: var(--fg); font: inherit; font-size: 18px; transition: border-color .4s;
}
.field textarea { min-height: 130px; resize: vertical; }
.field label {
  position: absolute; left: 0; top: 30px; color: var(--fg-3); font-size: 18px; pointer-events: none;
  transform-origin: left top; transition: transform .5s var(--ease-out), color .4s;
}
.field input:focus, .field textarea:focus { border-color: var(--fg); }
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label { transform: translateY(-22px) scale(.72); color: var(--fg-2); }
.collab__form .btn { margin-top: 36px; }
input:-webkit-autofill { -webkit-box-shadow: 0 0 0 100px var(--bg) inset; -webkit-text-fill-color: var(--fg); }

@media (min-width: 900px) {
  .collab__grid { grid-template-columns: 1fr 1fr; gap: clamp(48px, 8vw, 140px); }
  .collab__title { font-size: clamp(46px, 6.4vw, 124px); }
}

/* ---------- Footer ---------- */
.footer { margin-top: clamp(120px, 18vw, 240px); border-top: 1px solid var(--line); overflow: hidden; }
.marquee { padding: clamp(24px, 4vw, 48px) 0; overflow: hidden; }
.marquee__track { display: flex; align-items: center; width: max-content; animation: marquee 30s linear infinite; }
.marquee__track span {
  padding-right: .22em;
  font-family: var(--font-display); font-weight: 600; text-transform: uppercase;
  font-size: clamp(84px, 16vw, 260px); line-height: .85; letter-spacing: -.03em;
  color: transparent; -webkit-text-stroke: 1px var(--fg-3);
}
.marquee__track span:nth-child(4n + 1) { color: var(--fg); -webkit-text-stroke: 0; }
.marquee__track .marquee__star { color: var(--era); -webkit-text-stroke: 0; font-size: clamp(36px, 6vw, 96px); }
@keyframes marquee { to { transform: translateX(-50%); } }

.footer__grid {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 24px;
  padding: 22px var(--gutter); border-top: 1px solid var(--line);
}
.footer__top { color: var(--fg-2); padding: 8px 0; transition: color .3s; }
.footer__top:hover { color: var(--fg); }
.footer__legal {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px;
  padding: 0 var(--gutter) calc(26px + env(safe-area-inset-bottom)); color: var(--fg-3);
}
.footer__legal a:hover { color: var(--fg); }

/* ---------- Modal ---------- */
.modal {
  width: 100%; max-width: none; height: 100%; max-height: none; margin: 0; padding: var(--gutter);
  border: 0; background: transparent; color: var(--fg); overflow: auto;
}
.modal[open] { display: grid; place-items: center; }
.modal::backdrop { background: rgb(6 6 6 / .94); }
.modal[open]::backdrop { animation: fade .5s var(--ease-out); }
.modal[open] .modal__body { animation: rise .9s var(--ease-out); }
.modal__close { position: fixed; top: 22px; right: var(--gutter); z-index: 2; padding: 10px 0; color: var(--fg-2); transition: color .3s; }
.modal__close:hover { color: var(--fg); }
.modal__body { width: min(1200px, 100%); }
.modal--sheet .modal__body { width: min(560px, 100%); }
.modal__video { width: 100%; aspect-ratio: 16 / 9; background: #000; }
.modal__video iframe { width: 100%; height: 100%; border: 0; }
.sheet__head { display: flex; align-items: center; gap: 18px; margin-bottom: 28px; }
/* Prozor "Slušaj": profili na platformama */
.listen__title { font-size: clamp(44px, 7vw, 72px); margin: 4px 0 28px; }
.listen__list a { padding: 15px 0; font-size: clamp(21px, 2.4vw, 28px); }
.sheet__cover { width: 88px; height: 88px; flex: none; overflow: hidden; }
.sheet__title { font-size: clamp(30px, 5vw, 44px); }
.sheet__meta { color: var(--fg-3); margin-top: 8px; }
@keyframes fade { from { opacity: 0; } }
@keyframes rise { from { opacity: 0; transform: translateY(32px); } }

/* ---------- Kursor s oznakom (samo desktop) ---------- */
.cursor { position: fixed; left: 0; top: 0; z-index: 260; pointer-events: none; display: none; }
.has-cursor .cursor { display: block; }
.cursor__label {
  position: absolute; left: 0; top: 0; width: 96px; height: 96px; margin: -48px 0 0 -48px;
  display: grid; place-items: center; border-radius: 50%;
  background: var(--fg); color: var(--bg);
  font-family: var(--font-mono); font-size: 11px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase;
  transform: scale(0); transition: transform .5s var(--ease-out);
}
.cursor.is-active .cursor__label { transform: scale(1); }

/* ---------- Pravna stranica ---------- */
.legal { max-width: 760px; margin: 0 auto; padding: calc(var(--header-h) + 64px) var(--gutter) 96px; }
.legal h1 { font-size: clamp(44px, 8vw, 96px); margin-bottom: 16px; }
.legal h2 { font-family: var(--font-display); font-weight: 500; font-size: 22px; margin: 44px 0 12px; text-transform: uppercase; letter-spacing: -.005em; }
.legal p, .legal li { color: var(--fg-2); margin-bottom: 12px; }
.legal ul { list-style: disc; padding-left: 20px; }
.legal a { text-decoration: underline; text-underline-offset: 3px; color: var(--fg); }
.legal .mono { color: var(--fg-3); }
.legal + .footer__legal { align-items: center; }
.notfound {
  min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; justify-content: center; gap: 18px;
  padding: calc(var(--header-h) + 40px) var(--gutter) 64px; max-width: 1100px;
}
.notfound .mono { color: var(--fg-3); }
.notfound h1 { font-size: clamp(44px, 9vw, 140px); }
.notfound p { color: var(--fg-2); }
.notfound__links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }

/* ---------- Smanjeni pokret ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important; animation-iteration-count: 1 !important;
    transition-duration: .001ms !important; transition-delay: 0s !important;
  }
}
