:root{color-scheme:dark;--bg:#101513;--ink:#f2f4ee;--soft:#aab8ad;--accent:#c9efa9;--line:#ffffff16;--gutter:clamp(24px,6.1vw,96px)}
*,*::before,*::after{box-sizing:border-box}
html{min-height:100%;-webkit-text-size-adjust:100%}
body{margin:0;min-height:100vh;min-height:100svh;background:radial-gradient(ellipse at 75% 46%,#24382d 0%,#18231c 25%,transparent 56%),var(--bg);color:var(--ink);font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;isolation:isolate}
body::before{content:"";position:fixed;inset:0;z-index:-1;pointer-events:none;background-image:url("../slike/noise.svg");opacity:.13}
.shell{max-width:1600px;min-height:100vh;min-height:100svh;margin:0 auto;padding:max(30px,env(safe-area-inset-top)) max(var(--gutter),env(safe-area-inset-right)) max(24px,env(safe-area-inset-bottom)) max(var(--gutter),env(safe-area-inset-left));display:flex;flex-direction:column}
header,footer{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}
header{border-bottom:1px solid var(--line);padding-bottom:24px}
.brand{display:inline-flex;align-items:center;justify-content:center;flex:none}
.brand img{width:44px;height:44px;display:block}
.footer-brand{display:flex;align-items:center;gap:8px;min-width:0}
.footer-brand img{display:block;width:32px;height:32px;flex:none}
.header-mark{display:flex;gap:5px;align-items:center;justify-content:center;opacity:.7;appearance:none;border:0;background:none;color:inherit;padding:0;min-width:44px;min-height:44px;cursor:pointer}
.header-mark i{display:block;width:2px;height:15px;background:var(--soft);transform:skewX(-22deg)}
.header-mark i:last-child{background:var(--accent);height:22px}
main{flex:1;display:grid;grid-template-columns:minmax(0,1.04fr) minmax(0,.96fr);align-items:center;gap:clamp(22px,5vw,80px);padding:clamp(40px,7vh,100px) 0}
.intro{min-width:0}
.status{display:inline-flex;align-items:center;gap:9px;border:1px solid #c9efa92b;border-radius:100px;padding:8px 13px 8px 10px;color:var(--accent);background:#c9efa909;font-size:11px;font-weight:650;letter-spacing:.13em;text-transform:uppercase}
.status-dot{width:7px;height:7px;border-radius:50%;background:var(--accent);box-shadow:0 0 13px #c9efa96b}
h1{font-size:clamp(68px,10.8vw,166px);font-weight:550;letter-spacing:-.095em;line-height:.96;margin:27px 0 26px;white-space:nowrap}
h1 span{color:var(--accent)}
.description{margin:0;max-width:31ch;font-size:clamp(17px,2vw,24px);line-height:1.55;letter-spacing:-.035em;color:var(--soft);font-weight:400}
.description strong{color:var(--ink);font-weight:450}
.loading{display:flex;align-items:center;gap:16px;margin-top:42px;width:min(100%,246px)}
.track{height:2px;flex:1;position:relative;background:#b9d1b32b;overflow:hidden;border-radius:5px}
.track::after{content:"";position:absolute;inset:0 auto 0 0;width:36%;background:linear-gradient(90deg,transparent,var(--accent));border-radius:5px;transform:translateX(92%)}
.loading-mark{display:flex;gap:4px;align-items:center}
.loading-mark span{width:4px;height:4px;background:var(--accent);border-radius:50%;opacity:.45}
.visual{position:relative;width:min(100%,540px);aspect-ratio:1;justify-self:center;display:grid;place-items:center}
.art{position:absolute;inset:0;width:100%;height:100%;overflow:visible;pointer-events:none}
.orbit{transform-origin:260px 260px}
.monogram{width:37%;aspect-ratio:1;display:grid;place-items:center;border:1px solid #d5efc740;border-radius:27%;background:linear-gradient(145deg,#34483a,#1a2821 68%);box-shadow:0 24px 80px #080f0a80,inset 0 1px 0 #ffffff17,inset 0 -1px 0 #0005;transform:rotate(-9deg);position:relative}
.monogram::before{content:"";position:absolute;inset:8px;border:1px solid #d5efc710;border-radius:23%}
.monogram img{width:61%;height:61%;transform:rotate(9deg);filter:drop-shadow(0 3px 12px #c9efa91a)}
footer{border-top:1px solid var(--line);padding-top:22px;color:var(--soft);font-size:12px;letter-spacing:.015em}
.footer-mark{display:flex;gap:7px;align-items:center}.footer-mark::before{content:"";height:5px;width:5px;border-radius:50%;background:var(--accent)}
@media(max-width:850px){main{grid-template-columns:minmax(0,1fr);gap:clamp(12px,4vw,36px);padding:40px 0 28px}.intro{text-align:center}.description{margin-inline:auto}.loading{margin:30px auto 0}.visual{width:min(72vw,330px)}h1{font-size:clamp(60px,16vw,132px);margin:23px 0 19px}body{background:radial-gradient(ellipse at 50% 65%,#24382d 0%,#18231c 27%,transparent 62%),var(--bg)}.shell{padding-top:max(22px,env(safe-area-inset-top))}header{padding-bottom:18px}footer{padding-top:17px}}
@media(max-width:380px){.brand img{width:36px;height:36px}.footer-brand img{width:26px;height:26px}.footer-brand{gap:5px;flex-wrap:wrap}h1{font-size:clamp(36px,19vw,72px)}main{padding-top:30px;gap:14px}.visual{width:min(67vw,250px)}.description{font-size:16px}.loading{margin-top:24px}.shell{--gutter:20px}footer{font-size:11px;gap:7px}}
@media(min-width:851px) and (min-height:651px) and (max-height:850px){main{padding:clamp(24px,4vh,40px) 0}.visual{width:min(100%,540px,65vh)}}
@media(min-width:851px) and (max-height:650px){main{padding:24px 0}.visual{width:min(100%,46vh)}h1{font-size:clamp(68px,9vw,125px);margin:18px 0}.loading{margin-top:25px}}
@media(max-width:850px) and (max-height:720px) and (orientation:portrait){main{padding:22px 0 18px;gap:12px}.visual{width:min(55vw,230px)}h1{margin:17px 0 13px}.loading{margin-top:22px}.shell{padding-top:max(18px,env(safe-area-inset-top));padding-bottom:max(18px,env(safe-area-inset-bottom))}header{padding-bottom:14px}footer{padding-top:13px}}
@media(max-width:850px) and (max-height:500px) and (orientation:landscape){.shell{padding-top:max(14px,env(safe-area-inset-top));padding-bottom:max(12px,env(safe-area-inset-bottom))}header{padding-bottom:10px}.brand img{width:32px;height:32px}.footer-brand img{width:24px;height:24px}main{grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr);gap:16px;padding:12px 0}.intro{text-align:left}.description{margin:0;font-size:16px}.visual{width:min(100%,48vh)}h1{font-size:clamp(54px,10vw,90px);margin:12px 0}.loading{margin:15px 0 0;width:180px}footer{padding-top:10px;font-size:11px}}
/* Ambient motion uses only transforms and opacity. Static fallback without JavaScript. */
.header-mark:disabled{cursor:default}
.header-mark:focus-visible{outline:2px solid var(--accent);outline-offset:3px;border-radius:4px}
.header-mark[aria-pressed="true"]{opacity:.55}
.motion-ready .status-dot{animation:pulse 3.2s ease-in-out infinite}
.motion-ready .track::after{animation:sweep 3s cubic-bezier(.45,.05,.35,1) infinite}
.motion-ready .loading-mark span{animation:pulse 1.8s ease-in-out infinite}
.motion-ready .loading-mark span:nth-child(2){animation-delay:-.3s}
.motion-ready .loading-mark span:nth-child(3){animation-delay:-.6s}
.motion-ready .orbit{transform-box:view-box;animation:orbit-intro 2.4s cubic-bezier(.18,.65,.25,1) both,orbit-loop 40s linear 2.4s infinite}
.motion-ready .monogram{animation:monogram-float 6.4s ease-in-out infinite}
.motion-ready .monogram::before{animation:halo-breathe 5s ease-in-out infinite}
.motion-ready .art>circle:first-of-type{animation:halo-breathe 7s ease-in-out infinite}
.motion-ready .art>circle:nth-of-type(3){transform-origin:260px 260px;transform-box:view-box;animation:ring-drift 64s linear infinite}
.motion-ready .art>circle:nth-last-of-type(2){animation:halo-breathe 4s ease-in-out infinite}
.motion-ready .art>circle:last-of-type{animation:halo-breathe 4s ease-in-out -2s infinite}
.motion-ready .orbit circle{animation:halo-breathe 3.8s ease-in-out infinite}
.motion-ready .footer-mark::before{animation:pulse 3.6s ease-in-out infinite}
.motion-ready .header-mark i{animation:pulse 3.6s ease-in-out infinite}
.motion-ready .header-mark i:nth-child(2){animation-delay:-.4s}
.motion-ready .header-mark i:last-child{animation-delay:-.8s}
.motion-paused *,.motion-paused *::before,.motion-paused *::after{animation-play-state:paused!important}
@keyframes pulse{50%{opacity:.55}}
@keyframes sweep{0%{transform:translateX(-110%)}100%{transform:translateX(310%)}}
@keyframes orbit-intro{from{transform:rotate(-100deg)}to{transform:rotate(0deg)}}
@keyframes orbit-loop{from{transform:rotate(0deg)}to{transform:rotate(360deg)}}
@keyframes ring-drift{from{transform:rotate(0deg)}to{transform:rotate(-360deg)}}
@keyframes monogram-float{0%,100%{transform:translateY(0) rotate(-9deg)}50%{transform:translateY(-5px) rotate(-7deg)}}
@keyframes halo-breathe{0%,100%{opacity:1}50%{opacity:.46}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important}}

@media(max-width:380px) and (max-height:600px) and (orientation:portrait){main{padding-top:14px;padding-bottom:10px;gap:8px}.visual{width:min(52vw,210px)}}

/* A small accent follows the native pointer; the native cursor remains usable. */
.cursor-aura{position:fixed;top:0;left:0;width:0;height:0;z-index:10;pointer-events:none;opacity:0;visibility:hidden;transition:opacity .18s ease;contain:layout style}
.cursor-aura.is-visible{opacity:1;visibility:visible}
.cursor-aura::before,.cursor-aura::after{content:"";position:absolute;top:0;left:0;border-radius:50%;pointer-events:none}
.cursor-aura::before{width:5px;height:5px;margin:-2.5px;background:var(--accent);box-shadow:0 0 8px #c9efa98c}
.cursor-aura::after{width:19px;height:19px;margin:-9.5px;border:1px solid #c9efa982;box-shadow:0 0 9px #c9efa91a}
.cursor-aura.is-visible::before{animation:cursor-core 2s ease-in-out infinite}
.cursor-aura.is-visible::after{animation:cursor-halo 2s ease-in-out infinite}
.cursor-aura.is-interactive::after{border-color:#e3ffd3c2}
@keyframes cursor-core{0%,100%{opacity:.9;transform:scale(.88)}50%{opacity:1;transform:scale(1.12)}}
@keyframes cursor-halo{0%,100%{opacity:.7;transform:scale(.8)}50%{opacity:.3;transform:scale(1.25)}}
@media (prefers-reduced-motion:reduce),(any-hover:none){.cursor-aura{display:none}}
.motion-paused .cursor-aura{display:none}
