/* ==========================================================================
   SPIK – mizarstvo · public website styles
   Design language follows the approved concept: warm paper, forest green, oak.
   ========================================================================== */

/* Fonts are self-hosted (no requests to Google → no cookie/GDPR issues). */
@font-face { font-family: "Instrument Serif"; src: url(../fonts/instrument-serif-latin-400-normal.woff2) format("woff2"); font-weight: 400; font-style: normal; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Instrument Serif"; src: url(../fonts/instrument-serif-latin-ext-400-normal.woff2) format("woff2"); font-weight: 400; font-style: normal; font-display: swap; unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Instrument Serif"; src: url(../fonts/instrument-serif-latin-400-italic.woff2) format("woff2"); font-weight: 400; font-style: italic; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Instrument Serif"; src: url(../fonts/instrument-serif-latin-ext-400-italic.woff2) format("woff2"); font-weight: 400; font-style: italic; font-display: swap; unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Instrument Sans"; src: url(../fonts/instrument-sans-latin-400-normal.woff2) format("woff2"); font-weight: 400; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Instrument Sans"; src: url(../fonts/instrument-sans-latin-ext-400-normal.woff2) format("woff2"); font-weight: 400; font-display: swap; unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Instrument Sans"; src: url(../fonts/instrument-sans-latin-500-normal.woff2) format("woff2"); font-weight: 500; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Instrument Sans"; src: url(../fonts/instrument-sans-latin-ext-500-normal.woff2) format("woff2"); font-weight: 500; font-display: swap; unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Instrument Sans"; src: url(../fonts/instrument-sans-latin-600-normal.woff2) format("woff2"); font-weight: 600; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Instrument Sans"; src: url(../fonts/instrument-sans-latin-ext-600-normal.woff2) format("woff2"); font-weight: 600; font-display: swap; unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Caveat"; src: url(../fonts/caveat-latin-600-normal.woff2) format("woff2"); font-weight: 600; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Caveat"; src: url(../fonts/caveat-latin-ext-600-normal.woff2) format("woff2"); font-weight: 600; font-display: swap; unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --paper: #f6f2eb;
  --paper-2: #eee7dc;
  --card: #fbf9f5;
  --ink: #1c211d;
  --ink-soft: #49504a;
  --muted: #626963;
  --line: #1c211d1f;
  --line-strong: #1c211d38;
  --forest: #1d2922;
  --forest-2: #26342b;
  --on-dark: #f1ece3;
  --on-dark-soft: #f1ece3b8;
  --line-dark: #f1ece329;
  --oak: #9c6b3f;
  --oak-ink: #8a5c33; /* oak for small text: AA contrast on paper */
  --oak-light: #d9b283;
  --brass: #c49a5f;
  --sage: #7f8c76;
  --serif: "Instrument Serif", "Times New Roman", Georgia, serif;
  --sans: "Instrument Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --hand: "Caveat", "Segoe Print", "Bradley Hand", cursive;
  --container: 1280px;
  --gutter: clamp(20px, 4vw, 48px);
  --section: clamp(56px, 6.5vw, 96px);
  --radius: 10px;
  --radius-lg: 18px;
  --header-h: 94px;
  --ease: cubic-bezier(.22, .61, .36, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
}
@media (max-width: 900px) { :root { --header-h: 74px; } }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 17px/1.6 var(--sans); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
button { font: inherit; color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.04; letter-spacing: -0.01em; margin: 0; text-wrap: balance; }
/* Very long words (or pasted links) in titles and texts from the admin wrap instead of widening the page. */
h1, h2, h3, h4, p, li, dd, dt, figcaption, blockquote { overflow-wrap: anywhere; }
h1 em, h2 em, h3 em { font-style: italic; color: var(--oak); }
p { margin: 0 0 1em; text-wrap: pretty; }
::selection { background: var(--oak-light); color: var(--ink); }
:focus-visible { outline: 2px solid var(--oak); outline-offset: 3px; border-radius: 4px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 200; background: var(--forest); color: #fff; padding: 10px 16px; border-radius: 999px; text-decoration: none; transition: top .2s; }
.skip-link:focus { top: 12px; }

.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--section) 0; }
.section--tight { padding: calc(var(--section) * .6) 0; }
.section--dark { background: var(--forest); color: var(--on-dark); }
.section--paper2 { background: var(--paper-2); }

.eyebrow { display: inline-flex; align-items: center; gap: 10px; font: 600 12px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-bottom: 22px; }
.eyebrow::before { content: ""; width: 14px; height: 14px; border-radius: 3px; background: currentColor; -webkit-mask: var(--mark) center/contain no-repeat; mask: var(--mark) center/contain no-repeat; opacity: .9; }
.section--dark .eyebrow, .hero .eyebrow { color: var(--oak-light); }
:root { --mark: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2c5.5 0 10 4.5 10 10s-4.5 10-10 10S2 17.5 2 12 6.5 2 12 2zm0 3a7 7 0 100 14 7 7 0 000-14zm0 3a4 4 0 110 8 4 4 0 010-8z'/%3E%3C/svg%3E"); }

.h-display { font-size: clamp(46px, 7.4vw, 104px); }
.h-section { font-size: clamp(34px, 4.2vw, 56px); }
.h-sub { font-size: clamp(28px, 3vw, 40px); }
.lead { font-size: clamp(18px, 1.5vw, 21px); color: var(--ink-soft); max-width: 46ch; }
.section--dark .lead { color: var(--on-dark-soft); }
.hand { font-family: var(--hand); font-weight: 600; font-size: 26px; line-height: 1; color: var(--oak); }

.section-head { display: flex; justify-content: space-between; align-items: end; gap: 32px; margin-bottom: clamp(32px, 4vw, 56px); flex-wrap: wrap; }
.section-head .lead { margin: 0; }

/* ---------- Buttons ---------- */
.btn { --btn-bg: var(--forest); --btn-fg: #fff; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 26px; border-radius: 999px; border: 1px solid transparent; background: var(--btn-bg); color: var(--btn-fg); font: 600 16px/1 var(--sans); text-decoration: none; cursor: pointer; transition: transform .25s var(--ease), background .25s, color .25s, border-color .25s, box-shadow .25s; white-space: nowrap; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 24px -12px #0006; }
.btn:active { transform: translateY(0); }
.btn svg { width: 18px; height: 18px; flex: none; transition: transform .25s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn--light { --btn-bg: var(--on-dark); --btn-fg: var(--forest); }
.btn--ghost { --btn-bg: transparent; --btn-fg: var(--ink); border-color: var(--line-strong); }
.btn--ghost:hover { border-color: var(--ink); }
.btn--ghost-light { --btn-bg: #ffffff0f; --btn-fg: var(--on-dark); border-color: #f1ece366; backdrop-filter: blur(6px); }
.btn--ghost-light:hover { border-color: var(--on-dark); }
.btn--sm { min-height: 42px; padding: 0 18px; font-size: 15px; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 3px; }
.link-arrow svg { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.link-arrow:hover svg { transform: translateX(3px); }

/* ---------- Header ---------- */
.site-header { position: fixed; inset: 0 0 auto; z-index: 100; height: var(--header-h); transition: background .35s, box-shadow .35s, color .35s, transform .35s var(--ease); }
.site-header .container { height: 100%; display: flex; align-items: center; gap: 28px; }
.site-header.is-scrolled, .site-header--solid { background: #f6f2ebf2; backdrop-filter: saturate(1.4) blur(12px); box-shadow: 0 1px 0 var(--line); }
.site-header--overlay:not(.is-scrolled) { color: var(--on-dark); }
.logo { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; margin-right: auto; }
.logo__mark { width: 78px; height: 78px; flex: none; } /* big enough to read the writing on the stamp */
@media (max-width: 900px) { .logo__mark { width: 62px; height: 62px; } }
.logo__text { display: flex; flex-direction: column; line-height: 1; }
.logo__name { font: 400 30px/0.9 var(--serif); letter-spacing: .02em; }
.logo__sub { font: 500 13.5px/1.1 var(--sans); letter-spacing: .01em; margin-top: 4px; opacity: .8; white-space: nowrap; }
.nav { display: flex; align-items: center; gap: 30px; }
.nav a { text-decoration: none; font-weight: 500; font-size: 16px; position: relative; padding: 6px 0; white-space: nowrap; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.header-actions { display: flex; align-items: center; gap: 18px; }
.header-phone { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font-weight: 600; font-size: 16px; }
.header-phone svg { width: 17px; height: 17px; }
.site-header--overlay:not(.is-scrolled) .btn--header { --btn-bg: var(--on-dark); --btn-fg: var(--forest); }
.menu-toggle { display: none; width: 46px; height: 46px; border-radius: 999px; border: 1px solid currentColor; background: transparent; cursor: pointer; align-items: center; justify-content: center; }
.menu-toggle span { display: block; width: 18px; height: 1.5px; background: currentColor; position: relative; transition: background .2s; }
.menu-toggle span::before, .menu-toggle span::after { content: ""; position: absolute; left: 0; width: 18px; height: 1.5px; background: currentColor; transition: transform .3s var(--ease); }
.menu-toggle span::before { top: -6px; } .menu-toggle span::after { top: 6px; }
@media (max-width: 1240px) { .header-phone span { display: none; } .nav { gap: 24px; } }
/* The full menu needs about 1100 px; below that the menu button takes over. */
@media (max-width: 1100px) {
  .nav, .header-actions .btn--header, .header-phone { display: none; }
  .menu-toggle { display: inline-flex; }
}

/* Mobile menu */
.mobile-nav { position: fixed; inset: 0; z-index: 150; background: var(--forest); color: var(--on-dark); display: flex; flex-direction: column; padding: 22px var(--gutter) 32px; transform: translateY(-100%); transition: transform .5s var(--ease-out); visibility: hidden; overflow-y: auto; }
.mobile-nav.is-open { transform: none; visibility: visible; }
.mobile-nav__top { display: flex; justify-content: space-between; align-items: center; }
.mobile-nav__close { width: 46px; height: 46px; border-radius: 999px; border: 1px solid var(--line-dark); background: transparent; color: inherit; font-size: 26px; cursor: pointer; line-height: 1; }
.mobile-nav nav { display: flex; flex-direction: column; margin: 48px 0 32px; }
.mobile-nav nav a { font: 400 44px/1.25 var(--serif); text-decoration: none; padding: 4px 0; border-bottom: 1px solid var(--line-dark); }
.mobile-nav__foot { margin-top: auto; display: grid; gap: 12px; }
.mobile-nav__foot a:not(.btn) { color: var(--on-dark-soft); text-decoration: none; font-size: 18px; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: max(640px, min(100svh, 960px)); color: var(--on-dark); display: flex; flex-direction: column; overflow: hidden; background: var(--forest); isolation: isolate; }
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__slide { opacity: 0; transition: opacity 1.4s var(--ease); }
.hero__slide.is-active { opacity: 1; }
.hero__slide.is-active img { animation: kenburns 9s var(--ease) both; }
@keyframes kenburns { from { transform: scale(1.08); } to { transform: scale(1); } }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, #121914d9 0%, #12191499 38%, #1219141a 70%), linear-gradient(0deg, #121914cc 0%, #12191400 38%), linear-gradient(180deg, #1219148c 0%, #12191400 22%); }
.hero__inner { flex: 1; display: flex; flex-direction: column; justify-content: center; padding-top: calc(var(--header-h) + 40px); padding-bottom: 40px; position: relative; }
.hero__title { font-size: clamp(50px, 7.6vw, 112px); max-width: 15ch; }
.hero__title em { color: var(--oak-light); display: inline-block; min-width: 3ch; }
.hero__title em.is-swapping { animation: wordswap .7s var(--ease) both; }
@keyframes wordswap { 0% { opacity: 0; transform: translateY(.25em); filter: blur(4px); } 100% { opacity: 1; transform: none; filter: none; } }
.hero__lead { font-size: clamp(18px, 1.5vw, 21px); color: var(--on-dark-soft); max-width: 44ch; margin: 26px 0 34px; }
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero__bottom { position: relative; border-top: 1px solid var(--line-dark); }
.hero__tabs { display: grid; grid-template-columns: repeat(var(--tabs, 5), minmax(0, 1fr)) auto; gap: 0 22px; align-items: stretch; }
.hero__tabs:empty { min-height: 62px; } /* the tabs arrive with the data; keep the headline from jumping */
.hero__tab { position: relative; text-align: left; background: none; border: 0; padding: 20px 0 24px; cursor: pointer; color: var(--on-dark-soft); font: 500 14px/1.3 var(--sans); display: flex; gap: 10px; transition: color .3s; min-width: 0; }
.hero__tab b { font-weight: 500; opacity: .6; font-variant-numeric: tabular-nums; }
.hero__tab span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hero__tab::before { content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 2px; background: var(--on-dark); transform: scaleX(0); transform-origin: left; }
.hero__tab.is-active { color: var(--on-dark); }
.hero__tab.is-active::before { animation: tabprogress var(--slide-ms, 7000ms) linear forwards; }
.hero.is-paused .hero__tab.is-active::before { animation-play-state: paused; }
@keyframes tabprogress { to { transform: scaleX(1); } }
.hero__pause { align-self: center; width: 42px; height: 42px; border-radius: 999px; border: 1px solid var(--line-dark); background: transparent; color: var(--on-dark); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
.hero__pause svg { width: 14px; height: 14px; }
.hero__card { position: absolute; right: var(--gutter); bottom: 120px; width: 250px; background: var(--card); color: var(--ink); padding: 10px 10px 14px; border-radius: 14px; box-shadow: 0 30px 60px -20px #000a; transform: rotate(2.5deg); text-decoration: none; transition: transform .4s var(--ease); }
.hero__card:hover { transform: rotate(0deg) translateY(-4px); }
.hero__card img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 8px; background: var(--paper-2); }
.hero__card small { display: block; font: 600 11px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin: 12px 4px 6px; }
.hero__card strong { display: flex; justify-content: space-between; gap: 8px; align-items: center; font: 400 21px/1.15 var(--serif); margin: 0 4px; }
.hero__card .hand { position: absolute; top: -34px; left: -12px; color: var(--oak-light); transform: rotate(-6deg); }
.hero__badge { position: absolute; right: calc(var(--gutter) + 210px); bottom: 360px; width: 116px; height: 116px; border-radius: 50%; background: var(--forest); display: grid; place-items: center; box-shadow: 0 12px 30px -10px #0009; }
.hero__badge svg.ring { position: absolute; inset: 0; animation: spin 24s linear infinite; }
.hero__badge .logo__mark { width: 64px; height: 64px; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (max-width: 1100px) { .hero__card, .hero__badge { display: none; } }
@media (max-width: 900px) {
  .hero__tabs { grid-template-columns: repeat(var(--tabs, 5), minmax(0, 1fr)); }
  .hero__tabs:empty { min-height: 56px; }
  .hero__tab span { display: none; }
  .hero__tab { padding: 18px 0 20px; }
  .hero__pause { display: none; }
}

/* ---------- Trust strip ---------- */
.trust { background: var(--card); border-bottom: 1px solid var(--line); }
.trust ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); }
.trust li { display: flex; align-items: center; gap: 12px; padding: 22px 18px; font-weight: 500; font-size: 15px; border-left: 1px solid var(--line); }
.trust li:first-child { border-left: 0; padding-left: 0; }
.trust svg { width: 26px; height: 26px; color: var(--oak); flex: none; }
@media (max-width: 1000px) { .trust ul { grid-template-columns: repeat(2, minmax(0, 1fr)); } .trust li { border-left: 0; padding: 14px 0; } .trust li:last-child { grid-column: span 2; } }

/* ---------- Category bento ---------- */
.bento { display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-rows: 240px; gap: 16px; }
.bento__item { position: relative; overflow: hidden; border-radius: var(--radius-lg); background: var(--paper-2); color: #fff; text-decoration: none; isolation: isolate; grid-column: span 4; }
.bento__item:nth-child(1) { grid-column: span 7; grid-row: span 2; }
.bento__item:nth-child(2) { grid-column: span 5; }
.bento__item:nth-child(3) { grid-column: span 5; }
.bento__item img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.1s var(--ease-out); }
.bento__item::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, #121914d0 0%, #12191433 55%, #12191400 100%); }
.bento__item:hover img { transform: scale(1.05); }
.bento__body { position: absolute; left: 0; right: 0; bottom: 0; padding: 22px 24px; display: flex; justify-content: space-between; align-items: end; gap: 16px; }
.bento__body h3 { font-size: clamp(26px, 2.4vw, 36px); }
.bento__item:nth-child(1) h3 { font-size: clamp(32px, 3.4vw, 48px); }
.bento__body p { margin: 6px 0 0; font-size: 14px; color: #ffffffc4; }
.bento__arrow { flex: none; width: 44px; height: 44px; border-radius: 50%; background: #fff; color: var(--forest); display: grid; place-items: center; transition: transform .3s var(--ease); }
.bento__arrow svg { width: 18px; height: 18px; }
.bento__item:hover .bento__arrow { transform: rotate(-45deg); }
@media (max-width: 900px) {
  .bento { grid-template-columns: 1fr 1fr; grid-auto-rows: 210px; }
  .bento__item, .bento__item:nth-child(n) { grid-column: span 1 !important; grid-row: span 1; }
  .bento__item:nth-child(1) { grid-column: span 2 !important; grid-row: span 1; }
}
@media (max-width: 560px) { .bento { grid-template-columns: minmax(0, 1fr); grid-auto-rows: 220px; } .bento__item:nth-child(n) { grid-column: span 1 !important; } }

/* ---------- Project cards ---------- */
.project-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(18px, 2.4vw, 32px); }
@media (max-width: 1000px) { .project-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .project-grid { grid-template-columns: minmax(0, 1fr); } }
.project-card { display: block; text-decoration: none; color: inherit; }
.project-card__media { position: relative; aspect-ratio: 4/5; border-radius: var(--radius-lg); overflow: hidden; background: var(--paper-2); }
.project-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease-out), opacity .6s; }
.project-card:hover .project-card__media img { transform: scale(1.045); }
.project-card__count { position: absolute; right: 12px; bottom: 12px; background: #fbf9f5e6; backdrop-filter: blur(6px); color: var(--ink); font: 600 12px/1 var(--sans); padding: 8px 10px; border-radius: 999px; display: inline-flex; align-items: center; gap: 6px; }
.project-card__count svg { width: 14px; height: 14px; }
.project-card__cat { display: block; font: 600 12px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--oak-ink); margin: 18px 0 8px; }
.project-card h3 { font-size: clamp(24px, 2vw, 30px); line-height: 1.1; }
.project-card p { color: var(--muted); font-size: 15px; margin: 8px 0 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.project-grid--featured .project-card:first-child { grid-column: span 2; }
.project-grid--featured .project-card:first-child .project-card__media { aspect-ratio: 16/10; }
@media (max-width: 600px) { .project-grid--featured .project-card:first-child { grid-column: span 1; } .project-grid--featured .project-card:first-child .project-card__media { aspect-ratio: 4/5; } }

.skeleton { background: linear-gradient(100deg, var(--paper-2) 30%, #f3ede4 50%, var(--paper-2) 70%); background-size: 300% 100%; animation: shimmer 1.6s linear infinite; border-radius: var(--radius-lg); }
@keyframes shimmer { from { background-position: 100% 0; } to { background-position: 0 0; } }

/* ---------- Filters ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 40px; }
.chip { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--line-strong); background: transparent; cursor: pointer; font-weight: 500; font-size: 15px; transition: background .25s, color .25s, border-color .25s; text-decoration: none; }
.chip small { font-size: 12px; opacity: .6; font-variant-numeric: tabular-nums; }
.chip:hover { border-color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--forest); color: var(--on-dark); border-color: var(--forest); }

/* ---------- Signature (dark) ---------- */
.signature { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.signature__collage { position: relative; display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 220px 220px; gap: 14px; }
.signature__collage figure { margin: 0; border-radius: var(--radius-lg); overflow: hidden; background: var(--forest-2); }
.signature__collage figure:first-child { grid-row: span 2; }
.signature__collage img { width: 100%; height: 100%; object-fit: cover; }
.signature__collage .hand { position: absolute; left: -10px; bottom: -40px; color: var(--oak-light); transform: rotate(-4deg); }
.stats { display: grid; grid-template-columns: repeat(3, auto); gap: 32px; margin: 36px 0; justify-content: start; }
.stat strong { display: block; font: 400 clamp(40px, 4vw, 56px)/1 var(--serif); color: var(--oak-light); }
.stat span { font-size: 14px; color: var(--on-dark-soft); }
@media (max-width: 900px) { .signature { grid-template-columns: minmax(0, 1fr); } .signature__collage { grid-template-rows: 180px 180px; } }

/* ---------- Process ---------- */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; counter-reset: step; }
.step { position: relative; padding-top: 28px; border-top: 1px solid var(--line-strong); }
.step__num { font: 400 64px/1 var(--serif); color: var(--oak); display: block; margin-bottom: 18px; }
.step h3 { font-size: 28px; margin-bottom: 10px; }
.step p { color: var(--muted); font-size: 16px; margin: 0; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .steps { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Services ---------- */
.services { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line-strong); }
.service { padding: 32px 28px 32px 0; border-bottom: 1px solid var(--line-strong); display: flex; flex-direction: column; gap: 10px; text-decoration: none; }
.service:not(:nth-child(3n+1)) { padding-left: 28px; border-left: 1px solid var(--line); }
.service svg { width: 30px; height: 30px; color: var(--oak); }
.service h3 { font-size: 27px; }
.service p { color: var(--muted); font-size: 15.5px; margin: 0; }
a.service:hover h3 { color: var(--oak); }
@media (max-width: 900px) { .services { grid-template-columns: 1fr 1fr; } .service:nth-child(n) { padding: 26px 20px 26px 0; border-left: 0; } .service:nth-child(2n) { padding-left: 20px; border-left: 1px solid var(--line); } }
@media (max-width: 560px) { .services { grid-template-columns: minmax(0, 1fr); } .service:nth-child(n) { padding: 24px 0; border-left: 0; } }

/* ---------- Split / about ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.split__media { position: relative; }
.split__media img { border-radius: var(--radius-lg); width: 100%; aspect-ratio: 4/5; object-fit: cover; background: var(--paper-2); }
.split__media .hand { position: absolute; right: 18px; bottom: -18px; background: var(--card); padding: 10px 16px; border-radius: 12px; box-shadow: 0 14px 30px -14px #0005; transform: rotate(-3deg); }
blockquote.quote { font: 400 clamp(34px, 3.8vw, 54px)/1.08 var(--serif); margin: 0 0 24px; }
@media (max-width: 900px) { .split { grid-template-columns: minmax(0, 1fr); } }

/* ---------- CTA band ---------- */
.cta-band { background: var(--forest); color: var(--on-dark); border-radius: 26px; padding: clamp(36px, 6vw, 80px); display: grid; grid-template-columns: 1.4fr auto; gap: 32px; align-items: center; position: relative; overflow: hidden; }
.cta-band::after { content: ""; position: absolute; right: -120px; top: -120px; width: 380px; height: 380px; border-radius: 50%; border: 1px solid var(--line-dark); box-shadow: 0 0 0 40px #ffffff05, 0 0 0 80px #ffffff04; pointer-events: none; }
.cta-band h2 { font-size: clamp(36px, 4.4vw, 62px); }
.cta-band h2 em { color: var(--oak-light); }
.cta-band p { color: var(--on-dark-soft); margin: 14px 0 0; }
.cta-band__actions { display: flex; flex-direction: column; gap: 12px; align-items: stretch; position: relative; z-index: 1; }
@media (max-width: 800px) { .cta-band { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Contact ---------- */
.contact { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.contact-list { display: grid; gap: 26px; margin-top: 36px; }
.contact-item small { display: block; font: 600 12px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.contact-item a, .contact-item strong { font: 400 clamp(28px, 2.6vw, 38px)/1.1 var(--serif); text-decoration: none; }
.contact-item a:hover { color: var(--oak); }
.contact-meta { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; padding-top: 26px; border-top: 1px solid var(--line); font-size: 15.5px; color: var(--ink-soft); }
.contact-meta p { margin: 0; }
.contact-meta b { display: block; font: 600 12px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.form-card { background: var(--card); border: 1px solid var(--line); border-radius: 22px; padding: clamp(24px, 3.5vw, 44px); box-shadow: 0 40px 80px -50px #1c211d55; position: relative; }
.form-card .hand { position: absolute; top: -18px; right: 28px; background: var(--paper); padding: 6px 14px; border-radius: 10px; transform: rotate(3deg); }
.form-card h2 { font-size: clamp(32px, 3vw, 44px); margin-bottom: 8px; }
.form-card > p { color: var(--muted); }
.field { display: grid; gap: 7px; margin-top: 18px; }
.field label { font-weight: 600; font-size: 15px; }
.field label span { color: var(--muted); font-weight: 400; }
.field input, .field textarea { width: 100%; font: inherit; font-size: 16px; color: var(--ink); background: #fff; border: 1px solid var(--line-strong); border-radius: 12px; padding: 14px 16px; transition: border-color .2s, box-shadow .2s; }
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--oak); box-shadow: 0 0 0 4px #9c6b3f22; }
.field .err { color: #a23b2a; font-size: 14px; display: none; }
.field.is-invalid input, .field.is-invalid textarea { border-color: #a23b2a; }
.field.is-invalid .err { display: block; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 24px; flex-wrap: wrap; }
.form-foot small { color: var(--muted); font-size: 13.5px; max-width: 32ch; }
.form-status { margin-top: 18px; padding: 14px 16px; border-radius: 12px; font-size: 15.5px; display: none; }
.form-status.is-ok { display: block; background: #2f6b3f14; color: #24552f; border: 1px solid #2f6b3f40; }
.form-status.is-err { display: block; background: #a23b2a12; color: #8a2f20; border: 1px solid #a23b2a40; }
/* Result of a form sent without JavaScript (contact.php redirects to #poslano / #napaka). */
.form-status.form-note { display: none; }
/* Without JavaScript the product grids can't load: drop the placeholders, show the <noscript> note. */
html:not(.js) .skeleton { display: none; }
.noscript-note { padding: 18px 20px; border-radius: 14px; background: var(--card); border: 1px solid var(--line); margin: 0 0 24px; }
html:not(.js) .form-status.form-note:target { display: block; }
@media (max-width: 900px) { .contact { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 560px) { .form-row, .contact-meta { grid-template-columns: minmax(0, 1fr); } }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--line-strong); }
.faq details { border-bottom: 1px solid var(--line-strong); }
.faq summary { list-style: none; cursor: pointer; padding: 24px 48px 24px 0; font: 400 clamp(22px, 2vw, 28px)/1.2 var(--serif); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font: 300 32px/1 var(--sans); color: var(--oak); transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { color: var(--ink-soft); max-width: 70ch; padding-bottom: 24px; margin: 0; }

/* ---------- Page header (inner pages) ---------- */
/* Subpage header: where you are (breadcrumb), the page's name, one line on what is here – then straight to the content. */
.page-head { padding: calc(var(--header-h) + clamp(18px, 2.4vw, 32px)) 0 clamp(22px, 2.6vw, 34px); background: var(--paper-2); border-bottom: 1px solid var(--line); }
.page-head .breadcrumb { margin-bottom: 8px; }
.page-head .breadcrumb [aria-current] { color: var(--ink); }
.page-head__row { display: flex; align-items: end; justify-content: space-between; gap: 10px 48px; flex-wrap: wrap; }
.page-head h1 { font-size: clamp(38px, 4.4vw, 60px); line-height: 1; }
.page-head .lead { margin: 0; max-width: 54ch; font-size: clamp(16px, 1.2vw, 18px); }
.page-head__row .lead { padding-bottom: 6px; } /* sits on the title's baseline */
@media (max-width: 760px) { .page-head h1 { font-size: 40px; } .page-head .lead { font-size: 16px; line-height: 1.5; } }
.page-head + .section { padding-top: clamp(26px, 3.2vw, 44px); }
.page-jump { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.page-jump a { padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line-strong); background: var(--card); font-size: 14.5px; font-weight: 600; text-decoration: none; white-space: nowrap; transition: border-color .2s, background .2s; }
.page-jump a:hover { border-color: var(--ink); background: #fff; }
@media (max-width: 760px) {
  .page-jump { flex-wrap: nowrap; overflow-x: auto; margin-right: calc(var(--gutter) * -1); padding-right: var(--gutter); scrollbar-width: none; }
  .page-jump::-webkit-scrollbar { display: none; }
}
.page-head--404 { background: none; border: 0; padding-top: calc(var(--header-h) + clamp(48px, 7vw, 100px)); }
.page-head--404 h1 { font-size: clamp(46px, 7vw, 96px); }
.page-head--404 .lead { margin-top: 22px; }
.svc-row { scroll-margin-top: calc(var(--header-h) + 16px); }
.breadcrumb { display: flex; gap: 10px; align-items: center; font-size: 14px; color: var(--muted); margin-bottom: 22px; flex-wrap: wrap; }
.breadcrumb a { text-decoration: none; display: inline-block; padding: 4px 0; }
.breadcrumb [data-i-crumb] { display: inline-flex; gap: 10px; align-items: center; }
.breadcrumb [data-i-crumb]:empty { display: none; }
.breadcrumb a:hover { color: var(--ink); text-decoration: underline; }

/* ---------- Project detail ---------- */
.project-head { display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(28px, 5vw, 80px); align-items: end; }
.project-head h1 { font-size: clamp(42px, 5.6vw, 84px); }
.project-meta { display: grid; gap: 14px; }
.project-meta dl { display: grid; grid-template-columns: auto 1fr; gap: 10px 22px; margin: 0; font-size: 15.5px; padding: 20px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.project-meta dt { color: var(--muted); }
.project-meta dd { margin: 0; font-weight: 500; }
.project-desc { font-size: 18px; color: var(--ink-soft); max-width: 62ch; }
.gallery { columns: 3 300px; column-gap: 16px; }
.gallery__item { break-inside: avoid; margin: 0 0 16px; border-radius: 14px; overflow: hidden; cursor: zoom-in; position: relative; display: block; width: 100%; padding: 0; border: 0; background: var(--paper-2); }
.gallery__item img { width: 100%; height: auto; transition: transform .8s var(--ease-out), opacity .5s; }
.gallery__item:hover img { transform: scale(1.03); }
.gallery__item::after { content: ""; position: absolute; inset: 0; background: #12191400; transition: background .3s; }
.gallery__item:hover::after { background: #1219141a; }
.gallery--lead .gallery__item:first-child { column-span: all; }
.gallery--lead .gallery__item:first-child img { max-height: 78vh; object-fit: cover; }
.project-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.project-nav a { display: flex; flex-direction: column; gap: 6px; padding: 24px; border: 1px solid var(--line-strong); border-radius: var(--radius-lg); text-decoration: none; transition: border-color .25s, background .25s; }
.project-nav a:hover { border-color: var(--ink); background: var(--card); }
.project-nav a small { color: var(--muted); font-size: 13px; letter-spacing: .1em; text-transform: uppercase; font-weight: 600; }
.project-nav a span { font: 400 26px/1.15 var(--serif); overflow-wrap: anywhere; }
.project-nav a:last-child { text-align: right; align-items: end; }
@media (max-width: 900px) { .project-head { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 560px) { .project-nav { grid-template-columns: minmax(0, 1fr); } .project-nav a:last-child { text-align: left; align-items: start; } }

/* ---------- Lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 300; background: #0f1411; color: var(--on-dark); display: none; grid-template-rows: auto 1fr auto; }
.lightbox.is-open { display: grid; animation: fadein .25s ease both; }
@keyframes fadein { from { opacity: 0; } to { opacity: 1; } }
.lightbox__bar { display: flex; justify-content: space-between; align-items: center; padding: 16px clamp(16px, 3vw, 28px); gap: 16px; }
.lightbox__title { font: 400 22px/1.2 var(--serif); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lightbox__count { font-variant-numeric: tabular-nums; color: var(--on-dark-soft); font-size: 14px; white-space: nowrap; }
.lightbox__stage { position: relative; display: grid; grid-template: minmax(0, 1fr) / minmax(0, 1fr); place-items: center; min-height: 0; padding: 0 clamp(8px, 6vw, 96px); touch-action: pan-y pinch-zoom; }
.lightbox__stage img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 6px; user-select: none; -webkit-user-drag: none; transition: opacity .25s; }
.lightbox__btn { width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--line-dark); background: #ffffff0d; color: var(--on-dark); cursor: pointer; display: inline-grid; place-items: center; transition: background .2s; }
.lightbox__btn:hover { background: #ffffff1f; }
.lightbox__btn svg { width: 20px; height: 20px; }
.lightbox__prev, .lightbox__next { position: absolute; top: 50%; transform: translateY(-50%); }
.lightbox__prev { left: clamp(8px, 2vw, 24px); } .lightbox__next { right: clamp(8px, 2vw, 24px); }
.lightbox__thumbs { display: flex; gap: 8px; padding: 14px clamp(16px, 3vw, 28px) 20px; overflow-x: auto; justify-content: safe center; scrollbar-width: thin; }
.lightbox__thumbs button { flex: none; width: 64px; height: 48px; border-radius: 6px; overflow: hidden; border: 2px solid transparent; padding: 0; cursor: pointer; opacity: .55; background: #ffffff10; transition: opacity .2s, border-color .2s; }
.lightbox__thumbs button.is-active { opacity: 1; border-color: var(--oak-light); }
.lightbox__thumbs img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 700px) { .lightbox__prev, .lightbox__next { top: auto; bottom: 8px; transform: none; } .lightbox__stage { padding-bottom: 70px; } .lightbox__thumbs { display: none; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--forest); color: var(--on-dark); padding: clamp(56px, 7vw, 96px) 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr; gap: 40px; padding-bottom: 48px; border-bottom: 1px solid var(--line-dark); }
.footer-grid p { color: var(--on-dark-soft); max-width: 34ch; margin-top: 18px; }
.footer-grid h2 { font: 600 12px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--oak-light); margin: 0 0 18px; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-grid a { text-decoration: none; color: var(--on-dark); }
.footer-grid a:hover { text-decoration: underline; }
.footer-contact li { display: flex; gap: 10px; align-items: start; color: var(--on-dark-soft); }
.footer-contact svg { width: 18px; height: 18px; flex: none; margin-top: 3px; color: var(--oak-light); }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; padding-top: 24px; font-size: 14px; color: var(--on-dark-soft); flex-wrap: wrap; }
.footer-bottom a { color: var(--on-dark-soft); display: inline-block; padding: 4px 0; }
@media (max-width: 800px) { .footer-grid { grid-template-columns: minmax(0, 1fr); } }

/* Mobile sticky call bar */
.callbar { display: none; }
@media (max-width: 700px) {
  .callbar { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; position: fixed; left: 10px; right: 10px; bottom: 10px; z-index: 90; padding: 8px; border-radius: 999px; background: #1d2922f0; backdrop-filter: blur(10px); box-shadow: 0 12px 30px -10px #0008; transform: translateY(140%); transition: transform .4s var(--ease-out); }
  .callbar.is-visible { transform: none; }
  .callbar .btn { min-height: 46px; font-size: 15px; }
  body { padding-bottom: env(safe-area-inset-bottom); }
}

/* Demo/preview notice (only on the static preview when someone tried the admin demo) */
.demo-pill { position: fixed; left: 50%; bottom: 18px; transform: translateX(-50%); z-index: 120; display: flex; gap: 12px; align-items: center; background: var(--oak); color: #fff; padding: 10px 12px 10px 18px; border-radius: 999px; font-size: 14px; box-shadow: 0 16px 40px -16px #000a; max-width: calc(100vw - 24px); }
.demo-pill button, .demo-pill a { background: #ffffff26; color: #fff; border: 0; border-radius: 999px; padding: 6px 12px; cursor: pointer; font-weight: 600; text-decoration: none; white-space: nowrap; }
@media (max-width: 700px) { .demo-pill { bottom: 84px; font-size: 13px; } }

/* ---------- Reveal on scroll ---------- */
.js-motion [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity 1s var(--ease-out), transform 1s var(--ease-out); transition-delay: var(--d, 0s); }
.js-motion [data-reveal].is-in, .motion-failsafe [data-reveal] { opacity: 1; transform: none; }
/* Reached with the keyboard: visible at once, not fading in under the focus ring. */
.js-motion [data-reveal]:focus-visible, .js-motion [data-reveal]:focus-within { opacity: 1; transform: none; transition: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js-motion [data-reveal] { opacity: 1; transform: none; }
}

/* ---------- Shop ---------- */
.shop-toolbar { display: grid; gap: 14px; margin-bottom: 18px; }
.shop-toolbar .filters { margin-bottom: 0; }
.shop-tools { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.search-inline { position: relative; flex: 1 1 240px; max-width: 360px; }
.search-inline svg { position: absolute; left: 14px; top: 50%; width: 18px; height: 18px; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
.search-inline input, .select-pill { width: 100%; min-height: 46px; border-radius: 999px; border: 1px solid var(--line-strong); background: var(--card); font: inherit; font-size: 15px; color: var(--ink); }
.search-inline input { padding: 0 18px 0 42px; }
.select-pill { width: auto; padding: 0 40px 0 18px; appearance: none; background: var(--card) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231c211d' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") right 14px center/16px no-repeat; cursor: pointer; }
.check-pill { display: inline-flex; align-items: center; gap: 10px; min-height: 46px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--line-strong); background: var(--card); cursor: pointer; font-size: 15px; font-weight: 500; user-select: none; }
.check-pill input { width: 18px; height: 18px; accent-color: var(--forest); margin: 0; }
.search-inline input:focus, .select-pill:focus { outline: none; border-color: var(--oak); box-shadow: 0 0 0 4px #9c6b3f22; }
.shop-count { color: var(--muted); font-size: 15px; margin: 0 0 22px; }
.shop-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); }
@media (max-width: 1100px) {
  .shop-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  /* The home teaser and "Podobni izdelki" show 4: in three columns the 4th would sit alone on a row. */
  [data-shop-teaser] > :nth-child(4), [data-related] > :nth-child(4) { display: none; }
}
@media (max-width: 760px) { [data-shop-teaser] > :nth-child(4), [data-related] > :nth-child(4) { display: flex; } }
@media (max-width: 760px) { .shop-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; } }
.shop-card { display: flex; flex-direction: column; text-decoration: none; color: inherit; }
.shop-card__media { position: relative; aspect-ratio: 1; border-radius: 16px; overflow: hidden; background: var(--paper-2); }
.shop-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease-out); }
.shop-card:hover .shop-card__media img { transform: scale(1.05); }
.shop-card__cat { font: 600 11.5px/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--oak-ink); margin: 14px 0 6px; }
.shop-card h3 { font-size: clamp(20px, 1.7vw, 24px); line-height: 1.12; }
.shop-card__price { margin-top: 8px; display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.shop-card__price strong { font-weight: 600; font-size: 17px; }
.shop-card__price small { color: var(--muted); font-size: 13px; }
.badge { position: absolute; left: 10px; top: 10px; display: inline-flex; align-items: center; gap: 6px; font: 600 12px/1 var(--sans); padding: 7px 10px; border-radius: 999px; background: #fbf9f5eb; color: var(--ink); backdrop-filter: blur(6px); }
.badge::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--sage); }
.badge--stock::before { background: #2f8a4a; }
.badge--sold { color: var(--muted); }
.badge--sold::before { background: #a7a29a; }
.badge--inline { position: static; background: var(--card); border: 1px solid var(--line); backdrop-filter: none; }
.shop-more { text-align: center; margin-top: 40px; }
.shop-note { color: var(--muted); font-size: 14px; text-align: center; margin: 28px auto 0; max-width: 60ch; }
/* Room for the category chips and the count before the script fills them in (no jump when they appear). */
.filters:empty { min-height: 98px; }
.shop-count:empty { min-height: 24px; }
@media (min-width: 761px) and (max-width: 1023px) { .filters:empty { min-height: 152px; } }
.item-thumbs[data-count]:not([data-count="0"]):not([data-count="1"]):empty { min-height: 70px; }
@media (max-width: 760px) {
  .filters:empty { min-height: 48px; }
  /* Category chips: one swipeable row instead of a tall block */
  .filters { flex-wrap: nowrap; overflow-x: auto; margin-inline: calc(var(--gutter) * -1); padding: 2px var(--gutter); scrollbar-width: none; }
  .filters::-webkit-scrollbar { display: none; }
  .chip { flex: none; }
  .shop-card h3 { font-size: 18px; }
  .shop-card__price strong { font-size: 15.5px; }
  .shop-tools { gap: 8px; }
  .search-inline { flex-basis: 100%; max-width: none; }
  .check-pill, .select-pill { flex: 1 1 0; min-width: 0; justify-content: center; white-space: nowrap; } /* side by side under the search */
}

/* ---------- Item page ---------- */
.item-layout { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.item-main-photo { position: relative; display: block; width: 100%; border: 0; padding: 0; border-radius: 20px; overflow: hidden; background: var(--paper-2); cursor: zoom-in; aspect-ratio: 4/3; }
.item-main-photo img { width: 100%; height: 100%; object-fit: cover; }
/* A photo much taller or wider than its frame: shown whole over a blurred copy of itself (see imgTag in site.js). */
.img-backdrop { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: blur(18px) saturate(1.05) brightness(.92); transform: scale(1.15) !important; pointer-events: none; }
img.is-fit { position: relative; object-fit: contain !important; }
.item-main-photo .zoom-hint { position: absolute; right: 14px; bottom: 14px; background: #fbf9f5e6; border-radius: 999px; padding: 8px 12px; font-size: 13px; font-weight: 600; display: inline-flex; gap: 6px; align-items: center; }
.item-main-photo .zoom-hint svg { width: 15px; height: 15px; }
.item-thumbs { display: flex; gap: 10px; margin-top: 12px; overflow: hidden; padding-bottom: 4px; }
.item-thumbs__more { position: relative; opacity: 1 !important; }
.item-thumbs__more span { position: absolute; inset: 0; display: grid; place-items: center; background: #14100db3; color: #fff; font: 600 18px/1 var(--sans); }
.item-thumbs button { flex: none; width: 84px; height: 66px; border-radius: 10px; overflow: hidden; padding: 0; border: 2px solid transparent; cursor: pointer; background: var(--paper-2); opacity: .7; transition: opacity .2s, border-color .2s; }
.item-thumbs button:hover { opacity: 1; }
.item-thumbs button.is-active { opacity: 1; border-color: var(--oak); }
.item-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.item-info { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 18px; }
.item-info h1 { font-size: clamp(36px, 4vw, 56px); }
.item-price { display: grid; gap: 4px; padding: 18px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.item-price strong { font: 400 clamp(34px, 3.4vw, 44px)/1 var(--serif); }
.item-price span { color: var(--muted); font-size: 14.5px; }
.item-specs { display: grid; grid-template-columns: auto 1fr; gap: 10px 20px; margin: 0; font-size: 15.5px; }
.item-specs dt { color: var(--muted); }
.item-specs dd { margin: 0; font-weight: 500; }
.item-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.item-promises { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; color: var(--ink-soft); font-size: 15px; }
.item-promises li { display: flex; gap: 10px; align-items: flex-start; }
.item-promises svg { width: 18px; height: 18px; color: var(--oak); flex: none; margin-top: 3px; }
.item-details { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.item-details .project-desc { font-size: 17.5px; }
/* No description: the enquiry form takes the space instead of sitting next to a gap. */
.item-details:has(> [data-i-desc-box][hidden]) { grid-template-columns: minmax(0, 760px); }
@media (max-width: 900px) {
  .item-layout, .item-details { grid-template-columns: minmax(0, 1fr); } /* minmax: the thumbnail strip must scroll, not widen the page */
  .item-info { position: static; }
}

/* Item chip inside the enquiry form */
.item-chip { display: flex; gap: 12px; align-items: center; padding: 10px; border: 1px solid var(--line); border-radius: 14px; background: #fff; margin-top: 18px; }
.item-chip img { flex: none; width: 56px; height: 56px; border-radius: 10px; object-fit: cover; background: var(--paper-2); }
.item-chip span { min-width: 0; }
.item-chip b { display: block; font-size: 15.5px; overflow-wrap: anywhere; }
.item-chip small { color: var(--muted); }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line-strong); border-radius: 12px; background: #fff; overflow: hidden; width: max-content; }
.qty button { width: 46px; height: 48px; border: 0; background: transparent; font-size: 22px; cursor: pointer; color: var(--ink); }
.qty button:hover { background: var(--paper); }
.field .qty input { width: 64px; border: 0; border-radius: 0; text-align: center; padding: 12px 0; -moz-appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.field select { width: 100%; font: inherit; font-size: 16px; color: var(--ink); background: #fff; border: 1px solid var(--line-strong); border-radius: 12px; padding: 14px 16px; }
.field select:focus { outline: none; border-color: var(--oak); box-shadow: 0 0 0 4px #9c6b3f22; }

/* Attachments */
.filedrop { position: relative; display: flex; align-items: center; gap: 14px; padding: 16px; border: 1.5px dashed #9c6b3f80; border-radius: 14px; background: #fff; cursor: pointer; transition: background .2s, border-color .2s; }
.filedrop:hover, .filedrop.is-over { background: #c49a5f14; border-color: var(--oak); }
.filedrop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.filedrop svg { width: 26px; height: 26px; color: var(--oak); flex: none; }
.filedrop b { display: block; font-size: 15px; }
.filedrop small { color: var(--muted); font-size: 13px; }
.filelist { list-style: none; padding: 0; margin: 8px 0 0; display: grid; gap: 6px; }
.filelist li { display: flex; align-items: center; gap: 10px; padding: 8px 10px; background: var(--paper); border-radius: 10px; font-size: 14px; }
.filelist li span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.filelist li small { color: var(--muted); white-space: nowrap; }
.filelist button { border: 0; background: transparent; cursor: pointer; font-size: 20px; line-height: 1; color: var(--muted); padding: 2px 6px; border-radius: 6px; }
.filelist button:hover { color: var(--ink); background: #fff; }

/* ---------- Services page ---------- */
.svc-list { border-top: 1px solid var(--line-strong); }
.svc-row { display: grid; grid-template-columns: 90px 1fr 1.3fr; gap: 24px clamp(24px, 4vw, 64px); padding: clamp(32px, 4vw, 52px) 0; border-bottom: 1px solid var(--line-strong); }
.svc-row .step__num { font-size: 40px; margin: 0; }
.svc-row h2 { font-size: clamp(30px, 3vw, 44px); }
.svc-row__head { display: grid; gap: 20px; align-content: start; }
.svc-row__img { width: 100%; max-width: 380px; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); background: var(--paper-2); }
.svc-row p { color: var(--ink-soft); }
.svc-row .link-arrow { margin-top: 6px; }
.svc-row .compare { margin-top: 22px; }
.svc-row .compare__frame { aspect-ratio: 16 / 10; }
@media (max-width: 900px) {
  .svc-row { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .svc-row__head { gap: 14px; }
  .svc-row__img { max-width: none; aspect-ratio: 16 / 10; }
}
.steps--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 800px) { .steps--3 { grid-template-columns: minmax(0, 1fr); } }
.company-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(24px, 3vw, 40px); }
.company-card dl { display: grid; grid-template-columns: auto 1fr; gap: 14px 28px; margin: 0; }
.company-card dt { color: var(--muted); }
.company-card dd { margin: 0; font-weight: 500; }
.company-card a { text-decoration: none; }
.company-card a:hover { color: var(--oak); }

.empty-note { padding: 48px; text-align: center; color: var(--muted); border: 1px dashed var(--line-strong); border-radius: var(--radius-lg); }
.prose { max-width: 72ch; }
.prose h2 { font-size: clamp(30px, 3vw, 40px); margin: 48px 0 16px; }
.prose h3 { font-size: 26px; margin: 32px 0 10px; }
.prose ul { padding-left: 20px; }
.prose li { margin-bottom: 6px; }

/* ---------- Les in gradnja (home): two kinds of work side by side ---------- */
.pillars { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); }
.pillar { display: grid; grid-template-rows: auto 1fr; border-radius: var(--radius-lg); overflow: hidden; background: var(--card); border: 1px solid var(--line); }
.pillar__media { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: var(--paper-2); }
.pillar__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.pillar:hover .pillar__media img { transform: scale(1.03); }
.pillar__tag { position: absolute; left: 18px; top: 18px; padding: 7px 14px; border-radius: 999px; background: #fbf9f5eb; color: var(--ink); font: 600 12px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; }
.pillar__body { padding: clamp(22px, 2.6vw, 34px); }
.pillar__body h3 { font-size: clamp(32px, 3.4vw, 44px); margin-bottom: 14px; }
.pillar__list { list-style: none; margin: 0; padding: 0; }
.pillar__list a { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 15px 0; border-top: 1px solid var(--line); text-decoration: none; }
.pillar__list li:last-child a { padding-bottom: 0; }
.pillar__list b { display: block; font-size: 18px; font-weight: 600; }
.pillar__list small { display: block; color: var(--muted); font-size: 14.5px; margin-top: 2px; }
.pillar__list svg { width: 20px; height: 20px; flex: none; color: var(--oak); transition: transform .25s var(--ease); }
.pillar__list a:hover svg { transform: translateX(4px); }
.pillar__list a:hover b { color: var(--oak-ink); }
.pillar--dark { background: var(--forest); color: var(--on-dark); border-color: var(--forest); }
.pillar--dark .pillar__list a { border-top-color: var(--line-dark); }
.pillar--dark .pillar__list small { color: var(--on-dark-soft); }
.pillar--dark .pillar__list svg { color: var(--oak-light); }
.pillar--dark .pillar__list a:hover b { color: var(--oak-light); }
@media (max-width: 860px) { .pillars { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Pred in po: drag to compare ---------- */
.compare { display: grid; gap: 16px; }
.compare__tabs { display: flex; gap: 8px; flex-wrap: wrap; }
.compare__tabs button { min-height: 44px; padding: 0 20px; border-radius: 999px; border: 1px solid var(--line-strong); background: var(--card); color: var(--ink); font: 600 15px/1 var(--sans); cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.compare__tabs button:hover { border-color: var(--ink); }
.compare__tabs button[aria-pressed="true"] { background: var(--forest); border-color: var(--forest); color: var(--on-dark); }
html:not(.js) .compare__tabs, html:not(.js) .compare__hint { display: none; }
.compare__frame { --pos: 50%; position: relative; aspect-ratio: 16 / 10; max-height: 82vh; width: 100%; border-radius: var(--radius-lg); overflow: hidden; background: var(--forest-2); touch-action: pan-y; user-select: none; -webkit-user-select: none; cursor: ew-resize; isolation: isolate; }
.compare__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; -webkit-user-drag: none; transition: opacity .35s var(--ease); }
.compare__frame.is-loading .compare__img { opacity: .55; }
.compare__before { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.compare__line { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; margin-left: -1px; background: #fff; box-shadow: 0 0 18px #0006; pointer-events: none; }
.compare__knob { position: absolute; top: 50%; left: 50%; width: 52px; height: 52px; margin: -26px 0 0 -26px; border-radius: 50%; background: #fff; color: var(--forest); display: grid; place-items: center; box-shadow: 0 10px 30px -8px #000a; transition: transform .2s var(--ease); }
.compare__knob svg { width: 22px; height: 22px; }
.compare__frame.is-dragging .compare__knob { transform: scale(1.08); }
.compare__tag { position: absolute; top: 16px; padding: 7px 14px; border-radius: 999px; background: #14100dbf; color: #fff; font: 600 13px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; pointer-events: none; }
.compare__tag--pred { left: 16px; }
.compare__tag--po { right: 16px; background: #fbf9f5f0; color: var(--ink); }
.compare__range { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; margin: 0; pointer-events: none; } /* for the keyboard; mouse and touch use the photo */
.compare__frame:has(.compare__range:focus-visible) { outline: 3px solid var(--oak); outline-offset: 3px; }
.compare__hint { margin: 0; text-align: center; }
.compare__hint .hand { font-size: 24px; }
.compare__more { margin: 22px 0 0; }
@media (max-width: 600px) { .compare__frame { aspect-ratio: 4 / 3.4; } .compare__knob { width: 46px; height: 46px; margin: -23px 0 0 -23px; } }

/* ---------- Oiling the wood: the slogan appears where you oil ---------- */
.oil { position: relative; height: clamp(440px, 78vh, 820px); overflow: hidden; background: #3b2b20; color: #fff; touch-action: pan-y; user-select: none; -webkit-user-select: none; cursor: crosshair; }
.oil__base, .oil__done, .oil__canvas, .oil__shade { position: absolute; inset: 0; width: 100%; height: 100%; }
.oil__base, .oil__done { object-fit: cover; }
.oil__done { opacity: 0; }  /* the oiled photo; shown whole only without the canvas (see below) */
.oil__canvas { pointer-events: none; }
.oil__shade { pointer-events: none; background: linear-gradient(180deg, #0e0b0900 45%, #0e0b098c 100%); }
.oil__text { position: absolute; inset: auto 0 clamp(28px, 5vw, 60px); display: grid; justify-items: center; text-align: center; gap: 14px; pointer-events: none; }
.oil__title { font-size: clamp(46px, 8vw, 124px); line-height: .95; max-width: 11ch; text-shadow: 0 2px 30px #0000004d; }
.oil__title em { color: var(--oak-light); }
.oil__hint { color: var(--oak-light); font-size: 28px; text-shadow: 0 1px 12px #0008; transition: opacity .4s; }
.oil__cta { pointer-events: auto; opacity: 0; transform: translateY(10px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.oil.is-oiled .oil__cta { opacity: 1; transform: none; }
.oil__btn { position: absolute; right: var(--gutter); bottom: clamp(28px, 5vw, 60px); display: inline-flex; align-items: center; gap: 8px; min-height: 46px; padding: 0 18px 0 14px; border-radius: 999px; border: 1px solid #ffffff73; background: #14100d59; color: #fff; font: 600 14.5px/1 var(--sans); cursor: pointer; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); transition: background .3s, opacity .4s; }
.oil__btn:hover { background: #14100d99; }
.oil__btn svg { width: 18px; height: 18px; }
.oil.is-oiled .oil__btn { opacity: 0; pointer-events: none; }
/* With the canvas working, the title is painted into the oiled wood instead (it stays here for screen readers). */
.oil.has-canvas .oil__title { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
/* Without JavaScript (or canvas): simply the oiled wood with the title. */
.oil:not(.has-canvas) .oil__done { opacity: 1; }
.oil:not(.has-canvas) .oil__hint, .oil:not(.has-canvas) .oil__btn { display: none; }
.oil:not(.has-canvas) .oil__cta { opacity: 1; transform: none; }
@media (max-width: 700px) { .oil__btn { right: auto; left: var(--gutter); bottom: auto; top: 22px; } .oil__hint { font-size: 24px; } }

/* ---------- /logotipi/ (preview only): logo options for the client to choose from ---------- */
.logo-opts { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 22px; }
.logo-opt { display: grid; gap: 14px; align-content: start; padding: clamp(20px, 2.4vw, 30px); border-radius: var(--radius-lg); background: var(--card); border: 1px solid var(--line); }
.logo-opt__head { display: flex; gap: 14px; align-items: center; }
.logo-opt__letter { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--forest); color: var(--on-dark); font: 400 26px/1 var(--serif); flex: none; }
.logo-opt h2 { font-size: 32px; }
.logo-opt__now { display: inline-block; margin-top: 6px; padding: 4px 10px; border-radius: 999px; background: var(--oak-light); color: var(--ink); font: 600 12px/1 var(--sans); letter-spacing: .08em; text-transform: uppercase; }
.logo-opt p { margin: 0; color: var(--ink-soft); }
.logo-opt__big { display: grid; place-items: center; padding: 22px; border-radius: 14px; background: var(--paper); }
.logo-opt__big { height: 240px; }
.logo-opt__big img { max-width: 80%; max-height: 190px; width: auto; height: auto; }
.logo-opt__demo .logo--word { display: grid; gap: 4px; }
.logo-opt__demo .logo--word img { height: 30px; width: auto; }
.logo-opt__demo { padding: 16px 18px; border-radius: 14px; }
.logo-opt__demo .logo { margin: 0; }
.logo-opt__demo--light { background: #fff; border: 1px solid var(--line); }
.logo-opt__demo--dark { background: var(--forest); color: var(--on-dark); }
.logo-opt__tab { display: flex; gap: 8px; align-items: center; width: max-content; max-width: 100%; padding: 9px 14px; border-radius: 10px 10px 0 0; background: #dfe3e8; color: #333; font: 400 13px/1 var(--sans); }
.logo-opt__tab span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
