/* ============================================================
   TiasVisuals — styles
   Change --accent below to swap the accent colour site-wide.
   ============================================================ */
:root {
  --accent: #FFB454;
  --accent-rgb: 255, 180, 84;
  --bg: #050506;
  --bg-2: #0b0b0d;
  --bg-3: #131316;
  --ink: #ededf0;
  --mute: #a0a0a8;
  --dim: #6c6c75;
  --line: rgba(255, 255, 255, .11);
  --glass: rgba(255, 255, 255, .055);
  --glass-hi: rgba(255, 255, 255, .1);
  --radius: 22px;
  --gutter: clamp(20px, 5vw, 88px);
  --max: 1560px;
  --head: "Michroma", "Space Grotesk", system-ui, sans-serif;
  --body: "Space Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ease: cubic-bezier(.22, .8, .2, 1);
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
/* scrollbar-gutter: the scrollbar's space is always reserved, so hiding it (logo intro, video lightbox, mobile menu)
   doesn't make the page 15px wider and then snap back narrower when it returns */
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; -webkit-tap-highlight-color: transparent; /* no blue box on tap (phones) */ scroll-padding-top: calc(var(--header-h) + 12px); scrollbar-gutter: stable; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 400 clamp(1rem, .95rem + .2vw, 1.14rem)/1.65 var(--body);
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
/* Page fade in/out: a cover on top that fades, rather than fading the page itself. Fading the whole page changes how the
   browser layers it, and every frosted panel re-draws its blur when the fade ends, which shows as a flicker. */
body::after { content: ""; position: fixed; inset: 0; z-index: 200; background: var(--bg); pointer-events: none; opacity: 0; transition: opacity .35s ease; }
html.loading body::after, body.leaving::after { opacity: 1; }
/* lock scrolling on the page root (not body), so the reserved scrollbar gutter above is kept while locked */
html:has(body.locked) { overflow: hidden; }
img, video, svg { display: block; max-width: 100%; }
img { height: auto; } /* keep proportions when an image is narrowed to fit */
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
::selection { background: var(--accent); color: #140c02; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

h1, h2, h3 { font-family: var(--head); font-weight: 400; line-height: 1.12; margin: 0; text-wrap: balance; overflow-wrap: break-word; }
h1 { font-size: clamp(2rem, 1rem + 4.6vw, 5.6rem); text-transform: uppercase; letter-spacing: .01em; }
h2 { font-size: clamp(1.5rem, .9rem + 2.4vw, 3.3rem); text-transform: uppercase; }
h3 { font-size: clamp(1.05rem, .95rem + .5vw, 1.45rem); }
p { margin: 0 0 1em; }
.lead { color: var(--mute); font-size: clamp(1.05rem, 1rem + .35vw, 1.3rem); max-width: 62ch; }

.wrap { width: min(100% - 2 * var(--gutter), var(--max)); margin-inline: auto; }
.section { --sec: clamp(84px, 11vw, 190px); position: relative; padding-block: var(--sec); }
/* gaps 30% tighter after the process strip (home) and after the packages (service pages) */
#process, #packages { padding-bottom: calc(var(--sec) * .7); }
#process ~ .section, #packages ~ .section { --sec: calc(clamp(84px, 11vw, 190px) * .7); }
/* service pages: gap from the custom-offer band (under the packages) to Primeri radova is half that again; the divider line stays */
#packages + .section { padding-bottom: calc(var(--sec) * .5); }
#packages + .section + #work { padding-top: calc(var(--sec) * .5); }
/* ...and the gap from Primeri radova to Ostale usluge is halved too (divider stays) */
#packages ~ #work { padding-bottom: calc(var(--sec) * .5); }
#packages ~ #work + .section { padding-top: calc(var(--sec) * .5); }
/* service pages: the custom-inquiry band belongs to the packages, so no divider line between them and a tight gap
   (each side .7 * .6 * .5 of a normal section gap) */
#packages { padding-bottom: calc(var(--sec) * .21); }
#packages + .section { padding-top: calc(var(--sec) * .3); }
#packages + .section::before { display: none; }
/* social page: format switcher. Gap from the service tiles is 30% shorter (hero bottom padding + this top padding, x .7),
   and the gap to the packages is a quarter of the normal one. */
.page-hero + #formats { padding-top: calc(.7 * clamp(24px, 3.5vw, 56px) - .3 * clamp(50px, 7vw, 100px)); }
#formats { padding-bottom: calc(var(--sec) * .25); }
#formats + #packages { padding-top: calc(var(--sec) * .25); }
.section + .section::before, .divider {
  content: ""; position: absolute; top: 0; left: var(--gutter); right: var(--gutter); height: 1px;
  background: linear-gradient(90deg, transparent, var(--line) 20%, var(--line) 80%, transparent);
}
.section.alt { background: linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 18%, var(--bg-2) 82%, var(--bg) 100%); }
.section-head { display: grid; gap: 18px; margin-bottom: clamp(36px, 5vw, 72px); max-width: 980px; }
.section-head.tight { margin-bottom: clamp(28px, 3.4vw, 50px); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px; font-size: .78rem; letter-spacing: .26em;
  text-transform: uppercase; color: var(--accent); font-weight: 500;
}
.eyebrow::before { content: ""; width: 34px; height: 1px; background: currentColor; opacity: .7; }

/* ---------- reveal on scroll ---------- */
/* An animation, not a transition: elements with their own hover transitions (tiles, packages, panels,
   FAQ) would otherwise override it and pop in. Fill "backwards" only, so hover effects still work after. */
[data-reveal]:not(.in) { opacity: 0; transform: translateY(34px); }
[data-reveal].in { animation: reveal .9s var(--ease) var(--d, 0s) backwards; }
@keyframes reveal { from { opacity: 0; transform: translateY(34px); } to { opacity: 1; transform: none; } }
/* Blurred glass panels: fading the panel itself (or a parent) fades its backdrop blur too, so the page shows through
   unblurred for a moment. Instead the panel keeps full opacity and only slides; its content fades. */
[data-reveal].glass:not(.in), .svc-tile[data-reveal]:not(.in) { opacity: 1; }
/* Keep these panels on their own GPU layer for good. Otherwise the browser moves them onto a layer when the slide starts
   and back off when it ends, and the blurred backdrop is re-drawn slightly differently each time: a one-off colour twitch. */
[data-reveal].glass, .svc-tile { will-change: transform; }
[data-reveal].glass:not(.in) > *, .svc-tile[data-reveal]:not(.in) > * { opacity: 0; }
[data-reveal].glass.in, .svc-tile[data-reveal].in { animation: reveal-glass .9s var(--ease) var(--d, 0s) backwards; }
[data-reveal].glass.in > *, .svc-tile[data-reveal].in > * { animation: reveal-kids .9s var(--ease) var(--d, 0s) backwards; }
@keyframes reveal-glass { from { transform: translateY(34px); } to { transform: none; } }
@keyframes reveal-kids { from { opacity: 0; } to { opacity: 1; } }

/* ---------- glass + buttons ---------- */
/* Flat frosted glass: even fill, thin rim light (brightest top-left and bottom-right), soft drop shadow. No gloss dome. */
.glass {
  background: rgba(255, 255, 255, .045);
  border: 1px solid rgba(255, 255, 255, .07); border-radius: var(--radius);
  -webkit-backdrop-filter: blur(20px) saturate(150%); backdrop-filter: blur(20px) saturate(150%);
  box-shadow: inset 1px 1px 0 rgba(255, 255, 255, .13), inset -1px -1px 0 rgba(255, 255, 255, .04), 0 30px 60px -30px rgba(0, 0, 0, .9);
}
.rim, .btn, .lang, .play, .chip, .burger { position: relative; isolation: isolate; }
.btn::before, .lang::before, .play::before, .chip::before, .burger::before, .tile-i::before { /* rim light */
  content: ""; position: absolute; inset: 0; z-index: 2; border-radius: inherit; padding: 1px; pointer-events: none;
  background: linear-gradient(135deg, rgba(255, 255, 255, .55) 0%, rgba(255, 255, 255, .12) 24%, rgba(255, 255, 255, .03) 52%, rgba(255, 255, 255, .1) 78%, rgba(255, 255, 255, .34) 100%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
}
.btn {
  overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: .65em;
  min-height: 52px; padding: .8em 1.55em; border-radius: 15px;
  font-weight: 600; font-size: .98rem; letter-spacing: .01em; white-space: nowrap; color: var(--ink);
  background: rgba(255, 255, 255, .075); border: 0;
  -webkit-backdrop-filter: blur(16px) saturate(160%); backdrop-filter: blur(16px) saturate(160%);
  box-shadow: inset 0 -10px 18px -12px rgba(0, 0, 0, .45), 0 1px 1px rgba(0, 0, 0, .35), 0 12px 26px -14px rgba(0, 0, 0, .95);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .35s, opacity .3s ease, filter .3s ease;
}
.btn::after { /* faint moving sheen on hover */
  content: ""; position: absolute; z-index: 1; top: -20%; bottom: -20%; left: -60%; width: 36%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .13), transparent);
  transform: skewX(-18deg); transition: left .8s var(--ease); pointer-events: none;
}
.btn:hover { transform: translateY(-1px); background: rgba(255, 255, 255, .11); box-shadow: inset 0 -10px 18px -12px rgba(0, 0, 0, .45), 0 1px 1px rgba(0, 0, 0, .35), 0 18px 34px -14px rgba(0, 0, 0, 1); }
.btn:hover::after { left: 120%; }
.btn:active { transform: translateY(0) scale(.985); }
.btn svg { width: 1.15em; height: 1.15em; flex: none; }
.btn-accent {
  color: #1c1003; background: linear-gradient(180deg, #ffbb63, #f7aa47);
  box-shadow: inset 0 -10px 18px -10px rgba(150, 70, 0, .35), 0 1px 1px rgba(0, 0, 0, .3), 0 14px 32px -14px rgba(var(--accent-rgb), .55);
}
.btn-accent::before { background: linear-gradient(135deg, rgba(255, 255, 255, .9) 0%, rgba(255, 255, 255, .25) 26%, rgba(255, 255, 255, .05) 55%, rgba(255, 255, 255, .2) 80%, rgba(255, 255, 255, .6) 100%); }
.btn-accent:hover { background: linear-gradient(180deg, #ffc372, #f9b052); box-shadow: inset 0 -10px 18px -10px rgba(150, 70, 0, .35), 0 1px 1px rgba(0, 0, 0, .3), 0 20px 40px -14px rgba(var(--accent-rgb), .7); }
.btn-sm { min-height: 42px; padding: .5em 1.15em; font-size: .88rem; }
.btn[aria-disabled="true"] { opacity: .6; }
.btn:disabled { opacity: .3; pointer-events: none; cursor: default; filter: saturate(.6); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--header-h);
  display: flex; align-items: center; transition: background .4s, border-color .4s, backdrop-filter .4s;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled, body.menu-open .site-header {
  background: rgba(8, 8, 10, .62); border-bottom-color: var(--line);
  -webkit-backdrop-filter: blur(20px) saturate(150%); backdrop-filter: blur(20px) saturate(150%);
}
/* three fixed columns: brand | nav (centred) | tools — nothing can push anything else */
.header-grid { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; }
.brand { grid-column: 1; justify-self: start; display: block; }
.nav { grid-column: 2; }
.header-tools { grid-column: 3; justify-self: end; }
.brand img { height: 34px; width: auto; }
.nav { display: flex; gap: clamp(14px, 2vw, 34px); }
.nav a { position: relative; font-size: .92rem; color: var(--mute); padding: 8px 0; transition: color .3s; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease); }
.nav a:hover, .nav a.active { color: var(--ink); }
.nav a:hover::after, .nav a.active::after { transform: scaleX(1); }
.header-tools { display: flex; align-items: center; gap: 12px; }

/* bilingual text: both languages share one grid cell; the inactive one is invisible but keeps its size */
.dual { display: inline-grid; }
.dual > span { grid-area: 1 / 1; transition: opacity .3s ease, visibility .3s; }
html[data-lang="sr"] .dual > [data-l="en"], html[data-lang="en"] .dual > [data-l="sr"] { opacity: 0; visibility: hidden; }
.btn .dual, .chip .dual, .nav .dual, .pack-badge .dual { justify-items: center; text-align: center; }

.lang {
  --lw: 42px;
  display: inline-flex; padding: 3px; border-radius: 999px;
  background: rgba(255, 255, 255, .06); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
}
.lang-base, .lang-ink { display: flex; }
.lang-base span, .lang-ink span { width: var(--lw); padding: 7px 0; text-align: center; font-size: .78rem; font-weight: 700; letter-spacing: .08em; line-height: 1.4; }
.lang-base span { color: var(--mute); }
.lang-pill {
  position: absolute; top: 3px; bottom: 3px; left: 3px; width: var(--lw); border-radius: 999px; overflow: hidden; font-style: normal;
  background: linear-gradient(180deg, #ffbb63, #f7aa47);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .55), inset 0 -4px 8px -4px rgba(150, 70, 0, .4), 0 4px 14px -4px rgba(var(--accent-rgb), .6);
  transform: translateX(0); transform-origin: 50% 50%; will-change: transform, filter;
}
/* black copy of the labels inside the pill, counter-moved so it lines up with the grey ones */
.lang-ink { position: absolute; left: 0; top: 0; bottom: 0; align-items: center; color: #1c1003; transform-origin: calc(var(--lw) / 2) 50%; will-change: transform; }
.lang.is-en .lang-pill { transform: translateX(var(--lw)); }
.lang.is-en .lang-ink { transform: translateX(calc(-1 * var(--lw))); }

.burger { display: none; width: 46px; height: 46px; border-radius: 50%; background: rgba(255, 255, 255, .06); }
/* whole-pixel line positions + a permanent layer, so the X doesn't snap after the animation */
.burger i { position: absolute; left: 13px; width: 20px; height: 2px; border-radius: 2px; background: var(--ink); will-change: transform; transform: translate3d(0, 0, 0); transition: transform .35s var(--ease); }
.burger i:first-child { top: 18px; } .burger i:last-child { top: 26px; }
body.menu-open .burger i:first-child { transform: translate3d(0, 4px, 0) rotate(45deg); }
body.menu-open .burger i:last-child { transform: translate3d(0, -4px, 0) rotate(-45deg); }
.mobile-menu {
  position: fixed; inset: 0; z-index: 40; padding: calc(var(--header-h) + 30px) var(--gutter) 40px;
  display: flex; flex-direction: column; gap: 6px; background: rgba(5, 5, 6, .86);
  -webkit-backdrop-filter: blur(26px); backdrop-filter: blur(26px);
  opacity: 0; visibility: hidden; transition: opacity .35s, visibility .35s; overflow-y: auto;
}
body.menu-open .mobile-menu { opacity: 1; visibility: visible; }
.mobile-menu a:not(.btn) { font-family: var(--head); font-size: clamp(1.2rem, 5.5vw, 1.9rem); text-transform: uppercase; padding: 14px 0; border-bottom: 1px solid var(--line); color: var(--mute); }
.mobile-menu a.active { color: var(--ink); }
.mobile-menu .btn { margin-top: 26px; align-self: flex-start; }

/* ---------- intro ---------- */
/* Intro: the logo is sized from both screen width and height (logo is ~2.17:1), so it looks the same on
   phones, laptops, ultra-wides and short landscape screens. Timings are 20% quicker than before. */
.intro { position: fixed; inset: 0; z-index: 100; background: #000; display: grid; place-items: center; padding: 24px; transition: clip-path .8s var(--ease), opacity .48s ease .4s; clip-path: inset(0 0 0 0); }
.intro.done { clip-path: inset(0 0 100% 0); opacity: 0; pointer-events: none; }
/* The logo and its light sweep stay on their own GPU layers for the whole intro (will-change), and the animations end on
   scale(1) / blur(0) rather than "none". Otherwise the browser hands the logo back to normal drawing the moment each animation
   ends, and it re-renders a hair sharper/shifted: a visible twitch, strongest on high-density phone screens. */
.intro-logo { position: relative; width: min(76vw, 100vh, 760px); opacity: 0; transform: scale(.94); filter: blur(10px); will-change: transform, filter, opacity; animation: introIn 1.04s var(--ease) .12s forwards; }
@media (min-width: 700px) { .intro-logo { width: min(48vw, 90vh, 760px); } }
.intro-logo img { width: 100%; height: auto; }
.intro-logo::after { content: ""; position: absolute; inset: -10% -30%; background: linear-gradient(100deg, transparent 40%, rgba(255, 255, 255, .55) 50%, transparent 60%); mix-blend-mode: overlay; transform: translateX(-100%); will-change: transform; animation: introSweep 1.12s ease .56s forwards; }
.intro-line { position: absolute; left: 50%; top: calc(100% + clamp(14px, 3.5vh, 34px)); height: 1px; width: 62%; background: var(--accent); transform: translateX(-50%) scaleX(0); will-change: transform; animation: introLine 1.28s var(--ease) .24s forwards; }
.intro-skip { position: absolute; right: var(--gutter); bottom: 34px; font-size: .78rem; letter-spacing: .22em; text-transform: uppercase; color: var(--mute); padding: 10px 4px; }
.intro-skip:hover { color: var(--ink); }
@keyframes introIn { to { opacity: 1; transform: scale(1); filter: blur(0); } }
@keyframes introSweep { to { transform: translateX(100%); } }
@keyframes introLine { to { transform: translateX(-50%) scaleX(1); } }

/* ---------- placeholder media ---------- */
.ph {
  --h: 34;
  position: absolute; inset: 0; overflow: hidden; background-color: #0d0d10;
  background-image:
    radial-gradient(90% 80% at 15% 10%, hsl(var(--h) 55% 46% / .5), transparent 60%),
    radial-gradient(80% 90% at 90% 95%, hsl(calc(var(--h) + 190) 22% 55% / .32), transparent 62%),
    linear-gradient(135deg, #17171b, #08080a);
}
.ph::before { /* grain */
  content: ""; position: absolute; inset: -50%; opacity: .16; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .8 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.ph::after { content: ""; position: absolute; inset: 0; background: radial-gradient(120% 100% at 50% 40%, transparent 40%, rgba(0, 0, 0, .7)); }
.ph-label { position: absolute; z-index: 2; top: 14px; left: 14px; font-size: .64rem; letter-spacing: .2em; text-transform: uppercase; color: rgba(255, 255, 255, .55); padding: 5px 10px; border: 1px solid rgba(255, 255, 255, .2); border-radius: 999px; background: rgba(0, 0, 0, .3); }
.media-fill { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* ---------- hero ---------- */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: flex-end; overflow: hidden; }
.hero-media { position: absolute; inset: 0; }
.hero-media .blob { position: absolute; border-radius: 50%; filter: blur(80px); opacity: .55; will-change: transform; }
.hero-media .b1 { width: 55vmax; height: 55vmax; left: -12vmax; top: -18vmax; background: radial-gradient(circle, rgba(var(--accent-rgb), .55), transparent 65%); animation: drift1 22s ease-in-out infinite alternate; }
.hero-media .b2 { width: 50vmax; height: 50vmax; right: -14vmax; bottom: -20vmax; background: radial-gradient(circle, rgba(190, 200, 220, .38), transparent 65%); animation: drift2 26s ease-in-out infinite alternate; }
.hero-media .b3 { width: 30vmax; height: 30vmax; left: 45%; top: 30%; background: radial-gradient(circle, rgba(var(--accent-rgb), .22), transparent 65%); animation: drift1 30s ease-in-out infinite alternate-reverse; }
@keyframes drift1 { to { transform: translate(14vmax, 10vmax) scale(1.2); } }
@keyframes drift2 { to { transform: translate(-16vmax, -8vmax) scale(1.15); } }
/* fade the whole background (gradient, glow, object) into the page instead of a hard cut */
.hero-media { -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 62%, transparent 100%); mask-image: linear-gradient(180deg, #000 0%, #000 62%, transparent 100%); }
.page-hero + .section { padding-top: clamp(24px, 3.5vw, 56px); }
.hero + #process { padding-top: calc(clamp(84px, 11vw, 190px) * .6); } /* home: gap under the hero is 40% shorter */
.particles { position: absolute; z-index: 1; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.hero-media .blob { opacity: .38; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(5, 5, 6, .55) 0%, rgba(5, 5, 6, .1) 35%, rgba(5, 5, 6, .75) 78%, var(--bg) 100%); }
.hud { position: absolute; z-index: 2; top: calc(var(--header-h) + 18px); left: var(--gutter); right: var(--gutter); display: flex; justify-content: space-between; font-size: .72rem; letter-spacing: .2em; color: rgba(255, 255, 255, .6); font-variant-numeric: tabular-nums; pointer-events: none; }
.hud .rec { display: inline-flex; align-items: center; gap: 9px; }
.hud .rec::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 12px var(--accent); animation: blink 1.6s steps(2) infinite; }
@keyframes blink { 50% { opacity: .15; } }
.hero-content { position: relative; z-index: 2; padding-block: calc(var(--header-h) + 80px) clamp(42px, 6vh, 78px); display: grid; gap: clamp(18px, 2.4vw, 30px); }
.hero h1 { max-width: 15ch; }
.hero .lead { color: #c9c9d0; }
/* home, desktop: the text sits halfway between the viewfinder corners (both paddings are the corner's inset + 24px).
   Narrower screens keep it at the bottom, where it clears the camera. Previous version: backup/hero-v1-2026-11-22 */
@media (min-width: 1101px) and (min-height: 521px) {
  .hero { align-items: center; }
  .hero .hero-content { padding-block: calc(var(--header-h) + 78px) 50px;
    margin-inline: calc(max(8px, var(--gutter) - 24px) + 5.04vw) auto; } /* starts 5.04vw right of the corner lines (96px on a 1894px screen) */
}
/* below 1894px the hero text shrinks with the screen, so it takes the same share of the width as on a 1894px screen
   (vw = the size at 1894px / 18.94); the minimums keep the small text readable */
@media (min-width: 1101px) and (max-width: 1893px) and (min-height: 521px) {
  .hero .hero-content { gap: max(18px, 1.584vw); }
  .hero h1 { font-size: 4.731vw; }
  .hero .lead { font-size: max(15px, 1.098vw); }
  .hero .eyebrow { font-size: max(11px, .659vw); }
  .hero .btn { font-size: max(13.5px, .828vw); min-height: max(44px, 2.746vw); }
}
/* camera viewfinder corners framing the hero */
.vf { position: absolute; z-index: 2; pointer-events: none; top: calc(var(--header-h) + 54px); bottom: 26px; left: max(8px, calc(var(--gutter) - 24px)); right: max(8px, calc(var(--gutter) - 24px)); }
.vf i { position: absolute; width: clamp(22px, 2.6vw, 40px); aspect-ratio: 1; border: 2px solid var(--accent); opacity: .9; animation: vfIn 1s var(--ease) .3s both; filter: drop-shadow(0 0 3px rgba(var(--accent-rgb), .9)) drop-shadow(0 0 10px rgba(var(--accent-rgb), .45)); }
.vf i:nth-child(1) { top: 0; left: 0; border-right: 0; border-bottom: 0; transform-origin: 0 0; }
.vf i:nth-child(2) { top: 0; right: 0; border-left: 0; border-bottom: 0; transform-origin: 100% 0; }
.vf i:nth-child(3) { bottom: 0; left: 0; border-right: 0; border-top: 0; transform-origin: 0 100%; }
.vf i:nth-child(4) { bottom: 0; right: 0; border-left: 0; border-top: 0; transform-origin: 100% 100%; }
@keyframes vfIn { from { opacity: 0; transform: scale(1.8); } }
.scroll-cue { position: absolute; z-index: 2; right: calc(var(--gutter) + 30px); bottom: 56px; display: flex; align-items: center; gap: 12px; font-size: .7rem; letter-spacing: .26em; text-transform: uppercase; color: var(--mute); writing-mode: vertical-rl; }
.scroll-cue::after { content: ""; width: 1px; height: 54px; background: linear-gradient(var(--accent), transparent); animation: cue 2.2s ease-in-out infinite; transform-origin: top; }
@keyframes cue { 0% { transform: scaleY(0); } 60% { transform: scaleY(1); opacity: 1; } 100% { transform: scaleY(1); opacity: 0; } }

.page-hero { position: relative; min-height: min(78vh, 760px); display: flex; align-items: flex-end; overflow: hidden; }
.page-hero .hero-content { padding-bottom: clamp(50px, 7vw, 100px); }
.page-hero h1 { font-size: clamp(1.8rem, 1rem + 4vw, 4.8rem); max-width: 18ch; }
.page-hero.short { min-height: min(56vh, 520px); }

/* page-title glitch on arrival (runs alongside the fade-in) */
/* blocky: several horizontal bands visible at once (polygon cut-outs), hard jumps, colour split */
h1.glitch, h2.glitch { animation: glitch .7s steps(1, end) both; }
@keyframes glitch {
  0%   { translate: -9px 0; text-shadow: -6px 0 rgba(255, 180, 84, .9), 6px 0 rgba(120, 200, 255, .75);
         clip-path: polygon(0 0, 100% 0, 100% 18%, 0 18%, 0 34%, 100% 34%, 100% 52%, 0 52%, 0 74%, 100% 74%, 100% 86%, 0 86%); }
  7%   { translate: 8px 0;
         clip-path: polygon(0 10%, 100% 10%, 100% 28%, 0 28%, 0 46%, 100% 46%, 100% 70%, 0 70%, 0 88%, 100% 88%, 100% 100%, 0 100%); }
  14%  { translate: -4px 0; text-shadow: 5px 0 rgba(255, 180, 84, .9), -5px 0 rgba(120, 200, 255, .75);
         clip-path: polygon(0 0, 100% 0, 100% 40%, 0 40%, 0 58%, 100% 58%, 100% 100%, 0 100%); }
  21%  { translate: 11px 0;
         clip-path: polygon(0 22%, 100% 22%, 100% 36%, 0 36%, 0 62%, 100% 62%, 100% 80%, 0 80%); }
  28%  { translate: 0 0; clip-path: inset(0); text-shadow: -4px 0 rgba(255, 180, 84, .7), 4px 0 rgba(120, 200, 255, .6); }
  36%  { translate: -7px 0;
         clip-path: polygon(0 0, 100% 0, 100% 30%, 0 30%, 0 50%, 100% 50%, 100% 64%, 0 64%, 0 82%, 100% 82%, 100% 100%, 0 100%); }
  43%  { translate: 5px 0; clip-path: inset(48% 0 12% 0); }
  50%  { translate: 0 0; clip-path: inset(0); text-shadow: 3px 0 rgba(255, 180, 84, .6), -3px 0 rgba(120, 200, 255, .5); }
  60%  { translate: -4px 0;
         clip-path: polygon(0 0, 100% 0, 100% 44%, 0 44%, 0 60%, 100% 60%, 100% 100%, 0 100%); }
  68%  { translate: 2px 0; clip-path: inset(0); text-shadow: -2px 0 rgba(255, 180, 84, .5), 2px 0 rgba(120, 200, 255, .4); }
  78%  { translate: 0 0; clip-path: inset(0); text-shadow: none; }
  100% { translate: 0 0; clip-path: none; text-shadow: none; }
}

/* ---------- services panels (home) ---------- */
.panels { display: flex; gap: 14px; height: clamp(440px, 68vh, 760px); }
.panel { position: relative; flex: 1 1 0; min-width: 0; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); display: flex; align-items: flex-end; transition: flex-grow .8s var(--ease), border-color .5s; }
.panel .ph { transition: transform 1.4s var(--ease); }
.panel::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 30%, rgba(0, 0, 0, .86)); }
.panels > svg { position: absolute; width: 0; height: 0; overflow: hidden; }
/* video loop in a panel: chromatic aberration (SVG filter #pv-ca) + fine pixel grid on top */
.ph-video video { filter: url(#pv-ca); inset: -4px; width: calc(100% + 8px); height: calc(100% + 8px); max-width: none; } /* oversize so the 2px red/blue channel shift lands outside the panel instead of leaving a cyan fringe on the right edge */
/* dimming is a plain overlay, not a CSS filter: stacking brightness() on top of the SVG filter made Chromium darken only part of large panels */
.ph-video::before { content: ""; position: absolute; inset: 0; z-index: 1; background: #000; opacity: .22; pointer-events: none; transition: opacity .7s var(--ease); }
@media (hover: hover) { .panel:hover .ph-video::before { opacity: 0; } }
.pv-grid {
  position: absolute; inset: 0; pointer-events: none; opacity: .35;
  /* a 3px SVG tile, not two stacked gradients: the gradient version left a dark seam on large panels at fullscreen */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='3' height='3' shape-rendering='crispEdges'%3E%3Cpath d='M0 0h3v1H0zM0 1h1v2H0z' fill='%23000' fill-opacity='.55'/%3E%3C/svg%3E");
  background-size: 3px 3px;
}
.panel-body { position: relative; z-index: 2; padding: clamp(20px, 2.4vw, 40px); display: grid; gap: 12px; width: 100%; }
.panel .panel-body { flex: none; width: var(--pw, 100%); } /* fixed width: neighbours slide over the text instead of squeezing it */
.other-p { color: #c4c4cc; margin: 0; }
.panel-num { font-family: var(--head); font-size: .8rem; color: var(--accent); letter-spacing: .14em; }
.panel p { color: #c4c4cc; margin: 0; max-width: 44ch; }
.panel-link { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: .92rem; margin-top: 6px; color: var(--ink); }
.panel-link svg { width: 18px; height: 18px; transition: transform .4s var(--ease); }
@media (hover: hover) and (min-width: 901px) {
  .panels:hover .panel { flex-grow: .8; }
  .panels .panel:hover { flex-grow: 1.7; border-color: rgba(var(--accent-rgb), .5); }
  .panel:hover .ph { transform: scale(1.06); }
  .panel:hover .panel-link svg { transform: translateX(6px); }
}

/* ---------- work grid ---------- */
.work-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 14px; }
/* rows of 7+5, 6+6, 5+7 columns; every tile in a row has the same height */
.tile { position: relative; grid-column: span 6; height: clamp(240px, 27vw, 460px); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); text-align: left; display: block; width: 100%; transition: transform .6s var(--ease), border-color .4s; }
.tile:nth-child(6n + 1), .tile:nth-child(6n + 6) { grid-column: span 7; }
.tile:nth-child(6n + 2), .tile:nth-child(6n + 5) { grid-column: span 5; }
.work-grid.few .tile { grid-column: span 6 !important; }
/* a tile alone on the last row: same height, as wide as its 16:9 thumbnail, centred (phones keep full width) */
@media (min-width: 901px) { .work-grid .tile.solo { grid-column: 1 / -1 !important; justify-self: center; width: auto; max-width: 100%; aspect-ratio: 16 / 9; } }
.tile:hover { border-color: rgba(255, 255, 255, .3); }
.tile .ph, .tile .media-fill { transition: transform 1.2s var(--ease); }
.tile:hover .ph, .tile:hover .media-fill { transform: scale(1.05); }
.tile-info { position: absolute; z-index: 3; left: 0; right: 0; bottom: 0; padding: 22px; display: flex; justify-content: space-between; align-items: flex-end; gap: 14px; background: linear-gradient(180deg, transparent, rgba(0, 0, 0, .8)); }
.tile-info strong { font-family: var(--head); font-weight: 400; font-size: clamp(.85rem, .8rem + .3vw, 1.05rem); display: block; }
.tile-info span { font-size: .76rem; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); }
.play { flex: none; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .1); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); box-shadow: 0 10px 24px -8px #000; transition: transform .4s var(--ease), background .4s, color .4s; }
.play svg { width: 16px; height: 16px; margin-left: 2px; }
.tile:hover .play { transform: scale(1.1); background: var(--accent); color: #1c1003; }
.tile-hit { position: absolute; inset: 0; width: 100%; height: 100%; display: block; text-align: left; }
/* info button + event text panel */
.tile-i { position: absolute; z-index: 6; top: 16px; right: 16px; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; color: var(--accent); background: rgba(0, 0, 0, .3); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); box-shadow: 0 8px 20px -8px #000; transition: background .3s, color .3s, transform .3s var(--ease); }
.tile-i svg { grid-area: 1 / 1; width: 18px; height: 18px; transition: opacity .25s, transform .35s var(--ease); }
.tile-i svg + svg { opacity: 0; transform: rotate(-90deg); }
.tile-i:hover { background: var(--accent); color: #1c1003; transform: scale(1.08); }
.tile.about-open .tile-i svg:first-child { opacity: 0; transform: rotate(90deg); }
.tile.about-open .tile-i svg + svg { opacity: 1; transform: none; }
.tile-about { position: absolute; inset: 0; z-index: 5; padding: 26px 70px 26px 26px; display: flex; flex-direction: column; gap: 8px; overflow-y: auto; overscroll-behavior: contain; background: rgba(6, 6, 6, .74); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); opacity: 0; visibility: hidden; transition: opacity .35s, visibility .35s; cursor: default; }
.tile-about > * { flex: none; transform: translateY(10px); transition: transform .5s var(--ease); }
.tile-about > :first-child { margin-top: auto; } /* sits at the bottom, scrolls from the top when it overflows */
.tile.about-open .tile-about { opacity: 1; visibility: visible; }
.tile.about-open .tile-about > * { transform: none; }
.tile-about .tile-tag { font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); }
.tile-about strong { font-family: var(--head); font-weight: 400; font-size: clamp(.9rem, .8rem + .4vw, 1.15rem); text-transform: uppercase; }
.tile-about p { margin: 4px 0 0; max-width: 56ch; color: rgba(255, 255, 255, .8); font-size: .95rem; line-height: 1.6; }

/* ---------- film strip ---------- */
.strip-outer { position: relative; }
.strip { overflow-x: auto; overflow-y: hidden; scrollbar-width: none; cursor: grab; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain; touch-action: pan-x pan-y; }
.strip::-webkit-scrollbar { display: none; }
.strip.dragging { cursor: grabbing; scroll-snap-type: none; scroll-behavior: auto; }
.strip.dragging * { user-select: none; }
.strip-track {
  --fw: clamp(270px, 38vw, 560px);
  position: relative; display: flex; width: max-content; gap: 14px;
  padding: 44px calc(50vw - var(--fw) / 2); background: #0e0e11;
  border-block: 1px solid rgba(255, 255, 255, .08);
}
.strip-track::before, .strip-track::after { /* perforations */
  content: ""; position: absolute; left: 0; right: 0; height: 16px;
  background-image: linear-gradient(90deg, #000 0 16px, transparent 16px); background-size: 34px 16px; background-repeat: repeat-x;
  border-radius: 3px; opacity: .95;
}
.strip-track::before { top: 14px; } .strip-track::after { bottom: 14px; }
.frame {
  position: relative; flex: none; width: var(--fw); min-height: clamp(300px, 34vw, 400px); scroll-snap-align: center;
  border-radius: 10px; overflow: hidden; border: 1px solid rgba(255, 255, 255, .1); background: #060607;
  padding: clamp(22px, 2.6vw, 40px); display: flex; flex-direction: column; justify-content: flex-end; gap: 12px;
  transition: border-color .6s, box-shadow .6s;
}
.frame .ph { opacity: .22; filter: grayscale(1); transition: opacity .8s, filter .8s; }
.frame > *:not(.ph) { position: relative; z-index: 2; }
.frame-num { position: absolute !important; top: 18px; left: 22px; font-family: var(--head); font-size: clamp(2.4rem, 5vw, 4.6rem); line-height: 1; color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, .28); transition: -webkit-text-stroke-color .6s; }
.frame-code { position: absolute !important; top: 22px; right: 22px; font-size: .66rem; letter-spacing: .2em; color: var(--dim); }
.frame h3 { text-transform: uppercase; color: var(--mute); transition: color .6s; }
.frame p { margin: 0; color: #c6c6ce; max-width: 46ch; opacity: 0; transform: translateY(14px); filter: blur(6px); transition: opacity .7s var(--ease) .1s, transform .7s var(--ease) .1s, filter .7s .1s; }
.frame.active { border-color: rgba(var(--accent-rgb), .55); box-shadow: 0 0 0 1px rgba(var(--accent-rgb), .15), 0 30px 70px -30px rgba(var(--accent-rgb), .35); }
.frame.active .ph { opacity: 1; filter: none; }
.frame.active h3 { color: var(--ink); }
.frame.active p { opacity: 1; transform: none; filter: none; }
.frame.active .frame-num { -webkit-text-stroke-color: var(--accent); }
.strip-ui { display: flex; align-items: center; gap: 18px; margin-top: 26px; }
.strip-count { font-family: var(--head); font-size: .85rem; font-variant-numeric: tabular-nums; min-width: 74px; }
.strip-count b { color: var(--accent); font-weight: 400; }
.strip-bar { flex: 1; height: 2px; background: var(--line); border-radius: 2px; overflow: hidden; }
.strip-bar i { display: block; height: 100%; width: 100%; background: var(--accent); transform-origin: left; transform: scaleX(.2); transition: transform .6s var(--ease); }
.strip-hint { font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; color: var(--dim); }
.round { width: 48px; height: 48px; padding: 0; min-height: 0; border-radius: 50%; }
.round svg { width: 18px; height: 18px; }

/* ---------- format switcher (social page) ---------- */
/* One video; only the frame's width/height animate. --fmt-t is the resize time (change it here). */
.fmt { --fmt-t: .45s; --fmt-ease: cubic-bezier(.65, 0, .35, 1); --sw: 66px; display: grid; justify-items: center; }
.fmt-head { margin-inline: auto; justify-items: center; text-align: center; }
.fmt-head .lead { margin-inline: auto; }
.fmt-stage { width: 100%; height: clamp(320px, 52vh, 580px); display: flex; align-items: center; justify-content: center; }
.fmt-frame {
  position: relative; overflow: hidden; border-radius: 20px; background: #0d0d10;
  border: 1px solid rgba(var(--accent-rgb), .45);
  box-shadow: 0 0 0 1px rgba(var(--accent-rgb), .12), 0 40px 80px -36px rgba(var(--accent-rgb), .35), 0 30px 60px -30px rgba(0, 0, 0, .9);
  transition: width var(--fmt-t) var(--fmt-ease), height var(--fmt-t) var(--fmt-ease);
}
.fmt-frame.no-anim { transition: none; }
.fmt-frame .media-fill { object-position: 50% 50%; }
/* viewfinder corners, like the home hero */
.fmt-corners i { position: absolute; z-index: 2; width: 18px; height: 18px; border: 0 solid rgba(255, 255, 255, .7); pointer-events: none; }
.fmt-corners i:nth-child(1) { top: 12px; left: 12px; border-top-width: 1.5px; border-left-width: 1.5px; }
.fmt-corners i:nth-child(2) { top: 12px; right: 12px; border-top-width: 1.5px; border-right-width: 1.5px; }
.fmt-corners i:nth-child(3) { bottom: 12px; left: 12px; border-bottom-width: 1.5px; border-left-width: 1.5px; }
.fmt-corners i:nth-child(4) { bottom: 12px; right: 12px; border-bottom-width: 1.5px; border-right-width: 1.5px; }
.fmt-badge { position: absolute; z-index: 2; top: 18px; left: 50%; transform: translateX(-50%); display: grid; padding: 5px 12px; border-radius: 999px; background: rgba(5, 5, 6, .55); border: 1px solid rgba(255, 255, 255, .16); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); font-size: .76rem; font-weight: 700; letter-spacing: .08em; color: var(--accent); }
/* stacked labels: all in one grid cell, only the active one shows, so nothing jumps */
.fmt-badge > span, .fmt-name > span { grid-area: 1 / 1; text-align: center; opacity: 0; transition: opacity .3s ease; }
.fmt-badge > span.on, .fmt-name > span.on { opacity: 1; }
.fmt-name { display: grid; margin-top: 26px; font-size: .78rem; letter-spacing: .26em; text-transform: uppercase; color: var(--ink); font-weight: 500; }
.fmt-ui { display: flex; align-items: center; gap: 14px; margin-top: 18px; }
/* segmented ratio picker, same look as the SR/EN switch: glass track + sliding accent pill */
.fmt-seg { position: relative; isolation: isolate; display: flex; padding: 4px; border-radius: 999px; background: rgba(255, 255, 255, .06); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.fmt-seg::before { content: ""; position: absolute; inset: 0; z-index: 2; border-radius: inherit; padding: 1px; pointer-events: none; background: linear-gradient(135deg, rgba(255, 255, 255, .55) 0%, rgba(255, 255, 255, .12) 24%, rgba(255, 255, 255, .03) 52%, rgba(255, 255, 255, .1) 78%, rgba(255, 255, 255, .34) 100%); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0); }
.fmt-seg button { position: relative; z-index: 1; width: var(--sw); padding: 10px 0; border-radius: 999px; font-size: .82rem; font-weight: 700; letter-spacing: .06em; font-variant-numeric: tabular-nums; color: var(--mute); transition: color var(--fmt-t) ease; }
.fmt-seg button:hover { color: var(--ink); }
.fmt-seg button.on { color: #1c1003; }
.fmt-pill { position: absolute; top: 4px; bottom: 4px; left: 4px; width: var(--sw); border-radius: 999px; background: linear-gradient(180deg, #ffbb63, #f7aa47); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .55), inset 0 -4px 8px -4px rgba(150, 70, 0, .4), 0 4px 14px -4px rgba(var(--accent-rgb), .6); transform: translateX(calc(var(--fi, 0) * var(--sw))); transition: transform var(--fmt-t) var(--fmt-ease); }
.fmt-hint { margin: 18px 0 0; max-width: 46ch; text-align: center; font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; line-height: 1.7; color: var(--dim); }
@media (max-width: 600px) {
  .fmt { --sw: 54px; }
  .fmt-stage { height: clamp(300px, 62vh, 480px); }
  .fmt-ui { gap: 8px; }
  .fmt-ui .round { width: 42px; height: 42px; }
  .fmt-name { font-size: .7rem; letter-spacing: .2em; }
}
@media (prefers-reduced-motion: reduce) { .fmt { --fmt-t: 0s; } }

/* ---------- about ---------- */
.about { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(30px, 4vw, 70px); align-items: center; }
.portrait { position: relative; aspect-ratio: 2160 / 3587; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); box-shadow: 0 50px 90px -50px rgba(var(--accent-rgb), .35); max-width: 392px; width: 70%; justify-self: end; }
.portrait .sil { position: absolute; z-index: 2; inset: auto 0 0 0; margin: auto; width: 74%; color: rgba(255, 255, 255, .13); }
.portrait .ph-label { top: auto; bottom: 14px; }
.about-text { display: grid; gap: 20px; }
.about-page { padding-top: calc(var(--header-h, 66px) + clamp(40px, 6vw, 90px)); min-height: 100vh; display: flex; align-items: center; }
.about-page > .wrap { width: 100%; }
.about-page h1 { font-size: clamp(1.8rem, 1rem + 3vw, 3.6rem); }
.about-text p { color: #c6c6ce; margin: 0; max-width: 60ch; }
/* About text: only the active language takes space, so a longer translation never adds an empty line */
.about-text p .dual { display: inline; }
.about-text p .dual > span { display: none; }
html[data-lang="sr"] .about-text p .dual > [data-l="sr"], html[data-lang="en"] .about-text p .dual > [data-l="en"] { display: inline; animation: dual-in .3s ease; }
/* these spans switch with display (so only the active language takes space); the keyframe gives them the same .3s fade as the rest of the text */
@keyframes dual-in { from { opacity: 0; } to { opacity: 1; } }

/* ---------- faq ---------- */
.faq { display: grid; gap: 12px; max-width: 980px; }
.faq details { border-radius: 18px; padding: 0 clamp(18px, 2.2vw, 30px); transition: border-color .4s; }
.faq details[open] { border-color: rgba(var(--accent-rgb), .4); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 0; font-weight: 600; font-size: 1.04rem; }
.faq summary::-webkit-details-marker { display: none; }
/* FAQ: size each question to the language on screen only (the site-wide "keep both sizes" trick made short
   Serbian questions two lines tall whenever the English one wraps) */
html[data-lang="sr"] .faq .dual > [data-l="en"], html[data-lang="en"] .faq .dual > [data-l="sr"] { display: none; }
/* whole-pixel line geometry + a permanent layer, so the +/− doesn't snap when the rotation ends */
.faq summary i { flex: none; position: relative; width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--line); }
.faq summary i::before, .faq summary i::after { content: ""; position: absolute; left: 7px; top: 12px; width: 12px; height: 2px; border-radius: 1px; background: var(--accent); will-change: transform; transform: translate3d(0, 0, 0) rotate(0deg); transition: transform .4s var(--ease); }
.faq summary i::after { transform: translate3d(0, 0, 0) rotate(90deg); }
.faq details.is-open summary i::after { transform: translate3d(0, 0, 0) rotate(0deg); }
.faq-body { overflow: hidden; }
.faq-body p {
  color: var(--mute); padding-bottom: 24px; margin: 0; max-width: 70ch;
  opacity: 0; filter: blur(10px); transform: translateY(-8px);
  transition: opacity .45s ease, filter .45s ease, transform .45s var(--ease);
}
.faq-body p { transition-duration: .25s; will-change: opacity, filter, transform; } /* stays on its own layer, so the text isn't re-drawn (and doesn't twitch) when the blur ends */
.faq details.is-open .faq-body p { opacity: 1; filter: blur(0); transform: none; transition: opacity .4s ease-out .05s, filter .45s ease-out .05s, transform .5s cubic-bezier(.16, 1, .3, 1) .05s; }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; border-radius: calc(var(--radius) + 8px); padding: clamp(44px, 7vw, 110px) clamp(24px, 6vw, 100px); display: grid; gap: 22px; justify-items: start; }
.cta-band::before { content: ""; position: absolute; width: 60%; aspect-ratio: 1; right: -18%; top: -60%; border-radius: 50%; background: radial-gradient(circle, rgba(var(--accent-rgb), .3), transparent 65%); filter: blur(30px); pointer-events: none; }
.cta-band > * { position: relative; }

/* ---------- packages ---------- */
.packs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; align-items: stretch; }
.pack { position: relative; padding: clamp(24px, 2.4vw, 40px); display: flex; flex-direction: column; gap: 18px; transition: transform .5s var(--ease), border-color .4s; }
.pack:hover { transform: translateY(-6px); border-color: rgba(255, 255, 255, .26); }
.pack.rec { border-color: rgba(var(--accent-rgb), .6); background: linear-gradient(180deg, rgba(var(--accent-rgb), .16), rgba(255, 255, 255, .05) 45%); box-shadow: inset 0 1px 0 rgba(255, 235, 200, .35), 0 40px 90px -40px rgba(var(--accent-rgb), .5); }
.pack-badge { position: absolute; top: -13px; left: clamp(24px, 2.4vw, 40px); padding: 4px 14px; border-radius: 8px; font-size: .7rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: #1c1003; background: var(--accent); box-shadow: inset 1px 1px 0 rgba(255, 255, 255, .6), 0 8px 20px -6px rgba(var(--accent-rgb), .7); }
.pack h3 { font-size: clamp(1.2rem, 1rem + .8vw, 1.7rem); text-transform: uppercase; }
.pack-tag { color: var(--mute); margin: -8px 0 0; }
.pack-price { font-size: .8rem; letter-spacing: .2em; text-transform: uppercase; color: var(--accent); padding-block: 14px; border-block: 1px solid var(--line); }
.pack-inc { font-size: .76rem; letter-spacing: .18em; text-transform: uppercase; color: var(--dim); }
.pack ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; flex: 1; align-content: start; }
.pack li { display: grid; grid-template-columns: 20px 1fr; gap: 12px; color: #d2d2d8; font-size: .98rem; line-height: 1.45; }
/* package lines: only the active language takes space, so a longer hidden translation can't add an empty line */
.pack li .dual { display: block; }
.pack li .dual > span { display: none; }
html[data-lang="sr"] .pack li .dual > [data-l="sr"], html[data-lang="en"] .pack li .dual > [data-l="en"] { display: block; animation: dual-in .3s ease; }
.pack li svg { width: 18px; height: 18px; margin-top: 3px; color: var(--accent); }
.pack .btn { width: 100%; white-space: normal; text-align: center; margin-top: 8px; }

.svc-tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; max-width: 860px; margin-top: 8px; }
.svc-tile { background: rgba(255, 255, 255, .045); border: 1px solid rgba(255, 255, 255, .08); border-radius: 18px; padding: 22px 22px 24px; -webkit-backdrop-filter: blur(20px) saturate(150%); backdrop-filter: blur(20px) saturate(150%); box-shadow: inset 1px 1px 0 rgba(255, 255, 255, .1), 0 24px 50px -30px rgba(0, 0, 0, .9); transition: border-color .3s, transform .4s var(--ease); }
.svc-tile:hover { border-color: rgba(var(--accent-rgb), .7); transform: translateY(-3px); }
.svc-ic { width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(var(--accent-rgb), .5); display: grid; place-items: center; color: var(--accent); margin-bottom: 26px; }
.svc-ic svg { width: 21px; height: 21px; }
.svc-tile h3 { font-size: 1.08rem; margin-bottom: 6px; }
.svc-tile p { color: var(--mute); font-size: .95rem; line-height: 1.5; }
@media (max-width: 560px) { .svc-tiles { grid-template-columns: 1fr; } .svc-ic { margin-bottom: 16px; } }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { padding: 9px 18px; border-radius: 12px; font-size: .9rem; font-weight: 600; color: #1c1003; background: linear-gradient(180deg, #ffbb63, #f7aa47); box-shadow: inset 0 -8px 14px -10px rgba(150, 70, 0, .35), 0 10px 24px -14px rgba(var(--accent-rgb), .6); }
.chip::before { background: linear-gradient(135deg, rgba(255, 255, 255, .9) 0%, rgba(255, 255, 255, .25) 26%, rgba(255, 255, 255, .05) 55%, rgba(255, 255, 255, .2) 80%, rgba(255, 255, 255, .6) 100%); }
.btn.sending { opacity: .65; pointer-events: none; }
.others { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.other { position: relative; overflow: hidden; min-height: 220px; border-radius: var(--radius); border: 1px solid var(--line); display: flex; align-items: flex-end; }
.other::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent, rgba(0, 0, 0, .85)); }
.other .panel-body { z-index: 2; }
.other:hover .panel-link svg { transform: translateX(6px); }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(24px, 4vw, 70px); align-items: start; }
.form { padding: clamp(22px, 3vw, 48px); display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 8px; min-width: 0; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--mute); }
.field label small { text-transform: none; letter-spacing: 0; color: var(--dim); font-size: .78rem; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; color: var(--ink); padding: 14px 16px; border-radius: 14px;
  background: rgba(0, 0, 0, .35); border: 1px solid var(--line); box-shadow: inset 0 2px 6px rgba(0, 0, 0, .5);
  transition: border-color .3s, box-shadow .3s; min-height: 52px; color-scheme: dark;
}
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23FFB454' stroke-width='1.6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; background-size: 12px; padding-right: 42px; }
.field select option { background: #131316; color: var(--ink); }
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: inset 0 2px 6px rgba(0, 0, 0, .5), 0 0 0 3px rgba(var(--accent-rgb), .2); }
/* shorter inquiry form (previous version: backup/form-v1-2026-11-21/) */
.form-q .field { align-content: start; } /* side-by-side fields line up even when one has a hint below */
.form-q .lede { grid-column: 1 / -1; margin: 0 0 4px; color: var(--mute); font-size: .95rem; }
.req { color: var(--accent); margin-left: 2px; }
/* in form labels only the active language takes space, so the star and colon sit right after the word */
.form-q :is(label, legend, .pkg-chip, .reassure, .hint) .dual { display: inline; }
html[data-lang="sr"] .form-q :is(label, legend, .pkg-chip, .reassure, .hint) .dual > [data-l="en"],
html[data-lang="en"] .form-q :is(label, legend, .pkg-chip, .reassure, .hint) .dual > [data-l="sr"] { display: none; }
.hint { font-size: .8rem; color: var(--dim); }
.field.bad input { border-color: #ff9c8a; }
.svc-pick { grid-column: 1 / -1; border: 0; padding: 0; margin: 0; display: grid; gap: 10px; min-width: 0; }
.svc-pick legend { font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--mute); padding: 0; margin-bottom: 8px; }
.svc-pick.bad legend { color: #ff9c8a; }
.svc-opts { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); grid-auto-rows: 1fr; gap: 10px; }
.svc-opt { position: relative; display: grid; } /* every tile fills its cell: same width and height */
.svc-opt input { position: absolute; inset: 0; margin: 0; opacity: 0; cursor: pointer; }
.svc-opt > span {
  display: grid; gap: 4px; align-content: center; height: 100%; min-height: 76px; padding: 14px 16px; border-radius: 14px; cursor: pointer;
  background: rgba(0, 0, 0, .35); border: 1px solid var(--line); box-shadow: inset 0 2px 6px rgba(0, 0, 0, .5);
  transition: border-color .3s, background .3s, box-shadow .3s;
}
.svc-opt strong { font-weight: 600; font-size: .98rem; color: var(--ink); transition: color .3s; }
.svc-opt em { font-style: normal; font-size: .8rem; line-height: 1.35; color: var(--dim); }
.svc-opt strong .dual, .svc-opt em .dual { display: grid; }
.svc-opt:hover > span { border-color: rgba(255, 255, 255, .22); }
.svc-opt input:checked + span { border-color: var(--accent); background: rgba(var(--accent-rgb), .1); box-shadow: inset 0 0 0 1px var(--accent), 0 10px 26px -16px rgba(var(--accent-rgb), .8); }
.svc-opt input:checked + span strong { color: var(--accent); }
.svc-opt input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 3px; }
.pkg-chip { grid-column: 1 / -1; display: none; flex-wrap: wrap; align-items: center; gap: 10px; font-size: .9rem; color: var(--mute); }
.pkg-chip.show { display: flex; }
.pkg-chip .chip { display: inline-flex; align-items: center; gap: 8px; padding: 7px 8px 7px 14px; }
.pkg-chip .chip button { display: grid; place-items: center; width: 22px; height: 22px; border: 0; border-radius: 50%; background: rgba(0, 0, 0, .15); color: #1c1003; cursor: pointer; }
.pkg-chip .chip button svg { width: 12px; height: 12px; }
.pkg-chip .chip button:hover { background: rgba(0, 0, 0, .3); }
.form-q .field textarea { min-height: 110px; }
.form-q .form-foot { gap: 14px 22px; }
.reassure { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; margin: 0; font-size: .88rem; color: var(--mute); }
.reassure a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.reassure .sep { width: 4px; height: 4px; border-radius: 50%; background: var(--dim); }
@media (max-width: 600px) { .svc-opts { grid-template-columns: 1fr 1fr; } .svc-opt > span { min-height: 64px; } }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form-foot { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 18px; }
.form-msg { flex: 1 1 260px; font-size: .95rem; margin: 0; }
.form-msg.ok { color: #9be7a8; } .form-msg.err { color: #ff9c8a; }
.form-msg a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.direct { padding: clamp(22px, 2.6vw, 38px); display: grid; gap: 14px; }
.direct h3 { text-transform: uppercase; font-size: 1rem; margin-bottom: 6px; }
.direct .btn { width: 100%; justify-content: flex-start; }
.direct .btn span.sub { margin-left: auto; font-weight: 400; font-size: .8rem; color: var(--mute); overflow: hidden; text-overflow: ellipsis; transition: color .4s; }
/* brand colour fades in on hover, with the same film grain as the placeholder panels */
.brand-btn > :not(.tint) { position: relative; z-index: 1; }
.brand-btn .tint { position: absolute; inset: 0; z-index: 0; border-radius: inherit; overflow: hidden; opacity: 0; transition: opacity .45s var(--ease); }
.brand-btn .tint::before {
  content: ""; position: absolute; inset: -50%; opacity: .28; mix-blend-mode: overlay; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .8 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.brand-btn[data-brand="instagram"] .tint { background: linear-gradient(115deg, #b72d8f 0%, #e1306c 50%, #f5603f 100%); }
.brand-btn[data-brand="whatsapp"] .tint { background: linear-gradient(90deg, #25d366 0%, #5fe591 100%); }
.brand-btn[data-brand="email"] .tint { background: linear-gradient(90deg, #ea4335 0%, #f4695c 100%); }
.brand-btn:hover .tint, .brand-btn:focus-visible .tint { opacity: 1; }
.brand-btn:hover, .brand-btn:hover span.sub { color: #fff; }
.brand-btn:hover { box-shadow: inset 0 -10px 18px -12px rgba(0, 0, 0, .35), 0 1px 1px rgba(0, 0, 0, .35), 0 18px 34px -14px rgba(0, 0, 0, 1); }

/* ---------- lightbox + toast ---------- */
.lightbox { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; padding: 20px; background: rgba(0, 0, 0, .82); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); opacity: 0; visibility: hidden; transition: opacity .35s, visibility .35s; }
.lightbox.open { opacity: 1; visibility: visible; }
/* up to 1600px wide (YouTube picks quality from the player size, so bigger = more often 1080p), kept 16:9 within 84% of the screen height */
.lightbox-box { position: relative; width: min(100%, 1600px, calc(84vh * 16 / 9)); aspect-ratio: 16 / 9; max-height: 84vh; border-radius: 18px; overflow: hidden; border: 1px solid var(--line); background: #000; display: grid; place-items: center; }
.lightbox-box iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.lightbox-box p { position: relative; z-index: 2; font-family: var(--head); text-transform: uppercase; text-align: center; padding: 20px; margin: 0; }
.lightbox-close { position: absolute; top: 18px; right: 18px; }
.toast { position: fixed; z-index: 95; left: 50%; bottom: 30px; transform: translate(-50%, 30px); padding: 12px 22px; border-radius: 999px; font-size: .92rem; opacity: 0; transition: opacity .35s, transform .35s var(--ease); pointer-events: none; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- floating WhatsApp button + one-time hint ---------- */
/* Round glass like .btn, amber icon; the green dot is the only WhatsApp colour. Shown after the hero, hidden over the footer. */
.wa {
  position: fixed; z-index: 85; right: max(18px, env(safe-area-inset-right)); bottom: max(18px, env(safe-area-inset-bottom));
  display: inline-flex; align-items: center; gap: 0; height: 60px; min-width: 60px; padding: 0 18px;
  border-radius: 999px; color: var(--accent); isolation: isolate;
  box-shadow: inset 0 -10px 18px -12px rgba(0, 0, 0, .5), 0 1px 1px rgba(0, 0, 0, .35), 0 18px 36px -14px rgba(0, 0, 0, 1);
  transition: transform .45s var(--ease), opacity .45s var(--ease), gap .45s var(--ease);
}
/* The blurred glass sits on its own layer under the icon and dot. If the blur were on .wa itself, every frame of the
   dot's pulse would make the browser redraw the blur, which stutters in Chrome/Edge (smooth in the app's preview). */
.wa-bg {
  position: absolute; inset: 0; z-index: -1; border-radius: inherit; pointer-events: none;
  background: rgba(14, 14, 17, .55); -webkit-backdrop-filter: blur(18px) saturate(160%); backdrop-filter: blur(18px) saturate(160%);
  transition: background .35s;
}
.wa::before { /* same rim light as .btn */
  content: ""; position: absolute; inset: 0; z-index: 2; border-radius: inherit; padding: 1px; pointer-events: none;
  background: linear-gradient(135deg, rgba(255, 255, 255, .55) 0%, rgba(255, 255, 255, .12) 24%, rgba(255, 255, 255, .03) 52%, rgba(255, 255, 255, .1) 78%, rgba(255, 255, 255, .34) 100%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
}
.wa > svg { width: 24px; height: 24px; flex: none; }
.wa-label { max-width: 0; overflow: hidden; opacity: 0; white-space: nowrap; font-weight: 600; font-size: .92rem; color: var(--ink); transition: max-width .5s var(--ease), opacity .3s; }
.wa-dot { position: absolute; z-index: 3; top: 12px; right: 12px; width: 10px; height: 10px; border-radius: 50%; background: #3ddc84; box-shadow: 0 0 0 2px rgba(14, 14, 17, .9); transition: opacity .3s; }
/* Pulse = a soft glow, not a hard-edged disc. Some browsers snap a growing circle's edge to whole pixels, so a hard
   edge visibly jumps every few frames (References/whatsapp pulsing icon.mp4). A soft edge has nothing to jump.
   The glow grows by animating the gradient's radius (--wa-r), not by scaling: a scaled layer is a stretched picture,
   and on displays set to 125%/150% its centre falls between device pixels and wobbles a fraction of a pixel each
   frame (References/whatsapp pulsing icon 2.mp4). Redrawn at each size, the centre stays put. The button is hidden
   over the hero, so the particle animation is paused whenever this is on screen and the redraw costs nothing. */
@property --wa-r { syntax: "<length>"; inherits: false; initial-value: 5px; }
.wa-dot::after {
  /* even sizes (dot 10px, glow up to 26px) so both centres sit on the same whole pixel */
  content: ""; position: absolute; inset: -8px; border-radius: 50%; pointer-events: none;
  /* solid disc like the original pulse, only the outer ~28% feathered: enough to hide pixel stepping */
  background: radial-gradient(circle var(--wa-r) at 50% 50%, #3ddc84 0%, #3ddc84 72%, rgba(61, 220, 132, 0) 100%);
  animation: wa-ping 2.4s cubic-bezier(.2, .6, .35, 1) infinite;
}
/* same size, strength and timing as before: starts at the dot's size (5px radius), grows to 13px while fading from .7 to 0 */
@keyframes wa-ping { 0% { --wa-r: 5px; opacity: .7; } 70%, 100% { --wa-r: 13px; opacity: 0; } }
@media (hover: hover) {
  .wa:hover { gap: 12px; }
  .wa:hover .wa-bg { background: rgba(20, 20, 24, .8); }
  .wa:hover .wa-label { max-width: 260px; opacity: 1; }
  .wa:hover .wa-dot { opacity: 0; }
}
.wa:active { transform: scale(.96); }
.wa:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.wa.is-hidden, body.menu-open .wa, body.locked .wa { opacity: 0; transform: translateY(24px) scale(.9); pointer-events: none; }
.wa-bubble {
  position: fixed; z-index: 85; right: max(18px, env(safe-area-inset-right)); bottom: calc(max(18px, env(safe-area-inset-bottom)) + 74px);
  max-width: 250px; padding: 14px 40px 14px 16px; border-radius: 18px 18px 6px 18px; font-size: .9rem; line-height: 1.45; color: var(--ink);
  opacity: 0; transform: translateY(10px); pointer-events: none; transition: opacity .4s var(--ease), transform .4s var(--ease);
}
.wa-bubble.show { opacity: 1; transform: none; pointer-events: auto; }
.wa-bubble b { display: block; margin-bottom: 2px; color: var(--accent); font-weight: 600; }
.wa-bubble .dual { display: grid; }
/* only the active language takes space, so a longer hidden translation can't add an empty line at the bottom */
html[data-lang="sr"] .wa-bubble .dual > [data-l="en"], html[data-lang="en"] .wa-bubble .dual > [data-l="sr"] { display: none; }
.wa-bubble button { position: absolute; top: 8px; right: 8px; width: 26px; height: 26px; display: grid; place-items: center; border: 0; border-radius: 50%; background: transparent; color: var(--mute); cursor: pointer; transition: color .2s, background .2s; }
.wa-bubble button svg { width: 14px; height: 14px; }
.wa-bubble button:hover { color: var(--ink); background: rgba(255, 255, 255, .08); }
body.menu-open .wa-bubble, body.locked .wa-bubble { opacity: 0; pointer-events: none; }
@media (max-width: 600px) {
  .wa { height: 56px; min-width: 56px; padding: 0 16px; }
  .wa-bubble { bottom: calc(max(18px, env(safe-area-inset-bottom)) + 68px); max-width: 220px; }
}
@media (prefers-reduced-motion: reduce) { .wa-dot::after { animation: none; } }

/* ---------- footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding-block: clamp(44px, 6vw, 80px) 34px; background: var(--bg-2); }
.foot { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr); gap: 36px; }
.foot img { height: 44px; width: auto; margin-bottom: 16px; }
.foot p { color: var(--mute); font-size: .92rem; margin: 0; }
.foot nav, .foot .foot-contact { display: grid; gap: 10px; align-content: start; font-size: .95rem; }
.foot nav a, .foot .foot-contact a { color: var(--mute); transition: color .3s; overflow-wrap: anywhere; }
.foot nav a:hover, .foot .foot-contact a:hover { color: var(--accent); }
.foot .foot-contact { gap: 16px; }
.foot .foot-contact a { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; overflow-wrap: normal; }
.foot .foot-contact .fc-l { font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; color: var(--dim); white-space: nowrap; }
.foot .foot-contact .fc-v { overflow-wrap: anywhere; }
.foot .foot-contact .fc-d { display: none; }
.foot .foot-contact .dual { display: inline; }
.foot .foot-contact .dual > span { display: none; }
html[data-lang="sr"] .foot .foot-contact .dual > [data-l="sr"], html[data-lang="en"] .foot .foot-contact .dual > [data-l="en"] { display: inline; animation: dual-in .3s ease; }
.foot-bottom { margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--line); font-size: .82rem; color: var(--dim); }

/* ---------- responsive ---------- */
@media (min-width: 2000px) {
  :root { --max: 1800px; }
  body { font-size: 1.2rem; }
}
@media (max-width: 1100px) {
  .nav, .header-tools .btn { display: none; }
  .burger { display: block; }
  .packs { grid-template-columns: 1fr; max-width: 640px; }
  .pack.rec { order: -1; }
  .contact-grid { grid-template-columns: 1fr; }
}
/* contact, desktop: the form (and the Direktan kontakt panel) moves up so the gap from the intro text is 70% shorter
   (181px -> 54px at 1920). The hero text stays put. The gap was: the intro's bottom margin (1em) + hero bottom padding
   + the section's inline top padding in contact.html */
@media (min-width: 601px) { /* desktop + tablet/square; phones have their own rule below */
  body[data-page="contact"] .page-hero + .section {
    margin-top: calc(-.7 * (clamp(1.05rem, 1rem + .35vw, 1.3rem) + clamp(50px, 7vw, 100px) + clamp(30px, 4vw, 60px)));
  }
}
@media (max-width: 900px) {
  :root { --header-h: 66px; }
  .panels { flex-direction: column; height: auto; }
  .panel { min-height: 300px; }
  .panel .panel-body { width: 100%; }
  .particles { opacity: .5; } /* object sits behind the text on narrow screens, so keep it quieter */
  .tile, .tile:nth-child(n), .work-grid.few .tile { grid-column: 1 / -1 !important; /* .few: the 2-tile grid on service pages must stack too */ height: auto; aspect-ratio: 16 / 10; }
  .tile-i { top: 12px; right: 12px; width: 34px; height: 34px; }
  .tile-about { padding: 18px 56px 18px 18px; gap: 6px; }
  .tile-about p { font-size: .86rem; line-height: 1.5; }
  .about { grid-template-columns: 1fr; }
  .portrait { max-width: 294px; width: 70%; justify-self: start; }
  .others { grid-template-columns: 1fr; }
  .foot { grid-template-columns: 1fr; }
  .scroll-cue, .strip-hint { display: none; }
  .hud { font-size: .62rem; }
}
@media (max-width: 600px) {
  .form { grid-template-columns: 1fr; }
  .brand img { height: 28px; }
  .btn-row .btn { flex: 1 1 100%; }
  .strip-track { --fw: 82vw; padding-inline: 9vw; }
  .hero h1 { font-size: clamp(1.7rem, 8.4vw, 2.6rem); }
  /* phones: the spinning object gets its own space above the text (centred there by the particle script), so it can be full strength */
  .particles { opacity: 1; }
  /* home: fixed room for the camera between the REC line and the text, so it doesn't shrink on phones whose browser bars
     make the screen shorter (100svh alone left almost no room on a real phone) */
  .hero .hero-content { padding-top: calc(var(--header-h) + 290px); }
  .page-hero .hero-content { padding-top: calc(var(--header-h) + 210px); } /* a bit less room than the home page has */
  .hero .eyebrow::before { display: none; } /* the two-line tagline lines up at the left edge without the dash */
  /* contact, phones: the visible gap from the intro text to the form matches the visible gap from the title to the intro
     text (~30px, measured from the text baseline; the boxes alone would undercount the text's own line spacing) */
  body[data-page="contact"] .page-hero .hero-content { padding-bottom: 12px; }
  body[data-page="contact"] .page-hero .lead { margin-bottom: 0; }
  body[data-page="contact"] .page-hero + .section { padding-top: 10px !important; }
}
@media (max-height: 520px) and (orientation: landscape) {
  .hero-content { padding-top: calc(var(--header-h) + 30px); padding-bottom: 40px; }
  .hud { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  [data-reveal], [data-reveal]:not(.in) { opacity: 1; transform: none; }
  .frame p, .faq-body p { opacity: 1; transform: none; filter: none; }
  .frame .ph { opacity: .7; filter: none; }
}
