/* =========================================================
   Salon Amela — style.css (cinematic scroll verzija)
   Svaka sekcija je "scena" visine 100svh; scroll je pinnan,
   GSAP ScrollTrigger scrubba animacije unutar scene.
   ========================================================= */

:root {
  --paper: #f7f0ed;
  --paper-2: #efe3e0;
  --ink: #1c1518;
  --moss: #3b1f27;
  --moss-2: #b5586c;
  --sage: #d4909b;
  --sand: #e7c3c6;
  --line: rgba(28, 21, 24, .14);
  --line-light: rgba(247, 240, 237, .2);
  --serif: "Instrument Serif", "Times New Roman", Georgia, serif;
  --sans: "Manrope", "Helvetica Neue", Arial, sans-serif;
  --gutter: clamp(20px, 4.5vw, 64px);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-inout: cubic-bezier(.87, 0, .13, 1);
  --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
body { margin: 0; background: var(--ink); color: var(--ink); font-family: var(--sans); font-size: 16px; line-height: 1.55; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
body.is-locked { overflow: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
p, h1, h2, h3 { margin: 0; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
::selection { background: var(--moss); color: var(--paper); }

.label { font-family: var(--sans); font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; line-height: 1.4; }
.pill { display: inline-flex; align-items: center; gap: .6em; padding: 14px 22px; border-radius: 999px; background: var(--ink); color: var(--paper); font-size: 13px; font-weight: 600; letter-spacing: .04em; white-space: nowrap; transition: transform .5s var(--ease-out); }
.pill:hover { transform: translateY(-2px); }
.pill--light { background: var(--paper); color: var(--ink); }
.skip { position: fixed; top: 8px; left: 8px; z-index: 200; padding: 10px 14px; background: var(--ink); color: var(--paper); transform: translateY(-200%); }
.skip:focus { transform: none; }

/* ---------- grain ---------- */
.grain { position: fixed; inset: -100px; z-index: 95; pointer-events: none; opacity: .045; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='300' height='300'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .6 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  animation: grain 1.2s steps(6) infinite; }
@keyframes grain { 0%{transform:translate(0,0)} 20%{transform:translate(-40px,20px)} 40%{transform:translate(30px,-50px)} 60%{transform:translate(-60px,-10px)} 80%{transform:translate(50px,40px)} 100%{transform:translate(0,0)} }

/* ---------- loader ---------- */
.loader { position: fixed; inset: 0; z-index: 100; background: var(--paper); color: var(--ink); display: grid; place-items: center; }
.loader__mark { width: clamp(120px, 16vw, 200px); height: auto; margin: 0 auto 20px; }
.loader__inner { text-align: center; }
.loader__label { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; opacity: .7; }
.loader__word { font-family: var(--serif); font-size: clamp(64px, 12vw, 160px); line-height: .95; margin: 12px 0 18px; letter-spacing: -.02em; }
.loader__word em { color: var(--moss-2); }
.loader__count { position: absolute; left: 0; right: 0; bottom: clamp(24px, 4vh, 40px); text-align: center; font-family: var(--serif); font-size: clamp(20px, 2.4vw, 28px); font-variant-numeric: tabular-nums; opacity: .8; }

/* ---------- header ---------- */
.header { position: fixed; top: 0; left: 0; right: 0; z-index: 60; height: var(--header-h); padding: 0 var(--gutter); display: flex; justify-content: space-between; align-items: center; color: var(--paper); transition: color .4s ease; }
.header::before { content: ""; position: absolute; inset: 0; height: 160%; background: linear-gradient(180deg, rgba(28,21,24,.55) 0%, rgba(28,21,24,.25) 55%, rgba(28,21,24,0) 100%); pointer-events: none; opacity: 1; transition: opacity .4s ease; z-index: -1; }
.header.is-light { color: var(--ink); }
.header.is-light::before { opacity: 0; }
.header__mark--ink { display: none; }
.header.is-light .header__mark--ink { display: block; }
.header.is-light .header__mark--white { display: none; }
.header.is-light .pill--light { background: var(--ink); color: var(--paper); }
.header.is-light .status__dot { background: var(--moss-2); }
.header__logo { display: flex; align-items: center; gap: 10px; font-family: var(--serif); font-size: 24px; letter-spacing: -.01em; }
.header__mark { width: 22px; height: auto; }
.header__lockup { display: block; height: 42px; width: auto; }
.header__lockup--ink { display: none; }
.header.is-light .header__lockup--ink { display: block; }
.header.is-light .header__lockup--white { display: none; }
.header__right { display: flex; align-items: center; gap: 18px; }
.status { display: flex; align-items: center; gap: 8px; font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.status__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--sage); animation: pulse 2s ease-in-out infinite; }
.status.is-closed .status__dot { background: var(--sand); animation: none; }
@keyframes pulse { 0%,100% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.5); opacity: .5; } }
.burger { width: 44px; height: 44px; position: relative; }
.burger span { position: absolute; left: 10px; right: 10px; height: 1.5px; background: currentColor; transition: transform .5s var(--ease-inout), top .5s var(--ease-inout); }
.burger span:first-child { top: 17px; }
.burger span:last-child { top: 26px; }
.burger.is-open span:first-child { top: 21px; transform: rotate(45deg); }
.burger.is-open span:last-child { top: 21px; transform: rotate(-45deg); }

/* ---------- rail ---------- */
.rail { position: fixed; left: var(--gutter); bottom: 32px; z-index: 55; display: flex; align-items: flex-end; gap: 14px; color: var(--paper); opacity: 0; transition: opacity .6s ease, color .4s ease; }
.rail.is-light { color: var(--ink); }
.rail.is-on { opacity: 1; }
.rail__line { width: 1px; height: 120px; position: relative; }
.rail__line::before { content: ""; position: absolute; inset: 0; background: currentColor; opacity: .25; }
.rail__fill { position: absolute; left: 0; top: 0; width: 100%; height: 100%; background: currentColor; transform-origin: top; transform: scaleY(0); }
.rail__label { display: flex; gap: 6px; font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; font-variant-numeric: tabular-nums; }
.rail__sep { opacity: .5; }
.rail__name { margin-left: 8px; opacity: .7; }

/* ---------- menu ---------- */
.menu { position: fixed; inset: 0; z-index: 50; pointer-events: none; visibility: hidden; transition: visibility 0s linear .9s; }
.menu.is-open { pointer-events: auto; visibility: visible; transition-delay: 0s; }
.menu__bg { position: absolute; inset: 0; background: var(--moss); transform: translateY(-100%); transition: transform .9s var(--ease-inout); }
.menu.is-open .menu__bg { transform: translateY(0); }
.menu__inner { position: relative; height: 100%; padding: calc(var(--header-h) + 24px) var(--gutter) 32px; display: flex; flex-direction: column; justify-content: space-between; color: var(--paper); }
.menu__label { opacity: 0; transition: opacity .4s ease .5s; }
.menu__mark { width: 40px; margin-bottom: 16px; opacity: 0; transition: opacity .4s ease .5s; }
.menu.is-open .menu__mark { opacity: 1; }
.menu.is-open .menu__label { opacity: .7; }
.menu__nav { display: flex; flex-direction: column; gap: 2px; }
.menu__nav a { display: flex; align-items: baseline; gap: 18px; font-family: var(--serif); font-size: clamp(44px, 9vw, 112px); line-height: 1.05; letter-spacing: -.02em; overflow: hidden; }
.menu__nav a > * { display: inline-block; transform: translateY(110%); transition: transform .9s var(--ease-out); }
.menu.is-open .menu__nav a > * { transform: translateY(0); }
.menu.is-open .menu__nav a:nth-child(1) > * { transition-delay: .25s; }
.menu.is-open .menu__nav a:nth-child(2) > * { transition-delay: .32s; }
.menu.is-open .menu__nav a:nth-child(3) > * { transition-delay: .39s; }
.menu.is-open .menu__nav a:nth-child(4) > * { transition-delay: .46s; }
.menu.is-open .menu__nav a:nth-child(5) > * { transition-delay: .53s; }
.menu__nav a:hover { color: var(--sand); }
.menu__num { font-family: var(--sans); font-size: 11px; font-weight: 600; letter-spacing: .14em; }
.menu__foot { display: flex; flex-wrap: wrap; gap: 24px; font-size: 13px; opacity: 0; transition: opacity .5s ease .7s; }
.menu.is-open .menu__foot { opacity: .85; }

/* ---------- scene osnova ---------- */
.scene { position: relative; min-height: 100svh; height: 100svh; overflow: hidden; padding: calc(var(--header-h) + 8px) var(--gutter) 32px; }
.scene__head { position: absolute; left: var(--gutter); right: var(--gutter); top: calc(var(--header-h) + 8px); display: flex; justify-content: space-between; gap: 16px; padding-bottom: 14px; border-bottom: 1px solid var(--line); z-index: 3; }
.ba .scene__head, .contact .scene__head { position: static; margin-bottom: clamp(28px, 4vw, 48px); }
.scene__head--light { border-color: var(--line-light); color: var(--paper); }
.scene__head .label:last-child { opacity: .75; }

/* ---------- 0 hero ---------- */
.hero { background: var(--moss); color: var(--paper); display: grid; grid-template-rows: auto 1fr auto; z-index: 1; }
.hero__media { position: absolute; inset: 0; z-index: 0; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 40%; will-change: transform; }
.hero__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(28,21,24,.45) 0%, rgba(28,21,24,.1) 40%, rgba(28,21,24,.65) 100%); }
.hero > *:not(.hero__media):not(.hero__curtain) { position: relative; z-index: 1; }
.hero__top { display: flex; justify-content: space-between; opacity: .85; }
.hero__title { align-self: end; font-family: var(--serif); font-weight: 400; font-size: clamp(56px, 11.5vw, 184px); line-height: .92; letter-spacing: -.025em; margin: 24px 0 32px; }
.hero__line { display: block; overflow: hidden; padding-bottom: .06em; will-change: transform; }
.hero__word { display: inline-block; transform: translateY(110%); }
.hero__title em { color: var(--sand); }
.hero__bottom { display: flex; justify-content: flex-end; align-items: end; gap: 40px; }
.hero__sub { opacity: .85; }
.hero__scroll { display: flex; align-items: center; gap: 12px; opacity: .7; white-space: nowrap; }
.hero__scrollline { display: block; width: 64px; height: 1px; background: currentColor; transform-origin: left; animation: scrollline 2.2s var(--ease-inout) infinite; }
@keyframes scrollline { 0% { transform: scaleX(0); transform-origin: left; } 50% { transform: scaleX(1); transform-origin: left; } 51% { transform-origin: right; } 100% { transform: scaleX(0); transform-origin: right; } }
.hero__curtain { position: absolute; inset: 0; z-index: 2; background: var(--paper); clip-path: inset(100% 0 0 0); pointer-events: none; }

/* ---------- 1 manifest ---------- */
.manifest { background: var(--paper); color: var(--ink); display: grid; place-items: center; z-index: 2; }
.manifest__text { position: relative; z-index: 2; font-family: var(--serif); font-size: clamp(30px, 5.4vw, 84px); line-height: 1.06; letter-spacing: -.02em; max-width: 19ch; text-align: center; }
.manifest__text em { color: var(--moss-2); }
.manifest__text .w { opacity: .14; display: inline-block; }
.manifest__img { position: absolute; inset: 0; z-index: 1; clip-path: inset(50% 50% 50% 50% round 8px); will-change: clip-path; }
.manifest__img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; transform: scale(1.3); will-change: transform; }
.manifest__facts { position: absolute; left: var(--gutter); right: var(--gutter); bottom: 40px; z-index: 3; color: var(--paper); display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: end; opacity: 0; }
.manifest__claim { font-family: var(--serif); font-size: clamp(26px, 3.4vw, 52px); line-height: 1.05; letter-spacing: -.02em; max-width: 18ch; }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; padding-top: 20px; border-top: 1px solid var(--line-light); }
.facts li { display: flex; flex-direction: column; gap: 8px; }
.facts__num { font-family: var(--serif); font-size: clamp(32px, 4vw, 56px); line-height: 1; letter-spacing: -.02em; }
.facts .label { opacity: .75; }

/* ---------- 2 usluge ---------- */
.services { background: var(--moss); color: var(--paper); z-index: 3; }
.services__bg { position: absolute; inset: 0; z-index: 0; }
.services__slide { position: absolute; inset: 0; clip-path: inset(100% 0 0 0); will-change: clip-path; }
.services__slide:first-child { clip-path: inset(0 0 0 0); }
.services__slide img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 35%; transform: scale(1.15); will-change: transform; }
.services__shade { position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(28,21,24,.78) 0%, rgba(28,21,24,.35) 55%, rgba(28,21,24,.15) 100%); }
.services__counter { font-variant-numeric: tabular-nums; }
.services__names { position: absolute; left: var(--gutter); right: var(--gutter); top: 50%; transform: translateY(-62%); z-index: 2; height: 1.05em; font-size: clamp(44px, 8.4vw, 136px); }
.services__name { position: absolute; left: 0; top: 0; font-family: var(--serif); font-weight: 400; font-size: 1em; line-height: 1; letter-spacing: -.025em; white-space: nowrap; opacity: 0; transform: translateY(30%); will-change: transform, opacity; }
.services__name em { color: var(--sand); }
.services__descs { position: absolute; left: var(--gutter); top: calc(50% + clamp(28px, 4.2vw, 70px)); z-index: 2; width: min(44ch, 80vw); height: 5em; font-size: 15px; line-height: 1.6; }
.services__descs p { position: absolute; left: 0; top: 0; width: 100%; opacity: 0; transform: translateY(12px); }
.services__list { position: absolute; right: var(--gutter); bottom: 40px; z-index: 2; display: flex; flex-direction: column; gap: 10px; text-align: right; }
.services__list li { display: flex; gap: 14px; justify-content: flex-end; font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; opacity: .45; cursor: pointer; transition: opacity .4s ease; }
.services__list li span { opacity: .7; }
.services__list li.is-active { opacity: 1; }
.services__cta { position: absolute; left: var(--gutter); bottom: 40px; z-index: 2; }

/* ---------- 3 radovi ---------- */
.works { background: var(--paper); color: var(--ink); z-index: 4; padding: 0; }
.works__ghost { position: absolute; left: 0; top: 50%; transform: translateY(-50%); z-index: 0; font-family: var(--serif); font-size: 46vw; line-height: 1; letter-spacing: -.04em; color: transparent; -webkit-text-stroke: 1px rgba(28,21,24,.22); white-space: nowrap; pointer-events: none; will-change: transform; }
.works .scene__head { z-index: 3; }
.works__track { position: absolute; left: 0; top: 0; height: 100%; display: flex; align-items: center; gap: clamp(20px, 3vw, 48px); padding: 0 var(--gutter); z-index: 1; will-change: transform; }
.work { flex: 0 0 auto; width: clamp(240px, 32vw, 500px); }
.work--tall { width: clamp(200px, 22vw, 340px); }
.work__img { overflow: hidden; border-radius: 4px; aspect-ratio: 3 / 4; }
.work--tall .work__img { aspect-ratio: 2 / 3; }
.work__img img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.18); will-change: transform; }
.work .label { margin-top: 12px; opacity: .72; }
.work--end { width: clamp(300px, 36vw, 560px); padding-left: 4vw; }
.work__big { font-family: var(--serif); font-size: clamp(40px, 5vw, 80px); line-height: 1; letter-spacing: -.02em; margin-bottom: 28px; }
.work__big em { color: var(--moss-2); }

/* ---------- 4 prije/poslije ---------- */
.ba { background: var(--paper-2); color: var(--ink); z-index: 5; height: auto; min-height: 100svh; overflow: visible; padding-top: calc(var(--header-h) + 72px); padding-bottom: clamp(72px, 10vw, 140px); }
.ba__title { font-family: var(--serif); font-size: clamp(44px, 8vw, 128px); line-height: .95; letter-spacing: -.025em; margin-bottom: clamp(28px, 4vw, 64px); }
.ba__title em { color: var(--moss-2); }
.ba__title .w { display: inline-block; transform: translateY(110%); }
.ba__title .m { display: inline-block; overflow: hidden; vertical-align: bottom; padding-bottom: .1em; margin-bottom: -.1em; }
.ba__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(16px, 3vw, 48px); }
.compare { position: relative; overflow: hidden; border-radius: 4px; background: var(--paper-2); user-select: none; --pos: 100%; aspect-ratio: 3 / 4; transform: translateY(8vh) scale(.94); will-change: transform; }
.compare img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; pointer-events: none; }
.compare__before-wrap { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.compare__handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 1px; background: var(--paper); transform: translateX(-.5px); }
.compare__handle span { position: absolute; top: 50%; left: 50%; width: 44px; height: 44px; transform: translate(-50%, -50%); border-radius: 50%; background: var(--paper); color: var(--ink); display: grid; place-items: center; box-shadow: 0 6px 24px rgba(0,0,0,.25); }
.compare__handle span::before { content: "↔"; font-size: 16px; }
.compare__range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; -webkit-appearance: none; appearance: none; }
.compare__tag { position: absolute; top: 14px; padding: 6px 10px; border-radius: 999px; background: rgba(28,21,24,.72); color: var(--paper); backdrop-filter: blur(6px); }
.compare__tag--l { left: 14px; }
.compare__tag--r { right: 14px; }

/* ---------- 5 kontakt ---------- */
.contact { background: var(--moss); color: var(--paper); z-index: 6; height: auto; min-height: 100svh; overflow: visible; display: grid; gap: clamp(28px, 4vw, 56px); padding-top: calc(var(--header-h) + 72px); padding-bottom: clamp(72px, 10vw, 140px); }
.contact__title { font-family: var(--serif); font-size: clamp(44px, 8vw, 128px); line-height: .95; letter-spacing: -.025em; }
.contact__title em { color: var(--sand); }
.contact__title .w { display: inline-block; transform: translateY(110%); }
.contact__title .m { display: inline-block; overflow: hidden; vertical-align: bottom; padding-bottom: .1em; margin-bottom: -.1em; }
.contact__grid { display: grid; grid-template-columns: 1fr 1fr 1.2fr; gap: clamp(24px, 4vw, 64px); }
.contact__col { opacity: 0; transform: translateY(24px); }
.contact__col .label { opacity: .7; margin-bottom: 14px; }
.contact__big { display: block; font-family: var(--serif); font-size: clamp(28px, 3.2vw, 44px); line-height: 1.1; letter-spacing: -.01em; }
.contact__big--link:hover { color: var(--sand); }
.contact__link { display: inline-block; margin-top: 14px; font-size: 13px; font-weight: 600; letter-spacing: .04em; border-bottom: 1px solid var(--line-light); padding-bottom: 2px; }
.contact__link:hover { color: var(--sand); border-color: var(--sand); }
.hours li { display: flex; justify-content: space-between; gap: 16px; padding: 8px 0; border-bottom: 1px solid var(--line-light); font-size: 14px; opacity: .88; font-variant-numeric: tabular-nums; }
.hours li.is-today { opacity: 1; color: var(--sand); }
.hours li.is-today span:first-child::after { content: " · " attr(data-today); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; }
.contact__map { position: relative; overflow: hidden; border-radius: 6px; aspect-ratio: 16 / 7; clip-path: inset(0 0 100% 0); will-change: clip-path; background: var(--moss-2); }
.contact__map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; }
.contact__map .pill { position: absolute; left: 16px; bottom: 16px; z-index: 2; box-shadow: 0 8px 24px rgba(0,0,0,.25); }

/* ---------- footer ---------- */
.footer { position: relative; z-index: 7; background: var(--ink); color: var(--paper); padding: clamp(48px, 6vw, 96px) var(--gutter) 24px; overflow: hidden; }
.footer__top { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.footer .label { opacity: .65; margin-bottom: 12px; }
.footer__small { font-size: 13px; line-height: 1.7; opacity: .85; }
.footer__small a:hover { color: var(--sand); }
.footer__logo { width: clamp(120px, 14vw, 200px); margin-bottom: 32px; }
.footer__word { font-family: var(--serif); font-size: clamp(120px, 28vw, 480px); line-height: .8; letter-spacing: -.04em; margin: clamp(48px, 8vw, 120px) 0 24px -.04em; will-change: transform; }
.footer__bottom { display: flex; justify-content: space-between; gap: 16px; padding-top: 20px; border-top: 1px solid var(--line-light); }
.footer__bottom .label { opacity: .65; margin: 0; }

/* ---------- cursor ---------- */
.cursor { display: none; }
@media (hover: hover) and (pointer: fine) {
  .cursor { display: block; position: fixed; top: 0; left: 0; z-index: 90; width: 10px; height: 10px; border-radius: 50%; background: var(--sand); pointer-events: none; transform: translate(-50%, -50%) scale(0); transition: transform .35s var(--ease-out), opacity .3s ease; mix-blend-mode: difference; }
  body.has-cursor .cursor { transform: translate(-50%, -50%) scale(1); }
  body.has-cursor.cursor-grow .cursor { transform: translate(-50%, -50%) scale(4); opacity: .6; }
}

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .hero__media img { object-position: 30% 45%; }
  .manifest__facts { grid-template-columns: 1fr; gap: 20px; bottom: 28px; }
  .services__names { top: 36%; transform: none; font-size: clamp(40px, 11vw, 80px); height: 2.1em; }
  .services__name { white-space: normal; max-width: 90vw; line-height: 1.02; }
  .services__descs { top: auto; bottom: 110px; width: min(44ch, 88vw); height: 5.2em; font-size: 14px; }
  .services__list { display: none; }
  .services__cta { bottom: 32px; }
  .ba__grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .contact__grid { grid-template-columns: 1fr 1fr; gap: 24px; }
  .contact__hours { grid-column: 1 / -1; }
  .contact__map { aspect-ratio: 4 / 3; }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .rail { display: none; }
}
@media (max-width: 700px) {
  :root { --header-h: 64px; }
  .hero__media img { object-position: 22% 50%; }
  .header__lockup { height: 34px; }
  .status { display: none; }
  .header__right { gap: 8px; }
  .header .pill { padding: 10px 16px; font-size: 12px; }
  .hero__title { font-size: clamp(56px, 17vw, 120px); }
  .hero__bottom { justify-content: flex-start; }
  .hero__scroll { display: none; }
  .manifest__text { font-size: clamp(28px, 8vw, 48px); max-width: 16ch; }
  .facts { grid-template-columns: 1fr 1fr 1fr; gap: 8px; }
  .work { width: 68vw; }
  .work--tall { width: 50vw; }
  .ba__grid { grid-template-columns: 1fr; }
  .contact__grid, .footer__top { grid-template-columns: 1fr; }
  .menu__nav a { font-size: clamp(40px, 12vw, 72px); }
}

/* ---------- reduced motion / no-js fallback: sve vidljivo ---------- */
.is-static .scene { height: auto; min-height: 0; overflow: visible; padding-top: calc(var(--header-h) + 72px); padding-bottom: 72px; }
.is-static .scene__head { position: static; margin-bottom: 32px; }
.is-static .hero { min-height: 100svh; }
.is-static .hero__word { transform: none; }
.is-static .hero__curtain, .is-static .grain, .is-static .rail, .is-static .loader, .is-static .works__ghost { display: none; }
.is-static .manifest { display: block; }
.is-static .manifest__text .w { opacity: 1; }
.is-static .manifest__img { position: relative; clip-path: none; aspect-ratio: 3 / 4; max-width: 520px; margin: 48px 0; }
.is-static .manifest__img img { transform: none; }
.is-static .manifest__facts { position: static; opacity: 1; color: var(--ink); }
.is-static .facts { border-color: var(--line); }
.is-static .services__bg, .is-static .services__shade { display: none; }
.is-static .services__names, .is-static .services__descs, .is-static .services__list, .is-static .services__cta { position: static; height: auto; transform: none; }
.is-static .services__name, .is-static .services__descs p { position: static; opacity: 1; transform: none; white-space: normal; margin-bottom: 16px; }
.is-static .works { padding: 72px var(--gutter); }
.is-static .works__track { position: static; height: auto; flex-wrap: wrap; padding: 0; transform: none !important; }
.is-static .work__img img { transform: none; }
.is-static .ba__title .w, .is-static .contact__title .w { transform: none; }
.is-static .compare { transform: none; aspect-ratio: 3 / 4; }
.is-static .contact__col { opacity: 1; transform: none; }
.is-static .contact__map { clip-path: none; aspect-ratio: 16 / 7; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* ---------- jezici ---------- */
.lang { display: flex; gap: 2px; font-family: var(--sans); font-size: 11px; font-weight: 600; letter-spacing: .12em; }
.lang a { padding: 6px 7px; border-radius: 999px; opacity: .55; transition: opacity .3s ease, background .3s ease; }
.lang a:hover { opacity: 1; }
.lang a.is-active { opacity: 1; background: rgba(255,255,255,.14); }
.header.is-light .lang a.is-active { background: rgba(28,21,24,.1); }
.lang--menu { margin-left: auto; }
.lang--menu a { color: var(--paper); }
.linklike { background: none; border: 0; padding: 0; margin: 0; color: inherit; font: inherit; cursor: pointer; text-align: left; }
.linklike:hover { color: var(--sand); }
.pill--ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }

/* ---------- karta na klik ---------- */
.map__ph { position: absolute; inset: 0; z-index: 2; display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-end; gap: 14px; padding: 20px; color: var(--paper); background: linear-gradient(180deg, rgba(59,31,39,.35), rgba(28,21,24,.75)); }
.map__ph .label { opacity: .75; max-width: 42ch; }
.map__ph .pill { position: static; box-shadow: none; }
.map__ph .contact__link { margin-top: 0; }
.contact__map.is-loaded .map__ph { display: none; }

/* ---------- cjenik u podnožju (diskretno) ---------- */
.pricelist { margin-top: 40px; padding-top: 18px; border-top: 1px solid var(--line-light); }
.pricelist summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 10px; opacity: .55; transition: opacity .3s ease; }
.pricelist summary::-webkit-details-marker { display: none; }
.pricelist summary::before { content: "+"; font-family: var(--serif); font-size: 18px; line-height: 1; }
.pricelist[open] summary::before { content: "–"; }
.pricelist summary:hover, .pricelist[open] summary { opacity: 1; }
.pricelist__wrap { max-width: 720px; margin-top: 20px; }
.pricelist__note { font-size: 12px; line-height: 1.6; opacity: .6; }
.pricelist__table { width: 100%; border-collapse: collapse; font-size: 13px; margin: 16px 0 12px; }
.pricelist__table th, .pricelist__table td { padding: 7px 0; text-align: left; border-bottom: 1px solid rgba(255,255,255,.08); font-weight: 400; }
.pricelist__table th { font-family: var(--sans); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; opacity: .55; font-weight: 600; }
.pricelist__table th:nth-child(n+2), .pricelist__table td:nth-child(n+2) { text-align: right; font-variant-numeric: tabular-nums; width: 22%; white-space: nowrap; }
.pricelist__files { opacity: .55; }
.pricelist__files a { text-decoration: underline; text-underline-offset: 3px; }
.pricelist__files a:hover { color: var(--sand); }

/* ---------- privola ---------- */
.consent { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 90; width: min(440px, calc(100% - 32px)); margin-left: auto; padding: 22px 24px; border-radius: 12px; background: var(--paper); color: var(--ink); box-shadow: 0 24px 70px rgba(28,21,24,.35); font-family: var(--sans); }
.consent[hidden] { display: none; }
.consent__title { font-family: var(--serif); font-size: 24px; line-height: 1.1; margin: 0 0 8px; }
.consent__text { font-size: 13px; line-height: 1.6; margin: 0; opacity: .85; }
.consent__text a { text-decoration: underline; text-underline-offset: 3px; }
.consent__btns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.consent .pill { padding: 11px 18px; font-size: 12px; }

/* ---------- statične podstranice (politika, 404) ---------- */
body.page { background: var(--paper); color: var(--ink); }
.page, .page * { cursor: auto; }
.page a, .page button { cursor: pointer; }
.header--page { position: relative; }
.policy { max-width: 760px; margin: 0 auto; padding: clamp(32px, 6vw, 72px) var(--gutter) 80px; }
.policy .label { opacity: .8; }
.policy__title { font-family: var(--serif); font-weight: 400; font-size: clamp(36px, 6vw, 64px); line-height: 1.05; letter-spacing: -.02em; margin: 12px 0 10px; }
.policy__meta { margin-bottom: 40px; }
.policy h2 { font-family: var(--serif); font-weight: 400; font-size: 26px; line-height: 1.2; margin: 40px 0 12px; }
.policy p, .policy li { font-size: 15px; line-height: 1.7; }
.policy p { margin: 0 0 14px; }
.policy ul { padding-left: 20px; margin: 0 0 14px; }
.policy li { margin-bottom: 10px; }
.policy a { text-decoration: underline; text-underline-offset: 3px; }
.policy a:not(.pill):hover { color: var(--moss-2); }
.policy .pill { margin-top: 24px; }
.policy__table { width: 100%; border-collapse: collapse; font-size: 13px; margin: 12px 0 20px; }
.policy__table th, .policy__table td { padding: 8px 10px 8px 0; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.policy__table th { font-family: var(--sans); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; opacity: .6; }
.footer--page { padding: 24px var(--gutter); }
.footer--page .footer__bottom { border-color: rgba(255,255,255,.15); }

@media (max-width: 700px) {
  .header .lang { display: none; }
  .pricelist__table th:nth-child(n+2), .pricelist__table td:nth-child(n+2) { width: 25%; padding-left: 10px; white-space: normal; }
  .consent { left: 12px; right: 12px; bottom: 12px; width: auto; }
  .policy__table { display: block; overflow-x: auto; }
}

.header--page .lang a { opacity: .8; }
