/* ==========================================================
   SVN GRADING — original build
   tokens: bg #121212 · panel #181818 · muted #999 · gold #ffd66d
   type: Faculty Glyphic (display) · Geist (body) · IBM Plex Mono (labels)
   ========================================================== */

:root {
  --bg: #121212;
  --panel: #181818;
  --panel-edge: rgba(255, 255, 255, 0.07);
  --text: #f1f1f1;
  --muted: #999999;
  --gold: #ffd66d;
  --gold-deep: #ffbe18;
  --radius: 28px;
  --radius-sm: 16px;
  --container: 1200px;
  --gutter: 20px;
  --rhythm: 120px;
  --serif: "Faculty Glyphic", Georgia, serif;
  --body: "Geist", -apple-system, "Helvetica Neue", sans-serif;
  --mono: "IBM Plex Mono", "SF Mono", monospace;
}

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

html { scroll-behavior: smooth; }

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

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.center { text-align: center; }
.muted { color: var(--muted); }

/* ---------- type ---------- */
.h1-serif, .hero-title {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.12;
  background: linear-gradient(180deg, #ffffff 20%, #b9b9b9 75%, #8f8f8f 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-title { font-size: clamp(44px, 6.4vw, 84px); max-width: 900px; margin: 26px auto 0; }
.h1-serif { font-size: clamp(36px, 4.6vw, 62px); }

.h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(30px, 3.6vw, 48px);
  letter-spacing: -0.02em;
  line-height: 1.15;
  background: linear-gradient(180deg, #ffffff 25%, #bdbdbd 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* gradient text paints only inside the line box; give descenders room */
.hero-title, .h1-serif, .h2 { padding-bottom: 0.16em; margin-bottom: -0.16em; }

.h3 { font-size: 24px; font-weight: 500; letter-spacing: -0.01em; margin-bottom: 10px; }
.h3-serif {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(26px, 2.6vw, 36px);
  letter-spacing: -0.02em;
  margin: 14px 0 12px;
}

.section-intro { max-width: 620px; margin: 18px auto 0; }

.mono-cap {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--muted);
  text-transform: uppercase;
}
.mono-cap.gold { color: var(--gold); }

.chip {
  display: inline-block;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #c9c9c9;
  border: 1px solid var(--panel-edge);
  background: rgba(255, 255, 255, 0.03);
  border-radius: 6px;
  padding: 6px 10px;
}
.chip.small { font-size: 10px; padding: 5px 9px; color: var(--gold); border-color: rgba(255, 214, 109, 0.25); }
/* section header: chip sits clearly above the title (Anže 14 Sep: "too close") */
.chip + .h2 { margin-top: 22px; }

.link-light { color: #dcdcdc; border-bottom: 1px solid rgba(255,255,255,0.25); }
.link-light:hover { color: #fff; }

/* ---------- buttons ---------- */
.btn-gold {
  display: inline-block;
  font-family: var(--mono);
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.18em;
  color: #171102;
  background: linear-gradient(180deg, var(--gold) 0%, var(--gold-deep) 100%);
  border: none;
  border-radius: 10px;
  padding: 15px 26px;
  cursor: pointer;
  box-shadow:
    inset 0 -2px 6px rgb(61, 45, 2),
    inset 0 3px 3px rgb(241, 241, 142),
    inset 0 3px 6px rgb(241, 241, 142),
    0 8px 24px rgba(0, 0, 0, 0.45);
  transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
}
.btn-gold:hover { transform: translateY(-2px); filter: brightness(1.05); }
.btn-gold:active { transform: translateY(0); }
.btn-big { padding: 18px 34px; font-size: 14px; }
.btn-nav { padding: 16px 24px; font-size: 14px; letter-spacing: 0.1em; line-height: 20px; }

.btn-ghost {
  display: inline-block;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  color: #d9d9d9;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 10px;
  padding: 13px 22px;
  background: rgba(255, 255, 255, 0.02);
  transition: border-color 0.18s ease, background 0.18s ease, transform 0.18s ease;
}
.btn-ghost:hover { border-color: rgba(255, 255, 255, 0.4); background: rgba(255, 255, 255, 0.05); transform: translateY(-1px); }

/* ---------- panels ---------- */
.panel {
  background: var(--panel);
  border: 1px solid var(--panel-edge);
  border-radius: var(--radius);
  position: relative;
  overflow: hidden;
}

/* ---------- nav ---------- */
.nav-wrap {
  position: fixed;
  top: 24px;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 0 24px;
}
.nav {
  max-width: var(--container);
  min-height: 74px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 32px;
  background: rgba(24, 24, 24, 0.78);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--panel-edge);
  border-radius: 24px;
  padding: 11px 16px;
}
.nav-brand { display: flex; align-items: center; gap: 12px; }
.nav-logo { width: 40px; height: 40px; object-fit: contain; }
.nav-brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.nav-brand-name { font-family: var(--serif); font-size: 24px; letter-spacing: -0.01em; }
.nav-brand-sub { font-family: var(--mono); font-size: 13px; letter-spacing: 0.38em; color: var(--gold); }

.nav-links { display: flex; gap: 28px; margin-left: auto; }
.nav-links a { color: #cfcfcf; font-size: 16px; letter-spacing: -0.02em; font-weight: 400; transition: color 0.15s ease; }
.nav-links a:hover { color: #fff; }

.nav-right { display: flex; align-items: center; gap: 18px; }

.lang-toggle {
  background: none;
  border: 1px solid var(--panel-edge);
  border-radius: 8px;
  padding: 10px 12px;
  cursor: pointer;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--muted);
  display: flex;
  gap: 5px;
  align-items: center;
  transition: border-color 0.15s ease;
}
.lang-toggle:hover { border-color: rgba(255, 255, 255, 0.25); }
.lang-opt.is-active { color: var(--gold); }
.lang-sep { opacity: 0.4; }

.nav-burger { display: none; background: none; border: none; cursor: pointer; padding: 8px; margin-left: auto; }
.nav-burger span { display: block; width: 22px; height: 2px; background: #e5e5e5; margin: 5px 0; border-radius: 2px; transition: transform 0.2s ease, opacity 0.2s ease; }
.nav-burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity: 0; }
.nav-burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-mobile {
  display: none;
  max-width: var(--container);
  margin: 8px auto 0;
  background: rgba(18, 18, 18, 0.96);
  backdrop-filter: blur(14px);
  border: 1px solid var(--panel-edge);
  border-radius: 18px;
  padding: 18px;
  flex-direction: column;
  gap: 14px;
  text-align: center;
}
.nav-mobile a { color: #e0e0e0; font-size: 16px; padding: 6px 0; }
.nav-mobile a.btn-gold { color: #171102; font-size: 13px; padding: 15px 22px; margin-top: 4px; }
.nav-mobile.open { display: flex; }
.lang-toggle-mobile { justify-content: center; }

/* ---------- hero ---------- */
.hero { padding: 128px 0 var(--rhythm); position: relative; }
.hero-inner { text-align: center; }
.hero-mark { display: flex; flex-direction: column; align-items: center; }
.hero-coin {
  perspective: 900px;
  animation: heroFloat 7s ease-in-out infinite;
}
.hero-coin-inner {
  --coin-thick: 7px;
  will-change: transform;
  position: relative;
  display: inline-block;
  transform-style: preserve-3d;
  animation: coinFlip 8s cubic-bezier(0.55, 0, 0.35, 1) infinite;
}
.hero-logo { width: clamp(150px, 18vw, 200px); display: block; }
/* the two faces sit half a thickness apart, so the coin is a real solid;
   the page-coloured backdrop keeps the rim from showing through the logo art */
.coin-face {
  backface-visibility: hidden;
  background: var(--bg);
  transform: translateZ(var(--coin-thick));
}
.coin-back { position: absolute; inset: 0; transform: rotateY(180deg) translateZ(var(--coin-thick)); }
/* gold rim — kept narrower than the coin is thick, so it never touches (and z-fights
   with) the face planes; ends faded so it reads as a lit edge, not a drawn line */
.coin-edge {
  position: absolute;
  top: 12%;
  bottom: 12%;
  left: 50%;
  width: var(--coin-thick);
  margin-left: calc(var(--coin-thick) / -2);
  border-radius: 2px;
  transform: rotateY(90deg);
  background: linear-gradient(90deg, #3d2c06, #c9a24a 45%, #ffd66d 58%, #3d2c06);
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 20%, #000 80%, transparent);
  mask-image: linear-gradient(180deg, transparent, #000 20%, #000 80%, transparent);
}
@keyframes heroFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
/* one full turn, then it rests — a coin caught mid-spin, not a spinning logo */
@keyframes coinFlip {
  0% { transform: rotateY(0deg); }
  46%, 100% { transform: rotateY(360deg); }
}
.hero-sub { color: var(--muted); max-width: 760px; margin: 20px auto 0; font-size: 19px; }
.hero-cta { margin-top: 32px; }

/* ---------- sections ---------- */
.section { padding: calc(var(--rhythm) / 2) 0 var(--rhythm); }

.badge-row {
  display: flex;
  justify-content: center;
  gap: 52px;
  margin: 40px 0 56px;
  flex-wrap: wrap;
}
.badge-item { display: flex; align-items: center; gap: 10px; color: #c6c6c6; font-size: 15px; }
.badge-ico { width: 22px; height: 22px; color: var(--gold); flex-shrink: 0; }

/* big before/after panel */
.panel-big { padding: clamp(28px, 5vw, 64px); margin-bottom: 24px; }
.beforeafter {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(20px, 4vw, 56px);
  flex-wrap: wrap;
}
.ba-side { display: flex; flex-direction: column; align-items: center; gap: 18px; }
.ba-arrow { width: 54px; color: #6a6a6a; flex-shrink: 0; }

/* card schematics — the signature element */
.card-schematic {
  width: clamp(180px, 22vw, 230px);
  aspect-ratio: 5 / 7;
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  border-radius: 12px;
  position: relative;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.01));
}
.card-schematic .cs-body {
  position: absolute;
  inset: 12%;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 6px;
}
.card-schematic.raw { border-style: dashed; border-color: rgba(255, 255, 255, 0.28); }
.cs-note {
  position: absolute;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  color: #8a8a8a;
  white-space: nowrap;
}
.cs-note::before {
  content: "";
  position: absolute;
  width: 7px; height: 7px;
  border: 1px solid #b45b5b;
  border-radius: 50%;
}
.cs-note.n1 { top: -7%; right: -6%; }
.cs-note.n1::before { left: -14px; top: 3px; }
.cs-note.n2 { bottom: 28%; left: -34%; }
.cs-note.n2::before { right: -14px; top: 3px; }
.cs-note.n3 { bottom: -9%; right: 10%; }
.cs-note.n3::before { left: -14px; top: 3px; }

/* capsule schematic */

/* half grid */
.half-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin: 24px 0 56px;
}
.half-card { padding: clamp(26px, 3.4vw, 44px); }
.mini-visual { margin-top: 30px; }
.value-visual .vv-bar {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 14px;
}
.vv-label { font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; color: var(--muted); width: 74px; text-transform: uppercase; }
.vv-bar i {
  display: block;
  height: 10px;
  width: var(--w);
  border-radius: 5px;
  background: #3a3a3a;
  transition: width 1s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.vv-bar.gold i { background: linear-gradient(90deg, var(--gold), var(--gold-deep)); }
.reveal:not(.is-visible) .vv-bar i { width: 0; }
.shield-visual { color: var(--gold); display: flex; justify-content: center; }
.shield-visual svg { width: 210px; overflow: visible; }

/* ---------- process rows ---------- */
.proc-row {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  align-items: center;
  gap: clamp(30px, 6vw, 90px);
  margin-top: 90px;
}
.proc-row.reversed .proc-text { order: 2; }
.proc-row.reversed .proc-visual { order: 1; }
.proc-visual {
  min-height: 340px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 22px;
  padding: 40px 24px;
}
.float-cap { text-align: center; }

.card-schematic.clean { border-color: rgba(255, 255, 255, 0.4); }
.card-schematic.shine::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 12px;
  background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, 0.14) 48%, transparent 62%);
  background-size: 260% 100%;
  animation: shineSweep 3.6s ease-in-out infinite;
}
@keyframes shineSweep {
  0%, 20% { background-position: 120% 0; }
  60%, 100% { background-position: -60% 0; }
}

.card-schematic.measure .ms-line {
  position: absolute;
  background: rgba(255, 214, 109, 0.5);
}
.ms-line.h { left: -8%; right: -8%; top: var(--pos); height: 1px; }
.ms-line.v { top: -6%; bottom: -6%; left: var(--pos); width: 1px; }
.ms-tag {
  position: absolute;
  top: 6%;
  right: -26%;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--gold);
  border: 1px solid rgba(255, 214, 109, 0.35);
  border-radius: 6px;
  padding: 3px 7px;
  background: rgba(18, 18, 18, 0.8);
}
.proc-row + .center { margin-top: 72px; }

/* ---------- process cards (Kaj je vključeno-style) ---------- */
.proc-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 64px;
}
.proc-card {
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  transform-origin: 50% 110%;
  will-change: transform, opacity;
  transition: border-color 0.25s ease;
}
.proc-cards.is-settled .proc-card { transition: border-color 0.25s ease, transform 0.35s ease; }
.proc-cards.is-settled .proc-card:hover { transform: translateY(-6px) !important; border-color: rgba(255, 214, 109, 0.28); }
.proc-card-visual {
  position: relative;
  height: 316px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 28px 20px;   /* captions removed 14 Sep — photo sits centred */
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0));
  border-bottom: 1px solid var(--panel-edge);
}
.proc-card-text { padding: 20px 22px 26px; }
.proc-card-text .h3-serif { font-size: 24px; margin: 12px 0 8px; }
.proc-card-text p { font-size: 14.5px; }
.card-schematic.sm { width: 132px; }
.card-schematic.sm .cs-note { display: none; }
.proc-card .ms-tag { right: -30%; font-size: 10px; }

/* UV scan */
.card-schematic.uv { overflow: hidden; }
.uv-beam {
  position: absolute;
  left: -6%;
  right: -6%;
  height: 34px;
  top: -40px;
  background: linear-gradient(180deg, rgba(255, 214, 109, 0), rgba(255, 214, 109, 0.22) 50%, rgba(255, 214, 109, 0));
  border-bottom: 1px solid rgba(255, 214, 109, 0.7);
  animation: uvScan 3.2s ease-in-out infinite;
}
@keyframes uvScan {
  0% { top: -40px; }
  50% { top: 100%; }
  100% { top: -40px; }
}

/* centering lines draw in once the row settles, then breathe */
.proc-cards .ms-line { transform-origin: left center; transform: scaleX(0); opacity: 0; }
.proc-cards .ms-line.v { transform-origin: center top; transform: scaleY(0); }
.proc-cards.is-settled .ms-line { animation: drawLine 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) forwards; }
.proc-cards.is-settled .ms-line:nth-child(2) { animation-delay: 0.12s; }
.proc-cards.is-settled .ms-line:nth-child(3) { animation-delay: 0.24s; }
.proc-cards.is-settled .ms-line:nth-child(4) { animation-delay: 0.36s; }
.proc-cards .ms-tag { opacity: 0; }
.proc-cards.is-settled .ms-tag { animation: tagIn 0.6s 0.7s ease forwards, tagPulse 2.8s 1.4s ease-in-out infinite; }
@keyframes drawLine { to { transform: none; opacity: 1; } }
@keyframes tagIn { to { opacity: 1; } }
@keyframes tagPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255, 214, 109, 0); }
  50% { box-shadow: 0 0 0 4px rgba(255, 214, 109, 0.14); }
}

.proc-cta { margin-top: 64px; }

/* ---------- bento ---------- */
.bento {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: minmax(120px, auto);
  gap: 16px;
  margin-top: 56px;
}
.bento-big {
  grid-column: span 2;
  grid-row: span 2;
  padding: 36px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 18px;
}
.grade-strip {
  display: flex;
  align-items: baseline;
  gap: 14px;
  font-family: var(--serif);
  font-size: clamp(22px, 2.6vw, 34px);
  color: #777;
}
.grade-strip .gs-gold { color: var(--gold); font-size: clamp(40px, 4.6vw, 62px); }
.bento-tile {
  padding: 22px;
  display: flex;
  align-items: flex-end;
  font-size: 15.5px;
  font-weight: 400;
  color: #d6d6d6;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.bento-tile:hover { border-color: rgba(255, 214, 109, 0.3); transform: translateY(-2px); }
.bento-med { grid-column: span 2; padding: 26px; display: flex; flex-direction: column; gap: 14px; justify-content: center; }
.bento-med-text { font-size: 17px; color: #d6d6d6; font-weight: 400; }
/* VRAČILO tile carries the mailer photo (Anže 14 Sep) — text sits on a dark gradient over it */
.bento-photo { position: relative; overflow: hidden; min-height: 260px; justify-content: flex-end; }
.bento-photo .bento-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 0% 0%; }
.bento-photo::before { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(10, 10, 10, 0.9) 0%, rgba(10, 10, 10, 0.55) 40%, rgba(10, 10, 10, 0.05) 100%); z-index: 1; }
.bento-photo .mono-cap, .bento-photo .bento-med-text { position: relative; z-index: 2; }
@media (min-width: 768px) {
  /* wide tile: slab sits left in the photo, so the text goes bottom-right over the dark mailer */
  .bento-photo { align-items: flex-end; text-align: right; }
  .bento-photo .bento-med-text { max-width: 60%; }
}
.bento-photo .bento-med-text { color: #f1f1f1; }
.crit-list { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 20px; }
.crit-list li { font-family: var(--mono); font-size: 13px; letter-spacing: 0.06em; color: #cfcfcf; }
.crit-list li::before { content: "— "; color: var(--gold); }

/* ---------- compare ---------- */
.compare-title { margin-top: var(--rhythm); }
.compare { max-width: 920px; margin: 48px auto 56px; padding: clamp(22px, 3.4vw, 44px); }
.cmp-head, .cmp-row {
  display: grid;
  grid-template-columns: 130px 1fr 1fr;
  gap: 18px;
  align-items: center;
  padding: 16px 6px;
}
.cmp-head { border-bottom: 1px solid var(--panel-edge); padding-bottom: 20px; }
.cmp-row { border-bottom: 1px solid rgba(255, 255, 255, 0.045); }
.cmp-row:last-child { border-bottom: none; }
.cmp-col { display: flex; align-items: center; gap: 10px; font-size: 15px; color: #c9c9c9; }
.cmp-svn { font-family: var(--serif); font-size: 18px; color: #fff; gap: 8px; }
.cmp-logo { width: 40px; height: 40px; object-fit: contain; }
.cmp-label { font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.cmp-row i {
  flex-shrink: 0;
  width: 22px; height: 22px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-style: normal;
}
.cmp-row i.x { background: rgba(180, 91, 91, 0.16); color: #d98a8a; }
.cmp-row i.ok { background: rgba(255, 214, 109, 0.14); color: var(--gold); }

/* ---------- gallery ---------- */
/* front + back pairs (Anže 14 Sep): 2 pairs per row so the slabs read at a glance, last row centred */
.gallery-wrap { position: relative; }
.gal-next { display: none; }
.gallery {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-top: 56px;
}
.gal-pair {
  margin: 0;
  flex: 0 0 calc((100% - 20px) / 2);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  padding: 6px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--panel-edge);
  background: var(--panel);
}
.gal-pair img {
  width: 100%;
  aspect-ratio: 5 / 7;
  object-fit: cover;
  display: block;
  border-radius: calc(var(--radius-sm) - 6px);
}

/* ---------- real photos (dad's shots, 1. 9. 2026) ---------- */
.ba-photo {
  width: clamp(230px, 26vw, 300px);
  aspect-ratio: 5 / 7;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}
.proc-photo {
  width: 100%;
  height: 242px;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
}
.ba-photo img, .proc-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
/* UV card: just the cropped card, whole, centred on the panel (Anže 14 Sep) */
.proc-photo.proc-card-only { border: 0; background: transparent; display: flex; justify-content: center; }
.proc-photo.proc-card-only img { width: auto; height: 100%; object-fit: contain; border-radius: 8px; border: 1px solid rgba(255, 255, 255, 0.12); }
/* photos are still — Anže 14 Sep: the zoom in/out "gets kinda annoying" */


/* ---------- price ---------- */
.price-panel {
  text-align: center;
  padding: clamp(48px, 7vw, 90px) clamp(24px, 5vw, 60px);
  border-color: rgba(255, 214, 109, 0.16);
  box-shadow: 0 0 0 1px rgba(255, 214, 109, 0.05), 0 30px 80px rgba(0, 0, 0, 0.4);
}
.price-sub { margin-top: 16px; font-size: 16px; }
.price-hr {
  border: none;
  border-top: 1px solid var(--panel-edge);
  max-width: 560px;
  margin: 30px auto;
}
.price-includes { color: #cfcfcf; margin-bottom: 34px; font-size: 16px; }
.or-row {
  display: flex;
  align-items: center;
  gap: 20px;
  max-width: 640px;
  margin: 40px auto;
}
.or-line { flex: 1; height: 1px; background: var(--panel-edge); }
.or-word { font-family: var(--mono); font-size: 12px; letter-spacing: 0.2em; color: var(--muted); }
.or-note { font-size: 14px; margin-top: 16px; }

/* ---------- scale + criteria ---------- */
.crit-grid { display: grid; gap: 26px; margin-top: 28px; }
.crit-item {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding-bottom: 20px;
}
.crit-item:last-child { border-bottom: none; }
.crit-name { font-weight: 500; font-size: 17px; }
.crit-item .muted { font-size: 14px; text-align: right; }

.scale-list { margin-top: 24px; display: flex; flex-direction: column; gap: 10px; }
.scale-list li {
  display: grid;
  grid-template-columns: 44px 110px 1fr;
  align-items: baseline;
  gap: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding-bottom: 9px;
  font-size: 15px;
}
.scale-list li:last-child { border-bottom: none; }
.scale-list b { font-family: var(--serif); font-weight: 400; font-size: 19px; color: var(--gold); }
.scale-list .muted { font-size: 13.5px; }

/* ---------- letter ---------- */
.letter {
  max-width: 860px;
  margin: var(--rhythm) auto 0;
  padding: clamp(30px, 5vw, 64px);
}
.letter-body { margin-top: 26px; }
.letter-body p {
  font-family: var(--mono);
  font-size: 13.5px;
  line-height: 1.75;
  color: #b5b5b5;
  margin-bottom: 18px;
}
.letter-toggle { display: none; margin: 4px 0 26px; }
.letter-sig {
  width: 190px;
  margin: 10px 0 24px;
  filter: invert(1);
  mix-blend-mode: screen;
}
.letter-author { display: flex; align-items: center; gap: 16px; }
.letter-avatar {
  width: 80px; height: 80px;
  border-radius: 50%;
  object-fit: cover;
  object-position: top;
  border: 1px solid rgba(255, 214, 109, 0.35);
}
.letter-author div { display: flex; flex-direction: column; line-height: 1.35; }
.letter-name { font-weight: 500; font-size: 18px; }
.letter-author .muted { font-size: 14px; }

/* ---------- faq ---------- */
.faq-panel { max-width: 920px; margin: 0 auto 56px; padding: clamp(28px, 4.6vw, 56px); }
.faq-sub { margin: 14px 0 34px; font-size: 15px; }
.faq-list { display: flex; flex-direction: column; }
.faq-item { border-bottom: 1px solid rgba(255, 255, 255, 0.06); }
.faq-item:last-child { border-bottom: none; }
.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 8px;
  font-size: 16.5px;
  font-weight: 400;
  color: #e4e4e4;
  transition: color 0.15s ease;
}
.faq-item summary:hover { color: #fff; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-plus { position: relative; width: 16px; height: 16px; flex-shrink: 0; }
.faq-plus::before, .faq-plus::after {
  content: "";
  position: absolute;
  background: #bdbdbd;
  transition: transform 0.25s ease;
}
.faq-plus::before { left: 0; right: 0; top: 7px; height: 1.5px; }
.faq-plus::after { top: 0; bottom: 0; left: 7px; width: 1.5px; }
.faq-item[open] .faq-plus::after { transform: scaleY(0); }
.faq-item p { padding: 0 8px 22px; max-width: 720px; font-size: 15.5px; }

.contact-title { margin-top: var(--rhythm); }
.contact-card { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.contact-ico { width: 26px; height: 26px; color: var(--gold); margin-bottom: 14px; }
.contact-card .btn-ghost { margin-top: 22px; }

/* ---------- final + footer ---------- */
.final-section { padding-bottom: 40px; }
.final-panel {
  text-align: center;
  padding: clamp(56px, 9vw, 120px) clamp(24px, 5vw, 60px);
  border-color: rgba(255, 214, 109, 0.14);
}
.final-panel .btn-gold { margin-top: 38px; }

.footer { position: relative; padding: 60px 0 0; overflow: hidden; }
.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
  padding-bottom: 34px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.footer-links { display: flex; gap: 22px; }
.footer-links a { color: var(--muted); font-size: 14.5px; transition: color 0.15s ease; }
.footer-links a:hover { color: #fff; }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding: 22px 0 30px;
  font-size: 13.5px;
}
.footer-giant-wrap {
  position: relative;
  overflow: hidden;
  padding: 0;
  margin-top: -6px;
}
.footer-giant {
  position: relative;
  z-index: 1;
  font-family: Georgia, "Times New Roman", "Noto Serif", serif;
  font-size: clamp(110px, 26vw, 400px);
  line-height: 0.78;
  transform: translateY(15%);
  text-align: center;
  letter-spacing: 0.02em;
  color: transparent;
  background: linear-gradient(180deg, #2a2a2a 0%, #171717 100%);
  -webkit-background-clip: text;
  background-clip: text;
  user-select: none;
  pointer-events: none;
}
/* dad's ask: MADE IN SLOVENIA in gold caps, across the bottom of the giant SVN */
.footer-made {
  position: absolute;
  left: 0;
  right: 0;
  bottom: clamp(10px, 2.2vw, 26px);
  z-index: 2;
  text-align: center;
  font-family: var(--mono);
  font-weight: 500;
  font-size: clamp(11px, 1.65vw, 22px);
  letter-spacing: clamp(0.18em, 0.55vw, 0.42em);
  text-indent: clamp(0.18em, 0.55vw, 0.42em);
  color: var(--gold);
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.65);
  pointer-events: none;
}
.footer-glow {
  position: absolute;
  left: 50%;
  bottom: -160px;
  transform: translateX(-50%);
  width: 595px;
  height: 292px;
  background: rgba(255, 190, 24, 0.16);
  filter: blur(60px);
  pointer-events: none;
}
.footer-glow.inner {
  bottom: -120px;
  width: 342px;
  height: 218px;
  border-radius: 110px;
  background: rgba(255, 214, 109, 0.18);
  filter: blur(56px);
}

/* ---------- footer legal links ---------- */
.footer-legal { display: flex; gap: 22px; align-items: center; }
.footer-legal a { color: var(--muted); font-size: 13.5px; transition: color 0.15s ease; }
.footer-legal a:hover, .footer-legal a.link-light { color: #dcdcdc; }

/* ---------- legal pages ---------- */
.legal { padding: 150px 0 60px; }
.legal-inner { max-width: 760px; }
.legal .chip { margin-bottom: 16px; }
.legal h1 { margin-bottom: 8px; }
.legal-meta { font-family: var(--mono); font-size: 12px; letter-spacing: 0.06em; color: var(--muted); margin-bottom: 26px; }
.legal-note { font-size: 14px; color: var(--muted); border-left: 2px solid rgba(255, 214, 109, 0.4); padding-left: 12px; margin-bottom: 26px; }
.legal h2 { font-family: var(--serif); font-weight: 400; font-size: 24px; letter-spacing: -0.01em; margin: 38px 0 10px; }
.legal p { color: #c9c9c9; font-size: 16px; margin-bottom: 14px; }
.legal ul { margin: 0 0 14px 20px; list-style: disc; }
.legal li { color: #c9c9c9; font-size: 16px; margin-bottom: 8px; }
.legal strong { color: #f1f1f1; font-weight: 500; }
.legal .fill { color: var(--gold); font-family: var(--mono); font-size: 0.92em; }
.legal-back { margin-top: 48px; }
.lang-en { display: none; }
html[lang="en"] .lang-en { display: block; }
html[lang="en"] .lang-sl { display: none; }
.legal-page .footer { padding-top: 20px; }

/* ---------- reveal animations ---------- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s cubic-bezier(0.2, 0.65, 0.3, 1), transform 0.7s cubic-bezier(0.2, 0.65, 0.3, 1);
}
.reveal.is-visible { opacity: 1; transform: none; }

.noanim .hero-coin, .noanim .hero-coin-inner { animation: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-coin, .hero-coin-inner, .card-schematic.shine::after { animation: none; }
  .vv-bar i { transition: none; }
  .reveal:not(.is-visible) .vv-bar i { width: var(--w); }
}

/* ---------- tablet ≤1199.98 ---------- */
@media (max-width: 1199.98px) {
  .nav-links { gap: 18px; }
  .proc-row { gap: 40px; }
  .proc-cards { grid-template-columns: repeat(2, 1fr); }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .bento-big { grid-column: span 2; }
  .bento-med { grid-column: span 2; }
}

/* ---------- mobile ≤767.98 ---------- */
@media (max-width: 767.98px) {
  :root { --rhythm: 84px; --radius: 22px; }
  body { font-size: 16px; }

  .nav-links, .nav-right { display: none; }
  .nav-burger { display: block; }
  .nav-wrap { top: 14px; padding: 0 14px; }
  .nav { gap: 12px; min-height: 0; padding: 10px 12px; border-radius: 18px; }
  .nav-brand-name { font-size: 20px; }

  .hero { padding-top: 128px; }
  .hero-coin { perspective: 620px; }
  .hero-coin-inner { --coin-thick: 6px; }
  .hero-sub { font-size: 17px; }

  .badge-row { gap: 18px; flex-direction: column; align-items: center; }

  .beforeafter { flex-direction: column; }
  .ba-arrow { transform: rotate(90deg); width: 40px; }
  .cs-note.n2 { left: -10px; right: auto; bottom: 44%; }
  .cs-note.n2::before { right: auto; left: -14px; }

  .half-grid { grid-template-columns: 1fr; }

  .proc-row { grid-template-columns: 1fr; gap: 26px; margin-top: 64px; }
  .proc-row.reversed .proc-text { order: 1; }
  .proc-row.reversed .proc-visual { order: 2; }
  .proc-visual { min-height: 280px; }
  .ms-tag { right: 4%; }
  .proc-cards {
    display: flex;
    gap: 14px;
    margin: 44px calc(-1 * var(--gutter)) 0;
    padding: 0 var(--gutter) 8px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .proc-cards::-webkit-scrollbar { display: none; }
  .proc-card { flex: 0 0 80%; scroll-snap-align: center; transform-origin: 50% 100%; }
  .proc-card-visual { height: 300px; }
  .proc-cta { margin-top: 40px; }

  .bento { grid-template-columns: 1fr; grid-auto-rows: auto; }
  .bento-big, .bento-med { grid-column: span 1; }
  .bento-big { padding: 28px; }
  .bento-tile { padding: 20px 22px; }
  .footer-giant { font-size: 30vw; }
  .footer-giant-wrap { margin-top: 0; }
  .footer-glow { width: 190px; height: 70px; bottom: -36px; filter: blur(18px); background: rgba(255, 190, 24, 0.32); }
  .footer-glow.inner { width: 104px; height: 50px; bottom: -24px; border-radius: 30px; filter: blur(14px); background: rgba(255, 214, 109, 0.36); }
  .faq-sub-line { display: block; white-space: nowrap; margin-top: 4px; }
  .h1-serif { font-size: 34px; }
  .final-panel .h1-serif { font-size: 29px; }
  .final-panel { padding-left: 18px; padding-right: 18px; }

  .compare { padding: 18px 14px; }
  .cmp-head, .cmp-row { grid-template-columns: 1fr 1fr; gap: 10px 12px; padding: 14px 2px; }
  .cmp-head > span:first-child { display: none; }
  .cmp-head { padding-top: 4px; padding-bottom: 16px; }
  .cmp-head .cmp-col { font-size: 13px; }
  .cmp-svn { gap: 6px; }
  .cmp-svn .nav-brand-sub { font-size: 11px; letter-spacing: 0.3em; }
  .cmp-logo { width: 30px; height: 30px; }
  .cmp-label { grid-column: 1 / -1; margin-bottom: 2px; }
  .cmp-row .cmp-col { font-size: 14px; line-height: 1.4; align-items: flex-start; }
  .cmp-row i { margin-top: 1px; width: 20px; height: 20px; font-size: 10px; }

  .letter-sig { width: 120px; margin: 4px 0 16px; }
  .letter-avatar { width: 52px; height: 52px; }
  .letter-name { font-size: 16px; }
  .letter-author .muted { font-size: 13px; }
  .letter-toggle { display: inline-block; }
  .letter-toggle[hidden] { display: none; }
  .letter-more { display: none; }
  .letter-body.is-open .letter-more { display: block; }

  /* gallery = swipe row on phone (Anže 14 Sep): one pair per screen, next one peeking, arrow nudges */
  .gallery-wrap { position: relative; }
  .gallery {
    flex-wrap: nowrap;
    justify-content: flex-start;
    gap: 12px;
    margin: 44px calc(-1 * var(--gutter)) 0;
    padding: 0 var(--gutter) 8px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .gallery::-webkit-scrollbar { display: none; }
  .gal-pair { flex: 0 0 86%; scroll-snap-align: center; }
  .gal-next {
    display: flex;
    position: absolute;
    right: 6px;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    padding: 0;
    border-radius: 50%;
    border: 1px solid rgba(255, 214, 109, 0.5);
    background: rgba(18, 18, 18, 0.82);
    color: var(--gold);
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
    cursor: pointer;
    animation: galNudge 1.8s ease-in-out infinite;
    transition: opacity 0.3s ease;
  }
  .gal-next svg { width: 20px; height: 20px; }
  .gal-next.is-hidden { opacity: 0; pointer-events: none; }
  .noanim .gal-next { animation: none; }
  @keyframes galNudge { 0%, 100% { transform: translate(0, -50%); } 50% { transform: translate(5px, -50%); } }

  .scale-list li { grid-template-columns: 40px 92px 1fr; }

  .footer-top { flex-direction: column; text-align: center; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

/* ---------- sticky CTA (phone only): appears after the hero, one thumb-reach away ---------- */
.cta-sticky { display: none; }
@media (max-width: 767.98px) {
  .cta-sticky {
    display: inline-flex;
    position: fixed;
    left: 50%;
    bottom: calc(14px + env(safe-area-inset-bottom));
    transform: translate(-50%, 24px);
    z-index: 60;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease, transform 0.3s ease;
    box-shadow: 0 12px 34px rgba(0, 0, 0, 0.6), inset 0 -2px 6px rgb(61, 45, 2), inset 0 3px 3px rgb(241, 241, 142), inset 0 3px 6px rgb(241, 241, 142);
  }
  .cta-sticky { white-space: nowrap; font-size: 11.5px; padding-left: 26px; padding-right: 26px; }
  .cta-sticky.is-visible { opacity: 1; pointer-events: auto; transform: translate(-50%, 0); }
  header:has(.nav-mobile.open) ~ main .cta-sticky { opacity: 0; pointer-events: none; }
}

/* footer business identity (ZEPT čl. 5: provider name, address, e-mail permanently accessible) */
.footer-id { font-size: 12px; margin-top: 14px; }
