/* ============================================================
   Atelje Venček — living wedding stationery
   ============================================================ */
:root {
  --ink: #1e1714;
  --ink-soft: #2a221e;
  --wine: #6b3342;
  --blush: #e8c4bb;
  --silk: #f6eee4;
  --ivory: #fbf6f0;
  --gold: #c4a06a;
  --gold-2: #d4b584;
  --gold-deep: #9a7540;
  --sage: #7a8f7c;
  --rose: #c47a78;
  --muted: #7a6e66;
  --cream: #f3e8dc;
  --line: rgba(30, 23, 20, 0.12);
  --header: 76px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --serif: "Cormorant Garamond", "Iowan Old Style", serif;
  --sans: "Figtree", system-ui, sans-serif;
  --script: "Pinyon Script", cursive;
}

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: auto; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }

body {
  font-family: var(--sans);
  font-weight: 400;
  color: var(--ink);
  background: var(--ivory);
  line-height: 1.55;
  overflow-x: hidden;
}
body.has-cursor { cursor: none; }
body.has-cursor a, body.has-cursor button, body.has-cursor input, body.has-cursor textarea, body.has-cursor select, body.has-cursor summary {
  cursor: none;
}
body.gcw-open, body.nav-open, body.bk-open { overflow: hidden; }
@media (pointer: coarse) {
  body { cursor: auto; }
  .cursor { display: none !important; }
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font-family: inherit; }
address { font-style: normal; }
ul, ol { margin: 0; padding: 0; list-style: none; }
p { margin: 0 0 1em; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; letter-spacing: -0.02em; line-height: 1.18; margin: 0; }
em { font-style: italic; color: var(--wine); padding-bottom: 0.08em; }

.container { width: min(1180px, calc(100% - 2.5rem)); margin: 0 auto; }
.skip-link {
  position: absolute; left: 1rem; top: -4rem; z-index: 10001;
  background: var(--ink); color: var(--silk); padding: .6rem 1rem;
}
.skip-link:focus { top: 1rem; }

/* grain + petals */
.grain {
  pointer-events: none; position: fixed; inset: 0; z-index: 80; opacity: .08; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.petal-field { position: fixed; inset: 0; z-index: 70; pointer-events: none; }

/* custom cursor */
.cursor {
  position: fixed; left: 0; top: 0; z-index: 10050; pointer-events: none;
  mix-blend-mode: difference;
}
.cursor-ring {
  width: 42px; height: 42px; margin: -21px 0 0 -21px;
  border: 1.5px solid #f6eee4; border-radius: 50%;
  position: absolute; transition: transform .35s var(--ease), width .35s var(--ease), height .35s var(--ease), margin .35s var(--ease), border-color .3s;
}
.cursor-dot {
  width: 6px; height: 6px; margin: -3px 0 0 -3px; border-radius: 50%;
  background: #c4a06a; position: absolute;
}
.cursor-label {
  position: absolute; left: 28px; top: -8px;
  font-family: var(--script); font-size: 1.15rem; color: #f6eee4;
  opacity: 0; transform: translateY(6px); white-space: nowrap;
  transition: opacity .3s, transform .3s var(--ease);
}
.cursor.is-hover .cursor-ring {
  width: 72px; height: 72px; margin: -36px 0 0 -36px;
  border-color: #c4a06a; background: rgba(196,160,106,.12);
}
.cursor.is-label .cursor-label { opacity: 1; transform: none; }
.cursor.is-click .cursor-ring { transform: scale(.72); }

.scroll-ribbon {
  position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 90;
  background: rgba(196,160,106,.15);
}
.scroll-ribbon span {
  display: block; height: 100%; width: 0;
  background: linear-gradient(90deg, var(--wine), var(--gold), var(--blush));
}

/* loader */
.page-loader {
  position: fixed; inset: 0; z-index: 200; background: var(--ink);
  display: grid; place-items: center; align-content: center; gap: 1rem;
  color: var(--silk); transition: opacity .7s var(--ease), visibility .7s;
}
.page-loader.is-done { opacity: 0; visibility: hidden; pointer-events: none; }
.loader-wreath { width: 110px; height: 110px; }
.loader-ring {
  stroke: var(--gold); stroke-width: 1.2; fill: none;
  stroke-dasharray: 290; stroke-dashoffset: 290;
  animation: draw 1.6s var(--ease) forwards;
}
.loader-leaf { fill: var(--blush); opacity: 0; animation: leafIn .6s ease forwards; }
.loader-leaf:nth-child(2) { animation-delay: .4s; }
.loader-leaf:nth-child(3) { animation-delay: .55s; }
.loader-leaf:nth-child(4) { animation-delay: .7s; }
.loader-leaf:nth-child(5) { animation-delay: .85s; }
.loader-leaf:nth-child(6) { animation-delay: 1s; }
.loader-word { font-family: var(--script); font-size: 2.4rem; margin: 0; }
.loader-sub { font-size: .68rem; letter-spacing: .28em; text-transform: uppercase; color: var(--gold); margin: 0; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes leafIn { from { opacity: 0; transform: scale(.6); } to { opacity: 1; transform: none; } }

/* header */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 60;
  height: var(--header); display: flex; align-items: center;
  transition: background .4s, backdrop-filter .4s, box-shadow .4s;
}
.site-header.is-scrolled {
  background: rgba(251,246,240,.86);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 var(--line);
}
.nav {
  width: min(1180px, calc(100% - 2rem)); margin: 0 auto;
  display: flex; align-items: center; gap: 1.5rem;
}
.logo { display: flex; align-items: center; gap: .55rem; }
.logo-mark { width: 28px; height: 28px; color: var(--wine); }
.logo-word {
  font-family: var(--script); font-size: 1.7rem; line-height: 1;
  color: var(--ink);
}
.nav-links { display: flex; gap: 1.4rem; margin-left: auto; }
.nav-links a {
  font-size: .78rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--muted); position: relative;
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: -4px; height: 1px; width: 0;
  background: var(--gold); transition: width .4s var(--ease);
}
.nav-links a:hover::after { width: 100%; }
.nav-cta {
  display: inline-flex; align-items: center; gap: .4rem;
  background: var(--ink); color: var(--silk); padding: .65rem 1rem;
  border: 0; border-radius: 999px; font-size: .75rem; letter-spacing: .12em; text-transform: uppercase;
  transition: transform .4s var(--ease), background .3s;
}
.nav-cta:hover { background: var(--wine); }
.nav-toggle {
  display: none; width: 42px; height: 42px; border: 0; background: transparent; position: relative;
}
.nav-toggle span {
  position: absolute; left: 10px; right: 10px; height: 1.5px; background: var(--ink);
  transition: transform .4s var(--ease), opacity .3s;
}
.nav-toggle span:first-child { top: 16px; }
.nav-toggle span:last-child { top: 24px; }
.nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 59; background: var(--ink); color: var(--silk);
  display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 1.2rem;
}
.mobile-menu[hidden] { display: none; }
.mobile-menu a { font-family: var(--serif); font-size: 2rem; }
.mobile-menu-close {
  position: absolute; top: 1.2rem; right: 1.2rem; background: none; border: 0;
  color: var(--gold); font-size: 2rem; cursor: pointer;
}

/* buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .95rem 1.5rem; border-radius: 999px; border: 1px solid transparent;
  font-size: .8rem; letter-spacing: .14em; text-transform: uppercase;
  transition: transform .4s var(--ease), background .3s, color .3s, box-shadow .3s;
}
.btn-gold {
  background: linear-gradient(180deg, var(--gold-2), var(--gold));
  color: var(--ink); box-shadow: 0 10px 24px rgba(154,117,64,.25);
}
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 16px 32px rgba(154,117,64,.35); }
.btn-ghost {
  border-color: rgba(251,246,240,.45); color: var(--silk); background: transparent;
}
.hero .btn-ghost:hover { background: rgba(251,246,240,.1); }
.btn-full { width: 100%; }

/* type */
.eyebrow {
  font-size: .72rem; letter-spacing: .28em; text-transform: uppercase;
  color: var(--gold-deep); margin-bottom: .8rem;
}
.section-title { font-size: clamp(2.4rem, 5vw, 4.2rem); margin-bottom: .8rem; }
.section-lead, .body-text { color: var(--muted); max-width: 52ch; font-size: 1.05rem; }
.section-head { margin-bottom: 2.5rem; }

/* HERO */
.hero {
  position: relative; min-height: 100svh; color: var(--silk);
  display: grid; place-items: end start;
}
.hero-media { position: absolute; inset: 0; overflow: hidden; }
.hero-media img {
  width: 100%; height: 100%; object-fit: cover;
  transform: scale(1.08); animation: ken 18s ease-out forwards;
}
@keyframes ken { to { transform: scale(1); } }
.hero-veil {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(30,23,20,.28) 0%, rgba(30,23,20,.15) 40%, rgba(30,23,20,.62) 100%),
    radial-gradient(ellipse at 70% 40%, transparent 20%, rgba(30,23,20,.35) 100%);
}
.hero-drape {
  position: absolute; inset: auto 0 0 0; height: 28%;
  background: linear-gradient(180deg, transparent, var(--ivory));
  opacity: .2; mix-blend-mode: screen;
}
.hero-inner {
  position: relative; z-index: 2; padding: 0 8vw 18vh;
  max-width: 900px;
}
.hero-kicker {
  display: flex; align-items: center; gap: .8rem;
  font-size: .72rem; letter-spacing: .26em; text-transform: uppercase;
  color: var(--gold-2); margin-bottom: 1.2rem;
}
.hero-kicker i { width: 42px; height: 1px; background: var(--gold); display: block; }
.hero-title { font-size: clamp(3.2rem, 8vw, 7.2rem); margin-bottom: 1rem; line-height: 1.12; }
.hero-title .line { display: block; overflow: hidden; padding-bottom: 0.18em; margin-bottom: -0.12em; }
.hero-title .line span { display: block; }
.hero-title .italic { font-style: italic; color: var(--blush); }
.hero-lead { font-size: 1.12rem; max-width: 42ch; color: rgba(246,238,228,.86); }
.hero-actions { display: flex; gap: .8rem; flex-wrap: wrap; margin-top: 1.6rem; }
.hero-meta {
  position: absolute; right: 6vw; bottom: 18vh; z-index: 2;
  display: flex; flex-direction: column; align-items: center; gap: .6rem;
  font-size: .68rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-2);
}
.hero-seal {
  width: 54px; height: 54px; border-radius: 50%;
  border: 1px dashed var(--gold);
  display: grid; place-items: center;
  font-family: var(--script); font-size: 1.6rem; letter-spacing: 0; text-transform: none;
  color: var(--gold-2);
  animation: spinSlow 24s linear infinite;
}
@keyframes spinSlow { to { transform: rotate(360deg); } }
.hero-scroll {
  position: absolute; left: 8vw; bottom: 5vh; z-index: 2;
  display: flex; align-items: center; gap: .7rem;
  font-size: .68rem; letter-spacing: .22em; text-transform: uppercase; color: var(--gold-2);
}
.hero-scroll i {
  width: 1px; height: 42px; background: var(--gold);
  position: relative; overflow: hidden;
}
.hero-scroll i::after {
  content: ""; position: absolute; left: 0; top: -100%; width: 100%; height: 100%;
  background: var(--silk); animation: drip 1.8s ease-in-out infinite;
}
@keyframes drip { 0% { top: -100%; } 100% { top: 100%; } }

/* marquee */
.marquee {
  background: var(--ink); color: var(--gold-2); overflow: hidden;
  border-top: 1px solid rgba(196,160,106,.2); border-bottom: 1px solid rgba(196,160,106,.2);
}
.marquee-track {
  display: flex; gap: 1.6rem; align-items: center;
  padding: .9rem 0; width: max-content;
  animation: slide 32s linear infinite;
  font-size: .78rem; letter-spacing: .22em; text-transform: uppercase;
}
.marquee-track i { color: var(--blush); }
@keyframes slide { to { transform: translateX(-50%); } }

/* atelje */
.atelje { padding: 8rem 0 6rem; background: var(--ivory); }
.atelje-grid {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 4rem; align-items: center;
}
.stat-row { display: flex; gap: 2rem; margin-top: 2rem; }
.stat-row strong {
  display: block; font-family: var(--serif); font-size: 2.4rem; color: var(--wine);
}
.stat-row span { font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.atelje-frame {
  position: relative; padding: 1rem 1rem 3.2rem;
  background: var(--cream); box-shadow: 0 30px 70px rgba(30,23,20,.12);
  transform: rotate(1.2deg);
  transition: transform .6s var(--ease);
}
.atelje-frame:hover { transform: rotate(0deg) translateY(-6px); }
.atelje-frame img { aspect-ratio: 3/4; object-fit: cover; }
.atelje-frame figcaption {
  position: absolute; left: 1rem; right: 1rem; bottom: .7rem;
  display: flex; justify-content: space-between; align-items: baseline;
  font-size: .75rem; color: var(--muted);
}
.script { font-family: var(--script); font-size: 1.5rem; color: var(--wine); }
.frame-corner {
  position: absolute; top: .4rem; right: .4rem; width: 28px; height: 28px;
  border-top: 1px solid var(--gold); border-right: 1px solid var(--gold);
}

/* DAN — scroll lock */
.dan { position: relative; height: 500vh; background: var(--ink); }
.dan-sticky {
  position: sticky; top: 0; height: 100vh; overflow: hidden; color: var(--silk);
}
.dan-bg { position: absolute; inset: 0; }
.dan-bg img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transform: scale(1.08);
  transition: opacity .7s ease, transform 1.4s var(--ease);
  clip-path: inset(8% 8% 8% 8%);
}
.dan-bg img.is-active {
  opacity: 1; transform: scale(1);
  clip-path: inset(0 0 0 0);
}
.dan-veil {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(30,23,20,.62), rgba(30,23,20,.18) 45%, rgba(30,23,20,.55));
}
.dan-ui {
  position: relative; z-index: 2; height: 100%;
  display: grid; grid-template-columns: 1fr 1.2fr .8fr;
  padding: calc(var(--header) + 2rem) 6vw 7rem;
  align-items: end;
}
.dan-kicker { font-size: .7rem; letter-spacing: .26em; text-transform: uppercase; color: var(--gold-2); }
.dan-time {
  font-family: var(--serif); font-size: clamp(3.5rem, 8vw, 6.5rem);
  line-height: .9; margin: .2rem 0 1rem;
}
.dan-clock {
  width: 72px; height: 72px; border-radius: 50%;
  border: 1px solid rgba(196,160,106,.55); position: relative;
}
.clock-hour, .clock-minute {
  position: absolute; left: 50%; top: 50%; width: 2px; background: var(--gold-2);
  transform-origin: 50% 100%; border-radius: 2px;
}
.clock-hour { height: 18px; margin: -18px 0 0 -1px; }
.clock-minute { height: 26px; margin: -26px 0 0 -1px; background: var(--blush); }
.dan-index { font-size: .72rem; letter-spacing: .28em; color: var(--gold-2); }
.dan-title {
  font-size: clamp(3.5rem, 9vw, 8rem); font-style: italic;
  margin: .2rem 0 .6rem; line-height: 1.12; padding-bottom: 0.08em;
}
.dan-copy { max-width: 38ch; color: rgba(246,238,228,.88); font-size: 1.08rem; }
.dan-polaroid {
  background: var(--ivory); color: var(--ink); padding: .7rem .7rem 1.6rem;
  transform: rotate(4deg); width: min(240px, 28vw);
  box-shadow: 0 20px 50px rgba(0,0,0,.35);
  transition: transform .6s var(--ease);
}
.dan-polaroid:hover { transform: rotate(0) translateY(-8px); }
.dan-polaroid img { aspect-ratio: 3/4; object-fit: cover; }
.dan-polaroid figcaption {
  font-family: var(--script); text-align: center; margin-top: .4rem; font-size: 1.3rem;
}
.dan-ticks {
  position: absolute; left: 6vw; right: 6vw; bottom: 1.6rem; z-index: 3;
  display: grid; grid-template-columns: repeat(5, 1fr); gap: .6rem;
}
.dan-ticks button {
  width: 100%; background: transparent; border: 0; color: rgba(246,238,228,.5);
  text-align: left; padding: .4rem 0 0; cursor: pointer;
  font-size: .72rem; letter-spacing: .08em;
}
.dan-ticks b { display: block; font-family: var(--serif); font-size: 1.05rem; font-weight: 500; }
.dan-ticks li.is-active button { color: var(--gold-2); }
.dan-ribbon {
  position: absolute; left: 6vw; right: 6vw; bottom: 4.6rem; height: 1px;
  background: rgba(246,238,228,.2); z-index: 3;
}
.dan-ribbon span {
  display: block; height: 2px; width: 0%; background: var(--gold);
  box-shadow: 0 0 12px rgba(196,160,106,.6);
}

/* storitve */
.storitve { padding: 7rem 0; background: var(--cream); }
.place-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem;
}
.place-card {
  background: var(--ivory); padding: 1.8rem 1.5rem 1.6rem;
  border: 1px solid rgba(196,160,106,.28);
  position: relative; min-height: 240px;
  box-shadow: 0 10px 30px rgba(30,23,20,.05);
  transition: transform .5s var(--ease), box-shadow .5s;
}
.place-card::before {
  content: ""; position: absolute; inset: 8px; border: 1px dashed rgba(196,160,106,.35); pointer-events: none;
}
.place-card[data-open-booking] { cursor: pointer; }
.place-card:hover { transform: translateY(-8px) rotate(-.4deg); box-shadow: 0 24px 50px rgba(30,23,20,.12); }
.place-no { font-family: var(--serif); color: var(--gold); font-size: 1.4rem; }
.place-card h3 { font-size: 1.7rem; margin: .4rem 0 .7rem; }
.place-card p { color: var(--muted); font-size: .95rem; }
.place-ribbon {
  position: absolute; top: 1.1rem; right: -6px;
  background: var(--wine); color: var(--silk);
  font-size: .62rem; letter-spacing: .16em; text-transform: uppercase;
  padding: .3rem .7rem;
}

/* album — pinned horizontal */
.album {
  position: relative; background: var(--ink); color: var(--silk);
}
.album-sticky {
  height: 100svh; display: flex; flex-direction: column; justify-content: flex-end;
  padding: calc(var(--header) + 1.2rem) 0 2.4rem; overflow: hidden;
}
.album .eyebrow { color: var(--gold-2); }
.album .section-title { margin-bottom: .4rem; }
.album .section-title em { color: var(--blush); }
.album .section-lead { color: rgba(246,238,228,.7); }
.album-head { margin-bottom: 1.4rem; }
.album-head-row {
  display: flex; align-items: baseline; justify-content: space-between; gap: 1rem;
}
.album-index {
  font-size: .72rem; letter-spacing: .28em; text-transform: uppercase;
  color: var(--gold-2); margin: 0; white-space: nowrap;
}
.album-hint {
  margin: .7rem 0 0; font-size: .68rem; letter-spacing: .22em; text-transform: uppercase;
  color: rgba(196,160,106,.75);
}
.album-viewport { overflow: hidden; }
.album-track {
  display: flex; gap: 1.2rem; padding: 0 6vw; width: max-content;
  will-change: transform;
}
.album-shot {
  flex: 0 0 auto; width: min(420px, 72vw);
  position: relative; overflow: hidden;
}
.album-shot img {
  width: 100%; height: min(56vh, 560px); object-fit: cover;
  filter: saturate(.92); transition: transform 1.1s var(--ease), filter .5s;
}
.album-shot.is-active {
  box-shadow: 0 0 0 1px rgba(196,160,106,.5);
}
.album-shot.is-active img,
.album-shot:hover img { transform: scale(1.06); filter: saturate(1.05); }
.album-shot figcaption {
  position: absolute; left: 1rem; bottom: 1rem; right: 1rem;
  display: flex; justify-content: space-between; align-items: baseline;
  color: var(--silk); text-shadow: 0 6px 20px rgba(0,0,0,.4);
}
.album-shot span { font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; }
.album-shot b { font-family: var(--script); font-size: 1.5rem; font-weight: 400; }
.album-bar {
  margin: 1.4rem 6vw 0; height: 1px; background: rgba(246,238,228,.18);
}
.album-bar span {
  display: block; height: 2px; width: 0%;
  background: var(--gold); box-shadow: 0 0 12px rgba(196,160,106,.55);
}

/* detajli */
.detajli { padding: 5rem 0 6rem; background: var(--ivory); }
.detajli-grid {
  display: grid; grid-template-columns: 1fr 1fr 1fr; grid-template-rows: auto auto;
  gap: 1rem;
}
.detail-tile {
  position: relative; overflow: hidden; background: var(--cream);
}
.detail-tile img {
  width: 100%; height: 280px; object-fit: cover;
  transition: transform 1s var(--ease);
}
.detail-tile.tall { grid-row: span 2; }
.detail-tile.tall img { height: 100%; min-height: 420px; }
.detail-tile:hover img { transform: scale(1.07); }
.detail-tile figcaption {
  position: absolute; left: 1rem; bottom: 1rem;
  font-family: var(--script); font-size: 1.6rem; color: var(--silk);
  text-shadow: 0 4px 16px rgba(0,0,0,.4);
}
.detail-note { padding: 2rem 1rem 1rem; }
.detail-note h3 { font-size: 2.4rem; margin-bottom: .8rem; }

/* potek — pinned, title + steps aligned */
.potek { position: relative; background: var(--cream); }
.potek-sticky {
  height: 100svh; display: flex; flex-direction: column; justify-content: center;
  padding: calc(var(--header) + 1.5rem) 0 3.2rem; overflow: hidden;
}
.potek-layout {
  display: grid; grid-template-columns: minmax(240px, 0.92fr) minmax(280px, 1.08fr);
  gap: 3.5rem 5rem; align-items: center;
}
.potek-head { max-width: 28ch; }
.potek-head .section-title { margin-bottom: .9rem; }
.potek-head .section-lead { margin-bottom: 1.6rem; }
.potek-index {
  font-family: var(--serif); font-size: 2.4rem; color: var(--wine);
  letter-spacing: .04em; margin: 0;
}
.thread { position: relative; margin: 0; }
.thread::before {
  content: ""; position: absolute; left: 28px; top: .4rem; bottom: .4rem; width: 1px;
  background: linear-gradient(var(--gold), var(--blush), var(--sage));
}
.thread li {
  display: grid; grid-template-columns: 56px 1fr; gap: 1.2rem;
  padding: .7rem 0; position: relative;
  opacity: .32; transform: translateY(8px);
  transition: opacity .45s var(--ease), transform .45s var(--ease);
}
.thread li.is-done { opacity: .55; transform: none; }
.thread li.is-active {
  opacity: 1 !important; transform: none;
}
.thread-no {
  width: 56px; height: 56px; border-radius: 50%;
  border: 1px solid var(--gold); background: var(--ivory);
  display: grid; place-items: center;
  font-family: var(--serif); color: var(--wine);
  transition: background .4s, color .4s, box-shadow .4s, border-color .4s;
}
.thread li.is-active .thread-no {
  background: var(--wine); color: var(--silk); border-color: var(--wine);
  box-shadow: 0 10px 24px rgba(107,51,66,.28);
}
.thread h3 { font-size: 1.8rem; margin-bottom: .3rem; }
.thread p { color: var(--muted); margin: 0; }
.potek-ribbon {
  width: min(1180px, calc(100% - 2.5rem)); margin: 1.6rem auto 0;
  height: 1px; background: rgba(30,23,20,.12);
}
.potek-ribbon span {
  display: block; height: 2px; width: 0%;
  background: linear-gradient(90deg, var(--wine), var(--gold));
}

/* zgodbe */
.zgodbe { padding: 6rem 0; background: var(--ivory); }
.story-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.story-card {
  background: var(--cream); padding: 1.8rem 1.5rem;
  border-top: 3px solid var(--gold);
  margin: 0;
  transition: transform .5s var(--ease);
}
.story-card:hover { transform: translateY(-8px); }
.story-card p { font-family: var(--serif); font-size: 1.35rem; line-height: 1.35; }
.story-card footer { display: flex; align-items: center; gap: .7rem; margin-top: 1.2rem; }
.story-card img { width: 42px; height: 42px; object-fit: cover; border-radius: 50%; }
.story-card cite { font-style: normal; font-size: .85rem; color: var(--muted); }

/* booking band */
.book-band {
  display: grid; grid-template-columns: 0.95fr 1.05fr; min-height: 62vh;
  background: var(--ink); color: var(--silk);
}
.book-band-media { overflow: hidden; }
.book-band-media img {
  width: 100%; height: 100%; object-fit: cover; min-height: 360px;
  transition: transform 1.2s var(--ease);
}
.book-band:hover .book-band-media img { transform: scale(1.05); }
.book-band-copy {
  padding: 4.5rem 7vw; display: grid; align-content: center; justify-items: start; gap: .2rem;
}
.book-band .eyebrow { color: var(--gold-2); }
.book-band .section-title em { color: var(--blush); }
.book-band .body-text { color: rgba(246,238,228,.72); margin-bottom: 1.4rem; }
.book-band .btn { width: auto; }

/* faq */
.faq { padding: 5rem 0 6rem; background: var(--cream); }
.faq-wrap {
  display: grid; grid-template-columns: minmax(240px, 0.92fr) minmax(280px, 1.08fr);
  gap: 3.5rem 5rem; align-items: start;
}
.faq-wrap .section-head { position: sticky; top: calc(var(--header) + 1.5rem); max-width: 28ch; }
.faq-list { max-width: none; }
.faq-list details {
  border-bottom: 1px solid var(--line); padding: .4rem 0;
}
.faq-list summary {
  cursor: pointer; list-style: none; font-family: var(--serif);
  font-size: 1.5rem; padding: 1rem 2.2rem 1rem 0; position: relative;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: ""; position: absolute; right: .2rem; top: 50%; width: 14px; height: 14px;
  border: 1.5px solid var(--gold); border-radius: 50%;
  transform: translateY(-50%);
  box-shadow: inset 0 0 0 3px var(--ivory);
  transition: box-shadow .3s, background .3s;
}
.faq-list details[open] summary::after {
  background: var(--gold); box-shadow: inset 0 0 0 3px var(--ivory), 0 0 0 4px rgba(196,160,106,.2);
}
.faq-list details p { color: var(--muted); padding: 0 0 1rem; max-width: 60ch; }

/* kontakt */
.kontakt { padding: 6rem 0 7rem; background: var(--ink); color: var(--silk); }
.kontakt .eyebrow { color: var(--gold-2); }
.kontakt .section-title em { color: var(--blush); }
.kontakt .body-text { color: rgba(246,238,228,.72); }
.kontakt-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 3rem; align-items: start; }
.contact-meta { margin-top: 2rem; display: grid; gap: 1rem; }
.contact-meta span {
  display: block; font-size: .68rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-2);
}
.contact-meta a, .contact-meta address { font-family: var(--serif); font-size: 1.35rem; }
.rsvp-card {
  background: var(--ivory); color: var(--ink); padding: 2.2rem 1.8rem 1.8rem;
  position: relative;
  box-shadow: 0 30px 80px rgba(0,0,0,.35);
  border: 1px solid rgba(196,160,106,.35);
}
.rsvp-card::before {
  content: ""; position: absolute; inset: 10px; border: 1px dashed rgba(196,160,106,.4); pointer-events: none;
}
.rsvp-seal {
  position: absolute; top: -22px; right: 28px; width: 52px; height: 52px;
  border-radius: 50%; background: radial-gradient(circle at 35% 30%, #d46a6a, var(--wine));
  color: var(--silk); display: grid; place-items: center;
  font-family: var(--script); font-size: 1.6rem;
  box-shadow: 0 8px 18px rgba(107,51,66,.4);
}
.rsvp-head {
  font-family: var(--serif); font-size: 1.6rem; text-align: center; margin-bottom: 1.2rem;
}
.rsvp-card label { display: grid; gap: .35rem; margin-bottom: .85rem; font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.rsvp-card input, .rsvp-card select, .rsvp-card textarea {
  border: 0; border-bottom: 1px solid var(--line); background: transparent;
  padding: .55rem 0; font-size: 1rem; color: var(--ink); text-transform: none; letter-spacing: 0;
  outline: none; width: 100%;
}
.rsvp-card textarea { resize: vertical; min-height: 90px; }
.rsvp-card input:focus, .rsvp-card select:focus, .rsvp-card textarea:focus {
  border-bottom-color: var(--gold);
}
.rsvp-row { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; }
.hp { position: absolute; left: -9999px; height: 0; overflow: hidden; }
.gdpr-check {
  display: flex !important; flex-direction: row; align-items: flex-start; gap: .6rem;
  text-transform: none !important; letter-spacing: 0 !important; font-size: .82rem !important;
  color: var(--muted); margin: 1rem 0;
}
.gdpr-check input { width: auto; margin-top: .2rem; }
.gdpr-check a { color: var(--wine); text-decoration: underline; }
.form-status { min-height: 1.2em; font-size: .9rem; margin-top: .6rem; }
.form-status.is-ok { color: var(--sage); }
.form-status.is-err { color: var(--wine); }

/* footer */
.site-footer { background: #140f0d; color: rgba(246,238,228,.7); padding: 3rem 0 2rem; }
.footer-grid { display: grid; gap: 1.5rem; }
.footer-brand .logo-word { color: var(--silk); }
.footer-nav { display: flex; flex-wrap: wrap; gap: .8rem 1.4rem; }
.footer-nav a, .footer-cookie-link {
  background: none; border: 0; color: var(--gold-2); font-size: .85rem; padding: 0; cursor: pointer;
}
.footer-bottom { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-size: .8rem; }
.footer-bottom a { color: var(--gold); }

/* cookie notice (base; chatbot css may override) */
.cookie-notice {
  position: fixed; left: 50%; bottom: 18px; z-index: 9000;
  transform: translate(-50%, 12px); max-width: min(540px, calc(100vw - 120px));
  background: var(--ink); color: var(--silk); border: 1px solid rgba(196,160,106,.3);
  padding: .55rem .75rem; border-radius: 999px; opacity: 0; transition: .3s;
  box-shadow: 0 16px 40px rgba(0,0,0,.35);
}
.cookie-notice.is-visible { opacity: 1; transform: translate(-50%, 0); }
.cookie-notice__inner { display: flex; gap: .75rem; align-items: center; }
.cookie-notice__text { margin: 0; font-size: .75rem; color: rgba(246,238,228,.75); }
.cookie-notice__text a { color: var(--gold); }
.cookie-notice__btn {
  background: var(--gold); color: var(--ink); border: 0; padding: .45rem .9rem;
  border-radius: 999px; cursor: pointer; flex-shrink: 0;
}

/* privacy page extras live in privacy.css */

@media (max-width: 980px) {
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: block; margin-left: auto; }
  .atelje-grid, .kontakt-grid, .dan-ui, .potek-layout, .faq-wrap, .book-band { grid-template-columns: 1fr; }
  .book-band-media img { min-height: 240px; max-height: 42vh; }
  .book-band-copy { padding: 2.4rem 1.4rem 3.2rem; }
  .place-grid, .story-grid, .detajli-grid { grid-template-columns: 1fr 1fr; }
  .dan-right { display: none; }
  .dan-ui { align-items: center; padding-bottom: 8rem; }
  .hero-meta { display: none; }
  .faq-wrap .section-head { position: static; }
  .potek-head { max-width: none; }
  .potek-sticky { height: 100vh; justify-content: flex-start; padding-top: calc(var(--header) + 1.2rem); }
  .album-shot img { height: min(48vh, 420px); }
}
@media (max-width: 640px) {
  .place-grid, .story-grid, .detajli-grid, .rsvp-row { grid-template-columns: 1fr; }
  .hero-inner { padding: 0 1.25rem 16vh; }
  .album-shot img { height: min(42vh, 360px); }
  .album-head-row { flex-direction: column; align-items: flex-start; gap: .2rem; }
  .dan { height: 420vh; }
  .thread li { padding: .45rem 0; }
  .thread h3 { font-size: 1.45rem; }
  .thread li p {
    max-height: 0; overflow: hidden; opacity: 0;
    transition: max-height .4s var(--ease), opacity .4s;
  }
  .thread li.is-active p { max-height: 8em; opacity: 1; }
  .potek-head .section-lead { display: none; }
  .potek-index { font-size: 1.6rem; }
  .dan-ticks b { font-size: .9rem; }
  .dan-ticks span { display: none; }
  .dan-title { font-size: 3.2rem; }
  .cookie-notice {
    left: 12px; right: 12px; max-width: none; bottom: 86px; border-radius: 16px;
    transform: translateY(12px);
  }
  .cookie-notice.is-visible { transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important; transition: none !important;
  }
  .hero-media img { transform: none; }
  .dan { height: auto; }
  .dan-sticky { position: relative; height: auto; }
  .album-sticky, .potek-sticky { height: auto; }
  .thread li { opacity: 1; transform: none; }
}

html.cms-preview .page-loader { display: none !important; }
html.cms-preview .petal-field, html.cms-preview .cursor { display: none !important; }
