/* Pilates Studio Performance — pilates.vebiko.com
   Paleta klijenta: #BAD797 (salvija), #4f3125 (espreso), #fff.
   Motiv: luk iz loga (krug) — splash, disk iza telefona, prsten kruznog treninga. */

:root {
  --sage: #BAD797;
  --sage-soft: #eef5e6;
  --ink: #4f3125;
  --ink-soft: #6e5247;
  --ink-deep: #2e1c15;
  --white: #fff;
  --line: rgba(79, 49, 37, .14);

  --f-display: 'Fraunces', Georgia, 'Times New Roman', serif;
  --f-text: 'Instrument Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;

  /* skala: savrsena kvarta (1.333), fluidna */
  --t-sm: .875rem;
  --t-base: clamp(1.0625rem, .98rem + .3vw, 1.1875rem);
  --t-lg: clamp(1.25rem, 1.1rem + .6vw, 1.5rem);
  --t-xl: clamp(1.75rem, 1.4rem + 1.4vw, 2.5rem);
  --t-2xl: clamp(2.5rem, 1.8rem + 3vw, 4.5rem);
  --t-3xl: clamp(3.2rem, 1rem + 5.8vw, 7.6rem);

  --gut: clamp(1rem, .5rem + 2.5vw, 3rem);
  --max: 1320px;
  --nav-h: 76px;
  --ease: cubic-bezier(.22, .8, .24, 1);
  --ease-io: cubic-bezier(.7, 0, .2, 1);
  --d: .1s; /* bazno kasnjenje hero animacije; produzi se kad ide splash */
}
.splash-on { --d: 1.95s; }

/* ---------- osnova ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: var(--nav-h); }
body {
  margin: 0; background: var(--white); color: var(--ink);
  font: 400 var(--t-base)/1.6 var(--f-text); font-stretch: 100%;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg, picture { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-family: var(--f-display); font-weight: 400; font-optical-sizing: auto; font-variation-settings: 'SOFT' 50; line-height: 1.05; letter-spacing: -.02em; text-wrap: balance; }
p { margin: 0 0 1em; text-wrap: pretty; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 4px; }
.skip { position: absolute; left: 1rem; top: -4rem; z-index: 100; background: var(--ink); color: #fff; padding: .7rem 1rem; border-radius: 8px; }
.skip:focus { top: 1rem; }
.ic { width: 1.15em; height: 1.15em; flex: none; fill: currentColor; }
.sec-title { font-size: var(--t-2xl); }

/* ---------- dugmad ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 52px; padding: 0 1.6rem; border-radius: 999px;
  font: 500 1rem/1 var(--f-text); text-decoration: none; letter-spacing: .005em;
  border: 1.5px solid var(--ink); transition: background-color .25s, color .25s, border-color .25s;
}
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: var(--ink-deep); border-color: var(--ink-deep); }
.btn--line { background: transparent; color: var(--ink); }
.btn--line:hover { background: var(--ink); color: #fff; }
.link { font-weight: 500; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .3em; }
.link:hover { text-decoration-thickness: 2px; }

.stores { display: flex; flex-wrap: wrap; gap: .75rem; }
.store {
  display: inline-flex; align-items: center; gap: .7rem; min-height: 56px; padding: .5rem 1.25rem .5rem 1rem;
  background: var(--ink-deep); color: #fff; border-radius: 14px; text-decoration: none;
  transition: background-color .25s;
}
.store:hover { background: #000; }
.store svg { width: 26px; height: 26px; fill: currentColor; }
.store span { display: flex; flex-direction: column; font: 600 1.125rem/1.1 var(--f-text); letter-spacing: -.01em; }
.store small { font-size: .7rem; font-weight: 400; letter-spacing: .01em; opacity: .85; }
.stores--light .store { background: #fff; color: var(--ink-deep); }
.stores--light .store:hover { background: var(--sage); }

/* ---------- splash ---------- */
.splash { display: none; }
.splash-on .splash {
  display: grid; place-items: center; position: fixed; inset: 0; z-index: 90;
  background: var(--ink); color: #fff;
  clip-path: circle(150% at 70% 52%);
  animation: splash-out .95s var(--ease-io) 1.35s forwards;
}
.splash__logo { width: min(58vw, 340px); overflow: visible; fill: #fff; }
.splash-on .splash .lg-ring { transform-box: view-box; transform-origin: 482px 352px; animation: ring-in 1.2s var(--ease) both; }
.splash-on .splash .lg-fig { animation: rise .9s var(--ease) .25s both; }
.splash-on .splash .lg-word { animation: fade .8s var(--ease) .45s both; }
.splash-on .splash .lg-studio,
.splash-on .splash .lg-perf { animation: fade .8s var(--ease) .65s both; }
@keyframes splash-out { to { clip-path: circle(0% at 70% 52%); visibility: hidden; } }
@keyframes ring-in { from { transform: rotate(-120deg) scale(.86); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes rise { from { transform: translateY(40px); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes fade-soft { from { opacity: 0; } to { opacity: .55; } }

/* ---------- navigacija ---------- */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; transition: background-color .35s, box-shadow .35s; }
.nav.is-scrolled { background: rgba(255, 255, 255, .88); backdrop-filter: blur(14px) saturate(1.3); -webkit-backdrop-filter: blur(14px) saturate(1.3); box-shadow: 0 1px 0 var(--line); }
.nav__in { max-width: var(--max); margin: 0 auto; height: var(--nav-h); padding: 0 var(--gut); display: flex; align-items: center; gap: 2rem; }
.nav__brand { color: var(--ink); flex: none; }
.nav__brand svg { height: 54px; width: auto; aspect-ratio: 803 / 702; fill: currentColor; }
.nav__links { display: flex; gap: 1.9rem; margin-left: auto; }
.nav__links a { text-decoration: none; font-size: .975rem; padding: .5rem 0; position: relative; }
.nav__links a::after { content: ''; position: absolute; left: 0; right: 0; bottom: .15rem; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .35s var(--ease); }
.nav__links a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav__cta { min-height: 46px; padding: 0 1.3rem; }
.nav__toggle { display: none; margin-left: auto; width: 48px; height: 48px; border: 0; background: none; position: relative; border-radius: 50%; }
.nav__toggle span { position: absolute; left: 13px; right: 13px; height: 1.5px; background: var(--ink); transition: transform .35s var(--ease), top .35s var(--ease); }
.nav__toggle span:first-child { top: 20px; }
.nav__toggle span:last-child { top: 27px; }
.nav__toggle[aria-expanded="true"] span:first-child { top: 23.5px; transform: rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:last-child { top: 23.5px; transform: rotate(-45deg); }

.menu { position: fixed; inset: 0; z-index: 45; background: var(--sage); padding: calc(var(--nav-h) + 2rem) var(--gut) 2rem; display: flex; flex-direction: column; justify-content: space-between; }
.menu[hidden] { display: none; }
.menu nav { display: flex; flex-direction: column; }
.menu nav a { font: 400 clamp(2.2rem, 9vw, 3.2rem)/1.15 var(--f-display); text-decoration: none; padding: .2rem 0; }
.menu.is-open nav a { animation: rise .6s var(--ease) both; }
.menu.is-open nav a:nth-child(2) { animation-delay: .04s; }
.menu.is-open nav a:nth-child(3) { animation-delay: .08s; }
.menu.is-open nav a:nth-child(4) { animation-delay: .12s; }
.menu.is-open nav a:nth-child(5) { animation-delay: .16s; }
.menu.is-open nav a:nth-child(6) { animation-delay: .2s; }

/* ---------- hero ---------- */
.hero {
  position: relative; overflow: clip; isolation: isolate;
  background:
    radial-gradient(70% 60% at 8% 0%, rgba(255, 255, 255, .6), rgba(255, 255, 255, 0) 70%),
    radial-gradient(60% 70% at 100% 100%, #93b76e, rgba(147, 183, 110, 0) 70%),
    var(--sage);
}
/* blago zrno da povrsina ne bude ravna */
.hero::after {
  content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .22; mix-blend-mode: multiply;
  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 .31 0 0 0 0 .19 0 0 0 0 .15 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)'/%3E%3C/svg%3E");
}
.hero__mark { position: absolute; z-index: -1; left: -9vw; bottom: -14vw; width: min(62vw, 820px); aspect-ratio: 1; fill: #fff; opacity: .28; pointer-events: none; }
.hero__in {
  max-width: var(--max); margin: 0 auto; min-height: 100svh;
  padding: calc(var(--nav-h) + 2.5rem) var(--gut) 4.5rem;
  display: grid; grid-template-columns: 1.1fr .9fr; grid-template-areas: "text stage" "copy stage";
  align-content: center; column-gap: 2rem;
}
.hero__text { grid-area: text; align-self: end; }
.hero__copy { grid-area: copy; }
.hero__stage { grid-area: stage; }
.hero__title { font-size: var(--t-3xl); line-height: .95; letter-spacing: -.035em; font-weight: 380; font-variation-settings: 'SOFT' 60; margin-bottom: 2rem; }
.hero__title .line { display: block; overflow: hidden; padding-bottom: .08em; white-space: nowrap; }
.hero__title .line + .line { padding-left: .6em; }
.hero__title .line > span { display: inline-block; }
.hero__lead { font-size: var(--t-lg); line-height: 1.5; max-width: 32ch; color: var(--ink); margin-bottom: 2rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-bottom: 2.5rem; }
.hero .btn--line:hover { background: var(--ink); }

.hero__stage { position: relative; min-height: 660px; }
.hero__photo { position: absolute; right: 0; top: 50%; width: min(400px, 29vw); transform: translateY(-50%); }
.hero__photo { padding: 14px 14px 18px; background: var(--ink); border-radius: 999px 999px 40px 40px; box-shadow: 0 50px 80px -40px rgba(46, 28, 21, .6); }
.hero__photo::before { content: ''; position: absolute; inset: -16px; border: 1.2px solid var(--ink); border-radius: 999px 999px 52px 52px; opacity: .55; }
.arch-photo img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 999px 999px 26px 26px; }
.phone-scale { position: absolute; left: 0; bottom: 2%; z-index: 2; }
.disc { position: absolute; left: 50%; top: 50%; width: min(600px, 44vw); aspect-ratio: 1; margin: calc(min(600px, 44vw) / -2) 0 0 calc(min(600px, 44vw) / -2); border-radius: 50%; background: rgba(255, 255, 255, .38); }
.disc__arc { position: absolute; inset: -22px; width: calc(100% + 44px); height: calc(100% + 44px); overflow: visible; transform: rotate(-58deg); }
.disc__arc circle { fill: none; stroke: var(--ink); stroke-width: 1.2; stroke-linecap: round; stroke-dasharray: 470 610; stroke-dashoffset: 0; }

/* telefon */
.phone { position: relative; width: 292px; transform-style: preserve-3d; transition: transform .6s var(--ease); }
.phone__frame {
  position: relative; aspect-ratio: 9 / 19.3; border-radius: 48px; padding: 11px;
  background: linear-gradient(145deg, #5c3b2e, var(--ink-deep) 45%, #1d110c);
  box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .12), 0 50px 80px -30px rgba(46, 28, 21, .55), 0 20px 30px -20px rgba(46, 28, 21, .4);
}
.phone__island { position: absolute; top: 21px; left: 50%; width: 92px; height: 27px; margin-left: -46px; border-radius: 20px; background: #0d0806; z-index: 3; }
.app {
  height: 100%; border-radius: 38px; overflow: hidden; background: #fff;
  display: flex; flex-direction: column; padding: 14px 14px 10px; font-size: 11px; line-height: 1.3; color: var(--ink);
}
.app p { margin: 0; }
.app__status { display: flex; justify-content: space-between; align-items: center; padding: 3px 10px 0 16px; height: 26px; font-weight: 600; font-size: 12px; }
.app__sig { display: flex; gap: 2px; align-items: flex-end; }
.app__sig i { width: 3px; background: var(--ink); border-radius: 1px; }
.app__sig i:nth-child(1) { height: 4px; } .app__sig i:nth-child(2) { height: 6px; } .app__sig i:nth-child(3) { height: 8px; } .app__sig i:nth-child(4) { height: 10px; }
.app__top { display: flex; justify-content: space-between; align-items: center; margin: 16px 4px 12px; }
.app__hi { font: 400 21px/1.1 var(--f-display); }
.app__sub { color: var(--ink-soft); margin-top: 2px; }
.app__mark { width: 40px; fill: var(--ink); }
.app__next { position: relative; background: var(--ink); color: #fff; border-radius: 20px; padding: 14px 15px 15px; }
.app__label { font-size: 10px; opacity: .75; }
.app__class { font: 400 19px/1.15 var(--f-display); margin: 5px 0 3px !important; }
.app__when { color: var(--sage); font-weight: 500; }
.app__ring { position: absolute; right: 13px; top: 50%; width: 46px; height: 46px; margin-top: -23px; display: grid; place-items: center; }
.app__ring svg { position: absolute; inset: 0; transform: rotate(-90deg); }
.app__ring circle { fill: none; stroke: rgba(255, 255, 255, .18); stroke-width: 3.5; }
.app__ring .p { stroke: var(--sage); stroke-linecap: round; stroke-dasharray: 100.5; stroke-dashoffset: 30; }
.app__ring span { font-size: 10px; font-weight: 600; }
.app__days { display: flex; justify-content: space-between; margin: 13px 0 10px; }
.app__days span { flex: 1; margin: 0 2px; padding: 6px 0 7px; border-radius: 12px; text-align: center; font-size: 9.5px; color: var(--ink-soft); }
.app__days b { display: block; font: 600 14px/1.2 var(--f-text); color: var(--ink); margin-top: 1px; }
.app__days .on { background: var(--sage); color: var(--ink); }
.app__slots { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.app__slots li { display: flex; align-items: center; gap: 9px; padding: 8px 8px 8px 10px; border-radius: 14px; background: var(--sage-soft); }
.app__slots .t { font-weight: 600; font-size: 12px; width: 36px; }
.app__slots .n { flex: 1; font-weight: 500; }
.app__slots small { display: block; font-size: 9.5px; font-weight: 400; color: var(--ink-soft); }
.app__slots .b { padding: 6px 10px; border-radius: 999px; background: var(--ink); color: #fff; font-size: 10px; font-weight: 500; transition: background-color .3s, color .3s, transform .2s; }
.app__slots .mine { background: #fff; box-shadow: inset 0 0 0 1.2px var(--sage); }
.app__slots .mine .b, .app__slots .is-booked .b { background: var(--sage); color: var(--ink); }
.app__slots .is-tap .b { transform: scale(.9); }
.app__tabs { margin-top: auto; display: flex; justify-content: space-around; padding: 10px 0 4px; border-top: 1px solid var(--line); font-size: 10px; color: var(--ink-soft); }
.app__tabs .on { color: var(--ink); font-weight: 600; }

.note {
  position: absolute; z-index: 3; right: -12px; bottom: 16%;
  display: flex; align-items: center; gap: .7rem; padding: .7rem 1.1rem .7rem .8rem;
  background: rgba(255, 255, 255, .82); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-radius: 18px; box-shadow: 0 18px 40px -18px rgba(46, 28, 21, .35); font-size: .85rem; line-height: 1.3;
}
.note svg { width: 34px; fill: var(--ink); }
.note p { margin: 0; }
.note b { display: block; font-weight: 600; }

/* ulazak hera — jedini orkestrirani trenutak na stranici */
.js .hero__title .line > span { transform: translateY(105%); animation: line-up 1.1s var(--ease) calc(var(--d) + .1s) forwards; }
.js .hero__title .line + .line > span { animation-delay: calc(var(--d) + .22s); }
.js .hero__lead, .js .hero__actions, .js .hero .stores { opacity: 0; animation: rise .9s var(--ease) calc(var(--d) + .45s) forwards; }
.js .hero__actions { animation-delay: calc(var(--d) + .55s); }
.js .hero .stores { animation-delay: calc(var(--d) + .65s); }
.js .disc { transform: scale(.55); opacity: 0; animation: disc-in 1.3s var(--ease) var(--d) forwards; }
.js .disc__arc circle { stroke-dashoffset: 470; animation: arc-draw 1.6s var(--ease) calc(var(--d) + .4s) forwards; }
.js .arch-photo { clip-path: inset(100% 0 0 0); animation: unveil 1.4s var(--ease-io) calc(var(--d) + .15s) forwards; }
.js .hero__mark { opacity: 0; animation: mark-in 1.6s var(--ease) calc(var(--d) + .3s) forwards; }
.js .hero__photo::before { opacity: 0; animation: fade-soft 1.2s var(--ease) calc(var(--d) + .9s) forwards; }
.js .phone__frame { transform: translateY(70px) rotate(4deg); opacity: 0; animation: phone-in 1.3s var(--ease) calc(var(--d) + .2s) forwards; }
.js .note { opacity: 0; transform: translateY(14px) scale(.96); animation: note-in .8s var(--ease) calc(var(--d) + 1.25s) forwards; }
@keyframes line-up { to { transform: none; } }
@keyframes mark-in { from { opacity: 0; transform: rotate(-8deg) scale(.94); } to { opacity: .28; transform: none; } }
@keyframes unveil { to { clip-path: inset(0 0 0 0); } }
@keyframes disc-in { to { transform: none; opacity: 1; } }
@keyframes arc-draw { to { stroke-dashoffset: 0; } }
@keyframes phone-in { to { transform: none; opacity: 1; } }
@keyframes note-in { to { transform: none; opacity: 1; } }

/* ---------- studio ---------- */
.studio { max-width: var(--max); margin: 0 auto; padding: clamp(4rem, 9vw, 8rem) var(--gut); display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.arch img { width: 100%; aspect-ratio: 16 / 11; object-fit: cover; border-radius: 50% 50% 18px 18px / 42% 42% 18px 18px; }
.js .studio__media .arch { clip-path: inset(100% 0 0 0 round 24px); transition: clip-path 1.4s var(--ease); }
.js .studio__media.is-in .arch { clip-path: inset(0 0 0 0 round 0); }
.studio__text h2 { font-size: var(--t-2xl); margin-bottom: 1.5rem; }
.studio__text p { max-width: 42ch; color: var(--ink-soft); }
.studio__sign { margin: 2rem 0 0; width: 44%; min-width: 150px; }
.sign img { aspect-ratio: 1; object-fit: cover; object-position: 50% 35%; border-radius: 50%; }

/* ---------- programi ---------- */
.programs { max-width: var(--max); margin: 0 auto; padding: 0 var(--gut) clamp(4rem, 9vw, 8rem); }
.programs .sec-title { max-width: 14ch; margin-bottom: clamp(2rem, 5vw, 4rem); }
.programs__list { display: grid; gap: clamp(1rem, 2vw, 1.5rem); }
.prog { display: grid; grid-template-columns: 5fr 7fr; border-radius: 28px; overflow: hidden; background: var(--sage-soft); }
.prog:nth-child(even) { grid-template-columns: 7fr 5fr; }
.prog:nth-child(even) .prog__img { order: 2; }
.prog--dark { background: var(--ink); color: #fff; }
.prog__img img { width: 100%; height: 100%; min-height: 380px; object-fit: cover; }
.prog__body { padding: clamp(1.75rem, 4vw, 3.5rem); display: flex; flex-direction: column; justify-content: center; }
.prog h3 { font-size: var(--t-xl); margin-bottom: 1rem; }
.prog p { max-width: 46ch; color: var(--ink-soft); }
.prog--dark p { color: rgba(255, 255, 255, .82); }
.prog--dark :focus-visible { outline-color: var(--sage); }
.prog__when { margin: 1rem 0 1.5rem; display: grid; gap: .1rem; }
.prog__when div { display: grid; grid-template-columns: 9.5rem 1fr; gap: 1rem; padding: .7rem 0; border-top: 1px solid var(--line); }
.prog--dark .prog__when div { border-color: rgba(255, 255, 255, .16); }
.prog__when dt { color: var(--ink-soft); font-size: var(--t-sm); padding-top: .15rem; }
.prog--dark .prog__when dt { color: var(--sage); }
.prog__when dd { margin: 0; font-weight: 500; }
.prog .link { align-self: flex-start; }

/* ---------- full system: horizontalni krug ---------- */
.circuit { background: var(--sage); position: relative; }
.circuit__pin { display: grid; grid-template-columns: minmax(360px, 36vw) minmax(0, 1fr); align-items: center; overflow: hidden; }
.circuit__head { padding: clamp(4rem, 8vw, 6rem) var(--gut); position: relative; z-index: 2; background: var(--sage); align-self: stretch; display: flex; flex-direction: column; justify-content: center; }
.circuit__head::after { content: ''; position: absolute; top: 0; bottom: 0; left: 100%; width: 72px; background: linear-gradient(90deg, var(--sage), rgba(186, 215, 151, 0)); pointer-events: none; }
.circuit__head h2 { font-size: var(--t-2xl); margin-bottom: 1.25rem; }
.circuit__head p { max-width: 34ch; }
.circuit__ring { position: relative; width: 132px; height: 132px; margin-top: 1.5rem; display: grid; place-items: center; }
.circuit__ring svg { position: absolute; inset: 0; transform: rotate(-90deg); overflow: visible; }
.circuit__ring circle { fill: none; stroke: rgba(79, 49, 37, .18); stroke-width: 2; }
.circuit__ring .p { stroke: var(--ink); stroke-linecap: round; stroke-dasharray: 339.3; stroke-dashoffset: 282.7; transition: stroke-dashoffset .5s var(--ease); }
.circuit__ring span { font: 400 3.4rem/1 var(--f-display); font-variant-numeric: lining-nums; }
.circuit__track { list-style: none; margin: 0; padding: 0 var(--gut) 0 0; display: flex; gap: clamp(1rem, 2vw, 1.5rem); will-change: transform; }
.st { flex: none; width: clamp(280px, 30vw, 420px); min-height: 440px; padding: 2rem; border-radius: 28px; background: rgba(255, 255, 255, .45); display: flex; flex-direction: column; justify-content: flex-end; transition: background-color .35s, color .35s; }
.st.is-on { background: var(--ink); color: #fff; }
.st h3 { font-size: clamp(2.4rem, 1.8rem + 2.2vw, 3.6rem); margin: .3rem 0 1rem; }
.st p { margin: 0; max-width: 34ch; }
.st .st__n { font-size: var(--t-sm); opacity: .8; }
.st.is-on .st__n { color: var(--sage); opacity: 1; }

/* desktop: sekcija se "zakaci", a vertikalni skrol pomera krug horizontalno */
@media (min-width: 960px) and (prefers-reduced-motion: no-preference) {
  .js .circuit { height: var(--circuit-h, 300vh); }
  .js .circuit__pin { position: sticky; top: 0; height: 100vh; height: 100svh; }
}
@media (max-width: 959px), (prefers-reduced-motion: reduce) {
  .circuit__pin { grid-template-columns: 1fr; }
  .circuit__head::after { display: none; }
  .circuit__head { padding-bottom: 2rem; }
  .circuit__ring { width: 96px; height: 96px; }
  .circuit__ring span { font-size: 2.5rem; }
  .circuit__track { overflow-x: auto; scroll-snap-type: x mandatory; padding: 0 var(--gut) clamp(4rem, 8vw, 6rem); scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .circuit__track::-webkit-scrollbar { display: none; }
  .st { scroll-snap-align: center; width: min(82vw, 380px); min-height: 360px; }
}

/* ---------- termini ---------- */
.schedule { max-width: var(--max); margin: 0 auto; padding: clamp(4rem, 9vw, 8rem) var(--gut); }
.schedule__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 1.5rem; margin-bottom: 2.5rem; }
.seg { display: inline-flex; padding: 4px; border-radius: 999px; background: var(--sage-soft); box-shadow: inset 0 0 0 1px var(--line); }
.seg button { border: 0; background: none; min-height: 44px; padding: 0 1.2rem; border-radius: 999px; font-size: .95rem; font-weight: 500; transition: background-color .25s, color .25s; }
.seg button[aria-pressed="true"] { background: var(--ink); color: #fff; }
.week { display: grid; grid-template-columns: repeat(5, 1fr); border-top: 1.5px solid var(--ink); }
.day { padding: 1.25rem 1rem 1.5rem; border-right: 1px solid var(--line); }
.day:last-child { border-right: 0; }
.day__name { font: 400 var(--t-xl)/1 var(--f-display); margin: 0 0 1.25rem; display: flex; align-items: baseline; gap: .6rem; }
.day__today { font: 500 .75rem/1 var(--f-text); padding: .3rem .55rem; border-radius: 999px; background: var(--sage); }
.day ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; }
.slot { display: flex; align-items: center; gap: .7rem; padding: .7rem .8rem; border-radius: 14px; background: var(--sage-soft); transition: opacity .3s, filter .3s; }
.slot b { font-weight: 600; font-variant-numeric: tabular-nums; min-width: 3.1em; }
.slot span { font-size: var(--t-sm); line-height: 1.25; }
.slot--fs { background: var(--ink); color: #fff; }
.slot.is-dim { opacity: .22; filter: grayscale(1); }
.week__plain { padding: 1rem 0; }
.schedule__note { margin-top: 2rem; color: var(--ink-soft); max-width: 60ch; }
.schedule__note a { color: var(--ink); font-weight: 500; white-space: nowrap; }

/* ---------- galerija ---------- */
.gallery { max-width: var(--max); margin: 0 auto; padding: 0 var(--gut) clamp(4rem, 9vw, 8rem); }
.gallery .sec-title { margin-bottom: 2.5rem; }
.gallery__grid { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: clamp(180px, 22vw, 300px); gap: clamp(.5rem, 1.2vw, 1rem); }
.g { padding: 0; border: 0; background: var(--sage-soft); border-radius: 22px; overflow: hidden; cursor: zoom-in; }
.g--tall { grid-row: span 2; }
.g picture, .g img { width: 100%; height: 100%; }
.g img { object-fit: cover; transition: transform 1.1s var(--ease); }
.g:hover img { transform: scale(1.04); }
.lightbox { border: 0; padding: 0; background: transparent; max-width: 94vw; max-height: 92vh; overflow: visible; }
.lightbox::backdrop { background: rgba(46, 28, 21, .88); }
.lightbox img { max-width: 94vw; max-height: 88vh; width: auto; border-radius: 16px; }
.lightbox__close { position: absolute; top: -.5rem; right: -.5rem; width: 48px; height: 48px; border-radius: 50%; border: 0; background: #fff; display: grid; place-items: center; }
.lightbox__close svg { width: 22px; }

/* ---------- aplikacija ---------- */
.appband { background: var(--ink); color: #fff; border-radius: clamp(28px, 4vw, 48px); margin: 0 var(--gut); }
.appband__in { max-width: var(--max); margin: 0 auto; padding: clamp(3rem, 7vw, 6rem) clamp(1.5rem, 5vw, 5rem); display: grid; grid-template-columns: 1fr 1.3fr; gap: 2.5rem 4rem; align-items: start; }
.appband h2 { font-size: var(--t-2xl); }
.appband__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; grid-row: span 2; }
.appband__list li { padding: 1.25rem 0; border-top: 1px solid rgba(255, 255, 255, .16); }
.appband__list h3 { font-size: var(--t-lg); margin-bottom: .35rem; color: var(--sage); }
.appband__list p { margin: 0; color: rgba(255, 255, 255, .82); }
.appband :focus-visible { outline-color: var(--sage); }

/* ---------- kontakt ---------- */
.contact { max-width: var(--max); margin: 0 auto; padding: clamp(5rem, 11vw, 10rem) var(--gut) clamp(4rem, 8vw, 6rem); }
.contact h2 { font-size: var(--t-3xl); line-height: .92; letter-spacing: -.035em; max-width: 9ch; margin-bottom: clamp(2rem, 5vw, 4rem); }
.contact__list { list-style: none; margin: 0; padding: 0; border-top: 1.5px solid var(--ink); }
.contact__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 4vw, 4rem); align-items: start; }
.map { margin: 0; }
.map iframe { display: block; width: 100%; aspect-ratio: 4 / 3; border: 0; border-radius: 28px; background: var(--sage-soft); filter: saturate(.75) sepia(.12); }
.map figcaption { margin-top: 1rem; font-size: var(--t-sm); }
.contact__list li { border-bottom: 1px solid var(--line); }
.contact__list a, .contact__list p { display: flex; align-items: center; gap: 1.25rem; margin: 0; padding: 1.3rem 0; font: 400 var(--t-xl)/1.15 var(--f-display); text-decoration: none; overflow-wrap: anywhere; }
.contact__list .ic { width: 1.1em; height: 1.1em; }
.contact__list a span { background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .5s var(--ease); }
.contact__list a:hover span { background-size: 100% 1px; }

/* ---------- podnozje, dock, toast ---------- */
.foot { max-width: var(--max); margin: 0 auto; padding: 3rem var(--gut) 7rem; display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 2.5rem; border-top: 1px solid var(--line); color: var(--ink-soft); font-size: var(--t-sm); }
.foot__logo { width: 96px; fill: var(--ink); margin-right: auto; }
.foot p { margin: 0; }
.dock { display: none; }
.toast { visibility: hidden; opacity: 0; position: fixed; left: 50%; bottom: 1.5rem; z-index: 80; transform: translate(-50%, 150%); background: var(--ink-deep); color: #fff; padding: .9rem 1.3rem; border-radius: 14px; font-size: .95rem; box-shadow: 0 18px 40px -16px rgba(0, 0, 0, .4); transition: transform .45s var(--ease), opacity .3s, visibility 0s .45s; max-width: calc(100vw - 2rem); }
.toast.is-on { transform: translate(-50%, 0); visibility: visible; opacity: 1; transition: transform .45s var(--ease), opacity .3s; }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .nav__links { gap: 1.3rem; }
  .hero__in { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 959px) {
  :root { --nav-h: 68px; }
  .nav__links, .nav__cta { display: none; }
  .nav__toggle { display: block; }
  .nav__brand svg { height: 46px; }
  .hero__in { grid-template-columns: 1fr; grid-template-areas: "text" "stage" "copy"; min-height: 0; padding-top: calc(var(--nav-h) + 2rem); padding-bottom: 3.5rem; }
  .hero__title { margin-bottom: 1.5rem; }
  .hero__stage { min-height: 0; height: min(128vw, 560px); margin-bottom: 2.5rem; }
  .hero__photo { top: 0; transform: none; width: min(66vw, 340px); right: 4px; }
  .phone-scale { transform: scale(.74); transform-origin: left bottom; bottom: 0; }
  .hero__mark { width: 120vw; left: -30vw; bottom: auto; top: 38%; }
  .hero__photo { padding: 10px 10px 12px; }
  .disc { width: min(118vw, 560px); margin: calc(min(118vw, 560px) / -2) 0 0 calc(min(118vw, 560px) / -2); }
  .note { right: 0; bottom: auto; top: 6%; }
  .studio { grid-template-columns: 1fr; }
  .studio__sign { display: none; }
  .prog, .prog:nth-child(even) { grid-template-columns: 1fr; }
  .prog:nth-child(even) .prog__img { order: 0; }
  .prog__img img { min-height: 0; aspect-ratio: 4 / 3; }
  .week { grid-template-columns: 1fr; }
  .day { display: grid; grid-template-columns: 5.5rem 1fr; gap: 1rem; border-right: 0; border-bottom: 1px solid var(--line); padding: 1.1rem 0; }
  .day__name { flex-direction: column; align-items: flex-start; gap: .4rem; margin: .3rem 0 0; font-size: 1.6rem; }
  .day ul { grid-template-columns: repeat(auto-fill, minmax(8.2rem, 1fr)); }
  .appband__in { grid-template-columns: 1fr; }
  .appband__list { grid-row: auto; }
  .contact__grid { grid-template-columns: 1fr; }
  .map iframe { aspect-ratio: 1; border-radius: 22px; }
  .gallery__grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 46vw; }
  .g:last-child { grid-column: span 2; }
  .dock { display: flex; gap: .5rem; position: fixed; left: .75rem; right: .75rem; bottom: calc(.75rem + env(safe-area-inset-bottom)); z-index: 40; padding: .5rem; border-radius: 999px; background: rgba(255, 255, 255, .9); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 16px 40px -16px rgba(46, 28, 21, .45); transform: translateY(160%); transition: transform .45s var(--ease); }
  .dock .btn { flex: 1; min-height: 48px; }
  .dock .btn--line { background: #fff; }
  .dock.is-on { transform: none; }
  .toast { bottom: calc(5.5rem + env(safe-area-inset-bottom)); }
}
@media (max-width: 560px) {
  .hero__title .line + .line { padding-left: .45em; }
  .phone-scale { transform: scale(.64); }
  .note { font-size: .78rem; padding: .55rem .9rem .55rem .65rem; }
  .note svg { width: 28px; }
  .prog__when div { grid-template-columns: 1fr; gap: .15rem; }
  .store { flex: 1 1 0; min-width: 0; justify-content: center; padding-inline: .8rem; }
  .store span { font-size: 1rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-delay: 0s !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
}
