/* =========================================================
   Žana Peševska — stil
   ========================================================= */
:root {
  --bg: #0e0d12;
  --bg-2: #15131b;
  --surface: rgba(255, 255, 255, 0.04);
  --line: rgba(255, 255, 255, 0.09);
  --text: #efe8df;
  --muted: #a39b93;
  --gold: #d8b48a;
  --rose: #d39aa0;
  --mist: #9fb4c7;
  --accent: var(--gold);
  --serif: "EB Garamond", "Georgia", serif;
  --sans: "Manrope", system-ui, sans-serif;
  --r: 22px;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --pad: clamp(16px, 5vw, 72px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 16px/1.7 var(--sans);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
body.no-scroll { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
::selection { background: var(--gold); color: var(--bg); }

main, .footer { transition: opacity .18s ease; }
body.is-switching main, body.is-switching .footer { opacity: .25; }

/* ---------- atmosphere ---------- */
.grain {
  position: fixed; inset: -50%; z-index: 100; pointer-events: none; opacity: .06;
  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='.8' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1.2s steps(4) infinite;
}
@keyframes grain { 25% { transform: translate(-3%, 2%); } 50% { transform: translate(2%, -3%); } 75% { transform: translate(-1%, 3%); } }

.cursor-glow {
  position: fixed; left: -300px; top: -300px; width: 600px; height: 600px; z-index: 0;
  pointer-events: none; opacity: 0; border-radius: 50%;
  background: radial-gradient(circle, rgba(216, 180, 138, .08), transparent 60%);
  transition: opacity .6s;
}

/* ---------- type ---------- */
.eyebrow {
  font: 500 .72rem/1 var(--sans); letter-spacing: .32em; text-transform: uppercase;
  color: var(--accent); margin: 0 0 1.4rem; display: inline-flex; align-items: center; gap: .9rem;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.h2 {
  font: 400 clamp(2.6rem, 6vw, 4.8rem)/1 var(--serif); margin: 0 0 1.5rem; letter-spacing: -.01em;
}
.h2 em, .hero__title em { font-style: italic; color: var(--gold); }
.lead { font: 400 clamp(1.3rem, 2vw, 1.6rem)/1.5 var(--serif); color: var(--text); }
.muted { color: var(--muted); font-size: .9rem; }
p { color: #cfc6bc; }

/* ---------- buttons ---------- */
.btn {
  --b: var(--accent);
  display: inline-flex; align-items: center; justify-content: center; gap: .7rem;
  padding: .95rem 1.7rem; border-radius: 100px; font-weight: 500; font-size: .92rem; letter-spacing: .02em;
  transition: transform .4s var(--ease), background .3s, color .3s, box-shadow .4s;
  position: relative; white-space: nowrap;
}
.btn--primary { background: var(--b); color: #17130f; }
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 14px 40px -12px var(--b); }
.btn--ghost { border: 1px solid var(--line); background: var(--surface); backdrop-filter: blur(8px); }
.btn--ghost:hover { border-color: var(--b); color: var(--b); }
.btn .price { font-size: .78rem; opacity: .7; padding-left: .7rem; border-left: 1px solid rgba(0,0,0,.25); }
.link { color: var(--accent); border-bottom: 1px solid currentColor; font-size: .9rem; }

/* ---------- nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 50;
  display: flex; align-items: center; gap: 2rem;
  padding: 1.4rem var(--pad);
  transition: padding .4s var(--ease), background .4s, border-color .4s;
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  padding-block: .8rem; background: rgba(14, 13, 18, .72);
  backdrop-filter: blur(18px) saturate(140%); border-color: var(--line);
}
.nav__logo { display: flex; align-items: center; gap: .8rem; margin-right: auto; }
.nav__mono {
  width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid var(--gold); color: var(--gold); font: italic 500 1.05rem var(--serif);
}
.nav__name { font: 400 1.25rem var(--serif); letter-spacing: .02em; }
.nav__links { display: flex; gap: 2.2rem; }
.nav__links a { font-size: .88rem; color: var(--muted); position: relative; transition: color .3s; }
.nav__links a::after {
  content: ""; position: absolute; left: 0; bottom: -4px; width: 100%; height: 1px; background: var(--gold);
  transform: scaleX(0); transform-origin: right; transition: transform .4s var(--ease);
}
.nav__links a:hover { color: var(--text); }
.nav__links a:hover::after { transform: scaleX(1); transform-origin: left; }

.lang { display: flex; padding: 4px; border: 1px solid var(--line); border-radius: 100px; background: var(--surface); }
.lang button { padding: .35rem .7rem; border-radius: 100px; font-size: .72rem; letter-spacing: .1em; color: var(--muted); transition: .3s; }
.lang button.is-active { background: var(--text); color: var(--bg); }
.lang button:not(.is-active):hover { color: var(--text); }

.nav__burger { display: none; width: 40px; height: 40px; position: relative; }
.nav__burger span { position: absolute; left: 10px; right: 10px; height: 1px; background: var(--text); transition: .4s var(--ease); }
.nav__burger span:first-child { top: 16px; }
.nav__burger span:last-child { top: 23px; }
.nav.is-menu .nav__burger span:first-child { top: 20px; transform: rotate(45deg); }
.nav.is-menu .nav__burger span:last-child { top: 20px; transform: rotate(-45deg); }

/* ---------- hero ---------- */
.hero {
  min-height: 100svh; position: relative; overflow: hidden;
  display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: 2rem;
  padding: 8rem var(--pad) 5rem;
}
.hero__orbs { position: absolute; inset: 0; pointer-events: none; }
.hero__orbs i {
  position: absolute; border-radius: 50%; filter: blur(90px); opacity: .45; pointer-events: none;
  animation: float 18s var(--ease) infinite alternate;
}
.hero__orbs i:nth-child(1) { width: 520px; height: 520px; background: #5a3a4a; top: -120px; left: -140px; }
.hero__orbs i:nth-child(2) { width: 420px; height: 420px; background: #2e3f55; bottom: -120px; right: 10%; animation-delay: -6s; }
.hero__orbs i:nth-child(3) { width: 300px; height: 300px; background: #6b5238; top: 30%; right: -80px; animation-delay: -12s; opacity: .3; }
@keyframes float { to { transform: translate(60px, -40px) scale(1.15); } }

.hero__text { position: relative; z-index: 2; }
.hero__title { font: 400 clamp(4rem, 13vw, 11rem)/.86 var(--serif); margin: 0 0 2rem; letter-spacing: -.03em; }
.hero__title .line { display: block; }
.hero__title .line--italic { font-style: italic; color: var(--gold); padding-left: .6em; }
.hero__lead { max-width: 30rem; font: 400 clamp(1.15rem, 1.7vw, 1.4rem)/1.55 var(--serif); color: #d9d0c6; margin: 0 0 2.6rem; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 1rem; }

.hero__stack { position: relative; height: min(72vh, 620px); z-index: 1; }
.stack__item {
  --bw: min(220px, 17vw);
  position: absolute; top: 50%; left: 50%; perspective: 1600px;
  transform: translate(-50%, -50%) translateX(calc((var(--i) - 1) * 72%)) translateY(calc((var(--i) - 1) * 6%)) rotate(calc((var(--i) - 1) * 4deg));
  transition: transform 1.4s var(--ease), opacity 1.2s; opacity: 0;
}
.stack__item:nth-child(1) .b3d { --base: 34deg; }
.stack__item:nth-child(2) { z-index: 2; }
.stack__item:nth-child(2) .b3d { --base: 18deg; --rx: -4deg; }
.stack__item:nth-child(3) .b3d { --base: 4deg; }
body.is-loaded .stack__item { opacity: 1; }
body:not(.is-loaded) .stack__item { transform: translate(-50%, -40%); }
.hero__stack:hover .stack__item:nth-child(1) { transform: translate(-50%, -50%) translateX(-92%) translateY(-4%) rotate(-6deg); }
.hero__stack:hover .stack__item:nth-child(3) { transform: translate(-50%, -50%) translateX(92%) translateY(8%) rotate(6deg); }
.hero__stack:hover .b3d { --base: 22deg; }

.hero__scroll { position: absolute; left: 50%; bottom: 2rem; width: 1px; height: 60px; background: var(--line); overflow: hidden; }
.hero__scroll span { position: absolute; inset: 0; background: var(--gold); animation: drip 2.2s var(--ease) infinite; }
@keyframes drip { from { transform: translateY(-100%); } to { transform: translateY(100%); } }

/* ---------- marquee ---------- */
.marquee { border-block: 1px solid var(--line); padding: 1.6rem 0; overflow: hidden; background: var(--bg-2); }
.marquee__track { display: flex; width: max-content; animation: marquee 40s linear infinite; }
.marquee__track span { font: italic 400 clamp(1.6rem, 3vw, 2.4rem) var(--serif); padding: 0 2rem; color: #d9d0c6; }
.marquee__track i { font-style: normal; color: var(--gold); align-self: center; font-size: .9rem; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- sections ---------- */
.section { padding: clamp(5rem, 12vw, 10rem) var(--pad); position: relative; }
.section__head { max-width: 46rem; margin-bottom: clamp(3rem, 7vw, 6rem); }
.section__sub { color: var(--muted); font-size: 1.02rem; max-width: 34rem; }

/* ---------- about ---------- */
.about { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(3rem, 8vw, 8rem); align-items: center; }
.about__portrait { position: relative; }
.portrait {
  position: relative; aspect-ratio: 4/5; border-radius: 300px 300px var(--r) var(--r); overflow: hidden;
  border: 1px solid var(--line); background: #1a1720; isolation: isolate;
  clip-path: inset(100% 0 0 0 round 300px 300px var(--r) var(--r));
  transition: clip-path 1.6s var(--ease) .15s;
}
.about__portrait.is-in .portrait { clip-path: inset(0 0 0 0 round 300px 300px var(--r) var(--r)); }
.portrait__img {
  width: 100%; height: 115%; object-fit: cover; object-position: 50% 0; display: block;
  transform: translateY(var(--py, 0px)) scale(1.25);
  transition: transform 2.2s var(--ease);
}
.about__portrait.is-in .portrait__img { transform: translateY(var(--py, 0px)) scale(1.04); }
/* warm light from the bottom + soft vignette so the bright photo melts into the dark page */
.portrait__light {
  position: absolute; inset: 0; pointer-events: none; z-index: 1;
  background:
    linear-gradient(180deg, transparent 70%, rgba(14,13,18,.6));
  transition: opacity 1.2s;
}
.portrait__ring {
  position: absolute; inset: -18px 18px 18px -18px; border-radius: 300px 300px var(--r) var(--r);
  border: 1px solid color-mix(in srgb, var(--gold) 55%, transparent);
  transform: translateY(calc(var(--py, 0px) * -.3)); transition: transform .2s linear;
  opacity: 0; transition: opacity 1.4s .6s, transform .2s linear;
}
.about__portrait.is-in .portrait__ring { opacity: 1; }
.portrait__sign {
  position: absolute; left: -1.2rem; bottom: 1.6rem; z-index: 2; pointer-events: none;
  font: italic 400 clamp(2.2rem, 4vw, 3.4rem)/1 var(--serif); color: var(--gold);
  text-shadow: 0 4px 30px rgba(0,0,0,.6);
  opacity: 0; transform: translateX(-20px); transition: opacity 1.2s 1s, transform 1.4s var(--ease) 1s;
}
.about__portrait.is-in .portrait__sign { opacity: 1; transform: none; }
.portrait__badge {
  position: absolute; right: -1.5rem; top: 14%; z-index: 2; padding: 1.1rem 1.4rem; border-radius: 16px;
  background: rgba(21, 19, 27, .8); backdrop-filter: blur(14px); border: 1px solid var(--line);
  display: flex; align-items: center; gap: .9rem;
}
.portrait__badge strong { font: 400 2.6rem/1 var(--serif); color: var(--gold); }
.portrait__badge span { font-size: .78rem; color: var(--muted); max-width: 6rem; line-height: 1.3; }
.facts { list-style: none; padding: 2rem 0 0; margin: 2rem 0 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.facts strong { display: block; font: 400 1.7rem/1.1 var(--serif); color: var(--text); }
.facts span { font-size: .8rem; color: var(--muted); }

/* ---------- books ---------- */
.books { background: linear-gradient(180deg, var(--bg), var(--bg-2) 30%, var(--bg-2) 70%, var(--bg)); }
.books__list { display: grid; gap: clamp(5rem, 10vw, 9rem); }
.book { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(2.5rem, 7vw, 7rem); align-items: center; }
.book:nth-child(even) .book__visual { order: 2; }
.book__visual {
  position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .6rem;
  padding: clamp(2rem, 5vw, 4rem); border-radius: var(--r); min-height: 480px;
  background: radial-gradient(circle at 50% 60%, color-mix(in srgb, var(--accent) 22%, transparent), transparent 65%);
}
.book__num { position: absolute; top: 0; left: 0; font: italic 400 clamp(5rem, 12vw, 9rem)/1 var(--serif); color: transparent; -webkit-text-stroke: 1px color-mix(in srgb, var(--accent) 45%, transparent); }
.book:nth-child(even) .book__num { left: auto; right: 0; }
.book__stage { --bw: min(280px, 62vw); perspective: 1600px; cursor: pointer; position: relative; padding: 1rem 0 2.5rem; outline: none; }
.book__stage::after {
  content: ""; position: absolute; left: 10%; right: 0; bottom: 1.2rem; height: 30px; border-radius: 50%;
  background: radial-gradient(ellipse, rgba(0,0,0,.7), transparent 70%); filter: blur(6px); z-index: -1;
}
.book.is-flipped .b3d { --flip: 180deg; }
.book__turn {
  font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted);
  padding: .55rem 1.1rem; border-radius: 100px; border: 1px solid var(--line); transition: .3s;
}
.book__turn span { display: inline-block; transition: transform .6s var(--ease); }
.book__turn:hover { color: var(--accent); border-color: var(--accent); }
.book.is-flipped .book__turn span { transform: rotate(180deg); }

/* ---------- 3D book ---------- */
.b3d {
  --w: var(--bw, 280px); --h: calc(var(--w) * 1.516); --d: calc(var(--w) * var(--t, .06));
  position: relative; width: var(--w); height: var(--h); transform-style: preserve-3d;
  transform: rotateY(calc(var(--base, 34deg) + var(--ry, 0deg) + var(--flip, 0deg))) rotateX(var(--rx, 0deg));
  transition: transform 1s var(--ease);
}
.b3d__face { position: absolute; backface-visibility: hidden; -webkit-backface-visibility: hidden; overflow: hidden; }
.b3d__face img { width: 100%; height: 100%; object-fit: cover; display: block; }
.b3d__front, .b3d__back { inset: 0; background: #222; }
.b3d__front { transform: translateZ(calc(var(--d) / 2)); border-radius: 2px 5px 5px 2px; }
.b3d__front::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.28), rgba(255,255,255,.08) 3%, transparent 7%); }
.b3d__back { transform: rotateY(180deg) translateZ(calc(var(--d) / 2)); border-radius: 5px 2px 2px 5px; background: var(--spine); }
.b3d__shine { position: absolute; inset: 0; z-index: 1; pointer-events: none; mix-blend-mode: overlay; background: radial-gradient(circle at var(--mx, 30%) var(--my, 20%), rgba(255,255,255,.35), transparent 55%); }
.b3d__spine {
  width: var(--d); height: var(--h); left: calc(50% - var(--d) / 2); top: 0;
  transform: rotateY(-90deg) translateZ(calc(var(--w) / 2)); background: var(--spine);
  display: grid; place-items: center;
}
.b3d__spine::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.35), rgba(255,255,255,.12) 45%, rgba(0,0,0,.25)); }
.b3d__spinetxt { writing-mode: vertical-rl; font: 500 calc(var(--d) * .42)/1 var(--serif); color: #f1dcc0; letter-spacing: .08em; white-space: nowrap; }
.b3d__backtxt { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; gap: .6rem; padding: 1.5rem; font: italic 400 calc(var(--w) * .09)/1.1 var(--serif); color: #f1dcc0;
  background: radial-gradient(circle at 50% 40%, color-mix(in srgb, var(--spine) 70%, #fff 10%), var(--spine)); }
.b3d__backtxt small { font: 500 calc(var(--w) * .035) var(--sans); letter-spacing: .3em; text-transform: uppercase; opacity: .7; }
.b3d__pages {
  width: calc(var(--d) - 4px); height: calc(var(--h) - 8px); left: calc(50% - var(--d) / 2 + 2px); top: 4px;
  transform: rotateY(90deg) translateZ(calc(var(--w) / 2 - 4px));
  background: repeating-linear-gradient(90deg, #f4eee3 0 1px, #d8cfbf 1px 2px);
  box-shadow: inset 0 0 12px rgba(0,0,0,.25);
}
.b3d__top, .b3d__bottom {
  width: calc(var(--w) - 6px); height: calc(var(--d) - 4px); left: 2px; top: calc(50% - var(--d) / 2 + 2px);
  background: repeating-linear-gradient(0deg, #f4eee3 0 1px, #d8cfbf 1px 2px);
}
.b3d__top { transform: rotateX(90deg) translateZ(calc(var(--h) / 2 - 4px)); }
.b3d__bottom { transform: rotateX(-90deg) translateZ(calc(var(--h) / 2 - 4px)); }

.book__tag { font-size: .75rem; letter-spacing: .25em; text-transform: uppercase; color: var(--accent); margin: 0 0 1rem; }
.book__title { font: 400 clamp(2.4rem, 5vw, 4rem)/1.02 var(--serif); margin: 0 0 .6rem; }
.book__orig { font: italic 400 1.1rem var(--serif); color: var(--muted); margin: 0 0 1rem; }
.book__desc { font-size: 1.02rem; max-width: 34rem; margin: 1.4rem 0 1.6rem; }
.book__quote { margin: 0 0 2rem; padding-left: 1.4rem; border-left: 2px solid var(--accent); max-width: 32rem; font: italic 400 1.35rem/1.45 var(--serif); color: var(--text); }
.book__quote cite { display: block; margin-top: .5rem; font: normal 500 .75rem var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.book__meta { display: flex; flex-wrap: wrap; gap: 1rem 2.2rem; margin: 0 0 2.4rem; padding: 1.4rem 0; border-block: 1px solid var(--line); }
.book__meta dt { font-size: .68rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.book__meta dd { margin: .2rem 0 0; font: 400 1.1rem var(--serif); }
.book__actions { display: flex; flex-wrap: wrap; gap: 1rem; }

/* ---------- uskoro ---------- */
.soon { padding-top: clamp(3rem, 8vw, 6rem); }
.soon__grid { display: grid; grid-template-columns: repeat(var(--cols), 1fr); gap: clamp(1.4rem, 3vw, 2.6rem) var(--gx); }
.soon__groups { container-type: inline-size; --cols: 5; --gx: clamp(1rem, 2.4vw, 2rem); --px: clamp(1rem, 3vw, 2.4rem); display: grid; gap: clamp(3.5rem, 7vw, 5.5rem); }
.soon__cat {
  display: flex; align-items: baseline; gap: 1rem; margin: 0 0 clamp(1.6rem, 3.5vw, 2.6rem);
  font: italic 400 clamp(1.6rem, 3vw, 2.2rem)/1 var(--serif); color: var(--gold);
}
.soon__cat::after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, rgba(216,180,138,.45), transparent); align-self: center; }
.soon__cat small { order: -1; font: 500 .7rem var(--sans); letter-spacing: .25em; color: var(--muted); }
.soon__series {
  /* okvir izlazi malo van kolone, da bi unutra stale knjige iste veličine kao u Poeziji */
  position: relative; padding: clamp(1.4rem, 3vw, 2.4rem) var(--px) clamp(1.6rem, 3vw, 2.4rem);
  margin-inline: calc(-1 * var(--px) - 1px);
  border: 1px solid rgba(216,180,138,.28); border-radius: 6px;
  background: linear-gradient(180deg, rgba(216,180,138,.05), transparent 70%);
}
.soon__seriesname {
  position: absolute; top: 0; left: 50%; transform: translate(-50%, -50%); margin: 0; padding: 0 1rem;
  background: var(--bg, #121119); font: 500 .72rem var(--sans); letter-spacing: .32em; text-transform: uppercase; color: var(--gold);
}
.soon__grid.soon__grid--series { grid-template-columns: repeat(auto-fit, calc((100cqi - (var(--cols) - 1) * var(--gx)) / var(--cols) - .5px)); justify-content: center; text-align: center; }
.soon__part { display: block; margin-top: 1rem; font: 500 .62rem var(--sans); letter-spacing: .28em; text-transform: uppercase; color: var(--gold); }
.soon__part + .soon__title { margin-top: .35rem; }
.soon__divider { display: flex; align-items: center; gap: 1rem; margin: clamp(2.2rem, 5vw, 3.2rem) 0 clamp(1.6rem, 3vw, 2.2rem); font: 500 .72rem var(--sans); letter-spacing: .32em; text-transform: uppercase; color: var(--gold); }
.soon__divider::before, .soon__divider::after { content: ""; flex: 1; height: 1px; background: rgba(216,180,138,.28); }
.soon__stage .soon__badge--pub { position: absolute; z-index: 2; left: 50%; bottom: 7%; transform: translateX(-50%); white-space: nowrap; }
.soon__see { display: inline-block; margin-top: .4rem; font-size: .8rem; color: var(--gold); border-bottom: 1px solid rgba(216,180,138,.4); }
.soon__see:hover { border-color: var(--gold); }
.soon__item { transition-delay: var(--d); }
.soon__stage {
  container-type: inline-size; perspective: 1200px; cursor: pointer; outline: none;
  display: grid; justify-items: center; padding: .5rem 0 1rem; position: relative;
}
.soon__stage::after {
  content: ""; position: absolute; left: 15%; right: 5%; bottom: .4rem; height: 18px; border-radius: 50%;
  background: radial-gradient(ellipse, rgba(0,0,0,.7), transparent 70%); filter: blur(5px); z-index: -1;
}
.soon__stage .b3d { --bw: 78cqi; --base: 24deg; }
.soon__item:hover .b3d { --base: 10deg; }
.soon__item.is-flipped .b3d { --flip: 180deg; }
.soon__stage:focus-visible .b3d { outline: 1px solid var(--gold); outline-offset: 6px; }
.soon__stage .soon__ph { z-index: 1; }
.soon__stage .soon__ttl { font-size: clamp(.95rem, 9cqi, 1.35rem); }
.soon__stage .soon__badge { font-size: clamp(.46rem, 4.2cqi, .58rem); padding: .3rem .6rem; }
.soon__stage .soon__ph small { font-size: clamp(.45rem, 4cqi, .58rem); }
.soon__ph {
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: space-between;
  padding: 14% 10% 12%; text-align: center;
  background:
    radial-gradient(circle at 70% 20%, rgba(255,255,255,.14), transparent 45%),
    linear-gradient(165deg, color-mix(in srgb, var(--c) 85%, #fff 8%), color-mix(in srgb, var(--c) 70%, #000));
}
.soon__ph--img { background: linear-gradient(180deg, rgba(0,0,0,.45), transparent 28%, transparent 55%, rgba(0,0,0,.75)); justify-content: flex-start; }
.soon__ph--img .soon__ttl { margin-top: auto; margin-bottom: .6rem; text-shadow: 0 2px 14px rgba(0,0,0,.8); }
.soon__ph--img small { text-shadow: 0 1px 8px rgba(0,0,0,.8); color: rgba(246,232,212,.9); }
.soon__ph::after { content: ""; position: absolute; inset: 7%; border: 1px solid rgba(216,180,138,.4); border-radius: 2px; pointer-events: none; }
.soon__ph small { font: 500 .58rem var(--sans); letter-spacing: .28em; text-transform: uppercase; color: rgba(241,220,192,.75); }
.soon__ttl { font: italic 400 clamp(1.15rem, 1.6vw, 1.45rem)/1.15 var(--serif); color: #f6e8d4; text-wrap: balance; }
.soon__badge {
  position: relative; z-index: 1; white-space: nowrap;
  padding: .32rem .75rem; border-radius: 100px; background: var(--gold); color: #17130f;
  font: 600 .58rem/1 var(--sans); letter-spacing: .18em; text-transform: uppercase;
  box-shadow: 0 4px 14px rgba(0,0,0,.35);
}
.soon__title { margin: 1rem 0 0; font: 400 1.15rem/1.25 var(--serif); color: var(--text); }

/* ---------- fotografije: gomila ---------- */
.gallery { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.pile__ctrl { display: flex; align-items: center; gap: 1.2rem; margin-top: 2.4rem; }
.pile__btn {
  width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--line); font-size: 1.1rem;
  transition: background .3s, border-color .3s, transform .4s var(--ease);
}
.pile__btn:hover { border-color: var(--gold); background: rgba(216,180,138,.1); }
.pile__btn:active { transform: scale(.92); }
.pile__count { font: italic 400 1.5rem var(--serif); color: var(--gold); min-width: 5.5rem; text-align: center; font-variant-numeric: tabular-nums; }
.pile__hint { margin-top: 1rem; font-size: .8rem; color: var(--muted); }

.pile {
  position: relative; height: clamp(440px, 62vh, 620px); outline: none;
  touch-action: pan-y; user-select: none; -webkit-user-select: none;
}
.pile::before {
  content: ""; position: absolute; inset: 15% 10%; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(216,180,138,.12), transparent); filter: blur(30px);
}
.pile__card {
  position: absolute; left: 50%; top: 50%; margin: 0;
  width: max-content;
  padding: 10px; background: #f3ede4; border-radius: 14px;
  box-shadow: 0 30px 50px -25px rgba(0,0,0,.85), 0 2px 6px rgba(0,0,0,.4);
  transform: translate(calc(-50% + var(--tx, 0px)), calc(-50% + var(--ty, 0px))) rotate(var(--rot, 0deg)) scale(var(--s, 1));
  transition: transform .7s var(--ease), opacity .5s, box-shadow .5s, filter .5s;
  filter: brightness(.82);
}
.pile__card img {
  display: block; width: auto; height: auto; border-radius: 8px; pointer-events: none;
  max-height: min(520px, 62vh - 40px); max-width: min(540px, 86vw);
}
@media (max-width: 960px) { .pile__card img { max-height: min(480px, 108vw); } }
.pile__card figcaption { position: absolute; left: 0; right: 0; bottom: -2.2rem; text-align: center; font: italic 400 1.05rem var(--serif); color: var(--muted); opacity: 0; transition: opacity .4s; }
.pile__card.is-top { cursor: pointer; filter: none; box-shadow: 0 50px 80px -30px rgba(0,0,0,.95), 0 0 0 1px rgba(216,180,138,.25); }
.pile__card.is-top figcaption { opacity: 1; }
.pile__card.is-top:hover { transform: translate(-50%, calc(-50% - 8px)) rotate(var(--rot)) scale(1.015); }
.pile__card.is-deep { opacity: 0; }
.pile__card.is-out {
  transform: translate(calc(-50% + 70%), calc(-50% - 30px)) rotate(14deg) scale(1.02) !important;
  transition: transform .38s cubic-bezier(.5, 0, .75, .4), opacity .38s; opacity: .9;
}
.pile__card.is-in-from {
  transform: translate(calc(-50% - 70%), calc(-50% - 30px)) rotate(-14deg) !important; transition: none !important; opacity: 1 !important;
}
@media (max-width: 960px) {
  .gallery { grid-template-columns: 1fr; }
  .pile { height: min(118vw, 520px); }
}

/* ---------- quote ---------- */
.quote { padding: clamp(6rem, 14vw, 12rem) var(--pad); text-align: center; position: relative; overflow: hidden; }
.quote::before { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at center, rgba(211, 154, 160, .12), transparent 60%); }
.quote__inner { position: relative; max-width: 60rem; margin: 0 auto; }
.quote__mark { display: block; font: italic 400 10rem/.6 var(--serif); color: var(--rose); opacity: .5; }
.quote__stage { display: grid; margin: 0 0 2rem; }
.quote blockquote {
  grid-area: 1 / 1; margin: 0; align-self: center; text-wrap: balance;
  font: italic 400 clamp(1.7rem, 4vw, 3.4rem)/1.2 var(--serif);
  opacity: 0; transform: translateY(14px); filter: blur(6px); pointer-events: none;
  transition: opacity 1.1s var(--ease), transform 1.1s var(--ease), filter 1.1s var(--ease);
}
.quote blockquote.is-on { opacity: 1; transform: none; filter: none; pointer-events: auto; }
.quote .ql { display: block; }
.quote__dots { display: flex; justify-content: center; gap: .7rem; margin-top: 2.4rem; }
.quote__dots button { width: 8px; height: 8px; border-radius: 50%; background: var(--line); transition: background .4s, transform .4s var(--ease); }
.quote__dots button:hover { background: var(--muted); }
.quote__dots button.is-on { background: var(--rose); transform: scale(1.4); }
.quote cite { font-style: normal; font-size: .82rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }

/* ---------- contact ---------- */
.contact__card {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 6rem);
  padding: clamp(2rem, 6vw, 5rem); border-radius: calc(var(--r) * 1.5);
  border: 1px solid var(--line); background: linear-gradient(140deg, rgba(255,255,255,.05), rgba(255,255,255,.01));
}
.contact__list { list-style: none; padding: 0; margin: 2.5rem 0 0; }
.contact__list li { display: flex; justify-content: space-between; gap: 1rem; padding: 1rem 0; border-bottom: 1px solid var(--line); }
.contact__list span { color: var(--muted); font-size: .85rem; }
.contact__list a:hover { color: var(--gold); }
.form { display: grid; gap: 1.2rem; align-content: start; }
.form label { display: grid; gap: .4rem; }
.form label span { font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.form input, .form textarea {
  font: inherit; color: var(--text); background: rgba(0,0,0,.25); border: 1px solid var(--line);
  border-radius: 14px; padding: .9rem 1.1rem; resize: vertical; transition: border-color .3s; width: 100%;
}
.form input:focus, .form textarea:focus { outline: none; border-color: var(--gold); }
.form .btn { justify-self: start; }
.form__note { font-size: .85rem; color: var(--gold); min-height: 1.2em; margin: 0; }

/* ---------- footer ---------- */
.footer { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; padding: 2.5rem var(--pad); border-top: 1px solid var(--line); font-size: .82rem; color: var(--muted); }
.footer a:hover { color: var(--gold); }

/* ---------- modal ---------- */
.modal { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 16px; visibility: hidden; }
.modal.is-open { visibility: visible; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(8, 7, 10, .7); backdrop-filter: blur(10px); opacity: 0; transition: opacity .4s; }
.modal.is-open .modal__backdrop { opacity: 1; }
.modal__panel {
  position: relative; width: min(680px, 100%); max-height: calc(100svh - 32px); overflow-y: auto;
  background: #17151d; border: 1px solid var(--line); border-radius: calc(var(--r) * 1.2);
  padding: clamp(1.8rem, 5vw, 3.4rem);
  box-shadow: 0 60px 120px -30px rgba(0,0,0,.9);
  transform: translateY(30px) scale(.97); opacity: 0; transition: transform .5s var(--ease), opacity .4s;
}
.modal[data-kind="excerpt"] .modal__panel { background: #f4eee5; color: #2a2420; width: min(760px, 100%); }
.modal[data-kind="excerpt"] .modal__close { color: #2a2420; border-color: rgba(0,0,0,.15); }
.modal.is-open .modal__panel { transform: none; opacity: 1; }
.modal__close {
  position: sticky; top: 0; float: right; margin: -1rem -1rem 0 0; width: 42px; height: 42px; border-radius: 50%;
  border: 1px solid var(--line); font-size: 1.5rem; line-height: 1; transition: transform .4s var(--ease); z-index: 2;
}
.modal__close:hover { transform: rotate(90deg); }

.reader .eyebrow { color: color-mix(in srgb, var(--accent) 70%, #000); }
.reader__title { font: 400 clamp(2rem, 5vw, 3rem)/1.05 var(--serif); margin: 0 0 2rem; color: #1e1915; }
.reader__text p { font: 400 1.28rem/1.75 var(--serif); color: #3a322c; margin: 0 0 1.2rem; }
.reader__text:not(.is-poem) p:first-child::first-letter { float: left; font-size: 4.2rem; line-height: .8; padding: .35rem .6rem 0 0; color: color-mix(in srgb, var(--accent) 70%, #000); }
.reader__text.is-poem { text-align: center; }
.reader__text.is-poem p { font-style: italic; margin-bottom: .4rem; }
.reader .link { color: #6a4d33; }
.reader__foot { margin-top: 2.4rem; padding-top: 1.6rem; border-top: 1px solid rgba(0,0,0,.1); }

.order__book { display: flex; gap: 1.4rem; align-items: center; margin-bottom: 2rem; }
.order__book img { width: 84px; border-radius: 4px; box-shadow: 0 20px 40px -10px rgba(0,0,0,.8); }
.order__book .eyebrow { margin-bottom: .6rem; }
.order__book h3 { font: 400 clamp(1.6rem, 4vw, 2.2rem)/1.05 var(--serif); margin: 0; }
.order__price { margin: .4rem 0 0; color: var(--accent); font: 500 1.05rem var(--sans); }
.order h4 { font: 400 1.4rem var(--serif); margin: 0 0 1rem; }
.order__steps { margin: 0 0 1.8rem; padding: 0; list-style: none; counter-reset: s; display: grid; gap: .8rem; }
.order__steps li { counter-increment: s; display: flex; gap: 1rem; color: #cfc6bc; font-size: .95rem; }
.order__steps li::before { content: counter(s); flex: 0 0 28px; height: 28px; border-radius: 50%; border: 1px solid var(--accent); color: var(--accent); display: grid; place-items: center; font-size: .78rem; }
.order__pub { display: grid; gap: .2rem; padding: 1.2rem 1.4rem; border-radius: 14px; background: rgba(255,255,255,.04); border: 1px solid var(--line); font-size: .88rem; color: var(--muted); margin-bottom: 1.6rem; }
.order__pub strong { color: var(--text); font: 500 1.05rem var(--serif); }
.order__actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-bottom: 1.4rem; }
.order__note { font-size: .82rem; color: var(--muted); margin: .4rem 0 0; }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(36px); transition: opacity 1.1s var(--ease), transform 1.1s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.hero .reveal:nth-child(2) { transition-delay: .1s; }
.hero .reveal:nth-child(3) { transition-delay: .2s; }
.hero .reveal:nth-child(4) { transition-delay: .3s; }

/* ---------- responsive ---------- */
@media (max-width: 960px) {
  .soon__groups { --cols: 3; }
  .nav__links {
    position: fixed; inset: 0; flex-direction: column; justify-content: center; align-items: center; gap: 2rem;
    background: rgba(14, 13, 18, .97); backdrop-filter: blur(20px);
    opacity: 0; pointer-events: none; transition: opacity .4s;
  }
  .nav__links a { font: 400 2.4rem var(--serif); color: var(--text); }
  .nav.is-menu .nav__links { opacity: 1; pointer-events: auto; }
  .nav__burger { display: block; z-index: 2; }
  .lang { z-index: 2; }
  .hero { grid-template-columns: 1fr; padding-top: 7rem; text-align: left; }
  .hero__stack { height: 360px; order: -1; }
  .stack__item { --bw: 150px; }
  .about, .book, .contact__card { grid-template-columns: 1fr; }
  .book:nth-child(even) .book__visual { order: 0; }
  .book__visual { min-height: 0; }
  .about__portrait { max-width: 380px; }
}
@media (max-width: 560px) {
  .soon__groups { --cols: 2; }
  .nav { gap: .8rem; }
  .nav__name { display: none; }
  .facts { grid-template-columns: 1fr; }
  .portrait__badge { right: .5rem; }
  .hero__scroll { display: none; }
  .btn { padding: .85rem 1.3rem; }
  .contact__list li { flex-direction: column; gap: .2rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* završna misao u tekstu o autorki */
.about__closing {
  margin-top: 1.8rem; padding-left: 1.2rem; border-left: 1px solid var(--gold);
  font: italic 400 1.35rem/1.5 var(--serif); color: var(--text);
}

/* porudžbina — kontakt autorke */
.order__direct { font-size: .66rem; letter-spacing: .26em; text-transform: uppercase; color: var(--accent); margin-bottom: .3rem; }
.order__pub a { color: var(--text); width: fit-content; border-bottom: 1px solid transparent; transition: border-color .3s; }
.order__pub a:hover { border-color: var(--gold); }
.order__pub strong { font-size: 1.25rem; }

/* „Uskoro" — čitljiviji naslov i ime autorke preko svetlih korica */
.soon__stage .soon__ph--img {
  background:
    linear-gradient(180deg, rgba(0,0,0,.55), rgba(0,0,0,.15) 22%, transparent 38%, transparent 50%, rgba(0,0,0,.35) 68%, rgba(0,0,0,.8));
}
.soon__stage .soon__ph--img small,
.soon__stage .soon__ph--img .soon__ttl {
  color: #fff;
  -webkit-text-stroke: 3px rgba(12, 10, 14, .85);
  paint-order: stroke fill;
  text-shadow: 0 0 6px rgba(0,0,0,.9), 0 2px 14px rgba(0,0,0,.85);
}
.soon__stage .soon__ph--img small { font-weight: 700; font-size: clamp(.5rem, 4.6cqi, .66rem); -webkit-text-stroke-width: 2.5px; }
.soon__stage .soon__ph--img .soon__ttl { font-weight: 600; font-size: clamp(1.05rem, 10.5cqi, 1.5rem); line-height: 1.12; }

/* ---------- telefoni ---------- */
html, body { overflow-x: clip; }
@media (max-width: 560px) {
  .section { padding-top: 4.5rem; padding-bottom: 4.5rem; }
  .hero { padding-top: 5.5rem; min-height: auto; }
  .hero__stack { height: 300px; }
  .stack__item { --bw: min(118px, 30vw); }
  .portrait__sign { left: .8rem; font-size: 1.9rem; }
  .about__portrait { margin-inline: auto; width: 100%; }
  .gallery { gap: 1.5rem; }
  .pile { height: min(120vw, 480px); }
  .pile__card { padding: 7px; border-radius: 10px; }
  .pile__card img { max-height: min(400px, 100vw); max-width: 68vw; border-radius: 6px; }
  .pile__ctrl { margin-top: 1.6rem; }
  .quote { padding-top: 4.5rem; padding-bottom: 4.5rem; }
  .quote__mark { font-size: 7rem; }
  .quote blockquote { font-size: clamp(1.45rem, 6.4vw, 1.9rem); }
  .quote .ql { display: inline; }
  .soon__title { font-size: 1rem; }
  .modal { padding: 8px; }
  .modal__panel { padding: 1.4rem 1.2rem 1.6rem; max-height: calc(100svh - 16px); }
  .order__book img { width: 64px; }
  .order__actions .btn { flex: 1 1 100%; justify-content: center; text-align: center; }
  .reader__text p { font-size: 1.12rem; }
}
.form__hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form__row { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; }
.form__count { font-size: .72rem; letter-spacing: .05em; color: var(--muted); font-variant-numeric: tabular-nums; text-transform: none; }
.form__count.is-full { color: var(--gold); }
.form textarea { color-scheme: dark; resize: vertical; }
