/* ==========================================================================
   Alkimija srca – Mistika (svetla, ametist) · Playfair Display + Mulish
   ========================================================================== */

/* ---------- Barve ---------- */
:root {
  --bg: #F6F0F4;
  --surface: #FFFBFD;
  --surface-2: #F1E6F0;
  --accent: #7B4C9C;
  --accent-2: #C2876F;
  --text: #2A1D33;
  --muted: #625568;
  --star: #9C7BC4;
  --tint: #E2CBF0;
}

:root {
  --line: color-mix(in srgb, var(--accent) 26%, transparent);
  --line-soft: color-mix(in srgb, var(--text) 11%, transparent);
  --glass: color-mix(in srgb, var(--surface) 78%, transparent);
  --serif: "Playfair Display", "Iowan Old Style", Georgia, serif;
  --sans: "Mulish", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  /* merilo naslovov in besedila za Playfair + Mulish */
  --hs: .78; --hl: 1.08; --bs: 1.02;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --header-h: 78px;
  --gutter: clamp(16px, 4.5vw, 48px);
  --section: clamp(90px, 12vw, 170px);
  --radius: 22px;
  color-scheme: light;
}

/* ---------- Osnova ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 8px); interpolate-size: allow-keywords; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: clamp(1rem, .97rem + .2vw, 1.075rem);
  font-weight: 350;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  font-variant-numeric: lining-nums;
  overflow-x: clip;
  transition: background-color .8s ease, color .6s ease;
}
img, picture, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-underline-offset: .22em; text-decoration-thickness: 1px; }
h1, h2, h3 { margin: 0; font-family: var(--serif); font-weight: 300; line-height: 1.02; letter-spacing: -.01em; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
strong { font-weight: 500; color: var(--text); }
::selection { background: var(--accent); color: var(--bg); }
:focus-visible { outline: 1.5px solid var(--accent); outline-offset: 4px; border-radius: 6px; }
.container { width: 100%; max-width: 1240px; margin-inline: auto; padding-inline: var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: fixed; left: 16px; top: -60px; z-index: 100; padding: 10px 16px; background: var(--accent); color: var(--bg); border-radius: 10px; }
.skip-link:focus { top: 12px; }

/* ---------- Ozadje: zvezde in zrnatost ---------- */
.stars { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }
.grain {
  position: fixed; inset: 0; z-index: 3; pointer-events: none; opacity: .07; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
main, .site-footer { position: relative; z-index: 1; }
html { overflow-x: clip; }
.hero, .services, .gallery, .steps-section { overflow-x: clip; }

/* ---------- Tipografija ---------- */
.label { display: inline-flex; align-items: center; gap: 12px; margin-bottom: 22px; font-size: .74rem; font-weight: 500; letter-spacing: .32em; text-transform: uppercase; color: var(--accent); }
.label svg { width: 12px; height: 12px; animation: twinkle 3.4s ease-in-out infinite; }
.section-head .label::before, .section-head .label::after, .about-copy .label::before, .approach-head .label::before, .contact-copy .label::before, .faq .label::before { content: ""; width: 26px; height: 1px; background: currentColor; opacity: .6; }
.section-head .label::after { display: none; }
.center .label::after { display: block; }
.h2 { font-size: clamp(2.5rem, 1.5rem + 4vw, 4.8rem); font-weight: 300; color: var(--text); }
.h2 em { font-style: italic; color: var(--accent); }
.section-lead { margin-top: 24px; max-width: 36em; color: var(--muted); font-size: clamp(1.02rem, 1rem + .25vw, 1.15rem); }
.section-head { margin-bottom: clamp(52px, 7vw, 90px); }
.section-head.center { text-align: center; margin-inline: auto; max-width: 760px; }
.section-head.center .section-lead { margin-inline: auto; }

/* ---------- Gumbi ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .65em;
  min-height: 52px; padding: .85em 1.7em; border-radius: 999px; border: 1px solid transparent;
  font: 500 .82rem/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; text-decoration: none;
  cursor: pointer; overflow: hidden; isolation: isolate;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), background-color .3s, color .3s, border-color .3s;
}
.btn svg { width: 17px; height: 17px; transition: transform .5s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn:hover { transform: translateY(-2px); }
.btn-gold { background: var(--accent); color: var(--bg); box-shadow: 0 0 0 0 color-mix(in srgb, var(--accent) 50%, transparent); }
.btn-gold:hover { box-shadow: 0 0 36px -4px color-mix(in srgb, var(--accent) 65%, transparent); }
.btn-gold::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(110deg, transparent 30%, rgb(255 255 255 / .45) 50%, transparent 70%); translate: -120% 0; transition: translate .9s var(--ease); }
.btn-gold:hover::after { translate: 120% 0; }
.btn-line { color: var(--text); border-color: var(--line); background: color-mix(in srgb, var(--surface) 40%, transparent); }
.btn-line:hover { border-color: var(--accent); color: var(--accent); }

/* ---------- Glava ---------- */
.site-header { position: fixed; inset: 0 0 auto; z-index: 50; height: var(--header-h); transition: transform .6s var(--ease), background-color .5s, box-shadow .5s; }
.site-header.is-scrolled { background: color-mix(in srgb, var(--bg) 72%, transparent); -webkit-backdrop-filter: blur(18px) saturate(1.3); backdrop-filter: blur(18px) saturate(1.3); box-shadow: 0 1px 0 var(--line-soft); }
.site-header.is-hidden { transform: translateY(-100%); }
html.menu-open { overflow: hidden; }
.header-inner { height: 100%; display: flex; align-items: center; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--text); flex-shrink: 0; position: relative; z-index: 2; }
.brand-mark { width: 34px; height: 34px; color: var(--accent); transition: transform 1s var(--ease); filter: drop-shadow(0 0 10px color-mix(in srgb, var(--accent) 45%, transparent)); }
.brand:hover .brand-mark { transform: rotate(180deg); }
.brand-name { font-family: var(--serif); font-size: 1.55rem; font-weight: 400; line-height: 1; }
.brand-name em { color: var(--accent); }
.nav { margin-left: auto; }
.nav-list { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; }
.nav-list a { display: block; padding: 10px 14px; font-size: .78rem; font-weight: 450; letter-spacing: .16em; text-transform: uppercase; text-decoration: none; color: var(--muted); transition: color .3s; }
.nav-list a:hover, .nav-list a[aria-current="true"], .nav-list a[aria-current="page"] { color: var(--accent); }
.nav-mobile-only { display: none; }
.header-cta { min-height: 44px; padding: .7em 1.3em; font-size: .72rem; }
.menu-toggle { display: none; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; padding: calc(var(--header-h) + 40px) 0 110px; }
.hero::before { content: ""; position: absolute; inset: 0; pointer-events: none; background:
  radial-gradient(45% 55% at 78% 45%, color-mix(in srgb, var(--tint) 45%, transparent), transparent 70%),
  radial-gradient(35% 40% at 10% 85%, color-mix(in srgb, var(--accent-2) 14%, transparent), transparent 70%); }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: clamp(40px, 6vw, 90px); }
.hero-title { font-size: clamp(3.6rem, 1.8rem + 7.6vw, 9rem); font-weight: 300; line-height: .9; letter-spacing: -.025em; }
.hero-title > * { display: block; }
.hero-title em { font-style: italic; color: var(--accent); padding-left: .35em; text-shadow: 0 0 40px color-mix(in srgb, var(--accent) 35%, transparent); }
.hero-lead { margin-top: 32px; max-width: 34em; color: var(--muted); font-size: clamp(1.02rem, 1rem + .25vw, 1.15rem); }
.hero-lead strong { display: block; margin-bottom: .5em; font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 1.35em; line-height: 1.25; color: var(--text); }
.hero-facts { margin-top: 44px; }
.hero-facts strong { font-size: 1.45rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 40px; }

.portal { position: relative; justify-self: center; width: min(470px, 84vw); aspect-ratio: 1; }
.portal-glow { position: absolute; inset: 10%; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--accent) 38%, transparent), transparent 68%); filter: blur(30px); animation: breathe 7s ease-in-out infinite; }
.portal-ring { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; will-change: transform; }
.ring-thin { fill: none; stroke: var(--line); stroke-width: 1; }
.ring-dash { stroke-dasharray: 2 9; stroke: color-mix(in srgb, var(--accent) 55%, transparent); }
.ring-text { fill: var(--accent); font-family: var(--sans); font-size: 15px; font-weight: 400; letter-spacing: .25em; text-transform: uppercase; }
.ring-dot { fill: var(--accent); filter: drop-shadow(0 0 6px var(--accent)); }
.portal-photo { position: absolute; inset: 15%; border-radius: 50%; overflow: hidden; box-shadow: 0 0 0 1px var(--line), 0 0 80px -10px color-mix(in srgb, var(--accent) 45%, transparent); isolation: isolate; }
.portal-photo picture { height: 100%; }
.portal-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; transform: scale(1.12); transition: transform 2s var(--ease); }
.portal:hover .portal-photo img { transform: scale(1.18); }
.portal-photo::after, .g::after, .about-photo-inner::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, transparent 50%, color-mix(in srgb, var(--bg) 60%, transparent)), color-mix(in srgb, var(--tint) 10%, transparent); }
.portal-photo::before, .g::before, .about-photo-inner::before { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: var(--tint); mix-blend-mode: soft-light; opacity: .45; }
.portal-sign { position: absolute; left: 50%; bottom: 1%; translate: -50% 0; white-space: nowrap; font-family: var(--serif); font-style: italic; font-size: 1.35rem; color: var(--text); padding: 6px 18px; border-radius: 999px; background: var(--glass); border: 1px solid var(--line-soft); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.scroll-hint { position: absolute; left: 50%; bottom: 28px; translate: -50% 0; display: grid; justify-items: center; gap: 10px; font-size: .66rem; letter-spacing: .3em; text-transform: uppercase; color: var(--muted); text-decoration: none; }
.scroll-hint i { width: 1px; height: 42px; background: linear-gradient(var(--accent), transparent); transform-origin: top; animation: drip 2.4s var(--ease) infinite; }

/* Nalaganje */
.js .load-in { opacity: 0; translate: 0 26px; filter: blur(10px); animation: load-in 1.6s var(--ease) var(--d, 0s) forwards; }
@keyframes load-in { to { opacity: 1; translate: 0 0; filter: blur(0); } }
@keyframes twinkle { 0%, 100% { opacity: 1; transform: scale(1) rotate(0); } 50% { opacity: .5; transform: scale(.7) rotate(45deg); } }
@keyframes breathe { 0%, 100% { opacity: .75; transform: scale(.96); } 50% { opacity: 1; transform: scale(1.06); } }
@keyframes drip { 0% { transform: scaleY(0); opacity: 1; } 70% { transform: scaleY(1); opacity: 1; } 100% { transform: scaleY(1); opacity: 0; } }

/* ---------- Lunine mene ---------- */
.moons { position: relative; z-index: 1; display: flex; align-items: center; justify-content: center; gap: clamp(10px, 2vw, 22px); padding: 30px var(--gutter); }
.moon-line { flex: 1 1 0; max-width: 260px; height: 1px; background: linear-gradient(90deg, transparent, var(--line)); transform: scaleX(0); transform-origin: right; transition: transform 1.6s var(--ease); }
.moon-line:last-child { background: linear-gradient(90deg, var(--line), transparent); transform-origin: left; }
.moon { width: 14px; height: 14px; flex-shrink: 0; border-radius: 50%; border: 1px solid color-mix(in srgb, var(--accent) 70%, transparent); opacity: 0; scale: .4; transition: opacity .8s ease, scale .8s var(--ease); }
.m0 { border-color: color-mix(in srgb, var(--accent) 40%, transparent); }
.m1 { box-shadow: inset 3px 0 0 var(--accent); }
.m2 { box-shadow: inset 6px 0 0 var(--accent); }
.m3 { box-shadow: inset 9px 0 0 var(--accent); }
.m4 { background: var(--accent); box-shadow: 0 0 14px color-mix(in srgb, var(--accent) 70%, transparent); width: 18px; height: 18px; }
.m5 { box-shadow: inset -9px 0 0 var(--accent); }
.m6 { box-shadow: inset -4px 0 0 var(--accent); }
.moons.is-in .moon-line { transform: scaleX(1); }
.moons.is-in .moon { opacity: 1; scale: 1; }
.moons.is-in .moon:nth-of-type(2) { transition-delay: .1s; } .moons.is-in .moon:nth-of-type(3) { transition-delay: .2s; }
.moons.is-in .moon:nth-of-type(4) { transition-delay: .3s; } .moons.is-in .moon:nth-of-type(5) { transition-delay: .4s; }
.moons.is-in .moon:nth-of-type(6) { transition-delay: .5s; } .moons.is-in .moon:nth-of-type(7) { transition-delay: .6s; }

/* ---------- Razdelki ---------- */
.section { position: relative; padding-block: var(--section); }

/* O meni */
.about-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(44px, 7vw, 110px); align-items: center; }
.about-photo { position: relative; margin: 0; max-width: 430px; }
.draw-frame { position: absolute; inset: -18px; width: calc(100% + 36px); height: calc(100% - 20px); overflow: visible; pointer-events: none; z-index: 2; }
.draw-frame path, .when-line path, .constellation-path path { fill: none; stroke: var(--accent); stroke-width: 1; vector-effect: non-scaling-stroke; stroke-dasharray: 1; stroke-dashoffset: 1; }
.draw-frame path { transition: stroke-dashoffset 2.6s var(--ease) .3s; }
.about-photo.is-visible .draw-frame path { stroke-dashoffset: 0; }
.about-photo-inner { position: relative; aspect-ratio: 4 / 5; border-radius: 999px 999px 18px 18px; overflow: hidden; isolation: isolate; background: var(--surface); }
.about-photo-inner picture { height: 100%; }
.about-photo-inner img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 35%; }
.about-photo figcaption { margin-top: 18px; font-size: .74rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.prose { display: grid; gap: 1.1em; margin-top: 32px; color: var(--muted); max-width: 38em; }
.prose em { font-family: var(--serif); font-size: 1.15em; color: var(--accent); }
.facts { list-style: none; margin: 40px 0 0; padding: 26px 0 0; display: flex; flex-wrap: wrap; gap: 20px 44px; border-top: 1px solid var(--line-soft); }
.facts li { display: grid; }
.facts strong { font-family: var(--serif); font-size: 1.7rem; font-weight: 400; color: var(--accent); line-height: 1.1; }
.facts span { font-size: .84rem; color: var(--muted); }
.signature { margin-top: 36px; font-family: var(--serif); font-style: italic; font-size: clamp(1.7rem, 1.3rem + 1.4vw, 2.4rem); color: var(--accent); }

/* Citat */
.quote { position: relative; padding-block: clamp(110px, 16vw, 220px); text-align: center; }
.quote::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(50% 60% at 50% 50%, color-mix(in srgb, var(--tint) 35%, transparent), transparent 70%); }
.quote-star { position: relative; width: 26px; height: 26px; margin: 0 auto 34px; color: var(--accent); filter: drop-shadow(0 0 14px var(--accent)); animation: twinkle 4s ease-in-out infinite; }
.big-quote { position: relative; margin: 0 auto; max-width: 1060px; }
.big-quote p { font-family: var(--serif); font-style: italic; font-weight: 300; font-size: clamp(2.2rem, 1.2rem + 4.2vw, 5rem); line-height: 1.1; }
.big-quote .w { opacity: .16; transition: opacity .5s ease, text-shadow .8s ease, color .5s; }
.big-quote .w.on { opacity: 1; text-shadow: 0 0 28px color-mix(in srgb, var(--accent) 55%, transparent); }
.big-quote footer { margin-top: 30px; font-size: .74rem; letter-spacing: .3em; text-transform: uppercase; color: var(--accent); }

/* Storitve – tarot karte */
.deck { display: grid; grid-template-columns: repeat(6, 1fr); gap: clamp(16px, 2vw, 28px); perspective: 1400px; }
.deck .tarot { grid-column: span 2; }
.deck .tarot:nth-child(4) { grid-column: 2 / span 2; }
.deck .tarot:nth-child(5) { grid-column: 4 / span 2; }
@media (min-width: 901px) {
  .deck .tarot:nth-child(4) { --fx: 30%; --fr: -10deg; --fy: 180px; }
  .deck .tarot:nth-child(5) { --fx: -30%; --fr: 10deg; --fy: 180px; }
}
.tarot { --fx: 0%; --fy: 160px; --fr: 0deg; opacity: 0; transform: translate(var(--fx), var(--fy)) rotate(var(--fr)); transform-origin: 50% 120%; transition: transform 1.3s var(--ease), opacity .9s ease; transition-delay: calc(var(--n) * 90ms); }
.tarot:nth-child(3n + 1) { --fx: 55%; --fr: -16deg; }
.tarot:nth-child(3n + 2) { --fy: 200px; }
.tarot:nth-child(3n) { --fx: -55%; --fr: 16deg; }
.deck.is-in .tarot { opacity: 1; transform: none; }
.tarot-inner {
  --rx: 0deg; --ry: 0deg; --mx: 50%; --my: 50%;
  position: relative; height: 100%; min-height: 470px; display: flex; flex-direction: column; align-items: center; text-align: center;
  padding: 42px 30px 30px; border-radius: 18px; background:
    radial-gradient(120% 70% at 50% 0%, color-mix(in srgb, var(--tint) 35%, transparent), transparent 70%),
    linear-gradient(180deg, var(--surface-2), var(--surface));
  border: 1px solid var(--line);
  transform: perspective(900px) rotateX(var(--rx)) rotateY(var(--ry));
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .4s;
  transform-style: preserve-3d; overflow: hidden;
}
.tarot-inner::before { content: ""; position: absolute; inset: 9px; border: 1px solid color-mix(in srgb, var(--accent) 22%, transparent); border-radius: 12px; pointer-events: none; }
.tarot-inner::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(260px circle at var(--mx) var(--my), color-mix(in srgb, var(--accent) 20%, transparent), transparent 65%); opacity: 0; transition: opacity .4s; }
.tarot:hover .tarot-inner { border-color: var(--accent); box-shadow: 0 30px 70px -30px rgb(0 0 0 / .7), 0 0 40px -10px color-mix(in srgb, var(--accent) 40%, transparent); }
.tarot:hover .tarot-inner::after { opacity: 1; }
.numeral { font-family: var(--serif); font-size: 1.5rem; font-weight: 400; letter-spacing: .18em; color: var(--accent); }
.tarot-icon { width: 70px; height: 70px; margin: 24px 0 20px; fill: none; stroke: var(--accent); stroke-width: 1.1; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 0 10px color-mix(in srgb, var(--accent) 45%, transparent)); transition: transform 1.2s var(--ease); }
.tarot:hover .tarot-icon { transform: rotate(-8deg) scale(1.06); }
.tarot h3 { font-size: clamp(1.65rem, 1.3rem + .9vw, 2.15rem); font-weight: 400; line-height: 1.05; margin-bottom: 14px; text-wrap: balance; }
.tarot p { color: var(--muted); font-size: .97rem; }
.tarot-foot { margin-top: auto; padding-top: 22px; font-size: .68rem; letter-spacing: .28em; text-transform: uppercase; color: var(--accent); }

.extras { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 40px); margin-top: clamp(56px, 7vw, 90px); }
.extra { padding-top: 24px; border-top: 1px solid var(--line); }
.extra h3 { font-size: 1.55rem; font-weight: 400; margin-bottom: 10px; }
.extra p { color: var(--muted); font-size: .96rem; }
.extra a { color: var(--accent); }

/* Pristop */
.approach-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(44px, 7vw, 120px); align-items: start; }
.approach-head { position: sticky; top: calc(var(--header-h) + 40px); }
.approach-head .section-lead { margin-bottom: 36px; }
.when { position: relative; padding-left: 36px; }
.when-line { position: absolute; left: 0; top: 0; width: 2px; height: 100%; overflow: visible; }
.when-list { list-style: none; margin: 0; padding: 0; }
.when-list li { position: relative; padding: 20px 0; border-bottom: 1px solid var(--line-soft); font-family: var(--serif); font-size: clamp(1.3rem, 1.05rem + .9vw, 1.75rem); font-weight: 300; line-height: 1.3; transition: color .4s, translate .6s var(--ease); }
.when-list li::before { content: ""; position: absolute; left: -41px; top: 34px; width: 11px; height: 11px; margin-top: -5.5px; background: var(--accent); clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%); filter: drop-shadow(0 0 6px var(--accent)); }
.when-list li:hover { color: var(--accent); translate: 8px 0; }

/* Koraki – ozvezdje */
.constellation { position: relative; }
.constellation-path { position: absolute; left: 0; right: 0; top: 0; width: 100%; height: 120px; overflow: visible; }
.constellation-path path { stroke-dasharray: 1; opacity: .85; }
.steps { position: relative; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); }
.step { position: relative; padding: 0 clamp(10px, 1.5vw, 22px); text-align: center; }
.step:nth-child(1) { --y: 70px; } .step:nth-child(2) { --y: 30px; } .step:nth-child(3) { --y: 85px; } .step:nth-child(4) { --y: 40px; }
.step-star { display: grid; place-items: center; width: 44px; height: 44px; margin: calc(var(--y) - 22px) auto 0; border-radius: 50%; background: var(--bg); border: 1px solid var(--line); color: var(--accent); transition: box-shadow .6s, border-color .6s, background-color .6s; }
.step-star svg { width: 18px; height: 18px; }
.step.is-lit .step-star { border-color: var(--accent); box-shadow: 0 0 30px -2px color-mix(in srgb, var(--accent) 70%, transparent); background: var(--surface-2); }
.step-num { display: block; margin-top: calc(130px - var(--y)); font-family: var(--serif); font-size: 1.1rem; letter-spacing: .2em; color: var(--accent); }
.step h3 { font-size: 1.8rem; font-weight: 400; margin: 8px 0 12px; }
.step p { color: var(--muted); font-size: .96rem; }

/* Galerija */
.gallery { position: relative; padding-bottom: var(--section); }
.gallery-grid { display: grid; justify-items: center; }
.g { position: relative; margin: 0; overflow: hidden; isolation: isolate; background: var(--surface); box-shadow: 0 0 0 1px var(--line); }
.g picture { height: 100%; }
.g img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.6s var(--ease); }
.g:hover img { transform: scale(1.06); }
.g-circle { width: min(420px, 80vw); border-radius: 50%; overflow: visible; background: none; box-shadow: none; }
.g-circle picture { position: relative; border-radius: 50%; overflow: hidden; height: auto; aspect-ratio: 1; box-shadow: 0 0 0 1px var(--line), 0 0 80px -20px color-mix(in srgb, var(--accent) 50%, transparent); }
.g-circle img { object-position: 50% 30%; aspect-ratio: 1; }
.g-circle::before, .g-circle::after { display: none; }
.g-circle figcaption { margin-top: 26px; text-align: center; font-family: var(--serif); font-style: italic; font-size: clamp(1.4rem, 1.1rem + 1vw, 2rem); line-height: 1.2; }
.g-circle figcaption em { color: var(--accent); }

/* Zgodbe */
.story-track { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2vw, 28px); }
.story { position: relative; display: flex; flex-direction: column; gap: 14px; padding: clamp(28px, 3vw, 40px); border-radius: var(--radius); background: color-mix(in srgb, var(--surface) 78%, transparent); border: 1px solid var(--line-soft); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); transition: border-color .4s, transform .6s var(--ease); }
.story:hover { border-color: var(--line); transform: translateY(-6px); }
.story-tag { align-self: flex-start; font-size: .68rem; font-weight: 500; letter-spacing: .3em; text-transform: uppercase; color: var(--accent); }
.story-tag::before { content: "✦ "; }
.story h3 { font-size: 1.85rem; font-weight: 400; }
.story p:last-child { color: var(--muted); }

/* Vprašanja */
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(44px, 7vw, 110px); align-items: start; }
.faq-list { border-top: 1px solid var(--line-soft); }
.faq-list details { border-bottom: 1px solid var(--line-soft); }
.faq-list summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 26px 0; cursor: pointer; list-style: none; font-family: var(--serif); font-size: clamp(1.3rem, 1.1rem + .6vw, 1.65rem); transition: color .3s; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: ""; flex-shrink: 0; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line); background:
  linear-gradient(var(--accent), var(--accent)) center / 11px 1px no-repeat,
  linear-gradient(var(--accent), var(--accent)) center / 1px 11px no-repeat; transition: transform .6s var(--ease); }
.faq-list details[open] summary::after { transform: rotate(135deg); }
.faq-list summary:hover { color: var(--accent); }
.faq-list details p { padding: 0 54px 28px 0; color: var(--muted); }
.faq-list details a { color: var(--accent); }
.faq-list details::details-content { block-size: 0; overflow: hidden; transition: block-size .55s var(--ease), content-visibility .55s allow-discrete; }
.faq-list details[open]::details-content { block-size: auto; }

/* Kontakt */
.contact::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(50% 60% at 20% 60%, color-mix(in srgb, var(--tint) 40%, transparent), transparent 70%); }
.contact-grid { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(44px, 7vw, 110px); align-items: end; }
.contact-title { font-size: clamp(2.9rem, 1.4rem + 5.6vw, 6.4rem); }
.contact-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 40px; }
.contact-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line-soft); }
.contact-list li { display: grid; gap: 4px; padding: 20px 0; border-bottom: 1px solid var(--line-soft); }
.contact-list span { font-size: .68rem; font-weight: 500; letter-spacing: .3em; text-transform: uppercase; color: var(--accent); }
.contact-list a, .contact-list b { font-family: var(--serif); font-size: clamp(1.3rem, 1.1rem + .6vw, 1.65rem); font-weight: 400; text-decoration: none; color: var(--text); }
.contact-list a { background: linear-gradient(var(--accent), var(--accent)) 0 100% / 0 1px no-repeat; transition: background-size .6s var(--ease), color .3s; }
.contact-list a:hover { color: var(--accent); background-size: 100% 1px; }

/* Noga */
.site-footer { background: color-mix(in srgb, var(--surface) 85%, transparent); border-top: 1px solid var(--line-soft); padding: clamp(56px, 7vw, 90px) 0 96px; font-size: .9rem; color: var(--muted); }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1.4fr 1fr; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid var(--line-soft); }
.footer-brand p { margin-top: 14px; font-family: var(--serif); font-style: italic; font-size: 1.3rem; color: var(--accent); }
.footer-legal { display: grid; gap: 12px; }
.footer-links { display: grid; gap: 8px; justify-items: start; }
.footer-links a { text-decoration: none; transition: color .3s; }
.footer-links a:hover { color: var(--accent); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px; padding-top: 24px; font-size: .8rem; }
.disclaimer { max-width: 46em; }

/* ---------- Razkrivanje: iz teme ---------- */
.js [data-reveal] { opacity: 0; translate: 0 34px; filter: blur(8px) brightness(.4); transition: opacity 1.2s var(--ease), translate 1.3s var(--ease), filter 1.4s var(--ease); transition-delay: calc(var(--i, 0) * 110ms); }
.js [data-reveal].is-visible { opacity: 1; translate: 0 0; filter: none; }

/* ---------- Odzivnost ---------- */
@media (max-width: 1080px) {
  .header-cta { display: none; }
  .nav-list a { padding-inline: 10px; }
}
@media (max-width: 900px) {
  :root { --header-h: 68px; }
  .menu-toggle { display: grid; place-items: center; margin-left: auto; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line); background: var(--glass); cursor: pointer; position: relative; z-index: 2; }
  .burger, .burger::before, .burger::after { display: block; width: 18px; height: 1px; background: var(--text); transition: transform .5s var(--ease), background-color .3s; }
  .burger { position: relative; }
  .burger::before, .burger::after { content: ""; position: absolute; left: 0; }
  .burger::before { top: -6px; } .burger::after { top: 6px; }
  .menu-open .burger { background: transparent; }
  .menu-open .burger::before { transform: translateY(6px) rotate(45deg); }
  .menu-open .burger::after { transform: translateY(-6px) rotate(-45deg); }
  .nav { margin: 0; }
  .nav-list { position: fixed; inset: 0; z-index: 1; flex-direction: column; justify-content: center; gap: 2px; padding: calc(var(--header-h) + 20px) var(--gutter) 40px; background: radial-gradient(80% 60% at 50% 30%, color-mix(in srgb, var(--tint) 45%, transparent), transparent), var(--bg); opacity: 0; visibility: hidden; transition: opacity .5s, visibility 0s .5s; }
  .menu-open .nav-list { opacity: 1; visibility: visible; transition: opacity .5s; }
  .nav-list a { font-family: var(--serif); font-size: clamp(2.1rem, 9vw, 2.9rem); font-weight: 300; letter-spacing: 0; text-transform: none; color: var(--text); padding: 6px 0; }
  .nav-list li { opacity: 0; translate: 0 18px; transition: opacity .5s, translate .7s var(--ease); }
  .menu-open .nav-list li { opacity: 1; translate: 0 0; }
  .menu-open .nav-list li:nth-child(2) { transition-delay: .05s; } .menu-open .nav-list li:nth-child(3) { transition-delay: .1s; }
  .menu-open .nav-list li:nth-child(4) { transition-delay: .15s; } .menu-open .nav-list li:nth-child(5) { transition-delay: .2s; }
  .menu-open .nav-list li:nth-child(6) { transition-delay: .25s; } .menu-open .nav-list li:nth-child(7) { transition-delay: .3s; }
  .nav-mobile-only { display: block; }
  .nav-list .btn { display: inline-flex; }
  .nav-mobile-only .btn { margin-top: 22px; font-family: var(--sans); font-size: .8rem; letter-spacing: .18em; text-transform: uppercase; color: var(--bg); padding: .85em 1.7em; }
  .menu-open .site-header { background: transparent; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }

  .hero { min-height: auto; padding-bottom: 120px; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-title em { padding-left: .2em; }
  .portal { width: min(400px, 86vw); margin-top: 20px; }
  .about-grid, .approach-grid, .faq-grid, .contact-grid { grid-template-columns: 1fr; }
  .about-photo { margin-inline: auto; width: min(380px, 78vw); }
  .approach-head { position: static; }
  .deck { grid-template-columns: 1fr 1fr; }
  .tarot:nth-child(n) { --fx: 0%; --fy: 140px; --fr: 0deg; }
  .tarot:nth-child(odd) { --fx: 30%; --fr: -10deg; }
  .tarot:nth-child(even) { --fx: -30%; --fr: 10deg; }
  .extras { grid-template-columns: 1fr; }
  .constellation-path { display: none; }
  .steps { grid-template-columns: 1fr; gap: 0; margin-left: 22px; padding-left: 12px; border-left: 1px solid var(--line); }
  .step { text-align: left; padding: 0 0 40px 26px; }
  .step-star { position: absolute; left: -35px; top: -4px; margin: 0; }
  .step-num { margin-top: 0; }
  .story-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 14px; margin-inline: calc(var(--gutter) * -1); padding: 4px var(--gutter) 18px; scrollbar-width: none; }
  .story-track::-webkit-scrollbar { display: none; }
  .story { flex: 0 0 min(84%, 380px); scroll-snap-align: start; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 600px) {
  .deck { grid-template-columns: 1fr; }
  .tarot:nth-child(n) { --fx: 0%; --fy: 90px; }
  .tarot:nth-child(odd) { --fr: -5deg; }
  .tarot:nth-child(even) { --fr: 5deg; }
  .tarot-inner { min-height: 0; padding: 36px 24px 26px; }
  .hero-actions .btn, .contact-actions .btn { flex: 1 1 100%; }
  .faq-list details p { padding-right: 0; }
  .ring-text { font-size: 16px; }
  .portal-sign { font-size: 1.1rem; }
  .moons { gap: 9px; }
}

/* ---------- Zmanjšano gibanje ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
  .js .load-in, .js [data-reveal], .tarot { opacity: 1 !important; translate: none !important; filter: none !important; transform: none !important; }
  .big-quote .w { opacity: 1 !important; }
  .draw-frame path, .when-line path, .constellation-path path { stroke-dashoffset: 0 !important; }
  .moon, .moon-line { opacity: 1 !important; scale: 1 !important; transform: none !important; }
}

/* ---------- Vsebina v2 (besedila in cenik) ---------- */
.hero .label { letter-spacing: .22em; line-height: 1.6; }
.welcome { padding-bottom: 0; }
.welcome-head { margin-bottom: 0; }
.welcome-head .section-lead + .section-lead { margin-top: 16px; }
.welcome-note { margin: 34px auto 0; max-width: 32em; font-family: var(--serif); font-style: italic; font-size: clamp(1.35rem, 1.1rem + .8vw, 1.8rem); line-height: 1.3; color: var(--accent); }

.creds { list-style: none; margin: 34px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.creds li { display: inline-flex; align-items: center; gap: 9px; padding: 9px 16px 9px 12px; border: 1px solid var(--line); border-radius: 999px; background: color-mix(in srgb, var(--surface) 70%, transparent); font-size: .86rem; letter-spacing: .02em; }
.creds svg { width: 11px; height: 11px; flex-shrink: 0; color: var(--accent); filter: drop-shadow(0 0 5px var(--accent)); }

.tarot-price { margin-top: auto; width: 100%; padding-top: 26px; display: grid; justify-items: center; gap: 6px; }
.tarot-price::before { content: ""; width: 100%; height: 1px; margin-bottom: 18px; background: linear-gradient(90deg, transparent, var(--accent), transparent); opacity: .7; }
.price { font-family: var(--serif); font-size: clamp(2rem, 1.6rem + 1vw, 2.6rem); font-weight: 400; line-height: 1; color: var(--accent); text-shadow: 0 0 24px color-mix(in srgb, var(--accent) 45%, transparent); }
.price small { font-size: .5em; font-style: italic; letter-spacing: .04em; margin-right: .15em; }
.price-text { font-style: italic; font-size: clamp(1.6rem, 1.3rem + .8vw, 2rem); }
.price-meta { font-size: .66rem; letter-spacing: .28em; text-transform: uppercase; color: var(--muted); }
.tarot-feature .tarot-inner { border-color: color-mix(in srgb, var(--accent) 55%, transparent); }

.methods { margin-top: clamp(56px, 7vw, 90px); text-align: center; }
.methods-title { font-size: .74rem; letter-spacing: .32em; text-transform: uppercase; color: var(--accent); }
.method-chips { list-style: none; margin: 22px auto 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 12px; max-width: 1060px; }
.method-chips li { padding: 10px 20px; border: 1px solid var(--line); border-radius: 999px; font-family: var(--serif); font-size: 1.15rem; font-style: italic; background: color-mix(in srgb, var(--surface) 60%, transparent); transition: border-color .3s, color .3s, box-shadow .4s; }
.method-chips li:hover { border-color: var(--accent); color: var(--accent); box-shadow: 0 0 24px -6px color-mix(in srgb, var(--accent) 60%, transparent); }
.price-note { margin: 28px auto 0; max-width: 40em; color: var(--muted); font-size: .96rem; }
.price-note span { display: inline-block; margin-top: 8px; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }

.free-group { display: flex; align-items: flex-start; gap: 20px; max-width: 760px; margin: clamp(44px, 5vw, 64px) auto 0; padding: 26px 30px; border: 1px solid var(--line-soft); border-radius: var(--radius); background: color-mix(in srgb, var(--surface) 70%, transparent); }
.free-group > svg { width: 22px; height: 22px; flex-shrink: 0; margin-top: 6px; color: var(--accent); filter: drop-shadow(0 0 10px var(--accent)); animation: twinkle 4s ease-in-out infinite; }
.free-group h3 { font-size: 1.5rem; font-weight: 400; margin-bottom: 6px; }
.free-group p { color: var(--muted); font-size: .96rem; }
.free-group a { color: var(--accent); }

.when-list li { display: grid; gap: 6px; }
.when-list li strong { font-weight: 300; }
.when-list li span { font-family: var(--sans); font-size: .95rem; line-height: 1.55; color: var(--muted); }
.approach-close { margin: 0 0 34px; max-width: 26em; font-family: var(--serif); font-style: italic; font-size: clamp(1.3rem, 1.1rem + .6vw, 1.6rem); line-height: 1.3; color: var(--accent); }

.steps-note { margin: clamp(40px, 5vw, 64px) auto 0; max-width: 36em; text-align: center; font-family: var(--serif); font-style: italic; font-size: clamp(1.25rem, 1.05rem + .6vw, 1.55rem); line-height: 1.35; color: var(--muted); }

@media (max-width: 900px) {
  .deck { grid-template-columns: 1fr 1fr; }
  .deck .tarot, .deck .tarot:nth-child(4) { grid-column: auto; }
  .deck .tarot:nth-child(5) { grid-column: 1 / -1; justify-self: center; width: min(100%, calc(50% - 8px)); }
  .welcome-note { font-size: 1.3rem; }
  .approach-grid { row-gap: 0; }
  .approach-head { display: contents; }
  .approach-head > * { order: 0; }
  .approach .when { order: 1; margin: 18px 0 34px; }
  .approach-head > .approach-close, .approach-head > .btn { order: 2; }
  .approach-head > .btn { justify-self: start; }
}
@media (max-width: 600px) {
  .deck { grid-template-columns: 1fr; }
  .deck .tarot:nth-child(5) { width: 100%; }
  .free-group { padding: 22px 20px; gap: 14px; }
  .method-chips li { font-size: 1.02rem; padding: 8px 16px; }
  .hero-facts { gap: 16px 28px; }
  .creds li { font-size: .82rem; }
}

/* =====================================================================
   SVETLA TEMA (AMETIST), STRNJENI RAZMIKI, MERILO PISAV
   ===================================================================== */

/* Svetla tema: mehkejši sij, brez temnih senc */
.stars { opacity: .55; }
.grain { opacity: .035; }
.hero-title em, .price, .big-quote .w.on { text-shadow: none; }
.big-quote .w { opacity: .2; }
.portal-photo::after, .g::after, .about-photo-inner::after { background: linear-gradient(180deg, transparent 60%, color-mix(in srgb, var(--bg) 30%, transparent)); }
.portal-photo::before, .g::before, .about-photo-inner::before { opacity: .22; }
.tarot-inner { box-shadow: 0 18px 50px -30px color-mix(in srgb, var(--accent) 45%, transparent); }
.tarot:hover .tarot-inner { box-shadow: 0 30px 70px -30px color-mix(in srgb, var(--accent) 55%, transparent), 0 0 40px -10px color-mix(in srgb, var(--accent) 30%, transparent); }
.site-header.is-scrolled { background: color-mix(in srgb, var(--bg) 82%, transparent); }
.brand-mark, .creds svg, .free-group > svg, .quote-star { filter: none; }
.ring-dot { filter: none; }

/* Strnjeno: manj praznega prostora, elementi ostanejo */
:root { --section: clamp(60px, 7.5vw, 112px); }
.section-head { margin-bottom: clamp(32px, 4.5vw, 58px); }
.hero { min-height: min(100svh, 900px); }
.quote { padding-block: clamp(70px, 9vw, 130px); }
.extras, .methods { margin-top: clamp(32px, 4vw, 56px); }
.tarot-inner { min-height: 400px; }
.steps-note { margin-top: clamp(28px, 3.5vw, 44px); }
.signature { margin-top: 24px; }

/* Velikosti naslovov se prilagodijo izbrani pisavi */
h1, h2, h3 { line-height: var(--hl, 1.02); }
.h2 { font-size: calc(clamp(2.3rem, 1.4rem + 3.6vw, 4.4rem) * var(--hs, 1)); }
.hero-title { font-size: calc(clamp(3.4rem, 1.7rem + 7vw, 8.4rem) * var(--hs, 1)); line-height: calc(.9 * var(--hl, 1)); }
.contact-title { font-size: calc(clamp(2.7rem, 1.4rem + 5vw, 5.8rem) * var(--hs, 1)); }
.big-quote p { font-size: calc(clamp(2rem, 1.2rem + 3.6vw, 4.4rem) * var(--hs, 1)); line-height: calc(1.1 * var(--hl, 1)); }
.tarot h3 { font-size: calc(clamp(1.65rem, 1.3rem + .9vw, 2.15rem) * var(--hs, 1)); }
.when-list li { font-size: calc(clamp(1.3rem, 1.05rem + .9vw, 1.75rem) * var(--hs, 1)); }
.faq-list summary { font-size: calc(clamp(1.3rem, 1.1rem + .6vw, 1.65rem) * var(--hs, 1)); }
.g-circle figcaption { font-size: calc(clamp(1.4rem, 1.1rem + 1vw, 2rem) * var(--hs, 1)); }
body { font-size: calc(clamp(1rem, .97rem + .2vw, 1.075rem) * var(--bs, 1)); font-weight: 400; }
h1, h2, h3 { font-weight: 400; }


/* E · strnjeno: zgodba pod »Preberite mojo zgodbo«, karte v eni vrsti */
.more { margin-top: 14px; max-width: 38em; }
.more summary { display: inline-flex; align-items: center; gap: 12px; padding: 6px 0; cursor: pointer; list-style: none; font-size: .78rem; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: var(--accent); }
.more summary::-webkit-details-marker { display: none; }
.more summary::after { content: ""; width: 24px; height: 24px; border: 1px solid var(--line); border-radius: 50%; background:
  linear-gradient(var(--accent), var(--accent)) center / 9px 1px no-repeat,
  linear-gradient(var(--accent), var(--accent)) center / 1px 9px no-repeat; transition: transform .5s var(--ease); }
.more[open] summary::after { transform: rotate(45deg); }
.more .prose { margin-top: 12px; }
.more::details-content { block-size: 0; overflow: hidden; transition: block-size .5s var(--ease), content-visibility .5s allow-discrete; }
.more[open]::details-content { block-size: auto; }
.about .prose { margin-top: 24px; }
.creds { margin-top: 24px; }
@media (min-width: 1100px) {
  .deck { grid-template-columns: repeat(5, 1fr); gap: 16px; }
  .deck .tarot, .deck .tarot:nth-child(4), .deck .tarot:nth-child(5) { grid-column: auto; }
  .tarot-inner { min-height: 0; padding: 34px 20px 24px; }
  .tarot-icon { width: 56px; height: 56px; margin: 18px 0 16px; }
  .tarot h3 { font-size: calc(1.5rem * var(--hs, 1)); }
  .tarot p { font-size: .93rem; }
  .tarot .price { font-size: 2rem; }
  .tarot .price-text { font-size: 1.35rem; }
}

/* =====================================================================
   VODIČI – seznam, kartice, članek, admin predogled
   ===================================================================== */
.narrow { max-width: 860px; }
.center { text-align: center; }
.page-hero { padding-top: calc(var(--header-h) + clamp(48px, 7vw, 96px)); padding-bottom: clamp(28px, 4vw, 48px); }
.page-hero .label { margin-bottom: 18px; }
.h1-page { font-size: calc(clamp(2.6rem, 1.6rem + 4.2vw, 5.2rem) * var(--hs, 1)); line-height: calc(1.05 * var(--hl, 1)); color: var(--text); text-wrap: balance; }
.h1-page em { font-style: italic; color: var(--accent); }
.page-lead { margin: 22px auto 0; max-width: 36em; color: var(--muted); font-size: clamp(1.05rem, 1rem + .35vw, 1.22rem); line-height: 1.6; }
.breadcrumbs { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 26px; font-size: .8rem; letter-spacing: .04em; color: var(--muted); }
.breadcrumbs a { color: var(--muted); text-decoration: none; }
.breadcrumbs a:hover { color: var(--accent); }
.breadcrumbs [aria-current] { color: var(--text); max-width: 40ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.guide-cats { margin-top: 28px; }
.guide-cats li { font-size: 1rem; padding: 7px 16px; }
.guides-list { padding-top: 0; }

/* Kartice vodičev */
.guide-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(18px, 2.2vw, 30px); }
.guide-grid.is-single { grid-template-columns: minmax(0, 420px); justify-content: center; }
.guide-grid.is-double { grid-template-columns: repeat(2, minmax(0, 420px)); justify-content: center; }
.guide-card { position: relative; }
.guide-card-link { display: flex; flex-direction: column; height: 100%; color: inherit; text-decoration: none; border-radius: var(--radius); background: color-mix(in srgb, var(--surface) 82%, transparent); border: 1px solid var(--line-soft); overflow: hidden; transition: border-color .4s, transform .6s var(--ease), box-shadow .6s var(--ease); }
.guide-card-link:hover { border-color: var(--line); transform: translateY(-6px); box-shadow: 0 30px 60px -36px color-mix(in srgb, var(--accent) 55%, transparent); }
.guide-card-media { aspect-ratio: 4 / 3; overflow: hidden; background: radial-gradient(80% 80% at 30% 20%, var(--tint), transparent 70%), linear-gradient(135deg, var(--surface-2), color-mix(in srgb, var(--accent-2) 22%, var(--bg))); }
.guide-card-media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 1.2s var(--ease); }
.guide-card-link:hover .guide-card-media img { transform: scale(1.04); }
.guide-card-media.is-empty { display: grid; place-items: center; }
.guide-card-media.is-empty::after { content: "✦"; font-size: 2.4rem; color: var(--accent); opacity: .5; }
.guide-card-body { display: flex; flex-direction: column; gap: 10px; flex: 1; padding: clamp(20px, 2.2vw, 28px); }
.guide-tag { font-size: .68rem; font-weight: 600; letter-spacing: .26em; text-transform: uppercase; color: var(--accent); }
.guide-tag::before { content: "✦ "; }
.guide-card h3 { font-size: calc(1.75rem * var(--hs, 1)); line-height: 1.18; }
.guide-excerpt { color: var(--muted); font-size: .97rem; line-height: 1.6; }
.guide-meta { margin-top: auto; padding-top: 6px; font-size: .8rem; letter-spacing: .03em; color: var(--muted); }
.guides-more { margin-top: clamp(32px, 4vw, 48px); text-align: center; }
.guides-more .btn svg { width: 18px; height: 18px; }
.empty-state { display: flex; flex-direction: column; align-items: center; gap: 14px; max-width: 520px; margin: 0 auto; padding: 44px 28px; text-align: center; border: 1px dashed var(--line); border-radius: var(--radius); color: var(--muted); }
.empty-state svg { width: 22px; height: 22px; color: var(--accent); }
.empty-state a { color: var(--accent); }

/* Članek */
.article-head { padding-bottom: clamp(24px, 3vw, 40px); }
.article-byline { display: inline-flex; align-items: center; gap: 12px; margin-top: 30px; text-align: left; }
.article-byline img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; border: 1px solid var(--line); }
.article-byline p { display: grid; font-size: .86rem; line-height: 1.35; }
.article-byline a { color: var(--text); font-weight: 600; text-decoration: none; }
.article-byline a:hover { color: var(--accent); }
.article-byline span { color: var(--muted); }
.article-wrap { position: relative; padding-bottom: var(--section); }
.article-cover { margin: 0 auto clamp(36px, 5vw, 64px); max-width: 1080px; border-radius: calc(var(--radius) * 1.4); overflow: hidden; border: 1px solid var(--line-soft); box-shadow: 0 40px 80px -50px color-mix(in srgb, var(--accent) 60%, transparent); }
.article-cover img { width: 100%; height: auto; max-height: 620px; object-fit: cover; object-position: 50% 30%; display: block; }
.article-layout { display: grid; grid-template-columns: minmax(0, 720px); justify-content: center; gap: clamp(32px, 5vw, 72px); }
.article-layout.has-toc { grid-template-columns: 240px minmax(0, 720px); }
.toc { position: sticky; top: calc(var(--header-h) + 24px); align-self: start; padding: 20px 22px; border-radius: var(--radius); border: 1px solid var(--line-soft); background: color-mix(in srgb, var(--surface) 70%, transparent); }
.toc-title { margin-bottom: 10px; font-size: .68rem; font-weight: 600; letter-spacing: .26em; text-transform: uppercase; color: var(--accent); }
.toc ol { margin: 0; padding: 0; list-style: none; counter-reset: toc; display: grid; gap: 9px; }
.toc li { counter-increment: toc; display: grid; grid-template-columns: 22px 1fr; font-size: .9rem; line-height: 1.4; }
.toc li::before { content: counter(toc) "."; color: var(--accent); font-family: var(--serif); }
.toc a { color: var(--muted); text-decoration: none; transition: color .3s; }
.toc a:hover { color: var(--accent); }

.prose-article { font-size: clamp(1.05rem, 1rem + .25vw, 1.16rem); line-height: 1.8; color: color-mix(in srgb, var(--text) 86%, var(--muted)); }
.prose-article > * + * { margin-top: 1.1em; }
.prose-article > :first-child { margin-top: 0; }
.prose-article p, .prose-article ul, .prose-article ol { margin-bottom: 0; }
.prose-article h2 { margin: 1.9em 0 .55em; font-size: calc(clamp(1.8rem, 1.4rem + 1.3vw, 2.5rem) * var(--hs, 1) * 1.15); line-height: 1.18; color: var(--text); scroll-margin-top: calc(var(--header-h) + 20px); }
.prose-article h3 { margin: 1.6em 0 .4em; font-size: calc(clamp(1.35rem, 1.2rem + .6vw, 1.7rem) * var(--hs, 1) * 1.15); line-height: 1.25; color: var(--text); scroll-margin-top: calc(var(--header-h) + 20px); }
.prose-article h4 { margin: 1.4em 0 .3em; font-family: var(--sans); font-size: 1rem; font-weight: 700; letter-spacing: .04em; color: var(--text); }
.prose-article strong { color: var(--text); font-weight: 700; }
.prose-article em { font-style: italic; }
.prose-article a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 3px; }
.prose-article a:hover { text-decoration-thickness: 2px; }
.prose-article ul, .prose-article ol { padding-left: 1.3em; display: grid; gap: .45em; }
.prose-article ul li::marker { content: "✦  "; color: var(--accent); font-size: .8em; }
.prose-article ol li::marker { color: var(--accent); font-family: var(--serif); }
.prose-article blockquote { margin: 1.8em 0; padding: 1.1em 1.4em; border-left: 2px solid var(--accent); border-radius: 0 var(--radius) var(--radius) 0; background: color-mix(in srgb, var(--surface) 75%, transparent); font-family: var(--serif); font-style: italic; font-size: 1.2em; line-height: 1.5; color: var(--accent); }
.prose-article blockquote p + p { margin-top: .6em; }
.prose-article blockquote strong { color: inherit; }
.prose-article .article-figure, .prose-article figure { margin: 2em 0; }
.prose-article img { max-width: 100%; max-height: min(80vh, 720px); width: auto; height: auto; display: block; margin-inline: auto; border-radius: var(--radius); }
.prose-article figcaption { margin-top: 10px; text-align: center; font-size: .88rem; color: var(--muted); font-style: italic; }
.prose-article hr { width: 100px; margin: 2.4em auto; border: 0; border-top: 1px solid var(--line); overflow: visible; text-align: center; }
.prose-article hr::after { content: "✦"; position: relative; top: -.75em; padding: 0 12px; background: var(--bg); color: var(--accent); font-size: .9rem; }
.prose-article code { padding: .1em .4em; border-radius: 6px; background: var(--surface-2); font-size: .9em; }
.prose-article table { width: 100%; border-collapse: collapse; font-size: .95em; }
.prose-article th, .prose-article td { padding: 10px 12px; border-bottom: 1px solid var(--line-soft); text-align: left; }

.author-box { display: grid; grid-template-columns: 120px 1fr; gap: clamp(20px, 3vw, 32px); align-items: center; max-width: 820px; margin: clamp(56px, 7vw, 90px) auto 0; padding: clamp(22px, 3vw, 32px); border-radius: calc(var(--radius) * 1.2); border: 1px solid var(--line-soft); background: color-mix(in srgb, var(--surface) 78%, transparent); }
.author-box img { width: 120px; height: 152px; object-fit: cover; border-radius: 60px 60px 16px 16px; }
.author-box .label { margin-bottom: 8px; }
.author-box h2 { font-size: calc(2rem * var(--hs, 1)); }
.author-box p:not(.label) { margin-top: 8px; color: var(--muted); font-size: .97rem; }
.text-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 12px; color: var(--accent); font-size: .78rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; text-decoration: none; }
.text-link svg { width: 16px; height: 16px; transition: translate .4s var(--ease); }
.text-link:hover svg { translate: 4px 0; }
.cta-band { display: flex; align-items: center; gap: 22px; max-width: 820px; margin: 22px auto 0; padding: 24px 28px; border-radius: calc(var(--radius) * 1.2); background: linear-gradient(120deg, color-mix(in srgb, var(--accent) 10%, var(--surface)), color-mix(in srgb, var(--accent-2) 12%, var(--surface))); border: 1px solid var(--line); }
.cta-band > svg { width: 22px; height: 22px; flex-shrink: 0; color: var(--accent); animation: twinkle 4s ease-in-out infinite; }
.cta-band h2 { font-size: calc(1.6rem * var(--hs, 1) * 1.1); }
.cta-band p { margin-top: 4px; color: var(--muted); font-size: .95rem; }
.cta-band p a { color: var(--accent); }
.cta-band .btn { flex-shrink: 0; margin-left: auto; }
.cta-band .btn svg { width: 18px; height: 18px; }
.article-wrap > .cta-band, .page-sub main > .container > .cta-band { margin-bottom: 0; }
.page-sub main > .container > .cta-band { margin-bottom: var(--section); }
.related { padding-top: 0; }
.preview-banner { position: fixed; left: 50%; bottom: 16px; z-index: 70; translate: -50% 0; padding: 10px 18px; border-radius: 999px; background: var(--text); color: var(--bg); font-size: .85rem; box-shadow: 0 16px 40px -16px rgb(0 0 0 / .5); }
.preview-banner a { color: var(--tint); margin-left: 6px; }
.nf-hero { min-height: 70svh; display: grid; align-items: center; }
.nf-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 34px; }

/* Pravna stran */
.legal-body { max-width: 760px; margin: 0 auto; padding-bottom: var(--section); }
.legal-body .updated { text-align: center; color: var(--muted); font-size: .85rem; margin-top: -8px; }

@media (max-width: 1080px) {
  .article-layout.has-toc { grid-template-columns: minmax(0, 720px); }
  .toc { position: static; }
}
@media (max-width: 900px) {
  .guide-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cta-band { flex-wrap: wrap; }
  .cta-band .btn { margin-left: 0; }
}
@media (max-width: 600px) {
  .guide-grid, .guide-grid.is-double { grid-template-columns: 1fr; }
  .author-box { grid-template-columns: 1fr; text-align: center; justify-items: center; }
  .cta-band { flex-direction: column; text-align: center; }
  .cta-band .btn { width: 100%; }
  .breadcrumbs [aria-current] { max-width: 22ch; }
}
