/* ==========================================================================
   FORMÉ Studio · production site
   Direction: "Tiha raskoš" (quiet-luxury editorial), simplified.
   Bodoni Moda (display ≥ 28 px, prices, numerals) + Jost (everything else).
   Contrast pairs are listed with their measured ratios in README.md.
   ========================================================================== */

/* ---------- Fonts (self-hosted, subset to Latin + Croatian) ---------- */
@font-face { font-family: "Bodoni Moda"; src: url(../assets/fonts/bodoni-moda-hr.woff2) format("woff2"); font-weight: 400 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Bodoni Moda"; src: url(../assets/fonts/bodoni-moda-italic-400-hr.woff2) format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Jost"; src: url(../assets/fonts/jost-hr.woff2) format("woff2"); font-weight: 400 600; font-style: normal; font-display: swap; }
/* Metric-matched fallbacks: near-zero layout shift when the web fonts swap in */
@font-face { font-family: "Bodoni Fallback"; src: local("Georgia"); size-adjust: 106.8%; ascent-override: 105.3%; descent-override: 37.4%; line-gap-override: 0%; }
@font-face { font-family: "Bodoni Fallback Italic"; src: local("Georgia Italic"); size-adjust: 95.7%; ascent-override: 117.6%; descent-override: 41.8%; line-gap-override: 0%; }
@font-face { font-family: "Jost Fallback"; src: local("Arial"); size-adjust: 94.9%; ascent-override: 112.8%; descent-override: 39.5%; line-gap-override: 0%; }

/* ---------- Tokens ---------- */
:root {
  /* Colour */
  --paper: #F4EDE2;     /* page: warm plaster */
  --card: #FBF6EE;      /* booking card: lifts off the paper */
  --greige: #E9DFD1;    /* alternate light section */
  --cream: #F7E9CF;     /* brand cream (wordmark), text on night, price card */
  --cream-2: #D9CDB8;   /* secondary text on night (11.7:1) */
  --ink: #171412;       /* text on light, night sections */
  --ink-2: #4A423B;     /* secondary text on light (8.5:1 on paper) */
  --night: #171412;
  --night-2: #221D1A;
  --taupe: #877F75;     /* brand taupe: decorative only, never behind text */
  --oak: #7A5638;       /* large Bodoni numerals and the acute on light (5.6:1) */
  --blush: #D9A0A6;     /* price tags only (ink on blush 8.3:1) */
  --rule: rgb(23 20 18 / .16);
  --rule-night: rgb(247 233 207 / .2);

  /* Type */
  --f-display: "Bodoni Moda", "Bodoni Fallback", Georgia, serif;
  --f-display-i: "Bodoni Moda", "Bodoni Fallback Italic", Georgia, serif;
  --f-text: "Jost", "Jost Fallback", Arial, sans-serif;
  --fs-body: clamp(1.0625rem, 0.99rem + 0.3vw, 1.1875rem);   /* 17 → 19 */
  --fs-lead: clamp(1.1875rem, 1.06rem + 0.5vw, 1.4375rem);   /* 19 → 23 */
  --fs-small: 0.9375rem;                                     /* 15 */
  --fs-label: 0.8125rem;                                     /* 13, uppercase */
  --fs-h2: clamp(2.25rem, 1.45rem + 3.2vw, 4.25rem);         /* 36 → 68 */
  --fs-h1: clamp(2.5rem, 1.55rem + 3.7vw, 5rem);             /* 40 → 80 */

  /* Layout */
  --pad: clamp(16px, 4vw, 56px);
  --max: 1320px;
  --gap: clamp(16px, 2vw, 28px);
  --sec-y: clamp(72px, 9vw, 136px);
  --hdr: 64px;
  --peek: clamp(96px, calc(100svh - 560px), 200px);   /* how much of the booking card shows on the first screen */
  --wm-ar: 3.4837;      /* traced wordmark #wm: 555.16 × 159.36 */

  --ease: cubic-bezier(.2, .7, .2, 1);
}
@media (min-width: 700px) {
  :root { --peek: clamp(110px, calc(100svh - 820px), 220px); }
}
@media (min-width: 1024px) {
  :root { --hdr: 76px; --peek: clamp(160px, 20svh, 190px); }
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
/* No text selection, image dragging or tap flash anywhere on the site ...
   ... except the contact details, which people copy into maps and phones. */
html { -webkit-user-select: none; user-select: none; -webkit-tap-highlight-color: transparent; }
img, svg, video { -webkit-user-drag: none; -webkit-touch-callout: none; }
.vlist dd, .foot__cols p { -webkit-user-select: text; user-select: text; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--f-text); font-size: var(--fs-body); font-weight: 430; line-height: 1.6;
  font-kerning: normal; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
img, video, svg, picture { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, p, figure, blockquote, dl, dd, ol, ul { margin: 0; padding: 0; }
ol, ul { list-style: none; }
h1, h2, h3 { font-weight: inherit; }
em { font-style: italic; }
p { text-wrap: pretty; }
::selection { background: var(--blush); color: var(--ink); }
:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; border-radius: 2px; }

.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.skip {
  position: fixed; left: 12px; top: -80px; z-index: 100; padding: 12px 18px;
  background: var(--ink); color: var(--cream); font-size: var(--fs-small); font-weight: 500; text-decoration: none; border-radius: 4px;
}
.skip:focus { top: 12px; }
.wrap { width: min(100% - 2 * var(--pad), var(--max)); margin-inline: auto; }
.ic { width: 1.1em; height: 1.1em; flex: none; }
.wm { display: block; height: auto; aspect-ratio: var(--wm-ar); color: inherit; overflow: visible; }
.wm--sm { aspect-ratio: 3.4675; }   /* #wm-sm: 555.84 × 160.3, hairlines thickened for small sizes */
.nw { white-space: nowrap; }

@media (max-width: 699px) { .d-only { display: none; } }
@media (max-width: 1023px) { .br-d { display: none; } }

/* ---------- Type primitives ---------- */
.h2 {
  font-family: var(--f-display); font-weight: 400; font-size: var(--fs-h2);
  line-height: 1.06; letter-spacing: -.015em; text-wrap: balance;
}
.h2 em, .hero__title em { font-family: var(--f-display-i); font-style: italic; letter-spacing: -.01em; }
.lead { font-size: var(--fs-lead); line-height: 1.5; font-weight: 430; }

/* Chapter head: "01 ´ Rezervacija ─────" */
.chap { display: flex; align-items: center; gap: 10px; margin-bottom: clamp(28px, 4vw, 56px); }
.book .chap { margin-bottom: clamp(16px, 1.6vw, 22px); }
.chap__n { font-family: var(--f-display-i); font-style: italic; font-size: 1.75rem; line-height: 1; color: var(--oak); }
.chap__acute { width: 13px; height: 10px; margin: -14px 0 0 -6px; color: var(--oak); }
.chap__t { font-size: var(--fs-label); font-weight: 500; letter-spacing: .16em; text-transform: uppercase; }
.chap__rule { flex: 1; height: 1px; background: var(--rule); margin-left: 8px; }
.sec--night .chap__n, .sec--night .chap__acute { color: var(--cream-2); }
.sec--night .chap__rule { background: var(--rule-night); }

/* Figure captions: "Sl. n" */
.cap { margin-top: 12px; font-size: var(--fs-small); line-height: 1.45; color: var(--ink-2); }
.cap__n { font-size: var(--fs-label); font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--ink); margin-right: 10px; }
.sec--night .cap { color: var(--cream-2); }
.sec--night .cap__n { color: var(--cream); }
.fig__frame { position: relative; overflow: hidden; aspect-ratio: 3 / 4; background: rgb(23 20 18 / .08); border-radius: 2px; }
.fig__frame picture, .fig__frame img { width: 100%; height: 100%; }
.fig__frame img { object-fit: cover; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 12px 26px; border-radius: 999px; border: 1.5px solid transparent;
  font-family: var(--f-text); font-size: 1.0625rem; font-weight: 500; line-height: 1.2; letter-spacing: .01em;
  text-decoration: none; text-align: center;
  transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
}
.btn--lg { min-height: 58px; padding-inline: 30px; font-size: 1.125rem; }
.btn--block { width: 100%; }
.btn--cream { background: var(--cream); color: var(--ink); }
.btn--cream:hover { background: #FFF6E6; }
.btn--ink { background: var(--ink); color: var(--cream); }
.btn--ink:hover { background: #3A322C; }
.btn--line { border-color: currentColor; }
.sec--greige .btn--line:hover, .sec--paper .btn--line:hover { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.sec--night .btn--line:hover { background: var(--cream); color: var(--ink); border-color: var(--cream); }
.btn--touch { display: none; }
@media (hover: none) { .btn--touch { display: inline-flex; } }

/* ==========================================================================
   HEADER
   ========================================================================== */
.hdr {
  position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--hdr);
  color: var(--cream); background: rgb(23 20 18 / .96);
  transition: background-color .25s var(--ease), color .25s var(--ease), box-shadow .25s var(--ease);
}
.js .hdr { background: transparent; }
.js .hdr.is-scrolled { background: rgb(23 20 18 / .96); }
.js .hdr.is-light { background: var(--paper); color: var(--ink); box-shadow: 0 1px 0 var(--rule); }
.hdr__in { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.hdr__logo { display: flex; align-items: center; min-height: 44px; }
.hdr__logo .wm { height: 22px; width: auto; }
.hdr__nav ul { display: flex; gap: clamp(20px, 2.4vw, 36px); }
.hdr__nav a {
  display: inline-flex; align-items: center; min-height: 44px;
  font-size: .875rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; text-decoration: none;
  background: linear-gradient(currentColor, currentColor) 0 calc(50% + .9em) / 0 1px no-repeat;
  transition: background-size .25s var(--ease);
}
.hdr__nav a:hover { background-size: 100% 1px; }
.hdr__end { display: flex; align-items: center; gap: 8px; }
.hdr__cta {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 20px; border-radius: 999px;
  background: var(--cream); color: var(--ink); font-size: 1rem; font-weight: 500; text-decoration: none;
  transition: background-color .2s var(--ease), color .2s var(--ease);
}
.hdr__cta:hover { background: #FFF6E6; }
.js .hdr.is-light .hdr__cta { background: var(--ink); color: var(--cream); }
.js .hdr.is-light .hdr__cta:hover { background: #3A322C; }
.hdr__menu { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; margin-right: -8px; }
.hdr__menu .ic { width: 26px; height: 26px; }
@media (max-width: 1023px) { .hdr__nav { display: none; } }
@media (min-width: 1024px) { .hdr__menu { display: none; } .hdr__logo .wm { height: 26px; } }

/* ---------- Menu dialog (phones, tablets) ---------- */
.menu {
  position: fixed; inset: 0; width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; padding: 0 0 32px;
  border: 0; background: var(--paper); color: var(--ink); overflow-y: auto; overscroll-behavior: contain;
}
.menu[open] { display: flex; flex-direction: column; }
.menu::backdrop { background: rgb(23 20 18 / .5); }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
.menu__bar { height: var(--hdr); flex: none; display: flex; align-items: center; justify-content: space-between; }
.menu__bar .wm { height: 22px; width: auto; }
.menu__close { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; margin-right: -8px; }
.menu__close .ic { width: 26px; height: 26px; }
.menu__nav { margin-top: 12px; }
.menu__nav ol { border-top: 1px solid var(--rule); }
.menu__nav a {
  display: flex; align-items: baseline; gap: 16px; padding: 12px 0; min-height: 56px; border-bottom: 1px solid var(--rule);
  font-family: var(--f-display); font-size: 1.875rem; line-height: 1.2; text-decoration: none;
}
.menu__n { font-family: var(--f-text); font-size: var(--fs-label); font-weight: 500; letter-spacing: .12em; color: var(--ink-2); min-width: 1.8em; }
.menu__foot { margin-top: auto; padding-top: 32px; display: grid; gap: 16px; }
.menu__foot p { font-size: var(--fs-small); color: var(--ink-2); text-align: center; }
.menu__foot a:not(.btn) { color: var(--ink); }

/* ==========================================================================
   1 · HERO
   ========================================================================== */
.hero {
  position: relative; isolation: isolate; min-height: 100svh; display: flex; flex-direction: column;
  padding-top: var(--hdr); padding-bottom: calc(var(--peek) + clamp(20px, 3svh, 36px));
  background: var(--night); color: var(--cream); overflow: hidden;
}
.hero__bg, .hero__bg img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__bg { z-index: -2; }
.hero__bg img { object-fit: cover; object-position: 52% 56%; filter: brightness(.94) saturate(.92); }
.hero__scrim {
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg,
    rgb(23 20 18 / .82) 0%, rgb(23 20 18 / .58) 18%, rgb(23 20 18 / .5) 40%,
    rgb(23 20 18 / .58) 62%, rgb(23 20 18 / .8) 100%);
}
/* A second, local scrim travels with the text block, so the H1, kicker and facts sit on
   ≥ 86 % ink at every viewport, whatever part of the photo ends up behind them. */
.hero__foot { position: relative; }
.hero__foot::before {
  content: ""; position: absolute; z-index: -1; pointer-events: none;
  left: -50vw; right: -50vw; top: -120px; bottom: -400px;
  background: linear-gradient(180deg, rgb(23 20 18 / 0) 0, rgb(23 20 18 / .8) 120px, rgb(23 20 18 / .86) 100%);
}
.hero__in { flex: 1; display: flex; flex-direction: column; }
.hero__mast { margin-top: clamp(6px, 2.4svh, 32px); color: var(--cream); }
.hero__mast .wm { width: clamp(min(100%, 500px), (100svh - 640px) * var(--wm-ar), 100%); }
.hero__foot { margin-top: auto; padding-top: 40px; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); align-items: end; }
.hero__lead { grid-column: 1 / span 8; }
.hero__kicker {
  display: block; margin-bottom: 18px;
  font-family: var(--f-text); font-size: .875rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; line-height: 1.4;
}
.hero__title { display: block; font-family: var(--f-display); font-size: var(--fs-h1); line-height: 1.04; letter-spacing: -.018em; text-wrap: balance; }
@media (min-width: 1024px) { .hero__title { font-size: clamp(3.5rem, 1.6rem + 3.2vw, 4.75rem); text-wrap: nowrap; } }
.hero__lead .btn { margin-top: clamp(24px, 3svh, 36px); }
.hero__facts { grid-column: 9 / span 4; }
.hero__city { white-space: nowrap; }
.hero__facts li { display: grid; grid-template-columns: 4.2rem minmax(0, 1fr); align-items: baseline; gap: 14px; padding: 14px 0 12px; border-top: 1px solid rgb(247 233 207 / .35); }
.hero__n { font-family: var(--f-display); font-size: 2rem; font-weight: 540; line-height: 1; font-variant-numeric: lining-nums; }   /* 540: the hairline of the "4" survives on 1× screens */
.hero__t { font-size: 1rem; line-height: 1.4; color: var(--cream); }
.hero__edge { position: absolute; left: 0; right: 0; bottom: var(--peek); height: 1px; pointer-events: none; }

@media (max-width: 1023px) {
  .hero__lead, .hero__facts { grid-column: 1 / -1; }
  .hero__facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--gap); margin-top: 28px; }
  .hero__facts li { grid-template-columns: 1fr; gap: 4px; }
}
@media (max-width: 699px) {
  .hero__bg img { object-position: 47% 50%; }
  .hero__mast .wm { width: 100%; min-width: 0; }
  .hero__kicker { font-size: .8125rem; letter-spacing: .12em; margin-bottom: 10px; }
  .hero__sep { display: none; }
  .hero__city { display: block; }
  .hero__title { font-size: clamp(2.125rem, 9.4vw, 2.75rem); line-height: 1.06; }
  .hero__foot { padding-top: 24px; }
  .hero__lead .btn { width: 100%; margin-top: 20px; }
  .hero__facts { margin-top: 18px; }
  .hero__facts li { padding: 8px 0 0; gap: 2px; }
  .hero__n { font-size: 1.625rem; }
  .hero__t { font-size: .875rem; line-height: 1.35; }

  /* Phones get their own portrait photo (golden LED arches). A lighter middle band lets
     the arches glow between the masthead and the text; the text keeps its own dark scrim. */
  .hero__bg img { object-position: 64% 50%; filter: brightness(.9) saturate(.97); }
  .hero__scrim {
    background: linear-gradient(180deg,
      rgb(23 20 18 / .66) 0%, rgb(23 20 18 / .22) 20%, rgb(23 20 18 / .06) 34%,
      rgb(23 20 18 / .3) 48%, rgb(23 20 18 / .82) 64%, rgb(23 20 18 / .95) 100%);
  }
  .hero__mast { margin-top: clamp(10px, 3svh, 28px); filter: drop-shadow(0 2px 18px rgb(23 20 18 / .45)); }
  .hero__title { font-size: clamp(2.125rem, 9.8vw, 2.625rem); line-height: 1.05; }
  .hero__kicker::before { content: ""; display: block; width: 32px; height: 1px; margin-bottom: 14px; background: currentColor; opacity: .75; }
  .js .hdr:not(.is-scrolled) .hdr__logo { opacity: 0; visibility: hidden; }
  .hdr__logo { transition: opacity .35s var(--ease), visibility .35s; }
}
@media (max-width: 699px) and (prefers-reduced-motion: no-preference) {
  .hero__bg img { animation: hero-settle 3.2s cubic-bezier(.2, .7, .2, 1) both; }
  .hero__mast { animation: hero-rise 1.5s cubic-bezier(.2, .7, .2, 1) .1s both; }
}
@keyframes hero-settle { from { transform: scale(1.12); } to { transform: none; } }
@keyframes hero-rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }

/* ==========================================================================
   2 · REZERVACIJA — the booking card overlaps the hero
   ========================================================================== */
.book {
  position: relative; z-index: 2; margin-top: calc(-1 * var(--peek));
  padding-bottom: var(--sec-y);
  background: linear-gradient(transparent var(--peek), var(--paper) var(--peek));
  scroll-margin-top: calc(var(--hdr) + 12px);
}
.book__card {
  background: var(--card); color: var(--ink); border-radius: 4px;
  padding: clamp(24px, 2.6vw, 36px) clamp(24px, 4.4vw, 64px) clamp(28px, 4.4vw, 64px);
  box-shadow: 0 1px 0 rgb(23 20 18 / .06), 0 48px 90px -48px rgb(23 20 18 / .6);
}
.book__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); }
.book__main { grid-column: 1 / span 7; }
.book__side { grid-column: 9 / span 4; display: flex; flex-direction: column; gap: 28px; padding-top: 6px; }
.book .h2 { max-width: 13em; }
.book .lead { margin-top: 16px; color: var(--ink-2); }

.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); margin-top: clamp(28px, 3.4vw, 44px); counter-reset: none; }
.steps li { border-top: 1px solid var(--rule); padding-top: 14px; }
.steps__n { display: block; font-family: var(--f-display); font-size: 2.25rem; line-height: 1; color: var(--oak); font-variant-numeric: lining-nums; margin-bottom: 10px; }
.steps h3 { font-size: 1.125rem; font-weight: 550; line-height: 1.3; }
.steps p { margin-top: 6px; font-size: 1rem; line-height: 1.5; color: var(--ink-2); }

.book__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 20px; margin-top: clamp(28px, 3.4vw, 40px); }
.badges { display: flex; flex-wrap: wrap; gap: 12px; }
.badge { display: block; border-radius: 9px; }
.badge img { height: 50px; width: auto; }
.book__alt { margin-top: 20px; font-size: 1rem; color: var(--ink-2); }
.book__alt a { color: var(--ink); font-weight: 500; text-underline-offset: 3px; }

.facts { border-top: 1px solid var(--rule); }
.facts div { display: grid; grid-template-columns: 7.5rem minmax(0, 1fr); gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--rule); align-items: baseline; }
.facts dt { font-size: var(--fs-label); font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); }
.facts dd { font-size: 1.0625rem; font-weight: 500; line-height: 1.4; }
.qr { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 18px; align-items: center; }
.qr img { width: 120px; height: 120px; padding: 8px; background: #fff; border-radius: 4px; box-shadow: 0 0 0 1px var(--rule); }
.qr figcaption { font-size: var(--fs-small); line-height: 1.45; color: var(--ink-2); }

@media (max-width: 1023px), (hover: none) { .qr { display: none; } }
@media (max-width: 1023px) {
  .book__main, .book__side { grid-column: 1 / -1; }
  .book__side { margin-top: 36px; }
}
@media (max-width: 699px) {
  .book .wrap { width: min(100% - 16px, var(--max)); }
  .book__card { padding: 24px 20px 28px; }
  .steps { grid-template-columns: 1fr; gap: 0; }
  .steps li { display: grid; grid-template-columns: 2.5rem minmax(0, 1fr); padding: 14px 0; }
  .steps__n { font-size: 1.875rem; margin: 0; }
  .book__actions { gap: 14px; }
  .book__actions .btn { width: 100%; }
  .badges { width: 100%; }
  .badge img { height: 46px; }
  .facts div { grid-template-columns: 1fr; gap: 2px; }
}

/* ==========================================================================
   Sections (shared)
   ========================================================================== */
.sec { padding-block: var(--sec-y); scroll-margin-top: calc(var(--hdr) - 1px); }
.sec--paper { background: var(--paper); color: var(--ink); }
.sec--greige { background: var(--greige); color: var(--ink); }
.sec--night { background: var(--night); color: var(--cream); }
#studio { padding-top: 0; }

/* ---------- 3 · Studio ----------
   The "4" band (motion.css) carries the words; this row is all photographs:
   two tall portraits, the second stepped down, beside the large arch in golden light. */
.studio { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); align-items: start; }
.studio__main { grid-column: 7 / span 6; grid-row: 1; }
.studio__main .fig__frame { aspect-ratio: 4 / 5; }
.studio__pair { grid-column: 1 / span 6; grid-row: 1; display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap); align-items: start; }
.studio__pair .fig__frame { aspect-ratio: 9 / 16; }
.studio__pair .fig:last-child { margin-top: clamp(72px, 13vw, 200px); }
.studio__pair .fig:last-child img { object-position: 30% 30%; }
@media (max-width: 1023px) {
  .studio__main, .studio__pair { grid-column: 1 / -1; grid-row: auto; }
  .studio { row-gap: 44px; }
  .studio__pair .fig:last-child { margin-top: 64px; }
}

/* ---------- 4 · Trening (night) ---------- */
.train { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); align-items: center; }
.train__text { grid-column: 1 / span 6; }
.train__text .lead { margin-top: clamp(20px, 2.4vw, 32px); }
.train__text > p:last-child { margin-top: 18px; color: var(--cream-2); max-width: 32em; }
.train__h3 { margin-top: clamp(36px, 4vw, 56px); font-size: var(--fs-label); font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--cream-2); }
.levels { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); margin-top: 14px; }
.levels li { border-top: 1px solid var(--rule-night); padding-top: 12px; display: flex; align-items: baseline; gap: 12px; font-size: 1.125rem; font-weight: 500; }
.levels__n { font-family: var(--f-display); font-size: 2.25rem; line-height: 1; color: var(--cream-2); }
.train__film { grid-column: 8 / span 5; justify-self: end; width: min(100%, 380px); }
.film { position: relative; aspect-ratio: 9 / 16; background: var(--night-2); border-radius: 2px; overflow: hidden; max-height: 76svh; margin-inline: auto; }
.film__v { width: 100%; height: 100%; object-fit: cover; }
.film__btn {
  position: absolute; right: 12px; bottom: 12px; display: inline-flex; align-items: center; gap: 8px;
  min-height: 44px; padding: 0 16px 0 12px; border-radius: 999px;
  background: rgb(23 20 18 / .86); color: var(--cream); font-size: .9375rem; font-weight: 500;
  box-shadow: 0 0 0 1px rgb(247 233 207 / .22); transition: background-color .2s var(--ease);
}
.film__btn:hover { background: var(--ink); }
.film__btn .ic { width: 18px; height: 18px; }
.film__btn .ic--play { display: none; }
.film__btn.is-paused .ic--play { display: block; }
.film__btn.is-paused .ic--pause { display: none; }
.film__btn:focus-visible { outline-color: var(--cream); }
@media (max-width: 1023px) {
  .train__text, .train__film { grid-column: 1 / -1; }
  .train__film { justify-self: center; width: min(100%, 360px); margin-top: 48px; }
}
@media (max-width: 699px) {
  .levels li { flex-direction: column; gap: 6px; font-size: 1.0625rem; }
  .train__film { width: min(86%, 340px); }
}

/* ---------- 5 · Cjenik ---------- */
.price { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); row-gap: 40px; align-items: start; }
.price__intro { grid-column: 1 / span 5; grid-row: 1; }
.price__intro .lead { margin-top: clamp(20px, 2.4vw, 32px); max-width: 24em; }
.price__fig { grid-column: 1 / span 3; grid-row: 2; }
.pcard {
  grid-column: 7 / span 6; grid-row: 1 / span 2; justify-self: end; width: min(100%, 600px);
  background: var(--cream); color: var(--ink); border: 1px solid rgb(23 20 18 / .12);
  border-radius: 999px 999px 4px 4px; padding: 0 clamp(22px, 3.4vw, 52px) clamp(26px, 3.2vw, 48px);
  box-shadow: 0 40px 80px -56px rgb(23 20 18 / .55);
}
.pcard__head { text-align: center; padding: clamp(84px, 9vw, 132px) 0 clamp(24px, 2.6vw, 36px); }
.pcard__kicker { font-size: var(--fs-label); font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-2); }
.pcard__title { margin-top: 8px; font-family: var(--f-display); font-size: clamp(2.5rem, 1.7rem + 2.4vw, 3.75rem); line-height: 1.05; letter-spacing: .14em; text-transform: uppercase; margin-right: -.14em; }
.prices { border-bottom: 1px solid var(--rule); }
.prow { padding: 20px 0 18px; border-top: 1px solid var(--rule); }
.prow__main { display: flex; align-items: baseline; gap: 12px; }
.prow__name { font-size: 1.1875rem; font-weight: 550; line-height: 1.3; }
.prow__lead { flex: 1; min-width: 20px; border-bottom: 1.5px dotted rgb(23 20 18 / .4); transform: translateY(-.3em); }
.prow__val { margin-left: auto; font-family: var(--f-display); font-size: clamp(1.875rem, 1.5rem + 1vw, 2.375rem); line-height: 1; white-space: nowrap; font-variant-numeric: lining-nums; }
.prow__val s { font-size: .55em; color: var(--ink-2); margin-right: 6px; vertical-align: .18em; text-decoration-thickness: 1.5px; }
.prow__sub { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 6px; font-size: 1rem; color: var(--ink-2); }
.tag { flex: none; padding: 4px 11px 3px; border-radius: 999px; background: var(--blush); color: var(--ink); font-size: var(--fs-label); font-weight: 600; letter-spacing: .06em; line-height: 1.4; }
.pcard__note { margin: 20px 0 22px; font-size: 1rem; color: var(--ink-2); }
@media (max-width: 1023px) {
  .price__intro { grid-column: 1 / -1; }
  .pcard { grid-column: 1 / -1; grid-row: auto; justify-self: center; }
  .price__fig { grid-column: 1 / span 6; grid-row: auto; }
}
@media (max-width: 699px) {
  .pcard__head { padding-top: 72px; }
  .prow__name { font-size: 1.0625rem; }
  .prow__main { flex-wrap: wrap; }
  .price__fig { grid-column: 1 / span 9; }
}

/* ---------- 6 · Iz studija: "Zrcalni zid" ----------
   A row of arched mirrors (night). They light up one after another when the wall comes
   into view (the lights-on moment of the studio's own reel). On desktop the active arch
   widens and plays a silent teaser; on phones the strip swipes and the centred arch plays.
   Every arch opens the story viewer. Without JS the arches are plain links, already lit. */
.sec--wall { padding-bottom: calc(var(--sec-y) * 1.05); }
.iz__head { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); align-items: end; }
.iz__head .h2 { grid-column: 1 / span 7; }
.iz__aside { grid-column: 9 / span 4; display: grid; gap: 22px; justify-items: start; padding-bottom: 6px; }
.iz__hint { font-size: 1.0625rem; line-height: 1.5; color: var(--cream-2); max-width: 24em; }
.iz__how { color: var(--cream); }
.iz__links { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 1023px) {
  .iz__head .h2, .iz__aside { grid-column: 1 / -1; }
  .iz__aside { margin-top: 24px; }
}

.wall { position: relative; width: min(100% - 2 * var(--pad), var(--max)); margin: clamp(48px, 5.5vw, 80px) auto 0; }
.wall__track { position: relative; display: flex; gap: clamp(10px, 1.1vw, 16px); height: clamp(480px, 44vw, 640px); }
.wall__item { position: relative; flex: 1 1 0; min-width: 0; transition: flex-grow .9s cubic-bezier(.7, 0, .2, 1); }
.wall__item.is-active { flex-grow: 3.4; }
.wall__item::before {   /* the LED halo behind a lit mirror */
  content: ""; position: absolute; inset: -22px -22px 0; z-index: 0; pointer-events: none; border-radius: 999px 999px 0 0;
  background: radial-gradient(58% 46% at 50% 38%, rgb(247 233 207 / .15), rgb(247 233 207 / 0) 72%);
  opacity: 0; transition: opacity 1s var(--ease);
}
.wall__item.is-active::before { opacity: 1; }
.wall__arch {
  position: relative; z-index: 1; display: block; height: 100%; overflow: hidden; isolation: isolate;
  border-radius: 999px 999px 3px 3px; background: var(--night-2); color: var(--cream); text-decoration: none;
}
.wall__arch:focus-visible { outline: 2px solid var(--cream); outline-offset: 6px; }
.wall__arch picture, .wall__arch img, .wall__v { position: absolute; inset: 0; width: 100%; height: 100%; }
.wall__arch img, .wall__v { object-fit: cover; }
.wall__arch img { filter: brightness(.7) saturate(.92); transition: filter 1.2s var(--ease), transform 7s linear; }
.wall__item.is-active .wall__arch img { filter: none; transform: scale(1.05); }
.js .wall:not(.is-lit) .wall__arch img { filter: brightness(.2) saturate(.6); }
.js .wall.is-lit .wall__arch img { transition-delay: calc(var(--i) * 140ms + 120ms), 0s; }
.js .wall.is-lit .wall__item.is-active .wall__arch img { transition-delay: 0s, 0s; }
.wall__v { z-index: 1; opacity: 0; transition: opacity .6s var(--ease); pointer-events: none; }
.wall__item.is-playing .wall__v { opacity: 1; }
.wall__arch::after {   /* the lit rim */
  content: ""; position: absolute; inset: 0; z-index: 3; pointer-events: none; border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgb(247 233 207 / .6), inset 0 0 34px rgb(247 233 207 / .22);
}
.js .wall:not(.is-lit) .wall__arch::after { opacity: 0; }
.js .wall.is-lit .wall__arch::after { animation: led-on 1.3s linear calc(var(--i) * 140ms) both; }
@keyframes led-on {
  0% { opacity: 0; } 10% { opacity: .9; } 18% { opacity: .1; } 30% { opacity: .75; } 38% { opacity: .25; } 55%, 100% { opacity: 1; }
}
.wall__n {
  position: absolute; left: 50%; bottom: 24px; z-index: 4; transform: translateX(-50%);
  font-family: var(--f-display-i); font-style: italic; font-size: 1.625rem; line-height: 1; color: var(--cream);
  text-shadow: 0 1px 12px rgb(23 20 18 / .8); transition: opacity .45s var(--ease);
}
.wall__item.is-active .wall__n { opacity: 0; }
.wall__cap {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 4; display: grid; gap: 6px;
  padding: 110px 26px 24px; background: linear-gradient(180deg, rgb(23 20 18 / 0), rgb(23 20 18 / .86) 62%);
  opacity: 0; transform: translateY(12px); transition: opacity .45s var(--ease), transform .6s var(--ease);
}
.wall__item.is-active .wall__cap { opacity: 1; transform: none; transition-delay: .3s; }
.wall__k { font-size: var(--fs-label); font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--cream-2); }
.wall__t { font-family: var(--f-display); font-size: clamp(1.5rem, 1.05rem + 1vw, 2.25rem); line-height: 1.1; padding-right: 56px; }
.wall__play {
  position: absolute; right: 22px; bottom: 26px; z-index: 5; display: grid; place-items: center; width: 46px; height: 46px;
  border-radius: 50%; background: var(--cream); color: var(--ink);
  opacity: 0; transform: scale(.7); transition: opacity .4s var(--ease), transform .5s var(--ease);
}
.wall__item.is-active .wall__play { opacity: 1; transform: none; transition-delay: .35s; }
.wall__play .ic { width: 16px; height: 16px; margin-left: 2px; }
.wall__meter { display: none; }

@media (max-width: 1023px) {
  .wall { width: 100%; }
  .wall__track {
    height: auto; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none;
    gap: 14px; padding: 26px var(--pad) 10px; scroll-padding-inline: var(--pad);
  }
  .wall__track::-webkit-scrollbar { display: none; }
  .wall__item, .wall__item.is-active { flex: 0 0 min(70vw, 340px); scroll-snap-align: center; }
  .wall__arch { height: auto; aspect-ratio: 9 / 16; }
  .wall__cap { opacity: 1; transform: none; padding: 90px 18px 20px; }
  .wall__t { font-size: 1.5rem; }
  .wall__n { display: none; }
  .wall__play { opacity: 1; transform: none; right: 16px; bottom: 22px; width: 42px; height: 42px; }
  .wall__meter {
    display: flex; align-items: center; gap: 14px; width: min(100% - 2 * var(--pad), var(--max)); margin: 18px auto 0;
    font-size: var(--fs-label); font-weight: 500; letter-spacing: .12em; color: var(--cream-2); font-variant-numeric: tabular-nums;
  }
  .wall__idx { color: var(--cream); }
  .wall__bar { position: relative; flex: 1; height: 1px; background: var(--rule-night); overflow: hidden; }
  .wall__bar i { position: absolute; inset: 0; background: var(--cream); transform-origin: 0 50%; transform: scaleX(var(--p, .1667)); transition: transform .45s var(--ease); }
}

/* ---------- Story viewer (dialog) ---------- */
html:has(.story[open]), html:has(.menu[open]) { overflow: hidden; }
.story {
  position: fixed; inset: 0; width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; padding: 0;
  border: 0; background: rgb(12 10 9 / .95); color: var(--cream); overflow: hidden;
}
.story[open] { display: grid; place-items: center; }
.story::backdrop { background: rgb(12 10 9 / .7); }
.story__frame { position: relative; width: 100%; height: 100%; overflow: hidden; background: #0c0a09; }
@media (min-width: 700px) {
  .story__frame { width: auto; height: min(90svh, 900px); aspect-ratio: 9 / 16; border-radius: 14px; box-shadow: 0 40px 100px rgb(0 0 0 / .55); }
}
.story__media, .story__media > * { position: absolute; inset: 0; width: 100%; height: 100%; }
.story__media img, .story__media video { width: 100%; height: 100%; object-fit: cover; }
.story__shade { position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(180deg, rgb(0 0 0 / .6) 0, rgb(0 0 0 / 0) 24%, rgb(0 0 0 / 0) 60%, rgb(0 0 0 / .78) 100%); }
.story__bars { position: absolute; z-index: 3; left: 12px; right: 12px; top: calc(12px + env(safe-area-inset-top)); display: flex; gap: 4px; }
.story__bars span { flex: 1; height: 3px; border-radius: 3px; background: rgb(247 233 207 / .34); overflow: hidden; }
.story__bars i { display: block; height: 100%; background: var(--cream); transform-origin: 0 50%; transform: scaleX(var(--p, 0)); }
.story__head { position: absolute; z-index: 4; left: 18px; right: 8px; top: calc(26px + env(safe-area-inset-top)); display: flex; align-items: center; gap: 2px; }
.story__meta { flex: 1; min-width: 0; display: grid; gap: 3px; }
.story__k { font-size: .75rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--cream-2); }
.story__t { font-family: var(--f-display); font-size: 1.5rem; line-height: 1.15; }
.story__btn { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; color: var(--cream); transition: background-color .2s var(--ease); }
.story__btn:hover { background: rgb(247 233 207 / .14); }
.story__btn .ic { width: 22px; height: 22px; }
.story__btn .ic--play, .story.is-paused .story__btn .ic--pause { display: none; }
.story.is-paused .story__btn .ic--play { display: block; }
.story__tap { position: absolute; z-index: 2; top: 96px; bottom: 112px; -webkit-tap-highlight-color: transparent; cursor: pointer; }
.story__tap--prev { left: 0; width: 34%; }
.story__tap--next { right: 0; width: 66%; }
.story__tap:focus-visible { outline: 2px solid var(--cream); outline-offset: -8px; border-radius: 8px; }
.story__foot {
  position: absolute; z-index: 4; left: 16px; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom));
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 14px;
}
.story__src { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; font-size: .9375rem; font-weight: 500; color: var(--cream); text-underline-offset: 4px; }
.story__cta { min-height: 48px; padding-inline: 22px; font-size: 1rem; }
.story :focus-visible { outline-color: var(--cream); }
.story__arrow { display: none; }
@media (min-width: 700px) and (hover: hover) {
  .story__arrow {
    position: absolute; top: 50%; display: grid; place-items: center; width: 56px; height: 56px; margin-top: -28px;
    border-radius: 50%; border: 1.5px solid rgb(247 233 207 / .45); color: var(--cream); transition: background-color .2s var(--ease);
  }
  .story__arrow:hover { background: rgb(247 233 207 / .14); }
  .story__arrow--prev { left: calc(50% - min(90svh, 900px) * 9 / 32 - 92px); }
  .story__arrow--next { right: calc(50% - min(90svh, 900px) * 9 / 32 - 92px); }
  .story__arrow .ic { width: 24px; height: 24px; }
  .story__arrow--prev .ic { transform: rotate(-135deg); }
  .story__arrow--next .ic { transform: rotate(45deg); }
}

/* ---------- 7 · Pitanja ---------- */
.faq { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); row-gap: 36px; align-items: start; }
.faq__head { grid-column: 1 / span 4; }
.faq__head p { margin-top: 22px; color: var(--ink-2); max-width: 22em; }
.faq__head a { color: var(--ink); font-weight: 500; text-underline-offset: 3px; overflow-wrap: anywhere; }
.faq__list { grid-column: 6 / span 7; border-bottom: 1px solid var(--rule); }
.faq details { border-top: 1px solid var(--rule); }
.faq summary {
  position: relative; display: block; cursor: pointer; list-style: none;
  padding: 20px 52px 20px 0; min-height: 44px; font-size: 1.1875rem; font-weight: 500; line-height: 1.4;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before, .faq summary::after {
  content: ""; position: absolute; right: 8px; top: 50%; width: 16px; height: 1.5px; background: currentColor;
  transition: transform .2s var(--ease);
}
.faq summary::after { transform: rotate(90deg); }
.faq details[open] summary::after { transform: rotate(0deg); }
.faq summary:hover { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.faq details p { padding: 0 52px 24px 0; color: var(--ink-2); max-width: 38em; }
@media (max-width: 1023px) { .faq__head, .faq__list { grid-column: 1 / -1; } }

/* ---------- 8 · Dolazak i kontakt (night) ---------- */
.visit { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); row-gap: 40px; align-items: start; }
.visit__fig { grid-column: 1 / span 5; }
.visit__info { grid-column: 7 / span 6; }
.vlist { margin-top: clamp(28px, 3vw, 40px); border-top: 1px solid var(--rule-night); }
.vlist div { display: grid; grid-template-columns: 8.5rem minmax(0, 1fr); gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--rule-night); align-items: baseline; }
.vlist dt { font-size: var(--fs-label); font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--cream-2); }
.vlist dd { font-size: 1.0625rem; line-height: 1.5; }
.vlist a { text-underline-offset: 3px; overflow-wrap: anywhere; }
.vlist__social { display: flex; flex-wrap: wrap; gap: 4px 20px; }
.vlist__social a { display: inline-flex; align-items: center; min-height: 32px; }
.visit__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
@media (max-width: 1023px) {
  .visit__fig { grid-column: 1 / span 8; grid-row: 2; }
  .visit__info { grid-column: 1 / -1; grid-row: 1; }
}
@media (max-width: 699px) {
  .visit__fig { grid-column: 1 / -1; }
  .vlist div { grid-template-columns: 1fr; gap: 2px; }
  .visit__actions .btn { width: 100%; }
}

/* ---------- Footer (night) ---------- */
.foot { background: var(--night); color: var(--cream); padding: 0 0 28px; }
.foot .wrap { border-top: 1px solid var(--rule-night); padding-top: clamp(48px, 6vw, 80px); }
.foot__top { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 16px 40px; }
.foot__logo { display: block; }
.foot__logo .wm { height: clamp(40px, 5vw, 64px); width: auto; }
.foot__slogan { font-family: var(--f-display-i); font-style: italic; font-size: 1.75rem; line-height: 1.2; color: var(--cream-2); }
.foot__cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px var(--gap); margin-top: clamp(40px, 5vw, 64px); font-size: 1rem; line-height: 1.6; }
.foot__cols p + p { margin-top: 10px; }
.foot__k { margin-bottom: 10px; font-size: var(--fs-label); font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--cream-2); }
.foot__cols a { display: inline-flex; align-items: center; min-height: 32px; text-decoration: none; overflow-wrap: anywhere; }
.foot__cols a:hover { text-decoration: underline; text-underline-offset: 3px; }
.foot__base { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 24px; margin-top: clamp(40px, 5vw, 64px); padding-top: 18px; border-top: 1px solid var(--rule-night); font-size: var(--fs-small); color: var(--cream-2); }
.foot__top-link { display: inline-flex; align-items: center; min-height: 44px; color: var(--cream); font-weight: 500; }
@media (max-width: 699px) {
  .foot__cols { grid-template-columns: 1fr; }
  .foot__slogan { font-size: 1.75rem; }
}


/* ---------- Touch: every stand-alone link gets a 44 px target ---------- */
@media (pointer: coarse) {
  .foot__cols a, .vlist__social a, .vlist dd a, .menu__foot a:not(.btn) { min-height: 44px; display: inline-flex; align-items: center; }
}

/* ---------- Focus colours on dark grounds ---------- */
.hero :focus-visible, .sec--night :focus-visible, .foot :focus-visible { outline-color: var(--cream); }

/* ---------- Calm reveal (only for blocks that start below the first screen) ---------- */
.io .reveal:not(.is-in) { opacity: 0; transform: translateY(16px); }
.io .reveal { transition: opacity .6s var(--ease), transform .6s var(--ease); }
@media print {
  .io .reveal:not(.is-in) { opacity: 1; transform: none; }
  .hdr, .film__btn { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .io .reveal:not(.is-in) { opacity: 1; transform: none; }
  *, *::before, *::after { transition-duration: .001ms !important; animation-duration: .001ms !important; }
}

/* ---------- Sub page (privatnost) ---------- */
.page { min-height: 100svh; display: flex; flex-direction: column; }
.page .hdr { position: sticky; background: var(--paper); color: var(--ink); box-shadow: 0 1px 0 var(--rule); }
.page .hdr__cta { background: var(--ink); color: var(--cream); }
.page main { flex: 1; }
.doc { padding-block: clamp(48px, 7vw, 104px); }
.doc__in { max-width: 44em; }
.doc h1 { font-family: var(--f-display); font-size: var(--fs-h2); line-height: 1.06; letter-spacing: -.015em; text-wrap: balance; }
.doc .lead { margin-top: 20px; }
.doc h2 { margin-top: 44px; font-size: 1.25rem; font-weight: 550; line-height: 1.35; }
.doc p, .doc li { margin-top: 12px; color: var(--ink-2); }
.doc ul { padding-left: 1.2em; list-style: disc; }
.doc a { color: var(--ink); text-underline-offset: 3px; overflow-wrap: anywhere; }
.doc .meta { margin-top: 44px; font-size: var(--fs-small); }
