/* City Aero: web3 / AI smjer. Tamna noćna podloga, živo polje čestica (WebGL) u bojama loga,
   stakleni paneli. Radijusi: paneli 22px, gumbi pill. */
:root {
  --bg: #05060c;
  --text: #eef0ff;
  --muted: #9ba1c2;
  --line: rgba(190, 200, 255, .12);
  --glass: rgba(18, 20, 38, .48);
  --g: linear-gradient(100deg, #ff1fb0 0%, #9b2cf0 33%, #4a3cff 66%, #00d8ff 100%);
  --r: 22px;
  --pad: clamp(16px, 4vw, 56px);
  --ease: cubic-bezier(.2, .8, .2, 1);
  --fd: "Unbounded", system-ui, sans-serif;
  --fb: "Geist", system-ui, sans-serif;
  --fm: "Geist Mono", ui-monospace, monospace;
}
*, *::before, *::after { box-sizing: border-box; }
html { overflow-anchor: none; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 17px/1.6 var(--fb); -webkit-font-smoothing: antialiased; overflow-x: clip; }
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid #00d8ff; outline-offset: 3px; border-radius: 8px; }
.wrap { width: 100%; max-width: 1440px; margin-inline: auto; padding-inline: var(--pad); position: relative; }
.skip { position: fixed; left: 12px; top: -60px; z-index: 100; background: #fff; color: #000; padding: 10px 16px; border-radius: 99px; }
.skip:focus { top: 12px; }
.g { background: var(--g); background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: shimmer 8s ease-in-out infinite alternate; }
@keyframes shimmer { to { background-position: 100% 0; } }
.mono { font: 500 12px/1 var(--fm); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.h2 { font: 600 clamp(32px, 4.6vw, 68px)/1.04 var(--fd); letter-spacing: -.035em; margin: 0; }
.h3 { font: 600 clamp(24px, 2.6vw, 38px)/1.1 var(--fd); letter-spacing: -.03em; margin: 0; }

/* polje čestica i zrno */
.pfield { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }
.grain { position: fixed; inset: -50%; z-index: 1; pointer-events: none; opacity: .06; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
body::before { content: ""; position: fixed; inset: 0; z-index: 0; pointer-events: none; background: radial-gradient(60% 50% at 80% 20%, rgba(74, 60, 255, .16), transparent 70%), radial-gradient(50% 40% at 10% 90%, rgba(255, 31, 176, .1), transparent 70%); }
main, .cta, .foot { position: relative; z-index: 2; }

/* staklo i reflektor rubova */
.glass { background: var(--glass); backdrop-filter: blur(18px) saturate(150%); -webkit-backdrop-filter: blur(18px) saturate(150%); box-shadow: inset 0 0 0 1px var(--line), inset 0 1px 0 rgba(255, 255, 255, .06); border-radius: var(--r); }
.spot { position: relative; isolation: isolate; }
.spot::after { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none; z-index: 3;
  background: radial-gradient(320px circle at var(--mx, -400px) var(--my, -400px), rgba(255, 255, 255, .7), rgba(0, 216, 255, .5) 20%, rgba(155, 44, 240, .3) 40%, transparent 60%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; opacity: 0; transition: opacity .4s; }
.spot:hover::after { opacity: 1; }

/* gumbi */
.btn { display: inline-flex; align-items: center; gap: 10px; height: 52px; padding: 0 24px; border-radius: 99px; border: 0; font: 600 16px/1 var(--fb); white-space: nowrap; position: relative; isolation: isolate; overflow: hidden; transition: transform .4s var(--ease), box-shadow .4s; }
.btn:active { transform: scale(.97); }
.btn i { transition: transform .4s var(--ease); }
.btn:hover i.ph-arrow-up-right { transform: rotate(45deg); }
.btn-sm { height: 40px; padding: 0 18px; font-size: 14px; }
.btn-lg { height: 62px; padding: 0 32px; font-size: 18px; }
.btn-grad { color: #fff; background: var(--g); background-size: 160% 100%; box-shadow: 0 10px 40px -10px rgba(155, 44, 240, .7); transition: background-position .6s var(--ease), transform .4s var(--ease), box-shadow .4s; }
.btn-grad:hover { background-position: 100% 0; box-shadow: 0 14px 50px -8px rgba(0, 216, 255, .6); }
.btn-glass { background: rgba(255, 255, 255, .07); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .18); backdrop-filter: blur(12px); }
.btn-glass:hover { background: rgba(255, 255, 255, .14); }
.tlink { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; border-bottom: 1px solid rgba(255, 255, 255, .35); padding-bottom: 3px; }
.tlink:hover { border-color: #fff; }

/* navigacija */
.nav { position: fixed; z-index: 50; top: 14px; left: 50%; translate: -50% 0; width: min(1440px - 2 * 56px, calc(100% - 2 * var(--pad))); height: 62px; display: flex; align-items: center; gap: 24px; padding: 0 10px 0 18px; border-radius: 99px; transition: transform .5s var(--ease); }
.nav.away { transform: translateY(-140%); }
.brand { display: flex; align-items: center; gap: 10px; font: 600 16px/1 var(--fd); letter-spacing: -.02em; }
.brand .logo { width: 30px; height: auto; filter: drop-shadow(0 0 12px rgba(155, 44, 240, .6)); }
.links { display: flex; gap: 4px; margin-left: auto; }
.links a { padding: 9px 14px; border-radius: 99px; font-size: 15px; color: var(--muted); transition: color .3s, background .3s; }
.links a:hover { color: var(--text); }
.links a[aria-current="page"] { color: var(--text); background: rgba(255, 255, 255, .08); }
.menu { display: none; margin-left: auto; width: 44px; height: 44px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .08); font-size: 20px; }
.mnav { position: fixed; inset: 0; z-index: 45; background: rgba(5, 6, 12, .96); backdrop-filter: blur(20px); padding: 110px var(--pad) 40px; display: grid; align-content: start; gap: 8px; }
.mnav[hidden] { display: none; }
.mnav a:not(.btn) { font: 600 40px/1.2 var(--fd); letter-spacing: -.03em; }
.mnav .btn { justify-self: start; margin-top: 24px; }

/* hero */
.hero { min-height: 100vh; min-height: 100dvh; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; padding-top: 110px; padding-bottom: 40px; }
.chip-tag { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 28px; padding: 8px 14px; border-radius: 99px; font: 500 12px/1 var(--fm); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); background: rgba(255, 255, 255, .05); box-shadow: inset 0 0 0 1px var(--line); }
.pulse { width: 8px; height: 8px; border-radius: 50%; background: #00d8ff; box-shadow: 0 0 0 0 rgba(0, 216, 255, .7); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(0, 216, 255, 0); } 100% { box-shadow: 0 0 0 0 rgba(0, 216, 255, 0); } }
.hero-t { margin: 0 0 28px; font: 700 clamp(46px, 7.2vw, 118px)/.98 var(--fd); letter-spacing: -.05em; }
.hero-t .ln { display: block; }
.hero-l { margin: 0 0 36px; max-width: 34ch; font-size: clamp(17px, 1.35vw, 21px); color: var(--muted); }
.hero-a { display: flex; flex-wrap: wrap; gap: 12px; }
.reel-card { position: absolute; right: var(--pad); bottom: 48px; width: clamp(240px, 24vw, 380px); aspect-ratio: 16 / 10; padding: 6px; border: 0; overflow: hidden; }
.reel-card video { width: 100%; height: 100%; object-fit: cover; border-radius: calc(var(--r) - 6px); }
.reel-l { position: absolute; left: 18px; right: 18px; bottom: 16px; display: flex; justify-content: space-between; align-items: center; }
.reel-l .mono { color: #fff; }
.reel-l i { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .9); color: #000; transition: transform .4s var(--ease); }
.reel-card:hover .reel-l i { transform: scale(1.15); }
html.js .hero-t .ln, html.js .hero-l, html.js .hero-a, html.js .chip-tag, html.js .reel-card { animation: up 1.2s var(--ease) both; }
html.js .hero-t .ln:nth-child(2) { animation-delay: .08s; } html.js .hero-t .ln:nth-child(3) { animation-delay: .16s; }
html.js .hero-l { animation-delay: .3s; } html.js .hero-a { animation-delay: .4s; } html.js .reel-card { animation-delay: .6s; }
@keyframes up { from { opacity: 0; transform: translateY(40px); filter: blur(8px); } }

/* manifest */
.mf { padding-block: clamp(100px, 14vw, 220px); }
.mf-t { margin: 0; max-width: 24ch; font: 500 clamp(28px, 3.8vw, 58px)/1.18 var(--fd); letter-spacing: -.035em; }
.mf-t .w { opacity: .12; }

/* zaglavlja sekcija */
.sec-h { margin-bottom: 40px; }
.sec-h.row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 20px; }

/* bento usluga */
.svc { padding-bottom: clamp(100px, 12vw, 180px); }
.bento { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: clamp(200px, 19vw, 280px); gap: 14px; }
.cell { position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: space-between; padding: 22px; }
.c0 { grid-column: span 2; grid-row: span 2; } .c1, .c4, .c5 { grid-column: span 2; }
.cell video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -1; opacity: .3; transform: scale(1.06); transition: opacity .6s, transform 1.2s var(--ease); }
.cell::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(5, 6, 12, .1), rgba(5, 6, 12, .75)); }
.cell:hover video { opacity: .85; transform: none; }
.cell-i { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; font-size: 24px; background: rgba(255, 255, 255, .08); box-shadow: inset 0 0 0 1px var(--line); }
.cell-c { display: grid; gap: 6px; }
.cell-c strong { font: 600 clamp(20px, 1.8vw, 28px)/1.1 var(--fd); letter-spacing: -.03em; }
.c0 .cell-c strong { font-size: clamp(28px, 3vw, 46px); }
.cell-c span { color: var(--muted); max-width: 36ch; }
.cell > .ph-arrow-up-right { position: absolute; top: 22px; right: 22px; font-size: 22px; transition: transform .4s var(--ease); }
.cell:hover > .ph-arrow-up-right { transform: rotate(45deg); }

/* zrak */
.air { padding-block: clamp(80px, 10vw, 150px); }
.air-g { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.25fr); gap: clamp(28px, 4vw, 64px); align-items: center; }
.air-c > p { color: var(--muted); font-size: 18px; max-width: 42ch; margin: 22px 0 28px; }
.specs { list-style: none; margin: 0 0 22px; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.specs li { display: flex; gap: 12px; align-items: flex-start; padding: 14px; border-radius: 16px; }
.specs i { font-size: 22px; width: 40px; height: 40px; flex: none; border-radius: 12px; display: grid; place-items: center; background: rgba(255, 255, 255, .07); color: #00d8ff; }
.specs span { display: grid; line-height: 1.3; }
.specs strong { font: 600 15px/1.3 var(--fd); letter-spacing: -.01em; }
.specs small { color: var(--muted); font-size: 13px; margin-top: 3px; }
.pov-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.pov-t { position: relative; padding: 0; border: 0; border-radius: 12px; overflow: hidden; aspect-ratio: 16 / 10; background: #111; box-shadow: inset 0 0 0 1px var(--line); }
.pov-t img { width: 100%; height: 100%; object-fit: cover; opacity: .55; transition: opacity .3s, transform .6s var(--ease); }
.pov-t span { position: absolute; left: 8px; bottom: 6px; font: 500 10px/1 var(--fm); letter-spacing: .1em; text-transform: uppercase; }
.pov-t:hover img { opacity: .85; transform: scale(1.06); }
.pov-t.on { box-shadow: inset 0 0 0 2px #00d8ff, 0 0 24px -6px rgba(0, 216, 255, .7); }
.pov-t.on img { opacity: 1; }
.pov { position: relative; margin: 0; padding: 6px; aspect-ratio: 16 / 11; overflow: hidden; }
.pov-v { position: absolute; inset: 6px; border-radius: calc(var(--r) - 6px); overflow: hidden; }
.pov-v video { width: 100%; height: 100%; object-fit: cover; transform: scale(var(--z, 1.15)) translate(var(--px, 0), var(--py, 0)); transition: transform .5s var(--ease), opacity .4s; }
.pov-v video.swap { opacity: 0; }
.hud { position: absolute; inset: 6px; border-radius: calc(var(--r) - 6px); pointer-events: none; font: 500 12px/1.5 var(--fm); letter-spacing: .08em; color: #fff; text-shadow: 0 1px 6px rgba(0, 0, 0, .6);
  background: radial-gradient(120% 90% at 50% 50%, transparent 60%, rgba(0, 0, 0, .45)); }
.hud > span { position: absolute; }
.hud b { font-weight: 500; font-variant-numeric: tabular-nums; color: #9ff3ff; }
.hud-tl { top: 18px; left: 20px; display: flex; align-items: center; gap: 8px; }
.rec { width: 9px; height: 9px; border-radius: 50%; background: #ff3b5c; animation: blink 1.2s steps(2) infinite; }
@keyframes blink { 50% { opacity: .2; } }
.hud-tr { top: 18px; right: 20px; display: flex; align-items: center; gap: 6px; }
.hud-bl { left: 20px; bottom: 18px; }
.hud-br { right: 20px; bottom: 18px; text-align: right; }
.hud-cross { left: var(--cx, 50%); top: var(--cy, 50%); width: 46px; height: 46px; translate: -50% -50%; transition: left .4s var(--ease), top .4s var(--ease);
  background: linear-gradient(#fff, #fff) center / 1px 14px no-repeat, linear-gradient(#fff, #fff) center / 14px 1px no-repeat; border: 1px solid rgba(255, 255, 255, .5); border-radius: 50%; }
.hud-c { width: 26px; height: 26px; border-color: rgba(255, 255, 255, .8); border-style: solid; border-width: 0; }
.c1 { top: 56px; left: 64px; border-top-width: 2px; border-left-width: 2px; } .c2 { top: 56px; right: 64px; border-top-width: 2px; border-right-width: 2px; }
.c3 { bottom: 70px; left: 64px; border-bottom-width: 2px; border-left-width: 2px; } .c4 { bottom: 70px; right: 64px; border-bottom-width: 2px; border-right-width: 2px; }
.hud-scale { right: 22px; top: 25%; bottom: 25%; width: 2px; background: rgba(255, 255, 255, .25); }
.hud-scale i { position: absolute; left: -5px; width: 12px; height: 2px; background: #00d8ff; top: var(--alt, 80%); box-shadow: 0 0 10px #00d8ff; transition: top .3s; }
@media (max-width: 1000px) { .air-g { grid-template-columns: 1fr; } .pov { order: -1; } }
@media (max-width: 620px) { .specs { grid-template-columns: 1fr; } .pov-thumbs { grid-template-columns: repeat(2, 1fr); } .hud { font-size: 10px; } .hud-c { display: none; } }

/* AI */
.ai { padding-block: clamp(80px, 10vw, 150px); }
.ai .h2 { margin-bottom: 40px; }
.ai-g { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.ai-c { padding: 26px; display: grid; gap: 10px; align-content: start; min-height: 230px; }
.ai-c i { font-size: 30px; width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; background: var(--g); color: #fff; margin-bottom: 14px; }
.ai-c strong { font: 600 19px/1.2 var(--fd); letter-spacing: -.02em; }
.ai-c span { color: var(--muted); }

/* radovi */
.work { padding-block: clamp(60px, 8vw, 120px); }
.films { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.films .film { grid-column: span 2; }
.films .film:nth-child(1), .films .film:nth-child(2), .films .film:nth-child(6), .films .film:nth-child(7) { grid-column: span 3; }
.reels { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; margin-top: 14px; }
.film { padding: 6px; border: 0; text-align: left; display: block; width: 100%; }
.film-m { display: block; position: relative; aspect-ratio: 16 / 10; overflow: hidden; border-radius: calc(var(--r) - 6px); background: #111; }
.film.is-v .film-m { aspect-ratio: 9 / 14; }
.film-m img, .film-m video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease), opacity .5s; }
.film-m video { opacity: 0; }
.film.playing .film-m video { opacity: 1; }
.film:hover .film-m img, .film:hover .film-m video { transform: scale(1.05); }
.film-t { display: grid; grid-template-columns: 1fr auto; align-items: center; column-gap: 10px; padding: 12px 10px 8px; }
.film-t strong { font: 600 16px/1.2 var(--fd); letter-spacing: -.02em; }
.film-t small { grid-row: 2; color: var(--muted); font: 500 11px/1.6 var(--fm); letter-spacing: .1em; text-transform: uppercase; }
.film-t i { grid-row: 1 / 3; grid-column: 2; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .08); transition: background .3s; }
.film:hover .film-t i { background: var(--g); }
.film.out { display: none; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.filters button { height: 40px; padding: 0 16px; border: 0; border-radius: 99px; font-size: 14px; color: var(--muted); }
.filters button.on { background: #fff; color: #000; }

/* zajednice */
.com { min-height: 100vh; display: flex; align-items: center; padding-block: 80px; }
.com-c { width: min(600px, 100%); }
.big { display: block; font-size: clamp(64px, 9vw, 140px); line-height: 1; letter-spacing: -.05em; font-variant-numeric: tabular-nums; margin-bottom: 8px; }
.handles { list-style: none; margin: 40px 0 0; padding: 0; display: grid; gap: 8px; }
.handles li { display: flex; align-items: center; gap: 14px; padding: 10px 18px 10px 10px; border-radius: 99px; }
.handles img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; }
.handles span { display: grid; line-height: 1.25; }
.handles small { color: var(--muted); font-size: 13px; }
.handles b { margin-left: auto; font: 600 16px/1 var(--fd); }

/* klijenti */
.clients { padding-block: 40px 100px; }
.marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.mq { display: flex; align-items: center; gap: clamp(48px, 6vw, 90px); width: max-content; animation: mq 50s linear infinite; }
.mq img { height: 36px; width: auto; filter: brightness(0) invert(1); opacity: .55; }
@keyframes mq { to { transform: translateX(-50%); } }

/* tim */
.people { padding-bottom: clamp(100px, 12vw, 160px); }
.people .h2 { margin-bottom: 40px; }
.team { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.mate { margin: 0; padding: 6px; }
.mate-i { aspect-ratio: 4 / 5; overflow: hidden; border-radius: calc(var(--r) - 6px); }
.mate img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) brightness(.9); transition: filter .7s, transform 1.2s var(--ease); }
.mate:hover img { filter: none; transform: scale(1.04); }
.mate figcaption { display: grid; padding: 14px 12px 10px; }
.mate strong { font: 600 19px/1.2 var(--fd); letter-spacing: -.02em; }
.mate span { color: var(--muted); font-size: 15px; }

/* CTA i podnožje */
.cta { min-height: 90vh; display: flex; align-items: center; }
.cta-in { text-align: center; }
.cta-t { margin: 0 0 40px; font: 700 clamp(40px, 7vw, 112px)/1 var(--fd); letter-spacing: -.05em; }
.cta-act { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 28px; }
.foot { display: grid; grid-template-columns: 2fr 1fr 1fr 1.4fr; gap: 32px; padding-block: 48px; border-top: 1px solid var(--line); font-size: 15px; }
.foot-b { display: flex; gap: 14px; }
.foot-b .logo { width: 40px; height: auto; }
.foot-b p { margin: 0; color: var(--muted); }
.foot-b strong { color: var(--text); }
.foot-c { display: grid; gap: 6px; align-content: start; color: var(--muted); }
.foot-c a:hover { color: var(--text); }

/* lightbox */
.lb { width: min(1200px, 94vw); padding: 0; border: 0; border-radius: var(--r); background: #000; color: #fff; overflow: visible; }
.lb::backdrop { background: rgba(3, 4, 8, .88); backdrop-filter: blur(10px); }
.lb video { width: 100%; max-height: 82vh; border-radius: var(--r); }
.lb-t { position: absolute; top: -44px; left: 4px; margin: 0; font: 600 18px/1 var(--fd); }
.lb-x { position: absolute; top: -54px; right: 0; width: 44px; height: 44px; border-radius: 50%; border: 0; background: #fff; color: #000; display: grid; place-items: center; font-size: 20px; }

/* podstranice */
.ptop { min-height: 70vh; display: flex; flex-direction: column; justify-content: flex-end; padding-top: 140px; padding-bottom: 60px; }
.ptop-t { margin: 0 0 24px; font: 700 clamp(56px, 11vw, 180px)/.95 var(--fd); letter-spacing: -.06em; }
.ptop-l { margin: 0; max-width: 44ch; font-size: clamp(18px, 1.5vw, 22px); color: var(--muted); }
html.js .ptop-t, html.js .ptop-l { animation: up 1.2s var(--ease) both; } html.js .ptop-l { animation-delay: .2s; }
.jump { display: flex; flex-wrap: wrap; gap: 8px; padding-bottom: 60px; }
.jump a { display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 18px; border-radius: 99px; font-size: 15px; }
.jump a:hover { background: rgba(255, 255, 255, .12); }
.sv { display: grid; grid-template-columns: 1.15fr 1fr; gap: 14px; padding-block: 50px; scroll-margin-top: 100px; }
.sv:nth-of-type(even) .sv-m { order: 2; }
.sv-m { padding: 6px; min-height: 420px; overflow: hidden; }
.sv-m video { width: 100%; height: 100%; object-fit: cover; border-radius: calc(var(--r) - 6px); }
.sv-c { padding: clamp(24px, 3vw, 44px); display: grid; gap: 18px; align-content: start; }
.sv-c p { margin: 0; color: var(--muted); font-size: 18px; }
.sv-c ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 20px; }
.sv-c li { display: flex; gap: 8px; align-items: baseline; }
.sv-c li i { color: #00d8ff; }
.sv-c .btn { justify-self: start; margin-top: 8px; }
.block { padding-bottom: clamp(70px, 9vw, 130px); }
.block .h3 { margin-bottom: 28px; }
.webs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.web { margin: 0; padding: 6px; }
.web-s { aspect-ratio: 3 / 4; overflow: hidden; border-radius: calc(var(--r) - 6px); }
.web-s img { width: 100%; transition: transform 5s cubic-bezier(.45, 0, .25, 1); }
.web:hover .web-s img { transform: translateY(calc(-100% + var(--wh, 300px))); }
.web figcaption { padding: 12px 10px 6px; font: 600 15px/1.2 var(--fd); }
.prints { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.prints img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; padding: 6px; }
.igs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.ig { padding: 18px; }
.ig header { display: flex; align-items: center; gap: 12px; }
.ig header img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.ig header span { display: grid; line-height: 1.25; }
.ig header small, .ig b small { color: var(--muted); font: 400 12px/1.4 var(--fb); }
.ig b { margin-left: auto; text-align: right; font: 600 20px/1 var(--fd); display: grid; }
.ig-p { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; margin: 16px 0 12px; border-radius: 12px; overflow: hidden; }
.ig-p img { aspect-ratio: 4 / 5; object-fit: cover; width: 100%; }
.ig p { margin: 0; color: var(--muted); font-size: 15px; }
.story { display: grid; gap: 14px; padding-bottom: clamp(80px, 10vw, 140px); max-width: 1000px; margin-left: 0; }
.st { display: grid; grid-template-columns: 220px 1fr; gap: 24px; padding: 8px; align-items: center; }
.st img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: calc(var(--r) - 8px); }
.st p { color: var(--muted); margin: 10px 0 0; max-width: 52ch; }
.nums { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; padding-bottom: 60px; }
.num { padding: 28px; }
.num .count { display: block; font: 700 clamp(48px, 6vw, 88px)/1 var(--fd); letter-spacing: -.05em; font-variant-numeric: tabular-nums; }
.num p { margin: 10px 0 0; color: var(--muted); }
.ct { display: grid; grid-template-columns: minmax(0, 1.6fr) 180px minmax(0, 1fr); gap: 14px; padding-bottom: 100px; }
.ct-s { grid-column: 3; }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; padding: clamp(22px, 3vw, 40px); }
.full { grid-column: 1 / -1; }
.form fieldset { border: 0; margin: 0; padding: 0; }
.form legend { font: 600 20px/1 var(--fd); margin-bottom: 16px; }
.checks { display: flex; flex-wrap: wrap; gap: 8px; }
.check { position: relative; cursor: pointer; }
.check input { position: absolute; opacity: 0; }
.check span { display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 16px; border-radius: 99px; background: rgba(255, 255, 255, .05); box-shadow: inset 0 0 0 1px var(--line); font-size: 15px; transition: background .2s; }
.check input:checked + span { background: var(--g); box-shadow: none; }
.check input:focus-visible + span { outline: 2px solid #00d8ff; outline-offset: 2px; }
.field { display: grid; gap: 8px; }
.field label { font-size: 14px; font-weight: 500; color: var(--muted); }
.field input, .field select, .field textarea { font: inherit; color: var(--text); background: rgba(255, 255, 255, .04); border: 0; border-radius: 14px; padding: 14px 16px; box-shadow: inset 0 0 0 1px rgba(190, 200, 255, .22); }
.field select option { background: #10121f; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 0; box-shadow: inset 0 0 0 2px #9b2cf0; }
.err { display: none; color: #ff7a9c; font-size: 14px; }
.field.bad .err { display: block; }
.field.bad input, .field.bad textarea { box-shadow: inset 0 0 0 2px #ff4d7d; }
.send { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; }
.note { margin: 0; color: var(--muted); }
.ct-s { display: grid; gap: 14px; align-content: start; }
.ct-s > div { padding: 24px; display: grid; gap: 10px; }
.ct-s a, .ct-s strong { font: 600 20px/1.2 var(--fd); }

/* otkrivanje */
html.js .rv { opacity: 0; transform: translateY(40px); filter: blur(6px); transition: opacity 1s var(--ease), transform 1.1s var(--ease), filter 1s var(--ease); transition-delay: var(--d, 0s); }
html.js .rv.in { opacity: 1; transform: none; filter: none; }

@media (max-width: 1000px) {
  .links, .nav > .btn { display: none; }
  .menu { display: grid; place-items: center; }
  .hero { grid-template-columns: 1fr; align-content: end; padding-bottom: 260px; }
  .reel-card { left: var(--pad); right: auto; bottom: 30px; width: min(320px, 80vw); }
  .bento { grid-template-columns: 1fr 1fr; grid-auto-rows: 220px; }
  .c0, .c1, .c4, .c5 { grid-column: span 2; }
  .ai-g, .webs, .prints, .igs { grid-template-columns: 1fr 1fr; }
  .films .film, .films .film:nth-child(n) { grid-column: span 3; }
  .reels { grid-template-columns: repeat(2, 1fr); }
  .sv, .ct { grid-template-columns: 1fr; }
  .ct-s { grid-column: auto; }
  .sv:nth-of-type(even) .sv-m { order: 0; }
  .sv-m { min-height: 260px; }
  .team, .nums { grid-template-columns: 1fr 1fr; }
  .foot { grid-template-columns: 1fr 1fr; }
  .air-s { min-height: 0; padding-block: 40px; }
}
@media (max-width: 620px) {
  body { font-size: 16px; }
  .bento { grid-template-columns: 1fr; }
  .c0, .c1, .c4, .c5 { grid-column: auto; grid-row: auto; }
  .ai-g, .webs, .prints, .igs, .team, .nums, .form, .foot { grid-template-columns: 1fr; }
  .films .film, .films .film:nth-child(n) { grid-column: 1 / -1; }
  .sv-c ul { grid-template-columns: 1fr; }
  .st { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html.js .rv { opacity: 1; transform: none; filter: none; }
}

/* ---------- dron donosi sadržaj (modes.js) */
.pfield { z-index: 6; }
.mf-t .w { transition: opacity .45s; }
.mf-t .w.on { opacity: 1; }
.bento { position: relative; }
.scan { position: absolute; z-index: 4; top: -36px; bottom: -12px; left: 0; width: 2px; pointer-events: none; opacity: 0; transition: opacity .3s;
  background: linear-gradient(180deg, transparent, #00d8ff 15%, #9b2cf0 60%, #ff1fb0 90%, transparent); box-shadow: 0 0 22px 5px rgba(0, 216, 255, .45); }
.cell { transition: box-shadow .6s; }
.cell.scanned { box-shadow: inset 0 0 0 1px rgba(0, 216, 255, .35), inset 0 1px 0 rgba(255, 255, 255, .06); }
.ai { position: relative; }
.beam { position: absolute; z-index: 1; width: 300px; translate: -50% 0; pointer-events: none; opacity: 0; transition: opacity .4s; mix-blend-mode: screen; filter: blur(3px);
  background: linear-gradient(180deg, rgba(0, 216, 255, .55), rgba(155, 44, 240, .18) 75%, transparent); clip-path: polygon(45% 0, 55% 0, 100% 100%, 0 100%); }
.ai-c { transition: transform .6s var(--ease), box-shadow .6s; }
.ai-c.lit { transform: translateY(-8px); box-shadow: inset 0 0 0 1px rgba(0, 216, 255, .7), 0 0 70px -12px rgba(0, 216, 255, .7); }
.ai-c.lit i { animation: litpulse 1.2s ease-in-out infinite alternate; }
@keyframes litpulse { to { box-shadow: 0 0 30px rgba(0, 216, 255, .8); } }
.posts { min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; justify-content: center; padding-block: 60px; }
.posts .h2 { margin-bottom: 36px; }
.posts .reels { margin-top: 0; }
.film.carried::before { content: ""; position: absolute; left: 50%; top: -46px; width: 1.5px; height: 46px; background: linear-gradient(0deg, #00d8ff, transparent); }
.film.carried { box-shadow: 0 30px 60px -10px rgba(0, 216, 255, .35), inset 0 0 0 1px rgba(0, 216, 255, .6); }
.mate { position: relative; }
.flash { position: absolute; inset: 6px; border-radius: 16px; background: #fff; opacity: 0; pointer-events: none; z-index: 4; }
.mate.shot img { filter: none; }

/* ---------- kino: odabrani radovi */
.cine-sec { padding-block: clamp(80px, 10vw, 150px); }
.cine { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.5fr); gap: clamp(28px, 4vw, 64px); align-items: center; }
.cine-side .h2 { margin-bottom: 28px; }
.cine-list { list-style: none; margin: 0 0 28px; padding: 0; }
.cine-i { position: relative; width: 100%; display: grid; grid-template-columns: 1fr auto; align-items: baseline; gap: 12px; padding: 14px 0; border: 0; background: none; text-align: left; border-top: 1px solid var(--line); }
.cine-t { font: 600 clamp(18px, 1.6vw, 24px)/1.15 var(--fd); letter-spacing: -.02em; color: var(--muted); transition: color .3s, transform .5s var(--ease); }
.cine-c { font: 500 11px/1 var(--fm); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); opacity: .7; }
.cine-i:hover .cine-t { color: var(--text); }
.cine-i.on .cine-t { color: var(--text); transform: translateX(14px); }
.cine-i.on::before { content: ""; position: absolute; left: 0; top: 50%; width: 6px; height: 6px; margin-top: -3px; border-radius: 50%; background: #00d8ff; box-shadow: 0 0 12px #00d8ff; }
.cine-bar { position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; overflow: hidden; }
.cine-bar i { display: block; height: 100%; background: var(--g); transform-origin: left; transform: scaleX(0); }
.cine-i.on .cine-bar i { animation: cinebar var(--dur, 6s) linear forwards; }
.cine.paused .cine-i.on .cine-bar i { animation-play-state: paused; }
@keyframes cinebar { to { transform: scaleX(1); } }
.cine-stage { position: relative; aspect-ratio: 16 / 10; border-radius: 28px; overflow: hidden; background: #0a0b12; box-shadow: 0 40px 120px -40px rgba(74, 60, 255, .55), inset 0 0 0 1px var(--line); }
.cine-stage video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.08); transition: opacity .8s var(--ease), transform 6s linear; }
.cine-stage video.on { opacity: 1; transform: scale(1); }
.cine-stage::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(5, 6, 12, .85)); pointer-events: none; }
.cine-meta { position: absolute; z-index: 2; left: 28px; bottom: 26px; display: grid; gap: 8px; }
.cine-meta .mono { color: #9ff3ff; }
.cine-name { font: 700 clamp(26px, 3vw, 48px)/1 var(--fd); letter-spacing: -.035em; }
.cine-play { position: absolute; z-index: 2; right: 24px; bottom: 24px; display: inline-flex; align-items: center; gap: 10px; height: 52px; padding: 0 22px 0 8px; border: 0; border-radius: 99px; background: rgba(255, 255, 255, .12); backdrop-filter: blur(12px); font-weight: 600; transition: background .3s; }
.cine-play i { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: #000; }
.cine-play:hover { background: rgba(255, 255, 255, .22); }
@media (max-width: 1000px) { .cine { grid-template-columns: 1fr; } .cine-stage { order: -1; } }
@media (max-width: 620px) { .cine-play span { display: none; } .cine-play { padding: 0 8px; } .cine-meta { left: 18px; bottom: 18px; } }

/* ---------- dron po podstranicama (pages.js) */
.sv-m { position: relative; }
.sv-m::after { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 2px; pointer-events: none; opacity: 0; transition: opacity .6s;
  background: conic-gradient(from var(--ang, 0deg), transparent 0deg, #00d8ff 30deg, #9b2cf0 60deg, transparent 100deg, transparent 360deg);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; }
.sv-m.orbit::after { opacity: 1; }
.film { transition: box-shadow .5s, transform .5s var(--ease); }
.film.lit { transform: translateY(-6px); box-shadow: inset 0 0 0 1px rgba(255, 31, 176, .7), 0 30px 80px -20px rgba(255, 31, 176, .55); }
.story { position: relative; }
.route { position: absolute; inset: 0; pointer-events: none; overflow: visible; z-index: -1; }
.route path { fill: none; stroke-width: 2; stroke-linecap: round; }
.route-bg { stroke: rgba(190, 200, 255, .12); stroke-dasharray: 2 8; }
.route-fg { stroke: url(#rg); filter: drop-shadow(0 0 8px rgba(0, 216, 255, .7)); }
.st { transition: box-shadow .6s, opacity .6s; opacity: .55; }
.st.reached { opacity: 1; box-shadow: inset 0 0 0 1px rgba(0, 216, 255, .45), 0 20px 60px -20px rgba(74, 60, 255, .6); }
.env { position: fixed; left: 0; top: 0; z-index: 7; width: 44px; height: 32px; border-radius: 8px; display: grid; place-items: center; font-size: 22px; color: #fff; background: var(--g); box-shadow: 0 10px 30px rgba(0, 216, 255, .5); opacity: 0; transition: opacity .3s; pointer-events: none; }
.env.on { opacity: 1; }
.env::before { content: ""; position: absolute; left: 50%; top: -30px; width: 1.5px; height: 30px; background: linear-gradient(0deg, #00d8ff, transparent); }
@media (max-width: 1000px) { .st { opacity: 1; } }

/* hero: showreel u pozadini lijeve polovice, zatamnjen, nestaje prema logu */
.hero { position: relative; }
.hero-c { position: relative; z-index: 1; }
.hero-bg { position: absolute; z-index: 0; top: 0; bottom: 0; left: calc(50% - 50vw); width: min(64vw, 1100px); pointer-events: none; overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, #000 0%, #000 35%, transparent 100%), linear-gradient(180deg, transparent 0%, #000 18%, #000 78%, transparent 100%);
  -webkit-mask-composite: source-in; mask-image: linear-gradient(90deg, #000 0%, #000 35%, transparent 100%), linear-gradient(180deg, transparent 0%, #000 18%, #000 78%, transparent 100%); mask-composite: intersect; }
.hero-bg video { width: 100%; height: 100%; object-fit: cover; filter: brightness(.42) saturate(1.15) contrast(1.05); }
.hero-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(5, 6, 12, .35), rgba(74, 60, 255, .12) 60%, transparent); mix-blend-mode: multiply; }
html.js .hero-bg { animation: fade 1.8s .2s var(--ease) both; }
@media (max-width: 1000px) { .hero-bg { width: 100vw; -webkit-mask-image: linear-gradient(180deg, transparent, #000 25%, #000 70%, transparent); mask-image: linear-gradient(180deg, transparent, #000 25%, #000 70%, transparent); } }
/* početna: 5 usluga, zadnja kartica preko cijele širine */
.bento .c4:last-child { grid-column: 1 / -1; }
@media (max-width: 620px) { .bento .c4:last-child { grid-column: auto; } }

/* ---------- usluge: 3D vrtuljak */
.svf { position: relative; }
.svf-in { min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; justify-content: center; gap: clamp(20px, 3vh, 40px); padding-block: 90px 40px; overflow: hidden; }
.svf-h { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 24px; }
.svf-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
.svf-dot { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 14px; border: 0; border-radius: 99px; background: rgba(255, 255, 255, .05); box-shadow: inset 0 0 0 1px var(--line); color: var(--muted); font-size: 14px; transition: background .4s, color .4s, box-shadow .4s; }
.svf-dot i { font-size: 17px; }
.svf-dot.on { color: #fff; background: rgba(74, 60, 255, .35); box-shadow: inset 0 0 0 1px rgba(0, 216, 255, .6), 0 0 24px -6px rgba(0, 216, 255, .7); }
.svf-stage { position: relative; height: min(62vh, 600px); perspective: 1600px; transform-style: preserve-3d; }
.fcard { position: absolute; left: 50%; top: 0; width: min(400px, 30vw); height: 100%; margin-left: calc(min(400px, 30vw) / -2); border-radius: 28px; overflow: hidden; background: #0d0f1a; box-shadow: 0 40px 100px -30px rgba(0, 0, 0, .8), inset 0 0 0 1px var(--line); will-change: transform, opacity; transform-origin: 50% 50%; }
.fcard video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.fcard::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(5, 6, 12, .05) 30%, rgba(5, 6, 12, .9)); }
.fcard::before { content: ""; position: absolute; inset: 0; z-index: 2; border-radius: inherit; pointer-events: none; box-shadow: inset 0 0 0 1.5px rgba(0, 216, 255, 0); transition: box-shadow .5s; }
.fcard.on::before { box-shadow: inset 0 0 0 1.5px rgba(0, 216, 255, .7), 0 0 80px -10px rgba(0, 216, 255, .5); }
.fcard-c { position: absolute; z-index: 1; left: 26px; right: 26px; bottom: 26px; display: grid; gap: 10px; }
.fcard-i { width: 50px; height: 50px; border-radius: 15px; display: grid; place-items: center; font-size: 25px; background: var(--g); margin-bottom: 6px; }
.fcard-c strong { font: 700 clamp(24px, 2.2vw, 34px)/1.05 var(--fd); letter-spacing: -.035em; }
.fcard-l { color: rgba(238, 240, 255, .78); }
.fcard em { font-style: normal; font-weight: 600; display: inline-flex; gap: 6px; align-items: center; opacity: 0; transform: translateY(8px); transition: opacity .4s, transform .5s var(--ease); }
.fcard.on em { opacity: 1; transform: none; }
@media (max-width: 1000px) {
  .svf-in { padding-block: 60px; }
  .svf-nav { display: none; }
  .svf-stage { height: auto; display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 0 var(--pad) 10px; perspective: none; }
  .fcard { position: relative; left: 0; margin: 0; flex: 0 0 78vw; height: 70vh; max-height: 560px; scroll-snap-align: center; }
  .fcard em { opacity: 1; transform: none; }
}

/* ---------- Mario Valjak uz manifest */
.mf { padding-block: clamp(90px, 11vw, 170px); }
.mf-g { display: grid; grid-template-columns: minmax(260px, .7fr) minmax(0, 1.5fr); gap: clamp(28px, 5vw, 80px); align-items: center; }
.mf-who { margin: 0; padding: 8px; position: relative; }
.mf-img { aspect-ratio: 4 / 5; border-radius: calc(var(--r) - 8px); overflow: hidden; position: relative; }
.mf-img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.mf-img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(5, 6, 12, .75)); }
.mf-who figcaption { position: absolute; left: 26px; right: 26px; bottom: 24px; display: grid; gap: 6px; }
.mf-who figcaption .mono { color: #9ff3ff; }
.mf-who strong { font: 700 clamp(24px, 2.2vw, 32px)/1 var(--fd); letter-spacing: -.035em; }
.mf-sig { position: absolute; right: 0; bottom: 2px; font: 500 11px/1 var(--fm); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.mf-c .mf-t { font-size: clamp(26px, 3vw, 46px); max-width: 26ch; margin-bottom: 32px; }
.mf-bio { display: grid; gap: 18px; max-width: 58ch; margin-bottom: 30px; }
.mf-bio p { margin: 0; color: var(--muted); font-size: 18px; }
.mf-bio p strong { color: var(--text); font-weight: 600; }
.mf-facts { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.mf-facts li { display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 14px; border-radius: 99px; background: rgba(255, 255, 255, .05); box-shadow: inset 0 0 0 1px var(--line); font-size: 14px; }
.mf-facts i { color: #00d8ff; font-size: 17px; }
.mf-a { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; }
@media (max-width: 1000px) { .mf-g { grid-template-columns: 1fr; } .mf-who { max-width: 380px; } }

/* mobitel: bez skupog zamućivanja stakla (glatkiji scroll), dron ne prekriva tekst jako */
@media (max-width: 1000px) {
  .glass { backdrop-filter: none; -webkit-backdrop-filter: none; background: rgba(16, 18, 34, .88); }
  .nav.glass { backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); background: rgba(10, 11, 22, .72); }
  .pfield { opacity: .9; }
  .grain { display: none; }
}

/* ---------- brzi kontakt (telefon, e-mail) i bočni gumb za scroll */
.fab { position: fixed; z-index: 40; right: max(18px, env(safe-area-inset-right, 0px)); bottom: max(18px, env(safe-area-inset-bottom, 0px)); display: grid; gap: 10px; justify-items: end; }
.fab-b { display: inline-flex; align-items: center; height: 54px; min-width: 54px; padding: 0 17px; border-radius: 99px; color: #fff; background: rgba(14, 16, 30, .82); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  box-shadow: inset 0 0 0 1px rgba(190, 200, 255, .2), 0 12px 30px -8px rgba(0, 0, 0, .6); transition: background .3s, box-shadow .3s, transform .3s var(--ease); }
.fab-b i { font-size: 21px; }
.fab-b span { max-width: 0; overflow: hidden; white-space: nowrap; font-weight: 600; font-size: 15px; transition: max-width .5s var(--ease), margin .5s var(--ease); }
.fab-b:hover, .fab-b:focus-visible { background: var(--g); box-shadow: 0 14px 40px -10px rgba(155, 44, 240, .8); }
.fab-b:hover span, .fab-b:focus-visible span { max-width: 240px; margin-left: 10px; }
.fab-b:first-child { background: var(--g); }
.cue { position: fixed; z-index: 40; right: max(22px, env(safe-area-inset-right, 0px)); top: 50%; translate: 0 -50%; display: grid; justify-items: center; gap: 12px; padding: 14px 8px; border: 0; border-radius: 99px; background: rgba(14, 16, 30, .6); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: inset 0 0 0 1px rgba(190, 200, 255, .16); color: var(--text); transition: opacity .4s, background .3s; }
.cue:hover { background: rgba(74, 60, 255, .35); }
.cue-t { writing-mode: vertical-rl; font: 500 11px/1 var(--fm); letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.cue-track { position: relative; width: 2px; height: 90px; border-radius: 2px; background: rgba(255, 255, 255, .15); overflow: hidden; }
.cue-track i { position: absolute; left: 0; top: 0; width: 100%; height: 100%; background: var(--g); transform-origin: top; transform: scaleY(var(--p, 0)); }
.cue-i { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .1); font-size: 15px; animation: cuebob 1.6s ease-in-out infinite; }
.cue.end .cue-i { animation: none; transform: rotate(180deg); }
@keyframes cuebob { 50% { transform: translateY(5px); } }
@media (max-width: 1000px) {
  .fab-b { height: 50px; min-width: 50px; padding: 0 15px; }
  .cue { right: max(3px, env(safe-area-inset-right, 0px)); padding: 6px 2px; gap: 6px; background: none; backdrop-filter: none; -webkit-backdrop-filter: none; box-shadow: none; }
  .cue-t { display: none; }
  .cue-track { height: 48px; }
  .cue-i { width: 22px; height: 22px; font-size: 12px; background: rgba(14, 16, 30, .7); }
}
@media (prefers-reduced-motion: reduce) { .cue-i { animation: none; } }
