/* ============================================================
   PRIAMOS CAFFE — high-end motion redesign (demo)
   Static, no build. GSAP + ScrollTrigger + Lenis via CDN.
   ============================================================ */

:root {
  --bg: #0A0705;
  --bg-2: #120E0A;
  --panel: #1A140E;
  --panel-2: #211913;
  --cream: #F3EADC;
  --cream-dim: #CDC1AF;
  --muted: #8E8171;
  --gold: #C9955C;
  --gold-bright: #E5BA82;
  --gold-deep: #8F6837;
  --line: rgba(243, 234, 220, 0.1);
  --font-display: "Cinzel", "Times New Roman", serif;
  --font-accent: "Cormorant Garamond", Georgia, serif;
  --font-body: "Inter", -apple-system, "Helvetica Neue", sans-serif;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --gutter: clamp(20px, 4vw, 64px);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: auto; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }

body {
  background: var(--bg);
  color: var(--cream);
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

::selection { background: var(--gold); color: var(--bg); }

img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; background: none; border: 0; color: inherit; cursor: pointer; }
ul { list-style: none; }

h1, h2, h3, .display {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}

/* ---------- grain + ambient ---------- */
.grain {
  position: fixed; inset: -50%;
  width: 200%; height: 200%;
  pointer-events: none;
  z-index: 9000;
  opacity: 0.055;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='240' height='240' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
  animation: grain 8s steps(10) infinite;
}
@keyframes grain {
  0%, 100% { transform: translate(0, 0); }
  20% { transform: translate(-3%, 2%); }
  40% { transform: translate(2%, -3%); }
  60% { transform: translate(-2%, -2%); }
  80% { transform: translate(3%, 3%); }
}

/* ---------- preloader ---------- */
#preloader {
  position: fixed; inset: 0;
  background: var(--bg);
  z-index: 10000;
  display: flex; align-items: center; justify-content: center;
}
#preloader .pre-inner { text-align: center; }
#preloader .pre-logo {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.2rem, 7vw, 4.6rem);
  letter-spacing: 0.22em;
  text-indent: 0.22em;
  color: var(--cream);
  overflow: hidden;
}
#preloader .pre-logo span { display: inline-block; transform: translateY(110%); }
#preloader .pre-sub {
  margin-top: 10px;
  font-family: var(--font-accent);
  font-style: italic;
  font-size: 1.05rem;
  color: var(--gold);
  letter-spacing: 0.08em;
  opacity: 0;
}
#preloader .pre-count {
  position: absolute;
  right: clamp(20px, 5vw, 70px);
  bottom: clamp(16px, 4vw, 54px);
  font-family: var(--font-display);
  font-size: clamp(3rem, 9vw, 7rem);
  font-weight: 400;
  color: var(--gold-deep);
  line-height: 1;
}
#preloader .pre-line {
  position: absolute; left: 0; bottom: 0;
  height: 2px; width: 0%;
  background: var(--gold);
}

/* ---------- custom cursor ---------- */
.cursor, .cursor-ring {
  position: fixed; top: 0; left: 0;
  pointer-events: none;
  z-index: 9500;
  border-radius: 50%;
  transform: translate(-50%, -50%);
}
.cursor {
  width: 8px; height: 8px;
  background: var(--gold-bright);
}
.cursor-ring {
  width: 44px; height: 44px;
  border: 1px solid rgba(201, 149, 92, 0.5);
  transition: width 0.35s var(--ease-out), height 0.35s var(--ease-out),
              background-color 0.35s, border-color 0.35s;
  display: flex; align-items: center; justify-content: center;
}
.cursor-ring .cursor-label {
  font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--bg); opacity: 0; transition: opacity 0.25s;
  font-weight: 600; font-family: var(--font-body);
}
.cursor-ring.is-active {
  width: 92px; height: 92px;
  background: var(--gold-bright);
  border-color: var(--gold-bright);
}
.cursor-ring.is-active .cursor-label { opacity: 1; }
@media (hover: none), (pointer: coarse) {
  .cursor, .cursor-ring { display: none; }
}

/* ---------- scroll progress ---------- */
.progress {
  position: fixed; top: 0; left: 0;
  height: 2px; width: 100%;
  transform-origin: 0 0;
  transform: scaleX(0);
  background: linear-gradient(90deg, var(--gold-deep), var(--gold-bright));
  z-index: 8000;
}

/* ---------- header ---------- */
.site-head {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 7000;
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px var(--gutter);
  transition: transform 0.5s var(--ease-out), background-color 0.4s, backdrop-filter 0.4s;
}
.site-head.is-hidden { transform: translateY(-110%); }
.site-head.is-solid {
  background: rgba(10, 7, 5, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.brand {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: 0.28em;
  color: var(--cream);
  display: flex; align-items: baseline; gap: 10px;
  z-index: 2;
}
.brand em {
  font-family: var(--font-accent);
  font-style: italic; font-weight: 500;
  font-size: 0.85rem; letter-spacing: 0.12em;
  color: var(--gold);
  text-transform: none;
}
.head-nav { display: flex; gap: clamp(18px, 3vw, 42px); }
.head-nav a {
  font-size: 0.78rem; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--cream-dim);
  position: relative; padding: 4px 0;
  transition: color 0.3s;
}
.head-nav a::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 100%; height: 1px; background: var(--gold);
  transform: scaleX(0); transform-origin: 100% 0;
  transition: transform 0.45s var(--ease-out);
}
.head-nav a:hover, .head-nav a.is-current { color: var(--cream); }
.head-nav a:hover::after, .head-nav a.is-current::after {
  transform: scaleX(1); transform-origin: 0 0;
}
.head-cta {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.75rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--bg); background: var(--gold);
  padding: 11px 22px; border-radius: 100px;
  font-weight: 600;
  transition: background-color 0.3s, transform 0.3s;
}
.head-cta:hover { background: var(--gold-bright); }

.burger {
  display: none;
  width: 44px; height: 44px;
  position: relative; z-index: 9600;
}
.burger span {
  position: absolute; left: 10px; right: 10px;
  height: 1.5px; background: var(--cream);
  transition: transform 0.4s var(--ease-out), top 0.4s var(--ease-out), opacity 0.3s;
}
.burger span:nth-child(1) { top: 17px; }
.burger span:nth-child(2) { top: 26px; }
.menu-open .burger span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.menu-open .burger span:nth-child(2) { top: 21px; transform: rotate(-45deg); }

/* ---------- fullscreen menu ---------- */
.menu-overlay {
  position: fixed; inset: 0;
  background: var(--bg-2);
  z-index: 9400;
  clip-path: inset(0 0 100% 0);
  visibility: hidden;
  display: flex; flex-direction: column; justify-content: center;
  padding: 0 var(--gutter);
}
.menu-overlay .menu-link {
  display: block; overflow: hidden;
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 8vw, 5.5rem);
  font-weight: 700; text-transform: uppercase;
  line-height: 1.14;
  color: var(--cream);
  width: fit-content;
}
.menu-overlay .menu-link > span { display: inline-block; transform: translateY(110%); }
.menu-overlay .menu-link:hover { color: var(--gold); }
.menu-overlay .menu-meta {
  margin-top: 5vh;
  display: flex; gap: 32px; flex-wrap: wrap;
  color: var(--muted); font-size: 0.85rem;
  opacity: 0;
}
.menu-overlay .menu-meta a { color: var(--gold); }

@media (max-width: 900px) {
  .head-nav, .head-cta { display: none; }
  .burger { display: block; }
}

/* ---------- layout helpers ---------- */
.section { position: relative; padding: clamp(90px, 14vh, 180px) var(--gutter); }
.wrap { max-width: 1480px; margin: 0 auto; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 14px;
  font-family: var(--font-accent); font-style: italic;
  font-size: clamp(1rem, 1.6vw, 1.25rem);
  color: var(--gold);
  letter-spacing: 0.06em;
  margin-bottom: 26px;
}
.eyebrow::before {
  content: ""; width: 46px; height: 1px; background: var(--gold-deep);
}
.h-xl { font-size: clamp(2.6rem, 6.5vw, 5.6rem); }
.h-lg { font-size: clamp(2rem, 4.6vw, 3.8rem); }
.h-md { font-size: clamp(1.3rem, 2.4vw, 1.9rem); }
.lead {
  font-size: clamp(1.02rem, 1.5vw, 1.22rem);
  color: var(--cream-dim);
  max-width: 58ch;
}
.small-caps {
  font-size: 0.74rem; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--muted); font-weight: 500;
}

/* split text (word-mask reveal) */
.split-line { overflow: hidden; display: inline-block; vertical-align: top; }
.split-line .line-inner { display: inline-block; }
[data-split-chars] .char { display: inline-block; }

/* buttons */
.btn {
  position: relative;
  display: inline-flex; align-items: center; gap: 12px;
  padding: 17px 36px;
  border-radius: 100px;
  font-size: 0.8rem; font-weight: 600;
  letter-spacing: 0.16em; text-transform: uppercase;
  overflow: hidden;
  isolation: isolate;
  transition: color 0.35s;
}
.btn .btn-fill {
  position: absolute; inset: 0; z-index: -1;
  border-radius: 100px;
  transform: translateY(101%);
  transition: transform 0.5s var(--ease-out);
}
.btn:hover .btn-fill { transform: translateY(0); }
.btn-gold { background: var(--gold); color: var(--bg); }
.btn-gold .btn-fill { background: var(--cream); }
.btn-ghost { border: 1px solid rgba(243, 234, 220, 0.28); color: var(--cream); }
.btn-ghost .btn-fill { background: var(--gold); }
.btn-ghost:hover { color: var(--bg); border-color: var(--gold); }
.btn svg { width: 15px; height: 15px; flex: none; }

/* media frames */
.frame {
  position: relative; overflow: hidden;
  border-radius: 6px;
  background: var(--panel);
}
.frame img, .frame video {
  width: 100%; height: 100%; object-fit: cover;
  will-change: transform;
}
[data-clip] { clip-path: inset(100% 0 0 0); }
[data-clip] img { transform: scale(1.28); }

/* marquee */
.marquee {
  overflow: hidden; white-space: nowrap;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 18px 0;
  display: flex;
}
.marquee .mq-track {
  display: flex; flex: none; gap: 0;
  animation: mq 30s linear infinite;
}
.marquee.mq-fast .mq-track { animation-duration: 18s; }
.marquee .mq-item {
  font-family: var(--font-display);
  font-size: clamp(0.9rem, 1.6vw, 1.25rem);
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--cream-dim);
  padding: 0 28px;
  display: inline-flex; align-items: center; gap: 56px;
}
.marquee .mq-item::after {
  content: "✦"; color: var(--gold); font-size: 0.8em;
}
@keyframes mq { to { transform: translateX(-50%); } }

/* ============================================================
   HERO
   ============================================================ */
#hero {
  position: relative;
  min-height: 100svh;
  display: flex; flex-direction: column; justify-content: flex-end;
  overflow: hidden;
  padding: 0;
}
.hero-bg {
  position: absolute; inset: 0;
  z-index: 0;
}
.hero-bg img, .hero-bg video {
  width: 100%; height: 100%; object-fit: cover;
  object-position: center 62%;
  opacity: 0.5;
  transform: scale(1.15);
  will-change: transform;
}
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 70% 55% at 50% 108%, rgba(201, 149, 92, 0.22), transparent 60%),
    linear-gradient(180deg, rgba(10, 7, 5, 0.9) 0%, rgba(10, 7, 5, 0.35) 40%, rgba(10, 7, 5, 0.82) 88%);
}
.hero-inner {
  position: relative; z-index: 2;
  padding: 0 var(--gutter);
  width: 100%;
  max-width: 1600px;
  margin: 0 auto;
  flex: 1;
  display: flex; flex-direction: column; justify-content: center;
  padding-top: 14vh;
}
.hero-eyebrow {
  font-family: var(--font-accent); font-style: italic;
  font-size: clamp(1.05rem, 2vw, 1.5rem);
  color: var(--gold-bright);
  letter-spacing: 0.05em;
  margin-bottom: 2vh;
}
.hero-title {
  font-size: clamp(3.4rem, 13.5vw, 12.5rem);
  font-weight: 700;
  line-height: 0.94;
  letter-spacing: 0.035em;
  color: var(--cream);
  text-shadow: 0 20px 80px rgba(0, 0, 0, 0.5);
}
.hero-title .char { display: inline-block; will-change: transform; }
.hero-sub-row {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 30px; flex-wrap: wrap;
  margin-top: 4vh;
}
.hero-tag {
  font-size: clamp(1.15rem, 2.6vw, 2rem);
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--gold);
}
.hero-ctas { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-foot {
  position: relative; z-index: 2;
  margin-top: 6vh;
}
.hero-scroll {
  position: absolute;
  right: var(--gutter);
  bottom: calc(100% + 22px);
  display: flex; align-items: center; gap: 12px;
  font-size: 0.7rem; letter-spacing: 0.26em; text-transform: uppercase;
  color: var(--muted);
}
.hero-scroll .dot {
  width: 34px; height: 52px;
  border: 1px solid rgba(243, 234, 220, 0.3);
  border-radius: 20px;
  position: relative;
}
.hero-scroll .dot::after {
  content: ""; position: absolute; left: 50%; top: 9px;
  width: 4px; height: 8px; border-radius: 3px;
  background: var(--gold);
  transform: translateX(-50%);
  animation: scrolldot 1.8s var(--ease-out) infinite;
}
@keyframes scrolldot {
  0% { opacity: 0; transform: translate(-50%, 0); }
  35% { opacity: 1; }
  100% { opacity: 0; transform: translate(-50%, 18px); }
}

/* ============================================================
   MANIFEST (intro statement)
   ============================================================ */
#manifest { background: var(--bg); }
.manifest-grid {
  display: grid;
  grid-template-columns: 1fr minmax(0, 340px);
  gap: clamp(40px, 6vw, 110px);
  align-items: center;
}
.manifest-title {
  font-size: clamp(1.9rem, 4.4vw, 3.9rem);
  text-transform: none;
  font-weight: 600;
  line-height: 1.22;
  letter-spacing: 0;
}
.manifest-title em {
  font-family: var(--font-accent); font-style: italic; font-weight: 500;
  color: var(--gold-bright);
  letter-spacing: 0.01em;
}
.manifest-media { position: relative; }
.manifest-media .frame:first-child { aspect-ratio: 3/4; }
.manifest-media .frame.float {
  position: absolute;
  width: 58%;
  aspect-ratio: 1;
  left: -34%; bottom: -14%;
  border: 6px solid var(--bg);
  border-radius: 8px;
}
@media (max-width: 900px) {
  .manifest-grid { grid-template-columns: 1fr; }
  .manifest-media { max-width: 420px; margin-top: 20px; }
}

/* ============================================================
   JOURNEY — horizontal scroll "Od zrna do šolje"
   ============================================================ */
#put { padding: 0; background: var(--bg-2); }
.journey-head {
  padding: clamp(90px, 13vh, 160px) var(--gutter) clamp(30px, 6vh, 70px);
}
.journey-viewport { overflow: hidden; }
.journey-track {
  display: flex;
  will-change: transform;
  padding: 0 var(--gutter) clamp(80px, 12vh, 150px);
  gap: clamp(24px, 3.5vw, 60px);
  width: max-content;
}
.j-panel {
  width: clamp(300px, 66vw, 640px);
  flex: none;
  position: relative;
}
.j-panel .frame { aspect-ratio: 4/3; }
.j-panel .j-num {
  position: absolute;
  top: -0.55em; left: -10px;
  font-family: var(--font-display);
  font-size: clamp(4.4rem, 9vw, 8rem);
  font-weight: 400;
  color: transparent;
  -webkit-text-stroke: 1px var(--gold-deep);
  z-index: 3;
  line-height: 1;
  pointer-events: none;
}
.j-panel .j-body { padding: 26px 4px 0; max-width: 46ch; }
.j-panel h3 { font-size: clamp(1.35rem, 2.4vw, 2rem); margin-bottom: 10px; color: var(--cream); }
.j-panel p { color: var(--cream-dim); font-size: 0.98rem; }
.j-panel.j-final {
  display: flex; flex-direction: column; justify-content: center;
  width: clamp(300px, 60vw, 560px);
}
.j-final .display {
  font-size: clamp(1.9rem, 4vw, 3.4rem);
  line-height: 1.15;
  margin-bottom: 26px;
}
.j-final .display em {
  font-family: var(--font-accent); font-style: italic; text-transform: none;
  color: var(--gold-bright); font-weight: 500;
}

/* ============================================================
   STORY — kralj Priamos
   ============================================================ */
#prica {
  background:
    radial-gradient(ellipse 60% 50% at 85% 20%, rgba(201, 149, 92, 0.07), transparent 60%),
    var(--bg);
  overflow: hidden;
}
.story-grid {
  display: grid;
  grid-template-columns: minmax(0, 420px) 1fr;
  gap: clamp(44px, 7vw, 120px);
  align-items: center;
}
.story-media { position: relative; }
.story-media .frame {
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1px solid var(--gold-deep);
  padding: clamp(14px, 2vw, 26px);
  background: transparent;
}
.story-media .frame img {
  border-radius: 50%;
  filter: sepia(0.5) contrast(1.05) brightness(0.92);
  mix-blend-mode: luminosity;
  opacity: 0.9;
}
.story-media .story-ring {
  position: absolute; inset: -7%;
  border-radius: 50%;
  pointer-events: none;
  animation: spin 40s linear infinite;
}
.story-media .story-ring text {
  font-family: var(--font-display);
  font-size: 8.4px;
  letter-spacing: 0.42em;
  fill: var(--gold);
  text-transform: uppercase;
}
@keyframes spin { to { transform: rotate(360deg); } }
.story-quote {
  margin-top: clamp(70px, 12vh, 140px);
  text-align: center;
}
.story-quote blockquote {
  font-family: var(--font-accent); font-style: italic; font-weight: 500;
  font-size: clamp(1.6rem, 3.6vw, 3rem);
  line-height: 1.35;
  color: var(--cream);
  max-width: 26ch;
  margin: 0 auto;
}
.story-quote blockquote strong { color: var(--gold-bright); font-weight: 500; }
@media (max-width: 900px) {
  .story-grid { grid-template-columns: 1fr; }
  .story-media { max-width: 340px; margin: 0 auto; }
}

/* stats */
.stats {
  margin-top: clamp(70px, 12vh, 150px);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
}
.stat {
  padding: clamp(28px, 4vw, 52px) clamp(14px, 2vw, 34px);
  border-right: 1px solid var(--line);
}
.stat:last-child { border-right: 0; }
.stat .stat-num {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5.5vw, 4.6rem);
  font-weight: 400;
  color: var(--gold-bright);
  line-height: 1;
  display: flex; align-items: baseline;
}
.stat .stat-num sup {
  font-size: 0.4em; color: var(--gold); margin-left: 4px;
}
.stat p { margin-top: 12px; color: var(--muted); font-size: 0.85rem; letter-spacing: 0.06em; }
@media (max-width: 800px) {
  .stats { grid-template-columns: repeat(2, 1fr); border-left: 1px solid var(--line); }
  .stat { border-bottom: 1px solid var(--line); }
}

/* ============================================================
   PRODUCTS
   ============================================================ */
#proizvodi { background: var(--bg-2); }
.prod-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 30px; flex-wrap: wrap;
  margin-bottom: clamp(44px, 7vh, 90px);
}
.prod-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(16px, 2vw, 30px);
}
.prod-card {
  position: relative;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  transform-style: preserve-3d;
  transition: border-color 0.4s;
}
.prod-card:hover { border-color: var(--gold-deep); }
.prod-card .frame {
  aspect-ratio: 4/5;
  border-radius: 0;
  background: #241C13;
}
.prod-card .frame img { transition: transform 0.8s var(--ease-out); }
.prod-card:hover .frame img { transform: scale(1.07); }
.prod-card .prod-body { padding: 22px 22px 26px; }
.prod-card .prod-tag {
  position: absolute; top: 14px; left: 14px; z-index: 2;
  font-size: 0.62rem; letter-spacing: 0.2em; text-transform: uppercase;
  background: rgba(10, 7, 5, 0.65); backdrop-filter: blur(6px);
  color: var(--gold-bright);
  padding: 7px 13px; border-radius: 100px;
  border: 1px solid rgba(201, 149, 92, 0.35);
}
.prod-card h3 { font-size: 1.05rem; letter-spacing: 0.08em; }
.prod-card .prod-meta {
  display: flex; justify-content: space-between; align-items: center;
  margin-top: 12px;
}
.prod-card .prod-price {
  font-family: var(--font-display);
  color: var(--gold-bright); font-size: 1.15rem;
}
.prod-card .prod-weight { color: var(--muted); font-size: 0.8rem; letter-spacing: 0.12em; }
@media (max-width: 1000px) { .prod-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .prod-grid { grid-template-columns: 1fr; } }

/* ============================================================
   EL CARTEL
   ============================================================ */
#cartel {
  background: #080604;
  overflow: hidden;
  padding-left: 0; padding-right: 0;
}
.cartel-head { padding: 0 var(--gutter); }
.cartel-grid {
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(40px, 6vw, 100px);
  align-items: center;
  margin-top: clamp(44px, 7vh, 80px);
}
.cartel-media { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.cartel-media .frame:nth-child(1) { aspect-ratio: 3/4.4; margin-top: 12%; }
.cartel-media .frame:nth-child(2) { aspect-ratio: 3/4.4; }
.cartel-title-outline {
  font-family: var(--font-display);
  font-size: clamp(3rem, 10vw, 9rem);
  line-height: 1;
  text-transform: uppercase;
  color: transparent;
  -webkit-text-stroke: 1px rgba(201, 149, 92, 0.55);
  white-space: nowrap;
  letter-spacing: 0.06em;
}
.cartel-blends { margin-top: 34px; border-top: 1px solid var(--line); }
.cartel-blends li {
  display: flex; justify-content: space-between; align-items: baseline;
  padding: 15px 2px;
  border-bottom: 1px solid var(--line);
  gap: 16px;
  transition: padding-left 0.35s var(--ease-out), background-color 0.35s;
}
.cartel-blends li:hover { padding-left: 14px; background: rgba(201, 149, 92, 0.05); }
.cartel-blends .bl-name {
  font-family: var(--font-display); font-size: 1rem; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--cream);
}
.cartel-blends .bl-dots {
  flex: 1; border-bottom: 1px dotted rgba(243, 234, 220, 0.22);
  transform: translateY(-4px);
}
.cartel-blends .bl-price { color: var(--gold-bright); font-size: 0.92rem; white-space: nowrap; }
@media (max-width: 900px) { .cartel-grid { grid-template-columns: 1fr; } }

/* ============================================================
   VIDEO / UGOSTITELJI CTA
   ============================================================ */
#lokal {
  position: relative;
  min-height: 92svh;
  display: flex; align-items: center; justify-content: center;
  text-align: center;
  overflow: hidden;
  padding: 20vh var(--gutter);
}
#lokal .lokal-bg { position: absolute; inset: 0; }
#lokal .lokal-bg video, #lokal .lokal-bg img {
  width: 100%; height: 100%; object-fit: cover;
  opacity: 0.42;
  transform: scale(1.12);
  will-change: transform;
}
#lokal .lokal-bg::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(ellipse 80% 70% at 50% 50%, rgba(10, 7, 5, 0.25), rgba(10, 7, 5, 0.88));
}
.lokal-inner { position: relative; z-index: 2; }
.lokal-inner .h-xl { max-width: 16ch; margin: 0 auto 22px; }
.lokal-inner .h-xl em {
  font-family: var(--font-accent); font-style: italic;
  text-transform: none; color: var(--gold-bright); font-weight: 500;
}
.lokal-inner .lead { margin: 0 auto 40px; }

/* ============================================================
   TESTIMONIALS + FAQ
   ============================================================ */
.testi-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(20px, 3vw, 40px);
  margin-top: clamp(40px, 6vh, 70px);
}
.testi {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: clamp(28px, 4vw, 48px);
}
.testi .t-quote {
  font-family: var(--font-accent); font-style: italic;
  font-size: clamp(1.2rem, 2vw, 1.55rem);
  line-height: 1.5; color: var(--cream);
}
.testi .t-author {
  margin-top: 22px;
  display: flex; align-items: center; gap: 12px;
  color: var(--muted); font-size: 0.85rem; letter-spacing: 0.1em; text-transform: uppercase;
}
.testi .t-author::before { content: ""; width: 30px; height: 1px; background: var(--gold); }
.testi .t-stars { color: var(--gold-bright); letter-spacing: 4px; margin-bottom: 18px; font-size: 0.95rem; }
@media (max-width: 800px) { .testi-grid { grid-template-columns: 1fr; } }

.faq-list { margin-top: clamp(36px, 6vh, 64px); border-top: 1px solid var(--line); max-width: 900px; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 26px 4px;
  font-family: var(--font-display);
  font-size: clamp(1rem, 1.8vw, 1.3rem);
  letter-spacing: 0.06em; text-transform: uppercase;
  transition: color 0.3s;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--gold-bright); }
.faq-item summary .faq-x {
  flex: none; width: 16px; height: 16px; position: relative;
  transition: transform 0.4s var(--ease-out);
}
.faq-item summary .faq-x::before, .faq-item summary .faq-x::after {
  content: ""; position: absolute; background: var(--gold); inset: 0; margin: auto;
}
.faq-item summary .faq-x::before { width: 100%; height: 1.5px; }
.faq-item summary .faq-x::after { width: 1.5px; height: 100%; }
.faq-item[open] summary .faq-x { transform: rotate(45deg); }
.faq-item .faq-a { padding: 0 4px 28px; color: var(--cream-dim); max-width: 70ch; }

/* ============================================================
   PAGE HERO (subpages)
   ============================================================ */
.page-hero {
  padding: calc(14vh + 60px) var(--gutter) clamp(50px, 9vh, 110px);
  position: relative; overflow: hidden;
}
.page-hero .h-xl { max-width: 14ch; }
.page-hero .lead { margin-top: 24px; }
.page-hero.has-bg { min-height: 62svh; display: flex; flex-direction: column; justify-content: flex-end; }
.page-hero .ph-bg { position: absolute; inset: 0; z-index: -1; }
.page-hero .ph-bg img {
  width: 100%; height: 100%; object-fit: cover; opacity: 0.34;
  transform: scale(1.12); will-change: transform;
}
.page-hero .ph-bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10, 7, 5, 0.85), rgba(10, 7, 5, 0.3) 45%, var(--bg) 96%);
}

/* ---------- packages (ugostitelji) ---------- */
.pack-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 2vw, 30px);
  align-items: stretch;
}
.pack {
  position: relative;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: clamp(30px, 3.6vw, 50px);
  display: flex; flex-direction: column;
  overflow: hidden;
  transition: transform 0.5s var(--ease-out), border-color 0.4s;
}
.pack:hover { transform: translateY(-8px); border-color: var(--gold-deep); }
.pack.is-featured {
  background: linear-gradient(160deg, #241A10, #171009);
  border-color: var(--gold-deep);
}
.pack .pack-badge {
  position: absolute; top: 20px; right: 20px;
  font-size: 0.62rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--bg); background: var(--gold);
  padding: 6px 12px; border-radius: 100px; font-weight: 600;
}
.pack h3 { font-size: clamp(1.3rem, 2vw, 1.7rem); color: var(--gold-bright); }
.pack .pack-kg {
  font-family: var(--font-accent); font-style: italic;
  color: var(--cream-dim); margin: 8px 0 26px; font-size: 1.05rem;
}
.pack ul { display: flex; flex-direction: column; gap: 13px; margin-bottom: 30px; }
.pack ul li {
  display: flex; gap: 12px; align-items: flex-start;
  color: var(--cream-dim); font-size: 0.93rem; line-height: 1.55;
}
.pack ul li::before {
  content: "✦"; color: var(--gold); flex: none; font-size: 0.7rem; margin-top: 5px;
}
.pack .pack-cta { margin-top: auto; }
@media (max-width: 950px) { .pack-grid { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; } }

/* price table */
.price-table { border-top: 1px solid var(--line); max-width: 860px; }
.price-table .pt-row {
  display: flex; align-items: baseline; gap: 18px;
  padding: 20px 2px; border-bottom: 1px solid var(--line);
  transition: padding-left 0.35s var(--ease-out);
}
.price-table .pt-row:hover { padding-left: 16px; }
.price-table .pt-name {
  font-family: var(--font-display); text-transform: uppercase;
  letter-spacing: 0.1em; font-size: clamp(1rem, 1.8vw, 1.35rem);
}
.price-table .pt-dots { flex: 1; border-bottom: 1px dotted rgba(243, 234, 220, 0.22); }
.price-table .pt-price {
  font-family: var(--font-display); color: var(--gold-bright);
  font-size: clamp(1rem, 1.8vw, 1.3rem); white-space: nowrap;
}

/* ---------- split feature (o nama) ---------- */
.feature-split {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(36px, 6vw, 100px); align-items: center;
}
.feature-split.flip .fs-media { order: 2; }
.fs-media .frame { aspect-ratio: 4/5; }
.fs-body .h-lg { margin-bottom: 20px; }
.fs-body p + p { margin-top: 16px; }
.fs-body p { color: var(--cream-dim); }
@media (max-width: 900px) {
  .feature-split { grid-template-columns: 1fr; }
  .feature-split.flip .fs-media { order: 0; }
}

/* beans split (arabica/robusta) */
.beans-split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(16px, 2vw, 30px); }
.bean-card {
  position: relative; border-radius: 12px; overflow: hidden;
  min-height: clamp(340px, 55vh, 520px);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: clamp(26px, 3.4vw, 46px);
  border: 1px solid var(--line);
}
.bean-card .bc-bg { position: absolute; inset: 0; z-index: -1; }
.bean-card .bc-bg img { width: 100%; height: 100%; object-fit: cover; opacity: 0.5; will-change: transform; }
.bean-card .bc-bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10, 7, 5, 0.1), rgba(10, 7, 5, 0.92));
}
.bean-card h3 { font-size: clamp(1.7rem, 3.4vw, 2.7rem); color: var(--gold-bright); }
.bean-card p { color: var(--cream-dim); max-width: 44ch; margin-top: 10px; }
@media (max-width: 800px) { .beans-split { grid-template-columns: 1fr; } }

/* gallery mosaic */
.mosaic {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: clamp(10px, 1.4vw, 22px);
}
.mosaic .frame { border-radius: 8px; }
.mosaic .m-a { grid-column: span 5; aspect-ratio: 3/4; }
.mosaic .m-b { grid-column: span 7; aspect-ratio: 16/10; }
.mosaic .m-c { grid-column: span 4; aspect-ratio: 1; }
.mosaic .m-d { grid-column: span 4; aspect-ratio: 1; }
.mosaic .m-e { grid-column: span 4; aspect-ratio: 1; }
@media (max-width: 700px) {
  .mosaic .m-a, .mosaic .m-b { grid-column: span 12; }
  .mosaic .m-c, .mosaic .m-d, .mosaic .m-e { grid-column: span 6; }
}

/* ---------- kontakt ---------- */
.contact-grid {
  display: grid; grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(40px, 6vw, 110px);
}
.contact-list { display: flex; flex-direction: column; }
.contact-item {
  padding: 26px 0; border-bottom: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 6px;
}
.contact-item:first-child { border-top: 1px solid var(--line); }
.contact-item a {
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2.4vw, 1.7rem);
  letter-spacing: 0.04em;
  color: var(--cream);
  transition: color 0.3s;
  width: fit-content;
}
.contact-item a:hover { color: var(--gold-bright); }
.contact-form { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.contact-form .field { display: flex; flex-direction: column; gap: 8px; }
.contact-form .field.full { grid-column: 1 / -1; }
.contact-form label { font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); }
.contact-form input, .contact-form textarea {
  background: transparent;
  border: 0; border-bottom: 1px solid rgba(243, 234, 220, 0.25);
  color: var(--cream);
  font: inherit;
  padding: 10px 2px 14px;
  outline: none;
  transition: border-color 0.3s;
  resize: vertical;
}
.contact-form input:focus, .contact-form textarea:focus { border-color: var(--gold); }
@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; }
  .contact-form { grid-template-columns: 1fr; }
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-foot {
  position: relative;
  background: #060403;
  border-top: 1px solid var(--line);
  padding: clamp(70px, 11vh, 140px) var(--gutter) 30px;
  overflow: hidden;
}
.foot-cta-row {
  display: flex; align-items: center; justify-content: space-between;
  gap: 34px; flex-wrap: wrap;
  margin-bottom: clamp(50px, 9vh, 100px);
}
.foot-cta-row .h-lg { max-width: 18ch; }
.foot-cta-row .h-lg em {
  font-family: var(--font-accent); font-style: italic; text-transform: none;
  color: var(--gold-bright); font-weight: 500;
}
.foot-links {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1.2fr;
  gap: 34px;
  padding-bottom: clamp(50px, 8vh, 90px);
}
.foot-links h4 {
  font-size: 0.72rem; letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 18px; font-weight: 500;
}
.foot-links ul { display: flex; flex-direction: column; gap: 10px; }
.foot-links a { color: var(--cream-dim); font-size: 0.92rem; transition: color 0.3s; }
.foot-links a:hover { color: var(--gold-bright); }
.foot-brand-desc { color: var(--muted); font-size: 0.92rem; max-width: 34ch; }
.foot-giant {
  font-family: var(--font-display);
  font-size: clamp(3.2rem, 12.5vw, 12rem);
  line-height: 0.9;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(201, 149, 92, 0.32);
  white-space: nowrap;
  user-select: none;
  transition: color 1s;
}
.foot-giant:hover { color: rgba(201, 149, 92, 0.14); }
.foot-legal {
  display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap;
  border-top: 1px solid var(--line);
  margin-top: 34px; padding-top: 22px;
  color: var(--muted); font-size: 0.78rem;
}
.foot-legal a { color: var(--muted); }
.foot-legal a:hover { color: var(--cream); }
@media (max-width: 900px) { .foot-links { grid-template-columns: 1fr 1fr; } }

/* floating WhatsApp */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 6500;
  width: 56px; height: 56px; border-radius: 50%;
  background: #1FAF52;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
  transition: transform 0.35s var(--ease-out);
}
.wa-float:hover { transform: scale(1.1); }
.wa-float svg { width: 28px; height: 28px; fill: #fff; }

/* reveal defaults (JS sets initial states; ovo je samo no-JS fallback safety) */
.no-js [data-clip] { clip-path: none; }
.no-js [data-clip] img { transform: none; }

/* reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  [data-clip] { clip-path: none; }
  [data-clip] img { transform: none; }
}
